@univerjs-pro/collaboration-client 0.2.6 → 0.2.8
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.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +8 -5
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -1
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -1
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -1
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -1
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -1
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +0 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +0 -1
- package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -1
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -1
- package/lib/types/controllers/file-name/file-name.controller.d.ts +0 -1
- package/lib/types/locale/en-US.d.ts +0 -1
- package/lib/types/locale/ru-RU.d.ts +0 -1
- package/lib/types/locale/vi-VN.d.ts +0 -1
- package/lib/types/locale/zh-TW.d.ts +0 -1
- package/lib/types/models/cursor.d.ts +0 -1
- package/lib/types/plugin.d.ts +0 -1
- package/lib/types/services/auth-server/auth-server.service.d.ts +0 -1
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -1
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +0 -1
- package/lib/types/services/color-assign/color-assign.service.d.ts +0 -1
- package/lib/types/services/comment/comment.service.d.ts +0 -1
- package/lib/types/services/image-remote/image-io.service.d.ts +0 -1
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -1
- package/lib/types/services/local-cache/local-cache.service.d.ts +0 -1
- package/lib/types/services/member/member.service.d.ts +0 -1
- package/lib/types/services/permission/permission.service.d.ts +0 -1
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +0 -1
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -1
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +0 -1
- package/lib/types/services/socket/collaboration-socket.service.d.ts +0 -1
- package/lib/types/services/socket/serialize.d.ts +0 -1
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -1
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -1
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +0 -1
- package/lib/types/services/url/url.service.d.ts +0 -1
- package/lib/types/services/url/web-url.service.d.ts +0 -1
- package/lib/types/views/components/CollabStatus.d.ts +0 -1
- package/lib/types/views/components/CollabStatus.stories.d.ts +0 -1
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +2 -2
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -1
- package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -1
- package/lib/umd/index.js +1 -1
- package/package.json +32 -36
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x5b63(_0x1db76c,_0x5f40dc){const _0x1e112f=_0x1e11();return _0x5b63=function(_0x5b63b0,_0x3520a2){_0x5b63b0=_0x5b63b0-0xad;let _0x52d948=_0x1e112f[_0x5b63b0];return _0x52d948;},_0x5b63(_0x1db76c,_0x5f40dc);}(function(_0x46f7f8,_0x595243){const _0x545151=_0x5b63,_0x16fb27=_0x46f7f8();while(!![]){try{const _0x595c38=-parseInt(_0x545151(0x207))/0x1+-parseInt(_0x545151(0x361))/0x2+-parseInt(_0x545151(0x30f))/0x3+parseInt(_0x545151(0xae))/0x4*(-parseInt(_0x545151(0x401))/0x5)+parseInt(_0x545151(0x259))/0x6*(parseInt(_0x545151(0x495))/0x7)+parseInt(_0x545151(0x49d))/0x8+-parseInt(_0x545151(0x41d))/0x9*(-parseInt(_0x545151(0x1e9))/0xa);if(_0x595c38===_0x595243)break;else _0x16fb27['push'](_0x16fb27['shift']());}catch(_0x109758){_0x16fb27['push'](_0x16fb27['shift']());}}}(_0x1e11,0xb4013),function(_0x588a11,_0x3c520c){const _0x5664e5=_0x5b63;typeof exports==_0x5664e5(0x497)&&typeof module<'u'?_0x3c520c(exports,require(_0x5664e5(0x21f)),require(_0x5664e5(0x2c0)),require(_0x5664e5(0x1a6)),require(_0x5664e5(0x364)),require(_0x5664e5(0x21a)),require(_0x5664e5(0x282)),require(_0x5664e5(0x2a7)),require('@univerjs/docs'),require(_0x5664e5(0x2a0)),require(_0x5664e5(0x122)),require(_0x5664e5(0x278)),require(_0x5664e5(0x2c4)),require('lodash/debounce'),require('@univerjs/sheets-ui'),require(_0x5664e5(0x2b0)),require(_0x5664e5(0x275)),require(_0x5664e5(0x49f))):typeof define=='function'&&define[_0x5664e5(0x172)]?define([_0x5664e5(0x320),_0x5664e5(0x21f),'@univerjs/sheets','@univerjs/design',_0x5664e5(0x364),'@univerjs-pro/collaboration','rxjs','rxjs/operators',_0x5664e5(0x244),_0x5664e5(0x2a0),_0x5664e5(0x122),_0x5664e5(0x278),_0x5664e5(0x2c4),_0x5664e5(0x412),_0x5664e5(0x255),_0x5664e5(0x2b0),_0x5664e5(0x275),_0x5664e5(0x49f)],_0x3c520c):(_0x588a11=typeof globalThis<'u'?globalThis:_0x588a11||self,_0x3c520c(_0x588a11['UniverCollaborationClient']={},_0x588a11[_0x5664e5(0x3d0)],_0x588a11[_0x5664e5(0x17e)],_0x588a11[_0x5664e5(0x45e)],_0x588a11[_0x5664e5(0x419)],_0x588a11[_0x5664e5(0xb0)],_0x588a11[_0x5664e5(0x282)],_0x588a11[_0x5664e5(0x282)][_0x5664e5(0x14a)],_0x588a11[_0x5664e5(0x239)],_0x588a11[_0x5664e5(0x2b2)],_0x588a11[_0x5664e5(0x343)],_0x588a11[_0x5664e5(0x375)],_0x588a11[_0x5664e5(0x30a)],_0x588a11[_0x5664e5(0x47f)][_0x5664e5(0x189)],_0x588a11[_0x5664e5(0x23a)],_0x588a11[_0x5664e5(0x139)],_0x588a11[_0x5664e5(0x275)],_0x588a11['UniverRpc']));}(this,function(_0x481c9f,_0x24e1ed,_0x5e02d9,_0x49b15b,_0x279279,_0x3c4c3c,_0x5ba5b9,_0xb49021,_0x2c946a,_0x2df7e0,_0x35d26c,_0x15516e,_0x47c5bb,_0x5156bc,_0x5a7986,_0x539127,_0x251dff,_0x1392e7){'use strict';const _0x3ceef6=_0x5b63;var _0x2fd66a=Object[_0x3ceef6(0x2d1)],_0x113a41=(_0x599e87,_0x54b738,_0x13c53e)=>_0x54b738 in _0x599e87?_0x2fd66a(_0x599e87,_0x54b738,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13c53e}):_0x599e87[_0x54b738]=_0x13c53e,_0x1b84ec=(_0x54666a,_0xdd2550,_0x357cb4)=>_0x113a41(_0x54666a,typeof _0xdd2550!=_0x3ceef6(0x32e)?_0xdd2550+'':_0xdd2550,_0x357cb4);const _0x6544dc='SNAPSHOT_SERVER_URL_KEY',_0x2d8cc4=_0x3ceef6(0x2e9),_0x53b238=_0x3ceef6(0x415),_0x274600=_0x3ceef6(0xd5),_0x4d2ef0=_0x3ceef6(0x21d),_0x51f828=_0x3ceef6(0x19c),_0x48841c=_0x3ceef6(0x16c),_0x9d9eaa=_0x3ceef6(0x411),_0x4723af=_0x3ceef6(0x384),_0x1006fb=_0x3ceef6(0x3b5),_0x4d3b79=_0x3ceef6(0x1a7),_0x40ed60='COLLAB_SUBMIT_CHANGESET_URL',_0x46be35=_0x3ceef6(0x399),_0x45de66=_0x3ceef6(0x404),_0x56de3f='/universer-api/oidc/authpage';var _0x2aa5e9=(_0x227cde=>(_0x227cde[_0x227cde[_0x3ceef6(0x395)]=0x0]=_0x3ceef6(0x395),_0x227cde[_0x227cde['OK']=0x1]='OK',_0x227cde[_0x227cde[_0x3ceef6(0x1f0)]=0x2]=_0x3ceef6(0x1f0),_0x227cde[_0x227cde[_0x3ceef6(0x3d3)]=0x3]='PERMISSION_DENIED',_0x227cde[_0x227cde['NOT_FOUND']=0x4]='NOT_FOUND',_0x227cde[_0x227cde[_0x3ceef6(0xf9)]=0x5]=_0x3ceef6(0xf9),_0x227cde[_0x227cde[_0x3ceef6(0x3d7)]=0x6]=_0x3ceef6(0x3d7),_0x227cde[_0x227cde[_0x3ceef6(0x134)]=0x7]='INVALID_ARGUMENT',_0x227cde[_0x227cde['TOO_MANY_REQUESTS']=0x8]=_0x3ceef6(0x2de),_0x227cde[_0x227cde[_0x3ceef6(0x3f1)]=0x9]=_0x3ceef6(0x3f1),_0x227cde[_0x227cde[_0x3ceef6(0xd6)]=0x1389]=_0x3ceef6(0xd6),_0x227cde[_0x227cde[_0x3ceef6(0x416)]=0x1771]=_0x3ceef6(0x416),_0x227cde[_0x227cde[_0x3ceef6(0x344)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x227cde[_0x227cde[_0x3ceef6(0x3a9)]=0x1b59]=_0x3ceef6(0x3a9),_0x227cde[_0x227cde[_0x3ceef6(0x488)]=0x1b5a]=_0x3ceef6(0x488),_0x227cde[_0x227cde[_0x3ceef6(0x2d4)]=0x1b5b]=_0x3ceef6(0x2d4),_0x227cde[_0x227cde[_0x3ceef6(0x2ff)]=0x1b5c]=_0x3ceef6(0x2ff),_0x227cde[_0x227cde[_0x3ceef6(0x367)]=0x1f41]=_0x3ceef6(0x367),_0x227cde[_0x227cde['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x227cde[_0x227cde[_0x3ceef6(0xd9)]=0x232a]=_0x3ceef6(0xd9),_0x227cde[_0x227cde[_0x3ceef6(0x459)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x227cde[_0x227cde[_0x3ceef6(0x324)]=0x232c]=_0x3ceef6(0x324),_0x227cde[_0x227cde[_0x3ceef6(0x33b)]=0x232d]=_0x3ceef6(0x33b),_0x227cde[_0x227cde[_0x3ceef6(0x3fd)]=0x2711]=_0x3ceef6(0x3fd),_0x227cde[_0x227cde[_0x3ceef6(0x31d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x227cde[_0x227cde['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x227cde))(_0x2aa5e9||{}),_0x1a91ec=(_0x4b37f9=>(_0x4b37f9[_0x4b37f9['UNIVER_UNKNOWN']=0x0]=_0x3ceef6(0x2a4),_0x4b37f9[_0x4b37f9['UNIVER_DOC']=0x1]=_0x3ceef6(0x192),_0x4b37f9[_0x4b37f9['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4b37f9[_0x4b37f9[_0x3ceef6(0x39c)]=0x3]=_0x3ceef6(0x39c),_0x4b37f9[_0x4b37f9['UNRECOGNIZED']=-0x1]=_0x3ceef6(0x3a6),_0x4b37f9))(_0x1a91ec||{}),_0x3d863f=(_0xffece=>(_0xffece[_0xffece['UNKNOWN_CMD']=0x0]=_0x3ceef6(0x3d8),_0xffece[_0xffece[_0x3ceef6(0x2b6)]=0x1]=_0x3ceef6(0x2b6),_0xffece[_0xffece[_0x3ceef6(0x433)]=0x2]=_0x3ceef6(0x433),_0xffece[_0xffece[_0x3ceef6(0x417)]=0x3]=_0x3ceef6(0x417),_0xffece[_0xffece[_0x3ceef6(0x1bc)]=0x4]='INGEST',_0xffece[_0xffece[_0x3ceef6(0x39d)]=0x5]=_0x3ceef6(0x39d),_0xffece[_0xffece['RECV']=0x6]=_0x3ceef6(0x43d),_0xffece[_0xffece[_0x3ceef6(0x3a6)]=-0x1]=_0x3ceef6(0x3a6),_0xffece))(_0x3d863f||{}),_0x30d274=(_0x774dd2=>(_0x774dd2[_0x774dd2[_0x3ceef6(0x3d2)]=0x0]=_0x3ceef6(0x3d2),_0x774dd2[_0x774dd2['OK']=0x1]='OK',_0x774dd2[_0x774dd2['FAIL']=0x2]='FAIL',_0x774dd2[_0x774dd2[_0x3ceef6(0x3a6)]=-0x1]='UNRECOGNIZED',_0x774dd2))(_0x30d274||{}),_0xda665e=Object[_0x3ceef6(0x2d1)],_0x21252f=Object[_0x3ceef6(0x3fa)],_0x16c379=(_0x240775,_0x5b7bfa,_0x168635,_0x1b1997)=>{const _0x38f248=_0x3ceef6;for(var _0x3ecc17=_0x1b1997>0x1?void 0x0:_0x1b1997?_0x21252f(_0x5b7bfa,_0x168635):_0x5b7bfa,_0x16f864=_0x240775[_0x38f248(0x346)]-0x1,_0x18a584;_0x16f864>=0x0;_0x16f864--)(_0x18a584=_0x240775[_0x16f864])&&(_0x3ecc17=(_0x1b1997?_0x18a584(_0x5b7bfa,_0x168635,_0x3ecc17):_0x18a584(_0x3ecc17))||_0x3ecc17);return _0x1b1997&&_0x3ecc17&&_0xda665e(_0x5b7bfa,_0x168635,_0x3ecc17),_0x3ecc17;},_0xe3d2fc=(_0x559b6d,_0x38db97)=>(_0x3a03f8,_0x2cb0d2)=>_0x38db97(_0x3a03f8,_0x2cb0d2,_0x559b6d);let _0x29dad0=class extends _0x24e1ed['Disposable']{constructor(_0x4f95ee,_0x3ef8fa){const _0x35234b=_0x3ceef6;super(),_0x1b84ec(this,_0x35234b(0x123),new Map()),(this[_0x35234b(0x198)]=_0x4f95ee,this[_0x35234b(0x487)]=_0x3ef8fa,this[_0x35234b(0x184)](_0x24e1ed[_0x35234b(0x18f)](_0x5ba5b9[_0x35234b(0x36f)](this[_0x35234b(0x198)]['getTypeOfUnitDisposed$'](_0x24e1ed['UniverInstanceType'][_0x35234b(0x2b3)])[_0x35234b(0x30e)](_0xb49021[_0x35234b(0x315)](_0x9db28e=>_0x9db28e[_0x35234b(0x398)]())),this[_0x35234b(0x198)][_0x35234b(0x1fd)](_0x24e1ed[_0x35234b(0x1dd)]['UNIVER_DOC'])[_0x35234b(0x30e)](_0xb49021[_0x35234b(0x315)](_0x104f08=>_0x104f08['getUnitId']())),this[_0x35234b(0x198)][_0x35234b(0x1fd)](_0x24e1ed[_0x35234b(0x1dd)][_0x35234b(0x39c)])[_0x35234b(0x30e)](_0xb49021[_0x35234b(0x315)](_0x14893f=>_0x14893f[_0x35234b(0x398)]())))[_0x35234b(0x1b0)](_0x4edb29=>this['_removeRoom'](_0x4edb29)))));}[_0x3ceef6(0x3a1)](_0x18f759){this['_userManagerService']['setCurrentUser'](_0x18f759);}[_0x3ceef6(0x272)](){const _0x22f0e0=_0x3ceef6;return this[_0x22f0e0(0x487)]['getCurrentUser']();}[_0x3ceef6(0x13f)](_0x449c57,_0x4e6924){const _0x290e61=_0x3ceef6;let _0x2a6967=this[_0x290e61(0x123)][_0x290e61(0x414)](_0x449c57);_0x2a6967||(_0x2a6967=new _0x30b1ed(),this[_0x290e61(0x123)]['set'](_0x449c57,_0x2a6967)),_0x2a6967[_0x290e61(0x13f)](_0x4e6924);}[_0x3ceef6(0x356)](_0x4750bf,_0x26e07a){const _0x181516=_0x3ceef6,_0x33ed96=this[_0x181516(0x123)]['get'](_0x4750bf);_0x33ed96&&_0x33ed96[_0x181516(0x356)](_0x26e07a);}[_0x3ceef6(0x268)](_0x50f63a){const _0x20a17d=_0x3ceef6;return this[_0x20a17d(0x123)][_0x20a17d(0x414)](_0x50f63a);}[_0x3ceef6(0x468)](_0x519b92,_0x23f472){const _0x296834=_0x3ceef6,_0x28b1b2=this['_roomMembers']['get'](_0x519b92);if(_0x28b1b2)return _0x28b1b2[_0x296834(0x468)](_0x23f472);}[_0x3ceef6(0x2b5)](_0x384a9a){const _0x33baa0=_0x3ceef6,_0x374de7=this[_0x33baa0(0x123)][_0x33baa0(0x414)](_0x384a9a);_0x374de7&&(_0x374de7['dispose'](),this['_roomMembers'][_0x33baa0(0x15d)](_0x384a9a));}[_0x3ceef6(0x377)](){const _0x5b6c71=_0x3ceef6;this[_0x5b6c71(0x123)][_0x5b6c71(0x115)](_0x19b30d=>_0x19b30d[_0x5b6c71(0x377)]()),this['_roomMembers'][_0x5b6c71(0x3a5)]();}};_0x29dad0=_0x16c379([_0xe3d2fc(0x0,_0x24e1ed[_0x3ceef6(0x36c)]),_0xe3d2fc(0x1,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x448)]))],_0x29dad0);class _0x30b1ed extends _0x24e1ed['Disposable']{constructor(){const _0x362918=_0x3ceef6;super(...arguments),_0x1b84ec(this,_0x362918(0x118),new Map());}[_0x3ceef6(0x377)](){const _0x1aea20=_0x3ceef6;this[_0x1aea20(0x118)][_0x1aea20(0x3a5)]();}[_0x3ceef6(0x13f)](_0x3514f5){const _0x27759d=_0x3ceef6;this[_0x27759d(0x118)][_0x27759d(0xe7)](_0x3514f5[_0x27759d(0x2ae)],_0x3514f5);}['removeMember'](_0x30dbd4){const _0x3b286f=_0x3ceef6;this['_members'][_0x3b286f(0x15d)](_0x30dbd4);}[_0x3ceef6(0x468)](_0x1d7d4f){const _0x814977=_0x3ceef6;return this[_0x814977(0x118)][_0x814977(0x414)](_0x1d7d4f);}}function _0x1ada2b(_0x32fa1c){const _0x4532ca=_0x3ceef6;var _0x5b29d8,_0x357d67,_0x818319,_0x5a4f96;const _0x5a75c7=_0x32fa1c['data'],_0x1aeee2=JSON[_0x4532ca(0x27d)](_0x5a75c7);switch(_0x1aeee2[_0x4532ca(0x310)]){case _0x3d863f['HEARTBEAT']:case _0x3d863f['HELLO']:{const _0x5f4728=_0x1aeee2[_0x4532ca(0x423)];return{..._0x1aeee2,'data':_0x5f4728,'cmd':_0x1aeee2[_0x4532ca(0x310)]};}case _0x3d863f[_0x4532ca(0x433)]:{const _0x374279=_0x1aeee2[_0x4532ca(0x265)];return{..._0x1aeee2,'data':_0x374279,'cmd':_0x1aeee2[_0x4532ca(0x310)]};}case _0x3d863f[_0x4532ca(0x43d)]:{const _0x388a99=_0x1aeee2[_0x4532ca(0x3ea)];switch(_0x388a99[_0x4532ca(0x17c)]){case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x2d0)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':(_0x5b29d8=_0x388a99['permissionRejEvent'])==null?void 0x0:_0x5b29d8['cs']},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x1d5)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':(_0x357d67=_0x388a99[_0x4532ca(0x345)])==null?void 0x0:_0x357d67['cs']},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c['CollaborationEvent'][_0x4532ca(0xfd)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':(_0x818319=_0x388a99[_0x4532ca(0x2e2)])==null?void 0x0:_0x818319['cs']},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x29f)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':(_0x5a4f96=_0x388a99['csRejEvent'])==null?void 0x0:_0x5a4f96['cs']},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x362)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99[_0x4532ca(0x4a0)]},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c['CollaborationEvent'][_0x4532ca(0xc0)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99[_0x4532ca(0xe9)]},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x45b)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99[_0x4532ca(0x443)]},'cmd':_0x1aeee2['cmd']};case _0x3c4c3c['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99['liveShareNewHost']},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x1f9)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99[_0x4532ca(0x110)]},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99['liveShareNewHost']},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x44d)]:return{..._0x1aeee2,'data':_0x388a99,'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x176)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99[_0x4532ca(0x2cf)]},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99[_0x4532ca(0x215)]},'cmd':_0x1aeee2[_0x4532ca(0x310)]};case _0x3c4c3c[_0x4532ca(0x3ce)][_0x4532ca(0x3c8)]:return{..._0x1aeee2,'data':{..._0x388a99,'data':_0x388a99[_0x4532ca(0x1ff)]},'cmd':_0x1aeee2[_0x4532ca(0x310)]};default:return _0x1aeee2;}}default:return _0x1aeee2;}}function _0x3a7309(_0x1a1756){const _0x193f00=_0x3ceef6;switch(_0x1a1756[_0x193f00(0x310)]){case _0x3d863f[_0x193f00(0x39d)]:case _0x3d863f['HELLO']:return JSON[_0x193f00(0x1b1)]({'cmd':_0x1a1756[_0x193f00(0x310)],'routeKey':_0x1a1756[_0x193f00(0x3e8)]});case _0x3d863f[_0x193f00(0x1bc)]:{let _0x14243a;switch(_0x1a1756[_0x193f00(0x2e4)]['eventID']){case _0x3c4c3c['CollaborationEvent'][_0x193f00(0x362)]:{_0x14243a={'eventID':_0x3c4c3c['CollaborationEvent'][_0x193f00(0x362)],'updateCursorEvent':_0x1a1756[_0x193f00(0x2e4)][_0x193f00(0x2e4)]};break;}case _0x3c4c3c[_0x193f00(0x3ce)]['USERS_LEAVE']:{_0x14243a={'eventID':_0x3c4c3c['CollaborationEvent'][_0x193f00(0x45b)],'leaveEvent':_0x1a1756[_0x193f00(0x2e4)][_0x193f00(0x2e4)]};break;}case _0x3c4c3c['CollaborationEvent']['USERS_ENTER']:{_0x14243a={'eventID':_0x3c4c3c[_0x193f00(0x3ce)][_0x193f00(0xc0)],'joinEvent':_0x1a1756[_0x193f00(0x2e4)][_0x193f00(0x2e4)]};break;}case _0x3c4c3c[_0x193f00(0x3ce)][_0x193f00(0x40c)]:{_0x14243a={'eventID':_0x3c4c3c[_0x193f00(0x3ce)][_0x193f00(0x40c)],'liveShareNewHost':_0x1a1756[_0x193f00(0x2e4)]['data']};break;}case _0x3c4c3c[_0x193f00(0x3ce)][_0x193f00(0x1f9)]:{_0x14243a={'eventID':_0x3c4c3c[_0x193f00(0x3ce)][_0x193f00(0x1f9)],'liveShareOperation':_0x1a1756[_0x193f00(0x2e4)][_0x193f00(0x2e4)]};break;}case _0x3c4c3c[_0x193f00(0x3ce)]['LIVESHARE_TERMINATE']:{_0x14243a={'eventID':_0x3c4c3c[_0x193f00(0x3ce)][_0x193f00(0x1c8)],'liveShareTerminate':_0x1a1756['data']['data']};break;}case _0x3c4c3c['CollaborationEvent'][_0x193f00(0x354)]:{_0x14243a={'eventID':_0x3c4c3c['CollaborationEvent'][_0x193f00(0x354)],'liveShareRequestHost':_0x1a1756[_0x193f00(0x2e4)][_0x193f00(0x2e4)]};break;}case _0x3c4c3c[_0x193f00(0x3ce)]['LIVESHARE_FETCH_OPERATIONS']:{_0x14243a={'eventID':_0x3c4c3c[_0x193f00(0x3ce)][_0x193f00(0x3ec)]};break;}default:_0x14243a={'eventID':_0x1a1756[_0x193f00(0x2e4)]['eventID']};}return JSON[_0x193f00(0x1b1)]({'cmd':_0x1a1756['cmd'],'routeKey':_0x1a1756[_0x193f00(0x3e8)],'collaMsg':_0x14243a});}case _0x3d863f[_0x193f00(0x433)]:return JSON[_0x193f00(0x1b1)]({'cmd':_0x1a1756[_0x193f00(0x310)],'routeKey':_0x1a1756['routeKey'],'joinReq':_0x1a1756[_0x193f00(0x2e4)]});case _0x3d863f[_0x193f00(0x417)]:return JSON[_0x193f00(0x1b1)]({'cmd':_0x1a1756[_0x193f00(0x310)],'routeKey':_0x1a1756['routeKey'],'leaveReq':_0x1a1756[_0x193f00(0x2e4)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x34608a=Object[_0x3ceef6(0x2d1)],_0x4a922f=Object['getOwnPropertyDescriptor'],_0x2c4c90=(_0x438e82,_0x4c7152,_0x465902,_0x4f5683)=>{const _0x5c7866=_0x3ceef6;for(var _0x32adf2=_0x4f5683>0x1?void 0x0:_0x4f5683?_0x4a922f(_0x4c7152,_0x465902):_0x4c7152,_0x1dc411=_0x438e82[_0x5c7866(0x346)]-0x1,_0x34f1c7;_0x1dc411>=0x0;_0x1dc411--)(_0x34f1c7=_0x438e82[_0x1dc411])&&(_0x32adf2=(_0x4f5683?_0x34f1c7(_0x4c7152,_0x465902,_0x32adf2):_0x34f1c7(_0x32adf2))||_0x32adf2);return _0x4f5683&&_0x32adf2&&_0x34608a(_0x4c7152,_0x465902,_0x32adf2),_0x32adf2;},_0x47b2a9=(_0x4921db,_0x484bda)=>(_0x5101e3,_0x172500)=>_0x484bda(_0x5101e3,_0x172500,_0x4921db);const _0x21ae3a=_0x24e1ed[_0x3ceef6(0x381)]('univer-pro.collaboration-client-socket-service');function _0x491a82(_0x20d24f,_0x33d2f3,_0x918178){const _0x2672f0=_0x3ceef6;return _0x20d24f+'/'+_0x33d2f3+_0x2672f0(0xc2)+_0x918178+_0x2672f0(0x407);}_0x481c9f[_0x3ceef6(0x35b)]=class{constructor(_0x583276,_0x1a75e3,_0x2d0191,_0x1f10cf,_0x31e8d1){const _0x3bfa1b=_0x3ceef6;this[_0x3bfa1b(0x372)]=_0x583276,this[_0x3bfa1b(0x136)]=_0x1a75e3,this[_0x3bfa1b(0x421)]=_0x2d0191,this[_0x3bfa1b(0x256)]=_0x1f10cf,this[_0x3bfa1b(0x2bf)]=_0x31e8d1;}['createSocket'](_0x3bd8b2){const _0xd167f2=_0x3ceef6,_0x5e6d42=this[_0xd167f2(0x136)]['createSocket'](_0x3bd8b2);if(!_0x5e6d42)throw new Error(_0xd167f2(0x481));const _0x1a67bf=new _0x24e1ed[(_0xd167f2(0x47e))](),_0x576975=new _0x5ba5b9[(_0xd167f2(0x34f))]();_0x1a67bf[_0xd167f2(0x46d)](_0x24e1ed['toDisposable'](_0x5e6d42[_0xd167f2(0x280)][_0xd167f2(0x1b0)](_0x432480=>_0x576975[_0xd167f2(0x48b)](_0x432480)))),_0x1a67bf[_0xd167f2(0x46d)](_0x24e1ed[_0xd167f2(0x18f)](()=>_0x576975[_0xd167f2(0x22c)]()));const _0x260ea8=new _0x5ba5b9[(_0xd167f2(0x34f))]();_0x1a67bf[_0xd167f2(0x46d)](_0x24e1ed[_0xd167f2(0x18f)](_0x5e6d42[_0xd167f2(0x23f)][_0xd167f2(0x1b0)](_0x522da9=>_0x260ea8['next'](_0x522da9)))),_0x1a67bf[_0xd167f2(0x46d)](_0x24e1ed[_0xd167f2(0x18f)](()=>_0x260ea8[_0xd167f2(0x22c)]()));const _0x2fc062=new _0x5ba5b9[(_0xd167f2(0x34f))]();_0x1a67bf[_0xd167f2(0x46d)](_0x24e1ed['toDisposable'](_0x5e6d42[_0xd167f2(0x27b)][_0xd167f2(0x1b0)](_0x1669eb=>{const _0x316992=_0x1ada2b(_0x1669eb);_0x2fc062['next'](_0x316992);}))),_0x1a67bf[_0xd167f2(0x46d)](_0x24e1ed[_0xd167f2(0x18f)](()=>_0x2fc062[_0xd167f2(0x22c)]()));const _0x5ebca7=()=>{const _0x802d84=_0xd167f2;_0x260ea8[_0x802d84(0x48b)](new Event(_0x802d84(0x218))),_0x576975[_0x802d84(0x48b)](new CloseEvent('connection\x20error')),_0x570dc8['close']();},_0x570dc8={'memberID':'','close$':_0x576975['asObservable'](),'error$':_0x260ea8[_0xd167f2(0x2ce)](),'open$':_0x5e6d42['open$'],'message$':_0x2fc062['asObservable'](),'send':_0x314a40=>{const _0x5f2dbf=_0xd167f2;if(_0x314a40[_0x5f2dbf(0x310)]===_0x3d863f['INGEST']){if(_0x314a40[_0x5f2dbf(0x2e4)][_0x5f2dbf(0x17c)]===_0x3c4c3c[_0x5f2dbf(0x3ce)][_0x5f2dbf(0x426)]){this[_0x5f2dbf(0x125)](_0x570dc8,_0x314a40[_0x5f2dbf(0x2e4)])[_0x5f2dbf(0x153)](_0x37911e=>{const _0x3501a0=_0x5f2dbf;this[_0x3501a0(0x256)][_0x3501a0(0x457)](_0x37911e),_0x5ebca7();});return;}if(_0x314a40[_0x5f2dbf(0x2e4)]['eventID']===_0x3c4c3c[_0x5f2dbf(0x3ce)]['FETCH_MISSING']){const _0x13ae1a=_0x314a40['data'];this['_fetchMissChangesets'](_0x13ae1a)['then'](_0x400ea4=>{const _0x523ef1=_0x5f2dbf;_0x2fc062['next']({'cmd':_0x3d863f[_0x523ef1(0x43d)],'code':_0x30d274['OK'],'routeKey':_0x13ae1a['data'][_0x523ef1(0x208)],'routeType':'','data':{'eventID':_0x3c4c3c[_0x523ef1(0x3ce)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x400ea4}}});})[_0x5f2dbf(0x153)](_0x1ed1ee=>{const _0x3a06bd=_0x5f2dbf;this[_0x3a06bd(0x256)][_0x3a06bd(0x457)](_0x1ed1ee),_0x5ebca7();});return;}}_0x5e6d42[_0x5f2dbf(0x42c)](_0x3a7309(_0x314a40));},'close':()=>{const _0x4c7480=_0xd167f2;_0x5e6d42[_0x4c7480(0x3bc)](),_0x1a67bf[_0x4c7480(0x377)]();}};return _0x570dc8;}async['_submitChangeset'](_0x5ebaf0,_0x38234e){const _0x4f1c11=_0x3ceef6;var _0x5b0829;const {unitType:_0x5b8004,unitID:_0x3c5f0e,changeset:_0x532259}=_0x38234e[_0x4f1c11(0x2e4)],_0x462108={'unitID':_0x3c5f0e,'memberID':_0x5ebaf0[_0x4f1c11(0x2ae)],'type':_0x5b8004,'changeset':_0x3c4c3c['parseChangesetToProtocol'](_0x532259)},_0x1569e3=_0x491a82((_0x5b0829=this[_0x4f1c11(0x421)][_0x4f1c11(0x10b)](_0x40ed60))!=null?_0x5b0829:_0x46be35,_0x5b8004,_0x3c5f0e);try{await this['_http'][_0x4f1c11(0x290)](_0x1569e3,{'body':_0x462108});}catch(_0x273a19){throw this['_logService'][_0x4f1c11(0x457)](_0x4f1c11(0x307),_0x4f1c11(0x439)),_0x273a19;}}async[_0x3ceef6(0x34e)](_0x5b3458){const _0x32cb1f=_0x3ceef6,{unitID:_0x48d9ad,from:_0x462bae,to:_0x2c30e5,unitType:_0x203998}=_0x5b3458[_0x32cb1f(0x2e4)];return(await this[_0x32cb1f(0x2bf)][_0x32cb1f(0x2e7)]({'metadata':void 0x0},{'unitID':_0x48d9ad,'type':_0x203998,'from':_0x462bae,'to':_0x2c30e5}))[_0x32cb1f(0x32b)];}},_0x481c9f[_0x3ceef6(0x35b)]=_0x2c4c90([_0x47b2a9(0x0,_0x24e1ed['Inject'](_0x2df7e0[_0x3ceef6(0x3ed)])),_0x47b2a9(0x1,_0x24e1ed[_0x3ceef6(0x48f)](_0x2df7e0[_0x3ceef6(0x16a)])),_0x47b2a9(0x2,_0x24e1ed[_0x3ceef6(0x476)]),_0x47b2a9(0x3,_0x24e1ed[_0x3ceef6(0x250)]),_0x47b2a9(0x4,_0x24e1ed['ISnapshotServerService'])],_0x481c9f[_0x3ceef6(0x35b)]);class _0x34d671{constructor(){const _0x4e5d22=_0x3ceef6;_0x1b84ec(this,'_commentUpdate$',new _0x5ba5b9[(_0x4e5d22(0x34f))]()),_0x1b84ec(this,_0x4e5d22(0x2e8),this[_0x4e5d22(0x403)]['asObservable']());}[_0x3ceef6(0x13d)](_0x1072b9){const _0x5c2280=_0x3ceef6;this['_commentUpdate$'][_0x5c2280(0x48b)](_0x1072b9);}}var _0x37bfee=Object[_0x3ceef6(0x2d1)],_0x831fd=Object[_0x3ceef6(0x3fa)],_0x12d331=(_0x144146,_0x182e0f,_0x5af569,_0x1b8569)=>{const _0x596ee4=_0x3ceef6;for(var _0x37ccfc=_0x1b8569>0x1?void 0x0:_0x1b8569?_0x831fd(_0x182e0f,_0x5af569):_0x182e0f,_0x1e7937=_0x144146[_0x596ee4(0x346)]-0x1,_0x57e178;_0x1e7937>=0x0;_0x1e7937--)(_0x57e178=_0x144146[_0x1e7937])&&(_0x37ccfc=(_0x1b8569?_0x57e178(_0x182e0f,_0x5af569,_0x37ccfc):_0x57e178(_0x37ccfc))||_0x37ccfc);return _0x1b8569&&_0x37ccfc&&_0x37bfee(_0x182e0f,_0x5af569,_0x37ccfc),_0x37ccfc;},_0x1de36e=(_0x5c69f2,_0x1217a0)=>(_0x4b2c81,_0x572f7b)=>_0x1217a0(_0x4b2c81,_0x572f7b,_0x5c69f2),_0x4ad0db=(_0xd93e8f=>(_0xd93e8f[_0xd93e8f[_0x3ceef6(0x43f)]=0x0]=_0x3ceef6(0x43f),_0xd93e8f[_0xd93e8f[_0x3ceef6(0x166)]=0x1]=_0x3ceef6(0x166),_0xd93e8f[_0xd93e8f[_0x3ceef6(0x27c)]=0x2]=_0x3ceef6(0x27c),_0xd93e8f[_0xd93e8f[_0x3ceef6(0x32a)]=0x3]='ONLINE',_0xd93e8f))(_0x4ad0db||{});_0x481c9f[_0x3ceef6(0xc1)]=class extends _0x24e1ed[_0x3ceef6(0x379)]{constructor(_0xdb3efc,_0x143327,_0x2e1550,_0x39bdb2,_0x4582a6,_0x2d8617,_0xca2bae,_0x1ba1d1,_0x2ebd1f){const _0x49dd9e=_0x3ceef6;super(),_0x1b84ec(this,_0x49dd9e(0x358),new _0x5ba5b9[(_0x49dd9e(0x43c))](0x0)),_0x1b84ec(this,_0x49dd9e(0x40a),this[_0x49dd9e(0x358)][_0x49dd9e(0x2ce)]()),_0x1b84ec(this,_0x49dd9e(0x351),new _0x5ba5b9[(_0x49dd9e(0x34f))]()),_0x1b84ec(this,'event$',this[_0x49dd9e(0x351)][_0x49dd9e(0x2ce)]()),_0x1b84ec(this,_0x49dd9e(0x3ac)),_0x1b84ec(this,'_socketMessageSubscription'),_0x1b84ec(this,'_collaborationTimeoutTimer'),(this[_0x49dd9e(0x441)]=_0xdb3efc,this['_logService']=_0x2e1550,this[_0x49dd9e(0x3e3)]=_0x39bdb2,this[_0x49dd9e(0x2f6)]=_0x4582a6,this[_0x49dd9e(0x421)]=_0x2d8617,this[_0x49dd9e(0x109)]=_0xca2bae,this[_0x49dd9e(0x1e0)]=_0x1ba1d1,this['_commentService']=_0x2ebd1f,_0x143327['pipe'](_0xb49021['takeUntil'](this[_0x49dd9e(0x318)]))['subscribe'](_0x2d56d9=>{const _0xd6396d=_0x49dd9e;var _0x4609d1;typeof _0x2d56d9>'u'||(this[_0xd6396d(0x3ac)]=_0x2d56d9,_0x2d56d9?(this[_0xd6396d(0x1be)](_0x2d56d9),this[_0xd6396d(0x2db)]=this[_0xd6396d(0x3ac)][_0xd6396d(0x27b)]['subscribe'](_0x1167b9=>{const _0x1064ed=_0xd6396d;_0x1167b9[_0x1064ed(0x3e8)]===this[_0x1064ed(0x441)]&&this[_0x1064ed(0x1b5)](_0x1167b9);})):(this[_0xd6396d(0x358)][_0xd6396d(0x48b)](0x2),(_0x4609d1=this[_0xd6396d(0x2db)])==null||_0x4609d1[_0xd6396d(0x291)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0x49dd9e(0x20e)](()=>{const _0x50d947=_0x49dd9e;var _0x328a18;(_0x328a18=this[_0x50d947(0x3ac)])==null||_0x328a18[_0x50d947(0x42c)]({'cmd':_0x3d863f['LEAVE'],'data':{'roomID':this[_0x50d947(0x441)]}});})));}get['sessionStatus'](){const _0x2736c2=_0x3ceef6;return this[_0x2736c2(0x358)][_0x2736c2(0x151)]();}[_0x3ceef6(0x3e9)](){const _0x2eb5f1=_0x3ceef6;var _0x34c48f,_0x1c8217;return(_0x1c8217=(_0x34c48f=this[_0x2eb5f1(0x3ac)])==null?void 0x0:_0x34c48f[_0x2eb5f1(0x2ae)])!=null?_0x1c8217:null;}[_0x3ceef6(0x377)](){const _0x5c33e8=_0x3ceef6;super[_0x5c33e8(0x377)](),this[_0x5c33e8(0x318)]['next'](),this[_0x5c33e8(0x318)][_0x5c33e8(0x22c)]();}[_0x3ceef6(0x3bc)](){const _0x2143c0=_0x3ceef6;var _0x49b42c,_0x5a05f8;(_0x49b42c=this[_0x2143c0(0x3ac)])==null||_0x49b42c['send']({'cmd':_0x3d863f[_0x2143c0(0x417)],'data':{'roomID':this[_0x2143c0(0x441)]}}),this[_0x2143c0(0x351)][_0x2143c0(0x22c)](),this['_sessionStatus$'][_0x2143c0(0x22c)](),(_0x5a05f8=this[_0x2143c0(0x3ac)])==null||_0x5a05f8[_0x2143c0(0x3bc)](),this['dispose']();}['_onCombEvent'](_0x4f9dd7){const _0x4b2c2a=_0x3ceef6;_0x4f9dd7['cmd']===_0x3d863f[_0x4b2c2a(0x433)]?this['_onJoinRoomEvent'](_0x4f9dd7):_0x4f9dd7[_0x4b2c2a(0x310)]===_0x3d863f['RECV']&&this['_onRecvEvent'](_0x4f9dd7);}[_0x3ceef6(0x1be)](_0x11fbe6){const _0x42c6ba=_0x3ceef6;this[_0x42c6ba(0x358)]['next'](0x1),_0x11fbe6[_0x42c6ba(0x42c)]({'cmd':_0x3d863f[_0x42c6ba(0x433)],'routeKey':this[_0x42c6ba(0x441)],'routeType':'','data':{'rooms':[{'roomID':this[_0x42c6ba(0x441)]}]}});}[_0x3ceef6(0x135)](_0x283e0c){const _0x111ef5=_0x3ceef6;var _0x57712c;if(_0x283e0c[_0x111ef5(0x119)]===_0x30d274[_0x111ef5(0x18e)]){this['_messageService'][_0x111ef5(0x38a)]({'type':_0x49b15b[_0x111ef5(0x1b6)][_0x111ef5(0x3c9)],'content':this['_localeService']['t']('session.room-full')}),this['_sessionStatus$']['next'](0x2);return;}this[_0x111ef5(0x358)][_0x111ef5(0x48b)](0x3);const _0x3d8fee=(_0x57712c=_0x283e0c[_0x111ef5(0x2e4)][_0x111ef5(0x16e)][this[_0x111ef5(0x441)]])==null?void 0x0:_0x57712c[_0x111ef5(0x498)];_0x3d8fee&&_0x3d8fee[_0x111ef5(0x115)](_0x3fa0ca=>this[_0x111ef5(0x1e0)][_0x111ef5(0x13f)](this[_0x111ef5(0x441)],_0x3fa0ca));}[_0x3ceef6(0x482)](_0x1bd26d){const _0x43207a=_0x3ceef6;try{const _0x1e8979=_0x1bd26d['data'];switch(_0x1e8979['eventID']){case _0x3c4c3c[_0x43207a(0x3ce)][_0x43207a(0xc0)]:this['_onUserJoin'](_0x1e8979),this['_event$'][_0x43207a(0x48b)](_0x1e8979);break;case _0x3c4c3c[_0x43207a(0x3ce)][_0x43207a(0x45b)]:this[_0x43207a(0x3b8)](_0x1e8979),this['_event$'][_0x43207a(0x48b)](_0x1e8979);break;case _0x3c4c3c[_0x43207a(0x3ce)][_0x43207a(0x1d5)]:this[_0x43207a(0x1b7)](),this[_0x43207a(0x351)][_0x43207a(0x48b)](_0x1e8979);break;case _0x3c4c3c[_0x43207a(0x3ce)]['MSG_FOR_ERROR']:this['_logService'][_0x43207a(0x457)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x43207a(0x1b1)](_0x1e8979)),this[_0x43207a(0x351)]['next'](_0x1e8979);break;case _0x3c4c3c['CollaborationEvent'][_0x43207a(0x176)]:this[_0x43207a(0x25f)][_0x43207a(0x13d)](_0x1e8979[_0x43207a(0x2e4)]),this[_0x43207a(0x351)][_0x43207a(0x48b)](_0x1e8979);break;default:this[_0x43207a(0x351)]['next'](_0x1e8979);}}catch(_0x5b85af){this[_0x43207a(0x256)][_0x43207a(0x457)](_0x5b85af,_0x1bd26d);}}['_onUserJoin'](_0x4a4ea1){const _0x36d0a4=_0x3ceef6;this[_0x36d0a4(0x1e0)][_0x36d0a4(0x13f)](this['_unitID'],_0x4a4ea1['data']);}[_0x3ceef6(0x3b8)](_0x40547d){const _0x3f9579=_0x3ceef6;this[_0x3f9579(0x1e0)]['removeMember'](this[_0x3f9579(0x441)],_0x40547d[_0x3f9579(0x2e4)][_0x3f9579(0x2ae)]);}async[_0x3ceef6(0x42c)](_0x1fc238,_0xa3f7cf){const _0x3bcbe2=_0x3ceef6;if(this['sessionStatus']!==0x3||!this[_0x3bcbe2(0x3ac)])throw new Error(_0x3bcbe2(0x2a3));try{_0x1fc238['eventID']===_0x3c4c3c[_0x3bcbe2(0x3ce)][_0x3bcbe2(0xfd)]&&this['_scheduleCollaborationTimeoutTimer'](),this['_socket'][_0x3bcbe2(0x42c)]({'cmd':_0x3d863f['INGEST'],'routeKey':_0xa3f7cf,'routeType':'','data':_0x1fc238});}catch(_0x5abe28){this[_0x3bcbe2(0x256)][_0x3bcbe2(0x457)](_0x5abe28);}}[_0x3ceef6(0x496)](){const _0x484eb6=_0x3ceef6;var _0x11686c;this[_0x484eb6(0xe1)]=window[_0x484eb6(0x2d3)](()=>{const _0x2001e0=_0x484eb6;this[_0x2001e0(0xe1)]=null,this['_messageService'][_0x2001e0(0x38a)]({'type':_0x49b15b['MessageType'][_0x2001e0(0x185)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x11686c=this[_0x484eb6(0x421)][_0x484eb6(0x10b)](_0x9d9eaa))!=null?_0x11686c:0x2710);}['_clearCollaborationTimeoutTimer'](){const _0x37024e=_0x3ceef6;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x37024e(0xe1)]),this[_0x37024e(0xe1)]=null);}},_0x481c9f[_0x3ceef6(0xc1)]=_0x12d331([_0x1de36e(0x2,_0x24e1ed[_0x3ceef6(0x250)]),_0x1de36e(0x3,_0x279279['IBeforeCloseService']),_0x1de36e(0x4,_0x279279['IMessageService']),_0x1de36e(0x5,_0x24e1ed['IConfigService']),_0x1de36e(0x6,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x31c)])),_0x1de36e(0x7,_0x24e1ed[_0x3ceef6(0x48f)](_0x29dad0)),_0x1de36e(0x8,_0x24e1ed['Inject'](_0x34d671))],_0x481c9f[_0x3ceef6(0xc1)]),_0x481c9f['CollaborationSessionService']=class extends _0x24e1ed[_0x3ceef6(0x26d)]{constructor(_0x5f27b6,_0x5acc9e,_0x3c7acb,_0x369be5,_0x542a5b,_0x4f8b9c){const _0x2602d2=_0x3ceef6;super(),_0x1b84ec(this,_0x2602d2(0x25c),new _0x5ba5b9[(_0x2602d2(0x43c))](void 0x0)),_0x1b84ec(this,_0x2602d2(0x12d),new Map()),_0x1b84ec(this,_0x2602d2(0xdf),new _0x5ba5b9['BehaviorSubject'](0x0)),_0x1b84ec(this,'status$',this[_0x2602d2(0xdf)][_0x2602d2(0x2ce)]()),_0x1b84ec(this,_0x2602d2(0x246),!0x1),_0x1b84ec(this,_0x2602d2(0x126)),_0x1b84ec(this,'_timeoutTimer'),_0x1b84ec(this,_0x2602d2(0x2fa)),_0x1b84ec(this,_0x2602d2(0x13b),0x0),(this['_injector']=_0x5f27b6,this[_0x2602d2(0x109)]=_0x5acc9e,this['_messageService']=_0x3c7acb,this['_logService']=_0x369be5,this['_configService']=_0x542a5b,this['_socketService']=_0x4f8b9c);}get['_socket'](){const _0x4d0e97=_0x3ceef6;return this[_0x4d0e97(0x25c)][_0x4d0e97(0x151)]();}['dispose'](){const _0x5ad806=_0x3ceef6;super[_0x5ad806(0x377)](),this['_sessions'][_0x5ad806(0x115)](_0xb7c16b=>_0xb7c16b[_0x5ad806(0x377)]()),this[_0x5ad806(0x12d)][_0x5ad806(0x3a5)](),this['_status$'][_0x5ad806(0x22c)]();}async[_0x3ceef6(0x1b9)](_0x18490f){const _0x35cb70=_0x3ceef6;if(this[_0x35cb70(0x12d)][_0x35cb70(0x245)](_0x18490f))return this[_0x35cb70(0x12d)][_0x35cb70(0x414)](_0x18490f);this[_0x35cb70(0x267)]();const _0xee6759=this[_0x35cb70(0x376)][_0x35cb70(0x1c4)](_0x481c9f[_0x35cb70(0xc1)],_0x18490f,this['_socket$'][_0x35cb70(0x2ce)]());return this[_0x35cb70(0x12d)][_0x35cb70(0xe7)](_0x18490f,_0xee6759),_0xee6759;}[_0x3ceef6(0x335)](_0x1fd5d3){const _0xa6ccd9=_0x3ceef6;var _0x48c61e;const _0x21544f=this[_0xa6ccd9(0x12d)]['get'](_0x1fd5d3);_0x21544f&&(this['_sessions']['delete'](_0x1fd5d3),_0x21544f[_0xa6ccd9(0x3bc)]()),this[_0xa6ccd9(0x12d)][_0xa6ccd9(0x1bb)]||(_0x48c61e=this[_0xa6ccd9(0x3ac)])==null||_0x48c61e[_0xa6ccd9(0x3bc)]();}['_createSocket'](){const _0x3ccdf0=_0x3ceef6;var _0x144536;const _0x3178fb=(_0x144536=this[_0x3ccdf0(0x421)]['getConfig'](_0x4d2ef0))!=null?_0x144536:_0x51f828;return this[_0x3ccdf0(0x40d)][_0x3ccdf0(0x14c)](_0x3178fb);}[_0x3ceef6(0x267)](){const _0x4ec235=_0x3ceef6;try{const _0x175b1f=this[_0x4ec235(0x32d)]();if(_0x175b1f){const _0x19976c=_0x175b1f[_0x4ec235(0x42c)];_0x175b1f[_0x4ec235(0x42c)]=_0x34486d=>(this[_0x4ec235(0x11f)](),_0x19976c[_0x4ec235(0x3b7)](_0x175b1f,[_0x34486d])),_0x175b1f['message$'][_0x4ec235(0x1b0)](_0x37ab5a=>this['_onMessage'](_0x175b1f,_0x37ab5a)),_0x175b1f[_0x4ec235(0x23f)][_0x4ec235(0x30e)](_0xb49021[_0x4ec235(0xde)](0x1))[_0x4ec235(0x1b0)](_0x38240c=>this[_0x4ec235(0x256)][_0x4ec235(0x457)](_0x4ec235(0x46e),_0x38240c)),_0x175b1f['open$']['pipe'](_0xb49021[_0x4ec235(0xde)](0x1))[_0x4ec235(0x1b0)](()=>{const _0x4279b6=_0x4ec235;this[_0x4279b6(0x2a6)](_0x175b1f);}),_0x175b1f[_0x4ec235(0x280)][_0x4ec235(0x30e)](_0xb49021[_0x4ec235(0xde)](0x1))[_0x4ec235(0x1b0)](_0x41ff2c=>{const _0x523d0d=_0x4ec235;this[_0x523d0d(0x256)][_0x523d0d(0x1f3)](_0x523d0d(0x1f1),_0x523d0d(0x191),_0x41ff2c),this[_0x523d0d(0x309)]();});}}catch(_0x3b0e4c){this['_logService']['error'](_0x3b0e4c),this[_0x4ec235(0x309)]();}}[_0x3ceef6(0x2a6)](_0x1d0171){const _0x3c0af9=_0x3ceef6;this[_0x3c0af9(0x256)][_0x3c0af9(0x1f3)](_0x3c0af9(0x1f1),'socket\x20open.'),_0x1d0171[_0x3c0af9(0x42c)]({'cmd':_0x3d863f['HELLO']}),this[_0x3c0af9(0x11f)]();}[_0x3ceef6(0x309)](){const _0x37f625=_0x3ceef6;var _0x349dab;this[_0x37f625(0xdf)][_0x37f625(0x48b)](0x2),this[_0x37f625(0x25c)][_0x37f625(0x48b)](null),this[_0x37f625(0x3ef)](),this['_clearHeartbeatTimer'](),this[_0x37f625(0x246)]=!0x1,this[_0x37f625(0x13b)]<((_0x349dab=this[_0x37f625(0x421)]['getConfig'](_0x1006fb))!=null?_0x349dab:0x3)?(this[_0x37f625(0x340)](this[_0x37f625(0x13b)]),this[_0x37f625(0x13b)]+=0x1):this[_0x37f625(0x2f6)][_0x37f625(0x38a)]({'type':_0x49b15b[_0x37f625(0x1b6)][_0x37f625(0x185)],'content':this[_0x37f625(0x109)]['t']('session.connection-failed')});}['_scheduleReconnection'](_0x52ddef){const _0x3900cb=_0x3ceef6;var _0x1ed653;const _0x4c3766=((_0x1ed653=this[_0x3900cb(0x421)][_0x3900cb(0x10b)](_0x4723af))!=null?_0x1ed653:0x4e20)*0x2**_0x52ddef;this['_messageService'][_0x3900cb(0x38a)]({'type':_0x49b15b['MessageType'][_0x3900cb(0x3c9)],'content':this['_localeService']['t']('session.will-retry')}),this[_0x3900cb(0x2fa)]=setTimeout(()=>{const _0xfd242f=_0x3900cb;this[_0xfd242f(0x267)](),clearTimeout(this[_0xfd242f(0x2fa)]),this[_0xfd242f(0x2fa)]=null;},_0x4c3766);}[_0x3ceef6(0x11f)](){const _0x153b63=_0x3ceef6;var _0x3ba118;this[_0x153b63(0x10e)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x153b63(0x3ab)](),(_0x3ba118=this[_0x153b63(0x421)][_0x153b63(0x10b)](_0x48841c))!=null?_0x3ba118:0x7530);}[_0x3ceef6(0x3ab)](){const _0x1e3b5b=_0x3ceef6;this[_0x1e3b5b(0x3ac)][_0x1e3b5b(0x42c)]({'cmd':_0x3d863f[_0x1e3b5b(0x39d)]}),this[_0x1e3b5b(0x1f7)]();}['_waitForHeartbeatResponse'](){const _0x39276e=_0x3ceef6;var _0x398b11;this[_0x39276e(0x3d6)]=setTimeout(()=>this[_0x39276e(0x309)](),(_0x398b11=this[_0x39276e(0x421)]['getConfig'](_0x9d9eaa))!=null?_0x398b11:0x2710);}[_0x3ceef6(0x174)](_0x5db9ee,_0x51580b){const _0x4ed2c9=_0x3ceef6,{cmd:_0x44232f}=_0x51580b;_0x44232f===_0x3d863f[_0x4ed2c9(0x2b6)]&&!this['_socketReady']&&(_0x5db9ee[_0x4ed2c9(0x2ae)]=_0x51580b[_0x4ed2c9(0x2e4)][_0x4ed2c9(0x2ae)],this[_0x4ed2c9(0x25c)]['next'](_0x5db9ee),this['_status$'][_0x4ed2c9(0x48b)](0x3),this[_0x4ed2c9(0x246)]=!0x0),_0x44232f===_0x3d863f['HEARTBEAT']&&this[_0x4ed2c9(0x3ef)](),this['_rescheduleHeartbeatEvent']();}[_0x3ceef6(0x10e)](){const _0xf1753e=_0x3ceef6;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xf1753e(0x126)]),this[_0xf1753e(0x126)]=null);}[_0x3ceef6(0x3ef)](){const _0x1d402b=_0x3ceef6;this[_0x1d402b(0x3d6)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},_0x481c9f[_0x3ceef6(0x2e6)]=_0x12d331([_0x1de36e(0x0,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed['Injector'])),_0x1de36e(0x1,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed['LocaleService'])),_0x1de36e(0x2,_0x279279[_0x3ceef6(0x3a7)]),_0x1de36e(0x3,_0x24e1ed[_0x3ceef6(0x250)]),_0x1de36e(0x4,_0x24e1ed[_0x3ceef6(0x476)]),_0x1de36e(0x5,_0x21ae3a)],_0x481c9f['CollaborationSessionService']);var _0x1e0101=Object[_0x3ceef6(0x2d1)],_0x35b4f0=Object[_0x3ceef6(0x3fa)],_0x338771=(_0x283e0f,_0x364b53,_0x52ce0f,_0x930f9)=>{for(var _0x3965a9=_0x930f9>0x1?void 0x0:_0x930f9?_0x35b4f0(_0x364b53,_0x52ce0f):_0x364b53,_0x75165f=_0x283e0f['length']-0x1,_0x56bce0;_0x75165f>=0x0;_0x75165f--)(_0x56bce0=_0x283e0f[_0x75165f])&&(_0x3965a9=(_0x930f9?_0x56bce0(_0x364b53,_0x52ce0f,_0x3965a9):_0x56bce0(_0x3965a9))||_0x3965a9);return _0x930f9&&_0x3965a9&&_0x1e0101(_0x364b53,_0x52ce0f,_0x3965a9),_0x3965a9;},_0x1bbc7e=(_0x27bd46,_0x509805)=>(_0x5a6988,_0x440ae3)=>_0x509805(_0x5a6988,_0x440ae3,_0x27bd46);_0x481c9f['LocalCacheService']=class extends _0x24e1ed[_0x3ceef6(0x26d)]{constructor(_0x2e09ec,_0x12fdeb,_0x4e0eed,_0x569a8b,_0x89a4f0){const _0x3c4144=_0x3ceef6;super(),_0x1b84ec(this,'_cachedData',new Map()),_0x1b84ec(this,_0x3c4144(0x3b9),new Map()),_0x1b84ec(this,_0x3c4144(0x2d2),!0x1),(this[_0x3c4144(0x421)]=_0x2e09ec,this[_0x3c4144(0x21e)]=_0x12fdeb,this[_0x3c4144(0x3e3)]=_0x4e0eed,this['_localeService']=_0x569a8b,this['_revisionService']=_0x89a4f0,this[_0x3c4144(0x36d)]());}[_0x3ceef6(0x3aa)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x423450=_0x3ceef6;this[_0x423450(0x2d2)]=!0x1;}[_0x3ceef6(0x377)](){const _0x1ec9cc=_0x3ceef6;this[_0x1ec9cc(0x187)]()['then'](()=>super[_0x1ec9cc(0x377)]());}async[_0x3ceef6(0x1bf)](_0xab82f6){const _0xf836e=_0x3ceef6;return this['_disabled']?null:this[_0xf836e(0x21e)][_0xf836e(0x2da)](_0x98ff01(_0xab82f6));}async[_0x3ceef6(0x1fa)](_0x3bb723,_0x1c4476){const _0x4ae6e9=_0x3ceef6;return!!this[_0x4ae6e9(0x21e)][_0x4ae6e9(0x3f7)](_0x3bb723,_0x1c4476);}[_0x3ceef6(0x37a)](_0x5a9618,_0x1facac,_0x332d49,_0x288500){const _0x4d7eb8=_0x3ceef6,_0x42e2c6=this[_0x4d7eb8(0x181)][_0x4d7eb8(0x2cb)](_0x5a9618);this[_0x4d7eb8(0x3c7)]['set'](_0x5a9618,{'unitID':_0x5a9618,'type':_0x1facac,'awaitingChangeset':_0x332d49,'mutations':_0x288500,'rev':_0x42e2c6}),this[_0x4d7eb8(0x3b9)][_0x4d7eb8(0x245)](_0x5a9618)||this[_0x4d7eb8(0x243)](_0x5a9618);}[_0x3ceef6(0x243)](_0x5a867a){const _0x24e482=_0x3ceef6,_0x214053=this['_getSaveTimeout']();_0x214053===0x0?this[_0x24e482(0x277)](_0x5a867a):this[_0x24e482(0x3b9)][_0x24e482(0xe7)](_0x5a867a,setTimeout(()=>this[_0x24e482(0x277)](_0x5a867a),_0x214053));}[_0x3ceef6(0x489)](){const _0x978544=_0x3ceef6;var _0x1cc707;return(_0x1cc707=this[_0x978544(0x421)]['getConfig'](_0x4d3b79))!=null?_0x1cc707:0x3e8;}[_0x3ceef6(0x277)](_0x2fe54e){const _0x1ba07e=_0x3ceef6,_0x2b9423=this[_0x1ba07e(0x3b9)][_0x1ba07e(0x414)](_0x2fe54e);return _0x2b9423!==void 0x0&&window[_0x1ba07e(0xc3)](_0x2b9423),this['_localStorageService']['setItem'](_0x98ff01(_0x2fe54e),this[_0x1ba07e(0x3c7)][_0x1ba07e(0x414)](_0x2fe54e))[_0x1ba07e(0x1df)](()=>this[_0x1ba07e(0x3b9)]['delete'](_0x2fe54e));}async[_0x3ceef6(0x187)](){const _0x1d456a=_0x3ceef6,_0x43e159=[];this[_0x1d456a(0x3b9)][_0x1d456a(0x115)]((_0xdae60a,_0x286232)=>{const _0x137b9e=_0x1d456a;window[_0x137b9e(0xc3)](_0xdae60a),_0x43e159[_0x137b9e(0x279)](this[_0x137b9e(0x277)](_0x286232)['then'](()=>{const _0x3efb7c=_0x137b9e;this[_0x3efb7c(0x3b9)][_0x3efb7c(0x15d)](_0x286232);}));}),await Promise[_0x1d456a(0x359)](_0x43e159);}[_0x3ceef6(0x36d)](){const _0x2af7a0=_0x3ceef6;this[_0x2af7a0(0x184)](this[_0x2af7a0(0x3e3)][_0x2af7a0(0x438)](()=>{const _0x5595bb=_0x2af7a0;if(this[_0x5595bb(0x3b9)]['size'])return this['_localeService']['t'](_0x5595bb(0x12b));}));}},_0x481c9f[_0x3ceef6(0x271)]=_0x338771([_0x1bbc7e(0x0,_0x24e1ed[_0x3ceef6(0x476)]),_0x1bbc7e(0x1,_0x24e1ed[_0x3ceef6(0x133)]),_0x1bbc7e(0x2,_0x279279[_0x3ceef6(0x161)]),_0x1bbc7e(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed['LocaleService'])),_0x1bbc7e(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c['RevisionService']))],_0x481c9f[_0x3ceef6(0x271)]);function _0x98ff01(_0x533c01){const _0x1457f9=_0x3ceef6;return _0x1457f9(0x3e5)+_0x533c01;}const _0x45c59f=_0x24e1ed[_0x3ceef6(0x381)](_0x3ceef6(0x337));var _0x46ede2=(_0xcc7fb1=>(_0xcc7fb1[_0xcc7fb1[_0x3ceef6(0x1d2)]=0x0]=_0x3ceef6(0x1d2),_0xcc7fb1[_0xcc7fb1[_0x3ceef6(0x2a8)]=0x1]=_0x3ceef6(0x2a8),_0xcc7fb1))(_0x46ede2||{});const _0xeae30=0x7530,_0x1a2a86=_0x3ceef6(0x35d);class _0x1d3fc2 extends _0x24e1ed[_0x3ceef6(0x26d)]{constructor(){const _0x501edf=_0x3ceef6;super(),_0x1b84ec(this,_0x501edf(0x301),_0x24e1ed[_0x501edf(0x11e)][_0x501edf(0x20b)]()),_0x1b84ec(this,_0x501edf(0xd2),new Set()),_0x1b84ec(this,_0x501edf(0x1ea),new Map()),_0x1b84ec(this,_0x501edf(0xbb),null),_0x1b84ec(this,_0x501edf(0x225),new Map()),_0x1b84ec(this,'_unitStatus',new Map()),this[_0x501edf(0x13c)]();}[_0x3ceef6(0x377)](){const _0x155892=_0x3ceef6;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x31a875,_0x1c1725)=>this[_0x155892(0x141)](_0x1c1725)),this[_0x155892(0xbb)]&&window[_0x155892(0x2dd)](this[_0x155892(0xbb)]);}['getUnitStatus$'](_0x20a2f0){const _0x2e81ef=_0x3ceef6;return this[_0x2e81ef(0x325)](_0x20a2f0)['pipe'](_0x5ba5b9[_0x2e81ef(0x3b1)]());}['editingUnit'](_0x2a476f){const _0x4d6bc3=_0x3ceef6;this[_0x4d6bc3(0xd2)][_0x4d6bc3(0x1bb)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4d6bc3(0xd2)][_0x4d6bc3(0x46d)](_0x2a476f),this[_0x4d6bc3(0x101)]({'type':0x0,'memberID':this[_0x4d6bc3(0x301)],'unitIDs':[_0x2a476f],'isForwarded':!0x1});}[_0x3ceef6(0x1cf)](_0x5bf785){const _0x1982c5=_0x3ceef6;this[_0x1982c5(0xd2)][_0x1982c5(0x15d)](_0x5bf785),this['_selfUnitIDs']['size']===0x0&&this[_0x1982c5(0xbb)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x31789b=_0x3ceef6;this['disposeWithMe'](_0x24e1ed[_0x31789b(0x18f)](_0x5ba5b9[_0x31789b(0x49b)](window,'storage')[_0x31789b(0x1b0)](_0x2509d8=>{const _0x3adca9=_0x31789b;if(_0x2509d8[_0x3adca9(0x456)]!==_0x1a2a86||!_0x2509d8[_0x3adca9(0x3fc)])return;const _0x1c0fee=JSON[_0x3adca9(0x27d)](_0x2509d8[_0x3adca9(0x3fc)]);this[_0x3adca9(0x150)](_0x1c0fee);}))),window['addEventListener'](_0x31789b(0x36a),()=>this[_0x31789b(0x101)]({'type':0x1,'memberID':this[_0x31789b(0x301)],'unitIDs':Array[_0x31789b(0x2bb)](this['_selfUnitIDs'])}));}[_0x3ceef6(0x150)](_0x2174b5){const _0x40d6bb=_0x3ceef6;switch(_0x2174b5[_0x40d6bb(0x223)]){case 0x0:this['_handleJoinEvent'](_0x2174b5);break;case 0x1:this[_0x40d6bb(0x406)](_0x2174b5);break;case 0x2:this[_0x40d6bb(0x18c)](_0x2174b5);break;}}[_0x3ceef6(0x25d)](_0x2cf0e3){const _0x18c8e9=_0x3ceef6,{unitIDs:_0x4cc748,memberID:_0x4fbfa7,isForwarded:_0x5549aa}=_0x2cf0e3;_0x4cc748[_0x18c8e9(0x115)](_0x330f9d=>{const _0xb5283e=_0x18c8e9;if(!_0x5549aa&&this[_0xb5283e(0x1ea)][_0xb5283e(0x245)](_0x330f9d)&&this[_0xb5283e(0x325)](_0x330f9d)[_0xb5283e(0x48b)](0x1),!this[_0xb5283e(0x1ea)]['has'](_0x330f9d)||!this[_0xb5283e(0x1ea)][_0xb5283e(0x414)](_0x330f9d)['has'](_0x4fbfa7)){const _0x4b4f25=this['_unitOnClients'][_0xb5283e(0x414)](_0x330f9d)||new Set();_0x4b4f25[_0xb5283e(0x46d)](_0x4fbfa7),this['_unitOnClients']['set'](_0x330f9d,_0x4b4f25),this[_0xb5283e(0x22d)](_0x4fbfa7);}}),_0x5549aa||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x18c8e9(0xd2)]],'isForwarded':!0x0});}[_0x3ceef6(0x22d)](_0x5c1d00){const _0x4ff116=_0x3ceef6;this[_0x4ff116(0x141)](_0x5c1d00);const _0x29cda0=window[_0x4ff116(0x2d3)](()=>{const _0x102daa=_0x4ff116;this[_0x102daa(0x1ea)]['forEach'](_0x3b62e3=>{const _0x272a1c=_0x102daa;_0x3b62e3[_0x272a1c(0x15d)](_0x5c1d00);});},_0xeae30*0x2);this[_0x4ff116(0x225)]['set'](_0x5c1d00,_0x29cda0);}[_0x3ceef6(0x141)](_0x1c57e1){const _0x36874a=_0x3ceef6;if(this['_clearOtherTimers'][_0x36874a(0x245)](_0x1c57e1)){const _0xc24885=this[_0x36874a(0x225)]['get'](_0x1c57e1);_0xc24885&&window[_0x36874a(0xc3)](_0xc24885),this['_clearOtherTimers'][_0x36874a(0xe7)](_0x1c57e1,null);}}['_handleLeaveEvent'](_0x4bcedd){const _0xf9fc5c=_0x3ceef6,{memberID:_0x56bed4,unitIDs:_0x1a02d5}=_0x4bcedd;_0x1a02d5[_0xf9fc5c(0x115)](_0x2883c3=>{const _0x49ab4c=_0xf9fc5c;var _0x41026f;const _0x3e2334=this[_0x49ab4c(0x1ea)][_0x49ab4c(0x414)](_0x2883c3);_0x3e2334&&(_0x3e2334[_0x49ab4c(0x15d)](_0x56bed4),(_0x41026f=this['_ensureSubject'](_0x2883c3))==null||_0x41026f[_0x49ab4c(0x48b)](_0x3e2334[_0x49ab4c(0x1bb)]===0x0?0x0:0x1));}),this[_0xf9fc5c(0x141)](_0x56bed4);}[_0x3ceef6(0x18c)](_0x3ec4aa){const _0x2a4b2a=_0x3ceef6;this['_scheduleClearOtherTimer'](_0x3ec4aa[_0x2a4b2a(0x2ae)]);}[_0x3ceef6(0x101)](_0x278daa){const _0x502ee7=_0x3ceef6;localStorage[_0x502ee7(0x3f7)](_0x1a2a86,JSON[_0x502ee7(0x1b1)](_0x278daa));}[_0x3ceef6(0x160)](){const _0x3e6f84=_0x3ceef6;this[_0x3e6f84(0xbb)]=window[_0x3e6f84(0xdb)](()=>{const _0x4f944b=_0x3e6f84;this[_0x4f944b(0x101)]({'type':0x2,'memberID':this[_0x4f944b(0x301)]});},_0xeae30);}['_ensureSubject'](_0xeb7696){const _0xc4213c=_0x3ceef6;return this['_unitStatus'][_0xc4213c(0x245)](_0xeb7696)||this[_0xc4213c(0x1b3)][_0xc4213c(0xe7)](_0xeb7696,new _0x5ba5b9[(_0xc4213c(0x43c))](0x0)),this[_0xc4213c(0x1b3)][_0xc4213c(0x414)](_0xeb7696);}}var _0x49c4ac=Object[_0x3ceef6(0x2d1)],_0x46a02a=Object[_0x3ceef6(0x3fa)],_0x4c9f2d=(_0xe2a96f,_0x4be294,_0x222c92,_0x5a2551)=>{const _0x1eb390=_0x3ceef6;for(var _0x4c2939=_0x5a2551>0x1?void 0x0:_0x5a2551?_0x46a02a(_0x4be294,_0x222c92):_0x4be294,_0x48a5b0=_0xe2a96f[_0x1eb390(0x346)]-0x1,_0x29b3ca;_0x48a5b0>=0x0;_0x48a5b0--)(_0x29b3ca=_0xe2a96f[_0x48a5b0])&&(_0x4c2939=(_0x5a2551?_0x29b3ca(_0x4be294,_0x222c92,_0x4c2939):_0x29b3ca(_0x4c2939))||_0x4c2939);return _0x5a2551&&_0x4c2939&&_0x49c4ac(_0x4be294,_0x222c92,_0x4c2939),_0x4c2939;},_0x4e69a8=(_0x565249,_0x22772e)=>(_0x529162,_0xe18c36)=>_0x22772e(_0x529162,_0xe18c36,_0x565249);let _0x2884fa=class{constructor(_0x1ed35d,_0x5276b8){this['_injector']=_0x1ed35d,this['_transformService']=_0x5276b8;}[_0x3ceef6(0x3b0)](_0x54073a){const _0x10f8d5=_0x3ceef6;this[_0x10f8d5(0x298)](_0x54073a),this['_transformPreviousActiveRange'](_0x54073a);}[_0x3ceef6(0x311)](_0x53643c){const _0x1444a0=_0x3ceef6,_0x715897=this[_0x1444a0(0x376)][_0x1444a0(0x414)](_0x2c946a[_0x1444a0(0x43b)]),{redoCache:_0x303f1c}=_0x715897[_0x1444a0(0x1ac)]();if(_0x303f1c[_0x1444a0(0x346)]===0x0)return _0x53643c;let _0x131f2b=_0x24e1ed['Tools'][_0x1444a0(0x251)](_0x53643c[_0x1444a0(0x34a)][0x0]);for(let _0x10e854=0x0;_0x10e854<_0x303f1c['length'];_0x10e854++){const _0x8a199b={'id':'doc.mutation.rich-text-editing','params':{..._0x303f1c[_0x10e854]}},_0x2a8f1c=this[_0x1444a0(0x428)][_0x1444a0(0x29d)](_0x131f2b,_0x8a199b,!0x1);if(_0x3c4c3c[_0x1444a0(0x29c)](_0x2a8f1c))throw _0x2a8f1c['error'];_0x131f2b=_0x2a8f1c[_0x1444a0(0x454)];}return{..._0x24e1ed[_0x1444a0(0x11e)]['deepClone'](_0x53643c),'mutations':[_0x131f2b]};}[_0x3ceef6(0x298)](_0x2602cf){const _0x3ef70d=_0x3ceef6,_0x1950f5=this[_0x3ef70d(0x376)]['get'](_0x2c946a[_0x3ef70d(0x43b)]),{undoCache:_0x1cd044,redoCache:_0x3f0240}=_0x1950f5['getUndoRedoMutationParamsCache']();if(_0x1cd044[_0x3ef70d(0x346)]===0x0||_0x3f0240[_0x3ef70d(0x346)]===0x0)return;const _0x301ee0=[],_0x51cdcb=[];let _0x51a9ca=_0x24e1ed[_0x3ef70d(0x11e)]['deepClone'](_0x2602cf[_0x3ef70d(0x34a)][0x0]),_0x3f41c8=_0x24e1ed[_0x3ef70d(0x11e)][_0x3ef70d(0x251)](_0x2602cf[_0x3ef70d(0x34a)][0x0]);for(let _0x547726=_0x1cd044[_0x3ef70d(0x346)]-0x1;_0x547726>=0x0;_0x547726--){const _0x389395={'id':_0x3ef70d(0x3ff),'params':{..._0x1cd044[_0x547726]}},_0x3c608f={'id':_0x3ef70d(0x3ff),'params':{..._0x3f0240[_0x547726]}},_0x54c846=this[_0x3ef70d(0x428)][_0x3ef70d(0x29d)](_0x51a9ca,_0x389395,!0x1),_0x346f36=this[_0x3ef70d(0x428)][_0x3ef70d(0x29d)](_0x3f41c8,_0x3c608f,!0x1);if(_0x3c4c3c['isTransformMutationFailure'](_0x54c846))throw _0x54c846[_0x3ef70d(0x457)];if(_0x3c4c3c['isTransformMutationFailure'](_0x346f36))throw _0x346f36['error'];_0x301ee0[_0x3ef70d(0x23c)](_0x54c846['m2Prime'][_0x3ef70d(0xbe)]),_0x51cdcb[_0x3ef70d(0x23c)](_0x346f36['m2Prime'][_0x3ef70d(0xbe)]),_0x51a9ca=_0x54c846[_0x3ef70d(0x454)],_0x3f41c8=_0x346f36[_0x3ef70d(0x454)];}_0x1950f5[_0x3ef70d(0x477)]({'undoCache':_0x301ee0,'redoCache':_0x51cdcb});}[_0x3ceef6(0xb2)](_0x5df5dd){const _0x514292=_0x3ceef6,_0x53bbca=this[_0x514292(0x376)][_0x514292(0x414)](_0x2c946a[_0x514292(0x43b)]),_0xbad96d=_0x53bbca[_0x514292(0xd7)]();if(_0xbad96d==null)return;const _0xb1dc36=[{'id':_0x514292(0x3ff),'params':{'unitId':_0x5df5dd['unitID'],'actions':null,'textRanges':[_0xbad96d]}}],_0x6bf02=this[_0x514292(0x428)][_0x514292(0x38c)](_0x5df5dd,_0xb1dc36);if(!_0x3c4c3c[_0x514292(0x447)](_0x6bf02))throw _0x6bf02[_0x514292(0x457)];const _0x33a332=_0x6bf02['m2Prime'][0x0]['params'][_0x514292(0x410)];Array[_0x514292(0xc7)](_0x33a332)&&_0x33a332[_0x514292(0x346)]&&_0x53bbca['setActiveRange'](_0x33a332[0x0]);}};_0x2884fa=_0x4c9f2d([_0x4e69a8(0x0,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x4e69a8(0x1,_0x3c4c3c[_0x3ceef6(0x2cd)])],_0x2884fa);var _0x85687c=Object[_0x3ceef6(0x2d1)],_0x30fae3=Object[_0x3ceef6(0x3fa)],_0x59bed7=(_0x21b82c,_0x259d8e,_0x1a7a40,_0x274ad9)=>{for(var _0x486084=_0x274ad9>0x1?void 0x0:_0x274ad9?_0x30fae3(_0x259d8e,_0x1a7a40):_0x259d8e,_0x5a26c9=_0x21b82c['length']-0x1,_0x2a8a2f;_0x5a26c9>=0x0;_0x5a26c9--)(_0x2a8a2f=_0x21b82c[_0x5a26c9])&&(_0x486084=(_0x274ad9?_0x2a8a2f(_0x259d8e,_0x1a7a40,_0x486084):_0x2a8a2f(_0x486084))||_0x486084);return _0x274ad9&&_0x486084&&_0x85687c(_0x259d8e,_0x1a7a40,_0x486084),_0x486084;},_0x1fc5ab=(_0x529b47,_0x456ce5)=>(_0x5058cb,_0x360380)=>_0x456ce5(_0x5058cb,_0x360380,_0x529b47);let _0x72a7c8=class{constructor(_0x355894,_0x5160b3){const _0x414ace=_0x3ceef6;this[_0x414ace(0x376)]=_0x355894,this[_0x414ace(0x428)]=_0x5160b3;}[_0x3ceef6(0x238)](_0x196a92){const _0xac3195=_0x3ceef6;var _0x4040ec;const _0x4b1ebf=this[_0xac3195(0x376)][_0xac3195(0x414)](_0x2c946a[_0xac3195(0x177)]),_0x2ebb90=(_0x4040ec=_0x4b1ebf[_0xac3195(0x21c)]())!=null?_0x4040ec:[],_0x804323=_0x2ebb90==null?void 0x0:_0x2ebb90['map'](_0x2c946a[_0xac3195(0x2d9)]);if(_0x804323[_0xac3195(0x346)]===0x0)return;const _0x3d9635=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x196a92['unitID'],'actions':null,'textRanges':_0x804323}}],_0x6459fd=this[_0xac3195(0x428)][_0xac3195(0x38c)](_0x196a92,_0x3d9635);if(!_0x3c4c3c['isTransformMutationsWithChangesetSuccess'](_0x6459fd))throw _0x6459fd[_0xac3195(0x457)];const _0xeae0c2=_0x6459fd[_0xac3195(0x49c)][0x0][_0xac3195(0xbe)]['textRanges'];Array['isArray'](_0xeae0c2)&&_0xeae0c2['length']&&_0x4b1ebf[_0xac3195(0x470)](_0xeae0c2,!0x1);}};_0x72a7c8=_0x59bed7([_0x1fc5ab(0x0,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x1fc5ab(0x1,_0x3c4c3c['ITransformService'])],_0x72a7c8);function _0x574176(_0x475a8b){const _0x37de8c=_0x3ceef6;let _0x155bce='';for(const _0x4ba059 of _0x475a8b){const {startOffset:_0x341e76,endOffset:_0x477303,isActive:_0x37dcde}=_0x4ba059;_0x155bce[_0x37de8c(0x346)]&&(_0x155bce+=','),_0x155bce+=_0x341e76+':'+_0x477303+':'+(_0x37dcde?'1':'0');}return _0x155bce;}function _0xd09446(_0x57353e){const _0xd67aff=_0x3ceef6,_0x58af56=_0x57353e['split'](','),_0x547322=[];for(const _0x562857 of _0x58af56){const [_0x367d01,_0xd63a1a,_0x10f56a]=_0x562857[_0xd67aff(0x15a)](':');_0x547322[_0xd67aff(0x279)]({'startOffset':Number(_0x367d01),'endOffset':Number(_0xd63a1a),'collapsed':_0x367d01===_0xd63a1a,'isActive':_0x10f56a==='1'});}return _0x547322[_0xd67aff(0x453)](_0x21dd71=>_0x21dd71[_0xd67aff(0xbc)])||(_0x547322[0x0][_0xd67aff(0xbc)]=!0x0),_0x547322;}class _0x5a4f60 extends _0x24e1ed[_0x3ceef6(0x379)]{constructor(){const _0x52448a=_0x3ceef6;super(...arguments),_0x1b84ec(this,_0x52448a(0x48e),new _0x5ba5b9[(_0x52448a(0x43c))](null)),_0x1b84ec(this,_0x52448a(0x188),this['_collabCursorState$'][_0x52448a(0x2ce)]());}[_0x3ceef6(0xf5)](_0xbe838){const _0x3cbf33=_0x3ceef6,{unitID:_0x3708f8,memberID:_0xbf0ccf,textRanges:_0x495dd0}=_0xbe838,_0x47d522=_0x574176(_0x495dd0),_0x42d022={'unitID':_0x3708f8,'memberID':_0xbf0ccf,'selection':_0x47d522};this['_collabCursorState$'][_0x3cbf33(0x48b)](_0x42d022);}}var _0x17ac2f=Object[_0x3ceef6(0x2d1)],_0x1575e2=Object[_0x3ceef6(0x3fa)],_0x119142=(_0x15fcb0,_0x275da3,_0x10a0c3,_0x37f335)=>{const _0x4e00cc=_0x3ceef6;for(var _0x37b4ad=_0x37f335>0x1?void 0x0:_0x37f335?_0x1575e2(_0x275da3,_0x10a0c3):_0x275da3,_0x1be000=_0x15fcb0[_0x4e00cc(0x346)]-0x1,_0x2f9a9e;_0x1be000>=0x0;_0x1be000--)(_0x2f9a9e=_0x15fcb0[_0x1be000])&&(_0x37b4ad=(_0x37f335?_0x2f9a9e(_0x275da3,_0x10a0c3,_0x37b4ad):_0x2f9a9e(_0x37b4ad))||_0x37b4ad);return _0x37f335&&_0x37b4ad&&_0x17ac2f(_0x275da3,_0x10a0c3,_0x37b4ad),_0x37b4ad;},_0xbae555=(_0x12c3de,_0x436fd2)=>(_0x4dc405,_0x4a08f4)=>_0x436fd2(_0x4dc405,_0x4a08f4,_0x12c3de);function _0x28e891(_0x132c42){const _0x2eabd1=_0x3ceef6,{unitID:_0x19c99f,mutations:_0x2a9674}=_0x132c42;return{'unitId':_0x19c99f,'subUnitId':_0x2a9674[0x0][_0x2eabd1(0xbe)]['subUnitId']};}let _0x1170ae=class{constructor(_0x189f60,_0x5582ad){const _0x4a2f98=_0x3ceef6;this[_0x4a2f98(0x376)]=_0x189f60,this[_0x4a2f98(0x428)]=_0x5582ad;}[_0x3ceef6(0x238)](_0x378062){const _0x6d8056=_0x3ceef6;var _0x95d691,_0xb0c699,_0x4cabaa;const _0x4c0411=this[_0x6d8056(0x376)][_0x6d8056(0x414)](_0x5e02d9[_0x6d8056(0x28f)]),{unitId:_0x37054e,subUnitId:_0x3d72dd}=_0x28e891(_0x378062),_0x523e27=_0x4c0411[_0x6d8056(0x436)](_0x37054e)[_0x6d8056(0x21c)]();if(_0x523e27[_0x6d8056(0x346)]===0x0||!_0x37054e||!_0x3d72dd)return;const _0x5d3052=[{'id':_0x5e02d9['SetSelectionsOperation']['id'],'params':{'unitId':_0x37054e,'subUnitId':_0x3d72dd,'selections':_0x24e1ed[_0x6d8056(0x11e)][_0x6d8056(0x251)](_0x523e27)}}],_0x2cee48=this[_0x6d8056(0x428)][_0x6d8056(0x38c)](_0x378062,_0x5d3052);if(!_0x3c4c3c[_0x6d8056(0x447)](_0x2cee48))throw _0x2cee48['error'];const _0x407f8c=(_0x4cabaa=(_0xb0c699=(_0x95d691=_0x2cee48[_0x6d8056(0x49c)][0x0])==null?void 0x0:_0x95d691[_0x6d8056(0xbe)])==null?void 0x0:_0xb0c699[_0x6d8056(0x170)])!=null?_0x4cabaa:_0x523e27;Array[_0x6d8056(0xc7)](_0x407f8c)&&_0x407f8c[_0x6d8056(0x346)]&&this[_0x6d8056(0x376)]['get'](_0x24e1ed['ICommandService'])[_0x6d8056(0x2ef)](_0x5e02d9[_0x6d8056(0x221)]['id'],{'unitId':_0x37054e,'subUnitId':_0x3d72dd,'selections':_0x407f8c});}};_0x1170ae=_0x119142([_0xbae555(0x0,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed['Injector'])),_0xbae555(0x1,_0x3c4c3c['ITransformService'])],_0x1170ae);const _0x473ac2=new Set([_0x5e02d9[_0x3ceef6(0x241)]['id']]);function _0x1bbe64(_0xc4706b,_0x1184d1,_0x68ba86,_0x3e9b45,_0x2b356a){const _0x590d5e=_0x3ceef6;var _0x1fa985,_0x30e6a4,_0x1bac50,_0x3a63b1;const _0x5c2d13=[];for(const _0x280ede of _0xc4706b)if(_0x473ac2[_0x590d5e(0x245)](_0x280ede['id'])){if(_0x5c2d13[_0x590d5e(0x346)]>0x0)break;_0x5c2d13['push'](_0x280ede);break;}else _0x5c2d13[_0x590d5e(0x279)](_0x280ede);const _0x8b08bf=(_0x30e6a4=(_0x1fa985=_0x2b356a[_0x590d5e(0x272)]())==null?void 0x0:_0x1fa985[_0x590d5e(0x2b7)])!=null?_0x30e6a4:_0x590d5e(0x276),_0x4461b3=(_0x3a63b1=(_0x1bac50=_0x2b356a[_0x590d5e(0x272)]())==null?void 0x0:_0x1bac50[_0x590d5e(0x2ae)])!=null?_0x3a63b1:'unknown';return{'changeset':{'unitID':_0x1184d1,'type':_0x3c4c3c['mapDocumentTypeToUniverType'](_0x68ba86['getUnitType'](_0x1184d1)),'baseRev':_0x3e9b45[_0x590d5e(0x2cb)](_0x1184d1),'revision':0x0,'userID':_0x8b08bf,'memberID':_0x4461b3,'mutations':_0x5c2d13},'pendingMutations':_0xc4706b[_0x590d5e(0x201)](_0x5c2d13[_0x590d5e(0x346)])};}function _0xf75d58(_0x8924cf,_0x6bff4c,_0x58b8e6,_0x256383,_0x2ff1b9){const _0x190506=_0x3ceef6;var _0x2e004b,_0x6b1519,_0x17a7be,_0x231cfd;const _0x3668ce=[_0x8924cf[_0x190506(0x171)]((_0x458f18,_0x37e649)=>{const _0x6a8d27=_0x190506;var _0x45c9ec;const {id:_0x803924}=_0x458f18,{id:_0x2dbd06,type:_0x357ee4}=_0x37e649,_0x1e7700=(_0x45c9ec=_0x458f18['params'])!=null?_0x45c9ec:{'actions':null},_0x3f5c8e=_0x37e649[_0x6a8d27(0xbe)];if(_0x803924&&_0x803924!==_0x2dbd06)throw new Error(_0x6a8d27(0x284)+_0x803924+_0x6a8d27(0x289)+_0x2dbd06+'.');return{..._0x458f18,'id':_0x2dbd06,'type':_0x357ee4,'params':{'unitId':_0x3f5c8e[_0x6a8d27(0x167)],'textRanges':_0x3f5c8e[_0x6a8d27(0x410)],'actions':_0x24e1ed[_0x6a8d27(0x435)][_0x6a8d27(0x409)](_0x1e7700[_0x6a8d27(0x1d0)],_0x3f5c8e['actions'])}};},{})],_0xa2e473=(_0x6b1519=(_0x2e004b=_0x2ff1b9[_0x190506(0x272)]())==null?void 0x0:_0x2e004b[_0x190506(0x2b7)])!=null?_0x6b1519:_0x190506(0x276),_0x59e250=(_0x231cfd=(_0x17a7be=_0x2ff1b9[_0x190506(0x272)]())==null?void 0x0:_0x17a7be[_0x190506(0x2ae)])!=null?_0x231cfd:_0x190506(0x276);return{'changeset':{'unitID':_0x6bff4c,'type':_0x3c4c3c['mapDocumentTypeToUniverType'](_0x58b8e6[_0x190506(0x42a)](_0x6bff4c)),'baseRev':_0x256383[_0x190506(0x2cb)](_0x6bff4c),'revision':0x0,'userID':_0xa2e473,'memberID':_0x59e250,'mutations':_0x3668ce},'pendingMutations':[]};}const _0x1b94e5={'id':_0x5e02d9[_0x3ceef6(0x28b)]['id'],'type':_0x24e1ed[_0x3ceef6(0x24a)][_0x3ceef6(0x38e)],'params':{}};var _0x24021d=Object['defineProperty'],_0x103f14=Object[_0x3ceef6(0x3fa)],_0x3adde2=(_0xf5c342,_0x3634a4,_0x170d67,_0x29ea15)=>{for(var _0x3a2425=_0x29ea15>0x1?void 0x0:_0x29ea15?_0x103f14(_0x3634a4,_0x170d67):_0x3634a4,_0x18fd48=_0xf5c342['length']-0x1,_0xf4cca3;_0x18fd48>=0x0;_0x18fd48--)(_0xf4cca3=_0xf5c342[_0x18fd48])&&(_0x3a2425=(_0x29ea15?_0xf4cca3(_0x3634a4,_0x170d67,_0x3a2425):_0xf4cca3(_0x3a2425))||_0x3a2425);return _0x29ea15&&_0x3a2425&&_0x24021d(_0x3634a4,_0x170d67,_0x3a2425),_0x3a2425;},_0x241f3d=(_0x30727b,_0x592587)=>(_0x38d7a8,_0x4b5f31)=>_0x592587(_0x38d7a8,_0x4b5f31,_0x30727b),_0x5a1c45=(_0x44b7ce=>(_0x44b7ce[_0x3ceef6(0x339)]=_0x3ceef6(0x3eb),_0x44b7ce[_0x3ceef6(0x25a)]='synced',_0x44b7ce[_0x3ceef6(0x3e7)]=_0x3ceef6(0x394),_0x44b7ce[_0x3ceef6(0xeb)]=_0x3ceef6(0x31a),_0x44b7ce['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x44b7ce['FETCH_MISS']=_0x3ceef6(0x132),_0x44b7ce['CONFLICT']=_0x3ceef6(0x162),_0x44b7ce[_0x3ceef6(0x27c)]=_0x3ceef6(0x352),_0x44b7ce))(_0x5a1c45||{});class _0x2b77b0{constructor(_0x5a2f1c,_0x4776f5,_0x54a821,_0xdc64ca,_0xd65662,_0x95623,_0x3c0a80,_0x226164,_0x3040cc){const _0x334966=_0x3ceef6;_0x1b84ec(this,_0x334966(0x117),null),_0x1b84ec(this,'_pendingMutations',[]),(this['unitID']=_0x5a2f1c,this['type']=_0x4776f5,this[_0x334966(0x393)]=_0xd65662,this[_0x334966(0x285)]=_0x95623,this[_0x334966(0x44b)]=_0x3c0a80,this[_0x334966(0x181)]=_0x226164,this[_0x334966(0x140)]=_0x3040cc,this[_0x334966(0x117)]=_0x54a821,this[_0x334966(0x16d)]=_0xdc64ca);}['_checkMissing'](_0x183efb){const _0x1e3416=_0x3ceef6,_0x2a9807=this[_0x1e3416(0x181)]['getCurrentRevForDocument'](this[_0x1e3416(0x208)]);return _0x183efb[_0x1e3416(0x1d1)]>_0x2a9807+0x1?(this[_0x1e3416(0x393)][_0x1e3416(0x390)]({'from':_0x2a9807,'to':_0x183efb[_0x1e3416(0x1d1)]-0x1}),!0x0):!0x1;}[_0x3ceef6(0x2f8)](_0x1d85f3){const _0x1a629c=_0x3ceef6;this[_0x1a629c(0x44b)][_0x1a629c(0x269)](this['unitID'],_0x1d85f3);}[_0x3ceef6(0x2bd)](_0x935416){const _0x2700e3=_0x3ceef6;var _0x436220,_0x40c7e8;(_0x40c7e8=(_0x436220=this[_0x2700e3(0x393)])[_0x2700e3(0xb7)])==null||_0x40c7e8[_0x2700e3(0x2b8)](_0x436220,_0x935416);}['_transformIMECache'](_0x3dbef8){const _0x1970bf=_0x3ceef6;var _0x58ff42,_0x5e018d;return(_0x5e018d=(_0x58ff42=this[_0x1970bf(0x393)])['onTransformIME'])==null?void 0x0:_0x5e018d['call'](_0x58ff42,_0x3dbef8);}['_transformRemoteChangesetByIMECache'](_0x595d68){const _0xf6da77=_0x3ceef6;var _0x18b1ae,_0x13fba2,_0x703983;return(_0x703983=(_0x13fba2=(_0x18b1ae=this['_handler'])[_0xf6da77(0x3a3)])==null?void 0x0:_0x13fba2[_0xf6da77(0x2b8)](_0x18b1ae,_0x595d68))!=null?_0x703983:_0x595d68;}[_0x3ceef6(0x46f)](_0x2a1829){const _0x23cdbc=_0x3ceef6;var _0x26f311,_0x5ebb0d;if(this[_0x23cdbc(0x223)]===_0x1a91ec[_0x23cdbc(0x192)]){const {unitID:_0x45f662,mutations:_0x43b3a9,memberID:_0x2185a6}=_0x2a1829,_0x5358b8=_0x43b3a9[0x0][_0x23cdbc(0xbe)][_0x23cdbc(0x410)];Array[_0x23cdbc(0xc7)](_0x5358b8)&&_0x5358b8['length']>0x0&&((_0x5ebb0d=(_0x26f311=this[_0x23cdbc(0x393)])['onSyncEditingCollabCursor'])==null||_0x5ebb0d[_0x23cdbc(0x2b8)](_0x26f311,{'unitID':_0x45f662,'memberID':_0x2185a6,'textRanges':_0x5358b8}));}}[_0x3ceef6(0x2c1)](){const _0x5cc161=_0x3ceef6;this[_0x5cc161(0x140)][_0x5cc161(0x37a)](this[_0x5cc161(0x208)],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x4f2222=_0x3ceef6;return this['_revisionService'][_0x4f2222(0x2cb)](this['unitID']);}['_incrementRevisionNumber'](){this['_revisionService']['incrementRevForDocument'](this['unitID']);}[_0x3ceef6(0x19e)](_0x5a578a){const _0x4de2a6=_0x3ceef6;var _0x267a81;const _0x5ae47f=this[_0x4de2a6(0xd4)](_0x5a578a),_0x45fb61=_0x24e1ed[_0x4de2a6(0x1ec)](_0x5ae47f[_0x4de2a6(0x34a)],this[_0x4de2a6(0x285)],{'fromCollab':!0x0});if(!_0x45fb61[_0x4de2a6(0x26a)])throw _0x45fb61[_0x4de2a6(0x457)]instanceof Error?_0x45fb61[_0x4de2a6(0x457)]:new Error((_0x267a81=_0x45fb61[_0x4de2a6(0x457)])!=null?_0x267a81:_0x4de2a6(0x297));this[_0x4de2a6(0x28c)](_0x5ae47f),this[_0x4de2a6(0x2f8)](_0x5a578a),this[_0x4de2a6(0x2bd)](_0x5ae47f),this[_0x4de2a6(0x46f)](_0x5ae47f),this[_0x4de2a6(0x103)]();}}let _0x47affd=class extends _0x2b77b0{constructor(_0x178c2b,_0x4ef177,_0x14095b,_0x5588c7,_0x1fdff3,_0x4ad999,_0x55baf1,_0x3ec7da,_0x357bfb,_0x40eb4a){const _0xaf3eaf=_0x3ceef6;super(_0x178c2b,_0x4ef177,null,[],_0x14095b,_0x3ec7da,_0x55baf1,_0x5588c7,_0x1fdff3),_0x1b84ec(this,_0xaf3eaf(0x355),'synced'),(this['_injector']=_0x4ad999,this[_0xaf3eaf(0x256)]=_0x357bfb,this[_0xaf3eaf(0x428)]=_0x40eb4a);}[_0x3ceef6(0xbf)](_0x48c73f){const _0x53fd76=_0x3ceef6,_0x4655f8=this[_0x53fd76(0x376)][_0x53fd76(0x1c4)](_0x3e48b5,this[_0x53fd76(0x208)],this['type'],[_0x48c73f],this['_handler']);return _0x4655f8[_0x53fd76(0x39b)](),_0x4655f8[_0x53fd76(0x2c1)](),_0x4655f8;}[_0x3ceef6(0x169)](_0x33279b){const _0x546d52=_0x3ceef6;if(this[_0x546d52(0x24c)](_0x33279b))return this['_injector'][_0x546d52(0x1c4)](_0x4841b6,this['unitID'],this[_0x546d52(0x223)],null,[],null,[_0x33279b],this[_0x546d52(0x393)]);try{const _0x34484a=this[_0x546d52(0x428)][_0x546d52(0x38c)](_0x33279b,[_0x1b94e5]);if(_0x3c4c3c[_0x546d52(0x447)](_0x34484a)){const {c1Prime:_0x429583}=_0x34484a;return this['_executeRemoteChangeset'](_0x429583),this;}throw _0x34484a['error'];}catch(_0x52701f){return this[_0x546d52(0x256)][_0x546d52(0x457)](_0x52701f),this[_0x546d52(0x2e0)](!0x1);}}[_0x3ceef6(0x2e0)](_0x32a8ce){const _0x395156=_0x3ceef6;return this['_injector'][_0x395156(0x1c4)](_0x41bb20,this[_0x395156(0x208)],this[_0x395156(0x223)],null,[],this[_0x395156(0x393)],_0x32a8ce);}['onRemoteAck'](){const _0xd527ec=_0x3ceef6;throw new Error(_0xd527ec(0x3ad));}[_0x3ceef6(0x165)](){const _0x4427a2=_0x3ceef6;throw new Error(_0x4427a2(0x18d));}[_0x3ceef6(0xef)](){const _0xa38caa=_0x3ceef6;return this[_0xa38caa(0x376)][_0xa38caa(0x1c4)](_0x29cdda,this[_0xa38caa(0x208)],this[_0xa38caa(0x223)],null,[],this[_0xa38caa(0x393)]);}[_0x3ceef6(0x486)](){return this;}['resend'](){const _0x54860e=_0x3ceef6;throw new Error(_0x54860e(0x388));}};_0x47affd=_0x3adde2([_0x241f3d(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c['RevisionService'])),_0x241f3d(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x271)])),_0x241f3d(0x5,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x241f3d(0x6,_0x24e1ed[_0x3ceef6(0x1f4)]),_0x241f3d(0x7,_0x24e1ed[_0x3ceef6(0x28e)]),_0x241f3d(0x8,_0x24e1ed[_0x3ceef6(0x250)]),_0x241f3d(0x9,_0x3c4c3c[_0x3ceef6(0x2cd)])],_0x47affd);let _0x3e48b5=class extends _0x2b77b0{constructor(_0x2582f4,_0x17b7d7,_0x1ee3e9,_0x9e7908,_0x202a0c,_0xac3d27,_0x20bd55,_0xde471,_0x3de165,_0x21d2be,_0x1a1d6b,_0xd5199b,_0x57d3a0,_0x37836a){const _0x48e200=_0x3ceef6;super(_0x2582f4,_0x17b7d7,null,_0x1ee3e9,_0x9e7908,_0x21d2be,_0x37836a,_0xac3d27,_0x20bd55),_0x1b84ec(this,_0x48e200(0x355),_0x48e200(0x394)),_0x1b84ec(this,_0x48e200(0x370),null),_0x1b84ec(this,_0x48e200(0x3cf),null),(this['_injector']=_0x202a0c,this[_0x48e200(0x1e0)]=_0xde471,this[_0x48e200(0x256)]=_0x3de165,this[_0x48e200(0x421)]=_0x1a1d6b,this[_0x48e200(0x428)]=_0xd5199b,this[_0x48e200(0x198)]=_0x57d3a0);}[_0x3ceef6(0xbf)](_0x4f4d30){const _0x5c2940=_0x3ceef6;return this[_0x5c2940(0x16d)][_0x5c2940(0x279)](_0x4f4d30),this[_0x5c2940(0x2c1)](),this;}[_0x3ceef6(0x169)](_0x4420ac){const _0x653c96=_0x3ceef6;if(this[_0x653c96(0x24c)](_0x4420ac))return this[_0x653c96(0x3a0)](),this[_0x653c96(0x376)][_0x653c96(0x1c4)](_0x4841b6,this[_0x653c96(0x208)],this['type'],null,this[_0x653c96(0x16d)],null,[_0x4420ac],this['_handler']);try{const _0x5df885=this[_0x653c96(0x428)]['transformMutationsWithChangeset'](_0x4420ac,this['_pendingMutations']);if(_0x3c4c3c[_0x653c96(0x447)](_0x5df885)){const {c1Prime:_0x59b788,m2Prime:_0x256ec3}=_0x5df885;this['_executeRemoteChangeset'](_0x59b788);const _0x36e9e1=this['_injector'][_0x653c96(0x1c4)](_0x3e48b5,this[_0x653c96(0x208)],this[_0x653c96(0x223)],_0x256ec3,this[_0x653c96(0x393)]);return this['_clearScheduledTask'](),_0x36e9e1[_0x653c96(0x39b)](this[_0x653c96(0x370)]?Math[_0x653c96(0x474)](0x0,new Date()[_0x653c96(0x3f6)]()-this[_0x653c96(0x370)]):this[_0x653c96(0x322)]()),_0x36e9e1;}throw _0x5df885[_0x653c96(0x457)];}catch(_0x25d615){return this[_0x653c96(0x256)][_0x653c96(0x457)](_0x25d615),this['_onConflict'](!0x1);}}[_0x3ceef6(0x1d7)](){const _0x2ee9d7=_0x3ceef6;throw new Error(_0x2ee9d7(0x1fb));}[_0x3ceef6(0x165)](){const _0xc7d945=_0x3ceef6;throw new Error(_0xc7d945(0x466));}['toggleOffline'](){const _0x2ff3f3=_0x3ceef6;return this['_clearScheduledTask'](),this[_0x2ff3f3(0x376)][_0x2ff3f3(0x1c4)](_0x29cdda,this[_0x2ff3f3(0x208)],this[_0x2ff3f3(0x223)],null,this[_0x2ff3f3(0x16d)],this[_0x2ff3f3(0x393)]);}[_0x3ceef6(0x486)](){return this;}[_0x3ceef6(0x39b)](_0x5b960a){const _0x40ed47=_0x3ceef6;_0x5b960a=_0x5b960a!=null?_0x5b960a:this[_0x40ed47(0x322)](),this['_scheduleTimestamp']=new Date()[_0x40ed47(0x3f6)](),this[_0x40ed47(0x3cf)]=setTimeout(()=>{const _0x296f9d=_0x40ed47;this[_0x296f9d(0x3a0)]();let _0x4ce278=null;switch(this[_0x296f9d(0x223)]){case _0x1a91ec[_0x296f9d(0x2b3)]:{_0x4ce278=_0x1bbe64(this[_0x296f9d(0x16d)],this[_0x296f9d(0x208)],this[_0x296f9d(0x198)],this[_0x296f9d(0x181)],this['_memberService']);break;}case _0x1a91ec['UNIVER_DOC']:{this[_0x296f9d(0x16d)][_0x296f9d(0x3e0)](_0x17e284=>_0x17e284['id']===_0x2c946a[_0x296f9d(0x3f8)]['id'])?_0x4ce278=_0xf75d58(this['_pendingMutations'],this['unitID'],this[_0x296f9d(0x198)],this['_revisionService'],this[_0x296f9d(0x1e0)]):_0x4ce278=_0x1bbe64(this[_0x296f9d(0x16d)],this[_0x296f9d(0x208)],this[_0x296f9d(0x198)],this[_0x296f9d(0x181)],this[_0x296f9d(0x1e0)]);break;}default:throw new Error(_0x296f9d(0x3dc)+this[_0x296f9d(0x223)]+_0x296f9d(0x2cc));}const {changeset:_0x4a22eb,pendingMutations:_0x4ae9f5}=_0x4ce278;this[_0x296f9d(0x393)][_0x296f9d(0x37d)](_0x4a22eb);const _0x19ccdd=_0x4ae9f5['length']?this[_0x296f9d(0x376)][_0x296f9d(0x1c4)](_0xde0597,this['unitID'],this['type'],_0x4a22eb,_0x4ae9f5,this[_0x296f9d(0x393)]):this[_0x296f9d(0x376)]['createInstance'](_0x3dff93,this[_0x296f9d(0x208)],this[_0x296f9d(0x223)],_0x4a22eb,this['_handler']);_0x19ccdd[_0x296f9d(0x2c1)](),this['_handler'][_0x296f9d(0x11b)](this,_0x19ccdd);},_0x5b960a);}['_getSendChangesetTimeout'](){const _0x2f42ee=_0x3ceef6;var _0x26fbb5;return(_0x26fbb5=this[_0x2f42ee(0x421)][_0x2f42ee(0x10b)](_0x274600))!=null?_0x26fbb5:0x7d0;}[_0x3ceef6(0x182)](){const _0x27d0db=_0x3ceef6;throw new Error(_0x27d0db(0xc9));}[_0x3ceef6(0x3a0)](){const _0x57236c=_0x3ceef6;this[_0x57236c(0x3cf)]!=null&&(clearTimeout(this[_0x57236c(0x3cf)]),this[_0x57236c(0x3cf)]=null);}['_onConflict'](_0x14b68d){const _0x43dee2=_0x3ceef6;return this['_clearScheduledTask'](),this[_0x43dee2(0x376)][_0x43dee2(0x1c4)](_0x41bb20,this[_0x43dee2(0x208)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x14b68d);}};_0x3e48b5=_0x3adde2([_0x241f3d(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x241f3d(0x5,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c[_0x3ceef6(0x3dd)])),_0x241f3d(0x6,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f['LocalCacheService'])),_0x241f3d(0x7,_0x24e1ed[_0x3ceef6(0x48f)](_0x29dad0)),_0x241f3d(0x8,_0x24e1ed['ILogService']),_0x241f3d(0x9,_0x24e1ed['ICommandService']),_0x241f3d(0xa,_0x24e1ed[_0x3ceef6(0x476)]),_0x241f3d(0xb,_0x3c4c3c['ITransformService']),_0x241f3d(0xc,_0x24e1ed['IUniverInstanceService']),_0x241f3d(0xd,_0x24e1ed[_0x3ceef6(0x1f4)])],_0x3e48b5);let _0x3dff93=class extends _0x2b77b0{constructor(_0x3e146f,_0x2b38ee,_0x1a16e5,_0x1a4ed2,_0x454fe3,_0x251655,_0x346e3c,_0x3ebf23,_0x3e9d34,_0x376a2e,_0x10a326){const _0x603e6c=_0x3ceef6;super(_0x3e146f,_0x2b38ee,_0x1a16e5,[],_0x1a4ed2,_0x3ebf23,_0x10a326,_0x251655,_0x346e3c),_0x1b84ec(this,_0x603e6c(0x355),_0x603e6c(0x31a)),(this[_0x603e6c(0x376)]=_0x454fe3,this['_logService']=_0x3e9d34,this['_transformService']=_0x376a2e);}['appendMutation'](_0x1ab4f2){const _0x5a6ec8=_0x3ceef6,_0x468946=this[_0x5a6ec8(0x376)][_0x5a6ec8(0x1c4)](_0xde0597,this[_0x5a6ec8(0x208)],this['type'],this['_awaitingChangeset'],[_0x1ab4f2],this[_0x5a6ec8(0x393)]);return _0x468946[_0x5a6ec8(0x2c1)](),_0x468946;}[_0x3ceef6(0x169)](_0x277e78){const _0xb92545=_0x3ceef6;if(this[_0xb92545(0x24c)](_0x277e78))return this[_0xb92545(0x376)][_0xb92545(0x1c4)](_0x4841b6,this[_0xb92545(0x208)],this[_0xb92545(0x223)],this['_awaitingChangeset'],[],null,[_0x277e78],this[_0xb92545(0x393)]);try{const _0x56846f=this[_0xb92545(0x428)]['transformChangesets']([_0x277e78],[this[_0xb92545(0x117)]],!0x1);if(_0x3c4c3c[_0xb92545(0x31b)](_0x56846f)){const {c1Prime:_0x24bd6c,c2Prime:_0x52e7ab}=_0x56846f;this['_executeRemoteChangeset'](_0x24bd6c[0x0]),_0x52e7ab[0x0][_0xb92545(0x3ae)]=this[_0xb92545(0x237)]();const _0x22c9b6=this[_0xb92545(0x376)]['createInstance'](_0x3dff93,this['unitID'],this[_0xb92545(0x223)],_0x52e7ab[0x0],this[_0xb92545(0x393)]);return _0x22c9b6[_0xb92545(0x2c1)](),_0x22c9b6;}return this[_0xb92545(0x2e0)](!0x1);}catch(_0x432978){return this[_0xb92545(0x256)][_0xb92545(0x457)](_0x432978),this[_0xb92545(0x2e0)](!0x1);}}[_0x3ceef6(0x1d7)](_0x431e05){const _0x1fa983=_0x3ceef6,_0x2b36ec=this[_0x1fa983(0x181)][_0x1fa983(0x2cb)](this['unitID']);if(_0x431e05[_0x1fa983(0x1d1)]<_0x2b36ec-0x1)return this;if(this[_0x1fa983(0x24c)](_0x431e05))return this[_0x1fa983(0x376)][_0x1fa983(0x1c4)](_0x4841b6,this[_0x1fa983(0x208)],this[_0x1fa983(0x223)],null,[],this[_0x1fa983(0x117)],[],this[_0x1fa983(0x393)]);this[_0x1fa983(0x103)]();const _0x1b74cb=this[_0x1fa983(0x376)][_0x1fa983(0x1c4)](_0x47affd,this['unitID'],this['type'],this[_0x1fa983(0x393)]);return _0x1b74cb[_0x1fa983(0x2c1)](),_0x1b74cb;}[_0x3ceef6(0x165)](_0xf34379){const _0x14e397=_0x3ceef6;return this[_0x14e397(0x2e0)](!!(_0xf34379!=null&&_0xf34379[_0x14e397(0x1ce)]));}[_0x3ceef6(0xef)](){const _0x372abc=_0x3ceef6;return this[_0x372abc(0x376)]['createInstance'](_0x29cdda,this[_0x372abc(0x208)],this[_0x372abc(0x223)],this[_0x372abc(0x117)],[],this['_handler']);}[_0x3ceef6(0x486)](){return this;}['resend'](){const _0x3f6a9b=_0x3ceef6;this[_0x3f6a9b(0x393)][_0x3f6a9b(0x37d)](this['_awaitingChangeset']);}[_0x3ceef6(0x2e0)](_0x47d8a0){const _0x148edd=_0x3ceef6;return this[_0x148edd(0x376)]['createInstance'](_0x41bb20,this[_0x148edd(0x208)],this[_0x148edd(0x223)],this['_awaitingChangeset'],[],this[_0x148edd(0x393)],_0x47d8a0);}};_0x3dff93=_0x3adde2([_0x241f3d(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x241f3d(0x5,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c['RevisionService'])),_0x241f3d(0x6,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x271)])),_0x241f3d(0x7,_0x24e1ed['ICommandService']),_0x241f3d(0x8,_0x24e1ed[_0x3ceef6(0x250)]),_0x241f3d(0x9,_0x3c4c3c[_0x3ceef6(0x2cd)]),_0x241f3d(0xa,_0x24e1ed[_0x3ceef6(0x1f4)])],_0x3dff93);let _0xde0597=class extends _0x2b77b0{constructor(_0x5c140a,_0x4a461b,_0x137be3,_0x1dbab1,_0x11dfcb,_0x261d33,_0x43cc00,_0x373ef5,_0x354065,_0x488025,_0x32f898,_0x53bca9){const _0x109825=_0x3ceef6;super(_0x5c140a,_0x4a461b,_0x137be3,_0x1dbab1,_0x11dfcb,_0x354065,_0x53bca9,_0x43cc00,_0x373ef5),_0x1b84ec(this,_0x109825(0x355),_0x109825(0x149)),(this['_injector']=_0x261d33,this['_logService']=_0x488025,this[_0x109825(0x428)]=_0x32f898);}['appendMutation'](_0x31a408){const _0x166cb9=_0x3ceef6;return this[_0x166cb9(0x16d)]['push'](_0x31a408),this;}[_0x3ceef6(0x169)](_0x48ca1e){const _0x74571c=_0x3ceef6;if(this[_0x74571c(0x24c)](_0x48ca1e))return this['_injector'][_0x74571c(0x1c4)](_0x4841b6,this[_0x74571c(0x208)],this[_0x74571c(0x223)],this[_0x74571c(0x117)],this[_0x74571c(0x16d)],null,[_0x48ca1e],this[_0x74571c(0x393)]);try{const _0x3f9f90=this[_0x74571c(0x428)][_0x74571c(0x353)]([_0x48ca1e],[this[_0x74571c(0x117)]],!0x1);if(_0x3c4c3c['isTransformChangesetsSuccess'](_0x3f9f90)){const {c1Prime:_0x25dc1c,c2Prime:_0x5f06cd}=_0x3f9f90,_0x4d923c=this[_0x74571c(0x428)][_0x74571c(0x38c)](_0x25dc1c[0x0],this[_0x74571c(0x16d)]);if(_0x3c4c3c[_0x74571c(0x447)](_0x4d923c)){const {c1Prime:_0x1a705a,m2Prime:_0x1e8e35}=_0x4d923c;return this[_0x74571c(0x19e)](_0x1a705a),_0x5f06cd[0x0][_0x74571c(0x3ae)]=this['_getCurrentRevision'](),this[_0x74571c(0x376)][_0x74571c(0x1c4)](_0xde0597,this[_0x74571c(0x208)],this[_0x74571c(0x223)],_0x5f06cd[0x0],_0x1e8e35,this[_0x74571c(0x393)]);}throw _0x4d923c[_0x74571c(0x457)];}throw _0x3f9f90[_0x74571c(0x457)];}catch(_0x5e210a){return this['_logService'][_0x74571c(0x457)](_0x5e210a),this[_0x74571c(0x2e0)](!0x1);}}[_0x3ceef6(0x1d7)](_0x2793f4){const _0x271f65=_0x3ceef6;if(this['_checkMissing'](_0x2793f4))return this['_injector'][_0x271f65(0x1c4)](_0x4841b6,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x271f65(0x117)],[],this[_0x271f65(0x393)]);this[_0x271f65(0x103)]();const _0x300660=this['_injector'][_0x271f65(0x1c4)](_0x3e48b5,this[_0x271f65(0x208)],this[_0x271f65(0x223)],this['_pendingMutations'],this['_handler']);return _0x300660[_0x271f65(0x39b)](),_0x300660[_0x271f65(0x2c1)](),_0x300660;}[_0x3ceef6(0x165)](_0x37bc8d){const _0x2bf4fc=_0x3ceef6;return this[_0x2bf4fc(0x2e0)](!!(_0x37bc8d!=null&&_0x37bc8d['isPermissionRej']));}[_0x3ceef6(0xef)](){const _0x15a624=_0x3ceef6;return this[_0x15a624(0x376)]['createInstance'](_0x29cdda,this[_0x15a624(0x208)],this[_0x15a624(0x223)],this['_awaitingChangeset'],this[_0x15a624(0x16d)],this[_0x15a624(0x393)]);}[_0x3ceef6(0x486)](){return this;}[_0x3ceef6(0x182)](){const _0x2e65e8=_0x3ceef6;this[_0x2e65e8(0x393)]['onSendChangeset'](this[_0x2e65e8(0x117)]);}[_0x3ceef6(0x2e0)](_0x2b2463){const _0x283494=_0x3ceef6;return this[_0x283494(0x376)][_0x283494(0x1c4)](_0x41bb20,this[_0x283494(0x208)],this[_0x283494(0x223)],null,this[_0x283494(0x16d)],this['_handler'],_0x2b2463);}};_0xde0597=_0x3adde2([_0x241f3d(0x5,_0x24e1ed['Inject'](_0x24e1ed[_0x3ceef6(0x405)])),_0x241f3d(0x6,_0x24e1ed['Inject'](_0x3c4c3c['RevisionService'])),_0x241f3d(0x7,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x271)])),_0x241f3d(0x8,_0x24e1ed[_0x3ceef6(0x28e)]),_0x241f3d(0x9,_0x24e1ed[_0x3ceef6(0x250)]),_0x241f3d(0xa,_0x3c4c3c[_0x3ceef6(0x2cd)]),_0x241f3d(0xb,_0x24e1ed[_0x3ceef6(0x1f4)])],_0xde0597);let _0x41bb20=class extends _0x2b77b0{constructor(_0x281a93,_0x350a2f,_0x2876fe,_0x5ed835,_0x55f279,_0x1a9968=!0x1,_0x382f85,_0x25236f,_0x249010,_0x12247f,_0xc3e5e6,_0x4c2c22,_0x18570b){const _0x36cd70=_0x3ceef6;super(_0x281a93,_0x350a2f,_0x2876fe,_0x5ed835,_0x55f279,_0x25236f,_0x249010,_0xc3e5e6,_0x12247f),_0x1b84ec(this,_0x36cd70(0x355),'conflict'),(this['_isPermissionRej']=_0x1a9968,this[_0x36cd70(0x4a2)]=_0x382f85,this[_0x36cd70(0x109)]=_0x4c2c22,this['_notificationService']=_0x18570b,this[_0x36cd70(0x186)](),this[_0x36cd70(0x105)](),this[_0x36cd70(0x102)]());}[_0x3ceef6(0xbf)](){return this;}[_0x3ceef6(0x169)](){return this;}[_0x3ceef6(0x1d7)](){return this;}['onRemoteRej'](){return this;}[_0x3ceef6(0xef)](){return this;}[_0x3ceef6(0x486)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3ceef6(0x105)](){const _0x2ead0c=_0x3ceef6;this['_localCacheService'][_0x2ead0c(0x37a)](this[_0x2ead0c(0x208)],this[_0x2ead0c(0x223)],null,[]);}[_0x3ceef6(0x186)](){const _0x588c1a=_0x3ceef6;this[_0x588c1a(0x3f9)]?this[_0x588c1a(0x328)][_0x588c1a(0x38a)]({'title':this[_0x588c1a(0x109)]['t'](_0x588c1a(0xec)),'content':this[_0x588c1a(0x109)]['t'](_0x588c1a(0x1e2)),'type':'error','duration':0x0}):this['_notificationService'][_0x588c1a(0x38a)]({'title':this['_localeService']['t'](_0x588c1a(0x431)),'content':this[_0x588c1a(0x109)]['t'](_0x588c1a(0x1f5)),'type':_0x588c1a(0x457),'duration':0x0});}[_0x3ceef6(0x102)](){const _0x4e4340=_0x3ceef6;this['_permissionService'][_0x4e4340(0x323)](new _0x5e02d9['WorkbookEditablePermission'](this[_0x4e4340(0x208)])['id'],!0x1);}};_0x41bb20=_0x3adde2([_0x241f3d(0x6,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x16f)])),_0x241f3d(0x7,_0x24e1ed['ICommandService']),_0x241f3d(0x8,_0x24e1ed[_0x3ceef6(0x1f4)]),_0x241f3d(0x9,_0x24e1ed['Inject'](_0x481c9f[_0x3ceef6(0x271)])),_0x241f3d(0xa,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c['RevisionService'])),_0x241f3d(0xb,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed['LocaleService'])),_0x241f3d(0xc,_0x279279[_0x3ceef6(0x24d)])],_0x41bb20);let _0x29cdda=class extends _0x2b77b0{constructor(_0x412e52,_0x3d7622,_0x39c260,_0x26700f,_0x453b92,_0x23765b,_0x339d07,_0x2e4eb5,_0xb93377,_0x210d98){const _0x185351=_0x3ceef6;super(_0x412e52,_0x3d7622,_0x39c260,_0x26700f,_0x453b92,_0xb93377,_0x210d98,_0x339d07,_0x2e4eb5),_0x1b84ec(this,_0x185351(0x355),_0x185351(0x352)),this[_0x185351(0x376)]=_0x23765b;}[_0x3ceef6(0xbf)](_0x2bb6cf){const _0x2e030d=_0x3ceef6;return this[_0x2e030d(0x16d)]['push'](_0x2bb6cf),this[_0x2e030d(0x2c1)](),this;}[_0x3ceef6(0x169)](_0x16ac96){const _0x4dbc45=_0x3ceef6;throw new Error(_0x4dbc45(0x3f4));}[_0x3ceef6(0x1d7)](){const _0x517689=_0x3ceef6;throw new Error(_0x517689(0x26b));}[_0x3ceef6(0x165)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3ceef6(0xef)](){return this;}[_0x3ceef6(0x486)](){const _0x5fa55c=_0x3ceef6,{_injector:_0x4d667f,_pendingMutations:_0x2d9152,_awaitingChangeset:_0x178f70,unitID:_0xd07f1b,_handler:_0x485140,type:_0x5cf707}=this,_0x395059=_0x83489(_0x4d667f,_0xd07f1b,_0x5cf707,_0x178f70,_0x2d9152,_0x485140);return _0x395059 instanceof _0x3e48b5?_0x395059[_0x5fa55c(0x39b)]():(_0x395059 instanceof _0xde0597||_0x395059 instanceof _0x3dff93)&&_0x395059[_0x5fa55c(0x182)](),_0x395059;}['resend'](){const _0xa08e39=_0x3ceef6;throw new Error(_0xa08e39(0x100));}};_0x29cdda=_0x3adde2([_0x241f3d(0x5,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x241f3d(0x6,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c[_0x3ceef6(0x3dd)])),_0x241f3d(0x7,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x271)])),_0x241f3d(0x8,_0x24e1ed[_0x3ceef6(0x28e)]),_0x241f3d(0x9,_0x24e1ed['IUndoRedoService'])],_0x29cdda);let _0x4841b6=class extends _0x2b77b0{constructor(_0x4d6ac3,_0x3e2dd4,_0xabd117,_0xa81ed7,_0x405eb7,_0x2f5a09,_0x10192e,_0x365537,_0x12d4e3,_0xbc3897,_0x4e0507,_0x4c8638,_0x33d6f3,_0x138322){const _0x434d92=_0x3ceef6;super(_0x4d6ac3,_0x3e2dd4,_0xabd117,_0xa81ed7,_0x10192e,_0x4c8638,_0x33d6f3,_0x12d4e3,_0xbc3897),_0x1b84ec(this,_0x434d92(0x355),_0x434d92(0x132)),(this[_0x434d92(0x3d1)]=_0x405eb7,this[_0x434d92(0x120)]=_0x2f5a09,this[_0x434d92(0x376)]=_0x365537,this[_0x434d92(0x256)]=_0x4e0507,this[_0x434d92(0x428)]=_0x138322);}[_0x3ceef6(0xfc)](_0x17b4c5){const _0x15defb=_0x3ceef6;try{const _0x3aa677=[..._0x17b4c5,...this[_0x15defb(0x120)]],_0x1a344b=[this[_0x15defb(0x117)]||this[_0x15defb(0x3d1)]]['filter'](_0x3b11d7=>!!_0x3b11d7);let _0x9e356f,_0x4e66f1;if(_0x1a344b['length']){const _0x538092=this[_0x15defb(0x428)][_0x15defb(0x353)](_0x3aa677,_0x1a344b,!0x1);if(!_0x3c4c3c[_0x15defb(0x31b)](_0x538092))throw _0x538092[_0x15defb(0x457)];_0x9e356f=_0x538092[_0x15defb(0x467)],_0x4e66f1=_0x538092[_0x15defb(0x24b)];}else _0x9e356f=_0x3aa677,_0x4e66f1=[];let _0x540daa=this[_0x15defb(0x16d)];_0x9e356f[_0x15defb(0x115)](_0x3b2215=>{const _0x10b961=_0x15defb;let _0x54b6c4;if(_0x540daa[_0x10b961(0x346)]){const _0xec2a98=this[_0x10b961(0x428)]['transformMutationsWithChangeset'](_0x3b2215,_0x540daa);if(!_0x3c4c3c[_0x10b961(0x447)](_0xec2a98))throw _0xec2a98[_0x10b961(0x457)];_0x54b6c4=_0xec2a98[_0x10b961(0x467)],_0x540daa=_0xec2a98[_0x10b961(0x49c)];}else _0x54b6c4=_0x3b2215;this[_0x10b961(0x19e)](_0x54b6c4);}),this[_0x15defb(0x3d1)]&&this[_0x15defb(0x103)](),this[_0x15defb(0x117)]&&_0x4e66f1['length']&&(_0x4e66f1[0x0][_0x15defb(0x3ae)]=this[_0x15defb(0x237)]());let _0x2c45f;if(this['_awaitingChangeset']&&_0x540daa['length']!==0x0)_0x2c45f=this[_0x15defb(0x376)][_0x15defb(0x1c4)](_0xde0597,this[_0x15defb(0x208)],this[_0x15defb(0x223)],_0x4e66f1[0x0],_0x540daa,this[_0x15defb(0x393)]);else{if(this[_0x15defb(0x117)]&&_0x540daa[_0x15defb(0x346)]===0x0)_0x4e66f1[0x0][_0x15defb(0x3ae)]=this['_getCurrentRevision'](),_0x2c45f=this[_0x15defb(0x376)]['createInstance'](_0x3dff93,this[_0x15defb(0x208)],this[_0x15defb(0x223)],_0x4e66f1[0x0],this[_0x15defb(0x393)]);else{if(_0x540daa['length']!==0x0){const _0x3ff009=this[_0x15defb(0x376)][_0x15defb(0x1c4)](_0x3e48b5,this['unitID'],this['type'],_0x540daa,this[_0x15defb(0x393)]);_0x3ff009[_0x15defb(0x39b)](),_0x2c45f=_0x3ff009;}else _0x2c45f=this['_injector']['createInstance'](_0x47affd,this[_0x15defb(0x208)],this[_0x15defb(0x223)],this['_handler']);}}return _0x2c45f[_0x15defb(0x2c1)](),_0x2c45f;}catch(_0x51518f){return this[_0x15defb(0x256)][_0x15defb(0x457)]('[FetchMissState]',_0x15defb(0x11d),_0x51518f),this[_0x15defb(0x376)]['createInstance'](_0x41bb20,this[_0x15defb(0x208)],this['type'],this[_0x15defb(0x117)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x3ceef6(0x182)](){const _0x4eb6fb=_0x3ceef6;throw new Error(_0x4eb6fb(0x1c0));}['appendMutation'](_0xc5fe52){const _0x4565e1=_0x3ceef6;return this['_pendingMutations'][_0x4565e1(0x279)](_0xc5fe52),this;}['onRemoteChangeset'](_0x57abd4){const _0x3901dd=_0x3ceef6;return this[_0x3901dd(0x120)][_0x3901dd(0x279)](_0x57abd4),this;}[_0x3ceef6(0x1d7)](_0x4e5611){const _0x5ee634=_0x3ceef6;if(this[_0x5ee634(0x117)])return this['_acknowledgedAwaitingChangeset']=this[_0x5ee634(0x117)],this['_awaitingChangeset']=null,this;throw new Error(_0x5ee634(0xe2));}[_0x3ceef6(0x165)](_0x5b8f89){const _0x550953=_0x3ceef6;return this['_onConflict'](!!(_0x5b8f89!=null&&_0x5b8f89[_0x550953(0x1ce)]));}[_0x3ceef6(0xef)](){const _0x29923a=_0x3ceef6;return this[_0x29923a(0x376)][_0x29923a(0x1c4)](_0x29cdda,this[_0x29923a(0x208)],this['type'],this[_0x29923a(0x117)],this[_0x29923a(0x16d)],this[_0x29923a(0x393)]);}[_0x3ceef6(0x486)](){return this;}[_0x3ceef6(0x2e0)](_0x25f23d){const _0x1f1030=_0x3ceef6;return this[_0x1f1030(0x376)][_0x1f1030(0x1c4)](_0x41bb20,this[_0x1f1030(0x208)],this[_0x1f1030(0x223)],this[_0x1f1030(0x117)],this[_0x1f1030(0x16d)],this['_handler'],_0x25f23d);}};_0x4841b6=_0x3adde2([_0x241f3d(0x7,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed['Injector'])),_0x241f3d(0x8,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c[_0x3ceef6(0x3dd)])),_0x241f3d(0x9,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x271)])),_0x241f3d(0xa,_0x24e1ed[_0x3ceef6(0x250)]),_0x241f3d(0xb,_0x24e1ed[_0x3ceef6(0x28e)]),_0x241f3d(0xc,_0x24e1ed['IUndoRedoService']),_0x241f3d(0xd,_0x3c4c3c[_0x3ceef6(0x2cd)])],_0x4841b6);function _0x83489(_0x8f9049,_0x3668a7,_0x49a276,_0x3c59b8,_0xb59dc8,_0x1015b7){const _0x363e0c=_0x3ceef6;return _0x3c59b8&&_0xb59dc8[_0x363e0c(0x346)]?_0x8f9049[_0x363e0c(0x1c4)](_0xde0597,_0x3668a7,_0x49a276,_0x3c59b8,_0xb59dc8,_0x1015b7):_0x3c59b8?_0x8f9049['createInstance'](_0x3dff93,_0x3668a7,_0x49a276,_0x3c59b8,_0x1015b7):_0xb59dc8[_0x363e0c(0x346)]?_0x8f9049[_0x363e0c(0x1c4)](_0x3e48b5,_0x3668a7,_0x49a276,_0xb59dc8,_0x1015b7):_0x8f9049[_0x363e0c(0x1c4)](_0x47affd,_0x3668a7,_0x49a276,_0x1015b7);}var _0x10bb3d=Object[_0x3ceef6(0x2d1)],_0x4e3a31=Object[_0x3ceef6(0x3fa)],_0x37a4eb=(_0x3a47fa,_0x2a16af,_0x31eeb0,_0x209fd1)=>{for(var _0x49d5c9=_0x209fd1>0x1?void 0x0:_0x209fd1?_0x4e3a31(_0x2a16af,_0x31eeb0):_0x2a16af,_0x4f2dd6=_0x3a47fa['length']-0x1,_0xe798a3;_0x4f2dd6>=0x0;_0x4f2dd6--)(_0xe798a3=_0x3a47fa[_0x4f2dd6])&&(_0x49d5c9=(_0x209fd1?_0xe798a3(_0x2a16af,_0x31eeb0,_0x49d5c9):_0xe798a3(_0x49d5c9))||_0x49d5c9);return _0x209fd1&&_0x49d5c9&&_0x10bb3d(_0x2a16af,_0x31eeb0,_0x49d5c9),_0x49d5c9;},_0x2ecc88=(_0x2386e6,_0x270967)=>(_0x4b4855,_0x5f354c)=>_0x270967(_0x4b4855,_0x5f354c,_0x2386e6);_0x481c9f['CollaborationController']=class extends _0x24e1ed[_0x3ceef6(0x379)]{constructor(_0x3859e6,_0x1e6544,_0x129c12){const _0xcdc4e3=_0x3ceef6;super(),_0x1b84ec(this,_0xcdc4e3(0x31f),new Map()),_0x1b84ec(this,_0xcdc4e3(0xb8),new _0x5ba5b9['Subject']()),(this[_0xcdc4e3(0x376)]=_0x3859e6,this[_0xcdc4e3(0x349)]=_0x1e6544,this[_0xcdc4e3(0x198)]=_0x129c12,this[_0xcdc4e3(0x13c)]());}[_0x3ceef6(0x377)](){const _0x253d4f=_0x3ceef6;super[_0x253d4f(0x377)](),this['_entities'][_0x253d4f(0x115)](_0x937443=>_0x937443[_0x253d4f(0x377)]()),this[_0x253d4f(0x31f)][_0x253d4f(0x3a5)]();}[_0x3ceef6(0x199)](_0x39f8cc){const _0x106cd4=_0x3ceef6;var _0x3867f6;return(_0x3867f6=this[_0x106cd4(0x31f)]['get'](_0x39f8cc))!=null?_0x3867f6:null;}[_0x3ceef6(0x408)](_0x5d5e19){const _0x198477=_0x3ceef6,_0x1ca363=this[_0x198477(0x199)](_0x5d5e19);return _0x1ca363?_0x5ba5b9['of'](_0x1ca363):this['_entityInit$'][_0x198477(0x30e)](_0xb49021[_0x198477(0xd0)](_0x24f208=>_0x24f208['unitID']===_0x5d5e19));}[_0x3ceef6(0x13c)](){const _0x2c924e=_0x3ceef6;this['_univerInstanceService'][_0x2c924e(0x1e5)](_0x24e1ed[_0x2c924e(0x1dd)][_0x2c924e(0x2b3)])[_0x2c924e(0x30e)](_0x5ba5b9['takeUntil'](this[_0x2c924e(0x318)]),_0xb49021['delay'](0x10))[_0x2c924e(0x1b0)](async _0x5d3fef=>{const _0x250119=_0x2c924e,_0x2d3cb1=_0x5d3fef[_0x250119(0x398)](),_0x3b116b=await this[_0x250119(0x274)](_0x2d3cb1,_0x1a91ec[_0x250119(0x2b3)]);this['_entities'][_0x250119(0xe7)](_0x2d3cb1,_0x3b116b);}),this[_0x2c924e(0x198)][_0x2c924e(0x1e5)](_0x24e1ed['UniverInstanceType'][_0x2c924e(0x192)])['pipe'](_0x5ba5b9[_0x2c924e(0x2c3)](this[_0x2c924e(0x318)]),_0xb49021[_0x2c924e(0x3de)](0x10))[_0x2c924e(0x30e)](_0xb49021['filter'](_0x1e31f2=>!_0x1e31f2[_0x2c924e(0x398)]()['startsWith']('__')))[_0x2c924e(0x1b0)](async _0x1dd168=>{const _0x304eef=_0x2c924e,_0x4b69b7=_0x1dd168[_0x304eef(0x398)](),_0x5d6361=await this['_startCollaboration'](_0x4b69b7,_0x1a91ec[_0x304eef(0x192)]);this[_0x304eef(0x31f)][_0x304eef(0xe7)](_0x4b69b7,_0x5d6361);}),_0x5ba5b9[_0x2c924e(0x36f)](this[_0x2c924e(0x198)][_0x2c924e(0x1fd)](_0x24e1ed[_0x2c924e(0x1dd)][_0x2c924e(0x2b3)]),this[_0x2c924e(0x198)][_0x2c924e(0x1fd)](_0x24e1ed['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x5ba5b9[_0x2c924e(0x2c3)](this['dispose$']))[_0x2c924e(0x1b0)](_0x4074e6=>{const _0x2e8e00=_0x2c924e,_0x332131=_0x4074e6['getUnitId'](),_0x3b85c1=this[_0x2e8e00(0x31f)][_0x2e8e00(0x414)](_0x332131);_0x3b85c1&&(_0x3b85c1[_0x2e8e00(0x377)](),this['_entities'][_0x2e8e00(0x15d)](_0x332131));});}async[_0x3ceef6(0x274)](_0x504a88,_0x34565e){const _0x4cb719=_0x3ceef6,_0x243819=await this['_collabSessionService'][_0x4cb719(0x1b9)](_0x504a88),_0x57beff=this['_injector'][_0x4cb719(0x1c4)](this['_getCtorByUniverType'](_0x34565e),_0x504a88,_0x34565e,_0x243819);return await _0x57beff[_0x4cb719(0x143)](),this[_0x4cb719(0xb8)][_0x4cb719(0x48b)](_0x57beff),_0x57beff;}['_getCtorByUniverType'](_0x38d3da){const _0x5b0408=_0x3ceef6;switch(_0x38d3da){case _0x1a91ec[_0x5b0408(0x192)]:return _0x510f00;case _0x1a91ec[_0x5b0408(0x2b3)]:return _0x481c9f['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x38d3da);}}},_0x481c9f[_0x3ceef6(0x3b2)]=_0x37a4eb([_0x24e1ed[_0x3ceef6(0x25e)](_0x24e1ed[_0x3ceef6(0xf7)][_0x3ceef6(0x1a3)],_0x481c9f['CollaborationController']),_0x2ecc88(0x0,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed['Injector'])),_0x2ecc88(0x1,_0x24e1ed['Inject'](_0x481c9f[_0x3ceef6(0x2e6)])),_0x2ecc88(0x2,_0x24e1ed[_0x3ceef6(0x36c)])],_0x481c9f[_0x3ceef6(0x3b2)]);let _0x4320d8=class extends _0x24e1ed[_0x3ceef6(0x379)]{constructor(_0x5352b7,_0x50121c,_0x5aaa34,_0x2d32a2,_0x14c92e,_0x51362a,_0x52ce67,_0x237896,_0x20953e,_0x27650d,_0x3c37db,_0x3c9b7a,_0x34e8e3){const _0x5ecca5=_0x3ceef6;super(),_0x1b84ec(this,_0x5ecca5(0x39a),new _0x5ba5b9[(_0x5ecca5(0x43c))](null)),_0x1b84ec(this,_0x5ecca5(0x451),this['_state$'][_0x5ecca5(0x2ce)]()),_0x1b84ec(this,_0x5ecca5(0x32f)),_0x1b84ec(this,_0x5ecca5(0x2c8),!0x1),_0x1b84ec(this,_0x5ecca5(0x17f),this[_0x5ecca5(0x451)][_0x5ecca5(0x30e)](_0xb49021['map'](_0x507ec6=>_0x507ec6?_0x507ec6[_0x5ecca5(0x355)]:_0x5a1c45[_0x5ecca5(0x27c)]),_0xb49021['shareReplay'](0x1))),_0x1b84ec(this,'_transitionLocked',!0x1),_0x1b84ec(this,_0x5ecca5(0x3f0),[]),(this[_0x5ecca5(0x208)]=_0x5352b7,this[_0x5ecca5(0x3df)]=_0x50121c,this['_session']=_0x5aaa34,this[_0x5ecca5(0x376)]=_0x2d32a2,this[_0x5ecca5(0x140)]=_0x14c92e,this['_compressMutationService']=_0x51362a,this[_0x5ecca5(0x109)]=_0x52ce67,this[_0x5ecca5(0x181)]=_0x237896,this[_0x5ecca5(0x256)]=_0x20953e,this[_0x5ecca5(0x285)]=_0x27650d,this['_messageService']=_0x3c37db,this[_0x5ecca5(0x4a2)]=_0x3c9b7a,this[_0x5ecca5(0x138)]=_0x34e8e3);}get['state'](){const _0x1c4478=_0x3ceef6;return this[_0x1c4478(0x32f)];}async['init'](){const _0x473559=_0x3ceef6;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x473559(0x13c)]();}[_0x3ceef6(0x234)](){const _0x35e283=_0x3ceef6;return this['_collaborationPaused']=!0x0,_0x24e1ed[_0x35e283(0x18f)](()=>{const _0x6085b6=_0x35e283;this[_0x6085b6(0x2c8)]=!0x1,this[_0x6085b6(0x305)]();});}['_updateState'](_0x860f20){const _0x5e635f=_0x3ceef6;this['_state']=_0x860f20,this[_0x5e635f(0x39a)]['next'](_0x860f20);}async[_0x3ceef6(0x13c)](){const _0x428126=_0x3ceef6;var _0x4981a0;return this[_0x428126(0x1de)](await this[_0x428126(0x111)]()),this[_0x428126(0x138)]&&((_0x4981a0=this['_singleActiveUnitService'])==null||_0x4981a0[_0x428126(0x1e7)](this[_0x428126(0x208)]),this[_0x428126(0x184)](_0x24e1ed[_0x428126(0x18f)](this[_0x428126(0x138)][_0x428126(0x334)](this[_0x428126(0x208)])['subscribe'](_0x15a69b=>{const _0x42002b=_0x428126;this[_0x42002b(0x256)][_0x42002b(0x1f3)](_0x42002b(0x3e4),_0x42002b(0x200),_0x15a69b),_0x15a69b===_0x46ede2[_0x42002b(0x2a8)]?(this[_0x42002b(0x2f6)][_0x42002b(0x38a)]({'content':this[_0x42002b(0x109)]['t'](_0x42002b(0x303)),'type':_0x49b15b[_0x42002b(0x1b6)][_0x42002b(0x3c9)]}),this[_0x42002b(0x4a2)][_0x42002b(0x323)](new _0x5e02d9[(_0x42002b(0x232))](this['unitID'])['id'],!0x1)):this[_0x42002b(0x4a2)][_0x42002b(0x323)](new _0x5e02d9[(_0x42002b(0x232))](this[_0x42002b(0x208)])['id'],!0x0);})))),this[_0x428126(0x184)](_0x24e1ed[_0x428126(0x18f)](this['_session']['sessionStatus$'][_0x428126(0x1b0)](_0xcecda5=>{const _0x19dffa=_0x428126;_0xcecda5===_0x4ad0db[_0x19dffa(0x32a)]?this[_0x19dffa(0x1a8)]():_0xcecda5===_0x4ad0db['OFFLINE']&&this[_0x19dffa(0x46a)]();}))),this['disposeWithMe'](_0x24e1ed[_0x428126(0x18f)](this[_0x428126(0x385)][_0x428126(0x247)][_0x428126(0x1b0)](_0xbde74a=>{const _0x5ba32f=_0x428126;try{switch(_0xbde74a[_0x5ba32f(0x17c)]){case _0x3c4c3c[_0x5ba32f(0x3ce)]['NEW_CHANGESETS']:{this[_0x5ba32f(0x330)](_0x3c4c3c[_0x5ba32f(0x219)](_0xbde74a[_0x5ba32f(0x2e4)]));break;}case _0x3c4c3c[_0x5ba32f(0x3ce)][_0x5ba32f(0x1d5)]:{this['_onRemoteACK'](_0xbde74a[_0x5ba32f(0x2e4)]);break;}case _0x3c4c3c[_0x5ba32f(0x3ce)][_0x5ba32f(0x29f)]:{this[_0x5ba32f(0x1c5)]();break;}case _0x3c4c3c['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xbde74a['data'][_0x5ba32f(0x32b)][_0x5ba32f(0x315)](_0x283c16=>_0x3c4c3c[_0x5ba32f(0x219)](_0x283c16)));break;}case _0x3c4c3c[_0x5ba32f(0x3ce)]['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x193b80){throw console[_0x5ba32f(0x457)](_0x5ba32f(0x1b2),_0x193b80),_0x193b80;}}))),this['_state'];}[_0x3ceef6(0x402)](){this['_transitionLocked']=!0x1;}[_0x3ceef6(0x22e)](){const _0x7908ec=_0x3ceef6;if(this[_0x7908ec(0x2a5)])throw new Error(_0x7908ec(0x17a));this[_0x7908ec(0x2a5)]=!0x0;}[_0x3ceef6(0x3f5)](_0x41aa8a){const _0x3964c4=_0x3ceef6;this[_0x3964c4(0x22e)](),this[_0x3964c4(0x1de)](this['_state'][_0x3964c4(0xbf)](_0x41aa8a)),this[_0x3964c4(0x402)]();}[_0x3ceef6(0x330)](_0x2d519c){const _0x3d6280=_0x3ceef6;if(!(_0x2d519c['revision']<=this[_0x3d6280(0x181)][_0x3d6280(0x2cb)](this[_0x3d6280(0x208)]))){if(this[_0x3d6280(0x2c8)]){this[_0x3d6280(0x3f0)]['push'](_0x2d519c);return;}this[_0x3d6280(0x10f)](_0x2d519c);}}[_0x3ceef6(0x305)](){const _0x6d1e09=_0x3ceef6;this[_0x6d1e09(0x3f0)][_0x6d1e09(0x115)](_0x2bc52f=>this[_0x6d1e09(0x10f)](_0x2bc52f)),this[_0x6d1e09(0x3f0)]=[];}['_applyRemoteChangeset'](_0x75e550){const _0x479230=_0x3ceef6,_0x2b2b51=this[_0x479230(0x3ca)][_0x479230(0xf8)]['fetchThroughInterceptors'](this[_0x479230(0x3ca)]['interceptor'][_0x479230(0x2b9)]()[_0x479230(0x3d9)])(_0x75e550['mutations'],null)||_0x75e550['mutations'],_0x815ef4={..._0x75e550,'mutations':_0x2b2b51};this[_0x479230(0x22e)](),this['_updateState'](this[_0x479230(0x32f)]['onRemoteChangeset'](_0x815ef4)),this[_0x479230(0x402)]();}['_onRemoteACK'](_0x4db50f){const _0x2d25fe=_0x3ceef6;this[_0x2d25fe(0x22e)](),this[_0x2d25fe(0x1de)](this['_state'][_0x2d25fe(0x1d7)](_0x4db50f)),this[_0x2d25fe(0x402)]();}['_onRemoteRejected'](_0x38d8e8){const _0x23be2c=_0x3ceef6;this[_0x23be2c(0x22e)](),this['_updateState'](this[_0x23be2c(0x32f)]['onRemoteRej'](_0x38d8e8)),this[_0x23be2c(0x402)]();}[_0x3ceef6(0x478)](_0x3668a2){const _0x98fa2=_0x3ceef6;if(!(this[_0x98fa2(0x32f)]instanceof _0x4841b6))throw new TypeError(_0x98fa2(0x104));const _0x199be6=_0x3668a2[_0x98fa2(0x315)](_0x1b7fce=>{const _0x9c07a=_0x98fa2,_0x1ed452=this[_0x9c07a(0x3ca)][_0x9c07a(0xf8)][_0x9c07a(0xf0)](this[_0x9c07a(0x3ca)][_0x9c07a(0xf8)]['getInterceptPoints']()[_0x9c07a(0x3d9)])(_0x1b7fce[_0x9c07a(0x34a)],null)||_0x1b7fce[_0x9c07a(0x34a)];return{..._0x1b7fce,'mutations':_0x1ed452};});this[_0x98fa2(0x22e)](),this[_0x98fa2(0x1de)](this[_0x98fa2(0x32f)][_0x98fa2(0xfc)](_0x199be6)),this[_0x98fa2(0x402)]();}[_0x3ceef6(0x46a)](){const _0x6183e0=_0x3ceef6;this[_0x6183e0(0x22e)](),this[_0x6183e0(0x1de)](this[_0x6183e0(0x32f)][_0x6183e0(0xef)]()),this['_unlockTransition']();}[_0x3ceef6(0x1a8)](){const _0x1e64ab=_0x3ceef6;this[_0x1e64ab(0x22e)](),this['_updateState'](this['_state'][_0x1e64ab(0x486)]()),this['_unlockTransition']();}async[_0x3ceef6(0x111)](){return new Promise(_0x95e16f=>{const _0x3180cc=_0x5b63;this[_0x3180cc(0x385)][_0x3180cc(0x40a)][_0x3180cc(0x30e)](_0xb49021[_0x3180cc(0xde)](0x1))[_0x3180cc(0x1b0)](async _0x337a5d=>{const _0x3adc59=_0x3180cc;_0x95e16f(await this['_createInitialStateImpl'](_0x337a5d===_0x4ad0db[_0x3adc59(0x32a)]));});});}[_0x3ceef6(0x264)](){const _0x3bb491=_0x3ceef6,_0x53ce99=this[_0x3bb491(0x208)];return{'onStateChange':(_0x59fa34,_0x530718)=>{const _0x5cbb50=_0x3bb491;if(_0x59fa34!==this['_state'])throw new Error(_0x5cbb50(0xf3)+_0x59fa34[_0x5cbb50(0x355)]+'\x0aAfter:\x20'+_0x530718['status']+_0x5cbb50(0x113)+this[_0x5cbb50(0x32f)]['status']);this[_0x5cbb50(0x1de)](_0x530718);},'onSendChangeset':_0x24e3eb=>{const _0x5d4cd6=_0x3bb491,_0x1d51aa={'eventID':_0x3c4c3c['CollaborationEvent'][_0x5d4cd6(0x426)],'data':{'unitID':_0x24e3eb[_0x5d4cd6(0x208)],'unitType':this[_0x5d4cd6(0x3df)],'changeset':_0x24e3eb,'memberID':this['_session'][_0x5d4cd6(0x3e9)]()}};this[_0x5d4cd6(0x385)]['send'](_0x1d51aa,this[_0x5d4cd6(0x208)]);},'onMissingChangesets':({from:_0xba5956,to:_0x3812dd})=>{const _0x6200c5=_0x3bb491;this[_0x6200c5(0x256)][_0x6200c5(0x1f3)](_0x6200c5(0x3e4),_0x6200c5(0x26c)+_0xba5956+_0x6200c5(0x2be)+_0x3812dd);const _0x2469a9={'eventID':_0x3c4c3c['CollaborationEvent'][_0x6200c5(0x205)],'data':{'unitID':_0x53ce99,'unitType':this[_0x6200c5(0x3df)],'from':_0xba5956,'to':_0x3812dd}};this['_session'][_0x6200c5(0x42c)](_0x2469a9,this[_0x6200c5(0x208)]);}};}async[_0x3ceef6(0x391)](_0x183929){const _0x241796=_0x3ceef6;var _0x3cd787,_0x447b91;const _0x381493=await this[_0x241796(0x140)]['loadOfflineData'](this[_0x241796(0x208)]),_0x2e8b9e=(_0x3cd787=_0x381493==null?void 0x0:_0x381493[_0x241796(0x34a)])!=null?_0x3cd787:[],_0x26b5f5=(_0x447b91=_0x381493==null?void 0x0:_0x381493['awaitingChangeset'])!=null?_0x447b91:null,_0x4126aa=this[_0x241796(0x208)];try{this[_0x241796(0x373)](_0x26b5f5,_0x2e8b9e);}catch(_0x1bfa0f){this['_logService'][_0x241796(0x457)](_0x1bfa0f);}const _0x3ee20e=this['_createHandler']();if(_0x183929){const _0x45d9d9=_0x83489(this[_0x241796(0x376)],_0x4126aa,this[_0x241796(0x3df)],_0x26b5f5,_0x2e8b9e,_0x3ee20e);return _0x45d9d9 instanceof _0x3e48b5?_0x45d9d9[_0x241796(0x39b)]():(_0x45d9d9 instanceof _0xde0597||_0x45d9d9 instanceof _0x3dff93)&&_0x45d9d9['resend'](),_0x45d9d9;}return this[_0x241796(0x376)][_0x241796(0x1c4)](_0x29cdda,_0x4126aa,this[_0x241796(0x3df)],_0x26b5f5,_0x2e8b9e,_0x3ee20e);}[_0x3ceef6(0x373)](_0x49e71c,_0x2ca376){const _0x20d8be=_0x3ceef6;var _0x35ffdb,_0x2c74d2;const _0x492375=this[_0x20d8be(0x3ca)]['interceptor'][_0x20d8be(0xf0)](this[_0x20d8be(0x3ca)][_0x20d8be(0xf8)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x35ffdb=_0x492375((_0x49e71c==null?void 0x0:_0x49e71c[_0x20d8be(0x34a)])||[],null))==null||_0x35ffdb[_0x20d8be(0x115)](_0x279fdd=>this[_0x20d8be(0x285)][_0x20d8be(0x2ef)](_0x279fdd['id'],_0x279fdd[_0x20d8be(0xbe)])),(_0x2c74d2=_0x492375(_0x2ca376||[],null))==null||_0x2c74d2[_0x20d8be(0x115)](_0x369ef=>this[_0x20d8be(0x285)][_0x20d8be(0x2ef)](_0x369ef['id'],_0x369ef[_0x20d8be(0xbe)]));}};_0x4320d8=_0x37a4eb([_0x2ecc88(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x2ecc88(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x271)])),_0x2ecc88(0x5,_0x24e1ed['Inject'](_0x3c4c3c[_0x3ceef6(0x295)])),_0x2ecc88(0x6,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x31c)])),_0x2ecc88(0x7,_0x24e1ed['Inject'](_0x3c4c3c['RevisionService'])),_0x2ecc88(0x8,_0x24e1ed[_0x3ceef6(0x250)]),_0x2ecc88(0x9,_0x24e1ed['ICommandService']),_0x2ecc88(0xa,_0x279279[_0x3ceef6(0x3a7)]),_0x2ecc88(0xb,_0x24e1ed[_0x3ceef6(0x16f)]),_0x2ecc88(0xc,_0x24e1ed[_0x3ceef6(0xcf)](_0x45c59f))],_0x4320d8);let _0x510f00=class extends _0x4320d8{constructor(_0x22f3e,_0x2d122f,_0x4d32bb,_0xe5cb12,_0x1f263f,_0x2f9b12,_0x16b5de,_0x5db9dd,_0x1084de,_0x9e9518,_0x390cb3,_0x4547fb,_0x278458,_0x145a83,_0x2e5871,_0x11e557,_0x2826a5){const _0x46777c=_0x3ceef6;super(_0x22f3e,_0x2d122f,_0x4d32bb,_0xe5cb12,_0x1f263f,_0x2f9b12,_0x16b5de,_0x5db9dd,_0x278458,_0x145a83,_0x2e5871,_0x11e557,_0x2826a5),this['unitID']=_0x22f3e,this[_0x46777c(0x223)]=_0x2d122f,this[_0x46777c(0x41b)]=_0x4d32bb,this['_docStateChangeManagerService']=_0x1084de,this[_0x46777c(0x483)]=_0x9e9518,this[_0x46777c(0x40b)]=_0x390cb3,this[_0x46777c(0x3fe)]=_0x4547fb;}['_createHandler'](){const _0x1cdde7=_0x3ceef6,_0x1343f6=super[_0x1cdde7(0x264)]();return _0x1343f6[_0x1cdde7(0x193)]=_0x282368=>this[_0x1cdde7(0x483)]['transformIMECache'](_0x282368),_0x1343f6[_0x1cdde7(0xb7)]=_0x25294a=>this['_docTransformSelectionsService'][_0x1cdde7(0x238)](_0x25294a),_0x1343f6[_0x1cdde7(0x209)]=_0x5c2e1d=>this[_0x1cdde7(0x3fe)][_0x1cdde7(0xf5)](_0x5c2e1d),_0x1343f6[_0x1cdde7(0x3a3)]=_0xa8e66e=>this['_docTransformIMECacheService'][_0x1cdde7(0x311)](_0xa8e66e),_0x1343f6;}async[_0x3ceef6(0x13c)](){const _0x33581e=_0x3ceef6,_0x31ec71=await super[_0x33581e(0x13c)]();return this[_0x33581e(0x184)](this['_commandService']['onCommandExecuted']((_0x2108ba,_0xfd58e4)=>{const _0x4b57f9=_0x33581e;if(_0x2108ba[_0x4b57f9(0x223)]!==_0x24e1ed['CommandType'][_0x4b57f9(0x38e)]||_0xfd58e4!=null&&_0xfd58e4['fromCollab']||_0xfd58e4!=null&&_0xfd58e4[_0x4b57f9(0x48d)])return;const _0x3dc60b=_0x2108ba[_0x4b57f9(0xbe)];if((_0x3dc60b==null?void 0x0:_0x3dc60b[_0x4b57f9(0x167)])!==this[_0x4b57f9(0x208)])return;let _0x5be4fe=_0x2108ba;if(_0x5be4fe['id']===_0x2c946a[_0x4b57f9(0x3f8)]['id']){const _0x117dc4=_0x5be4fe['params'];_0x5be4fe={'id':_0x2c946a[_0x4b57f9(0x3f8)]['id'],'type':_0x24e1ed[_0x4b57f9(0x24a)][_0x4b57f9(0x38e)],'params':{'unitId':_0x117dc4[_0x4b57f9(0x167)],'actions':_0x117dc4[_0x4b57f9(0x1d0)],'textRanges':null}};}const _0x229508=this[_0x4b57f9(0x3ca)]['interceptor'][_0x4b57f9(0xf0)](this[_0x4b57f9(0x3ca)][_0x4b57f9(0xf8)][_0x4b57f9(0x2b9)]()[_0x4b57f9(0x2f3)])([_0x5be4fe],null)||[_0x5be4fe];this[_0x4b57f9(0x3f5)](_0x229508[0x0]);})),_0x31ec71;}};_0x510f00=_0x37a4eb([_0x2ecc88(0x3,_0x24e1ed['Inject'](_0x24e1ed[_0x3ceef6(0x405)])),_0x2ecc88(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x271)])),_0x2ecc88(0x5,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c[_0x3ceef6(0x295)])),_0x2ecc88(0x6,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x31c)])),_0x2ecc88(0x7,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c[_0x3ceef6(0x3dd)])),_0x2ecc88(0x8,_0x24e1ed[_0x3ceef6(0x48f)](_0x2c946a[_0x3ceef6(0x15e)])),_0x2ecc88(0x9,_0x24e1ed[_0x3ceef6(0x48f)](_0x2884fa)),_0x2ecc88(0xa,_0x24e1ed[_0x3ceef6(0x48f)](_0x72a7c8)),_0x2ecc88(0xb,_0x24e1ed[_0x3ceef6(0x48f)](_0x5a4f60)),_0x2ecc88(0xc,_0x24e1ed['ILogService']),_0x2ecc88(0xd,_0x24e1ed[_0x3ceef6(0x28e)]),_0x2ecc88(0xe,_0x279279['IMessageService']),_0x2ecc88(0xf,_0x24e1ed[_0x3ceef6(0x16f)]),_0x2ecc88(0x10,_0x24e1ed['Optional'](_0x45c59f))],_0x510f00),_0x481c9f[_0x3ceef6(0x41e)]=class extends _0x4320d8{constructor(_0x2438a3,_0x56c32b,_0x51b1ab,_0x3fbfdc,_0x550fd5,_0x2776fd,_0x503aba,_0x4fe751,_0x16debd,_0x95b8d1,_0x2f038d,_0x91f052,_0x4253fd,_0x5e7618){const _0x407e45=_0x3ceef6;super(_0x2438a3,_0x56c32b,_0x51b1ab,_0x3fbfdc,_0x550fd5,_0x2776fd,_0x503aba,_0x4fe751,_0x95b8d1,_0x2f038d,_0x91f052,_0x4253fd,_0x5e7618),this[_0x407e45(0x208)]=_0x2438a3,this['type']=_0x56c32b,this[_0x407e45(0x41b)]=_0x51b1ab,this[_0x407e45(0x38b)]=_0x16debd;}[_0x3ceef6(0x264)](){const _0x5b25e7=_0x3ceef6,_0x1a1c2c=super[_0x5b25e7(0x264)]();return _0x1a1c2c[_0x5b25e7(0xb7)]=_0xf0075e=>this[_0x5b25e7(0x38b)][_0x5b25e7(0x238)](_0xf0075e),_0x1a1c2c;}async['_init'](){const _0xa2cab4=_0x3ceef6,_0xa53f4b=await super[_0xa2cab4(0x13c)]();return this['disposeWithMe'](this[_0xa2cab4(0x285)][_0xa2cab4(0xb9)]((_0x2147d5,_0x194b8a)=>{const _0x15bfde=_0xa2cab4;if(_0x2147d5[_0x15bfde(0x223)]!==_0x24e1ed[_0x15bfde(0x24a)]['MUTATION']||_0x194b8a!=null&&_0x194b8a[_0x15bfde(0xed)]||_0x194b8a!=null&&_0x194b8a[_0x15bfde(0x48d)])return;const _0x366616=_0x2147d5[_0x15bfde(0xbe)];if((_0x366616==null?void 0x0:_0x366616[_0x15bfde(0x167)])!==this[_0x15bfde(0x208)])return;const _0x4a7c44=_0x2147d5,_0x35d803=this[_0x15bfde(0x3ca)][_0x15bfde(0xf8)]['fetchThroughInterceptors'](this[_0x15bfde(0x3ca)]['interceptor'][_0x15bfde(0x2b9)]()[_0x15bfde(0x2f3)])([_0x4a7c44],null)||[_0x4a7c44];this[_0x15bfde(0x3f5)](_0x35d803[0x0]);})),_0xa53f4b;}},_0x481c9f[_0x3ceef6(0x41e)]=_0x37a4eb([_0x2ecc88(0x3,_0x24e1ed['Inject'](_0x24e1ed['Injector'])),_0x2ecc88(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x271)])),_0x2ecc88(0x5,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c[_0x3ceef6(0x295)])),_0x2ecc88(0x6,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x31c)])),_0x2ecc88(0x7,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c[_0x3ceef6(0x3dd)])),_0x2ecc88(0x8,_0x24e1ed['Inject'](_0x1170ae)),_0x2ecc88(0x9,_0x24e1ed[_0x3ceef6(0x250)]),_0x2ecc88(0xa,_0x24e1ed['ICommandService']),_0x2ecc88(0xb,_0x279279[_0x3ceef6(0x3a7)]),_0x2ecc88(0xc,_0x24e1ed['IPermissionService']),_0x2ecc88(0xd,_0x24e1ed[_0x3ceef6(0xcf)](_0x45c59f))],_0x481c9f[_0x3ceef6(0x41e)]);const _0x4ebfed=[_0x3ceef6(0x2fb),_0x3ceef6(0x228),'verdancy600',_0x3ceef6(0x2a1),_0x3ceef6(0x300),_0x3ceef6(0x296)];class _0x43bf67 extends _0x24e1ed[_0x3ceef6(0x26d)]{constructor(){const _0x5987e9=_0x3ceef6;super(...arguments),_0x1b84ec(this,_0x5987e9(0x229),new Map()),_0x1b84ec(this,'_colorIndex',0x0);}[_0x3ceef6(0x460)](_0x31b72f){const _0x59c9dc=_0x3ceef6;if(this[_0x59c9dc(0x229)][_0x59c9dc(0x245)](_0x31b72f))return this['_assignedColors'][_0x59c9dc(0x414)](_0x31b72f);const _0x1b8b9e=_0x4ebfed[this[_0x59c9dc(0x3c6)]];return this[_0x59c9dc(0x3c6)]=(this[_0x59c9dc(0x3c6)]+0x1)%_0x4ebfed[_0x59c9dc(0x346)],this[_0x59c9dc(0x229)][_0x59c9dc(0xe7)](_0x31b72f,_0x1b8b9e),_0x1b8b9e;}}var _0x19c1fd=Object[_0x3ceef6(0x2d1)],_0xa9f50b=Object[_0x3ceef6(0x3fa)],_0x3ac02c=(_0x201fab,_0xbca201,_0x3683d7,_0x697e13)=>{const _0xcaf81b=_0x3ceef6;for(var _0x2de483=_0x697e13>0x1?void 0x0:_0x697e13?_0xa9f50b(_0xbca201,_0x3683d7):_0xbca201,_0x4bd8be=_0x201fab[_0xcaf81b(0x346)]-0x1,_0x52786c;_0x4bd8be>=0x0;_0x4bd8be--)(_0x52786c=_0x201fab[_0x4bd8be])&&(_0x2de483=(_0x697e13?_0x52786c(_0xbca201,_0x3683d7,_0x2de483):_0x52786c(_0x2de483))||_0x2de483);return _0x697e13&&_0x2de483&&_0x19c1fd(_0xbca201,_0x3683d7,_0x2de483),_0x2de483;},_0x3fa56d=(_0x17ed6e,_0x4feda2)=>(_0x229d94,_0x174c5b)=>_0x4feda2(_0x229d94,_0x174c5b,_0x17ed6e);const _0x1a3c3c=0x12c,_0x56acd7=0x64,_0x11348f=()=>{let _0x1a7b99=[],_0x3d47ec=!0x1;return _0x491f6b=>{_0x1a7b99['push'](_0x491f6b),_0x3d47ec||(_0x3d47ec=!0x0,setTimeout(()=>{const _0x443a8d=_0x5b63;_0x1a7b99[_0x443a8d(0x115)](_0x5872ce=>_0x5872ce()),_0x1a7b99=[],_0x3d47ec=!0x1;}));};};let _0x1de4ab=class extends _0x24e1ed['RxDisposable']{constructor(_0x37aff4,_0x3ba7cd,_0x316c99,_0x24ec4e,_0x32499b,_0x166706,_0x4b464f,_0x1263c2){const _0x12a1f9=_0x3ceef6;super(),_0x1b84ec(this,'_online',!0x1),_0x1b84ec(this,'_init',!0x1),_0x1b84ec(this,_0x12a1f9(0x1c9),new _0x5ba5b9['BehaviorSubject'](new Map())),_0x1b84ec(this,_0x12a1f9(0x374),this[_0x12a1f9(0x1c9)][_0x12a1f9(0x2ce)]()),_0x1b84ec(this,_0x12a1f9(0x1c6),new _0x5ba5b9['BehaviorSubject']([])),_0x1b84ec(this,_0x12a1f9(0x44e),this[_0x12a1f9(0x1c6)]['pipe'](_0x5ba5b9['debounceTime'](_0x1a3c3c))),_0x1b84ec(this,_0x12a1f9(0x230),_0x5156bc((_0x3e7d85,_0x3ead9e)=>{const _0xa413d4=_0x12a1f9,_0x309a7b={'eventID':_0x3c4c3c['CollaborationEvent'][_0xa413d4(0x362)],'data':{'unitID':this[_0xa413d4(0x208)],'memberID':this['_session']['getMemberID'](),'selection':_0x47c5bb[_0xa413d4(0x29a)](_0x3e7d85,_0x3ead9e['range'])}};this['_session'][_0xa413d4(0x42c)](_0x309a7b,this[_0xa413d4(0x208)]);},_0x56acd7)),(this['unitID']=_0x37aff4,this[_0x12a1f9(0x385)]=_0x3ba7cd,this[_0x12a1f9(0x376)]=_0x316c99,this[_0x12a1f9(0xc6)]=_0x24ec4e,this[_0x12a1f9(0x1e0)]=_0x32499b,this[_0x12a1f9(0x198)]=_0x166706,this[_0x12a1f9(0x285)]=_0x4b464f,this[_0x12a1f9(0x2dc)]=_0x1263c2);}get[_0x3ceef6(0x2ea)](){const _0xe66546=_0x3ceef6;return this[_0xe66546(0x1c9)][_0xe66546(0x151)]();}get['roomMembers'](){const _0x3a51ab=_0x3ceef6;return this[_0x3a51ab(0x1c6)][_0x3a51ab(0x151)]();}[_0x3ceef6(0x377)](){const _0x1fd70c=_0x3ceef6;super[_0x1fd70c(0x377)](),this['_cursorInfo$'][_0x1fd70c(0x48b)](new Map()),this[_0x1fd70c(0x1c9)][_0x1fd70c(0x22c)](),this[_0x1fd70c(0x1c6)][_0x1fd70c(0x48b)]([]),this[_0x1fd70c(0x1c6)][_0x1fd70c(0x22c)]();}[_0x3ceef6(0x143)](){const _0x4c9eff=_0x3ceef6;this[_0x4c9eff(0x13c)]||(this['_init']=!0x0,this[_0x4c9eff(0x385)]['sessionStatus$'][_0x4c9eff(0x30e)](_0x5ba5b9[_0x4c9eff(0x2c3)](this[_0x4c9eff(0x318)]))[_0x4c9eff(0x1b0)](_0x2c9bd3=>{const _0x566aa2=_0x4c9eff;_0x2c9bd3===_0x4ad0db[_0x566aa2(0x32a)]?this[_0x566aa2(0x1a8)]():this[_0x566aa2(0x46a)]();}),this[_0x4c9eff(0x385)][_0x4c9eff(0x247)][_0x4c9eff(0x30e)](_0x5ba5b9['takeUntil'](this['dispose$']))[_0x4c9eff(0x1b0)](_0x2ffb06=>{const _0x4b54ba=_0x4c9eff,_0x18b0eb=_0x2ffb06[_0x4b54ba(0x17c)];_0x18b0eb===_0x3c4c3c[_0x4b54ba(0x3ce)][_0x4b54ba(0x362)]&&this[_0x4b54ba(0x3e2)](_0x2ffb06),_0x18b0eb===_0x3c4c3c['CollaborationEvent'][_0x4b54ba(0x45b)]&&this[_0x4b54ba(0x213)](_0x2ffb06);}),this['_onRefRangeChange'](),this[_0x4c9eff(0x184)](this[_0x4c9eff(0x285)][_0x4c9eff(0xb9)](_0xce6b16=>{const _0x32e97a=_0x4c9eff;if(this['_online']&&_0xce6b16['id']===_0x5e02d9[_0x32e97a(0x221)]['id']&&_0xce6b16[_0x32e97a(0xbe)][_0x32e97a(0x167)]===this[_0x32e97a(0x208)]){const _0x514823=_0xce6b16[_0x32e97a(0xbe)];this[_0x32e97a(0x230)](_0x514823[_0x32e97a(0x3cb)],_0x514823[_0x32e97a(0x170)][0x0]);}})));}['_onCursorUpdate'](_0x5a9b74){const _0x55f886=_0x3ceef6;var _0x3e1df9,_0x24b662;const {memberID:_0x45990f,selection:_0x3c766a}=_0x5a9b74[_0x55f886(0x2e4)],{sheetName:_0x642a34,range:_0x42d366}=_0x47c5bb[_0x55f886(0x39f)](_0x3c766a),_0x2ac2e0={'name':(_0x24b662=(_0x3e1df9=this[_0x55f886(0x1e0)]['getMember'](this[_0x55f886(0x208)],_0x45990f))==null?void 0x0:_0x3e1df9[_0x55f886(0x329)])!=null?_0x24b662:_0x55f886(0x13a),'range':this[_0x55f886(0x35a)](_0x642a34,_0x42d366),'sheetID':_0x642a34,'color':this[_0x55f886(0xc6)][_0x55f886(0x460)](_0x45990f),'selection':_0x3c766a},_0x401b32=this['cursorInfo'];_0x401b32[_0x55f886(0xe7)](_0x45990f,_0x2ac2e0),this[_0x55f886(0x1c9)]['next'](_0x401b32);}[_0x3ceef6(0x213)](_0x329a33){const _0x139a1d=_0x3ceef6,{memberID:_0x5c677d}=_0x329a33[_0x139a1d(0x2e4)],_0x4582ba=this[_0x139a1d(0x2ea)];_0x4582ba[_0x139a1d(0x15d)](_0x5c677d),this['_cursorInfo$'][_0x139a1d(0x48b)](_0x4582ba);}[_0x3ceef6(0x35a)](_0xbae57f,_0x390c41){const _0x15b58b=_0x3ceef6;var _0x31e904,_0x24299e;const _0x422d6d=(_0x24299e=(_0x31e904=this[_0x15b58b(0x198)][_0x15b58b(0x14d)](this[_0x15b58b(0x208)]))==null?void 0x0:_0x31e904[_0x15b58b(0xba)](_0xbae57f))==null?void 0x0:_0x24299e[_0x15b58b(0x3d4)]();return(_0x422d6d==null?void 0x0:_0x422d6d[_0x15b58b(0x336)](_0x1f9a9e=>_0x24e1ed[_0x15b58b(0x424)]['contains'](_0x1f9a9e,_0x390c41)))||_0x390c41;}[_0x3ceef6(0x195)](){const _0x10e631=_0x3ceef6,_0x537cf9=new _0x24e1ed[(_0x10e631(0x47e))](),_0x2e7446=_0x11348f(),_0x1e8586=()=>{const _0x2a2582=_0x10e631;_0x537cf9[_0x2a2582(0x377)]();const _0x12709b=(_0x427174,_0x29f058,_0xa4f984,_0x3d2940)=>{const _0x26d21e=_0x2a2582;let _0x1433b6=[];switch(_0x427174['id']){case _0x5e02d9[_0x26d21e(0x43a)]['DeleteRangeMoveLeftCommandId']:{_0x1433b6=_0x5e02d9[_0x26d21e(0x18b)](_0x427174,_0x3d2940);break;}case _0x5e02d9['EffectRefRangId'][_0x26d21e(0x341)]:{_0x1433b6=_0x5e02d9[_0x26d21e(0x2e5)](_0x427174,_0x3d2940);break;}case _0x5e02d9[_0x26d21e(0x43a)][_0x26d21e(0x2f2)]:{_0x1433b6=_0x5e02d9[_0x26d21e(0x36b)](_0x427174,_0x3d2940);break;}case _0x5e02d9[_0x26d21e(0x43a)][_0x26d21e(0x2f7)]:{_0x1433b6=_0x5e02d9[_0x26d21e(0x2f4)](_0x427174,_0x3d2940);break;}case _0x5e02d9[_0x26d21e(0x43a)][_0x26d21e(0x450)]:{_0x1433b6=_0x5e02d9['handleInsertRangeMoveRight'](_0x427174,_0x3d2940);break;}case _0x5e02d9[_0x26d21e(0x43a)][_0x26d21e(0x33d)]:{_0x1433b6=_0x5e02d9[_0x26d21e(0x2fc)](_0x427174,_0x3d2940);break;}case _0x5e02d9[_0x26d21e(0x43a)][_0x26d21e(0xf4)]:{_0x1433b6=_0x5e02d9[_0x26d21e(0x429)](_0x427174,_0x3d2940);break;}case _0x5e02d9[_0x26d21e(0x43a)][_0x26d21e(0x304)]:{_0x1433b6=_0x5e02d9[_0x26d21e(0x154)](_0x427174,_0x3d2940);break;}case _0x5e02d9[_0x26d21e(0x43a)][_0x26d21e(0x129)]:{_0x1433b6=_0x5e02d9[_0x26d21e(0x16b)](_0x427174,_0x3d2940);break;}}const _0x4643f0=_0x5e02d9[_0x26d21e(0x11a)](_0x1433b6,_0x3d2940),_0x56e21c=this[_0x26d21e(0x2ea)][_0x26d21e(0x414)](_0x29f058);if(_0x56e21c&&_0x4643f0){const _0x945bc9={..._0x56e21c,'range':_0x4643f0};this[_0x26d21e(0x2ea)][_0x26d21e(0xe7)](_0x29f058,_0x945bc9),_0x2e7446(()=>{const _0xe42495=_0x26d21e,_0x4433de=this['_refRangeService']['registerRefRange'](_0x4643f0,_0x37dbf5=>(_0x4433de['dispose'](),_0x12709b(_0x37dbf5,_0x29f058,_0xa4f984,_0x4643f0)));_0x537cf9[_0xe42495(0x46d)](_0x4433de);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2a2582(0x115)]((_0x1ebc5e,_0x550e7c)=>{const _0x709ec9=_0x2a2582,{range:_0x4ae6b1,sheetID:_0xb8f90e}=_0x1ebc5e,_0x12ed88=this[_0x709ec9(0x2dc)]['registerRefRange'](_0x4ae6b1,_0x536588=>(_0x12ed88[_0x709ec9(0x377)](),_0x12709b(_0x536588,_0x550e7c,_0xb8f90e,_0x4ae6b1)));_0x537cf9[_0x709ec9(0x46d)](_0x12ed88);});};this[_0x10e631(0x184)](_0x24e1ed['toDisposable'](this['_cursorInfo$'][_0x10e631(0x1b0)](()=>{_0x1e8586();})));}['_toggleOnline'](){const _0x2abd3b=_0x3ceef6;var _0x336974,_0x3c17f1;if(this[_0x2abd3b(0x144)]=!0x0,((_0x336974=this[_0x2abd3b(0x198)]['getFocusedUnit']())==null?void 0x0:_0x336974[_0x2abd3b(0x398)]())!==this[_0x2abd3b(0x208)])return;const _0x2a6a9b=(_0x3c17f1=this[_0x2abd3b(0x376)][_0x2abd3b(0x414)](_0x5e02d9[_0x2abd3b(0x28f)])['getCurrentSelections']())==null?void 0x0:_0x3c17f1[0x0],_0x588b60=this[_0x2abd3b(0x198)][_0x2abd3b(0x371)](_0x24e1ed[_0x2abd3b(0x1dd)][_0x2abd3b(0x2b3)])[_0x2abd3b(0x491)]();_0x2a6a9b&&_0x588b60&&this[_0x2abd3b(0x230)](_0x588b60['getSheetId'](),_0x2a6a9b);}[_0x3ceef6(0x46a)](){const _0x17aa3f=_0x3ceef6;this[_0x17aa3f(0x144)]=!0x1;}};_0x1de4ab=_0x3ac02c([_0x3fa56d(0x2,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x3fa56d(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x43bf67)),_0x3fa56d(0x4,_0x24e1ed['Inject'](_0x29dad0)),_0x3fa56d(0x5,_0x24e1ed[_0x3ceef6(0x36c)]),_0x3fa56d(0x6,_0x24e1ed[_0x3ceef6(0x28e)]),_0x3fa56d(0x7,_0x24e1ed[_0x3ceef6(0x48f)](_0x5e02d9[_0x3ceef6(0x45f)]))],_0x1de4ab);var _0x38e2b1=Object['defineProperty'],_0x3a81eb=Object[_0x3ceef6(0x3fa)],_0x26b8ec=(_0x2a2b95,_0x5a9432,_0x4eba23,_0x4d43c2)=>{const _0x7857ca=_0x3ceef6;for(var _0x1e1306=_0x4d43c2>0x1?void 0x0:_0x4d43c2?_0x3a81eb(_0x5a9432,_0x4eba23):_0x5a9432,_0x20e1ef=_0x2a2b95[_0x7857ca(0x346)]-0x1,_0x55514d;_0x20e1ef>=0x0;_0x20e1ef--)(_0x55514d=_0x2a2b95[_0x20e1ef])&&(_0x1e1306=(_0x4d43c2?_0x55514d(_0x5a9432,_0x4eba23,_0x1e1306):_0x55514d(_0x1e1306))||_0x1e1306);return _0x4d43c2&&_0x1e1306&&_0x38e2b1(_0x5a9432,_0x4eba23,_0x1e1306),_0x1e1306;},_0x49da3e=(_0x38c673,_0x22bc22)=>(_0x5027ab,_0x5b8f7a)=>_0x22bc22(_0x5027ab,_0x5b8f7a,_0x38c673);const _0x2a87ac=0x12c,_0x2052e1=0x64;let _0x201737=class extends _0x24e1ed['RxDisposable']{constructor(_0x1368d0,_0x35ebfd,_0x290258,_0x377fea,_0x18c591,_0x26ceb6,_0x486137,_0x601ba5,_0xf9ef4f){const _0x5dfbd4=_0x3ceef6;super(),_0x1b84ec(this,_0x5dfbd4(0x144),!0x1),_0x1b84ec(this,'_init',!0x1),_0x1b84ec(this,_0x5dfbd4(0x1c9),new _0x5ba5b9['BehaviorSubject'](new Map())),_0x1b84ec(this,_0x5dfbd4(0x374),this[_0x5dfbd4(0x1c9)][_0x5dfbd4(0x2ce)]()),_0x1b84ec(this,'_roomMembers$',new _0x5ba5b9['BehaviorSubject']([])),_0x1b84ec(this,_0x5dfbd4(0x44e),this[_0x5dfbd4(0x1c6)]['pipe'](_0x5ba5b9[_0x5dfbd4(0x368)](_0x2a87ac))),_0x1b84ec(this,_0x5dfbd4(0x230),_0x5156bc(_0x5e42cd=>{const _0x25cc4b=_0x5dfbd4,_0x1cb783={'eventID':_0x3c4c3c['CollaborationEvent'][_0x25cc4b(0x362)],'data':{'unitID':this[_0x25cc4b(0x208)],'memberID':this[_0x25cc4b(0x385)][_0x25cc4b(0x3e9)](),'selection':_0x574176(_0x5e42cd)}};this['_session'][_0x25cc4b(0x42c)](_0x1cb783,this['unitID']);},_0x2052e1)),(this[_0x5dfbd4(0x208)]=_0x1368d0,this[_0x5dfbd4(0x385)]=_0x35ebfd,this[_0x5dfbd4(0x376)]=_0x290258,this[_0x5dfbd4(0xc6)]=_0x377fea,this['_memberService']=_0x18c591,this['_syncEditingCollabCursorService']=_0x26ceb6,this[_0x5dfbd4(0x428)]=_0x486137,this[_0x5dfbd4(0x198)]=_0x601ba5,this[_0x5dfbd4(0x285)]=_0xf9ef4f);}get[_0x3ceef6(0x2ea)](){return this['_cursorInfo$']['getValue']();}get[_0x3ceef6(0x19f)](){const _0x51bf54=_0x3ceef6;return this['_roomMembers$'][_0x51bf54(0x151)]();}[_0x3ceef6(0x377)](){const _0x14b1c6=_0x3ceef6;super[_0x14b1c6(0x377)](),this[_0x14b1c6(0x1c9)][_0x14b1c6(0x48b)](new Map()),this[_0x14b1c6(0x1c9)][_0x14b1c6(0x22c)](),this['_roomMembers$']['next']([]),this[_0x14b1c6(0x1c6)][_0x14b1c6(0x22c)]();}['init'](){const _0x278870=_0x3ceef6;this[_0x278870(0x13c)]||(this['_init']=!0x0,this[_0x278870(0x385)][_0x278870(0x40a)][_0x278870(0x30e)](_0x5ba5b9['takeUntil'](this[_0x278870(0x318)]))[_0x278870(0x1b0)](_0x3934f3=>{const _0x16b96f=_0x278870;_0x3934f3===_0x4ad0db[_0x16b96f(0x32a)]?this[_0x16b96f(0x1a8)]():this[_0x16b96f(0x46a)]();}),this[_0x278870(0x385)][_0x278870(0x247)][_0x278870(0x30e)](_0x5ba5b9[_0x278870(0x2c3)](this[_0x278870(0x318)]))['subscribe'](_0x3dcb07=>{const _0x20d29a=_0x278870,_0x46b1cf=_0x3dcb07['eventID'];_0x46b1cf===_0x3c4c3c[_0x20d29a(0x3ce)][_0x20d29a(0x362)]&&this[_0x20d29a(0x3e2)](_0x3dcb07),_0x46b1cf===_0x3c4c3c[_0x20d29a(0x3ce)][_0x20d29a(0x45b)]&&this[_0x20d29a(0x213)](_0x3dcb07);}),this[_0x278870(0x184)](this[_0x278870(0x285)][_0x278870(0xb9)](_0x1bbb73=>{const _0x710806=_0x278870,_0x432d1a=_0x1bbb73[_0x710806(0xbe)];_0x432d1a!=null&&this[_0x710806(0x144)]&&_0x1bbb73['id']===_0x2c946a[_0x710806(0x206)]['id']&&_0x432d1a[_0x710806(0x167)]===this['unitID']&&_0x432d1a[_0x710806(0x3af)]===!0x1&&this['_updateLocalCursor'](_0x432d1a['ranges']);})),this[_0x278870(0x2ac)][_0x278870(0x188)][_0x278870(0x30e)](_0x5ba5b9['takeUntil'](this['dispose$']))[_0x278870(0x1b0)](_0x41816e=>{const _0x3ba7a6=_0x278870;if((_0x41816e==null?void 0x0:_0x41816e['unitID'])!==this[_0x3ba7a6(0x208)])return;const _0x2a384d={'eventID':_0x3c4c3c[_0x3ba7a6(0x3ce)][_0x3ba7a6(0x362)],'data':_0x41816e};this['_onCursorUpdate'](_0x2a384d);}),this[_0x278870(0x184)](this[_0x278870(0x285)][_0x278870(0xb9)](_0x42826c=>{const _0x4dab77=_0x278870;if(_0x42826c[_0x4dab77(0xbe)]==null)return;const _0x1f75a4=_0x42826c[_0x4dab77(0xbe)];if(_0x42826c['id']!==_0x2c946a[_0x4dab77(0x3f8)]['id']||_0x1f75a4[_0x4dab77(0x167)]!==this[_0x4dab77(0x208)])return;const _0x37ee85={'id':'doc.mutation.rich-text-editing','params':_0x1f75a4},_0x26aad7=this[_0x4dab77(0x2ea)];for(const [_0x472d33,_0xe91fe1]of _0x26aad7){const _0x1dccaa={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4dab77(0x208)],'actions':null,'textRanges':_0xe91fe1[_0x4dab77(0x46b)]}},_0x51e5fc=this[_0x4dab77(0x428)][_0x4dab77(0x29d)](_0x37ee85,_0x1dccaa,!0x1);if(_0x3c4c3c[_0x4dab77(0x29c)](_0x51e5fc))throw _0x51e5fc[_0x4dab77(0x457)];_0x26aad7['set'](_0x472d33,{..._0xe91fe1,'ranges':_0x51e5fc[_0x4dab77(0x49c)][_0x4dab77(0xbe)][_0x4dab77(0x410)]});}queueMicrotask(()=>{const _0x2558af=_0x4dab77;this[_0x2558af(0x1c9)]['next'](_0x26aad7);});})));}[_0x3ceef6(0x3e2)](_0x5d6b7e){const _0x2ea93e=_0x3ceef6;var _0x560aaa,_0xde19cc;const {memberID:_0x39a514,selection:_0xfe0774}=_0x5d6b7e[_0x2ea93e(0x2e4)],_0x4f5cfe=_0xd09446(_0xfe0774),_0x216a72=(_0xde19cc=(_0x560aaa=this[_0x2ea93e(0x1e0)][_0x2ea93e(0x468)](this['unitID'],_0x39a514))==null?void 0x0:_0x560aaa[_0x2ea93e(0x329)])!=null?_0xde19cc:_0x2ea93e(0x13a),_0x22b05c={'color':this[_0x2ea93e(0xc6)][_0x2ea93e(0x460)](_0x39a514),'name':_0x216a72,'ranges':_0x4f5cfe},_0x58eebb=this[_0x2ea93e(0x2ea)];_0x58eebb[_0x2ea93e(0xe7)](_0x39a514,_0x22b05c),this[_0x2ea93e(0x1c9)][_0x2ea93e(0x48b)](_0x58eebb);}[_0x3ceef6(0x213)](_0x33bae6){const _0x3a5a02=_0x3ceef6,{memberID:_0x35c213}=_0x33bae6[_0x3a5a02(0x2e4)],_0x5640f3=this[_0x3a5a02(0x2ea)];_0x5640f3['delete'](_0x35c213),this[_0x3a5a02(0x1c9)][_0x3a5a02(0x48b)](_0x5640f3);}[_0x3ceef6(0x1a8)](){const _0x46f12f=_0x3ceef6;var _0x322c67;if(this[_0x46f12f(0x144)]=!0x0,((_0x322c67=this[_0x46f12f(0x198)]['getFocusedUnit']())==null?void 0x0:_0x322c67[_0x46f12f(0x398)]())!==this[_0x46f12f(0x208)])return;const _0x425fd9=this[_0x46f12f(0x376)][_0x46f12f(0x414)](_0x2c946a[_0x46f12f(0x177)])[_0x46f12f(0x21c)](),_0x2d36a1=_0x425fd9==null?void 0x0:_0x425fd9[_0x46f12f(0x315)](_0x2c946a[_0x46f12f(0x2d9)]);Array[_0x46f12f(0xc7)](_0x2d36a1)&&_0x2d36a1[_0x46f12f(0x346)]>0x0&&this['_updateLocalCursor'](_0x2d36a1);}[_0x3ceef6(0x46a)](){this['_online']=!0x1;}};_0x201737=_0x26b8ec([_0x49da3e(0x2,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x49da3e(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x43bf67)),_0x49da3e(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x29dad0)),_0x49da3e(0x5,_0x24e1ed[_0x3ceef6(0x48f)](_0x5a4f60)),_0x49da3e(0x6,_0x3c4c3c[_0x3ceef6(0x2cd)]),_0x49da3e(0x7,_0x24e1ed['IUniverInstanceService']),_0x49da3e(0x8,_0x24e1ed['ICommandService'])],_0x201737);var _0x43c8b3=Object[_0x3ceef6(0x2d1)],_0x2879cf=Object[_0x3ceef6(0x3fa)],_0x539c77=(_0x43110b,_0x5bd05a,_0x2c0224,_0x31fe2a)=>{const _0x507c65=_0x3ceef6;for(var _0x512626=_0x31fe2a>0x1?void 0x0:_0x31fe2a?_0x2879cf(_0x5bd05a,_0x2c0224):_0x5bd05a,_0x55963c=_0x43110b[_0x507c65(0x346)]-0x1,_0x204ab9;_0x55963c>=0x0;_0x55963c--)(_0x204ab9=_0x43110b[_0x55963c])&&(_0x512626=(_0x31fe2a?_0x204ab9(_0x5bd05a,_0x2c0224,_0x512626):_0x204ab9(_0x512626))||_0x512626);return _0x31fe2a&&_0x512626&&_0x43c8b3(_0x5bd05a,_0x2c0224,_0x512626),_0x512626;},_0x14c91b=(_0x4ccc9c,_0x507018)=>(_0x27143e,_0x147363)=>_0x507018(_0x27143e,_0x147363,_0x4ccc9c);let _0x1c89c8=class extends _0x24e1ed['RxDisposable']{constructor(_0x11a4a5,_0x502813,_0x5639aa){const _0x140d0d=_0x3ceef6;super(),_0x1b84ec(this,_0x140d0d(0x31f),new Map()),_0x1b84ec(this,_0x140d0d(0xb8),new _0x5ba5b9['Subject']()),(this['_univerInstanceService']=_0x11a4a5,this[_0x140d0d(0x376)]=_0x502813,this[_0x140d0d(0x349)]=_0x5639aa,this[_0x140d0d(0x13c)]());}[_0x3ceef6(0x377)](){const _0x127891=_0x3ceef6;super['dispose'](),this[_0x127891(0xb8)][_0x127891(0x22c)](),this['_entities'][_0x127891(0x115)](_0x156c4b=>_0x156c4b[_0x127891(0x377)]());}['getCollabCursors$'](_0x38ee40){const _0x1d2648=_0x3ceef6;return this[_0x1d2648(0x31f)]['has'](_0x38ee40)?this[_0x1d2648(0x31f)][_0x1d2648(0x414)](_0x38ee40)[_0x1d2648(0x374)]:this['_entityInit$']['pipe'](_0x5ba5b9['filter'](_0x2225d6=>_0x2225d6[_0x1d2648(0x208)]===_0x38ee40),_0x5ba5b9['switchMap'](_0x4a8988=>_0x4a8988['cursorInfo$']));}[_0x3ceef6(0x13c)](){const _0x189863=_0x3ceef6;this[_0x189863(0x198)][_0x189863(0x1e5)](_0x24e1ed[_0x189863(0x1dd)][_0x189863(0x2b3)])[_0x189863(0x30e)](_0x5ba5b9[_0x189863(0x2c3)](this[_0x189863(0x318)]))[_0x189863(0x1b0)](async _0x4fedd4=>{const _0x168d55=_0x189863,_0x448f2d=_0x4fedd4[_0x168d55(0x398)](),_0x4b0990=await this[_0x168d55(0x444)](_0x448f2d);this[_0x168d55(0xb8)][_0x168d55(0x48b)](_0x4b0990),this['_entities'][_0x168d55(0xe7)](_0x448f2d,_0x4b0990);}),this[_0x189863(0x198)][_0x189863(0x1e5)](_0x24e1ed['UniverInstanceType'][_0x189863(0x192)])['pipe'](_0x5ba5b9[_0x189863(0x2c3)](this[_0x189863(0x318)]))[_0x189863(0x30e)](_0x5ba5b9[_0x189863(0xd0)](_0x23c27d=>!_0x23c27d[_0x189863(0x398)]()['startsWith']('__')))[_0x189863(0x1b0)](async _0x557633=>{const _0x134d75=_0x189863,_0x4807dd=_0x557633[_0x134d75(0x398)](),_0x11e468=await this[_0x134d75(0x3e1)](_0x4807dd);this['_entityInit$'][_0x134d75(0x48b)](_0x11e468),this[_0x134d75(0x31f)][_0x134d75(0xe7)](_0x4807dd,_0x11e468);}),_0x5ba5b9['merge'](this[_0x189863(0x198)][_0x189863(0x1fd)](_0x24e1ed[_0x189863(0x1dd)][_0x189863(0x192)]),this[_0x189863(0x198)]['getTypeOfUnitDisposed$'](_0x24e1ed[_0x189863(0x1dd)][_0x189863(0x2b3)]))[_0x189863(0x30e)](_0x5ba5b9[_0x189863(0x2c3)](this[_0x189863(0x318)]))['subscribe'](_0x30e894=>{const _0x542bc0=_0x189863,_0x49e1e7=_0x30e894['getUnitId'](),_0x2b3387=this['_entities'][_0x542bc0(0x414)](_0x49e1e7);_0x2b3387&&(_0x2b3387[_0x542bc0(0x377)](),this['_entities'][_0x542bc0(0x15d)](_0x49e1e7));});}async[_0x3ceef6(0x444)](_0x423b1f){const _0x35bc58=_0x3ceef6,_0x379b1c=await this['_collabSessionService']['requireSession'](_0x423b1f),_0x5c390f=this[_0x35bc58(0x376)][_0x35bc58(0x1c4)](_0x1de4ab,_0x423b1f,_0x379b1c);return _0x5c390f['init'](),_0x5c390f;}async[_0x3ceef6(0x3e1)](_0x1da144){const _0x33fe8c=_0x3ceef6,_0x19c316=await this[_0x33fe8c(0x349)][_0x33fe8c(0x1b9)](_0x1da144),_0x5038a4=this['_injector'][_0x33fe8c(0x1c4)](_0x201737,_0x1da144,_0x19c316);return _0x5038a4[_0x33fe8c(0x143)](),_0x5038a4;}};_0x1c89c8=_0x539c77([_0x24e1ed['OnLifecycle'](_0x24e1ed[_0x3ceef6(0xf7)][_0x3ceef6(0x1a3)],_0x1c89c8),_0x14c91b(0x0,_0x24e1ed[_0x3ceef6(0x36c)]),_0x14c91b(0x1,_0x24e1ed['Inject'](_0x24e1ed[_0x3ceef6(0x405)])),_0x14c91b(0x2,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x2e6)]))],_0x1c89c8);const _0x1b216a=0x14,_0x209c56=0xc8,_0x20eb4d=0x4,_0x1f7460=0x5;function _0x22a645(_0x43bb79,_0x492a8e){const _0x48b207=_0x3ceef6;let {radius:_0x487535,width:_0x4989c7,height:_0x4ba284}=_0x492a8e;_0x487535=_0x487535!=null?_0x487535:0x0,_0x4989c7=_0x4989c7!=null?_0x4989c7:0x1e,_0x4ba284=_0x4ba284!=null?_0x4ba284:0x1e;let _0x4528cd=0x0,_0x12c1f5=0x0,_0x2d1219=0x0;_0x4528cd=_0x12c1f5=_0x2d1219=Math[_0x48b207(0x386)](_0x487535,_0x4989c7/0x2,_0x4ba284/0x2),_0x43bb79[_0x48b207(0x3f2)](),_0x43bb79[_0x48b207(0x242)](_0x4528cd,0x0),_0x43bb79['lineTo'](_0x4989c7-_0x12c1f5,0x0),_0x43bb79[_0x48b207(0x12a)](_0x4989c7-_0x12c1f5,_0x12c1f5,_0x12c1f5,Math['PI']*0x3/0x2,0x0,!0x1),_0x43bb79[_0x48b207(0x1cd)](_0x4989c7,_0x4ba284-_0x2d1219),_0x43bb79[_0x48b207(0x12a)](_0x4989c7-_0x2d1219,_0x4ba284-_0x2d1219,_0x2d1219,0x0,Math['PI']/0x2,!0x1),_0x43bb79['lineTo'](0x0,_0x4ba284),_0x43bb79[_0x48b207(0x1cd)](0x0,_0x4528cd),_0x43bb79[_0x48b207(0x12a)](_0x4528cd,_0x4528cd,_0x4528cd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x43bb79[_0x48b207(0x22f)](),_0x492a8e[_0x48b207(0x168)]&&(_0x43bb79[_0x48b207(0xdd)](),_0x43bb79[_0x48b207(0x145)]=_0x492a8e['fill'],_0x492a8e[_0x48b207(0x42b)]==='evenodd'?_0x43bb79['fill'](_0x48b207(0x40f)):_0x43bb79['fill'](),_0x43bb79['restore']());}class _0x4ec885 extends _0x15516e['Shape']{constructor(_0x165a65,_0x1167f9){const _0x2be3fd=_0x3ceef6;super(_0x165a65,_0x1167f9),_0x1b84ec(this,_0x2be3fd(0x462)),_0x1b84ec(this,_0x2be3fd(0x30c)),(this[_0x2be3fd(0x462)]=_0x1167f9==null?void 0x0:_0x1167f9['color'],this[_0x2be3fd(0x30c)]=_0x1167f9==null?void 0x0:_0x1167f9['text']);}static['drawWith'](_0x435186,_0x3ff283){const _0x288a00=_0x3ceef6,{text:_0x5c30a9,color:_0x4bc4ac}=_0x3ff283;_0x435186['save'](),_0x435186[_0x288a00(0x338)]=_0x288a00(0x148);const _0x2d3c2f=_0x435186['measureText'](_0x5c30a9)['width'],_0xed5042=Math[_0x288a00(0x386)](_0x2d3c2f+0x2*_0x20eb4d,_0x209c56);_0x22a645(_0x435186,{'height':_0x1b216a,'radius':0x4,'width':_0xed5042,'fill':_0x4bc4ac,'evented':!0x1}),_0x435186[_0x288a00(0x145)]=_0x288a00(0x48a);const _0xb9f7c=_0x20eb4d,_0x693be7=_0x1b216a-_0x1f7460,_0x2a33a6=_0x209c56-0x2*_0x20eb4d;if(_0x2d3c2f>_0x2a33a6){let _0x53883c='',_0x22832f=0x0;for(const _0x373bfc of _0x5c30a9){const _0x122062=_0x435186[_0x288a00(0x227)](_0x373bfc)[_0x288a00(0x369)];if(_0x22832f+_0x122062<=_0x2a33a6-_0x435186['measureText'](_0x288a00(0xc8))[_0x288a00(0x369)])_0x53883c+=_0x373bfc,_0x22832f+=_0x122062;else{_0x53883c+=_0x288a00(0xc8);break;}}_0x435186['fillText'](_0x53883c,_0xb9f7c,_0x693be7);}else _0x435186[_0x288a00(0x1a5)](_0x5c30a9,_0xb9f7c,_0x693be7);_0x435186[_0x288a00(0x2ba)]();}[_0x3ceef6(0x3da)](_0x5b6529){const _0x4b5f7f=_0x3ceef6;_0x4ec885[_0x4b5f7f(0x452)](_0x5b6529,this);}}const _0x2eb63b=0x1,_0x1ffc53=1.5;class _0x9909c4 extends _0x15516e[_0x3ceef6(0x1ba)]{constructor(_0x5266fc,_0x342b3c){const _0x131755=_0x3ceef6;super(_0x5266fc,_0x342b3c),_0x1b84ec(this,'_color'),_0x1b84ec(this,_0x131755(0x397),!0x1),_0x1b84ec(this,_0x131755(0x258)),_0x1b84ec(this,'_name',''),_0x1b84ec(this,_0x131755(0x3fb),_0x131755(0x178)),_0x1b84ec(this,'_backgroundColor'),(_0x342b3c&&this[_0x131755(0x1e4)](_0x342b3c),this[_0x131755(0xb4)][_0x131755(0x211)](()=>this[_0x131755(0x1e4)]({'hovered':!0x0})),this[_0x131755(0x422)][_0x131755(0x211)](()=>this[_0x131755(0x1e4)]({'hovered':!0x1})));}[_0x3ceef6(0x1e4)](_0x645594){const _0x56eec3=_0x3ceef6;var _0x535efb,_0x103f39,_0x465321,_0x156d70,_0xdef4e1,_0x283f57;this[_0x56eec3(0x23e)]=(_0x535efb=_0x645594[_0x56eec3(0x462)])!=null?_0x535efb:this['_color'],this[_0x56eec3(0x397)]=(_0x103f39=_0x645594[_0x56eec3(0x3a2)])!=null?_0x103f39:this[_0x56eec3(0x397)],this['_range']=(_0x465321=_0x645594['range'])!=null?_0x465321:this[_0x56eec3(0x258)],this[_0x56eec3(0x20c)]=(_0x156d70=_0x645594[_0x56eec3(0x329)])!=null?_0x156d70:this[_0x56eec3(0x20c)],this[_0x56eec3(0x3fb)]=(_0xdef4e1=_0x645594['labelPosition'])!=null?_0xdef4e1:this[_0x56eec3(0x3fb)],this[_0x56eec3(0x302)]=(_0x283f57=_0x645594[_0x56eec3(0x2ee)])!=null?_0x283f57:this[_0x56eec3(0x302)],this[_0x56eec3(0x425)]({'width':_0x645594[_0x56eec3(0x369)],'height':_0x645594[_0x56eec3(0x490)]});}[_0x3ceef6(0x427)](_0x4b9104){const _0x4278f1=_0x3ceef6,{row:_0x39387f,column:_0x540cee}=_0x4b9104;if(_0x39387f>=this[_0x4278f1(0x258)]['startRow']&&_0x39387f<=this[_0x4278f1(0x258)][_0x4278f1(0x14e)]&&_0x540cee>=this[_0x4278f1(0x258)][_0x4278f1(0x35f)]&&_0x540cee<=this[_0x4278f1(0x258)]['endColumn']){this[_0x4278f1(0x1e4)]({'hovered':!0x0});return;}this[_0x4278f1(0x1e4)]({'hovered':!0x1});}['triggerDblclick'](_0x1096ff){return!0x1;}['_draw'](_0x172355){const _0x473d3b=_0x3ceef6;_0x15516e[_0x473d3b(0x306)][_0x473d3b(0x452)](_0x172355,{'width':this[_0x473d3b(0x369)],'height':this[_0x473d3b(0x490)],'strokeWidth':_0x1ffc53,'stroke':this[_0x473d3b(0x23e)],'evented':!0x1,'fill':this[_0x473d3b(0x302)]}),this[_0x473d3b(0x397)]&&(_0x172355['save'](),_0x172355[_0x473d3b(0x248)](0x1,0x0,0x0,0x1,this[_0x473d3b(0x369)],this['_labelPosition']===_0x473d3b(0x35e)?0x0:-_0x1b216a),_0x4ec885['drawWith'](_0x172355,{'text':this[_0x473d3b(0x20c)],'color':this[_0x473d3b(0x23e)]}),_0x172355[_0x473d3b(0x2ba)]());}}var _0x21c9a8=Object[_0x3ceef6(0x2d1)],_0x34a43a=Object[_0x3ceef6(0x3fa)],_0x1a230d=(_0x255150,_0x5e6447,_0x106ae1,_0x195785)=>{const _0x36a20b=_0x3ceef6;for(var _0x18b1b9=_0x195785>0x1?void 0x0:_0x195785?_0x34a43a(_0x5e6447,_0x106ae1):_0x5e6447,_0x437a1f=_0x255150[_0x36a20b(0x346)]-0x1,_0x5700d1;_0x437a1f>=0x0;_0x437a1f--)(_0x5700d1=_0x255150[_0x437a1f])&&(_0x18b1b9=(_0x195785?_0x5700d1(_0x5e6447,_0x106ae1,_0x18b1b9):_0x5700d1(_0x18b1b9))||_0x18b1b9);return _0x195785&&_0x18b1b9&&_0x21c9a8(_0x5e6447,_0x106ae1,_0x18b1b9),_0x18b1b9;},_0x420f0d=(_0x1ac312,_0x1c7e5a)=>(_0x223a70,_0x3fb4d6)=>_0x1c7e5a(_0x223a70,_0x3fb4d6,_0x1ac312);const _0xe6f330=0x1389;let _0x2998bc=class extends _0x24e1ed[_0x3ceef6(0x379)]{constructor(_0xcf97ac,_0x1452f9,_0x4f10d6,_0x19ed6a){const _0x53048f=_0x3ceef6;super(),_0x1b84ec(this,_0x53048f(0x2a9),new Set()),_0x1b84ec(this,_0x53048f(0x1ef),null),(this['_context']=_0xcf97ac,this['_sheetSkeletonManagerService']=_0x1452f9,this[_0x53048f(0x42f)]=_0x4f10d6,this['_themeService']=_0x19ed6a,this[_0x53048f(0x13c)]());}['_init'](){const _0x3a80de=_0x3ceef6;this[_0x3a80de(0x413)]['currentSkeleton$'][_0x3a80de(0x30e)](_0xb49021[_0x3a80de(0x2c3)](this[_0x3a80de(0x318)]),_0xb49021[_0x3a80de(0x360)](_0x39ce3f=>{const _0x107a60=_0x3a80de;if(_0x39ce3f){const _0x1fa05b=_0x39ce3f['sheetId'];return _0x5ba5b9[_0x107a60(0x15c)](this['_collabCursorController'][_0x107a60(0x1f8)](this['_context'][_0x107a60(0x167)]),this['_themeService'][_0x107a60(0x14f)])[_0x107a60(0x30e)](_0xb49021[_0x107a60(0x315)](([_0x3096a4,_0x4a9156])=>{const _0x21679a=_0x107a60,_0x389418=new Map();return _0x3096a4[_0x21679a(0x115)]((_0x2c55a6,_0xa1a570)=>{const _0x47430c=_0x21679a;if(_0x2c55a6[_0x47430c(0x183)]===_0x1fa05b){const _0x22d65c={..._0x2c55a6};_0x22d65c[_0x47430c(0x462)]=_0x4a9156[_0x2c55a6[_0x47430c(0x462)]],_0x389418[_0x47430c(0xe7)](_0xa1a570,_0x22d65c);}}),{'skeleton':_0x39ce3f,'cursors':_0x389418};}));}return _0x5ba5b9['of']({'skeleton':null,'cursors':new Map()});}))[_0x3a80de(0x1b0)](({skeleton:_0xc449a8,cursors:_0x26b5ef})=>{const _0x263339=_0x3a80de;this[_0x263339(0x1dc)](),_0xc449a8&&this[_0x263339(0x312)](_0xc449a8,_0x26b5ef);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3a80de(0x1b0)](_0x3650bc=>{const _0x496fbe=_0x3a80de;if(_0x3650bc==null)return;const {skeleton:_0x20e7de}=_0x3650bc,{scene:_0x1225af}=this[_0x496fbe(0x396)];_0x1225af[_0x496fbe(0x420)][_0x496fbe(0x211)](_0x5156bc(_0x5ec06f=>{const _0x5da2fd=_0x496fbe;var _0x13a07d,_0x4f7295;const {offsetX:_0x44a4b3,offsetY:_0x5a8f4d}=_0x5ec06f,{x:_0x419130,y:_0x17392b}=_0x1225af[_0x5da2fd(0x3ba)](_0x15516e['Vector2'][_0x5da2fd(0x1bd)]([_0x44a4b3,_0x5a8f4d])),{scaleX:_0x2da98e,scaleY:_0x4f83ab}=_0x1225af[_0x5da2fd(0x363)](),_0x357888=_0x1225af['getViewport'](_0x5a7986[_0x5da2fd(0x366)][_0x5da2fd(0x202)]),_0x54888d=_0x1225af[_0x5da2fd(0x308)](_0x15516e['Vector2'][_0x5da2fd(0x1bd)]([_0x419130,_0x17392b]),_0x357888),_0x3933f3=_0x20e7de[_0x5da2fd(0x33e)](_0x44a4b3,_0x5a8f4d,_0x2da98e,_0x4f83ab,_0x54888d);((_0x13a07d=this['_lastPointer'])==null?void 0x0:_0x13a07d[_0x5da2fd(0x44f)])===_0x3933f3[_0x5da2fd(0x44f)]&&((_0x4f7295=this[_0x5da2fd(0x1ef)])==null?void 0x0:_0x4f7295['row'])===_0x3933f3[_0x5da2fd(0x2eb)]||this[_0x5da2fd(0x2a9)][_0x5da2fd(0x115)](_0x19fc41=>{_0x19fc41['onMouseMove'](_0x3933f3);});},0x64));});}[_0x3ceef6(0x312)](_0x10899b,_0x3c66c5){const _0x4b99ee=_0x3ceef6;var _0x3f54e5;const _0x1d83ca=(_0x3f54e5=this[_0x4b99ee(0x413)]['getCurrent']())==null?void 0x0:_0x3f54e5[_0x4b99ee(0x3bf)];if(!_0x1d83ca)return;const _0x46512f=this[_0x4b99ee(0x2f5)]();if(!_0x46512f)return;this[_0x4b99ee(0x2a9)]['forEach'](_0x169e31=>{const _0x5b8654=_0x4b99ee;_0x169e31[_0x5b8654(0x15f)]();});const {scene:_0x3a616f}=_0x46512f,_0x95d55f=_0x5bf479(Array[_0x4b99ee(0x2bb)](_0x3c66c5['values']()))[_0x4b99ee(0x315)](_0x391ee7=>{const _0x38d5e0=_0x4b99ee,{color:_0x3b0152,range:_0x5c9f4c,name:_0x350068,selection:_0x24eae1,sheetID:_0x56a0f5}=_0x391ee7,{startColumn:_0x4a0344,startRow:_0x324c03,endColumn:_0x3f9674,endRow:_0x1ab653}=_0x5c9f4c,_0x244ff0=_0x5a7986['getCoordByCell'](_0x324c03,_0x4a0344,_0x3a616f,_0x1d83ca),_0x44e5e6=_0x5a7986[_0x38d5e0(0x194)](_0x1ab653,_0x3f9674,_0x3a616f,_0x1d83ca),{columnHeaderHeightAndMarginTop:_0x3ffceb}=_0x1d83ca,{startX:_0x9151fb,startY:_0x39457b}=_0x244ff0,{endX:_0x207e9b,endY:_0x2565f0}=_0x44e5e6,_0x2061f5=_0x207e9b-_0x9151fb,_0x1d8939=_0x2565f0-_0x39457b,_0x54adde={'labelPosition':_0x39457b-_0x3ffceb>=_0x1b216a?_0x38d5e0(0x178):_0x38d5e0(0x35e),'sheetID':_0x56a0f5,'range':_0x5c9f4c,'color':_0x3b0152,'name':_0x350068,'selection':_0x24eae1,'left':_0x9151fb,'top':_0x39457b,'width':_0x2061f5,'height':_0x1d8939,'evented':!0x1,'zIndex':_0xe6f330};return new _0x9909c4(_0x350068,_0x54adde);});_0x3a616f['addObjects'](_0x95d55f,_0x2eb63b),this[_0x4b99ee(0x2a9)]=new Set(_0x95d55f);}[_0x3ceef6(0x1dc)](){const _0x469680=_0x3ceef6;var _0x5b429f;(_0x5b429f=this[_0x469680(0x2a9)])==null||_0x5b429f[_0x469680(0x115)](_0x256502=>_0x256502[_0x469680(0x377)]());}[_0x3ceef6(0x2f5)](){const _0x495191=_0x3ceef6;return _0x5a7986[_0x495191(0x2f9)](this[_0x495191(0x396)][_0x495191(0x46c)],this[_0x495191(0x396)]);}};_0x2998bc=_0x1a230d([_0x420f0d(0x1,_0x24e1ed['Inject'](_0x5a7986[_0x3ceef6(0x317)])),_0x420f0d(0x2,_0x24e1ed[_0x3ceef6(0x48f)](_0x1c89c8)),_0x420f0d(0x3,_0x24e1ed['Inject'](_0x24e1ed[_0x3ceef6(0x327)]))],_0x2998bc);function _0x5bf479(_0x25fe73){const _0x33f0f3=_0x3ceef6,_0x506f57=new Map();return _0x25fe73[_0x33f0f3(0x115)](_0x3b13c4=>{const _0x87557a=_0x33f0f3;if(_0x506f57[_0x87557a(0x245)](_0x3b13c4[_0x87557a(0x212)])){const _0x2d8eca=_0x506f57[_0x87557a(0x414)](_0x3b13c4[_0x87557a(0x212)]);_0x2d8eca['name']+=',\x20'+_0x3b13c4['name'];}else _0x506f57[_0x87557a(0xe7)](_0x3b13c4[_0x87557a(0x212)],_0x3b13c4);}),Array['from'](_0x506f57['values']());}var _0x306acd=function(){const _0x123d36=_0x3ceef6;return _0x306acd=Object[_0x123d36(0x45c)]||function(_0x431a49){const _0x243fa2=_0x123d36;for(var _0xe569ca,_0x573ceb=0x1,_0x5ae06b=arguments[_0x243fa2(0x346)];_0x573ceb<_0x5ae06b;_0x573ceb++){_0xe569ca=arguments[_0x573ceb];for(var _0x1dc36b in _0xe569ca)Object['prototype'][_0x243fa2(0x3c3)][_0x243fa2(0x2b8)](_0xe569ca,_0x1dc36b)&&(_0x431a49[_0x1dc36b]=_0xe569ca[_0x1dc36b]);}return _0x431a49;},_0x306acd[_0x123d36(0x3b7)](this,arguments);},_0x33f642=function(_0x503ef9,_0x5eb3da){const _0x2e9320=_0x3ceef6;var _0x2e3d7e={};for(var _0x2c9282 in _0x503ef9)Object['prototype'][_0x2e9320(0x3c3)][_0x2e9320(0x2b8)](_0x503ef9,_0x2c9282)&&_0x5eb3da[_0x2e9320(0x249)](_0x2c9282)<0x0&&(_0x2e3d7e[_0x2c9282]=_0x503ef9[_0x2c9282]);if(_0x503ef9!=null&&typeof Object[_0x2e9320(0x4a1)]==_0x2e9320(0x2d6)){for(var _0xc24cea=0x0,_0x2c9282=Object[_0x2e9320(0x4a1)](_0x503ef9);_0xc24cea<_0x2c9282[_0x2e9320(0x346)];_0xc24cea++)_0x5eb3da[_0x2e9320(0x249)](_0x2c9282[_0xc24cea])<0x0&&Object['prototype'][_0x2e9320(0x26e)]['call'](_0x503ef9,_0x2c9282[_0xc24cea])&&(_0x2e3d7e[_0x2c9282[_0xc24cea]]=_0x503ef9[_0x2c9282[_0xc24cea]]);}return _0x2e3d7e;},_0x3e99a6=_0x539127[_0x3ceef6(0x3bb)](function(_0x54f60f,_0x55f9f0){const _0x10fff4=_0x3ceef6;var _0x111052=_0x54f60f[_0x10fff4(0x2ed)],_0x41b018=_0x54f60f['id'],_0x1c2f8d=_0x54f60f[_0x10fff4(0xf6)],_0x1de8d4=_0x54f60f[_0x10fff4(0x499)],_0x4ddca7=_0x33f642(_0x54f60f,['icon','id',_0x10fff4(0xf6),_0x10fff4(0x499)]),_0x469619=_0x10fff4(0x47d)[_0x10fff4(0x294)](_0x41b018,'\x20')[_0x10fff4(0x294)](_0x1c2f8d||'')[_0x10fff4(0x42d)](),_0x2634f6=_0x539127['useRef']('_'[_0x10fff4(0x294)](_0x1515a8()));return _0x38d1ea(_0x111052,''[_0x10fff4(0x294)](_0x41b018),{'defIds':_0x111052[_0x10fff4(0x47a)],'idSuffix':_0x2634f6[_0x10fff4(0x2d7)]},_0x306acd({'ref':_0x55f9f0,'className':_0x469619},_0x4ddca7),_0x1de8d4);});function _0x38d1ea(_0x473dac,_0x2df118,_0x1e3506,_0x3b0eb7,_0x312d46){const _0x3a3318=_0x3ceef6;return _0x539127[_0x3a3318(0x2aa)](_0x473dac[_0x3a3318(0x464)],_0x306acd(_0x306acd({'key':_0x2df118},_0x4d1aca(_0x473dac,_0x1e3506,_0x312d46)),_0x3b0eb7),(_0x3d6822(_0x473dac,_0x1e3506)[_0x3a3318(0x47b)]||[])['map'](function(_0x14d7d9,_0x93dbc4){const _0x21cf03=_0x3a3318;return _0x38d1ea(_0x14d7d9,''['concat'](_0x2df118,'-')[_0x21cf03(0x294)](_0x473dac[_0x21cf03(0x464)],'-')[_0x21cf03(0x294)](_0x93dbc4),_0x1e3506,void 0x0,_0x312d46);}));}function _0x4d1aca(_0x335657,_0x543381,_0x194a03){const _0x1313a9=_0x3ceef6;var _0x13cbc5=_0x306acd({},_0x335657[_0x1313a9(0x137)]);_0x194a03!=null&&_0x194a03[_0x1313a9(0x1f2)]&&_0x13cbc5[_0x1313a9(0x168)]===_0x1313a9(0x1f2)&&(_0x13cbc5[_0x1313a9(0x168)]=_0x194a03['colorChannel1']);var _0x7ba297=_0x543381[_0x1313a9(0x47a)];return!_0x7ba297||_0x7ba297[_0x1313a9(0x346)]===0x0||(_0x335657[_0x1313a9(0x464)]===_0x1313a9(0x3d5)&&_0x13cbc5[_0x1313a9(0x164)]&&(_0x13cbc5[_0x1313a9(0x164)]=_0x13cbc5['xlink:href']+_0x543381[_0x1313a9(0x3c2)]),Object[_0x1313a9(0x114)](_0x13cbc5)[_0x1313a9(0x115)](function(_0x48e0a7){const _0x4ff84e=_0x1313a9;var _0xb7ba1d=_0x48e0a7[0x0],_0x274433=_0x48e0a7[0x1];typeof _0x274433==_0x4ff84e(0x430)&&(_0x13cbc5[_0xb7ba1d]=_0x274433[_0x4ff84e(0x130)](/url\(#(.*)\)/,_0x4ff84e(0x1da)[_0x4ff84e(0x294)](_0x543381[_0x4ff84e(0x3c2)],')')));})),_0x13cbc5;}function _0x3d6822(_0x4f8b1e,_0x258b1a){const _0x1bb6cb=_0x3ceef6;var _0x19a49f,_0xa9d1b=_0x258b1a[_0x1bb6cb(0x47a)];return!_0xa9d1b||_0xa9d1b['length']===0x0?_0x4f8b1e:_0x4f8b1e[_0x1bb6cb(0x464)]===_0x1bb6cb(0x10c)&&(!((_0x19a49f=_0x4f8b1e['children'])===null||_0x19a49f===void 0x0)&&_0x19a49f[_0x1bb6cb(0x346)])?_0x306acd(_0x306acd({},_0x4f8b1e),{'children':_0x4f8b1e[_0x1bb6cb(0x47b)][_0x1bb6cb(0x315)](function(_0xd98c11){const _0x176942=_0x1bb6cb;return typeof _0xd98c11['attrs']['id']==_0x176942(0x430)&&_0xa9d1b&&_0xa9d1b[_0x176942(0x249)](_0xd98c11[_0x176942(0x137)]['id'])>-0x1?_0x306acd(_0x306acd({},_0xd98c11),{'attrs':_0x306acd(_0x306acd({},_0xd98c11[_0x176942(0x137)]),{'id':_0xd98c11[_0x176942(0x137)]['id']+_0x258b1a['idSuffix']})}):_0xd98c11;})}):_0x4f8b1e;}function _0x1515a8(){const _0xa58eb4=_0x3ceef6;return Math[_0xa58eb4(0x37e)]()[_0xa58eb4(0xff)](0x24)[_0xa58eb4(0xdc)](0x2,0x8);}_0x3e99a6[_0x3ceef6(0x472)]=_0x3ceef6(0x2e3);var _0x59c402={'tag':'svg','attrs':{'fill':_0x3ceef6(0x3bd),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3ceef6(0x283)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3ceef6(0x49a),'attrs':{'stroke':_0x3ceef6(0x455),'d':_0x3ceef6(0x34c),'strokeLinecap':_0x3ceef6(0x434),'strokeLinejoin':_0x3ceef6(0x434),'strokeWidth':1.2}}]},{'tag':_0x3ceef6(0x10c),'attrs':{},'children':[{'tag':_0x3ceef6(0x442),'attrs':{'id':_0x3ceef6(0xee)},'children':[{'tag':_0x3ceef6(0x49a),'attrs':{'fill':_0x3ceef6(0x3a8),'d':_0x3ceef6(0x203)}}]}]}],'defIds':[_0x3ceef6(0xee)]},_0x165786=_0x539127[_0x3ceef6(0x3bb)](function(_0x127459,_0x5046f8){const _0x140df1=_0x3ceef6;return _0x539127[_0x140df1(0x2aa)](_0x3e99a6,Object[_0x140df1(0x45c)]({},_0x127459,{'id':_0x140df1(0xb5),'ref':_0x5046f8,'icon':_0x59c402}));});_0x165786[_0x3ceef6(0x472)]=_0x3ceef6(0xaf);var _0x2edb0c={'tag':'svg','attrs':{'fill':_0x3ceef6(0x3bd),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x3ceef6(0x283)},'children':[{'tag':'g','attrs':{'clipPath':_0x3ceef6(0x1c3)},'children':[{'tag':_0x3ceef6(0x49a),'attrs':{'stroke':_0x3ceef6(0x455),'d':'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','strokeLinecap':_0x3ceef6(0x434),'strokeLinejoin':_0x3ceef6(0x434),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3ceef6(0x442),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3ceef6(0x49a),'attrs':{'fill':'#fff','d':_0x3ceef6(0x203),'transform':_0x3ceef6(0x142)}}]}]}],'defIds':[_0x3ceef6(0x127)]},_0x32f535=_0x539127[_0x3ceef6(0x3bb)](function(_0x21ef4a,_0x2c9f25){const _0xc20b7e=_0x3ceef6;return _0x539127[_0xc20b7e(0x2aa)](_0x3e99a6,Object['assign']({},_0x21ef4a,{'id':_0xc20b7e(0x3c0),'ref':_0x2c9f25,'icon':_0x2edb0c}));});_0x32f535[_0x3ceef6(0x472)]=_0x3ceef6(0x44c);const _0x3fbd4e={'onlineStatusIcon':_0x3ceef6(0x2ad),'onlineStatusTitle':_0x3ceef6(0x233),'onlineStatus':_0x3ceef6(0x146),'online':_0x3ceef6(0x180),'offline':_0x3ceef6(0x383)};function _0x1deb08(_0xa1710b){const _0x184cbd=_0x3ceef6;switch(_0xa1710b){case _0x5a1c45[_0x184cbd(0x27c)]:return _0x184cbd(0x106);case _0x5a1c45[_0x184cbd(0x204)]:return _0x184cbd(0x2fd);case _0x5a1c45[_0x184cbd(0x380)]:return _0x184cbd(0x173);case _0x5a1c45['NOT_COLLAB']:return _0x184cbd(0x34b);case _0x5a1c45['PENDING']:case _0x5a1c45[_0x184cbd(0xeb)]:case _0x5a1c45[_0x184cbd(0x1cc)]:return _0x184cbd(0x1db);case _0x5a1c45[_0x184cbd(0x25a)]:return _0x184cbd(0x1cb);}}function _0x43c850(_0x1b5fe5){const _0x118653=_0x3ceef6,{status$:_0x1e884e}=_0x1b5fe5,_0xe0d321=_0x279279['useObservable'](_0x1e884e,_0x5a1c45['NOT_COLLAB']),_0x145eb5=_0x24e1ed[_0x118653(0xd3)](_0x24e1ed['LocaleService']),_0x3cca7e=_0xe0d321!==_0x5a1c45[_0x118653(0x27c)],_0x463322=_0x145eb5['t'](_0x1deb08(_0xe0d321)),_0x21188b=_0x251dff(_0x3fbd4e[_0x118653(0xf1)],{[_0x3fbd4e[_0x118653(0x2b4)]]:_0x3cca7e,[_0x3fbd4e['offline']]:!_0x3cca7e}),_0x50b916=_0x3cca7e?_0x539127['createElement'](_0x32f535,null):_0x539127[_0x118653(0x2aa)](_0x165786,null);return _0x539127['createElement']('div',{'className':_0x21188b},_0x539127[_0x118653(0x2aa)]('div',{'className':_0x3fbd4e['onlineStatusIcon']},_0x50b916),_0x539127[_0x118653(0x2aa)](_0x118653(0x18a),{'className':_0x3fbd4e[_0x118653(0x23b)]},_0x463322));}var _0xbfd9a1=Object[_0x3ceef6(0x2d1)],_0x356bda=Object[_0x3ceef6(0x3fa)],_0xe60a39=(_0x4e0dd5,_0x3ed7b,_0x25e0fc,_0x21522d)=>{for(var _0x3d3915=_0x21522d>0x1?void 0x0:_0x21522d?_0x356bda(_0x3ed7b,_0x25e0fc):_0x3ed7b,_0x58d134=_0x4e0dd5['length']-0x1,_0x5a8706;_0x58d134>=0x0;_0x58d134--)(_0x5a8706=_0x4e0dd5[_0x58d134])&&(_0x3d3915=(_0x21522d?_0x5a8706(_0x3ed7b,_0x25e0fc,_0x3d3915):_0x5a8706(_0x3d3915))||_0x3d3915);return _0x21522d&&_0x3d3915&&_0xbfd9a1(_0x3ed7b,_0x25e0fc,_0x3d3915),_0x3d3915;},_0x324885=(_0x1a87e8,_0x1b7e17)=>(_0x113340,_0x296587)=>_0x1b7e17(_0x113340,_0x296587,_0x1a87e8);_0x481c9f[_0x3ceef6(0x33a)]=class extends _0x24e1ed[_0x3ceef6(0x26d)]{constructor(_0x49f6c6,_0x486c64,_0x388229,_0x1da7eb){const _0x50e7c9=_0x3ceef6;super(),_0x1b84ec(this,_0x50e7c9(0xdf),new _0x5ba5b9[(_0x50e7c9(0x43c))](_0x5a1c45['NOT_COLLAB'])),(this[_0x50e7c9(0x198)]=_0x49f6c6,this[_0x50e7c9(0x147)]=_0x486c64,this[_0x50e7c9(0x376)]=_0x388229,this[_0x50e7c9(0x3be)]=_0x1da7eb,this[_0x50e7c9(0x2b1)](),this['_initStatusListener']());}[_0x3ceef6(0x2b1)](){const _0x17cef6=_0x3ceef6;this[_0x17cef6(0x184)](this[_0x17cef6(0x147)][_0x17cef6(0x332)](_0x279279['BuiltInUIPart']['HEADER_MENU'],()=>_0x24e1ed[_0x17cef6(0x1e1)](_0x3e1f28({'status$':this[_0x17cef6(0xdf)][_0x17cef6(0x2ce)]()}),this[_0x17cef6(0x376)])));}[_0x3ceef6(0x1d6)](){const _0x16551c=_0x3ceef6;this['disposeWithMe'](_0x24e1ed['toDisposable'](this[_0x16551c(0x198)][_0x16551c(0x1ee)][_0x16551c(0x30e)](_0x5ba5b9['switchMap'](()=>{const _0x13eca8=_0x16551c,_0x3b9207=this['_univerInstanceService'][_0x13eca8(0x158)]();return _0x3b9207?this[_0x13eca8(0x3be)][_0x13eca8(0x408)](_0x3b9207[_0x13eca8(0x398)]()):_0x5ba5b9['of'](null);}),_0x5ba5b9[_0x16551c(0x360)](_0xcb32da=>_0xcb32da?_0xcb32da[_0x16551c(0x17f)]:_0x5ba5b9['of'](_0x5a1c45['NOT_COLLAB'])))['subscribe'](_0x27b4d2=>{const _0x36a350=_0x16551c;this[_0x36a350(0xdf)][_0x36a350(0x48b)](_0x27b4d2);})));}},_0x481c9f['DesktopCollaborationStatusDisplayController']=_0xe60a39([_0x24e1ed['OnLifecycle'](_0x24e1ed[_0x3ceef6(0xf7)][_0x3ceef6(0x1a3)],_0x481c9f['DesktopCollaborationStatusDisplayController']),_0x324885(0x0,_0x24e1ed[_0x3ceef6(0x36c)]),_0x324885(0x1,_0x279279[_0x3ceef6(0x210)]),_0x324885(0x2,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x324885(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f['CollaborationController']))],_0x481c9f[_0x3ceef6(0x33a)]);function _0x3e1f28(_0x55c992){const {status$:_0x51b953}=_0x55c992;return function(){const _0x3e0929=_0x5b63;return _0x539127[_0x3e0929(0x2aa)](_0x43c850,{'status$':_0x51b953});};}const _0xc2175=_0x24e1ed[_0x3ceef6(0x381)](_0x3ceef6(0x1d3));var _0xfbe72c=Object[_0x3ceef6(0x2d1)],_0x59931b=Object[_0x3ceef6(0x3fa)],_0x43abbc=(_0x22f51e,_0x4ea862,_0x46604e,_0x2e1afa)=>{for(var _0x570a76=_0x2e1afa>0x1?void 0x0:_0x2e1afa?_0x59931b(_0x4ea862,_0x46604e):_0x4ea862,_0x55cc02=_0x22f51e['length']-0x1,_0x28face;_0x55cc02>=0x0;_0x55cc02--)(_0x28face=_0x22f51e[_0x55cc02])&&(_0x570a76=(_0x2e1afa?_0x28face(_0x4ea862,_0x46604e,_0x570a76):_0x28face(_0x570a76))||_0x570a76);return _0x2e1afa&&_0x570a76&&_0xfbe72c(_0x4ea862,_0x46604e,_0x570a76),_0x570a76;},_0x1df2f4=(_0x172ad6,_0x432651)=>(_0x161f93,_0x42b4c4)=>_0x432651(_0x161f93,_0x42b4c4,_0x172ad6);_0x481c9f[_0x3ceef6(0x273)]=class extends _0x24e1ed['RxDisposable']{constructor(_0x2a6323,_0x5d2986,_0x36ca37,_0x17eb67,_0x3c50fe,_0x5651a9){const _0xcbfe0b=_0x3ceef6;super(),this['_urlService']=_0x2a6323,this[_0xcbfe0b(0x256)]=_0x5d2986,this[_0xcbfe0b(0x285)]=_0x36ca37,this[_0xcbfe0b(0x140)]=_0x17eb67,this['_snapshotService']=_0x3c50fe,_0x5651a9?_0x5651a9==null||_0x5651a9[_0xcbfe0b(0x1d4)]()[_0xcbfe0b(0x1df)](()=>this[_0xcbfe0b(0x13c)]()):(this['_logService'][_0xcbfe0b(0x1f3)](_0xcbfe0b(0x37f),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xcbfe0b(0x13c)]());}async[_0x3ceef6(0x13c)](){const _0x52ed09=_0x3ceef6,_0x38a9c0=this['_urlService']['getParam'](_0x52ed09(0x46c)),_0x496d9a=this[_0x52ed09(0x2ec)][_0x52ed09(0x2bc)](_0x52ed09(0x223));if(!_0x38a9c0||!_0x496d9a){this[_0x52ed09(0x256)][_0x52ed09(0x1f3)](_0x52ed09(0x37f),_0x52ed09(0xe5));return;}switch(Number(_0x496d9a)){case _0x1a91ec[_0x52ed09(0x2b3)]:{const _0x4e3720=await this[_0x52ed09(0x30d)](_0x38a9c0);this[_0x52ed09(0x10a)](_0x4e3720);break;}case _0x1a91ec[_0x52ed09(0x192)]:{await this[_0x52ed09(0x30b)](_0x38a9c0);break;}default:{this[_0x52ed09(0x256)][_0x52ed09(0x457)](_0x52ed09(0x37f),_0x52ed09(0xb6));break;}}}async[_0x3ceef6(0x10a)](_0x4ab01d){const _0x548a3f=_0x3ceef6;await this['_updateSubUnitFromURLParams'](_0x4ab01d),_0x4ab01d['activeSheet$'][_0x548a3f(0x30e)](_0x5ba5b9[_0x548a3f(0x2c3)](this[_0x548a3f(0x318)]))[_0x548a3f(0x1b0)](_0x3a2fb2=>{const _0x3e5b58=_0x548a3f;_0x3a2fb2&&this[_0x3e5b58(0x32c)](_0x3a2fb2);}),this[_0x548a3f(0x2ec)][_0x548a3f(0x446)][_0x548a3f(0x30e)](_0x5ba5b9[_0x548a3f(0x2c3)](this[_0x548a3f(0x318)]))['subscribe'](()=>this[_0x548a3f(0xd1)](_0x4ab01d));}['_updateURLWithCurrentState'](_0x8de496,_0x1bae9e=!0x1){const _0x556f74=_0x3ceef6,_0x2083ec=this[_0x556f74(0x2ec)][_0x556f74(0x2bc)](_0x556f74(0x112));_0x8de496[_0x556f74(0x152)]()!==_0x2083ec&&this[_0x556f74(0x2ec)]['setParam'](_0x556f74(0x112),_0x8de496['getSheetId'](),_0x1bae9e);}async[_0x3ceef6(0xd1)](_0x348323){const _0x10cedb=_0x3ceef6;var _0xc59ec5;const _0x182ef0=this[_0x10cedb(0x2ec)]['getParam'](_0x10cedb(0x112));if(!_0x182ef0||!_0x348323[_0x10cedb(0xba)](_0x182ef0)){const _0x17079f=_0x348323[_0x10cedb(0x25b)]()[0x0],_0x26bbce=_0x348323[_0x10cedb(0xba)](_0x17079f);if(!_0x26bbce)return;this[_0x10cedb(0x32c)](_0x26bbce,!0x0),await this['_commandService']['executeCommand'](_0x5e02d9[_0x10cedb(0x1fc)]['id'],{'unitId':_0x348323[_0x10cedb(0x398)](),'subUnitId':_0x17079f});return;}((_0xc59ec5=_0x348323['getActiveSheet']())==null?void 0x0:_0xc59ec5[_0x10cedb(0x152)]())!==_0x182ef0&&await this[_0x10cedb(0x285)][_0x10cedb(0x2ef)](_0x5e02d9[_0x10cedb(0x1fc)]['id'],{'unitId':_0x348323[_0x10cedb(0x398)](),'subUnitId':_0x182ef0});}async['_loadSheet'](_0x4b14a8){const _0x54e88b=_0x3ceef6;let _0x21db70=0x0;const _0x5e373b=await this['_localCacheService'][_0x54e88b(0x1bf)](_0x4b14a8);return _0x5e373b&&(_0x5e373b[_0x54e88b(0x389)]||_0x5e373b['mutations'][_0x54e88b(0x346)]!==0x0)&&(_0x21db70=_0x5e373b['rev']),_0x21db70===0x0&&this[_0x54e88b(0x256)][_0x54e88b(0x1f3)](_0x54e88b(0x37f),_0x54e88b(0x47c)),this[_0x54e88b(0x321)]['loadSheet'](_0x4b14a8,_0x21db70);}async[_0x3ceef6(0x30b)](_0x55bf12){const _0x7947a2=_0x3ceef6;let _0x5e069e=0x0;const _0x34da0a=await this[_0x7947a2(0x140)][_0x7947a2(0x1bf)](_0x55bf12);return _0x34da0a&&(_0x34da0a[_0x7947a2(0x389)]||_0x34da0a['mutations'][_0x7947a2(0x346)]!==0x0)&&(_0x5e069e=_0x34da0a[_0x7947a2(0x107)]),_0x5e069e===0x0&&this['_logService'][_0x7947a2(0x1f3)](_0x7947a2(0x37f),_0x7947a2(0x47c)),this['_snapshotService'][_0x7947a2(0x263)](_0x55bf12,_0x5e069e);}},_0x481c9f['DataLoaderController']=_0x43abbc([_0x24e1ed[_0x3ceef6(0x25e)](_0x24e1ed['LifecycleStages'][_0x3ceef6(0x1a3)],_0x481c9f[_0x3ceef6(0x273)]),_0x1df2f4(0x0,_0xc2175),_0x1df2f4(0x1,_0x24e1ed[_0x3ceef6(0x250)]),_0x1df2f4(0x2,_0x24e1ed[_0x3ceef6(0x28e)]),_0x1df2f4(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f['LocalCacheService'])),_0x1df2f4(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x3c4c3c['SnapshotService'])),_0x1df2f4(0x5,_0x24e1ed[_0x3ceef6(0xcf)](_0x1392e7['IRemoteInstanceService']))],_0x481c9f[_0x3ceef6(0x273)]);var _0x46010f=Object[_0x3ceef6(0x2d1)],_0x2ab8ec=Object[_0x3ceef6(0x3fa)],_0x1c7ef4=(_0x94039a,_0x350287,_0x59db70,_0x57cc0c)=>{const _0x3320bc=_0x3ceef6;for(var _0x8f6b93=_0x57cc0c>0x1?void 0x0:_0x57cc0c?_0x2ab8ec(_0x350287,_0x59db70):_0x350287,_0x3aaad9=_0x94039a[_0x3320bc(0x346)]-0x1,_0x2b5d44;_0x3aaad9>=0x0;_0x3aaad9--)(_0x2b5d44=_0x94039a[_0x3aaad9])&&(_0x8f6b93=(_0x57cc0c?_0x2b5d44(_0x350287,_0x59db70,_0x8f6b93):_0x2b5d44(_0x8f6b93))||_0x8f6b93);return _0x57cc0c&&_0x8f6b93&&_0x46010f(_0x350287,_0x59db70,_0x8f6b93),_0x8f6b93;},_0x59dbb1=(_0x388030,_0x1b505b)=>(_0x38498e,_0x463b94)=>_0x1b505b(_0x38498e,_0x463b94,_0x388030);const _0x2167c4=_0x3ceef6(0x24f),_0x58b554='Univer';let _0x310dfd=class extends _0x24e1ed['Disposable']{constructor(_0x25c909,_0x20882e){const _0xa0a137=_0x3ceef6;super(),this['_univerInstanceService']=_0x25c909,this[_0xa0a137(0x421)]=_0x20882e,this[_0xa0a137(0x13c)]();}[_0x3ceef6(0x13c)](){const _0x5251de=_0x3ceef6;this[_0x5251de(0x184)](_0x24e1ed[_0x5251de(0x18f)](this['_univerInstanceService'][_0x5251de(0x1ee)][_0x5251de(0x1b0)](()=>{const _0x3e99ae=_0x5251de;var _0x2e80f4;const _0xdde1fc=this['_univerInstanceService']['getFocusedUnit']();let _0xc1d67e=(_0x2e80f4=this['_configService'][_0x3e99ae(0x10b)](_0x2167c4))!=null?_0x2e80f4:_0x58b554;_0xdde1fc instanceof _0x24e1ed[_0x3e99ae(0x12c)]&&(_0xc1d67e=_0xdde1fc[_0x3e99ae(0x329)]),document['title']=_0xc1d67e;})));}};_0x310dfd=_0x1c7ef4([_0x24e1ed[_0x3ceef6(0x25e)](_0x24e1ed[_0x3ceef6(0xf7)][_0x3ceef6(0x1b4)],_0x310dfd),_0x59dbb1(0x0,_0x24e1ed[_0x3ceef6(0x36c)]),_0x59dbb1(0x1,_0x24e1ed[_0x3ceef6(0x476)])],_0x310dfd);var _0x2a8fee=Object[_0x3ceef6(0x2d1)],_0x4e7c85=Object[_0x3ceef6(0x3fa)],_0x326b9c=(_0x418f9d,_0x3a906f,_0x4c9de1,_0xdeeb70)=>{const _0x283a45=_0x3ceef6;for(var _0x329435=_0xdeeb70>0x1?void 0x0:_0xdeeb70?_0x4e7c85(_0x3a906f,_0x4c9de1):_0x3a906f,_0x57ecf5=_0x418f9d[_0x283a45(0x346)]-0x1,_0x1efa69;_0x57ecf5>=0x0;_0x57ecf5--)(_0x1efa69=_0x418f9d[_0x57ecf5])&&(_0x329435=(_0xdeeb70?_0x1efa69(_0x3a906f,_0x4c9de1,_0x329435):_0x1efa69(_0x329435))||_0x329435);return _0xdeeb70&&_0x329435&&_0x2a8fee(_0x3a906f,_0x4c9de1,_0x329435),_0x329435;},_0x10d0e1=(_0x5d29f5,_0x431992)=>(_0x1ae956,_0x537894)=>_0x431992(_0x1ae956,_0x537894,_0x5d29f5);_0x481c9f[_0x3ceef6(0x313)]=class{constructor(_0x3ced8e,_0x1a17e4){const _0x12d481=_0x3ceef6;this[_0x12d481(0x421)]=_0x3ced8e,this[_0x12d481(0x1fe)]=_0x1a17e4;}async[_0x3ceef6(0x224)](_0x5e17be,_0x20289b){const _0xb26b81=_0x3ceef6;var _0x1ff1d3;const {unitID:_0x39b721,type:_0x38340f,revision:_0x1a5533=0x0}=_0x20289b,_0x2a5b79=this[_0xb26b81(0x3c1)]()+'/'+_0x38340f+_0xb26b81(0xc2)+_0x39b721+_0xb26b81(0x342)+_0x1a5533,_0x16ea14=(await this['_httpService']['get'](_0x2a5b79))[_0xb26b81(0x314)],_0xb0659e=(_0x1ff1d3=_0x16ea14[_0xb26b81(0x44a)])==null?void 0x0:_0x1ff1d3[_0xb26b81(0x116)];if(_0xb0659e){const _0x57810a=_0xb0659e==null?void 0x0:_0xb0659e[_0xb26b81(0xca)],_0x2be000=_0x24e1ed[_0xb26b81(0x449)][_0xb26b81(0x156)](_0x24e1ed[_0xb26b81(0x197)](_0x57810a));_0xb0659e['originalMeta']=_0x2be000,Object[_0xb26b81(0x114)](_0xb0659e[_0xb26b81(0xfe)])[_0xb26b81(0x115)](([,_0x4d23db])=>{const _0x384039=_0xb26b81,_0x4dba25=_0x4d23db['originalMeta'],_0x4ef5e1=_0x24e1ed[_0x384039(0x449)]['encode'](_0x24e1ed['b64DecodeUnicode'](_0x4dba25));_0x4d23db[_0x384039(0xca)]=_0x4ef5e1;});}return _0x16ea14;}async[_0x3ceef6(0x13e)](_0x52e97c,_0x50545e){const _0x34f8b7=_0x3ceef6,{unitID:_0x760213,type:_0xefce2c,blockID:_0x5d2f56}=_0x50545e,_0x406799=this[_0x34f8b7(0x20f)]()+'/'+_0xefce2c+_0x34f8b7(0xc2)+_0x760213+_0x34f8b7(0xe0)+_0x5d2f56;return(await this['_httpService']['get'](_0x406799))[_0x34f8b7(0x314)];}async[_0x3ceef6(0x2e7)](_0x3339d3,_0x2fb90f){const _0x21b416=_0x3ceef6,{unitID:_0x585302,type:_0x2d4a2b,from:_0x5da807,to:_0x1c2d4c}=_0x2fb90f,_0x30b77c=this[_0x21b416(0x20f)]()+'/'+_0x2d4a2b+_0x21b416(0xc2)+_0x585302+_0x21b416(0xb1)+_0x5da807+'&to='+_0x1c2d4c;return(await this['_httpService'][_0x21b416(0x414)](_0x30b77c))[_0x21b416(0x314)];}[_0x3ceef6(0x3c1)](){const _0x4b6f13=_0x3ceef6;var _0x579e94;return(_0x579e94=this['_configService'][_0x4b6f13(0x10b)](_0x53b238))!=null?_0x579e94:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x230e35=_0x3ceef6;var _0x3f544a;return(_0x3f544a=this[_0x230e35(0x421)][_0x230e35(0x10b)](_0x6544dc))!=null?_0x3f544a:_0x2d8cc4;}async[_0x3ceef6(0xe8)](_0x464428,_0x347567){const _0x2272a9=_0x3ceef6,_0x2ecffa=_0x2272a9(0x49e)+_0x347567[_0x2272a9(0x223)]+_0x2272a9(0xc2)+_0x347567[_0x2272a9(0x208)]+_0x2272a9(0x2f1);return(await this[_0x2272a9(0x1fe)][_0x2272a9(0x414)](_0x2ecffa,{'params':{'resourceId':JSON[_0x2272a9(0x1b1)](_0x347567['resourceIDs'])}}))['body'];}[_0x3ceef6(0x484)](){const _0x2ada5b=_0x3ceef6;throw new Error(_0x2ada5b(0xe3));}[_0x3ceef6(0x36e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3ceef6(0x24e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x481c9f['SnapshotServerOverHTTPService']=_0x326b9c([_0x10d0e1(0x0,_0x24e1ed['IConfigService']),_0x10d0e1(0x1,_0x24e1ed['Inject'](_0x2df7e0[_0x3ceef6(0x3ed)]))],_0x481c9f[_0x3ceef6(0x313)]);var _0x564b59=Object[_0x3ceef6(0x2d1)],_0x1e7e9a=Object[_0x3ceef6(0x3fa)],_0x33facb=(_0x1468c0,_0x35dff2,_0x33f312,_0x13adae)=>{const _0x30da1b=_0x3ceef6;for(var _0x34edf3=_0x13adae>0x1?void 0x0:_0x13adae?_0x1e7e9a(_0x35dff2,_0x33f312):_0x35dff2,_0x19f8d3=_0x1468c0[_0x30da1b(0x346)]-0x1,_0x4e5437;_0x19f8d3>=0x0;_0x19f8d3--)(_0x4e5437=_0x1468c0[_0x19f8d3])&&(_0x34edf3=(_0x13adae?_0x4e5437(_0x35dff2,_0x33f312,_0x34edf3):_0x4e5437(_0x34edf3))||_0x34edf3);return _0x13adae&&_0x34edf3&&_0x564b59(_0x35dff2,_0x33f312,_0x34edf3),_0x34edf3;},_0x52f7e6=(_0x3d628f,_0x4c10f4)=>(_0xdb44ed,_0x34ff0b)=>_0x4c10f4(_0xdb44ed,_0x34ff0b,_0x3d628f);let _0x26c297=class extends _0x24e1ed[_0x3ceef6(0x23d)]{constructor(_0x5ef386,_0x38c876,_0x386999,_0x5854df,_0x4a2a5f){const _0x3457be=_0x3ceef6;super(_0x5ef386,_0x38c876,_0x386999),this['_transformService']=_0x5854df,this[_0x3457be(0x256)]=_0x4a2a5f;}[_0x3ceef6(0x269)](_0x17c62a,_0x1a08d0){const _0x4c12cd=_0x3ceef6,_0x48d31f=this['_getUndoStack'](_0x17c62a);if(_0x48d31f)try{const _0x116391=this['_transformStack'](_0x48d31f,_0x1a08d0);this[_0x4c12cd(0x2af)](_0x17c62a,_0x116391);}catch(_0x13f5e8){this[_0x4c12cd(0x256)]['error']('[CollaborationUndoRedoService]',_0x13f5e8),this[_0x4c12cd(0x440)](_0x17c62a);}const _0x38ad80=this[_0x4c12cd(0x3b3)](_0x17c62a);if(_0x38ad80)try{const _0x4ee559=this['_transformStack'](_0x38ad80,_0x1a08d0);this[_0x4c12cd(0x3e6)](_0x17c62a,_0x4ee559);}catch(_0x19e7c5){this[_0x4c12cd(0x256)][_0x4c12cd(0x457)](_0x19e7c5),this['_clearRedo'](_0x17c62a);}}[_0x3ceef6(0x440)](_0xe1ac8){const _0x15d203=this['_getUndoStack'](_0xe1ac8);_0x15d203&&(_0x15d203['length']=0x0,this['_updateStatus']());}[_0x3ceef6(0x11c)](_0x4682cd){const _0xea4a52=_0x3ceef6,_0x5db9b5=this[_0xea4a52(0x3b3)](_0x4682cd);_0x5db9b5&&(_0x5db9b5['length']=0x0,this[_0xea4a52(0x3c5)]());}[_0x3ceef6(0x2af)](_0x565ca1,_0x202dee){const _0x3f1a9f=_0x3ceef6;this['_undoStacks'][_0x3f1a9f(0xe7)](_0x565ca1,_0x202dee),this[_0x3f1a9f(0x3c5)]();}[_0x3ceef6(0x3e6)](_0x29d947,_0x544f99){const _0x2d1408=_0x3ceef6;this['_redoStacks'][_0x2d1408(0xe7)](_0x29d947,_0x544f99),this[_0x2d1408(0x3c5)]();}[_0x3ceef6(0x27f)](_0x52d54c,_0xf4d473){const _0x77ec70=_0x3ceef6,_0x1f7757=[];let _0x8795fa=_0xf4d473,_0x4a3e79=_0xf4d473;for(let _0x506d1e=_0x52d54c[_0x77ec70(0x346)]-0x1;_0x506d1e>=0x0;_0x506d1e--){const {unitID:_0x1a9c8e,undoMutations:_0x825c8d,redoMutations:_0x4200bb}=_0x52d54c[_0x506d1e],_0x2cae93=this[_0x77ec70(0x428)][_0x77ec70(0x38c)](_0x8795fa,_0x825c8d),_0x1bf97c=this[_0x77ec70(0x428)][_0x77ec70(0x38c)](_0x4a3e79,_0x4200bb);if(_0x3c4c3c[_0x77ec70(0x124)](_0x2cae93)||_0x3c4c3c[_0x77ec70(0x124)](_0x1bf97c)){this[_0x77ec70(0x256)][_0x77ec70(0x457)](_0x77ec70(0x159),_0x77ec70(0x2a2),_0x2cae93,_0x1bf97c);break;}_0x8795fa=_0x2cae93['c1Prime'],_0x4a3e79=_0x1bf97c[_0x77ec70(0x467)],_0x1f7757[_0x77ec70(0x279)]({'unitID':_0x1a9c8e,'undoMutations':_0x2cae93[_0x77ec70(0x49c)],'redoMutations':_0x1bf97c[_0x77ec70(0x49c)]});}return _0x1f7757[_0x77ec70(0x365)]();}};_0x26c297=_0x33facb([_0x52f7e6(0x0,_0x24e1ed[_0x3ceef6(0x36c)]),_0x52f7e6(0x1,_0x24e1ed[_0x3ceef6(0x28e)]),_0x52f7e6(0x2,_0x24e1ed[_0x3ceef6(0x465)]),_0x52f7e6(0x3,_0x3c4c3c[_0x3ceef6(0x2cd)]),_0x52f7e6(0x4,_0x24e1ed['ILogService'])],_0x26c297);class _0x3a3c68 extends _0x24e1ed['RxDisposable']{constructor(){const _0x1baf7c=_0x3ceef6;super(),_0x1b84ec(this,_0x1baf7c(0x446)),this[_0x1baf7c(0x446)]=_0x5ba5b9[_0x1baf7c(0x49b)](window,_0x1baf7c(0x348))[_0x1baf7c(0x30e)](_0x5ba5b9[_0x1baf7c(0x2c3)](this[_0x1baf7c(0x318)]),_0x5ba5b9[_0x1baf7c(0x37c)](0x1),_0x5ba5b9[_0x1baf7c(0x2d5)](void 0x0));}['setParam'](_0x1c2d4f,_0x479a17,_0xb5760b=!0x1){const _0x42eb5a=_0x3ceef6,_0x5385e3=new URL(window['location'][_0x42eb5a(0xfa)]);_0x5385e3[_0x42eb5a(0x1aa)][_0x42eb5a(0xe7)](_0x1c2d4f,_0x479a17),_0xb5760b?window[_0x42eb5a(0x480)][_0x42eb5a(0x254)]('','',_0x5385e3[_0x42eb5a(0xff)]()):window['history']['pushState']('','',_0x5385e3[_0x42eb5a(0xff)]());}[_0x3ceef6(0x2c9)](_0x39c3ee,_0x3b8324=!0x1){const _0x5db0ac=_0x3ceef6,_0x3e9222=new URL(window['location'][_0x5db0ac(0xfa)]);_0x3e9222[_0x5db0ac(0x1aa)]['delete'](_0x39c3ee),_0x3b8324?window[_0x5db0ac(0x480)]['replaceState']('','',_0x3e9222[_0x5db0ac(0xff)]()):window[_0x5db0ac(0x480)][_0x5db0ac(0x262)]('','',_0x3e9222['toString']());}[_0x3ceef6(0x2bc)](_0x57d6cb){const _0x1e810b=_0x3ceef6;var _0x3aa1a2;return(_0x3aa1a2=new URL(window[_0x1e810b(0x19b)][_0x1e810b(0xfa)])[_0x1e810b(0x1aa)][_0x1e810b(0x414)](_0x57d6cb))!=null?_0x3aa1a2:void 0x0;}}const _0x506dfc=_0x3ceef6(0x2c5),_0x14e9cd=_0x3ceef6(0x216),_0x480617=0x6,_0x409464=1.5,_0x45d918=0x4,_0x257a4a=1.5,_0x20e8f9=_0x3ceef6(0xad);class _0x139056{constructor(_0x2bef49,_0x3f6c5c,_0x57ce1,_0x28b823){const _0x83f933=_0x3ceef6;_0x1b84ec(this,'_shapes',[]),_0x1b84ec(this,'_anchor',null),_0x1b84ec(this,_0x83f933(0x128),null),_0x1b84ec(this,_0x83f933(0x350),null),_0x1b84ec(this,'_hideTimer',null),_0x1b84ec(this,_0x83f933(0x458),null),(this[_0x83f933(0x1ae)]=_0x2bef49,this[_0x83f933(0x29e)]=_0x3f6c5c,this['_docSkeleton']=_0x57ce1,this[_0x83f933(0x121)]=_0x28b823,this[_0x83f933(0x43e)]());}set[_0x3ceef6(0xd8)](_0x5428d6){const _0x22e10d=_0x3ceef6;_0x5428d6?(this['_anchorDot']&&this[_0x22e10d(0x350)][_0x22e10d(0x15b)](),this[_0x22e10d(0x128)]&&this['_textBubble'][_0x22e10d(0x38a)]()):(this[_0x22e10d(0x350)]&&this[_0x22e10d(0x350)]['show'](),this[_0x22e10d(0x128)]&&this['_textBubble'][_0x22e10d(0x15b)]());}['dispose'](){const _0x582885=_0x3ceef6;for(const _0x54df70 of this['_shapes'])_0x54df70[_0x582885(0x377)]();this[_0x582885(0x128)]&&this[_0x582885(0x128)][_0x582885(0x377)](),this['_anchorDot']&&this[_0x582885(0x350)][_0x582885(0x377)](),this[_0x582885(0xcc)]&&this[_0x582885(0xcc)][_0x582885(0x377)](),this[_0x582885(0x458)]&&this['_eventUnsubscribe']();}[_0x3ceef6(0x43e)](){const _0x2eb23c=_0x3ceef6,{_docSkeleton:_0x1cc288,_document:_0x227244}=this,{color:_0x5e3264,name:_0x321371,ranges:_0x565794}=this[_0x2eb23c(0x1ae)],_0x10a067=_0x227244[_0x2eb23c(0xc5)](),{docsLeft:_0x32f2ed,docsTop:_0x10e7b3}=_0x10a067,_0x18b90d=new _0x15516e['NodePositionConvertToCursor'](_0x10a067,_0x1cc288);for(const {startOffset:_0x5d5384,endOffset:_0x13682a,collapsed:_0x401a04,isActive:_0x2724bf}of _0x565794){const _0x6f9a77=_0x1cc288['findNodePositionByCharIndex'](_0x5d5384),_0x3446cd=_0x1cc288[_0x2eb23c(0x1e8)](_0x13682a);if(_0x2724bf){const {contentBoxPointGroup:_0x12b6fe}=_0x18b90d['getRangePointData'](_0x3446cd,_0x3446cd);if(_0x12b6fe[_0x2eb23c(0x346)]===0x0)continue;this[_0x2eb23c(0x357)](_0x5e3264,_0x12b6fe,_0x32f2ed,_0x10e7b3,_0x321371),this[_0x2eb23c(0x458)]=this[_0x2eb23c(0x26f)]();}if(!_0x401a04){const {contentBoxPointGroup:_0x275221}=_0x18b90d[_0x2eb23c(0x235)](_0x6f9a77,_0x3446cd);if(_0x275221[_0x2eb23c(0x346)]===0x0)continue;this[_0x2eb23c(0x190)](_0x5e3264,_0x275221,_0x32f2ed,_0x10e7b3);}}}[_0x3ceef6(0x357)](_0x24d16d,_0x2a9d64,_0x47280a,_0x481728,_0x4dcf6d){const _0x118287=_0x3ceef6,_0x5a8b7f=this[_0x118287(0x20d)](_0x2a9d64),{left:_0x55c521,top:_0x4e01fc,height:_0x30a9bc}=_0x5a8b7f,_0x57a531=this[_0x118287(0xe4)](),_0x5e883e=_0x257a4a/_0x57a531,_0x509064=new _0x15516e['Rect'](_0x506dfc+_0x24e1ed[_0x118287(0x11e)][_0x118287(0x20b)](_0x480617),{'left':_0x55c521+_0x47280a-_0x5e883e,'top':_0x4e01fc+_0x481728,'height':_0x30a9bc,'width':_0x409464,'fill':_0x24d16d||_0x15516e[_0x118287(0x461)](_0x24e1ed[_0x118287(0x108)]['black'],0x0),'strokeWidth':_0x5e883e,'stroke':_0x20e8f9,'evented':!0x0});this[_0x118287(0xcc)]=_0x509064,this[_0x118287(0x29e)][_0x118287(0x288)](_0x509064,_0x15516e['TEXT_RANGE_LAYER_INDEX']);const _0x3e1fde=new _0x15516e[(_0x118287(0x306))](_0x506dfc+_0x24e1ed[_0x118287(0x11e)]['generateRandomId'](_0x480617),{'left':_0x55c521+_0x47280a-_0x5e883e,'top':_0x4e01fc+_0x481728-_0x45d918/0x2,'height':_0x45d918,'width':_0x45d918,'fill':_0x24d16d||_0x15516e[_0x118287(0x461)](_0x24e1ed[_0x118287(0x108)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x24d16d||_0x15516e[_0x118287(0x461)](_0x24e1ed['COLORS'][_0x118287(0x37b)],0x0),'evented':!0x1});this[_0x118287(0x350)]=_0x3e1fde,this[_0x118287(0x29e)]['addObject'](_0x3e1fde,_0x15516e[_0x118287(0x3b4)]);const _0x4c9c67=new _0x4ec885(_0x506dfc+_0x24e1ed[_0x118287(0x11e)][_0x118287(0x20b)](_0x480617),{'left':_0x55c521+_0x47280a-_0x5e883e,'top':_0x4e01fc+_0x481728-_0x1b216a,'text':_0x4dcf6d,'color':_0x24d16d});this[_0x118287(0x128)]=_0x4c9c67,this[_0x118287(0x29e)]['addObject'](_0x4c9c67,_0x15516e[_0x118287(0x3b4)]),this['_hover']=!0x1;}[_0x3ceef6(0x26f)](){const _0x32aa8d=_0x3ceef6,_0x5302f2=this['_anchor'][_0x32aa8d(0xb4)][_0x32aa8d(0x211)](()=>{this['_hover']=!0x0;}),_0x102de9=this[_0x32aa8d(0xcc)][_0x32aa8d(0x422)]['subscribeEvent'](()=>{const _0x3c81fd=_0x32aa8d;this[_0x3c81fd(0x20a)]&&clearTimeout(this[_0x3c81fd(0x20a)]),this['_hideTimer']=setTimeout(()=>{const _0x4237cb=_0x3c81fd;this[_0x4237cb(0xd8)]=!0x1;},0x7d0);});return()=>{const _0x12845a=_0x32aa8d;_0x5302f2[_0x12845a(0x291)](),_0x102de9[_0x12845a(0x291)]();};}[_0x3ceef6(0x190)](_0x45a6dc,_0x41d3ce,_0x2ab940,_0x26c7ff){const _0x71961c=_0x3ceef6,_0x1fd16f=new _0x24e1ed['ColorKit'](_0x45a6dc)[_0x71961c(0x34d)](0.2)['toRgbString'](),_0x2e09d2=new _0x15516e[(_0x71961c(0x479))](_0x14e9cd+_0x24e1ed[_0x71961c(0x11e)][_0x71961c(0x20b)](_0x480617),{'pointsGroup':_0x41d3ce,'fill':_0x1fd16f||_0x15516e['getColor'](_0x24e1ed[_0x71961c(0x108)]['black'],0.2),'left':_0x2ab940,'top':_0x26c7ff,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x71961c(0x279)](_0x2e09d2),this[_0x71961c(0x29e)]['addObject'](_0x2e09d2,_0x15516e[_0x71961c(0x3b4)]);}[_0x3ceef6(0x20d)](_0x18f00a){const _0x1c74f1=_0x18f00a[0x0],_0xbf09d1=_0x1c74f1[0x0],_0x1d4e74=_0x1c74f1[0x2],{x:_0x20da9d,y:_0xc0cbf9}=_0xbf09d1,{x:_0x40f122,y:_0x5472f4}=_0x1d4e74;return{'left':_0x20da9d,'top':_0xc0cbf9,'width':_0x40f122-_0x20da9d,'height':_0x5472f4-_0xc0cbf9};}[_0x3ceef6(0xe4)](){const _0x2124a6=_0x3ceef6,{scaleX:_0x466102,scaleY:_0x32c2e4}=this[_0x2124a6(0x29e)][_0x2124a6(0x363)]();return Math[_0x2124a6(0x474)](_0x466102,_0x32c2e4);}}var _0xf754aa=Object['defineProperty'],_0x1fa6c6=Object['getOwnPropertyDescriptor'],_0x8fe292=(_0x2b3061,_0x47e2f8,_0x424278,_0x46c7f4)=>{const _0x158d9b=_0x3ceef6;for(var _0x41cb48=_0x46c7f4>0x1?void 0x0:_0x46c7f4?_0x1fa6c6(_0x47e2f8,_0x424278):_0x47e2f8,_0x21cdfb=_0x2b3061[_0x158d9b(0x346)]-0x1,_0x2e55fc;_0x21cdfb>=0x0;_0x21cdfb--)(_0x2e55fc=_0x2b3061[_0x21cdfb])&&(_0x41cb48=(_0x46c7f4?_0x2e55fc(_0x47e2f8,_0x424278,_0x41cb48):_0x2e55fc(_0x41cb48))||_0x41cb48);return _0x46c7f4&&_0x41cb48&&_0xf754aa(_0x47e2f8,_0x424278,_0x41cb48),_0x41cb48;},_0x5c5758=(_0x1726b9,_0x123829)=>(_0x2eba23,_0x1ac3a5)=>_0x123829(_0x2eba23,_0x1ac3a5,_0x1726b9);let _0x2e8e87=class extends _0x24e1ed[_0x3ceef6(0x379)]{constructor(_0x4482eb,_0x5963d0,_0x33540f,_0x42ee03,_0x3dc4d5){const _0x319baf=_0x3ceef6;super(),_0x1b84ec(this,_0x319baf(0x2a9),[]),(this[_0x319baf(0x396)]=_0x4482eb,this[_0x319baf(0x19d)]=_0x5963d0,this[_0x319baf(0x42f)]=_0x33540f,this['_renderManagerService']=_0x42ee03,this['_themeService']=_0x3dc4d5,this['_init']());}[_0x3ceef6(0x13c)](){const _0x1540cf=_0x3ceef6,_0x1cb320=this[_0x1540cf(0x396)][_0x1540cf(0x167)],_0x4e67d6=this['_docSkeletonManagerService'];this[_0x1540cf(0x184)](_0x5ba5b9['combineLatest']([this[_0x1540cf(0x42f)][_0x1540cf(0x1f8)](_0x1cb320),this['_themeService'][_0x1540cf(0x14f)]])[_0x1540cf(0x30e)](_0xb49021[_0x1540cf(0x315)](([_0x389d2e,_0x30027d])=>({'skeleton':_0x4e67d6[_0x1540cf(0x157)](),'cursors':[..._0x389d2e[_0x1540cf(0x179)]()][_0x1540cf(0x3b6)](_0x2de1ab=>({..._0x2de1ab,'color':_0x30027d[_0x2de1ab[_0x1540cf(0x462)]]}))})))[_0x1540cf(0x1b0)](_0x4907d5=>{if(this['_removeCollabCursors'](),_0x4907d5){const {skeleton:_0x263bae,cursors:_0x49144e}=_0x4907d5;this['_updateCollabCursors'](_0x263bae,_0x49144e);}}));}['_updateCollabCursors'](_0x6573e9,_0x5095d4){const _0x54f128=_0x3ceef6,{scene:_0x2cb2d5,mainComponent:_0x546148}=this['_context'],_0x9688b6=_0x5095d4[_0x54f128(0x315)](_0x2b380e=>new _0x139056(_0x2b380e,_0x2cb2d5,_0x6573e9,_0x546148));this[_0x54f128(0x2a9)]=_0x9688b6;}['_removeCollabCursors'](){const _0x5be037=_0x3ceef6;this['_cursors']['forEach'](_0x45a447=>_0x45a447[_0x5be037(0x377)]()),this[_0x5be037(0x2a9)]=[];}};_0x2e8e87=_0x8fe292([_0x24e1ed['OnLifecycle'](_0x24e1ed[_0x3ceef6(0xf7)][_0x3ceef6(0x299)],_0x2e8e87),_0x5c5758(0x1,_0x24e1ed[_0x3ceef6(0x48f)](_0x2c946a['DocSkeletonManagerService'])),_0x5c5758(0x2,_0x24e1ed[_0x3ceef6(0x48f)](_0x1c89c8)),_0x5c5758(0x3,_0x15516e[_0x3ceef6(0x35c)]),_0x5c5758(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed['ThemeService']))],_0x2e8e87);var _0x184def=Object[_0x3ceef6(0x2d1)],_0x3dc8b6=Object[_0x3ceef6(0x3fa)],_0x136a5f=(_0x102998,_0x34c88d,_0x283b68,_0x3fed37)=>{for(var _0x40df36=_0x3fed37>0x1?void 0x0:_0x3fed37?_0x3dc8b6(_0x34c88d,_0x283b68):_0x34c88d,_0x528b74=_0x102998['length']-0x1,_0x40bd67;_0x528b74>=0x0;_0x528b74--)(_0x40bd67=_0x102998[_0x528b74])&&(_0x40df36=(_0x3fed37?_0x40bd67(_0x34c88d,_0x283b68,_0x40df36):_0x40bd67(_0x40df36))||_0x40df36);return _0x3fed37&&_0x40df36&&_0x184def(_0x34c88d,_0x283b68,_0x40df36),_0x40df36;},_0x4a3361=(_0x484e06,_0x2041c0)=>(_0x3421aa,_0x3bd896)=>_0x2041c0(_0x3421aa,_0x3bd896,_0x484e06);let _0x297e98=class{constructor(_0x1e01f8,_0x23cdac,_0x3ca13c){const _0x13a593=_0x3ceef6;this[_0x13a593(0x421)]=_0x1e01f8,this[_0x13a593(0x1fe)]=_0x23cdac,this[_0x13a593(0x469)]=_0x3ca13c,this['init']();}[_0x3ceef6(0x143)](){const _0x5c6c43=_0x3ceef6;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xf8c6f,_0x5acfb4)=>_0x5acfb4(_0xf8c6f)[_0x5c6c43(0x30e)](_0x5ba5b9['concatMap'](async _0x28ce7b=>{const _0x2d5b68=_0x5c6c43,_0x285730=_0x28ce7b;if(_0x285730[_0x2d5b68(0x355)]===0x191&&window[_0x2d5b68(0x253)](this[_0x2d5b68(0x469)]['t'](_0x2d5b68(0x1c7)))){const _0x24ca95=window[_0x2d5b68(0x493)](window[_0x2d5b68(0x19b)][_0x2d5b68(0xfa)]);window[_0x2d5b68(0x19b)]['href']=this[_0x2d5b68(0x222)]()+_0x2d5b68(0x2df)+_0x24ca95;}return _0x285730;}))});}[_0x3ceef6(0x222)](){const _0x31b177=_0x3ceef6;var _0x2c32c2;return(_0x2c32c2=this[_0x31b177(0x421)][_0x31b177(0x10b)](_0x45de66))!=null?_0x2c32c2:_0x56de3f;}};_0x297e98=_0x136a5f([_0x4a3361(0x0,_0x24e1ed[_0x3ceef6(0x476)]),_0x4a3361(0x1,_0x24e1ed[_0x3ceef6(0x48f)](_0x2df7e0[_0x3ceef6(0x3ed)])),_0x4a3361(0x2,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x31c)]))],_0x297e98);var _0xe5d212=Object[_0x3ceef6(0x2d1)],_0x47fa15=Object[_0x3ceef6(0x3fa)],_0x1b23c7=(_0x33ee7b,_0x5cd049,_0x44cbef,_0x3b39ea)=>{const _0x5d9c9d=_0x3ceef6;for(var _0x11909d=_0x3b39ea>0x1?void 0x0:_0x3b39ea?_0x47fa15(_0x5cd049,_0x44cbef):_0x5cd049,_0x442f91=_0x33ee7b[_0x5d9c9d(0x346)]-0x1,_0x4e3303;_0x442f91>=0x0;_0x442f91--)(_0x4e3303=_0x33ee7b[_0x442f91])&&(_0x11909d=(_0x3b39ea?_0x4e3303(_0x5cd049,_0x44cbef,_0x11909d):_0x4e3303(_0x11909d))||_0x11909d);return _0x3b39ea&&_0x11909d&&_0xe5d212(_0x5cd049,_0x44cbef,_0x11909d),_0x11909d;},_0x25568b=(_0x543347,_0x3d06d1)=>(_0x1de8d0,_0x5ad968)=>_0x3d06d1(_0x1de8d0,_0x5ad968,_0x543347);const _0x203929=_0x3ceef6(0x1a2),_0x1395e6=_0x3ceef6(0x27e);_0x481c9f[_0x3ceef6(0x1c2)]=class extends _0x24e1ed['Disposable']{constructor(_0x126131,_0x1dc796){const _0x4cf321=_0x3ceef6;super(),this[_0x4cf321(0x326)]=_0x126131,this[_0x4cf321(0x421)]=_0x1dc796,this[_0x4cf321(0x22b)]();}['_initMergeInterceptor'](){const _0x281a38=_0x3ceef6,_0x5a69b7=this;this[_0x281a38(0x184)](this[_0x281a38(0x326)][_0x281a38(0x3cd)]({'priority':0x3e7,'interceptor':_0x2df7e0[_0x281a38(0x1d8)]({'isMatch'(_0x43a2d1){const _0x5be9b6=_0x281a38;var _0x48a6f9;if(_0x43a2d1[_0x5be9b6(0x261)]===_0x5be9b6(0x485)&&((_0x48a6f9=_0x43a2d1[_0x5be9b6(0x2fe)])!=null&&_0x48a6f9['body'])){const {objectID:_0x1cdf1f,objectType:_0x5c2b4c}=_0x43a2d1[_0x5be9b6(0x2fe)][_0x5be9b6(0x314)]||{};if(!_0x1cdf1f||_0x5c2b4c===void 0x0)return!0x1;const _0x3adce4=_0x5a69b7['_getAPIPrefixPath']()+'/'+_0x5c2b4c+'/object/'+_0x1cdf1f+'/allowed';if(_0x43a2d1[_0x5be9b6(0x1ab)]===_0x3adce4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x42139f){const _0x818d5c=_0x281a38;var _0x1d85fd;return(_0x1d85fd=_0x42139f['requestParams'])==null?void 0x0:_0x1d85fd[_0x818d5c(0x314)];},'mergeParamsToRequest'(_0x50abf9,_0x32aa5b){const _0x185822=_0x281a38,_0x5717a9=_0x5a69b7['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x2e17e8=_0x50abf9[_0x185822(0x171)]((_0x5b69f2,_0x128e84)=>{const {unitID:_0x3d0344,objectID:_0x1b4446,objectType:_0x2953f9,actions:_0x3f796e}=_0x128e84;return _0x5b69f2[_0x3d0344]||(_0x5b69f2[_0x3d0344]={}),_0x5b69f2[_0x3d0344][_0x1b4446]||(_0x5b69f2[_0x3d0344][_0x1b4446]={'objectID':_0x1b4446,'objectType':_0x2953f9,'actions':[]}),_0x5b69f2[_0x3d0344][_0x1b4446]['actions']['push'](..._0x3f796e),_0x5b69f2;},{}),_0x319581=[];for(const _0x1710d6 in _0x2e17e8)for(const _0x2bd597 in _0x2e17e8[_0x1710d6]){const {actions:_0x22b6a6,objectType:_0x45b639}=_0x2e17e8[_0x1710d6][_0x2bd597],_0x564f6c=[...new Set(_0x22b6a6)];_0x319581[_0x185822(0x279)]({'unitID':_0x1710d6,'objectID':_0x2bd597,'objectType':_0x45b639,'actions':_0x564f6c});}return new _0x2df7e0[(_0x185822(0xb3))](_0x185822(0x485),_0x5717a9,{'headers':_0x32aa5b[_0x185822(0x27a)],'withCredentials':_0x32aa5b[_0x185822(0x231)],'responseType':_0x32aa5b[_0x185822(0x494)],'body':{'requests':_0x319581}});}},{'distributeResult'(_0x4e08ad,_0x20af72){const _0x26f415=_0x281a38,{objectActions:_0x2d8e34}=_0x4e08ad;return _0x20af72[_0x26f415(0x315)](_0xccb6d2=>{const _0x1d86e3=_0x26f415,{unitID:_0x3f155f,objectID:_0x50cdea,actions:_0x25ba95}=_0xccb6d2,_0x3c26be=_0x2d8e34['find'](_0x5deef7=>_0x5deef7[_0x1d86e3(0x208)]===_0x3f155f&&_0x5deef7[_0x1d86e3(0x10d)]===_0x50cdea),_0x29ba89=_0x25ba95[_0x1d86e3(0x315)](_0x589103=>_0x3c26be==null?void 0x0:_0x3c26be['actions'][_0x1d86e3(0x336)](_0xd3333b=>_0xd3333b['action']===_0x589103))[_0x1d86e3(0xd0)](_0x4085eb=>!!_0x4085eb);return{'config':_0xccb6d2,'result':{'actions':_0x29ba89,'error':_0x4e08ad['error']}};});}})}));}[_0x3ceef6(0x1a4)](){const _0x465e30=_0x3ceef6;var _0x2f6aa2;return(_0x2f6aa2=this[_0x465e30(0x421)][_0x465e30(0x10b)](_0x203929))!=null?_0x2f6aa2:_0x1395e6;}async[_0x3ceef6(0x333)](_0x1d5a02){const _0x11a6cc=_0x3ceef6,_0x211df8=this[_0x11a6cc(0x1a4)]()+'/'+_0x1d5a02[_0x11a6cc(0x1af)]+_0x11a6cc(0x33c);return(await this[_0x11a6cc(0x326)][_0x11a6cc(0x290)](_0x211df8,{'body':_0x1d5a02}))[_0x11a6cc(0x314)][_0x11a6cc(0x10d)]||'';}async[_0x3ceef6(0x220)](_0x475f70){const _0x29f8a4=_0x3ceef6,_0x1095a1=this[_0x29f8a4(0x1a4)]()+_0x29f8a4(0x17b);return(await this[_0x29f8a4(0x326)]['post'](_0x1095a1,{'body':_0x475f70}))[_0x29f8a4(0x314)][_0x29f8a4(0x2f0)];}async[_0x3ceef6(0x1c1)](_0x49ecd7){const _0x25e10a=_0x3ceef6,_0x4eebe1=this[_0x25e10a(0x1a4)]()+'/'+_0x49ecd7[_0x25e10a(0x1af)]+_0x25e10a(0x1ed)+_0x49ecd7[_0x25e10a(0x10d)];await this[_0x25e10a(0x326)][_0x25e10a(0x28d)](_0x4eebe1,{'body':_0x49ecd7});}async[_0x3ceef6(0x12e)](_0x3861f9){const _0x26a050=_0x3ceef6,_0x437cc9=this[_0x26a050(0x1a4)]()+'/'+_0x3861f9[_0x26a050(0x1af)]+_0x26a050(0x1ed)+_0x3861f9[_0x26a050(0x10d)]+_0x26a050(0x240);return(await this[_0x26a050(0x326)][_0x26a050(0x290)](_0x437cc9,{'body':_0x3861f9}))[_0x26a050(0x314)][_0x26a050(0x1d0)];}async[_0x3ceef6(0xda)](_0x5ed239){const _0x1bc1ea=_0x3ceef6,_0xf16c32=this[_0x1bc1ea(0x1a4)]()+_0x1bc1ea(0x1b8);return(await this[_0x1bc1ea(0x326)][_0x1bc1ea(0x290)](_0xf16c32,{'body':{'requests':_0x5ed239}}))[_0x1bc1ea(0x314)][_0x1bc1ea(0x2e1)];}async['listRoles'](_0xa55ca0){const _0x2bd8da=_0x3ceef6,_0xe8ed7e=this[_0x2bd8da(0x1a4)]()+'/'+_0xa55ca0[_0x2bd8da(0x1af)]+_0x2bd8da(0x387),_0x428553=await this[_0x2bd8da(0x326)][_0x2bd8da(0x290)](_0xe8ed7e,{'body':_0xa55ca0});return{'roles':_0x428553[_0x2bd8da(0x314)][_0x2bd8da(0x257)],'actions':_0x428553['body']['actions']};}async[_0x3ceef6(0x331)](_0x47c7ca){const _0x39e1bd=_0x3ceef6,_0x56dd35=this[_0x39e1bd(0x1a4)]()+_0x39e1bd(0x473);await this[_0x39e1bd(0x326)][_0x39e1bd(0x15d)](_0x56dd35,{'params':{'collaboratorID':_0x47c7ca[_0x39e1bd(0x131)],'objectID':_0x47c7ca[_0x39e1bd(0x10d)],'unitID':_0x47c7ca[_0x39e1bd(0x208)]}});}async['updateCollaborator'](_0x3d552e){const _0x3a1fd8=_0x3ceef6,_0x5256f5=this[_0x3a1fd8(0x1a4)]()+_0x3a1fd8(0x473);await this[_0x3a1fd8(0x326)][_0x3a1fd8(0x2c7)](_0x5256f5,{'body':_0x3d552e});}async['createCollaborator'](_0x430a90){const _0x5b8193=_0x3ceef6,_0x26b985=this[_0x5b8193(0x1a4)]()+_0x5b8193(0x473);await this[_0x5b8193(0x326)][_0x5b8193(0x290)](_0x26b985,{'body':_0x430a90});}async[_0x3ceef6(0x2d8)](_0xe48ba1){const _0x181167=_0x3ceef6,_0x103ab4=this[_0x181167(0x1a4)]()+_0x181167(0x473);return(await this['_HTTPService'][_0x181167(0x414)](_0x103ab4,{'params':{'objectID':_0xe48ba1[_0x181167(0x10d)],'unitID':_0xe48ba1['unitID']}}))[_0x181167(0x314)][_0x181167(0x463)];}async['putCollaborators'](_0x4e9825){const _0x5b8d2d=_0x3ceef6,_0x43214e=this[_0x5b8d2d(0x1a4)]()+_0x5b8d2d(0x473);await this[_0x5b8d2d(0x326)]['put'](_0x43214e,{'body':_0x4e9825});}},_0x481c9f['AuthzIoHttpService']=_0x1b23c7([_0x25568b(0x0,_0x24e1ed[_0x3ceef6(0x48f)](_0x2df7e0['HTTPService'])),_0x25568b(0x1,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x476)]))],_0x481c9f[_0x3ceef6(0x1c2)]);var _0x484ca0=Object['defineProperty'],_0xc60f=Object['getOwnPropertyDescriptor'],_0x5160a4=(_0x5b3a73,_0x5cfb20,_0x582162,_0x500e45)=>{const _0x3e97a2=_0x3ceef6;for(var _0x531957=_0x500e45>0x1?void 0x0:_0x500e45?_0xc60f(_0x5cfb20,_0x582162):_0x5cfb20,_0x556646=_0x5b3a73[_0x3e97a2(0x346)]-0x1,_0x5416cc;_0x556646>=0x0;_0x556646--)(_0x5416cc=_0x5b3a73[_0x556646])&&(_0x531957=(_0x500e45?_0x5416cc(_0x5cfb20,_0x582162,_0x531957):_0x5416cc(_0x531957))||_0x531957);return _0x500e45&&_0x531957&&_0x484ca0(_0x5cfb20,_0x582162,_0x531957),_0x531957;},_0x28f6cf=(_0x46d1fc,_0x11f932)=>(_0x1650b2,_0x4bdad6)=>_0x11f932(_0x1650b2,_0x4bdad6,_0x46d1fc);const _0x635b41=[_0x3ceef6(0x281),_0x3ceef6(0x382),_0x3ceef6(0xcd),_0x3ceef6(0x319),'image/bmp'],_0x20e9df=0x5*0x400*0x400,_0x1b5890=_0x3ceef6(0x45d),_0x24c61b='/universer-api/stream/file/upload',_0x44f0c9=_0x3ceef6(0x3a4),_0x395b65=_0x3ceef6(0x1a0);_0x481c9f['ImageIoService']=class{constructor(_0xf84088,_0x361677){const _0x20b98e=_0x3ceef6;_0x1b84ec(this,_0x20b98e(0x29b),0x0),_0x1b84ec(this,'_change$',new _0x5ba5b9['Subject']()),_0x1b84ec(this,_0x20b98e(0x316),this[_0x20b98e(0x1ad)]),_0x1b84ec(this,_0x20b98e(0x347),new Map()),(this['_httpService']=_0xf84088,this[_0x20b98e(0x421)]=_0x361677);}['setWaitCount'](_0x44c967){const _0x5037be=_0x3ceef6;this[_0x5037be(0x29b)]=_0x44c967,this['_change$']['next'](_0x44c967);}[_0x3ceef6(0x400)](_0x90d3c3,_0x56c963){const _0x494f80=_0x3ceef6;if(_0x56c963===_0x35d26c['ImageSourceType'][_0x494f80(0x2ab)]){const _0x574b1a=new Image();return _0x574b1a[_0x494f80(0x1eb)]=_0x90d3c3,_0x574b1a;}return this[_0x494f80(0x347)]['get'](_0x90d3c3);}[_0x3ceef6(0x163)](_0x689486,_0x2d86e2,_0x276654){const _0x23da32=_0x3ceef6;_0x2d86e2===_0x35d26c[_0x23da32(0x38f)][_0x23da32(0x2ab)]||_0x276654==null||this[_0x23da32(0x347)][_0x23da32(0xe7)](_0x689486,_0x276654);}async[_0x3ceef6(0x1d9)](_0x348cc6){const _0x36f943=_0x3ceef6;try{const _0xc1a449=this['_replaceFileID'](this[_0x36f943(0xbd)](),''+_0x348cc6),_0x253198=(await this[_0x36f943(0x1fe)][_0x36f943(0x414)](_0xc1a449))[_0x36f943(0x314)];return _0x253198[_0x36f943(0x457)]&&_0x253198[_0x36f943(0x457)][_0x36f943(0x119)]===_0x2aa5e9['OK']?Promise[_0x36f943(0xe6)](_0x253198[_0x36f943(0x1ab)]):Promise['reject'](_0x253198[_0x36f943(0x457)]);}catch(_0x15a453){return Promise[_0x36f943(0xea)](_0x15a453);}}async[_0x3ceef6(0x392)](_0x56d091){const _0x3b62fb=_0x3ceef6;let _0x3f2563='';if(!_0x635b41[_0x3b62fb(0x39e)](_0x56d091[_0x3b62fb(0x223)]))return this['_decreaseWaiting'](),Promise[_0x3b62fb(0xea)](new Error(_0x35d26c[_0x3b62fb(0x33f)]['ERROR_IMAGE_TYPE']));if(_0x56d091[_0x3b62fb(0x1bb)]>_0x20e9df)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x35d26c[_0x3b62fb(0x33f)][_0x3b62fb(0x378)]));try{const _0x32723e=new FormData();_0x32723e[_0x3b62fb(0x292)]('file',_0x56d091);const _0x3dafb5=this[_0x3b62fb(0x432)]()+_0x3b62fb(0x3c4)+_0x56d091[_0x3b62fb(0x1bb)][_0x3b62fb(0xff)](),_0x3e5675=await(await fetch(_0x3dafb5,{'method':_0x3b62fb(0x485),'body':_0x32723e}))[_0x3b62fb(0x1e3)]();if(typeof _0x3e5675[_0x3b62fb(0x445)]!=_0x3b62fb(0x430))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x35d26c['ImageUploadStatusType'][_0x3b62fb(0x2ca)]));_0x3f2563=_0x3e5675[_0x3b62fb(0x445)];}catch{return this['_decreaseWaiting'](),Promise[_0x3b62fb(0xea)](new Error(_0x35d26c[_0x3b62fb(0x33f)][_0x3b62fb(0x2ca)]));}return new Promise((_0x16938d,_0x3c4955)=>{const _0x23e38a=_0x3b62fb,_0x1e2176=new FileReader();_0x1e2176[_0x23e38a(0x260)](_0x56d091),_0x1e2176[_0x23e38a(0x293)]=_0x4f4038=>{const _0x2891dd=_0x23e38a;var _0x5c60e5;const _0x2a716e=(_0x5c60e5=_0x4f4038[_0x2891dd(0x3ee)])==null?void 0x0:_0x5c60e5['result'];if(_0x2a716e==null){this[_0x2891dd(0x1ca)](),_0x3c4955(new Error(_0x35d26c[_0x2891dd(0x33f)][_0x2891dd(0x2ca)]));return;}const _0x182583=_0x24e1ed[_0x2891dd(0x11e)]['generateRandomId'](0x6);_0x16938d({'imageId':_0x182583,'imageSourceType':_0x35d26c[_0x2891dd(0x38f)]['UUID'],'source':_0x3f2563,'base64Cache':_0x2a716e,'status':_0x35d26c[_0x2891dd(0x33f)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x3ceef6(0x432)](){const _0x587f89=_0x3ceef6;var _0x20e47d;return(_0x20e47d=this[_0x587f89(0x421)][_0x587f89(0x10b)](_0x1b5890))!=null?_0x20e47d:_0x24c61b;}[_0x3ceef6(0xbd)](){const _0x59a1a8=_0x3ceef6;var _0x24563e;return(_0x24563e=this[_0x59a1a8(0x421)][_0x59a1a8(0x10b)](_0x44f0c9))!=null?_0x24563e:_0x395b65;}[_0x3ceef6(0x286)](_0x1a3c82,_0x1981ff){const _0x200bf8=_0x3ceef6;return _0x1a3c82[_0x200bf8(0x130)](_0x200bf8(0x48c),_0x1981ff);}['_decreaseWaiting'](){const _0x42fdaa=_0x3ceef6;this[_0x42fdaa(0x29b)]-=0x1,this['_change$'][_0x42fdaa(0x48b)](this[_0x42fdaa(0x29b)]);}},_0x481c9f[_0x3ceef6(0x196)]=_0x5160a4([_0x28f6cf(0x0,_0x24e1ed[_0x3ceef6(0x48f)](_0x2df7e0['HTTPService'])),_0x28f6cf(0x1,_0x24e1ed[_0x3ceef6(0x476)])],_0x481c9f['ImageIoService']);var _0x2d12fa=Object[_0x3ceef6(0x2d1)],_0x5a70f4=Object[_0x3ceef6(0x3fa)],_0x244961=(_0x57ec75,_0x4d2fe4,_0x3c1e0f,_0x5a15b1)=>{const _0xf8fbd8=_0x3ceef6;for(var _0x243a6f=_0x5a15b1>0x1?void 0x0:_0x5a15b1?_0x5a70f4(_0x4d2fe4,_0x3c1e0f):_0x4d2fe4,_0x5b216b=_0x57ec75[_0xf8fbd8(0x346)]-0x1,_0x4e5330;_0x5b216b>=0x0;_0x5b216b--)(_0x4e5330=_0x57ec75[_0x5b216b])&&(_0x243a6f=(_0x5a15b1?_0x4e5330(_0x4d2fe4,_0x3c1e0f,_0x243a6f):_0x4e5330(_0x243a6f))||_0x243a6f);return _0x5a15b1&&_0x243a6f&&_0x2d12fa(_0x4d2fe4,_0x3c1e0f,_0x243a6f),_0x243a6f;},_0x707e58=(_0x487f4f,_0x3f08a6)=>(_0x4e16ec,_0x9f4853)=>_0x3f08a6(_0x4e16ec,_0x9f4853,_0x487f4f);let _0x5ec7df=class extends _0x24e1ed['RxDisposable']{constructor(_0x581206,_0x56e006,_0x15938b,_0x38c86f,_0x2eb34f){const _0x1de650=_0x3ceef6;super(),this['_injector']=_0x581206,this[_0x1de650(0x198)]=_0x56e006,this['_permissionService']=_0x15938b,this['_collaborationSessionService']=_0x38c86f,this[_0x1de650(0x109)]=_0x2eb34f,this[_0x1de650(0x287)](),this[_0x1de650(0x3cc)]();}[_0x3ceef6(0x3cc)](){const _0x3820d6=_0x3ceef6,_0xa80ab9=async _0x11fe60=>{const _0x3c5243=_0x5b63;(await this['_collaborationSessionService'][_0x3c5243(0x1b9)](_0x11fe60))[_0x3c5243(0x247)][_0x3c5243(0x30e)](_0xb49021[_0x3c5243(0xd0)](_0x37c87c=>_0x37c87c[_0x3c5243(0x17c)]===_0x3c4c3c[_0x3c5243(0x3ce)]['SHOULD_CLOSE_CONN']),_0xb49021[_0x3c5243(0x2c3)](this[_0x3c5243(0x318)]))[_0x3c5243(0x1b0)](_0x4bde40=>{const _0x2bc827=_0x3c5243,_0x2efa93=_0x4bde40,{reason:_0x315b60}=_0x2efa93[_0x2bc827(0x2e4)];this[_0x2bc827(0x376)][_0x2bc827(0x414)](_0x279279[_0x2bc827(0x3a7)])[_0x2bc827(0x38a)]({'type':_0x49b15b[_0x2bc827(0x1b6)]['Error'],'content':this[_0x2bc827(0x109)]['t']('collaboration.closeRoom')+'('+_0x315b60+')'}),this[_0x2bc827(0x4a2)][_0x2bc827(0x323)](new _0x5e02d9[(_0x2bc827(0x232))](_0x11fe60)['id'],!0x1),this[_0x2bc827(0x492)][_0x2bc827(0x335)](_0x11fe60);});};_0x5ba5b9[_0x3820d6(0x36f)](this[_0x3820d6(0x198)][_0x3820d6(0x1e5)](_0x24e1ed[_0x3820d6(0x1dd)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x24e1ed[_0x3820d6(0x1dd)][_0x3820d6(0x192)]))['pipe'](_0xb49021[_0x3820d6(0x315)](_0xc74eb7=>_0xc74eb7[_0x3820d6(0x398)]()),_0xb49021[_0x3820d6(0xd0)](_0x2cadf2=>!_0x24e1ed[_0x3820d6(0x38d)](_0x2cadf2)),_0xb49021[_0x3820d6(0x2c3)](this[_0x3820d6(0x318)]))['subscribe'](_0x44c942=>{_0xa80ab9(_0x44c942);});}[_0x3ceef6(0x287)](){const _0x4be264=_0x3ceef6,_0x50c1a7=async _0x17d8e4=>{const _0x3b0748=_0x5b63;(await this[_0x3b0748(0x492)][_0x3b0748(0x1b9)](_0x17d8e4))['event$'][_0x3b0748(0x30e)](_0xb49021[_0x3b0748(0xd0)](_0x11277c=>_0x11277c[_0x3b0748(0x17c)]===_0x3c4c3c[_0x3b0748(0x3ce)][_0x3b0748(0x19a)]),_0xb49021[_0x3b0748(0x2c3)](this[_0x3b0748(0x318)]))[_0x3b0748(0x1b0)](_0x33720c=>{const _0xfb646c=_0x3b0748,_0x22c46e=_0x33720c,{objectId:_0x3dfb77}=_0x22c46e[_0xfb646c(0x2e4)];_0x3dfb77===_0x17d8e4&&this[_0xfb646c(0x376)][_0xfb646c(0x414)](_0x5a7986['SheetPermissionInitController'])[_0xfb646c(0xce)](_0x17d8e4);});};_0x5ba5b9['merge'](this['_univerInstanceService'][_0x4be264(0x1e5)](_0x24e1ed[_0x4be264(0x1dd)][_0x4be264(0x2b3)]),this[_0x4be264(0x198)][_0x4be264(0x1e5)](_0x24e1ed[_0x4be264(0x1dd)][_0x4be264(0x192)]))[_0x4be264(0x30e)](_0xb49021['map'](_0x157103=>_0x157103[_0x4be264(0x398)]()),_0xb49021[_0x4be264(0xd0)](_0x2eec16=>!_0x24e1ed[_0x4be264(0x38d)](_0x2eec16)),_0xb49021[_0x4be264(0x2c3)](this[_0x4be264(0x318)]))['subscribe'](_0x5e41f8=>{_0x50c1a7(_0x5e41f8);});}};_0x5ec7df=_0x244961([_0x24e1ed['OnLifecycle'](_0x24e1ed[_0x3ceef6(0xf7)][_0x3ceef6(0x1a3)],_0x5ec7df),_0x707e58(0x0,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)])),_0x707e58(0x1,_0x24e1ed[_0x3ceef6(0x36c)]),_0x707e58(0x2,_0x24e1ed['IPermissionService']),_0x707e58(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x481c9f[_0x3ceef6(0x2e6)])),_0x707e58(0x4,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x31c)]))],_0x5ec7df);var _0x3ec4ea=Object[_0x3ceef6(0x2d1)],_0x4483a9=Object[_0x3ceef6(0x3fa)],_0x196064=(_0x3e3e05,_0x3b076d,_0x5cee59)=>_0x3b076d in _0x3e3e05?_0x3ec4ea(_0x3e3e05,_0x3b076d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cee59}):_0x3e3e05[_0x3b076d]=_0x5cee59,_0x48112c=(_0x3ecb15,_0x3fe2dd,_0x314428,_0x8e7d9)=>{const _0x86d8c3=_0x3ceef6;for(var _0x2c0371=_0x8e7d9>0x1?void 0x0:_0x8e7d9?_0x4483a9(_0x3fe2dd,_0x314428):_0x3fe2dd,_0x4061c9=_0x3ecb15[_0x86d8c3(0x346)]-0x1,_0x3911ab;_0x4061c9>=0x0;_0x4061c9--)(_0x3911ab=_0x3ecb15[_0x4061c9])&&(_0x2c0371=(_0x8e7d9?_0x3911ab(_0x3fe2dd,_0x314428,_0x2c0371):_0x3911ab(_0x2c0371))||_0x2c0371);return _0x8e7d9&&_0x2c0371&&_0x3ec4ea(_0x3fe2dd,_0x314428,_0x2c0371),_0x2c0371;},_0x69a9cb=(_0x55860,_0x1fd2ae)=>(_0x39cab9,_0x293257)=>_0x1fd2ae(_0x39cab9,_0x293257,_0x55860),_0x3b2e39=(_0x5b3914,_0x3b32b6,_0x4d9816)=>_0x196064(_0x5b3914,_0x3b32b6+'',_0x4d9816);const _0x209a27=_0x3ceef6(0x155);_0x481c9f[_0x3ceef6(0x31e)]=class extends _0x24e1ed['Plugin']{constructor(_0x41703c,_0x3da872,_0x2e0faa,_0x568c03){const _0x49926c=_0x3ceef6;super(),this[_0x49926c(0x12f)]=_0x41703c,this[_0x49926c(0x256)]=_0x3da872,this[_0x49926c(0x475)]=_0x2e0faa,this[_0x49926c(0x376)]=_0x568c03;}[_0x3ceef6(0x270)](_0x2e6c38){const _0x1a41c7=_0x3ceef6;this[_0x1a41c7(0x45a)](_0x2e6c38);}[_0x3ceef6(0x41c)](){const _0x516ede=_0x3ceef6;this[_0x516ede(0x175)]();}[_0x3ceef6(0x45a)](_0x4daa1a){const _0x73a6e6=_0x3ceef6;var _0x400819,_0x144e5d,_0x458666,_0x5d85bf;_0x4daa1a[_0x73a6e6(0x245)](_0x24e1ed[_0x73a6e6(0x1f4)])&&this[_0x73a6e6(0x256)][_0x73a6e6(0x457)](_0x73a6e6(0x3f3),_0x73a6e6(0x1e6));let _0x137e08=[[_0x24e1ed['IUndoRedoService'],{'useClass':_0x26c297}],[_0x481c9f[_0x73a6e6(0x2e6)]],[_0x43bf67],[_0x2df7e0[_0x73a6e6(0x3ed)]],[_0xc2175,{'useClass':_0x3a3c68}],[_0x29dad0],[_0x481c9f[_0x73a6e6(0x271)]],[_0x2df7e0[_0x73a6e6(0x16a)]],[_0x1170ae],[_0x72a7c8],[_0x2884fa],[_0x5a4f60],[_0x297e98],[_0x34d671],[_0x5ec7df],[_0x21ae3a,{'useClass':(_0x144e5d=(_0x400819=this[_0x73a6e6(0x12f)])==null?void 0x0:_0x400819[_0x73a6e6(0x21b)])!=null?_0x144e5d:_0x481c9f[_0x73a6e6(0x35b)]}],[_0x2df7e0[_0x73a6e6(0x17d)],{'useClass':_0x2df7e0[_0x73a6e6(0x22a)]}],[_0x24e1ed['ISnapshotServerService'],{'useClass':_0x481c9f['SnapshotServerOverHTTPService']}],[_0x24e1ed[_0x73a6e6(0x14b)],{'useClass':_0x481c9f['AuthzIoHttpService']}],[_0x35d26c[_0x73a6e6(0x226)],{'useClass':_0x481c9f[_0x73a6e6(0x196)]}],[_0x481c9f[_0x73a6e6(0x3b2)]],[_0x481c9f[_0x73a6e6(0x273)]],[_0x481c9f[_0x73a6e6(0x33a)]],[_0x310dfd],[_0x1c89c8]];(_0x458666=this[_0x73a6e6(0x12f)])!=null&&_0x458666['enableSingleActiveInstanceLock']&&_0x137e08[_0x73a6e6(0x279)]([_0x45c59f,{'useClass':_0x1d3fc2}]),_0x137e08=_0x24e1ed[_0x73a6e6(0x40e)](_0x137e08,(_0x5d85bf=this[_0x73a6e6(0x12f)])==null?void 0x0:_0x5d85bf[_0x73a6e6(0x437)]),_0x137e08[_0x73a6e6(0x115)](_0x49c597=>_0x4daa1a[_0x73a6e6(0x46d)](_0x49c597)),this[_0x73a6e6(0x236)]();}[_0x3ceef6(0x175)](){const _0x46f8db=_0x3ceef6;this[_0x46f8db(0x184)](this['_renderManagerService']['registerRenderModule'](_0x24e1ed[_0x46f8db(0x1dd)][_0x46f8db(0x192)],[_0x2e8e87])),this['disposeWithMe'](this[_0x46f8db(0x475)]['registerRenderModule'](_0x24e1ed[_0x46f8db(0x1dd)]['UNIVER_SHEET'],[_0x2998bc]));}[_0x3ceef6(0x236)](){const _0x32b2cc=_0x3ceef6;var _0x3b2032,_0x13afdd;this[_0x32b2cc(0x376)][_0x32b2cc(0x414)](_0x2df7e0[_0x32b2cc(0x3ed)])[_0x32b2cc(0x3cd)]({'priority':0x14,'interceptor':_0x2df7e0[_0x32b2cc(0x41f)]({'maxParallel':0x6})}),(_0x3b2032=this[_0x32b2cc(0x12f)])!=null&&_0x3b2032[_0x32b2cc(0x418)]||this[_0x32b2cc(0x376)]['get'](_0x481c9f[_0x32b2cc(0x271)])['disableLocalCache'](),(_0x13afdd=this[_0x32b2cc(0x12f)])!=null&&_0x13afdd[_0x32b2cc(0x2c2)]&&this[_0x32b2cc(0x376)][_0x32b2cc(0x414)](_0x297e98);}},_0x3b2e39(_0x481c9f[_0x3ceef6(0x31e)],_0x3ceef6(0xcb),_0x209a27),_0x481c9f[_0x3ceef6(0x31e)]=_0x48112c([_0x24e1ed[_0x3ceef6(0xfb)](_0x3c4c3c['UniverCollaborationPlugin']),_0x69a9cb(0x1,_0x24e1ed['ILogService']),_0x69a9cb(0x2,_0x15516e['IRenderManagerService']),_0x69a9cb(0x3,_0x24e1ed[_0x3ceef6(0x48f)](_0x24e1ed[_0x3ceef6(0x405)]))],_0x481c9f[_0x3ceef6(0x31e)]),_0x481c9f['AUTHZ_URL_KEY']=_0x203929,_0x481c9f[_0x3ceef6(0xc4)]=_0x40ed60,_0x481c9f[_0x3ceef6(0x252)]=_0x4d2ef0,_0x481c9f[_0x3ceef6(0x2c6)]=_0x5a1c45,_0x481c9f[_0x3ceef6(0x217)]=_0x43c850,_0x481c9f[_0x3ceef6(0x3db)]=_0x34d671,_0x481c9f[_0x3ceef6(0x214)]=_0x48841c,_0x481c9f[_0x3ceef6(0x42e)]=_0x9d9eaa,_0x481c9f[_0x3ceef6(0x28a)]=_0x21ae3a,_0x481c9f['IURLService']=_0xc2175,_0x481c9f['LOCAL_CACHE_INTERVAL_KEY']=_0x4d3b79,_0x481c9f[_0x3ceef6(0x404)]=_0x45de66,_0x481c9f[_0x3ceef6(0x471)]=_0x274600,_0x481c9f['SNAPSHOT_SERVER_URL_KEY']=_0x6544dc,_0x481c9f[_0x3ceef6(0x415)]=_0x53b238,_0x481c9f['SessionStatus']=_0x4ad0db,_0x481c9f[_0x3ceef6(0x266)]=_0x9909c4,_0x481c9f[_0x3ceef6(0x1f6)]=_0x3a3c68,_0x481c9f[_0x3ceef6(0x1a1)]=_0x1ada2b,_0x481c9f[_0x3ceef6(0xf2)]=_0x3a7309,Object[_0x3ceef6(0x2d1)](_0x481c9f,Symbol[_0x3ceef6(0x41a)],{'value':_0x3ceef6(0x1a9)});}));function _0x1e11(){const _0x406a20=['_render','IDLE','_clearUndo','_unitID','clipPath','leaveEvent','_startSheetCollabCursor','FileId','urlChange$','isTransformMutationsWithChangesetSuccess','UserManagerService','textEncoder','snapshot','_undoRedoService','OnLineSingle','MSG_FOR_ERROR','roomMembers$','column','InsertRangeMoveRightCommandId','state$','drawWith','some','m1Prime','currentColor','key','error','_eventUnsubscribe','LICENSE_IMPORT_SIZE_EXCEEDED','_registerDependencies','USERS_LEAVE','assign','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','UniverDesign','RefRangeService','assignAColorForMemberID','getColor','color','collaborators','tag','IContextService','[PendingState]:\x20received\x20rejection.','c1Prime','getMember','localeService','_toggleOffline','ranges','unit','add','[CollaborationSessionService]:\x20socket\x20error','_syncEditingCollabCursor','replaceTextRanges','SEND_CHANGESET_TIMEOUT_KEY','displayName','/collaborator','max','_renderManagerService','IConfigService','setUndoRedoMutationParamsCache','_onFetchMissResult','RegularPolygon','defIds','children','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','univerjs-icon\x20univerjs-icon-','DisposableCollection','lodash','history','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onRecvEvent','_docTransformIMECacheService','saveSnapshot','POST','toggleOnline','_userManagerService','APPLY_NON_SEQUENTIAL_REVISION','_getSaveTimeout','#FFF','next','{fileID}','onlyLocal','_collabCursorState$','Inject','height','getActiveSheet','_collaborationSessionService','encodeURIComponent','responseType','112ugHypW','_scheduleCollaborationTimeoutTimer','object','members','extend','path','fromEvent','m2Prime','574600ImNtqR','/universer-api/snapshot/','@univerjs/rpc','updateCursorEvent','getOwnPropertySymbols','_permissionService','rgba(255,\x20255,\x20255,\x200.01)','12nIRrrF','OffLineSingle','UniverCollaboration','/fetchmissing?from=','_transformPreviousActiveRange','HTTPRequest','onPointerEnter$','off-line-single','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformSelections','_entityInit$','onCommandExecuted','getSheetBySheetId','_heartbeatTimer','isActive','_getSignURL','params','appendMutation','USERS_ENTER','CollaborationSession','/unit/','clearTimeout','COLLAB_SUBMIT_CHANGESET_URL_KEY','getOffsetConfig','_colorAssignService','isArray','...','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','originalMeta','pluginName','_anchor','image/jpg','initWorkbookPermissionChange','Optional','filter','_updateSubUnitFromURLParams','_selfUnitIDs','useDependency','_transformRemoteChangesetByIMECache','SEND_CHANGESET_TIMEOUT','CHANGESET_REVISION_CONFILICT','getActiveRange','_hover','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','batchAllowed','setInterval','substring','save','take','_status$','/block/','_collaborationTimeoutTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getScale','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','resolve','set','getResourcesRequest','joinEvent','reject','AWAITING','permission.title','fromCollab','off-line-single_clip0_910_343','toggleOffline','fetchThroughInterceptors','onlineStatus','serializeCombRequest','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','MoveRangeCommandId','syncEditingCollabCursor','className','LifecycleStages','interceptor','UNAUTHENTICATED','href','DependentOn','onMissedChangesetFetched','NEW_CHANGESETS','sheets','toString','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_send','_disableEditing','_incrementRevisionNumber','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearLocalCache','collabStatus.offline','rev','COLORS','_localeService','_setupSubUnitSync','getConfig','defs','objectID','_clearHeartbeatTimer','_applyRemoteChangeset','liveShareOperation','_createInitialState','subunit','\x0aCurrent:\x20','entries','forEach','workbook','_awaitingChangeset','_members','code','runRefRangeMutations','onStateChange','_clearRedo','failed\x20to\x20apply\x20missed\x20changesets!','Tools','_rescheduleHeartbeatEvent','_queuedRemoteChangesets','_document','@univerjs/drawing','_roomMembers','isTransformMutationsWithChangesetFailure','_submitChangeset','_sendHeartbeatTimer','on-line-single_clip0_910_349','_textBubble','RemoveRowCommandId','arc','collaboration-client.offline-data-not-saved','Workbook','_sessions','allowed','_config','replace','collaboratorID','fetch_missing','ILocalStorageService','INVALID_ARGUMENT','_onJoinRoomEvent','_ws','attrs','_singleActiveUnitService','React','Unknown\x20user','_retryCount','_init','onCommentUpdate','getSheetBlock','updateMember','_localCacheService','_removeClearOtherTimer','translate(.97)','init','_online','fillStyle','univer-online-status','_uiPartsService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','awaiting_with_pending','operators','IAuthzIoService','createSocket','getUniverSheetInstance','endRow','currentTheme$','_handleEvent','getValue','getSheetId','catch','handleIRemoveCol','UNIVER_COLLABORATION_CLIENT_PLUGIN','encode','getSkeleton','getFocusedUnit','[CollaborationUndoRedoService]','split','hide','combineLatest','delete','DocStateChangeManagerService','makeDirty','_scheduleHeartbeat','IBeforeCloseService','conflict','addImageSourceCache','xlink:href','onRemoteRej','JOINING','unitId','fill','onRemoteChangeset','WebSocketService','handleIRemoveRow','HEARTBEAT_INTERVAL','_pendingMutations','roomInfos','IPermissionService','selections','reduce','amd','collabStatus.fetchMiss','_onMessage','_registerRenderDependencies','COMMENT_UPDATE','TextSelectionManagerService','top','values','[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.','/-/object/list','eventID','IHTTPImplementation','UniverSheets','status$','univer-online','_revisionService','resend','sheetID','disposeWithMe','Error','_showConflictNotification','exhaustSavingTask','collabCursorState$','debounce','div','handleDeleteRangeMoveLeft','_handleHeartbeatEvent','[SyncedState]:\x20received\x20rejection.','FAIL','toDisposable','_drawRange','socket\x20close','UNIVER_DOC','onTransformIME','getCoordByCell','_onRefRangeChange','ImageIoService','b64DecodeUnicode','_univerInstanceService','getCollabEntity','UPDATE_PERMISSION_OBJ','location','ws://127.0.0.1:8000/universer-api/comb/connect','_docSkeletonManagerService','_executeRemoteChangeset','roomMembers','/universer-api/file/{fileID}/sign-url','deserializeToCombResponse','AUTHZ_URL_KEY','Starting','_getAPIPrefixPath','fillText','@univerjs/design','LOCAL_CACHE_INTERVAL','_toggleOnline','Module','searchParams','url','getUndoRedoMutationParamsCache','_change$','_cursor','objectType','subscribe','stringify','Error\x20on\x20receiving\x20event','_unitStatus','Ready','_onCombEvent','MessageType','_clearCollaborationTimeoutTimer','/-/object/-/batch_allowed','requireSession','Shape','size','INGEST','FromArray','_joinRoom','loadOfflineData','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','update','AuthzIoHttpService','url(#on-line-single_clip0_910_349)','createInstance','_onRemoteRejected','_roomMembers$','auth.needGotoLoginAlert','LIVESHARE_TERMINATE','_cursorInfo$','_decreaseWaiting','collabStatus.synced','AWAITING_WITH_PENDING','lineTo','isPermissionRej','disposeUnit','actions','revision','NO_OTHER_CLIENTS_EDITING','uni.network.url-service','whenReady','CHANGESET_ACK','_initStatusListener','onRemoteAck','MergeInterceptorFactory','getImage','url(#$1','collabStatus.syncing','_removeCollabCursors','UniverInstanceType','_updateState','then','_memberService','connectInjector','permission.content','json','setShapeProps','getTypeOfUnitAdded$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','editingUnit','findNodePositionByCharIndex','2410OasyNf','_unitOnClients','src','sequenceExecute','/object/','focused$','_lastPointer','INTERNAL_ERROR','[CollaborationSessionService]','colorChannel1','debug','IUndoRedoService','conflict.content','WebURLService','_waitForHeartbeatResponse','getCollabCursors$','LIVESHARE_OPERATION','saveOfflineData','[PendingState]:\x20received\x20acknowledgement.','SetWorksheetActivateCommand','getTypeOfUnitDisposed$','_httpService','shouldCloseConn','editing\x20status\x20changed\x20to','slice','VIEW_MAIN','M0\x200H16V16H0z','CONFLICT','FETCH_MISSING','SetTextSelectionsOperation','1411927EPysgL','unitID','onSyncEditingCollabCursor','_hideTimer','generateRandomId','_name','_getAnchorBounding','registerOnClose','_getAPIPrefix','IUIPartsService','subscribeEvent','selection','_onCursorDelete','HEARTBEAT_INTERVAL_KEY','updatePermissionObjEvent','collab-text-range-','CollaborationStatusDisplay','connection\x20error','parseProtocolChangeset','@univerjs-pro/collaboration','socketService','getCurrentSelections','COLLAB_WEB_SOCKET_URL','_localStorageService','@univerjs/core','list','SetSelectionsOperation','_getLoginPath','type','getUnitOnRev','_clearOtherTimers','IImageIoService','measureText','jiqing500','_assignedColors','XHRHTTPImplementation','_initMergeInterceptor','complete','_scheduleClearOtherTimer','_lockTransition','closePath','_updateLocalCursor','withCredentials','WorkbookEditablePermission','univer-online-status-title','pauseCollaboration','getRangePointData','_initModules','_getCurrentRevision','transformSelections','UniverDocs','UniverSheetsUi','onlineStatusTitle','unshift','LocalUndoRedoService','_color','error$','/allowed','InsertSheetMutation','moveTo','_scheduleSaving','@univerjs/docs','has','_socketReady','event$','transform','indexOf','CommandType','c2Prime','_checkMissing','INotificationService','saveChangeset','DEFAULT_FILE_NAME','ILogService','deepClone','COLLAB_WEB_SOCKET_URL_KEY','confirm','replaceState','@univerjs/sheets-ui','_logService','roles','_range','224682plJfTX','SYNCED','getUnhiddenWorksheets','_socket$','_handleJoinEvent','OnLifecycle','_commentService','readAsDataURL','method','pushState','loadDoc','_createHandler','joinRsp','SheetCollabCursorShape','_tryEnsureSocket','getRoom','transformUndoRedo','result','[OfflineState]:\x20received\x20acknowledgement.','fetching\x20missing\x20changesets\x20from\x20','Disposable','propertyIsEnumerable','_handleHover','onStarting','LocalCacheService','getCurrentUser','DataLoaderController','_startCollaboration','clsx','unknown','_saveCache','@univerjs/engine-render','push','headers','message$','OFFLINE','parse','/universer-api/authz','_transformStack','close$','image/png','rxjs','1em','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_commandService','_replaceFileID','_initUnitPermissionChange','addObject','\x20-\x20','ICollaborationSocketService','EmptyMutation','_transformIMECache','put','ICommandService','SheetsSelectionsService','post','unsubscribe','append','onload','concat','CompressMutationService','gold400','[CollaborationState]:\x20apply\x20error!','_transformUndoRedoStack','Steady','serializeRangeWithSheet','_waitCount','isTransformMutationFailure','transformMutation','_scene','CHANGESET_REJ','@univerjs/network','red300','transformStack\x20failed!','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UNIVER_UNKNOWN','_transitionLocked','_onConnectionOpen','rxjs/operators','OTHER_CLIENTS_EDITING','_cursors','createElement','BASE64','_syncEditingCollabCursorService','univer-online-status-icon','memberID','_substituteUndoStack','react','_initStatusComponent','UniverNetwork','UNIVER_SHEET','online','_removeRoom','HELLO','userID','call','getInterceptPoints','restore','from','getParam','_transformSelections','\x20to\x20','_snapshotServerService','@univerjs/sheets','_updateLocalCache','enableAuthServer','takeUntil','@univerjs/engine-formula','collab-text-anchor-','CollaborationStatus','patch','_collaborationPaused','removeParam','ERROR_IMAGE','getCurrentRevForDocument','\x20in\x20_schedule.','ITransformService','asObservable','commentUpdateEvent','PERMISSION_REJ','defineProperty','_disabled','setTimeout','APPLY_REVISION_CONFILICT','mapTo','function','current','listCollaborators','serializeTextRange','getItem','_socketMessageSubscription','_refRangeService','clearInterval','TOO_MANY_REQUESTS','?url=','_onConflict','objectActions','newCsEvent','UniverIcon','data','handleDeleteRangeMoveUp','CollaborationSessionService','fetchMissingChangesets','commentUpdate$','/universer-api/snapshot','cursorInfo','row','_urlService','icon','backgroundColor','executeCommand','objects','/resources','InsertColCommandId','COMPRESS_MUTATION_SEND','handleInsertRangeMoveDown','_getSheetObject','_messageService','InsertRangeMoveDownCommandId','_transformUndoredo','getSheetObject','_retryConnectingTimer','purple300','handleInsertRow','collabStatus.conflict','requestParams','APPLY_PERMISSION_DENIED','blue400','_id','_backgroundColor','collaboration.single-unit.warning','RemoveColCommandId','_exhaustRemoteChangesetQueue','Rect','[CollaborationSession]','getVpScrollXYInfoByPosToVp','_onConnectionFailed','UniverEngineFormula','_loadDoc','text','_loadSheet','pipe','1397268BgNZed','cmd','transformRemoteChangeset','_updateCollabCursors','SnapshotServerOverHTTPService','body','map','change$','SheetSkeletonManagerService','dispose$','image/gif','awaiting','isTransformChangesetsSuccess','LocaleService','YUUMI_URL_COL_OUT_OF_RANGE','UniverCollaborationClientPlugin','_entities','exports','_snapshotService','_getSendChangesetTimeout','updatePermissionPoint','LICENSE_EXPORT_SIZE_EXCEEDED','_ensureSubject','_HTTPService','ThemeService','_notificationService','name','ONLINE','changesets','_updateURLWithCurrentState','_createSocket','symbol','_state','_onRemoteChangeset','deleteCollaborator','registerComponent','create','getUnitStatus$','closeSession','find','univer-pro.collaboration-client.single-active-unit-service','font','NOT_COLLAB','DesktopCollaborationStatusDisplayController','LICENSE_DISTRO_REJECTED','/object','InsertRowCommandId','getCellPositionByOffset','ImageUploadStatusType','_scheduleReconnection','DeleteRangeMoveUpCommandId','/rev/','UniverDrawing','SNAPSHOT_HAS_BEEN_REMOVED','csAckEvent','length','_imageSourceCache','popstate','_collabSessionService','mutations','collabStatus.notCollab','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','setAlpha','_fetchMissChangesets','Subject','_anchorDot','_event$','offline','transformChangesets','LIVESHARE_REQUEST_HOST','status','removeMember','_drawAnchor','_sessionStatus$','all','_getMergeRange','CollaborationSocketService','IRenderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','bottom','startColumn','switchMap','1244860MQpRlY','UPDATE_CURSOR','getAncestorScale','@univerjs/ui','reverse','VIEWPORT_KEY','CONNECTOR_DATA_TOO_LARGE','debounceTime','width','unload','handleInsertCol','IUniverInstanceService','_setupBeforeClosingHandler','saveSheetBlock','merge','_scheduleTimestamp','getCurrentUnitForType','_http','_replayCachedMutations','cursorInfo$','UniverEngineRender','_injector','dispose','ERROR_EXCEED_SIZE','RxDisposable','updateOfflineData','black','shareReplay','onSendChangeset','random','[DataLoaderController]','FETCH_MISS','createIdentifier','image/jpeg','univer-offline','RETRY_CONNECTING_INTERVAL','_session','min','/role','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','awaitingChangeset','show','_sheetTransformSelectionsService','transformMutationsWithChangeset','isInternalEditorID','MUTATION','ImageSourceType','onMissingChangesets','_createInitialStateImpl','saveImage','_handler','pending','UNDEFINED','_context','_hovered','getUnitId','/universer-api/comb','_state$','_schedule','UNIVER_SLIDE','HEARTBEAT','includes','deserializeRangeWithSheet','_clearScheduledTask','setCurrentUser','hovered','onTransformRemoteChangesetByIMECache','EXCHANGE_SIGN_URL_SERVER_URL_KEY','clear','UNRECOGNIZED','IMessageService','#fff','APPLY_REJECT','disableLocalCache','_sendHeartbeat','_socket','[SyncedState]:\x20received\x20acknowledgement.','baseRev','isEditing','transformIMECache','distinctUntilChanged','CollaborationController','_getRedoStack','TEXT_RANGE_LAYER_INDEX','RETRY_CONNECTING_MAX_COUNT','flatMap','apply','_onUserLeave','_saveTaskMap','getRelativeToViewportCoord','forwardRef','close','none','_collaborationController','skeleton','on-line-single','_getSnapshotAPIPrefix','idSuffix','hasOwnProperty','?size=','_updateStatus','_colorIndex','_cachedData','SHOULD_CLOSE_CONN','Warning','_compressMutationService','subUnitId','_initCloseConn','registerHTTPInterceptor','CollaborationEvent','_sendingTimer','UniverCore','_acknowledgedAwaitingChangeset','UNKNOWN_CODE','PERMISSION_DENIED','getMergeData','use','_timeoutTimer','ALREADY_EXISTS','UNKNOWN_CMD','COMPRESS_MUTATION_APPLY','_draw','CommentService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','RevisionService','delay','_type','every','_startDocCollabCursor','_onCursorUpdate','_beforeCloseService','[CollaborationEntity]','unit-cache-','_substituteRedoStack','PENDING','routeKey','getMemberID','collaMsg','not_collab','LIVESHARE_FETCH_OPERATIONS','HTTPService','target','_clearTimeoutTimer','_remoteChangesetQueue','COMPLETION_FINISHED','beginPath','[UniverCollaborationClientPlugin]','[OfflineState]:\x20received\x20changeset.','_onLocalMutation','getTime','setItem','RichTextEditingMutation','_isPermissionRej','getOwnPropertyDescriptor','_labelPosition','newValue','YUUMI_UNABLE_LOAD_URL','_docSyncEditingCollabCursorService','doc.mutation.rich-text-editing','getImageSourceCache','362260CIgkoQ','_unlockTransition','_commentUpdate$','LOGIN_URL_KEY','Injector','_handleLeaveEvent','/new_changes','getCollabEntity$','compose','sessionStatus$','_docTransformSelectionsService','LIVESHARE_NEW_HOST','_socketService','mergeOverrideWithDependencies','evenodd','textRanges','HEARTBEAT_TIMEOUT','lodash/debounce','_sheetSkeletonManagerService','get','SNAPSHOT_URL_KEY','SNAPSHOT_INVALID_SNAPSHOT','LEAVE','enableOfflineEditing','UniverUi','toStringTag','session','onRendered','103959uAUnVK','SheetCollaborationEntity','ThresholdInterceptorFactory','onPointerMove$','_configService','onPointerLeave$','infoRsp','Rectangle','transformByState','SUBMIT_CHANGESET','onMouseMove','_transformService','handleMoveRange','getUnitType','fillRule','send','trim','HEARTBEAT_TIMEOUT_KEY','_collabCursorController','string','conflict.title','_getUploadFileURL','JOIN','round','JSONX','getWorkbookSelections','override','registerBeforeClose','submit\x20changeset\x20error!','EffectRefRangId','IMEInputManagerService','BehaviorSubject','RECV'];_0x1e11=function(){return _0x406a20;};return _0x1e11();}
|
1
|
+
function _0x2921(_0x50857f,_0x50e785){const _0x5ac07d=_0x5ac0();return _0x2921=function(_0x29219a,_0x26675c){_0x29219a=_0x29219a-0x191;let _0x12589b=_0x5ac07d[_0x29219a];return _0x12589b;},_0x2921(_0x50857f,_0x50e785);}(function(_0x1296be,_0x3dd0de){const _0x13d831=_0x2921,_0x1f71b3=_0x1296be();while(!![]){try{const _0x3a7bae=-parseInt(_0x13d831(0x20f))/0x1+-parseInt(_0x13d831(0x488))/0x2*(-parseInt(_0x13d831(0x36c))/0x3)+-parseInt(_0x13d831(0x391))/0x4*(parseInt(_0x13d831(0x58c))/0x5)+parseInt(_0x13d831(0x447))/0x6+parseInt(_0x13d831(0x49f))/0x7+parseInt(_0x13d831(0x467))/0x8*(-parseInt(_0x13d831(0x1e5))/0x9)+parseInt(_0x13d831(0x502))/0xa;if(_0x3a7bae===_0x3dd0de)break;else _0x1f71b3['push'](_0x1f71b3['shift']());}catch(_0x5e4434){_0x1f71b3['push'](_0x1f71b3['shift']());}}}(_0x5ac0,0x7b745),function(_0x2f7a67,_0x4af44f){const _0x187f41=_0x2921;typeof exports==_0x187f41(0x484)&&typeof module<'u'?_0x4af44f(exports,require(_0x187f41(0x40e)),require(_0x187f41(0x4e6)),require(_0x187f41(0x2d9)),require(_0x187f41(0x3cd)),require(_0x187f41(0x50b)),require(_0x187f41(0x426)),require(_0x187f41(0x2ea)),require(_0x187f41(0x456)),require('@univerjs/network'),require('@univerjs/drawing'),require(_0x187f41(0x2fe)),require(_0x187f41(0x3ef)),require('lodash/debounce'),require('@univerjs/sheets-ui'),require('react'),require(_0x187f41(0x57c)),require(_0x187f41(0x32c))):typeof define==_0x187f41(0x4a7)&&define[_0x187f41(0x485)]?define([_0x187f41(0x1f6),_0x187f41(0x40e),_0x187f41(0x4e6),_0x187f41(0x2d9),'@univerjs/ui',_0x187f41(0x50b),_0x187f41(0x426),_0x187f41(0x2ea),_0x187f41(0x456),_0x187f41(0x3ad),_0x187f41(0x315),_0x187f41(0x2fe),_0x187f41(0x3ef),_0x187f41(0x43c),'@univerjs/sheets-ui','react',_0x187f41(0x57c),_0x187f41(0x32c)],_0x4af44f):(_0x2f7a67=typeof globalThis<'u'?globalThis:_0x2f7a67||self,_0x4af44f(_0x2f7a67[_0x187f41(0x325)]={},_0x2f7a67[_0x187f41(0x42a)],_0x2f7a67[_0x187f41(0x543)],_0x2f7a67[_0x187f41(0x245)],_0x2f7a67['UniverUi'],_0x2f7a67[_0x187f41(0x47f)],_0x2f7a67[_0x187f41(0x426)],_0x2f7a67[_0x187f41(0x426)][_0x187f41(0x52b)],_0x2f7a67['UniverDocs'],_0x2f7a67[_0x187f41(0x314)],_0x2f7a67[_0x187f41(0x487)],_0x2f7a67[_0x187f41(0x2a9)],_0x2f7a67[_0x187f41(0x364)],_0x2f7a67['lodash'][_0x187f41(0x4f4)],_0x2f7a67[_0x187f41(0x3cc)],_0x2f7a67[_0x187f41(0x3eb)],_0x2f7a67['clsx'],_0x2f7a67[_0x187f41(0x482)]));}(this,function(_0x490b22,_0x47ad91,_0x4b5d67,_0x2bd9cc,_0x33683b,_0x4709b4,_0x255eda,_0x335e20,_0x2ac904,_0x125bb1,_0x1fdac8,_0xba1502,_0x4ebb09,_0x249566,_0x49516c,_0x4abc54,_0x3cf929,_0x4812f9){'use strict';const _0x1bf13c=_0x2921;var _0x4bd7e3=Object[_0x1bf13c(0x1f5)],_0x2d4d79=(_0x5a372,_0xee800b,_0x58ee9b)=>_0xee800b in _0x5a372?_0x4bd7e3(_0x5a372,_0xee800b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58ee9b}):_0x5a372[_0xee800b]=_0x58ee9b,_0x41c7d7=(_0x4b7cda,_0x479382,_0x5b0700)=>_0x2d4d79(_0x4b7cda,typeof _0x479382!='symbol'?_0x479382+'':_0x479382,_0x5b0700);const _0x545bfc='SNAPSHOT_SERVER_URL_KEY',_0x25b345=_0x1bf13c(0x3ea),_0x146ad6=_0x1bf13c(0x220),_0x585883=_0x1bf13c(0x418),_0x1d455a=_0x1bf13c(0x400),_0x5cfb87=_0x1bf13c(0x192),_0x333329=_0x1bf13c(0x4af),_0x2fd0be=_0x1bf13c(0x2a6),_0x3743e3=_0x1bf13c(0x366),_0x34145b=_0x1bf13c(0x1fe),_0x4ac3ef=_0x1bf13c(0x425),_0x5ea304=_0x1bf13c(0x224),_0xd44ce5='/universer-api/comb',_0x44e1d9=_0x1bf13c(0x2f4),_0x3fa505='/universer-api/oidc/authpage';var _0x427b30=(_0xd13ea8=>(_0xd13ea8[_0xd13ea8[_0x1bf13c(0x1a2)]=0x0]=_0x1bf13c(0x1a2),_0xd13ea8[_0xd13ea8['OK']=0x1]='OK',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x26b)]=0x2]=_0x1bf13c(0x26b),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x1aa)]=0x3]=_0x1bf13c(0x1aa),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x472)]=0x4]=_0x1bf13c(0x472),_0xd13ea8[_0xd13ea8['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x515)]=0x6]=_0x1bf13c(0x515),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x3bf)]=0x7]=_0x1bf13c(0x3bf),_0xd13ea8[_0xd13ea8['TOO_MANY_REQUESTS']=0x8]=_0x1bf13c(0x571),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x2b1)]=0x9]='COMPLETION_FINISHED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x276)]=0x1389]=_0x1bf13c(0x276),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x1b1)]=0x1771]=_0x1bf13c(0x1b1),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x2f1)]=0x1772]=_0x1bf13c(0x2f1),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x4c5)]=0x1b59]=_0x1bf13c(0x4c5),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x4a2)]=0x1b5a]=_0x1bf13c(0x4a2),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x377)]=0x1b5b]=_0x1bf13c(0x377),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x553)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x23c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x4bd)]=0x2329]=_0x1bf13c(0x4bd),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x45b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x322)]=0x232b]=_0x1bf13c(0x322),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x4fe)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x260)]=0x232d]=_0x1bf13c(0x260),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x2b3)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd13ea8[_0xd13ea8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1bf13c(0x239),_0xd13ea8[_0xd13ea8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1bf13c(0x3e6),_0xd13ea8[_0xd13ea8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1bf13c(0x4a3),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x2d3)]=-0x1]=_0x1bf13c(0x2d3),_0xd13ea8))(_0x427b30||{}),_0x37da8d=(_0x50d582=>(_0x50d582[_0x50d582[_0x1bf13c(0x356)]=0x0]=_0x1bf13c(0x356),_0x50d582[_0x50d582[_0x1bf13c(0x1ac)]=0x1]=_0x1bf13c(0x1ac),_0x50d582[_0x50d582[_0x1bf13c(0x4d5)]=0x2]=_0x1bf13c(0x4d5),_0x50d582[_0x50d582[_0x1bf13c(0x225)]=0x3]=_0x1bf13c(0x225),_0x50d582[_0x50d582[_0x1bf13c(0x397)]=0x4]=_0x1bf13c(0x397),_0x50d582[_0x50d582[_0x1bf13c(0x2d3)]=-0x1]=_0x1bf13c(0x2d3),_0x50d582))(_0x37da8d||{}),_0x35ae73=(_0x1ebb4d=>(_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x394)]=0x0]='UNKNOWN_CMD',_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x1e9)]=0x1]=_0x1bf13c(0x1e9),_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x4ff)]=0x2]=_0x1bf13c(0x4ff),_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x3fe)]=0x3]='LEAVE',_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x2b0)]=0x4]=_0x1bf13c(0x2b0),_0x1ebb4d[_0x1ebb4d['HEARTBEAT']=0x5]=_0x1bf13c(0x30d),_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x512)]=0x6]=_0x1bf13c(0x512),_0x1ebb4d[_0x1ebb4d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1ebb4d))(_0x35ae73||{}),_0x706c20=(_0xfadc15=>(_0xfadc15[_0xfadc15[_0x1bf13c(0x1a3)]=0x0]=_0x1bf13c(0x1a3),_0xfadc15[_0xfadc15['OK']=0x1]='OK',_0xfadc15[_0xfadc15[_0x1bf13c(0x1bc)]=0x2]=_0x1bf13c(0x1bc),_0xfadc15[_0xfadc15[_0x1bf13c(0x2d3)]=-0x1]=_0x1bf13c(0x2d3),_0xfadc15))(_0x706c20||{}),_0x46862e=Object[_0x1bf13c(0x1f5)],_0x1dfe2b=Object['getOwnPropertyDescriptor'],_0x589257=(_0x3d69c3,_0x11d2f4,_0x50d3b6,_0x174bf6)=>{for(var _0x3c8de3=_0x174bf6>0x1?void 0x0:_0x174bf6?_0x1dfe2b(_0x11d2f4,_0x50d3b6):_0x11d2f4,_0x230e12=_0x3d69c3['length']-0x1,_0x40f904;_0x230e12>=0x0;_0x230e12--)(_0x40f904=_0x3d69c3[_0x230e12])&&(_0x3c8de3=(_0x174bf6?_0x40f904(_0x11d2f4,_0x50d3b6,_0x3c8de3):_0x40f904(_0x3c8de3))||_0x3c8de3);return _0x174bf6&&_0x3c8de3&&_0x46862e(_0x11d2f4,_0x50d3b6,_0x3c8de3),_0x3c8de3;},_0x312651=(_0x4eb13d,_0x1b4f14)=>(_0x45861d,_0x196a68)=>_0x1b4f14(_0x45861d,_0x196a68,_0x4eb13d);let _0x3be5f2=class extends _0x47ad91['Disposable']{constructor(_0x22e484,_0x5e02fa){const _0x3d7060=_0x1bf13c;super(),_0x41c7d7(this,'_roomMembers',new Map()),(this[_0x3d7060(0x2a3)]=_0x22e484,this[_0x3d7060(0x215)]=_0x5e02fa,this['disposeWithMe'](_0x47ad91[_0x3d7060(0x1ab)](_0x255eda[_0x3d7060(0x57b)](this[_0x3d7060(0x2a3)]['getTypeOfUnitDisposed$'](_0x47ad91[_0x3d7060(0x2f9)][_0x3d7060(0x4d5)])['pipe'](_0x335e20['map'](_0x3e1287=>_0x3e1287[_0x3d7060(0x4d4)]())),this[_0x3d7060(0x2a3)][_0x3d7060(0x1e4)](_0x47ad91[_0x3d7060(0x2f9)]['UNIVER_DOC'])['pipe'](_0x335e20[_0x3d7060(0x3be)](_0x1c524e=>_0x1c524e['getUnitId']())),this[_0x3d7060(0x2a3)][_0x3d7060(0x1e4)](_0x47ad91[_0x3d7060(0x2f9)]['UNIVER_SLIDE'])[_0x3d7060(0x38c)](_0x335e20[_0x3d7060(0x3be)](_0x566a1a=>_0x566a1a[_0x3d7060(0x4d4)]())))[_0x3d7060(0x3db)](_0x3bafa0=>this[_0x3d7060(0x28f)](_0x3bafa0)))));}[_0x1bf13c(0x1da)](_0x35c6be){const _0x3a4a6c=_0x1bf13c;this[_0x3a4a6c(0x215)][_0x3a4a6c(0x1da)](_0x35c6be);}[_0x1bf13c(0x3e4)](){const _0x160c58=_0x1bf13c;return this[_0x160c58(0x215)]['getCurrentUser']();}[_0x1bf13c(0x568)](_0x79d5d6,_0x204188){const _0x28d270=_0x1bf13c;let _0x206009=this[_0x28d270(0x1bb)][_0x28d270(0x369)](_0x79d5d6);_0x206009||(_0x206009=new _0x26d87e(),this[_0x28d270(0x1bb)][_0x28d270(0x56b)](_0x79d5d6,_0x206009)),_0x206009[_0x28d270(0x568)](_0x204188);}[_0x1bf13c(0x33f)](_0x104d3c,_0x5d533a){const _0xb7b2fc=_0x1bf13c,_0xcb74c4=this[_0xb7b2fc(0x1bb)][_0xb7b2fc(0x369)](_0x104d3c);_0xcb74c4&&_0xcb74c4[_0xb7b2fc(0x33f)](_0x5d533a);}[_0x1bf13c(0x590)](_0x3bc6ce){const _0x1b8dd2=_0x1bf13c;return this[_0x1b8dd2(0x1bb)][_0x1b8dd2(0x369)](_0x3bc6ce);}[_0x1bf13c(0x55c)](_0x1d33af,_0x5a69b0){const _0x5439e7=_0x1bf13c,_0x351386=this[_0x5439e7(0x1bb)]['get'](_0x1d33af);if(_0x351386)return _0x351386[_0x5439e7(0x55c)](_0x5a69b0);}[_0x1bf13c(0x28f)](_0x48d1a3){const _0x446961=_0x1bf13c,_0x440024=this['_roomMembers']['get'](_0x48d1a3);_0x440024&&(_0x440024['dispose'](),this[_0x446961(0x1bb)][_0x446961(0x1c3)](_0x48d1a3));}[_0x1bf13c(0x4db)](){const _0x531c49=_0x1bf13c;this['_roomMembers']['forEach'](_0x26c25d=>_0x26c25d[_0x531c49(0x4db)]()),this[_0x531c49(0x1bb)]['clear']();}};_0x3be5f2=_0x589257([_0x312651(0x0,_0x47ad91[_0x1bf13c(0x1db)]),_0x312651(0x1,_0x47ad91['Inject'](_0x47ad91[_0x1bf13c(0x1fa)]))],_0x3be5f2);class _0x26d87e extends _0x47ad91['Disposable']{constructor(){const _0x8582f9=_0x1bf13c;super(...arguments),_0x41c7d7(this,_0x8582f9(0x19a),new Map());}[_0x1bf13c(0x4db)](){this['_members']['clear']();}[_0x1bf13c(0x568)](_0x910029){const _0xb49383=_0x1bf13c;this[_0xb49383(0x19a)][_0xb49383(0x56b)](_0x910029[_0xb49383(0x53b)],_0x910029);}[_0x1bf13c(0x33f)](_0x58a3bd){const _0x12bdbb=_0x1bf13c;this[_0x12bdbb(0x19a)][_0x12bdbb(0x1c3)](_0x58a3bd);}[_0x1bf13c(0x55c)](_0x3237fb){const _0xdbaa5e=_0x1bf13c;return this[_0xdbaa5e(0x19a)][_0xdbaa5e(0x369)](_0x3237fb);}}function _0xdf00df(_0x15b32b){const _0x3dca63=_0x1bf13c;var _0x190d20,_0x5a1446,_0x3a79db,_0x11be08;const _0x12d0a8=_0x15b32b[_0x3dca63(0x3c1)],_0x1d2c45=JSON[_0x3dca63(0x41b)](_0x12d0a8);switch(_0x1d2c45[_0x3dca63(0x25a)]){case _0x35ae73[_0x3dca63(0x30d)]:case _0x35ae73[_0x3dca63(0x1e9)]:{const _0x5f09e3=_0x1d2c45[_0x3dca63(0x31c)];return{..._0x1d2c45,'data':_0x5f09e3,'cmd':_0x1d2c45[_0x3dca63(0x25a)]};}case _0x35ae73[_0x3dca63(0x4ff)]:{const _0x4a620a=_0x1d2c45[_0x3dca63(0x463)];return{..._0x1d2c45,'data':_0x4a620a,'cmd':_0x1d2c45[_0x3dca63(0x25a)]};}case _0x35ae73[_0x3dca63(0x512)]:{const _0x33f156=_0x1d2c45[_0x3dca63(0x576)];switch(_0x33f156['eventID']){case _0x4709b4['CollaborationEvent'][_0x3dca63(0x4d6)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':(_0x190d20=_0x33f156[_0x3dca63(0x455)])==null?void 0x0:_0x190d20['cs']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x457)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':(_0x5a1446=_0x33f156['csAckEvent'])==null?void 0x0:_0x5a1446['cs']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x46d)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':(_0x3a79db=_0x33f156[_0x3dca63(0x300)])==null?void 0x0:_0x3a79db['cs']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x3e9)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':(_0x11be08=_0x33f156[_0x3dca63(0x53d)])==null?void 0x0:_0x11be08['cs']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4['CollaborationEvent'][_0x3dca63(0x38e)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156['updateCursorEvent']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x22f)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156['joinEvent']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4['CollaborationEvent'][_0x3dca63(0x306)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x3d7)]},'cmd':_0x1d2c45['cmd']};case _0x4709b4['CollaborationEvent'][_0x3dca63(0x2e6)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156['liveShareNewHost']},'cmd':_0x1d2c45['cmd']};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x4c1)]:case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x3a6)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x555)]},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x371)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x3b4)]},'cmd':_0x1d2c45['cmd']};case _0x4709b4[_0x3dca63(0x1dd)]['MSG_FOR_ERROR']:return{..._0x1d2c45,'data':_0x33f156,'cmd':_0x1d2c45['cmd']};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x459)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x20c)]},'cmd':_0x1d2c45['cmd']};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x486)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x522)]},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156['shouldCloseConn']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};default:return _0x1d2c45;}}default:return _0x1d2c45;}}function _0x778cc5(_0x438c2f){const _0x4a4a2e=_0x1bf13c;switch(_0x438c2f[_0x4a4a2e(0x25a)]){case _0x35ae73['HEARTBEAT']:case _0x35ae73[_0x4a4a2e(0x1e9)]:return JSON[_0x4a4a2e(0x290)]({'cmd':_0x438c2f['cmd'],'routeKey':_0x438c2f[_0x4a4a2e(0x246)]});case _0x35ae73['INGEST']:{let _0x1c38db;switch(_0x438c2f['data'][_0x4a4a2e(0x58d)]){case _0x4709b4['CollaborationEvent'][_0x4a4a2e(0x38e)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x38e)],'updateCursorEvent':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x306)]:{_0x1c38db={'eventID':_0x4709b4['CollaborationEvent'][_0x4a4a2e(0x306)],'leaveEvent':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4[_0x4a4a2e(0x1dd)]['USERS_ENTER']:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x22f)],'joinEvent':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x2e6)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x438c2f['data']['data']};break;}case _0x4709b4[_0x4a4a2e(0x1dd)]['LIVESHARE_OPERATION']:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x438c2f[_0x4a4a2e(0x3c1)][_0x4a4a2e(0x3c1)]};break;}case _0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x371)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x371)],'liveShareTerminate':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4['CollaborationEvent'][_0x4a4a2e(0x278)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x278)],'liveShareRequestHost':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4['CollaborationEvent'][_0x4a4a2e(0x4c1)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x4c1)]};break;}default:_0x1c38db={'eventID':_0x438c2f[_0x4a4a2e(0x3c1)][_0x4a4a2e(0x58d)]};}return JSON['stringify']({'cmd':_0x438c2f[_0x4a4a2e(0x25a)],'routeKey':_0x438c2f[_0x4a4a2e(0x246)],'collaMsg':_0x1c38db});}case _0x35ae73[_0x4a4a2e(0x4ff)]:return JSON[_0x4a4a2e(0x290)]({'cmd':_0x438c2f['cmd'],'routeKey':_0x438c2f[_0x4a4a2e(0x246)],'joinReq':_0x438c2f['data']});case _0x35ae73[_0x4a4a2e(0x3fe)]:return JSON[_0x4a4a2e(0x290)]({'cmd':_0x438c2f[_0x4a4a2e(0x25a)],'routeKey':_0x438c2f[_0x4a4a2e(0x246)],'leaveReq':_0x438c2f[_0x4a4a2e(0x3c1)]});default:throw new Error(_0x4a4a2e(0x411));}}var _0x3137b8=Object[_0x1bf13c(0x1f5)],_0x32f12b=Object[_0x1bf13c(0x523)],_0x4c4d4e=(_0x10c4e2,_0x2c545e,_0x2f463c,_0x57dbcb)=>{const _0x279258=_0x1bf13c;for(var _0x3c2961=_0x57dbcb>0x1?void 0x0:_0x57dbcb?_0x32f12b(_0x2c545e,_0x2f463c):_0x2c545e,_0x4765ad=_0x10c4e2[_0x279258(0x557)]-0x1,_0x1e0610;_0x4765ad>=0x0;_0x4765ad--)(_0x1e0610=_0x10c4e2[_0x4765ad])&&(_0x3c2961=(_0x57dbcb?_0x1e0610(_0x2c545e,_0x2f463c,_0x3c2961):_0x1e0610(_0x3c2961))||_0x3c2961);return _0x57dbcb&&_0x3c2961&&_0x3137b8(_0x2c545e,_0x2f463c,_0x3c2961),_0x3c2961;},_0x432179=(_0xba123d,_0x4f9f45)=>(_0x4f721b,_0x3fe625)=>_0x4f9f45(_0x4f721b,_0x3fe625,_0xba123d);const _0x367b2c=_0x47ad91[_0x1bf13c(0x561)](_0x1bf13c(0x2d1));function _0x31ba35(_0x5786e4,_0x5bc743,_0x2287f4){const _0x2c77d3=_0x1bf13c;return _0x5786e4+'/'+_0x5bc743+_0x2c77d3(0x4d7)+_0x2287f4+_0x2c77d3(0x530);}_0x490b22[_0x1bf13c(0x49d)]=class{constructor(_0x107672,_0x33be07,_0x2145cc,_0xa1d623,_0x510a0a){const _0x342599=_0x1bf13c;this['_http']=_0x107672,this[_0x342599(0x55a)]=_0x33be07,this['_configService']=_0x2145cc,this['_logService']=_0xa1d623,this[_0x342599(0x319)]=_0x510a0a;}[_0x1bf13c(0x23e)](_0x21d848){const _0x46dc3c=_0x1bf13c,_0xe4c9d=this['_ws'][_0x46dc3c(0x23e)](_0x21d848);if(!_0xe4c9d)throw new Error(_0x46dc3c(0x50e));const _0x1a8f26=new _0x47ad91[(_0x46dc3c(0x3bb))](),_0x2d58c9=new _0x255eda[(_0x46dc3c(0x329))]();_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91['toDisposable'](_0xe4c9d[_0x46dc3c(0x58f)]['subscribe'](_0x5bb1fb=>_0x2d58c9['next'](_0x5bb1fb)))),_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91[_0x46dc3c(0x1ab)](()=>_0x2d58c9['complete']()));const _0x4b2e0e=new _0x255eda[(_0x46dc3c(0x329))]();_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91[_0x46dc3c(0x1ab)](_0xe4c9d[_0x46dc3c(0x451)][_0x46dc3c(0x3db)](_0x3696f3=>_0x4b2e0e[_0x46dc3c(0x3e1)](_0x3696f3)))),_0x1a8f26['add'](_0x47ad91['toDisposable'](()=>_0x4b2e0e[_0x46dc3c(0x2ad)]()));const _0xf70227=new _0x255eda[(_0x46dc3c(0x329))]();_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91['toDisposable'](_0xe4c9d[_0x46dc3c(0x1af)][_0x46dc3c(0x3db)](_0x49a2cd=>{const _0x224ab2=_0x46dc3c,_0x5adde0=_0xdf00df(_0x49a2cd);_0xf70227[_0x224ab2(0x3e1)](_0x5adde0);}))),_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91[_0x46dc3c(0x1ab)](()=>_0xf70227[_0x46dc3c(0x2ad)]()));const _0x36c82b=()=>{const _0x14daf7=_0x46dc3c;_0x4b2e0e[_0x14daf7(0x3e1)](new Event(_0x14daf7(0x43f))),_0x2d58c9[_0x14daf7(0x3e1)](new CloseEvent(_0x14daf7(0x43f))),_0x41ca92[_0x14daf7(0x318)]();},_0x41ca92={'memberID':'','close$':_0x2d58c9[_0x46dc3c(0x1a1)](),'error$':_0x4b2e0e[_0x46dc3c(0x1a1)](),'open$':_0xe4c9d[_0x46dc3c(0x54a)],'message$':_0xf70227[_0x46dc3c(0x1a1)](),'send':_0x20263a=>{const _0x18351e=_0x46dc3c;if(_0x20263a['cmd']===_0x35ae73[_0x18351e(0x2b0)]){if(_0x20263a['data'][_0x18351e(0x58d)]===_0x4709b4[_0x18351e(0x1dd)][_0x18351e(0x58b)]){this[_0x18351e(0x1c7)](_0x41ca92,_0x20263a[_0x18351e(0x3c1)])[_0x18351e(0x4e1)](_0x370040=>{const _0x489cbb=_0x18351e;this[_0x489cbb(0x449)][_0x489cbb(0x3dd)](_0x370040),_0x36c82b();});return;}if(_0x20263a['data'][_0x18351e(0x58d)]===_0x4709b4['CollaborationEvent'][_0x18351e(0x279)]){const _0x4bb79d=_0x20263a[_0x18351e(0x3c1)];this[_0x18351e(0x437)](_0x4bb79d)['then'](_0x146b43=>{const _0x3e28b1=_0x18351e;_0xf70227[_0x3e28b1(0x3e1)]({'cmd':_0x35ae73[_0x3e28b1(0x512)],'code':_0x706c20['OK'],'routeKey':_0x4bb79d[_0x3e28b1(0x3c1)][_0x3e28b1(0x210)],'routeType':'','data':{'eventID':_0x4709b4['CollaborationEvent'][_0x3e28b1(0x4bc)],'data':{'changesets':_0x146b43}}});})['catch'](_0x22bd18=>{const _0x1e18ef=_0x18351e;this[_0x1e18ef(0x449)][_0x1e18ef(0x3dd)](_0x22bd18),_0x36c82b();});return;}}_0xe4c9d[_0x18351e(0x56e)](_0x778cc5(_0x20263a));},'close':()=>{const _0x467ce9=_0x46dc3c;_0xe4c9d[_0x467ce9(0x318)](),_0x1a8f26[_0x467ce9(0x4db)]();}};return _0x41ca92;}async[_0x1bf13c(0x1c7)](_0x38bcb6,_0x274d91){const _0x5a4bd5=_0x1bf13c;var _0x39275a;const {unitType:_0x289c0f,unitID:_0x5873a1,changeset:_0x430f43}=_0x274d91[_0x5a4bd5(0x3c1)],_0x286182={'unitID':_0x5873a1,'memberID':_0x38bcb6[_0x5a4bd5(0x53b)],'type':_0x289c0f,'changeset':_0x4709b4['parseChangesetToProtocol'](_0x430f43)},_0x20b1a7=_0x31ba35((_0x39275a=this[_0x5a4bd5(0x4eb)][_0x5a4bd5(0x4dd)](_0x5ea304))!=null?_0x39275a:_0xd44ce5,_0x289c0f,_0x5873a1);try{await this['_http'][_0x5a4bd5(0x491)](_0x20b1a7,{'body':_0x286182});}catch(_0x3a0eaf){throw this[_0x5a4bd5(0x449)][_0x5a4bd5(0x3dd)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x3a0eaf;}}async['_fetchMissChangesets'](_0x391947){const _0x32dc8e=_0x1bf13c,{unitID:_0xa49f18,from:_0x50440c,to:_0x5143db,unitType:_0x8fccd6}=_0x391947['data'];return(await this[_0x32dc8e(0x319)][_0x32dc8e(0x563)]({'metadata':void 0x0},{'unitID':_0xa49f18,'type':_0x8fccd6,'from':_0x50440c,'to':_0x5143db}))[_0x32dc8e(0x40d)];}},_0x490b22[_0x1bf13c(0x49d)]=_0x4c4d4e([_0x432179(0x0,_0x47ad91['Inject'](_0x125bb1['HTTPService'])),_0x432179(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x125bb1[_0x1bf13c(0x3f2)])),_0x432179(0x2,_0x47ad91[_0x1bf13c(0x57d)]),_0x432179(0x3,_0x47ad91['ILogService']),_0x432179(0x4,_0x47ad91['ISnapshotServerService'])],_0x490b22[_0x1bf13c(0x49d)]);class _0x44be8d{constructor(){const _0x4b843a=_0x1bf13c;_0x41c7d7(this,_0x4b843a(0x36a),new _0x255eda[(_0x4b843a(0x329))]()),_0x41c7d7(this,_0x4b843a(0x1c8),this[_0x4b843a(0x36a)]['asObservable']());}['onCommentUpdate'](_0x537727){const _0x417888=_0x1bf13c;this['_commentUpdate$'][_0x417888(0x3e1)](_0x537727);}}var _0x47c731=Object[_0x1bf13c(0x1f5)],_0x1672e3=Object[_0x1bf13c(0x523)],_0x1e678a=(_0x2278bd,_0x485c64,_0x570af5,_0x216001)=>{const _0x44d290=_0x1bf13c;for(var _0x2f9655=_0x216001>0x1?void 0x0:_0x216001?_0x1672e3(_0x485c64,_0x570af5):_0x485c64,_0x312925=_0x2278bd[_0x44d290(0x557)]-0x1,_0x4d9fdf;_0x312925>=0x0;_0x312925--)(_0x4d9fdf=_0x2278bd[_0x312925])&&(_0x2f9655=(_0x216001?_0x4d9fdf(_0x485c64,_0x570af5,_0x2f9655):_0x4d9fdf(_0x2f9655))||_0x2f9655);return _0x216001&&_0x2f9655&&_0x47c731(_0x485c64,_0x570af5,_0x2f9655),_0x2f9655;},_0x2e5266=(_0x3f4152,_0x522c5c)=>(_0xae1c9f,_0x5bc9ac)=>_0x522c5c(_0xae1c9f,_0x5bc9ac,_0x3f4152),_0x1a88b8=(_0x502cb7=>(_0x502cb7[_0x502cb7[_0x1bf13c(0x48f)]=0x0]=_0x1bf13c(0x48f),_0x502cb7[_0x502cb7['JOINING']=0x1]=_0x1bf13c(0x528),_0x502cb7[_0x502cb7[_0x1bf13c(0x39c)]=0x2]=_0x1bf13c(0x39c),_0x502cb7[_0x502cb7[_0x1bf13c(0x45f)]=0x3]=_0x1bf13c(0x45f),_0x502cb7))(_0x1a88b8||{});_0x490b22[_0x1bf13c(0x385)]=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x453835,_0x3bab58,_0x550b85,_0xb76a2,_0x489c8d,_0x21d37c,_0x1d46f2,_0x214573,_0xfbd02f){const _0x454e1e=_0x1bf13c;super(),_0x41c7d7(this,_0x454e1e(0x19e),new _0x255eda[(_0x454e1e(0x1d6))](0x0)),_0x41c7d7(this,_0x454e1e(0x283),this[_0x454e1e(0x19e)][_0x454e1e(0x1a1)]()),_0x41c7d7(this,_0x454e1e(0x30a),new _0x255eda[(_0x454e1e(0x329))]()),_0x41c7d7(this,_0x454e1e(0x29a),this[_0x454e1e(0x30a)][_0x454e1e(0x1a1)]()),_0x41c7d7(this,_0x454e1e(0x436)),_0x41c7d7(this,'_socketMessageSubscription'),_0x41c7d7(this,_0x454e1e(0x574)),(this[_0x454e1e(0x3a2)]=_0x453835,this['_logService']=_0x550b85,this[_0x454e1e(0x494)]=_0xb76a2,this[_0x454e1e(0x1cd)]=_0x489c8d,this[_0x454e1e(0x4eb)]=_0x21d37c,this[_0x454e1e(0x2eb)]=_0x1d46f2,this[_0x454e1e(0x480)]=_0x214573,this['_commentService']=_0xfbd02f,_0x3bab58[_0x454e1e(0x38c)](_0x335e20['takeUntil'](this[_0x454e1e(0x517)]))[_0x454e1e(0x3db)](_0x5044ca=>{const _0x1327dd=_0x454e1e;var _0x10a651;typeof _0x5044ca>'u'||(this['_socket']=_0x5044ca,_0x5044ca?(this[_0x1327dd(0x204)](_0x5044ca),this[_0x1327dd(0x395)]=this[_0x1327dd(0x436)][_0x1327dd(0x1af)][_0x1327dd(0x3db)](_0x84a546=>{const _0x2d2886=_0x1327dd;_0x84a546[_0x2d2886(0x246)]===this[_0x2d2886(0x3a2)]&&this[_0x2d2886(0x27c)](_0x84a546);})):(this['_sessionStatus$'][_0x1327dd(0x3e1)](0x2),(_0x10a651=this[_0x1327dd(0x395)])==null||_0x10a651['unsubscribe'](),this[_0x1327dd(0x395)]=null));}),this['disposeWithMe'](this[_0x454e1e(0x494)]['registerOnClose'](()=>{const _0x35b467=_0x454e1e;var _0x508db6;(_0x508db6=this['_socket'])==null||_0x508db6[_0x35b467(0x56e)]({'cmd':_0x35ae73[_0x35b467(0x3fe)],'data':{'roomID':this['_unitID']}});})));}get[_0x1bf13c(0x56f)](){const _0x347ace=_0x1bf13c;return this['_sessionStatus$'][_0x347ace(0x36e)]();}['getMemberID'](){const _0x6d8306=_0x1bf13c;var _0x8b0df,_0x311f15;return(_0x311f15=(_0x8b0df=this[_0x6d8306(0x436)])==null?void 0x0:_0x8b0df[_0x6d8306(0x53b)])!=null?_0x311f15:null;}['dispose'](){const _0x4ca9bf=_0x1bf13c;super[_0x4ca9bf(0x4db)](),this[_0x4ca9bf(0x517)]['next'](),this['dispose$'][_0x4ca9bf(0x2ad)]();}['close'](){const _0x5f0c0c=_0x1bf13c;var _0x3ff408,_0x43fc0e;(_0x3ff408=this[_0x5f0c0c(0x436)])==null||_0x3ff408[_0x5f0c0c(0x56e)]({'cmd':_0x35ae73['LEAVE'],'data':{'roomID':this['_unitID']}}),this[_0x5f0c0c(0x30a)]['complete'](),this[_0x5f0c0c(0x19e)]['complete'](),(_0x43fc0e=this['_socket'])==null||_0x43fc0e[_0x5f0c0c(0x318)](),this[_0x5f0c0c(0x4db)]();}[_0x1bf13c(0x27c)](_0x28ee54){const _0xb4ceee=_0x1bf13c;_0x28ee54[_0xb4ceee(0x25a)]===_0x35ae73[_0xb4ceee(0x4ff)]?this[_0xb4ceee(0x22d)](_0x28ee54):_0x28ee54[_0xb4ceee(0x25a)]===_0x35ae73[_0xb4ceee(0x512)]&&this[_0xb4ceee(0x3b1)](_0x28ee54);}['_joinRoom'](_0x1b3db8){const _0x5e8463=_0x1bf13c;this[_0x5e8463(0x19e)]['next'](0x1),_0x1b3db8[_0x5e8463(0x56e)]({'cmd':_0x35ae73[_0x5e8463(0x4ff)],'routeKey':this[_0x5e8463(0x3a2)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x1bf13c(0x22d)](_0x35a1fb){const _0x170aec=_0x1bf13c;var _0x2d3769;if(_0x35a1fb[_0x170aec(0x466)]===_0x706c20[_0x170aec(0x1bc)]){this['_messageService'][_0x170aec(0x48b)]({'type':_0x2bd9cc[_0x170aec(0x26a)][_0x170aec(0x207)],'content':this[_0x170aec(0x2eb)]['t']('session.room-full')}),this[_0x170aec(0x19e)][_0x170aec(0x3e1)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x17136a=(_0x2d3769=_0x35a1fb[_0x170aec(0x3c1)][_0x170aec(0x47e)][this[_0x170aec(0x3a2)]])==null?void 0x0:_0x2d3769['members'];_0x17136a&&_0x17136a[_0x170aec(0x2fb)](_0xd8e690=>this[_0x170aec(0x480)][_0x170aec(0x568)](this['_unitID'],_0xd8e690));}[_0x1bf13c(0x3b1)](_0x208446){const _0x24a670=_0x1bf13c;try{const _0x4740b7=_0x208446[_0x24a670(0x3c1)];switch(_0x4740b7[_0x24a670(0x58d)]){case _0x4709b4[_0x24a670(0x1dd)]['USERS_ENTER']:this[_0x24a670(0x2e5)](_0x4740b7),this[_0x24a670(0x30a)]['next'](_0x4740b7);break;case _0x4709b4[_0x24a670(0x1dd)][_0x24a670(0x306)]:this[_0x24a670(0x465)](_0x4740b7),this['_event$'][_0x24a670(0x3e1)](_0x4740b7);break;case _0x4709b4[_0x24a670(0x1dd)][_0x24a670(0x457)]:this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x24a670(0x3e1)](_0x4740b7);break;case _0x4709b4[_0x24a670(0x1dd)][_0x24a670(0x30c)]:this[_0x24a670(0x449)][_0x24a670(0x3dd)](_0x24a670(0x393)+JSON[_0x24a670(0x290)](_0x4740b7)),this['_event$'][_0x24a670(0x3e1)](_0x4740b7);break;case _0x4709b4[_0x24a670(0x1dd)][_0x24a670(0x459)]:this['_commentService'][_0x24a670(0x4cb)](_0x4740b7['data']),this[_0x24a670(0x30a)][_0x24a670(0x3e1)](_0x4740b7);break;default:this['_event$'][_0x24a670(0x3e1)](_0x4740b7);}}catch(_0x57a410){this['_logService'][_0x24a670(0x3dd)](_0x57a410,_0x208446);}}[_0x1bf13c(0x2e5)](_0x1f1b5){const _0x50540a=_0x1bf13c;this[_0x50540a(0x480)][_0x50540a(0x568)](this[_0x50540a(0x3a2)],_0x1f1b5[_0x50540a(0x3c1)]);}[_0x1bf13c(0x465)](_0x3d9425){const _0xb874ad=_0x1bf13c;this[_0xb874ad(0x480)][_0xb874ad(0x33f)](this[_0xb874ad(0x3a2)],_0x3d9425[_0xb874ad(0x3c1)][_0xb874ad(0x53b)]);}async['send'](_0x32c811,_0x17c0eb){const _0x1764b2=_0x1bf13c;if(this['sessionStatus']!==0x3||!this[_0x1764b2(0x436)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x32c811['eventID']===_0x4709b4[_0x1764b2(0x1dd)][_0x1764b2(0x46d)]&&this[_0x1764b2(0x448)](),this[_0x1764b2(0x436)][_0x1764b2(0x56e)]({'cmd':_0x35ae73[_0x1764b2(0x2b0)],'routeKey':_0x17c0eb,'routeType':'','data':_0x32c811});}catch(_0x4126a6){this['_logService'][_0x1764b2(0x3dd)](_0x4126a6);}}[_0x1bf13c(0x448)](){const _0x362622=_0x1bf13c;var _0x299f4;this['_collaborationTimeoutTimer']=window[_0x362622(0x241)](()=>{const _0x4a07aa=_0x362622;this[_0x4a07aa(0x574)]=null,this[_0x4a07aa(0x1cd)][_0x4a07aa(0x48b)]({'type':_0x2bd9cc[_0x4a07aa(0x26a)][_0x4a07aa(0x414)],'content':this[_0x4a07aa(0x2eb)]['t'](_0x4a07aa(0x32f))});},(_0x299f4=this['_configService']['getConfig'](_0x2fd0be))!=null?_0x299f4:0x2710);}[_0x1bf13c(0x3ac)](){const _0x4d9622=_0x1bf13c;this[_0x4d9622(0x574)]&&(clearTimeout(this[_0x4d9622(0x574)]),this['_collaborationTimeoutTimer']=null);}},_0x490b22[_0x1bf13c(0x385)]=_0x1e678a([_0x2e5266(0x2,_0x47ad91[_0x1bf13c(0x32d)]),_0x2e5266(0x3,_0x33683b[_0x1bf13c(0x2f5)]),_0x2e5266(0x4,_0x33683b[_0x1bf13c(0x203)]),_0x2e5266(0x5,_0x47ad91['IConfigService']),_0x2e5266(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x2e5266(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x3be5f2)),_0x2e5266(0x8,_0x47ad91[_0x1bf13c(0x483)](_0x44be8d))],_0x490b22[_0x1bf13c(0x385)]),_0x490b22[_0x1bf13c(0x36b)]=class extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(_0x433165,_0x3ef0d8,_0x59ce0f,_0x342d5a,_0x279ac0,_0x1a9bb9){const _0x1184ca=_0x1bf13c;super(),_0x41c7d7(this,_0x1184ca(0x341),new _0x255eda[(_0x1184ca(0x1d6))](void 0x0)),_0x41c7d7(this,_0x1184ca(0x3ca),new Map()),_0x41c7d7(this,'_status$',new _0x255eda[(_0x1184ca(0x1d6))](0x0)),_0x41c7d7(this,_0x1184ca(0x26d),this[_0x1184ca(0x2bd)]['asObservable']()),_0x41c7d7(this,_0x1184ca(0x32b),!0x1),_0x41c7d7(this,'_sendHeartbeatTimer'),_0x41c7d7(this,_0x1184ca(0x4f6)),_0x41c7d7(this,'_retryConnectingTimer'),_0x41c7d7(this,'_retryCount',0x0),(this[_0x1184ca(0x49c)]=_0x433165,this[_0x1184ca(0x2eb)]=_0x3ef0d8,this[_0x1184ca(0x1cd)]=_0x59ce0f,this[_0x1184ca(0x449)]=_0x342d5a,this[_0x1184ca(0x4eb)]=_0x279ac0,this['_socketService']=_0x1a9bb9);}get[_0x1bf13c(0x436)](){const _0x488e4c=_0x1bf13c;return this[_0x488e4c(0x341)][_0x488e4c(0x36e)]();}[_0x1bf13c(0x4db)](){const _0x2a8f3c=_0x1bf13c;super[_0x2a8f3c(0x4db)](),this['_sessions'][_0x2a8f3c(0x2fb)](_0x34eede=>_0x34eede['dispose']()),this[_0x2a8f3c(0x3ca)]['clear'](),this[_0x2a8f3c(0x2bd)]['complete']();}async[_0x1bf13c(0x4a9)](_0x920749){const _0x342fe3=_0x1bf13c;if(this[_0x342fe3(0x3ca)][_0x342fe3(0x19c)](_0x920749))return this[_0x342fe3(0x3ca)][_0x342fe3(0x369)](_0x920749);this['_tryEnsureSocket']();const _0x432156=this[_0x342fe3(0x49c)][_0x342fe3(0x37c)](_0x490b22[_0x342fe3(0x385)],_0x920749,this[_0x342fe3(0x341)][_0x342fe3(0x1a1)]());return this[_0x342fe3(0x3ca)][_0x342fe3(0x56b)](_0x920749,_0x432156),_0x432156;}['closeSession'](_0x527533){const _0x5b16d5=_0x1bf13c;var _0x474552;const _0x313b77=this['_sessions'][_0x5b16d5(0x369)](_0x527533);_0x313b77&&(this[_0x5b16d5(0x3ca)][_0x5b16d5(0x1c3)](_0x527533),_0x313b77[_0x5b16d5(0x318)]()),this['_sessions'][_0x5b16d5(0x3ab)]||(_0x474552=this[_0x5b16d5(0x436)])==null||_0x474552[_0x5b16d5(0x318)]();}[_0x1bf13c(0x2bc)](){const _0xef40ff=_0x1bf13c;var _0x5cd6bf;const _0x5cabdf=(_0x5cd6bf=this[_0xef40ff(0x4eb)]['getConfig'](_0x1d455a))!=null?_0x5cd6bf:_0x5cfb87;return this[_0xef40ff(0x481)][_0xef40ff(0x23e)](_0x5cabdf);}[_0x1bf13c(0x475)](){const _0x1b8b23=_0x1bf13c;try{const _0x1d81b9=this[_0x1b8b23(0x2bc)]();if(_0x1d81b9){const _0x541284=_0x1d81b9[_0x1b8b23(0x56e)];_0x1d81b9[_0x1b8b23(0x56e)]=_0x11258f=>(this[_0x1b8b23(0x21d)](),_0x541284[_0x1b8b23(0x401)](_0x1d81b9,[_0x11258f])),_0x1d81b9['message$'][_0x1b8b23(0x3db)](_0x3dc16a=>this['_onMessage'](_0x1d81b9,_0x3dc16a)),_0x1d81b9['error$'][_0x1b8b23(0x38c)](_0x335e20[_0x1b8b23(0x58a)](0x1))[_0x1b8b23(0x3db)](_0x414f5f=>this[_0x1b8b23(0x449)][_0x1b8b23(0x3dd)](_0x1b8b23(0x407),_0x414f5f)),_0x1d81b9[_0x1b8b23(0x54a)][_0x1b8b23(0x38c)](_0x335e20[_0x1b8b23(0x58a)](0x1))[_0x1b8b23(0x3db)](()=>{const _0x22e237=_0x1b8b23;this[_0x22e237(0x33e)](_0x1d81b9);}),_0x1d81b9[_0x1b8b23(0x58f)][_0x1b8b23(0x38c)](_0x335e20[_0x1b8b23(0x58a)](0x1))[_0x1b8b23(0x3db)](_0x1fbb65=>{const _0x4ffdcd=_0x1b8b23;this[_0x4ffdcd(0x449)][_0x4ffdcd(0x567)](_0x4ffdcd(0x1e6),_0x4ffdcd(0x22e),_0x1fbb65),this[_0x4ffdcd(0x3f1)]();});}}catch(_0x544bfc){this[_0x1b8b23(0x449)][_0x1b8b23(0x3dd)](_0x544bfc),this[_0x1b8b23(0x3f1)]();}}[_0x1bf13c(0x33e)](_0x4ae50f){const _0x43e2f5=_0x1bf13c;this[_0x43e2f5(0x449)][_0x43e2f5(0x567)](_0x43e2f5(0x1e6),_0x43e2f5(0x390)),_0x4ae50f[_0x43e2f5(0x56e)]({'cmd':_0x35ae73[_0x43e2f5(0x1e9)]}),this[_0x43e2f5(0x21d)]();}[_0x1bf13c(0x3f1)](){const _0x104042=_0x1bf13c;var _0x2add94;this[_0x104042(0x2bd)][_0x104042(0x3e1)](0x2),this[_0x104042(0x341)][_0x104042(0x3e1)](null),this[_0x104042(0x514)](),this[_0x104042(0x372)](),this[_0x104042(0x32b)]=!0x1,this['_retryCount']<((_0x2add94=this[_0x104042(0x4eb)][_0x104042(0x4dd)](_0x34145b))!=null?_0x2add94:0x3)?(this[_0x104042(0x44d)](this['_retryCount']),this[_0x104042(0x4b5)]+=0x1):this[_0x104042(0x1cd)][_0x104042(0x48b)]({'type':_0x2bd9cc['MessageType'][_0x104042(0x414)],'content':this[_0x104042(0x2eb)]['t'](_0x104042(0x257))});}[_0x1bf13c(0x44d)](_0x54990a){const _0x39f99d=_0x1bf13c;var _0x5653a3;const _0x1dea5f=((_0x5653a3=this[_0x39f99d(0x4eb)][_0x39f99d(0x4dd)](_0x3743e3))!=null?_0x5653a3:0x4e20)*0x2**_0x54990a;this[_0x39f99d(0x1cd)]['show']({'type':_0x2bd9cc['MessageType'][_0x39f99d(0x207)],'content':this[_0x39f99d(0x2eb)]['t'](_0x39f99d(0x4e8))}),this[_0x39f99d(0x238)]=setTimeout(()=>{const _0x5a0700=_0x39f99d;this[_0x5a0700(0x475)](),clearTimeout(this[_0x5a0700(0x238)]),this[_0x5a0700(0x238)]=null;},_0x1dea5f);}[_0x1bf13c(0x21d)](){const _0x10a5c8=_0x1bf13c;var _0x3139a2;this[_0x10a5c8(0x372)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x10a5c8(0x505)](),(_0x3139a2=this[_0x10a5c8(0x4eb)]['getConfig'](_0x333329))!=null?_0x3139a2:0x7530);}['_sendHeartbeat'](){const _0x4ae99b=_0x1bf13c;this[_0x4ae99b(0x436)][_0x4ae99b(0x56e)]({'cmd':_0x35ae73[_0x4ae99b(0x30d)]}),this[_0x4ae99b(0x3b5)]();}[_0x1bf13c(0x3b5)](){const _0xd4cf4=_0x1bf13c;var _0x3ee7b5;this[_0xd4cf4(0x4f6)]=setTimeout(()=>this[_0xd4cf4(0x3f1)](),(_0x3ee7b5=this[_0xd4cf4(0x4eb)][_0xd4cf4(0x4dd)](_0x2fd0be))!=null?_0x3ee7b5:0x2710);}[_0x1bf13c(0x205)](_0x1d257b,_0x28619a){const _0x124cd7=_0x1bf13c,{cmd:_0xa122bf}=_0x28619a;_0xa122bf===_0x35ae73[_0x124cd7(0x1e9)]&&!this[_0x124cd7(0x32b)]&&(_0x1d257b[_0x124cd7(0x53b)]=_0x28619a['data'][_0x124cd7(0x53b)],this[_0x124cd7(0x341)][_0x124cd7(0x3e1)](_0x1d257b),this['_status$']['next'](0x3),this[_0x124cd7(0x32b)]=!0x0),_0xa122bf===_0x35ae73[_0x124cd7(0x30d)]&&this['_clearTimeoutTimer'](),this[_0x124cd7(0x21d)]();}[_0x1bf13c(0x372)](){const _0x4ccd77=_0x1bf13c;this[_0x4ccd77(0x1a4)]!=null&&(clearTimeout(this[_0x4ccd77(0x1a4)]),this[_0x4ccd77(0x1a4)]=null);}[_0x1bf13c(0x514)](){const _0x431b3d=_0x1bf13c;this[_0x431b3d(0x4f6)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x431b3d(0x4f6)]=null);}},_0x490b22[_0x1bf13c(0x36b)]=_0x1e678a([_0x2e5266(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x2e5266(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x2e5266(0x2,_0x33683b[_0x1bf13c(0x203)]),_0x2e5266(0x3,_0x47ad91[_0x1bf13c(0x32d)]),_0x2e5266(0x4,_0x47ad91[_0x1bf13c(0x57d)]),_0x2e5266(0x5,_0x367b2c)],_0x490b22[_0x1bf13c(0x36b)]);var _0x296ffb=Object[_0x1bf13c(0x1f5)],_0x2a3608=Object[_0x1bf13c(0x523)],_0xf4f32b=(_0x2aa318,_0x56aeed,_0x2164e1,_0x20d2fa)=>{const _0x8a2cd4=_0x1bf13c;for(var _0x406a78=_0x20d2fa>0x1?void 0x0:_0x20d2fa?_0x2a3608(_0x56aeed,_0x2164e1):_0x56aeed,_0x41b8e8=_0x2aa318[_0x8a2cd4(0x557)]-0x1,_0x3012f9;_0x41b8e8>=0x0;_0x41b8e8--)(_0x3012f9=_0x2aa318[_0x41b8e8])&&(_0x406a78=(_0x20d2fa?_0x3012f9(_0x56aeed,_0x2164e1,_0x406a78):_0x3012f9(_0x406a78))||_0x406a78);return _0x20d2fa&&_0x406a78&&_0x296ffb(_0x56aeed,_0x2164e1,_0x406a78),_0x406a78;},_0x28ceb7=(_0x404965,_0x31ca6b)=>(_0x3edf19,_0x2e6240)=>_0x31ca6b(_0x3edf19,_0x2e6240,_0x404965);_0x490b22[_0x1bf13c(0x3fa)]=class extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(_0x29bc17,_0xda4af9,_0x4b3f0f,_0x100f61,_0x53818f){const _0x2c81a2=_0x1bf13c;super(),_0x41c7d7(this,_0x2c81a2(0x233),new Map()),_0x41c7d7(this,_0x2c81a2(0x50d),new Map()),_0x41c7d7(this,_0x2c81a2(0x3a3),!0x1),(this[_0x2c81a2(0x4eb)]=_0x29bc17,this[_0x2c81a2(0x1e3)]=_0xda4af9,this['_beforeCloseService']=_0x4b3f0f,this[_0x2c81a2(0x2eb)]=_0x100f61,this[_0x2c81a2(0x384)]=_0x53818f,this[_0x2c81a2(0x4f7)]());}['disableLocalCache'](){const _0x9f99d4=_0x1bf13c;this[_0x9f99d4(0x3a3)]=!0x0;}[_0x1bf13c(0x4de)](){this['_disabled']=!0x1;}[_0x1bf13c(0x4db)](){const _0x4e23b1=_0x1bf13c;this[_0x4e23b1(0x3a8)]()['then'](()=>super[_0x4e23b1(0x4db)]());}async['loadOfflineData'](_0x3e0924){const _0x383ee9=_0x1bf13c;return this[_0x383ee9(0x3a3)]?null:this[_0x383ee9(0x1e3)]['getItem'](_0x40117a(_0x3e0924));}async['saveOfflineData'](_0x15850b,_0x274bdb){const _0xc0444=_0x1bf13c;return!!this['_localStorageService'][_0xc0444(0x197)](_0x15850b,_0x274bdb);}[_0x1bf13c(0x29b)](_0x102df7,_0x4d8b43,_0x46cc66,_0x27d311){const _0x5e63ae=_0x1bf13c,_0x1f4479=this['_revisionService'][_0x5e63ae(0x199)](_0x102df7);this[_0x5e63ae(0x233)][_0x5e63ae(0x56b)](_0x102df7,{'unitID':_0x102df7,'type':_0x4d8b43,'awaitingChangeset':_0x46cc66,'mutations':_0x27d311,'rev':_0x1f4479}),this['_saveTaskMap'][_0x5e63ae(0x19c)](_0x102df7)||this[_0x5e63ae(0x334)](_0x102df7);}[_0x1bf13c(0x334)](_0x50222c){const _0x2f05f2=_0x1bf13c,_0x8fabbe=this[_0x2f05f2(0x29d)]();_0x8fabbe===0x0?this[_0x2f05f2(0x477)](_0x50222c):this[_0x2f05f2(0x50d)][_0x2f05f2(0x56b)](_0x50222c,setTimeout(()=>this[_0x2f05f2(0x477)](_0x50222c),_0x8fabbe));}[_0x1bf13c(0x29d)](){const _0xd0fc94=_0x1bf13c;var _0x38db32;return(_0x38db32=this[_0xd0fc94(0x4eb)][_0xd0fc94(0x4dd)](_0x4ac3ef))!=null?_0x38db32:0x3e8;}[_0x1bf13c(0x477)](_0x35e4ca){const _0x8cb1d5=_0x1bf13c,_0x3a082e=this[_0x8cb1d5(0x50d)][_0x8cb1d5(0x369)](_0x35e4ca);return _0x3a082e!==void 0x0&&window[_0x8cb1d5(0x3fc)](_0x3a082e),this[_0x8cb1d5(0x1e3)][_0x8cb1d5(0x197)](_0x40117a(_0x35e4ca),this[_0x8cb1d5(0x233)][_0x8cb1d5(0x369)](_0x35e4ca))[_0x8cb1d5(0x34f)](()=>this['_saveTaskMap'][_0x8cb1d5(0x1c3)](_0x35e4ca));}async['exhaustSavingTask'](){const _0x38284b=_0x1bf13c,_0x1dff7f=[];this[_0x38284b(0x50d)][_0x38284b(0x2fb)]((_0x202c6c,_0x29a413)=>{const _0x594e0f=_0x38284b;window[_0x594e0f(0x3fc)](_0x202c6c),_0x1dff7f['push'](this[_0x594e0f(0x477)](_0x29a413)[_0x594e0f(0x34f)](()=>{const _0x3f8ee0=_0x594e0f;this[_0x3f8ee0(0x50d)][_0x3f8ee0(0x1c3)](_0x29a413);}));}),await Promise[_0x38284b(0x304)](_0x1dff7f);}[_0x1bf13c(0x4f7)](){const _0x272d9f=_0x1bf13c;this[_0x272d9f(0x27f)](this[_0x272d9f(0x494)][_0x272d9f(0x37e)](()=>{const _0x2c59f9=_0x272d9f;if(this[_0x2c59f9(0x50d)][_0x2c59f9(0x3ab)])return this['_localeService']['t'](_0x2c59f9(0x269));}));}},_0x490b22[_0x1bf13c(0x3fa)]=_0xf4f32b([_0x28ceb7(0x0,_0x47ad91['IConfigService']),_0x28ceb7(0x1,_0x47ad91[_0x1bf13c(0x4ea)]),_0x28ceb7(0x2,_0x33683b[_0x1bf13c(0x2f5)]),_0x28ceb7(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['LocaleService'])),_0x28ceb7(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)]))],_0x490b22['LocalCacheService']);function _0x40117a(_0xadc179){const _0x52babf=_0x1bf13c;return _0x52babf(0x2fd)+_0xadc179;}const _0x160851=_0x47ad91['createIdentifier'](_0x1bf13c(0x1d1));var _0x527725=(_0x5e446c=>(_0x5e446c[_0x5e446c[_0x1bf13c(0x4e4)]=0x0]=_0x1bf13c(0x4e4),_0x5e446c[_0x5e446c[_0x1bf13c(0x513)]=0x1]=_0x1bf13c(0x513),_0x5e446c))(_0x527725||{});const _0x1aeb13=0x7530,_0x1677bf=_0x1bf13c(0x345);class _0x577154 extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(){const _0x1fb34f=_0x1bf13c;super(),_0x41c7d7(this,_0x1fb34f(0x4fb),_0x47ad91['Tools'][_0x1fb34f(0x254)]()),_0x41c7d7(this,_0x1fb34f(0x375),new Set()),_0x41c7d7(this,_0x1fb34f(0x275),new Map()),_0x41c7d7(this,'_heartbeatTimer',null),_0x41c7d7(this,_0x1fb34f(0x378),new Map()),_0x41c7d7(this,'_unitStatus',new Map()),this[_0x1fb34f(0x336)]();}[_0x1bf13c(0x4db)](){const _0x31ac78=_0x1bf13c;super[_0x31ac78(0x4db)](),this[_0x31ac78(0x378)]['forEach']((_0x1c22d8,_0x22e656)=>this[_0x31ac78(0x41a)](_0x22e656)),this[_0x31ac78(0x413)]&&window['clearInterval'](this[_0x31ac78(0x413)]);}[_0x1bf13c(0x370)](_0x49fdf2){const _0x205b2e=_0x1bf13c;return this['_ensureSubject'](_0x49fdf2)[_0x205b2e(0x38c)](_0x255eda[_0x205b2e(0x45e)]());}[_0x1bf13c(0x2ab)](_0x39688b){const _0x23c9b0=_0x1bf13c;this[_0x23c9b0(0x375)][_0x23c9b0(0x3ab)]===0x0&&this[_0x23c9b0(0x503)](),this['_selfUnitIDs'][_0x23c9b0(0x565)](_0x39688b),this[_0x23c9b0(0x499)]({'type':0x0,'memberID':this[_0x23c9b0(0x4fb)],'unitIDs':[_0x39688b],'isForwarded':!0x1});}[_0x1bf13c(0x48c)](_0x4c8cd0){const _0x51a2bb=_0x1bf13c;this[_0x51a2bb(0x375)][_0x51a2bb(0x1c3)](_0x4c8cd0),this['_selfUnitIDs']['size']===0x0&&this[_0x51a2bb(0x413)]&&window[_0x51a2bb(0x3e8)](this['_heartbeatTimer']);}[_0x1bf13c(0x336)](){const _0x525915=_0x1bf13c;this[_0x525915(0x27f)](_0x47ad91['toDisposable'](_0x255eda[_0x525915(0x35f)](window,_0x525915(0x286))['subscribe'](_0x386016=>{const _0x5cc45c=_0x525915;if(_0x386016['key']!==_0x1677bf||!_0x386016[_0x5cc45c(0x439)])return;const _0x430d65=JSON[_0x5cc45c(0x41b)](_0x386016[_0x5cc45c(0x439)]);this[_0x5cc45c(0x4a5)](_0x430d65);}))),window[_0x525915(0x349)](_0x525915(0x43d),()=>this[_0x525915(0x499)]({'type':0x1,'memberID':this[_0x525915(0x4fb)],'unitIDs':Array[_0x525915(0x216)](this[_0x525915(0x375)])}));}['_handleEvent'](_0x31bce4){const _0xe4710d=_0x1bf13c;switch(_0x31bce4['type']){case 0x0:this['_handleJoinEvent'](_0x31bce4);break;case 0x1:this['_handleLeaveEvent'](_0x31bce4);break;case 0x2:this[_0xe4710d(0x2dd)](_0x31bce4);break;}}[_0x1bf13c(0x44b)](_0x49e4e1){const _0x4c1570=_0x1bf13c,{unitIDs:_0x20f151,memberID:_0x3c6983,isForwarded:_0x8b49a0}=_0x49e4e1;_0x20f151[_0x4c1570(0x2fb)](_0x3ed980=>{const _0xb16d95=_0x4c1570;if(!_0x8b49a0&&this[_0xb16d95(0x275)][_0xb16d95(0x19c)](_0x3ed980)&&this[_0xb16d95(0x29e)](_0x3ed980)[_0xb16d95(0x3e1)](0x1),!this['_unitOnClients']['has'](_0x3ed980)||!this[_0xb16d95(0x275)][_0xb16d95(0x369)](_0x3ed980)[_0xb16d95(0x19c)](_0x3c6983)){const _0x1d14ec=this[_0xb16d95(0x275)][_0xb16d95(0x369)](_0x3ed980)||new Set();_0x1d14ec[_0xb16d95(0x565)](_0x3c6983),this[_0xb16d95(0x275)][_0xb16d95(0x56b)](_0x3ed980,_0x1d14ec),this[_0xb16d95(0x454)](_0x3c6983);}}),_0x8b49a0||this[_0x4c1570(0x499)]({'type':0x0,'memberID':this[_0x4c1570(0x4fb)],'unitIDs':[...this[_0x4c1570(0x375)]],'isForwarded':!0x0});}[_0x1bf13c(0x454)](_0x7098e1){const _0x131353=_0x1bf13c;this[_0x131353(0x41a)](_0x7098e1);const _0x4d181b=window[_0x131353(0x241)](()=>{this['_unitOnClients']['forEach'](_0x2fcb0e=>{const _0x201fd2=_0x2921;_0x2fcb0e[_0x201fd2(0x1c3)](_0x7098e1);});},_0x1aeb13*0x2);this['_clearOtherTimers']['set'](_0x7098e1,_0x4d181b);}[_0x1bf13c(0x41a)](_0x2af25c){const _0x18035d=_0x1bf13c;if(this[_0x18035d(0x378)]['has'](_0x2af25c)){const _0xf9818=this[_0x18035d(0x378)][_0x18035d(0x369)](_0x2af25c);_0xf9818&&window[_0x18035d(0x3fc)](_0xf9818),this[_0x18035d(0x378)][_0x18035d(0x56b)](_0x2af25c,null);}}[_0x1bf13c(0x1a7)](_0x2b9d22){const _0x2abcc6=_0x1bf13c,{memberID:_0x2ae9e5,unitIDs:_0x50ba8c}=_0x2b9d22;_0x50ba8c[_0x2abcc6(0x2fb)](_0x64dfd8=>{const _0x4e99d7=_0x2abcc6;var _0x474aea;const _0x20e7ad=this[_0x4e99d7(0x275)][_0x4e99d7(0x369)](_0x64dfd8);_0x20e7ad&&(_0x20e7ad[_0x4e99d7(0x1c3)](_0x2ae9e5),(_0x474aea=this[_0x4e99d7(0x29e)](_0x64dfd8))==null||_0x474aea[_0x4e99d7(0x3e1)](_0x20e7ad[_0x4e99d7(0x3ab)]===0x0?0x0:0x1));}),this[_0x2abcc6(0x41a)](_0x2ae9e5);}[_0x1bf13c(0x2dd)](_0x2b8d84){const _0x33b095=_0x1bf13c;this[_0x33b095(0x454)](_0x2b8d84[_0x33b095(0x53b)]);}[_0x1bf13c(0x499)](_0x68f0bd){const _0x3fbca4=_0x1bf13c;localStorage[_0x3fbca4(0x197)](_0x1677bf,JSON[_0x3fbca4(0x290)](_0x68f0bd));}['_scheduleHeartbeat'](){const _0x2ffe0e=_0x1bf13c;this[_0x2ffe0e(0x413)]=window[_0x2ffe0e(0x524)](()=>{const _0x50207e=_0x2ffe0e;this[_0x50207e(0x499)]({'type':0x2,'memberID':this[_0x50207e(0x4fb)]});},_0x1aeb13);}[_0x1bf13c(0x29e)](_0x28ed01){const _0x4164fb=_0x1bf13c;return this[_0x4164fb(0x40c)][_0x4164fb(0x19c)](_0x28ed01)||this['_unitStatus'][_0x4164fb(0x56b)](_0x28ed01,new _0x255eda['BehaviorSubject'](0x0)),this[_0x4164fb(0x40c)][_0x4164fb(0x369)](_0x28ed01);}}var _0x23ad0f=Object['defineProperty'],_0x56b937=Object[_0x1bf13c(0x523)],_0x12f06d=(_0x277c08,_0xe72250,_0x16f5a0,_0x491e8b)=>{for(var _0x1a0328=_0x491e8b>0x1?void 0x0:_0x491e8b?_0x56b937(_0xe72250,_0x16f5a0):_0xe72250,_0x515351=_0x277c08['length']-0x1,_0xd723b9;_0x515351>=0x0;_0x515351--)(_0xd723b9=_0x277c08[_0x515351])&&(_0x1a0328=(_0x491e8b?_0xd723b9(_0xe72250,_0x16f5a0,_0x1a0328):_0xd723b9(_0x1a0328))||_0x1a0328);return _0x491e8b&&_0x1a0328&&_0x23ad0f(_0xe72250,_0x16f5a0,_0x1a0328),_0x1a0328;},_0x4d9f0d=(_0x289455,_0x3eb2e1)=>(_0x5cfd9d,_0x827010)=>_0x3eb2e1(_0x5cfd9d,_0x827010,_0x289455);let _0x5bc3d5=class{constructor(_0x4b7da3,_0x31e742){const _0x2c5f78=_0x1bf13c;this[_0x2c5f78(0x49c)]=_0x4b7da3,this[_0x2c5f78(0x424)]=_0x31e742;}[_0x1bf13c(0x223)](_0x48f07a){const _0xfc5b18=_0x1bf13c;this[_0xfc5b18(0x39b)](_0x48f07a),this[_0xfc5b18(0x3f5)](_0x48f07a);}[_0x1bf13c(0x4b1)](_0x5ca39f){const _0x7acd9c=_0x1bf13c,_0x21f82d=this[_0x7acd9c(0x49c)][_0x7acd9c(0x369)](_0x2ac904[_0x7acd9c(0x24f)]),{redoCache:_0x3254c2}=_0x21f82d[_0x7acd9c(0x247)]();if(_0x3254c2[_0x7acd9c(0x557)]===0x0)return _0x5ca39f;let _0x4afd2e=_0x47ad91[_0x7acd9c(0x24a)][_0x7acd9c(0x396)](_0x5ca39f[_0x7acd9c(0x4c7)][0x0]);for(let _0x159335=0x0;_0x159335<_0x3254c2[_0x7acd9c(0x557)];_0x159335++){const _0x248412={'id':_0x7acd9c(0x504),'params':{..._0x3254c2[_0x159335]}},_0x381f3c=this[_0x7acd9c(0x424)][_0x7acd9c(0x298)](_0x4afd2e,_0x248412,!0x1);if(_0x4709b4[_0x7acd9c(0x41c)](_0x381f3c))throw _0x381f3c[_0x7acd9c(0x3dd)];_0x4afd2e=_0x381f3c[_0x7acd9c(0x521)];}return{..._0x47ad91[_0x7acd9c(0x24a)][_0x7acd9c(0x396)](_0x5ca39f),'mutations':[_0x4afd2e]};}['_transformUndoRedoStack'](_0x349e4a){const _0x2aecb1=_0x1bf13c,_0x4ef033=this[_0x2aecb1(0x49c)]['get'](_0x2ac904[_0x2aecb1(0x24f)]),{undoCache:_0x3aa7de,redoCache:_0x33ddf6}=_0x4ef033[_0x2aecb1(0x247)]();if(_0x3aa7de[_0x2aecb1(0x557)]===0x0||_0x33ddf6[_0x2aecb1(0x557)]===0x0)return;const _0x2de0a5=[],_0x19f386=[];let _0x1a3ab6=_0x47ad91[_0x2aecb1(0x24a)][_0x2aecb1(0x396)](_0x349e4a[_0x2aecb1(0x4c7)][0x0]),_0x301fbd=_0x47ad91['Tools'][_0x2aecb1(0x396)](_0x349e4a['mutations'][0x0]);for(let _0x533334=_0x3aa7de[_0x2aecb1(0x557)]-0x1;_0x533334>=0x0;_0x533334--){const _0x24d36e={'id':_0x2aecb1(0x504),'params':{..._0x3aa7de[_0x533334]}},_0x10f32d={'id':'doc.mutation.rich-text-editing','params':{..._0x33ddf6[_0x533334]}},_0xc72943=this[_0x2aecb1(0x424)]['transformMutation'](_0x1a3ab6,_0x24d36e,!0x1),_0x2753a6=this['_transformService'][_0x2aecb1(0x298)](_0x301fbd,_0x10f32d,!0x1);if(_0x4709b4[_0x2aecb1(0x41c)](_0xc72943))throw _0xc72943[_0x2aecb1(0x3dd)];if(_0x4709b4[_0x2aecb1(0x41c)](_0x2753a6))throw _0x2753a6[_0x2aecb1(0x3dd)];_0x2de0a5['unshift'](_0xc72943['m2Prime'][_0x2aecb1(0x37b)]),_0x19f386[_0x2aecb1(0x28a)](_0x2753a6[_0x2aecb1(0x4be)][_0x2aecb1(0x37b)]),_0x1a3ab6=_0xc72943[_0x2aecb1(0x521)],_0x301fbd=_0x2753a6[_0x2aecb1(0x521)];}_0x4ef033['setUndoRedoMutationParamsCache']({'undoCache':_0x2de0a5,'redoCache':_0x19f386});}[_0x1bf13c(0x3f5)](_0x15bfea){const _0x307943=_0x1bf13c,_0x164fc7=this[_0x307943(0x49c)][_0x307943(0x369)](_0x2ac904['IMEInputManagerService']),_0x3546bd=_0x164fc7[_0x307943(0x41d)]();if(_0x3546bd==null)return;const _0x2588a2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15bfea[_0x307943(0x210)],'actions':null,'textRanges':[_0x3546bd]}}],_0x3ee549=this[_0x307943(0x424)][_0x307943(0x388)](_0x15bfea,_0x2588a2);if(!_0x4709b4[_0x307943(0x2e9)](_0x3ee549))throw _0x3ee549[_0x307943(0x3dd)];const _0x44ff60=_0x3ee549[_0x307943(0x4be)][0x0][_0x307943(0x37b)][_0x307943(0x4ac)];Array[_0x307943(0x541)](_0x44ff60)&&_0x44ff60[_0x307943(0x557)]&&_0x164fc7[_0x307943(0x1fd)](_0x44ff60[0x0]);}};_0x5bc3d5=_0x12f06d([_0x4d9f0d(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x4d9f0d(0x1,_0x4709b4[_0x1bf13c(0x516)])],_0x5bc3d5);var _0x2edb48=Object[_0x1bf13c(0x1f5)],_0x35192a=Object[_0x1bf13c(0x523)],_0x204e16=(_0x4e3b4c,_0x75d997,_0x292a22,_0x5ccdca)=>{const _0x332870=_0x1bf13c;for(var _0x59e4f5=_0x5ccdca>0x1?void 0x0:_0x5ccdca?_0x35192a(_0x75d997,_0x292a22):_0x75d997,_0x2662dd=_0x4e3b4c[_0x332870(0x557)]-0x1,_0x3330a9;_0x2662dd>=0x0;_0x2662dd--)(_0x3330a9=_0x4e3b4c[_0x2662dd])&&(_0x59e4f5=(_0x5ccdca?_0x3330a9(_0x75d997,_0x292a22,_0x59e4f5):_0x3330a9(_0x59e4f5))||_0x59e4f5);return _0x5ccdca&&_0x59e4f5&&_0x2edb48(_0x75d997,_0x292a22,_0x59e4f5),_0x59e4f5;},_0x311c22=(_0x5d7ed7,_0x251147)=>(_0x556a6f,_0x17ef5f)=>_0x251147(_0x556a6f,_0x17ef5f,_0x5d7ed7);let _0x85bcf8=class{constructor(_0x57c910,_0x3369ae){const _0xc5de38=_0x1bf13c;this[_0xc5de38(0x49c)]=_0x57c910,this[_0xc5de38(0x424)]=_0x3369ae;}[_0x1bf13c(0x313)](_0x4ead00){const _0x8b46b3=_0x1bf13c;var _0xd208bd;const _0x38b39a=this['_injector'][_0x8b46b3(0x369)](_0x2ac904[_0x8b46b3(0x4e2)]),_0x2ab21d=(_0xd208bd=_0x38b39a[_0x8b46b3(0x202)]())!=null?_0xd208bd:[],_0x44fb33=_0x2ab21d==null?void 0x0:_0x2ab21d['map'](_0x2ac904[_0x8b46b3(0x42c)]);if(_0x44fb33[_0x8b46b3(0x557)]===0x0)return;const _0x1ba7aa=[{'id':_0x8b46b3(0x504),'params':{'unitId':_0x4ead00[_0x8b46b3(0x210)],'actions':null,'textRanges':_0x44fb33}}],_0x541528=this[_0x8b46b3(0x424)][_0x8b46b3(0x388)](_0x4ead00,_0x1ba7aa);if(!_0x4709b4[_0x8b46b3(0x2e9)](_0x541528))throw _0x541528['error'];const _0x308171=_0x541528[_0x8b46b3(0x4be)][0x0][_0x8b46b3(0x37b)][_0x8b46b3(0x4ac)];Array['isArray'](_0x308171)&&_0x308171[_0x8b46b3(0x557)]&&_0x38b39a['replaceTextRanges'](_0x308171,!0x1);}};_0x85bcf8=_0x204e16([_0x311c22(0x0,_0x47ad91['Inject'](_0x47ad91['Injector'])),_0x311c22(0x1,_0x4709b4[_0x1bf13c(0x516)])],_0x85bcf8);function _0x57d3bd(_0x2ceff5){const _0x4a07fc=_0x1bf13c;let _0x3de403='';for(const _0x5478b6 of _0x2ceff5){const {startOffset:_0x1a0e58,endOffset:_0x3ad03a,isActive:_0x385593}=_0x5478b6;_0x3de403[_0x4a07fc(0x557)]&&(_0x3de403+=','),_0x3de403+=_0x1a0e58+':'+_0x3ad03a+':'+(_0x385593?'1':'0');}return _0x3de403;}function _0x4a8af3(_0x17f43d){const _0x13b56e=_0x1bf13c,_0x7b71c3=_0x17f43d[_0x13b56e(0x265)](','),_0x3225c5=[];for(const _0x4b4cb1 of _0x7b71c3){const [_0x4476e6,_0xbf3c40,_0x26cf89]=_0x4b4cb1[_0x13b56e(0x265)](':');_0x3225c5[_0x13b56e(0x44c)]({'startOffset':Number(_0x4476e6),'endOffset':Number(_0xbf3c40),'collapsed':_0x4476e6===_0xbf3c40,'isActive':_0x26cf89==='1'});}return _0x3225c5[_0x13b56e(0x4bb)](_0x4b9d69=>_0x4b9d69[_0x13b56e(0x35c)])||(_0x3225c5[0x0][_0x13b56e(0x35c)]=!0x0),_0x3225c5;}class _0x2a9bcc extends _0x47ad91['RxDisposable']{constructor(){const _0x55f4ae=_0x1bf13c;super(...arguments),_0x41c7d7(this,_0x55f4ae(0x2ed),new _0x255eda[(_0x55f4ae(0x1d6))](null)),_0x41c7d7(this,_0x55f4ae(0x330),this['_collabCursorState$'][_0x55f4ae(0x1a1)]());}[_0x1bf13c(0x240)](_0x45a652){const _0x77a1cd=_0x1bf13c,{unitID:_0x1a6a37,memberID:_0x2fdf95,textRanges:_0x183290}=_0x45a652,_0x159cf1=_0x57d3bd(_0x183290),_0x4534b3={'unitID':_0x1a6a37,'memberID':_0x2fdf95,'selection':_0x159cf1};this['_collabCursorState$'][_0x77a1cd(0x3e1)](_0x4534b3);}}var _0x21c015=Object['defineProperty'],_0x1459d5=Object[_0x1bf13c(0x523)],_0x173bf9=(_0x3a55d9,_0x3d3c87,_0x5a8286,_0x3a245b)=>{const _0x496e54=_0x1bf13c;for(var _0x5e2646=_0x3a245b>0x1?void 0x0:_0x3a245b?_0x1459d5(_0x3d3c87,_0x5a8286):_0x3d3c87,_0x5ae794=_0x3a55d9[_0x496e54(0x557)]-0x1,_0x6d14af;_0x5ae794>=0x0;_0x5ae794--)(_0x6d14af=_0x3a55d9[_0x5ae794])&&(_0x5e2646=(_0x3a245b?_0x6d14af(_0x3d3c87,_0x5a8286,_0x5e2646):_0x6d14af(_0x5e2646))||_0x5e2646);return _0x3a245b&&_0x5e2646&&_0x21c015(_0x3d3c87,_0x5a8286,_0x5e2646),_0x5e2646;},_0x2d88eb=(_0x487449,_0x5c0e7f)=>(_0x1d3137,_0x59a724)=>_0x5c0e7f(_0x1d3137,_0x59a724,_0x487449);function _0x33e126(_0xc764b0){const _0x1c18eb=_0x1bf13c,{unitID:_0x374e9,mutations:_0x5de2b6}=_0xc764b0;return{'unitId':_0x374e9,'subUnitId':_0x5de2b6[0x0][_0x1c18eb(0x37b)][_0x1c18eb(0x4f2)]};}let _0x2c3692=class{constructor(_0x9c8c4a,_0x476470){const _0x2b0c91=_0x1bf13c;this[_0x2b0c91(0x49c)]=_0x9c8c4a,this[_0x2b0c91(0x424)]=_0x476470;}[_0x1bf13c(0x313)](_0x5de511){const _0x3322ce=_0x1bf13c;var _0x59aa1d,_0x498127,_0x30fe00;const _0x7cfc1b=this['_injector'][_0x3322ce(0x369)](_0x4b5d67[_0x3322ce(0x1cc)]),{unitId:_0x553b0e,subUnitId:_0x13578c}=_0x33e126(_0x5de511),_0x434ead=_0x7cfc1b[_0x3322ce(0x462)](_0x553b0e)[_0x3322ce(0x344)]();if(_0x434ead[_0x3322ce(0x557)]===0x0||!_0x553b0e||!_0x13578c)return;const _0x37253f=[{'id':_0x4b5d67[_0x3322ce(0x346)]['id'],'params':{'unitId':_0x553b0e,'subUnitId':_0x13578c,'selections':_0x47ad91[_0x3322ce(0x24a)][_0x3322ce(0x396)](_0x434ead)}}],_0x5b4a68=this[_0x3322ce(0x424)][_0x3322ce(0x388)](_0x5de511,_0x37253f);if(!_0x4709b4['isTransformMutationsWithChangesetSuccess'](_0x5b4a68))throw _0x5b4a68[_0x3322ce(0x3dd)];const _0x4971cc=(_0x30fe00=(_0x498127=(_0x59aa1d=_0x5b4a68[_0x3322ce(0x4be)][0x0])==null?void 0x0:_0x59aa1d[_0x3322ce(0x37b)])==null?void 0x0:_0x498127['selections'])!=null?_0x30fe00:_0x434ead;Array[_0x3322ce(0x541)](_0x4971cc)&&_0x4971cc[_0x3322ce(0x557)]&&this[_0x3322ce(0x49c)][_0x3322ce(0x369)](_0x47ad91[_0x3322ce(0x226)])[_0x3322ce(0x518)](_0x4b5d67['SetSelectionsOperation']['id'],{'unitId':_0x553b0e,'subUnitId':_0x13578c,'selections':_0x4971cc});}};_0x2c3692=_0x173bf9([_0x2d88eb(0x0,_0x47ad91['Inject'](_0x47ad91[_0x1bf13c(0x380)])),_0x2d88eb(0x1,_0x4709b4['ITransformService'])],_0x2c3692);const _0x13e171=new Set([_0x4b5d67[_0x1bf13c(0x4f3)]['id']]);function _0x2884d5(_0x392f90,_0x4b71b0,_0x5259ee,_0x3d67e0,_0x57de29){const _0x243e51=_0x1bf13c;var _0x5c3944,_0xaad9da,_0x3c790d,_0x14b95f;const _0x3289dd=[];for(const _0x5c8abc of _0x392f90)if(_0x13e171[_0x243e51(0x19c)](_0x5c8abc['id'])){if(_0x3289dd[_0x243e51(0x557)]>0x0)break;_0x3289dd[_0x243e51(0x44c)](_0x5c8abc);break;}else _0x3289dd[_0x243e51(0x44c)](_0x5c8abc);const _0x15b14e=(_0xaad9da=(_0x5c3944=_0x57de29[_0x243e51(0x3e4)]())==null?void 0x0:_0x5c3944['userID'])!=null?_0xaad9da:_0x243e51(0x57e),_0x35253e=(_0x14b95f=(_0x3c790d=_0x57de29[_0x243e51(0x3e4)]())==null?void 0x0:_0x3c790d['memberID'])!=null?_0x14b95f:_0x243e51(0x57e);return{'changeset':{'unitID':_0x4b71b0,'type':_0x4709b4[_0x243e51(0x22c)](_0x5259ee[_0x243e51(0x531)](_0x4b71b0)),'baseRev':_0x3d67e0[_0x243e51(0x199)](_0x4b71b0),'revision':0x0,'userID':_0x15b14e,'memberID':_0x35253e,'mutations':_0x3289dd},'pendingMutations':_0x392f90[_0x243e51(0x4a0)](_0x3289dd[_0x243e51(0x557)])};}function _0x2aa7fb(_0x503489,_0x30e515,_0x28e5bf,_0x340554,_0x1397ba){const _0x36d7ef=_0x1bf13c;var _0x16637a,_0x5ecf43,_0x19be4f,_0x16f7e2;const _0x1cde25=[_0x503489[_0x36d7ef(0x335)]((_0x38ed65,_0x340bd0)=>{const _0x5afae0=_0x36d7ef;var _0x343a53;const {id:_0x142c15}=_0x38ed65,{id:_0x2a8522,type:_0xa5de6d}=_0x340bd0,_0x6addd4=(_0x343a53=_0x38ed65[_0x5afae0(0x37b)])!=null?_0x343a53:{'actions':null},_0x2bda81=_0x340bd0[_0x5afae0(0x37b)];if(_0x142c15&&_0x142c15!==_0x2a8522)throw new Error(_0x5afae0(0x2db)+_0x142c15+_0x5afae0(0x2f0)+_0x2a8522+'.');return{..._0x38ed65,'id':_0x2a8522,'type':_0xa5de6d,'params':{'unitId':_0x2bda81[_0x5afae0(0x206)],'textRanges':_0x2bda81[_0x5afae0(0x4ac)],'actions':_0x47ad91['JSONX'][_0x5afae0(0x54f)](_0x6addd4[_0x5afae0(0x4ad)],_0x2bda81[_0x5afae0(0x4ad)])}};},{})],_0x580029=(_0x5ecf43=(_0x16637a=_0x1397ba[_0x36d7ef(0x3e4)]())==null?void 0x0:_0x16637a[_0x36d7ef(0x55f)])!=null?_0x5ecf43:'unknown',_0x5d9c70=(_0x16f7e2=(_0x19be4f=_0x1397ba[_0x36d7ef(0x3e4)]())==null?void 0x0:_0x19be4f[_0x36d7ef(0x53b)])!=null?_0x16f7e2:'unknown';return{'changeset':{'unitID':_0x30e515,'type':_0x4709b4[_0x36d7ef(0x22c)](_0x28e5bf['getUnitType'](_0x30e515)),'baseRev':_0x340554[_0x36d7ef(0x199)](_0x30e515),'revision':0x0,'userID':_0x580029,'memberID':_0x5d9c70,'mutations':_0x1cde25},'pendingMutations':[]};}const _0x67b6c6={'id':_0x4b5d67[_0x1bf13c(0x53c)]['id'],'type':_0x47ad91['CommandType'][_0x1bf13c(0x468)],'params':{}};var _0x4df677=Object['defineProperty'],_0x879a02=Object[_0x1bf13c(0x523)],_0x552544=(_0x567dd4,_0x80b2a,_0xf3abc4,_0x4b2190)=>{const _0x2d47b8=_0x1bf13c;for(var _0x57788a=_0x4b2190>0x1?void 0x0:_0x4b2190?_0x879a02(_0x80b2a,_0xf3abc4):_0x80b2a,_0x4ff6d5=_0x567dd4[_0x2d47b8(0x557)]-0x1,_0x4d1649;_0x4ff6d5>=0x0;_0x4ff6d5--)(_0x4d1649=_0x567dd4[_0x4ff6d5])&&(_0x57788a=(_0x4b2190?_0x4d1649(_0x80b2a,_0xf3abc4,_0x57788a):_0x4d1649(_0x57788a))||_0x57788a);return _0x4b2190&&_0x57788a&&_0x4df677(_0x80b2a,_0xf3abc4,_0x57788a),_0x57788a;},_0x21ddcd=(_0x4fd185,_0x1e57fe)=>(_0x748a9b,_0x22951c)=>_0x1e57fe(_0x748a9b,_0x22951c,_0x4fd185),_0x214062=(_0x16eb1e=>(_0x16eb1e[_0x1bf13c(0x500)]=_0x1bf13c(0x3b8),_0x16eb1e[_0x1bf13c(0x476)]=_0x1bf13c(0x2f7),_0x16eb1e[_0x1bf13c(0x52d)]=_0x1bf13c(0x2af),_0x16eb1e[_0x1bf13c(0x343)]=_0x1bf13c(0x55e),_0x16eb1e[_0x1bf13c(0x196)]=_0x1bf13c(0x29c),_0x16eb1e[_0x1bf13c(0x35e)]=_0x1bf13c(0x35b),_0x16eb1e[_0x1bf13c(0x398)]=_0x1bf13c(0x317),_0x16eb1e[_0x1bf13c(0x39c)]='offline',_0x16eb1e))(_0x214062||{});class _0x5dbad4{constructor(_0xab115e,_0x297438,_0x1affc4,_0x277979,_0x2bd8e3,_0x472d70,_0x21bfd8,_0xacc21a,_0x1ab375){const _0x401256=_0x1bf13c;_0x41c7d7(this,'_awaitingChangeset',null),_0x41c7d7(this,_0x401256(0x3a5),[]),(this[_0x401256(0x210)]=_0xab115e,this['type']=_0x297438,this[_0x401256(0x562)]=_0x2bd8e3,this[_0x401256(0x508)]=_0x472d70,this[_0x401256(0x2ec)]=_0x21bfd8,this[_0x401256(0x384)]=_0xacc21a,this[_0x401256(0x295)]=_0x1ab375,this[_0x401256(0x4ab)]=_0x1affc4,this[_0x401256(0x3a5)]=_0x277979);}['_checkMissing'](_0x493c63){const _0x5aace3=_0x1bf13c,_0x18eca7=this[_0x5aace3(0x384)][_0x5aace3(0x199)](this[_0x5aace3(0x210)]);return _0x493c63[_0x5aace3(0x1b7)]>_0x18eca7+0x1?(this[_0x5aace3(0x562)][_0x5aace3(0x2c1)]({'from':_0x18eca7,'to':_0x493c63[_0x5aace3(0x1b7)]-0x1}),!0x0):!0x1;}[_0x1bf13c(0x230)](_0x1e94b5){const _0x424ed6=_0x1bf13c;this['_undoRedoService'][_0x424ed6(0x28b)](this[_0x424ed6(0x210)],_0x1e94b5);}[_0x1bf13c(0x1d9)](_0x3747df){const _0x24ef57=_0x1bf13c;var _0x4417b7,_0x3391c9;(_0x3391c9=(_0x4417b7=this['_handler'])[_0x24ef57(0x47b)])==null||_0x3391c9[_0x24ef57(0x2d4)](_0x4417b7,_0x3747df);}['_transformIMECache'](_0xee5f8f){const _0x1858c9=_0x1bf13c;var _0xb393a5,_0x3f8238;return(_0x3f8238=(_0xb393a5=this['_handler'])[_0x1858c9(0x44f)])==null?void 0x0:_0x3f8238[_0x1858c9(0x2d4)](_0xb393a5,_0xee5f8f);}[_0x1bf13c(0x3b3)](_0x117757){const _0xf580e4=_0x1bf13c;var _0x2a2ee6,_0x77e5ad,_0x1dd4dd;return(_0x1dd4dd=(_0x77e5ad=(_0x2a2ee6=this[_0xf580e4(0x562)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x77e5ad[_0xf580e4(0x2d4)](_0x2a2ee6,_0x117757))!=null?_0x1dd4dd:_0x117757;}[_0x1bf13c(0x445)](_0x39ec31){const _0x35854f=_0x1bf13c;var _0x1162a8,_0x588b76;if(this[_0x35854f(0x3e3)]===_0x37da8d[_0x35854f(0x1ac)]){const {unitID:_0xf1e145,mutations:_0x544c46,memberID:_0x112286}=_0x39ec31,_0x3e6ad2=_0x544c46[0x0][_0x35854f(0x37b)][_0x35854f(0x4ac)];Array[_0x35854f(0x541)](_0x3e6ad2)&&_0x3e6ad2[_0x35854f(0x557)]>0x0&&((_0x588b76=(_0x1162a8=this[_0x35854f(0x562)])['onSyncEditingCollabCursor'])==null||_0x588b76[_0x35854f(0x2d4)](_0x1162a8,{'unitID':_0xf1e145,'memberID':_0x112286,'textRanges':_0x3e6ad2}));}}[_0x1bf13c(0x2a0)](){const _0x242fc0=_0x1bf13c;this[_0x242fc0(0x295)][_0x242fc0(0x29b)](this['unitID'],this[_0x242fc0(0x3e3)],this['_awaitingChangeset'],this[_0x242fc0(0x3a5)]);}[_0x1bf13c(0x471)](){const _0xedb04e=_0x1bf13c;return this[_0xedb04e(0x384)][_0xedb04e(0x199)](this['unitID']);}[_0x1bf13c(0x201)](){const _0x3b9a62=_0x1bf13c;this[_0x3b9a62(0x384)]['incrementRevForDocument'](this[_0x3b9a62(0x210)]);}[_0x1bf13c(0x57f)](_0x16aeff){const _0x73b3fc=_0x1bf13c;var _0xfe50ad;const _0x22d770=this['_transformRemoteChangesetByIMECache'](_0x16aeff),_0x55fd55=_0x47ad91[_0x73b3fc(0x1c4)](_0x22d770[_0x73b3fc(0x4c7)],this[_0x73b3fc(0x508)],{'fromCollab':!0x0});if(!_0x55fd55[_0x73b3fc(0x581)])throw _0x55fd55['error']instanceof Error?_0x55fd55[_0x73b3fc(0x3dd)]:new Error((_0xfe50ad=_0x55fd55[_0x73b3fc(0x3dd)])!=null?_0xfe50ad:_0x73b3fc(0x37a));this[_0x73b3fc(0x41e)](_0x22d770),this[_0x73b3fc(0x230)](_0x16aeff),this[_0x73b3fc(0x1d9)](_0x22d770),this['_syncEditingCollabCursor'](_0x22d770),this[_0x73b3fc(0x201)]();}}let _0x4fff08=class extends _0x5dbad4{constructor(_0x5b8d95,_0x12a472,_0x549c69,_0x4acaa7,_0x165573,_0x180420,_0x522c95,_0x2154e1,_0x1bfcc7,_0x2773ed){const _0x20db2d=_0x1bf13c;super(_0x5b8d95,_0x12a472,null,[],_0x549c69,_0x2154e1,_0x522c95,_0x4acaa7,_0x165573),_0x41c7d7(this,_0x20db2d(0x256),_0x20db2d(0x2f7)),(this[_0x20db2d(0x49c)]=_0x180420,this['_logService']=_0x1bfcc7,this['_transformService']=_0x2773ed);}[_0x1bf13c(0x452)](_0x4d855a){const _0x20bd42=_0x1bf13c,_0x2b11b1=this[_0x20bd42(0x49c)][_0x20bd42(0x37c)](_0x4411cb,this[_0x20bd42(0x210)],this[_0x20bd42(0x3e3)],[_0x4d855a],this['_handler']);return _0x2b11b1[_0x20bd42(0x3c2)](),_0x2b11b1['_updateLocalCache'](),_0x2b11b1;}['onRemoteChangeset'](_0x3710cf){const _0x2e1bd8=_0x1bf13c;if(this[_0x2e1bd8(0x34e)](_0x3710cf))return this['_injector']['createInstance'](_0x597c8f,this[_0x2e1bd8(0x210)],this[_0x2e1bd8(0x3e3)],null,[],null,[_0x3710cf],this[_0x2e1bd8(0x562)]);try{const _0xf907ac=this[_0x2e1bd8(0x424)]['transformMutationsWithChangeset'](_0x3710cf,[_0x67b6c6]);if(_0x4709b4[_0x2e1bd8(0x2e9)](_0xf907ac)){const {c1Prime:_0x29cd08}=_0xf907ac;return this['_executeRemoteChangeset'](_0x29cd08),this;}throw _0xf907ac[_0x2e1bd8(0x3dd)];}catch(_0x288edb){return this[_0x2e1bd8(0x449)][_0x2e1bd8(0x3dd)](_0x288edb),this[_0x2e1bd8(0x37d)](!0x1);}}['_onConflict'](_0x46d9db){const _0x4a1fed=_0x1bf13c;return this[_0x4a1fed(0x49c)][_0x4a1fed(0x37c)](_0x4c0d6a,this[_0x4a1fed(0x210)],this[_0x4a1fed(0x3e3)],null,[],this[_0x4a1fed(0x562)],_0x46d9db);}[_0x1bf13c(0x36f)](){const _0x2c636e=_0x1bf13c;throw new Error(_0x2c636e(0x3a0));}['onRemoteRej'](){const _0x29b6a8=_0x1bf13c;throw new Error(_0x29b6a8(0x43b));}[_0x1bf13c(0x27e)](){const _0x4a03bc=_0x1bf13c;return this['_injector'][_0x4a03bc(0x37c)](_0x10ca83,this['unitID'],this[_0x4a03bc(0x3e3)],null,[],this[_0x4a03bc(0x562)]);}[_0x1bf13c(0x51a)](){return this;}[_0x1bf13c(0x402)](){const _0x20248f=_0x1bf13c;throw new Error(_0x20248f(0x552));}};_0x4fff08=_0x552544([_0x21ddcd(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x277)]),_0x21ddcd(0x7,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0x8,_0x47ad91[_0x1bf13c(0x32d)]),_0x21ddcd(0x9,_0x4709b4[_0x1bf13c(0x516)])],_0x4fff08);let _0x4411cb=class extends _0x5dbad4{constructor(_0x3dd563,_0xfc9fd,_0x44ccb9,_0x2bcf6a,_0x999a2c,_0x55060e,_0x219405,_0x38878a,_0x1698f0,_0x14087b,_0x464002,_0x1437e3,_0x54eb9b,_0x587cb9){const _0x3188ec=_0x1bf13c;super(_0x3dd563,_0xfc9fd,null,_0x44ccb9,_0x2bcf6a,_0x14087b,_0x587cb9,_0x55060e,_0x219405),_0x41c7d7(this,'status',_0x3188ec(0x2af)),_0x41c7d7(this,'_scheduleTimestamp',null),_0x41c7d7(this,_0x3188ec(0x3c9),null),(this[_0x3188ec(0x49c)]=_0x999a2c,this[_0x3188ec(0x480)]=_0x38878a,this['_logService']=_0x1698f0,this['_configService']=_0x464002,this[_0x3188ec(0x424)]=_0x1437e3,this[_0x3188ec(0x2a3)]=_0x54eb9b);}[_0x1bf13c(0x452)](_0xc32152){const _0x37810e=_0x1bf13c;return this['_pendingMutations']['push'](_0xc32152),this[_0x37810e(0x2a0)](),this;}[_0x1bf13c(0x249)](_0xaf810a){const _0x4bb82f=_0x1bf13c;if(this[_0x4bb82f(0x34e)](_0xaf810a))return this[_0x4bb82f(0x266)](),this[_0x4bb82f(0x49c)][_0x4bb82f(0x37c)](_0x597c8f,this[_0x4bb82f(0x210)],this[_0x4bb82f(0x3e3)],null,this[_0x4bb82f(0x3a5)],null,[_0xaf810a],this[_0x4bb82f(0x562)]);try{const _0xcdeffa=this[_0x4bb82f(0x424)]['transformMutationsWithChangeset'](_0xaf810a,this[_0x4bb82f(0x3a5)]);if(_0x4709b4[_0x4bb82f(0x2e9)](_0xcdeffa)){const {c1Prime:_0x1ce1f8,m2Prime:_0x42753b}=_0xcdeffa;this[_0x4bb82f(0x57f)](_0x1ce1f8);const _0x25c479=this[_0x4bb82f(0x49c)][_0x4bb82f(0x37c)](_0x4411cb,this[_0x4bb82f(0x210)],this[_0x4bb82f(0x3e3)],_0x42753b,this[_0x4bb82f(0x562)]);return this[_0x4bb82f(0x266)](),_0x25c479[_0x4bb82f(0x3c2)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x25c479;}throw _0xcdeffa[_0x4bb82f(0x3dd)];}catch(_0x27cc47){return this[_0x4bb82f(0x449)]['error'](_0x27cc47),this[_0x4bb82f(0x37d)](!0x1);}}[_0x1bf13c(0x36f)](){const _0xbe80f9=_0x1bf13c;throw new Error(_0xbe80f9(0x55d));}[_0x1bf13c(0x33c)](){const _0x1da478=_0x1bf13c;throw new Error(_0x1da478(0x566));}[_0x1bf13c(0x27e)](){const _0x141559=_0x1bf13c;return this[_0x141559(0x266)](),this[_0x141559(0x49c)][_0x141559(0x37c)](_0x10ca83,this[_0x141559(0x210)],this['type'],null,this[_0x141559(0x3a5)],this[_0x141559(0x562)]);}[_0x1bf13c(0x51a)](){return this;}[_0x1bf13c(0x3c2)](_0x8ae344){const _0x3fae30=_0x1bf13c;_0x8ae344=_0x8ae344!=null?_0x8ae344:this[_0x3fae30(0x2ee)](),this[_0x3fae30(0x48d)]=new Date()[_0x3fae30(0x4ce)](),this['_sendingTimer']=setTimeout(()=>{const _0x2251e4=_0x3fae30;this['_clearScheduledTask']();let _0x331204=null;switch(this['type']){case _0x37da8d[_0x2251e4(0x4d5)]:{_0x331204=_0x2884d5(this[_0x2251e4(0x3a5)],this[_0x2251e4(0x210)],this[_0x2251e4(0x2a3)],this[_0x2251e4(0x384)],this['_memberService']);break;}case _0x37da8d[_0x2251e4(0x1ac)]:{this[_0x2251e4(0x3a5)][_0x2251e4(0x3d2)](_0x57a28a=>_0x57a28a['id']===_0x2ac904[_0x2251e4(0x3a9)]['id'])?_0x331204=_0x2aa7fb(this[_0x2251e4(0x3a5)],this[_0x2251e4(0x210)],this[_0x2251e4(0x2a3)],this['_revisionService'],this[_0x2251e4(0x480)]):_0x331204=_0x2884d5(this[_0x2251e4(0x3a5)],this[_0x2251e4(0x210)],this[_0x2251e4(0x2a3)],this[_0x2251e4(0x384)],this[_0x2251e4(0x480)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2251e4(0x3e3)]+'\x20in\x20_schedule.');}const {changeset:_0x2e93fd,pendingMutations:_0x42a34a}=_0x331204;this['_handler']['onSendChangeset'](_0x2e93fd);const _0x1c34ec=_0x42a34a[_0x2251e4(0x557)]?this[_0x2251e4(0x49c)][_0x2251e4(0x37c)](_0x5328ad,this[_0x2251e4(0x210)],this['type'],_0x2e93fd,_0x42a34a,this[_0x2251e4(0x562)]):this[_0x2251e4(0x49c)][_0x2251e4(0x37c)](_0xb4e6cc,this[_0x2251e4(0x210)],this['type'],_0x2e93fd,this[_0x2251e4(0x562)]);_0x1c34ec['_updateLocalCache'](),this[_0x2251e4(0x562)][_0x2251e4(0x273)](this,_0x1c34ec);},_0x8ae344);}[_0x1bf13c(0x2ee)](){const _0x5a4ff4=_0x1bf13c;var _0x2b46c8;return(_0x2b46c8=this[_0x5a4ff4(0x4eb)][_0x5a4ff4(0x4dd)](_0x585883))!=null?_0x2b46c8:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bf13c(0x266)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x2c74f0){const _0x37b9fb=_0x1bf13c;return this[_0x37b9fb(0x266)](),this[_0x37b9fb(0x49c)][_0x37b9fb(0x37c)](_0x4c0d6a,this[_0x37b9fb(0x210)],this[_0x37b9fb(0x3e3)],null,this[_0x37b9fb(0x3a5)],this[_0x37b9fb(0x562)],_0x2c74f0);}};_0x4411cb=_0x552544([_0x21ddcd(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['Injector'])),_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x3be5f2)),_0x21ddcd(0x8,_0x47ad91['ILogService']),_0x21ddcd(0x9,_0x47ad91['ICommandService']),_0x21ddcd(0xa,_0x47ad91[_0x1bf13c(0x57d)]),_0x21ddcd(0xb,_0x4709b4['ITransformService']),_0x21ddcd(0xc,_0x47ad91[_0x1bf13c(0x1db)]),_0x21ddcd(0xd,_0x47ad91[_0x1bf13c(0x277)])],_0x4411cb);let _0xb4e6cc=class extends _0x5dbad4{constructor(_0x1b591e,_0x4a5c6a,_0x1334a9,_0x53ae97,_0x1dbbaf,_0x393e7f,_0x1337c1,_0x72625,_0x21ead0,_0xdc49ab,_0x2c4821){const _0x2b7363=_0x1bf13c;super(_0x1b591e,_0x4a5c6a,_0x1334a9,[],_0x53ae97,_0x72625,_0x2c4821,_0x393e7f,_0x1337c1),_0x41c7d7(this,'status',_0x2b7363(0x55e)),(this[_0x2b7363(0x49c)]=_0x1dbbaf,this[_0x2b7363(0x449)]=_0x21ead0,this['_transformService']=_0xdc49ab);}[_0x1bf13c(0x452)](_0x1735ae){const _0x6a095d=_0x1bf13c,_0x4e91bb=this[_0x6a095d(0x49c)]['createInstance'](_0x5328ad,this[_0x6a095d(0x210)],this[_0x6a095d(0x3e3)],this['_awaitingChangeset'],[_0x1735ae],this[_0x6a095d(0x562)]);return _0x4e91bb[_0x6a095d(0x2a0)](),_0x4e91bb;}[_0x1bf13c(0x249)](_0xc4e36){const _0x26de0b=_0x1bf13c;if(this[_0x26de0b(0x34e)](_0xc4e36))return this[_0x26de0b(0x49c)][_0x26de0b(0x37c)](_0x597c8f,this['unitID'],this[_0x26de0b(0x3e3)],this[_0x26de0b(0x4ab)],[],null,[_0xc4e36],this['_handler']);try{const _0x29e857=this[_0x26de0b(0x424)][_0x26de0b(0x3f0)]([_0xc4e36],[this[_0x26de0b(0x4ab)]],!0x1);if(_0x4709b4[_0x26de0b(0x4f1)](_0x29e857)){const {c1Prime:_0x150f6d,c2Prime:_0x3e8b83}=_0x29e857;this['_executeRemoteChangeset'](_0x150f6d[0x0]),_0x3e8b83[0x0]['baseRev']=this[_0x26de0b(0x471)]();const _0x5849cb=this[_0x26de0b(0x49c)][_0x26de0b(0x37c)](_0xb4e6cc,this[_0x26de0b(0x210)],this['type'],_0x3e8b83[0x0],this[_0x26de0b(0x562)]);return _0x5849cb[_0x26de0b(0x2a0)](),_0x5849cb;}return this[_0x26de0b(0x37d)](!0x1);}catch(_0x296933){return this[_0x26de0b(0x449)][_0x26de0b(0x3dd)](_0x296933),this[_0x26de0b(0x37d)](!0x1);}}[_0x1bf13c(0x36f)](_0x6cd201){const _0x18b1fb=_0x1bf13c,_0x162949=this[_0x18b1fb(0x384)]['getCurrentRevForDocument'](this[_0x18b1fb(0x210)]);if(_0x6cd201[_0x18b1fb(0x1b7)]<_0x162949-0x1)return this;if(this['_checkMissing'](_0x6cd201))return this[_0x18b1fb(0x49c)][_0x18b1fb(0x37c)](_0x597c8f,this['unitID'],this[_0x18b1fb(0x3e3)],null,[],this[_0x18b1fb(0x4ab)],[],this[_0x18b1fb(0x562)]);this[_0x18b1fb(0x201)]();const _0x326062=this[_0x18b1fb(0x49c)][_0x18b1fb(0x37c)](_0x4fff08,this[_0x18b1fb(0x210)],this[_0x18b1fb(0x3e3)],this[_0x18b1fb(0x562)]);return _0x326062['_updateLocalCache'](),_0x326062;}[_0x1bf13c(0x33c)](_0x45c18d){const _0x3fde5e=_0x1bf13c;return this[_0x3fde5e(0x37d)](!!(_0x45c18d!=null&&_0x45c18d[_0x3fde5e(0x193)]));}[_0x1bf13c(0x27e)](){const _0x2eabc7=_0x1bf13c;return this[_0x2eabc7(0x49c)][_0x2eabc7(0x37c)](_0x10ca83,this[_0x2eabc7(0x210)],this[_0x2eabc7(0x3e3)],this[_0x2eabc7(0x4ab)],[],this[_0x2eabc7(0x562)]);}['toggleOnline'](){return this;}[_0x1bf13c(0x402)](){const _0x37e51f=_0x1bf13c;this['_handler'][_0x37e51f(0x584)](this[_0x37e51f(0x4ab)]);}[_0x1bf13c(0x37d)](_0x5da3de){const _0x151de0=_0x1bf13c;return this[_0x151de0(0x49c)][_0x151de0(0x37c)](_0x4c0d6a,this[_0x151de0(0x210)],this[_0x151de0(0x3e3)],this[_0x151de0(0x4ab)],[],this[_0x151de0(0x562)],_0x5da3de);}};_0xb4e6cc=_0x552544([_0x21ddcd(0x4,_0x47ad91['Inject'](_0x47ad91['Injector'])),_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x490b22['LocalCacheService'])),_0x21ddcd(0x7,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0x8,_0x47ad91['ILogService']),_0x21ddcd(0x9,_0x4709b4['ITransformService']),_0x21ddcd(0xa,_0x47ad91[_0x1bf13c(0x277)])],_0xb4e6cc);let _0x5328ad=class extends _0x5dbad4{constructor(_0x2350da,_0x3c7697,_0x1e9567,_0x2ac06f,_0xda90d0,_0x297dfc,_0x118981,_0x1fe04f,_0x554e61,_0x4d9b5f,_0x32c2fe,_0xfa81e9){const _0x285db9=_0x1bf13c;super(_0x2350da,_0x3c7697,_0x1e9567,_0x2ac06f,_0xda90d0,_0x554e61,_0xfa81e9,_0x118981,_0x1fe04f),_0x41c7d7(this,_0x285db9(0x256),_0x285db9(0x29c)),(this[_0x285db9(0x49c)]=_0x297dfc,this[_0x285db9(0x449)]=_0x4d9b5f,this['_transformService']=_0x32c2fe);}['appendMutation'](_0x609fc3){const _0x428556=_0x1bf13c;return this['_pendingMutations'][_0x428556(0x44c)](_0x609fc3),this;}[_0x1bf13c(0x249)](_0x29095c){const _0x417fd6=_0x1bf13c;if(this[_0x417fd6(0x34e)](_0x29095c))return this[_0x417fd6(0x49c)][_0x417fd6(0x37c)](_0x597c8f,this[_0x417fd6(0x210)],this[_0x417fd6(0x3e3)],this[_0x417fd6(0x4ab)],this[_0x417fd6(0x3a5)],null,[_0x29095c],this['_handler']);try{const _0x318da1=this[_0x417fd6(0x424)]['transformChangesets']([_0x29095c],[this['_awaitingChangeset']],!0x1);if(_0x4709b4['isTransformChangesetsSuccess'](_0x318da1)){const {c1Prime:_0x227f09,c2Prime:_0x41a627}=_0x318da1,_0x2ff5a1=this[_0x417fd6(0x424)][_0x417fd6(0x388)](_0x227f09[0x0],this[_0x417fd6(0x3a5)]);if(_0x4709b4['isTransformMutationsWithChangesetSuccess'](_0x2ff5a1)){const {c1Prime:_0x25c5d7,m2Prime:_0xbe5265}=_0x2ff5a1;return this[_0x417fd6(0x57f)](_0x25c5d7),_0x41a627[0x0][_0x417fd6(0x1f4)]=this[_0x417fd6(0x471)](),this[_0x417fd6(0x49c)][_0x417fd6(0x37c)](_0x5328ad,this[_0x417fd6(0x210)],this[_0x417fd6(0x3e3)],_0x41a627[0x0],_0xbe5265,this['_handler']);}throw _0x2ff5a1[_0x417fd6(0x3dd)];}throw _0x318da1[_0x417fd6(0x3dd)];}catch(_0x4555ed){return this[_0x417fd6(0x449)][_0x417fd6(0x3dd)](_0x4555ed),this[_0x417fd6(0x37d)](!0x1);}}[_0x1bf13c(0x36f)](_0x51f617){const _0xf1ca18=_0x1bf13c;if(this[_0xf1ca18(0x34e)](_0x51f617))return this[_0xf1ca18(0x49c)][_0xf1ca18(0x37c)](_0x597c8f,this['unitID'],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0xf1ca18(0x562)]);this[_0xf1ca18(0x201)]();const _0x26e2f7=this[_0xf1ca18(0x49c)]['createInstance'](_0x4411cb,this['unitID'],this[_0xf1ca18(0x3e3)],this[_0xf1ca18(0x3a5)],this[_0xf1ca18(0x562)]);return _0x26e2f7['_schedule'](),_0x26e2f7[_0xf1ca18(0x2a0)](),_0x26e2f7;}[_0x1bf13c(0x33c)](_0x1030ca){const _0x1a7f10=_0x1bf13c;return this[_0x1a7f10(0x37d)](!!(_0x1030ca!=null&&_0x1030ca[_0x1a7f10(0x193)]));}[_0x1bf13c(0x27e)](){const _0xf11ff3=_0x1bf13c;return this['_injector']['createInstance'](_0x10ca83,this['unitID'],this['type'],this[_0xf11ff3(0x4ab)],this['_pendingMutations'],this[_0xf11ff3(0x562)]);}[_0x1bf13c(0x51a)](){return this;}[_0x1bf13c(0x402)](){const _0x7942e6=_0x1bf13c;this[_0x7942e6(0x562)][_0x7942e6(0x584)](this['_awaitingChangeset']);}[_0x1bf13c(0x37d)](_0x3b3c9c){const _0x10b004=_0x1bf13c;return this[_0x10b004(0x49c)][_0x10b004(0x37c)](_0x4c0d6a,this[_0x10b004(0x210)],this['type'],null,this[_0x10b004(0x3a5)],this['_handler'],_0x3b3c9c);}};_0x5328ad=_0x552544([_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x21ddcd(0x6,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x7,_0x47ad91['Inject'](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0x8,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0x9,_0x47ad91['ILogService']),_0x21ddcd(0xa,_0x4709b4[_0x1bf13c(0x516)]),_0x21ddcd(0xb,_0x47ad91[_0x1bf13c(0x277)])],_0x5328ad);let _0x4c0d6a=class extends _0x5dbad4{constructor(_0x4ae7d0,_0x33bd99,_0x2456d3,_0x576ee6,_0x2e4db3,_0x3a4fb1=!0x1,_0x326a6b,_0x1ca8d2,_0x51485b,_0x583ff9,_0x2f1688,_0x5d4a0c,_0x5aa4ac){const _0x3305f4=_0x1bf13c;super(_0x4ae7d0,_0x33bd99,_0x2456d3,_0x576ee6,_0x2e4db3,_0x1ca8d2,_0x51485b,_0x2f1688,_0x583ff9),_0x41c7d7(this,'status',_0x3305f4(0x317)),(this[_0x3305f4(0x27b)]=_0x3a4fb1,this[_0x3305f4(0x4fa)]=_0x326a6b,this[_0x3305f4(0x2eb)]=_0x5d4a0c,this[_0x3305f4(0x2c4)]=_0x5aa4ac,this['_showConflictNotification'](),this[_0x3305f4(0x217)](),this[_0x3305f4(0x1b8)]());}[_0x1bf13c(0x452)](){return this;}[_0x1bf13c(0x249)](){return this;}[_0x1bf13c(0x36f)](){return this;}[_0x1bf13c(0x33c)](){return this;}[_0x1bf13c(0x27e)](){return this;}[_0x1bf13c(0x51a)](){return this;}[_0x1bf13c(0x402)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bf13c(0x217)](){const _0x353a05=_0x1bf13c;this[_0x353a05(0x295)][_0x353a05(0x29b)](this['unitID'],this['type'],null,[]);}[_0x1bf13c(0x326)](){const _0x18bd5e=_0x1bf13c;this[_0x18bd5e(0x27b)]?this[_0x18bd5e(0x2c4)]['show']({'title':this['_localeService']['t'](_0x18bd5e(0x33b)),'content':this[_0x18bd5e(0x2eb)]['t']('permission.content'),'type':_0x18bd5e(0x3dd),'duration':0x0}):this['_notificationService'][_0x18bd5e(0x48b)]({'title':this[_0x18bd5e(0x2eb)]['t']('conflict.title'),'content':this[_0x18bd5e(0x2eb)]['t'](_0x18bd5e(0x4e0)),'type':_0x18bd5e(0x3dd),'duration':0x0});}[_0x1bf13c(0x1b8)](){const _0x145866=_0x1bf13c;this['_permissionService'][_0x145866(0x2e3)](new _0x4b5d67[(_0x145866(0x46e))](this[_0x145866(0x210)])['id'],!0x1);}};_0x4c0d6a=_0x552544([_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x389)])),_0x21ddcd(0x7,_0x47ad91['ICommandService']),_0x21ddcd(0x8,_0x47ad91[_0x1bf13c(0x277)]),_0x21ddcd(0x9,_0x47ad91['Inject'](_0x490b22['LocalCacheService'])),_0x21ddcd(0xa,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0xb,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x21ddcd(0xc,_0x33683b[_0x1bf13c(0x40a)])],_0x4c0d6a);let _0x10ca83=class extends _0x5dbad4{constructor(_0x2b84ac,_0x34f17,_0x3c7111,_0x6abfe0,_0xfddfdc,_0x3442c7,_0x32303b,_0x487cf1,_0x543e1f,_0x550fa1){const _0x31cb97=_0x1bf13c;super(_0x2b84ac,_0x34f17,_0x3c7111,_0x6abfe0,_0xfddfdc,_0x543e1f,_0x550fa1,_0x32303b,_0x487cf1),_0x41c7d7(this,_0x31cb97(0x256),_0x31cb97(0x589)),this[_0x31cb97(0x49c)]=_0x3442c7;}['appendMutation'](_0x412135){const _0x3538b4=_0x1bf13c;return this[_0x3538b4(0x3a5)][_0x3538b4(0x44c)](_0x412135),this[_0x3538b4(0x2a0)](),this;}[_0x1bf13c(0x249)](_0x58b243){const _0x27e5a1=_0x1bf13c;throw new Error(_0x27e5a1(0x558));}['onRemoteAck'](){const _0x5a7611=_0x1bf13c;throw new Error(_0x5a7611(0x31f));}['onRemoteRej'](){const _0x63b5eb=_0x1bf13c;throw new Error(_0x63b5eb(0x3aa));}[_0x1bf13c(0x27e)](){return this;}['toggleOnline'](){const _0x3a4a48=_0x1bf13c,{_injector:_0x4085ea,_pendingMutations:_0x3850cc,_awaitingChangeset:_0x167585,unitID:_0x543034,_handler:_0x303dae,type:_0x3f16ff}=this,_0xb424b3=_0x55010c(_0x4085ea,_0x543034,_0x3f16ff,_0x167585,_0x3850cc,_0x303dae);return _0xb424b3 instanceof _0x4411cb?_0xb424b3['_schedule']():(_0xb424b3 instanceof _0x5328ad||_0xb424b3 instanceof _0xb4e6cc)&&_0xb424b3[_0x3a4a48(0x402)](),_0xb424b3;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x10ca83=_0x552544([_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x7,_0x47ad91['Inject'](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0x8,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0x9,_0x47ad91[_0x1bf13c(0x277)])],_0x10ca83);let _0x597c8f=class extends _0x5dbad4{constructor(_0x5f5b42,_0x78376b,_0x58a94e,_0xcb1a0,_0x1a0201,_0x299ccc,_0x35dd92,_0x3787f4,_0x505320,_0x3923b1,_0x115655,_0x24a978,_0x1e39a8,_0x165c89){const _0x38f474=_0x1bf13c;super(_0x5f5b42,_0x78376b,_0x58a94e,_0xcb1a0,_0x35dd92,_0x24a978,_0x1e39a8,_0x505320,_0x3923b1),_0x41c7d7(this,_0x38f474(0x256),'fetch_missing'),(this[_0x38f474(0x2a1)]=_0x1a0201,this['_queuedRemoteChangesets']=_0x299ccc,this['_injector']=_0x3787f4,this['_logService']=_0x115655,this[_0x38f474(0x424)]=_0x165c89);}[_0x1bf13c(0x297)](_0xa08e7e){const _0x38131c=_0x1bf13c;try{const _0x484ce0=[..._0xa08e7e,...this[_0x38131c(0x37f)]],_0x23cc74=[this[_0x38131c(0x4ab)]||this[_0x38131c(0x2a1)]]['filter'](_0x42041e=>!!_0x42041e);let _0x1ff673,_0x53e3eb;if(_0x23cc74[_0x38131c(0x557)]){const _0x2935d5=this[_0x38131c(0x424)][_0x38131c(0x3f0)](_0x484ce0,_0x23cc74,!0x1);if(!_0x4709b4[_0x38131c(0x4f1)](_0x2935d5))throw _0x2935d5['error'];_0x1ff673=_0x2935d5[_0x38131c(0x22a)],_0x53e3eb=_0x2935d5[_0x38131c(0x440)];}else _0x1ff673=_0x484ce0,_0x53e3eb=[];let _0x25b0b8=this[_0x38131c(0x3a5)];_0x1ff673[_0x38131c(0x2fb)](_0x5586e4=>{const _0x30289b=_0x38131c;let _0x487983;if(_0x25b0b8['length']){const _0x52aa8e=this['_transformService']['transformMutationsWithChangeset'](_0x5586e4,_0x25b0b8);if(!_0x4709b4[_0x30289b(0x2e9)](_0x52aa8e))throw _0x52aa8e[_0x30289b(0x3dd)];_0x487983=_0x52aa8e[_0x30289b(0x22a)],_0x25b0b8=_0x52aa8e['m2Prime'];}else _0x487983=_0x5586e4;this[_0x30289b(0x57f)](_0x487983);}),this[_0x38131c(0x2a1)]&&this[_0x38131c(0x201)](),this['_awaitingChangeset']&&_0x53e3eb['length']&&(_0x53e3eb[0x0][_0x38131c(0x1f4)]=this['_getCurrentRevision']());let _0x1f6d5c;if(this[_0x38131c(0x4ab)]&&_0x25b0b8[_0x38131c(0x557)]!==0x0)_0x1f6d5c=this['_injector'][_0x38131c(0x37c)](_0x5328ad,this['unitID'],this['type'],_0x53e3eb[0x0],_0x25b0b8,this[_0x38131c(0x562)]);else{if(this[_0x38131c(0x4ab)]&&_0x25b0b8[_0x38131c(0x557)]===0x0)_0x53e3eb[0x0][_0x38131c(0x1f4)]=this[_0x38131c(0x471)](),_0x1f6d5c=this['_injector']['createInstance'](_0xb4e6cc,this[_0x38131c(0x210)],this['type'],_0x53e3eb[0x0],this['_handler']);else{if(_0x25b0b8[_0x38131c(0x557)]!==0x0){const _0x47e6d7=this[_0x38131c(0x49c)][_0x38131c(0x37c)](_0x4411cb,this[_0x38131c(0x210)],this[_0x38131c(0x3e3)],_0x25b0b8,this[_0x38131c(0x562)]);_0x47e6d7[_0x38131c(0x3c2)](),_0x1f6d5c=_0x47e6d7;}else _0x1f6d5c=this[_0x38131c(0x49c)]['createInstance'](_0x4fff08,this['unitID'],this[_0x38131c(0x3e3)],this[_0x38131c(0x562)]);}}return _0x1f6d5c[_0x38131c(0x2a0)](),_0x1f6d5c;}catch(_0x5e8b89){return this[_0x38131c(0x449)][_0x38131c(0x3dd)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x5e8b89),this[_0x38131c(0x49c)][_0x38131c(0x37c)](_0x4c0d6a,this['unitID'],this[_0x38131c(0x3e3)],this[_0x38131c(0x4ab)],this[_0x38131c(0x3a5)],this[_0x38131c(0x562)],!0x1);}}[_0x1bf13c(0x402)](){const _0x36cc9b=_0x1bf13c;throw new Error(_0x36cc9b(0x435));}[_0x1bf13c(0x452)](_0x1d2328){const _0x380e99=_0x1bf13c;return this[_0x380e99(0x3a5)][_0x380e99(0x44c)](_0x1d2328),this;}['onRemoteChangeset'](_0x597ab0){return this['_queuedRemoteChangesets']['push'](_0x597ab0),this;}[_0x1bf13c(0x36f)](_0x460520){const _0x2883aa=_0x1bf13c;if(this[_0x2883aa(0x4ab)])return this[_0x2883aa(0x2a1)]=this[_0x2883aa(0x4ab)],this[_0x2883aa(0x4ab)]=null,this;throw new Error(_0x2883aa(0x287));}[_0x1bf13c(0x33c)](_0x33a0e6){const _0x18d2dd=_0x1bf13c;return this[_0x18d2dd(0x37d)](!!(_0x33a0e6!=null&&_0x33a0e6['isPermissionRej']));}[_0x1bf13c(0x27e)](){const _0x14f2e7=_0x1bf13c;return this[_0x14f2e7(0x49c)][_0x14f2e7(0x37c)](_0x10ca83,this['unitID'],this[_0x14f2e7(0x3e3)],this['_awaitingChangeset'],this[_0x14f2e7(0x3a5)],this['_handler']);}['toggleOnline'](){return this;}[_0x1bf13c(0x37d)](_0x1c2818){const _0x540e7a=_0x1bf13c;return this[_0x540e7a(0x49c)][_0x540e7a(0x37c)](_0x4c0d6a,this[_0x540e7a(0x210)],this[_0x540e7a(0x3e3)],this[_0x540e7a(0x4ab)],this[_0x540e7a(0x3a5)],this[_0x540e7a(0x562)],_0x1c2818);}};_0x597c8f=_0x552544([_0x21ddcd(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['Injector'])),_0x21ddcd(0x8,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x9,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0xa,_0x47ad91['ILogService']),_0x21ddcd(0xb,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0xc,_0x47ad91[_0x1bf13c(0x277)]),_0x21ddcd(0xd,_0x4709b4[_0x1bf13c(0x516)])],_0x597c8f);function _0x55010c(_0x41d83a,_0x490b02,_0x1bdbeb,_0x3a793c,_0x4297d9,_0x20bfe4){const _0xb4d860=_0x1bf13c;return _0x3a793c&&_0x4297d9[_0xb4d860(0x557)]?_0x41d83a[_0xb4d860(0x37c)](_0x5328ad,_0x490b02,_0x1bdbeb,_0x3a793c,_0x4297d9,_0x20bfe4):_0x3a793c?_0x41d83a[_0xb4d860(0x37c)](_0xb4e6cc,_0x490b02,_0x1bdbeb,_0x3a793c,_0x20bfe4):_0x4297d9[_0xb4d860(0x557)]?_0x41d83a['createInstance'](_0x4411cb,_0x490b02,_0x1bdbeb,_0x4297d9,_0x20bfe4):_0x41d83a[_0xb4d860(0x37c)](_0x4fff08,_0x490b02,_0x1bdbeb,_0x20bfe4);}var _0x395cfa=Object[_0x1bf13c(0x1f5)],_0x12d9dc=Object['getOwnPropertyDescriptor'],_0x2d7bd9=(_0x2ff7e6,_0x4c3c6b,_0x546a5a,_0x22d8e3)=>{for(var _0x389b64=_0x22d8e3>0x1?void 0x0:_0x22d8e3?_0x12d9dc(_0x4c3c6b,_0x546a5a):_0x4c3c6b,_0x3b7300=_0x2ff7e6['length']-0x1,_0x1b9f84;_0x3b7300>=0x0;_0x3b7300--)(_0x1b9f84=_0x2ff7e6[_0x3b7300])&&(_0x389b64=(_0x22d8e3?_0x1b9f84(_0x4c3c6b,_0x546a5a,_0x389b64):_0x1b9f84(_0x389b64))||_0x389b64);return _0x22d8e3&&_0x389b64&&_0x395cfa(_0x4c3c6b,_0x546a5a,_0x389b64),_0x389b64;},_0x2a9c3d=(_0x2fdaa5,_0xdca6bb)=>(_0x3400ce,_0x4f2718)=>_0xdca6bb(_0x3400ce,_0x4f2718,_0x2fdaa5);_0x490b22[_0x1bf13c(0x292)]=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0xe2aa90,_0x5dbcd6,_0x2cf681){const _0x3afe04=_0x1bf13c;super(),_0x41c7d7(this,_0x3afe04(0x337),new Map()),_0x41c7d7(this,_0x3afe04(0x365),new _0x255eda[(_0x3afe04(0x329))]()),(this[_0x3afe04(0x49c)]=_0xe2aa90,this[_0x3afe04(0x212)]=_0x5dbcd6,this['_univerInstanceService']=_0x2cf681,this[_0x3afe04(0x336)]());}[_0x1bf13c(0x4db)](){const _0xf6a56c=_0x1bf13c;super[_0xf6a56c(0x4db)](),this[_0xf6a56c(0x337)][_0xf6a56c(0x2fb)](_0x1671e6=>_0x1671e6[_0xf6a56c(0x4db)]()),this[_0xf6a56c(0x337)][_0xf6a56c(0x2b5)]();}[_0x1bf13c(0x26e)](_0x5ce3ad){const _0x963bae=_0x1bf13c;var _0xdb5713;return(_0xdb5713=this[_0x963bae(0x337)][_0x963bae(0x369)](_0x5ce3ad))!=null?_0xdb5713:null;}[_0x1bf13c(0x25f)](_0x2d70b0){const _0x9e8e77=_0x1bf13c,_0x38e910=this[_0x9e8e77(0x26e)](_0x2d70b0);return _0x38e910?_0x255eda['of'](_0x38e910):this[_0x9e8e77(0x365)][_0x9e8e77(0x38c)](_0x335e20[_0x9e8e77(0x591)](_0x58a607=>_0x58a607[_0x9e8e77(0x210)]===_0x2d70b0));}['_init'](){const _0xc4f38a=_0x1bf13c;this[_0xc4f38a(0x2a3)][_0xc4f38a(0x4cd)](_0x47ad91['UniverInstanceType']['UNIVER_SHEET'])['pipe'](_0x255eda['takeUntil'](this[_0xc4f38a(0x517)]),_0x335e20[_0xc4f38a(0x458)](0x10))[_0xc4f38a(0x3db)](async _0x26d723=>{const _0x797511=_0xc4f38a,_0x2da76b=_0x26d723['getUnitId'](),_0x2ffb66=await this[_0x797511(0x280)](_0x2da76b,_0x37da8d[_0x797511(0x4d5)]);this[_0x797511(0x337)][_0x797511(0x56b)](_0x2da76b,_0x2ffb66);}),this['_univerInstanceService'][_0xc4f38a(0x4cd)](_0x47ad91[_0xc4f38a(0x2f9)][_0xc4f38a(0x1ac)])[_0xc4f38a(0x38c)](_0x255eda['takeUntil'](this[_0xc4f38a(0x517)]),_0x335e20['delay'](0x10))['pipe'](_0x335e20['filter'](_0x3faa8b=>!_0x3faa8b[_0xc4f38a(0x4d4)]()['startsWith']('__')))['subscribe'](async _0x1f60bc=>{const _0x5146aa=_0xc4f38a,_0x42eaf2=_0x1f60bc[_0x5146aa(0x4d4)](),_0xfde677=await this[_0x5146aa(0x280)](_0x42eaf2,_0x37da8d[_0x5146aa(0x1ac)]);this['_entities'][_0x5146aa(0x56b)](_0x42eaf2,_0xfde677);}),_0x255eda[_0xc4f38a(0x57b)](this[_0xc4f38a(0x2a3)][_0xc4f38a(0x1e4)](_0x47ad91['UniverInstanceType'][_0xc4f38a(0x4d5)]),this[_0xc4f38a(0x2a3)][_0xc4f38a(0x1e4)](_0x47ad91[_0xc4f38a(0x2f9)][_0xc4f38a(0x1ac)]))[_0xc4f38a(0x38c)](_0x255eda[_0xc4f38a(0x4d0)](this[_0xc4f38a(0x517)]))[_0xc4f38a(0x3db)](_0x515c6d=>{const _0x48b3fd=_0xc4f38a,_0x56bff3=_0x515c6d[_0x48b3fd(0x4d4)](),_0x21ecd2=this[_0x48b3fd(0x337)]['get'](_0x56bff3);_0x21ecd2&&(_0x21ecd2[_0x48b3fd(0x4db)](),this[_0x48b3fd(0x337)][_0x48b3fd(0x1c3)](_0x56bff3));});}async[_0x1bf13c(0x280)](_0x2211bf,_0x4ff0a3){const _0x1acd2d=_0x1bf13c,_0x43838c=await this['_collabSessionService'][_0x1acd2d(0x4a9)](_0x2211bf),_0x43fea5=this[_0x1acd2d(0x49c)][_0x1acd2d(0x37c)](this[_0x1acd2d(0x422)](_0x4ff0a3),_0x2211bf,_0x4ff0a3,_0x43838c);return await _0x43fea5[_0x1acd2d(0x49a)](),this[_0x1acd2d(0x365)][_0x1acd2d(0x3e1)](_0x43fea5),_0x43fea5;}[_0x1bf13c(0x422)](_0x3edad7){const _0x3c51ee=_0x1bf13c;switch(_0x3edad7){case _0x37da8d[_0x3c51ee(0x1ac)]:return _0x4b1eff;case _0x37da8d[_0x3c51ee(0x4d5)]:return _0x490b22['SheetCollaborationEntity'];default:throw new Error(_0x3c51ee(0x2bb)+_0x3edad7);}}},_0x490b22['CollaborationController']=_0x2d7bd9([_0x47ad91['OnLifecycle'](_0x47ad91[_0x1bf13c(0x40b)]['Starting'],_0x490b22[_0x1bf13c(0x292)]),_0x2a9c3d(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x2a9c3d(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x36b)])),_0x2a9c3d(0x2,_0x47ad91[_0x1bf13c(0x1db)])],_0x490b22['CollaborationController']);let _0x40f0cf=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x5e2a98,_0x8fb884,_0x396127,_0x30926a,_0x316c89,_0x16a734,_0x20923b,_0x464514,_0x1084b6,_0x1717e7,_0x4b390a,_0x4e1a99,_0x39192d){const _0xa925f4=_0x1bf13c;super(),_0x41c7d7(this,'_state$',new _0x255eda[(_0xa925f4(0x1d6))](null)),_0x41c7d7(this,_0xa925f4(0x2d2),this[_0xa925f4(0x1ad)][_0xa925f4(0x1a1)]()),_0x41c7d7(this,_0xa925f4(0x267)),_0x41c7d7(this,_0xa925f4(0x350),!0x1),_0x41c7d7(this,_0xa925f4(0x26d),this['state$'][_0xa925f4(0x38c)](_0x335e20[_0xa925f4(0x3be)](_0x5cfd27=>_0x5cfd27?_0x5cfd27['status']:_0x214062[_0xa925f4(0x39c)]),_0x335e20[_0xa925f4(0x379)](0x1))),_0x41c7d7(this,'_transitionLocked',!0x1),_0x41c7d7(this,'_remoteChangesetQueue',[]),(this[_0xa925f4(0x210)]=_0x5e2a98,this[_0xa925f4(0x3b6)]=_0x8fb884,this[_0xa925f4(0x586)]=_0x396127,this['_injector']=_0x30926a,this[_0xa925f4(0x295)]=_0x316c89,this[_0xa925f4(0x2aa)]=_0x16a734,this[_0xa925f4(0x2eb)]=_0x20923b,this[_0xa925f4(0x384)]=_0x464514,this[_0xa925f4(0x449)]=_0x1084b6,this[_0xa925f4(0x508)]=_0x1717e7,this[_0xa925f4(0x1cd)]=_0x4b390a,this[_0xa925f4(0x4fa)]=_0x4e1a99,this['_singleActiveUnitService']=_0x39192d);}get['state'](){const _0x274283=_0x1bf13c;return this[_0x274283(0x267)];}async[_0x1bf13c(0x49a)](){const _0x1ae8b0=_0x1bf13c;if(this['state'])throw new Error(_0x1ae8b0(0x1de));await this[_0x1ae8b0(0x336)]();}[_0x1bf13c(0x544)](){const _0x2a3bea=_0x1bf13c;return this[_0x2a3bea(0x350)]=!0x0,_0x47ad91['toDisposable'](()=>{const _0x21ae44=_0x2a3bea;this[_0x21ae44(0x350)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x423cca){const _0x332ff3=_0x1bf13c;this[_0x332ff3(0x267)]=_0x423cca,this[_0x332ff3(0x1ad)][_0x332ff3(0x3e1)](_0x423cca);}async[_0x1bf13c(0x336)](){const _0x42510b=_0x1bf13c;var _0x2580d9;return this['_updateState'](await this[_0x42510b(0x4df)]()),this[_0x42510b(0x434)]&&((_0x2580d9=this[_0x42510b(0x434)])==null||_0x2580d9['editingUnit'](this[_0x42510b(0x210)]),this[_0x42510b(0x27f)](_0x47ad91[_0x42510b(0x1ab)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x42510b(0x3db)](_0x45573b=>{const _0x12f5fe=_0x42510b;this[_0x12f5fe(0x449)][_0x12f5fe(0x567)](_0x12f5fe(0x2c8),_0x12f5fe(0x44e),_0x45573b),_0x45573b===_0x527725[_0x12f5fe(0x513)]?(this[_0x12f5fe(0x1cd)][_0x12f5fe(0x48b)]({'content':this[_0x12f5fe(0x2eb)]['t'](_0x12f5fe(0x1b9)),'type':_0x2bd9cc['MessageType'][_0x12f5fe(0x207)]}),this[_0x12f5fe(0x4fa)][_0x12f5fe(0x2e3)](new _0x4b5d67[(_0x12f5fe(0x46e))](this[_0x12f5fe(0x210)])['id'],!0x1)):this['_permissionService'][_0x12f5fe(0x2e3)](new _0x4b5d67[(_0x12f5fe(0x46e))](this[_0x12f5fe(0x210)])['id'],!0x0);})))),this['disposeWithMe'](_0x47ad91[_0x42510b(0x1ab)](this[_0x42510b(0x586)][_0x42510b(0x283)][_0x42510b(0x3db)](_0x204b0e=>{const _0x427979=_0x42510b;_0x204b0e===_0x1a88b8[_0x427979(0x45f)]?this[_0x427979(0x4b4)]():_0x204b0e===_0x1a88b8[_0x427979(0x39c)]&&this['_toggleOffline']();}))),this[_0x42510b(0x27f)](_0x47ad91[_0x42510b(0x1ab)](this[_0x42510b(0x586)]['event$'][_0x42510b(0x3db)](_0x1525dd=>{const _0x209151=_0x42510b;try{switch(_0x1525dd[_0x209151(0x58d)]){case _0x4709b4['CollaborationEvent'][_0x209151(0x46d)]:{this[_0x209151(0x2de)](_0x4709b4[_0x209151(0x32a)](_0x1525dd[_0x209151(0x3c1)]));break;}case _0x4709b4['CollaborationEvent'][_0x209151(0x457)]:{this[_0x209151(0x4b9)](_0x1525dd[_0x209151(0x3c1)]);break;}case _0x4709b4[_0x209151(0x1dd)][_0x209151(0x3e9)]:{this[_0x209151(0x464)]();break;}case _0x4709b4['CollaborationEvent'][_0x209151(0x4bc)]:{this[_0x209151(0x2f6)](_0x1525dd[_0x209151(0x3c1)][_0x209151(0x40d)][_0x209151(0x3be)](_0x14797e=>_0x4709b4[_0x209151(0x32a)](_0x14797e)));break;}case _0x4709b4[_0x209151(0x1dd)][_0x209151(0x4d6)]:this[_0x209151(0x464)]({'isPermissionRej':!0x0});}}catch(_0x8e7eee){throw console['error']('Error\x20on\x20receiving\x20event',_0x8e7eee),_0x8e7eee;}}))),this['_state'];}[_0x1bf13c(0x2a4)](){const _0x332acd=_0x1bf13c;this[_0x332acd(0x4fc)]=!0x1;}[_0x1bf13c(0x540)](){const _0x3f3af3=_0x1bf13c;if(this[_0x3f3af3(0x4fc)])throw new Error(_0x3f3af3(0x2e7));this[_0x3f3af3(0x4fc)]=!0x0;}[_0x1bf13c(0x338)](_0x425187){const _0xe6a8cd=_0x1bf13c;this[_0xe6a8cd(0x540)](),this['_updateState'](this['_state']['appendMutation'](_0x425187)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x3a2d45){const _0x47403e=_0x1bf13c;if(!(_0x3a2d45[_0x47403e(0x1b7)]<=this[_0x47403e(0x384)][_0x47403e(0x199)](this[_0x47403e(0x210)]))){if(this[_0x47403e(0x350)]){this[_0x47403e(0x24e)]['push'](_0x3a2d45);return;}this[_0x47403e(0x2b9)](_0x3a2d45);}}[_0x1bf13c(0x213)](){const _0x20a6cc=_0x1bf13c;this[_0x20a6cc(0x24e)][_0x20a6cc(0x2fb)](_0x194b9f=>this['_applyRemoteChangeset'](_0x194b9f)),this['_remoteChangesetQueue']=[];}[_0x1bf13c(0x2b9)](_0x2583b2){const _0x422c99=_0x1bf13c,_0x3b7adb=this[_0x422c99(0x2aa)]['interceptor']['fetchThroughInterceptors'](this[_0x422c99(0x2aa)][_0x422c99(0x3d4)][_0x422c99(0x423)]()['COMPRESS_MUTATION_APPLY'])(_0x2583b2[_0x422c99(0x4c7)],null)||_0x2583b2[_0x422c99(0x4c7)],_0x27bfa4={..._0x2583b2,'mutations':_0x3b7adb};this[_0x422c99(0x540)](),this['_updateState'](this[_0x422c99(0x267)][_0x422c99(0x249)](_0x27bfa4)),this[_0x422c99(0x2a4)]();}[_0x1bf13c(0x4b9)](_0x1bacbc){const _0x1e42b7=_0x1bf13c;this[_0x1e42b7(0x540)](),this[_0x1e42b7(0x3af)](this[_0x1e42b7(0x267)]['onRemoteAck'](_0x1bacbc)),this[_0x1e42b7(0x2a4)]();}[_0x1bf13c(0x464)](_0x4f08ac){const _0x3c32b3=_0x1bf13c;this[_0x3c32b3(0x540)](),this[_0x3c32b3(0x3af)](this[_0x3c32b3(0x267)][_0x3c32b3(0x33c)](_0x4f08ac)),this['_unlockTransition']();}[_0x1bf13c(0x2f6)](_0x289ac5){const _0x3fcde6=_0x1bf13c;if(!(this[_0x3fcde6(0x267)]instanceof _0x597c8f))throw new TypeError(_0x3fcde6(0x469));const _0x461c9a=_0x289ac5[_0x3fcde6(0x3be)](_0x4a42e3=>{const _0x29b94e=_0x3fcde6,_0x1829c7=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x29b94e(0x3d4)]['getInterceptPoints']()[_0x29b94e(0x3d8)])(_0x4a42e3['mutations'],null)||_0x4a42e3['mutations'];return{..._0x4a42e3,'mutations':_0x1829c7};});this['_lockTransition'](),this[_0x3fcde6(0x3af)](this[_0x3fcde6(0x267)][_0x3fcde6(0x297)](_0x461c9a)),this[_0x3fcde6(0x2a4)]();}[_0x1bf13c(0x3ae)](){const _0x4f5c1d=_0x1bf13c;this[_0x4f5c1d(0x540)](),this[_0x4f5c1d(0x3af)](this['_state'][_0x4f5c1d(0x27e)]()),this[_0x4f5c1d(0x2a4)]();}[_0x1bf13c(0x4b4)](){const _0x264db3=_0x1bf13c;this['_lockTransition'](),this[_0x264db3(0x3af)](this[_0x264db3(0x267)]['toggleOnline']()),this['_unlockTransition']();}async[_0x1bf13c(0x4df)](){return new Promise(_0xb9b27c=>{const _0x476cae=_0x2921;this[_0x476cae(0x586)]['sessionStatus$']['pipe'](_0x335e20['take'](0x1))[_0x476cae(0x3db)](async _0x398824=>{_0xb9b27c(await this['_createInitialStateImpl'](_0x398824===_0x1a88b8['ONLINE']));});});}[_0x1bf13c(0x2b7)](){const _0x181216=_0x1bf13c,_0x2fddac=this[_0x181216(0x210)];return{'onStateChange':(_0x4e382b,_0x326039)=>{const _0x38f77f=_0x181216;if(_0x4e382b!==this[_0x38f77f(0x267)])throw new Error(_0x38f77f(0x4e5)+_0x4e382b[_0x38f77f(0x256)]+_0x38f77f(0x2e8)+_0x326039[_0x38f77f(0x256)]+_0x38f77f(0x259)+this['_state']['status']);this['_updateState'](_0x326039);},'onSendChangeset':_0x208844=>{const _0x1d0c8a=_0x181216,_0x492bde={'eventID':_0x4709b4[_0x1d0c8a(0x1dd)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x208844[_0x1d0c8a(0x210)],'unitType':this[_0x1d0c8a(0x3b6)],'changeset':_0x208844,'memberID':this['_session'][_0x1d0c8a(0x1ff)]()}};this[_0x1d0c8a(0x586)][_0x1d0c8a(0x56e)](_0x492bde,this[_0x1d0c8a(0x210)]);},'onMissingChangesets':({from:_0x3afb4c,to:_0x55bcea})=>{const _0xce3a8a=_0x181216;this[_0xce3a8a(0x449)][_0xce3a8a(0x567)](_0xce3a8a(0x2c8),_0xce3a8a(0x1c5)+_0x3afb4c+'\x20to\x20'+_0x55bcea);const _0x13853a={'eventID':_0x4709b4[_0xce3a8a(0x1dd)]['FETCH_MISSING'],'data':{'unitID':_0x2fddac,'unitType':this[_0xce3a8a(0x3b6)],'from':_0x3afb4c,'to':_0x55bcea}};this['_session'][_0xce3a8a(0x56e)](_0x13853a,this[_0xce3a8a(0x210)]);}};}async[_0x1bf13c(0x582)](_0x344ee1){const _0x50ed75=_0x1bf13c;var _0x2a7b23,_0x5518eb;const _0xa9b63d=await this[_0x50ed75(0x295)][_0x50ed75(0x1f2)](this[_0x50ed75(0x210)]),_0x16d423=(_0x2a7b23=_0xa9b63d==null?void 0x0:_0xa9b63d[_0x50ed75(0x4c7)])!=null?_0x2a7b23:[],_0x5a6911=(_0x5518eb=_0xa9b63d==null?void 0x0:_0xa9b63d['awaitingChangeset'])!=null?_0x5518eb:null,_0x565460=this[_0x50ed75(0x210)];try{this[_0x50ed75(0x54d)](_0x5a6911,_0x16d423);}catch(_0x1a6563){this[_0x50ed75(0x449)][_0x50ed75(0x3dd)](_0x1a6563);}const _0x213c96=this['_createHandler']();if(_0x344ee1){const _0x263067=_0x55010c(this[_0x50ed75(0x49c)],_0x565460,this[_0x50ed75(0x3b6)],_0x5a6911,_0x16d423,_0x213c96);return _0x263067 instanceof _0x4411cb?_0x263067[_0x50ed75(0x3c2)]():(_0x263067 instanceof _0x5328ad||_0x263067 instanceof _0xb4e6cc)&&_0x263067[_0x50ed75(0x402)](),_0x263067;}return this['_injector'][_0x50ed75(0x37c)](_0x10ca83,_0x565460,this[_0x50ed75(0x3b6)],_0x5a6911,_0x16d423,_0x213c96);}[_0x1bf13c(0x54d)](_0x3a891d,_0x18821a){const _0x40f2f5=_0x1bf13c;var _0x239bce,_0x485bb4;const _0x86ae03=this[_0x40f2f5(0x2aa)]['interceptor'][_0x40f2f5(0x30b)](this[_0x40f2f5(0x2aa)][_0x40f2f5(0x3d4)]['getInterceptPoints']()[_0x40f2f5(0x3d8)]);(_0x239bce=_0x86ae03((_0x3a891d==null?void 0x0:_0x3a891d[_0x40f2f5(0x4c7)])||[],null))==null||_0x239bce['forEach'](_0x2767d7=>this[_0x40f2f5(0x508)]['executeCommand'](_0x2767d7['id'],_0x2767d7['params'])),(_0x485bb4=_0x86ae03(_0x18821a||[],null))==null||_0x485bb4['forEach'](_0xc3353f=>this['_commandService']['executeCommand'](_0xc3353f['id'],_0xc3353f[_0x40f2f5(0x37b)]));}};_0x40f0cf=_0x2d7bd9([_0x2a9c3d(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x2a9c3d(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x2a9c3d(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x44a)])),_0x2a9c3d(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x2a9c3d(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4['RevisionService'])),_0x2a9c3d(0x8,_0x47ad91['ILogService']),_0x2a9c3d(0x9,_0x47ad91[_0x1bf13c(0x226)]),_0x2a9c3d(0xa,_0x33683b['IMessageService']),_0x2a9c3d(0xb,_0x47ad91[_0x1bf13c(0x389)]),_0x2a9c3d(0xc,_0x47ad91['Optional'](_0x160851))],_0x40f0cf);let _0x4b1eff=class extends _0x40f0cf{constructor(_0x14994b,_0x5a2102,_0x438cb4,_0x9c30e2,_0x4d6e0a,_0x20ebb4,_0x5ee54b,_0x5e6a74,_0x16ab94,_0x2ee0d8,_0x323210,_0x43971f,_0x3b3be9,_0x41f4a0,_0x3d67d0,_0x207123,_0x53bf5c){const _0x13a304=_0x1bf13c;super(_0x14994b,_0x5a2102,_0x438cb4,_0x9c30e2,_0x4d6e0a,_0x20ebb4,_0x5ee54b,_0x5e6a74,_0x3b3be9,_0x41f4a0,_0x3d67d0,_0x207123,_0x53bf5c),this['unitID']=_0x14994b,this['type']=_0x5a2102,this[_0x13a304(0x1b0)]=_0x438cb4,this[_0x13a304(0x569)]=_0x16ab94,this[_0x13a304(0x520)]=_0x2ee0d8,this[_0x13a304(0x47a)]=_0x323210,this[_0x13a304(0x26c)]=_0x43971f;}[_0x1bf13c(0x2b7)](){const _0x248017=_0x1bf13c,_0x4e1bd9=super['_createHandler']();return _0x4e1bd9[_0x248017(0x44f)]=_0x3729ac=>this[_0x248017(0x520)]['transformIMECache'](_0x3729ac),_0x4e1bd9[_0x248017(0x47b)]=_0x4e8eb8=>this[_0x248017(0x47a)][_0x248017(0x313)](_0x4e8eb8),_0x4e1bd9[_0x248017(0x412)]=_0x35176c=>this[_0x248017(0x26c)][_0x248017(0x240)](_0x35176c),_0x4e1bd9['onTransformRemoteChangesetByIMECache']=_0x219b77=>this[_0x248017(0x520)][_0x248017(0x4b1)](_0x219b77),_0x4e1bd9;}async[_0x1bf13c(0x336)](){const _0x10e25e=_0x1bf13c,_0x7dac07=await super[_0x10e25e(0x336)]();return this[_0x10e25e(0x27f)](this[_0x10e25e(0x508)]['onCommandExecuted']((_0x477178,_0x4d1dd9)=>{const _0x54697c=_0x10e25e;if(_0x477178['type']!==_0x47ad91['CommandType'][_0x54697c(0x468)]||_0x4d1dd9!=null&&_0x4d1dd9[_0x54697c(0x1c2)]||_0x4d1dd9!=null&&_0x4d1dd9['onlyLocal'])return;const _0x3535a9=_0x477178[_0x54697c(0x37b)];if((_0x3535a9==null?void 0x0:_0x3535a9[_0x54697c(0x206)])!==this[_0x54697c(0x210)])return;let _0x34b100=_0x477178;if(_0x34b100['id']===_0x2ac904[_0x54697c(0x3a9)]['id']){const _0xb51ed8=_0x34b100[_0x54697c(0x37b)];_0x34b100={'id':_0x2ac904[_0x54697c(0x3a9)]['id'],'type':_0x47ad91[_0x54697c(0x3ce)][_0x54697c(0x468)],'params':{'unitId':_0xb51ed8[_0x54697c(0x206)],'actions':_0xb51ed8['actions'],'textRanges':null}};}const _0x4f898c=this[_0x54697c(0x2aa)][_0x54697c(0x3d4)]['fetchThroughInterceptors'](this[_0x54697c(0x2aa)][_0x54697c(0x3d4)][_0x54697c(0x423)]()['COMPRESS_MUTATION_SEND'])([_0x34b100],null)||[_0x34b100];this[_0x54697c(0x338)](_0x4f898c[0x0]);})),_0x7dac07;}};_0x4b1eff=_0x2d7bd9([_0x2a9c3d(0x3,_0x47ad91['Inject'](_0x47ad91['Injector'])),_0x2a9c3d(0x4,_0x47ad91['Inject'](_0x490b22[_0x1bf13c(0x3fa)])),_0x2a9c3d(0x5,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x44a)])),_0x2a9c3d(0x6,_0x47ad91['Inject'](_0x47ad91[_0x1bf13c(0x3da)])),_0x2a9c3d(0x7,_0x47ad91['Inject'](_0x4709b4['RevisionService'])),_0x2a9c3d(0x8,_0x47ad91[_0x1bf13c(0x483)](_0x2ac904['DocStateChangeManagerService'])),_0x2a9c3d(0x9,_0x47ad91[_0x1bf13c(0x483)](_0x5bc3d5)),_0x2a9c3d(0xa,_0x47ad91['Inject'](_0x85bcf8)),_0x2a9c3d(0xb,_0x47ad91[_0x1bf13c(0x483)](_0x2a9bcc)),_0x2a9c3d(0xc,_0x47ad91['ILogService']),_0x2a9c3d(0xd,_0x47ad91['ICommandService']),_0x2a9c3d(0xe,_0x33683b[_0x1bf13c(0x203)]),_0x2a9c3d(0xf,_0x47ad91[_0x1bf13c(0x389)]),_0x2a9c3d(0x10,_0x47ad91['Optional'](_0x160851))],_0x4b1eff),_0x490b22[_0x1bf13c(0x348)]=class extends _0x40f0cf{constructor(_0x8ebba4,_0x105f5e,_0x1b3047,_0x1a0a3a,_0x53dd61,_0x2cc91b,_0x11809a,_0x10d4f4,_0x8f2438,_0x394a2d,_0x584222,_0x5eb74d,_0x136842,_0x15eb3f){const _0x2dfaa0=_0x1bf13c;super(_0x8ebba4,_0x105f5e,_0x1b3047,_0x1a0a3a,_0x53dd61,_0x2cc91b,_0x11809a,_0x10d4f4,_0x394a2d,_0x584222,_0x5eb74d,_0x136842,_0x15eb3f),this[_0x2dfaa0(0x210)]=_0x8ebba4,this[_0x2dfaa0(0x3e3)]=_0x105f5e,this['session']=_0x1b3047,this[_0x2dfaa0(0x1ae)]=_0x8f2438;}[_0x1bf13c(0x2b7)](){const _0x554227=_0x1bf13c,_0x5bd94f=super['_createHandler']();return _0x5bd94f[_0x554227(0x47b)]=_0x598e60=>this[_0x554227(0x1ae)]['transformSelections'](_0x598e60),_0x5bd94f;}async[_0x1bf13c(0x336)](){const _0x33a9de=_0x1bf13c,_0x4a4b6a=await super['_init']();return this[_0x33a9de(0x27f)](this[_0x33a9de(0x508)][_0x33a9de(0x28d)]((_0x5975e1,_0x111c72)=>{const _0x26c08c=_0x33a9de;if(_0x5975e1[_0x26c08c(0x3e3)]!==_0x47ad91[_0x26c08c(0x3ce)][_0x26c08c(0x468)]||_0x111c72!=null&&_0x111c72[_0x26c08c(0x1c2)]||_0x111c72!=null&&_0x111c72[_0x26c08c(0x525)])return;const _0x223c2a=_0x5975e1[_0x26c08c(0x37b)];if((_0x223c2a==null?void 0x0:_0x223c2a['unitId'])!==this[_0x26c08c(0x210)])return;const _0x3cf019=_0x5975e1,_0x1d9ee4=this['_compressMutationService'][_0x26c08c(0x3d4)][_0x26c08c(0x30b)](this[_0x26c08c(0x2aa)][_0x26c08c(0x3d4)][_0x26c08c(0x423)]()['COMPRESS_MUTATION_SEND'])([_0x3cf019],null)||[_0x3cf019];this[_0x26c08c(0x338)](_0x1d9ee4[0x0]);})),_0x4a4b6a;}},_0x490b22[_0x1bf13c(0x348)]=_0x2d7bd9([_0x2a9c3d(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x2a9c3d(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x2a9c3d(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4['CompressMutationService'])),_0x2a9c3d(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x2a9c3d(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x2a9c3d(0x8,_0x47ad91['Inject'](_0x2c3692)),_0x2a9c3d(0x9,_0x47ad91[_0x1bf13c(0x32d)]),_0x2a9c3d(0xa,_0x47ad91[_0x1bf13c(0x226)]),_0x2a9c3d(0xb,_0x33683b['IMessageService']),_0x2a9c3d(0xc,_0x47ad91['IPermissionService']),_0x2a9c3d(0xd,_0x47ad91['Optional'](_0x160851))],_0x490b22[_0x1bf13c(0x348)]);const _0x5cecde=[_0x1bf13c(0x1eb),_0x1bf13c(0x585),'verdancy600',_0x1bf13c(0x47d),'blue400',_0x1bf13c(0x444)];class _0x6a7ba3 extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(){const _0x3a00c6=_0x1bf13c;super(...arguments),_0x41c7d7(this,_0x3a00c6(0x49e),new Map()),_0x41c7d7(this,_0x3a00c6(0x282),0x0);}[_0x1bf13c(0x51c)](_0x24bedd){const _0x41eb64=_0x1bf13c;if(this[_0x41eb64(0x49e)][_0x41eb64(0x19c)](_0x24bedd))return this[_0x41eb64(0x49e)][_0x41eb64(0x369)](_0x24bedd);const _0x2499a9=_0x5cecde[this['_colorIndex']];return this['_colorIndex']=(this[_0x41eb64(0x282)]+0x1)%_0x5cecde['length'],this[_0x41eb64(0x49e)]['set'](_0x24bedd,_0x2499a9),_0x2499a9;}}var _0x3f6db1=Object['defineProperty'],_0x5e70d7=Object[_0x1bf13c(0x523)],_0x2a3f59=(_0x44cdf7,_0x3970df,_0x3ed5ce,_0x1344fa)=>{const _0x3558d2=_0x1bf13c;for(var _0x28b4b2=_0x1344fa>0x1?void 0x0:_0x1344fa?_0x5e70d7(_0x3970df,_0x3ed5ce):_0x3970df,_0x4b5471=_0x44cdf7[_0x3558d2(0x557)]-0x1,_0xcc73bb;_0x4b5471>=0x0;_0x4b5471--)(_0xcc73bb=_0x44cdf7[_0x4b5471])&&(_0x28b4b2=(_0x1344fa?_0xcc73bb(_0x3970df,_0x3ed5ce,_0x28b4b2):_0xcc73bb(_0x28b4b2))||_0x28b4b2);return _0x1344fa&&_0x28b4b2&&_0x3f6db1(_0x3970df,_0x3ed5ce,_0x28b4b2),_0x28b4b2;},_0x17a9b4=(_0x54b82b,_0x514c9f)=>(_0x42a128,_0x597627)=>_0x514c9f(_0x42a128,_0x597627,_0x54b82b);const _0x25b0c6=0x12c,_0x4f4fc6=0x64,_0x4f1b3e=()=>{let _0xe11dea=[],_0xa02fc2=!0x1;return _0x3f815a=>{_0xe11dea['push'](_0x3f815a),_0xa02fc2||(_0xa02fc2=!0x0,setTimeout(()=>{_0xe11dea['forEach'](_0x28b3a6=>_0x28b3a6()),_0xe11dea=[],_0xa02fc2=!0x1;}));};};let _0x23a6a9=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x4c0fdd,_0x268922,_0x40b984,_0x116a13,_0x3ccd43,_0x4ffc9e,_0x556677,_0x3f76e2){const _0x436162=_0x1bf13c;super(),_0x41c7d7(this,'_online',!0x1),_0x41c7d7(this,_0x436162(0x336),!0x1),_0x41c7d7(this,'_cursorInfo$',new _0x255eda[(_0x436162(0x1d6))](new Map())),_0x41c7d7(this,_0x436162(0x3a7),this[_0x436162(0x39a)]['asObservable']()),_0x41c7d7(this,'_roomMembers$',new _0x255eda['BehaviorSubject']([])),_0x41c7d7(this,_0x436162(0x236),this[_0x436162(0x4ed)][_0x436162(0x38c)](_0x255eda[_0x436162(0x2cc)](_0x25b0c6))),_0x41c7d7(this,_0x436162(0x3bc),_0x249566((_0x379e25,_0x1d4513)=>{const _0x5db35f=_0x436162,_0x32047b={'eventID':_0x4709b4[_0x5db35f(0x1dd)][_0x5db35f(0x38e)],'data':{'unitID':this[_0x5db35f(0x210)],'memberID':this[_0x5db35f(0x586)][_0x5db35f(0x1ff)](),'selection':_0x4ebb09[_0x5db35f(0x2ef)](_0x379e25,_0x1d4513['range'])}};this['_session'][_0x5db35f(0x56e)](_0x32047b,this[_0x5db35f(0x210)]);},_0x4f4fc6)),(this['unitID']=_0x4c0fdd,this[_0x436162(0x586)]=_0x268922,this[_0x436162(0x49c)]=_0x40b984,this['_colorAssignService']=_0x116a13,this[_0x436162(0x480)]=_0x3ccd43,this['_univerInstanceService']=_0x4ffc9e,this['_commandService']=_0x556677,this[_0x436162(0x2c3)]=_0x3f76e2);}get[_0x1bf13c(0x3e5)](){const _0x4ee779=_0x1bf13c;return this[_0x4ee779(0x39a)]['getValue']();}get[_0x1bf13c(0x42b)](){const _0x5c34c=_0x1bf13c;return this[_0x5c34c(0x4ed)][_0x5c34c(0x36e)]();}['dispose'](){const _0x471280=_0x1bf13c;super[_0x471280(0x4db)](),this[_0x471280(0x39a)]['next'](new Map()),this[_0x471280(0x39a)][_0x471280(0x2ad)](),this[_0x471280(0x4ed)][_0x471280(0x3e1)]([]),this[_0x471280(0x4ed)]['complete']();}[_0x1bf13c(0x49a)](){const _0x3b9fe8=_0x1bf13c;this['_init']||(this[_0x3b9fe8(0x336)]=!0x0,this[_0x3b9fe8(0x586)][_0x3b9fe8(0x283)][_0x3b9fe8(0x38c)](_0x255eda['takeUntil'](this[_0x3b9fe8(0x517)]))[_0x3b9fe8(0x3db)](_0x5b98ad=>{const _0x13d5f2=_0x3b9fe8;_0x5b98ad===_0x1a88b8[_0x13d5f2(0x45f)]?this[_0x13d5f2(0x4b4)]():this[_0x13d5f2(0x3ae)]();}),this[_0x3b9fe8(0x586)]['event$']['pipe'](_0x255eda[_0x3b9fe8(0x4d0)](this[_0x3b9fe8(0x517)]))[_0x3b9fe8(0x3db)](_0x3b0c84=>{const _0x17cc8a=_0x3b9fe8,_0x1f568b=_0x3b0c84[_0x17cc8a(0x58d)];_0x1f568b===_0x4709b4[_0x17cc8a(0x1dd)][_0x17cc8a(0x38e)]&&this['_onCursorUpdate'](_0x3b0c84),_0x1f568b===_0x4709b4[_0x17cc8a(0x1dd)][_0x17cc8a(0x306)]&&this[_0x17cc8a(0x428)](_0x3b0c84);}),this[_0x3b9fe8(0x53a)](),this[_0x3b9fe8(0x27f)](this[_0x3b9fe8(0x508)][_0x3b9fe8(0x28d)](_0x366cb6=>{const _0x127f83=_0x3b9fe8;if(this['_online']&&_0x366cb6['id']===_0x4b5d67[_0x127f83(0x346)]['id']&&_0x366cb6['params']['unitId']===this[_0x127f83(0x210)]){const _0x2dec81=_0x366cb6['params'];this[_0x127f83(0x3bc)](_0x2dec81[_0x127f83(0x4f2)],_0x2dec81[_0x127f83(0x4ec)][0x0]);}})));}['_onCursorUpdate'](_0x2ea205){const _0x229cc3=_0x1bf13c;var _0x21aeaa,_0x956cab;const {memberID:_0x4c2bf5,selection:_0x46e066}=_0x2ea205[_0x229cc3(0x3c1)],{sheetName:_0x1e978f,range:_0x4f5f07}=_0x4ebb09[_0x229cc3(0x1df)](_0x46e066),_0x39f30d={'name':(_0x956cab=(_0x21aeaa=this['_memberService'][_0x229cc3(0x55c)](this[_0x229cc3(0x210)],_0x4c2bf5))==null?void 0x0:_0x21aeaa[_0x229cc3(0x24b)])!=null?_0x956cab:_0x229cc3(0x4ba),'range':this[_0x229cc3(0x4b7)](_0x1e978f,_0x4f5f07),'sheetID':_0x1e978f,'color':this[_0x229cc3(0x3cb)]['assignAColorForMemberID'](_0x4c2bf5),'selection':_0x46e066},_0x5a43f0=this[_0x229cc3(0x3e5)];_0x5a43f0['set'](_0x4c2bf5,_0x39f30d),this[_0x229cc3(0x39a)]['next'](_0x5a43f0);}['_onCursorDelete'](_0x5eb995){const _0x2a2057=_0x1bf13c,{memberID:_0x42416a}=_0x5eb995[_0x2a2057(0x3c1)],_0x288bdf=this[_0x2a2057(0x3e5)];_0x288bdf['delete'](_0x42416a),this['_cursorInfo$'][_0x2a2057(0x3e1)](_0x288bdf);}[_0x1bf13c(0x4b7)](_0x431af9,_0x186443){const _0x3958d9=_0x1bf13c;var _0x43d502,_0x3c4c86;const _0x59f3c8=(_0x3c4c86=(_0x43d502=this[_0x3958d9(0x2a3)]['getUniverSheetInstance'](this[_0x3958d9(0x210)]))==null?void 0x0:_0x43d502[_0x3958d9(0x570)](_0x431af9))==null?void 0x0:_0x3c4c86['getMergeData']();return(_0x59f3c8==null?void 0x0:_0x59f3c8[_0x3958d9(0x579)](_0x52eeb6=>_0x47ad91[_0x3958d9(0x34b)][_0x3958d9(0x2f2)](_0x52eeb6,_0x186443)))||_0x186443;}[_0x1bf13c(0x53a)](){const _0x3553e5=_0x1bf13c,_0xbd3cca=new _0x47ad91[(_0x3553e5(0x3bb))](),_0x38b15a=_0x4f1b3e(),_0x380e4e=()=>{const _0xb2612b=_0x3553e5;_0xbd3cca[_0xb2612b(0x4db)]();const _0x26a756=(_0x52501b,_0x294740,_0x161605,_0x201c43)=>{const _0x147e1a=_0xb2612b;let _0x316762=[];switch(_0x52501b['id']){case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x3f8)]:{_0x316762=_0x4b5d67['handleDeleteRangeMoveLeft'](_0x52501b,_0x201c43);break;}case _0x4b5d67['EffectRefRangId'][_0x147e1a(0x478)]:{_0x316762=_0x4b5d67[_0x147e1a(0x1b2)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x3ed)]:{_0x316762=_0x4b5d67[_0x147e1a(0x40f)](_0x52501b,_0x201c43);break;}case _0x4b5d67['EffectRefRangId'][_0x147e1a(0x367)]:{_0x316762=_0x4b5d67[_0x147e1a(0x22b)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x307)]:{_0x316762=_0x4b5d67[_0x147e1a(0x270)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x1fb)]:{_0x316762=_0x4b5d67[_0x147e1a(0x3d0)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x382)]:{_0x316762=_0x4b5d67[_0x147e1a(0x3bd)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x1f8)]:{_0x316762=_0x4b5d67['handleIRemoveCol'](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)]['RemoveRowCommandId']:{_0x316762=_0x4b5d67[_0x147e1a(0x2e1)](_0x52501b,_0x201c43);break;}}const _0x289fd3=_0x4b5d67[_0x147e1a(0x303)](_0x316762,_0x201c43),_0x56c704=this[_0x147e1a(0x3e5)][_0x147e1a(0x369)](_0x294740);if(_0x56c704&&_0x289fd3){const _0x113c85={..._0x56c704,'range':_0x289fd3};this['cursorInfo'][_0x147e1a(0x56b)](_0x294740,_0x113c85),_0x38b15a(()=>{const _0x5bb225=_0x147e1a,_0x3f6e7c=this['_refRangeService'][_0x5bb225(0x31e)](_0x289fd3,_0x115f5b=>(_0x3f6e7c[_0x5bb225(0x4db)](),_0x26a756(_0x115f5b,_0x294740,_0x161605,_0x289fd3)));_0xbd3cca[_0x5bb225(0x565)](_0x3f6e7c);});}return{'redos':[],'undos':[]};};this[_0xb2612b(0x3e5)][_0xb2612b(0x2fb)]((_0x5139b4,_0x3110ea)=>{const _0x31d46b=_0xb2612b,{range:_0x561837,sheetID:_0x4f402f}=_0x5139b4,_0x5c82ac=this['_refRangeService'][_0x31d46b(0x31e)](_0x561837,_0x2aac1a=>(_0x5c82ac[_0x31d46b(0x4db)](),_0x26a756(_0x2aac1a,_0x3110ea,_0x4f402f,_0x561837)));_0xbd3cca[_0x31d46b(0x565)](_0x5c82ac);});};this[_0x3553e5(0x27f)](_0x47ad91[_0x3553e5(0x1ab)](this[_0x3553e5(0x39a)][_0x3553e5(0x3db)](()=>{_0x380e4e();})));}[_0x1bf13c(0x4b4)](){const _0x4ac15f=_0x1bf13c;var _0x479c4c,_0x388976;if(this['_online']=!0x0,((_0x479c4c=this[_0x4ac15f(0x2a3)][_0x4ac15f(0x296)]())==null?void 0x0:_0x479c4c[_0x4ac15f(0x4d4)]())!==this['unitID'])return;const _0x18f1b6=(_0x388976=this['_injector'][_0x4ac15f(0x369)](_0x4b5d67[_0x4ac15f(0x1cc)])['getCurrentSelections']())==null?void 0x0:_0x388976[0x0],_0x3b4c95=this[_0x4ac15f(0x2a3)][_0x4ac15f(0x511)](_0x47ad91['UniverInstanceType'][_0x4ac15f(0x4d5)])['getActiveSheet']();_0x18f1b6&&_0x3b4c95&&this[_0x4ac15f(0x3bc)](_0x3b4c95['getSheetId'](),_0x18f1b6);}[_0x1bf13c(0x3ae)](){const _0x4fd1f4=_0x1bf13c;this[_0x4fd1f4(0x495)]=!0x1;}};_0x23a6a9=_0x2a3f59([_0x17a9b4(0x2,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x17a9b4(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x6a7ba3)),_0x17a9b4(0x4,_0x47ad91['Inject'](_0x3be5f2)),_0x17a9b4(0x5,_0x47ad91[_0x1bf13c(0x1db)]),_0x17a9b4(0x6,_0x47ad91[_0x1bf13c(0x226)]),_0x17a9b4(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x4b5d67[_0x1bf13c(0x289)]))],_0x23a6a9);var _0xb8b4bb=Object['defineProperty'],_0x53addb=Object['getOwnPropertyDescriptor'],_0x331583=(_0x281bdf,_0x1a40fa,_0x1bbcd1,_0x627023)=>{for(var _0x54ae67=_0x627023>0x1?void 0x0:_0x627023?_0x53addb(_0x1a40fa,_0x1bbcd1):_0x1a40fa,_0x9fb668=_0x281bdf['length']-0x1,_0x5068ba;_0x9fb668>=0x0;_0x9fb668--)(_0x5068ba=_0x281bdf[_0x9fb668])&&(_0x54ae67=(_0x627023?_0x5068ba(_0x1a40fa,_0x1bbcd1,_0x54ae67):_0x5068ba(_0x54ae67))||_0x54ae67);return _0x627023&&_0x54ae67&&_0xb8b4bb(_0x1a40fa,_0x1bbcd1,_0x54ae67),_0x54ae67;},_0x327a18=(_0x15d74c,_0x21a6f0)=>(_0x140745,_0x4e0d17)=>_0x21a6f0(_0x140745,_0x4e0d17,_0x15d74c);const _0x12ffda=0x12c,_0x4aafd6=0x64;let _0x5b51ba=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x332e53,_0x266995,_0x44d508,_0x102dc7,_0x53232c,_0x4904ef,_0x5c5b1f,_0x45f71d,_0x4470d9){const _0x535823=_0x1bf13c;super(),_0x41c7d7(this,_0x535823(0x495),!0x1),_0x41c7d7(this,_0x535823(0x336),!0x1),_0x41c7d7(this,_0x535823(0x39a),new _0x255eda[(_0x535823(0x1d6))](new Map())),_0x41c7d7(this,_0x535823(0x3a7),this[_0x535823(0x39a)][_0x535823(0x1a1)]()),_0x41c7d7(this,_0x535823(0x4ed),new _0x255eda[(_0x535823(0x1d6))]([])),_0x41c7d7(this,_0x535823(0x236),this[_0x535823(0x4ed)][_0x535823(0x38c)](_0x255eda['debounceTime'](_0x12ffda))),_0x41c7d7(this,_0x535823(0x3bc),_0x249566(_0x2d7ed3=>{const _0x4b6de6=_0x535823,_0x43a42a={'eventID':_0x4709b4[_0x4b6de6(0x1dd)][_0x4b6de6(0x38e)],'data':{'unitID':this[_0x4b6de6(0x210)],'memberID':this['_session'][_0x4b6de6(0x1ff)](),'selection':_0x57d3bd(_0x2d7ed3)}};this[_0x4b6de6(0x586)]['send'](_0x43a42a,this[_0x4b6de6(0x210)]);},_0x4aafd6)),(this['unitID']=_0x332e53,this[_0x535823(0x586)]=_0x266995,this['_injector']=_0x44d508,this[_0x535823(0x3cb)]=_0x102dc7,this[_0x535823(0x480)]=_0x53232c,this[_0x535823(0x3ec)]=_0x4904ef,this['_transformService']=_0x5c5b1f,this[_0x535823(0x2a3)]=_0x45f71d,this[_0x535823(0x508)]=_0x4470d9);}get[_0x1bf13c(0x3e5)](){return this['_cursorInfo$']['getValue']();}get[_0x1bf13c(0x42b)](){const _0x123614=_0x1bf13c;return this[_0x123614(0x4ed)][_0x123614(0x36e)]();}['dispose'](){const _0x4beb74=_0x1bf13c;super[_0x4beb74(0x4db)](),this[_0x4beb74(0x39a)][_0x4beb74(0x3e1)](new Map()),this[_0x4beb74(0x39a)][_0x4beb74(0x2ad)](),this['_roomMembers$'][_0x4beb74(0x3e1)]([]),this['_roomMembers$']['complete']();}[_0x1bf13c(0x49a)](){const _0x1022f2=_0x1bf13c;this[_0x1022f2(0x336)]||(this['_init']=!0x0,this['_session'][_0x1022f2(0x283)][_0x1022f2(0x38c)](_0x255eda[_0x1022f2(0x4d0)](this[_0x1022f2(0x517)]))[_0x1022f2(0x3db)](_0x340570=>{const _0x2662a8=_0x1022f2;_0x340570===_0x1a88b8[_0x2662a8(0x45f)]?this[_0x2662a8(0x4b4)]():this[_0x2662a8(0x3ae)]();}),this[_0x1022f2(0x586)][_0x1022f2(0x29a)][_0x1022f2(0x38c)](_0x255eda['takeUntil'](this[_0x1022f2(0x517)]))[_0x1022f2(0x3db)](_0x8539f0=>{const _0x7f921a=_0x1022f2,_0xeae466=_0x8539f0['eventID'];_0xeae466===_0x4709b4[_0x7f921a(0x1dd)][_0x7f921a(0x38e)]&&this['_onCursorUpdate'](_0x8539f0),_0xeae466===_0x4709b4[_0x7f921a(0x1dd)][_0x7f921a(0x306)]&&this[_0x7f921a(0x428)](_0x8539f0);}),this[_0x1022f2(0x27f)](this[_0x1022f2(0x508)][_0x1022f2(0x28d)](_0x244422=>{const _0x521378=_0x1022f2,_0x1b328b=_0x244422[_0x521378(0x37b)];_0x1b328b!=null&&this['_online']&&_0x244422['id']===_0x2ac904[_0x521378(0x25c)]['id']&&_0x1b328b[_0x521378(0x206)]===this[_0x521378(0x210)]&&_0x1b328b[_0x521378(0x42f)]===!0x1&&this['_updateLocalCursor'](_0x1b328b['ranges']);})),this[_0x1022f2(0x3ec)][_0x1022f2(0x330)][_0x1022f2(0x38c)](_0x255eda[_0x1022f2(0x4d0)](this[_0x1022f2(0x517)]))['subscribe'](_0x1cf0eb=>{const _0x23c087=_0x1022f2;if((_0x1cf0eb==null?void 0x0:_0x1cf0eb[_0x23c087(0x210)])!==this[_0x23c087(0x210)])return;const _0x4aac5e={'eventID':_0x4709b4['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x1cf0eb};this[_0x23c087(0x31d)](_0x4aac5e);}),this[_0x1022f2(0x27f)](this[_0x1022f2(0x508)][_0x1022f2(0x28d)](_0x5e1c06=>{const _0x3d9648=_0x1022f2;if(_0x5e1c06[_0x3d9648(0x37b)]==null)return;const _0x3f3fcc=_0x5e1c06['params'];if(_0x5e1c06['id']!==_0x2ac904['RichTextEditingMutation']['id']||_0x3f3fcc['unitId']!==this['unitID'])return;const _0x252ada={'id':_0x3d9648(0x504),'params':_0x3f3fcc},_0x37c776=this[_0x3d9648(0x3e5)];for(const [_0x2c9f9e,_0x13d7c2]of _0x37c776){const _0x6cd0f7={'id':_0x3d9648(0x504),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x13d7c2[_0x3d9648(0x1ed)]}},_0x38791b=this[_0x3d9648(0x424)][_0x3d9648(0x298)](_0x252ada,_0x6cd0f7,!0x1);if(_0x4709b4[_0x3d9648(0x41c)](_0x38791b))throw _0x38791b['error'];_0x37c776[_0x3d9648(0x56b)](_0x2c9f9e,{..._0x13d7c2,'ranges':_0x38791b[_0x3d9648(0x4be)][_0x3d9648(0x37b)][_0x3d9648(0x4ac)]});}queueMicrotask(()=>{const _0x131980=_0x3d9648;this[_0x131980(0x39a)][_0x131980(0x3e1)](_0x37c776);});})));}[_0x1bf13c(0x31d)](_0x36dd19){const _0x12e4b3=_0x1bf13c;var _0x425926,_0x484dbb;const {memberID:_0x3d7ab8,selection:_0x1517e1}=_0x36dd19[_0x12e4b3(0x3c1)],_0x3456ed=_0x4a8af3(_0x1517e1),_0xdd95f6=(_0x484dbb=(_0x425926=this[_0x12e4b3(0x480)]['getMember'](this[_0x12e4b3(0x210)],_0x3d7ab8))==null?void 0x0:_0x425926[_0x12e4b3(0x24b)])!=null?_0x484dbb:_0x12e4b3(0x4ba),_0x255f9f={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x3d7ab8),'name':_0xdd95f6,'ranges':_0x3456ed},_0x2dab94=this[_0x12e4b3(0x3e5)];_0x2dab94[_0x12e4b3(0x56b)](_0x3d7ab8,_0x255f9f),this[_0x12e4b3(0x39a)][_0x12e4b3(0x3e1)](_0x2dab94);}[_0x1bf13c(0x428)](_0x31c9d6){const _0x2dbd47=_0x1bf13c,{memberID:_0x488a93}=_0x31c9d6['data'],_0x35c3ac=this['cursorInfo'];_0x35c3ac[_0x2dbd47(0x1c3)](_0x488a93),this[_0x2dbd47(0x39a)][_0x2dbd47(0x3e1)](_0x35c3ac);}['_toggleOnline'](){const _0x5c5de2=_0x1bf13c;var _0x165154;if(this['_online']=!0x0,((_0x165154=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x165154[_0x5c5de2(0x4d4)]())!==this[_0x5c5de2(0x210)])return;const _0x187971=this[_0x5c5de2(0x49c)][_0x5c5de2(0x369)](_0x2ac904[_0x5c5de2(0x4e2)])['getDocRanges'](),_0x1a54ad=_0x187971==null?void 0x0:_0x187971[_0x5c5de2(0x3be)](_0x2ac904['serializeDocRange']);Array[_0x5c5de2(0x541)](_0x1a54ad)&&_0x1a54ad[_0x5c5de2(0x557)]>0x0&&this[_0x5c5de2(0x3bc)](_0x1a54ad);}[_0x1bf13c(0x3ae)](){const _0x54b706=_0x1bf13c;this[_0x54b706(0x495)]=!0x1;}};_0x5b51ba=_0x331583([_0x327a18(0x2,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x327a18(0x3,_0x47ad91['Inject'](_0x6a7ba3)),_0x327a18(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x3be5f2)),_0x327a18(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x2a9bcc)),_0x327a18(0x6,_0x4709b4[_0x1bf13c(0x516)]),_0x327a18(0x7,_0x47ad91['IUniverInstanceService']),_0x327a18(0x8,_0x47ad91['ICommandService'])],_0x5b51ba);var _0x528fdb=Object['defineProperty'],_0x3a9172=Object[_0x1bf13c(0x523)],_0x331489=(_0x30d56d,_0x271696,_0x1672ef,_0x319c67)=>{const _0x2e4c81=_0x1bf13c;for(var _0x3ec9c0=_0x319c67>0x1?void 0x0:_0x319c67?_0x3a9172(_0x271696,_0x1672ef):_0x271696,_0x273fd6=_0x30d56d[_0x2e4c81(0x557)]-0x1,_0x53a300;_0x273fd6>=0x0;_0x273fd6--)(_0x53a300=_0x30d56d[_0x273fd6])&&(_0x3ec9c0=(_0x319c67?_0x53a300(_0x271696,_0x1672ef,_0x3ec9c0):_0x53a300(_0x3ec9c0))||_0x3ec9c0);return _0x319c67&&_0x3ec9c0&&_0x528fdb(_0x271696,_0x1672ef,_0x3ec9c0),_0x3ec9c0;},_0x52b2d1=(_0x4c0ff3,_0xb11c5b)=>(_0x22ad0c,_0x41f220)=>_0xb11c5b(_0x22ad0c,_0x41f220,_0x4c0ff3);let _0x464c11=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x35031a,_0x186f7e,_0xab57d7){const _0x1a152a=_0x1bf13c;super(),_0x41c7d7(this,_0x1a152a(0x337),new Map()),_0x41c7d7(this,_0x1a152a(0x365),new _0x255eda[(_0x1a152a(0x329))]()),(this[_0x1a152a(0x2a3)]=_0x35031a,this[_0x1a152a(0x49c)]=_0x186f7e,this[_0x1a152a(0x212)]=_0xab57d7,this[_0x1a152a(0x336)]());}[_0x1bf13c(0x4db)](){const _0x40bde3=_0x1bf13c;super[_0x40bde3(0x4db)](),this['_entityInit$'][_0x40bde3(0x2ad)](),this[_0x40bde3(0x337)][_0x40bde3(0x2fb)](_0x369e87=>_0x369e87['dispose']());}['getCollabCursors$'](_0x29126a){const _0x5c48f2=_0x1bf13c;return this[_0x5c48f2(0x337)][_0x5c48f2(0x19c)](_0x29126a)?this[_0x5c48f2(0x337)][_0x5c48f2(0x369)](_0x29126a)[_0x5c48f2(0x3a7)]:this[_0x5c48f2(0x365)][_0x5c48f2(0x38c)](_0x255eda[_0x5c48f2(0x591)](_0x566281=>_0x566281[_0x5c48f2(0x210)]===_0x29126a),_0x255eda[_0x5c48f2(0x234)](_0x138f5b=>_0x138f5b[_0x5c48f2(0x3a7)]));}[_0x1bf13c(0x336)](){const _0x5147c2=_0x1bf13c;this[_0x5147c2(0x2a3)][_0x5147c2(0x4cd)](_0x47ad91[_0x5147c2(0x2f9)][_0x5147c2(0x4d5)])[_0x5147c2(0x38c)](_0x255eda['takeUntil'](this[_0x5147c2(0x517)]))[_0x5147c2(0x3db)](async _0x20f6e3=>{const _0x457195=_0x5147c2,_0x464f33=_0x20f6e3[_0x457195(0x4d4)](),_0x1ba53e=await this[_0x457195(0x4da)](_0x464f33);this[_0x457195(0x365)][_0x457195(0x3e1)](_0x1ba53e),this[_0x457195(0x337)][_0x457195(0x56b)](_0x464f33,_0x1ba53e);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x47ad91['UniverInstanceType'][_0x5147c2(0x1ac)])[_0x5147c2(0x38c)](_0x255eda['takeUntil'](this['dispose$']))[_0x5147c2(0x38c)](_0x255eda[_0x5147c2(0x591)](_0x1fa0a3=>!_0x1fa0a3['getUnitId']()['startsWith']('__')))[_0x5147c2(0x3db)](async _0x54cf8f=>{const _0x4949f6=_0x5147c2,_0x3cb89c=_0x54cf8f[_0x4949f6(0x4d4)](),_0x33279f=await this['_startDocCollabCursor'](_0x3cb89c);this['_entityInit$'][_0x4949f6(0x3e1)](_0x33279f),this['_entities']['set'](_0x3cb89c,_0x33279f);}),_0x255eda[_0x5147c2(0x57b)](this[_0x5147c2(0x2a3)]['getTypeOfUnitDisposed$'](_0x47ad91[_0x5147c2(0x2f9)][_0x5147c2(0x1ac)]),this[_0x5147c2(0x2a3)][_0x5147c2(0x1e4)](_0x47ad91[_0x5147c2(0x2f9)][_0x5147c2(0x4d5)]))[_0x5147c2(0x38c)](_0x255eda[_0x5147c2(0x4d0)](this[_0x5147c2(0x517)]))[_0x5147c2(0x3db)](_0x4345d4=>{const _0x25cc03=_0x5147c2,_0x4b769f=_0x4345d4[_0x25cc03(0x4d4)](),_0x258501=this[_0x25cc03(0x337)][_0x25cc03(0x369)](_0x4b769f);_0x258501&&(_0x258501[_0x25cc03(0x4db)](),this[_0x25cc03(0x337)]['delete'](_0x4b769f));});}async[_0x1bf13c(0x4da)](_0x1b1b83){const _0x15329f=_0x1bf13c,_0x3fa084=await this[_0x15329f(0x212)][_0x15329f(0x4a9)](_0x1b1b83),_0x56fbab=this[_0x15329f(0x49c)][_0x15329f(0x37c)](_0x23a6a9,_0x1b1b83,_0x3fa084);return _0x56fbab[_0x15329f(0x49a)](),_0x56fbab;}async[_0x1bf13c(0x41f)](_0x521607){const _0x5e8adb=_0x1bf13c,_0x1216e6=await this[_0x5e8adb(0x212)][_0x5e8adb(0x4a9)](_0x521607),_0x3f2a18=this[_0x5e8adb(0x49c)]['createInstance'](_0x5b51ba,_0x521607,_0x1216e6);return _0x3f2a18[_0x5e8adb(0x49a)](),_0x3f2a18;}};_0x464c11=_0x331489([_0x47ad91['OnLifecycle'](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x191)],_0x464c11),_0x52b2d1(0x0,_0x47ad91[_0x1bf13c(0x1db)]),_0x52b2d1(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x52b2d1(0x2,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x36b)]))],_0x464c11);const _0x154e90=0x14,_0x2c4efb=0xc8,_0x1b7ed0=0x4,_0x1cc995=0x5;function _0x2b1fbf(_0x43ec2d,_0x15992c){const _0x44c218=_0x1bf13c;let {radius:_0xa631c8,width:_0x333e73,height:_0x263b65}=_0x15992c;_0xa631c8=_0xa631c8!=null?_0xa631c8:0x0,_0x333e73=_0x333e73!=null?_0x333e73:0x1e,_0x263b65=_0x263b65!=null?_0x263b65:0x1e;let _0x29bb00=0x0,_0x4ca9af=0x0,_0x38efcb=0x0;_0x29bb00=_0x4ca9af=_0x38efcb=Math['min'](_0xa631c8,_0x333e73/0x2,_0x263b65/0x2),_0x43ec2d['beginPath'](),_0x43ec2d[_0x44c218(0x550)](_0x29bb00,0x0),_0x43ec2d[_0x44c218(0x51e)](_0x333e73-_0x4ca9af,0x0),_0x43ec2d[_0x44c218(0x35a)](_0x333e73-_0x4ca9af,_0x4ca9af,_0x4ca9af,Math['PI']*0x3/0x2,0x0,!0x1),_0x43ec2d['lineTo'](_0x333e73,_0x263b65-_0x38efcb),_0x43ec2d[_0x44c218(0x35a)](_0x333e73-_0x38efcb,_0x263b65-_0x38efcb,_0x38efcb,0x0,Math['PI']/0x2,!0x1),_0x43ec2d['lineTo'](0x0,_0x263b65),_0x43ec2d[_0x44c218(0x51e)](0x0,_0x29bb00),_0x43ec2d[_0x44c218(0x35a)](_0x29bb00,_0x29bb00,_0x29bb00,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x43ec2d[_0x44c218(0x1b5)](),_0x15992c[_0x44c218(0x305)]&&(_0x43ec2d[_0x44c218(0x479)](),_0x43ec2d[_0x44c218(0x4b2)]=_0x15992c[_0x44c218(0x305)],_0x15992c[_0x44c218(0x2fa)]===_0x44c218(0x547)?_0x43ec2d[_0x44c218(0x305)](_0x44c218(0x547)):_0x43ec2d[_0x44c218(0x305)](),_0x43ec2d['restore']());}class _0x27e262 extends _0xba1502['Shape']{constructor(_0x53f91a,_0x5f7db8){const _0x388edb=_0x1bf13c;super(_0x53f91a,_0x5f7db8),_0x41c7d7(this,_0x388edb(0x534)),_0x41c7d7(this,_0x388edb(0x4b0)),(this[_0x388edb(0x534)]=_0x5f7db8==null?void 0x0:_0x5f7db8[_0x388edb(0x534)],this['text']=_0x5f7db8==null?void 0x0:_0x5f7db8[_0x388edb(0x4b0)]);}static[_0x1bf13c(0x20a)](_0x3afe24,_0x6d64bf){const _0x248fd3=_0x1bf13c,{text:_0x4816e7,color:_0x29b124}=_0x6d64bf;_0x3afe24['save'](),_0x3afe24[_0x248fd3(0x4f9)]=_0x248fd3(0x250);const _0x411c2c=_0x3afe24[_0x248fd3(0x490)](_0x4816e7)[_0x248fd3(0x284)],_0x29d6e1=Math[_0x248fd3(0x4d9)](_0x411c2c+0x2*_0x1b7ed0,_0x2c4efb);_0x2b1fbf(_0x3afe24,{'height':_0x154e90,'radius':0x4,'width':_0x29d6e1,'fill':_0x29b124,'evented':!0x1}),_0x3afe24[_0x248fd3(0x4b2)]=_0x248fd3(0x3d9);const _0x141033=_0x1b7ed0,_0x11ebe0=_0x154e90-_0x1cc995,_0x18abc9=_0x2c4efb-0x2*_0x1b7ed0;if(_0x411c2c>_0x18abc9){let _0x1c84f1='',_0x16340e=0x0;for(const _0x29c8be of _0x4816e7){const _0x2aa666=_0x3afe24['measureText'](_0x29c8be)[_0x248fd3(0x284)];if(_0x16340e+_0x2aa666<=_0x18abc9-_0x3afe24[_0x248fd3(0x490)](_0x248fd3(0x537))[_0x248fd3(0x284)])_0x1c84f1+=_0x29c8be,_0x16340e+=_0x2aa666;else{_0x1c84f1+='...';break;}}_0x3afe24[_0x248fd3(0x262)](_0x1c84f1,_0x141033,_0x11ebe0);}else _0x3afe24[_0x248fd3(0x262)](_0x4816e7,_0x141033,_0x11ebe0);_0x3afe24[_0x248fd3(0x34a)]();}[_0x1bf13c(0x4fd)](_0x159574){_0x27e262['drawWith'](_0x159574,this);}}const _0x19c434=0x1,_0x3a043a=1.5;class _0x5d600b extends _0xba1502['Shape']{constructor(_0x595ba7,_0x3099f8){const _0x3d693f=_0x1bf13c;super(_0x595ba7,_0x3099f8),_0x41c7d7(this,_0x3d693f(0x1d7)),_0x41c7d7(this,_0x3d693f(0x2df),!0x1),_0x41c7d7(this,_0x3d693f(0x339)),_0x41c7d7(this,_0x3d693f(0x29f),''),_0x41c7d7(this,_0x3d693f(0x573),_0x3d693f(0x2cb)),_0x41c7d7(this,'_backgroundColor'),(_0x3099f8&&this[_0x3d693f(0x263)](_0x3099f8),this[_0x3d693f(0x362)][_0x3d693f(0x2f3)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3d693f(0x1c9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0xca23b9){const _0x1b6d07=_0x1bf13c;var _0x1e5ddf,_0xe4beb,_0x3f4b23,_0x1b31e3,_0x163249,_0x2dad65;this[_0x1b6d07(0x1d7)]=(_0x1e5ddf=_0xca23b9[_0x1b6d07(0x534)])!=null?_0x1e5ddf:this[_0x1b6d07(0x1d7)],this[_0x1b6d07(0x2df)]=(_0xe4beb=_0xca23b9[_0x1b6d07(0x3c4)])!=null?_0xe4beb:this[_0x1b6d07(0x2df)],this[_0x1b6d07(0x339)]=(_0x3f4b23=_0xca23b9['range'])!=null?_0x3f4b23:this['_range'],this['_name']=(_0x1b31e3=_0xca23b9[_0x1b6d07(0x24b)])!=null?_0x1b31e3:this[_0x1b6d07(0x29f)],this[_0x1b6d07(0x573)]=(_0x163249=_0xca23b9[_0x1b6d07(0x26f)])!=null?_0x163249:this[_0x1b6d07(0x573)],this['_backgroundColor']=(_0x2dad65=_0xca23b9[_0x1b6d07(0x3dc)])!=null?_0x2dad65:this[_0x1b6d07(0x252)],this['transformByState']({'width':_0xca23b9[_0x1b6d07(0x284)],'height':_0xca23b9[_0x1b6d07(0x53f)]});}['onMouseMove'](_0x3ff7e3){const _0x5657e0=_0x1bf13c,{row:_0x120383,column:_0x2c1831}=_0x3ff7e3;if(_0x120383>=this[_0x5657e0(0x339)]['startRow']&&_0x120383<=this[_0x5657e0(0x339)]['endRow']&&_0x2c1831>=this[_0x5657e0(0x339)][_0x5657e0(0x200)]&&_0x2c1831<=this[_0x5657e0(0x339)][_0x5657e0(0x2c5)]){this[_0x5657e0(0x263)]({'hovered':!0x0});return;}this[_0x5657e0(0x263)]({'hovered':!0x1});}[_0x1bf13c(0x4aa)](_0x1adef7){return!0x1;}[_0x1bf13c(0x4fd)](_0x11a535){const _0xe31447=_0x1bf13c;_0xba1502[_0xe31447(0x399)][_0xe31447(0x20a)](_0x11a535,{'width':this['width'],'height':this[_0xe31447(0x53f)],'strokeWidth':_0x3a043a,'stroke':this[_0xe31447(0x1d7)],'evented':!0x1,'fill':this[_0xe31447(0x252)]}),this['_hovered']&&(_0x11a535[_0xe31447(0x479)](),_0x11a535[_0xe31447(0x21e)](0x1,0x0,0x0,0x1,this[_0xe31447(0x284)],this['_labelPosition']===_0xe31447(0x347)?0x0:-_0x154e90),_0x27e262[_0xe31447(0x20a)](_0x11a535,{'text':this[_0xe31447(0x29f)],'color':this[_0xe31447(0x1d7)]}),_0x11a535[_0xe31447(0x34a)]());}}var _0xaecc53=Object[_0x1bf13c(0x1f5)],_0x295a3b=Object[_0x1bf13c(0x523)],_0x1c11ca=(_0x326401,_0x54bfdf,_0x40a7a4,_0x5c383f)=>{const _0x123c1e=_0x1bf13c;for(var _0x5a7357=_0x5c383f>0x1?void 0x0:_0x5c383f?_0x295a3b(_0x54bfdf,_0x40a7a4):_0x54bfdf,_0x27091a=_0x326401[_0x123c1e(0x557)]-0x1,_0x2300bc;_0x27091a>=0x0;_0x27091a--)(_0x2300bc=_0x326401[_0x27091a])&&(_0x5a7357=(_0x5c383f?_0x2300bc(_0x54bfdf,_0x40a7a4,_0x5a7357):_0x2300bc(_0x5a7357))||_0x5a7357);return _0x5c383f&&_0x5a7357&&_0xaecc53(_0x54bfdf,_0x40a7a4,_0x5a7357),_0x5a7357;},_0x410607=(_0x342c3c,_0x306aeb)=>(_0x3fd662,_0x50d426)=>_0x306aeb(_0x3fd662,_0x50d426,_0x342c3c);const _0x36fc37=0x1389;let _0x57446b=class extends _0x47ad91['RxDisposable']{constructor(_0x72dc66,_0x6355ad,_0x29e517,_0x12cb58){const _0x10ff86=_0x1bf13c;super(),_0x41c7d7(this,_0x10ff86(0x194),new Set()),_0x41c7d7(this,_0x10ff86(0x43e),null),(this[_0x10ff86(0x54e)]=_0x72dc66,this['_sheetSkeletonManagerService']=_0x6355ad,this[_0x10ff86(0x427)]=_0x29e517,this[_0x10ff86(0x222)]=_0x12cb58,this[_0x10ff86(0x336)]());}['_init'](){const _0x4c9fb3=_0x1bf13c;this['_sheetSkeletonManagerService'][_0x4c9fb3(0x3d1)][_0x4c9fb3(0x38c)](_0x335e20['takeUntil'](this[_0x4c9fb3(0x517)]),_0x335e20['switchMap'](_0x57f8a2=>{const _0x4bb8f6=_0x4c9fb3;if(_0x57f8a2){const _0x33adab=_0x57f8a2[_0x4bb8f6(0x4a1)];return _0x255eda[_0x4bb8f6(0x438)](this['_collabCursorController']['getCollabCursors$'](this[_0x4bb8f6(0x54e)]['unitId']),this['_themeService'][_0x4bb8f6(0x3ba)])[_0x4bb8f6(0x38c)](_0x335e20[_0x4bb8f6(0x3be)](([_0x1df04d,_0x1b90e6])=>{const _0x2e8dfc=_0x4bb8f6,_0x559bc1=new Map();return _0x1df04d[_0x2e8dfc(0x2fb)]((_0x863841,_0x2e2295)=>{const _0x4038d0=_0x2e8dfc;if(_0x863841[_0x4038d0(0x2a5)]===_0x33adab){const _0x42d7d8={..._0x863841};_0x42d7d8[_0x4038d0(0x534)]=_0x1b90e6[_0x863841[_0x4038d0(0x534)]],_0x559bc1[_0x4038d0(0x56b)](_0x2e2295,_0x42d7d8);}}),{'skeleton':_0x57f8a2,'cursors':_0x559bc1};}));}return _0x255eda['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1fd661,cursors:_0x3f3266})=>{const _0x17543d=_0x4c9fb3;this[_0x17543d(0x42e)](),_0x1fd661&&this[_0x17543d(0x498)](_0x1fd661,_0x3f3266);}),this[_0x4c9fb3(0x47c)]['currentSkeleton$'][_0x4c9fb3(0x3db)](_0xd52a81=>{const _0x4d225f=_0x4c9fb3;if(_0xd52a81==null)return;const {skeleton:_0xbb1e26}=_0xd52a81,{scene:_0x4c9c21}=this[_0x4d225f(0x54e)];_0x4c9c21[_0x4d225f(0x4c6)][_0x4d225f(0x2f3)](_0x249566(_0x370466=>{const _0x515120=_0x4d225f;var _0xf7c303,_0x4638b5;const {offsetX:_0x40cb8d,offsetY:_0x3a204f}=_0x370466,{x:_0x5e3e75,y:_0x314b06}=_0x4c9c21[_0x515120(0x38f)](_0xba1502[_0x515120(0x324)][_0x515120(0x2b8)]([_0x40cb8d,_0x3a204f])),{scaleX:_0x3bb44f,scaleY:_0x4dd3a9}=_0x4c9c21[_0x515120(0x4e9)](),_0x1e80ab=_0x4c9c21['getViewport'](_0x49516c[_0x515120(0x353)][_0x515120(0x474)]),_0x3b8ea1=_0x4c9c21['getVpScrollXYInfoByPosToVp'](_0xba1502[_0x515120(0x324)]['FromArray']([_0x5e3e75,_0x314b06]),_0x1e80ab),_0xab749b=_0xbb1e26[_0x515120(0x4cc)](_0x40cb8d,_0x3a204f,_0x3bb44f,_0x4dd3a9,_0x3b8ea1);((_0xf7c303=this[_0x515120(0x43e)])==null?void 0x0:_0xf7c303[_0x515120(0x4a6)])===_0xab749b[_0x515120(0x4a6)]&&((_0x4638b5=this[_0x515120(0x43e)])==null?void 0x0:_0x4638b5[_0x515120(0x496)])===_0xab749b[_0x515120(0x496)]||this['_cursors'][_0x515120(0x2fb)](_0x5544cd=>{const _0x276778=_0x515120;_0x5544cd[_0x276778(0x23b)](_0xab749b);});},0x64));});}['_updateCollabCursors'](_0x3df1f3,_0x338d97){const _0x45fdd4=_0x1bf13c;var _0x1edb97;const _0x332be7=(_0x1edb97=this[_0x45fdd4(0x47c)][_0x45fdd4(0x4d1)]())==null?void 0x0:_0x1edb97[_0x45fdd4(0x419)];if(!_0x332be7)return;const _0x4bd50d=this[_0x45fdd4(0x4a8)]();if(!_0x4bd50d)return;this['_cursors']['forEach'](_0x49305a=>{const _0x3938fc=_0x45fdd4;_0x49305a[_0x3938fc(0x4c0)]();});const {scene:_0x15bb85}=_0x4bd50d,_0x52b921=_0x2b8349(Array['from'](_0x338d97['values']()))[_0x45fdd4(0x3be)](_0x3c8293=>{const _0x5bb60c=_0x45fdd4,{color:_0x38aa77,range:_0x200c79,name:_0x3bdcca,selection:_0x1b8120,sheetID:_0x1d79d2}=_0x3c8293,{startColumn:_0x44aeba,startRow:_0x30acef,endColumn:_0x5cc0e2,endRow:_0x56e1c8}=_0x200c79,_0x2950ff=_0x49516c[_0x5bb60c(0x340)](_0x30acef,_0x44aeba,_0x15bb85,_0x332be7),_0x5a2d20=_0x49516c[_0x5bb60c(0x340)](_0x56e1c8,_0x5cc0e2,_0x15bb85,_0x332be7),{columnHeaderHeightAndMarginTop:_0x17082c}=_0x332be7,{startX:_0x3a3d0d,startY:_0x565b22}=_0x2950ff,{endX:_0x48f368,endY:_0x1c17d7}=_0x5a2d20,_0x5f4b77=_0x48f368-_0x3a3d0d,_0x2201d9=_0x1c17d7-_0x565b22,_0x599afc={'labelPosition':_0x565b22-_0x17082c>=_0x154e90?'top':'bottom','sheetID':_0x1d79d2,'range':_0x200c79,'color':_0x38aa77,'name':_0x3bdcca,'selection':_0x1b8120,'left':_0x3a3d0d,'top':_0x565b22,'width':_0x5f4b77,'height':_0x2201d9,'evented':!0x1,'zIndex':_0x36fc37};return new _0x5d600b(_0x3bdcca,_0x599afc);});_0x15bb85[_0x45fdd4(0x539)](_0x52b921,_0x19c434),this['_cursors']=new Set(_0x52b921);}[_0x1bf13c(0x42e)](){const _0x5810d0=_0x1bf13c;var _0x39f3f4;(_0x39f3f4=this[_0x5810d0(0x194)])==null||_0x39f3f4[_0x5810d0(0x2fb)](_0x3179c8=>_0x3179c8[_0x5810d0(0x4db)]());}[_0x1bf13c(0x4a8)](){const _0xbb6c53=_0x1bf13c;return _0x49516c[_0xbb6c53(0x56c)](this['_context'][_0xbb6c53(0x1f1)],this['_context']);}};_0x57446b=_0x1c11ca([_0x410607(0x1,_0x47ad91['Inject'](_0x49516c[_0x1bf13c(0x580)])),_0x410607(0x2,_0x47ad91['Inject'](_0x464c11)),_0x410607(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['ThemeService']))],_0x57446b);function _0x2b8349(_0x143f6a){const _0x2e5f92=_0x1bf13c,_0x16fcd3=new Map();return _0x143f6a[_0x2e5f92(0x2fb)](_0x2f5651=>{const _0x47f33=_0x2e5f92;if(_0x16fcd3[_0x47f33(0x19c)](_0x2f5651[_0x47f33(0x404)])){const _0x5498e7=_0x16fcd3[_0x47f33(0x369)](_0x2f5651[_0x47f33(0x404)]);_0x5498e7['name']+=',\x20'+_0x2f5651[_0x47f33(0x24b)];}else _0x16fcd3[_0x47f33(0x56b)](_0x2f5651[_0x47f33(0x404)],_0x2f5651);}),Array[_0x2e5f92(0x216)](_0x16fcd3['values']());}var _0x52fe25=function(){const _0x3bab48=_0x1bf13c;return _0x52fe25=Object[_0x3bab48(0x36d)]||function(_0x3e59f7){const _0x8b1110=_0x3bab48;for(var _0x31509b,_0x1963d1=0x1,_0x1984e1=arguments[_0x8b1110(0x557)];_0x1963d1<_0x1984e1;_0x1963d1++){_0x31509b=arguments[_0x1963d1];for(var _0x5bb5de in _0x31509b)Object[_0x8b1110(0x572)][_0x8b1110(0x38b)][_0x8b1110(0x2d4)](_0x31509b,_0x5bb5de)&&(_0x3e59f7[_0x5bb5de]=_0x31509b[_0x5bb5de]);}return _0x3e59f7;},_0x52fe25[_0x3bab48(0x401)](this,arguments);},_0x2a9665=function(_0x422b5f,_0x3a35f9){const _0x7262b4=_0x1bf13c;var _0x296fb5={};for(var _0x450566 in _0x422b5f)Object['prototype'][_0x7262b4(0x38b)]['call'](_0x422b5f,_0x450566)&&_0x3a35f9[_0x7262b4(0x3ff)](_0x450566)<0x0&&(_0x296fb5[_0x450566]=_0x422b5f[_0x450566]);if(_0x422b5f!=null&&typeof Object['getOwnPropertySymbols']==_0x7262b4(0x4a7)){for(var _0x3ca19b=0x0,_0x450566=Object['getOwnPropertySymbols'](_0x422b5f);_0x3ca19b<_0x450566['length'];_0x3ca19b++)_0x3a35f9['indexOf'](_0x450566[_0x3ca19b])<0x0&&Object[_0x7262b4(0x572)][_0x7262b4(0x542)][_0x7262b4(0x2d4)](_0x422b5f,_0x450566[_0x3ca19b])&&(_0x296fb5[_0x450566[_0x3ca19b]]=_0x422b5f[_0x450566[_0x3ca19b]]);}return _0x296fb5;},_0x536ffe=_0x4abc54['forwardRef'](function(_0x1720a5,_0x2e16b4){const _0x5893b2=_0x1bf13c;var _0x33ca95=_0x1720a5['icon'],_0x5974e4=_0x1720a5['id'],_0x2dafc4=_0x1720a5['className'],_0x222ad6=_0x1720a5[_0x5893b2(0x1ca)],_0x48c5b7=_0x2a9665(_0x1720a5,[_0x5893b2(0x23f),'id',_0x5893b2(0x3f7),_0x5893b2(0x1ca)]),_0x4afbda=_0x5893b2(0x58e)[_0x5893b2(0x25b)](_0x5974e4,'\x20')[_0x5893b2(0x25b)](_0x2dafc4||'')[_0x5893b2(0x405)](),_0x4fb49d=_0x4abc54[_0x5893b2(0x4b8)]('_'[_0x5893b2(0x25b)](_0x58fb7a()));return _0xf092cd(_0x33ca95,''['concat'](_0x5974e4),{'defIds':_0x33ca95[_0x5893b2(0x211)],'idSuffix':_0x4fb49d[_0x5893b2(0x497)]},_0x52fe25({'ref':_0x2e16b4,'className':_0x4afbda},_0x48c5b7),_0x222ad6);});function _0xf092cd(_0x322157,_0x24ae44,_0x47b784,_0x32f76f,_0x17d2c2){const _0x23913b=_0x1bf13c;return _0x4abc54[_0x23913b(0x3cf)](_0x322157[_0x23913b(0x38a)],_0x52fe25(_0x52fe25({'key':_0x24ae44},_0x565985(_0x322157,_0x47b784,_0x17d2c2)),_0x32f76f),(_0x49e27f(_0x322157,_0x47b784)[_0x23913b(0x351)]||[])['map'](function(_0x5f09d5,_0xcc341){const _0x56fbf0=_0x23913b;return _0xf092cd(_0x5f09d5,''['concat'](_0x24ae44,'-')[_0x56fbf0(0x25b)](_0x322157[_0x56fbf0(0x38a)],'-')[_0x56fbf0(0x25b)](_0xcc341),_0x47b784,void 0x0,_0x17d2c2);}));}function _0x565985(_0x10c9bc,_0x3fd879,_0x37de35){const _0x5bea0b=_0x1bf13c;var _0x3f02e4=_0x52fe25({},_0x10c9bc[_0x5bea0b(0x538)]);_0x37de35!=null&&_0x37de35[_0x5bea0b(0x3b7)]&&_0x3f02e4[_0x5bea0b(0x305)]===_0x5bea0b(0x3b7)&&(_0x3f02e4[_0x5bea0b(0x305)]=_0x37de35['colorChannel1']);var _0x42afde=_0x3fd879[_0x5bea0b(0x211)];return!_0x42afde||_0x42afde[_0x5bea0b(0x557)]===0x0||(_0x10c9bc[_0x5bea0b(0x38a)]===_0x5bea0b(0x285)&&_0x3f02e4[_0x5bea0b(0x4d8)]&&(_0x3f02e4['xlink:href']=_0x3f02e4[_0x5bea0b(0x4d8)]+_0x3fd879['idSuffix']),Object[_0x5bea0b(0x532)](_0x3f02e4)[_0x5bea0b(0x2fb)](function(_0x1a41a9){const _0x31be1f=_0x5bea0b;var _0x25972d=_0x1a41a9[0x0],_0x1ec6a8=_0x1a41a9[0x1];typeof _0x1ec6a8==_0x31be1f(0x549)&&(_0x3f02e4[_0x25972d]=_0x1ec6a8['replace'](/url\(#(.*)\)/,_0x31be1f(0x244)['concat'](_0x3fd879[_0x31be1f(0x39d)],')')));})),_0x3f02e4;}function _0x49e27f(_0x1bee45,_0x5bee94){const _0x46226b=_0x1bf13c;var _0x7198bd,_0xff8020=_0x5bee94[_0x46226b(0x211)];return!_0xff8020||_0xff8020[_0x46226b(0x557)]===0x0?_0x1bee45:_0x1bee45[_0x46226b(0x38a)]===_0x46226b(0x52f)&&(!((_0x7198bd=_0x1bee45[_0x46226b(0x351)])===null||_0x7198bd===void 0x0)&&_0x7198bd[_0x46226b(0x557)])?_0x52fe25(_0x52fe25({},_0x1bee45),{'children':_0x1bee45['children']['map'](function(_0x583ef6){const _0x390840=_0x46226b;return typeof _0x583ef6['attrs']['id']==_0x390840(0x549)&&_0xff8020&&_0xff8020[_0x390840(0x3ff)](_0x583ef6[_0x390840(0x538)]['id'])>-0x1?_0x52fe25(_0x52fe25({},_0x583ef6),{'attrs':_0x52fe25(_0x52fe25({},_0x583ef6[_0x390840(0x538)]),{'id':_0x583ef6[_0x390840(0x538)]['id']+_0x5bee94[_0x390840(0x39d)]})}):_0x583ef6;})}):_0x1bee45;}function _0x58fb7a(){const _0x2af576=_0x1bf13c;return Math[_0x2af576(0x3d3)]()[_0x2af576(0x493)](0x24)[_0x2af576(0x473)](0x2,0x8);}_0x536ffe[_0x1bf13c(0x1b3)]=_0x1bf13c(0x4dc);var _0x29305b={'tag':_0x1bf13c(0x507),'attrs':{'fill':_0x1bf13c(0x4ca),'viewBox':_0x1bf13c(0x3b0),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1bf13c(0x1ef)},'children':[{'tag':'path','attrs':{'stroke':_0x1bf13c(0x21b),'d':_0x1bf13c(0x2d7),'strokeLinecap':_0x1bf13c(0x219),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1bf13c(0x52f),'attrs':{},'children':[{'tag':_0x1bf13c(0x316),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1bf13c(0x564),'attrs':{'fill':_0x1bf13c(0x3c6),'d':_0x1bf13c(0x1e1)}}]}]}],'defIds':[_0x1bf13c(0x51b)]},_0x1532f4=_0x4abc54[_0x1bf13c(0x45d)](function(_0x44ea44,_0x1da534){const _0x10c45d=_0x1bf13c;return _0x4abc54[_0x10c45d(0x3cf)](_0x536ffe,Object['assign']({},_0x44ea44,{'id':_0x10c45d(0x48e),'ref':_0x1da534,'icon':_0x29305b}));});_0x1532f4[_0x1bf13c(0x1b3)]=_0x1bf13c(0x360);var _0x1c6da2={'tag':_0x1bf13c(0x507),'attrs':{'fill':_0x1bf13c(0x4ca),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x1bf13c(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x1bf13c(0x20d)},'children':[{'tag':_0x1bf13c(0x564),'attrs':{'stroke':_0x1bf13c(0x21b),'d':_0x1bf13c(0x510),'strokeLinecap':_0x1bf13c(0x219),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1bf13c(0x52f),'attrs':{},'children':[{'tag':_0x1bf13c(0x316),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1bf13c(0x564),'attrs':{'fill':'#fff','d':_0x1bf13c(0x1e1),'transform':_0x1bf13c(0x1a9)}}]}]}],'defIds':[_0x1bf13c(0x2cf)]},_0x2d175b=_0x4abc54[_0x1bf13c(0x45d)](function(_0x3e95d5,_0x41dd43){const _0x3da247=_0x1bf13c;return _0x4abc54[_0x3da247(0x3cf)](_0x536ffe,Object['assign']({},_0x3e95d5,{'id':_0x3da247(0x268),'ref':_0x41dd43,'icon':_0x1c6da2}));});_0x2d175b[_0x1bf13c(0x1b3)]=_0x1bf13c(0x3a1);const _0x35fa1e={'onlineStatusIcon':_0x1bf13c(0x1c1),'onlineStatusTitle':'univer-online-status-title','onlineStatus':'univer-online-status','online':_0x1bf13c(0x45c),'offline':_0x1bf13c(0x209)};function _0x5d9b83(_0x16057c){const _0x54a198=_0x1bf13c;switch(_0x16057c){case _0x214062[_0x54a198(0x39c)]:return _0x54a198(0x1d0);case _0x214062[_0x54a198(0x398)]:return _0x54a198(0x2a7);case _0x214062[_0x54a198(0x35e)]:return'collabStatus.fetchMiss';case _0x214062[_0x54a198(0x500)]:return _0x54a198(0x208);case _0x214062[_0x54a198(0x52d)]:case _0x214062['AWAITING']:case _0x214062[_0x54a198(0x196)]:return _0x54a198(0x1d4);case _0x214062['SYNCED']:return'collabStatus.synced';}}function _0x12529c(_0x3977a7){const _0x6c6120=_0x1bf13c,{status$:_0x4e0861}=_0x3977a7,_0x29c02a=_0x33683b['useObservable'](_0x4e0861,_0x214062[_0x6c6120(0x500)]),_0x20c028=_0x47ad91[_0x6c6120(0x1d5)](_0x47ad91[_0x6c6120(0x3da)]),_0x5710b3=_0x29c02a!==_0x214062[_0x6c6120(0x39c)],_0x4dd883=_0x20c028['t'](_0x5d9b83(_0x29c02a)),_0xae23aa=_0x3cf929(_0x35fa1e[_0x6c6120(0x559)],{[_0x35fa1e[_0x6c6120(0x1e0)]]:_0x5710b3,[_0x35fa1e[_0x6c6120(0x589)]]:!_0x5710b3}),_0x43edec=_0x5710b3?_0x4abc54[_0x6c6120(0x3cf)](_0x2d175b,null):_0x4abc54[_0x6c6120(0x3cf)](_0x1532f4,null);return _0x4abc54[_0x6c6120(0x3cf)](_0x6c6120(0x1b4),{'className':_0xae23aa},_0x4abc54['createElement'](_0x6c6120(0x1b4),{'className':_0x35fa1e[_0x6c6120(0x56a)]},_0x43edec),_0x4abc54[_0x6c6120(0x3cf)](_0x6c6120(0x1b4),{'className':_0x35fa1e[_0x6c6120(0x35d)]},_0x4dd883));}var _0x27c610=Object[_0x1bf13c(0x1f5)],_0x4e27d6=Object[_0x1bf13c(0x523)],_0xb4975a=(_0xe6a49d,_0x5201f6,_0x42145e,_0x2605ca)=>{const _0x8ef071=_0x1bf13c;for(var _0x13d6a7=_0x2605ca>0x1?void 0x0:_0x2605ca?_0x4e27d6(_0x5201f6,_0x42145e):_0x5201f6,_0x3854ac=_0xe6a49d[_0x8ef071(0x557)]-0x1,_0x4c5326;_0x3854ac>=0x0;_0x3854ac--)(_0x4c5326=_0xe6a49d[_0x3854ac])&&(_0x13d6a7=(_0x2605ca?_0x4c5326(_0x5201f6,_0x42145e,_0x13d6a7):_0x4c5326(_0x13d6a7))||_0x13d6a7);return _0x2605ca&&_0x13d6a7&&_0x27c610(_0x5201f6,_0x42145e,_0x13d6a7),_0x13d6a7;},_0x332478=(_0xa53d2a,_0x2eab3e)=>(_0x3bb18b,_0x4513da)=>_0x2eab3e(_0x3bb18b,_0x4513da,_0xa53d2a);_0x490b22[_0x1bf13c(0x4c4)]=class extends _0x47ad91['Disposable']{constructor(_0x2e8d74,_0x2fa1b1,_0x1027b3,_0x387db6){const _0xeeac66=_0x1bf13c;super(),_0x41c7d7(this,_0xeeac66(0x2bd),new _0x255eda[(_0xeeac66(0x1d6))](_0x214062[_0xeeac66(0x500)])),(this[_0xeeac66(0x2a3)]=_0x2e8d74,this['_uiPartsService']=_0x2fa1b1,this[_0xeeac66(0x49c)]=_0x1027b3,this['_collaborationController']=_0x387db6,this[_0xeeac66(0x3c0)](),this[_0xeeac66(0x461)]());}['_initStatusComponent'](){const _0x44f167=_0x1bf13c;this[_0x44f167(0x27f)](this[_0x44f167(0x450)]['registerComponent'](_0x33683b[_0x44f167(0x3fd)][_0x44f167(0x53e)],()=>_0x47ad91[_0x44f167(0x23a)](_0x493290({'status$':this[_0x44f167(0x2bd)][_0x44f167(0x1a1)]()}),this['_injector'])));}[_0x1bf13c(0x461)](){const _0x376acb=_0x1bf13c;this[_0x376acb(0x27f)](_0x47ad91[_0x376acb(0x1ab)](this[_0x376acb(0x2a3)][_0x376acb(0x20e)]['pipe'](_0x255eda['switchMap'](()=>{const _0x332a60=_0x376acb,_0x14b1d4=this[_0x332a60(0x2a3)]['getFocusedUnit']();return _0x14b1d4?this[_0x332a60(0x3b9)][_0x332a60(0x25f)](_0x14b1d4[_0x332a60(0x4d4)]()):_0x255eda['of'](null);}),_0x255eda[_0x376acb(0x234)](_0x162879=>_0x162879?_0x162879[_0x376acb(0x26d)]:_0x255eda['of'](_0x214062[_0x376acb(0x500)])))[_0x376acb(0x3db)](_0x5153ae=>{const _0x403c39=_0x376acb;this[_0x403c39(0x2bd)][_0x403c39(0x3e1)](_0x5153ae);})));}},_0x490b22[_0x1bf13c(0x4c4)]=_0xb4975a([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91['LifecycleStages'][_0x1bf13c(0x191)],_0x490b22[_0x1bf13c(0x4c4)]),_0x332478(0x0,_0x47ad91['IUniverInstanceService']),_0x332478(0x1,_0x33683b['IUIPartsService']),_0x332478(0x2,_0x47ad91['Inject'](_0x47ad91[_0x1bf13c(0x380)])),_0x332478(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x292)]))],_0x490b22[_0x1bf13c(0x4c4)]);function _0x493290(_0x291b0a){const {status$:_0x21b36a}=_0x291b0a;return function(){const _0x142eaa=_0x2921;return _0x4abc54[_0x142eaa(0x3cf)](_0x12529c,{'status$':_0x21b36a});};}const _0x1bc608=_0x47ad91[_0x1bf13c(0x561)](_0x1bf13c(0x33a));var _0x1df514=Object[_0x1bf13c(0x1f5)],_0x461d6b=Object[_0x1bf13c(0x523)],_0x2aaa66=(_0x11924e,_0x219202,_0x2d53ed,_0x20ba3b)=>{const _0x22b58a=_0x1bf13c;for(var _0xe591c8=_0x20ba3b>0x1?void 0x0:_0x20ba3b?_0x461d6b(_0x219202,_0x2d53ed):_0x219202,_0x2eca9f=_0x11924e[_0x22b58a(0x557)]-0x1,_0x30b070;_0x2eca9f>=0x0;_0x2eca9f--)(_0x30b070=_0x11924e[_0x2eca9f])&&(_0xe591c8=(_0x20ba3b?_0x30b070(_0x219202,_0x2d53ed,_0xe591c8):_0x30b070(_0xe591c8))||_0xe591c8);return _0x20ba3b&&_0xe591c8&&_0x1df514(_0x219202,_0x2d53ed,_0xe591c8),_0xe591c8;},_0x50adde=(_0x5410e0,_0x83987e)=>(_0x1a6dd0,_0x1f2fe8)=>_0x83987e(_0x1a6dd0,_0x1f2fe8,_0x5410e0);_0x490b22[_0x1bf13c(0x361)]=class extends _0x47ad91['RxDisposable']{constructor(_0x20b6ff,_0x2cd811,_0x50b3a5,_0x477ee5,_0x3c81bb,_0x5c3291){const _0x532b1d=_0x1bf13c;super(),this[_0x532b1d(0x386)]=_0x20b6ff,this['_logService']=_0x2cd811,this[_0x532b1d(0x508)]=_0x50b3a5,this[_0x532b1d(0x295)]=_0x477ee5,this[_0x532b1d(0x264)]=_0x3c81bb,_0x5c3291?_0x5c3291==null||_0x5c3291['whenReady']()[_0x532b1d(0x34f)](()=>this[_0x532b1d(0x336)]()):(this[_0x532b1d(0x449)][_0x532b1d(0x567)](_0x532b1d(0x1b6),_0x532b1d(0x368)),this['_init']());}async['_init'](){const _0x16ef34=_0x1bf13c,_0x27b347=this[_0x16ef34(0x386)]['getParam']('unit'),_0x46ade7=this['_urlService'][_0x16ef34(0x251)](_0x16ef34(0x3e3));if(!_0x27b347||!_0x46ade7){this[_0x16ef34(0x449)][_0x16ef34(0x567)]('[DataLoaderController]',_0x16ef34(0x2bf));return;}switch(Number(_0x46ade7)){case _0x37da8d[_0x16ef34(0x4d5)]:{const _0xf6d75d=await this['_loadSheet'](_0x27b347);this[_0x16ef34(0x470)](_0xf6d75d);break;}case _0x37da8d[_0x16ef34(0x1ac)]:{await this[_0x16ef34(0x221)](_0x27b347);break;}default:{this[_0x16ef34(0x449)]['error'](_0x16ef34(0x1b6),_0x16ef34(0x554));break;}}}async[_0x1bf13c(0x470)](_0xfaf30a){const _0x33edfb=_0x1bf13c;await this['_updateSubUnitFromURLParams'](_0xfaf30a),_0xfaf30a[_0x33edfb(0x198)]['pipe'](_0x255eda[_0x33edfb(0x4d0)](this[_0x33edfb(0x517)]))['subscribe'](_0x537779=>{_0x537779&&this['_updateURLWithCurrentState'](_0x537779);}),this['_urlService'][_0x33edfb(0x383)]['pipe'](_0x255eda['takeUntil'](this[_0x33edfb(0x517)]))[_0x33edfb(0x3db)](()=>this[_0x33edfb(0x38d)](_0xfaf30a));}[_0x1bf13c(0x3a4)](_0x401747,_0x209f2f=!0x1){const _0x208764=_0x1bf13c,_0x1aa7fb=this[_0x208764(0x386)]['getParam'](_0x208764(0x31b));_0x401747[_0x208764(0x27a)]()!==_0x1aa7fb&&this['_urlService']['setParam'](_0x208764(0x31b),_0x401747[_0x208764(0x27a)](),_0x209f2f);}async[_0x1bf13c(0x38d)](_0x4c409c){const _0x33c619=_0x1bf13c;var _0x4b8f5c;const _0x26991e=this['_urlService'][_0x33c619(0x251)]('subunit');if(!_0x26991e||!_0x4c409c['getSheetBySheetId'](_0x26991e)){const _0x5d15c7=_0x4c409c[_0x33c619(0x4c3)]()[0x0],_0x1686cb=_0x4c409c[_0x33c619(0x570)](_0x5d15c7);if(!_0x1686cb)return;this['_updateURLWithCurrentState'](_0x1686cb,!0x0),await this['_commandService'][_0x33c619(0x518)](_0x4b5d67[_0x33c619(0x2ca)]['id'],{'unitId':_0x4c409c[_0x33c619(0x4d4)](),'subUnitId':_0x5d15c7});return;}((_0x4b8f5c=_0x4c409c[_0x33c619(0x410)]())==null?void 0x0:_0x4b8f5c[_0x33c619(0x27a)]())!==_0x26991e&&await this[_0x33c619(0x508)]['executeCommand'](_0x4b5d67[_0x33c619(0x2ca)]['id'],{'unitId':_0x4c409c[_0x33c619(0x4d4)](),'subUnitId':_0x26991e});}async['_loadSheet'](_0x340dba){const _0x5341bd=_0x1bf13c;let _0x5cacb9=0x0;const _0x377c92=await this[_0x5341bd(0x295)][_0x5341bd(0x1f2)](_0x340dba);return _0x377c92&&(_0x377c92['awaitingChangeset']||_0x377c92[_0x5341bd(0x4c7)]['length']!==0x0)&&(_0x5cacb9=_0x377c92[_0x5341bd(0x4f0)]),_0x5cacb9===0x0&&this['_logService'][_0x5341bd(0x567)](_0x5341bd(0x1b6),_0x5341bd(0x421)),this[_0x5341bd(0x264)][_0x5341bd(0x489)](_0x340dba,_0x5cacb9);}async[_0x1bf13c(0x221)](_0x56b52d){const _0x142cde=_0x1bf13c;let _0x4ee8ef=0x0;const _0x563bdf=await this['_localCacheService']['loadOfflineData'](_0x56b52d);return _0x563bdf&&(_0x563bdf['awaitingChangeset']||_0x563bdf[_0x142cde(0x4c7)][_0x142cde(0x557)]!==0x0)&&(_0x4ee8ef=_0x563bdf['rev']),_0x4ee8ef===0x0&&this[_0x142cde(0x449)][_0x142cde(0x567)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x142cde(0x232)](_0x56b52d,_0x4ee8ef);}},_0x490b22[_0x1bf13c(0x361)]=_0x2aaa66([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x191)],_0x490b22['DataLoaderController']),_0x50adde(0x0,_0x1bc608),_0x50adde(0x1,_0x47ad91[_0x1bf13c(0x32d)]),_0x50adde(0x2,_0x47ad91['ICommandService']),_0x50adde(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x490b22['LocalCacheService'])),_0x50adde(0x4,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x2c6)])),_0x50adde(0x5,_0x47ad91[_0x1bf13c(0x237)](_0x4812f9['IRemoteInstanceService']))],_0x490b22[_0x1bf13c(0x361)]);var _0x34f06a=Object['defineProperty'],_0x46d1ab=Object[_0x1bf13c(0x523)],_0x26f5a5=(_0x4f7b0b,_0x5bdb72,_0x5a2ff8,_0xf9ad43)=>{const _0x4c8509=_0x1bf13c;for(var _0x33b37c=_0xf9ad43>0x1?void 0x0:_0xf9ad43?_0x46d1ab(_0x5bdb72,_0x5a2ff8):_0x5bdb72,_0x1bd914=_0x4f7b0b[_0x4c8509(0x557)]-0x1,_0x27dbe8;_0x1bd914>=0x0;_0x1bd914--)(_0x27dbe8=_0x4f7b0b[_0x1bd914])&&(_0x33b37c=(_0xf9ad43?_0x27dbe8(_0x5bdb72,_0x5a2ff8,_0x33b37c):_0x27dbe8(_0x33b37c))||_0x33b37c);return _0xf9ad43&&_0x33b37c&&_0x34f06a(_0x5bdb72,_0x5a2ff8,_0x33b37c),_0x33b37c;},_0x2cff57=(_0x736569,_0x1129e9)=>(_0x2144e5,_0x3a28a8)=>_0x1129e9(_0x2144e5,_0x3a28a8,_0x736569);const _0x2b4d3b='DEFAULT_FILE_NAME',_0x24afcc=_0x1bf13c(0x354);let _0x29c452=class extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(_0x27e9f4,_0x5e46ee){const _0x1aebb7=_0x1bf13c;super(),this['_univerInstanceService']=_0x27e9f4,this[_0x1aebb7(0x4eb)]=_0x5e46ee,this[_0x1aebb7(0x336)]();}[_0x1bf13c(0x336)](){const _0x37e939=_0x1bf13c;this[_0x37e939(0x27f)](_0x47ad91['toDisposable'](this[_0x37e939(0x2a3)]['focused$'][_0x37e939(0x3db)](()=>{const _0x13f3ba=_0x37e939;var _0x253e7d;const _0xccbd57=this[_0x13f3ba(0x2a3)][_0x13f3ba(0x296)]();let _0x1c88ea=(_0x253e7d=this[_0x13f3ba(0x4eb)]['getConfig'](_0x2b4d3b))!=null?_0x253e7d:_0x24afcc;_0xccbd57 instanceof _0x47ad91[_0x13f3ba(0x2ff)]&&(_0x1c88ea=_0xccbd57[_0x13f3ba(0x24b)]),document['title']=_0x1c88ea;})));}};_0x29c452=_0x26f5a5([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x2c9)],_0x29c452),_0x2cff57(0x0,_0x47ad91['IUniverInstanceService']),_0x2cff57(0x1,_0x47ad91[_0x1bf13c(0x57d)])],_0x29c452);var _0x269a63=Object[_0x1bf13c(0x1f5)],_0x6a490c=Object[_0x1bf13c(0x523)],_0x2e8af3=(_0xfd3c2e,_0x5db85a,_0x377c1d,_0x4b8546)=>{for(var _0xde193a=_0x4b8546>0x1?void 0x0:_0x4b8546?_0x6a490c(_0x5db85a,_0x377c1d):_0x5db85a,_0x4c2bbc=_0xfd3c2e['length']-0x1,_0x57b449;_0x4c2bbc>=0x0;_0x4c2bbc--)(_0x57b449=_0xfd3c2e[_0x4c2bbc])&&(_0xde193a=(_0x4b8546?_0x57b449(_0x5db85a,_0x377c1d,_0xde193a):_0x57b449(_0xde193a))||_0xde193a);return _0x4b8546&&_0xde193a&&_0x269a63(_0x5db85a,_0x377c1d,_0xde193a),_0xde193a;},_0x90c362=(_0x38e7a0,_0x371276)=>(_0x3f6af2,_0x449c35)=>_0x371276(_0x3f6af2,_0x449c35,_0x38e7a0);_0x490b22[_0x1bf13c(0x320)]=class{constructor(_0x1fd522,_0x38e0b9){const _0x41693b=_0x1bf13c;this[_0x41693b(0x4eb)]=_0x1fd522,this[_0x41693b(0x235)]=_0x38e0b9;}async['getUnitOnRev'](_0x401bbb,_0x2c90ce){const _0xf1046b=_0x1bf13c;var _0x45a584;const {unitID:_0x1021fb,type:_0x2c0cd4,revision:_0x1b8317=0x0}=_0x2c90ce,_0x41a9cc=this[_0xf1046b(0x4e3)]()+'/'+_0x2c0cd4+_0xf1046b(0x4d7)+_0x1021fb+_0xf1046b(0x1cf)+_0x1b8317,_0x4d2b83=(await this['_httpService'][_0xf1046b(0x369)](_0x41a9cc))[_0xf1046b(0x432)],_0x731fd2=(_0x45a584=_0x4d2b83[_0xf1046b(0x255)])==null?void 0x0:_0x45a584[_0xf1046b(0x39f)];if(_0x731fd2){const _0x484511=_0x731fd2==null?void 0x0:_0x731fd2['originalMeta'],_0x1462c3=_0x47ad91[_0xf1046b(0x294)][_0xf1046b(0x545)](_0x47ad91[_0xf1046b(0x46a)](_0x484511));_0x731fd2[_0xf1046b(0x2be)]=_0x1462c3,Object[_0xf1046b(0x532)](_0x731fd2['sheets'])['forEach'](([,_0x4dbe19])=>{const _0x1974e1=_0xf1046b,_0x1e3e89=_0x4dbe19[_0x1974e1(0x2be)],_0xa99fd4=_0x47ad91[_0x1974e1(0x294)][_0x1974e1(0x545)](_0x47ad91[_0x1974e1(0x46a)](_0x1e3e89));_0x4dbe19[_0x1974e1(0x2be)]=_0xa99fd4;});}return _0x4d2b83;}async[_0x1bf13c(0x4ee)](_0x9361c8,_0x1aa0dc){const _0x1c7c97=_0x1bf13c,{unitID:_0x2a2d63,type:_0x10e0af,blockID:_0x5370d0}=_0x1aa0dc,_0x48e7d0=this[_0x1c7c97(0x1f0)]()+'/'+_0x10e0af+'/unit/'+_0x2a2d63+_0x1c7c97(0x56d)+_0x5370d0;return(await this[_0x1c7c97(0x235)]['get'](_0x48e7d0))[_0x1c7c97(0x432)];}async[_0x1bf13c(0x563)](_0x14e5ee,_0x579252){const _0x4f4c77=_0x1bf13c,{unitID:_0x49c242,type:_0x3c9ac6,from:_0x1f4309,to:_0x2368cd}=_0x579252,_0x37128b=this[_0x4f4c77(0x1f0)]()+'/'+_0x3c9ac6+_0x4f4c77(0x4d7)+_0x49c242+_0x4f4c77(0x42d)+_0x1f4309+_0x4f4c77(0x32e)+_0x2368cd;return(await this[_0x4f4c77(0x235)][_0x4f4c77(0x369)](_0x37128b))[_0x4f4c77(0x432)];}[_0x1bf13c(0x4e3)](){const _0x1cf5fe=_0x1bf13c;var _0x191837;return(_0x191837=this[_0x1cf5fe(0x4eb)][_0x1cf5fe(0x4dd)](_0x146ad6))!=null?_0x191837:this['_getAPIPrefix']();}[_0x1bf13c(0x1f0)](){const _0x1c1aa5=_0x1bf13c;var _0x3fd107;return(_0x3fd107=this[_0x1c1aa5(0x4eb)]['getConfig'](_0x545bfc))!=null?_0x3fd107:_0x25b345;}async[_0x1bf13c(0x519)](_0x7e0b84,_0x3096fd){const _0x5ebfca=_0x1bf13c,_0x152363=_0x5ebfca(0x57a)+_0x3096fd[_0x5ebfca(0x3e3)]+_0x5ebfca(0x4d7)+_0x3096fd[_0x5ebfca(0x210)]+_0x5ebfca(0x527);return(await this[_0x5ebfca(0x235)][_0x5ebfca(0x369)](_0x152363,{'params':{'resourceId':JSON[_0x5ebfca(0x290)](_0x3096fd[_0x5ebfca(0x333)])}}))[_0x5ebfca(0x432)];}[_0x1bf13c(0x4d3)](){const _0x57652e=_0x1bf13c;throw new Error(_0x57652e(0x357));}['saveSheetBlock'](){const _0x2e5eca=_0x1bf13c;throw new Error(_0x2e5eca(0x357));}[_0x1bf13c(0x1fc)](){const _0x5e0ace=_0x1bf13c;throw new Error(_0x5e0ace(0x357));}},_0x490b22[_0x1bf13c(0x320)]=_0x2e8af3([_0x90c362(0x0,_0x47ad91[_0x1bf13c(0x57d)]),_0x90c362(0x1,_0x47ad91['Inject'](_0x125bb1['HTTPService']))],_0x490b22[_0x1bf13c(0x320)]);var _0x276b3e=Object[_0x1bf13c(0x1f5)],_0x46ecbb=Object['getOwnPropertyDescriptor'],_0x2f88cf=(_0x10b8eb,_0x43f20a,_0x1479f5,_0x446782)=>{const _0x57337e=_0x1bf13c;for(var _0x35dd67=_0x446782>0x1?void 0x0:_0x446782?_0x46ecbb(_0x43f20a,_0x1479f5):_0x43f20a,_0x5cf982=_0x10b8eb[_0x57337e(0x557)]-0x1,_0x3c1168;_0x5cf982>=0x0;_0x5cf982--)(_0x3c1168=_0x10b8eb[_0x5cf982])&&(_0x35dd67=(_0x446782?_0x3c1168(_0x43f20a,_0x1479f5,_0x35dd67):_0x3c1168(_0x35dd67))||_0x35dd67);return _0x446782&&_0x35dd67&&_0x276b3e(_0x43f20a,_0x1479f5,_0x35dd67),_0x35dd67;},_0x32c2f2=(_0x3fad34,_0x46b878)=>(_0x511998,_0x40e129)=>_0x46b878(_0x511998,_0x40e129,_0x3fad34);let _0x1fe82a=class extends _0x47ad91[_0x1bf13c(0x583)]{constructor(_0x5ef713,_0x168041,_0x1fd6e3,_0x2cc67a,_0x4085b5){super(_0x5ef713,_0x168041,_0x1fd6e3),this['_transformService']=_0x2cc67a,this['_logService']=_0x4085b5;}[_0x1bf13c(0x28b)](_0x272480,_0x2857bc){const _0x154af5=_0x1bf13c,_0xcd03b8=this['_getUndoStack'](_0x272480);if(_0xcd03b8)try{const _0x11f644=this[_0x154af5(0x28e)](_0xcd03b8,_0x2857bc);this['_substituteUndoStack'](_0x272480,_0x11f644);}catch(_0x3044ae){this[_0x154af5(0x449)][_0x154af5(0x3dd)]('[CollaborationUndoRedoService]',_0x3044ae),this[_0x154af5(0x3c7)](_0x272480);}const _0x27097c=this[_0x154af5(0x560)](_0x272480);if(_0x27097c)try{const _0x49a299=this[_0x154af5(0x28e)](_0x27097c,_0x2857bc);this[_0x154af5(0x443)](_0x272480,_0x49a299);}catch(_0x2445a2){this[_0x154af5(0x449)][_0x154af5(0x3dd)](_0x2445a2),this['_clearRedo'](_0x272480);}}[_0x1bf13c(0x3c7)](_0x5b8027){const _0x2f6ff8=_0x1bf13c,_0x5b50e7=this[_0x2f6ff8(0x3e7)](_0x5b8027);_0x5b50e7&&(_0x5b50e7['length']=0x0,this['_updateStatus']());}[_0x1bf13c(0x1a8)](_0x1c9d28){const _0xf9c8ea=_0x1bf13c,_0x560762=this[_0xf9c8ea(0x560)](_0x1c9d28);_0x560762&&(_0x560762['length']=0x0,this[_0xf9c8ea(0x46c)]());}[_0x1bf13c(0x2ac)](_0x21c478,_0x13ff0f){const _0x5614f3=_0x1bf13c;this['_undoStacks']['set'](_0x21c478,_0x13ff0f),this[_0x5614f3(0x46c)]();}['_substituteRedoStack'](_0x213899,_0x374390){const _0x2b7bf3=_0x1bf13c;this[_0x2b7bf3(0x533)][_0x2b7bf3(0x56b)](_0x213899,_0x374390),this[_0x2b7bf3(0x46c)]();}[_0x1bf13c(0x28e)](_0x3d261c,_0x4651b5){const _0xcdaf17=_0x1bf13c,_0x4777c9=[];let _0xc66a84=_0x4651b5,_0x46410f=_0x4651b5;for(let _0x3eeee3=_0x3d261c[_0xcdaf17(0x557)]-0x1;_0x3eeee3>=0x0;_0x3eeee3--){const {unitID:_0x2dde04,undoMutations:_0x35afdb,redoMutations:_0x55f82b}=_0x3d261c[_0x3eeee3],_0x7f3c4c=this[_0xcdaf17(0x424)][_0xcdaf17(0x388)](_0xc66a84,_0x35afdb),_0x34d797=this[_0xcdaf17(0x424)][_0xcdaf17(0x388)](_0x46410f,_0x55f82b);if(_0x4709b4[_0xcdaf17(0x4f8)](_0x7f3c4c)||_0x4709b4['isTransformMutationsWithChangesetFailure'](_0x34d797)){this[_0xcdaf17(0x449)][_0xcdaf17(0x3dd)]('[CollaborationUndoRedoService]',_0xcdaf17(0x1e2),_0x7f3c4c,_0x34d797);break;}_0xc66a84=_0x7f3c4c[_0xcdaf17(0x22a)],_0x46410f=_0x34d797[_0xcdaf17(0x22a)],_0x4777c9[_0xcdaf17(0x44c)]({'unitID':_0x2dde04,'undoMutations':_0x7f3c4c['m2Prime'],'redoMutations':_0x34d797['m2Prime']});}return _0x4777c9['reverse']();}};_0x1fe82a=_0x2f88cf([_0x32c2f2(0x0,_0x47ad91['IUniverInstanceService']),_0x32c2f2(0x1,_0x47ad91[_0x1bf13c(0x226)]),_0x32c2f2(0x2,_0x47ad91[_0x1bf13c(0x231)]),_0x32c2f2(0x3,_0x4709b4[_0x1bf13c(0x516)]),_0x32c2f2(0x4,_0x47ad91[_0x1bf13c(0x32d)])],_0x1fe82a);class _0x50d310 extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(){const _0x4bd9ee=_0x1bf13c;super(),_0x41c7d7(this,_0x4bd9ee(0x383)),this[_0x4bd9ee(0x383)]=_0x255eda[_0x4bd9ee(0x35f)](window,_0x4bd9ee(0x1bf))[_0x4bd9ee(0x38c)](_0x255eda[_0x4bd9ee(0x4d0)](this[_0x4bd9ee(0x517)]),_0x255eda[_0x4bd9ee(0x379)](0x1),_0x255eda[_0x4bd9ee(0x218)](void 0x0));}['setParam'](_0x446d00,_0x1b194b,_0x5218bc=!0x1){const _0x173b33=_0x1bf13c,_0x4f0e9a=new URL(window[_0x173b33(0x301)][_0x173b33(0x374)]);_0x4f0e9a['searchParams'][_0x173b33(0x56b)](_0x446d00,_0x1b194b),_0x5218bc?window['history'][_0x173b33(0x2a8)]('','',_0x4f0e9a[_0x173b33(0x493)]()):window['history']['pushState']('','',_0x4f0e9a[_0x173b33(0x493)]());}[_0x1bf13c(0x21f)](_0x33f03a,_0x1d210b=!0x1){const _0x436851=_0x1bf13c,_0x33c0fa=new URL(window['location'][_0x436851(0x374)]);_0x33c0fa['searchParams']['delete'](_0x33f03a),_0x1d210b?window[_0x436851(0x535)]['replaceState']('','',_0x33c0fa[_0x436851(0x493)]()):window['history']['pushState']('','',_0x33c0fa[_0x436851(0x493)]());}['getParam'](_0x6ad9d2){const _0x371127=_0x1bf13c;var _0x2945ea;return(_0x2945ea=new URL(window[_0x371127(0x301)][_0x371127(0x374)])[_0x371127(0x2ce)][_0x371127(0x369)](_0x6ad9d2))!=null?_0x2945ea:void 0x0;}}const _0x4900ae=_0x1bf13c(0x2d0),_0x2b427f=_0x1bf13c(0x25e),_0x386b52='collab-rect-range-',_0x383ea3=0x6,_0x563f7e=1.5,_0x58fd29=0x4,_0xe7596c=1.5,_0x21fb2a='rgba(255,\x20255,\x20255,\x200.01)';class _0x29aa7a{constructor(_0x5af230,_0x5e89c9,_0x13bdd4,_0x7c208e){const _0x300100=_0x1bf13c;_0x41c7d7(this,_0x300100(0x281),[]),_0x41c7d7(this,'_anchor',null),_0x41c7d7(this,_0x300100(0x48a),null),_0x41c7d7(this,'_anchorDot',null),_0x41c7d7(this,_0x300100(0x2e2),null),_0x41c7d7(this,_0x300100(0x261),null),(this[_0x300100(0x52e)]=_0x5af230,this[_0x300100(0x4cf)]=_0x5e89c9,this[_0x300100(0x406)]=_0x13bdd4,this[_0x300100(0x311)]=_0x7c208e,this[_0x300100(0x355)]());}set['_hover'](_0x4ba49c){const _0xdb0aab=_0x1bf13c;_0x4ba49c?(this[_0xdb0aab(0x492)]&&this['_anchorDot'][_0xdb0aab(0x291)](),this[_0xdb0aab(0x48a)]&&this[_0xdb0aab(0x48a)][_0xdb0aab(0x48b)]()):(this[_0xdb0aab(0x492)]&&this[_0xdb0aab(0x492)]['show'](),this[_0xdb0aab(0x48a)]&&this[_0xdb0aab(0x48a)]['hide']());}['dispose'](){const _0x33f6b2=_0x1bf13c;for(const _0x4d535a of this[_0x33f6b2(0x281)])_0x4d535a['dispose']();this[_0x33f6b2(0x48a)]&&this[_0x33f6b2(0x48a)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x33f6b2(0x4db)](),this[_0x33f6b2(0x431)]&&this['_anchor'][_0x33f6b2(0x4db)](),this[_0x33f6b2(0x261)]&&this[_0x33f6b2(0x261)]();}['_render'](){const _0x147687=_0x1bf13c;var _0x516e84;const {_docSkeleton:_0x1f7d8c,_document:_0x39507c}=this,{color:_0x3395e8,name:_0x1d8913,ranges:_0x1c208b}=this[_0x147687(0x52e)],_0x220598=_0x39507c[_0x147687(0x293)](),{docsLeft:_0x5392ed,docsTop:_0xcf10c1}=_0x220598,_0x5f40cb=new _0xba1502[(_0x147687(0x30e))](_0x220598,_0x1f7d8c);for(const {startOffset:_0xbf8668,endOffset:_0x155348,collapsed:_0x1b69ef,isActive:_0x250850}of _0x1c208b){const _0x4054e6=_0x1f7d8c['findNodePositionByCharIndex'](_0xbf8668),_0x4867fc=_0x1f7d8c[_0x147687(0x1ea)](_0x155348);if(_0x250850){const {contentBoxPointGroup:_0x2d4c61}=_0x5f40cb['getRangePointData'](_0x4867fc,_0x4867fc);if(_0x2d4c61['length']===0x0)continue;this['_drawAnchor'](_0x3395e8,_0x2d4c61,_0x5392ed,_0xcf10c1,_0x1d8913),this[_0x147687(0x261)]=this[_0x147687(0x2c0)]();}if(!_0x1b69ef&&_0x4054e6&&_0x4867fc){if(_0xba1502['isValidRectRange'](_0x4054e6,_0x4867fc)){const _0xe40114=new _0xba1502[(_0x147687(0x2da))](_0x220598,_0x1f7d8c),{pointGroup:_0x4e5236}=(_0x516e84=_0xe40114['getRangePointData'](_0x4054e6,_0x4867fc))!=null?_0x516e84:{};if(_0x4e5236==null||_0x4e5236[_0x147687(0x557)]===0x0)continue;this[_0x147687(0x2f8)](_0x3395e8,_0x4e5236,_0x5392ed,_0xcf10c1);}else{const {contentBoxPointGroup:_0x38cb7c}=_0x5f40cb['getRangePointData'](_0x4054e6,_0x4867fc);if(_0x38cb7c['length']===0x0)continue;this[_0x147687(0x20b)](_0x3395e8,_0x38cb7c,_0x5392ed,_0xcf10c1);}}}}['_drawAnchor'](_0x1f77d4,_0x1e67ff,_0x1d059d,_0x1e4a0e,_0x31e69d){const _0x509137=_0x1bf13c,_0x51c85f=this[_0x509137(0x327)](_0x1e67ff),{left:_0x4af89e,top:_0x400c81,height:_0x1940e4}=_0x51c85f,_0x2e60e1=this[_0x509137(0x460)](),_0x1326dd=_0xe7596c/_0x2e60e1,_0x12ab42=new _0xba1502[(_0x509137(0x399))](_0x4900ae+_0x47ad91['Tools']['generateRandomId'](_0x383ea3),{'left':_0x4af89e+_0x1d059d-_0x1326dd,'top':_0x400c81+_0x1e4a0e,'height':_0x1940e4,'width':_0x563f7e,'fill':_0x1f77d4||_0xba1502[_0x509137(0x588)](_0x47ad91[_0x509137(0x4b6)][_0x509137(0x430)],0x0),'strokeWidth':_0x1326dd,'stroke':_0x21fb2a,'evented':!0x0});this[_0x509137(0x431)]=_0x12ab42,this[_0x509137(0x4cf)][_0x509137(0x50a)](_0x12ab42,_0xba1502[_0x509137(0x54b)]);const _0x5ca4e7=new _0xba1502[(_0x509137(0x399))](_0x4900ae+_0x47ad91['Tools'][_0x509137(0x254)](_0x383ea3),{'left':_0x4af89e+_0x1d059d-_0x1326dd,'top':_0x400c81+_0x1e4a0e-_0x58fd29/0x2,'height':_0x58fd29,'width':_0x58fd29,'fill':_0x1f77d4||_0xba1502[_0x509137(0x588)](_0x47ad91['COLORS'][_0x509137(0x430)],0x0),'strokeWidth':0x0,'stroke':_0x1f77d4||_0xba1502[_0x509137(0x588)](_0x47ad91['COLORS'][_0x509137(0x430)],0x0),'evented':!0x1});this[_0x509137(0x492)]=_0x5ca4e7,this[_0x509137(0x4cf)][_0x509137(0x50a)](_0x5ca4e7,_0xba1502[_0x509137(0x54b)]);const _0x3b6cd5=new _0x27e262(_0x4900ae+_0x47ad91[_0x509137(0x24a)][_0x509137(0x254)](_0x383ea3),{'left':_0x4af89e+_0x1d059d-_0x1326dd,'top':_0x400c81+_0x1e4a0e-_0x154e90,'text':_0x31e69d,'color':_0x1f77d4});this[_0x509137(0x48a)]=_0x3b6cd5,this['_scene'][_0x509137(0x50a)](_0x3b6cd5,_0xba1502['TEXT_RANGE_LAYER_INDEX']),this[_0x509137(0x2fc)]=!0x1;}[_0x1bf13c(0x2c0)](){const _0x25263c=_0x1bf13c,_0x13e641=this['_anchor'][_0x25263c(0x362)]['subscribeEvent'](()=>{const _0x39e3d1=_0x25263c;this[_0x39e3d1(0x2fc)]=!0x0;}),_0x4a7c40=this[_0x25263c(0x431)]['onPointerLeave$'][_0x25263c(0x2f3)](()=>{const _0x19d457=_0x25263c;this['_hideTimer']&&clearTimeout(this[_0x19d457(0x2e2)]),this[_0x19d457(0x2e2)]=setTimeout(()=>{const _0x56d49f=_0x19d457;this[_0x56d49f(0x2fc)]=!0x1;},0x7d0);});return()=>{const _0x2a9eb4=_0x25263c;_0x13e641[_0x2a9eb4(0x33d)](),_0x4a7c40[_0x2a9eb4(0x33d)]();};}['_drawTextRange'](_0x278cae,_0x3bed64,_0x1b6b20,_0x5e4619){const _0x587c64=_0x1bf13c,_0x203a40=new _0x47ad91[(_0x587c64(0x4b3))](_0x278cae)[_0x587c64(0x403)](0.2)[_0x587c64(0x3f6)](),_0x286225=new _0xba1502[(_0x587c64(0x409))](_0x2b427f+_0x47ad91[_0x587c64(0x24a)][_0x587c64(0x254)](_0x383ea3),{'pointsGroup':_0x3bed64,'fill':_0x203a40||_0xba1502[_0x587c64(0x588)](_0x47ad91[_0x587c64(0x4b6)][_0x587c64(0x430)],0.2),'left':_0x1b6b20,'top':_0x5e4619,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x587c64(0x281)][_0x587c64(0x44c)](_0x286225),this[_0x587c64(0x4cf)][_0x587c64(0x50a)](_0x286225,_0xba1502[_0x587c64(0x54b)]);}['_drawRectRange'](_0x50634f,_0x542833,_0x240549,_0x3ed393){const _0x2ce93c=_0x1bf13c,_0x4a71af=new _0x47ad91[(_0x2ce93c(0x4b3))](_0x50634f)[_0x2ce93c(0x403)](0.2)[_0x2ce93c(0x3f6)](),_0x59a91d=new _0xba1502['RegularPolygon'](_0x386b52+_0x47ad91[_0x2ce93c(0x24a)][_0x2ce93c(0x254)](_0x383ea3),{'pointsGroup':_0x542833,'fill':_0x4a71af||_0xba1502['getColor'](_0x47ad91['COLORS'][_0x2ce93c(0x430)],0.2),'left':_0x240549,'top':_0x3ed393,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2ce93c(0x281)]['push'](_0x59a91d),this[_0x2ce93c(0x4cf)][_0x2ce93c(0x50a)](_0x59a91d,_0xba1502[_0x2ce93c(0x54b)]);}['_getAnchorBounding'](_0x4cc702){const _0x291397=_0x4cc702[0x0],_0x1be010=_0x291397[0x0],_0x5a367e=_0x291397[0x2],{x:_0x5da573,y:_0x52f412}=_0x1be010,{x:_0x1a11fc,y:_0x26b1a3}=_0x5a367e;return{'left':_0x5da573,'top':_0x52f412,'width':_0x1a11fc-_0x5da573,'height':_0x26b1a3-_0x52f412};}[_0x1bf13c(0x460)](){const _0x874a97=_0x1bf13c,{scaleX:_0x170b3a,scaleY:_0x41cf03}=this[_0x874a97(0x4cf)][_0x874a97(0x4e9)]();return Math[_0x874a97(0x3df)](_0x170b3a,_0x41cf03);}}var _0x57171e=Object['defineProperty'],_0x4aee22=Object[_0x1bf13c(0x523)],_0xce2fa2=(_0x3c4b59,_0x2f7815,_0x3d6f49,_0x1b3fa0)=>{const _0x17f773=_0x1bf13c;for(var _0x33af66=_0x1b3fa0>0x1?void 0x0:_0x1b3fa0?_0x4aee22(_0x2f7815,_0x3d6f49):_0x2f7815,_0x13850a=_0x3c4b59[_0x17f773(0x557)]-0x1,_0x18b4bc;_0x13850a>=0x0;_0x13850a--)(_0x18b4bc=_0x3c4b59[_0x13850a])&&(_0x33af66=(_0x1b3fa0?_0x18b4bc(_0x2f7815,_0x3d6f49,_0x33af66):_0x18b4bc(_0x33af66))||_0x33af66);return _0x1b3fa0&&_0x33af66&&_0x57171e(_0x2f7815,_0x3d6f49,_0x33af66),_0x33af66;},_0x2d53d1=(_0x26f723,_0x22cb38)=>(_0x2f608a,_0x29a2a8)=>_0x22cb38(_0x2f608a,_0x29a2a8,_0x26f723);let _0x231699=class extends _0x47ad91['RxDisposable']{constructor(_0x420d17,_0x3576e8,_0x33860d,_0x3d112b,_0x98f643){const _0x4007e7=_0x1bf13c;super(),_0x41c7d7(this,_0x4007e7(0x1a0),[]),_0x41c7d7(this,_0x4007e7(0x194),[]),(this[_0x4007e7(0x54e)]=_0x420d17,this[_0x4007e7(0x373)]=_0x3576e8,this[_0x4007e7(0x427)]=_0x33860d,this['_commandService']=_0x3d112b,this['_themeService']=_0x98f643,this[_0x4007e7(0x336)]());}[_0x1bf13c(0x336)](){const _0x2f210b=_0x1bf13c,_0x59bdb7=this[_0x2f210b(0x54e)][_0x2f210b(0x206)],_0x3a22f8=this[_0x2f210b(0x373)];this[_0x2f210b(0x27f)](_0x255eda[_0x2f210b(0x438)]([this[_0x2f210b(0x427)][_0x2f210b(0x352)](_0x59bdb7),this['_themeService'][_0x2f210b(0x3ba)]])['pipe'](_0x335e20[_0x2f210b(0x3be)](([_0x45b161,_0x268e62])=>({'skeleton':_0x3a22f8['getSkeleton'](),'cursors':[..._0x45b161['values']()][_0x2f210b(0x416)](_0x27cf93=>({..._0x27cf93,'color':_0x268e62[_0x27cf93[_0x2f210b(0x534)]]}))})))[_0x2f210b(0x3db)](_0x5b3a0a=>{const _0x3c08fe=_0x2f210b;if(this['_removeCollabCursors'](),_0x5b3a0a){const {skeleton:_0x3928c3,cursors:_0x34c14b}=_0x5b3a0a;this[_0x3c08fe(0x498)](_0x3928c3,_0x34c14b);}})),this[_0x2f210b(0x1bd)](),this['_initCommandExecutedListener']();}[_0x1bf13c(0x498)](_0x1dd143,_0xc40076){const _0x2c2fba=_0x1bf13c,{scene:_0x10f80f,mainComponent:_0x19243c}=this[_0x2c2fba(0x54e)],_0x29912b=_0xc40076[_0x2c2fba(0x3be)](_0x559eb7=>new _0x29aa7a(_0x559eb7,_0x10f80f,_0x1dd143,_0x19243c));this[_0x2c2fba(0x1a0)]=_0x29912b,this[_0x2c2fba(0x194)]=_0xc40076;}[_0x1bf13c(0x2d5)](){const _0x30f0c9=_0x1bf13c;this[_0x30f0c9(0x42e)]();const {scene:_0x3974ca,mainComponent:_0x3dea15}=this[_0x30f0c9(0x54e)],_0x126bf7=this['_docSkeletonManagerService'][_0x30f0c9(0x288)](),_0xb04644=this[_0x30f0c9(0x194)]['map'](_0x2376b4=>new _0x29aa7a(_0x2376b4,_0x3974ca,_0x126bf7,_0x3dea15));this['_cursorShapes']=_0xb04644;}[_0x1bf13c(0x42e)](){const _0x59807f=_0x1bf13c;this[_0x59807f(0x1a0)]['forEach'](_0x2cb058=>_0x2cb058[_0x59807f(0x4db)]()),this[_0x59807f(0x1a0)]=[];}[_0x1bf13c(0x1e8)](){const _0x342a54=_0x1bf13c,_0x39b08c=[_0x2ac904['SetDocZoomRatioOperation']['id']];this[_0x342a54(0x27f)](this[_0x342a54(0x508)][_0x342a54(0x28d)](_0x2583a3=>{const _0x2b608c=_0x342a54;_0x39b08c[_0x2b608c(0x299)](_0x2583a3['id'])&&_0x2583a3['params'][_0x2b608c(0x206)]===this[_0x2b608c(0x54e)][_0x2b608c(0x206)]&&this[_0x2b608c(0x2d5)]();}));}[_0x1bf13c(0x1bd)](){const _0x570907=_0x1bf13c;this['disposeWithMe'](_0x47ad91['fromEventSubject'](this[_0x570907(0x54e)][_0x570907(0x50f)][_0x570907(0x302)])[_0x570907(0x38c)](_0x335e20[_0x570907(0x591)](_0xacd1f3=>_0xacd1f3['type']===_0xba1502['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x570907(0x551)]),_0x335e20['throttleTime'](0x10))[_0x570907(0x3db)](()=>{const _0x2ff0ac=_0x570907;this[_0x2ff0ac(0x2d5)]();}));}};_0x231699=_0xce2fa2([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x309)],_0x231699),_0x2d53d1(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x2ac904['DocSkeletonManagerService'])),_0x2d53d1(0x2,_0x47ad91['Inject'](_0x464c11)),_0x2d53d1(0x3,_0x47ad91[_0x1bf13c(0x226)]),_0x2d53d1(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x54c)]))],_0x231699);var _0x485dee=Object['defineProperty'],_0x2fb911=Object['getOwnPropertyDescriptor'],_0x42a5a8=(_0x36c2e8,_0x3225a5,_0xbc2deb,_0x275f16)=>{for(var _0x33319c=_0x275f16>0x1?void 0x0:_0x275f16?_0x2fb911(_0x3225a5,_0xbc2deb):_0x3225a5,_0x49ecbc=_0x36c2e8['length']-0x1,_0x71293c;_0x49ecbc>=0x0;_0x49ecbc--)(_0x71293c=_0x36c2e8[_0x49ecbc])&&(_0x33319c=(_0x275f16?_0x71293c(_0x3225a5,_0xbc2deb,_0x33319c):_0x71293c(_0x33319c))||_0x33319c);return _0x275f16&&_0x33319c&&_0x485dee(_0x3225a5,_0xbc2deb,_0x33319c),_0x33319c;},_0x4256a6=(_0x149d2f,_0x5c2ebc)=>(_0x1ace9b,_0x3c7d59)=>_0x5c2ebc(_0x1ace9b,_0x3c7d59,_0x149d2f);let _0x46f60d=class{constructor(_0x29ef7c,_0x58771c,_0x3ac03d){const _0x1dc504=_0x1bf13c;this['_configService']=_0x29ef7c,this[_0x1dc504(0x235)]=_0x58771c,this[_0x1dc504(0x1e7)]=_0x3ac03d,this[_0x1dc504(0x49a)]();}[_0x1bf13c(0x49a)](){const _0x886f1b=_0x1bf13c;this[_0x886f1b(0x235)][_0x886f1b(0x4ef)]({'priority':0x1,'interceptor':(_0x24b761,_0x4eec69)=>_0x4eec69(_0x24b761)[_0x886f1b(0x38c)](_0x255eda[_0x886f1b(0x4c8)](async _0x40d87b=>{const _0x479d61=_0x886f1b,_0x45a6ea=_0x40d87b;if(_0x45a6ea[_0x479d61(0x256)]===0x191&&window[_0x479d61(0x46f)](this[_0x479d61(0x1e7)]['t']('auth.needGotoLoginAlert'))){const _0x268917=window[_0x479d61(0x4a4)](window[_0x479d61(0x301)][_0x479d61(0x374)]);window[_0x479d61(0x301)][_0x479d61(0x374)]=this['_getLoginPath']()+_0x479d61(0x248)+_0x268917;}return _0x45a6ea;}))});}[_0x1bf13c(0x310)](){const _0x4860d9=_0x1bf13c;var _0x8db7c2;return(_0x8db7c2=this[_0x4860d9(0x4eb)][_0x4860d9(0x4dd)](_0x44e1d9))!=null?_0x8db7c2:_0x3fa505;}};_0x46f60d=_0x42a5a8([_0x4256a6(0x0,_0x47ad91['IConfigService']),_0x4256a6(0x1,_0x47ad91['Inject'](_0x125bb1[_0x1bf13c(0x548)])),_0x4256a6(0x2,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['LocaleService']))],_0x46f60d);var _0xa22281=Object['defineProperty'],_0x5c274b=Object[_0x1bf13c(0x523)],_0x51f168=(_0x1fc6db,_0x4ba4e2,_0x137a6b,_0x4bd749)=>{const _0x158bd8=_0x1bf13c;for(var _0x43676c=_0x4bd749>0x1?void 0x0:_0x4bd749?_0x5c274b(_0x4ba4e2,_0x137a6b):_0x4ba4e2,_0x546abd=_0x1fc6db[_0x158bd8(0x557)]-0x1,_0x51e23e;_0x546abd>=0x0;_0x546abd--)(_0x51e23e=_0x1fc6db[_0x546abd])&&(_0x43676c=(_0x4bd749?_0x51e23e(_0x4ba4e2,_0x137a6b,_0x43676c):_0x51e23e(_0x43676c))||_0x43676c);return _0x4bd749&&_0x43676c&&_0xa22281(_0x4ba4e2,_0x137a6b,_0x43676c),_0x43676c;},_0x2691c9=(_0xd2e433,_0x51beff)=>(_0x5e0cf9,_0x5dfb00)=>_0x51beff(_0x5e0cf9,_0x5dfb00,_0xd2e433);const _0x1f5d84=_0x1bf13c(0x1cb),_0x4dd066=_0x1bf13c(0x21c);_0x490b22[_0x1bf13c(0x323)]=class extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(_0xc63a44,_0x1b130a){const _0x5ca0c7=_0x1bf13c;super(),this['_HTTPService']=_0xc63a44,this[_0x5ca0c7(0x4eb)]=_0x1b130a,this[_0x5ca0c7(0x243)]();}[_0x1bf13c(0x243)](){const _0x203255=_0x1bf13c,_0x131117=this;this[_0x203255(0x27f)](this[_0x203255(0x30f)][_0x203255(0x4ef)]({'priority':0x3e7,'interceptor':_0x125bb1[_0x203255(0x31a)]({'isMatch'(_0x359f00){const _0x1cb307=_0x203255;var _0x3d35da;if(_0x359f00[_0x1cb307(0x2d6)]===_0x1cb307(0x3f9)&&((_0x3d35da=_0x359f00['requestParams'])!=null&&_0x3d35da[_0x1cb307(0x432)])){const {objectID:_0x126ff1,objectType:_0x5937b8}=_0x359f00[_0x1cb307(0x575)][_0x1cb307(0x432)]||{};if(!_0x126ff1||_0x5937b8===void 0x0)return!0x1;const _0x50f9e9=_0x131117[_0x1cb307(0x24d)]()+'/'+_0x5937b8+'/object/'+_0x126ff1+_0x1cb307(0x4c9);if(_0x359f00[_0x1cb307(0x51d)]===_0x50f9e9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x28dd5c){var _0x5b2267;return(_0x5b2267=_0x28dd5c['requestParams'])==null?void 0x0:_0x5b2267['body'];},'mergeParamsToRequest'(_0x52dbe0,_0x1332f0){const _0x57748a=_0x203255,_0x4389b8=_0x131117[_0x57748a(0x24d)]()+_0x57748a(0x577),_0x5b28fc=_0x52dbe0['reduce']((_0x3d3624,_0x1615f3)=>{const _0x5e24d7=_0x57748a,{unitID:_0x1fa09c,objectID:_0x1ea53e,objectType:_0x292ea8,actions:_0x52e721}=_0x1615f3;return _0x3d3624[_0x1fa09c]||(_0x3d3624[_0x1fa09c]={}),_0x3d3624[_0x1fa09c][_0x1ea53e]||(_0x3d3624[_0x1fa09c][_0x1ea53e]={'objectID':_0x1ea53e,'objectType':_0x292ea8,'actions':[]}),_0x3d3624[_0x1fa09c][_0x1ea53e][_0x5e24d7(0x4ad)][_0x5e24d7(0x44c)](..._0x52e721),_0x3d3624;},{}),_0x57c427=[];for(const _0x3bac78 in _0x5b28fc)for(const _0x46d038 in _0x5b28fc[_0x3bac78]){const {actions:_0x30fc16,objectType:_0x4014ae}=_0x5b28fc[_0x3bac78][_0x46d038],_0x222774=[...new Set(_0x30fc16)];_0x57c427[_0x57748a(0x44c)]({'unitID':_0x3bac78,'objectID':_0x46d038,'objectType':_0x4014ae,'actions':_0x222774});}return new _0x125bb1[(_0x57748a(0x34d))]('POST',_0x4389b8,{'headers':_0x1332f0[_0x57748a(0x2ae)],'withCredentials':_0x1332f0['withCredentials'],'responseType':_0x1332f0[_0x57748a(0x501)],'body':{'requests':_0x57c427}});}},{'distributeResult'(_0x2a5ddd,_0x48b876){const _0x222df1=_0x203255,{objectActions:_0x1d3815}=_0x2a5ddd;return _0x48b876[_0x222df1(0x3be)](_0x40fc1f=>{const _0xaeda3d=_0x222df1,{unitID:_0x342689,objectID:_0x468f08,actions:_0x13254b}=_0x40fc1f,_0x473d78=_0x1d3815[_0xaeda3d(0x579)](_0x4f465d=>_0x4f465d[_0xaeda3d(0x210)]===_0x342689&&_0x4f465d[_0xaeda3d(0x308)]===_0x468f08),_0x2f1116=_0x13254b[_0xaeda3d(0x3be)](_0xd5a951=>_0x473d78==null?void 0x0:_0x473d78['actions']['find'](_0x4181cc=>_0x4181cc[_0xaeda3d(0x363)]===_0xd5a951))[_0xaeda3d(0x591)](_0x4ed652=>!!_0x4ed652);return{'config':_0x40fc1f,'result':{'actions':_0x2f1116,'error':_0x2a5ddd[_0xaeda3d(0x3dd)]}};});}})}));}[_0x1bf13c(0x24d)](){const _0x1303b7=_0x1bf13c;var _0xe6a0;return(_0xe6a0=this[_0x1303b7(0x4eb)]['getConfig'](_0x1f5d84))!=null?_0xe6a0:_0x4dd066;}async[_0x1bf13c(0x578)](_0x50afa4){const _0x4e0da5=_0x1bf13c,_0x51f061=this[_0x4e0da5(0x24d)]()+'/'+_0x50afa4[_0x4e0da5(0x3f3)]+'/object';return(await this['_HTTPService'][_0x4e0da5(0x491)](_0x51f061,{'body':_0x50afa4}))['body'][_0x4e0da5(0x308)]||'';}async[_0x1bf13c(0x258)](_0x1046fb){const _0x12bdca=_0x1bf13c,_0x4ff2a0=this[_0x12bdca(0x24d)]()+_0x12bdca(0x526);return(await this[_0x12bdca(0x30f)][_0x12bdca(0x491)](_0x4ff2a0,{'body':_0x1046fb}))['body'][_0x12bdca(0x3c3)];}async['update'](_0x514dff){const _0x5d29c9=_0x1bf13c,_0x2d7d8c=this[_0x5d29c9(0x24d)]()+'/'+_0x514dff[_0x5d29c9(0x3f3)]+_0x5d29c9(0x23d)+_0x514dff[_0x5d29c9(0x308)];await this['_HTTPService'][_0x5d29c9(0x358)](_0x2d7d8c,{'body':_0x514dff});}async[_0x1bf13c(0x272)](_0x31dae3){const _0x42c13f=_0x1bf13c,_0x583e6c=this[_0x42c13f(0x24d)]()+'/'+_0x31dae3[_0x42c13f(0x3f3)]+'/object/'+_0x31dae3[_0x42c13f(0x308)]+_0x42c13f(0x4c9);return(await this[_0x42c13f(0x30f)]['post'](_0x583e6c,{'body':_0x31dae3}))['body']['actions'];}async[_0x1bf13c(0x46b)](_0xde938){const _0x2cb7f4=_0x1bf13c,_0x53b33a=this[_0x2cb7f4(0x24d)]()+'/-/object/-/batch_allowed';return(await this[_0x2cb7f4(0x30f)][_0x2cb7f4(0x491)](_0x53b33a,{'body':{'requests':_0xde938}}))[_0x2cb7f4(0x432)][_0x2cb7f4(0x1d8)];}async[_0x1bf13c(0x312)](_0x2f78ac){const _0x1b38c8=_0x1bf13c,_0x5108da=this[_0x1b38c8(0x24d)]()+'/'+_0x2f78ac['objectType']+'/role',_0x35bf40=await this[_0x1b38c8(0x30f)][_0x1b38c8(0x491)](_0x5108da,{'body':_0x2f78ac});return{'roles':_0x35bf40[_0x1b38c8(0x432)][_0x1b38c8(0x2dc)],'actions':_0x35bf40[_0x1b38c8(0x432)]['actions']};}async[_0x1bf13c(0x2e0)](_0x2a7cc2){const _0x58d509=_0x1bf13c,_0x4a8a28=this[_0x58d509(0x24d)]()+'/collaborator';await this[_0x58d509(0x30f)][_0x58d509(0x1c3)](_0x4a8a28,{'params':{'collaboratorID':_0x2a7cc2[_0x58d509(0x536)],'objectID':_0x2a7cc2[_0x58d509(0x308)],'unitID':_0x2a7cc2[_0x58d509(0x210)]}});}async[_0x1bf13c(0x34c)](_0x3ce483){const _0x2cbf13=_0x1bf13c,_0x1ef48f=this[_0x2cbf13(0x24d)]()+'/collaborator';await this[_0x2cbf13(0x30f)][_0x2cbf13(0x556)](_0x1ef48f,{'body':_0x3ce483});}async['createCollaborator'](_0x53c3f6){const _0xd39ab=_0x1bf13c,_0x1e7d71=this[_0xd39ab(0x24d)]()+_0xd39ab(0x3ee);await this['_HTTPService'][_0xd39ab(0x491)](_0x1e7d71,{'body':_0x53c3f6});}async[_0x1bf13c(0x381)](_0x1c8bdf){const _0x317c3b=_0x1bf13c,_0x26aa2f=this['_getAPIPrefixPath']()+_0x317c3b(0x3ee);return(await this[_0x317c3b(0x30f)][_0x317c3b(0x369)](_0x26aa2f,{'params':{'objectID':_0x1c8bdf['objectID'],'unitID':_0x1c8bdf[_0x317c3b(0x210)]}}))[_0x317c3b(0x432)][_0x317c3b(0x587)];}async[_0x1bf13c(0x51f)](_0x2e39cf){const _0x4546bc=_0x1bf13c,_0x87a7f7=this[_0x4546bc(0x24d)]()+'/collaborator';await this[_0x4546bc(0x30f)][_0x4546bc(0x358)](_0x87a7f7,{'body':_0x2e39cf});}},_0x490b22['AuthzIoHttpService']=_0x51f168([_0x2691c9(0x0,_0x47ad91['Inject'](_0x125bb1[_0x1bf13c(0x548)])),_0x2691c9(0x1,_0x47ad91['Inject'](_0x47ad91['IConfigService']))],_0x490b22[_0x1bf13c(0x323)]);var _0x41a318=Object[_0x1bf13c(0x1f5)],_0x37527d=Object[_0x1bf13c(0x523)],_0x47a7fe=(_0x3c7279,_0x24a388,_0x2800a9,_0x4578b1)=>{const _0x1eb2b1=_0x1bf13c;for(var _0x1691e3=_0x4578b1>0x1?void 0x0:_0x4578b1?_0x37527d(_0x24a388,_0x2800a9):_0x24a388,_0x24f625=_0x3c7279[_0x1eb2b1(0x557)]-0x1,_0xf50d65;_0x24f625>=0x0;_0x24f625--)(_0xf50d65=_0x3c7279[_0x24f625])&&(_0x1691e3=(_0x4578b1?_0xf50d65(_0x24a388,_0x2800a9,_0x1691e3):_0xf50d65(_0x1691e3))||_0x1691e3);return _0x4578b1&&_0x1691e3&&_0x41a318(_0x24a388,_0x2800a9,_0x1691e3),_0x1691e3;},_0x2d48bb=(_0x52e38d,_0xed9c34)=>(_0x54c4a4,_0x3bc128)=>_0xed9c34(_0x54c4a4,_0x3bc128,_0x52e38d);const _0x2494e2=[_0x1bf13c(0x19f),_0x1bf13c(0x1f7),_0x1bf13c(0x2c7),'image/gif','image/bmp'],_0x297173=0x5*0x400*0x400,_0x3f61b0=_0x1bf13c(0x392),_0x88e893='/universer-api/stream/file/upload',_0x293e10=_0x1bf13c(0x429),_0x4f8419='/universer-api/file/{fileID}/sign-url';_0x490b22[_0x1bf13c(0x274)]=class{constructor(_0x1cfbd7,_0x2a0150){const _0x4b98c4=_0x1bf13c;_0x41c7d7(this,'_waitCount',0x0),_0x41c7d7(this,_0x4b98c4(0x50c),new _0x255eda[(_0x4b98c4(0x329))]()),_0x41c7d7(this,'change$',this[_0x4b98c4(0x50c)]),_0x41c7d7(this,_0x4b98c4(0x408),new Map()),(this[_0x4b98c4(0x235)]=_0x1cfbd7,this['_configService']=_0x2a0150);}[_0x1bf13c(0x1f9)](_0x26bcfe){const _0x1b2e11=_0x1bf13c;this[_0x1b2e11(0x376)]=_0x26bcfe,this['_change$']['next'](_0x26bcfe);}[_0x1bf13c(0x506)](_0x2df2ac,_0x2a2f3d){const _0x9d3f45=_0x1bf13c;if(_0x2a2f3d===_0x1fdac8[_0x9d3f45(0x1ba)][_0x9d3f45(0x2d8)]){const _0x3bca84=new Image();return _0x3bca84['src']=_0x2df2ac,_0x3bca84;}return this[_0x9d3f45(0x408)]['get'](_0x2df2ac);}[_0x1bf13c(0x19d)](_0x6add12,_0x38fb4a,_0x2a3665){const _0x41665b=_0x1bf13c;_0x38fb4a===_0x1fdac8[_0x41665b(0x1ba)][_0x41665b(0x2d8)]||_0x2a3665==null||this[_0x41665b(0x408)][_0x41665b(0x56b)](_0x6add12,_0x2a3665);}async['getImage'](_0x2c31a4){const _0x162078=_0x1bf13c;try{const _0x3a4459=this[_0x162078(0x1d3)](this[_0x162078(0x24c)](),''+_0x2c31a4),_0x42034f=(await this[_0x162078(0x235)][_0x162078(0x369)](_0x3a4459))[_0x162078(0x432)];return _0x42034f['error']&&_0x42034f[_0x162078(0x3dd)]['code']===_0x427b30['OK']?Promise[_0x162078(0x2cd)](_0x42034f[_0x162078(0x51d)]):Promise[_0x162078(0x52c)](_0x42034f[_0x162078(0x3dd)]);}catch(_0x40a20a){return Promise[_0x162078(0x52c)](_0x40a20a);}}async[_0x1bf13c(0x43a)](_0x428cbf){const _0x40b3e4=_0x1bf13c;let _0x458d66='';if(!_0x2494e2[_0x40b3e4(0x299)](_0x428cbf[_0x40b3e4(0x3e3)]))return this[_0x40b3e4(0x242)](),Promise[_0x40b3e4(0x52c)](new Error(_0x1fdac8[_0x40b3e4(0x1d2)][_0x40b3e4(0x3c8)]));if(_0x428cbf[_0x40b3e4(0x3ab)]>_0x297173)return this[_0x40b3e4(0x242)](),Promise[_0x40b3e4(0x52c)](new Error(_0x1fdac8['ImageUploadStatusType'][_0x40b3e4(0x446)]));try{const _0x2c83b8=new FormData();_0x2c83b8[_0x40b3e4(0x387)](_0x40b3e4(0x253),_0x428cbf);const _0x48a7b4=this[_0x40b3e4(0x415)]()+_0x40b3e4(0x2c2)+_0x428cbf[_0x40b3e4(0x3ab)][_0x40b3e4(0x493)](),_0xffde6c=await(await fetch(_0x48a7b4,{'method':_0x40b3e4(0x3f9),'body':_0x2c83b8}))[_0x40b3e4(0x1c6)]();if(typeof _0xffde6c[_0x40b3e4(0x3b2)]!=_0x40b3e4(0x549))return this['_decreaseWaiting'](),Promise[_0x40b3e4(0x52c)](new Error(_0x1fdac8[_0x40b3e4(0x1d2)][_0x40b3e4(0x1c0)]));_0x458d66=_0xffde6c[_0x40b3e4(0x3b2)];}catch{return this[_0x40b3e4(0x242)](),Promise[_0x40b3e4(0x52c)](new Error(_0x1fdac8[_0x40b3e4(0x1d2)][_0x40b3e4(0x1c0)]));}return new Promise((_0x5bfc55,_0x31dbfb)=>{const _0x141b30=_0x40b3e4,_0xad786b=new FileReader();_0xad786b['readAsDataURL'](_0x428cbf),_0xad786b[_0x141b30(0x3e0)]=_0x1d4eca=>{const _0x2d9bf9=_0x141b30;var _0x38b8b0;const _0x4c2c08=(_0x38b8b0=_0x1d4eca[_0x2d9bf9(0x3d6)])==null?void 0x0:_0x38b8b0[_0x2d9bf9(0x581)];if(_0x4c2c08==null){this[_0x2d9bf9(0x242)](),_0x31dbfb(new Error(_0x1fdac8['ImageUploadStatusType'][_0x2d9bf9(0x1c0)]));return;}const _0x2b49e7=_0x47ad91[_0x2d9bf9(0x24a)][_0x2d9bf9(0x254)](0x6);_0x5bfc55({'imageId':_0x2b49e7,'imageSourceType':_0x1fdac8[_0x2d9bf9(0x1ba)]['UUID'],'source':_0x458d66,'base64Cache':_0x4c2c08,'status':_0x1fdac8[_0x2d9bf9(0x1d2)][_0x2d9bf9(0x328)]}),this[_0x2d9bf9(0x242)]();};});}[_0x1bf13c(0x415)](){const _0x319b4a=_0x1bf13c;var _0x217398;return(_0x217398=this[_0x319b4a(0x4eb)][_0x319b4a(0x4dd)](_0x3f61b0))!=null?_0x217398:_0x88e893;}[_0x1bf13c(0x24c)](){const _0xcda7a5=_0x1bf13c;var _0x539134;return(_0x539134=this[_0xcda7a5(0x4eb)][_0xcda7a5(0x4dd)](_0x293e10))!=null?_0x539134:_0x4f8419;}[_0x1bf13c(0x1d3)](_0x3f116c,_0x5ed41f){const _0x541820=_0x1bf13c;return _0x3f116c[_0x541820(0x442)]('{fileID}',_0x5ed41f);}[_0x1bf13c(0x242)](){const _0x3a1129=_0x1bf13c;this[_0x3a1129(0x376)]-=0x1,this[_0x3a1129(0x50c)]['next'](this[_0x3a1129(0x376)]);}},_0x490b22[_0x1bf13c(0x274)]=_0x47a7fe([_0x2d48bb(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x125bb1[_0x1bf13c(0x548)])),_0x2d48bb(0x1,_0x47ad91[_0x1bf13c(0x57d)])],_0x490b22[_0x1bf13c(0x274)]);var _0x4ebe4d=Object[_0x1bf13c(0x1f5)],_0x38005c=Object[_0x1bf13c(0x523)],_0x3028d0=(_0x241ff5,_0x1ae36f,_0x4ced97,_0x100e76)=>{for(var _0x48ba44=_0x100e76>0x1?void 0x0:_0x100e76?_0x38005c(_0x1ae36f,_0x4ced97):_0x1ae36f,_0xaa097=_0x241ff5['length']-0x1,_0xd6b7d1;_0xaa097>=0x0;_0xaa097--)(_0xd6b7d1=_0x241ff5[_0xaa097])&&(_0x48ba44=(_0x100e76?_0xd6b7d1(_0x1ae36f,_0x4ced97,_0x48ba44):_0xd6b7d1(_0x48ba44))||_0x48ba44);return _0x100e76&&_0x48ba44&&_0x4ebe4d(_0x1ae36f,_0x4ced97,_0x48ba44),_0x48ba44;},_0x6d9f7c=(_0x578212,_0x33c730)=>(_0x500fc9,_0x29521a)=>_0x33c730(_0x500fc9,_0x29521a,_0x578212);let _0xf2f0e5=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x353284,_0x5f282e,_0x32454b,_0x8cde86,_0x26dc49){const _0x4fc7b7=_0x1bf13c;super(),this['_injector']=_0x353284,this[_0x4fc7b7(0x2a3)]=_0x5f282e,this[_0x4fc7b7(0x4fa)]=_0x32454b,this[_0x4fc7b7(0x227)]=_0x8cde86,this[_0x4fc7b7(0x2eb)]=_0x26dc49,this['_initUnitPermissionChange'](),this[_0x4fc7b7(0x3f4)]();}[_0x1bf13c(0x3f4)](){const _0x4befde=_0x1bf13c,_0x268188=async _0x2dd74b=>{const _0x54a7f4=_0x2921;(await this[_0x54a7f4(0x227)][_0x54a7f4(0x4a9)](_0x2dd74b))['event$'][_0x54a7f4(0x38c)](_0x335e20['filter'](_0x237cfa=>_0x237cfa['eventID']===_0x4709b4[_0x54a7f4(0x1dd)][_0x54a7f4(0x453)]),_0x335e20[_0x54a7f4(0x4d0)](this[_0x54a7f4(0x517)]))[_0x54a7f4(0x3db)](_0x1df2c9=>{const _0x3ff569=_0x54a7f4,_0x105748=_0x1df2c9,{reason:_0xf0d096}=_0x105748[_0x3ff569(0x3c1)];this[_0x3ff569(0x49c)][_0x3ff569(0x369)](_0x33683b[_0x3ff569(0x203)])[_0x3ff569(0x48b)]({'type':_0x2bd9cc[_0x3ff569(0x26a)][_0x3ff569(0x414)],'content':this[_0x3ff569(0x2eb)]['t']('collaboration.closeRoom')+'('+_0xf0d096+')'}),this['_permissionService'][_0x3ff569(0x2e3)](new _0x4b5d67['WorkbookEditablePermission'](_0x2dd74b)['id'],!0x1),this[_0x3ff569(0x227)][_0x3ff569(0x2ba)](_0x2dd74b);});};_0x255eda[_0x4befde(0x57b)](this[_0x4befde(0x2a3)]['getTypeOfUnitAdded$'](_0x47ad91['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x4befde(0x4cd)](_0x47ad91[_0x4befde(0x2f9)][_0x4befde(0x1ac)]))[_0x4befde(0x38c)](_0x335e20['map'](_0x5b9a25=>_0x5b9a25[_0x4befde(0x4d4)]()),_0x335e20[_0x4befde(0x591)](_0x53811f=>!_0x47ad91[_0x4befde(0x509)](_0x53811f)),_0x335e20[_0x4befde(0x4d0)](this[_0x4befde(0x517)]))[_0x4befde(0x3db)](_0x2627b8=>{_0x268188(_0x2627b8);});}[_0x1bf13c(0x214)](){const _0x5a3acc=_0x1bf13c,_0x434f12=async _0x98e6a0=>{const _0x505da1=_0x2921;(await this[_0x505da1(0x227)][_0x505da1(0x4a9)](_0x98e6a0))[_0x505da1(0x29a)][_0x505da1(0x38c)](_0x335e20['filter'](_0x26211e=>_0x26211e[_0x505da1(0x58d)]===_0x4709b4[_0x505da1(0x1dd)][_0x505da1(0x486)]),_0x335e20['takeUntil'](this[_0x505da1(0x517)]))['subscribe'](_0x2c5967=>{const _0x29d1ef=_0x505da1,_0x23538e=_0x2c5967,{objectId:_0xb9bf57}=_0x23538e['data'];_0xb9bf57===_0x98e6a0&&this['_injector'][_0x29d1ef(0x369)](_0x49516c['SheetPermissionInitController'])['initWorkbookPermissionChange'](_0x98e6a0);});};_0x255eda['merge'](this[_0x5a3acc(0x2a3)]['getTypeOfUnitAdded$'](_0x47ad91[_0x5a3acc(0x2f9)][_0x5a3acc(0x4d5)]),this[_0x5a3acc(0x2a3)][_0x5a3acc(0x4cd)](_0x47ad91[_0x5a3acc(0x2f9)][_0x5a3acc(0x1ac)]))['pipe'](_0x335e20[_0x5a3acc(0x3be)](_0x15e1dc=>_0x15e1dc[_0x5a3acc(0x4d4)]()),_0x335e20[_0x5a3acc(0x591)](_0x3508f9=>!_0x47ad91[_0x5a3acc(0x509)](_0x3508f9)),_0x335e20[_0x5a3acc(0x4d0)](this['dispose$']))[_0x5a3acc(0x3db)](_0x5ddb92=>{_0x434f12(_0x5ddb92);});}};_0xf2f0e5=_0x3028d0([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x191)],_0xf2f0e5),_0x6d9f7c(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['Injector'])),_0x6d9f7c(0x1,_0x47ad91[_0x1bf13c(0x1db)]),_0x6d9f7c(0x2,_0x47ad91[_0x1bf13c(0x389)]),_0x6d9f7c(0x3,_0x47ad91['Inject'](_0x490b22[_0x1bf13c(0x36b)])),_0x6d9f7c(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['LocaleService']))],_0xf2f0e5);var _0x2203a5=Object[_0x1bf13c(0x1f5)],_0x1f4e20=Object['getOwnPropertyDescriptor'],_0x557ea4=(_0x57daa8,_0x26526f,_0x3af561)=>_0x26526f in _0x57daa8?_0x2203a5(_0x57daa8,_0x26526f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3af561}):_0x57daa8[_0x26526f]=_0x3af561,_0x173956=(_0x154f9e,_0x47464d,_0x194c96,_0x2e7bbb)=>{const _0x37444d=_0x1bf13c;for(var _0x1780b2=_0x2e7bbb>0x1?void 0x0:_0x2e7bbb?_0x1f4e20(_0x47464d,_0x194c96):_0x47464d,_0x458606=_0x154f9e[_0x37444d(0x557)]-0x1,_0x15758e;_0x458606>=0x0;_0x458606--)(_0x15758e=_0x154f9e[_0x458606])&&(_0x1780b2=(_0x2e7bbb?_0x15758e(_0x47464d,_0x194c96,_0x1780b2):_0x15758e(_0x1780b2))||_0x1780b2);return _0x2e7bbb&&_0x1780b2&&_0x2203a5(_0x47464d,_0x194c96,_0x1780b2),_0x1780b2;},_0x25129f=(_0x450afd,_0x572238)=>(_0x538757,_0xe3b009)=>_0x572238(_0x538757,_0xe3b009,_0x450afd),_0x251853=(_0xb6ed4b,_0x4bb64c,_0x579335)=>_0x557ea4(_0xb6ed4b,_0x4bb64c+'',_0x579335);const _0x477962=_0x1bf13c(0x2b4);_0x490b22[_0x1bf13c(0x3c5)]=class extends _0x47ad91[_0x1bf13c(0x4d2)]{constructor(_0x13c6d7,_0x4dee71,_0x26d3bc,_0x51e853){const _0x127026=_0x1bf13c;super(),this[_0x127026(0x27d)]=_0x13c6d7,this[_0x127026(0x449)]=_0x4dee71,this[_0x127026(0x4e7)]=_0x26d3bc,this['_injector']=_0x51e853;}[_0x1bf13c(0x1f3)](_0x2f0585){const _0xda566e=_0x1bf13c;this[_0xda566e(0x2e4)](_0x2f0585);}[_0x1bf13c(0x1ce)](){const _0x545ea9=_0x1bf13c;this[_0x545ea9(0x19b)]();}[_0x1bf13c(0x2e4)](_0x4a387d){const _0x493b17=_0x1bf13c;var _0x40be59,_0x29bbc2,_0x21058b,_0x3c6118;_0x4a387d[_0x493b17(0x19c)](_0x47ad91[_0x493b17(0x277)])&&this[_0x493b17(0x449)]['error']('[UniverCollaborationClientPlugin]',_0x493b17(0x3de));let _0x3ea399=[[_0x47ad91[_0x493b17(0x277)],{'useClass':_0x1fe82a}],[_0x490b22['CollaborationSessionService']],[_0x6a7ba3],[_0x125bb1['HTTPService']],[_0x1bc608,{'useClass':_0x50d310}],[_0x3be5f2],[_0x490b22['LocalCacheService']],[_0x125bb1[_0x493b17(0x3f2)]],[_0x2c3692],[_0x85bcf8],[_0x5bc3d5],[_0x2a9bcc],[_0x46f60d],[_0x44be8d],[_0xf2f0e5],[_0x367b2c,{'useClass':(_0x29bbc2=(_0x40be59=this[_0x493b17(0x27d)])==null?void 0x0:_0x40be59[_0x493b17(0x21a)])!=null?_0x29bbc2:_0x490b22[_0x493b17(0x49d)]}],[_0x125bb1[_0x493b17(0x546)],{'useClass':_0x125bb1['XHRHTTPImplementation']}],[_0x47ad91[_0x493b17(0x332)],{'useClass':_0x490b22[_0x493b17(0x320)]}],[_0x47ad91[_0x493b17(0x2b2)],{'useClass':_0x490b22[_0x493b17(0x323)]}],[_0x1fdac8[_0x493b17(0x529)],{'useClass':_0x490b22[_0x493b17(0x274)]}],[_0x490b22['CollaborationController']],[_0x490b22[_0x493b17(0x361)]],[_0x490b22[_0x493b17(0x4c4)]],[_0x29c452],[_0x464c11]];(_0x21058b=this[_0x493b17(0x27d)])!=null&&_0x21058b['enableSingleActiveInstanceLock']&&_0x3ea399['push']([_0x160851,{'useClass':_0x577154}]),_0x3ea399=_0x47ad91[_0x493b17(0x4ae)](_0x3ea399,(_0x3c6118=this[_0x493b17(0x27d)])==null?void 0x0:_0x3c6118[_0x493b17(0x321)]),_0x3ea399[_0x493b17(0x2fb)](_0x50ec1c=>_0x4a387d['add'](_0x50ec1c)),this[_0x493b17(0x25d)]();}[_0x1bf13c(0x19b)](){const _0x480b5b=_0x1bf13c;this[_0x480b5b(0x27f)](this['_renderManagerService'][_0x480b5b(0x229)](_0x47ad91['UniverInstanceType'][_0x480b5b(0x1ac)],[_0x231699])),this[_0x480b5b(0x27f)](this[_0x480b5b(0x4e7)][_0x480b5b(0x229)](_0x47ad91[_0x480b5b(0x2f9)]['UNIVER_SHEET'],[_0x57446b]));}['_initModules'](){const _0x13dd19=_0x1bf13c;var _0x452ca8,_0x2cd111;this[_0x13dd19(0x49c)]['get'](_0x125bb1[_0x13dd19(0x548)])[_0x13dd19(0x4ef)]({'priority':0x14,'interceptor':_0x125bb1[_0x13dd19(0x417)]({'maxParallel':0x6})}),(_0x452ca8=this[_0x13dd19(0x27d)])!=null&&_0x452ca8[_0x13dd19(0x359)]||this['_injector']['get'](_0x490b22[_0x13dd19(0x3fa)])[_0x13dd19(0x433)](),(_0x2cd111=this[_0x13dd19(0x27d)])!=null&&_0x2cd111[_0x13dd19(0x4c2)]&&this['_injector'][_0x13dd19(0x369)](_0x46f60d);}},_0x251853(_0x490b22[_0x1bf13c(0x3c5)],_0x1bf13c(0x195),_0x477962),_0x490b22['UniverCollaborationClientPlugin']=_0x173956([_0x47ad91['DependentOn'](_0x4709b4[_0x1bf13c(0x45a)]),_0x25129f(0x1,_0x47ad91[_0x1bf13c(0x32d)]),_0x25129f(0x2,_0xba1502[_0x1bf13c(0x331)]),_0x25129f(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)]))],_0x490b22[_0x1bf13c(0x3c5)]),_0x490b22[_0x1bf13c(0x1cb)]=_0x1f5d84,_0x490b22[_0x1bf13c(0x1be)]=_0x5ea304,_0x490b22[_0x1bf13c(0x49b)]=_0x1d455a,_0x490b22[_0x1bf13c(0x2b6)]=_0x214062,_0x490b22[_0x1bf13c(0x441)]=_0x12529c,_0x490b22[_0x1bf13c(0x39e)]=_0x44be8d,_0x490b22[_0x1bf13c(0x52a)]=_0x333329,_0x490b22[_0x1bf13c(0x342)]=_0x2fd0be,_0x490b22[_0x1bf13c(0x420)]=_0x367b2c,_0x490b22[_0x1bf13c(0x1dc)]=_0x1bc608,_0x490b22[_0x1bf13c(0x1a5)]=_0x4ac3ef,_0x490b22[_0x1bf13c(0x2f4)]=_0x44e1d9,_0x490b22[_0x1bf13c(0x2a2)]=_0x585883,_0x490b22[_0x1bf13c(0x3e2)]=_0x545bfc,_0x490b22[_0x1bf13c(0x220)]=_0x146ad6,_0x490b22[_0x1bf13c(0x4bf)]=_0x1a88b8,_0x490b22['SheetCollabCursorShape']=_0x5d600b,_0x490b22['WebURLService']=_0x50d310,_0x490b22[_0x1bf13c(0x3fb)]=_0xdf00df,_0x490b22[_0x1bf13c(0x28c)]=_0x778cc5,Object[_0x1bf13c(0x1f5)](_0x490b22,Symbol[_0x1bf13c(0x271)],{'value':_0x1bf13c(0x4f5)});}));function _0x5ac0(){const _0x3f7ead=['_disabled','_updateURLWithCurrentState','_pendingMutations','LIVESHARE_OPERATION','cursorInfo$','exhaustSavingTask','RichTextEditingMutation','[OfflineState]:\x20received\x20rejection.','size','_clearCollaborationTimeoutTimer','@univerjs/network','_toggleOffline','_updateState','0\x200\x2016\x2016','_onRecvEvent','FileId','_transformRemoteChangesetByIMECache','liveShareNewHost','_waitForHeartbeatResponse','_type','colorChannel1','not_collab','_collaborationController','currentTheme$','DisposableCollection','_updateLocalCursor','handleMoveRange','map','INVALID_ARGUMENT','_initStatusComponent','data','_schedule','objects','hovered','UniverCollaborationClientPlugin','#fff','_clearUndo','ERROR_IMAGE_TYPE','_sendingTimer','_sessions','_colorAssignService','UniverSheetsUi','@univerjs/ui','CommandType','createElement','handleInsertRow','currentSkeleton$','every','random','interceptor','OnLifecycle','target','leaveEvent','COMPRESS_MUTATION_APPLY','#FFF','LocaleService','subscribe','backgroundColor','error','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','max','onload','next','SNAPSHOT_SERVER_URL_KEY','type','getCurrentUser','cursorInfo','YUUMI_RATE_OVER_LIMIT','_getUndoStack','clearInterval','CHANGESET_REJ','/universer-api/snapshot','React','_syncEditingCollabCursorService','InsertColCommandId','/collaborator','@univerjs/engine-formula','transformChangesets','_onConnectionFailed','WebSocketService','objectType','_initCloseConn','_transformPreviousActiveRange','toRgbString','className','DeleteRangeMoveLeftCommandId','POST','LocalCacheService','deserializeToCombResponse','clearTimeout','BuiltInUIPart','LEAVE','indexOf','COLLAB_WEB_SOCKET_URL','apply','resend','setAlpha','selection','trim','_docSkeleton','[CollaborationSessionService]:\x20socket\x20error','_imageSourceCache','RegularPolygon','INotificationService','LifecycleStages','_unitStatus','changesets','@univerjs/core','handleInsertCol','getActiveSheet','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onSyncEditingCollabCursor','_heartbeatTimer','Error','_getUploadFileURL','flatMap','ThresholdInterceptorFactory','SEND_CHANGESET_TIMEOUT','skeleton','_removeClearOtherTimer','parse','isTransformMutationFailure','getActiveRange','_transformIMECache','_startDocCollabCursor','ICollaborationSocketService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getCtorByUniverType','getInterceptPoints','_transformService','LOCAL_CACHE_INTERVAL','rxjs','_collabCursorController','_onCursorDelete','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UniverCore','roomMembers','serializeDocRange','/fetchmissing?from=','_removeCollabCursors','isEditing','black','_anchor','body','disableLocalCache','_singleActiveUnitService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','_fetchMissChangesets','combineLatest','newValue','saveImage','[SyncedState]:\x20received\x20rejection.','lodash/debounce','unload','_lastPointer','connection\x20error','c2Prime','CollaborationStatusDisplay','replace','_substituteRedoStack','gold400','_syncEditingCollabCursor','ERROR_EXCEED_SIZE','3964992LJfvYW','_scheduleCollaborationTimeoutTimer','_logService','CompressMutationService','_handleJoinEvent','push','_scheduleReconnection','editing\x20status\x20changed\x20to','onTransformIME','_uiPartsService','error$','appendMutation','SHOULD_CLOSE_CONN','_scheduleClearOtherTimer','permissionRejEvent','@univerjs/docs','CHANGESET_ACK','delay','COMMENT_UPDATE','UniverCollaborationPlugin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-online','forwardRef','distinctUntilChanged','ONLINE','_getScale','_initStatusListener','getWorkbookSelections','joinRsp','_onRemoteRejected','_onUserLeave','code','152EBGzgE','MUTATION','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','b64DecodeUnicode','batchAllowed','_updateStatus','NEW_CHANGESETS','WorkbookEditablePermission','confirm','_setupSubUnitSync','_getCurrentRevision','NOT_FOUND','substring','VIEW_MAIN','_tryEnsureSocket','SYNCED','_saveCache','DeleteRangeMoveUpCommandId','save','_docTransformSelectionsService','onTransformSelections','_sheetSkeletonManagerService','red300','roomInfos','UniverCollaboration','_memberService','_socketService','UniverRpc','Inject','object','amd','UPDATE_PERMISSION_OBJ','UniverDrawing','394UiLJLv','loadSheet','_textBubble','show','disposeUnit','_scheduleTimestamp','off-line-single','IDLE','measureText','post','_anchorDot','toString','_beforeCloseService','_online','row','current','_updateCollabCursors','_send','init','COLLAB_WEB_SOCKET_URL_KEY','_injector','CollaborationSocketService','_assignedColors','1066597mDwOry','slice','sheetId','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_SUBSCRIPTION_NOT_FOUND','encodeURIComponent','_handleEvent','column','function','_getSheetObject','requireSession','triggerDblclick','_awaitingChangeset','textRanges','actions','mergeOverrideWithDependencies','HEARTBEAT_INTERVAL','text','transformRemoteChangeset','fillStyle','ColorKit','_toggleOnline','_retryCount','COLORS','_getMergeRange','useRef','_onRemoteACK','Unknown\x20user','some','PSEUDO_FETCH_MISSING_RESULT','LICENSE_MAX_UNITS_EXCEEDED','m2Prime','SessionStatus','makeDirty','LIVESHARE_FETCH_OPERATIONS','enableAuthServer','getUnhiddenWorksheets','DesktopCollaborationStatusDisplayController','APPLY_REJECT','onPointerMove$','mutations','concatMap','/allowed','none','onCommentUpdate','getCellPositionByOffset','getTypeOfUnitAdded$','getTime','_scene','takeUntil','getCurrent','Plugin','saveSnapshot','getUnitId','UNIVER_SHEET','PERMISSION_REJ','/unit/','xlink:href','min','_startSheetCollabCursor','dispose','UniverIcon','getConfig','enableLocalCache','_createInitialState','conflict.content','catch','TextSelectionManagerService','_getSnapshotAPIPrefix','NO_OTHER_CLIENTS_EDITING','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','@univerjs/sheets','_renderManagerService','session.will-retry','getAncestorScale','ILocalStorageService','_configService','selections','_roomMembers$','getSheetBlock','registerHTTPInterceptor','rev','isTransformChangesetsSuccess','subUnitId','InsertSheetMutation','debounce','Module','_timeoutTimer','_setupBeforeClosingHandler','isTransformMutationsWithChangesetFailure','font','_permissionService','_id','_transitionLocked','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','JOIN','NOT_COLLAB','responseType','9736020GGMTXm','_scheduleHeartbeat','doc.mutation.rich-text-editing','_sendHeartbeat','getImageSourceCache','svg','_commandService','isInternalEditorID','addObject','@univerjs-pro/collaboration','_change$','_saveTaskMap','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','engine','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','getCurrentUnitForType','RECV','OTHER_CLIENTS_EDITING','_clearTimeoutTimer','ALREADY_EXISTS','ITransformService','dispose$','executeCommand','getResourcesRequest','toggleOnline','off-line-single_clip0_910_343','assignAColorForMemberID','url','lineTo','putCollaborators','_docTransformIMECacheService','m1Prime','updatePermissionObjEvent','getOwnPropertyDescriptor','setInterval','onlyLocal','/-/object/list','/resources','JOINING','IImageIoService','HEARTBEAT_INTERVAL_KEY','operators','reject','PENDING','_cursor','defs','/new_changes','getUnitType','entries','_redoStacks','color','history','collaboratorID','...','attrs','addObjects','_onRefRangeChange','memberID','EmptyMutation','csRejEvent','HEADER_MENU','height','_lockTransition','isArray','propertyIsEnumerable','UniverSheets','pauseCollaboration','encode','IHTTPImplementation','evenodd','HTTPService','string','open$','TEXT_RANGE_LAYER_INDEX','ThemeService','_replayCachedMutations','_context','compose','moveTo','resize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_PERMISSION_DENIED','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','liveShareOperation','patch','length','[OfflineState]:\x20received\x20changeset.','onlineStatus','_ws','RevisionService','getMember','[PendingState]:\x20received\x20acknowledgement.','awaiting','userID','_getRedoStack','createIdentifier','_handler','fetchMissingChangesets','path','add','[PendingState]:\x20received\x20rejection.','debug','updateMember','_docStateChangeManagerService','onlineStatusIcon','set','getSheetObject','/block/','send','sessionStatus','getSheetBySheetId','TOO_MANY_REQUESTS','prototype','_labelPosition','_collaborationTimeoutTimer','requestParams','collaMsg','/-/object/-/batch_allowed','create','find','/universer-api/snapshot/','merge','clsx','IConfigService','unknown','_executeRemoteChangeset','SheetSkeletonManagerService','result','_createInitialStateImpl','LocalUndoRedoService','onSendChangeset','jiqing500','_session','collaborators','getColor','offline','take','SUBMIT_CHANGESET','5585OHqtxC','eventID','univerjs-icon\x20univerjs-icon-','close$','getRoom','filter','Starting','ws://127.0.0.1:8000/universer-api/comb/connect','isPermissionRej','_cursors','pluginName','AWAITING_WITH_PENDING','setItem','activeSheet$','getCurrentRevForDocument','_members','_registerRenderDependencies','has','addImageSourceCache','_sessionStatus$','image/png','_cursorShapes','asObservable','UNDEFINED','UNKNOWN_CODE','_sendHeartbeatTimer','LOCAL_CACHE_INTERVAL_KEY','Disposable','_handleLeaveEvent','_clearRedo','translate(.97)','PERMISSION_DENIED','toDisposable','UNIVER_DOC','_state$','_sheetTransformSelectionsService','message$','session','SNAPSHOT_INVALID_SNAPSHOT','handleDeleteRangeMoveUp','displayName','div','closePath','[DataLoaderController]','revision','_disableEditing','collaboration.single-unit.warning','ImageSourceType','_roomMembers','FAIL','_initResize','COLLAB_SUBMIT_CHANGESET_URL_KEY','popstate','ERROR_IMAGE','univer-online-status-icon','fromCollab','delete','sequenceExecute','fetching\x20missing\x20changesets\x20from\x20','json','_submitChangeset','commentUpdate$','onPointerLeave$','extend','AUTHZ_URL_KEY','SheetsSelectionsService','_messageService','onRendered','/rev/','collabStatus.offline','univer-pro.collaboration-client.single-active-unit-service','ImageUploadStatusType','_replaceFileID','collabStatus.syncing','useDependency','BehaviorSubject','_color','objectActions','_transformSelections','setCurrentUser','IUniverInstanceService','IURLService','CollaborationEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','deserializeRangeWithSheet','online','M0\x200H16V16H0z','transformStack\x20failed!','_localStorageService','getTypeOfUnitDisposed$','452403GQqxAD','[CollaborationSessionService]','localeService','_initCommandExecutedListener','HELLO','findNodePositionByCharIndex','purple300','EffectRefRangId','ranges','RxDisposable','url(#off-line-single_clip0_910_343)','_getAPIPrefix','unit','loadOfflineData','onStarting','baseRev','defineProperty','exports','image/jpeg','RemoveColCommandId','setWaitCount','UserManagerService','InsertRowCommandId','saveChangeset','setActiveRange','RETRY_CONNECTING_MAX_COUNT','getMemberID','startColumn','_incrementRevisionNumber','getDocRanges','IMessageService','_joinRoom','_onMessage','unitId','Warning','collabStatus.notCollab','univer-offline','drawWith','_drawTextRange','commentUpdateEvent','url(#on-line-single_clip0_910_349)','focused$','90853RyIGZY','unitID','defIds','_collabSessionService','_exhaustRemoteChangesetQueue','_initUnitPermissionChange','_userManagerService','from','_clearLocalCache','mapTo','round','socketService','currentColor','/universer-api/authz','_rescheduleHeartbeatEvent','transform','removeParam','SNAPSHOT_URL_KEY','_loadDoc','_themeService','transformIMECache','COLLAB_SUBMIT_CHANGESET_URL','UNIVER_SLIDE','ICommandService','_collaborationSessionService','1em','registerRenderModule','c1Prime','handleInsertRangeMoveDown','mapDocumentTypeToUniverType','_onJoinRoomEvent','socket\x20close','USERS_ENTER','_transformUndoredo','IContextService','loadDoc','_cachedData','switchMap','_httpService','roomMembers$','Optional','_retryConnectingTimer','YUUMI_URL_COL_OUT_OF_RANGE','connectInjector','onMouseMove','CONNECTOR_DATA_TOO_LARGE','/object/','createSocket','icon','syncEditingCollabCursor','setTimeout','_decreaseWaiting','_initMergeInterceptor','url(#$1','UniverDesign','routeKey','getUndoRedoMutationParamsCache','?url=','onRemoteChangeset','Tools','name','_getSignURL','_getAPIPrefixPath','_remoteChangesetQueue','IMEInputManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getParam','_backgroundColor','file','generateRandomId','snapshot','status','session.connection-failed','list','\x0aCurrent:\x20','cmd','concat','SetTextSelectionsOperation','_initModules','collab-text-range-','getCollabEntity$','LICENSE_DISTRO_REJECTED','_eventUnsubscribe','fillText','setShapeProps','_snapshotService','split','_clearScheduledTask','_state','on-line-single','collaboration-client.offline-data-not-saved','MessageType','INTERNAL_ERROR','_docSyncEditingCollabCursorService','status$','getCollabEntity','labelPosition','handleInsertRangeMoveRight','toStringTag','allowed','onStateChange','ImageIoService','_unitOnClients','CHANGESET_REVISION_CONFILICT','IUndoRedoService','LIVESHARE_REQUEST_HOST','FETCH_MISSING','getSheetId','_isPermissionRej','_onCombEvent','_config','toggleOffline','disposeWithMe','_startCollaboration','_shapes','_colorIndex','sessionStatus$','width','use','storage','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getSkeleton','RefRangeService','unshift','transformUndoRedo','serializeCombRequest','onCommandExecuted','_transformStack','_removeRoom','stringify','hide','CollaborationController','getOffsetConfig','textEncoder','_localCacheService','getFocusedUnit','onMissedChangesetFetched','transformMutation','includes','event$','updateOfflineData','awaiting_with_pending','_getSaveTimeout','_ensureSubject','_name','_updateLocalCache','_acknowledgedAwaitingChangeset','SEND_CHANGESET_TIMEOUT_KEY','_univerInstanceService','_unlockTransition','sheetID','HEARTBEAT_TIMEOUT','collabStatus.conflict','replaceState','UniverEngineRender','_compressMutationService','editingUnit','_substituteUndoStack','complete','headers','pending','INGEST','COMPLETION_FINISHED','IAuthzIoService','YUUMI_UNABLE_LOAD_URL','UNIVER_COLLABORATION_CLIENT_PLUGIN','clear','CollaborationStatus','_createHandler','FromArray','_applyRemoteChangeset','closeSession','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_createSocket','_status$','originalMeta','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleHover','onMissingChangesets','?size=','_refRangeService','_notificationService','endColumn','SnapshotService','image/jpg','[CollaborationEntity]','Ready','SetWorksheetActivateCommand','top','debounceTime','resolve','searchParams','on-line-single_clip0_910_349','collab-text-anchor-','univer-pro.collaboration-client-socket-service','state$','UNRECOGNIZED','call','_refreshCollabCursors','method','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','BASE64','@univerjs/design','NodePositionConvertToRectRange','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','roles','_handleHeartbeatEvent','_onRemoteChangeset','_hovered','deleteCollaborator','handleIRemoveRow','_hideTimer','updatePermissionPoint','_registerDependencies','_onUserJoin','LIVESHARE_NEW_HOST','[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.','\x0aAfter:\x20','isTransformMutationsWithChangesetSuccess','rxjs/operators','_localeService','_undoRedoService','_collabCursorState$','_getSendChangesetTimeout','serializeRangeWithSheet','\x20-\x20','SNAPSHOT_HAS_BEEN_REMOVED','contains','subscribeEvent','LOGIN_URL_KEY','IBeforeCloseService','_onFetchMissResult','synced','_drawRectRange','UniverInstanceType','fillRule','forEach','_hover','unit-cache-','@univerjs/engine-render','Workbook','newCsEvent','location','onTransformChange$','runRefRangeMutations','all','fill','USERS_LEAVE','InsertRangeMoveRightCommandId','objectID','Steady','_event$','fetchThroughInterceptors','MSG_FOR_ERROR','HEARTBEAT','NodePositionConvertToCursor','_HTTPService','_getLoginPath','_document','listRoles','transformSelections','UniverNetwork','@univerjs/drawing','clipPath','conflict','close','_snapshotServerService','MergeInterceptorFactory','subunit','infoRsp','_onCursorUpdate','registerRefRange','[OfflineState]:\x20received\x20acknowledgement.','SnapshotServerOverHTTPService','override','LICENSE_IMPORT_SIZE_EXCEEDED','AuthzIoHttpService','Vector2','UniverCollaborationClient','_showConflictNotification','_getAnchorBounding','SUCCUSS','Subject','parseProtocolChangeset','_socketReady','@univerjs/rpc','ILogService','&to=','session.collaboration-timeout','collabCursorState$','IRenderManagerService','ISnapshotServerService','resourceIDs','_scheduleSaving','reduce','_init','_entities','_onLocalMutation','_range','uni.network.url-service','permission.title','onRemoteRej','unsubscribe','_onConnectionOpen','removeMember','getCoordByCell','_socket$','HEARTBEAT_TIMEOUT_KEY','AWAITING','getCurrentSelections','ACTIVE_UNIT_EVENT_CHANNEL','SetSelectionsOperation','bottom','SheetCollaborationEntity','addEventListener','restore','Rectangle','updateCollaborator','HTTPRequest','_checkMissing','then','_collaborationPaused','children','getCollabCursors$','VIEWPORT_KEY','Univer','_render','UNIVER_UNKNOWN','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','put','enableOfflineEditing','arc','fetch_missing','isActive','onlineStatusTitle','FETCH_MISS','fromEvent','OffLineSingle','DataLoaderController','onPointerEnter$','action','UniverEngineFormula','_entityInit$','RETRY_CONNECTING_INTERVAL','InsertRangeMoveDownCommandId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','get','_commentUpdate$','CollaborationSessionService','6267MMgFjb','assign','getValue','onRemoteAck','getUnitStatus$','LIVESHARE_TERMINATE','_clearHeartbeatTimer','_docSkeletonManagerService','href','_selfUnitIDs','_waitCount','APPLY_REVISION_CONFILICT','_clearOtherTimers','shareReplay','[CollaborationState]:\x20apply\x20error!','params','createInstance','_onConflict','registerBeforeClose','_queuedRemoteChangesets','Injector','listCollaborators','MoveRangeCommandId','urlChange$','_revisionService','CollaborationSession','_urlService','append','transformMutationsWithChangeset','IPermissionService','tag','hasOwnProperty','pipe','_updateSubUnitFromURLParams','UPDATE_CURSOR','getRelativeToViewportCoord','socket\x20open.','2316pVVewl','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','save\x20fail\x20reason\x20is\x20','UNKNOWN_CMD','_socketMessageSubscription','deepClone','UNIVER_PROJECT','CONFLICT','Rect','_cursorInfo$','_transformUndoRedoStack','OFFLINE','idSuffix','CommentService','workbook','[SyncedState]:\x20received\x20acknowledgement.','OnLineSingle','_unitID'];_0x5ac0=function(){return _0x3f7ead;};return _0x5ac0();}
|