@univerjs-pro/collaboration-client 0.2.6 → 0.2.7

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/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(_0x3c1c4b,_0x2930ab){const _0x4eaeb1=_0x2d55,_0x4ed189=_0x3c1c4b();while(!![]){try{const _0x4ef36b=parseInt(_0x4eaeb1(0x2a6))/0x1*(-parseInt(_0x4eaeb1(0x133))/0x2)+parseInt(_0x4eaeb1(0x356))/0x3*(parseInt(_0x4eaeb1(0x333))/0x4)+parseInt(_0x4eaeb1(0x28a))/0x5+-parseInt(_0x4eaeb1(0x1b3))/0x6*(-parseInt(_0x4eaeb1(0x3c7))/0x7)+parseInt(_0x4eaeb1(0x2d8))/0x8*(-parseInt(_0x4eaeb1(0x2b0))/0x9)+parseInt(_0x4eaeb1(0x28b))/0xa*(parseInt(_0x4eaeb1(0x213))/0xb)+-parseInt(_0x4eaeb1(0x361))/0xc*(parseInt(_0x4eaeb1(0x3e9))/0xd);if(_0x4ef36b===_0x2930ab)break;else _0x4ed189['push'](_0x4ed189['shift']());}catch(_0x3f9ea5){_0x4ed189['push'](_0x4ed189['shift']());}}}(_0x30bb,0x88bb8),function(_0x3d41ab,_0x3d5678){const _0x13c57c=_0x2d55;typeof exports=='object'&&typeof module<'u'?_0x3d5678(exports,require('@univerjs/core'),require(_0x13c57c(0x43c)),require(_0x13c57c(0x24b)),require(_0x13c57c(0x44a)),require(_0x13c57c(0x1fd)),require(_0x13c57c(0x22e)),require(_0x13c57c(0x1a4)),require(_0x13c57c(0x16f)),require('@univerjs/network'),require(_0x13c57c(0x3d7)),require('@univerjs/engine-render'),require('@univerjs/engine-formula'),require(_0x13c57c(0x276)),require(_0x13c57c(0x1fb)),require(_0x13c57c(0x3ea)),require(_0x13c57c(0x3db)),require(_0x13c57c(0x350))):typeof define=='function'&&define[_0x13c57c(0x2c4)]?define([_0x13c57c(0x2c9),_0x13c57c(0x2a5),_0x13c57c(0x43c),_0x13c57c(0x24b),'@univerjs/ui','@univerjs-pro/collaboration',_0x13c57c(0x22e),_0x13c57c(0x1a4),_0x13c57c(0x16f),_0x13c57c(0x3fb),_0x13c57c(0x3d7),_0x13c57c(0xef),_0x13c57c(0x129),_0x13c57c(0x276),_0x13c57c(0x1fb),_0x13c57c(0x3ea),_0x13c57c(0x3db),_0x13c57c(0x350)],_0x3d5678):(_0x3d41ab=typeof globalThis<'u'?globalThis:_0x3d41ab||self,_0x3d5678(_0x3d41ab[_0x13c57c(0x1b8)]={},_0x3d41ab[_0x13c57c(0x1e7)],_0x3d41ab[_0x13c57c(0xb3)],_0x3d41ab[_0x13c57c(0x121)],_0x3d41ab['UniverUi'],_0x3d41ab[_0x13c57c(0x3e4)],_0x3d41ab[_0x13c57c(0x22e)],_0x3d41ab['rxjs'][_0x13c57c(0x254)],_0x3d41ab['UniverDocs'],_0x3d41ab[_0x13c57c(0x28f)],_0x3d41ab['UniverDrawing'],_0x3d41ab[_0x13c57c(0x406)],_0x3d41ab[_0x13c57c(0x12e)],_0x3d41ab[_0x13c57c(0x2f8)][_0x13c57c(0x1e3)],_0x3d41ab[_0x13c57c(0x200)],_0x3d41ab['React'],_0x3d41ab[_0x13c57c(0x3db)],_0x3d41ab[_0x13c57c(0x41d)]));}(this,function(_0x48d167,_0x132eb9,_0x21d024,_0x59ab28,_0x202279,_0x1524d,_0x3639ee,_0x5d8ab5,_0x4b287a,_0x5e809e,_0x46aaec,_0x24af47,_0x57f53f,_0x45c518,_0x12bc0e,_0x58a26a,_0x3a1d76,_0x4ab2ac){'use strict';const _0x474fca=_0x2d55;var _0xa7d035=Object[_0x474fca(0x109)],_0x13bd14=(_0x55037b,_0xfbe0e4,_0x4ec122)=>_0xfbe0e4 in _0x55037b?_0xa7d035(_0x55037b,_0xfbe0e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ec122}):_0x55037b[_0xfbe0e4]=_0x4ec122,_0x3b7d06=(_0x436790,_0x5cfce5,_0x2b3e60)=>_0x13bd14(_0x436790,typeof _0x5cfce5!=_0x474fca(0x250)?_0x5cfce5+'':_0x5cfce5,_0x2b3e60);const _0x474f5b=_0x474fca(0xc8),_0x152042=_0x474fca(0x1eb),_0x5e8172=_0x474fca(0x16c),_0x5036b1=_0x474fca(0x2b6),_0x5058a4=_0x474fca(0xab),_0x485035=_0x474fca(0x20e),_0x5a327e='HEARTBEAT_INTERVAL',_0x240518=_0x474fca(0x2e5),_0x32b076=_0x474fca(0x2ab),_0x3d7c60='RETRY_CONNECTING_MAX_COUNT',_0x2c2734='LOCAL_CACHE_INTERVAL',_0x22e134=_0x474fca(0x106),_0x6ef45d=_0x474fca(0x9b),_0x596ca2=_0x474fca(0x1f6),_0x2bbb39='/universer-api/oidc/authpage';var _0x3b4d51=(_0x2a12a3=>(_0x2a12a3[_0x2a12a3[_0x474fca(0x16d)]=0x0]=_0x474fca(0x16d),_0x2a12a3[_0x2a12a3['OK']=0x1]='OK',_0x2a12a3[_0x2a12a3['INTERNAL_ERROR']=0x2]=_0x474fca(0x23c),_0x2a12a3[_0x2a12a3[_0x474fca(0xa7)]=0x3]='PERMISSION_DENIED',_0x2a12a3[_0x2a12a3[_0x474fca(0x1b9)]=0x4]=_0x474fca(0x1b9),_0x2a12a3[_0x2a12a3['UNAUTHENTICATED']=0x5]=_0x474fca(0x22c),_0x2a12a3[_0x2a12a3['ALREADY_EXISTS']=0x6]=_0x474fca(0x118),_0x2a12a3[_0x2a12a3[_0x474fca(0x416)]=0x7]=_0x474fca(0x416),_0x2a12a3[_0x2a12a3[_0x474fca(0x3f8)]=0x8]=_0x474fca(0x3f8),_0x2a12a3[_0x2a12a3[_0x474fca(0x345)]=0x9]=_0x474fca(0x345),_0x2a12a3[_0x2a12a3[_0x474fca(0x33e)]=0x1389]=_0x474fca(0x33e),_0x2a12a3[_0x2a12a3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x474fca(0x157),_0x2a12a3[_0x2a12a3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x474fca(0x429),_0x2a12a3[_0x2a12a3[_0x474fca(0x456)]=0x1b59]='APPLY_REJECT',_0x2a12a3[_0x2a12a3[_0x474fca(0x449)]=0x1b5a]=_0x474fca(0x449),_0x2a12a3[_0x2a12a3[_0x474fca(0x337)]=0x1b5b]=_0x474fca(0x337),_0x2a12a3[_0x2a12a3[_0x474fca(0x255)]=0x1b5c]=_0x474fca(0x255),_0x2a12a3[_0x2a12a3[_0x474fca(0x17b)]=0x1f41]=_0x474fca(0x17b),_0x2a12a3[_0x2a12a3[_0x474fca(0x1a9)]=0x2329]=_0x474fca(0x1a9),_0x2a12a3[_0x2a12a3['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2a12a3[_0x2a12a3[_0x474fca(0x2fe)]=0x232b]=_0x474fca(0x2fe),_0x2a12a3[_0x2a12a3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2a12a3[_0x2a12a3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x474fca(0x3f1),_0x2a12a3[_0x2a12a3[_0x474fca(0x97)]=0x2711]=_0x474fca(0x97),_0x2a12a3[_0x2a12a3[_0x474fca(0x420)]=0x2712]=_0x474fca(0x420),_0x2a12a3[_0x2a12a3['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a12a3[_0x2a12a3[_0x474fca(0x117)]=0x2714]=_0x474fca(0x117),_0x2a12a3[_0x2a12a3[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x2a12a3))(_0x3b4d51||{}),_0x2f5f8c=(_0x415840=>(_0x415840[_0x415840[_0x474fca(0x170)]=0x0]=_0x474fca(0x170),_0x415840[_0x415840['UNIVER_DOC']=0x1]=_0x474fca(0x14d),_0x415840[_0x415840[_0x474fca(0x1a0)]=0x2]=_0x474fca(0x1a0),_0x415840[_0x415840[_0x474fca(0x2a8)]=0x3]=_0x474fca(0x2a8),_0x415840[_0x415840[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x415840))(_0x2f5f8c||{}),_0x45623e=(_0x16d353=>(_0x16d353[_0x16d353[_0x474fca(0xfd)]=0x0]=_0x474fca(0xfd),_0x16d353[_0x16d353[_0x474fca(0x47d)]=0x1]=_0x474fca(0x47d),_0x16d353[_0x16d353[_0x474fca(0x120)]=0x2]=_0x474fca(0x120),_0x16d353[_0x16d353[_0x474fca(0x462)]=0x3]=_0x474fca(0x462),_0x16d353[_0x16d353[_0x474fca(0x2c5)]=0x4]='INGEST',_0x16d353[_0x16d353['HEARTBEAT']=0x5]=_0x474fca(0x476),_0x16d353[_0x16d353[_0x474fca(0x236)]=0x6]='RECV',_0x16d353[_0x16d353[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x16d353))(_0x45623e||{}),_0x1add38=(_0x2b57ca=>(_0x2b57ca[_0x2b57ca['UNKNOWN_CODE']=0x0]=_0x474fca(0x1c3),_0x2b57ca[_0x2b57ca['OK']=0x1]='OK',_0x2b57ca[_0x2b57ca['FAIL']=0x2]=_0x474fca(0x3a5),_0x2b57ca[_0x2b57ca[_0x474fca(0x12d)]=-0x1]='UNRECOGNIZED',_0x2b57ca))(_0x1add38||{}),_0x1ca454=Object['defineProperty'],_0x19f0a2=Object[_0x474fca(0xcc)],_0x286351=(_0x312161,_0x170d42,_0x327c7b,_0x8a376c)=>{for(var _0x22af96=_0x8a376c>0x1?void 0x0:_0x8a376c?_0x19f0a2(_0x170d42,_0x327c7b):_0x170d42,_0xafc5=_0x312161['length']-0x1,_0x1331d4;_0xafc5>=0x0;_0xafc5--)(_0x1331d4=_0x312161[_0xafc5])&&(_0x22af96=(_0x8a376c?_0x1331d4(_0x170d42,_0x327c7b,_0x22af96):_0x1331d4(_0x22af96))||_0x22af96);return _0x8a376c&&_0x22af96&&_0x1ca454(_0x170d42,_0x327c7b,_0x22af96),_0x22af96;},_0x13c063=(_0x95bdd4,_0x7dd20f)=>(_0x404a5e,_0x470960)=>_0x7dd20f(_0x404a5e,_0x470960,_0x95bdd4);let _0x191a69=class extends _0x132eb9['Disposable']{constructor(_0x34da32,_0x5aa470){const _0x2587a8=_0x474fca;super(),_0x3b7d06(this,_0x2587a8(0x112),new Map()),(this[_0x2587a8(0x1bd)]=_0x34da32,this['_userManagerService']=_0x5aa470,this[_0x2587a8(0x26e)](_0x132eb9[_0x2587a8(0x2c0)](_0x3639ee['merge'](this['_univerInstanceService'][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x1a0)])[_0x2587a8(0x195)](_0x5d8ab5['map'](_0x256623=>_0x256623[_0x2587a8(0x225)]())),this[_0x2587a8(0x1bd)][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x14d)])[_0x2587a8(0x195)](_0x5d8ab5[_0x2587a8(0x18f)](_0x1ed7d9=>_0x1ed7d9[_0x2587a8(0x225)]())),this[_0x2587a8(0x1bd)][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x2a8)])[_0x2587a8(0x195)](_0x5d8ab5[_0x2587a8(0x18f)](_0x560d57=>_0x560d57[_0x2587a8(0x225)]())))[_0x2587a8(0x2e1)](_0x39e90e=>this[_0x2587a8(0x204)](_0x39e90e)))));}[_0x474fca(0x1de)](_0x171af8){const _0x6929fb=_0x474fca;this['_userManagerService'][_0x6929fb(0x1de)](_0x171af8);}['getCurrentUser'](){const _0x2209b5=_0x474fca;return this['_userManagerService'][_0x2209b5(0x42d)]();}['updateMember'](_0x231809,_0x3c4d32){const _0x1bcbb4=_0x474fca;let _0x428a5f=this['_roomMembers'][_0x1bcbb4(0x261)](_0x231809);_0x428a5f||(_0x428a5f=new _0x46af49(),this[_0x1bcbb4(0x112)][_0x1bcbb4(0xbe)](_0x231809,_0x428a5f)),_0x428a5f[_0x1bcbb4(0x30e)](_0x3c4d32);}['removeMember'](_0x4b9538,_0x2c712e){const _0x4152ca=_0x474fca,_0x17c72d=this['_roomMembers'][_0x4152ca(0x261)](_0x4b9538);_0x17c72d&&_0x17c72d[_0x4152ca(0x11c)](_0x2c712e);}[_0x474fca(0x45a)](_0x2a8b3a){return this['_roomMembers']['get'](_0x2a8b3a);}[_0x474fca(0x3ca)](_0x260605,_0x1dc95d){const _0x24f987=_0x474fca,_0x43d638=this[_0x24f987(0x112)][_0x24f987(0x261)](_0x260605);if(_0x43d638)return _0x43d638[_0x24f987(0x3ca)](_0x1dc95d);}['_removeRoom'](_0x3ab376){const _0x4ae50d=_0x474fca,_0x9fa9e2=this[_0x4ae50d(0x112)][_0x4ae50d(0x261)](_0x3ab376);_0x9fa9e2&&(_0x9fa9e2[_0x4ae50d(0x19a)](),this['_roomMembers'][_0x4ae50d(0x224)](_0x3ab376));}['dispose'](){const _0x15ec62=_0x474fca;this[_0x15ec62(0x112)][_0x15ec62(0x173)](_0x42d9ac=>_0x42d9ac[_0x15ec62(0x19a)]()),this[_0x15ec62(0x112)]['clear']();}};_0x191a69=_0x286351([_0x13c063(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x13c063(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x437)]))],_0x191a69);class _0x46af49 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x1e8d92=_0x474fca;super(...arguments),_0x3b7d06(this,_0x1e8d92(0x42f),new Map());}[_0x474fca(0x19a)](){const _0x15668a=_0x474fca;this[_0x15668a(0x42f)]['clear']();}[_0x474fca(0x30e)](_0x475b25){const _0x4ae7d5=_0x474fca;this[_0x4ae7d5(0x42f)][_0x4ae7d5(0xbe)](_0x475b25[_0x4ae7d5(0x26a)],_0x475b25);}[_0x474fca(0x11c)](_0x30388b){this['_members']['delete'](_0x30388b);}[_0x474fca(0x3ca)](_0x55b972){const _0xd6f261=_0x474fca;return this[_0xd6f261(0x42f)][_0xd6f261(0x261)](_0x55b972);}}function _0x156469(_0x1f9501){const _0x4615a4=_0x474fca;var _0x4ca906,_0x50b6cf,_0x564137,_0xff0a94;const _0x1e59c7=_0x1f9501['data'],_0x33e1ee=JSON['parse'](_0x1e59c7);switch(_0x33e1ee[_0x4615a4(0x45f)]){case _0x45623e[_0x4615a4(0x476)]:case _0x45623e['HELLO']:{const _0x1c811f=_0x33e1ee[_0x4615a4(0x1a3)];return{..._0x33e1ee,'data':_0x1c811f,'cmd':_0x33e1ee[_0x4615a4(0x45f)]};}case _0x45623e[_0x4615a4(0x120)]:{const _0x1cddef=_0x33e1ee[_0x4615a4(0x29d)];return{..._0x33e1ee,'data':_0x1cddef,'cmd':_0x33e1ee[_0x4615a4(0x45f)]};}case _0x45623e[_0x4615a4(0x236)]:{const _0x2cf79a=_0x33e1ee[_0x4615a4(0xc9)];switch(_0x2cf79a[_0x4615a4(0x31f)]){case _0x1524d['CollaborationEvent'][_0x4615a4(0x22b)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x4ca906=_0x2cf79a[_0x4615a4(0x209)])==null?void 0x0:_0x4ca906['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['CHANGESET_ACK']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x50b6cf=_0x2cf79a[_0x4615a4(0x33a)])==null?void 0x0:_0x50b6cf['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d['CollaborationEvent'][_0x4615a4(0x288)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x564137=_0x2cf79a[_0x4615a4(0x3d1)])==null?void 0x0:_0x564137['cs']},'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent'][_0x4615a4(0x455)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0xff0a94=_0x2cf79a[_0x4615a4(0x413)])==null?void 0x0:_0xff0a94['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x2f5)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2d4)]},'cmd':_0x33e1ee['cmd']};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x2e4)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x330)]},'cmd':_0x33e1ee['cmd']};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x458)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2dd)]},'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['liveShareNewHost']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d['CollaborationEvent'][_0x4615a4(0x160)]:case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x407)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['liveShareOperation']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['LIVESHARE_TERMINATE']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2fd)]},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['MSG_FOR_ERROR']:return{..._0x33e1ee,'data':_0x2cf79a,'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent'][_0x4615a4(0x305)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['commentUpdateEvent']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x23a)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['updatePermissionObjEvent']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x46d)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['shouldCloseConn']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};default:return _0x33e1ee;}}default:return _0x33e1ee;}}function _0x41be5a(_0x2e713c){const _0x2f8c3b=_0x474fca;switch(_0x2e713c[_0x2f8c3b(0x45f)]){case _0x45623e[_0x2f8c3b(0x476)]:case _0x45623e['HELLO']:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c['routeKey']});case _0x45623e[_0x2f8c3b(0x2c5)]:{let _0x3e17cf;switch(_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0x31f)]){case _0x1524d[_0x2f8c3b(0x2b2)]['UPDATE_CURSOR']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x2f5)],'updateCursorEvent':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d['CollaborationEvent'][_0x2f8c3b(0x458)]:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x458)],'leaveEvent':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x2e4)]:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)]['USERS_ENTER'],'joinEvent':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_NEW_HOST']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x3e3)],'liveShareNewHost':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_OPERATION']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_TERMINATE']:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x3a8)],'liveShareTerminate':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d['CollaborationEvent'][_0x2f8c3b(0x3c2)]:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2e713c[_0x2f8c3b(0xe5)]['data']};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x160)]};break;}default:_0x3e17cf={'eventID':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0x31f)]};}return JSON['stringify']({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c[_0x2f8c3b(0x35e)],'collaMsg':_0x3e17cf});}case _0x45623e[_0x2f8c3b(0x120)]:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c[_0x2f8c3b(0x35e)],'joinReq':_0x2e713c[_0x2f8c3b(0xe5)]});case _0x45623e[_0x2f8c3b(0x462)]:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c['routeKey'],'leaveReq':_0x2e713c[_0x2f8c3b(0xe5)]});default:throw new Error(_0x2f8c3b(0x24e));}}var _0x18ce91=Object[_0x474fca(0x109)],_0x31b8f=Object['getOwnPropertyDescriptor'],_0x7e147e=(_0x5183e8,_0x3b6f52,_0xaea770,_0x47d552)=>{const _0x4b6624=_0x474fca;for(var _0x4822eb=_0x47d552>0x1?void 0x0:_0x47d552?_0x31b8f(_0x3b6f52,_0xaea770):_0x3b6f52,_0xfcb2b2=_0x5183e8[_0x4b6624(0x2b9)]-0x1,_0xb01c99;_0xfcb2b2>=0x0;_0xfcb2b2--)(_0xb01c99=_0x5183e8[_0xfcb2b2])&&(_0x4822eb=(_0x47d552?_0xb01c99(_0x3b6f52,_0xaea770,_0x4822eb):_0xb01c99(_0x4822eb))||_0x4822eb);return _0x47d552&&_0x4822eb&&_0x18ce91(_0x3b6f52,_0xaea770,_0x4822eb),_0x4822eb;},_0x3b9d6b=(_0xf562a,_0x238536)=>(_0x4f08a2,_0x2f2565)=>_0x238536(_0x4f08a2,_0x2f2565,_0xf562a);const _0x2b67b3=_0x132eb9[_0x474fca(0x447)]('univer-pro.collaboration-client-socket-service');function _0x32093b(_0x10c4f0,_0xd92657,_0x2553bc){const _0x8f7bfe=_0x474fca;return _0x10c4f0+'/'+_0xd92657+'/unit/'+_0x2553bc+_0x8f7bfe(0x470);}_0x48d167[_0x474fca(0x262)]=class{constructor(_0x58632d,_0x37c804,_0x4fa86a,_0x46c766,_0x97f7da){const _0x31730c=_0x474fca;this['_http']=_0x58632d,this[_0x31730c(0x2ef)]=_0x37c804,this[_0x31730c(0x26f)]=_0x4fa86a,this['_logService']=_0x46c766,this['_snapshotServerService']=_0x97f7da;}[_0x474fca(0x39c)](_0x6dbd57){const _0x455078=_0x474fca,_0x4752ca=this['_ws'][_0x455078(0x39c)](_0x6dbd57);if(!_0x4752ca)throw new Error(_0x455078(0x1b7));const _0x577682=new _0x132eb9[(_0x455078(0x132))](),_0x14a909=new _0x3639ee[(_0x455078(0x1cb))]();_0x577682[_0x455078(0x41b)](_0x132eb9['toDisposable'](_0x4752ca['close$'][_0x455078(0x2e1)](_0x5a3cf0=>_0x14a909[_0x455078(0x452)](_0x5a3cf0)))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x14a909['complete']()));const _0x45816c=new _0x3639ee[(_0x455078(0x1cb))]();_0x577682[_0x455078(0x41b)](_0x132eb9[_0x455078(0x2c0)](_0x4752ca[_0x455078(0x20c)]['subscribe'](_0x5a90ca=>_0x45816c[_0x455078(0x452)](_0x5a90ca)))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x45816c[_0x455078(0x25f)]()));const _0x55f43a=new _0x3639ee['Subject']();_0x577682[_0x455078(0x41b)](_0x132eb9[_0x455078(0x2c0)](_0x4752ca[_0x455078(0x32c)][_0x455078(0x2e1)](_0x32c022=>{const _0x4fbb04=_0x455078,_0x31c099=_0x156469(_0x32c022);_0x55f43a[_0x4fbb04(0x452)](_0x31c099);}))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x55f43a[_0x455078(0x25f)]()));const _0x134bde=()=>{const _0x49ccff=_0x455078;_0x45816c['next'](new Event('connection\x20error')),_0x14a909[_0x49ccff(0x452)](new CloseEvent(_0x49ccff(0x419))),_0x2120b7[_0x49ccff(0x33d)]();},_0x2120b7={'memberID':'','close$':_0x14a909['asObservable'](),'error$':_0x45816c[_0x455078(0x39b)](),'open$':_0x4752ca[_0x455078(0x35d)],'message$':_0x55f43a[_0x455078(0x39b)](),'send':_0x4a4239=>{const _0x26c62c=_0x455078;if(_0x4a4239[_0x26c62c(0x45f)]===_0x45623e['INGEST']){if(_0x4a4239[_0x26c62c(0xe5)]['eventID']===_0x1524d[_0x26c62c(0x2b2)][_0x26c62c(0x3c3)]){this[_0x26c62c(0x354)](_0x2120b7,_0x4a4239['data'])['catch'](_0x31ff4e=>{const _0x553e46=_0x26c62c;this[_0x553e46(0x1ac)]['error'](_0x31ff4e),_0x134bde();});return;}if(_0x4a4239[_0x26c62c(0xe5)][_0x26c62c(0x31f)]===_0x1524d[_0x26c62c(0x2b2)]['FETCH_MISSING']){const _0x56ed0d=_0x4a4239[_0x26c62c(0xe5)];this[_0x26c62c(0x435)](_0x56ed0d)[_0x26c62c(0x321)](_0x5d378d=>{const _0x2b086a=_0x26c62c;_0x55f43a[_0x2b086a(0x452)]({'cmd':_0x45623e['RECV'],'code':_0x1add38['OK'],'routeKey':_0x56ed0d[_0x2b086a(0xe5)]['unitID'],'routeType':'','data':{'eventID':_0x1524d[_0x2b086a(0x2b2)][_0x2b086a(0x464)],'data':{'changesets':_0x5d378d}}});})[_0x26c62c(0x16a)](_0xc95095=>{const _0x20d30b=_0x26c62c;this[_0x20d30b(0x1ac)][_0x20d30b(0xf5)](_0xc95095),_0x134bde();});return;}}_0x4752ca['send'](_0x41be5a(_0x4a4239));},'close':()=>{const _0x3a4191=_0x455078;_0x4752ca[_0x3a4191(0x33d)](),_0x577682[_0x3a4191(0x19a)]();}};return _0x2120b7;}async[_0x474fca(0x354)](_0x59ca12,_0x29a17d){const _0x1a21b0=_0x474fca;var _0x4dcfc3;const {unitType:_0x3b748f,unitID:_0x5d3644,changeset:_0x324c79}=_0x29a17d[_0x1a21b0(0xe5)],_0x31d052={'unitID':_0x5d3644,'memberID':_0x59ca12[_0x1a21b0(0x26a)],'type':_0x3b748f,'changeset':_0x1524d['parseChangesetToProtocol'](_0x324c79)},_0x3b7a3b=_0x32093b((_0x4dcfc3=this[_0x1a21b0(0x26f)][_0x1a21b0(0x3a2)](_0x22e134))!=null?_0x4dcfc3:_0x6ef45d,_0x3b748f,_0x5d3644);try{await this[_0x1a21b0(0x25d)][_0x1a21b0(0x128)](_0x3b7a3b,{'body':_0x31d052});}catch(_0x46e043){throw this[_0x1a21b0(0x1ac)][_0x1a21b0(0xf5)](_0x1a21b0(0x1c1),_0x1a21b0(0x135)),_0x46e043;}}async['_fetchMissChangesets'](_0x2fc45f){const _0x5996a2=_0x474fca,{unitID:_0x35271f,from:_0x32eddd,to:_0x3ff313,unitType:_0x2daf67}=_0x2fc45f[_0x5996a2(0xe5)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x35271f,'type':_0x2daf67,'from':_0x32eddd,'to':_0x3ff313}))['changesets'];}},_0x48d167[_0x474fca(0x262)]=_0x7e147e([_0x3b9d6b(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x3b9d6b(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0x2ed)])),_0x3b9d6b(0x2,_0x132eb9[_0x474fca(0x46a)]),_0x3b9d6b(0x3,_0x132eb9[_0x474fca(0xad)]),_0x3b9d6b(0x4,_0x132eb9['ISnapshotServerService'])],_0x48d167[_0x474fca(0x262)]);class _0x333a83{constructor(){const _0x49ded4=_0x474fca;_0x3b7d06(this,'_commentUpdate$',new _0x3639ee['Subject']()),_0x3b7d06(this,_0x49ded4(0x28e),this[_0x49ded4(0x207)][_0x49ded4(0x39b)]());}['onCommentUpdate'](_0x483802){const _0x3e23a5=_0x474fca;this[_0x3e23a5(0x207)]['next'](_0x483802);}}var _0x14d841=Object[_0x474fca(0x109)],_0x75bc6=Object[_0x474fca(0xcc)],_0x5cfe64=(_0x2ee031,_0x27ac95,_0x258b4d,_0x407276)=>{const _0x13b05a=_0x474fca;for(var _0x51264f=_0x407276>0x1?void 0x0:_0x407276?_0x75bc6(_0x27ac95,_0x258b4d):_0x27ac95,_0x461690=_0x2ee031[_0x13b05a(0x2b9)]-0x1,_0x3cb3bf;_0x461690>=0x0;_0x461690--)(_0x3cb3bf=_0x2ee031[_0x461690])&&(_0x51264f=(_0x407276?_0x3cb3bf(_0x27ac95,_0x258b4d,_0x51264f):_0x3cb3bf(_0x51264f))||_0x51264f);return _0x407276&&_0x51264f&&_0x14d841(_0x27ac95,_0x258b4d,_0x51264f),_0x51264f;},_0x1c9a43=(_0x1e0321,_0x3ce931)=>(_0xb98fcd,_0x5a3e4d)=>_0x3ce931(_0xb98fcd,_0x5a3e4d,_0x1e0321),_0x139854=(_0x4a6c2e=>(_0x4a6c2e[_0x4a6c2e[_0x474fca(0x2db)]=0x0]=_0x474fca(0x2db),_0x4a6c2e[_0x4a6c2e['JOINING']=0x1]=_0x474fca(0x329),_0x4a6c2e[_0x4a6c2e[_0x474fca(0x35a)]=0x2]=_0x474fca(0x35a),_0x4a6c2e[_0x4a6c2e['ONLINE']=0x3]=_0x474fca(0x31c),_0x4a6c2e))(_0x139854||{});_0x48d167[_0x474fca(0x29a)]=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x40e3ab,_0x2224bd,_0x424b7e,_0x21ff62,_0x3758c1,_0x4f106d,_0x3fd5b4,_0x4dd9cf,_0x1beb0f){const _0x4db77a=_0x474fca;super(),_0x3b7d06(this,_0x4db77a(0x432),new _0x3639ee[(_0x4db77a(0x2a0))](0x0)),_0x3b7d06(this,_0x4db77a(0x326),this[_0x4db77a(0x432)]['asObservable']()),_0x3b7d06(this,_0x4db77a(0x380),new _0x3639ee[(_0x4db77a(0x1cb))]()),_0x3b7d06(this,_0x4db77a(0x428),this[_0x4db77a(0x380)]['asObservable']()),_0x3b7d06(this,_0x4db77a(0x474)),_0x3b7d06(this,_0x4db77a(0x270)),_0x3b7d06(this,_0x4db77a(0x3ab)),(this['_unitID']=_0x40e3ab,this[_0x4db77a(0x1ac)]=_0x424b7e,this[_0x4db77a(0x394)]=_0x21ff62,this[_0x4db77a(0x1af)]=_0x3758c1,this[_0x4db77a(0x26f)]=_0x4f106d,this[_0x4db77a(0x1fc)]=_0x3fd5b4,this[_0x4db77a(0x205)]=_0x4dd9cf,this[_0x4db77a(0x13c)]=_0x1beb0f,_0x2224bd[_0x4db77a(0x195)](_0x5d8ab5[_0x4db77a(0x37a)](this[_0x4db77a(0x2b5)]))[_0x4db77a(0x2e1)](_0x53181f=>{const _0x1094ac=_0x4db77a;var _0x38ce1e;typeof _0x53181f>'u'||(this[_0x1094ac(0x474)]=_0x53181f,_0x53181f?(this[_0x1094ac(0x3bc)](_0x53181f),this[_0x1094ac(0x270)]=this['_socket'][_0x1094ac(0x32c)][_0x1094ac(0x2e1)](_0x54d1c2=>{const _0xfc7e34=_0x1094ac;_0x54d1c2[_0xfc7e34(0x35e)]===this[_0xfc7e34(0x310)]&&this[_0xfc7e34(0x459)](_0x54d1c2);})):(this[_0x1094ac(0x432)]['next'](0x2),(_0x38ce1e=this[_0x1094ac(0x270)])==null||_0x38ce1e[_0x1094ac(0xde)](),this[_0x1094ac(0x270)]=null));}),this[_0x4db77a(0x26e)](this[_0x4db77a(0x394)]['registerOnClose'](()=>{const _0x282619=_0x4db77a;var _0x393cba;(_0x393cba=this['_socket'])==null||_0x393cba['send']({'cmd':_0x45623e[_0x282619(0x462)],'data':{'roomID':this[_0x282619(0x310)]}});})));}get[_0x474fca(0x1c4)](){return this['_sessionStatus$']['getValue']();}[_0x474fca(0xda)](){const _0x35e82f=_0x474fca;var _0x26d61b,_0x3a94d9;return(_0x3a94d9=(_0x26d61b=this[_0x35e82f(0x474)])==null?void 0x0:_0x26d61b['memberID'])!=null?_0x3a94d9:null;}[_0x474fca(0x19a)](){const _0x3c7828=_0x474fca;super[_0x3c7828(0x19a)](),this['dispose$'][_0x3c7828(0x452)](),this[_0x3c7828(0x2b5)]['complete']();}[_0x474fca(0x33d)](){const _0x3b65a0=_0x474fca;var _0xa27e8f,_0x3bcb41;(_0xa27e8f=this[_0x3b65a0(0x474)])==null||_0xa27e8f[_0x3b65a0(0x31a)]({'cmd':_0x45623e['LEAVE'],'data':{'roomID':this['_unitID']}}),this[_0x3b65a0(0x380)][_0x3b65a0(0x25f)](),this[_0x3b65a0(0x432)]['complete'](),(_0x3bcb41=this['_socket'])==null||_0x3bcb41[_0x3b65a0(0x33d)](),this[_0x3b65a0(0x19a)]();}['_onCombEvent'](_0x25d33f){const _0x2c6d8=_0x474fca;_0x25d33f[_0x2c6d8(0x45f)]===_0x45623e[_0x2c6d8(0x120)]?this[_0x2c6d8(0x43d)](_0x25d33f):_0x25d33f['cmd']===_0x45623e['RECV']&&this[_0x2c6d8(0x453)](_0x25d33f);}['_joinRoom'](_0x415a45){const _0x4dd956=_0x474fca;this[_0x4dd956(0x432)]['next'](0x1),_0x415a45[_0x4dd956(0x31a)]({'cmd':_0x45623e[_0x4dd956(0x120)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4dd956(0x310)]}]}});}['_onJoinRoomEvent'](_0x5d2715){const _0x4930af=_0x474fca;var _0x3616e6;if(_0x5d2715[_0x4930af(0x360)]===_0x1add38[_0x4930af(0x3a5)]){this['_messageService']['show']({'type':_0x59ab28['MessageType'][_0x4930af(0x19f)],'content':this[_0x4930af(0x1fc)]['t'](_0x4930af(0x11e))}),this['_sessionStatus$']['next'](0x2);return;}this[_0x4930af(0x432)]['next'](0x3);const _0x456f0b=(_0x3616e6=_0x5d2715[_0x4930af(0xe5)][_0x4930af(0x2d2)][this[_0x4930af(0x310)]])==null?void 0x0:_0x3616e6[_0x4930af(0x27c)];_0x456f0b&&_0x456f0b['forEach'](_0x65205e=>this[_0x4930af(0x205)][_0x4930af(0x30e)](this[_0x4930af(0x310)],_0x65205e));}[_0x474fca(0x453)](_0x3475a3){const _0x4ccc70=_0x474fca;try{const _0x5aa422=_0x3475a3[_0x4ccc70(0xe5)];switch(_0x5aa422[_0x4ccc70(0x31f)]){case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x2e4)]:this[_0x4ccc70(0x1aa)](_0x5aa422),this[_0x4ccc70(0x380)]['next'](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)]['USERS_LEAVE']:this['_onUserLeave'](_0x5aa422),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x2d3)]:this[_0x4ccc70(0xdd)](),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x292)]:this[_0x4ccc70(0x1ac)]['error'](_0x4ccc70(0x1ae)+JSON[_0x4ccc70(0x233)](_0x5aa422)),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d['CollaborationEvent'][_0x4ccc70(0x305)]:this[_0x4ccc70(0x13c)][_0x4ccc70(0x189)](_0x5aa422[_0x4ccc70(0xe5)]),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;default:this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);}}catch(_0x4ef600){this[_0x4ccc70(0x1ac)][_0x4ccc70(0xf5)](_0x4ef600,_0x3475a3);}}['_onUserJoin'](_0xa706aa){const _0x1f6e7a=_0x474fca;this[_0x1f6e7a(0x205)]['updateMember'](this[_0x1f6e7a(0x310)],_0xa706aa['data']);}[_0x474fca(0x365)](_0x2d0653){const _0x1aaa48=_0x474fca;this[_0x1aaa48(0x205)][_0x1aaa48(0x11c)](this[_0x1aaa48(0x310)],_0x2d0653[_0x1aaa48(0xe5)][_0x1aaa48(0x26a)]);}async[_0x474fca(0x31a)](_0x45354a,_0x42b8af){const _0x428b47=_0x474fca;if(this[_0x428b47(0x1c4)]!==0x3||!this[_0x428b47(0x474)])throw new Error(_0x428b47(0x442));try{_0x45354a[_0x428b47(0x31f)]===_0x1524d['CollaborationEvent'][_0x428b47(0x288)]&&this[_0x428b47(0x274)](),this['_socket'][_0x428b47(0x31a)]({'cmd':_0x45623e[_0x428b47(0x2c5)],'routeKey':_0x42b8af,'routeType':'','data':_0x45354a});}catch(_0x3a3b34){this[_0x428b47(0x1ac)][_0x428b47(0xf5)](_0x3a3b34);}}['_scheduleCollaborationTimeoutTimer'](){const _0x3ef914=_0x474fca;var _0x12492f;this[_0x3ef914(0x3ab)]=window['setTimeout'](()=>{const _0x4770bf=_0x3ef914;this[_0x4770bf(0x3ab)]=null,this[_0x4770bf(0x1af)]['show']({'type':_0x59ab28['MessageType']['Error'],'content':this[_0x4770bf(0x1fc)]['t']('session.collaboration-timeout')});},(_0x12492f=this[_0x3ef914(0x26f)][_0x3ef914(0x3a2)](_0x240518))!=null?_0x12492f:0x2710);}['_clearCollaborationTimeoutTimer'](){const _0x1db50a=_0x474fca;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1db50a(0x3ab)]),this[_0x1db50a(0x3ab)]=null);}},_0x48d167[_0x474fca(0x29a)]=_0x5cfe64([_0x1c9a43(0x2,_0x132eb9[_0x474fca(0xad)]),_0x1c9a43(0x3,_0x202279[_0x474fca(0x147)]),_0x1c9a43(0x4,_0x202279[_0x474fca(0x123)]),_0x1c9a43(0x5,_0x132eb9[_0x474fca(0x46a)]),_0x1c9a43(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x1c9a43(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x1c9a43(0x8,_0x132eb9[_0x474fca(0x1a8)](_0x333a83))],_0x48d167['CollaborationSession']),_0x48d167[_0x474fca(0xc6)]=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x46c61e,_0x2ad5d0,_0x5bc388,_0x47c985,_0x203e40,_0x4d82ff){const _0x41b118=_0x474fca;super(),_0x3b7d06(this,_0x41b118(0x35f),new _0x3639ee[(_0x41b118(0x2a0))](void 0x0)),_0x3b7d06(this,_0x41b118(0x181),new Map()),_0x3b7d06(this,_0x41b118(0x2d7),new _0x3639ee[(_0x41b118(0x2a0))](0x0)),_0x3b7d06(this,'status$',this[_0x41b118(0x2d7)][_0x41b118(0x39b)]()),_0x3b7d06(this,_0x41b118(0x349),!0x1),_0x3b7d06(this,_0x41b118(0x301)),_0x3b7d06(this,_0x41b118(0xc3)),_0x3b7d06(this,_0x41b118(0x241)),_0x3b7d06(this,_0x41b118(0x1d4),0x0),(this[_0x41b118(0x306)]=_0x46c61e,this[_0x41b118(0x1fc)]=_0x2ad5d0,this[_0x41b118(0x1af)]=_0x5bc388,this['_logService']=_0x47c985,this[_0x41b118(0x26f)]=_0x203e40,this[_0x41b118(0x107)]=_0x4d82ff);}get[_0x474fca(0x474)](){const _0x2fcd59=_0x474fca;return this[_0x2fcd59(0x35f)][_0x2fcd59(0x2ff)]();}[_0x474fca(0x19a)](){const _0xfb6af6=_0x474fca;super[_0xfb6af6(0x19a)](),this[_0xfb6af6(0x181)][_0xfb6af6(0x173)](_0x43cae9=>_0x43cae9['dispose']()),this[_0xfb6af6(0x181)]['clear'](),this[_0xfb6af6(0x2d7)][_0xfb6af6(0x25f)]();}async[_0x474fca(0x21a)](_0x2fc079){const _0x1348e7=_0x474fca;if(this['_sessions'][_0x1348e7(0x400)](_0x2fc079))return this[_0x1348e7(0x181)]['get'](_0x2fc079);this[_0x1348e7(0x381)]();const _0xa0ca3a=this[_0x1348e7(0x306)][_0x1348e7(0x192)](_0x48d167['CollaborationSession'],_0x2fc079,this[_0x1348e7(0x35f)][_0x1348e7(0x39b)]());return this[_0x1348e7(0x181)][_0x1348e7(0xbe)](_0x2fc079,_0xa0ca3a),_0xa0ca3a;}['closeSession'](_0x157e56){const _0x334bbb=_0x474fca;var _0x1973da;const _0x54dd15=this[_0x334bbb(0x181)][_0x334bbb(0x261)](_0x157e56);_0x54dd15&&(this['_sessions']['delete'](_0x157e56),_0x54dd15[_0x334bbb(0x33d)]()),this[_0x334bbb(0x181)][_0x334bbb(0xb8)]||(_0x1973da=this[_0x334bbb(0x474)])==null||_0x1973da[_0x334bbb(0x33d)]();}[_0x474fca(0x3f6)](){const _0x3d70a4=_0x474fca;var _0x1bfaa6;const _0x1d80dc=(_0x1bfaa6=this[_0x3d70a4(0x26f)][_0x3d70a4(0x3a2)](_0x5058a4))!=null?_0x1bfaa6:_0x485035;return this[_0x3d70a4(0x107)][_0x3d70a4(0x39c)](_0x1d80dc);}['_tryEnsureSocket'](){const _0x27fea2=_0x474fca;try{const _0x3e6d35=this[_0x27fea2(0x3f6)]();if(_0x3e6d35){const _0x174470=_0x3e6d35['send'];_0x3e6d35[_0x27fea2(0x31a)]=_0x150aec=>(this[_0x27fea2(0x108)](),_0x174470[_0x27fea2(0x38c)](_0x3e6d35,[_0x150aec])),_0x3e6d35[_0x27fea2(0x32c)]['subscribe'](_0x27fc17=>this[_0x27fea2(0x271)](_0x3e6d35,_0x27fc17)),_0x3e6d35[_0x27fea2(0x20c)][_0x27fea2(0x195)](_0x5d8ab5[_0x27fea2(0x3a3)](0x1))['subscribe'](_0x5a3a59=>this['_logService'][_0x27fea2(0xf5)](_0x27fea2(0x36e),_0x5a3a59)),_0x3e6d35['open$'][_0x27fea2(0x195)](_0x5d8ab5['take'](0x1))[_0x27fea2(0x2e1)](()=>{this['_onConnectionOpen'](_0x3e6d35);}),_0x3e6d35[_0x27fea2(0x1be)][_0x27fea2(0x195)](_0x5d8ab5['take'](0x1))[_0x27fea2(0x2e1)](_0x467be9=>{const _0x2263de=_0x27fea2;this['_logService']['debug'](_0x2263de(0xa8),_0x2263de(0xe0),_0x467be9),this[_0x2263de(0x3b0)]();});}}catch(_0x20edf9){this[_0x27fea2(0x1ac)][_0x27fea2(0xf5)](_0x20edf9),this[_0x27fea2(0x3b0)]();}}[_0x474fca(0x339)](_0x1d0e25){const _0x20fa37=_0x474fca;this[_0x20fa37(0x1ac)][_0x20fa37(0x19c)](_0x20fa37(0xa8),_0x20fa37(0x2f2)),_0x1d0e25[_0x20fa37(0x31a)]({'cmd':_0x45623e[_0x20fa37(0x47d)]}),this[_0x20fa37(0x108)]();}[_0x474fca(0x3b0)](){const _0x4884f3=_0x474fca;var _0x3eb120;this[_0x4884f3(0x2d7)][_0x4884f3(0x452)](0x2),this['_socket$'][_0x4884f3(0x452)](null),this[_0x4884f3(0xfa)](),this['_clearHeartbeatTimer'](),this[_0x4884f3(0x349)]=!0x1,this['_retryCount']<((_0x3eb120=this[_0x4884f3(0x26f)][_0x4884f3(0x3a2)](_0x3d7c60))!=null?_0x3eb120:0x3)?(this[_0x4884f3(0x454)](this[_0x4884f3(0x1d4)]),this[_0x4884f3(0x1d4)]+=0x1):this[_0x4884f3(0x1af)][_0x4884f3(0xac)]({'type':_0x59ab28[_0x4884f3(0x336)][_0x4884f3(0x1ea)],'content':this['_localeService']['t'](_0x4884f3(0x1e2))});}[_0x474fca(0x454)](_0x1638a5){const _0x208082=_0x474fca;var _0x52deb2;const _0x1d8191=((_0x52deb2=this[_0x208082(0x26f)][_0x208082(0x3a2)](_0x32b076))!=null?_0x52deb2:0x4e20)*0x2**_0x1638a5;this[_0x208082(0x1af)][_0x208082(0xac)]({'type':_0x59ab28[_0x208082(0x336)][_0x208082(0x19f)],'content':this[_0x208082(0x1fc)]['t'](_0x208082(0x183))}),this[_0x208082(0x241)]=setTimeout(()=>{const _0x3affa5=_0x208082;this[_0x3affa5(0x381)](),clearTimeout(this['_retryConnectingTimer']),this[_0x3affa5(0x241)]=null;},_0x1d8191);}[_0x474fca(0x108)](){const _0x53dfe3=_0x474fca;var _0x181af2;this[_0x53dfe3(0x15f)](),this[_0x53dfe3(0x301)]=setTimeout(()=>this[_0x53dfe3(0x2aa)](),(_0x181af2=this['_configService'][_0x53dfe3(0x3a2)](_0x5a327e))!=null?_0x181af2:0x7530);}[_0x474fca(0x2aa)](){const _0x52bfde=_0x474fca;this[_0x52bfde(0x474)][_0x52bfde(0x31a)]({'cmd':_0x45623e[_0x52bfde(0x476)]}),this['_waitForHeartbeatResponse']();}[_0x474fca(0x3eb)](){const _0x11e81a=_0x474fca;var _0x285186;this[_0x11e81a(0xc3)]=setTimeout(()=>this[_0x11e81a(0x3b0)](),(_0x285186=this[_0x11e81a(0x26f)][_0x11e81a(0x3a2)](_0x240518))!=null?_0x285186:0x2710);}['_onMessage'](_0x22c748,_0x2a4b88){const _0x2df6c9=_0x474fca,{cmd:_0x53c23a}=_0x2a4b88;_0x53c23a===_0x45623e[_0x2df6c9(0x47d)]&&!this[_0x2df6c9(0x349)]&&(_0x22c748[_0x2df6c9(0x26a)]=_0x2a4b88[_0x2df6c9(0xe5)][_0x2df6c9(0x26a)],this[_0x2df6c9(0x35f)][_0x2df6c9(0x452)](_0x22c748),this[_0x2df6c9(0x2d7)]['next'](0x3),this['_socketReady']=!0x0),_0x53c23a===_0x45623e[_0x2df6c9(0x476)]&&this[_0x2df6c9(0xfa)](),this[_0x2df6c9(0x108)]();}['_clearHeartbeatTimer'](){const _0x705b23=_0x474fca;this[_0x705b23(0x301)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x705b23(0x301)]=null);}[_0x474fca(0xfa)](){const _0x51f1f7=_0x474fca;this[_0x51f1f7(0xc3)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x51f1f7(0xc3)]=null);}},_0x48d167['CollaborationSessionService']=_0x5cfe64([_0x1c9a43(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x1c9a43(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x1c9a43(0x2,_0x202279[_0x474fca(0x123)]),_0x1c9a43(0x3,_0x132eb9[_0x474fca(0xad)]),_0x1c9a43(0x4,_0x132eb9[_0x474fca(0x46a)]),_0x1c9a43(0x5,_0x2b67b3)],_0x48d167[_0x474fca(0xc6)]);var _0x2d476b=Object[_0x474fca(0x109)],_0x1db2e7=Object[_0x474fca(0xcc)],_0x47ab7f=(_0x423b79,_0x264ebf,_0x4dfdf4,_0x1d1ea7)=>{for(var _0x14640c=_0x1d1ea7>0x1?void 0x0:_0x1d1ea7?_0x1db2e7(_0x264ebf,_0x4dfdf4):_0x264ebf,_0x4290fe=_0x423b79['length']-0x1,_0xa9f091;_0x4290fe>=0x0;_0x4290fe--)(_0xa9f091=_0x423b79[_0x4290fe])&&(_0x14640c=(_0x1d1ea7?_0xa9f091(_0x264ebf,_0x4dfdf4,_0x14640c):_0xa9f091(_0x14640c))||_0x14640c);return _0x1d1ea7&&_0x14640c&&_0x2d476b(_0x264ebf,_0x4dfdf4,_0x14640c),_0x14640c;},_0x27b4b5=(_0x2eab91,_0x1d5aa7)=>(_0x2fae4c,_0x21cee0)=>_0x1d5aa7(_0x2fae4c,_0x21cee0,_0x2eab91);_0x48d167[_0x474fca(0x27d)]=class extends _0x132eb9['Disposable']{constructor(_0xaa04e9,_0xad5f3b,_0x4b3740,_0xdf62e2,_0x2f419a){const _0x1102e2=_0x474fca;super(),_0x3b7d06(this,_0x1102e2(0x1d9),new Map()),_0x3b7d06(this,'_saveTaskMap',new Map()),_0x3b7d06(this,_0x1102e2(0x1e1),!0x1),(this[_0x1102e2(0x26f)]=_0xaa04e9,this[_0x1102e2(0x223)]=_0xad5f3b,this[_0x1102e2(0x394)]=_0x4b3740,this['_localeService']=_0xdf62e2,this[_0x1102e2(0x257)]=_0x2f419a,this[_0x1102e2(0xa1)]());}['disableLocalCache'](){const _0x4b59a5=_0x474fca;this[_0x4b59a5(0x1e1)]=!0x0;}[_0x474fca(0x3c6)](){this['_disabled']=!0x1;}[_0x474fca(0x19a)](){const _0x3844cf=_0x474fca;this['exhaustSavingTask']()['then'](()=>super[_0x3844cf(0x19a)]());}async[_0x474fca(0xee)](_0x40fa4e){const _0x52b6b1=_0x474fca;return this['_disabled']?null:this[_0x52b6b1(0x223)][_0x52b6b1(0x273)](_0x2c212b(_0x40fa4e));}async[_0x474fca(0x423)](_0xe766fd,_0x385753){const _0x2e796e=_0x474fca;return!!this[_0x2e796e(0x223)][_0x2e796e(0x151)](_0xe766fd,_0x385753);}['updateOfflineData'](_0x16202d,_0x976ff9,_0x11f802,_0x3a83fb){const _0x3f4651=_0x474fca,_0x2eccb2=this[_0x3f4651(0x257)][_0x3f4651(0x3c8)](_0x16202d);this[_0x3f4651(0x1d9)][_0x3f4651(0xbe)](_0x16202d,{'unitID':_0x16202d,'type':_0x976ff9,'awaitingChangeset':_0x11f802,'mutations':_0x3a83fb,'rev':_0x2eccb2}),this['_saveTaskMap'][_0x3f4651(0x400)](_0x16202d)||this[_0x3f4651(0xb4)](_0x16202d);}[_0x474fca(0xb4)](_0x123c17){const _0x461882=_0x474fca,_0xf70539=this[_0x461882(0x2c6)]();_0xf70539===0x0?this[_0x461882(0x440)](_0x123c17):this[_0x461882(0x3f5)][_0x461882(0xbe)](_0x123c17,setTimeout(()=>this[_0x461882(0x440)](_0x123c17),_0xf70539));}['_getSaveTimeout'](){const _0x1d9712=_0x474fca;var _0x3e5c22;return(_0x3e5c22=this[_0x1d9712(0x26f)]['getConfig'](_0x2c2734))!=null?_0x3e5c22:0x3e8;}[_0x474fca(0x440)](_0x377295){const _0x1be728=_0x474fca,_0x3f8bcc=this[_0x1be728(0x3f5)]['get'](_0x377295);return _0x3f8bcc!==void 0x0&&window[_0x1be728(0x293)](_0x3f8bcc),this['_localStorageService']['setItem'](_0x2c212b(_0x377295),this[_0x1be728(0x1d9)][_0x1be728(0x261)](_0x377295))[_0x1be728(0x321)](()=>this['_saveTaskMap']['delete'](_0x377295));}async['exhaustSavingTask'](){const _0xdb2e5=_0x474fca,_0x274bd9=[];this['_saveTaskMap']['forEach']((_0x8044ed,_0x1dd930)=>{const _0xc7a34e=_0x2d55;window[_0xc7a34e(0x293)](_0x8044ed),_0x274bd9[_0xc7a34e(0x277)](this[_0xc7a34e(0x440)](_0x1dd930)[_0xc7a34e(0x321)](()=>{const _0x5e170=_0xc7a34e;this[_0x5e170(0x3f5)][_0x5e170(0x224)](_0x1dd930);}));}),await Promise[_0xdb2e5(0x3b7)](_0x274bd9);}[_0x474fca(0xa1)](){const _0x48bf1f=_0x474fca;this[_0x48bf1f(0x26e)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1573e7=_0x48bf1f;if(this[_0x1573e7(0x3f5)][_0x1573e7(0xb8)])return this[_0x1573e7(0x1fc)]['t'](_0x1573e7(0x193));}));}},_0x48d167[_0x474fca(0x27d)]=_0x47ab7f([_0x27b4b5(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x27b4b5(0x1,_0x132eb9[_0x474fca(0xdc)]),_0x27b4b5(0x2,_0x202279[_0x474fca(0x147)]),_0x27b4b5(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x27b4b5(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)]))],_0x48d167[_0x474fca(0x27d)]);function _0x2c212b(_0x573a1e){const _0x430598=_0x474fca;return _0x430598(0x331)+_0x573a1e;}const _0x54135c=_0x132eb9['createIdentifier'](_0x474fca(0x38d));var _0x261697=(_0x3e39de=>(_0x3e39de[_0x3e39de[_0x474fca(0x217)]=0x0]=_0x474fca(0x217),_0x3e39de[_0x3e39de['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x3e39de))(_0x261697||{});const _0x4601b7=0x7530,_0x475fe4=_0x474fca(0x357);class _0x5204d1 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x549fd8=_0x474fca;super(),_0x3b7d06(this,_0x549fd8(0x239),_0x132eb9['Tools'][_0x549fd8(0x2de)]()),_0x3b7d06(this,'_selfUnitIDs',new Set()),_0x3b7d06(this,'_unitOnClients',new Map()),_0x3b7d06(this,_0x549fd8(0x23d),null),_0x3b7d06(this,_0x549fd8(0x42b),new Map()),_0x3b7d06(this,_0x549fd8(0x1ab),new Map()),this[_0x549fd8(0x1d5)]();}['dispose'](){const _0x2df9f3=_0x474fca;super[_0x2df9f3(0x19a)](),this[_0x2df9f3(0x42b)][_0x2df9f3(0x173)]((_0x5bb25f,_0x550c90)=>this[_0x2df9f3(0xa6)](_0x550c90)),this[_0x2df9f3(0x23d)]&&window['clearInterval'](this[_0x2df9f3(0x23d)]);}[_0x474fca(0x3e8)](_0x5f8a61){const _0x5a3580=_0x474fca;return this[_0x5a3580(0x3b6)](_0x5f8a61)['pipe'](_0x3639ee[_0x5a3580(0x34b)]());}[_0x474fca(0x40f)](_0x5df85f){const _0x4e020c=_0x474fca;this[_0x4e020c(0x3c9)][_0x4e020c(0xb8)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4e020c(0x3c9)][_0x4e020c(0x41b)](_0x5df85f),this[_0x4e020c(0xbd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5df85f],'isForwarded':!0x1});}['disposeUnit'](_0x137a4e){const _0x134c93=_0x474fca;this[_0x134c93(0x3c9)][_0x134c93(0x224)](_0x137a4e),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x134c93(0x418)](this['_heartbeatTimer']);}[_0x474fca(0x1d5)](){const _0x42aa3b=_0x474fca;this[_0x42aa3b(0x26e)](_0x132eb9[_0x42aa3b(0x2c0)](_0x3639ee['fromEvent'](window,_0x42aa3b(0x130))[_0x42aa3b(0x2e1)](_0x44e30d=>{const _0x15e6e5=_0x42aa3b;if(_0x44e30d['key']!==_0x475fe4||!_0x44e30d[_0x15e6e5(0x148)])return;const _0x2145a7=JSON[_0x15e6e5(0x2bd)](_0x44e30d[_0x15e6e5(0x148)]);this[_0x15e6e5(0x2fc)](_0x2145a7);}))),window[_0x42aa3b(0x3d3)](_0x42aa3b(0x174),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x42aa3b(0x222)](this[_0x42aa3b(0x3c9)])}));}[_0x474fca(0x2fc)](_0x3bcd2a){const _0xb12d30=_0x474fca;switch(_0x3bcd2a[_0xb12d30(0x11a)]){case 0x0:this[_0xb12d30(0x244)](_0x3bcd2a);break;case 0x1:this[_0xb12d30(0x235)](_0x3bcd2a);break;case 0x2:this[_0xb12d30(0x3e0)](_0x3bcd2a);break;}}[_0x474fca(0x244)](_0x1fc6d3){const _0x3991bb=_0x474fca,{unitIDs:_0x388922,memberID:_0x2e8254,isForwarded:_0x3f5e23}=_0x1fc6d3;_0x388922[_0x3991bb(0x173)](_0x13041a=>{const _0x9f90e5=_0x3991bb;if(!_0x3f5e23&&this[_0x9f90e5(0x3b1)][_0x9f90e5(0x400)](_0x13041a)&&this['_ensureSubject'](_0x13041a)[_0x9f90e5(0x452)](0x1),!this['_unitOnClients'][_0x9f90e5(0x400)](_0x13041a)||!this[_0x9f90e5(0x3b1)]['get'](_0x13041a)[_0x9f90e5(0x400)](_0x2e8254)){const _0x64a591=this[_0x9f90e5(0x3b1)][_0x9f90e5(0x261)](_0x13041a)||new Set();_0x64a591[_0x9f90e5(0x41b)](_0x2e8254),this[_0x9f90e5(0x3b1)]['set'](_0x13041a,_0x64a591),this['_scheduleClearOtherTimer'](_0x2e8254);}}),_0x3f5e23||this[_0x3991bb(0xbd)]({'type':0x0,'memberID':this[_0x3991bb(0x239)],'unitIDs':[...this[_0x3991bb(0x3c9)]],'isForwarded':!0x0});}[_0x474fca(0x393)](_0xe97691){const _0x1e5fbf=_0x474fca;this['_removeClearOtherTimer'](_0xe97691);const _0x15f7b6=window[_0x1e5fbf(0x10e)](()=>{const _0x2700a6=_0x1e5fbf;this['_unitOnClients'][_0x2700a6(0x173)](_0x1e77a0=>{const _0x396e2=_0x2700a6;_0x1e77a0[_0x396e2(0x224)](_0xe97691);});},_0x4601b7*0x2);this[_0x1e5fbf(0x42b)][_0x1e5fbf(0xbe)](_0xe97691,_0x15f7b6);}['_removeClearOtherTimer'](_0x313d76){const _0x267395=_0x474fca;if(this['_clearOtherTimers'][_0x267395(0x400)](_0x313d76)){const _0x13de4c=this[_0x267395(0x42b)]['get'](_0x313d76);_0x13de4c&&window['clearTimeout'](_0x13de4c),this[_0x267395(0x42b)][_0x267395(0xbe)](_0x313d76,null);}}['_handleLeaveEvent'](_0x287769){const _0x34b533=_0x474fca,{memberID:_0x2e68a5,unitIDs:_0x34d65c}=_0x287769;_0x34d65c[_0x34b533(0x173)](_0x41bde3=>{const _0x52e713=_0x34b533;var _0x641e6d;const _0x557829=this[_0x52e713(0x3b1)][_0x52e713(0x261)](_0x41bde3);_0x557829&&(_0x557829[_0x52e713(0x224)](_0x2e68a5),(_0x641e6d=this['_ensureSubject'](_0x41bde3))==null||_0x641e6d[_0x52e713(0x452)](_0x557829[_0x52e713(0xb8)]===0x0?0x0:0x1));}),this[_0x34b533(0xa6)](_0x2e68a5);}[_0x474fca(0x3e0)](_0x2aa51d){const _0x154619=_0x474fca;this[_0x154619(0x393)](_0x2aa51d['memberID']);}[_0x474fca(0xbd)](_0xb89691){const _0x55ce17=_0x474fca;localStorage['setItem'](_0x475fe4,JSON[_0x55ce17(0x233)](_0xb89691));}['_scheduleHeartbeat'](){const _0x3a8237=_0x474fca;this[_0x3a8237(0x23d)]=window['setInterval'](()=>{const _0x8cf7fc=_0x3a8237;this[_0x8cf7fc(0xbd)]({'type':0x2,'memberID':this['_id']});},_0x4601b7);}[_0x474fca(0x3b6)](_0x2f1399){const _0x5310ad=_0x474fca;return this['_unitStatus']['has'](_0x2f1399)||this[_0x5310ad(0x1ab)][_0x5310ad(0xbe)](_0x2f1399,new _0x3639ee[(_0x5310ad(0x2a0))](0x0)),this[_0x5310ad(0x1ab)]['get'](_0x2f1399);}}var _0x3ada99=Object['defineProperty'],_0x5f0df5=Object[_0x474fca(0xcc)],_0x14ffb1=(_0x2a00a3,_0x278cbb,_0x326548,_0x30fbda)=>{const _0x142422=_0x474fca;for(var _0xd6046a=_0x30fbda>0x1?void 0x0:_0x30fbda?_0x5f0df5(_0x278cbb,_0x326548):_0x278cbb,_0x1fb5fe=_0x2a00a3[_0x142422(0x2b9)]-0x1,_0x271f53;_0x1fb5fe>=0x0;_0x1fb5fe--)(_0x271f53=_0x2a00a3[_0x1fb5fe])&&(_0xd6046a=(_0x30fbda?_0x271f53(_0x278cbb,_0x326548,_0xd6046a):_0x271f53(_0xd6046a))||_0xd6046a);return _0x30fbda&&_0xd6046a&&_0x3ada99(_0x278cbb,_0x326548,_0xd6046a),_0xd6046a;},_0x3e41c4=(_0x5609ff,_0x4670b7)=>(_0x4add3f,_0x140f1c)=>_0x4670b7(_0x4add3f,_0x140f1c,_0x5609ff);let _0x5e5e64=class{constructor(_0xd998b,_0x5b3462){const _0x6010ba=_0x474fca;this[_0x6010ba(0x306)]=_0xd998b,this['_transformService']=_0x5b3462;}[_0x474fca(0x347)](_0x1c1771){const _0x1b2088=_0x474fca;this[_0x1b2088(0x162)](_0x1c1771),this[_0x1b2088(0xbb)](_0x1c1771);}[_0x474fca(0x396)](_0x5024cb){const _0x2fc24e=_0x474fca,_0x29f2f5=this[_0x2fc24e(0x306)][_0x2fc24e(0x261)](_0x4b287a[_0x2fc24e(0x234)]),{redoCache:_0x4d8616}=_0x29f2f5[_0x2fc24e(0x2f7)]();if(_0x4d8616['length']===0x0)return _0x5024cb;let _0x298b22=_0x132eb9[_0x2fc24e(0x44f)][_0x2fc24e(0x414)](_0x5024cb[_0x2fc24e(0x256)][0x0]);for(let _0x4b7bf7=0x0;_0x4b7bf7<_0x4d8616[_0x2fc24e(0x2b9)];_0x4b7bf7++){const _0x15b7c1={'id':'doc.mutation.rich-text-editing','params':{..._0x4d8616[_0x4b7bf7]}},_0xe7014c=this[_0x2fc24e(0x190)][_0x2fc24e(0x35b)](_0x298b22,_0x15b7c1,!0x1);if(_0x1524d['isTransformMutationFailure'](_0xe7014c))throw _0xe7014c[_0x2fc24e(0xf5)];_0x298b22=_0xe7014c[_0x2fc24e(0x11d)];}return{..._0x132eb9[_0x2fc24e(0x44f)][_0x2fc24e(0x414)](_0x5024cb),'mutations':[_0x298b22]};}[_0x474fca(0x162)](_0xfb2f3b){const _0x5dfdea=_0x474fca,_0x40be2f=this[_0x5dfdea(0x306)][_0x5dfdea(0x261)](_0x4b287a[_0x5dfdea(0x234)]),{undoCache:_0xd65d25,redoCache:_0x4e225f}=_0x40be2f[_0x5dfdea(0x2f7)]();if(_0xd65d25[_0x5dfdea(0x2b9)]===0x0||_0x4e225f['length']===0x0)return;const _0x263e72=[],_0xa90d8f=[];let _0x59dadd=_0x132eb9[_0x5dfdea(0x44f)]['deepClone'](_0xfb2f3b['mutations'][0x0]),_0x5fd8a7=_0x132eb9['Tools'][_0x5dfdea(0x414)](_0xfb2f3b[_0x5dfdea(0x256)][0x0]);for(let _0xe2135c=_0xd65d25[_0x5dfdea(0x2b9)]-0x1;_0xe2135c>=0x0;_0xe2135c--){const _0x2b9abb={'id':_0x5dfdea(0x21b),'params':{..._0xd65d25[_0xe2135c]}},_0x2d872c={'id':_0x5dfdea(0x21b),'params':{..._0x4e225f[_0xe2135c]}},_0x2dbceb=this[_0x5dfdea(0x190)][_0x5dfdea(0x35b)](_0x59dadd,_0x2b9abb,!0x1),_0x38d005=this[_0x5dfdea(0x190)]['transformMutation'](_0x5fd8a7,_0x2d872c,!0x1);if(_0x1524d[_0x5dfdea(0x40c)](_0x2dbceb))throw _0x2dbceb['error'];if(_0x1524d[_0x5dfdea(0x40c)](_0x38d005))throw _0x38d005[_0x5dfdea(0xf5)];_0x263e72[_0x5dfdea(0x3f2)](_0x2dbceb[_0x5dfdea(0x43b)][_0x5dfdea(0xe6)]),_0xa90d8f[_0x5dfdea(0x3f2)](_0x38d005[_0x5dfdea(0x43b)]['params']),_0x59dadd=_0x2dbceb['m1Prime'],_0x5fd8a7=_0x38d005[_0x5dfdea(0x11d)];}_0x40be2f[_0x5dfdea(0x252)]({'undoCache':_0x263e72,'redoCache':_0xa90d8f});}[_0x474fca(0xbb)](_0xa0b13){const _0x65af6a=_0x474fca,_0x145384=this[_0x65af6a(0x306)][_0x65af6a(0x261)](_0x4b287a[_0x65af6a(0x234)]),_0x3726f6=_0x145384[_0x65af6a(0x324)]();if(_0x3726f6==null)return;const _0x2856bf=[{'id':_0x65af6a(0x21b),'params':{'unitId':_0xa0b13['unitID'],'actions':null,'textRanges':[_0x3726f6]}}],_0x2e9268=this[_0x65af6a(0x190)][_0x65af6a(0x1a1)](_0xa0b13,_0x2856bf);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x2e9268))throw _0x2e9268[_0x65af6a(0xf5)];const _0x30e3b8=_0x2e9268[_0x65af6a(0x43b)][0x0][_0x65af6a(0xe6)][_0x65af6a(0x34e)];Array['isArray'](_0x30e3b8)&&_0x30e3b8[_0x65af6a(0x2b9)]&&_0x145384[_0x65af6a(0x446)](_0x30e3b8[0x0]);}};_0x5e5e64=_0x14ffb1([_0x3e41c4(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x3e41c4(0x1,_0x1524d[_0x474fca(0x439)])],_0x5e5e64);var _0x14b01e=Object['defineProperty'],_0x1aec1a=Object[_0x474fca(0xcc)],_0x1d3064=(_0x5822b6,_0x599bb3,_0x58ecd1,_0x30b75d)=>{const _0x405860=_0x474fca;for(var _0x30c83f=_0x30b75d>0x1?void 0x0:_0x30b75d?_0x1aec1a(_0x599bb3,_0x58ecd1):_0x599bb3,_0x3cf804=_0x5822b6[_0x405860(0x2b9)]-0x1,_0x5063af;_0x3cf804>=0x0;_0x3cf804--)(_0x5063af=_0x5822b6[_0x3cf804])&&(_0x30c83f=(_0x30b75d?_0x5063af(_0x599bb3,_0x58ecd1,_0x30c83f):_0x5063af(_0x30c83f))||_0x30c83f);return _0x30b75d&&_0x30c83f&&_0x14b01e(_0x599bb3,_0x58ecd1,_0x30c83f),_0x30c83f;},_0x95102e=(_0x42c056,_0x1ddb93)=>(_0x2dc6e5,_0x56f1e)=>_0x1ddb93(_0x2dc6e5,_0x56f1e,_0x42c056);let _0x49cc76=class{constructor(_0x58fe76,_0x1280ec){const _0x12fd62=_0x474fca;this[_0x12fd62(0x306)]=_0x58fe76,this[_0x12fd62(0x190)]=_0x1280ec;}[_0x474fca(0x31d)](_0x4c754c){const _0x1533c6=_0x474fca;var _0x11e81e;const _0x4d6081=this[_0x1533c6(0x306)][_0x1533c6(0x261)](_0x4b287a[_0x1533c6(0x41a)]),_0x53e679=(_0x11e81e=_0x4d6081[_0x1533c6(0x196)]())!=null?_0x11e81e:[],_0x27f735=_0x53e679==null?void 0x0:_0x53e679[_0x1533c6(0x18f)](_0x4b287a[_0x1533c6(0x40e)]);if(_0x27f735[_0x1533c6(0x2b9)]===0x0)return;const _0x44f781=[{'id':_0x1533c6(0x21b),'params':{'unitId':_0x4c754c['unitID'],'actions':null,'textRanges':_0x27f735}}],_0x514a17=this[_0x1533c6(0x190)]['transformMutationsWithChangeset'](_0x4c754c,_0x44f781);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x514a17))throw _0x514a17[_0x1533c6(0xf5)];const _0x569e9a=_0x514a17[_0x1533c6(0x43b)][0x0][_0x1533c6(0xe6)]['textRanges'];Array[_0x1533c6(0x2c8)](_0x569e9a)&&_0x569e9a[_0x1533c6(0x2b9)]&&_0x4d6081[_0x1533c6(0x42e)](_0x569e9a,!0x1);}};_0x49cc76=_0x1d3064([_0x95102e(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x95102e(0x1,_0x1524d[_0x474fca(0x439)])],_0x49cc76);function _0x234122(_0x55ae99){const _0x20310a=_0x474fca;let _0x53c336='';for(const _0x51ae70 of _0x55ae99){const {startOffset:_0x509182,endOffset:_0x2000b8,isActive:_0x2c2e2a}=_0x51ae70;_0x53c336[_0x20310a(0x2b9)]&&(_0x53c336+=','),_0x53c336+=_0x509182+':'+_0x2000b8+':'+(_0x2c2e2a?'1':'0');}return _0x53c336;}function _0x20f365(_0x307163){const _0x159254=_0x474fca,_0x1ea399=_0x307163['split'](','),_0xcea04d=[];for(const _0x4be379 of _0x1ea399){const [_0x3c3196,_0x4e5476,_0x142c06]=_0x4be379[_0x159254(0x14e)](':');_0xcea04d[_0x159254(0x277)]({'startOffset':Number(_0x3c3196),'endOffset':Number(_0x4e5476),'collapsed':_0x3c3196===_0x4e5476,'isActive':_0x142c06==='1'});}return _0xcea04d[_0x159254(0x2f4)](_0x1ee79a=>_0x1ee79a[_0x159254(0x2d1)])||(_0xcea04d[0x0][_0x159254(0x2d1)]=!0x0),_0xcea04d;}class _0x17ef3e extends _0x132eb9['RxDisposable']{constructor(){const _0x256868=_0x474fca;super(...arguments),_0x3b7d06(this,_0x256868(0x2ca),new _0x3639ee[(_0x256868(0x2a0))](null)),_0x3b7d06(this,_0x256868(0xe2),this[_0x256868(0x2ca)]['asObservable']());}[_0x474fca(0x3d0)](_0x314573){const _0xa895e9=_0x474fca,{unitID:_0x41fe89,memberID:_0x5a8a55,textRanges:_0x269fe8}=_0x314573,_0xd38896=_0x234122(_0x269fe8),_0x4ce8d7={'unitID':_0x41fe89,'memberID':_0x5a8a55,'selection':_0xd38896};this[_0xa895e9(0x2ca)][_0xa895e9(0x452)](_0x4ce8d7);}}var _0xbbd442=Object[_0x474fca(0x109)],_0x5ee501=Object[_0x474fca(0xcc)],_0x4bcdf9=(_0x8fafec,_0x5a5866,_0x560b34,_0xff501b)=>{const _0x4e952a=_0x474fca;for(var _0x5423d7=_0xff501b>0x1?void 0x0:_0xff501b?_0x5ee501(_0x5a5866,_0x560b34):_0x5a5866,_0x45ebfb=_0x8fafec[_0x4e952a(0x2b9)]-0x1,_0x4d8776;_0x45ebfb>=0x0;_0x45ebfb--)(_0x4d8776=_0x8fafec[_0x45ebfb])&&(_0x5423d7=(_0xff501b?_0x4d8776(_0x5a5866,_0x560b34,_0x5423d7):_0x4d8776(_0x5423d7))||_0x5423d7);return _0xff501b&&_0x5423d7&&_0xbbd442(_0x5a5866,_0x560b34,_0x5423d7),_0x5423d7;},_0x46533d=(_0x1016e9,_0x1a6f7c)=>(_0x20860c,_0x4df265)=>_0x1a6f7c(_0x20860c,_0x4df265,_0x1016e9);function _0x22d4b2(_0x1d6fea){const _0x5855d3=_0x474fca,{unitID:_0x3a279e,mutations:_0x23d0e0}=_0x1d6fea;return{'unitId':_0x3a279e,'subUnitId':_0x23d0e0[0x0][_0x5855d3(0xe6)][_0x5855d3(0x2ac)]};}let _0x40081e=class{constructor(_0x5bc561,_0x2a7b9f){const _0x2112e3=_0x474fca;this[_0x2112e3(0x306)]=_0x5bc561,this['_transformService']=_0x2a7b9f;}[_0x474fca(0x31d)](_0x3c0228){const _0x47fcec=_0x474fca;var _0x20cc48,_0x2449cc,_0x487ff1;const _0x4f48bd=this[_0x47fcec(0x306)]['get'](_0x21d024[_0x47fcec(0x3d9)]),{unitId:_0x454a09,subUnitId:_0x140109}=_0x22d4b2(_0x3c0228),_0x4fa2a1=_0x4f48bd[_0x47fcec(0x18e)](_0x454a09)['getCurrentSelections']();if(_0x4fa2a1['length']===0x0||!_0x454a09||!_0x140109)return;const _0x45fa31=[{'id':_0x21d024[_0x47fcec(0x303)]['id'],'params':{'unitId':_0x454a09,'subUnitId':_0x140109,'selections':_0x132eb9[_0x47fcec(0x44f)][_0x47fcec(0x414)](_0x4fa2a1)}}],_0x4b7849=this[_0x47fcec(0x190)][_0x47fcec(0x1a1)](_0x3c0228,_0x45fa31);if(!_0x1524d[_0x47fcec(0x286)](_0x4b7849))throw _0x4b7849[_0x47fcec(0xf5)];const _0x590d55=(_0x487ff1=(_0x2449cc=(_0x20cc48=_0x4b7849[_0x47fcec(0x43b)][0x0])==null?void 0x0:_0x20cc48[_0x47fcec(0xe6)])==null?void 0x0:_0x2449cc[_0x47fcec(0x1a5)])!=null?_0x487ff1:_0x4fa2a1;Array[_0x47fcec(0x2c8)](_0x590d55)&&_0x590d55[_0x47fcec(0x2b9)]&&this[_0x47fcec(0x306)][_0x47fcec(0x261)](_0x132eb9[_0x47fcec(0x1f1)])[_0x47fcec(0x15b)](_0x21d024[_0x47fcec(0x303)]['id'],{'unitId':_0x454a09,'subUnitId':_0x140109,'selections':_0x590d55});}};_0x40081e=_0x4bcdf9([_0x46533d(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x46533d(0x1,_0x1524d[_0x474fca(0x439)])],_0x40081e);const _0x137594=new Set([_0x21d024[_0x474fca(0x1e5)]['id']]);function _0x5b005e(_0x11f0fa,_0x349d05,_0xb0d2f7,_0x59d751,_0x41cdcc){const _0x18db3a=_0x474fca;var _0x2d3e41,_0x65a80c,_0xae6617,_0x4efbdf;const _0x3db955=[];for(const _0x2c757a of _0x11f0fa)if(_0x137594[_0x18db3a(0x400)](_0x2c757a['id'])){if(_0x3db955['length']>0x0)break;_0x3db955[_0x18db3a(0x277)](_0x2c757a);break;}else _0x3db955[_0x18db3a(0x277)](_0x2c757a);const _0x3bc700=(_0x65a80c=(_0x2d3e41=_0x41cdcc[_0x18db3a(0x42d)]())==null?void 0x0:_0x2d3e41[_0x18db3a(0x1c6)])!=null?_0x65a80c:_0x18db3a(0x391),_0x167195=(_0x4efbdf=(_0xae6617=_0x41cdcc['getCurrentUser']())==null?void 0x0:_0xae6617[_0x18db3a(0x26a)])!=null?_0x4efbdf:'unknown';return{'changeset':{'unitID':_0x349d05,'type':_0x1524d['mapDocumentTypeToUniverType'](_0xb0d2f7[_0x18db3a(0x2b8)](_0x349d05)),'baseRev':_0x59d751[_0x18db3a(0x3c8)](_0x349d05),'revision':0x0,'userID':_0x3bc700,'memberID':_0x167195,'mutations':_0x3db955},'pendingMutations':_0x11f0fa[_0x18db3a(0x417)](_0x3db955[_0x18db3a(0x2b9)])};}function _0x2e6053(_0x1db28e,_0x11c8cf,_0x2e5519,_0x1bf6e6,_0x16912f){const _0x24f785=_0x474fca;var _0x27d385,_0xf0f473,_0x2feadf,_0x2c2eb6;const _0x5877f4=[_0x1db28e[_0x24f785(0xea)]((_0x280f53,_0x45c97e)=>{const _0x3bd287=_0x24f785;var _0x555282;const {id:_0x437e17}=_0x280f53,{id:_0x1796c2,type:_0x45507a}=_0x45c97e,_0x38a325=(_0x555282=_0x280f53['params'])!=null?_0x555282:{'actions':null},_0x30605f=_0x45c97e['params'];if(_0x437e17&&_0x437e17!==_0x1796c2)throw new Error(_0x3bd287(0x11f)+_0x437e17+'\x20-\x20'+_0x1796c2+'.');return{..._0x280f53,'id':_0x1796c2,'type':_0x45507a,'params':{'unitId':_0x30605f[_0x3bd287(0xa5)],'textRanges':_0x30605f[_0x3bd287(0x34e)],'actions':_0x132eb9['JSONX'][_0x3bd287(0x2cf)](_0x38a325[_0x3bd287(0xaf)],_0x30605f['actions'])}};},{})],_0x61af2d=(_0xf0f473=(_0x27d385=_0x16912f[_0x24f785(0x42d)]())==null?void 0x0:_0x27d385[_0x24f785(0x1c6)])!=null?_0xf0f473:_0x24f785(0x391),_0x30a569=(_0x2c2eb6=(_0x2feadf=_0x16912f[_0x24f785(0x42d)]())==null?void 0x0:_0x2feadf[_0x24f785(0x26a)])!=null?_0x2c2eb6:'unknown';return{'changeset':{'unitID':_0x11c8cf,'type':_0x1524d[_0x24f785(0x2ae)](_0x2e5519[_0x24f785(0x2b8)](_0x11c8cf)),'baseRev':_0x1bf6e6[_0x24f785(0x3c8)](_0x11c8cf),'revision':0x0,'userID':_0x61af2d,'memberID':_0x30a569,'mutations':_0x5877f4},'pendingMutations':[]};}const _0x5f2cd2={'id':_0x21d024['EmptyMutation']['id'],'type':_0x132eb9['CommandType'][_0x474fca(0x14f)],'params':{}};var _0x3e8df9=Object[_0x474fca(0x109)],_0x1acbe1=Object[_0x474fca(0xcc)],_0x5bbf9a=(_0x5edd12,_0x266578,_0x223452,_0x21fd93)=>{for(var _0x5f4eac=_0x21fd93>0x1?void 0x0:_0x21fd93?_0x1acbe1(_0x266578,_0x223452):_0x266578,_0x4b567f=_0x5edd12['length']-0x1,_0x1ca9db;_0x4b567f>=0x0;_0x4b567f--)(_0x1ca9db=_0x5edd12[_0x4b567f])&&(_0x5f4eac=(_0x21fd93?_0x1ca9db(_0x266578,_0x223452,_0x5f4eac):_0x1ca9db(_0x5f4eac))||_0x5f4eac);return _0x21fd93&&_0x5f4eac&&_0x3e8df9(_0x266578,_0x223452,_0x5f4eac),_0x5f4eac;},_0x5c3c15=(_0x5e1cf7,_0x1eb150)=>(_0x5caca1,_0x434198)=>_0x1eb150(_0x5caca1,_0x434198,_0x5e1cf7),_0x3e6ce=(_0x35410c=>(_0x35410c[_0x474fca(0x283)]=_0x474fca(0x137),_0x35410c['SYNCED']=_0x474fca(0xd5),_0x35410c['PENDING']=_0x474fca(0x39e),_0x35410c[_0x474fca(0x3be)]=_0x474fca(0x152),_0x35410c[_0x474fca(0x198)]='awaiting_with_pending',_0x35410c['FETCH_MISS']='fetch_missing',_0x35410c[_0x474fca(0xc5)]=_0x474fca(0xca),_0x35410c[_0x474fca(0x35a)]=_0x474fca(0x2b3),_0x35410c))(_0x3e6ce||{});class _0x13eb33{constructor(_0x37192b,_0x2eb42d,_0x105855,_0x43d92d,_0x11772d,_0x4fbeaf,_0x70b21,_0x220e51,_0x2997a9){const _0x3c013d=_0x474fca;_0x3b7d06(this,'_awaitingChangeset',null),_0x3b7d06(this,'_pendingMutations',[]),(this['unitID']=_0x37192b,this['type']=_0x2eb42d,this[_0x3c013d(0x3f7)]=_0x11772d,this[_0x3c013d(0x1c9)]=_0x4fbeaf,this[_0x3c013d(0x386)]=_0x70b21,this[_0x3c013d(0x257)]=_0x220e51,this[_0x3c013d(0x40b)]=_0x2997a9,this['_awaitingChangeset']=_0x105855,this['_pendingMutations']=_0x43d92d);}[_0x474fca(0x275)](_0x9cfedb){const _0x4d4615=_0x474fca,_0x3e7d32=this[_0x4d4615(0x257)][_0x4d4615(0x3c8)](this[_0x4d4615(0x176)]);return _0x9cfedb[_0x4d4615(0x158)]>_0x3e7d32+0x1?(this[_0x4d4615(0x3f7)][_0x4d4615(0x14a)]({'from':_0x3e7d32,'to':_0x9cfedb[_0x4d4615(0x158)]-0x1}),!0x0):!0x1;}[_0x474fca(0x15d)](_0x3cea2f){const _0x3f73b6=_0x474fca;this[_0x3f73b6(0x386)][_0x3f73b6(0x32a)](this[_0x3f73b6(0x176)],_0x3cea2f);}['_transformSelections'](_0x5d4f93){const _0x927c26=_0x474fca;var _0xe502d9,_0x4fc856;(_0x4fc856=(_0xe502d9=this[_0x927c26(0x3f7)])[_0x927c26(0x2f1)])==null||_0x4fc856[_0x927c26(0x1c7)](_0xe502d9,_0x5d4f93);}['_transformIMECache'](_0x5501f5){const _0x2a2c56=_0x474fca;var _0x408924,_0x479cab;return(_0x479cab=(_0x408924=this[_0x2a2c56(0x3f7)])['onTransformIME'])==null?void 0x0:_0x479cab[_0x2a2c56(0x1c7)](_0x408924,_0x5501f5);}[_0x474fca(0x12c)](_0x417c99){const _0x246dad=_0x474fca;var _0x3e996a,_0x5e3c44,_0x42278e;return(_0x42278e=(_0x5e3c44=(_0x3e996a=this['_handler'])[_0x246dad(0x313)])==null?void 0x0:_0x5e3c44[_0x246dad(0x1c7)](_0x3e996a,_0x417c99))!=null?_0x42278e:_0x417c99;}[_0x474fca(0x444)](_0x586c5f){const _0x395f4c=_0x474fca;var _0xd8a386,_0x2e3808;if(this['type']===_0x2f5f8c[_0x395f4c(0x14d)]){const {unitID:_0x20c347,mutations:_0x738cc2,memberID:_0x3bfb61}=_0x586c5f,_0xaaa7bd=_0x738cc2[0x0]['params']['textRanges'];Array['isArray'](_0xaaa7bd)&&_0xaaa7bd[_0x395f4c(0x2b9)]>0x0&&((_0x2e3808=(_0xd8a386=this[_0x395f4c(0x3f7)])['onSyncEditingCollabCursor'])==null||_0x2e3808[_0x395f4c(0x1c7)](_0xd8a386,{'unitID':_0x20c347,'memberID':_0x3bfb61,'textRanges':_0xaaa7bd}));}}['_updateLocalCache'](){const _0x5c4544=_0x474fca;this[_0x5c4544(0x40b)]['updateOfflineData'](this[_0x5c4544(0x176)],this[_0x5c4544(0x11a)],this[_0x5c4544(0x2dc)],this['_pendingMutations']);}[_0x474fca(0x1d6)](){const _0x59e47f=_0x474fca;return this['_revisionService'][_0x59e47f(0x3c8)](this['unitID']);}[_0x474fca(0x127)](){const _0x32cf0c=_0x474fca;this['_revisionService'][_0x32cf0c(0x2cc)](this[_0x32cf0c(0x176)]);}[_0x474fca(0xf1)](_0x46319a){const _0x52867e=_0x474fca;var _0x24ddb5;const _0x592c9f=this['_transformRemoteChangesetByIMECache'](_0x46319a),_0x39c008=_0x132eb9[_0x52867e(0x2e0)](_0x592c9f[_0x52867e(0x256)],this[_0x52867e(0x1c9)],{'fromCollab':!0x0});if(!_0x39c008[_0x52867e(0x243)])throw _0x39c008[_0x52867e(0xf5)]instanceof Error?_0x39c008[_0x52867e(0xf5)]:new Error((_0x24ddb5=_0x39c008[_0x52867e(0xf5)])!=null?_0x24ddb5:_0x52867e(0x38e));this['_transformIMECache'](_0x592c9f),this[_0x52867e(0x15d)](_0x46319a),this['_transformSelections'](_0x592c9f),this[_0x52867e(0x444)](_0x592c9f),this[_0x52867e(0x127)]();}}let _0x35b41b=class extends _0x13eb33{constructor(_0x884a7e,_0x59c432,_0x3b0f85,_0x4e27ee,_0x19fc33,_0x28c34b,_0x2a76de,_0xfa6b4f,_0x42c37a,_0x4076b0){const _0x5e2523=_0x474fca;super(_0x884a7e,_0x59c432,null,[],_0x3b0f85,_0xfa6b4f,_0x2a76de,_0x4e27ee,_0x19fc33),_0x3b7d06(this,_0x5e2523(0x332),_0x5e2523(0xd5)),(this['_injector']=_0x28c34b,this[_0x5e2523(0x1ac)]=_0x42c37a,this[_0x5e2523(0x190)]=_0x4076b0);}[_0x474fca(0x1c2)](_0x36c556){const _0x4943c4=_0x474fca,_0x4a3db9=this[_0x4943c4(0x306)][_0x4943c4(0x192)](_0x4aa012,this['unitID'],this['type'],[_0x36c556],this[_0x4943c4(0x3f7)]);return _0x4a3db9['_schedule'](),_0x4a3db9[_0x4943c4(0x237)](),_0x4a3db9;}[_0x474fca(0x124)](_0x2d7931){const _0x6bd58f=_0x474fca;if(this[_0x6bd58f(0x275)](_0x2d7931))return this['_injector'][_0x6bd58f(0x192)](_0x3dbf10,this[_0x6bd58f(0x176)],this[_0x6bd58f(0x11a)],null,[],null,[_0x2d7931],this[_0x6bd58f(0x3f7)]);try{const _0x341e02=this[_0x6bd58f(0x190)]['transformMutationsWithChangeset'](_0x2d7931,[_0x5f2cd2]);if(_0x1524d[_0x6bd58f(0x286)](_0x341e02)){const {c1Prime:_0x168383}=_0x341e02;return this[_0x6bd58f(0xf1)](_0x168383),this;}throw _0x341e02[_0x6bd58f(0xf5)];}catch(_0x317654){return this[_0x6bd58f(0x1ac)][_0x6bd58f(0xf5)](_0x317654),this[_0x6bd58f(0x1f3)](!0x1);}}[_0x474fca(0x1f3)](_0x587de0){const _0x5903b4=_0x474fca;return this[_0x5903b4(0x306)][_0x5903b4(0x192)](_0xdece6c,this[_0x5903b4(0x176)],this[_0x5903b4(0x11a)],null,[],this[_0x5903b4(0x3f7)],_0x587de0);}[_0x474fca(0x2c1)](){const _0x49d1f3=_0x474fca;throw new Error(_0x49d1f3(0x221));}['onRemoteRej'](){const _0x4313d0=_0x474fca;throw new Error(_0x4313d0(0x1c5));}[_0x474fca(0x12b)](){const _0x2c0f31=_0x474fca;return this[_0x2c0f31(0x306)][_0x2c0f31(0x192)](_0x2939d6,this[_0x2c0f31(0x176)],this['type'],null,[],this['_handler']);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x3b3e7c=_0x474fca;throw new Error(_0x3b3e7c(0x105));}};_0x35b41b=_0x5bbf9a([_0x5c3c15(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x1524d['RevisionService'])),_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x48d167['LocalCacheService'])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x1524d[_0x474fca(0x439)])],_0x35b41b);let _0x4aa012=class extends _0x13eb33{constructor(_0x572693,_0x257aeb,_0x25b670,_0x6fb24b,_0x1ae69a,_0xba16cd,_0xb5652b,_0x5905af,_0x29d314,_0x1b58a2,_0x5c7a03,_0x39281c,_0x3113de,_0x290cf4){const _0x48207a=_0x474fca;super(_0x572693,_0x257aeb,null,_0x25b670,_0x6fb24b,_0x1b58a2,_0x290cf4,_0xba16cd,_0xb5652b),_0x3b7d06(this,_0x48207a(0x332),_0x48207a(0x39e)),_0x3b7d06(this,_0x48207a(0x3d2),null),_0x3b7d06(this,_0x48207a(0x338),null),(this[_0x48207a(0x306)]=_0x1ae69a,this[_0x48207a(0x205)]=_0x5905af,this[_0x48207a(0x1ac)]=_0x29d314,this['_configService']=_0x5c7a03,this[_0x48207a(0x190)]=_0x39281c,this[_0x48207a(0x1bd)]=_0x3113de);}[_0x474fca(0x1c2)](_0x3f430c){const _0x1614e8=_0x474fca;return this['_pendingMutations'][_0x1614e8(0x277)](_0x3f430c),this['_updateLocalCache'](),this;}[_0x474fca(0x124)](_0x33082d){const _0x5d4a6b=_0x474fca;if(this[_0x5d4a6b(0x275)](_0x33082d))return this[_0x5d4a6b(0x285)](),this[_0x5d4a6b(0x306)]['createInstance'](_0x3dbf10,this[_0x5d4a6b(0x176)],this[_0x5d4a6b(0x11a)],null,this['_pendingMutations'],null,[_0x33082d],this[_0x5d4a6b(0x3f7)]);try{const _0x5ae36c=this[_0x5d4a6b(0x190)]['transformMutationsWithChangeset'](_0x33082d,this['_pendingMutations']);if(_0x1524d[_0x5d4a6b(0x286)](_0x5ae36c)){const {c1Prime:_0x591e8d,m2Prime:_0x26c5ab}=_0x5ae36c;this[_0x5d4a6b(0xf1)](_0x591e8d);const _0x6b16f0=this['_injector'][_0x5d4a6b(0x192)](_0x4aa012,this[_0x5d4a6b(0x176)],this[_0x5d4a6b(0x11a)],_0x26c5ab,this[_0x5d4a6b(0x3f7)]);return this[_0x5d4a6b(0x285)](),_0x6b16f0[_0x5d4a6b(0x307)](this[_0x5d4a6b(0x3d2)]?Math[_0x5d4a6b(0xfc)](0x0,new Date()[_0x5d4a6b(0x126)]()-this[_0x5d4a6b(0x3d2)]):this['_getSendChangesetTimeout']()),_0x6b16f0;}throw _0x5ae36c[_0x5d4a6b(0xf5)];}catch(_0x1dad9f){return this[_0x5d4a6b(0x1ac)]['error'](_0x1dad9f),this[_0x5d4a6b(0x1f3)](!0x1);}}['onRemoteAck'](){const _0x310fea=_0x474fca;throw new Error(_0x310fea(0x12f));}['onRemoteRej'](){const _0x124a6b=_0x474fca;throw new Error(_0x124a6b(0x2ba));}[_0x474fca(0x12b)](){const _0x4d44b8=_0x474fca;return this['_clearScheduledTask'](),this[_0x4d44b8(0x306)][_0x4d44b8(0x192)](_0x2939d6,this[_0x4d44b8(0x176)],this[_0x4d44b8(0x11a)],null,this[_0x4d44b8(0x44b)],this[_0x4d44b8(0x3f7)]);}['toggleOnline'](){return this;}[_0x474fca(0x307)](_0x1e58d9){const _0x35a08c=_0x474fca;_0x1e58d9=_0x1e58d9!=null?_0x1e58d9:this['_getSendChangesetTimeout'](),this[_0x35a08c(0x3d2)]=new Date()[_0x35a08c(0x126)](),this[_0x35a08c(0x338)]=setTimeout(()=>{const _0x298dbf=_0x35a08c;this[_0x298dbf(0x285)]();let _0x52a842=null;switch(this[_0x298dbf(0x11a)]){case _0x2f5f8c[_0x298dbf(0x1a0)]:{_0x52a842=_0x5b005e(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this[_0x298dbf(0x205)]);break;}case _0x2f5f8c['UNIVER_DOC']:{this[_0x298dbf(0x44b)][_0x298dbf(0xf3)](_0x2847d9=>_0x2847d9['id']===_0x4b287a['RichTextEditingMutation']['id'])?_0x52a842=_0x2e6053(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this[_0x298dbf(0x205)]):_0x52a842=_0x5b005e(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this['_memberService']);break;}default:throw new Error(_0x298dbf(0x272)+this[_0x298dbf(0x11a)]+_0x298dbf(0x264));}const {changeset:_0x58018c,pendingMutations:_0x3a2829}=_0x52a842;this[_0x298dbf(0x3f7)][_0x298dbf(0x249)](_0x58018c);const _0x2ab5d7=_0x3a2829[_0x298dbf(0x2b9)]?this[_0x298dbf(0x306)][_0x298dbf(0x192)](_0xb8f612,this['unitID'],this[_0x298dbf(0x11a)],_0x58018c,_0x3a2829,this[_0x298dbf(0x3f7)]):this[_0x298dbf(0x306)]['createInstance'](_0x13cd54,this['unitID'],this['type'],_0x58018c,this[_0x298dbf(0x3f7)]);_0x2ab5d7[_0x298dbf(0x237)](),this[_0x298dbf(0x3f7)][_0x298dbf(0x2ea)](this,_0x2ab5d7);},_0x1e58d9);}[_0x474fca(0x368)](){const _0x35bd21=_0x474fca;var _0x37ba98;return(_0x37ba98=this[_0x35bd21(0x26f)]['getConfig'](_0x5036b1))!=null?_0x37ba98:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x834181=_0x474fca;this[_0x834181(0x338)]!=null&&(clearTimeout(this[_0x834181(0x338)]),this[_0x834181(0x338)]=null);}[_0x474fca(0x1f3)](_0x7fb77d){const _0x59388b=_0x474fca;return this['_clearScheduledTask'](),this[_0x59388b(0x306)]['createInstance'](_0xdece6c,this[_0x59388b(0x176)],this[_0x59388b(0x11a)],null,this['_pendingMutations'],this['_handler'],_0x7fb77d);}};_0x4aa012=_0x5bbf9a([_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x6,_0x132eb9['Inject'](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x7,_0x132eb9['Inject'](_0x191a69)),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x46a)]),_0x5c3c15(0xb,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xc,_0x132eb9[_0x474fca(0x22d)]),_0x5c3c15(0xd,_0x132eb9[_0x474fca(0x1e4)])],_0x4aa012);let _0x13cd54=class extends _0x13eb33{constructor(_0x1ac84b,_0x4df3d3,_0x3b6aef,_0x2ee23d,_0x6193ef,_0x418ec5,_0x1f452f,_0x2339bb,_0x536453,_0x33e8e4,_0x9b3da2){const _0x3784c1=_0x474fca;super(_0x1ac84b,_0x4df3d3,_0x3b6aef,[],_0x2ee23d,_0x2339bb,_0x9b3da2,_0x418ec5,_0x1f452f),_0x3b7d06(this,_0x3784c1(0x332),'awaiting'),(this[_0x3784c1(0x306)]=_0x6193ef,this[_0x3784c1(0x1ac)]=_0x536453,this['_transformService']=_0x33e8e4);}['appendMutation'](_0x11f580){const _0x3cc144=_0x474fca,_0x5eaeea=this[_0x3cc144(0x306)][_0x3cc144(0x192)](_0xb8f612,this[_0x3cc144(0x176)],this[_0x3cc144(0x11a)],this['_awaitingChangeset'],[_0x11f580],this[_0x3cc144(0x3f7)]);return _0x5eaeea[_0x3cc144(0x237)](),_0x5eaeea;}['onRemoteChangeset'](_0x208fb6){const _0x4f8b0f=_0x474fca;if(this['_checkMissing'](_0x208fb6))return this['_injector'][_0x4f8b0f(0x192)](_0x3dbf10,this['unitID'],this[_0x4f8b0f(0x11a)],this[_0x4f8b0f(0x2dc)],[],null,[_0x208fb6],this[_0x4f8b0f(0x3f7)]);try{const _0x56c570=this[_0x4f8b0f(0x190)][_0x4f8b0f(0x355)]([_0x208fb6],[this[_0x4f8b0f(0x2dc)]],!0x1);if(_0x1524d[_0x4f8b0f(0x467)](_0x56c570)){const {c1Prime:_0x5cf385,c2Prime:_0x18893b}=_0x56c570;this[_0x4f8b0f(0xf1)](_0x5cf385[0x0]),_0x18893b[0x0][_0x4f8b0f(0x100)]=this['_getCurrentRevision']();const _0x3b8a21=this[_0x4f8b0f(0x306)]['createInstance'](_0x13cd54,this[_0x4f8b0f(0x176)],this[_0x4f8b0f(0x11a)],_0x18893b[0x0],this[_0x4f8b0f(0x3f7)]);return _0x3b8a21[_0x4f8b0f(0x237)](),_0x3b8a21;}return this['_onConflict'](!0x1);}catch(_0x24c7e4){return this[_0x4f8b0f(0x1ac)]['error'](_0x24c7e4),this[_0x4f8b0f(0x1f3)](!0x1);}}[_0x474fca(0x2c1)](_0x13ba25){const _0x54bf2c=_0x474fca,_0x4cc623=this['_revisionService'][_0x54bf2c(0x3c8)](this[_0x54bf2c(0x176)]);if(_0x13ba25[_0x54bf2c(0x158)]<_0x4cc623-0x1)return this;if(this[_0x54bf2c(0x275)](_0x13ba25))return this[_0x54bf2c(0x306)]['createInstance'](_0x3dbf10,this['unitID'],this['type'],null,[],this[_0x54bf2c(0x2dc)],[],this[_0x54bf2c(0x3f7)]);this[_0x54bf2c(0x127)]();const _0x326129=this[_0x54bf2c(0x306)][_0x54bf2c(0x192)](_0x35b41b,this[_0x54bf2c(0x176)],this[_0x54bf2c(0x11a)],this[_0x54bf2c(0x3f7)]);return _0x326129[_0x54bf2c(0x237)](),_0x326129;}[_0x474fca(0x246)](_0x71564e){const _0x14d73f=_0x474fca;return this[_0x14d73f(0x1f3)](!!(_0x71564e!=null&&_0x71564e['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x34f7db=_0x474fca;return this[_0x34f7db(0x306)][_0x34f7db(0x192)](_0x2939d6,this['unitID'],this[_0x34f7db(0x11a)],this[_0x34f7db(0x2dc)],[],this['_handler']);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x5a0da6=_0x474fca;this[_0x5a0da6(0x3f7)]['onSendChangeset'](this[_0x5a0da6(0x2dc)]);}[_0x474fca(0x1f3)](_0x2e19ee){const _0x4a7653=_0x474fca;return this[_0x4a7653(0x306)][_0x4a7653(0x192)](_0xdece6c,this[_0x4a7653(0x176)],this['type'],this[_0x4a7653(0x2dc)],[],this['_handler'],_0x2e19ee);}};_0x13cd54=_0x5bbf9a([_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x1e4)])],_0x13cd54);let _0xb8f612=class extends _0x13eb33{constructor(_0x350aa7,_0x23518c,_0x185a66,_0x5f35a3,_0x471c98,_0x3fb904,_0xe248c6,_0x2b9ed9,_0x469dd3,_0x1372be,_0x5c2609,_0x38a0ca){const _0x2dd55a=_0x474fca;super(_0x350aa7,_0x23518c,_0x185a66,_0x5f35a3,_0x471c98,_0x469dd3,_0x38a0ca,_0xe248c6,_0x2b9ed9),_0x3b7d06(this,'status',_0x2dd55a(0x47a)),(this[_0x2dd55a(0x306)]=_0x3fb904,this[_0x2dd55a(0x1ac)]=_0x1372be,this[_0x2dd55a(0x190)]=_0x5c2609);}[_0x474fca(0x1c2)](_0x137dfe){const _0x85af50=_0x474fca;return this[_0x85af50(0x44b)][_0x85af50(0x277)](_0x137dfe),this;}[_0x474fca(0x124)](_0x111aaf){const _0x768fe3=_0x474fca;if(this[_0x768fe3(0x275)](_0x111aaf))return this['_injector'][_0x768fe3(0x192)](_0x3dbf10,this[_0x768fe3(0x176)],this[_0x768fe3(0x11a)],this[_0x768fe3(0x2dc)],this['_pendingMutations'],null,[_0x111aaf],this['_handler']);try{const _0x1ccabe=this[_0x768fe3(0x190)][_0x768fe3(0x355)]([_0x111aaf],[this[_0x768fe3(0x2dc)]],!0x1);if(_0x1524d[_0x768fe3(0x467)](_0x1ccabe)){const {c1Prime:_0x58e555,c2Prime:_0x4d3dbe}=_0x1ccabe,_0x1b0d8a=this['_transformService']['transformMutationsWithChangeset'](_0x58e555[0x0],this[_0x768fe3(0x44b)]);if(_0x1524d[_0x768fe3(0x286)](_0x1b0d8a)){const {c1Prime:_0x5db8e8,m2Prime:_0x1e78b5}=_0x1b0d8a;return this[_0x768fe3(0xf1)](_0x5db8e8),_0x4d3dbe[0x0]['baseRev']=this[_0x768fe3(0x1d6)](),this[_0x768fe3(0x306)][_0x768fe3(0x192)](_0xb8f612,this['unitID'],this['type'],_0x4d3dbe[0x0],_0x1e78b5,this[_0x768fe3(0x3f7)]);}throw _0x1b0d8a[_0x768fe3(0xf5)];}throw _0x1ccabe['error'];}catch(_0x5e239b){return this[_0x768fe3(0x1ac)]['error'](_0x5e239b),this[_0x768fe3(0x1f3)](!0x1);}}[_0x474fca(0x2c1)](_0x4b31fc){const _0x171b61=_0x474fca;if(this[_0x171b61(0x275)](_0x4b31fc))return this[_0x171b61(0x306)][_0x171b61(0x192)](_0x3dbf10,this[_0x171b61(0x176)],this[_0x171b61(0x11a)],null,this[_0x171b61(0x44b)],this[_0x171b61(0x2dc)],[],this[_0x171b61(0x3f7)]);this[_0x171b61(0x127)]();const _0x1d79ab=this['_injector'][_0x171b61(0x192)](_0x4aa012,this['unitID'],this['type'],this[_0x171b61(0x44b)],this['_handler']);return _0x1d79ab[_0x171b61(0x307)](),_0x1d79ab[_0x171b61(0x237)](),_0x1d79ab;}[_0x474fca(0x246)](_0x405daf){const _0x17d9ce=_0x474fca;return this[_0x17d9ce(0x1f3)](!!(_0x405daf!=null&&_0x405daf['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x5dc24b=_0x474fca;return this[_0x5dc24b(0x306)]['createInstance'](_0x2939d6,this[_0x5dc24b(0x176)],this[_0x5dc24b(0x11a)],this['_awaitingChangeset'],this[_0x5dc24b(0x44b)],this[_0x5dc24b(0x3f7)]);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x456e37=_0x474fca;this[_0x456e37(0x3f7)][_0x456e37(0x249)](this[_0x456e37(0x2dc)]);}[_0x474fca(0x1f3)](_0x486c0a){const _0x5d8ec2=_0x474fca;return this['_injector'][_0x5d8ec2(0x192)](_0xdece6c,this[_0x5d8ec2(0x176)],this[_0x5d8ec2(0x11a)],null,this[_0x5d8ec2(0x44b)],this['_handler'],_0x486c0a);}};_0xb8f612=_0x5bbf9a([_0x5c3c15(0x5,_0x132eb9['Inject'](_0x132eb9['Injector'])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0xa,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xb,_0x132eb9[_0x474fca(0x1e4)])],_0xb8f612);let _0xdece6c=class extends _0x13eb33{constructor(_0x47656d,_0x4895c5,_0x413161,_0x5f02b6,_0x373409,_0x1044f2=!0x1,_0x4b8220,_0x18c5e4,_0x329832,_0x4780e8,_0x53e438,_0x1d5d12,_0x4ce071){const _0x26be22=_0x474fca;super(_0x47656d,_0x4895c5,_0x413161,_0x5f02b6,_0x373409,_0x18c5e4,_0x329832,_0x53e438,_0x4780e8),_0x3b7d06(this,_0x26be22(0x332),_0x26be22(0xca)),(this['_isPermissionRej']=_0x1044f2,this[_0x26be22(0x28c)]=_0x4b8220,this[_0x26be22(0x1fc)]=_0x1d5d12,this[_0x26be22(0x21d)]=_0x4ce071,this['_showConflictNotification'](),this[_0x26be22(0xd4)](),this[_0x26be22(0x18d)]());}[_0x474fca(0x1c2)](){return this;}[_0x474fca(0x124)](){return this;}[_0x474fca(0x2c1)](){return this;}[_0x474fca(0x246)](){return this;}[_0x474fca(0x12b)](){return this;}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0xe535d1=_0x474fca;throw new Error(_0xe535d1(0x1ba));}[_0x474fca(0xd4)](){const _0x585a1c=_0x474fca;this[_0x585a1c(0x40b)][_0x585a1c(0x422)](this['unitID'],this[_0x585a1c(0x11a)],null,[]);}[_0x474fca(0xce)](){const _0xcb0f2b=_0x474fca;this['_isPermissionRej']?this['_notificationService'][_0xcb0f2b(0xac)]({'title':this[_0xcb0f2b(0x1fc)]['t'](_0xcb0f2b(0x228)),'content':this[_0xcb0f2b(0x1fc)]['t']('permission.content'),'type':'error','duration':0x0}):this['_notificationService'][_0xcb0f2b(0xac)]({'title':this[_0xcb0f2b(0x1fc)]['t'](_0xcb0f2b(0x1b2)),'content':this['_localeService']['t'](_0xcb0f2b(0x398)),'type':_0xcb0f2b(0xf5),'duration':0x0});}['_disableEditing'](){const _0x2e5b9e=_0x474fca;this['_permissionService'][_0x2e5b9e(0x485)](new _0x21d024[(_0x2e5b9e(0x33c))](this['unitID'])['id'],!0x1);}};_0xdece6c=_0x5bbf9a([_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x3de)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0x9,_0x132eb9['Inject'](_0x48d167['LocalCacheService'])),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0xb,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x5c3c15(0xc,_0x202279['INotificationService'])],_0xdece6c);let _0x2939d6=class extends _0x13eb33{constructor(_0x39a46b,_0x46c90f,_0x30cfa8,_0x4c4d10,_0x162bcc,_0x296e3c,_0x1de77e,_0xca1546,_0x4dbab6,_0x7d11fa){const _0x4884ae=_0x474fca;super(_0x39a46b,_0x46c90f,_0x30cfa8,_0x4c4d10,_0x162bcc,_0x4dbab6,_0x7d11fa,_0x1de77e,_0xca1546),_0x3b7d06(this,_0x4884ae(0x332),_0x4884ae(0x2b3)),this['_injector']=_0x296e3c;}[_0x474fca(0x1c2)](_0x38ef69){const _0x3e722e=_0x474fca;return this['_pendingMutations']['push'](_0x38ef69),this[_0x3e722e(0x237)](),this;}[_0x474fca(0x124)](_0x2207ef){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x474fca(0x2c1)](){const _0x53bcbb=_0x474fca;throw new Error(_0x53bcbb(0x377));}[_0x474fca(0x246)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x474fca(0x12b)](){return this;}['toggleOnline'](){const _0x5ffd1f=_0x474fca,{_injector:_0x28b28d,_pendingMutations:_0x5763d4,_awaitingChangeset:_0x3beeb9,unitID:_0x5ade85,_handler:_0x14d2db,type:_0x3e92ef}=this,_0x9b7478=_0x2ad01d(_0x28b28d,_0x5ade85,_0x3e92ef,_0x3beeb9,_0x5763d4,_0x14d2db);return _0x9b7478 instanceof _0x4aa012?_0x9b7478[_0x5ffd1f(0x307)]():(_0x9b7478 instanceof _0xb8f612||_0x9b7478 instanceof _0x13cd54)&&_0x9b7478[_0x5ffd1f(0x167)](),_0x9b7478;}['resend'](){const _0x470499=_0x474fca;throw new Error(_0x470499(0x104));}};_0x2939d6=_0x5bbf9a([_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1e4)])],_0x2939d6);let _0x3dbf10=class extends _0x13eb33{constructor(_0x4a8399,_0x5e5cba,_0x537516,_0x11ea42,_0xe56378,_0x178375,_0x568962,_0x5031be,_0x578f8b,_0x3c7788,_0x18a885,_0x339129,_0x1f924f,_0x22f54f){const _0x73bc81=_0x474fca;super(_0x4a8399,_0x5e5cba,_0x537516,_0x11ea42,_0x568962,_0x339129,_0x1f924f,_0x578f8b,_0x3c7788),_0x3b7d06(this,_0x73bc81(0x332),_0x73bc81(0xec)),(this[_0x73bc81(0x364)]=_0xe56378,this[_0x73bc81(0x218)]=_0x178375,this[_0x73bc81(0x306)]=_0x5031be,this[_0x73bc81(0x1ac)]=_0x18a885,this[_0x73bc81(0x190)]=_0x22f54f);}['onMissedChangesetFetched'](_0x390f9b){const _0x3a9209=_0x474fca;try{const _0x4acd00=[..._0x390f9b,...this['_queuedRemoteChangesets']],_0x18fc15=[this[_0x3a9209(0x2dc)]||this[_0x3a9209(0x364)]][_0x3a9209(0x1cd)](_0x145148=>!!_0x145148);let _0x12f17d,_0x5da7bc;if(_0x18fc15[_0x3a9209(0x2b9)]){const _0x5438be=this[_0x3a9209(0x190)][_0x3a9209(0x355)](_0x4acd00,_0x18fc15,!0x1);if(!_0x1524d[_0x3a9209(0x467)](_0x5438be))throw _0x5438be[_0x3a9209(0xf5)];_0x12f17d=_0x5438be[_0x3a9209(0x1f5)],_0x5da7bc=_0x5438be[_0x3a9209(0x14c)];}else _0x12f17d=_0x4acd00,_0x5da7bc=[];let _0x1a9191=this[_0x3a9209(0x44b)];_0x12f17d[_0x3a9209(0x173)](_0x301e83=>{const _0x50569c=_0x3a9209;let _0x6b8a18;if(_0x1a9191[_0x50569c(0x2b9)]){const _0x137a7f=this[_0x50569c(0x190)]['transformMutationsWithChangeset'](_0x301e83,_0x1a9191);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x137a7f))throw _0x137a7f[_0x50569c(0xf5)];_0x6b8a18=_0x137a7f[_0x50569c(0x1f5)],_0x1a9191=_0x137a7f[_0x50569c(0x43b)];}else _0x6b8a18=_0x301e83;this[_0x50569c(0xf1)](_0x6b8a18);}),this[_0x3a9209(0x364)]&&this[_0x3a9209(0x127)](),this[_0x3a9209(0x2dc)]&&_0x5da7bc[_0x3a9209(0x2b9)]&&(_0x5da7bc[0x0]['baseRev']=this[_0x3a9209(0x1d6)]());let _0x2ebd88;if(this[_0x3a9209(0x2dc)]&&_0x1a9191[_0x3a9209(0x2b9)]!==0x0)_0x2ebd88=this[_0x3a9209(0x306)]['createInstance'](_0xb8f612,this[_0x3a9209(0x176)],this[_0x3a9209(0x11a)],_0x5da7bc[0x0],_0x1a9191,this[_0x3a9209(0x3f7)]);else{if(this['_awaitingChangeset']&&_0x1a9191[_0x3a9209(0x2b9)]===0x0)_0x5da7bc[0x0][_0x3a9209(0x100)]=this['_getCurrentRevision'](),_0x2ebd88=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x13cd54,this[_0x3a9209(0x176)],this[_0x3a9209(0x11a)],_0x5da7bc[0x0],this[_0x3a9209(0x3f7)]);else{if(_0x1a9191[_0x3a9209(0x2b9)]!==0x0){const _0x37a2fb=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x4aa012,this[_0x3a9209(0x176)],this['type'],_0x1a9191,this[_0x3a9209(0x3f7)]);_0x37a2fb[_0x3a9209(0x307)](),_0x2ebd88=_0x37a2fb;}else _0x2ebd88=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x35b41b,this['unitID'],this[_0x3a9209(0x11a)],this[_0x3a9209(0x3f7)]);}}return _0x2ebd88['_updateLocalCache'](),_0x2ebd88;}catch(_0xe038c){return this['_logService'][_0x3a9209(0xf5)](_0x3a9209(0x410),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe038c),this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0xdece6c,this['unitID'],this[_0x3a9209(0x11a)],this[_0x3a9209(0x2dc)],this[_0x3a9209(0x44b)],this[_0x3a9209(0x3f7)],!0x1);}}[_0x474fca(0x167)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x474fca(0x1c2)](_0x316644){const _0xda899f=_0x474fca;return this[_0xda899f(0x44b)][_0xda899f(0x277)](_0x316644),this;}['onRemoteChangeset'](_0x46cf80){const _0x376eae=_0x474fca;return this[_0x376eae(0x218)][_0x376eae(0x277)](_0x46cf80),this;}[_0x474fca(0x2c1)](_0x259097){const _0x1e870b=_0x474fca;if(this[_0x1e870b(0x2dc)])return this[_0x1e870b(0x364)]=this[_0x1e870b(0x2dc)],this[_0x1e870b(0x2dc)]=null,this;throw new Error(_0x1e870b(0xe4));}[_0x474fca(0x246)](_0x457d37){const _0x592f0e=_0x474fca;return this[_0x592f0e(0x1f3)](!!(_0x457d37!=null&&_0x457d37['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x4f3f2c=_0x474fca;return this[_0x4f3f2c(0x306)][_0x4f3f2c(0x192)](_0x2939d6,this[_0x4f3f2c(0x176)],this[_0x4f3f2c(0x11a)],this[_0x4f3f2c(0x2dc)],this[_0x4f3f2c(0x44b)],this[_0x4f3f2c(0x3f7)]);}[_0x474fca(0x25a)](){return this;}['_onConflict'](_0xd63299){const _0x26e0bf=_0x474fca;return this[_0x26e0bf(0x306)][_0x26e0bf(0x192)](_0xdece6c,this[_0x26e0bf(0x176)],this[_0x26e0bf(0x11a)],this[_0x26e0bf(0x2dc)],this[_0x26e0bf(0x44b)],this[_0x26e0bf(0x3f7)],_0xd63299);}};_0x3dbf10=_0x5bbf9a([_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1a8)](_0x48d167['LocalCacheService'])),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0xb,_0x132eb9['ICommandService']),_0x5c3c15(0xc,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0xd,_0x1524d[_0x474fca(0x439)])],_0x3dbf10);function _0x2ad01d(_0x5c1524,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdf2e62,_0xdb9748){const _0x567b37=_0x474fca;return _0x199c40&&_0xdf2e62[_0x567b37(0x2b9)]?_0x5c1524[_0x567b37(0x192)](_0xb8f612,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdf2e62,_0xdb9748):_0x199c40?_0x5c1524['createInstance'](_0x13cd54,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdb9748):_0xdf2e62[_0x567b37(0x2b9)]?_0x5c1524[_0x567b37(0x192)](_0x4aa012,_0x5c51aa,_0x7c7ce4,_0xdf2e62,_0xdb9748):_0x5c1524[_0x567b37(0x192)](_0x35b41b,_0x5c51aa,_0x7c7ce4,_0xdb9748);}var _0x5abdea=Object[_0x474fca(0x109)],_0x5cc821=Object[_0x474fca(0xcc)],_0x12d55b=(_0x358546,_0x20dba2,_0x588078,_0x462060)=>{const _0x31d75d=_0x474fca;for(var _0x425133=_0x462060>0x1?void 0x0:_0x462060?_0x5cc821(_0x20dba2,_0x588078):_0x20dba2,_0x4be74f=_0x358546[_0x31d75d(0x2b9)]-0x1,_0x5d0378;_0x4be74f>=0x0;_0x4be74f--)(_0x5d0378=_0x358546[_0x4be74f])&&(_0x425133=(_0x462060?_0x5d0378(_0x20dba2,_0x588078,_0x425133):_0x5d0378(_0x425133))||_0x425133);return _0x462060&&_0x425133&&_0x5abdea(_0x20dba2,_0x588078,_0x425133),_0x425133;},_0x4ddf7c=(_0x121eb2,_0x3cf409)=>(_0x19b82c,_0x522853)=>_0x3cf409(_0x19b82c,_0x522853,_0x121eb2);_0x48d167[_0x474fca(0x251)]=class extends _0x132eb9['RxDisposable']{constructor(_0x34a929,_0x5791f7,_0x3f2591){const _0x268893=_0x474fca;super(),_0x3b7d06(this,_0x268893(0xeb),new Map()),_0x3b7d06(this,_0x268893(0x44d),new _0x3639ee[(_0x268893(0x1cb))]()),(this[_0x268893(0x306)]=_0x34a929,this[_0x268893(0x32f)]=_0x5791f7,this[_0x268893(0x1bd)]=_0x3f2591,this[_0x268893(0x1d5)]());}['dispose'](){const _0x2d8124=_0x474fca;super[_0x2d8124(0x19a)](),this['_entities'][_0x2d8124(0x173)](_0x30e94f=>_0x30e94f[_0x2d8124(0x19a)]()),this['_entities'][_0x2d8124(0x412)]();}[_0x474fca(0x468)](_0x38f885){const _0x58682f=_0x474fca;var _0x429993;return(_0x429993=this['_entities'][_0x58682f(0x261)](_0x38f885))!=null?_0x429993:null;}[_0x474fca(0x1c8)](_0x513a52){const _0x55c8e4=_0x474fca,_0x33867d=this[_0x55c8e4(0x468)](_0x513a52);return _0x33867d?_0x3639ee['of'](_0x33867d):this[_0x55c8e4(0x44d)][_0x55c8e4(0x195)](_0x5d8ab5[_0x55c8e4(0x1cd)](_0x381ac5=>_0x381ac5[_0x55c8e4(0x176)]===_0x513a52));}['_init'](){const _0x1dc355=_0x474fca;this[_0x1dc355(0x1bd)][_0x1dc355(0x25b)](_0x132eb9[_0x1dc355(0x44e)][_0x1dc355(0x1a0)])['pipe'](_0x3639ee[_0x1dc355(0x37a)](this[_0x1dc355(0x2b5)]),_0x5d8ab5[_0x1dc355(0x370)](0x10))[_0x1dc355(0x2e1)](async _0x1a275f=>{const _0x250395=_0x1dc355,_0x1db809=_0x1a275f[_0x250395(0x225)](),_0xcdb38d=await this[_0x250395(0x3ad)](_0x1db809,_0x2f5f8c['UNIVER_SHEET']);this[_0x250395(0xeb)][_0x250395(0xbe)](_0x1db809,_0xcdb38d);}),this['_univerInstanceService'][_0x1dc355(0x25b)](_0x132eb9[_0x1dc355(0x44e)][_0x1dc355(0x14d)])['pipe'](_0x3639ee[_0x1dc355(0x37a)](this['dispose$']),_0x5d8ab5[_0x1dc355(0x370)](0x10))[_0x1dc355(0x195)](_0x5d8ab5[_0x1dc355(0x1cd)](_0x2938ba=>!_0x2938ba[_0x1dc355(0x225)]()['startsWith']('__')))[_0x1dc355(0x2e1)](async _0x4aac91=>{const _0x2b8cad=_0x1dc355,_0x44889a=_0x4aac91[_0x2b8cad(0x225)](),_0xfd7d12=await this[_0x2b8cad(0x3ad)](_0x44889a,_0x2f5f8c[_0x2b8cad(0x14d)]);this[_0x2b8cad(0xeb)][_0x2b8cad(0xbe)](_0x44889a,_0xfd7d12);}),_0x3639ee['merge'](this[_0x1dc355(0x1bd)]['getTypeOfUnitDisposed$'](_0x132eb9['UniverInstanceType']['UNIVER_SHEET']),this[_0x1dc355(0x1bd)][_0x1dc355(0x2b7)](_0x132eb9[_0x1dc355(0x44e)]['UNIVER_DOC']))[_0x1dc355(0x195)](_0x3639ee[_0x1dc355(0x37a)](this[_0x1dc355(0x2b5)]))[_0x1dc355(0x2e1)](_0x240efe=>{const _0x339559=_0x1dc355,_0x57faef=_0x240efe[_0x339559(0x225)](),_0xf5359d=this[_0x339559(0xeb)][_0x339559(0x261)](_0x57faef);_0xf5359d&&(_0xf5359d['dispose'](),this['_entities'][_0x339559(0x224)](_0x57faef));});}async[_0x474fca(0x3ad)](_0x3e1f78,_0x478e86){const _0x1fa046=_0x474fca,_0x42285f=await this[_0x1fa046(0x32f)][_0x1fa046(0x21a)](_0x3e1f78),_0x345b19=this[_0x1fa046(0x306)]['createInstance'](this['_getCtorByUniverType'](_0x478e86),_0x3e1f78,_0x478e86,_0x42285f);return await _0x345b19[_0x1fa046(0x1ed)](),this[_0x1fa046(0x44d)]['next'](_0x345b19),_0x345b19;}[_0x474fca(0x161)](_0x14031e){const _0x3e5182=_0x474fca;switch(_0x14031e){case _0x2f5f8c[_0x3e5182(0x14d)]:return _0x333751;case _0x2f5f8c[_0x3e5182(0x1a0)]:return _0x48d167[_0x3e5182(0x281)];default:throw new Error(_0x3e5182(0xf9)+_0x14031e);}}},_0x48d167['CollaborationController']=_0x12d55b([_0x132eb9['OnLifecycle'](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x48d167[_0x474fca(0x251)]),_0x4ddf7c(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)])),_0x4ddf7c(0x2,_0x132eb9[_0x474fca(0x22d)])],_0x48d167['CollaborationController']);let _0x13bd7a=class extends _0x132eb9['RxDisposable']{constructor(_0xc9867d,_0x2ea5a2,_0x270ca0,_0x43f322,_0x45a445,_0x48d1eb,_0x17d260,_0x4256aa,_0x3bcab7,_0x46a792,_0x1631f1,_0x22d767,_0x58b552){const _0x9e307=_0x474fca;super(),_0x3b7d06(this,_0x9e307(0x138),new _0x3639ee[(_0x9e307(0x2a0))](null)),_0x3b7d06(this,_0x9e307(0x38a),this[_0x9e307(0x138)][_0x9e307(0x39b)]()),_0x3b7d06(this,_0x9e307(0x282)),_0x3b7d06(this,_0x9e307(0x13b),!0x1),_0x3b7d06(this,_0x9e307(0x382),this['state$']['pipe'](_0x5d8ab5['map'](_0xb7b6f7=>_0xb7b6f7?_0xb7b6f7[_0x9e307(0x332)]:_0x3e6ce[_0x9e307(0x35a)]),_0x5d8ab5[_0x9e307(0x426)](0x1))),_0x3b7d06(this,_0x9e307(0x1bc),!0x1),_0x3b7d06(this,'_remoteChangesetQueue',[]),(this[_0x9e307(0x176)]=_0xc9867d,this['_type']=_0x2ea5a2,this[_0x9e307(0x1b5)]=_0x270ca0,this[_0x9e307(0x306)]=_0x43f322,this[_0x9e307(0x40b)]=_0x45a445,this[_0x9e307(0x3bb)]=_0x48d1eb,this['_localeService']=_0x17d260,this[_0x9e307(0x257)]=_0x4256aa,this[_0x9e307(0x1ac)]=_0x3bcab7,this['_commandService']=_0x46a792,this[_0x9e307(0x1af)]=_0x1631f1,this[_0x9e307(0x28c)]=_0x22d767,this[_0x9e307(0x10a)]=_0x58b552);}get[_0x474fca(0x311)](){return this['_state'];}async['init'](){const _0x5c9260=_0x474fca;if(this[_0x5c9260(0x311)])throw new Error(_0x5c9260(0x448));await this[_0x5c9260(0x1d5)]();}['pauseCollaboration'](){const _0x13139c=_0x474fca;return this['_collaborationPaused']=!0x0,_0x132eb9[_0x13139c(0x2c0)](()=>{const _0x53bfc9=_0x13139c;this[_0x53bfc9(0x13b)]=!0x1,this[_0x53bfc9(0x172)]();});}[_0x474fca(0x269)](_0xe5c1ce){const _0x516c32=_0x474fca;this[_0x516c32(0x282)]=_0xe5c1ce,this['_state$'][_0x516c32(0x452)](_0xe5c1ce);}async[_0x474fca(0x1d5)](){const _0x573289=_0x474fca;var _0x418132;return this[_0x573289(0x269)](await this['_createInitialState']()),this[_0x573289(0x10a)]&&((_0x418132=this['_singleActiveUnitService'])==null||_0x418132[_0x573289(0x40f)](this[_0x573289(0x176)]),this['disposeWithMe'](_0x132eb9[_0x573289(0x2c0)](this[_0x573289(0x10a)][_0x573289(0x3e8)](this[_0x573289(0x176)])['subscribe'](_0x5973af=>{const _0x7b4b62=_0x573289;this[_0x7b4b62(0x1ac)][_0x7b4b62(0x19c)](_0x7b4b62(0x39d),_0x7b4b62(0x143),_0x5973af),_0x5973af===_0x261697[_0x7b4b62(0x47b)]?(this[_0x7b4b62(0x1af)]['show']({'content':this['_localeService']['t'](_0x7b4b62(0x171)),'type':_0x59ab28[_0x7b4b62(0x336)][_0x7b4b62(0x19f)]}),this['_permissionService'][_0x7b4b62(0x485)](new _0x21d024[(_0x7b4b62(0x33c))](this['unitID'])['id'],!0x1)):this['_permissionService']['updatePermissionPoint'](new _0x21d024['WorkbookEditablePermission'](this[_0x7b4b62(0x176)])['id'],!0x0);})))),this[_0x573289(0x26e)](_0x132eb9[_0x573289(0x2c0)](this['_session'][_0x573289(0x326)][_0x573289(0x2e1)](_0x3dbee2=>{const _0x9c82c2=_0x573289;_0x3dbee2===_0x139854[_0x9c82c2(0x31c)]?this[_0x9c82c2(0x197)]():_0x3dbee2===_0x139854[_0x9c82c2(0x35a)]&&this[_0x9c82c2(0x24a)]();}))),this['disposeWithMe'](_0x132eb9['toDisposable'](this[_0x573289(0x1b5)][_0x573289(0x428)][_0x573289(0x2e1)](_0x609814=>{const _0xd952b8=_0x573289;try{switch(_0x609814[_0xd952b8(0x31f)]){case _0x1524d[_0xd952b8(0x2b2)]['NEW_CHANGESETS']:{this[_0xd952b8(0x309)](_0x1524d[_0xd952b8(0x38f)](_0x609814[_0xd952b8(0xe5)]));break;}case _0x1524d['CollaborationEvent'][_0xd952b8(0x2d3)]:{this['_onRemoteACK'](_0x609814[_0xd952b8(0xe5)]);break;}case _0x1524d[_0xd952b8(0x2b2)][_0xd952b8(0x455)]:{this[_0xd952b8(0x36a)]();break;}case _0x1524d['CollaborationEvent'][_0xd952b8(0x464)]:{this['_onFetchMissResult'](_0x609814[_0xd952b8(0xe5)][_0xd952b8(0x341)][_0xd952b8(0x18f)](_0x3c3972=>_0x1524d['parseProtocolChangeset'](_0x3c3972)));break;}case _0x1524d['CollaborationEvent']['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x242abe){throw console['error'](_0xd952b8(0x427),_0x242abe),_0x242abe;}}))),this['_state'];}[_0x474fca(0x1f8)](){const _0x2e2d31=_0x474fca;this[_0x2e2d31(0x1bc)]=!0x1;}[_0x474fca(0x2fb)](){const _0x25038f=_0x474fca;if(this['_transitionLocked'])throw new Error(_0x25038f(0x3d8));this[_0x25038f(0x1bc)]=!0x0;}[_0x474fca(0x373)](_0x516eeb){const _0x44b684=_0x474fca;this['_lockTransition'](),this[_0x44b684(0x269)](this[_0x44b684(0x282)][_0x44b684(0x1c2)](_0x516eeb)),this[_0x44b684(0x1f8)]();}[_0x474fca(0x309)](_0x59fc79){const _0xd0e4ef=_0x474fca;if(!(_0x59fc79['revision']<=this['_revisionService'][_0xd0e4ef(0x3c8)](this[_0xd0e4ef(0x176)]))){if(this['_collaborationPaused']){this[_0xd0e4ef(0x14b)][_0xd0e4ef(0x277)](_0x59fc79);return;}this[_0xd0e4ef(0x245)](_0x59fc79);}}['_exhaustRemoteChangesetQueue'](){const _0x2e3583=_0x474fca;this[_0x2e3583(0x14b)][_0x2e3583(0x173)](_0x3649d1=>this[_0x2e3583(0x245)](_0x3649d1)),this[_0x2e3583(0x14b)]=[];}[_0x474fca(0x245)](_0x46eba9){const _0x2a5f93=_0x474fca,_0x43bfae=this[_0x2a5f93(0x3bb)]['interceptor'][_0x2a5f93(0x431)](this[_0x2a5f93(0x3bb)][_0x2a5f93(0x163)][_0x2a5f93(0x265)]()[_0x2a5f93(0x39f)])(_0x46eba9[_0x2a5f93(0x256)],null)||_0x46eba9[_0x2a5f93(0x256)],_0x475fea={..._0x46eba9,'mutations':_0x43bfae};this['_lockTransition'](),this['_updateState'](this['_state'][_0x2a5f93(0x124)](_0x475fea)),this[_0x2a5f93(0x1f8)]();}[_0x474fca(0x1ca)](_0x3787e8){const _0x121536=_0x474fca;this[_0x121536(0x2fb)](),this[_0x121536(0x269)](this['_state'][_0x121536(0x2c1)](_0x3787e8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x377207){const _0x226632=_0x474fca;this[_0x226632(0x2fb)](),this['_updateState'](this[_0x226632(0x282)][_0x226632(0x246)](_0x377207)),this['_unlockTransition']();}['_onFetchMissResult'](_0x7ab478){const _0x522a3a=_0x474fca;if(!(this['_state']instanceof _0x3dbf10))throw new TypeError(_0x522a3a(0x33b));const _0x574ebc=_0x7ab478[_0x522a3a(0x18f)](_0x539efd=>{const _0x21cecd=_0x522a3a,_0x45c7d1=this[_0x21cecd(0x3bb)][_0x21cecd(0x163)][_0x21cecd(0x431)](this[_0x21cecd(0x3bb)][_0x21cecd(0x163)][_0x21cecd(0x265)]()[_0x21cecd(0x39f)])(_0x539efd['mutations'],null)||_0x539efd[_0x21cecd(0x256)];return{..._0x539efd,'mutations':_0x45c7d1};});this['_lockTransition'](),this[_0x522a3a(0x269)](this[_0x522a3a(0x282)][_0x522a3a(0x9d)](_0x574ebc)),this[_0x522a3a(0x1f8)]();}['_toggleOffline'](){const _0xe880c4=_0x474fca;this[_0xe880c4(0x2fb)](),this['_updateState'](this[_0xe880c4(0x282)][_0xe880c4(0x12b)]()),this[_0xe880c4(0x1f8)]();}[_0x474fca(0x197)](){const _0x25189d=_0x474fca;this[_0x25189d(0x2fb)](),this['_updateState'](this[_0x25189d(0x282)][_0x25189d(0x25a)]()),this['_unlockTransition']();}async['_createInitialState'](){return new Promise(_0x27cfdc=>{const _0x16bd62=_0x2d55;this[_0x16bd62(0x1b5)]['sessionStatus$'][_0x16bd62(0x195)](_0x5d8ab5[_0x16bd62(0x3a3)](0x1))[_0x16bd62(0x2e1)](async _0x2d78e4=>{const _0x1de45c=_0x16bd62;_0x27cfdc(await this[_0x1de45c(0x304)](_0x2d78e4===_0x139854[_0x1de45c(0x31c)]));});});}['_createHandler'](){const _0x3eb925=this['unitID'];return{'onStateChange':(_0x5e83cb,_0x59be63)=>{const _0x4306b7=_0x2d55;if(_0x5e83cb!==this['_state'])throw new Error(_0x4306b7(0x434)+_0x5e83cb[_0x4306b7(0x332)]+_0x4306b7(0x99)+_0x59be63['status']+_0x4306b7(0x348)+this[_0x4306b7(0x282)]['status']);this['_updateState'](_0x59be63);},'onSendChangeset':_0x1317d7=>{const _0x3cf0a2=_0x2d55,_0x1ee12a={'eventID':_0x1524d[_0x3cf0a2(0x2b2)][_0x3cf0a2(0x3c3)],'data':{'unitID':_0x1317d7[_0x3cf0a2(0x176)],'unitType':this['_type'],'changeset':_0x1317d7,'memberID':this[_0x3cf0a2(0x1b5)][_0x3cf0a2(0xda)]()}};this['_session']['send'](_0x1ee12a,this[_0x3cf0a2(0x176)]);},'onMissingChangesets':({from:_0x19c987,to:_0x20cf47})=>{const _0x198435=_0x2d55;this['_logService'][_0x198435(0x19c)]('[CollaborationEntity]',_0x198435(0x13f)+_0x19c987+_0x198435(0x2a9)+_0x20cf47);const _0x49e1f3={'eventID':_0x1524d[_0x198435(0x2b2)]['FETCH_MISSING'],'data':{'unitID':_0x3eb925,'unitType':this['_type'],'from':_0x19c987,'to':_0x20cf47}};this[_0x198435(0x1b5)][_0x198435(0x31a)](_0x49e1f3,this[_0x198435(0x176)]);}};}async['_createInitialStateImpl'](_0xb5847d){const _0x25d071=_0x474fca;var _0x5d7f99,_0x56d04c;const _0x4e8997=await this[_0x25d071(0x40b)][_0x25d071(0xee)](this['unitID']),_0x24679f=(_0x5d7f99=_0x4e8997==null?void 0x0:_0x4e8997[_0x25d071(0x256)])!=null?_0x5d7f99:[],_0x197f3f=(_0x56d04c=_0x4e8997==null?void 0x0:_0x4e8997['awaitingChangeset'])!=null?_0x56d04c:null,_0x1e8ffa=this['unitID'];try{this[_0x25d071(0x114)](_0x197f3f,_0x24679f);}catch(_0xed843){this['_logService']['error'](_0xed843);}const _0x3ca2a2=this[_0x25d071(0x320)]();if(_0xb5847d){const _0x52594e=_0x2ad01d(this[_0x25d071(0x306)],_0x1e8ffa,this[_0x25d071(0x1a2)],_0x197f3f,_0x24679f,_0x3ca2a2);return _0x52594e instanceof _0x4aa012?_0x52594e[_0x25d071(0x307)]():(_0x52594e instanceof _0xb8f612||_0x52594e instanceof _0x13cd54)&&_0x52594e[_0x25d071(0x167)](),_0x52594e;}return this['_injector'][_0x25d071(0x192)](_0x2939d6,_0x1e8ffa,this[_0x25d071(0x1a2)],_0x197f3f,_0x24679f,_0x3ca2a2);}[_0x474fca(0x114)](_0x5abb38,_0x522aa2){const _0x3422a0=_0x474fca;var _0x1b9205,_0x434bc8;const _0x13d8ba=this[_0x3422a0(0x3bb)][_0x3422a0(0x163)][_0x3422a0(0x431)](this['_compressMutationService'][_0x3422a0(0x163)][_0x3422a0(0x265)]()[_0x3422a0(0x39f)]);(_0x1b9205=_0x13d8ba((_0x5abb38==null?void 0x0:_0x5abb38['mutations'])||[],null))==null||_0x1b9205[_0x3422a0(0x173)](_0x5a1c8f=>this['_commandService'][_0x3422a0(0x15b)](_0x5a1c8f['id'],_0x5a1c8f[_0x3422a0(0xe6)])),(_0x434bc8=_0x13d8ba(_0x522aa2||[],null))==null||_0x434bc8['forEach'](_0x151195=>this[_0x3422a0(0x1c9)][_0x3422a0(0x15b)](_0x151195['id'],_0x151195[_0x3422a0(0xe6)]));}};_0x13bd7a=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x4ddf7c(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x4ddf7c(0x5,_0x132eb9['Inject'](_0x1524d['CompressMutationService'])),_0x4ddf7c(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x4ddf7c(0x7,_0x132eb9['Inject'](_0x1524d['RevisionService'])),_0x4ddf7c(0x8,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0x9,_0x132eb9['ICommandService']),_0x4ddf7c(0xa,_0x202279[_0x474fca(0x123)]),_0x4ddf7c(0xb,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0xc,_0x132eb9['Optional'](_0x54135c))],_0x13bd7a);let _0x333751=class extends _0x13bd7a{constructor(_0x1e1cac,_0x4c7ce6,_0xd013ef,_0x48f69b,_0x211159,_0x1ac837,_0x9a042d,_0x521834,_0x4b449f,_0x38621e,_0x4d7e3c,_0x36b437,_0x58d2ba,_0x11160b,_0x4d1ac4,_0xf03f13,_0xdab3d4){const _0x58f61b=_0x474fca;super(_0x1e1cac,_0x4c7ce6,_0xd013ef,_0x48f69b,_0x211159,_0x1ac837,_0x9a042d,_0x521834,_0x58d2ba,_0x11160b,_0x4d1ac4,_0xf03f13,_0xdab3d4),this[_0x58f61b(0x176)]=_0x1e1cac,this[_0x58f61b(0x11a)]=_0x4c7ce6,this[_0x58f61b(0x169)]=_0xd013ef,this[_0x58f61b(0x2ee)]=_0x4b449f,this[_0x58f61b(0x134)]=_0x38621e,this[_0x58f61b(0x41e)]=_0x4d7e3c,this[_0x58f61b(0x43f)]=_0x36b437;}[_0x474fca(0x320)](){const _0x7f317c=_0x474fca,_0x26e800=super[_0x7f317c(0x320)]();return _0x26e800[_0x7f317c(0x477)]=_0x152b3d=>this[_0x7f317c(0x134)][_0x7f317c(0x347)](_0x152b3d),_0x26e800[_0x7f317c(0x2f1)]=_0x55ef00=>this[_0x7f317c(0x41e)][_0x7f317c(0x31d)](_0x55ef00),_0x26e800['onSyncEditingCollabCursor']=_0x30019d=>this['_docSyncEditingCollabCursorService'][_0x7f317c(0x3d0)](_0x30019d),_0x26e800[_0x7f317c(0x313)]=_0x4ee9cf=>this['_docTransformIMECacheService'][_0x7f317c(0x396)](_0x4ee9cf),_0x26e800;}async[_0x474fca(0x1d5)](){const _0x1a79db=_0x474fca,_0x2af204=await super[_0x1a79db(0x1d5)]();return this[_0x1a79db(0x26e)](this[_0x1a79db(0x1c9)][_0x1a79db(0x344)]((_0x4ea122,_0xf4d34e)=>{const _0x4d80ab=_0x1a79db;if(_0x4ea122['type']!==_0x132eb9['CommandType'][_0x4d80ab(0x14f)]||_0xf4d34e!=null&&_0xf4d34e[_0x4d80ab(0x38b)]||_0xf4d34e!=null&&_0xf4d34e[_0x4d80ab(0x227)])return;const _0x322d15=_0x4ea122[_0x4d80ab(0xe6)];if((_0x322d15==null?void 0x0:_0x322d15[_0x4d80ab(0xa5)])!==this[_0x4d80ab(0x176)])return;let _0x16ea42=_0x4ea122;if(_0x16ea42['id']===_0x4b287a[_0x4d80ab(0x346)]['id']){const _0x574c00=_0x16ea42[_0x4d80ab(0xe6)];_0x16ea42={'id':_0x4b287a[_0x4d80ab(0x346)]['id'],'type':_0x132eb9[_0x4d80ab(0x103)][_0x4d80ab(0x14f)],'params':{'unitId':_0x574c00[_0x4d80ab(0xa5)],'actions':_0x574c00[_0x4d80ab(0xaf)],'textRanges':null}};}const _0x4a82ac=this[_0x4d80ab(0x3bb)][_0x4d80ab(0x163)]['fetchThroughInterceptors'](this[_0x4d80ab(0x3bb)][_0x4d80ab(0x163)][_0x4d80ab(0x265)]()[_0x4d80ab(0x469)])([_0x16ea42],null)||[_0x16ea42];this[_0x4d80ab(0x373)](_0x4a82ac[0x0]);})),_0x2af204;}};_0x333751=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x4,_0x132eb9['Inject'](_0x48d167[_0x474fca(0x27d)])),_0x4ddf7c(0x5,_0x132eb9['Inject'](_0x1524d['CompressMutationService'])),_0x4ddf7c(0x6,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)])),_0x4ddf7c(0x7,_0x132eb9['Inject'](_0x1524d[_0x474fca(0x327)])),_0x4ddf7c(0x8,_0x132eb9['Inject'](_0x4b287a['DocStateChangeManagerService'])),_0x4ddf7c(0x9,_0x132eb9['Inject'](_0x5e5e64)),_0x4ddf7c(0xa,_0x132eb9['Inject'](_0x49cc76)),_0x4ddf7c(0xb,_0x132eb9[_0x474fca(0x1a8)](_0x17ef3e)),_0x4ddf7c(0xc,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0xd,_0x132eb9[_0x474fca(0x1f1)]),_0x4ddf7c(0xe,_0x202279[_0x474fca(0x123)]),_0x4ddf7c(0xf,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0x10,_0x132eb9[_0x474fca(0x199)](_0x54135c))],_0x333751),_0x48d167[_0x474fca(0x281)]=class extends _0x13bd7a{constructor(_0x42f344,_0x5997f3,_0x285d59,_0x3a52a9,_0x1349ff,_0x2535e7,_0x1d28ea,_0x5d0fbd,_0x51cc2a,_0x4882e9,_0x24b456,_0x5978c9,_0x59c2dc,_0x3a34ce){const _0x3f2841=_0x474fca;super(_0x42f344,_0x5997f3,_0x285d59,_0x3a52a9,_0x1349ff,_0x2535e7,_0x1d28ea,_0x5d0fbd,_0x4882e9,_0x24b456,_0x5978c9,_0x59c2dc,_0x3a34ce),this[_0x3f2841(0x176)]=_0x42f344,this[_0x3f2841(0x11a)]=_0x5997f3,this[_0x3f2841(0x169)]=_0x285d59,this[_0x3f2841(0x42a)]=_0x51cc2a;}[_0x474fca(0x320)](){const _0x45e8dd=_0x474fca,_0x289f32=super[_0x45e8dd(0x320)]();return _0x289f32[_0x45e8dd(0x2f1)]=_0x1053fb=>this['_sheetTransformSelectionsService'][_0x45e8dd(0x31d)](_0x1053fb),_0x289f32;}async[_0x474fca(0x1d5)](){const _0x3762dd=_0x474fca,_0x24a6e8=await super[_0x3762dd(0x1d5)]();return this[_0x3762dd(0x26e)](this[_0x3762dd(0x1c9)][_0x3762dd(0x344)]((_0x3b7154,_0x4bd166)=>{const _0x3799c4=_0x3762dd;if(_0x3b7154[_0x3799c4(0x11a)]!==_0x132eb9['CommandType'][_0x3799c4(0x14f)]||_0x4bd166!=null&&_0x4bd166[_0x3799c4(0x38b)]||_0x4bd166!=null&&_0x4bd166[_0x3799c4(0x227)])return;const _0x530213=_0x3b7154[_0x3799c4(0xe6)];if((_0x530213==null?void 0x0:_0x530213[_0x3799c4(0xa5)])!==this[_0x3799c4(0x176)])return;const _0x5932a5=_0x3b7154,_0x51295d=this[_0x3799c4(0x3bb)]['interceptor'][_0x3799c4(0x431)](this[_0x3799c4(0x3bb)][_0x3799c4(0x163)][_0x3799c4(0x265)]()[_0x3799c4(0x469)])([_0x5932a5],null)||[_0x5932a5];this[_0x3799c4(0x373)](_0x51295d[0x0]);})),_0x24a6e8;}},_0x48d167[_0x474fca(0x281)]=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x4,_0x132eb9['Inject'](_0x48d167['LocalCacheService'])),_0x4ddf7c(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x366)])),_0x4ddf7c(0x6,_0x132eb9['Inject'](_0x132eb9['LocaleService'])),_0x4ddf7c(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x4ddf7c(0x8,_0x132eb9['Inject'](_0x40081e)),_0x4ddf7c(0x9,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0xa,_0x132eb9[_0x474fca(0x1f1)]),_0x4ddf7c(0xb,_0x202279['IMessageService']),_0x4ddf7c(0xc,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0xd,_0x132eb9[_0x474fca(0x199)](_0x54135c))],_0x48d167[_0x474fca(0x281)]);const _0x600859=[_0x474fca(0x290),_0x474fca(0x32d),_0x474fca(0x3ac),'red300',_0x474fca(0x2eb),_0x474fca(0x102)];class _0x35bdf6 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x491b88=_0x474fca;super(...arguments),_0x3b7d06(this,'_assignedColors',new Map()),_0x3b7d06(this,_0x491b88(0x483),0x0);}['assignAColorForMemberID'](_0x4e2718){const _0x5bd2af=_0x474fca;if(this[_0x5bd2af(0x2b4)][_0x5bd2af(0x400)](_0x4e2718))return this['_assignedColors']['get'](_0x4e2718);const _0x3ffa1b=_0x600859[this['_colorIndex']];return this[_0x5bd2af(0x483)]=(this['_colorIndex']+0x1)%_0x600859[_0x5bd2af(0x2b9)],this[_0x5bd2af(0x2b4)]['set'](_0x4e2718,_0x3ffa1b),_0x3ffa1b;}}var _0xff3f98=Object[_0x474fca(0x109)],_0x4eb774=Object[_0x474fca(0xcc)],_0x3d7b04=(_0x479827,_0x4bff20,_0x41f277,_0x344cd0)=>{const _0x4bb534=_0x474fca;for(var _0x15fef4=_0x344cd0>0x1?void 0x0:_0x344cd0?_0x4eb774(_0x4bff20,_0x41f277):_0x4bff20,_0x2127c3=_0x479827[_0x4bb534(0x2b9)]-0x1,_0x57cdc4;_0x2127c3>=0x0;_0x2127c3--)(_0x57cdc4=_0x479827[_0x2127c3])&&(_0x15fef4=(_0x344cd0?_0x57cdc4(_0x4bff20,_0x41f277,_0x15fef4):_0x57cdc4(_0x15fef4))||_0x15fef4);return _0x344cd0&&_0x15fef4&&_0xff3f98(_0x4bff20,_0x41f277,_0x15fef4),_0x15fef4;},_0x42ea88=(_0x5abae4,_0x2b61bb)=>(_0x4b52a8,_0x1133b0)=>_0x2b61bb(_0x4b52a8,_0x1133b0,_0x5abae4);const _0x3bb534=0x12c,_0x499fde=0x64,_0x483a14=()=>{let _0x4ebb4c=[],_0x200388=!0x1;return _0x21a443=>{const _0x18036d=_0x2d55;_0x4ebb4c[_0x18036d(0x277)](_0x21a443),_0x200388||(_0x200388=!0x0,setTimeout(()=>{const _0x4166c8=_0x18036d;_0x4ebb4c[_0x4166c8(0x173)](_0x40eaa7=>_0x40eaa7()),_0x4ebb4c=[],_0x200388=!0x1;}));};};let _0x3ff04d=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x5a53c3,_0x2a0891,_0x42e6dc,_0x3b393c,_0x3b3589,_0x3e7359,_0x3857a5,_0x376b99){const _0xff2515=_0x474fca;super(),_0x3b7d06(this,_0xff2515(0x13e),!0x1),_0x3b7d06(this,_0xff2515(0x1d5),!0x1),_0x3b7d06(this,_0xff2515(0x19b),new _0x3639ee[(_0xff2515(0x2a0))](new Map())),_0x3b7d06(this,_0xff2515(0x1f9),this[_0xff2515(0x19b)][_0xff2515(0x39b)]()),_0x3b7d06(this,_0xff2515(0x2bf),new _0x3639ee[(_0xff2515(0x2a0))]([])),_0x3b7d06(this,_0xff2515(0x2cb),this['_roomMembers$']['pipe'](_0x3639ee['debounceTime'](_0x3bb534))),_0x3b7d06(this,'_updateLocalCursor',_0x45c518((_0x1fdc9c,_0x55bc56)=>{const _0x239b61=_0xff2515,_0x699529={'eventID':_0x1524d[_0x239b61(0x2b2)][_0x239b61(0x2f5)],'data':{'unitID':this[_0x239b61(0x176)],'memberID':this['_session'][_0x239b61(0xda)](),'selection':_0x57f53f['serializeRangeWithSheet'](_0x1fdc9c,_0x55bc56['range'])}};this[_0x239b61(0x1b5)][_0x239b61(0x31a)](_0x699529,this[_0x239b61(0x176)]);},_0x499fde)),(this[_0xff2515(0x176)]=_0x5a53c3,this[_0xff2515(0x1b5)]=_0x2a0891,this['_injector']=_0x42e6dc,this['_colorAssignService']=_0x3b393c,this['_memberService']=_0x3b3589,this[_0xff2515(0x1bd)]=_0x3e7359,this[_0xff2515(0x1c9)]=_0x3857a5,this[_0xff2515(0x395)]=_0x376b99);}get[_0x474fca(0x24c)](){const _0x1e0514=_0x474fca;return this[_0x1e0514(0x19b)][_0x1e0514(0x2ff)]();}get[_0x474fca(0x372)](){return this['_roomMembers$']['getValue']();}[_0x474fca(0x19a)](){const _0x4fe87b=_0x474fca;super[_0x4fe87b(0x19a)](),this[_0x4fe87b(0x19b)]['next'](new Map()),this[_0x4fe87b(0x19b)][_0x4fe87b(0x25f)](),this['_roomMembers$'][_0x4fe87b(0x452)]([]),this['_roomMembers$']['complete']();}[_0x474fca(0x1ed)](){const _0x2d7faa=_0x474fca;this[_0x2d7faa(0x1d5)]||(this[_0x2d7faa(0x1d5)]=!0x0,this['_session'][_0x2d7faa(0x326)][_0x2d7faa(0x195)](_0x3639ee[_0x2d7faa(0x37a)](this[_0x2d7faa(0x2b5)]))[_0x2d7faa(0x2e1)](_0x1ea42b=>{const _0x1480ec=_0x2d7faa;_0x1ea42b===_0x139854[_0x1480ec(0x31c)]?this[_0x1480ec(0x197)]():this[_0x1480ec(0x24a)]();}),this[_0x2d7faa(0x1b5)]['event$']['pipe'](_0x3639ee[_0x2d7faa(0x37a)](this['dispose$']))[_0x2d7faa(0x2e1)](_0x29d0e1=>{const _0x1c544a=_0x2d7faa,_0xdfbfe6=_0x29d0e1[_0x1c544a(0x31f)];_0xdfbfe6===_0x1524d[_0x1c544a(0x2b2)][_0x1c544a(0x2f5)]&&this[_0x1c544a(0x11b)](_0x29d0e1),_0xdfbfe6===_0x1524d['CollaborationEvent'][_0x1c544a(0x458)]&&this[_0x1c544a(0x37d)](_0x29d0e1);}),this['_onRefRangeChange'](),this[_0x2d7faa(0x26e)](this[_0x2d7faa(0x1c9)][_0x2d7faa(0x344)](_0x4679cf=>{const _0x48d526=_0x2d7faa;if(this[_0x48d526(0x13e)]&&_0x4679cf['id']===_0x21d024[_0x48d526(0x303)]['id']&&_0x4679cf[_0x48d526(0xe6)][_0x48d526(0xa5)]===this[_0x48d526(0x176)]){const _0x48737f=_0x4679cf['params'];this['_updateLocalCursor'](_0x48737f[_0x48d526(0x2ac)],_0x48737f[_0x48d526(0x1a5)][0x0]);}})));}['_onCursorUpdate'](_0x474b81){const _0xe26c3c=_0x474fca;var _0x2fa04a,_0x7c216f;const {memberID:_0x395ec8,selection:_0x572b45}=_0x474b81['data'],{sheetName:_0x43f10c,range:_0x50d728}=_0x57f53f[_0xe26c3c(0xa0)](_0x572b45),_0x33afeb={'name':(_0x7c216f=(_0x2fa04a=this[_0xe26c3c(0x205)]['getMember'](this['unitID'],_0x395ec8))==null?void 0x0:_0x2fa04a[_0xe26c3c(0x26d)])!=null?_0x7c216f:_0xe26c3c(0x1df),'range':this[_0xe26c3c(0x362)](_0x43f10c,_0x50d728),'sheetID':_0x43f10c,'color':this['_colorAssignService'][_0xe26c3c(0x18c)](_0x395ec8),'selection':_0x572b45},_0xc3df2a=this[_0xe26c3c(0x24c)];_0xc3df2a[_0xe26c3c(0xbe)](_0x395ec8,_0x33afeb),this[_0xe26c3c(0x19b)][_0xe26c3c(0x452)](_0xc3df2a);}['_onCursorDelete'](_0x3591a2){const _0x58f5c1=_0x474fca,{memberID:_0x36c205}=_0x3591a2[_0x58f5c1(0xe5)],_0x3e9578=this[_0x58f5c1(0x24c)];_0x3e9578[_0x58f5c1(0x224)](_0x36c205),this[_0x58f5c1(0x19b)][_0x58f5c1(0x452)](_0x3e9578);}['_getMergeRange'](_0x3f67b9,_0x430ca0){const _0x3a6b20=_0x474fca;var _0x2e2204,_0x11b3e8;const _0x151343=(_0x11b3e8=(_0x2e2204=this[_0x3a6b20(0x1bd)]['getUniverSheetInstance'](this[_0x3a6b20(0x176)]))==null?void 0x0:_0x2e2204[_0x3a6b20(0x2f9)](_0x3f67b9))==null?void 0x0:_0x11b3e8[_0x3a6b20(0x122)]();return(_0x151343==null?void 0x0:_0x151343[_0x3a6b20(0x375)](_0x2a045e=>_0x132eb9[_0x3a6b20(0x359)][_0x3a6b20(0x392)](_0x2a045e,_0x430ca0)))||_0x430ca0;}['_onRefRangeChange'](){const _0x2966b5=_0x474fca,_0x3f745c=new _0x132eb9[(_0x2966b5(0x132))](),_0x47adcb=_0x483a14(),_0x30b931=()=>{_0x3f745c['dispose']();const _0x11dfea=(_0x6989ea,_0xcf9617,_0x45cade,_0x8b88a3)=>{const _0x2e41ed=_0x2d55;let _0xd1ad30=[];switch(_0x6989ea['id']){case _0x21d024[_0x2e41ed(0x465)]['DeleteRangeMoveLeftCommandId']:{_0xd1ad30=_0x21d024['handleDeleteRangeMoveLeft'](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x116)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0x266)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)]['InsertColCommandId']:{_0xd1ad30=_0x21d024[_0x2e41ed(0x40d)](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x415)]:{_0xd1ad30=_0x21d024['handleInsertRangeMoveDown'](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x30b)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0xe8)](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x46e)]:{_0xd1ad30=_0x21d024['handleInsertRow'](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)]['MoveRangeCommandId']:{_0xd1ad30=_0x21d024[_0x2e41ed(0xa9)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x10b)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0x47e)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x287)]:{_0xd1ad30=_0x21d024['handleIRemoveRow'](_0x6989ea,_0x8b88a3);break;}}const _0x59c168=_0x21d024[_0x2e41ed(0xf2)](_0xd1ad30,_0x8b88a3),_0x1290e0=this[_0x2e41ed(0x24c)]['get'](_0xcf9617);if(_0x1290e0&&_0x59c168){const _0x12534a={..._0x1290e0,'range':_0x59c168};this['cursorInfo'][_0x2e41ed(0xbe)](_0xcf9617,_0x12534a),_0x47adcb(()=>{const _0x5e360b=_0x2e41ed,_0x4c8ea9=this[_0x5e360b(0x395)]['registerRefRange'](_0x59c168,_0x2e182c=>(_0x4c8ea9['dispose'](),_0x11dfea(_0x2e182c,_0xcf9617,_0x45cade,_0x59c168)));_0x3f745c['add'](_0x4c8ea9);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4d8471,_0x4780b0)=>{const _0x4a36ae=_0x2d55,{range:_0x599d8b,sheetID:_0x3d6939}=_0x4d8471,_0x3269eb=this[_0x4a36ae(0x395)][_0x4a36ae(0x2c2)](_0x599d8b,_0x42b14f=>(_0x3269eb[_0x4a36ae(0x19a)](),_0x11dfea(_0x42b14f,_0x4780b0,_0x3d6939,_0x599d8b)));_0x3f745c['add'](_0x3269eb);});};this[_0x2966b5(0x26e)](_0x132eb9['toDisposable'](this[_0x2966b5(0x19b)][_0x2966b5(0x2e1)](()=>{_0x30b931();})));}['_toggleOnline'](){const _0xa850ec=_0x474fca;var _0x130093,_0x24a556;if(this[_0xa850ec(0x13e)]=!0x0,((_0x130093=this['_univerInstanceService'][_0xa850ec(0x461)]())==null?void 0x0:_0x130093[_0xa850ec(0x225)]())!==this[_0xa850ec(0x176)])return;const _0xf772ae=(_0x24a556=this[_0xa850ec(0x306)][_0xa850ec(0x261)](_0x21d024['SheetsSelectionsService'])[_0xa850ec(0x1e9)]())==null?void 0x0:_0x24a556[0x0],_0x29ae47=this[_0xa850ec(0x1bd)][_0xa850ec(0x178)](_0x132eb9[_0xa850ec(0x44e)][_0xa850ec(0x1a0)])[_0xa850ec(0xba)]();_0xf772ae&&_0x29ae47&&this[_0xa850ec(0x166)](_0x29ae47[_0xa850ec(0x136)](),_0xf772ae);}[_0x474fca(0x24a)](){const _0x1648c6=_0x474fca;this[_0x1648c6(0x13e)]=!0x1;}};_0x3ff04d=_0x3d7b04([_0x42ea88(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x42ea88(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x35bdf6)),_0x42ea88(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x42ea88(0x5,_0x132eb9[_0x474fca(0x22d)]),_0x42ea88(0x6,_0x132eb9[_0x474fca(0x1f1)]),_0x42ea88(0x7,_0x132eb9['Inject'](_0x21d024[_0x474fca(0x397)]))],_0x3ff04d);var _0x19450e=Object['defineProperty'],_0x2eb5c0=Object[_0x474fca(0xcc)],_0x1c628d=(_0x4443a6,_0x1248bf,_0x3a4cce,_0x203de7)=>{const _0x2d6dab=_0x474fca;for(var _0x4e2e03=_0x203de7>0x1?void 0x0:_0x203de7?_0x2eb5c0(_0x1248bf,_0x3a4cce):_0x1248bf,_0x57293d=_0x4443a6[_0x2d6dab(0x2b9)]-0x1,_0x294caa;_0x57293d>=0x0;_0x57293d--)(_0x294caa=_0x4443a6[_0x57293d])&&(_0x4e2e03=(_0x203de7?_0x294caa(_0x1248bf,_0x3a4cce,_0x4e2e03):_0x294caa(_0x4e2e03))||_0x4e2e03);return _0x203de7&&_0x4e2e03&&_0x19450e(_0x1248bf,_0x3a4cce,_0x4e2e03),_0x4e2e03;},_0x5732fb=(_0x2be26e,_0x2643d3)=>(_0x1098bf,_0x508a92)=>_0x2643d3(_0x1098bf,_0x508a92,_0x2be26e);const _0x10fda4=0x12c,_0x4dcf0f=0x64;let _0xeb5f0e=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x291a2e,_0x2bf38e,_0xe41727,_0x24ff5a,_0x16c045,_0x3f7933,_0x2ff82b,_0x85cd34,_0x2a4b7f){const _0x3ede96=_0x474fca;super(),_0x3b7d06(this,_0x3ede96(0x13e),!0x1),_0x3b7d06(this,'_init',!0x1),_0x3b7d06(this,_0x3ede96(0x19b),new _0x3639ee[(_0x3ede96(0x2a0))](new Map())),_0x3b7d06(this,_0x3ede96(0x1f9),this[_0x3ede96(0x19b)][_0x3ede96(0x39b)]()),_0x3b7d06(this,'_roomMembers$',new _0x3639ee[(_0x3ede96(0x2a0))]([])),_0x3b7d06(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x3639ee[_0x3ede96(0x258)](_0x10fda4))),_0x3b7d06(this,_0x3ede96(0x166),_0x45c518(_0x38ac93=>{const _0xd68c64=_0x3ede96,_0x1e5b3c={'eventID':_0x1524d[_0xd68c64(0x2b2)][_0xd68c64(0x2f5)],'data':{'unitID':this[_0xd68c64(0x176)],'memberID':this[_0xd68c64(0x1b5)][_0xd68c64(0xda)](),'selection':_0x234122(_0x38ac93)}};this[_0xd68c64(0x1b5)][_0xd68c64(0x31a)](_0x1e5b3c,this[_0xd68c64(0x176)]);},_0x4dcf0f)),(this[_0x3ede96(0x176)]=_0x291a2e,this[_0x3ede96(0x1b5)]=_0x2bf38e,this['_injector']=_0xe41727,this[_0x3ede96(0x1a6)]=_0x24ff5a,this[_0x3ede96(0x205)]=_0x16c045,this[_0x3ede96(0x131)]=_0x3f7933,this['_transformService']=_0x2ff82b,this[_0x3ede96(0x1bd)]=_0x85cd34,this[_0x3ede96(0x1c9)]=_0x2a4b7f);}get[_0x474fca(0x24c)](){const _0x3c55de=_0x474fca;return this[_0x3c55de(0x19b)][_0x3c55de(0x2ff)]();}get[_0x474fca(0x372)](){const _0x4d9efc=_0x474fca;return this[_0x4d9efc(0x2bf)]['getValue']();}['dispose'](){const _0xb2e96a=_0x474fca;super[_0xb2e96a(0x19a)](),this[_0xb2e96a(0x19b)][_0xb2e96a(0x452)](new Map()),this[_0xb2e96a(0x19b)][_0xb2e96a(0x25f)](),this[_0xb2e96a(0x2bf)][_0xb2e96a(0x452)]([]),this[_0xb2e96a(0x2bf)][_0xb2e96a(0x25f)]();}[_0x474fca(0x1ed)](){const _0x10e2f1=_0x474fca;this[_0x10e2f1(0x1d5)]||(this[_0x10e2f1(0x1d5)]=!0x0,this[_0x10e2f1(0x1b5)][_0x10e2f1(0x326)][_0x10e2f1(0x195)](_0x3639ee['takeUntil'](this[_0x10e2f1(0x2b5)]))[_0x10e2f1(0x2e1)](_0x28fbed=>{const _0x48a14a=_0x10e2f1;_0x28fbed===_0x139854[_0x48a14a(0x31c)]?this[_0x48a14a(0x197)]():this['_toggleOffline']();}),this[_0x10e2f1(0x1b5)][_0x10e2f1(0x428)][_0x10e2f1(0x195)](_0x3639ee[_0x10e2f1(0x37a)](this['dispose$']))[_0x10e2f1(0x2e1)](_0x58b651=>{const _0x460dd8=_0x10e2f1,_0x48b271=_0x58b651[_0x460dd8(0x31f)];_0x48b271===_0x1524d['CollaborationEvent'][_0x460dd8(0x2f5)]&&this['_onCursorUpdate'](_0x58b651),_0x48b271===_0x1524d['CollaborationEvent'][_0x460dd8(0x458)]&&this[_0x460dd8(0x37d)](_0x58b651);}),this[_0x10e2f1(0x26e)](this[_0x10e2f1(0x1c9)][_0x10e2f1(0x344)](_0x5ef5e9=>{const _0xa28813=_0x10e2f1,_0x35fd8b=_0x5ef5e9['params'];_0x35fd8b!=null&&this[_0xa28813(0x13e)]&&_0x5ef5e9['id']===_0x4b287a[_0xa28813(0x1ff)]['id']&&_0x35fd8b[_0xa28813(0xa5)]===this['unitID']&&_0x35fd8b[_0xa28813(0x260)]===!0x1&&this[_0xa28813(0x166)](_0x35fd8b[_0xa28813(0x441)]);})),this['_syncEditingCollabCursorService'][_0x10e2f1(0xe2)][_0x10e2f1(0x195)](_0x3639ee['takeUntil'](this[_0x10e2f1(0x2b5)]))['subscribe'](_0x413847=>{const _0x508c91=_0x10e2f1;if((_0x413847==null?void 0x0:_0x413847['unitID'])!==this[_0x508c91(0x176)])return;const _0x50fe72={'eventID':_0x1524d[_0x508c91(0x2b2)]['UPDATE_CURSOR'],'data':_0x413847};this[_0x508c91(0x11b)](_0x50fe72);}),this['disposeWithMe'](this['_commandService'][_0x10e2f1(0x344)](_0x166689=>{const _0x26bed7=_0x10e2f1;if(_0x166689[_0x26bed7(0xe6)]==null)return;const _0x9a872a=_0x166689['params'];if(_0x166689['id']!==_0x4b287a[_0x26bed7(0x346)]['id']||_0x9a872a['unitId']!==this[_0x26bed7(0x176)])return;const _0x5a073e={'id':_0x26bed7(0x21b),'params':_0x9a872a},_0x1c2815=this[_0x26bed7(0x24c)];for(const [_0xa8ca5d,_0x378523]of _0x1c2815){const _0x19e229={'id':_0x26bed7(0x21b),'params':{'unitId':this[_0x26bed7(0x176)],'actions':null,'textRanges':_0x378523[_0x26bed7(0x441)]}},_0xdd37fc=this['_transformService']['transformMutation'](_0x5a073e,_0x19e229,!0x1);if(_0x1524d['isTransformMutationFailure'](_0xdd37fc))throw _0xdd37fc[_0x26bed7(0xf5)];_0x1c2815[_0x26bed7(0xbe)](_0xa8ca5d,{..._0x378523,'ranges':_0xdd37fc[_0x26bed7(0x43b)]['params']['textRanges']});}queueMicrotask(()=>{const _0x537231=_0x26bed7;this[_0x537231(0x19b)][_0x537231(0x452)](_0x1c2815);});})));}[_0x474fca(0x11b)](_0x42e1b3){const _0x138d12=_0x474fca;var _0x3a6ba4,_0x33bb11;const {memberID:_0x19804f,selection:_0x10b761}=_0x42e1b3[_0x138d12(0xe5)],_0x18f0b1=_0x20f365(_0x10b761),_0x1da464=(_0x33bb11=(_0x3a6ba4=this['_memberService'][_0x138d12(0x3ca)](this[_0x138d12(0x176)],_0x19804f))==null?void 0x0:_0x3a6ba4[_0x138d12(0x26d)])!=null?_0x33bb11:_0x138d12(0x1df),_0x400659={'color':this['_colorAssignService'][_0x138d12(0x18c)](_0x19804f),'name':_0x1da464,'ranges':_0x18f0b1},_0x378530=this[_0x138d12(0x24c)];_0x378530['set'](_0x19804f,_0x400659),this[_0x138d12(0x19b)]['next'](_0x378530);}[_0x474fca(0x37d)](_0x1160ff){const _0x314168=_0x474fca,{memberID:_0x326c8c}=_0x1160ff[_0x314168(0xe5)],_0x5ec6=this[_0x314168(0x24c)];_0x5ec6[_0x314168(0x224)](_0x326c8c),this['_cursorInfo$']['next'](_0x5ec6);}[_0x474fca(0x197)](){const _0x5a162d=_0x474fca;var _0x45bbaa;if(this['_online']=!0x0,((_0x45bbaa=this[_0x5a162d(0x1bd)]['getFocusedUnit']())==null?void 0x0:_0x45bbaa[_0x5a162d(0x225)]())!==this[_0x5a162d(0x176)])return;const _0x55727d=this[_0x5a162d(0x306)][_0x5a162d(0x261)](_0x4b287a[_0x5a162d(0x41a)])[_0x5a162d(0x196)](),_0x2bfe3e=_0x55727d==null?void 0x0:_0x55727d[_0x5a162d(0x18f)](_0x4b287a[_0x5a162d(0x40e)]);Array[_0x5a162d(0x2c8)](_0x2bfe3e)&&_0x2bfe3e['length']>0x0&&this[_0x5a162d(0x166)](_0x2bfe3e);}[_0x474fca(0x24a)](){this['_online']=!0x1;}};_0xeb5f0e=_0x1c628d([_0x5732fb(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5732fb(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x35bdf6)),_0x5732fb(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x5732fb(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x17ef3e)),_0x5732fb(0x6,_0x1524d[_0x474fca(0x439)]),_0x5732fb(0x7,_0x132eb9[_0x474fca(0x22d)]),_0x5732fb(0x8,_0x132eb9['ICommandService'])],_0xeb5f0e);var _0x48672b=Object[_0x474fca(0x109)],_0x2761f6=Object[_0x474fca(0xcc)],_0x3f4c15=(_0x225989,_0x51d21f,_0x8581f8,_0x4ffa25)=>{const _0x125774=_0x474fca;for(var _0x55cfa2=_0x4ffa25>0x1?void 0x0:_0x4ffa25?_0x2761f6(_0x51d21f,_0x8581f8):_0x51d21f,_0x4c1fdf=_0x225989[_0x125774(0x2b9)]-0x1,_0xe38e7b;_0x4c1fdf>=0x0;_0x4c1fdf--)(_0xe38e7b=_0x225989[_0x4c1fdf])&&(_0x55cfa2=(_0x4ffa25?_0xe38e7b(_0x51d21f,_0x8581f8,_0x55cfa2):_0xe38e7b(_0x55cfa2))||_0x55cfa2);return _0x4ffa25&&_0x55cfa2&&_0x48672b(_0x51d21f,_0x8581f8,_0x55cfa2),_0x55cfa2;},_0x356666=(_0x11f39b,_0xc491e0)=>(_0x4ef798,_0x4d1ec8)=>_0xc491e0(_0x4ef798,_0x4d1ec8,_0x11f39b);let _0x4073a6=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x54d54b,_0x4dbafb,_0x34e9b5){const _0x1f0f70=_0x474fca;super(),_0x3b7d06(this,_0x1f0f70(0xeb),new Map()),_0x3b7d06(this,'_entityInit$',new _0x3639ee[(_0x1f0f70(0x1cb))]()),(this['_univerInstanceService']=_0x54d54b,this[_0x1f0f70(0x306)]=_0x4dbafb,this[_0x1f0f70(0x32f)]=_0x34e9b5,this['_init']());}['dispose'](){const _0x28479b=_0x474fca;super['dispose'](),this[_0x28479b(0x44d)][_0x28479b(0x25f)](),this[_0x28479b(0xeb)][_0x28479b(0x173)](_0x269a44=>_0x269a44[_0x28479b(0x19a)]());}[_0x474fca(0x188)](_0xcb4a9b){const _0x380a40=_0x474fca;return this['_entities'][_0x380a40(0x400)](_0xcb4a9b)?this[_0x380a40(0xeb)][_0x380a40(0x261)](_0xcb4a9b)[_0x380a40(0x1f9)]:this[_0x380a40(0x44d)]['pipe'](_0x3639ee[_0x380a40(0x1cd)](_0x1b8b27=>_0x1b8b27['unitID']===_0xcb4a9b),_0x3639ee[_0x380a40(0x1b1)](_0x1ded80=>_0x1ded80['cursorInfo$']));}[_0x474fca(0x1d5)](){const _0x262ac1=_0x474fca;this[_0x262ac1(0x1bd)][_0x262ac1(0x25b)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x1a0)])[_0x262ac1(0x195)](_0x3639ee['takeUntil'](this[_0x262ac1(0x2b5)]))[_0x262ac1(0x2e1)](async _0x5a47cd=>{const _0xa10041=_0x262ac1,_0x54afb1=_0x5a47cd[_0xa10041(0x225)](),_0x4b6761=await this['_startSheetCollabCursor'](_0x54afb1);this[_0xa10041(0x44d)]['next'](_0x4b6761),this[_0xa10041(0xeb)][_0xa10041(0xbe)](_0x54afb1,_0x4b6761);}),this[_0x262ac1(0x1bd)]['getTypeOfUnitAdded$'](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x14d)])[_0x262ac1(0x195)](_0x3639ee['takeUntil'](this[_0x262ac1(0x2b5)]))['pipe'](_0x3639ee[_0x262ac1(0x1cd)](_0x16af0e=>!_0x16af0e[_0x262ac1(0x225)]()[_0x262ac1(0xd9)]('__')))[_0x262ac1(0x2e1)](async _0x4aaf66=>{const _0x2c7e68=_0x262ac1,_0x2fa1ff=_0x4aaf66[_0x2c7e68(0x225)](),_0x501ede=await this[_0x2c7e68(0x1ee)](_0x2fa1ff);this[_0x2c7e68(0x44d)][_0x2c7e68(0x452)](_0x501ede),this[_0x2c7e68(0xeb)][_0x2c7e68(0xbe)](_0x2fa1ff,_0x501ede);}),_0x3639ee[_0x262ac1(0xb5)](this[_0x262ac1(0x1bd)][_0x262ac1(0x2b7)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x14d)]),this[_0x262ac1(0x1bd)][_0x262ac1(0x2b7)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x1a0)]))[_0x262ac1(0x195)](_0x3639ee[_0x262ac1(0x37a)](this[_0x262ac1(0x2b5)]))['subscribe'](_0x4b887a=>{const _0x6b2cd9=_0x262ac1,_0x2f789e=_0x4b887a[_0x6b2cd9(0x225)](),_0xc762c1=this['_entities'][_0x6b2cd9(0x261)](_0x2f789e);_0xc762c1&&(_0xc762c1[_0x6b2cd9(0x19a)](),this[_0x6b2cd9(0xeb)][_0x6b2cd9(0x224)](_0x2f789e));});}async[_0x474fca(0x3fe)](_0x323186){const _0x5bb249=_0x474fca,_0x2e05ff=await this[_0x5bb249(0x32f)][_0x5bb249(0x21a)](_0x323186),_0x2a15c9=this[_0x5bb249(0x306)][_0x5bb249(0x192)](_0x3ff04d,_0x323186,_0x2e05ff);return _0x2a15c9[_0x5bb249(0x1ed)](),_0x2a15c9;}async[_0x474fca(0x1ee)](_0x4fa3d4){const _0x5747dd=_0x474fca,_0x2e8c01=await this[_0x5747dd(0x32f)][_0x5747dd(0x21a)](_0x4fa3d4),_0x462424=this[_0x5747dd(0x306)][_0x5747dd(0x192)](_0xeb5f0e,_0x4fa3d4,_0x2e8c01);return _0x462424['init'](),_0x462424;}};_0x4073a6=_0x3f4c15([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)]['Starting'],_0x4073a6),_0x356666(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x356666(0x1,_0x132eb9['Inject'](_0x132eb9['Injector'])),_0x356666(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)]))],_0x4073a6);const _0x2f3f31=0x14,_0x3237b5=0xc8,_0x9443c7=0x4,_0x2b099c=0x5;function _0x4a4535(_0x1c1d6a,_0xec32ac){const _0x28e253=_0x474fca;let {radius:_0xb74281,width:_0x8ace2f,height:_0x58a9a9}=_0xec32ac;_0xb74281=_0xb74281!=null?_0xb74281:0x0,_0x8ace2f=_0x8ace2f!=null?_0x8ace2f:0x1e,_0x58a9a9=_0x58a9a9!=null?_0x58a9a9:0x1e;let _0x48a5de=0x0,_0x10de1a=0x0,_0x10a1a1=0x0;_0x48a5de=_0x10de1a=_0x10a1a1=Math['min'](_0xb74281,_0x8ace2f/0x2,_0x58a9a9/0x2),_0x1c1d6a['beginPath'](),_0x1c1d6a[_0x28e253(0x17d)](_0x48a5de,0x0),_0x1c1d6a[_0x28e253(0x438)](_0x8ace2f-_0x10de1a,0x0),_0x1c1d6a[_0x28e253(0x214)](_0x8ace2f-_0x10de1a,_0x10de1a,_0x10de1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c1d6a[_0x28e253(0x438)](_0x8ace2f,_0x58a9a9-_0x10a1a1),_0x1c1d6a[_0x28e253(0x214)](_0x8ace2f-_0x10a1a1,_0x58a9a9-_0x10a1a1,_0x10a1a1,0x0,Math['PI']/0x2,!0x1),_0x1c1d6a[_0x28e253(0x438)](0x0,_0x58a9a9),_0x1c1d6a[_0x28e253(0x438)](0x0,_0x48a5de),_0x1c1d6a[_0x28e253(0x214)](_0x48a5de,_0x48a5de,_0x48a5de,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c1d6a['closePath'](),_0xec32ac[_0x28e253(0x32e)]&&(_0x1c1d6a[_0x28e253(0x30d)](),_0x1c1d6a[_0x28e253(0x31e)]=_0xec32ac[_0x28e253(0x32e)],_0xec32ac['fillRule']===_0x28e253(0x28d)?_0x1c1d6a['fill'](_0x28e253(0x28d)):_0x1c1d6a['fill'](),_0x1c1d6a[_0x28e253(0x253)]());}class _0x1313fc extends _0x24af47[_0x474fca(0x202)]{constructor(_0x4a81fc,_0x2ded20){const _0x5c88de=_0x474fca;super(_0x4a81fc,_0x2ded20),_0x3b7d06(this,_0x5c88de(0xfe)),_0x3b7d06(this,_0x5c88de(0x2af)),(this['color']=_0x2ded20==null?void 0x0:_0x2ded20[_0x5c88de(0xfe)],this['text']=_0x2ded20==null?void 0x0:_0x2ded20[_0x5c88de(0x2af)]);}static[_0x474fca(0x405)](_0x41f80d,_0x3fc33c){const _0x27d61a=_0x474fca,{text:_0x3d37ac,color:_0xe4bca7}=_0x3fc33c;_0x41f80d[_0x27d61a(0x30d)](),_0x41f80d[_0x27d61a(0x3a7)]=_0x27d61a(0x2fa);const _0x31c1c1=_0x41f80d[_0x27d61a(0x175)](_0x3d37ac)[_0x27d61a(0x299)],_0x24a54f=Math[_0x27d61a(0x24f)](_0x31c1c1+0x2*_0x9443c7,_0x3237b5);_0x4a4535(_0x41f80d,{'height':_0x2f3f31,'radius':0x4,'width':_0x24a54f,'fill':_0xe4bca7,'evented':!0x1}),_0x41f80d['fillStyle']=_0x27d61a(0xc2);const _0x42da39=_0x9443c7,_0x21b330=_0x2f3f31-_0x2b099c,_0x2e4076=_0x3237b5-0x2*_0x9443c7;if(_0x31c1c1>_0x2e4076){let _0x35228d='',_0x3e7655=0x0;for(const _0x4e3599 of _0x3d37ac){const _0x3ea0d3=_0x41f80d[_0x27d61a(0x175)](_0x4e3599)[_0x27d61a(0x299)];if(_0x3e7655+_0x3ea0d3<=_0x2e4076-_0x41f80d[_0x27d61a(0x175)](_0x27d61a(0xaa))[_0x27d61a(0x299)])_0x35228d+=_0x4e3599,_0x3e7655+=_0x3ea0d3;else{_0x35228d+=_0x27d61a(0xaa);break;}}_0x41f80d['fillText'](_0x35228d,_0x42da39,_0x21b330);}else _0x41f80d[_0x27d61a(0x352)](_0x3d37ac,_0x42da39,_0x21b330);_0x41f80d[_0x27d61a(0x253)]();}[_0x474fca(0x1ad)](_0x5a47e1){const _0x59e405=_0x474fca;_0x1313fc[_0x59e405(0x405)](_0x5a47e1,this);}}const _0x1feba6=0x1,_0x106809=1.5;class _0x57dbff extends _0x24af47[_0x474fca(0x202)]{constructor(_0x2192ed,_0x5ee5b0){const _0x3bdab7=_0x474fca;super(_0x2192ed,_0x5ee5b0),_0x3b7d06(this,'_color'),_0x3b7d06(this,_0x3bdab7(0x115),!0x1),_0x3b7d06(this,_0x3bdab7(0x15c)),_0x3b7d06(this,'_name',''),_0x3b7d06(this,'_labelPosition',_0x3bdab7(0x425)),_0x3b7d06(this,'_backgroundColor'),(_0x5ee5b0&&this[_0x3bdab7(0x378)](_0x5ee5b0),this[_0x3bdab7(0xb6)][_0x3bdab7(0xb7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3bdab7(0x46c)][_0x3bdab7(0xb7)](()=>this[_0x3bdab7(0x378)]({'hovered':!0x1})));}[_0x474fca(0x378)](_0x2f8655){const _0x3c1ee2=_0x474fca;var _0x6ba636,_0x2e768d,_0x3df2a2,_0x2245f5,_0x3867d7,_0x341471;this[_0x3c1ee2(0x34c)]=(_0x6ba636=_0x2f8655[_0x3c1ee2(0xfe)])!=null?_0x6ba636:this[_0x3c1ee2(0x34c)],this[_0x3c1ee2(0x115)]=(_0x2e768d=_0x2f8655[_0x3c1ee2(0x32b)])!=null?_0x2e768d:this[_0x3c1ee2(0x115)],this[_0x3c1ee2(0x15c)]=(_0x3df2a2=_0x2f8655[_0x3c1ee2(0x153)])!=null?_0x3df2a2:this[_0x3c1ee2(0x15c)],this[_0x3c1ee2(0x3a9)]=(_0x2245f5=_0x2f8655[_0x3c1ee2(0x26d)])!=null?_0x2245f5:this['_name'],this[_0x3c1ee2(0x34d)]=(_0x3867d7=_0x2f8655[_0x3c1ee2(0x334)])!=null?_0x3867d7:this[_0x3c1ee2(0x34d)],this[_0x3c1ee2(0x3ae)]=(_0x341471=_0x2f8655[_0x3c1ee2(0x20a)])!=null?_0x341471:this[_0x3c1ee2(0x3ae)],this[_0x3c1ee2(0x3aa)]({'width':_0x2f8655['width'],'height':_0x2f8655[_0x3c1ee2(0x3f4)]});}['onMouseMove'](_0xf92cad){const _0x7684b=_0x474fca,{row:_0x22a4d5,column:_0x173ccd}=_0xf92cad;if(_0x22a4d5>=this[_0x7684b(0x15c)][_0x7684b(0x1d0)]&&_0x22a4d5<=this[_0x7684b(0x15c)][_0x7684b(0xd1)]&&_0x173ccd>=this[_0x7684b(0x15c)][_0x7684b(0x2ce)]&&_0x173ccd<=this[_0x7684b(0x15c)][_0x7684b(0x191)]){this[_0x7684b(0x378)]({'hovered':!0x0});return;}this[_0x7684b(0x378)]({'hovered':!0x1});}[_0x474fca(0x325)](_0x2ba2c9){return!0x1;}['_draw'](_0x346ed1){const _0x31a9fa=_0x474fca;_0x24af47[_0x31a9fa(0x411)][_0x31a9fa(0x405)](_0x346ed1,{'width':this[_0x31a9fa(0x299)],'height':this['height'],'strokeWidth':_0x106809,'stroke':this[_0x31a9fa(0x34c)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31a9fa(0x115)]&&(_0x346ed1['save'](),_0x346ed1[_0x31a9fa(0x206)](0x1,0x0,0x0,0x1,this[_0x31a9fa(0x299)],this['_labelPosition']===_0x31a9fa(0x155)?0x0:-_0x2f3f31),_0x1313fc[_0x31a9fa(0x405)](_0x346ed1,{'text':this[_0x31a9fa(0x3a9)],'color':this[_0x31a9fa(0x34c)]}),_0x346ed1[_0x31a9fa(0x253)]());}}var _0x1d4d01=Object[_0x474fca(0x109)],_0x4c5650=Object[_0x474fca(0xcc)],_0x32374c=(_0x5a1d3e,_0x3ee782,_0x4698d4,_0x50ae17)=>{const _0x132239=_0x474fca;for(var _0x4c2bb1=_0x50ae17>0x1?void 0x0:_0x50ae17?_0x4c5650(_0x3ee782,_0x4698d4):_0x3ee782,_0x4fa270=_0x5a1d3e[_0x132239(0x2b9)]-0x1,_0x5ca9b4;_0x4fa270>=0x0;_0x4fa270--)(_0x5ca9b4=_0x5a1d3e[_0x4fa270])&&(_0x4c2bb1=(_0x50ae17?_0x5ca9b4(_0x3ee782,_0x4698d4,_0x4c2bb1):_0x5ca9b4(_0x4c2bb1))||_0x4c2bb1);return _0x50ae17&&_0x4c2bb1&&_0x1d4d01(_0x3ee782,_0x4698d4,_0x4c2bb1),_0x4c2bb1;},_0x26eb38=(_0x4eb750,_0x114191)=>(_0x151f29,_0x29a730)=>_0x114191(_0x151f29,_0x29a730,_0x4eb750);const _0x1e90e7=0x1389;let _0x57fff8=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x557200,_0x29af90,_0x2b4370,_0x266d3e){const _0x33078c=_0x474fca;super(),_0x3b7d06(this,_0x33078c(0x29f),new Set()),_0x3b7d06(this,_0x33078c(0x404),null),(this[_0x33078c(0x3b9)]=_0x557200,this[_0x33078c(0x268)]=_0x29af90,this[_0x33078c(0x1f0)]=_0x2b4370,this[_0x33078c(0x45b)]=_0x266d3e,this['_init']());}['_init'](){const _0x4ebbb1=_0x474fca;this[_0x4ebbb1(0x268)][_0x4ebbb1(0x1fe)][_0x4ebbb1(0x195)](_0x5d8ab5[_0x4ebbb1(0x37a)](this[_0x4ebbb1(0x2b5)]),_0x5d8ab5['switchMap'](_0x47333c=>{const _0x24c094=_0x4ebbb1;if(_0x47333c){const _0x266de9=_0x47333c[_0x24c094(0x149)];return _0x3639ee[_0x24c094(0x300)](this['_collabCursorController'][_0x24c094(0x188)](this[_0x24c094(0x3b9)][_0x24c094(0xa5)]),this[_0x24c094(0x45b)][_0x24c094(0x43a)])[_0x24c094(0x195)](_0x5d8ab5[_0x24c094(0x18f)](([_0x314564,_0x431369])=>{const _0x4b4a07=new Map();return _0x314564['forEach']((_0x9a9fd3,_0x35afda)=>{const _0x4045c2=_0x2d55;if(_0x9a9fd3[_0x4045c2(0x27b)]===_0x266de9){const _0x3ed01a={..._0x9a9fd3};_0x3ed01a['color']=_0x431369[_0x9a9fd3['color']],_0x4b4a07[_0x4045c2(0xbe)](_0x35afda,_0x3ed01a);}}),{'skeleton':_0x47333c,'cursors':_0x4b4a07};}));}return _0x3639ee['of']({'skeleton':null,'cursors':new Map()});}))[_0x4ebbb1(0x2e1)](({skeleton:_0x334152,cursors:_0x5057f8})=>{this['_removeCollabCursors'](),_0x334152&&this['_updateCollabCursors'](_0x334152,_0x5057f8);}),this[_0x4ebbb1(0x268)][_0x4ebbb1(0x1fe)][_0x4ebbb1(0x2e1)](_0x10ccca=>{const _0x226fc0=_0x4ebbb1;if(_0x10ccca==null)return;const {skeleton:_0x41c85d}=_0x10ccca,{scene:_0x585305}=this['_context'];_0x585305[_0x226fc0(0x36d)][_0x226fc0(0xb7)](_0x45c518(_0x47f584=>{const _0x5826ba=_0x226fc0;var _0x37de7c,_0x24d5c9;const {offsetX:_0x44c275,offsetY:_0x6f2b08}=_0x47f584,{x:_0x450bf3,y:_0x464b28}=_0x585305[_0x5826ba(0x3e7)](_0x24af47[_0x5826ba(0x47f)][_0x5826ba(0x1dd)]([_0x44c275,_0x6f2b08])),{scaleX:_0x4871ba,scaleY:_0x490b42}=_0x585305['getAncestorScale'](),_0x7acf86=_0x585305[_0x5826ba(0x44c)](_0x12bc0e[_0x5826ba(0x3f3)]['VIEW_MAIN']),_0x1c5160=_0x585305['getVpScrollXYInfoByPosToVp'](_0x24af47[_0x5826ba(0x47f)]['FromArray']([_0x450bf3,_0x464b28]),_0x7acf86),_0x188b92=_0x41c85d[_0x5826ba(0x150)](_0x44c275,_0x6f2b08,_0x4871ba,_0x490b42,_0x1c5160);((_0x37de7c=this[_0x5826ba(0x404)])==null?void 0x0:_0x37de7c['column'])===_0x188b92[_0x5826ba(0x3cd)]&&((_0x24d5c9=this[_0x5826ba(0x404)])==null?void 0x0:_0x24d5c9[_0x5826ba(0x3b5)])===_0x188b92[_0x5826ba(0x3b5)]||this[_0x5826ba(0x29f)][_0x5826ba(0x173)](_0x2cb82b=>{const _0x2e0dc5=_0x5826ba;_0x2cb82b[_0x2e0dc5(0x139)](_0x188b92);});},0x64));});}[_0x474fca(0x479)](_0x10af8a,_0x57c38e){const _0x275fe6=_0x474fca;var _0x57e411;const _0x3af384=(_0x57e411=this['_sheetSkeletonManagerService'][_0x275fe6(0x3d4)]())==null?void 0x0:_0x57e411[_0x275fe6(0x1bb)];if(!_0x3af384)return;const _0x52fbe5=this[_0x275fe6(0x3b8)]();if(!_0x52fbe5)return;this[_0x275fe6(0x29f)][_0x275fe6(0x173)](_0x5c00a3=>{const _0x16239e=_0x275fe6;_0x5c00a3[_0x16239e(0x316)]();});const {scene:_0x3c0e68}=_0x52fbe5,_0x20ebbb=_0x210472(Array[_0x275fe6(0x222)](_0x57c38e['values']()))[_0x275fe6(0x18f)](_0x5d5538=>{const _0x119363=_0x275fe6,{color:_0x271dbf,range:_0x31a3b3,name:_0x352d9b,selection:_0x1bc13a,sheetID:_0x46b1d8}=_0x5d5538,{startColumn:_0x121e83,startRow:_0x2ebc0c,endColumn:_0x4a0599,endRow:_0xcb3c82}=_0x31a3b3,_0x2560f9=_0x12bc0e['getCoordByCell'](_0x2ebc0c,_0x121e83,_0x3c0e68,_0x3af384),_0xebd39a=_0x12bc0e[_0x119363(0x2e6)](_0xcb3c82,_0x4a0599,_0x3c0e68,_0x3af384),{columnHeaderHeightAndMarginTop:_0x4adb61}=_0x3af384,{startX:_0x56c16a,startY:_0x4949ae}=_0x2560f9,{endX:_0x189706,endY:_0x197f4b}=_0xebd39a,_0xb1e0bd=_0x189706-_0x56c16a,_0x5c8a47=_0x197f4b-_0x4949ae,_0x33c426={'labelPosition':_0x4949ae-_0x4adb61>=_0x2f3f31?_0x119363(0x425):_0x119363(0x155),'sheetID':_0x46b1d8,'range':_0x31a3b3,'color':_0x271dbf,'name':_0x352d9b,'selection':_0x1bc13a,'left':_0x56c16a,'top':_0x4949ae,'width':_0xb1e0bd,'height':_0x5c8a47,'evented':!0x1,'zIndex':_0x1e90e7};return new _0x57dbff(_0x352d9b,_0x33c426);});_0x3c0e68[_0x275fe6(0x328)](_0x20ebbb,_0x1feba6),this[_0x275fe6(0x29f)]=new Set(_0x20ebbb);}[_0x474fca(0xd2)](){const _0x551107=_0x474fca;var _0x784584;(_0x784584=this[_0x551107(0x29f)])==null||_0x784584[_0x551107(0x173)](_0x335ed7=>_0x335ed7[_0x551107(0x19a)]());}['_getSheetObject'](){const _0x140df1=_0x474fca;return _0x12bc0e['getSheetObject'](this[_0x140df1(0x3b9)][_0x140df1(0x323)],this[_0x140df1(0x3b9)]);}};_0x57fff8=_0x32374c([_0x26eb38(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x12bc0e[_0x474fca(0x388)])),_0x26eb38(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x4073a6)),_0x26eb38(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x369)]))],_0x57fff8);function _0x210472(_0x298fa1){const _0x23555f=_0x474fca,_0x2c135e=new Map();return _0x298fa1[_0x23555f(0x173)](_0x16b235=>{const _0x56ec3b=_0x23555f;if(_0x2c135e[_0x56ec3b(0x400)](_0x16b235[_0x56ec3b(0x1f4)])){const _0x195441=_0x2c135e[_0x56ec3b(0x261)](_0x16b235[_0x56ec3b(0x1f4)]);_0x195441['name']+=',\x20'+_0x16b235['name'];}else _0x2c135e[_0x56ec3b(0xbe)](_0x16b235[_0x56ec3b(0x1f4)],_0x16b235);}),Array['from'](_0x2c135e[_0x23555f(0x42c)]());}var _0x1b7fd1=function(){return _0x1b7fd1=Object['assign']||function(_0x2b6e8a){const _0x21a88c=_0x2d55;for(var _0x51abe9,_0x2073aa=0x1,_0x3ff668=arguments[_0x21a88c(0x2b9)];_0x2073aa<_0x3ff668;_0x2073aa++){_0x51abe9=arguments[_0x2073aa];for(var _0x127d27 in _0x51abe9)Object['prototype'][_0x21a88c(0x1d3)]['call'](_0x51abe9,_0x127d27)&&(_0x2b6e8a[_0x127d27]=_0x51abe9[_0x127d27]);}return _0x2b6e8a;},_0x1b7fd1['apply'](this,arguments);},_0x2a037c=function(_0x4b912f,_0x4228){const _0x30c422=_0x474fca;var _0xfa0707={};for(var _0x41c64a in _0x4b912f)Object[_0x30c422(0x2be)]['hasOwnProperty'][_0x30c422(0x1c7)](_0x4b912f,_0x41c64a)&&_0x4228['indexOf'](_0x41c64a)<0x0&&(_0xfa0707[_0x41c64a]=_0x4b912f[_0x41c64a]);if(_0x4b912f!=null&&typeof Object[_0x30c422(0xc1)]==_0x30c422(0x36c)){for(var _0x5a19d2=0x0,_0x41c64a=Object[_0x30c422(0xc1)](_0x4b912f);_0x5a19d2<_0x41c64a[_0x30c422(0x2b9)];_0x5a19d2++)_0x4228[_0x30c422(0x36b)](_0x41c64a[_0x5a19d2])<0x0&&Object['prototype'][_0x30c422(0xf4)][_0x30c422(0x1c7)](_0x4b912f,_0x41c64a[_0x5a19d2])&&(_0xfa0707[_0x41c64a[_0x5a19d2]]=_0x4b912f[_0x41c64a[_0x5a19d2]]);}return _0xfa0707;},_0x4bd657=_0x58a26a[_0x474fca(0x291)](function(_0x565742,_0x32cc35){const _0x38bcf3=_0x474fca;var _0x18c57f=_0x565742['icon'],_0x397d8a=_0x565742['id'],_0x33fb5b=_0x565742['className'],_0x3613c8=_0x565742[_0x38bcf3(0x110)],_0x40347b=_0x2a037c(_0x565742,[_0x38bcf3(0x111),'id',_0x38bcf3(0x3df),_0x38bcf3(0x110)]),_0x4db4f3='univerjs-icon\x20univerjs-icon-'[_0x38bcf3(0x141)](_0x397d8a,'\x20')[_0x38bcf3(0x141)](_0x33fb5b||'')[_0x38bcf3(0x3b4)](),_0x395e18=_0x58a26a[_0x38bcf3(0x3dd)]('_'[_0x38bcf3(0x141)](_0x1f7d3a()));return _0x372787(_0x18c57f,''[_0x38bcf3(0x141)](_0x397d8a),{'defIds':_0x18c57f[_0x38bcf3(0x3bf)],'idSuffix':_0x395e18['current']},_0x1b7fd1({'ref':_0x32cc35,'className':_0x4db4f3},_0x40347b),_0x3613c8);});function _0x372787(_0x4a0756,_0x5a59b5,_0x5e3b66,_0x520ba5,_0xc9b45){const _0x9c1937=_0x474fca;return _0x58a26a[_0x9c1937(0x2a4)](_0x4a0756[_0x9c1937(0x168)],_0x1b7fd1(_0x1b7fd1({'key':_0x5a59b5},_0x3e3951(_0x4a0756,_0x5e3b66,_0xc9b45)),_0x520ba5),(_0x407c17(_0x4a0756,_0x5e3b66)['children']||[])[_0x9c1937(0x18f)](function(_0x2ab57,_0x8a484f){const _0x3dfa50=_0x9c1937;return _0x372787(_0x2ab57,''['concat'](_0x5a59b5,'-')['concat'](_0x4a0756[_0x3dfa50(0x168)],'-')['concat'](_0x8a484f),_0x5e3b66,void 0x0,_0xc9b45);}));}function _0x3e3951(_0x576782,_0x5c41fe,_0x333a6d){const _0x5022ef=_0x474fca;var _0x11fed5=_0x1b7fd1({},_0x576782['attrs']);_0x333a6d!=null&&_0x333a6d['colorChannel1']&&_0x11fed5[_0x5022ef(0x32e)]===_0x5022ef(0x284)&&(_0x11fed5[_0x5022ef(0x32e)]=_0x333a6d[_0x5022ef(0x284)]);var _0x36e23f=_0x5c41fe[_0x5022ef(0x3bf)];return!_0x36e23f||_0x36e23f[_0x5022ef(0x2b9)]===0x0||(_0x576782[_0x5022ef(0x168)]===_0x5022ef(0x3ed)&&_0x11fed5['xlink:href']&&(_0x11fed5['xlink:href']=_0x11fed5[_0x5022ef(0x1cf)]+_0x5c41fe[_0x5022ef(0x43e)]),Object[_0x5022ef(0x402)](_0x11fed5)[_0x5022ef(0x173)](function(_0x3e408a){const _0x3ccf98=_0x5022ef;var _0x1fffaa=_0x3e408a[0x0],_0xb5e0c1=_0x3e408a[0x1];typeof _0xb5e0c1=='string'&&(_0x11fed5[_0x1fffaa]=_0xb5e0c1[_0x3ccf98(0x15a)](/url\(#(.*)\)/,_0x3ccf98(0xb9)['concat'](_0x5c41fe[_0x3ccf98(0x43e)],')')));})),_0x11fed5;}function _0x407c17(_0x54c0a7,_0x3b338f){const _0x3a34f1=_0x474fca;var _0x5ab161,_0x210a3b=_0x3b338f[_0x3a34f1(0x3bf)];return!_0x210a3b||_0x210a3b[_0x3a34f1(0x2b9)]===0x0?_0x54c0a7:_0x54c0a7[_0x3a34f1(0x168)]===_0x3a34f1(0x219)&&(!((_0x5ab161=_0x54c0a7[_0x3a34f1(0x159)])===null||_0x5ab161===void 0x0)&&_0x5ab161[_0x3a34f1(0x2b9)])?_0x1b7fd1(_0x1b7fd1({},_0x54c0a7),{'children':_0x54c0a7[_0x3a34f1(0x159)]['map'](function(_0x2ad4c9){const _0xc3ed1f=_0x3a34f1;return typeof _0x2ad4c9[_0xc3ed1f(0x1e0)]['id']==_0xc3ed1f(0x20d)&&_0x210a3b&&_0x210a3b['indexOf'](_0x2ad4c9[_0xc3ed1f(0x1e0)]['id'])>-0x1?_0x1b7fd1(_0x1b7fd1({},_0x2ad4c9),{'attrs':_0x1b7fd1(_0x1b7fd1({},_0x2ad4c9[_0xc3ed1f(0x1e0)]),{'id':_0x2ad4c9['attrs']['id']+_0x3b338f[_0xc3ed1f(0x43e)]})}):_0x2ad4c9;})}):_0x54c0a7;}function _0x1f7d3a(){const _0x55a760=_0x474fca;return Math[_0x55a760(0x319)]()[_0x55a760(0xa2)](0x24)[_0x55a760(0x13d)](0x2,0x8);}_0x4bd657['displayName']='UniverIcon';var _0xfb323e={'tag':_0x474fca(0x9a),'attrs':{'fill':_0x474fca(0x376),'viewBox':'0\x200\x2016\x2016','width':_0x474fca(0x1ef),'height':_0x474fca(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x474fca(0x242),'attrs':{'stroke':_0x474fca(0x22f),'d':_0x474fca(0x2e9),'strokeLinecap':_0x474fca(0x3ba),'strokeLinejoin':_0x474fca(0x3ba),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x474fca(0xc7),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x474fca(0x242),'attrs':{'fill':_0x474fca(0xc4),'d':_0x474fca(0x1d1)}}]}]}],'defIds':[_0x474fca(0x194)]},_0x58f827=_0x58a26a[_0x474fca(0x291)](function(_0x18f8bf,_0x44ed30){const _0x550b7e=_0x474fca;return _0x58a26a['createElement'](_0x4bd657,Object[_0x550b7e(0x433)]({},_0x18f8bf,{'id':'off-line-single','ref':_0x44ed30,'icon':_0xfb323e}));});_0x58f827[_0x474fca(0x3a1)]=_0x474fca(0x125);var _0x3f2c1b={'tag':_0x474fca(0x9a),'attrs':{'fill':_0x474fca(0x376),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x474fca(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':_0x474fca(0x247)},'children':[{'tag':_0x474fca(0x242),'attrs':{'stroke':_0x474fca(0x22f),'d':_0x474fca(0x142),'strokeLinecap':_0x474fca(0x3ba),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x474fca(0x219),'attrs':{},'children':[{'tag':_0x474fca(0xc7),'attrs':{'id':_0x474fca(0x26c)},'children':[{'tag':_0x474fca(0x242),'attrs':{'fill':_0x474fca(0xc4),'d':_0x474fca(0x1d1),'transform':'translate(.97)'}}]}]}],'defIds':[_0x474fca(0x26c)]},_0x2c2e2d=_0x58a26a[_0x474fca(0x291)](function(_0x2609fa,_0x58999b){const _0x1d090d=_0x474fca;return _0x58a26a[_0x1d090d(0x2a4)](_0x4bd657,Object['assign']({},_0x2609fa,{'id':'on-line-single','ref':_0x58999b,'icon':_0x3f2c1b}));});_0x2c2e2d[_0x474fca(0x3a1)]=_0x474fca(0x1b6);const _0x24640e={'onlineStatusIcon':_0x474fca(0xcd),'onlineStatusTitle':_0x474fca(0x296),'onlineStatus':'univer-online-status','online':_0x474fca(0x383),'offline':_0x474fca(0x384)};function _0x4e1526(_0x23b1b3){const _0x2e0165=_0x474fca;switch(_0x23b1b3){case _0x3e6ce[_0x2e0165(0x35a)]:return _0x2e0165(0xbf);case _0x3e6ce['CONFLICT']:return _0x2e0165(0x2c3);case _0x3e6ce[_0x2e0165(0x2a7)]:return _0x2e0165(0x3b3);case _0x3e6ce['NOT_COLLAB']:return'collabStatus.notCollab';case _0x3e6ce[_0x2e0165(0x408)]:case _0x3e6ce[_0x2e0165(0x3be)]:case _0x3e6ce['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3e6ce[_0x2e0165(0xd8)]:return _0x2e0165(0xed);}}function _0x26ba18(_0x831f82){const _0x403a01=_0x474fca,{status$:_0x35baed}=_0x831f82,_0x27bb04=_0x202279['useObservable'](_0x35baed,_0x3e6ce[_0x403a01(0x283)]),_0x5e46bd=_0x132eb9[_0x403a01(0x1e8)](_0x132eb9[_0x403a01(0x318)]),_0xd3fae9=_0x27bb04!==_0x3e6ce['OFFLINE'],_0x54ea7e=_0x5e46bd['t'](_0x4e1526(_0x27bb04)),_0x583816=_0x3a1d76(_0x24640e[_0x403a01(0x445)],{[_0x24640e[_0x403a01(0x342)]]:_0xd3fae9,[_0x24640e[_0x403a01(0x2b3)]]:!_0xd3fae9}),_0x152d29=_0xd3fae9?_0x58a26a[_0x403a01(0x2a4)](_0x2c2e2d,null):_0x58a26a[_0x403a01(0x2a4)](_0x58f827,null);return _0x58a26a[_0x403a01(0x2a4)](_0x403a01(0x279),{'className':_0x583816},_0x58a26a['createElement'](_0x403a01(0x279),{'className':_0x24640e[_0x403a01(0x187)]},_0x152d29),_0x58a26a[_0x403a01(0x2a4)](_0x403a01(0x279),{'className':_0x24640e['onlineStatusTitle']},_0x54ea7e));}var _0x24ba1c=Object[_0x474fca(0x109)],_0x147542=Object[_0x474fca(0xcc)],_0x16e74c=(_0x319621,_0x4eb905,_0x1cdf05,_0x24a8b8)=>{const _0x543402=_0x474fca;for(var _0x25c92d=_0x24a8b8>0x1?void 0x0:_0x24a8b8?_0x147542(_0x4eb905,_0x1cdf05):_0x4eb905,_0x196d71=_0x319621[_0x543402(0x2b9)]-0x1,_0x24629b;_0x196d71>=0x0;_0x196d71--)(_0x24629b=_0x319621[_0x196d71])&&(_0x25c92d=(_0x24a8b8?_0x24629b(_0x4eb905,_0x1cdf05,_0x25c92d):_0x24629b(_0x25c92d))||_0x25c92d);return _0x24a8b8&&_0x25c92d&&_0x24ba1c(_0x4eb905,_0x1cdf05,_0x25c92d),_0x25c92d;},_0x2430f9=(_0x540ecb,_0x2b29d3)=>(_0x3d4abf,_0x100956)=>_0x2b29d3(_0x3d4abf,_0x100956,_0x540ecb);_0x48d167['DesktopCollaborationStatusDisplayController']=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x54ea97,_0x224acf,_0x55905d,_0x3a9d0a){const _0x3ef03f=_0x474fca;super(),_0x3b7d06(this,_0x3ef03f(0x2d7),new _0x3639ee[(_0x3ef03f(0x2a0))](_0x3e6ce['NOT_COLLAB'])),(this['_univerInstanceService']=_0x54ea97,this['_uiPartsService']=_0x224acf,this['_injector']=_0x55905d,this['_collaborationController']=_0x3a9d0a,this[_0x3ef03f(0x363)](),this[_0x3ef03f(0x3cf)]());}[_0x474fca(0x363)](){const _0x24963f=_0x474fca;this[_0x24963f(0x26e)](this[_0x24963f(0x41f)]['registerComponent'](_0x202279[_0x24963f(0x295)][_0x24963f(0x3e5)],()=>_0x132eb9['connectInjector'](_0x59c220({'status$':this[_0x24963f(0x2d7)]['asObservable']()}),this['_injector'])));}['_initStatusListener'](){const _0x488a8b=_0x474fca;this['disposeWithMe'](_0x132eb9[_0x488a8b(0x2c0)](this[_0x488a8b(0x1bd)][_0x488a8b(0x401)][_0x488a8b(0x195)](_0x3639ee['switchMap'](()=>{const _0x542d30=_0x488a8b,_0x1313c8=this[_0x542d30(0x1bd)][_0x542d30(0x461)]();return _0x1313c8?this['_collaborationController'][_0x542d30(0x1c8)](_0x1313c8[_0x542d30(0x225)]()):_0x3639ee['of'](null);}),_0x3639ee['switchMap'](_0x54edd7=>_0x54edd7?_0x54edd7[_0x488a8b(0x382)]:_0x3639ee['of'](_0x3e6ce['NOT_COLLAB'])))[_0x488a8b(0x2e1)](_0x2c59f7=>{const _0x1ee471=_0x488a8b;this[_0x1ee471(0x2d7)][_0x1ee471(0x452)](_0x2c59f7);})));}},_0x48d167[_0x474fca(0x3dc)]=_0x16e74c([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9['LifecycleStages']['Starting'],_0x48d167[_0x474fca(0x3dc)]),_0x2430f9(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x2430f9(0x1,_0x202279[_0x474fca(0x45e)]),_0x2430f9(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x2430f9(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x251)]))],_0x48d167[_0x474fca(0x3dc)]);function _0x59c220(_0x105480){const {status$:_0x24c866}=_0x105480;return function(){const _0x4c8e2a=_0x2d55;return _0x58a26a[_0x4c8e2a(0x2a4)](_0x26ba18,{'status$':_0x24c866});};}const _0x454085=_0x132eb9['createIdentifier'](_0x474fca(0x46b));var _0x231f8f=Object[_0x474fca(0x109)],_0x5b8202=Object['getOwnPropertyDescriptor'],_0x3bfa67=(_0x142fa8,_0x2e509e,_0x1e0713,_0x2124aa)=>{const _0x2ee086=_0x474fca;for(var _0x2c7536=_0x2124aa>0x1?void 0x0:_0x2124aa?_0x5b8202(_0x2e509e,_0x1e0713):_0x2e509e,_0x5a683c=_0x142fa8[_0x2ee086(0x2b9)]-0x1,_0x581dab;_0x5a683c>=0x0;_0x5a683c--)(_0x581dab=_0x142fa8[_0x5a683c])&&(_0x2c7536=(_0x2124aa?_0x581dab(_0x2e509e,_0x1e0713,_0x2c7536):_0x581dab(_0x2c7536))||_0x2c7536);return _0x2124aa&&_0x2c7536&&_0x231f8f(_0x2e509e,_0x1e0713,_0x2c7536),_0x2c7536;},_0x4f1e6c=(_0x5d4c5f,_0x5a2aff)=>(_0x4db2c3,_0x959b38)=>_0x5a2aff(_0x4db2c3,_0x959b38,_0x5d4c5f);_0x48d167['DataLoaderController']=class extends _0x132eb9['RxDisposable']{constructor(_0x290157,_0x512cee,_0x43d93f,_0x51ced9,_0x1c72ba,_0x253719){const _0x43fa5c=_0x474fca;super(),this[_0x43fa5c(0x371)]=_0x290157,this[_0x43fa5c(0x1ac)]=_0x512cee,this[_0x43fa5c(0x1c9)]=_0x43d93f,this[_0x43fa5c(0x40b)]=_0x51ced9,this[_0x43fa5c(0x16b)]=_0x1c72ba,_0x253719?_0x253719==null||_0x253719[_0x43fa5c(0x9c)]()[_0x43fa5c(0x321)](()=>this[_0x43fa5c(0x1d5)]()):(this['_logService'][_0x43fa5c(0x19c)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x43fa5c(0x1d5)]());}async[_0x474fca(0x1d5)](){const _0x30d842=_0x474fca,_0x456b6a=this[_0x30d842(0x371)][_0x30d842(0x30c)]('unit'),_0x1084ef=this[_0x30d842(0x371)]['getParam'](_0x30d842(0x11a));if(!_0x456b6a||!_0x1084ef){this[_0x30d842(0x1ac)][_0x30d842(0x19c)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x1084ef)){case _0x2f5f8c[_0x30d842(0x1a0)]:{const _0x39f4a8=await this[_0x30d842(0x387)](_0x456b6a);this[_0x30d842(0x3cc)](_0x39f4a8);break;}case _0x2f5f8c['UNIVER_DOC']:{await this[_0x30d842(0x15e)](_0x456b6a);break;}default:{this[_0x30d842(0x1ac)][_0x30d842(0xf5)](_0x30d842(0x1b0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x474fca(0x3cc)](_0x503ff2){const _0x42d8fa=_0x474fca;await this[_0x42d8fa(0xae)](_0x503ff2),_0x503ff2['activeSheet$'][_0x42d8fa(0x195)](_0x3639ee['takeUntil'](this[_0x42d8fa(0x2b5)]))[_0x42d8fa(0x2e1)](_0x4a320c=>{const _0x35f900=_0x42d8fa;_0x4a320c&&this[_0x35f900(0xa4)](_0x4a320c);}),this[_0x42d8fa(0x371)]['urlChange$'][_0x42d8fa(0x195)](_0x3639ee[_0x42d8fa(0x37a)](this[_0x42d8fa(0x2b5)]))[_0x42d8fa(0x2e1)](()=>this[_0x42d8fa(0xae)](_0x503ff2));}[_0x474fca(0xa4)](_0x2e0adb,_0x2b58cf=!0x1){const _0x241bdb=_0x474fca,_0x2ccdc5=this['_urlService'][_0x241bdb(0x30c)](_0x241bdb(0xe9));_0x2e0adb[_0x241bdb(0x136)]()!==_0x2ccdc5&&this['_urlService'][_0x241bdb(0x3f9)]('subunit',_0x2e0adb[_0x241bdb(0x136)](),_0x2b58cf);}async[_0x474fca(0xae)](_0x4f6940){const _0x3e2b7e=_0x474fca;var _0x4c7550;const _0x263701=this['_urlService']['getParam'](_0x3e2b7e(0xe9));if(!_0x263701||!_0x4f6940[_0x3e2b7e(0x2f9)](_0x263701)){const _0x13e737=_0x4f6940[_0x3e2b7e(0x390)]()[0x0],_0x1b73ea=_0x4f6940[_0x3e2b7e(0x2f9)](_0x13e737);if(!_0x1b73ea)return;this['_updateURLWithCurrentState'](_0x1b73ea,!0x0),await this[_0x3e2b7e(0x1c9)]['executeCommand'](_0x21d024[_0x3e2b7e(0xf0)]['id'],{'unitId':_0x4f6940['getUnitId'](),'subUnitId':_0x13e737});return;}((_0x4c7550=_0x4f6940[_0x3e2b7e(0xba)]())==null?void 0x0:_0x4c7550[_0x3e2b7e(0x136)]())!==_0x263701&&await this['_commandService'][_0x3e2b7e(0x15b)](_0x21d024[_0x3e2b7e(0xf0)]['id'],{'unitId':_0x4f6940[_0x3e2b7e(0x225)](),'subUnitId':_0x263701});}async[_0x474fca(0x387)](_0x40ccb6){const _0x314859=_0x474fca;let _0x2d6c6b=0x0;const _0x34c2ad=await this['_localCacheService'][_0x314859(0xee)](_0x40ccb6);return _0x34c2ad&&(_0x34c2ad['awaitingChangeset']||_0x34c2ad[_0x314859(0x256)]['length']!==0x0)&&(_0x2d6c6b=_0x34c2ad[_0x314859(0x3cb)]),_0x2d6c6b===0x0&&this['_logService']['debug'](_0x314859(0x1b0),_0x314859(0x2bc)),this[_0x314859(0x16b)][_0x314859(0x24d)](_0x40ccb6,_0x2d6c6b);}async[_0x474fca(0x15e)](_0x464263){const _0x1cb28c=_0x474fca;let _0x168888=0x0;const _0x38557c=await this['_localCacheService'][_0x1cb28c(0xee)](_0x464263);return _0x38557c&&(_0x38557c[_0x1cb28c(0x335)]||_0x38557c[_0x1cb28c(0x256)][_0x1cb28c(0x2b9)]!==0x0)&&(_0x168888=_0x38557c['rev']),_0x168888===0x0&&this[_0x1cb28c(0x1ac)][_0x1cb28c(0x19c)]('[DataLoaderController]',_0x1cb28c(0x2bc)),this[_0x1cb28c(0x16b)][_0x1cb28c(0x1db)](_0x464263,_0x168888);}},_0x48d167['DataLoaderController']=_0x3bfa67([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x48d167[_0x474fca(0x98)]),_0x4f1e6c(0x0,_0x454085),_0x4f1e6c(0x1,_0x132eb9['ILogService']),_0x4f1e6c(0x2,_0x132eb9[_0x474fca(0x1f1)]),_0x4f1e6c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x4f1e6c(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x1e6)])),_0x4f1e6c(0x5,_0x132eb9[_0x474fca(0x199)](_0x4ab2ac[_0x474fca(0x3ef)]))],_0x48d167[_0x474fca(0x98)]);var _0x285be5=Object[_0x474fca(0x109)],_0x465810=Object[_0x474fca(0xcc)],_0x1e71fc=(_0x2f705c,_0x2142a3,_0x34f20a,_0x551ea7)=>{const _0x20fba8=_0x474fca;for(var _0x344329=_0x551ea7>0x1?void 0x0:_0x551ea7?_0x465810(_0x2142a3,_0x34f20a):_0x2142a3,_0x38e85d=_0x2f705c[_0x20fba8(0x2b9)]-0x1,_0x3140b7;_0x38e85d>=0x0;_0x38e85d--)(_0x3140b7=_0x2f705c[_0x38e85d])&&(_0x344329=(_0x551ea7?_0x3140b7(_0x2142a3,_0x34f20a,_0x344329):_0x3140b7(_0x344329))||_0x344329);return _0x551ea7&&_0x344329&&_0x285be5(_0x2142a3,_0x34f20a,_0x344329),_0x344329;},_0x459559=(_0x35f205,_0x2b26a0)=>(_0x398775,_0x5b5549)=>_0x2b26a0(_0x398775,_0x5b5549,_0x35f205);const _0x1b18a0=_0x474fca(0x96),_0x4234bd='Univer';let _0x345dbc=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x2a870a,_0x33d0d6){const _0x4b64c5=_0x474fca;super(),this[_0x4b64c5(0x1bd)]=_0x2a870a,this[_0x4b64c5(0x26f)]=_0x33d0d6,this[_0x4b64c5(0x1d5)]();}[_0x474fca(0x1d5)](){const _0x57b311=_0x474fca;this[_0x57b311(0x26e)](_0x132eb9[_0x57b311(0x2c0)](this[_0x57b311(0x1bd)][_0x57b311(0x401)][_0x57b311(0x2e1)](()=>{const _0x38cb06=_0x57b311;var _0x2a6c33;const _0x4850b9=this[_0x38cb06(0x1bd)][_0x38cb06(0x461)]();let _0x3fffc4=(_0x2a6c33=this[_0x38cb06(0x26f)][_0x38cb06(0x3a2)](_0x1b18a0))!=null?_0x2a6c33:_0x4234bd;_0x4850b9 instanceof _0x132eb9[_0x38cb06(0x20b)]&&(_0x3fffc4=_0x4850b9[_0x38cb06(0x26d)]),document['title']=_0x3fffc4;})));}};_0x345dbc=_0x1e71fc([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x450)],_0x345dbc),_0x459559(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x459559(0x1,_0x132eb9[_0x474fca(0x46a)])],_0x345dbc);var _0x539da0=Object['defineProperty'],_0x3d2a70=Object[_0x474fca(0xcc)],_0x2c9795=(_0xbac8a5,_0x1fd7da,_0x13def7,_0x522f03)=>{const _0x1c3f98=_0x474fca;for(var _0x4e1fc7=_0x522f03>0x1?void 0x0:_0x522f03?_0x3d2a70(_0x1fd7da,_0x13def7):_0x1fd7da,_0x3237bf=_0xbac8a5[_0x1c3f98(0x2b9)]-0x1,_0x37d976;_0x3237bf>=0x0;_0x3237bf--)(_0x37d976=_0xbac8a5[_0x3237bf])&&(_0x4e1fc7=(_0x522f03?_0x37d976(_0x1fd7da,_0x13def7,_0x4e1fc7):_0x37d976(_0x4e1fc7))||_0x4e1fc7);return _0x522f03&&_0x4e1fc7&&_0x539da0(_0x1fd7da,_0x13def7,_0x4e1fc7),_0x4e1fc7;},_0x5d84a0=(_0x20fb46,_0x424d9b)=>(_0xac6b1f,_0x4b3f15)=>_0x424d9b(_0xac6b1f,_0x4b3f15,_0x20fb46);_0x48d167[_0x474fca(0x231)]=class{constructor(_0x4a3d3a,_0x2bf769){const _0x12a1e5=_0x474fca;this[_0x12a1e5(0x26f)]=_0x4a3d3a,this[_0x12a1e5(0x3da)]=_0x2bf769;}async[_0x474fca(0x1a7)](_0x52c341,_0x2f1007){const _0x353e6e=_0x474fca;var _0x1f7c79;const {unitID:_0x1ce7d3,type:_0x4c3e29,revision:_0x11afd0=0x0}=_0x2f1007,_0x273758=this[_0x353e6e(0x3f0)]()+'/'+_0x4c3e29+_0x353e6e(0x27f)+_0x1ce7d3+'/rev/'+_0x11afd0,_0x3ee086=(await this['_httpService'][_0x353e6e(0x261)](_0x273758))['body'],_0x407e86=(_0x1f7c79=_0x3ee086['snapshot'])==null?void 0x0:_0x1f7c79['workbook'];if(_0x407e86){const _0x365e4a=_0x407e86==null?void 0x0:_0x407e86[_0x353e6e(0x315)],_0x48607d=_0x132eb9[_0x353e6e(0x29e)][_0x353e6e(0x9e)](_0x132eb9[_0x353e6e(0x436)](_0x365e4a));_0x407e86[_0x353e6e(0x315)]=_0x48607d,Object[_0x353e6e(0x402)](_0x407e86[_0x353e6e(0x13a)])[_0x353e6e(0x173)](([,_0x56b05b])=>{const _0x2e9114=_0x353e6e,_0x398bc2=_0x56b05b['originalMeta'],_0x3af074=_0x132eb9[_0x2e9114(0x29e)][_0x2e9114(0x9e)](_0x132eb9[_0x2e9114(0x436)](_0x398bc2));_0x56b05b[_0x2e9114(0x315)]=_0x3af074;});}return _0x3ee086;}async[_0x474fca(0x1ec)](_0x15946d,_0x44c6b1){const _0x7bcaa2=_0x474fca,{unitID:_0x55d3cd,type:_0x2692f2,blockID:_0xf9d1e6}=_0x44c6b1,_0x13552d=this[_0x7bcaa2(0x45c)]()+'/'+_0x2692f2+_0x7bcaa2(0x27f)+_0x55d3cd+_0x7bcaa2(0x263)+_0xf9d1e6;return(await this['_httpService'][_0x7bcaa2(0x261)](_0x13552d))[_0x7bcaa2(0x472)];}async[_0x474fca(0xc0)](_0x4a51a1,_0x391eeb){const _0x1d39d7=_0x474fca,{unitID:_0x486a4d,type:_0x45a162,from:_0x173aa7,to:_0x26855f}=_0x391eeb,_0x3b5b07=this[_0x1d39d7(0x45c)]()+'/'+_0x45a162+_0x1d39d7(0x27f)+_0x486a4d+'/fetchmissing?from='+_0x173aa7+_0x1d39d7(0x367)+_0x26855f;return(await this['_httpService'][_0x1d39d7(0x261)](_0x3b5b07))[_0x1d39d7(0x472)];}[_0x474fca(0x3f0)](){const _0x1f662d=_0x474fca;var _0x18b93c;return(_0x18b93c=this[_0x1f662d(0x26f)][_0x1f662d(0x3a2)](_0x5e8172))!=null?_0x18b93c:this[_0x1f662d(0x45c)]();}[_0x474fca(0x45c)](){const _0x5f2654=_0x474fca;var _0x1dd85c;return(_0x1dd85c=this[_0x5f2654(0x26f)]['getConfig'](_0x474f5b))!=null?_0x1dd85c:_0x152042;}async[_0x474fca(0x457)](_0x8bdea7,_0x2e3dd5){const _0x31d68f=_0x474fca,_0x549550=_0x31d68f(0xd7)+_0x2e3dd5[_0x31d68f(0x11a)]+_0x31d68f(0x27f)+_0x2e3dd5[_0x31d68f(0x176)]+'/resources';return(await this[_0x31d68f(0x3da)][_0x31d68f(0x261)](_0x549550,{'params':{'resourceId':JSON['stringify'](_0x2e3dd5['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x474fca(0x1bf)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x48d167[_0x474fca(0x231)]=_0x2c9795([_0x5d84a0(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x5d84a0(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)]))],_0x48d167['SnapshotServerOverHTTPService']);var _0x32c88c=Object[_0x474fca(0x109)],_0x45d65f=Object[_0x474fca(0xcc)],_0x4606b2=(_0x3b0ee9,_0x44e1a5,_0x5019f3,_0x4f4ffe)=>{for(var _0x1f6825=_0x4f4ffe>0x1?void 0x0:_0x4f4ffe?_0x45d65f(_0x44e1a5,_0x5019f3):_0x44e1a5,_0x598fb7=_0x3b0ee9['length']-0x1,_0x539107;_0x598fb7>=0x0;_0x598fb7--)(_0x539107=_0x3b0ee9[_0x598fb7])&&(_0x1f6825=(_0x4f4ffe?_0x539107(_0x44e1a5,_0x5019f3,_0x1f6825):_0x539107(_0x1f6825))||_0x1f6825);return _0x4f4ffe&&_0x1f6825&&_0x32c88c(_0x44e1a5,_0x5019f3,_0x1f6825),_0x1f6825;},_0x3084fa=(_0x13fe14,_0x3b9dbc)=>(_0x31cb43,_0x22c36c)=>_0x3b9dbc(_0x31cb43,_0x22c36c,_0x13fe14);let _0x4f58da=class extends _0x132eb9[_0x474fca(0x2d5)]{constructor(_0x596a0f,_0x3c083b,_0xeb7106,_0x5abb7f,_0x2b0d81){const _0x1fcb40=_0x474fca;super(_0x596a0f,_0x3c083b,_0xeb7106),this['_transformService']=_0x5abb7f,this[_0x1fcb40(0x1ac)]=_0x2b0d81;}[_0x474fca(0x32a)](_0x440304,_0x95b189){const _0x591261=_0x474fca,_0x12cdd3=this[_0x591261(0x399)](_0x440304);if(_0x12cdd3)try{const _0x269c8e=this['_transformStack'](_0x12cdd3,_0x95b189);this[_0x591261(0x21e)](_0x440304,_0x269c8e);}catch(_0x16fb09){this[_0x591261(0x1ac)][_0x591261(0xf5)](_0x591261(0x17c),_0x16fb09),this['_clearUndo'](_0x440304);}const _0x5ba200=this[_0x591261(0x389)](_0x440304);if(_0x5ba200)try{const _0x1f92ab=this['_transformStack'](_0x5ba200,_0x95b189);this[_0x591261(0xcb)](_0x440304,_0x1f92ab);}catch(_0x4a8db4){this[_0x591261(0x1ac)][_0x591261(0xf5)](_0x4a8db4),this[_0x591261(0x3fd)](_0x440304);}}[_0x474fca(0x238)](_0x24bf99){const _0x93a443=_0x474fca,_0x2e68ae=this[_0x93a443(0x399)](_0x24bf99);_0x2e68ae&&(_0x2e68ae[_0x93a443(0x2b9)]=0x0,this[_0x93a443(0x1ce)]());}[_0x474fca(0x3fd)](_0x1061d2){const _0x4657fa=_0x474fca,_0x49aec3=this['_getRedoStack'](_0x1061d2);_0x49aec3&&(_0x49aec3['length']=0x0,this[_0x4657fa(0x1ce)]());}[_0x474fca(0x21e)](_0x4dcdbb,_0x49fce9){const _0xf77eb0=_0x474fca;this[_0xf77eb0(0x12a)]['set'](_0x4dcdbb,_0x49fce9),this[_0xf77eb0(0x1ce)]();}[_0x474fca(0xcb)](_0x26b4ef,_0x2f6e13){const _0x16c851=_0x474fca;this[_0x16c851(0x289)]['set'](_0x26b4ef,_0x2f6e13),this['_updateStatus']();}[_0x474fca(0x208)](_0x3ad1d1,_0x4c184f){const _0x15f2ad=_0x474fca,_0x3da61a=[];let _0xf653bd=_0x4c184f,_0x33e136=_0x4c184f;for(let _0x230ba7=_0x3ad1d1[_0x15f2ad(0x2b9)]-0x1;_0x230ba7>=0x0;_0x230ba7--){const {unitID:_0x16f261,undoMutations:_0x1a31c9,redoMutations:_0x22c9a4}=_0x3ad1d1[_0x230ba7],_0x16c3b5=this[_0x15f2ad(0x190)]['transformMutationsWithChangeset'](_0xf653bd,_0x1a31c9),_0x2becdb=this[_0x15f2ad(0x190)]['transformMutationsWithChangeset'](_0x33e136,_0x22c9a4);if(_0x1524d['isTransformMutationsWithChangesetFailure'](_0x16c3b5)||_0x1524d[_0x15f2ad(0x21c)](_0x2becdb)){this[_0x15f2ad(0x1ac)][_0x15f2ad(0xf5)](_0x15f2ad(0x17c),_0x15f2ad(0x2cd),_0x16c3b5,_0x2becdb);break;}_0xf653bd=_0x16c3b5['c1Prime'],_0x33e136=_0x2becdb[_0x15f2ad(0x1f5)],_0x3da61a[_0x15f2ad(0x277)]({'unitID':_0x16f261,'undoMutations':_0x16c3b5[_0x15f2ad(0x43b)],'redoMutations':_0x2becdb['m2Prime']});}return _0x3da61a[_0x15f2ad(0x37f)]();}};_0x4f58da=_0x4606b2([_0x3084fa(0x0,_0x132eb9['IUniverInstanceService']),_0x3084fa(0x1,_0x132eb9['ICommandService']),_0x3084fa(0x2,_0x132eb9[_0x474fca(0x2bb)]),_0x3084fa(0x3,_0x1524d[_0x474fca(0x439)]),_0x3084fa(0x4,_0x132eb9[_0x474fca(0xad)])],_0x4f58da);class _0x56db24 extends _0x132eb9['RxDisposable']{constructor(){const _0xc483c5=_0x474fca;super(),_0x3b7d06(this,_0xc483c5(0x298)),this[_0xc483c5(0x298)]=_0x3639ee['fromEvent'](window,_0xc483c5(0x144))['pipe'](_0x3639ee[_0xc483c5(0x37a)](this['dispose$']),_0x3639ee[_0xc483c5(0x426)](0x1),_0x3639ee[_0xc483c5(0x443)](void 0x0));}[_0x474fca(0x3f9)](_0x5e7eb5,_0x192330,_0x138884=!0x1){const _0x45402c=_0x474fca,_0x469f96=new URL(window[_0x45402c(0x36f)]['href']);_0x469f96[_0x45402c(0xf6)][_0x45402c(0xbe)](_0x5e7eb5,_0x192330),_0x138884?window[_0x45402c(0x185)][_0x45402c(0x21f)]('','',_0x469f96[_0x45402c(0xa2)]()):window[_0x45402c(0x185)][_0x45402c(0x3a0)]('','',_0x469f96['toString']());}[_0x474fca(0x2e2)](_0x14b23b,_0xb28cf3=!0x1){const _0x6fd48=_0x474fca,_0x4fc658=new URL(window['location'][_0x6fd48(0x3c1)]);_0x4fc658['searchParams'][_0x6fd48(0x224)](_0x14b23b),_0xb28cf3?window[_0x6fd48(0x185)][_0x6fd48(0x21f)]('','',_0x4fc658['toString']()):window[_0x6fd48(0x185)]['pushState']('','',_0x4fc658['toString']());}['getParam'](_0x44535e){const _0x17c63c=_0x474fca;var _0x3fcdac;return(_0x3fcdac=new URL(window[_0x17c63c(0x36f)]['href'])[_0x17c63c(0xf6)][_0x17c63c(0x261)](_0x44535e))!=null?_0x3fcdac:void 0x0;}}const _0x1f1791='collab-text-anchor-',_0x190996=_0x474fca(0x1fa),_0x44d369='collab-rect-range-',_0x1099f8=0x6,_0x43ede2=1.5,_0x125c51=0x4,_0xb0b81d=1.5,_0x22b5ef='rgba(255,\x20255,\x20255,\x200.01)';class _0x471da0{constructor(_0x150c89,_0x2f3a33,_0x1397ce,_0x2b2006){const _0x6dbc0d=_0x474fca;_0x3b7d06(this,_0x6dbc0d(0x34a),[]),_0x3b7d06(this,_0x6dbc0d(0x267),null),_0x3b7d06(this,'_textBubble',null),_0x3b7d06(this,_0x6dbc0d(0x154),null),_0x3b7d06(this,_0x6dbc0d(0x3c0),null),_0x3b7d06(this,_0x6dbc0d(0x16e),null),(this[_0x6dbc0d(0x451)]=_0x150c89,this[_0x6dbc0d(0x482)]=_0x2f3a33,this[_0x6dbc0d(0x3e1)]=_0x1397ce,this[_0x6dbc0d(0x403)]=_0x2b2006,this[_0x6dbc0d(0x19e)]());}set[_0x474fca(0x29c)](_0x193b22){const _0x506b80=_0x474fca;_0x193b22?(this[_0x506b80(0x154)]&&this[_0x506b80(0x154)][_0x506b80(0x180)](),this[_0x506b80(0x46f)]&&this['_textBubble'][_0x506b80(0xac)]()):(this[_0x506b80(0x154)]&&this[_0x506b80(0x154)][_0x506b80(0xac)](),this[_0x506b80(0x46f)]&&this['_textBubble'][_0x506b80(0x180)]());}[_0x474fca(0x19a)](){const _0x2c7f2f=_0x474fca;for(const _0x7c5501 of this[_0x2c7f2f(0x34a)])_0x7c5501[_0x2c7f2f(0x19a)]();this[_0x2c7f2f(0x46f)]&&this[_0x2c7f2f(0x46f)]['dispose'](),this[_0x2c7f2f(0x154)]&&this[_0x2c7f2f(0x154)]['dispose'](),this[_0x2c7f2f(0x267)]&&this['_anchor'][_0x2c7f2f(0x19a)](),this[_0x2c7f2f(0x16e)]&&this['_eventUnsubscribe']();}[_0x474fca(0x19e)](){const _0x4cfa7c=_0x474fca;var _0xcb6d87;const {_docSkeleton:_0x873924,_document:_0x21be01}=this,{color:_0x3a695c,name:_0x2316b5,ranges:_0x3b8c07}=this['_cursor'],_0x1dfccb=_0x21be01[_0x4cfa7c(0xfb)](),{docsLeft:_0x1c2577,docsTop:_0x173f9a}=_0x1dfccb,_0x388f71=new _0x24af47[(_0x4cfa7c(0x297))](_0x1dfccb,_0x873924);for(const {startOffset:_0x3ff2cd,endOffset:_0x3aca74,collapsed:_0x157a84,isActive:_0xc42258}of _0x3b8c07){const _0x2c1f51=_0x873924['findNodePositionByCharIndex'](_0x3ff2cd),_0x57dcde=_0x873924[_0x4cfa7c(0x9f)](_0x3aca74);if(_0xc42258){const {contentBoxPointGroup:_0x24c873}=_0x388f71[_0x4cfa7c(0x17a)](_0x57dcde,_0x57dcde);if(_0x24c873['length']===0x0)continue;this[_0x4cfa7c(0xd0)](_0x3a695c,_0x24c873,_0x1c2577,_0x173f9a,_0x2316b5),this['_eventUnsubscribe']=this[_0x4cfa7c(0x40a)]();}if(!_0x157a84&&_0x2c1f51&&_0x57dcde){if(_0x24af47[_0x4cfa7c(0x3ff)](_0x2c1f51,_0x57dcde)){const _0x440ebc=new _0x24af47[(_0x4cfa7c(0x179))](_0x1dfccb,_0x873924),{pointGroup:_0x5e2036}=(_0xcb6d87=_0x440ebc['getRangePointData'](_0x2c1f51,_0x57dcde))!=null?_0xcb6d87:{};if(_0x5e2036==null||_0x5e2036[_0x4cfa7c(0x2b9)]===0x0)continue;this[_0x4cfa7c(0x145)](_0x3a695c,_0x5e2036,_0x1c2577,_0x173f9a);}else{const {contentBoxPointGroup:_0x1e9aa9}=_0x388f71[_0x4cfa7c(0x17a)](_0x2c1f51,_0x57dcde);if(_0x1e9aa9['length']===0x0)continue;this[_0x4cfa7c(0x278)](_0x3a695c,_0x1e9aa9,_0x1c2577,_0x173f9a);}}}}[_0x474fca(0xd0)](_0x3d01c4,_0x27696a,_0x442135,_0x49fe2e,_0x4c40ec){const _0x2a6d21=_0x474fca,_0xa2f875=this[_0x2a6d21(0x220)](_0x27696a),{left:_0x1f18f5,top:_0x1af252,height:_0x3f4904}=_0xa2f875,_0x4e330a=this['_getScale'](),_0x1aad8e=_0xb0b81d/_0x4e330a,_0x4ef458=new _0x24af47[(_0x2a6d21(0x411))](_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)][_0x2a6d21(0x2de)](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e,'height':_0x3f4904,'width':_0x43ede2,'fill':_0x3d01c4||_0x24af47[_0x2a6d21(0x480)](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'strokeWidth':_0x1aad8e,'stroke':_0x22b5ef,'evented':!0x0});this[_0x2a6d21(0x267)]=_0x4ef458,this[_0x2a6d21(0x482)]['addObject'](_0x4ef458,_0x24af47[_0x2a6d21(0x25c)]);const _0x524dd1=new _0x24af47[(_0x2a6d21(0x411))](_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)]['generateRandomId'](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e-_0x125c51/0x2,'height':_0x125c51,'width':_0x125c51,'fill':_0x3d01c4||_0x24af47['getColor'](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'strokeWidth':0x0,'stroke':_0x3d01c4||_0x24af47[_0x2a6d21(0x480)](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'evented':!0x1});this['_anchorDot']=_0x524dd1,this[_0x2a6d21(0x482)]['addObject'](_0x524dd1,_0x24af47[_0x2a6d21(0x25c)]);const _0x358e9d=new _0x1313fc(_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)][_0x2a6d21(0x2de)](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e-_0x2f3f31,'text':_0x4c40ec,'color':_0x3d01c4});this[_0x2a6d21(0x46f)]=_0x358e9d,this['_scene'][_0x2a6d21(0x1da)](_0x358e9d,_0x24af47[_0x2a6d21(0x25c)]),this[_0x2a6d21(0x29c)]=!0x1;}[_0x474fca(0x40a)](){const _0x3dc9c2=_0x474fca,_0x45ef4f=this[_0x3dc9c2(0x267)]['onPointerEnter$']['subscribeEvent'](()=>{const _0xd724d=_0x3dc9c2;this[_0xd724d(0x29c)]=!0x0;}),_0x40056b=this['_anchor'][_0x3dc9c2(0x46c)][_0x3dc9c2(0xb7)](()=>{const _0x28b5bb=_0x3dc9c2;this[_0x28b5bb(0x3c0)]&&clearTimeout(this[_0x28b5bb(0x3c0)]),this[_0x28b5bb(0x3c0)]=setTimeout(()=>{const _0x9993c6=_0x28b5bb;this[_0x9993c6(0x29c)]=!0x1;},0x7d0);});return()=>{const _0x43f982=_0x3dc9c2;_0x45ef4f['unsubscribe'](),_0x40056b[_0x43f982(0xde)]();};}[_0x474fca(0x278)](_0x2e81a4,_0x56bca4,_0x19fa44,_0x26f7b1){const _0x58ccf8=_0x474fca,_0x29349a=new _0x132eb9[(_0x58ccf8(0x215))](_0x2e81a4)[_0x58ccf8(0xbc)](0.2)[_0x58ccf8(0x312)](),_0x3aea7f=new _0x24af47[(_0x58ccf8(0x1d8))](_0x190996+_0x132eb9['Tools']['generateRandomId'](_0x1099f8),{'pointsGroup':_0x56bca4,'fill':_0x29349a||_0x24af47['getColor'](_0x132eb9[_0x58ccf8(0xd3)]['black'],0.2),'left':_0x19fa44,'top':_0x26f7b1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58ccf8(0x34a)][_0x58ccf8(0x277)](_0x3aea7f),this[_0x58ccf8(0x482)][_0x58ccf8(0x1da)](_0x3aea7f,_0x24af47[_0x58ccf8(0x25c)]);}['_drawRectRange'](_0x55e254,_0x236349,_0x505460,_0x244cf3){const _0x434c49=_0x474fca,_0x48368a=new _0x132eb9['ColorKit'](_0x55e254)['setAlpha'](0.2)[_0x434c49(0x312)](),_0x533dc4=new _0x24af47[(_0x434c49(0x1d8))](_0x44d369+_0x132eb9[_0x434c49(0x44f)][_0x434c49(0x2de)](_0x1099f8),{'pointsGroup':_0x236349,'fill':_0x48368a||_0x24af47[_0x434c49(0x480)](_0x132eb9[_0x434c49(0xd3)][_0x434c49(0x146)],0.2),'left':_0x505460,'top':_0x244cf3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x434c49(0x34a)]['push'](_0x533dc4),this[_0x434c49(0x482)]['addObject'](_0x533dc4,_0x24af47[_0x434c49(0x25c)]);}[_0x474fca(0x220)](_0x4fb255){const _0x1c0a9c=_0x4fb255[0x0],_0x4214cb=_0x1c0a9c[0x0],_0x4cbc9b=_0x1c0a9c[0x2],{x:_0x21c2ca,y:_0x30a968}=_0x4214cb,{x:_0x179cfc,y:_0x1c38bd}=_0x4cbc9b;return{'left':_0x21c2ca,'top':_0x30a968,'width':_0x179cfc-_0x21c2ca,'height':_0x1c38bd-_0x30a968};}[_0x474fca(0x41c)](){const _0x7b1ba0=_0x474fca,{scaleX:_0x35f2b3,scaleY:_0x30b358}=this['_scene'][_0x7b1ba0(0x19d)]();return Math[_0x7b1ba0(0xfc)](_0x35f2b3,_0x30b358);}}var _0x17495a=Object[_0x474fca(0x109)],_0x41907b=Object[_0x474fca(0xcc)],_0x764e48=(_0x4574ee,_0x451987,_0x24ac56,_0x4cfa6a)=>{const _0x2d0bc0=_0x474fca;for(var _0xcddcb6=_0x4cfa6a>0x1?void 0x0:_0x4cfa6a?_0x41907b(_0x451987,_0x24ac56):_0x451987,_0x545ffe=_0x4574ee[_0x2d0bc0(0x2b9)]-0x1,_0x18a4c1;_0x545ffe>=0x0;_0x545ffe--)(_0x18a4c1=_0x4574ee[_0x545ffe])&&(_0xcddcb6=(_0x4cfa6a?_0x18a4c1(_0x451987,_0x24ac56,_0xcddcb6):_0x18a4c1(_0xcddcb6))||_0xcddcb6);return _0x4cfa6a&&_0xcddcb6&&_0x17495a(_0x451987,_0x24ac56,_0xcddcb6),_0xcddcb6;},_0x5bbcf9=(_0x5662ca,_0x1ed246)=>(_0x262a44,_0x21ac09)=>_0x1ed246(_0x262a44,_0x21ac09,_0x5662ca);let _0x1c9143=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x37b3eb,_0x465383,_0x3a26a4,_0x2df029,_0x2a9b70){const _0x15ee10=_0x474fca;super(),_0x3b7d06(this,_0x15ee10(0x17e),[]),_0x3b7d06(this,_0x15ee10(0x29f),[]),(this[_0x15ee10(0x3b9)]=_0x37b3eb,this['_docSkeletonManagerService']=_0x465383,this[_0x15ee10(0x1f0)]=_0x3a26a4,this[_0x15ee10(0x1c9)]=_0x2df029,this[_0x15ee10(0x45b)]=_0x2a9b70,this[_0x15ee10(0x1d5)]());}['_init'](){const _0x4e4e4e=_0x474fca,_0x4a4ff2=this[_0x4e4e4e(0x3b9)][_0x4e4e4e(0xa5)],_0x25b466=this[_0x4e4e4e(0x340)];this['disposeWithMe'](_0x3639ee[_0x4e4e4e(0x300)]([this[_0x4e4e4e(0x1f0)][_0x4e4e4e(0x188)](_0x4a4ff2),this[_0x4e4e4e(0x45b)]['currentTheme$']])[_0x4e4e4e(0x195)](_0x5d8ab5[_0x4e4e4e(0x18f)](([_0x2f5502,_0x5e508a])=>({'skeleton':_0x25b466[_0x4e4e4e(0x119)](),'cursors':[..._0x2f5502[_0x4e4e4e(0x42c)]()][_0x4e4e4e(0x424)](_0x10a43a=>({..._0x10a43a,'color':_0x5e508a[_0x10a43a[_0x4e4e4e(0xfe)]]}))})))['subscribe'](_0xc4b3c6=>{const _0x4e6305=_0x4e4e4e;if(this[_0x4e6305(0xd2)](),_0xc4b3c6){const {skeleton:_0x3985ed,cursors:_0x336532}=_0xc4b3c6;this[_0x4e6305(0x479)](_0x3985ed,_0x336532);}})),this[_0x4e4e4e(0x353)](),this['_initCommandExecutedListener']();}[_0x474fca(0x479)](_0x5cacdc,_0x245b7d){const _0x1f3e12=_0x474fca,{scene:_0x274ce4,mainComponent:_0x2aaa53}=this['_context'],_0x4d844a=_0x245b7d[_0x1f3e12(0x18f)](_0x13cb88=>new _0x471da0(_0x13cb88,_0x274ce4,_0x5cacdc,_0x2aaa53));this[_0x1f3e12(0x17e)]=_0x4d844a,this[_0x1f3e12(0x29f)]=_0x245b7d;}['_refreshCollabCursors'](){const _0x66adea=_0x474fca;this[_0x66adea(0xd2)]();const {scene:_0x2b6445,mainComponent:_0x184cf0}=this['_context'],_0x5e8800=this[_0x66adea(0x340)]['getSkeleton'](),_0x56c479=this[_0x66adea(0x29f)]['map'](_0x1266ba=>new _0x471da0(_0x1266ba,_0x2b6445,_0x5e8800,_0x184cf0));this[_0x66adea(0x17e)]=_0x56c479;}[_0x474fca(0xd2)](){const _0x32b381=_0x474fca;this[_0x32b381(0x17e)][_0x32b381(0x173)](_0x5e5e14=>_0x5e5e14[_0x32b381(0x19a)]()),this['_cursorShapes']=[];}[_0x474fca(0xcf)](){const _0x69df8c=_0x474fca,_0x11a2b6=[_0x4b287a[_0x69df8c(0x240)]['id']];this[_0x69df8c(0x26e)](this[_0x69df8c(0x1c9)][_0x69df8c(0x344)](_0x4697d2=>{const _0x3baac6=_0x69df8c;_0x11a2b6[_0x3baac6(0x317)](_0x4697d2['id'])&&_0x4697d2[_0x3baac6(0xe6)][_0x3baac6(0xa5)]===this['_context'][_0x3baac6(0xa5)]&&this[_0x3baac6(0x45d)]();}));}[_0x474fca(0x353)](){const _0x310cfb=_0x474fca;this[_0x310cfb(0x26e)](_0x132eb9['fromEventSubject'](this[_0x310cfb(0x3b9)]['engine'][_0x310cfb(0x2e8)])[_0x310cfb(0x195)](_0x5d8ab5[_0x310cfb(0x1cd)](_0x2701a3=>_0x2701a3[_0x310cfb(0x11a)]===_0x24af47[_0x310cfb(0x47c)]['resize']),_0x5d8ab5['throttleTime'](0x10))[_0x310cfb(0x2e1)](()=>{const _0x37ba2a=_0x310cfb;this[_0x37ba2a(0x45d)]();}));}};_0x1c9143=_0x764e48([_0x132eb9['OnLifecycle'](_0x132eb9[_0x474fca(0x232)]['Steady'],_0x1c9143),_0x5bbcf9(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x4b287a[_0x474fca(0x1f7)])),_0x5bbcf9(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x4073a6)),_0x5bbcf9(0x3,_0x132eb9['ICommandService']),_0x5bbcf9(0x4,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x369)]))],_0x1c9143);var _0x4f01c6=Object[_0x474fca(0x109)],_0x358418=Object['getOwnPropertyDescriptor'],_0x23f800=(_0x3dc72b,_0x5efee5,_0x24b3da,_0x39852e)=>{const _0x3c3d89=_0x474fca;for(var _0x37ee2a=_0x39852e>0x1?void 0x0:_0x39852e?_0x358418(_0x5efee5,_0x24b3da):_0x5efee5,_0x4cd0a3=_0x3dc72b[_0x3c3d89(0x2b9)]-0x1,_0x104278;_0x4cd0a3>=0x0;_0x4cd0a3--)(_0x104278=_0x3dc72b[_0x4cd0a3])&&(_0x37ee2a=(_0x39852e?_0x104278(_0x5efee5,_0x24b3da,_0x37ee2a):_0x104278(_0x37ee2a))||_0x37ee2a);return _0x39852e&&_0x37ee2a&&_0x4f01c6(_0x5efee5,_0x24b3da,_0x37ee2a),_0x37ee2a;},_0x53cfc5=(_0x3f4e77,_0x35ebbb)=>(_0x4c1a4e,_0xec186e)=>_0x35ebbb(_0x4c1a4e,_0xec186e,_0x3f4e77);let _0xb1bc0c=class{constructor(_0x46a650,_0x86f5d6,_0x57825b){const _0x56c6ee=_0x474fca;this[_0x56c6ee(0x26f)]=_0x46a650,this['_httpService']=_0x86f5d6,this[_0x56c6ee(0x211)]=_0x57825b,this['init']();}[_0x474fca(0x1ed)](){const _0x44ae33=_0x474fca;this[_0x44ae33(0x3da)][_0x44ae33(0x3a4)]({'priority':0x1,'interceptor':(_0x1b7148,_0x469584)=>_0x469584(_0x1b7148)['pipe'](_0x3639ee['concatMap'](async _0x46ac45=>{const _0x13cb97=_0x44ae33,_0x28787c=_0x46ac45;if(_0x28787c[_0x13cb97(0x332)]===0x191&&window[_0x13cb97(0x3c5)](this[_0x13cb97(0x211)]['t'](_0x13cb97(0x113)))){const _0x49f39e=window[_0x13cb97(0x3d5)](window[_0x13cb97(0x36f)][_0x13cb97(0x3c1)]);window[_0x13cb97(0x36f)][_0x13cb97(0x3c1)]=this[_0x13cb97(0x2f3)]()+_0x13cb97(0x10c)+_0x49f39e;}return _0x28787c;}))});}['_getLoginPath'](){const _0x2b357d=_0x474fca;var _0x26a77a;return(_0x26a77a=this[_0x2b357d(0x26f)][_0x2b357d(0x3a2)](_0x596ca2))!=null?_0x26a77a:_0x2bbb39;}};_0xb1bc0c=_0x23f800([_0x53cfc5(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x53cfc5(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x53cfc5(0x2,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)]))],_0xb1bc0c);var _0x454b0a=Object[_0x474fca(0x109)],_0xb3dedc=Object['getOwnPropertyDescriptor'],_0x2add22=(_0x118e6d,_0x207a67,_0x2c1aa7,_0x4c6b84)=>{for(var _0x2d5ae8=_0x4c6b84>0x1?void 0x0:_0x4c6b84?_0xb3dedc(_0x207a67,_0x2c1aa7):_0x207a67,_0x274a33=_0x118e6d['length']-0x1,_0x196014;_0x274a33>=0x0;_0x274a33--)(_0x196014=_0x118e6d[_0x274a33])&&(_0x2d5ae8=(_0x4c6b84?_0x196014(_0x207a67,_0x2c1aa7,_0x2d5ae8):_0x196014(_0x2d5ae8))||_0x2d5ae8);return _0x4c6b84&&_0x2d5ae8&&_0x454b0a(_0x207a67,_0x2c1aa7,_0x2d5ae8),_0x2d5ae8;},_0x2b2581=(_0x41d9a3,_0x7a0046)=>(_0x3aeaa1,_0x1dd7cf)=>_0x7a0046(_0x3aeaa1,_0x1dd7cf,_0x41d9a3);const _0x3dabc0=_0x474fca(0x164),_0x16aae6='/universer-api/authz';_0x48d167[_0x474fca(0x31b)]=class extends _0x132eb9['Disposable']{constructor(_0xc7aeaa,_0x1f007b){const _0x55a178=_0x474fca;super(),this[_0x55a178(0x3ce)]=_0xc7aeaa,this[_0x55a178(0x26f)]=_0x1f007b,this[_0x55a178(0x430)]();}[_0x474fca(0x430)](){const _0x1f98de=_0x474fca,_0x5b9ece=this;this[_0x1f98de(0x26e)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x5e809e['MergeInterceptorFactory']({'isMatch'(_0x47874b){const _0x415dfe=_0x1f98de;var _0x5747b3;if(_0x47874b[_0x415dfe(0x351)]==='POST'&&((_0x5747b3=_0x47874b['requestParams'])!=null&&_0x5747b3[_0x415dfe(0x472)])){const {objectID:_0x3474d1,objectType:_0x21f3b1}=_0x47874b[_0x415dfe(0x3b2)]['body']||{};if(!_0x3474d1||_0x21f3b1===void 0x0)return!0x1;const _0x531ead=_0x5b9ece[_0x415dfe(0x1f2)]()+'/'+_0x21f3b1+_0x415dfe(0x17f)+_0x3474d1+_0x415dfe(0xe3);if(_0x47874b[_0x415dfe(0x229)]===_0x531ead)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x189d5e){const _0x38fad7=_0x1f98de;var _0x372ad0;return(_0x372ad0=_0x189d5e[_0x38fad7(0x3b2)])==null?void 0x0:_0x372ad0[_0x38fad7(0x472)];},'mergeParamsToRequest'(_0x5a6c09,_0x16f8b9){const _0x3920a3=_0x1f98de,_0x44afda=_0x5b9ece[_0x3920a3(0x1f2)]()+_0x3920a3(0x3c4),_0x276b4e=_0x5a6c09[_0x3920a3(0xea)]((_0x226052,_0x52ec45)=>{const _0x48322d=_0x3920a3,{unitID:_0x2693f2,objectID:_0x39a425,objectType:_0x3a0acf,actions:_0x31c9f4}=_0x52ec45;return _0x226052[_0x2693f2]||(_0x226052[_0x2693f2]={}),_0x226052[_0x2693f2][_0x39a425]||(_0x226052[_0x2693f2][_0x39a425]={'objectID':_0x39a425,'objectType':_0x3a0acf,'actions':[]}),_0x226052[_0x2693f2][_0x39a425][_0x48322d(0xaf)][_0x48322d(0x277)](..._0x31c9f4),_0x226052;},{}),_0x93a4d6=[];for(const _0x605b8e in _0x276b4e)for(const _0x2017f7 in _0x276b4e[_0x605b8e]){const {actions:_0x566ecd,objectType:_0x4612f5}=_0x276b4e[_0x605b8e][_0x2017f7],_0x378117=[...new Set(_0x566ecd)];_0x93a4d6[_0x3920a3(0x277)]({'unitID':_0x605b8e,'objectID':_0x2017f7,'objectType':_0x4612f5,'actions':_0x378117});}return new _0x5e809e[(_0x3920a3(0x26b))](_0x3920a3(0x473),_0x44afda,{'headers':_0x16f8b9[_0x3920a3(0x23b)],'withCredentials':_0x16f8b9[_0x3920a3(0x2e3)],'responseType':_0x16f8b9['responseType'],'body':{'requests':_0x93a4d6}});}},{'distributeResult'(_0xce1ee8,_0x23a6e6){const _0xeadd56=_0x1f98de,{objectActions:_0x589716}=_0xce1ee8;return _0x23a6e6[_0xeadd56(0x18f)](_0x2ca0b0=>{const _0x4d6e84=_0xeadd56,{unitID:_0x293e7c,objectID:_0x2523b5,actions:_0x1925ad}=_0x2ca0b0,_0x36ee7c=_0x589716[_0x4d6e84(0x375)](_0x31c5a9=>_0x31c5a9[_0x4d6e84(0x176)]===_0x293e7c&&_0x31c5a9[_0x4d6e84(0x186)]===_0x2523b5),_0x11cec5=_0x1925ad[_0x4d6e84(0x18f)](_0x1e04eb=>_0x36ee7c==null?void 0x0:_0x36ee7c['actions']['find'](_0x35aa7f=>_0x35aa7f['action']===_0x1e04eb))[_0x4d6e84(0x1cd)](_0x254f3f=>!!_0x254f3f);return{'config':_0x2ca0b0,'result':{'actions':_0x11cec5,'error':_0xce1ee8[_0x4d6e84(0xf5)]}};});}})}));}['_getAPIPrefixPath'](){const _0x57b5f9=_0x474fca;var _0x1c4d4f;return(_0x1c4d4f=this[_0x57b5f9(0x26f)]['getConfig'](_0x3dabc0))!=null?_0x1c4d4f:_0x16aae6;}async[_0x474fca(0x140)](_0xdd2ee3){const _0x22c018=_0x474fca,_0x5e99ea=this[_0x22c018(0x1f2)]()+'/'+_0xdd2ee3[_0x22c018(0x184)]+_0x22c018(0xa3);return(await this[_0x22c018(0x3ce)]['post'](_0x5e99ea,{'body':_0xdd2ee3}))[_0x22c018(0x472)][_0x22c018(0x186)]||'';}async[_0x474fca(0x23f)](_0x3dd778){const _0x51c909=_0x474fca,_0x1ed034=this[_0x51c909(0x1f2)]()+'/-/object/list';return(await this[_0x51c909(0x3ce)][_0x51c909(0x128)](_0x1ed034,{'body':_0x3dd778}))[_0x51c909(0x472)]['objects'];}async[_0x474fca(0x37e)](_0xfd19bc){const _0x24b1a9=_0x474fca,_0x17dae1=this[_0x24b1a9(0x1f2)]()+'/'+_0xfd19bc[_0x24b1a9(0x184)]+_0x24b1a9(0x17f)+_0xfd19bc['objectID'];await this[_0x24b1a9(0x3ce)][_0x24b1a9(0x475)](_0x17dae1,{'body':_0xfd19bc});}async[_0x474fca(0x463)](_0x2da04e){const _0x5bba08=_0x474fca,_0x5ef12d=this['_getAPIPrefixPath']()+'/'+_0x2da04e['objectType']+_0x5bba08(0x17f)+_0x2da04e[_0x5bba08(0x186)]+_0x5bba08(0xe3);return(await this['_HTTPService']['post'](_0x5ef12d,{'body':_0x2da04e}))['body'][_0x5bba08(0xaf)];}async['batchAllowed'](_0x521a97){const _0x13cb2d=_0x474fca,_0x291653=this['_getAPIPrefixPath']()+_0x13cb2d(0x3c4);return(await this['_HTTPService'][_0x13cb2d(0x128)](_0x291653,{'body':{'requests':_0x521a97}}))['body'][_0x13cb2d(0x226)];}async[_0x474fca(0xb1)](_0x647019){const _0x1da938=_0x474fca,_0x3486da=this['_getAPIPrefixPath']()+'/'+_0x647019['objectType']+_0x1da938(0x34f),_0x23d6ab=await this['_HTTPService'][_0x1da938(0x128)](_0x3486da,{'body':_0x647019});return{'roles':_0x23d6ab[_0x1da938(0x472)]['roles'],'actions':_0x23d6ab[_0x1da938(0x472)][_0x1da938(0xaf)]};}async[_0x474fca(0x230)](_0x5d5113){const _0x49dab7=_0x474fca,_0x274fee=this[_0x49dab7(0x1f2)]()+_0x49dab7(0xb2);await this[_0x49dab7(0x3ce)][_0x49dab7(0x224)](_0x274fee,{'params':{'collaboratorID':_0x5d5113['collaboratorID'],'objectID':_0x5d5113[_0x49dab7(0x186)],'unitID':_0x5d5113['unitID']}});}async['updateCollaborator'](_0x1a7f09){const _0x10ae61=_0x474fca,_0x5e3367=this[_0x10ae61(0x1f2)]()+'/collaborator';await this[_0x10ae61(0x3ce)][_0x10ae61(0x37b)](_0x5e3367,{'body':_0x1a7f09});}async['createCollaborator'](_0x26676f){const _0x5e7322=_0x474fca,_0xd610c1=this[_0x5e7322(0x1f2)]()+'/collaborator';await this[_0x5e7322(0x3ce)]['post'](_0xd610c1,{'body':_0x26676f});}async['listCollaborators'](_0x54ca11){const _0x45f07e=_0x474fca,_0x5d8721=this[_0x45f07e(0x1f2)]()+_0x45f07e(0xb2);return(await this[_0x45f07e(0x3ce)][_0x45f07e(0x261)](_0x5d8721,{'params':{'objectID':_0x54ca11[_0x45f07e(0x186)],'unitID':_0x54ca11[_0x45f07e(0x176)]}}))['body'][_0x45f07e(0x210)];}async['putCollaborators'](_0x3fc081){const _0x440651=_0x474fca,_0x523270=this['_getAPIPrefixPath']()+_0x440651(0xb2);await this[_0x440651(0x3ce)]['put'](_0x523270,{'body':_0x3fc081});}},_0x48d167['AuthzIoHttpService']=_0x2add22([_0x2b2581(0x0,_0x132eb9['Inject'](_0x5e809e[_0x474fca(0xe7)])),_0x2b2581(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x46a)]))],_0x48d167[_0x474fca(0x31b)]);var _0x14f531=Object[_0x474fca(0x109)],_0x45901e=Object[_0x474fca(0xcc)],_0x226d69=(_0x51a3fc,_0xd0d0b2,_0x1ea0f0,_0x303121)=>{const _0x4752da=_0x474fca;for(var _0x4962d7=_0x303121>0x1?void 0x0:_0x303121?_0x45901e(_0xd0d0b2,_0x1ea0f0):_0xd0d0b2,_0xc06c5e=_0x51a3fc[_0x4752da(0x2b9)]-0x1,_0x363d23;_0xc06c5e>=0x0;_0xc06c5e--)(_0x363d23=_0x51a3fc[_0xc06c5e])&&(_0x4962d7=(_0x303121?_0x363d23(_0xd0d0b2,_0x1ea0f0,_0x4962d7):_0x363d23(_0x4962d7))||_0x4962d7);return _0x303121&&_0x4962d7&&_0x14f531(_0xd0d0b2,_0x1ea0f0,_0x4962d7),_0x4962d7;},_0x3d23d3=(_0x399b2f,_0x2d48a5)=>(_0x1296a6,_0x32f229)=>_0x2d48a5(_0x1296a6,_0x32f229,_0x399b2f);const _0x19018e=[_0x474fca(0x27a),'image/jpeg',_0x474fca(0x2a2),_0x474fca(0x27e),'image/bmp'],_0x124abc=0x5*0x400*0x400,_0x3b43e3=_0x474fca(0xdf),_0x528367=_0x474fca(0x280),_0x3d07e9=_0x474fca(0x484),_0x2658f9='/universer-api/file/{fileID}/sign-url';_0x48d167[_0x474fca(0x385)]=class{constructor(_0x55f566,_0x120f0a){const _0x53ef0d=_0x474fca;_0x3b7d06(this,_0x53ef0d(0x203),0x0),_0x3b7d06(this,_0x53ef0d(0x3fa),new _0x3639ee[(_0x53ef0d(0x1cb))]()),_0x3b7d06(this,'change$',this[_0x53ef0d(0x3fa)]),_0x3b7d06(this,'_imageSourceCache',new Map()),(this[_0x53ef0d(0x3da)]=_0x55f566,this['_configService']=_0x120f0a);}[_0x474fca(0x1c0)](_0x26e8a5){const _0x2a78f7=_0x474fca;this[_0x2a78f7(0x203)]=_0x26e8a5,this[_0x2a78f7(0x3fa)][_0x2a78f7(0x452)](_0x26e8a5);}[_0x474fca(0x302)](_0x2f37c2,_0x56128f){const _0x541bad=_0x474fca;if(_0x56128f===_0x46aaec[_0x541bad(0x2ec)][_0x541bad(0x3a6)]){const _0x1a95d2=new Image();return _0x1a95d2['src']=_0x2f37c2,_0x1a95d2;}return this['_imageSourceCache'][_0x541bad(0x261)](_0x2f37c2);}[_0x474fca(0x101)](_0x24c851,_0x3882ea,_0x5adfb9){const _0x1f5887=_0x474fca;_0x3882ea===_0x46aaec['ImageSourceType'][_0x1f5887(0x3a6)]||_0x5adfb9==null||this[_0x1f5887(0x1d7)][_0x1f5887(0xbe)](_0x24c851,_0x5adfb9);}async[_0x474fca(0x3ec)](_0x3913d2){const _0x5e1602=_0x474fca;try{const _0x5c9965=this[_0x5e1602(0x2d0)](this[_0x5e1602(0x2a1)](),''+_0x3913d2),_0x497f77=(await this[_0x5e1602(0x3da)][_0x5e1602(0x261)](_0x5c9965))[_0x5e1602(0x472)];return _0x497f77[_0x5e1602(0xf5)]&&_0x497f77[_0x5e1602(0xf5)][_0x5e1602(0x360)]===_0x3b4d51['OK']?Promise[_0x5e1602(0x156)](_0x497f77[_0x5e1602(0x229)]):Promise[_0x5e1602(0x471)](_0x497f77['error']);}catch(_0x2e0a94){return Promise['reject'](_0x2e0a94);}}async[_0x474fca(0x343)](_0x39cbec){const _0x43cb43=_0x474fca;let _0x1bbb9b='';if(!_0x19018e[_0x43cb43(0x317)](_0x39cbec['type']))return this[_0x43cb43(0x18b)](),Promise['reject'](new Error(_0x46aaec[_0x43cb43(0x182)][_0x43cb43(0x421)]));if(_0x39cbec[_0x43cb43(0xb8)]>_0x124abc)return this[_0x43cb43(0x18b)](),Promise['reject'](new Error(_0x46aaec['ImageUploadStatusType'][_0x43cb43(0x2e7)]));try{const _0x50b5d0=new FormData();_0x50b5d0['append'](_0x43cb43(0x2f6),_0x39cbec);const _0x398438=this['_getUploadFileURL']()+_0x43cb43(0xf8)+_0x39cbec[_0x43cb43(0xb8)]['toString'](),_0x370e01=await(await fetch(_0x398438,{'method':'POST','body':_0x50b5d0}))[_0x43cb43(0x216)]();if(typeof _0x370e01[_0x43cb43(0x1dc)]!=_0x43cb43(0x20d))return this[_0x43cb43(0x18b)](),Promise[_0x43cb43(0x471)](new Error(_0x46aaec['ImageUploadStatusType']['ERROR_IMAGE']));_0x1bbb9b=_0x370e01[_0x43cb43(0x1dc)];}catch{return this[_0x43cb43(0x18b)](),Promise[_0x43cb43(0x471)](new Error(_0x46aaec[_0x43cb43(0x182)][_0x43cb43(0xf7)]));}return new Promise((_0x3af095,_0x5ce2c5)=>{const _0x24b942=_0x43cb43,_0x43bab0=new FileReader();_0x43bab0[_0x24b942(0x3e2)](_0x39cbec),_0x43bab0[_0x24b942(0x29b)]=_0xbd05cf=>{const _0x54af33=_0x24b942;var _0x1e7d8c;const _0x496658=(_0x1e7d8c=_0xbd05cf['target'])==null?void 0x0:_0x1e7d8c['result'];if(_0x496658==null){this[_0x54af33(0x18b)](),_0x5ce2c5(new Error(_0x46aaec['ImageUploadStatusType'][_0x54af33(0xf7)]));return;}const _0x4f7fa2=_0x132eb9[_0x54af33(0x44f)][_0x54af33(0x2de)](0x6);_0x3af095({'imageId':_0x4f7fa2,'imageSourceType':_0x46aaec[_0x54af33(0x2ec)]['UUID'],'source':_0x1bbb9b,'base64Cache':_0x496658,'status':_0x46aaec[_0x54af33(0x182)][_0x54af33(0x35c)]}),this[_0x54af33(0x18b)]();};});}['_getUploadFileURL'](){const _0x1fe396=_0x474fca;var _0x275f32;return(_0x275f32=this[_0x1fe396(0x26f)][_0x1fe396(0x3a2)](_0x3b43e3))!=null?_0x275f32:_0x528367;}['_getSignURL'](){const _0x58e254=_0x474fca;var _0xbaf1f2;return(_0xbaf1f2=this[_0x58e254(0x26f)][_0x58e254(0x3a2)](_0x3d07e9))!=null?_0xbaf1f2:_0x2658f9;}[_0x474fca(0x2d0)](_0x3d3102,_0x575b46){const _0x2b0340=_0x474fca;return _0x3d3102[_0x2b0340(0x15a)](_0x2b0340(0x308),_0x575b46);}[_0x474fca(0x18b)](){const _0xd9ae29=_0x474fca;this['_waitCount']-=0x1,this['_change$']['next'](this[_0xd9ae29(0x203)]);}},_0x48d167[_0x474fca(0x385)]=_0x226d69([_0x3d23d3(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x3d23d3(0x1,_0x132eb9['IConfigService'])],_0x48d167[_0x474fca(0x385)]);var _0x3ed8f5=Object[_0x474fca(0x109)],_0x42c9f3=Object[_0x474fca(0xcc)],_0x2d99bc=(_0x23d408,_0x52a4d8,_0x29d0f2,_0x3e1511)=>{const _0x2ce9ca=_0x474fca;for(var _0x5ece54=_0x3e1511>0x1?void 0x0:_0x3e1511?_0x42c9f3(_0x52a4d8,_0x29d0f2):_0x52a4d8,_0x23fe05=_0x23d408[_0x2ce9ca(0x2b9)]-0x1,_0x44fd2b;_0x23fe05>=0x0;_0x23fe05--)(_0x44fd2b=_0x23d408[_0x23fe05])&&(_0x5ece54=(_0x3e1511?_0x44fd2b(_0x52a4d8,_0x29d0f2,_0x5ece54):_0x44fd2b(_0x5ece54))||_0x5ece54);return _0x3e1511&&_0x5ece54&&_0x3ed8f5(_0x52a4d8,_0x29d0f2,_0x5ece54),_0x5ece54;},_0x3f7f8a=(_0xf36180,_0x5cce19)=>(_0x35d936,_0x85cd3a)=>_0x5cce19(_0x35d936,_0x85cd3a,_0xf36180);let _0x4dfd7e=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x4152be,_0x5b0c89,_0x37a727,_0x12ca77,_0x4562d7){const _0x1cbac4=_0x474fca;super(),this['_injector']=_0x4152be,this[_0x1cbac4(0x1bd)]=_0x5b0c89,this[_0x1cbac4(0x28c)]=_0x37a727,this[_0x1cbac4(0x3e6)]=_0x12ca77,this[_0x1cbac4(0x1fc)]=_0x4562d7,this[_0x1cbac4(0x3af)](),this[_0x1cbac4(0x294)]();}[_0x474fca(0x294)](){const _0x4570db=_0x474fca,_0x4fa7f3=async _0x77d4a4=>{const _0x223c0d=_0x2d55;(await this[_0x223c0d(0x3e6)][_0x223c0d(0x21a)](_0x77d4a4))['event$'][_0x223c0d(0x195)](_0x5d8ab5['filter'](_0x8ec477=>_0x8ec477[_0x223c0d(0x31f)]===_0x1524d[_0x223c0d(0x2b2)]['SHOULD_CLOSE_CONN']),_0x5d8ab5[_0x223c0d(0x37a)](this[_0x223c0d(0x2b5)]))[_0x223c0d(0x2e1)](_0x506941=>{const _0x181bdc=_0x223c0d,_0x5345e5=_0x506941,{reason:_0x8db6f3}=_0x5345e5[_0x181bdc(0xe5)];this[_0x181bdc(0x306)][_0x181bdc(0x261)](_0x202279[_0x181bdc(0x123)])[_0x181bdc(0xac)]({'type':_0x59ab28[_0x181bdc(0x336)]['Error'],'content':this[_0x181bdc(0x1fc)]['t'](_0x181bdc(0x20f))+'('+_0x8db6f3+')'}),this[_0x181bdc(0x28c)][_0x181bdc(0x485)](new _0x21d024[(_0x181bdc(0x33c))](_0x77d4a4)['id'],!0x1),this[_0x181bdc(0x3e6)][_0x181bdc(0x39a)](_0x77d4a4);});};_0x3639ee['merge'](this[_0x4570db(0x1bd)][_0x4570db(0x25b)](_0x132eb9[_0x4570db(0x44e)][_0x4570db(0x1a0)]),this['_univerInstanceService'][_0x4570db(0x25b)](_0x132eb9[_0x4570db(0x44e)][_0x4570db(0x14d)]))['pipe'](_0x5d8ab5[_0x4570db(0x18f)](_0x239834=>_0x239834[_0x4570db(0x225)]()),_0x5d8ab5['filter'](_0x318015=>!_0x132eb9[_0x4570db(0xdb)](_0x318015)),_0x5d8ab5['takeUntil'](this[_0x4570db(0x2b5)]))['subscribe'](_0x4934b9=>{_0x4fa7f3(_0x4934b9);});}[_0x474fca(0x3af)](){const _0x257bf7=_0x474fca,_0x506e60=async _0x580b21=>{const _0x52ef01=_0x2d55;(await this['_collaborationSessionService'][_0x52ef01(0x21a)](_0x580b21))['event$'][_0x52ef01(0x195)](_0x5d8ab5[_0x52ef01(0x1cd)](_0xf929ec=>_0xf929ec[_0x52ef01(0x31f)]===_0x1524d[_0x52ef01(0x2b2)]['UPDATE_PERMISSION_OBJ']),_0x5d8ab5['takeUntil'](this[_0x52ef01(0x2b5)]))[_0x52ef01(0x2e1)](_0x5b95b0=>{const _0xcd7790=_0x52ef01,_0x13575b=_0x5b95b0,{objectId:_0x3668ec}=_0x13575b[_0xcd7790(0xe5)];_0x3668ec===_0x580b21&&this[_0xcd7790(0x306)][_0xcd7790(0x261)](_0x12bc0e['SheetPermissionInitController'])['initWorkbookPermissionChange'](_0x580b21);});};_0x3639ee[_0x257bf7(0xb5)](this['_univerInstanceService'][_0x257bf7(0x25b)](_0x132eb9[_0x257bf7(0x44e)][_0x257bf7(0x1a0)]),this['_univerInstanceService'][_0x257bf7(0x25b)](_0x132eb9['UniverInstanceType']['UNIVER_DOC']))[_0x257bf7(0x195)](_0x5d8ab5[_0x257bf7(0x18f)](_0xf72db0=>_0xf72db0[_0x257bf7(0x225)]()),_0x5d8ab5['filter'](_0x86dcdb=>!_0x132eb9[_0x257bf7(0xdb)](_0x86dcdb)),_0x5d8ab5[_0x257bf7(0x37a)](this[_0x257bf7(0x2b5)]))[_0x257bf7(0x2e1)](_0x45f144=>{_0x506e60(_0x45f144);});}};_0x4dfd7e=_0x2d99bc([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x4dfd7e),_0x3f7f8a(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x3f7f8a(0x1,_0x132eb9[_0x474fca(0x22d)]),_0x3f7f8a(0x2,_0x132eb9['IPermissionService']),_0x3f7f8a(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)])),_0x3f7f8a(0x4,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)]))],_0x4dfd7e);var _0x597d12=Object['defineProperty'],_0x3db6ed=Object[_0x474fca(0xcc)],_0x2a2fd1=(_0x646c58,_0x5886f6,_0x353530)=>_0x5886f6 in _0x646c58?_0x597d12(_0x646c58,_0x5886f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x353530}):_0x646c58[_0x5886f6]=_0x353530,_0x3411ff=(_0x522b37,_0x1fb621,_0x12430d,_0x3beafb)=>{const _0x4fcf28=_0x474fca;for(var _0x17e1da=_0x3beafb>0x1?void 0x0:_0x3beafb?_0x3db6ed(_0x1fb621,_0x12430d):_0x1fb621,_0x32f62c=_0x522b37[_0x4fcf28(0x2b9)]-0x1,_0x1e2af6;_0x32f62c>=0x0;_0x32f62c--)(_0x1e2af6=_0x522b37[_0x32f62c])&&(_0x17e1da=(_0x3beafb?_0x1e2af6(_0x1fb621,_0x12430d,_0x17e1da):_0x1e2af6(_0x17e1da))||_0x17e1da);return _0x3beafb&&_0x17e1da&&_0x597d12(_0x1fb621,_0x12430d,_0x17e1da),_0x17e1da;},_0x1761d7=(_0x3f6b9f,_0x34eeba)=>(_0x1543ed,_0x259c0d)=>_0x34eeba(_0x1543ed,_0x259c0d,_0x3f6b9f),_0x227745=(_0x41e986,_0x280eb5,_0x2edde1)=>_0x2a2fd1(_0x41e986,_0x280eb5+'',_0x2edde1);const _0x47ef42=_0x474fca(0x33f);_0x48d167[_0x474fca(0xb0)]=class extends _0x132eb9[_0x474fca(0x478)]{constructor(_0x5b7ce0,_0x49bcb4,_0x561fe6,_0x81f0c){const _0x2b6232=_0x474fca;super(),this[_0x2b6232(0x2c7)]=_0x5b7ce0,this[_0x2b6232(0x1ac)]=_0x49bcb4,this['_renderManagerService']=_0x561fe6,this[_0x2b6232(0x306)]=_0x81f0c;}[_0x474fca(0x2d6)](_0x1f5e52){const _0x4f5a43=_0x474fca;this[_0x4f5a43(0x358)](_0x1f5e52);}[_0x474fca(0x22a)](){const _0x370a4b=_0x474fca;this[_0x370a4b(0x1d2)]();}[_0x474fca(0x358)](_0x14a804){const _0x12785a=_0x474fca;var _0x2f832e,_0x4cf403,_0x4678ba,_0x22e2b4;_0x14a804[_0x12785a(0x400)](_0x132eb9[_0x12785a(0x1e4)])&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x12785a(0x201));let _0x3cc521=[[_0x132eb9[_0x12785a(0x1e4)],{'useClass':_0x4f58da}],[_0x48d167[_0x12785a(0xc6)]],[_0x35bdf6],[_0x5e809e[_0x12785a(0xe7)]],[_0x454085,{'useClass':_0x56db24}],[_0x191a69],[_0x48d167[_0x12785a(0x27d)]],[_0x5e809e[_0x12785a(0x2ed)]],[_0x40081e],[_0x49cc76],[_0x5e5e64],[_0x17ef3e],[_0xb1bc0c],[_0x333a83],[_0x4dfd7e],[_0x2b67b3,{'useClass':(_0x4cf403=(_0x2f832e=this[_0x12785a(0x2c7)])==null?void 0x0:_0x2f832e[_0x12785a(0x481)])!=null?_0x4cf403:_0x48d167[_0x12785a(0x262)]}],[_0x5e809e[_0x12785a(0x374)],{'useClass':_0x5e809e[_0x12785a(0x2ad)]}],[_0x132eb9[_0x12785a(0x322)],{'useClass':_0x48d167[_0x12785a(0x231)]}],[_0x132eb9['IAuthzIoService'],{'useClass':_0x48d167['AuthzIoHttpService']}],[_0x46aaec['IImageIoService'],{'useClass':_0x48d167[_0x12785a(0x385)]}],[_0x48d167[_0x12785a(0x251)]],[_0x48d167[_0x12785a(0x98)]],[_0x48d167[_0x12785a(0x3dc)]],[_0x345dbc],[_0x4073a6]];(_0x4678ba=this[_0x12785a(0x2c7)])!=null&&_0x4678ba[_0x12785a(0x3d6)]&&_0x3cc521[_0x12785a(0x277)]([_0x54135c,{'useClass':_0x5204d1}]),_0x3cc521=_0x132eb9[_0x12785a(0x30a)](_0x3cc521,(_0x22e2b4=this[_0x12785a(0x2c7)])==null?void 0x0:_0x22e2b4[_0x12785a(0x23e)]),_0x3cc521['forEach'](_0x2bd595=>_0x14a804[_0x12785a(0x41b)](_0x2bd595)),this[_0x12785a(0x18a)]();}[_0x474fca(0x1d2)](){const _0x3a0213=_0x474fca;this[_0x3a0213(0x26e)](this[_0x3a0213(0x409)]['registerRenderModule'](_0x132eb9[_0x3a0213(0x44e)]['UNIVER_DOC'],[_0x1c9143])),this[_0x3a0213(0x26e)](this[_0x3a0213(0x409)][_0x3a0213(0x165)](_0x132eb9[_0x3a0213(0x44e)]['UNIVER_SHEET'],[_0x57fff8]));}[_0x474fca(0x18a)](){const _0xc42797=_0x474fca;var _0x2e237e,_0x306ac4;this[_0xc42797(0x306)][_0xc42797(0x261)](_0x5e809e[_0xc42797(0xe7)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5e809e[_0xc42797(0x460)]({'maxParallel':0x6})}),(_0x2e237e=this[_0xc42797(0x2c7)])!=null&&_0x2e237e[_0xc42797(0x379)]||this[_0xc42797(0x306)][_0xc42797(0x261)](_0x48d167[_0xc42797(0x27d)])[_0xc42797(0x248)](),(_0x306ac4=this['_config'])!=null&&_0x306ac4[_0xc42797(0x259)]&&this[_0xc42797(0x306)][_0xc42797(0x261)](_0xb1bc0c);}},_0x227745(_0x48d167[_0x474fca(0xb0)],_0x474fca(0xe1),_0x47ef42),_0x48d167['UniverCollaborationClientPlugin']=_0x3411ff([_0x132eb9[_0x474fca(0x3fc)](_0x1524d[_0x474fca(0x466)]),_0x1761d7(0x1,_0x132eb9['ILogService']),_0x1761d7(0x2,_0x24af47[_0x474fca(0x2f0)]),_0x1761d7(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector']))],_0x48d167[_0x474fca(0xb0)]),_0x48d167[_0x474fca(0x164)]=_0x3dabc0,_0x48d167[_0x474fca(0x10d)]=_0x22e134,_0x48d167['COLLAB_WEB_SOCKET_URL_KEY']=_0x5058a4,_0x48d167[_0x474fca(0x37c)]=_0x3e6ce,_0x48d167[_0x474fca(0xd6)]=_0x26ba18,_0x48d167['CommentService']=_0x333a83,_0x48d167[_0x474fca(0x2b1)]=_0x5a327e,_0x48d167[_0x474fca(0x2df)]=_0x240518,_0x48d167[_0x474fca(0x2d9)]=_0x2b67b3,_0x48d167[_0x474fca(0xff)]=_0x454085,_0x48d167[_0x474fca(0x30f)]=_0x2c2734,_0x48d167[_0x474fca(0x1f6)]=_0x596ca2,_0x48d167[_0x474fca(0x1cc)]=_0x5036b1,_0x48d167[_0x474fca(0xc8)]=_0x474f5b,_0x48d167[_0x474fca(0x16c)]=_0x5e8172,_0x48d167[_0x474fca(0x3ee)]=_0x139854,_0x48d167['SheetCollabCursorShape']=_0x57dbff,_0x48d167[_0x474fca(0x212)]=_0x56db24,_0x48d167[_0x474fca(0x25e)]=_0x156469,_0x48d167['serializeCombRequest']=_0x41be5a,Object[_0x474fca(0x109)](_0x48d167,Symbol[_0x474fca(0x2da)],{'value':_0x474fca(0x10f)});}));function _0x2d55(_0xfbea46,_0x24e174){const _0x30bb76=_0x30bb();return _0x2d55=function(_0x2d5524,_0x2d0bba){_0x2d5524=_0x2d5524-0x96;let _0x3e0f28=_0x30bb76[_0x2d5524];return _0x3e0f28;},_0x2d55(_0xfbea46,_0x24e174);}function _0x30bb(){const _0x48005f=['socket\x20open.','_getLoginPath','some','UPDATE_CURSOR','file','getUndoRedoMutationParamsCache','lodash','getSheetBySheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_lockTransition','_handleEvent','liveShareNewHost','LICENSE_IMPORT_SIZE_EXCEEDED','getValue','combineLatest','_sendHeartbeatTimer','getImageSourceCache','SetSelectionsOperation','_createInitialStateImpl','COMMENT_UPDATE','_injector','_schedule','{fileID}','_onRemoteChangeset','mergeOverrideWithDependencies','InsertRangeMoveRightCommandId','getParam','save','updateMember','LOCAL_CACHE_INTERVAL_KEY','_unitID','state','toRgbString','onTransformRemoteChangesetByIMECache','Starting','originalMeta','makeDirty','includes','LocaleService','random','send','AuthzIoHttpService','ONLINE','transformSelections','fillStyle','eventID','_createHandler','then','ISnapshotServerService','unit','getActiveRange','triggerDblclick','sessionStatus$','RevisionService','addObjects','JOINING','transformUndoRedo','hovered','message$','jiqing500','fill','_collabSessionService','joinEvent','unit-cache-','status','1720868nsTUKt','labelPosition','awaitingChangeset','MessageType','APPLY_REVISION_CONFILICT','_sendingTimer','_onConnectionOpen','csAckEvent','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','WorkbookEditablePermission','close','CHANGESET_REVISION_CONFILICT','UNIVER_COLLABORATION_CLIENT_PLUGIN','_docSkeletonManagerService','changesets','online','saveImage','onCommandExecuted','COMPLETION_FINISHED','RichTextEditingMutation','transformIMECache','\x0aCurrent:\x20','_socketReady','_shapes','distinctUntilChanged','_color','_labelPosition','textRanges','/role','@univerjs/rpc','method','fillText','_initResize','_submitChangeset','transformChangesets','3dKOPcu','ACTIVE_UNIT_EVENT_CHANNEL','_registerDependencies','Rectangle','OFFLINE','transformMutation','SUCCUSS','open$','routeKey','_socket$','code','72SRisjl','_getMergeRange','_initStatusComponent','_acknowledgedAwaitingChangeset','_onUserLeave','CompressMutationService','&to=','_getSendChangesetTimeout','ThemeService','_onRemoteRejected','indexOf','function','onPointerMove$','[CollaborationSessionService]:\x20socket\x20error','location','delay','_urlService','roomMembers','_onLocalMutation','IHTTPImplementation','find','none','[OfflineState]:\x20received\x20acknowledgement.','setShapeProps','enableOfflineEditing','takeUntil','patch','CollaborationStatus','_onCursorDelete','update','reverse','_event$','_tryEnsureSocket','status$','univer-online','univer-offline','ImageIoService','_undoRedoService','_loadSheet','SheetSkeletonManagerService','_getRedoStack','state$','fromCollab','apply','univer-pro.collaboration-client.single-active-unit-service','[CollaborationState]:\x20apply\x20error!','parseProtocolChangeset','getUnhiddenWorksheets','unknown','contains','_scheduleClearOtherTimer','_beforeCloseService','_refRangeService','transformRemoteChangeset','RefRangeService','conflict.content','_getUndoStack','closeSession','asObservable','createSocket','[CollaborationEntity]','pending','COMPRESS_MUTATION_APPLY','pushState','displayName','getConfig','take','registerHTTPInterceptor','FAIL','BASE64','font','LIVESHARE_TERMINATE','_name','transformByState','_collaborationTimeoutTimer','verdancy600','_startCollaboration','_backgroundColor','_initUnitPermissionChange','_onConnectionFailed','_unitOnClients','requestParams','collabStatus.fetchMiss','trim','row','_ensureSubject','all','_getSheetObject','_context','round','_compressMutationService','_joinRoom','RxDisposable','AWAITING','defIds','_hideTimer','href','LIVESHARE_REQUEST_HOST','SUBMIT_CHANGESET','/-/object/-/batch_allowed','confirm','enableLocalCache','56dJxxtY','getCurrentRevForDocument','_selfUnitIDs','getMember','rev','_setupSubUnitSync','column','_HTTPService','_initStatusListener','syncEditingCollabCursor','newCsEvent','_scheduleTimestamp','addEventListener','getCurrent','encodeURIComponent','enableSingleActiveInstanceLock','@univerjs/drawing','[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.','SheetsSelectionsService','_httpService','clsx','DesktopCollaborationStatusDisplayController','useRef','IPermissionService','className','_handleHeartbeatEvent','_docSkeleton','readAsDataURL','LIVESHARE_NEW_HOST','UniverCollaboration','HEADER_MENU','_collaborationSessionService','getRelativeToViewportCoord','getUnitStatus$','1078909bBQayn','react','_waitForHeartbeatResponse','getImage','use','SessionStatus','IRemoteInstanceService','_getSnapshotAPIPrefix','LICENSE_DISTRO_REJECTED','unshift','VIEWPORT_KEY','height','_saveTaskMap','_createSocket','_handler','TOO_MANY_REQUESTS','setParam','_change$','@univerjs/network','DependentOn','_clearRedo','_startSheetCollabCursor','isValidRectRange','has','focused$','entries','_document','_lastPointer','drawWith','UniverEngineRender','LIVESHARE_OPERATION','PENDING','_renderManagerService','_handleHover','_localCacheService','isTransformMutationFailure','handleInsertCol','serializeDocRange','editingUnit','[FetchMissState]','Rect','clear','csRejEvent','deepClone','InsertRangeMoveDownCommandId','INVALID_ARGUMENT','slice','clearInterval','connection\x20error','TextSelectionManagerService','add','_getScale','UniverRpc','_docTransformSelectionsService','_uiPartsService','YUUMI_URL_COL_OUT_OF_RANGE','ERROR_IMAGE_TYPE','updateOfflineData','saveOfflineData','flatMap','top','shareReplay','Error\x20on\x20receiving\x20event','event$','SNAPSHOT_HAS_BEEN_REMOVED','_sheetTransformSelectionsService','_clearOtherTimers','values','getCurrentUser','replaceTextRanges','_members','_initMergeInterceptor','fetchThroughInterceptors','_sessionStatus$','assign','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_fetchMissChangesets','b64DecodeUnicode','UserManagerService','lineTo','ITransformService','currentTheme$','m2Prime','@univerjs/sheets','_onJoinRoomEvent','idSuffix','_docSyncEditingCollabCursorService','_saveCache','ranges','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','mapTo','_syncEditingCollabCursor','onlineStatus','setActiveRange','createIdentifier','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','APPLY_NON_SEQUENTIAL_REVISION','@univerjs/ui','_pendingMutations','getViewport','_entityInit$','UniverInstanceType','Tools','Ready','_cursor','next','_onRecvEvent','_scheduleReconnection','CHANGESET_REJ','APPLY_REJECT','getResourcesRequest','USERS_LEAVE','_onCombEvent','getRoom','_themeService','_getAPIPrefix','_refreshCollabCursors','IUIPartsService','cmd','ThresholdInterceptorFactory','getFocusedUnit','LEAVE','allowed','PSEUDO_FETCH_MISSING_RESULT','EffectRefRangId','UniverCollaborationPlugin','isTransformChangesetsSuccess','getCollabEntity','COMPRESS_MUTATION_SEND','IConfigService','uni.network.url-service','onPointerLeave$','SHOULD_CLOSE_CONN','InsertRowCommandId','_textBubble','/new_changes','reject','body','POST','_socket','put','HEARTBEAT','onTransformIME','Plugin','_updateCollabCursors','awaiting_with_pending','OTHER_CLIENTS_EDITING','TRANSFORM_CHANGE_OBSERVABLE_TYPE','HELLO','handleIRemoveCol','Vector2','getColor','socketService','_scene','_colorIndex','EXCHANGE_SIGN_URL_SERVER_URL_KEY','updatePermissionPoint','DEFAULT_FILE_NAME','YUUMI_UNABLE_LOAD_URL','DataLoaderController','\x0aAfter:\x20','svg','/universer-api/comb','whenReady','onMissedChangesetFetched','encode','findNodePositionByCharIndex','deserializeRangeWithSheet','_setupBeforeClosingHandler','toString','/object','_updateURLWithCurrentState','unitId','_removeClearOtherTimer','PERMISSION_DENIED','[CollaborationSessionService]','handleMoveRange','...','COLLAB_WEB_SOCKET_URL','show','ILogService','_updateSubUnitFromURLParams','actions','UniverCollaborationClientPlugin','listRoles','/collaborator','UniverSheets','_scheduleSaving','merge','onPointerEnter$','subscribeEvent','size','url(#$1','getActiveSheet','_transformPreviousActiveRange','setAlpha','_send','set','collabStatus.offline','fetchMissingChangesets','getOwnPropertySymbols','#FFF','_timeoutTimer','#fff','CONFLICT','CollaborationSessionService','clipPath','SNAPSHOT_SERVER_URL_KEY','collaMsg','conflict','_substituteRedoStack','getOwnPropertyDescriptor','univer-online-status-icon','_showConflictNotification','_initCommandExecutedListener','_drawAnchor','endRow','_removeCollabCursors','COLORS','_clearLocalCache','synced','CollaborationStatusDisplay','/universer-api/snapshot/','SYNCED','startsWith','getMemberID','isInternalEditorID','ILocalStorageService','_clearCollaborationTimeoutTimer','unsubscribe','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','socket\x20close','pluginName','collabCursorState$','/allowed','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','data','params','HTTPService','handleInsertRangeMoveRight','subunit','reduce','_entities','fetch_missing','collabStatus.synced','loadOfflineData','@univerjs/engine-render','SetWorksheetActivateCommand','_executeRemoteChangeset','runRefRangeMutations','every','propertyIsEnumerable','error','searchParams','ERROR_IMAGE','?size=','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_clearTimeoutTimer','getOffsetConfig','max','UNKNOWN_CMD','color','IURLService','baseRev','addImageSourceCache','gold400','CommandType','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','COLLAB_SUBMIT_CHANGESET_URL','_socketService','_rescheduleHeartbeatEvent','defineProperty','_singleActiveUnitService','RemoveColCommandId','?url=','COLLAB_SUBMIT_CHANGESET_URL_KEY','setTimeout','Module','extend','icon','_roomMembers','auth.needGotoLoginAlert','_replayCachedMutations','_hovered','DeleteRangeMoveUpCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','ALREADY_EXISTS','getSkeleton','type','_onCursorUpdate','removeMember','m1Prime','session.room-full','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','JOIN','UniverDesign','getMergeData','IMessageService','onRemoteChangeset','OffLineSingle','getTime','_incrementRevisionNumber','post','@univerjs/engine-formula','_undoStacks','toggleOffline','_transformRemoteChangesetByIMECache','UNRECOGNIZED','UniverEngineFormula','[PendingState]:\x20received\x20acknowledgement.','storage','_syncEditingCollabCursorService','DisposableCollection','992QZvNDn','_docTransformIMECacheService','submit\x20changeset\x20error!','getSheetId','not_collab','_state$','onMouseMove','sheets','_collaborationPaused','_commentService','substring','_online','fetching\x20missing\x20changesets\x20from\x20','create','concat','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','editing\x20status\x20changed\x20to','popstate','_drawRectRange','black','IBeforeCloseService','newValue','sheetId','onMissingChangesets','_remoteChangesetQueue','c2Prime','UNIVER_DOC','split','MUTATION','getCellPositionByOffset','setItem','awaiting','range','_anchorDot','bottom','resolve','SNAPSHOT_INVALID_SNAPSHOT','revision','children','replace','executeCommand','_range','_transformUndoredo','_loadDoc','_clearHeartbeatTimer','LIVESHARE_FETCH_OPERATIONS','_getCtorByUniverType','_transformUndoRedoStack','interceptor','AUTHZ_URL_KEY','registerRenderModule','_updateLocalCursor','resend','tag','session','catch','_snapshotService','SNAPSHOT_URL_KEY','UNDEFINED','_eventUnsubscribe','@univerjs/docs','UNIVER_UNKNOWN','collaboration.single-unit.warning','_exhaustRemoteChangesetQueue','forEach','unload','measureText','unitID','Disposable','getCurrentUnitForType','NodePositionConvertToRectRange','getRangePointData','CONNECTOR_DATA_TOO_LARGE','[CollaborationUndoRedoService]','moveTo','_cursorShapes','/object/','hide','_sessions','ImageUploadStatusType','session.will-retry','objectType','history','objectID','onlineStatusIcon','getCollabCursors$','onCommentUpdate','_initModules','_decreaseWaiting','assignAColorForMemberID','_disableEditing','getWorkbookSelections','map','_transformService','endColumn','createInstance','collaboration-client.offline-data-not-saved','off-line-single_clip0_910_343','pipe','getDocRanges','_toggleOnline','AWAITING_WITH_PENDING','Optional','dispose','_cursorInfo$','debug','getAncestorScale','_render','Warning','UNIVER_SHEET','transformMutationsWithChangeset','_type','infoRsp','rxjs/operators','selections','_colorAssignService','getUnitOnRev','Inject','LICENSE_MAX_UNITS_EXCEEDED','_onUserJoin','_unitStatus','_logService','_draw','save\x20fail\x20reason\x20is\x20','_messageService','[DataLoaderController]','switchMap','conflict.title','569940cbCbPu','OnLifecycle','_session','OnLineSingle','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UniverCollaborationClient','NOT_FOUND','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','skeleton','_transitionLocked','_univerInstanceService','close$','saveSheetBlock','setWaitCount','[CollaborationSession]','appendMutation','UNKNOWN_CODE','sessionStatus','[SyncedState]:\x20received\x20rejection.','userID','call','getCollabEntity$','_commandService','_onRemoteACK','Subject','SEND_CHANGESET_TIMEOUT_KEY','filter','_updateStatus','xlink:href','startRow','M0\x200H16V16H0z','_registerRenderDependencies','hasOwnProperty','_retryCount','_init','_getCurrentRevision','_imageSourceCache','RegularPolygon','_cachedData','addObject','loadDoc','FileId','FromArray','setCurrentUser','Unknown\x20user','attrs','_disabled','session.connection-failed','debounce','IUndoRedoService','InsertSheetMutation','SnapshotService','UniverCore','useDependency','getCurrentSelections','Error','/universer-api/snapshot','getSheetBlock','init','_startDocCollabCursor','1em','_collabCursorController','ICommandService','_getAPIPrefixPath','_onConflict','selection','c1Prime','LOGIN_URL_KEY','DocSkeletonManagerService','_unlockTransition','cursorInfo$','collab-text-range-','@univerjs/sheets-ui','_localeService','@univerjs-pro/collaboration','currentSkeleton$','SetTextSelectionsOperation','UniverSheetsUi','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Shape','_waitCount','_removeRoom','_memberService','transform','_commentUpdate$','_transformStack','permissionRejEvent','backgroundColor','Workbook','error$','string','ws://127.0.0.1:8000/universer-api/comb/connect','collaboration.closeRoom','collaborators','localeService','WebURLService','11pZjpMy','arc','ColorKit','json','NO_OTHER_CLIENTS_EDITING','_queuedRemoteChangesets','defs','requireSession','doc.mutation.rich-text-editing','isTransformMutationsWithChangesetFailure','_notificationService','_substituteUndoStack','replaceState','_getAnchorBounding','[SyncedState]:\x20received\x20acknowledgement.','from','_localStorageService','delete','getUnitId','objectActions','onlyLocal','permission.title','url','onRendered','PERMISSION_REJ','UNAUTHENTICATED','IUniverInstanceService','rxjs','currentColor','deleteCollaborator','SnapshotServerOverHTTPService','LifecycleStages','stringify','IMEInputManagerService','_handleLeaveEvent','RECV','_updateLocalCache','_clearUndo','_id','UPDATE_PERMISSION_OBJ','headers','INTERNAL_ERROR','_heartbeatTimer','override','list','SetDocZoomRatioOperation','_retryConnectingTimer','path','result','_handleJoinEvent','_applyRemoteChangeset','onRemoteRej','url(#on-line-single_clip0_910_349)','disableLocalCache','onSendChangeset','_toggleOffline','@univerjs/design','cursorInfo','loadSheet','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','min','symbol','CollaborationController','setUndoRedoMutationParamsCache','restore','operators','APPLY_PERMISSION_DENIED','mutations','_revisionService','debounceTime','enableAuthServer','toggleOnline','getTypeOfUnitAdded$','TEXT_RANGE_LAYER_INDEX','_http','deserializeToCombResponse','complete','isEditing','get','CollaborationSocketService','/block/','\x20in\x20_schedule.','getInterceptPoints','handleDeleteRangeMoveUp','_anchor','_sheetSkeletonManagerService','_updateState','memberID','HTTPRequest','on-line-single_clip0_910_349','name','disposeWithMe','_configService','_socketMessageSubscription','_onMessage','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getItem','_scheduleCollaborationTimeoutTimer','_checkMissing','lodash/debounce','push','_drawTextRange','div','image/png','sheetID','members','LocalCacheService','image/gif','/unit/','/universer-api/stream/file/upload','SheetCollaborationEntity','_state','NOT_COLLAB','colorChannel1','_clearScheduledTask','isTransformMutationsWithChangesetSuccess','RemoveRowCommandId','NEW_CHANGESETS','_redoStacks','2229570QTyzOR','6214870uzPMFy','_permissionService','evenodd','commentUpdate$','UniverNetwork','purple300','forwardRef','MSG_FOR_ERROR','clearTimeout','_initCloseConn','BuiltInUIPart','univer-online-status-title','NodePositionConvertToCursor','urlChange$','width','CollaborationSession','onload','_hover','joinRsp','textEncoder','_cursors','BehaviorSubject','_getSignURL','image/jpg','Injector','createElement','@univerjs/core','2218xkbHtm','FETCH_MISS','UNIVER_SLIDE','\x20to\x20','_sendHeartbeat','RETRY_CONNECTING_INTERVAL','subUnitId','XHRHTTPImplementation','mapDocumentTypeToUniverType','text','99ceNDyx','HEARTBEAT_INTERVAL_KEY','CollaborationEvent','offline','_assignedColors','dispose$','SEND_CHANGESET_TIMEOUT','getTypeOfUnitDisposed$','getUnitType','length','[PendingState]:\x20received\x20rejection.','IContextService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','parse','prototype','_roomMembers$','toDisposable','onRemoteAck','registerRefRange','collabStatus.conflict','amd','INGEST','_getSaveTimeout','_config','isArray','exports','_collabCursorState$','roomMembers$','incrementRevForDocument','transformStack\x20failed!','startColumn','compose','_replaceFileID','isActive','roomInfos','CHANGESET_ACK','updateCursorEvent','LocalUndoRedoService','onStarting','_status$','72288encnKI','ICollaborationSocketService','toStringTag','IDLE','_awaitingChangeset','leaveEvent','generateRandomId','HEARTBEAT_TIMEOUT_KEY','sequenceExecute','subscribe','removeParam','withCredentials','USERS_ENTER','HEARTBEAT_TIMEOUT','getCoordByCell','ERROR_EXCEED_SIZE','onTransformChange$','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','onStateChange','blue400','ImageSourceType','WebSocketService','_docStateChangeManagerService','_ws','IRenderManagerService','onTransformSelections'];_0x30bb=function(){return _0x48005f;};return _0x30bb();}