@univerjs-pro/collaboration-client 0.4.2 → 0.5.0-nightly.202411091605

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 (90) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/en-US.js +1 -0
  3. package/lib/cjs/locale/fa-IR.js +1 -0
  4. package/lib/cjs/locale/ru-RU.js +1 -0
  5. package/lib/cjs/locale/vi-VN.js +1 -0
  6. package/lib/cjs/locale/zh-CN.js +1 -0
  7. package/lib/cjs/locale/zh-TW.js +1 -0
  8. package/lib/es/index.js +1 -1
  9. package/lib/es/locale/en-US.js +1 -0
  10. package/lib/es/locale/fa-IR.js +1 -0
  11. package/lib/es/locale/ru-RU.js +1 -0
  12. package/lib/es/locale/vi-VN.js +1 -0
  13. package/lib/es/locale/zh-CN.js +1 -0
  14. package/lib/es/locale/zh-TW.js +1 -0
  15. package/lib/types/index.d.ts +890 -34
  16. package/lib/umd/index.js +1 -1
  17. package/lib/umd/locale/en-US.js +1 -0
  18. package/lib/umd/locale/fa-IR.js +1 -0
  19. package/lib/umd/locale/ru-RU.js +1 -0
  20. package/lib/umd/locale/vi-VN.js +1 -0
  21. package/lib/umd/locale/zh-CN.js +1 -0
  22. package/lib/umd/locale/zh-TW.js +1 -0
  23. package/package.json +39 -31
  24. package/lib/locale/en-US.json +0 -38
  25. package/lib/locale/fa-IR.json +0 -38
  26. package/lib/locale/ru-RU.json +0 -38
  27. package/lib/locale/vi-VN.json +0 -38
  28. package/lib/locale/zh-CN.json +0 -38
  29. package/lib/locale/zh-TW.json +0 -38
  30. package/lib/types/config/config.d.ts +0 -48
  31. package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
  32. package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
  33. package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
  34. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
  35. package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
  36. package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
  37. package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
  38. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
  39. package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
  40. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
  41. package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
  42. package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
  43. package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -54
  44. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +0 -91
  45. package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -303
  46. package/lib/types/controllers/collaboration/collaboration.controller.d.ts +0 -24
  47. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +0 -18
  48. package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
  49. package/lib/types/controllers/config.schema.d.ts +0 -29
  50. package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
  51. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
  52. package/lib/types/controllers/file-name/file-name.controller.d.ts +0 -12
  53. package/lib/types/controllers/telemetry.d.ts +0 -11
  54. package/lib/types/locale/en-US.d.ts +0 -3
  55. package/lib/types/locale/fa-IR.d.ts +0 -3
  56. package/lib/types/locale/ru-RU.d.ts +0 -3
  57. package/lib/types/locale/vi-VN.d.ts +0 -3
  58. package/lib/types/locale/zh-CN.d.ts +0 -39
  59. package/lib/types/locale/zh-TW.d.ts +0 -3
  60. package/lib/types/models/cursor.d.ts +0 -30
  61. package/lib/types/plugin.d.ts +0 -18
  62. package/lib/types/services/auth-server/auth-server.service.d.ts +0 -10
  63. package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -30
  64. package/lib/types/services/auth-server/domain-request.service.d.ts +0 -6
  65. package/lib/types/services/auth-server/util.d.ts +0 -1
  66. package/lib/types/services/collaboration-session/collaboration-session.d.ts +0 -59
  67. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +0 -61
  68. package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
  69. package/lib/types/services/comment/comment.service.d.ts +0 -6
  70. package/lib/types/services/image-remote/image-io.service.d.ts +0 -34
  71. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
  72. package/lib/types/services/local-cache/local-cache.service.d.ts +0 -37
  73. package/lib/types/services/member/member.service.d.ts +0 -77
  74. package/lib/types/services/permission/permission.service.d.ts +0 -12
  75. package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +0 -13
  76. package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -39
  77. package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +0 -21
  78. package/lib/types/services/socket/collaboration-socket.service.d.ts +0 -34
  79. package/lib/types/services/socket/serialize.d.ts +0 -3
  80. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
  81. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
  82. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
  83. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +0 -19
  84. package/lib/types/services/url/url.service.d.ts +0 -12
  85. package/lib/types/services/url/web-url.service.d.ts +0 -10
  86. package/lib/types/views/components/CollabStatus.d.ts +0 -10
  87. package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
  88. package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
  89. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
  90. package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x17671e=_0x35f6;(function(_0x1cf9c5,_0x40e71c){const _0x24d5b3=_0x35f6,_0x36961b=_0x1cf9c5();while(!![]){try{const _0x375c21=parseInt(_0x24d5b3(0x3f9))/0x1*(-parseInt(_0x24d5b3(0x1df))/0x2)+-parseInt(_0x24d5b3(0x276))/0x3*(-parseInt(_0x24d5b3(0x57e))/0x4)+-parseInt(_0x24d5b3(0x277))/0x5*(parseInt(_0x24d5b3(0x493))/0x6)+-parseInt(_0x24d5b3(0x3d6))/0x7+-parseInt(_0x24d5b3(0x1fc))/0x8*(parseInt(_0x24d5b3(0x566))/0x9)+-parseInt(_0x24d5b3(0x1f2))/0xa+parseInt(_0x24d5b3(0x32c))/0xb;if(_0x375c21===_0x40e71c)break;else _0x36961b['push'](_0x36961b['shift']());}catch(_0x2475b1){_0x36961b['push'](_0x36961b['shift']());}}}(_0x15d4,0x1cb17));var Mn=Object[_0x17671e(0x545)],An=(_0x51478d,_0x3e14bb,_0x4d4e3a)=>_0x3e14bb in _0x51478d?Mn(_0x51478d,_0x3e14bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d4e3a}):_0x51478d[_0x3e14bb]=_0x4d4e3a,I=(_0x31c19a,_0x1c2b98,_0x2f07e6)=>An(_0x31c19a,typeof _0x1c2b98!=_0x17671e(0x421)?_0x1c2b98+'':_0x1c2b98,_0x2f07e6);Object[_0x17671e(0x545)](exports,Symbol['toStringTag'],{'value':_0x17671e(0x1e5)});const a=require('@univerjs/core'),A=require(_0x17671e(0x3ac)),V=require(_0x17671e(0x1dc)),Se=require(_0x17671e(0x568)),te=require('@univerjs/ui'),Q=require(_0x17671e(0x344)),p=require(_0x17671e(0x5e0)),Nn=require('@univerjs/telemetry'),Z=require('@univerjs/docs-ui'),k=require(_0x17671e(0x2db)),K=require('@univerjs/engine-render'),Re=require(_0x17671e(0x28b)),ie=require(_0x17671e(0x3ec)),wt=require(_0x17671e(0x252)),Te=require(_0x17671e(0x416)),z=require(_0x17671e(0x389)),Ln=require(_0x17671e(0x5c1)),Jt=_0x17671e(0x517),xn=_0x17671e(0x63c),Zt=_0x17671e(0x2d1),$n='SEND_CHANGESET_TIMEOUT',jn=0x7d0,Qt=_0x17671e(0x65d),Hn='ws://127.0.0.1:8000/universer-api/comb/connect',en=_0x17671e(0x67a),Bn=0x7530,It='HEARTBEAT_TIMEOUT',tn=0x4e20,kn=0x4e20,nn='RETRY_CONNECTING_MAX_COUNT',Wn=0x3,sn=_0x17671e(0x295),Fn=0x3e8,rn='COLLAB_SUBMIT_CHANGESET_URL',Vn=_0x17671e(0x563),on=_0x17671e(0x3c6),Gn=_0x17671e(0x370);var an=(_0x3d6ef1=>(_0x3d6ef1[_0x3d6ef1['UNDEFINED']=0x0]='UNDEFINED',_0x3d6ef1[_0x3d6ef1['OK']=0x1]='OK',_0x3d6ef1[_0x3d6ef1[_0x17671e(0x596)]=0x2]=_0x17671e(0x596),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x202)]=0x3]=_0x17671e(0x202),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x3ae)]=0x4]='NOT_FOUND',_0x3d6ef1[_0x3d6ef1['UNAUTHENTICATED']=0x5]=_0x17671e(0x5c7),_0x3d6ef1[_0x3d6ef1['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3d6ef1[_0x3d6ef1[_0x17671e(0x235)]=0x7]=_0x17671e(0x235),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x638)]=0x8]=_0x17671e(0x638),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x61b)]=0x9]=_0x17671e(0x61b),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x564)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3d6ef1[_0x3d6ef1[_0x17671e(0x3f6)]=0x1771]=_0x17671e(0x3f6),_0x3d6ef1[_0x3d6ef1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x17671e(0x655),_0x3d6ef1[_0x3d6ef1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x17671e(0x338),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x582)]=0x1b59]=_0x17671e(0x582),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x658)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3d6ef1[_0x3d6ef1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x17671e(0x3da),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x413)]=0x1b5c]=_0x17671e(0x413),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x1d6)]=0x1b5d]=_0x17671e(0x1d6),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x65a)]=0x1f41]=_0x17671e(0x65a),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x43a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3d6ef1[_0x3d6ef1[_0x17671e(0x5bb)]=0x232a]=_0x17671e(0x5bb),_0x3d6ef1[_0x3d6ef1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x17671e(0x24a),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x4cb)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3d6ef1[_0x3d6ef1['LICENSE_DISTRO_REJECTED']=0x232d]=_0x17671e(0x245),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x528)]=0x2711]=_0x17671e(0x528),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x672)]=0x2712]=_0x17671e(0x672),_0x3d6ef1[_0x3d6ef1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x17671e(0x2f2),_0x3d6ef1[_0x3d6ef1[_0x17671e(0x30c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3d6ef1[_0x3d6ef1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3d6ef1))(an||{}),se=(_0x44ed73=>(_0x44ed73[_0x44ed73[_0x17671e(0x41b)]=0x0]=_0x17671e(0x41b),_0x44ed73[_0x44ed73[_0x17671e(0x4ca)]=0x1]=_0x17671e(0x4ca),_0x44ed73[_0x44ed73[_0x17671e(0x360)]=0x2]=_0x17671e(0x360),_0x44ed73[_0x44ed73[_0x17671e(0x522)]=0x3]=_0x17671e(0x522),_0x44ed73[_0x44ed73[_0x17671e(0x3a6)]=0x4]=_0x17671e(0x3a6),_0x44ed73[_0x44ed73[_0x17671e(0x223)]=-0x1]=_0x17671e(0x223),_0x44ed73))(se||{}),G=(_0x5c4e28=>(_0x5c4e28[_0x5c4e28[_0x17671e(0x1e2)]=0x0]=_0x17671e(0x1e2),_0x5c4e28[_0x5c4e28['HELLO']=0x1]=_0x17671e(0x3a3),_0x5c4e28[_0x5c4e28['JOIN']=0x2]=_0x17671e(0x2fc),_0x5c4e28[_0x5c4e28[_0x17671e(0x398)]=0x3]=_0x17671e(0x398),_0x5c4e28[_0x5c4e28[_0x17671e(0x4eb)]=0x4]=_0x17671e(0x4eb),_0x5c4e28[_0x5c4e28['HEARTBEAT']=0x5]=_0x17671e(0x608),_0x5c4e28[_0x5c4e28[_0x17671e(0x334)]=0x6]=_0x17671e(0x334),_0x5c4e28[_0x5c4e28[_0x17671e(0x223)]=-0x1]='UNRECOGNIZED',_0x5c4e28))(G||{}),Ct=(_0xc58584=>(_0xc58584[_0xc58584[_0x17671e(0x38f)]=0x0]=_0x17671e(0x38f),_0xc58584[_0xc58584['OK']=0x1]='OK',_0xc58584[_0xc58584[_0x17671e(0x533)]=0x2]=_0x17671e(0x533),_0xc58584[_0xc58584[_0x17671e(0x223)]=-0x1]='UNRECOGNIZED',_0xc58584))(Ct||{}),cn=(_0x28f5ef=>(_0x28f5ef[_0x28f5ef[_0x17671e(0x34f)]=0x0]=_0x17671e(0x34f),_0x28f5ef[_0x28f5ef[_0x17671e(0x278)]=0x1]=_0x17671e(0x278),_0x28f5ef[_0x28f5ef[_0x17671e(0x315)]=0x2]=_0x17671e(0x315),_0x28f5ef[_0x28f5ef['UnitEmbedded']=0x3]=_0x17671e(0x48d),_0x28f5ef[_0x28f5ef['UnitSnapshot']=0x4]=_0x17671e(0x244),_0x28f5ef[_0x28f5ef[_0x17671e(0x223)]=-0x1]=_0x17671e(0x223),_0x28f5ef))(cn||{});const ne='collaboration-client.config',Yn={};function ln(_0x4b6071){const _0xcd66f0=_0x17671e;var _0x6f97ce,_0x55b182,_0xb3984c,_0xfd4fde,_0x361fb1;const _0x585e04=_0x4b6071['data'],_0x56b462=JSON['parse'](_0x585e04);switch(_0x56b462['cmd']){case G[_0xcd66f0(0x608)]:case G['HELLO']:{const _0x186399=_0x56b462[_0xcd66f0(0x441)];return{..._0x56b462,'data':_0x186399,'cmd':_0x56b462[_0xcd66f0(0x3f5)]};}case G[_0xcd66f0(0x2fc)]:{const _0x1769a0=_0x56b462[_0xcd66f0(0x350)];return{..._0x56b462,'data':_0x1769a0,'cmd':_0x56b462['cmd']};}case G[_0xcd66f0(0x334)]:{const _0xab713e=_0x56b462[_0xcd66f0(0x356)];switch(_0xab713e[_0xcd66f0(0x3ee)]){case p[_0xcd66f0(0x2d6)][_0xcd66f0(0x2b7)]:return{..._0x56b462,'data':{..._0xab713e,'data':(_0x6f97ce=_0xab713e[_0xcd66f0(0x67b)])==null?void 0x0:_0x6f97ce['cs']},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p[_0xcd66f0(0x2d6)][_0xcd66f0(0x1eb)]:return{..._0x56b462,'data':{..._0xab713e,'data':(_0x55b182=_0xab713e[_0xcd66f0(0x5cb)])==null?void 0x0:_0x55b182['cs']},'cmd':_0x56b462['cmd']};case p[_0xcd66f0(0x2d6)]['NEW_CHANGESETS']:return{..._0x56b462,'data':{..._0xab713e,'data':(_0xb3984c=_0xab713e[_0xcd66f0(0x3c1)])==null?void 0x0:_0xb3984c['cs']},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p['CollaborationEvent']['CHANGESET_REJ']:return{..._0x56b462,'data':{..._0xab713e,'data':(_0xfd4fde=_0xab713e[_0xcd66f0(0x298)])==null?void 0x0:_0xfd4fde['cs']},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p[_0xcd66f0(0x2d6)][_0xcd66f0(0x3b8)]:return{..._0x56b462,'data':{..._0xab713e,'data':(_0x361fb1=_0xab713e[_0xcd66f0(0x291)])==null?void 0x0:_0x361fb1['cs']},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p['CollaborationEvent'][_0xcd66f0(0x2d7)]:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e[_0xcd66f0(0x59f)]},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p['CollaborationEvent']['USERS_ENTER']:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e[_0xcd66f0(0x65c)]},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p['CollaborationEvent'][_0xcd66f0(0x63a)]:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e[_0xcd66f0(0x319)]},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p[_0xcd66f0(0x2d6)][_0xcd66f0(0x35f)]:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e['liveShareNewHost']},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p[_0xcd66f0(0x2d6)][_0xcd66f0(0x5ff)]:case p['CollaborationEvent'][_0xcd66f0(0x38c)]:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e['liveShareOperation']},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e['liveShareNewHost']},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p[_0xcd66f0(0x2d6)][_0xcd66f0(0x231)]:return{..._0x56b462,'data':_0xab713e,'cmd':_0x56b462['cmd']};case p[_0xcd66f0(0x2d6)][_0xcd66f0(0x4fb)]:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e[_0xcd66f0(0x52f)]},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p['CollaborationEvent'][_0xcd66f0(0x5b5)]:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e[_0xcd66f0(0x2da)]},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};case p[_0xcd66f0(0x2d6)][_0xcd66f0(0x519)]:return{..._0x56b462,'data':{..._0xab713e,'data':_0xab713e[_0xcd66f0(0x4db)]},'cmd':_0x56b462[_0xcd66f0(0x3f5)]};default:return _0x56b462;}}default:return _0x56b462;}}function hn(_0x47d588){const _0x20a7f9=_0x17671e;switch(_0x47d588[_0x20a7f9(0x3f5)]){case G['HEARTBEAT']:case G[_0x20a7f9(0x3a3)]:return JSON['stringify']({'cmd':_0x47d588[_0x20a7f9(0x3f5)],'routeKey':_0x47d588[_0x20a7f9(0x3eb)]});case G[_0x20a7f9(0x4eb)]:{let _0x31f957;switch(_0x47d588[_0x20a7f9(0x1e9)][_0x20a7f9(0x3ee)]){case p[_0x20a7f9(0x2d6)][_0x20a7f9(0x2d7)]:{_0x31f957={'eventID':p[_0x20a7f9(0x2d6)][_0x20a7f9(0x2d7)],'updateCursorEvent':_0x47d588[_0x20a7f9(0x1e9)][_0x20a7f9(0x1e9)]};break;}case p[_0x20a7f9(0x2d6)][_0x20a7f9(0x63a)]:{_0x31f957={'eventID':p[_0x20a7f9(0x2d6)][_0x20a7f9(0x63a)],'leaveEvent':_0x47d588[_0x20a7f9(0x1e9)]['data']};break;}case p['CollaborationEvent']['USERS_ENTER']:{_0x31f957={'eventID':p[_0x20a7f9(0x2d6)][_0x20a7f9(0x644)],'joinEvent':_0x47d588[_0x20a7f9(0x1e9)][_0x20a7f9(0x1e9)]};break;}case p[_0x20a7f9(0x2d6)][_0x20a7f9(0x35f)]:{_0x31f957={'eventID':p[_0x20a7f9(0x2d6)][_0x20a7f9(0x35f)],'liveShareNewHost':_0x47d588[_0x20a7f9(0x1e9)][_0x20a7f9(0x1e9)]};break;}case p[_0x20a7f9(0x2d6)][_0x20a7f9(0x38c)]:{_0x31f957={'eventID':p[_0x20a7f9(0x2d6)][_0x20a7f9(0x38c)],'liveShareOperation':_0x47d588['data'][_0x20a7f9(0x1e9)]};break;}case p[_0x20a7f9(0x2d6)][_0x20a7f9(0x3b0)]:{_0x31f957={'eventID':p[_0x20a7f9(0x2d6)][_0x20a7f9(0x3b0)],'liveShareTerminate':_0x47d588['data'][_0x20a7f9(0x1e9)]};break;}case p[_0x20a7f9(0x2d6)][_0x20a7f9(0x668)]:{_0x31f957={'eventID':p[_0x20a7f9(0x2d6)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x47d588[_0x20a7f9(0x1e9)]['data']};break;}case p[_0x20a7f9(0x2d6)]['LIVESHARE_FETCH_OPERATIONS']:{_0x31f957={'eventID':p[_0x20a7f9(0x2d6)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x31f957={'eventID':_0x47d588[_0x20a7f9(0x1e9)]['eventID']};}return JSON[_0x20a7f9(0x65e)]({'cmd':_0x47d588[_0x20a7f9(0x3f5)],'routeKey':_0x47d588[_0x20a7f9(0x3eb)],'collaMsg':_0x31f957});}case G[_0x20a7f9(0x2fc)]:return JSON[_0x20a7f9(0x65e)]({'cmd':_0x47d588['cmd'],'routeKey':_0x47d588[_0x20a7f9(0x3eb)],'joinReq':_0x47d588[_0x20a7f9(0x1e9)]});case G['LEAVE']:return JSON['stringify']({'cmd':_0x47d588[_0x20a7f9(0x3f5)],'routeKey':_0x47d588[_0x20a7f9(0x3eb)],'leaveReq':_0x47d588[_0x20a7f9(0x1e9)]});default:throw new Error(_0x20a7f9(0x4a5));}}function _0x15d4(){const _0x4f40dc=['HTTPService','@univerjs-pro/collaboration','RevisionService','resend','text','_executeRemoteChangeset','sendChangesetTimeout','DocSkeletonManagerService','_decreaseWaiting','ImageSourceType','_acknowledgedAwaitingChangeset','forEach','getCollabCursors$','pad','xlink:href','_singleActiveUnitService','_commentService','MUTATION','disposeWithMe','_getMergeRange','SUCCUSS','univer-pro.collaboration-client.single-active-unit-service','_fetchMissChangesets','concatMap','Hex','_checkMissing','collaboration_new_changeset','_getSignURL','enc','capture','/-/object/-/batch_allowed','setWaitCount','LIVESHARE_FETCH_OPERATIONS','_socket$','from','getRoom','useObservable','_onMessage','touchDependencies','buffer','sequenceExecute','HEARTBEAT','_handleLeaveEvent','toDisposable','getColor','_updateStatus','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onOffline','_labelPosition','forwardRef','ImageIoService','_docTransformIMECacheService','clear','_tryReconnect','MoveRangeCommandId','ONLINE','registerHTTPInterceptor','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByStateCache','getDocRanges','COMPLETION_FINISHED','height','interceptor','session.will-retry','closePath','getSkeleton','_initStatusComponent','_telemetryService','_doFinalize','_data','getMemberID','uni.network.url-service','_unitStatus','textEncoder','useDependency','_eventUnsubscribe','objectID','_handleHeartbeatEvent','href','getItem','join','parseProtocolChangeset','VIEWPORT_KEY','Disposable','offline','parse','_remoteChangesetQueue','getOwnPropertySymbols','_collaborationController','TOO_MANY_REQUESTS','ILocalStorageService','USERS_LEAVE','_commandService','/universer-api/snapshot','CollaborationStatusDisplay','triggerDblclick','_docStateChangeManagerService','_submitChangeset','addEventListener','_resendTimeout','_unlockTransition','USERS_ENTER','_refreshCollabCursors','failed\x20to\x20apply\x20missed\x20changesets!','Rect','setTimeout','userID','_collabCursorState$','collabStatus.conflict','_localStorageService','_getAPIPrefixPath','removeMember','_listenToOfflineEvent','OTHER_CLIENTS_EDITING','transformStateCache','RemoveColCommandId','RefRangeService','switchMap','SNAPSHOT_HAS_BEEN_REMOVED','\x20-\x20','ColorKit','APPLY_NON_SEQUENTIAL_REVISION','_registerDependencies','CONNECTOR_DATA_TOO_LARGE','_clearScheduledTask','joinEvent','COLLAB_WEB_SOCKET_URL','stringify','_startTelemetryCollaborationNewChangeset','url','_onCombEvent','addObjects','_collabCursorController','UniverInstanceType','MD5','getSheetObject','HTTPRequest','LIVESHARE_REQUEST_HOST','_notificationService','/universer-api/snapshot/','urlChange$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Error\x20on\x20receiving\x20event','initWorkbookPermissionChange','session.collaboration-timeout','Vector2','_messageService','YUUMI_URL_COL_OUT_OF_RANGE','_colorIndex','_beforeCloseService','location','stopTime','collab-rect-range-','unitId','localeService','HEARTBEAT_INTERVAL','permissionRejEvent','clearInterval','_type','APPLY_DUPLICATED','ERROR_IMAGE','getInterceptPoints','sigBytes','post','title','rxjs/operators','transformSelections','_startCollaboration','24QcSsKS','_socketService','BehaviorSubject','UNKNOWN_CMD','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','result','Module','_nDataBytes','sid','deserializeToCombResponse','data','_clearRedo','CHANGESET_ACK','PSEUDO_FETCH_MISSING_RESULT','_updateCollabCursors','function','/-/object/list','getVpScrollXYInfoByPosToVp','_initStatusListener','791240zQhlIo','off-line-single_clip0_910_343','_retryConnectingTimer','disableLocalCache','findNodePositionByCharIndex','transformMutationsWithChangeset','1em','_snapshotService','IUndoRedoService','_getSheetObject','1464kqomDh','getViewport','c1Prime','ISnapshotServerService','charAt','univer-pro.collaboration-client-socket-service','PERMISSION_DENIED','beginPath','getCurrentUser','_anchorDot','collabSubmitChangesetUrl','transformMutation','abs','onTransformChange$','throttleTime','_initCommandExecutedListener','number','_clearOtherTimers','SetTextSelectionsOperation','getMember','getImage','[CollaborationSession]','url(#off-line-single_clip0_910_343)','_createHandler','_selfUnitIDs','getUndoRedoMutationParamsCache','refreshPermission','_reverseMap','[FetchMissState]','unitID','IMessageService','BlockCipherMode','getUnitId','HEARTBEAT_INTERVAL_KEY','focused$','_getScale','_hasher','handleIRemoveRow','submit\x20changeset\x20error!','UNRECOGNIZED','type','toggleOnline','getTypeOfUnitDisposed$','Rectangle','url(#$1','collaboratorID','visibilityState','_undoRedoService','_telemetryInfo','getStateCache','splice','idSuffix','_transitionLocked','MSG_FOR_ERROR','ITransformService','onStateChange','getCurrentUnitForType','INVALID_ARGUMENT','exports','_shouldReportTelemetry','RETRY_CONNECTING_MAX_COUNT_KEY','_range','storage','popstate','reject','error$','_cursorShapes','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_timeoutTimer','_pendingMutations','path','UnitSnapshot','LICENSE_DISTRO_REJECTED','transformUndoRedo','[PendingState]:\x20received\x20rejection.','collaboration-client.offline-data-not-saved','getUnitType','LICENSE_IMPORT_SIZE_EXCEEDED','_oKey','_transformHistoryAndStateStack','decrypt','addImageSourceCache','ICollaborationSocketService','close','_commentUpdate$','@univerjs/engine-formula','awaiting','bind','getCoordByCell','assign','_textBubble','_createHelper','encrypt','telemetry\x20info\x20is\x20not\x20initialized','_getSaveTimeout','_heartbeatTimer','/block/','_append','getAncestorScale','closeSession','isInternalEditorID','_onLocalMutation','push','_parse','\x0aCurrent:\x20','CHANGESET_REJ','replaceState','backgroundColor','handleIRemoveCol','resourceIDs','CommandType','extend','CollaborationController','collaboration.single-unit.warning','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','slice','CollaborationSession','includes','_drawTextRange','_createHmacHelper','floor','9uWwAIR','49295PZTVkj','HttpImport','startColumn','_toggleOnline','add','sheets','unpad','_injector','save','Error','_docSkeletonManagerService','iterations','update','b64DecodeUnicode','formatter','auth.needGotoLoginAlert','updateMember','hidden','RECT','hasher','@univerjs/docs','Plugin','hovered','color','online','attrs','csShouldRetryEvent','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','InsertRangeMoveDownCommandId','crypto','LOCAL_CACHE_INTERVAL','pluginName','_collaborationSessionService','csRejEvent','0\x200\x2016\x2016','Injector','_ws','gold400','_onConnectionFailed','FromArray','sheetId','_xformMode','blue400','then','_themeService','now','_loadSheet','setShowComponents','get','activeSheet$','debounce','changesets','decryptBlock','substring','_createInitialStateImpl','_onConflict','getParam','_status$','[SyncedState]:\x20received\x20acknowledgement.','socket\x20close','_prevBlock','displayName','defs','_cursors','PERMISSION_REJ','fetch_missing','_removeCollabCursors','_univerInstanceService','roomInfos','encryptBlock','VIEW_MAIN','_initResize','DocStateChangeManagerService','_name','objectActions','lineTo','_joinRoom','RxDisposable','[CollaborationUndoRedoService]','width','InsertSheetMutation','collabCursorState$','error','_onRemoteRetry','send','clipPath','registerDependencies','init','getConfig','batchAllowed','SNAPSHOT_URL_KEY','createIdentifier','awaiting_with_pending','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','clearTimeout','CollaborationEvent','UPDATE_CURSOR','getUnhiddenWorksheets','getValue','updatePermissionObjEvent','@univerjs/sheets','image/jpg','registerRenderModule','next','delay','isTransformChangesetsSuccess','StreamCipher','round','_ENC_XFORM_MODE','[OfflineState]:\x20received\x20rejection.','syncEditingCollabCursor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_resendTimer','getRenderById','Encryptor','unitId\x20is\x20not\x20found','FETCH_MISSING','_createSocket','removeParam','fetchThroughInterceptors','NEW_CHANGESETS','WebURLService','onRemoteAck','YUUMI_RATE_OVER_LIMIT','visibilitychange','_rescheduleHeartbeat','LocalCacheService','onMissedChangesetFetched','_replaceFileID','randomUUID','_startDocCollabCursor','size','assignAColorForMemberID','JOIN','ERROR_EXCEED_SIZE','onMouseMove','key','_updateLocalCache','BufferedBlockAlgorithm','[CollaborationSessionService]','PENDING','tag','skeleton','CollaborationEntity','\x20in\x20_schedule.','UNIVER_COLLABORATION_CLIENT_PLUGIN','fill','_transformUndoredo','_onConnectionOpen','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformStack','ciphertext','show','_invKeySchedule','find','debounceTime','font','_renderManagerService','HttpExport','enableSingleActiveInstanceLock','/collaborator','constructor','leaveEvent','_updateURLWithCurrentState','padding','COLORS','random','_getLoginPath','min','transformRemoteChangeset','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_sendHeartbeatTimer','WordArray','_updateSubUnitFromURLParams','CompressMutationService','Tooltip','_scheduleHeartbeat','onTransformIME','onCommandExecuted','Base','onlineStatusIcon','6184662Pjnfhg','arc','Base64','_collabSessionService','subUnitId','{fileID}','newValue','OFFLINE','RECV','filter','ICommandService','memberID','ENSURE_SNAPSHOT_EXECUTION','setItem','some','setParam','_instanceService','_doCryptBlock','_updateLocalCursor','EmptyMutation','Utf8','Tools','getRandomValues','FileId','@univerjs/network','red300','_onRefRangeChange','_map','default','_clearTimeoutTimer','_transformSelections','image/jpeg','NodePositionConvertToCursor','saveImage','_http','Undefined','joinRsp','keySize','_schedule','_lockTransition','permission.content','CollaborationSessionService','collaMsg','[PendingState]:\x20unhandled\x20univer\x20type:\x20','requireSession','isPermissionRej','subscribeEvent','setShapeProps','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LOCAL_CACHE_INTERVAL_KEY','off-line-single','LIVESHARE_NEW_HOST','UNIVER_SHEET','unit','SHA1','getActiveSheet','_handleHover','undoState','onRemoteRetry','length','defIds','_initMergeInterceptor','getSheetId','_getSendChangesetTimeout','saveSnapshot','getCollabEntity$','\x0aAfter:\x20','replaceTextRanges','/universer-api/oidc/authpage','getTime','map','currentTheme$','hostname','CONFLICT','replace','_imageSourceCache','HEARTBEAT_TIMEOUT_KEY','getDeserializedSheetBlock','createCollaborator','_id','permission.title','dispose','_initUnitPermissionChange','_awaitingChangeset','_scheduleSaving','saveOfflineData','clone','subscribe','saveChangeset','isArray','IPermissionService','updateOfflineData','resolve','react','createElement','_cursor','LIVESHARE_OPERATION','patch','_entities','UNKNOWN_CODE','InsertRowCommandId','_replayCachedMutations','endRow','MessageType','unknown','put','UniverCollaborationClientPlugin','_toggleOffline','LEAVE','_hash','deleteCollaborator','getUnitOnRev','_hover','state','subunit','c2Prime','_queuedRemoteChangesets','duration','currentColor','HELLO','getUniverSheetInstance','connection\x20error','UNIVER_PROJECT','MergeInterceptorFactory','COMPRESS_MUTATION_APPLY','COLLAB_SUBMIT_CHANGESET_URL_KEY','_getUndoStack','getFocusedUnit','rxjs','__esModule','NOT_FOUND','_snapshotServerService','LIVESHARE_TERMINATE','sessionStatus$','_loadDoc','awaitingChangeset','asObservable','/new_changes','responseType','...','CHANGESET_SHOULD_RETRY','_socketReady','_userManagerService','drawWith','_uiPartsService','&assign=','ReplaySubject','downloadEndpointUrl','_transformIMECache','newCsEvent','_handler','string','NO_OTHER_CLIENTS_EDITING','_state$','LOGIN_URL_KEY','TEXT','JSONX','executeCommand','status$','collabStatus.syncing','_sessionStatus$','_roomMembers','_transformRemoteChangesetByIMECache','_handleEvent','with','isTransformMutationFailure','_clearUndo','loadOfflineData','sheetID','values','964824fjIrtV','pending','$super','evenodd','APPLY_REVISION_CONFILICT','serializeRangeWithSheet','getLatestCsReqIdBySid','_scheduleCollaborationTimeoutTimer','collab-text-anchor-','randomBytes','url(#on-line-single_clip0_910_349)','EffectRefRangId','_isPermissionRej','AuthzIoHttpService','_lastPointer','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','range','generateRandomId','_onRemoteACK','_drawAnchor','name','routeKey','@univerjs/drawing','DocIMEInputManagerService','eventID','getSheetBlock','svg','NodePositionConvertToRectRange','sin','DOC_RANGE_TYPE','_logService','cmd','SNAPSHOT_INVALID_SNAPSHOT','collab-text-range-','createDecryptor','16479mZBmnF','currentSkeleton$','SetWorksheetActivateCommand','format','_sendHeartbeat','repeat','_context','_tryEnsureSocket','toString','AUTHZ_URL_KEY','HmacMD5','_incrementRevisionNumber','_key','split','handleDeleteRangeMoveUp','_iKey','complete','_onCursorDelete','UserManagerService','clamp','BASE64','apply','CommentService','contains','salt','startsWith','APPLY_PERMISSION_DENIED','open$','Decryptor','@univerjs/sheets-ui','restore','jiqing500','COMPRESS_MUTATION_SEND','registerComponent','UNIVER_UNKNOWN','file','onPointerMove$','_scene','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','isTransformMutationsWithChangesetFailure','symbol','_init','UniverCollaborationPlugin','readAsDataURL','selection','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','action','_throwTelemetryCollaborationNewChangeset','revision','_docTransformSelectionsService','_collaborationTimeoutTimer','fromEvent','current','_removeRoom','pipe','delete','ILogService','onTransformRemoteChangesetByIMECache','_waitCount','_changesetSessionId','EXCHANGE_SIGN_URL_SERVER_URL_KEY','SnapshotServerOverHTTPService','handleInsertRow','Hasher','_sessions','LICENSE_MAX_UNITS_EXCEEDED','_scheduleTimestamp','entries','_members','_change$','useCallback','_keyPriorReset','infoRsp','cfg','DisposableCollection','univer-online-status-icon','close$','finalize','onStarting','_getCtorByUniverType','engine','_revisionService','doc.mutation.rich-text-editing','workbook','has','snapshot','onlyLocal','baseRev','ImageUploadStatusType','ACTIVE_UNIT_EVENT_CHANNEL','conflict','mode','runRefRangeMutations','_stopTelemetryCollaborationNewChangeset','_localeService','_disabled','addObject','src','roomMembers','none','collaboration.closeRoom','Optional','SheetSkeletonManagerService','socket$','_ensureSubject','registerBeforeClose','_sheetSkeletonManagerService','div','_exhaustRemoteChangesetQueue','_onCursorUpdate','setConfig','handleInsertRangeMoveDown','reqId','_process','collabStatus.notCollab','_socketMessageSubscription','_initEventListeners','_getDownloadEndpointURL','_clearCollaborationTimeoutTimer','children','image/gif','onMissingChangesets','black','_backgroundColor','DeleteRangeMoveLeftCommandId','getWorkbookSelections','_color','_registerRenderDependencies','_onJoinRoomEvent','status','resize','lib','[DataLoaderController]','indexOf','getOwnPropertyDescriptor','registerRefRange','collabStatus.synced','onSendChangeset','OnLineSingle','/rev/','Unknown\x20user','SheetCollabCursorShape','_unitOnClients','CollaborationSocketService','_anchor','transformChangesets','SEND_CHANGESET_TIMEOUT_KEY','roomMembers$','UnitEmbedded','univerjs-icon\x20univerjs-icon-','_setupSubUnitSync','unit-cache-','m2Prime','_getAnchorBounding','12FGFbSR','processBlock','_compressMutationService','CipherParams','commentUpdate$','getRangePointData','max','algo','DeleteRangeMoveUpCommandId','_onRemoteChangeset','_disableEditing','_initRequestHeader','M0\x200H16V16H0z','_changesetReqId','bottom','message$','_localCacheService','mutations','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','disposeUnit','/universer-api/stream/file/upload','blockSize','_startSheetCollabCursor','mixIn','onlineStatusTitle','_syncEditingCollabCursor','setStateCache','_nRounds','params','Warning','row','retryConnectingInterval','makeDirty','transformIMECache','catch','transformStack\x20failed!','NOT_COLLAB','_colorAssignService','IContextService','Could\x20not\x20dynamically\x20require\x20\x22','encode','__creator','_entityInit$','enableLocalCache','MemberService','getCurrentRevOfUnit','unsubscribe','Subject','Univer','event$','_socket','updateCollaborator','createEncryptor','equals','_applyRemoteChangeset','UNIVER_DOC','LICENSE_EXPORT_SIZE_EXCEEDED','_DEC_XFORM_MODE','[CollaborationState]:\x20apply\x20error!','_cachedData','_event$','setUndoRedoMutationParamsCache','_substituteUndoStack','getMergeData','_hovered','_getCurrentRevision','cursorInfo$','_docTransformStateCacheService','compose','_sheetTransformSelectionsService','DataLoaderController','set','shouldCloseConn','onReady','Latin1','handleMoveRange','isTransformMutationsWithChangesetSuccess','_initDependencies','flatMap','univer-offline','SetSelectionsOperation','image/bmp','SheetCollaborationEntity','SnapshotService','/object','_removeClearOtherTimer','sessionStatus','onTransformState','INGEST','_onUserLeave','createInstance','listCollaborators','prototype','_transformUndoRedoStack','use','_urlService','redoState','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','override','InsertRangeMoveRightCommandId','_mode','listRoles','IRenderManagerService','append','COMMENT_UPDATE','IUniverInstanceService','/object/','exhaustSavingTask','collaborators','takeUntil','compute','IBeforeCloseService','synced','searchParams','IConfigService','_config','fetchMissingChangesets','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','createSocket','?url=','collab-client.tooltip.reconnect','combineLatest','getOffsetConfig','SerializableCipher','session','msCrypto','session.room-full','actions','toggleOffline','IRemoteInstanceService','appendMutation','_transformPreviousActiveRange','SNAPSHOT_SERVER_URL_KEY','requestParams','SHOULD_CLOSE_CONN','_onUserJoin','connectInjector','&source=','WorkbookEditablePermission','collabWebSocketUrl','_updateState','words','handleInsertRangeMoveRight','UNIVER_SLIDE','_handleJoinEvent','setAlpha','incrementRevOfUnit','onSyncEditingCollabCursor','m1Prime','YUUMI_UNABLE_LOAD_URL','reset','objects','ThemeService','_roomMembers$','dispose$','Inject','commentUpdateEvent','LocaleService','_state','Shape','FAIL','_onRecvEvent','onCommentUpdate','colorChannel1','onPointerLeave$','execute','every','_iv','_clearHeartbeatTimer','_shapes','_getRedoStack','snapshotServerUrl','socket\x20open.','onRemoteChangeset','/resources','_drawRectRange','OpenSSL','reconnect','defineProperty','code','readInt32LE','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','column','fetchMiss','FETCH_MISS','#FFF','_httpService','/unit/','copyFileMeta','withCredentials','cursorInfo','AES','_syncEditingCollabCursorService','_getAPIPrefix','create','DesktopCollaborationStatusDisplayController','DocCollaborationEntity','setCurrentUser','getResourcesRequest','_showConflictNotification','measureText','_doReset','univer-online','getActiveRange','_scheduleClearOtherTimer','IDLE','_getUploadFileURL','SUBMIT_CHANGESET','/universer-api/comb','CHANGESET_REVISION_CONFILICT','DocSelectionManagerService','3582PEApeo','_listenToOnlineEvent','@univerjs/design','ThresholdInterceptorFactory','_refRangeService','PasswordBasedCipher','collaboration-session-retry','_transformStateCache','keys','serializeCombRequest','_collaborationPaused','_doProcessBlock','unshift','_configService','deepClone','getImageSourceCache','POST','hasOwnProperty','RegularPolygon','_resendWithTimeout','collabStatus.offline','textRanges','selections','SetDocZoomRatioOperation','83388AoNeGs','headers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','authzUrl','APPLY_REJECT','getCollabEntity','toLowerCase','_transformRemoteChangesetByStateCache','fromEventSubject','useRef','kdf','WebSocketService','getTypeOfUnitAdded$','_cursorInfo$','_memberService','_assignedColors','fromCharCode','JOINING','/allowed','_hideTimer','NoPadding','_onRemoteRejected','AWAITING','_session','INTERNAL_ERROR','debug','editing\x20status\x20changed\x20to','body','_HTTPService','hide','SYNCED','_createInitialState','concat','updateCursorEvent','change$','_clearLocalCache','state$','_sender','getUnitStatus$','confirm','_draw','putCollaborators','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','collabStatus.fetchMiss','onTransformSelections','/universer-api/authz','_saveTaskMap','TEXT_RANGE_LAYER_INDEX','ranges','_send','call','_substituteRedoStack','unload','RemoveRowCommandId','_candidateSocket','UPDATE_PERMISSION_OBJ','SheetsSelectionsService','[CollaborationSessionService]:\x20socket\x20error','objectType','_transformService','onRemoteRej','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UniverIcon','_unitID','_sendingTimer','encodeURIComponent','@univerjs/rpc','_online','EvpKDF','history','mergeOverrideWithDependencies','charCodeAt','UNAUTHENTICATED','fetching\x20missing\x20changesets\x20from\x20','updatePermissionPoint','originalMeta','csAckEvent','[CollaborationEntity]','BlockCipher','CollaborationStatus','_minBufferSize','reverse','className','rev','_retryCount','shareReplay','_keySchedule','setActiveRange','_permissionService','_saveCache','take','loadSheet','propertyIsEnumerable','merge','[OfflineState]:\x20received\x20changeset.','_cipher'];_0x15d4=function(){return _0x4f40dc;};return _0x15d4();}var Kn=Object['defineProperty'],qn=Object[_0x17671e(0x47f)],zn=(_0x6d4f66,_0x320d0d,_0x48da19,_0x504ebc)=>{for(var _0x580693=_0x504ebc>0x1?void 0x0:_0x504ebc?qn(_0x320d0d,_0x48da19):_0x320d0d,_0x234342=_0x6d4f66['length']-0x1,_0x29f51a;_0x234342>=0x0;_0x234342--)(_0x29f51a=_0x6d4f66[_0x234342])&&(_0x580693=(_0x504ebc?_0x29f51a(_0x320d0d,_0x48da19,_0x580693):_0x29f51a(_0x580693))||_0x580693);return _0x504ebc&&_0x580693&&Kn(_0x320d0d,_0x48da19,_0x580693),_0x580693;},De=(_0x4a2762,_0x34a417)=>(_0x4f5b63,_0x5ed951)=>_0x34a417(_0x4f5b63,_0x5ed951,_0x4a2762);const Et=a['createIdentifier'](_0x17671e(0x201));function Xn(_0x2f83f7,_0x4e6b00,_0x1f19fa){const _0x26e378=_0x17671e;return _0x2f83f7+'/'+_0x4e6b00+'/unit/'+_0x1f19fa+_0x26e378(0x3b5);}exports[_0x17671e(0x488)]=class extends a[_0x17671e(0x632)]{constructor(_0x1f26db,_0x48c69c,_0x28f54f,_0x29e66b,_0x470e64){const _0x287f2c=_0x17671e;super(),this[_0x287f2c(0x34e)]=_0x1f26db,this[_0x287f2c(0x29b)]=_0x48c69c,this[_0x287f2c(0x573)]=_0x28f54f,this['_logService']=_0x29e66b,this['_snapshotServerService']=_0x470e64;}[_0x17671e(0x509)](_0x4b63c3){const _0x4282db=_0x17671e,_0x30347c=this[_0x4282db(0x29b)][_0x4282db(0x509)](_0x4b63c3);if(!_0x30347c)throw new Error(_0x4282db(0x60d));const _0x52d71f=new a[(_0x4282db(0x443))](),_0x368339=new A[(_0x4282db(0x4c2))]();_0x52d71f[_0x4282db(0x27b)](_0x30347c['close$'][_0x4282db(0x383)](_0x308c92=>_0x368339[_0x4282db(0x2de)](_0x308c92))),_0x52d71f['add'](a[_0x4282db(0x60a)](()=>_0x368339[_0x4282db(0x409)]()));const _0x171317=new A[(_0x4282db(0x4c2))]();_0x52d71f['add'](_0x30347c[_0x4282db(0x23d)]['subscribe'](_0x3ba7f1=>_0x171317[_0x4282db(0x2de)](_0x3ba7f1))),_0x52d71f[_0x4282db(0x27b)](a[_0x4282db(0x60a)](()=>_0x171317['complete']()));const _0x33697c=new A['Subject']();_0x52d71f['add'](_0x30347c[_0x4282db(0x4a2)][_0x4282db(0x383)](_0x4142bc=>{const _0x301b8b=ln(_0x4142bc);_0x33697c['next'](_0x301b8b);})),_0x52d71f[_0x4282db(0x27b)](a['toDisposable'](()=>_0x33697c['complete']()));let _0x33510a;const _0x38ca81=()=>{const _0x5a9c92=_0x4282db;_0x171317[_0x5a9c92(0x2de)](new Event(_0x5a9c92(0x3a5))),_0x368339['next'](new CloseEvent(_0x5a9c92(0x3a5))),_0x33510a[_0x5a9c92(0x250)]();};return _0x33510a={'memberID':'','close$':_0x368339[_0x4282db(0x3b4)](),'error$':_0x171317[_0x4282db(0x3b4)](),'open$':_0x30347c[_0x4282db(0x414)],'message$':_0x33697c[_0x4282db(0x3b4)](),'send':_0x391e5f=>{const _0x12406c=_0x4282db;if(_0x391e5f[_0x12406c(0x3f5)]===G[_0x12406c(0x4eb)]){if(_0x391e5f[_0x12406c(0x1e9)][_0x12406c(0x3ee)]===p[_0x12406c(0x2d6)][_0x12406c(0x562)]){this['_submitChangeset'](_0x33510a,_0x391e5f['data'])[_0x12406c(0x4b5)](_0x3878ce=>{const _0x47ea86=_0x12406c;this[_0x47ea86(0x3f4)][_0x47ea86(0x2c9)](_0x3878ce),_0x38ca81();});return;}if(_0x391e5f[_0x12406c(0x1e9)][_0x12406c(0x3ee)]===p[_0x12406c(0x2d6)][_0x12406c(0x2eb)]){const _0x26531e=_0x391e5f[_0x12406c(0x1e9)];this[_0x12406c(0x5f5)](_0x26531e)[_0x12406c(0x2a2)](_0xca5fb6=>{const _0x31325f=_0x12406c;_0x33697c[_0x31325f(0x2de)]({'cmd':G[_0x31325f(0x334)],'code':Ct['OK'],'routeKey':_0x26531e['data'][_0x31325f(0x219)],'routeType':'','data':{'eventID':p[_0x31325f(0x2d6)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xca5fb6}}});})['catch'](_0x1955d6=>{const _0x5705fc=_0x12406c;this[_0x5705fc(0x3f4)][_0x5705fc(0x2c9)](_0x1955d6),_0x38ca81();});return;}}_0x30347c[_0x12406c(0x2cb)](hn(_0x391e5f));},'close':()=>{const _0x34e81b=_0x4282db;_0x30347c[_0x34e81b(0x250)](),_0x52d71f[_0x34e81b(0x37d)]();}},_0x33510a;}async[_0x17671e(0x640)](_0x480804,_0x1e6398){const _0x38d8a5=_0x17671e;var _0x3115d2,_0x3f69c0;const {unitType:_0x41fa81,unitID:_0x4892d5,changeset:_0x1be346}=_0x1e6398[_0x38d8a5(0x1e9)],_0x59d93f={'unitID':_0x4892d5,'memberID':_0x480804[_0x38d8a5(0x337)],'type':_0x41fa81,'changeset':p['parseChangesetToProtocol'](_0x1be346)},_0x5d46c7=this[_0x38d8a5(0x573)][_0x38d8a5(0x2cf)](rn),_0x460a9f=this[_0x38d8a5(0x573)][_0x38d8a5(0x2cf)](ne),_0x30d5bc=Xn((_0x3f69c0=(_0x3115d2=_0x460a9f==null?void 0x0:_0x460a9f[_0x38d8a5(0x206)])!=null?_0x3115d2:_0x5d46c7)!=null?_0x3f69c0:Vn,_0x41fa81,_0x4892d5);try{await this[_0x38d8a5(0x34e)][_0x38d8a5(0x1da)](_0x30d5bc,{'body':_0x59d93f});}catch(_0x14efd1){throw this[_0x38d8a5(0x3f4)]['error'](_0x38d8a5(0x211),_0x38d8a5(0x222)),_0x14efd1;}}async['_fetchMissChangesets'](_0x344ea5){const _0x40da7f=_0x17671e,{unitID:_0x340c02,from:_0x392dbd,to:_0x58763c,unitType:_0x5e9b30}=_0x344ea5[_0x40da7f(0x1e9)];return(await this[_0x40da7f(0x3af)][_0x40da7f(0x507)]({'metadata':void 0x0},{'unitID':_0x340c02,'type':_0x5e9b30,'from':_0x392dbd,'to':_0x58763c}))['changesets'];}},exports[_0x17671e(0x488)]=zn([De(0x0,a[_0x17671e(0x52e)](Q[_0x17671e(0x5df)])),De(0x1,a[_0x17671e(0x52e)](Q[_0x17671e(0x589)])),De(0x2,a[_0x17671e(0x505)]),De(0x3,a[_0x17671e(0x431)]),De(0x4,p[_0x17671e(0x1ff)])],exports[_0x17671e(0x488)]);const Jn=_0x17671e(0x5f9);function Zn(_0x1d70c8){const _0x1f2121=_0x17671e;return JSON[_0x1f2121(0x65e)](_0x1d70c8)[_0x1f2121(0x367)];}class bt{constructor(){const _0x1e0fc6=_0x17671e;I(this,_0x1e0fc6(0x251),new A['Subject']()),I(this,_0x1e0fc6(0x497),this['_commentUpdate$'][_0x1e0fc6(0x3b4)]());}[_0x17671e(0x535)](_0x13d93d){this['_commentUpdate$']['next'](_0x13d93d);}}var Qn=Object[_0x17671e(0x545)],ei=Object[_0x17671e(0x47f)],ti=(_0x2eb1d2,_0x53f61b,_0x12fb5e,_0x29c9aa)=>{const _0x378085=_0x17671e;for(var _0x108884=_0x29c9aa>0x1?void 0x0:_0x29c9aa?ei(_0x53f61b,_0x12fb5e):_0x53f61b,_0x2dcfb7=_0x2eb1d2[_0x378085(0x367)]-0x1,_0x2019e1;_0x2dcfb7>=0x0;_0x2dcfb7--)(_0x2019e1=_0x2eb1d2[_0x2dcfb7])&&(_0x108884=(_0x29c9aa?_0x2019e1(_0x53f61b,_0x12fb5e,_0x108884):_0x2019e1(_0x108884))||_0x108884);return _0x29c9aa&&_0x108884&&Qn(_0x53f61b,_0x12fb5e,_0x108884),_0x108884;},Pt=(_0x112872,_0x5f0dac)=>(_0x5383ae,_0x524504)=>_0x5f0dac(_0x5383ae,_0x524504,_0x112872);exports[_0x17671e(0x4bf)]=class extends a[_0x17671e(0x632)]{constructor(_0x2131c6,_0x7a7e79){const _0xd727d4=_0x17671e;super(),I(this,_0xd727d4(0x3cd),new Map()),(this[_0xd727d4(0x2ba)]=_0x2131c6,this[_0xd727d4(0x3ba)]=_0x7a7e79,this[_0xd727d4(0x5f1)](a[_0xd727d4(0x60a)](A[_0xd727d4(0x5dc)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0xd727d4(0x664)][_0xd727d4(0x360)])[_0xd727d4(0x42f)](V[_0xd727d4(0x372)](_0x19ff59=>_0x19ff59['getUnitId']())),this[_0xd727d4(0x2ba)][_0xd727d4(0x226)](a[_0xd727d4(0x664)]['UNIVER_DOC'])[_0xd727d4(0x42f)](V[_0xd727d4(0x372)](_0x2d6c42=>_0x2d6c42[_0xd727d4(0x21c)]())),this[_0xd727d4(0x2ba)][_0xd727d4(0x226)](a[_0xd727d4(0x664)]['UNIVER_SLIDE'])[_0xd727d4(0x42f)](V['map'](_0x252752=>_0x252752[_0xd727d4(0x21c)]())))[_0xd727d4(0x383)](_0x59ad2d=>this[_0xd727d4(0x42e)](_0x59ad2d)))));}[_0x17671e(0x558)](_0x5daa65){const _0x35b8e4=_0x17671e;this[_0x35b8e4(0x3ba)]['setCurrentUser'](_0x5daa65);}['getCurrentUser'](){const _0x52d592=_0x17671e;return this[_0x52d592(0x3ba)]['getCurrentUser']();}[_0x17671e(0x287)](_0x3c14ba,_0x3f644a){const _0x3889e8=_0x17671e;let _0x272e57=this[_0x3889e8(0x3cd)][_0x3889e8(0x2a7)](_0x3c14ba);_0x272e57||(_0x272e57=new ni(),this['_roomMembers']['set'](_0x3c14ba,_0x272e57)),_0x272e57[_0x3889e8(0x287)](_0x3f644a);}[_0x17671e(0x64e)](_0x3a7202,_0x52e4cf){const _0xcd291f=_0x17671e,_0x43b4c5=this[_0xcd291f(0x3cd)]['get'](_0x3a7202);_0x43b4c5&&_0x43b4c5[_0xcd291f(0x64e)](_0x52e4cf);}[_0x17671e(0x602)](_0x58d5e4){const _0x3a3528=_0x17671e;return this['_roomMembers'][_0x3a3528(0x2a7)](_0x58d5e4);}['getMember'](_0x1ad7fc,_0x246979){const _0x85fd62=_0x17671e,_0x3923b2=this[_0x85fd62(0x3cd)][_0x85fd62(0x2a7)](_0x1ad7fc);if(_0x3923b2)return _0x3923b2[_0x85fd62(0x20f)](_0x246979);}[_0x17671e(0x42e)](_0x34773e){const _0x33f4ba=_0x17671e,_0x422013=this['_roomMembers'][_0x33f4ba(0x2a7)](_0x34773e);_0x422013&&(_0x422013['dispose'](),this[_0x33f4ba(0x3cd)][_0x33f4ba(0x430)](_0x34773e));}[_0x17671e(0x37d)](){const _0x418731=_0x17671e;this['_roomMembers']['forEach'](_0x116997=>_0x116997[_0x418731(0x37d)]()),this[_0x418731(0x3cd)][_0x418731(0x613)]();}},exports[_0x17671e(0x4bf)]=ti([Pt(0x0,a[_0x17671e(0x4fc)]),Pt(0x1,a[_0x17671e(0x52e)](a[_0x17671e(0x40b)]))],exports[_0x17671e(0x4bf)]);class ni extends a['Disposable']{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x17671e(0x37d)](){const _0x23ed77=_0x17671e;this[_0x23ed77(0x43d)][_0x23ed77(0x613)]();}[_0x17671e(0x287)](_0x80460){const _0x5af7a1=_0x17671e;this[_0x5af7a1(0x43d)][_0x5af7a1(0x4da)](_0x80460[_0x5af7a1(0x337)],_0x80460);}[_0x17671e(0x64e)](_0x239caa){const _0x309038=_0x17671e;this[_0x309038(0x43d)]['delete'](_0x239caa);}[_0x17671e(0x20f)](_0x362cd6){const _0x20f41f=_0x17671e;return this[_0x20f41f(0x43d)][_0x20f41f(0x2a7)](_0x362cd6);}['getAllMembers'](){const _0x78aef3=_0x17671e;return Array[_0x78aef3(0x601)](this[_0x78aef3(0x43d)][_0x78aef3(0x3d5)]());}}var ii=Object[_0x17671e(0x545)],si=Object['getOwnPropertyDescriptor'],ri=(_0x480a47,_0x2b4da,_0x14687c,_0xc5c2f4)=>{const _0xb05c92=_0x17671e;for(var _0xae1a14=_0xc5c2f4>0x1?void 0x0:_0xc5c2f4?si(_0x2b4da,_0x14687c):_0x2b4da,_0x2802ce=_0x480a47[_0xb05c92(0x367)]-0x1,_0x1698f3;_0x2802ce>=0x0;_0x2802ce--)(_0x1698f3=_0x480a47[_0x2802ce])&&(_0xae1a14=(_0xc5c2f4?_0x1698f3(_0x2b4da,_0x14687c,_0xae1a14):_0x1698f3(_0xae1a14))||_0xae1a14);return _0xc5c2f4&&_0xae1a14&&ii(_0x2b4da,_0x14687c,_0xae1a14),_0xae1a14;},de=(_0x5af077,_0x2db83d)=>(_0x146964,_0x4ebc85)=>_0x2db83d(_0x146964,_0x4ebc85,_0x5af077),re=(_0x68ca96=>(_0x68ca96[_0x68ca96[_0x17671e(0x560)]=0x0]=_0x17671e(0x560),_0x68ca96[_0x68ca96[_0x17671e(0x58f)]=0x1]=_0x17671e(0x58f),_0x68ca96[_0x68ca96[_0x17671e(0x333)]=0x2]=_0x17671e(0x333),_0x68ca96[_0x68ca96['ONLINE']=0x3]=_0x17671e(0x616),_0x68ca96))(re||{});exports[_0x17671e(0x271)]=class extends a[_0x17671e(0x2c4)]{constructor(_0x8f21a3,_0x18fb3c,_0x28ae07,_0x340149,_0x447bd7,_0x205836,_0xa5654d,_0x3a8694,_0x86be8d,_0x595aee){const _0x39a6f1=_0x17671e;super(),I(this,_0x39a6f1(0x3cc),new A['BehaviorSubject'](0x0)),I(this,_0x39a6f1(0x3b1),this['_sessionStatus$'][_0x39a6f1(0x3b4)]()),I(this,'_event$',new A[(_0x39a6f1(0x4c2))]()),I(this,_0x39a6f1(0x4c4),this[_0x39a6f1(0x4cf)]['asObservable']()),I(this,_0x39a6f1(0x4c5)),I(this,_0x39a6f1(0x46c)),I(this,'_collaborationTimeoutTimer'),I(this,'_shouldReportTelemetry',!0x1),I(this,'_telemetryInfo',null),(this[_0x39a6f1(0x5be)]=_0x8f21a3,this[_0x39a6f1(0x3f4)]=_0x28ae07,this[_0x39a6f1(0x674)]=_0x340149,this[_0x39a6f1(0x671)]=_0x447bd7,this[_0x39a6f1(0x573)]=_0x205836,this['_localeService']=_0xa5654d,this[_0x39a6f1(0x58c)]=_0x3a8694,this[_0x39a6f1(0x5ef)]=_0x86be8d,this[_0x39a6f1(0x622)]=_0x595aee,this[_0x39a6f1(0x237)]=!!this[_0x39a6f1(0x622)],_0x18fb3c[_0x39a6f1(0x42f)](A[_0x39a6f1(0x500)](this[_0x39a6f1(0x52d)]))[_0x39a6f1(0x383)](_0x4abaae=>{const _0x407b98=_0x39a6f1;var _0x162260;typeof _0x4abaae>'u'||(this[_0x407b98(0x4c5)]=_0x4abaae,_0x4abaae?(this[_0x407b98(0x2c3)](_0x4abaae),this[_0x407b98(0x46c)]=_0x4abaae[_0x407b98(0x4a2)]['subscribe'](_0xa2f705=>{const _0x546591=_0x407b98;_0xa2f705[_0x546591(0x3eb)]===this[_0x546591(0x5be)]&&this[_0x546591(0x661)](_0xa2f705);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x407b98(0x3cc)][_0x407b98(0x2de)](0x2),(_0x162260=this['_socketMessageSubscription'])==null||_0x162260['unsubscribe'](),this[_0x407b98(0x46c)]=null));}),this[_0x39a6f1(0x5f1)](this['_beforeCloseService']['registerOnClose'](()=>{const _0x226cad=_0x39a6f1;var _0x109bac;(_0x109bac=this[_0x226cad(0x4c5)])==null||_0x109bac[_0x226cad(0x2cb)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x226cad(0x5be)]}});})));}get[_0x17671e(0x4e9)](){const _0x533ad7=_0x17671e;return this[_0x533ad7(0x3cc)][_0x533ad7(0x2d9)]();}[_0x17671e(0x625)](){const _0x4af27a=_0x17671e;var _0x53d333,_0x17afc4;return(_0x17afc4=(_0x53d333=this[_0x4af27a(0x4c5)])==null?void 0x0:_0x53d333[_0x4af27a(0x337)])!=null?_0x17afc4:null;}[_0x17671e(0x37d)](){const _0x5d2640=_0x17671e;super[_0x5d2640(0x37d)](),this[_0x5d2640(0x52d)][_0x5d2640(0x2de)](),this[_0x5d2640(0x52d)][_0x5d2640(0x409)]();}[_0x17671e(0x250)](){const _0x155441=_0x17671e;var _0x40dcc4,_0x2f1ba9;this[_0x155441(0x428)](),(_0x40dcc4=this['_socket'])==null||_0x40dcc4[_0x155441(0x2cb)]({'cmd':G[_0x155441(0x398)],'data':{'roomID':this[_0x155441(0x5be)]}}),(_0x2f1ba9=this[_0x155441(0x4c5)])==null||_0x2f1ba9[_0x155441(0x250)](),this[_0x155441(0x4cf)]['complete'](),this[_0x155441(0x3cc)][_0x155441(0x409)](),this[_0x155441(0x37d)]();}[_0x17671e(0x661)](_0x205810){const _0x5ba707=_0x17671e;_0x205810[_0x5ba707(0x3f5)]===G[_0x5ba707(0x2fc)]?this['_onJoinRoomEvent'](_0x205810):_0x205810[_0x5ba707(0x3f5)]===G[_0x5ba707(0x334)]&&this['_onRecvEvent'](_0x205810);}[_0x17671e(0x2c3)](_0x1eed8c){const _0x3ae72a=_0x17671e;this[_0x3ae72a(0x3cc)][_0x3ae72a(0x2de)](0x1),_0x1eed8c[_0x3ae72a(0x2cb)]({'cmd':G[_0x3ae72a(0x2fc)],'routeKey':this[_0x3ae72a(0x5be)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x17671e(0x479)](_0xbc6dc4){const _0x57d5cf=_0x17671e;var _0x401b0a;if(_0xbc6dc4[_0x57d5cf(0x546)]===Ct[_0x57d5cf(0x533)]){this[_0x57d5cf(0x671)][_0x57d5cf(0x30f)]({'type':Se['MessageType'][_0x57d5cf(0x4b0)],'content':this[_0x57d5cf(0x457)]['t'](_0x57d5cf(0x511))}),this[_0x57d5cf(0x3cc)][_0x57d5cf(0x2de)](0x2);return;}this[_0x57d5cf(0x3cc)]['next'](0x3);const _0xf0127b=(_0x401b0a=_0xbc6dc4[_0x57d5cf(0x1e9)][_0x57d5cf(0x2bb)][this[_0x57d5cf(0x5be)]])==null?void 0x0:_0x401b0a['members'];_0xf0127b&&_0xf0127b[_0x57d5cf(0x5ea)](_0x58643b=>this[_0x57d5cf(0x58c)]['updateMember'](this['_unitID'],_0x58643b));}[_0x17671e(0x534)](_0x339e4a){const _0x5ab8a7=_0x17671e;try{const _0x48b812=_0x339e4a[_0x5ab8a7(0x1e9)];switch(_0x48b812[_0x5ab8a7(0x3ee)]){case p[_0x5ab8a7(0x2d6)]['USERS_ENTER']:this[_0x5ab8a7(0x51a)](_0x48b812),this[_0x5ab8a7(0x4cf)]['next'](_0x48b812);break;case p[_0x5ab8a7(0x2d6)][_0x5ab8a7(0x63a)]:this[_0x5ab8a7(0x4ec)](_0x48b812),this[_0x5ab8a7(0x4cf)][_0x5ab8a7(0x2de)](_0x48b812);break;case p[_0x5ab8a7(0x2d6)][_0x5ab8a7(0x1eb)]:case p[_0x5ab8a7(0x2d6)]['CHANGESET_SHOULD_RETRY']:this[_0x5ab8a7(0x456)](),this[_0x5ab8a7(0x46f)](),this['_event$']['next'](_0x48b812);break;case p[_0x5ab8a7(0x2d6)][_0x5ab8a7(0x231)]:this[_0x5ab8a7(0x3f4)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x5ab8a7(0x65e)](_0x48b812)),this[_0x5ab8a7(0x4cf)][_0x5ab8a7(0x2de)](_0x48b812);break;case p[_0x5ab8a7(0x2d6)][_0x5ab8a7(0x4fb)]:this[_0x5ab8a7(0x5ef)][_0x5ab8a7(0x535)](_0x48b812[_0x5ab8a7(0x1e9)]),this['_event$'][_0x5ab8a7(0x2de)](_0x48b812);break;default:this[_0x5ab8a7(0x4cf)][_0x5ab8a7(0x2de)](_0x48b812);}}catch(_0x34e3b7){this[_0x5ab8a7(0x3f4)][_0x5ab8a7(0x2c9)](_0x34e3b7,_0x339e4a);}}[_0x17671e(0x51a)](_0x3e1a31){const _0x53cb0d=_0x17671e;this[_0x53cb0d(0x58c)][_0x53cb0d(0x287)](this[_0x53cb0d(0x5be)],_0x3e1a31[_0x53cb0d(0x1e9)]);}[_0x17671e(0x4ec)](_0x5f3524){const _0x415230=_0x17671e;this[_0x415230(0x58c)][_0x415230(0x64e)](this[_0x415230(0x5be)],_0x5f3524[_0x415230(0x1e9)]['memberID']);}async[_0x17671e(0x2cb)](_0x2ea2ab,_0x5528a4){const _0x211f11=_0x17671e;if(this['sessionStatus']!==0x3||!this[_0x211f11(0x4c5)])throw new Error(_0x211f11(0x426));try{_0x2ea2ab[_0x211f11(0x3ee)]===p['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x211f11(0x3dd)](),this[_0x211f11(0x65f)](_0x2ea2ab)),this['_socket'][_0x211f11(0x2cb)]({'cmd':G['INGEST'],'routeKey':_0x5528a4,'routeType':'','data':_0x2ea2ab});}catch(_0x5d6d36){this[_0x211f11(0x3f4)][_0x211f11(0x2c9)](_0x5d6d36);}}[_0x17671e(0x3dd)](){const _0x285a0b=_0x17671e;var _0x5d8906;this[_0x285a0b(0x42b)]=window[_0x285a0b(0x648)](()=>{const _0x565978=_0x285a0b;this[_0x565978(0x42b)]=null,this[_0x565978(0x671)][_0x565978(0x30f)]({'type':Se['MessageType'][_0x565978(0x280)],'content':this[_0x565978(0x457)]['t'](_0x565978(0x66f))});},(_0x5d8906=this[_0x285a0b(0x573)]['getConfig'](It))!=null?_0x5d8906:tn);}[_0x17671e(0x46f)](){const _0xaa289d=_0x17671e;this[_0xaa289d(0x42b)]&&(clearTimeout(this[_0xaa289d(0x42b)]),this['_collaborationTimeoutTimer']=null);}[_0x17671e(0x65f)](_0x5d142e){const _0x4c1d39=_0x17671e;if(!this[_0x4c1d39(0x237)])return;const {data:_0x2502b4}=_0x5d142e,{unitID:_0x10cdf8,changeset:_0x5757cd}=_0x2502b4,{mutations:_0x590c64,type:_0x45dde4}=_0x5757cd;this[_0x4c1d39(0x22c)]={'unitId':_0x10cdf8,'type':_0x45dde4,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zn(_0x590c64)};}[_0x17671e(0x456)](){const _0x4c28a4=_0x17671e;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x4c28a4(0x3f4)][_0x4c28a4(0x2c9)]('[CollaborationSession]',_0x4c28a4(0x25a));return;}this[_0x4c28a4(0x22c)][_0x4c28a4(0x676)]=performance[_0x4c28a4(0x2a4)](),this[_0x4c28a4(0x22c)][_0x4c28a4(0x3a1)]=this['_telemetryInfo'][_0x4c28a4(0x676)]-this[_0x4c28a4(0x22c)]['startTime'],this[_0x4c28a4(0x622)][_0x4c28a4(0x5fc)](Jn,this[_0x4c28a4(0x22c)]),this[_0x4c28a4(0x22c)]=null;}}[_0x17671e(0x428)](){this['_telemetryInfo']=null;}},exports[_0x17671e(0x271)]=ri([de(0x2,a['ILogService']),de(0x3,te[_0x17671e(0x502)]),de(0x4,te['IMessageService']),de(0x5,a[_0x17671e(0x505)]),de(0x6,a[_0x17671e(0x52e)](a[_0x17671e(0x530)])),de(0x7,a[_0x17671e(0x52e)](exports[_0x17671e(0x4bf)])),de(0x8,a[_0x17671e(0x52e)](bt)),de(0x9,a[_0x17671e(0x45e)](Nn['ITelemetryService']))],exports[_0x17671e(0x271)]);var oi=Object['defineProperty'],ai=Object[_0x17671e(0x47f)],ci=(_0x27bac8,_0x18caa1,_0x1db1c4,_0x37e2ae)=>{for(var _0x48f7d5=_0x37e2ae>0x1?void 0x0:_0x37e2ae?ai(_0x18caa1,_0x1db1c4):_0x18caa1,_0x4b3da6=_0x27bac8['length']-0x1,_0x2d50b1;_0x4b3da6>=0x0;_0x4b3da6--)(_0x2d50b1=_0x27bac8[_0x4b3da6])&&(_0x48f7d5=(_0x37e2ae?_0x2d50b1(_0x18caa1,_0x1db1c4,_0x48f7d5):_0x2d50b1(_0x48f7d5))||_0x48f7d5);return _0x37e2ae&&_0x48f7d5&&oi(_0x18caa1,_0x1db1c4,_0x48f7d5),_0x48f7d5;},Ce=(_0x4876e6,_0x3976dd)=>(_0x5dc786,_0x65f851)=>_0x3976dd(_0x5dc786,_0x65f851,_0x4876e6);exports[_0x17671e(0x355)]=class extends a[_0x17671e(0x632)]{constructor(_0x5f5aba,_0x32d59d,_0x32d2ea,_0x2c1601,_0x517e28,_0x4d009e){const _0xffa5b8=_0x17671e;super(),I(this,_0xffa5b8(0x600),new A[(_0xffa5b8(0x1e1))](void 0x0)),I(this,_0xffa5b8(0x460),this[_0xffa5b8(0x600)][_0xffa5b8(0x3b4)]()),I(this,_0xffa5b8(0x5b4),null),I(this,_0xffa5b8(0x439),new Map()),I(this,'_status$',new A[(_0xffa5b8(0x1e1))](re[_0xffa5b8(0x560)])),I(this,_0xffa5b8(0x3ca),this['_status$']['asObservable']()),I(this,'_socketReady',!0x1),I(this,_0xffa5b8(0x1f4)),I(this,_0xffa5b8(0x5d3),0x0),I(this,_0xffa5b8(0x322)),I(this,'_timeoutTimer'),(this['_injector']=_0x5f5aba,this[_0xffa5b8(0x457)]=_0x32d59d,this[_0xffa5b8(0x671)]=_0x32d2ea,this['_logService']=_0x2c1601,this[_0xffa5b8(0x573)]=_0x517e28,this[_0xffa5b8(0x1e0)]=_0x4d009e,this[_0xffa5b8(0x46d)]());}get[_0x17671e(0x4c5)](){const _0x508dce=_0x17671e;return this[_0x508dce(0x600)][_0x508dce(0x2d9)]();}[_0x17671e(0x46d)](){const _0x24ebac=_0x17671e;this[_0x24ebac(0x64f)](),this[_0x24ebac(0x567)]();}[_0x17671e(0x37d)](){const _0x8b47d3=_0x17671e;super[_0x8b47d3(0x37d)](),this[_0x8b47d3(0x439)][_0x8b47d3(0x5ea)](_0x4c15a4=>_0x4c15a4[_0x8b47d3(0x37d)]()),this[_0x8b47d3(0x439)][_0x8b47d3(0x613)](),this['_status$']['complete']();}async[_0x17671e(0x358)](_0xb4930){const _0x1180ae=_0x17671e;if(this[_0x1180ae(0x439)][_0x1180ae(0x44d)](_0xb4930))return this[_0x1180ae(0x439)]['get'](_0xb4930);this[_0x1180ae(0x400)]();const _0x21be2f=this[_0x1180ae(0x27e)][_0x1180ae(0x4ed)](exports['CollaborationSession'],_0xb4930,this[_0x1180ae(0x600)][_0x1180ae(0x3b4)]());return this[_0x1180ae(0x439)][_0x1180ae(0x4da)](_0xb4930,_0x21be2f),_0x21be2f;}[_0x17671e(0x260)](_0x208309){const _0x5665ab=_0x17671e;var _0x229f49;const _0x2a6476=this[_0x5665ab(0x439)][_0x5665ab(0x2a7)](_0x208309);_0x2a6476&&(this[_0x5665ab(0x439)][_0x5665ab(0x430)](_0x208309),_0x2a6476['close']()),this[_0x5665ab(0x439)]['size']||(_0x229f49=this['_socket'])==null||_0x229f49[_0x5665ab(0x250)]();}[_0x17671e(0x544)](){const _0xccf549=_0x17671e;this[_0xccf549(0x5d3)]=0x0,this[_0xccf549(0x1f4)]!=null&&(clearTimeout(this[_0xccf549(0x1f4)]),this[_0xccf549(0x1f4)]=null),this[_0xccf549(0x614)]();}[_0x17671e(0x2ec)](){const _0x482d31=_0x17671e;var _0x3ecf55,_0x104971;const _0x39c2c5=this[_0x482d31(0x573)]['getConfig'](Qt),_0x256b46=this['_configService'][_0x482d31(0x2cf)](ne),_0x2b1247=(_0x104971=(_0x3ecf55=_0x256b46==null?void 0x0:_0x256b46[_0x482d31(0x51e)])!=null?_0x3ecf55:_0x39c2c5)!=null?_0x104971:Hn,_0x172582=this[_0x482d31(0x1e0)][_0x482d31(0x509)](_0x2b1247);return this[_0x482d31(0x5b4)]=_0x172582,_0x172582;}[_0x17671e(0x400)](){const _0x2bf022=_0x17671e;var _0x2b05da,_0x530ab8;try{const _0x4e632d=(_0x530ab8=(_0x2b05da=this[_0x2bf022(0x4c5)])!=null?_0x2b05da:this[_0x2bf022(0x5b4)])!=null?_0x530ab8:this[_0x2bf022(0x2ec)]();if(_0x4e632d){const _0x59364c=_0x4e632d[_0x2bf022(0x2cb)];_0x4e632d[_0x2bf022(0x2cb)]=_0x46ec31=>(this[_0x2bf022(0x2f4)](),_0x59364c[_0x2bf022(0x40e)](_0x4e632d,[_0x46ec31])),_0x4e632d[_0x2bf022(0x4a2)][_0x2bf022(0x383)](_0x1c2c4d=>this[_0x2bf022(0x604)](_0x4e632d,_0x1c2c4d)),_0x4e632d[_0x2bf022(0x23d)]['pipe'](V[_0x2bf022(0x5d9)](0x1))[_0x2bf022(0x383)](_0x45d39f=>this['_logService'][_0x2bf022(0x2c9)](_0x2bf022(0x5b7),_0x45d39f)),_0x4e632d[_0x2bf022(0x414)]['pipe'](V[_0x2bf022(0x5d9)](0x1))[_0x2bf022(0x383)](()=>{const _0x19cd54=_0x2bf022;this[_0x19cd54(0x30b)](_0x4e632d);}),_0x4e632d[_0x2bf022(0x445)]['pipe'](V[_0x2bf022(0x5d9)](0x1))[_0x2bf022(0x383)](_0x55f130=>{const _0x26333d=_0x2bf022;this[_0x26333d(0x3f4)]['debug'](_0x26333d(0x302),_0x26333d(0x2b2),_0x55f130),this[_0x26333d(0x29d)]();});}}catch(_0x4ddfbb){this[_0x2bf022(0x3f4)]['error'](_0x4ddfbb),this[_0x2bf022(0x29d)]();}}['_onConnectionOpen'](_0x8bb5d4){const _0x2f07fb=_0x17671e;this['_logService'][_0x2f07fb(0x597)]('[CollaborationSessionService]',_0x2f07fb(0x53f)),_0x8bb5d4['send']({'cmd':G['HELLO']}),this[_0x2f07fb(0x2f4)]();}['_listenToOfflineEvent'](){const _0x272825=_0x17671e;window[_0x272825(0x641)](_0x272825(0x633),()=>this[_0x272825(0x60e)]());}[_0x17671e(0x60e)](){const _0x5029c0=_0x17671e;this[_0x5029c0(0x3b9)]=!0x1,this[_0x5029c0(0x5b4)]=null,this['_status$'][_0x5029c0(0x2de)](re['OFFLINE']),this['_socket$'][_0x5029c0(0x2de)](null),this[_0x5029c0(0x349)](),this[_0x5029c0(0x53b)]();}[_0x17671e(0x29d)](){const _0x3fc538=_0x17671e;var _0x264050;this[_0x3fc538(0x60e)](),this[_0x3fc538(0x5d3)]<((_0x264050=this[_0x3fc538(0x573)][_0x3fc538(0x2cf)](nn))!=null?_0x264050:Wn)?(this[_0x3fc538(0x671)]['show']({'key':'collaboration-session-retry','type':Se[_0x3fc538(0x393)][_0x3fc538(0x4b0)],'content':this[_0x3fc538(0x457)]['t'](_0x3fc538(0x61e))}),this[_0x3fc538(0x614)]()):this[_0x3fc538(0x671)]['show']({'key':_0x3fc538(0x56c),'type':Se['MessageType'][_0x3fc538(0x280)],'content':this[_0x3fc538(0x457)]['t']('session.connection-failed')});}[_0x17671e(0x567)](){const _0x4af938=_0x17671e,_0x17454e=()=>{const _0x9719c9=_0x35f6;this[_0x9719c9(0x4c5)]||this['reconnect']();},_0x5a7de1=()=>{const _0x444f3d=_0x35f6;this['_socket']||document[_0x444f3d(0x22a)]===_0x444f3d(0x288)||this[_0x444f3d(0x544)]();};window[_0x4af938(0x641)](_0x4af938(0x28f),_0x17454e),document[_0x4af938(0x641)](_0x4af938(0x2f3),_0x5a7de1);}[_0x17671e(0x614)](){const _0x4544df=_0x17671e;var _0x155f73;const _0x493f35=this[_0x4544df(0x5d3)],_0x30e9f8=this[_0x4544df(0x573)]['getConfig'](ne),_0x3d248b=_0x493f35===0x0?0x0:((_0x155f73=_0x30e9f8==null?void 0x0:_0x30e9f8[_0x4544df(0x4b2)])!=null?_0x155f73:kn)*0x2**_0x493f35;this['_retryConnectingTimer']=window[_0x4544df(0x648)](()=>{const _0x54137f=_0x4544df;clearTimeout(this[_0x54137f(0x1f4)]),this[_0x54137f(0x1f4)]=null,this[_0x54137f(0x400)]();},_0x3d248b),this[_0x4544df(0x5d3)]+=0x1;}[_0x17671e(0x604)](_0x5b37db,_0x59ab89){const _0xf70f10=_0x17671e,{cmd:_0x503106}=_0x59ab89;_0x503106===G[_0xf70f10(0x3a3)]&&!this[_0xf70f10(0x3b9)]&&(_0x5b37db[_0xf70f10(0x337)]=_0x59ab89[_0xf70f10(0x1e9)]['memberID'],this[_0xf70f10(0x600)][_0xf70f10(0x2de)](_0x5b37db),this[_0xf70f10(0x2b0)][_0xf70f10(0x2de)](re['ONLINE']),this[_0xf70f10(0x3b9)]=!0x0,this[_0xf70f10(0x5b4)]=null),_0x503106===G[_0xf70f10(0x608)]&&this[_0xf70f10(0x349)](),this['_rescheduleHeartbeat']();}[_0x17671e(0x2f4)](){const _0x36773f=_0x17671e;var _0x5ce802;this['_clearHeartbeatTimer'](),this[_0x36773f(0x322)]=window[_0x36773f(0x648)](()=>this['_sendHeartbeat'](),(_0x5ce802=this[_0x36773f(0x573)]['getConfig'](en))!=null?_0x5ce802:Bn);}[_0x17671e(0x3fd)](){const _0x4e921d=_0x17671e;this[_0x4e921d(0x4c5)][_0x4e921d(0x2cb)]({'cmd':G[_0x4e921d(0x608)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0xd8cdce=_0x17671e;var _0x389ae;this['_timeoutTimer']=window[_0xd8cdce(0x648)](()=>this[_0xd8cdce(0x29d)](),(_0x389ae=this[_0xd8cdce(0x573)]['getConfig'](It))!=null?_0x389ae:tn);}[_0x17671e(0x53b)](){const _0xb2c456=_0x17671e;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xb2c456(0x322)]),this[_0xb2c456(0x322)]=null);}[_0x17671e(0x349)](){const _0xadabe9=_0x17671e;this[_0xadabe9(0x241)]!=null&&(clearTimeout(this[_0xadabe9(0x241)]),this[_0xadabe9(0x241)]=null);}},exports[_0x17671e(0x355)]=ci([Ce(0x0,a['Inject'](a[_0x17671e(0x29a)])),Ce(0x1,a[_0x17671e(0x52e)](a[_0x17671e(0x530)])),Ce(0x2,te['IMessageService']),Ce(0x3,a['ILogService']),Ce(0x4,a[_0x17671e(0x505)]),Ce(0x5,Et)],exports['CollaborationSessionService']);var Y=[];for(var Xe=0x0;Xe<0x100;++Xe)Y['push']((Xe+0x100)[_0x17671e(0x401)](0x10)['slice'](0x1));function li(_0x32f97b,_0x10cf98=0x0){const _0x1ee00b=_0x17671e;return(Y[_0x32f97b[_0x10cf98+0x0]]+Y[_0x32f97b[_0x10cf98+0x1]]+Y[_0x32f97b[_0x10cf98+0x2]]+Y[_0x32f97b[_0x10cf98+0x3]]+'-'+Y[_0x32f97b[_0x10cf98+0x4]]+Y[_0x32f97b[_0x10cf98+0x5]]+'-'+Y[_0x32f97b[_0x10cf98+0x6]]+Y[_0x32f97b[_0x10cf98+0x7]]+'-'+Y[_0x32f97b[_0x10cf98+0x8]]+Y[_0x32f97b[_0x10cf98+0x9]]+'-'+Y[_0x32f97b[_0x10cf98+0xa]]+Y[_0x32f97b[_0x10cf98+0xb]]+Y[_0x32f97b[_0x10cf98+0xc]]+Y[_0x32f97b[_0x10cf98+0xd]]+Y[_0x32f97b[_0x10cf98+0xe]]+Y[_0x32f97b[_0x10cf98+0xf]])[_0x1ee00b(0x584)]();}var xe,hi=new Uint8Array(0x10);function _i(){const _0x2cc431=_0x17671e;if(!xe&&(xe=typeof crypto<'u'&&crypto[_0x2cc431(0x342)]&&crypto['getRandomValues'][_0x2cc431(0x254)](crypto),!xe))throw new Error(_0x2cc431(0x292));return xe(hi);}var ui=typeof crypto<'u'&&crypto[_0x17671e(0x2f8)]&&crypto[_0x17671e(0x2f8)][_0x17671e(0x254)](crypto);const Ut={'randomUUID':ui};function di(_0x18f014,_0x144c24,_0xb8d3b1){const _0x484ab=_0x17671e;if(Ut[_0x484ab(0x2f8)]&&!_0x144c24&&!_0x18f014)return Ut['randomUUID']();_0x18f014=_0x18f014||{};var _0x23daed=_0x18f014[_0x484ab(0x31d)]||(_0x18f014['rng']||_i)();return _0x23daed[0x6]=_0x23daed[0x6]&0xf|0x40,_0x23daed[0x8]=_0x23daed[0x8]&0x3f|0x80,li(_0x23daed);}var fi=Object['defineProperty'],vi=Object[_0x17671e(0x47f)],mi=(_0x438ce4,_0x1b2c26,_0x133324,_0x5057e2)=>{for(var _0x2b6bd0=_0x5057e2>0x1?void 0x0:_0x5057e2?vi(_0x1b2c26,_0x133324):_0x1b2c26,_0x5c1dd7=_0x438ce4['length']-0x1,_0x1c1183;_0x5c1dd7>=0x0;_0x5c1dd7--)(_0x1c1183=_0x438ce4[_0x5c1dd7])&&(_0x2b6bd0=(_0x5057e2?_0x1c1183(_0x1b2c26,_0x133324,_0x2b6bd0):_0x1c1183(_0x2b6bd0))||_0x2b6bd0);return _0x5057e2&&_0x2b6bd0&&fi(_0x1b2c26,_0x133324,_0x2b6bd0),_0x2b6bd0;},Je=(_0x104f8c,_0x45edb2)=>(_0x10b084,_0x3b9433)=>_0x45edb2(_0x10b084,_0x3b9433,_0x104f8c);let Be=class{constructor(_0x5377ed,_0xa1d79c,_0x28cf31){const _0x2f54c2=_0x17671e;this[_0x2f54c2(0x27e)]=_0x5377ed,this[_0x2f54c2(0x5b9)]=_0xa1d79c,this['_renderManagerService']=_0x28cf31;}[_0x17671e(0x4b4)](_0x1231f4){const _0x127d14=_0x17671e;this[_0x127d14(0x4f0)](_0x1231f4),this[_0x127d14(0x516)](_0x1231f4);}['transformRemoteChangeset'](_0x3488f2){const _0x235ebf=_0x17671e,{unitID:_0x13a17f}=_0x3488f2,_0x2914cb=this['_renderManagerService'][_0x235ebf(0x2e8)](_0x13a17f)['with'](Z[_0x235ebf(0x3ed)]),{redoCache:_0x1803b0}=_0x2914cb[_0x235ebf(0x215)]();if(_0x1803b0[_0x235ebf(0x367)]===0x0)return _0x3488f2;let _0x3b1d12=a[_0x235ebf(0x341)][_0x235ebf(0x574)](_0x3488f2[_0x235ebf(0x4a4)][0x0]);for(let _0x4831f6=0x0;_0x4831f6<_0x1803b0[_0x235ebf(0x367)];_0x4831f6++){const _0x4ce10e={'id':_0x235ebf(0x44b),'params':{..._0x1803b0[_0x4831f6]}},_0x1fad51=this[_0x235ebf(0x5b9)][_0x235ebf(0x207)](_0x3b1d12,_0x4ce10e,!0x1);if(p[_0x235ebf(0x3d1)](_0x1fad51))throw _0x1fad51[_0x235ebf(0x2c9)];_0x3b1d12=_0x1fad51[_0x235ebf(0x527)];}return{...a[_0x235ebf(0x341)][_0x235ebf(0x574)](_0x3488f2),'mutations':[_0x3b1d12]};}['_transformUndoRedoStack'](_0x3c05d9){const _0x80bf6b=_0x17671e,{unitID:_0x441143}=_0x3c05d9,_0x15fc03=this[_0x80bf6b(0x314)][_0x80bf6b(0x2e8)](_0x441143)['with'](Z[_0x80bf6b(0x3ed)]),{undoCache:_0x305072,redoCache:_0x4e176e}=_0x15fc03[_0x80bf6b(0x215)]();if(_0x305072[_0x80bf6b(0x367)]===0x0||_0x4e176e[_0x80bf6b(0x367)]===0x0)return;const _0x99a7e5=[],_0x29974c=[];let _0x4334db=a[_0x80bf6b(0x341)][_0x80bf6b(0x574)](_0x3c05d9[_0x80bf6b(0x4a4)][0x0]),_0x30e3cf=a['Tools']['deepClone'](_0x3c05d9[_0x80bf6b(0x4a4)][0x0]);for(let _0x1bbd8e=_0x305072[_0x80bf6b(0x367)]-0x1;_0x1bbd8e>=0x0;_0x1bbd8e--){const _0x478f75={'id':'doc.mutation.rich-text-editing','params':{..._0x305072[_0x1bbd8e]}},_0x4d4441={'id':_0x80bf6b(0x44b),'params':{..._0x4e176e[_0x1bbd8e]}},_0x19554a=this[_0x80bf6b(0x5b9)]['transformMutation'](_0x4334db,_0x478f75,!0x1),_0x29c416=this[_0x80bf6b(0x5b9)]['transformMutation'](_0x30e3cf,_0x4d4441,!0x1);if(p['isTransformMutationFailure'](_0x19554a))throw _0x19554a['error'];if(p[_0x80bf6b(0x3d1)](_0x29c416))throw _0x29c416[_0x80bf6b(0x2c9)];_0x99a7e5[_0x80bf6b(0x572)](_0x19554a[_0x80bf6b(0x491)][_0x80bf6b(0x4af)]),_0x29974c['unshift'](_0x29c416[_0x80bf6b(0x491)][_0x80bf6b(0x4af)]),_0x4334db=_0x19554a[_0x80bf6b(0x527)],_0x30e3cf=_0x29c416[_0x80bf6b(0x527)];}_0x15fc03[_0x80bf6b(0x4d0)]({'undoCache':_0x99a7e5,'redoCache':_0x29974c});}[_0x17671e(0x516)](_0x58f184){const _0x189ba7=_0x17671e,{unitID:_0x23d215}=_0x58f184,_0x5a145c=this[_0x189ba7(0x314)][_0x189ba7(0x2e8)](_0x23d215)[_0x189ba7(0x3d0)](Z[_0x189ba7(0x3ed)]),_0x517705=_0x5a145c[_0x189ba7(0x55e)]();if(_0x517705==null)return;const _0x31f180=[{'id':_0x189ba7(0x44b),'params':{'unitId':_0x58f184[_0x189ba7(0x219)],'actions':null,'textRanges':[_0x517705]}}],_0x143105=this['_transformService'][_0x189ba7(0x1f7)](_0x58f184,_0x31f180);if(!p['isTransformMutationsWithChangesetSuccess'](_0x143105))throw _0x143105[_0x189ba7(0x2c9)];const _0xf94a9f=_0x143105[_0x189ba7(0x491)][0x0][_0x189ba7(0x4af)][_0x189ba7(0x57b)];Array['isArray'](_0xf94a9f)&&_0xf94a9f[_0x189ba7(0x367)]&&_0x5a145c[_0x189ba7(0x5d6)](_0xf94a9f[0x0]);}};Be=mi([Je(0x0,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),Je(0x1,p['ITransformService']),Je(0x2,K[_0x17671e(0x4f9)])],Be);var pi=Object['defineProperty'],Si=Object[_0x17671e(0x47f)],gi=(_0x3e962f,_0x172023,_0x313412,_0x5a6427)=>{const _0x10eb75=_0x17671e;for(var _0x3939a3=_0x5a6427>0x1?void 0x0:_0x5a6427?Si(_0x172023,_0x313412):_0x172023,_0x422bb9=_0x3e962f[_0x10eb75(0x367)]-0x1,_0x4c2778;_0x422bb9>=0x0;_0x422bb9--)(_0x4c2778=_0x3e962f[_0x422bb9])&&(_0x3939a3=(_0x5a6427?_0x4c2778(_0x172023,_0x313412,_0x3939a3):_0x4c2778(_0x3939a3))||_0x3939a3);return _0x5a6427&&_0x3939a3&&pi(_0x172023,_0x313412,_0x3939a3),_0x3939a3;},we=(_0x5ec5ad,_0x32f4e8)=>(_0x17dea8,_0x6080d8)=>_0x32f4e8(_0x17dea8,_0x6080d8,_0x5ec5ad);exports['LocalCacheService']=class extends a[_0x17671e(0x632)]{constructor(_0x404e52,_0x19530a,_0x39c615,_0x5e10bb,_0x53067e){const _0x2c1625=_0x17671e;super(),I(this,_0x2c1625(0x4ce),new Map()),I(this,_0x2c1625(0x5ac),new Map()),I(this,'_disabled',!0x1),(this['_configService']=_0x404e52,this[_0x2c1625(0x64c)]=_0x19530a,this[_0x2c1625(0x674)]=_0x39c615,this[_0x2c1625(0x457)]=_0x5e10bb,this[_0x2c1625(0x44a)]=_0x53067e,this['_setupBeforeClosingHandler']());}[_0x17671e(0x1f5)](){const _0x1cf49f=_0x17671e;this[_0x1cf49f(0x458)]=!0x0;}[_0x17671e(0x4be)](){this['_disabled']=!0x1;}[_0x17671e(0x37d)](){const _0x2414c3=_0x17671e;this[_0x2414c3(0x4fe)]()[_0x2414c3(0x2a2)](()=>super[_0x2414c3(0x37d)]());}async[_0x17671e(0x3d3)](_0x135e52){const _0x17ddef=_0x17671e;return this[_0x17ddef(0x458)]?null:this[_0x17ddef(0x64c)][_0x17ddef(0x62e)](Mt(_0x135e52));}async[_0x17671e(0x381)](_0xcc7fd2,_0x1ef4e3){const _0x32dfd0=_0x17671e;return!!this[_0x32dfd0(0x64c)][_0x32dfd0(0x339)](_0xcc7fd2,_0x1ef4e3);}[_0x17671e(0x387)](_0x5a457e,_0x2a1466,_0x217893,_0x398fbc){const _0x25624e=_0x17671e,_0x333a8b=this['_revisionService'][_0x25624e(0x4c0)](_0x5a457e);this['_cachedData'][_0x25624e(0x4da)](_0x5a457e,{'unitID':_0x5a457e,'type':_0x2a1466,'awaitingChangeset':_0x217893,'mutations':_0x398fbc,'rev':_0x333a8b}),this['_saveTaskMap']['has'](_0x5a457e)||this[_0x25624e(0x380)](_0x5a457e);}[_0x17671e(0x380)](_0x449497){const _0x61ce58=_0x17671e,_0x47dad9=this[_0x61ce58(0x25b)]();_0x47dad9===0x0?this['_saveCache'](_0x449497):this[_0x61ce58(0x5ac)]['set'](_0x449497,setTimeout(()=>this[_0x61ce58(0x5d8)](_0x449497),_0x47dad9));}['_getSaveTimeout'](){const _0x1f29fd=_0x17671e;var _0x9643dc;return(_0x9643dc=this['_configService'][_0x1f29fd(0x2cf)](sn))!=null?_0x9643dc:Fn;}[_0x17671e(0x5d8)](_0x15c55d){const _0x2d61a2=_0x17671e,_0x3bf087=this[_0x2d61a2(0x5ac)]['get'](_0x15c55d);return _0x3bf087!==void 0x0&&window['clearTimeout'](_0x3bf087),this[_0x2d61a2(0x64c)][_0x2d61a2(0x339)](Mt(_0x15c55d),this[_0x2d61a2(0x4ce)][_0x2d61a2(0x2a7)](_0x15c55d))[_0x2d61a2(0x2a2)](()=>this[_0x2d61a2(0x5ac)][_0x2d61a2(0x430)](_0x15c55d));}async[_0x17671e(0x4fe)](){const _0x3dc66b=_0x17671e,_0x1d93a9=[];this[_0x3dc66b(0x5ac)][_0x3dc66b(0x5ea)]((_0x1f0a48,_0x123d41)=>{const _0x2cd652=_0x3dc66b;window[_0x2cd652(0x2d5)](_0x1f0a48),_0x1d93a9[_0x2cd652(0x263)](this[_0x2cd652(0x5d8)](_0x123d41)['then'](()=>{const _0x1b96d7=_0x2cd652;this['_saveTaskMap'][_0x1b96d7(0x430)](_0x123d41);}));}),await Promise['all'](_0x1d93a9);}['_setupBeforeClosingHandler'](){const _0x588af3=_0x17671e;this[_0x588af3(0x5f1)](this['_beforeCloseService'][_0x588af3(0x462)](()=>{const _0x310b22=_0x588af3;if(this[_0x310b22(0x5ac)][_0x310b22(0x2fa)])return this[_0x310b22(0x457)]['t'](_0x310b22(0x248));}));}},exports[_0x17671e(0x2f5)]=gi([we(0x0,a[_0x17671e(0x505)]),we(0x1,a[_0x17671e(0x639)]),we(0x2,te[_0x17671e(0x502)]),we(0x3,a[_0x17671e(0x52e)](a[_0x17671e(0x530)])),we(0x4,a[_0x17671e(0x52e)](p[_0x17671e(0x5e1)]))],exports['LocalCacheService']);function Mt(_0xbe2205){const _0x2ba76a=_0x17671e;return _0x2ba76a(0x490)+_0xbe2205;}var Ii=Object[_0x17671e(0x545)],Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x561d03,_0x1d1833,_0x7ea196,_0x55a3e0)=>{const _0x4fea17=_0x17671e;for(var _0x4e0192=_0x55a3e0>0x1?void 0x0:_0x55a3e0?Ci(_0x1d1833,_0x7ea196):_0x1d1833,_0x530e90=_0x561d03[_0x4fea17(0x367)]-0x1,_0x110e9d;_0x530e90>=0x0;_0x530e90--)(_0x110e9d=_0x561d03[_0x530e90])&&(_0x4e0192=(_0x55a3e0?_0x110e9d(_0x1d1833,_0x7ea196,_0x4e0192):_0x110e9d(_0x4e0192))||_0x4e0192);return _0x55a3e0&&_0x4e0192&&Ii(_0x1d1833,_0x7ea196,_0x4e0192),_0x4e0192;},Ze=(_0x18053f,_0x3eb986)=>(_0x178cb1,_0x1de01f)=>_0x3eb986(_0x178cb1,_0x1de01f,_0x18053f);function bi(_0x33da5c){const _0xe27ae2=_0x17671e,{unitID:_0x2a1230,mutations:_0x4dd5b0}=_0x33da5c;return{'unitId':_0x2a1230,'subUnitId':_0x4dd5b0[0x0][_0xe27ae2(0x4af)]['subUnitId']};}let ke=class{constructor(_0x284cea,_0x5c9c94,_0x47a4da){const _0x425a11=_0x17671e;this[_0x425a11(0x27e)]=_0x284cea,this[_0x425a11(0x5b9)]=_0x5c9c94,this[_0x425a11(0x33c)]=_0x47a4da;}[_0x17671e(0x1dd)](_0x305dac){const _0x3a620b=_0x17671e;var _0xc56726,_0x191183,_0x2607c5,_0x331de9;const _0x151c9a=this[_0x3a620b(0x27e)][_0x3a620b(0x2a7)](k[_0x3a620b(0x5b6)]),{unitId:_0xa00422,subUnitId:_0x5d83ae}=bi(_0x305dac),_0x444ecb=_0x151c9a[_0x3a620b(0x476)](_0xa00422)['getCurrentSelections'](),_0x8eb9e6=(_0x191183=(_0xc56726=this[_0x3a620b(0x33c)]['getUnit'](_0xa00422))==null?void 0x0:_0xc56726['getActiveSheet']())==null?void 0x0:_0x191183[_0x3a620b(0x36a)]();if(_0x444ecb[_0x3a620b(0x367)]===0x0||!_0xa00422||!_0x5d83ae)return;const _0x43908a=[{'id':k['SetSelectionsOperation']['id'],'params':{'unitId':_0xa00422,'subUnitId':_0x8eb9e6,'selections':a[_0x3a620b(0x341)][_0x3a620b(0x574)](_0x444ecb)}}],_0x18edab=this['_transformService'][_0x3a620b(0x1f7)](_0x305dac,_0x43908a);if(!p[_0x3a620b(0x4df)](_0x18edab))throw _0x18edab[_0x3a620b(0x2c9)];const _0x1b3ce1=(_0x331de9=(_0x2607c5=_0x18edab[_0x3a620b(0x491)][0x0])==null?void 0x0:_0x2607c5[_0x3a620b(0x4af)])==null?void 0x0:_0x331de9[_0x3a620b(0x57c)];if(Array[_0x3a620b(0x385)](_0x1b3ce1)&&_0x1b3ce1[_0x3a620b(0x367)]){if(_0x1b3ce1['length']===_0x43908a[0x0][_0x3a620b(0x4af)][_0x3a620b(0x57c)][_0x3a620b(0x367)]&&_0x1b3ce1[_0x3a620b(0x539)]((_0xce3718,_0x5e63d9)=>a[_0x3a620b(0x227)][_0x3a620b(0x4c8)](_0xce3718['range'],_0x43908a[0x0]['params']['selections'][_0x5e63d9][_0x3a620b(0x3e6)])))return;this[_0x3a620b(0x27e)][_0x3a620b(0x2a7)](a['ICommandService'])[_0x3a620b(0x3c9)](k[_0x3a620b(0x4e3)]['id'],{'unitId':_0xa00422,'subUnitId':_0x8eb9e6,'selections':_0x1b3ce1});}}};ke=Ei([Ze(0x0,a['Inject'](a['Injector'])),Ze(0x1,p[_0x17671e(0x232)]),Ze(0x2,a['IUniverInstanceService'])],ke);const qe=a['createIdentifier'](_0x17671e(0x5f4));var _n=(_0x6eff2c=>(_0x6eff2c[_0x6eff2c[_0x17671e(0x3c4)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x6eff2c[_0x6eff2c[_0x17671e(0x650)]=0x1]=_0x17671e(0x650),_0x6eff2c))(_n||{});const At=0x7530,Nt=_0x17671e(0x452);class Ti extends a['Disposable']{constructor(){const _0x2f1fb2=_0x17671e;super(),I(this,_0x2f1fb2(0x37b),a[_0x2f1fb2(0x341)][_0x2f1fb2(0x3e7)]()),I(this,_0x2f1fb2(0x214),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x2f1fb2(0x25c),null),I(this,'_clearOtherTimers',new Map()),I(this,_0x2f1fb2(0x627),new Map()),this[_0x2f1fb2(0x422)]();}[_0x17671e(0x37d)](){const _0x50c246=_0x17671e;super['dispose'](),this[_0x50c246(0x20d)]['forEach']((_0x30937c,_0x759c3f)=>this[_0x50c246(0x4e8)](_0x759c3f)),this[_0x50c246(0x25c)]&&window[_0x50c246(0x1d4)](this[_0x50c246(0x25c)]);}[_0x17671e(0x5a4)](_0x381d9b){const _0x5aa251=_0x17671e;return this[_0x5aa251(0x461)](_0x381d9b)['pipe'](A['distinctUntilChanged']());}['editingUnit'](_0x5d3a17){const _0x4567db=_0x17671e;this['_selfUnitIDs']['size']===0x0&&this[_0x4567db(0x327)](),this[_0x4567db(0x214)][_0x4567db(0x27b)](_0x5d3a17),this[_0x4567db(0x5af)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5d3a17],'isForwarded':!0x1});}[_0x17671e(0x4a6)](_0x48e4d5){const _0x3d55ca=_0x17671e;this['_selfUnitIDs']['delete'](_0x48e4d5),this[_0x3d55ca(0x214)][_0x3d55ca(0x2fa)]===0x0&&this[_0x3d55ca(0x25c)]&&window[_0x3d55ca(0x1d4)](this[_0x3d55ca(0x25c)]);}['_init'](){const _0x5d25a4=_0x17671e;this[_0x5d25a4(0x5f1)](a[_0x5d25a4(0x60a)](A['fromEvent'](window,_0x5d25a4(0x23a))[_0x5d25a4(0x383)](_0x5a592e=>{const _0x488834=_0x5d25a4;if(_0x5a592e['key']!==Nt||!_0x5a592e[_0x488834(0x332)])return;const _0x199502=JSON[_0x488834(0x634)](_0x5a592e[_0x488834(0x332)]);this[_0x488834(0x3cf)](_0x199502);}))),window[_0x5d25a4(0x641)](_0x5d25a4(0x5b2),()=>this[_0x5d25a4(0x5af)]({'type':0x1,'memberID':this[_0x5d25a4(0x37b)],'unitIDs':Array['from'](this[_0x5d25a4(0x214)])}));}[_0x17671e(0x3cf)](_0x5d8d54){const _0x3f6af0=_0x17671e;switch(_0x5d8d54[_0x3f6af0(0x224)]){case 0x0:this[_0x3f6af0(0x523)](_0x5d8d54);break;case 0x1:this['_handleLeaveEvent'](_0x5d8d54);break;case 0x2:this[_0x3f6af0(0x62c)](_0x5d8d54);break;}}[_0x17671e(0x523)](_0x27708b){const _0x389d48=_0x17671e,{unitIDs:_0x2b53b4,memberID:_0x2b7354,isForwarded:_0xc70b16}=_0x27708b;_0x2b53b4['forEach'](_0x4f1cf6=>{const _0x3d2c21=_0x35f6;if(!_0xc70b16&&this[_0x3d2c21(0x487)]['has'](_0x4f1cf6)&&this[_0x3d2c21(0x461)](_0x4f1cf6)[_0x3d2c21(0x2de)](0x1),!this[_0x3d2c21(0x487)][_0x3d2c21(0x44d)](_0x4f1cf6)||!this[_0x3d2c21(0x487)][_0x3d2c21(0x2a7)](_0x4f1cf6)[_0x3d2c21(0x44d)](_0x2b7354)){const _0x1fae96=this[_0x3d2c21(0x487)]['get'](_0x4f1cf6)||new Set();_0x1fae96[_0x3d2c21(0x27b)](_0x2b7354),this['_unitOnClients'][_0x3d2c21(0x4da)](_0x4f1cf6,_0x1fae96),this[_0x3d2c21(0x55f)](_0x2b7354);}}),_0xc70b16||this[_0x389d48(0x5af)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x389d48(0x214)]],'isForwarded':!0x0});}[_0x17671e(0x55f)](_0x2a2cc1){const _0x376f66=_0x17671e;this['_removeClearOtherTimer'](_0x2a2cc1);const _0x11d7b7=window[_0x376f66(0x648)](()=>{const _0x2a4ee6=_0x376f66;this[_0x2a4ee6(0x487)][_0x2a4ee6(0x5ea)](_0x214ca1=>{const _0x2e66b5=_0x2a4ee6;_0x214ca1[_0x2e66b5(0x430)](_0x2a2cc1);});},At*0x2);this[_0x376f66(0x20d)][_0x376f66(0x4da)](_0x2a2cc1,_0x11d7b7);}[_0x17671e(0x4e8)](_0x35ed69){const _0x1732f8=_0x17671e;if(this['_clearOtherTimers'][_0x1732f8(0x44d)](_0x35ed69)){const _0x1c655e=this[_0x1732f8(0x20d)][_0x1732f8(0x2a7)](_0x35ed69);_0x1c655e&&window[_0x1732f8(0x2d5)](_0x1c655e),this[_0x1732f8(0x20d)][_0x1732f8(0x4da)](_0x35ed69,null);}}[_0x17671e(0x609)](_0x1fff3a){const _0x1d57e1=_0x17671e,{memberID:_0x1b5f67,unitIDs:_0x13d5b6}=_0x1fff3a;_0x13d5b6[_0x1d57e1(0x5ea)](_0x5607fb=>{const _0x1f480d=_0x1d57e1;var _0x3fc07b;const _0x40b7c7=this[_0x1f480d(0x487)][_0x1f480d(0x2a7)](_0x5607fb);_0x40b7c7&&(_0x40b7c7[_0x1f480d(0x430)](_0x1b5f67),(_0x3fc07b=this['_ensureSubject'](_0x5607fb))==null||_0x3fc07b[_0x1f480d(0x2de)](_0x40b7c7[_0x1f480d(0x2fa)]===0x0?0x0:0x1));}),this[_0x1d57e1(0x4e8)](_0x1b5f67);}[_0x17671e(0x62c)](_0x229831){const _0x2fdbed=_0x17671e;this[_0x2fdbed(0x55f)](_0x229831[_0x2fdbed(0x337)]);}['_send'](_0x1adab3){const _0x2a19e0=_0x17671e;localStorage['setItem'](Nt,JSON[_0x2a19e0(0x65e)](_0x1adab3));}[_0x17671e(0x327)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x163a91=_0x35f6;this[_0x163a91(0x5af)]({'type':0x2,'memberID':this[_0x163a91(0x37b)]});},At);}[_0x17671e(0x461)](_0x9a9134){const _0x3729b1=_0x17671e;return this[_0x3729b1(0x627)][_0x3729b1(0x44d)](_0x9a9134)||this['_unitStatus']['set'](_0x9a9134,new A[(_0x3729b1(0x1e1))](0x0)),this[_0x3729b1(0x627)][_0x3729b1(0x2a7)](_0x9a9134);}}var Ri=Object[_0x17671e(0x545)],yi=Object[_0x17671e(0x47f)],Oi=(_0x4f8f30,_0x1dae53,_0x6fcc79,_0x5897aa)=>{const _0x35573c=_0x17671e;for(var _0x2c0f7e=_0x5897aa>0x1?void 0x0:_0x5897aa?yi(_0x1dae53,_0x6fcc79):_0x1dae53,_0x1a64c6=_0x4f8f30[_0x35573c(0x367)]-0x1,_0xeaa026;_0x1a64c6>=0x0;_0x1a64c6--)(_0xeaa026=_0x4f8f30[_0x1a64c6])&&(_0x2c0f7e=(_0x5897aa?_0xeaa026(_0x1dae53,_0x6fcc79,_0x2c0f7e):_0xeaa026(_0x2c0f7e))||_0x2c0f7e);return _0x5897aa&&_0x2c0f7e&&Ri(_0x1dae53,_0x6fcc79,_0x2c0f7e),_0x2c0f7e;},Qe=(_0x420f4d,_0x40db9a)=>(_0x4feb8e,_0x358892)=>_0x40db9a(_0x4feb8e,_0x358892,_0x420f4d);let We=class{constructor(_0x54eb65,_0x1ef9e7,_0x163a39){const _0x559dc=_0x17671e;this[_0x559dc(0x27e)]=_0x54eb65,this[_0x559dc(0x5b9)]=_0x1ef9e7,this['_docStateChangeManagerService']=_0x163a39;}[_0x17671e(0x651)](_0xdb9a51){const _0x46a34d=_0x17671e;this[_0x46a34d(0x24c)](_0xdb9a51);}[_0x17671e(0x320)](_0x3fdd20){const _0x4a9d75=_0x17671e,{unitID:_0x175bc2}=_0x3fdd20,{collaboration:_0x93d06b}=this[_0x4a9d75(0x63f)][_0x4a9d75(0x22d)](_0x175bc2);if(_0x93d06b['length']===0x0)return _0x3fdd20;let _0x3fd547=a[_0x4a9d75(0x341)][_0x4a9d75(0x574)](_0x3fdd20[_0x4a9d75(0x4a4)][0x0]);for(let _0x341556=0x0;_0x341556<_0x93d06b[_0x4a9d75(0x367)];_0x341556++){const _0x31cd11={'id':_0x4a9d75(0x44b),'params':{'unitId':_0x93d06b[_0x341556][_0x4a9d75(0x678)],..._0x93d06b[_0x341556][_0x4a9d75(0x4f3)]}},_0x1f883a=this[_0x4a9d75(0x5b9)]['transformMutation'](_0x3fd547,_0x31cd11,!0x1);if(p['isTransformMutationFailure'](_0x1f883a))throw _0x1f883a[_0x4a9d75(0x2c9)];_0x3fd547=_0x1f883a[_0x4a9d75(0x527)];}return{...a[_0x4a9d75(0x341)]['deepClone'](_0x3fdd20),'mutations':[_0x3fd547]};}[_0x17671e(0x24c)](_0x398e2b){const _0x5ace3e=_0x17671e,{unitID:_0xdc9eb9}=_0x398e2b,{history:_0x42900b,collaboration:_0x3d5421}=this['_docStateChangeManagerService']['getStateCache'](_0xdc9eb9);if(_0x42900b['length']===0x0&&_0x3d5421[_0x5ace3e(0x367)]===0x0)return;const _0x321ff4=[],_0x13ddb2=[];let _0x24b08a=a[_0x5ace3e(0x341)][_0x5ace3e(0x574)](_0x398e2b['mutations'][0x0]),_0x4fe6b9=a[_0x5ace3e(0x341)][_0x5ace3e(0x574)](_0x398e2b[_0x5ace3e(0x4a4)][0x0]);for(let _0x26a1f9=_0x42900b[_0x5ace3e(0x367)]-0x1;_0x26a1f9>=0x0;_0x26a1f9--){const _0x4c9071={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42900b[_0x26a1f9][_0x5ace3e(0x678)],..._0x42900b[_0x26a1f9]['undoState']}},_0x5cf760={'id':_0x5ace3e(0x44b),'params':{'unitId':_0x42900b[_0x26a1f9][_0x5ace3e(0x678)],..._0x42900b[_0x26a1f9][_0x5ace3e(0x4f3)]}},_0x2aa4b6=this[_0x5ace3e(0x5b9)][_0x5ace3e(0x207)](_0x24b08a,_0x4c9071,!0x1),_0x6766e1=this[_0x5ace3e(0x5b9)][_0x5ace3e(0x207)](_0x4fe6b9,_0x5cf760,!0x1);if(p['isTransformMutationFailure'](_0x2aa4b6))throw _0x2aa4b6['error'];if(p[_0x5ace3e(0x3d1)](_0x6766e1))throw _0x6766e1[_0x5ace3e(0x2c9)];_0x321ff4[_0x5ace3e(0x572)]({..._0x42900b[_0x26a1f9],'undoState':_0x2aa4b6[_0x5ace3e(0x491)][_0x5ace3e(0x4af)],'redoState':_0x6766e1[_0x5ace3e(0x491)][_0x5ace3e(0x4af)]}),_0x24b08a=_0x2aa4b6[_0x5ace3e(0x527)],_0x4fe6b9=_0x6766e1['m1Prime'];}_0x24b08a=a[_0x5ace3e(0x341)][_0x5ace3e(0x574)](_0x398e2b[_0x5ace3e(0x4a4)][0x0]),_0x4fe6b9=a[_0x5ace3e(0x341)][_0x5ace3e(0x574)](_0x398e2b[_0x5ace3e(0x4a4)][0x0]);for(let _0xf1833f=_0x3d5421[_0x5ace3e(0x367)]-0x1;_0xf1833f>=0x0;_0xf1833f--){const _0x2171fb={'id':_0x5ace3e(0x44b),'params':{'unitId':_0x3d5421[_0xf1833f][_0x5ace3e(0x678)],..._0x3d5421[_0xf1833f][_0x5ace3e(0x365)]}},_0x714698={'id':_0x5ace3e(0x44b),'params':{'unitId':_0x3d5421[_0xf1833f][_0x5ace3e(0x678)],..._0x3d5421[_0xf1833f]['redoState']}},_0x4e553b=this[_0x5ace3e(0x5b9)][_0x5ace3e(0x207)](_0x24b08a,_0x2171fb,!0x1),_0x53235e=this['_transformService'][_0x5ace3e(0x207)](_0x4fe6b9,_0x714698,!0x1);if(p[_0x5ace3e(0x3d1)](_0x4e553b))throw _0x4e553b[_0x5ace3e(0x2c9)];if(p[_0x5ace3e(0x3d1)](_0x53235e))throw _0x53235e[_0x5ace3e(0x2c9)];_0x13ddb2['unshift']({..._0x3d5421[_0xf1833f],'undoState':_0x4e553b[_0x5ace3e(0x491)]['params'],'redoState':_0x53235e['m2Prime'][_0x5ace3e(0x4af)]}),_0x24b08a=_0x4e553b[_0x5ace3e(0x527)],_0x4fe6b9=_0x53235e[_0x5ace3e(0x527)];}this['_docStateChangeManagerService'][_0x5ace3e(0x4ad)](_0xdc9eb9,{'history':_0x321ff4,'collaboration':_0x13ddb2});}};We=Oi([Qe(0x0,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),Qe(0x1,p['ITransformService']),Qe(0x2,a[_0x17671e(0x52e)](Z[_0x17671e(0x2bf)]))],We);function un(_0x567635){const _0x184d7c=_0x17671e;let _0x56bc29='';for(const _0x54bb40 of _0x567635){const {startOffset:_0x58e590,endOffset:_0x5a3a65,isActive:_0x7773a7,rangeType:_0x39b781,segmentId:_0x26f93b,segmentPage:_0x435346}=_0x54bb40;_0x56bc29[_0x184d7c(0x367)]&&(_0x56bc29+=','),_0x56bc29+=_0x58e590+':'+_0x5a3a65+':'+(_0x7773a7?'1':'0')+':'+_0x39b781+':'+_0x26f93b+':'+_0x435346;}return _0x56bc29;}function Di(_0x5c1051){const _0x53fbcc=_0x17671e,_0x3acbb7=_0x5c1051[_0x53fbcc(0x406)](','),_0x51c5ae=[];for(const _0x26a4c2 of _0x3acbb7){const [_0x255ae2,_0x344667,_0x4f277b,_0xc9d1d7,_0x255244,_0x22d59f]=_0x26a4c2[_0x53fbcc(0x406)](':');_0x51c5ae[_0x53fbcc(0x263)]({'startOffset':Number(_0x255ae2),'endOffset':Number(_0x344667),'collapsed':_0x255ae2===_0x344667,'isActive':_0x4f277b==='1','rangeType':_0xc9d1d7===a[_0x53fbcc(0x3f3)][_0x53fbcc(0x3c7)]?a[_0x53fbcc(0x3f3)]['TEXT']:a[_0x53fbcc(0x3f3)]['RECT'],'segmentId':typeof _0x255244==_0x53fbcc(0x3c3)?String(_0x255244):'','segmentPage':Number(_0x22d59f!=null?_0x22d59f:-0x1)});}return _0x51c5ae[_0x53fbcc(0x33a)](_0x36a60b=>_0x36a60b['isActive'])||(_0x51c5ae[0x0]['isActive']=!0x0),_0x51c5ae;}class Tt extends a[_0x17671e(0x2c4)]{constructor(){const _0x4e4185=_0x17671e;super(...arguments),I(this,_0x4e4185(0x64a),new A[(_0x4e4185(0x1e1))](null)),I(this,_0x4e4185(0x2c8),this['_collabCursorState$'][_0x4e4185(0x3b4)]());}[_0x17671e(0x2e5)](_0x2cd4a7){const _0x1f6db4=_0x17671e,{unitID:_0x576fe0,memberID:_0x3aca91,textRanges:_0x4c8c54}=_0x2cd4a7,_0x30b916=un(_0x4c8c54);if(_0x30b916==='')return;const _0x265fd8={'unitID':_0x576fe0,'memberID':_0x3aca91,'selection':_0x30b916};this['_collabCursorState$'][_0x1f6db4(0x2de)](_0x265fd8);}}var wi=Object['defineProperty'],Pi=Object['getOwnPropertyDescriptor'],Ui=(_0x549554,_0x27c643,_0x5c6ea2,_0x6f7da7)=>{const _0x9e30ad=_0x17671e;for(var _0x4e161b=_0x6f7da7>0x1?void 0x0:_0x6f7da7?Pi(_0x27c643,_0x5c6ea2):_0x27c643,_0x7c69d9=_0x549554[_0x9e30ad(0x367)]-0x1,_0x12c850;_0x7c69d9>=0x0;_0x7c69d9--)(_0x12c850=_0x549554[_0x7c69d9])&&(_0x4e161b=(_0x6f7da7?_0x12c850(_0x27c643,_0x5c6ea2,_0x4e161b):_0x12c850(_0x4e161b))||_0x4e161b);return _0x6f7da7&&_0x4e161b&&wi(_0x27c643,_0x5c6ea2,_0x4e161b),_0x4e161b;},Lt=(_0x2c39fc,_0x2f3597)=>(_0x37be6b,_0x38ff26)=>_0x2f3597(_0x37be6b,_0x38ff26,_0x2c39fc);let Fe=class{constructor(_0x17555a,_0x402fa8){const _0x46881a=_0x17671e;this[_0x46881a(0x27e)]=_0x17555a,this['_transformService']=_0x402fa8;}[_0x17671e(0x1dd)](_0x44aeca){const _0x10fc51=_0x17671e;var _0x4ff542;const _0x3d29bc=this[_0x10fc51(0x27e)]['get'](Re['DocSelectionManagerService']),_0x4eff6c=(_0x4ff542=_0x3d29bc[_0x10fc51(0x61a)]())!=null?_0x4ff542:[];if(_0x4eff6c['length']===0x0)return;const _0x1db088=[{'id':_0x10fc51(0x44b),'params':{'unitId':_0x44aeca[_0x10fc51(0x219)],'actions':null,'textRanges':_0x4eff6c}}],_0x5da7a4=this[_0x10fc51(0x5b9)][_0x10fc51(0x1f7)](_0x44aeca,_0x1db088);if(!p[_0x10fc51(0x4df)](_0x5da7a4))throw _0x5da7a4[_0x10fc51(0x2c9)];const _0x159a5a=_0x5da7a4['m2Prime'][0x0][_0x10fc51(0x4af)][_0x10fc51(0x57b)];Array[_0x10fc51(0x385)](_0x159a5a)&&_0x159a5a[_0x10fc51(0x367)]&&_0x3d29bc[_0x10fc51(0x36f)](_0x159a5a,!0x1);}};Fe=Ui([Lt(0x0,a['Inject'](a['Injector'])),Lt(0x1,p[_0x17671e(0x232)])],Fe);const Mi=new Set([k[_0x17671e(0x2c7)]['id']]);function xt(_0x136d76,_0x24f6d1,_0x21dfdd,_0x29f2a5,_0x18cc4c){const _0x5c8a21=_0x17671e;var _0x486d86,_0x2fde3d,_0x264940,_0x30282c;const _0x16d0fb=[];for(const _0x49a14a of _0x136d76)if(Mi[_0x5c8a21(0x44d)](_0x49a14a['id'])){if(_0x16d0fb['length']>0x0)break;_0x16d0fb[_0x5c8a21(0x263)](_0x49a14a);break;}else _0x16d0fb[_0x5c8a21(0x263)](_0x49a14a);const _0x393d8b=(_0x2fde3d=(_0x486d86=_0x18cc4c[_0x5c8a21(0x204)]())==null?void 0x0:_0x486d86[_0x5c8a21(0x649)])!=null?_0x2fde3d:_0x5c8a21(0x394),_0x2a3220=(_0x30282c=(_0x264940=_0x18cc4c[_0x5c8a21(0x204)]())==null?void 0x0:_0x264940['memberID'])!=null?_0x30282c:'unknown';return{'changeset':{'unitID':_0x24f6d1,'type':p['mapDocumentTypeToUniverType'](_0x21dfdd['getUnitType'](_0x24f6d1)),'baseRev':_0x29f2a5[_0x5c8a21(0x4c0)](_0x24f6d1),'revision':0x0,'userID':_0x393d8b,'memberID':_0x2a3220,'mutations':_0x16d0fb},'pendingMutations':_0x136d76[_0x5c8a21(0x270)](_0x16d0fb[_0x5c8a21(0x367)])};}function Ai(_0x3c1882,_0x3ffd89,_0x529b3a,_0x33a1ec,_0x1ae38b){const _0x323651=_0x17671e;var _0x20abc9,_0x1def81,_0x3bf3dc,_0xa2bcf7;const _0x1f97f9=[_0x3c1882['reduce']((_0x50f9dc,_0x5146e4)=>{const _0x77f22c=_0x35f6;var _0x40da76;const {id:_0x4a65fa}=_0x50f9dc,{id:_0x303cf5,type:_0x4acadf}=_0x5146e4,_0x427464=(_0x40da76=_0x50f9dc[_0x77f22c(0x4af)])!=null?_0x40da76:{'actions':null},_0x488fd9=_0x5146e4[_0x77f22c(0x4af)];if(_0x4a65fa&&_0x4a65fa!==_0x303cf5)throw new Error(_0x77f22c(0x35c)+_0x4a65fa+_0x77f22c(0x656)+_0x303cf5+'.');return{..._0x50f9dc,'id':_0x303cf5,'type':_0x4acadf,'params':{'unitId':_0x488fd9[_0x77f22c(0x678)],'textRanges':_0x488fd9['textRanges'],'actions':a[_0x77f22c(0x3c8)][_0x77f22c(0x4d7)](_0x427464[_0x77f22c(0x512)],_0x488fd9[_0x77f22c(0x512)])}};},{})],_0x55ad49=(_0x1def81=(_0x20abc9=_0x1ae38b[_0x323651(0x204)]())==null?void 0x0:_0x20abc9[_0x323651(0x649)])!=null?_0x1def81:_0x323651(0x394),_0x52f610=(_0xa2bcf7=(_0x3bf3dc=_0x1ae38b[_0x323651(0x204)]())==null?void 0x0:_0x3bf3dc[_0x323651(0x337)])!=null?_0xa2bcf7:_0x323651(0x394);return{'changeset':{'unitID':_0x3ffd89,'type':p['mapDocumentTypeToUniverType'](_0x529b3a[_0x323651(0x249)](_0x3ffd89)),'baseRev':_0x33a1ec[_0x323651(0x4c0)](_0x3ffd89),'revision':0x0,'userID':_0x55ad49,'memberID':_0x52f610,'mutations':_0x1f97f9},'pendingMutations':[]};}function dn(_0x5495a1,_0x136b21){const _0x290857=_0x17671e,_0x360bed=new A[(_0x290857(0x3be))](0x1);return setTimeout(()=>_0x360bed[_0x290857(0x2de)](_0x136b21),_0x5495a1),_0x360bed[_0x290857(0x3b4)]()[_0x290857(0x42f)](A[_0x290857(0x5d9)](0x1));}const Ni={'id':k[_0x17671e(0x33f)]['id'],'type':a['CommandType']['MUTATION'],'params':{}};var Li=Object[_0x17671e(0x545)],xi=Object[_0x17671e(0x47f)],ge=(_0x3c40e4,_0x48a9ce,_0x3ec180,_0x5e202c)=>{const _0x45eea0=_0x17671e;for(var _0x3238b9=_0x5e202c>0x1?void 0x0:_0x5e202c?xi(_0x48a9ce,_0x3ec180):_0x48a9ce,_0x69c9d=_0x3c40e4[_0x45eea0(0x367)]-0x1,_0x643cbe;_0x69c9d>=0x0;_0x69c9d--)(_0x643cbe=_0x3c40e4[_0x69c9d])&&(_0x3238b9=(_0x5e202c?_0x643cbe(_0x48a9ce,_0x3ec180,_0x3238b9):_0x643cbe(_0x3238b9))||_0x3238b9);return _0x5e202c&&_0x3238b9&&Li(_0x48a9ce,_0x3ec180,_0x3238b9),_0x3238b9;},N=(_0x2d3c87,_0x3d081b)=>(_0x503b3b,_0xe8ff0e)=>_0x3d081b(_0x503b3b,_0xe8ff0e,_0x2d3c87),q=(_0x55ec2a=>(_0x55ec2a[_0x17671e(0x4b7)]='not_collab',_0x55ec2a[_0x17671e(0x59c)]=_0x17671e(0x503),_0x55ec2a[_0x17671e(0x303)]=_0x17671e(0x3d7),_0x55ec2a['AWAITING']=_0x17671e(0x253),_0x55ec2a['AWAITING_WITH_PENDING']=_0x17671e(0x2d3),_0x55ec2a[_0x17671e(0x54b)]=_0x17671e(0x2b8),_0x55ec2a[_0x17671e(0x375)]=_0x17671e(0x453),_0x55ec2a[_0x17671e(0x333)]=_0x17671e(0x633),_0x55ec2a))(q||{});const fn=0xea60;class Ie{constructor(_0x17b44a,_0xca3880,_0x2b5ca1,_0x389085,_0x3848d5,_0xf1b53b,_0x556c2b,_0x32559b,_0xacce4a){const _0x5ada02=_0x17671e;I(this,'_awaitingChangeset',null),I(this,'_pendingMutations',[]),(this['unitID']=_0x17b44a,this[_0x5ada02(0x224)]=_0xca3880,this[_0x5ada02(0x3c2)]=_0x3848d5,this[_0x5ada02(0x63b)]=_0xf1b53b,this[_0x5ada02(0x22b)]=_0x556c2b,this[_0x5ada02(0x44a)]=_0x32559b,this[_0x5ada02(0x4a3)]=_0xacce4a,this['_awaitingChangeset']=_0x2b5ca1,this[_0x5ada02(0x242)]=_0x389085);}[_0x17671e(0x5f8)](_0xb2ba6){const _0x2c347d=_0x17671e,_0x2652fd=this['_revisionService'][_0x2c347d(0x4c0)](this['unitID']);return _0xb2ba6[_0x2c347d(0x429)]>_0x2652fd+0x1?(this[_0x2c347d(0x3c2)]['onMissingChangesets']({'from':_0x2652fd,'to':_0xb2ba6[_0x2c347d(0x429)]-0x1}),!0x0):!0x1;}[_0x17671e(0x30a)](_0x20c887){const _0xd1bf9c=_0x17671e;this[_0xd1bf9c(0x22b)][_0xd1bf9c(0x246)](this[_0xd1bf9c(0x219)],_0x20c887);}[_0x17671e(0x34a)](_0x34d416){const _0x4acb0c=_0x17671e;var _0x423195,_0x251182;(_0x251182=(_0x423195=this[_0x4acb0c(0x3c2)])[_0x4acb0c(0x5aa)])==null||_0x251182['call'](_0x423195,_0x34d416);}[_0x17671e(0x3c0)](_0x4e4dea){const _0x2bbff6=_0x17671e;var _0x5c3a94,_0x217000;return(_0x217000=(_0x5c3a94=this['_handler'])['onTransformIME'])==null?void 0x0:_0x217000[_0x2bbff6(0x5b0)](_0x5c3a94,_0x4e4dea);}[_0x17671e(0x56d)](_0x44967a){const _0x2a2af0=_0x17671e;var _0x115fb5,_0x3f72e0;return(_0x3f72e0=(_0x115fb5=this[_0x2a2af0(0x3c2)])[_0x2a2af0(0x4ea)])==null?void 0x0:_0x3f72e0[_0x2a2af0(0x5b0)](_0x115fb5,_0x44967a);}[_0x17671e(0x3ce)](_0x2c0236){var _0x56bc8b,_0x33e5ad,_0x4b939b;return(_0x4b939b=(_0x33e5ad=(_0x56bc8b=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x33e5ad['call'](_0x56bc8b,_0x2c0236))!=null?_0x4b939b:_0x2c0236;}[_0x17671e(0x585)](_0x321644){const _0x58ffc7=_0x17671e;var _0x53c32e,_0x2e090a,_0x59d1f3;return(_0x59d1f3=(_0x2e090a=(_0x53c32e=this[_0x58ffc7(0x3c2)])[_0x58ffc7(0x619)])==null?void 0x0:_0x2e090a[_0x58ffc7(0x5b0)](_0x53c32e,_0x321644))!=null?_0x59d1f3:_0x321644;}[_0x17671e(0x4ac)](_0x531aad){const _0x581f98=_0x17671e;var _0x19f267,_0x77f0cb;if(this['type']===se[_0x581f98(0x4ca)]){const {unitID:_0x628ae9,mutations:_0x338182,memberID:_0x4db1c8}=_0x531aad,_0x7fb4c1=_0x338182[0x0][_0x581f98(0x4af)][_0x581f98(0x57b)];Array[_0x581f98(0x385)](_0x7fb4c1)&&_0x7fb4c1[_0x581f98(0x367)]>0x0&&((_0x77f0cb=(_0x19f267=this['_handler'])[_0x581f98(0x526)])==null||_0x77f0cb['call'](_0x19f267,{'unitID':_0x628ae9,'memberID':_0x4db1c8,'textRanges':_0x7fb4c1}));}}[_0x17671e(0x300)](){const _0x88e81=_0x17671e;this['_localCacheService']['updateOfflineData'](this[_0x88e81(0x219)],this['type'],this[_0x88e81(0x37f)],this[_0x88e81(0x242)]);}[_0x17671e(0x4d4)](){const _0x2b080f=_0x17671e;return this[_0x2b080f(0x44a)][_0x2b080f(0x4c0)](this[_0x2b080f(0x219)]);}[_0x17671e(0x404)](){const _0x2c78c9=_0x17671e;this[_0x2c78c9(0x44a)][_0x2c78c9(0x525)](this['unitID']);}[_0x17671e(0x5e4)](_0x39bed6){const _0x37263d=_0x17671e;var _0x41ad96;let _0x18ee4c=this['_transformRemoteChangesetByIMECache'](_0x39bed6);_0x18ee4c=this[_0x37263d(0x585)](_0x18ee4c);const _0x136a41=a[_0x37263d(0x607)](_0x18ee4c[_0x37263d(0x4a4)],this['_commandService'],{'fromCollab':!0x0});if(!_0x136a41[_0x37263d(0x1e4)])throw _0x136a41[_0x37263d(0x2c9)]instanceof Error?_0x136a41[_0x37263d(0x2c9)]:new Error((_0x41ad96=_0x136a41['error'])!=null?_0x41ad96:_0x37263d(0x4cd));this['_transformIMECache'](_0x18ee4c),this[_0x37263d(0x56d)](_0x18ee4c),this[_0x37263d(0x30a)](_0x39bed6),this[_0x37263d(0x34a)](_0x18ee4c),this[_0x37263d(0x4ac)](_0x18ee4c),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x51cb47,_0x438964,_0x2bf97a,_0x5499fc,_0x54e5c9,_0x3cd58f,_0x358f4c,_0x5c0f3c,_0x4d3ede,_0x13b956){const _0x3b919a=_0x17671e;super(_0x51cb47,_0x438964,null,[],_0x2bf97a,_0x5c0f3c,_0x358f4c,_0x5499fc,_0x54e5c9),I(this,_0x3b919a(0x47a),_0x3b919a(0x503)),(this['_injector']=_0x3cd58f,this[_0x3b919a(0x3f4)]=_0x4d3ede,this[_0x3b919a(0x5b9)]=_0x13b956);}['appendMutation'](_0x481fe8){const _0x3fd86b=_0x17671e,_0x160a4e=this[_0x3fd86b(0x27e)][_0x3fd86b(0x4ed)](ce,this[_0x3fd86b(0x219)],this[_0x3fd86b(0x224)],[_0x481fe8],this[_0x3fd86b(0x3c2)]);return _0x160a4e[_0x3fd86b(0x352)](),_0x160a4e[_0x3fd86b(0x300)](),_0x160a4e;}[_0x17671e(0x540)](_0x513d33){const _0x8930e3=_0x17671e;if(this['_checkMissing'](_0x513d33))return this[_0x8930e3(0x27e)]['createInstance'](oe,this[_0x8930e3(0x219)],this[_0x8930e3(0x224)],null,[],null,[_0x513d33],this[_0x8930e3(0x3c2)]);try{const _0x33ed4c=this['_transformService']['transformMutationsWithChangeset'](_0x513d33,[Ni]);if(p[_0x8930e3(0x4df)](_0x33ed4c)){const {c1Prime:_0x16ffbe}=_0x33ed4c;return this[_0x8930e3(0x5e4)](_0x16ffbe),this;}throw _0x33ed4c['error'];}catch(_0x279bea){return this[_0x8930e3(0x3f4)][_0x8930e3(0x2c9)](_0x279bea),this[_0x8930e3(0x2ae)](!0x1);}}[_0x17671e(0x2ae)](_0x3c0613){const _0x157a6a=_0x17671e;return this['_injector']['createInstance'](ve,this[_0x157a6a(0x219)],this[_0x157a6a(0x224)],null,[],this[_0x157a6a(0x3c2)],_0x3c0613);}[_0x17671e(0x2f1)](){const _0x215332=_0x17671e;throw new Error(_0x215332(0x2b1));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x17671e(0x366)](){return this;}[_0x17671e(0x513)](){const _0x1bde60=_0x17671e;return this[_0x1bde60(0x27e)][_0x1bde60(0x4ed)](me,this[_0x1bde60(0x219)],this[_0x1bde60(0x224)],null,[],this[_0x1bde60(0x3c2)]);}[_0x17671e(0x225)](){return this;}[_0x17671e(0x5e2)](){const _0x273dc1=_0x17671e;throw new Error(_0x273dc1(0x508));}[_0x17671e(0x54a)](){const _0x4868a4=_0x17671e,_0x3585ea=this[_0x4868a4(0x44a)]['getCurrentRevOfUnit'](this[_0x4868a4(0x219)]);return this['_handler'][_0x4868a4(0x472)]({'from':_0x3585ea,'to':0x0}),this['_injector'][_0x4868a4(0x4ed)](oe,this[_0x4868a4(0x219)],this[_0x4868a4(0x224)],null,[],null,[],this[_0x4868a4(0x3c2)]);}};ye=ge([N(0x3,a[_0x17671e(0x52e)](p['RevisionService'])),N(0x4,a[_0x17671e(0x52e)](exports['LocalCacheService'])),N(0x5,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),N(0x6,a[_0x17671e(0x1fa)]),N(0x7,a[_0x17671e(0x336)]),N(0x8,a[_0x17671e(0x431)]),N(0x9,p[_0x17671e(0x232)])],ye);let ce=class extends Ie{constructor(_0x331710,_0x5b6a50,_0x408a5f,_0x329d6a,_0x35751d,_0x9ee43f,_0x162ccb,_0x12faa5,_0xa72be7,_0xe1c333,_0x47b100,_0x57e027,_0xc7f339,_0x56d7ce){const _0x3768c3=_0x17671e;super(_0x331710,_0x5b6a50,null,_0x408a5f,_0x329d6a,_0xe1c333,_0x56d7ce,_0x9ee43f,_0x162ccb),I(this,_0x3768c3(0x47a),_0x3768c3(0x3d7)),I(this,'_scheduleTimestamp',null),I(this,'_sendingTimer',null),(this['_injector']=_0x35751d,this[_0x3768c3(0x58c)]=_0x12faa5,this['_logService']=_0xa72be7,this['_configService']=_0x47b100,this[_0x3768c3(0x5b9)]=_0x57e027,this[_0x3768c3(0x2ba)]=_0xc7f339);}[_0x17671e(0x515)](_0x994fca){const _0x1f2313=_0x17671e;return this[_0x1f2313(0x242)][_0x1f2313(0x263)](_0x994fca),this[_0x1f2313(0x300)](),this;}['onRemoteChangeset'](_0x14c493){const _0x23154c=_0x17671e;if(this[_0x23154c(0x5f8)](_0x14c493))return this['_clearScheduledTask'](),this[_0x23154c(0x27e)][_0x23154c(0x4ed)](oe,this[_0x23154c(0x219)],this['type'],null,this[_0x23154c(0x242)],null,[_0x14c493],this[_0x23154c(0x3c2)]);try{const _0x40c897=this[_0x23154c(0x5b9)]['transformMutationsWithChangeset'](_0x14c493,this[_0x23154c(0x242)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x40c897)){const {c1Prime:_0x65305f,m2Prime:_0x501b08}=_0x40c897;this[_0x23154c(0x5e4)](_0x65305f);const _0x3f9473=this[_0x23154c(0x27e)][_0x23154c(0x4ed)](ce,this[_0x23154c(0x219)],this['type'],_0x501b08,this[_0x23154c(0x3c2)]);return this['_clearScheduledTask'](),_0x3f9473[_0x23154c(0x352)](this[_0x23154c(0x43b)]?Math[_0x23154c(0x499)](0x0,new Date()[_0x23154c(0x371)]()-this[_0x23154c(0x43b)]):this[_0x23154c(0x36b)]()),_0x3f9473;}throw _0x40c897[_0x23154c(0x2c9)];}catch(_0x4f3c59){return this[_0x23154c(0x3f4)][_0x23154c(0x2c9)](_0x4f3c59),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0xa58690=_0x17671e;throw new Error(_0xa58690(0x247));}[_0x17671e(0x366)](){return this;}[_0x17671e(0x513)](){const _0x57adc8=_0x17671e;return this[_0x57adc8(0x65b)](),this[_0x57adc8(0x27e)][_0x57adc8(0x4ed)](me,this[_0x57adc8(0x219)],this['type'],null,this[_0x57adc8(0x242)],this['_handler']);}[_0x17671e(0x225)](){return this;}['_schedule'](_0x1b75c7){const _0x57b268=_0x17671e,_0x5ca4aa=_0x1b75c7!=null?_0x1b75c7:this[_0x57b268(0x36b)]();this[_0x57b268(0x43b)]=new Date()[_0x57b268(0x371)](),this['_sendingTimer']=window[_0x57b268(0x648)](()=>{const _0x58e715=_0x57b268;this[_0x58e715(0x65b)]();let _0x28a78b=null;switch(this[_0x58e715(0x224)]){case se['UNIVER_SHEET']:{_0x28a78b=xt(this[_0x58e715(0x242)],this[_0x58e715(0x219)],this[_0x58e715(0x2ba)],this[_0x58e715(0x44a)],this[_0x58e715(0x58c)]);break;}case se[_0x58e715(0x4ca)]:{this[_0x58e715(0x242)][_0x58e715(0x539)](_0x4da53b=>_0x4da53b['id']===Re['RichTextEditingMutation']['id'])?_0x28a78b=Ai(this[_0x58e715(0x242)],this['unitID'],this[_0x58e715(0x2ba)],this['_revisionService'],this[_0x58e715(0x58c)]):_0x28a78b=xt(this[_0x58e715(0x242)],this['unitID'],this[_0x58e715(0x2ba)],this[_0x58e715(0x44a)],this[_0x58e715(0x58c)]);break;}default:throw new Error(_0x58e715(0x357)+this[_0x58e715(0x224)]+_0x58e715(0x307));}const {changeset:_0x2f13f9,pendingMutations:_0x2dbae0}=_0x28a78b;this['_handler'][_0x58e715(0x482)](_0x2f13f9);const _0x2b4eb=_0x2dbae0[_0x58e715(0x367)]?this['_injector'][_0x58e715(0x4ed)](le,this['unitID'],this['type'],_0x2f13f9,_0x2dbae0,this['_handler'],void 0x0):this[_0x58e715(0x27e)][_0x58e715(0x4ed)](fe,this[_0x58e715(0x219)],this[_0x58e715(0x224)],_0x2f13f9,this['_handler']);_0x2b4eb[_0x58e715(0x300)](),this[_0x58e715(0x3c2)][_0x58e715(0x233)](this,_0x2b4eb);},_0x5ca4aa);}['_getSendChangesetTimeout'](){const _0x54d649=_0x17671e;var _0x38a8ef;const _0x32a057=this[_0x54d649(0x573)]['getConfig'](ne);return(_0x38a8ef=_0x32a057==null?void 0x0:_0x32a057[_0x54d649(0x5e5)])!=null?_0x38a8ef:jn;}[_0x17671e(0x5e2)](){const _0x1125f5=_0x17671e;throw new Error(_0x1125f5(0x618));}[_0x17671e(0x65b)](){const _0x552997=_0x17671e;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x552997(0x5bf)]=null);}[_0x17671e(0x2ae)](_0x32f7d2){const _0x572c8e=_0x17671e;return this[_0x572c8e(0x65b)](),this[_0x572c8e(0x27e)][_0x572c8e(0x4ed)](ve,this[_0x572c8e(0x219)],this[_0x572c8e(0x224)],null,this['_pendingMutations'],this[_0x572c8e(0x3c2)],_0x32f7d2);}};ce=ge([N(0x4,a[_0x17671e(0x52e)](a['Injector'])),N(0x5,a[_0x17671e(0x52e)](p['RevisionService'])),N(0x6,a[_0x17671e(0x52e)](exports['LocalCacheService'])),N(0x7,a[_0x17671e(0x52e)](exports['MemberService'])),N(0x8,a[_0x17671e(0x431)]),N(0x9,a[_0x17671e(0x336)]),N(0xa,a[_0x17671e(0x505)]),N(0xb,p['ITransformService']),N(0xc,a[_0x17671e(0x4fc)]),N(0xd,a[_0x17671e(0x1fa)])],ce);let fe=class extends Ie{constructor(_0x33f8fd,_0x273df6,_0xe0b7f4,_0x352f40,_0x8848d8,_0x3b7ab5,_0x16f4df,_0x40b9c2,_0x158fb8,_0x5ca38f,_0x4fd04d){const _0x18baff=_0x17671e;super(_0x33f8fd,_0x273df6,_0xe0b7f4,[],_0x352f40,_0x40b9c2,_0x4fd04d,_0x3b7ab5,_0x16f4df),I(this,_0x18baff(0x47a),_0x18baff(0x253)),I(this,_0x18baff(0x642),0x0),I(this,_0x18baff(0x2e7)),I(this,_0x18baff(0x5a3)),(this[_0x18baff(0x27e)]=_0x8848d8,this[_0x18baff(0x3f4)]=_0x158fb8,this[_0x18baff(0x5b9)]=_0x5ca38f);}[_0x17671e(0x515)](_0x259bab){const _0x9bfd13=_0x17671e;this[_0x9bfd13(0x65b)]();const _0x240acf=this[_0x9bfd13(0x27e)][_0x9bfd13(0x4ed)](le,this[_0x9bfd13(0x219)],this[_0x9bfd13(0x224)],this[_0x9bfd13(0x37f)],[_0x259bab],this[_0x9bfd13(0x3c2)],this[_0x9bfd13(0x2e7)]);return _0x240acf[_0x9bfd13(0x300)](),_0x240acf;}[_0x17671e(0x540)](_0x597151){const _0x427037=_0x17671e;if(this[_0x427037(0x5f8)](_0x597151))return this['_clearScheduledTask'](),this[_0x427037(0x27e)][_0x427037(0x4ed)](oe,this[_0x427037(0x219)],this['type'],this[_0x427037(0x37f)],[],null,[_0x597151],this['_handler']);try{const _0x469a8f=this['_transformService'][_0x427037(0x48a)]([_0x597151],[this['_awaitingChangeset']],!0x1);if(p['isTransformChangesetsSuccess'](_0x469a8f)){const {c1Prime:_0x1242ac,c2Prime:_0xc0728}=_0x469a8f;this[_0x427037(0x5e4)](_0x1242ac[0x0]),_0xc0728[0x0]['baseRev']=this[_0x427037(0x4d4)](),this[_0x427037(0x65b)]();const _0x31d6e6=this[_0x427037(0x27e)][_0x427037(0x4ed)](fe,this[_0x427037(0x219)],this[_0x427037(0x224)],_0xc0728[0x0],this['_handler']);return _0x31d6e6[_0x427037(0x300)](),_0x31d6e6;}return this[_0x427037(0x2ae)](!0x1);}catch(_0x4ed668){return this['_logService'][_0x427037(0x2c9)](_0x4ed668),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x2917f8){const _0x52d2db=_0x17671e;this[_0x52d2db(0x65b)]();const _0x276d55=this['_revisionService'][_0x52d2db(0x4c0)](this[_0x52d2db(0x219)]);if(_0x2917f8[_0x52d2db(0x429)]<_0x276d55-0x1)return this;if(this[_0x52d2db(0x5f8)](_0x2917f8))return this['_injector'][_0x52d2db(0x4ed)](oe,this[_0x52d2db(0x219)],this[_0x52d2db(0x224)],null,[],this[_0x52d2db(0x37f)],[],this[_0x52d2db(0x3c2)]);this[_0x52d2db(0x404)]();const _0x174eaa=this[_0x52d2db(0x27e)][_0x52d2db(0x4ed)](ye,this[_0x52d2db(0x219)],this['type'],this['_handler']);return _0x174eaa[_0x52d2db(0x300)](),_0x174eaa;}[_0x17671e(0x5ba)](_0x480af1){const _0x563010=_0x17671e;return this[_0x563010(0x2ae)](!!(_0x480af1!=null&&_0x480af1['isPermissionRej']));}[_0x17671e(0x366)](_0x472454){const _0x276b18=_0x17671e;return this['_resendTimeout']>fn?this[_0x276b18(0x513)]():(this[_0x276b18(0x2e7)]=dn(this['_resendTimeout'],{'timeout':this[_0x276b18(0x642)],'reqId':_0x472454[_0x276b18(0x469)]}),this[_0x276b18(0x5a3)]=this[_0x276b18(0x2e7)]['subscribe'](({reqId:_0x4d7a5b,timeout:_0x1eaa90})=>{this['_resendWithTimeout'](_0x4d7a5b,_0x1eaa90);}),this);}[_0x17671e(0x513)](){const _0x2c8e28=_0x17671e;return this[_0x2c8e28(0x65b)](),this[_0x2c8e28(0x27e)]['createInstance'](me,this['unitID'],this[_0x2c8e28(0x224)],this[_0x2c8e28(0x37f)],[],this[_0x2c8e28(0x3c2)]);}[_0x17671e(0x225)](){return this;}[_0x17671e(0x5e2)](){const _0x229fbd=_0x17671e;this[_0x229fbd(0x3c2)][_0x229fbd(0x482)](this[_0x229fbd(0x37f)]);}['_onConflict'](_0x4cf809){const _0x17e0f3=_0x17671e;return this[_0x17e0f3(0x65b)](),this[_0x17e0f3(0x27e)][_0x17e0f3(0x4ed)](ve,this[_0x17e0f3(0x219)],this['type'],this[_0x17e0f3(0x37f)],[],this[_0x17e0f3(0x3c2)],_0x4cf809);}[_0x17671e(0x579)](_0x5c167c,_0x1ab257){const _0x573240=_0x17671e;var _0x290a93;_0x5c167c===((_0x290a93=this[_0x573240(0x37f)])==null?void 0x0:_0x290a93['reqId'])&&(this[_0x573240(0x5e2)](),this[_0x573240(0x642)]=_0x1ab257===0x0?0x3e8:_0x1ab257*0x2);}[_0x17671e(0x65b)](){const _0x305159=_0x17671e;var _0x451ea1;(_0x451ea1=this['_sender'])==null||_0x451ea1[_0x305159(0x4c1)](),this[_0x305159(0x642)]=0x0;}};fe=ge([N(0x4,a['Inject'](a[_0x17671e(0x29a)])),N(0x5,a[_0x17671e(0x52e)](p['RevisionService'])),N(0x6,a[_0x17671e(0x52e)](exports[_0x17671e(0x2f5)])),N(0x7,a['ICommandService']),N(0x8,a[_0x17671e(0x431)]),N(0x9,p[_0x17671e(0x232)]),N(0xa,a[_0x17671e(0x1fa)])],fe);let le=class extends Ie{constructor(_0xcbfa69,_0x3089a8,_0x37c9be,_0x4d7257,_0x3ee29d,_0x86253b,_0x576a84,_0x3670d5,_0x2e28a4,_0x1dfdd0,_0x1e3886,_0x4c5b8e,_0x528a68){const _0x36d41b=_0x17671e;super(_0xcbfa69,_0x3089a8,_0x37c9be,_0x4d7257,_0x3ee29d,_0x1dfdd0,_0x528a68,_0x3670d5,_0x2e28a4),I(this,_0x36d41b(0x47a),'awaiting_with_pending'),I(this,'_resendTimeout',0x0),I(this,_0x36d41b(0x2e7)),I(this,_0x36d41b(0x5a3)),(this[_0x36d41b(0x27e)]=_0x576a84,this['_logService']=_0x1e3886,this['_transformService']=_0x4c5b8e,_0x86253b&&(this['_resendTimer']=_0x86253b,this[_0x36d41b(0x5a3)]=this[_0x36d41b(0x2e7)][_0x36d41b(0x383)](({reqId:_0xc47b4a,timeout:_0x400f29})=>{this['_resendWithTimeout'](_0xc47b4a,_0x400f29);})));}[_0x17671e(0x515)](_0x53073c){const _0x2d0df9=_0x17671e;return this[_0x2d0df9(0x242)]['push'](_0x53073c),this;}['onRemoteChangeset'](_0x4199f6){const _0x1570f7=_0x17671e;if(this[_0x1570f7(0x5f8)](_0x4199f6))return this[_0x1570f7(0x65b)](),this[_0x1570f7(0x27e)][_0x1570f7(0x4ed)](oe,this[_0x1570f7(0x219)],this[_0x1570f7(0x224)],this[_0x1570f7(0x37f)],this[_0x1570f7(0x242)],null,[_0x4199f6],this[_0x1570f7(0x3c2)]);try{const _0x160ee4=this['_transformService'][_0x1570f7(0x48a)]([_0x4199f6],[this[_0x1570f7(0x37f)]],!0x1);if(p[_0x1570f7(0x2e0)](_0x160ee4)){const {c1Prime:_0x21dff6,c2Prime:_0x409aad}=_0x160ee4,_0x514238=this[_0x1570f7(0x5b9)][_0x1570f7(0x1f7)](_0x21dff6[0x0],this['_pendingMutations']);if(p[_0x1570f7(0x4df)](_0x514238)){const {c1Prime:_0x4ff7a3,m2Prime:_0x53ac07}=_0x514238;return this['_executeRemoteChangeset'](_0x4ff7a3),_0x409aad[0x0]['baseRev']=this[_0x1570f7(0x4d4)](),this['_clearScheduledTask'](),this['_injector'][_0x1570f7(0x4ed)](le,this[_0x1570f7(0x219)],this[_0x1570f7(0x224)],_0x409aad[0x0],_0x53ac07,this['_handler'],void 0x0);}throw _0x514238[_0x1570f7(0x2c9)];}throw _0x160ee4[_0x1570f7(0x2c9)];}catch(_0x29dbaf){return this[_0x1570f7(0x3f4)][_0x1570f7(0x2c9)](_0x29dbaf),this['_onConflict'](!0x1);}}[_0x17671e(0x2f1)](_0x3b9812){const _0x50b131=_0x17671e;if(this[_0x50b131(0x65b)](),this[_0x50b131(0x5f8)](_0x3b9812))return this[_0x50b131(0x27e)][_0x50b131(0x4ed)](oe,this[_0x50b131(0x219)],this[_0x50b131(0x224)],null,this[_0x50b131(0x242)],this[_0x50b131(0x37f)],[],this[_0x50b131(0x3c2)]);this['_incrementRevisionNumber']();const _0x4a9bfc=this[_0x50b131(0x27e)][_0x50b131(0x4ed)](ce,this[_0x50b131(0x219)],this[_0x50b131(0x224)],this[_0x50b131(0x242)],this[_0x50b131(0x3c2)]);return _0x4a9bfc['_schedule'](),_0x4a9bfc[_0x50b131(0x300)](),_0x4a9bfc;}['onRemoteRej'](_0x5e0602){const _0x1488be=_0x17671e;return this[_0x1488be(0x2ae)](!!(_0x5e0602!=null&&_0x5e0602['isPermissionRej']));}['onRemoteRetry'](_0x3050c6){const _0x43ce34=_0x17671e;return this[_0x43ce34(0x642)]>fn?this[_0x43ce34(0x513)]():(this[_0x43ce34(0x2e7)]=dn(this['_resendTimeout'],{'timeout':this[_0x43ce34(0x642)],'reqId':_0x3050c6['reqId']}),this['_sender']=this[_0x43ce34(0x2e7)][_0x43ce34(0x383)](({reqId:_0x66299d,timeout:_0x4abd38})=>{this['_resendWithTimeout'](_0x66299d,_0x4abd38);}),this);}['toggleOffline'](){const _0x876a71=_0x17671e;return this['_clearScheduledTask'](),this[_0x876a71(0x27e)][_0x876a71(0x4ed)](me,this[_0x876a71(0x219)],this[_0x876a71(0x224)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x876a71(0x3c2)]);}[_0x17671e(0x225)](){return this;}[_0x17671e(0x5e2)](){const _0x239879=_0x17671e;this['_handler'][_0x239879(0x482)](this[_0x239879(0x37f)]);}['_onConflict'](_0x24bfc1){const _0x329f4c=_0x17671e;return this[_0x329f4c(0x65b)](),this[_0x329f4c(0x27e)][_0x329f4c(0x4ed)](ve,this[_0x329f4c(0x219)],this['type'],null,this['_pendingMutations'],this[_0x329f4c(0x3c2)],_0x24bfc1);}[_0x17671e(0x579)](_0x3e83f1,_0x5bf2f6){const _0x5b0aa2=_0x17671e;var _0x444cfb;_0x3e83f1===((_0x444cfb=this[_0x5b0aa2(0x37f)])==null?void 0x0:_0x444cfb[_0x5b0aa2(0x469)])&&(this[_0x5b0aa2(0x5e2)](),this[_0x5b0aa2(0x642)]=_0x5bf2f6===0x0?0x3e8:_0x5bf2f6*0x2);}['_clearScheduledTask'](){const _0x7c29de=_0x17671e;var _0x34a85a;(_0x34a85a=this['_sender'])==null||_0x34a85a[_0x7c29de(0x4c1)](),this['_resendTimeout']=0x0;}};le=ge([N(0x6,a[_0x17671e(0x52e)](a['Injector'])),N(0x7,a[_0x17671e(0x52e)](p[_0x17671e(0x5e1)])),N(0x8,a[_0x17671e(0x52e)](exports[_0x17671e(0x2f5)])),N(0x9,a[_0x17671e(0x336)]),N(0xa,a[_0x17671e(0x431)]),N(0xb,p[_0x17671e(0x232)]),N(0xc,a[_0x17671e(0x1fa)])],le);let ve=class extends Ie{constructor(_0x3ae53c,_0x430290,_0x371539,_0x28b247,_0x483ce4,_0x1ee63f=!0x1,_0x1e3065,_0x308918,_0x1021c4,_0x2fd515,_0x11c46c,_0x1ff577,_0x51e211){const _0x1bd667=_0x17671e;super(_0x3ae53c,_0x430290,_0x371539,_0x28b247,_0x483ce4,_0x308918,_0x1021c4,_0x11c46c,_0x2fd515),I(this,_0x1bd667(0x47a),'conflict'),(this[_0x1bd667(0x3e2)]=_0x1ee63f,this['_permissionService']=_0x1e3065,this[_0x1bd667(0x457)]=_0x1ff577,this['_notificationService']=_0x51e211,this['_showConflictNotification'](),this[_0x1bd667(0x5a1)](),this[_0x1bd667(0x49d)]());}[_0x17671e(0x515)](){return this;}['onRemoteChangeset'](){return this;}[_0x17671e(0x2f1)](){return this;}['onRemoteRej'](){return this;}[_0x17671e(0x366)](){return this;}[_0x17671e(0x513)](){return this;}[_0x17671e(0x225)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x17671e(0x5a1)](){const _0x2bbd63=_0x17671e;this[_0x2bbd63(0x4a3)][_0x2bbd63(0x387)](this[_0x2bbd63(0x219)],this['type'],null,[]);}[_0x17671e(0x55a)](){const _0x40ef7c=_0x17671e;this[_0x40ef7c(0x3e2)]?this[_0x40ef7c(0x669)][_0x40ef7c(0x30f)]({'title':this[_0x40ef7c(0x457)]['t'](_0x40ef7c(0x37c)),'content':this[_0x40ef7c(0x457)]['t'](_0x40ef7c(0x354)),'type':'error','duration':0x0}):this[_0x40ef7c(0x669)][_0x40ef7c(0x30f)]({'title':this[_0x40ef7c(0x457)]['t']('conflict.title'),'content':this[_0x40ef7c(0x457)]['t']('conflict.content'),'type':'error','duration':0x0});}['_disableEditing'](){const _0x3c16e3=_0x17671e;this[_0x3c16e3(0x5d7)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](this[_0x3c16e3(0x219)])['id'],!0x1);}};ve=ge([N(0x6,a[_0x17671e(0x52e)](a['IPermissionService'])),N(0x7,a[_0x17671e(0x336)]),N(0x8,a[_0x17671e(0x1fa)]),N(0x9,a['Inject'](exports[_0x17671e(0x2f5)])),N(0xa,a[_0x17671e(0x52e)](p[_0x17671e(0x5e1)])),N(0xb,a[_0x17671e(0x52e)](a[_0x17671e(0x530)])),N(0xc,te['INotificationService'])],ve);let me=class extends Ie{constructor(_0x3abd62,_0x2b9600,_0x131525,_0x5f0145,_0x1383f2,_0x179b14,_0x3e22d7,_0x23db3f,_0x3c15ec,_0x5952de){const _0x4236ca=_0x17671e;super(_0x3abd62,_0x2b9600,_0x131525,_0x5f0145,_0x1383f2,_0x3c15ec,_0x5952de,_0x3e22d7,_0x23db3f),I(this,_0x4236ca(0x47a),_0x4236ca(0x633)),this[_0x4236ca(0x27e)]=_0x179b14;}[_0x17671e(0x515)](_0x9d2f02){const _0x38b196=_0x17671e;return this[_0x38b196(0x242)][_0x38b196(0x263)](_0x9d2f02),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x107aec){const _0x50a9f9=_0x17671e;throw new Error(_0x50a9f9(0x5dd));}[_0x17671e(0x2f1)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x17671e(0x5ba)](){const _0x18e9e1=_0x17671e;throw new Error(_0x18e9e1(0x2e4));}[_0x17671e(0x366)](){return this;}['toggleOffline'](){return this;}[_0x17671e(0x225)](){const _0x24068b=_0x17671e,{_injector:_0x7683de,_pendingMutations:_0x444ecd,_awaitingChangeset:_0x11964c,unitID:_0x5cfb6c,_handler:_0x42fb81,type:_0x36ec6d}=this,_0x4f129a=vn(_0x7683de,_0x5cfb6c,_0x36ec6d,_0x11964c,_0x444ecd,_0x42fb81);return _0x4f129a instanceof ce?_0x4f129a[_0x24068b(0x352)]():(_0x4f129a instanceof le||_0x4f129a instanceof fe)&&_0x4f129a[_0x24068b(0x5e2)](),_0x4f129a;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};me=ge([N(0x5,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),N(0x6,a[_0x17671e(0x52e)](p[_0x17671e(0x5e1)])),N(0x7,a['Inject'](exports[_0x17671e(0x2f5)])),N(0x8,a['ICommandService']),N(0x9,a['IUndoRedoService'])],me);let oe=class extends Ie{constructor(_0x18de91,_0x23bc80,_0x837783,_0x5266f2,_0xaca206,_0x400d6a,_0x340353,_0x1f1589,_0x3c9214,_0x3f053b,_0x5bcd25,_0x4e9859,_0x551d51,_0x101e57){const _0x3f8af7=_0x17671e;super(_0x18de91,_0x23bc80,_0x837783,_0x5266f2,_0x340353,_0x4e9859,_0x551d51,_0x3c9214,_0x3f053b),I(this,_0x3f8af7(0x47a),_0x3f8af7(0x2b8)),(this[_0x3f8af7(0x5e9)]=_0xaca206,this['_queuedRemoteChangesets']=_0x400d6a,this[_0x3f8af7(0x27e)]=_0x1f1589,this[_0x3f8af7(0x3f4)]=_0x5bcd25,this['_transformService']=_0x101e57);}[_0x17671e(0x2f6)](_0x167a48){const _0x1fac0c=_0x17671e;try{const _0x41bd49=[..._0x167a48,...this[_0x1fac0c(0x3a0)]],_0x458c5c=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x1fac0c(0x335)](_0x3cddbb=>!!_0x3cddbb);let _0x5e046e,_0x217e97;if(_0x458c5c[_0x1fac0c(0x367)]){const _0x37e0a3=this[_0x1fac0c(0x5b9)][_0x1fac0c(0x48a)](_0x41bd49,_0x458c5c,!0x1);if(!p[_0x1fac0c(0x2e0)](_0x37e0a3))throw _0x37e0a3['error'];_0x5e046e=_0x37e0a3[_0x1fac0c(0x1fe)],_0x217e97=_0x37e0a3[_0x1fac0c(0x39f)];}else _0x5e046e=_0x41bd49,_0x217e97=[];let _0x15d7fd=this['_pendingMutations'];_0x5e046e[_0x1fac0c(0x5ea)](_0x34ca88=>{const _0x5cfbd6=_0x1fac0c;let _0x7365d2;if(_0x15d7fd['length']){const _0x2cdcf8=this['_transformService']['transformMutationsWithChangeset'](_0x34ca88,_0x15d7fd);if(!p['isTransformMutationsWithChangesetSuccess'](_0x2cdcf8))throw _0x2cdcf8[_0x5cfbd6(0x2c9)];_0x7365d2=_0x2cdcf8[_0x5cfbd6(0x1fe)],_0x15d7fd=_0x2cdcf8[_0x5cfbd6(0x491)];}else _0x7365d2=_0x34ca88;this[_0x5cfbd6(0x5e4)](_0x7365d2);}),this[_0x1fac0c(0x5e9)]&&this['_incrementRevisionNumber'](),this[_0x1fac0c(0x37f)]&&_0x217e97['length']&&(_0x217e97[0x0][_0x1fac0c(0x450)]=this[_0x1fac0c(0x4d4)]());let _0x1182b4;if(this[_0x1fac0c(0x37f)]&&_0x15d7fd[_0x1fac0c(0x367)]!==0x0)_0x1182b4=this[_0x1fac0c(0x27e)]['createInstance'](le,this[_0x1fac0c(0x219)],this[_0x1fac0c(0x224)],_0x217e97[0x0],_0x15d7fd,this[_0x1fac0c(0x3c2)],void 0x0);else{if(this[_0x1fac0c(0x37f)]&&_0x15d7fd[_0x1fac0c(0x367)]===0x0)_0x217e97[0x0][_0x1fac0c(0x450)]=this[_0x1fac0c(0x4d4)](),_0x1182b4=this[_0x1fac0c(0x27e)][_0x1fac0c(0x4ed)](fe,this[_0x1fac0c(0x219)],this[_0x1fac0c(0x224)],_0x217e97[0x0],this['_handler']);else{if(_0x15d7fd['length']!==0x0){const _0x7c36bd=this['_injector'][_0x1fac0c(0x4ed)](ce,this[_0x1fac0c(0x219)],this['type'],_0x15d7fd,this[_0x1fac0c(0x3c2)]);_0x7c36bd[_0x1fac0c(0x352)](),_0x1182b4=_0x7c36bd;}else _0x1182b4=this[_0x1fac0c(0x27e)][_0x1fac0c(0x4ed)](ye,this[_0x1fac0c(0x219)],this['type'],this[_0x1fac0c(0x3c2)]);}}return _0x1182b4[_0x1fac0c(0x300)](),_0x1182b4;}catch(_0x38787d){return this[_0x1fac0c(0x3f4)][_0x1fac0c(0x2c9)](_0x1fac0c(0x218),_0x1fac0c(0x646),_0x38787d),this['_injector'][_0x1fac0c(0x4ed)](ve,this[_0x1fac0c(0x219)],this[_0x1fac0c(0x224)],this[_0x1fac0c(0x37f)],this[_0x1fac0c(0x242)],this[_0x1fac0c(0x3c2)],!0x1);}}[_0x17671e(0x5e2)](){const _0x4c4f6e=_0x17671e;throw new Error(_0x4c4f6e(0x3e5));}[_0x17671e(0x515)](_0x1d4df4){const _0x284f44=_0x17671e;return this[_0x284f44(0x242)]['push'](_0x1d4df4),this;}[_0x17671e(0x540)](_0x559ad4){const _0x140186=_0x17671e;return this[_0x140186(0x3a0)][_0x140186(0x263)](_0x559ad4),this;}[_0x17671e(0x2f1)](_0x58f786){const _0x142f2c=_0x17671e;if(this[_0x142f2c(0x37f)])return this[_0x142f2c(0x5e9)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x17671e(0x5ba)](_0x594cce){const _0xb9c11f=_0x17671e;return this[_0xb9c11f(0x2ae)](!!(_0x594cce!=null&&_0x594cce[_0xb9c11f(0x359)]));}[_0x17671e(0x366)](){return this;}['toggleOffline'](){const _0x28f102=_0x17671e;return this[_0x28f102(0x27e)]['createInstance'](me,this[_0x28f102(0x219)],this['type'],this[_0x28f102(0x37f)],this['_pendingMutations'],this[_0x28f102(0x3c2)]);}['toggleOnline'](){return this;}[_0x17671e(0x2ae)](_0x585a41){const _0x5749f6=_0x17671e;return this[_0x5749f6(0x27e)][_0x5749f6(0x4ed)](ve,this[_0x5749f6(0x219)],this[_0x5749f6(0x224)],this[_0x5749f6(0x37f)],this['_pendingMutations'],this['_handler'],_0x585a41);}};oe=ge([N(0x7,a[_0x17671e(0x52e)](a['Injector'])),N(0x8,a['Inject'](p[_0x17671e(0x5e1)])),N(0x9,a[_0x17671e(0x52e)](exports[_0x17671e(0x2f5)])),N(0xa,a[_0x17671e(0x431)]),N(0xb,a[_0x17671e(0x336)]),N(0xc,a[_0x17671e(0x1fa)]),N(0xd,p['ITransformService'])],oe);function vn(_0x5a3549,_0x531ea4,_0x58ff9f,_0x263dd2,_0x5843eb,_0x15d8dc){const _0x49bedc=_0x17671e;return _0x263dd2&&_0x5843eb[_0x49bedc(0x367)]?_0x5a3549['createInstance'](le,_0x531ea4,_0x58ff9f,_0x263dd2,_0x5843eb,_0x15d8dc,void 0x0):_0x263dd2?_0x5a3549[_0x49bedc(0x4ed)](fe,_0x531ea4,_0x58ff9f,_0x263dd2,_0x15d8dc):_0x5843eb[_0x49bedc(0x367)]?_0x5a3549[_0x49bedc(0x4ed)](ce,_0x531ea4,_0x58ff9f,_0x5843eb,_0x15d8dc):_0x5a3549[_0x49bedc(0x4ed)](ye,_0x531ea4,_0x58ff9f,_0x15d8dc);}var $i=Object[_0x17671e(0x545)],ji=Object[_0x17671e(0x47f)],Rt=(_0x447698,_0x5b5450,_0x384de3,_0x57a8fb)=>{const _0x4be088=_0x17671e;for(var _0x43bf6c=_0x57a8fb>0x1?void 0x0:_0x57a8fb?ji(_0x5b5450,_0x384de3):_0x5b5450,_0x390564=_0x447698[_0x4be088(0x367)]-0x1,_0x150f37;_0x390564>=0x0;_0x390564--)(_0x150f37=_0x447698[_0x390564])&&(_0x43bf6c=(_0x57a8fb?_0x150f37(_0x5b5450,_0x384de3,_0x43bf6c):_0x150f37(_0x43bf6c))||_0x43bf6c);return _0x57a8fb&&_0x43bf6c&&$i(_0x5b5450,_0x384de3,_0x43bf6c),_0x43bf6c;},H=(_0x5e550e,_0x1e711f)=>(_0x217982,_0xffca7f)=>_0x1e711f(_0x217982,_0xffca7f,_0x5e550e);exports[_0x17671e(0x306)]=class extends a[_0x17671e(0x2c4)]{constructor(_0x9204e8,_0x1378c8,_0x403f5b,_0x498297,_0x47ba9c,_0x1ff402,_0x5aee2e,_0xccb19b,_0x596bce,_0x34e7e1,_0x54fbd3,_0x14751b,_0x25d806){const _0xea99c9=_0x17671e;super(),I(this,'_state$',new A[(_0xea99c9(0x1e1))](null)),I(this,_0xea99c9(0x5a2),this['_state$'][_0xea99c9(0x3b4)]()),I(this,_0xea99c9(0x531)),I(this,_0xea99c9(0x570),!0x1),I(this,_0xea99c9(0x434),''),I(this,_0xea99c9(0x4a0),0x0),I(this,_0xea99c9(0x3ca),this[_0xea99c9(0x5a2)]['pipe'](A['map'](_0x27f044=>_0x27f044?_0x27f044[_0xea99c9(0x47a)]:q[_0xea99c9(0x333)]),A[_0xea99c9(0x5d4)](0x1))),I(this,_0xea99c9(0x230),!0x1),I(this,_0xea99c9(0x635),[]),(this[_0xea99c9(0x219)]=_0x9204e8,this['session']=_0x1378c8,this[_0xea99c9(0x1d5)]=_0x403f5b,this[_0xea99c9(0x27e)]=_0x498297,this[_0xea99c9(0x4a3)]=_0x47ba9c,this[_0xea99c9(0x495)]=_0x1ff402,this[_0xea99c9(0x457)]=_0x5aee2e,this['_revisionService']=_0xccb19b,this['_logService']=_0x596bce,this['_commandService']=_0x34e7e1,this[_0xea99c9(0x671)]=_0x54fbd3,this[_0xea99c9(0x5d7)]=_0x14751b,this['_singleActiveUnitService']=_0x25d806);}get[_0x17671e(0x39d)](){const _0x4ac61a=_0x17671e;return this[_0x4ac61a(0x531)];}async[_0x17671e(0x2ce)](){const _0x3b5aa0=_0x17671e;if(this[_0x3b5aa0(0x39d)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){const _0x2723d5=_0x17671e;return this[_0x2723d5(0x570)]=!0x0,a[_0x2723d5(0x60a)](()=>{const _0x56bfe0=_0x2723d5;this[_0x56bfe0(0x570)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x17671e(0x51f)](_0x2900e3){const _0x3f451b=_0x17671e;this[_0x3f451b(0x531)]=_0x2900e3,this[_0x3f451b(0x3c5)][_0x3f451b(0x2de)](_0x2900e3);}async[_0x17671e(0x422)](){const _0x51ba84=_0x17671e;var _0x365bd4;this[_0x51ba84(0x51f)](await this[_0x51ba84(0x59d)]()),this['_singleActiveUnitService']&&((_0x365bd4=this[_0x51ba84(0x5ee)])==null||_0x365bd4['editingUnit'](this[_0x51ba84(0x219)]),this[_0x51ba84(0x5f1)](this[_0x51ba84(0x5ee)]['getUnitStatus$'](this[_0x51ba84(0x219)])[_0x51ba84(0x383)](_0x269093=>{const _0x24bfbe=_0x51ba84;this[_0x24bfbe(0x3f4)][_0x24bfbe(0x597)](_0x24bfbe(0x5cc),_0x24bfbe(0x598),_0x269093),_0x269093===_n['OTHER_CLIENTS_EDITING']?(this[_0x24bfbe(0x671)]['show']({'content':this['_localeService']['t'](_0x24bfbe(0x26e)),'type':Se[_0x24bfbe(0x393)][_0x24bfbe(0x4b0)]}),this[_0x24bfbe(0x5d7)][_0x24bfbe(0x5c9)](new k[(_0x24bfbe(0x51d))](this[_0x24bfbe(0x219)])['id'],!0x1),this['_permissionService'][_0x24bfbe(0x2a6)](!0x1)):(this[_0x24bfbe(0x5d7)][_0x24bfbe(0x5c9)](new k[(_0x24bfbe(0x51d))](this[_0x24bfbe(0x219)])['id'],!0x0),this[_0x24bfbe(0x5d7)]['setShowComponents'](!0x0));})));let _0x22a623=!0x1;return this[_0x51ba84(0x5f1)](this[_0x51ba84(0x50f)][_0x51ba84(0x3b1)]['subscribe'](_0x1f54f4=>{const _0x67a022=_0x51ba84;_0x1f54f4===re[_0x67a022(0x616)]?this[_0x67a022(0x27a)](_0x22a623):_0x1f54f4===re['OFFLINE']&&(_0x22a623=!0x0,this[_0x67a022(0x397)]());})),this[_0x51ba84(0x5f1)](this['session'][_0x51ba84(0x4c4)]['subscribe'](_0x2ad8f5=>{const _0x477841=_0x51ba84;try{switch(_0x2ad8f5[_0x477841(0x3ee)]){case p['CollaborationEvent'][_0x477841(0x2ef)]:{this[_0x477841(0x49c)](p[_0x477841(0x630)](_0x2ad8f5[_0x477841(0x1e9)]));break;}case p['CollaborationEvent'][_0x477841(0x1eb)]:{this[_0x477841(0x3e8)](_0x2ad8f5[_0x477841(0x1e9)]);break;}case p[_0x477841(0x2d6)][_0x477841(0x266)]:{this[_0x477841(0x593)]();break;}case p[_0x477841(0x2d6)][_0x477841(0x3b8)]:{this[_0x477841(0x2ca)](_0x2ad8f5[_0x477841(0x1e9)]);break;}case p[_0x477841(0x2d6)][_0x477841(0x1ec)]:{this['_onFetchMissResult'](_0x2ad8f5[_0x477841(0x1e9)][_0x477841(0x2aa)][_0x477841(0x372)](_0x57631e=>p[_0x477841(0x630)](_0x57631e)));break;}case p[_0x477841(0x2d6)][_0x477841(0x2b7)]:this[_0x477841(0x593)]({'isPermissionRej':!0x0});}}catch(_0x3a4566){throw console['error'](_0x477841(0x66d),_0x3a4566),_0x3a4566;}})),this[_0x51ba84(0x531)];}[_0x17671e(0x643)](){this['_transitionLocked']=!0x1;}[_0x17671e(0x353)](){const _0x15a7e8=_0x17671e;if(this[_0x15a7e8(0x230)])throw new Error(_0x15a7e8(0x26f));this[_0x15a7e8(0x230)]=!0x0;}[_0x17671e(0x262)](_0x2d5b57){const _0x198d2c=_0x17671e;this['_lockTransition'](),this[_0x198d2c(0x51f)](this[_0x198d2c(0x531)][_0x198d2c(0x515)](_0x2d5b57)),this[_0x198d2c(0x643)]();}[_0x17671e(0x49c)](_0x57d3cd){const _0x491647=_0x17671e;if(!(_0x57d3cd['revision']<=this['_revisionService'][_0x491647(0x4c0)](this[_0x491647(0x219)]))){if(this[_0x491647(0x570)]){this[_0x491647(0x635)][_0x491647(0x263)](_0x57d3cd);return;}this[_0x491647(0x4c9)](_0x57d3cd);}}[_0x17671e(0x465)](){const _0x2980ca=_0x17671e;this['_remoteChangesetQueue'][_0x2980ca(0x5ea)](_0x32e622=>this[_0x2980ca(0x4c9)](_0x32e622)),this[_0x2980ca(0x635)]=[];}[_0x17671e(0x4c9)](_0x2b4fcd){const _0x5e625a=_0x17671e,_0x32c460=this[_0x5e625a(0x495)]['interceptor'][_0x5e625a(0x2ee)](this[_0x5e625a(0x495)][_0x5e625a(0x61d)]['getInterceptPoints']()[_0x5e625a(0x3a8)])(_0x2b4fcd[_0x5e625a(0x4a4)],null)||_0x2b4fcd[_0x5e625a(0x4a4)],_0x55d5a4={..._0x2b4fcd,'mutations':_0x32c460};this[_0x5e625a(0x353)](),this['_updateState'](this[_0x5e625a(0x531)]['onRemoteChangeset'](_0x55d5a4)),this['_unlockTransition']();}['_onRemoteACK'](_0x5a173a){const _0x25dae1=_0x17671e;this[_0x25dae1(0x353)](),this[_0x25dae1(0x51f)](this['_state'][_0x25dae1(0x2f1)](_0x5a173a)),this[_0x25dae1(0x643)]();}[_0x17671e(0x593)](_0x55f497){const _0x380b80=_0x17671e;this['_lockTransition'](),this[_0x380b80(0x51f)](this[_0x380b80(0x531)][_0x380b80(0x5ba)](_0x55f497)),this['_unlockTransition']();}['_onRemoteRetry'](_0x432267){const _0x39cb5c=_0x17671e;this[_0x39cb5c(0x353)](),this[_0x39cb5c(0x51f)](this[_0x39cb5c(0x531)][_0x39cb5c(0x366)](_0x432267)),this[_0x39cb5c(0x643)]();}['_onFetchMissResult'](_0x11e0b2){const _0x17bcab=_0x17671e;if(!(this[_0x17bcab(0x531)]instanceof oe))throw new TypeError(_0x17bcab(0x5bc));const _0x57fe07=_0x11e0b2[_0x17bcab(0x372)](_0x5acc05=>{const _0x43bcdc=_0x17bcab,_0x4ce08c=this['_compressMutationService'][_0x43bcdc(0x61d)][_0x43bcdc(0x2ee)](this[_0x43bcdc(0x495)][_0x43bcdc(0x61d)][_0x43bcdc(0x1d8)]()[_0x43bcdc(0x3a8)])(_0x5acc05[_0x43bcdc(0x4a4)],null)||_0x5acc05['mutations'];return{..._0x5acc05,'mutations':_0x4ce08c};});this[_0x17bcab(0x353)](),this[_0x17bcab(0x51f)](this[_0x17bcab(0x531)][_0x17bcab(0x2f6)](_0x57fe07)),this['_unlockTransition']();}['_toggleOffline'](){const _0x4942ae=_0x17671e;this[_0x4942ae(0x353)](),this[_0x4942ae(0x51f)](this['_state'][_0x4942ae(0x513)]()),this['_unlockTransition']();}[_0x17671e(0x27a)](_0x448c3f=!0x1){const _0x224975=_0x17671e;this['_lockTransition'](),this['_updateState'](this['_state'][_0x224975(0x225)]()),this[_0x224975(0x643)]();const _0x7b7856=this['_state'];_0x448c3f&&_0x7b7856 instanceof ye&&(this[_0x224975(0x353)](),this[_0x224975(0x51f)](_0x7b7856['fetchMiss']()),this[_0x224975(0x643)]());}async[_0x17671e(0x59d)](){return new Promise(_0x33e79a=>{const _0x2f00cb=_0x35f6;this['session'][_0x2f00cb(0x3b1)][_0x2f00cb(0x42f)](A[_0x2f00cb(0x5d9)](0x1))[_0x2f00cb(0x383)](async _0x30d80d=>{const _0x366fbc=_0x2f00cb;_0x33e79a(await this['_createInitialStateImpl'](_0x30d80d===re[_0x366fbc(0x616)]));});});}['_createHandler'](){const _0x42b8ee=_0x17671e,_0x5b220b=this[_0x42b8ee(0x219)];return{'onStateChange':(_0x21edfe,_0xb8dff0)=>{const _0x200b68=_0x42b8ee;if(_0x21edfe!==this['_state'])throw new Error(_0x200b68(0x41f)+_0x21edfe[_0x200b68(0x47a)]+_0x200b68(0x36e)+_0xb8dff0['status']+_0x200b68(0x265)+this[_0x200b68(0x531)][_0x200b68(0x47a)]);this['_updateState'](_0xb8dff0);},'onSendChangeset':_0x4ccebb=>{const _0x9e2fae=_0x42b8ee;_0x4ccebb[_0x9e2fae(0x1e7)]||(_0x4ccebb['sid']=this[_0x9e2fae(0x434)],_0x4ccebb[_0x9e2fae(0x469)]=++this['_changesetReqId']);const _0x19b473={'eventID':p['CollaborationEvent'][_0x9e2fae(0x562)],'data':{'unitID':_0x4ccebb['unitID'],'unitType':this[_0x9e2fae(0x1d5)],'changeset':_0x4ccebb,'memberID':this[_0x9e2fae(0x50f)][_0x9e2fae(0x625)]()}};this[_0x9e2fae(0x50f)][_0x9e2fae(0x2cb)](_0x19b473,this[_0x9e2fae(0x219)]);},'onMissingChangesets':({from:_0x54d64a,to:_0x3ef43c})=>{const _0x17a139=_0x42b8ee;this['_logService'][_0x17a139(0x597)]('[CollaborationEntity]',_0x17a139(0x5c8)+_0x54d64a+'\x20to\x20'+_0x3ef43c);const _0x209081={'eventID':p[_0x17a139(0x2d6)][_0x17a139(0x2eb)],'data':{'unitID':_0x5b220b,'unitType':this[_0x17a139(0x1d5)],'from':_0x54d64a,'to':_0x3ef43c}};this[_0x17a139(0x50f)][_0x17a139(0x2cb)](_0x209081,this[_0x17a139(0x219)]);}};}async[_0x17671e(0x2ad)](_0x5dc885){const _0x2b9415=_0x17671e;var _0x1b20c0,_0x183079;const _0x1ca0d9=await this[_0x2b9415(0x4a3)]['loadOfflineData'](this['unitID']),_0x1e0565=(_0x1b20c0=_0x1ca0d9==null?void 0x0:_0x1ca0d9[_0x2b9415(0x4a4)])!=null?_0x1b20c0:[],_0x4e6e59=(_0x183079=_0x1ca0d9==null?void 0x0:_0x1ca0d9[_0x2b9415(0x3b3)])!=null?_0x183079:null,_0x1d1d97=!!(_0x4e6e59!=null&&_0x4e6e59[_0x2b9415(0x1e7)])&&!!(_0x4e6e59!=null&&_0x4e6e59['reqId']);this[_0x2b9415(0x434)]=_0x1d1d97?_0x4e6e59[_0x2b9415(0x1e7)]:di(),this[_0x2b9415(0x4a0)]=_0x1d1d97?_0x4e6e59[_0x2b9415(0x469)]:0x0;const _0x159d7b=this[_0x2b9415(0x219)];try{this[_0x2b9415(0x391)](_0x4e6e59,_0x1e0565);}catch(_0x3dc2ed){this[_0x2b9415(0x3f4)][_0x2b9415(0x2c9)](_0x3dc2ed);}const _0x11ce2d=this[_0x2b9415(0x213)]();if(_0x5dc885){const _0x3068f4=vn(this['_injector'],_0x159d7b,this['_type'],_0x4e6e59,_0x1e0565,_0x11ce2d);return _0x3068f4 instanceof ce?_0x3068f4[_0x2b9415(0x352)]():(_0x3068f4 instanceof le||_0x3068f4 instanceof fe)&&_0x3068f4[_0x2b9415(0x5e2)](),_0x3068f4;}return this[_0x2b9415(0x27e)][_0x2b9415(0x4ed)](me,_0x159d7b,this['_type'],_0x4e6e59,_0x1e0565,_0x11ce2d);}['_replayCachedMutations'](_0xb531d9,_0x1452e8){const _0x4aebf0=_0x17671e;var _0x29c7a6,_0x3dd856;const _0xef185e=this[_0x4aebf0(0x495)][_0x4aebf0(0x61d)][_0x4aebf0(0x2ee)](this[_0x4aebf0(0x495)][_0x4aebf0(0x61d)][_0x4aebf0(0x1d8)]()[_0x4aebf0(0x3a8)]);(_0x29c7a6=_0xef185e((_0xb531d9==null?void 0x0:_0xb531d9['mutations'])||[],null))==null||_0x29c7a6[_0x4aebf0(0x5ea)](_0x39a1b6=>this[_0x4aebf0(0x63b)][_0x4aebf0(0x3c9)](_0x39a1b6['id'],_0x39a1b6[_0x4aebf0(0x4af)])),(_0x3dd856=_0xef185e(_0x1452e8||[],null))==null||_0x3dd856[_0x4aebf0(0x5ea)](_0x741196=>this[_0x4aebf0(0x63b)][_0x4aebf0(0x3c9)](_0x741196['id'],_0x741196['params']));}},exports['CollaborationEntity']=Rt([H(0x3,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),H(0x4,a['Inject'](exports[_0x17671e(0x2f5)])),H(0x5,a['Inject'](p['CompressMutationService'])),H(0x6,a[_0x17671e(0x52e)](a[_0x17671e(0x530)])),H(0x7,a[_0x17671e(0x52e)](p[_0x17671e(0x5e1)])),H(0x8,a[_0x17671e(0x431)]),H(0x9,a[_0x17671e(0x336)]),H(0xa,te[_0x17671e(0x21a)]),H(0xb,a[_0x17671e(0x386)]),H(0xc,a[_0x17671e(0x45e)](qe))],exports[_0x17671e(0x306)]),exports[_0x17671e(0x557)]=class extends exports[_0x17671e(0x306)]{constructor(_0x1d7433,_0x367c6f,_0x4267b2,_0x37c088,_0x705a63,_0x380813,_0x1619dd,_0x4d8d15,_0xab645a,_0x17ee08,_0x47156f,_0x501c3f,_0x4c17db,_0x12df0a,_0x3ec54a,_0x446564,_0xd1f4b1,_0x4f4316){const _0x565da9=_0x17671e;super(_0x1d7433,_0x4267b2,_0x367c6f,_0x37c088,_0x705a63,_0x380813,_0x1619dd,_0x4d8d15,_0x12df0a,_0x3ec54a,_0x446564,_0xd1f4b1,_0x4f4316),this['unitID']=_0x1d7433,this[_0x565da9(0x224)]=_0x367c6f,this[_0x565da9(0x63f)]=_0xab645a,this[_0x565da9(0x612)]=_0x17ee08,this['_docTransformStateCacheService']=_0x47156f,this[_0x565da9(0x42a)]=_0x501c3f,this['_docSyncEditingCollabCursorService']=_0x4c17db;}[_0x17671e(0x213)](){const _0x2c7ed4=_0x17671e,_0x112f76=super[_0x2c7ed4(0x213)]();return _0x112f76[_0x2c7ed4(0x328)]=_0x5160e1=>this[_0x2c7ed4(0x612)][_0x2c7ed4(0x4b4)](_0x5160e1),_0x112f76[_0x2c7ed4(0x4ea)]=_0x4797dd=>this['_docTransformStateCacheService'][_0x2c7ed4(0x651)](_0x4797dd),_0x112f76[_0x2c7ed4(0x5aa)]=_0x2a7307=>this['_docTransformSelectionsService'][_0x2c7ed4(0x1dd)](_0x2a7307),_0x112f76[_0x2c7ed4(0x526)]=_0x4964fa=>this['_docSyncEditingCollabCursorService'][_0x2c7ed4(0x2e5)](_0x4964fa),_0x112f76[_0x2c7ed4(0x432)]=_0x4f5913=>this[_0x2c7ed4(0x612)][_0x2c7ed4(0x320)](_0x4f5913),_0x112f76[_0x2c7ed4(0x619)]=_0x5da3fa=>this[_0x2c7ed4(0x4d6)][_0x2c7ed4(0x320)](_0x5da3fa),_0x112f76;}async[_0x17671e(0x422)](){const _0x1ba23e=_0x17671e,_0x2ebcf4=await super[_0x1ba23e(0x422)]();return this[_0x1ba23e(0x63f)]['docStateChange$'][_0x1ba23e(0x42f)](A[_0x1ba23e(0x500)](this[_0x1ba23e(0x52d)]))[_0x1ba23e(0x383)](_0x4e481b=>{const _0x5071d4=_0x1ba23e;if(_0x4e481b==null)return;const {unitId:_0x1ccf31,redoState:_0x602922,commandId:_0x3c0ec0}=_0x4e481b;if(_0x1ccf31!==this[_0x5071d4(0x219)])return;const _0x288978={'id':_0x3c0ec0,'type':a[_0x5071d4(0x26b)][_0x5071d4(0x5f0)],'params':{'unitId':_0x1ccf31,'actions':_0x602922['actions'],'textRanges':null}};this[_0x5071d4(0x262)](_0x288978);}),_0x2ebcf4;}},exports[_0x17671e(0x557)]=Rt([H(0x3,a['Inject'](a[_0x17671e(0x29a)])),H(0x4,a[_0x17671e(0x52e)](exports[_0x17671e(0x2f5)])),H(0x5,a[_0x17671e(0x52e)](p[_0x17671e(0x325)])),H(0x6,a[_0x17671e(0x52e)](a['LocaleService'])),H(0x7,a[_0x17671e(0x52e)](p[_0x17671e(0x5e1)])),H(0x8,a['Inject'](Z[_0x17671e(0x2bf)])),H(0x9,a[_0x17671e(0x52e)](Be)),H(0xa,a[_0x17671e(0x52e)](We)),H(0xb,a[_0x17671e(0x52e)](Fe)),H(0xc,a['Inject'](Tt)),H(0xd,a['ILogService']),H(0xe,a['ICommandService']),H(0xf,te['IMessageService']),H(0x10,a['IPermissionService']),H(0x11,a[_0x17671e(0x45e)](qe))],exports[_0x17671e(0x557)]),exports['SheetCollaborationEntity']=class extends exports[_0x17671e(0x306)]{constructor(_0x54a7e8,_0x2d1680,_0x14fc18,_0x54f4ba,_0x44af6a,_0x3665c0,_0x42e7d,_0x7496b3,_0x3a1479,_0x3c9b38,_0x1ef730,_0x49991c,_0x5fcbb3,_0x50dec6){const _0x4d9923=_0x17671e;super(_0x54a7e8,_0x14fc18,_0x2d1680,_0x54f4ba,_0x44af6a,_0x3665c0,_0x42e7d,_0x7496b3,_0x3c9b38,_0x1ef730,_0x49991c,_0x5fcbb3,_0x50dec6),this[_0x4d9923(0x219)]=_0x54a7e8,this[_0x4d9923(0x224)]=_0x2d1680,this[_0x4d9923(0x4d8)]=_0x3a1479;}[_0x17671e(0x213)](){const _0x2188d7=_0x17671e,_0x3bbf39=super['_createHandler']();return _0x3bbf39[_0x2188d7(0x5aa)]=_0x336687=>this['_sheetTransformSelectionsService']['transformSelections'](_0x336687),_0x3bbf39;}async['_init'](){const _0x3144ad=_0x17671e,_0x2d03eb=await super[_0x3144ad(0x422)]();return this[_0x3144ad(0x5f1)](this['_commandService']['onCommandExecuted']((_0x5d6c51,_0x42cd8d)=>{const _0x579307=_0x3144ad;if(_0x5d6c51[_0x579307(0x224)]!==a[_0x579307(0x26b)][_0x579307(0x5f0)]||_0x42cd8d!=null&&_0x42cd8d['fromCollab']||_0x42cd8d!=null&&_0x42cd8d[_0x579307(0x44f)])return;const _0x1e7fc3=_0x5d6c51[_0x579307(0x4af)];if((_0x1e7fc3==null?void 0x0:_0x1e7fc3['unitId'])!==this[_0x579307(0x219)])return;const _0x2cc21b=_0x5d6c51,_0x23bcc2=this['_compressMutationService'][_0x579307(0x61d)][_0x579307(0x2ee)](this['_compressMutationService'][_0x579307(0x61d)][_0x579307(0x1d8)]()[_0x579307(0x419)])([_0x2cc21b],null)||[_0x2cc21b];this['_onLocalMutation'](_0x23bcc2[0x0]);})),_0x2d03eb;}},exports['SheetCollaborationEntity']=Rt([H(0x3,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),H(0x4,a[_0x17671e(0x52e)](exports[_0x17671e(0x2f5)])),H(0x5,a[_0x17671e(0x52e)](p[_0x17671e(0x325)])),H(0x6,a[_0x17671e(0x52e)](a[_0x17671e(0x530)])),H(0x7,a[_0x17671e(0x52e)](p[_0x17671e(0x5e1)])),H(0x8,a[_0x17671e(0x52e)](ke)),H(0x9,a[_0x17671e(0x431)]),H(0xa,a['ICommandService']),H(0xb,te[_0x17671e(0x21a)]),H(0xc,a[_0x17671e(0x386)]),H(0xd,a['Optional'](qe))],exports[_0x17671e(0x4e5)]);var Hi=Object['defineProperty'],Bi=Object[_0x17671e(0x47f)],ki=(_0x46ab4b,_0x4eaedb,_0x43ef72,_0x571c60)=>{const _0x3c427f=_0x17671e;for(var _0xa4cd41=_0x571c60>0x1?void 0x0:_0x571c60?Bi(_0x4eaedb,_0x43ef72):_0x4eaedb,_0x246ec2=_0x46ab4b[_0x3c427f(0x367)]-0x1,_0x1fe690;_0x246ec2>=0x0;_0x246ec2--)(_0x1fe690=_0x46ab4b[_0x246ec2])&&(_0xa4cd41=(_0x571c60?_0x1fe690(_0x4eaedb,_0x43ef72,_0xa4cd41):_0x1fe690(_0xa4cd41))||_0xa4cd41);return _0x571c60&&_0xa4cd41&&Hi(_0x4eaedb,_0x43ef72,_0xa4cd41),_0xa4cd41;},et=(_0x1c267f,_0x275ff3)=>(_0x50a56e,_0x598fd4)=>_0x275ff3(_0x50a56e,_0x598fd4,_0x1c267f);exports[_0x17671e(0x26d)]=class extends a[_0x17671e(0x2c4)]{constructor(_0x47524d,_0x5247ba,_0x5ef335){const _0x5f3236=_0x17671e;super(),I(this,_0x5f3236(0x38e),new Map()),I(this,_0x5f3236(0x4bd),new A[(_0x5f3236(0x4c2))]()),(this[_0x5f3236(0x27e)]=_0x47524d,this['_collabSessionService']=_0x5247ba,this[_0x5f3236(0x2ba)]=_0x5ef335,this[_0x5f3236(0x422)]());}['dispose'](){const _0x42c815=_0x17671e;super[_0x42c815(0x37d)](),this[_0x42c815(0x38e)][_0x42c815(0x5ea)](_0x5b30bb=>_0x5b30bb[_0x42c815(0x37d)]()),this['_entities']['clear']();}[_0x17671e(0x583)](_0x3ee80a){const _0x3d5daa=_0x17671e;var _0x14db61;return(_0x14db61=this[_0x3d5daa(0x38e)][_0x3d5daa(0x2a7)](_0x3ee80a))!=null?_0x14db61:null;}[_0x17671e(0x36d)](_0x36e06f){const _0x2492a0=_0x17671e,_0x6c8421=this[_0x2492a0(0x583)](_0x36e06f);return _0x6c8421?A['of'](_0x6c8421):this['_entityInit$'][_0x2492a0(0x42f)](V[_0x2492a0(0x335)](_0x172796=>_0x172796[_0x2492a0(0x219)]===_0x36e06f));}[_0x17671e(0x422)](){const _0x273684=_0x17671e;this['_univerInstanceService'][_0x273684(0x58a)](a[_0x273684(0x664)][_0x273684(0x360)])[_0x273684(0x42f)](A[_0x273684(0x500)](this[_0x273684(0x52d)]),V[_0x273684(0x2df)](0x10))[_0x273684(0x383)](async _0x3fee9b=>{const _0x16b1f2=_0x273684,_0x29f45f=_0x3fee9b[_0x16b1f2(0x21c)](),_0x8e27=await this[_0x16b1f2(0x1de)](_0x29f45f,se[_0x16b1f2(0x360)]);this[_0x16b1f2(0x38e)][_0x16b1f2(0x4da)](_0x29f45f,_0x8e27);}),this[_0x273684(0x2ba)][_0x273684(0x58a)](a[_0x273684(0x664)]['UNIVER_DOC'])['pipe'](A['takeUntil'](this['dispose$']),V[_0x273684(0x2df)](0x10))[_0x273684(0x42f)](V[_0x273684(0x335)](_0x39e1a1=>!_0x39e1a1[_0x273684(0x21c)]()[_0x273684(0x412)]('__')))['subscribe'](async _0x19f15b=>{const _0x2669d0=_0x273684,_0x37d5b6=_0x19f15b[_0x2669d0(0x21c)](),_0xcc5240=await this[_0x2669d0(0x1de)](_0x37d5b6,se[_0x2669d0(0x4ca)]);this[_0x2669d0(0x38e)][_0x2669d0(0x4da)](_0x37d5b6,_0xcc5240);}),A[_0x273684(0x5dc)](this[_0x273684(0x2ba)][_0x273684(0x226)](a[_0x273684(0x664)][_0x273684(0x360)]),this[_0x273684(0x2ba)]['getTypeOfUnitDisposed$'](a[_0x273684(0x664)][_0x273684(0x4ca)]))[_0x273684(0x42f)](A[_0x273684(0x500)](this['dispose$']))['subscribe'](_0x2e7801=>{const _0x2f771=_0x273684,_0x1081f3=_0x2e7801[_0x2f771(0x21c)](),_0x31f476=this[_0x2f771(0x38e)]['get'](_0x1081f3);_0x31f476&&(_0x31f476[_0x2f771(0x37d)](),this[_0x2f771(0x38e)]['delete'](_0x1081f3));});}async['_startCollaboration'](_0x4fbfd5,_0x111144){const _0x1548b7=_0x17671e,_0x3a755b=await this[_0x1548b7(0x32f)][_0x1548b7(0x358)](_0x4fbfd5),_0x595c88=this[_0x1548b7(0x27e)]['createInstance'](this['_getCtorByUniverType'](_0x111144),_0x4fbfd5,_0x111144,_0x3a755b);return await _0x595c88['init'](),this[_0x1548b7(0x4bd)][_0x1548b7(0x2de)](_0x595c88),_0x595c88;}[_0x17671e(0x448)](_0x4e460e){const _0x2c2716=_0x17671e;switch(_0x4e460e){case se[_0x2c2716(0x4ca)]:return exports[_0x2c2716(0x557)];case se['UNIVER_SHEET']:return exports[_0x2c2716(0x4e5)];default:throw new Error(_0x2c2716(0x580)+_0x4e460e);}}},exports[_0x17671e(0x26d)]=ki([et(0x0,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),et(0x1,a[_0x17671e(0x52e)](exports['CollaborationSessionService'])),et(0x2,a[_0x17671e(0x4fc)])],exports[_0x17671e(0x26d)]);const $t=['purple300',_0x17671e(0x418),'verdancy600',_0x17671e(0x345),_0x17671e(0x2a1),_0x17671e(0x29c)];class yt extends a['Disposable']{constructor(){const _0x54446e=_0x17671e;super(...arguments),I(this,_0x54446e(0x58d),new Map()),I(this,'_colorIndex',0x0);}[_0x17671e(0x2fb)](_0x14579a){const _0x3ee388=_0x17671e;if(this[_0x3ee388(0x58d)][_0x3ee388(0x44d)](_0x14579a))return this[_0x3ee388(0x58d)][_0x3ee388(0x2a7)](_0x14579a);const _0x25fe4e=$t[this[_0x3ee388(0x673)]];return this[_0x3ee388(0x673)]=(this[_0x3ee388(0x673)]+0x1)%$t['length'],this[_0x3ee388(0x58d)][_0x3ee388(0x4da)](_0x14579a,_0x25fe4e),_0x25fe4e;}}var Wi=Object[_0x17671e(0x545)],Fi=Object['getOwnPropertyDescriptor'],Vi=(_0x2c11fe,_0x437784,_0x4b75f1,_0x3a705f)=>{const _0x5ef82d=_0x17671e;for(var _0x142385=_0x3a705f>0x1?void 0x0:_0x3a705f?Fi(_0x437784,_0x4b75f1):_0x437784,_0x118ad6=_0x2c11fe[_0x5ef82d(0x367)]-0x1,_0x3b2fcb;_0x118ad6>=0x0;_0x118ad6--)(_0x3b2fcb=_0x2c11fe[_0x118ad6])&&(_0x142385=(_0x3a705f?_0x3b2fcb(_0x437784,_0x4b75f1,_0x142385):_0x3b2fcb(_0x142385))||_0x142385);return _0x3a705f&&_0x142385&&Wi(_0x437784,_0x4b75f1,_0x142385),_0x142385;},pe=(_0x517cea,_0x3ba900)=>(_0xbfb241,_0x481dab)=>_0x3ba900(_0xbfb241,_0x481dab,_0x517cea);const Gi=0x12c,Yi=0x64;let vt=class extends a[_0x17671e(0x2c4)]{constructor(_0x241136,_0x2df32a,_0x44e2c7,_0xed5912,_0x5b62db,_0x2c1320,_0xcc5c31,_0x4c44e9,_0x12f8bb){const _0x22324b=_0x17671e;super(),I(this,'_online',!0x1),I(this,_0x22324b(0x422),!0x1),I(this,_0x22324b(0x58b),new A['BehaviorSubject'](new Map())),I(this,_0x22324b(0x4d5),this[_0x22324b(0x58b)]['asObservable']()),I(this,_0x22324b(0x52c),new A[(_0x22324b(0x1e1))]([])),I(this,_0x22324b(0x48c),this['_roomMembers$']['pipe'](A[_0x22324b(0x312)](Gi))),I(this,'_updateLocalCursor',a[_0x22324b(0x2a9)](_0x11c482=>{const _0x185499=_0x22324b,_0xb9b722={'eventID':p[_0x185499(0x2d6)][_0x185499(0x2d7)],'data':{'unitID':this[_0x185499(0x219)],'memberID':this[_0x185499(0x595)]['getMemberID'](),'selection':un(_0x11c482)}};this[_0x185499(0x595)][_0x185499(0x2cb)](_0xb9b722,this[_0x185499(0x219)]);},Yi)),(this[_0x22324b(0x219)]=_0x241136,this[_0x22324b(0x595)]=_0x2df32a,this['_injector']=_0x44e2c7,this[_0x22324b(0x4b8)]=_0xed5912,this['_memberService']=_0x5b62db,this[_0x22324b(0x553)]=_0x2c1320,this[_0x22324b(0x5b9)]=_0xcc5c31,this[_0x22324b(0x2ba)]=_0x4c44e9,this[_0x22324b(0x63b)]=_0x12f8bb);}get[_0x17671e(0x551)](){const _0x579633=_0x17671e;return this[_0x579633(0x58b)][_0x579633(0x2d9)]();}get[_0x17671e(0x45b)](){const _0xda045d=_0x17671e;return this['_roomMembers$'][_0xda045d(0x2d9)]();}[_0x17671e(0x37d)](){const _0x8dd487=_0x17671e;super[_0x8dd487(0x37d)](),this[_0x8dd487(0x58b)]['next'](new Map()),this[_0x8dd487(0x58b)][_0x8dd487(0x409)](),this[_0x8dd487(0x52c)][_0x8dd487(0x2de)]([]),this[_0x8dd487(0x52c)]['complete']();}['init'](){const _0x99cf3f=_0x17671e;this[_0x99cf3f(0x422)]||(this[_0x99cf3f(0x422)]=!0x0,this[_0x99cf3f(0x595)][_0x99cf3f(0x3b1)][_0x99cf3f(0x42f)](A[_0x99cf3f(0x500)](this[_0x99cf3f(0x52d)]))[_0x99cf3f(0x383)](_0x3b4aaf=>{_0x3b4aaf===re['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x99cf3f(0x4c4)]['pipe'](A[_0x99cf3f(0x500)](this['dispose$']))[_0x99cf3f(0x383)](_0x44319a=>{const _0x19a5de=_0x99cf3f,_0x55c141=_0x44319a[_0x19a5de(0x3ee)];_0x55c141===p['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x19a5de(0x466)](_0x44319a),_0x55c141===p[_0x19a5de(0x2d6)][_0x19a5de(0x63a)]&&this[_0x19a5de(0x40a)](_0x44319a);}),this[_0x99cf3f(0x5f1)](this[_0x99cf3f(0x63b)]['onCommandExecuted'](_0x533702=>{const _0x45adfc=_0x99cf3f,_0x342dd8=_0x533702[_0x45adfc(0x4af)];_0x342dd8!=null&&this['_online']&&_0x533702['id']===Re[_0x45adfc(0x20e)]['id']&&_0x342dd8[_0x45adfc(0x678)]===this['unitID']&&_0x342dd8['isEditing']===!0x1&&_0x342dd8[_0x45adfc(0x5ae)][_0x45adfc(0x367)]>0x0&&this['_updateLocalCursor'](_0x342dd8[_0x45adfc(0x5ae)]);})),this[_0x99cf3f(0x553)][_0x99cf3f(0x2c8)][_0x99cf3f(0x42f)](A[_0x99cf3f(0x500)](this[_0x99cf3f(0x52d)]))[_0x99cf3f(0x383)](_0x31bcfd=>{const _0x41723a=_0x99cf3f;if((_0x31bcfd==null?void 0x0:_0x31bcfd[_0x41723a(0x219)])!==this[_0x41723a(0x219)])return;const _0x2b0125={'eventID':p[_0x41723a(0x2d6)][_0x41723a(0x2d7)],'data':_0x31bcfd};this[_0x41723a(0x466)](_0x2b0125);}),this[_0x99cf3f(0x5f1)](this[_0x99cf3f(0x63b)][_0x99cf3f(0x329)](_0x3cd83f=>{const _0x897757=_0x99cf3f;if(_0x3cd83f[_0x897757(0x4af)]==null)return;const _0x43afdd=_0x3cd83f['params'];if(_0x3cd83f['id']!==Re['RichTextEditingMutation']['id']||_0x43afdd['unitId']!==this['unitID'])return;const _0x137254={'id':_0x897757(0x44b),'params':_0x43afdd},_0x194fdc=this['cursorInfo'];for(const [_0x343d62,_0x2b3aeb]of _0x194fdc){const _0x45b5c9={'id':_0x897757(0x44b),'params':{'unitId':this[_0x897757(0x219)],'actions':null,'textRanges':_0x2b3aeb[_0x897757(0x5ae)]}},_0x3365b4=this[_0x897757(0x5b9)][_0x897757(0x207)](_0x137254,_0x45b5c9,!0x1);if(p[_0x897757(0x3d1)](_0x3365b4))throw _0x3365b4['error'];_0x194fdc[_0x897757(0x4da)](_0x343d62,{..._0x2b3aeb,'ranges':_0x3365b4['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x59ec2e=_0x897757;this[_0x59ec2e(0x58b)]['next'](_0x194fdc);});})));}['_onCursorUpdate'](_0x4d1f6b){const _0x3fe665=_0x17671e;var _0x1b4fad,_0x47fcf8;const {memberID:_0x1b9854,selection:_0x5ad59f}=_0x4d1f6b[_0x3fe665(0x1e9)],_0x1d1573=Di(_0x5ad59f),_0x5d24f3=(_0x47fcf8=(_0x1b4fad=this['_memberService'][_0x3fe665(0x20f)](this['unitID'],_0x1b9854))==null?void 0x0:_0x1b4fad[_0x3fe665(0x3ea)])!=null?_0x47fcf8:_0x3fe665(0x485),_0x283cf5={'color':this[_0x3fe665(0x4b8)][_0x3fe665(0x2fb)](_0x1b9854),'name':_0x5d24f3,'ranges':_0x1d1573},_0x58817f=this[_0x3fe665(0x551)];_0x58817f[_0x3fe665(0x4da)](_0x1b9854,_0x283cf5),this[_0x3fe665(0x58b)]['next'](_0x58817f);}[_0x17671e(0x40a)](_0x2fafa6){const _0x1660d3=_0x17671e,{memberID:_0x27e1fc}=_0x2fafa6[_0x1660d3(0x1e9)],_0x136614=this[_0x1660d3(0x551)];_0x136614[_0x1660d3(0x430)](_0x27e1fc),this[_0x1660d3(0x58b)][_0x1660d3(0x2de)](_0x136614);}[_0x17671e(0x27a)](){const _0x370773=_0x17671e;var _0x804a11;if(this[_0x370773(0x5c2)]=!0x0,((_0x804a11=this[_0x370773(0x2ba)][_0x370773(0x3ab)]())==null?void 0x0:_0x804a11['getUnitId']())!==this[_0x370773(0x219)])return;const _0x2fa8bb=this[_0x370773(0x27e)]['get'](Re[_0x370773(0x565)])[_0x370773(0x61a)]();Array[_0x370773(0x385)](_0x2fa8bb)&&_0x2fa8bb['length']>0x0&&this[_0x370773(0x33e)](_0x2fa8bb);}[_0x17671e(0x397)](){const _0x353f70=_0x17671e;this[_0x353f70(0x5c2)]=!0x1;}};vt=Vi([pe(0x2,a[_0x17671e(0x52e)](a['Injector'])),pe(0x3,a[_0x17671e(0x52e)](yt)),pe(0x4,a[_0x17671e(0x52e)](exports[_0x17671e(0x4bf)])),pe(0x5,a['Inject'](Tt)),pe(0x6,p[_0x17671e(0x232)]),pe(0x7,a[_0x17671e(0x4fc)]),pe(0x8,a[_0x17671e(0x336)])],vt);var Ki=Object['defineProperty'],qi=Object[_0x17671e(0x47f)],zi=(_0xea79f5,_0x5e498d,_0x112ac9,_0x580326)=>{const _0x149ae0=_0x17671e;for(var _0x2dea3e=_0x580326>0x1?void 0x0:_0x580326?qi(_0x5e498d,_0x112ac9):_0x5e498d,_0x5792b7=_0xea79f5[_0x149ae0(0x367)]-0x1,_0x4c35db;_0x5792b7>=0x0;_0x5792b7--)(_0x4c35db=_0xea79f5[_0x5792b7])&&(_0x2dea3e=(_0x580326?_0x4c35db(_0x5e498d,_0x112ac9,_0x2dea3e):_0x4c35db(_0x2dea3e))||_0x2dea3e);return _0x580326&&_0x2dea3e&&Ki(_0x5e498d,_0x112ac9,_0x2dea3e),_0x2dea3e;},Ee=(_0x58b1d3,_0x3eed91)=>(_0x1a4be9,_0x438f24)=>_0x3eed91(_0x1a4be9,_0x438f24,_0x58b1d3);const Xi=0x12c,Ji=0x64,Zi=()=>{let _0x27339b=[],_0x4c00ef=!0x1;return _0xee8059=>{const _0x1e5a18=_0x35f6;_0x27339b[_0x1e5a18(0x263)](_0xee8059),_0x4c00ef||(_0x4c00ef=!0x0,setTimeout(()=>{const _0x145c39=_0x1e5a18;_0x27339b[_0x145c39(0x5ea)](_0x351372=>_0x351372()),_0x27339b=[],_0x4c00ef=!0x1;}));};};let mt=class extends a['RxDisposable']{constructor(_0x442b16,_0xf2e202,_0x18f5dc,_0x14b45f,_0x2fceb4,_0x4daeda,_0x7dff23,_0x5baa0e){const _0x41772e=_0x17671e;super(),I(this,_0x41772e(0x5c2),!0x1),I(this,'_init',!0x1),I(this,'_cursorInfo$',new A[(_0x41772e(0x1e1))](new Map())),I(this,_0x41772e(0x4d5),this[_0x41772e(0x58b)][_0x41772e(0x3b4)]()),I(this,_0x41772e(0x52c),new A[(_0x41772e(0x1e1))]([])),I(this,_0x41772e(0x48c),this[_0x41772e(0x52c)][_0x41772e(0x42f)](A[_0x41772e(0x312)](Xi))),I(this,_0x41772e(0x33e),a[_0x41772e(0x2a9)]((_0xd2656a,_0x399e53)=>{const _0xb6e9c0=_0x41772e,_0x4d16c7={'eventID':p[_0xb6e9c0(0x2d6)][_0xb6e9c0(0x2d7)],'data':{'unitID':this[_0xb6e9c0(0x219)],'memberID':this['_session'][_0xb6e9c0(0x625)](),'selection':wt[_0xb6e9c0(0x3db)](_0xd2656a,_0x399e53[_0xb6e9c0(0x3e6)])}};this[_0xb6e9c0(0x595)][_0xb6e9c0(0x2cb)](_0x4d16c7,this[_0xb6e9c0(0x219)]);},Ji)),(this[_0x41772e(0x219)]=_0x442b16,this[_0x41772e(0x595)]=_0xf2e202,this[_0x41772e(0x27e)]=_0x18f5dc,this[_0x41772e(0x4b8)]=_0x14b45f,this[_0x41772e(0x58c)]=_0x2fceb4,this[_0x41772e(0x2ba)]=_0x4daeda,this[_0x41772e(0x63b)]=_0x7dff23,this['_refRangeService']=_0x5baa0e);}get['cursorInfo'](){const _0x4217d5=_0x17671e;return this['_cursorInfo$'][_0x4217d5(0x2d9)]();}get[_0x17671e(0x45b)](){const _0x57aef0=_0x17671e;return this[_0x57aef0(0x52c)][_0x57aef0(0x2d9)]();}[_0x17671e(0x37d)](){const _0x11c3f8=_0x17671e;super[_0x11c3f8(0x37d)](),this[_0x11c3f8(0x58b)]['next'](new Map()),this[_0x11c3f8(0x58b)][_0x11c3f8(0x409)](),this['_roomMembers$']['next']([]),this[_0x11c3f8(0x52c)][_0x11c3f8(0x409)]();}[_0x17671e(0x2ce)](){const _0x42f7ed=_0x17671e;this['_init']||(this[_0x42f7ed(0x422)]=!0x0,this[_0x42f7ed(0x595)][_0x42f7ed(0x3b1)][_0x42f7ed(0x42f)](A[_0x42f7ed(0x500)](this[_0x42f7ed(0x52d)]))[_0x42f7ed(0x383)](_0x5a9f9e=>{const _0x49c156=_0x42f7ed;_0x5a9f9e===re[_0x49c156(0x616)]?this[_0x49c156(0x27a)]():this['_toggleOffline']();}),this['_session'][_0x42f7ed(0x4c4)][_0x42f7ed(0x42f)](A[_0x42f7ed(0x500)](this[_0x42f7ed(0x52d)]))['subscribe'](_0x332b50=>{const _0x4d5182=_0x42f7ed,_0x6d79e9=_0x332b50['eventID'];_0x6d79e9===p[_0x4d5182(0x2d6)][_0x4d5182(0x2d7)]&&this[_0x4d5182(0x466)](_0x332b50),_0x6d79e9===p['CollaborationEvent'][_0x4d5182(0x63a)]&&this[_0x4d5182(0x40a)](_0x332b50);}),this[_0x42f7ed(0x346)](),this[_0x42f7ed(0x5f1)](this[_0x42f7ed(0x63b)][_0x42f7ed(0x329)](_0xbb5e71=>{const _0xb15c28=_0x42f7ed;if(this['_online']&&_0xbb5e71['id']===k['SetSelectionsOperation']['id']&&_0xbb5e71[_0xb15c28(0x4af)][_0xb15c28(0x678)]===this[_0xb15c28(0x219)]){const _0x5df4c4=_0xbb5e71[_0xb15c28(0x4af)];this['_updateLocalCursor'](_0x5df4c4[_0xb15c28(0x330)],_0x5df4c4[_0xb15c28(0x57c)][0x0]);}})));}[_0x17671e(0x466)](_0x1c27c0){const _0x519df8=_0x17671e;var _0x9d470f,_0x551f08;const {memberID:_0x4e34f4,selection:_0x36dc1c}=_0x1c27c0[_0x519df8(0x1e9)],{sheetName:_0x4bae25,range:_0x5cbc80}=wt['deserializeRangeWithSheet'](_0x36dc1c),_0x1369ff={'name':(_0x551f08=(_0x9d470f=this['_memberService']['getMember'](this['unitID'],_0x4e34f4))==null?void 0x0:_0x9d470f['name'])!=null?_0x551f08:'Unknown\x20user','range':this['_getMergeRange'](_0x4bae25,_0x5cbc80),'sheetID':_0x4bae25,'color':this[_0x519df8(0x4b8)][_0x519df8(0x2fb)](_0x4e34f4),'selection':_0x36dc1c},_0x546a16=this[_0x519df8(0x551)];_0x546a16['set'](_0x4e34f4,_0x1369ff),this['_cursorInfo$']['next'](_0x546a16);}['_onCursorDelete'](_0x340896){const _0x4276d3=_0x17671e,{memberID:_0x2547d3}=_0x340896[_0x4276d3(0x1e9)],_0x4076f4=this[_0x4276d3(0x551)];_0x4076f4[_0x4276d3(0x430)](_0x2547d3),this[_0x4276d3(0x58b)][_0x4276d3(0x2de)](_0x4076f4);}[_0x17671e(0x5f2)](_0x1d4182,_0x44b4ba){const _0xace0c5=_0x17671e;var _0x2db3ca,_0x580dbe;const _0x32872e=(_0x580dbe=(_0x2db3ca=this[_0xace0c5(0x2ba)][_0xace0c5(0x3a4)](this[_0xace0c5(0x219)]))==null?void 0x0:_0x2db3ca['getSheetBySheetId'](_0x1d4182))==null?void 0x0:_0x580dbe[_0xace0c5(0x4d2)]();return(_0x32872e==null?void 0x0:_0x32872e[_0xace0c5(0x311)](_0x4f3c99=>a[_0xace0c5(0x227)][_0xace0c5(0x410)](_0x4f3c99,_0x44b4ba)))||_0x44b4ba;}['_onRefRangeChange'](){const _0x4a3615=_0x17671e,_0x217e4b=new a[(_0x4a3615(0x443))](),_0xec31ed=Zi(),_0x3ca0c1=()=>{const _0x3be936=_0x4a3615;_0x217e4b[_0x3be936(0x37d)]();const _0x4110e0=(_0x58fc80,_0xf53ef,_0x20a14f,_0x64816d)=>{const _0x357c08=_0x3be936;let _0x42326b=[];switch(_0x58fc80['id']){case k[_0x357c08(0x3e1)][_0x357c08(0x475)]:{_0x42326b=k['handleDeleteRangeMoveLeft'](_0x58fc80,_0x64816d);break;}case k[_0x357c08(0x3e1)][_0x357c08(0x49b)]:{_0x42326b=k[_0x357c08(0x407)](_0x58fc80,_0x64816d);break;}case k[_0x357c08(0x3e1)]['InsertColCommandId']:{_0x42326b=k['handleInsertCol'](_0x58fc80,_0x64816d);break;}case k['EffectRefRangId'][_0x357c08(0x293)]:{_0x42326b=k[_0x357c08(0x468)](_0x58fc80,_0x64816d);break;}case k[_0x357c08(0x3e1)][_0x357c08(0x4f6)]:{_0x42326b=k[_0x357c08(0x521)](_0x58fc80,_0x64816d);break;}case k[_0x357c08(0x3e1)][_0x357c08(0x390)]:{_0x42326b=k[_0x357c08(0x437)](_0x58fc80,_0x64816d);break;}case k[_0x357c08(0x3e1)][_0x357c08(0x615)]:{_0x42326b=k[_0x357c08(0x4de)](_0x58fc80,_0x64816d);break;}case k[_0x357c08(0x3e1)][_0x357c08(0x652)]:{_0x42326b=k[_0x357c08(0x269)](_0x58fc80,_0x64816d);break;}case k[_0x357c08(0x3e1)][_0x357c08(0x5b3)]:{_0x42326b=k[_0x357c08(0x221)](_0x58fc80,_0x64816d);break;}}const _0x5e007f=k[_0x357c08(0x455)](_0x42326b,_0x64816d),_0x549f4c=this[_0x357c08(0x551)][_0x357c08(0x2a7)](_0xf53ef);if(_0x549f4c&&_0x5e007f){const _0x105c14={..._0x549f4c,'range':_0x5e007f};this[_0x357c08(0x551)]['set'](_0xf53ef,_0x105c14),_0xec31ed(()=>{const _0xe815d=_0x357c08,_0x554d95=this[_0xe815d(0x56a)][_0xe815d(0x480)](_0x5e007f,_0x4c0c73=>(_0x554d95['dispose'](),_0x4110e0(_0x4c0c73,_0xf53ef,_0x20a14f,_0x5e007f)));_0x217e4b['add'](_0x554d95);});}return{'redos':[],'undos':[]};};this[_0x3be936(0x551)][_0x3be936(0x5ea)]((_0xfba0bc,_0x3a49d6)=>{const _0x533a6a=_0x3be936,{range:_0x4274fe,sheetID:_0x50cb1b}=_0xfba0bc,_0x206faa=this[_0x533a6a(0x56a)][_0x533a6a(0x480)](_0x4274fe,_0x489872=>(_0x206faa['dispose'](),_0x4110e0(_0x489872,_0x3a49d6,_0x50cb1b,_0x4274fe)));_0x217e4b[_0x533a6a(0x27b)](_0x206faa);});};this['disposeWithMe'](a[_0x4a3615(0x60a)](this[_0x4a3615(0x58b)][_0x4a3615(0x383)](()=>{_0x3ca0c1();})));}[_0x17671e(0x27a)](){const _0x46cd3b=_0x17671e;var _0x556c91,_0x7f62bd;if(this[_0x46cd3b(0x5c2)]=!0x0,((_0x556c91=this['_univerInstanceService'][_0x46cd3b(0x3ab)]())==null?void 0x0:_0x556c91['getUnitId']())!==this['unitID'])return;const _0x42c38a=(_0x7f62bd=this[_0x46cd3b(0x27e)][_0x46cd3b(0x2a7)](k[_0x46cd3b(0x5b6)])['getCurrentSelections']())==null?void 0x0:_0x7f62bd[0x0],_0x4358af=this[_0x46cd3b(0x2ba)][_0x46cd3b(0x234)](a['UniverInstanceType'][_0x46cd3b(0x360)])[_0x46cd3b(0x363)]();_0x42c38a&&_0x4358af&&this[_0x46cd3b(0x33e)](_0x4358af[_0x46cd3b(0x36a)](),_0x42c38a);}[_0x17671e(0x397)](){const _0x298bef=_0x17671e;this[_0x298bef(0x5c2)]=!0x1;}};mt=zi([Ee(0x2,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),Ee(0x3,a[_0x17671e(0x52e)](yt)),Ee(0x4,a[_0x17671e(0x52e)](exports['MemberService'])),Ee(0x5,a[_0x17671e(0x4fc)]),Ee(0x6,a[_0x17671e(0x336)]),Ee(0x7,a['Inject'](k[_0x17671e(0x653)]))],mt);var Qi=Object[_0x17671e(0x545)],es=Object[_0x17671e(0x47f)],ts=(_0x27c29d,_0xb5d360,_0x543e2e,_0x30c792)=>{const _0x3bfef3=_0x17671e;for(var _0x1d559f=_0x30c792>0x1?void 0x0:_0x30c792?es(_0xb5d360,_0x543e2e):_0xb5d360,_0x3f9b29=_0x27c29d[_0x3bfef3(0x367)]-0x1,_0x15f077;_0x3f9b29>=0x0;_0x3f9b29--)(_0x15f077=_0x27c29d[_0x3f9b29])&&(_0x1d559f=(_0x30c792?_0x15f077(_0xb5d360,_0x543e2e,_0x1d559f):_0x15f077(_0x1d559f))||_0x1d559f);return _0x30c792&&_0x1d559f&&Qi(_0xb5d360,_0x543e2e,_0x1d559f),_0x1d559f;},tt=(_0x59782c,_0x53a1fd)=>(_0x244581,_0x2f94bc)=>_0x53a1fd(_0x244581,_0x2f94bc,_0x59782c);let Oe=class extends a[_0x17671e(0x2c4)]{constructor(_0xd3a490,_0x1c3336,_0x43062b){const _0x38b75b=_0x17671e;super(),I(this,_0x38b75b(0x38e),new Map()),I(this,'_entityInit$',new A[(_0x38b75b(0x4c2))]()),(this['_univerInstanceService']=_0xd3a490,this[_0x38b75b(0x27e)]=_0x1c3336,this[_0x38b75b(0x32f)]=_0x43062b,this[_0x38b75b(0x422)]());}['dispose'](){const _0x4bc4b2=_0x17671e;super[_0x4bc4b2(0x37d)](),this[_0x4bc4b2(0x4bd)][_0x4bc4b2(0x409)](),this[_0x4bc4b2(0x38e)]['forEach'](_0x562aa9=>_0x562aa9[_0x4bc4b2(0x37d)]());}[_0x17671e(0x5eb)](_0x4e7711){const _0x1625f0=_0x17671e;return this[_0x1625f0(0x38e)]['has'](_0x4e7711)?this[_0x1625f0(0x38e)][_0x1625f0(0x2a7)](_0x4e7711)[_0x1625f0(0x4d5)]:this['_entityInit$'][_0x1625f0(0x42f)](A[_0x1625f0(0x335)](_0x546863=>_0x546863[_0x1625f0(0x219)]===_0x4e7711),A[_0x1625f0(0x654)](_0x2baea1=>_0x2baea1[_0x1625f0(0x4d5)]));}[_0x17671e(0x422)](){const _0x1101e5=_0x17671e;this['_univerInstanceService'][_0x1101e5(0x58a)](a['UniverInstanceType'][_0x1101e5(0x360)])[_0x1101e5(0x42f)](A[_0x1101e5(0x500)](this[_0x1101e5(0x52d)]))['subscribe'](async _0x25d50c=>{const _0xcbf85c=_0x1101e5,_0x4350da=_0x25d50c[_0xcbf85c(0x21c)](),_0x18bc8d=await this['_startSheetCollabCursor'](_0x4350da);this[_0xcbf85c(0x4bd)][_0xcbf85c(0x2de)](_0x18bc8d),this[_0xcbf85c(0x38e)][_0xcbf85c(0x4da)](_0x4350da,_0x18bc8d);}),this[_0x1101e5(0x2ba)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x1101e5(0x4ca)])[_0x1101e5(0x42f)](A[_0x1101e5(0x500)](this[_0x1101e5(0x52d)]))[_0x1101e5(0x42f)](A[_0x1101e5(0x335)](_0x259b00=>!_0x259b00[_0x1101e5(0x21c)]()[_0x1101e5(0x412)]('__')))[_0x1101e5(0x383)](async _0x1b3b4d=>{const _0x35d5b5=_0x1101e5,_0x3d5e69=_0x1b3b4d['getUnitId'](),_0x2fbd04=await this[_0x35d5b5(0x2f9)](_0x3d5e69);this[_0x35d5b5(0x4bd)][_0x35d5b5(0x2de)](_0x2fbd04),this[_0x35d5b5(0x38e)]['set'](_0x3d5e69,_0x2fbd04);}),A[_0x1101e5(0x5dc)](this[_0x1101e5(0x2ba)][_0x1101e5(0x226)](a[_0x1101e5(0x664)]['UNIVER_DOC']),this[_0x1101e5(0x2ba)][_0x1101e5(0x226)](a[_0x1101e5(0x664)][_0x1101e5(0x360)]))[_0x1101e5(0x42f)](A['takeUntil'](this[_0x1101e5(0x52d)]))[_0x1101e5(0x383)](_0x507626=>{const _0x3d9dc5=_0x1101e5,_0x8ec6c3=_0x507626[_0x3d9dc5(0x21c)](),_0x1b0537=this[_0x3d9dc5(0x38e)][_0x3d9dc5(0x2a7)](_0x8ec6c3);_0x1b0537&&(_0x1b0537['dispose'](),this['_entities']['delete'](_0x8ec6c3));});}async[_0x17671e(0x4a9)](_0x48f1fe){const _0x2e6ac7=_0x17671e,_0x10f863=await this[_0x2e6ac7(0x32f)][_0x2e6ac7(0x358)](_0x48f1fe),_0x379a10=this[_0x2e6ac7(0x27e)][_0x2e6ac7(0x4ed)](mt,_0x48f1fe,_0x10f863);return _0x379a10[_0x2e6ac7(0x2ce)](),_0x379a10;}async[_0x17671e(0x2f9)](_0x2ffc23){const _0x1864cf=_0x17671e,_0x215fdd=await this[_0x1864cf(0x32f)][_0x1864cf(0x358)](_0x2ffc23),_0xd1db37=this[_0x1864cf(0x27e)][_0x1864cf(0x4ed)](vt,_0x2ffc23,_0x215fdd);return _0xd1db37[_0x1864cf(0x2ce)](),_0xd1db37;}};Oe=ts([tt(0x0,a[_0x17671e(0x4fc)]),tt(0x1,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),tt(0x2,a[_0x17671e(0x52e)](exports[_0x17671e(0x355)]))],Oe);const Ne=0x14,jt=0xc8,nt=0x4,ns=0x5;function is(_0x4bd7d6,_0x16688c){const _0x1e482a=_0x17671e;let {radius:_0x593f7a,width:_0x1f7f9d,height:_0x4d600d}=_0x16688c;_0x593f7a=_0x593f7a!=null?_0x593f7a:0x0,_0x1f7f9d=_0x1f7f9d!=null?_0x1f7f9d:0x1e,_0x4d600d=_0x4d600d!=null?_0x4d600d:0x1e;let _0x1c1e05=0x0,_0x594486=0x0,_0x5722c7=0x0;_0x1c1e05=_0x594486=_0x5722c7=Math['min'](_0x593f7a,_0x1f7f9d/0x2,_0x4d600d/0x2),_0x4bd7d6[_0x1e482a(0x203)](),_0x4bd7d6['moveTo'](_0x1c1e05,0x0),_0x4bd7d6[_0x1e482a(0x2c2)](_0x1f7f9d-_0x594486,0x0),_0x4bd7d6[_0x1e482a(0x32d)](_0x1f7f9d-_0x594486,_0x594486,_0x594486,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bd7d6['lineTo'](_0x1f7f9d,_0x4d600d-_0x5722c7),_0x4bd7d6[_0x1e482a(0x32d)](_0x1f7f9d-_0x5722c7,_0x4d600d-_0x5722c7,_0x5722c7,0x0,Math['PI']/0x2,!0x1),_0x4bd7d6[_0x1e482a(0x2c2)](0x0,_0x4d600d),_0x4bd7d6[_0x1e482a(0x2c2)](0x0,_0x1c1e05),_0x4bd7d6[_0x1e482a(0x32d)](_0x1c1e05,_0x1c1e05,_0x1c1e05,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bd7d6[_0x1e482a(0x61f)](),_0x16688c['fill']&&(_0x4bd7d6[_0x1e482a(0x27f)](),_0x4bd7d6['fillStyle']=_0x16688c[_0x1e482a(0x309)],_0x16688c['fillRule']===_0x1e482a(0x3d9)?_0x4bd7d6[_0x1e482a(0x309)]('evenodd'):_0x4bd7d6['fill'](),_0x4bd7d6[_0x1e482a(0x417)]());}class ze extends K[_0x17671e(0x532)]{constructor(_0x4268e2,_0x28b70a){const _0x33e5d0=_0x17671e;super(_0x4268e2,_0x28b70a),I(this,_0x33e5d0(0x28e)),I(this,_0x33e5d0(0x5e3)),(this['color']=_0x28b70a==null?void 0x0:_0x28b70a['color'],this[_0x33e5d0(0x5e3)]=_0x28b70a==null?void 0x0:_0x28b70a[_0x33e5d0(0x5e3)]);}static[_0x17671e(0x3bb)](_0x3eb1b9,_0xd881bc){const _0x3fac75=_0x17671e,{text:_0x895eee,color:_0xc56c0a}=_0xd881bc;_0x3eb1b9[_0x3fac75(0x27f)](),_0x3eb1b9[_0x3fac75(0x313)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x85b780=_0x3eb1b9[_0x3fac75(0x55b)](_0x895eee)['width'],_0x2b1536=Math[_0x3fac75(0x31f)](_0x85b780+0x2*nt,jt);is(_0x3eb1b9,{'height':Ne,'radius':0x4,'width':_0x2b1536,'fill':_0xc56c0a,'evented':!0x1}),_0x3eb1b9['fillStyle']=_0x3fac75(0x54c);const _0xd2f040=nt,_0x5d1c29=Ne-ns,_0x16a171=jt-0x2*nt;if(_0x85b780>_0x16a171){let _0xd16936='',_0x135cbc=0x0;for(const _0x5ac09 of _0x895eee){const _0x103644=_0x3eb1b9[_0x3fac75(0x55b)](_0x5ac09)['width'];if(_0x135cbc+_0x103644<=_0x16a171-_0x3eb1b9[_0x3fac75(0x55b)](_0x3fac75(0x3b7))[_0x3fac75(0x2c6)])_0xd16936+=_0x5ac09,_0x135cbc+=_0x103644;else{_0xd16936+=_0x3fac75(0x3b7);break;}}_0x3eb1b9['fillText'](_0xd16936,_0xd2f040,_0x5d1c29);}else _0x3eb1b9['fillText'](_0x895eee,_0xd2f040,_0x5d1c29);_0x3eb1b9[_0x3fac75(0x417)]();}[_0x17671e(0x5a6)](_0x3c12eb){const _0x5a70dd=_0x17671e;ze[_0x5a70dd(0x3bb)](_0x3c12eb,this);}}const it=_0x17671e(0x3de),ss=_0x17671e(0x3f7),rs=_0x17671e(0x677),Pe=0x6,os=1.5,st=0x4,as=1.5,cs='rgba(255,\x20255,\x20255,\x200.01)';class Ht{constructor(_0x30dc5c,_0x334d12,_0x4423ef,_0x3ed385){const _0x196a9c=_0x17671e;I(this,_0x196a9c(0x53c),[]),I(this,_0x196a9c(0x489),null),I(this,_0x196a9c(0x257),null),I(this,_0x196a9c(0x205),null),I(this,_0x196a9c(0x591),null),I(this,'_eventUnsubscribe',null),(this[_0x196a9c(0x38b)]=_0x30dc5c,this[_0x196a9c(0x41e)]=_0x334d12,this['_docSkeleton']=_0x4423ef,this['_document']=_0x3ed385,this['_render']());}set['_hover'](_0x22810c){const _0x145017=_0x17671e;_0x22810c?(this[_0x145017(0x205)]&&this[_0x145017(0x205)]['hide'](),this[_0x145017(0x257)]&&this[_0x145017(0x257)][_0x145017(0x30f)]()):(this[_0x145017(0x205)]&&this[_0x145017(0x205)][_0x145017(0x30f)](),this[_0x145017(0x257)]&&this[_0x145017(0x257)][_0x145017(0x59b)]());}[_0x17671e(0x37d)](){const _0x769863=_0x17671e;for(const _0x2ec440 of this['_shapes'])_0x2ec440[_0x769863(0x37d)]();this['_textBubble']&&this[_0x769863(0x257)]['dispose'](),this[_0x769863(0x205)]&&this[_0x769863(0x205)][_0x769863(0x37d)](),this[_0x769863(0x489)]&&this[_0x769863(0x489)][_0x769863(0x37d)](),this['_eventUnsubscribe']&&this[_0x769863(0x62a)]();}['_render'](){const _0x5b30e0=_0x17671e;var _0x28e240;const {_docSkeleton:_0x2a2437,_document:_0xe9dc99}=this,{color:_0x2cfa3c,name:_0x5a0b41,ranges:_0x105536}=this[_0x5b30e0(0x38b)],_0x2e5032=_0xe9dc99[_0x5b30e0(0x50d)](),{docsLeft:_0x50cc31,docsTop:_0x32f841}=_0x2e5032,_0xc1682b=new Z[(_0x5b30e0(0x34c))](_0x2e5032,_0x2a2437);for(const {startOffset:_0xc36416,endOffset:_0x55a911,rangeType:_0x1ece2f,segmentId:_0x516872,segmentPage:_0x1845de,collapsed:_0x3ca621,isActive:_0x192455}of _0x105536){const _0x577ad3=_0x2a2437[_0x5b30e0(0x1f6)](_0xc36416,!0x0,_0x516872,_0x1845de);let _0x5120b7=_0x2a2437[_0x5b30e0(0x1f6)](_0x55a911,!0x0,_0x516872,_0x1845de);if(_0x5120b7==null&&(_0x5120b7=_0x2a2437[_0x5b30e0(0x1f6)](_0x55a911-0x1,!0x1,_0x516872,_0x1845de)),_0x192455){const {contentBoxPointGroup:_0x24e0d0}=_0xc1682b['getRangePointData'](_0x5120b7,_0x5120b7);if(_0x24e0d0[_0x5b30e0(0x367)]===0x0)continue;this[_0x5b30e0(0x3e9)](_0x2cfa3c,_0x24e0d0,_0x50cc31,_0x32f841,_0x5a0b41),this[_0x5b30e0(0x62a)]=this['_handleHover']();}if(!_0x3ca621&&_0x577ad3&&_0x5120b7){if(_0x1ece2f===a[_0x5b30e0(0x3f3)][_0x5b30e0(0x289)]){const _0x2ec89a=new Z[(_0x5b30e0(0x3f1))](_0x2e5032,_0x2a2437),{pointGroup:_0xe06aa0}=(_0x28e240=_0x2ec89a[_0x5b30e0(0x498)](_0x577ad3,_0x5120b7))!=null?_0x28e240:{};if(_0xe06aa0==null||_0xe06aa0[_0x5b30e0(0x367)]===0x0)continue;this['_drawRectRange'](_0x2cfa3c,_0xe06aa0,_0x50cc31,_0x32f841);}else{const {borderBoxPointGroup:_0x17f4fd}=_0xc1682b[_0x5b30e0(0x498)](_0x577ad3,_0x5120b7);if(_0x17f4fd['length']===0x0)continue;this['_drawTextRange'](_0x2cfa3c,_0x17f4fd,_0x50cc31,_0x32f841);}}}}[_0x17671e(0x3e9)](_0x356e6c,_0x2b0ad3,_0x339e31,_0x109888,_0x4d7a4a){const _0x1cfc4d=_0x17671e,_0xf91843=this[_0x1cfc4d(0x492)](_0x2b0ad3),{left:_0x4b7773,top:_0x14a516,height:_0x52bf35}=_0xf91843,_0x9b7e52=this['_getScale'](),_0x4573e4=as/_0x9b7e52,_0x4d2542=new K['Rect'](it+a[_0x1cfc4d(0x341)][_0x1cfc4d(0x3e7)](Pe),{'left':_0x4b7773+_0x339e31-_0x4573e4,'top':_0x14a516+_0x109888,'height':_0x52bf35,'width':os,'fill':_0x356e6c||K[_0x1cfc4d(0x60b)](a[_0x1cfc4d(0x31c)][_0x1cfc4d(0x473)],0x0),'strokeWidth':_0x4573e4,'stroke':cs,'evented':!0x0});this[_0x1cfc4d(0x489)]=_0x4d2542,this[_0x1cfc4d(0x41e)]['addObject'](_0x4d2542,Z[_0x1cfc4d(0x5ad)]);const _0x2980f3=new K[(_0x1cfc4d(0x647))](it+a[_0x1cfc4d(0x341)][_0x1cfc4d(0x3e7)](Pe),{'left':_0x4b7773+_0x339e31-_0x4573e4,'top':_0x14a516+_0x109888-st/0x2,'height':st,'width':st,'fill':_0x356e6c||K['getColor'](a[_0x1cfc4d(0x31c)][_0x1cfc4d(0x473)],0x0),'strokeWidth':0x0,'stroke':_0x356e6c||K[_0x1cfc4d(0x60b)](a[_0x1cfc4d(0x31c)][_0x1cfc4d(0x473)],0x0),'evented':!0x1});this[_0x1cfc4d(0x205)]=_0x2980f3,this['_scene']['addObject'](_0x2980f3,Z[_0x1cfc4d(0x5ad)]);const _0x124cd4=new ze(it+a[_0x1cfc4d(0x341)][_0x1cfc4d(0x3e7)](Pe),{'left':_0x4b7773+_0x339e31-_0x4573e4,'top':_0x14a516+_0x109888-Ne,'text':_0x4d7a4a,'color':_0x356e6c});this['_textBubble']=_0x124cd4,this['_scene'][_0x1cfc4d(0x459)](_0x124cd4,Z[_0x1cfc4d(0x5ad)]),this[_0x1cfc4d(0x39c)]=!0x1;}[_0x17671e(0x364)](){const _0x2370c7=_0x17671e,_0x659c74=this[_0x2370c7(0x489)]['onPointerEnter$'][_0x2370c7(0x35a)](()=>{this['_hover']=!0x0;}),_0x360740=this[_0x2370c7(0x489)][_0x2370c7(0x537)][_0x2370c7(0x35a)](()=>{const _0x2e6761=_0x2370c7;this['_hideTimer']&&clearTimeout(this[_0x2e6761(0x591)]),this['_hideTimer']=setTimeout(()=>{const _0xdceba1=_0x2e6761;this[_0xdceba1(0x39c)]=!0x1;},0x7d0);});return()=>{const _0x3264d0=_0x2370c7;_0x659c74[_0x3264d0(0x4c1)](),_0x360740['unsubscribe']();};}[_0x17671e(0x273)](_0x4edf96,_0x3927b4,_0x5c5fdd,_0x43806e){const _0x2315ac=_0x17671e,_0x4942a8=new a[(_0x2315ac(0x657))](_0x4edf96)[_0x2315ac(0x524)](0.2)['toRgbString'](),_0x28eb63=new K[(_0x2315ac(0x578))](ss+a[_0x2315ac(0x341)][_0x2315ac(0x3e7)](Pe),{'pointsGroup':_0x3927b4,'fill':_0x4942a8||K[_0x2315ac(0x60b)](a['COLORS'][_0x2315ac(0x473)],0.2),'left':_0x5c5fdd,'top':_0x43806e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2315ac(0x263)](_0x28eb63),this[_0x2315ac(0x41e)][_0x2315ac(0x459)](_0x28eb63,Z[_0x2315ac(0x5ad)]);}[_0x17671e(0x542)](_0x9e19e1,_0x1fbe30,_0x151cce,_0x175949){const _0x4c085d=_0x17671e,_0x41a4a3=new a[(_0x4c085d(0x657))](_0x9e19e1)[_0x4c085d(0x524)](0.2)['toRgbString'](),_0x436db9=new K['RegularPolygon'](rs+a[_0x4c085d(0x341)][_0x4c085d(0x3e7)](Pe),{'pointsGroup':_0x1fbe30,'fill':_0x41a4a3||K[_0x4c085d(0x60b)](a[_0x4c085d(0x31c)][_0x4c085d(0x473)],0.2),'left':_0x151cce,'top':_0x175949,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c085d(0x53c)]['push'](_0x436db9),this[_0x4c085d(0x41e)]['addObject'](_0x436db9,Z[_0x4c085d(0x5ad)]);}[_0x17671e(0x492)](_0x3a974f){const _0xe41c47=_0x3a974f[0x0],_0x16e033=_0xe41c47[0x0],_0x5c6962=_0xe41c47[0x2],{x:_0x422c2f,y:_0x156301}=_0x16e033,{x:_0x1d3710,y:_0x278a9d}=_0x5c6962;return{'left':_0x422c2f,'top':_0x156301,'width':_0x1d3710-_0x422c2f,'height':_0x278a9d-_0x156301};}[_0x17671e(0x21f)](){const _0x32c39d=_0x17671e,{scaleX:_0x8384bb,scaleY:_0x131c38}=this['_scene'][_0x32c39d(0x25f)]();return Math[_0x32c39d(0x499)](_0x8384bb,_0x131c38);}}var ls=Object[_0x17671e(0x545)],hs=Object[_0x17671e(0x47f)],_s=(_0x3a88b6,_0x518116,_0x159f79,_0x4a4331)=>{for(var _0x26b318=_0x4a4331>0x1?void 0x0:_0x4a4331?hs(_0x518116,_0x159f79):_0x518116,_0x4ed7cc=_0x3a88b6['length']-0x1,_0x45c2e1;_0x4ed7cc>=0x0;_0x4ed7cc--)(_0x45c2e1=_0x3a88b6[_0x4ed7cc])&&(_0x26b318=(_0x4a4331?_0x45c2e1(_0x518116,_0x159f79,_0x26b318):_0x45c2e1(_0x26b318))||_0x26b318);return _0x4a4331&&_0x26b318&&ls(_0x518116,_0x159f79,_0x26b318),_0x26b318;},$e=(_0x29ad3e,_0xbe5582)=>(_0x15859e,_0x1548a4)=>_0xbe5582(_0x15859e,_0x1548a4,_0x29ad3e);let pt=class extends a[_0x17671e(0x2c4)]{constructor(_0x3e9f1f,_0x39d3f4,_0x2beca6,_0x2fa141,_0xc376bd){const _0x5cf052=_0x17671e;super(),I(this,'_cursorShapes',[]),I(this,_0x5cf052(0x2b6),[]),(this[_0x5cf052(0x3ff)]=_0x3e9f1f,this[_0x5cf052(0x281)]=_0x39d3f4,this[_0x5cf052(0x663)]=_0x2beca6,this[_0x5cf052(0x63b)]=_0x2fa141,this[_0x5cf052(0x2a3)]=_0xc376bd,this[_0x5cf052(0x422)]());}[_0x17671e(0x422)](){const _0x595041=_0x17671e,_0x796c13=this[_0x595041(0x3ff)][_0x595041(0x678)],_0x434d19=this[_0x595041(0x281)];this[_0x595041(0x5f1)](A[_0x595041(0x50c)]([this['_collabCursorController'][_0x595041(0x5eb)](_0x796c13),this[_0x595041(0x2a3)][_0x595041(0x373)]])['pipe'](V[_0x595041(0x372)](([_0x1bbf43,_0x531fbc])=>({'skeleton':_0x434d19[_0x595041(0x620)](),'cursors':[..._0x1bbf43[_0x595041(0x3d5)]()][_0x595041(0x4e1)](_0x2b7a2c=>({..._0x2b7a2c,'color':_0x531fbc[_0x2b7a2c[_0x595041(0x28e)]]}))})))['subscribe'](_0xfe0865=>{const _0x3ff14b=_0x595041;if(this[_0x3ff14b(0x2b9)](),_0xfe0865){const {skeleton:_0x483030,cursors:_0xdbf514}=_0xfe0865;this[_0x3ff14b(0x1ed)](_0x483030,_0xdbf514);}})),this[_0x595041(0x2be)](),this[_0x595041(0x20b)]();}[_0x17671e(0x1ed)](_0x1f238e,_0x4f263b){const _0x414337=_0x17671e,{scene:_0x38dbc1,mainComponent:_0x2730e6}=this[_0x414337(0x3ff)],_0x40b1c4=_0x4f263b[_0x414337(0x372)](_0x2cac8a=>new Ht(_0x2cac8a,_0x38dbc1,_0x1f238e,_0x2730e6));this[_0x414337(0x23e)]=_0x40b1c4,this['_cursors']=_0x4f263b;}['_refreshCollabCursors'](){const _0x22e3b5=_0x17671e;this['_removeCollabCursors']();const {scene:_0x37a1be,mainComponent:_0x2f764f}=this[_0x22e3b5(0x3ff)],_0x594797=this[_0x22e3b5(0x281)][_0x22e3b5(0x620)](),_0x20eb55=this[_0x22e3b5(0x2b6)][_0x22e3b5(0x372)](_0x351115=>new Ht(_0x351115,_0x37a1be,_0x594797,_0x2f764f));this[_0x22e3b5(0x23e)]=_0x20eb55;}['_removeCollabCursors'](){const _0x28f1bc=_0x17671e;this[_0x28f1bc(0x23e)][_0x28f1bc(0x5ea)](_0x288638=>_0x288638['dispose']()),this[_0x28f1bc(0x23e)]=[];}[_0x17671e(0x20b)](){const _0x3840f7=_0x17671e,_0x308ab9=[Z[_0x3840f7(0x57d)]['id']];this[_0x3840f7(0x5f1)](this['_commandService'][_0x3840f7(0x329)](_0x232669=>{const _0x5839d7=_0x3840f7;_0x308ab9[_0x5839d7(0x272)](_0x232669['id'])&&_0x232669[_0x5839d7(0x4af)]['unitId']===this[_0x5839d7(0x3ff)][_0x5839d7(0x678)]&&this[_0x5839d7(0x645)]();}));}[_0x17671e(0x2be)](){const _0x14e10d=_0x17671e;this['disposeWithMe'](a[_0x14e10d(0x586)](this['_context'][_0x14e10d(0x449)][_0x14e10d(0x209)])['pipe'](V[_0x14e10d(0x335)](_0x3e38b6=>_0x3e38b6['type']===K[_0x14e10d(0x66c)][_0x14e10d(0x47b)]),V[_0x14e10d(0x20a)](0x10))[_0x14e10d(0x383)](()=>{const _0x3d4f63=_0x14e10d;this[_0x3d4f63(0x645)]();}));}};pt=_s([$e(0x1,a[_0x17671e(0x52e)](Re[_0x17671e(0x5e6)])),$e(0x2,a['Inject'](Oe)),$e(0x3,a['ICommandService']),$e(0x4,a[_0x17671e(0x52e)](a[_0x17671e(0x52b)]))],pt);const us=0x1,ds=1.5;class mn extends K['Shape']{constructor(_0x5dcde3,_0x698a30){const _0x541b89=_0x17671e;super(_0x5dcde3,_0x698a30),I(this,_0x541b89(0x477)),I(this,_0x541b89(0x4d3),!0x1),I(this,'_range'),I(this,'_name',''),I(this,_0x541b89(0x60f),'top'),I(this,'_backgroundColor'),(_0x698a30&&this[_0x541b89(0x35b)](_0x698a30),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x541b89(0x35b)]({'hovered':!0x0})),this[_0x541b89(0x537)]['subscribeEvent'](()=>this[_0x541b89(0x35b)]({'hovered':!0x1})));}[_0x17671e(0x35b)](_0x3b4ed2){const _0x599f76=_0x17671e;var _0x25ce76,_0x1e78c7,_0xabd7e8,_0x188088,_0xe546d6,_0x10168b;this['_color']=(_0x25ce76=_0x3b4ed2[_0x599f76(0x28e)])!=null?_0x25ce76:this['_color'],this[_0x599f76(0x4d3)]=(_0x1e78c7=_0x3b4ed2[_0x599f76(0x28d)])!=null?_0x1e78c7:this['_hovered'],this[_0x599f76(0x239)]=(_0xabd7e8=_0x3b4ed2[_0x599f76(0x3e6)])!=null?_0xabd7e8:this[_0x599f76(0x239)],this[_0x599f76(0x2c0)]=(_0x188088=_0x3b4ed2[_0x599f76(0x3ea)])!=null?_0x188088:this[_0x599f76(0x2c0)],this[_0x599f76(0x60f)]=(_0xe546d6=_0x3b4ed2['labelPosition'])!=null?_0xe546d6:this[_0x599f76(0x60f)],this[_0x599f76(0x474)]=(_0x10168b=_0x3b4ed2[_0x599f76(0x268)])!=null?_0x10168b:this[_0x599f76(0x474)],this['transformByState']({'width':_0x3b4ed2[_0x599f76(0x2c6)],'height':_0x3b4ed2[_0x599f76(0x61c)]});}[_0x17671e(0x2fe)](_0xb95000){const _0x15a927=_0x17671e,{row:_0x4cd9af,column:_0x3d41e7}=_0xb95000;if(_0x4cd9af>=this['_range']['startRow']&&_0x4cd9af<=this[_0x15a927(0x239)][_0x15a927(0x392)]&&_0x3d41e7>=this[_0x15a927(0x239)][_0x15a927(0x279)]&&_0x3d41e7<=this['_range']['endColumn']){this[_0x15a927(0x35b)]({'hovered':!0x0});return;}this[_0x15a927(0x35b)]({'hovered':!0x1});}[_0x17671e(0x63e)](_0x5c1f62){return!0x1;}[_0x17671e(0x5a6)](_0x5a8849){const _0x18af15=_0x17671e;K[_0x18af15(0x647)][_0x18af15(0x3bb)](_0x5a8849,{'width':this['width'],'height':this[_0x18af15(0x61c)],'strokeWidth':ds,'stroke':this[_0x18af15(0x477)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x18af15(0x4d3)]&&(_0x5a8849[_0x18af15(0x27f)](),_0x5a8849['transform'](0x1,0x0,0x0,0x1,this[_0x18af15(0x2c6)],this['_labelPosition']===_0x18af15(0x4a1)?0x0:-Ne),ze[_0x18af15(0x3bb)](_0x5a8849,{'text':this[_0x18af15(0x2c0)],'color':this[_0x18af15(0x477)]}),_0x5a8849['restore']());}}var fs=Object[_0x17671e(0x545)],vs=Object[_0x17671e(0x47f)],ms=(_0x20a5ff,_0x1fb350,_0x3d7293,_0x98011b)=>{const _0xe1e85c=_0x17671e;for(var _0x43e263=_0x98011b>0x1?void 0x0:_0x98011b?vs(_0x1fb350,_0x3d7293):_0x1fb350,_0x2cebea=_0x20a5ff[_0xe1e85c(0x367)]-0x1,_0x16e117;_0x2cebea>=0x0;_0x2cebea--)(_0x16e117=_0x20a5ff[_0x2cebea])&&(_0x43e263=(_0x98011b?_0x16e117(_0x1fb350,_0x3d7293,_0x43e263):_0x16e117(_0x43e263))||_0x43e263);return _0x98011b&&_0x43e263&&fs(_0x1fb350,_0x3d7293,_0x43e263),_0x43e263;},rt=(_0x30db88,_0x4c4b65)=>(_0x28904a,_0x5c2542)=>_0x4c4b65(_0x28904a,_0x5c2542,_0x30db88);const ps=0x1389;let St=class extends a['RxDisposable']{constructor(_0x150683,_0x22317a,_0x34c6af,_0x45f6f5){const _0x45e5b=_0x17671e;super(),I(this,_0x45e5b(0x2b6),new Set()),I(this,_0x45e5b(0x3e4),null),(this[_0x45e5b(0x3ff)]=_0x150683,this['_sheetSkeletonManagerService']=_0x22317a,this[_0x45e5b(0x663)]=_0x34c6af,this[_0x45e5b(0x2a3)]=_0x45f6f5,this[_0x45e5b(0x422)]());}['_init'](){const _0x55587f=_0x17671e;this[_0x55587f(0x463)][_0x55587f(0x3fa)][_0x55587f(0x42f)](V['takeUntil'](this[_0x55587f(0x52d)]),V[_0x55587f(0x654)](_0x2204b3=>{const _0x3ee681=_0x55587f;if(_0x2204b3){const _0x3077c1=_0x2204b3[_0x3ee681(0x29f)];return A[_0x3ee681(0x50c)](this['_collabCursorController'][_0x3ee681(0x5eb)](this[_0x3ee681(0x3ff)][_0x3ee681(0x678)]),this[_0x3ee681(0x2a3)][_0x3ee681(0x373)])[_0x3ee681(0x42f)](V[_0x3ee681(0x372)](([_0x53b639,_0x4b7dde])=>{const _0x475677=_0x3ee681,_0x30da9d=new Map();return _0x53b639[_0x475677(0x5ea)]((_0x20b4c1,_0x41a030)=>{const _0x350632=_0x475677;if(_0x20b4c1[_0x350632(0x3d4)]===_0x3077c1){const _0x79993d={..._0x20b4c1};_0x79993d['color']=_0x4b7dde[_0x20b4c1['color']],_0x30da9d[_0x350632(0x4da)](_0x41a030,_0x79993d);}}),{'skeleton':_0x2204b3,'cursors':_0x30da9d};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3116ce,cursors:_0x32c209})=>{const _0xfc4de9=_0x55587f;this[_0xfc4de9(0x2b9)](),_0x3116ce&&this[_0xfc4de9(0x1ed)](_0x3116ce,_0x32c209);}),this[_0x55587f(0x463)][_0x55587f(0x3fa)][_0x55587f(0x383)](_0xd62c50=>{const _0x5df7c7=_0x55587f;if(_0xd62c50==null)return;const {skeleton:_0x5e4ae6}=_0xd62c50,{scene:_0x6ee888}=this[_0x5df7c7(0x3ff)];_0x6ee888[_0x5df7c7(0x41d)][_0x5df7c7(0x35a)](a[_0x5df7c7(0x2a9)](_0x33cf91=>{const _0x5e3a38=_0x5df7c7;var _0x448aa7,_0x2b1524;const {offsetX:_0x39775d,offsetY:_0x412342}=_0x33cf91,{x:_0x3d4071,y:_0x4b2100}=_0x6ee888['getRelativeToViewportCoord'](K['Vector2']['FromArray']([_0x39775d,_0x412342])),{scaleX:_0x43ad8a,scaleY:_0x3fe45b}=_0x6ee888['getAncestorScale'](),_0x9ff43f=_0x6ee888[_0x5e3a38(0x1fd)](Te[_0x5e3a38(0x631)][_0x5e3a38(0x2bd)]),_0x45b808=_0x6ee888[_0x5e3a38(0x1f0)](K[_0x5e3a38(0x670)][_0x5e3a38(0x29e)]([_0x3d4071,_0x4b2100]),_0x9ff43f),_0x5c8437=_0x5e4ae6['getCellPositionByOffset'](_0x39775d,_0x412342,_0x43ad8a,_0x3fe45b,_0x45b808);((_0x448aa7=this[_0x5e3a38(0x3e4)])==null?void 0x0:_0x448aa7[_0x5e3a38(0x549)])===_0x5c8437[_0x5e3a38(0x549)]&&((_0x2b1524=this[_0x5e3a38(0x3e4)])==null?void 0x0:_0x2b1524[_0x5e3a38(0x4b1)])===_0x5c8437[_0x5e3a38(0x4b1)]||this[_0x5e3a38(0x2b6)]['forEach'](_0x535765=>{const _0x4fa239=_0x5e3a38;_0x535765[_0x4fa239(0x2fe)](_0x5c8437);});},0x64));});}['_updateCollabCursors'](_0x5be85c,_0x379401){const _0x1b58ed=_0x17671e;var _0x33f42d;const _0x2711cd=(_0x33f42d=this[_0x1b58ed(0x463)]['getCurrent']())==null?void 0x0:_0x33f42d[_0x1b58ed(0x305)];if(!_0x2711cd)return;const _0x35f180=this[_0x1b58ed(0x1fb)]();if(!_0x35f180)return;this[_0x1b58ed(0x2b6)][_0x1b58ed(0x5ea)](_0x7aa3e5=>{const _0x2c7da9=_0x1b58ed;_0x7aa3e5[_0x2c7da9(0x4b3)]();});const {scene:_0x19e0e0}=_0x35f180,_0x3d6590=Ss(Array[_0x1b58ed(0x601)](_0x379401[_0x1b58ed(0x3d5)]()))['map'](_0x17c4f3=>{const _0x480d96=_0x1b58ed,{color:_0x2b6ca9,range:_0x9b6304,name:_0x3279bd,selection:_0x12942a,sheetID:_0x3903f9}=_0x17c4f3,{startColumn:_0x20730d,startRow:_0x26446e,endColumn:_0x48ddbf,endRow:_0x13c1b2}=_0x9b6304,_0x5be369=Te[_0x480d96(0x255)](_0x26446e,_0x20730d,_0x19e0e0,_0x2711cd),_0x13d25f=Te[_0x480d96(0x255)](_0x13c1b2,_0x48ddbf,_0x19e0e0,_0x2711cd),{columnHeaderHeightAndMarginTop:_0x2da6d2}=_0x2711cd,{startX:_0x311f16,startY:_0x55a5df}=_0x5be369,{endX:_0x3276ea,endY:_0x41c3cd}=_0x13d25f,_0x372e96=_0x3276ea-_0x311f16,_0x191038=_0x41c3cd-_0x55a5df,_0x18cdcd={'labelPosition':_0x55a5df-_0x2da6d2>=Ne?'top':_0x480d96(0x4a1),'sheetID':_0x3903f9,'range':_0x9b6304,'color':_0x2b6ca9,'name':_0x3279bd,'selection':_0x12942a,'left':_0x311f16,'top':_0x55a5df,'width':_0x372e96,'height':_0x191038,'evented':!0x1,'zIndex':ps};return new mn(_0x3279bd,_0x18cdcd);});_0x19e0e0[_0x1b58ed(0x662)](_0x3d6590,us),this['_cursors']=new Set(_0x3d6590);}[_0x17671e(0x2b9)](){const _0x1d9f29=_0x17671e;var _0x586b41;(_0x586b41=this['_cursors'])==null||_0x586b41['forEach'](_0x50c330=>_0x50c330[_0x1d9f29(0x37d)]());}[_0x17671e(0x1fb)](){const _0x1e235c=_0x17671e;return Te[_0x1e235c(0x666)](this[_0x1e235c(0x3ff)][_0x1e235c(0x361)],this[_0x1e235c(0x3ff)]);}};St=ms([rt(0x1,a[_0x17671e(0x52e)](Te[_0x17671e(0x45f)])),rt(0x2,a[_0x17671e(0x52e)](Oe)),rt(0x3,a[_0x17671e(0x52e)](a[_0x17671e(0x52b)]))],St);function Ss(_0x5d2197){const _0x2f9cc9=_0x17671e,_0x5bc7e0=new Map();return _0x5d2197[_0x2f9cc9(0x5ea)](_0x48fa33=>{const _0x78a545=_0x2f9cc9;if(_0x5bc7e0[_0x78a545(0x44d)](_0x48fa33['selection'])){const _0x2869ca=_0x5bc7e0[_0x78a545(0x2a7)](_0x48fa33['selection']);_0x2869ca[_0x78a545(0x3ea)]+=',\x20'+_0x48fa33[_0x78a545(0x3ea)];}else _0x5bc7e0['set'](_0x48fa33[_0x78a545(0x425)],_0x48fa33);}),Array['from'](_0x5bc7e0[_0x2f9cc9(0x3d5)]());}var ee=function(){const _0x59d11d=_0x17671e;return ee=Object[_0x59d11d(0x256)]||function(_0x3436da){const _0x466a2a=_0x59d11d;for(var _0x1ceb49,_0x119e24=0x1,_0x50fbfc=arguments['length'];_0x119e24<_0x50fbfc;_0x119e24++){_0x1ceb49=arguments[_0x119e24];for(var _0x1224b2 in _0x1ceb49)Object[_0x466a2a(0x4ef)]['hasOwnProperty']['call'](_0x1ceb49,_0x1224b2)&&(_0x3436da[_0x1224b2]=_0x1ceb49[_0x1224b2]);}return _0x3436da;},ee[_0x59d11d(0x40e)](this,arguments);},gs=function(_0x4d764e,_0x2c1b68){const _0x48429b=_0x17671e;var _0x5e60b1={};for(var _0x196791 in _0x4d764e)Object[_0x48429b(0x4ef)][_0x48429b(0x577)][_0x48429b(0x5b0)](_0x4d764e,_0x196791)&&_0x2c1b68[_0x48429b(0x47e)](_0x196791)<0x0&&(_0x5e60b1[_0x196791]=_0x4d764e[_0x196791]);if(_0x4d764e!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x199bdb=0x0,_0x196791=Object[_0x48429b(0x636)](_0x4d764e);_0x199bdb<_0x196791['length'];_0x199bdb++)_0x2c1b68[_0x48429b(0x47e)](_0x196791[_0x199bdb])<0x0&&Object['prototype'][_0x48429b(0x5db)][_0x48429b(0x5b0)](_0x4d764e,_0x196791[_0x199bdb])&&(_0x5e60b1[_0x196791[_0x199bdb]]=_0x4d764e[_0x196791[_0x199bdb]]);}return _0x5e60b1;},Ot=z[_0x17671e(0x610)](function(_0x2244f2,_0x5689f5){const _0x4bb899=_0x17671e;var _0x2c71dd=_0x2244f2['icon'],_0x127c5c=_0x2244f2['id'],_0x86e3ea=_0x2244f2[_0x4bb899(0x5d1)],_0x2683ff=_0x2244f2[_0x4bb899(0x26c)],_0x5e3030=gs(_0x2244f2,['icon','id','className',_0x4bb899(0x26c)]),_0x282bd1=_0x4bb899(0x48e)['concat'](_0x127c5c,'\x20')[_0x4bb899(0x59e)](_0x86e3ea||'')['trim'](),_0x213bca=z[_0x4bb899(0x587)]('_'[_0x4bb899(0x59e)](Es()));return pn(_0x2c71dd,''[_0x4bb899(0x59e)](_0x127c5c),{'defIds':_0x2c71dd[_0x4bb899(0x368)],'idSuffix':_0x213bca[_0x4bb899(0x42d)]},ee({'ref':_0x5689f5,'className':_0x282bd1},_0x5e3030),_0x2683ff);});function pn(_0x1c3c9b,_0xc8eb5c,_0x21b2ee,_0x4c7181,_0x46d8b0){const _0x1ef584=_0x17671e;return z[_0x1ef584(0x38a)](_0x1c3c9b[_0x1ef584(0x304)],ee(ee({'key':_0xc8eb5c},Is(_0x1c3c9b,_0x21b2ee,_0x46d8b0)),_0x4c7181),(Cs(_0x1c3c9b,_0x21b2ee)[_0x1ef584(0x470)]||[])[_0x1ef584(0x372)](function(_0x17e49d,_0x1f2157){const _0x2d8c7a=_0x1ef584;return pn(_0x17e49d,''['concat'](_0xc8eb5c,'-')[_0x2d8c7a(0x59e)](_0x1c3c9b[_0x2d8c7a(0x304)],'-')[_0x2d8c7a(0x59e)](_0x1f2157),_0x21b2ee,void 0x0,_0x46d8b0);}));}function Is(_0x316893,_0x32dec9,_0x4152ac){const _0x3615ee=_0x17671e;var _0x1927ee=ee({},_0x316893['attrs']);_0x4152ac!=null&&_0x4152ac[_0x3615ee(0x536)]&&_0x1927ee[_0x3615ee(0x309)]===_0x3615ee(0x536)&&(_0x1927ee['fill']=_0x4152ac[_0x3615ee(0x536)]);var _0x469a9e=_0x32dec9[_0x3615ee(0x368)];return!_0x469a9e||_0x469a9e[_0x3615ee(0x367)]===0x0||(_0x316893[_0x3615ee(0x304)]===_0x3615ee(0x4f1)&&_0x1927ee['xlink:href']&&(_0x1927ee[_0x3615ee(0x5ed)]=_0x1927ee[_0x3615ee(0x5ed)]+_0x32dec9[_0x3615ee(0x22f)]),Object['entries'](_0x1927ee)[_0x3615ee(0x5ea)](function(_0x3958ab){const _0x196f91=_0x3615ee;var _0x3cea8d=_0x3958ab[0x0],_0x2f8770=_0x3958ab[0x1];typeof _0x2f8770==_0x196f91(0x3c3)&&(_0x1927ee[_0x3cea8d]=_0x2f8770['replace'](/url\(#(.*)\)/,_0x196f91(0x228)[_0x196f91(0x59e)](_0x32dec9[_0x196f91(0x22f)],')')));})),_0x1927ee;}function Cs(_0xb18ee4,_0x46eba9){const _0x479c08=_0x17671e;var _0x24ead2,_0x30300c=_0x46eba9[_0x479c08(0x368)];return!_0x30300c||_0x30300c[_0x479c08(0x367)]===0x0?_0xb18ee4:_0xb18ee4[_0x479c08(0x304)]===_0x479c08(0x2b5)&&(!((_0x24ead2=_0xb18ee4[_0x479c08(0x470)])===null||_0x24ead2===void 0x0)&&_0x24ead2[_0x479c08(0x367)])?ee(ee({},_0xb18ee4),{'children':_0xb18ee4[_0x479c08(0x470)][_0x479c08(0x372)](function(_0x5844c8){const _0x3ce55f=_0x479c08;return typeof _0x5844c8[_0x3ce55f(0x290)]['id']==_0x3ce55f(0x3c3)&&_0x30300c&&_0x30300c[_0x3ce55f(0x47e)](_0x5844c8[_0x3ce55f(0x290)]['id'])>-0x1?ee(ee({},_0x5844c8),{'attrs':ee(ee({},_0x5844c8[_0x3ce55f(0x290)]),{'id':_0x5844c8[_0x3ce55f(0x290)]['id']+_0x46eba9['idSuffix']})}):_0x5844c8;})}):_0xb18ee4;}function Es(){const _0xa569b2=_0x17671e;return Math[_0xa569b2(0x31d)]()[_0xa569b2(0x401)](0x24)[_0xa569b2(0x2ac)](0x2,0x8);}Ot[_0x17671e(0x2b4)]=_0x17671e(0x5bd);var bs={'tag':_0x17671e(0x3f0),'attrs':{'fill':_0x17671e(0x45c),'viewBox':_0x17671e(0x299),'width':_0x17671e(0x1f8),'height':_0x17671e(0x1f8)},'children':[{'tag':'g','attrs':{'clipPath':_0x17671e(0x212)},'children':[{'tag':_0x17671e(0x243),'attrs':{'stroke':_0x17671e(0x3a2),'d':_0x17671e(0x1e3),'strokeLinecap':_0x17671e(0x2e2),'strokeLinejoin':_0x17671e(0x2e2),'strokeWidth':1.2}}]},{'tag':_0x17671e(0x2b5),'attrs':{},'children':[{'tag':_0x17671e(0x2cc),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x17671e(0x243),'attrs':{'fill':'#fff','d':_0x17671e(0x49f)}}]}]}],'defIds':[_0x17671e(0x1f3)]},Sn=z['forwardRef'](function(_0x7f08a2,_0x2a8983){const _0x16cd4a=_0x17671e;return z[_0x16cd4a(0x38a)](Ot,Object['assign']({},_0x7f08a2,{'id':_0x16cd4a(0x35e),'ref':_0x2a8983,'icon':bs}));});Sn[_0x17671e(0x2b4)]='OffLineSingle';var Ts={'tag':_0x17671e(0x3f0),'attrs':{'fill':_0x17671e(0x45c),'viewBox':'0\x200\x2017\x2016','width':_0x17671e(0x1f8),'height':_0x17671e(0x1f8)},'children':[{'tag':'g','attrs':{'clipPath':_0x17671e(0x3e0)},'children':[{'tag':_0x17671e(0x243),'attrs':{'stroke':_0x17671e(0x3a2),'d':_0x17671e(0x548),'strokeLinecap':_0x17671e(0x2e2),'strokeLinejoin':_0x17671e(0x2e2),'strokeWidth':1.2}}]},{'tag':_0x17671e(0x2b5),'attrs':{},'children':[{'tag':_0x17671e(0x2cc),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x17671e(0x49f),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},gn=z['forwardRef'](function(_0x2a3741,_0x1cf41c){const _0xeae26e=_0x17671e;return z[_0xeae26e(0x38a)](Ot,Object[_0xeae26e(0x256)]({},_0x2a3741,{'id':'on-line-single','ref':_0x1cf41c,'icon':Ts}));});gn['displayName']=_0x17671e(0x483);function In(_0x202a21){const _0x40c6b9=_0x17671e;var _0x5ab70f,_0x5c637d,_0x3bf4cc='';if(typeof _0x202a21==_0x40c6b9(0x3c3)||typeof _0x202a21==_0x40c6b9(0x20c))_0x3bf4cc+=_0x202a21;else{if(typeof _0x202a21=='object'){if(Array[_0x40c6b9(0x385)](_0x202a21)){var _0x2048fa=_0x202a21[_0x40c6b9(0x367)];for(_0x5ab70f=0x0;_0x5ab70f<_0x2048fa;_0x5ab70f++)_0x202a21[_0x5ab70f]&&(_0x5c637d=In(_0x202a21[_0x5ab70f]))&&(_0x3bf4cc&&(_0x3bf4cc+='\x20'),_0x3bf4cc+=_0x5c637d);}else{for(_0x5c637d in _0x202a21)_0x202a21[_0x5c637d]&&(_0x3bf4cc&&(_0x3bf4cc+='\x20'),_0x3bf4cc+=_0x5c637d);}}}return _0x3bf4cc;}function Rs(){const _0x4f8eac=_0x17671e;for(var _0x59f829,_0x511ba4,_0xf1912e=0x0,_0x21819d='',_0x12209e=arguments[_0x4f8eac(0x367)];_0xf1912e<_0x12209e;_0xf1912e++)(_0x59f829=arguments[_0xf1912e])&&(_0x511ba4=In(_0x59f829))&&(_0x21819d&&(_0x21819d+='\x20'),_0x21819d+=_0x511ba4);return _0x21819d;}const ys=_0x17671e(0x444),Os='univer-online-status-title',Ds='univer-online-status',ws=_0x17671e(0x55d),Ps=_0x17671e(0x4e2),Ue={'onlineStatusIcon':ys,'onlineStatusTitle':Os,'onlineStatus':Ds,'online':ws,'offline':Ps};function Us(_0x4074a5){const _0x35807f=_0x17671e;switch(_0x4074a5){case q[_0x35807f(0x333)]:return _0x35807f(0x57a);case q['CONFLICT']:return _0x35807f(0x64b);case q[_0x35807f(0x54b)]:return _0x35807f(0x5a9);case q[_0x35807f(0x4b7)]:return _0x35807f(0x46b);case q[_0x35807f(0x594)]:case q['AWAITING_WITH_PENDING']:return _0x35807f(0x3cb);case q[_0x35807f(0x59c)]:case q[_0x35807f(0x303)]:return _0x35807f(0x481);}}function Cn(_0x364774){const _0x592a15=_0x17671e,{status$:_0x59d046}=_0x364774,_0x2061a5=te[_0x592a15(0x603)](_0x59d046,q[_0x592a15(0x4b7)]),_0x4b78ff=a['useDependency'](a[_0x592a15(0x530)]),_0x3d054a=a[_0x592a15(0x629)](exports[_0x592a15(0x355)]),_0x56c98f=_0x2061a5!==q[_0x592a15(0x333)],_0x54f9be=_0x4b78ff['t'](Us(_0x2061a5)),_0x17bc62=Rs(Ue['onlineStatus'],{[Ue[_0x592a15(0x28f)]]:_0x56c98f,[Ue[_0x592a15(0x633)]]:!_0x56c98f}),_0x111d9c=_0x56c98f?z[_0x592a15(0x38a)](gn,null):z[_0x592a15(0x38a)](Sn,null),_0x5e8686=z[_0x592a15(0x43f)](()=>{const _0x309fd7=_0x592a15;_0x56c98f||_0x3d054a[_0x309fd7(0x544)]();},[_0x56c98f,_0x3d054a]);function _0x3eb6ee(){const _0x59acde=_0x592a15;return z[_0x59acde(0x38a)](_0x59acde(0x464),{'className':_0x17bc62,'onClick':_0x5e8686},z[_0x59acde(0x38a)](_0x59acde(0x464),{'className':Ue[_0x59acde(0x32b)]},_0x111d9c),z[_0x59acde(0x38a)](_0x59acde(0x464),{'className':Ue[_0x59acde(0x4ab)]},_0x54f9be));}return _0x56c98f?_0x3eb6ee():z['createElement'](Se[_0x592a15(0x326)],{'title':_0x4b78ff['t'](_0x592a15(0x50b))},_0x3eb6ee());}var Ms=Object['defineProperty'],As=Object['getOwnPropertyDescriptor'],Ns=(_0x51479d,_0x294889,_0x2d1388,_0x590a12)=>{const _0x79b451=_0x17671e;for(var _0x54fc07=_0x590a12>0x1?void 0x0:_0x590a12?As(_0x294889,_0x2d1388):_0x294889,_0x4f977a=_0x51479d[_0x79b451(0x367)]-0x1,_0x500cec;_0x4f977a>=0x0;_0x4f977a--)(_0x500cec=_0x51479d[_0x4f977a])&&(_0x54fc07=(_0x590a12?_0x500cec(_0x294889,_0x2d1388,_0x54fc07):_0x500cec(_0x54fc07))||_0x54fc07);return _0x590a12&&_0x54fc07&&Ms(_0x294889,_0x2d1388,_0x54fc07),_0x54fc07;},je=(_0x26afb4,_0x1b06fe)=>(_0x18b5f2,_0x28ad84)=>_0x1b06fe(_0x18b5f2,_0x28ad84,_0x26afb4);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0xb19326,_0x3c2c86,_0x46c6be,_0x474ee7){const _0x5a9733=_0x17671e;super(),I(this,'_status$',new A[(_0x5a9733(0x1e1))](q[_0x5a9733(0x4b7)])),(this[_0x5a9733(0x2ba)]=_0xb19326,this[_0x5a9733(0x3bc)]=_0x3c2c86,this[_0x5a9733(0x27e)]=_0x46c6be,this[_0x5a9733(0x637)]=_0x474ee7,this['_initStatusComponent'](),this[_0x5a9733(0x1f1)]());}[_0x17671e(0x1f1)](){const _0x2177fd=_0x17671e;this['disposeWithMe'](this[_0x2177fd(0x2ba)][_0x2177fd(0x21e)][_0x2177fd(0x42f)](A[_0x2177fd(0x654)](()=>{const _0x35a2e2=_0x2177fd,_0x414cfe=this[_0x35a2e2(0x2ba)]['getFocusedUnit']();return _0x414cfe?this['_collaborationController'][_0x35a2e2(0x36d)](_0x414cfe[_0x35a2e2(0x21c)]()):A['of'](null);}),A['switchMap'](_0x3c4103=>_0x3c4103?_0x3c4103[_0x2177fd(0x3ca)]:A['of'](q[_0x2177fd(0x4b7)])))[_0x2177fd(0x383)](_0x1edf8c=>{const _0x44f1b0=_0x2177fd;this[_0x44f1b0(0x2b0)][_0x44f1b0(0x2de)](_0x1edf8c);}));}[_0x17671e(0x621)](){const _0x366a2e=_0x17671e;this['disposeWithMe'](this[_0x366a2e(0x3bc)][_0x366a2e(0x41a)](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x366a2e(0x51b)](Ls({'status$':this[_0x366a2e(0x2b0)][_0x366a2e(0x3b4)]()}),this['_injector'])));}},exports[_0x17671e(0x556)]=Ns([je(0x0,a['IUniverInstanceService']),je(0x1,te['IUIPartsService']),je(0x2,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),je(0x3,a[_0x17671e(0x52e)](exports['CollaborationController']))],exports['DesktopCollaborationStatusDisplayController']);function Ls(_0xd7c3b4){const {status$:_0x3c8b79}=_0xd7c3b4;return function(){return z['createElement'](Cn,{'status$':_0x3c8b79});};}const Dt=a[_0x17671e(0x2d2)](_0x17671e(0x626));var xs=Object[_0x17671e(0x545)],$s=Object['getOwnPropertyDescriptor'],js=(_0x33d546,_0x1b8f80,_0x1c3531,_0xf64b83)=>{const _0xc8fd84=_0x17671e;for(var _0x3b3377=_0xf64b83>0x1?void 0x0:_0xf64b83?$s(_0x1b8f80,_0x1c3531):_0x1b8f80,_0x12b1c3=_0x33d546[_0xc8fd84(0x367)]-0x1,_0x524999;_0x12b1c3>=0x0;_0x12b1c3--)(_0x524999=_0x33d546[_0x12b1c3])&&(_0x3b3377=(_0xf64b83?_0x524999(_0x1b8f80,_0x1c3531,_0x3b3377):_0x524999(_0x3b3377))||_0x3b3377);return _0xf64b83&&_0x3b3377&&xs(_0x1b8f80,_0x1c3531,_0x3b3377),_0x3b3377;},be=(_0x323f9a,_0x5da3c2)=>(_0x2fe406,_0x3fca11)=>_0x5da3c2(_0x2fe406,_0x3fca11,_0x323f9a);exports['DataLoaderController']=class extends a[_0x17671e(0x2c4)]{constructor(_0x1235e7,_0x340821,_0x107c78,_0x1083b5,_0x323f37,_0x4f0f1e){const _0x394057=_0x17671e;super(),this['_urlService']=_0x1235e7,this[_0x394057(0x3f4)]=_0x340821,this['_commandService']=_0x107c78,this['_localCacheService']=_0x1083b5,this['_snapshotService']=_0x323f37,_0x4f0f1e?_0x4f0f1e==null||_0x4f0f1e['whenReady']()[_0x394057(0x2a2)](()=>this[_0x394057(0x422)]()):(this[_0x394057(0x3f4)][_0x394057(0x597)](_0x394057(0x47d),_0x394057(0x23f)),this['_init']());}async[_0x17671e(0x422)](){const _0x2492dd=_0x17671e,_0x493716=this['_urlService']['getParam'](_0x2492dd(0x361)),_0xd9dc96=this['_urlService'][_0x2492dd(0x2af)](_0x2492dd(0x224));if(!_0x493716||!_0xd9dc96){this[_0x2492dd(0x3f4)][_0x2492dd(0x597)]('[DataLoaderController]',_0x2492dd(0x321));return;}switch(Number(_0xd9dc96)){case se[_0x2492dd(0x360)]:{const _0x37a22a=await this[_0x2492dd(0x2a5)](_0x493716);this[_0x2492dd(0x48f)](_0x37a22a);break;}case se[_0x2492dd(0x4ca)]:{await this[_0x2492dd(0x3b2)](_0x493716);break;}default:{this['_logService'][_0x2492dd(0x2c9)]('[DataLoaderController]','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x17671e(0x48f)](_0x429984){const _0x5ed08e=_0x17671e;await this[_0x5ed08e(0x324)](_0x429984),_0x429984[_0x5ed08e(0x2a8)]['pipe'](A['takeUntil'](this[_0x5ed08e(0x52d)]))[_0x5ed08e(0x383)](_0x141db9=>{_0x141db9&&this['_updateURLWithCurrentState'](_0x141db9);}),this[_0x5ed08e(0x4f2)][_0x5ed08e(0x66b)][_0x5ed08e(0x42f)](A[_0x5ed08e(0x500)](this[_0x5ed08e(0x52d)]))[_0x5ed08e(0x383)](()=>this[_0x5ed08e(0x324)](_0x429984));}[_0x17671e(0x31a)](_0x48614d,_0x1ed745=!0x1){const _0x27595d=_0x17671e,_0x170214=this[_0x27595d(0x4f2)]['getParam'](_0x27595d(0x39e));_0x48614d[_0x27595d(0x36a)]()!==_0x170214&&this['_urlService'][_0x27595d(0x33b)]('subunit',_0x48614d['getSheetId'](),_0x1ed745);}async['_updateSubUnitFromURLParams'](_0x48739f){const _0x2e553d=_0x17671e;var _0x247c21;const _0x10de02=this[_0x2e553d(0x4f2)][_0x2e553d(0x2af)]('subunit');if(!_0x10de02||!_0x48739f['getSheetBySheetId'](_0x10de02)){const _0x45cf1=_0x48739f[_0x2e553d(0x2d8)]()[0x0],_0x1f551d=_0x48739f['getSheetBySheetId'](_0x45cf1);if(!_0x1f551d)return;this[_0x2e553d(0x31a)](_0x1f551d,!0x0),await this[_0x2e553d(0x63b)][_0x2e553d(0x3c9)](k[_0x2e553d(0x3fb)]['id'],{'unitId':_0x48739f[_0x2e553d(0x21c)](),'subUnitId':_0x45cf1});return;}((_0x247c21=_0x48739f[_0x2e553d(0x363)]())==null?void 0x0:_0x247c21[_0x2e553d(0x36a)]())!==_0x10de02&&await this['_commandService']['executeCommand'](k[_0x2e553d(0x3fb)]['id'],{'unitId':_0x48739f[_0x2e553d(0x21c)](),'subUnitId':_0x10de02});}async[_0x17671e(0x2a5)](_0x2ac758){const _0x3eecfd=_0x17671e;let _0x5ecf8f=0x0;const _0x34db54=await this[_0x3eecfd(0x4a3)][_0x3eecfd(0x3d3)](_0x2ac758);return _0x34db54&&(_0x34db54[_0x3eecfd(0x3b3)]||_0x34db54[_0x3eecfd(0x4a4)][_0x3eecfd(0x367)]!==0x0)&&(_0x5ecf8f=_0x34db54[_0x3eecfd(0x5d2)]),_0x5ecf8f===0x0&&this[_0x3eecfd(0x3f4)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3eecfd(0x1f9)][_0x3eecfd(0x5da)](_0x2ac758,_0x5ecf8f);}async[_0x17671e(0x3b2)](_0x511498){const _0xffc0c5=_0x17671e;let _0x2d860e=0x0;const _0x135a0b=await this[_0xffc0c5(0x4a3)][_0xffc0c5(0x3d3)](_0x511498);return _0x135a0b&&(_0x135a0b[_0xffc0c5(0x3b3)]||_0x135a0b[_0xffc0c5(0x4a4)][_0xffc0c5(0x367)]!==0x0)&&(_0x2d860e=_0x135a0b[_0xffc0c5(0x5d2)]),_0x2d860e===0x0&&this['_logService'][_0xffc0c5(0x597)](_0xffc0c5(0x47d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xffc0c5(0x1f9)]['loadDoc'](_0x511498,_0x2d860e);}},exports[_0x17671e(0x4d9)]=js([be(0x0,Dt),be(0x1,a[_0x17671e(0x431)]),be(0x2,a[_0x17671e(0x336)]),be(0x3,a['Inject'](exports[_0x17671e(0x2f5)])),be(0x4,a[_0x17671e(0x52e)](p[_0x17671e(0x4e6)])),be(0x5,a['Optional'](Ln[_0x17671e(0x514)]))],exports[_0x17671e(0x4d9)]);var Hs=Object[_0x17671e(0x545)],Bs=Object[_0x17671e(0x47f)],ks=(_0x1aaa98,_0x314576,_0x3d414d,_0x464994)=>{const _0x276efb=_0x17671e;for(var _0x3b7ef5=_0x464994>0x1?void 0x0:_0x464994?Bs(_0x314576,_0x3d414d):_0x314576,_0x20ae7f=_0x1aaa98[_0x276efb(0x367)]-0x1,_0x3e34ea;_0x20ae7f>=0x0;_0x20ae7f--)(_0x3e34ea=_0x1aaa98[_0x20ae7f])&&(_0x3b7ef5=(_0x464994?_0x3e34ea(_0x314576,_0x3d414d,_0x3b7ef5):_0x3e34ea(_0x3b7ef5))||_0x3b7ef5);return _0x464994&&_0x3b7ef5&&Hs(_0x314576,_0x3d414d,_0x3b7ef5),_0x3b7ef5;},Bt=(_0x26f60c,_0x1e0467)=>(_0x1b01a1,_0xa248bd)=>_0x1e0467(_0x1b01a1,_0xa248bd,_0x26f60c);const Ws='DEFAULT_FILE_NAME',Fs=_0x17671e(0x4c3);let Ve=class extends a['Disposable']{constructor(_0x42bbfc,_0x30ae2b){const _0x457ccd=_0x17671e;super(),this['_univerInstanceService']=_0x42bbfc,this[_0x457ccd(0x573)]=_0x30ae2b,this[_0x457ccd(0x422)]();}[_0x17671e(0x422)](){const _0x3ac683=_0x17671e;this[_0x3ac683(0x5f1)](this[_0x3ac683(0x2ba)]['focused$'][_0x3ac683(0x383)](()=>{const _0x2dc5b4=_0x3ac683;var _0x3d56b8;const _0x249206=this['_univerInstanceService'][_0x2dc5b4(0x3ab)]();let _0x3a47e9=(_0x3d56b8=this[_0x2dc5b4(0x573)]['getConfig'](Ws))!=null?_0x3d56b8:Fs;_0x249206 instanceof a['Workbook']&&(_0x3a47e9=_0x249206[_0x2dc5b4(0x3ea)]),document[_0x2dc5b4(0x1db)]=_0x3a47e9;}));}};Ve=ks([Bt(0x0,a[_0x17671e(0x4fc)]),Bt(0x1,a[_0x17671e(0x505)])],Ve);var Vs=Object[_0x17671e(0x545)],Gs=Object['getOwnPropertyDescriptor'],Ys=(_0x3997dc,_0x3e6fee,_0x549dfc,_0x129b6b)=>{const _0x401709=_0x17671e;for(var _0x1ce301=_0x129b6b>0x1?void 0x0:_0x129b6b?Gs(_0x3e6fee,_0x549dfc):_0x3e6fee,_0x299ff7=_0x3997dc[_0x401709(0x367)]-0x1,_0x14963f;_0x299ff7>=0x0;_0x299ff7--)(_0x14963f=_0x3997dc[_0x299ff7])&&(_0x1ce301=(_0x129b6b?_0x14963f(_0x3e6fee,_0x549dfc,_0x1ce301):_0x14963f(_0x1ce301))||_0x1ce301);return _0x129b6b&&_0x1ce301&&Vs(_0x3e6fee,_0x549dfc,_0x1ce301),_0x1ce301;},ot=(_0xa04a77,_0x19ef33)=>(_0xbe088f,_0x5ae117)=>_0x19ef33(_0xbe088f,_0x5ae117,_0xa04a77);let Ge=class{constructor(_0x56db92,_0xab7438,_0x3a03fa){const _0x3f2c9d=_0x17671e;this[_0x3f2c9d(0x573)]=_0x56db92,this['_httpService']=_0xab7438,this[_0x3f2c9d(0x679)]=_0x3a03fa,this[_0x3f2c9d(0x2ce)]();}[_0x17671e(0x2ce)](){const _0x3b1a8e=_0x17671e;this[_0x3b1a8e(0x54d)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x53fc4c,_0x5a2385)=>_0x5a2385(_0x53fc4c)[_0x3b1a8e(0x42f)](A[_0x3b1a8e(0x5f6)](async _0xf538f6=>{const _0x27073=_0x3b1a8e,_0x41c26f=_0xf538f6;if(_0x41c26f['status']===0x191&&window[_0x27073(0x5a5)](this[_0x27073(0x679)]['t'](_0x27073(0x286)))){const _0x347300=window[_0x27073(0x5c0)](window[_0x27073(0x675)][_0x27073(0x62d)]);window[_0x27073(0x675)][_0x27073(0x62d)]=this[_0x27073(0x31e)]()+_0x27073(0x50a)+_0x347300;}return _0x41c26f;}))});}[_0x17671e(0x31e)](){const _0x4b1ccf=_0x17671e;var _0x508ad3,_0x556adf;const _0x1018b7=this['_configService'][_0x4b1ccf(0x2cf)](on),_0x2b9c3f=this[_0x4b1ccf(0x573)][_0x4b1ccf(0x2cf)](ne);return(_0x556adf=(_0x508ad3=_0x2b9c3f==null?void 0x0:_0x2b9c3f['loginUrlKey'])!=null?_0x508ad3:_0x1018b7)!=null?_0x556adf:Gn;}};Ge=Ys([ot(0x0,a['IConfigService']),ot(0x1,a['Inject'](Q[_0x17671e(0x5df)])),ot(0x2,a['Inject'](a['LocaleService']))],Ge);var Ks=Object[_0x17671e(0x545)],qs=Object['getOwnPropertyDescriptor'],zs=(_0x4dffd1,_0x46ce49,_0xced53,_0x1e8f12)=>{const _0x164113=_0x17671e;for(var _0x295387=_0x1e8f12>0x1?void 0x0:_0x1e8f12?qs(_0x46ce49,_0xced53):_0x46ce49,_0x29a3ce=_0x4dffd1[_0x164113(0x367)]-0x1,_0xfcda43;_0x29a3ce>=0x0;_0x29a3ce--)(_0xfcda43=_0x4dffd1[_0x29a3ce])&&(_0x295387=(_0x1e8f12?_0xfcda43(_0x46ce49,_0xced53,_0x295387):_0xfcda43(_0x295387))||_0x295387);return _0x1e8f12&&_0x295387&&Ks(_0x46ce49,_0xced53,_0x295387),_0x295387;},kt=(_0xc1851b,_0x40c4b5)=>(_0x2c6283,_0x14f30d)=>_0x40c4b5(_0x2c6283,_0x14f30d,_0xc1851b);const En=_0x17671e(0x402),Xs=_0x17671e(0x5ab);exports['AuthzIoHttpService']=class extends a[_0x17671e(0x632)]{constructor(_0x10e8a8,_0x4900ff){const _0x5ea5a1=_0x17671e;super(),this[_0x5ea5a1(0x59a)]=_0x10e8a8,this[_0x5ea5a1(0x573)]=_0x4900ff,this[_0x5ea5a1(0x369)]();}[_0x17671e(0x369)](){const _0x529aa8=_0x17671e,_0x62f190=this;this[_0x529aa8(0x5f1)](this[_0x529aa8(0x59a)][_0x529aa8(0x617)]({'priority':0x3e7,'interceptor':Q[_0x529aa8(0x3a7)]({'isMatch'(_0x4d4039){const _0x8a5efb=_0x529aa8;var _0x297089;if(_0x4d4039['method']===_0x8a5efb(0x576)&&((_0x297089=_0x4d4039[_0x8a5efb(0x518)])!=null&&_0x297089['body'])){const {objectID:_0x5d42be,objectType:_0x6a822f}=_0x4d4039[_0x8a5efb(0x518)][_0x8a5efb(0x599)]||{};if(!_0x5d42be||_0x6a822f===void 0x0)return!0x1;const _0x452cd9=_0x62f190[_0x8a5efb(0x64d)]()+'/'+_0x6a822f+_0x8a5efb(0x4fd)+_0x5d42be+_0x8a5efb(0x590);if(_0x4d4039[_0x8a5efb(0x660)]===_0x452cd9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x369643){const _0x43c6b4=_0x529aa8;var _0x539d96;return(_0x539d96=_0x369643[_0x43c6b4(0x518)])==null?void 0x0:_0x539d96[_0x43c6b4(0x599)];},'mergeParamsToRequest'(_0x5b9064,_0x29c8b9){const _0x3ddcdd=_0x529aa8,_0x2f362f=_0x62f190[_0x3ddcdd(0x64d)]()+_0x3ddcdd(0x5fd),_0x29fe43=_0x5b9064['reduce']((_0x3ab269,_0x9a224c)=>{const _0x2339a8=_0x3ddcdd,{unitID:_0xdbf84,objectID:_0x5b0c22,objectType:_0x33de1d,actions:_0x126c15}=_0x9a224c;return _0x3ab269[_0xdbf84]||(_0x3ab269[_0xdbf84]={}),_0x3ab269[_0xdbf84][_0x5b0c22]||(_0x3ab269[_0xdbf84][_0x5b0c22]={'objectID':_0x5b0c22,'objectType':_0x33de1d,'actions':[]}),_0x3ab269[_0xdbf84][_0x5b0c22]['actions'][_0x2339a8(0x263)](..._0x126c15),_0x3ab269;},{}),_0x44ba4b=[];for(const _0x53aade in _0x29fe43)for(const _0x2b56a4 in _0x29fe43[_0x53aade]){const {actions:_0x35475f,objectType:_0x3d72e7}=_0x29fe43[_0x53aade][_0x2b56a4],_0x16022a=[...new Set(_0x35475f)];_0x44ba4b[_0x3ddcdd(0x263)]({'unitID':_0x53aade,'objectID':_0x2b56a4,'objectType':_0x3d72e7,'actions':_0x16022a});}return new Q[(_0x3ddcdd(0x667))](_0x3ddcdd(0x576),_0x2f362f,{'headers':_0x29c8b9[_0x3ddcdd(0x57f)],'withCredentials':_0x29c8b9[_0x3ddcdd(0x550)],'responseType':_0x29c8b9[_0x3ddcdd(0x3b6)],'body':{'requests':_0x44ba4b}});}},{'distributeResult'(_0x4de3d0,_0x57e157){const _0x2742d3=_0x529aa8,{objectActions:_0x20ecc0}=_0x4de3d0;return _0x57e157[_0x2742d3(0x372)](_0x4e7bc5=>{const _0x459478=_0x2742d3,{unitID:_0x170421,objectID:_0x1c3714,actions:_0x2f8809}=_0x4e7bc5,_0x295025=_0x20ecc0[_0x459478(0x311)](_0xa6632f=>_0xa6632f[_0x459478(0x219)]===_0x170421&&_0xa6632f[_0x459478(0x62b)]===_0x1c3714),_0x3da11e=_0x2f8809[_0x459478(0x372)](_0x417cbf=>_0x295025==null?void 0x0:_0x295025[_0x459478(0x512)][_0x459478(0x311)](_0x36f5a7=>_0x36f5a7[_0x459478(0x427)]===_0x417cbf))[_0x459478(0x335)](_0xd9b442=>!!_0xd9b442);return{'config':_0x4e7bc5,'result':{'actions':_0x3da11e,'error':_0x4de3d0[_0x459478(0x2c9)]}};});}})}));}[_0x17671e(0x64d)](){const _0x3c7b69=_0x17671e;var _0x4e9e4d,_0x2e0ee7;const _0x37bf04=this[_0x3c7b69(0x573)][_0x3c7b69(0x2cf)](En),_0x1ed17c=this[_0x3c7b69(0x573)][_0x3c7b69(0x2cf)](ne);return(_0x2e0ee7=(_0x4e9e4d=_0x1ed17c==null?void 0x0:_0x1ed17c[_0x3c7b69(0x581)])!=null?_0x4e9e4d:_0x37bf04)!=null?_0x2e0ee7:Xs;}async[_0x17671e(0x555)](_0x58c0bb){const _0x4f6c91=_0x17671e,_0x2d740d=this[_0x4f6c91(0x64d)]()+'/'+_0x58c0bb[_0x4f6c91(0x5b8)]+_0x4f6c91(0x4e7);return(await this[_0x4f6c91(0x59a)][_0x4f6c91(0x1da)](_0x2d740d,{'body':_0x58c0bb}))['body']['objectID']||'';}async['list'](_0x344d9d){const _0xa12b18=_0x17671e,_0x5b79ec=this[_0xa12b18(0x64d)]()+_0xa12b18(0x1ef);return(await this[_0xa12b18(0x59a)][_0xa12b18(0x1da)](_0x5b79ec,{'body':_0x344d9d}))[_0xa12b18(0x599)][_0xa12b18(0x52a)];}async[_0x17671e(0x283)](_0x41633f){const _0x242393=_0x17671e,_0x3353e9=this['_getAPIPrefixPath']()+'/'+_0x41633f[_0x242393(0x5b8)]+_0x242393(0x4fd)+_0x41633f[_0x242393(0x62b)];await this[_0x242393(0x59a)][_0x242393(0x395)](_0x3353e9,{'body':_0x41633f});}async['allowed'](_0x5b1220){const _0x2950ff=_0x17671e,_0x57bd0d=this['_getAPIPrefixPath']()+'/'+_0x5b1220[_0x2950ff(0x5b8)]+'/object/'+_0x5b1220[_0x2950ff(0x62b)]+_0x2950ff(0x590);return(await this[_0x2950ff(0x59a)][_0x2950ff(0x1da)](_0x57bd0d,{'body':_0x5b1220}))[_0x2950ff(0x599)][_0x2950ff(0x512)];}async[_0x17671e(0x2d0)](_0x1c63f1){const _0x406645=_0x17671e,_0x22920d=this['_getAPIPrefixPath']()+_0x406645(0x5fd);return(await this['_HTTPService']['post'](_0x22920d,{'body':{'requests':_0x1c63f1}}))[_0x406645(0x599)][_0x406645(0x2c1)];}async[_0x17671e(0x4f8)](_0xaf2aef){const _0x4ee4b5=_0x17671e,_0x37c609=this['_getAPIPrefixPath']()+'/'+_0xaf2aef[_0x4ee4b5(0x5b8)]+'/role',_0x53a5db=await this['_HTTPService'][_0x4ee4b5(0x1da)](_0x37c609,{'body':_0xaf2aef});return{'roles':_0x53a5db[_0x4ee4b5(0x599)]['roles'],'actions':_0x53a5db['body']['actions']};}async[_0x17671e(0x39a)](_0x13b741){const _0x410c91=_0x17671e,_0x19e21c=this[_0x410c91(0x64d)]()+_0x410c91(0x317);await this[_0x410c91(0x59a)][_0x410c91(0x430)](_0x19e21c,{'params':{'collaboratorID':_0x13b741[_0x410c91(0x229)],'objectID':_0x13b741[_0x410c91(0x62b)],'unitID':_0x13b741['unitID']}});}async[_0x17671e(0x4c6)](_0x1117b0){const _0x527190=_0x17671e,_0x1c7a7e=this[_0x527190(0x64d)]()+_0x527190(0x317);await this[_0x527190(0x59a)][_0x527190(0x38d)](_0x1c7a7e,{'body':_0x1117b0});}async[_0x17671e(0x37a)](_0x4be42d){const _0x21367a=_0x17671e,_0x51d04b=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x21367a(0x59a)]['post'](_0x51d04b,{'body':_0x4be42d});}async[_0x17671e(0x4ee)](_0x4a0ef2){const _0x3e2d23=_0x17671e,_0x252804=this[_0x3e2d23(0x64d)]()+_0x3e2d23(0x317);return(await this['_HTTPService']['get'](_0x252804,{'params':{'objectID':_0x4a0ef2[_0x3e2d23(0x62b)],'unitID':_0x4a0ef2[_0x3e2d23(0x219)]}}))[_0x3e2d23(0x599)][_0x3e2d23(0x4ff)];}async[_0x17671e(0x5a7)](_0x196938){const _0x245aa0=_0x17671e,_0x13a293=this[_0x245aa0(0x64d)]()+_0x245aa0(0x317);await this['_HTTPService'][_0x245aa0(0x395)](_0x13a293,{'body':_0x196938});}},exports['AuthzIoHttpService']=zs([kt(0x0,a[_0x17671e(0x52e)](Q['HTTPService'])),kt(0x1,a[_0x17671e(0x52e)](a[_0x17671e(0x505)]))],exports[_0x17671e(0x3e3)]);var J=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Le(_0x51fff1){const _0x225470=_0x17671e;return _0x51fff1&&_0x51fff1[_0x225470(0x3ad)]&&Object[_0x225470(0x4ef)][_0x225470(0x577)][_0x225470(0x5b0)](_0x51fff1,'default')?_0x51fff1['default']:_0x51fff1;}function Js(_0x4c22ce){const _0x3afb85=_0x17671e;if(_0x4c22ce[_0x3afb85(0x3ad)])return _0x4c22ce;var _0x3581c8=_0x4c22ce[_0x3afb85(0x348)];if(typeof _0x3581c8=='function'){var _0x4a2aec=function _0x17bdd3(){const _0x200f8f=_0x3afb85;return this instanceof _0x17bdd3?Reflect['construct'](_0x3581c8,arguments,this[_0x200f8f(0x318)]):_0x3581c8[_0x200f8f(0x40e)](this,arguments);};_0x4a2aec[_0x3afb85(0x4ef)]=_0x3581c8[_0x3afb85(0x4ef)];}else _0x4a2aec={};return Object[_0x3afb85(0x545)](_0x4a2aec,_0x3afb85(0x3ad),{'value':!0x0}),Object[_0x3afb85(0x56e)](_0x4c22ce)[_0x3afb85(0x5ea)](function(_0x1edc88){const _0x37eaef=_0x3afb85;var _0x3868c3=Object[_0x37eaef(0x47f)](_0x4c22ce,_0x1edc88);Object[_0x37eaef(0x545)](_0x4a2aec,_0x1edc88,_0x3868c3[_0x37eaef(0x2a7)]?_0x3868c3:{'enumerable':!0x0,'get':function(){return _0x4c22ce[_0x1edc88];}});}),_0x4a2aec;}var bn={'exports':{}};function Zs(_0xa299e0){const _0x5c90b9=_0x17671e;throw new Error(_0x5c90b9(0x4ba)+_0xa299e0+_0x5c90b9(0x240));}var at={'exports':{}};const Qs={},er=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Qs},Symbol['toStringTag'],{'value':_0x17671e(0x1e5)})),tr=Js(er);var Wt;function ae(){const _0x25299a=_0x17671e;return Wt||(Wt=0x1,function(_0x2f64b8,_0x55f5b0){(function(_0x583da4,_0x565eaa){const _0x467a71=_0x35f6;_0x2f64b8[_0x467a71(0x236)]=_0x565eaa();}(J,function(){var _0x1c605d=_0x1c605d||function(_0x56dd8e,_0x477493){const _0x5eb985=_0x35f6;var _0x5e8fe5;if(typeof window<'u'&&window[_0x5eb985(0x294)]&&(_0x5e8fe5=window[_0x5eb985(0x294)]),typeof self<'u'&&self['crypto']&&(_0x5e8fe5=self[_0x5eb985(0x294)]),typeof globalThis<'u'&&globalThis[_0x5eb985(0x294)]&&(_0x5e8fe5=globalThis[_0x5eb985(0x294)]),!_0x5e8fe5&&typeof window<'u'&&window[_0x5eb985(0x510)]&&(_0x5e8fe5=window[_0x5eb985(0x510)]),!_0x5e8fe5&&typeof J<'u'&&J['crypto']&&(_0x5e8fe5=J['crypto']),!_0x5e8fe5&&typeof Zs==_0x5eb985(0x1ee))try{_0x5e8fe5=tr;}catch{}var _0x5126f2=function(){const _0x431bb5=_0x5eb985;if(_0x5e8fe5){if(typeof _0x5e8fe5[_0x431bb5(0x342)]==_0x431bb5(0x1ee))try{return _0x5e8fe5[_0x431bb5(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5e8fe5[_0x431bb5(0x3df)]=='function')try{return _0x5e8fe5['randomBytes'](0x4)[_0x431bb5(0x547)]();}catch{}}throw new Error(_0x431bb5(0x2e6));},_0x5279e2=Object['create']||(function(){function _0xd6ca74(){}return function(_0x221bba){const _0x551f16=_0x35f6;var _0xd960bb;return _0xd6ca74[_0x551f16(0x4ef)]=_0x221bba,_0xd960bb=new _0xd6ca74(),_0xd6ca74[_0x551f16(0x4ef)]=null,_0xd960bb;};}()),_0x1e898e={},_0xcaff69=_0x1e898e[_0x5eb985(0x47c)]={},_0x46db73=_0xcaff69['Base']=(function(){return{'extend':function(_0x18ed45){const _0x5c5479=_0x35f6;var _0x3006e0=_0x5279e2(this);return _0x18ed45&&_0x3006e0['mixIn'](_0x18ed45),(!_0x3006e0[_0x5c5479(0x577)]('init')||this[_0x5c5479(0x2ce)]===_0x3006e0[_0x5c5479(0x2ce)])&&(_0x3006e0[_0x5c5479(0x2ce)]=function(){const _0x4cfb4c=_0x5c5479;_0x3006e0[_0x4cfb4c(0x3d8)]['init'][_0x4cfb4c(0x40e)](this,arguments);}),_0x3006e0[_0x5c5479(0x2ce)][_0x5c5479(0x4ef)]=_0x3006e0,_0x3006e0['$super']=this,_0x3006e0;},'create':function(){const _0x295b51=_0x35f6;var _0x450746=this[_0x295b51(0x26c)]();return _0x450746[_0x295b51(0x2ce)]['apply'](_0x450746,arguments),_0x450746;},'init':function(){},'mixIn':function(_0x4a35a6){const _0x3eb2c0=_0x35f6;for(var _0x3f22ab in _0x4a35a6)_0x4a35a6['hasOwnProperty'](_0x3f22ab)&&(this[_0x3f22ab]=_0x4a35a6[_0x3f22ab]);_0x4a35a6['hasOwnProperty'](_0x3eb2c0(0x401))&&(this['toString']=_0x4a35a6[_0x3eb2c0(0x401)]);},'clone':function(){const _0x824c88=_0x35f6;return this['init'][_0x824c88(0x4ef)][_0x824c88(0x26c)](this);}};}()),_0x4861d7=_0xcaff69[_0x5eb985(0x323)]=_0x46db73[_0x5eb985(0x26c)]({'init':function(_0x459e45,_0x3e206e){const _0x257836=_0x5eb985;_0x459e45=this['words']=_0x459e45||[],_0x3e206e!=_0x477493?this[_0x257836(0x1d9)]=_0x3e206e:this[_0x257836(0x1d9)]=_0x459e45[_0x257836(0x367)]*0x4;},'toString':function(_0x427164){const _0x4731dc=_0x5eb985;return(_0x427164||_0x2acf94)[_0x4731dc(0x65e)](this);},'concat':function(_0x1565e8){const _0x5f1b82=_0x5eb985;var _0x1c3b28=this[_0x5f1b82(0x520)],_0x1e77e7=_0x1565e8[_0x5f1b82(0x520)],_0x4c86bd=this[_0x5f1b82(0x1d9)],_0x2c44b9=_0x1565e8['sigBytes'];if(this[_0x5f1b82(0x40c)](),_0x4c86bd%0x4)for(var _0x4fe31e=0x0;_0x4fe31e<_0x2c44b9;_0x4fe31e++){var _0x352ddb=_0x1e77e7[_0x4fe31e>>>0x2]>>>0x18-_0x4fe31e%0x4*0x8&0xff;_0x1c3b28[_0x4c86bd+_0x4fe31e>>>0x2]|=_0x352ddb<<0x18-(_0x4c86bd+_0x4fe31e)%0x4*0x8;}else{for(var _0x39eeec=0x0;_0x39eeec<_0x2c44b9;_0x39eeec+=0x4)_0x1c3b28[_0x4c86bd+_0x39eeec>>>0x2]=_0x1e77e7[_0x39eeec>>>0x2];}return this['sigBytes']+=_0x2c44b9,this;},'clamp':function(){const _0x126838=_0x5eb985;var _0x448bbd=this[_0x126838(0x520)],_0x5c20c4=this[_0x126838(0x1d9)];_0x448bbd[_0x5c20c4>>>0x2]&=0xffffffff<<0x20-_0x5c20c4%0x4*0x8,_0x448bbd[_0x126838(0x367)]=_0x56dd8e['ceil'](_0x5c20c4/0x4);},'clone':function(){const _0x110f60=_0x5eb985;var _0x5d93e5=_0x46db73[_0x110f60(0x382)][_0x110f60(0x5b0)](this);return _0x5d93e5[_0x110f60(0x520)]=this['words'][_0x110f60(0x270)](0x0),_0x5d93e5;},'random':function(_0x4b50bc){const _0x5bf278=_0x5eb985;for(var _0x242895=[],_0x592c29=0x0;_0x592c29<_0x4b50bc;_0x592c29+=0x4)_0x242895['push'](_0x5126f2());return new _0x4861d7[(_0x5bf278(0x2ce))](_0x242895,_0x4b50bc);}}),_0x3fceac=_0x1e898e[_0x5eb985(0x5fb)]={},_0x2acf94=_0x3fceac[_0x5eb985(0x5f7)]={'stringify':function(_0x3eb40b){const _0xb05c47=_0x5eb985;for(var _0x4718fb=_0x3eb40b['words'],_0x3c7b0f=_0x3eb40b[_0xb05c47(0x1d9)],_0x323da8=[],_0x44af15=0x0;_0x44af15<_0x3c7b0f;_0x44af15++){var _0x5cb488=_0x4718fb[_0x44af15>>>0x2]>>>0x18-_0x44af15%0x4*0x8&0xff;_0x323da8[_0xb05c47(0x263)]((_0x5cb488>>>0x4)[_0xb05c47(0x401)](0x10)),_0x323da8['push']((_0x5cb488&0xf)[_0xb05c47(0x401)](0x10));}return _0x323da8[_0xb05c47(0x62f)]('');},'parse':function(_0x5cbc7e){const _0x1139b8=_0x5eb985;for(var _0x156200=_0x5cbc7e[_0x1139b8(0x367)],_0xf7fa3d=[],_0x246b46=0x0;_0x246b46<_0x156200;_0x246b46+=0x2)_0xf7fa3d[_0x246b46>>>0x3]|=parseInt(_0x5cbc7e['substr'](_0x246b46,0x2),0x10)<<0x18-_0x246b46%0x8*0x4;return new _0x4861d7[(_0x1139b8(0x2ce))](_0xf7fa3d,_0x156200/0x2);}},_0x59f2e5=_0x3fceac[_0x5eb985(0x4dd)]={'stringify':function(_0x1c1ac7){const _0x18f3f6=_0x5eb985;for(var _0xbae2d9=_0x1c1ac7['words'],_0x5e0ac7=_0x1c1ac7[_0x18f3f6(0x1d9)],_0x19b27d=[],_0x4fceaa=0x0;_0x4fceaa<_0x5e0ac7;_0x4fceaa++){var _0x282075=_0xbae2d9[_0x4fceaa>>>0x2]>>>0x18-_0x4fceaa%0x4*0x8&0xff;_0x19b27d[_0x18f3f6(0x263)](String[_0x18f3f6(0x58e)](_0x282075));}return _0x19b27d['join']('');},'parse':function(_0x2925a6){const _0x3c113a=_0x5eb985;for(var _0x13977a=_0x2925a6[_0x3c113a(0x367)],_0x147eab=[],_0x325982=0x0;_0x325982<_0x13977a;_0x325982++)_0x147eab[_0x325982>>>0x2]|=(_0x2925a6[_0x3c113a(0x5c6)](_0x325982)&0xff)<<0x18-_0x325982%0x4*0x8;return new _0x4861d7[(_0x3c113a(0x2ce))](_0x147eab,_0x13977a);}},_0x4f88da=_0x3fceac[_0x5eb985(0x340)]={'stringify':function(_0x262efc){const _0x1a9feb=_0x5eb985;try{return decodeURIComponent(escape(_0x59f2e5[_0x1a9feb(0x65e)](_0x262efc)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5a29b1){const _0x47217c=_0x5eb985;return _0x59f2e5[_0x47217c(0x634)](unescape(encodeURIComponent(_0x5a29b1)));}},_0x1308fd=_0xcaff69[_0x5eb985(0x301)]=_0x46db73[_0x5eb985(0x26c)]({'reset':function(){const _0x5cdf92=_0x5eb985;this[_0x5cdf92(0x624)]=new _0x4861d7[(_0x5cdf92(0x2ce))](),this[_0x5cdf92(0x1e6)]=0x0;},'_append':function(_0x256ed3){const _0xf32392=_0x5eb985;typeof _0x256ed3==_0xf32392(0x3c3)&&(_0x256ed3=_0x4f88da[_0xf32392(0x634)](_0x256ed3)),this[_0xf32392(0x624)][_0xf32392(0x59e)](_0x256ed3),this['_nDataBytes']+=_0x256ed3[_0xf32392(0x1d9)];},'_process':function(_0x738b12){const _0x1ada8f=_0x5eb985;var _0x4a712d,_0x39111c=this[_0x1ada8f(0x624)],_0x4f54d9=_0x39111c[_0x1ada8f(0x520)],_0x266349=_0x39111c[_0x1ada8f(0x1d9)],_0x8b54a9=this[_0x1ada8f(0x4a8)],_0x17e21c=_0x8b54a9*0x4,_0x582a5f=_0x266349/_0x17e21c;_0x738b12?_0x582a5f=_0x56dd8e['ceil'](_0x582a5f):_0x582a5f=_0x56dd8e['max']((_0x582a5f|0x0)-this[_0x1ada8f(0x5cf)],0x0);var _0x1be3e2=_0x582a5f*_0x8b54a9,_0x1ee44f=_0x56dd8e[_0x1ada8f(0x31f)](_0x1be3e2*0x4,_0x266349);if(_0x1be3e2){for(var _0x5d079f=0x0;_0x5d079f<_0x1be3e2;_0x5d079f+=_0x8b54a9)this[_0x1ada8f(0x571)](_0x4f54d9,_0x5d079f);_0x4a712d=_0x4f54d9['splice'](0x0,_0x1be3e2),_0x39111c['sigBytes']-=_0x1ee44f;}return new _0x4861d7['init'](_0x4a712d,_0x1ee44f);},'clone':function(){const _0x1857c4=_0x5eb985;var _0x2750eb=_0x46db73[_0x1857c4(0x382)][_0x1857c4(0x5b0)](this);return _0x2750eb[_0x1857c4(0x624)]=this['_data'][_0x1857c4(0x382)](),_0x2750eb;},'_minBufferSize':0x0});_0xcaff69[_0x5eb985(0x438)]=_0x1308fd['extend']({'cfg':_0x46db73[_0x5eb985(0x26c)](),'init':function(_0x3ae2db){const _0x29e094=_0x5eb985;this[_0x29e094(0x442)]=this['cfg']['extend'](_0x3ae2db),this[_0x29e094(0x529)]();},'reset':function(){const _0x4dbe5f=_0x5eb985;_0x1308fd[_0x4dbe5f(0x529)][_0x4dbe5f(0x5b0)](this),this['_doReset']();},'update':function(_0x38ce87){const _0x4d488e=_0x5eb985;return this[_0x4d488e(0x25e)](_0x38ce87),this[_0x4d488e(0x46a)](),this;},'finalize':function(_0x237486){const _0xba7054=_0x5eb985;_0x237486&&this[_0xba7054(0x25e)](_0x237486);var _0xe09261=this[_0xba7054(0x623)]();return _0xe09261;},'blockSize':0x10,'_createHelper':function(_0x3fcbf5){return function(_0x1a08ff,_0x1698e9){const _0x17c518=_0x35f6;return new _0x3fcbf5[(_0x17c518(0x2ce))](_0x1698e9)[_0x17c518(0x446)](_0x1a08ff);};},'_createHmacHelper':function(_0x5888d2){return function(_0x3fd2d3,_0x48d167){const _0x280399=_0x35f6;return new _0x1457d6['HMAC'][(_0x280399(0x2ce))](_0x5888d2,_0x48d167)[_0x280399(0x446)](_0x3fd2d3);};}});var _0x1457d6=_0x1e898e['algo']={};return _0x1e898e;}(Math);return _0x1c605d;}));}(at)),at[_0x25299a(0x236)];}var ct={'exports':{}},Ft;function Tn(){const _0x117964=_0x17671e;return Ft||(Ft=0x1,function(_0xcb171a,_0x5197f7){(function(_0x108a4f,_0x14fb1e){const _0x35a45f=_0x35f6;_0xcb171a[_0x35a45f(0x236)]=_0x14fb1e(ae());}(J,function(_0x15bc5d){const _0x5bdacb=_0x35f6;return(function(){const _0x4a7ce8=_0x35f6;var _0x2e698c=_0x15bc5d,_0x8fb0db=_0x2e698c[_0x4a7ce8(0x47c)],_0x253dd3=_0x8fb0db['WordArray'],_0x5133cc=_0x2e698c[_0x4a7ce8(0x5fb)];_0x5133cc['Base64']={'stringify':function(_0x14aa14){const _0x3cc0c2=_0x4a7ce8;var _0x2d366f=_0x14aa14['words'],_0x4224fe=_0x14aa14[_0x3cc0c2(0x1d9)],_0x56dd64=this[_0x3cc0c2(0x347)];_0x14aa14[_0x3cc0c2(0x40c)]();for(var _0x31ab01=[],_0x3505b7=0x0;_0x3505b7<_0x4224fe;_0x3505b7+=0x3)for(var _0x1679b5=_0x2d366f[_0x3505b7>>>0x2]>>>0x18-_0x3505b7%0x4*0x8&0xff,_0x3a0207=_0x2d366f[_0x3505b7+0x1>>>0x2]>>>0x18-(_0x3505b7+0x1)%0x4*0x8&0xff,_0xa6ee6d=_0x2d366f[_0x3505b7+0x2>>>0x2]>>>0x18-(_0x3505b7+0x2)%0x4*0x8&0xff,_0x44b3ba=_0x1679b5<<0x10|_0x3a0207<<0x8|_0xa6ee6d,_0x44d42b=0x0;_0x44d42b<0x4&&_0x3505b7+_0x44d42b*0.75<_0x4224fe;_0x44d42b++)_0x31ab01[_0x3cc0c2(0x263)](_0x56dd64[_0x3cc0c2(0x200)](_0x44b3ba>>>0x6*(0x3-_0x44d42b)&0x3f));var _0x4f2d66=_0x56dd64['charAt'](0x40);if(_0x4f2d66){for(;_0x31ab01['length']%0x4;)_0x31ab01[_0x3cc0c2(0x263)](_0x4f2d66);}return _0x31ab01[_0x3cc0c2(0x62f)]('');},'parse':function(_0x4120ba){const _0x2e5ed9=_0x4a7ce8;var _0x26f747=_0x4120ba[_0x2e5ed9(0x367)],_0x1304c5=this['_map'],_0x24074c=this[_0x2e5ed9(0x217)];if(!_0x24074c){_0x24074c=this[_0x2e5ed9(0x217)]=[];for(var _0x3c3f78=0x0;_0x3c3f78<_0x1304c5['length'];_0x3c3f78++)_0x24074c[_0x1304c5[_0x2e5ed9(0x5c6)](_0x3c3f78)]=_0x3c3f78;}var _0x1cf532=_0x1304c5[_0x2e5ed9(0x200)](0x40);if(_0x1cf532){var _0x3acf64=_0x4120ba[_0x2e5ed9(0x47e)](_0x1cf532);_0x3acf64!==-0x1&&(_0x26f747=_0x3acf64);}return _0x2994f9(_0x4120ba,_0x26f747,_0x24074c);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2994f9(_0x15a7c9,_0x46ad49,_0x5df1fe){const _0x367961=_0x4a7ce8;for(var _0x5e9373=[],_0x13a6aa=0x0,_0x3249c0=0x0;_0x3249c0<_0x46ad49;_0x3249c0++)if(_0x3249c0%0x4){var _0x5f398f=_0x5df1fe[_0x15a7c9[_0x367961(0x5c6)](_0x3249c0-0x1)]<<_0x3249c0%0x4*0x2,_0x5ccc29=_0x5df1fe[_0x15a7c9[_0x367961(0x5c6)](_0x3249c0)]>>>0x6-_0x3249c0%0x4*0x2,_0x1057df=_0x5f398f|_0x5ccc29;_0x5e9373[_0x13a6aa>>>0x2]|=_0x1057df<<0x18-_0x13a6aa%0x4*0x8,_0x13a6aa++;}return _0x253dd3['create'](_0x5e9373,_0x13a6aa);}}()),_0x15bc5d[_0x5bdacb(0x5fb)][_0x5bdacb(0x32e)];}));}(ct)),ct[_0x117964(0x236)];}var lt={'exports':{}},Vt;function nr(){const _0x5b99c1=_0x17671e;return Vt||(Vt=0x1,function(_0x4f8426,_0x2bf122){(function(_0x5a43f4,_0x22718c){_0x4f8426['exports']=_0x22718c(ae());}(J,function(_0x443cbc){const _0x183754=_0x35f6;return function(_0x2216ef){const _0x4b8846=_0x35f6;var _0x5bf313=_0x443cbc,_0x10afd8=_0x5bf313[_0x4b8846(0x47c)],_0x4f77eb=_0x10afd8[_0x4b8846(0x323)],_0xf062ee=_0x10afd8[_0x4b8846(0x438)],_0x31c67c=_0x5bf313[_0x4b8846(0x49a)],_0x39a959=[];(function(){const _0x3f8bb=_0x4b8846;for(var _0x9baf8e=0x0;_0x9baf8e<0x40;_0x9baf8e++)_0x39a959[_0x9baf8e]=_0x2216ef[_0x3f8bb(0x208)](_0x2216ef[_0x3f8bb(0x3f2)](_0x9baf8e+0x1))*0x100000000|0x0;}());var _0x39c675=_0x31c67c[_0x4b8846(0x665)]=_0xf062ee[_0x4b8846(0x26c)]({'_doReset':function(){const _0x3f005f=_0x4b8846;this[_0x3f005f(0x399)]=new _0x4f77eb[(_0x3f005f(0x2ce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4b8f2e,_0x16c930){const _0x49e6fd=_0x4b8846;for(var _0x50d74f=0x0;_0x50d74f<0x10;_0x50d74f++){var _0xd8c3c1=_0x16c930+_0x50d74f,_0x37926e=_0x4b8f2e[_0xd8c3c1];_0x4b8f2e[_0xd8c3c1]=(_0x37926e<<0x8|_0x37926e>>>0x18)&0xff00ff|(_0x37926e<<0x18|_0x37926e>>>0x8)&0xff00ff00;}var _0x4a8312=this[_0x49e6fd(0x399)]['words'],_0x228fdf=_0x4b8f2e[_0x16c930+0x0],_0x39c0a8=_0x4b8f2e[_0x16c930+0x1],_0x4e433c=_0x4b8f2e[_0x16c930+0x2],_0x21648e=_0x4b8f2e[_0x16c930+0x3],_0x1b494c=_0x4b8f2e[_0x16c930+0x4],_0x3496c4=_0x4b8f2e[_0x16c930+0x5],_0x5b2cce=_0x4b8f2e[_0x16c930+0x6],_0x10f4fe=_0x4b8f2e[_0x16c930+0x7],_0x494d9b=_0x4b8f2e[_0x16c930+0x8],_0x33ca79=_0x4b8f2e[_0x16c930+0x9],_0x26a63f=_0x4b8f2e[_0x16c930+0xa],_0x4e0f50=_0x4b8f2e[_0x16c930+0xb],_0x455609=_0x4b8f2e[_0x16c930+0xc],_0x36c056=_0x4b8f2e[_0x16c930+0xd],_0x50a336=_0x4b8f2e[_0x16c930+0xe],_0x8c372b=_0x4b8f2e[_0x16c930+0xf],_0x877540=_0x4a8312[0x0],_0x3a08e6=_0x4a8312[0x1],_0xe8195b=_0x4a8312[0x2],_0x2d9633=_0x4a8312[0x3];_0x877540=_0x2c16c5(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x228fdf,0x7,_0x39a959[0x0]),_0x2d9633=_0x2c16c5(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x39c0a8,0xc,_0x39a959[0x1]),_0xe8195b=_0x2c16c5(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x4e433c,0x11,_0x39a959[0x2]),_0x3a08e6=_0x2c16c5(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x21648e,0x16,_0x39a959[0x3]),_0x877540=_0x2c16c5(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x1b494c,0x7,_0x39a959[0x4]),_0x2d9633=_0x2c16c5(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x3496c4,0xc,_0x39a959[0x5]),_0xe8195b=_0x2c16c5(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x5b2cce,0x11,_0x39a959[0x6]),_0x3a08e6=_0x2c16c5(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x10f4fe,0x16,_0x39a959[0x7]),_0x877540=_0x2c16c5(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x494d9b,0x7,_0x39a959[0x8]),_0x2d9633=_0x2c16c5(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x33ca79,0xc,_0x39a959[0x9]),_0xe8195b=_0x2c16c5(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x26a63f,0x11,_0x39a959[0xa]),_0x3a08e6=_0x2c16c5(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x4e0f50,0x16,_0x39a959[0xb]),_0x877540=_0x2c16c5(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x455609,0x7,_0x39a959[0xc]),_0x2d9633=_0x2c16c5(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x36c056,0xc,_0x39a959[0xd]),_0xe8195b=_0x2c16c5(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x50a336,0x11,_0x39a959[0xe]),_0x3a08e6=_0x2c16c5(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x8c372b,0x16,_0x39a959[0xf]),_0x877540=_0x52c329(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x39c0a8,0x5,_0x39a959[0x10]),_0x2d9633=_0x52c329(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x5b2cce,0x9,_0x39a959[0x11]),_0xe8195b=_0x52c329(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x4e0f50,0xe,_0x39a959[0x12]),_0x3a08e6=_0x52c329(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x228fdf,0x14,_0x39a959[0x13]),_0x877540=_0x52c329(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x3496c4,0x5,_0x39a959[0x14]),_0x2d9633=_0x52c329(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x26a63f,0x9,_0x39a959[0x15]),_0xe8195b=_0x52c329(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x8c372b,0xe,_0x39a959[0x16]),_0x3a08e6=_0x52c329(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x1b494c,0x14,_0x39a959[0x17]),_0x877540=_0x52c329(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x33ca79,0x5,_0x39a959[0x18]),_0x2d9633=_0x52c329(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x50a336,0x9,_0x39a959[0x19]),_0xe8195b=_0x52c329(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x21648e,0xe,_0x39a959[0x1a]),_0x3a08e6=_0x52c329(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x494d9b,0x14,_0x39a959[0x1b]),_0x877540=_0x52c329(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x36c056,0x5,_0x39a959[0x1c]),_0x2d9633=_0x52c329(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x4e433c,0x9,_0x39a959[0x1d]),_0xe8195b=_0x52c329(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x10f4fe,0xe,_0x39a959[0x1e]),_0x3a08e6=_0x52c329(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x455609,0x14,_0x39a959[0x1f]),_0x877540=_0x1671ea(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x3496c4,0x4,_0x39a959[0x20]),_0x2d9633=_0x1671ea(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x494d9b,0xb,_0x39a959[0x21]),_0xe8195b=_0x1671ea(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x4e0f50,0x10,_0x39a959[0x22]),_0x3a08e6=_0x1671ea(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x50a336,0x17,_0x39a959[0x23]),_0x877540=_0x1671ea(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x39c0a8,0x4,_0x39a959[0x24]),_0x2d9633=_0x1671ea(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x1b494c,0xb,_0x39a959[0x25]),_0xe8195b=_0x1671ea(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x10f4fe,0x10,_0x39a959[0x26]),_0x3a08e6=_0x1671ea(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x26a63f,0x17,_0x39a959[0x27]),_0x877540=_0x1671ea(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x36c056,0x4,_0x39a959[0x28]),_0x2d9633=_0x1671ea(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x228fdf,0xb,_0x39a959[0x29]),_0xe8195b=_0x1671ea(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x21648e,0x10,_0x39a959[0x2a]),_0x3a08e6=_0x1671ea(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x5b2cce,0x17,_0x39a959[0x2b]),_0x877540=_0x1671ea(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x33ca79,0x4,_0x39a959[0x2c]),_0x2d9633=_0x1671ea(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x455609,0xb,_0x39a959[0x2d]),_0xe8195b=_0x1671ea(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x8c372b,0x10,_0x39a959[0x2e]),_0x3a08e6=_0x1671ea(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x4e433c,0x17,_0x39a959[0x2f]),_0x877540=_0x5dfef1(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x228fdf,0x6,_0x39a959[0x30]),_0x2d9633=_0x5dfef1(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x10f4fe,0xa,_0x39a959[0x31]),_0xe8195b=_0x5dfef1(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x50a336,0xf,_0x39a959[0x32]),_0x3a08e6=_0x5dfef1(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x3496c4,0x15,_0x39a959[0x33]),_0x877540=_0x5dfef1(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x455609,0x6,_0x39a959[0x34]),_0x2d9633=_0x5dfef1(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x21648e,0xa,_0x39a959[0x35]),_0xe8195b=_0x5dfef1(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x26a63f,0xf,_0x39a959[0x36]),_0x3a08e6=_0x5dfef1(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x39c0a8,0x15,_0x39a959[0x37]),_0x877540=_0x5dfef1(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x494d9b,0x6,_0x39a959[0x38]),_0x2d9633=_0x5dfef1(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x8c372b,0xa,_0x39a959[0x39]),_0xe8195b=_0x5dfef1(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x5b2cce,0xf,_0x39a959[0x3a]),_0x3a08e6=_0x5dfef1(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x36c056,0x15,_0x39a959[0x3b]),_0x877540=_0x5dfef1(_0x877540,_0x3a08e6,_0xe8195b,_0x2d9633,_0x1b494c,0x6,_0x39a959[0x3c]),_0x2d9633=_0x5dfef1(_0x2d9633,_0x877540,_0x3a08e6,_0xe8195b,_0x4e0f50,0xa,_0x39a959[0x3d]),_0xe8195b=_0x5dfef1(_0xe8195b,_0x2d9633,_0x877540,_0x3a08e6,_0x4e433c,0xf,_0x39a959[0x3e]),_0x3a08e6=_0x5dfef1(_0x3a08e6,_0xe8195b,_0x2d9633,_0x877540,_0x33ca79,0x15,_0x39a959[0x3f]),_0x4a8312[0x0]=_0x4a8312[0x0]+_0x877540|0x0,_0x4a8312[0x1]=_0x4a8312[0x1]+_0x3a08e6|0x0,_0x4a8312[0x2]=_0x4a8312[0x2]+_0xe8195b|0x0,_0x4a8312[0x3]=_0x4a8312[0x3]+_0x2d9633|0x0;},'_doFinalize':function(){const _0x5e6d4c=_0x4b8846;var _0x2dedd2=this[_0x5e6d4c(0x624)],_0x534120=_0x2dedd2[_0x5e6d4c(0x520)],_0x4eee1e=this[_0x5e6d4c(0x1e6)]*0x8,_0x4e34fe=_0x2dedd2[_0x5e6d4c(0x1d9)]*0x8;_0x534120[_0x4e34fe>>>0x5]|=0x80<<0x18-_0x4e34fe%0x20;var _0x362556=_0x2216ef[_0x5e6d4c(0x275)](_0x4eee1e/0x100000000),_0x23ee1c=_0x4eee1e;_0x534120[(_0x4e34fe+0x40>>>0x9<<0x4)+0xf]=(_0x362556<<0x8|_0x362556>>>0x18)&0xff00ff|(_0x362556<<0x18|_0x362556>>>0x8)&0xff00ff00,_0x534120[(_0x4e34fe+0x40>>>0x9<<0x4)+0xe]=(_0x23ee1c<<0x8|_0x23ee1c>>>0x18)&0xff00ff|(_0x23ee1c<<0x18|_0x23ee1c>>>0x8)&0xff00ff00,_0x2dedd2[_0x5e6d4c(0x1d9)]=(_0x534120[_0x5e6d4c(0x367)]+0x1)*0x4,this[_0x5e6d4c(0x46a)]();for(var _0x1fd88e=this[_0x5e6d4c(0x399)],_0x230d13=_0x1fd88e[_0x5e6d4c(0x520)],_0x5a18ce=0x0;_0x5a18ce<0x4;_0x5a18ce++){var _0x17b715=_0x230d13[_0x5a18ce];_0x230d13[_0x5a18ce]=(_0x17b715<<0x8|_0x17b715>>>0x18)&0xff00ff|(_0x17b715<<0x18|_0x17b715>>>0x8)&0xff00ff00;}return _0x1fd88e;},'clone':function(){const _0xf0113d=_0x4b8846;var _0x532cdb=_0xf062ee['clone'][_0xf0113d(0x5b0)](this);return _0x532cdb[_0xf0113d(0x399)]=this[_0xf0113d(0x399)][_0xf0113d(0x382)](),_0x532cdb;}});function _0x2c16c5(_0x3dd534,_0x47ee24,_0x2b0590,_0x4df596,_0x141d28,_0x32168a,_0x4e8d7e){var _0x2b8934=_0x3dd534+(_0x47ee24&_0x2b0590|~_0x47ee24&_0x4df596)+_0x141d28+_0x4e8d7e;return(_0x2b8934<<_0x32168a|_0x2b8934>>>0x20-_0x32168a)+_0x47ee24;}function _0x52c329(_0x35e003,_0x537cf6,_0x7c5fe7,_0x39b04e,_0xdf515c,_0x136f41,_0x5a19c0){var _0x5a5d66=_0x35e003+(_0x537cf6&_0x39b04e|_0x7c5fe7&~_0x39b04e)+_0xdf515c+_0x5a19c0;return(_0x5a5d66<<_0x136f41|_0x5a5d66>>>0x20-_0x136f41)+_0x537cf6;}function _0x1671ea(_0x1422fb,_0x5857e0,_0x25447d,_0x5023d3,_0x259d6c,_0x14050d,_0x21fee0){var _0x39bdd6=_0x1422fb+(_0x5857e0^_0x25447d^_0x5023d3)+_0x259d6c+_0x21fee0;return(_0x39bdd6<<_0x14050d|_0x39bdd6>>>0x20-_0x14050d)+_0x5857e0;}function _0x5dfef1(_0x31230c,_0x35da5b,_0x532eb1,_0x2e58a9,_0x3eecf0,_0x335f14,_0x52d756){var _0x33a6e4=_0x31230c+(_0x532eb1^(_0x35da5b|~_0x2e58a9))+_0x3eecf0+_0x52d756;return(_0x33a6e4<<_0x335f14|_0x33a6e4>>>0x20-_0x335f14)+_0x35da5b;}_0x5bf313[_0x4b8846(0x665)]=_0xf062ee[_0x4b8846(0x258)](_0x39c675),_0x5bf313[_0x4b8846(0x403)]=_0xf062ee[_0x4b8846(0x274)](_0x39c675);}(Math),_0x443cbc[_0x183754(0x665)];}));}(lt)),lt[_0x5b99c1(0x236)];}var ht={'exports':{}},_t={'exports':{}},Gt;function ir(){const _0x336733=_0x17671e;return Gt||(Gt=0x1,function(_0x2ea6ef,_0x27e300){(function(_0x2270c1,_0x1aabe6){const _0x12dd57=_0x35f6;_0x2ea6ef[_0x12dd57(0x236)]=_0x1aabe6(ae());}(J,function(_0x4a2307){const _0xef382d=_0x35f6;return(function(){const _0x393906=_0x35f6;var _0xd23c0c=_0x4a2307,_0x144d31=_0xd23c0c[_0x393906(0x47c)],_0x3176bc=_0x144d31['WordArray'],_0x3c4d99=_0x144d31['Hasher'],_0x28e6b3=_0xd23c0c[_0x393906(0x49a)],_0x3b6f50=[],_0x4f646c=_0x28e6b3['SHA1']=_0x3c4d99[_0x393906(0x26c)]({'_doReset':function(){const _0x5a9e7d=_0x393906;this[_0x5a9e7d(0x399)]=new _0x3176bc[(_0x5a9e7d(0x2ce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x716320,_0x1b7026){const _0x1e7209=_0x393906;for(var _0x1618b9=this[_0x1e7209(0x399)][_0x1e7209(0x520)],_0x3e4204=_0x1618b9[0x0],_0x59e81c=_0x1618b9[0x1],_0x570808=_0x1618b9[0x2],_0x6d22b2=_0x1618b9[0x3],_0x511b20=_0x1618b9[0x4],_0x1db8be=0x0;_0x1db8be<0x50;_0x1db8be++){if(_0x1db8be<0x10)_0x3b6f50[_0x1db8be]=_0x716320[_0x1b7026+_0x1db8be]|0x0;else{var _0x1faf5f=_0x3b6f50[_0x1db8be-0x3]^_0x3b6f50[_0x1db8be-0x8]^_0x3b6f50[_0x1db8be-0xe]^_0x3b6f50[_0x1db8be-0x10];_0x3b6f50[_0x1db8be]=_0x1faf5f<<0x1|_0x1faf5f>>>0x1f;}var _0x597a5a=(_0x3e4204<<0x5|_0x3e4204>>>0x1b)+_0x511b20+_0x3b6f50[_0x1db8be];_0x1db8be<0x14?_0x597a5a+=(_0x59e81c&_0x570808|~_0x59e81c&_0x6d22b2)+0x5a827999:_0x1db8be<0x28?_0x597a5a+=(_0x59e81c^_0x570808^_0x6d22b2)+0x6ed9eba1:_0x1db8be<0x3c?_0x597a5a+=(_0x59e81c&_0x570808|_0x59e81c&_0x6d22b2|_0x570808&_0x6d22b2)-0x70e44324:_0x597a5a+=(_0x59e81c^_0x570808^_0x6d22b2)-0x359d3e2a,_0x511b20=_0x6d22b2,_0x6d22b2=_0x570808,_0x570808=_0x59e81c<<0x1e|_0x59e81c>>>0x2,_0x59e81c=_0x3e4204,_0x3e4204=_0x597a5a;}_0x1618b9[0x0]=_0x1618b9[0x0]+_0x3e4204|0x0,_0x1618b9[0x1]=_0x1618b9[0x1]+_0x59e81c|0x0,_0x1618b9[0x2]=_0x1618b9[0x2]+_0x570808|0x0,_0x1618b9[0x3]=_0x1618b9[0x3]+_0x6d22b2|0x0,_0x1618b9[0x4]=_0x1618b9[0x4]+_0x511b20|0x0;},'_doFinalize':function(){const _0x135179=_0x393906;var _0x48932b=this[_0x135179(0x624)],_0x365ec9=_0x48932b[_0x135179(0x520)],_0x2c5db9=this[_0x135179(0x1e6)]*0x8,_0x474221=_0x48932b[_0x135179(0x1d9)]*0x8;return _0x365ec9[_0x474221>>>0x5]|=0x80<<0x18-_0x474221%0x20,_0x365ec9[(_0x474221+0x40>>>0x9<<0x4)+0xe]=Math[_0x135179(0x275)](_0x2c5db9/0x100000000),_0x365ec9[(_0x474221+0x40>>>0x9<<0x4)+0xf]=_0x2c5db9,_0x48932b['sigBytes']=_0x365ec9[_0x135179(0x367)]*0x4,this[_0x135179(0x46a)](),this[_0x135179(0x399)];},'clone':function(){const _0x46c6f9=_0x393906;var _0x4cdd47=_0x3c4d99['clone'][_0x46c6f9(0x5b0)](this);return _0x4cdd47[_0x46c6f9(0x399)]=this[_0x46c6f9(0x399)]['clone'](),_0x4cdd47;}});_0xd23c0c['SHA1']=_0x3c4d99[_0x393906(0x258)](_0x4f646c),_0xd23c0c['HmacSHA1']=_0x3c4d99[_0x393906(0x274)](_0x4f646c);}()),_0x4a2307[_0xef382d(0x362)];}));}(_t)),_t[_0x336733(0x236)];}var ut={'exports':{}},Yt;function sr(){const _0x5ac57d=_0x17671e;return Yt||(Yt=0x1,function(_0x1a5bf1,_0x3ba58b){(function(_0x3e3d44,_0x2cbeb4){const _0x5c9c4a=_0x35f6;_0x1a5bf1[_0x5c9c4a(0x236)]=_0x2cbeb4(ae());}(J,function(_0xf0f47){(function(){const _0x62025a=_0x35f6;var _0x9c73c5=_0xf0f47,_0x5c2fcf=_0x9c73c5[_0x62025a(0x47c)],_0x2d2b41=_0x5c2fcf[_0x62025a(0x32a)],_0x5d7a68=_0x9c73c5['enc'],_0x1b0086=_0x5d7a68['Utf8'],_0x37d42d=_0x9c73c5[_0x62025a(0x49a)];_0x37d42d['HMAC']=_0x2d2b41['extend']({'init':function(_0x518ad5,_0x17244e){const _0x4a90c8=_0x62025a;_0x518ad5=this[_0x4a90c8(0x220)]=new _0x518ad5['init'](),typeof _0x17244e==_0x4a90c8(0x3c3)&&(_0x17244e=_0x1b0086[_0x4a90c8(0x634)](_0x17244e));var _0x101d94=_0x518ad5[_0x4a90c8(0x4a8)],_0x269617=_0x101d94*0x4;_0x17244e['sigBytes']>_0x269617&&(_0x17244e=_0x518ad5[_0x4a90c8(0x446)](_0x17244e)),_0x17244e[_0x4a90c8(0x40c)]();for(var _0x53e52c=this[_0x4a90c8(0x24b)]=_0x17244e['clone'](),_0x3e17a1=this[_0x4a90c8(0x408)]=_0x17244e[_0x4a90c8(0x382)](),_0xcbeef=_0x53e52c[_0x4a90c8(0x520)],_0x1b6c5a=_0x3e17a1[_0x4a90c8(0x520)],_0x3e9a8e=0x0;_0x3e9a8e<_0x101d94;_0x3e9a8e++)_0xcbeef[_0x3e9a8e]^=0x5c5c5c5c,_0x1b6c5a[_0x3e9a8e]^=0x36363636;_0x53e52c[_0x4a90c8(0x1d9)]=_0x3e17a1[_0x4a90c8(0x1d9)]=_0x269617,this[_0x4a90c8(0x529)]();},'reset':function(){const _0x493bab=_0x62025a;var _0x179f34=this[_0x493bab(0x220)];_0x179f34['reset'](),_0x179f34[_0x493bab(0x283)](this['_iKey']);},'update':function(_0x44bce3){const _0x35f41e=_0x62025a;return this[_0x35f41e(0x220)][_0x35f41e(0x283)](_0x44bce3),this;},'finalize':function(_0xf0a78d){const _0x39dbf2=_0x62025a;var _0x493883=this['_hasher'],_0x4e77b5=_0x493883[_0x39dbf2(0x446)](_0xf0a78d);_0x493883['reset']();var _0x9745c0=_0x493883['finalize'](this[_0x39dbf2(0x24b)][_0x39dbf2(0x382)]()[_0x39dbf2(0x59e)](_0x4e77b5));return _0x9745c0;}});}());}));}(ut)),ut[_0x5ac57d(0x236)];}var Kt;function Rn(){const _0x530351=_0x17671e;return Kt||(Kt=0x1,function(_0x5b895c,_0x6b535b){(function(_0x378a1e,_0x5021dc,_0x3e9ab6){const _0x428ea0=_0x35f6;_0x5b895c[_0x428ea0(0x236)]=_0x5021dc(ae(),ir(),sr());}(J,function(_0x5267cd){return(function(){const _0x4a2731=_0x35f6;var _0x3ba9fa=_0x5267cd,_0x5eeac4=_0x3ba9fa[_0x4a2731(0x47c)],_0x10e167=_0x5eeac4['Base'],_0x2bb98e=_0x5eeac4[_0x4a2731(0x323)],_0x19f4c5=_0x3ba9fa[_0x4a2731(0x49a)],_0x31e076=_0x19f4c5[_0x4a2731(0x665)],_0x565bfe=_0x19f4c5[_0x4a2731(0x5c3)]=_0x10e167[_0x4a2731(0x26c)]({'cfg':_0x10e167['extend']({'keySize':0x80/0x20,'hasher':_0x31e076,'iterations':0x1}),'init':function(_0x3a023e){const _0x2d47d1=_0x4a2731;this['cfg']=this[_0x2d47d1(0x442)][_0x2d47d1(0x26c)](_0x3a023e);},'compute':function(_0xe4c033,_0x4f88a4){const _0x5447e8=_0x4a2731;for(var _0x6e8e62,_0x4cc1cf=this[_0x5447e8(0x442)],_0x37d980=_0x4cc1cf['hasher']['create'](),_0x313fcb=_0x2bb98e[_0x5447e8(0x555)](),_0x5e7f60=_0x313fcb[_0x5447e8(0x520)],_0x14bbb1=_0x4cc1cf[_0x5447e8(0x351)],_0x2af595=_0x4cc1cf[_0x5447e8(0x282)];_0x5e7f60['length']<_0x14bbb1;){_0x6e8e62&&_0x37d980['update'](_0x6e8e62),_0x6e8e62=_0x37d980[_0x5447e8(0x283)](_0xe4c033)['finalize'](_0x4f88a4),_0x37d980[_0x5447e8(0x529)]();for(var _0x2b9348=0x1;_0x2b9348<_0x2af595;_0x2b9348++)_0x6e8e62=_0x37d980[_0x5447e8(0x446)](_0x6e8e62),_0x37d980['reset']();_0x313fcb[_0x5447e8(0x59e)](_0x6e8e62);}return _0x313fcb['sigBytes']=_0x14bbb1*0x4,_0x313fcb;}});_0x3ba9fa[_0x4a2731(0x5c3)]=function(_0x386ac6,_0xfe5f91,_0x3634a1){const _0xa0e437=_0x4a2731;return _0x565bfe[_0xa0e437(0x555)](_0x3634a1)['compute'](_0x386ac6,_0xfe5f91);};}()),_0x5267cd['EvpKDF'];}));}(ht)),ht[_0x530351(0x236)];}var dt={'exports':{}},qt;function yn(){return qt||(qt=0x1,function(_0x283395,_0xcc0039){(function(_0x14fe21,_0x37b352,_0x17d7e7){const _0x38d446=_0x35f6;_0x283395[_0x38d446(0x236)]=_0x37b352(ae(),Rn());}(J,function(_0x306789){const _0x15cec4=_0x35f6;_0x306789[_0x15cec4(0x47c)]['Cipher']||function(_0x2a88b8){const _0xd128e1=_0x15cec4;var _0x21b405=_0x306789,_0x3947f0=_0x21b405['lib'],_0x118baa=_0x3947f0[_0xd128e1(0x32a)],_0x20f016=_0x3947f0['WordArray'],_0xb8b477=_0x3947f0[_0xd128e1(0x301)],_0x1c9f67=_0x21b405[_0xd128e1(0x5fb)];_0x1c9f67[_0xd128e1(0x340)];var _0xeda338=_0x1c9f67[_0xd128e1(0x32e)],_0x1b081c=_0x21b405['algo'],_0x47a84d=_0x1b081c[_0xd128e1(0x5c3)],_0x1037a0=_0x3947f0['Cipher']=_0xb8b477[_0xd128e1(0x26c)]({'cfg':_0x118baa[_0xd128e1(0x26c)](),'createEncryptor':function(_0x5b1bc5,_0x2f7562){return this['create'](this['_ENC_XFORM_MODE'],_0x5b1bc5,_0x2f7562);},'createDecryptor':function(_0x343fef,_0x56da0a){const _0xe7c5c6=_0xd128e1;return this['create'](this[_0xe7c5c6(0x4cc)],_0x343fef,_0x56da0a);},'init':function(_0x26ce6b,_0x3711f8,_0x553cf6){const _0x46a007=_0xd128e1;this[_0x46a007(0x442)]=this[_0x46a007(0x442)][_0x46a007(0x26c)](_0x553cf6),this[_0x46a007(0x2a0)]=_0x26ce6b,this[_0x46a007(0x405)]=_0x3711f8,this[_0x46a007(0x529)]();},'reset':function(){const _0x138dca=_0xd128e1;_0xb8b477['reset']['call'](this),this[_0x138dca(0x55c)]();},'process':function(_0x127144){const _0x1d917a=_0xd128e1;return this[_0x1d917a(0x25e)](_0x127144),this['_process']();},'finalize':function(_0x1b9b21){const _0x792d35=_0xd128e1;_0x1b9b21&&this[_0x792d35(0x25e)](_0x1b9b21);var _0x2900d7=this[_0x792d35(0x623)]();return _0x2900d7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f5cfe(_0x31f62e){const _0x2acad2=_0x35f6;return typeof _0x31f62e==_0x2acad2(0x3c3)?_0x5cdbd0:_0x1ca10e;}return function(_0x3a554e){return{'encrypt':function(_0x6898b0,_0x30855f,_0x3da700){const _0xf2d565=_0x35f6;return _0x1f5cfe(_0x30855f)[_0xf2d565(0x259)](_0x3a554e,_0x6898b0,_0x30855f,_0x3da700);},'decrypt':function(_0x3d77d2,_0x409549,_0x4f0d78){const _0x5d18b6=_0x35f6;return _0x1f5cfe(_0x409549)[_0x5d18b6(0x24d)](_0x3a554e,_0x3d77d2,_0x409549,_0x4f0d78);}};};}())});_0x3947f0[_0xd128e1(0x2e1)]=_0x1037a0[_0xd128e1(0x26c)]({'_doFinalize':function(){const _0x12ff5a=_0xd128e1;var _0x1cc513=this[_0x12ff5a(0x46a)](!0x0);return _0x1cc513;},'blockSize':0x1});var _0x504b14=_0x21b405[_0xd128e1(0x454)]={},_0x5dfd6a=_0x3947f0[_0xd128e1(0x21b)]=_0x118baa[_0xd128e1(0x26c)]({'createEncryptor':function(_0x1e749e,_0x50eb7c){const _0x956c31=_0xd128e1;return this[_0x956c31(0x2e9)][_0x956c31(0x555)](_0x1e749e,_0x50eb7c);},'createDecryptor':function(_0xacb291,_0x4fbaf9){const _0x553db0=_0xd128e1;return this[_0x553db0(0x415)]['create'](_0xacb291,_0x4fbaf9);},'init':function(_0x561630,_0x2ea288){const _0x1a72df=_0xd128e1;this[_0x1a72df(0x5de)]=_0x561630,this[_0x1a72df(0x53a)]=_0x2ea288;}}),_0x41ecfd=_0x504b14['CBC']=(function(){const _0x16fd01=_0xd128e1;var _0x4c6d29=_0x5dfd6a[_0x16fd01(0x26c)]();_0x4c6d29[_0x16fd01(0x2e9)]=_0x4c6d29[_0x16fd01(0x26c)]({'processBlock':function(_0x14d2d7,_0x42dd7e){const _0x1ab05b=_0x16fd01;var _0x350c57=this[_0x1ab05b(0x5de)],_0x4d3770=_0x350c57['blockSize'];_0x34c415['call'](this,_0x14d2d7,_0x42dd7e,_0x4d3770),_0x350c57[_0x1ab05b(0x2bc)](_0x14d2d7,_0x42dd7e),this[_0x1ab05b(0x2b3)]=_0x14d2d7[_0x1ab05b(0x270)](_0x42dd7e,_0x42dd7e+_0x4d3770);}}),_0x4c6d29[_0x16fd01(0x415)]=_0x4c6d29[_0x16fd01(0x26c)]({'processBlock':function(_0x46347b,_0x48d642){const _0x5a4a12=_0x16fd01;var _0x1acef5=this[_0x5a4a12(0x5de)],_0x468453=_0x1acef5[_0x5a4a12(0x4a8)],_0x439bfb=_0x46347b['slice'](_0x48d642,_0x48d642+_0x468453);_0x1acef5[_0x5a4a12(0x2ab)](_0x46347b,_0x48d642),_0x34c415['call'](this,_0x46347b,_0x48d642,_0x468453),this[_0x5a4a12(0x2b3)]=_0x439bfb;}});function _0x34c415(_0xe5eff6,_0x42a838,_0x47d3a9){const _0x4f7e22=_0x16fd01;var _0x5572d7,_0x34e741=this[_0x4f7e22(0x53a)];_0x34e741?(_0x5572d7=_0x34e741,this['_iv']=_0x2a88b8):_0x5572d7=this[_0x4f7e22(0x2b3)];for(var _0x215548=0x0;_0x215548<_0x47d3a9;_0x215548++)_0xe5eff6[_0x42a838+_0x215548]^=_0x5572d7[_0x215548];}return _0x4c6d29;}()),_0x1c406a=_0x21b405[_0xd128e1(0x5ec)]={},_0x4bb6ba=_0x1c406a['Pkcs7']={'pad':function(_0x140410,_0x10e961){const _0x3a6a84=_0xd128e1;for(var _0x4d7dbb=_0x10e961*0x4,_0x4ebf40=_0x4d7dbb-_0x140410['sigBytes']%_0x4d7dbb,_0x2ab150=_0x4ebf40<<0x18|_0x4ebf40<<0x10|_0x4ebf40<<0x8|_0x4ebf40,_0x4ce874=[],_0x4747b4=0x0;_0x4747b4<_0x4ebf40;_0x4747b4+=0x4)_0x4ce874[_0x3a6a84(0x263)](_0x2ab150);var _0x44e435=_0x20f016['create'](_0x4ce874,_0x4ebf40);_0x140410['concat'](_0x44e435);},'unpad':function(_0x5dbd50){const _0x5a67c5=_0xd128e1;var _0x53dc34=_0x5dbd50[_0x5a67c5(0x520)][_0x5dbd50[_0x5a67c5(0x1d9)]-0x1>>>0x2]&0xff;_0x5dbd50[_0x5a67c5(0x1d9)]-=_0x53dc34;}};_0x3947f0[_0xd128e1(0x5cd)]=_0x1037a0['extend']({'cfg':_0x1037a0['cfg'][_0xd128e1(0x26c)]({'mode':_0x41ecfd,'padding':_0x4bb6ba}),'reset':function(){const _0x4ddbc2=_0xd128e1;var _0x16f3c3;_0x1037a0['reset'][_0x4ddbc2(0x5b0)](this);var _0x20b6b2=this[_0x4ddbc2(0x442)],_0xc4f178=_0x20b6b2['iv'],_0x2cbe58=_0x20b6b2[_0x4ddbc2(0x454)];this['_xformMode']==this[_0x4ddbc2(0x2e3)]?_0x16f3c3=_0x2cbe58[_0x4ddbc2(0x4c7)]:(_0x16f3c3=_0x2cbe58[_0x4ddbc2(0x3f8)],this[_0x4ddbc2(0x5cf)]=0x1),this['_mode']&&this[_0x4ddbc2(0x4f7)][_0x4ddbc2(0x4bc)]==_0x16f3c3?this[_0x4ddbc2(0x4f7)][_0x4ddbc2(0x2ce)](this,_0xc4f178&&_0xc4f178[_0x4ddbc2(0x520)]):(this['_mode']=_0x16f3c3['call'](_0x2cbe58,this,_0xc4f178&&_0xc4f178[_0x4ddbc2(0x520)]),this[_0x4ddbc2(0x4f7)][_0x4ddbc2(0x4bc)]=_0x16f3c3);},'_doProcessBlock':function(_0x216d01,_0x3bad65){const _0x128f52=_0xd128e1;this[_0x128f52(0x4f7)][_0x128f52(0x494)](_0x216d01,_0x3bad65);},'_doFinalize':function(){const _0x4736a7=_0xd128e1;var _0x51a4e1,_0x23a00f=this[_0x4736a7(0x442)][_0x4736a7(0x31b)];return this[_0x4736a7(0x2a0)]==this['_ENC_XFORM_MODE']?(_0x23a00f[_0x4736a7(0x5ec)](this[_0x4736a7(0x624)],this[_0x4736a7(0x4a8)]),_0x51a4e1=this[_0x4736a7(0x46a)](!0x0)):(_0x51a4e1=this[_0x4736a7(0x46a)](!0x0),_0x23a00f[_0x4736a7(0x27d)](_0x51a4e1)),_0x51a4e1;},'blockSize':0x80/0x20});var _0x208e8e=_0x3947f0[_0xd128e1(0x496)]=_0x118baa[_0xd128e1(0x26c)]({'init':function(_0x11a8a3){const _0x440785=_0xd128e1;this[_0x440785(0x4aa)](_0x11a8a3);},'toString':function(_0x30ab4f){const _0x37d848=_0xd128e1;return(_0x30ab4f||this[_0x37d848(0x285)])[_0x37d848(0x65e)](this);}}),_0x214466=_0x21b405['format']={},_0x37fa4=_0x214466[_0xd128e1(0x543)]={'stringify':function(_0x3d9140){const _0x140db4=_0xd128e1;var _0x16ce56,_0x3b2de0=_0x3d9140['ciphertext'],_0x2f42c4=_0x3d9140[_0x140db4(0x411)];return _0x2f42c4?_0x16ce56=_0x20f016[_0x140db4(0x555)]([0x53616c74,0x65645f5f])[_0x140db4(0x59e)](_0x2f42c4)['concat'](_0x3b2de0):_0x16ce56=_0x3b2de0,_0x16ce56[_0x140db4(0x401)](_0xeda338);},'parse':function(_0x4c9978){const _0xc27143=_0xd128e1;var _0x46023c,_0x1a7c6b=_0xeda338[_0xc27143(0x634)](_0x4c9978),_0xa595ac=_0x1a7c6b[_0xc27143(0x520)];return _0xa595ac[0x0]==0x53616c74&&_0xa595ac[0x1]==0x65645f5f&&(_0x46023c=_0x20f016[_0xc27143(0x555)](_0xa595ac[_0xc27143(0x270)](0x2,0x4)),_0xa595ac[_0xc27143(0x22e)](0x0,0x4),_0x1a7c6b['sigBytes']-=0x10),_0x208e8e[_0xc27143(0x555)]({'ciphertext':_0x1a7c6b,'salt':_0x46023c});}},_0x1ca10e=_0x3947f0[_0xd128e1(0x50e)]=_0x118baa[_0xd128e1(0x26c)]({'cfg':_0x118baa[_0xd128e1(0x26c)]({'format':_0x37fa4}),'encrypt':function(_0x40d7b4,_0x2004d4,_0x2ab654,_0x54e64f){const _0x31d8e8=_0xd128e1;_0x54e64f=this[_0x31d8e8(0x442)][_0x31d8e8(0x26c)](_0x54e64f);var _0x3fcf2d=_0x40d7b4[_0x31d8e8(0x4c7)](_0x2ab654,_0x54e64f),_0x501ada=_0x3fcf2d[_0x31d8e8(0x446)](_0x2004d4),_0x1e0445=_0x3fcf2d['cfg'];return _0x208e8e['create']({'ciphertext':_0x501ada,'key':_0x2ab654,'iv':_0x1e0445['iv'],'algorithm':_0x40d7b4,'mode':_0x1e0445[_0x31d8e8(0x454)],'padding':_0x1e0445[_0x31d8e8(0x31b)],'blockSize':_0x40d7b4[_0x31d8e8(0x4a8)],'formatter':_0x54e64f['format']});},'decrypt':function(_0x42fe73,_0x3640d2,_0x3d568d,_0x404ec9){const _0x182541=_0xd128e1;_0x404ec9=this['cfg'][_0x182541(0x26c)](_0x404ec9),_0x3640d2=this['_parse'](_0x3640d2,_0x404ec9[_0x182541(0x3fc)]);var _0x1fc163=_0x42fe73[_0x182541(0x3f8)](_0x3d568d,_0x404ec9)[_0x182541(0x446)](_0x3640d2[_0x182541(0x30e)]);return _0x1fc163;},'_parse':function(_0x4fc49c,_0x15114d){return typeof _0x4fc49c=='string'?_0x15114d['parse'](_0x4fc49c,this):_0x4fc49c;}}),_0x20c1de=_0x21b405[_0xd128e1(0x588)]={},_0x459f18=_0x20c1de[_0xd128e1(0x543)]={'execute':function(_0x456ab2,_0x55515f,_0x4eecd1,_0x106f64,_0x5d0fa8){const _0x50392a=_0xd128e1;if(_0x106f64||(_0x106f64=_0x20f016[_0x50392a(0x31d)](0x40/0x8)),_0x5d0fa8)var _0x555c5f=_0x47a84d['create']({'keySize':_0x55515f+_0x4eecd1,'hasher':_0x5d0fa8})[_0x50392a(0x501)](_0x456ab2,_0x106f64);else var _0x555c5f=_0x47a84d['create']({'keySize':_0x55515f+_0x4eecd1})[_0x50392a(0x501)](_0x456ab2,_0x106f64);var _0x3c189a=_0x20f016[_0x50392a(0x555)](_0x555c5f['words']['slice'](_0x55515f),_0x4eecd1*0x4);return _0x555c5f[_0x50392a(0x1d9)]=_0x55515f*0x4,_0x208e8e[_0x50392a(0x555)]({'key':_0x555c5f,'iv':_0x3c189a,'salt':_0x106f64});}},_0x5cdbd0=_0x3947f0[_0xd128e1(0x56b)]=_0x1ca10e[_0xd128e1(0x26c)]({'cfg':_0x1ca10e[_0xd128e1(0x442)]['extend']({'kdf':_0x459f18}),'encrypt':function(_0x358a32,_0x4a4a3f,_0x33dfbf,_0x16a0f0){const _0x5e06dd=_0xd128e1;_0x16a0f0=this[_0x5e06dd(0x442)][_0x5e06dd(0x26c)](_0x16a0f0);var _0x5ac562=_0x16a0f0['kdf'][_0x5e06dd(0x538)](_0x33dfbf,_0x358a32['keySize'],_0x358a32['ivSize'],_0x16a0f0[_0x5e06dd(0x411)],_0x16a0f0[_0x5e06dd(0x28a)]);_0x16a0f0['iv']=_0x5ac562['iv'];var _0x2b0054=_0x1ca10e[_0x5e06dd(0x259)][_0x5e06dd(0x5b0)](this,_0x358a32,_0x4a4a3f,_0x5ac562['key'],_0x16a0f0);return _0x2b0054['mixIn'](_0x5ac562),_0x2b0054;},'decrypt':function(_0x58b770,_0xeefc04,_0x15c50c,_0x528567){const _0x103888=_0xd128e1;_0x528567=this['cfg'][_0x103888(0x26c)](_0x528567),_0xeefc04=this[_0x103888(0x264)](_0xeefc04,_0x528567[_0x103888(0x3fc)]);var _0x550562=_0x528567[_0x103888(0x588)][_0x103888(0x538)](_0x15c50c,_0x58b770['keySize'],_0x58b770['ivSize'],_0xeefc04['salt'],_0x528567[_0x103888(0x28a)]);_0x528567['iv']=_0x550562['iv'];var _0x1d530b=_0x1ca10e['decrypt'][_0x103888(0x5b0)](this,_0x58b770,_0xeefc04,_0x550562[_0x103888(0x2ff)],_0x528567);return _0x1d530b;}});}();}));}(dt)),dt['exports'];}(function(_0x319f3e,_0x42222b){(function(_0x24f849,_0x5a12db,_0x13f8ed){const _0x1b8a4a=_0x35f6;_0x319f3e[_0x1b8a4a(0x236)]=_0x5a12db(ae(),Tn(),nr(),Rn(),yn());}(J,function(_0x12160e){const _0x249f55=_0x35f6;return(function(){const _0x428b16=_0x35f6;var _0x300222=_0x12160e,_0x153c04=_0x300222['lib'],_0x5b260b=_0x153c04[_0x428b16(0x5cd)],_0x11dc39=_0x300222[_0x428b16(0x49a)],_0x3b803a=[],_0x37a8f3=[],_0x256aa5=[],_0x3948b5=[],_0x2a134b=[],_0x1770d2=[],_0x4bb5db=[],_0x27f4b1=[],_0x3d109c=[],_0x345842=[];(function(){for(var _0xb06594=[],_0x2463d5=0x0;_0x2463d5<0x100;_0x2463d5++)_0x2463d5<0x80?_0xb06594[_0x2463d5]=_0x2463d5<<0x1:_0xb06594[_0x2463d5]=_0x2463d5<<0x1^0x11b;for(var _0x54ea99=0x0,_0x93afc5=0x0,_0x2463d5=0x0;_0x2463d5<0x100;_0x2463d5++){var _0x51e780=_0x93afc5^_0x93afc5<<0x1^_0x93afc5<<0x2^_0x93afc5<<0x3^_0x93afc5<<0x4;_0x51e780=_0x51e780>>>0x8^_0x51e780&0xff^0x63,_0x3b803a[_0x54ea99]=_0x51e780,_0x37a8f3[_0x51e780]=_0x54ea99;var _0x43561f=_0xb06594[_0x54ea99],_0x4a3bdf=_0xb06594[_0x43561f],_0x197429=_0xb06594[_0x4a3bdf],_0x36dabe=_0xb06594[_0x51e780]*0x101^_0x51e780*0x1010100;_0x256aa5[_0x54ea99]=_0x36dabe<<0x18|_0x36dabe>>>0x8,_0x3948b5[_0x54ea99]=_0x36dabe<<0x10|_0x36dabe>>>0x10,_0x2a134b[_0x54ea99]=_0x36dabe<<0x8|_0x36dabe>>>0x18,_0x1770d2[_0x54ea99]=_0x36dabe;var _0x36dabe=_0x197429*0x1010101^_0x4a3bdf*0x10001^_0x43561f*0x101^_0x54ea99*0x1010100;_0x4bb5db[_0x51e780]=_0x36dabe<<0x18|_0x36dabe>>>0x8,_0x27f4b1[_0x51e780]=_0x36dabe<<0x10|_0x36dabe>>>0x10,_0x3d109c[_0x51e780]=_0x36dabe<<0x8|_0x36dabe>>>0x18,_0x345842[_0x51e780]=_0x36dabe,_0x54ea99?(_0x54ea99=_0x43561f^_0xb06594[_0xb06594[_0xb06594[_0x197429^_0x43561f]]],_0x93afc5^=_0xb06594[_0xb06594[_0x93afc5]]):_0x54ea99=_0x93afc5=0x1;}}());var _0x563feb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xbe4164=_0x11dc39['AES']=_0x5b260b[_0x428b16(0x26c)]({'_doReset':function(){const _0xc2249f=_0x428b16;var _0x458f76;if(!(this[_0xc2249f(0x4ae)]&&this[_0xc2249f(0x440)]===this[_0xc2249f(0x405)])){for(var _0x116f2b=this[_0xc2249f(0x440)]=this[_0xc2249f(0x405)],_0x9ec5db=_0x116f2b[_0xc2249f(0x520)],_0x1f89b2=_0x116f2b[_0xc2249f(0x1d9)]/0x4,_0x53b18d=this[_0xc2249f(0x4ae)]=_0x1f89b2+0x6,_0x40f553=(_0x53b18d+0x1)*0x4,_0x3ee8ba=this[_0xc2249f(0x5d5)]=[],_0x9aa6a1=0x0;_0x9aa6a1<_0x40f553;_0x9aa6a1++)_0x9aa6a1<_0x1f89b2?_0x3ee8ba[_0x9aa6a1]=_0x9ec5db[_0x9aa6a1]:(_0x458f76=_0x3ee8ba[_0x9aa6a1-0x1],_0x9aa6a1%_0x1f89b2?_0x1f89b2>0x6&&_0x9aa6a1%_0x1f89b2==0x4&&(_0x458f76=_0x3b803a[_0x458f76>>>0x18]<<0x18|_0x3b803a[_0x458f76>>>0x10&0xff]<<0x10|_0x3b803a[_0x458f76>>>0x8&0xff]<<0x8|_0x3b803a[_0x458f76&0xff]):(_0x458f76=_0x458f76<<0x8|_0x458f76>>>0x18,_0x458f76=_0x3b803a[_0x458f76>>>0x18]<<0x18|_0x3b803a[_0x458f76>>>0x10&0xff]<<0x10|_0x3b803a[_0x458f76>>>0x8&0xff]<<0x8|_0x3b803a[_0x458f76&0xff],_0x458f76^=_0x563feb[_0x9aa6a1/_0x1f89b2|0x0]<<0x18),_0x3ee8ba[_0x9aa6a1]=_0x3ee8ba[_0x9aa6a1-_0x1f89b2]^_0x458f76);for(var _0x409961=this[_0xc2249f(0x310)]=[],_0x35bc5f=0x0;_0x35bc5f<_0x40f553;_0x35bc5f++){var _0x9aa6a1=_0x40f553-_0x35bc5f;if(_0x35bc5f%0x4)var _0x458f76=_0x3ee8ba[_0x9aa6a1];else var _0x458f76=_0x3ee8ba[_0x9aa6a1-0x4];_0x35bc5f<0x4||_0x9aa6a1<=0x4?_0x409961[_0x35bc5f]=_0x458f76:_0x409961[_0x35bc5f]=_0x4bb5db[_0x3b803a[_0x458f76>>>0x18]]^_0x27f4b1[_0x3b803a[_0x458f76>>>0x10&0xff]]^_0x3d109c[_0x3b803a[_0x458f76>>>0x8&0xff]]^_0x345842[_0x3b803a[_0x458f76&0xff]];}}},'encryptBlock':function(_0x26656d,_0x55fd7e){const _0x30c3f3=_0x428b16;this[_0x30c3f3(0x33d)](_0x26656d,_0x55fd7e,this['_keySchedule'],_0x256aa5,_0x3948b5,_0x2a134b,_0x1770d2,_0x3b803a);},'decryptBlock':function(_0x53a16e,_0x23e560){const _0xfcbbef=_0x428b16;var _0xdb1835=_0x53a16e[_0x23e560+0x1];_0x53a16e[_0x23e560+0x1]=_0x53a16e[_0x23e560+0x3],_0x53a16e[_0x23e560+0x3]=_0xdb1835,this[_0xfcbbef(0x33d)](_0x53a16e,_0x23e560,this[_0xfcbbef(0x310)],_0x4bb5db,_0x27f4b1,_0x3d109c,_0x345842,_0x37a8f3);var _0xdb1835=_0x53a16e[_0x23e560+0x1];_0x53a16e[_0x23e560+0x1]=_0x53a16e[_0x23e560+0x3],_0x53a16e[_0x23e560+0x3]=_0xdb1835;},'_doCryptBlock':function(_0x5a091c,_0x183062,_0x8b958a,_0x22fd43,_0x121206,_0x34876f,_0x5ab347,_0x298b26){const _0x2fe472=_0x428b16;for(var _0x4add1f=this[_0x2fe472(0x4ae)],_0x3c8c56=_0x5a091c[_0x183062]^_0x8b958a[0x0],_0x1f7e63=_0x5a091c[_0x183062+0x1]^_0x8b958a[0x1],_0x4d4d71=_0x5a091c[_0x183062+0x2]^_0x8b958a[0x2],_0x430d08=_0x5a091c[_0x183062+0x3]^_0x8b958a[0x3],_0x3cb1d9=0x4,_0x1d88ac=0x1;_0x1d88ac<_0x4add1f;_0x1d88ac++){var _0xb357a9=_0x22fd43[_0x3c8c56>>>0x18]^_0x121206[_0x1f7e63>>>0x10&0xff]^_0x34876f[_0x4d4d71>>>0x8&0xff]^_0x5ab347[_0x430d08&0xff]^_0x8b958a[_0x3cb1d9++],_0x494a0d=_0x22fd43[_0x1f7e63>>>0x18]^_0x121206[_0x4d4d71>>>0x10&0xff]^_0x34876f[_0x430d08>>>0x8&0xff]^_0x5ab347[_0x3c8c56&0xff]^_0x8b958a[_0x3cb1d9++],_0x2ef64e=_0x22fd43[_0x4d4d71>>>0x18]^_0x121206[_0x430d08>>>0x10&0xff]^_0x34876f[_0x3c8c56>>>0x8&0xff]^_0x5ab347[_0x1f7e63&0xff]^_0x8b958a[_0x3cb1d9++],_0xa11176=_0x22fd43[_0x430d08>>>0x18]^_0x121206[_0x3c8c56>>>0x10&0xff]^_0x34876f[_0x1f7e63>>>0x8&0xff]^_0x5ab347[_0x4d4d71&0xff]^_0x8b958a[_0x3cb1d9++];_0x3c8c56=_0xb357a9,_0x1f7e63=_0x494a0d,_0x4d4d71=_0x2ef64e,_0x430d08=_0xa11176;}var _0xb357a9=(_0x298b26[_0x3c8c56>>>0x18]<<0x18|_0x298b26[_0x1f7e63>>>0x10&0xff]<<0x10|_0x298b26[_0x4d4d71>>>0x8&0xff]<<0x8|_0x298b26[_0x430d08&0xff])^_0x8b958a[_0x3cb1d9++],_0x494a0d=(_0x298b26[_0x1f7e63>>>0x18]<<0x18|_0x298b26[_0x4d4d71>>>0x10&0xff]<<0x10|_0x298b26[_0x430d08>>>0x8&0xff]<<0x8|_0x298b26[_0x3c8c56&0xff])^_0x8b958a[_0x3cb1d9++],_0x2ef64e=(_0x298b26[_0x4d4d71>>>0x18]<<0x18|_0x298b26[_0x430d08>>>0x10&0xff]<<0x10|_0x298b26[_0x3c8c56>>>0x8&0xff]<<0x8|_0x298b26[_0x1f7e63&0xff])^_0x8b958a[_0x3cb1d9++],_0xa11176=(_0x298b26[_0x430d08>>>0x18]<<0x18|_0x298b26[_0x3c8c56>>>0x10&0xff]<<0x10|_0x298b26[_0x1f7e63>>>0x8&0xff]<<0x8|_0x298b26[_0x4d4d71&0xff])^_0x8b958a[_0x3cb1d9++];_0x5a091c[_0x183062]=_0xb357a9,_0x5a091c[_0x183062+0x1]=_0x494a0d,_0x5a091c[_0x183062+0x2]=_0x2ef64e,_0x5a091c[_0x183062+0x3]=_0xa11176;},'keySize':0x100/0x20});_0x300222[_0x428b16(0x552)]=_0x5b260b[_0x428b16(0x258)](_0xbe4164);}()),_0x12160e[_0x249f55(0x552)];}));}(bn));var rr=bn['exports'];const or=Le(rr);var ar=Tn();function _0x35f6(_0x312763,_0x4c45b6){const _0x15d4c2=_0x15d4();return _0x35f6=function(_0x35f6f,_0x3fb596){_0x35f6f=_0x35f6f-0x1d4;let _0xcc9b47=_0x15d4c2[_0x35f6f];return _0xcc9b47;},_0x35f6(_0x312763,_0x4c45b6);}const zt=Le(ar);var On={'exports':{}};(function(_0x7ca0d5,_0x1e363b){(function(_0x5acf25,_0x25fd17){const _0x5de0de=_0x35f6;_0x7ca0d5[_0x5de0de(0x236)]=_0x25fd17(ae());}(J,function(_0x3861c4){const _0x13a4ad=_0x35f6;return _0x3861c4[_0x13a4ad(0x5fb)][_0x13a4ad(0x340)];}));}(On));var cr=On[_0x17671e(0x236)];const lr=Le(cr);var Dn={'exports':{}};(function(_0x498911,_0x153595){(function(_0x4cbb50,_0x453624){const _0xf53873=_0x35f6;_0x498911[_0xf53873(0x236)]=_0x453624(ae());}(J,function(_0x3aec0e){const _0x60a120=_0x35f6;return(function(){const _0x33baaf=_0x35f6;if(typeof ArrayBuffer==_0x33baaf(0x1ee)){var _0x9cd4c0=_0x3aec0e,_0x4ba2d5=_0x9cd4c0['lib'],_0x5a3e94=_0x4ba2d5[_0x33baaf(0x323)],_0x9627ef=_0x5a3e94[_0x33baaf(0x2ce)],_0x17ed44=_0x5a3e94['init']=function(_0x4c5785){const _0x33108d=_0x33baaf;if(_0x4c5785 instanceof ArrayBuffer&&(_0x4c5785=new Uint8Array(_0x4c5785)),(_0x4c5785 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c5785 instanceof Uint8ClampedArray||_0x4c5785 instanceof Int16Array||_0x4c5785 instanceof Uint16Array||_0x4c5785 instanceof Int32Array||_0x4c5785 instanceof Uint32Array||_0x4c5785 instanceof Float32Array||_0x4c5785 instanceof Float64Array)&&(_0x4c5785=new Uint8Array(_0x4c5785[_0x33108d(0x606)],_0x4c5785['byteOffset'],_0x4c5785['byteLength'])),_0x4c5785 instanceof Uint8Array){for(var _0x2df702=_0x4c5785['byteLength'],_0x4555b5=[],_0x29b75e=0x0;_0x29b75e<_0x2df702;_0x29b75e++)_0x4555b5[_0x29b75e>>>0x2]|=_0x4c5785[_0x29b75e]<<0x18-_0x29b75e%0x4*0x8;_0x9627ef[_0x33108d(0x5b0)](this,_0x4555b5,_0x2df702);}else _0x9627ef['apply'](this,arguments);};_0x17ed44[_0x33baaf(0x4ef)]=_0x5a3e94;}}()),_0x3aec0e['lib'][_0x60a120(0x323)];}));}(Dn));var hr=Dn[_0x17671e(0x236)];const _r=Le(hr);var wn={'exports':{}};(function(_0x151462,_0x781865){(function(_0x4ec6d1,_0x2cdc80,_0x5d5f67){_0x151462['exports']=_0x2cdc80(ae(),yn());}(J,function(_0x2964ce){const _0x1b239f=_0x35f6;return _0x2964ce[_0x1b239f(0x5ec)][_0x1b239f(0x592)]={'pad':function(){},'unpad':function(){}},_0x2964ce[_0x1b239f(0x5ec)][_0x1b239f(0x592)];}));}(wn));var ur=wn[_0x17671e(0x236)];const dr=Le(ur);function fr(_0xe25106,_0x31572a){const _0x297de6=_0x17671e,_0x155a49=_0x31572a-_0xe25106['length']%_0x31572a,_0x4de3ab=String[_0x297de6(0x58e)](_0x155a49)[_0x297de6(0x3fe)](_0x155a49);return _0xe25106+_0x4de3ab;}function vr(_0x372951,_0x1e76dc){const _0x51d8f4=_0x17671e,_0x7dd484=_r[_0x51d8f4(0x31d)](0x10),_0x1ab4d4=fr(_0x372951,0x10),_0x13d075=or[_0x51d8f4(0x259)](lr[_0x51d8f4(0x634)](_0x1ab4d4),zt['parse'](_0x1e76dc),{'iv':_0x7dd484,'padding':dr});return _0x7dd484[_0x51d8f4(0x59e)](_0x13d075[_0x51d8f4(0x30e)])['toString'](zt);}function mr(){const _0x1e6794=_0x17671e,_0x576de9=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x576de9){const _0x26faed={'time':Math[_0x1e6794(0x275)](Date[_0x1e6794(0x2a4)]()/0x3e8),'domain':location[_0x1e6794(0x374)]};return vr(JSON['stringify'](_0x26faed),_0x576de9);}}var pr=Object[_0x17671e(0x545)],Sr=Object['getOwnPropertyDescriptor'],gr=(_0x4c046a,_0x59b549,_0x27574e,_0x228336)=>{for(var _0x55f19a=_0x228336>0x1?void 0x0:_0x228336?Sr(_0x59b549,_0x27574e):_0x59b549,_0x587f07=_0x4c046a['length']-0x1,_0x1f9122;_0x587f07>=0x0;_0x587f07--)(_0x1f9122=_0x4c046a[_0x587f07])&&(_0x55f19a=(_0x228336?_0x1f9122(_0x59b549,_0x27574e,_0x55f19a):_0x1f9122(_0x55f19a))||_0x55f19a);return _0x228336&&_0x55f19a&&pr(_0x59b549,_0x27574e,_0x55f19a),_0x55f19a;},Ir=(_0x316119,_0x48da17)=>(_0xcdc531,_0x3fc847)=>_0x48da17(_0xcdc531,_0x3fc847,_0x316119);let Ye=class{constructor(_0x11ce53){const _0x5379a4=_0x17671e;this[_0x5379a4(0x54d)]=_0x11ce53,this[_0x5379a4(0x49e)]();}['_initRequestHeader'](){const _0x513a04=_0x17671e;this['_httpService'][_0x513a04(0x617)]({'interceptor':(_0xd00fbe,_0x2765e4)=>{const _0x2dad48=_0xd00fbe['headers'],_0x3b931d=mr();return _0x3b931d&&_0x2dad48['set']('x-univer-host',_0x3b931d),_0x2765e4(_0xd00fbe);}});}};Ye=gr([Ir(0x0,a['Inject'](Q[_0x17671e(0x5df)]))],Ye);var Cr=Object[_0x17671e(0x545)],Er=Object[_0x17671e(0x47f)],br=(_0x44117a,_0x3bf1ad,_0x54bdc1,_0x8b3a2d)=>{const _0x4fe9e1=_0x17671e;for(var _0x2a3e81=_0x8b3a2d>0x1?void 0x0:_0x8b3a2d?Er(_0x3bf1ad,_0x54bdc1):_0x3bf1ad,_0x5c8626=_0x44117a[_0x4fe9e1(0x367)]-0x1,_0x8750c5;_0x5c8626>=0x0;_0x5c8626--)(_0x8750c5=_0x44117a[_0x5c8626])&&(_0x2a3e81=(_0x8b3a2d?_0x8750c5(_0x3bf1ad,_0x54bdc1,_0x2a3e81):_0x8750c5(_0x2a3e81))||_0x2a3e81);return _0x8b3a2d&&_0x2a3e81&&Cr(_0x3bf1ad,_0x54bdc1,_0x2a3e81),_0x2a3e81;},ft=(_0x258a21,_0x4b3d12)=>(_0x462d1b,_0x43a11e)=>_0x4b3d12(_0x462d1b,_0x43a11e,_0x258a21);const Tr=['image/png',_0x17671e(0x34b),_0x17671e(0x2dc),_0x17671e(0x471),_0x17671e(0x4e4)],Rr=0x5*0x400*0x400,yr=_0x17671e(0x2d4),Or=_0x17671e(0x4a7),Dr=_0x17671e(0x435),wr='/universer-api/file/{fileID}/sign-url';exports[_0x17671e(0x611)]=class{constructor(_0x3fb49d,_0x3696d1,_0x52bf3f){const _0x308f1c=_0x17671e;I(this,'_waitCount',0x0),I(this,_0x308f1c(0x43e),new A[(_0x308f1c(0x4c2))]()),I(this,_0x308f1c(0x5a0),this['_change$']),I(this,'_imageSourceCache',new Map()),(this[_0x308f1c(0x54d)]=_0x3fb49d,this['_configService']=_0x3696d1,this[_0x308f1c(0x2ba)]=_0x52bf3f);}[_0x17671e(0x5fe)](_0x467ac7){const _0x24aa82=_0x17671e;this[_0x24aa82(0x433)]=_0x467ac7,this[_0x24aa82(0x43e)]['next'](_0x467ac7);}[_0x17671e(0x575)](_0x13e784,_0x3e2bff){const _0x26b945=_0x17671e;if(_0x3e2bff===ie[_0x26b945(0x5e8)][_0x26b945(0x40d)]){const _0x2649d6=new Image();return _0x2649d6[_0x26b945(0x45a)]=_0x13e784,_0x2649d6;}return this['_imageSourceCache'][_0x26b945(0x2a7)](_0x13e784);}[_0x17671e(0x24e)](_0x2334c5,_0x11877c,_0x4cc3e5){const _0x18247e=_0x17671e;_0x11877c===ie[_0x18247e(0x5e8)]['BASE64']||_0x4cc3e5==null||this[_0x18247e(0x377)][_0x18247e(0x4da)](_0x2334c5,_0x4cc3e5);}async[_0x17671e(0x210)](_0x44dec0){const _0x2ee4ed=_0x17671e;try{const _0x220ad3=this[_0x2ee4ed(0x2f7)](this[_0x2ee4ed(0x5fa)](),''+_0x44dec0),_0x473535=(await this['_httpService'][_0x2ee4ed(0x2a7)](_0x220ad3))[_0x2ee4ed(0x599)];if(_0x473535[_0x2ee4ed(0x2c9)]&&_0x473535[_0x2ee4ed(0x2c9)]['code']===an['OK']){const _0x402bfc=new URL(_0x473535[_0x2ee4ed(0x660)],this[_0x2ee4ed(0x46e)]())[_0x2ee4ed(0x401)]();return Promise[_0x2ee4ed(0x388)](_0x402bfc);}return Promise[_0x2ee4ed(0x23c)](_0x473535[_0x2ee4ed(0x2c9)]);}catch(_0x5792af){return Promise[_0x2ee4ed(0x23c)](_0x5792af);}}async[_0x17671e(0x34d)](_0x58e2a7){const _0x4c3b5d=_0x17671e;let _0x2fd9f4='';if(!Tr['includes'](_0x58e2a7['type']))return this[_0x4c3b5d(0x5e7)](),Promise[_0x4c3b5d(0x23c)](new Error(ie[_0x4c3b5d(0x451)]['ERROR_IMAGE_TYPE']));if(_0x58e2a7[_0x4c3b5d(0x2fa)]>Rr)return this[_0x4c3b5d(0x5e7)](),Promise[_0x4c3b5d(0x23c)](new Error(ie[_0x4c3b5d(0x451)][_0x4c3b5d(0x2fd)]));try{const _0x4c0b2a=new FormData();_0x4c0b2a[_0x4c3b5d(0x4fa)](_0x4c3b5d(0x41c),_0x58e2a7);const _0xc772e8=this[_0x4c3b5d(0x2ba)][_0x4c3b5d(0x3ab)](),_0x1919ed=_0xc772e8==null?void 0x0:_0xc772e8[_0x4c3b5d(0x21c)]();if(!_0x1919ed)throw new Error(_0x4c3b5d(0x2ea));const _0x5cb7a8=this['_getUploadFileURL']()+'?size='+_0x58e2a7[_0x4c3b5d(0x2fa)][_0x4c3b5d(0x401)]()+_0x4c3b5d(0x51c)+cn[_0x4c3b5d(0x48d)]+_0x4c3b5d(0x3bd)+encodeURIComponent(_0x1919ed),_0x413d71=await(await fetch(_0x5cb7a8,{'method':_0x4c3b5d(0x576),'body':_0x4c0b2a}))['json']();if(typeof _0x413d71[_0x4c3b5d(0x343)]!=_0x4c3b5d(0x3c3))return this[_0x4c3b5d(0x5e7)](),Promise[_0x4c3b5d(0x23c)](new Error(ie[_0x4c3b5d(0x451)][_0x4c3b5d(0x1d7)]));_0x2fd9f4=_0x413d71['FileId'];}catch{return this[_0x4c3b5d(0x5e7)](),Promise[_0x4c3b5d(0x23c)](new Error(ie[_0x4c3b5d(0x451)][_0x4c3b5d(0x1d7)]));}return new Promise((_0x21d397,_0x13be93)=>{const _0x51cf9f=_0x4c3b5d,_0x260967=new FileReader();_0x260967[_0x51cf9f(0x424)](_0x58e2a7),_0x260967['onload']=_0x28baa6=>{const _0x4f6bad=_0x51cf9f;var _0xf4d4d3;const _0x56add2=(_0xf4d4d3=_0x28baa6['target'])==null?void 0x0:_0xf4d4d3[_0x4f6bad(0x1e4)];if(_0x56add2==null){this[_0x4f6bad(0x5e7)](),_0x13be93(new Error(ie[_0x4f6bad(0x451)][_0x4f6bad(0x1d7)]));return;}const _0x3144b7=a[_0x4f6bad(0x341)]['generateRandomId'](0x6);_0x21d397({'imageId':_0x3144b7,'imageSourceType':ie['ImageSourceType']['UUID'],'source':_0x2fd9f4,'base64Cache':_0x56add2,'status':ie['ImageUploadStatusType'][_0x4f6bad(0x5f3)]}),this[_0x4f6bad(0x5e7)]();};});}[_0x17671e(0x561)](){const _0x4bfc0e=_0x17671e;var _0x49f703,_0x2cd719;const _0x9f6edc=this[_0x4bfc0e(0x573)][_0x4bfc0e(0x2cf)](yr),_0x577da7=this[_0x4bfc0e(0x573)][_0x4bfc0e(0x2cf)](ne);return(_0x2cd719=(_0x49f703=_0x577da7==null?void 0x0:_0x577da7['uploadFileServerUrl'])!=null?_0x49f703:_0x9f6edc)!=null?_0x2cd719:Or;}[_0x17671e(0x5fa)](){const _0x595851=_0x17671e;var _0x40013e,_0x489b1f;const _0x3eb0ee=this[_0x595851(0x573)][_0x595851(0x2cf)](Dr),_0x2261ce=this[_0x595851(0x573)][_0x595851(0x2cf)](ne);return(_0x489b1f=(_0x40013e=_0x2261ce==null?void 0x0:_0x2261ce['signUrlServerUrl'])!=null?_0x40013e:_0x3eb0ee)!=null?_0x489b1f:wr;}['_getDownloadEndpointURL'](){const _0x5e14cf=_0x17671e;var _0x495349;const _0x23c4dd=this[_0x5e14cf(0x573)][_0x5e14cf(0x2cf)](ne);return(_0x495349=_0x23c4dd==null?void 0x0:_0x23c4dd[_0x5e14cf(0x3bf)])!=null?_0x495349:location['origin'];}[_0x17671e(0x2f7)](_0x2ed6bd,_0x45587c){const _0x574ba0=_0x17671e;return _0x2ed6bd[_0x574ba0(0x376)](_0x574ba0(0x331),_0x45587c);}[_0x17671e(0x5e7)](){const _0x3c6b01=_0x17671e;this['_waitCount']-=0x1,this[_0x3c6b01(0x43e)][_0x3c6b01(0x2de)](this[_0x3c6b01(0x433)]);}},exports['ImageIoService']=br([ft(0x0,a[_0x17671e(0x52e)](Q['HTTPService'])),ft(0x1,a[_0x17671e(0x505)]),ft(0x2,a['Inject'](a[_0x17671e(0x4fc)]))],exports['ImageIoService']);var Pr=Object[_0x17671e(0x545)],Ur=Object[_0x17671e(0x47f)],Mr=(_0x216398,_0x11649a,_0x1e496b,_0x68077f)=>{const _0x47a125=_0x17671e;for(var _0x59be8f=_0x68077f>0x1?void 0x0:_0x68077f?Ur(_0x11649a,_0x1e496b):_0x11649a,_0x124cc2=_0x216398[_0x47a125(0x367)]-0x1,_0x2463fb;_0x124cc2>=0x0;_0x124cc2--)(_0x2463fb=_0x216398[_0x124cc2])&&(_0x59be8f=(_0x68077f?_0x2463fb(_0x11649a,_0x1e496b,_0x59be8f):_0x2463fb(_0x59be8f))||_0x59be8f);return _0x68077f&&_0x59be8f&&Pr(_0x11649a,_0x1e496b,_0x59be8f),_0x59be8f;},Me=(_0x4e33c3,_0x17b19f)=>(_0x3bc344,_0x416e74)=>_0x17b19f(_0x3bc344,_0x416e74,_0x4e33c3);let Ke=class extends a['RxDisposable']{constructor(_0x52161b,_0x2b5c13,_0x368fb8,_0xd3fd3e,_0x44208a){const _0x354d0a=_0x17671e;super(),this['_injector']=_0x52161b,this[_0x354d0a(0x2ba)]=_0x2b5c13,this[_0x354d0a(0x5d7)]=_0x368fb8,this['_collaborationSessionService']=_0xd3fd3e,this[_0x354d0a(0x457)]=_0x44208a,this[_0x354d0a(0x37e)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x31ad72=_0x17671e,_0x335e2f=async _0xfb87ad=>{const _0x1f97af=_0x35f6;(await this[_0x1f97af(0x297)][_0x1f97af(0x358)](_0xfb87ad))[_0x1f97af(0x4c4)][_0x1f97af(0x42f)](V['filter'](_0x39a086=>_0x39a086[_0x1f97af(0x3ee)]===p['CollaborationEvent'][_0x1f97af(0x519)]),V[_0x1f97af(0x500)](this[_0x1f97af(0x52d)]))[_0x1f97af(0x383)](_0x353b8a=>{const _0x14848a=_0x1f97af,_0x1fbc71=_0x353b8a,{reason:_0x1affe}=_0x1fbc71[_0x14848a(0x1e9)];this[_0x14848a(0x27e)]['get'](te[_0x14848a(0x21a)])['show']({'type':Se[_0x14848a(0x393)][_0x14848a(0x280)],'content':this[_0x14848a(0x457)]['t'](_0x14848a(0x45d))+'('+_0x1affe+')'}),this[_0x14848a(0x5d7)][_0x14848a(0x5c9)](new k[(_0x14848a(0x51d))](_0xfb87ad)['id'],!0x1),this['_collaborationSessionService'][_0x14848a(0x260)](_0xfb87ad);});};A[_0x31ad72(0x5dc)](this[_0x31ad72(0x2ba)][_0x31ad72(0x58a)](a[_0x31ad72(0x664)]['UNIVER_SHEET']),this[_0x31ad72(0x2ba)][_0x31ad72(0x58a)](a['UniverInstanceType'][_0x31ad72(0x4ca)]))[_0x31ad72(0x42f)](V[_0x31ad72(0x372)](_0x539a2d=>_0x539a2d[_0x31ad72(0x21c)]()),V[_0x31ad72(0x335)](_0x272452=>!a[_0x31ad72(0x261)](_0x272452)),V['takeUntil'](this['dispose$']))[_0x31ad72(0x383)](_0x9d1cdb=>{_0x335e2f(_0x9d1cdb);});}['_initUnitPermissionChange'](){const _0xae6bdb=_0x17671e,_0x2ce0a6=async _0x2618c4=>{const _0x1ce13a=_0x35f6;(await this[_0x1ce13a(0x297)][_0x1ce13a(0x358)](_0x2618c4))[_0x1ce13a(0x4c4)][_0x1ce13a(0x42f)](V['filter'](_0x513a18=>_0x513a18[_0x1ce13a(0x3ee)]===p[_0x1ce13a(0x2d6)][_0x1ce13a(0x5b5)]),V[_0x1ce13a(0x500)](this['dispose$']))[_0x1ce13a(0x383)](_0x48df7b=>{const _0x466589=_0x1ce13a,_0x55f212=_0x48df7b,{objectId:_0x34b38f}=_0x55f212[_0x466589(0x1e9)],_0x4b1754=this['_injector'][_0x466589(0x2a7)](Te['SheetPermissionInitController']);_0x34b38f===_0x2618c4?_0x4b1754[_0x466589(0x66e)](_0x2618c4):_0x4b1754[_0x466589(0x216)](_0x2618c4,_0x34b38f);});};A[_0xae6bdb(0x5dc)](this[_0xae6bdb(0x2ba)][_0xae6bdb(0x58a)](a['UniverInstanceType'][_0xae6bdb(0x360)]),this[_0xae6bdb(0x2ba)][_0xae6bdb(0x58a)](a['UniverInstanceType'][_0xae6bdb(0x4ca)]))[_0xae6bdb(0x42f)](V[_0xae6bdb(0x372)](_0x13b28a=>_0x13b28a['getUnitId']()),V['filter'](_0x1732e2=>!a[_0xae6bdb(0x261)](_0x1732e2)),V[_0xae6bdb(0x500)](this[_0xae6bdb(0x52d)]))[_0xae6bdb(0x383)](_0x32ca01=>{_0x2ce0a6(_0x32ca01);});}};Ke=Mr([Me(0x0,a['Inject'](a[_0x17671e(0x29a)])),Me(0x1,a[_0x17671e(0x4fc)]),Me(0x2,a[_0x17671e(0x386)]),Me(0x3,a['Inject'](exports[_0x17671e(0x355)])),Me(0x4,a[_0x17671e(0x52e)](a[_0x17671e(0x530)]))],Ke);var Ar=Object[_0x17671e(0x545)],Nr=Object[_0x17671e(0x47f)],Lr=(_0x290f1d,_0x404cfd,_0x47967e,_0x2d43fa)=>{const _0x884118=_0x17671e;for(var _0x488da7=_0x2d43fa>0x1?void 0x0:_0x2d43fa?Nr(_0x404cfd,_0x47967e):_0x404cfd,_0x38d94e=_0x290f1d[_0x884118(0x367)]-0x1,_0x36a59e;_0x38d94e>=0x0;_0x38d94e--)(_0x36a59e=_0x290f1d[_0x38d94e])&&(_0x488da7=(_0x2d43fa?_0x36a59e(_0x404cfd,_0x47967e,_0x488da7):_0x36a59e(_0x488da7))||_0x488da7);return _0x2d43fa&&_0x488da7&&Ar(_0x404cfd,_0x47967e,_0x488da7),_0x488da7;},Xt=(_0x11112f,_0x3893ea)=>(_0x28449d,_0x167a8b)=>_0x3893ea(_0x28449d,_0x167a8b,_0x11112f);exports[_0x17671e(0x436)]=class{constructor(_0x3c0317,_0x584f69){const _0x418f95=_0x17671e;this[_0x418f95(0x573)]=_0x3c0317,this['_httpService']=_0x584f69;}async[_0x17671e(0x39b)](_0x88abfe,_0x3df4c3){const _0xa8ca02=_0x17671e;var _0x143062;const {unitID:_0x179342,type:_0x31d4b9,revision:_0x38e64e=0x0}=_0x3df4c3,_0x38752e=this['_getSnapshotAPIPrefix']()+'/'+_0x31d4b9+_0xa8ca02(0x54e)+_0x179342+_0xa8ca02(0x484)+_0x38e64e,_0x166088=(await this[_0xa8ca02(0x54d)][_0xa8ca02(0x2a7)](_0x38752e))[_0xa8ca02(0x599)],_0x1f5081=(_0x143062=_0x166088[_0xa8ca02(0x44e)])==null?void 0x0:_0x143062[_0xa8ca02(0x44c)];if(_0x1f5081){const _0x2a36ae=_0x1f5081==null?void 0x0:_0x1f5081[_0xa8ca02(0x5ca)],_0x582bd1=p[_0xa8ca02(0x628)][_0xa8ca02(0x4bb)](p[_0xa8ca02(0x284)](_0x2a36ae));_0x1f5081[_0xa8ca02(0x5ca)]=_0x582bd1,Object[_0xa8ca02(0x43c)](_0x1f5081[_0xa8ca02(0x27c)])[_0xa8ca02(0x5ea)](([,_0x7f7bf])=>{const _0x21481c=_0xa8ca02,_0x123ccf=_0x7f7bf[_0x21481c(0x5ca)],_0x5c379d=p[_0x21481c(0x628)][_0x21481c(0x4bb)](p[_0x21481c(0x284)](_0x123ccf));_0x7f7bf[_0x21481c(0x5ca)]=_0x5c379d;});}return _0x166088;}async[_0x17671e(0x3ef)](_0x21256c,_0x343cd0){const _0x3b2c83=_0x17671e,{unitID:_0x30409a,type:_0x2465c5,blockID:_0xcc6754}=_0x343cd0,_0x352fcf=this[_0x3b2c83(0x554)]()+'/'+_0x2465c5+_0x3b2c83(0x54e)+_0x30409a+_0x3b2c83(0x25d)+_0xcc6754;return(await this[_0x3b2c83(0x54d)][_0x3b2c83(0x2a7)](_0x352fcf))['body'];}async[_0x17671e(0x379)](_0x233dca,_0x2e47ee){const _0x2f0989=_0x17671e,{unitID:_0x3da200,type:_0x1faa43,blockID:_0x32281e}=_0x2e47ee,_0x51acfd=this[_0x2f0989(0x554)]()+_0x2f0989(0x25d)+_0x1faa43+_0x2f0989(0x54e)+_0x3da200+_0x2f0989(0x25d)+_0x32281e;return(await this[_0x2f0989(0x54d)]['get'](_0x51acfd))[_0x2f0989(0x599)];}async[_0x17671e(0x507)](_0x24ec2a,_0x195d90){const _0x2e95d8=_0x17671e,{unitID:_0x206d80,type:_0x58830d,from:_0x1888b8,to:_0x306f5f}=_0x195d90,_0x26c3d9=this[_0x2e95d8(0x554)]()+'/'+_0x58830d+_0x2e95d8(0x54e)+_0x206d80+'/fetchmissing?from='+_0x1888b8+'&to='+_0x306f5f;return(await this[_0x2e95d8(0x54d)][_0x2e95d8(0x2a7)](_0x26c3d9))[_0x2e95d8(0x599)];}['_getSnapshotAPIPrefix'](){const _0x3b36ab=_0x17671e;var _0x850fa3;return(_0x850fa3=this[_0x3b36ab(0x573)][_0x3b36ab(0x2cf)](Zt))!=null?_0x850fa3:this[_0x3b36ab(0x554)]();}[_0x17671e(0x554)](){const _0x8d9b6a=_0x17671e;var _0x5a02d4,_0x1940c2;const _0x585b88=this[_0x8d9b6a(0x573)]['getConfig'](Jt),_0x19b0dd=this['_configService'][_0x8d9b6a(0x2cf)](ne);return(_0x1940c2=(_0x5a02d4=_0x19b0dd==null?void 0x0:_0x19b0dd[_0x8d9b6a(0x53e)])!=null?_0x5a02d4:_0x585b88)!=null?_0x1940c2:xn;}async[_0x17671e(0x559)](_0x138b4e,_0x1f1f6a){const _0x333684=_0x17671e,_0x394fbf=_0x333684(0x66a)+_0x1f1f6a[_0x333684(0x224)]+_0x333684(0x54e)+_0x1f1f6a[_0x333684(0x219)]+_0x333684(0x541);return(await this[_0x333684(0x54d)][_0x333684(0x2a7)](_0x394fbf,{'params':{'resourceId':JSON['stringify'](_0x1f1f6a[_0x333684(0x26a)])}}))[_0x333684(0x599)];}[_0x17671e(0x36c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){const _0x17115c=_0x17671e;throw new Error(_0x17115c(0x4f4));}[_0x17671e(0x384)](){const _0xf941cc=_0x17671e;throw new Error(_0xf941cc(0x4f4));}[_0x17671e(0x54f)](){const _0x1734a3=_0x17671e;throw new Error(_0x1734a3(0x4f4));}[_0x17671e(0x3dc)](){const _0x57ca80=_0x17671e;throw new Error(_0x57ca80(0x4f4));}},exports[_0x17671e(0x436)]=Lr([Xt(0x0,a['IConfigService']),Xt(0x1,a['Inject'](Q[_0x17671e(0x5df)]))],exports[_0x17671e(0x436)]);var xr=Object['defineProperty'],$r=Object['getOwnPropertyDescriptor'],jr=(_0x57e268,_0x665e7f,_0x35f02c,_0x3f108f)=>{const _0x684fa2=_0x17671e;for(var _0x3879cd=_0x3f108f>0x1?void 0x0:_0x3f108f?$r(_0x665e7f,_0x35f02c):_0x665e7f,_0xfff7b6=_0x57e268[_0x684fa2(0x367)]-0x1,_0x5c4598;_0xfff7b6>=0x0;_0xfff7b6--)(_0x5c4598=_0x57e268[_0xfff7b6])&&(_0x3879cd=(_0x3f108f?_0x5c4598(_0x665e7f,_0x35f02c,_0x3879cd):_0x5c4598(_0x3879cd))||_0x3879cd);return _0x3f108f&&_0x3879cd&&xr(_0x665e7f,_0x35f02c,_0x3879cd),_0x3879cd;},Ae=(_0x121aec,_0x32784a)=>(_0x33a4f6,_0x3cb0a1)=>_0x32784a(_0x33a4f6,_0x3cb0a1,_0x121aec);let gt=class extends a['LocalUndoRedoService']{constructor(_0x33e745,_0x3b22f3,_0x45c4d6,_0x46d31c,_0x5ada1f){const _0x2dc3ad=_0x17671e;super(_0x33e745,_0x3b22f3,_0x45c4d6),this[_0x2dc3ad(0x5b9)]=_0x46d31c,this[_0x2dc3ad(0x3f4)]=_0x5ada1f;}[_0x17671e(0x246)](_0x3bae64,_0x2eba4d){const _0x5129f7=_0x17671e,_0x1e94e4=this[_0x5129f7(0x3aa)](_0x3bae64);if(_0x1e94e4)try{const _0x30d28a=this[_0x5129f7(0x30d)](_0x1e94e4,_0x2eba4d);this[_0x5129f7(0x4d1)](_0x3bae64,_0x30d28a);}catch(_0x542425){this[_0x5129f7(0x3f4)][_0x5129f7(0x2c9)](_0x5129f7(0x2c5),_0x542425),this[_0x5129f7(0x3d2)](_0x3bae64);}const _0x47635a=this['_getRedoStack'](_0x3bae64);if(_0x47635a)try{const _0x5cb5b0=this[_0x5129f7(0x30d)](_0x47635a,_0x2eba4d);this[_0x5129f7(0x5b1)](_0x3bae64,_0x5cb5b0);}catch(_0x8d134b){this[_0x5129f7(0x3f4)][_0x5129f7(0x2c9)](_0x8d134b),this[_0x5129f7(0x1ea)](_0x3bae64);}}[_0x17671e(0x3d2)](_0x1c7c67){const _0x53a31e=_0x17671e,_0x3dfd24=this['_getUndoStack'](_0x1c7c67);_0x3dfd24&&(_0x3dfd24[_0x53a31e(0x367)]=0x0,this[_0x53a31e(0x60c)]());}[_0x17671e(0x1ea)](_0xd2e3cc){const _0x3b72b1=_0x17671e,_0xb0365f=this[_0x3b72b1(0x53d)](_0xd2e3cc);_0xb0365f&&(_0xb0365f[_0x3b72b1(0x367)]=0x0,this[_0x3b72b1(0x60c)]());}['_substituteUndoStack'](_0x1f1923,_0x327eca){const _0xbe65a7=_0x17671e;this['_undoStacks'][_0xbe65a7(0x4da)](_0x1f1923,_0x327eca),this[_0xbe65a7(0x60c)]();}[_0x17671e(0x5b1)](_0x52fd54,_0x5bb2a8){const _0x99d3bb=_0x17671e;this['_redoStacks'][_0x99d3bb(0x4da)](_0x52fd54,_0x5bb2a8),this['_updateStatus']();}[_0x17671e(0x30d)](_0x19d5f5,_0x16f2e2){const _0x3ad6b9=_0x17671e,_0x181ed6=[];let _0x2b8675=_0x16f2e2,_0x350f88=_0x16f2e2;for(let _0x183d43=_0x19d5f5[_0x3ad6b9(0x367)]-0x1;_0x183d43>=0x0;_0x183d43--){const {unitID:_0x3d9381,undoMutations:_0x3efedd,redoMutations:_0x4f74c2}=_0x19d5f5[_0x183d43],_0x38db84=this['_transformService'][_0x3ad6b9(0x1f7)](_0x2b8675,_0x3efedd),_0x5bcb46=this[_0x3ad6b9(0x5b9)][_0x3ad6b9(0x1f7)](_0x350f88,_0x4f74c2);if(p[_0x3ad6b9(0x420)](_0x38db84)||p[_0x3ad6b9(0x420)](_0x5bcb46)){this[_0x3ad6b9(0x3f4)][_0x3ad6b9(0x2c9)](_0x3ad6b9(0x2c5),_0x3ad6b9(0x4b6),_0x38db84,_0x5bcb46);break;}_0x2b8675=_0x38db84['c1Prime'],_0x350f88=_0x5bcb46[_0x3ad6b9(0x1fe)],_0x181ed6['push']({'unitID':_0x3d9381,'undoMutations':_0x38db84[_0x3ad6b9(0x491)],'redoMutations':_0x5bcb46[_0x3ad6b9(0x491)]});}return _0x181ed6[_0x3ad6b9(0x5d0)]();}};gt=jr([Ae(0x0,a[_0x17671e(0x4fc)]),Ae(0x1,a[_0x17671e(0x336)]),Ae(0x2,a[_0x17671e(0x4b9)]),Ae(0x3,p[_0x17671e(0x232)]),Ae(0x4,a[_0x17671e(0x431)])],gt);class Pn extends a[_0x17671e(0x2c4)]{constructor(){const _0x3754b2=_0x17671e;super(),I(this,_0x3754b2(0x66b)),this[_0x3754b2(0x66b)]=A[_0x3754b2(0x42c)](window,_0x3754b2(0x23b))['pipe'](A['takeUntil'](this[_0x3754b2(0x52d)]),A[_0x3754b2(0x5d4)](0x1),A['mapTo'](void 0x0));}[_0x17671e(0x33b)](_0xff3847,_0x3e015e,_0x58f7a0=!0x1){const _0x231375=_0x17671e,_0x3f1d2b=new URL(window[_0x231375(0x675)]['href']);_0x3f1d2b['searchParams'][_0x231375(0x4da)](_0xff3847,_0x3e015e),_0x58f7a0?window[_0x231375(0x5c4)][_0x231375(0x267)]('','',_0x3f1d2b[_0x231375(0x401)]()):window[_0x231375(0x5c4)]['pushState']('','',_0x3f1d2b[_0x231375(0x401)]());}[_0x17671e(0x2ed)](_0x28f1c7,_0x483300=!0x1){const _0x3b6420=_0x17671e,_0x50a4df=new URL(window[_0x3b6420(0x675)][_0x3b6420(0x62d)]);_0x50a4df[_0x3b6420(0x504)][_0x3b6420(0x430)](_0x28f1c7),_0x483300?window[_0x3b6420(0x5c4)]['replaceState']('','',_0x50a4df['toString']()):window[_0x3b6420(0x5c4)]['pushState']('','',_0x50a4df['toString']());}[_0x17671e(0x2af)](_0x5eb252){const _0x42e47=_0x17671e;var _0x49c9d1;return(_0x49c9d1=new URL(window[_0x42e47(0x675)][_0x42e47(0x62d)])[_0x42e47(0x504)][_0x42e47(0x2a7)](_0x5eb252))!=null?_0x49c9d1:void 0x0;}}var Un=Object[_0x17671e(0x545)],Hr=Object[_0x17671e(0x47f)],Br=(_0x381d5f,_0x10df8f,_0x5d6700)=>_0x10df8f in _0x381d5f?Un(_0x381d5f,_0x10df8f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d6700}):_0x381d5f[_0x10df8f]=_0x5d6700,kr=(_0x595c97,_0x224fe3,_0x39976a,_0xffee45)=>{const _0x43ab4f=_0x17671e;for(var _0x374bc9=_0xffee45>0x1?void 0x0:_0xffee45?Hr(_0x224fe3,_0x39976a):_0x224fe3,_0x6b3fed=_0x595c97[_0x43ab4f(0x367)]-0x1,_0x312950;_0x6b3fed>=0x0;_0x6b3fed--)(_0x312950=_0x595c97[_0x6b3fed])&&(_0x374bc9=(_0xffee45?_0x312950(_0x224fe3,_0x39976a,_0x374bc9):_0x312950(_0x374bc9))||_0x374bc9);return _0xffee45&&_0x374bc9&&Un(_0x224fe3,_0x39976a,_0x374bc9),_0x374bc9;},He=(_0x33ae31,_0x32c6ec)=>(_0x387ba1,_0x2f5de1)=>_0x32c6ec(_0x387ba1,_0x2f5de1,_0x33ae31),Wr=(_0x5cb6ff,_0x1fe72e,_0x379764)=>Br(_0x5cb6ff,_0x1fe72e+'',_0x379764);const Fr=_0x17671e(0x308);exports[_0x17671e(0x396)]=class extends a[_0x17671e(0x28c)]{constructor(_0x47a900=Yn,_0x352479,_0x344c24,_0x18eee5,_0x389690){const _0x478c74=_0x17671e;super(),this[_0x478c74(0x506)]=_0x47a900,this[_0x478c74(0x3f4)]=_0x352479,this['_renderManagerService']=_0x344c24,this[_0x478c74(0x27e)]=_0x18eee5,this[_0x478c74(0x573)]=_0x389690;const {..._0x261f7b}=this[_0x478c74(0x506)];this['_configService'][_0x478c74(0x467)](ne,_0x261f7b);}[_0x17671e(0x447)](){const _0x267fd9=_0x17671e;this[_0x267fd9(0x659)](),this[_0x267fd9(0x4e0)]();}[_0x17671e(0x4dc)](){const _0x54022e=_0x17671e;a[_0x54022e(0x605)](this['_injector'],[[Ve]]);}['onRendered'](){this['_registerRenderDependencies']();}[_0x17671e(0x659)](){const _0x34ae58=_0x17671e;var _0x36953e,_0x4fd505,_0x517d8a,_0x4bf31e;this['_injector'][_0x34ae58(0x44d)](a[_0x34ae58(0x1fa)])&&this[_0x34ae58(0x3f4)][_0x34ae58(0x2c9)]('[UniverCollaborationClientPlugin]',_0x34ae58(0x5a8));const _0x5741a9=[[a['IUndoRedoService'],{'useClass':gt}],[exports[_0x34ae58(0x355)]],[yt],[Dt,{'useClass':Pn}],[exports[_0x34ae58(0x4bf)]],[exports['LocalCacheService']],[Q[_0x34ae58(0x589)]],[ke],[Fe],[Be],[We],[Tt],[Ge],[Ye],[bt],[Ke],[Et,{'useClass':(_0x4fd505=(_0x36953e=this['_config'])==null?void 0x0:_0x36953e['socketService'])!=null?_0x4fd505:exports[_0x34ae58(0x488)]}],[p[_0x34ae58(0x1ff)],{'useClass':exports[_0x34ae58(0x436)]}],[a['IAuthzIoService'],{'useClass':exports[_0x34ae58(0x3e3)]}],[ie['IImageIoService'],{'useClass':exports[_0x34ae58(0x611)]}],[exports[_0x34ae58(0x26d)]],[exports[_0x34ae58(0x4d9)]],[exports[_0x34ae58(0x556)]],[Ve],[Oe]];(_0x517d8a=this['_config'])!=null&&_0x517d8a[_0x34ae58(0x316)]&&_0x5741a9[_0x34ae58(0x263)]([qe,{'useClass':Ti}]),a[_0x34ae58(0x2cd)](this['_injector'],a[_0x34ae58(0x5c5)](_0x5741a9,(_0x4bf31e=this[_0x34ae58(0x506)])==null?void 0x0:_0x4bf31e[_0x34ae58(0x4f5)]));}[_0x17671e(0x478)](){const _0x42b99b=_0x17671e;this[_0x42b99b(0x5f1)](this[_0x42b99b(0x314)][_0x42b99b(0x2dd)](a['UniverInstanceType'][_0x42b99b(0x4ca)],[pt])),this[_0x42b99b(0x5f1)](this[_0x42b99b(0x314)][_0x42b99b(0x2dd)](a[_0x42b99b(0x664)]['UNIVER_SHEET'],[St]));}[_0x17671e(0x4e0)](){const _0x4dbe5e=_0x17671e;var _0x4c2ac0,_0x3fa3b6;this[_0x4dbe5e(0x27e)][_0x4dbe5e(0x2a7)](Q['HTTPService'])[_0x4dbe5e(0x617)]({'priority':0x14,'interceptor':Q[_0x4dbe5e(0x569)]({'maxParallel':0x6})}),(_0x4c2ac0=this[_0x4dbe5e(0x506)])!=null&&_0x4c2ac0['enableOfflineEditing']||this[_0x4dbe5e(0x27e)][_0x4dbe5e(0x2a7)](exports[_0x4dbe5e(0x2f5)])[_0x4dbe5e(0x1f5)](),(_0x3fa3b6=this[_0x4dbe5e(0x506)])!=null&&_0x3fa3b6['enableAuthServer']&&a[_0x4dbe5e(0x605)](this[_0x4dbe5e(0x27e)],[[Ge]]),a[_0x4dbe5e(0x605)](this[_0x4dbe5e(0x27e)],[[Ye],[Oe],[exports[_0x4dbe5e(0x4d9)]],[exports[_0x4dbe5e(0x26d)]],[exports[_0x4dbe5e(0x556)]],[Ke]]);}},Wr(exports[_0x17671e(0x396)],_0x17671e(0x296),Fr),exports['UniverCollaborationClientPlugin']=kr([a['DependentOn'](p[_0x17671e(0x423)],Q['UniverNetworkPlugin']),He(0x1,a[_0x17671e(0x431)]),He(0x2,K['IRenderManagerService']),He(0x3,a[_0x17671e(0x52e)](a[_0x17671e(0x29a)])),He(0x4,a[_0x17671e(0x505)])],exports[_0x17671e(0x396)]),exports[_0x17671e(0x402)]=En,exports[_0x17671e(0x3a9)]=rn,exports['COLLAB_WEB_SOCKET_URL_KEY']=Qt,exports[_0x17671e(0x5ce)]=q,exports[_0x17671e(0x63d)]=Cn,exports[_0x17671e(0x40f)]=bt,exports[_0x17671e(0x21d)]=en,exports[_0x17671e(0x378)]=It,exports[_0x17671e(0x24f)]=Et,exports['IURLService']=Dt,exports[_0x17671e(0x35d)]=sn,exports[_0x17671e(0x3c6)]=on,exports[_0x17671e(0x238)]=nn,exports[_0x17671e(0x48b)]=$n,exports[_0x17671e(0x517)]=Jt,exports['SNAPSHOT_URL_KEY']=Zt,exports['SessionStatus']=re,exports[_0x17671e(0x486)]=mn,exports[_0x17671e(0x2f0)]=Pn,exports[_0x17671e(0x1e8)]=ln,exports[_0x17671e(0x56f)]=hn;
1
+ 'use strict';const _0x1f2fa=_0x3f71;(function(_0x204754,_0x672442){const _0xc2522e=_0x3f71,_0x51e18f=_0x204754();while(!![]){try{const _0x377b62=parseInt(_0xc2522e(0x28c))/0x1*(parseInt(_0xc2522e(0x431))/0x2)+-parseInt(_0xc2522e(0x5f1))/0x3*(parseInt(_0xc2522e(0x2ab))/0x4)+parseInt(_0xc2522e(0x1a7))/0x5*(-parseInt(_0xc2522e(0x535))/0x6)+parseInt(_0xc2522e(0x319))/0x7+-parseInt(_0xc2522e(0x5f5))/0x8*(-parseInt(_0xc2522e(0x3a0))/0x9)+-parseInt(_0xc2522e(0x3cc))/0xa+-parseInt(_0xc2522e(0x17f))/0xb;if(_0x377b62===_0x672442)break;else _0x51e18f['push'](_0x51e18f['shift']());}catch(_0x984363){_0x51e18f['push'](_0x51e18f['shift']());}}}(_0x424e,0x5357f));var Ln=Object[_0x1f2fa(0x4e5)],xn=(_0xa725e1,_0xc56a61,_0x261eca)=>_0xc56a61 in _0xa725e1?Ln(_0xa725e1,_0xc56a61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x261eca}):_0xa725e1[_0xc56a61]=_0x261eca,I=(_0x4a3b22,_0x2696eb,_0x582c1)=>xn(_0x4a3b22,typeof _0x2696eb!=_0x1f2fa(0x5c3)?_0x2696eb+'':_0x2696eb,_0x582c1);Object[_0x1f2fa(0x4e5)](exports,Symbol[_0x1f2fa(0x2c7)],{'value':'Module'});const a=require('@univerjs/core'),A=require(_0x1f2fa(0x51d)),V=require(_0x1f2fa(0x4a4)),ge=require(_0x1f2fa(0x402)),ee=require(_0x1f2fa(0x501)),Z=require(_0x1f2fa(0x46a)),S=require(_0x1f2fa(0x391)),jn=require(_0x1f2fa(0x56e)),J=require(_0x1f2fa(0x271)),k=require('@univerjs/sheets'),K=require(_0x1f2fa(0x502)),ye=require(_0x1f2fa(0x2cf)),ne=require(_0x1f2fa(0x219)),Pt=require(_0x1f2fa(0x592)),Re=require(_0x1f2fa(0x57f)),ae=require(_0x1f2fa(0x33f)),$n=require(_0x1f2fa(0x434)),Zt=_0x1f2fa(0x1c8),Hn=_0x1f2fa(0x44b),Qt=_0x1f2fa(0x2a6),Bn=_0x1f2fa(0x1b1),kn=0x7d0,en='COLLAB_WEB_SOCKET_URL',Wn=_0x1f2fa(0x5da),tn='HEARTBEAT_INTERVAL',Fn=0x7530,Ct='HEARTBEAT_TIMEOUT',nn=0x4e20,Vn=0x4e20,sn=_0x1f2fa(0x2f2),Gn=0x3,rn=_0x1f2fa(0x5cf),Yn=0x3e8,on=_0x1f2fa(0x1be),Kn=_0x1f2fa(0x5d6),an=_0x1f2fa(0x4eb),qn=_0x1f2fa(0x5a9);var cn=(_0x2950d3=>(_0x2950d3[_0x2950d3['UNDEFINED']=0x0]='UNDEFINED',_0x2950d3[_0x2950d3['OK']=0x1]='OK',_0x2950d3[_0x2950d3[_0x1f2fa(0x603)]=0x2]=_0x1f2fa(0x603),_0x2950d3[_0x2950d3['PERMISSION_DENIED']=0x3]=_0x1f2fa(0x54d),_0x2950d3[_0x2950d3[_0x1f2fa(0x3b3)]=0x4]=_0x1f2fa(0x3b3),_0x2950d3[_0x2950d3[_0x1f2fa(0x590)]=0x5]='UNAUTHENTICATED',_0x2950d3[_0x2950d3[_0x1f2fa(0x290)]=0x6]=_0x1f2fa(0x290),_0x2950d3[_0x2950d3['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x2950d3[_0x2950d3[_0x1f2fa(0x47b)]=0x8]=_0x1f2fa(0x47b),_0x2950d3[_0x2950d3[_0x1f2fa(0x3f9)]=0x9]=_0x1f2fa(0x3f9),_0x2950d3[_0x2950d3[_0x1f2fa(0x571)]=0x1389]=_0x1f2fa(0x571),_0x2950d3[_0x2950d3[_0x1f2fa(0x1a8)]=0x1771]=_0x1f2fa(0x1a8),_0x2950d3[_0x2950d3[_0x1f2fa(0x220)]=0x1772]=_0x1f2fa(0x220),_0x2950d3[_0x2950d3[_0x1f2fa(0x2ce)]=0x1773]=_0x1f2fa(0x2ce),_0x2950d3[_0x2950d3['APPLY_REJECT']=0x1b59]=_0x1f2fa(0x4d2),_0x2950d3[_0x2950d3['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2950d3[_0x2950d3[_0x1f2fa(0x4b3)]=0x1b5b]=_0x1f2fa(0x4b3),_0x2950d3[_0x2950d3[_0x1f2fa(0x299)]=0x1b5c]=_0x1f2fa(0x299),_0x2950d3[_0x2950d3['APPLY_DUPLICATED']=0x1b5d]=_0x1f2fa(0x20c),_0x2950d3[_0x2950d3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2950d3[_0x2950d3[_0x1f2fa(0x2de)]=0x2329]=_0x1f2fa(0x2de),_0x2950d3[_0x2950d3[_0x1f2fa(0x174)]=0x232a]=_0x1f2fa(0x174),_0x2950d3[_0x2950d3[_0x1f2fa(0x2e0)]=0x232b]=_0x1f2fa(0x2e0),_0x2950d3[_0x2950d3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2950d3[_0x2950d3[_0x1f2fa(0x38d)]=0x232d]=_0x1f2fa(0x38d),_0x2950d3[_0x2950d3[_0x1f2fa(0x248)]=0x2711]=_0x1f2fa(0x248),_0x2950d3[_0x2950d3[_0x1f2fa(0x5a3)]=0x2712]=_0x1f2fa(0x5a3),_0x2950d3[_0x2950d3[_0x1f2fa(0x3e7)]=0x2713]=_0x1f2fa(0x3e7),_0x2950d3[_0x2950d3[_0x1f2fa(0x559)]=0x2714]=_0x1f2fa(0x559),_0x2950d3[_0x2950d3['UNRECOGNIZED']=-0x1]=_0x1f2fa(0x178),_0x2950d3))(cn||{}),ie=(_0x297a76=>(_0x297a76[_0x297a76[_0x1f2fa(0x54a)]=0x0]=_0x1f2fa(0x54a),_0x297a76[_0x297a76[_0x1f2fa(0x505)]=0x1]='UNIVER_DOC',_0x297a76[_0x297a76[_0x1f2fa(0x4c3)]=0x2]=_0x1f2fa(0x4c3),_0x297a76[_0x297a76[_0x1f2fa(0x5af)]=0x3]=_0x1f2fa(0x5af),_0x297a76[_0x297a76['UNIVER_PROJECT']=0x4]=_0x1f2fa(0x355),_0x297a76[_0x297a76[_0x1f2fa(0x178)]=-0x1]=_0x1f2fa(0x178),_0x297a76))(ie||{}),G=(_0x538f54=>(_0x538f54[_0x538f54['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x538f54[_0x538f54[_0x1f2fa(0x35f)]=0x1]=_0x1f2fa(0x35f),_0x538f54[_0x538f54[_0x1f2fa(0x577)]=0x2]=_0x1f2fa(0x577),_0x538f54[_0x538f54[_0x1f2fa(0x2c9)]=0x3]=_0x1f2fa(0x2c9),_0x538f54[_0x538f54['INGEST']=0x4]=_0x1f2fa(0x451),_0x538f54[_0x538f54[_0x1f2fa(0x1a3)]=0x5]=_0x1f2fa(0x1a3),_0x538f54[_0x538f54['RECV']=0x6]=_0x1f2fa(0x5e6),_0x538f54[_0x538f54[_0x1f2fa(0x178)]=-0x1]='UNRECOGNIZED',_0x538f54))(G||{}),Et=(_0x17bcef=>(_0x17bcef[_0x17bcef[_0x1f2fa(0x19e)]=0x0]=_0x1f2fa(0x19e),_0x17bcef[_0x17bcef['OK']=0x1]='OK',_0x17bcef[_0x17bcef[_0x1f2fa(0x44f)]=0x2]='FAIL',_0x17bcef[_0x17bcef[_0x1f2fa(0x178)]=-0x1]=_0x1f2fa(0x178),_0x17bcef))(Et||{}),ln=(_0x2b4dbf=>(_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x4fa)]=0x0]='Undefined',_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x241)]=0x1]=_0x1f2fa(0x241),_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x2a4)]=0x2]=_0x1f2fa(0x2a4),_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x1f0)]=0x3]=_0x1f2fa(0x1f0),_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x22c)]=0x4]='UnitSnapshot',_0x2b4dbf[_0x2b4dbf[_0x1f2fa(0x178)]=-0x1]=_0x1f2fa(0x178),_0x2b4dbf))(ln||{});const te=_0x1f2fa(0x373),zn={};function hn(_0x384589){const _0x5bc3dc=_0x1f2fa;var _0x47e2bd,_0x16d11a,_0x44c9cd,_0x3b6ad5,_0x501407;const _0x57d9d6=_0x384589['data'],_0x32ce76=JSON[_0x5bc3dc(0x55a)](_0x57d9d6);switch(_0x32ce76[_0x5bc3dc(0x2a9)]){case G[_0x5bc3dc(0x1a3)]:case G['HELLO']:{const _0x1ea8f7=_0x32ce76[_0x5bc3dc(0x39a)];return{..._0x32ce76,'data':_0x1ea8f7,'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};}case G[_0x5bc3dc(0x577)]:{const _0x15a3d3=_0x32ce76[_0x5bc3dc(0x3af)];return{..._0x32ce76,'data':_0x15a3d3,'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};}case G[_0x5bc3dc(0x5e6)]:{const _0x4753b4=_0x32ce76[_0x5bc3dc(0x1cd)];switch(_0x4753b4[_0x5bc3dc(0x38e)]){case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x20e)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x47e2bd=_0x4753b4[_0x5bc3dc(0x4c1)])==null?void 0x0:_0x47e2bd['cs']},'cmd':_0x32ce76['cmd']};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x469)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x16d11a=_0x4753b4['csAckEvent'])==null?void 0x0:_0x16d11a['cs']},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S['CollaborationEvent'][_0x5bc3dc(0x521)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x44c9cd=_0x4753b4['newCsEvent'])==null?void 0x0:_0x44c9cd['cs']},'cmd':_0x32ce76['cmd']};case S['CollaborationEvent'][_0x5bc3dc(0x5d2)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x3b6ad5=_0x4753b4[_0x5bc3dc(0x1f5)])==null?void 0x0:_0x3b6ad5['cs']},'cmd':_0x32ce76['cmd']};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x5b8)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':(_0x501407=_0x4753b4['csShouldRetryEvent'])==null?void 0x0:_0x501407['cs']},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x326)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4['updateCursorEvent']},'cmd':_0x32ce76['cmd']};case S['CollaborationEvent'][_0x5bc3dc(0x48a)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x5d9)]},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)]['USERS_LEAVE']:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x234)]},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x3cb)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x56a)]},'cmd':_0x32ce76['cmd']};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x46e)]:case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x320)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x20d)]},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x35a)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x56a)]},'cmd':_0x32ce76['cmd']};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x42c)]:return{..._0x32ce76,'data':_0x4753b4,'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)]['COMMENT_UPDATE']:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4['commentUpdateEvent']},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x291)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x312)]},'cmd':_0x32ce76[_0x5bc3dc(0x2a9)]};case S[_0x5bc3dc(0x416)][_0x5bc3dc(0x211)]:return{..._0x32ce76,'data':{..._0x4753b4,'data':_0x4753b4[_0x5bc3dc(0x551)]},'cmd':_0x32ce76['cmd']};default:return _0x32ce76;}}default:return _0x32ce76;}}function _n(_0x187505){const _0x4afa6d=_0x1f2fa;switch(_0x187505[_0x4afa6d(0x2a9)]){case G[_0x4afa6d(0x1a3)]:case G[_0x4afa6d(0x35f)]:return JSON[_0x4afa6d(0x3f4)]({'cmd':_0x187505[_0x4afa6d(0x2a9)],'routeKey':_0x187505[_0x4afa6d(0x19d)]});case G[_0x4afa6d(0x451)]:{let _0x4f04b3;switch(_0x187505[_0x4afa6d(0x462)]['eventID']){case S['CollaborationEvent']['UPDATE_CURSOR']:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)]['UPDATE_CURSOR'],'updateCursorEvent':_0x187505['data'][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)]['USERS_LEAVE']:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)][_0x4afa6d(0x3ed)],'leaveEvent':_0x187505[_0x4afa6d(0x462)]['data']};break;}case S[_0x4afa6d(0x416)]['USERS_ENTER']:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)][_0x4afa6d(0x48a)],'joinEvent':_0x187505[_0x4afa6d(0x462)]['data']};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x3cb)]:{_0x4f04b3={'eventID':S['CollaborationEvent'][_0x4afa6d(0x3cb)],'liveShareNewHost':_0x187505[_0x4afa6d(0x462)][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x320)]:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)][_0x4afa6d(0x320)],'liveShareOperation':_0x187505[_0x4afa6d(0x462)][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x35a)]:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x187505[_0x4afa6d(0x462)][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x341)]:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x187505[_0x4afa6d(0x462)][_0x4afa6d(0x462)]};break;}case S[_0x4afa6d(0x416)][_0x4afa6d(0x46e)]:{_0x4f04b3={'eventID':S[_0x4afa6d(0x416)][_0x4afa6d(0x46e)]};break;}default:_0x4f04b3={'eventID':_0x187505['data'][_0x4afa6d(0x38e)]};}return JSON[_0x4afa6d(0x3f4)]({'cmd':_0x187505['cmd'],'routeKey':_0x187505[_0x4afa6d(0x19d)],'collaMsg':_0x4f04b3});}case G[_0x4afa6d(0x577)]:return JSON[_0x4afa6d(0x3f4)]({'cmd':_0x187505[_0x4afa6d(0x2a9)],'routeKey':_0x187505[_0x4afa6d(0x19d)],'joinReq':_0x187505[_0x4afa6d(0x462)]});case G[_0x4afa6d(0x2c9)]:return JSON[_0x4afa6d(0x3f4)]({'cmd':_0x187505[_0x4afa6d(0x2a9)],'routeKey':_0x187505[_0x4afa6d(0x19d)],'leaveReq':_0x187505[_0x4afa6d(0x462)]});default:throw new Error(_0x4afa6d(0x4da));}}var Xn=Object['defineProperty'],Jn=Object[_0x1f2fa(0x40d)],Zn=(_0x1fe9a8,_0x46e2e1,_0x1c4cf2,_0x50ecfa)=>{for(var _0x51a852=_0x50ecfa>0x1?void 0x0:_0x50ecfa?Jn(_0x46e2e1,_0x1c4cf2):_0x46e2e1,_0x3a1fe4=_0x1fe9a8['length']-0x1,_0x348280;_0x3a1fe4>=0x0;_0x3a1fe4--)(_0x348280=_0x1fe9a8[_0x3a1fe4])&&(_0x51a852=(_0x50ecfa?_0x348280(_0x46e2e1,_0x1c4cf2,_0x51a852):_0x348280(_0x51a852))||_0x51a852);return _0x50ecfa&&_0x51a852&&Xn(_0x46e2e1,_0x1c4cf2,_0x51a852),_0x51a852;},we=(_0x5e9c05,_0x246706)=>(_0x48df1d,_0x594d5e)=>_0x246706(_0x48df1d,_0x594d5e,_0x5e9c05);const bt=a['createIdentifier'](_0x1f2fa(0x2f0));function Qn(_0x567b62,_0x47901c,_0x28b039){const _0x54aa2c=_0x1f2fa;return _0x567b62+'/'+_0x47901c+_0x54aa2c(0x17b)+_0x28b039+_0x54aa2c(0x3df);}exports[_0x1f2fa(0x2b7)]=class extends a[_0x1f2fa(0x1d6)]{constructor(_0x5ea56f,_0x297e38,_0x2ccd2f,_0x156fe0,_0x20e1f0){const _0x1ead01=_0x1f2fa;super(),this[_0x1ead01(0x2ef)]=_0x5ea56f,this[_0x1ead01(0x2bc)]=_0x297e38,this[_0x1ead01(0x499)]=_0x2ccd2f,this[_0x1ead01(0x1d8)]=_0x156fe0,this['_snapshotServerService']=_0x20e1f0;}[_0x1f2fa(0x558)](_0xc0f0ef){const _0x5ea169=_0x1f2fa,_0x391065=this['_ws'][_0x5ea169(0x558)](_0xc0f0ef);if(!_0x391065)throw new Error(_0x5ea169(0x548));const _0x93e834=new a[(_0x5ea169(0x2af))](),_0x2c4aa4=new A[(_0x5ea169(0x2ba))]();_0x93e834['add'](_0x391065['close$']['subscribe'](_0x1c4b59=>_0x2c4aa4[_0x5ea169(0x497)](_0x1c4b59))),_0x93e834[_0x5ea169(0x515)](a[_0x5ea169(0x5ad)](()=>_0x2c4aa4[_0x5ea169(0x60c)]()));const _0x29939f=new A['Subject']();_0x93e834[_0x5ea169(0x515)](_0x391065[_0x5ea169(0x359)]['subscribe'](_0x273a95=>_0x29939f[_0x5ea169(0x497)](_0x273a95))),_0x93e834[_0x5ea169(0x515)](a[_0x5ea169(0x5ad)](()=>_0x29939f[_0x5ea169(0x60c)]()));const _0xc909fd=new A[(_0x5ea169(0x2ba))]();_0x93e834['add'](_0x391065[_0x5ea169(0x32d)][_0x5ea169(0x25e)](_0x122aef=>{const _0x446665=_0x5ea169,_0x4ec453=hn(_0x122aef);_0xc909fd[_0x446665(0x497)](_0x4ec453);})),_0x93e834[_0x5ea169(0x515)](a[_0x5ea169(0x5ad)](()=>_0xc909fd[_0x5ea169(0x60c)]()));let _0x2b0d08;const _0x1d094d=()=>{const _0x4b8b90=_0x5ea169;_0x29939f['next'](new Event(_0x4b8b90(0x22a))),_0x2c4aa4['next'](new CloseEvent(_0x4b8b90(0x22a))),_0x2b0d08[_0x4b8b90(0x297)]();};return _0x2b0d08={'memberID':'','close$':_0x2c4aa4[_0x5ea169(0x5de)](),'error$':_0x29939f[_0x5ea169(0x5de)](),'open$':_0x391065['open$'],'message$':_0xc909fd[_0x5ea169(0x5de)](),'send':_0x665214=>{const _0x5f4f49=_0x5ea169;if(_0x665214[_0x5f4f49(0x2a9)]===G[_0x5f4f49(0x451)]){if(_0x665214[_0x5f4f49(0x462)][_0x5f4f49(0x38e)]===S[_0x5f4f49(0x416)]['SUBMIT_CHANGESET']){this[_0x5f4f49(0x16d)](_0x2b0d08,_0x665214[_0x5f4f49(0x462)])[_0x5f4f49(0x26f)](_0x54195b=>{const _0x38d3fa=_0x5f4f49;this[_0x38d3fa(0x1d8)]['error'](_0x54195b),_0x1d094d();});return;}if(_0x665214['data'][_0x5f4f49(0x38e)]===S[_0x5f4f49(0x416)][_0x5f4f49(0x4a6)]){const _0xb2da95=_0x665214['data'];this[_0x5f4f49(0x18a)](_0xb2da95)[_0x5f4f49(0x213)](_0x262d2e=>{const _0x1f437a=_0x5f4f49;_0xc909fd[_0x1f437a(0x497)]({'cmd':G['RECV'],'code':Et['OK'],'routeKey':_0xb2da95[_0x1f437a(0x462)][_0x1f437a(0x604)],'routeType':'','data':{'eventID':S[_0x1f437a(0x416)][_0x1f437a(0x541)],'data':{'changesets':_0x262d2e}}});})[_0x5f4f49(0x26f)](_0x447bf5=>{const _0x2a788f=_0x5f4f49;this[_0x2a788f(0x1d8)]['error'](_0x447bf5),_0x1d094d();});return;}}_0x391065[_0x5f4f49(0x445)](_n(_0x665214));},'close':()=>{const _0x247b38=_0x5ea169;_0x391065[_0x247b38(0x297)](),_0x93e834[_0x247b38(0x366)]();}},_0x2b0d08;}async['_submitChangeset'](_0x4ee205,_0x21c444){const _0x15941d=_0x1f2fa;var _0x2d5081,_0x172735;const {unitType:_0x6bad56,unitID:_0x448fca,changeset:_0x580d68}=_0x21c444[_0x15941d(0x462)],_0x19cb30={'unitID':_0x448fca,'memberID':_0x4ee205[_0x15941d(0x264)],'type':_0x6bad56,'changeset':S[_0x15941d(0x39e)](_0x580d68)},_0x2b95f3=this[_0x15941d(0x499)]['getConfig'](on),_0x2adf5f=this['_configService'][_0x15941d(0x546)](te),_0x38bc3a=Qn((_0x172735=(_0x2d5081=_0x2adf5f==null?void 0x0:_0x2adf5f[_0x15941d(0x3ad)])!=null?_0x2d5081:_0x2b95f3)!=null?_0x172735:Kn,_0x6bad56,_0x448fca);try{await this[_0x15941d(0x2ef)][_0x15941d(0x43a)](_0x38bc3a,{'body':_0x19cb30});}catch(_0x3fbec1){throw this[_0x15941d(0x1d8)][_0x15941d(0x2d0)](_0x15941d(0x437),'submit\x20changeset\x20error!'),_0x3fbec1;}}async[_0x1f2fa(0x18a)](_0x4a7aa5){const _0x61f24d=_0x1f2fa,{unitID:_0x3ff5df,from:_0x268c3e,to:_0x4d50a1,unitType:_0x4f6617}=_0x4a7aa5[_0x61f24d(0x462)];return(await this[_0x61f24d(0x561)][_0x61f24d(0x289)]({'metadata':void 0x0},{'unitID':_0x3ff5df,'type':_0x4f6617,'from':_0x268c3e,'to':_0x4d50a1}))[_0x61f24d(0x54b)];}},exports[_0x1f2fa(0x2b7)]=Zn([we(0x0,a[_0x1f2fa(0x28d)](Z['HTTPService'])),we(0x1,a['Inject'](Z[_0x1f2fa(0x22d)])),we(0x2,a[_0x1f2fa(0x1b0)]),we(0x3,a[_0x1f2fa(0x1af)]),we(0x4,S[_0x1f2fa(0x1d2)])],exports[_0x1f2fa(0x2b7)]);const ei='collaboration_new_changeset';function ti(_0x346707){const _0x3af656=_0x1f2fa;return JSON[_0x3af656(0x3f4)](_0x346707)[_0x3af656(0x339)];}class Tt{constructor(){const _0x2b17c7=_0x1f2fa;I(this,_0x2b17c7(0x1dd),new A[(_0x2b17c7(0x2ba))]()),I(this,_0x2b17c7(0x21d),this[_0x2b17c7(0x1dd)][_0x2b17c7(0x5de)]());}[_0x1f2fa(0x1ce)](_0x111869){const _0x12ae17=_0x1f2fa;this[_0x12ae17(0x1dd)][_0x12ae17(0x497)](_0x111869);}}var ni=Object['defineProperty'],ii=Object['getOwnPropertyDescriptor'],si=(_0x339d81,_0xb3b40,_0xe9f3e1,_0xa8268c)=>{const _0x254add=_0x1f2fa;for(var _0x66c255=_0xa8268c>0x1?void 0x0:_0xa8268c?ii(_0xb3b40,_0xe9f3e1):_0xb3b40,_0x3deec8=_0x339d81[_0x254add(0x339)]-0x1,_0x2fe2c7;_0x3deec8>=0x0;_0x3deec8--)(_0x2fe2c7=_0x339d81[_0x3deec8])&&(_0x66c255=(_0xa8268c?_0x2fe2c7(_0xb3b40,_0xe9f3e1,_0x66c255):_0x2fe2c7(_0x66c255))||_0x66c255);return _0xa8268c&&_0x66c255&&ni(_0xb3b40,_0xe9f3e1,_0x66c255),_0x66c255;},Ut=(_0x560196,_0x2b1d30)=>(_0xf03047,_0x39d0a0)=>_0x2b1d30(_0xf03047,_0x39d0a0,_0x560196);exports[_0x1f2fa(0x3d8)]=class extends a['Disposable']{constructor(_0x1b25d1,_0x2cdc51){const _0x436048=_0x1f2fa;super(),I(this,_0x436048(0x411),new Map()),(this['_univerInstanceService']=_0x1b25d1,this[_0x436048(0x4e6)]=_0x2cdc51,this[_0x436048(0x305)](a[_0x436048(0x5ad)](A[_0x436048(0x1b6)](this[_0x436048(0x51c)][_0x436048(0x468)](a['UniverInstanceType'][_0x436048(0x4c3)])['pipe'](V[_0x436048(0x50e)](_0x4b0fab=>_0x4b0fab[_0x436048(0x4ea)]())),this[_0x436048(0x51c)][_0x436048(0x468)](a[_0x436048(0x5c7)][_0x436048(0x505)])[_0x436048(0x5f2)](V[_0x436048(0x50e)](_0xddbf61=>_0xddbf61['getUnitId']())),this[_0x436048(0x51c)][_0x436048(0x468)](a[_0x436048(0x5c7)]['UNIVER_SLIDE'])[_0x436048(0x5f2)](V[_0x436048(0x50e)](_0xbbf2b2=>_0xbbf2b2['getUnitId']())))['subscribe'](_0x447f9f=>this[_0x436048(0x4d6)](_0x447f9f)))));}[_0x1f2fa(0x212)](_0x28510f){const _0x4f9cbe=_0x1f2fa;this[_0x4f9cbe(0x4e6)]['setCurrentUser'](_0x28510f);}[_0x1f2fa(0x527)](){const _0x557a5f=_0x1f2fa;return this[_0x557a5f(0x4e6)]['getCurrentUser']();}[_0x1f2fa(0x3e6)](_0x59cca2,_0x4bdf6c){const _0x4f8e46=_0x1f2fa;let _0x42422a=this['_roomMembers'][_0x4f8e46(0x2f6)](_0x59cca2);_0x42422a||(_0x42422a=new ri(),this['_roomMembers'][_0x4f8e46(0x329)](_0x59cca2,_0x42422a)),_0x42422a['updateMember'](_0x4bdf6c);}['removeMember'](_0x2bf3a8,_0x385626){const _0x3b3c72=_0x1f2fa,_0x119eae=this['_roomMembers'][_0x3b3c72(0x2f6)](_0x2bf3a8);_0x119eae&&_0x119eae[_0x3b3c72(0x349)](_0x385626);}['getRoom'](_0x29202d){const _0x38ccfa=_0x1f2fa;return this[_0x38ccfa(0x411)][_0x38ccfa(0x2f6)](_0x29202d);}['getMember'](_0x2d24d4,_0x401977){const _0x203740=_0x1f2fa,_0x1f9813=this['_roomMembers'][_0x203740(0x2f6)](_0x2d24d4);if(_0x1f9813)return _0x1f9813['getMember'](_0x401977);}['_removeRoom'](_0x4a3bf1){const _0x2bba74=_0x1f2fa,_0x2ed169=this[_0x2bba74(0x411)][_0x2bba74(0x2f6)](_0x4a3bf1);_0x2ed169&&(_0x2ed169[_0x2bba74(0x366)](),this[_0x2bba74(0x411)][_0x2bba74(0x2e4)](_0x4a3bf1));}[_0x1f2fa(0x366)](){const _0x8768bb=_0x1f2fa;this[_0x8768bb(0x411)]['forEach'](_0x2c89e7=>_0x2c89e7[_0x8768bb(0x366)]()),this['_roomMembers']['clear']();}},exports[_0x1f2fa(0x3d8)]=si([Ut(0x0,a[_0x1f2fa(0x562)]),Ut(0x1,a[_0x1f2fa(0x28d)](a['UserManagerService']))],exports['MemberService']);function _0x3f71(_0x1dd5ba,_0x22a72a){const _0x424e05=_0x424e();return _0x3f71=function(_0x3f71ea,_0x4cd999){_0x3f71ea=_0x3f71ea-0x15a;let _0x2abe79=_0x424e05[_0x3f71ea];return _0x2abe79;},_0x3f71(_0x1dd5ba,_0x22a72a);}class ri extends a[_0x1f2fa(0x1d6)]{constructor(){const _0x4c8521=_0x1f2fa;super(...arguments),I(this,_0x4c8521(0x3b5),new Map());}['dispose'](){const _0x5d5b37=_0x1f2fa;this['_members'][_0x5d5b37(0x5aa)]();}['updateMember'](_0x4350b3){const _0x572635=_0x1f2fa;this[_0x572635(0x3b5)][_0x572635(0x329)](_0x4350b3[_0x572635(0x264)],_0x4350b3);}[_0x1f2fa(0x349)](_0x594654){const _0x413686=_0x1f2fa;this[_0x413686(0x3b5)][_0x413686(0x2e4)](_0x594654);}[_0x1f2fa(0x5c6)](_0x5ae956){const _0x1ffad3=_0x1f2fa;return this[_0x1ffad3(0x3b5)][_0x1ffad3(0x2f6)](_0x5ae956);}['getAllMembers'](){const _0x178338=_0x1f2fa;return Array[_0x178338(0x536)](this[_0x178338(0x3b5)][_0x178338(0x284)]());}}var oi=Object['defineProperty'],ai=Object[_0x1f2fa(0x40d)],ci=(_0x5e2f01,_0x2df290,_0x187099,_0x42c3e7)=>{const _0xe98796=_0x1f2fa;for(var _0x285b52=_0x42c3e7>0x1?void 0x0:_0x42c3e7?ai(_0x2df290,_0x187099):_0x2df290,_0x375c85=_0x5e2f01[_0xe98796(0x339)]-0x1,_0x248d94;_0x375c85>=0x0;_0x375c85--)(_0x248d94=_0x5e2f01[_0x375c85])&&(_0x285b52=(_0x42c3e7?_0x248d94(_0x2df290,_0x187099,_0x285b52):_0x248d94(_0x285b52))||_0x285b52);return _0x42c3e7&&_0x285b52&&oi(_0x2df290,_0x187099,_0x285b52),_0x285b52;},de=(_0x1c6663,_0x371ffd)=>(_0x542fad,_0x13652a)=>_0x371ffd(_0x542fad,_0x13652a,_0x1c6663),se=(_0xfdd02d=>(_0xfdd02d[_0xfdd02d[_0x1f2fa(0x552)]=0x0]=_0x1f2fa(0x552),_0xfdd02d[_0xfdd02d[_0x1f2fa(0x1dc)]=0x1]=_0x1f2fa(0x1dc),_0xfdd02d[_0xfdd02d['OFFLINE']=0x2]='OFFLINE',_0xfdd02d[_0xfdd02d[_0x1f2fa(0x4c0)]=0x3]=_0x1f2fa(0x4c0),_0xfdd02d))(se||{});exports[_0x1f2fa(0x466)]=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x5cd0e4,_0x1aa191,_0xfca716,_0x19fd6f,_0x5e5f7c,_0x153566,_0x5f2c20,_0x32c064,_0x2f7aeb,_0x1b48ba){const _0x3e3fb0=_0x1f2fa;super(),I(this,_0x3e3fb0(0x4c9),new A[(_0x3e3fb0(0x25c))](0x0)),I(this,_0x3e3fb0(0x393),this[_0x3e3fb0(0x4c9)][_0x3e3fb0(0x5de)]()),I(this,_0x3e3fb0(0x428),new A[(_0x3e3fb0(0x2ba))]()),I(this,_0x3e3fb0(0x215),this[_0x3e3fb0(0x428)][_0x3e3fb0(0x5de)]()),I(this,'_socket'),I(this,_0x3e3fb0(0x2f4)),I(this,_0x3e3fb0(0x239)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x3e3fb0(0x3e3),null),(this['_unitID']=_0x5cd0e4,this['_logService']=_0xfca716,this[_0x3e3fb0(0x41f)]=_0x19fd6f,this[_0x3e3fb0(0x2a0)]=_0x5e5f7c,this[_0x3e3fb0(0x499)]=_0x153566,this[_0x3e3fb0(0x247)]=_0x5f2c20,this['_memberService']=_0x32c064,this[_0x3e3fb0(0x5c4)]=_0x2f7aeb,this[_0x3e3fb0(0x556)]=_0x1b48ba,this[_0x3e3fb0(0x4be)]=!!this[_0x3e3fb0(0x556)],_0x1aa191[_0x3e3fb0(0x5f2)](A['takeUntil'](this[_0x3e3fb0(0x57d)]))['subscribe'](_0x2dbd15=>{const _0x1f9e86=_0x3e3fb0;var _0x56e9b0;typeof _0x2dbd15>'u'||(this[_0x1f9e86(0x182)]=_0x2dbd15,_0x2dbd15?(this[_0x1f9e86(0x38a)](_0x2dbd15),this[_0x1f9e86(0x2f4)]=_0x2dbd15[_0x1f9e86(0x32d)][_0x1f9e86(0x25e)](_0x2dff79=>{const _0x3d1418=_0x1f9e86;_0x2dff79['routeKey']===this[_0x3d1418(0x204)]&&this[_0x3d1418(0x539)](_0x2dff79);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1f9e86(0x4c9)][_0x1f9e86(0x497)](0x2),(_0x56e9b0=this['_socketMessageSubscription'])==null||_0x56e9b0[_0x1f9e86(0x484)](),this['_socketMessageSubscription']=null));}),this[_0x3e3fb0(0x305)](this[_0x3e3fb0(0x41f)][_0x3e3fb0(0x43d)](()=>{const _0x26ec43=_0x3e3fb0;var _0x45330a;(_0x45330a=this[_0x26ec43(0x182)])==null||_0x45330a['send']({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x1f2fa(0x2e6)](){return this['_sessionStatus$']['getValue']();}[_0x1f2fa(0x296)](){const _0x2c5051=_0x1f2fa;var _0x4ee9e4,_0x42a26d;return(_0x42a26d=(_0x4ee9e4=this[_0x2c5051(0x182)])==null?void 0x0:_0x4ee9e4[_0x2c5051(0x264)])!=null?_0x42a26d:null;}[_0x1f2fa(0x366)](){const _0x93484=_0x1f2fa;super[_0x93484(0x366)](),this['dispose$'][_0x93484(0x497)](),this['dispose$']['complete']();}['close'](){const _0x1824a9=_0x1f2fa;var _0x4db678,_0x5915d0;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4db678=this[_0x1824a9(0x182)])==null||_0x4db678[_0x1824a9(0x445)]({'cmd':G[_0x1824a9(0x2c9)],'data':{'roomID':this[_0x1824a9(0x204)]}}),(_0x5915d0=this['_socket'])==null||_0x5915d0[_0x1824a9(0x297)](),this[_0x1824a9(0x428)][_0x1824a9(0x60c)](),this[_0x1824a9(0x4c9)][_0x1824a9(0x60c)](),this['dispose']();}[_0x1f2fa(0x539)](_0x2ef407){const _0x344563=_0x1f2fa;_0x2ef407[_0x344563(0x2a9)]===G['JOIN']?this[_0x344563(0x260)](_0x2ef407):_0x2ef407['cmd']===G['RECV']&&this[_0x344563(0x432)](_0x2ef407);}['_joinRoom'](_0x2308f1){const _0x112804=_0x1f2fa;this['_sessionStatus$'][_0x112804(0x497)](0x1),_0x2308f1['send']({'cmd':G['JOIN'],'routeKey':this[_0x112804(0x204)],'routeType':'','data':{'rooms':[{'roomID':this[_0x112804(0x204)]}]}});}['_onJoinRoomEvent'](_0x432dbc){const _0x605571=_0x1f2fa;var _0x400b97;if(_0x432dbc[_0x605571(0x398)]===Et['FAIL']){this[_0x605571(0x2a0)][_0x605571(0x472)]({'type':ge[_0x605571(0x1ed)][_0x605571(0x56b)],'content':this[_0x605571(0x247)]['t'](_0x605571(0x173))}),this['_sessionStatus$'][_0x605571(0x497)](0x2);return;}this[_0x605571(0x4c9)]['next'](0x3);const _0x314313=(_0x400b97=_0x432dbc[_0x605571(0x462)][_0x605571(0x1d5)][this[_0x605571(0x204)]])==null?void 0x0:_0x400b97[_0x605571(0x3f2)];_0x314313&&_0x314313[_0x605571(0x601)](_0x40a868=>this[_0x605571(0x4bd)][_0x605571(0x3e6)](this['_unitID'],_0x40a868));}['_onRecvEvent'](_0x3fe25c){const _0x372b4c=_0x1f2fa;try{const _0x4f6e49=_0x3fe25c[_0x372b4c(0x462)];switch(_0x4f6e49[_0x372b4c(0x38e)]){case S[_0x372b4c(0x416)][_0x372b4c(0x48a)]:this[_0x372b4c(0x397)](_0x4f6e49),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;case S[_0x372b4c(0x416)][_0x372b4c(0x3ed)]:this['_onUserLeave'](_0x4f6e49),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;case S['CollaborationEvent'][_0x372b4c(0x469)]:case S['CollaborationEvent'][_0x372b4c(0x5b8)]:this[_0x372b4c(0x3b9)](),this['_clearCollaborationTimeoutTimer'](),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;case S['CollaborationEvent'][_0x372b4c(0x42c)]:this[_0x372b4c(0x1d8)][_0x372b4c(0x2d0)](_0x372b4c(0x324)+JSON[_0x372b4c(0x3f4)](_0x4f6e49)),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;case S['CollaborationEvent'][_0x372b4c(0x1de)]:this[_0x372b4c(0x5c4)][_0x372b4c(0x1ce)](_0x4f6e49[_0x372b4c(0x462)]),this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);break;default:this[_0x372b4c(0x428)][_0x372b4c(0x497)](_0x4f6e49);}}catch(_0x49c8b){this[_0x372b4c(0x1d8)][_0x372b4c(0x2d0)](_0x49c8b,_0x3fe25c);}}[_0x1f2fa(0x397)](_0x1d67ea){const _0x2c0ecc=_0x1f2fa;this[_0x2c0ecc(0x4bd)]['updateMember'](this['_unitID'],_0x1d67ea[_0x2c0ecc(0x462)]);}[_0x1f2fa(0x43e)](_0x3efbea){const _0x2962c1=_0x1f2fa;this[_0x2962c1(0x4bd)][_0x2962c1(0x349)](this[_0x2962c1(0x204)],_0x3efbea[_0x2962c1(0x462)]['memberID']);}async['send'](_0x3293ff,_0xae27e9){const _0x132ae8=_0x1f2fa;if(this['sessionStatus']!==0x3||!this[_0x132ae8(0x182)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3293ff[_0x132ae8(0x38e)]===S[_0x132ae8(0x416)][_0x132ae8(0x23d)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x3293ff)),this[_0x132ae8(0x182)][_0x132ae8(0x445)]({'cmd':G[_0x132ae8(0x451)],'routeKey':_0xae27e9,'routeType':'','data':_0x3293ff});}catch(_0x45002e){this[_0x132ae8(0x1d8)][_0x132ae8(0x2d0)](_0x45002e);}}['_scheduleCollaborationTimeoutTimer'](){const _0x55d4e7=_0x1f2fa;var _0x33f1f3;this[_0x55d4e7(0x239)]=window[_0x55d4e7(0x4f7)](()=>{const _0x32c80c=_0x55d4e7;this[_0x32c80c(0x239)]=null,this[_0x32c80c(0x2a0)][_0x32c80c(0x472)]({'type':ge[_0x32c80c(0x1ed)][_0x32c80c(0x424)],'content':this[_0x32c80c(0x247)]['t'](_0x32c80c(0x542))});},(_0x33f1f3=this[_0x55d4e7(0x499)][_0x55d4e7(0x546)](Ct))!=null?_0x33f1f3:nn);}[_0x1f2fa(0x3cd)](){const _0x572f26=_0x1f2fa;this[_0x572f26(0x239)]&&(clearTimeout(this[_0x572f26(0x239)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x57cab8){const _0x5f236c=_0x1f2fa;if(!this['_shouldReportTelemetry'])return;const {data:_0x162580}=_0x57cab8,{unitID:_0x371de7,changeset:_0x4d5b30}=_0x162580,{mutations:_0x30cc1d,type:_0xb92d38}=_0x4d5b30;this[_0x5f236c(0x3e3)]={'unitId':_0x371de7,'type':_0xb92d38,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x30cc1d)};}[_0x1f2fa(0x3b9)](){const _0x3031a6=_0x1f2fa;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x3031a6(0x1d8)][_0x3031a6(0x2d0)]('[CollaborationSession]',_0x3031a6(0x2cb));return;}this[_0x3031a6(0x3e3)][_0x3031a6(0x5fe)]=performance[_0x3031a6(0x5ec)](),this[_0x3031a6(0x3e3)]['duration']=this[_0x3031a6(0x3e3)][_0x3031a6(0x5fe)]-this[_0x3031a6(0x3e3)][_0x3031a6(0x43c)],this[_0x3031a6(0x556)][_0x3031a6(0x1ca)](ei,this[_0x3031a6(0x3e3)]),this[_0x3031a6(0x3e3)]=null;}}[_0x1f2fa(0x163)](){const _0x1a9085=_0x1f2fa;this[_0x1a9085(0x3e3)]=null;}},exports[_0x1f2fa(0x466)]=ci([de(0x2,a[_0x1f2fa(0x1af)]),de(0x3,ee[_0x1f2fa(0x5bd)]),de(0x4,ee[_0x1f2fa(0x32b)]),de(0x5,a[_0x1f2fa(0x1b0)]),de(0x6,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x537)])),de(0x7,a[_0x1f2fa(0x28d)](exports['MemberService'])),de(0x8,a[_0x1f2fa(0x28d)](Tt)),de(0x9,a[_0x1f2fa(0x246)](jn[_0x1f2fa(0x1c6)]))],exports[_0x1f2fa(0x466)]);var li=Object[_0x1f2fa(0x4e5)],hi=Object[_0x1f2fa(0x40d)],_i=(_0x822812,_0x16108c,_0x5835b7,_0x31b525)=>{for(var _0x12971c=_0x31b525>0x1?void 0x0:_0x31b525?hi(_0x16108c,_0x5835b7):_0x16108c,_0x4acc79=_0x822812['length']-0x1,_0x38e1c1;_0x4acc79>=0x0;_0x4acc79--)(_0x38e1c1=_0x822812[_0x4acc79])&&(_0x12971c=(_0x31b525?_0x38e1c1(_0x16108c,_0x5835b7,_0x12971c):_0x38e1c1(_0x12971c))||_0x12971c);return _0x31b525&&_0x12971c&&li(_0x16108c,_0x5835b7,_0x12971c),_0x12971c;},Ee=(_0xb9e98a,_0x467122)=>(_0x4ce5ed,_0x26412f)=>_0x467122(_0x4ce5ed,_0x26412f,_0xb9e98a);exports[_0x1f2fa(0x1c0)]=class extends a['Disposable']{constructor(_0x1b3c42,_0x469e46,_0x504ed9,_0x291fd3,_0x426e6f,_0x3cf458){const _0x2509fd=_0x1f2fa;super(),I(this,_0x2509fd(0x549),new A[(_0x2509fd(0x25c))](void 0x0)),I(this,_0x2509fd(0x316),this[_0x2509fd(0x549)][_0x2509fd(0x5de)]()),I(this,_0x2509fd(0x444),null),I(this,_0x2509fd(0x504),new Map()),I(this,'_status$',new A[(_0x2509fd(0x25c))](se[_0x2509fd(0x552)])),I(this,_0x2509fd(0x5d0),this[_0x2509fd(0x454)]['asObservable']()),I(this,'_socketReady',!0x1),I(this,'_retryConnectingTimer'),I(this,_0x2509fd(0x441),0x0),I(this,_0x2509fd(0x5b6)),I(this,_0x2509fd(0x186)),(this[_0x2509fd(0x2f7)]=_0x1b3c42,this[_0x2509fd(0x247)]=_0x469e46,this['_messageService']=_0x504ed9,this[_0x2509fd(0x1d8)]=_0x291fd3,this[_0x2509fd(0x499)]=_0x426e6f,this[_0x2509fd(0x59c)]=_0x3cf458,this['_initEventListeners']());}get[_0x1f2fa(0x182)](){const _0x13e160=_0x1f2fa;return this[_0x13e160(0x549)][_0x13e160(0x60e)]();}['_initEventListeners'](){const _0x3e15ee=_0x1f2fa;this[_0x3e15ee(0x32e)](),this[_0x3e15ee(0x487)]();}[_0x1f2fa(0x366)](){const _0x3b2920=_0x1f2fa;super[_0x3b2920(0x366)](),this[_0x3b2920(0x504)][_0x3b2920(0x601)](_0x1320f2=>_0x1320f2[_0x3b2920(0x366)]()),this[_0x3b2920(0x504)][_0x3b2920(0x5aa)](),this['_status$'][_0x3b2920(0x60c)]();}async['requireSession'](_0x5ec881){const _0x3ab0cd=_0x1f2fa;if(this['_sessions']['has'](_0x5ec881))return this[_0x3ab0cd(0x504)][_0x3ab0cd(0x2f6)](_0x5ec881);this[_0x3ab0cd(0x327)]();const _0xad8dea=this[_0x3ab0cd(0x2f7)][_0x3ab0cd(0x33e)](exports[_0x3ab0cd(0x466)],_0x5ec881,this[_0x3ab0cd(0x549)][_0x3ab0cd(0x5de)]());return this[_0x3ab0cd(0x504)][_0x3ab0cd(0x329)](_0x5ec881,_0xad8dea),_0xad8dea;}[_0x1f2fa(0x2d6)](_0x558f12){const _0x28ceb2=_0x1f2fa;var _0x26a9f8;const _0x27bd33=this[_0x28ceb2(0x504)][_0x28ceb2(0x2f6)](_0x558f12);_0x27bd33&&(this[_0x28ceb2(0x504)][_0x28ceb2(0x2e4)](_0x558f12),_0x27bd33[_0x28ceb2(0x297)]()),this[_0x28ceb2(0x504)][_0x28ceb2(0x51b)]||(_0x26a9f8=this['_socket'])==null||_0x26a9f8[_0x28ceb2(0x297)]();}['reconnect'](){const _0x5576b0=_0x1f2fa;this[_0x5576b0(0x441)]=0x0,this[_0x5576b0(0x161)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x5576b0(0x576)]();}[_0x1f2fa(0x490)](){const _0x24aca9=_0x1f2fa;var _0x4c4e3f,_0x5156bf;const _0x4bf8a3=this['_configService']['getConfig'](en),_0x3b7783=this[_0x24aca9(0x499)][_0x24aca9(0x546)](te),_0x5ea151=(_0x5156bf=(_0x4c4e3f=_0x3b7783==null?void 0x0:_0x3b7783[_0x24aca9(0x5cd)])!=null?_0x4c4e3f:_0x4bf8a3)!=null?_0x5156bf:Wn,_0x57bcd1=this['_socketService'][_0x24aca9(0x558)](_0x5ea151);return this['_candidateSocket']=_0x57bcd1,_0x57bcd1;}['_tryEnsureSocket'](){const _0x1841b3=_0x1f2fa;var _0x5f5734,_0x1bc695;try{const _0x15b4e4=(_0x1bc695=(_0x5f5734=this[_0x1841b3(0x182)])!=null?_0x5f5734:this[_0x1841b3(0x444)])!=null?_0x1bc695:this[_0x1841b3(0x490)]();if(_0x15b4e4){const _0x4dd9b3=_0x15b4e4[_0x1841b3(0x445)];_0x15b4e4[_0x1841b3(0x445)]=_0x59a695=>(this[_0x1841b3(0x50b)](),_0x4dd9b3[_0x1841b3(0x19a)](_0x15b4e4,[_0x59a695])),_0x15b4e4[_0x1841b3(0x32d)]['subscribe'](_0x2d75d1=>this[_0x1841b3(0x602)](_0x15b4e4,_0x2d75d1)),_0x15b4e4[_0x1841b3(0x359)]['pipe'](V['take'](0x1))[_0x1841b3(0x25e)](_0x358d44=>this[_0x1841b3(0x1d8)]['error'](_0x1841b3(0x503),_0x358d44)),_0x15b4e4[_0x1841b3(0x3ef)][_0x1841b3(0x5f2)](V['take'](0x1))['subscribe'](()=>{const _0x145d3a=_0x1841b3;this[_0x145d3a(0x480)](_0x15b4e4);}),_0x15b4e4[_0x1841b3(0x3be)][_0x1841b3(0x5f2)](V[_0x1841b3(0x300)](0x1))[_0x1841b3(0x25e)](_0x5e6c54=>{const _0x432989=_0x1841b3;this[_0x432989(0x1d8)]['debug'](_0x432989(0x4ba),_0x432989(0x48f),_0x5e6c54),this[_0x432989(0x54e)]();});}}catch(_0x7efa2){this[_0x1841b3(0x1d8)]['error'](_0x7efa2),this[_0x1841b3(0x54e)]();}}[_0x1f2fa(0x480)](_0x194644){const _0x3c3454=_0x1f2fa;this[_0x3c3454(0x1d8)][_0x3c3454(0x4fc)](_0x3c3454(0x4ba),_0x3c3454(0x48e)),_0x194644[_0x3c3454(0x445)]({'cmd':G['HELLO']}),this[_0x3c3454(0x50b)]();}['_listenToOfflineEvent'](){const _0x2d9058=_0x1f2fa;window['addEventListener']('offline',()=>this[_0x2d9058(0x4b8)]());}[_0x1f2fa(0x4b8)](){const _0x4aac16=_0x1f2fa;this['_socketReady']=!0x1,this[_0x4aac16(0x444)]=null,this['_status$'][_0x4aac16(0x497)](se[_0x4aac16(0x532)]),this[_0x4aac16(0x549)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x1f2fa(0x54e)](){const _0x67fbf5=_0x1f2fa;var _0x2ce3b3;this[_0x67fbf5(0x4b8)](),this[_0x67fbf5(0x441)]<((_0x2ce3b3=this[_0x67fbf5(0x499)]['getConfig'](sn))!=null?_0x2ce3b3:Gn)?(this[_0x67fbf5(0x2a0)][_0x67fbf5(0x472)]({'key':'collaboration-session-retry','type':ge[_0x67fbf5(0x1ed)][_0x67fbf5(0x56b)],'content':this[_0x67fbf5(0x247)]['t'](_0x67fbf5(0x1f1))}),this[_0x67fbf5(0x576)]()):this[_0x67fbf5(0x2a0)]['show']({'key':_0x67fbf5(0x3e1),'type':ge['MessageType']['Error'],'content':this['_localeService']['t'](_0x67fbf5(0x3bd))});}[_0x1f2fa(0x487)](){const _0x2100db=_0x1f2fa,_0x487fa5=()=>{const _0xca4a52=_0x3f71;this['_socket']||this[_0xca4a52(0x3a5)]();},_0x16f54a=()=>{const _0x3f92fc=_0x3f71;this['_socket']||document[_0x3f92fc(0x3e9)]===_0x3f92fc(0x610)||this[_0x3f92fc(0x3a5)]();};window[_0x2100db(0x210)](_0x2100db(0x2b6),_0x487fa5),document[_0x2100db(0x210)](_0x2100db(0x522),_0x16f54a);}[_0x1f2fa(0x576)](){const _0x14b93a=_0x1f2fa;var _0x85a4ed;const _0x44f17a=this[_0x14b93a(0x441)],_0x5efd18=this['_configService'][_0x14b93a(0x546)](te),_0x512456=_0x44f17a===0x0?0x0:((_0x85a4ed=_0x5efd18==null?void 0x0:_0x5efd18[_0x14b93a(0x1a2)])!=null?_0x85a4ed:Vn)*0x2**_0x44f17a;this[_0x14b93a(0x161)]=window['setTimeout'](()=>{const _0x1d0b44=_0x14b93a;clearTimeout(this['_retryConnectingTimer']),this[_0x1d0b44(0x161)]=null,this[_0x1d0b44(0x327)]();},_0x512456),this[_0x14b93a(0x441)]+=0x1;}[_0x1f2fa(0x602)](_0x2c6d1c,_0x3b81cb){const _0x3495fe=_0x1f2fa,{cmd:_0x1027ed}=_0x3b81cb;_0x1027ed===G[_0x3495fe(0x35f)]&&!this[_0x3495fe(0x23f)]&&(_0x2c6d1c[_0x3495fe(0x264)]=_0x3b81cb[_0x3495fe(0x462)][_0x3495fe(0x264)],this[_0x3495fe(0x549)][_0x3495fe(0x497)](_0x2c6d1c),this[_0x3495fe(0x454)][_0x3495fe(0x497)](se[_0x3495fe(0x4c0)]),this[_0x3495fe(0x23f)]=!0x0,this[_0x3495fe(0x444)]=null),_0x1027ed===G[_0x3495fe(0x1a3)]&&this[_0x3495fe(0x545)](),this['_rescheduleHeartbeat']();}[_0x1f2fa(0x50b)](){const _0x4a2445=_0x1f2fa;var _0x2dfd45;this[_0x4a2445(0x51a)](),this[_0x4a2445(0x5b6)]=window[_0x4a2445(0x4f7)](()=>this[_0x4a2445(0x231)](),(_0x2dfd45=this[_0x4a2445(0x499)]['getConfig'](tn))!=null?_0x2dfd45:Fn);}[_0x1f2fa(0x231)](){const _0x42e2df=_0x1f2fa;this[_0x42e2df(0x182)][_0x42e2df(0x445)]({'cmd':G['HEARTBEAT']}),this[_0x42e2df(0x3c8)]();}[_0x1f2fa(0x3c8)](){const _0x17b41c=_0x1f2fa;var _0x31c1fa;this[_0x17b41c(0x186)]=window['setTimeout'](()=>this[_0x17b41c(0x54e)](),(_0x31c1fa=this[_0x17b41c(0x499)][_0x17b41c(0x546)](Ct))!=null?_0x31c1fa:nn);}['_clearHeartbeatTimer'](){const _0x59142f=_0x1f2fa;this[_0x59142f(0x5b6)]!=null&&(clearTimeout(this[_0x59142f(0x5b6)]),this[_0x59142f(0x5b6)]=null);}['_clearTimeoutTimer'](){const _0x28f34e=_0x1f2fa;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x28f34e(0x186)]),this[_0x28f34e(0x186)]=null);}},exports[_0x1f2fa(0x1c0)]=_i([Ee(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),Ee(0x1,a[_0x1f2fa(0x28d)](a['LocaleService'])),Ee(0x2,ee['IMessageService']),Ee(0x3,a[_0x1f2fa(0x1af)]),Ee(0x4,a[_0x1f2fa(0x1b0)]),Ee(0x5,bt)],exports[_0x1f2fa(0x1c0)]);const Y=[];for(let s=0x0;s<0x100;++s)Y['push']((s+0x100)[_0x1f2fa(0x353)](0x10)['slice'](0x1));function ui(_0x27b7cc,_0x4b1afc=0x0){return(Y[_0x27b7cc[_0x4b1afc+0x0]]+Y[_0x27b7cc[_0x4b1afc+0x1]]+Y[_0x27b7cc[_0x4b1afc+0x2]]+Y[_0x27b7cc[_0x4b1afc+0x3]]+'-'+Y[_0x27b7cc[_0x4b1afc+0x4]]+Y[_0x27b7cc[_0x4b1afc+0x5]]+'-'+Y[_0x27b7cc[_0x4b1afc+0x6]]+Y[_0x27b7cc[_0x4b1afc+0x7]]+'-'+Y[_0x27b7cc[_0x4b1afc+0x8]]+Y[_0x27b7cc[_0x4b1afc+0x9]]+'-'+Y[_0x27b7cc[_0x4b1afc+0xa]]+Y[_0x27b7cc[_0x4b1afc+0xb]]+Y[_0x27b7cc[_0x4b1afc+0xc]]+Y[_0x27b7cc[_0x4b1afc+0xd]]+Y[_0x27b7cc[_0x4b1afc+0xe]]+Y[_0x27b7cc[_0x4b1afc+0xf]])['toLowerCase']();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x356062=_0x1f2fa;if(!Je){if(typeof crypto>'u'||!crypto[_0x356062(0x168)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto[_0x356062(0x168)]['bind'](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x1f2fa(0x3c9)]&&crypto[_0x1f2fa(0x3c9)][_0x1f2fa(0x1cc)](crypto),Mt={'randomUUID':vi};function mi(_0xc9dbbf,_0x194dba,_0x588dfb){const _0x3e0a62=_0x1f2fa;if(Mt[_0x3e0a62(0x3c9)]&&!_0x194dba&&!_0xc9dbbf)return Mt[_0x3e0a62(0x3c9)]();_0xc9dbbf=_0xc9dbbf||{};const _0x2bf863=_0xc9dbbf['random']||(_0xc9dbbf[_0x3e0a62(0x5c9)]||fi)();return _0x2bf863[0x6]=_0x2bf863[0x6]&0xf|0x40,_0x2bf863[0x8]=_0x2bf863[0x8]&0x3f|0x80,ui(_0x2bf863);}var Si=Object['defineProperty'],pi=Object[_0x1f2fa(0x40d)],gi=(_0x31fd70,_0x35628b,_0x10d6e9,_0x4a9d39)=>{const _0x2588ac=_0x1f2fa;for(var _0x4b0d3e=_0x4a9d39>0x1?void 0x0:_0x4a9d39?pi(_0x35628b,_0x10d6e9):_0x35628b,_0x51261c=_0x31fd70[_0x2588ac(0x339)]-0x1,_0x5e3cd4;_0x51261c>=0x0;_0x51261c--)(_0x5e3cd4=_0x31fd70[_0x51261c])&&(_0x4b0d3e=(_0x4a9d39?_0x5e3cd4(_0x35628b,_0x10d6e9,_0x4b0d3e):_0x5e3cd4(_0x4b0d3e))||_0x4b0d3e);return _0x4a9d39&&_0x4b0d3e&&Si(_0x35628b,_0x10d6e9,_0x4b0d3e),_0x4b0d3e;},Ze=(_0x19dfee,_0x444521)=>(_0x25ed7a,_0x342f9e)=>_0x444521(_0x25ed7a,_0x342f9e,_0x19dfee);let Be=class{constructor(_0x1adcbe,_0x31d6b4,_0x1a48e7){const _0x16d2e6=_0x1f2fa;this['_injector']=_0x1adcbe,this[_0x16d2e6(0x5ce)]=_0x31d6b4,this[_0x16d2e6(0x303)]=_0x1a48e7;}[_0x1f2fa(0x1ee)](_0x229af3){const _0x5b848f=_0x1f2fa;this[_0x5b848f(0x240)](_0x229af3),this[_0x5b848f(0x33a)](_0x229af3);}[_0x1f2fa(0x5a4)](_0x1b782c){const _0x187545=_0x1f2fa,{unitID:_0x1fefe0}=_0x1b782c,_0x2b59a7=this[_0x187545(0x303)][_0x187545(0x608)](_0x1fefe0)[_0x187545(0x447)](J['DocIMEInputManagerService']),{redoCache:_0xaf4d14}=_0x2b59a7[_0x187545(0x171)]();if(_0xaf4d14[_0x187545(0x339)]===0x0)return _0x1b782c;let _0x18535e=a[_0x187545(0x34c)][_0x187545(0x272)](_0x1b782c[_0x187545(0x456)][0x0]);for(let _0x2a86e4=0x0;_0x2a86e4<_0xaf4d14[_0x187545(0x339)];_0x2a86e4++){const _0x57f7e7={'id':'doc.mutation.rich-text-editing','params':{..._0xaf4d14[_0x2a86e4]}},_0x5e9210=this['_transformService'][_0x187545(0x5a8)](_0x18535e,_0x57f7e7,!0x1);if(S[_0x187545(0x187)](_0x5e9210))throw _0x5e9210[_0x187545(0x2d0)];_0x18535e=_0x5e9210[_0x187545(0x18e)];}return{...a[_0x187545(0x34c)][_0x187545(0x272)](_0x1b782c),'mutations':[_0x18535e]};}[_0x1f2fa(0x240)](_0x9e9b17){const _0x121b36=_0x1f2fa,{unitID:_0x45df4c}=_0x9e9b17,_0x5363f8=this[_0x121b36(0x303)][_0x121b36(0x608)](_0x45df4c)[_0x121b36(0x447)](J['DocIMEInputManagerService']),{undoCache:_0x47bed1,redoCache:_0x3afa4c}=_0x5363f8[_0x121b36(0x171)]();if(_0x47bed1[_0x121b36(0x339)]===0x0||_0x3afa4c['length']===0x0)return;const _0x146f58=[],_0x4d3f73=[];let _0x1b8b5a=a['Tools'][_0x121b36(0x272)](_0x9e9b17[_0x121b36(0x456)][0x0]),_0x3646cf=a[_0x121b36(0x34c)][_0x121b36(0x272)](_0x9e9b17[_0x121b36(0x456)][0x0]);for(let _0x2a7c4d=_0x47bed1['length']-0x1;_0x2a7c4d>=0x0;_0x2a7c4d--){const _0x381f40={'id':_0x121b36(0x4dc),'params':{..._0x47bed1[_0x2a7c4d]}},_0x136292={'id':_0x121b36(0x4dc),'params':{..._0x3afa4c[_0x2a7c4d]}},_0x2d03cd=this[_0x121b36(0x5ce)][_0x121b36(0x5a8)](_0x1b8b5a,_0x381f40,!0x1),_0x423f9c=this['_transformService']['transformMutation'](_0x3646cf,_0x136292,!0x1);if(S[_0x121b36(0x187)](_0x2d03cd))throw _0x2d03cd['error'];if(S[_0x121b36(0x187)](_0x423f9c))throw _0x423f9c[_0x121b36(0x2d0)];_0x146f58['unshift'](_0x2d03cd[_0x121b36(0x26e)][_0x121b36(0x389)]),_0x4d3f73['unshift'](_0x423f9c[_0x121b36(0x26e)][_0x121b36(0x389)]),_0x1b8b5a=_0x2d03cd['m1Prime'],_0x3646cf=_0x423f9c[_0x121b36(0x18e)];}_0x5363f8[_0x121b36(0x1f3)]({'undoCache':_0x146f58,'redoCache':_0x4d3f73});}['_transformPreviousActiveRange'](_0x30954d){const _0x3903e4=_0x1f2fa,{unitID:_0x5a5549}=_0x30954d,_0x5207ff=this[_0x3903e4(0x303)][_0x3903e4(0x608)](_0x5a5549)['with'](J[_0x3903e4(0x164)]),_0x59b77e=_0x5207ff[_0x3903e4(0x5d5)]();if(_0x59b77e==null)return;const _0x57fdf8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30954d[_0x3903e4(0x604)],'actions':null,'textRanges':[_0x59b77e]}}],_0x2d02a1=this[_0x3903e4(0x5ce)][_0x3903e4(0x403)](_0x30954d,_0x57fdf8);if(!S['isTransformMutationsWithChangesetSuccess'](_0x2d02a1))throw _0x2d02a1[_0x3903e4(0x2d0)];const _0x490e10=_0x2d02a1[_0x3903e4(0x26e)][0x0][_0x3903e4(0x389)][_0x3903e4(0x30e)];Array[_0x3903e4(0x4ff)](_0x490e10)&&_0x490e10[_0x3903e4(0x339)]&&_0x5207ff[_0x3903e4(0x180)](_0x490e10[0x0]);}};Be=gi([Ze(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),Ze(0x1,S[_0x1f2fa(0x3ff)]),Ze(0x2,K[_0x1f2fa(0x328)])],Be);var Ii=Object[_0x1f2fa(0x4e5)],Ci=Object[_0x1f2fa(0x40d)],Ei=(_0x3f5c94,_0x1771e9,_0xf1b5c7,_0x44de9f)=>{const _0x347390=_0x1f2fa;for(var _0x4f734a=_0x44de9f>0x1?void 0x0:_0x44de9f?Ci(_0x1771e9,_0xf1b5c7):_0x1771e9,_0x3bd699=_0x3f5c94[_0x347390(0x339)]-0x1,_0x35d649;_0x3bd699>=0x0;_0x3bd699--)(_0x35d649=_0x3f5c94[_0x3bd699])&&(_0x4f734a=(_0x44de9f?_0x35d649(_0x1771e9,_0xf1b5c7,_0x4f734a):_0x35d649(_0x4f734a))||_0x4f734a);return _0x44de9f&&_0x4f734a&&Ii(_0x1771e9,_0xf1b5c7,_0x4f734a),_0x4f734a;},Pe=(_0x18b6d5,_0x18a65f)=>(_0x523311,_0x1dc093)=>_0x18a65f(_0x523311,_0x1dc093,_0x18b6d5);exports[_0x1f2fa(0x333)]=class extends a[_0x1f2fa(0x1d6)]{constructor(_0x5c8a6d,_0x546e87,_0x52a45d,_0x1c8a47,_0x5ac191){const _0xfe9c7=_0x1f2fa;super(),I(this,_0xfe9c7(0x22f),new Map()),I(this,_0xfe9c7(0x52d),new Map()),I(this,'_disabled',!0x1),(this[_0xfe9c7(0x499)]=_0x5c8a6d,this[_0xfe9c7(0x408)]=_0x546e87,this['_beforeCloseService']=_0x52a45d,this['_localeService']=_0x1c8a47,this['_revisionService']=_0x5ac191,this[_0xfe9c7(0x253)]());}[_0x1f2fa(0x44c)](){const _0x17aeb5=_0x1f2fa;this[_0x17aeb5(0x350)]=!0x0;}[_0x1f2fa(0x523)](){this['_disabled']=!0x1;}[_0x1f2fa(0x366)](){const _0x2fe835=_0x1f2fa;this['exhaustSavingTask']()[_0x2fe835(0x213)](()=>super['dispose']());}async[_0x1f2fa(0x5f6)](_0x140c14){const _0x4e6499=_0x1f2fa;return this[_0x4e6499(0x350)]?null:this[_0x4e6499(0x408)]['getItem'](At(_0x140c14));}async[_0x1f2fa(0x5fd)](_0x4acf3e,_0xec1ea3){const _0x2dfebf=_0x1f2fa;return!!this[_0x2dfebf(0x408)]['setItem'](_0x4acf3e,_0xec1ea3);}[_0x1f2fa(0x2b1)](_0x1dd507,_0x480375,_0x3aa5e6,_0x309b22){const _0x1767fc=_0x1f2fa,_0x489704=this[_0x1767fc(0x4cd)]['getCurrentRevOfUnit'](_0x1dd507);this[_0x1767fc(0x22f)][_0x1767fc(0x329)](_0x1dd507,{'unitID':_0x1dd507,'type':_0x480375,'awaitingChangeset':_0x3aa5e6,'mutations':_0x309b22,'rev':_0x489704}),this[_0x1767fc(0x52d)][_0x1767fc(0x3d5)](_0x1dd507)||this[_0x1767fc(0x2d5)](_0x1dd507);}[_0x1f2fa(0x2d5)](_0x120bab){const _0x4654d7=_0x1f2fa,_0x576994=this[_0x4654d7(0x36f)]();_0x576994===0x0?this['_saveCache'](_0x120bab):this[_0x4654d7(0x52d)][_0x4654d7(0x329)](_0x120bab,setTimeout(()=>this[_0x4654d7(0x395)](_0x120bab),_0x576994));}['_getSaveTimeout'](){const _0x280b2f=_0x1f2fa;var _0xa40055;return(_0xa40055=this['_configService'][_0x280b2f(0x546)](rn))!=null?_0xa40055:Yn;}[_0x1f2fa(0x395)](_0x31ccc5){const _0x56fa64=_0x1f2fa,_0x1714fa=this[_0x56fa64(0x52d)][_0x56fa64(0x2f6)](_0x31ccc5);return _0x1714fa!==void 0x0&&window['clearTimeout'](_0x1714fa),this[_0x56fa64(0x408)][_0x56fa64(0x378)](At(_0x31ccc5),this[_0x56fa64(0x22f)][_0x56fa64(0x2f6)](_0x31ccc5))[_0x56fa64(0x213)](()=>this[_0x56fa64(0x52d)][_0x56fa64(0x2e4)](_0x31ccc5));}async[_0x1f2fa(0x531)](){const _0x3561a7=_0x1f2fa,_0x1173cc=[];this[_0x3561a7(0x52d)][_0x3561a7(0x601)]((_0x4662f2,_0x45c666)=>{const _0x299ec0=_0x3561a7;window[_0x299ec0(0x36a)](_0x4662f2),_0x1173cc[_0x299ec0(0x19c)](this['_saveCache'](_0x45c666)['then'](()=>{const _0x427e07=_0x299ec0;this[_0x427e07(0x52d)][_0x427e07(0x2e4)](_0x45c666);}));}),await Promise[_0x3561a7(0x302)](_0x1173cc);}[_0x1f2fa(0x253)](){const _0x476cc0=_0x1f2fa;this['disposeWithMe'](this[_0x476cc0(0x41f)][_0x476cc0(0x268)](()=>{const _0x4e06ea=_0x476cc0;if(this[_0x4e06ea(0x52d)]['size'])return this[_0x4e06ea(0x247)]['t'](_0x4e06ea(0x49d));}));}},exports[_0x1f2fa(0x333)]=Ei([Pe(0x0,a[_0x1f2fa(0x1b0)]),Pe(0x1,a[_0x1f2fa(0x4e8)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a['Inject'](a[_0x1f2fa(0x537)])),Pe(0x4,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)]))],exports[_0x1f2fa(0x333)]);function At(_0x4d435a){const _0x4a2761=_0x1f2fa;return _0x4a2761(0x293)+_0x4d435a;}var bi=Object[_0x1f2fa(0x4e5)],Ti=Object[_0x1f2fa(0x40d)],Ri=(_0x131f5e,_0x559635,_0x30cd5c,_0x21b238)=>{const _0x1ed8ec=_0x1f2fa;for(var _0x204b7e=_0x21b238>0x1?void 0x0:_0x21b238?Ti(_0x559635,_0x30cd5c):_0x559635,_0x513d9a=_0x131f5e[_0x1ed8ec(0x339)]-0x1,_0x5e8baa;_0x513d9a>=0x0;_0x513d9a--)(_0x5e8baa=_0x131f5e[_0x513d9a])&&(_0x204b7e=(_0x21b238?_0x5e8baa(_0x559635,_0x30cd5c,_0x204b7e):_0x5e8baa(_0x204b7e))||_0x204b7e);return _0x21b238&&_0x204b7e&&bi(_0x559635,_0x30cd5c,_0x204b7e),_0x204b7e;},Qe=(_0x1bf7ec,_0x3511df)=>(_0x232e13,_0x3ca01d)=>_0x3511df(_0x232e13,_0x3ca01d,_0x1bf7ec);function yi(_0x4f65f4){const _0x46041a=_0x1f2fa,{unitID:_0x53a895,mutations:_0x22b7d1}=_0x4f65f4;return{'unitId':_0x53a895,'subUnitId':_0x22b7d1[0x0][_0x46041a(0x389)][_0x46041a(0x442)]};}let ke=class{constructor(_0x24151d,_0x174fc0,_0x35860f){const _0x552f89=_0x1f2fa;this[_0x552f89(0x2f7)]=_0x24151d,this['_transformService']=_0x174fc0,this[_0x552f89(0x29d)]=_0x35860f;}[_0x1f2fa(0x216)](_0x154b80){const _0x4a35ce=_0x1f2fa;var _0x1e41fb,_0x3b8dbe,_0x4899f7,_0x240536;const _0x53a744=this['_injector']['get'](k[_0x4a35ce(0x600)]),{unitId:_0x39a382,subUnitId:_0x22652b}=yi(_0x154b80),_0x3278fc=_0x53a744[_0x4a35ce(0x396)](_0x39a382)[_0x4a35ce(0x16b)](),_0x6753c0=(_0x3b8dbe=(_0x1e41fb=this[_0x4a35ce(0x29d)][_0x4a35ce(0x3c2)](_0x39a382))==null?void 0x0:_0x1e41fb[_0x4a35ce(0x1db)]())==null?void 0x0:_0x3b8dbe[_0x4a35ce(0x2d3)]();if(_0x3278fc[_0x4a35ce(0x339)]===0x0||!_0x39a382||!_0x22652b)return;const _0x5e22d5=[{'id':k[_0x4a35ce(0x167)]['id'],'params':{'unitId':_0x39a382,'subUnitId':_0x6753c0,'selections':a[_0x4a35ce(0x34c)][_0x4a35ce(0x272)](_0x3278fc)}}],_0x2ac2a0=this['_transformService'][_0x4a35ce(0x403)](_0x154b80,_0x5e22d5);if(!S[_0x4a35ce(0x605)](_0x2ac2a0))throw _0x2ac2a0[_0x4a35ce(0x2d0)];const _0x300161=(_0x240536=(_0x4899f7=_0x2ac2a0[_0x4a35ce(0x26e)][0x0])==null?void 0x0:_0x4899f7[_0x4a35ce(0x389)])==null?void 0x0:_0x240536[_0x4a35ce(0x25b)];if(Array[_0x4a35ce(0x4ff)](_0x300161)&&_0x300161[_0x4a35ce(0x339)]){if(_0x300161[_0x4a35ce(0x339)]===_0x5e22d5[0x0][_0x4a35ce(0x389)][_0x4a35ce(0x25b)]['length']&&_0x300161[_0x4a35ce(0x3e5)]((_0x42313b,_0x13e435)=>a[_0x4a35ce(0x2f9)][_0x4a35ce(0x5ff)](_0x42313b['range'],_0x5e22d5[0x0][_0x4a35ce(0x389)][_0x4a35ce(0x25b)][_0x13e435][_0x4a35ce(0x5bb)])))return;this[_0x4a35ce(0x2f7)][_0x4a35ce(0x2f6)](a[_0x4a35ce(0x51f)])[_0x4a35ce(0x3fa)](k[_0x4a35ce(0x167)]['id'],{'unitId':_0x39a382,'subUnitId':_0x6753c0,'selections':_0x300161});}}};ke=Ri([Qe(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),Qe(0x1,S[_0x1f2fa(0x3ff)]),Qe(0x2,a['IUniverInstanceService'])],ke);const qe=a[_0x1f2fa(0x3a7)](_0x1f2fa(0x477));var un=(_0x146c28=>(_0x146c28[_0x146c28[_0x1f2fa(0x191)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x146c28[_0x146c28['OTHER_CLIENTS_EDITING']=0x1]=_0x1f2fa(0x18f),_0x146c28))(un||{});const Nt=0x7530,Lt=_0x1f2fa(0x380);class Oi extends a[_0x1f2fa(0x1d6)]{constructor(){const _0x4cf566=_0x1f2fa;super(),I(this,_0x4cf566(0x24c),a[_0x4cf566(0x34c)][_0x4cf566(0x452)]()),I(this,_0x4cf566(0x4e7),new Set()),I(this,_0x4cf566(0x2ee),new Map()),I(this,_0x4cf566(0x430),null),I(this,_0x4cf566(0x533),new Map()),I(this,_0x4cf566(0x54c),new Map()),this[_0x4cf566(0x48d)]();}[_0x1f2fa(0x366)](){const _0x310a77=_0x1f2fa;super[_0x310a77(0x366)](),this['_clearOtherTimers'][_0x310a77(0x601)]((_0x8653f9,_0x4ae67e)=>this[_0x310a77(0x517)](_0x4ae67e)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x310a77(0x430)]);}[_0x1f2fa(0x4d0)](_0x714c21){const _0x18891f=_0x1f2fa;return this[_0x18891f(0x48c)](_0x714c21)[_0x18891f(0x5f2)](A[_0x18891f(0x3f8)]());}[_0x1f2fa(0x354)](_0x239df2){const _0x1aaf60=_0x1f2fa;this[_0x1aaf60(0x4e7)][_0x1aaf60(0x51b)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1aaf60(0x4e7)]['add'](_0x239df2),this['_send']({'type':0x0,'memberID':this[_0x1aaf60(0x24c)],'unitIDs':[_0x239df2],'isForwarded':!0x1});}[_0x1f2fa(0x2c6)](_0x5f3e51){const _0x5ac028=_0x1f2fa;this['_selfUnitIDs'][_0x5ac028(0x2e4)](_0x5f3e51),this[_0x5ac028(0x4e7)][_0x5ac028(0x51b)]===0x0&&this[_0x5ac028(0x430)]&&window[_0x5ac028(0x534)](this[_0x5ac028(0x430)]);}[_0x1f2fa(0x48d)](){const _0xb58652=_0x1f2fa;this[_0xb58652(0x305)](a[_0xb58652(0x5ad)](A[_0xb58652(0x42b)](window,_0xb58652(0x2d1))['subscribe'](_0x191c16=>{const _0xae95a8=_0xb58652;if(_0x191c16[_0xae95a8(0x4dd)]!==Lt||!_0x191c16['newValue'])return;const _0x5b9cd1=JSON[_0xae95a8(0x55a)](_0x191c16[_0xae95a8(0x1ef)]);this[_0xae95a8(0x1fb)](_0x5b9cd1);}))),window[_0xb58652(0x210)](_0xb58652(0x1e2),()=>this[_0xb58652(0x369)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x1f2fa(0x1fb)](_0x1586d9){const _0x15aec6=_0x1f2fa;switch(_0x1586d9[_0x15aec6(0x1eb)]){case 0x0:this[_0x15aec6(0x3b4)](_0x1586d9);break;case 0x1:this[_0x15aec6(0x479)](_0x1586d9);break;case 0x2:this[_0x15aec6(0x1bb)](_0x1586d9);break;}}['_handleJoinEvent'](_0x313323){const _0x45e391=_0x1f2fa,{unitIDs:_0x40ef87,memberID:_0x2816a7,isForwarded:_0x3bf4f7}=_0x313323;_0x40ef87['forEach'](_0x792c17=>{const _0x1db55d=_0x3f71;if(!_0x3bf4f7&&this[_0x1db55d(0x2ee)][_0x1db55d(0x3d5)](_0x792c17)&&this['_ensureSubject'](_0x792c17)[_0x1db55d(0x497)](0x1),!this[_0x1db55d(0x2ee)][_0x1db55d(0x3d5)](_0x792c17)||!this[_0x1db55d(0x2ee)][_0x1db55d(0x2f6)](_0x792c17)[_0x1db55d(0x3d5)](_0x2816a7)){const _0x5f22d3=this[_0x1db55d(0x2ee)][_0x1db55d(0x2f6)](_0x792c17)||new Set();_0x5f22d3[_0x1db55d(0x515)](_0x2816a7),this[_0x1db55d(0x2ee)][_0x1db55d(0x329)](_0x792c17,_0x5f22d3),this[_0x1db55d(0x27b)](_0x2816a7);}}),_0x3bf4f7||this[_0x45e391(0x369)]({'type':0x0,'memberID':this[_0x45e391(0x24c)],'unitIDs':[...this[_0x45e391(0x4e7)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2c97cf){const _0x474acd=_0x1f2fa;this[_0x474acd(0x517)](_0x2c97cf);const _0x4d30d4=window[_0x474acd(0x4f7)](()=>{this['_unitOnClients']['forEach'](_0x16d2be=>{_0x16d2be['delete'](_0x2c97cf);});},Nt*0x2);this['_clearOtherTimers'][_0x474acd(0x329)](_0x2c97cf,_0x4d30d4);}[_0x1f2fa(0x517)](_0x254a2f){const _0x11d68d=_0x1f2fa;if(this['_clearOtherTimers'][_0x11d68d(0x3d5)](_0x254a2f)){const _0xae1f48=this[_0x11d68d(0x533)][_0x11d68d(0x2f6)](_0x254a2f);_0xae1f48&&window[_0x11d68d(0x36a)](_0xae1f48),this[_0x11d68d(0x533)][_0x11d68d(0x329)](_0x254a2f,null);}}['_handleLeaveEvent'](_0x4b5d91){const _0x1e3c6e=_0x1f2fa,{memberID:_0x44201e,unitIDs:_0x5532ff}=_0x4b5d91;_0x5532ff['forEach'](_0x185660=>{const _0x2a14f8=_0x3f71;var _0x51bb68;const _0x21a798=this[_0x2a14f8(0x2ee)]['get'](_0x185660);_0x21a798&&(_0x21a798[_0x2a14f8(0x2e4)](_0x44201e),(_0x51bb68=this['_ensureSubject'](_0x185660))==null||_0x51bb68[_0x2a14f8(0x497)](_0x21a798['size']===0x0?0x0:0x1));}),this[_0x1e3c6e(0x517)](_0x44201e);}[_0x1f2fa(0x1bb)](_0x143c68){const _0x324701=_0x1f2fa;this[_0x324701(0x27b)](_0x143c68[_0x324701(0x264)]);}[_0x1f2fa(0x369)](_0x295175){const _0x5481e4=_0x1f2fa;localStorage[_0x5481e4(0x378)](Lt,JSON['stringify'](_0x295175));}[_0x1f2fa(0x4e0)](){const _0x4948db=_0x1f2fa;this['_heartbeatTimer']=window[_0x4948db(0x27e)](()=>{const _0x33dbd6=_0x4948db;this['_send']({'type':0x2,'memberID':this[_0x33dbd6(0x24c)]});},Nt);}[_0x1f2fa(0x48c)](_0xd92c11){const _0x698cce=_0x1f2fa;return this['_unitStatus'][_0x698cce(0x3d5)](_0xd92c11)||this[_0x698cce(0x54c)]['set'](_0xd92c11,new A['BehaviorSubject'](0x0)),this[_0x698cce(0x54c)]['get'](_0xd92c11);}}var Di=Object[_0x1f2fa(0x4e5)],wi=Object[_0x1f2fa(0x40d)],Pi=(_0x31cd4,_0x5c3f4e,_0x229fb0,_0x132588)=>{const _0x53267d=_0x1f2fa;for(var _0x48572c=_0x132588>0x1?void 0x0:_0x132588?wi(_0x5c3f4e,_0x229fb0):_0x5c3f4e,_0x4fe148=_0x31cd4[_0x53267d(0x339)]-0x1,_0x44dca3;_0x4fe148>=0x0;_0x4fe148--)(_0x44dca3=_0x31cd4[_0x4fe148])&&(_0x48572c=(_0x132588?_0x44dca3(_0x5c3f4e,_0x229fb0,_0x48572c):_0x44dca3(_0x48572c))||_0x48572c);return _0x132588&&_0x48572c&&Di(_0x5c3f4e,_0x229fb0,_0x48572c),_0x48572c;},et=(_0x2ab15c,_0x5efde8)=>(_0x5891ff,_0x5cbc17)=>_0x5efde8(_0x5891ff,_0x5cbc17,_0x2ab15c);let We=class{constructor(_0x9aeaea,_0x1c904e,_0x5c93df){const _0xa15f99=_0x1f2fa;this[_0xa15f99(0x2f7)]=_0x9aeaea,this[_0xa15f99(0x5ce)]=_0x1c904e,this[_0xa15f99(0x3bf)]=_0x5c93df;}[_0x1f2fa(0x3a6)](_0x19114b){const _0x5139c0=_0x1f2fa;this[_0x5139c0(0x381)](_0x19114b);}[_0x1f2fa(0x5a4)](_0x2f425a){const _0x445b2a=_0x1f2fa,{unitID:_0x471ee3}=_0x2f425a,{collaboration:_0x3aaf1d}=this[_0x445b2a(0x3bf)][_0x445b2a(0x482)](_0x471ee3);if(_0x3aaf1d[_0x445b2a(0x339)]===0x0)return _0x2f425a;let _0x3c5bab=a[_0x445b2a(0x34c)]['deepClone'](_0x2f425a['mutations'][0x0]);for(let _0x10a660=0x0;_0x10a660<_0x3aaf1d[_0x445b2a(0x339)];_0x10a660++){const _0x50da71={'id':_0x445b2a(0x4dc),'params':{'unitId':_0x3aaf1d[_0x10a660]['unitId'],..._0x3aaf1d[_0x10a660][_0x445b2a(0x4ed)]}},_0x105674=this[_0x445b2a(0x5ce)][_0x445b2a(0x5a8)](_0x3c5bab,_0x50da71,!0x1);if(S[_0x445b2a(0x187)](_0x105674))throw _0x105674['error'];_0x3c5bab=_0x105674[_0x445b2a(0x18e)];}return{...a[_0x445b2a(0x34c)][_0x445b2a(0x272)](_0x2f425a),'mutations':[_0x3c5bab]};}[_0x1f2fa(0x381)](_0x4b2781){const _0x220304=_0x1f2fa,{unitID:_0x4c402d}=_0x4b2781,{history:_0x40234f,collaboration:_0x2f3a3d}=this[_0x220304(0x3bf)][_0x220304(0x482)](_0x4c402d);if(_0x40234f['length']===0x0&&_0x2f3a3d[_0x220304(0x339)]===0x0)return;const _0x440af9=[],_0x502755=[];let _0x1739c7=a[_0x220304(0x34c)][_0x220304(0x272)](_0x4b2781[_0x220304(0x456)][0x0]),_0x4b6a2c=a[_0x220304(0x34c)][_0x220304(0x272)](_0x4b2781[_0x220304(0x456)][0x0]);for(let _0x248cc5=_0x40234f['length']-0x1;_0x248cc5>=0x0;_0x248cc5--){const _0xbc5fbf={'id':_0x220304(0x4dc),'params':{'unitId':_0x40234f[_0x248cc5][_0x220304(0x4e3)],..._0x40234f[_0x248cc5][_0x220304(0x2dd)]}},_0x74abd2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40234f[_0x248cc5][_0x220304(0x4e3)],..._0x40234f[_0x248cc5]['redoState']}},_0x1a10b2=this[_0x220304(0x5ce)][_0x220304(0x5a8)](_0x1739c7,_0xbc5fbf,!0x1),_0x2f2ce0=this[_0x220304(0x5ce)][_0x220304(0x5a8)](_0x4b6a2c,_0x74abd2,!0x1);if(S['isTransformMutationFailure'](_0x1a10b2))throw _0x1a10b2[_0x220304(0x2d0)];if(S['isTransformMutationFailure'](_0x2f2ce0))throw _0x2f2ce0[_0x220304(0x2d0)];_0x440af9[_0x220304(0x1e3)]({..._0x40234f[_0x248cc5],'undoState':_0x1a10b2[_0x220304(0x26e)][_0x220304(0x389)],'redoState':_0x2f2ce0[_0x220304(0x26e)][_0x220304(0x389)]}),_0x1739c7=_0x1a10b2['m1Prime'],_0x4b6a2c=_0x2f2ce0[_0x220304(0x18e)];}_0x1739c7=a[_0x220304(0x34c)][_0x220304(0x272)](_0x4b2781[_0x220304(0x456)][0x0]),_0x4b6a2c=a[_0x220304(0x34c)]['deepClone'](_0x4b2781[_0x220304(0x456)][0x0]);for(let _0x111639=_0x2f3a3d[_0x220304(0x339)]-0x1;_0x111639>=0x0;_0x111639--){const _0x1e3a43={'id':_0x220304(0x4dc),'params':{'unitId':_0x2f3a3d[_0x111639][_0x220304(0x4e3)],..._0x2f3a3d[_0x111639][_0x220304(0x2dd)]}},_0x4e54d2={'id':_0x220304(0x4dc),'params':{'unitId':_0x2f3a3d[_0x111639][_0x220304(0x4e3)],..._0x2f3a3d[_0x111639][_0x220304(0x4ed)]}},_0xdf3dec=this[_0x220304(0x5ce)][_0x220304(0x5a8)](_0x1739c7,_0x1e3a43,!0x1),_0xc020f5=this['_transformService'][_0x220304(0x5a8)](_0x4b6a2c,_0x4e54d2,!0x1);if(S[_0x220304(0x187)](_0xdf3dec))throw _0xdf3dec['error'];if(S[_0x220304(0x187)](_0xc020f5))throw _0xc020f5[_0x220304(0x2d0)];_0x502755[_0x220304(0x1e3)]({..._0x2f3a3d[_0x111639],'undoState':_0xdf3dec[_0x220304(0x26e)][_0x220304(0x389)],'redoState':_0xc020f5[_0x220304(0x26e)][_0x220304(0x389)]}),_0x1739c7=_0xdf3dec[_0x220304(0x18e)],_0x4b6a2c=_0xc020f5[_0x220304(0x18e)];}this[_0x220304(0x3bf)][_0x220304(0x589)](_0x4c402d,{'history':_0x440af9,'collaboration':_0x502755});}};We=Pi([et(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),et(0x1,S[_0x1f2fa(0x3ff)]),et(0x2,a[_0x1f2fa(0x28d)](J['DocStateChangeManagerService']))],We);function dn(_0x4f236d){const _0x2dbf5e=_0x1f2fa;let _0x4e785e='';for(const _0x4dc8af of _0x4f236d){const {startOffset:_0x48e37c,endOffset:_0x441dc9,isActive:_0x29d702,rangeType:_0x4f7191,segmentId:_0x371c3f,segmentPage:_0x329359}=_0x4dc8af;_0x4e785e[_0x2dbf5e(0x339)]&&(_0x4e785e+=','),_0x4e785e+=_0x48e37c+':'+_0x441dc9+':'+(_0x29d702?'1':'0')+':'+_0x4f7191+':'+_0x371c3f+':'+_0x329359;}return _0x4e785e;}function Ui(_0x109545){const _0x175be2=_0x1f2fa,_0x1dc998=_0x109545[_0x175be2(0x4c5)](','),_0x5bca3f=[];for(const _0x543e07 of _0x1dc998){const [_0x302a5b,_0x4beebb,_0x921192,_0xb2cc5,_0x4c15f0,_0x3e1c6b]=_0x543e07[_0x175be2(0x4c5)](':');_0x5bca3f[_0x175be2(0x19c)]({'startOffset':Number(_0x302a5b),'endOffset':Number(_0x4beebb),'collapsed':_0x302a5b===_0x4beebb,'isActive':_0x921192==='1','rangeType':_0xb2cc5===a['DOC_RANGE_TYPE'][_0x175be2(0x58f)]?a[_0x175be2(0x1e6)][_0x175be2(0x58f)]:a[_0x175be2(0x1e6)][_0x175be2(0x362)],'segmentId':typeof _0x4c15f0==_0x175be2(0x205)?String(_0x4c15f0):'','segmentPage':Number(_0x3e1c6b!=null?_0x3e1c6b:-0x1)});}return _0x5bca3f[_0x175be2(0x1ec)](_0x2f6769=>_0x2f6769[_0x175be2(0x3fe)])||(_0x5bca3f[0x0][_0x175be2(0x3fe)]=!0x0),_0x5bca3f;}class Rt extends a[_0x1f2fa(0x2bd)]{constructor(){const _0x4d7b91=_0x1f2fa;super(...arguments),I(this,'_collabCursorState$',new A[(_0x4d7b91(0x25c))](null)),I(this,_0x4d7b91(0x60a),this['_collabCursorState$'][_0x4d7b91(0x5de)]());}['syncEditingCollabCursor'](_0x512144){const _0x5a698a=_0x1f2fa,{unitID:_0x5a1e68,memberID:_0x1ca905,textRanges:_0x13dbe4}=_0x512144,_0x362e59=dn(_0x13dbe4);if(_0x362e59==='')return;const _0x42ff3e={'unitID':_0x5a1e68,'memberID':_0x1ca905,'selection':_0x362e59};this[_0x5a698a(0x5e5)][_0x5a698a(0x497)](_0x42ff3e);}}var Mi=Object[_0x1f2fa(0x4e5)],Ai=Object[_0x1f2fa(0x40d)],Ni=(_0x75143f,_0xa03f1c,_0x97c70a,_0x2a7960)=>{const _0xd3a4ea=_0x1f2fa;for(var _0x40ec45=_0x2a7960>0x1?void 0x0:_0x2a7960?Ai(_0xa03f1c,_0x97c70a):_0xa03f1c,_0x4bacc5=_0x75143f[_0xd3a4ea(0x339)]-0x1,_0x945209;_0x4bacc5>=0x0;_0x4bacc5--)(_0x945209=_0x75143f[_0x4bacc5])&&(_0x40ec45=(_0x2a7960?_0x945209(_0xa03f1c,_0x97c70a,_0x40ec45):_0x945209(_0x40ec45))||_0x40ec45);return _0x2a7960&&_0x40ec45&&Mi(_0xa03f1c,_0x97c70a,_0x40ec45),_0x40ec45;},xt=(_0x44cb18,_0x4a512e)=>(_0x7228ea,_0x59dbe0)=>_0x4a512e(_0x7228ea,_0x59dbe0,_0x44cb18);function _0x424e(){const _0x4ee71f=['next','decrypt','_configService','getTime','_awaitingChangeset','_getSheetObject','collaboration-client.offline-data-not-saved','EffectRefRangId','Unknown\x20user','pushState','default','hide','reject','rxjs/operators','uni.network.url-service','FETCH_MISSING','session','_docTransformSelectionsService','_themeService','execute','onRemoteRej','title','debounce','onStateChange','_undoRedoService','randomBytes','exports','appendMutation','APPLY_REVISION_CONFILICT','transformChangesets','_clearLocalCache','processBlock','react.element','_onOffline','toggleOnline','[CollaborationSessionService]','#fff','\x20to\x20','_memberService','_shouldReportTelemetry','_HTTPService','ONLINE','permissionRejEvent','_colorAssignService','UNIVER_SHEET','/rev/','split','[PendingState]:\x20received\x20rejection.','byteOffset','_updateSubUnitFromURLParams','_sessionStatus$','b64DecodeUnicode','...','SYNCED','_revisionService','max','_hash','getUnitStatus$','charAt','APPLY_REJECT','listRoles','reqId','_iKey','_removeRoom','_getSendChangesetTimeout','awaitingChangeset','saveImage','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','updatePermissionPoint','doc.mutation.rich-text-editing','key','SessionStatus','_transitionLocked','_scheduleHeartbeat','HEARTBEAT_TIMEOUT_KEY','_snapshotService','unitId','getOwnPropertySymbols','defineProperty','_userManagerService','_selfUnitIDs','ILocalStorageService','onMouseMove','getUnitId','LOGIN_URL_KEY','method','redoState','enableAuthServer','Base','collabStatus.conflict','salt','resolve','evenodd','putCollaborators','_oKey','find','setTimeout','state','rev','Undefined','/object/','debug','collabStatus.fetchMiss','_process','isArray','AWAITING','@univerjs/ui','@univerjs/engine-render','[CollaborationSessionService]:\x20socket\x20error','_sessions','UNIVER_DOC','copyFileMeta','getColor','encodeURIComponent','_collabCursorController','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_rescheduleHeartbeat','_createInitialStateImpl','?url=','map','collab-client.tooltip.reconnect','getRelativeToViewportCoord','awaiting_with_pending','_scene','_sender','ERROR_IMAGE','add','HTTPService','_removeClearOtherTimer','translate(.97)','bottom','_clearHeartbeatTimer','size','_univerInstanceService','rxjs','_onLocalMutation','ICommandService','_initCloseConn','NEW_CHANGESETS','visibilitychange','enableLocalCache','_getAPIPrefix','ColorKit','IUIPartsService','getCurrentUser','CommentService','_handler','handleIRemoveCol','_cursors','&assign=','_saveTaskMap','_onConflict','patch','getResourcesRequest','exhaustSavingTask','OFFLINE','_clearOtherTimers','clearInterval','12SjvWMK','from','LocaleService','href','_onCombEvent','_syncEditingCollabCursor','_registerDependencies','focused$','RemoveColCommandId','/block/','[FetchMissState]','collaborators','PSEUDO_FETCH_MISSING_RESULT','session.collaboration-timeout','[SyncedState]:\x20received\x20rejection.','_startDocCollabCursor','_clearTimeoutTimer','getConfig','Error\x20on\x20receiving\x20event','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_socket$','UNIVER_UNKNOWN','changesets','_unitStatus','PERMISSION_DENIED','_onConnectionFailed','toggleOffline','image/jpeg','shouldCloseConn','IDLE','clone','none','_sendingTimer','_telemetryService','_resendTimer','createSocket','YUUMI_SUBSCRIPTION_NOT_FOUND','parse','Univer','target','collaboratorID','RETRY_CONNECTING_MAX_COUNT_KEY','_doCryptBlock','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_snapshotServerService','IUniverInstanceService','splice','collabStatus.notCollab','startsWith','_compressMutationService','_sheetTransformSelectionsService','_replayCachedMutations','/fetchmissing?from=','liveShareNewHost','Warning','_doFinalize','toRgbString','@univerjs/telemetry','lib','_changesetSessionId','CHANGESET_REVISION_CONFILICT','&to=','moveTo','NodePositionConvertToRectRange','call','_tryReconnect','JOIN','lineTo','BASE64','_xformMode','onPointerEnter$','createDecryptor','dispose$','_acknowledgedAwaitingChangeset','@univerjs/sheets-ui','_onCursorDelete','_hovered','BufferedBlockAlgorithm','getCurrentRevOfUnit','COLLAB_WEB_SOCKET_URL_KEY','_map','PENDING','red300','InsertRangeMoveRightCommandId','setStateCache','onRemoteRetry','sheetId','RegularPolygon','ranges','?size=','TEXT','UNAUTHENTICATED','onMissingChangesets','@univerjs/engine-formula','pending','JSONX','fromEventSubject','Vector2','Encryptor','_transformUndoredo','localeService','auth.needGotoLoginAlert','blockSize','_socketService','arc','InsertRangeMoveDownCommandId','updateCollaborator','_getAnchorBounding','_showConflictNotification','docStateChange$','YUUMI_URL_COL_OUT_OF_RANGE','transformRemoteChangeset','_initResize','_entityInit$','_updateURLWithCurrentState','transformMutation','/universer-api/oidc/authpage','clear','_commandService','enableOfflineEditing','toDisposable','confirm','UNIVER_SLIDE','/universer-api/file/{fileID}/sign-url','_removeCollabCursors','jiqing500','objectActions','OpenSSL','requireSession','_sendHeartbeatTimer','combineLatest','CHANGESET_SHOULD_RETRY','SheetCollabCursorShape','workbook','range','RevisionService','IBeforeCloseService','clipPath','fromCharCode','CollaborationEntity','Hasher','substring','symbol','_commentService','onRemoteChangeset','getMember','UniverInstanceType','withCredentials','rng','unknown','url(#on-line-single_clip0_910_349)','_clearUndo','collabWebSocketUrl','_transformService','LOCAL_CACHE_INTERVAL','status$','cfg','CHANGESET_REJ','createEncryptor','takeUntil','getActiveRange','/universer-api/comb','_onRemoteChangeset','fromCollab','joinEvent','ws://127.0.0.1:8000/universer-api/comb/connect','Decryptor','syncEditingCollabCursor','[OfflineState]:\x20received\x20acknowledgement.','asObservable','ImageUploadStatusType','_schedule','useDependency','_type','_mode','[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.','_collabCursorState$','RECV','kdf','onSyncEditingCollabCursor','HmacMD5','_prevBlock','_loadDoc','now','fillText','permission.title','_onCursorUpdate','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','203079drprhI','pipe','_getCurrentRevision','_toggleOnline','3921464gPkaHM','loadOfflineData','reset','registerHTTPInterceptor','onCommandExecuted','onTransformState','loginUrlKey','Plugin','saveOfflineData','stopTime','equals','SheetsSelectionsService','forEach','_onMessage','INTERNAL_ERROR','unitID','isTransformMutationsWithChangesetSuccess','_cursorInfo$','Tooltip','getRenderById','_initCommandExecutedListener','collabCursorState$','idSuffix','complete','_sheetSkeletonManagerService','getValue','_collabSessionService','hidden','handleInsertRangeMoveRight','[CollaborationEntity]','isTransformChangesetsSuccess','onReady','HEARTBEAT_INTERVAL_KEY','_startCollaboration','IAuthzIoService','_clearScheduledTask','save','_retryConnectingTimer','for','_throwTelemetryCollaborationNewChangeset','DocIMEInputManagerService','_roomMembers$','responseType','SetSelectionsOperation','getRandomValues','forwardRef','\x20-\x20','getCurrentSelections','_initUnitPermissionChange','_submitChangeset','unpad','DeleteRangeMoveLeftCommandId','onSendChangeset','getUndoRedoMutationParamsCache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','session.room-full','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AuthzIoHttpService','keySize','resourceIDs','UNRECOGNIZED','_doProcessBlock','_transformStateCache','/unit/','cursorInfo','_config','compute','161260iKOVbb','setActiveRange','downloadEndpointUrl','_socket','/-/object/list','_scheduleTimestamp','image/png','_timeoutTimer','isTransformMutationFailure','_labelPosition','charCodeAt','_fetchMissChangesets','readInt32LE','makeDirty','getDeserializedSheetBlock','m1Prime','OTHER_CLIENTS_EDITING','popstate','NO_OTHER_CLIENTS_EDITING','setShowComponents','update','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','BlockCipher','__creator','_onRefRangeChange','IRemoteInstanceService','_context','apply','x-univer-host','push','routeKey','UNKNOWN_CODE','_substituteRedoStack','getVpScrollXYInfoByPosToVp','image/jpg','retryConnectingInterval','HEARTBEAT','_urlService','beginPath','not_collab','4435RKPdFc','SNAPSHOT_INVALID_SNAPSHOT','history','/allowed','CollaborationController','defs','backgroundColor','_updateState','ILogService','IConfigService','SEND_CHANGESET_TIMEOUT','put','serializeRangeWithSheet','readAsDataURL','SHA1','merge','InsertSheetMutation','override','msCrypto','getUnitType','_handleHeartbeatEvent','_createHandler','_applyRemoteChangeset','COLLAB_SUBMIT_CHANGESET_URL','append','CollaborationSessionService','onTransformRemoteChangesetByIMECache','_drawAnchor','mergeOverrideWithDependencies','action','_isPermissionRej','ITelemetryService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SNAPSHOT_SERVER_URL_KEY','loadSheet','capture','setWaitCount','bind','collaMsg','onCommentUpdate','reduce','IPermissionService','format','ISnapshotServerService','InsertRowCommandId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','Disposable','_iv','_logService','ICollaborationSocketService','FileId','getActiveSheet','JOINING','_commentUpdate$','COMMENT_UPDATE','SEND_CHANGESET_TIMEOUT_KEY','row','compose','unload','unshift','byteLength','RemoveRowCommandId','DOC_RANGE_TYPE','OnLineSingle','replaceDocRanges','_entities','getSheetBySheetId','type','some','MessageType','transformIMECache','newValue','UnitEmbedded','session.will-retry','_onRemoteRejected','setUndoRedoMutationParamsCache','getCollabCursors$','csRejEvent','startRow','serializeCombRequest','_toggleOffline','_unlockTransition','_change$','_handleEvent','unitId\x20is\x20not\x20found','_online','_append','onlineStatusTitle','pad','file','POST','_doReset','_unitID','string','svg','univerjs-icon\x20univerjs-icon-','current','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_resendWithTimeout','buffer','APPLY_DUPLICATED','liveShareOperation','PERMISSION_REJ','\x20in\x20_schedule.','addEventListener','SHOULD_CLOSE_CONN','setCurrentUser','then','userID','event$','transformSelections','MoveRangeCommandId','_setupSubUnitSync','@univerjs/drawing','_transformSelections','deleteCollaborator','defIds','commentUpdate$','create','_color','SNAPSHOT_HAS_BEEN_REMOVED','LocalUndoRedoService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','DependentOn','hovered','_waitCount','UniverCollaborationClientPlugin','name','objectID','connection\x20error','Latin1','UnitSnapshot','WebSocketService','_getUndoStack','_cachedData','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_sendHeartbeat','fetchThroughInterceptors','_notificationService','leaveEvent','assignAColorForMemberID','searchParams','_lastPointer','_lockTransition','_collaborationTimeoutTimer','_updateLocalCache','objectType','on-line-single_clip0_910_349','SUBMIT_CHANGESET','handleMoveRange','_socketReady','_transformUndoRedoStack','HttpImport','isPermissionRej','saveSnapshot','_cursorShapes','_getMergeRange','Optional','_localeService','YUUMI_UNABLE_LOAD_URL','getImageSourceCache','1em','onlineStatusIcon','_id','off-line-single','_disableEditing','fetchMiss','CommandType','permission.content','flatMap','_setupBeforeClosingHandler','DocSelectionManagerService','height','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','whenReady','padding','_docTransformStateCacheService','sequenceExecute','selections','BehaviorSubject','/-/object/-/batch_allowed','subscribe','_checkMissing','_onJoinRoomEvent','urlChange$','_startSheetCollabCursor','displayName','memberID','assign','INotificationService','initWorkbookPermissionChange','registerBeforeClose','handleInsertRangeMoveDown','_getUploadFileURL','_updateCollabCursors','selection','body','m2Prime','catch','_syncEditingCollabCursorService','@univerjs/docs-ui','deepClone','concat','getInterceptPoints','ref','_hideTimer','getSkeleton','includes','VIEWPORT_KEY','AWAITING_WITH_PENDING','_scheduleClearOtherTimer','activeSheet$','WordArray','setInterval','jsxs','width','hostname','DEFAULT_FILE_NAME','location','values','_getRedoStack','status','fillStyle','0\x200\x2016\x2016','fetchMissingChangesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','switchMap','521KynUJk','Inject','BlockCipherMode','enableSingleActiveInstanceLock','ALREADY_EXISTS','UPDATE_PERMISSION_OBJ','_singleActiveUnitService','unit-cache-','trim','mapTo','getMemberID','close','setShapeProps','APPLY_PERMISSION_DENIED','isInternalEditorID','encode','_initStatusComponent','_instanceService','_data','headers','_messageService','indexOf','repeat','getFocusedUnit','HttpExport','drawWith','SNAPSHOT_URL_KEY','AUTHZ_URL_KEY','_keyPriorReset','cmd','FETCH_MISS','20TlDDNe','_docTransformIMECacheService','_incrementRevisionNumber','tag','DisposableCollection','currentTheme$','updateOfflineData','list','[DataLoaderController]','LOCAL_CACHE_INTERVAL_KEY','CONFLICT','online','CollaborationSocketService','sigBytes','_collaborationSessionService','Subject','SheetSkeletonManagerService','_ws','RxDisposable','_transformIMECache','deserializeToCombResponse','mixIn','jsx','_keySchedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_permissionService','ImageSourceType','disposeUnit','toStringTag','Base64','LEAVE','attrs','telemetry\x20info\x20is\x20not\x20initialized','_onRemoteACK','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ENSURE_SNAPSHOT_EXECUTION','@univerjs/docs','error','storage','handleDeleteRangeMoveLeft','getSheetId','_render','_scheduleSaving','closeSession','setConfig','onlineStatus','_docSkeleton','url(#$1','RichTextEditingMutation','findNodePositionByCharIndex','undoState','LICENSE_MAX_UNITS_EXCEEDED','_transformStack','LICENSE_IMPORT_SIZE_EXCEEDED','getCollabEntity$','_getScale','_handleHover','delete','rgba(255,\x20255,\x20255,\x200.01)','sessionStatus','/universer-api/snapshot/','addObject','revision','interceptor','_cursor','_transformRemoteChangesetByStateCache','_textBubble','_unitOnClients','_http','univer-pro.collaboration-client-socket-service','getCollabEntity','RETRY_CONNECTING_MAX_COUNT','PasswordBasedCipher','_socketMessageSubscription','_exhaustRemoteChangesetQueue','get','_injector','CipherParams','Rectangle','IUndoRedoService','_clearRedo','random','COMPRESS_MUTATION_SEND','ThresholdInterceptorFactory','saveChangeset','take','subscribeEvent','all','_renderManagerService','_onFetchMissResult','disposeWithMe','_remoteChangesetQueue','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','useCallback','UUID','extend','connectInjector','children','getLatestCsReqIdBySid','textRanges','_colorIndex','isEditing','IImageIoService','updatePermissionObjEvent','_initRequestHeader','batchAllowed','_getSnapshotAPIPrefix','socket$','_invKeySchedule','setParam','2459338syOuNk','DesktopCollaborationStatusDisplayController','/resources','startColumn','_collaborationController','_imageSourceCache','slice','LIVESHARE_OPERATION','WebURLService','resend','function','save\x20fail\x20reason\x20is\x20','_drawRectRange','UPDATE_CURSOR','_tryEnsureSocket','IRenderManagerService','set','collabStatus.syncing','IMessageService','AES','message$','_listenToOfflineEvent','editing\x20status\x20changed\x20to','IURLService','actions','{fileID}','LocalCacheService','_hasher','state$','round','UniverIcon','delay','length','_transformPreviousActiveRange','getRangePointData','DataLoaderController','handleIRemoveRow','createInstance','react','EmptyMutation','LIVESHARE_REQUEST_HOST','colorChannel1','__esModule','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','_hover','_localCacheService','M0\x200H16V16H0z','result','removeMember','_document','_ENC_XFORM_MODE','Tools','getMergeData','addObjects','src','_disabled','verdancy600','EvpKDF','toString','editingUnit','UNIVER_PROJECT','throttleTime','Utf8','SheetCollaborationEntity','error$','LIVESHARE_TERMINATE','shareReplay','fetching\x20missing\x20changesets\x20from\x20','Injector','getViewport','HELLO','_initMergeInterceptor','HmacSHA1','RECT','mode','_initDependencies','_assignedColors','dispose','getCurrentUnitForType','replace','_send','clearTimeout','/collaborator','_parse','_updateStatus','_getDownloadEndpointURL','_getSaveTimeout','DocCollaborationEntity','onTransformIME','isTransformMutationsWithChangesetFailure','collaboration-client.config','getTypeOfUnitAdded$','COLORS','crypto','_collaborationPaused','setItem','textEncoder','_state$','_loadSheet','CompressMutationService','_onRemoteRetry','registerRenderModule','getAncestorScale','ACTIVE_UNIT_EVENT_CHANNEL','_transformHistoryAndStateStack','synced','restore','use','propertyIsEnumerable','univer-online','getParam','roles','params','_joinRoom','_undoStacks','UniverCollaborationPlugin','LICENSE_DISTRO_REJECTED','eventID','sid','HTTPRequest','@univerjs-pro/collaboration','onlyLocal','sessionStatus$','_nRounds','_saveCache','getWorkbookSelections','_onUserJoin','code','pluginName','infoRsp','purple300','deserializeRangeWithSheet','conflict','parseChangesetToProtocol','loadDoc','9zhcGuQ','_resendTimeout','SetWorksheetActivateCommand','_session','min','reconnect','transformStateCache','createIdentifier','createElement','_decreaseWaiting','sheetID','FromArray','conflict.title','collabSubmitChangesetUrl','CBC','joinRsp','MD5','_anchor','_drawTextRange','NOT_FOUND','_handleJoinEvent','_members','MUTATION','NodePositionConvertToCursor','triggerDblclick','_stopTelemetryCollaborationNewChangeset','_eventUnsubscribe','incrementRevOfUnit','c2Prime','session.connection-failed','close$','_docStateChangeManagerService','baseRev','closePath','getUnit','sheets','_state','encrypt','$super','SUCCUSS','_waitForHeartbeatResponse','randomUUID','Rect','LIVESHARE_NEW_HOST','3604160pEWrBz','_clearCollaborationTimeoutTimer','WorkbookEditablePermission','gold400','addImageSourceCache','join','_pendingMutations','_cipher','xlink:href','has','touchDependencies','black','MemberService','subunit','_substituteUndoStack','filter','transformStack\x20failed!','Could\x20not\x20dynamically\x20require\x20\x22','onMissedChangesetFetched','/new_changes','0\x200\x2017\x2016','collaboration-session-retry','onTransformSelections','_telemetryInfo','snapshot','every','updateMember','YUUMI_RATE_OVER_LIMIT','_httpService','visibilityState','floor','algo','transformUndoRedo','USERS_LEAVE','getDocRanges','open$','_redoStacks','url(#off-line-single_clip0_910_343)','members','\x0aCurrent:\x20','stringify','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ciphertext','hasOwnProperty','distinctUntilChanged','COMPLETION_FINISHED','executeCommand','_DEC_XFORM_MODE','_createHelper','measureText','isActive','ITransformService','_createHmacHelper','DocSkeletonManagerService','@univerjs/design','transformMutationsWithChangeset','&source=','_draw','mapDocumentTypeToUniverType','handleDeleteRangeMoveUp','_localStorageService','_queuedRemoteChangesets','registerComponent','uploadFileServerUrl','_updateLocalCursor','getOwnPropertyDescriptor','ImageIoService','NoPadding','_reverseMap','_roomMembers','_transformRemoteChangesetByIMECache','abs','_refRangeService','ThemeService','CollaborationEvent','off-line-single_clip0_910_343','SerializableCipher','clamp','_range','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','requestParams','_shapes','OffLineSingle','_beforeCloseService','_getAPIPrefixPath','replaceState','CollaborationStatus','useRef','Error','_key','ERROR_EXCEED_SIZE','setAlpha','_event$','className','prototype','fromEvent','MSG_FOR_ERROR','contains','SnapshotServerOverHTTPService','finalize','_heartbeatTimer','826LwBRjX','_onRecvEvent','_anchorDot','@univerjs/rpc','HMAC','_getCtorByUniverType','[CollaborationSession]','currentSkeleton$','collab-rect-range-','post','registerDependencies','startTime','registerOnClose','_onUserLeave','roomMembers$','path','_retryCount','subUnitId','_executeRemoteChangeset','_candidateSocket','send','_getLoginPath','with','c1Prime','TEXT_RANGE_LAYER_INDEX','reverse','/universer-api/snapshot','disableLocalCache','_backgroundColor','_registerRenderDependencies','FAIL','RefRangeService','INGEST','generateRandomId','Fragment','_status$','cursorInfo$','mutations','[CollaborationState]:\x20apply\x20error!','_nDataBytes','url','awaiting','enc','on-line-single','ceil','text','offline','unit','fill','data','Cipher','words','univer-offline','CollaborationSession','NOT_COLLAB','getTypeOfUnitDisposed$','CHANGESET_ACK','@univerjs/network','__Key__','originalMeta','labelPosition','LIVESHARE_FETCH_OPERATIONS','collabStatus.synced','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getCurrent','show','onStarting','COMPRESS_MUTATION_APPLY','registerRefRange','Shape','univer-pro.collaboration-client.single-active-unit-service','onRemoteAck','_handleLeaveEvent','[CollaborationUndoRedoService]','TOO_MANY_REQUESTS','_changesetReqId','_createInitialState','_refreshCollabCursors','color','_onConnectionOpen','pauseCollaboration','getStateCache','_name','unsubscribe','init','_getSignURL','_listenToOnlineEvent','getOffsetConfig','univer-online-status-title','USERS_ENTER','column','_ensureSubject','_init','socket\x20open.','socket\x20close','_createSocket','entries','top','onPointerLeave$','listCollaborators','getUnhiddenWorksheets','onTransformRemoteChangesetByStateCache'];_0x424e=function(){return _0x4ee71f;};return _0x424e();}let Fe=class{constructor(_0x520186,_0x7c164c){const _0x56700c=_0x1f2fa;this['_injector']=_0x520186,this[_0x56700c(0x5ce)]=_0x7c164c;}[_0x1f2fa(0x216)](_0x49d2ec){const _0x520589=_0x1f2fa;var _0x2b508a;const _0x410a02=this[_0x520589(0x2f7)][_0x520589(0x2f6)](ye[_0x520589(0x254)]),_0x28013b=(_0x2b508a=_0x410a02[_0x520589(0x3ee)]())!=null?_0x2b508a:[];if(_0x28013b[_0x520589(0x339)]===0x0)return;const _0xf18a12=_0x49d2ec[_0x520589(0x604)],_0x5bad18=[{'id':_0x520589(0x4dc),'params':{'unitId':_0xf18a12,'actions':null,'textRanges':_0x28013b}}],_0x15afc3=this[_0x520589(0x5ce)][_0x520589(0x403)](_0x49d2ec,_0x5bad18);if(!S['isTransformMutationsWithChangesetSuccess'](_0x15afc3))throw _0x15afc3[_0x520589(0x2d0)];const _0x44bf8b=_0x15afc3[_0x520589(0x26e)][0x0][_0x520589(0x389)][_0x520589(0x30e)];Array[_0x520589(0x4ff)](_0x44bf8b)&&_0x44bf8b[_0x520589(0x339)]&&_0x410a02[_0x520589(0x1e8)](_0x44bf8b,{'unitId':_0xf18a12,'subUnitId':_0xf18a12},!0x1);}};Fe=Ni([xt(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),xt(0x1,S[_0x1f2fa(0x3ff)])],Fe);const Li=new Set([k[_0x1f2fa(0x1b7)]['id']]);function jt(_0x2ae23c,_0x5708e5,_0x460aec,_0x1b024e,_0x580424){const _0x3db101=_0x1f2fa;var _0x5425b5,_0x1094df,_0x5020e1,_0x1ad435;const _0x3b106d=[];for(const _0x3b358b of _0x2ae23c)if(Li[_0x3db101(0x3d5)](_0x3b358b['id'])){if(_0x3b106d[_0x3db101(0x339)]>0x0)break;_0x3b106d[_0x3db101(0x19c)](_0x3b358b);break;}else _0x3b106d[_0x3db101(0x19c)](_0x3b358b);const _0x35f1aa=(_0x1094df=(_0x5425b5=_0x580424[_0x3db101(0x527)]())==null?void 0x0:_0x5425b5[_0x3db101(0x214)])!=null?_0x1094df:_0x3db101(0x5ca),_0xdb17ee=(_0x1ad435=(_0x5020e1=_0x580424[_0x3db101(0x527)]())==null?void 0x0:_0x5020e1[_0x3db101(0x264)])!=null?_0x1ad435:_0x3db101(0x5ca);return{'changeset':{'unitID':_0x5708e5,'type':S[_0x3db101(0x406)](_0x460aec[_0x3db101(0x1ba)](_0x5708e5)),'baseRev':_0x1b024e[_0x3db101(0x583)](_0x5708e5),'revision':0x0,'userID':_0x35f1aa,'memberID':_0xdb17ee,'mutations':_0x3b106d},'pendingMutations':_0x2ae23c[_0x3db101(0x31f)](_0x3b106d['length'])};}function xi(_0x3a3f1a,_0x29fb94,_0x3dc920,_0x25ccf5,_0x3a9f03){const _0x321795=_0x1f2fa;var _0x409a78,_0x263091,_0x4ef937,_0x55499b;const _0x4d21e2=[_0x3a3f1a[_0x321795(0x1cf)]((_0x463bf5,_0x339251)=>{const _0x166848=_0x321795;var _0x2c2f7e;const {id:_0x4e8228}=_0x463bf5,{id:_0xc29b10,type:_0x4d8ea8}=_0x339251,_0x3719fe=(_0x2c2f7e=_0x463bf5[_0x166848(0x389)])!=null?_0x2c2f7e:{'actions':null},_0x527048=_0x339251[_0x166848(0x389)];if(_0x4e8228&&_0x4e8228!==_0xc29b10)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4e8228+_0x166848(0x16a)+_0xc29b10+'.');return{..._0x463bf5,'id':_0xc29b10,'type':_0x4d8ea8,'params':{'unitId':_0x527048[_0x166848(0x4e3)],'textRanges':_0x527048[_0x166848(0x30e)],'actions':a[_0x166848(0x594)][_0x166848(0x1e1)](_0x3719fe['actions'],_0x527048[_0x166848(0x331)])}};},{})],_0x48537b=(_0x263091=(_0x409a78=_0x3a9f03['getCurrentUser']())==null?void 0x0:_0x409a78['userID'])!=null?_0x263091:_0x321795(0x5ca),_0x3bbdeb=(_0x55499b=(_0x4ef937=_0x3a9f03['getCurrentUser']())==null?void 0x0:_0x4ef937[_0x321795(0x264)])!=null?_0x55499b:_0x321795(0x5ca);return{'changeset':{'unitID':_0x29fb94,'type':S[_0x321795(0x406)](_0x3dc920[_0x321795(0x1ba)](_0x29fb94)),'baseRev':_0x25ccf5[_0x321795(0x583)](_0x29fb94),'revision':0x0,'userID':_0x48537b,'memberID':_0x3bbdeb,'mutations':_0x4d21e2},'pendingMutations':[]};}function fn(_0x41f8c7,_0x348843){const _0x2fc34e=_0x1f2fa,_0x5e4ee1=new A['ReplaySubject'](0x1);return setTimeout(()=>_0x5e4ee1[_0x2fc34e(0x497)](_0x348843),_0x41f8c7),_0x5e4ee1[_0x2fc34e(0x5de)]()[_0x2fc34e(0x5f2)](A[_0x2fc34e(0x300)](0x1));}const ji={'id':k[_0x1f2fa(0x340)]['id'],'type':a[_0x1f2fa(0x250)][_0x1f2fa(0x3b6)],'params':{}};var $i=Object[_0x1f2fa(0x4e5)],Hi=Object[_0x1f2fa(0x40d)],Ie=(_0x4d5773,_0x2e11e3,_0x182a1a,_0x352e0d)=>{const _0x16aacb=_0x1f2fa;for(var _0x1d047e=_0x352e0d>0x1?void 0x0:_0x352e0d?Hi(_0x2e11e3,_0x182a1a):_0x2e11e3,_0x1bc827=_0x4d5773[_0x16aacb(0x339)]-0x1,_0x57b46a;_0x1bc827>=0x0;_0x1bc827--)(_0x57b46a=_0x4d5773[_0x1bc827])&&(_0x1d047e=(_0x352e0d?_0x57b46a(_0x2e11e3,_0x182a1a,_0x1d047e):_0x57b46a(_0x1d047e))||_0x1d047e);return _0x352e0d&&_0x1d047e&&$i(_0x2e11e3,_0x182a1a,_0x1d047e),_0x1d047e;},N=(_0x3b6f7c,_0x43a030)=>(_0x15e57f,_0x148601)=>_0x43a030(_0x15e57f,_0x148601,_0x3b6f7c),q=(_0x2ec486=>(_0x2ec486['NOT_COLLAB']=_0x1f2fa(0x1a6),_0x2ec486[_0x1f2fa(0x4cc)]='synced',_0x2ec486['PENDING']=_0x1f2fa(0x593),_0x2ec486[_0x1f2fa(0x500)]='awaiting',_0x2ec486['AWAITING_WITH_PENDING']=_0x1f2fa(0x511),_0x2ec486[_0x1f2fa(0x2aa)]='fetch_missing',_0x2ec486[_0x1f2fa(0x2b5)]='conflict',_0x2ec486[_0x1f2fa(0x532)]=_0x1f2fa(0x45f),_0x2ec486))(q||{});const vn=0xea60;class Ce{constructor(_0x3b3884,_0x5bc4df,_0x2d3e2f,_0x5505b0,_0x3f6a74,_0x206a3f,_0x4f91a1,_0x40b9f0,_0x51d8af){const _0x30d80c=_0x1f2fa;I(this,'_awaitingChangeset',null),I(this,_0x30d80c(0x3d2),[]),(this[_0x30d80c(0x604)]=_0x3b3884,this[_0x30d80c(0x1eb)]=_0x5bc4df,this[_0x30d80c(0x529)]=_0x3f6a74,this[_0x30d80c(0x5ab)]=_0x206a3f,this['_undoRedoService']=_0x4f91a1,this[_0x30d80c(0x4cd)]=_0x40b9f0,this[_0x30d80c(0x346)]=_0x51d8af,this[_0x30d80c(0x49b)]=_0x2d3e2f,this[_0x30d80c(0x3d2)]=_0x5505b0);}['_checkMissing'](_0x39d6d8){const _0x365dd7=_0x1f2fa,_0x12f783=this[_0x365dd7(0x4cd)][_0x365dd7(0x583)](this[_0x365dd7(0x604)]);return _0x39d6d8[_0x365dd7(0x2e9)]>_0x12f783+0x1?(this[_0x365dd7(0x529)][_0x365dd7(0x591)]({'from':_0x12f783,'to':_0x39d6d8[_0x365dd7(0x2e9)]-0x1}),!0x0):!0x1;}[_0x1f2fa(0x598)](_0x31286c){const _0x2410ac=_0x1f2fa;this[_0x2410ac(0x4af)][_0x2410ac(0x3ec)](this['unitID'],_0x31286c);}[_0x1f2fa(0x21a)](_0x3e775c){const _0xeeb12c=_0x1f2fa;var _0x2ff6a2,_0x3cab74;(_0x3cab74=(_0x2ff6a2=this['_handler'])[_0xeeb12c(0x3e2)])==null||_0x3cab74[_0xeeb12c(0x575)](_0x2ff6a2,_0x3e775c);}[_0x1f2fa(0x2be)](_0x2d4f9c){const _0x22491f=_0x1f2fa;var _0x1fae8f,_0x382c2;return(_0x382c2=(_0x1fae8f=this[_0x22491f(0x529)])[_0x22491f(0x371)])==null?void 0x0:_0x382c2[_0x22491f(0x575)](_0x1fae8f,_0x2d4f9c);}[_0x1f2fa(0x17a)](_0x2f4a48){const _0x4e2d71=_0x1f2fa;var _0xedc6c3,_0xc378d4;return(_0xc378d4=(_0xedc6c3=this[_0x4e2d71(0x529)])[_0x4e2d71(0x5fa)])==null?void 0x0:_0xc378d4[_0x4e2d71(0x575)](_0xedc6c3,_0x2f4a48);}[_0x1f2fa(0x412)](_0x318d12){const _0x474c11=_0x1f2fa;var _0x30d63b,_0x2a170d,_0x4cd96d;return(_0x4cd96d=(_0x2a170d=(_0x30d63b=this[_0x474c11(0x529)])[_0x474c11(0x1c1)])==null?void 0x0:_0x2a170d[_0x474c11(0x575)](_0x30d63b,_0x318d12))!=null?_0x4cd96d:_0x318d12;}[_0x1f2fa(0x2ec)](_0x3f20e8){const _0x723b9f=_0x1f2fa;var _0x4dfb47,_0x2acb07,_0x39c6a1;return(_0x39c6a1=(_0x2acb07=(_0x4dfb47=this[_0x723b9f(0x529)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2acb07[_0x723b9f(0x575)](_0x4dfb47,_0x3f20e8))!=null?_0x39c6a1:_0x3f20e8;}[_0x1f2fa(0x53a)](_0x2fe249){const _0x445ad2=_0x1f2fa;var _0x55f6e6,_0x494d37;if(this['type']===ie[_0x445ad2(0x505)]){const {unitID:_0x2d444f,mutations:_0x59ce6d,memberID:_0x130b6d}=_0x2fe249,_0x3fcce7=_0x59ce6d[0x0][_0x445ad2(0x389)]['textRanges'];Array['isArray'](_0x3fcce7)&&_0x3fcce7[_0x445ad2(0x339)]>0x0&&((_0x494d37=(_0x55f6e6=this[_0x445ad2(0x529)])['onSyncEditingCollabCursor'])==null||_0x494d37[_0x445ad2(0x575)](_0x55f6e6,{'unitID':_0x2d444f,'memberID':_0x130b6d,'textRanges':_0x3fcce7}));}}[_0x1f2fa(0x23a)](){const _0x4274c5=_0x1f2fa;this[_0x4274c5(0x346)][_0x4274c5(0x2b1)](this[_0x4274c5(0x604)],this[_0x4274c5(0x1eb)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x29875d=_0x1f2fa;return this[_0x29875d(0x4cd)]['getCurrentRevOfUnit'](this[_0x29875d(0x604)]);}[_0x1f2fa(0x2ad)](){const _0x4fc414=_0x1f2fa;this[_0x4fc414(0x4cd)][_0x4fc414(0x3bb)](this[_0x4fc414(0x604)]);}[_0x1f2fa(0x443)](_0x259809){const _0x1b3149=_0x1f2fa;var _0x12033d;let _0x564427=this[_0x1b3149(0x412)](_0x259809);_0x564427=this['_transformRemoteChangesetByStateCache'](_0x564427);const _0xb25b5f=a[_0x1b3149(0x25a)](_0x564427[_0x1b3149(0x456)],this[_0x1b3149(0x5ab)],{'fromCollab':!0x0});if(!_0xb25b5f['result'])throw _0xb25b5f[_0x1b3149(0x2d0)]instanceof Error?_0xb25b5f['error']:new Error((_0x12033d=_0xb25b5f[_0x1b3149(0x2d0)])!=null?_0x12033d:_0x1b3149(0x457));this['_transformIMECache'](_0x564427),this['_transformStateCache'](_0x564427),this['_transformUndoredo'](_0x259809),this[_0x1b3149(0x21a)](_0x564427),this[_0x1b3149(0x53a)](_0x564427),this[_0x1b3149(0x2ad)]();}}let Oe=class extends Ce{constructor(_0x546906,_0x5f5a2a,_0x53ad2f,_0x33e928,_0x56facf,_0x52a0a5,_0x269788,_0x5f4c56,_0xe41b57,_0x5e4d46){const _0x13f502=_0x1f2fa;super(_0x546906,_0x5f5a2a,null,[],_0x53ad2f,_0x5f4c56,_0x269788,_0x33e928,_0x56facf),I(this,_0x13f502(0x286),_0x13f502(0x382)),(this[_0x13f502(0x2f7)]=_0x52a0a5,this[_0x13f502(0x1d8)]=_0xe41b57,this[_0x13f502(0x5ce)]=_0x5e4d46);}[_0x1f2fa(0x4b2)](_0x391f8b){const _0x46f840=_0x1f2fa,_0x333a84=this['_injector'][_0x46f840(0x33e)](ce,this[_0x46f840(0x604)],this[_0x46f840(0x1eb)],[_0x391f8b],this[_0x46f840(0x529)]);return _0x333a84[_0x46f840(0x5e0)](),_0x333a84[_0x46f840(0x23a)](),_0x333a84;}[_0x1f2fa(0x5c5)](_0x3668da){const _0x3906b5=_0x1f2fa;if(this[_0x3906b5(0x25f)](_0x3668da))return this[_0x3906b5(0x2f7)][_0x3906b5(0x33e)](re,this[_0x3906b5(0x604)],this[_0x3906b5(0x1eb)],null,[],null,[_0x3668da],this[_0x3906b5(0x529)]);try{const _0x2010dc=this[_0x3906b5(0x5ce)][_0x3906b5(0x403)](_0x3668da,[ji]);if(S['isTransformMutationsWithChangesetSuccess'](_0x2010dc)){const {c1Prime:_0xa856f}=_0x2010dc;return this[_0x3906b5(0x443)](_0xa856f),this;}throw _0x2010dc[_0x3906b5(0x2d0)];}catch(_0x1507a6){return this[_0x3906b5(0x1d8)]['error'](_0x1507a6),this[_0x3906b5(0x52e)](!0x1);}}[_0x1f2fa(0x52e)](_0x27a5a3){const _0x146ea6=_0x1f2fa;return this[_0x146ea6(0x2f7)][_0x146ea6(0x33e)](ve,this['unitID'],this['type'],null,[],this[_0x146ea6(0x529)],_0x27a5a3);}[_0x1f2fa(0x478)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1f2fa(0x4ab)](){const _0x509fcf=_0x1f2fa;throw new Error(_0x509fcf(0x543));}[_0x1f2fa(0x58a)](){return this;}[_0x1f2fa(0x54f)](){const _0x34e46a=_0x1f2fa;return this[_0x34e46a(0x2f7)][_0x34e46a(0x33e)](me,this['unitID'],this[_0x34e46a(0x1eb)],null,[],this[_0x34e46a(0x529)]);}['toggleOnline'](){return this;}[_0x1f2fa(0x322)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f2fa(0x24f)](){const _0x4dc411=_0x1f2fa,_0x16a321=this[_0x4dc411(0x4cd)][_0x4dc411(0x583)](this[_0x4dc411(0x604)]);return this['_handler'][_0x4dc411(0x591)]({'from':_0x16a321,'to':0x0}),this['_injector'][_0x4dc411(0x33e)](re,this['unitID'],this[_0x4dc411(0x1eb)],null,[],null,[],this['_handler']);}};Oe=Ie([N(0x3,a['Inject'](S['RevisionService'])),N(0x4,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0x5,a[_0x1f2fa(0x28d)](a['Injector'])),N(0x6,a[_0x1f2fa(0x2fa)]),N(0x7,a[_0x1f2fa(0x51f)]),N(0x8,a[_0x1f2fa(0x1af)]),N(0x9,S['ITransformService'])],Oe);let ce=class extends Ce{constructor(_0x3ca64b,_0xf33e32,_0x1f319b,_0x2c5945,_0x4615fa,_0x41373e,_0x471fc6,_0x37d75e,_0xa0a6b1,_0x45330e,_0x14fe25,_0x33970b,_0x43764d,_0x35a397){const _0x1075a0=_0x1f2fa;super(_0x3ca64b,_0xf33e32,null,_0x1f319b,_0x2c5945,_0x45330e,_0x35a397,_0x41373e,_0x471fc6),I(this,_0x1075a0(0x286),'pending'),I(this,'_scheduleTimestamp',null),I(this,_0x1075a0(0x555),null),(this[_0x1075a0(0x2f7)]=_0x4615fa,this[_0x1075a0(0x4bd)]=_0x37d75e,this[_0x1075a0(0x1d8)]=_0xa0a6b1,this['_configService']=_0x14fe25,this[_0x1075a0(0x5ce)]=_0x33970b,this['_univerInstanceService']=_0x43764d);}[_0x1f2fa(0x4b2)](_0x43d4bb){const _0x34d3dd=_0x1f2fa;return this[_0x34d3dd(0x3d2)]['push'](_0x43d4bb),this[_0x34d3dd(0x23a)](),this;}['onRemoteChangeset'](_0x1d5532){const _0x1ff77c=_0x1f2fa;if(this[_0x1ff77c(0x25f)](_0x1d5532))return this[_0x1ff77c(0x15f)](),this[_0x1ff77c(0x2f7)][_0x1ff77c(0x33e)](re,this[_0x1ff77c(0x604)],this['type'],null,this[_0x1ff77c(0x3d2)],null,[_0x1d5532],this['_handler']);try{const _0x19d1e1=this['_transformService'][_0x1ff77c(0x403)](_0x1d5532,this[_0x1ff77c(0x3d2)]);if(S[_0x1ff77c(0x605)](_0x19d1e1)){const {c1Prime:_0x421710,m2Prime:_0x2704ff}=_0x19d1e1;this[_0x1ff77c(0x443)](_0x421710);const _0x1dbdaa=this[_0x1ff77c(0x2f7)][_0x1ff77c(0x33e)](ce,this['unitID'],this[_0x1ff77c(0x1eb)],_0x2704ff,this[_0x1ff77c(0x529)]);return this['_clearScheduledTask'](),_0x1dbdaa[_0x1ff77c(0x5e0)](this[_0x1ff77c(0x184)]?Math[_0x1ff77c(0x4ce)](0x0,new Date()['getTime']()-this[_0x1ff77c(0x184)]):this['_getSendChangesetTimeout']()),_0x1dbdaa;}throw _0x19d1e1[_0x1ff77c(0x2d0)];}catch(_0x3e17e1){return this['_logService'][_0x1ff77c(0x2d0)](_0x3e17e1),this[_0x1ff77c(0x52e)](!0x1);}}[_0x1f2fa(0x478)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1f2fa(0x4ab)](){const _0x308bbf=_0x1f2fa;throw new Error(_0x308bbf(0x4c6));}['onRemoteRetry'](){return this;}[_0x1f2fa(0x54f)](){const _0x2bdc61=_0x1f2fa;return this[_0x2bdc61(0x15f)](),this[_0x2bdc61(0x2f7)][_0x2bdc61(0x33e)](me,this[_0x2bdc61(0x604)],this[_0x2bdc61(0x1eb)],null,this['_pendingMutations'],this[_0x2bdc61(0x529)]);}[_0x1f2fa(0x4b9)](){return this;}[_0x1f2fa(0x5e0)](_0x510c7c){const _0x4b0522=_0x1f2fa,_0x323899=_0x510c7c!=null?_0x510c7c:this['_getSendChangesetTimeout']();this['_scheduleTimestamp']=new Date()[_0x4b0522(0x49a)](),this[_0x4b0522(0x555)]=window[_0x4b0522(0x4f7)](()=>{const _0xe0216a=_0x4b0522;this[_0xe0216a(0x15f)]();let _0x1f07f9=null;switch(this[_0xe0216a(0x1eb)]){case ie[_0xe0216a(0x4c3)]:{_0x1f07f9=jt(this[_0xe0216a(0x3d2)],this[_0xe0216a(0x604)],this[_0xe0216a(0x51c)],this[_0xe0216a(0x4cd)],this[_0xe0216a(0x4bd)]);break;}case ie[_0xe0216a(0x505)]:{this[_0xe0216a(0x3d2)]['every'](_0x3aedf4=>_0x3aedf4['id']===ye[_0xe0216a(0x2db)]['id'])?_0x1f07f9=xi(this['_pendingMutations'],this[_0xe0216a(0x604)],this[_0xe0216a(0x51c)],this['_revisionService'],this[_0xe0216a(0x4bd)]):_0x1f07f9=jt(this['_pendingMutations'],this[_0xe0216a(0x604)],this[_0xe0216a(0x51c)],this[_0xe0216a(0x4cd)],this[_0xe0216a(0x4bd)]);break;}default:throw new Error(_0xe0216a(0x470)+this[_0xe0216a(0x1eb)]+_0xe0216a(0x20f));}const {changeset:_0x5f2e2a,pendingMutations:_0x31de71}=_0x1f07f9;this['_handler'][_0xe0216a(0x170)](_0x5f2e2a);const _0x2bfca8=_0x31de71[_0xe0216a(0x339)]?this[_0xe0216a(0x2f7)]['createInstance'](le,this[_0xe0216a(0x604)],this['type'],_0x5f2e2a,_0x31de71,this[_0xe0216a(0x529)],void 0x0):this[_0xe0216a(0x2f7)]['createInstance'](fe,this[_0xe0216a(0x604)],this[_0xe0216a(0x1eb)],_0x5f2e2a,this[_0xe0216a(0x529)]);_0x2bfca8[_0xe0216a(0x23a)](),this['_handler'][_0xe0216a(0x4ae)](this,_0x2bfca8);},_0x323899);}[_0x1f2fa(0x4d7)](){const _0x1dccab=_0x1f2fa;var _0x313e73;const _0x60fd21=this[_0x1dccab(0x499)][_0x1dccab(0x546)](te);return(_0x313e73=_0x60fd21==null?void 0x0:_0x60fd21['sendChangesetTimeout'])!=null?_0x313e73:kn;}[_0x1f2fa(0x322)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x1634c8=_0x1f2fa;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1634c8(0x555)]),this[_0x1634c8(0x555)]=null);}[_0x1f2fa(0x52e)](_0x59c2df){const _0x25dca9=_0x1f2fa;return this['_clearScheduledTask'](),this[_0x25dca9(0x2f7)][_0x25dca9(0x33e)](ve,this[_0x25dca9(0x604)],this[_0x25dca9(0x1eb)],null,this[_0x25dca9(0x3d2)],this[_0x25dca9(0x529)],_0x59c2df);}};ce=Ie([N(0x4,a[_0x1f2fa(0x28d)](a['Injector'])),N(0x5,a['Inject'](S[_0x1f2fa(0x5bc)])),N(0x6,a['Inject'](exports[_0x1f2fa(0x333)])),N(0x7,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x3d8)])),N(0x8,a[_0x1f2fa(0x1af)]),N(0x9,a['ICommandService']),N(0xa,a[_0x1f2fa(0x1b0)]),N(0xb,S['ITransformService']),N(0xc,a[_0x1f2fa(0x562)]),N(0xd,a[_0x1f2fa(0x2fa)])],ce);let fe=class extends Ce{constructor(_0x29c8bc,_0x4aa3e3,_0x122400,_0x52722b,_0x544fe8,_0x5afa49,_0x4b0762,_0x28f912,_0x451987,_0x6b0911,_0x1566c4){const _0x2be14f=_0x1f2fa;super(_0x29c8bc,_0x4aa3e3,_0x122400,[],_0x52722b,_0x28f912,_0x1566c4,_0x5afa49,_0x4b0762),I(this,'status',_0x2be14f(0x45a)),I(this,_0x2be14f(0x3a1),0x0),I(this,'_resendTimer'),I(this,_0x2be14f(0x513)),(this[_0x2be14f(0x2f7)]=_0x544fe8,this[_0x2be14f(0x1d8)]=_0x451987,this[_0x2be14f(0x5ce)]=_0x6b0911);}[_0x1f2fa(0x4b2)](_0x457565){const _0x4418c2=_0x1f2fa;this['_clearScheduledTask']();const _0x312909=this[_0x4418c2(0x2f7)]['createInstance'](le,this[_0x4418c2(0x604)],this[_0x4418c2(0x1eb)],this['_awaitingChangeset'],[_0x457565],this['_handler'],this[_0x4418c2(0x557)]);return _0x312909[_0x4418c2(0x23a)](),_0x312909;}['onRemoteChangeset'](_0x6f8314){const _0x3a6074=_0x1f2fa;if(this[_0x3a6074(0x25f)](_0x6f8314))return this[_0x3a6074(0x15f)](),this[_0x3a6074(0x2f7)]['createInstance'](re,this[_0x3a6074(0x604)],this[_0x3a6074(0x1eb)],this[_0x3a6074(0x49b)],[],null,[_0x6f8314],this['_handler']);try{const _0x5f320d=this[_0x3a6074(0x5ce)][_0x3a6074(0x4b4)]([_0x6f8314],[this[_0x3a6074(0x49b)]],!0x1);if(S[_0x3a6074(0x15a)](_0x5f320d)){const {c1Prime:_0xa50f4c,c2Prime:_0x52f6f0}=_0x5f320d;this['_executeRemoteChangeset'](_0xa50f4c[0x0]),_0x52f6f0[0x0][_0x3a6074(0x3c0)]=this[_0x3a6074(0x5f3)](),this[_0x3a6074(0x15f)]();const _0x274c05=this['_injector'][_0x3a6074(0x33e)](fe,this[_0x3a6074(0x604)],this[_0x3a6074(0x1eb)],_0x52f6f0[0x0],this['_handler']);return _0x274c05[_0x3a6074(0x23a)](),_0x274c05;}return this[_0x3a6074(0x52e)](!0x1);}catch(_0x406900){return this[_0x3a6074(0x1d8)][_0x3a6074(0x2d0)](_0x406900),this['_onConflict'](!0x1);}}[_0x1f2fa(0x478)](_0x4e1574){const _0x5a1ca1=_0x1f2fa;this[_0x5a1ca1(0x15f)]();const _0x54ec01=this[_0x5a1ca1(0x4cd)][_0x5a1ca1(0x583)](this[_0x5a1ca1(0x604)]);if(_0x4e1574[_0x5a1ca1(0x2e9)]<_0x54ec01-0x1)return this;if(this['_checkMissing'](_0x4e1574))return this[_0x5a1ca1(0x2f7)][_0x5a1ca1(0x33e)](re,this[_0x5a1ca1(0x604)],this[_0x5a1ca1(0x1eb)],null,[],this[_0x5a1ca1(0x49b)],[],this[_0x5a1ca1(0x529)]);this['_incrementRevisionNumber']();const _0x20dacf=this[_0x5a1ca1(0x2f7)][_0x5a1ca1(0x33e)](Oe,this[_0x5a1ca1(0x604)],this[_0x5a1ca1(0x1eb)],this[_0x5a1ca1(0x529)]);return _0x20dacf[_0x5a1ca1(0x23a)](),_0x20dacf;}[_0x1f2fa(0x4ab)](_0x391075){const _0xe1da6b=_0x1f2fa;return this['_onConflict'](!!(_0x391075!=null&&_0x391075[_0xe1da6b(0x242)]));}[_0x1f2fa(0x58a)](_0x394b46){const _0x5de6c4=_0x1f2fa;return this[_0x5de6c4(0x3a1)]>vn?this[_0x5de6c4(0x54f)]():(this[_0x5de6c4(0x557)]=fn(this['_resendTimeout'],{'timeout':this[_0x5de6c4(0x3a1)],'reqId':_0x394b46['reqId']}),this[_0x5de6c4(0x513)]=this[_0x5de6c4(0x557)][_0x5de6c4(0x25e)](({reqId:_0x1bdf0d,timeout:_0x3c4299})=>{const _0xebf8f5=_0x5de6c4;this[_0xebf8f5(0x20a)](_0x1bdf0d,_0x3c4299);}),this);}['toggleOffline'](){const _0x1b9380=_0x1f2fa;return this[_0x1b9380(0x15f)](),this[_0x1b9380(0x2f7)][_0x1b9380(0x33e)](me,this[_0x1b9380(0x604)],this[_0x1b9380(0x1eb)],this['_awaitingChangeset'],[],this['_handler']);}[_0x1f2fa(0x4b9)](){return this;}[_0x1f2fa(0x322)](){const _0x5f048c=_0x1f2fa;this['_handler'][_0x5f048c(0x170)](this[_0x5f048c(0x49b)]);}[_0x1f2fa(0x52e)](_0x4d8421){const _0xaa2358=_0x1f2fa;return this['_clearScheduledTask'](),this[_0xaa2358(0x2f7)][_0xaa2358(0x33e)](ve,this[_0xaa2358(0x604)],this[_0xaa2358(0x1eb)],this[_0xaa2358(0x49b)],[],this[_0xaa2358(0x529)],_0x4d8421);}[_0x1f2fa(0x20a)](_0x900314,_0x2c94cc){const _0x4e933d=_0x1f2fa;var _0x3fa740;_0x900314===((_0x3fa740=this[_0x4e933d(0x49b)])==null?void 0x0:_0x3fa740[_0x4e933d(0x4d4)])&&(this['resend'](),this['_resendTimeout']=_0x2c94cc===0x0?0x3e8:_0x2c94cc*0x2);}['_clearScheduledTask'](){const _0xe2bdf2=_0x1f2fa;var _0x324166;(_0x324166=this[_0xe2bdf2(0x513)])==null||_0x324166[_0xe2bdf2(0x484)](),this[_0xe2bdf2(0x3a1)]=0x0;}};fe=Ie([N(0x4,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),N(0x5,a['Inject'](S[_0x1f2fa(0x5bc)])),N(0x6,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0x7,a[_0x1f2fa(0x51f)]),N(0x8,a[_0x1f2fa(0x1af)]),N(0x9,S[_0x1f2fa(0x3ff)]),N(0xa,a['IUndoRedoService'])],fe);let le=class extends Ce{constructor(_0x57ec05,_0x3f8d17,_0x515740,_0x4c48f0,_0x4020d9,_0x3249b7,_0x34b34c,_0x184175,_0x3dfbaa,_0x3feafc,_0x448192,_0x215daf,_0x586cea){const _0x1c526f=_0x1f2fa;super(_0x57ec05,_0x3f8d17,_0x515740,_0x4c48f0,_0x4020d9,_0x3feafc,_0x586cea,_0x184175,_0x3dfbaa),I(this,_0x1c526f(0x286),'awaiting_with_pending'),I(this,_0x1c526f(0x3a1),0x0),I(this,_0x1c526f(0x557)),I(this,_0x1c526f(0x513)),(this[_0x1c526f(0x2f7)]=_0x34b34c,this[_0x1c526f(0x1d8)]=_0x448192,this[_0x1c526f(0x5ce)]=_0x215daf,_0x3249b7&&(this[_0x1c526f(0x557)]=_0x3249b7,this[_0x1c526f(0x513)]=this[_0x1c526f(0x557)][_0x1c526f(0x25e)](({reqId:_0x20a86b,timeout:_0x4a54f1})=>{this['_resendWithTimeout'](_0x20a86b,_0x4a54f1);})));}['appendMutation'](_0x3415a7){const _0x2f1b56=_0x1f2fa;return this['_pendingMutations'][_0x2f1b56(0x19c)](_0x3415a7),this;}[_0x1f2fa(0x5c5)](_0x48906f){const _0x37f039=_0x1f2fa;if(this[_0x37f039(0x25f)](_0x48906f))return this[_0x37f039(0x15f)](),this[_0x37f039(0x2f7)][_0x37f039(0x33e)](re,this[_0x37f039(0x604)],this[_0x37f039(0x1eb)],this[_0x37f039(0x49b)],this[_0x37f039(0x3d2)],null,[_0x48906f],this['_handler']);try{const _0x6bc47=this[_0x37f039(0x5ce)][_0x37f039(0x4b4)]([_0x48906f],[this[_0x37f039(0x49b)]],!0x1);if(S[_0x37f039(0x15a)](_0x6bc47)){const {c1Prime:_0x50368b,c2Prime:_0x3c3a0c}=_0x6bc47,_0xab70c7=this[_0x37f039(0x5ce)]['transformMutationsWithChangeset'](_0x50368b[0x0],this['_pendingMutations']);if(S[_0x37f039(0x605)](_0xab70c7)){const {c1Prime:_0x5b2a69,m2Prime:_0x168d91}=_0xab70c7;return this[_0x37f039(0x443)](_0x5b2a69),_0x3c3a0c[0x0][_0x37f039(0x3c0)]=this['_getCurrentRevision'](),this[_0x37f039(0x15f)](),this['_injector'][_0x37f039(0x33e)](le,this[_0x37f039(0x604)],this[_0x37f039(0x1eb)],_0x3c3a0c[0x0],_0x168d91,this[_0x37f039(0x529)],void 0x0);}throw _0xab70c7[_0x37f039(0x2d0)];}throw _0x6bc47['error'];}catch(_0xa315c7){return this['_logService'][_0x37f039(0x2d0)](_0xa315c7),this[_0x37f039(0x52e)](!0x1);}}[_0x1f2fa(0x478)](_0x2ff005){const _0x1689a4=_0x1f2fa;if(this[_0x1689a4(0x15f)](),this[_0x1689a4(0x25f)](_0x2ff005))return this[_0x1689a4(0x2f7)][_0x1689a4(0x33e)](re,this['unitID'],this[_0x1689a4(0x1eb)],null,this[_0x1689a4(0x3d2)],this[_0x1689a4(0x49b)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5c07d9=this[_0x1689a4(0x2f7)][_0x1689a4(0x33e)](ce,this[_0x1689a4(0x604)],this['type'],this['_pendingMutations'],this['_handler']);return _0x5c07d9[_0x1689a4(0x5e0)](),_0x5c07d9[_0x1689a4(0x23a)](),_0x5c07d9;}[_0x1f2fa(0x4ab)](_0x5c29ab){const _0x29fd12=_0x1f2fa;return this[_0x29fd12(0x52e)](!!(_0x5c29ab!=null&&_0x5c29ab[_0x29fd12(0x242)]));}[_0x1f2fa(0x58a)](_0x2809b8){const _0x562ccb=_0x1f2fa;return this[_0x562ccb(0x3a1)]>vn?this[_0x562ccb(0x54f)]():(this[_0x562ccb(0x557)]=fn(this[_0x562ccb(0x3a1)],{'timeout':this['_resendTimeout'],'reqId':_0x2809b8[_0x562ccb(0x4d4)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x1dd910,timeout:_0x987bd0})=>{const _0x5a0d1b=_0x562ccb;this[_0x5a0d1b(0x20a)](_0x1dd910,_0x987bd0);}),this);}[_0x1f2fa(0x54f)](){const _0x2ddd08=_0x1f2fa;return this[_0x2ddd08(0x15f)](),this[_0x2ddd08(0x2f7)][_0x2ddd08(0x33e)](me,this[_0x2ddd08(0x604)],this[_0x2ddd08(0x1eb)],this[_0x2ddd08(0x49b)],this[_0x2ddd08(0x3d2)],this['_handler']);}[_0x1f2fa(0x4b9)](){return this;}[_0x1f2fa(0x322)](){const _0x523ceb=_0x1f2fa;this[_0x523ceb(0x529)]['onSendChangeset'](this[_0x523ceb(0x49b)]);}[_0x1f2fa(0x52e)](_0x13f4ab){const _0x5965a7=_0x1f2fa;return this['_clearScheduledTask'](),this[_0x5965a7(0x2f7)]['createInstance'](ve,this[_0x5965a7(0x604)],this[_0x5965a7(0x1eb)],null,this['_pendingMutations'],this['_handler'],_0x13f4ab);}[_0x1f2fa(0x20a)](_0x3a7423,_0x23aa67){const _0xb558f0=_0x1f2fa;var _0x4c3fb5;_0x3a7423===((_0x4c3fb5=this['_awaitingChangeset'])==null?void 0x0:_0x4c3fb5['reqId'])&&(this[_0xb558f0(0x322)](),this['_resendTimeout']=_0x23aa67===0x0?0x3e8:_0x23aa67*0x2);}[_0x1f2fa(0x15f)](){const _0x1c2066=_0x1f2fa;var _0xbf1719;(_0xbf1719=this[_0x1c2066(0x513)])==null||_0xbf1719['unsubscribe'](),this[_0x1c2066(0x3a1)]=0x0;}};le=Ie([N(0x6,a['Inject'](a[_0x1f2fa(0x35d)])),N(0x7,a[_0x1f2fa(0x28d)](S['RevisionService'])),N(0x8,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0x9,a['ICommandService']),N(0xa,a[_0x1f2fa(0x1af)]),N(0xb,S[_0x1f2fa(0x3ff)]),N(0xc,a[_0x1f2fa(0x2fa)])],le);let ve=class extends Ce{constructor(_0x15ca50,_0x316327,_0x13f8b9,_0x501648,_0xb4d98b,_0x2ded50=!0x1,_0x8ae5f8,_0x523aa7,_0x23e68b,_0x40d12f,_0x305e12,_0x3afbc7,_0x35f904){const _0x3af9=_0x1f2fa;super(_0x15ca50,_0x316327,_0x13f8b9,_0x501648,_0xb4d98b,_0x523aa7,_0x23e68b,_0x305e12,_0x40d12f),I(this,_0x3af9(0x286),_0x3af9(0x39d)),(this[_0x3af9(0x1c5)]=_0x2ded50,this[_0x3af9(0x2c4)]=_0x8ae5f8,this['_localeService']=_0x3afbc7,this[_0x3af9(0x233)]=_0x35f904,this[_0x3af9(0x5a1)](),this[_0x3af9(0x4b5)](),this[_0x3af9(0x24e)]());}[_0x1f2fa(0x4b2)](){return this;}[_0x1f2fa(0x5c5)](){return this;}['onRemoteAck'](){return this;}[_0x1f2fa(0x4ab)](){return this;}['onRemoteRetry'](){return this;}[_0x1f2fa(0x54f)](){return this;}[_0x1f2fa(0x4b9)](){return this;}['resend'](){const _0x58f839=_0x1f2fa;throw new Error(_0x58f839(0x194));}['_clearLocalCache'](){const _0x31f3f9=_0x1f2fa;this['_localCacheService']['updateOfflineData'](this[_0x31f3f9(0x604)],this[_0x31f3f9(0x1eb)],null,[]);}[_0x1f2fa(0x5a1)](){const _0x4a555d=_0x1f2fa;this[_0x4a555d(0x1c5)]?this[_0x4a555d(0x233)]['show']({'title':this[_0x4a555d(0x247)]['t'](_0x4a555d(0x5ee)),'content':this[_0x4a555d(0x247)]['t'](_0x4a555d(0x251)),'type':'error','duration':0x0}):this[_0x4a555d(0x233)][_0x4a555d(0x472)]({'title':this['_localeService']['t'](_0x4a555d(0x3ac)),'content':this[_0x4a555d(0x247)]['t']('conflict.content'),'type':_0x4a555d(0x2d0),'duration':0x0});}[_0x1f2fa(0x24e)](){const _0x4da6b1=_0x1f2fa;this[_0x4da6b1(0x2c4)][_0x4da6b1(0x4db)](new k[(_0x4da6b1(0x3ce))](this[_0x4da6b1(0x604)])['id'],!0x1);}};ve=Ie([N(0x6,a['Inject'](a['IPermissionService'])),N(0x7,a[_0x1f2fa(0x51f)]),N(0x8,a[_0x1f2fa(0x2fa)]),N(0x9,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0xa,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)])),N(0xb,a['Inject'](a['LocaleService'])),N(0xc,ee[_0x1f2fa(0x266)])],ve);let me=class extends Ce{constructor(_0x41cffd,_0x461def,_0x166ce6,_0x4f2c45,_0x23e810,_0x3d12c8,_0x5cf47f,_0x5589ac,_0x71c87d,_0x55aa24){const _0x35d805=_0x1f2fa;super(_0x41cffd,_0x461def,_0x166ce6,_0x4f2c45,_0x23e810,_0x71c87d,_0x55aa24,_0x5cf47f,_0x5589ac),I(this,'status',_0x35d805(0x45f)),this['_injector']=_0x3d12c8;}[_0x1f2fa(0x4b2)](_0x7e2b85){const _0x26bd81=_0x1f2fa;return this[_0x26bd81(0x3d2)][_0x26bd81(0x19c)](_0x7e2b85),this[_0x26bd81(0x23a)](),this;}[_0x1f2fa(0x5c5)](_0x29ba36){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1f2fa(0x478)](){const _0x17ee9a=_0x1f2fa;throw new Error(_0x17ee9a(0x5dd));}[_0x1f2fa(0x4ab)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1f2fa(0x54f)](){return this;}['toggleOnline'](){const _0x4a6229=_0x1f2fa,{_injector:_0x43e517,_pendingMutations:_0x1d446b,_awaitingChangeset:_0x3d58e9,unitID:_0x54ed4f,_handler:_0xc4aab9,type:_0x1e15e1}=this,_0x2abf42=mn(_0x43e517,_0x54ed4f,_0x1e15e1,_0x3d58e9,_0x1d446b,_0xc4aab9);return _0x2abf42 instanceof ce?_0x2abf42[_0x4a6229(0x5e0)]():(_0x2abf42 instanceof le||_0x2abf42 instanceof fe)&&_0x2abf42[_0x4a6229(0x322)](),_0x2abf42;}[_0x1f2fa(0x322)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};me=Ie([N(0x5,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),N(0x6,a[_0x1f2fa(0x28d)](S['RevisionService'])),N(0x7,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),N(0x8,a[_0x1f2fa(0x51f)]),N(0x9,a[_0x1f2fa(0x2fa)])],me);let re=class extends Ce{constructor(_0x4f3b41,_0x434241,_0x5aab45,_0x4cbd9b,_0x549143,_0x5dc92f,_0x340175,_0xff6052,_0x53896f,_0x8eab5e,_0xbe4772,_0x5b7e21,_0x2419f4,_0x415603){const _0x64e08=_0x1f2fa;super(_0x4f3b41,_0x434241,_0x5aab45,_0x4cbd9b,_0x340175,_0x5b7e21,_0x2419f4,_0x53896f,_0x8eab5e),I(this,_0x64e08(0x286),'fetch_missing'),(this[_0x64e08(0x57e)]=_0x549143,this['_queuedRemoteChangesets']=_0x5dc92f,this[_0x64e08(0x2f7)]=_0xff6052,this[_0x64e08(0x1d8)]=_0xbe4772,this['_transformService']=_0x415603);}[_0x1f2fa(0x3de)](_0x5117dd){const _0x2fa48c=_0x1f2fa;try{const _0xa943cc=[..._0x5117dd,...this[_0x2fa48c(0x409)]],_0x4d64c1=[this['_awaitingChangeset']||this[_0x2fa48c(0x57e)]][_0x2fa48c(0x3db)](_0x4dcbef=>!!_0x4dcbef);let _0x1ea989,_0x3474a1;if(_0x4d64c1[_0x2fa48c(0x339)]){const _0x3ba157=this[_0x2fa48c(0x5ce)][_0x2fa48c(0x4b4)](_0xa943cc,_0x4d64c1,!0x1);if(!S[_0x2fa48c(0x15a)](_0x3ba157))throw _0x3ba157['error'];_0x1ea989=_0x3ba157['c1Prime'],_0x3474a1=_0x3ba157[_0x2fa48c(0x3bc)];}else _0x1ea989=_0xa943cc,_0x3474a1=[];let _0x195224=this[_0x2fa48c(0x3d2)];_0x1ea989[_0x2fa48c(0x601)](_0x1afdb1=>{const _0x333ba=_0x2fa48c;let _0x6153c5;if(_0x195224[_0x333ba(0x339)]){const _0x5889b3=this[_0x333ba(0x5ce)][_0x333ba(0x403)](_0x1afdb1,_0x195224);if(!S[_0x333ba(0x605)](_0x5889b3))throw _0x5889b3[_0x333ba(0x2d0)];_0x6153c5=_0x5889b3[_0x333ba(0x448)],_0x195224=_0x5889b3[_0x333ba(0x26e)];}else _0x6153c5=_0x1afdb1;this['_executeRemoteChangeset'](_0x6153c5);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2fa48c(0x2ad)](),this['_awaitingChangeset']&&_0x3474a1[_0x2fa48c(0x339)]&&(_0x3474a1[0x0]['baseRev']=this[_0x2fa48c(0x5f3)]());let _0x36c234;if(this[_0x2fa48c(0x49b)]&&_0x195224[_0x2fa48c(0x339)]!==0x0)_0x36c234=this[_0x2fa48c(0x2f7)][_0x2fa48c(0x33e)](le,this[_0x2fa48c(0x604)],this[_0x2fa48c(0x1eb)],_0x3474a1[0x0],_0x195224,this[_0x2fa48c(0x529)],void 0x0);else{if(this[_0x2fa48c(0x49b)]&&_0x195224[_0x2fa48c(0x339)]===0x0)_0x3474a1[0x0][_0x2fa48c(0x3c0)]=this['_getCurrentRevision'](),_0x36c234=this['_injector'][_0x2fa48c(0x33e)](fe,this[_0x2fa48c(0x604)],this[_0x2fa48c(0x1eb)],_0x3474a1[0x0],this[_0x2fa48c(0x529)]);else{if(_0x195224['length']!==0x0){const _0x425757=this[_0x2fa48c(0x2f7)][_0x2fa48c(0x33e)](ce,this[_0x2fa48c(0x604)],this[_0x2fa48c(0x1eb)],_0x195224,this[_0x2fa48c(0x529)]);_0x425757[_0x2fa48c(0x5e0)](),_0x36c234=_0x425757;}else _0x36c234=this[_0x2fa48c(0x2f7)][_0x2fa48c(0x33e)](Oe,this[_0x2fa48c(0x604)],this[_0x2fa48c(0x1eb)],this[_0x2fa48c(0x529)]);}}return _0x36c234[_0x2fa48c(0x23a)](),_0x36c234;}catch(_0x13abf4){return this[_0x2fa48c(0x1d8)][_0x2fa48c(0x2d0)](_0x2fa48c(0x53f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x13abf4),this[_0x2fa48c(0x2f7)][_0x2fa48c(0x33e)](ve,this['unitID'],this[_0x2fa48c(0x1eb)],this[_0x2fa48c(0x49b)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x1f2fa(0x322)](){const _0x1457dd=_0x1f2fa;throw new Error(_0x1457dd(0x1d4));}['appendMutation'](_0x137629){const _0x2cdd2c=_0x1f2fa;return this[_0x2cdd2c(0x3d2)][_0x2cdd2c(0x19c)](_0x137629),this;}[_0x1f2fa(0x5c5)](_0x48add4){const _0x11edc9=_0x1f2fa;return this['_queuedRemoteChangesets'][_0x11edc9(0x19c)](_0x48add4),this;}[_0x1f2fa(0x478)](_0x239e9a){const _0x10eb08=_0x1f2fa;if(this[_0x10eb08(0x49b)])return this['_acknowledgedAwaitingChangeset']=this[_0x10eb08(0x49b)],this[_0x10eb08(0x49b)]=null,this;throw new Error(_0x10eb08(0x172));}[_0x1f2fa(0x4ab)](_0x1bcb18){const _0x8884e6=_0x1f2fa;return this[_0x8884e6(0x52e)](!!(_0x1bcb18!=null&&_0x1bcb18['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x1e0521=_0x1f2fa;return this[_0x1e0521(0x2f7)][_0x1e0521(0x33e)](me,this[_0x1e0521(0x604)],this[_0x1e0521(0x1eb)],this[_0x1e0521(0x49b)],this[_0x1e0521(0x3d2)],this[_0x1e0521(0x529)]);}[_0x1f2fa(0x4b9)](){return this;}[_0x1f2fa(0x52e)](_0x5c4aa7){const _0x59a024=_0x1f2fa;return this[_0x59a024(0x2f7)]['createInstance'](ve,this['unitID'],this[_0x59a024(0x1eb)],this[_0x59a024(0x49b)],this[_0x59a024(0x3d2)],this['_handler'],_0x5c4aa7);}};re=Ie([N(0x7,a['Inject'](a['Injector'])),N(0x8,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)])),N(0x9,a[_0x1f2fa(0x28d)](exports['LocalCacheService'])),N(0xa,a[_0x1f2fa(0x1af)]),N(0xb,a[_0x1f2fa(0x51f)]),N(0xc,a['IUndoRedoService']),N(0xd,S[_0x1f2fa(0x3ff)])],re);function mn(_0x120707,_0x53c2aa,_0x55cc31,_0xf9a39c,_0x35ce78,_0x3b57bd){const _0x24dedf=_0x1f2fa;return _0xf9a39c&&_0x35ce78[_0x24dedf(0x339)]?_0x120707[_0x24dedf(0x33e)](le,_0x53c2aa,_0x55cc31,_0xf9a39c,_0x35ce78,_0x3b57bd,void 0x0):_0xf9a39c?_0x120707['createInstance'](fe,_0x53c2aa,_0x55cc31,_0xf9a39c,_0x3b57bd):_0x35ce78[_0x24dedf(0x339)]?_0x120707['createInstance'](ce,_0x53c2aa,_0x55cc31,_0x35ce78,_0x3b57bd):_0x120707['createInstance'](Oe,_0x53c2aa,_0x55cc31,_0x3b57bd);}var Bi=Object[_0x1f2fa(0x4e5)],ki=Object[_0x1f2fa(0x40d)],yt=(_0x22aab9,_0x4bd316,_0x46159c,_0x29dd0f)=>{const _0xa7fe87=_0x1f2fa;for(var _0x249cb7=_0x29dd0f>0x1?void 0x0:_0x29dd0f?ki(_0x4bd316,_0x46159c):_0x4bd316,_0x4d277f=_0x22aab9[_0xa7fe87(0x339)]-0x1,_0x151a68;_0x4d277f>=0x0;_0x4d277f--)(_0x151a68=_0x22aab9[_0x4d277f])&&(_0x249cb7=(_0x29dd0f?_0x151a68(_0x4bd316,_0x46159c,_0x249cb7):_0x151a68(_0x249cb7))||_0x249cb7);return _0x29dd0f&&_0x249cb7&&Bi(_0x4bd316,_0x46159c,_0x249cb7),_0x249cb7;},H=(_0x3dc57c,_0x251c20)=>(_0x48c6f4,_0x545c1d)=>_0x251c20(_0x48c6f4,_0x545c1d,_0x3dc57c);exports['CollaborationEntity']=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x4a58a1,_0x435da4,_0x356562,_0x1982b3,_0x1b806f,_0x3c97ab,_0xc816d9,_0x353369,_0x367d18,_0x2ce4e3,_0x1fd82f,_0xb67840,_0x598f8d){const _0x8aeae=_0x1f2fa;super(),I(this,_0x8aeae(0x37a),new A[(_0x8aeae(0x25c))](null)),I(this,'state$',this[_0x8aeae(0x37a)][_0x8aeae(0x5de)]()),I(this,'_state'),I(this,_0x8aeae(0x377),!0x1),I(this,_0x8aeae(0x570),''),I(this,_0x8aeae(0x47c),0x0),I(this,_0x8aeae(0x5d0),this[_0x8aeae(0x335)][_0x8aeae(0x5f2)](A[_0x8aeae(0x50e)](_0x8755a=>_0x8755a?_0x8755a['status']:q[_0x8aeae(0x532)]),A[_0x8aeae(0x35b)](0x1))),I(this,_0x8aeae(0x4df),!0x1),I(this,_0x8aeae(0x306),[]),(this[_0x8aeae(0x604)]=_0x4a58a1,this[_0x8aeae(0x4a7)]=_0x435da4,this['_type']=_0x356562,this[_0x8aeae(0x2f7)]=_0x1982b3,this[_0x8aeae(0x346)]=_0x1b806f,this['_compressMutationService']=_0x3c97ab,this[_0x8aeae(0x247)]=_0xc816d9,this[_0x8aeae(0x4cd)]=_0x353369,this['_logService']=_0x367d18,this['_commandService']=_0x2ce4e3,this[_0x8aeae(0x2a0)]=_0x1fd82f,this[_0x8aeae(0x2c4)]=_0xb67840,this[_0x8aeae(0x292)]=_0x598f8d);}get[_0x1f2fa(0x4f8)](){const _0x29e2bf=_0x1f2fa;return this[_0x29e2bf(0x3c4)];}async['init'](){const _0x1dde55=_0x1f2fa;if(this[_0x1dde55(0x4f8)])throw new Error(_0x1dde55(0x28a));await this['_init']();}[_0x1f2fa(0x481)](){const _0x2e460c=_0x1f2fa;return this['_collaborationPaused']=!0x0,a[_0x2e460c(0x5ad)](()=>{const _0x520cc7=_0x2e460c;this[_0x520cc7(0x377)]=!0x1,this[_0x520cc7(0x2f5)]();});}[_0x1f2fa(0x1ae)](_0x442002){const _0xc3c5bc=_0x1f2fa;this[_0xc3c5bc(0x3c4)]=_0x442002,this[_0xc3c5bc(0x37a)][_0xc3c5bc(0x497)](_0x442002);}async[_0x1f2fa(0x48d)](){const _0x50c1d3=_0x1f2fa;var _0x45a583;this[_0x50c1d3(0x1ae)](await this['_createInitialState']()),this[_0x50c1d3(0x292)]&&((_0x45a583=this[_0x50c1d3(0x292)])==null||_0x45a583[_0x50c1d3(0x354)](this['unitID']),this['disposeWithMe'](this[_0x50c1d3(0x292)][_0x50c1d3(0x4d0)](this[_0x50c1d3(0x604)])[_0x50c1d3(0x25e)](_0x5d37af=>{const _0x28a71c=_0x50c1d3;this[_0x28a71c(0x1d8)]['debug'](_0x28a71c(0x612),_0x28a71c(0x32f),_0x5d37af),_0x5d37af===un[_0x28a71c(0x18f)]?(this[_0x28a71c(0x2a0)][_0x28a71c(0x472)]({'content':this[_0x28a71c(0x247)]['t']('collaboration.single-unit.warning'),'type':ge[_0x28a71c(0x1ed)][_0x28a71c(0x56b)]}),this['_permissionService'][_0x28a71c(0x4db)](new k[(_0x28a71c(0x3ce))](this[_0x28a71c(0x604)])['id'],!0x1),this[_0x28a71c(0x2c4)][_0x28a71c(0x192)](!0x1)):(this[_0x28a71c(0x2c4)][_0x28a71c(0x4db)](new k[(_0x28a71c(0x3ce))](this['unitID'])['id'],!0x0),this[_0x28a71c(0x2c4)][_0x28a71c(0x192)](!0x0));})));let _0x18f691=!0x1;return this[_0x50c1d3(0x305)](this[_0x50c1d3(0x4a7)][_0x50c1d3(0x393)][_0x50c1d3(0x25e)](_0x12b14b=>{const _0x24ee40=_0x50c1d3;_0x12b14b===se[_0x24ee40(0x4c0)]?this[_0x24ee40(0x5f4)](_0x18f691):_0x12b14b===se['OFFLINE']&&(_0x18f691=!0x0,this[_0x24ee40(0x1f8)]());})),this[_0x50c1d3(0x305)](this['session'][_0x50c1d3(0x215)][_0x50c1d3(0x25e)](_0x1578fe=>{const _0x404700=_0x50c1d3;try{switch(_0x1578fe[_0x404700(0x38e)]){case S[_0x404700(0x416)][_0x404700(0x521)]:{this[_0x404700(0x5d7)](S['parseProtocolChangeset'](_0x1578fe[_0x404700(0x462)]));break;}case S[_0x404700(0x416)][_0x404700(0x469)]:{this[_0x404700(0x2cc)](_0x1578fe[_0x404700(0x462)]);break;}case S[_0x404700(0x416)][_0x404700(0x5d2)]:{this[_0x404700(0x1f2)]();break;}case S[_0x404700(0x416)][_0x404700(0x5b8)]:{this['_onRemoteRetry'](_0x1578fe[_0x404700(0x462)]);break;}case S[_0x404700(0x416)][_0x404700(0x541)]:{this['_onFetchMissResult'](_0x1578fe[_0x404700(0x462)][_0x404700(0x54b)][_0x404700(0x50e)](_0x5e57c4=>S['parseProtocolChangeset'](_0x5e57c4)));break;}case S[_0x404700(0x416)][_0x404700(0x20e)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x34a5ab){throw console[_0x404700(0x2d0)](_0x404700(0x547),_0x34a5ab),_0x34a5ab;}})),this['_state'];}[_0x1f2fa(0x1f9)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x3032b7=_0x1f2fa;if(this[_0x3032b7(0x4df)])throw new Error(_0x3032b7(0x5e4));this[_0x3032b7(0x4df)]=!0x0;}[_0x1f2fa(0x51e)](_0x38b2e4){const _0x2b2151=_0x1f2fa;this['_lockTransition'](),this['_updateState'](this[_0x2b2151(0x3c4)][_0x2b2151(0x4b2)](_0x38b2e4)),this['_unlockTransition']();}[_0x1f2fa(0x5d7)](_0x37a468){const _0x447ddf=_0x1f2fa;if(!(_0x37a468['revision']<=this[_0x447ddf(0x4cd)][_0x447ddf(0x583)](this[_0x447ddf(0x604)]))){if(this[_0x447ddf(0x377)]){this[_0x447ddf(0x306)]['push'](_0x37a468);return;}this['_applyRemoteChangeset'](_0x37a468);}}[_0x1f2fa(0x2f5)](){const _0x22706f=_0x1f2fa;this[_0x22706f(0x306)][_0x22706f(0x601)](_0x27b531=>this[_0x22706f(0x1bd)](_0x27b531)),this[_0x22706f(0x306)]=[];}['_applyRemoteChangeset'](_0x58abb7){const _0x546f85=_0x1f2fa,_0x4ee075=this[_0x546f85(0x566)][_0x546f85(0x2ea)][_0x546f85(0x232)](this[_0x546f85(0x566)][_0x546f85(0x2ea)][_0x546f85(0x274)]()['COMPRESS_MUTATION_APPLY'])(_0x58abb7[_0x546f85(0x456)],null)||_0x58abb7['mutations'],_0x57bad9={..._0x58abb7,'mutations':_0x4ee075};this[_0x546f85(0x238)](),this[_0x546f85(0x1ae)](this['_state'][_0x546f85(0x5c5)](_0x57bad9)),this['_unlockTransition']();}[_0x1f2fa(0x2cc)](_0xa49c2a){const _0x41dde3=_0x1f2fa;this[_0x41dde3(0x238)](),this[_0x41dde3(0x1ae)](this['_state'][_0x41dde3(0x478)](_0xa49c2a)),this['_unlockTransition']();}['_onRemoteRejected'](_0x464354){const _0x486928=_0x1f2fa;this[_0x486928(0x238)](),this['_updateState'](this[_0x486928(0x3c4)][_0x486928(0x4ab)](_0x464354)),this[_0x486928(0x1f9)]();}[_0x1f2fa(0x37d)](_0x4081c4){const _0x1b4d19=_0x1f2fa;this['_lockTransition'](),this['_updateState'](this[_0x1b4d19(0x3c4)]['onRemoteRetry'](_0x4081c4)),this[_0x1b4d19(0x1f9)]();}[_0x1f2fa(0x304)](_0x34729b){const _0x30b581=_0x1f2fa;if(!(this[_0x30b581(0x3c4)]instanceof re))throw new TypeError(_0x30b581(0x2cd));const _0x32995a=_0x34729b[_0x30b581(0x50e)](_0x51a655=>{const _0x7b052c=_0x30b581,_0xad4d91=this['_compressMutationService'][_0x7b052c(0x2ea)][_0x7b052c(0x232)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x7b052c(0x474)])(_0x51a655[_0x7b052c(0x456)],null)||_0x51a655[_0x7b052c(0x456)];return{..._0x51a655,'mutations':_0xad4d91};});this[_0x30b581(0x238)](),this[_0x30b581(0x1ae)](this[_0x30b581(0x3c4)]['onMissedChangesetFetched'](_0x32995a)),this['_unlockTransition']();}[_0x1f2fa(0x1f8)](){const _0x84bb43=_0x1f2fa;this[_0x84bb43(0x238)](),this[_0x84bb43(0x1ae)](this[_0x84bb43(0x3c4)][_0x84bb43(0x54f)]()),this[_0x84bb43(0x1f9)]();}[_0x1f2fa(0x5f4)](_0x1e395d=!0x1){const _0x495a9b=_0x1f2fa;this[_0x495a9b(0x238)](),this[_0x495a9b(0x1ae)](this[_0x495a9b(0x3c4)][_0x495a9b(0x4b9)]()),this['_unlockTransition']();const _0x36bbec=this[_0x495a9b(0x3c4)];_0x1e395d&&_0x36bbec instanceof Oe&&(this[_0x495a9b(0x238)](),this['_updateState'](_0x36bbec[_0x495a9b(0x24f)]()),this[_0x495a9b(0x1f9)]());}async[_0x1f2fa(0x47d)](){return new Promise(_0x57686a=>{const _0xecf56d=_0x3f71;this[_0xecf56d(0x4a7)][_0xecf56d(0x393)][_0xecf56d(0x5f2)](A['take'](0x1))[_0xecf56d(0x25e)](async _0x2be472=>{const _0xef4724=_0xecf56d;_0x57686a(await this[_0xef4724(0x50c)](_0x2be472===se[_0xef4724(0x4c0)]));});});}[_0x1f2fa(0x1bc)](){const _0x182cc4=this['unitID'];return{'onStateChange':(_0x53bf4e,_0x851c0f)=>{const _0x527c24=_0x3f71;if(_0x53bf4e!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x53bf4e[_0x527c24(0x286)]+'\x0aAfter:\x20'+_0x851c0f[_0x527c24(0x286)]+_0x527c24(0x3f3)+this['_state'][_0x527c24(0x286)]);this[_0x527c24(0x1ae)](_0x851c0f);},'onSendChangeset':_0x40e979=>{const _0x52d5d6=_0x3f71;_0x40e979[_0x52d5d6(0x38f)]||(_0x40e979[_0x52d5d6(0x38f)]=this[_0x52d5d6(0x570)],_0x40e979[_0x52d5d6(0x4d4)]=++this[_0x52d5d6(0x47c)]);const _0x5a6da7={'eventID':S[_0x52d5d6(0x416)][_0x52d5d6(0x23d)],'data':{'unitID':_0x40e979['unitID'],'unitType':this['_type'],'changeset':_0x40e979,'memberID':this[_0x52d5d6(0x4a7)][_0x52d5d6(0x296)]()}};this[_0x52d5d6(0x4a7)][_0x52d5d6(0x445)](_0x5a6da7,this[_0x52d5d6(0x604)]);},'onMissingChangesets':({from:_0x2b537c,to:_0x2d4119})=>{const _0x44a14c=_0x3f71;this[_0x44a14c(0x1d8)][_0x44a14c(0x4fc)](_0x44a14c(0x612),_0x44a14c(0x35c)+_0x2b537c+_0x44a14c(0x4bc)+_0x2d4119);const _0x67f1df={'eventID':S[_0x44a14c(0x416)]['FETCH_MISSING'],'data':{'unitID':_0x182cc4,'unitType':this[_0x44a14c(0x5e2)],'from':_0x2b537c,'to':_0x2d4119}};this[_0x44a14c(0x4a7)][_0x44a14c(0x445)](_0x67f1df,this[_0x44a14c(0x604)]);}};}async['_createInitialStateImpl'](_0x114d5a){const _0x23cd0b=_0x1f2fa;var _0x110a1f,_0xc546cd;const _0x2e673f=await this[_0x23cd0b(0x346)][_0x23cd0b(0x5f6)](this[_0x23cd0b(0x604)]),_0x1f6dda=(_0x110a1f=_0x2e673f==null?void 0x0:_0x2e673f[_0x23cd0b(0x456)])!=null?_0x110a1f:[],_0x479942=(_0xc546cd=_0x2e673f==null?void 0x0:_0x2e673f[_0x23cd0b(0x4d8)])!=null?_0xc546cd:null,_0x3b4c3e=!!(_0x479942!=null&&_0x479942[_0x23cd0b(0x38f)])&&!!(_0x479942!=null&&_0x479942[_0x23cd0b(0x4d4)]);this[_0x23cd0b(0x570)]=_0x3b4c3e?_0x479942[_0x23cd0b(0x38f)]:mi(),this[_0x23cd0b(0x47c)]=_0x3b4c3e?_0x479942['reqId']:0x0;const _0x29c75e=this[_0x23cd0b(0x604)];try{this['_replayCachedMutations'](_0x479942,_0x1f6dda);}catch(_0x3bf09b){this[_0x23cd0b(0x1d8)][_0x23cd0b(0x2d0)](_0x3bf09b);}const _0x6c4c53=this[_0x23cd0b(0x1bc)]();if(_0x114d5a){const _0x68d0fe=mn(this[_0x23cd0b(0x2f7)],_0x29c75e,this[_0x23cd0b(0x5e2)],_0x479942,_0x1f6dda,_0x6c4c53);return _0x68d0fe instanceof ce?_0x68d0fe['_schedule']():(_0x68d0fe instanceof le||_0x68d0fe instanceof fe)&&_0x68d0fe[_0x23cd0b(0x322)](),_0x68d0fe;}return this[_0x23cd0b(0x2f7)][_0x23cd0b(0x33e)](me,_0x29c75e,this['_type'],_0x479942,_0x1f6dda,_0x6c4c53);}[_0x1f2fa(0x568)](_0x1c8d8f,_0x4cfe45){const _0x5a14dd=_0x1f2fa;var _0xc97dc4,_0x1b6114;const _0x141cd9=this[_0x5a14dd(0x566)][_0x5a14dd(0x2ea)][_0x5a14dd(0x232)](this[_0x5a14dd(0x566)][_0x5a14dd(0x2ea)][_0x5a14dd(0x274)]()['COMPRESS_MUTATION_APPLY']);(_0xc97dc4=_0x141cd9((_0x1c8d8f==null?void 0x0:_0x1c8d8f['mutations'])||[],null))==null||_0xc97dc4['forEach'](_0x5afc5e=>this[_0x5a14dd(0x5ab)][_0x5a14dd(0x3fa)](_0x5afc5e['id'],_0x5afc5e[_0x5a14dd(0x389)])),(_0x1b6114=_0x141cd9(_0x4cfe45||[],null))==null||_0x1b6114[_0x5a14dd(0x601)](_0x4c6ee6=>this[_0x5a14dd(0x5ab)][_0x5a14dd(0x3fa)](_0x4c6ee6['id'],_0x4c6ee6['params']));}},exports[_0x1f2fa(0x5c0)]=yt([H(0x3,a['Inject'](a[_0x1f2fa(0x35d)])),H(0x4,a['Inject'](exports[_0x1f2fa(0x333)])),H(0x5,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x37c)])),H(0x6,a['Inject'](a[_0x1f2fa(0x537)])),H(0x7,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)])),H(0x8,a[_0x1f2fa(0x1af)]),H(0x9,a['ICommandService']),H(0xa,ee[_0x1f2fa(0x32b)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x1f2fa(0x246)](qe))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x1f2fa(0x5c0)]{constructor(_0x197736,_0x4366b8,_0x14469e,_0x23c3ac,_0x142dd8,_0x111895,_0x5972b2,_0x421e56,_0x53caf2,_0x53d09d,_0x46d487,_0x25434f,_0x25126a,_0x3022ea,_0x31a62d,_0x49566c,_0x5c7dc4,_0x55e6a4){const _0xec9ddd=_0x1f2fa;super(_0x197736,_0x14469e,_0x4366b8,_0x23c3ac,_0x142dd8,_0x111895,_0x5972b2,_0x421e56,_0x3022ea,_0x31a62d,_0x49566c,_0x5c7dc4,_0x55e6a4),this[_0xec9ddd(0x604)]=_0x197736,this[_0xec9ddd(0x1eb)]=_0x4366b8,this['_docStateChangeManagerService']=_0x53caf2,this[_0xec9ddd(0x2ac)]=_0x53d09d,this[_0xec9ddd(0x259)]=_0x46d487,this['_docTransformSelectionsService']=_0x25434f,this['_docSyncEditingCollabCursorService']=_0x25126a;}[_0x1f2fa(0x1bc)](){const _0x14b10f=_0x1f2fa,_0x47930c=super[_0x14b10f(0x1bc)]();return _0x47930c[_0x14b10f(0x371)]=_0x28c7f2=>this[_0x14b10f(0x2ac)][_0x14b10f(0x1ee)](_0x28c7f2),_0x47930c[_0x14b10f(0x5fa)]=_0x388dbd=>this['_docTransformStateCacheService'][_0x14b10f(0x3a6)](_0x388dbd),_0x47930c['onTransformSelections']=_0x35d623=>this[_0x14b10f(0x4a8)]['transformSelections'](_0x35d623),_0x47930c[_0x14b10f(0x5e8)]=_0x4e34cb=>this['_docSyncEditingCollabCursorService'][_0x14b10f(0x5dc)](_0x4e34cb),_0x47930c['onTransformRemoteChangesetByIMECache']=_0x3c4d46=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3c4d46),_0x47930c[_0x14b10f(0x496)]=_0x14adf3=>this[_0x14b10f(0x259)][_0x14b10f(0x5a4)](_0x14adf3),_0x47930c;}async[_0x1f2fa(0x48d)](){const _0x6f2bc8=_0x1f2fa,_0x53f132=await super[_0x6f2bc8(0x48d)]();return this['_docStateChangeManagerService'][_0x6f2bc8(0x5a2)][_0x6f2bc8(0x5f2)](A['takeUntil'](this[_0x6f2bc8(0x57d)]))[_0x6f2bc8(0x25e)](_0x3fd63e=>{const _0x569b63=_0x6f2bc8;if(_0x3fd63e==null)return;const {unitId:_0x2eb6c6,redoState:_0x37237f,commandId:_0x2a2b05}=_0x3fd63e;if(_0x2eb6c6!==this['unitID'])return;const _0x30c0bf={'id':_0x2a2b05,'type':a[_0x569b63(0x250)]['MUTATION'],'params':{'unitId':_0x2eb6c6,'actions':_0x37237f['actions'],'textRanges':null}};this[_0x569b63(0x51e)](_0x30c0bf);}),_0x53f132;}},exports[_0x1f2fa(0x370)]=yt([H(0x3,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),H(0x4,a['Inject'](exports[_0x1f2fa(0x333)])),H(0x5,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x37c)])),H(0x6,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x537)])),H(0x7,a[_0x1f2fa(0x28d)](S['RevisionService'])),H(0x8,a[_0x1f2fa(0x28d)](J['DocStateChangeManagerService'])),H(0x9,a[_0x1f2fa(0x28d)](Be)),H(0xa,a[_0x1f2fa(0x28d)](We)),H(0xb,a[_0x1f2fa(0x28d)](Fe)),H(0xc,a['Inject'](Rt)),H(0xd,a[_0x1f2fa(0x1af)]),H(0xe,a[_0x1f2fa(0x51f)]),H(0xf,ee[_0x1f2fa(0x32b)]),H(0x10,a[_0x1f2fa(0x1d0)]),H(0x11,a['Optional'](qe))],exports[_0x1f2fa(0x370)]),exports['SheetCollaborationEntity']=class extends exports[_0x1f2fa(0x5c0)]{constructor(_0x449cf2,_0x36a1ac,_0x5ecb86,_0x58c733,_0x402115,_0x49dd4d,_0x4f48cd,_0x1ed9f3,_0x4764df,_0x1309d5,_0x2422e5,_0x4fc1cb,_0x594af1,_0xe21d8b){super(_0x449cf2,_0x5ecb86,_0x36a1ac,_0x58c733,_0x402115,_0x49dd4d,_0x4f48cd,_0x1ed9f3,_0x1309d5,_0x2422e5,_0x4fc1cb,_0x594af1,_0xe21d8b),this['unitID']=_0x449cf2,this['type']=_0x36a1ac,this['_sheetTransformSelectionsService']=_0x4764df;}[_0x1f2fa(0x1bc)](){const _0xcfd4a5=_0x1f2fa,_0x18615e=super[_0xcfd4a5(0x1bc)]();return _0x18615e[_0xcfd4a5(0x3e2)]=_0x150082=>this[_0xcfd4a5(0x567)][_0xcfd4a5(0x216)](_0x150082),_0x18615e;}async['_init'](){const _0x3e7276=_0x1f2fa,_0x190ef2=await super[_0x3e7276(0x48d)]();return this[_0x3e7276(0x305)](this[_0x3e7276(0x5ab)][_0x3e7276(0x5f9)]((_0x21430a,_0x17eb6b)=>{const _0x131e88=_0x3e7276;if(_0x21430a[_0x131e88(0x1eb)]!==a[_0x131e88(0x250)]['MUTATION']||_0x17eb6b!=null&&_0x17eb6b[_0x131e88(0x5d8)]||_0x17eb6b!=null&&_0x17eb6b[_0x131e88(0x392)])return;const _0x2a6621=_0x21430a[_0x131e88(0x389)];if((_0x2a6621==null?void 0x0:_0x2a6621[_0x131e88(0x4e3)])!==this['unitID'])return;const _0x5a679d=_0x21430a,_0x5458e1=this['_compressMutationService'][_0x131e88(0x2ea)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x131e88(0x274)]()[_0x131e88(0x2fd)])([_0x5a679d],null)||[_0x5a679d];this[_0x131e88(0x51e)](_0x5458e1[0x0]);})),_0x190ef2;}},exports[_0x1f2fa(0x358)]=yt([H(0x3,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),H(0x4,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),H(0x5,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x37c)])),H(0x6,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x537)])),H(0x7,a[_0x1f2fa(0x28d)](S[_0x1f2fa(0x5bc)])),H(0x8,a[_0x1f2fa(0x28d)](ke)),H(0x9,a[_0x1f2fa(0x1af)]),H(0xa,a[_0x1f2fa(0x51f)]),H(0xb,ee[_0x1f2fa(0x32b)]),H(0xc,a[_0x1f2fa(0x1d0)]),H(0xd,a[_0x1f2fa(0x246)](qe))],exports[_0x1f2fa(0x358)]);var Wi=Object[_0x1f2fa(0x4e5)],Fi=Object[_0x1f2fa(0x40d)],Vi=(_0x355fc7,_0x166af0,_0x166d93,_0x276225)=>{const _0x873316=_0x1f2fa;for(var _0x56aa33=_0x276225>0x1?void 0x0:_0x276225?Fi(_0x166af0,_0x166d93):_0x166af0,_0x49210c=_0x355fc7[_0x873316(0x339)]-0x1,_0x37b588;_0x49210c>=0x0;_0x49210c--)(_0x37b588=_0x355fc7[_0x49210c])&&(_0x56aa33=(_0x276225?_0x37b588(_0x166af0,_0x166d93,_0x56aa33):_0x37b588(_0x56aa33))||_0x56aa33);return _0x276225&&_0x56aa33&&Wi(_0x166af0,_0x166d93,_0x56aa33),_0x56aa33;},tt=(_0x3304d0,_0x2736e3)=>(_0x141700,_0x3df928)=>_0x2736e3(_0x141700,_0x3df928,_0x3304d0);exports[_0x1f2fa(0x1ab)]=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x2e15d0,_0x4a9ab2,_0x30c2f9){const _0xdc2825=_0x1f2fa;super(),I(this,_0xdc2825(0x1e9),new Map()),I(this,'_entityInit$',new A[(_0xdc2825(0x2ba))]()),(this[_0xdc2825(0x2f7)]=_0x2e15d0,this[_0xdc2825(0x60f)]=_0x4a9ab2,this[_0xdc2825(0x51c)]=_0x30c2f9,this[_0xdc2825(0x48d)]());}['dispose'](){const _0x3665d4=_0x1f2fa;super[_0x3665d4(0x366)](),this[_0x3665d4(0x1e9)]['forEach'](_0x50381e=>_0x50381e['dispose']()),this[_0x3665d4(0x1e9)]['clear']();}[_0x1f2fa(0x2f1)](_0x41edf9){const _0x19f4d4=_0x1f2fa;var _0x23940c;return(_0x23940c=this[_0x19f4d4(0x1e9)][_0x19f4d4(0x2f6)](_0x41edf9))!=null?_0x23940c:null;}['getCollabEntity$'](_0x842c7){const _0x5339df=_0x1f2fa,_0x3be787=this[_0x5339df(0x2f1)](_0x842c7);return _0x3be787?A['of'](_0x3be787):this[_0x5339df(0x5a6)]['pipe'](V[_0x5339df(0x3db)](_0x322f5c=>_0x322f5c['unitID']===_0x842c7));}[_0x1f2fa(0x48d)](){const _0x7a7faa=_0x1f2fa;this['_univerInstanceService'][_0x7a7faa(0x374)](a['UniverInstanceType'][_0x7a7faa(0x4c3)])[_0x7a7faa(0x5f2)](A[_0x7a7faa(0x5d4)](this[_0x7a7faa(0x57d)]),V[_0x7a7faa(0x338)](0x10))[_0x7a7faa(0x25e)](async _0x2b6099=>{const _0x1b10e8=_0x7a7faa,_0x5a1e48=_0x2b6099[_0x1b10e8(0x4ea)](),_0x3fcc87=await this[_0x1b10e8(0x15d)](_0x5a1e48,ie[_0x1b10e8(0x4c3)]);this['_entities'][_0x1b10e8(0x329)](_0x5a1e48,_0x3fcc87);}),this[_0x7a7faa(0x51c)][_0x7a7faa(0x374)](a['UniverInstanceType'][_0x7a7faa(0x505)])[_0x7a7faa(0x5f2)](A[_0x7a7faa(0x5d4)](this['dispose$']),V[_0x7a7faa(0x338)](0x10))[_0x7a7faa(0x5f2)](V[_0x7a7faa(0x3db)](_0x592cf9=>!_0x592cf9[_0x7a7faa(0x4ea)]()[_0x7a7faa(0x565)]('__')))['subscribe'](async _0x1822ad=>{const _0x448c19=_0x7a7faa,_0x2d7abb=_0x1822ad[_0x448c19(0x4ea)](),_0x53d2cf=await this['_startCollaboration'](_0x2d7abb,ie[_0x448c19(0x505)]);this[_0x448c19(0x1e9)][_0x448c19(0x329)](_0x2d7abb,_0x53d2cf);}),A[_0x7a7faa(0x1b6)](this['_univerInstanceService'][_0x7a7faa(0x468)](a['UniverInstanceType'][_0x7a7faa(0x4c3)]),this['_univerInstanceService'][_0x7a7faa(0x468)](a[_0x7a7faa(0x5c7)][_0x7a7faa(0x505)]))[_0x7a7faa(0x5f2)](A[_0x7a7faa(0x5d4)](this[_0x7a7faa(0x57d)]))[_0x7a7faa(0x25e)](_0x3c0b32=>{const _0x260b0c=_0x7a7faa,_0x37e408=_0x3c0b32[_0x260b0c(0x4ea)](),_0x72990e=this['_entities'][_0x260b0c(0x2f6)](_0x37e408);_0x72990e&&(_0x72990e['dispose'](),this[_0x260b0c(0x1e9)][_0x260b0c(0x2e4)](_0x37e408));});}async[_0x1f2fa(0x15d)](_0x2b4bc4,_0xeba700){const _0x5123a2=_0x1f2fa,_0x1dc7bc=await this[_0x5123a2(0x60f)][_0x5123a2(0x5b5)](_0x2b4bc4),_0x1455d0=this[_0x5123a2(0x2f7)][_0x5123a2(0x33e)](this[_0x5123a2(0x436)](_0xeba700),_0x2b4bc4,_0xeba700,_0x1dc7bc);return await _0x1455d0[_0x5123a2(0x485)](),this[_0x5123a2(0x5a6)][_0x5123a2(0x497)](_0x1455d0),_0x1455d0;}[_0x1f2fa(0x436)](_0x17cde9){const _0x3e42fd=_0x1f2fa;switch(_0x17cde9){case ie[_0x3e42fd(0x505)]:return exports[_0x3e42fd(0x370)];case ie[_0x3e42fd(0x4c3)]:return exports[_0x3e42fd(0x358)];default:throw new Error(_0x3e42fd(0x1c7)+_0x17cde9);}}},exports['CollaborationController']=Vi([tt(0x0,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),tt(0x1,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x1c0)])),tt(0x2,a[_0x1f2fa(0x562)])],exports['CollaborationController']);const $t=[_0x1f2fa(0x39b),_0x1f2fa(0x5b2),_0x1f2fa(0x351),_0x1f2fa(0x587),'blue400',_0x1f2fa(0x3cf)];class Ot extends a[_0x1f2fa(0x1d6)]{constructor(){const _0x27bfeb=_0x1f2fa;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x27bfeb(0x30f),0x0);}[_0x1f2fa(0x235)](_0x50081a){const _0x226247=_0x1f2fa;if(this['_assignedColors']['has'](_0x50081a))return this[_0x226247(0x365)][_0x226247(0x2f6)](_0x50081a);const _0x36f40b=$t[this['_colorIndex']];return this[_0x226247(0x30f)]=(this['_colorIndex']+0x1)%$t[_0x226247(0x339)],this[_0x226247(0x365)]['set'](_0x50081a,_0x36f40b),_0x36f40b;}}var Gi=Object[_0x1f2fa(0x4e5)],Yi=Object[_0x1f2fa(0x40d)],Ki=(_0x2dfd96,_0x300b12,_0x36dd62,_0x1f816d)=>{const _0x17bdfb=_0x1f2fa;for(var _0x4c6429=_0x1f816d>0x1?void 0x0:_0x1f816d?Yi(_0x300b12,_0x36dd62):_0x300b12,_0x40bbce=_0x2dfd96[_0x17bdfb(0x339)]-0x1,_0x49eefe;_0x40bbce>=0x0;_0x40bbce--)(_0x49eefe=_0x2dfd96[_0x40bbce])&&(_0x4c6429=(_0x1f816d?_0x49eefe(_0x300b12,_0x36dd62,_0x4c6429):_0x49eefe(_0x4c6429))||_0x4c6429);return _0x1f816d&&_0x4c6429&&Gi(_0x300b12,_0x36dd62,_0x4c6429),_0x4c6429;},Se=(_0x588c09,_0x4eb379)=>(_0x158949,_0x47ac96)=>_0x4eb379(_0x158949,_0x47ac96,_0x588c09);const qi=0x12c,zi=0x64;let mt=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x5e0967,_0x57b390,_0x2882a9,_0xf8a2ef,_0x3ee342,_0x3ad632,_0x256643,_0x2e9aee,_0x1386aa){const _0x34ec50=_0x1f2fa;super(),I(this,'_online',!0x1),I(this,_0x34ec50(0x48d),!0x1),I(this,_0x34ec50(0x606),new A[(_0x34ec50(0x25c))](new Map())),I(this,_0x34ec50(0x455),this[_0x34ec50(0x606)]['asObservable']()),I(this,'_roomMembers$',new A[(_0x34ec50(0x25c))]([])),I(this,_0x34ec50(0x43f),this[_0x34ec50(0x165)][_0x34ec50(0x5f2)](A['debounceTime'](qi))),I(this,_0x34ec50(0x40c),a[_0x34ec50(0x4ad)](_0x1e7522=>{const _0x303a04=_0x34ec50,_0x429f7a={'eventID':S[_0x303a04(0x416)][_0x303a04(0x326)],'data':{'unitID':this['unitID'],'memberID':this[_0x303a04(0x3a3)][_0x303a04(0x296)](),'selection':dn(_0x1e7522)}};this[_0x303a04(0x3a3)][_0x303a04(0x445)](_0x429f7a,this[_0x303a04(0x604)]);},zi)),(this['unitID']=_0x5e0967,this['_session']=_0x57b390,this[_0x34ec50(0x2f7)]=_0x2882a9,this['_colorAssignService']=_0xf8a2ef,this['_memberService']=_0x3ee342,this[_0x34ec50(0x270)]=_0x3ad632,this[_0x34ec50(0x5ce)]=_0x256643,this[_0x34ec50(0x51c)]=_0x2e9aee,this['_commandService']=_0x1386aa);}get[_0x1f2fa(0x17c)](){const _0x1a1687=_0x1f2fa;return this['_cursorInfo$'][_0x1a1687(0x60e)]();}get['roomMembers'](){const _0x47c745=_0x1f2fa;return this[_0x47c745(0x165)][_0x47c745(0x60e)]();}['dispose'](){const _0x257743=_0x1f2fa;super[_0x257743(0x366)](),this[_0x257743(0x606)][_0x257743(0x497)](new Map()),this[_0x257743(0x606)][_0x257743(0x60c)](),this[_0x257743(0x165)][_0x257743(0x497)]([]),this['_roomMembers$'][_0x257743(0x60c)]();}['init'](){const _0x1b519e=_0x1f2fa;this[_0x1b519e(0x48d)]||(this[_0x1b519e(0x48d)]=!0x0,this[_0x1b519e(0x3a3)][_0x1b519e(0x393)][_0x1b519e(0x5f2)](A['takeUntil'](this['dispose$']))[_0x1b519e(0x25e)](_0x453275=>{const _0x52e444=_0x1b519e;_0x453275===se['ONLINE']?this[_0x52e444(0x5f4)]():this[_0x52e444(0x1f8)]();}),this[_0x1b519e(0x3a3)][_0x1b519e(0x215)][_0x1b519e(0x5f2)](A['takeUntil'](this[_0x1b519e(0x57d)]))[_0x1b519e(0x25e)](_0x1b0297=>{const _0x36ef58=_0x1b519e,_0x2ec395=_0x1b0297['eventID'];_0x2ec395===S[_0x36ef58(0x416)][_0x36ef58(0x326)]&&this['_onCursorUpdate'](_0x1b0297),_0x2ec395===S['CollaborationEvent'][_0x36ef58(0x3ed)]&&this[_0x36ef58(0x580)](_0x1b0297);}),this[_0x1b519e(0x305)](this[_0x1b519e(0x5ab)][_0x1b519e(0x5f9)](_0x16f6b1=>{const _0x44fcda=_0x1b519e,_0x41d72f=_0x16f6b1[_0x44fcda(0x389)];_0x41d72f!=null&&this[_0x44fcda(0x1fd)]&&_0x16f6b1['id']===ye['SetTextSelectionsOperation']['id']&&_0x41d72f['unitId']===this[_0x44fcda(0x604)]&&_0x41d72f[_0x44fcda(0x310)]===!0x1&&_0x41d72f[_0x44fcda(0x58d)]['length']>0x0&&this[_0x44fcda(0x40c)](_0x41d72f[_0x44fcda(0x58d)]);})),this[_0x1b519e(0x270)][_0x1b519e(0x60a)]['pipe'](A[_0x1b519e(0x5d4)](this[_0x1b519e(0x57d)]))[_0x1b519e(0x25e)](_0x7b7aef=>{const _0x432bd4=_0x1b519e;if((_0x7b7aef==null?void 0x0:_0x7b7aef[_0x432bd4(0x604)])!==this[_0x432bd4(0x604)])return;const _0x295fea={'eventID':S['CollaborationEvent'][_0x432bd4(0x326)],'data':_0x7b7aef};this[_0x432bd4(0x5ef)](_0x295fea);}),this[_0x1b519e(0x305)](this[_0x1b519e(0x5ab)][_0x1b519e(0x5f9)](_0x411b24=>{const _0x43c134=_0x1b519e;if(_0x411b24[_0x43c134(0x389)]==null)return;const _0x4cf4b3=_0x411b24['params'];if(_0x411b24['id']!==ye[_0x43c134(0x2db)]['id']||_0x4cf4b3[_0x43c134(0x4e3)]!==this[_0x43c134(0x604)])return;const _0xf3496d={'id':_0x43c134(0x4dc),'params':_0x4cf4b3},_0x439c11=this[_0x43c134(0x17c)];for(const [_0x18755c,_0x2a2d49]of _0x439c11){const _0x4413ad={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x43c134(0x604)],'actions':null,'textRanges':_0x2a2d49[_0x43c134(0x58d)]}},_0x1d6dbc=this[_0x43c134(0x5ce)][_0x43c134(0x5a8)](_0xf3496d,_0x4413ad,!0x1);if(S['isTransformMutationFailure'](_0x1d6dbc))throw _0x1d6dbc[_0x43c134(0x2d0)];_0x439c11[_0x43c134(0x329)](_0x18755c,{..._0x2a2d49,'ranges':_0x1d6dbc[_0x43c134(0x26e)][_0x43c134(0x389)][_0x43c134(0x30e)]});}queueMicrotask(()=>{const _0x1deff8=_0x43c134;this[_0x1deff8(0x606)][_0x1deff8(0x497)](_0x439c11);});})));}['_onCursorUpdate'](_0x13ba36){const _0x5b740a=_0x1f2fa;var _0x344b09,_0x926683;const {memberID:_0x3b8d36,selection:_0x1d4569}=_0x13ba36[_0x5b740a(0x462)],_0x437676=Ui(_0x1d4569),_0x1f126e=(_0x926683=(_0x344b09=this[_0x5b740a(0x4bd)][_0x5b740a(0x5c6)](this[_0x5b740a(0x604)],_0x3b8d36))==null?void 0x0:_0x344b09['name'])!=null?_0x926683:'Unknown\x20user',_0x13f251={'color':this['_colorAssignService'][_0x5b740a(0x235)](_0x3b8d36),'name':_0x1f126e,'ranges':_0x437676},_0x1b61ee=this['cursorInfo'];_0x1b61ee['set'](_0x3b8d36,_0x13f251),this[_0x5b740a(0x606)][_0x5b740a(0x497)](_0x1b61ee);}[_0x1f2fa(0x580)](_0x39bbbe){const _0x5140e3=_0x1f2fa,{memberID:_0x5a7c7c}=_0x39bbbe[_0x5140e3(0x462)],_0x54d91e=this[_0x5140e3(0x17c)];_0x54d91e['delete'](_0x5a7c7c),this[_0x5140e3(0x606)]['next'](_0x54d91e);}['_toggleOnline'](){const _0x36a618=_0x1f2fa;var _0x38e2ee;if(this[_0x36a618(0x1fd)]=!0x0,((_0x38e2ee=this[_0x36a618(0x51c)]['getFocusedUnit']())==null?void 0x0:_0x38e2ee['getUnitId']())!==this[_0x36a618(0x604)])return;const _0x2ddb67=this[_0x36a618(0x2f7)][_0x36a618(0x2f6)](ye[_0x36a618(0x254)])[_0x36a618(0x3ee)]();Array[_0x36a618(0x4ff)](_0x2ddb67)&&_0x2ddb67[_0x36a618(0x339)]>0x0&&this[_0x36a618(0x40c)](_0x2ddb67);}[_0x1f2fa(0x1f8)](){this['_online']=!0x1;}};mt=Ki([Se(0x2,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),Se(0x3,a[_0x1f2fa(0x28d)](Ot)),Se(0x4,a['Inject'](exports[_0x1f2fa(0x3d8)])),Se(0x5,a[_0x1f2fa(0x28d)](Rt)),Se(0x6,S[_0x1f2fa(0x3ff)]),Se(0x7,a[_0x1f2fa(0x562)]),Se(0x8,a[_0x1f2fa(0x51f)])],mt);var Xi=Object['defineProperty'],Ji=Object['getOwnPropertyDescriptor'],Zi=(_0x5486cd,_0x14e260,_0x2d2da4,_0x168000)=>{const _0x2ed40d=_0x1f2fa;for(var _0x65d0e2=_0x168000>0x1?void 0x0:_0x168000?Ji(_0x14e260,_0x2d2da4):_0x14e260,_0x4cb8ce=_0x5486cd[_0x2ed40d(0x339)]-0x1,_0x26a1c7;_0x4cb8ce>=0x0;_0x4cb8ce--)(_0x26a1c7=_0x5486cd[_0x4cb8ce])&&(_0x65d0e2=(_0x168000?_0x26a1c7(_0x14e260,_0x2d2da4,_0x65d0e2):_0x26a1c7(_0x65d0e2))||_0x65d0e2);return _0x168000&&_0x65d0e2&&Xi(_0x14e260,_0x2d2da4,_0x65d0e2),_0x65d0e2;},be=(_0x7f035c,_0x1cb7a5)=>(_0x492be8,_0x50b5ea)=>_0x1cb7a5(_0x492be8,_0x50b5ea,_0x7f035c);const Qi=0x12c,es=0x64,ts=()=>{let _0x2e1989=[],_0x543b78=!0x1;return _0x284c9f=>{const _0x462150=_0x3f71;_0x2e1989[_0x462150(0x19c)](_0x284c9f),_0x543b78||(_0x543b78=!0x0,setTimeout(()=>{const _0x10b490=_0x462150;_0x2e1989[_0x10b490(0x601)](_0x25f8c7=>_0x25f8c7()),_0x2e1989=[],_0x543b78=!0x1;}));};};let St=class extends a['RxDisposable']{constructor(_0xe250dc,_0x27bbf7,_0x440ef4,_0xf0e0a4,_0x565563,_0x4f33e9,_0x5a92bb,_0x15396d){const _0x14640c=_0x1f2fa;super(),I(this,_0x14640c(0x1fd),!0x1),I(this,'_init',!0x1),I(this,_0x14640c(0x606),new A['BehaviorSubject'](new Map())),I(this,_0x14640c(0x455),this['_cursorInfo$'][_0x14640c(0x5de)]()),I(this,_0x14640c(0x165),new A[(_0x14640c(0x25c))]([])),I(this,_0x14640c(0x43f),this[_0x14640c(0x165)]['pipe'](A['debounceTime'](Qi))),I(this,_0x14640c(0x40c),a[_0x14640c(0x4ad)]((_0x522a0f,_0x42d951)=>{const _0x108f24=_0x14640c,_0x2fd714={'eventID':S[_0x108f24(0x416)][_0x108f24(0x326)],'data':{'unitID':this[_0x108f24(0x604)],'memberID':this[_0x108f24(0x3a3)][_0x108f24(0x296)](),'selection':Pt[_0x108f24(0x1b3)](_0x522a0f,_0x42d951[_0x108f24(0x5bb)])}};this[_0x108f24(0x3a3)][_0x108f24(0x445)](_0x2fd714,this[_0x108f24(0x604)]);},es)),(this[_0x14640c(0x604)]=_0xe250dc,this[_0x14640c(0x3a3)]=_0x27bbf7,this[_0x14640c(0x2f7)]=_0x440ef4,this[_0x14640c(0x4c2)]=_0xf0e0a4,this[_0x14640c(0x4bd)]=_0x565563,this[_0x14640c(0x51c)]=_0x4f33e9,this[_0x14640c(0x5ab)]=_0x5a92bb,this[_0x14640c(0x414)]=_0x15396d);}get[_0x1f2fa(0x17c)](){const _0x64df3d=_0x1f2fa;return this['_cursorInfo$'][_0x64df3d(0x60e)]();}get['roomMembers'](){const _0x5c2624=_0x1f2fa;return this[_0x5c2624(0x165)][_0x5c2624(0x60e)]();}[_0x1f2fa(0x366)](){const _0x207305=_0x1f2fa;super[_0x207305(0x366)](),this[_0x207305(0x606)][_0x207305(0x497)](new Map()),this['_cursorInfo$']['complete'](),this[_0x207305(0x165)]['next']([]),this[_0x207305(0x165)][_0x207305(0x60c)]();}[_0x1f2fa(0x485)](){const _0x1d5c18=_0x1f2fa;this['_init']||(this['_init']=!0x0,this[_0x1d5c18(0x3a3)][_0x1d5c18(0x393)][_0x1d5c18(0x5f2)](A[_0x1d5c18(0x5d4)](this[_0x1d5c18(0x57d)]))['subscribe'](_0x1600ff=>{const _0x2fbde3=_0x1d5c18;_0x1600ff===se[_0x2fbde3(0x4c0)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1d5c18(0x3a3)][_0x1d5c18(0x215)]['pipe'](A['takeUntil'](this[_0x1d5c18(0x57d)]))[_0x1d5c18(0x25e)](_0xec47b9=>{const _0x3be182=_0x1d5c18,_0x5af979=_0xec47b9['eventID'];_0x5af979===S[_0x3be182(0x416)][_0x3be182(0x326)]&&this[_0x3be182(0x5ef)](_0xec47b9),_0x5af979===S['CollaborationEvent'][_0x3be182(0x3ed)]&&this[_0x3be182(0x580)](_0xec47b9);}),this[_0x1d5c18(0x197)](),this['disposeWithMe'](this['_commandService'][_0x1d5c18(0x5f9)](_0x12c786=>{const _0x2d3261=_0x1d5c18;if(this[_0x2d3261(0x1fd)]&&_0x12c786['id']===k['SetSelectionsOperation']['id']&&_0x12c786[_0x2d3261(0x389)][_0x2d3261(0x4e3)]===this[_0x2d3261(0x604)]){const _0x334727=_0x12c786[_0x2d3261(0x389)];this[_0x2d3261(0x40c)](_0x334727[_0x2d3261(0x442)],_0x334727[_0x2d3261(0x25b)][0x0]);}})));}[_0x1f2fa(0x5ef)](_0x2c982a){const _0x2dd8bb=_0x1f2fa;var _0x127ca2,_0x25eedf;const {memberID:_0x4dbf13,selection:_0x43e0a9}=_0x2c982a[_0x2dd8bb(0x462)],{sheetName:_0x14b6a6,range:_0x4db5fd}=Pt[_0x2dd8bb(0x39c)](_0x43e0a9),_0x317ce3={'name':(_0x25eedf=(_0x127ca2=this['_memberService'][_0x2dd8bb(0x5c6)](this[_0x2dd8bb(0x604)],_0x4dbf13))==null?void 0x0:_0x127ca2['name'])!=null?_0x25eedf:_0x2dd8bb(0x49f),'range':this[_0x2dd8bb(0x245)](_0x14b6a6,_0x4db5fd),'sheetID':_0x14b6a6,'color':this['_colorAssignService'][_0x2dd8bb(0x235)](_0x4dbf13),'selection':_0x43e0a9},_0x410513=this['cursorInfo'];_0x410513['set'](_0x4dbf13,_0x317ce3),this['_cursorInfo$']['next'](_0x410513);}[_0x1f2fa(0x580)](_0x13e18f){const _0x3ad461=_0x1f2fa,{memberID:_0x49d45f}=_0x13e18f[_0x3ad461(0x462)],_0x1aea11=this['cursorInfo'];_0x1aea11[_0x3ad461(0x2e4)](_0x49d45f),this[_0x3ad461(0x606)][_0x3ad461(0x497)](_0x1aea11);}[_0x1f2fa(0x245)](_0x1fc81f,_0xca2b00){const _0x3bfc2e=_0x1f2fa;var _0x41911a,_0x3f005b;const _0x5ea11a=(_0x3f005b=(_0x41911a=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3bfc2e(0x604)]))==null?void 0x0:_0x41911a[_0x3bfc2e(0x1ea)](_0x1fc81f))==null?void 0x0:_0x3f005b[_0x3bfc2e(0x34d)]();return(_0x5ea11a==null?void 0x0:_0x5ea11a['find'](_0x1d3a77=>a[_0x3bfc2e(0x2f9)][_0x3bfc2e(0x42d)](_0x1d3a77,_0xca2b00)))||_0xca2b00;}['_onRefRangeChange'](){const _0x13d0d3=_0x1f2fa,_0x4f873e=new a[(_0x13d0d3(0x2af))](),_0x32b4e1=ts(),_0x4f5305=()=>{const _0x413bc7=_0x13d0d3;_0x4f873e[_0x413bc7(0x366)]();const _0x1e1931=(_0x3ddb4a,_0x5c05f0,_0x4a7f86,_0x88b31a)=>{const _0x5d0ef5=_0x413bc7;let _0x116fdb=[];switch(_0x3ddb4a['id']){case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x16f)]:{_0x116fdb=k[_0x5d0ef5(0x2d2)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)]['DeleteRangeMoveUpCommandId']:{_0x116fdb=k[_0x5d0ef5(0x407)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)]['InsertColCommandId']:{_0x116fdb=k['handleInsertCol'](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x59e)]:{_0x116fdb=k[_0x5d0ef5(0x269)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x588)]:{_0x116fdb=k[_0x5d0ef5(0x611)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x1d3)]:{_0x116fdb=k['handleInsertRow'](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x217)]:{_0x116fdb=k[_0x5d0ef5(0x23e)](_0x3ddb4a,_0x88b31a);break;}case k[_0x5d0ef5(0x49e)][_0x5d0ef5(0x53d)]:{_0x116fdb=k[_0x5d0ef5(0x52a)](_0x3ddb4a,_0x88b31a);break;}case k['EffectRefRangId'][_0x5d0ef5(0x1e5)]:{_0x116fdb=k[_0x5d0ef5(0x33d)](_0x3ddb4a,_0x88b31a);break;}}const _0x30df0c=k['runRefRangeMutations'](_0x116fdb,_0x88b31a),_0xadf502=this[_0x5d0ef5(0x17c)][_0x5d0ef5(0x2f6)](_0x5c05f0);if(_0xadf502&&_0x30df0c){const _0x2b44af={..._0xadf502,'range':_0x30df0c};this[_0x5d0ef5(0x17c)]['set'](_0x5c05f0,_0x2b44af),_0x32b4e1(()=>{const _0x59f2d8=_0x5d0ef5,_0x4338af=this[_0x59f2d8(0x414)][_0x59f2d8(0x475)](_0x30df0c,_0x49dd4a=>(_0x4338af[_0x59f2d8(0x366)](),_0x1e1931(_0x49dd4a,_0x5c05f0,_0x4a7f86,_0x30df0c)));_0x4f873e[_0x59f2d8(0x515)](_0x4338af);});}return{'redos':[],'undos':[]};};this[_0x413bc7(0x17c)][_0x413bc7(0x601)]((_0x287c40,_0x5137c0)=>{const _0x1f255d=_0x413bc7,{range:_0x432490,sheetID:_0x116314}=_0x287c40,_0x4fa60f=this[_0x1f255d(0x414)]['registerRefRange'](_0x432490,_0xe53123=>(_0x4fa60f[_0x1f255d(0x366)](),_0x1e1931(_0xe53123,_0x5137c0,_0x116314,_0x432490)));_0x4f873e[_0x1f255d(0x515)](_0x4fa60f);});};this[_0x13d0d3(0x305)](a[_0x13d0d3(0x5ad)](this[_0x13d0d3(0x606)][_0x13d0d3(0x25e)](()=>{_0x4f5305();})));}['_toggleOnline'](){const _0x529a21=_0x1f2fa;var _0x56ba14,_0x515ac7;if(this[_0x529a21(0x1fd)]=!0x0,((_0x56ba14=this[_0x529a21(0x51c)][_0x529a21(0x2a3)]())==null?void 0x0:_0x56ba14[_0x529a21(0x4ea)]())!==this[_0x529a21(0x604)])return;const _0x1f48a9=(_0x515ac7=this['_injector'][_0x529a21(0x2f6)](k[_0x529a21(0x600)])[_0x529a21(0x16b)]())==null?void 0x0:_0x515ac7[0x0],_0x37952e=this['_univerInstanceService'][_0x529a21(0x367)](a[_0x529a21(0x5c7)]['UNIVER_SHEET'])[_0x529a21(0x1db)]();_0x1f48a9&&_0x37952e&&this[_0x529a21(0x40c)](_0x37952e[_0x529a21(0x2d3)](),_0x1f48a9);}[_0x1f2fa(0x1f8)](){this['_online']=!0x1;}};St=Zi([be(0x2,a['Inject'](a[_0x1f2fa(0x35d)])),be(0x3,a[_0x1f2fa(0x28d)](Ot)),be(0x4,a[_0x1f2fa(0x28d)](exports['MemberService'])),be(0x5,a[_0x1f2fa(0x562)]),be(0x6,a[_0x1f2fa(0x51f)]),be(0x7,a['Inject'](k[_0x1f2fa(0x450)]))],St);var ns=Object[_0x1f2fa(0x4e5)],is=Object[_0x1f2fa(0x40d)],ss=(_0x38d583,_0x313fde,_0x1444bf,_0x512aa2)=>{const _0x1d49d2=_0x1f2fa;for(var _0x1281f9=_0x512aa2>0x1?void 0x0:_0x512aa2?is(_0x313fde,_0x1444bf):_0x313fde,_0x22b9aa=_0x38d583[_0x1d49d2(0x339)]-0x1,_0x146677;_0x22b9aa>=0x0;_0x22b9aa--)(_0x146677=_0x38d583[_0x22b9aa])&&(_0x1281f9=(_0x512aa2?_0x146677(_0x313fde,_0x1444bf,_0x1281f9):_0x146677(_0x1281f9))||_0x1281f9);return _0x512aa2&&_0x1281f9&&ns(_0x313fde,_0x1444bf,_0x1281f9),_0x1281f9;},nt=(_0x51e9fc,_0x359685)=>(_0x518ae7,_0xb0e7c3)=>_0x359685(_0x518ae7,_0xb0e7c3,_0x51e9fc);let De=class extends a['RxDisposable']{constructor(_0x12ceaf,_0x440ec4,_0x1b573a){const _0x13eab5=_0x1f2fa;super(),I(this,'_entities',new Map()),I(this,_0x13eab5(0x5a6),new A[(_0x13eab5(0x2ba))]()),(this[_0x13eab5(0x51c)]=_0x12ceaf,this[_0x13eab5(0x2f7)]=_0x440ec4,this[_0x13eab5(0x60f)]=_0x1b573a,this[_0x13eab5(0x48d)]());}['dispose'](){const _0x38151c=_0x1f2fa;super[_0x38151c(0x366)](),this[_0x38151c(0x5a6)]['complete'](),this[_0x38151c(0x1e9)][_0x38151c(0x601)](_0x8ceb1c=>_0x8ceb1c[_0x38151c(0x366)]());}[_0x1f2fa(0x1f4)](_0x3870c3){const _0xcd9f87=_0x1f2fa;return this[_0xcd9f87(0x1e9)]['has'](_0x3870c3)?this['_entities']['get'](_0x3870c3)[_0xcd9f87(0x455)]:this[_0xcd9f87(0x5a6)][_0xcd9f87(0x5f2)](A[_0xcd9f87(0x3db)](_0x2a4283=>_0x2a4283[_0xcd9f87(0x604)]===_0x3870c3),A['switchMap'](_0xbdeb75=>_0xbdeb75['cursorInfo$']));}['_init'](){const _0x4ded7e=_0x1f2fa;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4ded7e(0x5c7)][_0x4ded7e(0x4c3)])[_0x4ded7e(0x5f2)](A[_0x4ded7e(0x5d4)](this[_0x4ded7e(0x57d)]))[_0x4ded7e(0x25e)](async _0x4692b0=>{const _0x46a7fd=_0x4ded7e,_0x2395da=_0x4692b0['getUnitId'](),_0x19dd26=await this[_0x46a7fd(0x262)](_0x2395da);this[_0x46a7fd(0x5a6)][_0x46a7fd(0x497)](_0x19dd26),this[_0x46a7fd(0x1e9)][_0x46a7fd(0x329)](_0x2395da,_0x19dd26);}),this[_0x4ded7e(0x51c)][_0x4ded7e(0x374)](a[_0x4ded7e(0x5c7)]['UNIVER_DOC'])['pipe'](A[_0x4ded7e(0x5d4)](this['dispose$']))['pipe'](A[_0x4ded7e(0x3db)](_0x4c8226=>!_0x4c8226[_0x4ded7e(0x4ea)]()[_0x4ded7e(0x565)]('__')))['subscribe'](async _0x1c9295=>{const _0x2af196=_0x4ded7e,_0x2397db=_0x1c9295[_0x2af196(0x4ea)](),_0x13538a=await this[_0x2af196(0x544)](_0x2397db);this[_0x2af196(0x5a6)]['next'](_0x13538a),this['_entities'][_0x2af196(0x329)](_0x2397db,_0x13538a);}),A[_0x4ded7e(0x1b6)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x4ded7e(0x5c7)][_0x4ded7e(0x505)]),this[_0x4ded7e(0x51c)]['getTypeOfUnitDisposed$'](a[_0x4ded7e(0x5c7)][_0x4ded7e(0x4c3)]))[_0x4ded7e(0x5f2)](A['takeUntil'](this['dispose$']))[_0x4ded7e(0x25e)](_0x359034=>{const _0x5bf8c7=_0x4ded7e,_0x155d47=_0x359034[_0x5bf8c7(0x4ea)](),_0xb1f000=this[_0x5bf8c7(0x1e9)][_0x5bf8c7(0x2f6)](_0x155d47);_0xb1f000&&(_0xb1f000[_0x5bf8c7(0x366)](),this[_0x5bf8c7(0x1e9)][_0x5bf8c7(0x2e4)](_0x155d47));});}async[_0x1f2fa(0x262)](_0x512fa2){const _0x5f4ca3=_0x1f2fa,_0x490077=await this['_collabSessionService'][_0x5f4ca3(0x5b5)](_0x512fa2),_0x51c3f5=this['_injector'][_0x5f4ca3(0x33e)](St,_0x512fa2,_0x490077);return _0x51c3f5[_0x5f4ca3(0x485)](),_0x51c3f5;}async[_0x1f2fa(0x544)](_0x5a6098){const _0x1b95c8=_0x1f2fa,_0x23f35c=await this['_collabSessionService'][_0x1b95c8(0x5b5)](_0x5a6098),_0x3dd31c=this[_0x1b95c8(0x2f7)][_0x1b95c8(0x33e)](mt,_0x5a6098,_0x23f35c);return _0x3dd31c[_0x1b95c8(0x485)](),_0x3dd31c;}};De=ss([nt(0x0,a[_0x1f2fa(0x562)]),nt(0x1,a['Inject'](a[_0x1f2fa(0x35d)])),nt(0x2,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x1c0)]))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x5d30de,_0x588383){const _0x466acf=_0x1f2fa;let {radius:_0x8ebdcd,width:_0x230e3e,height:_0x428f9c}=_0x588383;_0x8ebdcd=_0x8ebdcd!=null?_0x8ebdcd:0x0,_0x230e3e=_0x230e3e!=null?_0x230e3e:0x1e,_0x428f9c=_0x428f9c!=null?_0x428f9c:0x1e;let _0x47fab0=0x0,_0x320075=0x0,_0x4a4a29=0x0;_0x47fab0=_0x320075=_0x4a4a29=Math['min'](_0x8ebdcd,_0x230e3e/0x2,_0x428f9c/0x2),_0x5d30de[_0x466acf(0x1a5)](),_0x5d30de[_0x466acf(0x573)](_0x47fab0,0x0),_0x5d30de['lineTo'](_0x230e3e-_0x320075,0x0),_0x5d30de[_0x466acf(0x59d)](_0x230e3e-_0x320075,_0x320075,_0x320075,Math['PI']*0x3/0x2,0x0,!0x1),_0x5d30de[_0x466acf(0x578)](_0x230e3e,_0x428f9c-_0x4a4a29),_0x5d30de['arc'](_0x230e3e-_0x4a4a29,_0x428f9c-_0x4a4a29,_0x4a4a29,0x0,Math['PI']/0x2,!0x1),_0x5d30de[_0x466acf(0x578)](0x0,_0x428f9c),_0x5d30de['lineTo'](0x0,_0x47fab0),_0x5d30de[_0x466acf(0x59d)](_0x47fab0,_0x47fab0,_0x47fab0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5d30de[_0x466acf(0x3c1)](),_0x588383[_0x466acf(0x461)]&&(_0x5d30de['save'](),_0x5d30de['fillStyle']=_0x588383['fill'],_0x588383['fillRule']===_0x466acf(0x4f3)?_0x5d30de[_0x466acf(0x461)]('evenodd'):_0x5d30de[_0x466acf(0x461)](),_0x5d30de[_0x466acf(0x383)]());}class ze extends K[_0x1f2fa(0x476)]{constructor(_0x8283c1,_0x2bdfcc){const _0x4a5833=_0x1f2fa;super(_0x8283c1,_0x2bdfcc),I(this,_0x4a5833(0x47f)),I(this,_0x4a5833(0x45e)),(this[_0x4a5833(0x47f)]=_0x2bdfcc==null?void 0x0:_0x2bdfcc[_0x4a5833(0x47f)],this[_0x4a5833(0x45e)]=_0x2bdfcc==null?void 0x0:_0x2bdfcc[_0x4a5833(0x45e)]);}static[_0x1f2fa(0x2a5)](_0x459ff4,_0x2cd696){const _0xbde973=_0x1f2fa,{text:_0xcb9512,color:_0x5a0c31}=_0x2cd696;_0x459ff4[_0xbde973(0x160)](),_0x459ff4['font']=_0xbde973(0x222);const _0xd8938e=_0x459ff4[_0xbde973(0x3fd)](_0xcb9512)[_0xbde973(0x280)],_0x46454f=Math[_0xbde973(0x3a4)](_0xd8938e+0x2*it,Ht);os(_0x459ff4,{'height':Le,'radius':0x4,'width':_0x46454f,'fill':_0x5a0c31,'evented':!0x1}),_0x459ff4[_0xbde973(0x287)]='#FFF';const _0x239794=it,_0x49a259=Le-rs,_0x4be87b=Ht-0x2*it;if(_0xd8938e>_0x4be87b){let _0x46135d='',_0x528170=0x0;for(const _0x56400c of _0xcb9512){const _0x527f33=_0x459ff4[_0xbde973(0x3fd)](_0x56400c)['width'];if(_0x528170+_0x527f33<=_0x4be87b-_0x459ff4[_0xbde973(0x3fd)](_0xbde973(0x4cb))[_0xbde973(0x280)])_0x46135d+=_0x56400c,_0x528170+=_0x527f33;else{_0x46135d+=_0xbde973(0x4cb);break;}}_0x459ff4[_0xbde973(0x5ed)](_0x46135d,_0x239794,_0x49a259);}else _0x459ff4[_0xbde973(0x5ed)](_0xcb9512,_0x239794,_0x49a259);_0x459ff4['restore']();}[_0x1f2fa(0x405)](_0x4b5c58){const _0x5dd522=_0x1f2fa;ze[_0x5dd522(0x2a5)](_0x4b5c58,this);}}const st='collab-text-anchor-',as='collab-text-range-',cs=_0x1f2fa(0x439),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x1f2fa(0x2e5);class Bt{constructor(_0x4c4e86,_0x5d1be3,_0x4a7661,_0x3e62d6){const _0x2b8b1c=_0x1f2fa;I(this,_0x2b8b1c(0x41d),[]),I(this,'_anchor',null),I(this,_0x2b8b1c(0x2ed),null),I(this,_0x2b8b1c(0x433),null),I(this,'_hideTimer',null),I(this,_0x2b8b1c(0x3ba),null),(this[_0x2b8b1c(0x2eb)]=_0x4c4e86,this['_scene']=_0x5d1be3,this[_0x2b8b1c(0x2d9)]=_0x4a7661,this[_0x2b8b1c(0x34a)]=_0x3e62d6,this['_render']());}set[_0x1f2fa(0x345)](_0x228ee9){const _0x3ac67e=_0x1f2fa;_0x228ee9?(this[_0x3ac67e(0x433)]&&this[_0x3ac67e(0x433)][_0x3ac67e(0x4a2)](),this[_0x3ac67e(0x2ed)]&&this[_0x3ac67e(0x2ed)]['show']()):(this[_0x3ac67e(0x433)]&&this[_0x3ac67e(0x433)][_0x3ac67e(0x472)](),this[_0x3ac67e(0x2ed)]&&this[_0x3ac67e(0x2ed)][_0x3ac67e(0x4a2)]());}['dispose'](){const _0x5a7438=_0x1f2fa;for(const _0x23b4c2 of this[_0x5a7438(0x41d)])_0x23b4c2[_0x5a7438(0x366)]();this[_0x5a7438(0x2ed)]&&this['_textBubble'][_0x5a7438(0x366)](),this[_0x5a7438(0x433)]&&this[_0x5a7438(0x433)][_0x5a7438(0x366)](),this[_0x5a7438(0x3b1)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x5a7438(0x3ba)]();}[_0x1f2fa(0x2d4)](){const _0x4ac786=_0x1f2fa;var _0x14d812;const {_docSkeleton:_0x7ef5ba,_document:_0x3cbe2d}=this,{color:_0x3f55f5,name:_0x186128,ranges:_0x5cc744}=this[_0x4ac786(0x2eb)],_0x5964fe=_0x3cbe2d[_0x4ac786(0x488)](),{docsLeft:_0x42ef71,docsTop:_0xb5e707}=_0x5964fe,_0x25f4bc=new J[(_0x4ac786(0x3b7))](_0x5964fe,_0x7ef5ba);for(const {startOffset:_0x5c47a6,endOffset:_0x33c808,rangeType:_0x1183b9,segmentId:_0x1cbebc,segmentPage:_0x4171a8,collapsed:_0xd513b,isActive:_0x2f930b}of _0x5cc744){const _0x14370a=_0x7ef5ba[_0x4ac786(0x2dc)](_0x5c47a6,!0x0,_0x1cbebc,_0x4171a8);let _0x4a513e=_0x7ef5ba['findNodePositionByCharIndex'](_0x33c808,!0x0,_0x1cbebc,_0x4171a8);if(_0x4a513e==null&&(_0x4a513e=_0x7ef5ba[_0x4ac786(0x2dc)](_0x33c808-0x1,!0x1,_0x1cbebc,_0x4171a8)),_0x2f930b){const {contentBoxPointGroup:_0x17b2eb}=_0x25f4bc[_0x4ac786(0x33b)](_0x4a513e,_0x4a513e);if(_0x17b2eb[_0x4ac786(0x339)]===0x0)continue;this[_0x4ac786(0x1c2)](_0x3f55f5,_0x17b2eb,_0x42ef71,_0xb5e707,_0x186128),this[_0x4ac786(0x3ba)]=this[_0x4ac786(0x2e3)]();}if(_0x14370a&&_0x4a513e){if(_0x1183b9===a['DOC_RANGE_TYPE'][_0x4ac786(0x362)]){const _0x4e5e7f=new J[(_0x4ac786(0x574))](_0x5964fe,_0x7ef5ba),{pointGroup:_0x3a1a14}=(_0x14d812=_0x4e5e7f[_0x4ac786(0x33b)](_0x14370a,_0x4a513e))!=null?_0x14d812:{};if(_0x3a1a14==null||_0x3a1a14[_0x4ac786(0x339)]===0x0)continue;this[_0x4ac786(0x325)](_0x3f55f5,_0x3a1a14,_0x42ef71,_0xb5e707);}else{if(!_0xd513b){const {borderBoxPointGroup:_0x31ce8c}=_0x25f4bc['getRangePointData'](_0x14370a,_0x4a513e);if(_0x31ce8c['length']===0x0)continue;this['_drawTextRange'](_0x3f55f5,_0x31ce8c,_0x42ef71,_0xb5e707);}}}}}[_0x1f2fa(0x1c2)](_0x382840,_0x1e0612,_0x32983e,_0x39af23,_0x560244){const _0x2e5e72=_0x1f2fa,_0x4b2eac=this[_0x2e5e72(0x5a0)](_0x1e0612),{left:_0x28e0a5,top:_0x17f580,height:_0xa7a51f}=_0x4b2eac,_0x500a63=this[_0x2e5e72(0x2e2)](),_0x190f0d=hs/_0x500a63,_0x29247a=new K[(_0x2e5e72(0x3ca))](st+a['Tools'][_0x2e5e72(0x452)](Ue),{'left':_0x28e0a5+_0x32983e-_0x190f0d,'top':_0x17f580+_0x39af23,'height':_0xa7a51f,'width':ls,'fill':_0x382840||K[_0x2e5e72(0x507)](a[_0x2e5e72(0x375)]['black'],0x0),'strokeWidth':_0x190f0d,'stroke':_s,'evented':!0x0});this[_0x2e5e72(0x3b1)]=_0x29247a,this[_0x2e5e72(0x512)][_0x2e5e72(0x2e8)](_0x29247a,J[_0x2e5e72(0x449)]);const _0x517ddf=new K['Rect'](st+a['Tools']['generateRandomId'](Ue),{'left':_0x28e0a5+_0x32983e-_0x190f0d,'top':_0x17f580+_0x39af23-rt/0x2,'height':rt,'width':rt,'fill':_0x382840||K[_0x2e5e72(0x507)](a[_0x2e5e72(0x375)][_0x2e5e72(0x3d7)],0x0),'strokeWidth':0x0,'stroke':_0x382840||K[_0x2e5e72(0x507)](a[_0x2e5e72(0x375)][_0x2e5e72(0x3d7)],0x0),'evented':!0x1});this[_0x2e5e72(0x433)]=_0x517ddf,this['_scene'][_0x2e5e72(0x2e8)](_0x517ddf,J[_0x2e5e72(0x449)]);const _0x1e2195=new ze(st+a['Tools'][_0x2e5e72(0x452)](Ue),{'left':_0x28e0a5+_0x32983e-_0x190f0d,'top':_0x17f580+_0x39af23-Le,'text':_0x560244,'color':_0x382840});this[_0x2e5e72(0x2ed)]=_0x1e2195,this['_scene'][_0x2e5e72(0x2e8)](_0x1e2195,J[_0x2e5e72(0x449)]),this[_0x2e5e72(0x345)]=!0x1;}['_handleHover'](){const _0x112706=_0x1f2fa,_0x5f3ca1=this['_anchor'][_0x112706(0x57b)][_0x112706(0x301)](()=>{const _0x56e5e2=_0x112706;this[_0x56e5e2(0x345)]=!0x0;}),_0x5bb12f=this[_0x112706(0x3b1)][_0x112706(0x493)][_0x112706(0x301)](()=>{const _0x4e0d61=_0x112706;this[_0x4e0d61(0x276)]&&clearTimeout(this[_0x4e0d61(0x276)]),this[_0x4e0d61(0x276)]=setTimeout(()=>{const _0x5a0238=_0x4e0d61;this[_0x5a0238(0x345)]=!0x1;},0x7d0);});return()=>{const _0x2c9a78=_0x112706;_0x5f3ca1['unsubscribe'](),_0x5bb12f[_0x2c9a78(0x484)]();};}[_0x1f2fa(0x3b2)](_0x41916e,_0x6a7ba1,_0x341c16,_0xff40aa){const _0x1c153f=_0x1f2fa,_0x36a948=new a[(_0x1c153f(0x525))](_0x41916e)['setAlpha'](0.2)[_0x1c153f(0x56d)](),_0x511921=new K[(_0x1c153f(0x58c))](as+a[_0x1c153f(0x34c)][_0x1c153f(0x452)](Ue),{'pointsGroup':_0x6a7ba1,'fill':_0x36a948||K[_0x1c153f(0x507)](a[_0x1c153f(0x375)][_0x1c153f(0x3d7)],0.2),'left':_0x341c16,'top':_0xff40aa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c153f(0x41d)][_0x1c153f(0x19c)](_0x511921),this[_0x1c153f(0x512)][_0x1c153f(0x2e8)](_0x511921,J['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x43dd79,_0x154e8f,_0x16354d,_0x4f196b){const _0x1a06f5=_0x1f2fa,_0x3b9718=new a[(_0x1a06f5(0x525))](_0x43dd79)[_0x1a06f5(0x427)](0.2)[_0x1a06f5(0x56d)](),_0xa71f3d=new K[(_0x1a06f5(0x58c))](cs+a[_0x1a06f5(0x34c)][_0x1a06f5(0x452)](Ue),{'pointsGroup':_0x154e8f,'fill':_0x3b9718||K[_0x1a06f5(0x507)](a[_0x1a06f5(0x375)][_0x1a06f5(0x3d7)],0.2),'left':_0x16354d,'top':_0x4f196b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a06f5(0x41d)][_0x1a06f5(0x19c)](_0xa71f3d),this['_scene'][_0x1a06f5(0x2e8)](_0xa71f3d,J[_0x1a06f5(0x449)]);}[_0x1f2fa(0x5a0)](_0x2966a5){const _0x103431=_0x2966a5[0x0],_0x271d3f=_0x103431[0x0],_0x5e7814=_0x103431[0x2],{x:_0x26e7d9,y:_0x167530}=_0x271d3f,{x:_0x1edb23,y:_0x270c09}=_0x5e7814;return{'left':_0x26e7d9,'top':_0x167530,'width':_0x1edb23-_0x26e7d9,'height':_0x270c09-_0x167530};}['_getScale'](){const _0x2a39cf=_0x1f2fa,{scaleX:_0x45ff69,scaleY:_0x3695b6}=this['_scene'][_0x2a39cf(0x37f)]();return Math[_0x2a39cf(0x4ce)](_0x45ff69,_0x3695b6);}}var us=Object[_0x1f2fa(0x4e5)],ds=Object[_0x1f2fa(0x40d)],fs=(_0x4fd7b5,_0x445d68,_0x313852,_0x4c03d0)=>{const _0x83b7fb=_0x1f2fa;for(var _0x5c33a8=_0x4c03d0>0x1?void 0x0:_0x4c03d0?ds(_0x445d68,_0x313852):_0x445d68,_0x489721=_0x4fd7b5[_0x83b7fb(0x339)]-0x1,_0x1b873a;_0x489721>=0x0;_0x489721--)(_0x1b873a=_0x4fd7b5[_0x489721])&&(_0x5c33a8=(_0x4c03d0?_0x1b873a(_0x445d68,_0x313852,_0x5c33a8):_0x1b873a(_0x5c33a8))||_0x5c33a8);return _0x4c03d0&&_0x5c33a8&&us(_0x445d68,_0x313852,_0x5c33a8),_0x5c33a8;},je=(_0x1d7f61,_0x11a3b1)=>(_0x2ac21f,_0x3b0c31)=>_0x11a3b1(_0x2ac21f,_0x3b0c31,_0x1d7f61);let pt=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x477971,_0x22da3c,_0x4220bc,_0x2de00e,_0x524797){const _0xca61dd=_0x1f2fa;super(),I(this,_0xca61dd(0x244),[]),I(this,'_cursors',[]),(this[_0xca61dd(0x199)]=_0x477971,this['_docSkeletonManagerService']=_0x22da3c,this[_0xca61dd(0x509)]=_0x4220bc,this[_0xca61dd(0x5ab)]=_0x2de00e,this[_0xca61dd(0x4a9)]=_0x524797,this[_0xca61dd(0x48d)]());}['_init'](){const _0x2cdd7b=_0x1f2fa,_0x4a9070=this['_context'][_0x2cdd7b(0x4e3)],_0x5569dd=this['_docSkeletonManagerService'];this[_0x2cdd7b(0x305)](A[_0x2cdd7b(0x5b7)]([this[_0x2cdd7b(0x509)][_0x2cdd7b(0x1f4)](_0x4a9070),this[_0x2cdd7b(0x4a9)][_0x2cdd7b(0x2b0)]])[_0x2cdd7b(0x5f2)](V[_0x2cdd7b(0x50e)](([_0x151da9,_0x3be2a8])=>({'skeleton':_0x5569dd[_0x2cdd7b(0x277)](),'cursors':[..._0x151da9[_0x2cdd7b(0x284)]()][_0x2cdd7b(0x252)](_0x3e6908=>({..._0x3e6908,'color':_0x3be2a8[_0x3e6908[_0x2cdd7b(0x47f)]]}))})))[_0x2cdd7b(0x25e)](_0x32d198=>{const _0x4ef254=_0x2cdd7b;if(this[_0x4ef254(0x5b1)](),_0x32d198){const {skeleton:_0x16dab5,cursors:_0xb0685f}=_0x32d198;this[_0x4ef254(0x26b)](_0x16dab5,_0xb0685f);}})),this[_0x2cdd7b(0x5a5)](),this[_0x2cdd7b(0x609)]();}['_updateCollabCursors'](_0x27f0a,_0x4a0210){const _0x25095e=_0x1f2fa,{scene:_0x5ed97d,mainComponent:_0x1d83d5}=this[_0x25095e(0x199)],_0x1e65ac=_0x4a0210[_0x25095e(0x50e)](_0x44b5df=>new Bt(_0x44b5df,_0x5ed97d,_0x27f0a,_0x1d83d5));this[_0x25095e(0x244)]=_0x1e65ac,this['_cursors']=_0x4a0210;}[_0x1f2fa(0x47e)](){const _0x39efe2=_0x1f2fa;this[_0x39efe2(0x5b1)]();const {scene:_0x3aa9c4,mainComponent:_0x34fcf3}=this[_0x39efe2(0x199)],_0x1b241c=this['_docSkeletonManagerService']['getSkeleton'](),_0x2484c8=this[_0x39efe2(0x52b)][_0x39efe2(0x50e)](_0x12220d=>new Bt(_0x12220d,_0x3aa9c4,_0x1b241c,_0x34fcf3));this['_cursorShapes']=_0x2484c8;}['_removeCollabCursors'](){const _0x277017=_0x1f2fa;this[_0x277017(0x244)][_0x277017(0x601)](_0x2a72cd=>_0x2a72cd[_0x277017(0x366)]()),this[_0x277017(0x244)]=[];}[_0x1f2fa(0x609)](){const _0x3f47ba=_0x1f2fa,_0x1bbd65=[J['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x3f47ba(0x5ab)][_0x3f47ba(0x5f9)](_0x3356bc=>{const _0x3e595d=_0x3f47ba;_0x1bbd65['includes'](_0x3356bc['id'])&&_0x3356bc['params'][_0x3e595d(0x4e3)]===this[_0x3e595d(0x199)]['unitId']&&this[_0x3e595d(0x47e)]();}));}[_0x1f2fa(0x5a5)](){const _0xfc09d=_0x1f2fa;this['disposeWithMe'](a[_0xfc09d(0x595)](this[_0xfc09d(0x199)]['engine']['onTransformChange$'])[_0xfc09d(0x5f2)](V['filter'](_0x1bddc8=>_0x1bddc8[_0xfc09d(0x1eb)]===K[_0xfc09d(0x230)]['resize']),V[_0xfc09d(0x356)](0x10))['subscribe'](()=>{const _0x2064f4=_0xfc09d;this[_0x2064f4(0x47e)]();}));}};pt=fs([je(0x1,a[_0x1f2fa(0x28d)](ye[_0x1f2fa(0x401)])),je(0x2,a[_0x1f2fa(0x28d)](De)),je(0x3,a[_0x1f2fa(0x51f)]),je(0x4,a['Inject'](a[_0x1f2fa(0x415)]))],pt);const vs=0x1,ms=1.5;class Sn extends K[_0x1f2fa(0x476)]{constructor(_0x335d77,_0x2b85f6){const _0x44a47b=_0x1f2fa;super(_0x335d77,_0x2b85f6),I(this,_0x44a47b(0x21f)),I(this,_0x44a47b(0x581),!0x1),I(this,_0x44a47b(0x41a)),I(this,_0x44a47b(0x483),''),I(this,_0x44a47b(0x188),_0x44a47b(0x492)),I(this,'_backgroundColor'),(_0x2b85f6&&this['setShapeProps'](_0x2b85f6),this[_0x44a47b(0x57b)][_0x44a47b(0x301)](()=>this[_0x44a47b(0x298)]({'hovered':!0x0})),this[_0x44a47b(0x493)]['subscribeEvent'](()=>this[_0x44a47b(0x298)]({'hovered':!0x1})));}[_0x1f2fa(0x298)](_0x6eed2e){const _0xb16370=_0x1f2fa;var _0x2e540f,_0xf3a29a,_0x33d8db,_0x228fce,_0x8a1c30,_0x7f54ce;this[_0xb16370(0x21f)]=(_0x2e540f=_0x6eed2e['color'])!=null?_0x2e540f:this['_color'],this[_0xb16370(0x581)]=(_0xf3a29a=_0x6eed2e[_0xb16370(0x225)])!=null?_0xf3a29a:this[_0xb16370(0x581)],this['_range']=(_0x33d8db=_0x6eed2e['range'])!=null?_0x33d8db:this['_range'],this[_0xb16370(0x483)]=(_0x228fce=_0x6eed2e['name'])!=null?_0x228fce:this['_name'],this['_labelPosition']=(_0x8a1c30=_0x6eed2e[_0xb16370(0x46d)])!=null?_0x8a1c30:this[_0xb16370(0x188)],this[_0xb16370(0x44d)]=(_0x7f54ce=_0x6eed2e[_0xb16370(0x1ad)])!=null?_0x7f54ce:this[_0xb16370(0x44d)],this['transformByState']({'width':_0x6eed2e[_0xb16370(0x280)],'height':_0x6eed2e['height']});}[_0x1f2fa(0x4e9)](_0x2ad9db){const _0xb5030f=_0x1f2fa,{row:_0x407b70,column:_0x501baa}=_0x2ad9db;if(_0x407b70>=this[_0xb5030f(0x41a)][_0xb5030f(0x1f6)]&&_0x407b70<=this[_0xb5030f(0x41a)]['endRow']&&_0x501baa>=this[_0xb5030f(0x41a)][_0xb5030f(0x31c)]&&_0x501baa<=this[_0xb5030f(0x41a)]['endColumn']){this[_0xb5030f(0x298)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1f2fa(0x3b8)](_0x1274c6){return!0x1;}['_draw'](_0x1738fb){const _0x4b7e62=_0x1f2fa;K[_0x4b7e62(0x3ca)]['drawWith'](_0x1738fb,{'width':this[_0x4b7e62(0x280)],'height':this[_0x4b7e62(0x255)],'strokeWidth':ms,'stroke':this[_0x4b7e62(0x21f)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1738fb[_0x4b7e62(0x160)](),_0x1738fb['transform'](0x1,0x0,0x0,0x1,this[_0x4b7e62(0x280)],this[_0x4b7e62(0x188)]===_0x4b7e62(0x519)?0x0:-Le),ze[_0x4b7e62(0x2a5)](_0x1738fb,{'text':this[_0x4b7e62(0x483)],'color':this[_0x4b7e62(0x21f)]}),_0x1738fb[_0x4b7e62(0x383)]());}}var Ss=Object[_0x1f2fa(0x4e5)],ps=Object['getOwnPropertyDescriptor'],gs=(_0x55ac09,_0x394318,_0x23dbda,_0x38d58d)=>{const _0x49b544=_0x1f2fa;for(var _0x161f17=_0x38d58d>0x1?void 0x0:_0x38d58d?ps(_0x394318,_0x23dbda):_0x394318,_0x558035=_0x55ac09[_0x49b544(0x339)]-0x1,_0x271552;_0x558035>=0x0;_0x558035--)(_0x271552=_0x55ac09[_0x558035])&&(_0x161f17=(_0x38d58d?_0x271552(_0x394318,_0x23dbda,_0x161f17):_0x271552(_0x161f17))||_0x161f17);return _0x38d58d&&_0x161f17&&Ss(_0x394318,_0x23dbda,_0x161f17),_0x161f17;},ot=(_0x350ece,_0x346d7b)=>(_0x98826f,_0xde79f6)=>_0x346d7b(_0x98826f,_0xde79f6,_0x350ece);const Is=0x1389;let gt=class extends a[_0x1f2fa(0x2bd)]{constructor(_0x4171e4,_0xab4a86,_0x2283b7,_0x579a53){const _0x58fd6b=_0x1f2fa;super(),I(this,_0x58fd6b(0x52b),new Set()),I(this,_0x58fd6b(0x237),null),(this['_context']=_0x4171e4,this[_0x58fd6b(0x60d)]=_0xab4a86,this[_0x58fd6b(0x509)]=_0x2283b7,this[_0x58fd6b(0x4a9)]=_0x579a53,this[_0x58fd6b(0x48d)]());}['_init'](){const _0x3b6e58=_0x1f2fa;this[_0x3b6e58(0x60d)][_0x3b6e58(0x438)][_0x3b6e58(0x5f2)](V[_0x3b6e58(0x5d4)](this[_0x3b6e58(0x57d)]),V['switchMap'](_0x1b2875=>{const _0x42864f=_0x3b6e58;if(_0x1b2875){const _0xa64a14=_0x1b2875[_0x42864f(0x58b)];return A[_0x42864f(0x5b7)](this['_collabCursorController'][_0x42864f(0x1f4)](this[_0x42864f(0x199)]['unitId']),this['_themeService'][_0x42864f(0x2b0)])[_0x42864f(0x5f2)](V[_0x42864f(0x50e)](([_0x2a1f6e,_0x35b0e6])=>{const _0x393730=_0x42864f,_0x507417=new Map();return _0x2a1f6e[_0x393730(0x601)]((_0x5311eb,_0x14273e)=>{const _0x3c1c86=_0x393730;if(_0x5311eb[_0x3c1c86(0x3aa)]===_0xa64a14){const _0x41ddf6={..._0x5311eb};_0x41ddf6[_0x3c1c86(0x47f)]=_0x35b0e6[_0x5311eb[_0x3c1c86(0x47f)]],_0x507417[_0x3c1c86(0x329)](_0x14273e,_0x41ddf6);}}),{'skeleton':_0x1b2875,'cursors':_0x507417};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x3b6e58(0x25e)](({skeleton:_0x37039,cursors:_0x3bc100})=>{const _0x3fd435=_0x3b6e58;this[_0x3fd435(0x5b1)](),_0x37039&&this[_0x3fd435(0x26b)](_0x37039,_0x3bc100);}),this['_sheetSkeletonManagerService'][_0x3b6e58(0x438)][_0x3b6e58(0x25e)](_0xc5e974=>{const _0x332886=_0x3b6e58;if(_0xc5e974==null)return;const {skeleton:_0x454a08}=_0xc5e974,{scene:_0x5d12a4}=this[_0x332886(0x199)];_0x5d12a4['onPointerMove$']['subscribeEvent'](a[_0x332886(0x4ad)](_0x1caefa=>{const _0x39d8ea=_0x332886;var _0x47d8c4,_0xeca869;const {offsetX:_0x325744,offsetY:_0x27f1c2}=_0x1caefa,{x:_0x2ec933,y:_0x126d48}=_0x5d12a4[_0x39d8ea(0x510)](K['Vector2']['FromArray']([_0x325744,_0x27f1c2])),{scaleX:_0x323190,scaleY:_0x71efc0}=_0x5d12a4[_0x39d8ea(0x37f)](),_0x412a97=_0x5d12a4[_0x39d8ea(0x35e)](Re[_0x39d8ea(0x279)]['VIEW_MAIN']),_0x23dd5c=_0x5d12a4[_0x39d8ea(0x1a0)](K[_0x39d8ea(0x596)][_0x39d8ea(0x3ab)]([_0x2ec933,_0x126d48]),_0x412a97),_0x45c931=_0x454a08['getCellPositionByOffset'](_0x325744,_0x27f1c2,_0x323190,_0x71efc0,_0x23dd5c);((_0x47d8c4=this[_0x39d8ea(0x237)])==null?void 0x0:_0x47d8c4['column'])===_0x45c931[_0x39d8ea(0x48b)]&&((_0xeca869=this[_0x39d8ea(0x237)])==null?void 0x0:_0xeca869[_0x39d8ea(0x1e0)])===_0x45c931[_0x39d8ea(0x1e0)]||this[_0x39d8ea(0x52b)][_0x39d8ea(0x601)](_0x1a8013=>{_0x1a8013['onMouseMove'](_0x45c931);});},0x64));});}[_0x1f2fa(0x26b)](_0x46a1e4,_0x19cca4){const _0x4581cf=_0x1f2fa;var _0x4ca5c6;const _0xc7723a=(_0x4ca5c6=this[_0x4581cf(0x60d)][_0x4581cf(0x471)]())==null?void 0x0:_0x4ca5c6['skeleton'];if(!_0xc7723a)return;const _0x5e94cd=this[_0x4581cf(0x49c)]();if(!_0x5e94cd)return;this[_0x4581cf(0x52b)][_0x4581cf(0x601)](_0x53f209=>{const _0x3fbade=_0x4581cf;_0x53f209[_0x3fbade(0x18c)]();});const {scene:_0x1cbeb1}=_0x5e94cd,_0x36ad34=Cs(Array[_0x4581cf(0x536)](_0x19cca4[_0x4581cf(0x284)]()))[_0x4581cf(0x50e)](_0x208173=>{const _0x595e83=_0x4581cf,{color:_0x4ae147,range:_0x3aa485,name:_0x2719b5,selection:_0x1828df,sheetID:_0x36d664}=_0x208173,{startColumn:_0x313eb0,startRow:_0xbf3d83,endColumn:_0x1d2ad8,endRow:_0x2b8e40}=_0x3aa485,_0x477650=Re['getCoordByCell'](_0xbf3d83,_0x313eb0,_0x1cbeb1,_0xc7723a),_0x334f32=Re['getCoordByCell'](_0x2b8e40,_0x1d2ad8,_0x1cbeb1,_0xc7723a),{columnHeaderHeightAndMarginTop:_0x3e0eb5}=_0xc7723a,{startX:_0xa92104,startY:_0x35b897}=_0x477650,{endX:_0xa39a76,endY:_0x29eaf1}=_0x334f32,_0x58acf5=_0xa39a76-_0xa92104,_0x10972c=_0x29eaf1-_0x35b897,_0xea2059={'labelPosition':_0x35b897-_0x3e0eb5>=Le?'top':_0x595e83(0x519),'sheetID':_0x36d664,'range':_0x3aa485,'color':_0x4ae147,'name':_0x2719b5,'selection':_0x1828df,'left':_0xa92104,'top':_0x35b897,'width':_0x58acf5,'height':_0x10972c,'evented':!0x1,'zIndex':Is};return new Sn(_0x2719b5,_0xea2059);});_0x1cbeb1[_0x4581cf(0x34e)](_0x36ad34,vs),this[_0x4581cf(0x52b)]=new Set(_0x36ad34);}['_removeCollabCursors'](){const _0x12e724=_0x1f2fa;var _0xc485c2;(_0xc485c2=this['_cursors'])==null||_0xc485c2[_0x12e724(0x601)](_0x3c457c=>_0x3c457c[_0x12e724(0x366)]());}[_0x1f2fa(0x49c)](){const _0x305718=_0x1f2fa;return Re['getSheetObject'](this[_0x305718(0x199)][_0x305718(0x460)],this[_0x305718(0x199)]);}};gt=gs([ot(0x1,a[_0x1f2fa(0x28d)](Re[_0x1f2fa(0x2bb)])),ot(0x2,a[_0x1f2fa(0x28d)](De)),ot(0x3,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x415)]))],gt);function Cs(_0x392fad){const _0xb91c9d=_0x1f2fa,_0x30ba44=new Map();return _0x392fad[_0xb91c9d(0x601)](_0x5a65e1=>{const _0x147c02=_0xb91c9d;if(_0x30ba44[_0x147c02(0x3d5)](_0x5a65e1['selection'])){const _0x154a91=_0x30ba44[_0x147c02(0x2f6)](_0x5a65e1[_0x147c02(0x26c)]);_0x154a91[_0x147c02(0x228)]+=',\x20'+_0x5a65e1['name'];}else _0x30ba44['set'](_0x5a65e1[_0x147c02(0x26c)],_0x5a65e1);}),Array['from'](_0x30ba44[_0xb91c9d(0x284)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x58c902){const _0x588c64=_0x1f2fa;return _0x58c902&&_0x58c902[_0x588c64(0x343)]&&Object['prototype']['hasOwnProperty'][_0x588c64(0x575)](_0x58c902,_0x588c64(0x4a1))?_0x58c902[_0x588c64(0x4a1)]:_0x58c902;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x1f2fa(0x162)](_0x1f2fa(0x4b7)),Ts=Symbol[_0x1f2fa(0x162)]('react.fragment'),Rs=Object[_0x1f2fa(0x42a)][_0x1f2fa(0x3f7)],ys=Es[_0x1f2fa(0x223)]['ReactCurrentOwner'],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x561dce,_0x57094e,_0x1de082){const _0x873c38=_0x1f2fa;var _0x4f4e1d,_0x5ac6b3={},_0x374968=null,_0x3dad1e=null;_0x1de082!==void 0x0&&(_0x374968=''+_0x1de082),_0x57094e['key']!==void 0x0&&(_0x374968=''+_0x57094e[_0x873c38(0x4dd)]),_0x57094e[_0x873c38(0x275)]!==void 0x0&&(_0x3dad1e=_0x57094e['ref']);for(_0x4f4e1d in _0x57094e)Rs[_0x873c38(0x575)](_0x57094e,_0x4f4e1d)&&!Os[_0x873c38(0x3f7)](_0x4f4e1d)&&(_0x5ac6b3[_0x4f4e1d]=_0x57094e[_0x4f4e1d]);if(_0x561dce&&_0x561dce['defaultProps']){for(_0x4f4e1d in(_0x57094e=_0x561dce['defaultProps'],_0x57094e))_0x5ac6b3[_0x4f4e1d]===void 0x0&&(_0x5ac6b3[_0x4f4e1d]=_0x57094e[_0x4f4e1d]);}return{'$$typeof':bs,'type':_0x561dce,'key':_0x374968,'ref':_0x3dad1e,'props':_0x5ac6b3,'_owner':ys['current']};}Xe[_0x1f2fa(0x453)]=Ts,Xe[_0x1f2fa(0x2c1)]=gn,Xe['jsxs']=gn,pn[_0x1f2fa(0x4b1)]=Xe;var pe=pn['exports'],Q=function(){const _0x1858d5=_0x1f2fa;return Q=Object[_0x1858d5(0x265)]||function(_0x55add0){const _0x4bf237=_0x1858d5;for(var _0x1cb9d8,_0x551b63=0x1,_0x542e98=arguments[_0x4bf237(0x339)];_0x551b63<_0x542e98;_0x551b63++){_0x1cb9d8=arguments[_0x551b63];for(var _0x4dfe42 in _0x1cb9d8)Object['prototype'][_0x4bf237(0x3f7)]['call'](_0x1cb9d8,_0x4dfe42)&&(_0x55add0[_0x4dfe42]=_0x1cb9d8[_0x4dfe42]);}return _0x55add0;},Q[_0x1858d5(0x19a)](this,arguments);},Ds=function(_0x1bf8e5,_0xedd516){const _0x493a36=_0x1f2fa;var _0x2669f2={};for(var _0x13e88f in _0x1bf8e5)Object[_0x493a36(0x42a)][_0x493a36(0x3f7)][_0x493a36(0x575)](_0x1bf8e5,_0x13e88f)&&_0xedd516['indexOf'](_0x13e88f)<0x0&&(_0x2669f2[_0x13e88f]=_0x1bf8e5[_0x13e88f]);if(_0x1bf8e5!=null&&typeof Object[_0x493a36(0x4e4)]==_0x493a36(0x323)){for(var _0x400708=0x0,_0x13e88f=Object['getOwnPropertySymbols'](_0x1bf8e5);_0x400708<_0x13e88f[_0x493a36(0x339)];_0x400708++)_0xedd516[_0x493a36(0x2a1)](_0x13e88f[_0x400708])<0x0&&Object[_0x493a36(0x42a)][_0x493a36(0x385)][_0x493a36(0x575)](_0x1bf8e5,_0x13e88f[_0x400708])&&(_0x2669f2[_0x13e88f[_0x400708]]=_0x1bf8e5[_0x13e88f[_0x400708]]);}return _0x2669f2;},Dt=ae[_0x1f2fa(0x169)](function(_0x1ff8c9,_0x5a945c){const _0x4fac62=_0x1f2fa;var _0x122aea=_0x1ff8c9['icon'],_0x3169cc=_0x1ff8c9['id'],_0x35da7b=_0x1ff8c9[_0x4fac62(0x429)],_0x487f99=_0x1ff8c9['extend'],_0x5cfcb8=Ds(_0x1ff8c9,['icon','id',_0x4fac62(0x429),'extend']),_0x133ef5=_0x4fac62(0x207)[_0x4fac62(0x273)](_0x3169cc,'\x20')[_0x4fac62(0x273)](_0x35da7b||'')[_0x4fac62(0x294)](),_0x5a35b0=ae[_0x4fac62(0x423)]('_'['concat'](Us()));return In(_0x122aea,''[_0x4fac62(0x273)](_0x3169cc),{'defIds':_0x122aea[_0x4fac62(0x21c)],'idSuffix':_0x5a35b0[_0x4fac62(0x208)]},Q({'ref':_0x5a945c,'className':_0x133ef5},_0x5cfcb8),_0x487f99);});function In(_0x18f5a9,_0x4506e8,_0x41a133,_0xbcd0a6,_0xebffc3){const _0x64750f=_0x1f2fa;return ae[_0x64750f(0x3a8)](_0x18f5a9[_0x64750f(0x2ae)],Q(Q({'key':_0x4506e8},ws(_0x18f5a9,_0x41a133,_0xebffc3)),_0xbcd0a6),(Ps(_0x18f5a9,_0x41a133)[_0x64750f(0x30c)]||[])['map'](function(_0x2505fb,_0x15c9d1){const _0xfcd452=_0x64750f;return In(_0x2505fb,''['concat'](_0x4506e8,'-')[_0xfcd452(0x273)](_0x18f5a9[_0xfcd452(0x2ae)],'-')[_0xfcd452(0x273)](_0x15c9d1),_0x41a133,void 0x0,_0xebffc3);}));}function ws(_0xbd9034,_0x494369,_0x27e879){const _0x49b056=_0x1f2fa;var _0x34c143=Q({},_0xbd9034[_0x49b056(0x2ca)]);_0x27e879!=null&&_0x27e879['colorChannel1']&&_0x34c143[_0x49b056(0x461)]===_0x49b056(0x342)&&(_0x34c143[_0x49b056(0x461)]=_0x27e879[_0x49b056(0x342)]);var _0x2df856=_0x494369[_0x49b056(0x21c)];return!_0x2df856||_0x2df856[_0x49b056(0x339)]===0x0||(_0xbd9034[_0x49b056(0x2ae)]===_0x49b056(0x384)&&_0x34c143[_0x49b056(0x3d4)]&&(_0x34c143[_0x49b056(0x3d4)]=_0x34c143[_0x49b056(0x3d4)]+_0x494369['idSuffix']),Object[_0x49b056(0x491)](_0x34c143)[_0x49b056(0x601)](function(_0x39e5a9){const _0x229713=_0x49b056;var _0x4f2507=_0x39e5a9[0x0],_0x1a9859=_0x39e5a9[0x1];typeof _0x1a9859==_0x229713(0x205)&&(_0x34c143[_0x4f2507]=_0x1a9859[_0x229713(0x368)](/url\(#(.*)\)/,_0x229713(0x2da)[_0x229713(0x273)](_0x494369[_0x229713(0x60b)],')')));})),_0x34c143;}function Ps(_0x467df3,_0x629778){const _0x5a0fee=_0x1f2fa;var _0x4f007e,_0x565035=_0x629778['defIds'];return!_0x565035||_0x565035[_0x5a0fee(0x339)]===0x0?_0x467df3:_0x467df3[_0x5a0fee(0x2ae)]===_0x5a0fee(0x1ac)&&(!((_0x4f007e=_0x467df3[_0x5a0fee(0x30c)])===null||_0x4f007e===void 0x0)&&_0x4f007e[_0x5a0fee(0x339)])?Q(Q({},_0x467df3),{'children':_0x467df3[_0x5a0fee(0x30c)][_0x5a0fee(0x50e)](function(_0x3a669c){const _0xa8790f=_0x5a0fee;return typeof _0x3a669c[_0xa8790f(0x2ca)]['id']==_0xa8790f(0x205)&&_0x565035&&_0x565035['indexOf'](_0x3a669c[_0xa8790f(0x2ca)]['id'])>-0x1?Q(Q({},_0x3a669c),{'attrs':Q(Q({},_0x3a669c[_0xa8790f(0x2ca)]),{'id':_0x3a669c['attrs']['id']+_0x629778[_0xa8790f(0x60b)]})}):_0x3a669c;})}):_0x467df3;}function Us(){const _0x1ff947=_0x1f2fa;return Math[_0x1ff947(0x2fc)]()['toString'](0x24)[_0x1ff947(0x5c2)](0x2,0x8);}Dt[_0x1f2fa(0x263)]=_0x1f2fa(0x337);var Ms={'tag':_0x1f2fa(0x206),'attrs':{'fill':_0x1f2fa(0x554),'viewBox':_0x1f2fa(0x288),'width':_0x1f2fa(0x24a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1f2fa(0x3f1)},'children':[{'tag':_0x1f2fa(0x440),'attrs':{'stroke':'currentColor','d':_0x1f2fa(0x344),'strokeLinecap':_0x1f2fa(0x336),'strokeLinejoin':_0x1f2fa(0x336),'strokeWidth':1.2}}]},{'tag':_0x1f2fa(0x1ac),'attrs':{},'children':[{'tag':_0x1f2fa(0x5be),'attrs':{'id':_0x1f2fa(0x417)},'children':[{'tag':_0x1f2fa(0x440),'attrs':{'fill':'#fff','d':_0x1f2fa(0x347)}}]}]}],'defIds':[_0x1f2fa(0x417)]},Cn=ae[_0x1f2fa(0x169)](function(_0x390beb,_0x525351){const _0x27d25e=_0x1f2fa;return ae[_0x27d25e(0x3a8)](Dt,Object['assign']({},_0x390beb,{'id':_0x27d25e(0x24d),'ref':_0x525351,'icon':Ms}));});Cn[_0x1f2fa(0x263)]=_0x1f2fa(0x41e);var As={'tag':_0x1f2fa(0x206),'attrs':{'fill':'none','viewBox':_0x1f2fa(0x3e0),'width':_0x1f2fa(0x24a),'height':_0x1f2fa(0x24a)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f2fa(0x5cb)},'children':[{'tag':_0x1f2fa(0x440),'attrs':{'stroke':'currentColor','d':_0x1f2fa(0x41b),'strokeLinecap':_0x1f2fa(0x336),'strokeLinejoin':_0x1f2fa(0x336),'strokeWidth':1.2}}]},{'tag':_0x1f2fa(0x1ac),'attrs':{},'children':[{'tag':_0x1f2fa(0x5be),'attrs':{'id':_0x1f2fa(0x23c)},'children':[{'tag':'path','attrs':{'fill':_0x1f2fa(0x4bb),'d':_0x1f2fa(0x347),'transform':_0x1f2fa(0x518)}}]}]}],'defIds':[_0x1f2fa(0x23c)]},En=ae[_0x1f2fa(0x169)](function(_0x162f51,_0x1bcf81){const _0x4f606f=_0x1f2fa;return ae[_0x4f606f(0x3a8)](Dt,Object[_0x4f606f(0x265)]({},_0x162f51,{'id':_0x4f606f(0x45c),'ref':_0x1bcf81,'icon':As}));});En[_0x1f2fa(0x263)]=_0x1f2fa(0x1e7);function bn(_0x21d4b8){const _0xef0daf=_0x1f2fa;var _0xba564a,_0x10db28,_0x11f1a0='';if(typeof _0x21d4b8==_0xef0daf(0x205)||typeof _0x21d4b8=='number')_0x11f1a0+=_0x21d4b8;else{if(typeof _0x21d4b8=='object'){if(Array[_0xef0daf(0x4ff)](_0x21d4b8)){var _0x585b2b=_0x21d4b8['length'];for(_0xba564a=0x0;_0xba564a<_0x585b2b;_0xba564a++)_0x21d4b8[_0xba564a]&&(_0x10db28=bn(_0x21d4b8[_0xba564a]))&&(_0x11f1a0&&(_0x11f1a0+='\x20'),_0x11f1a0+=_0x10db28);}else{for(_0x10db28 in _0x21d4b8)_0x21d4b8[_0x10db28]&&(_0x11f1a0&&(_0x11f1a0+='\x20'),_0x11f1a0+=_0x10db28);}}}return _0x11f1a0;}function Ns(){const _0x46ed58=_0x1f2fa;for(var _0xa4d4c3,_0x4173ab,_0x310204=0x0,_0x4e0a78='',_0x275638=arguments[_0x46ed58(0x339)];_0x310204<_0x275638;_0x310204++)(_0xa4d4c3=arguments[_0x310204])&&(_0x4173ab=bn(_0xa4d4c3))&&(_0x4e0a78&&(_0x4e0a78+='\x20'),_0x4e0a78+=_0x4173ab);return _0x4e0a78;}const Ls='univer-online-status-icon',xs=_0x1f2fa(0x489),js='univer-online-status',$s=_0x1f2fa(0x386),Hs=_0x1f2fa(0x465),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x38d22a){const _0x381238=_0x1f2fa;switch(_0x38d22a){case q[_0x381238(0x532)]:return'collabStatus.offline';case q[_0x381238(0x2b5)]:return _0x381238(0x4f0);case q[_0x381238(0x2aa)]:return _0x381238(0x4fd);case q['NOT_COLLAB']:return _0x381238(0x564);case q[_0x381238(0x500)]:case q[_0x381238(0x27a)]:return _0x381238(0x32a);case q[_0x381238(0x4cc)]:case q[_0x381238(0x586)]:return _0x381238(0x46f);}}function Tn(_0x371767){const _0x29c840=_0x1f2fa,{status$:_0x488134}=_0x371767,_0xe4b44e=ee['useObservable'](_0x488134,q[_0x29c840(0x467)]),_0x1e2e87=a[_0x29c840(0x5e1)](a['LocaleService']),_0x3139b3=a[_0x29c840(0x5e1)](exports[_0x29c840(0x1c0)]),_0x13549e=_0xe4b44e!==q['OFFLINE'],_0x442e98=_0x1e2e87['t'](Bs(_0xe4b44e)),_0x1fc4e1=Ns(Me[_0x29c840(0x2d8)],{[Me[_0x29c840(0x2b6)]]:_0x13549e,[Me[_0x29c840(0x45f)]]:!_0x13549e}),_0x2d2c62=_0x13549e?pe['jsx'](En,{}):pe[_0x29c840(0x2c1)](Cn,{}),_0x5cdae4=ae[_0x29c840(0x308)](()=>{const _0x3476ef=_0x29c840;_0x13549e||_0x3139b3[_0x3476ef(0x3a5)]();},[_0x13549e,_0x3139b3]);function _0x44bf5d(){const _0x3be832=_0x29c840;return pe[_0x3be832(0x27f)]('div',{'className':_0x1fc4e1,'onClick':_0x5cdae4,'children':[pe[_0x3be832(0x2c1)]('div',{'className':Me[_0x3be832(0x24b)],'children':_0x2d2c62}),pe['jsx']('div',{'className':Me[_0x3be832(0x1ff)],'children':_0x442e98})]});}return _0x13549e?_0x44bf5d():pe[_0x29c840(0x2c1)](ge[_0x29c840(0x607)],{'title':_0x1e2e87['t'](_0x29c840(0x50f)),'children':_0x44bf5d()});}var ks=Object['defineProperty'],Ws=Object['getOwnPropertyDescriptor'],Fs=(_0x5c937e,_0x10a8d9,_0x2fa5b5,_0x35b0fd)=>{const _0x210b9b=_0x1f2fa;for(var _0x62bbb5=_0x35b0fd>0x1?void 0x0:_0x35b0fd?Ws(_0x10a8d9,_0x2fa5b5):_0x10a8d9,_0x3b44c6=_0x5c937e[_0x210b9b(0x339)]-0x1,_0x4e82b8;_0x3b44c6>=0x0;_0x3b44c6--)(_0x4e82b8=_0x5c937e[_0x3b44c6])&&(_0x62bbb5=(_0x35b0fd?_0x4e82b8(_0x10a8d9,_0x2fa5b5,_0x62bbb5):_0x4e82b8(_0x62bbb5))||_0x62bbb5);return _0x35b0fd&&_0x62bbb5&&ks(_0x10a8d9,_0x2fa5b5,_0x62bbb5),_0x62bbb5;},$e=(_0x2a8ffc,_0x1cb2ea)=>(_0x4e908a,_0x4a3e8d)=>_0x1cb2ea(_0x4e908a,_0x4a3e8d,_0x2a8ffc);exports[_0x1f2fa(0x31a)]=class extends a[_0x1f2fa(0x1d6)]{constructor(_0x5dec1c,_0x5def7d,_0x2f6576,_0x3db281){const _0x473b8b=_0x1f2fa;super(),I(this,_0x473b8b(0x454),new A['BehaviorSubject'](q[_0x473b8b(0x467)])),(this[_0x473b8b(0x51c)]=_0x5dec1c,this['_uiPartsService']=_0x5def7d,this['_injector']=_0x2f6576,this['_collaborationController']=_0x3db281,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x345171=_0x1f2fa;this[_0x345171(0x305)](this[_0x345171(0x51c)][_0x345171(0x53c)][_0x345171(0x5f2)](A[_0x345171(0x28b)](()=>{const _0x40c06c=_0x345171,_0x3bbe38=this['_univerInstanceService']['getFocusedUnit']();return _0x3bbe38?this[_0x40c06c(0x31d)][_0x40c06c(0x2e1)](_0x3bbe38[_0x40c06c(0x4ea)]()):A['of'](null);}),A[_0x345171(0x28b)](_0x423336=>_0x423336?_0x423336['status$']:A['of'](q[_0x345171(0x467)])))[_0x345171(0x25e)](_0x8afb02=>{const _0x34ef3d=_0x345171;this['_status$'][_0x34ef3d(0x497)](_0x8afb02);}));}[_0x1f2fa(0x29c)](){const _0x166917=_0x1f2fa;this['disposeWithMe'](this['_uiPartsService'][_0x166917(0x40a)](ee['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x166917(0x30b)](Vs({'status$':this[_0x166917(0x454)][_0x166917(0x5de)]()}),this['_injector'])));}},exports[_0x1f2fa(0x31a)]=Fs([$e(0x0,a[_0x1f2fa(0x562)]),$e(0x1,ee[_0x1f2fa(0x526)]),$e(0x2,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),$e(0x3,a['Inject'](exports[_0x1f2fa(0x1ab)]))],exports[_0x1f2fa(0x31a)]);function Vs(_0x2d0c10){const {status$:_0x26f5de}=_0x2d0c10;return function(){const _0x2bc504=_0x3f71;return pe[_0x2bc504(0x2c1)](Tn,{'status$':_0x26f5de});};}const wt=a[_0x1f2fa(0x3a7)](_0x1f2fa(0x4a5));var Gs=Object[_0x1f2fa(0x4e5)],Ys=Object[_0x1f2fa(0x40d)],Ks=(_0xea8819,_0x46be60,_0x18f358,_0x4210a8)=>{const _0x12a59e=_0x1f2fa;for(var _0x154743=_0x4210a8>0x1?void 0x0:_0x4210a8?Ys(_0x46be60,_0x18f358):_0x46be60,_0x25dcbc=_0xea8819[_0x12a59e(0x339)]-0x1,_0x24f1a8;_0x25dcbc>=0x0;_0x25dcbc--)(_0x24f1a8=_0xea8819[_0x25dcbc])&&(_0x154743=(_0x4210a8?_0x24f1a8(_0x46be60,_0x18f358,_0x154743):_0x24f1a8(_0x154743))||_0x154743);return _0x4210a8&&_0x154743&&Gs(_0x46be60,_0x18f358,_0x154743),_0x154743;},Te=(_0x54a866,_0x4903dc)=>(_0x4ea2ad,_0x3d204a)=>_0x4903dc(_0x4ea2ad,_0x3d204a,_0x54a866);exports['DataLoaderController']=class extends a['RxDisposable']{constructor(_0x220d64,_0x5ad353,_0x24eec3,_0x23fa94,_0x530e15,_0x517511){const _0xafe1c2=_0x1f2fa;super(),this[_0xafe1c2(0x1a4)]=_0x220d64,this['_logService']=_0x5ad353,this[_0xafe1c2(0x5ab)]=_0x24eec3,this[_0xafe1c2(0x346)]=_0x23fa94,this[_0xafe1c2(0x4e2)]=_0x530e15,_0x517511?_0x517511==null||_0x517511[_0xafe1c2(0x257)]()[_0xafe1c2(0x213)](()=>this[_0xafe1c2(0x48d)]()):(this[_0xafe1c2(0x1d8)]['debug'](_0xafe1c2(0x2b3),_0xafe1c2(0x5f0)),this[_0xafe1c2(0x48d)]());}async['_init'](){const _0x412a0a=_0x1f2fa,_0x52f2e3=this['_urlService'][_0x412a0a(0x387)]('unit'),_0x3bef07=this[_0x412a0a(0x1a4)][_0x412a0a(0x387)]('type');if(!_0x52f2e3||!_0x3bef07){this['_logService'][_0x412a0a(0x4fc)](_0x412a0a(0x2b3),_0x412a0a(0x256));return;}switch(Number(_0x3bef07)){case ie[_0x412a0a(0x4c3)]:{const _0x5e17e5=await this[_0x412a0a(0x37b)](_0x52f2e3);this[_0x412a0a(0x218)](_0x5e17e5);break;}case ie[_0x412a0a(0x505)]:{await this[_0x412a0a(0x5eb)](_0x52f2e3);break;}default:{this[_0x412a0a(0x1d8)][_0x412a0a(0x2d0)](_0x412a0a(0x2b3),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x1f2fa(0x218)](_0x52b41d){const _0x1a0ae2=_0x1f2fa;await this[_0x1a0ae2(0x4c8)](_0x52b41d),_0x52b41d[_0x1a0ae2(0x27c)][_0x1a0ae2(0x5f2)](A['takeUntil'](this[_0x1a0ae2(0x57d)]))[_0x1a0ae2(0x25e)](_0xc25779=>{const _0x120354=_0x1a0ae2;_0xc25779&&this[_0x120354(0x5a7)](_0xc25779);}),this['_urlService']['urlChange$'][_0x1a0ae2(0x5f2)](A[_0x1a0ae2(0x5d4)](this[_0x1a0ae2(0x57d)]))[_0x1a0ae2(0x25e)](()=>this[_0x1a0ae2(0x4c8)](_0x52b41d));}[_0x1f2fa(0x5a7)](_0x3ac3c3,_0x50a58b=!0x1){const _0x167057=_0x1f2fa,_0xb0a3a6=this[_0x167057(0x1a4)][_0x167057(0x387)]('subunit');_0x3ac3c3[_0x167057(0x2d3)]()!==_0xb0a3a6&&this['_urlService'][_0x167057(0x318)](_0x167057(0x3d9),_0x3ac3c3[_0x167057(0x2d3)](),_0x50a58b);}async[_0x1f2fa(0x4c8)](_0x121fb6){const _0x89a7b=_0x1f2fa;var _0x3975c4;const _0xe6bb4d=this[_0x89a7b(0x1a4)]['getParam'](_0x89a7b(0x3d9));if(!_0xe6bb4d||!_0x121fb6[_0x89a7b(0x1ea)](_0xe6bb4d)){const _0xbcdc44=_0x121fb6[_0x89a7b(0x495)]()[0x0],_0x5428d4=_0x121fb6[_0x89a7b(0x1ea)](_0xbcdc44);if(!_0x5428d4)return;this[_0x89a7b(0x5a7)](_0x5428d4,!0x0),await this[_0x89a7b(0x5ab)][_0x89a7b(0x3fa)](k[_0x89a7b(0x3a2)]['id'],{'unitId':_0x121fb6[_0x89a7b(0x4ea)](),'subUnitId':_0xbcdc44});return;}((_0x3975c4=_0x121fb6[_0x89a7b(0x1db)]())==null?void 0x0:_0x3975c4['getSheetId']())!==_0xe6bb4d&&await this[_0x89a7b(0x5ab)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x121fb6[_0x89a7b(0x4ea)](),'subUnitId':_0xe6bb4d});}async[_0x1f2fa(0x37b)](_0x42b5f3){const _0x29c347=_0x1f2fa;let _0x19f4e9=0x0;const _0x1e1f4b=await this[_0x29c347(0x346)][_0x29c347(0x5f6)](_0x42b5f3);return _0x1e1f4b&&(_0x1e1f4b[_0x29c347(0x4d8)]||_0x1e1f4b[_0x29c347(0x456)][_0x29c347(0x339)]!==0x0)&&(_0x19f4e9=_0x1e1f4b[_0x29c347(0x4f9)]),_0x19f4e9===0x0&&this['_logService']['debug'](_0x29c347(0x2b3),_0x29c347(0x3f5)),this['_snapshotService'][_0x29c347(0x1c9)](_0x42b5f3,_0x19f4e9);}async['_loadDoc'](_0x2a3b19){const _0x826a5d=_0x1f2fa;let _0x14bb55=0x0;const _0x3dce6d=await this[_0x826a5d(0x346)][_0x826a5d(0x5f6)](_0x2a3b19);return _0x3dce6d&&(_0x3dce6d[_0x826a5d(0x4d8)]||_0x3dce6d['mutations'][_0x826a5d(0x339)]!==0x0)&&(_0x14bb55=_0x3dce6d[_0x826a5d(0x4f9)]),_0x14bb55===0x0&&this[_0x826a5d(0x1d8)][_0x826a5d(0x4fc)](_0x826a5d(0x2b3),_0x826a5d(0x3f5)),this[_0x826a5d(0x4e2)][_0x826a5d(0x39f)](_0x2a3b19,_0x14bb55);}},exports['DataLoaderController']=Ks([Te(0x0,wt),Te(0x1,a[_0x1f2fa(0x1af)]),Te(0x2,a['ICommandService']),Te(0x3,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x333)])),Te(0x4,a[_0x1f2fa(0x28d)](S['SnapshotService'])),Te(0x5,a['Optional']($n[_0x1f2fa(0x198)]))],exports[_0x1f2fa(0x33c)]);var qs=Object['defineProperty'],zs=Object[_0x1f2fa(0x40d)],Xs=(_0x29ad48,_0x4e8dd0,_0x3cb1b1,_0x4bd3b1)=>{const _0x108587=_0x1f2fa;for(var _0x34a71b=_0x4bd3b1>0x1?void 0x0:_0x4bd3b1?zs(_0x4e8dd0,_0x3cb1b1):_0x4e8dd0,_0x3f1d06=_0x29ad48[_0x108587(0x339)]-0x1,_0x376c1f;_0x3f1d06>=0x0;_0x3f1d06--)(_0x376c1f=_0x29ad48[_0x3f1d06])&&(_0x34a71b=(_0x4bd3b1?_0x376c1f(_0x4e8dd0,_0x3cb1b1,_0x34a71b):_0x376c1f(_0x34a71b))||_0x34a71b);return _0x4bd3b1&&_0x34a71b&&qs(_0x4e8dd0,_0x3cb1b1,_0x34a71b),_0x34a71b;},kt=(_0x5b7e2f,_0x14c7f6)=>(_0x134391,_0x239aee)=>_0x14c7f6(_0x134391,_0x239aee,_0x5b7e2f);const Js=_0x1f2fa(0x282),Zs=_0x1f2fa(0x55b);let Ve=class extends a[_0x1f2fa(0x1d6)]{constructor(_0xc31496,_0x99919b){const _0x530c5b=_0x1f2fa;super(),this[_0x530c5b(0x51c)]=_0xc31496,this['_configService']=_0x99919b,this[_0x530c5b(0x48d)]();}[_0x1f2fa(0x48d)](){const _0x2c5081=_0x1f2fa;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x2c5081(0x25e)](()=>{const _0x2a9f08=_0x2c5081;var _0x4d215a;const _0xf489cb=this[_0x2a9f08(0x51c)]['getFocusedUnit']();let _0x1ae17f=(_0x4d215a=this[_0x2a9f08(0x499)][_0x2a9f08(0x546)](Js))!=null?_0x4d215a:Zs;_0xf489cb instanceof a['Workbook']&&(_0x1ae17f=_0xf489cb[_0x2a9f08(0x228)]),document[_0x2a9f08(0x4ac)]=_0x1ae17f;}));}};Ve=Xs([kt(0x0,a[_0x1f2fa(0x562)]),kt(0x1,a[_0x1f2fa(0x1b0)])],Ve);var Qs=Object[_0x1f2fa(0x4e5)],er=Object[_0x1f2fa(0x40d)],tr=(_0x19e90d,_0xe8fcc0,_0x26aedc,_0x6d0a9f)=>{for(var _0x2910c2=_0x6d0a9f>0x1?void 0x0:_0x6d0a9f?er(_0xe8fcc0,_0x26aedc):_0xe8fcc0,_0x57a987=_0x19e90d['length']-0x1,_0x22dfc8;_0x57a987>=0x0;_0x57a987--)(_0x22dfc8=_0x19e90d[_0x57a987])&&(_0x2910c2=(_0x6d0a9f?_0x22dfc8(_0xe8fcc0,_0x26aedc,_0x2910c2):_0x22dfc8(_0x2910c2))||_0x2910c2);return _0x6d0a9f&&_0x2910c2&&Qs(_0xe8fcc0,_0x26aedc,_0x2910c2),_0x2910c2;},at=(_0x2d4575,_0x21ef4c)=>(_0x16753a,_0x3f98b8)=>_0x21ef4c(_0x16753a,_0x3f98b8,_0x2d4575);let Ge=class{constructor(_0x3a43c1,_0x34ba12,_0x319844){const _0x5e3015=_0x1f2fa;this[_0x5e3015(0x499)]=_0x3a43c1,this[_0x5e3015(0x3e8)]=_0x34ba12,this[_0x5e3015(0x599)]=_0x319844,this[_0x5e3015(0x485)]();}['init'](){const _0x548397=_0x1f2fa;this[_0x548397(0x3e8)][_0x548397(0x5f8)]({'priority':0x1,'interceptor':(_0x53b20c,_0x592b55)=>_0x592b55(_0x53b20c)['pipe'](A['concatMap'](async _0x291aaf=>{const _0x5b335f=_0x548397,_0x1f7213=_0x291aaf;if(_0x1f7213[_0x5b335f(0x286)]===0x191&&window[_0x5b335f(0x5ae)](this[_0x5b335f(0x599)]['t'](_0x5b335f(0x59a)))){const _0x225b55=window[_0x5b335f(0x508)](window[_0x5b335f(0x283)][_0x5b335f(0x538)]);window[_0x5b335f(0x283)][_0x5b335f(0x538)]=this[_0x5b335f(0x446)]()+_0x5b335f(0x50d)+_0x225b55;}return _0x1f7213;}))});}[_0x1f2fa(0x446)](){const _0x650552=_0x1f2fa;var _0x1517bd,_0x47a09c;const _0x50777c=this['_configService'][_0x650552(0x546)](an),_0x2afce7=this[_0x650552(0x499)][_0x650552(0x546)](te);return(_0x47a09c=(_0x1517bd=_0x2afce7==null?void 0x0:_0x2afce7[_0x650552(0x5fb)])!=null?_0x1517bd:_0x50777c)!=null?_0x47a09c:qn;}};Ge=tr([at(0x0,a['IConfigService']),at(0x1,a['Inject'](Z[_0x1f2fa(0x516)])),at(0x2,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x537)]))],Ge);var nr=Object[_0x1f2fa(0x4e5)],ir=Object[_0x1f2fa(0x40d)],sr=(_0x712618,_0x519b94,_0x43f2b6,_0x3d3ded)=>{const _0xfc0986=_0x1f2fa;for(var _0x18b320=_0x3d3ded>0x1?void 0x0:_0x3d3ded?ir(_0x519b94,_0x43f2b6):_0x519b94,_0x268991=_0x712618[_0xfc0986(0x339)]-0x1,_0x68a2eb;_0x268991>=0x0;_0x268991--)(_0x68a2eb=_0x712618[_0x268991])&&(_0x18b320=(_0x3d3ded?_0x68a2eb(_0x519b94,_0x43f2b6,_0x18b320):_0x68a2eb(_0x18b320))||_0x18b320);return _0x3d3ded&&_0x18b320&&nr(_0x519b94,_0x43f2b6,_0x18b320),_0x18b320;},Wt=(_0x4efdbf,_0x2ef304)=>(_0x4c0415,_0x1b0809)=>_0x2ef304(_0x4c0415,_0x1b0809,_0x4efdbf);const Rn=_0x1f2fa(0x2a7),rr='/universer-api/authz';exports[_0x1f2fa(0x175)]=class extends a[_0x1f2fa(0x1d6)]{constructor(_0x18cf58,_0x2d0c6c){const _0x53e3ae=_0x1f2fa;super(),this[_0x53e3ae(0x4bf)]=_0x18cf58,this[_0x53e3ae(0x499)]=_0x2d0c6c,this[_0x53e3ae(0x360)]();}[_0x1f2fa(0x360)](){const _0x491964=_0x1f2fa,_0x2e4181=this;this[_0x491964(0x305)](this[_0x491964(0x4bf)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Z['MergeInterceptorFactory']({'isMatch'(_0xe9ab40){const _0x324f22=_0x491964;var _0x35667c;if(_0xe9ab40[_0x324f22(0x4ec)]===_0x324f22(0x202)&&((_0x35667c=_0xe9ab40[_0x324f22(0x41c)])!=null&&_0x35667c[_0x324f22(0x26d)])){const {objectID:_0x131c81,objectType:_0x3dc8ed}=_0xe9ab40[_0x324f22(0x41c)][_0x324f22(0x26d)]||{};if(!_0x131c81||_0x3dc8ed===void 0x0)return!0x1;const _0x484f0d=_0x2e4181[_0x324f22(0x420)]()+'/'+_0x3dc8ed+'/object/'+_0x131c81+'/allowed';if(_0xe9ab40[_0x324f22(0x459)]===_0x484f0d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x555986){const _0x2c23a8=_0x491964;var _0x45ade7;return(_0x45ade7=_0x555986[_0x2c23a8(0x41c)])==null?void 0x0:_0x45ade7[_0x2c23a8(0x26d)];},'mergeParamsToRequest'(_0x9f11cf,_0x349783){const _0xcf892c=_0x491964,_0x10dbd9=_0x2e4181[_0xcf892c(0x420)]()+_0xcf892c(0x25d),_0x137a3c=_0x9f11cf[_0xcf892c(0x1cf)]((_0x2fcecc,_0x3a3c0b)=>{const _0x468a36=_0xcf892c,{unitID:_0x4bb0f8,objectID:_0x50f158,objectType:_0x3d4c9f,actions:_0x1d0755}=_0x3a3c0b;return _0x2fcecc[_0x4bb0f8]||(_0x2fcecc[_0x4bb0f8]={}),_0x2fcecc[_0x4bb0f8][_0x50f158]||(_0x2fcecc[_0x4bb0f8][_0x50f158]={'objectID':_0x50f158,'objectType':_0x3d4c9f,'actions':[]}),_0x2fcecc[_0x4bb0f8][_0x50f158][_0x468a36(0x331)]['push'](..._0x1d0755),_0x2fcecc;},{}),_0x12b1cc=[];for(const _0x664f14 in _0x137a3c)for(const _0x3916d1 in _0x137a3c[_0x664f14]){const {actions:_0x2327ff,objectType:_0x572ce2}=_0x137a3c[_0x664f14][_0x3916d1],_0x1051af=[...new Set(_0x2327ff)];_0x12b1cc[_0xcf892c(0x19c)]({'unitID':_0x664f14,'objectID':_0x3916d1,'objectType':_0x572ce2,'actions':_0x1051af});}return new Z[(_0xcf892c(0x390))]('POST',_0x10dbd9,{'headers':_0x349783[_0xcf892c(0x29f)],'withCredentials':_0x349783[_0xcf892c(0x5c8)],'responseType':_0x349783[_0xcf892c(0x166)],'body':{'requests':_0x12b1cc}});}},{'distributeResult'(_0x5331d1,_0x202d64){const _0x1f364a=_0x491964,{objectActions:_0x4d2c94}=_0x5331d1;return _0x202d64[_0x1f364a(0x50e)](_0x1e215a=>{const _0x34ead3=_0x1f364a,{unitID:_0x76f116,objectID:_0x3341ec,actions:_0x25f1aa}=_0x1e215a,_0x354cfa=_0x4d2c94[_0x34ead3(0x4f6)](_0x118aaf=>_0x118aaf[_0x34ead3(0x604)]===_0x76f116&&_0x118aaf[_0x34ead3(0x229)]===_0x3341ec),_0x5950eb=_0x25f1aa[_0x34ead3(0x50e)](_0x553599=>_0x354cfa==null?void 0x0:_0x354cfa[_0x34ead3(0x331)][_0x34ead3(0x4f6)](_0x352471=>_0x352471[_0x34ead3(0x1c4)]===_0x553599))[_0x34ead3(0x3db)](_0x1409cb=>!!_0x1409cb);return{'config':_0x1e215a,'result':{'actions':_0x5950eb,'error':_0x5331d1[_0x34ead3(0x2d0)]}};});}})}));}[_0x1f2fa(0x420)](){const _0x221ef2=_0x1f2fa;var _0x3d4185,_0x406126;const _0xfd838b=this['_configService'][_0x221ef2(0x546)](Rn),_0x322761=this['_configService'][_0x221ef2(0x546)](te);return(_0x406126=(_0x3d4185=_0x322761==null?void 0x0:_0x322761['authzUrl'])!=null?_0x3d4185:_0xfd838b)!=null?_0x406126:rr;}async[_0x1f2fa(0x21e)](_0x5dcb72){const _0x31def5=_0x1f2fa,_0x4f1b1a=this['_getAPIPrefixPath']()+'/'+_0x5dcb72[_0x31def5(0x23b)]+'/object';return(await this[_0x31def5(0x4bf)][_0x31def5(0x43a)](_0x4f1b1a,{'body':_0x5dcb72}))['body'][_0x31def5(0x229)]||'';}async[_0x1f2fa(0x2b2)](_0xf2695){const _0x1ed9da=_0x1f2fa,_0x39ed8d=this[_0x1ed9da(0x420)]()+_0x1ed9da(0x183);return(await this[_0x1ed9da(0x4bf)][_0x1ed9da(0x43a)](_0x39ed8d,{'body':_0xf2695}))['body']['objects'];}async[_0x1f2fa(0x193)](_0x53fc23){const _0x3e4f3f=_0x1f2fa,_0x256b4c=this[_0x3e4f3f(0x420)]()+'/'+_0x53fc23[_0x3e4f3f(0x23b)]+_0x3e4f3f(0x4fb)+_0x53fc23[_0x3e4f3f(0x229)];await this[_0x3e4f3f(0x4bf)][_0x3e4f3f(0x1b2)](_0x256b4c,{'body':_0x53fc23});}async['allowed'](_0x15866b){const _0x57ccec=_0x1f2fa,_0x319ccc=this[_0x57ccec(0x420)]()+'/'+_0x15866b[_0x57ccec(0x23b)]+_0x57ccec(0x4fb)+_0x15866b[_0x57ccec(0x229)]+_0x57ccec(0x1aa);return(await this[_0x57ccec(0x4bf)]['post'](_0x319ccc,{'body':_0x15866b}))[_0x57ccec(0x26d)][_0x57ccec(0x331)];}async[_0x1f2fa(0x314)](_0x349501){const _0x366124=_0x1f2fa,_0xc12965=this[_0x366124(0x420)]()+_0x366124(0x25d);return(await this[_0x366124(0x4bf)][_0x366124(0x43a)](_0xc12965,{'body':{'requests':_0x349501}}))['body'][_0x366124(0x5b3)];}async[_0x1f2fa(0x4d3)](_0x4e2a4a){const _0x4bcb7a=_0x1f2fa,_0x8be236=this[_0x4bcb7a(0x420)]()+'/'+_0x4e2a4a[_0x4bcb7a(0x23b)]+'/role',_0x253f88=await this[_0x4bcb7a(0x4bf)][_0x4bcb7a(0x43a)](_0x8be236,{'body':_0x4e2a4a});return{'roles':_0x253f88[_0x4bcb7a(0x26d)][_0x4bcb7a(0x388)],'actions':_0x253f88[_0x4bcb7a(0x26d)]['actions']};}async[_0x1f2fa(0x21b)](_0x502f6c){const _0x5453fd=_0x1f2fa,_0x4559fd=this[_0x5453fd(0x420)]()+_0x5453fd(0x36b);await this[_0x5453fd(0x4bf)]['delete'](_0x4559fd,{'params':{'collaboratorID':_0x502f6c[_0x5453fd(0x55d)],'objectID':_0x502f6c[_0x5453fd(0x229)],'unitID':_0x502f6c[_0x5453fd(0x604)]}});}async[_0x1f2fa(0x59f)](_0x14396c){const _0x315aab=_0x1f2fa,_0x4d1910=this['_getAPIPrefixPath']()+_0x315aab(0x36b);await this[_0x315aab(0x4bf)][_0x315aab(0x52f)](_0x4d1910,{'body':_0x14396c});}async['createCollaborator'](_0x5e8a4b){const _0x579897=_0x1f2fa,_0x54a964=this[_0x579897(0x420)]()+_0x579897(0x36b);await this['_HTTPService']['post'](_0x54a964,{'body':_0x5e8a4b});}async[_0x1f2fa(0x494)](_0x2291c9){const _0x170af9=_0x1f2fa,_0xee494=this['_getAPIPrefixPath']()+_0x170af9(0x36b);return(await this['_HTTPService'][_0x170af9(0x2f6)](_0xee494,{'params':{'objectID':_0x2291c9[_0x170af9(0x229)],'unitID':_0x2291c9['unitID']}}))[_0x170af9(0x26d)][_0x170af9(0x540)];}async[_0x1f2fa(0x4f4)](_0x201465){const _0x396a05=_0x1f2fa,_0x12cfc2=this[_0x396a05(0x420)]()+_0x396a05(0x36b);await this[_0x396a05(0x4bf)][_0x396a05(0x1b2)](_0x12cfc2,{'body':_0x201465});}},exports[_0x1f2fa(0x175)]=sr([Wt(0x0,a[_0x1f2fa(0x28d)](Z[_0x1f2fa(0x516)])),Wt(0x1,a['Inject'](a[_0x1f2fa(0x1b0)]))],exports[_0x1f2fa(0x175)]);var yn={'exports':{}};function or(_0x18694f){const _0x51d109=_0x1f2fa;throw new Error(_0x51d109(0x3dd)+_0x18694f+_0x51d109(0x2c3));}var ct={'exports':{}},Ft;function oe(){const _0x2fef41=_0x1f2fa;return Ft||(Ft=0x1,function(_0x3d7e7a,_0x323fff){(function(_0x2f5c28,_0x2a7ec6){const _0x49d746=_0x3f71;_0x3d7e7a[_0x49d746(0x4b1)]=_0x2a7ec6();}(X,function(){var _0x4b679c=_0x4b679c||function(_0x51e892,_0x44e9b2){const _0x4f3cce=_0x3f71;var _0x2eee42;if(typeof window<'u'&&window['crypto']&&(_0x2eee42=window[_0x4f3cce(0x376)]),typeof self<'u'&&self[_0x4f3cce(0x376)]&&(_0x2eee42=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4f3cce(0x376)]&&(_0x2eee42=globalThis[_0x4f3cce(0x376)]),!_0x2eee42&&typeof window<'u'&&window[_0x4f3cce(0x1b9)]&&(_0x2eee42=window[_0x4f3cce(0x1b9)]),!_0x2eee42&&typeof X<'u'&&X['crypto']&&(_0x2eee42=X['crypto']),!_0x2eee42&&typeof or==_0x4f3cce(0x323))try{_0x2eee42=require(_0x4f3cce(0x376));}catch{}var _0x5d2072=function(){const _0x175ea=_0x4f3cce;if(_0x2eee42){if(typeof _0x2eee42['getRandomValues']=='function')try{return _0x2eee42[_0x175ea(0x168)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2eee42[_0x175ea(0x4b0)]==_0x175ea(0x323))try{return _0x2eee42['randomBytes'](0x4)[_0x175ea(0x18b)]();}catch{}}throw new Error(_0x175ea(0x50a));},_0x1ca1ba=Object[_0x4f3cce(0x21e)]||(function(){function _0x405cfe(){}return function(_0x16de25){const _0x2b2b57=_0x3f71;var _0x2cb302;return _0x405cfe[_0x2b2b57(0x42a)]=_0x16de25,_0x2cb302=new _0x405cfe(),_0x405cfe[_0x2b2b57(0x42a)]=null,_0x2cb302;};}()),_0x540237={},_0x3ceec7=_0x540237[_0x4f3cce(0x56f)]={},_0x26415c=_0x3ceec7[_0x4f3cce(0x4ef)]=(function(){return{'extend':function(_0x5ec0f4){const _0x4ad3e9=_0x3f71;var _0x35ad88=_0x1ca1ba(this);return _0x5ec0f4&&_0x35ad88['mixIn'](_0x5ec0f4),(!_0x35ad88[_0x4ad3e9(0x3f7)](_0x4ad3e9(0x485))||this[_0x4ad3e9(0x485)]===_0x35ad88[_0x4ad3e9(0x485)])&&(_0x35ad88[_0x4ad3e9(0x485)]=function(){const _0x327132=_0x4ad3e9;_0x35ad88['$super'][_0x327132(0x485)]['apply'](this,arguments);}),_0x35ad88[_0x4ad3e9(0x485)][_0x4ad3e9(0x42a)]=_0x35ad88,_0x35ad88[_0x4ad3e9(0x3c6)]=this,_0x35ad88;},'create':function(){const _0x1adc31=_0x3f71;var _0x260d40=this['extend']();return _0x260d40[_0x1adc31(0x485)][_0x1adc31(0x19a)](_0x260d40,arguments),_0x260d40;},'init':function(){},'mixIn':function(_0x56a042){const _0x3cf8d7=_0x3f71;for(var _0x50263 in _0x56a042)_0x56a042['hasOwnProperty'](_0x50263)&&(this[_0x50263]=_0x56a042[_0x50263]);_0x56a042[_0x3cf8d7(0x3f7)](_0x3cf8d7(0x353))&&(this['toString']=_0x56a042[_0x3cf8d7(0x353)]);},'clone':function(){const _0x4f590d=_0x3f71;return this['init'][_0x4f590d(0x42a)][_0x4f590d(0x30a)](this);}};}()),_0x91ca0f=_0x3ceec7['WordArray']=_0x26415c['extend']({'init':function(_0x4e89a2,_0x3aa5b0){const _0x333cbf=_0x4f3cce;_0x4e89a2=this['words']=_0x4e89a2||[],_0x3aa5b0!=_0x44e9b2?this['sigBytes']=_0x3aa5b0:this[_0x333cbf(0x2b8)]=_0x4e89a2[_0x333cbf(0x339)]*0x4;},'toString':function(_0x2c2075){const _0x321939=_0x4f3cce;return(_0x2c2075||_0x290fe5)[_0x321939(0x3f4)](this);},'concat':function(_0x50f209){const _0x220faf=_0x4f3cce;var _0x21a7f6=this[_0x220faf(0x464)],_0x2f9df9=_0x50f209[_0x220faf(0x464)],_0x192454=this[_0x220faf(0x2b8)],_0x5f16bd=_0x50f209[_0x220faf(0x2b8)];if(this[_0x220faf(0x419)](),_0x192454%0x4)for(var _0x5ac69a=0x0;_0x5ac69a<_0x5f16bd;_0x5ac69a++){var _0x13f846=_0x2f9df9[_0x5ac69a>>>0x2]>>>0x18-_0x5ac69a%0x4*0x8&0xff;_0x21a7f6[_0x192454+_0x5ac69a>>>0x2]|=_0x13f846<<0x18-(_0x192454+_0x5ac69a)%0x4*0x8;}else{for(var _0x5a428c=0x0;_0x5a428c<_0x5f16bd;_0x5a428c+=0x4)_0x21a7f6[_0x192454+_0x5a428c>>>0x2]=_0x2f9df9[_0x5a428c>>>0x2];}return this[_0x220faf(0x2b8)]+=_0x5f16bd,this;},'clamp':function(){const _0x116502=_0x4f3cce;var _0x5698ee=this[_0x116502(0x464)],_0x1f8cc4=this[_0x116502(0x2b8)];_0x5698ee[_0x1f8cc4>>>0x2]&=0xffffffff<<0x20-_0x1f8cc4%0x4*0x8,_0x5698ee[_0x116502(0x339)]=_0x51e892[_0x116502(0x45d)](_0x1f8cc4/0x4);},'clone':function(){const _0x24e6b3=_0x4f3cce;var _0x83bda5=_0x26415c[_0x24e6b3(0x553)][_0x24e6b3(0x575)](this);return _0x83bda5[_0x24e6b3(0x464)]=this['words'][_0x24e6b3(0x31f)](0x0),_0x83bda5;},'random':function(_0xe62ba2){const _0x1a8b7b=_0x4f3cce;for(var _0x466a80=[],_0x3059be=0x0;_0x3059be<_0xe62ba2;_0x3059be+=0x4)_0x466a80['push'](_0x5d2072());return new _0x91ca0f[(_0x1a8b7b(0x485))](_0x466a80,_0xe62ba2);}}),_0x2b054=_0x540237[_0x4f3cce(0x45b)]={},_0x290fe5=_0x2b054['Hex']={'stringify':function(_0x4f9256){const _0x17ea69=_0x4f3cce;for(var _0x553c9d=_0x4f9256[_0x17ea69(0x464)],_0x58e0ef=_0x4f9256[_0x17ea69(0x2b8)],_0x59a7aa=[],_0x1e1d02=0x0;_0x1e1d02<_0x58e0ef;_0x1e1d02++){var _0x5ce65f=_0x553c9d[_0x1e1d02>>>0x2]>>>0x18-_0x1e1d02%0x4*0x8&0xff;_0x59a7aa[_0x17ea69(0x19c)]((_0x5ce65f>>>0x4)[_0x17ea69(0x353)](0x10)),_0x59a7aa[_0x17ea69(0x19c)]((_0x5ce65f&0xf)['toString'](0x10));}return _0x59a7aa[_0x17ea69(0x3d1)]('');},'parse':function(_0x28f4ae){const _0x386449=_0x4f3cce;for(var _0x62009=_0x28f4ae['length'],_0x3ccc3d=[],_0x48f227=0x0;_0x48f227<_0x62009;_0x48f227+=0x2)_0x3ccc3d[_0x48f227>>>0x3]|=parseInt(_0x28f4ae['substr'](_0x48f227,0x2),0x10)<<0x18-_0x48f227%0x8*0x4;return new _0x91ca0f[(_0x386449(0x485))](_0x3ccc3d,_0x62009/0x2);}},_0x173138=_0x2b054[_0x4f3cce(0x22b)]={'stringify':function(_0x4408a5){const _0x37abe7=_0x4f3cce;for(var _0x5e60cd=_0x4408a5[_0x37abe7(0x464)],_0x527a2a=_0x4408a5[_0x37abe7(0x2b8)],_0x671975=[],_0x406ba1=0x0;_0x406ba1<_0x527a2a;_0x406ba1++){var _0x41ff84=_0x5e60cd[_0x406ba1>>>0x2]>>>0x18-_0x406ba1%0x4*0x8&0xff;_0x671975[_0x37abe7(0x19c)](String[_0x37abe7(0x5bf)](_0x41ff84));}return _0x671975[_0x37abe7(0x3d1)]('');},'parse':function(_0x435132){const _0x25ef25=_0x4f3cce;for(var _0x1bd861=_0x435132['length'],_0x159dd1=[],_0x56eed0=0x0;_0x56eed0<_0x1bd861;_0x56eed0++)_0x159dd1[_0x56eed0>>>0x2]|=(_0x435132[_0x25ef25(0x189)](_0x56eed0)&0xff)<<0x18-_0x56eed0%0x4*0x8;return new _0x91ca0f[(_0x25ef25(0x485))](_0x159dd1,_0x1bd861);}},_0x5b8568=_0x2b054[_0x4f3cce(0x357)]={'stringify':function(_0x4e4ac9){const _0x43f83c=_0x4f3cce;try{return decodeURIComponent(escape(_0x173138[_0x43f83c(0x3f4)](_0x4e4ac9)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x41263c){return _0x173138['parse'](unescape(encodeURIComponent(_0x41263c)));}},_0xe76b8e=_0x3ceec7['BufferedBlockAlgorithm']=_0x26415c[_0x4f3cce(0x30a)]({'reset':function(){const _0xd4b94=_0x4f3cce;this['_data']=new _0x91ca0f[(_0xd4b94(0x485))](),this[_0xd4b94(0x458)]=0x0;},'_append':function(_0x117bcd){const _0x53d82c=_0x4f3cce;typeof _0x117bcd=='string'&&(_0x117bcd=_0x5b8568[_0x53d82c(0x55a)](_0x117bcd)),this['_data'][_0x53d82c(0x273)](_0x117bcd),this['_nDataBytes']+=_0x117bcd[_0x53d82c(0x2b8)];},'_process':function(_0x346ac1){const _0x3a7b39=_0x4f3cce;var _0x3f895c,_0x595897=this[_0x3a7b39(0x29e)],_0x12201e=_0x595897[_0x3a7b39(0x464)],_0x38bdf7=_0x595897[_0x3a7b39(0x2b8)],_0x1f5b2c=this[_0x3a7b39(0x59b)],_0x2235d9=_0x1f5b2c*0x4,_0x2bbf80=_0x38bdf7/_0x2235d9;_0x346ac1?_0x2bbf80=_0x51e892[_0x3a7b39(0x45d)](_0x2bbf80):_0x2bbf80=_0x51e892[_0x3a7b39(0x4ce)]((_0x2bbf80|0x0)-this['_minBufferSize'],0x0);var _0x373166=_0x2bbf80*_0x1f5b2c,_0x53d516=_0x51e892['min'](_0x373166*0x4,_0x38bdf7);if(_0x373166){for(var _0x3f6973=0x0;_0x3f6973<_0x373166;_0x3f6973+=_0x1f5b2c)this[_0x3a7b39(0x179)](_0x12201e,_0x3f6973);_0x3f895c=_0x12201e[_0x3a7b39(0x563)](0x0,_0x373166),_0x595897[_0x3a7b39(0x2b8)]-=_0x53d516;}return new _0x91ca0f[(_0x3a7b39(0x485))](_0x3f895c,_0x53d516);},'clone':function(){const _0x38a726=_0x4f3cce;var _0x361984=_0x26415c[_0x38a726(0x553)][_0x38a726(0x575)](this);return _0x361984[_0x38a726(0x29e)]=this[_0x38a726(0x29e)][_0x38a726(0x553)](),_0x361984;},'_minBufferSize':0x0});_0x3ceec7[_0x4f3cce(0x5c1)]=_0xe76b8e[_0x4f3cce(0x30a)]({'cfg':_0x26415c[_0x4f3cce(0x30a)](),'init':function(_0x59fafd){const _0x12551f=_0x4f3cce;this['cfg']=this[_0x12551f(0x5d1)][_0x12551f(0x30a)](_0x59fafd),this['reset']();},'reset':function(){const _0x337dc3=_0x4f3cce;_0xe76b8e['reset'][_0x337dc3(0x575)](this),this['_doReset']();},'update':function(_0x57bc76){const _0x4d1eca=_0x4f3cce;return this[_0x4d1eca(0x1fe)](_0x57bc76),this[_0x4d1eca(0x4fe)](),this;},'finalize':function(_0x4e77a7){const _0x4de597=_0x4f3cce;_0x4e77a7&&this[_0x4de597(0x1fe)](_0x4e77a7);var _0x2eff35=this[_0x4de597(0x56c)]();return _0x2eff35;},'blockSize':0x10,'_createHelper':function(_0x18f53e){return function(_0x2e38f8,_0x54d2ba){const _0x38398e=_0x3f71;return new _0x18f53e[(_0x38398e(0x485))](_0x54d2ba)[_0x38398e(0x42f)](_0x2e38f8);};},'_createHmacHelper':function(_0x51ee42){return function(_0x314d7e,_0xaa563a){const _0x41f403=_0x3f71;return new _0x3da8fd[(_0x41f403(0x435))]['init'](_0x51ee42,_0xaa563a)[_0x41f403(0x42f)](_0x314d7e);};}});var _0x3da8fd=_0x540237[_0x4f3cce(0x3eb)]={};return _0x540237;}(Math);return _0x4b679c;}));}(ct)),ct[_0x2fef41(0x4b1)];}var lt={'exports':{}},Vt;function On(){const _0xba8452=_0x1f2fa;return Vt||(Vt=0x1,function(_0x3b3786,_0x128400){(function(_0x3e4d15,_0x5a79a9){_0x3b3786['exports']=_0x5a79a9(oe());}(X,function(_0x4b9165){const _0x305bf9=_0x3f71;return(function(){const _0x1e68fd=_0x3f71;var _0x51c60c=_0x4b9165,_0x369ceb=_0x51c60c['lib'],_0x451275=_0x369ceb[_0x1e68fd(0x27d)],_0x329043=_0x51c60c['enc'];_0x329043[_0x1e68fd(0x2c8)]={'stringify':function(_0x3760fb){const _0x15e137=_0x1e68fd;var _0x5c0368=_0x3760fb[_0x15e137(0x464)],_0x3e52fb=_0x3760fb[_0x15e137(0x2b8)],_0x378c35=this[_0x15e137(0x585)];_0x3760fb[_0x15e137(0x419)]();for(var _0x1c40d8=[],_0x130949=0x0;_0x130949<_0x3e52fb;_0x130949+=0x3)for(var _0x43485e=_0x5c0368[_0x130949>>>0x2]>>>0x18-_0x130949%0x4*0x8&0xff,_0x3155d7=_0x5c0368[_0x130949+0x1>>>0x2]>>>0x18-(_0x130949+0x1)%0x4*0x8&0xff,_0x31e873=_0x5c0368[_0x130949+0x2>>>0x2]>>>0x18-(_0x130949+0x2)%0x4*0x8&0xff,_0x12482c=_0x43485e<<0x10|_0x3155d7<<0x8|_0x31e873,_0x2fe130=0x0;_0x2fe130<0x4&&_0x130949+_0x2fe130*0.75<_0x3e52fb;_0x2fe130++)_0x1c40d8[_0x15e137(0x19c)](_0x378c35[_0x15e137(0x4d1)](_0x12482c>>>0x6*(0x3-_0x2fe130)&0x3f));var _0x394bec=_0x378c35[_0x15e137(0x4d1)](0x40);if(_0x394bec){for(;_0x1c40d8[_0x15e137(0x339)]%0x4;)_0x1c40d8[_0x15e137(0x19c)](_0x394bec);}return _0x1c40d8[_0x15e137(0x3d1)]('');},'parse':function(_0x594640){const _0x11f29f=_0x1e68fd;var _0x48cd5c=_0x594640[_0x11f29f(0x339)],_0x510a22=this[_0x11f29f(0x585)],_0x465e0c=this[_0x11f29f(0x410)];if(!_0x465e0c){_0x465e0c=this[_0x11f29f(0x410)]=[];for(var _0x1b8565=0x0;_0x1b8565<_0x510a22[_0x11f29f(0x339)];_0x1b8565++)_0x465e0c[_0x510a22[_0x11f29f(0x189)](_0x1b8565)]=_0x1b8565;}var _0x34a676=_0x510a22['charAt'](0x40);if(_0x34a676){var _0x85233f=_0x594640[_0x11f29f(0x2a1)](_0x34a676);_0x85233f!==-0x1&&(_0x48cd5c=_0x85233f);}return _0x34c1fa(_0x594640,_0x48cd5c,_0x465e0c);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x34c1fa(_0x2c368d,_0x1cf600,_0x5f065f){const _0x110915=_0x1e68fd;for(var _0x1871fe=[],_0x1d5446=0x0,_0x42c813=0x0;_0x42c813<_0x1cf600;_0x42c813++)if(_0x42c813%0x4){var _0x29a616=_0x5f065f[_0x2c368d[_0x110915(0x189)](_0x42c813-0x1)]<<_0x42c813%0x4*0x2,_0x22396d=_0x5f065f[_0x2c368d[_0x110915(0x189)](_0x42c813)]>>>0x6-_0x42c813%0x4*0x2,_0x3ad649=_0x29a616|_0x22396d;_0x1871fe[_0x1d5446>>>0x2]|=_0x3ad649<<0x18-_0x1d5446%0x4*0x8,_0x1d5446++;}return _0x451275[_0x110915(0x21e)](_0x1871fe,_0x1d5446);}}()),_0x4b9165[_0x305bf9(0x45b)][_0x305bf9(0x2c8)];}));}(lt)),lt[_0xba8452(0x4b1)];}var ht={'exports':{}},Gt;function ar(){const _0x1d91f5=_0x1f2fa;return Gt||(Gt=0x1,function(_0x3c8c4e,_0x3946db){(function(_0x35f4c4,_0x2db2f9){const _0x440adf=_0x3f71;_0x3c8c4e[_0x440adf(0x4b1)]=_0x2db2f9(oe());}(X,function(_0x5b258d){const _0x5df7ab=_0x3f71;return function(_0x21510e){const _0x2ccb51=_0x3f71;var _0x268372=_0x5b258d,_0x47242b=_0x268372[_0x2ccb51(0x56f)],_0x36ff64=_0x47242b['WordArray'],_0x357285=_0x47242b['Hasher'],_0x358865=_0x268372[_0x2ccb51(0x3eb)],_0x1494ce=[];(function(){const _0x26dc97=_0x2ccb51;for(var _0x5de0ca=0x0;_0x5de0ca<0x40;_0x5de0ca++)_0x1494ce[_0x5de0ca]=_0x21510e[_0x26dc97(0x413)](_0x21510e['sin'](_0x5de0ca+0x1))*0x100000000|0x0;}());var _0x45e30d=_0x358865[_0x2ccb51(0x3b0)]=_0x357285[_0x2ccb51(0x30a)]({'_doReset':function(){const _0x2ab718=_0x2ccb51;this[_0x2ab718(0x4cf)]=new _0x36ff64[(_0x2ab718(0x485))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x17e0a2,_0x5b99ff){const _0x1b8f89=_0x2ccb51;for(var _0x1752f1=0x0;_0x1752f1<0x10;_0x1752f1++){var _0x4e1ee8=_0x5b99ff+_0x1752f1,_0x50ae9a=_0x17e0a2[_0x4e1ee8];_0x17e0a2[_0x4e1ee8]=(_0x50ae9a<<0x8|_0x50ae9a>>>0x18)&0xff00ff|(_0x50ae9a<<0x18|_0x50ae9a>>>0x8)&0xff00ff00;}var _0x380e25=this[_0x1b8f89(0x4cf)][_0x1b8f89(0x464)],_0x4ce3ef=_0x17e0a2[_0x5b99ff+0x0],_0x2c3706=_0x17e0a2[_0x5b99ff+0x1],_0xe15175=_0x17e0a2[_0x5b99ff+0x2],_0x308477=_0x17e0a2[_0x5b99ff+0x3],_0x346fd5=_0x17e0a2[_0x5b99ff+0x4],_0x56bae4=_0x17e0a2[_0x5b99ff+0x5],_0x149ad8=_0x17e0a2[_0x5b99ff+0x6],_0x317477=_0x17e0a2[_0x5b99ff+0x7],_0xda8b31=_0x17e0a2[_0x5b99ff+0x8],_0x4cce2e=_0x17e0a2[_0x5b99ff+0x9],_0x102f64=_0x17e0a2[_0x5b99ff+0xa],_0x4ed735=_0x17e0a2[_0x5b99ff+0xb],_0x5eaccb=_0x17e0a2[_0x5b99ff+0xc],_0x3fb970=_0x17e0a2[_0x5b99ff+0xd],_0x521b8a=_0x17e0a2[_0x5b99ff+0xe],_0x20971d=_0x17e0a2[_0x5b99ff+0xf],_0x251979=_0x380e25[0x0],_0xc4167=_0x380e25[0x1],_0x482139=_0x380e25[0x2],_0x3edaf4=_0x380e25[0x3];_0x251979=_0x50312e(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x4ce3ef,0x7,_0x1494ce[0x0]),_0x3edaf4=_0x50312e(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x2c3706,0xc,_0x1494ce[0x1]),_0x482139=_0x50312e(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0xe15175,0x11,_0x1494ce[0x2]),_0xc4167=_0x50312e(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x308477,0x16,_0x1494ce[0x3]),_0x251979=_0x50312e(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x346fd5,0x7,_0x1494ce[0x4]),_0x3edaf4=_0x50312e(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x56bae4,0xc,_0x1494ce[0x5]),_0x482139=_0x50312e(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x149ad8,0x11,_0x1494ce[0x6]),_0xc4167=_0x50312e(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x317477,0x16,_0x1494ce[0x7]),_0x251979=_0x50312e(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0xda8b31,0x7,_0x1494ce[0x8]),_0x3edaf4=_0x50312e(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x4cce2e,0xc,_0x1494ce[0x9]),_0x482139=_0x50312e(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x102f64,0x11,_0x1494ce[0xa]),_0xc4167=_0x50312e(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x4ed735,0x16,_0x1494ce[0xb]),_0x251979=_0x50312e(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x5eaccb,0x7,_0x1494ce[0xc]),_0x3edaf4=_0x50312e(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x3fb970,0xc,_0x1494ce[0xd]),_0x482139=_0x50312e(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x521b8a,0x11,_0x1494ce[0xe]),_0xc4167=_0x50312e(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x20971d,0x16,_0x1494ce[0xf]),_0x251979=_0x637cc6(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x2c3706,0x5,_0x1494ce[0x10]),_0x3edaf4=_0x637cc6(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x149ad8,0x9,_0x1494ce[0x11]),_0x482139=_0x637cc6(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x4ed735,0xe,_0x1494ce[0x12]),_0xc4167=_0x637cc6(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x4ce3ef,0x14,_0x1494ce[0x13]),_0x251979=_0x637cc6(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x56bae4,0x5,_0x1494ce[0x14]),_0x3edaf4=_0x637cc6(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x102f64,0x9,_0x1494ce[0x15]),_0x482139=_0x637cc6(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x20971d,0xe,_0x1494ce[0x16]),_0xc4167=_0x637cc6(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x346fd5,0x14,_0x1494ce[0x17]),_0x251979=_0x637cc6(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x4cce2e,0x5,_0x1494ce[0x18]),_0x3edaf4=_0x637cc6(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x521b8a,0x9,_0x1494ce[0x19]),_0x482139=_0x637cc6(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x308477,0xe,_0x1494ce[0x1a]),_0xc4167=_0x637cc6(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0xda8b31,0x14,_0x1494ce[0x1b]),_0x251979=_0x637cc6(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x3fb970,0x5,_0x1494ce[0x1c]),_0x3edaf4=_0x637cc6(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0xe15175,0x9,_0x1494ce[0x1d]),_0x482139=_0x637cc6(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x317477,0xe,_0x1494ce[0x1e]),_0xc4167=_0x637cc6(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x5eaccb,0x14,_0x1494ce[0x1f]),_0x251979=_0x1664b0(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x56bae4,0x4,_0x1494ce[0x20]),_0x3edaf4=_0x1664b0(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0xda8b31,0xb,_0x1494ce[0x21]),_0x482139=_0x1664b0(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x4ed735,0x10,_0x1494ce[0x22]),_0xc4167=_0x1664b0(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x521b8a,0x17,_0x1494ce[0x23]),_0x251979=_0x1664b0(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x2c3706,0x4,_0x1494ce[0x24]),_0x3edaf4=_0x1664b0(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x346fd5,0xb,_0x1494ce[0x25]),_0x482139=_0x1664b0(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x317477,0x10,_0x1494ce[0x26]),_0xc4167=_0x1664b0(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x102f64,0x17,_0x1494ce[0x27]),_0x251979=_0x1664b0(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x3fb970,0x4,_0x1494ce[0x28]),_0x3edaf4=_0x1664b0(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x4ce3ef,0xb,_0x1494ce[0x29]),_0x482139=_0x1664b0(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x308477,0x10,_0x1494ce[0x2a]),_0xc4167=_0x1664b0(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x149ad8,0x17,_0x1494ce[0x2b]),_0x251979=_0x1664b0(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x4cce2e,0x4,_0x1494ce[0x2c]),_0x3edaf4=_0x1664b0(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x5eaccb,0xb,_0x1494ce[0x2d]),_0x482139=_0x1664b0(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x20971d,0x10,_0x1494ce[0x2e]),_0xc4167=_0x1664b0(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0xe15175,0x17,_0x1494ce[0x2f]),_0x251979=_0x46efa9(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x4ce3ef,0x6,_0x1494ce[0x30]),_0x3edaf4=_0x46efa9(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x317477,0xa,_0x1494ce[0x31]),_0x482139=_0x46efa9(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x521b8a,0xf,_0x1494ce[0x32]),_0xc4167=_0x46efa9(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x56bae4,0x15,_0x1494ce[0x33]),_0x251979=_0x46efa9(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x5eaccb,0x6,_0x1494ce[0x34]),_0x3edaf4=_0x46efa9(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x308477,0xa,_0x1494ce[0x35]),_0x482139=_0x46efa9(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x102f64,0xf,_0x1494ce[0x36]),_0xc4167=_0x46efa9(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x2c3706,0x15,_0x1494ce[0x37]),_0x251979=_0x46efa9(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0xda8b31,0x6,_0x1494ce[0x38]),_0x3edaf4=_0x46efa9(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x20971d,0xa,_0x1494ce[0x39]),_0x482139=_0x46efa9(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0x149ad8,0xf,_0x1494ce[0x3a]),_0xc4167=_0x46efa9(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x3fb970,0x15,_0x1494ce[0x3b]),_0x251979=_0x46efa9(_0x251979,_0xc4167,_0x482139,_0x3edaf4,_0x346fd5,0x6,_0x1494ce[0x3c]),_0x3edaf4=_0x46efa9(_0x3edaf4,_0x251979,_0xc4167,_0x482139,_0x4ed735,0xa,_0x1494ce[0x3d]),_0x482139=_0x46efa9(_0x482139,_0x3edaf4,_0x251979,_0xc4167,_0xe15175,0xf,_0x1494ce[0x3e]),_0xc4167=_0x46efa9(_0xc4167,_0x482139,_0x3edaf4,_0x251979,_0x4cce2e,0x15,_0x1494ce[0x3f]),_0x380e25[0x0]=_0x380e25[0x0]+_0x251979|0x0,_0x380e25[0x1]=_0x380e25[0x1]+_0xc4167|0x0,_0x380e25[0x2]=_0x380e25[0x2]+_0x482139|0x0,_0x380e25[0x3]=_0x380e25[0x3]+_0x3edaf4|0x0;},'_doFinalize':function(){const _0x161e76=_0x2ccb51;var _0x5e98c3=this[_0x161e76(0x29e)],_0x5e5faa=_0x5e98c3[_0x161e76(0x464)],_0x5c6961=this[_0x161e76(0x458)]*0x8,_0x2c9c02=_0x5e98c3[_0x161e76(0x2b8)]*0x8;_0x5e5faa[_0x2c9c02>>>0x5]|=0x80<<0x18-_0x2c9c02%0x20;var _0x584053=_0x21510e['floor'](_0x5c6961/0x100000000),_0xd28421=_0x5c6961;_0x5e5faa[(_0x2c9c02+0x40>>>0x9<<0x4)+0xf]=(_0x584053<<0x8|_0x584053>>>0x18)&0xff00ff|(_0x584053<<0x18|_0x584053>>>0x8)&0xff00ff00,_0x5e5faa[(_0x2c9c02+0x40>>>0x9<<0x4)+0xe]=(_0xd28421<<0x8|_0xd28421>>>0x18)&0xff00ff|(_0xd28421<<0x18|_0xd28421>>>0x8)&0xff00ff00,_0x5e98c3[_0x161e76(0x2b8)]=(_0x5e5faa['length']+0x1)*0x4,this['_process']();for(var _0x3fec3b=this[_0x161e76(0x4cf)],_0x13e89f=_0x3fec3b[_0x161e76(0x464)],_0x2b1ed6=0x0;_0x2b1ed6<0x4;_0x2b1ed6++){var _0x2aac64=_0x13e89f[_0x2b1ed6];_0x13e89f[_0x2b1ed6]=(_0x2aac64<<0x8|_0x2aac64>>>0x18)&0xff00ff|(_0x2aac64<<0x18|_0x2aac64>>>0x8)&0xff00ff00;}return _0x3fec3b;},'clone':function(){const _0xb87d2d=_0x2ccb51;var _0x10c49e=_0x357285[_0xb87d2d(0x553)]['call'](this);return _0x10c49e['_hash']=this[_0xb87d2d(0x4cf)][_0xb87d2d(0x553)](),_0x10c49e;}});function _0x50312e(_0x3677eb,_0x167aef,_0x52387,_0x4ddd86,_0x17ff70,_0xe4d8b9,_0x422777){var _0x19bc24=_0x3677eb+(_0x167aef&_0x52387|~_0x167aef&_0x4ddd86)+_0x17ff70+_0x422777;return(_0x19bc24<<_0xe4d8b9|_0x19bc24>>>0x20-_0xe4d8b9)+_0x167aef;}function _0x637cc6(_0x580ddf,_0x130444,_0x29f63a,_0x15551d,_0x255c40,_0x4e812c,_0x1b6f22){var _0x2cb469=_0x580ddf+(_0x130444&_0x15551d|_0x29f63a&~_0x15551d)+_0x255c40+_0x1b6f22;return(_0x2cb469<<_0x4e812c|_0x2cb469>>>0x20-_0x4e812c)+_0x130444;}function _0x1664b0(_0x173b10,_0x44fc86,_0x927f7f,_0x162c34,_0x1cc664,_0x5b9413,_0x36f44f){var _0x1f506a=_0x173b10+(_0x44fc86^_0x927f7f^_0x162c34)+_0x1cc664+_0x36f44f;return(_0x1f506a<<_0x5b9413|_0x1f506a>>>0x20-_0x5b9413)+_0x44fc86;}function _0x46efa9(_0x473b57,_0x523e59,_0x3aa86d,_0x4d539a,_0x5b0d02,_0x40df35,_0x409586){var _0x3237d0=_0x473b57+(_0x3aa86d^(_0x523e59|~_0x4d539a))+_0x5b0d02+_0x409586;return(_0x3237d0<<_0x40df35|_0x3237d0>>>0x20-_0x40df35)+_0x523e59;}_0x268372[_0x2ccb51(0x3b0)]=_0x357285[_0x2ccb51(0x3fc)](_0x45e30d),_0x268372[_0x2ccb51(0x5e9)]=_0x357285[_0x2ccb51(0x400)](_0x45e30d);}(Math),_0x5b258d[_0x5df7ab(0x3b0)];}));}(ht)),ht[_0x1d91f5(0x4b1)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x1730d1=_0x1f2fa;return Yt||(Yt=0x1,function(_0x5c4368,_0x288ce){(function(_0x5c1ddb,_0x490e7b){const _0x4a697b=_0x3f71;_0x5c4368[_0x4a697b(0x4b1)]=_0x490e7b(oe());}(X,function(_0x223564){const _0x4ad2d6=_0x3f71;return(function(){const _0x4def38=_0x3f71;var _0x49823e=_0x223564,_0x4469a8=_0x49823e['lib'],_0xe98359=_0x4469a8[_0x4def38(0x27d)],_0x217dc0=_0x4469a8[_0x4def38(0x5c1)],_0x20b25c=_0x49823e[_0x4def38(0x3eb)],_0x337a28=[],_0x163e65=_0x20b25c[_0x4def38(0x1b5)]=_0x217dc0[_0x4def38(0x30a)]({'_doReset':function(){const _0x2c2ddd=_0x4def38;this[_0x2c2ddd(0x4cf)]=new _0xe98359[(_0x2c2ddd(0x485))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5c645d,_0x275848){const _0x3ce7b8=_0x4def38;for(var _0x23bd39=this['_hash'][_0x3ce7b8(0x464)],_0x481f1f=_0x23bd39[0x0],_0x55f531=_0x23bd39[0x1],_0x18b6ef=_0x23bd39[0x2],_0x1068af=_0x23bd39[0x3],_0x52f199=_0x23bd39[0x4],_0x8c4d43=0x0;_0x8c4d43<0x50;_0x8c4d43++){if(_0x8c4d43<0x10)_0x337a28[_0x8c4d43]=_0x5c645d[_0x275848+_0x8c4d43]|0x0;else{var _0x5ebb03=_0x337a28[_0x8c4d43-0x3]^_0x337a28[_0x8c4d43-0x8]^_0x337a28[_0x8c4d43-0xe]^_0x337a28[_0x8c4d43-0x10];_0x337a28[_0x8c4d43]=_0x5ebb03<<0x1|_0x5ebb03>>>0x1f;}var _0x2c082c=(_0x481f1f<<0x5|_0x481f1f>>>0x1b)+_0x52f199+_0x337a28[_0x8c4d43];_0x8c4d43<0x14?_0x2c082c+=(_0x55f531&_0x18b6ef|~_0x55f531&_0x1068af)+0x5a827999:_0x8c4d43<0x28?_0x2c082c+=(_0x55f531^_0x18b6ef^_0x1068af)+0x6ed9eba1:_0x8c4d43<0x3c?_0x2c082c+=(_0x55f531&_0x18b6ef|_0x55f531&_0x1068af|_0x18b6ef&_0x1068af)-0x70e44324:_0x2c082c+=(_0x55f531^_0x18b6ef^_0x1068af)-0x359d3e2a,_0x52f199=_0x1068af,_0x1068af=_0x18b6ef,_0x18b6ef=_0x55f531<<0x1e|_0x55f531>>>0x2,_0x55f531=_0x481f1f,_0x481f1f=_0x2c082c;}_0x23bd39[0x0]=_0x23bd39[0x0]+_0x481f1f|0x0,_0x23bd39[0x1]=_0x23bd39[0x1]+_0x55f531|0x0,_0x23bd39[0x2]=_0x23bd39[0x2]+_0x18b6ef|0x0,_0x23bd39[0x3]=_0x23bd39[0x3]+_0x1068af|0x0,_0x23bd39[0x4]=_0x23bd39[0x4]+_0x52f199|0x0;},'_doFinalize':function(){const _0x1cf6f9=_0x4def38;var _0x5b4814=this['_data'],_0x5dee54=_0x5b4814['words'],_0xded2c6=this[_0x1cf6f9(0x458)]*0x8,_0x5e4406=_0x5b4814['sigBytes']*0x8;return _0x5dee54[_0x5e4406>>>0x5]|=0x80<<0x18-_0x5e4406%0x20,_0x5dee54[(_0x5e4406+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xded2c6/0x100000000),_0x5dee54[(_0x5e4406+0x40>>>0x9<<0x4)+0xf]=_0xded2c6,_0x5b4814[_0x1cf6f9(0x2b8)]=_0x5dee54[_0x1cf6f9(0x339)]*0x4,this['_process'](),this[_0x1cf6f9(0x4cf)];},'clone':function(){const _0xdca894=_0x4def38;var _0x161986=_0x217dc0[_0xdca894(0x553)][_0xdca894(0x575)](this);return _0x161986['_hash']=this[_0xdca894(0x4cf)][_0xdca894(0x553)](),_0x161986;}});_0x49823e[_0x4def38(0x1b5)]=_0x217dc0[_0x4def38(0x3fc)](_0x163e65),_0x49823e[_0x4def38(0x361)]=_0x217dc0['_createHmacHelper'](_0x163e65);}()),_0x223564[_0x4ad2d6(0x1b5)];}));}(ut)),ut[_0x1730d1(0x4b1)];}var dt={'exports':{}},Kt;function lr(){const _0x531aff=_0x1f2fa;return Kt||(Kt=0x1,function(_0x181ebe,_0x3eeffd){(function(_0x331866,_0x461e00){const _0x2fe72e=_0x3f71;_0x181ebe[_0x2fe72e(0x4b1)]=_0x461e00(oe());}(X,function(_0x2a0943){(function(){const _0x4c3785=_0x3f71;var _0x28aa8d=_0x2a0943,_0x3c08b5=_0x28aa8d[_0x4c3785(0x56f)],_0x5843cd=_0x3c08b5['Base'],_0x4112b9=_0x28aa8d[_0x4c3785(0x45b)],_0x3eefa6=_0x4112b9[_0x4c3785(0x357)],_0x325536=_0x28aa8d['algo'];_0x325536[_0x4c3785(0x435)]=_0x5843cd[_0x4c3785(0x30a)]({'init':function(_0x4f8aa1,_0x3674dd){const _0x28941f=_0x4c3785;_0x4f8aa1=this[_0x28941f(0x334)]=new _0x4f8aa1['init'](),typeof _0x3674dd==_0x28941f(0x205)&&(_0x3674dd=_0x3eefa6[_0x28941f(0x55a)](_0x3674dd));var _0x14ed95=_0x4f8aa1[_0x28941f(0x59b)],_0x524a4a=_0x14ed95*0x4;_0x3674dd[_0x28941f(0x2b8)]>_0x524a4a&&(_0x3674dd=_0x4f8aa1[_0x28941f(0x42f)](_0x3674dd)),_0x3674dd[_0x28941f(0x419)]();for(var _0x452483=this[_0x28941f(0x4f5)]=_0x3674dd['clone'](),_0xb24dc2=this['_iKey']=_0x3674dd[_0x28941f(0x553)](),_0x5d1de5=_0x452483[_0x28941f(0x464)],_0x54138b=_0xb24dc2['words'],_0x49453c=0x0;_0x49453c<_0x14ed95;_0x49453c++)_0x5d1de5[_0x49453c]^=0x5c5c5c5c,_0x54138b[_0x49453c]^=0x36363636;_0x452483[_0x28941f(0x2b8)]=_0xb24dc2[_0x28941f(0x2b8)]=_0x524a4a,this['reset']();},'reset':function(){const _0x2f3b8d=_0x4c3785;var _0xe5f1a6=this['_hasher'];_0xe5f1a6['reset'](),_0xe5f1a6[_0x2f3b8d(0x193)](this[_0x2f3b8d(0x4d5)]);},'update':function(_0x587796){const _0xaef80c=_0x4c3785;return this[_0xaef80c(0x334)][_0xaef80c(0x193)](_0x587796),this;},'finalize':function(_0x5a817f){const _0x427229=_0x4c3785;var _0x1a3847=this[_0x427229(0x334)],_0x3afc37=_0x1a3847[_0x427229(0x42f)](_0x5a817f);_0x1a3847['reset']();var _0xececfe=_0x1a3847[_0x427229(0x42f)](this['_oKey'][_0x427229(0x553)]()['concat'](_0x3afc37));return _0xececfe;}});}());}));}(dt)),dt[_0x531aff(0x4b1)];}var qt;function Dn(){return qt||(qt=0x1,function(_0x452e23,_0x52496f){(function(_0x23a645,_0x57bdfb,_0x354141){const _0x1a05f6=_0x3f71;_0x452e23[_0x1a05f6(0x4b1)]=_0x57bdfb(oe(),cr(),lr());}(X,function(_0x3288a3){const _0x5e088d=_0x3f71;return(function(){const _0x2f1de3=_0x3f71;var _0x2c20be=_0x3288a3,_0x2fb3ee=_0x2c20be[_0x2f1de3(0x56f)],_0x3b0331=_0x2fb3ee[_0x2f1de3(0x4ef)],_0x21aca0=_0x2fb3ee[_0x2f1de3(0x27d)],_0x2885e7=_0x2c20be[_0x2f1de3(0x3eb)],_0x5395e5=_0x2885e7['MD5'],_0x19e1eb=_0x2885e7[_0x2f1de3(0x352)]=_0x3b0331[_0x2f1de3(0x30a)]({'cfg':_0x3b0331[_0x2f1de3(0x30a)]({'keySize':0x80/0x20,'hasher':_0x5395e5,'iterations':0x1}),'init':function(_0x15824c){const _0x5d5806=_0x2f1de3;this['cfg']=this[_0x5d5806(0x5d1)]['extend'](_0x15824c);},'compute':function(_0x584dc1,_0x47a854){const _0x48d42c=_0x2f1de3;for(var _0x183cda,_0x4f451b=this[_0x48d42c(0x5d1)],_0xe1f9fb=_0x4f451b['hasher'][_0x48d42c(0x21e)](),_0x440eee=_0x21aca0[_0x48d42c(0x21e)](),_0x5ba00d=_0x440eee['words'],_0x4db63f=_0x4f451b['keySize'],_0x3d8a4d=_0x4f451b['iterations'];_0x5ba00d['length']<_0x4db63f;){_0x183cda&&_0xe1f9fb[_0x48d42c(0x193)](_0x183cda),_0x183cda=_0xe1f9fb[_0x48d42c(0x193)](_0x584dc1)[_0x48d42c(0x42f)](_0x47a854),_0xe1f9fb[_0x48d42c(0x5f7)]();for(var _0x2b94fd=0x1;_0x2b94fd<_0x3d8a4d;_0x2b94fd++)_0x183cda=_0xe1f9fb[_0x48d42c(0x42f)](_0x183cda),_0xe1f9fb[_0x48d42c(0x5f7)]();_0x440eee[_0x48d42c(0x273)](_0x183cda);}return _0x440eee['sigBytes']=_0x4db63f*0x4,_0x440eee;}});_0x2c20be[_0x2f1de3(0x352)]=function(_0x118b3d,_0x3aed8b,_0x4d585b){const _0x55921a=_0x2f1de3;return _0x19e1eb[_0x55921a(0x21e)](_0x4d585b)[_0x55921a(0x17e)](_0x118b3d,_0x3aed8b);};}()),_0x3288a3[_0x5e088d(0x352)];}));}(_t)),_t['exports'];}var ft={'exports':{}},zt;function wn(){return zt||(zt=0x1,function(_0x33f30,_0x1e3922){(function(_0x5ab2fe,_0x841a0e,_0x23c442){const _0x157387=_0x3f71;_0x33f30[_0x157387(0x4b1)]=_0x841a0e(oe(),Dn());}(X,function(_0x239b3c){const _0x3e94e1=_0x3f71;_0x239b3c[_0x3e94e1(0x56f)]['Cipher']||function(_0x69e348){const _0x598497=_0x3e94e1;var _0x34bf06=_0x239b3c,_0x35c8e1=_0x34bf06[_0x598497(0x56f)],_0x1cba25=_0x35c8e1['Base'],_0x527486=_0x35c8e1[_0x598497(0x27d)],_0x2cd14d=_0x35c8e1[_0x598497(0x582)],_0x1cf269=_0x34bf06['enc'];_0x1cf269[_0x598497(0x357)];var _0x366c2e=_0x1cf269[_0x598497(0x2c8)],_0x124ad6=_0x34bf06[_0x598497(0x3eb)],_0x21710e=_0x124ad6[_0x598497(0x352)],_0x1ab674=_0x35c8e1[_0x598497(0x463)]=_0x2cd14d[_0x598497(0x30a)]({'cfg':_0x1cba25['extend'](),'createEncryptor':function(_0x265a61,_0x564f8d){const _0x1f3965=_0x598497;return this[_0x1f3965(0x21e)](this[_0x1f3965(0x34b)],_0x265a61,_0x564f8d);},'createDecryptor':function(_0x188760,_0x508ad4){const _0x4d86a4=_0x598497;return this[_0x4d86a4(0x21e)](this[_0x4d86a4(0x3fb)],_0x188760,_0x508ad4);},'init':function(_0x297646,_0x4f6404,_0x44f1e2){const _0x71ec55=_0x598497;this[_0x71ec55(0x5d1)]=this['cfg'][_0x71ec55(0x30a)](_0x44f1e2),this['_xformMode']=_0x297646,this[_0x71ec55(0x425)]=_0x4f6404,this[_0x71ec55(0x5f7)]();},'reset':function(){const _0x2f57fc=_0x598497;_0x2cd14d[_0x2f57fc(0x5f7)][_0x2f57fc(0x575)](this),this[_0x2f57fc(0x203)]();},'process':function(_0x207b22){const _0x37bc04=_0x598497;return this[_0x37bc04(0x1fe)](_0x207b22),this[_0x37bc04(0x4fe)]();},'finalize':function(_0x566ff3){const _0x36bf21=_0x598497;_0x566ff3&&this['_append'](_0x566ff3);var _0x3a2794=this[_0x36bf21(0x56c)]();return _0x3a2794;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3d70e7(_0x1d9345){const _0x2903d9=_0x3f71;return typeof _0x1d9345==_0x2903d9(0x205)?_0x4e722a:_0x83144c;}return function(_0x455cae){return{'encrypt':function(_0x41935b,_0x1b54ab,_0x59b1a8){return _0x3d70e7(_0x1b54ab)['encrypt'](_0x455cae,_0x41935b,_0x1b54ab,_0x59b1a8);},'decrypt':function(_0x4ab89b,_0x52b3a9,_0x2b0c0d){return _0x3d70e7(_0x52b3a9)['decrypt'](_0x455cae,_0x4ab89b,_0x52b3a9,_0x2b0c0d);}};};}())});_0x35c8e1['StreamCipher']=_0x1ab674[_0x598497(0x30a)]({'_doFinalize':function(){const _0x3e00cd=_0x598497;var _0x14ef6f=this[_0x3e00cd(0x4fe)](!0x0);return _0x14ef6f;},'blockSize':0x1});var _0x4d1dfd=_0x34bf06['mode']={},_0x33c532=_0x35c8e1[_0x598497(0x28e)]=_0x1cba25[_0x598497(0x30a)]({'createEncryptor':function(_0x27779d,_0x3aec53){const _0x4607b0=_0x598497;return this[_0x4607b0(0x597)]['create'](_0x27779d,_0x3aec53);},'createDecryptor':function(_0x2d8499,_0x299db0){const _0x5c825a=_0x598497;return this[_0x5c825a(0x5db)][_0x5c825a(0x21e)](_0x2d8499,_0x299db0);},'init':function(_0x5038b2,_0x25564d){const _0x5ae468=_0x598497;this[_0x5ae468(0x3d3)]=_0x5038b2,this['_iv']=_0x25564d;}}),_0xeaea12=_0x4d1dfd[_0x598497(0x3ae)]=(function(){const _0xeceb89=_0x598497;var _0x4c143b=_0x33c532[_0xeceb89(0x30a)]();_0x4c143b['Encryptor']=_0x4c143b[_0xeceb89(0x30a)]({'processBlock':function(_0x11436e,_0x3af6b3){const _0x213bc7=_0xeceb89;var _0x8bb2a1=this[_0x213bc7(0x3d3)],_0x1c9840=_0x8bb2a1['blockSize'];_0xb2bf54[_0x213bc7(0x575)](this,_0x11436e,_0x3af6b3,_0x1c9840),_0x8bb2a1['encryptBlock'](_0x11436e,_0x3af6b3),this[_0x213bc7(0x5ea)]=_0x11436e[_0x213bc7(0x31f)](_0x3af6b3,_0x3af6b3+_0x1c9840);}}),_0x4c143b[_0xeceb89(0x5db)]=_0x4c143b['extend']({'processBlock':function(_0x4c87f1,_0x458d36){const _0x2f0c2b=_0xeceb89;var _0x3b27e2=this[_0x2f0c2b(0x3d3)],_0xcbe770=_0x3b27e2[_0x2f0c2b(0x59b)],_0x39b413=_0x4c87f1[_0x2f0c2b(0x31f)](_0x458d36,_0x458d36+_0xcbe770);_0x3b27e2['decryptBlock'](_0x4c87f1,_0x458d36),_0xb2bf54[_0x2f0c2b(0x575)](this,_0x4c87f1,_0x458d36,_0xcbe770),this[_0x2f0c2b(0x5ea)]=_0x39b413;}});function _0xb2bf54(_0x44e2ae,_0x53fc48,_0xa951bc){const _0x29a9e7=_0xeceb89;var _0x393590,_0x55fea6=this[_0x29a9e7(0x1d7)];_0x55fea6?(_0x393590=_0x55fea6,this[_0x29a9e7(0x1d7)]=_0x69e348):_0x393590=this[_0x29a9e7(0x5ea)];for(var _0x1ec9bf=0x0;_0x1ec9bf<_0xa951bc;_0x1ec9bf++)_0x44e2ae[_0x53fc48+_0x1ec9bf]^=_0x393590[_0x1ec9bf];}return _0x4c143b;}()),_0x2274de=_0x34bf06['pad']={},_0x3b2597=_0x2274de['Pkcs7']={'pad':function(_0x58c1c7,_0x4f0c97){const _0x50faf7=_0x598497;for(var _0x15885a=_0x4f0c97*0x4,_0x28475d=_0x15885a-_0x58c1c7[_0x50faf7(0x2b8)]%_0x15885a,_0x32ea2f=_0x28475d<<0x18|_0x28475d<<0x10|_0x28475d<<0x8|_0x28475d,_0x357740=[],_0x4ce34c=0x0;_0x4ce34c<_0x28475d;_0x4ce34c+=0x4)_0x357740[_0x50faf7(0x19c)](_0x32ea2f);var _0x199644=_0x527486[_0x50faf7(0x21e)](_0x357740,_0x28475d);_0x58c1c7[_0x50faf7(0x273)](_0x199644);},'unpad':function(_0x2e1d6e){const _0x178006=_0x598497;var _0x17f64a=_0x2e1d6e[_0x178006(0x464)][_0x2e1d6e[_0x178006(0x2b8)]-0x1>>>0x2]&0xff;_0x2e1d6e[_0x178006(0x2b8)]-=_0x17f64a;}};_0x35c8e1[_0x598497(0x195)]=_0x1ab674['extend']({'cfg':_0x1ab674['cfg'][_0x598497(0x30a)]({'mode':_0xeaea12,'padding':_0x3b2597}),'reset':function(){const _0x374137=_0x598497;var _0x3494bc;_0x1ab674['reset'][_0x374137(0x575)](this);var _0x5071ac=this['cfg'],_0x318f77=_0x5071ac['iv'],_0x5f17d8=_0x5071ac[_0x374137(0x363)];this[_0x374137(0x57a)]==this[_0x374137(0x34b)]?_0x3494bc=_0x5f17d8['createEncryptor']:(_0x3494bc=_0x5f17d8[_0x374137(0x57c)],this['_minBufferSize']=0x1),this[_0x374137(0x5e3)]&&this[_0x374137(0x5e3)][_0x374137(0x196)]==_0x3494bc?this[_0x374137(0x5e3)][_0x374137(0x485)](this,_0x318f77&&_0x318f77[_0x374137(0x464)]):(this[_0x374137(0x5e3)]=_0x3494bc[_0x374137(0x575)](_0x5f17d8,this,_0x318f77&&_0x318f77[_0x374137(0x464)]),this['_mode'][_0x374137(0x196)]=_0x3494bc);},'_doProcessBlock':function(_0x140d6f,_0x5d27f6){const _0x327b0e=_0x598497;this[_0x327b0e(0x5e3)][_0x327b0e(0x4b6)](_0x140d6f,_0x5d27f6);},'_doFinalize':function(){const _0x200a49=_0x598497;var _0xb00137,_0x2aa06c=this['cfg'][_0x200a49(0x258)];return this[_0x200a49(0x57a)]==this[_0x200a49(0x34b)]?(_0x2aa06c[_0x200a49(0x200)](this[_0x200a49(0x29e)],this[_0x200a49(0x59b)]),_0xb00137=this[_0x200a49(0x4fe)](!0x0)):(_0xb00137=this[_0x200a49(0x4fe)](!0x0),_0x2aa06c[_0x200a49(0x16e)](_0xb00137)),_0xb00137;},'blockSize':0x80/0x20});var _0x19fa73=_0x35c8e1[_0x598497(0x2f8)]=_0x1cba25[_0x598497(0x30a)]({'init':function(_0x8187){const _0x1d9c90=_0x598497;this[_0x1d9c90(0x2c0)](_0x8187);},'toString':function(_0x553718){return(_0x553718||this['formatter'])['stringify'](this);}}),_0x342f9d=_0x34bf06[_0x598497(0x1d1)]={},_0x2744fd=_0x342f9d[_0x598497(0x5b4)]={'stringify':function(_0x5b32b1){const _0x1b2ef8=_0x598497;var _0x344086,_0x332ce2=_0x5b32b1[_0x1b2ef8(0x3f6)],_0x376722=_0x5b32b1['salt'];return _0x376722?_0x344086=_0x527486['create']([0x53616c74,0x65645f5f])[_0x1b2ef8(0x273)](_0x376722)[_0x1b2ef8(0x273)](_0x332ce2):_0x344086=_0x332ce2,_0x344086[_0x1b2ef8(0x353)](_0x366c2e);},'parse':function(_0x2ac1f8){const _0x2b636b=_0x598497;var _0x436be6,_0x233309=_0x366c2e[_0x2b636b(0x55a)](_0x2ac1f8),_0x26b758=_0x233309['words'];return _0x26b758[0x0]==0x53616c74&&_0x26b758[0x1]==0x65645f5f&&(_0x436be6=_0x527486[_0x2b636b(0x21e)](_0x26b758['slice'](0x2,0x4)),_0x26b758['splice'](0x0,0x4),_0x233309[_0x2b636b(0x2b8)]-=0x10),_0x19fa73[_0x2b636b(0x21e)]({'ciphertext':_0x233309,'salt':_0x436be6});}},_0x83144c=_0x35c8e1[_0x598497(0x418)]=_0x1cba25[_0x598497(0x30a)]({'cfg':_0x1cba25['extend']({'format':_0x2744fd}),'encrypt':function(_0x55dc27,_0x1506db,_0xd22ef4,_0x3c9317){const _0x23417f=_0x598497;_0x3c9317=this[_0x23417f(0x5d1)][_0x23417f(0x30a)](_0x3c9317);var _0x4c974e=_0x55dc27[_0x23417f(0x5d3)](_0xd22ef4,_0x3c9317),_0x573a72=_0x4c974e[_0x23417f(0x42f)](_0x1506db),_0x5043cc=_0x4c974e['cfg'];return _0x19fa73[_0x23417f(0x21e)]({'ciphertext':_0x573a72,'key':_0xd22ef4,'iv':_0x5043cc['iv'],'algorithm':_0x55dc27,'mode':_0x5043cc[_0x23417f(0x363)],'padding':_0x5043cc['padding'],'blockSize':_0x55dc27[_0x23417f(0x59b)],'formatter':_0x3c9317[_0x23417f(0x1d1)]});},'decrypt':function(_0x2b6059,_0x3a4852,_0x3b17a2,_0x2af7a6){const _0x5af79d=_0x598497;_0x2af7a6=this[_0x5af79d(0x5d1)][_0x5af79d(0x30a)](_0x2af7a6),_0x3a4852=this[_0x5af79d(0x36c)](_0x3a4852,_0x2af7a6['format']);var _0x1af954=_0x2b6059[_0x5af79d(0x57c)](_0x3b17a2,_0x2af7a6)[_0x5af79d(0x42f)](_0x3a4852['ciphertext']);return _0x1af954;},'_parse':function(_0x2d3c76,_0x52d8db){const _0xcf02dd=_0x598497;return typeof _0x2d3c76==_0xcf02dd(0x205)?_0x52d8db[_0xcf02dd(0x55a)](_0x2d3c76,this):_0x2d3c76;}}),_0x1fc7a6=_0x34bf06[_0x598497(0x5e7)]={},_0x72a7a=_0x1fc7a6['OpenSSL']={'execute':function(_0x2b1095,_0xb2d7e9,_0x3dba91,_0x32466c,_0x518552){const _0x301a65=_0x598497;if(_0x32466c||(_0x32466c=_0x527486[_0x301a65(0x2fc)](0x40/0x8)),_0x518552)var _0x5f091f=_0x21710e[_0x301a65(0x21e)]({'keySize':_0xb2d7e9+_0x3dba91,'hasher':_0x518552})[_0x301a65(0x17e)](_0x2b1095,_0x32466c);else var _0x5f091f=_0x21710e[_0x301a65(0x21e)]({'keySize':_0xb2d7e9+_0x3dba91})[_0x301a65(0x17e)](_0x2b1095,_0x32466c);var _0x51803=_0x527486[_0x301a65(0x21e)](_0x5f091f['words'][_0x301a65(0x31f)](_0xb2d7e9),_0x3dba91*0x4);return _0x5f091f['sigBytes']=_0xb2d7e9*0x4,_0x19fa73['create']({'key':_0x5f091f,'iv':_0x51803,'salt':_0x32466c});}},_0x4e722a=_0x35c8e1[_0x598497(0x2f3)]=_0x83144c[_0x598497(0x30a)]({'cfg':_0x83144c[_0x598497(0x5d1)][_0x598497(0x30a)]({'kdf':_0x72a7a}),'encrypt':function(_0xa81713,_0x3c6834,_0x7cc3b5,_0x3a0afe){const _0x47de3b=_0x598497;_0x3a0afe=this[_0x47de3b(0x5d1)][_0x47de3b(0x30a)](_0x3a0afe);var _0x5a82a7=_0x3a0afe[_0x47de3b(0x5e7)][_0x47de3b(0x4aa)](_0x7cc3b5,_0xa81713[_0x47de3b(0x176)],_0xa81713['ivSize'],_0x3a0afe[_0x47de3b(0x4f1)],_0x3a0afe['hasher']);_0x3a0afe['iv']=_0x5a82a7['iv'];var _0x59af8e=_0x83144c[_0x47de3b(0x3c5)][_0x47de3b(0x575)](this,_0xa81713,_0x3c6834,_0x5a82a7['key'],_0x3a0afe);return _0x59af8e[_0x47de3b(0x2c0)](_0x5a82a7),_0x59af8e;},'decrypt':function(_0x332d94,_0x459295,_0x414f13,_0x500b80){const _0x1cb160=_0x598497;_0x500b80=this[_0x1cb160(0x5d1)][_0x1cb160(0x30a)](_0x500b80),_0x459295=this[_0x1cb160(0x36c)](_0x459295,_0x500b80[_0x1cb160(0x1d1)]);var _0x2213ef=_0x500b80[_0x1cb160(0x5e7)]['execute'](_0x414f13,_0x332d94[_0x1cb160(0x176)],_0x332d94['ivSize'],_0x459295[_0x1cb160(0x4f1)],_0x500b80['hasher']);_0x500b80['iv']=_0x2213ef['iv'];var _0x312956=_0x83144c[_0x1cb160(0x498)][_0x1cb160(0x575)](this,_0x332d94,_0x459295,_0x2213ef[_0x1cb160(0x4dd)],_0x500b80);return _0x312956;}});}();}));}(ft)),ft['exports'];}(function(_0x1a536a,_0x400edf){(function(_0xbf0c54,_0x5d0814,_0x389a0a){const _0x2987c8=_0x3f71;_0x1a536a[_0x2987c8(0x4b1)]=_0x5d0814(oe(),On(),ar(),Dn(),wn());}(X,function(_0x5a4c3b){return(function(){const _0x495587=_0x3f71;var _0x21c339=_0x5a4c3b,_0x3b92a7=_0x21c339[_0x495587(0x56f)],_0x370418=_0x3b92a7[_0x495587(0x195)],_0x50b8d4=_0x21c339[_0x495587(0x3eb)],_0x1f45a7=[],_0x576843=[],_0x17c392=[],_0x3bec4f=[],_0x419ff9=[],_0x1487eb=[],_0xe0ec4b=[],_0x461b7d=[],_0x583fa5=[],_0x175423=[];(function(){for(var _0x4cdffd=[],_0x5dc5b5=0x0;_0x5dc5b5<0x100;_0x5dc5b5++)_0x5dc5b5<0x80?_0x4cdffd[_0x5dc5b5]=_0x5dc5b5<<0x1:_0x4cdffd[_0x5dc5b5]=_0x5dc5b5<<0x1^0x11b;for(var _0x2b5fab=0x0,_0x3680f0=0x0,_0x5dc5b5=0x0;_0x5dc5b5<0x100;_0x5dc5b5++){var _0x2823bb=_0x3680f0^_0x3680f0<<0x1^_0x3680f0<<0x2^_0x3680f0<<0x3^_0x3680f0<<0x4;_0x2823bb=_0x2823bb>>>0x8^_0x2823bb&0xff^0x63,_0x1f45a7[_0x2b5fab]=_0x2823bb,_0x576843[_0x2823bb]=_0x2b5fab;var _0x395a0b=_0x4cdffd[_0x2b5fab],_0x27da2f=_0x4cdffd[_0x395a0b],_0x1f92f0=_0x4cdffd[_0x27da2f],_0x172aa3=_0x4cdffd[_0x2823bb]*0x101^_0x2823bb*0x1010100;_0x17c392[_0x2b5fab]=_0x172aa3<<0x18|_0x172aa3>>>0x8,_0x3bec4f[_0x2b5fab]=_0x172aa3<<0x10|_0x172aa3>>>0x10,_0x419ff9[_0x2b5fab]=_0x172aa3<<0x8|_0x172aa3>>>0x18,_0x1487eb[_0x2b5fab]=_0x172aa3;var _0x172aa3=_0x1f92f0*0x1010101^_0x27da2f*0x10001^_0x395a0b*0x101^_0x2b5fab*0x1010100;_0xe0ec4b[_0x2823bb]=_0x172aa3<<0x18|_0x172aa3>>>0x8,_0x461b7d[_0x2823bb]=_0x172aa3<<0x10|_0x172aa3>>>0x10,_0x583fa5[_0x2823bb]=_0x172aa3<<0x8|_0x172aa3>>>0x18,_0x175423[_0x2823bb]=_0x172aa3,_0x2b5fab?(_0x2b5fab=_0x395a0b^_0x4cdffd[_0x4cdffd[_0x4cdffd[_0x1f92f0^_0x395a0b]]],_0x3680f0^=_0x4cdffd[_0x4cdffd[_0x3680f0]]):_0x2b5fab=_0x3680f0=0x1;}}());var _0x99d243=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f078e=_0x50b8d4[_0x495587(0x32c)]=_0x370418[_0x495587(0x30a)]({'_doReset':function(){const _0x16be22=_0x495587;var _0x335f90;if(!(this[_0x16be22(0x394)]&&this['_keyPriorReset']===this[_0x16be22(0x425)])){for(var _0x5bea14=this[_0x16be22(0x2a8)]=this[_0x16be22(0x425)],_0x5cb14c=_0x5bea14[_0x16be22(0x464)],_0x471059=_0x5bea14[_0x16be22(0x2b8)]/0x4,_0x2d5cd4=this['_nRounds']=_0x471059+0x6,_0x582a7c=(_0x2d5cd4+0x1)*0x4,_0x5ed586=this[_0x16be22(0x2c2)]=[],_0x18f167=0x0;_0x18f167<_0x582a7c;_0x18f167++)_0x18f167<_0x471059?_0x5ed586[_0x18f167]=_0x5cb14c[_0x18f167]:(_0x335f90=_0x5ed586[_0x18f167-0x1],_0x18f167%_0x471059?_0x471059>0x6&&_0x18f167%_0x471059==0x4&&(_0x335f90=_0x1f45a7[_0x335f90>>>0x18]<<0x18|_0x1f45a7[_0x335f90>>>0x10&0xff]<<0x10|_0x1f45a7[_0x335f90>>>0x8&0xff]<<0x8|_0x1f45a7[_0x335f90&0xff]):(_0x335f90=_0x335f90<<0x8|_0x335f90>>>0x18,_0x335f90=_0x1f45a7[_0x335f90>>>0x18]<<0x18|_0x1f45a7[_0x335f90>>>0x10&0xff]<<0x10|_0x1f45a7[_0x335f90>>>0x8&0xff]<<0x8|_0x1f45a7[_0x335f90&0xff],_0x335f90^=_0x99d243[_0x18f167/_0x471059|0x0]<<0x18),_0x5ed586[_0x18f167]=_0x5ed586[_0x18f167-_0x471059]^_0x335f90);for(var _0x17d5bd=this[_0x16be22(0x317)]=[],_0x49326b=0x0;_0x49326b<_0x582a7c;_0x49326b++){var _0x18f167=_0x582a7c-_0x49326b;if(_0x49326b%0x4)var _0x335f90=_0x5ed586[_0x18f167];else var _0x335f90=_0x5ed586[_0x18f167-0x4];_0x49326b<0x4||_0x18f167<=0x4?_0x17d5bd[_0x49326b]=_0x335f90:_0x17d5bd[_0x49326b]=_0xe0ec4b[_0x1f45a7[_0x335f90>>>0x18]]^_0x461b7d[_0x1f45a7[_0x335f90>>>0x10&0xff]]^_0x583fa5[_0x1f45a7[_0x335f90>>>0x8&0xff]]^_0x175423[_0x1f45a7[_0x335f90&0xff]];}}},'encryptBlock':function(_0x59643b,_0x4461d2){const _0x27b472=_0x495587;this[_0x27b472(0x55f)](_0x59643b,_0x4461d2,this[_0x27b472(0x2c2)],_0x17c392,_0x3bec4f,_0x419ff9,_0x1487eb,_0x1f45a7);},'decryptBlock':function(_0x2384f6,_0x2c58aa){const _0x22be74=_0x495587;var _0x1a3eb3=_0x2384f6[_0x2c58aa+0x1];_0x2384f6[_0x2c58aa+0x1]=_0x2384f6[_0x2c58aa+0x3],_0x2384f6[_0x2c58aa+0x3]=_0x1a3eb3,this[_0x22be74(0x55f)](_0x2384f6,_0x2c58aa,this[_0x22be74(0x317)],_0xe0ec4b,_0x461b7d,_0x583fa5,_0x175423,_0x576843);var _0x1a3eb3=_0x2384f6[_0x2c58aa+0x1];_0x2384f6[_0x2c58aa+0x1]=_0x2384f6[_0x2c58aa+0x3],_0x2384f6[_0x2c58aa+0x3]=_0x1a3eb3;},'_doCryptBlock':function(_0x2f2c26,_0x3f1e8f,_0xc9ada,_0x36f263,_0x3a7bf1,_0x5b9097,_0x3fb6fe,_0x4e000e){for(var _0x5704e1=this['_nRounds'],_0x10aeef=_0x2f2c26[_0x3f1e8f]^_0xc9ada[0x0],_0x5c6c70=_0x2f2c26[_0x3f1e8f+0x1]^_0xc9ada[0x1],_0xe779d3=_0x2f2c26[_0x3f1e8f+0x2]^_0xc9ada[0x2],_0x2f3904=_0x2f2c26[_0x3f1e8f+0x3]^_0xc9ada[0x3],_0x5214b0=0x4,_0x4947a1=0x1;_0x4947a1<_0x5704e1;_0x4947a1++){var _0x4e2609=_0x36f263[_0x10aeef>>>0x18]^_0x3a7bf1[_0x5c6c70>>>0x10&0xff]^_0x5b9097[_0xe779d3>>>0x8&0xff]^_0x3fb6fe[_0x2f3904&0xff]^_0xc9ada[_0x5214b0++],_0x214eb3=_0x36f263[_0x5c6c70>>>0x18]^_0x3a7bf1[_0xe779d3>>>0x10&0xff]^_0x5b9097[_0x2f3904>>>0x8&0xff]^_0x3fb6fe[_0x10aeef&0xff]^_0xc9ada[_0x5214b0++],_0x36049d=_0x36f263[_0xe779d3>>>0x18]^_0x3a7bf1[_0x2f3904>>>0x10&0xff]^_0x5b9097[_0x10aeef>>>0x8&0xff]^_0x3fb6fe[_0x5c6c70&0xff]^_0xc9ada[_0x5214b0++],_0x197bf6=_0x36f263[_0x2f3904>>>0x18]^_0x3a7bf1[_0x10aeef>>>0x10&0xff]^_0x5b9097[_0x5c6c70>>>0x8&0xff]^_0x3fb6fe[_0xe779d3&0xff]^_0xc9ada[_0x5214b0++];_0x10aeef=_0x4e2609,_0x5c6c70=_0x214eb3,_0xe779d3=_0x36049d,_0x2f3904=_0x197bf6;}var _0x4e2609=(_0x4e000e[_0x10aeef>>>0x18]<<0x18|_0x4e000e[_0x5c6c70>>>0x10&0xff]<<0x10|_0x4e000e[_0xe779d3>>>0x8&0xff]<<0x8|_0x4e000e[_0x2f3904&0xff])^_0xc9ada[_0x5214b0++],_0x214eb3=(_0x4e000e[_0x5c6c70>>>0x18]<<0x18|_0x4e000e[_0xe779d3>>>0x10&0xff]<<0x10|_0x4e000e[_0x2f3904>>>0x8&0xff]<<0x8|_0x4e000e[_0x10aeef&0xff])^_0xc9ada[_0x5214b0++],_0x36049d=(_0x4e000e[_0xe779d3>>>0x18]<<0x18|_0x4e000e[_0x2f3904>>>0x10&0xff]<<0x10|_0x4e000e[_0x10aeef>>>0x8&0xff]<<0x8|_0x4e000e[_0x5c6c70&0xff])^_0xc9ada[_0x5214b0++],_0x197bf6=(_0x4e000e[_0x2f3904>>>0x18]<<0x18|_0x4e000e[_0x10aeef>>>0x10&0xff]<<0x10|_0x4e000e[_0x5c6c70>>>0x8&0xff]<<0x8|_0x4e000e[_0xe779d3&0xff])^_0xc9ada[_0x5214b0++];_0x2f2c26[_0x3f1e8f]=_0x4e2609,_0x2f2c26[_0x3f1e8f+0x1]=_0x214eb3,_0x2f2c26[_0x3f1e8f+0x2]=_0x36049d,_0x2f2c26[_0x3f1e8f+0x3]=_0x197bf6;},'keySize':0x100/0x20});_0x21c339[_0x495587(0x32c)]=_0x370418[_0x495587(0x3fc)](_0x5f078e);}()),_0x5a4c3b['AES'];}));}(yn));var hr=yn[_0x1f2fa(0x4b1)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x50b036,_0x55ef8c){(function(_0x33b5eb,_0x1437ec){const _0x78b7c7=_0x3f71;_0x50b036[_0x78b7c7(0x4b1)]=_0x1437ec(oe());}(X,function(_0x3da59d){const _0x20e0d2=_0x3f71;return _0x3da59d[_0x20e0d2(0x45b)][_0x20e0d2(0x357)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x4bba0c,_0x4cd85){(function(_0x97d51f,_0x4fc65e){const _0x2863f7=_0x3f71;_0x4bba0c[_0x2863f7(0x4b1)]=_0x4fc65e(oe());}(X,function(_0x1dcb45){return(function(){const _0x1afc85=_0x3f71;if(typeof ArrayBuffer==_0x1afc85(0x323)){var _0xbcc1da=_0x1dcb45,_0x31c222=_0xbcc1da[_0x1afc85(0x56f)],_0x2a6c69=_0x31c222[_0x1afc85(0x27d)],_0x177dc0=_0x2a6c69[_0x1afc85(0x485)],_0x51e211=_0x2a6c69[_0x1afc85(0x485)]=function(_0x5453b0){const _0x425615=_0x1afc85;if(_0x5453b0 instanceof ArrayBuffer&&(_0x5453b0=new Uint8Array(_0x5453b0)),(_0x5453b0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5453b0 instanceof Uint8ClampedArray||_0x5453b0 instanceof Int16Array||_0x5453b0 instanceof Uint16Array||_0x5453b0 instanceof Int32Array||_0x5453b0 instanceof Uint32Array||_0x5453b0 instanceof Float32Array||_0x5453b0 instanceof Float64Array)&&(_0x5453b0=new Uint8Array(_0x5453b0[_0x425615(0x20b)],_0x5453b0[_0x425615(0x4c7)],_0x5453b0[_0x425615(0x1e4)])),_0x5453b0 instanceof Uint8Array){for(var _0x211437=_0x5453b0[_0x425615(0x1e4)],_0x5e99bf=[],_0x328441=0x0;_0x328441<_0x211437;_0x328441++)_0x5e99bf[_0x328441>>>0x2]|=_0x5453b0[_0x328441]<<0x18-_0x328441%0x4*0x8;_0x177dc0[_0x425615(0x575)](this,_0x5e99bf,_0x211437);}else _0x177dc0[_0x425615(0x19a)](this,arguments);};_0x51e211['prototype']=_0x2a6c69;}}()),_0x1dcb45['lib']['WordArray'];}));}(Un));var vr=Un[_0x1f2fa(0x4b1)];const mr=xe(vr);var Mn={'exports':{}};(function(_0x37d014,_0x4585ca){(function(_0x245707,_0x4fe7b1,_0x1ca4f3){const _0x505fc5=_0x3f71;_0x37d014[_0x505fc5(0x4b1)]=_0x4fe7b1(oe(),wn());}(X,function(_0x168523){const _0x3c2ac5=_0x3f71;return _0x168523[_0x3c2ac5(0x200)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x168523[_0x3c2ac5(0x200)][_0x3c2ac5(0x40f)];}));}(Mn));var Sr=Mn[_0x1f2fa(0x4b1)];const pr=xe(Sr);function gr(_0x4cf5bd,_0x87ade2){const _0x4de658=_0x1f2fa,_0x1b2a97=_0x87ade2-_0x4cf5bd[_0x4de658(0x339)]%_0x87ade2,_0x2088aa=String[_0x4de658(0x5bf)](_0x1b2a97)[_0x4de658(0x2a2)](_0x1b2a97);return _0x4cf5bd+_0x2088aa;}function Ir(_0x2f68cb,_0x189a87){const _0x533e24=_0x1f2fa,_0x42fc7f=mr[_0x533e24(0x2fc)](0x10),_0x487d35=gr(_0x2f68cb,0x10),_0xfa3166=_r[_0x533e24(0x3c5)](fr['parse'](_0x487d35),Xt[_0x533e24(0x55a)](_0x189a87),{'iv':_0x42fc7f,'padding':pr});return _0x42fc7f['concat'](_0xfa3166[_0x533e24(0x3f6)])[_0x533e24(0x353)](Xt);}function Cr(){const _0x30b735=_0x1f2fa,_0x26f3fe=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x30b735(0x46b)];if(_0x26f3fe){const _0x2100ee={'time':Math[_0x30b735(0x3ea)](Date['now']()/0x3e8),'domain':location[_0x30b735(0x281)]};return Ir(JSON['stringify'](_0x2100ee),_0x26f3fe);}}var Er=Object[_0x1f2fa(0x4e5)],br=Object['getOwnPropertyDescriptor'],Tr=(_0x3dfab6,_0x52f058,_0x41ad23,_0x15cdc3)=>{const _0x1adc9b=_0x1f2fa;for(var _0x1db1ca=_0x15cdc3>0x1?void 0x0:_0x15cdc3?br(_0x52f058,_0x41ad23):_0x52f058,_0x13e6f3=_0x3dfab6[_0x1adc9b(0x339)]-0x1,_0x1de9e1;_0x13e6f3>=0x0;_0x13e6f3--)(_0x1de9e1=_0x3dfab6[_0x13e6f3])&&(_0x1db1ca=(_0x15cdc3?_0x1de9e1(_0x52f058,_0x41ad23,_0x1db1ca):_0x1de9e1(_0x1db1ca))||_0x1db1ca);return _0x15cdc3&&_0x1db1ca&&Er(_0x52f058,_0x41ad23,_0x1db1ca),_0x1db1ca;},Rr=(_0x192aa7,_0xed54ea)=>(_0x2f8ed2,_0x4eb304)=>_0xed54ea(_0x2f8ed2,_0x4eb304,_0x192aa7);let Ye=class{constructor(_0x247d1e){const _0x5bf0b6=_0x1f2fa;this['_httpService']=_0x247d1e,this[_0x5bf0b6(0x313)]();}[_0x1f2fa(0x313)](){const _0x23e30b=_0x1f2fa;this[_0x23e30b(0x3e8)][_0x23e30b(0x5f8)]({'interceptor':(_0x22cad8,_0xf5fc53)=>{const _0x716fe5=_0x23e30b,_0xbcf8f8=_0x22cad8[_0x716fe5(0x29f)],_0x56225a=Cr();return _0x56225a&&_0xbcf8f8['set'](_0x716fe5(0x19b),_0x56225a),_0xf5fc53(_0x22cad8);}});}};Ye=Tr([Rr(0x0,a[_0x1f2fa(0x28d)](Z[_0x1f2fa(0x516)]))],Ye);var yr=Object[_0x1f2fa(0x4e5)],Or=Object[_0x1f2fa(0x40d)],Dr=(_0x1b3f94,_0x375e66,_0x5ea089,_0x5c9ada)=>{const _0x11ce79=_0x1f2fa;for(var _0x1bfa94=_0x5c9ada>0x1?void 0x0:_0x5c9ada?Or(_0x375e66,_0x5ea089):_0x375e66,_0x54f918=_0x1b3f94[_0x11ce79(0x339)]-0x1,_0x274233;_0x54f918>=0x0;_0x54f918--)(_0x274233=_0x1b3f94[_0x54f918])&&(_0x1bfa94=(_0x5c9ada?_0x274233(_0x375e66,_0x5ea089,_0x1bfa94):_0x274233(_0x1bfa94))||_0x1bfa94);return _0x5c9ada&&_0x1bfa94&&yr(_0x375e66,_0x5ea089,_0x1bfa94),_0x1bfa94;},vt=(_0x508dd5,_0xe2e62a)=>(_0x2abbc0,_0x7531d9)=>_0xe2e62a(_0x2abbc0,_0x7531d9,_0x508dd5);const wr=[_0x1f2fa(0x185),_0x1f2fa(0x550),_0x1f2fa(0x1a1),'image/gif','image/bmp'],Pr=0x5*0x400*0x400,Ur='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Mr='/universer-api/stream/file/upload',Ar=_0x1f2fa(0x560),Nr=_0x1f2fa(0x5b0);exports['ImageIoService']=class{constructor(_0x3cedc9,_0x5365fd,_0x291ca6){const _0x151ba3=_0x1f2fa;I(this,_0x151ba3(0x226),0x0),I(this,_0x151ba3(0x1fa),new A[(_0x151ba3(0x2ba))]()),I(this,'change$',this[_0x151ba3(0x1fa)]),I(this,_0x151ba3(0x31e),new Map()),(this[_0x151ba3(0x3e8)]=_0x3cedc9,this[_0x151ba3(0x499)]=_0x5365fd,this['_univerInstanceService']=_0x291ca6);}[_0x1f2fa(0x1cb)](_0x5411d5){const _0x429fba=_0x1f2fa;this[_0x429fba(0x226)]=_0x5411d5,this[_0x429fba(0x1fa)]['next'](_0x5411d5);}[_0x1f2fa(0x249)](_0xfa531e,_0x5c07e7){const _0x582a97=_0x1f2fa;if(_0x5c07e7===ne[_0x582a97(0x2c5)][_0x582a97(0x579)]){const _0x35203a=new Image();return _0x35203a[_0x582a97(0x34f)]=_0xfa531e,_0x35203a;}return this['_imageSourceCache'][_0x582a97(0x2f6)](_0xfa531e);}[_0x1f2fa(0x3d0)](_0x2e0f7c,_0x29e9da,_0x5d7c42){const _0x4bf09b=_0x1f2fa;_0x29e9da===ne['ImageSourceType'][_0x4bf09b(0x579)]||_0x5d7c42==null||this[_0x4bf09b(0x31e)]['set'](_0x2e0f7c,_0x5d7c42);}async['getImage'](_0x3dc7b6){const _0x410fde=_0x1f2fa;try{const _0x35cdca=this['_replaceFileID'](this[_0x410fde(0x486)](),''+_0x3dc7b6),_0x517711=(await this[_0x410fde(0x3e8)]['get'](_0x35cdca))[_0x410fde(0x26d)];if(_0x517711[_0x410fde(0x2d0)]&&_0x517711[_0x410fde(0x2d0)]['code']===cn['OK']){const _0x4db1ad=new URL(_0x517711['url'],this[_0x410fde(0x36e)]())[_0x410fde(0x353)]();return Promise[_0x410fde(0x4f2)](_0x4db1ad);}return Promise['reject'](_0x517711[_0x410fde(0x2d0)]);}catch(_0x282d5a){return Promise['reject'](_0x282d5a);}}async[_0x1f2fa(0x4d9)](_0x2770cc){const _0x1f9644=_0x1f2fa;let _0x13900e='';if(!wr[_0x1f9644(0x278)](_0x2770cc[_0x1f9644(0x1eb)]))return this[_0x1f9644(0x3a9)](),Promise['reject'](new Error(ne[_0x1f9644(0x5df)]['ERROR_IMAGE_TYPE']));if(_0x2770cc[_0x1f9644(0x51b)]>Pr)return this[_0x1f9644(0x3a9)](),Promise[_0x1f9644(0x4a3)](new Error(ne[_0x1f9644(0x5df)][_0x1f9644(0x426)]));try{const _0xaebdc2=new FormData();_0xaebdc2[_0x1f9644(0x1bf)](_0x1f9644(0x201),_0x2770cc);const _0x969c3b=this[_0x1f9644(0x51c)][_0x1f9644(0x2a3)](),_0x1eca8a=_0x969c3b==null?void 0x0:_0x969c3b[_0x1f9644(0x4ea)]();if(!_0x1eca8a)throw new Error(_0x1f9644(0x1fc));const _0x5cabc1=this[_0x1f9644(0x26a)]()+_0x1f9644(0x58e)+_0x2770cc['size'][_0x1f9644(0x353)]()+_0x1f9644(0x404)+ln['UnitEmbedded']+_0x1f9644(0x52c)+encodeURIComponent(_0x1eca8a),_0x2d7b78=await(await fetch(_0x5cabc1,{'method':_0x1f9644(0x202),'body':_0xaebdc2}))['json']();if(typeof _0x2d7b78['FileId']!='string')return this[_0x1f9644(0x3a9)](),Promise[_0x1f9644(0x4a3)](new Error(ne[_0x1f9644(0x5df)]['ERROR_IMAGE']));_0x13900e=_0x2d7b78[_0x1f9644(0x1da)];}catch{return this['_decreaseWaiting'](),Promise[_0x1f9644(0x4a3)](new Error(ne[_0x1f9644(0x5df)][_0x1f9644(0x514)]));}return new Promise((_0x57eaa8,_0x3d3e89)=>{const _0x1c3e83=_0x1f9644,_0x268d3f=new FileReader();_0x268d3f[_0x1c3e83(0x1b4)](_0x2770cc),_0x268d3f['onload']=_0xafa6e9=>{const _0x3469d1=_0x1c3e83;var _0x3bf8c1;const _0x3d50cb=(_0x3bf8c1=_0xafa6e9[_0x3469d1(0x55c)])==null?void 0x0:_0x3bf8c1[_0x3469d1(0x348)];if(_0x3d50cb==null){this[_0x3469d1(0x3a9)](),_0x3d3e89(new Error(ne[_0x3469d1(0x5df)][_0x3469d1(0x514)]));return;}const _0x9b14a1=a[_0x3469d1(0x34c)][_0x3469d1(0x452)](0x6);_0x57eaa8({'imageId':_0x9b14a1,'imageSourceType':ne[_0x3469d1(0x2c5)][_0x3469d1(0x309)],'source':_0x13900e,'base64Cache':_0x3d50cb,'status':ne[_0x3469d1(0x5df)][_0x3469d1(0x3c7)]}),this[_0x3469d1(0x3a9)]();};});}[_0x1f2fa(0x26a)](){const _0x3dfed0=_0x1f2fa;var _0x28d7dc,_0x13f58a;const _0x30c440=this[_0x3dfed0(0x499)][_0x3dfed0(0x546)](Ur),_0x4127f1=this[_0x3dfed0(0x499)][_0x3dfed0(0x546)](te);return(_0x13f58a=(_0x28d7dc=_0x4127f1==null?void 0x0:_0x4127f1[_0x3dfed0(0x40b)])!=null?_0x28d7dc:_0x30c440)!=null?_0x13f58a:Mr;}[_0x1f2fa(0x486)](){const _0x47d0f5=_0x1f2fa;var _0x46abe0,_0x558f49;const _0x4d3049=this[_0x47d0f5(0x499)][_0x47d0f5(0x546)](Ar),_0x1fb26c=this[_0x47d0f5(0x499)][_0x47d0f5(0x546)](te);return(_0x558f49=(_0x46abe0=_0x1fb26c==null?void 0x0:_0x1fb26c['signUrlServerUrl'])!=null?_0x46abe0:_0x4d3049)!=null?_0x558f49:Nr;}[_0x1f2fa(0x36e)](){const _0x1af86e=_0x1f2fa;var _0x15f1f2;const _0x6ca26b=this[_0x1af86e(0x499)]['getConfig'](te);return(_0x15f1f2=_0x6ca26b==null?void 0x0:_0x6ca26b[_0x1af86e(0x181)])!=null?_0x15f1f2:location['origin'];}['_replaceFileID'](_0x68885,_0x13b292){const _0x2d72eb=_0x1f2fa;return _0x68885[_0x2d72eb(0x368)](_0x2d72eb(0x332),_0x13b292);}['_decreaseWaiting'](){const _0x12cf0d=_0x1f2fa;this['_waitCount']-=0x1,this['_change$'][_0x12cf0d(0x497)](this[_0x12cf0d(0x226)]);}},exports['ImageIoService']=Dr([vt(0x0,a[_0x1f2fa(0x28d)](Z[_0x1f2fa(0x516)])),vt(0x1,a[_0x1f2fa(0x1b0)]),vt(0x2,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x562)]))],exports[_0x1f2fa(0x40e)]);var Lr=Object['defineProperty'],xr=Object[_0x1f2fa(0x40d)],jr=(_0x11d850,_0x1bc2e1,_0x18106b,_0x5ba328)=>{for(var _0x81472e=_0x5ba328>0x1?void 0x0:_0x5ba328?xr(_0x1bc2e1,_0x18106b):_0x1bc2e1,_0x21d1df=_0x11d850['length']-0x1,_0x5f3437;_0x21d1df>=0x0;_0x21d1df--)(_0x5f3437=_0x11d850[_0x21d1df])&&(_0x81472e=(_0x5ba328?_0x5f3437(_0x1bc2e1,_0x18106b,_0x81472e):_0x5f3437(_0x81472e))||_0x81472e);return _0x5ba328&&_0x81472e&&Lr(_0x1bc2e1,_0x18106b,_0x81472e),_0x81472e;},Ae=(_0x4708c0,_0xac1861)=>(_0x52c455,_0x31d222)=>_0xac1861(_0x52c455,_0x31d222,_0x4708c0);let Ke=class extends a[_0x1f2fa(0x2bd)]{constructor(_0xfa1c90,_0x2e1950,_0x807a99,_0x45adbd,_0x4b5662){const _0x4168bc=_0x1f2fa;super(),this[_0x4168bc(0x2f7)]=_0xfa1c90,this[_0x4168bc(0x51c)]=_0x2e1950,this['_permissionService']=_0x807a99,this[_0x4168bc(0x2b9)]=_0x45adbd,this[_0x4168bc(0x247)]=_0x4b5662,this[_0x4168bc(0x16c)](),this[_0x4168bc(0x520)]();}[_0x1f2fa(0x520)](){const _0x3c7d6c=_0x1f2fa,_0x40a9b5=async _0xa360a1=>{const _0x5f0dd5=_0x3f71;(await this[_0x5f0dd5(0x2b9)][_0x5f0dd5(0x5b5)](_0xa360a1))[_0x5f0dd5(0x215)][_0x5f0dd5(0x5f2)](V[_0x5f0dd5(0x3db)](_0x7c83e=>_0x7c83e['eventID']===S['CollaborationEvent']['SHOULD_CLOSE_CONN']),V[_0x5f0dd5(0x5d4)](this[_0x5f0dd5(0x57d)]))['subscribe'](_0xaa3b2d=>{const _0x47ed58=_0x5f0dd5,_0x45f5d2=_0xaa3b2d,{reason:_0x142c2f}=_0x45f5d2[_0x47ed58(0x462)];this[_0x47ed58(0x2f7)][_0x47ed58(0x2f6)](ee[_0x47ed58(0x32b)])[_0x47ed58(0x472)]({'type':ge['MessageType'][_0x47ed58(0x424)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x142c2f+')'}),this['_permissionService'][_0x47ed58(0x4db)](new k['WorkbookEditablePermission'](_0xa360a1)['id'],!0x1),this[_0x47ed58(0x2b9)][_0x47ed58(0x2d6)](_0xa360a1);});};A[_0x3c7d6c(0x1b6)](this[_0x3c7d6c(0x51c)]['getTypeOfUnitAdded$'](a[_0x3c7d6c(0x5c7)][_0x3c7d6c(0x4c3)]),this[_0x3c7d6c(0x51c)][_0x3c7d6c(0x374)](a['UniverInstanceType']['UNIVER_DOC']))[_0x3c7d6c(0x5f2)](V[_0x3c7d6c(0x50e)](_0x3fd82f=>_0x3fd82f[_0x3c7d6c(0x4ea)]()),V[_0x3c7d6c(0x3db)](_0x4a521e=>!a[_0x3c7d6c(0x29a)](_0x4a521e)),V[_0x3c7d6c(0x5d4)](this[_0x3c7d6c(0x57d)]))[_0x3c7d6c(0x25e)](_0x17739e=>{_0x40a9b5(_0x17739e);});}[_0x1f2fa(0x16c)](){const _0x137df5=_0x1f2fa,_0x28cd2a=async _0x27a778=>{const _0x596934=_0x3f71;(await this['_collaborationSessionService'][_0x596934(0x5b5)](_0x27a778))[_0x596934(0x215)][_0x596934(0x5f2)](V[_0x596934(0x3db)](_0x1bfdbc=>_0x1bfdbc[_0x596934(0x38e)]===S['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x596934(0x5d4)](this[_0x596934(0x57d)]))['subscribe'](_0x50f44c=>{const _0x511e4f=_0x596934,_0x106158=_0x50f44c,{objectId:_0x3fff62}=_0x106158[_0x511e4f(0x462)],_0x2a507c=this['_injector']['get'](Re['SheetPermissionInitController']);_0x3fff62===_0x27a778?_0x2a507c[_0x511e4f(0x267)](_0x27a778):_0x2a507c['refreshPermission'](_0x27a778,_0x3fff62);});};A[_0x137df5(0x1b6)](this[_0x137df5(0x51c)][_0x137df5(0x374)](a['UniverInstanceType'][_0x137df5(0x4c3)]),this[_0x137df5(0x51c)][_0x137df5(0x374)](a['UniverInstanceType'][_0x137df5(0x505)]))[_0x137df5(0x5f2)](V[_0x137df5(0x50e)](_0x29ade1=>_0x29ade1[_0x137df5(0x4ea)]()),V['filter'](_0x51633a=>!a[_0x137df5(0x29a)](_0x51633a)),V[_0x137df5(0x5d4)](this[_0x137df5(0x57d)]))[_0x137df5(0x25e)](_0x30eb4f=>{_0x28cd2a(_0x30eb4f);});}};Ke=jr([Ae(0x0,a['Inject'](a['Injector'])),Ae(0x1,a[_0x1f2fa(0x562)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x1f2fa(0x28d)](exports[_0x1f2fa(0x1c0)])),Ae(0x4,a['Inject'](a[_0x1f2fa(0x537)]))],Ke);var $r=Object[_0x1f2fa(0x4e5)],Hr=Object[_0x1f2fa(0x40d)],Br=(_0x746282,_0x3b5dc1,_0x4dd65c,_0x3ba508)=>{const _0x45acf0=_0x1f2fa;for(var _0x4deb11=_0x3ba508>0x1?void 0x0:_0x3ba508?Hr(_0x3b5dc1,_0x4dd65c):_0x3b5dc1,_0x8beaa6=_0x746282[_0x45acf0(0x339)]-0x1,_0x24a722;_0x8beaa6>=0x0;_0x8beaa6--)(_0x24a722=_0x746282[_0x8beaa6])&&(_0x4deb11=(_0x3ba508?_0x24a722(_0x3b5dc1,_0x4dd65c,_0x4deb11):_0x24a722(_0x4deb11))||_0x4deb11);return _0x3ba508&&_0x4deb11&&$r(_0x3b5dc1,_0x4dd65c,_0x4deb11),_0x4deb11;},Jt=(_0x4f03a9,_0x48727a)=>(_0x2a3f7a,_0x4491c3)=>_0x48727a(_0x2a3f7a,_0x4491c3,_0x4f03a9);exports[_0x1f2fa(0x42e)]=class{constructor(_0x456a8b,_0x5226b6){const _0x77b02f=_0x1f2fa;this[_0x77b02f(0x499)]=_0x456a8b,this[_0x77b02f(0x3e8)]=_0x5226b6;}async['getUnitOnRev'](_0x1520d1,_0x5ae0a9){const _0xa4c9c8=_0x1f2fa;var _0x162f9c;const {unitID:_0x2d1804,type:_0xd7eb2f,revision:_0x2f25e=0x0}=_0x5ae0a9,_0x22b270=this[_0xa4c9c8(0x315)]()+'/'+_0xd7eb2f+_0xa4c9c8(0x17b)+_0x2d1804+_0xa4c9c8(0x4c4)+_0x2f25e,_0x50f763=(await this[_0xa4c9c8(0x3e8)][_0xa4c9c8(0x2f6)](_0x22b270))[_0xa4c9c8(0x26d)],_0x425fdb=(_0x162f9c=_0x50f763[_0xa4c9c8(0x3e4)])==null?void 0x0:_0x162f9c[_0xa4c9c8(0x5ba)];if(_0x425fdb){const _0x2e5f10=_0x425fdb==null?void 0x0:_0x425fdb[_0xa4c9c8(0x46c)],_0x32a314=S[_0xa4c9c8(0x379)]['encode'](S[_0xa4c9c8(0x4ca)](_0x2e5f10));_0x425fdb[_0xa4c9c8(0x46c)]=_0x32a314,Object['entries'](_0x425fdb[_0xa4c9c8(0x3c3)])[_0xa4c9c8(0x601)](([,_0x32aa78])=>{const _0x59969a=_0xa4c9c8,_0x55bbdd=_0x32aa78['originalMeta'],_0x302d4d=S['textEncoder'][_0x59969a(0x29b)](S[_0x59969a(0x4ca)](_0x55bbdd));_0x32aa78['originalMeta']=_0x302d4d;});}return _0x50f763;}async['getSheetBlock'](_0x24373f,_0x17d770){const _0x14234b=_0x1f2fa,{unitID:_0x1f2663,type:_0x51bdc7,blockID:_0x1b476d}=_0x17d770,_0x1b965a=this[_0x14234b(0x524)]()+'/'+_0x51bdc7+_0x14234b(0x17b)+_0x1f2663+_0x14234b(0x53e)+_0x1b476d;return(await this[_0x14234b(0x3e8)][_0x14234b(0x2f6)](_0x1b965a))[_0x14234b(0x26d)];}async[_0x1f2fa(0x18d)](_0x1a1308,_0x543be3){const _0x16cf9d=_0x1f2fa,{unitID:_0x4449f1,type:_0x1c9fb0,blockID:_0x685ba9}=_0x543be3,_0x1054aa=this[_0x16cf9d(0x524)]()+_0x16cf9d(0x53e)+_0x1c9fb0+_0x16cf9d(0x17b)+_0x4449f1+'/block/'+_0x685ba9;return(await this[_0x16cf9d(0x3e8)]['get'](_0x1054aa))[_0x16cf9d(0x26d)];}async[_0x1f2fa(0x289)](_0x3ace9f,_0x51c22d){const _0x57d248=_0x1f2fa,{unitID:_0x2c8d22,type:_0x152b74,from:_0x1cfdb6,to:_0x3bfce6}=_0x51c22d,_0x251399=this[_0x57d248(0x524)]()+'/'+_0x152b74+_0x57d248(0x17b)+_0x2c8d22+_0x57d248(0x569)+_0x1cfdb6+_0x57d248(0x572)+_0x3bfce6;return(await this[_0x57d248(0x3e8)][_0x57d248(0x2f6)](_0x251399))[_0x57d248(0x26d)];}[_0x1f2fa(0x315)](){const _0x5a7397=_0x1f2fa;var _0x65db0c;return(_0x65db0c=this['_configService'][_0x5a7397(0x546)](Qt))!=null?_0x65db0c:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x323a96=_0x1f2fa;var _0x589541,_0x26a31b;const _0x331f67=this[_0x323a96(0x499)][_0x323a96(0x546)](Zt),_0x5cc29a=this[_0x323a96(0x499)][_0x323a96(0x546)](te);return(_0x26a31b=(_0x589541=_0x5cc29a==null?void 0x0:_0x5cc29a['snapshotServerUrl'])!=null?_0x589541:_0x331f67)!=null?_0x26a31b:Hn;}async[_0x1f2fa(0x530)](_0x7c4138,_0x57fe4b){const _0xdeb5a1=_0x1f2fa,_0x41a000=_0xdeb5a1(0x2e7)+_0x57fe4b[_0xdeb5a1(0x1eb)]+_0xdeb5a1(0x17b)+_0x57fe4b['unitID']+_0xdeb5a1(0x31b);return(await this[_0xdeb5a1(0x3e8)][_0xdeb5a1(0x2f6)](_0x41a000,{'params':{'resourceId':JSON[_0xdeb5a1(0x3f4)](_0x57fe4b[_0xdeb5a1(0x177)])}}))[_0xdeb5a1(0x26d)];}[_0x1f2fa(0x243)](){const _0x1f5f49=_0x1f2fa;throw new Error(_0x1f5f49(0x209));}['saveSheetBlock'](){const _0x39f1f2=_0x1f2fa;throw new Error(_0x39f1f2(0x209));}[_0x1f2fa(0x2ff)](){const _0x475a79=_0x1f2fa;throw new Error(_0x475a79(0x209));}[_0x1f2fa(0x506)](){const _0x41e62f=_0x1f2fa;throw new Error(_0x41e62f(0x209));}[_0x1f2fa(0x30d)](){const _0x3ea9c6=_0x1f2fa;throw new Error(_0x3ea9c6(0x209));}},exports[_0x1f2fa(0x42e)]=Br([Jt(0x0,a[_0x1f2fa(0x1b0)]),Jt(0x1,a[_0x1f2fa(0x28d)](Z[_0x1f2fa(0x516)]))],exports[_0x1f2fa(0x42e)]);var kr=Object[_0x1f2fa(0x4e5)],Wr=Object[_0x1f2fa(0x40d)],Fr=(_0x1bc060,_0xc9a196,_0x556514,_0x596713)=>{const _0x579bc6=_0x1f2fa;for(var _0x455038=_0x596713>0x1?void 0x0:_0x596713?Wr(_0xc9a196,_0x556514):_0xc9a196,_0x3c9c58=_0x1bc060[_0x579bc6(0x339)]-0x1,_0x2b9cde;_0x3c9c58>=0x0;_0x3c9c58--)(_0x2b9cde=_0x1bc060[_0x3c9c58])&&(_0x455038=(_0x596713?_0x2b9cde(_0xc9a196,_0x556514,_0x455038):_0x2b9cde(_0x455038))||_0x455038);return _0x596713&&_0x455038&&kr(_0xc9a196,_0x556514,_0x455038),_0x455038;},Ne=(_0x4ea161,_0x427409)=>(_0x3fa305,_0x7cfcc3)=>_0x427409(_0x3fa305,_0x7cfcc3,_0x4ea161);let It=class extends a[_0x1f2fa(0x221)]{constructor(_0x5d1856,_0x449d81,_0xfad69f,_0x19d9f0,_0x10acc2){const _0x51fb78=_0x1f2fa;super(_0x5d1856,_0x449d81,_0xfad69f),this['_transformService']=_0x19d9f0,this[_0x51fb78(0x1d8)]=_0x10acc2;}[_0x1f2fa(0x3ec)](_0x58472d,_0x301592){const _0x40f729=_0x1f2fa,_0x3a56f1=this[_0x40f729(0x22e)](_0x58472d);if(_0x3a56f1)try{const _0x40ad47=this['_transformStack'](_0x3a56f1,_0x301592);this[_0x40f729(0x3da)](_0x58472d,_0x40ad47);}catch(_0x5c9bc0){this['_logService']['error'](_0x40f729(0x47a),_0x5c9bc0),this[_0x40f729(0x5cc)](_0x58472d);}const _0x359671=this[_0x40f729(0x285)](_0x58472d);if(_0x359671)try{const _0x456525=this['_transformStack'](_0x359671,_0x301592);this[_0x40f729(0x19f)](_0x58472d,_0x456525);}catch(_0xacbd92){this[_0x40f729(0x1d8)]['error'](_0xacbd92),this['_clearRedo'](_0x58472d);}}['_clearUndo'](_0x411082){const _0x59959d=_0x1f2fa,_0x461bbf=this[_0x59959d(0x22e)](_0x411082);_0x461bbf&&(_0x461bbf['length']=0x0,this[_0x59959d(0x36d)]());}[_0x1f2fa(0x2fb)](_0x426027){const _0x10d13c=_0x1f2fa,_0x1d5d16=this['_getRedoStack'](_0x426027);_0x1d5d16&&(_0x1d5d16[_0x10d13c(0x339)]=0x0,this['_updateStatus']());}[_0x1f2fa(0x3da)](_0xb83747,_0x131e96){const _0x350f54=_0x1f2fa;this[_0x350f54(0x38b)]['set'](_0xb83747,_0x131e96),this[_0x350f54(0x36d)]();}['_substituteRedoStack'](_0x11fc7f,_0x28feea){const _0x1accbc=_0x1f2fa;this[_0x1accbc(0x3f0)][_0x1accbc(0x329)](_0x11fc7f,_0x28feea),this['_updateStatus']();}[_0x1f2fa(0x2df)](_0x3c96f7,_0x43adc5){const _0x20d4b2=_0x1f2fa,_0x2de2f5=[];let _0x17e0bb=_0x43adc5,_0x3f7743=_0x43adc5;for(let _0x326b0c=_0x3c96f7[_0x20d4b2(0x339)]-0x1;_0x326b0c>=0x0;_0x326b0c--){const {unitID:_0x53a128,undoMutations:_0x23c6fe,redoMutations:_0x4185ce}=_0x3c96f7[_0x326b0c],_0x679030=this[_0x20d4b2(0x5ce)][_0x20d4b2(0x403)](_0x17e0bb,_0x23c6fe),_0x2fa969=this['_transformService'][_0x20d4b2(0x403)](_0x3f7743,_0x4185ce);if(S[_0x20d4b2(0x372)](_0x679030)||S['isTransformMutationsWithChangesetFailure'](_0x2fa969)){this[_0x20d4b2(0x1d8)][_0x20d4b2(0x2d0)]('[CollaborationUndoRedoService]',_0x20d4b2(0x3dc),_0x679030,_0x2fa969);break;}_0x17e0bb=_0x679030['c1Prime'],_0x3f7743=_0x2fa969[_0x20d4b2(0x448)],_0x2de2f5[_0x20d4b2(0x19c)]({'unitID':_0x53a128,'undoMutations':_0x679030[_0x20d4b2(0x26e)],'redoMutations':_0x2fa969[_0x20d4b2(0x26e)]});}return _0x2de2f5[_0x20d4b2(0x44a)]();}};It=Fr([Ne(0x0,a[_0x1f2fa(0x562)]),Ne(0x1,a[_0x1f2fa(0x51f)]),Ne(0x2,a['IContextService']),Ne(0x3,S[_0x1f2fa(0x3ff)]),Ne(0x4,a[_0x1f2fa(0x1af)])],It);class An extends a[_0x1f2fa(0x2bd)]{constructor(){const _0x37bbd6=_0x1f2fa;super(),I(this,'urlChange$'),this[_0x37bbd6(0x261)]=A['fromEvent'](window,_0x37bbd6(0x190))[_0x37bbd6(0x5f2)](A[_0x37bbd6(0x5d4)](this[_0x37bbd6(0x57d)]),A['shareReplay'](0x1),A[_0x37bbd6(0x295)](void 0x0));}[_0x1f2fa(0x318)](_0x580126,_0x1dbd56,_0x339bb3=!0x1){const _0x58c369=_0x1f2fa,_0xea6279=new URL(window[_0x58c369(0x283)][_0x58c369(0x538)]);_0xea6279[_0x58c369(0x236)][_0x58c369(0x329)](_0x580126,_0x1dbd56),_0x339bb3?window[_0x58c369(0x1a9)][_0x58c369(0x421)]('','',_0xea6279[_0x58c369(0x353)]()):window[_0x58c369(0x1a9)]['pushState']('','',_0xea6279[_0x58c369(0x353)]());}['removeParam'](_0x692e12,_0x2beca1=!0x1){const _0x35656e=_0x1f2fa,_0x3093b1=new URL(window['location'][_0x35656e(0x538)]);_0x3093b1['searchParams'][_0x35656e(0x2e4)](_0x692e12),_0x2beca1?window[_0x35656e(0x1a9)][_0x35656e(0x421)]('','',_0x3093b1['toString']()):window[_0x35656e(0x1a9)][_0x35656e(0x4a0)]('','',_0x3093b1[_0x35656e(0x353)]());}[_0x1f2fa(0x387)](_0xdf1e0b){const _0x5612a6=_0x1f2fa;var _0x412254;return(_0x412254=new URL(window[_0x5612a6(0x283)][_0x5612a6(0x538)])[_0x5612a6(0x236)][_0x5612a6(0x2f6)](_0xdf1e0b))!=null?_0x412254:void 0x0;}}var Nn=Object[_0x1f2fa(0x4e5)],Vr=Object['getOwnPropertyDescriptor'],Gr=(_0x47f1e9,_0x17da21,_0x45d5be)=>_0x17da21 in _0x47f1e9?Nn(_0x47f1e9,_0x17da21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45d5be}):_0x47f1e9[_0x17da21]=_0x45d5be,Yr=(_0x3fe5fe,_0x220f1c,_0x28fe5d,_0x1eaa01)=>{for(var _0xe62e39=_0x1eaa01>0x1?void 0x0:_0x1eaa01?Vr(_0x220f1c,_0x28fe5d):_0x220f1c,_0x51ffd1=_0x3fe5fe['length']-0x1,_0x35e398;_0x51ffd1>=0x0;_0x51ffd1--)(_0x35e398=_0x3fe5fe[_0x51ffd1])&&(_0xe62e39=(_0x1eaa01?_0x35e398(_0x220f1c,_0x28fe5d,_0xe62e39):_0x35e398(_0xe62e39))||_0xe62e39);return _0x1eaa01&&_0xe62e39&&Nn(_0x220f1c,_0x28fe5d,_0xe62e39),_0xe62e39;},He=(_0x4ac180,_0x1fe9a9)=>(_0x16c2cf,_0x428732)=>_0x1fe9a9(_0x16c2cf,_0x428732,_0x4ac180),Kr=(_0x3fc281,_0x2d1bb7,_0x27ce1a)=>Gr(_0x3fc281,_0x2d1bb7+'',_0x27ce1a);const qr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x1f2fa(0x227)]=class extends a[_0x1f2fa(0x5fc)]{constructor(_0x212bf0=zn,_0x5ed821,_0x36d3de,_0x5261d8,_0x540517){const _0x5986c7=_0x1f2fa;super(),this[_0x5986c7(0x17d)]=_0x212bf0,this[_0x5986c7(0x1d8)]=_0x5ed821,this[_0x5986c7(0x303)]=_0x36d3de,this[_0x5986c7(0x2f7)]=_0x5261d8,this[_0x5986c7(0x499)]=_0x540517;const {..._0x50e489}=this[_0x5986c7(0x17d)];this[_0x5986c7(0x499)][_0x5986c7(0x2d7)](te,_0x50e489);}[_0x1f2fa(0x473)](){const _0xce2408=_0x1f2fa;this[_0xce2408(0x53b)](),this['_initDependencies']();}[_0x1f2fa(0x15b)](){const _0x2dcf78=_0x1f2fa;a['touchDependencies'](this[_0x2dcf78(0x2f7)],[[Ve]]);}['onRendered'](){const _0x3bd83d=_0x1f2fa;this[_0x3bd83d(0x44e)]();}['_registerDependencies'](){const _0x47da98=_0x1f2fa;var _0x4b8932,_0x46237c,_0x15718d,_0x24d6f9;this[_0x47da98(0x2f7)][_0x47da98(0x3d5)](a['IUndoRedoService'])&&this[_0x47da98(0x1d8)][_0x47da98(0x2d0)]('[UniverCollaborationClientPlugin]',_0x47da98(0x307));const _0x19455b=[[a[_0x47da98(0x2fa)],{'useClass':It}],[exports[_0x47da98(0x1c0)]],[Ot],[wt,{'useClass':An}],[exports[_0x47da98(0x3d8)]],[exports[_0x47da98(0x333)]],[Z[_0x47da98(0x22d)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x46237c=(_0x4b8932=this[_0x47da98(0x17d)])==null?void 0x0:_0x4b8932['socketService'])!=null?_0x46237c:exports[_0x47da98(0x2b7)]}],[S[_0x47da98(0x1d2)],{'useClass':exports[_0x47da98(0x42e)]}],[a[_0x47da98(0x15e)],{'useClass':exports[_0x47da98(0x175)]}],[ne[_0x47da98(0x311)],{'useClass':exports['ImageIoService']}],[exports['CollaborationController']],[exports[_0x47da98(0x33c)]],[exports['DesktopCollaborationStatusDisplayController']],[Ve],[De]];(_0x15718d=this[_0x47da98(0x17d)])!=null&&_0x15718d[_0x47da98(0x28f)]&&_0x19455b['push']([qe,{'useClass':Oi}]),a[_0x47da98(0x43b)](this[_0x47da98(0x2f7)],a[_0x47da98(0x1c3)](_0x19455b,(_0x24d6f9=this[_0x47da98(0x17d)])==null?void 0x0:_0x24d6f9[_0x47da98(0x1b8)]));}[_0x1f2fa(0x44e)](){const _0x38ae2d=_0x1f2fa;this['disposeWithMe'](this[_0x38ae2d(0x303)][_0x38ae2d(0x37e)](a[_0x38ae2d(0x5c7)][_0x38ae2d(0x505)],[pt])),this[_0x38ae2d(0x305)](this[_0x38ae2d(0x303)][_0x38ae2d(0x37e)](a['UniverInstanceType']['UNIVER_SHEET'],[gt]));}[_0x1f2fa(0x364)](){const _0x17aefe=_0x1f2fa;var _0x143dbb,_0x2d8902;this[_0x17aefe(0x2f7)][_0x17aefe(0x2f6)](Z['HTTPService'])[_0x17aefe(0x5f8)]({'priority':0x14,'interceptor':Z[_0x17aefe(0x2fe)]({'maxParallel':0x6})}),(_0x143dbb=this[_0x17aefe(0x17d)])!=null&&_0x143dbb[_0x17aefe(0x5ac)]||this[_0x17aefe(0x2f7)][_0x17aefe(0x2f6)](exports[_0x17aefe(0x333)])[_0x17aefe(0x44c)](),(_0x2d8902=this[_0x17aefe(0x17d)])!=null&&_0x2d8902[_0x17aefe(0x4ee)]&&a['touchDependencies'](this[_0x17aefe(0x2f7)],[[Ge]]),a[_0x17aefe(0x3d6)](this['_injector'],[[Ye],[De],[exports['DataLoaderController']],[exports[_0x17aefe(0x1ab)]],[exports[_0x17aefe(0x31a)]],[Ke]]);}},Kr(exports[_0x1f2fa(0x227)],_0x1f2fa(0x399),qr),exports['UniverCollaborationClientPlugin']=Yr([a[_0x1f2fa(0x224)](S[_0x1f2fa(0x38c)],Z['UniverNetworkPlugin']),He(0x1,a['ILogService']),He(0x2,K[_0x1f2fa(0x328)]),He(0x3,a[_0x1f2fa(0x28d)](a[_0x1f2fa(0x35d)])),He(0x4,a[_0x1f2fa(0x1b0)])],exports[_0x1f2fa(0x227)]),exports[_0x1f2fa(0x2a7)]=Rn,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=on,exports[_0x1f2fa(0x584)]=en,exports[_0x1f2fa(0x422)]=q,exports['CollaborationStatusDisplay']=Tn,exports[_0x1f2fa(0x528)]=Tt,exports[_0x1f2fa(0x15c)]=tn,exports[_0x1f2fa(0x4e1)]=Ct,exports[_0x1f2fa(0x1d9)]=bt,exports[_0x1f2fa(0x330)]=wt,exports[_0x1f2fa(0x2b4)]=rn,exports['LOGIN_URL_KEY']=an,exports[_0x1f2fa(0x55e)]=sn,exports[_0x1f2fa(0x1df)]=Bn,exports[_0x1f2fa(0x1c8)]=Zt,exports[_0x1f2fa(0x2a6)]=Qt,exports[_0x1f2fa(0x4de)]=se,exports[_0x1f2fa(0x5b9)]=Sn,exports[_0x1f2fa(0x321)]=An,exports[_0x1f2fa(0x2bf)]=hn,exports[_0x1f2fa(0x1f7)]=_n;