@univerjs-pro/collaboration-client 0.5.0-nightly.202411120616 → 0.5.0-nightly.202411131606

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 (84) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/fa-IR.js +1 -1
  4. package/lib/cjs/locale/ru-RU.js +1 -1
  5. package/lib/cjs/locale/vi-VN.js +1 -1
  6. package/lib/cjs/locale/zh-CN.js +1 -1
  7. package/lib/cjs/locale/zh-TW.js +1 -1
  8. package/lib/es/index.js +1 -1
  9. package/lib/es/locale/en-US.js +1 -1
  10. package/lib/es/locale/fa-IR.js +1 -1
  11. package/lib/es/locale/ru-RU.js +1 -1
  12. package/lib/es/locale/vi-VN.js +1 -1
  13. package/lib/es/locale/zh-CN.js +1 -1
  14. package/lib/es/locale/zh-TW.js +1 -1
  15. package/lib/types/config/config.d.ts +48 -0
  16. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
  17. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
  18. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
  19. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
  20. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +38 -0
  21. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
  22. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
  23. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +39 -0
  24. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
  25. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +18 -0
  26. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
  27. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  28. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +54 -0
  29. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +91 -0
  30. package/lib/types/controllers/collaboration/collaboration-state.d.ts +303 -0
  31. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +24 -0
  32. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +18 -0
  33. package/lib/types/controllers/collaboration/utils/empty.d.ts +2 -0
  34. package/lib/types/controllers/config.schema.d.ts +29 -0
  35. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +1 -0
  36. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +22 -0
  37. package/lib/types/controllers/file-name/file-name.controller.d.ts +12 -0
  38. package/lib/types/controllers/telemetry.d.ts +11 -0
  39. package/lib/types/index.d.ts +35 -890
  40. package/lib/types/locale/en-US.d.ts +3 -0
  41. package/lib/types/locale/fa-IR.d.ts +3 -0
  42. package/lib/types/locale/ru-RU.d.ts +3 -0
  43. package/lib/types/locale/vi-VN.d.ts +3 -0
  44. package/lib/types/locale/zh-CN.d.ts +39 -0
  45. package/lib/types/locale/zh-TW.d.ts +3 -0
  46. package/lib/types/models/cursor.d.ts +30 -0
  47. package/lib/types/plugin.d.ts +18 -0
  48. package/lib/types/services/auth-server/auth-server.service.d.ts +10 -0
  49. package/lib/types/services/auth-server/authz-io-http.service.d.ts +30 -0
  50. package/lib/types/services/auth-server/domain-request.service.d.ts +6 -0
  51. package/lib/types/services/auth-server/util.d.ts +1 -0
  52. package/lib/types/services/collaboration-session/collaboration-session.d.ts +59 -0
  53. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +61 -0
  54. package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
  55. package/lib/types/services/comment/comment.service.d.ts +6 -0
  56. package/lib/types/services/image-remote/image-io.service.d.ts +34 -0
  57. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
  58. package/lib/types/services/local-cache/local-cache.service.d.ts +37 -0
  59. package/lib/types/services/member/member.service.d.ts +77 -0
  60. package/lib/types/services/permission/permission.service.d.ts +12 -0
  61. package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +13 -0
  62. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +39 -0
  63. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +21 -0
  64. package/lib/types/services/socket/collaboration-socket.service.d.ts +34 -0
  65. package/lib/types/services/socket/serialize.d.ts +3 -0
  66. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
  67. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
  68. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
  69. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +19 -0
  70. package/lib/types/services/url/url.service.d.ts +12 -0
  71. package/lib/types/services/url/web-url.service.d.ts +10 -0
  72. package/lib/types/views/components/CollabStatus.d.ts +10 -0
  73. package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
  74. package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
  75. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
  76. package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -0
  77. package/lib/umd/index.js +1 -1
  78. package/lib/umd/locale/en-US.js +1 -1
  79. package/lib/umd/locale/fa-IR.js +1 -1
  80. package/lib/umd/locale/ru-RU.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-TW.js +1 -1
  84. package/package.json +16 -16
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x54516d=_0xe852;(function(_0x5b820e,_0x228bd6){const _0x38c659=_0xe852,_0x17806e=_0x5b820e();while(!![]){try{const _0x2df6f3=parseInt(_0x38c659(0x2d8))/0x1+-parseInt(_0x38c659(0x3cd))/0x2+-parseInt(_0x38c659(0x541))/0x3*(parseInt(_0x38c659(0x4a1))/0x4)+parseInt(_0x38c659(0x326))/0x5+parseInt(_0x38c659(0x3ae))/0x6+-parseInt(_0x38c659(0x4a4))/0x7*(-parseInt(_0x38c659(0x1d4))/0x8)+-parseInt(_0x38c659(0x5ce))/0x9*(parseInt(_0x38c659(0x28d))/0xa);if(_0x2df6f3===_0x228bd6)break;else _0x17806e['push'](_0x17806e['shift']());}catch(_0xeaee63){_0x17806e['push'](_0x17806e['shift']());}}}(_0x47dd,0x7ecbd));var Ln=Object['defineProperty'],xn=(_0x352df8,_0x4444f0,_0x22aaf1)=>_0x4444f0 in _0x352df8?Ln(_0x352df8,_0x4444f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22aaf1}):_0x352df8[_0x4444f0]=_0x22aaf1,I=(_0x3726a5,_0x428124,_0x31464a)=>xn(_0x3726a5,typeof _0x428124!='symbol'?_0x428124+'':_0x428124,_0x31464a);Object[_0x54516d(0x461)](exports,Symbol[_0x54516d(0x26c)],{'value':_0x54516d(0x37a)});const a=require(_0x54516d(0x4f7)),A=require(_0x54516d(0x32b)),V=require('rxjs/operators'),ge=require(_0x54516d(0x361)),ee=require(_0x54516d(0x5ad)),Z=require('@univerjs/network'),S=require(_0x54516d(0x5e2)),jn=require(_0x54516d(0x1d1)),J=require(_0x54516d(0x36f)),k=require(_0x54516d(0x3ba)),K=require('@univerjs/engine-render'),ye=require('@univerjs/docs'),ne=require(_0x54516d(0x3c7)),Pt=require(_0x54516d(0x355)),Re=require(_0x54516d(0x2bd)),ae=require(_0x54516d(0x594)),$n=require(_0x54516d(0x302)),Zt='SNAPSHOT_SERVER_URL_KEY',Hn='/universer-api/snapshot',Qt='SNAPSHOT_URL_KEY',Bn=_0x54516d(0x3fe),kn=0x7d0,en=_0x54516d(0x5af),Wn='ws://127.0.0.1:8000/universer-api/comb/connect',tn='HEARTBEAT_INTERVAL',Fn=0x7530,Ct=_0x54516d(0x612),nn=0x4e20,Vn=0x4e20,sn=_0x54516d(0x16d),Gn=0x3,rn='LOCAL_CACHE_INTERVAL',Yn=0x3e8,on=_0x54516d(0x51b),Kn=_0x54516d(0x5e9),an=_0x54516d(0x482),qn=_0x54516d(0x576);var cn=(_0xd9adbb=>(_0xd9adbb[_0xd9adbb[_0x54516d(0x1f9)]=0x0]=_0x54516d(0x1f9),_0xd9adbb[_0xd9adbb['OK']=0x1]='OK',_0xd9adbb[_0xd9adbb[_0x54516d(0x39c)]=0x2]=_0x54516d(0x39c),_0xd9adbb[_0xd9adbb[_0x54516d(0x20f)]=0x3]='PERMISSION_DENIED',_0xd9adbb[_0xd9adbb[_0x54516d(0x33b)]=0x4]='NOT_FOUND',_0xd9adbb[_0xd9adbb[_0x54516d(0x5c8)]=0x5]=_0x54516d(0x5c8),_0xd9adbb[_0xd9adbb[_0x54516d(0x2fb)]=0x6]=_0x54516d(0x2fb),_0xd9adbb[_0xd9adbb[_0x54516d(0x3bd)]=0x7]=_0x54516d(0x3bd),_0xd9adbb[_0xd9adbb[_0x54516d(0x24c)]=0x8]=_0x54516d(0x24c),_0xd9adbb[_0xd9adbb['COMPLETION_FINISHED']=0x9]=_0x54516d(0x520),_0xd9adbb[_0xd9adbb['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x54516d(0x235),_0xd9adbb[_0xd9adbb['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x54516d(0x2ec),_0xd9adbb[_0xd9adbb['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x54516d(0x5fd),_0xd9adbb[_0xd9adbb[_0x54516d(0x237)]=0x1773]=_0x54516d(0x237),_0xd9adbb[_0xd9adbb[_0x54516d(0x36b)]=0x1b59]=_0x54516d(0x36b),_0xd9adbb[_0xd9adbb[_0x54516d(0x27f)]=0x1b5a]=_0x54516d(0x27f),_0xd9adbb[_0xd9adbb[_0x54516d(0x295)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xd9adbb[_0xd9adbb[_0x54516d(0x4d2)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd9adbb[_0xd9adbb['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xd9adbb[_0xd9adbb[_0x54516d(0x5e0)]=0x1f41]=_0x54516d(0x5e0),_0xd9adbb[_0xd9adbb[_0x54516d(0x470)]=0x2329]=_0x54516d(0x470),_0xd9adbb[_0xd9adbb['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xd9adbb[_0xd9adbb[_0x54516d(0x572)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xd9adbb[_0xd9adbb['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xd9adbb[_0xd9adbb[_0x54516d(0x5d7)]=0x232d]=_0x54516d(0x5d7),_0xd9adbb[_0xd9adbb[_0x54516d(0x200)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd9adbb[_0xd9adbb[_0x54516d(0x412)]=0x2712]=_0x54516d(0x412),_0xd9adbb[_0xd9adbb['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x54516d(0x270),_0xd9adbb[_0xd9adbb[_0x54516d(0x2cc)]=0x2714]=_0x54516d(0x2cc),_0xd9adbb[_0xd9adbb[_0x54516d(0x3f3)]=-0x1]=_0x54516d(0x3f3),_0xd9adbb))(cn||{}),ie=(_0xa1c4e=>(_0xa1c4e[_0xa1c4e[_0x54516d(0x3d4)]=0x0]=_0x54516d(0x3d4),_0xa1c4e[_0xa1c4e['UNIVER_DOC']=0x1]=_0x54516d(0x60e),_0xa1c4e[_0xa1c4e[_0x54516d(0x299)]=0x2]=_0x54516d(0x299),_0xa1c4e[_0xa1c4e[_0x54516d(0x2e8)]=0x3]='UNIVER_SLIDE',_0xa1c4e[_0xa1c4e[_0x54516d(0x3ad)]=0x4]='UNIVER_PROJECT',_0xa1c4e[_0xa1c4e[_0x54516d(0x3f3)]=-0x1]='UNRECOGNIZED',_0xa1c4e))(ie||{}),G=(_0x49d7d9=>(_0x49d7d9[_0x49d7d9['UNKNOWN_CMD']=0x0]=_0x54516d(0x49b),_0x49d7d9[_0x49d7d9['HELLO']=0x1]=_0x54516d(0x1d7),_0x49d7d9[_0x49d7d9['JOIN']=0x2]=_0x54516d(0x2e0),_0x49d7d9[_0x49d7d9['LEAVE']=0x3]=_0x54516d(0x259),_0x49d7d9[_0x49d7d9['INGEST']=0x4]=_0x54516d(0x2f7),_0x49d7d9[_0x49d7d9[_0x54516d(0x25f)]=0x5]=_0x54516d(0x25f),_0x49d7d9[_0x49d7d9[_0x54516d(0x54c)]=0x6]=_0x54516d(0x54c),_0x49d7d9[_0x49d7d9[_0x54516d(0x3f3)]=-0x1]='UNRECOGNIZED',_0x49d7d9))(G||{}),Et=(_0xb6291=>(_0xb6291[_0xb6291['UNKNOWN_CODE']=0x0]=_0x54516d(0x3e5),_0xb6291[_0xb6291['OK']=0x1]='OK',_0xb6291[_0xb6291['FAIL']=0x2]='FAIL',_0xb6291[_0xb6291[_0x54516d(0x3f3)]=-0x1]=_0x54516d(0x3f3),_0xb6291))(Et||{}),ln=(_0x5f2a16=>(_0x5f2a16[_0x5f2a16['Undefined']=0x0]=_0x54516d(0x204),_0x5f2a16[_0x5f2a16[_0x54516d(0x502)]=0x1]=_0x54516d(0x502),_0x5f2a16[_0x5f2a16[_0x54516d(0x460)]=0x2]='HttpExport',_0x5f2a16[_0x5f2a16[_0x54516d(0x3a0)]=0x3]=_0x54516d(0x3a0),_0x5f2a16[_0x5f2a16[_0x54516d(0x177)]=0x4]='UnitSnapshot',_0x5f2a16[_0x5f2a16[_0x54516d(0x3f3)]=-0x1]=_0x54516d(0x3f3),_0x5f2a16))(ln||{});const te='collaboration-client.config',zn={};function hn(_0x572c59){const _0x3ae7cf=_0x54516d;var _0x5be96b,_0x26e992,_0x33759b,_0x36d11a,_0x4cc4b1;const _0x4b03a4=_0x572c59[_0x3ae7cf(0x547)],_0x4b005e=JSON[_0x3ae7cf(0x2a0)](_0x4b03a4);switch(_0x4b005e[_0x3ae7cf(0x263)]){case G[_0x3ae7cf(0x25f)]:case G[_0x3ae7cf(0x1d7)]:{const _0x3fb103=_0x4b005e[_0x3ae7cf(0x4a7)];return{..._0x4b005e,'data':_0x3fb103,'cmd':_0x4b005e[_0x3ae7cf(0x263)]};}case G[_0x3ae7cf(0x2e0)]:{const _0x284ff5=_0x4b005e[_0x3ae7cf(0x581)];return{..._0x4b005e,'data':_0x284ff5,'cmd':_0x4b005e[_0x3ae7cf(0x263)]};}case G[_0x3ae7cf(0x54c)]:{const _0x4a9342=_0x4b005e[_0x3ae7cf(0x596)];switch(_0x4a9342['eventID']){case S[_0x3ae7cf(0x5de)]['PERMISSION_REJ']:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x5be96b=_0x4a9342[_0x3ae7cf(0x30d)])==null?void 0x0:_0x5be96b['cs']},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x5b3)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x26e992=_0x4a9342[_0x3ae7cf(0x3d1)])==null?void 0x0:_0x26e992['cs']},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x33c)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x33759b=_0x4a9342[_0x3ae7cf(0x29c)])==null?void 0x0:_0x33759b['cs']},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x477)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x36d11a=_0x4a9342['csRejEvent'])==null?void 0x0:_0x36d11a['cs']},'cmd':_0x4b005e['cmd']};case S['CollaborationEvent'][_0x3ae7cf(0x1b8)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x4cc4b1=_0x4a9342[_0x3ae7cf(0x402)])==null?void 0x0:_0x4cc4b1['cs']},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x485)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x41b)]},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x4c6)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x46c)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x58b)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x35b)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)]['LIVESHARE_NEW_HOST']:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x2ff)]},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)]['LIVESHARE_FETCH_OPERATIONS']:case S['CollaborationEvent'][_0x3ae7cf(0x512)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x51c)]},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x5a4)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x2ff)]},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x191)]:return{..._0x4b005e,'data':_0x4a9342,'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S['CollaborationEvent'][_0x3ae7cf(0x32d)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x41d)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x2d4)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x55f)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x325)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x2a9)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};default:return _0x4b005e;}}default:return _0x4b005e;}}function _n(_0x552190){const _0x354077=_0x54516d;switch(_0x552190[_0x354077(0x263)]){case G['HEARTBEAT']:case G['HELLO']:return JSON['stringify']({'cmd':_0x552190['cmd'],'routeKey':_0x552190[_0x354077(0x43b)]});case G[_0x354077(0x2f7)]:{let _0x4df7ff;switch(_0x552190[_0x354077(0x547)][_0x354077(0x4aa)]){case S[_0x354077(0x5de)][_0x354077(0x485)]:{_0x4df7ff={'eventID':S['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x552190['data'][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x58b)]:{_0x4df7ff={'eventID':S[_0x354077(0x5de)][_0x354077(0x58b)],'leaveEvent':_0x552190['data'][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x4c6)]:{_0x4df7ff={'eventID':S['CollaborationEvent'][_0x354077(0x4c6)],'joinEvent':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x4f9)]:{_0x4df7ff={'eventID':S[_0x354077(0x5de)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x512)]:{_0x4df7ff={'eventID':S[_0x354077(0x5de)][_0x354077(0x512)],'liveShareOperation':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x5a4)]:{_0x4df7ff={'eventID':S['CollaborationEvent'][_0x354077(0x5a4)],'liveShareTerminate':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S['CollaborationEvent'][_0x354077(0x5a5)]:{_0x4df7ff={'eventID':S[_0x354077(0x5de)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4df7ff={'eventID':S[_0x354077(0x5de)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4df7ff={'eventID':_0x552190[_0x354077(0x547)][_0x354077(0x4aa)]};}return JSON[_0x354077(0x4c1)]({'cmd':_0x552190[_0x354077(0x263)],'routeKey':_0x552190[_0x354077(0x43b)],'collaMsg':_0x4df7ff});}case G[_0x354077(0x2e0)]:return JSON[_0x354077(0x4c1)]({'cmd':_0x552190[_0x354077(0x263)],'routeKey':_0x552190[_0x354077(0x43b)],'joinReq':_0x552190[_0x354077(0x547)]});case G['LEAVE']:return JSON[_0x354077(0x4c1)]({'cmd':_0x552190['cmd'],'routeKey':_0x552190[_0x354077(0x43b)],'leaveReq':_0x552190['data']});default:throw new Error(_0x354077(0x3cc));}}var Xn=Object[_0x54516d(0x461)],Jn=Object['getOwnPropertyDescriptor'],Zn=(_0x33dd8a,_0x578bc7,_0x432ad3,_0x4879bd)=>{const _0x403ab0=_0x54516d;for(var _0xc5f924=_0x4879bd>0x1?void 0x0:_0x4879bd?Jn(_0x578bc7,_0x432ad3):_0x578bc7,_0x52e484=_0x33dd8a[_0x403ab0(0x5e8)]-0x1,_0x5df242;_0x52e484>=0x0;_0x52e484--)(_0x5df242=_0x33dd8a[_0x52e484])&&(_0xc5f924=(_0x4879bd?_0x5df242(_0x578bc7,_0x432ad3,_0xc5f924):_0x5df242(_0xc5f924))||_0xc5f924);return _0x4879bd&&_0xc5f924&&Xn(_0x578bc7,_0x432ad3,_0xc5f924),_0xc5f924;},we=(_0x4504d2,_0x26b638)=>(_0x18e07b,_0x4a3976)=>_0x26b638(_0x18e07b,_0x4a3976,_0x4504d2);const bt=a[_0x54516d(0x528)](_0x54516d(0x4b6));function Qn(_0x11f89c,_0x89f412,_0x214406){const _0x361c47=_0x54516d;return _0x11f89c+'/'+_0x89f412+'/unit/'+_0x214406+_0x361c47(0x1af);}exports[_0x54516d(0x418)]=class extends a[_0x54516d(0x25e)]{constructor(_0x1309e2,_0x4a15ce,_0x5791dd,_0x1a4924,_0x3439eb){const _0x5cc681=_0x54516d;super(),this['_http']=_0x1309e2,this['_ws']=_0x4a15ce,this[_0x5cc681(0x2a3)]=_0x5791dd,this[_0x5cc681(0x241)]=_0x1a4924,this[_0x5cc681(0x53b)]=_0x3439eb;}[_0x54516d(0x290)](_0x428c2c){const _0x4d43eb=_0x54516d,_0x39cd4d=this[_0x4d43eb(0x264)][_0x4d43eb(0x290)](_0x428c2c);if(!_0x39cd4d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4006c1=new a[(_0x4d43eb(0x1b5))](),_0x512d0b=new A[(_0x4d43eb(0x465))]();_0x4006c1[_0x4d43eb(0x2ba)](_0x39cd4d[_0x4d43eb(0x397)][_0x4d43eb(0x4d6)](_0x414f53=>_0x512d0b[_0x4d43eb(0x4bd)](_0x414f53))),_0x4006c1['add'](a[_0x4d43eb(0x562)](()=>_0x512d0b[_0x4d43eb(0x28e)]()));const _0x191694=new A[(_0x4d43eb(0x465))]();_0x4006c1[_0x4d43eb(0x2ba)](_0x39cd4d[_0x4d43eb(0x534)][_0x4d43eb(0x4d6)](_0x424291=>_0x191694[_0x4d43eb(0x4bd)](_0x424291))),_0x4006c1[_0x4d43eb(0x2ba)](a[_0x4d43eb(0x562)](()=>_0x191694[_0x4d43eb(0x28e)]()));const _0x42a783=new A[(_0x4d43eb(0x465))]();_0x4006c1[_0x4d43eb(0x2ba)](_0x39cd4d[_0x4d43eb(0x40e)][_0x4d43eb(0x4d6)](_0x8131dc=>{const _0x520e4d=hn(_0x8131dc);_0x42a783['next'](_0x520e4d);})),_0x4006c1['add'](a[_0x4d43eb(0x562)](()=>_0x42a783[_0x4d43eb(0x28e)]()));let _0x42682a;const _0x27f62a=()=>{const _0x3bb556=_0x4d43eb;_0x191694[_0x3bb556(0x4bd)](new Event(_0x3bb556(0x443))),_0x512d0b[_0x3bb556(0x4bd)](new CloseEvent('connection\x20error')),_0x42682a[_0x3bb556(0x575)]();};return _0x42682a={'memberID':'','close$':_0x512d0b['asObservable'](),'error$':_0x191694[_0x4d43eb(0x1a1)](),'open$':_0x39cd4d[_0x4d43eb(0x1a6)],'message$':_0x42a783['asObservable'](),'send':_0x2b242d=>{const _0x3edd2d=_0x4d43eb;if(_0x2b242d[_0x3edd2d(0x263)]===G['INGEST']){if(_0x2b242d[_0x3edd2d(0x547)][_0x3edd2d(0x4aa)]===S[_0x3edd2d(0x5de)][_0x3edd2d(0x3e6)]){this['_submitChangeset'](_0x42682a,_0x2b242d[_0x3edd2d(0x547)])[_0x3edd2d(0x618)](_0x293686=>{const _0xc12f8=_0x3edd2d;this[_0xc12f8(0x241)][_0xc12f8(0x29f)](_0x293686),_0x27f62a();});return;}if(_0x2b242d['data'][_0x3edd2d(0x4aa)]===S['CollaborationEvent']['FETCH_MISSING']){const _0x308bd5=_0x2b242d[_0x3edd2d(0x547)];this['_fetchMissChangesets'](_0x308bd5)[_0x3edd2d(0x182)](_0x12a6b2=>{const _0x1ffe55=_0x3edd2d;_0x42a783[_0x1ffe55(0x4bd)]({'cmd':G['RECV'],'code':Et['OK'],'routeKey':_0x308bd5['data'][_0x1ffe55(0x351)],'routeType':'','data':{'eventID':S['CollaborationEvent'][_0x1ffe55(0x5b0)],'data':{'changesets':_0x12a6b2}}});})[_0x3edd2d(0x618)](_0x5a699c=>{const _0x5030a1=_0x3edd2d;this['_logService'][_0x5030a1(0x29f)](_0x5a699c),_0x27f62a();});return;}}_0x39cd4d[_0x3edd2d(0x43c)](_n(_0x2b242d));},'close':()=>{const _0x3e0b71=_0x4d43eb;_0x39cd4d[_0x3e0b71(0x575)](),_0x4006c1[_0x3e0b71(0x417)]();}},_0x42682a;}async['_submitChangeset'](_0x174515,_0x216b8d){const _0xc802be=_0x54516d;var _0x23ee9c,_0x37593c;const {unitType:_0x305bfe,unitID:_0x478f85,changeset:_0x12971b}=_0x216b8d[_0xc802be(0x547)],_0x3ffc72={'unitID':_0x478f85,'memberID':_0x174515[_0xc802be(0x24b)],'type':_0x305bfe,'changeset':S['parseChangesetToProtocol'](_0x12971b)},_0x4e2bbf=this[_0xc802be(0x2a3)][_0xc802be(0x21d)](on),_0x40a069=this['_configService'][_0xc802be(0x21d)](te),_0x1b556a=Qn((_0x37593c=(_0x23ee9c=_0x40a069==null?void 0x0:_0x40a069[_0xc802be(0x21e)])!=null?_0x23ee9c:_0x4e2bbf)!=null?_0x37593c:Kn,_0x305bfe,_0x478f85);try{await this[_0xc802be(0x24d)][_0xc802be(0x486)](_0x1b556a,{'body':_0x3ffc72});}catch(_0xe831b2){throw this[_0xc802be(0x241)][_0xc802be(0x29f)](_0xc802be(0x316),_0xc802be(0x3e3)),_0xe831b2;}}async[_0x54516d(0x5a8)](_0x415b29){const _0x433e68=_0x54516d,{unitID:_0x449740,from:_0x26d63b,to:_0x38fcf0,unitType:_0x4ceaa3}=_0x415b29[_0x433e68(0x547)];return(await this[_0x433e68(0x53b)][_0x433e68(0x565)]({'metadata':void 0x0},{'unitID':_0x449740,'type':_0x4ceaa3,'from':_0x26d63b,'to':_0x38fcf0}))[_0x433e68(0x4e5)];}},exports['CollaborationSocketService']=Zn([we(0x0,a['Inject'](Z[_0x54516d(0x180)])),we(0x1,a[_0x54516d(0x573)](Z[_0x54516d(0x431)])),we(0x2,a['IConfigService']),we(0x3,a['ILogService']),we(0x4,S[_0x54516d(0x4e0)])],exports[_0x54516d(0x418)]);const ei=_0x54516d(0x16f);function ti(_0x4ba24f){const _0x44ad56=_0x54516d;return JSON['stringify'](_0x4ba24f)[_0x44ad56(0x5e8)];}class Tt{constructor(){const _0x5d2bc7=_0x54516d;I(this,_0x5d2bc7(0x26a),new A['Subject']()),I(this,'commentUpdate$',this[_0x5d2bc7(0x26a)][_0x5d2bc7(0x1a1)]());}[_0x54516d(0x451)](_0x24ed42){const _0x429d0d=_0x54516d;this[_0x429d0d(0x26a)][_0x429d0d(0x4bd)](_0x24ed42);}}var ni=Object['defineProperty'],ii=Object[_0x54516d(0x363)],si=(_0x151033,_0x30128,_0x53f675,_0x29fdb1)=>{const _0x5065d8=_0x54516d;for(var _0xe9768d=_0x29fdb1>0x1?void 0x0:_0x29fdb1?ii(_0x30128,_0x53f675):_0x30128,_0x52995c=_0x151033[_0x5065d8(0x5e8)]-0x1,_0x4d04b1;_0x52995c>=0x0;_0x52995c--)(_0x4d04b1=_0x151033[_0x52995c])&&(_0xe9768d=(_0x29fdb1?_0x4d04b1(_0x30128,_0x53f675,_0xe9768d):_0x4d04b1(_0xe9768d))||_0xe9768d);return _0x29fdb1&&_0xe9768d&&ni(_0x30128,_0x53f675,_0xe9768d),_0xe9768d;},Ut=(_0x2259ca,_0x36c484)=>(_0x9cd4c3,_0x440283)=>_0x36c484(_0x9cd4c3,_0x440283,_0x2259ca);exports[_0x54516d(0x3a8)]=class extends a['Disposable']{constructor(_0x51c75b,_0x38f847){const _0x42267a=_0x54516d;super(),I(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x51c75b,this[_0x42267a(0x2f3)]=_0x38f847,this[_0x42267a(0x55b)](a['toDisposable'](A[_0x42267a(0x349)](this[_0x42267a(0x228)][_0x42267a(0x2f8)](a[_0x42267a(0x2f2)][_0x42267a(0x299)])[_0x42267a(0x5f2)](V['map'](_0x1495dd=>_0x1495dd[_0x42267a(0x2c5)]())),this[_0x42267a(0x228)]['getTypeOfUnitDisposed$'](a[_0x42267a(0x2f2)][_0x42267a(0x60e)])[_0x42267a(0x5f2)](V['map'](_0x4bc7a6=>_0x4bc7a6[_0x42267a(0x2c5)]())),this[_0x42267a(0x228)][_0x42267a(0x2f8)](a[_0x42267a(0x2f2)][_0x42267a(0x2e8)])[_0x42267a(0x5f2)](V['map'](_0x171111=>_0x171111[_0x42267a(0x2c5)]())))[_0x42267a(0x4d6)](_0x5ddc03=>this[_0x42267a(0x210)](_0x5ddc03)))));}[_0x54516d(0x372)](_0x2de5a0){const _0x412aee=_0x54516d;this[_0x412aee(0x2f3)]['setCurrentUser'](_0x2de5a0);}[_0x54516d(0x496)](){return this['_userManagerService']['getCurrentUser']();}[_0x54516d(0x364)](_0x260508,_0x3abd24){const _0x282617=_0x54516d;let _0x4daf88=this[_0x282617(0x4ca)]['get'](_0x260508);_0x4daf88||(_0x4daf88=new ri(),this['_roomMembers'][_0x282617(0x36d)](_0x260508,_0x4daf88)),_0x4daf88[_0x282617(0x364)](_0x3abd24);}[_0x54516d(0x328)](_0x41e5ad,_0x1913b4){const _0x1b2084=_0x54516d,_0x362d7a=this['_roomMembers'][_0x1b2084(0x3b1)](_0x41e5ad);_0x362d7a&&_0x362d7a[_0x1b2084(0x328)](_0x1913b4);}['getRoom'](_0xff65e8){const _0x1fb6d7=_0x54516d;return this[_0x1fb6d7(0x4ca)][_0x1fb6d7(0x3b1)](_0xff65e8);}[_0x54516d(0x2d0)](_0x3a7d26,_0x102951){const _0x13d223=_0x54516d,_0x14151d=this[_0x13d223(0x4ca)][_0x13d223(0x3b1)](_0x3a7d26);if(_0x14151d)return _0x14151d[_0x13d223(0x2d0)](_0x102951);}[_0x54516d(0x210)](_0x466bee){const _0x5faa99=_0x54516d,_0x25878b=this['_roomMembers'][_0x5faa99(0x3b1)](_0x466bee);_0x25878b&&(_0x25878b[_0x5faa99(0x417)](),this[_0x5faa99(0x4ca)]['delete'](_0x466bee));}['dispose'](){const _0x125153=_0x54516d;this[_0x125153(0x4ca)][_0x125153(0x1ba)](_0xcec38d=>_0xcec38d['dispose']()),this[_0x125153(0x4ca)][_0x125153(0x202)]();}},exports['MemberService']=si([Ut(0x0,a[_0x54516d(0x4e2)]),Ut(0x1,a['Inject'](a['UserManagerService']))],exports[_0x54516d(0x3a8)]);class ri extends a[_0x54516d(0x25e)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x54516d(0x417)](){const _0x46219f=_0x54516d;this[_0x46219f(0x5c5)][_0x46219f(0x202)]();}[_0x54516d(0x364)](_0xb13769){const _0x24a3a5=_0x54516d;this['_members'][_0x24a3a5(0x36d)](_0xb13769[_0x24a3a5(0x24b)],_0xb13769);}['removeMember'](_0x264e19){const _0x1bc175=_0x54516d;this[_0x1bc175(0x5c5)]['delete'](_0x264e19);}['getMember'](_0x3192bc){const _0x2485b9=_0x54516d;return this['_members'][_0x2485b9(0x3b1)](_0x3192bc);}[_0x54516d(0x3fd)](){const _0x3e5b7a=_0x54516d;return Array[_0x3e5b7a(0x36a)](this[_0x3e5b7a(0x5c5)][_0x3e5b7a(0x221)]());}}var oi=Object[_0x54516d(0x461)],ai=Object['getOwnPropertyDescriptor'],ci=(_0x5547da,_0x19fbc4,_0x3a2846,_0x48dbf8)=>{const _0x54b3a9=_0x54516d;for(var _0x1da22e=_0x48dbf8>0x1?void 0x0:_0x48dbf8?ai(_0x19fbc4,_0x3a2846):_0x19fbc4,_0x5563c2=_0x5547da[_0x54b3a9(0x5e8)]-0x1,_0x1a2e93;_0x5563c2>=0x0;_0x5563c2--)(_0x1a2e93=_0x5547da[_0x5563c2])&&(_0x1da22e=(_0x48dbf8?_0x1a2e93(_0x19fbc4,_0x3a2846,_0x1da22e):_0x1a2e93(_0x1da22e))||_0x1da22e);return _0x48dbf8&&_0x1da22e&&oi(_0x19fbc4,_0x3a2846,_0x1da22e),_0x1da22e;},de=(_0x54bd42,_0x247f3c)=>(_0x33a577,_0x5e06ea)=>_0x247f3c(_0x33a577,_0x5e06ea,_0x54bd42),se=(_0x534fc5=>(_0x534fc5[_0x534fc5['IDLE']=0x0]=_0x54516d(0x375),_0x534fc5[_0x534fc5[_0x54516d(0x58e)]=0x1]='JOINING',_0x534fc5[_0x534fc5[_0x54516d(0x44b)]=0x2]=_0x54516d(0x44b),_0x534fc5[_0x534fc5[_0x54516d(0x608)]=0x3]=_0x54516d(0x608),_0x534fc5))(se||{});exports[_0x54516d(0x39e)]=class extends a[_0x54516d(0x1d6)]{constructor(_0x22fee2,_0x208858,_0x310202,_0x793cd4,_0x459ba3,_0x528d00,_0x5da2ed,_0x4f3717,_0x4e68e7,_0x7521a0){const _0x3615de=_0x54516d;super(),I(this,_0x3615de(0x557),new A[(_0x3615de(0x598))](0x0)),I(this,_0x3615de(0x415),this[_0x3615de(0x557)][_0x3615de(0x1a1)]()),I(this,_0x3615de(0x2eb),new A[(_0x3615de(0x465))]()),I(this,'event$',this['_event$']['asObservable']()),I(this,_0x3615de(0x2a8)),I(this,_0x3615de(0x52b)),I(this,_0x3615de(0x406)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x3615de(0x2e5),null),(this[_0x3615de(0x4f8)]=_0x22fee2,this[_0x3615de(0x241)]=_0x310202,this['_beforeCloseService']=_0x793cd4,this[_0x3615de(0x564)]=_0x459ba3,this[_0x3615de(0x2a3)]=_0x528d00,this[_0x3615de(0x422)]=_0x5da2ed,this[_0x3615de(0x543)]=_0x4f3717,this[_0x3615de(0x5f7)]=_0x4e68e7,this[_0x3615de(0x515)]=_0x7521a0,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x208858[_0x3615de(0x5f2)](A[_0x3615de(0x42d)](this['dispose$']))[_0x3615de(0x4d6)](_0x399b1b=>{const _0x3e54f4=_0x3615de;var _0x16ef86;typeof _0x399b1b>'u'||(this[_0x3e54f4(0x2a8)]=_0x399b1b,_0x399b1b?(this['_joinRoom'](_0x399b1b),this[_0x3e54f4(0x52b)]=_0x399b1b['message$']['subscribe'](_0x4d094e=>{const _0x374dea=_0x3e54f4;_0x4d094e[_0x374dea(0x43b)]===this[_0x374dea(0x4f8)]&&this['_onCombEvent'](_0x4d094e);})):(this[_0x3e54f4(0x185)](),this[_0x3e54f4(0x557)]['next'](0x2),(_0x16ef86=this[_0x3e54f4(0x52b)])==null||_0x16ef86['unsubscribe'](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x3615de(0x227)]['registerOnClose'](()=>{const _0x103871=_0x3615de;var _0x6618de;(_0x6618de=this[_0x103871(0x2a8)])==null||_0x6618de['send']({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x54516d(0x3af)](){const _0x1dffd2=_0x54516d;return this[_0x1dffd2(0x557)][_0x1dffd2(0x371)]();}['getMemberID'](){const _0x37204b=_0x54516d;var _0x1538cd,_0x3690bc;return(_0x3690bc=(_0x1538cd=this[_0x37204b(0x2a8)])==null?void 0x0:_0x1538cd[_0x37204b(0x24b)])!=null?_0x3690bc:null;}['dispose'](){const _0x2468b2=_0x54516d;super['dispose'](),this['dispose$'][_0x2468b2(0x4bd)](),this[_0x2468b2(0x610)]['complete']();}[_0x54516d(0x575)](){const _0x2493ee=_0x54516d;var _0x5983ad,_0x752eea;this[_0x2493ee(0x185)](),(_0x5983ad=this['_socket'])==null||_0x5983ad[_0x2493ee(0x43c)]({'cmd':G[_0x2493ee(0x259)],'data':{'roomID':this[_0x2493ee(0x4f8)]}}),(_0x752eea=this['_socket'])==null||_0x752eea[_0x2493ee(0x575)](),this[_0x2493ee(0x2eb)][_0x2493ee(0x28e)](),this[_0x2493ee(0x557)][_0x2493ee(0x28e)](),this[_0x2493ee(0x417)]();}[_0x54516d(0x42f)](_0x33d4b8){const _0x478acc=_0x54516d;_0x33d4b8[_0x478acc(0x263)]===G[_0x478acc(0x2e0)]?this[_0x478acc(0x5bb)](_0x33d4b8):_0x33d4b8['cmd']===G[_0x478acc(0x54c)]&&this[_0x478acc(0x514)](_0x33d4b8);}[_0x54516d(0x4fb)](_0x52dbae){const _0x159e3b=_0x54516d;this['_sessionStatus$'][_0x159e3b(0x4bd)](0x1),_0x52dbae['send']({'cmd':G[_0x159e3b(0x2e0)],'routeKey':this[_0x159e3b(0x4f8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x159e3b(0x4f8)]}]}});}[_0x54516d(0x5bb)](_0xcdcc68){const _0x10a977=_0x54516d;var _0x57778c;if(_0xcdcc68[_0x10a977(0x27c)]===Et[_0x10a977(0x285)]){this[_0x10a977(0x564)][_0x10a977(0x5e3)]({'type':ge[_0x10a977(0x3a7)][_0x10a977(0x354)],'content':this[_0x10a977(0x422)]['t'](_0x10a977(0x3e8))}),this[_0x10a977(0x557)]['next'](0x2);return;}this[_0x10a977(0x557)]['next'](0x3);const _0x13139c=(_0x57778c=_0xcdcc68[_0x10a977(0x547)][_0x10a977(0x214)][this[_0x10a977(0x4f8)]])==null?void 0x0:_0x57778c[_0x10a977(0x4a8)];_0x13139c&&_0x13139c['forEach'](_0x5a09f5=>this[_0x10a977(0x543)][_0x10a977(0x364)](this['_unitID'],_0x5a09f5));}[_0x54516d(0x514)](_0x64602e){const _0x2a1d44=_0x54516d;try{const _0x4ea22e=_0x64602e[_0x2a1d44(0x547)];switch(_0x4ea22e[_0x2a1d44(0x4aa)]){case S[_0x2a1d44(0x5de)]['USERS_ENTER']:this[_0x2a1d44(0x244)](_0x4ea22e),this[_0x2a1d44(0x2eb)]['next'](_0x4ea22e);break;case S[_0x2a1d44(0x5de)][_0x2a1d44(0x58b)]:this['_onUserLeave'](_0x4ea22e),this[_0x2a1d44(0x2eb)][_0x2a1d44(0x4bd)](_0x4ea22e);break;case S['CollaborationEvent'][_0x2a1d44(0x5b3)]:case S[_0x2a1d44(0x5de)][_0x2a1d44(0x1b8)]:this[_0x2a1d44(0x588)](),this[_0x2a1d44(0x308)](),this[_0x2a1d44(0x2eb)]['next'](_0x4ea22e);break;case S['CollaborationEvent'][_0x2a1d44(0x191)]:this[_0x2a1d44(0x241)]['error'](_0x2a1d44(0x1e8)+JSON[_0x2a1d44(0x4c1)](_0x4ea22e)),this[_0x2a1d44(0x2eb)]['next'](_0x4ea22e);break;case S[_0x2a1d44(0x5de)][_0x2a1d44(0x32d)]:this['_commentService']['onCommentUpdate'](_0x4ea22e[_0x2a1d44(0x547)]),this[_0x2a1d44(0x2eb)][_0x2a1d44(0x4bd)](_0x4ea22e);break;default:this[_0x2a1d44(0x2eb)][_0x2a1d44(0x4bd)](_0x4ea22e);}}catch(_0x634177){this[_0x2a1d44(0x241)][_0x2a1d44(0x29f)](_0x634177,_0x64602e);}}['_onUserJoin'](_0x58f951){const _0x4da3b5=_0x54516d;this[_0x4da3b5(0x543)][_0x4da3b5(0x364)](this[_0x4da3b5(0x4f8)],_0x58f951[_0x4da3b5(0x547)]);}[_0x54516d(0x336)](_0x3f8ee7){const _0x2f1301=_0x54516d;this['_memberService'][_0x2f1301(0x328)](this['_unitID'],_0x3f8ee7[_0x2f1301(0x547)][_0x2f1301(0x24b)]);}async[_0x54516d(0x43c)](_0x41ccbf,_0x423983){const _0x2bcc3f=_0x54516d;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x2bcc3f(0x230));try{_0x41ccbf[_0x2bcc3f(0x4aa)]===S[_0x2bcc3f(0x5de)][_0x2bcc3f(0x3e6)]&&(this[_0x2bcc3f(0x4b8)](),this[_0x2bcc3f(0x282)](_0x41ccbf)),this[_0x2bcc3f(0x2a8)][_0x2bcc3f(0x43c)]({'cmd':G[_0x2bcc3f(0x2f7)],'routeKey':_0x423983,'routeType':'','data':_0x41ccbf});}catch(_0x7e817){this[_0x2bcc3f(0x241)][_0x2bcc3f(0x29f)](_0x7e817);}}[_0x54516d(0x4b8)](){const _0x555eca=_0x54516d;var _0x51ca3e;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x1f08d6=_0xe852;this[_0x1f08d6(0x406)]=null,this[_0x1f08d6(0x564)]['show']({'type':ge[_0x1f08d6(0x3a7)][_0x1f08d6(0x30f)],'content':this['_localeService']['t'](_0x1f08d6(0x590))});},(_0x51ca3e=this[_0x555eca(0x2a3)]['getConfig'](Ct))!=null?_0x51ca3e:nn);}[_0x54516d(0x308)](){const _0x31d186=_0x54516d;this[_0x31d186(0x406)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x31d186(0x406)]=null);}[_0x54516d(0x282)](_0x2fff25){const _0x3f3b84=_0x54516d;if(!this[_0x3f3b84(0x4c9)])return;const {data:_0x2147e2}=_0x2fff25,{unitID:_0x18d7dc,changeset:_0x1a9bd5}=_0x2147e2,{mutations:_0x5acdbc,type:_0x245d0a}=_0x1a9bd5;this[_0x3f3b84(0x2e5)]={'unitId':_0x18d7dc,'type':_0x245d0a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x5acdbc)};}[_0x54516d(0x588)](){const _0x3ce541=_0x54516d;if(this[_0x3ce541(0x4c9)]){if(!this[_0x3ce541(0x2e5)]){this[_0x3ce541(0x241)][_0x3ce541(0x29f)]('[CollaborationSession]',_0x3ce541(0x56e));return;}this[_0x3ce541(0x2e5)][_0x3ce541(0x1e0)]=performance[_0x3ce541(0x331)](),this['_telemetryInfo'][_0x3ce541(0x44f)]=this['_telemetryInfo'][_0x3ce541(0x1e0)]-this[_0x3ce541(0x2e5)][_0x3ce541(0x5eb)],this[_0x3ce541(0x515)][_0x3ce541(0x229)](ei,this[_0x3ce541(0x2e5)]),this[_0x3ce541(0x2e5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x54516d(0x39e)]=ci([de(0x2,a['ILogService']),de(0x3,ee[_0x54516d(0x211)]),de(0x4,ee[_0x54516d(0x3ce)]),de(0x5,a['IConfigService']),de(0x6,a[_0x54516d(0x573)](a[_0x54516d(0x2a1)])),de(0x7,a[_0x54516d(0x573)](exports[_0x54516d(0x3a8)])),de(0x8,a['Inject'](Tt)),de(0x9,a['Optional'](jn[_0x54516d(0x3ff)]))],exports[_0x54516d(0x39e)]);var li=Object['defineProperty'],hi=Object[_0x54516d(0x363)],_i=(_0x1a2ee1,_0x43f88e,_0x2a006c,_0x22cb7)=>{const _0x9d91e3=_0x54516d;for(var _0x4bfaf3=_0x22cb7>0x1?void 0x0:_0x22cb7?hi(_0x43f88e,_0x2a006c):_0x43f88e,_0x4fe99f=_0x1a2ee1[_0x9d91e3(0x5e8)]-0x1,_0x3f1d8a;_0x4fe99f>=0x0;_0x4fe99f--)(_0x3f1d8a=_0x1a2ee1[_0x4fe99f])&&(_0x4bfaf3=(_0x22cb7?_0x3f1d8a(_0x43f88e,_0x2a006c,_0x4bfaf3):_0x3f1d8a(_0x4bfaf3))||_0x4bfaf3);return _0x22cb7&&_0x4bfaf3&&li(_0x43f88e,_0x2a006c,_0x4bfaf3),_0x4bfaf3;},Ee=(_0x2f94a5,_0x4b8d44)=>(_0x5a09d7,_0x4ab2a9)=>_0x4b8d44(_0x5a09d7,_0x4ab2a9,_0x2f94a5);exports[_0x54516d(0x580)]=class extends a[_0x54516d(0x25e)]{constructor(_0x2dff1e,_0x32e603,_0x302b35,_0x113dc6,_0x5bfd8e,_0x443b02){const _0x4aef9a=_0x54516d;super(),I(this,_0x4aef9a(0x32a),new A[(_0x4aef9a(0x598))](void 0x0)),I(this,_0x4aef9a(0x400),this[_0x4aef9a(0x32a)][_0x4aef9a(0x1a1)]()),I(this,_0x4aef9a(0x301),null),I(this,_0x4aef9a(0x32c),new Map()),I(this,'_status$',new A[(_0x4aef9a(0x598))](se[_0x4aef9a(0x375)])),I(this,_0x4aef9a(0x4d4),this[_0x4aef9a(0x59e)]['asObservable']()),I(this,_0x4aef9a(0x215),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x4aef9a(0x3ee),0x0),I(this,_0x4aef9a(0x3c1)),I(this,_0x4aef9a(0x556)),(this[_0x4aef9a(0x47c)]=_0x2dff1e,this['_localeService']=_0x32e603,this[_0x4aef9a(0x564)]=_0x302b35,this[_0x4aef9a(0x241)]=_0x113dc6,this['_configService']=_0x5bfd8e,this[_0x4aef9a(0x4f2)]=_0x443b02,this['_initEventListeners']());}get['_socket'](){const _0x1156aa=_0x54516d;return this['_socket$'][_0x1156aa(0x371)]();}['_initEventListeners'](){const _0x2102b3=_0x54516d;this['_listenToOfflineEvent'](),this[_0x2102b3(0x3df)]();}[_0x54516d(0x417)](){const _0x38c67b=_0x54516d;super[_0x38c67b(0x417)](),this[_0x38c67b(0x32c)][_0x38c67b(0x1ba)](_0x2690e2=>_0x2690e2['dispose']()),this['_sessions'][_0x38c67b(0x202)](),this[_0x38c67b(0x59e)][_0x38c67b(0x28e)]();}async[_0x54516d(0x2fd)](_0x226634){const _0x40e666=_0x54516d;if(this[_0x40e666(0x32c)][_0x40e666(0x468)](_0x226634))return this[_0x40e666(0x32c)][_0x40e666(0x3b1)](_0x226634);this['_tryEnsureSocket']();const _0x39fe5d=this[_0x40e666(0x47c)][_0x40e666(0x5d2)](exports[_0x40e666(0x39e)],_0x226634,this[_0x40e666(0x32a)][_0x40e666(0x1a1)]());return this[_0x40e666(0x32c)][_0x40e666(0x36d)](_0x226634,_0x39fe5d),_0x39fe5d;}[_0x54516d(0x51d)](_0x165d65){const _0xffe2fd=_0x54516d;var _0x3d23ba;const _0x1135cb=this[_0xffe2fd(0x32c)][_0xffe2fd(0x3b1)](_0x165d65);_0x1135cb&&(this[_0xffe2fd(0x32c)][_0xffe2fd(0x1c4)](_0x165d65),_0x1135cb[_0xffe2fd(0x575)]()),this[_0xffe2fd(0x32c)]['size']||(_0x3d23ba=this[_0xffe2fd(0x2a8)])==null||_0x3d23ba['close']();}[_0x54516d(0x27b)](){const _0x59fe5f=_0x54516d;this[_0x59fe5f(0x3ee)]=0x0,this[_0x59fe5f(0x3e7)]!=null&&(clearTimeout(this[_0x59fe5f(0x3e7)]),this[_0x59fe5f(0x3e7)]=null),this[_0x59fe5f(0x2e1)]();}[_0x54516d(0x1b2)](){const _0x23ac51=_0x54516d;var _0x298336,_0x1539dd;const _0x2355d7=this[_0x23ac51(0x2a3)][_0x23ac51(0x21d)](en),_0x5a04fc=this[_0x23ac51(0x2a3)]['getConfig'](te),_0xc21411=(_0x1539dd=(_0x298336=_0x5a04fc==null?void 0x0:_0x5a04fc[_0x23ac51(0x171)])!=null?_0x298336:_0x2355d7)!=null?_0x1539dd:Wn,_0x465c02=this['_socketService'][_0x23ac51(0x290)](_0xc21411);return this[_0x23ac51(0x301)]=_0x465c02,_0x465c02;}[_0x54516d(0x490)](){const _0x1e4828=_0x54516d;var _0x594cdd,_0x37cd54;try{const _0xb14162=(_0x37cd54=(_0x594cdd=this['_socket'])!=null?_0x594cdd:this[_0x1e4828(0x301)])!=null?_0x37cd54:this[_0x1e4828(0x1b2)]();if(_0xb14162){const _0x2da331=_0xb14162[_0x1e4828(0x43c)];_0xb14162['send']=_0x5a9188=>(this[_0x1e4828(0x374)](),_0x2da331['apply'](_0xb14162,[_0x5a9188])),_0xb14162[_0x1e4828(0x40e)][_0x1e4828(0x4d6)](_0x587de2=>this[_0x1e4828(0x192)](_0xb14162,_0x587de2)),_0xb14162[_0x1e4828(0x534)]['pipe'](V[_0x1e4828(0x46a)](0x1))[_0x1e4828(0x4d6)](_0x31ddc0=>this[_0x1e4828(0x241)][_0x1e4828(0x29f)]('[CollaborationSessionService]:\x20socket\x20error',_0x31ddc0)),_0xb14162[_0x1e4828(0x1a6)][_0x1e4828(0x5f2)](V[_0x1e4828(0x46a)](0x1))[_0x1e4828(0x4d6)](()=>{const _0x48519b=_0x1e4828;this[_0x48519b(0x47d)](_0xb14162);}),_0xb14162[_0x1e4828(0x397)][_0x1e4828(0x5f2)](V['take'](0x1))[_0x1e4828(0x4d6)](_0x12a9db=>{const _0xc86d62=_0x1e4828;this[_0xc86d62(0x241)][_0xc86d62(0x583)]('[CollaborationSessionService]','socket\x20close',_0x12a9db),this[_0xc86d62(0x54f)]();});}}catch(_0x38df0d){this[_0x1e4828(0x241)][_0x1e4828(0x29f)](_0x38df0d),this['_onConnectionFailed']();}}[_0x54516d(0x47d)](_0x2c4625){const _0x13203d=_0x54516d;this['_logService']['debug'](_0x13203d(0x1a5),_0x13203d(0x271)),_0x2c4625[_0x13203d(0x43c)]({'cmd':G['HELLO']}),this['_rescheduleHeartbeat']();}[_0x54516d(0x19b)](){const _0x19a657=_0x54516d;window[_0x19a657(0x40b)](_0x19a657(0x444),()=>this[_0x19a657(0x3bb)]());}[_0x54516d(0x3bb)](){const _0x41bc0a=_0x54516d;this[_0x41bc0a(0x215)]=!0x1,this[_0x41bc0a(0x301)]=null,this[_0x41bc0a(0x59e)][_0x41bc0a(0x4bd)](se['OFFLINE']),this[_0x41bc0a(0x32a)]['next'](null),this[_0x41bc0a(0x4d5)](),this['_clearHeartbeatTimer']();}[_0x54516d(0x54f)](){const _0x3ece5c=_0x54516d;var _0x102be4;this[_0x3ece5c(0x3bb)](),this['_retryCount']<((_0x102be4=this[_0x3ece5c(0x2a3)][_0x3ece5c(0x21d)](sn))!=null?_0x102be4:Gn)?(this[_0x3ece5c(0x564)][_0x3ece5c(0x5e3)]({'key':_0x3ece5c(0x18e),'type':ge[_0x3ece5c(0x3a7)][_0x3ece5c(0x354)],'content':this['_localeService']['t'](_0x3ece5c(0x549))}),this[_0x3ece5c(0x2e1)]()):this[_0x3ece5c(0x564)]['show']({'key':_0x3ece5c(0x18e),'type':ge[_0x3ece5c(0x3a7)][_0x3ece5c(0x30f)],'content':this[_0x3ece5c(0x422)]['t'](_0x3ece5c(0x1bc))});}[_0x54516d(0x3df)](){const _0x33bfb2=_0x54516d,_0x434b2c=()=>{const _0x1e63fa=_0xe852;this[_0x1e63fa(0x2a8)]||this[_0x1e63fa(0x27b)]();},_0x1cf8e3=()=>{const _0x50754b=_0xe852;this[_0x50754b(0x2a8)]||document[_0x50754b(0x616)]===_0x50754b(0x5b7)||this[_0x50754b(0x27b)]();};window[_0x33bfb2(0x40b)]('online',_0x434b2c),document[_0x33bfb2(0x40b)](_0x33bfb2(0x203),_0x1cf8e3);}[_0x54516d(0x2e1)](){const _0x1e962b=_0x54516d;var _0x360e87;const _0x244f6d=this[_0x1e962b(0x3ee)],_0x4417e2=this[_0x1e962b(0x2a3)]['getConfig'](te),_0x294153=_0x244f6d===0x0?0x0:((_0x360e87=_0x4417e2==null?void 0x0:_0x4417e2['retryConnectingInterval'])!=null?_0x360e87:Vn)*0x2**_0x244f6d;this[_0x1e962b(0x3e7)]=window['setTimeout'](()=>{const _0x4a1aeb=_0x1e962b;clearTimeout(this[_0x4a1aeb(0x3e7)]),this[_0x4a1aeb(0x3e7)]=null,this[_0x4a1aeb(0x490)]();},_0x294153),this[_0x1e962b(0x3ee)]+=0x1;}[_0x54516d(0x192)](_0x2d2ce6,_0x18d917){const _0x232da3=_0x54516d,{cmd:_0x1e9be9}=_0x18d917;_0x1e9be9===G[_0x232da3(0x1d7)]&&!this[_0x232da3(0x215)]&&(_0x2d2ce6[_0x232da3(0x24b)]=_0x18d917['data'][_0x232da3(0x24b)],this['_socket$'][_0x232da3(0x4bd)](_0x2d2ce6),this['_status$'][_0x232da3(0x4bd)](se[_0x232da3(0x608)]),this['_socketReady']=!0x0,this[_0x232da3(0x301)]=null),_0x1e9be9===G[_0x232da3(0x25f)]&&this[_0x232da3(0x4d5)](),this[_0x232da3(0x374)]();}[_0x54516d(0x374)](){const _0x2b7faa=_0x54516d;var _0x4ff835;this[_0x2b7faa(0x5ae)](),this[_0x2b7faa(0x3c1)]=window[_0x2b7faa(0x1ae)](()=>this[_0x2b7faa(0x321)](),(_0x4ff835=this[_0x2b7faa(0x2a3)][_0x2b7faa(0x21d)](tn))!=null?_0x4ff835:Fn);}[_0x54516d(0x321)](){const _0x38e7cf=_0x54516d;this[_0x38e7cf(0x2a8)][_0x38e7cf(0x43c)]({'cmd':G[_0x38e7cf(0x25f)]}),this[_0x38e7cf(0x58d)]();}[_0x54516d(0x58d)](){const _0x3b7ff5=_0x54516d;var _0x349c77;this[_0x3b7ff5(0x556)]=window['setTimeout'](()=>this[_0x3b7ff5(0x54f)](),(_0x349c77=this['_configService']['getConfig'](Ct))!=null?_0x349c77:nn);}[_0x54516d(0x5ae)](){const _0x2b310d=_0x54516d;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x2b310d(0x3c1)]),this[_0x2b310d(0x3c1)]=null);}[_0x54516d(0x4d5)](){const _0x3f7e80=_0x54516d;this[_0x3f7e80(0x556)]!=null&&(clearTimeout(this[_0x3f7e80(0x556)]),this[_0x3f7e80(0x556)]=null);}},exports['CollaborationSessionService']=_i([Ee(0x0,a[_0x54516d(0x573)](a['Injector'])),Ee(0x1,a[_0x54516d(0x573)](a['LocaleService'])),Ee(0x2,ee[_0x54516d(0x3ce)]),Ee(0x3,a[_0x54516d(0x4ee)]),Ee(0x4,a[_0x54516d(0x208)]),Ee(0x5,bt)],exports[_0x54516d(0x580)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x54516d(0x26e)]((s+0x100)[_0x54516d(0x481)](0x10)['slice'](0x1));function ui(_0x58cb84,_0x430459=0x0){return(Y[_0x58cb84[_0x430459+0x0]]+Y[_0x58cb84[_0x430459+0x1]]+Y[_0x58cb84[_0x430459+0x2]]+Y[_0x58cb84[_0x430459+0x3]]+'-'+Y[_0x58cb84[_0x430459+0x4]]+Y[_0x58cb84[_0x430459+0x5]]+'-'+Y[_0x58cb84[_0x430459+0x6]]+Y[_0x58cb84[_0x430459+0x7]]+'-'+Y[_0x58cb84[_0x430459+0x8]]+Y[_0x58cb84[_0x430459+0x9]]+'-'+Y[_0x58cb84[_0x430459+0xa]]+Y[_0x58cb84[_0x430459+0xb]]+Y[_0x58cb84[_0x430459+0xc]]+Y[_0x58cb84[_0x430459+0xd]]+Y[_0x58cb84[_0x430459+0xe]]+Y[_0x58cb84[_0x430459+0xf]])['toLowerCase']();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x4ff8cf=_0x54516d;if(!Je){if(typeof crypto>'u'||!crypto[_0x4ff8cf(0x505)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto[_0x4ff8cf(0x505)][_0x4ff8cf(0x2ef)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x54516d(0x525)]&&crypto[_0x54516d(0x525)][_0x54516d(0x2ef)](crypto),Mt={'randomUUID':vi};function mi(_0x390650,_0x4c0055,_0x4b45c4){const _0x9a3eec=_0x54516d;if(Mt[_0x9a3eec(0x525)]&&!_0x4c0055&&!_0x390650)return Mt[_0x9a3eec(0x525)]();_0x390650=_0x390650||{};const _0x513fa7=_0x390650[_0x9a3eec(0x35c)]||(_0x390650[_0x9a3eec(0x342)]||fi)();return _0x513fa7[0x6]=_0x513fa7[0x6]&0xf|0x40,_0x513fa7[0x8]=_0x513fa7[0x8]&0x3f|0x80,ui(_0x513fa7);}var Si=Object['defineProperty'],pi=Object[_0x54516d(0x363)],gi=(_0x3a77b0,_0x374432,_0x38f58e,_0x3047af)=>{const _0x2873f0=_0x54516d;for(var _0x4a5321=_0x3047af>0x1?void 0x0:_0x3047af?pi(_0x374432,_0x38f58e):_0x374432,_0x284912=_0x3a77b0[_0x2873f0(0x5e8)]-0x1,_0x3dee33;_0x284912>=0x0;_0x284912--)(_0x3dee33=_0x3a77b0[_0x284912])&&(_0x4a5321=(_0x3047af?_0x3dee33(_0x374432,_0x38f58e,_0x4a5321):_0x3dee33(_0x4a5321))||_0x4a5321);return _0x3047af&&_0x4a5321&&Si(_0x374432,_0x38f58e,_0x4a5321),_0x4a5321;},Ze=(_0x284a8c,_0x49b595)=>(_0x17f5e9,_0x3dfe50)=>_0x49b595(_0x17f5e9,_0x3dfe50,_0x284a8c);let Be=class{constructor(_0x4fb5fc,_0x1c2ce2,_0x537a9d){const _0x312056=_0x54516d;this['_injector']=_0x4fb5fc,this[_0x312056(0x579)]=_0x1c2ce2,this[_0x312056(0x250)]=_0x537a9d;}[_0x54516d(0x4a6)](_0x23f090){const _0x30cedd=_0x54516d;this[_0x30cedd(0x1a2)](_0x23f090),this[_0x30cedd(0x18c)](_0x23f090);}[_0x54516d(0x5e6)](_0x37a8e9){const _0x472e27=_0x54516d,{unitID:_0x38c4e0}=_0x37a8e9,_0x7a14eb=this[_0x472e27(0x250)][_0x472e27(0x2ee)](_0x38c4e0)['with'](J[_0x472e27(0x35f)]),{redoCache:_0x359463}=_0x7a14eb[_0x472e27(0x383)]();if(_0x359463[_0x472e27(0x5e8)]===0x0)return _0x37a8e9;let _0x215b96=a[_0x472e27(0x3eb)][_0x472e27(0x330)](_0x37a8e9[_0x472e27(0x1f3)][0x0]);for(let _0xbc42cd=0x0;_0xbc42cd<_0x359463[_0x472e27(0x5e8)];_0xbc42cd++){const _0x52ea3f={'id':_0x472e27(0x47f),'params':{..._0x359463[_0xbc42cd]}},_0x3a9bb7=this[_0x472e27(0x579)][_0x472e27(0x4bb)](_0x215b96,_0x52ea3f,!0x1);if(S[_0x472e27(0x311)](_0x3a9bb7))throw _0x3a9bb7[_0x472e27(0x29f)];_0x215b96=_0x3a9bb7[_0x472e27(0x401)];}return{...a[_0x472e27(0x3eb)][_0x472e27(0x330)](_0x37a8e9),'mutations':[_0x215b96]};}[_0x54516d(0x1a2)](_0x3319a9){const _0x2ae218=_0x54516d,{unitID:_0x510f4b}=_0x3319a9,_0xdb3d0b=this[_0x2ae218(0x250)][_0x2ae218(0x2ee)](_0x510f4b)[_0x2ae218(0x4ff)](J['DocIMEInputManagerService']),{undoCache:_0xa7eea4,redoCache:_0x2e01e4}=_0xdb3d0b[_0x2ae218(0x383)]();if(_0xa7eea4[_0x2ae218(0x5e8)]===0x0||_0x2e01e4[_0x2ae218(0x5e8)]===0x0)return;const _0x3235d1=[],_0x5e2648=[];let _0x2908ed=a['Tools']['deepClone'](_0x3319a9[_0x2ae218(0x1f3)][0x0]),_0x2643ea=a[_0x2ae218(0x3eb)][_0x2ae218(0x330)](_0x3319a9[_0x2ae218(0x1f3)][0x0]);for(let _0x271626=_0xa7eea4['length']-0x1;_0x271626>=0x0;_0x271626--){const _0x11d774={'id':_0x2ae218(0x47f),'params':{..._0xa7eea4[_0x271626]}},_0x198e77={'id':_0x2ae218(0x47f),'params':{..._0x2e01e4[_0x271626]}},_0x3c6ce3=this['_transformService']['transformMutation'](_0x2908ed,_0x11d774,!0x1),_0x3a1e3b=this[_0x2ae218(0x579)]['transformMutation'](_0x2643ea,_0x198e77,!0x1);if(S['isTransformMutationFailure'](_0x3c6ce3))throw _0x3c6ce3[_0x2ae218(0x29f)];if(S[_0x2ae218(0x311)](_0x3a1e3b))throw _0x3a1e3b['error'];_0x3235d1[_0x2ae218(0x4b3)](_0x3c6ce3[_0x2ae218(0x46b)][_0x2ae218(0x601)]),_0x5e2648[_0x2ae218(0x4b3)](_0x3a1e3b[_0x2ae218(0x46b)][_0x2ae218(0x601)]),_0x2908ed=_0x3c6ce3['m1Prime'],_0x2643ea=_0x3a1e3b[_0x2ae218(0x401)];}_0xdb3d0b[_0x2ae218(0x38e)]({'undoCache':_0x3235d1,'redoCache':_0x5e2648});}[_0x54516d(0x18c)](_0x2b028c){const _0x59cc9e=_0x54516d,{unitID:_0x2b25de}=_0x2b028c,_0x3e3ee9=this[_0x59cc9e(0x250)]['getRenderById'](_0x2b25de)['with'](J['DocIMEInputManagerService']),_0x23517d=_0x3e3ee9[_0x59cc9e(0x4e8)]();if(_0x23517d==null)return;const _0x2ee213=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b028c[_0x59cc9e(0x351)],'actions':null,'textRanges':[_0x23517d]}}],_0x98fdb1=this[_0x59cc9e(0x579)]['transformMutationsWithChangeset'](_0x2b028c,_0x2ee213);if(!S[_0x59cc9e(0x5da)](_0x98fdb1))throw _0x98fdb1['error'];const _0x50927b=_0x98fdb1['m2Prime'][0x0][_0x59cc9e(0x601)][_0x59cc9e(0x329)];Array[_0x59cc9e(0x5a7)](_0x50927b)&&_0x50927b['length']&&_0x3e3ee9[_0x59cc9e(0x4ab)](_0x50927b[0x0]);}};Be=gi([Ze(0x0,a[_0x54516d(0x573)](a['Injector'])),Ze(0x1,S['ITransformService']),Ze(0x2,K[_0x54516d(0x387)])],Be);var Ii=Object[_0x54516d(0x461)],Ci=Object[_0x54516d(0x363)],Ei=(_0x2fe8a3,_0xc8f734,_0x5307db,_0x6130b4)=>{const _0x4e93f3=_0x54516d;for(var _0x4d4adf=_0x6130b4>0x1?void 0x0:_0x6130b4?Ci(_0xc8f734,_0x5307db):_0xc8f734,_0x147d98=_0x2fe8a3[_0x4e93f3(0x5e8)]-0x1,_0x330eea;_0x147d98>=0x0;_0x147d98--)(_0x330eea=_0x2fe8a3[_0x147d98])&&(_0x4d4adf=(_0x6130b4?_0x330eea(_0xc8f734,_0x5307db,_0x4d4adf):_0x330eea(_0x4d4adf))||_0x4d4adf);return _0x6130b4&&_0x4d4adf&&Ii(_0xc8f734,_0x5307db,_0x4d4adf),_0x4d4adf;},Pe=(_0x37001f,_0x25259e)=>(_0x59af7f,_0x14cd2a)=>_0x25259e(_0x59af7f,_0x14cd2a,_0x37001f);exports[_0x54516d(0x5ef)]=class extends a['Disposable']{constructor(_0x38bb89,_0x131082,_0x2828f7,_0x1c9a26,_0x18b2ea){const _0x499f24=_0x54516d;super(),I(this,_0x499f24(0x186),new Map()),I(this,_0x499f24(0x59a),new Map()),I(this,_0x499f24(0x2d2),!0x1),(this[_0x499f24(0x2a3)]=_0x38bb89,this[_0x499f24(0x274)]=_0x131082,this[_0x499f24(0x227)]=_0x2828f7,this['_localeService']=_0x1c9a26,this[_0x499f24(0x1cc)]=_0x18b2ea,this[_0x499f24(0x4e7)]());}[_0x54516d(0x552)](){const _0x195ba6=_0x54516d;this[_0x195ba6(0x2d2)]=!0x0;}[_0x54516d(0x559)](){const _0x20724f=_0x54516d;this[_0x20724f(0x2d2)]=!0x1;}['dispose'](){const _0x5d8488=_0x54516d;this[_0x5d8488(0x4c4)]()[_0x5d8488(0x182)](()=>super[_0x5d8488(0x417)]());}async[_0x54516d(0x456)](_0x59e542){const _0x2d4c54=_0x54516d;return this[_0x2d4c54(0x2d2)]?null:this[_0x2d4c54(0x274)][_0x2d4c54(0x260)](At(_0x59e542));}async[_0x54516d(0x181)](_0x50df2f,_0x5a7e9a){const _0x36c3d6=_0x54516d;return!!this[_0x36c3d6(0x274)][_0x36c3d6(0x399)](_0x50df2f,_0x5a7e9a);}[_0x54516d(0x1fb)](_0x48858a,_0xd97606,_0x2b08a0,_0x2ac41a){const _0x26226f=_0x54516d,_0x50a278=this[_0x26226f(0x1cc)][_0x26226f(0x419)](_0x48858a);this[_0x26226f(0x186)]['set'](_0x48858a,{'unitID':_0x48858a,'type':_0xd97606,'awaitingChangeset':_0x2b08a0,'mutations':_0x2ac41a,'rev':_0x50a278}),this['_saveTaskMap'][_0x26226f(0x468)](_0x48858a)||this[_0x26226f(0x3ef)](_0x48858a);}['_scheduleSaving'](_0x92c05f){const _0x1c53a2=_0x54516d,_0x31d32a=this[_0x1c53a2(0x22a)]();_0x31d32a===0x0?this['_saveCache'](_0x92c05f):this[_0x1c53a2(0x59a)]['set'](_0x92c05f,setTimeout(()=>this[_0x1c53a2(0x238)](_0x92c05f),_0x31d32a));}[_0x54516d(0x22a)](){const _0x24ca12=_0x54516d;var _0xee263;return(_0xee263=this['_configService'][_0x24ca12(0x21d)](rn))!=null?_0xee263:Yn;}[_0x54516d(0x238)](_0x3f505a){const _0xa33b34=_0x54516d,_0x911770=this[_0xa33b34(0x59a)][_0xa33b34(0x3b1)](_0x3f505a);return _0x911770!==void 0x0&&window[_0xa33b34(0x289)](_0x911770),this[_0xa33b34(0x274)]['setItem'](At(_0x3f505a),this[_0xa33b34(0x186)][_0xa33b34(0x3b1)](_0x3f505a))['then'](()=>this[_0xa33b34(0x59a)][_0xa33b34(0x1c4)](_0x3f505a));}async[_0x54516d(0x4c4)](){const _0x46a631=_0x54516d,_0x4b2e00=[];this[_0x46a631(0x59a)][_0x46a631(0x1ba)]((_0x294e32,_0x2a0369)=>{const _0x1b33a3=_0x46a631;window[_0x1b33a3(0x289)](_0x294e32),_0x4b2e00[_0x1b33a3(0x26e)](this[_0x1b33a3(0x238)](_0x2a0369)[_0x1b33a3(0x182)](()=>{const _0x40be1a=_0x1b33a3;this[_0x40be1a(0x59a)][_0x40be1a(0x1c4)](_0x2a0369);}));}),await Promise[_0x46a631(0x614)](_0x4b2e00);}[_0x54516d(0x4e7)](){const _0xeec893=_0x54516d;this['disposeWithMe'](this[_0xeec893(0x227)][_0xeec893(0x478)](()=>{const _0x18d436=_0xeec893;if(this[_0x18d436(0x59a)][_0x18d436(0x5c0)])return this[_0x18d436(0x422)]['t'](_0x18d436(0x1d2));}));}},exports[_0x54516d(0x5ef)]=Ei([Pe(0x0,a[_0x54516d(0x208)]),Pe(0x1,a[_0x54516d(0x53d)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x2a1)])),Pe(0x4,a[_0x54516d(0x573)](S[_0x54516d(0x35a)]))],exports[_0x54516d(0x5ef)]);function _0x47dd(){const _0x254fb3=['div','session.collaboration-timeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','react','c2Prime','collaMsg','_append','BehaviorSubject','HMAC','_saveTaskMap','url(#off-line-single_clip0_910_343)','collabStatus.syncing','univer-offline','_status$','transformChangesets','_getUploadFileURL','_clearLocalCache','_uiPartsService','enableSingleActiveInstanceLock','LIVESHARE_TERMINATE','LIVESHARE_REQUEST_HOST','image/gif','isArray','_fetchMissChangesets','translate(.97)','setShowComponents','collaboration.single-unit.warning','_resendTimer','@univerjs/ui','_clearHeartbeatTimer','COLLAB_WEB_SOCKET_URL','PSEUDO_FETCH_MISSING_RESULT','removeParam','_updateCollabCursors','CHANGESET_ACK','Base','RefRangeService','reqId','hidden','_startCollaboration','IUndoRedoService','IContextService','_onJoinRoomEvent','fetching\x20missing\x20changesets\x20from\x20','ITransformService','CollaborationStatusDisplay','_cipher','size','awaiting_with_pending','getUniverSheetInstance','onMouseMove','_oKey','_members','InsertColCommandId','[CollaborationState]:\x20apply\x20error!','UNAUTHENTICATED','getUnitType','fromCharCode','object','disposeUnit','requestParams','4442490Whxcvq','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','collab-rect-range-','blockSize','createInstance','_scheduleClearOtherTimer','fetchMiss','transformUndoRedo','_unitOnClients','LICENSE_DISTRO_REJECTED','_onRefRangeChange','_sendingTimer','isTransformMutationsWithChangesetSuccess','getCoordByCell','getCurrentSelections','put','CollaborationEvent','getCollabEntity$','CONNECTOR_DATA_TOO_LARGE','_docSkeletonManagerService','@univerjs-pro/collaboration','show','IAuthzIoService','isActive','transformRemoteChangeset','fetchThroughInterceptors','length','/universer-api/comb','fromEventSubject','startTime','_nDataBytes','none','LOCAL_CACHE_INTERVAL_KEY','LocalCacheService','getSheetBlock','getRangePointData','pipe','key','_pendingMutations','defs','{fileID}','_commentService','IURLService','MUTATION','name','hostname','FETCH_MISS','SNAPSHOT_HAS_BEEN_REMOVED','updateCollaborator','conflict','uni.network.url-service','params','COMPRESS_MUTATION_APPLY','syncEditingCollabCursor','handleInsertRangeMoveDown','jsx','_process','_hover','ONLINE','_registerDependencies','throttleTime','_getDownloadEndpointURL','beginPath','originalMeta','UNIVER_DOC','ERROR_IMAGE_TYPE','dispose$','_anchor','HEARTBEAT_TIMEOUT','apply','all','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','visibilityState','top','catch','FromArray','univer-online','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_snapshotService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_incrementRevisionNumber','_changesetReqId','_imageSourceCache','clearInterval','RETRY_CONNECTING_MAX_COUNT','extend','collaboration_new_changeset','_config','collabWebSocketUrl','onMissingChangesets','CommentService','round','$super','_drawRectRange','UnitSnapshot','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_awaitingChangeset','ACTIVE_UNIT_EVENT_CHANNEL','useRef','_initRequestHeader','x-univer-host','setParam','InsertRowCommandId','HTTPService','saveOfflineData','then','serializeCombRequest','SNAPSHOT_URL_KEY','_throwTelemetryCollaborationNewChangeset','_cachedData','transformByState','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collab-text-range-','ICommandService','pending','_transformPreviousActiveRange','RegularPolygon','collaboration-session-retry','off-line-single_clip0_910_343','OffLineSingle','MSG_FOR_ERROR','_onMessage','_updateURLWithCurrentState','pauseCollaboration','mixIn','_cursor','flatMap','M0\x200H16V16H0z','engine','sigBytes','_listenToOfflineEvent','CollaborationController','BlockCipherMode','/role','hovered','_getSendChangesetTimeout','asObservable','_transformUndoRedoStack','not_collab','downloadEndpointUrl','[CollaborationSessionService]','open$','_unlockTransition','jsxs','gold400','COLLAB_SUBMIT_CHANGESET_URL_KEY','onTransformState','_hasher','_removeCollabCursors','setTimeout','/new_changes','override','_replayCachedMutations','_createSocket','_hovered','univer-online-status-title','DisposableCollection','ImageSourceType','_getMergeRange','CHANGESET_SHOULD_RETRY','conflict.title','forEach','unsubscribe','session.connection-failed','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Univer','arc','row','react.element','className','_getSheetObject','delete','_createInitialState','Cipher','state$','appendMutation','FileId','_commandService','byteOffset','_revisionService','transformMutationsWithChangeset','width','Malformed\x20UTF-8\x20data','mapTo','@univerjs/telemetry','collaboration-client.offline-data-not-saved','Rectangle','10024lMuXpW','_id','RxDisposable','HELLO','onPointerLeave$','resize','_getAnchorBounding','Unknown\x20user','_handleLeaveEvent','concatMap','_colorIndex','subscribeEvent','stopTime','addImageSourceCache','reject','UNIVER_COLLABORATION_CLIENT_PLUGIN','PENDING','_onFetchMissResult','/universer-api/stream/file/upload','_reverseMap','save\x20fail\x20reason\x20is\x20','mapDocumentTypeToUniverType','_collaborationController','_isPermissionRej','textEncoder','_doFinalize','Optional','TEXT','DeleteRangeMoveUpCommandId','SerializableCipher','getUnhiddenWorksheets','mutations','collaboratorID','encodeURIComponent','replace','charAt','\x0aAfter:\x20','UNDEFINED','_initUnitPermissionChange','updateOfflineData','_compressMutationService','SYNCED','distinctUntilChanged','getRelativeToViewportCoord','YUUMI_UNABLE_LOAD_URL','refreshPermission','clear','visibilitychange','Undefined','DependentOn','b64DecodeUnicode','[CollaborationUndoRedoService]','IConfigService','startsWith','urlChange$','_schedule','for','_exhaustRemoteChangesetQueue','onlineStatus','PERMISSION_DENIED','_removeRoom','IBeforeCloseService','batchAllowed','concat','roomInfos','_socketReady','_transformIMECache','use','_ensureSubject','_handleHeartbeatEvent','SEND_CHANGESET_TIMEOUT_KEY','_transformStack','defaultProps','getConfig','collabSubmitChangesetUrl','_anchorDot','registerHTTPInterceptor','values','toggleOnline','_transformSelections','_remoteChangesetQueue','history','Rect','_beforeCloseService','_univerInstanceService','capture','_getSaveTimeout','FETCH_MISSING','redoState','backgroundColor','TEXT_RANGE_LAYER_INDEX','_minBufferSize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','RECT','WorkbookEditablePermission','onlineStatusTitle','[OfflineState]:\x20received\x20rejection.','CHANGESET_REVISION_CONFILICT','_onCursorUpdate','ENSURE_SNAPSHOT_EXECUTION','_saveCache','join','number','_keyPriorReset','_state','Decryptor','setAlpha','decrypt','withCredentials','_logService','type','resend','_onUserJoin','ERROR_IMAGE','_ENC_XFORM_MODE','algo','_httpService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','mergeOverrideWithDependencies','memberID','TOO_MANY_REQUESTS','_http','encrypt','_transformStateCache','_renderManagerService','restore','PasswordBasedCipher','NoPadding','_roomMembers$','JSONX','getUnitStatus$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ciphertext','LEAVE','fetch_missing','getUnit','IImageIoService','_toggleOffline','Disposable','HEARTBEAT','getItem','_disableEditing','_online','cmd','_ws','snapshotServerUrl','awaiting','target','trim','onTransformIME','_commentUpdate$','/-/object/list','toStringTag','_mode','push','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','YUUMI_RATE_OVER_LIMIT','socket\x20open.','_colorAssignService','/-/object/-/batch_allowed','_localStorageService','substr','_applyRemoteChangeset','Encryptor','forwardRef','sheetId','onSyncEditingCollabCursor','reconnect','code','_urlService','getDocRanges','APPLY_NON_SEQUENTIAL_REVISION','CollaborationStatus','lineTo','_startTelemetryCollaborationNewChangeset','substring','hasOwnProperty','FAIL','addObject','_createHandler','_cursors','clearTimeout','localeService','_removeClearOtherTimer','getSheetBySheetId','10fbUvXR','complete','1em','createSocket','__creator','filter','ImageIoService','_collabCursorState$','APPLY_REVISION_CONFILICT','putCollaborators','getSheetId','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','UNIVER_SHEET','defIds','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','newCsEvent','AES','_context','error','parse','LocaleService','cursorInfo$','_configService','image/png','call','ThemeService','contains','_socket','shouldCloseConn','onCommandExecuted','&source=','_executeRemoteChangeset','collabCursorState$','selections','transformStateCache','MD5','includes','_loadDoc','touchDependencies','searchParams','_hash','setInterval','combineLatest','unitId\x20is\x20not\x20found','_startDocCollabCursor','add','replaceState','transformSelections','@univerjs/sheets-ui','WebURLService','getCollabCursors$','getMergeData','onRemoteRej','map','_initDependencies','_onLocalMutation','getUnitId','subunit','keySize','_map','addObjects','_drawTextRange','CBC','YUUMI_SUBSCRIPTION_NOT_FOUND','copyFileMeta','_permissionService','ImageUploadStatusType','getMember','_getSnapshotAPIPrefix','_disabled','_heartbeatTimer','UPDATE_PERMISSION_OBJ','status','handleIRemoveRow','_transitionLocked','332395eZyvRz','_singleActiveUnitService','location','editing\x20status\x20changed\x20to','onStateChange','_initStatusComponent','_updateSubUnitFromURLParams','_docStateChangeManagerService','JOIN','_tryReconnect','image/jpeg','isTransformMutationsWithChangesetFailure','getTime','_telemetryInfo','hide','_xformMode','UNIVER_SLIDE','DeleteRangeMoveLeftCommandId','Vector2','_event$','SNAPSHOT_INVALID_SNAPSHOT','crypto','getRenderById','bind','debounceTime','EffectRefRangId','UniverInstanceType','_userManagerService','repeat','VIEW_MAIN','[OfflineState]:\x20received\x20acknowledgement.','INGEST','getTypeOfUnitDisposed$','transformStack\x20failed!','getWorkbookSelections','ALREADY_EXISTS','editingUnit','requireSession','_iKey','liveShareNewHost','append','_candidateSocket','@univerjs/rpc','0\x200\x2017\x2016','OpenSSL','_initCommandExecutedListener','_doProcessBlock','_clearUndo','_clearCollaborationTimeoutTimer','_lastPointer','change$','purple300','function','permissionRejEvent','revision','Error','getFocusedUnit','isTransformMutationFailure','_syncEditingCollabCursorService','_shapes','_send','fromCollab','[CollaborationSession]','_document','\x0aCurrent:\x20','RemoveColCommandId','[OfflineState]:\x20received\x20changeset.','Utf8','_startSheetCollabCursor','indexOf','DocCollaborationEntity','cursorInfo','pushState','_sendHeartbeat','json','snapshot','msCrypto','SHOULD_CLOSE_CONN','3160195zUhCKz','pad','removeMember','textRanges','_socket$','rxjs','_sessions','COMMENT_UPDATE','_updateLocalCursor','default','deepClone','now','initWorkbookPermissionChange','SetDocZoomRatioOperation','replaceDocRanges','_sheetSkeletonManagerService','_onUserLeave','onPointerMove$','_onRemoteRejected','encryptBlock','Injector','NOT_FOUND','NEW_CHANGESETS','InsertRangeMoveDownCommandId','saveSheetBlock','AuthzIoHttpService','[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.','ceil','rng','collaboration.closeRoom','collabStatus.notCollab','collab-client.tooltip.reconnect','toRgbString','kdf','readAsDataURL','merge','/block/','enc','min','charCodeAt','_iv','file','loginUrlKey','unitID','Hex','execute','Warning','@univerjs/engine-formula','responseType','HEARTBEAT_INTERVAL_KEY','_labelPosition','exports','RevisionService','leaveEvent','random','actions','/allowed','DocIMEInputManagerService','synced','@univerjs/design','fromEvent','getOwnPropertyDescriptor','updateMember','_keySchedule','bottom','url(#on-line-single_clip0_910_349)','fillText','IPermissionService','from','APPLY_REJECT','getMemberID','set','DesktopCollaborationStatusDisplayController','@univerjs/docs-ui','getInterceptPoints','getValue','setCurrentUser','_changesetSessionId','_rescheduleHeartbeat','IDLE','IRemoteInstanceService','objectID','format','baseRev','Module','0\x200\x2016\x2016','drawWith','_name','moveTo','RETRY_CONNECTING_MAX_COUNT_KEY','_session','_clearRedo','collab-text-anchor-','getUndoRedoMutationParamsCache','_doReset','[SyncedState]:\x20received\x20acknowledgement.','objectType','IRenderManagerService','confirm','useDependency','storage','endRow','ReactCurrentOwner','save','setUndoRedoMutationParamsCache','jiqing500','_cursorShapes','equals','every','getActiveSheet','lib','patch','AWAITING_WITH_PENDING','close$','SheetsSelectionsService','setItem','Tooltip','getAncestorScale','INTERNAL_ERROR','clone','CollaborationSession','_initResize','UnitEmbedded','CollaborationEntity','_unitStatus','generateRandomId','labelPosition','EmptyMutation','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','MessageType','MemberService','/rev/','string','_getUndoStack','sid','UNIVER_PROJECT','4328910xhmTyU','sessionStatus','getImageSourceCache','get','_getRedoStack','result','idSuffix','method','_onConflict','on-line-single_clip0_910_349','enableOfflineEditing','_collabSessionService','@univerjs/sheets','_onOffline','url','INVALID_ARGUMENT','popstate','_localCacheService','makeDirty','_sendHeartbeatTimer','LocalUndoRedoService','handleInsertCol','getViewport','RichTextEditingMutation','createEncryptor','@univerjs/drawing','_entities','resolve','/collaborator','_cursorInfo$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','1079944NCYEkT','IMessageService','onTransformRemoteChangesetByStateCache','/object/','csAckEvent','_clearOtherTimers','_collabCursorController','UNIVER_UNKNOWN','_handler','_themeService','_invKeySchedule','NodePositionConvertToRectRange','SHA1','getCollabEntity','undoState','currentTheme$','objectActions','NO_OTHER_CLIENTS_EDITING','_listenToOnlineEvent','focused$','onRemoteAck','_DEC_XFORM_MODE','submit\x20changeset\x20error!','SetWorksheetActivateCommand','UNKNOWN_CODE','SUBMIT_CHANGESET','_retryConnectingTimer','session.room-full','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','whenReady','Tools','color','_doCryptBlock','_retryCount','_scheduleSaving','onPointerEnter$','getTypeOfUnitAdded$','assign','UNRECOGNIZED','handleDeleteRangeMoveUp','session','registerDependencies','font','_syncEditingCollabCursor','onlineStatusIcon','selection','awaitingChangeset','_sheetTransformSelectionsService','getAllMembers','SEND_CHANGESET_TIMEOUT','ITelemetryService','socket$','m1Prime','csShouldRetryEvent','COMPRESS_MUTATION_SEND','useCallback','assignAColorForMemberID','_collaborationTimeoutTimer','words','finalize','_docSyncEditingCollabCursorService','listCollaborators','addEventListener','byteLength','shareReplay','message$','NOT_COLLAB','RemoveRowCommandId','propertyIsEnumerable','YUUMI_URL_COL_OUT_OF_RANGE','onTransformSelections','onRemoteChangeset','sessionStatus$','ranges','dispose','CollaborationSocketService','getCurrentRevOfUnit','displayName','updateCursorEvent','#fff','commentUpdateEvent','roomMembers$','_HTTPService','DocStateChangeManagerService','isTransformChangesetsSuccess','_localeService','/universer-api/authz','Plugin','_onRemoteChangeset','clamp','unitId','onRemoteRetry','onTransformRemoteChangesetByIMECache','startRow','_decreaseWaiting','_hideTimer','takeUntil','handleMoveRange','_onCombEvent','handleDeleteRangeMoveLeft','WebSocketService','ERROR_EXCEED_SIZE','[DataLoaderController]','roles','_showConflictNotification','hasher','_handleJoinEvent','_scene','action','EvpKDF','routeKey','send','SnapshotServerOverHTTPService','BuiltInUIPart','_sender','_docTransformStateCacheService','subUnitId','listRoles','connection\x20error','offline','image/jpg','_undoRedoService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','loadSheet','mode','/resources','OFFLINE','reset','randomBytes','closePath','duration','_color','onCommentUpdate','_checkMissing','compose','createElement','event$','loadOfflineData','PERMISSION_REJ','ivSize','_registerRenderDependencies','sequenceExecute','transform','_toggleOnline','_initStatusListener','off-line-single','tag','HttpExport','defineProperty','_scheduleTimestamp','Base64','padding','Subject','create','CONFLICT','has','icon','take','m2Prime','joinEvent','CipherParams','[PendingState]:\x20received\x20rejection.','getVpScrollXYInfoByPosToVp','LICENSE_MAX_UNITS_EXCEEDED','_instanceService','unknown','ReplaySubject','#FFF','userID','_createHmacHelper','CHANGESET_REJ','registerBeforeClose','getParam','_render','_queuedRemoteChangesets','_injector','_onConnectionOpen','UniverNetworkPlugin','doc.mutation.rich-text-editing','_assignedColors','toString','LOGIN_URL_KEY','compute','attrs','UPDATE_CURSOR','post','_key','_init','HEADER_MENU','_getLoginPath','_getCtorByUniverType','onStarting','toggleOffline','SUCCUSS','reduce','_tryEnsureSocket','sheets','currentColor','update','prototype','permission.content','getCurrentUser','_collaborationSessionService','executeCommand','COLORS','collabStatus.conflict','UNKNOWN_CMD','xlink:href','isPermissionRej','newValue','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','registerRenderModule','80WwchIA','splice','Hasher','1120QwAIEQ','_transformRemoteChangesetByIMECache','transformIMECache','infoRsp','members','OTHER_CLIENTS_EDITING','eventID','setActiveRange','HTTPRequest','IUIPartsService','_onRemoteACK','?size=','max','isInternalEditorID','sendChangesetTimeout','unshift','findNodePositionByCharIndex','HEARTBEAT_TIMEOUT_KEY','univer-pro.collaboration-client-socket-service','_docTransformSelectionsService','_scheduleCollaborationTimeoutTimer','SetSelectionsOperation','body','transformMutation','HmacSHA1','next','encode','SheetCollaborationEntity','fill','stringify','_getScale','getImage','exhaustSavingTask','getOwnPropertySymbols','USERS_ENTER','_backgroundColor','_getAPIPrefixPath','_shouldReportTelemetry','_roomMembers','switchMap','_updateState','state','StreamCipher','_getSignURL','POST','find','APPLY_PERMISSION_DENIED','DocSelectionManagerService','status$','_clearTimeoutTimer','subscribe','ThresholdInterceptorFactory','interceptor','_docSkeleton','_resendWithTimeout','\x20in\x20_schedule.','AUTHZ_URL_KEY','_collaborationPaused','headers','Error\x20on\x20receiving\x20event','ISnapshotServerService','_entityInit$','IUniverInstanceService','_parse','evenodd','changesets','_getAPIPrefix','_setupBeforeClosingHandler','getActiveRange','_notificationService','range','init','loadDoc','buffer','ILogService','c1Prime','_state$','slice','_socketService','UniverCollaborationClientPlugin','\x20-\x20','registerComponent','_transformHistoryAndStateStack','@univerjs/core','_unitID','LIVESHARE_NEW_HOST','_createInitialStateImpl','_joinRoom','univerjs-icon\x20univerjs-icon-','[PendingState]:\x20received\x20acknowledgement.','collaborators','with','split','createCollaborator','HttpImport','_change$','createDecryptor','getRandomValues','onRendered','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','url(#$1','parseProtocolChangeset','_transformRemoteChangesetByStateCache','collabStatus.synced','abs','_draw','SetTextSelectionsOperation','_resendTimeout','_lockTransition','ref','LIVESHARE_OPERATION','current','_onRecvEvent','_telemetryService','WordArray','_scheduleHeartbeat','fillStyle','_onCursorDelete','_handleHover','COLLAB_SUBMIT_CHANGESET_URL','liveShareOperation','closeSession','_selfUnitIDs','black','COMPLETION_FINISHED','_replaceFileID','_handleEvent','workbook','authzUrl','randomUUID','updatePermissionPoint','_prevBlock','createIdentifier','permission.title','_loadSheet','_socketMessageSubscription','CommandType','saveChangeset','connectInjector','getColor','?url=','sheetID','onTransformChange$','_updateLocalCache','error$','_type','getSkeleton','rev','/object','deserializeRangeWithSheet','_range','_snapshotServerService','serializeRangeWithSheet','ILocalStorageService','text','triggerDblclick','/fetchmissing?from=','50019wrzZZX','children','_memberService','...','path','signUrlServerUrl','data','handleIRemoveCol','session.will-retry','rgba(255,\x20255,\x20255,\x200.01)','deleteCollaborator','RECV','DataLoaderController','blue400','_onConnectionFailed','_substituteRedoStack','_clearScheduledTask','disableLocalCache','UniverIcon','DOC_RANGE_TYPE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_timeoutTimer','_sessionStatus$','onload','enableLocalCache','univer-online-status-icon','disposeWithMe','_docTransformIMECacheService','onSendChangeset','_textBubble','updatePermissionObjEvent','_acknowledgedAwaitingChangeset','debounce','toDisposable','iterations','_messageService','fetchMissingChangesets','_updateStatus','verdancy600','_createHelper','/unit/','onMissedChangesetFetched','floor','allowed','href','telemetry\x20info\x20is\x20not\x20initialized','saveImage','UniverCollaborationPlugin','CompressMutationService','LICENSE_IMPORT_SIZE_EXCEEDED','Inject','setWaitCount','close','/universer-api/oidc/authpage','setShapeProps','_data','_transformService','react.fragment','_nRounds','image/bmp','_eventUnsubscribe','entries','cfg','CollaborationSessionService','joinRsp','_waitCount','debug','colorChannel1','_substituteUndoStack','_getCurrentRevision','[CollaborationEntity]','_stopTelemetryCollaborationNewChangeset','DEFAULT_FILE_NAME','SnapshotService','USERS_LEAVE','ColorKit','_waitForHeartbeatResponse','JOINING'];_0x47dd=function(){return _0x254fb3;};return _0x47dd();}function At(_0x5af0ba){return'unit-cache-'+_0x5af0ba;}var bi=Object[_0x54516d(0x461)],Ti=Object[_0x54516d(0x363)],Ri=(_0x402b22,_0x41aca8,_0x43eb07,_0x5f2205)=>{const _0x16ff40=_0x54516d;for(var _0x511144=_0x5f2205>0x1?void 0x0:_0x5f2205?Ti(_0x41aca8,_0x43eb07):_0x41aca8,_0x6ff59e=_0x402b22[_0x16ff40(0x5e8)]-0x1,_0x821b48;_0x6ff59e>=0x0;_0x6ff59e--)(_0x821b48=_0x402b22[_0x6ff59e])&&(_0x511144=(_0x5f2205?_0x821b48(_0x41aca8,_0x43eb07,_0x511144):_0x821b48(_0x511144))||_0x511144);return _0x5f2205&&_0x511144&&bi(_0x41aca8,_0x43eb07,_0x511144),_0x511144;},Qe=(_0x2c1096,_0xf896fd)=>(_0x5a920c,_0x5c0a6d)=>_0xf896fd(_0x5a920c,_0x5c0a6d,_0x2c1096);function yi(_0x6ef84d){const _0x393e3c=_0x54516d,{unitID:_0x2acccc,mutations:_0x1d57b6}=_0x6ef84d;return{'unitId':_0x2acccc,'subUnitId':_0x1d57b6[0x0][_0x393e3c(0x601)][_0x393e3c(0x441)]};}let ke=class{constructor(_0x3d3cfc,_0x3a414e,_0xbe94cc){const _0x15508f=_0x54516d;this[_0x15508f(0x47c)]=_0x3d3cfc,this[_0x15508f(0x579)]=_0x3a414e,this[_0x15508f(0x471)]=_0xbe94cc;}[_0x54516d(0x2bc)](_0x1415ef){const _0x143ac6=_0x54516d;var _0x54ac57,_0x1b69b9,_0x4c77de,_0x51ef61;const _0x45121e=this['_injector'][_0x143ac6(0x3b1)](k[_0x143ac6(0x398)]),{unitId:_0x42dccc,subUnitId:_0xda7310}=yi(_0x1415ef),_0xdd77ac=_0x45121e[_0x143ac6(0x2fa)](_0x42dccc)[_0x143ac6(0x5dc)](),_0x298fbc=(_0x1b69b9=(_0x54ac57=this['_instanceService'][_0x143ac6(0x25b)](_0x42dccc))==null?void 0x0:_0x54ac57[_0x143ac6(0x393)]())==null?void 0x0:_0x1b69b9[_0x143ac6(0x297)]();if(_0xdd77ac[_0x143ac6(0x5e8)]===0x0||!_0x42dccc||!_0xda7310)return;const _0x55e8a2=[{'id':k[_0x143ac6(0x4b9)]['id'],'params':{'unitId':_0x42dccc,'subUnitId':_0x298fbc,'selections':a[_0x143ac6(0x3eb)][_0x143ac6(0x330)](_0xdd77ac)}}],_0x3215f3=this[_0x143ac6(0x579)][_0x143ac6(0x1cd)](_0x1415ef,_0x55e8a2);if(!S['isTransformMutationsWithChangesetSuccess'](_0x3215f3))throw _0x3215f3[_0x143ac6(0x29f)];const _0x261f2a=(_0x51ef61=(_0x4c77de=_0x3215f3['m2Prime'][0x0])==null?void 0x0:_0x4c77de['params'])==null?void 0x0:_0x51ef61[_0x143ac6(0x2ae)];if(Array[_0x143ac6(0x5a7)](_0x261f2a)&&_0x261f2a[_0x143ac6(0x5e8)]){if(_0x261f2a['length']===_0x55e8a2[0x0][_0x143ac6(0x601)][_0x143ac6(0x2ae)][_0x143ac6(0x5e8)]&&_0x261f2a[_0x143ac6(0x392)]((_0x1eb2e9,_0xd08515)=>a[_0x143ac6(0x1d3)][_0x143ac6(0x391)](_0x1eb2e9[_0x143ac6(0x4ea)],_0x55e8a2[0x0][_0x143ac6(0x601)]['selections'][_0xd08515][_0x143ac6(0x4ea)])))return;this[_0x143ac6(0x47c)]['get'](a[_0x143ac6(0x18a)])[_0x143ac6(0x498)](k[_0x143ac6(0x4b9)]['id'],{'unitId':_0x42dccc,'subUnitId':_0x298fbc,'selections':_0x261f2a});}}};ke=Ri([Qe(0x0,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),Qe(0x1,S[_0x54516d(0x5bd)]),Qe(0x2,a[_0x54516d(0x4e2)])],ke);const qe=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var un=(_0x4fdd54=>(_0x4fdd54[_0x4fdd54[_0x54516d(0x3de)]=0x0]=_0x54516d(0x3de),_0x4fdd54[_0x4fdd54[_0x54516d(0x4a9)]=0x1]=_0x54516d(0x4a9),_0x4fdd54))(un||{});const Nt=0x7530,Lt=_0x54516d(0x17a);class Oi extends a[_0x54516d(0x25e)]{constructor(){const _0x280263=_0x54516d;super(),I(this,_0x280263(0x1d5),a[_0x280263(0x3eb)]['generateRandomId']()),I(this,_0x280263(0x51e),new Set()),I(this,_0x280263(0x5d6),new Map()),I(this,_0x280263(0x2d3),null),I(this,_0x280263(0x3d2),new Map()),I(this,_0x280263(0x3a2),new Map()),this['_init']();}['dispose'](){const _0x22a1e5=_0x54516d;super['dispose'](),this[_0x22a1e5(0x3d2)][_0x22a1e5(0x1ba)]((_0x51fd15,_0x59cca9)=>this[_0x22a1e5(0x28b)](_0x59cca9)),this[_0x22a1e5(0x2d3)]&&window[_0x22a1e5(0x621)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x3788f2){const _0x5ca083=_0x54516d;return this['_ensureSubject'](_0x3788f2)['pipe'](A[_0x5ca083(0x1fe)]());}['editingUnit'](_0x33a080){const _0x564b70=_0x54516d;this['_selfUnitIDs'][_0x564b70(0x5c0)]===0x0&&this[_0x564b70(0x517)](),this[_0x564b70(0x51e)][_0x564b70(0x2ba)](_0x33a080),this['_send']({'type':0x0,'memberID':this[_0x564b70(0x1d5)],'unitIDs':[_0x33a080],'isForwarded':!0x1});}[_0x54516d(0x5cc)](_0x4eb2be){const _0x32973a=_0x54516d;this[_0x32973a(0x51e)]['delete'](_0x4eb2be),this[_0x32973a(0x51e)]['size']===0x0&&this[_0x32973a(0x2d3)]&&window['clearInterval'](this[_0x32973a(0x2d3)]);}[_0x54516d(0x488)](){const _0x309394=_0x54516d;this['disposeWithMe'](a[_0x309394(0x562)](A[_0x309394(0x362)](window,_0x309394(0x38a))[_0x309394(0x4d6)](_0x62c7fc=>{const _0x5956fc=_0x309394;if(_0x62c7fc[_0x5956fc(0x5f3)]!==Lt||!_0x62c7fc[_0x5956fc(0x49e)])return;const _0x54592a=JSON[_0x5956fc(0x2a0)](_0x62c7fc[_0x5956fc(0x49e)]);this[_0x5956fc(0x522)](_0x54592a);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x309394(0x1d5)],'unitIDs':Array[_0x309394(0x36a)](this[_0x309394(0x51e)])}));}[_0x54516d(0x522)](_0x58f8cf){const _0x5fa78e=_0x54516d;switch(_0x58f8cf[_0x5fa78e(0x242)]){case 0x0:this[_0x5fa78e(0x437)](_0x58f8cf);break;case 0x1:this['_handleLeaveEvent'](_0x58f8cf);break;case 0x2:this[_0x5fa78e(0x219)](_0x58f8cf);break;}}[_0x54516d(0x437)](_0x36f5ea){const _0x50b858=_0x54516d,{unitIDs:_0x55efc0,memberID:_0x3f31b1,isForwarded:_0x542d75}=_0x36f5ea;_0x55efc0[_0x50b858(0x1ba)](_0x2c5bb3=>{const _0x85fafd=_0x50b858;if(!_0x542d75&&this[_0x85fafd(0x5d6)][_0x85fafd(0x468)](_0x2c5bb3)&&this[_0x85fafd(0x218)](_0x2c5bb3)['next'](0x1),!this[_0x85fafd(0x5d6)][_0x85fafd(0x468)](_0x2c5bb3)||!this['_unitOnClients'][_0x85fafd(0x3b1)](_0x2c5bb3)[_0x85fafd(0x468)](_0x3f31b1)){const _0x536343=this['_unitOnClients'][_0x85fafd(0x3b1)](_0x2c5bb3)||new Set();_0x536343[_0x85fafd(0x2ba)](_0x3f31b1),this[_0x85fafd(0x5d6)]['set'](_0x2c5bb3,_0x536343),this[_0x85fafd(0x5d3)](_0x3f31b1);}}),_0x542d75||this[_0x50b858(0x314)]({'type':0x0,'memberID':this[_0x50b858(0x1d5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x54516d(0x5d3)](_0x24d5f8){const _0x4bac8c=_0x54516d;this[_0x4bac8c(0x28b)](_0x24d5f8);const _0x2b111f=window[_0x4bac8c(0x1ae)](()=>{const _0x2fbfb2=_0x4bac8c;this[_0x2fbfb2(0x5d6)][_0x2fbfb2(0x1ba)](_0x14b7a9=>{const _0xca1aaa=_0x2fbfb2;_0x14b7a9[_0xca1aaa(0x1c4)](_0x24d5f8);});},Nt*0x2);this['_clearOtherTimers'][_0x4bac8c(0x36d)](_0x24d5f8,_0x2b111f);}[_0x54516d(0x28b)](_0x4f9aea){const _0x20996f=_0x54516d;if(this[_0x20996f(0x3d2)][_0x20996f(0x468)](_0x4f9aea)){const _0x123afa=this[_0x20996f(0x3d2)]['get'](_0x4f9aea);_0x123afa&&window[_0x20996f(0x289)](_0x123afa),this[_0x20996f(0x3d2)][_0x20996f(0x36d)](_0x4f9aea,null);}}[_0x54516d(0x1dc)](_0x51a343){const _0x515ea4=_0x54516d,{memberID:_0x45edeb,unitIDs:_0x2178a6}=_0x51a343;_0x2178a6[_0x515ea4(0x1ba)](_0x2d7979=>{const _0xd4ad48=_0x515ea4;var _0x485662;const _0x2e9d3c=this[_0xd4ad48(0x5d6)][_0xd4ad48(0x3b1)](_0x2d7979);_0x2e9d3c&&(_0x2e9d3c[_0xd4ad48(0x1c4)](_0x45edeb),(_0x485662=this['_ensureSubject'](_0x2d7979))==null||_0x485662[_0xd4ad48(0x4bd)](_0x2e9d3c[_0xd4ad48(0x5c0)]===0x0?0x0:0x1));}),this[_0x515ea4(0x28b)](_0x45edeb);}[_0x54516d(0x219)](_0xddf58b){const _0x4d0587=_0x54516d;this[_0x4d0587(0x5d3)](_0xddf58b['memberID']);}[_0x54516d(0x314)](_0x14eb3c){const _0x16fb66=_0x54516d;localStorage[_0x16fb66(0x399)](Lt,JSON[_0x16fb66(0x4c1)](_0x14eb3c));}[_0x54516d(0x517)](){const _0x210bca=_0x54516d;this[_0x210bca(0x2d3)]=window[_0x210bca(0x2b6)](()=>{const _0x1ca3dd=_0x210bca;this[_0x1ca3dd(0x314)]({'type':0x2,'memberID':this[_0x1ca3dd(0x1d5)]});},Nt);}[_0x54516d(0x218)](_0x54d4ee){const _0x59642b=_0x54516d;return this[_0x59642b(0x3a2)][_0x59642b(0x468)](_0x54d4ee)||this[_0x59642b(0x3a2)]['set'](_0x54d4ee,new A[(_0x59642b(0x598))](0x0)),this[_0x59642b(0x3a2)]['get'](_0x54d4ee);}}var Di=Object[_0x54516d(0x461)],wi=Object[_0x54516d(0x363)],Pi=(_0x643ccd,_0x30be36,_0x324b07,_0x54565b)=>{const _0x136898=_0x54516d;for(var _0x1b4133=_0x54565b>0x1?void 0x0:_0x54565b?wi(_0x30be36,_0x324b07):_0x30be36,_0x48ca37=_0x643ccd[_0x136898(0x5e8)]-0x1,_0x416c4a;_0x48ca37>=0x0;_0x48ca37--)(_0x416c4a=_0x643ccd[_0x48ca37])&&(_0x1b4133=(_0x54565b?_0x416c4a(_0x30be36,_0x324b07,_0x1b4133):_0x416c4a(_0x1b4133))||_0x1b4133);return _0x54565b&&_0x1b4133&&Di(_0x30be36,_0x324b07,_0x1b4133),_0x1b4133;},et=(_0xe8e353,_0x1c6d6b)=>(_0x5804fb,_0x1b22e1)=>_0x1c6d6b(_0x5804fb,_0x1b22e1,_0xe8e353);let We=class{constructor(_0x201d28,_0xb958b2,_0x2ea565){const _0x3b3097=_0x54516d;this['_injector']=_0x201d28,this[_0x3b3097(0x579)]=_0xb958b2,this[_0x3b3097(0x2df)]=_0x2ea565;}['transformStateCache'](_0x48b824){const _0x155028=_0x54516d;this[_0x155028(0x4f6)](_0x48b824);}[_0x54516d(0x5e6)](_0x43c59b){const _0x21e47e=_0x54516d,{unitID:_0x29803e}=_0x43c59b,{collaboration:_0x31a22f}=this[_0x21e47e(0x2df)]['getStateCache'](_0x29803e);if(_0x31a22f[_0x21e47e(0x5e8)]===0x0)return _0x43c59b;let _0x39b7d7=a['Tools'][_0x21e47e(0x330)](_0x43c59b[_0x21e47e(0x1f3)][0x0]);for(let _0x35f4e8=0x0;_0x35f4e8<_0x31a22f[_0x21e47e(0x5e8)];_0x35f4e8++){const _0x1cd873={'id':_0x21e47e(0x47f),'params':{'unitId':_0x31a22f[_0x35f4e8][_0x21e47e(0x427)],..._0x31a22f[_0x35f4e8][_0x21e47e(0x22c)]}},_0x1d241c=this[_0x21e47e(0x579)][_0x21e47e(0x4bb)](_0x39b7d7,_0x1cd873,!0x1);if(S[_0x21e47e(0x311)](_0x1d241c))throw _0x1d241c[_0x21e47e(0x29f)];_0x39b7d7=_0x1d241c[_0x21e47e(0x401)];}return{...a[_0x21e47e(0x3eb)][_0x21e47e(0x330)](_0x43c59b),'mutations':[_0x39b7d7]};}['_transformHistoryAndStateStack'](_0x6fa5cc){const _0x10c549=_0x54516d,{unitID:_0x3e9116}=_0x6fa5cc,{history:_0x5be158,collaboration:_0x57efd3}=this[_0x10c549(0x2df)]['getStateCache'](_0x3e9116);if(_0x5be158['length']===0x0&&_0x57efd3[_0x10c549(0x5e8)]===0x0)return;const _0x1083f3=[],_0x30bcad=[];let _0x27df90=a[_0x10c549(0x3eb)]['deepClone'](_0x6fa5cc['mutations'][0x0]),_0x38646f=a[_0x10c549(0x3eb)]['deepClone'](_0x6fa5cc[_0x10c549(0x1f3)][0x0]);for(let _0x333fd4=_0x5be158['length']-0x1;_0x333fd4>=0x0;_0x333fd4--){const _0xbba0fa={'id':_0x10c549(0x47f),'params':{'unitId':_0x5be158[_0x333fd4][_0x10c549(0x427)],..._0x5be158[_0x333fd4][_0x10c549(0x3db)]}},_0x5c403e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5be158[_0x333fd4][_0x10c549(0x427)],..._0x5be158[_0x333fd4]['redoState']}},_0x4de10a=this[_0x10c549(0x579)]['transformMutation'](_0x27df90,_0xbba0fa,!0x1),_0x410706=this['_transformService'][_0x10c549(0x4bb)](_0x38646f,_0x5c403e,!0x1);if(S['isTransformMutationFailure'](_0x4de10a))throw _0x4de10a['error'];if(S[_0x10c549(0x311)](_0x410706))throw _0x410706['error'];_0x1083f3[_0x10c549(0x4b3)]({..._0x5be158[_0x333fd4],'undoState':_0x4de10a[_0x10c549(0x46b)][_0x10c549(0x601)],'redoState':_0x410706[_0x10c549(0x46b)][_0x10c549(0x601)]}),_0x27df90=_0x4de10a[_0x10c549(0x401)],_0x38646f=_0x410706[_0x10c549(0x401)];}_0x27df90=a[_0x10c549(0x3eb)][_0x10c549(0x330)](_0x6fa5cc[_0x10c549(0x1f3)][0x0]),_0x38646f=a[_0x10c549(0x3eb)]['deepClone'](_0x6fa5cc[_0x10c549(0x1f3)][0x0]);for(let _0x4402d2=_0x57efd3[_0x10c549(0x5e8)]-0x1;_0x4402d2>=0x0;_0x4402d2--){const _0x25d13e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57efd3[_0x4402d2][_0x10c549(0x427)],..._0x57efd3[_0x4402d2]['undoState']}},_0x59212f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57efd3[_0x4402d2][_0x10c549(0x427)],..._0x57efd3[_0x4402d2][_0x10c549(0x22c)]}},_0x4ce841=this[_0x10c549(0x579)]['transformMutation'](_0x27df90,_0x25d13e,!0x1),_0xc6d1d9=this[_0x10c549(0x579)][_0x10c549(0x4bb)](_0x38646f,_0x59212f,!0x1);if(S[_0x10c549(0x311)](_0x4ce841))throw _0x4ce841['error'];if(S[_0x10c549(0x311)](_0xc6d1d9))throw _0xc6d1d9[_0x10c549(0x29f)];_0x30bcad[_0x10c549(0x4b3)]({..._0x57efd3[_0x4402d2],'undoState':_0x4ce841[_0x10c549(0x46b)][_0x10c549(0x601)],'redoState':_0xc6d1d9[_0x10c549(0x46b)][_0x10c549(0x601)]}),_0x27df90=_0x4ce841[_0x10c549(0x401)],_0x38646f=_0xc6d1d9[_0x10c549(0x401)];}this[_0x10c549(0x2df)]['setStateCache'](_0x3e9116,{'history':_0x1083f3,'collaboration':_0x30bcad});}};We=Pi([et(0x0,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),et(0x1,S[_0x54516d(0x5bd)]),et(0x2,a[_0x54516d(0x573)](J['DocStateChangeManagerService']))],We);function dn(_0x4ef499){const _0x5923e3=_0x54516d;let _0x6b6b2c='';for(const _0x55fcd8 of _0x4ef499){const {startOffset:_0x2bbcf6,endOffset:_0x180f66,isActive:_0x21b82a,rangeType:_0x55c497,segmentId:_0x34457f,segmentPage:_0x1b39ec}=_0x55fcd8;_0x6b6b2c[_0x5923e3(0x5e8)]&&(_0x6b6b2c+=','),_0x6b6b2c+=_0x2bbcf6+':'+_0x180f66+':'+(_0x21b82a?'1':'0')+':'+_0x55c497+':'+_0x34457f+':'+_0x1b39ec;}return _0x6b6b2c;}function Ui(_0x45c80f){const _0x3707f3=_0x54516d,_0x5278db=_0x45c80f[_0x3707f3(0x500)](','),_0x572b42=[];for(const _0x4f78f8 of _0x5278db){const [_0x4a5d55,_0x42d6f6,_0x56c196,_0x5d82cb,_0x5e28ca,_0x3dc229]=_0x4f78f8[_0x3707f3(0x500)](':');_0x572b42[_0x3707f3(0x26e)]({'startOffset':Number(_0x4a5d55),'endOffset':Number(_0x42d6f6),'collapsed':_0x4a5d55===_0x42d6f6,'isActive':_0x56c196==='1','rangeType':_0x5d82cb===a[_0x3707f3(0x554)][_0x3707f3(0x1ef)]?a[_0x3707f3(0x554)]['TEXT']:a[_0x3707f3(0x554)]['RECT'],'segmentId':typeof _0x5e28ca=='string'?String(_0x5e28ca):'','segmentPage':Number(_0x3dc229!=null?_0x3dc229:-0x1)});}return _0x572b42['some'](_0x3cfdd0=>_0x3cfdd0[_0x3707f3(0x5e5)])||(_0x572b42[0x0][_0x3707f3(0x5e5)]=!0x0),_0x572b42;}class Rt extends a[_0x54516d(0x1d6)]{constructor(){const _0x2d06c9=_0x54516d;super(...arguments),I(this,_0x2d06c9(0x294),new A[(_0x2d06c9(0x598))](null)),I(this,_0x2d06c9(0x2ad),this[_0x2d06c9(0x294)]['asObservable']());}[_0x54516d(0x603)](_0x80cbe){const _0x32f2a4=_0x54516d,{unitID:_0x3e519c,memberID:_0x43dd58,textRanges:_0x32539c}=_0x80cbe,_0x49a336=dn(_0x32539c);if(_0x49a336==='')return;const _0x2cf5ec={'unitID':_0x3e519c,'memberID':_0x43dd58,'selection':_0x49a336};this[_0x32f2a4(0x294)]['next'](_0x2cf5ec);}}var Mi=Object['defineProperty'],Ai=Object[_0x54516d(0x363)],Ni=(_0xd22645,_0x185620,_0x3addc5,_0x5d54b4)=>{const _0x15062c=_0x54516d;for(var _0x25a87b=_0x5d54b4>0x1?void 0x0:_0x5d54b4?Ai(_0x185620,_0x3addc5):_0x185620,_0x243732=_0xd22645[_0x15062c(0x5e8)]-0x1,_0x48f6ce;_0x243732>=0x0;_0x243732--)(_0x48f6ce=_0xd22645[_0x243732])&&(_0x25a87b=(_0x5d54b4?_0x48f6ce(_0x185620,_0x3addc5,_0x25a87b):_0x48f6ce(_0x25a87b))||_0x25a87b);return _0x5d54b4&&_0x25a87b&&Mi(_0x185620,_0x3addc5,_0x25a87b),_0x25a87b;},xt=(_0x3bacb7,_0x287186)=>(_0x30b129,_0x375e31)=>_0x287186(_0x30b129,_0x375e31,_0x3bacb7);let Fe=class{constructor(_0x21c48a,_0x1438a0){const _0x300e05=_0x54516d;this[_0x300e05(0x47c)]=_0x21c48a,this[_0x300e05(0x579)]=_0x1438a0;}['transformSelections'](_0x3e9796){const _0x13d773=_0x54516d;var _0x592369;const _0x2ebfbd=this[_0x13d773(0x47c)][_0x13d773(0x3b1)](ye['DocSelectionManagerService']),_0x4c58e0=(_0x592369=_0x2ebfbd[_0x13d773(0x27e)]())!=null?_0x592369:[];if(_0x4c58e0['length']===0x0)return;const _0x2b3651=_0x3e9796['unitID'],_0x3bbc6f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b3651,'actions':null,'textRanges':_0x4c58e0}}],_0x3a7654=this[_0x13d773(0x579)][_0x13d773(0x1cd)](_0x3e9796,_0x3bbc6f);if(!S[_0x13d773(0x5da)](_0x3a7654))throw _0x3a7654[_0x13d773(0x29f)];const _0x18659f=_0x3a7654['m2Prime'][0x0][_0x13d773(0x601)][_0x13d773(0x329)];Array[_0x13d773(0x5a7)](_0x18659f)&&_0x18659f[_0x13d773(0x5e8)]&&_0x2ebfbd[_0x13d773(0x334)](_0x18659f,{'unitId':_0x2b3651,'subUnitId':_0x2b3651},!0x1);}};Fe=Ni([xt(0x0,a['Inject'](a[_0x54516d(0x33a)])),xt(0x1,S[_0x54516d(0x5bd)])],Fe);const Li=new Set([k['InsertSheetMutation']['id']]);function jt(_0x4574fb,_0x5aa872,_0x2b812d,_0x184611,_0x52508d){const _0x172f3a=_0x54516d;var _0x16f9d7,_0x851f0f,_0x14ddd0,_0x1ad0a0;const _0x41d603=[];for(const _0x4607d2 of _0x4574fb)if(Li['has'](_0x4607d2['id'])){if(_0x41d603[_0x172f3a(0x5e8)]>0x0)break;_0x41d603[_0x172f3a(0x26e)](_0x4607d2);break;}else _0x41d603[_0x172f3a(0x26e)](_0x4607d2);const _0x1b94d8=(_0x851f0f=(_0x16f9d7=_0x52508d[_0x172f3a(0x496)]())==null?void 0x0:_0x16f9d7[_0x172f3a(0x475)])!=null?_0x851f0f:_0x172f3a(0x472),_0x2ae54e=(_0x1ad0a0=(_0x14ddd0=_0x52508d[_0x172f3a(0x496)]())==null?void 0x0:_0x14ddd0[_0x172f3a(0x24b)])!=null?_0x1ad0a0:'unknown';return{'changeset':{'unitID':_0x5aa872,'type':S[_0x172f3a(0x1e9)](_0x2b812d[_0x172f3a(0x5c9)](_0x5aa872)),'baseRev':_0x184611[_0x172f3a(0x419)](_0x5aa872),'revision':0x0,'userID':_0x1b94d8,'memberID':_0x2ae54e,'mutations':_0x41d603},'pendingMutations':_0x4574fb['slice'](_0x41d603[_0x172f3a(0x5e8)])};}function xi(_0x5241ec,_0x40b83e,_0x5afd7a,_0x118058,_0x2e0d11){const _0x33a83e=_0x54516d;var _0x56758f,_0x22abd4,_0x175e91,_0x17ae3a;const _0x3e0403=[_0x5241ec[_0x33a83e(0x48f)]((_0x39e5c7,_0x3a412b)=>{const _0x1c9060=_0x33a83e;var _0xc0ff53;const {id:_0x43ac9d}=_0x39e5c7,{id:_0x1eff9a,type:_0x3cdc46}=_0x3a412b,_0x4893f7=(_0xc0ff53=_0x39e5c7['params'])!=null?_0xc0ff53:{'actions':null},_0x3359f8=_0x3a412b[_0x1c9060(0x601)];if(_0x43ac9d&&_0x43ac9d!==_0x1eff9a)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x43ac9d+_0x1c9060(0x4f4)+_0x1eff9a+'.');return{..._0x39e5c7,'id':_0x1eff9a,'type':_0x3cdc46,'params':{'unitId':_0x3359f8['unitId'],'textRanges':_0x3359f8[_0x1c9060(0x329)],'actions':a[_0x1c9060(0x255)][_0x1c9060(0x453)](_0x4893f7['actions'],_0x3359f8[_0x1c9060(0x35d)])}};},{})],_0x519d86=(_0x22abd4=(_0x56758f=_0x2e0d11[_0x33a83e(0x496)]())==null?void 0x0:_0x56758f['userID'])!=null?_0x22abd4:_0x33a83e(0x472),_0x30691a=(_0x17ae3a=(_0x175e91=_0x2e0d11['getCurrentUser']())==null?void 0x0:_0x175e91['memberID'])!=null?_0x17ae3a:'unknown';return{'changeset':{'unitID':_0x40b83e,'type':S[_0x33a83e(0x1e9)](_0x5afd7a['getUnitType'](_0x40b83e)),'baseRev':_0x118058[_0x33a83e(0x419)](_0x40b83e),'revision':0x0,'userID':_0x519d86,'memberID':_0x30691a,'mutations':_0x3e0403},'pendingMutations':[]};}function fn(_0xea416d,_0x35321c){const _0x5434c6=_0x54516d,_0x3427b3=new A[(_0x5434c6(0x473))](0x1);return setTimeout(()=>_0x3427b3[_0x5434c6(0x4bd)](_0x35321c),_0xea416d),_0x3427b3['asObservable']()[_0x5434c6(0x5f2)](A[_0x5434c6(0x46a)](0x1));}const ji={'id':k[_0x54516d(0x3a5)]['id'],'type':a[_0x54516d(0x52c)][_0x54516d(0x5f9)],'params':{}};var $i=Object[_0x54516d(0x461)],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x192435,_0x5857fc,_0x57079b,_0x3d618e)=>{const _0x360815=_0x54516d;for(var _0x51055a=_0x3d618e>0x1?void 0x0:_0x3d618e?Hi(_0x5857fc,_0x57079b):_0x5857fc,_0x46cf6c=_0x192435[_0x360815(0x5e8)]-0x1,_0x453e6f;_0x46cf6c>=0x0;_0x46cf6c--)(_0x453e6f=_0x192435[_0x46cf6c])&&(_0x51055a=(_0x3d618e?_0x453e6f(_0x5857fc,_0x57079b,_0x51055a):_0x453e6f(_0x51055a))||_0x51055a);return _0x3d618e&&_0x51055a&&$i(_0x5857fc,_0x57079b,_0x51055a),_0x51055a;},N=(_0x1cf7c9,_0x4a5118)=>(_0x30e51a,_0x14e2bf)=>_0x4a5118(_0x30e51a,_0x14e2bf,_0x1cf7c9),q=(_0x8f97d7=>(_0x8f97d7['NOT_COLLAB']=_0x54516d(0x1a3),_0x8f97d7[_0x54516d(0x1fd)]=_0x54516d(0x360),_0x8f97d7[_0x54516d(0x1e4)]='pending',_0x8f97d7['AWAITING']=_0x54516d(0x266),_0x8f97d7[_0x54516d(0x396)]='awaiting_with_pending',_0x8f97d7['FETCH_MISS']=_0x54516d(0x25a),_0x8f97d7[_0x54516d(0x467)]=_0x54516d(0x5ff),_0x8f97d7[_0x54516d(0x44b)]=_0x54516d(0x444),_0x8f97d7))(q||{});const vn=0xea60;class Ce{constructor(_0xc61314,_0x4ee32b,_0x4178d2,_0x2ab749,_0xf51d4f,_0x36feb7,_0x64b9d0,_0x55f76f,_0x421e23){const _0x4217b5=_0x54516d;I(this,'_awaitingChangeset',null),I(this,'_pendingMutations',[]),(this[_0x4217b5(0x351)]=_0xc61314,this[_0x4217b5(0x242)]=_0x4ee32b,this[_0x4217b5(0x3d5)]=_0xf51d4f,this[_0x4217b5(0x1ca)]=_0x36feb7,this[_0x4217b5(0x446)]=_0x64b9d0,this['_revisionService']=_0x55f76f,this[_0x4217b5(0x3bf)]=_0x421e23,this[_0x4217b5(0x179)]=_0x4178d2,this[_0x4217b5(0x5f4)]=_0x2ab749);}['_checkMissing'](_0xcec956){const _0x35d94c=_0x54516d,_0x1d9846=this['_revisionService']['getCurrentRevOfUnit'](this[_0x35d94c(0x351)]);return _0xcec956[_0x35d94c(0x30e)]>_0x1d9846+0x1?(this[_0x35d94c(0x3d5)][_0x35d94c(0x172)]({'from':_0x1d9846,'to':_0xcec956[_0x35d94c(0x30e)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5cef80){const _0x859dad=_0x54516d;this[_0x859dad(0x446)]['transformUndoRedo'](this[_0x859dad(0x351)],_0x5cef80);}['_transformSelections'](_0x5b66ac){const _0x20d373=_0x54516d;var _0x64afa1,_0x55e67c;(_0x55e67c=(_0x64afa1=this[_0x20d373(0x3d5)])[_0x20d373(0x413)])==null||_0x55e67c['call'](_0x64afa1,_0x5b66ac);}['_transformIMECache'](_0x22c2ff){const _0x4344f5=_0x54516d;var _0x4ffe8b,_0x21d04e;return(_0x21d04e=(_0x4ffe8b=this[_0x4344f5(0x3d5)])[_0x4344f5(0x269)])==null?void 0x0:_0x21d04e['call'](_0x4ffe8b,_0x22c2ff);}[_0x54516d(0x24f)](_0x3d16b3){var _0xa72c64,_0x1c0ead;return(_0x1c0ead=(_0xa72c64=this['_handler'])['onTransformState'])==null?void 0x0:_0x1c0ead['call'](_0xa72c64,_0x3d16b3);}[_0x54516d(0x4a5)](_0x1b8554){const _0x123a13=_0x54516d;var _0x3f4068,_0x1ce7da,_0x42fbe6;return(_0x42fbe6=(_0x1ce7da=(_0x3f4068=this[_0x123a13(0x3d5)])[_0x123a13(0x429)])==null?void 0x0:_0x1ce7da[_0x123a13(0x2a5)](_0x3f4068,_0x1b8554))!=null?_0x42fbe6:_0x1b8554;}[_0x54516d(0x50a)](_0x4dc2eb){const _0x51dd5e=_0x54516d;var _0x56b886,_0x369c1d,_0x37341b;return(_0x37341b=(_0x369c1d=(_0x56b886=this[_0x51dd5e(0x3d5)])[_0x51dd5e(0x3cf)])==null?void 0x0:_0x369c1d['call'](_0x56b886,_0x4dc2eb))!=null?_0x37341b:_0x4dc2eb;}[_0x54516d(0x3f8)](_0x49d3cf){const _0x2ca9c2=_0x54516d;var _0x3ff622,_0x33197c;if(this[_0x2ca9c2(0x242)]===ie[_0x2ca9c2(0x60e)]){const {unitID:_0x2dcdbe,mutations:_0x4029a8,memberID:_0x2c8012}=_0x49d3cf,_0x4a4f8e=_0x4029a8[0x0][_0x2ca9c2(0x601)][_0x2ca9c2(0x329)];Array[_0x2ca9c2(0x5a7)](_0x4a4f8e)&&_0x4a4f8e[_0x2ca9c2(0x5e8)]>0x0&&((_0x33197c=(_0x3ff622=this[_0x2ca9c2(0x3d5)])['onSyncEditingCollabCursor'])==null||_0x33197c[_0x2ca9c2(0x2a5)](_0x3ff622,{'unitID':_0x2dcdbe,'memberID':_0x2c8012,'textRanges':_0x4a4f8e}));}}[_0x54516d(0x533)](){const _0x4a9984=_0x54516d;this[_0x4a9984(0x3bf)][_0x4a9984(0x1fb)](this[_0x4a9984(0x351)],this[_0x4a9984(0x242)],this[_0x4a9984(0x179)],this['_pendingMutations']);}[_0x54516d(0x586)](){const _0x4e3c07=_0x54516d;return this['_revisionService'][_0x4e3c07(0x419)](this[_0x4e3c07(0x351)]);}[_0x54516d(0x61e)](){const _0x5153ae=_0x54516d;this['_revisionService']['incrementRevOfUnit'](this[_0x5153ae(0x351)]);}[_0x54516d(0x2ac)](_0x474336){const _0x5736d2=_0x54516d;var _0x29ea86;let _0x5a6e8e=this[_0x5736d2(0x4a5)](_0x474336);_0x5a6e8e=this[_0x5736d2(0x50a)](_0x5a6e8e);const _0x431c1c=a[_0x5736d2(0x45a)](_0x5a6e8e[_0x5736d2(0x1f3)],this['_commandService'],{'fromCollab':!0x0});if(!_0x431c1c['result'])throw _0x431c1c[_0x5736d2(0x29f)]instanceof Error?_0x431c1c[_0x5736d2(0x29f)]:new Error((_0x29ea86=_0x431c1c['error'])!=null?_0x29ea86:_0x5736d2(0x5c7));this[_0x5736d2(0x216)](_0x5a6e8e),this[_0x5736d2(0x24f)](_0x5a6e8e),this['_transformUndoredo'](_0x474336),this[_0x5736d2(0x223)](_0x5a6e8e),this[_0x5736d2(0x3f8)](_0x5a6e8e),this[_0x5736d2(0x61e)]();}}let Oe=class extends Ce{constructor(_0xf18a3e,_0x380905,_0x191f28,_0x5bf33a,_0x3ec0c5,_0x30828f,_0x48d66c,_0x1de318,_0x384ff6,_0x161de7){const _0x4d9888=_0x54516d;super(_0xf18a3e,_0x380905,null,[],_0x191f28,_0x1de318,_0x48d66c,_0x5bf33a,_0x3ec0c5),I(this,'status',_0x4d9888(0x360)),(this[_0x4d9888(0x47c)]=_0x30828f,this['_logService']=_0x384ff6,this['_transformService']=_0x161de7);}[_0x54516d(0x1c8)](_0x399781){const _0x497d65=_0x54516d,_0x20709c=this['_injector'][_0x497d65(0x5d2)](ce,this['unitID'],this[_0x497d65(0x242)],[_0x399781],this[_0x497d65(0x3d5)]);return _0x20709c['_schedule'](),_0x20709c[_0x497d65(0x533)](),_0x20709c;}[_0x54516d(0x414)](_0xadcb9){const _0x8f2abb=_0x54516d;if(this[_0x8f2abb(0x452)](_0xadcb9))return this[_0x8f2abb(0x47c)][_0x8f2abb(0x5d2)](re,this[_0x8f2abb(0x351)],this[_0x8f2abb(0x242)],null,[],null,[_0xadcb9],this['_handler']);try{const _0x1b3926=this['_transformService'][_0x8f2abb(0x1cd)](_0xadcb9,[ji]);if(S[_0x8f2abb(0x5da)](_0x1b3926)){const {c1Prime:_0x27f492}=_0x1b3926;return this['_executeRemoteChangeset'](_0x27f492),this;}throw _0x1b3926[_0x8f2abb(0x29f)];}catch(_0x5cf690){return this[_0x8f2abb(0x241)]['error'](_0x5cf690),this[_0x8f2abb(0x3b6)](!0x1);}}[_0x54516d(0x3b6)](_0x6e5b4a){const _0x39bcef=_0x54516d;return this[_0x39bcef(0x47c)][_0x39bcef(0x5d2)](ve,this[_0x39bcef(0x351)],this['type'],null,[],this['_handler'],_0x6e5b4a);}[_0x54516d(0x3e1)](){const _0x570f7c=_0x54516d;throw new Error(_0x570f7c(0x385));}[_0x54516d(0x2c1)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x4ff3fc=_0x54516d;return this['_injector'][_0x4ff3fc(0x5d2)](me,this['unitID'],this[_0x4ff3fc(0x242)],null,[],this[_0x4ff3fc(0x3d5)]);}[_0x54516d(0x222)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x54516d(0x5d4)](){const _0x2d5c31=_0x54516d,_0x145561=this[_0x2d5c31(0x1cc)][_0x2d5c31(0x419)](this['unitID']);return this[_0x2d5c31(0x3d5)][_0x2d5c31(0x172)]({'from':_0x145561,'to':0x0}),this[_0x2d5c31(0x47c)][_0x2d5c31(0x5d2)](re,this['unitID'],this[_0x2d5c31(0x242)],null,[],null,[],this[_0x2d5c31(0x3d5)]);}};Oe=Ie([N(0x3,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),N(0x4,a[_0x54516d(0x573)](exports['LocalCacheService'])),N(0x5,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),N(0x6,a['IUndoRedoService']),N(0x7,a[_0x54516d(0x18a)]),N(0x8,a['ILogService']),N(0x9,S['ITransformService'])],Oe);let ce=class extends Ce{constructor(_0x34443f,_0x67d702,_0x20fda4,_0x49b06b,_0x7c3582,_0x8795d5,_0x33a08a,_0x376b66,_0x576bd0,_0x3f5234,_0x2bafca,_0x2593f7,_0x1044df,_0x250938){const _0x4ad3b1=_0x54516d;super(_0x34443f,_0x67d702,null,_0x20fda4,_0x49b06b,_0x3f5234,_0x250938,_0x8795d5,_0x33a08a),I(this,'status',_0x4ad3b1(0x18b)),I(this,_0x4ad3b1(0x462),null),I(this,_0x4ad3b1(0x5d9),null),(this[_0x4ad3b1(0x47c)]=_0x7c3582,this['_memberService']=_0x376b66,this[_0x4ad3b1(0x241)]=_0x576bd0,this[_0x4ad3b1(0x2a3)]=_0x2bafca,this[_0x4ad3b1(0x579)]=_0x2593f7,this[_0x4ad3b1(0x228)]=_0x1044df);}[_0x54516d(0x1c8)](_0x4f6d1f){const _0x28623e=_0x54516d;return this[_0x28623e(0x5f4)][_0x28623e(0x26e)](_0x4f6d1f),this[_0x28623e(0x533)](),this;}[_0x54516d(0x414)](_0x4ef884){const _0x539ea9=_0x54516d;if(this[_0x539ea9(0x452)](_0x4ef884))return this[_0x539ea9(0x551)](),this[_0x539ea9(0x47c)][_0x539ea9(0x5d2)](re,this['unitID'],this[_0x539ea9(0x242)],null,this[_0x539ea9(0x5f4)],null,[_0x4ef884],this[_0x539ea9(0x3d5)]);try{const _0x379e1c=this[_0x539ea9(0x579)][_0x539ea9(0x1cd)](_0x4ef884,this[_0x539ea9(0x5f4)]);if(S[_0x539ea9(0x5da)](_0x379e1c)){const {c1Prime:_0x4bf12a,m2Prime:_0x389cd6}=_0x379e1c;this[_0x539ea9(0x2ac)](_0x4bf12a);const _0x1613d0=this[_0x539ea9(0x47c)][_0x539ea9(0x5d2)](ce,this[_0x539ea9(0x351)],this[_0x539ea9(0x242)],_0x389cd6,this['_handler']);return this[_0x539ea9(0x551)](),_0x1613d0[_0x539ea9(0x20b)](this['_scheduleTimestamp']?Math[_0x539ea9(0x4b0)](0x0,new Date()['getTime']()-this[_0x539ea9(0x462)]):this[_0x539ea9(0x1a0)]()),_0x1613d0;}throw _0x379e1c['error'];}catch(_0x548cf4){return this[_0x539ea9(0x241)][_0x539ea9(0x29f)](_0x548cf4),this['_onConflict'](!0x1);}}[_0x54516d(0x3e1)](){const _0x21b4b6=_0x54516d;throw new Error(_0x21b4b6(0x4fd));}[_0x54516d(0x2c1)](){const _0x3df905=_0x54516d;throw new Error(_0x3df905(0x46e));}[_0x54516d(0x428)](){return this;}[_0x54516d(0x48d)](){const _0x802d20=_0x54516d;return this[_0x802d20(0x551)](),this[_0x802d20(0x47c)][_0x802d20(0x5d2)](me,this[_0x802d20(0x351)],this[_0x802d20(0x242)],null,this[_0x802d20(0x5f4)],this[_0x802d20(0x3d5)]);}[_0x54516d(0x222)](){return this;}[_0x54516d(0x20b)](_0x20d3ff){const _0x21d9fc=_0x54516d,_0x59638e=_0x20d3ff!=null?_0x20d3ff:this[_0x21d9fc(0x1a0)]();this[_0x21d9fc(0x462)]=new Date()[_0x21d9fc(0x2e4)](),this[_0x21d9fc(0x5d9)]=window[_0x21d9fc(0x1ae)](()=>{const _0x53a88d=_0x21d9fc;this[_0x53a88d(0x551)]();let _0x10ad11=null;switch(this[_0x53a88d(0x242)]){case ie['UNIVER_SHEET']:{_0x10ad11=jt(this[_0x53a88d(0x5f4)],this[_0x53a88d(0x351)],this[_0x53a88d(0x228)],this[_0x53a88d(0x1cc)],this['_memberService']);break;}case ie[_0x53a88d(0x60e)]:{this[_0x53a88d(0x5f4)][_0x53a88d(0x392)](_0x2dac6b=>_0x2dac6b['id']===ye[_0x53a88d(0x3c5)]['id'])?_0x10ad11=xi(this[_0x53a88d(0x5f4)],this['unitID'],this[_0x53a88d(0x228)],this[_0x53a88d(0x1cc)],this['_memberService']):_0x10ad11=jt(this[_0x53a88d(0x5f4)],this[_0x53a88d(0x351)],this[_0x53a88d(0x228)],this[_0x53a88d(0x1cc)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x53a88d(0x242)]+_0x53a88d(0x4db));}const {changeset:_0x537f64,pendingMutations:_0x35f70b}=_0x10ad11;this['_handler'][_0x53a88d(0x55d)](_0x537f64);const _0x985eab=_0x35f70b['length']?this[_0x53a88d(0x47c)]['createInstance'](le,this['unitID'],this[_0x53a88d(0x242)],_0x537f64,_0x35f70b,this[_0x53a88d(0x3d5)],void 0x0):this[_0x53a88d(0x47c)][_0x53a88d(0x5d2)](fe,this['unitID'],this[_0x53a88d(0x242)],_0x537f64,this[_0x53a88d(0x3d5)]);_0x985eab[_0x53a88d(0x533)](),this[_0x53a88d(0x3d5)][_0x53a88d(0x2dc)](this,_0x985eab);},_0x59638e);}[_0x54516d(0x1a0)](){const _0x21b123=_0x54516d;var _0x3ba4a3;const _0x47843d=this[_0x21b123(0x2a3)][_0x21b123(0x21d)](te);return(_0x3ba4a3=_0x47843d==null?void 0x0:_0x47843d[_0x21b123(0x4b2)])!=null?_0x3ba4a3:kn;}[_0x54516d(0x243)](){const _0x23604c=_0x54516d;throw new Error(_0x23604c(0x507));}[_0x54516d(0x551)](){const _0x5885dc=_0x54516d;this[_0x5885dc(0x5d9)]!=null&&(clearTimeout(this[_0x5885dc(0x5d9)]),this[_0x5885dc(0x5d9)]=null);}['_onConflict'](_0x3362a6){const _0x2d47b4=_0x54516d;return this[_0x2d47b4(0x551)](),this[_0x2d47b4(0x47c)]['createInstance'](ve,this['unitID'],this[_0x2d47b4(0x242)],null,this['_pendingMutations'],this[_0x2d47b4(0x3d5)],_0x3362a6);}};ce=Ie([N(0x4,a[_0x54516d(0x573)](a['Injector'])),N(0x5,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),N(0x6,a['Inject'](exports['LocalCacheService'])),N(0x7,a[_0x54516d(0x573)](exports[_0x54516d(0x3a8)])),N(0x8,a[_0x54516d(0x4ee)]),N(0x9,a[_0x54516d(0x18a)]),N(0xa,a[_0x54516d(0x208)]),N(0xb,S[_0x54516d(0x5bd)]),N(0xc,a[_0x54516d(0x4e2)]),N(0xd,a[_0x54516d(0x5b9)])],ce);let fe=class extends Ce{constructor(_0xdb2e0b,_0x31c9fc,_0x4058e1,_0x3871c0,_0x1cb914,_0x356f96,_0x19390a,_0x254d37,_0x1487ac,_0x5bd96c,_0x32a5b2){const _0x53babb=_0x54516d;super(_0xdb2e0b,_0x31c9fc,_0x4058e1,[],_0x3871c0,_0x254d37,_0x32a5b2,_0x356f96,_0x19390a),I(this,_0x53babb(0x2d5),'awaiting'),I(this,'_resendTimeout',0x0),I(this,_0x53babb(0x5ac)),I(this,_0x53babb(0x43f)),(this[_0x53babb(0x47c)]=_0x1cb914,this[_0x53babb(0x241)]=_0x1487ac,this['_transformService']=_0x5bd96c);}[_0x54516d(0x1c8)](_0x101eba){const _0x493b9e=_0x54516d;this['_clearScheduledTask']();const _0x1d6f35=this[_0x493b9e(0x47c)][_0x493b9e(0x5d2)](le,this[_0x493b9e(0x351)],this['type'],this[_0x493b9e(0x179)],[_0x101eba],this[_0x493b9e(0x3d5)],this[_0x493b9e(0x5ac)]);return _0x1d6f35[_0x493b9e(0x533)](),_0x1d6f35;}[_0x54516d(0x414)](_0x75921f){const _0x5289f7=_0x54516d;if(this[_0x5289f7(0x452)](_0x75921f))return this[_0x5289f7(0x551)](),this[_0x5289f7(0x47c)][_0x5289f7(0x5d2)](re,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x75921f],this[_0x5289f7(0x3d5)]);try{const _0x28bb95=this[_0x5289f7(0x579)][_0x5289f7(0x59f)]([_0x75921f],[this[_0x5289f7(0x179)]],!0x1);if(S['isTransformChangesetsSuccess'](_0x28bb95)){const {c1Prime:_0x1cc988,c2Prime:_0x578636}=_0x28bb95;this[_0x5289f7(0x2ac)](_0x1cc988[0x0]),_0x578636[0x0][_0x5289f7(0x379)]=this['_getCurrentRevision'](),this[_0x5289f7(0x551)]();const _0x8f7bfe=this['_injector'][_0x5289f7(0x5d2)](fe,this['unitID'],this[_0x5289f7(0x242)],_0x578636[0x0],this[_0x5289f7(0x3d5)]);return _0x8f7bfe['_updateLocalCache'](),_0x8f7bfe;}return this[_0x5289f7(0x3b6)](!0x1);}catch(_0x4a197f){return this['_logService'][_0x5289f7(0x29f)](_0x4a197f),this['_onConflict'](!0x1);}}[_0x54516d(0x3e1)](_0x514240){const _0x149a1e=_0x54516d;this[_0x149a1e(0x551)]();const _0x4a8b9b=this[_0x149a1e(0x1cc)][_0x149a1e(0x419)](this[_0x149a1e(0x351)]);if(_0x514240['revision']<_0x4a8b9b-0x1)return this;if(this[_0x149a1e(0x452)](_0x514240))return this[_0x149a1e(0x47c)]['createInstance'](re,this['unitID'],this['type'],null,[],this[_0x149a1e(0x179)],[],this[_0x149a1e(0x3d5)]);this[_0x149a1e(0x61e)]();const _0x35d023=this[_0x149a1e(0x47c)][_0x149a1e(0x5d2)](Oe,this[_0x149a1e(0x351)],this['type'],this[_0x149a1e(0x3d5)]);return _0x35d023[_0x149a1e(0x533)](),_0x35d023;}[_0x54516d(0x2c1)](_0x74a020){const _0x2f44a4=_0x54516d;return this[_0x2f44a4(0x3b6)](!!(_0x74a020!=null&&_0x74a020[_0x2f44a4(0x49d)]));}[_0x54516d(0x428)](_0x208689){const _0x11c33d=_0x54516d;return this[_0x11c33d(0x50f)]>vn?this[_0x11c33d(0x48d)]():(this[_0x11c33d(0x5ac)]=fn(this[_0x11c33d(0x50f)],{'timeout':this['_resendTimeout'],'reqId':_0x208689[_0x11c33d(0x5b6)]}),this[_0x11c33d(0x43f)]=this[_0x11c33d(0x5ac)]['subscribe'](({reqId:_0x40ab0b,timeout:_0x5ddcaf})=>{this['_resendWithTimeout'](_0x40ab0b,_0x5ddcaf);}),this);}[_0x54516d(0x48d)](){const _0x1d4013=_0x54516d;return this['_clearScheduledTask'](),this['_injector'][_0x1d4013(0x5d2)](me,this[_0x1d4013(0x351)],this[_0x1d4013(0x242)],this['_awaitingChangeset'],[],this[_0x1d4013(0x3d5)]);}[_0x54516d(0x222)](){return this;}['resend'](){const _0x3a56c4=_0x54516d;this[_0x3a56c4(0x3d5)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x58a2b3){const _0x25e20f=_0x54516d;return this[_0x25e20f(0x551)](),this['_injector'][_0x25e20f(0x5d2)](ve,this[_0x25e20f(0x351)],this[_0x25e20f(0x242)],this[_0x25e20f(0x179)],[],this[_0x25e20f(0x3d5)],_0x58a2b3);}[_0x54516d(0x4da)](_0x48afd0,_0x59555c){const _0x2aa996=_0x54516d;var _0x2e43ec;_0x48afd0===((_0x2e43ec=this[_0x2aa996(0x179)])==null?void 0x0:_0x2e43ec[_0x2aa996(0x5b6)])&&(this['resend'](),this[_0x2aa996(0x50f)]=_0x59555c===0x0?0x3e8:_0x59555c*0x2);}['_clearScheduledTask'](){const _0x16c61c=_0x54516d;var _0x370213;(_0x370213=this[_0x16c61c(0x43f)])==null||_0x370213['unsubscribe'](),this[_0x16c61c(0x50f)]=0x0;}};fe=Ie([N(0x4,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),N(0x5,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),N(0x6,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),N(0x7,a[_0x54516d(0x18a)]),N(0x8,a[_0x54516d(0x4ee)]),N(0x9,S[_0x54516d(0x5bd)]),N(0xa,a['IUndoRedoService'])],fe);let le=class extends Ce{constructor(_0xa3fa0,_0x4a0ff3,_0x27345d,_0x59400a,_0x3bcaa3,_0x44e26d,_0x2bd86,_0x3b803f,_0x21667e,_0x5803e6,_0x1179ba,_0x5dc153,_0x32cea2){const _0x44e9b5=_0x54516d;super(_0xa3fa0,_0x4a0ff3,_0x27345d,_0x59400a,_0x3bcaa3,_0x5803e6,_0x32cea2,_0x3b803f,_0x21667e),I(this,_0x44e9b5(0x2d5),_0x44e9b5(0x5c1)),I(this,_0x44e9b5(0x50f),0x0),I(this,_0x44e9b5(0x5ac)),I(this,_0x44e9b5(0x43f)),(this[_0x44e9b5(0x47c)]=_0x2bd86,this[_0x44e9b5(0x241)]=_0x1179ba,this[_0x44e9b5(0x579)]=_0x5dc153,_0x44e26d&&(this[_0x44e9b5(0x5ac)]=_0x44e26d,this[_0x44e9b5(0x43f)]=this[_0x44e9b5(0x5ac)][_0x44e9b5(0x4d6)](({reqId:_0xf03a27,timeout:_0x31eb07})=>{const _0x1bf069=_0x44e9b5;this[_0x1bf069(0x4da)](_0xf03a27,_0x31eb07);})));}[_0x54516d(0x1c8)](_0x11e9a2){const _0x355f04=_0x54516d;return this[_0x355f04(0x5f4)]['push'](_0x11e9a2),this;}['onRemoteChangeset'](_0x49c042){const _0x316f6b=_0x54516d;if(this[_0x316f6b(0x452)](_0x49c042))return this[_0x316f6b(0x551)](),this[_0x316f6b(0x47c)][_0x316f6b(0x5d2)](re,this[_0x316f6b(0x351)],this[_0x316f6b(0x242)],this[_0x316f6b(0x179)],this[_0x316f6b(0x5f4)],null,[_0x49c042],this[_0x316f6b(0x3d5)]);try{const _0x5be3c9=this[_0x316f6b(0x579)][_0x316f6b(0x59f)]([_0x49c042],[this[_0x316f6b(0x179)]],!0x1);if(S[_0x316f6b(0x421)](_0x5be3c9)){const {c1Prime:_0x4e12c3,c2Prime:_0x403d0b}=_0x5be3c9,_0x3c9b78=this['_transformService'][_0x316f6b(0x1cd)](_0x4e12c3[0x0],this[_0x316f6b(0x5f4)]);if(S['isTransformMutationsWithChangesetSuccess'](_0x3c9b78)){const {c1Prime:_0xf48471,m2Prime:_0x3d5b38}=_0x3c9b78;return this['_executeRemoteChangeset'](_0xf48471),_0x403d0b[0x0]['baseRev']=this[_0x316f6b(0x586)](),this[_0x316f6b(0x551)](),this[_0x316f6b(0x47c)]['createInstance'](le,this[_0x316f6b(0x351)],this[_0x316f6b(0x242)],_0x403d0b[0x0],_0x3d5b38,this[_0x316f6b(0x3d5)],void 0x0);}throw _0x3c9b78[_0x316f6b(0x29f)];}throw _0x5be3c9[_0x316f6b(0x29f)];}catch(_0x39fe77){return this[_0x316f6b(0x241)][_0x316f6b(0x29f)](_0x39fe77),this[_0x316f6b(0x3b6)](!0x1);}}[_0x54516d(0x3e1)](_0x4bbb23){const _0x31133f=_0x54516d;if(this['_clearScheduledTask'](),this[_0x31133f(0x452)](_0x4bbb23))return this[_0x31133f(0x47c)]['createInstance'](re,this[_0x31133f(0x351)],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x31133f(0x3d5)]);this[_0x31133f(0x61e)]();const _0x78b6cf=this['_injector']['createInstance'](ce,this['unitID'],this[_0x31133f(0x242)],this[_0x31133f(0x5f4)],this[_0x31133f(0x3d5)]);return _0x78b6cf[_0x31133f(0x20b)](),_0x78b6cf[_0x31133f(0x533)](),_0x78b6cf;}[_0x54516d(0x2c1)](_0x2b65a1){const _0x56af4d=_0x54516d;return this[_0x56af4d(0x3b6)](!!(_0x2b65a1!=null&&_0x2b65a1[_0x56af4d(0x49d)]));}[_0x54516d(0x428)](_0x450056){const _0x5056b5=_0x54516d;return this[_0x5056b5(0x50f)]>vn?this['toggleOffline']():(this['_resendTimer']=fn(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x450056['reqId']}),this[_0x5056b5(0x43f)]=this[_0x5056b5(0x5ac)][_0x5056b5(0x4d6)](({reqId:_0x125462,timeout:_0x40fbe2})=>{this['_resendWithTimeout'](_0x125462,_0x40fbe2);}),this);}['toggleOffline'](){const _0x26d1e9=_0x54516d;return this[_0x26d1e9(0x551)](),this[_0x26d1e9(0x47c)]['createInstance'](me,this[_0x26d1e9(0x351)],this[_0x26d1e9(0x242)],this[_0x26d1e9(0x179)],this[_0x26d1e9(0x5f4)],this[_0x26d1e9(0x3d5)]);}[_0x54516d(0x222)](){return this;}[_0x54516d(0x243)](){const _0x2a120d=_0x54516d;this[_0x2a120d(0x3d5)][_0x2a120d(0x55d)](this[_0x2a120d(0x179)]);}['_onConflict'](_0x4bd15b){const _0x2541c3=_0x54516d;return this[_0x2541c3(0x551)](),this[_0x2541c3(0x47c)][_0x2541c3(0x5d2)](ve,this[_0x2541c3(0x351)],this[_0x2541c3(0x242)],null,this[_0x2541c3(0x5f4)],this[_0x2541c3(0x3d5)],_0x4bd15b);}[_0x54516d(0x4da)](_0x24d254,_0x1e2f94){const _0x40a20d=_0x54516d;var _0x3023ad;_0x24d254===((_0x3023ad=this[_0x40a20d(0x179)])==null?void 0x0:_0x3023ad['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x1e2f94===0x0?0x3e8:_0x1e2f94*0x2);}[_0x54516d(0x551)](){const _0x2ad3b5=_0x54516d;var _0x2dba45;(_0x2dba45=this[_0x2ad3b5(0x43f)])==null||_0x2dba45['unsubscribe'](),this[_0x2ad3b5(0x50f)]=0x0;}};le=Ie([N(0x6,a['Inject'](a[_0x54516d(0x33a)])),N(0x7,a[_0x54516d(0x573)](S['RevisionService'])),N(0x8,a[_0x54516d(0x573)](exports['LocalCacheService'])),N(0x9,a[_0x54516d(0x18a)]),N(0xa,a[_0x54516d(0x4ee)]),N(0xb,S['ITransformService']),N(0xc,a['IUndoRedoService'])],le);let ve=class extends Ce{constructor(_0x28bf34,_0x3c90ba,_0x224238,_0x2240c2,_0x44d031,_0x509340=!0x1,_0x3b6525,_0x2de39c,_0x483a39,_0x34b224,_0xa07602,_0x5de2ce,_0x467747){const _0x59dc53=_0x54516d;super(_0x28bf34,_0x3c90ba,_0x224238,_0x2240c2,_0x44d031,_0x2de39c,_0x483a39,_0xa07602,_0x34b224),I(this,_0x59dc53(0x2d5),'conflict'),(this[_0x59dc53(0x1eb)]=_0x509340,this['_permissionService']=_0x3b6525,this[_0x59dc53(0x422)]=_0x5de2ce,this[_0x59dc53(0x4e9)]=_0x467747,this[_0x59dc53(0x435)](),this[_0x59dc53(0x5a1)](),this[_0x59dc53(0x261)]());}[_0x54516d(0x1c8)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x54516d(0x2c1)](){return this;}[_0x54516d(0x428)](){return this;}['toggleOffline'](){return this;}[_0x54516d(0x222)](){return this;}[_0x54516d(0x243)](){const _0xa592bf=_0x54516d;throw new Error(_0xa592bf(0x615));}[_0x54516d(0x5a1)](){const _0x106ff1=_0x54516d;this[_0x106ff1(0x3bf)][_0x106ff1(0x1fb)](this[_0x106ff1(0x351)],this[_0x106ff1(0x242)],null,[]);}['_showConflictNotification'](){const _0x151a4e=_0x54516d;this[_0x151a4e(0x1eb)]?this[_0x151a4e(0x4e9)]['show']({'title':this['_localeService']['t'](_0x151a4e(0x529)),'content':this['_localeService']['t'](_0x151a4e(0x495)),'type':_0x151a4e(0x29f),'duration':0x0}):this[_0x151a4e(0x4e9)]['show']({'title':this[_0x151a4e(0x422)]['t'](_0x151a4e(0x1b9)),'content':this['_localeService']['t']('conflict.content'),'type':_0x151a4e(0x29f),'duration':0x0});}[_0x54516d(0x261)](){const _0x28c8c0=_0x54516d;this[_0x28c8c0(0x2ce)][_0x28c8c0(0x526)](new k[(_0x28c8c0(0x232))](this['unitID'])['id'],!0x1);}};ve=Ie([N(0x6,a['Inject'](a[_0x54516d(0x369)])),N(0x7,a[_0x54516d(0x18a)]),N(0x8,a[_0x54516d(0x5b9)]),N(0x9,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),N(0xa,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),N(0xb,a[_0x54516d(0x573)](a['LocaleService'])),N(0xc,ee['INotificationService'])],ve);let me=class extends Ce{constructor(_0x4bd664,_0x43c386,_0x39695b,_0x4d7787,_0x4b0883,_0x5c669a,_0x244805,_0x86c2f7,_0x25c7b2,_0x45b7e5){const _0x3cb8a9=_0x54516d;super(_0x4bd664,_0x43c386,_0x39695b,_0x4d7787,_0x4b0883,_0x25c7b2,_0x45b7e5,_0x244805,_0x86c2f7),I(this,_0x3cb8a9(0x2d5),_0x3cb8a9(0x444)),this[_0x3cb8a9(0x47c)]=_0x5c669a;}['appendMutation'](_0x47b17d){const _0x4707b7=_0x54516d;return this[_0x4707b7(0x5f4)][_0x4707b7(0x26e)](_0x47b17d),this[_0x4707b7(0x533)](),this;}[_0x54516d(0x414)](_0x1c6442){const _0x343d57=_0x54516d;throw new Error(_0x343d57(0x31a));}['onRemoteAck'](){const _0x59f69f=_0x54516d;throw new Error(_0x59f69f(0x2f6));}[_0x54516d(0x2c1)](){const _0xc57597=_0x54516d;throw new Error(_0xc57597(0x234));}['onRemoteRetry'](){return this;}[_0x54516d(0x48d)](){return this;}[_0x54516d(0x222)](){const _0x461ad4=_0x54516d,{_injector:_0x4f55dd,_pendingMutations:_0x3ba440,_awaitingChangeset:_0x5b2bfa,unitID:_0x571cb8,_handler:_0x412cd2,type:_0x1c88fa}=this,_0x27158e=mn(_0x4f55dd,_0x571cb8,_0x1c88fa,_0x5b2bfa,_0x3ba440,_0x412cd2);return _0x27158e instanceof ce?_0x27158e[_0x461ad4(0x20b)]():(_0x27158e instanceof le||_0x27158e instanceof fe)&&_0x27158e[_0x461ad4(0x243)](),_0x27158e;}[_0x54516d(0x243)](){const _0x488828=_0x54516d;throw new Error(_0x488828(0x5cf));}};me=Ie([N(0x5,a['Inject'](a[_0x54516d(0x33a)])),N(0x6,a[_0x54516d(0x573)](S['RevisionService'])),N(0x7,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),N(0x8,a[_0x54516d(0x18a)]),N(0x9,a[_0x54516d(0x5b9)])],me);let re=class extends Ce{constructor(_0x5577fb,_0x15ea3b,_0x3402b1,_0x16b9fd,_0x347830,_0x3ad3c9,_0x5c805f,_0xb5f7a9,_0x320963,_0x1d1503,_0x41a515,_0x4021c9,_0x268585,_0x1edf8f){const _0x88c250=_0x54516d;super(_0x5577fb,_0x15ea3b,_0x3402b1,_0x16b9fd,_0x5c805f,_0x4021c9,_0x268585,_0x320963,_0x1d1503),I(this,_0x88c250(0x2d5),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x347830,this[_0x88c250(0x47b)]=_0x3ad3c9,this[_0x88c250(0x47c)]=_0xb5f7a9,this[_0x88c250(0x241)]=_0x41a515,this[_0x88c250(0x579)]=_0x1edf8f);}[_0x54516d(0x56a)](_0x355753){const _0xb360b2=_0x54516d;try{const _0x4081fe=[..._0x355753,...this['_queuedRemoteChangesets']],_0x3f5c92=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0xe0b0aa=>!!_0xe0b0aa);let _0x536523,_0x5d62ce;if(_0x3f5c92[_0xb360b2(0x5e8)]){const _0x9c9450=this[_0xb360b2(0x579)][_0xb360b2(0x59f)](_0x4081fe,_0x3f5c92,!0x1);if(!S[_0xb360b2(0x421)](_0x9c9450))throw _0x9c9450['error'];_0x536523=_0x9c9450[_0xb360b2(0x4ef)],_0x5d62ce=_0x9c9450[_0xb360b2(0x595)];}else _0x536523=_0x4081fe,_0x5d62ce=[];let _0x22ac02=this['_pendingMutations'];_0x536523[_0xb360b2(0x1ba)](_0x192f3c=>{const _0x40c19f=_0xb360b2;let _0x575576;if(_0x22ac02[_0x40c19f(0x5e8)]){const _0xc05a5d=this[_0x40c19f(0x579)][_0x40c19f(0x1cd)](_0x192f3c,_0x22ac02);if(!S['isTransformMutationsWithChangesetSuccess'](_0xc05a5d))throw _0xc05a5d['error'];_0x575576=_0xc05a5d[_0x40c19f(0x4ef)],_0x22ac02=_0xc05a5d[_0x40c19f(0x46b)];}else _0x575576=_0x192f3c;this['_executeRemoteChangeset'](_0x575576);}),this[_0xb360b2(0x560)]&&this[_0xb360b2(0x61e)](),this['_awaitingChangeset']&&_0x5d62ce['length']&&(_0x5d62ce[0x0][_0xb360b2(0x379)]=this['_getCurrentRevision']());let _0x5f0b9c;if(this[_0xb360b2(0x179)]&&_0x22ac02[_0xb360b2(0x5e8)]!==0x0)_0x5f0b9c=this[_0xb360b2(0x47c)][_0xb360b2(0x5d2)](le,this[_0xb360b2(0x351)],this[_0xb360b2(0x242)],_0x5d62ce[0x0],_0x22ac02,this[_0xb360b2(0x3d5)],void 0x0);else{if(this['_awaitingChangeset']&&_0x22ac02[_0xb360b2(0x5e8)]===0x0)_0x5d62ce[0x0]['baseRev']=this[_0xb360b2(0x586)](),_0x5f0b9c=this[_0xb360b2(0x47c)][_0xb360b2(0x5d2)](fe,this['unitID'],this[_0xb360b2(0x242)],_0x5d62ce[0x0],this[_0xb360b2(0x3d5)]);else{if(_0x22ac02[_0xb360b2(0x5e8)]!==0x0){const _0x1f131a=this[_0xb360b2(0x47c)][_0xb360b2(0x5d2)](ce,this[_0xb360b2(0x351)],this[_0xb360b2(0x242)],_0x22ac02,this[_0xb360b2(0x3d5)]);_0x1f131a['_schedule'](),_0x5f0b9c=_0x1f131a;}else _0x5f0b9c=this['_injector']['createInstance'](Oe,this[_0xb360b2(0x351)],this[_0xb360b2(0x242)],this[_0xb360b2(0x3d5)]);}}return _0x5f0b9c[_0xb360b2(0x533)](),_0x5f0b9c;}catch(_0x4d6db7){return this[_0xb360b2(0x241)][_0xb360b2(0x29f)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x4d6db7),this['_injector'][_0xb360b2(0x5d2)](ve,this['unitID'],this[_0xb360b2(0x242)],this[_0xb360b2(0x179)],this[_0xb360b2(0x5f4)],this[_0xb360b2(0x3d5)],!0x1);}}[_0x54516d(0x243)](){const _0x2fa937=_0x54516d;throw new Error(_0x2fa937(0x3e9));}[_0x54516d(0x1c8)](_0x453bc1){const _0x2ade22=_0x54516d;return this['_pendingMutations'][_0x2ade22(0x26e)](_0x453bc1),this;}[_0x54516d(0x414)](_0x4121dd){const _0x13778d=_0x54516d;return this[_0x13778d(0x47b)][_0x13778d(0x26e)](_0x4121dd),this;}[_0x54516d(0x3e1)](_0xbb236f){const _0x470044=_0x54516d;if(this[_0x470044(0x179)])return this['_acknowledgedAwaitingChangeset']=this[_0x470044(0x179)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x49ac6a){const _0x543f17=_0x54516d;return this[_0x543f17(0x3b6)](!!(_0x49ac6a!=null&&_0x49ac6a[_0x543f17(0x49d)]));}[_0x54516d(0x428)](){return this;}[_0x54516d(0x48d)](){const _0xd807=_0x54516d;return this[_0xd807(0x47c)][_0xd807(0x5d2)](me,this['unitID'],this[_0xd807(0x242)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x54516d(0x222)](){return this;}[_0x54516d(0x3b6)](_0x28f75f){const _0x52a186=_0x54516d;return this[_0x52a186(0x47c)][_0x52a186(0x5d2)](ve,this[_0x52a186(0x351)],this[_0x52a186(0x242)],this[_0x52a186(0x179)],this[_0x52a186(0x5f4)],this[_0x52a186(0x3d5)],_0x28f75f);}};re=Ie([N(0x7,a['Inject'](a[_0x54516d(0x33a)])),N(0x8,a['Inject'](S[_0x54516d(0x35a)])),N(0x9,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),N(0xa,a[_0x54516d(0x4ee)]),N(0xb,a[_0x54516d(0x18a)]),N(0xc,a[_0x54516d(0x5b9)]),N(0xd,S[_0x54516d(0x5bd)])],re);function mn(_0x53bef1,_0x5bb51e,_0x1e5bd0,_0x3157fa,_0x460508,_0x6da7eb){const _0x55163a=_0x54516d;return _0x3157fa&&_0x460508['length']?_0x53bef1[_0x55163a(0x5d2)](le,_0x5bb51e,_0x1e5bd0,_0x3157fa,_0x460508,_0x6da7eb,void 0x0):_0x3157fa?_0x53bef1[_0x55163a(0x5d2)](fe,_0x5bb51e,_0x1e5bd0,_0x3157fa,_0x6da7eb):_0x460508['length']?_0x53bef1[_0x55163a(0x5d2)](ce,_0x5bb51e,_0x1e5bd0,_0x460508,_0x6da7eb):_0x53bef1[_0x55163a(0x5d2)](Oe,_0x5bb51e,_0x1e5bd0,_0x6da7eb);}var Bi=Object['defineProperty'],ki=Object[_0x54516d(0x363)],yt=(_0x33fc58,_0x5a5c6d,_0xcbd757,_0x80f292)=>{const _0x20ddde=_0x54516d;for(var _0x5333ff=_0x80f292>0x1?void 0x0:_0x80f292?ki(_0x5a5c6d,_0xcbd757):_0x5a5c6d,_0x54cc63=_0x33fc58[_0x20ddde(0x5e8)]-0x1,_0xa27a8d;_0x54cc63>=0x0;_0x54cc63--)(_0xa27a8d=_0x33fc58[_0x54cc63])&&(_0x5333ff=(_0x80f292?_0xa27a8d(_0x5a5c6d,_0xcbd757,_0x5333ff):_0xa27a8d(_0x5333ff))||_0x5333ff);return _0x80f292&&_0x5333ff&&Bi(_0x5a5c6d,_0xcbd757,_0x5333ff),_0x5333ff;},H=(_0x49f6ab,_0x34203e)=>(_0x312b69,_0x10aa7a)=>_0x34203e(_0x312b69,_0x10aa7a,_0x49f6ab);exports['CollaborationEntity']=class extends a[_0x54516d(0x1d6)]{constructor(_0x1ce4fb,_0x520296,_0xbd58a3,_0x50b1dc,_0x4465f2,_0x469e6f,_0x1990bf,_0x151c4f,_0x276c02,_0x402cce,_0x37b368,_0x31ddcf,_0x5aa13a){const _0x28b091=_0x54516d;super(),I(this,_0x28b091(0x4f0),new A[(_0x28b091(0x598))](null)),I(this,_0x28b091(0x1c7),this[_0x28b091(0x4f0)]['asObservable']()),I(this,'_state'),I(this,'_collaborationPaused',!0x1),I(this,_0x28b091(0x373),''),I(this,_0x28b091(0x61f),0x0),I(this,_0x28b091(0x4d4),this[_0x28b091(0x1c7)]['pipe'](A[_0x28b091(0x2c2)](_0x5201fd=>_0x5201fd?_0x5201fd[_0x28b091(0x2d5)]:q['OFFLINE']),A[_0x28b091(0x40d)](0x1))),I(this,_0x28b091(0x2d7),!0x1),I(this,_0x28b091(0x224),[]),(this[_0x28b091(0x351)]=_0x1ce4fb,this[_0x28b091(0x3f5)]=_0x520296,this[_0x28b091(0x535)]=_0xbd58a3,this[_0x28b091(0x47c)]=_0x50b1dc,this['_localCacheService']=_0x4465f2,this[_0x28b091(0x1fc)]=_0x469e6f,this[_0x28b091(0x422)]=_0x1990bf,this['_revisionService']=_0x151c4f,this['_logService']=_0x276c02,this[_0x28b091(0x1ca)]=_0x402cce,this[_0x28b091(0x564)]=_0x37b368,this[_0x28b091(0x2ce)]=_0x31ddcf,this[_0x28b091(0x2d9)]=_0x5aa13a);}get[_0x54516d(0x4cd)](){return this['_state'];}async[_0x54516d(0x4eb)](){const _0x56ccb9=_0x54516d;if(this[_0x56ccb9(0x4cd)])throw new Error(_0x56ccb9(0x26f));await this[_0x56ccb9(0x488)]();}[_0x54516d(0x194)](){const _0x440b3d=_0x54516d;return this[_0x440b3d(0x4dd)]=!0x0,a[_0x440b3d(0x562)](()=>{const _0x4cb1d8=_0x440b3d;this[_0x4cb1d8(0x4dd)]=!0x1,this[_0x4cb1d8(0x20d)]();});}[_0x54516d(0x4cc)](_0x50a85a){const _0x2b40cb=_0x54516d;this[_0x2b40cb(0x23c)]=_0x50a85a,this[_0x2b40cb(0x4f0)]['next'](_0x50a85a);}async[_0x54516d(0x488)](){const _0x3f5638=_0x54516d;var _0x5d7a8a;this[_0x3f5638(0x4cc)](await this[_0x3f5638(0x1c5)]()),this['_singleActiveUnitService']&&((_0x5d7a8a=this[_0x3f5638(0x2d9)])==null||_0x5d7a8a[_0x3f5638(0x2fc)](this[_0x3f5638(0x351)]),this[_0x3f5638(0x55b)](this['_singleActiveUnitService'][_0x3f5638(0x256)](this[_0x3f5638(0x351)])[_0x3f5638(0x4d6)](_0x2bbe4f=>{const _0x2d9417=_0x3f5638;this[_0x2d9417(0x241)][_0x2d9417(0x583)](_0x2d9417(0x587),_0x2d9417(0x2db),_0x2bbe4f),_0x2bbe4f===un[_0x2d9417(0x4a9)]?(this[_0x2d9417(0x564)][_0x2d9417(0x5e3)]({'content':this[_0x2d9417(0x422)]['t'](_0x2d9417(0x5ab)),'type':ge['MessageType'][_0x2d9417(0x354)]}),this[_0x2d9417(0x2ce)][_0x2d9417(0x526)](new k['WorkbookEditablePermission'](this[_0x2d9417(0x351)])['id'],!0x1),this[_0x2d9417(0x2ce)][_0x2d9417(0x5aa)](!0x1)):(this[_0x2d9417(0x2ce)][_0x2d9417(0x526)](new k[(_0x2d9417(0x232))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x2d9417(0x5aa)](!0x0));})));let _0xf662cd=!0x1;return this[_0x3f5638(0x55b)](this[_0x3f5638(0x3f5)][_0x3f5638(0x415)][_0x3f5638(0x4d6)](_0x271be9=>{const _0x4374b9=_0x3f5638;_0x271be9===se[_0x4374b9(0x608)]?this['_toggleOnline'](_0xf662cd):_0x271be9===se[_0x4374b9(0x44b)]&&(_0xf662cd=!0x0,this[_0x4374b9(0x25d)]());})),this[_0x3f5638(0x55b)](this['session'][_0x3f5638(0x455)][_0x3f5638(0x4d6)](_0x468770=>{const _0x101633=_0x3f5638;try{switch(_0x468770[_0x101633(0x4aa)]){case S[_0x101633(0x5de)]['NEW_CHANGESETS']:{this[_0x101633(0x425)](S[_0x101633(0x509)](_0x468770[_0x101633(0x547)]));break;}case S['CollaborationEvent'][_0x101633(0x5b3)]:{this[_0x101633(0x4ae)](_0x468770[_0x101633(0x547)]);break;}case S[_0x101633(0x5de)]['CHANGESET_REJ']:{this[_0x101633(0x338)]();break;}case S[_0x101633(0x5de)][_0x101633(0x1b8)]:{this['_onRemoteRetry'](_0x468770[_0x101633(0x547)]);break;}case S['CollaborationEvent'][_0x101633(0x5b0)]:{this['_onFetchMissResult'](_0x468770[_0x101633(0x547)][_0x101633(0x4e5)][_0x101633(0x2c2)](_0x42e7ee=>S['parseProtocolChangeset'](_0x42e7ee)));break;}case S[_0x101633(0x5de)][_0x101633(0x457)]:this[_0x101633(0x338)]({'isPermissionRej':!0x0});}}catch(_0x1b6299){throw console[_0x101633(0x29f)](_0x101633(0x4df),_0x1b6299),_0x1b6299;}})),this[_0x3f5638(0x23c)];}[_0x54516d(0x1a7)](){const _0x1b50e2=_0x54516d;this[_0x1b50e2(0x2d7)]=!0x1;}[_0x54516d(0x510)](){const _0x36f89e=_0x54516d;if(this[_0x36f89e(0x2d7)])throw new Error(_0x36f89e(0x340));this['_transitionLocked']=!0x0;}[_0x54516d(0x2c4)](_0x2f6775){const _0x28f08d=_0x54516d;this['_lockTransition'](),this['_updateState'](this[_0x28f08d(0x23c)]['appendMutation'](_0x2f6775)),this[_0x28f08d(0x1a7)]();}[_0x54516d(0x425)](_0x2e7b43){const _0x4fb3c5=_0x54516d;if(!(_0x2e7b43['revision']<=this[_0x4fb3c5(0x1cc)]['getCurrentRevOfUnit'](this[_0x4fb3c5(0x351)]))){if(this[_0x4fb3c5(0x4dd)]){this['_remoteChangesetQueue']['push'](_0x2e7b43);return;}this[_0x4fb3c5(0x276)](_0x2e7b43);}}['_exhaustRemoteChangesetQueue'](){const _0x5510e6=_0x54516d;this[_0x5510e6(0x224)][_0x5510e6(0x1ba)](_0x371fce=>this['_applyRemoteChangeset'](_0x371fce)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x1e00b2){const _0x29781d=_0x54516d,_0x529b27=this[_0x29781d(0x1fc)]['interceptor'][_0x29781d(0x5e7)](this[_0x29781d(0x1fc)][_0x29781d(0x4d8)][_0x29781d(0x370)]()[_0x29781d(0x602)])(_0x1e00b2[_0x29781d(0x1f3)],null)||_0x1e00b2['mutations'],_0x194065={..._0x1e00b2,'mutations':_0x529b27};this[_0x29781d(0x510)](),this[_0x29781d(0x4cc)](this[_0x29781d(0x23c)][_0x29781d(0x414)](_0x194065)),this[_0x29781d(0x1a7)]();}[_0x54516d(0x4ae)](_0x2150ab){const _0xc2116a=_0x54516d;this[_0xc2116a(0x510)](),this[_0xc2116a(0x4cc)](this[_0xc2116a(0x23c)][_0xc2116a(0x3e1)](_0x2150ab)),this[_0xc2116a(0x1a7)]();}['_onRemoteRejected'](_0x278f3a){const _0x241317=_0x54516d;this[_0x241317(0x510)](),this[_0x241317(0x4cc)](this['_state']['onRemoteRej'](_0x278f3a)),this[_0x241317(0x1a7)]();}['_onRemoteRetry'](_0x148cb8){const _0x8f8605=_0x54516d;this[_0x8f8605(0x510)](),this[_0x8f8605(0x4cc)](this[_0x8f8605(0x23c)][_0x8f8605(0x428)](_0x148cb8)),this[_0x8f8605(0x1a7)]();}[_0x54516d(0x1e5)](_0x5d2c2f){const _0x3daaed=_0x54516d;if(!(this[_0x3daaed(0x23c)]instanceof re))throw new TypeError(_0x3daaed(0x178));const _0x31e1bc=_0x5d2c2f[_0x3daaed(0x2c2)](_0x40182e=>{const _0x3d78e3=_0x3daaed,_0x4d69d9=this[_0x3d78e3(0x1fc)]['interceptor'][_0x3d78e3(0x5e7)](this['_compressMutationService'][_0x3d78e3(0x4d8)][_0x3d78e3(0x370)]()['COMPRESS_MUTATION_APPLY'])(_0x40182e[_0x3d78e3(0x1f3)],null)||_0x40182e[_0x3d78e3(0x1f3)];return{..._0x40182e,'mutations':_0x4d69d9};});this[_0x3daaed(0x510)](),this[_0x3daaed(0x4cc)](this[_0x3daaed(0x23c)][_0x3daaed(0x56a)](_0x31e1bc)),this[_0x3daaed(0x1a7)]();}['_toggleOffline'](){const _0x568ccf=_0x54516d;this[_0x568ccf(0x510)](),this[_0x568ccf(0x4cc)](this[_0x568ccf(0x23c)][_0x568ccf(0x48d)]()),this[_0x568ccf(0x1a7)]();}[_0x54516d(0x45c)](_0x5b83b6=!0x1){const _0x35f41f=_0x54516d;this['_lockTransition'](),this['_updateState'](this['_state']['toggleOnline']()),this[_0x35f41f(0x1a7)]();const _0xbc9f68=this[_0x35f41f(0x23c)];_0x5b83b6&&_0xbc9f68 instanceof Oe&&(this[_0x35f41f(0x510)](),this[_0x35f41f(0x4cc)](_0xbc9f68[_0x35f41f(0x5d4)]()),this[_0x35f41f(0x1a7)]());}async['_createInitialState'](){return new Promise(_0x299cb2=>{const _0x1bec59=_0xe852;this[_0x1bec59(0x3f5)][_0x1bec59(0x415)][_0x1bec59(0x5f2)](A['take'](0x1))[_0x1bec59(0x4d6)](async _0x1ad684=>{const _0x39a231=_0x1bec59;_0x299cb2(await this[_0x39a231(0x4fa)](_0x1ad684===se['ONLINE']));});});}[_0x54516d(0x287)](){const _0x1559de=this['unitID'];return{'onStateChange':(_0x423c29,_0x40738d)=>{const _0x15243a=_0xe852;if(_0x423c29!==this['_state'])throw new Error(_0x15243a(0x555)+_0x423c29[_0x15243a(0x2d5)]+_0x15243a(0x1f8)+_0x40738d[_0x15243a(0x2d5)]+_0x15243a(0x318)+this['_state'][_0x15243a(0x2d5)]);this['_updateState'](_0x40738d);},'onSendChangeset':_0x30517b=>{const _0x537bde=_0xe852;_0x30517b[_0x537bde(0x3ac)]||(_0x30517b[_0x537bde(0x3ac)]=this['_changesetSessionId'],_0x30517b[_0x537bde(0x5b6)]=++this[_0x537bde(0x61f)]);const _0xd8dedf={'eventID':S[_0x537bde(0x5de)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x30517b[_0x537bde(0x351)],'unitType':this[_0x537bde(0x535)],'changeset':_0x30517b,'memberID':this[_0x537bde(0x3f5)]['getMemberID']()}};this[_0x537bde(0x3f5)][_0x537bde(0x43c)](_0xd8dedf,this[_0x537bde(0x351)]);},'onMissingChangesets':({from:_0x1b725a,to:_0x5d0ade})=>{const _0x4ca440=_0xe852;this['_logService']['debug'](_0x4ca440(0x587),_0x4ca440(0x5bc)+_0x1b725a+'\x20to\x20'+_0x5d0ade);const _0x185718={'eventID':S[_0x4ca440(0x5de)][_0x4ca440(0x22b)],'data':{'unitID':_0x1559de,'unitType':this[_0x4ca440(0x535)],'from':_0x1b725a,'to':_0x5d0ade}};this['session'][_0x4ca440(0x43c)](_0x185718,this[_0x4ca440(0x351)]);}};}async[_0x54516d(0x4fa)](_0x30000d){const _0x2f321d=_0x54516d;var _0x4b0707,_0x2b70d0;const _0x25929a=await this[_0x2f321d(0x3bf)][_0x2f321d(0x456)](this[_0x2f321d(0x351)]),_0x5f03e5=(_0x4b0707=_0x25929a==null?void 0x0:_0x25929a[_0x2f321d(0x1f3)])!=null?_0x4b0707:[],_0x464526=(_0x2b70d0=_0x25929a==null?void 0x0:_0x25929a[_0x2f321d(0x3fb)])!=null?_0x2b70d0:null,_0x1fc78a=!!(_0x464526!=null&&_0x464526[_0x2f321d(0x3ac)])&&!!(_0x464526!=null&&_0x464526[_0x2f321d(0x5b6)]);this[_0x2f321d(0x373)]=_0x1fc78a?_0x464526[_0x2f321d(0x3ac)]:mi(),this['_changesetReqId']=_0x1fc78a?_0x464526[_0x2f321d(0x5b6)]:0x0;const _0x253202=this[_0x2f321d(0x351)];try{this[_0x2f321d(0x1b1)](_0x464526,_0x5f03e5);}catch(_0x5dd379){this[_0x2f321d(0x241)]['error'](_0x5dd379);}const _0xd5d08d=this['_createHandler']();if(_0x30000d){const _0x582369=mn(this[_0x2f321d(0x47c)],_0x253202,this[_0x2f321d(0x535)],_0x464526,_0x5f03e5,_0xd5d08d);return _0x582369 instanceof ce?_0x582369[_0x2f321d(0x20b)]():(_0x582369 instanceof le||_0x582369 instanceof fe)&&_0x582369[_0x2f321d(0x243)](),_0x582369;}return this['_injector'][_0x2f321d(0x5d2)](me,_0x253202,this[_0x2f321d(0x535)],_0x464526,_0x5f03e5,_0xd5d08d);}[_0x54516d(0x1b1)](_0x3c99d3,_0x53aacc){const _0x353488=_0x54516d;var _0x15260e,_0x115329;const _0x67ea88=this['_compressMutationService']['interceptor'][_0x353488(0x5e7)](this[_0x353488(0x1fc)]['interceptor'][_0x353488(0x370)]()[_0x353488(0x602)]);(_0x15260e=_0x67ea88((_0x3c99d3==null?void 0x0:_0x3c99d3[_0x353488(0x1f3)])||[],null))==null||_0x15260e[_0x353488(0x1ba)](_0x480d24=>this[_0x353488(0x1ca)]['executeCommand'](_0x480d24['id'],_0x480d24[_0x353488(0x601)])),(_0x115329=_0x67ea88(_0x53aacc||[],null))==null||_0x115329[_0x353488(0x1ba)](_0x6fff1e=>this[_0x353488(0x1ca)][_0x353488(0x498)](_0x6fff1e['id'],_0x6fff1e[_0x353488(0x601)]));}},exports[_0x54516d(0x3a1)]=yt([H(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),H(0x4,a['Inject'](exports[_0x54516d(0x5ef)])),H(0x5,a['Inject'](S[_0x54516d(0x571)])),H(0x6,a['Inject'](a[_0x54516d(0x2a1)])),H(0x7,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),H(0x8,a['ILogService']),H(0x9,a[_0x54516d(0x18a)]),H(0xa,ee[_0x54516d(0x3ce)]),H(0xb,a['IPermissionService']),H(0xc,a['Optional'](qe))],exports[_0x54516d(0x3a1)]),exports[_0x54516d(0x31e)]=class extends exports[_0x54516d(0x3a1)]{constructor(_0x4ce199,_0x286092,_0x1ace3b,_0x5b46ec,_0x38362e,_0x59f06a,_0x2658ef,_0x46cab0,_0x3456f3,_0x4d3106,_0x1d2b39,_0x29647e,_0x96a82e,_0x290090,_0x454a81,_0xdcf7f6,_0x5c4565,_0x32630f){const _0x446acd=_0x54516d;super(_0x4ce199,_0x1ace3b,_0x286092,_0x5b46ec,_0x38362e,_0x59f06a,_0x2658ef,_0x46cab0,_0x290090,_0x454a81,_0xdcf7f6,_0x5c4565,_0x32630f),this['unitID']=_0x4ce199,this[_0x446acd(0x242)]=_0x286092,this[_0x446acd(0x2df)]=_0x3456f3,this[_0x446acd(0x55c)]=_0x4d3106,this[_0x446acd(0x440)]=_0x1d2b39,this['_docTransformSelectionsService']=_0x29647e,this[_0x446acd(0x409)]=_0x96a82e;}[_0x54516d(0x287)](){const _0x4268e2=_0x54516d,_0x1930b3=super[_0x4268e2(0x287)]();return _0x1930b3[_0x4268e2(0x269)]=_0x5b7d84=>this[_0x4268e2(0x55c)][_0x4268e2(0x4a6)](_0x5b7d84),_0x1930b3[_0x4268e2(0x1ab)]=_0x1dff46=>this[_0x4268e2(0x440)][_0x4268e2(0x2af)](_0x1dff46),_0x1930b3[_0x4268e2(0x413)]=_0x40b717=>this[_0x4268e2(0x4b7)][_0x4268e2(0x2bc)](_0x40b717),_0x1930b3[_0x4268e2(0x27a)]=_0x566be9=>this[_0x4268e2(0x409)][_0x4268e2(0x603)](_0x566be9),_0x1930b3[_0x4268e2(0x429)]=_0x5695a6=>this[_0x4268e2(0x55c)]['transformRemoteChangeset'](_0x5695a6),_0x1930b3[_0x4268e2(0x3cf)]=_0x2bcb80=>this[_0x4268e2(0x440)]['transformRemoteChangeset'](_0x2bcb80),_0x1930b3;}async[_0x54516d(0x488)](){const _0x5e902f=_0x54516d,_0x2a0a1f=await super[_0x5e902f(0x488)]();return this[_0x5e902f(0x2df)]['docStateChange$'][_0x5e902f(0x5f2)](A[_0x5e902f(0x42d)](this[_0x5e902f(0x610)]))[_0x5e902f(0x4d6)](_0x30aaf2=>{const _0x359121=_0x5e902f;if(_0x30aaf2==null)return;const {unitId:_0x3fb4d2,redoState:_0x1b6655,commandId:_0x49c77e}=_0x30aaf2;if(_0x3fb4d2!==this[_0x359121(0x351)])return;const _0x4ece27={'id':_0x49c77e,'type':a[_0x359121(0x52c)][_0x359121(0x5f9)],'params':{'unitId':_0x3fb4d2,'actions':_0x1b6655[_0x359121(0x35d)],'textRanges':null}};this[_0x359121(0x2c4)](_0x4ece27);}),_0x2a0a1f;}},exports[_0x54516d(0x31e)]=yt([H(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),H(0x4,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),H(0x5,a[_0x54516d(0x573)](S[_0x54516d(0x571)])),H(0x6,a['Inject'](a[_0x54516d(0x2a1)])),H(0x7,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),H(0x8,a['Inject'](J[_0x54516d(0x420)])),H(0x9,a[_0x54516d(0x573)](Be)),H(0xa,a[_0x54516d(0x573)](We)),H(0xb,a[_0x54516d(0x573)](Fe)),H(0xc,a[_0x54516d(0x573)](Rt)),H(0xd,a[_0x54516d(0x4ee)]),H(0xe,a[_0x54516d(0x18a)]),H(0xf,ee[_0x54516d(0x3ce)]),H(0x10,a[_0x54516d(0x369)]),H(0x11,a[_0x54516d(0x1ee)](qe))],exports[_0x54516d(0x31e)]),exports['SheetCollaborationEntity']=class extends exports[_0x54516d(0x3a1)]{constructor(_0x3323f9,_0x12960a,_0x2a9645,_0x10cb83,_0xc214b6,_0xc797bb,_0x5ac646,_0x155b67,_0x575e18,_0x24f23e,_0x1585ca,_0x5e58dc,_0xbabb4d,_0x30b7b1){const _0x5b5be3=_0x54516d;super(_0x3323f9,_0x2a9645,_0x12960a,_0x10cb83,_0xc214b6,_0xc797bb,_0x5ac646,_0x155b67,_0x24f23e,_0x1585ca,_0x5e58dc,_0xbabb4d,_0x30b7b1),this[_0x5b5be3(0x351)]=_0x3323f9,this[_0x5b5be3(0x242)]=_0x12960a,this[_0x5b5be3(0x3fc)]=_0x575e18;}[_0x54516d(0x287)](){const _0x46b36b=_0x54516d,_0x56549a=super['_createHandler']();return _0x56549a[_0x46b36b(0x413)]=_0x74bad4=>this['_sheetTransformSelectionsService'][_0x46b36b(0x2bc)](_0x74bad4),_0x56549a;}async[_0x54516d(0x488)](){const _0x327e3a=_0x54516d,_0x2f7e63=await super[_0x327e3a(0x488)]();return this[_0x327e3a(0x55b)](this[_0x327e3a(0x1ca)][_0x327e3a(0x2aa)]((_0x1f69f6,_0x5be50d)=>{const _0x1cb2eb=_0x327e3a;if(_0x1f69f6['type']!==a[_0x1cb2eb(0x52c)][_0x1cb2eb(0x5f9)]||_0x5be50d!=null&&_0x5be50d[_0x1cb2eb(0x315)]||_0x5be50d!=null&&_0x5be50d['onlyLocal'])return;const _0x32585b=_0x1f69f6[_0x1cb2eb(0x601)];if((_0x32585b==null?void 0x0:_0x32585b[_0x1cb2eb(0x427)])!==this[_0x1cb2eb(0x351)])return;const _0xcfcfbf=_0x1f69f6,_0xe53c0f=this['_compressMutationService'][_0x1cb2eb(0x4d8)][_0x1cb2eb(0x5e7)](this[_0x1cb2eb(0x1fc)][_0x1cb2eb(0x4d8)][_0x1cb2eb(0x370)]()[_0x1cb2eb(0x403)])([_0xcfcfbf],null)||[_0xcfcfbf];this[_0x1cb2eb(0x2c4)](_0xe53c0f[0x0]);})),_0x2f7e63;}},exports['SheetCollaborationEntity']=yt([H(0x3,a['Inject'](a[_0x54516d(0x33a)])),H(0x4,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),H(0x5,a[_0x54516d(0x573)](S[_0x54516d(0x571)])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),H(0x8,a[_0x54516d(0x573)](ke)),H(0x9,a[_0x54516d(0x4ee)]),H(0xa,a[_0x54516d(0x18a)]),H(0xb,ee[_0x54516d(0x3ce)]),H(0xc,a[_0x54516d(0x369)]),H(0xd,a[_0x54516d(0x1ee)](qe))],exports[_0x54516d(0x4bf)]);var Wi=Object['defineProperty'],Fi=Object['getOwnPropertyDescriptor'],Vi=(_0x359b98,_0x5a416c,_0x1cd9a9,_0x370031)=>{for(var _0x571a21=_0x370031>0x1?void 0x0:_0x370031?Fi(_0x5a416c,_0x1cd9a9):_0x5a416c,_0x286509=_0x359b98['length']-0x1,_0x34eacb;_0x286509>=0x0;_0x286509--)(_0x34eacb=_0x359b98[_0x286509])&&(_0x571a21=(_0x370031?_0x34eacb(_0x5a416c,_0x1cd9a9,_0x571a21):_0x34eacb(_0x571a21))||_0x571a21);return _0x370031&&_0x571a21&&Wi(_0x5a416c,_0x1cd9a9,_0x571a21),_0x571a21;},tt=(_0xb4a71d,_0x5cd3fe)=>(_0x579f1e,_0x34cf84)=>_0x5cd3fe(_0x579f1e,_0x34cf84,_0xb4a71d);exports['CollaborationController']=class extends a[_0x54516d(0x1d6)]{constructor(_0xc48bdf,_0x57028f,_0x14734a){const _0x373232=_0x54516d;super(),I(this,_0x373232(0x3c8),new Map()),I(this,_0x373232(0x4e1),new A['Subject']()),(this[_0x373232(0x47c)]=_0xc48bdf,this['_collabSessionService']=_0x57028f,this[_0x373232(0x228)]=_0x14734a,this[_0x373232(0x488)]());}[_0x54516d(0x417)](){const _0x42cd92=_0x54516d;super[_0x42cd92(0x417)](),this[_0x42cd92(0x3c8)][_0x42cd92(0x1ba)](_0x46f28b=>_0x46f28b[_0x42cd92(0x417)]()),this['_entities'][_0x42cd92(0x202)]();}[_0x54516d(0x3da)](_0x407462){const _0x2a220a=_0x54516d;var _0x5b7a04;return(_0x5b7a04=this[_0x2a220a(0x3c8)][_0x2a220a(0x3b1)](_0x407462))!=null?_0x5b7a04:null;}[_0x54516d(0x5df)](_0x554062){const _0x2234ec=_0x54516d,_0x5b893b=this[_0x2234ec(0x3da)](_0x554062);return _0x5b893b?A['of'](_0x5b893b):this['_entityInit$'][_0x2234ec(0x5f2)](V['filter'](_0x5cb23c=>_0x5cb23c[_0x2234ec(0x351)]===_0x554062));}[_0x54516d(0x488)](){const _0x328272=_0x54516d;this['_univerInstanceService'][_0x328272(0x3f1)](a[_0x328272(0x2f2)][_0x328272(0x299)])['pipe'](A[_0x328272(0x42d)](this[_0x328272(0x610)]),V['delay'](0x10))[_0x328272(0x4d6)](async _0xc9bcae=>{const _0xc80b1d=_0x328272,_0x149474=_0xc9bcae[_0xc80b1d(0x2c5)](),_0x277add=await this[_0xc80b1d(0x5b8)](_0x149474,ie['UNIVER_SHEET']);this['_entities']['set'](_0x149474,_0x277add);}),this[_0x328272(0x228)][_0x328272(0x3f1)](a[_0x328272(0x2f2)]['UNIVER_DOC'])['pipe'](A[_0x328272(0x42d)](this[_0x328272(0x610)]),V['delay'](0x10))['pipe'](V[_0x328272(0x292)](_0x136bba=>!_0x136bba[_0x328272(0x2c5)]()['startsWith']('__')))['subscribe'](async _0x569610=>{const _0x3e0eab=_0x328272,_0x5e5e81=_0x569610[_0x3e0eab(0x2c5)](),_0x571cb9=await this[_0x3e0eab(0x5b8)](_0x5e5e81,ie[_0x3e0eab(0x60e)]);this[_0x3e0eab(0x3c8)][_0x3e0eab(0x36d)](_0x5e5e81,_0x571cb9);}),A[_0x328272(0x349)](this[_0x328272(0x228)][_0x328272(0x2f8)](a[_0x328272(0x2f2)][_0x328272(0x299)]),this[_0x328272(0x228)][_0x328272(0x2f8)](a[_0x328272(0x2f2)][_0x328272(0x60e)]))[_0x328272(0x5f2)](A[_0x328272(0x42d)](this[_0x328272(0x610)]))['subscribe'](_0x410714=>{const _0x40bcab=_0x328272,_0xb27c44=_0x410714['getUnitId'](),_0x2d21b3=this[_0x40bcab(0x3c8)][_0x40bcab(0x3b1)](_0xb27c44);_0x2d21b3&&(_0x2d21b3['dispose'](),this[_0x40bcab(0x3c8)][_0x40bcab(0x1c4)](_0xb27c44));});}async[_0x54516d(0x5b8)](_0x448108,_0x75289e){const _0x3cc375=_0x54516d,_0x265925=await this[_0x3cc375(0x3b9)]['requireSession'](_0x448108),_0x26e075=this['_injector'][_0x3cc375(0x5d2)](this['_getCtorByUniverType'](_0x75289e),_0x448108,_0x75289e,_0x265925);return await _0x26e075[_0x3cc375(0x4eb)](),this['_entityInit$'][_0x3cc375(0x4bd)](_0x26e075),_0x26e075;}[_0x54516d(0x48b)](_0x184792){const _0x54df5f=_0x54516d;switch(_0x184792){case ie[_0x54df5f(0x60e)]:return exports[_0x54df5f(0x31e)];case ie[_0x54df5f(0x299)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x54df5f(0x61d)+_0x184792);}}},exports['CollaborationController']=Vi([tt(0x0,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),tt(0x1,a[_0x54516d(0x573)](exports[_0x54516d(0x580)])),tt(0x2,a[_0x54516d(0x4e2)])],exports['CollaborationController']);const $t=[_0x54516d(0x30b),_0x54516d(0x38f),_0x54516d(0x567),'red300',_0x54516d(0x54e),_0x54516d(0x1a9)];class Ot extends a[_0x54516d(0x25e)]{constructor(){const _0x4cfdd3=_0x54516d;super(...arguments),I(this,_0x4cfdd3(0x480),new Map()),I(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x51c7dc){const _0x506a67=_0x54516d;if(this[_0x506a67(0x480)][_0x506a67(0x468)](_0x51c7dc))return this[_0x506a67(0x480)]['get'](_0x51c7dc);const _0x495425=$t[this[_0x506a67(0x1de)]];return this[_0x506a67(0x1de)]=(this[_0x506a67(0x1de)]+0x1)%$t[_0x506a67(0x5e8)],this[_0x506a67(0x480)][_0x506a67(0x36d)](_0x51c7dc,_0x495425),_0x495425;}}var Gi=Object[_0x54516d(0x461)],Yi=Object[_0x54516d(0x363)],Ki=(_0xdaef18,_0x5f2df1,_0x1067b9,_0x524750)=>{for(var _0x121754=_0x524750>0x1?void 0x0:_0x524750?Yi(_0x5f2df1,_0x1067b9):_0x5f2df1,_0xf56ab3=_0xdaef18['length']-0x1,_0x1a3aa3;_0xf56ab3>=0x0;_0xf56ab3--)(_0x1a3aa3=_0xdaef18[_0xf56ab3])&&(_0x121754=(_0x524750?_0x1a3aa3(_0x5f2df1,_0x1067b9,_0x121754):_0x1a3aa3(_0x121754))||_0x121754);return _0x524750&&_0x121754&&Gi(_0x5f2df1,_0x1067b9,_0x121754),_0x121754;},Se=(_0x57afb5,_0x2d1625)=>(_0x191dd1,_0x15f775)=>_0x2d1625(_0x191dd1,_0x15f775,_0x57afb5);const qi=0x12c,zi=0x64;let mt=class extends a[_0x54516d(0x1d6)]{constructor(_0x513253,_0x430096,_0x525d05,_0x3788dc,_0x493b50,_0x3a91bf,_0x4c7418,_0x456e0c,_0x4add1b){const _0x3f20c8=_0x54516d;super(),I(this,_0x3f20c8(0x262),!0x1),I(this,'_init',!0x1),I(this,_0x3f20c8(0x3cb),new A['BehaviorSubject'](new Map())),I(this,_0x3f20c8(0x2a2),this[_0x3f20c8(0x3cb)][_0x3f20c8(0x1a1)]()),I(this,_0x3f20c8(0x254),new A[(_0x3f20c8(0x598))]([])),I(this,_0x3f20c8(0x41e),this[_0x3f20c8(0x254)][_0x3f20c8(0x5f2)](A[_0x3f20c8(0x2f0)](qi))),I(this,'_updateLocalCursor',a[_0x3f20c8(0x561)](_0x595955=>{const _0x3cf67f=_0x3f20c8,_0xd7f4ac={'eventID':S[_0x3cf67f(0x5de)][_0x3cf67f(0x485)],'data':{'unitID':this['unitID'],'memberID':this[_0x3cf67f(0x380)][_0x3cf67f(0x36c)](),'selection':dn(_0x595955)}};this[_0x3cf67f(0x380)][_0x3cf67f(0x43c)](_0xd7f4ac,this[_0x3cf67f(0x351)]);},zi)),(this[_0x3f20c8(0x351)]=_0x513253,this[_0x3f20c8(0x380)]=_0x430096,this[_0x3f20c8(0x47c)]=_0x525d05,this[_0x3f20c8(0x272)]=_0x3788dc,this['_memberService']=_0x493b50,this[_0x3f20c8(0x312)]=_0x3a91bf,this[_0x3f20c8(0x579)]=_0x4c7418,this[_0x3f20c8(0x228)]=_0x456e0c,this[_0x3f20c8(0x1ca)]=_0x4add1b);}get[_0x54516d(0x31f)](){const _0x3f8422=_0x54516d;return this['_cursorInfo$'][_0x3f8422(0x371)]();}get['roomMembers'](){const _0x57f1e8=_0x54516d;return this[_0x57f1e8(0x254)][_0x57f1e8(0x371)]();}[_0x54516d(0x417)](){const _0xdbd521=_0x54516d;super[_0xdbd521(0x417)](),this['_cursorInfo$'][_0xdbd521(0x4bd)](new Map()),this['_cursorInfo$'][_0xdbd521(0x28e)](),this[_0xdbd521(0x254)][_0xdbd521(0x4bd)]([]),this['_roomMembers$'][_0xdbd521(0x28e)]();}[_0x54516d(0x4eb)](){const _0x3ea275=_0x54516d;this[_0x3ea275(0x488)]||(this[_0x3ea275(0x488)]=!0x0,this[_0x3ea275(0x380)][_0x3ea275(0x415)][_0x3ea275(0x5f2)](A['takeUntil'](this[_0x3ea275(0x610)]))['subscribe'](_0x30c298=>{const _0x24151c=_0x3ea275;_0x30c298===se[_0x24151c(0x608)]?this[_0x24151c(0x45c)]():this['_toggleOffline']();}),this[_0x3ea275(0x380)]['event$'][_0x3ea275(0x5f2)](A[_0x3ea275(0x42d)](this[_0x3ea275(0x610)]))[_0x3ea275(0x4d6)](_0x38d638=>{const _0x284e52=_0x3ea275,_0x8a6406=_0x38d638[_0x284e52(0x4aa)];_0x8a6406===S[_0x284e52(0x5de)][_0x284e52(0x485)]&&this[_0x284e52(0x236)](_0x38d638),_0x8a6406===S[_0x284e52(0x5de)]['USERS_LEAVE']&&this[_0x284e52(0x519)](_0x38d638);}),this[_0x3ea275(0x55b)](this[_0x3ea275(0x1ca)][_0x3ea275(0x2aa)](_0x1cc80c=>{const _0x3c0328=_0x3ea275,_0x3c28c2=_0x1cc80c[_0x3c0328(0x601)];_0x3c28c2!=null&&this[_0x3c0328(0x262)]&&_0x1cc80c['id']===ye[_0x3c0328(0x50e)]['id']&&_0x3c28c2[_0x3c0328(0x427)]===this[_0x3c0328(0x351)]&&_0x3c28c2['isEditing']===!0x1&&_0x3c28c2['ranges'][_0x3c0328(0x5e8)]>0x0&&this[_0x3c0328(0x32e)](_0x3c28c2[_0x3c0328(0x416)]);})),this['_syncEditingCollabCursorService'][_0x3ea275(0x2ad)][_0x3ea275(0x5f2)](A['takeUntil'](this[_0x3ea275(0x610)]))[_0x3ea275(0x4d6)](_0x18e3a3=>{const _0x3627e5=_0x3ea275;if((_0x18e3a3==null?void 0x0:_0x18e3a3[_0x3627e5(0x351)])!==this['unitID'])return;const _0x2e70e9={'eventID':S[_0x3627e5(0x5de)][_0x3627e5(0x485)],'data':_0x18e3a3};this[_0x3627e5(0x236)](_0x2e70e9);}),this['disposeWithMe'](this[_0x3ea275(0x1ca)][_0x3ea275(0x2aa)](_0x5be290=>{const _0x37c3bb=_0x3ea275;if(_0x5be290[_0x37c3bb(0x601)]==null)return;const _0x9d2924=_0x5be290[_0x37c3bb(0x601)];if(_0x5be290['id']!==ye['RichTextEditingMutation']['id']||_0x9d2924['unitId']!==this[_0x37c3bb(0x351)])return;const _0x1fff02={'id':_0x37c3bb(0x47f),'params':_0x9d2924},_0x1aa83d=this[_0x37c3bb(0x31f)];for(const [_0x150a84,_0x5158e0]of _0x1aa83d){const _0x43f332={'id':_0x37c3bb(0x47f),'params':{'unitId':this[_0x37c3bb(0x351)],'actions':null,'textRanges':_0x5158e0[_0x37c3bb(0x416)]}},_0x411714=this[_0x37c3bb(0x579)][_0x37c3bb(0x4bb)](_0x1fff02,_0x43f332,!0x1);if(S[_0x37c3bb(0x311)](_0x411714))throw _0x411714[_0x37c3bb(0x29f)];_0x1aa83d[_0x37c3bb(0x36d)](_0x150a84,{..._0x5158e0,'ranges':_0x411714['m2Prime']['params'][_0x37c3bb(0x329)]});}queueMicrotask(()=>{const _0x3c4605=_0x37c3bb;this[_0x3c4605(0x3cb)][_0x3c4605(0x4bd)](_0x1aa83d);});})));}[_0x54516d(0x236)](_0x2c9844){const _0x4a71c5=_0x54516d;var _0xbca48b,_0x42cf74;const {memberID:_0x18e390,selection:_0x4e1b15}=_0x2c9844[_0x4a71c5(0x547)],_0xbc366e=Ui(_0x4e1b15),_0x1ab4a3=(_0x42cf74=(_0xbca48b=this['_memberService'][_0x4a71c5(0x2d0)](this[_0x4a71c5(0x351)],_0x18e390))==null?void 0x0:_0xbca48b[_0x4a71c5(0x5fa)])!=null?_0x42cf74:_0x4a71c5(0x1db),_0x2d7d49={'color':this[_0x4a71c5(0x272)]['assignAColorForMemberID'](_0x18e390),'name':_0x1ab4a3,'ranges':_0xbc366e},_0x47908a=this[_0x4a71c5(0x31f)];_0x47908a[_0x4a71c5(0x36d)](_0x18e390,_0x2d7d49),this['_cursorInfo$'][_0x4a71c5(0x4bd)](_0x47908a);}[_0x54516d(0x519)](_0x540b6f){const _0x5a6600=_0x54516d,{memberID:_0x16fdcb}=_0x540b6f[_0x5a6600(0x547)],_0x14c70d=this[_0x5a6600(0x31f)];_0x14c70d[_0x5a6600(0x1c4)](_0x16fdcb),this[_0x5a6600(0x3cb)][_0x5a6600(0x4bd)](_0x14c70d);}[_0x54516d(0x45c)](){const _0x1c2c9a=_0x54516d;var _0x2e484b;if(this[_0x1c2c9a(0x262)]=!0x0,((_0x2e484b=this[_0x1c2c9a(0x228)]['getFocusedUnit']())==null?void 0x0:_0x2e484b['getUnitId']())!==this[_0x1c2c9a(0x351)])return;const _0x32aeb8=this[_0x1c2c9a(0x47c)]['get'](ye[_0x1c2c9a(0x4d3)])[_0x1c2c9a(0x27e)]();Array[_0x1c2c9a(0x5a7)](_0x32aeb8)&&_0x32aeb8[_0x1c2c9a(0x5e8)]>0x0&&this[_0x1c2c9a(0x32e)](_0x32aeb8);}[_0x54516d(0x25d)](){const _0x22e3a4=_0x54516d;this[_0x22e3a4(0x262)]=!0x1;}};mt=Ki([Se(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),Se(0x3,a['Inject'](Ot)),Se(0x4,a[_0x54516d(0x573)](exports[_0x54516d(0x3a8)])),Se(0x5,a[_0x54516d(0x573)](Rt)),Se(0x6,S['ITransformService']),Se(0x7,a[_0x54516d(0x4e2)]),Se(0x8,a[_0x54516d(0x18a)])],mt);var Xi=Object['defineProperty'],Ji=Object['getOwnPropertyDescriptor'],Zi=(_0x289fe2,_0x4755f9,_0x2fc7d6,_0x1b1eb4)=>{const _0x377ee6=_0x54516d;for(var _0x467653=_0x1b1eb4>0x1?void 0x0:_0x1b1eb4?Ji(_0x4755f9,_0x2fc7d6):_0x4755f9,_0x1c6afb=_0x289fe2[_0x377ee6(0x5e8)]-0x1,_0x1e5ba5;_0x1c6afb>=0x0;_0x1c6afb--)(_0x1e5ba5=_0x289fe2[_0x1c6afb])&&(_0x467653=(_0x1b1eb4?_0x1e5ba5(_0x4755f9,_0x2fc7d6,_0x467653):_0x1e5ba5(_0x467653))||_0x467653);return _0x1b1eb4&&_0x467653&&Xi(_0x4755f9,_0x2fc7d6,_0x467653),_0x467653;},be=(_0x9c2cf0,_0x5a81f3)=>(_0x444d49,_0x345583)=>_0x5a81f3(_0x444d49,_0x345583,_0x9c2cf0);const Qi=0x12c,es=0x64,ts=()=>{let _0x19a3fc=[],_0x442926=!0x1;return _0x2b4171=>{const _0x5f1bbf=_0xe852;_0x19a3fc[_0x5f1bbf(0x26e)](_0x2b4171),_0x442926||(_0x442926=!0x0,setTimeout(()=>{const _0x18c94d=_0x5f1bbf;_0x19a3fc[_0x18c94d(0x1ba)](_0x27d158=>_0x27d158()),_0x19a3fc=[],_0x442926=!0x1;}));};};let St=class extends a['RxDisposable']{constructor(_0x2c8fb0,_0x140176,_0x42a45b,_0xa15b04,_0x5a0189,_0x57d4cf,_0x41d3e6,_0x518f62){const _0x454969=_0x54516d;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,_0x454969(0x3cb),new A[(_0x454969(0x598))](new Map())),I(this,_0x454969(0x2a2),this[_0x454969(0x3cb)][_0x454969(0x1a1)]()),I(this,_0x454969(0x254),new A['BehaviorSubject']([])),I(this,_0x454969(0x41e),this[_0x454969(0x254)][_0x454969(0x5f2)](A[_0x454969(0x2f0)](Qi))),I(this,_0x454969(0x32e),a[_0x454969(0x561)]((_0x3db3df,_0x22b75d)=>{const _0x22f9e7=_0x454969,_0x5355a1={'eventID':S[_0x22f9e7(0x5de)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x22f9e7(0x351)],'memberID':this[_0x22f9e7(0x380)][_0x22f9e7(0x36c)](),'selection':Pt[_0x22f9e7(0x53c)](_0x3db3df,_0x22b75d['range'])}};this[_0x22f9e7(0x380)][_0x22f9e7(0x43c)](_0x5355a1,this['unitID']);},es)),(this[_0x454969(0x351)]=_0x2c8fb0,this['_session']=_0x140176,this[_0x454969(0x47c)]=_0x42a45b,this[_0x454969(0x272)]=_0xa15b04,this[_0x454969(0x543)]=_0x5a0189,this[_0x454969(0x228)]=_0x57d4cf,this[_0x454969(0x1ca)]=_0x41d3e6,this['_refRangeService']=_0x518f62);}get[_0x54516d(0x31f)](){const _0x220394=_0x54516d;return this[_0x220394(0x3cb)][_0x220394(0x371)]();}get['roomMembers'](){const _0x3edd4b=_0x54516d;return this[_0x3edd4b(0x254)]['getValue']();}['dispose'](){const _0x55e8c4=_0x54516d;super[_0x55e8c4(0x417)](),this[_0x55e8c4(0x3cb)][_0x55e8c4(0x4bd)](new Map()),this[_0x55e8c4(0x3cb)][_0x55e8c4(0x28e)](),this['_roomMembers$'][_0x55e8c4(0x4bd)]([]),this[_0x55e8c4(0x254)][_0x55e8c4(0x28e)]();}['init'](){const _0x55cdd4=_0x54516d;this[_0x55cdd4(0x488)]||(this[_0x55cdd4(0x488)]=!0x0,this[_0x55cdd4(0x380)][_0x55cdd4(0x415)][_0x55cdd4(0x5f2)](A[_0x55cdd4(0x42d)](this['dispose$']))[_0x55cdd4(0x4d6)](_0x205a98=>{const _0x7f4ff4=_0x55cdd4;_0x205a98===se[_0x7f4ff4(0x608)]?this[_0x7f4ff4(0x45c)]():this['_toggleOffline']();}),this['_session']['event$'][_0x55cdd4(0x5f2)](A[_0x55cdd4(0x42d)](this[_0x55cdd4(0x610)]))[_0x55cdd4(0x4d6)](_0x3f9698=>{const _0x62685f=_0x55cdd4,_0x1213a2=_0x3f9698[_0x62685f(0x4aa)];_0x1213a2===S[_0x62685f(0x5de)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3f9698),_0x1213a2===S[_0x62685f(0x5de)][_0x62685f(0x58b)]&&this[_0x62685f(0x519)](_0x3f9698);}),this[_0x55cdd4(0x5d8)](),this[_0x55cdd4(0x55b)](this[_0x55cdd4(0x1ca)]['onCommandExecuted'](_0x3b295b=>{const _0x3b170c=_0x55cdd4;if(this[_0x3b170c(0x262)]&&_0x3b295b['id']===k[_0x3b170c(0x4b9)]['id']&&_0x3b295b[_0x3b170c(0x601)][_0x3b170c(0x427)]===this['unitID']){const _0x3819c3=_0x3b295b[_0x3b170c(0x601)];this[_0x3b170c(0x32e)](_0x3819c3['subUnitId'],_0x3819c3['selections'][0x0]);}})));}[_0x54516d(0x236)](_0x316cc1){const _0x205842=_0x54516d;var _0x935805,_0x30eec7;const {memberID:_0x28baee,selection:_0x2d5abc}=_0x316cc1[_0x205842(0x547)],{sheetName:_0x4c1c75,range:_0x220aa4}=Pt[_0x205842(0x539)](_0x2d5abc),_0x4c25b1={'name':(_0x30eec7=(_0x935805=this[_0x205842(0x543)][_0x205842(0x2d0)](this[_0x205842(0x351)],_0x28baee))==null?void 0x0:_0x935805[_0x205842(0x5fa)])!=null?_0x30eec7:'Unknown\x20user','range':this[_0x205842(0x1b7)](_0x4c1c75,_0x220aa4),'sheetID':_0x4c1c75,'color':this['_colorAssignService'][_0x205842(0x405)](_0x28baee),'selection':_0x2d5abc},_0x2b25a4=this[_0x205842(0x31f)];_0x2b25a4[_0x205842(0x36d)](_0x28baee,_0x4c25b1),this[_0x205842(0x3cb)][_0x205842(0x4bd)](_0x2b25a4);}['_onCursorDelete'](_0x42db7a){const _0x432233=_0x54516d,{memberID:_0xdf1643}=_0x42db7a['data'],_0x357f08=this[_0x432233(0x31f)];_0x357f08[_0x432233(0x1c4)](_0xdf1643),this[_0x432233(0x3cb)][_0x432233(0x4bd)](_0x357f08);}[_0x54516d(0x1b7)](_0x32c8ab,_0x4e97cf){const _0x5afaa5=_0x54516d;var _0xa4c14b,_0x491637;const _0x148b66=(_0x491637=(_0xa4c14b=this[_0x5afaa5(0x228)][_0x5afaa5(0x5c2)](this[_0x5afaa5(0x351)]))==null?void 0x0:_0xa4c14b[_0x5afaa5(0x28c)](_0x32c8ab))==null?void 0x0:_0x491637[_0x5afaa5(0x2c0)]();return(_0x148b66==null?void 0x0:_0x148b66[_0x5afaa5(0x4d1)](_0x1f2771=>a['Rectangle'][_0x5afaa5(0x2a7)](_0x1f2771,_0x4e97cf)))||_0x4e97cf;}[_0x54516d(0x5d8)](){const _0x7c0e14=_0x54516d,_0x1a8f58=new a[(_0x7c0e14(0x1b5))](),_0x2b09eb=ts(),_0x2a30f8=()=>{const _0x2ca5df=_0x7c0e14;_0x1a8f58[_0x2ca5df(0x417)]();const _0x4e78ee=(_0x381350,_0x46d688,_0x3653cc,_0x48bc41)=>{const _0x2b7a77=_0x2ca5df;let _0x2ea7d7=[];switch(_0x381350['id']){case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x2e9)]:{_0x2ea7d7=k[_0x2b7a77(0x430)](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x1f0)]:{_0x2ea7d7=k[_0x2b7a77(0x3f4)](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x5c6)]:{_0x2ea7d7=k[_0x2b7a77(0x3c3)](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x33d)]:{_0x2ea7d7=k[_0x2b7a77(0x604)](_0x381350,_0x48bc41);break;}case k['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x2ea7d7=k['handleInsertRangeMoveRight'](_0x381350,_0x48bc41);break;}case k['EffectRefRangId'][_0x2b7a77(0x17f)]:{_0x2ea7d7=k['handleInsertRow'](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)]['MoveRangeCommandId']:{_0x2ea7d7=k[_0x2b7a77(0x42e)](_0x381350,_0x48bc41);break;}case k['EffectRefRangId'][_0x2b7a77(0x319)]:{_0x2ea7d7=k[_0x2b7a77(0x548)](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x410)]:{_0x2ea7d7=k[_0x2b7a77(0x2d6)](_0x381350,_0x48bc41);break;}}const _0x15c3e5=k['runRefRangeMutations'](_0x2ea7d7,_0x48bc41),_0x54bbad=this[_0x2b7a77(0x31f)][_0x2b7a77(0x3b1)](_0x46d688);if(_0x54bbad&&_0x15c3e5){const _0x3d0ca0={..._0x54bbad,'range':_0x15c3e5};this['cursorInfo']['set'](_0x46d688,_0x3d0ca0),_0x2b09eb(()=>{const _0x4b8f74=_0x2b7a77,_0x2257d6=this['_refRangeService']['registerRefRange'](_0x15c3e5,_0x54497f=>(_0x2257d6[_0x4b8f74(0x417)](),_0x4e78ee(_0x54497f,_0x46d688,_0x3653cc,_0x15c3e5)));_0x1a8f58[_0x4b8f74(0x2ba)](_0x2257d6);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x39d119,_0x99892c)=>{const _0x48211c=_0x2ca5df,{range:_0xbfdb2e,sheetID:_0x233c4c}=_0x39d119,_0x100aa7=this['_refRangeService']['registerRefRange'](_0xbfdb2e,_0x31a941=>(_0x100aa7[_0x48211c(0x417)](),_0x4e78ee(_0x31a941,_0x99892c,_0x233c4c,_0xbfdb2e)));_0x1a8f58[_0x48211c(0x2ba)](_0x100aa7);});};this[_0x7c0e14(0x55b)](a[_0x7c0e14(0x562)](this['_cursorInfo$'][_0x7c0e14(0x4d6)](()=>{_0x2a30f8();})));}[_0x54516d(0x45c)](){const _0xf4eda6=_0x54516d;var _0x54f790,_0x874c90;if(this[_0xf4eda6(0x262)]=!0x0,((_0x54f790=this[_0xf4eda6(0x228)][_0xf4eda6(0x310)]())==null?void 0x0:_0x54f790[_0xf4eda6(0x2c5)]())!==this['unitID'])return;const _0x3093f6=(_0x874c90=this[_0xf4eda6(0x47c)]['get'](k[_0xf4eda6(0x398)])[_0xf4eda6(0x5dc)]())==null?void 0x0:_0x874c90[0x0],_0x43f431=this[_0xf4eda6(0x228)]['getCurrentUnitForType'](a[_0xf4eda6(0x2f2)][_0xf4eda6(0x299)])['getActiveSheet']();_0x3093f6&&_0x43f431&&this[_0xf4eda6(0x32e)](_0x43f431[_0xf4eda6(0x297)](),_0x3093f6);}[_0x54516d(0x25d)](){const _0x5b54ee=_0x54516d;this[_0x5b54ee(0x262)]=!0x1;}};St=Zi([be(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),be(0x3,a[_0x54516d(0x573)](Ot)),be(0x4,a[_0x54516d(0x573)](exports['MemberService'])),be(0x5,a[_0x54516d(0x4e2)]),be(0x6,a['ICommandService']),be(0x7,a[_0x54516d(0x573)](k[_0x54516d(0x5b5)]))],St);var ns=Object[_0x54516d(0x461)],is=Object['getOwnPropertyDescriptor'],ss=(_0xadde73,_0x533abf,_0x26e62f,_0x4b2532)=>{const _0x59acd8=_0x54516d;for(var _0x2cab9e=_0x4b2532>0x1?void 0x0:_0x4b2532?is(_0x533abf,_0x26e62f):_0x533abf,_0x350267=_0xadde73[_0x59acd8(0x5e8)]-0x1,_0x5cf045;_0x350267>=0x0;_0x350267--)(_0x5cf045=_0xadde73[_0x350267])&&(_0x2cab9e=(_0x4b2532?_0x5cf045(_0x533abf,_0x26e62f,_0x2cab9e):_0x5cf045(_0x2cab9e))||_0x2cab9e);return _0x4b2532&&_0x2cab9e&&ns(_0x533abf,_0x26e62f,_0x2cab9e),_0x2cab9e;},nt=(_0xaa448b,_0x1ba141)=>(_0x5e2417,_0x5e151d)=>_0x1ba141(_0x5e2417,_0x5e151d,_0xaa448b);let De=class extends a['RxDisposable']{constructor(_0x528da2,_0xcee286,_0x47b2b7){const _0x1ae52d=_0x54516d;super(),I(this,_0x1ae52d(0x3c8),new Map()),I(this,_0x1ae52d(0x4e1),new A[(_0x1ae52d(0x465))]()),(this[_0x1ae52d(0x228)]=_0x528da2,this[_0x1ae52d(0x47c)]=_0xcee286,this[_0x1ae52d(0x3b9)]=_0x47b2b7,this[_0x1ae52d(0x488)]());}[_0x54516d(0x417)](){const _0x475e09=_0x54516d;super[_0x475e09(0x417)](),this['_entityInit$'][_0x475e09(0x28e)](),this['_entities']['forEach'](_0x5e6e01=>_0x5e6e01[_0x475e09(0x417)]());}[_0x54516d(0x2bf)](_0x24a7ec){const _0x3d9e8a=_0x54516d;return this[_0x3d9e8a(0x3c8)][_0x3d9e8a(0x468)](_0x24a7ec)?this[_0x3d9e8a(0x3c8)][_0x3d9e8a(0x3b1)](_0x24a7ec)['cursorInfo$']:this[_0x3d9e8a(0x4e1)]['pipe'](A[_0x3d9e8a(0x292)](_0x262e6b=>_0x262e6b['unitID']===_0x24a7ec),A['switchMap'](_0x5f5da4=>_0x5f5da4[_0x3d9e8a(0x2a2)]));}[_0x54516d(0x488)](){const _0x594168=_0x54516d;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x594168(0x2f2)][_0x594168(0x299)])['pipe'](A[_0x594168(0x42d)](this[_0x594168(0x610)]))[_0x594168(0x4d6)](async _0x4bb64f=>{const _0x2d4f91=_0x594168,_0x2166a1=_0x4bb64f[_0x2d4f91(0x2c5)](),_0x2ac9fb=await this['_startSheetCollabCursor'](_0x2166a1);this['_entityInit$']['next'](_0x2ac9fb),this[_0x2d4f91(0x3c8)][_0x2d4f91(0x36d)](_0x2166a1,_0x2ac9fb);}),this[_0x594168(0x228)][_0x594168(0x3f1)](a['UniverInstanceType'][_0x594168(0x60e)])[_0x594168(0x5f2)](A[_0x594168(0x42d)](this[_0x594168(0x610)]))[_0x594168(0x5f2)](A[_0x594168(0x292)](_0xab48be=>!_0xab48be[_0x594168(0x2c5)]()[_0x594168(0x209)]('__')))[_0x594168(0x4d6)](async _0x34b5d8=>{const _0x13f44a=_0x594168,_0x4e10de=_0x34b5d8[_0x13f44a(0x2c5)](),_0x56ce62=await this[_0x13f44a(0x2b9)](_0x4e10de);this[_0x13f44a(0x4e1)][_0x13f44a(0x4bd)](_0x56ce62),this[_0x13f44a(0x3c8)][_0x13f44a(0x36d)](_0x4e10de,_0x56ce62);}),A[_0x594168(0x349)](this[_0x594168(0x228)][_0x594168(0x2f8)](a[_0x594168(0x2f2)]['UNIVER_DOC']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x594168(0x2f2)][_0x594168(0x299)]))[_0x594168(0x5f2)](A[_0x594168(0x42d)](this['dispose$']))[_0x594168(0x4d6)](_0x3da0f3=>{const _0x329bc5=_0x594168,_0x4517cf=_0x3da0f3[_0x329bc5(0x2c5)](),_0x293dcf=this[_0x329bc5(0x3c8)][_0x329bc5(0x3b1)](_0x4517cf);_0x293dcf&&(_0x293dcf[_0x329bc5(0x417)](),this[_0x329bc5(0x3c8)][_0x329bc5(0x1c4)](_0x4517cf));});}async[_0x54516d(0x31c)](_0x8cb7eb){const _0x56fd61=_0x54516d,_0x472158=await this[_0x56fd61(0x3b9)][_0x56fd61(0x2fd)](_0x8cb7eb),_0x53dff5=this[_0x56fd61(0x47c)][_0x56fd61(0x5d2)](St,_0x8cb7eb,_0x472158);return _0x53dff5[_0x56fd61(0x4eb)](),_0x53dff5;}async[_0x54516d(0x2b9)](_0x4bb5c5){const _0x2a2d79=_0x54516d,_0x347ceb=await this[_0x2a2d79(0x3b9)][_0x2a2d79(0x2fd)](_0x4bb5c5),_0x4c3589=this[_0x2a2d79(0x47c)]['createInstance'](mt,_0x4bb5c5,_0x347ceb);return _0x4c3589['init'](),_0x4c3589;}};De=ss([nt(0x0,a[_0x54516d(0x4e2)]),nt(0x1,a[_0x54516d(0x573)](a['Injector'])),nt(0x2,a['Inject'](exports[_0x54516d(0x580)]))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x28703e,_0x468761){const _0x5f5513=_0x54516d;let {radius:_0x58a427,width:_0x594c63,height:_0x22bbe6}=_0x468761;_0x58a427=_0x58a427!=null?_0x58a427:0x0,_0x594c63=_0x594c63!=null?_0x594c63:0x1e,_0x22bbe6=_0x22bbe6!=null?_0x22bbe6:0x1e;let _0x482829=0x0,_0x2ee1b9=0x0,_0x404e96=0x0;_0x482829=_0x2ee1b9=_0x404e96=Math['min'](_0x58a427,_0x594c63/0x2,_0x22bbe6/0x2),_0x28703e[_0x5f5513(0x60c)](),_0x28703e[_0x5f5513(0x37e)](_0x482829,0x0),_0x28703e[_0x5f5513(0x281)](_0x594c63-_0x2ee1b9,0x0),_0x28703e[_0x5f5513(0x1bf)](_0x594c63-_0x2ee1b9,_0x2ee1b9,_0x2ee1b9,Math['PI']*0x3/0x2,0x0,!0x1),_0x28703e[_0x5f5513(0x281)](_0x594c63,_0x22bbe6-_0x404e96),_0x28703e[_0x5f5513(0x1bf)](_0x594c63-_0x404e96,_0x22bbe6-_0x404e96,_0x404e96,0x0,Math['PI']/0x2,!0x1),_0x28703e['lineTo'](0x0,_0x22bbe6),_0x28703e[_0x5f5513(0x281)](0x0,_0x482829),_0x28703e[_0x5f5513(0x1bf)](_0x482829,_0x482829,_0x482829,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28703e[_0x5f5513(0x44e)](),_0x468761[_0x5f5513(0x4c0)]&&(_0x28703e[_0x5f5513(0x38d)](),_0x28703e[_0x5f5513(0x518)]=_0x468761[_0x5f5513(0x4c0)],_0x468761['fillRule']==='evenodd'?_0x28703e[_0x5f5513(0x4c0)](_0x5f5513(0x4e4)):_0x28703e[_0x5f5513(0x4c0)](),_0x28703e['restore']());}class ze extends K['Shape']{constructor(_0x139c33,_0x2ef0b7){const _0x41b975=_0x54516d;super(_0x139c33,_0x2ef0b7),I(this,_0x41b975(0x3ec)),I(this,_0x41b975(0x53e)),(this['color']=_0x2ef0b7==null?void 0x0:_0x2ef0b7[_0x41b975(0x3ec)],this[_0x41b975(0x53e)]=_0x2ef0b7==null?void 0x0:_0x2ef0b7[_0x41b975(0x53e)]);}static[_0x54516d(0x37c)](_0x8554f,_0x118830){const _0x28efaf=_0x54516d,{text:_0x375862,color:_0x2f52b2}=_0x118830;_0x8554f[_0x28efaf(0x38d)](),_0x8554f[_0x28efaf(0x3f7)]=_0x28efaf(0x593);const _0x4765c7=_0x8554f['measureText'](_0x375862)[_0x28efaf(0x1ce)],_0x169b44=Math[_0x28efaf(0x34c)](_0x4765c7+0x2*it,Ht);os(_0x8554f,{'height':Le,'radius':0x4,'width':_0x169b44,'fill':_0x2f52b2,'evented':!0x1}),_0x8554f[_0x28efaf(0x518)]=_0x28efaf(0x474);const _0x400fc5=it,_0x117d95=Le-rs,_0xa9af1d=Ht-0x2*it;if(_0x4765c7>_0xa9af1d){let _0xf307e2='',_0x469a69=0x0;for(const _0x177b36 of _0x375862){const _0x157b99=_0x8554f['measureText'](_0x177b36)[_0x28efaf(0x1ce)];if(_0x469a69+_0x157b99<=_0xa9af1d-_0x8554f['measureText'](_0x28efaf(0x544))[_0x28efaf(0x1ce)])_0xf307e2+=_0x177b36,_0x469a69+=_0x157b99;else{_0xf307e2+=_0x28efaf(0x544);break;}}_0x8554f['fillText'](_0xf307e2,_0x400fc5,_0x117d95);}else _0x8554f[_0x28efaf(0x368)](_0x375862,_0x400fc5,_0x117d95);_0x8554f['restore']();}[_0x54516d(0x50d)](_0x202295){const _0x1a2975=_0x54516d;ze[_0x1a2975(0x37c)](_0x202295,this);}}const st=_0x54516d(0x382),as=_0x54516d(0x189),cs=_0x54516d(0x5d0),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x54516d(0x54a);class Bt{constructor(_0xd762e4,_0x1e56ef,_0xeca645,_0x531475){const _0x79784f=_0x54516d;I(this,_0x79784f(0x313),[]),I(this,_0x79784f(0x611),null),I(this,_0x79784f(0x55e),null),I(this,_0x79784f(0x21f),null),I(this,_0x79784f(0x42c),null),I(this,_0x79784f(0x57d),null),(this[_0x79784f(0x196)]=_0xd762e4,this[_0x79784f(0x438)]=_0x1e56ef,this[_0x79784f(0x4d9)]=_0xeca645,this[_0x79784f(0x317)]=_0x531475,this[_0x79784f(0x47a)]());}set[_0x54516d(0x607)](_0x414183){const _0xf01249=_0x54516d;_0x414183?(this[_0xf01249(0x21f)]&&this['_anchorDot'][_0xf01249(0x2e6)](),this[_0xf01249(0x55e)]&&this[_0xf01249(0x55e)][_0xf01249(0x5e3)]()):(this['_anchorDot']&&this[_0xf01249(0x21f)]['show'](),this[_0xf01249(0x55e)]&&this[_0xf01249(0x55e)]['hide']());}[_0x54516d(0x417)](){const _0x34781f=_0x54516d;for(const _0x5603a0 of this[_0x34781f(0x313)])_0x5603a0[_0x34781f(0x417)]();this[_0x34781f(0x55e)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x34781f(0x417)](),this['_anchor']&&this['_anchor'][_0x34781f(0x417)](),this[_0x34781f(0x57d)]&&this[_0x34781f(0x57d)]();}[_0x54516d(0x47a)](){const _0x5dd2e0=_0x54516d;var _0x1cbc7f;const {_docSkeleton:_0x278c5a,_document:_0x4baff7}=this,{color:_0x3a6d07,name:_0x31155d,ranges:_0x13d86c}=this['_cursor'],_0x4c6955=_0x4baff7['getOffsetConfig'](),{docsLeft:_0x1fa31d,docsTop:_0x13a387}=_0x4c6955,_0x41e54f=new J['NodePositionConvertToCursor'](_0x4c6955,_0x278c5a);for(const {startOffset:_0x464ab0,endOffset:_0x442144,rangeType:_0x55432f,segmentId:_0x3a8a26,segmentPage:_0x998f45,collapsed:_0x48c504,isActive:_0x3704c2}of _0x13d86c){const _0x581c56=_0x278c5a['findNodePositionByCharIndex'](_0x464ab0,!0x0,_0x3a8a26,_0x998f45);let _0x56b2eb=_0x278c5a[_0x5dd2e0(0x4b4)](_0x442144,!0x0,_0x3a8a26,_0x998f45);if(_0x56b2eb==null&&(_0x56b2eb=_0x278c5a[_0x5dd2e0(0x4b4)](_0x442144-0x1,!0x1,_0x3a8a26,_0x998f45)),_0x3704c2){const {contentBoxPointGroup:_0xc7e77d}=_0x41e54f['getRangePointData'](_0x56b2eb,_0x56b2eb);if(_0xc7e77d[_0x5dd2e0(0x5e8)]===0x0)continue;this['_drawAnchor'](_0x3a6d07,_0xc7e77d,_0x1fa31d,_0x13a387,_0x31155d),this[_0x5dd2e0(0x57d)]=this[_0x5dd2e0(0x51a)]();}if(_0x581c56&&_0x56b2eb){if(_0x55432f===a[_0x5dd2e0(0x554)][_0x5dd2e0(0x231)]){const _0x53816c=new J[(_0x5dd2e0(0x3d8))](_0x4c6955,_0x278c5a),{pointGroup:_0x269b13}=(_0x1cbc7f=_0x53816c[_0x5dd2e0(0x5f1)](_0x581c56,_0x56b2eb))!=null?_0x1cbc7f:{};if(_0x269b13==null||_0x269b13[_0x5dd2e0(0x5e8)]===0x0)continue;this['_drawRectRange'](_0x3a6d07,_0x269b13,_0x1fa31d,_0x13a387);}else{if(!_0x48c504){const {borderBoxPointGroup:_0x51c9df}=_0x41e54f[_0x5dd2e0(0x5f1)](_0x581c56,_0x56b2eb);if(_0x51c9df[_0x5dd2e0(0x5e8)]===0x0)continue;this[_0x5dd2e0(0x2ca)](_0x3a6d07,_0x51c9df,_0x1fa31d,_0x13a387);}}}}}['_drawAnchor'](_0x3442e8,_0x45e3fe,_0x2e7cdf,_0x35bc5b,_0x8f8791){const _0x11a0b8=_0x54516d,_0x4a5c5e=this[_0x11a0b8(0x1da)](_0x45e3fe),{left:_0x4e1b68,top:_0x3f6a67,height:_0xc62e7e}=_0x4a5c5e,_0x53fef8=this[_0x11a0b8(0x4c2)](),_0x3136a4=hs/_0x53fef8,_0x2627f8=new K[(_0x11a0b8(0x226))](st+a[_0x11a0b8(0x3eb)][_0x11a0b8(0x3a3)](Ue),{'left':_0x4e1b68+_0x2e7cdf-_0x3136a4,'top':_0x3f6a67+_0x35bc5b,'height':_0xc62e7e,'width':ls,'fill':_0x3442e8||K['getColor'](a[_0x11a0b8(0x499)][_0x11a0b8(0x51f)],0x0),'strokeWidth':_0x3136a4,'stroke':_s,'evented':!0x0});this['_anchor']=_0x2627f8,this['_scene'][_0x11a0b8(0x286)](_0x2627f8,J[_0x11a0b8(0x22e)]);const _0x14fac2=new K[(_0x11a0b8(0x226))](st+a[_0x11a0b8(0x3eb)][_0x11a0b8(0x3a3)](Ue),{'left':_0x4e1b68+_0x2e7cdf-_0x3136a4,'top':_0x3f6a67+_0x35bc5b-rt/0x2,'height':rt,'width':rt,'fill':_0x3442e8||K[_0x11a0b8(0x52f)](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x3442e8||K[_0x11a0b8(0x52f)](a[_0x11a0b8(0x499)][_0x11a0b8(0x51f)],0x0),'evented':!0x1});this[_0x11a0b8(0x21f)]=_0x14fac2,this[_0x11a0b8(0x438)][_0x11a0b8(0x286)](_0x14fac2,J['TEXT_RANGE_LAYER_INDEX']);const _0x4082e=new ze(st+a[_0x11a0b8(0x3eb)][_0x11a0b8(0x3a3)](Ue),{'left':_0x4e1b68+_0x2e7cdf-_0x3136a4,'top':_0x3f6a67+_0x35bc5b-Le,'text':_0x8f8791,'color':_0x3442e8});this['_textBubble']=_0x4082e,this[_0x11a0b8(0x438)][_0x11a0b8(0x286)](_0x4082e,J[_0x11a0b8(0x22e)]),this[_0x11a0b8(0x607)]=!0x1;}[_0x54516d(0x51a)](){const _0x231825=_0x54516d,_0x1ecfdb=this[_0x231825(0x611)][_0x231825(0x3f0)][_0x231825(0x1df)](()=>{const _0x34932d=_0x231825;this[_0x34932d(0x607)]=!0x0;}),_0x3b967c=this['_anchor'][_0x231825(0x1d8)]['subscribeEvent'](()=>{const _0x28f74e=_0x231825;this['_hideTimer']&&clearTimeout(this[_0x28f74e(0x42c)]),this[_0x28f74e(0x42c)]=setTimeout(()=>{const _0x1495a4=_0x28f74e;this[_0x1495a4(0x607)]=!0x1;},0x7d0);});return()=>{const _0x41b202=_0x231825;_0x1ecfdb['unsubscribe'](),_0x3b967c[_0x41b202(0x1bb)]();};}[_0x54516d(0x2ca)](_0x432629,_0x5696d0,_0x485365,_0x50f163){const _0x45ec2e=_0x54516d,_0x9afd9b=new a[(_0x45ec2e(0x58c))](_0x432629)[_0x45ec2e(0x23e)](0.2)[_0x45ec2e(0x346)](),_0x4070f3=new K['RegularPolygon'](as+a[_0x45ec2e(0x3eb)]['generateRandomId'](Ue),{'pointsGroup':_0x5696d0,'fill':_0x9afd9b||K[_0x45ec2e(0x52f)](a[_0x45ec2e(0x499)][_0x45ec2e(0x51f)],0.2),'left':_0x485365,'top':_0x50f163,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45ec2e(0x313)][_0x45ec2e(0x26e)](_0x4070f3),this[_0x45ec2e(0x438)]['addObject'](_0x4070f3,J['TEXT_RANGE_LAYER_INDEX']);}[_0x54516d(0x176)](_0x37058a,_0x4a79a0,_0x217bff,_0x2fa564){const _0x4ef792=_0x54516d,_0x2cc01d=new a[(_0x4ef792(0x58c))](_0x37058a)[_0x4ef792(0x23e)](0.2)[_0x4ef792(0x346)](),_0x4ce4ed=new K[(_0x4ef792(0x18d))](cs+a[_0x4ef792(0x3eb)]['generateRandomId'](Ue),{'pointsGroup':_0x4a79a0,'fill':_0x2cc01d||K[_0x4ef792(0x52f)](a['COLORS'][_0x4ef792(0x51f)],0.2),'left':_0x217bff,'top':_0x2fa564,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4ef792(0x313)][_0x4ef792(0x26e)](_0x4ce4ed),this[_0x4ef792(0x438)][_0x4ef792(0x286)](_0x4ce4ed,J[_0x4ef792(0x22e)]);}[_0x54516d(0x1da)](_0x421391){const _0x34df19=_0x421391[0x0],_0x17f5f3=_0x34df19[0x0],_0x1fb9f3=_0x34df19[0x2],{x:_0x321f5a,y:_0x5629d7}=_0x17f5f3,{x:_0xc6436b,y:_0x28fadb}=_0x1fb9f3;return{'left':_0x321f5a,'top':_0x5629d7,'width':_0xc6436b-_0x321f5a,'height':_0x28fadb-_0x5629d7};}['_getScale'](){const _0x2841b6=_0x54516d,{scaleX:_0x7de9cd,scaleY:_0x354aed}=this[_0x2841b6(0x438)][_0x2841b6(0x39b)]();return Math[_0x2841b6(0x4b0)](_0x7de9cd,_0x354aed);}}var us=Object[_0x54516d(0x461)],ds=Object[_0x54516d(0x363)],fs=(_0x5de389,_0x20ce8e,_0x2734ba,_0x1d8526)=>{const _0x2e3094=_0x54516d;for(var _0x5db2c8=_0x1d8526>0x1?void 0x0:_0x1d8526?ds(_0x20ce8e,_0x2734ba):_0x20ce8e,_0xfeb60a=_0x5de389[_0x2e3094(0x5e8)]-0x1,_0x3a221f;_0xfeb60a>=0x0;_0xfeb60a--)(_0x3a221f=_0x5de389[_0xfeb60a])&&(_0x5db2c8=(_0x1d8526?_0x3a221f(_0x20ce8e,_0x2734ba,_0x5db2c8):_0x3a221f(_0x5db2c8))||_0x5db2c8);return _0x1d8526&&_0x5db2c8&&us(_0x20ce8e,_0x2734ba,_0x5db2c8),_0x5db2c8;},je=(_0x204d5f,_0x317efd)=>(_0x16d0b3,_0x1da4d3)=>_0x317efd(_0x16d0b3,_0x1da4d3,_0x204d5f);let pt=class extends a[_0x54516d(0x1d6)]{constructor(_0xf9b8d6,_0x1cb2af,_0x28f6eb,_0x2b5fd6,_0x293190){const _0x4c72b9=_0x54516d;super(),I(this,_0x4c72b9(0x390),[]),I(this,_0x4c72b9(0x288),[]),(this[_0x4c72b9(0x29e)]=_0xf9b8d6,this['_docSkeletonManagerService']=_0x1cb2af,this[_0x4c72b9(0x3d3)]=_0x28f6eb,this[_0x4c72b9(0x1ca)]=_0x2b5fd6,this[_0x4c72b9(0x3d6)]=_0x293190,this['_init']());}[_0x54516d(0x488)](){const _0x467f72=_0x54516d,_0x553e88=this[_0x467f72(0x29e)][_0x467f72(0x427)],_0x200875=this[_0x467f72(0x5e1)];this['disposeWithMe'](A[_0x467f72(0x2b7)]([this[_0x467f72(0x3d3)][_0x467f72(0x2bf)](_0x553e88),this[_0x467f72(0x3d6)][_0x467f72(0x3dc)]])[_0x467f72(0x5f2)](V['map'](([_0x361cfd,_0x597f92])=>({'skeleton':_0x200875['getSkeleton'](),'cursors':[..._0x361cfd[_0x467f72(0x221)]()][_0x467f72(0x197)](_0x28e072=>({..._0x28e072,'color':_0x597f92[_0x28e072[_0x467f72(0x3ec)]]}))})))[_0x467f72(0x4d6)](_0x1d346c=>{const _0x46e5d4=_0x467f72;if(this[_0x46e5d4(0x1ad)](),_0x1d346c){const {skeleton:_0x408a04,cursors:_0x50d4c5}=_0x1d346c;this[_0x46e5d4(0x5b2)](_0x408a04,_0x50d4c5);}})),this['_initResize'](),this[_0x467f72(0x305)]();}['_updateCollabCursors'](_0x40678a,_0x3cd4b9){const _0xa732a3=_0x54516d,{scene:_0xecca91,mainComponent:_0x1f48df}=this[_0xa732a3(0x29e)],_0x4bfb98=_0x3cd4b9[_0xa732a3(0x2c2)](_0x59e446=>new Bt(_0x59e446,_0xecca91,_0x40678a,_0x1f48df));this[_0xa732a3(0x390)]=_0x4bfb98,this[_0xa732a3(0x288)]=_0x3cd4b9;}['_refreshCollabCursors'](){const _0x38b046=_0x54516d;this[_0x38b046(0x1ad)]();const {scene:_0x427fdc,mainComponent:_0x447f2b}=this[_0x38b046(0x29e)],_0x41a0c3=this[_0x38b046(0x5e1)][_0x38b046(0x536)](),_0x4c281b=this[_0x38b046(0x288)][_0x38b046(0x2c2)](_0x4c2de5=>new Bt(_0x4c2de5,_0x427fdc,_0x41a0c3,_0x447f2b));this[_0x38b046(0x390)]=_0x4c281b;}[_0x54516d(0x1ad)](){const _0x50b3a4=_0x54516d;this['_cursorShapes'][_0x50b3a4(0x1ba)](_0x41e463=>_0x41e463[_0x50b3a4(0x417)]()),this[_0x50b3a4(0x390)]=[];}[_0x54516d(0x305)](){const _0xb71f36=_0x54516d,_0x5633b3=[J[_0xb71f36(0x333)]['id']];this[_0xb71f36(0x55b)](this[_0xb71f36(0x1ca)]['onCommandExecuted'](_0x285c56=>{const _0x216fc2=_0xb71f36;_0x5633b3[_0x216fc2(0x2b1)](_0x285c56['id'])&&_0x285c56['params'][_0x216fc2(0x427)]===this[_0x216fc2(0x29e)][_0x216fc2(0x427)]&&this['_refreshCollabCursors']();}));}[_0x54516d(0x39f)](){const _0x16b6da=_0x54516d;this[_0x16b6da(0x55b)](a[_0x16b6da(0x5ea)](this[_0x16b6da(0x29e)][_0x16b6da(0x199)][_0x16b6da(0x532)])['pipe'](V[_0x16b6da(0x292)](_0x40d22f=>_0x40d22f[_0x16b6da(0x242)]===K[_0x16b6da(0x257)][_0x16b6da(0x1d9)]),V[_0x16b6da(0x60a)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};pt=fs([je(0x1,a['Inject'](ye['DocSkeletonManagerService'])),je(0x2,a['Inject'](De)),je(0x3,a[_0x54516d(0x18a)]),je(0x4,a[_0x54516d(0x573)](a[_0x54516d(0x2a6)]))],pt);const vs=0x1,ms=1.5;class Sn extends K['Shape']{constructor(_0x1a2333,_0x9cfebd){const _0x4ec097=_0x54516d;super(_0x1a2333,_0x9cfebd),I(this,_0x4ec097(0x450)),I(this,_0x4ec097(0x1b3),!0x1),I(this,_0x4ec097(0x53a)),I(this,_0x4ec097(0x37d),''),I(this,_0x4ec097(0x358),'top'),I(this,_0x4ec097(0x4c7)),(_0x9cfebd&&this[_0x4ec097(0x577)](_0x9cfebd),this[_0x4ec097(0x3f0)][_0x4ec097(0x1df)](()=>this[_0x4ec097(0x577)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4ec097(0x1df)](()=>this[_0x4ec097(0x577)]({'hovered':!0x1})));}[_0x54516d(0x577)](_0x2a0242){const _0x17e478=_0x54516d;var _0x33a694,_0x4e071f,_0x416495,_0x2d07cc,_0x48b0d4,_0x2bc94e;this[_0x17e478(0x450)]=(_0x33a694=_0x2a0242[_0x17e478(0x3ec)])!=null?_0x33a694:this[_0x17e478(0x450)],this[_0x17e478(0x1b3)]=(_0x4e071f=_0x2a0242[_0x17e478(0x19f)])!=null?_0x4e071f:this[_0x17e478(0x1b3)],this[_0x17e478(0x53a)]=(_0x416495=_0x2a0242[_0x17e478(0x4ea)])!=null?_0x416495:this['_range'],this[_0x17e478(0x37d)]=(_0x2d07cc=_0x2a0242[_0x17e478(0x5fa)])!=null?_0x2d07cc:this[_0x17e478(0x37d)],this[_0x17e478(0x358)]=(_0x48b0d4=_0x2a0242[_0x17e478(0x3a4)])!=null?_0x48b0d4:this[_0x17e478(0x358)],this['_backgroundColor']=(_0x2bc94e=_0x2a0242[_0x17e478(0x22d)])!=null?_0x2bc94e:this[_0x17e478(0x4c7)],this[_0x17e478(0x187)]({'width':_0x2a0242[_0x17e478(0x1ce)],'height':_0x2a0242['height']});}[_0x54516d(0x5c3)](_0x37af2d){const _0x41f0ae=_0x54516d,{row:_0x454cdd,column:_0xcf3e9b}=_0x37af2d;if(_0x454cdd>=this[_0x41f0ae(0x53a)][_0x41f0ae(0x42a)]&&_0x454cdd<=this[_0x41f0ae(0x53a)][_0x41f0ae(0x38b)]&&_0xcf3e9b>=this[_0x41f0ae(0x53a)]['startColumn']&&_0xcf3e9b<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x41f0ae(0x577)]({'hovered':!0x1});}[_0x54516d(0x53f)](_0x552f32){return!0x1;}[_0x54516d(0x50d)](_0x272d80){const _0xec8253=_0x54516d;K[_0xec8253(0x226)]['drawWith'](_0x272d80,{'width':this[_0xec8253(0x1ce)],'height':this['height'],'strokeWidth':ms,'stroke':this[_0xec8253(0x450)],'evented':!0x1,'fill':this[_0xec8253(0x4c7)]}),this[_0xec8253(0x1b3)]&&(_0x272d80[_0xec8253(0x38d)](),_0x272d80[_0xec8253(0x45b)](0x1,0x0,0x0,0x1,this[_0xec8253(0x1ce)],this[_0xec8253(0x358)]===_0xec8253(0x366)?0x0:-Le),ze['drawWith'](_0x272d80,{'text':this[_0xec8253(0x37d)],'color':this['_color']}),_0x272d80[_0xec8253(0x251)]());}}var Ss=Object[_0x54516d(0x461)],ps=Object[_0x54516d(0x363)],gs=(_0x2cba24,_0xf01034,_0x376c66,_0xd6f6ae)=>{const _0x46aff1=_0x54516d;for(var _0x2cf097=_0xd6f6ae>0x1?void 0x0:_0xd6f6ae?ps(_0xf01034,_0x376c66):_0xf01034,_0x3cdd72=_0x2cba24[_0x46aff1(0x5e8)]-0x1,_0x2354c7;_0x3cdd72>=0x0;_0x3cdd72--)(_0x2354c7=_0x2cba24[_0x3cdd72])&&(_0x2cf097=(_0xd6f6ae?_0x2354c7(_0xf01034,_0x376c66,_0x2cf097):_0x2354c7(_0x2cf097))||_0x2cf097);return _0xd6f6ae&&_0x2cf097&&Ss(_0xf01034,_0x376c66,_0x2cf097),_0x2cf097;},ot=(_0x498fae,_0x1c4eb3)=>(_0x67ae05,_0x1c7637)=>_0x1c4eb3(_0x67ae05,_0x1c7637,_0x498fae);const Is=0x1389;let gt=class extends a[_0x54516d(0x1d6)]{constructor(_0x26dc96,_0x4cd01c,_0x522790,_0x4e4179){const _0x2eb4d1=_0x54516d;super(),I(this,'_cursors',new Set()),I(this,'_lastPointer',null),(this[_0x2eb4d1(0x29e)]=_0x26dc96,this[_0x2eb4d1(0x335)]=_0x4cd01c,this['_collabCursorController']=_0x522790,this['_themeService']=_0x4e4179,this[_0x2eb4d1(0x488)]());}[_0x54516d(0x488)](){const _0xbbad85=_0x54516d;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xbbad85(0x5f2)](V[_0xbbad85(0x42d)](this['dispose$']),V[_0xbbad85(0x4cb)](_0x40b76b=>{const _0x358493=_0xbbad85;if(_0x40b76b){const _0x4a07a1=_0x40b76b[_0x358493(0x279)];return A[_0x358493(0x2b7)](this['_collabCursorController'][_0x358493(0x2bf)](this[_0x358493(0x29e)]['unitId']),this[_0x358493(0x3d6)][_0x358493(0x3dc)])[_0x358493(0x5f2)](V[_0x358493(0x2c2)](([_0x51a068,_0x14aeab])=>{const _0x365e03=new Map();return _0x51a068['forEach']((_0x884550,_0x31e67c)=>{const _0x49cf31=_0xe852;if(_0x884550[_0x49cf31(0x531)]===_0x4a07a1){const _0x4b50e8={..._0x884550};_0x4b50e8[_0x49cf31(0x3ec)]=_0x14aeab[_0x884550['color']],_0x365e03[_0x49cf31(0x36d)](_0x31e67c,_0x4b50e8);}}),{'skeleton':_0x40b76b,'cursors':_0x365e03};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x14fbca,cursors:_0x48f907})=>{const _0x145cd0=_0xbbad85;this[_0x145cd0(0x1ad)](),_0x14fbca&&this[_0x145cd0(0x5b2)](_0x14fbca,_0x48f907);}),this[_0xbbad85(0x335)]['currentSkeleton$'][_0xbbad85(0x4d6)](_0x215326=>{const _0xeb7cfc=_0xbbad85;if(_0x215326==null)return;const {skeleton:_0x350f79}=_0x215326,{scene:_0xb1afb0}=this[_0xeb7cfc(0x29e)];_0xb1afb0[_0xeb7cfc(0x337)]['subscribeEvent'](a[_0xeb7cfc(0x561)](_0x26eb5e=>{const _0x4defef=_0xeb7cfc;var _0x570d3e,_0x2c2551;const {offsetX:_0x48c948,offsetY:_0xb862f8}=_0x26eb5e,{x:_0x47d380,y:_0x4511cc}=_0xb1afb0[_0x4defef(0x1ff)](K[_0x4defef(0x2ea)]['FromArray']([_0x48c948,_0xb862f8])),{scaleX:_0x1a319a,scaleY:_0x5459cf}=_0xb1afb0[_0x4defef(0x39b)](),_0x33d3f3=_0xb1afb0[_0x4defef(0x3c4)](Re['VIEWPORT_KEY'][_0x4defef(0x2f5)]),_0x45903f=_0xb1afb0[_0x4defef(0x46f)](K[_0x4defef(0x2ea)][_0x4defef(0x619)]([_0x47d380,_0x4511cc]),_0x33d3f3),_0x3d9ec0=_0x350f79['getCellPositionByOffset'](_0x48c948,_0xb862f8,_0x1a319a,_0x5459cf,_0x45903f);((_0x570d3e=this[_0x4defef(0x309)])==null?void 0x0:_0x570d3e['column'])===_0x3d9ec0['column']&&((_0x2c2551=this['_lastPointer'])==null?void 0x0:_0x2c2551[_0x4defef(0x1c0)])===_0x3d9ec0[_0x4defef(0x1c0)]||this[_0x4defef(0x288)][_0x4defef(0x1ba)](_0x42946c=>{_0x42946c['onMouseMove'](_0x3d9ec0);});},0x64));});}[_0x54516d(0x5b2)](_0x4e3be1,_0xebc5bd){const _0x218f75=_0x54516d;var _0x27aa65;const _0x519eb0=(_0x27aa65=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x27aa65['skeleton'];if(!_0x519eb0)return;const _0x144d8a=this[_0x218f75(0x1c3)]();if(!_0x144d8a)return;this[_0x218f75(0x288)][_0x218f75(0x1ba)](_0x55fef4=>{const _0xe4f490=_0x218f75;_0x55fef4[_0xe4f490(0x3c0)]();});const {scene:_0x57585b}=_0x144d8a,_0xdab169=Cs(Array[_0x218f75(0x36a)](_0xebc5bd[_0x218f75(0x221)]()))['map'](_0x17db6a=>{const _0x3af30c=_0x218f75,{color:_0x48c043,range:_0x47df26,name:_0xfdd70e,selection:_0x2c20a5,sheetID:_0xa59d96}=_0x17db6a,{startColumn:_0x59d07e,startRow:_0x3fa526,endColumn:_0x5138a0,endRow:_0x24db5f}=_0x47df26,_0x1c9d2f=Re[_0x3af30c(0x5db)](_0x3fa526,_0x59d07e,_0x57585b,_0x519eb0),_0xedf7=Re[_0x3af30c(0x5db)](_0x24db5f,_0x5138a0,_0x57585b,_0x519eb0),{columnHeaderHeightAndMarginTop:_0x28a81e}=_0x519eb0,{startX:_0x5a99ae,startY:_0x4b5e52}=_0x1c9d2f,{endX:_0x685aa9,endY:_0x379ccd}=_0xedf7,_0x4451c8=_0x685aa9-_0x5a99ae,_0x3f3b95=_0x379ccd-_0x4b5e52,_0x15964e={'labelPosition':_0x4b5e52-_0x28a81e>=Le?_0x3af30c(0x617):'bottom','sheetID':_0xa59d96,'range':_0x47df26,'color':_0x48c043,'name':_0xfdd70e,'selection':_0x2c20a5,'left':_0x5a99ae,'top':_0x4b5e52,'width':_0x4451c8,'height':_0x3f3b95,'evented':!0x1,'zIndex':Is};return new Sn(_0xfdd70e,_0x15964e);});_0x57585b[_0x218f75(0x2c9)](_0xdab169,vs),this[_0x218f75(0x288)]=new Set(_0xdab169);}[_0x54516d(0x1ad)](){const _0x8fc49=_0x54516d;var _0x1560b9;(_0x1560b9=this[_0x8fc49(0x288)])==null||_0x1560b9[_0x8fc49(0x1ba)](_0x584e34=>_0x584e34[_0x8fc49(0x417)]());}[_0x54516d(0x1c3)](){const _0x31c479=_0x54516d;return Re['getSheetObject'](this['_context'][_0x31c479(0x592)],this[_0x31c479(0x29e)]);}};gt=gs([ot(0x1,a[_0x54516d(0x573)](Re['SheetSkeletonManagerService'])),ot(0x2,a['Inject'](De)),ot(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x2a6)]))],gt);function Cs(_0x302767){const _0xac174=_0x54516d,_0x309db9=new Map();return _0x302767[_0xac174(0x1ba)](_0x13baa5=>{const _0x1e17f2=_0xac174;if(_0x309db9[_0x1e17f2(0x468)](_0x13baa5['selection'])){const _0x5e4079=_0x309db9[_0x1e17f2(0x3b1)](_0x13baa5['selection']);_0x5e4079['name']+=',\x20'+_0x13baa5[_0x1e17f2(0x5fa)];}else _0x309db9[_0x1e17f2(0x36d)](_0x13baa5[_0x1e17f2(0x3fa)],_0x13baa5);}),Array['from'](_0x309db9[_0xac174(0x221)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x4d9acf){const _0x354d35=_0x54516d;return _0x4d9acf&&_0x4d9acf['__esModule']&&Object[_0x354d35(0x494)]['hasOwnProperty'][_0x354d35(0x2a5)](_0x4d9acf,_0x354d35(0x32f))?_0x4d9acf['default']:_0x4d9acf;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x54516d(0x20c)](_0x54516d(0x1c1)),Ts=Symbol[_0x54516d(0x20c)](_0x54516d(0x57a)),Rs=Object[_0x54516d(0x494)][_0x54516d(0x284)],ys=Es['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x54516d(0x38c)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x367286,_0x45b9c6,_0x387725){const _0x796a3a=_0x54516d;var _0x23f08b,_0x5927a8={},_0x2891b6=null,_0x58ee9a=null;_0x387725!==void 0x0&&(_0x2891b6=''+_0x387725),_0x45b9c6[_0x796a3a(0x5f3)]!==void 0x0&&(_0x2891b6=''+_0x45b9c6[_0x796a3a(0x5f3)]),_0x45b9c6[_0x796a3a(0x511)]!==void 0x0&&(_0x58ee9a=_0x45b9c6[_0x796a3a(0x511)]);for(_0x23f08b in _0x45b9c6)Rs[_0x796a3a(0x2a5)](_0x45b9c6,_0x23f08b)&&!Os[_0x796a3a(0x284)](_0x23f08b)&&(_0x5927a8[_0x23f08b]=_0x45b9c6[_0x23f08b]);if(_0x367286&&_0x367286[_0x796a3a(0x21c)]){for(_0x23f08b in(_0x45b9c6=_0x367286['defaultProps'],_0x45b9c6))_0x5927a8[_0x23f08b]===void 0x0&&(_0x5927a8[_0x23f08b]=_0x45b9c6[_0x23f08b]);}return{'$$typeof':bs,'type':_0x367286,'key':_0x2891b6,'ref':_0x58ee9a,'props':_0x5927a8,'_owner':ys[_0x796a3a(0x513)]};}Xe['Fragment']=Ts,Xe[_0x54516d(0x605)]=gn,Xe[_0x54516d(0x1a8)]=gn,pn[_0x54516d(0x359)]=Xe;var pe=pn[_0x54516d(0x359)],Q=function(){const _0x1e073c=_0x54516d;return Q=Object[_0x1e073c(0x3f2)]||function(_0x17342e){const _0x1a03f2=_0x1e073c;for(var _0x59664c,_0x28042e=0x1,_0x2f2524=arguments[_0x1a03f2(0x5e8)];_0x28042e<_0x2f2524;_0x28042e++){_0x59664c=arguments[_0x28042e];for(var _0x5c2043 in _0x59664c)Object['prototype'][_0x1a03f2(0x284)]['call'](_0x59664c,_0x5c2043)&&(_0x17342e[_0x5c2043]=_0x59664c[_0x5c2043]);}return _0x17342e;},Q[_0x1e073c(0x613)](this,arguments);},Ds=function(_0x601f02,_0x511b18){const _0x1830c6=_0x54516d;var _0x51d77e={};for(var _0x58c98b in _0x601f02)Object[_0x1830c6(0x494)][_0x1830c6(0x284)][_0x1830c6(0x2a5)](_0x601f02,_0x58c98b)&&_0x511b18['indexOf'](_0x58c98b)<0x0&&(_0x51d77e[_0x58c98b]=_0x601f02[_0x58c98b]);if(_0x601f02!=null&&typeof Object[_0x1830c6(0x4c5)]==_0x1830c6(0x30c)){for(var _0x5560e7=0x0,_0x58c98b=Object['getOwnPropertySymbols'](_0x601f02);_0x5560e7<_0x58c98b['length'];_0x5560e7++)_0x511b18[_0x1830c6(0x31d)](_0x58c98b[_0x5560e7])<0x0&&Object[_0x1830c6(0x494)][_0x1830c6(0x411)][_0x1830c6(0x2a5)](_0x601f02,_0x58c98b[_0x5560e7])&&(_0x51d77e[_0x58c98b[_0x5560e7]]=_0x601f02[_0x58c98b[_0x5560e7]]);}return _0x51d77e;},Dt=ae[_0x54516d(0x278)](function(_0x3ba03a,_0x2b10d3){const _0x21d7c9=_0x54516d;var _0xe72f65=_0x3ba03a['icon'],_0x5b1ee3=_0x3ba03a['id'],_0x3c69e8=_0x3ba03a[_0x21d7c9(0x1c2)],_0x5759e4=_0x3ba03a[_0x21d7c9(0x16e)],_0x39f68c=Ds(_0x3ba03a,[_0x21d7c9(0x469),'id','className',_0x21d7c9(0x16e)]),_0x473929=_0x21d7c9(0x4fc)['concat'](_0x5b1ee3,'\x20')[_0x21d7c9(0x213)](_0x3c69e8||'')[_0x21d7c9(0x268)](),_0x1e86fd=ae[_0x21d7c9(0x17b)]('_'[_0x21d7c9(0x213)](Us()));return In(_0xe72f65,''[_0x21d7c9(0x213)](_0x5b1ee3),{'defIds':_0xe72f65['defIds'],'idSuffix':_0x1e86fd[_0x21d7c9(0x513)]},Q({'ref':_0x2b10d3,'className':_0x473929},_0x39f68c),_0x5759e4);});function In(_0x57cf76,_0x58e03b,_0x573c70,_0x444f9e,_0x28e98d){const _0x3e12d0=_0x54516d;return ae[_0x3e12d0(0x454)](_0x57cf76[_0x3e12d0(0x45f)],Q(Q({'key':_0x58e03b},ws(_0x57cf76,_0x573c70,_0x28e98d)),_0x444f9e),(Ps(_0x57cf76,_0x573c70)[_0x3e12d0(0x542)]||[])[_0x3e12d0(0x2c2)](function(_0x3fe37a,_0x246960){const _0x192fd7=_0x3e12d0;return In(_0x3fe37a,''[_0x192fd7(0x213)](_0x58e03b,'-')[_0x192fd7(0x213)](_0x57cf76[_0x192fd7(0x45f)],'-')[_0x192fd7(0x213)](_0x246960),_0x573c70,void 0x0,_0x28e98d);}));}function ws(_0x3134d4,_0x525536,_0x512b48){const _0x386f04=_0x54516d;var _0x2ac400=Q({},_0x3134d4[_0x386f04(0x484)]);_0x512b48!=null&&_0x512b48['colorChannel1']&&_0x2ac400[_0x386f04(0x4c0)]===_0x386f04(0x584)&&(_0x2ac400['fill']=_0x512b48[_0x386f04(0x584)]);var _0x1a48c2=_0x525536[_0x386f04(0x29a)];return!_0x1a48c2||_0x1a48c2['length']===0x0||(_0x3134d4[_0x386f04(0x45f)]===_0x386f04(0x217)&&_0x2ac400[_0x386f04(0x49c)]&&(_0x2ac400['xlink:href']=_0x2ac400[_0x386f04(0x49c)]+_0x525536[_0x386f04(0x3b4)]),Object[_0x386f04(0x57e)](_0x2ac400)[_0x386f04(0x1ba)](function(_0x4e76fe){const _0x9d8bee=_0x386f04;var _0x1349e4=_0x4e76fe[0x0],_0x4ee927=_0x4e76fe[0x1];typeof _0x4ee927==_0x9d8bee(0x3aa)&&(_0x2ac400[_0x1349e4]=_0x4ee927['replace'](/url\(#(.*)\)/,_0x9d8bee(0x508)['concat'](_0x525536[_0x9d8bee(0x3b4)],')')));})),_0x2ac400;}function Ps(_0x4b60f1,_0x447b7a){const _0xcbe9ec=_0x54516d;var _0x2ff522,_0x4bef31=_0x447b7a[_0xcbe9ec(0x29a)];return!_0x4bef31||_0x4bef31['length']===0x0?_0x4b60f1:_0x4b60f1[_0xcbe9ec(0x45f)]===_0xcbe9ec(0x5f5)&&(!((_0x2ff522=_0x4b60f1[_0xcbe9ec(0x542)])===null||_0x2ff522===void 0x0)&&_0x2ff522[_0xcbe9ec(0x5e8)])?Q(Q({},_0x4b60f1),{'children':_0x4b60f1[_0xcbe9ec(0x542)][_0xcbe9ec(0x2c2)](function(_0x42de2e){const _0x19493c=_0xcbe9ec;return typeof _0x42de2e[_0x19493c(0x484)]['id']==_0x19493c(0x3aa)&&_0x4bef31&&_0x4bef31['indexOf'](_0x42de2e[_0x19493c(0x484)]['id'])>-0x1?Q(Q({},_0x42de2e),{'attrs':Q(Q({},_0x42de2e[_0x19493c(0x484)]),{'id':_0x42de2e[_0x19493c(0x484)]['id']+_0x447b7a['idSuffix']})}):_0x42de2e;})}):_0x4b60f1;}function Us(){const _0x3feb25=_0x54516d;return Math[_0x3feb25(0x35c)]()[_0x3feb25(0x481)](0x24)[_0x3feb25(0x283)](0x2,0x8);}Dt[_0x54516d(0x41a)]=_0x54516d(0x553);var Ms={'tag':'svg','attrs':{'fill':_0x54516d(0x5ed),'viewBox':_0x54516d(0x37b),'width':'1em','height':_0x54516d(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x54516d(0x59b)},'children':[{'tag':_0x54516d(0x545),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x54516d(0x174),'strokeWidth':1.2}}]},{'tag':_0x54516d(0x5f5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x54516d(0x18f)},'children':[{'tag':'path','attrs':{'fill':_0x54516d(0x41c),'d':_0x54516d(0x198)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Cn=ae['forwardRef'](function(_0x3c637a,_0x547617){const _0x5cc9de=_0x54516d;return ae[_0x5cc9de(0x454)](Dt,Object[_0x5cc9de(0x3f2)]({},_0x3c637a,{'id':_0x5cc9de(0x45e),'ref':_0x547617,'icon':Ms}));});Cn[_0x54516d(0x41a)]=_0x54516d(0x190);var As={'tag':'svg','attrs':{'fill':'none','viewBox':_0x54516d(0x303),'width':'1em','height':_0x54516d(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x54516d(0x367)},'children':[{'tag':_0x54516d(0x545),'attrs':{'stroke':_0x54516d(0x492),'d':_0x54516d(0x298),'strokeLinecap':_0x54516d(0x174),'strokeLinejoin':_0x54516d(0x174),'strokeWidth':1.2}}]},{'tag':_0x54516d(0x5f5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x54516d(0x3b7)},'children':[{'tag':_0x54516d(0x545),'attrs':{'fill':_0x54516d(0x41c),'d':_0x54516d(0x198),'transform':_0x54516d(0x5a9)}}]}]}],'defIds':[_0x54516d(0x3b7)]},En=ae[_0x54516d(0x278)](function(_0x3a84eb,_0x458237){const _0x1de0b7=_0x54516d;return ae[_0x1de0b7(0x454)](Dt,Object[_0x1de0b7(0x3f2)]({},_0x3a84eb,{'id':'on-line-single','ref':_0x458237,'icon':As}));});En['displayName']='OnLineSingle';function bn(_0x12038e){const _0x2ab97d=_0x54516d;var _0x439a2f,_0x258dde,_0x19691a='';if(typeof _0x12038e=='string'||typeof _0x12038e==_0x2ab97d(0x23a))_0x19691a+=_0x12038e;else{if(typeof _0x12038e==_0x2ab97d(0x5cb)){if(Array[_0x2ab97d(0x5a7)](_0x12038e)){var _0x3f520b=_0x12038e[_0x2ab97d(0x5e8)];for(_0x439a2f=0x0;_0x439a2f<_0x3f520b;_0x439a2f++)_0x12038e[_0x439a2f]&&(_0x258dde=bn(_0x12038e[_0x439a2f]))&&(_0x19691a&&(_0x19691a+='\x20'),_0x19691a+=_0x258dde);}else{for(_0x258dde in _0x12038e)_0x12038e[_0x258dde]&&(_0x19691a&&(_0x19691a+='\x20'),_0x19691a+=_0x258dde);}}}return _0x19691a;}function Ns(){for(var _0x3bbdc7,_0xb08e44,_0x56f2ee=0x0,_0x2f97b0='',_0x2d9a87=arguments['length'];_0x56f2ee<_0x2d9a87;_0x56f2ee++)(_0x3bbdc7=arguments[_0x56f2ee])&&(_0xb08e44=bn(_0x3bbdc7))&&(_0x2f97b0&&(_0x2f97b0+='\x20'),_0x2f97b0+=_0xb08e44);return _0x2f97b0;}const Ls=_0x54516d(0x55a),xs=_0x54516d(0x1b4),js='univer-online-status',$s=_0x54516d(0x61a),Hs=_0x54516d(0x59d),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x4be1c4){const _0x45c793=_0x54516d;switch(_0x4be1c4){case q['OFFLINE']:return'collabStatus.offline';case q[_0x45c793(0x467)]:return _0x45c793(0x49a);case q[_0x45c793(0x5fc)]:return'collabStatus.fetchMiss';case q[_0x45c793(0x40f)]:return _0x45c793(0x344);case q['AWAITING']:case q[_0x45c793(0x396)]:return _0x45c793(0x59c);case q[_0x45c793(0x1fd)]:case q[_0x45c793(0x1e4)]:return _0x45c793(0x50b);}}function Tn(_0x301411){const _0x948c3e=_0x54516d,{status$:_0x3ce823}=_0x301411,_0x1ba9ba=ee['useObservable'](_0x3ce823,q[_0x948c3e(0x40f)]),_0x1ff21d=a[_0x948c3e(0x389)](a[_0x948c3e(0x2a1)]),_0x21c487=a['useDependency'](exports[_0x948c3e(0x580)]),_0x5b7e16=_0x1ba9ba!==q['OFFLINE'],_0x82373=_0x1ff21d['t'](Bs(_0x1ba9ba)),_0x2977b2=Ns(Me[_0x948c3e(0x20e)],{[Me['online']]:_0x5b7e16,[Me[_0x948c3e(0x444)]]:!_0x5b7e16}),_0x21f3ca=_0x5b7e16?pe['jsx'](En,{}):pe[_0x948c3e(0x605)](Cn,{}),_0x4ff62b=ae[_0x948c3e(0x404)](()=>{_0x5b7e16||_0x21c487['reconnect']();},[_0x5b7e16,_0x21c487]);function _0x9d8522(){const _0x11375f=_0x948c3e;return pe['jsxs'](_0x11375f(0x58f),{'className':_0x2977b2,'onClick':_0x4ff62b,'children':[pe[_0x11375f(0x605)](_0x11375f(0x58f),{'className':Me[_0x11375f(0x3f9)],'children':_0x21f3ca}),pe[_0x11375f(0x605)](_0x11375f(0x58f),{'className':Me[_0x11375f(0x233)],'children':_0x82373})]});}return _0x5b7e16?_0x9d8522():pe[_0x948c3e(0x605)](ge[_0x948c3e(0x39a)],{'title':_0x1ff21d['t'](_0x948c3e(0x345)),'children':_0x9d8522()});}var ks=Object[_0x54516d(0x461)],Ws=Object[_0x54516d(0x363)],Fs=(_0x7eebd3,_0x360920,_0xd335b1,_0x1b2d3a)=>{const _0x1f8c0a=_0x54516d;for(var _0x53a541=_0x1b2d3a>0x1?void 0x0:_0x1b2d3a?Ws(_0x360920,_0xd335b1):_0x360920,_0x2f2fa7=_0x7eebd3[_0x1f8c0a(0x5e8)]-0x1,_0x16a25e;_0x2f2fa7>=0x0;_0x2f2fa7--)(_0x16a25e=_0x7eebd3[_0x2f2fa7])&&(_0x53a541=(_0x1b2d3a?_0x16a25e(_0x360920,_0xd335b1,_0x53a541):_0x16a25e(_0x53a541))||_0x53a541);return _0x1b2d3a&&_0x53a541&&ks(_0x360920,_0xd335b1,_0x53a541),_0x53a541;},$e=(_0x1ee9d0,_0x11714d)=>(_0x50b8b2,_0x3bbf8e)=>_0x11714d(_0x50b8b2,_0x3bbf8e,_0x1ee9d0);exports[_0x54516d(0x36e)]=class extends a['Disposable']{constructor(_0x539195,_0x24afe9,_0x4d2ef3,_0x5fcb47){const _0x205423=_0x54516d;super(),I(this,_0x205423(0x59e),new A[(_0x205423(0x598))](q['NOT_COLLAB'])),(this[_0x205423(0x228)]=_0x539195,this[_0x205423(0x5a2)]=_0x24afe9,this[_0x205423(0x47c)]=_0x4d2ef3,this[_0x205423(0x1ea)]=_0x5fcb47,this[_0x205423(0x2dd)](),this[_0x205423(0x45d)]());}[_0x54516d(0x45d)](){const _0x20136f=_0x54516d;this[_0x20136f(0x55b)](this[_0x20136f(0x228)][_0x20136f(0x3e0)][_0x20136f(0x5f2)](A[_0x20136f(0x4cb)](()=>{const _0x2af8dd=_0x20136f,_0x513a4c=this[_0x2af8dd(0x228)][_0x2af8dd(0x310)]();return _0x513a4c?this[_0x2af8dd(0x1ea)][_0x2af8dd(0x5df)](_0x513a4c[_0x2af8dd(0x2c5)]()):A['of'](null);}),A[_0x20136f(0x4cb)](_0x41a305=>_0x41a305?_0x41a305[_0x20136f(0x4d4)]:A['of'](q['NOT_COLLAB'])))['subscribe'](_0x5a249d=>{const _0x467af1=_0x20136f;this[_0x467af1(0x59e)][_0x467af1(0x4bd)](_0x5a249d);}));}[_0x54516d(0x2dd)](){const _0x343991=_0x54516d;this['disposeWithMe'](this[_0x343991(0x5a2)][_0x343991(0x4f5)](ee[_0x343991(0x43e)][_0x343991(0x489)],()=>a[_0x343991(0x52e)](Vs({'status$':this['_status$']['asObservable']()}),this[_0x343991(0x47c)])));}},exports[_0x54516d(0x36e)]=Fs([$e(0x0,a[_0x54516d(0x4e2)]),$e(0x1,ee[_0x54516d(0x4ad)]),$e(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),$e(0x3,a[_0x54516d(0x573)](exports[_0x54516d(0x19c)]))],exports[_0x54516d(0x36e)]);function Vs(_0x15006d){const {status$:_0x15d776}=_0x15006d;return function(){const _0x53e895=_0xe852;return pe[_0x53e895(0x605)](Tn,{'status$':_0x15d776});};}const wt=a[_0x54516d(0x528)](_0x54516d(0x600));var Gs=Object['defineProperty'],Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x42f7c2,_0x177eae,_0x51d7de,_0xeb6936)=>{const _0x400c87=_0x54516d;for(var _0x2085c2=_0xeb6936>0x1?void 0x0:_0xeb6936?Ys(_0x177eae,_0x51d7de):_0x177eae,_0x464582=_0x42f7c2[_0x400c87(0x5e8)]-0x1,_0x5da3df;_0x464582>=0x0;_0x464582--)(_0x5da3df=_0x42f7c2[_0x464582])&&(_0x2085c2=(_0xeb6936?_0x5da3df(_0x177eae,_0x51d7de,_0x2085c2):_0x5da3df(_0x2085c2))||_0x2085c2);return _0xeb6936&&_0x2085c2&&Gs(_0x177eae,_0x51d7de,_0x2085c2),_0x2085c2;},Te=(_0x314ccb,_0x4bc22d)=>(_0x2153eb,_0x266f88)=>_0x4bc22d(_0x2153eb,_0x266f88,_0x314ccb);exports[_0x54516d(0x54d)]=class extends a['RxDisposable']{constructor(_0x42a0db,_0x3a16d4,_0x2dfc0e,_0x9a42eb,_0x3c7016,_0xba6036){const _0x1ec22d=_0x54516d;super(),this['_urlService']=_0x42a0db,this['_logService']=_0x3a16d4,this['_commandService']=_0x2dfc0e,this['_localCacheService']=_0x9a42eb,this[_0x1ec22d(0x61c)]=_0x3c7016,_0xba6036?_0xba6036==null||_0xba6036[_0x1ec22d(0x3ea)]()[_0x1ec22d(0x182)](()=>this['_init']()):(this[_0x1ec22d(0x241)][_0x1ec22d(0x583)]('[DataLoaderController]',_0x1ec22d(0x29b)),this[_0x1ec22d(0x488)]());}async[_0x54516d(0x488)](){const _0x20b82e=_0x54516d,_0x3307ba=this[_0x20b82e(0x27d)][_0x20b82e(0x479)](_0x20b82e(0x592)),_0x10655d=this[_0x20b82e(0x27d)][_0x20b82e(0x479)](_0x20b82e(0x242));if(!_0x3307ba||!_0x10655d){this['_logService'][_0x20b82e(0x583)](_0x20b82e(0x433),_0x20b82e(0x591));return;}switch(Number(_0x10655d)){case ie[_0x20b82e(0x299)]:{const _0x3f9eeb=await this['_loadSheet'](_0x3307ba);this['_setupSubUnitSync'](_0x3f9eeb);break;}case ie[_0x20b82e(0x60e)]:{await this['_loadDoc'](_0x3307ba);break;}default:{this[_0x20b82e(0x241)][_0x20b82e(0x29f)](_0x20b82e(0x433),_0x20b82e(0x188));break;}}}async['_setupSubUnitSync'](_0x143831){const _0x1a470f=_0x54516d;await this[_0x1a470f(0x2de)](_0x143831),_0x143831['activeSheet$'][_0x1a470f(0x5f2)](A[_0x1a470f(0x42d)](this[_0x1a470f(0x610)]))[_0x1a470f(0x4d6)](_0x306a6f=>{const _0x1f7769=_0x1a470f;_0x306a6f&&this[_0x1f7769(0x193)](_0x306a6f);}),this[_0x1a470f(0x27d)]['urlChange$'][_0x1a470f(0x5f2)](A['takeUntil'](this[_0x1a470f(0x610)]))[_0x1a470f(0x4d6)](()=>this['_updateSubUnitFromURLParams'](_0x143831));}[_0x54516d(0x193)](_0x2373c3,_0x232146=!0x1){const _0x45a736=_0x54516d,_0x4eccdd=this['_urlService']['getParam'](_0x45a736(0x2c6));_0x2373c3[_0x45a736(0x297)]()!==_0x4eccdd&&this[_0x45a736(0x27d)][_0x45a736(0x17e)](_0x45a736(0x2c6),_0x2373c3[_0x45a736(0x297)](),_0x232146);}async[_0x54516d(0x2de)](_0x261d98){const _0x1ea7fc=_0x54516d;var _0x338a59;const _0x4c0939=this['_urlService']['getParam'](_0x1ea7fc(0x2c6));if(!_0x4c0939||!_0x261d98['getSheetBySheetId'](_0x4c0939)){const _0x1b3305=_0x261d98[_0x1ea7fc(0x1f2)]()[0x0],_0x2b8442=_0x261d98['getSheetBySheetId'](_0x1b3305);if(!_0x2b8442)return;this[_0x1ea7fc(0x193)](_0x2b8442,!0x0),await this[_0x1ea7fc(0x1ca)][_0x1ea7fc(0x498)](k[_0x1ea7fc(0x3e4)]['id'],{'unitId':_0x261d98['getUnitId'](),'subUnitId':_0x1b3305});return;}((_0x338a59=_0x261d98['getActiveSheet']())==null?void 0x0:_0x338a59[_0x1ea7fc(0x297)]())!==_0x4c0939&&await this[_0x1ea7fc(0x1ca)]['executeCommand'](k[_0x1ea7fc(0x3e4)]['id'],{'unitId':_0x261d98[_0x1ea7fc(0x2c5)](),'subUnitId':_0x4c0939});}async[_0x54516d(0x52a)](_0x555adb){const _0x1b9606=_0x54516d;let _0x396f42=0x0;const _0x4c4d6c=await this[_0x1b9606(0x3bf)]['loadOfflineData'](_0x555adb);return _0x4c4d6c&&(_0x4c4d6c[_0x1b9606(0x3fb)]||_0x4c4d6c[_0x1b9606(0x1f3)][_0x1b9606(0x5e8)]!==0x0)&&(_0x396f42=_0x4c4d6c[_0x1b9606(0x537)]),_0x396f42===0x0&&this[_0x1b9606(0x241)][_0x1b9606(0x583)]('[DataLoaderController]',_0x1b9606(0x1bd)),this[_0x1b9606(0x61c)][_0x1b9606(0x448)](_0x555adb,_0x396f42);}async[_0x54516d(0x2b2)](_0x5ebf18){const _0x36a8ee=_0x54516d;let _0x321f69=0x0;const _0x66454d=await this[_0x36a8ee(0x3bf)][_0x36a8ee(0x456)](_0x5ebf18);return _0x66454d&&(_0x66454d[_0x36a8ee(0x3fb)]||_0x66454d['mutations'][_0x36a8ee(0x5e8)]!==0x0)&&(_0x321f69=_0x66454d[_0x36a8ee(0x537)]),_0x321f69===0x0&&this['_logService'][_0x36a8ee(0x583)](_0x36a8ee(0x433),_0x36a8ee(0x1bd)),this[_0x36a8ee(0x61c)][_0x36a8ee(0x4ec)](_0x5ebf18,_0x321f69);}},exports[_0x54516d(0x54d)]=Ks([Te(0x0,wt),Te(0x1,a[_0x54516d(0x4ee)]),Te(0x2,a[_0x54516d(0x18a)]),Te(0x3,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),Te(0x4,a[_0x54516d(0x573)](S[_0x54516d(0x58a)])),Te(0x5,a[_0x54516d(0x1ee)]($n[_0x54516d(0x376)]))],exports[_0x54516d(0x54d)]);var qs=Object[_0x54516d(0x461)],zs=Object['getOwnPropertyDescriptor'],Xs=(_0x2bf266,_0x3d40ec,_0x1586ba,_0x5e5c8d)=>{for(var _0x510c58=_0x5e5c8d>0x1?void 0x0:_0x5e5c8d?zs(_0x3d40ec,_0x1586ba):_0x3d40ec,_0x1cd646=_0x2bf266['length']-0x1,_0x2260b9;_0x1cd646>=0x0;_0x1cd646--)(_0x2260b9=_0x2bf266[_0x1cd646])&&(_0x510c58=(_0x5e5c8d?_0x2260b9(_0x3d40ec,_0x1586ba,_0x510c58):_0x2260b9(_0x510c58))||_0x510c58);return _0x5e5c8d&&_0x510c58&&qs(_0x3d40ec,_0x1586ba,_0x510c58),_0x510c58;},kt=(_0x409db7,_0x2be391)=>(_0x5d6a14,_0x5dae6d)=>_0x2be391(_0x5d6a14,_0x5dae6d,_0x409db7);const Js=_0x54516d(0x589),Zs=_0x54516d(0x1be);let Ve=class extends a[_0x54516d(0x25e)]{constructor(_0x17f91d,_0x2600ae){const _0x2c72fe=_0x54516d;super(),this['_univerInstanceService']=_0x17f91d,this[_0x2c72fe(0x2a3)]=_0x2600ae,this[_0x2c72fe(0x488)]();}[_0x54516d(0x488)](){const _0x5743df=_0x54516d;this[_0x5743df(0x55b)](this[_0x5743df(0x228)][_0x5743df(0x3e0)][_0x5743df(0x4d6)](()=>{const _0x41e7fe=_0x5743df;var _0x560582;const _0x2505fc=this[_0x41e7fe(0x228)][_0x41e7fe(0x310)]();let _0x3dac0e=(_0x560582=this[_0x41e7fe(0x2a3)][_0x41e7fe(0x21d)](Js))!=null?_0x560582:Zs;_0x2505fc instanceof a['Workbook']&&(_0x3dac0e=_0x2505fc[_0x41e7fe(0x5fa)]),document['title']=_0x3dac0e;}));}};Ve=Xs([kt(0x0,a[_0x54516d(0x4e2)]),kt(0x1,a[_0x54516d(0x208)])],Ve);var Qs=Object[_0x54516d(0x461)],er=Object[_0x54516d(0x363)],tr=(_0x464a8a,_0x24aafb,_0x98ff10,_0x52233d)=>{const _0x51d578=_0x54516d;for(var _0x18515d=_0x52233d>0x1?void 0x0:_0x52233d?er(_0x24aafb,_0x98ff10):_0x24aafb,_0x5570a6=_0x464a8a[_0x51d578(0x5e8)]-0x1,_0xaa2793;_0x5570a6>=0x0;_0x5570a6--)(_0xaa2793=_0x464a8a[_0x5570a6])&&(_0x18515d=(_0x52233d?_0xaa2793(_0x24aafb,_0x98ff10,_0x18515d):_0xaa2793(_0x18515d))||_0x18515d);return _0x52233d&&_0x18515d&&Qs(_0x24aafb,_0x98ff10,_0x18515d),_0x18515d;},at=(_0x5c7500,_0x5b8929)=>(_0x2049f4,_0x8876f7)=>_0x5b8929(_0x2049f4,_0x8876f7,_0x5c7500);let Ge=class{constructor(_0x5c5f61,_0x3ad6ca,_0x1f59b4){const _0xe5bb51=_0x54516d;this[_0xe5bb51(0x2a3)]=_0x5c5f61,this['_httpService']=_0x3ad6ca,this[_0xe5bb51(0x28a)]=_0x1f59b4,this[_0xe5bb51(0x4eb)]();}[_0x54516d(0x4eb)](){const _0x5e478b=_0x54516d;this[_0x5e478b(0x248)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x50f8ee,_0x3d9e21)=>_0x3d9e21(_0x50f8ee)[_0x5e478b(0x5f2)](A[_0x5e478b(0x1dd)](async _0x102854=>{const _0xa0eff1=_0x5e478b,_0x543075=_0x102854;if(_0x543075[_0xa0eff1(0x2d5)]===0x191&&window[_0xa0eff1(0x388)](this[_0xa0eff1(0x28a)]['t']('auth.needGotoLoginAlert'))){const _0x57a672=window[_0xa0eff1(0x1f5)](window[_0xa0eff1(0x2da)][_0xa0eff1(0x56d)]);window['location'][_0xa0eff1(0x56d)]=this['_getLoginPath']()+_0xa0eff1(0x530)+_0x57a672;}return _0x543075;}))});}[_0x54516d(0x48a)](){const _0x5707ad=_0x54516d;var _0x48512f,_0x5965ae;const _0x4e3b30=this['_configService'][_0x5707ad(0x21d)](an),_0x3e59dd=this['_configService'][_0x5707ad(0x21d)](te);return(_0x5965ae=(_0x48512f=_0x3e59dd==null?void 0x0:_0x3e59dd[_0x5707ad(0x350)])!=null?_0x48512f:_0x4e3b30)!=null?_0x5965ae:qn;}};Ge=tr([at(0x0,a[_0x54516d(0x208)]),at(0x1,a['Inject'](Z['HTTPService'])),at(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x2a1)]))],Ge);var nr=Object[_0x54516d(0x461)],ir=Object[_0x54516d(0x363)],sr=(_0x59583b,_0x54eb0a,_0x350008,_0x22e960)=>{const _0x974e1e=_0x54516d;for(var _0x12c614=_0x22e960>0x1?void 0x0:_0x22e960?ir(_0x54eb0a,_0x350008):_0x54eb0a,_0x4e4298=_0x59583b[_0x974e1e(0x5e8)]-0x1,_0x1de40d;_0x4e4298>=0x0;_0x4e4298--)(_0x1de40d=_0x59583b[_0x4e4298])&&(_0x12c614=(_0x22e960?_0x1de40d(_0x54eb0a,_0x350008,_0x12c614):_0x1de40d(_0x12c614))||_0x12c614);return _0x22e960&&_0x12c614&&nr(_0x54eb0a,_0x350008,_0x12c614),_0x12c614;},Wt=(_0x23a611,_0x3a59c4)=>(_0x5433ab,_0x47eb1d)=>_0x3a59c4(_0x5433ab,_0x47eb1d,_0x23a611);const Rn=_0x54516d(0x4dc),rr=_0x54516d(0x423);exports[_0x54516d(0x33f)]=class extends a[_0x54516d(0x25e)]{constructor(_0x4f6eac,_0x4fc12c){const _0x32c8b2=_0x54516d;super(),this[_0x32c8b2(0x41f)]=_0x4f6eac,this[_0x32c8b2(0x2a3)]=_0x4fc12c,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0xf974e1=_0x54516d,_0x319640=this;this[_0xf974e1(0x55b)](this['_HTTPService'][_0xf974e1(0x220)]({'priority':0x3e7,'interceptor':Z['MergeInterceptorFactory']({'isMatch'(_0xb7c66d){const _0x5c13a6=_0xf974e1;var _0x571202;if(_0xb7c66d[_0x5c13a6(0x3b5)]===_0x5c13a6(0x4d0)&&((_0x571202=_0xb7c66d[_0x5c13a6(0x5cd)])!=null&&_0x571202[_0x5c13a6(0x4ba)])){const {objectID:_0x4070e9,objectType:_0x543ca3}=_0xb7c66d['requestParams'][_0x5c13a6(0x4ba)]||{};if(!_0x4070e9||_0x543ca3===void 0x0)return!0x1;const _0x10ad9b=_0x319640[_0x5c13a6(0x4c8)]()+'/'+_0x543ca3+'/object/'+_0x4070e9+_0x5c13a6(0x35e);if(_0xb7c66d[_0x5c13a6(0x3bc)]===_0x10ad9b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x265774){const _0x423303=_0xf974e1;var _0x3f9574;return(_0x3f9574=_0x265774[_0x423303(0x5cd)])==null?void 0x0:_0x3f9574['body'];},'mergeParamsToRequest'(_0x5a4a87,_0x405ea4){const _0x2f61ec=_0xf974e1,_0x5b5d41=_0x319640[_0x2f61ec(0x4c8)]()+_0x2f61ec(0x273),_0x257cbd=_0x5a4a87['reduce']((_0x206f4c,_0x39f0f4)=>{const _0x205c55=_0x2f61ec,{unitID:_0x24d718,objectID:_0x46fa84,objectType:_0x474bd0,actions:_0xdbc8f3}=_0x39f0f4;return _0x206f4c[_0x24d718]||(_0x206f4c[_0x24d718]={}),_0x206f4c[_0x24d718][_0x46fa84]||(_0x206f4c[_0x24d718][_0x46fa84]={'objectID':_0x46fa84,'objectType':_0x474bd0,'actions':[]}),_0x206f4c[_0x24d718][_0x46fa84]['actions'][_0x205c55(0x26e)](..._0xdbc8f3),_0x206f4c;},{}),_0x59c6f2=[];for(const _0x4bfab2 in _0x257cbd)for(const _0x3c40cb in _0x257cbd[_0x4bfab2]){const {actions:_0x1abda5,objectType:_0x13e058}=_0x257cbd[_0x4bfab2][_0x3c40cb],_0x54cce1=[...new Set(_0x1abda5)];_0x59c6f2[_0x2f61ec(0x26e)]({'unitID':_0x4bfab2,'objectID':_0x3c40cb,'objectType':_0x13e058,'actions':_0x54cce1});}return new Z[(_0x2f61ec(0x4ac))](_0x2f61ec(0x4d0),_0x5b5d41,{'headers':_0x405ea4[_0x2f61ec(0x4de)],'withCredentials':_0x405ea4[_0x2f61ec(0x240)],'responseType':_0x405ea4[_0x2f61ec(0x356)],'body':{'requests':_0x59c6f2}});}},{'distributeResult'(_0xbc9f2f,_0x332f8e){const {objectActions:_0x185fa3}=_0xbc9f2f;return _0x332f8e['map'](_0x272e21=>{const _0x43ac0b=_0xe852,{unitID:_0x340b4,objectID:_0x1c8536,actions:_0x343132}=_0x272e21,_0x19fe06=_0x185fa3['find'](_0x354eb4=>_0x354eb4['unitID']===_0x340b4&&_0x354eb4[_0x43ac0b(0x377)]===_0x1c8536),_0x3b540d=_0x343132[_0x43ac0b(0x2c2)](_0x13db6f=>_0x19fe06==null?void 0x0:_0x19fe06[_0x43ac0b(0x35d)][_0x43ac0b(0x4d1)](_0x20929c=>_0x20929c[_0x43ac0b(0x439)]===_0x13db6f))[_0x43ac0b(0x292)](_0x144f7d=>!!_0x144f7d);return{'config':_0x272e21,'result':{'actions':_0x3b540d,'error':_0xbc9f2f[_0x43ac0b(0x29f)]}};});}})}));}[_0x54516d(0x4c8)](){const _0x53b5f7=_0x54516d;var _0x196df2,_0x3fb3c6;const _0x26e8d7=this[_0x53b5f7(0x2a3)][_0x53b5f7(0x21d)](Rn),_0x1a42f5=this[_0x53b5f7(0x2a3)][_0x53b5f7(0x21d)](te);return(_0x3fb3c6=(_0x196df2=_0x1a42f5==null?void 0x0:_0x1a42f5[_0x53b5f7(0x524)])!=null?_0x196df2:_0x26e8d7)!=null?_0x3fb3c6:rr;}async[_0x54516d(0x466)](_0x26a845){const _0x54ee37=_0x54516d,_0x2bccd1=this[_0x54ee37(0x4c8)]()+'/'+_0x26a845[_0x54ee37(0x386)]+_0x54ee37(0x538);return(await this[_0x54ee37(0x41f)][_0x54ee37(0x486)](_0x2bccd1,{'body':_0x26a845}))[_0x54ee37(0x4ba)]['objectID']||'';}async['list'](_0x1a304d){const _0x370ccd=_0x54516d,_0xdea3c1=this['_getAPIPrefixPath']()+_0x370ccd(0x26b);return(await this[_0x370ccd(0x41f)][_0x370ccd(0x486)](_0xdea3c1,{'body':_0x1a304d}))['body']['objects'];}async['update'](_0x7a67f){const _0x219b74=_0x54516d,_0xecacc7=this['_getAPIPrefixPath']()+'/'+_0x7a67f[_0x219b74(0x386)]+'/object/'+_0x7a67f[_0x219b74(0x377)];await this[_0x219b74(0x41f)][_0x219b74(0x5dd)](_0xecacc7,{'body':_0x7a67f});}async[_0x54516d(0x56c)](_0x3b1f44){const _0x430009=_0x54516d,_0xdd9a26=this[_0x430009(0x4c8)]()+'/'+_0x3b1f44['objectType']+_0x430009(0x3d0)+_0x3b1f44[_0x430009(0x377)]+_0x430009(0x35e);return(await this[_0x430009(0x41f)][_0x430009(0x486)](_0xdd9a26,{'body':_0x3b1f44}))[_0x430009(0x4ba)][_0x430009(0x35d)];}async[_0x54516d(0x212)](_0x11324c){const _0x5dcee1=_0x54516d,_0xac6bba=this['_getAPIPrefixPath']()+_0x5dcee1(0x273);return(await this[_0x5dcee1(0x41f)][_0x5dcee1(0x486)](_0xac6bba,{'body':{'requests':_0x11324c}}))['body'][_0x5dcee1(0x3dd)];}async[_0x54516d(0x442)](_0x283993){const _0x5d7b38=_0x54516d,_0x2ddaba=this['_getAPIPrefixPath']()+'/'+_0x283993['objectType']+_0x5d7b38(0x19e),_0x29ce1e=await this[_0x5d7b38(0x41f)][_0x5d7b38(0x486)](_0x2ddaba,{'body':_0x283993});return{'roles':_0x29ce1e[_0x5d7b38(0x4ba)][_0x5d7b38(0x434)],'actions':_0x29ce1e[_0x5d7b38(0x4ba)][_0x5d7b38(0x35d)]};}async[_0x54516d(0x54b)](_0x754de6){const _0x290e12=_0x54516d,_0x566d92=this[_0x290e12(0x4c8)]()+_0x290e12(0x3ca);await this[_0x290e12(0x41f)][_0x290e12(0x1c4)](_0x566d92,{'params':{'collaboratorID':_0x754de6[_0x290e12(0x1f4)],'objectID':_0x754de6[_0x290e12(0x377)],'unitID':_0x754de6[_0x290e12(0x351)]}});}async[_0x54516d(0x5fe)](_0x885adc){const _0x519f16=_0x54516d,_0x2db5e4=this['_getAPIPrefixPath']()+_0x519f16(0x3ca);await this[_0x519f16(0x41f)][_0x519f16(0x395)](_0x2db5e4,{'body':_0x885adc});}async[_0x54516d(0x501)](_0x39b4f4){const _0x473dc6=_0x54516d,_0x549b82=this[_0x473dc6(0x4c8)]()+'/collaborator';await this['_HTTPService'][_0x473dc6(0x486)](_0x549b82,{'body':_0x39b4f4});}async[_0x54516d(0x40a)](_0x542f70){const _0x2393c7=_0x54516d,_0x4c053d=this['_getAPIPrefixPath']()+_0x2393c7(0x3ca);return(await this[_0x2393c7(0x41f)]['get'](_0x4c053d,{'params':{'objectID':_0x542f70[_0x2393c7(0x377)],'unitID':_0x542f70[_0x2393c7(0x351)]}}))['body'][_0x2393c7(0x4fe)];}async[_0x54516d(0x296)](_0xe82f50){const _0x1706f4=_0x54516d,_0x1cad65=this[_0x1706f4(0x4c8)]()+_0x1706f4(0x3ca);await this['_HTTPService']['put'](_0x1cad65,{'body':_0xe82f50});}},exports[_0x54516d(0x33f)]=sr([Wt(0x0,a[_0x54516d(0x573)](Z[_0x54516d(0x180)])),Wt(0x1,a[_0x54516d(0x573)](a[_0x54516d(0x208)]))],exports[_0x54516d(0x33f)]);var yn={'exports':{}};function or(_0x160389){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x160389+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ct={'exports':{}},Ft;function oe(){const _0x478814=_0x54516d;return Ft||(Ft=0x1,function(_0x3d16f4,_0x55b1e3){(function(_0x59ce01,_0x265acd){const _0xec2e18=_0xe852;_0x3d16f4[_0xec2e18(0x359)]=_0x265acd();}(X,function(){var _0xe7ac7b=_0xe7ac7b||function(_0x511874,_0x4f84e1){const _0x28a44a=_0xe852;var _0xdb988e;if(typeof window<'u'&&window['crypto']&&(_0xdb988e=window['crypto']),typeof self<'u'&&self[_0x28a44a(0x2ed)]&&(_0xdb988e=self['crypto']),typeof globalThis<'u'&&globalThis[_0x28a44a(0x2ed)]&&(_0xdb988e=globalThis['crypto']),!_0xdb988e&&typeof window<'u'&&window[_0x28a44a(0x324)]&&(_0xdb988e=window[_0x28a44a(0x324)]),!_0xdb988e&&typeof X<'u'&&X[_0x28a44a(0x2ed)]&&(_0xdb988e=X[_0x28a44a(0x2ed)]),!_0xdb988e&&typeof or=='function')try{_0xdb988e=require('crypto');}catch{}var _0x5c4a8c=function(){const _0x49e769=_0x28a44a;if(_0xdb988e){if(typeof _0xdb988e[_0x49e769(0x505)]==_0x49e769(0x30c))try{return _0xdb988e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xdb988e[_0x49e769(0x44d)]=='function')try{return _0xdb988e['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x49e769(0x3a6));},_0x12e760=Object[_0x28a44a(0x466)]||(function(){function _0x503e8f(){}return function(_0x1a7496){var _0x3e0576;return _0x503e8f['prototype']=_0x1a7496,_0x3e0576=new _0x503e8f(),_0x503e8f['prototype']=null,_0x3e0576;};}()),_0x4641d5={},_0x425fa7=_0x4641d5[_0x28a44a(0x394)]={},_0x420377=_0x425fa7[_0x28a44a(0x5b4)]=(function(){return{'extend':function(_0x2dea3f){const _0x137c47=_0xe852;var _0x201568=_0x12e760(this);return _0x2dea3f&&_0x201568[_0x137c47(0x195)](_0x2dea3f),(!_0x201568['hasOwnProperty'](_0x137c47(0x4eb))||this[_0x137c47(0x4eb)]===_0x201568['init'])&&(_0x201568[_0x137c47(0x4eb)]=function(){const _0x154ae8=_0x137c47;_0x201568['$super'][_0x154ae8(0x4eb)]['apply'](this,arguments);}),_0x201568[_0x137c47(0x4eb)][_0x137c47(0x494)]=_0x201568,_0x201568[_0x137c47(0x175)]=this,_0x201568;},'create':function(){const _0x541162=_0xe852;var _0x39e094=this[_0x541162(0x16e)]();return _0x39e094[_0x541162(0x4eb)][_0x541162(0x613)](_0x39e094,arguments),_0x39e094;},'init':function(){},'mixIn':function(_0x335f09){const _0x387d63=_0xe852;for(var _0x245bd4 in _0x335f09)_0x335f09[_0x387d63(0x284)](_0x245bd4)&&(this[_0x245bd4]=_0x335f09[_0x245bd4]);_0x335f09[_0x387d63(0x284)](_0x387d63(0x481))&&(this[_0x387d63(0x481)]=_0x335f09['toString']);},'clone':function(){const _0x116636=_0xe852;return this[_0x116636(0x4eb)][_0x116636(0x494)]['extend'](this);}};}()),_0xeb3b7c=_0x425fa7[_0x28a44a(0x516)]=_0x420377[_0x28a44a(0x16e)]({'init':function(_0x38766d,_0x319cfd){const _0x497498=_0x28a44a;_0x38766d=this[_0x497498(0x407)]=_0x38766d||[],_0x319cfd!=_0x4f84e1?this[_0x497498(0x19a)]=_0x319cfd:this[_0x497498(0x19a)]=_0x38766d[_0x497498(0x5e8)]*0x4;},'toString':function(_0x36082a){const _0x271429=_0x28a44a;return(_0x36082a||_0x48dccf)[_0x271429(0x4c1)](this);},'concat':function(_0x4e0b91){const _0x3be161=_0x28a44a;var _0x859901=this[_0x3be161(0x407)],_0x34a012=_0x4e0b91[_0x3be161(0x407)],_0x29cc01=this['sigBytes'],_0x93ad8b=_0x4e0b91[_0x3be161(0x19a)];if(this[_0x3be161(0x426)](),_0x29cc01%0x4)for(var _0x5da072=0x0;_0x5da072<_0x93ad8b;_0x5da072++){var _0x2e036f=_0x34a012[_0x5da072>>>0x2]>>>0x18-_0x5da072%0x4*0x8&0xff;_0x859901[_0x29cc01+_0x5da072>>>0x2]|=_0x2e036f<<0x18-(_0x29cc01+_0x5da072)%0x4*0x8;}else{for(var _0xe90f92=0x0;_0xe90f92<_0x93ad8b;_0xe90f92+=0x4)_0x859901[_0x29cc01+_0xe90f92>>>0x2]=_0x34a012[_0xe90f92>>>0x2];}return this[_0x3be161(0x19a)]+=_0x93ad8b,this;},'clamp':function(){const _0x26eac8=_0x28a44a;var _0x232887=this['words'],_0x460ef8=this[_0x26eac8(0x19a)];_0x232887[_0x460ef8>>>0x2]&=0xffffffff<<0x20-_0x460ef8%0x4*0x8,_0x232887[_0x26eac8(0x5e8)]=_0x511874[_0x26eac8(0x341)](_0x460ef8/0x4);},'clone':function(){const _0xa96017=_0x28a44a;var _0x368ec4=_0x420377[_0xa96017(0x39d)][_0xa96017(0x2a5)](this);return _0x368ec4['words']=this[_0xa96017(0x407)][_0xa96017(0x4f1)](0x0),_0x368ec4;},'random':function(_0x1201c5){const _0x191f30=_0x28a44a;for(var _0x4be020=[],_0x1fa1a5=0x0;_0x1fa1a5<_0x1201c5;_0x1fa1a5+=0x4)_0x4be020[_0x191f30(0x26e)](_0x5c4a8c());return new _0xeb3b7c[(_0x191f30(0x4eb))](_0x4be020,_0x1201c5);}}),_0x289a06=_0x4641d5[_0x28a44a(0x34b)]={},_0x48dccf=_0x289a06[_0x28a44a(0x352)]={'stringify':function(_0x3b99a0){const _0x508d23=_0x28a44a;for(var _0x48786c=_0x3b99a0[_0x508d23(0x407)],_0x4d2e65=_0x3b99a0[_0x508d23(0x19a)],_0x316eba=[],_0x1f8345=0x0;_0x1f8345<_0x4d2e65;_0x1f8345++){var _0x544fe3=_0x48786c[_0x1f8345>>>0x2]>>>0x18-_0x1f8345%0x4*0x8&0xff;_0x316eba[_0x508d23(0x26e)]((_0x544fe3>>>0x4)[_0x508d23(0x481)](0x10)),_0x316eba[_0x508d23(0x26e)]((_0x544fe3&0xf)[_0x508d23(0x481)](0x10));}return _0x316eba['join']('');},'parse':function(_0x395431){const _0x401417=_0x28a44a;for(var _0x3b28ea=_0x395431[_0x401417(0x5e8)],_0x3eaf7b=[],_0x453f33=0x0;_0x453f33<_0x3b28ea;_0x453f33+=0x2)_0x3eaf7b[_0x453f33>>>0x3]|=parseInt(_0x395431[_0x401417(0x275)](_0x453f33,0x2),0x10)<<0x18-_0x453f33%0x8*0x4;return new _0xeb3b7c[(_0x401417(0x4eb))](_0x3eaf7b,_0x3b28ea/0x2);}},_0x5448a1=_0x289a06['Latin1']={'stringify':function(_0x45910d){const _0x513fc3=_0x28a44a;for(var _0x40627a=_0x45910d[_0x513fc3(0x407)],_0x1e64a9=_0x45910d[_0x513fc3(0x19a)],_0x270e4b=[],_0x1addb4=0x0;_0x1addb4<_0x1e64a9;_0x1addb4++){var _0x163092=_0x40627a[_0x1addb4>>>0x2]>>>0x18-_0x1addb4%0x4*0x8&0xff;_0x270e4b[_0x513fc3(0x26e)](String[_0x513fc3(0x5ca)](_0x163092));}return _0x270e4b[_0x513fc3(0x239)]('');},'parse':function(_0x5f31b5){const _0x31af8a=_0x28a44a;for(var _0x22cdfa=_0x5f31b5[_0x31af8a(0x5e8)],_0x2b8382=[],_0x4a7154=0x0;_0x4a7154<_0x22cdfa;_0x4a7154++)_0x2b8382[_0x4a7154>>>0x2]|=(_0x5f31b5[_0x31af8a(0x34d)](_0x4a7154)&0xff)<<0x18-_0x4a7154%0x4*0x8;return new _0xeb3b7c[(_0x31af8a(0x4eb))](_0x2b8382,_0x22cdfa);}},_0x1a33af=_0x289a06[_0x28a44a(0x31b)]={'stringify':function(_0xfbd2e7){const _0x14216e=_0x28a44a;try{return decodeURIComponent(escape(_0x5448a1[_0x14216e(0x4c1)](_0xfbd2e7)));}catch{throw new Error(_0x14216e(0x1cf));}},'parse':function(_0x533969){const _0xae45f0=_0x28a44a;return _0x5448a1[_0xae45f0(0x2a0)](unescape(encodeURIComponent(_0x533969)));}},_0x531fdd=_0x425fa7['BufferedBlockAlgorithm']=_0x420377[_0x28a44a(0x16e)]({'reset':function(){const _0x14e6d0=_0x28a44a;this[_0x14e6d0(0x578)]=new _0xeb3b7c[(_0x14e6d0(0x4eb))](),this[_0x14e6d0(0x5ec)]=0x0;},'_append':function(_0x3af5d1){const _0x40c525=_0x28a44a;typeof _0x3af5d1==_0x40c525(0x3aa)&&(_0x3af5d1=_0x1a33af[_0x40c525(0x2a0)](_0x3af5d1)),this[_0x40c525(0x578)][_0x40c525(0x213)](_0x3af5d1),this[_0x40c525(0x5ec)]+=_0x3af5d1[_0x40c525(0x19a)];},'_process':function(_0x40e846){const _0x1c3758=_0x28a44a;var _0x4dd486,_0x3c9f1e=this[_0x1c3758(0x578)],_0x3aaf6f=_0x3c9f1e[_0x1c3758(0x407)],_0x1acb6f=_0x3c9f1e['sigBytes'],_0x1f7d26=this[_0x1c3758(0x5d1)],_0x5570e3=_0x1f7d26*0x4,_0x5c57dc=_0x1acb6f/_0x5570e3;_0x40e846?_0x5c57dc=_0x511874['ceil'](_0x5c57dc):_0x5c57dc=_0x511874['max']((_0x5c57dc|0x0)-this[_0x1c3758(0x22f)],0x0);var _0x21e8f4=_0x5c57dc*_0x1f7d26,_0x30ba03=_0x511874['min'](_0x21e8f4*0x4,_0x1acb6f);if(_0x21e8f4){for(var _0x5cb110=0x0;_0x5cb110<_0x21e8f4;_0x5cb110+=_0x1f7d26)this[_0x1c3758(0x306)](_0x3aaf6f,_0x5cb110);_0x4dd486=_0x3aaf6f[_0x1c3758(0x4a2)](0x0,_0x21e8f4),_0x3c9f1e['sigBytes']-=_0x30ba03;}return new _0xeb3b7c[(_0x1c3758(0x4eb))](_0x4dd486,_0x30ba03);},'clone':function(){const _0x18c67a=_0x28a44a;var _0x373499=_0x420377['clone'][_0x18c67a(0x2a5)](this);return _0x373499[_0x18c67a(0x578)]=this[_0x18c67a(0x578)]['clone'](),_0x373499;},'_minBufferSize':0x0});_0x425fa7[_0x28a44a(0x4a3)]=_0x531fdd[_0x28a44a(0x16e)]({'cfg':_0x420377['extend'](),'init':function(_0x4798ad){const _0x55eac8=_0x28a44a;this[_0x55eac8(0x57f)]=this[_0x55eac8(0x57f)][_0x55eac8(0x16e)](_0x4798ad),this[_0x55eac8(0x44c)]();},'reset':function(){const _0x3a4c9d=_0x28a44a;_0x531fdd[_0x3a4c9d(0x44c)][_0x3a4c9d(0x2a5)](this),this[_0x3a4c9d(0x384)]();},'update':function(_0x41d7d2){const _0x2c3fa2=_0x28a44a;return this[_0x2c3fa2(0x597)](_0x41d7d2),this[_0x2c3fa2(0x606)](),this;},'finalize':function(_0x506ce){const _0x42ccca=_0x28a44a;_0x506ce&&this[_0x42ccca(0x597)](_0x506ce);var _0x25c47c=this[_0x42ccca(0x1ed)]();return _0x25c47c;},'blockSize':0x10,'_createHelper':function(_0x445021){return function(_0x1a563d,_0x11a28f){const _0x671546=_0xe852;return new _0x445021['init'](_0x11a28f)[_0x671546(0x408)](_0x1a563d);};},'_createHmacHelper':function(_0x203552){return function(_0x19062f,_0x42a461){const _0x38bb1e=_0xe852;return new _0x5af3a8[(_0x38bb1e(0x599))][(_0x38bb1e(0x4eb))](_0x203552,_0x42a461)[_0x38bb1e(0x408)](_0x19062f);};}});var _0x5af3a8=_0x4641d5[_0x28a44a(0x247)]={};return _0x4641d5;}(Math);return _0xe7ac7b;}));}(ct)),ct[_0x478814(0x359)];}var lt={'exports':{}},Vt;function On(){const _0x25fdc6=_0x54516d;return Vt||(Vt=0x1,function(_0x1b404a,_0x3a01d2){(function(_0x5b5eaa,_0x55128f){const _0x5f186a=_0xe852;_0x1b404a[_0x5f186a(0x359)]=_0x55128f(oe());}(X,function(_0x4afbed){const _0x1650aa=_0xe852;return(function(){const _0x457669=_0xe852;var _0x1ed779=_0x4afbed,_0x385f6f=_0x1ed779[_0x457669(0x394)],_0x3459a6=_0x385f6f[_0x457669(0x516)],_0x2c22ec=_0x1ed779[_0x457669(0x34b)];_0x2c22ec['Base64']={'stringify':function(_0x4f4415){const _0x3ce0ef=_0x457669;var _0x32d176=_0x4f4415[_0x3ce0ef(0x407)],_0x4381b5=_0x4f4415[_0x3ce0ef(0x19a)],_0x358eb4=this['_map'];_0x4f4415[_0x3ce0ef(0x426)]();for(var _0x4afc10=[],_0x43cc77=0x0;_0x43cc77<_0x4381b5;_0x43cc77+=0x3)for(var _0x92737c=_0x32d176[_0x43cc77>>>0x2]>>>0x18-_0x43cc77%0x4*0x8&0xff,_0x4f6c20=_0x32d176[_0x43cc77+0x1>>>0x2]>>>0x18-(_0x43cc77+0x1)%0x4*0x8&0xff,_0x464194=_0x32d176[_0x43cc77+0x2>>>0x2]>>>0x18-(_0x43cc77+0x2)%0x4*0x8&0xff,_0x4cc18e=_0x92737c<<0x10|_0x4f6c20<<0x8|_0x464194,_0x49f36b=0x0;_0x49f36b<0x4&&_0x43cc77+_0x49f36b*0.75<_0x4381b5;_0x49f36b++)_0x4afc10['push'](_0x358eb4[_0x3ce0ef(0x1f7)](_0x4cc18e>>>0x6*(0x3-_0x49f36b)&0x3f));var _0x595640=_0x358eb4['charAt'](0x40);if(_0x595640){for(;_0x4afc10[_0x3ce0ef(0x5e8)]%0x4;)_0x4afc10['push'](_0x595640);}return _0x4afc10[_0x3ce0ef(0x239)]('');},'parse':function(_0x1f9aa0){const _0x3bd4f0=_0x457669;var _0x262499=_0x1f9aa0[_0x3bd4f0(0x5e8)],_0x129868=this[_0x3bd4f0(0x2c8)],_0x18c4a9=this[_0x3bd4f0(0x1e7)];if(!_0x18c4a9){_0x18c4a9=this['_reverseMap']=[];for(var _0x38742b=0x0;_0x38742b<_0x129868[_0x3bd4f0(0x5e8)];_0x38742b++)_0x18c4a9[_0x129868[_0x3bd4f0(0x34d)](_0x38742b)]=_0x38742b;}var _0x2521a8=_0x129868['charAt'](0x40);if(_0x2521a8){var _0x1273a6=_0x1f9aa0[_0x3bd4f0(0x31d)](_0x2521a8);_0x1273a6!==-0x1&&(_0x262499=_0x1273a6);}return _0x5c29a4(_0x1f9aa0,_0x262499,_0x18c4a9);},'_map':_0x457669(0x49f)};function _0x5c29a4(_0x44cbc5,_0x1da358,_0x44fbef){const _0x12d070=_0x457669;for(var _0x2d99f5=[],_0x3f3f33=0x0,_0x305a15=0x0;_0x305a15<_0x1da358;_0x305a15++)if(_0x305a15%0x4){var _0x2db90d=_0x44fbef[_0x44cbc5['charCodeAt'](_0x305a15-0x1)]<<_0x305a15%0x4*0x2,_0x369b2b=_0x44fbef[_0x44cbc5[_0x12d070(0x34d)](_0x305a15)]>>>0x6-_0x305a15%0x4*0x2,_0x164006=_0x2db90d|_0x369b2b;_0x2d99f5[_0x3f3f33>>>0x2]|=_0x164006<<0x18-_0x3f3f33%0x4*0x8,_0x3f3f33++;}return _0x3459a6[_0x12d070(0x466)](_0x2d99f5,_0x3f3f33);}}()),_0x4afbed['enc'][_0x1650aa(0x463)];}));}(lt)),lt[_0x25fdc6(0x359)];}var ht={'exports':{}},Gt;function ar(){const _0x5da71d=_0x54516d;return Gt||(Gt=0x1,function(_0x1a3da7,_0x3e972c){(function(_0x2c2a0a,_0x3163a6){_0x1a3da7['exports']=_0x3163a6(oe());}(X,function(_0x392459){return function(_0x1d8227){const _0x1c7023=_0xe852;var _0x2498af=_0x392459,_0x27ee1a=_0x2498af[_0x1c7023(0x394)],_0x3a3261=_0x27ee1a[_0x1c7023(0x516)],_0x31c127=_0x27ee1a[_0x1c7023(0x4a3)],_0x3c4811=_0x2498af[_0x1c7023(0x247)],_0x5a36f4=[];(function(){const _0x16f8c8=_0x1c7023;for(var _0x149fe5=0x0;_0x149fe5<0x40;_0x149fe5++)_0x5a36f4[_0x149fe5]=_0x1d8227[_0x16f8c8(0x50c)](_0x1d8227['sin'](_0x149fe5+0x1))*0x100000000|0x0;}());var _0x52cc8b=_0x3c4811[_0x1c7023(0x2b0)]=_0x31c127[_0x1c7023(0x16e)]({'_doReset':function(){const _0x52eb05=_0x1c7023;this[_0x52eb05(0x2b5)]=new _0x3a3261[(_0x52eb05(0x4eb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4045b8,_0x48bb48){for(var _0x2e49d5=0x0;_0x2e49d5<0x10;_0x2e49d5++){var _0x3dd6bc=_0x48bb48+_0x2e49d5,_0x12d1d3=_0x4045b8[_0x3dd6bc];_0x4045b8[_0x3dd6bc]=(_0x12d1d3<<0x8|_0x12d1d3>>>0x18)&0xff00ff|(_0x12d1d3<<0x18|_0x12d1d3>>>0x8)&0xff00ff00;}var _0x778b38=this['_hash']['words'],_0x439bcb=_0x4045b8[_0x48bb48+0x0],_0x5927e6=_0x4045b8[_0x48bb48+0x1],_0x5d7332=_0x4045b8[_0x48bb48+0x2],_0x1f808c=_0x4045b8[_0x48bb48+0x3],_0x526cac=_0x4045b8[_0x48bb48+0x4],_0x49016c=_0x4045b8[_0x48bb48+0x5],_0x1b2be1=_0x4045b8[_0x48bb48+0x6],_0x558604=_0x4045b8[_0x48bb48+0x7],_0x3647de=_0x4045b8[_0x48bb48+0x8],_0x532f59=_0x4045b8[_0x48bb48+0x9],_0x481913=_0x4045b8[_0x48bb48+0xa],_0x466da1=_0x4045b8[_0x48bb48+0xb],_0x12755a=_0x4045b8[_0x48bb48+0xc],_0x3f8ee8=_0x4045b8[_0x48bb48+0xd],_0x1c6d93=_0x4045b8[_0x48bb48+0xe],_0x1214a5=_0x4045b8[_0x48bb48+0xf],_0x1f0876=_0x778b38[0x0],_0x16a37f=_0x778b38[0x1],_0x2b04ca=_0x778b38[0x2],_0x2bd87b=_0x778b38[0x3];_0x1f0876=_0x4ae833(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x439bcb,0x7,_0x5a36f4[0x0]),_0x2bd87b=_0x4ae833(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x5927e6,0xc,_0x5a36f4[0x1]),_0x2b04ca=_0x4ae833(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x5d7332,0x11,_0x5a36f4[0x2]),_0x16a37f=_0x4ae833(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x1f808c,0x16,_0x5a36f4[0x3]),_0x1f0876=_0x4ae833(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x526cac,0x7,_0x5a36f4[0x4]),_0x2bd87b=_0x4ae833(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x49016c,0xc,_0x5a36f4[0x5]),_0x2b04ca=_0x4ae833(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1b2be1,0x11,_0x5a36f4[0x6]),_0x16a37f=_0x4ae833(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x558604,0x16,_0x5a36f4[0x7]),_0x1f0876=_0x4ae833(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x3647de,0x7,_0x5a36f4[0x8]),_0x2bd87b=_0x4ae833(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x532f59,0xc,_0x5a36f4[0x9]),_0x2b04ca=_0x4ae833(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x481913,0x11,_0x5a36f4[0xa]),_0x16a37f=_0x4ae833(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x466da1,0x16,_0x5a36f4[0xb]),_0x1f0876=_0x4ae833(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x12755a,0x7,_0x5a36f4[0xc]),_0x2bd87b=_0x4ae833(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x3f8ee8,0xc,_0x5a36f4[0xd]),_0x2b04ca=_0x4ae833(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1c6d93,0x11,_0x5a36f4[0xe]),_0x16a37f=_0x4ae833(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x1214a5,0x16,_0x5a36f4[0xf]),_0x1f0876=_0x48915a(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x5927e6,0x5,_0x5a36f4[0x10]),_0x2bd87b=_0x48915a(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x1b2be1,0x9,_0x5a36f4[0x11]),_0x2b04ca=_0x48915a(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x466da1,0xe,_0x5a36f4[0x12]),_0x16a37f=_0x48915a(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x439bcb,0x14,_0x5a36f4[0x13]),_0x1f0876=_0x48915a(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x49016c,0x5,_0x5a36f4[0x14]),_0x2bd87b=_0x48915a(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x481913,0x9,_0x5a36f4[0x15]),_0x2b04ca=_0x48915a(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1214a5,0xe,_0x5a36f4[0x16]),_0x16a37f=_0x48915a(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x526cac,0x14,_0x5a36f4[0x17]),_0x1f0876=_0x48915a(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x532f59,0x5,_0x5a36f4[0x18]),_0x2bd87b=_0x48915a(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x1c6d93,0x9,_0x5a36f4[0x19]),_0x2b04ca=_0x48915a(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1f808c,0xe,_0x5a36f4[0x1a]),_0x16a37f=_0x48915a(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x3647de,0x14,_0x5a36f4[0x1b]),_0x1f0876=_0x48915a(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x3f8ee8,0x5,_0x5a36f4[0x1c]),_0x2bd87b=_0x48915a(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x5d7332,0x9,_0x5a36f4[0x1d]),_0x2b04ca=_0x48915a(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x558604,0xe,_0x5a36f4[0x1e]),_0x16a37f=_0x48915a(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x12755a,0x14,_0x5a36f4[0x1f]),_0x1f0876=_0x11ec17(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x49016c,0x4,_0x5a36f4[0x20]),_0x2bd87b=_0x11ec17(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x3647de,0xb,_0x5a36f4[0x21]),_0x2b04ca=_0x11ec17(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x466da1,0x10,_0x5a36f4[0x22]),_0x16a37f=_0x11ec17(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x1c6d93,0x17,_0x5a36f4[0x23]),_0x1f0876=_0x11ec17(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x5927e6,0x4,_0x5a36f4[0x24]),_0x2bd87b=_0x11ec17(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x526cac,0xb,_0x5a36f4[0x25]),_0x2b04ca=_0x11ec17(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x558604,0x10,_0x5a36f4[0x26]),_0x16a37f=_0x11ec17(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x481913,0x17,_0x5a36f4[0x27]),_0x1f0876=_0x11ec17(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x3f8ee8,0x4,_0x5a36f4[0x28]),_0x2bd87b=_0x11ec17(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x439bcb,0xb,_0x5a36f4[0x29]),_0x2b04ca=_0x11ec17(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1f808c,0x10,_0x5a36f4[0x2a]),_0x16a37f=_0x11ec17(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x1b2be1,0x17,_0x5a36f4[0x2b]),_0x1f0876=_0x11ec17(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x532f59,0x4,_0x5a36f4[0x2c]),_0x2bd87b=_0x11ec17(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x12755a,0xb,_0x5a36f4[0x2d]),_0x2b04ca=_0x11ec17(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1214a5,0x10,_0x5a36f4[0x2e]),_0x16a37f=_0x11ec17(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x5d7332,0x17,_0x5a36f4[0x2f]),_0x1f0876=_0x443821(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x439bcb,0x6,_0x5a36f4[0x30]),_0x2bd87b=_0x443821(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x558604,0xa,_0x5a36f4[0x31]),_0x2b04ca=_0x443821(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1c6d93,0xf,_0x5a36f4[0x32]),_0x16a37f=_0x443821(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x49016c,0x15,_0x5a36f4[0x33]),_0x1f0876=_0x443821(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x12755a,0x6,_0x5a36f4[0x34]),_0x2bd87b=_0x443821(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x1f808c,0xa,_0x5a36f4[0x35]),_0x2b04ca=_0x443821(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x481913,0xf,_0x5a36f4[0x36]),_0x16a37f=_0x443821(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x5927e6,0x15,_0x5a36f4[0x37]),_0x1f0876=_0x443821(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x3647de,0x6,_0x5a36f4[0x38]),_0x2bd87b=_0x443821(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x1214a5,0xa,_0x5a36f4[0x39]),_0x2b04ca=_0x443821(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1b2be1,0xf,_0x5a36f4[0x3a]),_0x16a37f=_0x443821(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x3f8ee8,0x15,_0x5a36f4[0x3b]),_0x1f0876=_0x443821(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x526cac,0x6,_0x5a36f4[0x3c]),_0x2bd87b=_0x443821(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x466da1,0xa,_0x5a36f4[0x3d]),_0x2b04ca=_0x443821(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x5d7332,0xf,_0x5a36f4[0x3e]),_0x16a37f=_0x443821(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x532f59,0x15,_0x5a36f4[0x3f]),_0x778b38[0x0]=_0x778b38[0x0]+_0x1f0876|0x0,_0x778b38[0x1]=_0x778b38[0x1]+_0x16a37f|0x0,_0x778b38[0x2]=_0x778b38[0x2]+_0x2b04ca|0x0,_0x778b38[0x3]=_0x778b38[0x3]+_0x2bd87b|0x0;},'_doFinalize':function(){const _0x2bf386=_0x1c7023;var _0x4cada1=this[_0x2bf386(0x578)],_0x5acd0c=_0x4cada1[_0x2bf386(0x407)],_0x32c827=this['_nDataBytes']*0x8,_0x4a71d4=_0x4cada1[_0x2bf386(0x19a)]*0x8;_0x5acd0c[_0x4a71d4>>>0x5]|=0x80<<0x18-_0x4a71d4%0x20;var _0x36007d=_0x1d8227[_0x2bf386(0x56b)](_0x32c827/0x100000000),_0x1c2f2e=_0x32c827;_0x5acd0c[(_0x4a71d4+0x40>>>0x9<<0x4)+0xf]=(_0x36007d<<0x8|_0x36007d>>>0x18)&0xff00ff|(_0x36007d<<0x18|_0x36007d>>>0x8)&0xff00ff00,_0x5acd0c[(_0x4a71d4+0x40>>>0x9<<0x4)+0xe]=(_0x1c2f2e<<0x8|_0x1c2f2e>>>0x18)&0xff00ff|(_0x1c2f2e<<0x18|_0x1c2f2e>>>0x8)&0xff00ff00,_0x4cada1[_0x2bf386(0x19a)]=(_0x5acd0c[_0x2bf386(0x5e8)]+0x1)*0x4,this[_0x2bf386(0x606)]();for(var _0x320144=this[_0x2bf386(0x2b5)],_0x5ad957=_0x320144[_0x2bf386(0x407)],_0x13be44=0x0;_0x13be44<0x4;_0x13be44++){var _0x502fe6=_0x5ad957[_0x13be44];_0x5ad957[_0x13be44]=(_0x502fe6<<0x8|_0x502fe6>>>0x18)&0xff00ff|(_0x502fe6<<0x18|_0x502fe6>>>0x8)&0xff00ff00;}return _0x320144;},'clone':function(){const _0x7b1808=_0x1c7023;var _0x3895fc=_0x31c127[_0x7b1808(0x39d)][_0x7b1808(0x2a5)](this);return _0x3895fc[_0x7b1808(0x2b5)]=this[_0x7b1808(0x2b5)]['clone'](),_0x3895fc;}});function _0x4ae833(_0x5cac38,_0x550348,_0x4349e1,_0x45c6d2,_0x3fa04b,_0x2c3506,_0x54598f){var _0x469023=_0x5cac38+(_0x550348&_0x4349e1|~_0x550348&_0x45c6d2)+_0x3fa04b+_0x54598f;return(_0x469023<<_0x2c3506|_0x469023>>>0x20-_0x2c3506)+_0x550348;}function _0x48915a(_0x5767c3,_0x54a007,_0x3f776a,_0x39c20a,_0x35ae04,_0x2ff7bf,_0x5c3f71){var _0xd5ee95=_0x5767c3+(_0x54a007&_0x39c20a|_0x3f776a&~_0x39c20a)+_0x35ae04+_0x5c3f71;return(_0xd5ee95<<_0x2ff7bf|_0xd5ee95>>>0x20-_0x2ff7bf)+_0x54a007;}function _0x11ec17(_0x19e3ae,_0x5496cb,_0x208658,_0x3511cf,_0x149ce6,_0x5b1179,_0x5149ce){var _0x55d604=_0x19e3ae+(_0x5496cb^_0x208658^_0x3511cf)+_0x149ce6+_0x5149ce;return(_0x55d604<<_0x5b1179|_0x55d604>>>0x20-_0x5b1179)+_0x5496cb;}function _0x443821(_0xa5a65,_0x2ca53b,_0x612c90,_0x418e98,_0x75384e,_0x30e2fb,_0x248e23){var _0x321b80=_0xa5a65+(_0x612c90^(_0x2ca53b|~_0x418e98))+_0x75384e+_0x248e23;return(_0x321b80<<_0x30e2fb|_0x321b80>>>0x20-_0x30e2fb)+_0x2ca53b;}_0x2498af[_0x1c7023(0x2b0)]=_0x31c127[_0x1c7023(0x568)](_0x52cc8b),_0x2498af['HmacMD5']=_0x31c127[_0x1c7023(0x476)](_0x52cc8b);}(Math),_0x392459['MD5'];}));}(ht)),ht[_0x5da71d(0x359)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x2e5625=_0x54516d;return Yt||(Yt=0x1,function(_0x183ded,_0x2fe3a9){(function(_0xa86169,_0x1f262e){const _0x4ba214=_0xe852;_0x183ded[_0x4ba214(0x359)]=_0x1f262e(oe());}(X,function(_0x386bbe){const _0x219753=_0xe852;return(function(){const _0x2e6b5b=_0xe852;var _0x547de3=_0x386bbe,_0x4396e3=_0x547de3[_0x2e6b5b(0x394)],_0x18701b=_0x4396e3[_0x2e6b5b(0x516)],_0x4db062=_0x4396e3['Hasher'],_0xc568af=_0x547de3[_0x2e6b5b(0x247)],_0x4d506c=[],_0x9a1bf6=_0xc568af[_0x2e6b5b(0x3d9)]=_0x4db062[_0x2e6b5b(0x16e)]({'_doReset':function(){const _0x47b181=_0x2e6b5b;this[_0x47b181(0x2b5)]=new _0x18701b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf577c0,_0x282388){const _0x21c7e6=_0x2e6b5b;for(var _0x42dff2=this[_0x21c7e6(0x2b5)][_0x21c7e6(0x407)],_0x5a27a1=_0x42dff2[0x0],_0x435460=_0x42dff2[0x1],_0xf16852=_0x42dff2[0x2],_0x1d24dd=_0x42dff2[0x3],_0xb29da=_0x42dff2[0x4],_0x22a863=0x0;_0x22a863<0x50;_0x22a863++){if(_0x22a863<0x10)_0x4d506c[_0x22a863]=_0xf577c0[_0x282388+_0x22a863]|0x0;else{var _0x4c451c=_0x4d506c[_0x22a863-0x3]^_0x4d506c[_0x22a863-0x8]^_0x4d506c[_0x22a863-0xe]^_0x4d506c[_0x22a863-0x10];_0x4d506c[_0x22a863]=_0x4c451c<<0x1|_0x4c451c>>>0x1f;}var _0x44ecda=(_0x5a27a1<<0x5|_0x5a27a1>>>0x1b)+_0xb29da+_0x4d506c[_0x22a863];_0x22a863<0x14?_0x44ecda+=(_0x435460&_0xf16852|~_0x435460&_0x1d24dd)+0x5a827999:_0x22a863<0x28?_0x44ecda+=(_0x435460^_0xf16852^_0x1d24dd)+0x6ed9eba1:_0x22a863<0x3c?_0x44ecda+=(_0x435460&_0xf16852|_0x435460&_0x1d24dd|_0xf16852&_0x1d24dd)-0x70e44324:_0x44ecda+=(_0x435460^_0xf16852^_0x1d24dd)-0x359d3e2a,_0xb29da=_0x1d24dd,_0x1d24dd=_0xf16852,_0xf16852=_0x435460<<0x1e|_0x435460>>>0x2,_0x435460=_0x5a27a1,_0x5a27a1=_0x44ecda;}_0x42dff2[0x0]=_0x42dff2[0x0]+_0x5a27a1|0x0,_0x42dff2[0x1]=_0x42dff2[0x1]+_0x435460|0x0,_0x42dff2[0x2]=_0x42dff2[0x2]+_0xf16852|0x0,_0x42dff2[0x3]=_0x42dff2[0x3]+_0x1d24dd|0x0,_0x42dff2[0x4]=_0x42dff2[0x4]+_0xb29da|0x0;},'_doFinalize':function(){const _0x19e725=_0x2e6b5b;var _0x596455=this[_0x19e725(0x578)],_0x51d7bb=_0x596455['words'],_0x2c807b=this[_0x19e725(0x5ec)]*0x8,_0x4cd6fb=_0x596455['sigBytes']*0x8;return _0x51d7bb[_0x4cd6fb>>>0x5]|=0x80<<0x18-_0x4cd6fb%0x20,_0x51d7bb[(_0x4cd6fb+0x40>>>0x9<<0x4)+0xe]=Math[_0x19e725(0x56b)](_0x2c807b/0x100000000),_0x51d7bb[(_0x4cd6fb+0x40>>>0x9<<0x4)+0xf]=_0x2c807b,_0x596455[_0x19e725(0x19a)]=_0x51d7bb[_0x19e725(0x5e8)]*0x4,this[_0x19e725(0x606)](),this[_0x19e725(0x2b5)];},'clone':function(){const _0x30bc26=_0x2e6b5b;var _0x461ca4=_0x4db062[_0x30bc26(0x39d)]['call'](this);return _0x461ca4[_0x30bc26(0x2b5)]=this['_hash'][_0x30bc26(0x39d)](),_0x461ca4;}});_0x547de3[_0x2e6b5b(0x3d9)]=_0x4db062[_0x2e6b5b(0x568)](_0x9a1bf6),_0x547de3[_0x2e6b5b(0x4bc)]=_0x4db062[_0x2e6b5b(0x476)](_0x9a1bf6);}()),_0x386bbe[_0x219753(0x3d9)];}));}(ut)),ut[_0x2e5625(0x359)];}var dt={'exports':{}},Kt;function lr(){const _0x11335f=_0x54516d;return Kt||(Kt=0x1,function(_0x1d3c2c,_0xdd5575){(function(_0x5112c6,_0x5a663f){const _0x2efdb5=_0xe852;_0x1d3c2c[_0x2efdb5(0x359)]=_0x5a663f(oe());}(X,function(_0x272d59){(function(){const _0x557456=_0xe852;var _0x3a7a86=_0x272d59,_0xb94294=_0x3a7a86[_0x557456(0x394)],_0x1305e9=_0xb94294[_0x557456(0x5b4)],_0x411d27=_0x3a7a86[_0x557456(0x34b)],_0x3bafd7=_0x411d27[_0x557456(0x31b)],_0x27b154=_0x3a7a86[_0x557456(0x247)];_0x27b154[_0x557456(0x599)]=_0x1305e9[_0x557456(0x16e)]({'init':function(_0x30515b,_0x3c8329){const _0x3c278d=_0x557456;_0x30515b=this[_0x3c278d(0x1ac)]=new _0x30515b['init'](),typeof _0x3c8329=='string'&&(_0x3c8329=_0x3bafd7[_0x3c278d(0x2a0)](_0x3c8329));var _0x2f3be6=_0x30515b[_0x3c278d(0x5d1)],_0x3c82d0=_0x2f3be6*0x4;_0x3c8329['sigBytes']>_0x3c82d0&&(_0x3c8329=_0x30515b[_0x3c278d(0x408)](_0x3c8329)),_0x3c8329['clamp']();for(var _0xd4179d=this[_0x3c278d(0x5c4)]=_0x3c8329['clone'](),_0x10f65a=this[_0x3c278d(0x2fe)]=_0x3c8329[_0x3c278d(0x39d)](),_0x4b1620=_0xd4179d[_0x3c278d(0x407)],_0x325696=_0x10f65a[_0x3c278d(0x407)],_0x545ec5=0x0;_0x545ec5<_0x2f3be6;_0x545ec5++)_0x4b1620[_0x545ec5]^=0x5c5c5c5c,_0x325696[_0x545ec5]^=0x36363636;_0xd4179d[_0x3c278d(0x19a)]=_0x10f65a[_0x3c278d(0x19a)]=_0x3c82d0,this['reset']();},'reset':function(){const _0x43ff7c=_0x557456;var _0x94b57e=this[_0x43ff7c(0x1ac)];_0x94b57e[_0x43ff7c(0x44c)](),_0x94b57e[_0x43ff7c(0x493)](this['_iKey']);},'update':function(_0x278812){const _0x53df7b=_0x557456;return this[_0x53df7b(0x1ac)][_0x53df7b(0x493)](_0x278812),this;},'finalize':function(_0x44aa0d){const _0x3ec79d=_0x557456;var _0x13bbf3=this[_0x3ec79d(0x1ac)],_0x31392e=_0x13bbf3[_0x3ec79d(0x408)](_0x44aa0d);_0x13bbf3[_0x3ec79d(0x44c)]();var _0xab013=_0x13bbf3[_0x3ec79d(0x408)](this[_0x3ec79d(0x5c4)]['clone']()[_0x3ec79d(0x213)](_0x31392e));return _0xab013;}});}());}));}(dt)),dt[_0x11335f(0x359)];}var qt;function _0xe852(_0x5197e7,_0x1a051a){const _0x47dd08=_0x47dd();return _0xe852=function(_0xe85220,_0x5b135c){_0xe85220=_0xe85220-0x16d;let _0xc5fd11=_0x47dd08[_0xe85220];return _0xc5fd11;},_0xe852(_0x5197e7,_0x1a051a);}function Dn(){const _0x5b3a0a=_0x54516d;return qt||(qt=0x1,function(_0x471de7,_0xafe8bc){(function(_0xf3be6c,_0x2c03c8,_0x1d2263){const _0x3d89e1=_0xe852;_0x471de7[_0x3d89e1(0x359)]=_0x2c03c8(oe(),cr(),lr());}(X,function(_0x4c6570){const _0x59c4e0=_0xe852;return(function(){const _0x32a8f9=_0xe852;var _0x64d339=_0x4c6570,_0x2316ce=_0x64d339[_0x32a8f9(0x394)],_0x535ccc=_0x2316ce[_0x32a8f9(0x5b4)],_0x5eee94=_0x2316ce[_0x32a8f9(0x516)],_0x446cdc=_0x64d339['algo'],_0x28fb4f=_0x446cdc[_0x32a8f9(0x2b0)],_0x20ffcf=_0x446cdc[_0x32a8f9(0x43a)]=_0x535ccc['extend']({'cfg':_0x535ccc[_0x32a8f9(0x16e)]({'keySize':0x80/0x20,'hasher':_0x28fb4f,'iterations':0x1}),'init':function(_0x28edf7){const _0x37796f=_0x32a8f9;this[_0x37796f(0x57f)]=this['cfg'][_0x37796f(0x16e)](_0x28edf7);},'compute':function(_0x29039e,_0x1abc76){const _0xe26c3=_0x32a8f9;for(var _0x1343d8,_0x434813=this[_0xe26c3(0x57f)],_0x398ad3=_0x434813[_0xe26c3(0x436)][_0xe26c3(0x466)](),_0x3e9042=_0x5eee94[_0xe26c3(0x466)](),_0x58c7af=_0x3e9042[_0xe26c3(0x407)],_0x16ed1c=_0x434813['keySize'],_0x1c8cea=_0x434813[_0xe26c3(0x563)];_0x58c7af[_0xe26c3(0x5e8)]<_0x16ed1c;){_0x1343d8&&_0x398ad3['update'](_0x1343d8),_0x1343d8=_0x398ad3['update'](_0x29039e)[_0xe26c3(0x408)](_0x1abc76),_0x398ad3['reset']();for(var _0x3fc2b3=0x1;_0x3fc2b3<_0x1c8cea;_0x3fc2b3++)_0x1343d8=_0x398ad3[_0xe26c3(0x408)](_0x1343d8),_0x398ad3['reset']();_0x3e9042[_0xe26c3(0x213)](_0x1343d8);}return _0x3e9042[_0xe26c3(0x19a)]=_0x16ed1c*0x4,_0x3e9042;}});_0x64d339['EvpKDF']=function(_0x32ad37,_0x421c04,_0x179be3){const _0x57caff=_0x32a8f9;return _0x20ffcf[_0x57caff(0x466)](_0x179be3)[_0x57caff(0x483)](_0x32ad37,_0x421c04);};}()),_0x4c6570[_0x59c4e0(0x43a)];}));}(_t)),_t[_0x5b3a0a(0x359)];}var ft={'exports':{}},zt;function wn(){const _0x514574=_0x54516d;return zt||(zt=0x1,function(_0x7ea10b,_0x278245){(function(_0xbd12be,_0xa895cd,_0x81b24){_0x7ea10b['exports']=_0xa895cd(oe(),Dn());}(X,function(_0xe1af34){const _0x235ac6=_0xe852;_0xe1af34[_0x235ac6(0x394)][_0x235ac6(0x1c6)]||function(_0x370d5a){const _0x401151=_0x235ac6;var _0x21a02d=_0xe1af34,_0x1d7046=_0x21a02d[_0x401151(0x394)],_0x259a1e=_0x1d7046[_0x401151(0x5b4)],_0x72af35=_0x1d7046[_0x401151(0x516)],_0x461f94=_0x1d7046['BufferedBlockAlgorithm'],_0x4b5f63=_0x21a02d[_0x401151(0x34b)];_0x4b5f63[_0x401151(0x31b)];var _0x26a6e8=_0x4b5f63['Base64'],_0x5010c3=_0x21a02d[_0x401151(0x247)],_0x3d542e=_0x5010c3['EvpKDF'],_0x546367=_0x1d7046['Cipher']=_0x461f94[_0x401151(0x16e)]({'cfg':_0x259a1e[_0x401151(0x16e)](),'createEncryptor':function(_0x13b4bd,_0x2e5464){const _0x466235=_0x401151;return this['create'](this[_0x466235(0x246)],_0x13b4bd,_0x2e5464);},'createDecryptor':function(_0x36d31b,_0x2a8bda){const _0x5ef80a=_0x401151;return this[_0x5ef80a(0x466)](this[_0x5ef80a(0x3e2)],_0x36d31b,_0x2a8bda);},'init':function(_0x5c23f4,_0x8e79b2,_0x194ff8){const _0x3edaaa=_0x401151;this[_0x3edaaa(0x57f)]=this['cfg'][_0x3edaaa(0x16e)](_0x194ff8),this[_0x3edaaa(0x2e7)]=_0x5c23f4,this[_0x3edaaa(0x487)]=_0x8e79b2,this[_0x3edaaa(0x44c)]();},'reset':function(){const _0x4333d3=_0x401151;_0x461f94[_0x4333d3(0x44c)][_0x4333d3(0x2a5)](this),this['_doReset']();},'process':function(_0x2c0bb1){const _0x97b366=_0x401151;return this[_0x97b366(0x597)](_0x2c0bb1),this[_0x97b366(0x606)]();},'finalize':function(_0x316213){const _0x4fae13=_0x401151;_0x316213&&this[_0x4fae13(0x597)](_0x316213);var _0x257db8=this[_0x4fae13(0x1ed)]();return _0x257db8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3b083b(_0x4e2cf6){return typeof _0x4e2cf6=='string'?_0x43d522:_0x2148ec;}return function(_0x347347){return{'encrypt':function(_0x46872a,_0x3902c9,_0xa73e22){const _0x5cadc4=_0xe852;return _0x3b083b(_0x3902c9)[_0x5cadc4(0x24e)](_0x347347,_0x46872a,_0x3902c9,_0xa73e22);},'decrypt':function(_0x588a7f,_0x374e18,_0x240859){const _0x358992=_0xe852;return _0x3b083b(_0x374e18)[_0x358992(0x23f)](_0x347347,_0x588a7f,_0x374e18,_0x240859);}};};}())});_0x1d7046[_0x401151(0x4ce)]=_0x546367[_0x401151(0x16e)]({'_doFinalize':function(){var _0x5b35ff=this['_process'](!0x0);return _0x5b35ff;},'blockSize':0x1});var _0x314af1=_0x21a02d[_0x401151(0x449)]={},_0x252979=_0x1d7046[_0x401151(0x19d)]=_0x259a1e[_0x401151(0x16e)]({'createEncryptor':function(_0x4b818d,_0x27f0d6){const _0x5e19a8=_0x401151;return this[_0x5e19a8(0x277)][_0x5e19a8(0x466)](_0x4b818d,_0x27f0d6);},'createDecryptor':function(_0x3da957,_0x1be46a){const _0x246f29=_0x401151;return this[_0x246f29(0x23d)]['create'](_0x3da957,_0x1be46a);},'init':function(_0x37b11a,_0x428316){const _0x197bc4=_0x401151;this['_cipher']=_0x37b11a,this[_0x197bc4(0x34e)]=_0x428316;}}),_0x2f4fc7=_0x314af1[_0x401151(0x2cb)]=(function(){const _0x353d04=_0x401151;var _0x36404d=_0x252979[_0x353d04(0x16e)]();_0x36404d[_0x353d04(0x277)]=_0x36404d['extend']({'processBlock':function(_0x5689ff,_0x2584aa){const _0x5e06ad=_0x353d04;var _0x3dc3e4=this[_0x5e06ad(0x5bf)],_0x26168e=_0x3dc3e4[_0x5e06ad(0x5d1)];_0x555bb2[_0x5e06ad(0x2a5)](this,_0x5689ff,_0x2584aa,_0x26168e),_0x3dc3e4[_0x5e06ad(0x339)](_0x5689ff,_0x2584aa),this[_0x5e06ad(0x527)]=_0x5689ff[_0x5e06ad(0x4f1)](_0x2584aa,_0x2584aa+_0x26168e);}}),_0x36404d[_0x353d04(0x23d)]=_0x36404d[_0x353d04(0x16e)]({'processBlock':function(_0x467f61,_0x5b36a3){const _0x2afc74=_0x353d04;var _0x5e8b98=this[_0x2afc74(0x5bf)],_0x211aaa=_0x5e8b98['blockSize'],_0x2adbd7=_0x467f61[_0x2afc74(0x4f1)](_0x5b36a3,_0x5b36a3+_0x211aaa);_0x5e8b98['decryptBlock'](_0x467f61,_0x5b36a3),_0x555bb2['call'](this,_0x467f61,_0x5b36a3,_0x211aaa),this['_prevBlock']=_0x2adbd7;}});function _0x555bb2(_0x2b2a20,_0x3c55db,_0x394a4f){const _0x232121=_0x353d04;var _0xd5bc7,_0x3f585d=this[_0x232121(0x34e)];_0x3f585d?(_0xd5bc7=_0x3f585d,this[_0x232121(0x34e)]=_0x370d5a):_0xd5bc7=this[_0x232121(0x527)];for(var _0x5a10f3=0x0;_0x5a10f3<_0x394a4f;_0x5a10f3++)_0x2b2a20[_0x3c55db+_0x5a10f3]^=_0xd5bc7[_0x5a10f3];}return _0x36404d;}()),_0x50c683=_0x21a02d['pad']={},_0x1e3491=_0x50c683['Pkcs7']={'pad':function(_0x4d0a68,_0xd481df){const _0x54d1d4=_0x401151;for(var _0x12468c=_0xd481df*0x4,_0x594e92=_0x12468c-_0x4d0a68[_0x54d1d4(0x19a)]%_0x12468c,_0x5b9e41=_0x594e92<<0x18|_0x594e92<<0x10|_0x594e92<<0x8|_0x594e92,_0x33eefe=[],_0xb01293=0x0;_0xb01293<_0x594e92;_0xb01293+=0x4)_0x33eefe[_0x54d1d4(0x26e)](_0x5b9e41);var _0x157ee3=_0x72af35[_0x54d1d4(0x466)](_0x33eefe,_0x594e92);_0x4d0a68[_0x54d1d4(0x213)](_0x157ee3);},'unpad':function(_0x12a2a6){const _0x4a5a34=_0x401151;var _0x44e5f6=_0x12a2a6[_0x4a5a34(0x407)][_0x12a2a6[_0x4a5a34(0x19a)]-0x1>>>0x2]&0xff;_0x12a2a6[_0x4a5a34(0x19a)]-=_0x44e5f6;}};_0x1d7046['BlockCipher']=_0x546367[_0x401151(0x16e)]({'cfg':_0x546367['cfg'][_0x401151(0x16e)]({'mode':_0x2f4fc7,'padding':_0x1e3491}),'reset':function(){const _0x4231c6=_0x401151;var _0x5d8a18;_0x546367[_0x4231c6(0x44c)]['call'](this);var _0x305ff2=this[_0x4231c6(0x57f)],_0x274bee=_0x305ff2['iv'],_0x12370a=_0x305ff2['mode'];this[_0x4231c6(0x2e7)]==this[_0x4231c6(0x246)]?_0x5d8a18=_0x12370a[_0x4231c6(0x3c6)]:(_0x5d8a18=_0x12370a['createDecryptor'],this[_0x4231c6(0x22f)]=0x1),this[_0x4231c6(0x26d)]&&this[_0x4231c6(0x26d)][_0x4231c6(0x291)]==_0x5d8a18?this[_0x4231c6(0x26d)][_0x4231c6(0x4eb)](this,_0x274bee&&_0x274bee[_0x4231c6(0x407)]):(this[_0x4231c6(0x26d)]=_0x5d8a18[_0x4231c6(0x2a5)](_0x12370a,this,_0x274bee&&_0x274bee[_0x4231c6(0x407)]),this[_0x4231c6(0x26d)][_0x4231c6(0x291)]=_0x5d8a18);},'_doProcessBlock':function(_0x18166c,_0x1da143){this['_mode']['processBlock'](_0x18166c,_0x1da143);},'_doFinalize':function(){const _0x1d41f8=_0x401151;var _0x353672,_0x27968b=this[_0x1d41f8(0x57f)][_0x1d41f8(0x464)];return this['_xformMode']==this[_0x1d41f8(0x246)]?(_0x27968b[_0x1d41f8(0x327)](this[_0x1d41f8(0x578)],this[_0x1d41f8(0x5d1)]),_0x353672=this[_0x1d41f8(0x606)](!0x0)):(_0x353672=this[_0x1d41f8(0x606)](!0x0),_0x27968b['unpad'](_0x353672)),_0x353672;},'blockSize':0x80/0x20});var _0x530b02=_0x1d7046[_0x401151(0x46d)]=_0x259a1e[_0x401151(0x16e)]({'init':function(_0xa12628){const _0x3a16d2=_0x401151;this[_0x3a16d2(0x195)](_0xa12628);},'toString':function(_0x5470ab){const _0x1e31a4=_0x401151;return(_0x5470ab||this['formatter'])[_0x1e31a4(0x4c1)](this);}}),_0x44232b=_0x21a02d[_0x401151(0x378)]={},_0xc6a092=_0x44232b['OpenSSL']={'stringify':function(_0x3fcd0f){const _0x2828f3=_0x401151;var _0x37147b,_0x412d01=_0x3fcd0f['ciphertext'],_0x197de2=_0x3fcd0f['salt'];return _0x197de2?_0x37147b=_0x72af35[_0x2828f3(0x466)]([0x53616c74,0x65645f5f])[_0x2828f3(0x213)](_0x197de2)[_0x2828f3(0x213)](_0x412d01):_0x37147b=_0x412d01,_0x37147b[_0x2828f3(0x481)](_0x26a6e8);},'parse':function(_0x214159){const _0x51251a=_0x401151;var _0xe8d919,_0x3bad4c=_0x26a6e8[_0x51251a(0x2a0)](_0x214159),_0x5ceca8=_0x3bad4c['words'];return _0x5ceca8[0x0]==0x53616c74&&_0x5ceca8[0x1]==0x65645f5f&&(_0xe8d919=_0x72af35[_0x51251a(0x466)](_0x5ceca8['slice'](0x2,0x4)),_0x5ceca8[_0x51251a(0x4a2)](0x0,0x4),_0x3bad4c[_0x51251a(0x19a)]-=0x10),_0x530b02[_0x51251a(0x466)]({'ciphertext':_0x3bad4c,'salt':_0xe8d919});}},_0x2148ec=_0x1d7046[_0x401151(0x1f1)]=_0x259a1e['extend']({'cfg':_0x259a1e[_0x401151(0x16e)]({'format':_0xc6a092}),'encrypt':function(_0x33d991,_0x1f5b49,_0xf375a9,_0x1ca3b7){const _0x3b3d26=_0x401151;_0x1ca3b7=this['cfg'][_0x3b3d26(0x16e)](_0x1ca3b7);var _0x3cd2a2=_0x33d991[_0x3b3d26(0x3c6)](_0xf375a9,_0x1ca3b7),_0x45203c=_0x3cd2a2[_0x3b3d26(0x408)](_0x1f5b49),_0x492be2=_0x3cd2a2['cfg'];return _0x530b02[_0x3b3d26(0x466)]({'ciphertext':_0x45203c,'key':_0xf375a9,'iv':_0x492be2['iv'],'algorithm':_0x33d991,'mode':_0x492be2[_0x3b3d26(0x449)],'padding':_0x492be2[_0x3b3d26(0x464)],'blockSize':_0x33d991['blockSize'],'formatter':_0x1ca3b7[_0x3b3d26(0x378)]});},'decrypt':function(_0x52889b,_0x49609d,_0x2d4457,_0x3e04f7){const _0x4f6621=_0x401151;_0x3e04f7=this[_0x4f6621(0x57f)][_0x4f6621(0x16e)](_0x3e04f7),_0x49609d=this[_0x4f6621(0x4e3)](_0x49609d,_0x3e04f7[_0x4f6621(0x378)]);var _0x811b47=_0x52889b[_0x4f6621(0x504)](_0x2d4457,_0x3e04f7)[_0x4f6621(0x408)](_0x49609d[_0x4f6621(0x258)]);return _0x811b47;},'_parse':function(_0x192f82,_0x1cef7b){const _0x373de8=_0x401151;return typeof _0x192f82==_0x373de8(0x3aa)?_0x1cef7b[_0x373de8(0x2a0)](_0x192f82,this):_0x192f82;}}),_0x5a8780=_0x21a02d[_0x401151(0x347)]={},_0x1dc3fe=_0x5a8780[_0x401151(0x304)]={'execute':function(_0xe63901,_0x4c6165,_0x5dc1db,_0xa21e9a,_0x191e6d){const _0x4996b5=_0x401151;if(_0xa21e9a||(_0xa21e9a=_0x72af35[_0x4996b5(0x35c)](0x40/0x8)),_0x191e6d)var _0x2997dd=_0x3d542e[_0x4996b5(0x466)]({'keySize':_0x4c6165+_0x5dc1db,'hasher':_0x191e6d})[_0x4996b5(0x483)](_0xe63901,_0xa21e9a);else var _0x2997dd=_0x3d542e[_0x4996b5(0x466)]({'keySize':_0x4c6165+_0x5dc1db})[_0x4996b5(0x483)](_0xe63901,_0xa21e9a);var _0x4e4196=_0x72af35['create'](_0x2997dd[_0x4996b5(0x407)][_0x4996b5(0x4f1)](_0x4c6165),_0x5dc1db*0x4);return _0x2997dd[_0x4996b5(0x19a)]=_0x4c6165*0x4,_0x530b02[_0x4996b5(0x466)]({'key':_0x2997dd,'iv':_0x4e4196,'salt':_0xa21e9a});}},_0x43d522=_0x1d7046[_0x401151(0x252)]=_0x2148ec['extend']({'cfg':_0x2148ec[_0x401151(0x57f)][_0x401151(0x16e)]({'kdf':_0x1dc3fe}),'encrypt':function(_0x53ce4c,_0x2d8502,_0x321237,_0x5ee45f){const _0x3e95a6=_0x401151;_0x5ee45f=this['cfg'][_0x3e95a6(0x16e)](_0x5ee45f);var _0x55e985=_0x5ee45f['kdf'][_0x3e95a6(0x353)](_0x321237,_0x53ce4c[_0x3e95a6(0x2c7)],_0x53ce4c[_0x3e95a6(0x458)],_0x5ee45f['salt'],_0x5ee45f['hasher']);_0x5ee45f['iv']=_0x55e985['iv'];var _0x124727=_0x2148ec[_0x3e95a6(0x24e)][_0x3e95a6(0x2a5)](this,_0x53ce4c,_0x2d8502,_0x55e985['key'],_0x5ee45f);return _0x124727[_0x3e95a6(0x195)](_0x55e985),_0x124727;},'decrypt':function(_0x503065,_0x1156e1,_0x5461f7,_0x530ade){const _0x2ae8f=_0x401151;_0x530ade=this[_0x2ae8f(0x57f)][_0x2ae8f(0x16e)](_0x530ade),_0x1156e1=this[_0x2ae8f(0x4e3)](_0x1156e1,_0x530ade[_0x2ae8f(0x378)]);var _0x1dd39e=_0x530ade[_0x2ae8f(0x347)][_0x2ae8f(0x353)](_0x5461f7,_0x503065[_0x2ae8f(0x2c7)],_0x503065[_0x2ae8f(0x458)],_0x1156e1['salt'],_0x530ade['hasher']);_0x530ade['iv']=_0x1dd39e['iv'];var _0x16daa3=_0x2148ec[_0x2ae8f(0x23f)][_0x2ae8f(0x2a5)](this,_0x503065,_0x1156e1,_0x1dd39e[_0x2ae8f(0x5f3)],_0x530ade);return _0x16daa3;}});}();}));}(ft)),ft[_0x514574(0x359)];}(function(_0x50269b,_0x1b40e7){(function(_0x246088,_0x3bb811,_0x43f294){const _0x3d2bfb=_0xe852;_0x50269b[_0x3d2bfb(0x359)]=_0x3bb811(oe(),On(),ar(),Dn(),wn());}(X,function(_0x11ef27){const _0x543d3e=_0xe852;return(function(){const _0x11e8cd=_0xe852;var _0x2bc991=_0x11ef27,_0xee84f6=_0x2bc991[_0x11e8cd(0x394)],_0x3747be=_0xee84f6['BlockCipher'],_0x5e0147=_0x2bc991[_0x11e8cd(0x247)],_0x4e7a91=[],_0x3a4053=[],_0x34578a=[],_0x2bc9c5=[],_0x150fc0=[],_0x5dee5f=[],_0xb7930f=[],_0x43c98e=[],_0x3d55dd=[],_0x1de4ae=[];(function(){for(var _0x174270=[],_0xa94c75=0x0;_0xa94c75<0x100;_0xa94c75++)_0xa94c75<0x80?_0x174270[_0xa94c75]=_0xa94c75<<0x1:_0x174270[_0xa94c75]=_0xa94c75<<0x1^0x11b;for(var _0x29923b=0x0,_0x230b62=0x0,_0xa94c75=0x0;_0xa94c75<0x100;_0xa94c75++){var _0x3502e8=_0x230b62^_0x230b62<<0x1^_0x230b62<<0x2^_0x230b62<<0x3^_0x230b62<<0x4;_0x3502e8=_0x3502e8>>>0x8^_0x3502e8&0xff^0x63,_0x4e7a91[_0x29923b]=_0x3502e8,_0x3a4053[_0x3502e8]=_0x29923b;var _0xa9896d=_0x174270[_0x29923b],_0x56691e=_0x174270[_0xa9896d],_0x4dd4db=_0x174270[_0x56691e],_0x1c3add=_0x174270[_0x3502e8]*0x101^_0x3502e8*0x1010100;_0x34578a[_0x29923b]=_0x1c3add<<0x18|_0x1c3add>>>0x8,_0x2bc9c5[_0x29923b]=_0x1c3add<<0x10|_0x1c3add>>>0x10,_0x150fc0[_0x29923b]=_0x1c3add<<0x8|_0x1c3add>>>0x18,_0x5dee5f[_0x29923b]=_0x1c3add;var _0x1c3add=_0x4dd4db*0x1010101^_0x56691e*0x10001^_0xa9896d*0x101^_0x29923b*0x1010100;_0xb7930f[_0x3502e8]=_0x1c3add<<0x18|_0x1c3add>>>0x8,_0x43c98e[_0x3502e8]=_0x1c3add<<0x10|_0x1c3add>>>0x10,_0x3d55dd[_0x3502e8]=_0x1c3add<<0x8|_0x1c3add>>>0x18,_0x1de4ae[_0x3502e8]=_0x1c3add,_0x29923b?(_0x29923b=_0xa9896d^_0x174270[_0x174270[_0x174270[_0x4dd4db^_0xa9896d]]],_0x230b62^=_0x174270[_0x174270[_0x230b62]]):_0x29923b=_0x230b62=0x1;}}());var _0x50ef10=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x423614=_0x5e0147[_0x11e8cd(0x29d)]=_0x3747be[_0x11e8cd(0x16e)]({'_doReset':function(){const _0x535679=_0x11e8cd;var _0x488810;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x535679(0x487)])){for(var _0x4f9e73=this[_0x535679(0x23b)]=this['_key'],_0x3344c6=_0x4f9e73[_0x535679(0x407)],_0x539356=_0x4f9e73[_0x535679(0x19a)]/0x4,_0x2d7ae1=this['_nRounds']=_0x539356+0x6,_0x533dd5=(_0x2d7ae1+0x1)*0x4,_0x1533ae=this[_0x535679(0x365)]=[],_0x15d3b4=0x0;_0x15d3b4<_0x533dd5;_0x15d3b4++)_0x15d3b4<_0x539356?_0x1533ae[_0x15d3b4]=_0x3344c6[_0x15d3b4]:(_0x488810=_0x1533ae[_0x15d3b4-0x1],_0x15d3b4%_0x539356?_0x539356>0x6&&_0x15d3b4%_0x539356==0x4&&(_0x488810=_0x4e7a91[_0x488810>>>0x18]<<0x18|_0x4e7a91[_0x488810>>>0x10&0xff]<<0x10|_0x4e7a91[_0x488810>>>0x8&0xff]<<0x8|_0x4e7a91[_0x488810&0xff]):(_0x488810=_0x488810<<0x8|_0x488810>>>0x18,_0x488810=_0x4e7a91[_0x488810>>>0x18]<<0x18|_0x4e7a91[_0x488810>>>0x10&0xff]<<0x10|_0x4e7a91[_0x488810>>>0x8&0xff]<<0x8|_0x4e7a91[_0x488810&0xff],_0x488810^=_0x50ef10[_0x15d3b4/_0x539356|0x0]<<0x18),_0x1533ae[_0x15d3b4]=_0x1533ae[_0x15d3b4-_0x539356]^_0x488810);for(var _0x5aad25=this[_0x535679(0x3d7)]=[],_0xf05c18=0x0;_0xf05c18<_0x533dd5;_0xf05c18++){var _0x15d3b4=_0x533dd5-_0xf05c18;if(_0xf05c18%0x4)var _0x488810=_0x1533ae[_0x15d3b4];else var _0x488810=_0x1533ae[_0x15d3b4-0x4];_0xf05c18<0x4||_0x15d3b4<=0x4?_0x5aad25[_0xf05c18]=_0x488810:_0x5aad25[_0xf05c18]=_0xb7930f[_0x4e7a91[_0x488810>>>0x18]]^_0x43c98e[_0x4e7a91[_0x488810>>>0x10&0xff]]^_0x3d55dd[_0x4e7a91[_0x488810>>>0x8&0xff]]^_0x1de4ae[_0x4e7a91[_0x488810&0xff]];}}},'encryptBlock':function(_0x197a7b,_0x366016){const _0x304082=_0x11e8cd;this['_doCryptBlock'](_0x197a7b,_0x366016,this[_0x304082(0x365)],_0x34578a,_0x2bc9c5,_0x150fc0,_0x5dee5f,_0x4e7a91);},'decryptBlock':function(_0x5afdd4,_0xe25771){const _0xef585=_0x11e8cd;var _0x4aed1e=_0x5afdd4[_0xe25771+0x1];_0x5afdd4[_0xe25771+0x1]=_0x5afdd4[_0xe25771+0x3],_0x5afdd4[_0xe25771+0x3]=_0x4aed1e,this[_0xef585(0x3ed)](_0x5afdd4,_0xe25771,this['_invKeySchedule'],_0xb7930f,_0x43c98e,_0x3d55dd,_0x1de4ae,_0x3a4053);var _0x4aed1e=_0x5afdd4[_0xe25771+0x1];_0x5afdd4[_0xe25771+0x1]=_0x5afdd4[_0xe25771+0x3],_0x5afdd4[_0xe25771+0x3]=_0x4aed1e;},'_doCryptBlock':function(_0x292923,_0x51efff,_0x48d273,_0x48ae19,_0x39ed2b,_0x483405,_0xa1f691,_0x1eb52c){const _0x5a5e15=_0x11e8cd;for(var _0x195389=this[_0x5a5e15(0x57b)],_0x127cb9=_0x292923[_0x51efff]^_0x48d273[0x0],_0x1058cd=_0x292923[_0x51efff+0x1]^_0x48d273[0x1],_0x180f4a=_0x292923[_0x51efff+0x2]^_0x48d273[0x2],_0x3889bd=_0x292923[_0x51efff+0x3]^_0x48d273[0x3],_0x168e71=0x4,_0x4b64c4=0x1;_0x4b64c4<_0x195389;_0x4b64c4++){var _0x3f04d7=_0x48ae19[_0x127cb9>>>0x18]^_0x39ed2b[_0x1058cd>>>0x10&0xff]^_0x483405[_0x180f4a>>>0x8&0xff]^_0xa1f691[_0x3889bd&0xff]^_0x48d273[_0x168e71++],_0x6e06d8=_0x48ae19[_0x1058cd>>>0x18]^_0x39ed2b[_0x180f4a>>>0x10&0xff]^_0x483405[_0x3889bd>>>0x8&0xff]^_0xa1f691[_0x127cb9&0xff]^_0x48d273[_0x168e71++],_0x50c08a=_0x48ae19[_0x180f4a>>>0x18]^_0x39ed2b[_0x3889bd>>>0x10&0xff]^_0x483405[_0x127cb9>>>0x8&0xff]^_0xa1f691[_0x1058cd&0xff]^_0x48d273[_0x168e71++],_0x26a9a5=_0x48ae19[_0x3889bd>>>0x18]^_0x39ed2b[_0x127cb9>>>0x10&0xff]^_0x483405[_0x1058cd>>>0x8&0xff]^_0xa1f691[_0x180f4a&0xff]^_0x48d273[_0x168e71++];_0x127cb9=_0x3f04d7,_0x1058cd=_0x6e06d8,_0x180f4a=_0x50c08a,_0x3889bd=_0x26a9a5;}var _0x3f04d7=(_0x1eb52c[_0x127cb9>>>0x18]<<0x18|_0x1eb52c[_0x1058cd>>>0x10&0xff]<<0x10|_0x1eb52c[_0x180f4a>>>0x8&0xff]<<0x8|_0x1eb52c[_0x3889bd&0xff])^_0x48d273[_0x168e71++],_0x6e06d8=(_0x1eb52c[_0x1058cd>>>0x18]<<0x18|_0x1eb52c[_0x180f4a>>>0x10&0xff]<<0x10|_0x1eb52c[_0x3889bd>>>0x8&0xff]<<0x8|_0x1eb52c[_0x127cb9&0xff])^_0x48d273[_0x168e71++],_0x50c08a=(_0x1eb52c[_0x180f4a>>>0x18]<<0x18|_0x1eb52c[_0x3889bd>>>0x10&0xff]<<0x10|_0x1eb52c[_0x127cb9>>>0x8&0xff]<<0x8|_0x1eb52c[_0x1058cd&0xff])^_0x48d273[_0x168e71++],_0x26a9a5=(_0x1eb52c[_0x3889bd>>>0x18]<<0x18|_0x1eb52c[_0x127cb9>>>0x10&0xff]<<0x10|_0x1eb52c[_0x1058cd>>>0x8&0xff]<<0x8|_0x1eb52c[_0x180f4a&0xff])^_0x48d273[_0x168e71++];_0x292923[_0x51efff]=_0x3f04d7,_0x292923[_0x51efff+0x1]=_0x6e06d8,_0x292923[_0x51efff+0x2]=_0x50c08a,_0x292923[_0x51efff+0x3]=_0x26a9a5;},'keySize':0x100/0x20});_0x2bc991[_0x11e8cd(0x29d)]=_0x3747be[_0x11e8cd(0x568)](_0x423614);}()),_0x11ef27[_0x543d3e(0x29d)];}));}(yn));var hr=yn[_0x54516d(0x359)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0xe58ce3,_0x4a8386){(function(_0x5ae58c,_0x428e81){_0xe58ce3['exports']=_0x428e81(oe());}(X,function(_0x481b08){const _0x5da5c3=_0xe852;return _0x481b08[_0x5da5c3(0x34b)][_0x5da5c3(0x31b)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x44ef02,_0x1de64d){(function(_0x5c3fa6,_0x30d0f3){const _0x34d6c8=_0xe852;_0x44ef02[_0x34d6c8(0x359)]=_0x30d0f3(oe());}(X,function(_0x54df41){const _0x418a6a=_0xe852;return(function(){const _0x269e73=_0xe852;if(typeof ArrayBuffer=='function'){var _0x320b94=_0x54df41,_0x5ca9ce=_0x320b94['lib'],_0x3c1a2f=_0x5ca9ce[_0x269e73(0x516)],_0x231ca2=_0x3c1a2f['init'],_0x3c603a=_0x3c1a2f[_0x269e73(0x4eb)]=function(_0x5c4ca6){const _0x6a6d7d=_0x269e73;if(_0x5c4ca6 instanceof ArrayBuffer&&(_0x5c4ca6=new Uint8Array(_0x5c4ca6)),(_0x5c4ca6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5c4ca6 instanceof Uint8ClampedArray||_0x5c4ca6 instanceof Int16Array||_0x5c4ca6 instanceof Uint16Array||_0x5c4ca6 instanceof Int32Array||_0x5c4ca6 instanceof Uint32Array||_0x5c4ca6 instanceof Float32Array||_0x5c4ca6 instanceof Float64Array)&&(_0x5c4ca6=new Uint8Array(_0x5c4ca6[_0x6a6d7d(0x4ed)],_0x5c4ca6[_0x6a6d7d(0x1cb)],_0x5c4ca6['byteLength'])),_0x5c4ca6 instanceof Uint8Array){for(var _0x5a3e13=_0x5c4ca6[_0x6a6d7d(0x40c)],_0x299e34=[],_0x2a5813=0x0;_0x2a5813<_0x5a3e13;_0x2a5813++)_0x299e34[_0x2a5813>>>0x2]|=_0x5c4ca6[_0x2a5813]<<0x18-_0x2a5813%0x4*0x8;_0x231ca2['call'](this,_0x299e34,_0x5a3e13);}else _0x231ca2['apply'](this,arguments);};_0x3c603a['prototype']=_0x3c1a2f;}}()),_0x54df41['lib'][_0x418a6a(0x516)];}));}(Un));var vr=Un['exports'];const mr=xe(vr);var Mn={'exports':{}};(function(_0x495364,_0x1ac734){(function(_0x52caba,_0x1f24b8,_0x2b1c12){_0x495364['exports']=_0x1f24b8(oe(),wn());}(X,function(_0x23f996){const _0x3ef408=_0xe852;return _0x23f996[_0x3ef408(0x327)][_0x3ef408(0x253)]={'pad':function(){},'unpad':function(){}},_0x23f996[_0x3ef408(0x327)][_0x3ef408(0x253)];}));}(Mn));var Sr=Mn['exports'];const pr=xe(Sr);function gr(_0x2fe696,_0x473b5b){const _0xafb3c1=_0x54516d,_0x51bb94=_0x473b5b-_0x2fe696[_0xafb3c1(0x5e8)]%_0x473b5b,_0x1428e9=String[_0xafb3c1(0x5ca)](_0x51bb94)[_0xafb3c1(0x2f4)](_0x51bb94);return _0x2fe696+_0x1428e9;}function Ir(_0x23f25d,_0x32745c){const _0x1032f1=_0x54516d,_0x4f7321=mr[_0x1032f1(0x35c)](0x10),_0x54a69c=gr(_0x23f25d,0x10),_0x35d5b5=_r['encrypt'](fr[_0x1032f1(0x2a0)](_0x54a69c),Xt[_0x1032f1(0x2a0)](_0x32745c),{'iv':_0x4f7321,'padding':pr});return _0x4f7321[_0x1032f1(0x213)](_0x35d5b5['ciphertext'])[_0x1032f1(0x481)](Xt);}function Cr(){const _0x5bbb0c=_0x54516d,_0x8a0d0=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x8a0d0){const _0x1cf052={'time':Math[_0x5bbb0c(0x56b)](Date[_0x5bbb0c(0x331)]()/0x3e8),'domain':location[_0x5bbb0c(0x5fb)]};return Ir(JSON[_0x5bbb0c(0x4c1)](_0x1cf052),_0x8a0d0);}}var Er=Object[_0x54516d(0x461)],br=Object[_0x54516d(0x363)],Tr=(_0x1496b5,_0x4062fa,_0x33416d,_0x403f33)=>{for(var _0x26f8d9=_0x403f33>0x1?void 0x0:_0x403f33?br(_0x4062fa,_0x33416d):_0x4062fa,_0x317cde=_0x1496b5['length']-0x1,_0x2ad033;_0x317cde>=0x0;_0x317cde--)(_0x2ad033=_0x1496b5[_0x317cde])&&(_0x26f8d9=(_0x403f33?_0x2ad033(_0x4062fa,_0x33416d,_0x26f8d9):_0x2ad033(_0x26f8d9))||_0x26f8d9);return _0x403f33&&_0x26f8d9&&Er(_0x4062fa,_0x33416d,_0x26f8d9),_0x26f8d9;},Rr=(_0x585b31,_0xa6f8f2)=>(_0x23b0b0,_0x295f44)=>_0xa6f8f2(_0x23b0b0,_0x295f44,_0x585b31);let Ye=class{constructor(_0x2f88d8){const _0x535d01=_0x54516d;this[_0x535d01(0x248)]=_0x2f88d8,this[_0x535d01(0x17c)]();}['_initRequestHeader'](){const _0x46611d=_0x54516d;this[_0x46611d(0x248)][_0x46611d(0x220)]({'interceptor':(_0x119b73,_0x1ec094)=>{const _0x5ac8b7=_0x46611d,_0x4bc6f0=_0x119b73[_0x5ac8b7(0x4de)],_0x588114=Cr();return _0x588114&&_0x4bc6f0[_0x5ac8b7(0x36d)](_0x5ac8b7(0x17d),_0x588114),_0x1ec094(_0x119b73);}});}};Ye=Tr([Rr(0x0,a[_0x54516d(0x573)](Z[_0x54516d(0x180)]))],Ye);var yr=Object['defineProperty'],Or=Object['getOwnPropertyDescriptor'],Dr=(_0x5b0716,_0x524798,_0x2087fa,_0x2fab1a)=>{for(var _0x1da4f9=_0x2fab1a>0x1?void 0x0:_0x2fab1a?Or(_0x524798,_0x2087fa):_0x524798,_0x36d976=_0x5b0716['length']-0x1,_0x3a1d80;_0x36d976>=0x0;_0x36d976--)(_0x3a1d80=_0x5b0716[_0x36d976])&&(_0x1da4f9=(_0x2fab1a?_0x3a1d80(_0x524798,_0x2087fa,_0x1da4f9):_0x3a1d80(_0x1da4f9))||_0x1da4f9);return _0x2fab1a&&_0x1da4f9&&yr(_0x524798,_0x2087fa,_0x1da4f9),_0x1da4f9;},vt=(_0x1a01f2,_0x5443ef)=>(_0x22f667,_0x1bc154)=>_0x5443ef(_0x22f667,_0x1bc154,_0x1a01f2);const wr=[_0x54516d(0x2a4),_0x54516d(0x2e2),_0x54516d(0x445),_0x54516d(0x5a6),_0x54516d(0x57c)],Pr=0x5*0x400*0x400,Ur=_0x54516d(0x447),Mr=_0x54516d(0x1e6),Ar=_0x54516d(0x249),Nr='/universer-api/file/{fileID}/sign-url';exports[_0x54516d(0x293)]=class{constructor(_0x49729a,_0x2d0648,_0x767b0a){const _0x1cef29=_0x54516d;I(this,_0x1cef29(0x582),0x0),I(this,_0x1cef29(0x503),new A['Subject']()),I(this,_0x1cef29(0x30a),this[_0x1cef29(0x503)]),I(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x49729a,this[_0x1cef29(0x2a3)]=_0x2d0648,this['_univerInstanceService']=_0x767b0a);}[_0x54516d(0x574)](_0x508b2d){const _0x41b2ed=_0x54516d;this[_0x41b2ed(0x582)]=_0x508b2d,this[_0x41b2ed(0x503)][_0x41b2ed(0x4bd)](_0x508b2d);}[_0x54516d(0x3b0)](_0x300ade,_0x874209){const _0x16834c=_0x54516d;if(_0x874209===ne[_0x16834c(0x1b6)]['BASE64']){const _0x163d43=new Image();return _0x163d43['src']=_0x300ade,_0x163d43;}return this['_imageSourceCache'][_0x16834c(0x3b1)](_0x300ade);}[_0x54516d(0x1e1)](_0x24bff5,_0xd230c,_0x5ae9c5){const _0x273456=_0x54516d;_0xd230c===ne[_0x273456(0x1b6)]['BASE64']||_0x5ae9c5==null||this[_0x273456(0x620)][_0x273456(0x36d)](_0x24bff5,_0x5ae9c5);}async[_0x54516d(0x4c3)](_0x1b84a8){const _0x1b8eb6=_0x54516d;try{const _0x47aa34=this['_replaceFileID'](this[_0x1b8eb6(0x4cf)](),''+_0x1b84a8),_0xd2699=(await this[_0x1b8eb6(0x248)][_0x1b8eb6(0x3b1)](_0x47aa34))[_0x1b8eb6(0x4ba)];if(_0xd2699['error']&&_0xd2699['error'][_0x1b8eb6(0x27c)]===cn['OK']){const _0x16bbcb=new URL(_0xd2699['url'],this[_0x1b8eb6(0x60b)]())[_0x1b8eb6(0x481)]();return Promise[_0x1b8eb6(0x3c9)](_0x16bbcb);}return Promise['reject'](_0xd2699[_0x1b8eb6(0x29f)]);}catch(_0x3f4a16){return Promise[_0x1b8eb6(0x1e2)](_0x3f4a16);}}async[_0x54516d(0x56f)](_0xc877ab){const _0x2bef55=_0x54516d;let _0x4b4687='';if(!wr['includes'](_0xc877ab[_0x2bef55(0x242)]))return this[_0x2bef55(0x42b)](),Promise[_0x2bef55(0x1e2)](new Error(ne[_0x2bef55(0x2cf)][_0x2bef55(0x60f)]));if(_0xc877ab['size']>Pr)return this[_0x2bef55(0x42b)](),Promise[_0x2bef55(0x1e2)](new Error(ne[_0x2bef55(0x2cf)][_0x2bef55(0x432)]));try{const _0x5e321b=new FormData();_0x5e321b[_0x2bef55(0x300)](_0x2bef55(0x34f),_0xc877ab);const _0x4fa54c=this[_0x2bef55(0x228)][_0x2bef55(0x310)](),_0x4b25c3=_0x4fa54c==null?void 0x0:_0x4fa54c[_0x2bef55(0x2c5)]();if(!_0x4b25c3)throw new Error(_0x2bef55(0x2b8));const _0x120f64=this[_0x2bef55(0x5a0)]()+_0x2bef55(0x4af)+_0xc877ab[_0x2bef55(0x5c0)][_0x2bef55(0x481)]()+_0x2bef55(0x2ab)+ln[_0x2bef55(0x3a0)]+'&assign='+encodeURIComponent(_0x4b25c3),_0x49f9b0=await(await fetch(_0x120f64,{'method':_0x2bef55(0x4d0),'body':_0x5e321b}))[_0x2bef55(0x322)]();if(typeof _0x49f9b0[_0x2bef55(0x1c9)]!=_0x2bef55(0x3aa))return this[_0x2bef55(0x42b)](),Promise[_0x2bef55(0x1e2)](new Error(ne[_0x2bef55(0x2cf)][_0x2bef55(0x245)]));_0x4b4687=_0x49f9b0[_0x2bef55(0x1c9)];}catch{return this[_0x2bef55(0x42b)](),Promise[_0x2bef55(0x1e2)](new Error(ne[_0x2bef55(0x2cf)][_0x2bef55(0x245)]));}return new Promise((_0x5488e9,_0x3461fd)=>{const _0x40038b=_0x2bef55,_0x30f66e=new FileReader();_0x30f66e[_0x40038b(0x348)](_0xc877ab),_0x30f66e[_0x40038b(0x558)]=_0x3df07b=>{const _0x48813c=_0x40038b;var _0x3aa61d;const _0x54efaa=(_0x3aa61d=_0x3df07b[_0x48813c(0x267)])==null?void 0x0:_0x3aa61d[_0x48813c(0x3b3)];if(_0x54efaa==null){this[_0x48813c(0x42b)](),_0x3461fd(new Error(ne[_0x48813c(0x2cf)]['ERROR_IMAGE']));return;}const _0x2ed576=a[_0x48813c(0x3eb)][_0x48813c(0x3a3)](0x6);_0x5488e9({'imageId':_0x2ed576,'imageSourceType':ne[_0x48813c(0x1b6)]['UUID'],'source':_0x4b4687,'base64Cache':_0x54efaa,'status':ne['ImageUploadStatusType'][_0x48813c(0x48e)]}),this[_0x48813c(0x42b)]();};});}[_0x54516d(0x5a0)](){const _0x1c39f8=_0x54516d;var _0x14b908,_0x3ef68d;const _0x53dac4=this[_0x1c39f8(0x2a3)][_0x1c39f8(0x21d)](Ur),_0x4aed7e=this[_0x1c39f8(0x2a3)][_0x1c39f8(0x21d)](te);return(_0x3ef68d=(_0x14b908=_0x4aed7e==null?void 0x0:_0x4aed7e['uploadFileServerUrl'])!=null?_0x14b908:_0x53dac4)!=null?_0x3ef68d:Mr;}[_0x54516d(0x4cf)](){const _0x566cb6=_0x54516d;var _0x5e9376,_0xd341e;const _0x381430=this[_0x566cb6(0x2a3)][_0x566cb6(0x21d)](Ar),_0x1dd4f8=this['_configService'][_0x566cb6(0x21d)](te);return(_0xd341e=(_0x5e9376=_0x1dd4f8==null?void 0x0:_0x1dd4f8[_0x566cb6(0x546)])!=null?_0x5e9376:_0x381430)!=null?_0xd341e:Nr;}[_0x54516d(0x60b)](){const _0x1f197a=_0x54516d;var _0x5a4305;const _0x49e3b0=this[_0x1f197a(0x2a3)][_0x1f197a(0x21d)](te);return(_0x5a4305=_0x49e3b0==null?void 0x0:_0x49e3b0[_0x1f197a(0x1a4)])!=null?_0x5a4305:location['origin'];}[_0x54516d(0x521)](_0x3bd9ce,_0xc2d7b4){const _0x431096=_0x54516d;return _0x3bd9ce[_0x431096(0x1f6)](_0x431096(0x5f6),_0xc2d7b4);}[_0x54516d(0x42b)](){const _0x16a19b=_0x54516d;this[_0x16a19b(0x582)]-=0x1,this[_0x16a19b(0x503)]['next'](this[_0x16a19b(0x582)]);}},exports['ImageIoService']=Dr([vt(0x0,a[_0x54516d(0x573)](Z[_0x54516d(0x180)])),vt(0x1,a[_0x54516d(0x208)]),vt(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x4e2)]))],exports[_0x54516d(0x293)]);var Lr=Object[_0x54516d(0x461)],xr=Object[_0x54516d(0x363)],jr=(_0x49d3fc,_0x196308,_0x1b6a70,_0x9ae92f)=>{const _0x33c5e6=_0x54516d;for(var _0x3e94d1=_0x9ae92f>0x1?void 0x0:_0x9ae92f?xr(_0x196308,_0x1b6a70):_0x196308,_0x307be4=_0x49d3fc[_0x33c5e6(0x5e8)]-0x1,_0x462d7b;_0x307be4>=0x0;_0x307be4--)(_0x462d7b=_0x49d3fc[_0x307be4])&&(_0x3e94d1=(_0x9ae92f?_0x462d7b(_0x196308,_0x1b6a70,_0x3e94d1):_0x462d7b(_0x3e94d1))||_0x3e94d1);return _0x9ae92f&&_0x3e94d1&&Lr(_0x196308,_0x1b6a70,_0x3e94d1),_0x3e94d1;},Ae=(_0x22a724,_0x589a82)=>(_0x45089f,_0x514399)=>_0x589a82(_0x45089f,_0x514399,_0x22a724);let Ke=class extends a[_0x54516d(0x1d6)]{constructor(_0x39eef3,_0x1c7bc4,_0x4ef2b2,_0x5cccca,_0x2434b0){const _0xa2ee46=_0x54516d;super(),this[_0xa2ee46(0x47c)]=_0x39eef3,this['_univerInstanceService']=_0x1c7bc4,this[_0xa2ee46(0x2ce)]=_0x4ef2b2,this[_0xa2ee46(0x497)]=_0x5cccca,this[_0xa2ee46(0x422)]=_0x2434b0,this[_0xa2ee46(0x1fa)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x40a537=_0x54516d,_0x258649=async _0x3b500a=>{const _0x3476a9=_0xe852;(await this[_0x3476a9(0x497)][_0x3476a9(0x2fd)](_0x3b500a))['event$'][_0x3476a9(0x5f2)](V[_0x3476a9(0x292)](_0x5ea34c=>_0x5ea34c[_0x3476a9(0x4aa)]===S[_0x3476a9(0x5de)][_0x3476a9(0x325)]),V['takeUntil'](this['dispose$']))['subscribe'](_0x168226=>{const _0xbf0c3c=_0x3476a9,_0x455851=_0x168226,{reason:_0x315d41}=_0x455851[_0xbf0c3c(0x547)];this[_0xbf0c3c(0x47c)][_0xbf0c3c(0x3b1)](ee[_0xbf0c3c(0x3ce)])[_0xbf0c3c(0x5e3)]({'type':ge[_0xbf0c3c(0x3a7)][_0xbf0c3c(0x30f)],'content':this['_localeService']['t'](_0xbf0c3c(0x343))+'('+_0x315d41+')'}),this[_0xbf0c3c(0x2ce)][_0xbf0c3c(0x526)](new k[(_0xbf0c3c(0x232))](_0x3b500a)['id'],!0x1),this[_0xbf0c3c(0x497)][_0xbf0c3c(0x51d)](_0x3b500a);});};A[_0x40a537(0x349)](this['_univerInstanceService'][_0x40a537(0x3f1)](a['UniverInstanceType'][_0x40a537(0x299)]),this['_univerInstanceService'][_0x40a537(0x3f1)](a['UniverInstanceType'][_0x40a537(0x60e)]))[_0x40a537(0x5f2)](V['map'](_0x4272c4=>_0x4272c4[_0x40a537(0x2c5)]()),V['filter'](_0x153b57=>!a[_0x40a537(0x4b1)](_0x153b57)),V[_0x40a537(0x42d)](this['dispose$']))['subscribe'](_0x3929f0=>{_0x258649(_0x3929f0);});}[_0x54516d(0x1fa)](){const _0x1d07c4=_0x54516d,_0x4aa380=async _0x4c8111=>{const _0x167d75=_0xe852;(await this[_0x167d75(0x497)][_0x167d75(0x2fd)](_0x4c8111))['event$'][_0x167d75(0x5f2)](V[_0x167d75(0x292)](_0x436b12=>_0x436b12[_0x167d75(0x4aa)]===S['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x167d75(0x42d)](this['dispose$']))[_0x167d75(0x4d6)](_0x297d2f=>{const _0x1b38b0=_0x167d75,_0x396618=_0x297d2f,{objectId:_0x16b59a}=_0x396618['data'],_0x163ca3=this[_0x1b38b0(0x47c)]['get'](Re['SheetPermissionInitController']);_0x16b59a===_0x4c8111?_0x163ca3[_0x1b38b0(0x332)](_0x4c8111):_0x163ca3[_0x1b38b0(0x201)](_0x4c8111,_0x16b59a);});};A['merge'](this[_0x1d07c4(0x228)][_0x1d07c4(0x3f1)](a[_0x1d07c4(0x2f2)][_0x1d07c4(0x299)]),this['_univerInstanceService'][_0x1d07c4(0x3f1)](a['UniverInstanceType'][_0x1d07c4(0x60e)]))['pipe'](V['map'](_0x40aaa9=>_0x40aaa9[_0x1d07c4(0x2c5)]()),V['filter'](_0x2de091=>!a[_0x1d07c4(0x4b1)](_0x2de091)),V['takeUntil'](this['dispose$']))['subscribe'](_0x35b8a1=>{_0x4aa380(_0x35b8a1);});}};Ke=jr([Ae(0x0,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),Ae(0x1,a[_0x54516d(0x4e2)]),Ae(0x2,a[_0x54516d(0x369)]),Ae(0x3,a['Inject'](exports[_0x54516d(0x580)])),Ae(0x4,a[_0x54516d(0x573)](a['LocaleService']))],Ke);var $r=Object[_0x54516d(0x461)],Hr=Object[_0x54516d(0x363)],Br=(_0x27a938,_0x2f8e9a,_0xafbcbc,_0x2a1c82)=>{const _0x5068b9=_0x54516d;for(var _0x3a37c7=_0x2a1c82>0x1?void 0x0:_0x2a1c82?Hr(_0x2f8e9a,_0xafbcbc):_0x2f8e9a,_0x3379ac=_0x27a938[_0x5068b9(0x5e8)]-0x1,_0x287b99;_0x3379ac>=0x0;_0x3379ac--)(_0x287b99=_0x27a938[_0x3379ac])&&(_0x3a37c7=(_0x2a1c82?_0x287b99(_0x2f8e9a,_0xafbcbc,_0x3a37c7):_0x287b99(_0x3a37c7))||_0x3a37c7);return _0x2a1c82&&_0x3a37c7&&$r(_0x2f8e9a,_0xafbcbc,_0x3a37c7),_0x3a37c7;},Jt=(_0x584cbc,_0x51ab4f)=>(_0x5abaa2,_0x3c18f3)=>_0x51ab4f(_0x5abaa2,_0x3c18f3,_0x584cbc);exports[_0x54516d(0x43d)]=class{constructor(_0x537f85,_0x598258){this['_configService']=_0x537f85,this['_httpService']=_0x598258;}async['getUnitOnRev'](_0x5e008e,_0x220b5f){const _0xe8a0e8=_0x54516d;var _0x119e20;const {unitID:_0x226a20,type:_0x51a758,revision:_0xcb6f9a=0x0}=_0x220b5f,_0x5a7e95=this[_0xe8a0e8(0x2d1)]()+'/'+_0x51a758+_0xe8a0e8(0x569)+_0x226a20+_0xe8a0e8(0x3a9)+_0xcb6f9a,_0x4e0b44=(await this[_0xe8a0e8(0x248)][_0xe8a0e8(0x3b1)](_0x5a7e95))['body'],_0x3cf39a=(_0x119e20=_0x4e0b44[_0xe8a0e8(0x323)])==null?void 0x0:_0x119e20[_0xe8a0e8(0x523)];if(_0x3cf39a){const _0x26c628=_0x3cf39a==null?void 0x0:_0x3cf39a['originalMeta'],_0x282668=S[_0xe8a0e8(0x1ec)][_0xe8a0e8(0x4be)](S[_0xe8a0e8(0x206)](_0x26c628));_0x3cf39a[_0xe8a0e8(0x60d)]=_0x282668,Object[_0xe8a0e8(0x57e)](_0x3cf39a[_0xe8a0e8(0x491)])[_0xe8a0e8(0x1ba)](([,_0x4e1824])=>{const _0x24ae57=_0xe8a0e8,_0x526947=_0x4e1824[_0x24ae57(0x60d)],_0x287927=S[_0x24ae57(0x1ec)][_0x24ae57(0x4be)](S[_0x24ae57(0x206)](_0x526947));_0x4e1824[_0x24ae57(0x60d)]=_0x287927;});}return _0x4e0b44;}async[_0x54516d(0x5f0)](_0x302f7a,_0x54d81d){const _0xa4870f=_0x54516d,{unitID:_0x4c9766,type:_0x1e7952,blockID:_0x152d14}=_0x54d81d,_0x498075=this['_getAPIPrefix']()+'/'+_0x1e7952+'/unit/'+_0x4c9766+_0xa4870f(0x34a)+_0x152d14;return(await this[_0xa4870f(0x248)][_0xa4870f(0x3b1)](_0x498075))[_0xa4870f(0x4ba)];}async['getDeserializedSheetBlock'](_0x660de2,_0x56d44a){const _0x4200c8=_0x54516d,{unitID:_0x53b83f,type:_0x433fd5,blockID:_0x35bb34}=_0x56d44a,_0x36b341=this[_0x4200c8(0x4e6)]()+'/block/'+_0x433fd5+_0x4200c8(0x569)+_0x53b83f+_0x4200c8(0x34a)+_0x35bb34;return(await this[_0x4200c8(0x248)][_0x4200c8(0x3b1)](_0x36b341))[_0x4200c8(0x4ba)];}async[_0x54516d(0x565)](_0x37e7d7,_0x159253){const _0x16c291=_0x54516d,{unitID:_0x2f8164,type:_0x143e02,from:_0x59ea3e,to:_0xda475}=_0x159253,_0x161c21=this[_0x16c291(0x4e6)]()+'/'+_0x143e02+_0x16c291(0x569)+_0x2f8164+_0x16c291(0x540)+_0x59ea3e+'&to='+_0xda475;return(await this[_0x16c291(0x248)]['get'](_0x161c21))[_0x16c291(0x4ba)];}['_getSnapshotAPIPrefix'](){const _0x1ea4ae=_0x54516d;var _0x3c31ae;return(_0x3c31ae=this[_0x1ea4ae(0x2a3)][_0x1ea4ae(0x21d)](Qt))!=null?_0x3c31ae:this[_0x1ea4ae(0x4e6)]();}[_0x54516d(0x4e6)](){const _0x2e8a7d=_0x54516d;var _0x5ce2bd,_0x2ae316;const _0x44a4c8=this['_configService'][_0x2e8a7d(0x21d)](Zt),_0x5b723f=this['_configService']['getConfig'](te);return(_0x2ae316=(_0x5ce2bd=_0x5b723f==null?void 0x0:_0x5b723f[_0x2e8a7d(0x265)])!=null?_0x5ce2bd:_0x44a4c8)!=null?_0x2ae316:Hn;}async['getResourcesRequest'](_0x1059a9,_0x55a282){const _0x3e46b4=_0x54516d,_0x3684a5='/universer-api/snapshot/'+_0x55a282[_0x3e46b4(0x242)]+_0x3e46b4(0x569)+_0x55a282[_0x3e46b4(0x351)]+_0x3e46b4(0x44a);return(await this[_0x3e46b4(0x248)][_0x3e46b4(0x3b1)](_0x3684a5,{'params':{'resourceId':JSON[_0x3e46b4(0x4c1)](_0x55a282['resourceIDs'])}}))[_0x3e46b4(0x4ba)];}['saveSnapshot'](){const _0x2af567=_0x54516d;throw new Error(_0x2af567(0x61b));}[_0x54516d(0x33e)](){const _0x38ee01=_0x54516d;throw new Error(_0x38ee01(0x61b));}[_0x54516d(0x52d)](){const _0x41ea5f=_0x54516d;throw new Error(_0x41ea5f(0x61b));}[_0x54516d(0x2cd)](){const _0x1459fb=_0x54516d;throw new Error(_0x1459fb(0x61b));}['getLatestCsReqIdBySid'](){const _0x5dbe54=_0x54516d;throw new Error(_0x5dbe54(0x61b));}},exports[_0x54516d(0x43d)]=Br([Jt(0x0,a[_0x54516d(0x208)]),Jt(0x1,a['Inject'](Z['HTTPService']))],exports[_0x54516d(0x43d)]);var kr=Object[_0x54516d(0x461)],Wr=Object[_0x54516d(0x363)],Fr=(_0x495812,_0x2782c7,_0x666e59,_0x164561)=>{const _0xdf7a75=_0x54516d;for(var _0x4418ff=_0x164561>0x1?void 0x0:_0x164561?Wr(_0x2782c7,_0x666e59):_0x2782c7,_0x495bfa=_0x495812[_0xdf7a75(0x5e8)]-0x1,_0x1d9faf;_0x495bfa>=0x0;_0x495bfa--)(_0x1d9faf=_0x495812[_0x495bfa])&&(_0x4418ff=(_0x164561?_0x1d9faf(_0x2782c7,_0x666e59,_0x4418ff):_0x1d9faf(_0x4418ff))||_0x4418ff);return _0x164561&&_0x4418ff&&kr(_0x2782c7,_0x666e59,_0x4418ff),_0x4418ff;},Ne=(_0x56782d,_0x284379)=>(_0x36991b,_0x3bb0c6)=>_0x284379(_0x36991b,_0x3bb0c6,_0x56782d);let It=class extends a[_0x54516d(0x3c2)]{constructor(_0x367bd5,_0x373ade,_0x5c3fdf,_0x54790b,_0x45dc7f){const _0x479fb7=_0x54516d;super(_0x367bd5,_0x373ade,_0x5c3fdf),this[_0x479fb7(0x579)]=_0x54790b,this[_0x479fb7(0x241)]=_0x45dc7f;}[_0x54516d(0x5d5)](_0x684283,_0x277c0d){const _0x3c565e=_0x54516d,_0x4d0895=this[_0x3c565e(0x3ab)](_0x684283);if(_0x4d0895)try{const _0xdf694b=this['_transformStack'](_0x4d0895,_0x277c0d);this[_0x3c565e(0x585)](_0x684283,_0xdf694b);}catch(_0x3e38f6){this[_0x3c565e(0x241)]['error']('[CollaborationUndoRedoService]',_0x3e38f6),this[_0x3c565e(0x307)](_0x684283);}const _0x46bdf0=this[_0x3c565e(0x3b2)](_0x684283);if(_0x46bdf0)try{const _0x2a19a3=this[_0x3c565e(0x21b)](_0x46bdf0,_0x277c0d);this[_0x3c565e(0x550)](_0x684283,_0x2a19a3);}catch(_0x1fc0c0){this[_0x3c565e(0x241)][_0x3c565e(0x29f)](_0x1fc0c0),this[_0x3c565e(0x381)](_0x684283);}}['_clearUndo'](_0x12a67f){const _0x315d4d=_0x54516d,_0x260f1b=this[_0x315d4d(0x3ab)](_0x12a67f);_0x260f1b&&(_0x260f1b['length']=0x0,this[_0x315d4d(0x566)]());}['_clearRedo'](_0x148064){const _0x34381f=_0x54516d,_0x152d96=this[_0x34381f(0x3b2)](_0x148064);_0x152d96&&(_0x152d96[_0x34381f(0x5e8)]=0x0,this[_0x34381f(0x566)]());}['_substituteUndoStack'](_0x4b52f3,_0x1a9f8e){const _0x573519=_0x54516d;this['_undoStacks'][_0x573519(0x36d)](_0x4b52f3,_0x1a9f8e),this[_0x573519(0x566)]();}[_0x54516d(0x550)](_0x3378b4,_0x328854){const _0x20e3a6=_0x54516d;this['_redoStacks']['set'](_0x3378b4,_0x328854),this[_0x20e3a6(0x566)]();}[_0x54516d(0x21b)](_0x181d6e,_0x12105c){const _0x32955a=_0x54516d,_0x42ec7e=[];let _0x32f9a3=_0x12105c,_0x59f6b7=_0x12105c;for(let _0x282b6f=_0x181d6e['length']-0x1;_0x282b6f>=0x0;_0x282b6f--){const {unitID:_0x361c6a,undoMutations:_0x4005cd,redoMutations:_0x39c235}=_0x181d6e[_0x282b6f],_0x247771=this['_transformService'][_0x32955a(0x1cd)](_0x32f9a3,_0x4005cd),_0x45fc98=this[_0x32955a(0x579)][_0x32955a(0x1cd)](_0x59f6b7,_0x39c235);if(S['isTransformMutationsWithChangesetFailure'](_0x247771)||S[_0x32955a(0x2e3)](_0x45fc98)){this[_0x32955a(0x241)]['error'](_0x32955a(0x207),_0x32955a(0x2f9),_0x247771,_0x45fc98);break;}_0x32f9a3=_0x247771[_0x32955a(0x4ef)],_0x59f6b7=_0x45fc98[_0x32955a(0x4ef)],_0x42ec7e[_0x32955a(0x26e)]({'unitID':_0x361c6a,'undoMutations':_0x247771[_0x32955a(0x46b)],'redoMutations':_0x45fc98[_0x32955a(0x46b)]});}return _0x42ec7e['reverse']();}};It=Fr([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x54516d(0x18a)]),Ne(0x2,a[_0x54516d(0x5ba)]),Ne(0x3,S[_0x54516d(0x5bd)]),Ne(0x4,a['ILogService'])],It);class An extends a[_0x54516d(0x1d6)]{constructor(){const _0x293b88=_0x54516d;super(),I(this,'urlChange$'),this[_0x293b88(0x20a)]=A[_0x293b88(0x362)](window,_0x293b88(0x3be))[_0x293b88(0x5f2)](A[_0x293b88(0x42d)](this[_0x293b88(0x610)]),A[_0x293b88(0x40d)](0x1),A[_0x293b88(0x1d0)](void 0x0));}[_0x54516d(0x17e)](_0x2b095e,_0x509ae9,_0x573b60=!0x1){const _0x697b9a=_0x54516d,_0x2339ba=new URL(window[_0x697b9a(0x2da)][_0x697b9a(0x56d)]);_0x2339ba['searchParams'][_0x697b9a(0x36d)](_0x2b095e,_0x509ae9),_0x573b60?window[_0x697b9a(0x225)][_0x697b9a(0x2bb)]('','',_0x2339ba[_0x697b9a(0x481)]()):window[_0x697b9a(0x225)][_0x697b9a(0x320)]('','',_0x2339ba[_0x697b9a(0x481)]());}[_0x54516d(0x5b1)](_0x11a108,_0x4d7d05=!0x1){const _0x55e410=_0x54516d,_0xb0e7de=new URL(window[_0x55e410(0x2da)][_0x55e410(0x56d)]);_0xb0e7de['searchParams'][_0x55e410(0x1c4)](_0x11a108),_0x4d7d05?window['history']['replaceState']('','',_0xb0e7de[_0x55e410(0x481)]()):window['history'][_0x55e410(0x320)]('','',_0xb0e7de[_0x55e410(0x481)]());}[_0x54516d(0x479)](_0xb753ab){const _0x5ce790=_0x54516d;var _0x23aead;return(_0x23aead=new URL(window[_0x5ce790(0x2da)][_0x5ce790(0x56d)])[_0x5ce790(0x2b4)][_0x5ce790(0x3b1)](_0xb753ab))!=null?_0x23aead:void 0x0;}}var Nn=Object[_0x54516d(0x461)],Vr=Object['getOwnPropertyDescriptor'],Gr=(_0x3db4a1,_0x5723c9,_0x5b2c37)=>_0x5723c9 in _0x3db4a1?Nn(_0x3db4a1,_0x5723c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b2c37}):_0x3db4a1[_0x5723c9]=_0x5b2c37,Yr=(_0x335b16,_0x40a5d3,_0x1f90e2,_0x37caed)=>{const _0x54009d=_0x54516d;for(var _0x467048=_0x37caed>0x1?void 0x0:_0x37caed?Vr(_0x40a5d3,_0x1f90e2):_0x40a5d3,_0x2ec476=_0x335b16[_0x54009d(0x5e8)]-0x1,_0x31e024;_0x2ec476>=0x0;_0x2ec476--)(_0x31e024=_0x335b16[_0x2ec476])&&(_0x467048=(_0x37caed?_0x31e024(_0x40a5d3,_0x1f90e2,_0x467048):_0x31e024(_0x467048))||_0x467048);return _0x37caed&&_0x467048&&Nn(_0x40a5d3,_0x1f90e2,_0x467048),_0x467048;},He=(_0x38c4c2,_0xfd0f68)=>(_0x1bd941,_0x1aa550)=>_0xfd0f68(_0x1bd941,_0x1aa550,_0x38c4c2),Kr=(_0x273ffc,_0x6f0047,_0x78c0a6)=>Gr(_0x273ffc,_0x6f0047+'',_0x78c0a6);const qr=_0x54516d(0x1e3);exports['UniverCollaborationClientPlugin']=class extends a[_0x54516d(0x424)]{constructor(_0x557108=zn,_0x374711,_0x13fb1c,_0x4b06f5,_0x4ccf68){const _0x34d04a=_0x54516d;super(),this['_config']=_0x557108,this[_0x34d04a(0x241)]=_0x374711,this['_renderManagerService']=_0x13fb1c,this[_0x34d04a(0x47c)]=_0x4b06f5,this[_0x34d04a(0x2a3)]=_0x4ccf68;const {..._0x3f87e1}=this[_0x34d04a(0x170)];this[_0x34d04a(0x2a3)]['setConfig'](te,_0x3f87e1);}[_0x54516d(0x48c)](){const _0xe02e95=_0x54516d;this[_0xe02e95(0x609)](),this['_initDependencies']();}['onReady'](){a['touchDependencies'](this['_injector'],[[Ve]]);}[_0x54516d(0x506)](){this['_registerRenderDependencies']();}[_0x54516d(0x609)](){const _0x40569d=_0x54516d;var _0x43f863,_0x48636a,_0x37d632,_0x5e7cdc;this[_0x40569d(0x47c)][_0x40569d(0x468)](a[_0x40569d(0x5b9)])&&this[_0x40569d(0x241)][_0x40569d(0x29f)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x111f1e=[[a['IUndoRedoService'],{'useClass':It}],[exports['CollaborationSessionService']],[Ot],[wt,{'useClass':An}],[exports[_0x40569d(0x3a8)]],[exports[_0x40569d(0x5ef)]],[Z[_0x40569d(0x431)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x48636a=(_0x43f863=this['_config'])==null?void 0x0:_0x43f863['socketService'])!=null?_0x48636a:exports[_0x40569d(0x418)]}],[S[_0x40569d(0x4e0)],{'useClass':exports[_0x40569d(0x43d)]}],[a[_0x40569d(0x5e4)],{'useClass':exports['AuthzIoHttpService']}],[ne[_0x40569d(0x25c)],{'useClass':exports['ImageIoService']}],[exports[_0x40569d(0x19c)]],[exports[_0x40569d(0x54d)]],[exports[_0x40569d(0x36e)]],[Ve],[De]];(_0x37d632=this['_config'])!=null&&_0x37d632[_0x40569d(0x5a3)]&&_0x111f1e[_0x40569d(0x26e)]([qe,{'useClass':Oi}]),a[_0x40569d(0x3f6)](this[_0x40569d(0x47c)],a[_0x40569d(0x24a)](_0x111f1e,(_0x5e7cdc=this['_config'])==null?void 0x0:_0x5e7cdc[_0x40569d(0x1b0)]));}[_0x54516d(0x459)](){const _0x48e8bc=_0x54516d;this[_0x48e8bc(0x55b)](this[_0x48e8bc(0x250)][_0x48e8bc(0x4a0)](a[_0x48e8bc(0x2f2)]['UNIVER_DOC'],[pt])),this[_0x48e8bc(0x55b)](this['_renderManagerService'][_0x48e8bc(0x4a0)](a[_0x48e8bc(0x2f2)][_0x48e8bc(0x299)],[gt]));}[_0x54516d(0x2c3)](){const _0x5888fa=_0x54516d;var _0x90afa5,_0x59c1f1;this[_0x5888fa(0x47c)]['get'](Z['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':Z[_0x5888fa(0x4d7)]({'maxParallel':0x6})}),(_0x90afa5=this['_config'])!=null&&_0x90afa5[_0x5888fa(0x3b8)]||this['_injector']['get'](exports[_0x5888fa(0x5ef)])['disableLocalCache'](),(_0x59c1f1=this[_0x5888fa(0x170)])!=null&&_0x59c1f1['enableAuthServer']&&a[_0x5888fa(0x2b3)](this[_0x5888fa(0x47c)],[[Ge]]),a[_0x5888fa(0x2b3)](this['_injector'],[[Ye],[De],[exports['DataLoaderController']],[exports[_0x5888fa(0x19c)]],[exports[_0x5888fa(0x36e)]],[Ke]]);}},Kr(exports[_0x54516d(0x4f3)],'pluginName',qr),exports[_0x54516d(0x4f3)]=Yr([a[_0x54516d(0x205)](S[_0x54516d(0x570)],Z[_0x54516d(0x47e)]),He(0x1,a['ILogService']),He(0x2,K[_0x54516d(0x387)]),He(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),He(0x4,a[_0x54516d(0x208)])],exports[_0x54516d(0x4f3)]),exports[_0x54516d(0x4dc)]=Rn,exports[_0x54516d(0x1aa)]=on,exports['COLLAB_WEB_SOCKET_URL_KEY']=en,exports[_0x54516d(0x280)]=q,exports[_0x54516d(0x5be)]=Tn,exports[_0x54516d(0x173)]=Tt,exports[_0x54516d(0x357)]=tn,exports[_0x54516d(0x4b5)]=Ct,exports['ICollaborationSocketService']=bt,exports[_0x54516d(0x5f8)]=wt,exports[_0x54516d(0x5ee)]=rn,exports[_0x54516d(0x482)]=an,exports[_0x54516d(0x37f)]=sn,exports[_0x54516d(0x21a)]=Bn,exports['SNAPSHOT_SERVER_URL_KEY']=Zt,exports[_0x54516d(0x184)]=Qt,exports['SessionStatus']=se,exports['SheetCollabCursorShape']=Sn,exports[_0x54516d(0x2be)]=An,exports['deserializeToCombResponse']=hn,exports[_0x54516d(0x183)]=_n;
1
+ 'use strict';const _0x2fc972=_0x10d1;(function(_0x10b963,_0x1f665c){const _0x17a742=_0x10d1,_0x19bd99=_0x10b963();while(!![]){try{const _0xeaaf1e=parseInt(_0x17a742(0x45a))/0x1*(parseInt(_0x17a742(0x24f))/0x2)+-parseInt(_0x17a742(0x186))/0x3+-parseInt(_0x17a742(0x29e))/0x4+-parseInt(_0x17a742(0x442))/0x5+parseInt(_0x17a742(0xea))/0x6+parseInt(_0x17a742(0x276))/0x7*(parseInt(_0x17a742(0x182))/0x8)+parseInt(_0x17a742(0x39f))/0x9*(parseInt(_0x17a742(0x157))/0xa);if(_0xeaaf1e===_0x1f665c)break;else _0x19bd99['push'](_0x19bd99['shift']());}catch(_0x14e877){_0x19bd99['push'](_0x19bd99['shift']());}}}(_0x14d0,0xeb6cb));var Ln=Object[_0x2fc972(0x356)],xn=(_0x322044,_0x27953b,_0xfb9568)=>_0x27953b in _0x322044?Ln(_0x322044,_0x27953b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfb9568}):_0x322044[_0x27953b]=_0xfb9568,I=(_0xb54fc,_0x7e69c2,_0x3e4cfe)=>xn(_0xb54fc,typeof _0x7e69c2!='symbol'?_0x7e69c2+'':_0x7e69c2,_0x3e4cfe);Object[_0x2fc972(0x356)](exports,Symbol[_0x2fc972(0x394)],{'value':'Module'});const a=require(_0x2fc972(0x291)),A=require('rxjs'),V=require('rxjs/operators'),ge=require(_0x2fc972(0x229)),ee=require(_0x2fc972(0x2bf)),Z=require(_0x2fc972(0x396)),S=require(_0x2fc972(0x3bf)),jn=require(_0x2fc972(0x210)),J=require('@univerjs/docs-ui'),k=require(_0x2fc972(0x21f)),K=require('@univerjs/engine-render'),ye=require(_0x2fc972(0x531)),ne=require('@univerjs/drawing'),Pt=require(_0x2fc972(0x4f1)),Re=require(_0x2fc972(0x3db)),ae=require('react'),$n=require(_0x2fc972(0x20d)),Zt=_0x2fc972(0x368),Hn='/universer-api/snapshot',Qt=_0x2fc972(0x43d),Bn=_0x2fc972(0x4ae),kn=0x7d0,en='COLLAB_WEB_SOCKET_URL',Wn='ws://127.0.0.1:8000/universer-api/comb/connect',tn=_0x2fc972(0xcc),Fn=0x7530,Ct='HEARTBEAT_TIMEOUT',nn=0x4e20,Vn=0x4e20,sn=_0x2fc972(0x2c8),Gn=0x3,rn='LOCAL_CACHE_INTERVAL',Yn=0x3e8,on=_0x2fc972(0x3b1),Kn='/universer-api/comb',an='LOGIN_URL_KEY',qn=_0x2fc972(0x4ba);var cn=(_0xf526e1=>(_0xf526e1[_0xf526e1[_0x2fc972(0x1ba)]=0x0]=_0x2fc972(0x1ba),_0xf526e1[_0xf526e1['OK']=0x1]='OK',_0xf526e1[_0xf526e1['INTERNAL_ERROR']=0x2]=_0x2fc972(0x50d),_0xf526e1[_0xf526e1[_0x2fc972(0x2a7)]=0x3]=_0x2fc972(0x2a7),_0xf526e1[_0xf526e1[_0x2fc972(0x411)]=0x4]='NOT_FOUND',_0xf526e1[_0xf526e1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0xf526e1[_0xf526e1[_0x2fc972(0x348)]=0x6]='ALREADY_EXISTS',_0xf526e1[_0xf526e1[_0x2fc972(0x16e)]=0x7]=_0x2fc972(0x16e),_0xf526e1[_0xf526e1[_0x2fc972(0x2cd)]=0x8]=_0x2fc972(0x2cd),_0xf526e1[_0xf526e1[_0x2fc972(0x4bd)]=0x9]='COMPLETION_FINISHED',_0xf526e1[_0xf526e1[_0x2fc972(0x4be)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xf526e1[_0xf526e1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2fc972(0x251),_0xf526e1[_0xf526e1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2fc972(0x3ee),_0xf526e1[_0xf526e1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2fc972(0x200),_0xf526e1[_0xf526e1[_0x2fc972(0x231)]=0x1b59]='APPLY_REJECT',_0xf526e1[_0xf526e1[_0x2fc972(0x297)]=0x1b5a]=_0x2fc972(0x297),_0xf526e1[_0xf526e1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2fc972(0x113),_0xf526e1[_0xf526e1[_0x2fc972(0x2ae)]=0x1b5c]=_0x2fc972(0x2ae),_0xf526e1[_0xf526e1[_0x2fc972(0x4db)]=0x1b5d]='APPLY_DUPLICATED',_0xf526e1[_0xf526e1[_0x2fc972(0x534)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xf526e1[_0xf526e1[_0x2fc972(0x4b6)]=0x2329]=_0x2fc972(0x4b6),_0xf526e1[_0xf526e1[_0x2fc972(0x388)]=0x232a]=_0x2fc972(0x388),_0xf526e1[_0xf526e1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2fc972(0x4f0),_0xf526e1[_0xf526e1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2fc972(0x4c1),_0xf526e1[_0xf526e1['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xf526e1[_0xf526e1[_0x2fc972(0x2f9)]=0x2711]=_0x2fc972(0x2f9),_0xf526e1[_0xf526e1['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2fc972(0x1aa),_0xf526e1[_0xf526e1[_0x2fc972(0x165)]=0x2713]=_0x2fc972(0x165),_0xf526e1[_0xf526e1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2fc972(0x355),_0xf526e1[_0xf526e1[_0x2fc972(0x1e5)]=-0x1]=_0x2fc972(0x1e5),_0xf526e1))(cn||{}),ie=(_0x53e472=>(_0x53e472[_0x53e472['UNIVER_UNKNOWN']=0x0]=_0x2fc972(0x216),_0x53e472[_0x53e472[_0x2fc972(0x22f)]=0x1]=_0x2fc972(0x22f),_0x53e472[_0x53e472[_0x2fc972(0x252)]=0x2]=_0x2fc972(0x252),_0x53e472[_0x53e472[_0x2fc972(0x1ff)]=0x3]='UNIVER_SLIDE',_0x53e472[_0x53e472['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x53e472[_0x53e472['UNRECOGNIZED']=-0x1]=_0x2fc972(0x1e5),_0x53e472))(ie||{}),G=(_0x554d61=>(_0x554d61[_0x554d61[_0x2fc972(0x326)]=0x0]=_0x2fc972(0x326),_0x554d61[_0x554d61[_0x2fc972(0x3b8)]=0x1]=_0x2fc972(0x3b8),_0x554d61[_0x554d61['JOIN']=0x2]='JOIN',_0x554d61[_0x554d61[_0x2fc972(0x2b4)]=0x3]=_0x2fc972(0x2b4),_0x554d61[_0x554d61[_0x2fc972(0xdb)]=0x4]=_0x2fc972(0xdb),_0x554d61[_0x554d61['HEARTBEAT']=0x5]=_0x2fc972(0x3bb),_0x554d61[_0x554d61[_0x2fc972(0x366)]=0x6]='RECV',_0x554d61[_0x554d61[_0x2fc972(0x1e5)]=-0x1]=_0x2fc972(0x1e5),_0x554d61))(G||{}),Et=(_0x2fa6da=>(_0x2fa6da[_0x2fa6da[_0x2fc972(0x416)]=0x0]='UNKNOWN_CODE',_0x2fa6da[_0x2fa6da['OK']=0x1]='OK',_0x2fa6da[_0x2fa6da[_0x2fc972(0x2de)]=0x2]=_0x2fc972(0x2de),_0x2fa6da[_0x2fa6da['UNRECOGNIZED']=-0x1]=_0x2fc972(0x1e5),_0x2fa6da))(Et||{}),ln=(_0x5eb144=>(_0x5eb144[_0x5eb144[_0x2fc972(0x1ad)]=0x0]=_0x2fc972(0x1ad),_0x5eb144[_0x5eb144[_0x2fc972(0x1a9)]=0x1]='HttpImport',_0x5eb144[_0x5eb144[_0x2fc972(0x33b)]=0x2]=_0x2fc972(0x33b),_0x5eb144[_0x5eb144[_0x2fc972(0x48d)]=0x3]=_0x2fc972(0x48d),_0x5eb144[_0x5eb144[_0x2fc972(0x148)]=0x4]=_0x2fc972(0x148),_0x5eb144[_0x5eb144['UNRECOGNIZED']=-0x1]=_0x2fc972(0x1e5),_0x5eb144))(ln||{});const te=_0x2fc972(0xf4),zn={};function hn(_0x4a2e72){const _0x302a08=_0x2fc972;var _0x488dbb,_0x212334,_0x285ef8,_0x33e4fe,_0x49cbf3;const _0x402c98=_0x4a2e72[_0x302a08(0x191)],_0x11809c=JSON[_0x302a08(0x17d)](_0x402c98);switch(_0x11809c['cmd']){case G[_0x302a08(0x3bb)]:case G['HELLO']:{const _0xdb97e7=_0x11809c[_0x302a08(0x34f)];return{..._0x11809c,'data':_0xdb97e7,'cmd':_0x11809c[_0x302a08(0x380)]};}case G[_0x302a08(0x14b)]:{const _0x52887e=_0x11809c[_0x302a08(0x16b)];return{..._0x11809c,'data':_0x52887e,'cmd':_0x11809c['cmd']};}case G[_0x302a08(0x366)]:{const _0x735fc5=_0x11809c[_0x302a08(0x428)];switch(_0x735fc5[_0x302a08(0x4ca)]){case S[_0x302a08(0x2b7)][_0x302a08(0x25a)]:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x488dbb=_0x735fc5[_0x302a08(0x3ff)])==null?void 0x0:_0x488dbb['cs']},'cmd':_0x11809c['cmd']};case S[_0x302a08(0x2b7)]['CHANGESET_ACK']:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x212334=_0x735fc5['csAckEvent'])==null?void 0x0:_0x212334['cs']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)]['NEW_CHANGESETS']:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x285ef8=_0x735fc5[_0x302a08(0x467)])==null?void 0x0:_0x285ef8['cs']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x1fb)]:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x33e4fe=_0x735fc5[_0x302a08(0x156)])==null?void 0x0:_0x33e4fe['cs']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)]['CHANGESET_SHOULD_RETRY']:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x49cbf3=_0x735fc5[_0x302a08(0x520)])==null?void 0x0:_0x49cbf3['cs']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x1be)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5[_0x302a08(0x308)]},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x321)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['joinEvent']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x50a)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['leaveEvent']},'cmd':_0x11809c[_0x302a08(0x380)]};case S['CollaborationEvent'][_0x302a08(0x314)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['liveShareNewHost']},'cmd':_0x11809c[_0x302a08(0x380)]};case S['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case S[_0x302a08(0x2b7)]['LIVESHARE_OPERATION']:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5[_0x302a08(0x526)]},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x53b)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5[_0x302a08(0x3e2)]},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x4cd)]:return{..._0x11809c,'data':_0x735fc5,'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)]['COMMENT_UPDATE']:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5[_0x302a08(0x405)]},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x11a)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['updatePermissionObjEvent']},'cmd':_0x11809c['cmd']};case S[_0x302a08(0x2b7)]['SHOULD_CLOSE_CONN']:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['shouldCloseConn']},'cmd':_0x11809c[_0x302a08(0x380)]};default:return _0x11809c;}}default:return _0x11809c;}}function _n(_0x3b4470){const _0x1a7bc1=_0x2fc972;switch(_0x3b4470[_0x1a7bc1(0x380)]){case G[_0x1a7bc1(0x3bb)]:case G[_0x1a7bc1(0x3b8)]:return JSON[_0x1a7bc1(0x3cd)]({'cmd':_0x3b4470['cmd'],'routeKey':_0x3b4470['routeKey']});case G['INGEST']:{let _0x6e48d8;switch(_0x3b4470[_0x1a7bc1(0x191)][_0x1a7bc1(0x4ca)]){case S['CollaborationEvent'][_0x1a7bc1(0x1be)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x1be)],'updateCursorEvent':_0x3b4470['data']['data']};break;}case S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x50a)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)]['USERS_LEAVE'],'leaveEvent':_0x3b4470[_0x1a7bc1(0x191)][_0x1a7bc1(0x191)]};break;}case S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x321)]:{_0x6e48d8={'eventID':S['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x3b4470['data'][_0x1a7bc1(0x191)]};break;}case S[_0x1a7bc1(0x2b7)]['LIVESHARE_NEW_HOST']:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x314)],'liveShareNewHost':_0x3b4470[_0x1a7bc1(0x191)]['data']};break;}case S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x3a6)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x3a6)],'liveShareOperation':_0x3b4470[_0x1a7bc1(0x191)]['data']};break;}case S['CollaborationEvent'][_0x1a7bc1(0x53b)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x53b)],'liveShareTerminate':_0x3b4470[_0x1a7bc1(0x191)]['data']};break;}case S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x1ea)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3b4470[_0x1a7bc1(0x191)][_0x1a7bc1(0x191)]};break;}case S['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x6e48d8={'eventID':S['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x6e48d8={'eventID':_0x3b4470[_0x1a7bc1(0x191)][_0x1a7bc1(0x4ca)]};}return JSON[_0x1a7bc1(0x3cd)]({'cmd':_0x3b4470['cmd'],'routeKey':_0x3b4470['routeKey'],'collaMsg':_0x6e48d8});}case G[_0x1a7bc1(0x14b)]:return JSON[_0x1a7bc1(0x3cd)]({'cmd':_0x3b4470[_0x1a7bc1(0x380)],'routeKey':_0x3b4470[_0x1a7bc1(0x2c4)],'joinReq':_0x3b4470[_0x1a7bc1(0x191)]});case G['LEAVE']:return JSON[_0x1a7bc1(0x3cd)]({'cmd':_0x3b4470[_0x1a7bc1(0x380)],'routeKey':_0x3b4470['routeKey'],'leaveReq':_0x3b4470[_0x1a7bc1(0x191)]});default:throw new Error(_0x1a7bc1(0x15b));}}var Xn=Object['defineProperty'],Jn=Object[_0x2fc972(0x423)],Zn=(_0x57f0a6,_0x38b504,_0x14ac9f,_0x210bf6)=>{for(var _0x528f33=_0x210bf6>0x1?void 0x0:_0x210bf6?Jn(_0x38b504,_0x14ac9f):_0x38b504,_0x37e66a=_0x57f0a6['length']-0x1,_0x36ee7f;_0x37e66a>=0x0;_0x37e66a--)(_0x36ee7f=_0x57f0a6[_0x37e66a])&&(_0x528f33=(_0x210bf6?_0x36ee7f(_0x38b504,_0x14ac9f,_0x528f33):_0x36ee7f(_0x528f33))||_0x528f33);return _0x210bf6&&_0x528f33&&Xn(_0x38b504,_0x14ac9f,_0x528f33),_0x528f33;},we=(_0x576cf2,_0x41cd84)=>(_0x3b9c45,_0x27d238)=>_0x41cd84(_0x3b9c45,_0x27d238,_0x576cf2);const bt=a[_0x2fc972(0x183)](_0x2fc972(0x483));function Qn(_0x4a739b,_0x2f6da8,_0x16ade1){const _0x2a7dce=_0x2fc972;return _0x4a739b+'/'+_0x2f6da8+_0x2a7dce(0xaa)+_0x16ade1+_0x2a7dce(0x35c);}exports[_0x2fc972(0x44c)]=class extends a[_0x2fc972(0x37c)]{constructor(_0xb8e1fb,_0x54d8fd,_0xec1c33,_0x1fd94e,_0xb8610b){const _0x506f15=_0x2fc972;super(),this['_http']=_0xb8e1fb,this['_ws']=_0x54d8fd,this[_0x506f15(0x51e)]=_0xec1c33,this['_logService']=_0x1fd94e,this[_0x506f15(0x18a)]=_0xb8610b;}[_0x2fc972(0x51f)](_0x7c673a){const _0x1995d7=_0x2fc972,_0x4db02a=this['_ws'][_0x1995d7(0x51f)](_0x7c673a);if(!_0x4db02a)throw new Error(_0x1995d7(0x245));const _0x53ef15=new a[(_0x1995d7(0x1a0))](),_0x3da94c=new A[(_0x1995d7(0xd4))]();_0x53ef15[_0x1995d7(0x34a)](_0x4db02a[_0x1995d7(0x39c)]['subscribe'](_0x3f71e1=>_0x3da94c[_0x1995d7(0x450)](_0x3f71e1))),_0x53ef15[_0x1995d7(0x34a)](a['toDisposable'](()=>_0x3da94c[_0x1995d7(0x4b9)]()));const _0x19d100=new A[(_0x1995d7(0xd4))]();_0x53ef15['add'](_0x4db02a[_0x1995d7(0x2a1)]['subscribe'](_0x2636da=>_0x19d100[_0x1995d7(0x450)](_0x2636da))),_0x53ef15['add'](a[_0x1995d7(0x146)](()=>_0x19d100[_0x1995d7(0x4b9)]()));const _0xab6fe9=new A[(_0x1995d7(0xd4))]();_0x53ef15[_0x1995d7(0x34a)](_0x4db02a[_0x1995d7(0x48a)][_0x1995d7(0x243)](_0x38bfdf=>{const _0x1dcf8c=_0x1995d7,_0x49fa2f=hn(_0x38bfdf);_0xab6fe9[_0x1dcf8c(0x450)](_0x49fa2f);})),_0x53ef15[_0x1995d7(0x34a)](a['toDisposable'](()=>_0xab6fe9[_0x1995d7(0x4b9)]()));let _0x4aaaae;const _0x31d84c=()=>{const _0x8d6fa8=_0x1995d7;_0x19d100['next'](new Event(_0x8d6fa8(0x298))),_0x3da94c['next'](new CloseEvent(_0x8d6fa8(0x298))),_0x4aaaae[_0x8d6fa8(0x224)]();};return _0x4aaaae={'memberID':'','close$':_0x3da94c[_0x1995d7(0x1f3)](),'error$':_0x19d100['asObservable'](),'open$':_0x4db02a['open$'],'message$':_0xab6fe9[_0x1995d7(0x1f3)](),'send':_0x123307=>{const _0x301313=_0x1995d7;if(_0x123307[_0x301313(0x380)]===G[_0x301313(0xdb)]){if(_0x123307[_0x301313(0x191)][_0x301313(0x4ca)]===S[_0x301313(0x2b7)][_0x301313(0x306)]){this[_0x301313(0x36e)](_0x4aaaae,_0x123307[_0x301313(0x191)])[_0x301313(0x4e0)](_0x1dfdab=>{const _0xf780b5=_0x301313;this[_0xf780b5(0x3e5)][_0xf780b5(0x2be)](_0x1dfdab),_0x31d84c();});return;}if(_0x123307[_0x301313(0x191)][_0x301313(0x4ca)]===S['CollaborationEvent'][_0x301313(0x472)]){const _0x54e911=_0x123307[_0x301313(0x191)];this[_0x301313(0x1ae)](_0x54e911)[_0x301313(0x104)](_0x3a7043=>{const _0x5ef38c=_0x301313;_0xab6fe9[_0x5ef38c(0x450)]({'cmd':G[_0x5ef38c(0x366)],'code':Et['OK'],'routeKey':_0x54e911[_0x5ef38c(0x191)]['unitID'],'routeType':'','data':{'eventID':S['CollaborationEvent'][_0x5ef38c(0xc8)],'data':{'changesets':_0x3a7043}}});})[_0x301313(0x4e0)](_0xc1b2f4=>{const _0x579bb7=_0x301313;this[_0x579bb7(0x3e5)][_0x579bb7(0x2be)](_0xc1b2f4),_0x31d84c();});return;}}_0x4db02a[_0x301313(0x3b3)](_n(_0x123307));},'close':()=>{const _0x3e703d=_0x1995d7;_0x4db02a['close'](),_0x53ef15[_0x3e703d(0x324)]();}},_0x4aaaae;}async['_submitChangeset'](_0xfef9a0,_0x54eede){const _0x4a9b42=_0x2fc972;var _0x3bd2be,_0x4fe65;const {unitType:_0x1a1d40,unitID:_0x310097,changeset:_0x37e4ba}=_0x54eede[_0x4a9b42(0x191)],_0x39e718={'unitID':_0x310097,'memberID':_0xfef9a0[_0x4a9b42(0x51d)],'type':_0x1a1d40,'changeset':S['parseChangesetToProtocol'](_0x37e4ba)},_0x48eb80=this[_0x4a9b42(0x51e)][_0x4a9b42(0xf1)](on),_0x3ccfc0=this[_0x4a9b42(0x51e)][_0x4a9b42(0xf1)](te),_0x2ef905=Qn((_0x4fe65=(_0x3bd2be=_0x3ccfc0==null?void 0x0:_0x3ccfc0['collabSubmitChangesetUrl'])!=null?_0x3bd2be:_0x48eb80)!=null?_0x4fe65:Kn,_0x1a1d40,_0x310097);try{await this['_http'][_0x4a9b42(0x1b2)](_0x2ef905,{'body':_0x39e718});}catch(_0x3966a3){throw this[_0x4a9b42(0x3e5)][_0x4a9b42(0x2be)](_0x4a9b42(0x304),'submit\x20changeset\x20error!'),_0x3966a3;}}async['_fetchMissChangesets'](_0x42c6b4){const _0x587840=_0x2fc972,{unitID:_0x199d00,from:_0x2066d2,to:_0x2274d5,unitType:_0x1f40db}=_0x42c6b4[_0x587840(0x191)];return(await this[_0x587840(0x18a)][_0x587840(0x4fd)]({'metadata':void 0x0},{'unitID':_0x199d00,'type':_0x1f40db,'from':_0x2066d2,'to':_0x2274d5}))[_0x587840(0x517)];}},exports['CollaborationSocketService']=Zn([we(0x0,a['Inject'](Z[_0x2fc972(0x4a1)])),we(0x1,a[_0x2fc972(0xde)](Z['WebSocketService'])),we(0x2,a[_0x2fc972(0x33a)]),we(0x3,a[_0x2fc972(0x1fc)]),we(0x4,S['ISnapshotServerService'])],exports[_0x2fc972(0x44c)]);const ei=_0x2fc972(0x154);function ti(_0x2c629f){const _0x42f842=_0x2fc972;return JSON[_0x42f842(0x3cd)](_0x2c629f)[_0x42f842(0x14d)];}class Tt{constructor(){const _0x11f3ca=_0x2fc972;I(this,_0x11f3ca(0x1c1),new A[(_0x11f3ca(0xd4))]()),I(this,_0x11f3ca(0x1c5),this[_0x11f3ca(0x1c1)][_0x11f3ca(0x1f3)]());}[_0x2fc972(0x14e)](_0x2bb912){const _0x3dbb87=_0x2fc972;this[_0x3dbb87(0x1c1)][_0x3dbb87(0x450)](_0x2bb912);}}var ni=Object['defineProperty'],ii=Object['getOwnPropertyDescriptor'],si=(_0x27ffbc,_0x47aaee,_0x3e5dba,_0x19f417)=>{for(var _0x1392c3=_0x19f417>0x1?void 0x0:_0x19f417?ii(_0x47aaee,_0x3e5dba):_0x47aaee,_0x4852c9=_0x27ffbc['length']-0x1,_0x2a77a1;_0x4852c9>=0x0;_0x4852c9--)(_0x2a77a1=_0x27ffbc[_0x4852c9])&&(_0x1392c3=(_0x19f417?_0x2a77a1(_0x47aaee,_0x3e5dba,_0x1392c3):_0x2a77a1(_0x1392c3))||_0x1392c3);return _0x19f417&&_0x1392c3&&ni(_0x47aaee,_0x3e5dba,_0x1392c3),_0x1392c3;},Ut=(_0xe06ba5,_0x50b688)=>(_0x400d41,_0x43583a)=>_0x50b688(_0x400d41,_0x43583a,_0xe06ba5);exports[_0x2fc972(0x120)]=class extends a[_0x2fc972(0x37c)]{constructor(_0x3a3e2d,_0x47b37c){const _0x14f2b=_0x2fc972;super(),I(this,_0x14f2b(0x2ed),new Map()),(this['_univerInstanceService']=_0x3a3e2d,this[_0x14f2b(0x40f)]=_0x47b37c,this[_0x14f2b(0x1a7)](a[_0x14f2b(0x146)](A[_0x14f2b(0x35e)](this[_0x14f2b(0x4d3)]['getTypeOfUnitDisposed$'](a[_0x14f2b(0x172)][_0x14f2b(0x252)])[_0x14f2b(0x54d)](V['map'](_0x3172f9=>_0x3172f9[_0x14f2b(0x12b)]())),this[_0x14f2b(0x4d3)][_0x14f2b(0x4fa)](a['UniverInstanceType']['UNIVER_DOC'])[_0x14f2b(0x54d)](V[_0x14f2b(0x2dc)](_0xd02278=>_0xd02278[_0x14f2b(0x12b)]())),this[_0x14f2b(0x4d3)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x14f2b(0x1ff)])[_0x14f2b(0x54d)](V[_0x14f2b(0x2dc)](_0xa758f1=>_0xa758f1[_0x14f2b(0x12b)]())))[_0x14f2b(0x243)](_0x1460c7=>this[_0x14f2b(0x3b4)](_0x1460c7)))));}[_0x2fc972(0x43b)](_0xf9dbc0){const _0x4bd83e=_0x2fc972;this[_0x4bd83e(0x40f)][_0x4bd83e(0x43b)](_0xf9dbc0);}['getCurrentUser'](){const _0x157c9f=_0x2fc972;return this[_0x157c9f(0x40f)][_0x157c9f(0x4a9)]();}[_0x2fc972(0x26b)](_0x5b2a77,_0x4c62bd){const _0x229ad6=_0x2fc972;let _0x2316b5=this[_0x229ad6(0x2ed)]['get'](_0x5b2a77);_0x2316b5||(_0x2316b5=new ri(),this[_0x229ad6(0x2ed)]['set'](_0x5b2a77,_0x2316b5)),_0x2316b5['updateMember'](_0x4c62bd);}[_0x2fc972(0x49d)](_0x193304,_0xbb71b5){const _0x1d5c82=_0x2fc972,_0x556da3=this[_0x1d5c82(0x2ed)]['get'](_0x193304);_0x556da3&&_0x556da3['removeMember'](_0xbb71b5);}[_0x2fc972(0x1cb)](_0x3058f5){const _0x1d7ccb=_0x2fc972;return this[_0x1d7ccb(0x2ed)]['get'](_0x3058f5);}['getMember'](_0x1970bf,_0x592222){const _0x2e9895=_0x2fc972,_0xd0adc3=this[_0x2e9895(0x2ed)][_0x2e9895(0x3cf)](_0x1970bf);if(_0xd0adc3)return _0xd0adc3[_0x2e9895(0x2bc)](_0x592222);}['_removeRoom'](_0x58a0ec){const _0xf52246=_0x2fc972,_0x452281=this[_0xf52246(0x2ed)]['get'](_0x58a0ec);_0x452281&&(_0x452281['dispose'](),this[_0xf52246(0x2ed)][_0xf52246(0x332)](_0x58a0ec));}[_0x2fc972(0x324)](){const _0x5601a6=_0x2fc972;this['_roomMembers'][_0x5601a6(0x422)](_0x134afd=>_0x134afd['dispose']()),this['_roomMembers'][_0x5601a6(0x211)]();}},exports[_0x2fc972(0x120)]=si([Ut(0x0,a[_0x2fc972(0x3b9)]),Ut(0x1,a['Inject'](a[_0x2fc972(0x343)]))],exports[_0x2fc972(0x120)]);class ri extends a[_0x2fc972(0x37c)]{constructor(){const _0x5b1ee5=_0x2fc972;super(...arguments),I(this,_0x5b1ee5(0x3bc),new Map());}[_0x2fc972(0x324)](){const _0x13940b=_0x2fc972;this[_0x13940b(0x3bc)]['clear']();}['updateMember'](_0x325435){const _0x45b81f=_0x2fc972;this[_0x45b81f(0x3bc)][_0x45b81f(0x3ef)](_0x325435[_0x45b81f(0x51d)],_0x325435);}[_0x2fc972(0x49d)](_0x3e2fdd){const _0xa79905=_0x2fc972;this['_members'][_0xa79905(0x332)](_0x3e2fdd);}[_0x2fc972(0x2bc)](_0x19bfbe){const _0x4e3118=_0x2fc972;return this[_0x4e3118(0x3bc)][_0x4e3118(0x3cf)](_0x19bfbe);}[_0x2fc972(0x2fe)](){const _0x2ae8ae=_0x2fc972;return Array[_0x2ae8ae(0x4fe)](this['_members'][_0x2ae8ae(0x510)]());}}var oi=Object[_0x2fc972(0x356)],ai=Object[_0x2fc972(0x423)],ci=(_0x4870c7,_0x370095,_0x4f8e3a,_0x42a3ba)=>{const _0x30739f=_0x2fc972;for(var _0x52d416=_0x42a3ba>0x1?void 0x0:_0x42a3ba?ai(_0x370095,_0x4f8e3a):_0x370095,_0x384eff=_0x4870c7[_0x30739f(0x14d)]-0x1,_0x468d68;_0x384eff>=0x0;_0x384eff--)(_0x468d68=_0x4870c7[_0x384eff])&&(_0x52d416=(_0x42a3ba?_0x468d68(_0x370095,_0x4f8e3a,_0x52d416):_0x468d68(_0x52d416))||_0x52d416);return _0x42a3ba&&_0x52d416&&oi(_0x370095,_0x4f8e3a,_0x52d416),_0x52d416;},de=(_0x4a140a,_0x182e38)=>(_0x3accf5,_0x3c06e0)=>_0x182e38(_0x3accf5,_0x3c06e0,_0x4a140a),se=(_0x30421b=>(_0x30421b[_0x30421b[_0x2fc972(0x302)]=0x0]=_0x2fc972(0x302),_0x30421b[_0x30421b[_0x2fc972(0xed)]=0x1]='JOINING',_0x30421b[_0x30421b[_0x2fc972(0x455)]=0x2]=_0x2fc972(0x455),_0x30421b[_0x30421b[_0x2fc972(0x30f)]=0x3]=_0x2fc972(0x30f),_0x30421b))(se||{});exports[_0x2fc972(0x246)]=class extends a[_0x2fc972(0x222)]{constructor(_0x18d4a3,_0x177ab0,_0x21c79f,_0x397c01,_0x56b8d4,_0x233e08,_0x4881b1,_0x248b20,_0x4e604c,_0x57711e){const _0x44c6a0=_0x2fc972;super(),I(this,'_sessionStatus$',new A[(_0x44c6a0(0x130))](0x0)),I(this,_0x44c6a0(0x4cb),this[_0x44c6a0(0x44b)][_0x44c6a0(0x1f3)]()),I(this,'_event$',new A['Subject']()),I(this,'event$',this[_0x44c6a0(0x1c2)][_0x44c6a0(0x1f3)]()),I(this,_0x44c6a0(0x550)),I(this,'_socketMessageSubscription'),I(this,_0x44c6a0(0x2e2)),I(this,_0x44c6a0(0x21a),!0x1),I(this,'_telemetryInfo',null),(this[_0x44c6a0(0x168)]=_0x18d4a3,this[_0x44c6a0(0x3e5)]=_0x21c79f,this['_beforeCloseService']=_0x397c01,this[_0x44c6a0(0x3b6)]=_0x56b8d4,this[_0x44c6a0(0x51e)]=_0x233e08,this[_0x44c6a0(0x46e)]=_0x4881b1,this[_0x44c6a0(0x35d)]=_0x248b20,this[_0x44c6a0(0x16f)]=_0x4e604c,this[_0x44c6a0(0x155)]=_0x57711e,this[_0x44c6a0(0x21a)]=!!this[_0x44c6a0(0x155)],_0x177ab0['pipe'](A[_0x44c6a0(0x26d)](this[_0x44c6a0(0x391)]))[_0x44c6a0(0x243)](_0x21f15e=>{const _0x51d2f6=_0x44c6a0;var _0x42b592;typeof _0x21f15e>'u'||(this[_0x51d2f6(0x550)]=_0x21f15e,_0x21f15e?(this['_joinRoom'](_0x21f15e),this[_0x51d2f6(0x390)]=_0x21f15e[_0x51d2f6(0x48a)]['subscribe'](_0x455e56=>{const _0x7e695b=_0x51d2f6;_0x455e56[_0x7e695b(0x2c4)]===this[_0x7e695b(0x168)]&&this[_0x7e695b(0x502)](_0x455e56);})):(this[_0x51d2f6(0x21d)](),this[_0x51d2f6(0x44b)]['next'](0x2),(_0x42b592=this[_0x51d2f6(0x390)])==null||_0x42b592[_0x51d2f6(0x484)](),this[_0x51d2f6(0x390)]=null));}),this['disposeWithMe'](this['_beforeCloseService']['registerOnClose'](()=>{const _0x39128e=_0x44c6a0;var _0x2cb46b;(_0x2cb46b=this[_0x39128e(0x550)])==null||_0x2cb46b[_0x39128e(0x3b3)]({'cmd':G[_0x39128e(0x2b4)],'data':{'roomID':this[_0x39128e(0x168)]}});})));}get[_0x2fc972(0x480)](){const _0x14c1e5=_0x2fc972;return this[_0x14c1e5(0x44b)][_0x14c1e5(0x4a3)]();}[_0x2fc972(0x287)](){const _0x8db270=_0x2fc972;var _0x1b982c,_0x1a3fd3;return(_0x1a3fd3=(_0x1b982c=this[_0x8db270(0x550)])==null?void 0x0:_0x1b982c[_0x8db270(0x51d)])!=null?_0x1a3fd3:null;}[_0x2fc972(0x324)](){const _0xc22199=_0x2fc972;super[_0xc22199(0x324)](),this[_0xc22199(0x391)][_0xc22199(0x450)](),this[_0xc22199(0x391)][_0xc22199(0x4b9)]();}['close'](){const _0x2b9ced=_0x2fc972;var _0xb14b96,_0x314338;this['_throwTelemetryCollaborationNewChangeset'](),(_0xb14b96=this[_0x2b9ced(0x550)])==null||_0xb14b96[_0x2b9ced(0x3b3)]({'cmd':G[_0x2b9ced(0x2b4)],'data':{'roomID':this['_unitID']}}),(_0x314338=this[_0x2b9ced(0x550)])==null||_0x314338['close'](),this[_0x2b9ced(0x1c2)]['complete'](),this[_0x2b9ced(0x44b)][_0x2b9ced(0x4b9)](),this[_0x2b9ced(0x324)]();}['_onCombEvent'](_0x5380e3){const _0x14054f=_0x2fc972;_0x5380e3[_0x14054f(0x380)]===G[_0x14054f(0x14b)]?this[_0x14054f(0x1ef)](_0x5380e3):_0x5380e3['cmd']===G[_0x14054f(0x366)]&&this[_0x14054f(0xc6)](_0x5380e3);}['_joinRoom'](_0x13db41){const _0x947e20=_0x2fc972;this[_0x947e20(0x44b)]['next'](0x1),_0x13db41[_0x947e20(0x3b3)]({'cmd':G[_0x947e20(0x14b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x947e20(0x168)]}]}});}[_0x2fc972(0x1ef)](_0x5de7fc){const _0x2162ef=_0x2fc972;var _0xf068b8;if(_0x5de7fc[_0x2162ef(0x271)]===Et[_0x2162ef(0x2de)]){this['_messageService'][_0x2162ef(0x456)]({'type':ge[_0x2162ef(0x40a)][_0x2162ef(0x19d)],'content':this['_localeService']['t']('session.room-full')}),this[_0x2162ef(0x44b)][_0x2162ef(0x450)](0x2);return;}this[_0x2162ef(0x44b)]['next'](0x3);const _0xd09717=(_0xf068b8=_0x5de7fc[_0x2162ef(0x191)][_0x2162ef(0x3b5)][this[_0x2162ef(0x168)]])==null?void 0x0:_0xf068b8[_0x2162ef(0xfd)];_0xd09717&&_0xd09717[_0x2162ef(0x422)](_0x35e66a=>this['_memberService']['updateMember'](this[_0x2162ef(0x168)],_0x35e66a));}['_onRecvEvent'](_0x1877bb){const _0x38bed1=_0x2fc972;try{const _0x3ce4a3=_0x1877bb['data'];switch(_0x3ce4a3[_0x38bed1(0x4ca)]){case S['CollaborationEvent'][_0x38bed1(0x321)]:this[_0x38bed1(0x386)](_0x3ce4a3),this[_0x38bed1(0x1c2)][_0x38bed1(0x450)](_0x3ce4a3);break;case S[_0x38bed1(0x2b7)][_0x38bed1(0x50a)]:this[_0x38bed1(0x4e4)](_0x3ce4a3),this[_0x38bed1(0x1c2)][_0x38bed1(0x450)](_0x3ce4a3);break;case S[_0x38bed1(0x2b7)][_0x38bed1(0x470)]:case S[_0x38bed1(0x2b7)]['CHANGESET_SHOULD_RETRY']:this[_0x38bed1(0x34b)](),this[_0x38bed1(0x53e)](),this[_0x38bed1(0x1c2)][_0x38bed1(0x450)](_0x3ce4a3);break;case S[_0x38bed1(0x2b7)]['MSG_FOR_ERROR']:this[_0x38bed1(0x3e5)]['error'](_0x38bed1(0x4de)+JSON[_0x38bed1(0x3cd)](_0x3ce4a3)),this[_0x38bed1(0x1c2)][_0x38bed1(0x450)](_0x3ce4a3);break;case S[_0x38bed1(0x2b7)]['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x3ce4a3[_0x38bed1(0x191)]),this['_event$'][_0x38bed1(0x450)](_0x3ce4a3);break;default:this['_event$']['next'](_0x3ce4a3);}}catch(_0x1b7fdd){this[_0x38bed1(0x3e5)]['error'](_0x1b7fdd,_0x1877bb);}}[_0x2fc972(0x386)](_0x518732){const _0x16e0a0=_0x2fc972;this[_0x16e0a0(0x35d)][_0x16e0a0(0x26b)](this[_0x16e0a0(0x168)],_0x518732[_0x16e0a0(0x191)]);}[_0x2fc972(0x4e4)](_0x1fb652){const _0x5834d1=_0x2fc972;this[_0x5834d1(0x35d)][_0x5834d1(0x49d)](this['_unitID'],_0x1fb652[_0x5834d1(0x191)][_0x5834d1(0x51d)]);}async[_0x2fc972(0x3b3)](_0x1d07eb,_0x4dd85c){const _0x3158cc=_0x2fc972;if(this['sessionStatus']!==0x3||!this[_0x3158cc(0x550)])throw new Error(_0x3158cc(0x44e));try{_0x1d07eb['eventID']===S[_0x3158cc(0x2b7)][_0x3158cc(0x306)]&&(this[_0x3158cc(0x10b)](),this[_0x3158cc(0x3f1)](_0x1d07eb)),this['_socket'][_0x3158cc(0x3b3)]({'cmd':G[_0x3158cc(0xdb)],'routeKey':_0x4dd85c,'routeType':'','data':_0x1d07eb});}catch(_0x4b40fd){this[_0x3158cc(0x3e5)][_0x3158cc(0x2be)](_0x4b40fd);}}[_0x2fc972(0x10b)](){const _0x180bcd=_0x2fc972;var _0xd25505;this['_collaborationTimeoutTimer']=window[_0x180bcd(0xeb)](()=>{const _0x10c392=_0x180bcd;this[_0x10c392(0x2e2)]=null,this['_messageService'][_0x10c392(0x456)]({'type':ge[_0x10c392(0x40a)][_0x10c392(0x44f)],'content':this['_localeService']['t'](_0x10c392(0x24b))});},(_0xd25505=this['_configService'][_0x180bcd(0xf1)](Ct))!=null?_0xd25505:nn);}['_clearCollaborationTimeoutTimer'](){const _0x1dd836=_0x2fc972;this[_0x1dd836(0x2e2)]&&(clearTimeout(this[_0x1dd836(0x2e2)]),this[_0x1dd836(0x2e2)]=null);}[_0x2fc972(0x3f1)](_0x1215ae){const _0x90b1d5=_0x2fc972;if(!this[_0x90b1d5(0x21a)])return;const {data:_0x487a91}=_0x1215ae,{unitID:_0x29b985,changeset:_0x28841f}=_0x487a91,{mutations:_0x3135da,type:_0x29db45}=_0x28841f;this[_0x90b1d5(0x1a2)]={'unitId':_0x29b985,'type':_0x29db45,'startTime':performance[_0x90b1d5(0x2ee)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x3135da)};}[_0x2fc972(0x34b)](){const _0x2b26e0=_0x2fc972;if(this[_0x2b26e0(0x21a)]){if(!this[_0x2b26e0(0x1a2)]){this[_0x2b26e0(0x3e5)][_0x2b26e0(0x2be)](_0x2b26e0(0x304),_0x2b26e0(0xf9));return;}this[_0x2b26e0(0x1a2)][_0x2b26e0(0x547)]=performance[_0x2b26e0(0x2ee)](),this['_telemetryInfo'][_0x2b26e0(0x491)]=this['_telemetryInfo']['stopTime']-this[_0x2b26e0(0x1a2)][_0x2b26e0(0x4a8)],this['_telemetryService'][_0x2b26e0(0x1ab)](ei,this[_0x2b26e0(0x1a2)]),this[_0x2b26e0(0x1a2)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x2e34ef=_0x2fc972;this[_0x2e34ef(0x1a2)]=null;}},exports[_0x2fc972(0x246)]=ci([de(0x2,a[_0x2fc972(0x1fc)]),de(0x3,ee[_0x2fc972(0x448)]),de(0x4,ee['IMessageService']),de(0x5,a['IConfigService']),de(0x6,a[_0x2fc972(0xde)](a['LocaleService'])),de(0x7,a[_0x2fc972(0xde)](exports[_0x2fc972(0x120)])),de(0x8,a[_0x2fc972(0xde)](Tt)),de(0x9,a[_0x2fc972(0x457)](jn['ITelemetryService']))],exports[_0x2fc972(0x246)]);var li=Object[_0x2fc972(0x356)],hi=Object[_0x2fc972(0x423)],_i=(_0x2422a1,_0x372c1a,_0x2103b7,_0x52419b)=>{const _0x2ebfc1=_0x2fc972;for(var _0x149f3a=_0x52419b>0x1?void 0x0:_0x52419b?hi(_0x372c1a,_0x2103b7):_0x372c1a,_0x5577b5=_0x2422a1[_0x2ebfc1(0x14d)]-0x1,_0xd35930;_0x5577b5>=0x0;_0x5577b5--)(_0xd35930=_0x2422a1[_0x5577b5])&&(_0x149f3a=(_0x52419b?_0xd35930(_0x372c1a,_0x2103b7,_0x149f3a):_0xd35930(_0x149f3a))||_0x149f3a);return _0x52419b&&_0x149f3a&&li(_0x372c1a,_0x2103b7,_0x149f3a),_0x149f3a;},Ee=(_0x25ca61,_0x13e8cd)=>(_0x3860cb,_0x1acb35)=>_0x13e8cd(_0x3860cb,_0x1acb35,_0x25ca61);exports[_0x2fc972(0x45d)]=class extends a[_0x2fc972(0x37c)]{constructor(_0x4b12ee,_0x5e0e05,_0x1b22d3,_0x463073,_0x1550e9,_0x431f96){const _0x37f5a2=_0x2fc972;super(),I(this,_0x37f5a2(0x497),new A[(_0x37f5a2(0x130))](void 0x0)),I(this,_0x37f5a2(0x43c),this[_0x37f5a2(0x497)][_0x37f5a2(0x1f3)]()),I(this,_0x37f5a2(0x1d7),null),I(this,'_sessions',new Map()),I(this,_0x37f5a2(0x367),new A[(_0x37f5a2(0x130))](se['IDLE'])),I(this,_0x37f5a2(0x1c4),this['_status$'][_0x37f5a2(0x1f3)]()),I(this,_0x37f5a2(0x17f),!0x1),I(this,_0x37f5a2(0x187)),I(this,_0x37f5a2(0x19a),0x0),I(this,_0x37f5a2(0x527)),I(this,'_timeoutTimer'),(this['_injector']=_0x4b12ee,this[_0x37f5a2(0x46e)]=_0x5e0e05,this[_0x37f5a2(0x3b6)]=_0x1b22d3,this['_logService']=_0x463073,this[_0x37f5a2(0x51e)]=_0x1550e9,this[_0x37f5a2(0x234)]=_0x431f96,this[_0x37f5a2(0x1ce)]());}get[_0x2fc972(0x550)](){const _0x358677=_0x2fc972;return this[_0x358677(0x497)]['getValue']();}['_initEventListeners'](){const _0x56ba00=_0x2fc972;this[_0x56ba00(0x2d5)](),this[_0x56ba00(0x1dd)]();}['dispose'](){const _0xf00483=_0x2fc972;super['dispose'](),this['_sessions'][_0xf00483(0x422)](_0x477336=>_0x477336[_0xf00483(0x324)]()),this['_sessions'][_0xf00483(0x211)](),this['_status$']['complete']();}async[_0x2fc972(0x42c)](_0x31183d){const _0x920083=_0x2fc972;if(this[_0x920083(0x36d)][_0x920083(0x33e)](_0x31183d))return this[_0x920083(0x36d)][_0x920083(0x3cf)](_0x31183d);this['_tryEnsureSocket']();const _0x42ea04=this[_0x920083(0x2bd)][_0x920083(0x176)](exports[_0x920083(0x246)],_0x31183d,this['_socket$'][_0x920083(0x1f3)]());return this[_0x920083(0x36d)]['set'](_0x31183d,_0x42ea04),_0x42ea04;}[_0x2fc972(0x23b)](_0x384235){const _0x280085=_0x2fc972;var _0x3ef921;const _0x3aecb4=this['_sessions'][_0x280085(0x3cf)](_0x384235);_0x3aecb4&&(this['_sessions'][_0x280085(0x332)](_0x384235),_0x3aecb4[_0x280085(0x224)]()),this[_0x280085(0x36d)]['size']||(_0x3ef921=this[_0x280085(0x550)])==null||_0x3ef921[_0x280085(0x224)]();}[_0x2fc972(0x1f8)](){const _0x1a7f55=_0x2fc972;this[_0x1a7f55(0x19a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1a7f55(0x187)]),this[_0x1a7f55(0x187)]=null),this[_0x1a7f55(0x447)]();}['_createSocket'](){const _0x35b483=_0x2fc972;var _0x2ab178,_0x7a9d9;const _0x42049e=this[_0x35b483(0x51e)][_0x35b483(0xf1)](en),_0x4c6807=this['_configService']['getConfig'](te),_0x34ba7e=(_0x7a9d9=(_0x2ab178=_0x4c6807==null?void 0x0:_0x4c6807[_0x35b483(0x4ea)])!=null?_0x2ab178:_0x42049e)!=null?_0x7a9d9:Wn,_0x55ebb3=this[_0x35b483(0x234)][_0x35b483(0x51f)](_0x34ba7e);return this[_0x35b483(0x1d7)]=_0x55ebb3,_0x55ebb3;}[_0x2fc972(0x1a6)](){const _0x8974d8=_0x2fc972;var _0x13ce2b,_0x18694b;try{const _0x3441b3=(_0x18694b=(_0x13ce2b=this[_0x8974d8(0x550)])!=null?_0x13ce2b:this[_0x8974d8(0x1d7)])!=null?_0x18694b:this[_0x8974d8(0x23c)]();if(_0x3441b3){const _0x5583c1=_0x3441b3[_0x8974d8(0x3b3)];_0x3441b3[_0x8974d8(0x3b3)]=_0x1a0829=>(this['_rescheduleHeartbeat'](),_0x5583c1[_0x8974d8(0x2ce)](_0x3441b3,[_0x1a0829])),_0x3441b3[_0x8974d8(0x48a)][_0x8974d8(0x243)](_0x5b98fe=>this[_0x8974d8(0x33c)](_0x3441b3,_0x5b98fe)),_0x3441b3[_0x8974d8(0x2a1)][_0x8974d8(0x54d)](V['take'](0x1))[_0x8974d8(0x243)](_0x141630=>this[_0x8974d8(0x3e5)][_0x8974d8(0x2be)]('[CollaborationSessionService]:\x20socket\x20error',_0x141630)),_0x3441b3[_0x8974d8(0x26e)][_0x8974d8(0x54d)](V[_0x8974d8(0x4dc)](0x1))[_0x8974d8(0x243)](()=>{const _0x3e5fdf=_0x8974d8;this[_0x3e5fdf(0x54f)](_0x3441b3);}),_0x3441b3['close$'][_0x8974d8(0x54d)](V[_0x8974d8(0x4dc)](0x1))[_0x8974d8(0x243)](_0xc23337=>{const _0x33c4b2=_0x8974d8;this[_0x33c4b2(0x3e5)][_0x33c4b2(0x17a)](_0x33c4b2(0x18c),_0x33c4b2(0x21e),_0xc23337),this['_onConnectionFailed']();});}}catch(_0x327466){this[_0x8974d8(0x3e5)][_0x8974d8(0x2be)](_0x327466),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2b7dcd){const _0x4cd1e8=_0x2fc972;this[_0x4cd1e8(0x3e5)]['debug'](_0x4cd1e8(0x18c),_0x4cd1e8(0x2dd)),_0x2b7dcd[_0x4cd1e8(0x3b3)]({'cmd':G[_0x4cd1e8(0x3b8)]}),this[_0x4cd1e8(0x3da)]();}[_0x2fc972(0x2d5)](){const _0x39c3a8=_0x2fc972;window['addEventListener'](_0x39c3a8(0x399),()=>this[_0x39c3a8(0x20b)]());}[_0x2fc972(0x20b)](){const _0x10cbfc=_0x2fc972;this[_0x10cbfc(0x17f)]=!0x1,this[_0x10cbfc(0x1d7)]=null,this[_0x10cbfc(0x367)]['next'](se[_0x10cbfc(0x455)]),this['_socket$'][_0x10cbfc(0x450)](null),this[_0x10cbfc(0x141)](),this[_0x10cbfc(0x350)]();}[_0x2fc972(0x128)](){const _0x5ac8e4=_0x2fc972;var _0x53121a;this['_onOffline'](),this[_0x5ac8e4(0x19a)]<((_0x53121a=this[_0x5ac8e4(0x51e)][_0x5ac8e4(0xf1)](sn))!=null?_0x53121a:Gn)?(this['_messageService'][_0x5ac8e4(0x456)]({'key':_0x5ac8e4(0xc2),'type':ge['MessageType']['Warning'],'content':this['_localeService']['t'](_0x5ac8e4(0x505))}),this['_tryReconnect']()):this[_0x5ac8e4(0x3b6)]['show']({'key':_0x5ac8e4(0xc2),'type':ge['MessageType'][_0x5ac8e4(0x44f)],'content':this[_0x5ac8e4(0x46e)]['t'](_0x5ac8e4(0x263))});}[_0x2fc972(0x1dd)](){const _0x9a75a3=_0x2fc972,_0x2b0544=()=>{const _0x2f1dae=_0x10d1;this['_socket']||this[_0x2f1dae(0x1f8)]();},_0x3edd01=()=>{const _0x21ca1e=_0x10d1;this['_socket']||document[_0x21ca1e(0xc3)]===_0x21ca1e(0x379)||this[_0x21ca1e(0x1f8)]();};window['addEventListener']('online',_0x2b0544),document[_0x9a75a3(0x170)](_0x9a75a3(0x47f),_0x3edd01);}[_0x2fc972(0x447)](){const _0x1556e0=_0x2fc972;var _0x1ce326;const _0x566b9b=this[_0x1556e0(0x19a)],_0xbeae56=this[_0x1556e0(0x51e)]['getConfig'](te),_0x390682=_0x566b9b===0x0?0x0:((_0x1ce326=_0xbeae56==null?void 0x0:_0xbeae56['retryConnectingInterval'])!=null?_0x1ce326:Vn)*0x2**_0x566b9b;this[_0x1556e0(0x187)]=window['setTimeout'](()=>{const _0x534bc0=_0x1556e0;clearTimeout(this[_0x534bc0(0x187)]),this[_0x534bc0(0x187)]=null,this[_0x534bc0(0x1a6)]();},_0x390682),this[_0x1556e0(0x19a)]+=0x1;}['_onMessage'](_0x3018b4,_0x11e0ed){const _0x458241=_0x2fc972,{cmd:_0x42ba7d}=_0x11e0ed;_0x42ba7d===G[_0x458241(0x3b8)]&&!this[_0x458241(0x17f)]&&(_0x3018b4[_0x458241(0x51d)]=_0x11e0ed[_0x458241(0x191)][_0x458241(0x51d)],this[_0x458241(0x497)][_0x458241(0x450)](_0x3018b4),this[_0x458241(0x367)][_0x458241(0x450)](se[_0x458241(0x30f)]),this[_0x458241(0x17f)]=!0x0,this[_0x458241(0x1d7)]=null),_0x42ba7d===G['HEARTBEAT']&&this[_0x458241(0x141)](),this[_0x458241(0x3da)]();}[_0x2fc972(0x3da)](){const _0x270fcc=_0x2fc972;var _0x40165a;this[_0x270fcc(0x350)](),this[_0x270fcc(0x527)]=window[_0x270fcc(0xeb)](()=>this['_sendHeartbeat'](),(_0x40165a=this[_0x270fcc(0x51e)]['getConfig'](tn))!=null?_0x40165a:Fn);}[_0x2fc972(0x1d1)](){const _0x427839=_0x2fc972;this['_socket'][_0x427839(0x3b3)]({'cmd':G['HEARTBEAT']}),this[_0x427839(0x31b)]();}[_0x2fc972(0x31b)](){const _0x5bdc1d=_0x2fc972;var _0x13781d;this[_0x5bdc1d(0x2d9)]=window[_0x5bdc1d(0xeb)](()=>this[_0x5bdc1d(0x128)](),(_0x13781d=this[_0x5bdc1d(0x51e)][_0x5bdc1d(0xf1)](Ct))!=null?_0x13781d:nn);}[_0x2fc972(0x350)](){const _0x2d0b29=_0x2fc972;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2d0b29(0x527)]=null);}[_0x2fc972(0x141)](){const _0x28325a=_0x2fc972;this[_0x28325a(0x2d9)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x28325a(0x2d9)]=null);}},exports[_0x2fc972(0x45d)]=_i([Ee(0x0,a[_0x2fc972(0xde)](a['Injector'])),Ee(0x1,a[_0x2fc972(0xde)](a['LocaleService'])),Ee(0x2,ee[_0x2fc972(0x374)]),Ee(0x3,a[_0x2fc972(0x1fc)]),Ee(0x4,a[_0x2fc972(0x33a)]),Ee(0x5,bt)],exports[_0x2fc972(0x45d)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x2fc972(0x540)]((s+0x100)[_0x2fc972(0x443)](0x10)[_0x2fc972(0x2b1)](0x1));function ui(_0x5b877f,_0x5815db=0x0){return(Y[_0x5b877f[_0x5815db+0x0]]+Y[_0x5b877f[_0x5815db+0x1]]+Y[_0x5b877f[_0x5815db+0x2]]+Y[_0x5b877f[_0x5815db+0x3]]+'-'+Y[_0x5b877f[_0x5815db+0x4]]+Y[_0x5b877f[_0x5815db+0x5]]+'-'+Y[_0x5b877f[_0x5815db+0x6]]+Y[_0x5b877f[_0x5815db+0x7]]+'-'+Y[_0x5b877f[_0x5815db+0x8]]+Y[_0x5b877f[_0x5815db+0x9]]+'-'+Y[_0x5b877f[_0x5815db+0xa]]+Y[_0x5b877f[_0x5815db+0xb]]+Y[_0x5b877f[_0x5815db+0xc]]+Y[_0x5b877f[_0x5815db+0xd]]+Y[_0x5b877f[_0x5815db+0xe]]+Y[_0x5b877f[_0x5815db+0xf]])['toLowerCase']();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x30e854=_0x2fc972;if(!Je){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto[_0x30e854(0xb1)][_0x30e854(0x29a)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x2fc972(0x3b7)]&&crypto[_0x2fc972(0x3b7)][_0x2fc972(0x29a)](crypto),Mt={'randomUUID':vi};function mi(_0x386168,_0x10ea70,_0x18be34){const _0x9ac546=_0x2fc972;if(Mt['randomUUID']&&!_0x10ea70&&!_0x386168)return Mt[_0x9ac546(0x3b7)]();_0x386168=_0x386168||{};const _0x2d031a=_0x386168[_0x9ac546(0x151)]||(_0x386168[_0x9ac546(0x2e5)]||fi)();return _0x2d031a[0x6]=_0x2d031a[0x6]&0xf|0x40,_0x2d031a[0x8]=_0x2d031a[0x8]&0x3f|0x80,ui(_0x2d031a);}var Si=Object[_0x2fc972(0x356)],pi=Object[_0x2fc972(0x423)],gi=(_0x3b87be,_0x42884f,_0x3fd343,_0x1d8841)=>{const _0x37d07a=_0x2fc972;for(var _0x484904=_0x1d8841>0x1?void 0x0:_0x1d8841?pi(_0x42884f,_0x3fd343):_0x42884f,_0x132459=_0x3b87be[_0x37d07a(0x14d)]-0x1,_0x36c948;_0x132459>=0x0;_0x132459--)(_0x36c948=_0x3b87be[_0x132459])&&(_0x484904=(_0x1d8841?_0x36c948(_0x42884f,_0x3fd343,_0x484904):_0x36c948(_0x484904))||_0x484904);return _0x1d8841&&_0x484904&&Si(_0x42884f,_0x3fd343,_0x484904),_0x484904;},Ze=(_0x14fd13,_0x207d0c)=>(_0x505e20,_0x196a2e)=>_0x207d0c(_0x505e20,_0x196a2e,_0x14fd13);let Be=class{constructor(_0x55af2b,_0x40379e,_0x440670){const _0x161aee=_0x2fc972;this['_injector']=_0x55af2b,this[_0x161aee(0x116)]=_0x40379e,this[_0x161aee(0x184)]=_0x440670;}[_0x2fc972(0x512)](_0xb85a61){const _0x4b28e1=_0x2fc972;this[_0x4b28e1(0x3a1)](_0xb85a61),this[_0x4b28e1(0x28f)](_0xb85a61);}[_0x2fc972(0x2fa)](_0x259e6e){const _0x1e3e4f=_0x2fc972,{unitID:_0x57fe44}=_0x259e6e,_0xb68cbb=this[_0x1e3e4f(0x184)]['getRenderById'](_0x57fe44)[_0x1e3e4f(0x4e2)](J[_0x1e3e4f(0x15f)]),{redoCache:_0x3f7589}=_0xb68cbb['getUndoRedoMutationParamsCache']();if(_0x3f7589[_0x1e3e4f(0x14d)]===0x0)return _0x259e6e;let _0x10a2d7=a[_0x1e3e4f(0x3bd)][_0x1e3e4f(0x109)](_0x259e6e[_0x1e3e4f(0x492)][0x0]);for(let _0xdca217=0x0;_0xdca217<_0x3f7589[_0x1e3e4f(0x14d)];_0xdca217++){const _0x20a794={'id':_0x1e3e4f(0x30d),'params':{..._0x3f7589[_0xdca217]}},_0xa7f27e=this['_transformService'][_0x1e3e4f(0x2c5)](_0x10a2d7,_0x20a794,!0x1);if(S[_0x1e3e4f(0x107)](_0xa7f27e))throw _0xa7f27e[_0x1e3e4f(0x2be)];_0x10a2d7=_0xa7f27e[_0x1e3e4f(0x40c)];}return{...a[_0x1e3e4f(0x3bd)][_0x1e3e4f(0x109)](_0x259e6e),'mutations':[_0x10a2d7]};}[_0x2fc972(0x3a1)](_0x32e022){const _0x257683=_0x2fc972,{unitID:_0x2aab7f}=_0x32e022,_0x14b031=this['_renderManagerService'][_0x257683(0x1b0)](_0x2aab7f)['with'](J[_0x257683(0x15f)]),{undoCache:_0x57440d,redoCache:_0x5942b6}=_0x14b031[_0x257683(0x53d)]();if(_0x57440d[_0x257683(0x14d)]===0x0||_0x5942b6['length']===0x0)return;const _0x525dbb=[],_0x4d0c32=[];let _0xdf298b=a[_0x257683(0x3bd)][_0x257683(0x109)](_0x32e022['mutations'][0x0]),_0x4327b3=a[_0x257683(0x3bd)]['deepClone'](_0x32e022[_0x257683(0x492)][0x0]);for(let _0x37225b=_0x57440d[_0x257683(0x14d)]-0x1;_0x37225b>=0x0;_0x37225b--){const _0x2643d6={'id':_0x257683(0x30d),'params':{..._0x57440d[_0x37225b]}},_0x38fdae={'id':'doc.mutation.rich-text-editing','params':{..._0x5942b6[_0x37225b]}},_0x320a51=this[_0x257683(0x116)][_0x257683(0x2c5)](_0xdf298b,_0x2643d6,!0x1),_0x108f76=this[_0x257683(0x116)][_0x257683(0x2c5)](_0x4327b3,_0x38fdae,!0x1);if(S[_0x257683(0x107)](_0x320a51))throw _0x320a51[_0x257683(0x2be)];if(S[_0x257683(0x107)](_0x108f76))throw _0x108f76['error'];_0x525dbb[_0x257683(0x2b0)](_0x320a51[_0x257683(0x1e2)][_0x257683(0x2ad)]),_0x4d0c32[_0x257683(0x2b0)](_0x108f76[_0x257683(0x1e2)]['params']),_0xdf298b=_0x320a51['m1Prime'],_0x4327b3=_0x108f76[_0x257683(0x40c)];}_0x14b031[_0x257683(0x33f)]({'undoCache':_0x525dbb,'redoCache':_0x4d0c32});}[_0x2fc972(0x28f)](_0x4a5a57){const _0x33c0e5=_0x2fc972,{unitID:_0x4d6c82}=_0x4a5a57,_0x2a049b=this[_0x33c0e5(0x184)]['getRenderById'](_0x4d6c82)[_0x33c0e5(0x4e2)](J[_0x33c0e5(0x15f)]),_0x5d58de=_0x2a049b['getActiveRange']();if(_0x5d58de==null)return;const _0x195ded=[{'id':_0x33c0e5(0x30d),'params':{'unitId':_0x4a5a57['unitID'],'actions':null,'textRanges':[_0x5d58de]}}],_0x36ff95=this[_0x33c0e5(0x116)][_0x33c0e5(0x4ee)](_0x4a5a57,_0x195ded);if(!S['isTransformMutationsWithChangesetSuccess'](_0x36ff95))throw _0x36ff95[_0x33c0e5(0x2be)];const _0x2ee347=_0x36ff95['m2Prime'][0x0][_0x33c0e5(0x2ad)][_0x33c0e5(0x466)];Array[_0x33c0e5(0x249)](_0x2ee347)&&_0x2ee347['length']&&_0x2a049b['setActiveRange'](_0x2ee347[0x0]);}};Be=gi([Ze(0x0,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),Ze(0x1,S['ITransformService']),Ze(0x2,K[_0x2fc972(0x2c1)])],Be);var Ii=Object[_0x2fc972(0x356)],Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x5138c4,_0x49a740,_0x35bc20,_0x354f3b)=>{const _0x2f06a1=_0x2fc972;for(var _0x35afd0=_0x354f3b>0x1?void 0x0:_0x354f3b?Ci(_0x49a740,_0x35bc20):_0x49a740,_0x14b093=_0x5138c4[_0x2f06a1(0x14d)]-0x1,_0xa6c039;_0x14b093>=0x0;_0x14b093--)(_0xa6c039=_0x5138c4[_0x14b093])&&(_0x35afd0=(_0x354f3b?_0xa6c039(_0x49a740,_0x35bc20,_0x35afd0):_0xa6c039(_0x35afd0))||_0x35afd0);return _0x354f3b&&_0x35afd0&&Ii(_0x49a740,_0x35bc20,_0x35afd0),_0x35afd0;},Pe=(_0x3da7cf,_0x1d60cb)=>(_0x22e21f,_0x2b3e49)=>_0x1d60cb(_0x22e21f,_0x2b3e49,_0x3da7cf);exports['LocalCacheService']=class extends a[_0x2fc972(0x37c)]{constructor(_0x18e844,_0x581475,_0x4752df,_0x556436,_0x2dc817){const _0xb8fad1=_0x2fc972;super(),I(this,_0xb8fad1(0x264),new Map()),I(this,_0xb8fad1(0x13e),new Map()),I(this,_0xb8fad1(0x1b9),!0x1),(this[_0xb8fad1(0x51e)]=_0x18e844,this['_localStorageService']=_0x581475,this['_beforeCloseService']=_0x4752df,this[_0xb8fad1(0x46e)]=_0x556436,this[_0xb8fad1(0x11e)]=_0x2dc817,this[_0xb8fad1(0x193)]());}[_0x2fc972(0x295)](){const _0x8b70b7=_0x2fc972;this[_0x8b70b7(0x1b9)]=!0x0;}['enableLocalCache'](){const _0x2ca2c2=_0x2fc972;this[_0x2ca2c2(0x1b9)]=!0x1;}[_0x2fc972(0x324)](){const _0x20699b=_0x2fc972;this[_0x20699b(0x4bf)]()[_0x20699b(0x104)](()=>super[_0x20699b(0x324)]());}async[_0x2fc972(0x47c)](_0x347c23){const _0x5e7604=_0x2fc972;return this['_disabled']?null:this[_0x5e7604(0x29d)][_0x5e7604(0x171)](At(_0x347c23));}async[_0x2fc972(0x4d5)](_0x1affd9,_0x4f9d08){const _0x45deab=_0x2fc972;return!!this[_0x45deab(0x29d)][_0x45deab(0x418)](_0x1affd9,_0x4f9d08);}[_0x2fc972(0xb8)](_0x244029,_0x1da68,_0x322125,_0x4cb247){const _0x18d187=_0x2fc972,_0x3b462d=this[_0x18d187(0x11e)][_0x18d187(0xc9)](_0x244029);this['_cachedData'][_0x18d187(0x3ef)](_0x244029,{'unitID':_0x244029,'type':_0x1da68,'awaitingChangeset':_0x322125,'mutations':_0x4cb247,'rev':_0x3b462d}),this['_saveTaskMap'][_0x18d187(0x33e)](_0x244029)||this['_scheduleSaving'](_0x244029);}[_0x2fc972(0x2db)](_0x51dfe4){const _0xffd53e=_0x2fc972,_0x3d7507=this[_0xffd53e(0x437)]();_0x3d7507===0x0?this[_0xffd53e(0x2a9)](_0x51dfe4):this[_0xffd53e(0x13e)]['set'](_0x51dfe4,setTimeout(()=>this[_0xffd53e(0x2a9)](_0x51dfe4),_0x3d7507));}[_0x2fc972(0x437)](){const _0x5b48af=_0x2fc972;var _0x514b9e;return(_0x514b9e=this[_0x5b48af(0x51e)]['getConfig'](rn))!=null?_0x514b9e:Yn;}[_0x2fc972(0x2a9)](_0x3c8ed2){const _0x5a492e=_0x2fc972,_0x36dd81=this[_0x5a492e(0x13e)][_0x5a492e(0x3cf)](_0x3c8ed2);return _0x36dd81!==void 0x0&&window[_0x5a492e(0x530)](_0x36dd81),this['_localStorageService'][_0x5a492e(0x418)](At(_0x3c8ed2),this[_0x5a492e(0x264)]['get'](_0x3c8ed2))['then'](()=>this[_0x5a492e(0x13e)][_0x5a492e(0x332)](_0x3c8ed2));}async[_0x2fc972(0x4bf)](){const _0x39d600=[];this['_saveTaskMap']['forEach']((_0x5c6f64,_0x50aa95)=>{const _0x360760=_0x10d1;window[_0x360760(0x530)](_0x5c6f64),_0x39d600[_0x360760(0x540)](this['_saveCache'](_0x50aa95)[_0x360760(0x104)](()=>{const _0x851cc5=_0x360760;this['_saveTaskMap'][_0x851cc5(0x332)](_0x50aa95);}));}),await Promise['all'](_0x39d600);}[_0x2fc972(0x193)](){const _0x50c414=_0x2fc972;this['disposeWithMe'](this[_0x50c414(0x197)][_0x50c414(0x25e)](()=>{const _0x47697e=_0x50c414;if(this[_0x47697e(0x13e)][_0x47697e(0x1ca)])return this['_localeService']['t'](_0x47697e(0x473));}));}},exports[_0x2fc972(0x464)]=Ei([Pe(0x0,a['IConfigService']),Pe(0x1,a[_0x2fc972(0x2d4)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)])),Pe(0x4,a[_0x2fc972(0xde)](S[_0x2fc972(0x347)]))],exports['LocalCacheService']);function At(_0x2201f5){return'unit-cache-'+_0x2201f5;}var bi=Object[_0x2fc972(0x356)],Ti=Object[_0x2fc972(0x423)],Ri=(_0x8e65aa,_0x42f0c4,_0x328b26,_0x33afec)=>{const _0x514057=_0x2fc972;for(var _0x39ff76=_0x33afec>0x1?void 0x0:_0x33afec?Ti(_0x42f0c4,_0x328b26):_0x42f0c4,_0x2b39f8=_0x8e65aa[_0x514057(0x14d)]-0x1,_0x1d6dfd;_0x2b39f8>=0x0;_0x2b39f8--)(_0x1d6dfd=_0x8e65aa[_0x2b39f8])&&(_0x39ff76=(_0x33afec?_0x1d6dfd(_0x42f0c4,_0x328b26,_0x39ff76):_0x1d6dfd(_0x39ff76))||_0x39ff76);return _0x33afec&&_0x39ff76&&bi(_0x42f0c4,_0x328b26,_0x39ff76),_0x39ff76;},Qe=(_0x4a8766,_0x89792a)=>(_0x48a83e,_0x2c05b6)=>_0x89792a(_0x48a83e,_0x2c05b6,_0x4a8766);function yi(_0x382c03){const _0x4ec1da=_0x2fc972,{unitID:_0x1e808f,mutations:_0x6f0a10}=_0x382c03;return{'unitId':_0x1e808f,'subUnitId':_0x6f0a10[0x0]['params'][_0x4ec1da(0x469)]};}let ke=class{constructor(_0x3da659,_0x5c3a1f,_0xa027fd){const _0x41f71d=_0x2fc972;this[_0x41f71d(0x2bd)]=_0x3da659,this[_0x41f71d(0x116)]=_0x5c3a1f,this['_instanceService']=_0xa027fd;}[_0x2fc972(0x1b5)](_0x571e62){const _0x629001=_0x2fc972;var _0x52e9ac,_0xf6b389,_0x73b011,_0x512f9d;const _0x47a3e7=this[_0x629001(0x2bd)][_0x629001(0x3cf)](k['SheetsSelectionsService']),{unitId:_0x5d07ba,subUnitId:_0x4892f5}=yi(_0x571e62),_0x3c7832=_0x47a3e7[_0x629001(0x3e4)](_0x5d07ba)['getCurrentSelections'](),_0x58fa25=(_0xf6b389=(_0x52e9ac=this[_0x629001(0xd0)][_0x629001(0xd9)](_0x5d07ba))==null?void 0x0:_0x52e9ac[_0x629001(0x397)]())==null?void 0x0:_0xf6b389['getSheetId']();if(_0x3c7832[_0x629001(0x14d)]===0x0||!_0x5d07ba||!_0x4892f5)return;const _0x54a724=[{'id':k['SetSelectionsOperation']['id'],'params':{'unitId':_0x5d07ba,'subUnitId':_0x58fa25,'selections':a[_0x629001(0x3bd)][_0x629001(0x109)](_0x3c7832)}}],_0x45f74e=this[_0x629001(0x116)][_0x629001(0x4ee)](_0x571e62,_0x54a724);if(!S[_0x629001(0x3cb)](_0x45f74e))throw _0x45f74e[_0x629001(0x2be)];const _0x14591b=(_0x512f9d=(_0x73b011=_0x45f74e['m2Prime'][0x0])==null?void 0x0:_0x73b011['params'])==null?void 0x0:_0x512f9d[_0x629001(0x29b)];if(Array[_0x629001(0x249)](_0x14591b)&&_0x14591b[_0x629001(0x14d)]){if(_0x14591b[_0x629001(0x14d)]===_0x54a724[0x0][_0x629001(0x2ad)]['selections'][_0x629001(0x14d)]&&_0x14591b['every']((_0x10ad50,_0x3d68c0)=>a[_0x629001(0x1eb)][_0x629001(0x38e)](_0x10ad50[_0x629001(0xbd)],_0x54a724[0x0][_0x629001(0x2ad)][_0x629001(0x29b)][_0x3d68c0][_0x629001(0xbd)])))return;this['_injector'][_0x629001(0x3cf)](a[_0x629001(0x451)])[_0x629001(0xc0)](k[_0x629001(0x2c0)]['id'],{'unitId':_0x5d07ba,'subUnitId':_0x58fa25,'selections':_0x14591b});}}};ke=Ri([Qe(0x0,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),Qe(0x1,S[_0x2fc972(0x4a4)]),Qe(0x2,a[_0x2fc972(0x3b9)])],ke);const qe=a[_0x2fc972(0x183)](_0x2fc972(0x1e9));var un=(_0x53560c=>(_0x53560c[_0x53560c[_0x2fc972(0x256)]=0x0]=_0x2fc972(0x256),_0x53560c[_0x53560c[_0x2fc972(0x1a5)]=0x1]=_0x2fc972(0x1a5),_0x53560c))(un||{});const Nt=0x7530,Lt=_0x2fc972(0x203);class Oi extends a[_0x2fc972(0x37c)]{constructor(){const _0x7c8a0a=_0x2fc972;super(),I(this,'_id',a[_0x7c8a0a(0x3bd)][_0x7c8a0a(0xf2)]()),I(this,_0x7c8a0a(0x34c),new Set()),I(this,'_unitOnClients',new Map()),I(this,'_heartbeatTimer',null),I(this,'_clearOtherTimers',new Map()),I(this,_0x7c8a0a(0x3c7),new Map()),this[_0x7c8a0a(0x192)]();}[_0x2fc972(0x324)](){const _0x437af0=_0x2fc972;super['dispose'](),this['_clearOtherTimers'][_0x437af0(0x422)]((_0x45d614,_0x2b9020)=>this[_0x437af0(0x385)](_0x2b9020)),this['_heartbeatTimer']&&window[_0x437af0(0x421)](this['_heartbeatTimer']);}[_0x2fc972(0x433)](_0x47a303){const _0x1194b7=_0x2fc972;return this[_0x1194b7(0x260)](_0x47a303)['pipe'](A[_0x1194b7(0x51a)]());}[_0x2fc972(0x27c)](_0xc9de10){const _0x2a9390=_0x2fc972;this[_0x2a9390(0x34c)][_0x2a9390(0x1ca)]===0x0&&this[_0x2a9390(0x31f)](),this['_selfUnitIDs'][_0x2a9390(0x34a)](_0xc9de10),this[_0x2a9390(0x132)]({'type':0x0,'memberID':this[_0x2a9390(0x1cd)],'unitIDs':[_0xc9de10],'isForwarded':!0x1});}[_0x2fc972(0x503)](_0x49deec){const _0xa32f34=_0x2fc972;this['_selfUnitIDs'][_0xa32f34(0x332)](_0x49deec),this[_0xa32f34(0x34c)][_0xa32f34(0x1ca)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0xa32f34(0x2f3)]);}['_init'](){const _0x16c46f=_0x2fc972;this[_0x16c46f(0x1a7)](a[_0x16c46f(0x146)](A[_0x16c46f(0x409)](window,'storage')[_0x16c46f(0x243)](_0x908339=>{const _0xb43e82=_0x16c46f;if(_0x908339[_0xb43e82(0x4d0)]!==Lt||!_0x908339[_0xb43e82(0x13f)])return;const _0x325680=JSON[_0xb43e82(0x17d)](_0x908339[_0xb43e82(0x13f)]);this[_0xb43e82(0x341)](_0x325680);}))),window[_0x16c46f(0x170)](_0x16c46f(0x164),()=>this[_0x16c46f(0x132)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x16c46f(0x4fe)](this['_selfUnitIDs'])}));}[_0x2fc972(0x341)](_0x24ff1b){const _0x2aaa12=_0x2fc972;switch(_0x24ff1b[_0x2aaa12(0xc1)]){case 0x0:this[_0x2aaa12(0x27f)](_0x24ff1b);break;case 0x1:this[_0x2aaa12(0x3e3)](_0x24ff1b);break;case 0x2:this[_0x2aaa12(0x3b0)](_0x24ff1b);break;}}['_handleJoinEvent'](_0x1eca7b){const _0x519f14=_0x2fc972,{unitIDs:_0x1464b3,memberID:_0x4e2d38,isForwarded:_0x394817}=_0x1eca7b;_0x1464b3[_0x519f14(0x422)](_0x2c232b=>{const _0x4ca975=_0x519f14;if(!_0x394817&&this[_0x4ca975(0x4c9)][_0x4ca975(0x33e)](_0x2c232b)&&this['_ensureSubject'](_0x2c232b)[_0x4ca975(0x450)](0x1),!this['_unitOnClients'][_0x4ca975(0x33e)](_0x2c232b)||!this[_0x4ca975(0x4c9)][_0x4ca975(0x3cf)](_0x2c232b)[_0x4ca975(0x33e)](_0x4e2d38)){const _0x230d97=this[_0x4ca975(0x4c9)][_0x4ca975(0x3cf)](_0x2c232b)||new Set();_0x230d97[_0x4ca975(0x34a)](_0x4e2d38),this['_unitOnClients']['set'](_0x2c232b,_0x230d97),this[_0x4ca975(0x41d)](_0x4e2d38);}}),_0x394817||this[_0x519f14(0x132)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x519f14(0x34c)]],'isForwarded':!0x0});}[_0x2fc972(0x41d)](_0x35c49f){const _0x57c53b=_0x2fc972;this[_0x57c53b(0x385)](_0x35c49f);const _0x33f1d4=window[_0x57c53b(0xeb)](()=>{const _0x57a24e=_0x57c53b;this['_unitOnClients'][_0x57a24e(0x422)](_0x2bb43b=>{const _0x1022ad=_0x57a24e;_0x2bb43b[_0x1022ad(0x332)](_0x35c49f);});},Nt*0x2);this[_0x57c53b(0x435)][_0x57c53b(0x3ef)](_0x35c49f,_0x33f1d4);}[_0x2fc972(0x385)](_0x558136){const _0x7300e9=_0x2fc972;if(this[_0x7300e9(0x435)][_0x7300e9(0x33e)](_0x558136)){const _0x3e6da0=this['_clearOtherTimers'][_0x7300e9(0x3cf)](_0x558136);_0x3e6da0&&window[_0x7300e9(0x530)](_0x3e6da0),this[_0x7300e9(0x435)][_0x7300e9(0x3ef)](_0x558136,null);}}[_0x2fc972(0x3e3)](_0x567583){const _0x26a18f=_0x2fc972,{memberID:_0xd498bd,unitIDs:_0x39fab2}=_0x567583;_0x39fab2[_0x26a18f(0x422)](_0x122f1c=>{const _0x57ea24=_0x26a18f;var _0x1187e8;const _0x2a2420=this[_0x57ea24(0x4c9)][_0x57ea24(0x3cf)](_0x122f1c);_0x2a2420&&(_0x2a2420[_0x57ea24(0x332)](_0xd498bd),(_0x1187e8=this[_0x57ea24(0x260)](_0x122f1c))==null||_0x1187e8[_0x57ea24(0x450)](_0x2a2420[_0x57ea24(0x1ca)]===0x0?0x0:0x1));}),this[_0x26a18f(0x385)](_0xd498bd);}['_handleHeartbeatEvent'](_0x34d43c){const _0x946cb2=_0x2fc972;this[_0x946cb2(0x41d)](_0x34d43c[_0x946cb2(0x51d)]);}[_0x2fc972(0x132)](_0x3773f4){const _0x4a3186=_0x2fc972;localStorage[_0x4a3186(0x418)](Lt,JSON[_0x4a3186(0x3cd)](_0x3773f4));}[_0x2fc972(0x31f)](){const _0x3de05e=_0x2fc972;this['_heartbeatTimer']=window[_0x3de05e(0x39d)](()=>{const _0x59e7f6=_0x3de05e;this[_0x59e7f6(0x132)]({'type':0x2,'memberID':this[_0x59e7f6(0x1cd)]});},Nt);}[_0x2fc972(0x260)](_0x4b9d4e){const _0x366481=_0x2fc972;return this[_0x366481(0x3c7)][_0x366481(0x33e)](_0x4b9d4e)||this[_0x366481(0x3c7)]['set'](_0x4b9d4e,new A['BehaviorSubject'](0x0)),this[_0x366481(0x3c7)][_0x366481(0x3cf)](_0x4b9d4e);}}var Di=Object[_0x2fc972(0x356)],wi=Object['getOwnPropertyDescriptor'],Pi=(_0x4c293a,_0x3d46ff,_0x9a9c30,_0x84b2a3)=>{const _0x5dc07e=_0x2fc972;for(var _0xeae9ad=_0x84b2a3>0x1?void 0x0:_0x84b2a3?wi(_0x3d46ff,_0x9a9c30):_0x3d46ff,_0x3c0d1f=_0x4c293a[_0x5dc07e(0x14d)]-0x1,_0x3493ca;_0x3c0d1f>=0x0;_0x3c0d1f--)(_0x3493ca=_0x4c293a[_0x3c0d1f])&&(_0xeae9ad=(_0x84b2a3?_0x3493ca(_0x3d46ff,_0x9a9c30,_0xeae9ad):_0x3493ca(_0xeae9ad))||_0xeae9ad);return _0x84b2a3&&_0xeae9ad&&Di(_0x3d46ff,_0x9a9c30,_0xeae9ad),_0xeae9ad;},et=(_0x1b4d69,_0x229a6a)=>(_0x2a0a78,_0x2e2d4e)=>_0x229a6a(_0x2a0a78,_0x2e2d4e,_0x1b4d69);let We=class{constructor(_0x322487,_0x32c8d7,_0x5739b8){const _0xed0330=_0x2fc972;this[_0xed0330(0x2bd)]=_0x322487,this['_transformService']=_0x32c8d7,this[_0xed0330(0x35f)]=_0x5739b8;}['transformStateCache'](_0x402a3e){const _0x15f6ed=_0x2fc972;this[_0x15f6ed(0x516)](_0x402a3e);}[_0x2fc972(0x2fa)](_0x4bbb84){const _0x9413a6=_0x2fc972,{unitID:_0x1cd370}=_0x4bbb84,{collaboration:_0xbb5174}=this[_0x9413a6(0x35f)][_0x9413a6(0x548)](_0x1cd370);if(_0xbb5174[_0x9413a6(0x14d)]===0x0)return _0x4bbb84;let _0x24b5cd=a[_0x9413a6(0x3bd)]['deepClone'](_0x4bbb84[_0x9413a6(0x492)][0x0]);for(let _0x524011=0x0;_0x524011<_0xbb5174['length'];_0x524011++){const _0x1563ca={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbb5174[_0x524011][_0x9413a6(0xb5)],..._0xbb5174[_0x524011]['redoState']}},_0x116c64=this[_0x9413a6(0x116)]['transformMutation'](_0x24b5cd,_0x1563ca,!0x1);if(S['isTransformMutationFailure'](_0x116c64))throw _0x116c64[_0x9413a6(0x2be)];_0x24b5cd=_0x116c64[_0x9413a6(0x40c)];}return{...a[_0x9413a6(0x3bd)][_0x9413a6(0x109)](_0x4bbb84),'mutations':[_0x24b5cd]};}[_0x2fc972(0x516)](_0x221e94){const _0x16d837=_0x2fc972,{unitID:_0x185ea2}=_0x221e94,{history:_0x389046,collaboration:_0x1a5949}=this['_docStateChangeManagerService'][_0x16d837(0x548)](_0x185ea2);if(_0x389046[_0x16d837(0x14d)]===0x0&&_0x1a5949['length']===0x0)return;const _0x5727f6=[],_0x10e52d=[];let _0x33f170=a[_0x16d837(0x3bd)][_0x16d837(0x109)](_0x221e94['mutations'][0x0]),_0x3fefc1=a[_0x16d837(0x3bd)][_0x16d837(0x109)](_0x221e94[_0x16d837(0x492)][0x0]);for(let _0x4bea9f=_0x389046[_0x16d837(0x14d)]-0x1;_0x4bea9f>=0x0;_0x4bea9f--){const _0x21fdf9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x389046[_0x4bea9f][_0x16d837(0xb5)],..._0x389046[_0x4bea9f]['undoState']}},_0x3e0236={'id':_0x16d837(0x30d),'params':{'unitId':_0x389046[_0x4bea9f][_0x16d837(0xb5)],..._0x389046[_0x4bea9f][_0x16d837(0x285)]}},_0x179d37=this[_0x16d837(0x116)][_0x16d837(0x2c5)](_0x33f170,_0x21fdf9,!0x1),_0x57e548=this[_0x16d837(0x116)][_0x16d837(0x2c5)](_0x3fefc1,_0x3e0236,!0x1);if(S[_0x16d837(0x107)](_0x179d37))throw _0x179d37[_0x16d837(0x2be)];if(S[_0x16d837(0x107)](_0x57e548))throw _0x57e548[_0x16d837(0x2be)];_0x5727f6['unshift']({..._0x389046[_0x4bea9f],'undoState':_0x179d37[_0x16d837(0x1e2)][_0x16d837(0x2ad)],'redoState':_0x57e548[_0x16d837(0x1e2)][_0x16d837(0x2ad)]}),_0x33f170=_0x179d37[_0x16d837(0x40c)],_0x3fefc1=_0x57e548[_0x16d837(0x40c)];}_0x33f170=a[_0x16d837(0x3bd)]['deepClone'](_0x221e94['mutations'][0x0]),_0x3fefc1=a['Tools']['deepClone'](_0x221e94[_0x16d837(0x492)][0x0]);for(let _0x2c4f26=_0x1a5949[_0x16d837(0x14d)]-0x1;_0x2c4f26>=0x0;_0x2c4f26--){const _0x305f20={'id':_0x16d837(0x30d),'params':{'unitId':_0x1a5949[_0x2c4f26]['unitId'],..._0x1a5949[_0x2c4f26][_0x16d837(0x465)]}},_0x4d36b8={'id':_0x16d837(0x30d),'params':{'unitId':_0x1a5949[_0x2c4f26]['unitId'],..._0x1a5949[_0x2c4f26]['redoState']}},_0x31d3e4=this[_0x16d837(0x116)]['transformMutation'](_0x33f170,_0x305f20,!0x1),_0x594f92=this['_transformService'][_0x16d837(0x2c5)](_0x3fefc1,_0x4d36b8,!0x1);if(S[_0x16d837(0x107)](_0x31d3e4))throw _0x31d3e4['error'];if(S[_0x16d837(0x107)](_0x594f92))throw _0x594f92[_0x16d837(0x2be)];_0x10e52d[_0x16d837(0x2b0)]({..._0x1a5949[_0x2c4f26],'undoState':_0x31d3e4[_0x16d837(0x1e2)][_0x16d837(0x2ad)],'redoState':_0x594f92['m2Prime'][_0x16d837(0x2ad)]}),_0x33f170=_0x31d3e4[_0x16d837(0x40c)],_0x3fefc1=_0x594f92[_0x16d837(0x40c)];}this[_0x16d837(0x35f)][_0x16d837(0x2bb)](_0x185ea2,{'history':_0x5727f6,'collaboration':_0x10e52d});}};We=Pi([et(0x0,a[_0x2fc972(0xde)](a['Injector'])),et(0x1,S[_0x2fc972(0x4a4)]),et(0x2,a[_0x2fc972(0xde)](J['DocStateChangeManagerService']))],We);function dn(_0x5be2ec){const _0x1f9985=_0x2fc972;let _0x2d9a2c='';for(const _0x2299df of _0x5be2ec){const {startOffset:_0x5757cb,endOffset:_0x159b9b,isActive:_0x347661,rangeType:_0x18ad14,segmentId:_0x9abe46,segmentPage:_0x46998d}=_0x2299df;_0x2d9a2c[_0x1f9985(0x14d)]&&(_0x2d9a2c+=','),_0x2d9a2c+=_0x5757cb+':'+_0x159b9b+':'+(_0x347661?'1':'0')+':'+_0x18ad14+':'+_0x9abe46+':'+_0x46998d;}return _0x2d9a2c;}function Ui(_0x41f54d){const _0x48f027=_0x2fc972,_0x443b9b=_0x41f54d[_0x48f027(0x436)](','),_0x3716a0=[];for(const _0x25bd49 of _0x443b9b){const [_0x4022c1,_0x4d93b7,_0x5826d1,_0x3574d5,_0x74e692,_0x246430]=_0x25bd49[_0x48f027(0x436)](':');_0x3716a0['push']({'startOffset':Number(_0x4022c1),'endOffset':Number(_0x4d93b7),'collapsed':_0x4022c1===_0x4d93b7,'isActive':_0x5826d1==='1','rangeType':_0x3574d5===a[_0x48f027(0x35b)][_0x48f027(0x545)]?a['DOC_RANGE_TYPE'][_0x48f027(0x545)]:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x74e692=='string'?String(_0x74e692):'','segmentPage':Number(_0x246430!=null?_0x246430:-0x1)});}return _0x3716a0[_0x48f027(0x281)](_0x31da4a=>_0x31da4a[_0x48f027(0x3cc)])||(_0x3716a0[0x0]['isActive']=!0x0),_0x3716a0;}class Rt extends a[_0x2fc972(0x222)]{constructor(){const _0x3c483=_0x2fc972;super(...arguments),I(this,'_collabCursorState$',new A[(_0x3c483(0x130))](null)),I(this,_0x3c483(0x383),this[_0x3c483(0x3aa)][_0x3c483(0x1f3)]());}['syncEditingCollabCursor'](_0x8c21fd){const _0x394aed=_0x2fc972,{unitID:_0x977e06,memberID:_0x3fe0c0,textRanges:_0x549350}=_0x8c21fd,_0x21951b=dn(_0x549350);if(_0x21951b==='')return;const _0x1af237={'unitID':_0x977e06,'memberID':_0x3fe0c0,'selection':_0x21951b};this['_collabCursorState$'][_0x394aed(0x450)](_0x1af237);}}var Mi=Object[_0x2fc972(0x356)],Ai=Object[_0x2fc972(0x423)],Ni=(_0x15408b,_0x197307,_0x198045,_0x45bfb0)=>{const _0x1427c7=_0x2fc972;for(var _0x1383ee=_0x45bfb0>0x1?void 0x0:_0x45bfb0?Ai(_0x197307,_0x198045):_0x197307,_0x2e32fd=_0x15408b[_0x1427c7(0x14d)]-0x1,_0x29a8e4;_0x2e32fd>=0x0;_0x2e32fd--)(_0x29a8e4=_0x15408b[_0x2e32fd])&&(_0x1383ee=(_0x45bfb0?_0x29a8e4(_0x197307,_0x198045,_0x1383ee):_0x29a8e4(_0x1383ee))||_0x1383ee);return _0x45bfb0&&_0x1383ee&&Mi(_0x197307,_0x198045,_0x1383ee),_0x1383ee;},xt=(_0x44ccae,_0x178914)=>(_0x5a7339,_0x5a7e01)=>_0x178914(_0x5a7339,_0x5a7e01,_0x44ccae);let Fe=class{constructor(_0x41f276,_0x5c74d3){const _0x5ab65e=_0x2fc972;this[_0x5ab65e(0x2bd)]=_0x41f276,this[_0x5ab65e(0x116)]=_0x5c74d3;}['transformSelections'](_0x5bd526){const _0x38f61a=_0x2fc972;var _0x237142;const _0x140c16=this[_0x38f61a(0x2bd)][_0x38f61a(0x3cf)](ye[_0x38f61a(0x30c)]),_0x2571c1=(_0x237142=_0x140c16['getDocRanges']())!=null?_0x237142:[];if(_0x2571c1[_0x38f61a(0x14d)]===0x0)return;const _0x33e4f5=_0x5bd526['unitID'],_0xde3b78=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x33e4f5,'actions':null,'textRanges':_0x2571c1}}],_0x47b33d=this[_0x38f61a(0x116)][_0x38f61a(0x4ee)](_0x5bd526,_0xde3b78);if(!S[_0x38f61a(0x3cb)](_0x47b33d))throw _0x47b33d[_0x38f61a(0x2be)];const _0x4d5630=_0x47b33d['m2Prime'][0x0]['params'][_0x38f61a(0x466)];Array[_0x38f61a(0x249)](_0x4d5630)&&_0x4d5630[_0x38f61a(0x14d)]&&_0x140c16[_0x38f61a(0x112)](_0x4d5630,{'unitId':_0x33e4f5,'subUnitId':_0x33e4f5},!0x1);}};Fe=Ni([xt(0x0,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),xt(0x1,S[_0x2fc972(0x4a4)])],Fe);const Li=new Set([k[_0x2fc972(0x471)]['id']]);function jt(_0x30cdc0,_0xf1882,_0x5f5545,_0x57c599,_0xc4c308){const _0x16f39a=_0x2fc972;var _0x27cf20,_0x3be352,_0xb7d922,_0x21f39a;const _0x4b5864=[];for(const _0x1ca057 of _0x30cdc0)if(Li[_0x16f39a(0x33e)](_0x1ca057['id'])){if(_0x4b5864['length']>0x0)break;_0x4b5864['push'](_0x1ca057);break;}else _0x4b5864[_0x16f39a(0x540)](_0x1ca057);const _0x31f526=(_0x3be352=(_0x27cf20=_0xc4c308['getCurrentUser']())==null?void 0x0:_0x27cf20['userID'])!=null?_0x3be352:'unknown',_0x593755=(_0x21f39a=(_0xb7d922=_0xc4c308[_0x16f39a(0x4a9)]())==null?void 0x0:_0xb7d922['memberID'])!=null?_0x21f39a:_0x16f39a(0x265);return{'changeset':{'unitID':_0xf1882,'type':S[_0x16f39a(0x514)](_0x5f5545['getUnitType'](_0xf1882)),'baseRev':_0x57c599[_0x16f39a(0xc9)](_0xf1882),'revision':0x0,'userID':_0x31f526,'memberID':_0x593755,'mutations':_0x4b5864},'pendingMutations':_0x30cdc0[_0x16f39a(0x2b1)](_0x4b5864['length'])};}function xi(_0x4c5573,_0x261f89,_0x5e3b0b,_0x3c2afb,_0x1f6f1e){const _0x20a2de=_0x2fc972;var _0x4ee65a,_0xdeff0e,_0x4d8c21,_0x4c0f1a;const _0x55d110=[_0x4c5573[_0x20a2de(0x415)]((_0x5d4472,_0x137847)=>{const _0x13be92=_0x20a2de;var _0x512338;const {id:_0x1658f4}=_0x5d4472,{id:_0x1ef39d,type:_0x8328bc}=_0x137847,_0x4404af=(_0x512338=_0x5d4472[_0x13be92(0x2ad)])!=null?_0x512338:{'actions':null},_0x8f7206=_0x137847[_0x13be92(0x2ad)];if(_0x1658f4&&_0x1658f4!==_0x1ef39d)throw new Error(_0x13be92(0x48e)+_0x1658f4+'\x20-\x20'+_0x1ef39d+'.');return{..._0x5d4472,'id':_0x1ef39d,'type':_0x8328bc,'params':{'unitId':_0x8f7206[_0x13be92(0xb5)],'textRanges':_0x8f7206['textRanges'],'actions':a['JSONX'][_0x13be92(0x2a8)](_0x4404af[_0x13be92(0x4ac)],_0x8f7206['actions'])}};},{})],_0x5558f3=(_0xdeff0e=(_0x4ee65a=_0x1f6f1e[_0x20a2de(0x4a9)]())==null?void 0x0:_0x4ee65a[_0x20a2de(0x27b)])!=null?_0xdeff0e:'unknown',_0x1ed842=(_0x4c0f1a=(_0x4d8c21=_0x1f6f1e[_0x20a2de(0x4a9)]())==null?void 0x0:_0x4d8c21['memberID'])!=null?_0x4c0f1a:_0x20a2de(0x265);return{'changeset':{'unitID':_0x261f89,'type':S[_0x20a2de(0x514)](_0x5e3b0b[_0x20a2de(0x490)](_0x261f89)),'baseRev':_0x3c2afb[_0x20a2de(0xc9)](_0x261f89),'revision':0x0,'userID':_0x5558f3,'memberID':_0x1ed842,'mutations':_0x55d110},'pendingMutations':[]};}function fn(_0x1cd5c2,_0xd77da8){const _0x5add1a=_0x2fc972,_0x5bde3c=new A[(_0x5add1a(0x1e8))](0x1);return setTimeout(()=>_0x5bde3c[_0x5add1a(0x450)](_0xd77da8),_0x1cd5c2),_0x5bde3c['asObservable']()['pipe'](A[_0x5add1a(0x4dc)](0x1));}const ji={'id':k[_0x2fc972(0x174)]['id'],'type':a[_0x2fc972(0x338)]['MUTATION'],'params':{}};var $i=Object[_0x2fc972(0x356)],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x1406be,_0x22da86,_0x139274,_0x35c88f)=>{const _0x2f7621=_0x2fc972;for(var _0x4b6753=_0x35c88f>0x1?void 0x0:_0x35c88f?Hi(_0x22da86,_0x139274):_0x22da86,_0x581fde=_0x1406be[_0x2f7621(0x14d)]-0x1,_0x5bfbb0;_0x581fde>=0x0;_0x581fde--)(_0x5bfbb0=_0x1406be[_0x581fde])&&(_0x4b6753=(_0x35c88f?_0x5bfbb0(_0x22da86,_0x139274,_0x4b6753):_0x5bfbb0(_0x4b6753))||_0x4b6753);return _0x35c88f&&_0x4b6753&&$i(_0x22da86,_0x139274,_0x4b6753),_0x4b6753;},N=(_0x2c703b,_0x4f60fc)=>(_0x15c6d4,_0x56723c)=>_0x4f60fc(_0x15c6d4,_0x56723c,_0x2c703b),q=(_0x596872=>(_0x596872[_0x2fc972(0x2e7)]=_0x2fc972(0x13d),_0x596872[_0x2fc972(0x4d4)]=_0x2fc972(0x283),_0x596872[_0x2fc972(0x309)]='pending',_0x596872[_0x2fc972(0x24d)]=_0x2fc972(0x524),_0x596872['AWAITING_WITH_PENDING']=_0x2fc972(0x199),_0x596872[_0x2fc972(0x167)]=_0x2fc972(0x424),_0x596872[_0x2fc972(0x54c)]=_0x2fc972(0x1ac),_0x596872[_0x2fc972(0x455)]='offline',_0x596872))(q||{});const vn=0xea60;class Ce{constructor(_0x37f947,_0x13fda4,_0x2f99d6,_0x2200b,_0x55481c,_0x5c451e,_0x328a2d,_0x18b2fd,_0x212990){const _0x248e99=_0x2fc972;I(this,'_awaitingChangeset',null),I(this,_0x248e99(0x400),[]),(this['unitID']=_0x37f947,this[_0x248e99(0xc1)]=_0x13fda4,this['_handler']=_0x55481c,this['_commandService']=_0x5c451e,this[_0x248e99(0x2b5)]=_0x328a2d,this[_0x248e99(0x11e)]=_0x18b2fd,this['_localCacheService']=_0x212990,this[_0x248e99(0x30e)]=_0x2f99d6,this[_0x248e99(0x400)]=_0x2200b);}[_0x2fc972(0x479)](_0x112ac2){const _0xfe0448=_0x2fc972,_0x524663=this[_0xfe0448(0x11e)]['getCurrentRevOfUnit'](this[_0xfe0448(0xbc)]);return _0x112ac2['revision']>_0x524663+0x1?(this[_0xfe0448(0x23e)][_0xfe0448(0x19b)]({'from':_0x524663,'to':_0x112ac2[_0xfe0448(0x414)]-0x1}),!0x0):!0x1;}[_0x2fc972(0x3f5)](_0x4c6363){const _0x1115a2=_0x2fc972;this[_0x1115a2(0x2b5)][_0x1115a2(0x42f)](this[_0x1115a2(0xbc)],_0x4c6363);}['_transformSelections'](_0x4469af){const _0x132d88=_0x2fc972;var _0x456de3,_0x471abf;(_0x471abf=(_0x456de3=this[_0x132d88(0x23e)])[_0x132d88(0x267)])==null||_0x471abf[_0x132d88(0x16c)](_0x456de3,_0x4469af);}[_0x2fc972(0x1e4)](_0x490a3a){const _0x55487c=_0x2fc972;var _0x1284a4,_0x25d135;return(_0x25d135=(_0x1284a4=this['_handler'])[_0x55487c(0x2fc)])==null?void 0x0:_0x25d135['call'](_0x1284a4,_0x490a3a);}['_transformStateCache'](_0xbc2629){const _0x1cdb26=_0x2fc972;var _0x59aa6b,_0x5634f8;return(_0x5634f8=(_0x59aa6b=this[_0x1cdb26(0x23e)])['onTransformState'])==null?void 0x0:_0x5634f8['call'](_0x59aa6b,_0xbc2629);}[_0x2fc972(0x2ec)](_0x149c59){const _0x1a9f97=_0x2fc972;var _0x522f73,_0x29ead5,_0x3461fe;return(_0x3461fe=(_0x29ead5=(_0x522f73=this[_0x1a9f97(0x23e)])[_0x1a9f97(0x549)])==null?void 0x0:_0x29ead5[_0x1a9f97(0x16c)](_0x522f73,_0x149c59))!=null?_0x3461fe:_0x149c59;}[_0x2fc972(0x24c)](_0x3e7c5b){const _0x3a8d64=_0x2fc972;var _0x5dfe3a,_0x60f6bf,_0x390d72;return(_0x390d72=(_0x60f6bf=(_0x5dfe3a=this[_0x3a8d64(0x23e)])[_0x3a8d64(0x335)])==null?void 0x0:_0x60f6bf[_0x3a8d64(0x16c)](_0x5dfe3a,_0x3e7c5b))!=null?_0x390d72:_0x3e7c5b;}[_0x2fc972(0x543)](_0x3fe45e){const _0x35923b=_0x2fc972;var _0x15088b,_0x3b411e;if(this['type']===ie[_0x35923b(0x22f)]){const {unitID:_0x865a2e,mutations:_0x1b8f8c,memberID:_0x3902cc}=_0x3fe45e,_0x2b21e5=_0x1b8f8c[0x0][_0x35923b(0x2ad)][_0x35923b(0x466)];Array['isArray'](_0x2b21e5)&&_0x2b21e5['length']>0x0&&((_0x3b411e=(_0x15088b=this[_0x35923b(0x23e)])[_0x35923b(0x463)])==null||_0x3b411e[_0x35923b(0x16c)](_0x15088b,{'unitID':_0x865a2e,'memberID':_0x3902cc,'textRanges':_0x2b21e5}));}}[_0x2fc972(0x3c0)](){const _0xa05947=_0x2fc972;this[_0xa05947(0x12d)][_0xa05947(0xb8)](this[_0xa05947(0xbc)],this[_0xa05947(0xc1)],this[_0xa05947(0x30e)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x2825cb=_0x2fc972;return this[_0x2825cb(0x11e)][_0x2825cb(0xc9)](this['unitID']);}[_0x2fc972(0x401)](){const _0x1f759d=_0x2fc972;this['_revisionService'][_0x1f759d(0x106)](this['unitID']);}['_executeRemoteChangeset'](_0x56c01f){const _0x1c29a4=_0x2fc972;var _0x5a59f0;let _0x53c961=this[_0x1c29a4(0x2ec)](_0x56c01f);_0x53c961=this['_transformRemoteChangesetByStateCache'](_0x53c961);const _0x31f5b6=a[_0x1c29a4(0x4e3)](_0x53c961[_0x1c29a4(0x492)],this[_0x1c29a4(0x3be)],{'fromCollab':!0x0});if(!_0x31f5b6[_0x1c29a4(0xfc)])throw _0x31f5b6['error']instanceof Error?_0x31f5b6[_0x1c29a4(0x2be)]:new Error((_0x5a59f0=_0x31f5b6[_0x1c29a4(0x2be)])!=null?_0x5a59f0:_0x1c29a4(0x144));this[_0x1c29a4(0x1e4)](_0x53c961),this['_transformStateCache'](_0x53c961),this['_transformUndoredo'](_0x56c01f),this['_transformSelections'](_0x53c961),this[_0x1c29a4(0x543)](_0x53c961),this[_0x1c29a4(0x401)]();}}let Oe=class extends Ce{constructor(_0x2111a2,_0x5f2298,_0x26bc53,_0x225ff8,_0x21ef67,_0x128b5c,_0x35913e,_0x388810,_0x1543a3,_0x29cacd){const _0x10c38d=_0x2fc972;super(_0x2111a2,_0x5f2298,null,[],_0x26bc53,_0x388810,_0x35913e,_0x225ff8,_0x21ef67),I(this,_0x10c38d(0x3c9),_0x10c38d(0x283)),(this[_0x10c38d(0x2bd)]=_0x128b5c,this[_0x10c38d(0x3e5)]=_0x1543a3,this[_0x10c38d(0x116)]=_0x29cacd);}[_0x2fc972(0x3de)](_0x5d1504){const _0xb34ede=_0x2fc972,_0x15b020=this['_injector'][_0xb34ede(0x176)](ce,this[_0xb34ede(0xbc)],this['type'],[_0x5d1504],this[_0xb34ede(0x23e)]);return _0x15b020[_0xb34ede(0x429)](),_0x15b020[_0xb34ede(0x3c0)](),_0x15b020;}[_0x2fc972(0x3ac)](_0x144b89){const _0x2fce27=_0x2fc972;if(this[_0x2fce27(0x479)](_0x144b89))return this[_0x2fce27(0x2bd)]['createInstance'](re,this[_0x2fce27(0xbc)],this[_0x2fce27(0xc1)],null,[],null,[_0x144b89],this[_0x2fce27(0x23e)]);try{const _0x1e7a19=this['_transformService']['transformMutationsWithChangeset'](_0x144b89,[ji]);if(S['isTransformMutationsWithChangesetSuccess'](_0x1e7a19)){const {c1Prime:_0x27167d}=_0x1e7a19;return this[_0x2fce27(0x278)](_0x27167d),this;}throw _0x1e7a19[_0x2fce27(0x2be)];}catch(_0x149d90){return this[_0x2fce27(0x3e5)][_0x2fce27(0x2be)](_0x149d90),this[_0x2fce27(0x354)](!0x1);}}[_0x2fc972(0x354)](_0x15566c){const _0x152cd9=_0x2fc972;return this[_0x152cd9(0x2bd)][_0x152cd9(0x176)](ve,this[_0x152cd9(0xbc)],this[_0x152cd9(0xc1)],null,[],this['_handler'],_0x15566c);}[_0x2fc972(0x206)](){const _0x700f40=_0x2fc972;throw new Error(_0x700f40(0x121));}['onRemoteRej'](){const _0x56930e=_0x2fc972;throw new Error(_0x56930e(0x22e));}[_0x2fc972(0xb9)](){return this;}[_0x2fc972(0x288)](){const _0x329d87=_0x2fc972;return this['_injector'][_0x329d87(0x176)](me,this[_0x329d87(0xbc)],this[_0x329d87(0xc1)],null,[],this[_0x329d87(0x23e)]);}[_0x2fc972(0x17b)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fc972(0x41c)](){const _0xa2a586=_0x2fc972,_0x23cc18=this[_0xa2a586(0x11e)][_0xa2a586(0xc9)](this[_0xa2a586(0xbc)]);return this[_0xa2a586(0x23e)][_0xa2a586(0x19b)]({'from':_0x23cc18,'to':0x0}),this[_0xa2a586(0x2bd)][_0xa2a586(0x176)](re,this['unitID'],this[_0xa2a586(0xc1)],null,[],null,[],this[_0xa2a586(0x23e)]);}};Oe=Ie([N(0x3,a[_0x2fc972(0xde)](S['RevisionService'])),N(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),N(0x5,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),N(0x6,a['IUndoRedoService']),N(0x7,a[_0x2fc972(0x451)]),N(0x8,a['ILogService']),N(0x9,S[_0x2fc972(0x4a4)])],Oe);let ce=class extends Ce{constructor(_0x501575,_0x35e6bd,_0xee5e47,_0x9d9135,_0x797cfe,_0x555a0f,_0x9791,_0x36026e,_0x575338,_0x97b99e,_0x3e7614,_0x4cd568,_0x1f6bde,_0x2f7dcb){const _0x4d012a=_0x2fc972;super(_0x501575,_0x35e6bd,null,_0xee5e47,_0x9d9135,_0x97b99e,_0x2f7dcb,_0x555a0f,_0x9791),I(this,_0x4d012a(0x3c9),_0x4d012a(0x136)),I(this,_0x4d012a(0x4f3),null),I(this,_0x4d012a(0x135),null),(this[_0x4d012a(0x2bd)]=_0x797cfe,this[_0x4d012a(0x35d)]=_0x36026e,this[_0x4d012a(0x3e5)]=_0x575338,this[_0x4d012a(0x51e)]=_0x3e7614,this[_0x4d012a(0x116)]=_0x4cd568,this[_0x4d012a(0x4d3)]=_0x1f6bde);}['appendMutation'](_0x271aef){const _0x2a308c=_0x2fc972;return this[_0x2a308c(0x400)]['push'](_0x271aef),this[_0x2a308c(0x3c0)](),this;}[_0x2fc972(0x3ac)](_0x2c04d4){const _0xcb6f6d=_0x2fc972;if(this[_0xcb6f6d(0x479)](_0x2c04d4))return this['_clearScheduledTask'](),this['_injector'][_0xcb6f6d(0x176)](re,this[_0xcb6f6d(0xbc)],this['type'],null,this[_0xcb6f6d(0x400)],null,[_0x2c04d4],this[_0xcb6f6d(0x23e)]);try{const _0x27db37=this[_0xcb6f6d(0x116)][_0xcb6f6d(0x4ee)](_0x2c04d4,this[_0xcb6f6d(0x400)]);if(S[_0xcb6f6d(0x3cb)](_0x27db37)){const {c1Prime:_0x4d8c47,m2Prime:_0x2992cd}=_0x27db37;this[_0xcb6f6d(0x278)](_0x4d8c47);const _0x5b794e=this[_0xcb6f6d(0x2bd)]['createInstance'](ce,this[_0xcb6f6d(0xbc)],this[_0xcb6f6d(0xc1)],_0x2992cd,this[_0xcb6f6d(0x23e)]);return this['_clearScheduledTask'](),_0x5b794e[_0xcb6f6d(0x429)](this[_0xcb6f6d(0x4f3)]?Math[_0xcb6f6d(0x476)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x5b794e;}throw _0x27db37['error'];}catch(_0x3193e9){return this[_0xcb6f6d(0x3e5)]['error'](_0x3193e9),this[_0xcb6f6d(0x354)](!0x1);}}[_0x2fc972(0x206)](){const _0x44e159=_0x2fc972;throw new Error(_0x44e159(0x1dc));}[_0x2fc972(0x352)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2fc972(0x288)](){const _0x6f9987=_0x2fc972;return this[_0x6f9987(0xbb)](),this[_0x6f9987(0x2bd)][_0x6f9987(0x176)](me,this['unitID'],this['type'],null,this[_0x6f9987(0x400)],this['_handler']);}['toggleOnline'](){return this;}[_0x2fc972(0x429)](_0x2ef6be){const _0x3f1b15=_0x2fc972,_0x5edb46=_0x2ef6be!=null?_0x2ef6be:this['_getSendChangesetTimeout']();this[_0x3f1b15(0x4f3)]=new Date()[_0x3f1b15(0x518)](),this[_0x3f1b15(0x135)]=window['setTimeout'](()=>{const _0xb06ca0=_0x3f1b15;this[_0xb06ca0(0xbb)]();let _0x507d9c=null;switch(this[_0xb06ca0(0xc1)]){case ie['UNIVER_SHEET']:{_0x507d9c=jt(this[_0xb06ca0(0x400)],this['unitID'],this[_0xb06ca0(0x4d3)],this[_0xb06ca0(0x11e)],this[_0xb06ca0(0x35d)]);break;}case ie[_0xb06ca0(0x22f)]:{this[_0xb06ca0(0x400)][_0xb06ca0(0x163)](_0x2bb3c3=>_0x2bb3c3['id']===ye[_0xb06ca0(0x2cc)]['id'])?_0x507d9c=xi(this[_0xb06ca0(0x400)],this[_0xb06ca0(0xbc)],this['_univerInstanceService'],this[_0xb06ca0(0x11e)],this[_0xb06ca0(0x35d)]):_0x507d9c=jt(this[_0xb06ca0(0x400)],this[_0xb06ca0(0xbc)],this[_0xb06ca0(0x4d3)],this[_0xb06ca0(0x11e)],this[_0xb06ca0(0x35d)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xb06ca0(0xc1)]+_0xb06ca0(0x515));}const {changeset:_0x57ff07,pendingMutations:_0x344524}=_0x507d9c;this[_0xb06ca0(0x23e)][_0xb06ca0(0x52c)](_0x57ff07);const _0x5534d5=_0x344524['length']?this[_0xb06ca0(0x2bd)][_0xb06ca0(0x176)](le,this[_0xb06ca0(0xbc)],this['type'],_0x57ff07,_0x344524,this[_0xb06ca0(0x23e)],void 0x0):this[_0xb06ca0(0x2bd)][_0xb06ca0(0x176)](fe,this[_0xb06ca0(0xbc)],this[_0xb06ca0(0xc1)],_0x57ff07,this[_0xb06ca0(0x23e)]);_0x5534d5[_0xb06ca0(0x3c0)](),this[_0xb06ca0(0x23e)][_0xb06ca0(0x223)](this,_0x5534d5);},_0x5edb46);}[_0x2fc972(0xfa)](){const _0x409392=_0x2fc972;var _0x582630;const _0x1c8214=this[_0x409392(0x51e)]['getConfig'](te);return(_0x582630=_0x1c8214==null?void 0x0:_0x1c8214[_0x409392(0x232)])!=null?_0x582630:kn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fc972(0xbb)](){const _0x32cbec=_0x2fc972;this[_0x32cbec(0x135)]!=null&&(clearTimeout(this[_0x32cbec(0x135)]),this['_sendingTimer']=null);}[_0x2fc972(0x354)](_0x4b5d8a){const _0x2aad36=_0x2fc972;return this['_clearScheduledTask'](),this[_0x2aad36(0x2bd)][_0x2aad36(0x176)](ve,this[_0x2aad36(0xbc)],this['type'],null,this[_0x2aad36(0x400)],this['_handler'],_0x4b5d8a);}};ce=Ie([N(0x4,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),N(0x5,a[_0x2fc972(0xde)](S['RevisionService'])),N(0x6,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),N(0x7,a[_0x2fc972(0xde)](exports['MemberService'])),N(0x8,a['ILogService']),N(0x9,a['ICommandService']),N(0xa,a['IConfigService']),N(0xb,S['ITransformService']),N(0xc,a[_0x2fc972(0x3b9)]),N(0xd,a[_0x2fc972(0x1d3)])],ce);let fe=class extends Ce{constructor(_0x26b16d,_0x3b9f2d,_0x5d6360,_0x165338,_0x106b4f,_0x262034,_0x3e0abf,_0x467d41,_0x2df21d,_0x4319fc,_0x4c4069){const _0xbfda8e=_0x2fc972;super(_0x26b16d,_0x3b9f2d,_0x5d6360,[],_0x165338,_0x467d41,_0x4c4069,_0x262034,_0x3e0abf),I(this,'status',_0xbfda8e(0x524)),I(this,_0xbfda8e(0x48f),0x0),I(this,_0xbfda8e(0x4d7)),I(this,_0xbfda8e(0x28b)),(this[_0xbfda8e(0x2bd)]=_0x106b4f,this[_0xbfda8e(0x3e5)]=_0x2df21d,this[_0xbfda8e(0x116)]=_0x4319fc);}[_0x2fc972(0x3de)](_0x13ed6d){const _0x28a34a=_0x2fc972;this[_0x28a34a(0xbb)]();const _0x119b09=this[_0x28a34a(0x2bd)][_0x28a34a(0x176)](le,this[_0x28a34a(0xbc)],this['type'],this[_0x28a34a(0x30e)],[_0x13ed6d],this['_handler'],this['_resendTimer']);return _0x119b09[_0x28a34a(0x3c0)](),_0x119b09;}[_0x2fc972(0x3ac)](_0x5f1a2e){const _0x205936=_0x2fc972;if(this[_0x205936(0x479)](_0x5f1a2e))return this['_clearScheduledTask'](),this[_0x205936(0x2bd)][_0x205936(0x176)](re,this[_0x205936(0xbc)],this['type'],this[_0x205936(0x30e)],[],null,[_0x5f1a2e],this[_0x205936(0x23e)]);try{const _0x29bb08=this[_0x205936(0x116)][_0x205936(0xe7)]([_0x5f1a2e],[this['_awaitingChangeset']],!0x1);if(S[_0x205936(0x2aa)](_0x29bb08)){const {c1Prime:_0x4e55ab,c2Prime:_0x587ea9}=_0x29bb08;this[_0x205936(0x278)](_0x4e55ab[0x0]),_0x587ea9[0x0][_0x205936(0xd5)]=this[_0x205936(0x1bf)](),this['_clearScheduledTask']();const _0x4e0cb4=this['_injector'][_0x205936(0x176)](fe,this['unitID'],this[_0x205936(0xc1)],_0x587ea9[0x0],this[_0x205936(0x23e)]);return _0x4e0cb4[_0x205936(0x3c0)](),_0x4e0cb4;}return this[_0x205936(0x354)](!0x1);}catch(_0x13f554){return this[_0x205936(0x3e5)][_0x205936(0x2be)](_0x13f554),this[_0x205936(0x354)](!0x1);}}['onRemoteAck'](_0x1b8660){const _0x2a7e9e=_0x2fc972;this[_0x2a7e9e(0xbb)]();const _0x244987=this[_0x2a7e9e(0x11e)][_0x2a7e9e(0xc9)](this[_0x2a7e9e(0xbc)]);if(_0x1b8660[_0x2a7e9e(0x414)]<_0x244987-0x1)return this;if(this[_0x2a7e9e(0x479)](_0x1b8660))return this['_injector'][_0x2a7e9e(0x176)](re,this[_0x2a7e9e(0xbc)],this[_0x2a7e9e(0xc1)],null,[],this[_0x2a7e9e(0x30e)],[],this['_handler']);this[_0x2a7e9e(0x401)]();const _0x33de45=this[_0x2a7e9e(0x2bd)][_0x2a7e9e(0x176)](Oe,this[_0x2a7e9e(0xbc)],this[_0x2a7e9e(0xc1)],this[_0x2a7e9e(0x23e)]);return _0x33de45[_0x2a7e9e(0x3c0)](),_0x33de45;}[_0x2fc972(0x352)](_0x28137b){const _0x322eed=_0x2fc972;return this['_onConflict'](!!(_0x28137b!=null&&_0x28137b[_0x322eed(0x48c)]));}['onRemoteRetry'](_0x1f36d8){const _0x58fa6b=_0x2fc972;return this[_0x58fa6b(0x48f)]>vn?this['toggleOffline']():(this['_resendTimer']=fn(this[_0x58fa6b(0x48f)],{'timeout':this[_0x58fa6b(0x48f)],'reqId':_0x1f36d8['reqId']}),this['_sender']=this[_0x58fa6b(0x4d7)][_0x58fa6b(0x243)](({reqId:_0x1c13d1,timeout:_0x34aa5c})=>{const _0x3c23f0=_0x58fa6b;this[_0x3c23f0(0x19c)](_0x1c13d1,_0x34aa5c);}),this);}['toggleOffline'](){const _0x1a72d0=_0x2fc972;return this[_0x1a72d0(0xbb)](),this['_injector'][_0x1a72d0(0x176)](me,this[_0x1a72d0(0xbc)],this[_0x1a72d0(0xc1)],this[_0x1a72d0(0x30e)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x2fc972(0x124)](){const _0x3b9d93=_0x2fc972;this[_0x3b9d93(0x23e)][_0x3b9d93(0x52c)](this['_awaitingChangeset']);}[_0x2fc972(0x354)](_0x3be135){const _0x3c9913=_0x2fc972;return this['_clearScheduledTask'](),this[_0x3c9913(0x2bd)]['createInstance'](ve,this[_0x3c9913(0xbc)],this['type'],this['_awaitingChangeset'],[],this[_0x3c9913(0x23e)],_0x3be135);}[_0x2fc972(0x19c)](_0x476489,_0x4d5b9b){const _0x19fe68=_0x2fc972;var _0x4d0491;_0x476489===((_0x4d0491=this[_0x19fe68(0x30e)])==null?void 0x0:_0x4d0491[_0x19fe68(0x4dd)])&&(this['resend'](),this[_0x19fe68(0x48f)]=_0x4d5b9b===0x0?0x3e8:_0x4d5b9b*0x2);}[_0x2fc972(0xbb)](){const _0x166140=_0x2fc972;var _0x510145;(_0x510145=this[_0x166140(0x28b)])==null||_0x510145[_0x166140(0x484)](),this['_resendTimeout']=0x0;}};fe=Ie([N(0x4,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),N(0x5,a['Inject'](S['RevisionService'])),N(0x6,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),N(0x7,a[_0x2fc972(0x451)]),N(0x8,a[_0x2fc972(0x1fc)]),N(0x9,S[_0x2fc972(0x4a4)]),N(0xa,a[_0x2fc972(0x1d3)])],fe);let le=class extends Ce{constructor(_0x165321,_0x3ca489,_0x43e9ae,_0x45e152,_0x301340,_0x1b0231,_0x2dcf55,_0x504eb1,_0x1dd2b7,_0x3ee902,_0x966a44,_0x3440cc,_0x457c9a){const _0x2b097b=_0x2fc972;super(_0x165321,_0x3ca489,_0x43e9ae,_0x45e152,_0x301340,_0x3ee902,_0x457c9a,_0x504eb1,_0x1dd2b7),I(this,_0x2b097b(0x3c9),_0x2b097b(0x199)),I(this,_0x2b097b(0x48f),0x0),I(this,_0x2b097b(0x4d7)),I(this,_0x2b097b(0x28b)),(this[_0x2b097b(0x2bd)]=_0x2dcf55,this[_0x2b097b(0x3e5)]=_0x966a44,this[_0x2b097b(0x116)]=_0x3440cc,_0x1b0231&&(this[_0x2b097b(0x4d7)]=_0x1b0231,this[_0x2b097b(0x28b)]=this[_0x2b097b(0x4d7)][_0x2b097b(0x243)](({reqId:_0x492c0e,timeout:_0x2e87b3})=>{const _0x54f7dc=_0x2b097b;this[_0x54f7dc(0x19c)](_0x492c0e,_0x2e87b3);})));}[_0x2fc972(0x3de)](_0x953552){const _0x157b5d=_0x2fc972;return this[_0x157b5d(0x400)][_0x157b5d(0x540)](_0x953552),this;}[_0x2fc972(0x3ac)](_0x1e9f19){const _0x598074=_0x2fc972;if(this[_0x598074(0x479)](_0x1e9f19))return this[_0x598074(0xbb)](),this['_injector'][_0x598074(0x176)](re,this[_0x598074(0xbc)],this[_0x598074(0xc1)],this[_0x598074(0x30e)],this['_pendingMutations'],null,[_0x1e9f19],this[_0x598074(0x23e)]);try{const _0xbb39fe=this[_0x598074(0x116)]['transformChangesets']([_0x1e9f19],[this[_0x598074(0x30e)]],!0x1);if(S[_0x598074(0x2aa)](_0xbb39fe)){const {c1Prime:_0x3fb120,c2Prime:_0x5554b6}=_0xbb39fe,_0x45b008=this['_transformService']['transformMutationsWithChangeset'](_0x3fb120[0x0],this['_pendingMutations']);if(S[_0x598074(0x3cb)](_0x45b008)){const {c1Prime:_0xaf2eea,m2Prime:_0x6065a2}=_0x45b008;return this['_executeRemoteChangeset'](_0xaf2eea),_0x5554b6[0x0][_0x598074(0xd5)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x598074(0x2bd)][_0x598074(0x176)](le,this['unitID'],this[_0x598074(0xc1)],_0x5554b6[0x0],_0x6065a2,this['_handler'],void 0x0);}throw _0x45b008[_0x598074(0x2be)];}throw _0xbb39fe[_0x598074(0x2be)];}catch(_0x2f9021){return this[_0x598074(0x3e5)]['error'](_0x2f9021),this[_0x598074(0x354)](!0x1);}}[_0x2fc972(0x206)](_0x3a7b61){const _0x5a53ac=_0x2fc972;if(this[_0x5a53ac(0xbb)](),this[_0x5a53ac(0x479)](_0x3a7b61))return this['_injector']['createInstance'](re,this[_0x5a53ac(0xbc)],this['type'],null,this[_0x5a53ac(0x400)],this['_awaitingChangeset'],[],this[_0x5a53ac(0x23e)]);this['_incrementRevisionNumber']();const _0x59b05d=this[_0x5a53ac(0x2bd)]['createInstance'](ce,this[_0x5a53ac(0xbc)],this['type'],this['_pendingMutations'],this[_0x5a53ac(0x23e)]);return _0x59b05d[_0x5a53ac(0x429)](),_0x59b05d[_0x5a53ac(0x3c0)](),_0x59b05d;}[_0x2fc972(0x352)](_0x38da50){const _0x59e1b5=_0x2fc972;return this[_0x59e1b5(0x354)](!!(_0x38da50!=null&&_0x38da50[_0x59e1b5(0x48c)]));}['onRemoteRetry'](_0x47a006){const _0xe90a6e=_0x2fc972;return this[_0xe90a6e(0x48f)]>vn?this['toggleOffline']():(this[_0xe90a6e(0x4d7)]=fn(this['_resendTimeout'],{'timeout':this[_0xe90a6e(0x48f)],'reqId':_0x47a006[_0xe90a6e(0x4dd)]}),this['_sender']=this[_0xe90a6e(0x4d7)][_0xe90a6e(0x243)](({reqId:_0x12ccac,timeout:_0x371f62})=>{const _0x361d8b=_0xe90a6e;this[_0x361d8b(0x19c)](_0x12ccac,_0x371f62);}),this);}[_0x2fc972(0x288)](){const _0x537ea0=_0x2fc972;return this['_clearScheduledTask'](),this[_0x537ea0(0x2bd)]['createInstance'](me,this[_0x537ea0(0xbc)],this[_0x537ea0(0xc1)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x537ea0(0x23e)]);}[_0x2fc972(0x17b)](){return this;}[_0x2fc972(0x124)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x2fc972(0x354)](_0x5f0407){const _0x345c3f=_0x2fc972;return this[_0x345c3f(0xbb)](),this['_injector']['createInstance'](ve,this['unitID'],this['type'],null,this[_0x345c3f(0x400)],this['_handler'],_0x5f0407);}[_0x2fc972(0x19c)](_0xf5e0fe,_0x2e9e1c){const _0x27e3da=_0x2fc972;var _0x9d4583;_0xf5e0fe===((_0x9d4583=this['_awaitingChangeset'])==null?void 0x0:_0x9d4583['reqId'])&&(this[_0x27e3da(0x124)](),this[_0x27e3da(0x48f)]=_0x2e9e1c===0x0?0x3e8:_0x2e9e1c*0x2);}['_clearScheduledTask'](){const _0x40a813=_0x2fc972;var _0x46b68d;(_0x46b68d=this[_0x40a813(0x28b)])==null||_0x46b68d[_0x40a813(0x484)](),this[_0x40a813(0x48f)]=0x0;}};le=Ie([N(0x6,a[_0x2fc972(0xde)](a['Injector'])),N(0x7,a[_0x2fc972(0xde)](S['RevisionService'])),N(0x8,a[_0x2fc972(0xde)](exports['LocalCacheService'])),N(0x9,a['ICommandService']),N(0xa,a[_0x2fc972(0x1fc)]),N(0xb,S[_0x2fc972(0x4a4)]),N(0xc,a[_0x2fc972(0x1d3)])],le);let ve=class extends Ce{constructor(_0x29c3e5,_0x93ce0,_0x18a096,_0x4a9280,_0x553fe5,_0x347eb0=!0x1,_0x431d4b,_0x4b149b,_0x72ab8e,_0x898e37,_0x5cc148,_0x495714,_0x288c56){const _0x4f4b63=_0x2fc972;super(_0x29c3e5,_0x93ce0,_0x18a096,_0x4a9280,_0x553fe5,_0x4b149b,_0x72ab8e,_0x5cc148,_0x898e37),I(this,_0x4f4b63(0x3c9),_0x4f4b63(0x1ac)),(this[_0x4f4b63(0x50f)]=_0x347eb0,this[_0x4f4b63(0x1f6)]=_0x431d4b,this['_localeService']=_0x495714,this['_notificationService']=_0x288c56,this[_0x4f4b63(0x35a)](),this[_0x4f4b63(0x1da)](),this[_0x4f4b63(0x214)]());}[_0x2fc972(0x3de)](){return this;}[_0x2fc972(0x3ac)](){return this;}[_0x2fc972(0x206)](){return this;}[_0x2fc972(0x352)](){return this;}[_0x2fc972(0xb9)](){return this;}[_0x2fc972(0x288)](){return this;}[_0x2fc972(0x17b)](){return this;}[_0x2fc972(0x124)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fc972(0x1da)](){const _0x10c6a8=_0x2fc972;this[_0x10c6a8(0x12d)][_0x10c6a8(0xb8)](this[_0x10c6a8(0xbc)],this[_0x10c6a8(0xc1)],null,[]);}[_0x2fc972(0x35a)](){const _0xfd6a52=_0x2fc972;this['_isPermissionRej']?this[_0xfd6a52(0x181)]['show']({'title':this[_0xfd6a52(0x46e)]['t'](_0xfd6a52(0xfe)),'content':this[_0xfd6a52(0x46e)]['t'](_0xfd6a52(0x2f0)),'type':_0xfd6a52(0x2be),'duration':0x0}):this[_0xfd6a52(0x181)][_0xfd6a52(0x456)]({'title':this['_localeService']['t'](_0xfd6a52(0x2ab)),'content':this['_localeService']['t'](_0xfd6a52(0x439)),'type':'error','duration':0x0});}[_0x2fc972(0x214)](){const _0xf7e675=_0x2fc972;this['_permissionService'][_0xf7e675(0x3ab)](new k[(_0xf7e675(0x2b3))](this[_0xf7e675(0xbc)])['id'],!0x1);}};ve=Ie([N(0x6,a[_0x2fc972(0xde)](a[_0x2fc972(0x179)])),N(0x7,a[_0x2fc972(0x451)]),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x2fc972(0xde)](exports['LocalCacheService'])),N(0xa,a[_0x2fc972(0xde)](S['RevisionService'])),N(0xb,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)])),N(0xc,ee['INotificationService'])],ve);let me=class extends Ce{constructor(_0x534ae2,_0x19c53a,_0x58d9e5,_0x300316,_0x10ff4e,_0x5986e5,_0x2d9b8b,_0x54a611,_0x553b07,_0x4822a0){const _0x59c505=_0x2fc972;super(_0x534ae2,_0x19c53a,_0x58d9e5,_0x300316,_0x10ff4e,_0x553b07,_0x4822a0,_0x2d9b8b,_0x54a611),I(this,_0x59c505(0x3c9),_0x59c505(0x399)),this[_0x59c505(0x2bd)]=_0x5986e5;}[_0x2fc972(0x3de)](_0x11e945){return this['_pendingMutations']['push'](_0x11e945),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3cc230){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2fc972(0x206)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2fc972(0x352)](){const _0x521080=_0x2fc972;throw new Error(_0x521080(0x21b));}[_0x2fc972(0xb9)](){return this;}['toggleOffline'](){return this;}[_0x2fc972(0x17b)](){const _0x58dd74=_0x2fc972,{_injector:_0x4fa756,_pendingMutations:_0x12dc53,_awaitingChangeset:_0x3ad563,unitID:_0x246587,_handler:_0x330c95,type:_0x3b3c73}=this,_0x4c47c7=mn(_0x4fa756,_0x246587,_0x3b3c73,_0x3ad563,_0x12dc53,_0x330c95);return _0x4c47c7 instanceof ce?_0x4c47c7[_0x58dd74(0x429)]():(_0x4c47c7 instanceof le||_0x4c47c7 instanceof fe)&&_0x4c47c7['resend'](),_0x4c47c7;}[_0x2fc972(0x124)](){const _0x258a95=_0x2fc972;throw new Error(_0x258a95(0x27d));}};me=Ie([N(0x5,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),N(0x6,a[_0x2fc972(0xde)](S['RevisionService'])),N(0x7,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),N(0x8,a['ICommandService']),N(0x9,a[_0x2fc972(0x1d3)])],me);let re=class extends Ce{constructor(_0x448998,_0x258e13,_0x43f925,_0x2514e3,_0x51b853,_0x5adaea,_0x4e0ecf,_0x32d306,_0x5df045,_0x30fbd6,_0xe2714,_0xadeca6,_0x37c57e,_0x5432fa){const _0x4a0860=_0x2fc972;super(_0x448998,_0x258e13,_0x43f925,_0x2514e3,_0x4e0ecf,_0xadeca6,_0x37c57e,_0x5df045,_0x30fbd6),I(this,_0x4a0860(0x3c9),_0x4a0860(0x424)),(this['_acknowledgedAwaitingChangeset']=_0x51b853,this[_0x4a0860(0x1e3)]=_0x5adaea,this[_0x4a0860(0x2bd)]=_0x32d306,this['_logService']=_0xe2714,this[_0x4a0860(0x116)]=_0x5432fa);}[_0x2fc972(0x544)](_0x26449f){const _0x3d5b3a=_0x2fc972;try{const _0x14bfa7=[..._0x26449f,...this[_0x3d5b3a(0x1e3)]],_0x437ecd=[this[_0x3d5b3a(0x30e)]||this[_0x3d5b3a(0x3ad)]][_0x3d5b3a(0xda)](_0x56a049=>!!_0x56a049);let _0x18789e,_0x4dc4db;if(_0x437ecd[_0x3d5b3a(0x14d)]){const _0x5e58df=this[_0x3d5b3a(0x116)][_0x3d5b3a(0xe7)](_0x14bfa7,_0x437ecd,!0x1);if(!S[_0x3d5b3a(0x2aa)](_0x5e58df))throw _0x5e58df['error'];_0x18789e=_0x5e58df[_0x3d5b3a(0x4c0)],_0x4dc4db=_0x5e58df[_0x3d5b3a(0x375)];}else _0x18789e=_0x14bfa7,_0x4dc4db=[];let _0x572e4a=this['_pendingMutations'];_0x18789e['forEach'](_0x293ae6=>{const _0xa51001=_0x3d5b3a;let _0x51affd;if(_0x572e4a[_0xa51001(0x14d)]){const _0x82d0f8=this[_0xa51001(0x116)][_0xa51001(0x4ee)](_0x293ae6,_0x572e4a);if(!S[_0xa51001(0x3cb)](_0x82d0f8))throw _0x82d0f8[_0xa51001(0x2be)];_0x51affd=_0x82d0f8[_0xa51001(0x4c0)],_0x572e4a=_0x82d0f8[_0xa51001(0x1e2)];}else _0x51affd=_0x293ae6;this['_executeRemoteChangeset'](_0x51affd);}),this[_0x3d5b3a(0x3ad)]&&this[_0x3d5b3a(0x401)](),this[_0x3d5b3a(0x30e)]&&_0x4dc4db['length']&&(_0x4dc4db[0x0][_0x3d5b3a(0xd5)]=this[_0x3d5b3a(0x1bf)]());let _0xf9b36e;if(this['_awaitingChangeset']&&_0x572e4a[_0x3d5b3a(0x14d)]!==0x0)_0xf9b36e=this['_injector'][_0x3d5b3a(0x176)](le,this[_0x3d5b3a(0xbc)],this[_0x3d5b3a(0xc1)],_0x4dc4db[0x0],_0x572e4a,this['_handler'],void 0x0);else{if(this[_0x3d5b3a(0x30e)]&&_0x572e4a[_0x3d5b3a(0x14d)]===0x0)_0x4dc4db[0x0]['baseRev']=this[_0x3d5b3a(0x1bf)](),_0xf9b36e=this[_0x3d5b3a(0x2bd)][_0x3d5b3a(0x176)](fe,this[_0x3d5b3a(0xbc)],this[_0x3d5b3a(0xc1)],_0x4dc4db[0x0],this['_handler']);else{if(_0x572e4a[_0x3d5b3a(0x14d)]!==0x0){const _0x47d49e=this[_0x3d5b3a(0x2bd)]['createInstance'](ce,this[_0x3d5b3a(0xbc)],this[_0x3d5b3a(0xc1)],_0x572e4a,this[_0x3d5b3a(0x23e)]);_0x47d49e[_0x3d5b3a(0x429)](),_0xf9b36e=_0x47d49e;}else _0xf9b36e=this[_0x3d5b3a(0x2bd)][_0x3d5b3a(0x176)](Oe,this[_0x3d5b3a(0xbc)],this['type'],this[_0x3d5b3a(0x23e)]);}}return _0xf9b36e[_0x3d5b3a(0x3c0)](),_0xf9b36e;}catch(_0x1c740f){return this[_0x3d5b3a(0x3e5)][_0x3d5b3a(0x2be)](_0x3d5b3a(0x4cc),_0x3d5b3a(0x365),_0x1c740f),this[_0x3d5b3a(0x2bd)][_0x3d5b3a(0x176)](ve,this['unitID'],this[_0x3d5b3a(0xc1)],this[_0x3d5b3a(0x30e)],this[_0x3d5b3a(0x400)],this[_0x3d5b3a(0x23e)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fc972(0x3de)](_0x41ee88){const _0x37150f=_0x2fc972;return this['_pendingMutations'][_0x37150f(0x540)](_0x41ee88),this;}[_0x2fc972(0x3ac)](_0x28acc6){const _0x51fc7c=_0x2fc972;return this['_queuedRemoteChangesets'][_0x51fc7c(0x540)](_0x28acc6),this;}[_0x2fc972(0x206)](_0x9e610){const _0x38f1fc=_0x2fc972;if(this[_0x38f1fc(0x30e)])return this[_0x38f1fc(0x3ad)]=this[_0x38f1fc(0x30e)],this['_awaitingChangeset']=null,this;throw new Error(_0x38f1fc(0x46b));}['onRemoteRej'](_0x3503d5){const _0x436cb4=_0x2fc972;return this[_0x436cb4(0x354)](!!(_0x3503d5!=null&&_0x3503d5[_0x436cb4(0x48c)]));}[_0x2fc972(0xb9)](){return this;}['toggleOffline'](){const _0x112c96=_0x2fc972;return this[_0x112c96(0x2bd)][_0x112c96(0x176)](me,this[_0x112c96(0xbc)],this[_0x112c96(0xc1)],this[_0x112c96(0x30e)],this['_pendingMutations'],this[_0x112c96(0x23e)]);}['toggleOnline'](){return this;}[_0x2fc972(0x354)](_0x2b87ef){const _0x29034d=_0x2fc972;return this[_0x29034d(0x2bd)][_0x29034d(0x176)](ve,this[_0x29034d(0xbc)],this[_0x29034d(0xc1)],this[_0x29034d(0x30e)],this['_pendingMutations'],this[_0x29034d(0x23e)],_0x2b87ef);}};re=Ie([N(0x7,a['Inject'](a[_0x2fc972(0x10d)])),N(0x8,a[_0x2fc972(0xde)](S[_0x2fc972(0x347)])),N(0x9,a['Inject'](exports[_0x2fc972(0x464)])),N(0xa,a[_0x2fc972(0x1fc)]),N(0xb,a['ICommandService']),N(0xc,a[_0x2fc972(0x1d3)]),N(0xd,S[_0x2fc972(0x4a4)])],re);function mn(_0x45df6b,_0x354dd5,_0x3a3f08,_0x562b92,_0x56bac3,_0x403689){const _0x1383f5=_0x2fc972;return _0x562b92&&_0x56bac3[_0x1383f5(0x14d)]?_0x45df6b[_0x1383f5(0x176)](le,_0x354dd5,_0x3a3f08,_0x562b92,_0x56bac3,_0x403689,void 0x0):_0x562b92?_0x45df6b[_0x1383f5(0x176)](fe,_0x354dd5,_0x3a3f08,_0x562b92,_0x403689):_0x56bac3[_0x1383f5(0x14d)]?_0x45df6b[_0x1383f5(0x176)](ce,_0x354dd5,_0x3a3f08,_0x56bac3,_0x403689):_0x45df6b['createInstance'](Oe,_0x354dd5,_0x3a3f08,_0x403689);}var Bi=Object[_0x2fc972(0x356)],ki=Object[_0x2fc972(0x423)],yt=(_0x2cf512,_0x58121f,_0x5350fb,_0x3cba16)=>{const _0xa3b99b=_0x2fc972;for(var _0x27b734=_0x3cba16>0x1?void 0x0:_0x3cba16?ki(_0x58121f,_0x5350fb):_0x58121f,_0x221390=_0x2cf512[_0xa3b99b(0x14d)]-0x1,_0x39ecc5;_0x221390>=0x0;_0x221390--)(_0x39ecc5=_0x2cf512[_0x221390])&&(_0x27b734=(_0x3cba16?_0x39ecc5(_0x58121f,_0x5350fb,_0x27b734):_0x39ecc5(_0x27b734))||_0x27b734);return _0x3cba16&&_0x27b734&&Bi(_0x58121f,_0x5350fb,_0x27b734),_0x27b734;},H=(_0x199ac0,_0x46da87)=>(_0x368ecf,_0x511ad0)=>_0x46da87(_0x368ecf,_0x511ad0,_0x199ac0);exports[_0x2fc972(0x333)]=class extends a[_0x2fc972(0x222)]{constructor(_0x9ffd7a,_0x513ef9,_0x5613aa,_0x286eb6,_0x1ef442,_0x4d2b1c,_0x207c0c,_0x2154cb,_0x1b88e6,_0x309fb8,_0x3649e1,_0x27c02d,_0x20c832){const _0x38c30d=_0x2fc972;super(),I(this,_0x38c30d(0x2e0),new A[(_0x38c30d(0x130))](null)),I(this,_0x38c30d(0x413),this['_state$'][_0x38c30d(0x1f3)]()),I(this,_0x38c30d(0x499)),I(this,_0x38c30d(0xef),!0x1),I(this,_0x38c30d(0x4a2),''),I(this,_0x38c30d(0x12a),0x0),I(this,_0x38c30d(0x1c4),this[_0x38c30d(0x413)][_0x38c30d(0x54d)](A[_0x38c30d(0x2dc)](_0x8291cd=>_0x8291cd?_0x8291cd[_0x38c30d(0x3c9)]:q[_0x38c30d(0x455)]),A[_0x38c30d(0x4b3)](0x1))),I(this,_0x38c30d(0x13c),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x38c30d(0xbc)]=_0x9ffd7a,this[_0x38c30d(0x2b2)]=_0x513ef9,this['_type']=_0x5613aa,this['_injector']=_0x286eb6,this[_0x38c30d(0x12d)]=_0x1ef442,this['_compressMutationService']=_0x4d2b1c,this[_0x38c30d(0x46e)]=_0x207c0c,this[_0x38c30d(0x11e)]=_0x2154cb,this['_logService']=_0x1b88e6,this['_commandService']=_0x309fb8,this['_messageService']=_0x3649e1,this['_permissionService']=_0x27c02d,this[_0x38c30d(0x1a8)]=_0x20c832);}get['state'](){return this['_state'];}async[_0x2fc972(0x173)](){const _0x13f528=_0x2fc972;if(this[_0x13f528(0x43a)])throw new Error(_0x13f528(0x235));await this[_0x13f528(0x192)]();}[_0x2fc972(0x102)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{const _0x44089b=_0x10d1;this[_0x44089b(0xef)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2fc972(0x523)](_0x39ae15){const _0x3da10b=_0x2fc972;this[_0x3da10b(0x499)]=_0x39ae15,this[_0x3da10b(0x2e0)][_0x3da10b(0x450)](_0x39ae15);}async[_0x2fc972(0x192)](){const _0x4ac8d3=_0x2fc972;var _0xecec97;this['_updateState'](await this['_createInitialState']()),this[_0x4ac8d3(0x1a8)]&&((_0xecec97=this[_0x4ac8d3(0x1a8)])==null||_0xecec97[_0x4ac8d3(0x27c)](this[_0x4ac8d3(0xbc)]),this[_0x4ac8d3(0x1a7)](this['_singleActiveUnitService'][_0x4ac8d3(0x433)](this[_0x4ac8d3(0xbc)])[_0x4ac8d3(0x243)](_0x1bd146=>{const _0x5c8bfa=_0x4ac8d3;this[_0x5c8bfa(0x3e5)][_0x5c8bfa(0x17a)](_0x5c8bfa(0x50e),'editing\x20status\x20changed\x20to',_0x1bd146),_0x1bd146===un[_0x5c8bfa(0x1a5)]?(this[_0x5c8bfa(0x3b6)][_0x5c8bfa(0x456)]({'content':this[_0x5c8bfa(0x46e)]['t'](_0x5c8bfa(0x286)),'type':ge['MessageType'][_0x5c8bfa(0x19d)]}),this['_permissionService'][_0x5c8bfa(0x3ab)](new k[(_0x5c8bfa(0x2b3))](this[_0x5c8bfa(0xbc)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x5c8bfa(0x1f6)][_0x5c8bfa(0x3ab)](new k[(_0x5c8bfa(0x2b3))](this[_0x5c8bfa(0xbc)])['id'],!0x0),this[_0x5c8bfa(0x1f6)][_0x5c8bfa(0x2d2)](!0x0));})));let _0x47e04a=!0x1;return this[_0x4ac8d3(0x1a7)](this[_0x4ac8d3(0x2b2)][_0x4ac8d3(0x4cb)][_0x4ac8d3(0x243)](_0x983bd9=>{const _0x41851b=_0x4ac8d3;_0x983bd9===se[_0x41851b(0x30f)]?this[_0x41851b(0x353)](_0x47e04a):_0x983bd9===se[_0x41851b(0x455)]&&(_0x47e04a=!0x0,this['_toggleOffline']());})),this[_0x4ac8d3(0x1a7)](this[_0x4ac8d3(0x2b2)][_0x4ac8d3(0x312)][_0x4ac8d3(0x243)](_0x2c4cb6=>{const _0x5d69ed=_0x4ac8d3;try{switch(_0x2c4cb6['eventID']){case S[_0x5d69ed(0x2b7)][_0x5d69ed(0x45c)]:{this['_onRemoteChangeset'](S['parseProtocolChangeset'](_0x2c4cb6[_0x5d69ed(0x191)]));break;}case S['CollaborationEvent'][_0x5d69ed(0x470)]:{this['_onRemoteACK'](_0x2c4cb6[_0x5d69ed(0x191)]);break;}case S[_0x5d69ed(0x2b7)][_0x5d69ed(0x1fb)]:{this[_0x5d69ed(0x1af)]();break;}case S['CollaborationEvent'][_0x5d69ed(0x2a6)]:{this['_onRemoteRetry'](_0x2c4cb6[_0x5d69ed(0x191)]);break;}case S[_0x5d69ed(0x2b7)][_0x5d69ed(0xc8)]:{this[_0x5d69ed(0x4cf)](_0x2c4cb6[_0x5d69ed(0x191)]['changesets'][_0x5d69ed(0x2dc)](_0xe5657d=>S[_0x5d69ed(0x4d2)](_0xe5657d)));break;}case S[_0x5d69ed(0x2b7)][_0x5d69ed(0x25a)]:this[_0x5d69ed(0x1af)]({'isPermissionRej':!0x0});}}catch(_0x232e88){throw console['error'](_0x5d69ed(0xca),_0x232e88),_0x232e88;}})),this[_0x4ac8d3(0x499)];}[_0x2fc972(0x315)](){const _0x4c85ae=_0x2fc972;this[_0x4c85ae(0x13c)]=!0x1;}[_0x2fc972(0x449)](){const _0x3746a5=_0x2fc972;if(this[_0x3746a5(0x13c)])throw new Error(_0x3746a5(0x32d));this[_0x3746a5(0x13c)]=!0x0;}[_0x2fc972(0x461)](_0x1ee4c8){const _0x207b36=_0x2fc972;this[_0x207b36(0x449)](),this[_0x207b36(0x523)](this[_0x207b36(0x499)]['appendMutation'](_0x1ee4c8)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x634dfc){const _0x43d6a8=_0x2fc972;if(!(_0x634dfc[_0x43d6a8(0x414)]<=this[_0x43d6a8(0x11e)][_0x43d6a8(0xc9)](this[_0x43d6a8(0xbc)]))){if(this[_0x43d6a8(0xef)]){this['_remoteChangesetQueue']['push'](_0x634dfc);return;}this[_0x43d6a8(0x395)](_0x634dfc);}}[_0x2fc972(0x3fb)](){const _0x158b6=_0x2fc972;this[_0x158b6(0x27e)][_0x158b6(0x422)](_0x4ff509=>this[_0x158b6(0x395)](_0x4ff509)),this[_0x158b6(0x27e)]=[];}[_0x2fc972(0x395)](_0x451d4d){const _0x33e248=_0x2fc972,_0x412919=this[_0x33e248(0x412)][_0x33e248(0x126)][_0x33e248(0x46c)](this[_0x33e248(0x412)]['interceptor'][_0x33e248(0x2e3)]()[_0x33e248(0x36b)])(_0x451d4d['mutations'],null)||_0x451d4d['mutations'],_0x2224f0={..._0x451d4d,'mutations':_0x412919};this[_0x33e248(0x449)](),this['_updateState'](this['_state'][_0x33e248(0x3ac)](_0x2224f0)),this[_0x33e248(0x315)]();}[_0x2fc972(0x12f)](_0x57c517){const _0xe294b0=_0x2fc972;this[_0xe294b0(0x449)](),this[_0xe294b0(0x523)](this['_state'][_0xe294b0(0x206)](_0x57c517)),this['_unlockTransition']();}[_0x2fc972(0x1af)](_0x15e5b5){const _0x1d19c6=_0x2fc972;this[_0x1d19c6(0x449)](),this['_updateState'](this[_0x1d19c6(0x499)][_0x1d19c6(0x352)](_0x15e5b5)),this[_0x1d19c6(0x315)]();}['_onRemoteRetry'](_0x5b00f2){const _0x17b772=_0x2fc972;this['_lockTransition'](),this[_0x17b772(0x523)](this[_0x17b772(0x499)][_0x17b772(0xb9)](_0x5b00f2)),this['_unlockTransition']();}[_0x2fc972(0x4cf)](_0x241077){const _0x4a1e40=_0x2fc972;if(!(this[_0x4a1e40(0x499)]instanceof re))throw new TypeError(_0x4a1e40(0x2f5));const _0x35ac1c=_0x241077[_0x4a1e40(0x2dc)](_0x5e574b=>{const _0x138ebd=_0x4a1e40,_0x487d40=this['_compressMutationService']['interceptor'][_0x138ebd(0x46c)](this[_0x138ebd(0x412)][_0x138ebd(0x126)]['getInterceptPoints']()[_0x138ebd(0x36b)])(_0x5e574b[_0x138ebd(0x492)],null)||_0x5e574b['mutations'];return{..._0x5e574b,'mutations':_0x487d40};});this[_0x4a1e40(0x449)](),this[_0x4a1e40(0x523)](this[_0x4a1e40(0x499)]['onMissedChangesetFetched'](_0x35ac1c)),this[_0x4a1e40(0x315)]();}[_0x2fc972(0x152)](){const _0x42697e=_0x2fc972;this[_0x42697e(0x449)](),this[_0x42697e(0x523)](this[_0x42697e(0x499)][_0x42697e(0x288)]()),this[_0x42697e(0x315)]();}[_0x2fc972(0x353)](_0xe9f6a5=!0x1){const _0x3701a0=_0x2fc972;this['_lockTransition'](),this[_0x3701a0(0x523)](this[_0x3701a0(0x499)]['toggleOnline']()),this[_0x3701a0(0x315)]();const _0x9dc04b=this[_0x3701a0(0x499)];_0xe9f6a5&&_0x9dc04b instanceof Oe&&(this[_0x3701a0(0x449)](),this['_updateState'](_0x9dc04b[_0x3701a0(0x41c)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x1e439a=>{const _0x1b4159=_0x10d1;this['session'][_0x1b4159(0x4cb)][_0x1b4159(0x54d)](A[_0x1b4159(0x4dc)](0x1))[_0x1b4159(0x243)](async _0x51523e=>{_0x1e439a(await this['_createInitialStateImpl'](_0x51523e===se['ONLINE']));});});}[_0x2fc972(0x323)](){const _0x5ac710=this['unitID'];return{'onStateChange':(_0x621822,_0x5dd87e)=>{const _0x3691a3=_0x10d1;if(_0x621822!==this[_0x3691a3(0x499)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x621822['status']+'\x0aAfter:\x20'+_0x5dd87e[_0x3691a3(0x3c9)]+_0x3691a3(0x1ee)+this['_state'][_0x3691a3(0x3c9)]);this[_0x3691a3(0x523)](_0x5dd87e);},'onSendChangeset':_0x1d2441=>{const _0x449967=_0x10d1;_0x1d2441[_0x449967(0x162)]||(_0x1d2441[_0x449967(0x162)]=this[_0x449967(0x4a2)],_0x1d2441['reqId']=++this[_0x449967(0x12a)]);const _0x532ff6={'eventID':S[_0x449967(0x2b7)][_0x449967(0x306)],'data':{'unitID':_0x1d2441['unitID'],'unitType':this['_type'],'changeset':_0x1d2441,'memberID':this[_0x449967(0x2b2)]['getMemberID']()}};this[_0x449967(0x2b2)][_0x449967(0x3b3)](_0x532ff6,this[_0x449967(0xbc)]);},'onMissingChangesets':({from:_0x3e43b0,to:_0x38f421})=>{const _0x586410=_0x10d1;this['_logService'][_0x586410(0x17a)](_0x586410(0x50e),_0x586410(0x16a)+_0x3e43b0+_0x586410(0x1ec)+_0x38f421);const _0xef6d14={'eventID':S[_0x586410(0x2b7)]['FETCH_MISSING'],'data':{'unitID':_0x5ac710,'unitType':this[_0x586410(0xc4)],'from':_0x3e43b0,'to':_0x38f421}};this[_0x586410(0x2b2)]['send'](_0xef6d14,this[_0x586410(0xbc)]);}};}async[_0x2fc972(0x382)](_0xbaef9a){const _0x29a571=_0x2fc972;var _0x1043b3,_0x3ce600;const _0x538501=await this[_0x29a571(0x12d)][_0x29a571(0x47c)](this[_0x29a571(0xbc)]),_0x41f77f=(_0x1043b3=_0x538501==null?void 0x0:_0x538501[_0x29a571(0x492)])!=null?_0x1043b3:[],_0x350306=(_0x3ce600=_0x538501==null?void 0x0:_0x538501['awaitingChangeset'])!=null?_0x3ce600:null,_0x4e3c25=!!(_0x350306!=null&&_0x350306[_0x29a571(0x162)])&&!!(_0x350306!=null&&_0x350306['reqId']);this['_changesetSessionId']=_0x4e3c25?_0x350306['sid']:mi(),this[_0x29a571(0x12a)]=_0x4e3c25?_0x350306[_0x29a571(0x4dd)]:0x0;const _0x2099fa=this[_0x29a571(0xbc)];try{this[_0x29a571(0x185)](_0x350306,_0x41f77f);}catch(_0x58d8e2){this[_0x29a571(0x3e5)][_0x29a571(0x2be)](_0x58d8e2);}const _0x255827=this[_0x29a571(0x323)]();if(_0xbaef9a){const _0x3d3858=mn(this['_injector'],_0x2099fa,this[_0x29a571(0xc4)],_0x350306,_0x41f77f,_0x255827);return _0x3d3858 instanceof ce?_0x3d3858[_0x29a571(0x429)]():(_0x3d3858 instanceof le||_0x3d3858 instanceof fe)&&_0x3d3858[_0x29a571(0x124)](),_0x3d3858;}return this[_0x29a571(0x2bd)][_0x29a571(0x176)](me,_0x2099fa,this[_0x29a571(0xc4)],_0x350306,_0x41f77f,_0x255827);}['_replayCachedMutations'](_0x4a1110,_0x5502ff){const _0x2f85d4=_0x2fc972;var _0x29066a,_0x81ee8f;const _0x38adea=this['_compressMutationService'][_0x2f85d4(0x126)][_0x2f85d4(0x46c)](this[_0x2f85d4(0x412)][_0x2f85d4(0x126)]['getInterceptPoints']()[_0x2f85d4(0x36b)]);(_0x29066a=_0x38adea((_0x4a1110==null?void 0x0:_0x4a1110[_0x2f85d4(0x492)])||[],null))==null||_0x29066a[_0x2f85d4(0x422)](_0x1bbe4e=>this[_0x2f85d4(0x3be)][_0x2f85d4(0xc0)](_0x1bbe4e['id'],_0x1bbe4e['params'])),(_0x81ee8f=_0x38adea(_0x5502ff||[],null))==null||_0x81ee8f[_0x2f85d4(0x422)](_0x31d4e3=>this['_commandService'][_0x2f85d4(0xc0)](_0x31d4e3['id'],_0x31d4e3[_0x2f85d4(0x2ad)]));}},exports[_0x2fc972(0x333)]=yt([H(0x3,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),H(0x4,a[_0x2fc972(0xde)](exports['LocalCacheService'])),H(0x5,a['Inject'](S[_0x2fc972(0xe1)])),H(0x6,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)])),H(0x7,a[_0x2fc972(0xde)](S[_0x2fc972(0x347)])),H(0x8,a[_0x2fc972(0x1fc)]),H(0x9,a['ICommandService']),H(0xa,ee['IMessageService']),H(0xb,a['IPermissionService']),H(0xc,a[_0x2fc972(0x457)](qe))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x2fc972(0x333)]{constructor(_0x13258b,_0xbcb709,_0x2b9e6c,_0x47d3a3,_0x3d0e5e,_0x1e23ed,_0x1386d0,_0x4d11dd,_0x7c3385,_0x167958,_0x25cc87,_0xedcf5b,_0x5bc971,_0x466681,_0x2b1c90,_0x470e9b,_0x126246,_0x2e0ce7){const _0x295266=_0x2fc972;super(_0x13258b,_0x2b9e6c,_0xbcb709,_0x47d3a3,_0x3d0e5e,_0x1e23ed,_0x1386d0,_0x4d11dd,_0x466681,_0x2b1c90,_0x470e9b,_0x126246,_0x2e0ce7),this['unitID']=_0x13258b,this[_0x295266(0xc1)]=_0xbcb709,this[_0x295266(0x35f)]=_0x7c3385,this[_0x295266(0x31c)]=_0x167958,this[_0x295266(0x377)]=_0x25cc87,this['_docTransformSelectionsService']=_0xedcf5b,this[_0x295266(0x23d)]=_0x5bc971;}['_createHandler'](){const _0x2cbbff=_0x2fc972,_0x1a35ee=super['_createHandler']();return _0x1a35ee[_0x2cbbff(0x2fc)]=_0x4b2e61=>this[_0x2cbbff(0x31c)]['transformIMECache'](_0x4b2e61),_0x1a35ee['onTransformState']=_0x2fe004=>this[_0x2cbbff(0x377)][_0x2cbbff(0xfb)](_0x2fe004),_0x1a35ee[_0x2cbbff(0x267)]=_0x3ca549=>this[_0x2cbbff(0x427)][_0x2cbbff(0x1b5)](_0x3ca549),_0x1a35ee['onSyncEditingCollabCursor']=_0x4834b7=>this[_0x2cbbff(0x23d)][_0x2cbbff(0x537)](_0x4834b7),_0x1a35ee[_0x2cbbff(0x549)]=_0x3ce9b9=>this['_docTransformIMECacheService'][_0x2cbbff(0x2fa)](_0x3ce9b9),_0x1a35ee[_0x2cbbff(0x335)]=_0x1c28e0=>this[_0x2cbbff(0x377)]['transformRemoteChangeset'](_0x1c28e0),_0x1a35ee;}async[_0x2fc972(0x192)](){const _0x5a4676=_0x2fc972,_0x91fab8=await super[_0x5a4676(0x192)]();return this[_0x5a4676(0x35f)][_0x5a4676(0xb6)][_0x5a4676(0x54d)](A[_0x5a4676(0x26d)](this[_0x5a4676(0x391)]))[_0x5a4676(0x243)](_0x3d20dc=>{const _0x2e0204=_0x5a4676;if(_0x3d20dc==null)return;const {unitId:_0x399383,redoState:_0x3edb77,commandId:_0x567234}=_0x3d20dc;if(_0x399383!==this[_0x2e0204(0xbc)])return;const _0xec48b7={'id':_0x567234,'type':a[_0x2e0204(0x338)][_0x2e0204(0x3d8)],'params':{'unitId':_0x399383,'actions':_0x3edb77[_0x2e0204(0x4ac)],'textRanges':null}};this[_0x2e0204(0x461)](_0xec48b7);}),_0x91fab8;}},exports[_0x2fc972(0x53f)]=yt([H(0x3,a[_0x2fc972(0xde)](a['Injector'])),H(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),H(0x5,a[_0x2fc972(0xde)](S['CompressMutationService'])),H(0x6,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)])),H(0x7,a[_0x2fc972(0xde)](S['RevisionService'])),H(0x8,a[_0x2fc972(0xde)](J[_0x2fc972(0x2f2)])),H(0x9,a[_0x2fc972(0xde)](Be)),H(0xa,a[_0x2fc972(0xde)](We)),H(0xb,a[_0x2fc972(0xde)](Fe)),H(0xc,a[_0x2fc972(0xde)](Rt)),H(0xd,a[_0x2fc972(0x1fc)]),H(0xe,a[_0x2fc972(0x451)]),H(0xf,ee['IMessageService']),H(0x10,a[_0x2fc972(0x179)]),H(0x11,a[_0x2fc972(0x457)](qe))],exports[_0x2fc972(0x53f)]),exports[_0x2fc972(0x49e)]=class extends exports[_0x2fc972(0x333)]{constructor(_0x377bac,_0x23d77d,_0x22801a,_0x13d6df,_0x2fbe87,_0x183db1,_0x580836,_0x59b7b5,_0x5a9792,_0x58bf6f,_0x11a1dd,_0x24f285,_0x4aea6c,_0x1dc735){const _0x251f72=_0x2fc972;super(_0x377bac,_0x22801a,_0x23d77d,_0x13d6df,_0x2fbe87,_0x183db1,_0x580836,_0x59b7b5,_0x58bf6f,_0x11a1dd,_0x24f285,_0x4aea6c,_0x1dc735),this['unitID']=_0x377bac,this['type']=_0x23d77d,this[_0x251f72(0x307)]=_0x5a9792;}['_createHandler'](){const _0x1913a8=_0x2fc972,_0x2bc06f=super[_0x1913a8(0x323)]();return _0x2bc06f[_0x1913a8(0x267)]=_0x5a8f95=>this[_0x1913a8(0x307)][_0x1913a8(0x1b5)](_0x5a8f95),_0x2bc06f;}async[_0x2fc972(0x192)](){const _0xc8ad31=_0x2fc972,_0x37c249=await super[_0xc8ad31(0x192)]();return this[_0xc8ad31(0x1a7)](this[_0xc8ad31(0x3be)][_0xc8ad31(0x2d6)]((_0xf54df5,_0x845d94)=>{const _0x2e23e5=_0xc8ad31;if(_0xf54df5[_0x2e23e5(0xc1)]!==a[_0x2e23e5(0x338)][_0x2e23e5(0x3d8)]||_0x845d94!=null&&_0x845d94['fromCollab']||_0x845d94!=null&&_0x845d94[_0x2e23e5(0x3fc)])return;const _0x8f1b=_0xf54df5['params'];if((_0x8f1b==null?void 0x0:_0x8f1b[_0x2e23e5(0xb5)])!==this['unitID'])return;const _0x4c06e9=_0xf54df5,_0x343536=this['_compressMutationService'][_0x2e23e5(0x126)][_0x2e23e5(0x46c)](this[_0x2e23e5(0x412)]['interceptor'][_0x2e23e5(0x2e3)]()[_0x2e23e5(0x344)])([_0x4c06e9],null)||[_0x4c06e9];this[_0x2e23e5(0x461)](_0x343536[0x0]);})),_0x37c249;}},exports[_0x2fc972(0x49e)]=yt([H(0x3,a[_0x2fc972(0xde)](a['Injector'])),H(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),H(0x5,a[_0x2fc972(0xde)](S['CompressMutationService'])),H(0x6,a[_0x2fc972(0xde)](a['LocaleService'])),H(0x7,a[_0x2fc972(0xde)](S[_0x2fc972(0x347)])),H(0x8,a['Inject'](ke)),H(0x9,a['ILogService']),H(0xa,a[_0x2fc972(0x451)]),H(0xb,ee[_0x2fc972(0x374)]),H(0xc,a['IPermissionService']),H(0xd,a[_0x2fc972(0x457)](qe))],exports[_0x2fc972(0x49e)]);var Wi=Object['defineProperty'],Fi=Object['getOwnPropertyDescriptor'],Vi=(_0x38e7c0,_0x149810,_0x8a8837,_0xfa3b5d)=>{const _0x14a904=_0x2fc972;for(var _0x1f85b4=_0xfa3b5d>0x1?void 0x0:_0xfa3b5d?Fi(_0x149810,_0x8a8837):_0x149810,_0x4cd108=_0x38e7c0[_0x14a904(0x14d)]-0x1,_0x1b4c24;_0x4cd108>=0x0;_0x4cd108--)(_0x1b4c24=_0x38e7c0[_0x4cd108])&&(_0x1f85b4=(_0xfa3b5d?_0x1b4c24(_0x149810,_0x8a8837,_0x1f85b4):_0x1b4c24(_0x1f85b4))||_0x1f85b4);return _0xfa3b5d&&_0x1f85b4&&Wi(_0x149810,_0x8a8837,_0x1f85b4),_0x1f85b4;},tt=(_0x25abd8,_0x4bc272)=>(_0x5eafac,_0x9b720a)=>_0x4bc272(_0x5eafac,_0x9b720a,_0x25abd8);exports[_0x2fc972(0x500)]=class extends a[_0x2fc972(0x222)]{constructor(_0x1bf287,_0x167e1a,_0x39ec2c){const _0x486fc9=_0x2fc972;super(),I(this,'_entities',new Map()),I(this,_0x486fc9(0x445),new A[(_0x486fc9(0xd4))]()),(this[_0x486fc9(0x2bd)]=_0x1bf287,this[_0x486fc9(0x381)]=_0x167e1a,this[_0x486fc9(0x4d3)]=_0x39ec2c,this[_0x486fc9(0x192)]());}[_0x2fc972(0x324)](){const _0x521982=_0x2fc972;super[_0x521982(0x324)](),this[_0x521982(0xd2)]['forEach'](_0xbbb307=>_0xbbb307[_0x521982(0x324)]()),this[_0x521982(0xd2)][_0x521982(0x211)]();}[_0x2fc972(0x3ea)](_0x3aac8b){const _0x343a46=_0x2fc972;var _0x234ca9;return(_0x234ca9=this[_0x343a46(0xd2)][_0x343a46(0x3cf)](_0x3aac8b))!=null?_0x234ca9:null;}[_0x2fc972(0x506)](_0x2aade7){const _0x132298=_0x2fc972,_0x5948e5=this[_0x132298(0x3ea)](_0x2aade7);return _0x5948e5?A['of'](_0x5948e5):this[_0x132298(0x445)][_0x132298(0x54d)](V[_0x132298(0xda)](_0x43d57=>_0x43d57[_0x132298(0xbc)]===_0x2aade7));}[_0x2fc972(0x192)](){const _0x54b2c1=_0x2fc972;this[_0x54b2c1(0x4d3)][_0x54b2c1(0x41f)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x54b2c1(0x54d)](A[_0x54b2c1(0x26d)](this[_0x54b2c1(0x391)]),V[_0x54b2c1(0x404)](0x10))['subscribe'](async _0x38f247=>{const _0x3175a6=_0x54b2c1,_0x1c2a1b=_0x38f247[_0x3175a6(0x12b)](),_0x55f518=await this[_0x3175a6(0x4b4)](_0x1c2a1b,ie[_0x3175a6(0x252)]);this[_0x3175a6(0xd2)][_0x3175a6(0x3ef)](_0x1c2a1b,_0x55f518);}),this[_0x54b2c1(0x4d3)]['getTypeOfUnitAdded$'](a[_0x54b2c1(0x172)][_0x54b2c1(0x22f)])[_0x54b2c1(0x54d)](A[_0x54b2c1(0x26d)](this[_0x54b2c1(0x391)]),V[_0x54b2c1(0x404)](0x10))[_0x54b2c1(0x54d)](V['filter'](_0x1e98a2=>!_0x1e98a2[_0x54b2c1(0x12b)]()[_0x54b2c1(0x14c)]('__')))[_0x54b2c1(0x243)](async _0xb8a79a=>{const _0x54c875=_0x54b2c1,_0x3aaf20=_0xb8a79a[_0x54c875(0x12b)](),_0x3c6053=await this[_0x54c875(0x4b4)](_0x3aaf20,ie[_0x54c875(0x22f)]);this[_0x54c875(0xd2)]['set'](_0x3aaf20,_0x3c6053);}),A['merge'](this[_0x54b2c1(0x4d3)][_0x54b2c1(0x4fa)](a[_0x54b2c1(0x172)][_0x54b2c1(0x252)]),this['_univerInstanceService'][_0x54b2c1(0x4fa)](a['UniverInstanceType'][_0x54b2c1(0x22f)]))['pipe'](A['takeUntil'](this[_0x54b2c1(0x391)]))[_0x54b2c1(0x243)](_0x10de2d=>{const _0xa51000=_0x54b2c1,_0x26fc2d=_0x10de2d[_0xa51000(0x12b)](),_0x15a930=this[_0xa51000(0xd2)][_0xa51000(0x3cf)](_0x26fc2d);_0x15a930&&(_0x15a930['dispose'](),this[_0xa51000(0xd2)][_0xa51000(0x332)](_0x26fc2d));});}async[_0x2fc972(0x4b4)](_0x451448,_0x5e39e1){const _0x45baba=_0x2fc972,_0x543554=await this[_0x45baba(0x381)][_0x45baba(0x42c)](_0x451448),_0x1d808e=this['_injector'][_0x45baba(0x176)](this[_0x45baba(0x4d9)](_0x5e39e1),_0x451448,_0x5e39e1,_0x543554);return await _0x1d808e[_0x45baba(0x173)](),this[_0x45baba(0x445)][_0x45baba(0x450)](_0x1d808e),_0x1d808e;}[_0x2fc972(0x4d9)](_0x12c0d2){const _0x50e62d=_0x2fc972;switch(_0x12c0d2){case ie[_0x50e62d(0x22f)]:return exports[_0x50e62d(0x53f)];case ie['UNIVER_SHEET']:return exports[_0x50e62d(0x49e)];default:throw new Error(_0x50e62d(0x17c)+_0x12c0d2);}}},exports[_0x2fc972(0x500)]=Vi([tt(0x0,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),tt(0x1,a[_0x2fc972(0xde)](exports[_0x2fc972(0x45d)])),tt(0x2,a[_0x2fc972(0x3b9)])],exports[_0x2fc972(0x500)]);const $t=['purple300','jiqing500',_0x2fc972(0x25d),_0x2fc972(0x488),_0x2fc972(0x201),_0x2fc972(0x42b)];class Ot extends a[_0x2fc972(0x37c)]{constructor(){const _0xcd7611=_0x2fc972;super(...arguments),I(this,_0xcd7611(0x53c),new Map()),I(this,_0xcd7611(0x273),0x0);}[_0x2fc972(0x115)](_0x44eb51){const _0x2f7a5e=_0x2fc972;if(this[_0x2f7a5e(0x53c)]['has'](_0x44eb51))return this['_assignedColors'][_0x2f7a5e(0x3cf)](_0x44eb51);const _0x18d932=$t[this[_0x2f7a5e(0x273)]];return this[_0x2f7a5e(0x273)]=(this[_0x2f7a5e(0x273)]+0x1)%$t[_0x2f7a5e(0x14d)],this[_0x2f7a5e(0x53c)][_0x2f7a5e(0x3ef)](_0x44eb51,_0x18d932),_0x18d932;}}var Gi=Object[_0x2fc972(0x356)],Yi=Object['getOwnPropertyDescriptor'],Ki=(_0x3a7702,_0x1db105,_0x5defdb,_0x3aa2fc)=>{const _0x566a8c=_0x2fc972;for(var _0x50d00b=_0x3aa2fc>0x1?void 0x0:_0x3aa2fc?Yi(_0x1db105,_0x5defdb):_0x1db105,_0x1375c6=_0x3a7702[_0x566a8c(0x14d)]-0x1,_0x5070a2;_0x1375c6>=0x0;_0x1375c6--)(_0x5070a2=_0x3a7702[_0x1375c6])&&(_0x50d00b=(_0x3aa2fc?_0x5070a2(_0x1db105,_0x5defdb,_0x50d00b):_0x5070a2(_0x50d00b))||_0x50d00b);return _0x3aa2fc&&_0x50d00b&&Gi(_0x1db105,_0x5defdb,_0x50d00b),_0x50d00b;},Se=(_0xb2e35a,_0x367155)=>(_0xa0d9cc,_0x32a62b)=>_0x367155(_0xa0d9cc,_0x32a62b,_0xb2e35a);const qi=0x12c,zi=0x64;let mt=class extends a[_0x2fc972(0x222)]{constructor(_0x5535f5,_0x388502,_0x1964f7,_0x487102,_0x255aa7,_0x4abb4c,_0x217449,_0x2dd4e7,_0x15e6c8){const _0x115b50=_0x2fc972;super(),I(this,_0x115b50(0x1b1),!0x1),I(this,_0x115b50(0x192),!0x1),I(this,_0x115b50(0x4ef),new A['BehaviorSubject'](new Map())),I(this,_0x115b50(0x32c),this[_0x115b50(0x4ef)][_0x115b50(0x1f3)]()),I(this,_0x115b50(0x3b2),new A[(_0x115b50(0x130))]([])),I(this,_0x115b50(0x420),this[_0x115b50(0x3b2)][_0x115b50(0x54d)](A[_0x115b50(0x2ac)](qi))),I(this,'_updateLocalCursor',a['debounce'](_0x3aeb4b=>{const _0x247e6e=_0x115b50,_0x1c7287={'eventID':S[_0x247e6e(0x2b7)][_0x247e6e(0x1be)],'data':{'unitID':this[_0x247e6e(0xbc)],'memberID':this[_0x247e6e(0x46f)][_0x247e6e(0x287)](),'selection':dn(_0x3aeb4b)}};this[_0x247e6e(0x46f)]['send'](_0x1c7287,this[_0x247e6e(0xbc)]);},zi)),(this['unitID']=_0x5535f5,this['_session']=_0x388502,this[_0x115b50(0x2bd)]=_0x1964f7,this[_0x115b50(0x2f6)]=_0x487102,this[_0x115b50(0x35d)]=_0x255aa7,this[_0x115b50(0x3a5)]=_0x4abb4c,this[_0x115b50(0x116)]=_0x217449,this[_0x115b50(0x4d3)]=_0x2dd4e7,this['_commandService']=_0x15e6c8);}get[_0x2fc972(0x177)](){const _0xf4ce94=_0x2fc972;return this[_0xf4ce94(0x4ef)]['getValue']();}get[_0x2fc972(0x37a)](){const _0x118e78=_0x2fc972;return this[_0x118e78(0x3b2)][_0x118e78(0x4a3)]();}['dispose'](){const _0x36deba=_0x2fc972;super[_0x36deba(0x324)](),this[_0x36deba(0x4ef)][_0x36deba(0x450)](new Map()),this[_0x36deba(0x4ef)]['complete'](),this[_0x36deba(0x3b2)][_0x36deba(0x450)]([]),this['_roomMembers$']['complete']();}[_0x2fc972(0x173)](){const _0x58fbb6=_0x2fc972;this[_0x58fbb6(0x192)]||(this['_init']=!0x0,this[_0x58fbb6(0x46f)][_0x58fbb6(0x4cb)]['pipe'](A[_0x58fbb6(0x26d)](this[_0x58fbb6(0x391)]))[_0x58fbb6(0x243)](_0x3d8c30=>{const _0x2a6902=_0x58fbb6;_0x3d8c30===se[_0x2a6902(0x30f)]?this['_toggleOnline']():this[_0x2a6902(0x152)]();}),this['_session'][_0x58fbb6(0x312)][_0x58fbb6(0x54d)](A['takeUntil'](this['dispose$']))[_0x58fbb6(0x243)](_0x5b347a=>{const _0x2825e5=_0x58fbb6,_0x5ae358=_0x5b347a['eventID'];_0x5ae358===S[_0x2825e5(0x2b7)][_0x2825e5(0x1be)]&&this['_onCursorUpdate'](_0x5b347a),_0x5ae358===S[_0x2825e5(0x2b7)][_0x2825e5(0x50a)]&&this[_0x2825e5(0x134)](_0x5b347a);}),this[_0x58fbb6(0x1a7)](this[_0x58fbb6(0x3be)][_0x58fbb6(0x2d6)](_0x146fa4=>{const _0x3047c3=_0x58fbb6,_0x26f6e1=_0x146fa4[_0x3047c3(0x2ad)];_0x26f6e1!=null&&this[_0x3047c3(0x1b1)]&&_0x146fa4['id']===ye[_0x3047c3(0x127)]['id']&&_0x26f6e1['unitId']===this['unitID']&&_0x26f6e1['isEditing']===!0x1&&_0x26f6e1[_0x3047c3(0x410)]['length']>0x0&&this['_updateLocalCursor'](_0x26f6e1['ranges']);})),this[_0x58fbb6(0x3a5)][_0x58fbb6(0x383)][_0x58fbb6(0x54d)](A[_0x58fbb6(0x26d)](this['dispose$']))[_0x58fbb6(0x243)](_0x2562e5=>{const _0x2881a9=_0x58fbb6;if((_0x2562e5==null?void 0x0:_0x2562e5[_0x2881a9(0xbc)])!==this[_0x2881a9(0xbc)])return;const _0xfa51f9={'eventID':S[_0x2881a9(0x2b7)][_0x2881a9(0x1be)],'data':_0x2562e5};this[_0x2881a9(0x376)](_0xfa51f9);}),this[_0x58fbb6(0x1a7)](this['_commandService'][_0x58fbb6(0x2d6)](_0x2db3b1=>{const _0x5830ed=_0x58fbb6;if(_0x2db3b1[_0x5830ed(0x2ad)]==null)return;const _0x58eac7=_0x2db3b1[_0x5830ed(0x2ad)];if(_0x2db3b1['id']!==ye[_0x5830ed(0x2cc)]['id']||_0x58eac7[_0x5830ed(0xb5)]!==this['unitID'])return;const _0x2b5da2={'id':_0x5830ed(0x30d),'params':_0x58eac7},_0x35d6b1=this[_0x5830ed(0x177)];for(const [_0xc15d6b,_0x5698ad]of _0x35d6b1){const _0x53a826={'id':_0x5830ed(0x30d),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5698ad[_0x5830ed(0x410)]}},_0x585d75=this['_transformService'][_0x5830ed(0x2c5)](_0x2b5da2,_0x53a826,!0x1);if(S[_0x5830ed(0x107)](_0x585d75))throw _0x585d75[_0x5830ed(0x2be)];_0x35d6b1[_0x5830ed(0x3ef)](_0xc15d6b,{..._0x5698ad,'ranges':_0x585d75[_0x5830ed(0x1e2)][_0x5830ed(0x2ad)][_0x5830ed(0x466)]});}queueMicrotask(()=>{const _0x739110=_0x5830ed;this[_0x739110(0x4ef)]['next'](_0x35d6b1);});})));}['_onCursorUpdate'](_0x12f6ee){const _0x3e53ae=_0x2fc972;var _0x1767d2,_0x2f443a;const {memberID:_0x7248f2,selection:_0x37cfe3}=_0x12f6ee[_0x3e53ae(0x191)],_0x58f238=Ui(_0x37cfe3),_0x178140=(_0x2f443a=(_0x1767d2=this[_0x3e53ae(0x35d)][_0x3e53ae(0x2bc)](this[_0x3e53ae(0xbc)],_0x7248f2))==null?void 0x0:_0x1767d2[_0x3e53ae(0xab)])!=null?_0x2f443a:_0x3e53ae(0x33d),_0x172874={'color':this[_0x3e53ae(0x2f6)]['assignAColorForMemberID'](_0x7248f2),'name':_0x178140,'ranges':_0x58f238},_0x28a1dc=this[_0x3e53ae(0x177)];_0x28a1dc[_0x3e53ae(0x3ef)](_0x7248f2,_0x172874),this['_cursorInfo$']['next'](_0x28a1dc);}[_0x2fc972(0x134)](_0x50e9d0){const {memberID:_0x16ff15}=_0x50e9d0['data'],_0x5944cc=this['cursorInfo'];_0x5944cc['delete'](_0x16ff15),this['_cursorInfo$']['next'](_0x5944cc);}['_toggleOnline'](){const _0x11f08a=_0x2fc972;var _0x204db4;if(this['_online']=!0x0,((_0x204db4=this[_0x11f08a(0x4d3)][_0x11f08a(0x2df)]())==null?void 0x0:_0x204db4[_0x11f08a(0x12b)]())!==this[_0x11f08a(0xbc)])return;const _0x413b8e=this['_injector']['get'](ye[_0x11f08a(0x30c)])[_0x11f08a(0x4da)]();Array[_0x11f08a(0x249)](_0x413b8e)&&_0x413b8e['length']>0x0&&this[_0x11f08a(0x2af)](_0x413b8e);}[_0x2fc972(0x152)](){this['_online']=!0x1;}};mt=Ki([Se(0x2,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),Se(0x3,a[_0x2fc972(0xde)](Ot)),Se(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x120)])),Se(0x5,a[_0x2fc972(0xde)](Rt)),Se(0x6,S[_0x2fc972(0x4a4)]),Se(0x7,a[_0x2fc972(0x3b9)]),Se(0x8,a['ICommandService'])],mt);var Xi=Object[_0x2fc972(0x356)],Ji=Object[_0x2fc972(0x423)],Zi=(_0x2e9a3f,_0x21044a,_0x5ea7b8,_0x35c029)=>{const _0x43df76=_0x2fc972;for(var _0x32fc57=_0x35c029>0x1?void 0x0:_0x35c029?Ji(_0x21044a,_0x5ea7b8):_0x21044a,_0x443acf=_0x2e9a3f[_0x43df76(0x14d)]-0x1,_0x2b7bbe;_0x443acf>=0x0;_0x443acf--)(_0x2b7bbe=_0x2e9a3f[_0x443acf])&&(_0x32fc57=(_0x35c029?_0x2b7bbe(_0x21044a,_0x5ea7b8,_0x32fc57):_0x2b7bbe(_0x32fc57))||_0x32fc57);return _0x35c029&&_0x32fc57&&Xi(_0x21044a,_0x5ea7b8,_0x32fc57),_0x32fc57;},be=(_0x2635a7,_0x26c4be)=>(_0x41a1c7,_0x475661)=>_0x26c4be(_0x41a1c7,_0x475661,_0x2635a7);const Qi=0x12c,es=0x64,ts=()=>{let _0x17f1eb=[],_0x430bc4=!0x1;return _0x5732a8=>{const _0x35b270=_0x10d1;_0x17f1eb[_0x35b270(0x540)](_0x5732a8),_0x430bc4||(_0x430bc4=!0x0,setTimeout(()=>{const _0x1160d3=_0x35b270;_0x17f1eb[_0x1160d3(0x422)](_0x547d10=>_0x547d10()),_0x17f1eb=[],_0x430bc4=!0x1;}));};};let St=class extends a[_0x2fc972(0x222)]{constructor(_0x34c538,_0x51573c,_0x389931,_0x5c4e0d,_0x19fe6a,_0x12ea49,_0x5b82f8,_0x3049b8){const _0xe40262=_0x2fc972;super(),I(this,_0xe40262(0x1b1),!0x1),I(this,_0xe40262(0x192),!0x1),I(this,'_cursorInfo$',new A[(_0xe40262(0x130))](new Map())),I(this,_0xe40262(0x32c),this[_0xe40262(0x4ef)][_0xe40262(0x1f3)]()),I(this,_0xe40262(0x3b2),new A['BehaviorSubject']([])),I(this,_0xe40262(0x420),this[_0xe40262(0x3b2)]['pipe'](A['debounceTime'](Qi))),I(this,_0xe40262(0x2af),a[_0xe40262(0x1f1)]((_0x4ed97e,_0x1267e6)=>{const _0x4779ae=_0xe40262,_0x324345={'eventID':S[_0x4779ae(0x2b7)][_0x4779ae(0x1be)],'data':{'unitID':this['unitID'],'memberID':this[_0x4779ae(0x46f)]['getMemberID'](),'selection':Pt[_0x4779ae(0x486)](_0x4ed97e,_0x1267e6[_0x4779ae(0xbd)])}};this['_session'][_0x4779ae(0x3b3)](_0x324345,this['unitID']);},es)),(this['unitID']=_0x34c538,this['_session']=_0x51573c,this['_injector']=_0x389931,this[_0xe40262(0x2f6)]=_0x5c4e0d,this[_0xe40262(0x35d)]=_0x19fe6a,this[_0xe40262(0x4d3)]=_0x12ea49,this['_commandService']=_0x5b82f8,this[_0xe40262(0x52d)]=_0x3049b8);}get['cursorInfo'](){const _0x2f5645=_0x2fc972;return this[_0x2f5645(0x4ef)][_0x2f5645(0x4a3)]();}get[_0x2fc972(0x37a)](){const _0x2895e0=_0x2fc972;return this[_0x2895e0(0x3b2)][_0x2895e0(0x4a3)]();}[_0x2fc972(0x324)](){const _0x54fe4a=_0x2fc972;super[_0x54fe4a(0x324)](),this['_cursorInfo$'][_0x54fe4a(0x450)](new Map()),this[_0x54fe4a(0x4ef)][_0x54fe4a(0x4b9)](),this[_0x54fe4a(0x3b2)]['next']([]),this['_roomMembers$'][_0x54fe4a(0x4b9)]();}[_0x2fc972(0x173)](){const _0x172c26=_0x2fc972;this['_init']||(this[_0x172c26(0x192)]=!0x0,this['_session'][_0x172c26(0x4cb)][_0x172c26(0x54d)](A[_0x172c26(0x26d)](this[_0x172c26(0x391)]))[_0x172c26(0x243)](_0x22715f=>{const _0x7b536a=_0x172c26;_0x22715f===se[_0x7b536a(0x30f)]?this['_toggleOnline']():this[_0x7b536a(0x152)]();}),this[_0x172c26(0x46f)][_0x172c26(0x312)]['pipe'](A[_0x172c26(0x26d)](this[_0x172c26(0x391)]))[_0x172c26(0x243)](_0xb1b23e=>{const _0x2bb514=_0x172c26,_0x102d67=_0xb1b23e[_0x2bb514(0x4ca)];_0x102d67===S[_0x2bb514(0x2b7)]['UPDATE_CURSOR']&&this[_0x2bb514(0x376)](_0xb1b23e),_0x102d67===S[_0x2bb514(0x2b7)][_0x2bb514(0x50a)]&&this[_0x2bb514(0x134)](_0xb1b23e);}),this['_onRefRangeChange'](),this[_0x172c26(0x1a7)](this[_0x172c26(0x3be)][_0x172c26(0x2d6)](_0x34f855=>{const _0x2fb5bb=_0x172c26;if(this[_0x2fb5bb(0x1b1)]&&_0x34f855['id']===k[_0x2fb5bb(0x2c0)]['id']&&_0x34f855[_0x2fb5bb(0x2ad)][_0x2fb5bb(0xb5)]===this[_0x2fb5bb(0xbc)]){const _0xa71439=_0x34f855['params'];this[_0x2fb5bb(0x2af)](_0xa71439[_0x2fb5bb(0x469)],_0xa71439['selections'][0x0]);}})));}[_0x2fc972(0x376)](_0x5ce379){const _0x5deb3a=_0x2fc972;var _0x1e46cf,_0x233d62;const {memberID:_0x2914d1,selection:_0x93a5b}=_0x5ce379[_0x5deb3a(0x191)],{sheetName:_0x10e25a,range:_0x2abcad}=Pt[_0x5deb3a(0x21c)](_0x93a5b),_0x2daf2f={'name':(_0x233d62=(_0x1e46cf=this['_memberService']['getMember'](this[_0x5deb3a(0xbc)],_0x2914d1))==null?void 0x0:_0x1e46cf[_0x5deb3a(0xab)])!=null?_0x233d62:_0x5deb3a(0x33d),'range':this[_0x5deb3a(0x4b2)](_0x10e25a,_0x2abcad),'sheetID':_0x10e25a,'color':this['_colorAssignService'][_0x5deb3a(0x115)](_0x2914d1),'selection':_0x93a5b},_0x4b7bcf=this[_0x5deb3a(0x177)];_0x4b7bcf[_0x5deb3a(0x3ef)](_0x2914d1,_0x2daf2f),this[_0x5deb3a(0x4ef)][_0x5deb3a(0x450)](_0x4b7bcf);}[_0x2fc972(0x134)](_0x507217){const _0x12677b=_0x2fc972,{memberID:_0x4fbbc9}=_0x507217[_0x12677b(0x191)],_0x565cc1=this['cursorInfo'];_0x565cc1['delete'](_0x4fbbc9),this['_cursorInfo$']['next'](_0x565cc1);}[_0x2fc972(0x4b2)](_0xa72666,_0x5431b7){const _0x1ef210=_0x2fc972;var _0x4b7a91,_0xedbe4b;const _0x4ff4a4=(_0xedbe4b=(_0x4b7a91=this[_0x1ef210(0x4d3)][_0x1ef210(0x2f8)](this[_0x1ef210(0xbc)]))==null?void 0x0:_0x4b7a91[_0x1ef210(0x361)](_0xa72666))==null?void 0x0:_0xedbe4b[_0x1ef210(0x4ff)]();return(_0x4ff4a4==null?void 0x0:_0x4ff4a4['find'](_0x575222=>a[_0x1ef210(0x1eb)][_0x1ef210(0x528)](_0x575222,_0x5431b7)))||_0x5431b7;}[_0x2fc972(0x37e)](){const _0x153b9f=_0x2fc972,_0x4d04e0=new a[(_0x153b9f(0x1a0))](),_0x672485=ts(),_0x875d8e=()=>{const _0x43fffa=_0x153b9f;_0x4d04e0[_0x43fffa(0x324)]();const _0x4b8d8e=(_0x2fb978,_0x52f6dc,_0x17b63a,_0x30f556)=>{const _0x427ecc=_0x43fffa;let _0x2d0a9a=[];switch(_0x2fb978['id']){case k['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x2d0a9a=k[_0x427ecc(0x10c)](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x140)]:{_0x2d0a9a=k[_0x427ecc(0x334)](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x194)]:{_0x2d0a9a=k[_0x427ecc(0xcf)](_0x2fb978,_0x30f556);break;}case k['EffectRefRangId'][_0x427ecc(0x4f5)]:{_0x2d0a9a=k['handleInsertRangeMoveDown'](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x460)]:{_0x2d0a9a=k[_0x427ecc(0x3f6)](_0x2fb978,_0x30f556);break;}case k['EffectRefRangId']['InsertRowCommandId']:{_0x2d0a9a=k[_0x427ecc(0x2c3)](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x2ba)]:{_0x2d0a9a=k[_0x427ecc(0x1fe)](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)]['RemoveColCommandId']:{_0x2d0a9a=k['handleIRemoveCol'](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x101)]:{_0x2d0a9a=k[_0x427ecc(0x36c)](_0x2fb978,_0x30f556);break;}}const _0x100b9e=k[_0x427ecc(0x32b)](_0x2d0a9a,_0x30f556),_0x3ac8a6=this[_0x427ecc(0x177)]['get'](_0x52f6dc);if(_0x3ac8a6&&_0x100b9e){const _0x1eab04={..._0x3ac8a6,'range':_0x100b9e};this['cursorInfo'][_0x427ecc(0x3ef)](_0x52f6dc,_0x1eab04),_0x672485(()=>{const _0xe472d8=_0x427ecc,_0x398e3b=this[_0xe472d8(0x52d)]['registerRefRange'](_0x100b9e,_0x2b0a78=>(_0x398e3b['dispose'](),_0x4b8d8e(_0x2b0a78,_0x52f6dc,_0x17b63a,_0x100b9e)));_0x4d04e0[_0xe472d8(0x34a)](_0x398e3b);});}return{'redos':[],'undos':[]};};this[_0x43fffa(0x177)][_0x43fffa(0x422)]((_0x54b5b2,_0x1c3e60)=>{const _0x323eaa=_0x43fffa,{range:_0x4b0798,sheetID:_0xf46842}=_0x54b5b2,_0x55a35b=this[_0x323eaa(0x52d)][_0x323eaa(0x247)](_0x4b0798,_0x67c149=>(_0x55a35b[_0x323eaa(0x324)](),_0x4b8d8e(_0x67c149,_0x1c3e60,_0xf46842,_0x4b0798)));_0x4d04e0['add'](_0x55a35b);});};this[_0x153b9f(0x1a7)](a[_0x153b9f(0x146)](this[_0x153b9f(0x4ef)]['subscribe'](()=>{_0x875d8e();})));}[_0x2fc972(0x353)](){const _0x56fac4=_0x2fc972;var _0x56bc51,_0x4c4730;if(this[_0x56fac4(0x1b1)]=!0x0,((_0x56bc51=this['_univerInstanceService'][_0x56fac4(0x2df)]())==null?void 0x0:_0x56bc51[_0x56fac4(0x12b)]())!==this[_0x56fac4(0xbc)])return;const _0x47dc22=(_0x4c4730=this[_0x56fac4(0x2bd)][_0x56fac4(0x3cf)](k[_0x56fac4(0x108)])[_0x56fac4(0x440)]())==null?void 0x0:_0x4c4730[0x0],_0x198fd8=this[_0x56fac4(0x4d3)][_0x56fac4(0x1b8)](a[_0x56fac4(0x172)][_0x56fac4(0x252)])['getActiveSheet']();_0x47dc22&&_0x198fd8&&this[_0x56fac4(0x2af)](_0x198fd8[_0x56fac4(0x32e)](),_0x47dc22);}['_toggleOffline'](){const _0x3c971a=_0x2fc972;this[_0x3c971a(0x1b1)]=!0x1;}};St=Zi([be(0x2,a[_0x2fc972(0xde)](a['Injector'])),be(0x3,a[_0x2fc972(0xde)](Ot)),be(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x120)])),be(0x5,a[_0x2fc972(0x3b9)]),be(0x6,a[_0x2fc972(0x451)]),be(0x7,a[_0x2fc972(0xde)](k['RefRangeService']))],St);var ns=Object[_0x2fc972(0x356)],is=Object[_0x2fc972(0x423)],ss=(_0x1465c7,_0x34fda4,_0x57f704,_0x3964a3)=>{const _0x1ba1c0=_0x2fc972;for(var _0x3b23bf=_0x3964a3>0x1?void 0x0:_0x3964a3?is(_0x34fda4,_0x57f704):_0x34fda4,_0x11a608=_0x1465c7[_0x1ba1c0(0x14d)]-0x1,_0x219008;_0x11a608>=0x0;_0x11a608--)(_0x219008=_0x1465c7[_0x11a608])&&(_0x3b23bf=(_0x3964a3?_0x219008(_0x34fda4,_0x57f704,_0x3b23bf):_0x219008(_0x3b23bf))||_0x3b23bf);return _0x3964a3&&_0x3b23bf&&ns(_0x34fda4,_0x57f704,_0x3b23bf),_0x3b23bf;},nt=(_0x40c52a,_0x48fc44)=>(_0x565f72,_0x2cacdc)=>_0x48fc44(_0x565f72,_0x2cacdc,_0x40c52a);let De=class extends a[_0x2fc972(0x222)]{constructor(_0x1b56c0,_0x138541,_0x228eb5){const _0x1f16e1=_0x2fc972;super(),I(this,_0x1f16e1(0xd2),new Map()),I(this,_0x1f16e1(0x445),new A[(_0x1f16e1(0xd4))]()),(this[_0x1f16e1(0x4d3)]=_0x1b56c0,this[_0x1f16e1(0x2bd)]=_0x138541,this[_0x1f16e1(0x381)]=_0x228eb5,this['_init']());}[_0x2fc972(0x324)](){const _0x104f73=_0x2fc972;super[_0x104f73(0x324)](),this[_0x104f73(0x445)][_0x104f73(0x4b9)](),this[_0x104f73(0xd2)][_0x104f73(0x422)](_0x2b2680=>_0x2b2680['dispose']());}[_0x2fc972(0x3ec)](_0x57a653){const _0x52090c=_0x2fc972;return this[_0x52090c(0xd2)]['has'](_0x57a653)?this['_entities']['get'](_0x57a653)[_0x52090c(0x32c)]:this[_0x52090c(0x445)][_0x52090c(0x54d)](A[_0x52090c(0xda)](_0x22e466=>_0x22e466[_0x52090c(0xbc)]===_0x57a653),A['switchMap'](_0x4c626f=>_0x4c626f['cursorInfo$']));}[_0x2fc972(0x192)](){const _0x4d5dd3=_0x2fc972;this['_univerInstanceService'][_0x4d5dd3(0x41f)](a[_0x4d5dd3(0x172)][_0x4d5dd3(0x252)])[_0x4d5dd3(0x54d)](A[_0x4d5dd3(0x26d)](this[_0x4d5dd3(0x391)]))[_0x4d5dd3(0x243)](async _0x1212bb=>{const _0x5c53bf=_0x4d5dd3,_0xb54aaa=_0x1212bb['getUnitId'](),_0x1b8022=await this['_startSheetCollabCursor'](_0xb54aaa);this[_0x5c53bf(0x445)][_0x5c53bf(0x450)](_0x1b8022),this[_0x5c53bf(0xd2)][_0x5c53bf(0x3ef)](_0xb54aaa,_0x1b8022);}),this['_univerInstanceService'][_0x4d5dd3(0x41f)](a['UniverInstanceType'][_0x4d5dd3(0x22f)])[_0x4d5dd3(0x54d)](A[_0x4d5dd3(0x26d)](this[_0x4d5dd3(0x391)]))[_0x4d5dd3(0x54d)](A[_0x4d5dd3(0xda)](_0x4ff3d6=>!_0x4ff3d6['getUnitId']()[_0x4d5dd3(0x14c)]('__')))[_0x4d5dd3(0x243)](async _0x29c1d1=>{const _0x5d4705=_0x4d5dd3,_0x3e9042=_0x29c1d1[_0x5d4705(0x12b)](),_0x117a36=await this[_0x5d4705(0x3f2)](_0x3e9042);this[_0x5d4705(0x445)][_0x5d4705(0x450)](_0x117a36),this[_0x5d4705(0xd2)][_0x5d4705(0x3ef)](_0x3e9042,_0x117a36);}),A['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4d5dd3(0x22f)]),this[_0x4d5dd3(0x4d3)][_0x4d5dd3(0x4fa)](a[_0x4d5dd3(0x172)]['UNIVER_SHEET']))['pipe'](A[_0x4d5dd3(0x26d)](this[_0x4d5dd3(0x391)]))[_0x4d5dd3(0x243)](_0x3720ad=>{const _0x266322=_0x4d5dd3,_0xb588af=_0x3720ad[_0x266322(0x12b)](),_0x1a0e81=this[_0x266322(0xd2)][_0x266322(0x3cf)](_0xb588af);_0x1a0e81&&(_0x1a0e81[_0x266322(0x324)](),this[_0x266322(0xd2)][_0x266322(0x332)](_0xb588af));});}async[_0x2fc972(0x3a3)](_0x43e3b6){const _0x1bf272=_0x2fc972,_0x58e3a9=await this['_collabSessionService'][_0x1bf272(0x42c)](_0x43e3b6),_0x2499ed=this[_0x1bf272(0x2bd)][_0x1bf272(0x176)](St,_0x43e3b6,_0x58e3a9);return _0x2499ed[_0x1bf272(0x173)](),_0x2499ed;}async[_0x2fc972(0x3f2)](_0x1c1f8c){const _0x146edf=_0x2fc972,_0x377820=await this[_0x146edf(0x381)][_0x146edf(0x42c)](_0x1c1f8c),_0x3c8ecd=this['_injector'][_0x146edf(0x176)](mt,_0x1c1f8c,_0x377820);return _0x3c8ecd[_0x146edf(0x173)](),_0x3c8ecd;}};De=ss([nt(0x0,a[_0x2fc972(0x3b9)]),nt(0x1,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),nt(0x2,a[_0x2fc972(0xde)](exports['CollaborationSessionService']))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x5808b2,_0x491eee){const _0x3fc7d5=_0x2fc972;let {radius:_0x1183a6,width:_0x2848c9,height:_0x461fc1}=_0x491eee;_0x1183a6=_0x1183a6!=null?_0x1183a6:0x0,_0x2848c9=_0x2848c9!=null?_0x2848c9:0x1e,_0x461fc1=_0x461fc1!=null?_0x461fc1:0x1e;let _0x4d56b2=0x0,_0x5d59e2=0x0,_0x494180=0x0;_0x4d56b2=_0x5d59e2=_0x494180=Math['min'](_0x1183a6,_0x2848c9/0x2,_0x461fc1/0x2),_0x5808b2[_0x3fc7d5(0x4b1)](),_0x5808b2[_0x3fc7d5(0x161)](_0x4d56b2,0x0),_0x5808b2['lineTo'](_0x2848c9-_0x5d59e2,0x0),_0x5808b2[_0x3fc7d5(0x3d1)](_0x2848c9-_0x5d59e2,_0x5d59e2,_0x5d59e2,Math['PI']*0x3/0x2,0x0,!0x1),_0x5808b2[_0x3fc7d5(0x47e)](_0x2848c9,_0x461fc1-_0x494180),_0x5808b2[_0x3fc7d5(0x3d1)](_0x2848c9-_0x494180,_0x461fc1-_0x494180,_0x494180,0x0,Math['PI']/0x2,!0x1),_0x5808b2[_0x3fc7d5(0x47e)](0x0,_0x461fc1),_0x5808b2[_0x3fc7d5(0x47e)](0x0,_0x4d56b2),_0x5808b2[_0x3fc7d5(0x3d1)](_0x4d56b2,_0x4d56b2,_0x4d56b2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5808b2[_0x3fc7d5(0x3df)](),_0x491eee[_0x3fc7d5(0x49a)]&&(_0x5808b2[_0x3fc7d5(0xb7)](),_0x5808b2[_0x3fc7d5(0x242)]=_0x491eee[_0x3fc7d5(0x49a)],_0x491eee[_0x3fc7d5(0x1fa)]===_0x3fc7d5(0x2da)?_0x5808b2[_0x3fc7d5(0x49a)](_0x3fc7d5(0x2da)):_0x5808b2[_0x3fc7d5(0x49a)](),_0x5808b2[_0x3fc7d5(0x339)]());}class ze extends K[_0x2fc972(0x362)]{constructor(_0xa2d97,_0x2184db){const _0x512e6=_0x2fc972;super(_0xa2d97,_0x2184db),I(this,_0x512e6(0x406)),I(this,_0x512e6(0x322)),(this[_0x512e6(0x406)]=_0x2184db==null?void 0x0:_0x2184db['color'],this[_0x512e6(0x322)]=_0x2184db==null?void 0x0:_0x2184db[_0x512e6(0x322)]);}static['drawWith'](_0x1ada87,_0x5b6f07){const _0x39edf2=_0x2fc972,{text:_0x4b934e,color:_0x1002f9}=_0x5b6f07;_0x1ada87[_0x39edf2(0xb7)](),_0x1ada87[_0x39edf2(0x3ed)]=_0x39edf2(0x371);const _0x33bc3c=_0x1ada87['measureText'](_0x4b934e)['width'],_0x4309b6=Math[_0x39edf2(0x3d4)](_0x33bc3c+0x2*it,Ht);os(_0x1ada87,{'height':Le,'radius':0x4,'width':_0x4309b6,'fill':_0x1002f9,'evented':!0x1}),_0x1ada87['fillStyle']='#FFF';const _0x5ea601=it,_0x5dfdc4=Le-rs,_0x14959a=Ht-0x2*it;if(_0x33bc3c>_0x14959a){let _0x1ad68a='',_0x498e20=0x0;for(const _0x42198e of _0x4b934e){const _0x54e4c1=_0x1ada87[_0x39edf2(0x2ea)](_0x42198e)[_0x39edf2(0x1cf)];if(_0x498e20+_0x54e4c1<=_0x14959a-_0x1ada87[_0x39edf2(0x2ea)](_0x39edf2(0x1e0))[_0x39edf2(0x1cf)])_0x1ad68a+=_0x42198e,_0x498e20+=_0x54e4c1;else{_0x1ad68a+=_0x39edf2(0x1e0);break;}}_0x1ada87[_0x39edf2(0x3ce)](_0x1ad68a,_0x5ea601,_0x5dfdc4);}else _0x1ada87['fillText'](_0x4b934e,_0x5ea601,_0x5dfdc4);_0x1ada87[_0x39edf2(0x339)]();}[_0x2fc972(0x485)](_0x1adc44){const _0x293f46=_0x2fc972;ze[_0x293f46(0x3c3)](_0x1adc44,this);}}const st=_0x2fc972(0x299),as=_0x2fc972(0x268),cs=_0x2fc972(0x351),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s='rgba(255,\x20255,\x20255,\x200.01)';class Bt{constructor(_0x503509,_0x229dba,_0x1ee1c6,_0x40f00d){const _0x3f60a3=_0x2fc972;I(this,'_shapes',[]),I(this,_0x3f60a3(0x284),null),I(this,_0x3f60a3(0x459),null),I(this,_0x3f60a3(0x31d),null),I(this,_0x3f60a3(0x3f9),null),I(this,_0x3f60a3(0x20e),null),(this[_0x3f60a3(0x1b3)]=_0x503509,this[_0x3f60a3(0x15a)]=_0x229dba,this['_docSkeleton']=_0x1ee1c6,this['_document']=_0x40f00d,this['_render']());}set[_0x2fc972(0x1bc)](_0x5c2605){const _0x5725d1=_0x2fc972;_0x5c2605?(this['_anchorDot']&&this[_0x5725d1(0x31d)]['hide'](),this[_0x5725d1(0x459)]&&this['_textBubble'][_0x5725d1(0x456)]()):(this[_0x5725d1(0x31d)]&&this[_0x5725d1(0x31d)][_0x5725d1(0x456)](),this[_0x5725d1(0x459)]&&this['_textBubble'][_0x5725d1(0x2a4)]());}[_0x2fc972(0x324)](){const _0x3283cd=_0x2fc972;for(const _0x3590e2 of this[_0x3283cd(0x236)])_0x3590e2[_0x3283cd(0x324)]();this[_0x3283cd(0x459)]&&this[_0x3283cd(0x459)][_0x3283cd(0x324)](),this[_0x3283cd(0x31d)]&&this[_0x3283cd(0x31d)]['dispose'](),this['_anchor']&&this[_0x3283cd(0x284)]['dispose'](),this['_eventUnsubscribe']&&this[_0x3283cd(0x20e)]();}[_0x2fc972(0x221)](){const _0x32489a=_0x2fc972;var _0x22a59b;const {_docSkeleton:_0x23fe82,_document:_0x536d60}=this,{color:_0x1c407a,name:_0x4f8e4f,ranges:_0x49aaf5}=this[_0x32489a(0x1b3)],_0xddccdf=_0x536d60[_0x32489a(0x4c4)](),{docsLeft:_0x2dfcf,docsTop:_0x546c63}=_0xddccdf,_0x45fa0b=new J[(_0x32489a(0x3f8))](_0xddccdf,_0x23fe82);for(const {startOffset:_0x23fa9e,endOffset:_0x3800cc,rangeType:_0x328212,segmentId:_0x1a403f,segmentPage:_0x3d4a48,collapsed:_0x4a257e,isActive:_0x4e54ff}of _0x49aaf5){const _0xd3c1ed=_0x23fe82[_0x32489a(0x3e8)](_0x23fa9e,!0x0,_0x1a403f,_0x3d4a48);let _0x107ef9=_0x23fe82[_0x32489a(0x3e8)](_0x3800cc,!0x0,_0x1a403f,_0x3d4a48);if(_0x107ef9==null&&(_0x107ef9=_0x23fe82[_0x32489a(0x3e8)](_0x3800cc-0x1,!0x1,_0x1a403f,_0x3d4a48)),_0x4e54ff){const {contentBoxPointGroup:_0x27b7e6}=_0x45fa0b[_0x32489a(0x1f9)](_0x107ef9,_0x107ef9);if(_0x27b7e6[_0x32489a(0x14d)]===0x0)continue;this[_0x32489a(0x3ba)](_0x1c407a,_0x27b7e6,_0x2dfcf,_0x546c63,_0x4f8e4f),this[_0x32489a(0x20e)]=this[_0x32489a(0x1d6)]();}if(_0xd3c1ed&&_0x107ef9){if(_0x328212===a[_0x32489a(0x35b)]['RECT']){const _0x330119=new J[(_0x32489a(0x4a5))](_0xddccdf,_0x23fe82),{pointGroup:_0x1cd97c}=(_0x22a59b=_0x330119[_0x32489a(0x1f9)](_0xd3c1ed,_0x107ef9))!=null?_0x22a59b:{};if(_0x1cd97c==null||_0x1cd97c[_0x32489a(0x14d)]===0x0)continue;this[_0x32489a(0x4b5)](_0x1c407a,_0x1cd97c,_0x2dfcf,_0x546c63);}else{if(!_0x4a257e){const {borderBoxPointGroup:_0x14a6d8}=_0x45fa0b[_0x32489a(0x1f9)](_0xd3c1ed,_0x107ef9);if(_0x14a6d8[_0x32489a(0x14d)]===0x0)continue;this[_0x32489a(0x52b)](_0x1c407a,_0x14a6d8,_0x2dfcf,_0x546c63);}}}}}[_0x2fc972(0x3ba)](_0x48f879,_0x496f96,_0x188cef,_0x2251bb,_0x366a27){const _0x4db3f5=_0x2fc972,_0x24557a=this[_0x4db3f5(0xdf)](_0x496f96),{left:_0x10a429,top:_0xec7fb9,height:_0x453db6}=_0x24557a,_0x45f9cf=this[_0x4db3f5(0x169)](),_0x4292c7=hs/_0x45f9cf,_0xf0439f=new K['Rect'](st+a[_0x4db3f5(0x3bd)][_0x4db3f5(0xf2)](Ue),{'left':_0x10a429+_0x188cef-_0x4292c7,'top':_0xec7fb9+_0x2251bb,'height':_0x453db6,'width':ls,'fill':_0x48f879||K[_0x4db3f5(0x504)](a[_0x4db3f5(0x188)][_0x4db3f5(0x24e)],0x0),'strokeWidth':_0x4292c7,'stroke':_s,'evented':!0x0});this['_anchor']=_0xf0439f,this[_0x4db3f5(0x15a)]['addObject'](_0xf0439f,J[_0x4db3f5(0x3e0)]);const _0x2b7b56=new K[(_0x4db3f5(0x2b9))](st+a[_0x4db3f5(0x3bd)][_0x4db3f5(0xf2)](Ue),{'left':_0x10a429+_0x188cef-_0x4292c7,'top':_0xec7fb9+_0x2251bb-rt/0x2,'height':rt,'width':rt,'fill':_0x48f879||K[_0x4db3f5(0x504)](a[_0x4db3f5(0x188)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x48f879||K[_0x4db3f5(0x504)](a[_0x4db3f5(0x188)][_0x4db3f5(0x24e)],0x0),'evented':!0x1});this[_0x4db3f5(0x31d)]=_0x2b7b56,this[_0x4db3f5(0x15a)][_0x4db3f5(0x1f2)](_0x2b7b56,J['TEXT_RANGE_LAYER_INDEX']);const _0x4c8ece=new ze(st+a['Tools'][_0x4db3f5(0xf2)](Ue),{'left':_0x10a429+_0x188cef-_0x4292c7,'top':_0xec7fb9+_0x2251bb-Le,'text':_0x366a27,'color':_0x48f879});this[_0x4db3f5(0x459)]=_0x4c8ece,this['_scene'][_0x4db3f5(0x1f2)](_0x4c8ece,J[_0x4db3f5(0x3e0)]),this['_hover']=!0x1;}[_0x2fc972(0x1d6)](){const _0x2ec24e=_0x2fc972,_0x4c2cfa=this[_0x2ec24e(0x284)][_0x2ec24e(0x3e6)][_0x2ec24e(0x41b)](()=>{const _0x528847=_0x2ec24e;this[_0x528847(0x1bc)]=!0x0;}),_0x56cc64=this[_0x2ec24e(0x284)][_0x2ec24e(0x110)]['subscribeEvent'](()=>{const _0x473e80=_0x2ec24e;this[_0x473e80(0x3f9)]&&clearTimeout(this[_0x473e80(0x3f9)]),this[_0x473e80(0x3f9)]=setTimeout(()=>{const _0xf30ac0=_0x473e80;this[_0xf30ac0(0x1bc)]=!0x1;},0x7d0);});return()=>{const _0x5bb37b=_0x2ec24e;_0x4c2cfa[_0x5bb37b(0x484)](),_0x56cc64[_0x5bb37b(0x484)]();};}[_0x2fc972(0x52b)](_0x3428ee,_0x3326a0,_0x935013,_0x20a315){const _0x4b724f=_0x2fc972,_0x510b1a=new a[(_0x4b724f(0xf0))](_0x3428ee)[_0x4b724f(0x220)](0.2)['toRgbString'](),_0x82a2d7=new K['RegularPolygon'](as+a[_0x4b724f(0x3bd)][_0x4b724f(0xf2)](Ue),{'pointsGroup':_0x3326a0,'fill':_0x510b1a||K[_0x4b724f(0x504)](a[_0x4b724f(0x188)][_0x4b724f(0x24e)],0.2),'left':_0x935013,'top':_0x20a315,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4b724f(0x540)](_0x82a2d7),this[_0x4b724f(0x15a)][_0x4b724f(0x1f2)](_0x82a2d7,J[_0x4b724f(0x3e0)]);}[_0x2fc972(0x4b5)](_0x3a6f98,_0x54385e,_0x1703a9,_0x25bdc5){const _0x23f3f1=_0x2fc972,_0x31627b=new a[(_0x23f3f1(0xf0))](_0x3a6f98)[_0x23f3f1(0x220)](0.2)[_0x23f3f1(0x28c)](),_0x37ff3d=new K[(_0x23f3f1(0x43e))](cs+a['Tools'][_0x23f3f1(0xf2)](Ue),{'pointsGroup':_0x54385e,'fill':_0x31627b||K['getColor'](a[_0x23f3f1(0x188)][_0x23f3f1(0x24e)],0.2),'left':_0x1703a9,'top':_0x25bdc5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23f3f1(0x236)][_0x23f3f1(0x540)](_0x37ff3d),this[_0x23f3f1(0x15a)][_0x23f3f1(0x1f2)](_0x37ff3d,J[_0x23f3f1(0x3e0)]);}['_getAnchorBounding'](_0x132273){const _0x32eb8b=_0x132273[0x0],_0x4e6e28=_0x32eb8b[0x0],_0x2405ec=_0x32eb8b[0x2],{x:_0x376d24,y:_0x1c43ba}=_0x4e6e28,{x:_0x116687,y:_0x25ee4c}=_0x2405ec;return{'left':_0x376d24,'top':_0x1c43ba,'width':_0x116687-_0x376d24,'height':_0x25ee4c-_0x1c43ba};}[_0x2fc972(0x169)](){const _0x1cb61e=_0x2fc972,{scaleX:_0x51f5e0,scaleY:_0x440c87}=this[_0x1cb61e(0x15a)][_0x1cb61e(0x1b6)]();return Math[_0x1cb61e(0x476)](_0x51f5e0,_0x440c87);}}var us=Object['defineProperty'],ds=Object[_0x2fc972(0x423)],fs=(_0xa0c80d,_0x5a3c38,_0x21123d,_0x53cbc9)=>{const _0x4ffc47=_0x2fc972;for(var _0x28354a=_0x53cbc9>0x1?void 0x0:_0x53cbc9?ds(_0x5a3c38,_0x21123d):_0x5a3c38,_0x1218c5=_0xa0c80d[_0x4ffc47(0x14d)]-0x1,_0x43ab50;_0x1218c5>=0x0;_0x1218c5--)(_0x43ab50=_0xa0c80d[_0x1218c5])&&(_0x28354a=(_0x53cbc9?_0x43ab50(_0x5a3c38,_0x21123d,_0x28354a):_0x43ab50(_0x28354a))||_0x28354a);return _0x53cbc9&&_0x28354a&&us(_0x5a3c38,_0x21123d,_0x28354a),_0x28354a;},je=(_0x39ef88,_0xc9e4bd)=>(_0x279d7d,_0xc95482)=>_0xc9e4bd(_0x279d7d,_0xc95482,_0x39ef88);let pt=class extends a[_0x2fc972(0x222)]{constructor(_0x280875,_0x5e8a81,_0x4f6f19,_0xb451ce,_0x198fe0){const _0x2a81eb=_0x2fc972;super(),I(this,_0x2a81eb(0x47a),[]),I(this,_0x2a81eb(0x22c),[]),(this[_0x2a81eb(0x2c6)]=_0x280875,this[_0x2a81eb(0xb0)]=_0x5e8a81,this[_0x2a81eb(0x4f8)]=_0x4f6f19,this[_0x2a81eb(0x3be)]=_0xb451ce,this['_themeService']=_0x198fe0,this['_init']());}[_0x2fc972(0x192)](){const _0x2ce324=_0x2fc972,_0x2257fc=this['_context'][_0x2ce324(0xb5)],_0x346844=this['_docSkeletonManagerService'];this['disposeWithMe'](A['combineLatest']([this[_0x2ce324(0x4f8)][_0x2ce324(0x3ec)](_0x2257fc),this[_0x2ce324(0x266)][_0x2ce324(0x275)]])[_0x2ce324(0x54d)](V[_0x2ce324(0x2dc)](([_0x4353d0,_0xb7c576])=>({'skeleton':_0x346844['getSkeleton'](),'cursors':[..._0x4353d0[_0x2ce324(0x510)]()][_0x2ce324(0x142)](_0x195c66=>({..._0x195c66,'color':_0xb7c576[_0x195c66[_0x2ce324(0x406)]]}))})))[_0x2ce324(0x243)](_0x23af69=>{const _0x2480a9=_0x2ce324;if(this['_removeCollabCursors'](),_0x23af69){const {skeleton:_0x31c64a,cursors:_0x575adf}=_0x23af69;this[_0x2480a9(0xba)](_0x31c64a,_0x575adf);}})),this[_0x2ce324(0x3fe)](),this[_0x2ce324(0x30b)]();}['_updateCollabCursors'](_0x372e88,_0x4ed4ec){const _0x38e6b1=_0x2fc972,{scene:_0x3eb1a7,mainComponent:_0x20e340}=this['_context'],_0x6c7832=_0x4ed4ec[_0x38e6b1(0x2dc)](_0x5d012e=>new Bt(_0x5d012e,_0x3eb1a7,_0x372e88,_0x20e340));this[_0x38e6b1(0x47a)]=_0x6c7832,this[_0x38e6b1(0x22c)]=_0x4ed4ec;}['_refreshCollabCursors'](){const _0xa9a2ae=_0x2fc972;this[_0xa9a2ae(0x389)]();const {scene:_0x1d1f32,mainComponent:_0x24ca52}=this[_0xa9a2ae(0x2c6)],_0x1b7a92=this[_0xa9a2ae(0xb0)][_0xa9a2ae(0x441)](),_0x245e30=this['_cursors'][_0xa9a2ae(0x2dc)](_0x129158=>new Bt(_0x129158,_0x1d1f32,_0x1b7a92,_0x24ca52));this[_0xa9a2ae(0x47a)]=_0x245e30;}[_0x2fc972(0x389)](){const _0xfa00b9=_0x2fc972;this[_0xfa00b9(0x47a)][_0xfa00b9(0x422)](_0x1aa501=>_0x1aa501['dispose']()),this[_0xfa00b9(0x47a)]=[];}['_initCommandExecutedListener'](){const _0x5848ff=_0x2fc972,_0x364fe0=[J[_0x5848ff(0x254)]['id']];this[_0x5848ff(0x1a7)](this[_0x5848ff(0x3be)][_0x5848ff(0x2d6)](_0xacd3c4=>{const _0x44108c=_0x5848ff;_0x364fe0[_0x44108c(0x4d6)](_0xacd3c4['id'])&&_0xacd3c4[_0x44108c(0x2ad)][_0x44108c(0xb5)]===this['_context']['unitId']&&this[_0x44108c(0x1de)]();}));}['_initResize'](){const _0x4d5a25=_0x2fc972;this['disposeWithMe'](a[_0x4d5a25(0x340)](this[_0x4d5a25(0x2c6)][_0x4d5a25(0x54a)][_0x4d5a25(0x1ed)])['pipe'](V['filter'](_0x5662bc=>_0x5662bc[_0x4d5a25(0xc1)]===K[_0x4d5a25(0x145)][_0x4d5a25(0xcd)]),V[_0x4d5a25(0x507)](0x10))[_0x4d5a25(0x243)](()=>{const _0x3c0fcf=_0x4d5a25;this[_0x3c0fcf(0x1de)]();}));}};pt=fs([je(0x1,a['Inject'](ye[_0x2fc972(0x533)])),je(0x2,a[_0x2fc972(0xde)](De)),je(0x3,a[_0x2fc972(0x451)]),je(0x4,a[_0x2fc972(0xde)](a[_0x2fc972(0x1cc)]))],pt);const vs=0x1,ms=1.5;class Sn extends K[_0x2fc972(0x362)]{constructor(_0x42ff3d,_0x21f8ff){const _0x2ad050=_0x2fc972;super(_0x42ff3d,_0x21f8ff),I(this,'_color'),I(this,_0x2ad050(0x209),!0x1),I(this,_0x2ad050(0x481)),I(this,_0x2ad050(0x525),''),I(this,'_labelPosition','top'),I(this,'_backgroundColor'),(_0x21f8ff&&this[_0x2ad050(0x369)](_0x21f8ff),this[_0x2ad050(0x3e6)]['subscribeEvent'](()=>this[_0x2ad050(0x369)]({'hovered':!0x0})),this[_0x2ad050(0x110)][_0x2ad050(0x41b)](()=>this[_0x2ad050(0x369)]({'hovered':!0x1})));}[_0x2fc972(0x369)](_0x5e47a7){const _0x31e685=_0x2fc972;var _0x189da0,_0x2df719,_0x12fefc,_0x2acbc5,_0xe0e094,_0x367455;this['_color']=(_0x189da0=_0x5e47a7[_0x31e685(0x406)])!=null?_0x189da0:this['_color'],this[_0x31e685(0x209)]=(_0x2df719=_0x5e47a7[_0x31e685(0x217)])!=null?_0x2df719:this[_0x31e685(0x209)],this[_0x31e685(0x481)]=(_0x12fefc=_0x5e47a7[_0x31e685(0xbd)])!=null?_0x12fefc:this[_0x31e685(0x481)],this['_name']=(_0x2acbc5=_0x5e47a7['name'])!=null?_0x2acbc5:this[_0x31e685(0x525)],this['_labelPosition']=(_0xe0e094=_0x5e47a7[_0x31e685(0x495)])!=null?_0xe0e094:this['_labelPosition'],this[_0x31e685(0x320)]=(_0x367455=_0x5e47a7[_0x31e685(0x1df)])!=null?_0x367455:this[_0x31e685(0x320)],this['transformByState']({'width':_0x5e47a7[_0x31e685(0x1cf)],'height':_0x5e47a7[_0x31e685(0x25f)]});}[_0x2fc972(0x39a)](_0x27664d){const _0x5cd0c3=_0x2fc972,{row:_0x35fc18,column:_0x431322}=_0x27664d;if(_0x35fc18>=this[_0x5cd0c3(0x481)][_0x5cd0c3(0x38b)]&&_0x35fc18<=this[_0x5cd0c3(0x481)][_0x5cd0c3(0xd3)]&&_0x431322>=this[_0x5cd0c3(0x481)]['startColumn']&&_0x431322<=this[_0x5cd0c3(0x481)][_0x5cd0c3(0x47d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5cd0c3(0x369)]({'hovered':!0x1});}[_0x2fc972(0x1d9)](_0x56fc31){return!0x1;}[_0x2fc972(0x485)](_0x245d7f){const _0x11c7d1=_0x2fc972;K[_0x11c7d1(0x2b9)][_0x11c7d1(0x3c3)](_0x245d7f,{'width':this[_0x11c7d1(0x1cf)],'height':this[_0x11c7d1(0x25f)],'strokeWidth':ms,'stroke':this[_0x11c7d1(0x27a)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x245d7f['save'](),_0x245d7f[_0x11c7d1(0x248)](0x1,0x0,0x0,0x1,this[_0x11c7d1(0x1cf)],this[_0x11c7d1(0x357)]===_0x11c7d1(0x1f5)?0x0:-Le),ze[_0x11c7d1(0x3c3)](_0x245d7f,{'text':this[_0x11c7d1(0x525)],'color':this['_color']}),_0x245d7f[_0x11c7d1(0x339)]());}}var Ss=Object[_0x2fc972(0x356)],ps=Object['getOwnPropertyDescriptor'],gs=(_0x141353,_0x1c9d3c,_0x2153cb,_0x345e2d)=>{const _0x231351=_0x2fc972;for(var _0x40d6ef=_0x345e2d>0x1?void 0x0:_0x345e2d?ps(_0x1c9d3c,_0x2153cb):_0x1c9d3c,_0x447ccb=_0x141353[_0x231351(0x14d)]-0x1,_0x5cc0c0;_0x447ccb>=0x0;_0x447ccb--)(_0x5cc0c0=_0x141353[_0x447ccb])&&(_0x40d6ef=(_0x345e2d?_0x5cc0c0(_0x1c9d3c,_0x2153cb,_0x40d6ef):_0x5cc0c0(_0x40d6ef))||_0x40d6ef);return _0x345e2d&&_0x40d6ef&&Ss(_0x1c9d3c,_0x2153cb,_0x40d6ef),_0x40d6ef;},ot=(_0x1d0a4a,_0x30317f)=>(_0x3bc30d,_0x39ea38)=>_0x30317f(_0x3bc30d,_0x39ea38,_0x1d0a4a);const Is=0x1389;let gt=class extends a['RxDisposable']{constructor(_0x339f27,_0x483d41,_0x13a129,_0x39c87c){const _0x274828=_0x2fc972;super(),I(this,'_cursors',new Set()),I(this,'_lastPointer',null),(this[_0x274828(0x2c6)]=_0x339f27,this[_0x274828(0x131)]=_0x483d41,this[_0x274828(0x4f8)]=_0x13a129,this[_0x274828(0x266)]=_0x39c87c,this['_init']());}['_init'](){const _0x3bcf5d=_0x2fc972;this[_0x3bcf5d(0x131)]['currentSkeleton$']['pipe'](V[_0x3bcf5d(0x26d)](this[_0x3bcf5d(0x391)]),V[_0x3bcf5d(0x337)](_0x466715=>{const _0x4ee1ca=_0x3bcf5d;if(_0x466715){const _0x527948=_0x466715[_0x4ee1ca(0x3ae)];return A[_0x4ee1ca(0x3af)](this[_0x4ee1ca(0x4f8)]['getCollabCursors$'](this['_context'][_0x4ee1ca(0xb5)]),this[_0x4ee1ca(0x266)][_0x4ee1ca(0x275)])[_0x4ee1ca(0x54d)](V['map'](([_0x59bfd9,_0x554095])=>{const _0x553089=_0x4ee1ca,_0x53ce9b=new Map();return _0x59bfd9[_0x553089(0x422)]((_0xa0e1ea,_0x16a9b8)=>{const _0x308a5e=_0x553089;if(_0xa0e1ea['sheetID']===_0x527948){const _0x595c45={..._0xa0e1ea};_0x595c45[_0x308a5e(0x406)]=_0x554095[_0xa0e1ea[_0x308a5e(0x406)]],_0x53ce9b[_0x308a5e(0x3ef)](_0x16a9b8,_0x595c45);}}),{'skeleton':_0x466715,'cursors':_0x53ce9b};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x3bcf5d(0x243)](({skeleton:_0x4a3c90,cursors:_0x3ff767})=>{const _0x28615e=_0x3bcf5d;this[_0x28615e(0x389)](),_0x4a3c90&&this[_0x28615e(0xba)](_0x4a3c90,_0x3ff767);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3bcf5d(0x243)](_0x2cf551=>{const _0x90f69b=_0x3bcf5d;if(_0x2cf551==null)return;const {skeleton:_0x5d83d7}=_0x2cf551,{scene:_0x43f023}=this['_context'];_0x43f023[_0x90f69b(0x327)]['subscribeEvent'](a['debounce'](_0x3dc5db=>{const _0x4c65fb=_0x90f69b;var _0x4fdf77,_0x210ed1;const {offsetX:_0x277e3f,offsetY:_0x25dca7}=_0x3dc5db,{x:_0x3ec5d5,y:_0x1a38a4}=_0x43f023[_0x4c65fb(0x349)](K['Vector2'][_0x4c65fb(0x218)]([_0x277e3f,_0x25dca7])),{scaleX:_0x32934e,scaleY:_0x3a4d5b}=_0x43f023[_0x4c65fb(0x1b6)](),_0x5a6694=_0x43f023[_0x4c65fb(0xdc)](Re[_0x4c65fb(0x541)][_0x4c65fb(0x2d8)]),_0x56b91f=_0x43f023[_0x4c65fb(0x2a0)](K[_0x4c65fb(0x258)][_0x4c65fb(0x218)]([_0x3ec5d5,_0x1a38a4]),_0x5a6694),_0x506d80=_0x5d83d7[_0x4c65fb(0x417)](_0x277e3f,_0x25dca7,_0x32934e,_0x3a4d5b,_0x56b91f);((_0x4fdf77=this['_lastPointer'])==null?void 0x0:_0x4fdf77[_0x4c65fb(0x292)])===_0x506d80[_0x4c65fb(0x292)]&&((_0x210ed1=this[_0x4c65fb(0x205)])==null?void 0x0:_0x210ed1['row'])===_0x506d80[_0x4c65fb(0x32a)]||this[_0x4c65fb(0x22c)][_0x4c65fb(0x422)](_0x10a92c=>{const _0x3191da=_0x4c65fb;_0x10a92c[_0x3191da(0x39a)](_0x506d80);});},0x64));});}[_0x2fc972(0xba)](_0x3d188c,_0x2b92fd){const _0x2aa5f8=_0x2fc972;var _0xbc8edd;const _0xcd4b52=(_0xbc8edd=this['_sheetSkeletonManagerService'][_0x2aa5f8(0x4ed)]())==null?void 0x0:_0xbc8edd[_0x2aa5f8(0x542)];if(!_0xcd4b52)return;const _0x226ed9=this['_getSheetObject']();if(!_0x226ed9)return;this['_cursors']['forEach'](_0xee51e2=>{const _0x447362=_0x2aa5f8;_0xee51e2[_0x447362(0x46d)]();});const {scene:_0x7aa126}=_0x226ed9,_0x1cf51e=Cs(Array[_0x2aa5f8(0x4fe)](_0x2b92fd['values']()))[_0x2aa5f8(0x2dc)](_0x4d2174=>{const _0x1d95fc=_0x2aa5f8,{color:_0x1d2b81,range:_0x238fe7,name:_0x4d99be,selection:_0x21f1de,sheetID:_0x4bb891}=_0x4d2174,{startColumn:_0x99fab0,startRow:_0x566b88,endColumn:_0x256413,endRow:_0x13b586}=_0x238fe7,_0x2d42d2=Re[_0x1d95fc(0x45b)](_0x566b88,_0x99fab0,_0x7aa126,_0xcd4b52),_0x25a0d9=Re[_0x1d95fc(0x45b)](_0x13b586,_0x256413,_0x7aa126,_0xcd4b52),{columnHeaderHeightAndMarginTop:_0x373b21}=_0xcd4b52,{startX:_0x38235c,startY:_0x5a7261}=_0x2d42d2,{endX:_0x44f34d,endY:_0x5d166a}=_0x25a0d9,_0x2454ce=_0x44f34d-_0x38235c,_0x4c317c=_0x5d166a-_0x5a7261,_0x3b86c5={'labelPosition':_0x5a7261-_0x373b21>=Le?_0x1d95fc(0x15e):'bottom','sheetID':_0x4bb891,'range':_0x238fe7,'color':_0x1d2b81,'name':_0x4d99be,'selection':_0x21f1de,'left':_0x38235c,'top':_0x5a7261,'width':_0x2454ce,'height':_0x4c317c,'evented':!0x1,'zIndex':Is};return new Sn(_0x4d99be,_0x3b86c5);});_0x7aa126[_0x2aa5f8(0xb4)](_0x1cf51e,vs),this['_cursors']=new Set(_0x1cf51e);}[_0x2fc972(0x389)](){const _0xb8e1ae=_0x2fc972;var _0x24822c;(_0x24822c=this[_0xb8e1ae(0x22c)])==null||_0x24822c[_0xb8e1ae(0x422)](_0x383f94=>_0x383f94[_0xb8e1ae(0x324)]());}['_getSheetObject'](){const _0x51daf5=_0x2fc972;return Re['getSheetObject'](this[_0x51daf5(0x2c6)][_0x51daf5(0x364)],this[_0x51daf5(0x2c6)]);}};gt=gs([ot(0x1,a['Inject'](Re[_0x2fc972(0xe8)])),ot(0x2,a[_0x2fc972(0xde)](De)),ot(0x3,a[_0x2fc972(0xde)](a['ThemeService']))],gt);function Cs(_0x330b54){const _0x41d452=_0x2fc972,_0x5164f1=new Map();return _0x330b54[_0x41d452(0x422)](_0x3f7572=>{const _0x249a66=_0x41d452;if(_0x5164f1[_0x249a66(0x33e)](_0x3f7572[_0x249a66(0x426)])){const _0x38fd5c=_0x5164f1['get'](_0x3f7572[_0x249a66(0x426)]);_0x38fd5c[_0x249a66(0xab)]+=',\x20'+_0x3f7572[_0x249a66(0xab)];}else _0x5164f1[_0x249a66(0x3ef)](_0x3f7572[_0x249a66(0x426)],_0x3f7572);}),Array[_0x41d452(0x4fe)](_0x5164f1[_0x41d452(0x510)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x5146ab){const _0xb7bb34=_0x2fc972;return _0x5146ab&&_0x5146ab['__esModule']&&Object['prototype'][_0xb7bb34(0x3d7)][_0xb7bb34(0x16c)](_0x5146ab,'default')?_0x5146ab['default']:_0x5146ab;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol['for'](_0x2fc972(0x230)),Ts=Symbol[_0x2fc972(0x2fb)](_0x2fc972(0x274)),Rs=Object['prototype'][_0x2fc972(0x3d7)],ys=Es[_0x2fc972(0x178)][_0x2fc972(0x489)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x3615ee,_0x2058cd,_0x421c83){const _0x3d8eec=_0x2fc972;var _0x638d8e,_0x3c786b={},_0x5c5f05=null,_0x332c3c=null;_0x421c83!==void 0x0&&(_0x5c5f05=''+_0x421c83),_0x2058cd[_0x3d8eec(0x4d0)]!==void 0x0&&(_0x5c5f05=''+_0x2058cd[_0x3d8eec(0x4d0)]),_0x2058cd[_0x3d8eec(0x14a)]!==void 0x0&&(_0x332c3c=_0x2058cd[_0x3d8eec(0x14a)]);for(_0x638d8e in _0x2058cd)Rs['call'](_0x2058cd,_0x638d8e)&&!Os[_0x3d8eec(0x3d7)](_0x638d8e)&&(_0x3c786b[_0x638d8e]=_0x2058cd[_0x638d8e]);if(_0x3615ee&&_0x3615ee['defaultProps']){for(_0x638d8e in(_0x2058cd=_0x3615ee['defaultProps'],_0x2058cd))_0x3c786b[_0x638d8e]===void 0x0&&(_0x3c786b[_0x638d8e]=_0x2058cd[_0x638d8e]);}return{'$$typeof':bs,'type':_0x3615ee,'key':_0x5c5f05,'ref':_0x332c3c,'props':_0x3c786b,'_owner':ys[_0x3d8eec(0x12c)]};}Xe[_0x2fc972(0x29f)]=Ts,Xe[_0x2fc972(0x42e)]=gn,Xe[_0x2fc972(0x277)]=gn,pn[_0x2fc972(0x40d)]=Xe;var pe=pn[_0x2fc972(0x40d)],Q=function(){const _0x36678f=_0x2fc972;return Q=Object[_0x36678f(0xdd)]||function(_0x39f92e){const _0x499d7a=_0x36678f;for(var _0x1dd16a,_0x120b06=0x1,_0x1fa2f5=arguments[_0x499d7a(0x14d)];_0x120b06<_0x1fa2f5;_0x120b06++){_0x1dd16a=arguments[_0x120b06];for(var _0x491221 in _0x1dd16a)Object[_0x499d7a(0x11f)]['hasOwnProperty'][_0x499d7a(0x16c)](_0x1dd16a,_0x491221)&&(_0x39f92e[_0x491221]=_0x1dd16a[_0x491221]);}return _0x39f92e;},Q['apply'](this,arguments);},Ds=function(_0x41328d,_0x4ea71b){const _0x105f1d=_0x2fc972;var _0x37e068={};for(var _0x1262b0 in _0x41328d)Object[_0x105f1d(0x11f)][_0x105f1d(0x3d7)][_0x105f1d(0x16c)](_0x41328d,_0x1262b0)&&_0x4ea71b[_0x105f1d(0x4e9)](_0x1262b0)<0x0&&(_0x37e068[_0x1262b0]=_0x41328d[_0x1262b0]);if(_0x41328d!=null&&typeof Object[_0x105f1d(0x4c7)]==_0x105f1d(0x4fc)){for(var _0x53a71f=0x0,_0x1262b0=Object[_0x105f1d(0x4c7)](_0x41328d);_0x53a71f<_0x1262b0['length'];_0x53a71f++)_0x4ea71b['indexOf'](_0x1262b0[_0x53a71f])<0x0&&Object['prototype'][_0x105f1d(0x3f4)][_0x105f1d(0x16c)](_0x41328d,_0x1262b0[_0x53a71f])&&(_0x37e068[_0x1262b0[_0x53a71f]]=_0x41328d[_0x1262b0[_0x53a71f]]);}return _0x37e068;},Dt=ae[_0x2fc972(0x2c7)](function(_0x1cf5a4,_0x1d4b04){const _0x6b768a=_0x2fc972;var _0x764f39=_0x1cf5a4['icon'],_0x272215=_0x1cf5a4['id'],_0x2476e8=_0x1cf5a4[_0x6b768a(0x2c9)],_0x171255=_0x1cf5a4[_0x6b768a(0x316)],_0x57bc99=Ds(_0x1cf5a4,['icon','id','className','extend']),_0x28c197=_0x6b768a(0x539)[_0x6b768a(0x204)](_0x272215,'\x20')[_0x6b768a(0x204)](_0x2476e8||'')[_0x6b768a(0x2ef)](),_0x2c0d75=ae[_0x6b768a(0x41e)]('_'[_0x6b768a(0x204)](Us()));return In(_0x764f39,''[_0x6b768a(0x204)](_0x272215),{'defIds':_0x764f39[_0x6b768a(0x478)],'idSuffix':_0x2c0d75[_0x6b768a(0x12c)]},Q({'ref':_0x1d4b04,'className':_0x28c197},_0x57bc99),_0x171255);});function In(_0x37c831,_0x16cfbb,_0x20ce27,_0x347f0e,_0x1f5fdd){const _0x14bebb=_0x2fc972;return ae[_0x14bebb(0x289)](_0x37c831[_0x14bebb(0x511)],Q(Q({'key':_0x16cfbb},ws(_0x37c831,_0x20ce27,_0x1f5fdd)),_0x347f0e),(Ps(_0x37c831,_0x20ce27)[_0x14bebb(0x384)]||[])[_0x14bebb(0x2dc)](function(_0x1ef07b,_0x2bb713){const _0x1e6a46=_0x14bebb;return In(_0x1ef07b,''[_0x1e6a46(0x204)](_0x16cfbb,'-')[_0x1e6a46(0x204)](_0x37c831[_0x1e6a46(0x511)],'-')[_0x1e6a46(0x204)](_0x2bb713),_0x20ce27,void 0x0,_0x1f5fdd);}));}function ws(_0x269edf,_0x5813c3,_0xda9bac){const _0x3a86b1=_0x2fc972;var _0x16fa92=Q({},_0x269edf[_0x3a86b1(0x1db)]);_0xda9bac!=null&&_0xda9bac['colorChannel1']&&_0x16fa92['fill']===_0x3a86b1(0x3e9)&&(_0x16fa92[_0x3a86b1(0x49a)]=_0xda9bac[_0x3a86b1(0x3e9)]);var _0x5ae3c1=_0x5813c3[_0x3a86b1(0x478)];return!_0x5ae3c1||_0x5ae3c1['length']===0x0||(_0x269edf[_0x3a86b1(0x511)]===_0x3a86b1(0x158)&&_0x16fa92[_0x3a86b1(0x434)]&&(_0x16fa92[_0x3a86b1(0x434)]=_0x16fa92[_0x3a86b1(0x434)]+_0x5813c3['idSuffix']),Object[_0x3a86b1(0x4f6)](_0x16fa92)['forEach'](function(_0x593a3e){const _0x4e56ef=_0x3a86b1;var _0x5a19bd=_0x593a3e[0x0],_0x3f6915=_0x593a3e[0x1];typeof _0x3f6915==_0x4e56ef(0x12e)&&(_0x16fa92[_0x5a19bd]=_0x3f6915[_0x4e56ef(0x431)](/url\(#(.*)\)/,'url(#$1'[_0x4e56ef(0x204)](_0x5813c3[_0x4e56ef(0x253)],')')));})),_0x16fa92;}function Ps(_0x56def8,_0x720c4b){const _0x98bc40=_0x2fc972;var _0x2df314,_0x3f1b8e=_0x720c4b[_0x98bc40(0x478)];return!_0x3f1b8e||_0x3f1b8e[_0x98bc40(0x14d)]===0x0?_0x56def8:_0x56def8[_0x98bc40(0x511)]===_0x98bc40(0x2cb)&&(!((_0x2df314=_0x56def8[_0x98bc40(0x384)])===null||_0x2df314===void 0x0)&&_0x2df314[_0x98bc40(0x14d)])?Q(Q({},_0x56def8),{'children':_0x56def8[_0x98bc40(0x384)]['map'](function(_0x162058){const _0x518e4a=_0x98bc40;return typeof _0x162058[_0x518e4a(0x1db)]['id']==_0x518e4a(0x12e)&&_0x3f1b8e&&_0x3f1b8e[_0x518e4a(0x4e9)](_0x162058[_0x518e4a(0x1db)]['id'])>-0x1?Q(Q({},_0x162058),{'attrs':Q(Q({},_0x162058[_0x518e4a(0x1db)]),{'id':_0x162058['attrs']['id']+_0x720c4b[_0x518e4a(0x253)]})}):_0x162058;})}):_0x56def8;}function Us(){const _0x388e79=_0x2fc972;return Math[_0x388e79(0x151)]()[_0x388e79(0x443)](0x24)[_0x388e79(0x10a)](0x2,0x8);}Dt['displayName']=_0x2fc972(0x14f);var Ms={'tag':_0x2fc972(0x49c),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2fc972(0x208),'height':_0x2fc972(0x208)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fc972(0x330)},'children':[{'tag':_0x2fc972(0x241),'attrs':{'stroke':_0x2fc972(0x38f),'d':_0x2fc972(0x387),'strokeLinecap':'round','strokeLinejoin':_0x2fc972(0x1c6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2fc972(0x36a)},'children':[{'tag':'path','attrs':{'fill':_0x2fc972(0x11b),'d':_0x2fc972(0x160)}}]}]}],'defIds':[_0x2fc972(0x36a)]},Cn=ae['forwardRef'](function(_0x51df97,_0x158c9e){const _0x5d0daf=_0x2fc972;return ae[_0x5d0daf(0x289)](Dt,Object[_0x5d0daf(0xdd)]({},_0x51df97,{'id':_0x5d0daf(0x48b),'ref':_0x158c9e,'icon':Ms}));});Cn[_0x2fc972(0x536)]=_0x2fc972(0x3a7);var As={'tag':_0x2fc972(0x49c),'attrs':{'fill':'none','viewBox':_0x2fc972(0x207),'width':_0x2fc972(0x208),'height':_0x2fc972(0x208)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fc972(0x244)},'children':[{'tag':_0x2fc972(0x241),'attrs':{'stroke':_0x2fc972(0x38f),'d':_0x2fc972(0x40b),'strokeLinecap':_0x2fc972(0x1c6),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2fc972(0x2cb),'attrs':{},'children':[{'tag':_0x2fc972(0xf3),'attrs':{'id':_0x2fc972(0x532)},'children':[{'tag':_0x2fc972(0x241),'attrs':{'fill':_0x2fc972(0x11b),'d':'M0\x200H16V16H0z','transform':_0x2fc972(0x3a2)}}]}]}],'defIds':[_0x2fc972(0x532)]},En=ae[_0x2fc972(0x2c7)](function(_0x421b7e,_0x3212bc){const _0x22a2ea=_0x2fc972;return ae[_0x22a2ea(0x289)](Dt,Object[_0x22a2ea(0xdd)]({},_0x421b7e,{'id':_0x22a2ea(0x47b),'ref':_0x3212bc,'icon':As}));});En[_0x2fc972(0x536)]=_0x2fc972(0x453);function bn(_0x233a2a){const _0x4f8674=_0x2fc972;var _0x2406ea,_0x49cd02,_0x345794='';if(typeof _0x233a2a==_0x4f8674(0x12e)||typeof _0x233a2a==_0x4f8674(0x23f))_0x345794+=_0x233a2a;else{if(typeof _0x233a2a==_0x4f8674(0x3a9)){if(Array['isArray'](_0x233a2a)){var _0x5b44c0=_0x233a2a['length'];for(_0x2406ea=0x0;_0x2406ea<_0x5b44c0;_0x2406ea++)_0x233a2a[_0x2406ea]&&(_0x49cd02=bn(_0x233a2a[_0x2406ea]))&&(_0x345794&&(_0x345794+='\x20'),_0x345794+=_0x49cd02);}else{for(_0x49cd02 in _0x233a2a)_0x233a2a[_0x49cd02]&&(_0x345794&&(_0x345794+='\x20'),_0x345794+=_0x49cd02);}}}return _0x345794;}function Ns(){for(var _0xf8e2de,_0x1028bc,_0x2c53e0=0x0,_0x59c9f6='',_0x3d153e=arguments['length'];_0x2c53e0<_0x3d153e;_0x2c53e0++)(_0xf8e2de=arguments[_0x2c53e0])&&(_0x1028bc=bn(_0xf8e2de))&&(_0x59c9f6&&(_0x59c9f6+='\x20'),_0x59c9f6+=_0x1028bc);return _0x59c9f6;}const Ls='univer-online-status-icon',xs='univer-online-status-title',js=_0x2fc972(0x359),$s=_0x2fc972(0x213),Hs=_0x2fc972(0x494),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x60c0e3){const _0x214ce4=_0x2fc972;switch(_0x60c0e3){case q[_0x214ce4(0x455)]:return'collabStatus.offline';case q[_0x214ce4(0x54c)]:return'collabStatus.conflict';case q['FETCH_MISS']:return _0x214ce4(0x103);case q[_0x214ce4(0x2e7)]:return _0x214ce4(0x42d);case q[_0x214ce4(0x24d)]:case q['AWAITING_WITH_PENDING']:return _0x214ce4(0x392);case q[_0x214ce4(0x4d4)]:case q[_0x214ce4(0x309)]:return _0x214ce4(0x4c2);}}function Tn(_0x1e62d0){const _0x445650=_0x2fc972,{status$:_0x2d90b2}=_0x1e62d0,_0xe01005=ee[_0x445650(0x3d9)](_0x2d90b2,q[_0x445650(0x2e7)]),_0x57d68e=a[_0x445650(0x3e1)](a[_0x445650(0x2cf)]),_0x292d3b=a[_0x445650(0x3e1)](exports[_0x445650(0x45d)]),_0x4acc26=_0xe01005!==q[_0x445650(0x455)],_0x4f39b8=_0x57d68e['t'](Bs(_0xe01005)),_0x4c11d1=Ns(Me[_0x445650(0x46a)],{[Me[_0x445650(0x3f7)]]:_0x4acc26,[Me['offline']]:!_0x4acc26}),_0x2f0c78=_0x4acc26?pe[_0x445650(0x42e)](En,{}):pe[_0x445650(0x42e)](Cn,{}),_0x4283c8=ae[_0x445650(0x452)](()=>{const _0x57fb5b=_0x445650;_0x4acc26||_0x292d3b[_0x57fb5b(0x1f8)]();},[_0x4acc26,_0x292d3b]);function _0x30e2b1(){const _0x16f405=_0x445650;return pe[_0x16f405(0x277)](_0x16f405(0x1c8),{'className':_0x4c11d1,'onClick':_0x4283c8,'children':[pe[_0x16f405(0x42e)](_0x16f405(0x1c8),{'className':Me[_0x16f405(0x496)],'children':_0x2f0c78}),pe[_0x16f405(0x42e)](_0x16f405(0x1c8),{'className':Me['onlineStatusTitle'],'children':_0x4f39b8})]});}return _0x4acc26?_0x30e2b1():pe[_0x445650(0x42e)](ge[_0x445650(0x189)],{'title':_0x57d68e['t'](_0x445650(0x13b)),'children':_0x30e2b1()});}var ks=Object[_0x2fc972(0x356)],Ws=Object[_0x2fc972(0x423)],Fs=(_0x554db3,_0x53c179,_0x2882e9,_0x143da1)=>{const _0x16222e=_0x2fc972;for(var _0x274666=_0x143da1>0x1?void 0x0:_0x143da1?Ws(_0x53c179,_0x2882e9):_0x53c179,_0x2514f7=_0x554db3[_0x16222e(0x14d)]-0x1,_0x41e5a1;_0x2514f7>=0x0;_0x2514f7--)(_0x41e5a1=_0x554db3[_0x2514f7])&&(_0x274666=(_0x143da1?_0x41e5a1(_0x53c179,_0x2882e9,_0x274666):_0x41e5a1(_0x274666))||_0x274666);return _0x143da1&&_0x274666&&ks(_0x53c179,_0x2882e9,_0x274666),_0x274666;},$e=(_0x32ae48,_0x387065)=>(_0xf34319,_0x4c1ec3)=>_0x387065(_0xf34319,_0x4c1ec3,_0x32ae48);exports[_0x2fc972(0x34e)]=class extends a['Disposable']{constructor(_0x484ffb,_0x33523e,_0x5e53bc,_0x1fa6cd){const _0x83ed4=_0x2fc972;super(),I(this,_0x83ed4(0x367),new A[(_0x83ed4(0x130))](q[_0x83ed4(0x2e7)])),(this['_univerInstanceService']=_0x484ffb,this['_uiPartsService']=_0x33523e,this['_injector']=_0x5e53bc,this[_0x83ed4(0x3c2)]=_0x1fa6cd,this['_initStatusComponent'](),this[_0x83ed4(0x487)]());}[_0x2fc972(0x487)](){const _0x45e200=_0x2fc972;this[_0x45e200(0x1a7)](this['_univerInstanceService']['focused$'][_0x45e200(0x54d)](A[_0x45e200(0x337)](()=>{const _0x2c4b75=_0x45e200,_0x5e81c4=this[_0x2c4b75(0x4d3)][_0x2c4b75(0x2df)]();return _0x5e81c4?this[_0x2c4b75(0x3c2)][_0x2c4b75(0x506)](_0x5e81c4['getUnitId']()):A['of'](null);}),A[_0x45e200(0x337)](_0x256a5a=>_0x256a5a?_0x256a5a[_0x45e200(0x1c4)]:A['of'](q[_0x45e200(0x2e7)])))[_0x45e200(0x243)](_0x2f0f0d=>{const _0x1aa303=_0x45e200;this[_0x1aa303(0x367)][_0x1aa303(0x450)](_0x2f0f0d);}));}[_0x2fc972(0x336)](){const _0x2ad6ca=_0x2fc972;this[_0x2ad6ca(0x1a7)](this[_0x2ad6ca(0x227)][_0x2ad6ca(0x294)](ee[_0x2ad6ca(0xbf)][_0x2ad6ca(0x398)],()=>a['connectInjector'](Vs({'status$':this['_status$'][_0x2ad6ca(0x1f3)]()}),this[_0x2ad6ca(0x2bd)])));}},exports[_0x2fc972(0x34e)]=Fs([$e(0x0,a['IUniverInstanceService']),$e(0x1,ee[_0x2fc972(0x1b7)]),$e(0x2,a['Inject'](a[_0x2fc972(0x10d)])),$e(0x3,a[_0x2fc972(0xde)](exports['CollaborationController']))],exports[_0x2fc972(0x34e)]);function Vs(_0x256878){const {status$:_0x3b7854}=_0x256878;return function(){return pe['jsx'](Tn,{'status$':_0x3b7854});};}const wt=a[_0x2fc972(0x183)](_0x2fc972(0x2d0));var Gs=Object[_0x2fc972(0x356)],Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x58d9ed,_0x36d21d,_0x3f96d4,_0x23ffa8)=>{const _0x2ea0f7=_0x2fc972;for(var _0x500cb3=_0x23ffa8>0x1?void 0x0:_0x23ffa8?Ys(_0x36d21d,_0x3f96d4):_0x36d21d,_0x55a3c8=_0x58d9ed[_0x2ea0f7(0x14d)]-0x1,_0x1d1aec;_0x55a3c8>=0x0;_0x55a3c8--)(_0x1d1aec=_0x58d9ed[_0x55a3c8])&&(_0x500cb3=(_0x23ffa8?_0x1d1aec(_0x36d21d,_0x3f96d4,_0x500cb3):_0x1d1aec(_0x500cb3))||_0x500cb3);return _0x23ffa8&&_0x500cb3&&Gs(_0x36d21d,_0x3f96d4,_0x500cb3),_0x500cb3;},Te=(_0x390300,_0x277735)=>(_0x1e9f20,_0x45c844)=>_0x277735(_0x1e9f20,_0x45c844,_0x390300);exports['DataLoaderController']=class extends a[_0x2fc972(0x222)]{constructor(_0x15b826,_0x34efe0,_0x5852a1,_0x3745b4,_0x225a2d,_0x1b9f3a){const _0xdc6f2=_0x2fc972;super(),this[_0xdc6f2(0x240)]=_0x15b826,this[_0xdc6f2(0x3e5)]=_0x34efe0,this[_0xdc6f2(0x3be)]=_0x5852a1,this[_0xdc6f2(0x12d)]=_0x3745b4,this['_snapshotService']=_0x225a2d,_0x1b9f3a?_0x1b9f3a==null||_0x1b9f3a[_0xdc6f2(0xbe)]()['then'](()=>this[_0xdc6f2(0x192)]()):(this[_0xdc6f2(0x3e5)]['debug']('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xdc6f2(0x192)]());}async[_0x2fc972(0x192)](){const _0x2a19cd=_0x2fc972,_0x1822b6=this[_0x2a19cd(0x240)][_0x2a19cd(0x32f)]('unit'),_0x4d17cd=this['_urlService'][_0x2a19cd(0x32f)](_0x2a19cd(0xc1));if(!_0x1822b6||!_0x4d17cd){this[_0x2a19cd(0x3e5)][_0x2a19cd(0x17a)]('[DataLoaderController]',_0x2a19cd(0x4ad));return;}switch(Number(_0x4d17cd)){case ie[_0x2a19cd(0x252)]:{const _0x2c3158=await this[_0x2a19cd(0x20a)](_0x1822b6);this[_0x2a19cd(0x26a)](_0x2c3158);break;}case ie[_0x2a19cd(0x22f)]:{await this['_loadDoc'](_0x1822b6);break;}default:{this[_0x2a19cd(0x3e5)][_0x2a19cd(0x2be)](_0x2a19cd(0x22a),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x2fc972(0x26a)](_0xdf05d7){const _0x811189=_0x2fc972;await this[_0x811189(0x4c5)](_0xdf05d7),_0xdf05d7[_0x811189(0x372)][_0x811189(0x54d)](A['takeUntil'](this['dispose$']))[_0x811189(0x243)](_0x232ec7=>{const _0x2c74d2=_0x811189;_0x232ec7&&this[_0x2c74d2(0x4a0)](_0x232ec7);}),this[_0x811189(0x240)][_0x811189(0x137)][_0x811189(0x54d)](A[_0x811189(0x26d)](this['dispose$']))[_0x811189(0x243)](()=>this['_updateSubUnitFromURLParams'](_0xdf05d7));}[_0x2fc972(0x4a0)](_0x385199,_0x90a669=!0x1){const _0x518403=_0x2fc972,_0x132c0c=this[_0x518403(0x240)]['getParam']('subunit');_0x385199[_0x518403(0x32e)]()!==_0x132c0c&&this['_urlService']['setParam'](_0x518403(0x31e),_0x385199[_0x518403(0x32e)](),_0x90a669);}async[_0x2fc972(0x4c5)](_0x5253ff){const _0x503f53=_0x2fc972;var _0x44c709;const _0x137f01=this[_0x503f53(0x240)]['getParam'](_0x503f53(0x31e));if(!_0x137f01||!_0x5253ff['getSheetBySheetId'](_0x137f01)){const _0x1bf15d=_0x5253ff[_0x503f53(0x4d8)]()[0x0],_0xe58438=_0x5253ff[_0x503f53(0x361)](_0x1bf15d);if(!_0xe58438)return;this[_0x503f53(0x4a0)](_0xe58438,!0x0),await this[_0x503f53(0x3be)][_0x503f53(0xc0)](k[_0x503f53(0x51b)]['id'],{'unitId':_0x5253ff['getUnitId'](),'subUnitId':_0x1bf15d});return;}((_0x44c709=_0x5253ff['getActiveSheet']())==null?void 0x0:_0x44c709[_0x503f53(0x32e)]())!==_0x137f01&&await this[_0x503f53(0x3be)][_0x503f53(0xc0)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x5253ff[_0x503f53(0x12b)](),'subUnitId':_0x137f01});}async[_0x2fc972(0x20a)](_0x5bb11d){const _0x5741ce=_0x2fc972;let _0x5c8e8a=0x0;const _0x495479=await this['_localCacheService'][_0x5741ce(0x47c)](_0x5bb11d);return _0x495479&&(_0x495479[_0x5741ce(0x1c0)]||_0x495479[_0x5741ce(0x492)][_0x5741ce(0x14d)]!==0x0)&&(_0x5c8e8a=_0x495479['rev']),_0x5c8e8a===0x0&&this[_0x5741ce(0x3e5)]['debug'](_0x5741ce(0x22a),_0x5741ce(0x408)),this[_0x5741ce(0x458)][_0x5741ce(0x1c9)](_0x5bb11d,_0x5c8e8a);}async[_0x2fc972(0x1bd)](_0x3eb6fd){const _0x4ef22d=_0x2fc972;let _0x166139=0x0;const _0x375000=await this[_0x4ef22d(0x12d)][_0x4ef22d(0x47c)](_0x3eb6fd);return _0x375000&&(_0x375000[_0x4ef22d(0x1c0)]||_0x375000['mutations'][_0x4ef22d(0x14d)]!==0x0)&&(_0x166139=_0x375000['rev']),_0x166139===0x0&&this['_logService'][_0x4ef22d(0x17a)](_0x4ef22d(0x22a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x4ef22d(0x482)](_0x3eb6fd,_0x166139);}},exports[_0x2fc972(0x3fa)]=Ks([Te(0x0,wt),Te(0x1,a[_0x2fc972(0x1fc)]),Te(0x2,a[_0x2fc972(0x451)]),Te(0x3,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),Te(0x4,a['Inject'](S[_0x2fc972(0x546)])),Te(0x5,a[_0x2fc972(0x457)]($n[_0x2fc972(0x22d)]))],exports['DataLoaderController']);var qs=Object[_0x2fc972(0x356)],zs=Object[_0x2fc972(0x423)],Xs=(_0x4ebac9,_0x1a082f,_0x1da751,_0x2d3951)=>{const _0x4566a3=_0x2fc972;for(var _0x38505a=_0x2d3951>0x1?void 0x0:_0x2d3951?zs(_0x1a082f,_0x1da751):_0x1a082f,_0xc4766b=_0x4ebac9[_0x4566a3(0x14d)]-0x1,_0x3dab91;_0xc4766b>=0x0;_0xc4766b--)(_0x3dab91=_0x4ebac9[_0xc4766b])&&(_0x38505a=(_0x2d3951?_0x3dab91(_0x1a082f,_0x1da751,_0x38505a):_0x3dab91(_0x38505a))||_0x38505a);return _0x2d3951&&_0x38505a&&qs(_0x1a082f,_0x1da751,_0x38505a),_0x38505a;},kt=(_0x559e05,_0xa5f25b)=>(_0x382ed0,_0x1218d4)=>_0xa5f25b(_0x382ed0,_0x1218d4,_0x559e05);const Js='DEFAULT_FILE_NAME',Zs='Univer';let Ve=class extends a[_0x2fc972(0x37c)]{constructor(_0x10f9b5,_0x5bd1ae){const _0x3ebc9b=_0x2fc972;super(),this[_0x3ebc9b(0x4d3)]=_0x10f9b5,this[_0x3ebc9b(0x51e)]=_0x5bd1ae,this[_0x3ebc9b(0x192)]();}[_0x2fc972(0x192)](){const _0x586ff0=_0x2fc972;this[_0x586ff0(0x1a7)](this[_0x586ff0(0x4d3)][_0x586ff0(0x4f4)]['subscribe'](()=>{const _0xd2e41a=_0x586ff0;var _0x3fedd9;const _0x160872=this[_0xd2e41a(0x4d3)]['getFocusedUnit']();let _0x3d8c26=(_0x3fedd9=this[_0xd2e41a(0x51e)][_0xd2e41a(0xf1)](Js))!=null?_0x3fedd9:Zs;_0x160872 instanceof a['Workbook']&&(_0x3d8c26=_0x160872[_0xd2e41a(0xab)]),document['title']=_0x3d8c26;}));}};Ve=Xs([kt(0x0,a[_0x2fc972(0x3b9)]),kt(0x1,a[_0x2fc972(0x33a)])],Ve);var Qs=Object['defineProperty'],er=Object['getOwnPropertyDescriptor'],tr=(_0x3bfbff,_0x105bff,_0x5ab453,_0x24b7ba)=>{const _0x4cb2dd=_0x2fc972;for(var _0x2aba03=_0x24b7ba>0x1?void 0x0:_0x24b7ba?er(_0x105bff,_0x5ab453):_0x105bff,_0x165ecb=_0x3bfbff[_0x4cb2dd(0x14d)]-0x1,_0x27099b;_0x165ecb>=0x0;_0x165ecb--)(_0x27099b=_0x3bfbff[_0x165ecb])&&(_0x2aba03=(_0x24b7ba?_0x27099b(_0x105bff,_0x5ab453,_0x2aba03):_0x27099b(_0x2aba03))||_0x2aba03);return _0x24b7ba&&_0x2aba03&&Qs(_0x105bff,_0x5ab453,_0x2aba03),_0x2aba03;},at=(_0x53c5a7,_0x32ec3e)=>(_0x3ec78e,_0x4a797b)=>_0x32ec3e(_0x3ec78e,_0x4a797b,_0x53c5a7);let Ge=class{constructor(_0x3114de,_0x518f79,_0x1b2968){const _0x3551e2=_0x2fc972;this[_0x3551e2(0x51e)]=_0x3114de,this[_0x3551e2(0x4e8)]=_0x518f79,this['localeService']=_0x1b2968,this[_0x3551e2(0x173)]();}[_0x2fc972(0x173)](){const _0x56d901=_0x2fc972;this[_0x56d901(0x4e8)][_0x56d901(0x2b8)]({'priority':0x1,'interceptor':(_0x448ec8,_0x1ee5a7)=>_0x1ee5a7(_0x448ec8)[_0x56d901(0x54d)](A[_0x56d901(0x1a3)](async _0x332602=>{const _0x5a98e5=_0x56d901,_0x39966e=_0x332602;if(_0x39966e[_0x5a98e5(0x3c9)]===0x191&&window[_0x5a98e5(0x3eb)](this[_0x5a98e5(0x2f1)]['t']('auth.needGotoLoginAlert'))){const _0x1bd434=window[_0x5a98e5(0x1a1)](window['location'][_0x5a98e5(0x39b)]);window[_0x5a98e5(0x24a)]['href']=this[_0x5a98e5(0x225)]()+_0x5a98e5(0xac)+_0x1bd434;}return _0x39966e;}))});}['_getLoginPath'](){const _0x401886=_0x2fc972;var _0x55bd58,_0x236916;const _0xce4516=this[_0x401886(0x51e)][_0x401886(0xf1)](an),_0x27c113=this['_configService'][_0x401886(0xf1)](te);return(_0x236916=(_0x55bd58=_0x27c113==null?void 0x0:_0x27c113[_0x401886(0x2ff)])!=null?_0x55bd58:_0xce4516)!=null?_0x236916:qn;}};Ge=tr([at(0x0,a['IConfigService']),at(0x1,a['Inject'](Z['HTTPService'])),at(0x2,a['Inject'](a[_0x2fc972(0x2cf)]))],Ge);var nr=Object[_0x2fc972(0x356)],ir=Object[_0x2fc972(0x423)],sr=(_0xde28d,_0x4af886,_0x18c93b,_0x1e5be1)=>{const _0x33f2e2=_0x2fc972;for(var _0x3d3075=_0x1e5be1>0x1?void 0x0:_0x1e5be1?ir(_0x4af886,_0x18c93b):_0x4af886,_0x123cda=_0xde28d[_0x33f2e2(0x14d)]-0x1,_0x520309;_0x123cda>=0x0;_0x123cda--)(_0x520309=_0xde28d[_0x123cda])&&(_0x3d3075=(_0x1e5be1?_0x520309(_0x4af886,_0x18c93b,_0x3d3075):_0x520309(_0x3d3075))||_0x3d3075);return _0x1e5be1&&_0x3d3075&&nr(_0x4af886,_0x18c93b,_0x3d3075),_0x3d3075;},Wt=(_0x4cabfd,_0x480273)=>(_0x32a080,_0x4907cc)=>_0x480273(_0x32a080,_0x4907cc,_0x4cabfd);const Rn=_0x2fc972(0x2d7),rr=_0x2fc972(0x1e1);exports[_0x2fc972(0x228)]=class extends a[_0x2fc972(0x37c)]{constructor(_0x43658d,_0x19c16c){const _0x11b4f1=_0x2fc972;super(),this['_HTTPService']=_0x43658d,this['_configService']=_0x19c16c,this[_0x11b4f1(0x4bb)]();}[_0x2fc972(0x4bb)](){const _0x518241=_0x2fc972,_0x14e83d=this;this['disposeWithMe'](this['_HTTPService'][_0x518241(0x2b8)]({'priority':0x3e7,'interceptor':Z['MergeInterceptorFactory']({'isMatch'(_0x16428f){const _0x27e2e9=_0x518241;var _0xa3e55c;if(_0x16428f[_0x27e2e9(0x3d0)]===_0x27e2e9(0x331)&&((_0xa3e55c=_0x16428f[_0x27e2e9(0x44a)])!=null&&_0xa3e55c[_0x27e2e9(0x3fd)])){const {objectID:_0x5b8ffc,objectType:_0x53828c}=_0x16428f[_0x27e2e9(0x44a)]['body']||{};if(!_0x5b8ffc||_0x53828c===void 0x0)return!0x1;const _0x1075a3=_0x14e83d['_getAPIPrefixPath']()+'/'+_0x53828c+_0x27e2e9(0x36f)+_0x5b8ffc+'/allowed';if(_0x16428f[_0x27e2e9(0x153)]===_0x1075a3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34c119){const _0x2a9f1d=_0x518241;var _0x5807e6;return(_0x5807e6=_0x34c119[_0x2a9f1d(0x44a)])==null?void 0x0:_0x5807e6[_0x2a9f1d(0x3fd)];},'mergeParamsToRequest'(_0x2541ce,_0x414d57){const _0x1db208=_0x518241,_0x13ff2c=_0x14e83d['_getAPIPrefixPath']()+_0x1db208(0x430),_0x5c8a52=_0x2541ce[_0x1db208(0x415)]((_0x217dfb,_0x4e7269)=>{const _0x2fedda=_0x1db208,{unitID:_0x2d9d22,objectID:_0x4690f4,objectType:_0x5be11c,actions:_0x623de8}=_0x4e7269;return _0x217dfb[_0x2d9d22]||(_0x217dfb[_0x2d9d22]={}),_0x217dfb[_0x2d9d22][_0x4690f4]||(_0x217dfb[_0x2d9d22][_0x4690f4]={'objectID':_0x4690f4,'objectType':_0x5be11c,'actions':[]}),_0x217dfb[_0x2d9d22][_0x4690f4][_0x2fedda(0x4ac)][_0x2fedda(0x540)](..._0x623de8),_0x217dfb;},{}),_0x39794d=[];for(const _0x2371ac in _0x5c8a52)for(const _0x1ed5d2 in _0x5c8a52[_0x2371ac]){const {actions:_0x363aed,objectType:_0x3d618c}=_0x5c8a52[_0x2371ac][_0x1ed5d2],_0x11f75d=[...new Set(_0x363aed)];_0x39794d['push']({'unitID':_0x2371ac,'objectID':_0x1ed5d2,'objectType':_0x3d618c,'actions':_0x11f75d});}return new Z[(_0x1db208(0x49f))]('POST',_0x13ff2c,{'headers':_0x414d57[_0x1db208(0x166)],'withCredentials':_0x414d57[_0x1db208(0x432)],'responseType':_0x414d57[_0x1db208(0xd6)],'body':{'requests':_0x39794d}});}},{'distributeResult'(_0x481e93,_0x4375ce){const _0x4c0708=_0x518241,{objectActions:_0x3d0db1}=_0x481e93;return _0x4375ce[_0x4c0708(0x2dc)](_0x5ac226=>{const _0x43fa0b=_0x4c0708,{unitID:_0x4770c4,objectID:_0x8e65ab,actions:_0x13d2c5}=_0x5ac226,_0x340f45=_0x3d0db1['find'](_0x3b5b57=>_0x3b5b57[_0x43fa0b(0xbc)]===_0x4770c4&&_0x3b5b57[_0x43fa0b(0x1f4)]===_0x8e65ab),_0x58919f=_0x13d2c5[_0x43fa0b(0x2dc)](_0x327c23=>_0x340f45==null?void 0x0:_0x340f45[_0x43fa0b(0x4ac)][_0x43fa0b(0x2e1)](_0x519ee3=>_0x519ee3['action']===_0x327c23))[_0x43fa0b(0xda)](_0x8c7aee=>!!_0x8c7aee);return{'config':_0x5ac226,'result':{'actions':_0x58919f,'error':_0x481e93[_0x43fa0b(0x2be)]}};});}})}));}['_getAPIPrefixPath'](){const _0x596ebd=_0x2fc972;var _0x41f853,_0x33f312;const _0x5428d0=this['_configService'][_0x596ebd(0xf1)](Rn),_0x4338c5=this[_0x596ebd(0x51e)][_0x596ebd(0xf1)](te);return(_0x33f312=(_0x41f853=_0x4338c5==null?void 0x0:_0x4338c5['authzUrl'])!=null?_0x41f853:_0x5428d0)!=null?_0x33f312:rr;}async[_0x2fc972(0xe9)](_0x238470){const _0x573037=_0x2fc972,_0x4515b0=this[_0x573037(0x329)]()+'/'+_0x238470[_0x573037(0xce)]+_0x573037(0xec);return(await this[_0x573037(0x4a7)][_0x573037(0x1b2)](_0x4515b0,{'body':_0x238470}))[_0x573037(0x3fd)][_0x573037(0x1f4)]||'';}async[_0x2fc972(0x325)](_0x561e2b){const _0x21d649=_0x2fc972,_0x224bd4=this[_0x21d649(0x329)]()+_0x21d649(0x119);return(await this[_0x21d649(0x4a7)][_0x21d649(0x1b2)](_0x224bd4,{'body':_0x561e2b}))[_0x21d649(0x3fd)]['objects'];}async[_0x2fc972(0xe5)](_0xc9cdfa){const _0x59ad7d=_0x2fc972,_0xe0e644=this[_0x59ad7d(0x329)]()+'/'+_0xc9cdfa[_0x59ad7d(0xce)]+'/object/'+_0xc9cdfa[_0x59ad7d(0x1f4)];await this[_0x59ad7d(0x4a7)][_0x59ad7d(0x111)](_0xe0e644,{'body':_0xc9cdfa});}async['allowed'](_0x416e1e){const _0x4023fb=_0x2fc972,_0x496576=this[_0x4023fb(0x329)]()+'/'+_0x416e1e[_0x4023fb(0xce)]+'/object/'+_0x416e1e[_0x4023fb(0x1f4)]+'/allowed';return(await this[_0x4023fb(0x4a7)][_0x4023fb(0x1b2)](_0x496576,{'body':_0x416e1e}))[_0x4023fb(0x3fd)][_0x4023fb(0x4ac)];}async[_0x2fc972(0x373)](_0x3f1e38){const _0x26628c=_0x2fc972,_0x2da206=this['_getAPIPrefixPath']()+_0x26628c(0x430);return(await this[_0x26628c(0x4a7)]['post'](_0x2da206,{'body':{'requests':_0x3f1e38}}))[_0x26628c(0x3fd)][_0x26628c(0x3c8)];}async[_0x2fc972(0x54e)](_0x1d4531){const _0x2b4534=_0x2fc972,_0x2fc19f=this['_getAPIPrefixPath']()+'/'+_0x1d4531[_0x2b4534(0xce)]+_0x2b4534(0x300),_0x318cd3=await this[_0x2b4534(0x4a7)][_0x2b4534(0x1b2)](_0x2fc19f,{'body':_0x1d4531});return{'roles':_0x318cd3[_0x2b4534(0x3fd)][_0x2b4534(0x269)],'actions':_0x318cd3['body'][_0x2b4534(0x4ac)]};}async['deleteCollaborator'](_0x42bcdd){const _0x32c3f2=_0x2fc972,_0x5e9235=this[_0x32c3f2(0x329)]()+'/collaborator';await this['_HTTPService'][_0x32c3f2(0x332)](_0x5e9235,{'params':{'collaboratorID':_0x42bcdd[_0x32c3f2(0x38a)],'objectID':_0x42bcdd['objectID'],'unitID':_0x42bcdd[_0x32c3f2(0xbc)]}});}async['updateCollaborator'](_0x53a134){const _0x23011e=_0x2fc972,_0x3d5a70=this['_getAPIPrefixPath']()+_0x23011e(0x303);await this[_0x23011e(0x4a7)]['patch'](_0x3d5a70,{'body':_0x53a134});}async[_0x2fc972(0x290)](_0x13dd94){const _0x4ea521=_0x2fc972,_0x2ded53=this['_getAPIPrefixPath']()+_0x4ea521(0x303);await this[_0x4ea521(0x4a7)][_0x4ea521(0x1b2)](_0x2ded53,{'body':_0x13dd94});}async[_0x2fc972(0x18b)](_0x5b1b57){const _0x2492fa=_0x2fc972,_0x12738b=this[_0x2492fa(0x329)]()+_0x2492fa(0x303);return(await this[_0x2492fa(0x4a7)][_0x2492fa(0x3cf)](_0x12738b,{'params':{'objectID':_0x5b1b57['objectID'],'unitID':_0x5b1b57['unitID']}}))[_0x2492fa(0x3fd)][_0x2492fa(0xaf)];}async[_0x2fc972(0x28a)](_0x5b4bb1){const _0x1f2254=_0x2fc972,_0x3f030e=this[_0x1f2254(0x329)]()+'/collaborator';await this[_0x1f2254(0x4a7)][_0x1f2254(0x111)](_0x3f030e,{'body':_0x5b4bb1});}},exports['AuthzIoHttpService']=sr([Wt(0x0,a[_0x2fc972(0xde)](Z[_0x2fc972(0x4a1)])),Wt(0x1,a[_0x2fc972(0xde)](a['IConfigService']))],exports[_0x2fc972(0x228)]);var yn={'exports':{}};function or(_0x56409e){const _0x450195=_0x2fc972;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x56409e+_0x450195(0x1a4));}var ct={'exports':{}},Ft;function oe(){const _0x14958a=_0x2fc972;return Ft||(Ft=0x1,function(_0x11eaa8,_0x5a6dc3){(function(_0x179d72,_0xf5e207){const _0x499b80=_0x10d1;_0x11eaa8[_0x499b80(0x40d)]=_0xf5e207();}(X,function(){var _0x65ed03=_0x65ed03||function(_0x3d3350,_0x2d5f11){const _0x1e1969=_0x10d1;var _0x364de5;if(typeof window<'u'&&window[_0x1e1969(0x4c6)]&&(_0x364de5=window[_0x1e1969(0x4c6)]),typeof self<'u'&&self['crypto']&&(_0x364de5=self[_0x1e1969(0x4c6)]),typeof globalThis<'u'&&globalThis[_0x1e1969(0x4c6)]&&(_0x364de5=globalThis[_0x1e1969(0x4c6)]),!_0x364de5&&typeof window<'u'&&window[_0x1e1969(0x4b0)]&&(_0x364de5=window[_0x1e1969(0x4b0)]),!_0x364de5&&typeof X<'u'&&X[_0x1e1969(0x4c6)]&&(_0x364de5=X[_0x1e1969(0x4c6)]),!_0x364de5&&typeof or=='function')try{_0x364de5=require(_0x1e1969(0x4c6));}catch{}var _0x40d566=function(){const _0x3edc91=_0x1e1969;if(_0x364de5){if(typeof _0x364de5[_0x3edc91(0xb1)]==_0x3edc91(0x4fc))try{return _0x364de5[_0x3edc91(0xb1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x364de5['randomBytes']==_0x3edc91(0x4fc))try{return _0x364de5['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x3edc91(0xad));},_0x1207c3=Object['create']||(function(){function _0x946b4a(){}return function(_0x2cf69c){const _0x7bac51=_0x10d1;var _0x185ff7;return _0x946b4a[_0x7bac51(0x11f)]=_0x2cf69c,_0x185ff7=new _0x946b4a(),_0x946b4a[_0x7bac51(0x11f)]=null,_0x185ff7;};}()),_0xf2ce63={},_0x31bcc6=_0xf2ce63[_0x1e1969(0x342)]={},_0x219543=_0x31bcc6[_0x1e1969(0x3d3)]=(function(){return{'extend':function(_0x48a75a){const _0x505cdd=_0x10d1;var _0x28da81=_0x1207c3(this);return _0x48a75a&&_0x28da81[_0x505cdd(0x3c1)](_0x48a75a),(!_0x28da81['hasOwnProperty'](_0x505cdd(0x173))||this[_0x505cdd(0x173)]===_0x28da81[_0x505cdd(0x173)])&&(_0x28da81[_0x505cdd(0x173)]=function(){const _0x5a9641=_0x505cdd;_0x28da81['$super'][_0x5a9641(0x173)]['apply'](this,arguments);}),_0x28da81[_0x505cdd(0x173)][_0x505cdd(0x11f)]=_0x28da81,_0x28da81[_0x505cdd(0x10e)]=this,_0x28da81;},'create':function(){const _0x5a1c5b=_0x10d1;var _0x3c5702=this[_0x5a1c5b(0x316)]();return _0x3c5702[_0x5a1c5b(0x173)][_0x5a1c5b(0x2ce)](_0x3c5702,arguments),_0x3c5702;},'init':function(){},'mixIn':function(_0x239b25){const _0x27e684=_0x10d1;for(var _0x12f8f5 in _0x239b25)_0x239b25['hasOwnProperty'](_0x12f8f5)&&(this[_0x12f8f5]=_0x239b25[_0x12f8f5]);_0x239b25[_0x27e684(0x3d7)]('toString')&&(this[_0x27e684(0x443)]=_0x239b25[_0x27e684(0x443)]);},'clone':function(){const _0x3cf838=_0x10d1;return this['init']['prototype'][_0x3cf838(0x316)](this);}};}()),_0x407c7b=_0x31bcc6[_0x1e1969(0x50c)]=_0x219543['extend']({'init':function(_0x45cb5e,_0x5f1d0b){const _0x18219c=_0x1e1969;_0x45cb5e=this[_0x18219c(0x53a)]=_0x45cb5e||[],_0x5f1d0b!=_0x2d5f11?this[_0x18219c(0x509)]=_0x5f1d0b:this[_0x18219c(0x509)]=_0x45cb5e[_0x18219c(0x14d)]*0x4;},'toString':function(_0x135444){const _0xdd45b7=_0x1e1969;return(_0x135444||_0x1923a9)[_0xdd45b7(0x3cd)](this);},'concat':function(_0x3d83a0){const _0x5799bb=_0x1e1969;var _0x455383=this[_0x5799bb(0x53a)],_0x5cf172=_0x3d83a0[_0x5799bb(0x53a)],_0x42d4ef=this[_0x5799bb(0x509)],_0x942b3b=_0x3d83a0[_0x5799bb(0x509)];if(this[_0x5799bb(0x4e7)](),_0x42d4ef%0x4)for(var _0x35936c=0x0;_0x35936c<_0x942b3b;_0x35936c++){var _0x2e0c02=_0x5cf172[_0x35936c>>>0x2]>>>0x18-_0x35936c%0x4*0x8&0xff;_0x455383[_0x42d4ef+_0x35936c>>>0x2]|=_0x2e0c02<<0x18-(_0x42d4ef+_0x35936c)%0x4*0x8;}else{for(var _0xd61832=0x0;_0xd61832<_0x942b3b;_0xd61832+=0x4)_0x455383[_0x42d4ef+_0xd61832>>>0x2]=_0x5cf172[_0xd61832>>>0x2];}return this[_0x5799bb(0x509)]+=_0x942b3b,this;},'clamp':function(){const _0x456b49=_0x1e1969;var _0x2c2e6b=this['words'],_0x2db046=this[_0x456b49(0x509)];_0x2c2e6b[_0x2db046>>>0x2]&=0xffffffff<<0x20-_0x2db046%0x4*0x8,_0x2c2e6b[_0x456b49(0x14d)]=_0x3d3350['ceil'](_0x2db046/0x4);},'clone':function(){const _0x1a1b01=_0x1e1969;var _0x112258=_0x219543['clone'][_0x1a1b01(0x16c)](this);return _0x112258[_0x1a1b01(0x53a)]=this[_0x1a1b01(0x53a)][_0x1a1b01(0x2b1)](0x0),_0x112258;},'random':function(_0x4d5e7c){const _0x181576=_0x1e1969;for(var _0x2d2223=[],_0x170978=0x0;_0x170978<_0x4d5e7c;_0x170978+=0x4)_0x2d2223[_0x181576(0x540)](_0x40d566());return new _0x407c7b[(_0x181576(0x173))](_0x2d2223,_0x4d5e7c);}}),_0x393845=_0xf2ce63['enc']={},_0x1923a9=_0x393845[_0x1e1969(0xcb)]={'stringify':function(_0x1cda04){const _0x40adc2=_0x1e1969;for(var _0x1a238e=_0x1cda04[_0x40adc2(0x53a)],_0x4d6b46=_0x1cda04['sigBytes'],_0x885581=[],_0x2b5a9a=0x0;_0x2b5a9a<_0x4d6b46;_0x2b5a9a++){var _0x1ea148=_0x1a238e[_0x2b5a9a>>>0x2]>>>0x18-_0x2b5a9a%0x4*0x8&0xff;_0x885581[_0x40adc2(0x540)]((_0x1ea148>>>0x4)[_0x40adc2(0x443)](0x10)),_0x885581['push']((_0x1ea148&0xf)[_0x40adc2(0x443)](0x10));}return _0x885581[_0x40adc2(0x4e1)]('');},'parse':function(_0x188d7d){const _0x473cef=_0x1e1969;for(var _0x31998a=_0x188d7d[_0x473cef(0x14d)],_0x369de2=[],_0x48c24d=0x0;_0x48c24d<_0x31998a;_0x48c24d+=0x2)_0x369de2[_0x48c24d>>>0x3]|=parseInt(_0x188d7d['substr'](_0x48c24d,0x2),0x10)<<0x18-_0x48c24d%0x8*0x4;return new _0x407c7b[(_0x473cef(0x173))](_0x369de2,_0x31998a/0x2);}},_0x4af8d1=_0x393845['Latin1']={'stringify':function(_0x184cf2){const _0x514219=_0x1e1969;for(var _0x60454e=_0x184cf2[_0x514219(0x53a)],_0x5dd049=_0x184cf2[_0x514219(0x509)],_0x28c631=[],_0x3001b1=0x0;_0x3001b1<_0x5dd049;_0x3001b1++){var _0x4d9b3e=_0x60454e[_0x3001b1>>>0x2]>>>0x18-_0x3001b1%0x4*0x8&0xff;_0x28c631['push'](String[_0x514219(0x45e)](_0x4d9b3e));}return _0x28c631[_0x514219(0x4e1)]('');},'parse':function(_0x3d349d){const _0x3e7f52=_0x1e1969;for(var _0x15ef03=_0x3d349d[_0x3e7f52(0x14d)],_0x3a81d8=[],_0x5d75c9=0x0;_0x5d75c9<_0x15ef03;_0x5d75c9++)_0x3a81d8[_0x5d75c9>>>0x2]|=(_0x3d349d[_0x3e7f52(0xf7)](_0x5d75c9)&0xff)<<0x18-_0x5d75c9%0x4*0x8;return new _0x407c7b[(_0x3e7f52(0x173))](_0x3a81d8,_0x15ef03);}},_0x21cc68=_0x393845[_0x1e1969(0x52f)]={'stringify':function(_0x1ee1bd){const _0x2e5c99=_0x1e1969;try{return decodeURIComponent(escape(_0x4af8d1[_0x2e5c99(0x3cd)](_0x1ee1bd)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x373e8a){const _0x460b4b=_0x1e1969;return _0x4af8d1[_0x460b4b(0x17d)](unescape(encodeURIComponent(_0x373e8a)));}},_0x2dfadb=_0x31bcc6[_0x1e1969(0x282)]=_0x219543[_0x1e1969(0x316)]({'reset':function(){const _0x2920c1=_0x1e1969;this[_0x2920c1(0x1c7)]=new _0x407c7b[(_0x2920c1(0x173))](),this[_0x2920c1(0x4fb)]=0x0;},'_append':function(_0x1a84a8){const _0x784dbd=_0x1e1969;typeof _0x1a84a8==_0x784dbd(0x12e)&&(_0x1a84a8=_0x21cc68[_0x784dbd(0x17d)](_0x1a84a8)),this[_0x784dbd(0x1c7)][_0x784dbd(0x204)](_0x1a84a8),this[_0x784dbd(0x4fb)]+=_0x1a84a8['sigBytes'];},'_process':function(_0x31109a){const _0x1b5d5f=_0x1e1969;var _0x100ba9,_0x12bc01=this[_0x1b5d5f(0x1c7)],_0x46f625=_0x12bc01[_0x1b5d5f(0x53a)],_0x5365ff=_0x12bc01['sigBytes'],_0x5029e6=this[_0x1b5d5f(0x11d)],_0x1476fb=_0x5029e6*0x4,_0x16bfbe=_0x5365ff/_0x1476fb;_0x31109a?_0x16bfbe=_0x3d3350['ceil'](_0x16bfbe):_0x16bfbe=_0x3d3350[_0x1b5d5f(0x476)]((_0x16bfbe|0x0)-this[_0x1b5d5f(0x26f)],0x0);var _0x4b825b=_0x16bfbe*_0x5029e6,_0x514ef4=_0x3d3350[_0x1b5d5f(0x3d4)](_0x4b825b*0x4,_0x5365ff);if(_0x4b825b){for(var _0x24b011=0x0;_0x24b011<_0x4b825b;_0x24b011+=_0x5029e6)this['_doProcessBlock'](_0x46f625,_0x24b011);_0x100ba9=_0x46f625[_0x1b5d5f(0x28d)](0x0,_0x4b825b),_0x12bc01['sigBytes']-=_0x514ef4;}return new _0x407c7b[(_0x1b5d5f(0x173))](_0x100ba9,_0x514ef4);},'clone':function(){const _0x88caf0=_0x1e1969;var _0x490a02=_0x219543['clone']['call'](this);return _0x490a02[_0x88caf0(0x1c7)]=this[_0x88caf0(0x1c7)]['clone'](),_0x490a02;},'_minBufferSize':0x0});_0x31bcc6['Hasher']=_0x2dfadb[_0x1e1969(0x316)]({'cfg':_0x219543[_0x1e1969(0x316)](),'init':function(_0x1fd870){const _0x589369=_0x1e1969;this[_0x589369(0x19e)]=this[_0x589369(0x19e)][_0x589369(0x316)](_0x1fd870),this['reset']();},'reset':function(){const _0xaeaa7e=_0x1e1969;_0x2dfadb[_0xaeaa7e(0x18d)][_0xaeaa7e(0x16c)](this),this[_0xaeaa7e(0x3a4)]();},'update':function(_0x2405f7){const _0x596944=_0x1e1969;return this[_0x596944(0x538)](_0x2405f7),this[_0x596944(0x2e6)](),this;},'finalize':function(_0x29bd57){const _0x36bf87=_0x1e1969;_0x29bd57&&this[_0x36bf87(0x538)](_0x29bd57);var _0x542638=this[_0x36bf87(0x2fd)]();return _0x542638;},'blockSize':0x10,'_createHelper':function(_0x30c60a){return function(_0x28e6c6,_0x1c23cd){const _0x2eee6c=_0x10d1;return new _0x30c60a[(_0x2eee6c(0x173))](_0x1c23cd)[_0x2eee6c(0x259)](_0x28e6c6);};},'_createHmacHelper':function(_0x5bbcda){return function(_0x310d0b,_0x11742c){const _0x2ef42c=_0x10d1;return new _0x498c03[(_0x2ef42c(0x2a3))][(_0x2ef42c(0x173))](_0x5bbcda,_0x11742c)['finalize'](_0x310d0b);};}});var _0x498c03=_0xf2ce63[_0x1e1969(0x474)]={};return _0xf2ce63;}(Math);return _0x65ed03;}));}(ct)),ct[_0x14958a(0x40d)];}var lt={'exports':{}},Vt;function On(){const _0x47c5f7=_0x2fc972;return Vt||(Vt=0x1,function(_0x3f7dd4,_0x24ca4e){(function(_0x3749e7,_0x2730d7){_0x3f7dd4['exports']=_0x2730d7(oe());}(X,function(_0x5b47ee){const _0x4287ee=_0x10d1;return(function(){const _0x23e05b=_0x10d1;var _0x3a16f5=_0x5b47ee,_0x422a7a=_0x3a16f5['lib'],_0x2506ff=_0x422a7a['WordArray'],_0x3c1e6b=_0x3a16f5[_0x23e05b(0x3dc)];_0x3c1e6b[_0x23e05b(0x2f7)]={'stringify':function(_0x4fef88){const _0x16722b=_0x23e05b;var _0x21e77b=_0x4fef88[_0x16722b(0x53a)],_0x3f8940=_0x4fef88[_0x16722b(0x509)],_0x273deb=this[_0x16722b(0x159)];_0x4fef88[_0x16722b(0x4e7)]();for(var _0x4a8480=[],_0x49286d=0x0;_0x49286d<_0x3f8940;_0x49286d+=0x3)for(var _0x3e5025=_0x21e77b[_0x49286d>>>0x2]>>>0x18-_0x49286d%0x4*0x8&0xff,_0x36097c=_0x21e77b[_0x49286d+0x1>>>0x2]>>>0x18-(_0x49286d+0x1)%0x4*0x8&0xff,_0x4a1764=_0x21e77b[_0x49286d+0x2>>>0x2]>>>0x18-(_0x49286d+0x2)%0x4*0x8&0xff,_0x58ec65=_0x3e5025<<0x10|_0x36097c<<0x8|_0x4a1764,_0x173c39=0x0;_0x173c39<0x4&&_0x49286d+_0x173c39*0.75<_0x3f8940;_0x173c39++)_0x4a8480[_0x16722b(0x540)](_0x273deb['charAt'](_0x58ec65>>>0x6*(0x3-_0x173c39)&0x3f));var _0x5d84bd=_0x273deb[_0x16722b(0x317)](0x40);if(_0x5d84bd){for(;_0x4a8480[_0x16722b(0x14d)]%0x4;)_0x4a8480[_0x16722b(0x540)](_0x5d84bd);}return _0x4a8480['join']('');},'parse':function(_0x34619d){const _0x2125c2=_0x23e05b;var _0x5709c7=_0x34619d['length'],_0x32f9be=this[_0x2125c2(0x159)],_0x483e07=this[_0x2125c2(0x1b4)];if(!_0x483e07){_0x483e07=this['_reverseMap']=[];for(var _0x320ea8=0x0;_0x320ea8<_0x32f9be[_0x2125c2(0x14d)];_0x320ea8++)_0x483e07[_0x32f9be[_0x2125c2(0xf7)](_0x320ea8)]=_0x320ea8;}var _0x33e5bb=_0x32f9be['charAt'](0x40);if(_0x33e5bb){var _0x523a71=_0x34619d[_0x2125c2(0x4e9)](_0x33e5bb);_0x523a71!==-0x1&&(_0x5709c7=_0x523a71);}return _0x25143d(_0x34619d,_0x5709c7,_0x483e07);},'_map':_0x23e05b(0x219)};function _0x25143d(_0x568624,_0x18c293,_0x4ab2b5){const _0x3d7b28=_0x23e05b;for(var _0x2c6d29=[],_0x488005=0x0,_0x4ca6cf=0x0;_0x4ca6cf<_0x18c293;_0x4ca6cf++)if(_0x4ca6cf%0x4){var _0x5519b4=_0x4ab2b5[_0x568624[_0x3d7b28(0xf7)](_0x4ca6cf-0x1)]<<_0x4ca6cf%0x4*0x2,_0x3489c4=_0x4ab2b5[_0x568624['charCodeAt'](_0x4ca6cf)]>>>0x6-_0x4ca6cf%0x4*0x2,_0x873b02=_0x5519b4|_0x3489c4;_0x2c6d29[_0x488005>>>0x2]|=_0x873b02<<0x18-_0x488005%0x4*0x8,_0x488005++;}return _0x2506ff[_0x3d7b28(0xe9)](_0x2c6d29,_0x488005);}}()),_0x5b47ee[_0x4287ee(0x3dc)]['Base64'];}));}(lt)),lt[_0x47c5f7(0x40d)];}var ht={'exports':{}},Gt;function ar(){const _0xe8bb40=_0x2fc972;return Gt||(Gt=0x1,function(_0x495ede,_0x32015){(function(_0x4f3268,_0xd80268){const _0xbb8d7e=_0x10d1;_0x495ede[_0xbb8d7e(0x40d)]=_0xd80268(oe());}(X,function(_0x122806){const _0x3d4943=_0x10d1;return function(_0x184f39){const _0x3152d6=_0x10d1;var _0x35033f=_0x122806,_0x5344a5=_0x35033f[_0x3152d6(0x342)],_0x57dd0e=_0x5344a5[_0x3152d6(0x50c)],_0x3d56a3=_0x5344a5['Hasher'],_0x2e6fe2=_0x35033f[_0x3152d6(0x474)],_0x4fb31f=[];(function(){const _0x306307=_0x3152d6;for(var _0x268ec2=0x0;_0x268ec2<0x40;_0x268ec2++)_0x4fb31f[_0x268ec2]=_0x184f39[_0x306307(0xd7)](_0x184f39['sin'](_0x268ec2+0x1))*0x100000000|0x0;}());var _0x39a1aa=_0x2e6fe2[_0x3152d6(0x16d)]=_0x3d56a3[_0x3152d6(0x316)]({'_doReset':function(){const _0xc55019=_0x3152d6;this[_0xc55019(0x4eb)]=new _0x57dd0e[(_0xc55019(0x173))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe3bc9,_0x144487){const _0x59c639=_0x3152d6;for(var _0x4d67a5=0x0;_0x4d67a5<0x10;_0x4d67a5++){var _0x9c88d9=_0x144487+_0x4d67a5,_0x40b1e5=_0xe3bc9[_0x9c88d9];_0xe3bc9[_0x9c88d9]=(_0x40b1e5<<0x8|_0x40b1e5>>>0x18)&0xff00ff|(_0x40b1e5<<0x18|_0x40b1e5>>>0x8)&0xff00ff00;}var _0xf8dd31=this[_0x59c639(0x4eb)][_0x59c639(0x53a)],_0xdf7daa=_0xe3bc9[_0x144487+0x0],_0x45cb05=_0xe3bc9[_0x144487+0x1],_0x19988f=_0xe3bc9[_0x144487+0x2],_0x12d262=_0xe3bc9[_0x144487+0x3],_0x1cca04=_0xe3bc9[_0x144487+0x4],_0x3f7485=_0xe3bc9[_0x144487+0x5],_0x22cde3=_0xe3bc9[_0x144487+0x6],_0x2487bc=_0xe3bc9[_0x144487+0x7],_0x459cf6=_0xe3bc9[_0x144487+0x8],_0x2e3dcd=_0xe3bc9[_0x144487+0x9],_0x1f31fa=_0xe3bc9[_0x144487+0xa],_0x595be8=_0xe3bc9[_0x144487+0xb],_0x345fb7=_0xe3bc9[_0x144487+0xc],_0x6ea1be=_0xe3bc9[_0x144487+0xd],_0x5bce64=_0xe3bc9[_0x144487+0xe],_0x413a0e=_0xe3bc9[_0x144487+0xf],_0x33fa29=_0xf8dd31[0x0],_0x247366=_0xf8dd31[0x1],_0x37c6a1=_0xf8dd31[0x2],_0x3b749f=_0xf8dd31[0x3];_0x33fa29=_0x3bed82(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0xdf7daa,0x7,_0x4fb31f[0x0]),_0x3b749f=_0x3bed82(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x45cb05,0xc,_0x4fb31f[0x1]),_0x37c6a1=_0x3bed82(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x19988f,0x11,_0x4fb31f[0x2]),_0x247366=_0x3bed82(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x12d262,0x16,_0x4fb31f[0x3]),_0x33fa29=_0x3bed82(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x1cca04,0x7,_0x4fb31f[0x4]),_0x3b749f=_0x3bed82(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x3f7485,0xc,_0x4fb31f[0x5]),_0x37c6a1=_0x3bed82(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x22cde3,0x11,_0x4fb31f[0x6]),_0x247366=_0x3bed82(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x2487bc,0x16,_0x4fb31f[0x7]),_0x33fa29=_0x3bed82(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x459cf6,0x7,_0x4fb31f[0x8]),_0x3b749f=_0x3bed82(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x2e3dcd,0xc,_0x4fb31f[0x9]),_0x37c6a1=_0x3bed82(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x1f31fa,0x11,_0x4fb31f[0xa]),_0x247366=_0x3bed82(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x595be8,0x16,_0x4fb31f[0xb]),_0x33fa29=_0x3bed82(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x345fb7,0x7,_0x4fb31f[0xc]),_0x3b749f=_0x3bed82(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x6ea1be,0xc,_0x4fb31f[0xd]),_0x37c6a1=_0x3bed82(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x5bce64,0x11,_0x4fb31f[0xe]),_0x247366=_0x3bed82(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x413a0e,0x16,_0x4fb31f[0xf]),_0x33fa29=_0x5e2627(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x45cb05,0x5,_0x4fb31f[0x10]),_0x3b749f=_0x5e2627(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x22cde3,0x9,_0x4fb31f[0x11]),_0x37c6a1=_0x5e2627(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x595be8,0xe,_0x4fb31f[0x12]),_0x247366=_0x5e2627(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0xdf7daa,0x14,_0x4fb31f[0x13]),_0x33fa29=_0x5e2627(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x3f7485,0x5,_0x4fb31f[0x14]),_0x3b749f=_0x5e2627(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x1f31fa,0x9,_0x4fb31f[0x15]),_0x37c6a1=_0x5e2627(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x413a0e,0xe,_0x4fb31f[0x16]),_0x247366=_0x5e2627(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x1cca04,0x14,_0x4fb31f[0x17]),_0x33fa29=_0x5e2627(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x2e3dcd,0x5,_0x4fb31f[0x18]),_0x3b749f=_0x5e2627(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x5bce64,0x9,_0x4fb31f[0x19]),_0x37c6a1=_0x5e2627(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x12d262,0xe,_0x4fb31f[0x1a]),_0x247366=_0x5e2627(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x459cf6,0x14,_0x4fb31f[0x1b]),_0x33fa29=_0x5e2627(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x6ea1be,0x5,_0x4fb31f[0x1c]),_0x3b749f=_0x5e2627(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x19988f,0x9,_0x4fb31f[0x1d]),_0x37c6a1=_0x5e2627(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x2487bc,0xe,_0x4fb31f[0x1e]),_0x247366=_0x5e2627(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x345fb7,0x14,_0x4fb31f[0x1f]),_0x33fa29=_0x446774(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x3f7485,0x4,_0x4fb31f[0x20]),_0x3b749f=_0x446774(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x459cf6,0xb,_0x4fb31f[0x21]),_0x37c6a1=_0x446774(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x595be8,0x10,_0x4fb31f[0x22]),_0x247366=_0x446774(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x5bce64,0x17,_0x4fb31f[0x23]),_0x33fa29=_0x446774(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x45cb05,0x4,_0x4fb31f[0x24]),_0x3b749f=_0x446774(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x1cca04,0xb,_0x4fb31f[0x25]),_0x37c6a1=_0x446774(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x2487bc,0x10,_0x4fb31f[0x26]),_0x247366=_0x446774(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x1f31fa,0x17,_0x4fb31f[0x27]),_0x33fa29=_0x446774(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x6ea1be,0x4,_0x4fb31f[0x28]),_0x3b749f=_0x446774(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0xdf7daa,0xb,_0x4fb31f[0x29]),_0x37c6a1=_0x446774(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x12d262,0x10,_0x4fb31f[0x2a]),_0x247366=_0x446774(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x22cde3,0x17,_0x4fb31f[0x2b]),_0x33fa29=_0x446774(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x2e3dcd,0x4,_0x4fb31f[0x2c]),_0x3b749f=_0x446774(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x345fb7,0xb,_0x4fb31f[0x2d]),_0x37c6a1=_0x446774(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x413a0e,0x10,_0x4fb31f[0x2e]),_0x247366=_0x446774(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x19988f,0x17,_0x4fb31f[0x2f]),_0x33fa29=_0x488367(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0xdf7daa,0x6,_0x4fb31f[0x30]),_0x3b749f=_0x488367(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x2487bc,0xa,_0x4fb31f[0x31]),_0x37c6a1=_0x488367(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x5bce64,0xf,_0x4fb31f[0x32]),_0x247366=_0x488367(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x3f7485,0x15,_0x4fb31f[0x33]),_0x33fa29=_0x488367(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x345fb7,0x6,_0x4fb31f[0x34]),_0x3b749f=_0x488367(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x12d262,0xa,_0x4fb31f[0x35]),_0x37c6a1=_0x488367(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x1f31fa,0xf,_0x4fb31f[0x36]),_0x247366=_0x488367(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x45cb05,0x15,_0x4fb31f[0x37]),_0x33fa29=_0x488367(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x459cf6,0x6,_0x4fb31f[0x38]),_0x3b749f=_0x488367(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x413a0e,0xa,_0x4fb31f[0x39]),_0x37c6a1=_0x488367(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x22cde3,0xf,_0x4fb31f[0x3a]),_0x247366=_0x488367(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x6ea1be,0x15,_0x4fb31f[0x3b]),_0x33fa29=_0x488367(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x1cca04,0x6,_0x4fb31f[0x3c]),_0x3b749f=_0x488367(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x595be8,0xa,_0x4fb31f[0x3d]),_0x37c6a1=_0x488367(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x19988f,0xf,_0x4fb31f[0x3e]),_0x247366=_0x488367(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x2e3dcd,0x15,_0x4fb31f[0x3f]),_0xf8dd31[0x0]=_0xf8dd31[0x0]+_0x33fa29|0x0,_0xf8dd31[0x1]=_0xf8dd31[0x1]+_0x247366|0x0,_0xf8dd31[0x2]=_0xf8dd31[0x2]+_0x37c6a1|0x0,_0xf8dd31[0x3]=_0xf8dd31[0x3]+_0x3b749f|0x0;},'_doFinalize':function(){const _0x44ed73=_0x3152d6;var _0xf1a567=this[_0x44ed73(0x1c7)],_0xad349f=_0xf1a567[_0x44ed73(0x53a)],_0x2d2750=this[_0x44ed73(0x4fb)]*0x8,_0xe6237a=_0xf1a567['sigBytes']*0x8;_0xad349f[_0xe6237a>>>0x5]|=0x80<<0x18-_0xe6237a%0x20;var _0x274d5a=_0x184f39[_0x44ed73(0x402)](_0x2d2750/0x100000000),_0x3cc422=_0x2d2750;_0xad349f[(_0xe6237a+0x40>>>0x9<<0x4)+0xf]=(_0x274d5a<<0x8|_0x274d5a>>>0x18)&0xff00ff|(_0x274d5a<<0x18|_0x274d5a>>>0x8)&0xff00ff00,_0xad349f[(_0xe6237a+0x40>>>0x9<<0x4)+0xe]=(_0x3cc422<<0x8|_0x3cc422>>>0x18)&0xff00ff|(_0x3cc422<<0x18|_0x3cc422>>>0x8)&0xff00ff00,_0xf1a567[_0x44ed73(0x509)]=(_0xad349f[_0x44ed73(0x14d)]+0x1)*0x4,this[_0x44ed73(0x2e6)]();for(var _0x972cc1=this['_hash'],_0x29ea91=_0x972cc1[_0x44ed73(0x53a)],_0x50ce26=0x0;_0x50ce26<0x4;_0x50ce26++){var _0x4ab55e=_0x29ea91[_0x50ce26];_0x29ea91[_0x50ce26]=(_0x4ab55e<<0x8|_0x4ab55e>>>0x18)&0xff00ff|(_0x4ab55e<<0x18|_0x4ab55e>>>0x8)&0xff00ff00;}return _0x972cc1;},'clone':function(){const _0xefeef3=_0x3152d6;var _0x5c62ae=_0x3d56a3[_0xefeef3(0x403)]['call'](this);return _0x5c62ae[_0xefeef3(0x4eb)]=this['_hash'][_0xefeef3(0x403)](),_0x5c62ae;}});function _0x3bed82(_0x339e4d,_0x148dad,_0x330d59,_0x2eb8e0,_0x164e9e,_0x5ab807,_0x2748ea){var _0x538746=_0x339e4d+(_0x148dad&_0x330d59|~_0x148dad&_0x2eb8e0)+_0x164e9e+_0x2748ea;return(_0x538746<<_0x5ab807|_0x538746>>>0x20-_0x5ab807)+_0x148dad;}function _0x5e2627(_0x7f0a5b,_0x33094f,_0x216a83,_0x54a5e2,_0x56a6b5,_0x1c991d,_0x1b41ca){var _0x28bd49=_0x7f0a5b+(_0x33094f&_0x54a5e2|_0x216a83&~_0x54a5e2)+_0x56a6b5+_0x1b41ca;return(_0x28bd49<<_0x1c991d|_0x28bd49>>>0x20-_0x1c991d)+_0x33094f;}function _0x446774(_0x38f212,_0x3aa590,_0x55e8af,_0x56b15d,_0x5e28a7,_0x2c82f8,_0x977e18){var _0x3dd5fb=_0x38f212+(_0x3aa590^_0x55e8af^_0x56b15d)+_0x5e28a7+_0x977e18;return(_0x3dd5fb<<_0x2c82f8|_0x3dd5fb>>>0x20-_0x2c82f8)+_0x3aa590;}function _0x488367(_0x47e9cd,_0x1a4a91,_0x5339b9,_0x311041,_0x5436d0,_0x5ae77c,_0x28b758){var _0x469680=_0x47e9cd+(_0x5339b9^(_0x1a4a91|~_0x311041))+_0x5436d0+_0x28b758;return(_0x469680<<_0x5ae77c|_0x469680>>>0x20-_0x5ae77c)+_0x1a4a91;}_0x35033f['MD5']=_0x3d56a3[_0x3152d6(0x52a)](_0x39a1aa),_0x35033f[_0x3152d6(0x393)]=_0x3d56a3[_0x3152d6(0x29c)](_0x39a1aa);}(Math),_0x122806[_0x3d4943(0x16d)];}));}(ht)),ht[_0xe8bb40(0x40d)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x5e1b8c=_0x2fc972;return Yt||(Yt=0x1,function(_0x4c6470,_0x3f69c7){(function(_0x49d699,_0xc3e002){const _0x54a073=_0x10d1;_0x4c6470[_0x54a073(0x40d)]=_0xc3e002(oe());}(X,function(_0x472cc6){return(function(){const _0x54bf0c=_0x10d1;var _0x52469b=_0x472cc6,_0x103416=_0x52469b[_0x54bf0c(0x342)],_0x3ef0cd=_0x103416[_0x54bf0c(0x50c)],_0xe02bb3=_0x103416[_0x54bf0c(0x319)],_0x445a09=_0x52469b[_0x54bf0c(0x474)],_0x3b2d11=[],_0x114e19=_0x445a09[_0x54bf0c(0x15d)]=_0xe02bb3[_0x54bf0c(0x316)]({'_doReset':function(){const _0xac460c=_0x54bf0c;this[_0xac460c(0x4eb)]=new _0x3ef0cd['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x24a765,_0x8ba611){const _0x51ae76=_0x54bf0c;for(var _0xb509c5=this[_0x51ae76(0x4eb)][_0x51ae76(0x53a)],_0x340b9a=_0xb509c5[0x0],_0x44b505=_0xb509c5[0x1],_0x5116f8=_0xb509c5[0x2],_0x549388=_0xb509c5[0x3],_0x303354=_0xb509c5[0x4],_0x193a06=0x0;_0x193a06<0x50;_0x193a06++){if(_0x193a06<0x10)_0x3b2d11[_0x193a06]=_0x24a765[_0x8ba611+_0x193a06]|0x0;else{var _0x4e4dcc=_0x3b2d11[_0x193a06-0x3]^_0x3b2d11[_0x193a06-0x8]^_0x3b2d11[_0x193a06-0xe]^_0x3b2d11[_0x193a06-0x10];_0x3b2d11[_0x193a06]=_0x4e4dcc<<0x1|_0x4e4dcc>>>0x1f;}var _0x1053f4=(_0x340b9a<<0x5|_0x340b9a>>>0x1b)+_0x303354+_0x3b2d11[_0x193a06];_0x193a06<0x14?_0x1053f4+=(_0x44b505&_0x5116f8|~_0x44b505&_0x549388)+0x5a827999:_0x193a06<0x28?_0x1053f4+=(_0x44b505^_0x5116f8^_0x549388)+0x6ed9eba1:_0x193a06<0x3c?_0x1053f4+=(_0x44b505&_0x5116f8|_0x44b505&_0x549388|_0x5116f8&_0x549388)-0x70e44324:_0x1053f4+=(_0x44b505^_0x5116f8^_0x549388)-0x359d3e2a,_0x303354=_0x549388,_0x549388=_0x5116f8,_0x5116f8=_0x44b505<<0x1e|_0x44b505>>>0x2,_0x44b505=_0x340b9a,_0x340b9a=_0x1053f4;}_0xb509c5[0x0]=_0xb509c5[0x0]+_0x340b9a|0x0,_0xb509c5[0x1]=_0xb509c5[0x1]+_0x44b505|0x0,_0xb509c5[0x2]=_0xb509c5[0x2]+_0x5116f8|0x0,_0xb509c5[0x3]=_0xb509c5[0x3]+_0x549388|0x0,_0xb509c5[0x4]=_0xb509c5[0x4]+_0x303354|0x0;},'_doFinalize':function(){const _0x6bd184=_0x54bf0c;var _0x15ac93=this['_data'],_0x1f6d62=_0x15ac93[_0x6bd184(0x53a)],_0x39cdfe=this[_0x6bd184(0x4fb)]*0x8,_0x28562a=_0x15ac93[_0x6bd184(0x509)]*0x8;return _0x1f6d62[_0x28562a>>>0x5]|=0x80<<0x18-_0x28562a%0x20,_0x1f6d62[(_0x28562a+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x39cdfe/0x100000000),_0x1f6d62[(_0x28562a+0x40>>>0x9<<0x4)+0xf]=_0x39cdfe,_0x15ac93[_0x6bd184(0x509)]=_0x1f6d62[_0x6bd184(0x14d)]*0x4,this[_0x6bd184(0x2e6)](),this['_hash'];},'clone':function(){const _0x1d2dbb=_0x54bf0c;var _0x15fcfc=_0xe02bb3['clone'][_0x1d2dbb(0x16c)](this);return _0x15fcfc[_0x1d2dbb(0x4eb)]=this[_0x1d2dbb(0x4eb)][_0x1d2dbb(0x403)](),_0x15fcfc;}});_0x52469b[_0x54bf0c(0x15d)]=_0xe02bb3[_0x54bf0c(0x52a)](_0x114e19),_0x52469b[_0x54bf0c(0x17e)]=_0xe02bb3[_0x54bf0c(0x29c)](_0x114e19);}()),_0x472cc6['SHA1'];}));}(ut)),ut[_0x5e1b8c(0x40d)];}var dt={'exports':{}},Kt;function lr(){const _0x34a462=_0x2fc972;return Kt||(Kt=0x1,function(_0x337da4,_0x28fe7b){(function(_0xbb1690,_0x2d6a37){const _0x411f20=_0x10d1;_0x337da4[_0x411f20(0x40d)]=_0x2d6a37(oe());}(X,function(_0x2851eb){(function(){const _0x1c9f68=_0x10d1;var _0x421856=_0x2851eb,_0x48b250=_0x421856['lib'],_0x287aa9=_0x48b250[_0x1c9f68(0x3d3)],_0x36c922=_0x421856['enc'],_0x2f6da9=_0x36c922[_0x1c9f68(0x52f)],_0x22d8a7=_0x421856['algo'];_0x22d8a7[_0x1c9f68(0x2a3)]=_0x287aa9[_0x1c9f68(0x316)]({'init':function(_0x27e5e9,_0xc0394d){const _0x4c4f36=_0x1c9f68;_0x27e5e9=this[_0x4c4f36(0x2b6)]=new _0x27e5e9[(_0x4c4f36(0x173))](),typeof _0xc0394d==_0x4c4f36(0x12e)&&(_0xc0394d=_0x2f6da9['parse'](_0xc0394d));var _0x5c15cc=_0x27e5e9['blockSize'],_0x228c77=_0x5c15cc*0x4;_0xc0394d[_0x4c4f36(0x509)]>_0x228c77&&(_0xc0394d=_0x27e5e9[_0x4c4f36(0x259)](_0xc0394d)),_0xc0394d[_0x4c4f36(0x4e7)]();for(var _0x5bff2b=this[_0x4c4f36(0x37f)]=_0xc0394d[_0x4c4f36(0x403)](),_0x1e0884=this[_0x4c4f36(0x44d)]=_0xc0394d[_0x4c4f36(0x403)](),_0x2b69aa=_0x5bff2b['words'],_0x574f71=_0x1e0884[_0x4c4f36(0x53a)],_0x8078aa=0x0;_0x8078aa<_0x5c15cc;_0x8078aa++)_0x2b69aa[_0x8078aa]^=0x5c5c5c5c,_0x574f71[_0x8078aa]^=0x36363636;_0x5bff2b[_0x4c4f36(0x509)]=_0x1e0884['sigBytes']=_0x228c77,this[_0x4c4f36(0x18d)]();},'reset':function(){const _0x2efa02=_0x1c9f68;var _0x1c330c=this['_hasher'];_0x1c330c['reset'](),_0x1c330c[_0x2efa02(0xe5)](this['_iKey']);},'update':function(_0x3a9dae){const _0x531dda=_0x1c9f68;return this[_0x531dda(0x2b6)][_0x531dda(0xe5)](_0x3a9dae),this;},'finalize':function(_0xd3567e){const _0x5b6383=_0x1c9f68;var _0x245525=this[_0x5b6383(0x2b6)],_0x4f7c50=_0x245525[_0x5b6383(0x259)](_0xd3567e);_0x245525[_0x5b6383(0x18d)]();var _0x55d6e1=_0x245525[_0x5b6383(0x259)](this[_0x5b6383(0x37f)]['clone']()[_0x5b6383(0x204)](_0x4f7c50));return _0x55d6e1;}});}());}));}(dt)),dt[_0x34a462(0x40d)];}var qt;function Dn(){const _0x55374a=_0x2fc972;return qt||(qt=0x1,function(_0x117759,_0x5190fe){(function(_0x542f54,_0x6f29ea,_0x30f69c){const _0x515748=_0x10d1;_0x117759[_0x515748(0x40d)]=_0x6f29ea(oe(),cr(),lr());}(X,function(_0x52ce43){const _0x1ac59e=_0x10d1;return(function(){const _0x3cffe5=_0x10d1;var _0x5bde7a=_0x52ce43,_0x1f82d3=_0x5bde7a[_0x3cffe5(0x342)],_0x2becf1=_0x1f82d3[_0x3cffe5(0x3d3)],_0x25c3ac=_0x1f82d3[_0x3cffe5(0x50c)],_0x168304=_0x5bde7a[_0x3cffe5(0x474)],_0xbdceff=_0x168304[_0x3cffe5(0x16d)],_0x13c145=_0x168304['EvpKDF']=_0x2becf1[_0x3cffe5(0x316)]({'cfg':_0x2becf1[_0x3cffe5(0x316)]({'keySize':0x80/0x20,'hasher':_0xbdceff,'iterations':0x1}),'init':function(_0x1fd532){const _0x330b74=_0x3cffe5;this[_0x330b74(0x19e)]=this[_0x330b74(0x19e)][_0x330b74(0x316)](_0x1fd532);},'compute':function(_0x49e6ed,_0x21be01){const _0x1a99c6=_0x3cffe5;for(var _0x52688f,_0x1b7b81=this[_0x1a99c6(0x19e)],_0x3076f7=_0x1b7b81[_0x1a99c6(0x1d8)][_0x1a99c6(0xe9)](),_0x165c40=_0x25c3ac[_0x1a99c6(0xe9)](),_0x3693c5=_0x165c40['words'],_0x1ac27d=_0x1b7b81[_0x1a99c6(0x3c5)],_0x72ae1e=_0x1b7b81[_0x1a99c6(0x3d5)];_0x3693c5['length']<_0x1ac27d;){_0x52688f&&_0x3076f7['update'](_0x52688f),_0x52688f=_0x3076f7['update'](_0x49e6ed)[_0x1a99c6(0x259)](_0x21be01),_0x3076f7[_0x1a99c6(0x18d)]();for(var _0x5ae75a=0x1;_0x5ae75a<_0x72ae1e;_0x5ae75a++)_0x52688f=_0x3076f7[_0x1a99c6(0x259)](_0x52688f),_0x3076f7[_0x1a99c6(0x18d)]();_0x165c40['concat'](_0x52688f);}return _0x165c40['sigBytes']=_0x1ac27d*0x4,_0x165c40;}});_0x5bde7a[_0x3cffe5(0x4f2)]=function(_0x1b1ce7,_0x53fef0,_0x33cb54){const _0xfc3855=_0x3cffe5;return _0x13c145['create'](_0x33cb54)[_0xfc3855(0x419)](_0x1b1ce7,_0x53fef0);};}()),_0x52ce43[_0x1ac59e(0x4f2)];}));}(_t)),_t[_0x55374a(0x40d)];}function _0x10d1(_0x19a0ae,_0x42e753){const _0x14d04e=_0x14d0();return _0x10d1=function(_0x10d13d,_0xdc23cd){_0x10d13d=_0x10d13d-0xaa;let _0x8bdc81=_0x14d04e[_0x10d13d];return _0x8bdc81;},_0x10d1(_0x19a0ae,_0x42e753);}var ft={'exports':{}},zt;function wn(){const _0x4ec3ba=_0x2fc972;return zt||(zt=0x1,function(_0x33e9b5,_0x4ccf71){(function(_0xcbf748,_0xf92b5d,_0x563bbe){const _0x78672=_0x10d1;_0x33e9b5[_0x78672(0x40d)]=_0xf92b5d(oe(),Dn());}(X,function(_0xfd96ee){const _0x2eac7a=_0x10d1;_0xfd96ee[_0x2eac7a(0x342)][_0x2eac7a(0x296)]||function(_0x4c746f){const _0x104734=_0x2eac7a;var _0x21a855=_0xfd96ee,_0x22ea2c=_0x21a855[_0x104734(0x342)],_0x579347=_0x22ea2c[_0x104734(0x3d3)],_0x430788=_0x22ea2c['WordArray'],_0x1189ca=_0x22ea2c[_0x104734(0x282)],_0x50eafb=_0x21a855[_0x104734(0x3dc)];_0x50eafb[_0x104734(0x52f)];var _0x4294e5=_0x50eafb[_0x104734(0x2f7)],_0x19b21e=_0x21a855[_0x104734(0x474)],_0x2badfa=_0x19b21e['EvpKDF'],_0x204e0f=_0x22ea2c[_0x104734(0x296)]=_0x1189ca[_0x104734(0x316)]({'cfg':_0x579347[_0x104734(0x316)](),'createEncryptor':function(_0x244cc0,_0x4052bd){const _0x317ead=_0x104734;return this[_0x317ead(0xe9)](this['_ENC_XFORM_MODE'],_0x244cc0,_0x4052bd);},'createDecryptor':function(_0x3d437e,_0x2f67c5){const _0x26bfdb=_0x104734;return this['create'](this[_0x26bfdb(0x477)],_0x3d437e,_0x2f67c5);},'init':function(_0x539648,_0x121c77,_0xdbe101){const _0x16265e=_0x104734;this['cfg']=this[_0x16265e(0x19e)][_0x16265e(0x316)](_0xdbe101),this[_0x16265e(0x270)]=_0x539648,this[_0x16265e(0xf5)]=_0x121c77,this[_0x16265e(0x18d)]();},'reset':function(){const _0x30a43e=_0x104734;_0x1189ca[_0x30a43e(0x18d)]['call'](this),this[_0x30a43e(0x3a4)]();},'process':function(_0x24129f){const _0x481165=_0x104734;return this[_0x481165(0x538)](_0x24129f),this[_0x481165(0x2e6)]();},'finalize':function(_0x385492){const _0x2e41af=_0x104734;_0x385492&&this[_0x2e41af(0x538)](_0x385492);var _0x4ec5fe=this[_0x2e41af(0x2fd)]();return _0x4ec5fe;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3be3c6(_0xb7a68d){const _0x3846b2=_0x10d1;return typeof _0xb7a68d==_0x3846b2(0x12e)?_0x77caf1:_0x16b58f;}return function(_0x21b13b){return{'encrypt':function(_0x37be71,_0x29c6ed,_0x53772d){const _0x3f4848=_0x10d1;return _0x3be3c6(_0x29c6ed)[_0x3f4848(0x50b)](_0x21b13b,_0x37be71,_0x29c6ed,_0x53772d);},'decrypt':function(_0xb47a1,_0x11a3ac,_0x30e861){const _0x51f65a=_0x10d1;return _0x3be3c6(_0x11a3ac)[_0x51f65a(0x4b7)](_0x21b13b,_0xb47a1,_0x11a3ac,_0x30e861);}};};}())});_0x22ea2c[_0x104734(0x529)]=_0x204e0f[_0x104734(0x316)]({'_doFinalize':function(){const _0x4fd50b=_0x104734;var _0x425902=this[_0x4fd50b(0x2e6)](!0x0);return _0x425902;},'blockSize':0x1});var _0x3988b4=_0x21a855[_0x104734(0x3c4)]={},_0x300774=_0x22ea2c['BlockCipherMode']=_0x579347[_0x104734(0x316)]({'createEncryptor':function(_0x4f23e0,_0x13caa5){const _0x2f4b9a=_0x104734;return this[_0x2f4b9a(0xd1)][_0x2f4b9a(0xe9)](_0x4f23e0,_0x13caa5);},'createDecryptor':function(_0x1aa341,_0x51f9c0){const _0x4b4d8a=_0x104734;return this[_0x4b4d8a(0x3f0)][_0x4b4d8a(0xe9)](_0x1aa341,_0x51f9c0);},'init':function(_0x4652f6,_0x9052cf){const _0x50d14f=_0x104734;this['_cipher']=_0x4652f6,this[_0x50d14f(0x100)]=_0x9052cf;}}),_0x1c8b80=_0x3988b4['CBC']=(function(){const _0x5d0d45=_0x104734;var _0x18a15e=_0x300774[_0x5d0d45(0x316)]();_0x18a15e[_0x5d0d45(0xd1)]=_0x18a15e[_0x5d0d45(0x316)]({'processBlock':function(_0x58946d,_0x1db5ae){const _0xe65125=_0x5d0d45;var _0x2368d0=this[_0xe65125(0x521)],_0x250a55=_0x2368d0['blockSize'];_0x40abf4[_0xe65125(0x16c)](this,_0x58946d,_0x1db5ae,_0x250a55),_0x2368d0[_0xe65125(0x114)](_0x58946d,_0x1db5ae),this[_0xe65125(0xe2)]=_0x58946d['slice'](_0x1db5ae,_0x1db5ae+_0x250a55);}}),_0x18a15e['Decryptor']=_0x18a15e[_0x5d0d45(0x316)]({'processBlock':function(_0x326321,_0x3993c7){const _0x18389d=_0x5d0d45;var _0x326204=this[_0x18389d(0x521)],_0x1dbf74=_0x326204[_0x18389d(0x11d)],_0x48a00a=_0x326321[_0x18389d(0x2b1)](_0x3993c7,_0x3993c7+_0x1dbf74);_0x326204[_0x18389d(0x195)](_0x326321,_0x3993c7),_0x40abf4[_0x18389d(0x16c)](this,_0x326321,_0x3993c7,_0x1dbf74),this[_0x18389d(0xe2)]=_0x48a00a;}});function _0x40abf4(_0x24ec6b,_0x2ac934,_0x19c91e){const _0x120f2b=_0x5d0d45;var _0x34bf23,_0x1ebb5e=this[_0x120f2b(0x100)];_0x1ebb5e?(_0x34bf23=_0x1ebb5e,this['_iv']=_0x4c746f):_0x34bf23=this[_0x120f2b(0xe2)];for(var _0x44905d=0x0;_0x44905d<_0x19c91e;_0x44905d++)_0x24ec6b[_0x2ac934+_0x44905d]^=_0x34bf23[_0x44905d];}return _0x18a15e;}()),_0x3c0d62=_0x21a855[_0x104734(0x310)]={},_0x2de561=_0x3c0d62[_0x104734(0x262)]={'pad':function(_0x274d9a,_0x59e2d5){const _0x4cdfd6=_0x104734;for(var _0x12bc6a=_0x59e2d5*0x4,_0x190857=_0x12bc6a-_0x274d9a['sigBytes']%_0x12bc6a,_0x2ba417=_0x190857<<0x18|_0x190857<<0x10|_0x190857<<0x8|_0x190857,_0x498ebf=[],_0x58afcf=0x0;_0x58afcf<_0x190857;_0x58afcf+=0x4)_0x498ebf[_0x4cdfd6(0x540)](_0x2ba417);var _0x47e047=_0x430788['create'](_0x498ebf,_0x190857);_0x274d9a[_0x4cdfd6(0x204)](_0x47e047);},'unpad':function(_0x235a7a){const _0x41dbd3=_0x104734;var _0x4aeb7e=_0x235a7a[_0x41dbd3(0x53a)][_0x235a7a[_0x41dbd3(0x509)]-0x1>>>0x2]&0xff;_0x235a7a[_0x41dbd3(0x509)]-=_0x4aeb7e;}};_0x22ea2c[_0x104734(0x10f)]=_0x204e0f[_0x104734(0x316)]({'cfg':_0x204e0f[_0x104734(0x19e)][_0x104734(0x316)]({'mode':_0x1c8b80,'padding':_0x2de561}),'reset':function(){const _0x3e538a=_0x104734;var _0x9656bd;_0x204e0f['reset']['call'](this);var _0x29a236=this[_0x3e538a(0x19e)],_0xbf70e=_0x29a236['iv'],_0x2dcbae=_0x29a236[_0x3e538a(0x3c4)];this[_0x3e538a(0x270)]==this['_ENC_XFORM_MODE']?_0x9656bd=_0x2dcbae[_0x3e538a(0x125)]:(_0x9656bd=_0x2dcbae[_0x3e538a(0xee)],this['_minBufferSize']=0x1),this[_0x3e538a(0x493)]&&this[_0x3e538a(0x493)][_0x3e538a(0x22b)]==_0x9656bd?this[_0x3e538a(0x493)]['init'](this,_0xbf70e&&_0xbf70e[_0x3e538a(0x53a)]):(this['_mode']=_0x9656bd[_0x3e538a(0x16c)](_0x2dcbae,this,_0xbf70e&&_0xbf70e['words']),this[_0x3e538a(0x493)][_0x3e538a(0x22b)]=_0x9656bd);},'_doProcessBlock':function(_0x4241bb,_0x22c491){const _0x14bcb3=_0x104734;this[_0x14bcb3(0x493)]['processBlock'](_0x4241bb,_0x22c491);},'_doFinalize':function(){const _0x49cff2=_0x104734;var _0x1c9536,_0x362bfa=this[_0x49cff2(0x19e)][_0x49cff2(0x4e6)];return this[_0x49cff2(0x270)]==this[_0x49cff2(0xf6)]?(_0x362bfa[_0x49cff2(0x310)](this['_data'],this[_0x49cff2(0x11d)]),_0x1c9536=this[_0x49cff2(0x2e6)](!0x0)):(_0x1c9536=this['_process'](!0x0),_0x362bfa['unpad'](_0x1c9536)),_0x1c9536;},'blockSize':0x80/0x20});var _0x4b348b=_0x22ea2c['CipherParams']=_0x579347[_0x104734(0x316)]({'init':function(_0x41d329){this['mixIn'](_0x41d329);},'toString':function(_0x4df9bf){const _0x59f92e=_0x104734;return(_0x4df9bf||this[_0x59f92e(0x446)])['stringify'](this);}}),_0x3ed845=_0x21a855[_0x104734(0x237)]={},_0x2d8a5a=_0x3ed845[_0x104734(0x25b)]={'stringify':function(_0x26514d){const _0x32c6e4=_0x104734;var _0x35bfcc,_0x1d143e=_0x26514d[_0x32c6e4(0x23a)],_0x4befa7=_0x26514d[_0x32c6e4(0x180)];return _0x4befa7?_0x35bfcc=_0x430788[_0x32c6e4(0xe9)]([0x53616c74,0x65645f5f])[_0x32c6e4(0x204)](_0x4befa7)[_0x32c6e4(0x204)](_0x1d143e):_0x35bfcc=_0x1d143e,_0x35bfcc[_0x32c6e4(0x443)](_0x4294e5);},'parse':function(_0x4d9d1f){const _0x5049fe=_0x104734;var _0x48a563,_0x4cee7f=_0x4294e5[_0x5049fe(0x17d)](_0x4d9d1f),_0x4b792f=_0x4cee7f['words'];return _0x4b792f[0x0]==0x53616c74&&_0x4b792f[0x1]==0x65645f5f&&(_0x48a563=_0x430788[_0x5049fe(0xe9)](_0x4b792f[_0x5049fe(0x2b1)](0x2,0x4)),_0x4b792f[_0x5049fe(0x28d)](0x0,0x4),_0x4cee7f[_0x5049fe(0x509)]-=0x10),_0x4b348b[_0x5049fe(0xe9)]({'ciphertext':_0x4cee7f,'salt':_0x48a563});}},_0x16b58f=_0x22ea2c['SerializableCipher']=_0x579347[_0x104734(0x316)]({'cfg':_0x579347[_0x104734(0x316)]({'format':_0x2d8a5a}),'encrypt':function(_0x4af82b,_0x279896,_0x10d0cc,_0x3bd7d3){const _0x293cdd=_0x104734;_0x3bd7d3=this[_0x293cdd(0x19e)][_0x293cdd(0x316)](_0x3bd7d3);var _0x338754=_0x4af82b[_0x293cdd(0x125)](_0x10d0cc,_0x3bd7d3),_0x3b847d=_0x338754[_0x293cdd(0x259)](_0x279896),_0x3f2a40=_0x338754['cfg'];return _0x4b348b[_0x293cdd(0xe9)]({'ciphertext':_0x3b847d,'key':_0x10d0cc,'iv':_0x3f2a40['iv'],'algorithm':_0x4af82b,'mode':_0x3f2a40[_0x293cdd(0x3c4)],'padding':_0x3f2a40[_0x293cdd(0x4e6)],'blockSize':_0x4af82b[_0x293cdd(0x11d)],'formatter':_0x3bd7d3[_0x293cdd(0x237)]});},'decrypt':function(_0x4c1b55,_0x25433d,_0x39f8a5,_0x1f9e6a){const _0xbae21b=_0x104734;_0x1f9e6a=this[_0xbae21b(0x19e)]['extend'](_0x1f9e6a),_0x25433d=this[_0xbae21b(0x438)](_0x25433d,_0x1f9e6a[_0xbae21b(0x237)]);var _0x44d290=_0x4c1b55['createDecryptor'](_0x39f8a5,_0x1f9e6a)[_0xbae21b(0x259)](_0x25433d['ciphertext']);return _0x44d290;},'_parse':function(_0x205c5e,_0x353f45){const _0x2eaf7a=_0x104734;return typeof _0x205c5e=='string'?_0x353f45[_0x2eaf7a(0x17d)](_0x205c5e,this):_0x205c5e;}}),_0x533924=_0x21a855['kdf']={},_0x3ca464=_0x533924[_0x104734(0x25b)]={'execute':function(_0x800945,_0x4f1658,_0x439392,_0x43ec5e,_0x33e92c){const _0xa7480e=_0x104734;if(_0x43ec5e||(_0x43ec5e=_0x430788[_0xa7480e(0x151)](0x40/0x8)),_0x33e92c)var _0x2a4014=_0x2badfa['create']({'keySize':_0x4f1658+_0x439392,'hasher':_0x33e92c})['compute'](_0x800945,_0x43ec5e);else var _0x2a4014=_0x2badfa[_0xa7480e(0xe9)]({'keySize':_0x4f1658+_0x439392})[_0xa7480e(0x419)](_0x800945,_0x43ec5e);var _0x51c51f=_0x430788[_0xa7480e(0xe9)](_0x2a4014[_0xa7480e(0x53a)]['slice'](_0x4f1658),_0x439392*0x4);return _0x2a4014['sigBytes']=_0x4f1658*0x4,_0x4b348b[_0xa7480e(0xe9)]({'key':_0x2a4014,'iv':_0x51c51f,'salt':_0x43ec5e});}},_0x77caf1=_0x22ea2c[_0x104734(0x1c3)]=_0x16b58f[_0x104734(0x316)]({'cfg':_0x16b58f[_0x104734(0x19e)][_0x104734(0x316)]({'kdf':_0x3ca464}),'encrypt':function(_0x2f6064,_0x3b2388,_0xf1850b,_0x313f94){const _0x2dcd47=_0x104734;_0x313f94=this[_0x2dcd47(0x19e)][_0x2dcd47(0x316)](_0x313f94);var _0x44e00a=_0x313f94[_0x2dcd47(0x25c)][_0x2dcd47(0x105)](_0xf1850b,_0x2f6064[_0x2dcd47(0x3c5)],_0x2f6064[_0x2dcd47(0x15c)],_0x313f94['salt'],_0x313f94[_0x2dcd47(0x1d8)]);_0x313f94['iv']=_0x44e00a['iv'];var _0x547b4c=_0x16b58f[_0x2dcd47(0x50b)][_0x2dcd47(0x16c)](this,_0x2f6064,_0x3b2388,_0x44e00a[_0x2dcd47(0x4d0)],_0x313f94);return _0x547b4c['mixIn'](_0x44e00a),_0x547b4c;},'decrypt':function(_0x34078e,_0x4a5429,_0x15c8a5,_0x222b82){const _0x19828a=_0x104734;_0x222b82=this[_0x19828a(0x19e)][_0x19828a(0x316)](_0x222b82),_0x4a5429=this[_0x19828a(0x438)](_0x4a5429,_0x222b82[_0x19828a(0x237)]);var _0x4dd62f=_0x222b82[_0x19828a(0x25c)][_0x19828a(0x105)](_0x15c8a5,_0x34078e['keySize'],_0x34078e[_0x19828a(0x15c)],_0x4a5429[_0x19828a(0x180)],_0x222b82[_0x19828a(0x1d8)]);_0x222b82['iv']=_0x4dd62f['iv'];var _0x4c74=_0x16b58f[_0x19828a(0x4b7)]['call'](this,_0x34078e,_0x4a5429,_0x4dd62f[_0x19828a(0x4d0)],_0x222b82);return _0x4c74;}});}();}));}(ft)),ft[_0x4ec3ba(0x40d)];}(function(_0x7891f1,_0x28ebb0){(function(_0x4535fc,_0x3b1572,_0x370dd4){const _0x1f81ff=_0x10d1;_0x7891f1[_0x1f81ff(0x40d)]=_0x3b1572(oe(),On(),ar(),Dn(),wn());}(X,function(_0x4df7ee){const _0x8bd98c=_0x10d1;return(function(){const _0x427352=_0x10d1;var _0x3ad55e=_0x4df7ee,_0x529128=_0x3ad55e[_0x427352(0x342)],_0x323a26=_0x529128[_0x427352(0x10f)],_0x4d6a9b=_0x3ad55e[_0x427352(0x474)],_0x3fc0fe=[],_0x314312=[],_0x47dc0=[],_0x14dc18=[],_0x4bef0e=[],_0x23f9b4=[],_0x120d85=[],_0x435de6=[],_0x285a93=[],_0x1608fa=[];(function(){for(var _0x230f86=[],_0x429410=0x0;_0x429410<0x100;_0x429410++)_0x429410<0x80?_0x230f86[_0x429410]=_0x429410<<0x1:_0x230f86[_0x429410]=_0x429410<<0x1^0x11b;for(var _0x1b79bb=0x0,_0x1d38b7=0x0,_0x429410=0x0;_0x429410<0x100;_0x429410++){var _0x21b58c=_0x1d38b7^_0x1d38b7<<0x1^_0x1d38b7<<0x2^_0x1d38b7<<0x3^_0x1d38b7<<0x4;_0x21b58c=_0x21b58c>>>0x8^_0x21b58c&0xff^0x63,_0x3fc0fe[_0x1b79bb]=_0x21b58c,_0x314312[_0x21b58c]=_0x1b79bb;var _0x77840=_0x230f86[_0x1b79bb],_0x141b1c=_0x230f86[_0x77840],_0x5c6e16=_0x230f86[_0x141b1c],_0x1a15e1=_0x230f86[_0x21b58c]*0x101^_0x21b58c*0x1010100;_0x47dc0[_0x1b79bb]=_0x1a15e1<<0x18|_0x1a15e1>>>0x8,_0x14dc18[_0x1b79bb]=_0x1a15e1<<0x10|_0x1a15e1>>>0x10,_0x4bef0e[_0x1b79bb]=_0x1a15e1<<0x8|_0x1a15e1>>>0x18,_0x23f9b4[_0x1b79bb]=_0x1a15e1;var _0x1a15e1=_0x5c6e16*0x1010101^_0x141b1c*0x10001^_0x77840*0x101^_0x1b79bb*0x1010100;_0x120d85[_0x21b58c]=_0x1a15e1<<0x18|_0x1a15e1>>>0x8,_0x435de6[_0x21b58c]=_0x1a15e1<<0x10|_0x1a15e1>>>0x10,_0x285a93[_0x21b58c]=_0x1a15e1<<0x8|_0x1a15e1>>>0x18,_0x1608fa[_0x21b58c]=_0x1a15e1,_0x1b79bb?(_0x1b79bb=_0x77840^_0x230f86[_0x230f86[_0x230f86[_0x5c6e16^_0x77840]]],_0x1d38b7^=_0x230f86[_0x230f86[_0x1d38b7]]):_0x1b79bb=_0x1d38b7=0x1;}}());var _0x4b0fd1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x54b096=_0x4d6a9b[_0x427352(0x2e9)]=_0x323a26[_0x427352(0x316)]({'_doReset':function(){const _0x53a0f3=_0x427352;var _0x203fcb;if(!(this[_0x53a0f3(0x475)]&&this[_0x53a0f3(0x261)]===this['_key'])){for(var _0x46d576=this[_0x53a0f3(0x261)]=this[_0x53a0f3(0xf5)],_0x885faa=_0x46d576[_0x53a0f3(0x53a)],_0x2e6a14=_0x46d576[_0x53a0f3(0x509)]/0x4,_0x55d600=this['_nRounds']=_0x2e6a14+0x6,_0x46ca23=(_0x55d600+0x1)*0x4,_0x1103f5=this[_0x53a0f3(0x363)]=[],_0x2ec8ec=0x0;_0x2ec8ec<_0x46ca23;_0x2ec8ec++)_0x2ec8ec<_0x2e6a14?_0x1103f5[_0x2ec8ec]=_0x885faa[_0x2ec8ec]:(_0x203fcb=_0x1103f5[_0x2ec8ec-0x1],_0x2ec8ec%_0x2e6a14?_0x2e6a14>0x6&&_0x2ec8ec%_0x2e6a14==0x4&&(_0x203fcb=_0x3fc0fe[_0x203fcb>>>0x18]<<0x18|_0x3fc0fe[_0x203fcb>>>0x10&0xff]<<0x10|_0x3fc0fe[_0x203fcb>>>0x8&0xff]<<0x8|_0x3fc0fe[_0x203fcb&0xff]):(_0x203fcb=_0x203fcb<<0x8|_0x203fcb>>>0x18,_0x203fcb=_0x3fc0fe[_0x203fcb>>>0x18]<<0x18|_0x3fc0fe[_0x203fcb>>>0x10&0xff]<<0x10|_0x3fc0fe[_0x203fcb>>>0x8&0xff]<<0x8|_0x3fc0fe[_0x203fcb&0xff],_0x203fcb^=_0x4b0fd1[_0x2ec8ec/_0x2e6a14|0x0]<<0x18),_0x1103f5[_0x2ec8ec]=_0x1103f5[_0x2ec8ec-_0x2e6a14]^_0x203fcb);for(var _0xeb00c2=this[_0x53a0f3(0x190)]=[],_0x2f00de=0x0;_0x2f00de<_0x46ca23;_0x2f00de++){var _0x2ec8ec=_0x46ca23-_0x2f00de;if(_0x2f00de%0x4)var _0x203fcb=_0x1103f5[_0x2ec8ec];else var _0x203fcb=_0x1103f5[_0x2ec8ec-0x4];_0x2f00de<0x4||_0x2ec8ec<=0x4?_0xeb00c2[_0x2f00de]=_0x203fcb:_0xeb00c2[_0x2f00de]=_0x120d85[_0x3fc0fe[_0x203fcb>>>0x18]]^_0x435de6[_0x3fc0fe[_0x203fcb>>>0x10&0xff]]^_0x285a93[_0x3fc0fe[_0x203fcb>>>0x8&0xff]]^_0x1608fa[_0x3fc0fe[_0x203fcb&0xff]];}}},'encryptBlock':function(_0x108ce2,_0x3a36de){const _0x201576=_0x427352;this[_0x201576(0x444)](_0x108ce2,_0x3a36de,this[_0x201576(0x363)],_0x47dc0,_0x14dc18,_0x4bef0e,_0x23f9b4,_0x3fc0fe);},'decryptBlock':function(_0x5cb6af,_0x270e87){const _0x5b80af=_0x427352;var _0x28ce8e=_0x5cb6af[_0x270e87+0x1];_0x5cb6af[_0x270e87+0x1]=_0x5cb6af[_0x270e87+0x3],_0x5cb6af[_0x270e87+0x3]=_0x28ce8e,this[_0x5b80af(0x444)](_0x5cb6af,_0x270e87,this['_invKeySchedule'],_0x120d85,_0x435de6,_0x285a93,_0x1608fa,_0x314312);var _0x28ce8e=_0x5cb6af[_0x270e87+0x1];_0x5cb6af[_0x270e87+0x1]=_0x5cb6af[_0x270e87+0x3],_0x5cb6af[_0x270e87+0x3]=_0x28ce8e;},'_doCryptBlock':function(_0x572e6e,_0xc0b01b,_0x319919,_0x3383e6,_0x3c2c47,_0x355e89,_0x5eb5fa,_0x5796cd){const _0x395d98=_0x427352;for(var _0x490f76=this[_0x395d98(0x475)],_0x587e58=_0x572e6e[_0xc0b01b]^_0x319919[0x0],_0x2dee07=_0x572e6e[_0xc0b01b+0x1]^_0x319919[0x1],_0x338b7a=_0x572e6e[_0xc0b01b+0x2]^_0x319919[0x2],_0xbd85db=_0x572e6e[_0xc0b01b+0x3]^_0x319919[0x3],_0x1eb127=0x4,_0x4a8859=0x1;_0x4a8859<_0x490f76;_0x4a8859++){var _0x4db5ae=_0x3383e6[_0x587e58>>>0x18]^_0x3c2c47[_0x2dee07>>>0x10&0xff]^_0x355e89[_0x338b7a>>>0x8&0xff]^_0x5eb5fa[_0xbd85db&0xff]^_0x319919[_0x1eb127++],_0x3a8ccc=_0x3383e6[_0x2dee07>>>0x18]^_0x3c2c47[_0x338b7a>>>0x10&0xff]^_0x355e89[_0xbd85db>>>0x8&0xff]^_0x5eb5fa[_0x587e58&0xff]^_0x319919[_0x1eb127++],_0x445d00=_0x3383e6[_0x338b7a>>>0x18]^_0x3c2c47[_0xbd85db>>>0x10&0xff]^_0x355e89[_0x587e58>>>0x8&0xff]^_0x5eb5fa[_0x2dee07&0xff]^_0x319919[_0x1eb127++],_0x4c6d27=_0x3383e6[_0xbd85db>>>0x18]^_0x3c2c47[_0x587e58>>>0x10&0xff]^_0x355e89[_0x2dee07>>>0x8&0xff]^_0x5eb5fa[_0x338b7a&0xff]^_0x319919[_0x1eb127++];_0x587e58=_0x4db5ae,_0x2dee07=_0x3a8ccc,_0x338b7a=_0x445d00,_0xbd85db=_0x4c6d27;}var _0x4db5ae=(_0x5796cd[_0x587e58>>>0x18]<<0x18|_0x5796cd[_0x2dee07>>>0x10&0xff]<<0x10|_0x5796cd[_0x338b7a>>>0x8&0xff]<<0x8|_0x5796cd[_0xbd85db&0xff])^_0x319919[_0x1eb127++],_0x3a8ccc=(_0x5796cd[_0x2dee07>>>0x18]<<0x18|_0x5796cd[_0x338b7a>>>0x10&0xff]<<0x10|_0x5796cd[_0xbd85db>>>0x8&0xff]<<0x8|_0x5796cd[_0x587e58&0xff])^_0x319919[_0x1eb127++],_0x445d00=(_0x5796cd[_0x338b7a>>>0x18]<<0x18|_0x5796cd[_0xbd85db>>>0x10&0xff]<<0x10|_0x5796cd[_0x587e58>>>0x8&0xff]<<0x8|_0x5796cd[_0x2dee07&0xff])^_0x319919[_0x1eb127++],_0x4c6d27=(_0x5796cd[_0xbd85db>>>0x18]<<0x18|_0x5796cd[_0x587e58>>>0x10&0xff]<<0x10|_0x5796cd[_0x2dee07>>>0x8&0xff]<<0x8|_0x5796cd[_0x338b7a&0xff])^_0x319919[_0x1eb127++];_0x572e6e[_0xc0b01b]=_0x4db5ae,_0x572e6e[_0xc0b01b+0x1]=_0x3a8ccc,_0x572e6e[_0xc0b01b+0x2]=_0x445d00,_0x572e6e[_0xc0b01b+0x3]=_0x4c6d27;},'keySize':0x100/0x20});_0x3ad55e[_0x427352(0x2e9)]=_0x323a26['_createHelper'](_0x54b096);}()),_0x4df7ee[_0x8bd98c(0x2e9)];}));}(yn));var hr=yn[_0x2fc972(0x40d)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x23c6a0,_0x11d724){(function(_0x202861,_0x275806){const _0x4fd564=_0x10d1;_0x23c6a0[_0x4fd564(0x40d)]=_0x275806(oe());}(X,function(_0x5ef3fc){const _0x1cfbfc=_0x10d1;return _0x5ef3fc[_0x1cfbfc(0x3dc)][_0x1cfbfc(0x52f)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x2f2bab,_0x5dc7be){(function(_0x200a7a,_0x32a5e8){const _0x1ef94e=_0x10d1;_0x2f2bab[_0x1ef94e(0x40d)]=_0x32a5e8(oe());}(X,function(_0x2bcc0d){const _0x4dd020=_0x10d1;return(function(){const _0x50fa1d=_0x10d1;if(typeof ArrayBuffer==_0x50fa1d(0x4fc)){var _0x4b81fc=_0x2bcc0d,_0x20f700=_0x4b81fc[_0x50fa1d(0x342)],_0x3dd81d=_0x20f700[_0x50fa1d(0x50c)],_0x5f51b9=_0x3dd81d['init'],_0x8fe511=_0x3dd81d[_0x50fa1d(0x173)]=function(_0x18a66b){const _0x1472ee=_0x50fa1d;if(_0x18a66b instanceof ArrayBuffer&&(_0x18a66b=new Uint8Array(_0x18a66b)),(_0x18a66b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x18a66b instanceof Uint8ClampedArray||_0x18a66b instanceof Int16Array||_0x18a66b instanceof Uint16Array||_0x18a66b instanceof Int32Array||_0x18a66b instanceof Uint32Array||_0x18a66b instanceof Float32Array||_0x18a66b instanceof Float64Array)&&(_0x18a66b=new Uint8Array(_0x18a66b[_0x1472ee(0x147)],_0x18a66b[_0x1472ee(0x2e8)],_0x18a66b[_0x1472ee(0x3ca)])),_0x18a66b instanceof Uint8Array){for(var _0x2cec22=_0x18a66b[_0x1472ee(0x3ca)],_0x4011e0=[],_0xd066ed=0x0;_0xd066ed<_0x2cec22;_0xd066ed++)_0x4011e0[_0xd066ed>>>0x2]|=_0x18a66b[_0xd066ed]<<0x18-_0xd066ed%0x4*0x8;_0x5f51b9['call'](this,_0x4011e0,_0x2cec22);}else _0x5f51b9[_0x1472ee(0x2ce)](this,arguments);};_0x8fe511[_0x50fa1d(0x11f)]=_0x3dd81d;}}()),_0x2bcc0d['lib'][_0x4dd020(0x50c)];}));}(Un));var vr=Un[_0x2fc972(0x40d)];const mr=xe(vr);var Mn={'exports':{}};(function(_0xa36ded,_0x196f67){(function(_0x59e527,_0x1ca6a7,_0x9f810f){const _0x3759f3=_0x10d1;_0xa36ded[_0x3759f3(0x40d)]=_0x1ca6a7(oe(),wn());}(X,function(_0x3eff94){const _0x5b2a7f=_0x10d1;return _0x3eff94['pad'][_0x5b2a7f(0x250)]={'pad':function(){},'unpad':function(){}},_0x3eff94[_0x5b2a7f(0x310)][_0x5b2a7f(0x250)];}));}(Mn));var Sr=Mn[_0x2fc972(0x40d)];const pr=xe(Sr);function _0x14d0(){const _0x4814ff=['_submitChangeset','/object/','isInternalEditorID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','activeSheet$','batchAllowed','IMessageService','c2Prime','_onCursorUpdate','_docTransformStateCacheService','Plugin','hidden','roomMembers','image/jpeg','Disposable','_substituteRedoStack','_onRefRangeChange','_oKey','cmd','_collabSessionService','_createInitialStateImpl','collabCursorState$','children','_removeClearOtherTimer','_onUserJoin','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_removeCollabCursors','collaboratorID','startRow','__Key__','SnapshotServerOverHTTPService','equals','currentColor','_socketMessageSubscription','dispose$','collabStatus.syncing','HmacMD5','toStringTag','_applyRemoteChangeset','@univerjs/network','getActiveSheet','HEADER_MENU','offline','onMouseMove','href','close$','setInterval','replaceState','27bdeLUf','socketService','_transformUndoRedoStack','translate(.97)','_startSheetCollabCursor','_doReset','_syncEditingCollabCursorService','LIVESHARE_OPERATION','OffLineSingle','setWaitCount','object','_collabCursorState$','updatePermissionPoint','onRemoteChangeset','_acknowledgedAwaitingChangeset','sheetId','combineLatest','_handleHeartbeatEvent','COLLAB_SUBMIT_CHANGESET_URL','_roomMembers$','send','_removeRoom','roomInfos','_messageService','randomUUID','HELLO','IUniverInstanceService','_drawAnchor','HEARTBEAT','_members','Tools','_commandService','@univerjs-pro/collaboration','_updateLocalCache','mixIn','_collaborationController','drawWith','mode','keySize','image/gif','_unitStatus','objectActions','status','byteLength','isTransformMutationsWithChangesetSuccess','isActive','stringify','fillText','get','method','arc','ImageSourceType','Base','min','iterations','onReady','hasOwnProperty','MUTATION','useObservable','_rescheduleHeartbeat','@univerjs/sheets-ui','enc','ERROR_IMAGE','appendMutation','closePath','TEXT_RANGE_LAYER_INDEX','useDependency','liveShareNewHost','_handleLeaveEvent','getWorkbookSelections','_logService','onPointerEnter$','_redoStacks','findNodePositionByCharIndex','colorChannel1','getCollabEntity','confirm','getCollabCursors$','font','SNAPSHOT_HAS_BEEN_REMOVED','set','Decryptor','_startTelemetryCollaborationNewChangeset','_startDocCollabCursor','onRendered','propertyIsEnumerable','_transformUndoredo','handleInsertRangeMoveRight','online','NodePositionConvertToCursor','_hideTimer','DataLoaderController','_exhaustRemoteChangesetQueue','onlyLocal','body','_initResize','permissionRejEvent','_pendingMutations','_incrementRevisionNumber','floor','clone','delay','commentUpdateEvent','color','_imageSourceCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','fromEvent','MessageType','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','m1Prime','exports','&source=','_userManagerService','ranges','NOT_FOUND','_compressMutationService','state$','revision','reduce','UNKNOWN_CODE','getCellPositionByOffset','setItem','compute','ImageIoService','subscribeEvent','fetchMiss','_scheduleClearOtherTimer','useRef','getTypeOfUnitAdded$','roomMembers$','clearInterval','forEach','getOwnPropertyDescriptor','fetch_missing','copyFileMeta','selection','_docTransformSelectionsService','collaMsg','_schedule','_updateStatus','gold400','requireSession','collabStatus.notCollab','jsx','transformUndoRedo','/-/object/-/batch_allowed','replace','withCredentials','getUnitStatus$','xlink:href','_clearOtherTimers','split','_getSaveTimeout','_parse','conflict.content','state','setCurrentUser','socket$','SNAPSHOT_URL_KEY','RegularPolygon','image/jpg','getCurrentSelections','getSkeleton','5201770sibsSz','toString','_doCryptBlock','_entityInit$','formatter','_tryReconnect','IBeforeCloseService','_lockTransition','requestParams','_sessionStatus$','CollaborationSocketService','_iKey','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Error','next','ICommandService','useCallback','OnLineSingle','_replaceFileID','OFFLINE','show','Optional','_snapshotService','_textBubble','607ChnnRZ','getCoordByCell','NEW_CHANGESETS','CollaborationSessionService','fromCharCode','originalMeta','InsertRangeMoveRightCommandId','_onLocalMutation','IURLService','onSyncEditingCollabCursor','LocalCacheService','undoState','textRanges','newCsEvent','_change$','subUnitId','onlineStatus','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','fetchThroughInterceptors','makeDirty','_localeService','_session','CHANGESET_ACK','InsertSheetMutation','FETCH_MISSING','collaboration-client.offline-data-not-saved','algo','_nRounds','max','_DEC_XFORM_MODE','defIds','_checkMissing','_cursorShapes','on-line-single','loadOfflineData','endColumn','lineTo','visibilitychange','sessionStatus','_range','loadDoc','univer-pro.collaboration-client-socket-service','unsubscribe','_draw','serializeRangeWithSheet','_initStatusListener','red300','ReactCurrentOwner','message$','off-line-single','isPermissionRej','UnitEmbedded','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_resendTimeout','getUnitType','duration','mutations','_mode','univer-offline','labelPosition','onlineStatusIcon','_socket$','reject','_state','fill','/block/','svg','removeMember','SheetCollaborationEntity','HTTPRequest','_updateURLWithCurrentState','HTTPService','_changesetSessionId','getValue','ITransformService','NodePositionConvertToRectRange','WebURLService','_HTTPService','startTime','getCurrentUser','registerDependencies','HEARTBEAT_TIMEOUT_KEY','actions','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SEND_CHANGESET_TIMEOUT','resourceIDs','msCrypto','beginPath','_getMergeRange','shareReplay','_startCollaboration','_drawRectRange','LICENSE_MAX_UNITS_EXCEEDED','decrypt','registerRenderModule','complete','/universer-api/oidc/authpage','_initMergeInterceptor','_getUploadFileURL','COMPLETION_FINISHED','CHANGESET_REVISION_CONFILICT','exhaustSavingTask','c1Prime','LICENSE_EXPORT_SIZE_EXCEEDED','collabStatus.synced','/rev/','getOffsetConfig','_updateSubUnitFromURLParams','crypto','getOwnPropertySymbols','transformStack\x20failed!','_unitOnClients','eventID','sessionStatus$','[FetchMissState]','MSG_FOR_ERROR','SEND_CHANGESET_TIMEOUT_KEY','_onFetchMissResult','key','?size=','parseProtocolChangeset','_univerInstanceService','SYNCED','saveOfflineData','includes','_resendTimer','getUnhiddenWorksheets','_getCtorByUniverType','getDocRanges','APPLY_DUPLICATED','take','reqId','save\x20fail\x20reason\x20is\x20','[CollaborationUndoRedoService]','catch','join','with','sequenceExecute','_onUserLeave','LOCAL_CACHE_INTERVAL_KEY','padding','clamp','_httpService','indexOf','collabWebSocketUrl','_hash','{fileID}','getCurrent','transformMutationsWithChangeset','_cursorInfo$','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/engine-formula','EvpKDF','_scheduleTimestamp','focused$','InsertRangeMoveDownCommandId','entries','hostname','_collabCursorController','append','getTypeOfUnitDisposed$','_nDataBytes','function','fetchMissingChangesets','from','getMergeData','CollaborationController','getLatestCsReqIdBySid','_onCombEvent','disposeUnit','getColor','session.will-retry','getCollabEntity$','throttleTime','sheets','sigBytes','USERS_LEAVE','encrypt','WordArray','INTERNAL_ERROR','[CollaborationEntity]','_isPermissionRej','values','tag','transformIMECache','setConfig','mapDocumentTypeToUniverType','\x20in\x20_schedule.','_transformHistoryAndStateStack','changesets','getTime','getImage','distinctUntilChanged','SetWorksheetActivateCommand','_getSignURL','memberID','_configService','createSocket','csShouldRetryEvent','_cipher','encode','_updateState','awaiting','_name','liveShareOperation','_sendHeartbeatTimer','contains','StreamCipher','_createHelper','_drawTextRange','onSendChangeset','_refRangeService','saveImage','Utf8','clearTimeout','@univerjs/docs','on-line-single_clip0_910_349','DocSkeletonManagerService','CONNECTOR_DATA_TOO_LARGE','UniverCollaborationPlugin','displayName','syncEditingCollabCursor','_append','univerjs-icon\x20univerjs-icon-','words','LIVESHARE_TERMINATE','_assignedColors','getUndoRedoMutationParamsCache','_clearCollaborationTimeoutTimer','DocCollaborationEntity','push','VIEWPORT_KEY','skeleton','_syncEditingCollabCursor','onMissedChangesetFetched','TEXT','SnapshotService','stopTime','getStateCache','onTransformRemoteChangesetByIMECache','engine','x-univer-host','CONFLICT','pipe','listRoles','_onConnectionOpen','_socket','/unit/','name','?url=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','enableOfflineEditing','collaborators','_docSkeletonManagerService','getRandomValues','CollaborationStatus','LocalUndoRedoService','addObjects','unitId','docStateChange$','save','updateOfflineData','onRemoteRetry','_updateCollabCursors','_clearScheduledTask','unitID','range','whenReady','BuiltInUIPart','executeCommand','type','collaboration-session-retry','visibilityState','_type','enableSingleActiveInstanceLock','_onRecvEvent','LOGIN_URL_KEY','PSEUDO_FETCH_MISSING_RESULT','getCurrentRevOfUnit','Error\x20on\x20receiving\x20event','Hex','HEARTBEAT_INTERVAL','resize','objectType','handleInsertCol','_instanceService','Encryptor','_entities','endRow','Subject','baseRev','responseType','abs','_getAPIPrefix','getUnit','filter','INGEST','getViewport','assign','Inject','_getAnchorBounding','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CompressMutationService','_prevBlock','_undoStacks','FileId','update','snapshot','transformChangesets','SheetSkeletonManagerService','create','11002638RyBDQH','setTimeout','/object','JOINING','createDecryptor','_collaborationPaused','ColorKit','getConfig','generateRandomId','clipPath','collaboration-client.config','_key','_ENC_XFORM_MODE','charCodeAt','isTransformMutationsWithChangesetFailure','telemetry\x20info\x20is\x20not\x20initialized','_getSendChangesetTimeout','transformStateCache','result','members','permission.title','image/png','_iv','RemoveRowCommandId','pauseCollaboration','collabStatus.fetchMiss','then','execute','incrementRevOfUnit','isTransformMutationFailure','SheetsSelectionsService','deepClone','substring','_scheduleCollaborationTimeoutTimer','handleDeleteRangeMoveLeft','Injector','$super','BlockCipher','onPointerLeave$','put','replaceDocRanges','APPLY_REVISION_CONFILICT','encryptBlock','assignAColorForMemberID','_transformService','change$','workbook','/-/object/list','UPDATE_PERMISSION_OBJ','#fff','downloadEndpointUrl','blockSize','_revisionService','prototype','MemberService','[SyncedState]:\x20received\x20acknowledgement.','COLLAB_SUBMIT_CHANGESET_URL_KEY','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','resend','createEncryptor','interceptor','SetTextSelectionsOperation','_onConnectionFailed','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_changesetReqId','getUnitId','current','_localCacheService','string','_onRemoteACK','BehaviorSubject','_sheetSkeletonManagerService','_send','searchParams','_onCursorDelete','_sendingTimer','pending','urlChange$','_getDownloadEndpointURL','IAuthzIoService','repeat','collab-client.tooltip.reconnect','_transitionLocked','not_collab','_saveTaskMap','newValue','DeleteRangeMoveUpCommandId','_clearTimeoutTimer','flatMap','_substituteUndoStack','[CollaborationState]:\x20apply\x20error!','TRANSFORM_CHANGE_OBSERVABLE_TYPE','toDisposable','buffer','UnitSnapshot','COLLAB_WEB_SOCKET_URL_KEY','ref','JOIN','startsWith','length','onCommentUpdate','UniverIcon','ICollaborationSocketService','random','_toggleOffline','url','collaboration_new_changeset','_telemetryService','csRejEvent','1258230xMbFJQ','use','_map','_scene','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ivSize','SHA1','top','DocIMEInputManagerService','M0\x200H16V16H0z','moveTo','sid','every','unload','YUUMI_RATE_OVER_LIMIT','headers','FETCH_MISS','_unitID','_getScale','fetching\x20missing\x20changesets\x20from\x20','joinRsp','call','MD5','INVALID_ARGUMENT','_commentService','addEventListener','getItem','UniverInstanceType','init','EmptyMutation','_initUnitPermissionChange','createInstance','cursorInfo','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','IPermissionService','debug','toggleOnline','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','parse','HmacSHA1','_socketReady','salt','_notificationService','16EDDoVL','createIdentifier','_renderManagerService','_replayCachedMutations','101199xFjBxb','_retryConnectingTimer','COLORS','Tooltip','_snapshotServerService','listCollaborators','[CollaborationSessionService]','reset','onStarting','RETRY_CONNECTING_MAX_COUNT_KEY','_invKeySchedule','data','_init','_setupBeforeClosingHandler','InsertColCommandId','decryptBlock','reverse','_beforeCloseService','_collaborationSessionService','awaiting_with_pending','_retryCount','onMissingChangesets','_resendWithTimeout','Warning','cfg','pushState','DisposableCollection','encodeURIComponent','_telemetryInfo','concatMap','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','OTHER_CLIENTS_EDITING','_tryEnsureSocket','disposeWithMe','_singleActiveUnitService','HttpImport','YUUMI_URL_COL_OUT_OF_RANGE','capture','conflict','Undefined','_fetchMissChangesets','_onRemoteRejected','getRenderById','_online','post','_cursor','_reverseMap','transformSelections','getAncestorScale','IUIPartsService','getCurrentUnitForType','_disabled','UNDEFINED','_getSnapshotAPIPrefix','_hover','_loadDoc','UPDATE_CURSOR','_getCurrentRevision','awaitingChangeset','_commentUpdate$','_event$','PasswordBasedCipher','status$','commentUpdate$','round','_data','div','loadSheet','size','getRoom','ThemeService','_id','_initEventListeners','width','WebSocketService','_sendHeartbeat','/fetchmissing?from=','IUndoRedoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','_decreaseWaiting','_handleHover','_candidateSocket','hasher','triggerDblclick','_clearLocalCache','attrs','[PendingState]:\x20received\x20acknowledgement.','_listenToOnlineEvent','_refreshCollabCursors','backgroundColor','...','/universer-api/authz','m2Prime','_queuedRemoteChangesets','_transformIMECache','UNRECOGNIZED','_clearRedo','b64DecodeUnicode','ReplaySubject','univer-pro.collaboration-client.single-active-unit-service','LIVESHARE_REQUEST_HOST','Rectangle','\x20to\x20','onTransformChange$','\x0aCurrent:\x20','_onJoinRoomEvent','UniverCollaborationClientPlugin','debounce','addObject','asObservable','objectID','bottom','_permissionService','ThresholdInterceptorFactory','reconnect','getRangePointData','fillRule','CHANGESET_REJ','ILogService','textEncoder','handleMoveRange','UNIVER_SLIDE','ENSURE_SNAPSHOT_EXECUTION','blue400','BASE64','ACTIVE_UNIT_EVENT_CHANNEL','concat','_lastPointer','onRemoteAck','0\x200\x2017\x2016','1em','_hovered','_loadSheet','_onOffline','json','@univerjs/rpc','_eventUnsubscribe','ERROR_IMAGE_TYPE','@univerjs/telemetry','clear','SHOULD_CLOSE_CONN','univer-online','_disableEditing','SheetPermissionInitController','UNIVER_UNKNOWN','hovered','FromArray','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_shouldReportTelemetry','[OfflineState]:\x20received\x20rejection.','deserializeRangeWithSheet','_throwTelemetryCollaborationNewChangeset','socket\x20close','@univerjs/sheets','setAlpha','_render','RxDisposable','onStateChange','close','_getLoginPath','_registerDependencies','_uiPartsService','AuthzIoHttpService','@univerjs/design','[DataLoaderController]','__creator','_cursors','IRemoteInstanceService','[SyncedState]:\x20received\x20rejection.','UNIVER_DOC','react.element','APPLY_REJECT','sendChangesetTimeout','ERROR_EXCEED_SIZE','_socketService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_shapes','format','mapTo','removeParam','ciphertext','closeSession','_createSocket','_docSyncEditingCollabCursorService','_handler','number','_urlService','path','fillStyle','subscribe','url(#on-line-single_clip0_910_349)','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','CollaborationSession','registerRefRange','transform','isArray','location','session.collaboration-timeout','_transformRemoteChangesetByStateCache','AWAITING','black','4676somniI','NoPadding','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SHEET','idSuffix','SetDocZoomRatioOperation','_clearUndo','NO_OTHER_CLIENTS_EDITING','_getRedoStack','Vector2','finalize','PERMISSION_REJ','OpenSSL','kdf','verdancy600','registerBeforeClose','height','_ensureSubject','_keyPriorReset','Pkcs7','session.connection-failed','_cachedData','unknown','_themeService','onTransformSelections','collab-text-range-','roles','_setupSubUnitSync','updateMember','_waitCount','takeUntil','open$','_minBufferSize','_xformMode','code','getSheetBlock','_colorIndex','react.fragment','currentTheme$','1171303zdxYVb','jsxs','_executeRemoteChangeset','refreshPermission','_color','userID','editingUnit','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_remoteChangesetQueue','_handleJoinEvent','_registerRenderDependencies','some','BufferedBlockAlgorithm','synced','_anchor','redoState','collaboration.single-unit.warning','getMemberID','toggleOffline','createElement','putCollaborators','_sender','toRgbString','splice','_initDependencies','_transformPreviousActiveRange','createCollaborator','@univerjs/core','column','popstate','registerComponent','disableLocalCache','Cipher','APPLY_NON_SEQUENTIAL_REVISION','connection\x20error','collab-text-anchor-','bind','selections','_createHmacHelper','_localStorageService','7706720ZxvNKt','Fragment','getVpScrollXYInfoByPosToVp','error$','SessionStatus','HMAC','hide','uploadFileServerUrl','CHANGESET_SHOULD_RETRY','PERMISSION_DENIED','compose','_saveCache','isTransformChangesetsSuccess','conflict.title','debounceTime','params','APPLY_PERMISSION_DENIED','_updateLocalCursor','unshift','slice','session','WorkbookEditablePermission','LEAVE','_undoRedoService','_hasher','CollaborationEvent','registerHTTPInterceptor','Rect','MoveRangeCommandId','setStateCache','getMember','_injector','error','@univerjs/ui','SetSelectionsOperation','IRenderManagerService','saveSheetBlock','handleInsertRow','routeKey','transformMutation','_context','forwardRef','RETRY_CONNECTING_MAX_COUNT','className','_initRequestHeader','defs','RichTextEditingMutation','TOO_MANY_REQUESTS','apply','LocaleService','uni.network.url-service','_initCloseConn','setShowComponents','saveSnapshot','ILocalStorageService','_listenToOfflineEvent','onCommandExecuted','AUTHZ_URL_KEY','VIEW_MAIN','_timeoutTimer','evenodd','_scheduleSaving','map','socket\x20open.','FAIL','getFocusedUnit','_state$','find','_collaborationTimeoutTimer','getInterceptPoints','_getUndoStack','rng','_process','NOT_COLLAB','byteOffset','AES','measureText','touchDependencies','_transformRemoteChangesetByIMECache','_roomMembers','now','trim','permission.content','localeService','DocStateChangeManagerService','_heartbeatTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_colorAssignService','Base64','getUniverSheetInstance','YUUMI_UNABLE_LOAD_URL','transformRemoteChangeset','for','onTransformIME','_doFinalize','getAllMembers','loginUrlKey','/role','override','IDLE','/collaborator','[CollaborationSession]','initWorkbookPermissionChange','SUBMIT_CHANGESET','_sheetTransformSelectionsService','updateCursorEvent','PENDING','UUID','_initCommandExecutedListener','DocSelectionManagerService','doc.mutation.rich-text-editing','_awaitingChangeset','ONLINE','pad','/universer-api/snapshot/','event$','EffectRefRangId','LIVESHARE_NEW_HOST','_unlockTransition','extend','charAt','ImageUploadStatusType','Hasher','unitId\x20is\x20not\x20found','_waitForHeartbeatResponse','_docTransformIMECacheService','_anchorDot','subunit','_scheduleHeartbeat','_backgroundColor','USERS_ENTER','text','_createHandler','dispose','list','UNKNOWN_CMD','onPointerMove$','&assign=','_getAPIPrefixPath','row','runRefRangeMutations','cursorInfo$','[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.','getSheetId','getParam','url(#off-line-single_clip0_910_343)','POST','delete','CollaborationEntity','handleDeleteRangeMoveUp','onTransformRemoteChangesetByStateCache','_initStatusComponent','switchMap','CommandType','restore','IConfigService','HttpExport','_onMessage','Unknown\x20user','has','setUndoRedoMutationParamsCache','fromEventSubject','_handleEvent','lib','UserManagerService','COMPRESS_MUTATION_SEND','_config','_transformStack','RevisionService','ALREADY_EXISTS','getRelativeToViewportCoord','add','_stopTelemetryCollaborationNewChangeset','_selfUnitIDs','CollaborationStatusDisplay','DesktopCollaborationStatusDisplayController','infoRsp','_clearHeartbeatTimer','collab-rect-range-','onRemoteRej','_toggleOnline','_onConflict','YUUMI_SUBSCRIPTION_NOT_FOUND','defineProperty','_labelPosition','getResourcesRequest','univer-online-status','_showConflictNotification','DOC_RANGE_TYPE','/new_changes','_memberService','merge','_docStateChangeManagerService','history','getSheetBySheetId','Shape','_keySchedule','unit','failed\x20to\x20apply\x20missed\x20changesets!','RECV','_status$','SNAPSHOT_SERVER_URL_KEY','setShapeProps','off-line-single_clip0_910_343','COMPRESS_MUTATION_APPLY','handleIRemoveRow','_sessions'];_0x14d0=function(){return _0x4814ff;};return _0x14d0();}function gr(_0x242c08,_0x3ab874){const _0x54addc=_0x2fc972,_0x25cabc=_0x3ab874-_0x242c08['length']%_0x3ab874,_0x3cb55c=String[_0x54addc(0x45e)](_0x25cabc)[_0x54addc(0x13a)](_0x25cabc);return _0x242c08+_0x3cb55c;}function Ir(_0x2a95d6,_0x2ee979){const _0x425eb2=_0x2fc972,_0x482dad=mr[_0x425eb2(0x151)](0x10),_0x409387=gr(_0x2a95d6,0x10),_0x55ba49=_r[_0x425eb2(0x50b)](fr[_0x425eb2(0x17d)](_0x409387),Xt[_0x425eb2(0x17d)](_0x2ee979),{'iv':_0x482dad,'padding':pr});return _0x482dad[_0x425eb2(0x204)](_0x55ba49['ciphertext'])[_0x425eb2(0x443)](Xt);}function Cr(){const _0x35c877=_0x2fc972,_0xbc010c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x35c877(0x38c)];if(_0xbc010c){const _0x4ce699={'time':Math[_0x35c877(0x402)](Date[_0x35c877(0x2ee)]()/0x3e8),'domain':location[_0x35c877(0x4f7)]};return Ir(JSON['stringify'](_0x4ce699),_0xbc010c);}}var Er=Object[_0x2fc972(0x356)],br=Object['getOwnPropertyDescriptor'],Tr=(_0x2a4cf0,_0x4016ce,_0x142a10,_0x35c3ab)=>{const _0x43fee7=_0x2fc972;for(var _0xe61d8e=_0x35c3ab>0x1?void 0x0:_0x35c3ab?br(_0x4016ce,_0x142a10):_0x4016ce,_0x171daa=_0x2a4cf0[_0x43fee7(0x14d)]-0x1,_0x22425e;_0x171daa>=0x0;_0x171daa--)(_0x22425e=_0x2a4cf0[_0x171daa])&&(_0xe61d8e=(_0x35c3ab?_0x22425e(_0x4016ce,_0x142a10,_0xe61d8e):_0x22425e(_0xe61d8e))||_0xe61d8e);return _0x35c3ab&&_0xe61d8e&&Er(_0x4016ce,_0x142a10,_0xe61d8e),_0xe61d8e;},Rr=(_0x3b9215,_0x24ac56)=>(_0x3e441b,_0x404522)=>_0x24ac56(_0x3e441b,_0x404522,_0x3b9215);let Ye=class{constructor(_0x2dac03){const _0x9c1eb=_0x2fc972;this[_0x9c1eb(0x4e8)]=_0x2dac03,this['_initRequestHeader']();}[_0x2fc972(0x2ca)](){const _0x30d845=_0x2fc972;this['_httpService'][_0x30d845(0x2b8)]({'interceptor':(_0x120f68,_0xd82b31)=>{const _0x5426f3=_0x30d845,_0x217b24=_0x120f68[_0x5426f3(0x166)],_0x4e94e5=Cr();return _0x4e94e5&&_0x217b24[_0x5426f3(0x3ef)](_0x5426f3(0x54b),_0x4e94e5),_0xd82b31(_0x120f68);}});}};Ye=Tr([Rr(0x0,a[_0x2fc972(0xde)](Z[_0x2fc972(0x4a1)]))],Ye);var yr=Object[_0x2fc972(0x356)],Or=Object['getOwnPropertyDescriptor'],Dr=(_0xbb29f8,_0x4659f8,_0x366ec5,_0x2383ca)=>{const _0x1f02e8=_0x2fc972;for(var _0x47eab1=_0x2383ca>0x1?void 0x0:_0x2383ca?Or(_0x4659f8,_0x366ec5):_0x4659f8,_0xe72c28=_0xbb29f8[_0x1f02e8(0x14d)]-0x1,_0x457fbf;_0xe72c28>=0x0;_0xe72c28--)(_0x457fbf=_0xbb29f8[_0xe72c28])&&(_0x47eab1=(_0x2383ca?_0x457fbf(_0x4659f8,_0x366ec5,_0x47eab1):_0x457fbf(_0x47eab1))||_0x47eab1);return _0x2383ca&&_0x47eab1&&yr(_0x4659f8,_0x366ec5,_0x47eab1),_0x47eab1;},vt=(_0x259f84,_0x2ecc3b)=>(_0x1e6d49,_0x4ae86d)=>_0x2ecc3b(_0x1e6d49,_0x4ae86d,_0x259f84);const wr=[_0x2fc972(0xff),_0x2fc972(0x37b),_0x2fc972(0x43f),_0x2fc972(0x3c6),'image/bmp'],Pr=0x5*0x400*0x400,Ur=_0x2fc972(0x123),Mr='/universer-api/stream/file/upload',Ar=_0x2fc972(0xe0),Nr='/universer-api/file/{fileID}/sign-url';exports[_0x2fc972(0x41a)]=class{constructor(_0x2faafc,_0x2d2e82,_0x16eec2){const _0x379be5=_0x2fc972;I(this,_0x379be5(0x26c),0x0),I(this,_0x379be5(0x468),new A[(_0x379be5(0xd4))]()),I(this,_0x379be5(0x117),this['_change$']),I(this,_0x379be5(0x407),new Map()),(this[_0x379be5(0x4e8)]=_0x2faafc,this[_0x379be5(0x51e)]=_0x2d2e82,this[_0x379be5(0x4d3)]=_0x16eec2);}[_0x2fc972(0x3a8)](_0x533dc8){const _0x37d2a2=_0x2fc972;this[_0x37d2a2(0x26c)]=_0x533dc8,this[_0x37d2a2(0x468)][_0x37d2a2(0x450)](_0x533dc8);}['getImageSourceCache'](_0x334d00,_0x33828c){const _0x29b182=_0x2fc972;if(_0x33828c===ne[_0x29b182(0x3d2)][_0x29b182(0x202)]){const _0x2819b7=new Image();return _0x2819b7['src']=_0x334d00,_0x2819b7;}return this['_imageSourceCache'][_0x29b182(0x3cf)](_0x334d00);}['addImageSourceCache'](_0x4e4a74,_0xb1f061,_0x2e9903){const _0x19b4fc=_0x2fc972;_0xb1f061===ne[_0x19b4fc(0x3d2)][_0x19b4fc(0x202)]||_0x2e9903==null||this['_imageSourceCache'][_0x19b4fc(0x3ef)](_0x4e4a74,_0x2e9903);}async[_0x2fc972(0x519)](_0x26b7d0){const _0x2a55cb=_0x2fc972;try{const _0x5368b1=this[_0x2a55cb(0x454)](this[_0x2a55cb(0x51c)](),''+_0x26b7d0),_0xbfac64=(await this[_0x2a55cb(0x4e8)][_0x2a55cb(0x3cf)](_0x5368b1))[_0x2a55cb(0x3fd)];if(_0xbfac64['error']&&_0xbfac64[_0x2a55cb(0x2be)][_0x2a55cb(0x271)]===cn['OK']){const _0x6eb020=new URL(_0xbfac64[_0x2a55cb(0x153)],this[_0x2a55cb(0x138)]())['toString']();return Promise['resolve'](_0x6eb020);}return Promise[_0x2a55cb(0x498)](_0xbfac64[_0x2a55cb(0x2be)]);}catch(_0x3bbfe2){return Promise[_0x2a55cb(0x498)](_0x3bbfe2);}}async[_0x2fc972(0x52e)](_0x5c432d){const _0xfa2b49=_0x2fc972;let _0x387fc8='';if(!wr['includes'](_0x5c432d[_0xfa2b49(0xc1)]))return this[_0xfa2b49(0x1d5)](),Promise[_0xfa2b49(0x498)](new Error(ne[_0xfa2b49(0x318)][_0xfa2b49(0x20f)]));if(_0x5c432d[_0xfa2b49(0x1ca)]>Pr)return this['_decreaseWaiting'](),Promise[_0xfa2b49(0x498)](new Error(ne['ImageUploadStatusType'][_0xfa2b49(0x233)]));try{const _0x44a13f=new FormData();_0x44a13f[_0xfa2b49(0x4f9)]('file',_0x5c432d);const _0x2cd6c4=this[_0xfa2b49(0x4d3)][_0xfa2b49(0x2df)](),_0x31bbf4=_0x2cd6c4==null?void 0x0:_0x2cd6c4[_0xfa2b49(0x12b)]();if(!_0x31bbf4)throw new Error(_0xfa2b49(0x31a));const _0x771b9b=this['_getUploadFileURL']()+_0xfa2b49(0x4d1)+_0x5c432d[_0xfa2b49(0x1ca)][_0xfa2b49(0x443)]()+_0xfa2b49(0x40e)+ln[_0xfa2b49(0x48d)]+_0xfa2b49(0x328)+encodeURIComponent(_0x31bbf4),_0x11ae20=await(await fetch(_0x771b9b,{'method':_0xfa2b49(0x331),'body':_0x44a13f}))[_0xfa2b49(0x20c)]();if(typeof _0x11ae20[_0xfa2b49(0xe4)]!='string')return this[_0xfa2b49(0x1d5)](),Promise[_0xfa2b49(0x498)](new Error(ne['ImageUploadStatusType'][_0xfa2b49(0x3dd)]));_0x387fc8=_0x11ae20[_0xfa2b49(0xe4)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(ne[_0xfa2b49(0x318)][_0xfa2b49(0x3dd)]));}return new Promise((_0x1ac330,_0x2c8d08)=>{const _0x19a828=new FileReader();_0x19a828['readAsDataURL'](_0x5c432d),_0x19a828['onload']=_0x393313=>{const _0x46879c=_0x10d1;var _0x7288e8;const _0x145770=(_0x7288e8=_0x393313['target'])==null?void 0x0:_0x7288e8[_0x46879c(0xfc)];if(_0x145770==null){this[_0x46879c(0x1d5)](),_0x2c8d08(new Error(ne[_0x46879c(0x318)][_0x46879c(0x3dd)]));return;}const _0x42f5c3=a['Tools']['generateRandomId'](0x6);_0x1ac330({'imageId':_0x42f5c3,'imageSourceType':ne[_0x46879c(0x3d2)][_0x46879c(0x30a)],'source':_0x387fc8,'base64Cache':_0x145770,'status':ne[_0x46879c(0x318)]['SUCCUSS']}),this[_0x46879c(0x1d5)]();};});}[_0x2fc972(0x4bc)](){const _0x5a9be1=_0x2fc972;var _0x5dcbb9,_0x3313c6;const _0x1403a0=this[_0x5a9be1(0x51e)]['getConfig'](Ur),_0x207f6f=this[_0x5a9be1(0x51e)][_0x5a9be1(0xf1)](te);return(_0x3313c6=(_0x5dcbb9=_0x207f6f==null?void 0x0:_0x207f6f[_0x5a9be1(0x2a5)])!=null?_0x5dcbb9:_0x1403a0)!=null?_0x3313c6:Mr;}[_0x2fc972(0x51c)](){const _0x2574ad=_0x2fc972;var _0x2f9f27,_0x29bd27;const _0x552840=this[_0x2574ad(0x51e)][_0x2574ad(0xf1)](Ar),_0x3e9df0=this[_0x2574ad(0x51e)][_0x2574ad(0xf1)](te);return(_0x29bd27=(_0x2f9f27=_0x3e9df0==null?void 0x0:_0x3e9df0['signUrlServerUrl'])!=null?_0x2f9f27:_0x552840)!=null?_0x29bd27:Nr;}[_0x2fc972(0x138)](){const _0x5e9c46=_0x2fc972;var _0x73b372;const _0xf9b345=this[_0x5e9c46(0x51e)][_0x5e9c46(0xf1)](te);return(_0x73b372=_0xf9b345==null?void 0x0:_0xf9b345[_0x5e9c46(0x11c)])!=null?_0x73b372:location['origin'];}[_0x2fc972(0x454)](_0x32c12a,_0x169e29){const _0x2389cd=_0x2fc972;return _0x32c12a[_0x2389cd(0x431)](_0x2389cd(0x4ec),_0x169e29);}[_0x2fc972(0x1d5)](){const _0x35729c=_0x2fc972;this[_0x35729c(0x26c)]-=0x1,this[_0x35729c(0x468)]['next'](this[_0x35729c(0x26c)]);}},exports['ImageIoService']=Dr([vt(0x0,a[_0x2fc972(0xde)](Z['HTTPService'])),vt(0x1,a[_0x2fc972(0x33a)]),vt(0x2,a[_0x2fc972(0xde)](a[_0x2fc972(0x3b9)]))],exports[_0x2fc972(0x41a)]);var Lr=Object[_0x2fc972(0x356)],xr=Object[_0x2fc972(0x423)],jr=(_0x130b86,_0x382fbf,_0x2e93d1,_0x552513)=>{const _0x16e108=_0x2fc972;for(var _0x27b0ad=_0x552513>0x1?void 0x0:_0x552513?xr(_0x382fbf,_0x2e93d1):_0x382fbf,_0xd9a590=_0x130b86[_0x16e108(0x14d)]-0x1,_0x2b5f26;_0xd9a590>=0x0;_0xd9a590--)(_0x2b5f26=_0x130b86[_0xd9a590])&&(_0x27b0ad=(_0x552513?_0x2b5f26(_0x382fbf,_0x2e93d1,_0x27b0ad):_0x2b5f26(_0x27b0ad))||_0x27b0ad);return _0x552513&&_0x27b0ad&&Lr(_0x382fbf,_0x2e93d1,_0x27b0ad),_0x27b0ad;},Ae=(_0x4bc1ae,_0x5c26c5)=>(_0x373c31,_0x24e7b1)=>_0x5c26c5(_0x373c31,_0x24e7b1,_0x4bc1ae);let Ke=class extends a[_0x2fc972(0x222)]{constructor(_0xec8859,_0x4fb2d9,_0x2d2b48,_0x4f9720,_0x448a50){const _0x32048a=_0x2fc972;super(),this[_0x32048a(0x2bd)]=_0xec8859,this[_0x32048a(0x4d3)]=_0x4fb2d9,this[_0x32048a(0x1f6)]=_0x2d2b48,this['_collaborationSessionService']=_0x4f9720,this[_0x32048a(0x46e)]=_0x448a50,this[_0x32048a(0x175)](),this[_0x32048a(0x2d1)]();}['_initCloseConn'](){const _0x5ab73c=_0x2fc972,_0x2a6ac9=async _0x16e334=>{const _0x464a0a=_0x10d1;(await this['_collaborationSessionService']['requireSession'](_0x16e334))[_0x464a0a(0x312)][_0x464a0a(0x54d)](V[_0x464a0a(0xda)](_0x2a0fac=>_0x2a0fac[_0x464a0a(0x4ca)]===S[_0x464a0a(0x2b7)][_0x464a0a(0x212)]),V[_0x464a0a(0x26d)](this[_0x464a0a(0x391)]))['subscribe'](_0x94b90d=>{const _0x3c3530=_0x464a0a,_0x31809e=_0x94b90d,{reason:_0x5e2377}=_0x31809e[_0x3c3530(0x191)];this[_0x3c3530(0x2bd)]['get'](ee[_0x3c3530(0x374)])['show']({'type':ge[_0x3c3530(0x40a)][_0x3c3530(0x44f)],'content':this[_0x3c3530(0x46e)]['t']('collaboration.closeRoom')+'('+_0x5e2377+')'}),this[_0x3c3530(0x1f6)]['updatePermissionPoint'](new k[(_0x3c3530(0x2b3))](_0x16e334)['id'],!0x1),this['_collaborationSessionService'][_0x3c3530(0x23b)](_0x16e334);});};A[_0x5ab73c(0x35e)](this['_univerInstanceService'][_0x5ab73c(0x41f)](a[_0x5ab73c(0x172)][_0x5ab73c(0x252)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x5ab73c(0x22f)]))[_0x5ab73c(0x54d)](V[_0x5ab73c(0x2dc)](_0x1c2095=>_0x1c2095['getUnitId']()),V[_0x5ab73c(0xda)](_0x3c4e4c=>!a[_0x5ab73c(0x370)](_0x3c4e4c)),V[_0x5ab73c(0x26d)](this[_0x5ab73c(0x391)]))['subscribe'](_0x4bc8e3=>{_0x2a6ac9(_0x4bc8e3);});}[_0x2fc972(0x175)](){const _0x5c573a=_0x2fc972,_0x378967=async _0x1808e2=>{const _0x2eea41=_0x10d1;(await this[_0x2eea41(0x198)][_0x2eea41(0x42c)](_0x1808e2))[_0x2eea41(0x312)]['pipe'](V['filter'](_0x890d11=>_0x890d11[_0x2eea41(0x4ca)]===S[_0x2eea41(0x2b7)][_0x2eea41(0x11a)]),V[_0x2eea41(0x26d)](this[_0x2eea41(0x391)]))['subscribe'](_0x460cdf=>{const _0x5dba42=_0x2eea41,_0x20ccde=_0x460cdf,{objectId:_0x1db8cf}=_0x20ccde[_0x5dba42(0x191)],_0x52719d=this[_0x5dba42(0x2bd)][_0x5dba42(0x3cf)](Re[_0x5dba42(0x215)]);_0x1db8cf===_0x1808e2?_0x52719d[_0x5dba42(0x305)](_0x1808e2):_0x52719d[_0x5dba42(0x279)](_0x1808e2,_0x1db8cf);});};A['merge'](this[_0x5c573a(0x4d3)][_0x5c573a(0x41f)](a[_0x5c573a(0x172)][_0x5c573a(0x252)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x5c573a(0x172)][_0x5c573a(0x22f)]))[_0x5c573a(0x54d)](V[_0x5c573a(0x2dc)](_0x53021f=>_0x53021f[_0x5c573a(0x12b)]()),V[_0x5c573a(0xda)](_0x2a504f=>!a['isInternalEditorID'](_0x2a504f)),V[_0x5c573a(0x26d)](this['dispose$']))[_0x5c573a(0x243)](_0x491604=>{_0x378967(_0x491604);});}};Ke=jr([Ae(0x0,a['Inject'](a['Injector'])),Ae(0x1,a[_0x2fc972(0x3b9)]),Ae(0x2,a[_0x2fc972(0x179)]),Ae(0x3,a[_0x2fc972(0xde)](exports[_0x2fc972(0x45d)])),Ae(0x4,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)]))],Ke);var $r=Object[_0x2fc972(0x356)],Hr=Object[_0x2fc972(0x423)],Br=(_0x3e9eb9,_0x2d03ae,_0x35621b,_0x36c400)=>{const _0x15571f=_0x2fc972;for(var _0x2f4a63=_0x36c400>0x1?void 0x0:_0x36c400?Hr(_0x2d03ae,_0x35621b):_0x2d03ae,_0xe3c008=_0x3e9eb9[_0x15571f(0x14d)]-0x1,_0xc48558;_0xe3c008>=0x0;_0xe3c008--)(_0xc48558=_0x3e9eb9[_0xe3c008])&&(_0x2f4a63=(_0x36c400?_0xc48558(_0x2d03ae,_0x35621b,_0x2f4a63):_0xc48558(_0x2f4a63))||_0x2f4a63);return _0x36c400&&_0x2f4a63&&$r(_0x2d03ae,_0x35621b,_0x2f4a63),_0x2f4a63;},Jt=(_0x17efd7,_0x5617a1)=>(_0x2a77a2,_0x22c585)=>_0x5617a1(_0x2a77a2,_0x22c585,_0x17efd7);exports[_0x2fc972(0x38d)]=class{constructor(_0x42a1e2,_0x11b6b3){const _0x3aab57=_0x2fc972;this['_configService']=_0x42a1e2,this[_0x3aab57(0x4e8)]=_0x11b6b3;}async['getUnitOnRev'](_0xd82a69,_0x50d6f0){const _0x2dbd67=_0x2fc972;var _0x4db048;const {unitID:_0x5bfb9f,type:_0x21f89a,revision:_0x52a5cb=0x0}=_0x50d6f0,_0x29460c=this[_0x2dbd67(0x1bb)]()+'/'+_0x21f89a+_0x2dbd67(0xaa)+_0x5bfb9f+_0x2dbd67(0x4c3)+_0x52a5cb,_0x249f4b=(await this['_httpService'][_0x2dbd67(0x3cf)](_0x29460c))['body'],_0x42b22b=(_0x4db048=_0x249f4b[_0x2dbd67(0xe6)])==null?void 0x0:_0x4db048[_0x2dbd67(0x118)];if(_0x42b22b){const _0x17c5b5=_0x42b22b==null?void 0x0:_0x42b22b['originalMeta'],_0x1960fb=S['textEncoder'][_0x2dbd67(0x522)](S[_0x2dbd67(0x1e7)](_0x17c5b5));_0x42b22b[_0x2dbd67(0x45f)]=_0x1960fb,Object[_0x2dbd67(0x4f6)](_0x42b22b[_0x2dbd67(0x508)])[_0x2dbd67(0x422)](([,_0x25f869])=>{const _0x46710c=_0x2dbd67,_0xd6cbb6=_0x25f869['originalMeta'],_0x13945d=S[_0x46710c(0x1fd)][_0x46710c(0x522)](S['b64DecodeUnicode'](_0xd6cbb6));_0x25f869[_0x46710c(0x45f)]=_0x13945d;});}return _0x249f4b;}async[_0x2fc972(0x272)](_0x2711b0,_0x1456da){const _0x49a3a6=_0x2fc972,{unitID:_0x587be5,type:_0x1b2120,blockID:_0x326a7e}=_0x1456da,_0x2f9c23=this['_getAPIPrefix']()+'/'+_0x1b2120+_0x49a3a6(0xaa)+_0x587be5+_0x49a3a6(0x49b)+_0x326a7e;return(await this[_0x49a3a6(0x4e8)]['get'](_0x2f9c23))[_0x49a3a6(0x3fd)];}async['getDeserializedSheetBlock'](_0x346d39,_0xf5ddf4){const _0x38ea1e=_0x2fc972,{unitID:_0x2e58cc,type:_0x3d6c3f,blockID:_0x1c486a}=_0xf5ddf4,_0x4dd4c9=this[_0x38ea1e(0xd8)]()+_0x38ea1e(0x49b)+_0x3d6c3f+_0x38ea1e(0xaa)+_0x2e58cc+_0x38ea1e(0x49b)+_0x1c486a;return(await this[_0x38ea1e(0x4e8)][_0x38ea1e(0x3cf)](_0x4dd4c9))[_0x38ea1e(0x3fd)];}async[_0x2fc972(0x4fd)](_0x29fd3c,_0x1523e8){const _0x37a5bc=_0x2fc972,{unitID:_0x4e36ec,type:_0x643c11,from:_0xe232e2,to:_0x560bfd}=_0x1523e8,_0x31f7f8=this[_0x37a5bc(0xd8)]()+'/'+_0x643c11+_0x37a5bc(0xaa)+_0x4e36ec+_0x37a5bc(0x1d2)+_0xe232e2+'&to='+_0x560bfd;return(await this[_0x37a5bc(0x4e8)][_0x37a5bc(0x3cf)](_0x31f7f8))[_0x37a5bc(0x3fd)];}['_getSnapshotAPIPrefix'](){const _0x6a6c9d=_0x2fc972;var _0x5b0cc3;return(_0x5b0cc3=this[_0x6a6c9d(0x51e)][_0x6a6c9d(0xf1)](Qt))!=null?_0x5b0cc3:this[_0x6a6c9d(0xd8)]();}[_0x2fc972(0xd8)](){const _0x6e4406=_0x2fc972;var _0x18b11a,_0x49cf2a;const _0x297424=this[_0x6e4406(0x51e)][_0x6e4406(0xf1)](Zt),_0x4075ca=this[_0x6e4406(0x51e)][_0x6e4406(0xf1)](te);return(_0x49cf2a=(_0x18b11a=_0x4075ca==null?void 0x0:_0x4075ca['snapshotServerUrl'])!=null?_0x18b11a:_0x297424)!=null?_0x49cf2a:Hn;}async[_0x2fc972(0x358)](_0x46791c,_0x447cfa){const _0xc58c10=_0x2fc972,_0x1c6358=_0xc58c10(0x311)+_0x447cfa[_0xc58c10(0xc1)]+_0xc58c10(0xaa)+_0x447cfa[_0xc58c10(0xbc)]+'/resources';return(await this[_0xc58c10(0x4e8)][_0xc58c10(0x3cf)](_0x1c6358,{'params':{'resourceId':JSON['stringify'](_0x447cfa[_0xc58c10(0x4af)])}}))['body'];}[_0x2fc972(0x2d3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2fc972(0x2c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2fc972(0x425)](){const _0xb7e5c5=_0x2fc972;throw new Error(_0xb7e5c5(0x129));}[_0x2fc972(0x501)](){const _0x5486bc=_0x2fc972;throw new Error(_0x5486bc(0x129));}},exports[_0x2fc972(0x38d)]=Br([Jt(0x0,a[_0x2fc972(0x33a)]),Jt(0x1,a[_0x2fc972(0xde)](Z[_0x2fc972(0x4a1)]))],exports[_0x2fc972(0x38d)]);var kr=Object[_0x2fc972(0x356)],Wr=Object[_0x2fc972(0x423)],Fr=(_0x37fc4d,_0x27ac39,_0x42a15d,_0x5e2a9d)=>{const _0x27d982=_0x2fc972;for(var _0x25c3e7=_0x5e2a9d>0x1?void 0x0:_0x5e2a9d?Wr(_0x27ac39,_0x42a15d):_0x27ac39,_0xeb161d=_0x37fc4d[_0x27d982(0x14d)]-0x1,_0x56b6d3;_0xeb161d>=0x0;_0xeb161d--)(_0x56b6d3=_0x37fc4d[_0xeb161d])&&(_0x25c3e7=(_0x5e2a9d?_0x56b6d3(_0x27ac39,_0x42a15d,_0x25c3e7):_0x56b6d3(_0x25c3e7))||_0x25c3e7);return _0x5e2a9d&&_0x25c3e7&&kr(_0x27ac39,_0x42a15d,_0x25c3e7),_0x25c3e7;},Ne=(_0x7ccdd7,_0x529a5d)=>(_0x445c2f,_0x1d4ab7)=>_0x529a5d(_0x445c2f,_0x1d4ab7,_0x7ccdd7);let It=class extends a[_0x2fc972(0xb3)]{constructor(_0x396915,_0x3ba853,_0x3d8d9a,_0x2b60a2,_0x2b4b96){const _0x47f119=_0x2fc972;super(_0x396915,_0x3ba853,_0x3d8d9a),this[_0x47f119(0x116)]=_0x2b60a2,this[_0x47f119(0x3e5)]=_0x2b4b96;}[_0x2fc972(0x42f)](_0x5e7e16,_0x3861e3){const _0x39d4e2=_0x2fc972,_0x30cd2a=this[_0x39d4e2(0x2e4)](_0x5e7e16);if(_0x30cd2a)try{const _0x1051c8=this[_0x39d4e2(0x346)](_0x30cd2a,_0x3861e3);this[_0x39d4e2(0x143)](_0x5e7e16,_0x1051c8);}catch(_0x4807b2){this[_0x39d4e2(0x3e5)][_0x39d4e2(0x2be)](_0x39d4e2(0x4df),_0x4807b2),this[_0x39d4e2(0x255)](_0x5e7e16);}const _0x2b4c0c=this[_0x39d4e2(0x257)](_0x5e7e16);if(_0x2b4c0c)try{const _0x4a93e2=this[_0x39d4e2(0x346)](_0x2b4c0c,_0x3861e3);this[_0x39d4e2(0x37d)](_0x5e7e16,_0x4a93e2);}catch(_0x342ed7){this['_logService'][_0x39d4e2(0x2be)](_0x342ed7),this['_clearRedo'](_0x5e7e16);}}['_clearUndo'](_0x472d59){const _0x535e29=_0x2fc972,_0x1e1c84=this[_0x535e29(0x2e4)](_0x472d59);_0x1e1c84&&(_0x1e1c84[_0x535e29(0x14d)]=0x0,this[_0x535e29(0x42a)]());}[_0x2fc972(0x1e6)](_0x16b362){const _0x27c7af=_0x2fc972,_0x28f848=this[_0x27c7af(0x257)](_0x16b362);_0x28f848&&(_0x28f848[_0x27c7af(0x14d)]=0x0,this['_updateStatus']());}[_0x2fc972(0x143)](_0x27b6a6,_0x4c23c4){const _0x667d39=_0x2fc972;this[_0x667d39(0xe3)][_0x667d39(0x3ef)](_0x27b6a6,_0x4c23c4),this[_0x667d39(0x42a)]();}[_0x2fc972(0x37d)](_0xd74179,_0x4d06b6){const _0x136dbc=_0x2fc972;this[_0x136dbc(0x3e7)][_0x136dbc(0x3ef)](_0xd74179,_0x4d06b6),this[_0x136dbc(0x42a)]();}[_0x2fc972(0x346)](_0x637f21,_0x2c8e1){const _0x1defdf=_0x2fc972,_0x56fff3=[];let _0x23df70=_0x2c8e1,_0x4b1b1d=_0x2c8e1;for(let _0xf1e9a9=_0x637f21[_0x1defdf(0x14d)]-0x1;_0xf1e9a9>=0x0;_0xf1e9a9--){const {unitID:_0xd8c772,undoMutations:_0xd05dc,redoMutations:_0x266dcd}=_0x637f21[_0xf1e9a9],_0x4fda27=this[_0x1defdf(0x116)][_0x1defdf(0x4ee)](_0x23df70,_0xd05dc),_0x3bc3c2=this[_0x1defdf(0x116)][_0x1defdf(0x4ee)](_0x4b1b1d,_0x266dcd);if(S['isTransformMutationsWithChangesetFailure'](_0x4fda27)||S[_0x1defdf(0xf8)](_0x3bc3c2)){this['_logService'][_0x1defdf(0x2be)]('[CollaborationUndoRedoService]',_0x1defdf(0x4c8),_0x4fda27,_0x3bc3c2);break;}_0x23df70=_0x4fda27['c1Prime'],_0x4b1b1d=_0x3bc3c2[_0x1defdf(0x4c0)],_0x56fff3[_0x1defdf(0x540)]({'unitID':_0xd8c772,'undoMutations':_0x4fda27['m2Prime'],'redoMutations':_0x3bc3c2[_0x1defdf(0x1e2)]});}return _0x56fff3[_0x1defdf(0x196)]();}};It=Fr([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x2fc972(0x451)]),Ne(0x2,a['IContextService']),Ne(0x3,S[_0x2fc972(0x4a4)]),Ne(0x4,a[_0x2fc972(0x1fc)])],It);class An extends a[_0x2fc972(0x222)]{constructor(){const _0x49722c=_0x2fc972;super(),I(this,'urlChange$'),this[_0x49722c(0x137)]=A[_0x49722c(0x409)](window,_0x49722c(0x293))[_0x49722c(0x54d)](A['takeUntil'](this[_0x49722c(0x391)]),A[_0x49722c(0x4b3)](0x1),A[_0x49722c(0x238)](void 0x0));}['setParam'](_0x4e817b,_0x3bd20f,_0x5b23b4=!0x1){const _0x2d0448=_0x2fc972,_0x43bf3e=new URL(window[_0x2d0448(0x24a)]['href']);_0x43bf3e[_0x2d0448(0x133)][_0x2d0448(0x3ef)](_0x4e817b,_0x3bd20f),_0x5b23b4?window[_0x2d0448(0x360)][_0x2d0448(0x39e)]('','',_0x43bf3e[_0x2d0448(0x443)]()):window[_0x2d0448(0x360)][_0x2d0448(0x19f)]('','',_0x43bf3e[_0x2d0448(0x443)]());}[_0x2fc972(0x239)](_0x2b9c99,_0x33bbe4=!0x1){const _0x1da63c=_0x2fc972,_0x1e4d5c=new URL(window[_0x1da63c(0x24a)][_0x1da63c(0x39b)]);_0x1e4d5c[_0x1da63c(0x133)][_0x1da63c(0x332)](_0x2b9c99),_0x33bbe4?window['history'][_0x1da63c(0x39e)]('','',_0x1e4d5c[_0x1da63c(0x443)]()):window[_0x1da63c(0x360)]['pushState']('','',_0x1e4d5c[_0x1da63c(0x443)]());}[_0x2fc972(0x32f)](_0x42c9c2){const _0x5087eb=_0x2fc972;var _0x34dd95;return(_0x34dd95=new URL(window[_0x5087eb(0x24a)]['href'])[_0x5087eb(0x133)][_0x5087eb(0x3cf)](_0x42c9c2))!=null?_0x34dd95:void 0x0;}}var Nn=Object['defineProperty'],Vr=Object[_0x2fc972(0x423)],Gr=(_0x3270df,_0x3e746f,_0x3d123d)=>_0x3e746f in _0x3270df?Nn(_0x3270df,_0x3e746f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d123d}):_0x3270df[_0x3e746f]=_0x3d123d,Yr=(_0x1a8702,_0x1297ce,_0x3e6132,_0x3a7531)=>{for(var _0x134c2f=_0x3a7531>0x1?void 0x0:_0x3a7531?Vr(_0x1297ce,_0x3e6132):_0x1297ce,_0xe21c97=_0x1a8702['length']-0x1,_0xddee61;_0xe21c97>=0x0;_0xe21c97--)(_0xddee61=_0x1a8702[_0xe21c97])&&(_0x134c2f=(_0x3a7531?_0xddee61(_0x1297ce,_0x3e6132,_0x134c2f):_0xddee61(_0x134c2f))||_0x134c2f);return _0x3a7531&&_0x134c2f&&Nn(_0x1297ce,_0x3e6132,_0x134c2f),_0x134c2f;},He=(_0x34c1db,_0x2e213a)=>(_0x520d26,_0x15d69d)=>_0x2e213a(_0x520d26,_0x15d69d,_0x34c1db),Kr=(_0x26a3e2,_0x42dbb4,_0x17b6aa)=>Gr(_0x26a3e2,_0x42dbb4+'',_0x17b6aa);const qr=_0x2fc972(0x1d4);exports[_0x2fc972(0x1f0)]=class extends a[_0x2fc972(0x378)]{constructor(_0x474186=zn,_0x37deed,_0x3a0c7c,_0x9fea60,_0x3b679c){const _0x30df9b=_0x2fc972;super(),this[_0x30df9b(0x345)]=_0x474186,this[_0x30df9b(0x3e5)]=_0x37deed,this[_0x30df9b(0x184)]=_0x3a0c7c,this['_injector']=_0x9fea60,this[_0x30df9b(0x51e)]=_0x3b679c;const {..._0x1d4752}=this[_0x30df9b(0x345)];this[_0x30df9b(0x51e)][_0x30df9b(0x513)](te,_0x1d4752);}[_0x2fc972(0x18e)](){const _0x57e745=_0x2fc972;this[_0x57e745(0x226)](),this['_initDependencies']();}[_0x2fc972(0x3d6)](){const _0x377c68=_0x2fc972;a[_0x377c68(0x2eb)](this[_0x377c68(0x2bd)],[[Ve]]);}[_0x2fc972(0x3f3)](){const _0x698fda=_0x2fc972;this[_0x698fda(0x280)]();}[_0x2fc972(0x226)](){const _0x51cc2b=_0x2fc972;var _0x412b2a,_0x15da33,_0x204274,_0x18b35c;this[_0x51cc2b(0x2bd)]['has'](a[_0x51cc2b(0x1d3)])&&this['_logService'][_0x51cc2b(0x2be)]('[UniverCollaborationClientPlugin]',_0x51cc2b(0x2f4));const _0x5b5ba5=[[a['IUndoRedoService'],{'useClass':It}],[exports['CollaborationSessionService']],[Ot],[wt,{'useClass':An}],[exports[_0x51cc2b(0x120)]],[exports[_0x51cc2b(0x464)]],[Z[_0x51cc2b(0x1d0)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x15da33=(_0x412b2a=this[_0x51cc2b(0x345)])==null?void 0x0:_0x412b2a[_0x51cc2b(0x3a0)])!=null?_0x15da33:exports[_0x51cc2b(0x44c)]}],[S['ISnapshotServerService'],{'useClass':exports[_0x51cc2b(0x38d)]}],[a[_0x51cc2b(0x139)],{'useClass':exports[_0x51cc2b(0x228)]}],[ne['IImageIoService'],{'useClass':exports[_0x51cc2b(0x41a)]}],[exports[_0x51cc2b(0x500)]],[exports[_0x51cc2b(0x3fa)]],[exports[_0x51cc2b(0x34e)]],[Ve],[De]];(_0x204274=this[_0x51cc2b(0x345)])!=null&&_0x204274[_0x51cc2b(0xc5)]&&_0x5b5ba5[_0x51cc2b(0x540)]([qe,{'useClass':Oi}]),a[_0x51cc2b(0x4aa)](this['_injector'],a['mergeOverrideWithDependencies'](_0x5b5ba5,(_0x18b35c=this[_0x51cc2b(0x345)])==null?void 0x0:_0x18b35c[_0x51cc2b(0x301)]));}[_0x2fc972(0x280)](){const _0x3309fd=_0x2fc972;this['disposeWithMe'](this[_0x3309fd(0x184)][_0x3309fd(0x4b8)](a['UniverInstanceType'][_0x3309fd(0x22f)],[pt])),this['disposeWithMe'](this[_0x3309fd(0x184)]['registerRenderModule'](a[_0x3309fd(0x172)][_0x3309fd(0x252)],[gt]));}[_0x2fc972(0x28e)](){const _0x565e32=_0x2fc972;var _0xf358a7,_0x4efb97;this[_0x565e32(0x2bd)][_0x565e32(0x3cf)](Z[_0x565e32(0x4a1)])[_0x565e32(0x2b8)]({'priority':0x14,'interceptor':Z[_0x565e32(0x1f7)]({'maxParallel':0x6})}),(_0xf358a7=this[_0x565e32(0x345)])!=null&&_0xf358a7[_0x565e32(0xae)]||this[_0x565e32(0x2bd)]['get'](exports['LocalCacheService'])[_0x565e32(0x295)](),(_0x4efb97=this[_0x565e32(0x345)])!=null&&_0x4efb97['enableAuthServer']&&a[_0x565e32(0x2eb)](this[_0x565e32(0x2bd)],[[Ge]]),a[_0x565e32(0x2eb)](this[_0x565e32(0x2bd)],[[Ye],[De],[exports[_0x565e32(0x3fa)]],[exports[_0x565e32(0x500)]],[exports[_0x565e32(0x34e)]],[Ke]]);}},Kr(exports['UniverCollaborationClientPlugin'],'pluginName',qr),exports['UniverCollaborationClientPlugin']=Yr([a['DependentOn'](S[_0x2fc972(0x535)],Z['UniverNetworkPlugin']),He(0x1,a['ILogService']),He(0x2,K[_0x2fc972(0x2c1)]),He(0x3,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),He(0x4,a[_0x2fc972(0x33a)])],exports[_0x2fc972(0x1f0)]),exports[_0x2fc972(0x2d7)]=Rn,exports[_0x2fc972(0x122)]=on,exports[_0x2fc972(0x149)]=en,exports[_0x2fc972(0xb2)]=q,exports[_0x2fc972(0x34d)]=Tn,exports['CommentService']=Tt,exports['HEARTBEAT_INTERVAL_KEY']=tn,exports[_0x2fc972(0x4ab)]=Ct,exports[_0x2fc972(0x150)]=bt,exports[_0x2fc972(0x462)]=wt,exports[_0x2fc972(0x4e5)]=rn,exports[_0x2fc972(0xc7)]=an,exports[_0x2fc972(0x18f)]=sn,exports[_0x2fc972(0x4ce)]=Bn,exports[_0x2fc972(0x368)]=Zt,exports[_0x2fc972(0x43d)]=Qt,exports[_0x2fc972(0x2a2)]=se,exports['SheetCollabCursorShape']=Sn,exports[_0x2fc972(0x4a6)]=An,exports['deserializeToCombResponse']=hn,exports['serializeCombRequest']=_n;