@univerjs-pro/collaboration-client 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/image-remote/image-io.service.d.ts +3 -2
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +2 -1
- package/lib/types/services/socket/collaboration-socket.service.d.ts +2 -2
- package/lib/umd/index.js +1 -1
- package/package.json +28 -28
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x2921(_0x50857f,_0x50e785){const _0x5ac07d=_0x5ac0();return _0x2921=function(_0x29219a,_0x26675c){_0x29219a=_0x29219a-0x191;let _0x12589b=_0x5ac07d[_0x29219a];return _0x12589b;},_0x2921(_0x50857f,_0x50e785);}(function(_0x1296be,_0x3dd0de){const _0x13d831=_0x2921,_0x1f71b3=_0x1296be();while(!![]){try{const _0x3a7bae=-parseInt(_0x13d831(0x20f))/0x1+-parseInt(_0x13d831(0x488))/0x2*(-parseInt(_0x13d831(0x36c))/0x3)+-parseInt(_0x13d831(0x391))/0x4*(parseInt(_0x13d831(0x58c))/0x5)+parseInt(_0x13d831(0x447))/0x6+parseInt(_0x13d831(0x49f))/0x7+parseInt(_0x13d831(0x467))/0x8*(-parseInt(_0x13d831(0x1e5))/0x9)+parseInt(_0x13d831(0x502))/0xa;if(_0x3a7bae===_0x3dd0de)break;else _0x1f71b3['push'](_0x1f71b3['shift']());}catch(_0x5e4434){_0x1f71b3['push'](_0x1f71b3['shift']());}}}(_0x5ac0,0x7b745),function(_0x2f7a67,_0x4af44f){const _0x187f41=_0x2921;typeof exports==_0x187f41(0x484)&&typeof module<'u'?_0x4af44f(exports,require(_0x187f41(0x40e)),require(_0x187f41(0x4e6)),require(_0x187f41(0x2d9)),require(_0x187f41(0x3cd)),require(_0x187f41(0x50b)),require(_0x187f41(0x426)),require(_0x187f41(0x2ea)),require(_0x187f41(0x456)),require('@univerjs/network'),require('@univerjs/drawing'),require(_0x187f41(0x2fe)),require(_0x187f41(0x3ef)),require('lodash/debounce'),require('@univerjs/sheets-ui'),require('react'),require(_0x187f41(0x57c)),require(_0x187f41(0x32c))):typeof define==_0x187f41(0x4a7)&&define[_0x187f41(0x485)]?define([_0x187f41(0x1f6),_0x187f41(0x40e),_0x187f41(0x4e6),_0x187f41(0x2d9),'@univerjs/ui',_0x187f41(0x50b),_0x187f41(0x426),_0x187f41(0x2ea),_0x187f41(0x456),_0x187f41(0x3ad),_0x187f41(0x315),_0x187f41(0x2fe),_0x187f41(0x3ef),_0x187f41(0x43c),'@univerjs/sheets-ui','react',_0x187f41(0x57c),_0x187f41(0x32c)],_0x4af44f):(_0x2f7a67=typeof globalThis<'u'?globalThis:_0x2f7a67||self,_0x4af44f(_0x2f7a67[_0x187f41(0x325)]={},_0x2f7a67[_0x187f41(0x42a)],_0x2f7a67[_0x187f41(0x543)],_0x2f7a67[_0x187f41(0x245)],_0x2f7a67['UniverUi'],_0x2f7a67[_0x187f41(0x47f)],_0x2f7a67[_0x187f41(0x426)],_0x2f7a67[_0x187f41(0x426)][_0x187f41(0x52b)],_0x2f7a67['UniverDocs'],_0x2f7a67[_0x187f41(0x314)],_0x2f7a67[_0x187f41(0x487)],_0x2f7a67[_0x187f41(0x2a9)],_0x2f7a67[_0x187f41(0x364)],_0x2f7a67['lodash'][_0x187f41(0x4f4)],_0x2f7a67[_0x187f41(0x3cc)],_0x2f7a67[_0x187f41(0x3eb)],_0x2f7a67['clsx'],_0x2f7a67[_0x187f41(0x482)]));}(this,function(_0x490b22,_0x47ad91,_0x4b5d67,_0x2bd9cc,_0x33683b,_0x4709b4,_0x255eda,_0x335e20,_0x2ac904,_0x125bb1,_0x1fdac8,_0xba1502,_0x4ebb09,_0x249566,_0x49516c,_0x4abc54,_0x3cf929,_0x4812f9){'use strict';const _0x1bf13c=_0x2921;var _0x4bd7e3=Object[_0x1bf13c(0x1f5)],_0x2d4d79=(_0x5a372,_0xee800b,_0x58ee9b)=>_0xee800b in _0x5a372?_0x4bd7e3(_0x5a372,_0xee800b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58ee9b}):_0x5a372[_0xee800b]=_0x58ee9b,_0x41c7d7=(_0x4b7cda,_0x479382,_0x5b0700)=>_0x2d4d79(_0x4b7cda,typeof _0x479382!='symbol'?_0x479382+'':_0x479382,_0x5b0700);const _0x545bfc='SNAPSHOT_SERVER_URL_KEY',_0x25b345=_0x1bf13c(0x3ea),_0x146ad6=_0x1bf13c(0x220),_0x585883=_0x1bf13c(0x418),_0x1d455a=_0x1bf13c(0x400),_0x5cfb87=_0x1bf13c(0x192),_0x333329=_0x1bf13c(0x4af),_0x2fd0be=_0x1bf13c(0x2a6),_0x3743e3=_0x1bf13c(0x366),_0x34145b=_0x1bf13c(0x1fe),_0x4ac3ef=_0x1bf13c(0x425),_0x5ea304=_0x1bf13c(0x224),_0xd44ce5='/universer-api/comb',_0x44e1d9=_0x1bf13c(0x2f4),_0x3fa505='/universer-api/oidc/authpage';var _0x427b30=(_0xd13ea8=>(_0xd13ea8[_0xd13ea8[_0x1bf13c(0x1a2)]=0x0]=_0x1bf13c(0x1a2),_0xd13ea8[_0xd13ea8['OK']=0x1]='OK',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x26b)]=0x2]=_0x1bf13c(0x26b),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x1aa)]=0x3]=_0x1bf13c(0x1aa),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x472)]=0x4]=_0x1bf13c(0x472),_0xd13ea8[_0xd13ea8['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x515)]=0x6]=_0x1bf13c(0x515),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x3bf)]=0x7]=_0x1bf13c(0x3bf),_0xd13ea8[_0xd13ea8['TOO_MANY_REQUESTS']=0x8]=_0x1bf13c(0x571),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x2b1)]=0x9]='COMPLETION_FINISHED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x276)]=0x1389]=_0x1bf13c(0x276),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x1b1)]=0x1771]=_0x1bf13c(0x1b1),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x2f1)]=0x1772]=_0x1bf13c(0x2f1),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x4c5)]=0x1b59]=_0x1bf13c(0x4c5),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x4a2)]=0x1b5a]=_0x1bf13c(0x4a2),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x377)]=0x1b5b]=_0x1bf13c(0x377),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x553)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x23c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x4bd)]=0x2329]=_0x1bf13c(0x4bd),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x45b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x322)]=0x232b]=_0x1bf13c(0x322),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x4fe)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xd13ea8[_0xd13ea8[_0x1bf13c(0x260)]=0x232d]=_0x1bf13c(0x260),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x2b3)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd13ea8[_0xd13ea8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1bf13c(0x239),_0xd13ea8[_0xd13ea8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1bf13c(0x3e6),_0xd13ea8[_0xd13ea8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1bf13c(0x4a3),_0xd13ea8[_0xd13ea8[_0x1bf13c(0x2d3)]=-0x1]=_0x1bf13c(0x2d3),_0xd13ea8))(_0x427b30||{}),_0x37da8d=(_0x50d582=>(_0x50d582[_0x50d582[_0x1bf13c(0x356)]=0x0]=_0x1bf13c(0x356),_0x50d582[_0x50d582[_0x1bf13c(0x1ac)]=0x1]=_0x1bf13c(0x1ac),_0x50d582[_0x50d582[_0x1bf13c(0x4d5)]=0x2]=_0x1bf13c(0x4d5),_0x50d582[_0x50d582[_0x1bf13c(0x225)]=0x3]=_0x1bf13c(0x225),_0x50d582[_0x50d582[_0x1bf13c(0x397)]=0x4]=_0x1bf13c(0x397),_0x50d582[_0x50d582[_0x1bf13c(0x2d3)]=-0x1]=_0x1bf13c(0x2d3),_0x50d582))(_0x37da8d||{}),_0x35ae73=(_0x1ebb4d=>(_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x394)]=0x0]='UNKNOWN_CMD',_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x1e9)]=0x1]=_0x1bf13c(0x1e9),_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x4ff)]=0x2]=_0x1bf13c(0x4ff),_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x3fe)]=0x3]='LEAVE',_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x2b0)]=0x4]=_0x1bf13c(0x2b0),_0x1ebb4d[_0x1ebb4d['HEARTBEAT']=0x5]=_0x1bf13c(0x30d),_0x1ebb4d[_0x1ebb4d[_0x1bf13c(0x512)]=0x6]=_0x1bf13c(0x512),_0x1ebb4d[_0x1ebb4d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1ebb4d))(_0x35ae73||{}),_0x706c20=(_0xfadc15=>(_0xfadc15[_0xfadc15[_0x1bf13c(0x1a3)]=0x0]=_0x1bf13c(0x1a3),_0xfadc15[_0xfadc15['OK']=0x1]='OK',_0xfadc15[_0xfadc15[_0x1bf13c(0x1bc)]=0x2]=_0x1bf13c(0x1bc),_0xfadc15[_0xfadc15[_0x1bf13c(0x2d3)]=-0x1]=_0x1bf13c(0x2d3),_0xfadc15))(_0x706c20||{}),_0x46862e=Object[_0x1bf13c(0x1f5)],_0x1dfe2b=Object['getOwnPropertyDescriptor'],_0x589257=(_0x3d69c3,_0x11d2f4,_0x50d3b6,_0x174bf6)=>{for(var _0x3c8de3=_0x174bf6>0x1?void 0x0:_0x174bf6?_0x1dfe2b(_0x11d2f4,_0x50d3b6):_0x11d2f4,_0x230e12=_0x3d69c3['length']-0x1,_0x40f904;_0x230e12>=0x0;_0x230e12--)(_0x40f904=_0x3d69c3[_0x230e12])&&(_0x3c8de3=(_0x174bf6?_0x40f904(_0x11d2f4,_0x50d3b6,_0x3c8de3):_0x40f904(_0x3c8de3))||_0x3c8de3);return _0x174bf6&&_0x3c8de3&&_0x46862e(_0x11d2f4,_0x50d3b6,_0x3c8de3),_0x3c8de3;},_0x312651=(_0x4eb13d,_0x1b4f14)=>(_0x45861d,_0x196a68)=>_0x1b4f14(_0x45861d,_0x196a68,_0x4eb13d);let _0x3be5f2=class extends _0x47ad91['Disposable']{constructor(_0x22e484,_0x5e02fa){const _0x3d7060=_0x1bf13c;super(),_0x41c7d7(this,'_roomMembers',new Map()),(this[_0x3d7060(0x2a3)]=_0x22e484,this[_0x3d7060(0x215)]=_0x5e02fa,this['disposeWithMe'](_0x47ad91[_0x3d7060(0x1ab)](_0x255eda[_0x3d7060(0x57b)](this[_0x3d7060(0x2a3)]['getTypeOfUnitDisposed$'](_0x47ad91[_0x3d7060(0x2f9)][_0x3d7060(0x4d5)])['pipe'](_0x335e20['map'](_0x3e1287=>_0x3e1287[_0x3d7060(0x4d4)]())),this[_0x3d7060(0x2a3)][_0x3d7060(0x1e4)](_0x47ad91[_0x3d7060(0x2f9)]['UNIVER_DOC'])['pipe'](_0x335e20[_0x3d7060(0x3be)](_0x1c524e=>_0x1c524e['getUnitId']())),this[_0x3d7060(0x2a3)][_0x3d7060(0x1e4)](_0x47ad91[_0x3d7060(0x2f9)]['UNIVER_SLIDE'])[_0x3d7060(0x38c)](_0x335e20[_0x3d7060(0x3be)](_0x566a1a=>_0x566a1a[_0x3d7060(0x4d4)]())))[_0x3d7060(0x3db)](_0x3bafa0=>this[_0x3d7060(0x28f)](_0x3bafa0)))));}[_0x1bf13c(0x1da)](_0x35c6be){const _0x3a4a6c=_0x1bf13c;this[_0x3a4a6c(0x215)][_0x3a4a6c(0x1da)](_0x35c6be);}[_0x1bf13c(0x3e4)](){const _0x160c58=_0x1bf13c;return this[_0x160c58(0x215)]['getCurrentUser']();}[_0x1bf13c(0x568)](_0x79d5d6,_0x204188){const _0x28d270=_0x1bf13c;let _0x206009=this[_0x28d270(0x1bb)][_0x28d270(0x369)](_0x79d5d6);_0x206009||(_0x206009=new _0x26d87e(),this[_0x28d270(0x1bb)][_0x28d270(0x56b)](_0x79d5d6,_0x206009)),_0x206009[_0x28d270(0x568)](_0x204188);}[_0x1bf13c(0x33f)](_0x104d3c,_0x5d533a){const _0xb7b2fc=_0x1bf13c,_0xcb74c4=this[_0xb7b2fc(0x1bb)][_0xb7b2fc(0x369)](_0x104d3c);_0xcb74c4&&_0xcb74c4[_0xb7b2fc(0x33f)](_0x5d533a);}[_0x1bf13c(0x590)](_0x3bc6ce){const _0x1b8dd2=_0x1bf13c;return this[_0x1b8dd2(0x1bb)][_0x1b8dd2(0x369)](_0x3bc6ce);}[_0x1bf13c(0x55c)](_0x1d33af,_0x5a69b0){const _0x5439e7=_0x1bf13c,_0x351386=this[_0x5439e7(0x1bb)]['get'](_0x1d33af);if(_0x351386)return _0x351386[_0x5439e7(0x55c)](_0x5a69b0);}[_0x1bf13c(0x28f)](_0x48d1a3){const _0x446961=_0x1bf13c,_0x440024=this['_roomMembers']['get'](_0x48d1a3);_0x440024&&(_0x440024['dispose'](),this[_0x446961(0x1bb)][_0x446961(0x1c3)](_0x48d1a3));}[_0x1bf13c(0x4db)](){const _0x531c49=_0x1bf13c;this['_roomMembers']['forEach'](_0x26c25d=>_0x26c25d[_0x531c49(0x4db)]()),this[_0x531c49(0x1bb)]['clear']();}};_0x3be5f2=_0x589257([_0x312651(0x0,_0x47ad91[_0x1bf13c(0x1db)]),_0x312651(0x1,_0x47ad91['Inject'](_0x47ad91[_0x1bf13c(0x1fa)]))],_0x3be5f2);class _0x26d87e extends _0x47ad91['Disposable']{constructor(){const _0x8582f9=_0x1bf13c;super(...arguments),_0x41c7d7(this,_0x8582f9(0x19a),new Map());}[_0x1bf13c(0x4db)](){this['_members']['clear']();}[_0x1bf13c(0x568)](_0x910029){const _0xb49383=_0x1bf13c;this[_0xb49383(0x19a)][_0xb49383(0x56b)](_0x910029[_0xb49383(0x53b)],_0x910029);}[_0x1bf13c(0x33f)](_0x58a3bd){const _0x12bdbb=_0x1bf13c;this[_0x12bdbb(0x19a)][_0x12bdbb(0x1c3)](_0x58a3bd);}[_0x1bf13c(0x55c)](_0x3237fb){const _0xdbaa5e=_0x1bf13c;return this[_0xdbaa5e(0x19a)][_0xdbaa5e(0x369)](_0x3237fb);}}function _0xdf00df(_0x15b32b){const _0x3dca63=_0x1bf13c;var _0x190d20,_0x5a1446,_0x3a79db,_0x11be08;const _0x12d0a8=_0x15b32b[_0x3dca63(0x3c1)],_0x1d2c45=JSON[_0x3dca63(0x41b)](_0x12d0a8);switch(_0x1d2c45[_0x3dca63(0x25a)]){case _0x35ae73[_0x3dca63(0x30d)]:case _0x35ae73[_0x3dca63(0x1e9)]:{const _0x5f09e3=_0x1d2c45[_0x3dca63(0x31c)];return{..._0x1d2c45,'data':_0x5f09e3,'cmd':_0x1d2c45[_0x3dca63(0x25a)]};}case _0x35ae73[_0x3dca63(0x4ff)]:{const _0x4a620a=_0x1d2c45[_0x3dca63(0x463)];return{..._0x1d2c45,'data':_0x4a620a,'cmd':_0x1d2c45[_0x3dca63(0x25a)]};}case _0x35ae73[_0x3dca63(0x512)]:{const _0x33f156=_0x1d2c45[_0x3dca63(0x576)];switch(_0x33f156['eventID']){case _0x4709b4['CollaborationEvent'][_0x3dca63(0x4d6)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':(_0x190d20=_0x33f156[_0x3dca63(0x455)])==null?void 0x0:_0x190d20['cs']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x457)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':(_0x5a1446=_0x33f156['csAckEvent'])==null?void 0x0:_0x5a1446['cs']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x46d)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':(_0x3a79db=_0x33f156[_0x3dca63(0x300)])==null?void 0x0:_0x3a79db['cs']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x3e9)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':(_0x11be08=_0x33f156[_0x3dca63(0x53d)])==null?void 0x0:_0x11be08['cs']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4['CollaborationEvent'][_0x3dca63(0x38e)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156['updateCursorEvent']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x22f)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156['joinEvent']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4['CollaborationEvent'][_0x3dca63(0x306)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x3d7)]},'cmd':_0x1d2c45['cmd']};case _0x4709b4['CollaborationEvent'][_0x3dca63(0x2e6)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156['liveShareNewHost']},'cmd':_0x1d2c45['cmd']};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x4c1)]:case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x3a6)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x555)]},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x371)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x3b4)]},'cmd':_0x1d2c45['cmd']};case _0x4709b4[_0x3dca63(0x1dd)]['MSG_FOR_ERROR']:return{..._0x1d2c45,'data':_0x33f156,'cmd':_0x1d2c45['cmd']};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x459)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x20c)]},'cmd':_0x1d2c45['cmd']};case _0x4709b4[_0x3dca63(0x1dd)][_0x3dca63(0x486)]:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156[_0x3dca63(0x522)]},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};case _0x4709b4['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x1d2c45,'data':{..._0x33f156,'data':_0x33f156['shouldCloseConn']},'cmd':_0x1d2c45[_0x3dca63(0x25a)]};default:return _0x1d2c45;}}default:return _0x1d2c45;}}function _0x778cc5(_0x438c2f){const _0x4a4a2e=_0x1bf13c;switch(_0x438c2f[_0x4a4a2e(0x25a)]){case _0x35ae73['HEARTBEAT']:case _0x35ae73[_0x4a4a2e(0x1e9)]:return JSON[_0x4a4a2e(0x290)]({'cmd':_0x438c2f['cmd'],'routeKey':_0x438c2f[_0x4a4a2e(0x246)]});case _0x35ae73['INGEST']:{let _0x1c38db;switch(_0x438c2f['data'][_0x4a4a2e(0x58d)]){case _0x4709b4['CollaborationEvent'][_0x4a4a2e(0x38e)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x38e)],'updateCursorEvent':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x306)]:{_0x1c38db={'eventID':_0x4709b4['CollaborationEvent'][_0x4a4a2e(0x306)],'leaveEvent':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4[_0x4a4a2e(0x1dd)]['USERS_ENTER']:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x22f)],'joinEvent':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x2e6)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x438c2f['data']['data']};break;}case _0x4709b4[_0x4a4a2e(0x1dd)]['LIVESHARE_OPERATION']:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x438c2f[_0x4a4a2e(0x3c1)][_0x4a4a2e(0x3c1)]};break;}case _0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x371)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x371)],'liveShareTerminate':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4['CollaborationEvent'][_0x4a4a2e(0x278)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x278)],'liveShareRequestHost':_0x438c2f[_0x4a4a2e(0x3c1)]['data']};break;}case _0x4709b4['CollaborationEvent'][_0x4a4a2e(0x4c1)]:{_0x1c38db={'eventID':_0x4709b4[_0x4a4a2e(0x1dd)][_0x4a4a2e(0x4c1)]};break;}default:_0x1c38db={'eventID':_0x438c2f[_0x4a4a2e(0x3c1)][_0x4a4a2e(0x58d)]};}return JSON['stringify']({'cmd':_0x438c2f[_0x4a4a2e(0x25a)],'routeKey':_0x438c2f[_0x4a4a2e(0x246)],'collaMsg':_0x1c38db});}case _0x35ae73[_0x4a4a2e(0x4ff)]:return JSON[_0x4a4a2e(0x290)]({'cmd':_0x438c2f['cmd'],'routeKey':_0x438c2f[_0x4a4a2e(0x246)],'joinReq':_0x438c2f['data']});case _0x35ae73[_0x4a4a2e(0x3fe)]:return JSON[_0x4a4a2e(0x290)]({'cmd':_0x438c2f[_0x4a4a2e(0x25a)],'routeKey':_0x438c2f[_0x4a4a2e(0x246)],'leaveReq':_0x438c2f[_0x4a4a2e(0x3c1)]});default:throw new Error(_0x4a4a2e(0x411));}}var _0x3137b8=Object[_0x1bf13c(0x1f5)],_0x32f12b=Object[_0x1bf13c(0x523)],_0x4c4d4e=(_0x10c4e2,_0x2c545e,_0x2f463c,_0x57dbcb)=>{const _0x279258=_0x1bf13c;for(var _0x3c2961=_0x57dbcb>0x1?void 0x0:_0x57dbcb?_0x32f12b(_0x2c545e,_0x2f463c):_0x2c545e,_0x4765ad=_0x10c4e2[_0x279258(0x557)]-0x1,_0x1e0610;_0x4765ad>=0x0;_0x4765ad--)(_0x1e0610=_0x10c4e2[_0x4765ad])&&(_0x3c2961=(_0x57dbcb?_0x1e0610(_0x2c545e,_0x2f463c,_0x3c2961):_0x1e0610(_0x3c2961))||_0x3c2961);return _0x57dbcb&&_0x3c2961&&_0x3137b8(_0x2c545e,_0x2f463c,_0x3c2961),_0x3c2961;},_0x432179=(_0xba123d,_0x4f9f45)=>(_0x4f721b,_0x3fe625)=>_0x4f9f45(_0x4f721b,_0x3fe625,_0xba123d);const _0x367b2c=_0x47ad91[_0x1bf13c(0x561)](_0x1bf13c(0x2d1));function _0x31ba35(_0x5786e4,_0x5bc743,_0x2287f4){const _0x2c77d3=_0x1bf13c;return _0x5786e4+'/'+_0x5bc743+_0x2c77d3(0x4d7)+_0x2287f4+_0x2c77d3(0x530);}_0x490b22[_0x1bf13c(0x49d)]=class{constructor(_0x107672,_0x33be07,_0x2145cc,_0xa1d623,_0x510a0a){const _0x342599=_0x1bf13c;this['_http']=_0x107672,this[_0x342599(0x55a)]=_0x33be07,this['_configService']=_0x2145cc,this['_logService']=_0xa1d623,this[_0x342599(0x319)]=_0x510a0a;}[_0x1bf13c(0x23e)](_0x21d848){const _0x46dc3c=_0x1bf13c,_0xe4c9d=this['_ws'][_0x46dc3c(0x23e)](_0x21d848);if(!_0xe4c9d)throw new Error(_0x46dc3c(0x50e));const _0x1a8f26=new _0x47ad91[(_0x46dc3c(0x3bb))](),_0x2d58c9=new _0x255eda[(_0x46dc3c(0x329))]();_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91['toDisposable'](_0xe4c9d[_0x46dc3c(0x58f)]['subscribe'](_0x5bb1fb=>_0x2d58c9['next'](_0x5bb1fb)))),_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91[_0x46dc3c(0x1ab)](()=>_0x2d58c9['complete']()));const _0x4b2e0e=new _0x255eda[(_0x46dc3c(0x329))]();_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91[_0x46dc3c(0x1ab)](_0xe4c9d[_0x46dc3c(0x451)][_0x46dc3c(0x3db)](_0x3696f3=>_0x4b2e0e[_0x46dc3c(0x3e1)](_0x3696f3)))),_0x1a8f26['add'](_0x47ad91['toDisposable'](()=>_0x4b2e0e[_0x46dc3c(0x2ad)]()));const _0xf70227=new _0x255eda[(_0x46dc3c(0x329))]();_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91['toDisposable'](_0xe4c9d[_0x46dc3c(0x1af)][_0x46dc3c(0x3db)](_0x49a2cd=>{const _0x224ab2=_0x46dc3c,_0x5adde0=_0xdf00df(_0x49a2cd);_0xf70227[_0x224ab2(0x3e1)](_0x5adde0);}))),_0x1a8f26[_0x46dc3c(0x565)](_0x47ad91[_0x46dc3c(0x1ab)](()=>_0xf70227[_0x46dc3c(0x2ad)]()));const _0x36c82b=()=>{const _0x14daf7=_0x46dc3c;_0x4b2e0e[_0x14daf7(0x3e1)](new Event(_0x14daf7(0x43f))),_0x2d58c9[_0x14daf7(0x3e1)](new CloseEvent(_0x14daf7(0x43f))),_0x41ca92[_0x14daf7(0x318)]();},_0x41ca92={'memberID':'','close$':_0x2d58c9[_0x46dc3c(0x1a1)](),'error$':_0x4b2e0e[_0x46dc3c(0x1a1)](),'open$':_0xe4c9d[_0x46dc3c(0x54a)],'message$':_0xf70227[_0x46dc3c(0x1a1)](),'send':_0x20263a=>{const _0x18351e=_0x46dc3c;if(_0x20263a['cmd']===_0x35ae73[_0x18351e(0x2b0)]){if(_0x20263a['data'][_0x18351e(0x58d)]===_0x4709b4[_0x18351e(0x1dd)][_0x18351e(0x58b)]){this[_0x18351e(0x1c7)](_0x41ca92,_0x20263a[_0x18351e(0x3c1)])[_0x18351e(0x4e1)](_0x370040=>{const _0x489cbb=_0x18351e;this[_0x489cbb(0x449)][_0x489cbb(0x3dd)](_0x370040),_0x36c82b();});return;}if(_0x20263a['data'][_0x18351e(0x58d)]===_0x4709b4['CollaborationEvent'][_0x18351e(0x279)]){const _0x4bb79d=_0x20263a[_0x18351e(0x3c1)];this[_0x18351e(0x437)](_0x4bb79d)['then'](_0x146b43=>{const _0x3e28b1=_0x18351e;_0xf70227[_0x3e28b1(0x3e1)]({'cmd':_0x35ae73[_0x3e28b1(0x512)],'code':_0x706c20['OK'],'routeKey':_0x4bb79d[_0x3e28b1(0x3c1)][_0x3e28b1(0x210)],'routeType':'','data':{'eventID':_0x4709b4['CollaborationEvent'][_0x3e28b1(0x4bc)],'data':{'changesets':_0x146b43}}});})['catch'](_0x22bd18=>{const _0x1e18ef=_0x18351e;this[_0x1e18ef(0x449)][_0x1e18ef(0x3dd)](_0x22bd18),_0x36c82b();});return;}}_0xe4c9d[_0x18351e(0x56e)](_0x778cc5(_0x20263a));},'close':()=>{const _0x467ce9=_0x46dc3c;_0xe4c9d[_0x467ce9(0x318)](),_0x1a8f26[_0x467ce9(0x4db)]();}};return _0x41ca92;}async[_0x1bf13c(0x1c7)](_0x38bcb6,_0x274d91){const _0x5a4bd5=_0x1bf13c;var _0x39275a;const {unitType:_0x289c0f,unitID:_0x5873a1,changeset:_0x430f43}=_0x274d91[_0x5a4bd5(0x3c1)],_0x286182={'unitID':_0x5873a1,'memberID':_0x38bcb6[_0x5a4bd5(0x53b)],'type':_0x289c0f,'changeset':_0x4709b4['parseChangesetToProtocol'](_0x430f43)},_0x20b1a7=_0x31ba35((_0x39275a=this[_0x5a4bd5(0x4eb)][_0x5a4bd5(0x4dd)](_0x5ea304))!=null?_0x39275a:_0xd44ce5,_0x289c0f,_0x5873a1);try{await this['_http'][_0x5a4bd5(0x491)](_0x20b1a7,{'body':_0x286182});}catch(_0x3a0eaf){throw this[_0x5a4bd5(0x449)][_0x5a4bd5(0x3dd)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x3a0eaf;}}async['_fetchMissChangesets'](_0x391947){const _0x32dc8e=_0x1bf13c,{unitID:_0xa49f18,from:_0x50440c,to:_0x5143db,unitType:_0x8fccd6}=_0x391947['data'];return(await this[_0x32dc8e(0x319)][_0x32dc8e(0x563)]({'metadata':void 0x0},{'unitID':_0xa49f18,'type':_0x8fccd6,'from':_0x50440c,'to':_0x5143db}))[_0x32dc8e(0x40d)];}},_0x490b22[_0x1bf13c(0x49d)]=_0x4c4d4e([_0x432179(0x0,_0x47ad91['Inject'](_0x125bb1['HTTPService'])),_0x432179(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x125bb1[_0x1bf13c(0x3f2)])),_0x432179(0x2,_0x47ad91[_0x1bf13c(0x57d)]),_0x432179(0x3,_0x47ad91['ILogService']),_0x432179(0x4,_0x47ad91['ISnapshotServerService'])],_0x490b22[_0x1bf13c(0x49d)]);class _0x44be8d{constructor(){const _0x4b843a=_0x1bf13c;_0x41c7d7(this,_0x4b843a(0x36a),new _0x255eda[(_0x4b843a(0x329))]()),_0x41c7d7(this,_0x4b843a(0x1c8),this[_0x4b843a(0x36a)]['asObservable']());}['onCommentUpdate'](_0x537727){const _0x417888=_0x1bf13c;this['_commentUpdate$'][_0x417888(0x3e1)](_0x537727);}}var _0x47c731=Object[_0x1bf13c(0x1f5)],_0x1672e3=Object[_0x1bf13c(0x523)],_0x1e678a=(_0x2278bd,_0x485c64,_0x570af5,_0x216001)=>{const _0x44d290=_0x1bf13c;for(var _0x2f9655=_0x216001>0x1?void 0x0:_0x216001?_0x1672e3(_0x485c64,_0x570af5):_0x485c64,_0x312925=_0x2278bd[_0x44d290(0x557)]-0x1,_0x4d9fdf;_0x312925>=0x0;_0x312925--)(_0x4d9fdf=_0x2278bd[_0x312925])&&(_0x2f9655=(_0x216001?_0x4d9fdf(_0x485c64,_0x570af5,_0x2f9655):_0x4d9fdf(_0x2f9655))||_0x2f9655);return _0x216001&&_0x2f9655&&_0x47c731(_0x485c64,_0x570af5,_0x2f9655),_0x2f9655;},_0x2e5266=(_0x3f4152,_0x522c5c)=>(_0xae1c9f,_0x5bc9ac)=>_0x522c5c(_0xae1c9f,_0x5bc9ac,_0x3f4152),_0x1a88b8=(_0x502cb7=>(_0x502cb7[_0x502cb7[_0x1bf13c(0x48f)]=0x0]=_0x1bf13c(0x48f),_0x502cb7[_0x502cb7['JOINING']=0x1]=_0x1bf13c(0x528),_0x502cb7[_0x502cb7[_0x1bf13c(0x39c)]=0x2]=_0x1bf13c(0x39c),_0x502cb7[_0x502cb7[_0x1bf13c(0x45f)]=0x3]=_0x1bf13c(0x45f),_0x502cb7))(_0x1a88b8||{});_0x490b22[_0x1bf13c(0x385)]=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x453835,_0x3bab58,_0x550b85,_0xb76a2,_0x489c8d,_0x21d37c,_0x1d46f2,_0x214573,_0xfbd02f){const _0x454e1e=_0x1bf13c;super(),_0x41c7d7(this,_0x454e1e(0x19e),new _0x255eda[(_0x454e1e(0x1d6))](0x0)),_0x41c7d7(this,_0x454e1e(0x283),this[_0x454e1e(0x19e)][_0x454e1e(0x1a1)]()),_0x41c7d7(this,_0x454e1e(0x30a),new _0x255eda[(_0x454e1e(0x329))]()),_0x41c7d7(this,_0x454e1e(0x29a),this[_0x454e1e(0x30a)][_0x454e1e(0x1a1)]()),_0x41c7d7(this,_0x454e1e(0x436)),_0x41c7d7(this,'_socketMessageSubscription'),_0x41c7d7(this,_0x454e1e(0x574)),(this[_0x454e1e(0x3a2)]=_0x453835,this['_logService']=_0x550b85,this[_0x454e1e(0x494)]=_0xb76a2,this[_0x454e1e(0x1cd)]=_0x489c8d,this[_0x454e1e(0x4eb)]=_0x21d37c,this[_0x454e1e(0x2eb)]=_0x1d46f2,this[_0x454e1e(0x480)]=_0x214573,this['_commentService']=_0xfbd02f,_0x3bab58[_0x454e1e(0x38c)](_0x335e20['takeUntil'](this[_0x454e1e(0x517)]))[_0x454e1e(0x3db)](_0x5044ca=>{const _0x1327dd=_0x454e1e;var _0x10a651;typeof _0x5044ca>'u'||(this['_socket']=_0x5044ca,_0x5044ca?(this[_0x1327dd(0x204)](_0x5044ca),this[_0x1327dd(0x395)]=this[_0x1327dd(0x436)][_0x1327dd(0x1af)][_0x1327dd(0x3db)](_0x84a546=>{const _0x2d2886=_0x1327dd;_0x84a546[_0x2d2886(0x246)]===this[_0x2d2886(0x3a2)]&&this[_0x2d2886(0x27c)](_0x84a546);})):(this['_sessionStatus$'][_0x1327dd(0x3e1)](0x2),(_0x10a651=this[_0x1327dd(0x395)])==null||_0x10a651['unsubscribe'](),this[_0x1327dd(0x395)]=null));}),this['disposeWithMe'](this[_0x454e1e(0x494)]['registerOnClose'](()=>{const _0x35b467=_0x454e1e;var _0x508db6;(_0x508db6=this['_socket'])==null||_0x508db6[_0x35b467(0x56e)]({'cmd':_0x35ae73[_0x35b467(0x3fe)],'data':{'roomID':this['_unitID']}});})));}get[_0x1bf13c(0x56f)](){const _0x347ace=_0x1bf13c;return this['_sessionStatus$'][_0x347ace(0x36e)]();}['getMemberID'](){const _0x6d8306=_0x1bf13c;var _0x8b0df,_0x311f15;return(_0x311f15=(_0x8b0df=this[_0x6d8306(0x436)])==null?void 0x0:_0x8b0df[_0x6d8306(0x53b)])!=null?_0x311f15:null;}['dispose'](){const _0x4ca9bf=_0x1bf13c;super[_0x4ca9bf(0x4db)](),this[_0x4ca9bf(0x517)]['next'](),this['dispose$'][_0x4ca9bf(0x2ad)]();}['close'](){const _0x5f0c0c=_0x1bf13c;var _0x3ff408,_0x43fc0e;(_0x3ff408=this[_0x5f0c0c(0x436)])==null||_0x3ff408[_0x5f0c0c(0x56e)]({'cmd':_0x35ae73['LEAVE'],'data':{'roomID':this['_unitID']}}),this[_0x5f0c0c(0x30a)]['complete'](),this[_0x5f0c0c(0x19e)]['complete'](),(_0x43fc0e=this['_socket'])==null||_0x43fc0e[_0x5f0c0c(0x318)](),this[_0x5f0c0c(0x4db)]();}[_0x1bf13c(0x27c)](_0x28ee54){const _0xb4ceee=_0x1bf13c;_0x28ee54[_0xb4ceee(0x25a)]===_0x35ae73[_0xb4ceee(0x4ff)]?this[_0xb4ceee(0x22d)](_0x28ee54):_0x28ee54[_0xb4ceee(0x25a)]===_0x35ae73[_0xb4ceee(0x512)]&&this[_0xb4ceee(0x3b1)](_0x28ee54);}['_joinRoom'](_0x1b3db8){const _0x5e8463=_0x1bf13c;this[_0x5e8463(0x19e)]['next'](0x1),_0x1b3db8[_0x5e8463(0x56e)]({'cmd':_0x35ae73[_0x5e8463(0x4ff)],'routeKey':this[_0x5e8463(0x3a2)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x1bf13c(0x22d)](_0x35a1fb){const _0x170aec=_0x1bf13c;var _0x2d3769;if(_0x35a1fb[_0x170aec(0x466)]===_0x706c20[_0x170aec(0x1bc)]){this['_messageService'][_0x170aec(0x48b)]({'type':_0x2bd9cc[_0x170aec(0x26a)][_0x170aec(0x207)],'content':this[_0x170aec(0x2eb)]['t']('session.room-full')}),this[_0x170aec(0x19e)][_0x170aec(0x3e1)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x17136a=(_0x2d3769=_0x35a1fb[_0x170aec(0x3c1)][_0x170aec(0x47e)][this[_0x170aec(0x3a2)]])==null?void 0x0:_0x2d3769['members'];_0x17136a&&_0x17136a[_0x170aec(0x2fb)](_0xd8e690=>this[_0x170aec(0x480)][_0x170aec(0x568)](this['_unitID'],_0xd8e690));}[_0x1bf13c(0x3b1)](_0x208446){const _0x24a670=_0x1bf13c;try{const _0x4740b7=_0x208446[_0x24a670(0x3c1)];switch(_0x4740b7[_0x24a670(0x58d)]){case _0x4709b4[_0x24a670(0x1dd)]['USERS_ENTER']:this[_0x24a670(0x2e5)](_0x4740b7),this[_0x24a670(0x30a)]['next'](_0x4740b7);break;case _0x4709b4[_0x24a670(0x1dd)][_0x24a670(0x306)]:this[_0x24a670(0x465)](_0x4740b7),this['_event$'][_0x24a670(0x3e1)](_0x4740b7);break;case _0x4709b4[_0x24a670(0x1dd)][_0x24a670(0x457)]:this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x24a670(0x3e1)](_0x4740b7);break;case _0x4709b4[_0x24a670(0x1dd)][_0x24a670(0x30c)]:this[_0x24a670(0x449)][_0x24a670(0x3dd)](_0x24a670(0x393)+JSON[_0x24a670(0x290)](_0x4740b7)),this['_event$'][_0x24a670(0x3e1)](_0x4740b7);break;case _0x4709b4[_0x24a670(0x1dd)][_0x24a670(0x459)]:this['_commentService'][_0x24a670(0x4cb)](_0x4740b7['data']),this[_0x24a670(0x30a)][_0x24a670(0x3e1)](_0x4740b7);break;default:this['_event$'][_0x24a670(0x3e1)](_0x4740b7);}}catch(_0x57a410){this['_logService'][_0x24a670(0x3dd)](_0x57a410,_0x208446);}}[_0x1bf13c(0x2e5)](_0x1f1b5){const _0x50540a=_0x1bf13c;this[_0x50540a(0x480)][_0x50540a(0x568)](this[_0x50540a(0x3a2)],_0x1f1b5[_0x50540a(0x3c1)]);}[_0x1bf13c(0x465)](_0x3d9425){const _0xb874ad=_0x1bf13c;this[_0xb874ad(0x480)][_0xb874ad(0x33f)](this[_0xb874ad(0x3a2)],_0x3d9425[_0xb874ad(0x3c1)][_0xb874ad(0x53b)]);}async['send'](_0x32c811,_0x17c0eb){const _0x1764b2=_0x1bf13c;if(this['sessionStatus']!==0x3||!this[_0x1764b2(0x436)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x32c811['eventID']===_0x4709b4[_0x1764b2(0x1dd)][_0x1764b2(0x46d)]&&this[_0x1764b2(0x448)](),this[_0x1764b2(0x436)][_0x1764b2(0x56e)]({'cmd':_0x35ae73[_0x1764b2(0x2b0)],'routeKey':_0x17c0eb,'routeType':'','data':_0x32c811});}catch(_0x4126a6){this['_logService'][_0x1764b2(0x3dd)](_0x4126a6);}}[_0x1bf13c(0x448)](){const _0x362622=_0x1bf13c;var _0x299f4;this['_collaborationTimeoutTimer']=window[_0x362622(0x241)](()=>{const _0x4a07aa=_0x362622;this[_0x4a07aa(0x574)]=null,this[_0x4a07aa(0x1cd)][_0x4a07aa(0x48b)]({'type':_0x2bd9cc[_0x4a07aa(0x26a)][_0x4a07aa(0x414)],'content':this[_0x4a07aa(0x2eb)]['t'](_0x4a07aa(0x32f))});},(_0x299f4=this['_configService']['getConfig'](_0x2fd0be))!=null?_0x299f4:0x2710);}[_0x1bf13c(0x3ac)](){const _0x4d9622=_0x1bf13c;this[_0x4d9622(0x574)]&&(clearTimeout(this[_0x4d9622(0x574)]),this['_collaborationTimeoutTimer']=null);}},_0x490b22[_0x1bf13c(0x385)]=_0x1e678a([_0x2e5266(0x2,_0x47ad91[_0x1bf13c(0x32d)]),_0x2e5266(0x3,_0x33683b[_0x1bf13c(0x2f5)]),_0x2e5266(0x4,_0x33683b[_0x1bf13c(0x203)]),_0x2e5266(0x5,_0x47ad91['IConfigService']),_0x2e5266(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x2e5266(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x3be5f2)),_0x2e5266(0x8,_0x47ad91[_0x1bf13c(0x483)](_0x44be8d))],_0x490b22[_0x1bf13c(0x385)]),_0x490b22[_0x1bf13c(0x36b)]=class extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(_0x433165,_0x3ef0d8,_0x59ce0f,_0x342d5a,_0x279ac0,_0x1a9bb9){const _0x1184ca=_0x1bf13c;super(),_0x41c7d7(this,_0x1184ca(0x341),new _0x255eda[(_0x1184ca(0x1d6))](void 0x0)),_0x41c7d7(this,_0x1184ca(0x3ca),new Map()),_0x41c7d7(this,'_status$',new _0x255eda[(_0x1184ca(0x1d6))](0x0)),_0x41c7d7(this,_0x1184ca(0x26d),this[_0x1184ca(0x2bd)]['asObservable']()),_0x41c7d7(this,_0x1184ca(0x32b),!0x1),_0x41c7d7(this,'_sendHeartbeatTimer'),_0x41c7d7(this,_0x1184ca(0x4f6)),_0x41c7d7(this,'_retryConnectingTimer'),_0x41c7d7(this,'_retryCount',0x0),(this[_0x1184ca(0x49c)]=_0x433165,this[_0x1184ca(0x2eb)]=_0x3ef0d8,this[_0x1184ca(0x1cd)]=_0x59ce0f,this[_0x1184ca(0x449)]=_0x342d5a,this[_0x1184ca(0x4eb)]=_0x279ac0,this['_socketService']=_0x1a9bb9);}get[_0x1bf13c(0x436)](){const _0x488e4c=_0x1bf13c;return this[_0x488e4c(0x341)][_0x488e4c(0x36e)]();}[_0x1bf13c(0x4db)](){const _0x2a8f3c=_0x1bf13c;super[_0x2a8f3c(0x4db)](),this['_sessions'][_0x2a8f3c(0x2fb)](_0x34eede=>_0x34eede['dispose']()),this[_0x2a8f3c(0x3ca)]['clear'](),this[_0x2a8f3c(0x2bd)]['complete']();}async[_0x1bf13c(0x4a9)](_0x920749){const _0x342fe3=_0x1bf13c;if(this[_0x342fe3(0x3ca)][_0x342fe3(0x19c)](_0x920749))return this[_0x342fe3(0x3ca)][_0x342fe3(0x369)](_0x920749);this['_tryEnsureSocket']();const _0x432156=this[_0x342fe3(0x49c)][_0x342fe3(0x37c)](_0x490b22[_0x342fe3(0x385)],_0x920749,this[_0x342fe3(0x341)][_0x342fe3(0x1a1)]());return this[_0x342fe3(0x3ca)][_0x342fe3(0x56b)](_0x920749,_0x432156),_0x432156;}['closeSession'](_0x527533){const _0x5b16d5=_0x1bf13c;var _0x474552;const _0x313b77=this['_sessions'][_0x5b16d5(0x369)](_0x527533);_0x313b77&&(this[_0x5b16d5(0x3ca)][_0x5b16d5(0x1c3)](_0x527533),_0x313b77[_0x5b16d5(0x318)]()),this['_sessions'][_0x5b16d5(0x3ab)]||(_0x474552=this[_0x5b16d5(0x436)])==null||_0x474552[_0x5b16d5(0x318)]();}[_0x1bf13c(0x2bc)](){const _0xef40ff=_0x1bf13c;var _0x5cd6bf;const _0x5cabdf=(_0x5cd6bf=this[_0xef40ff(0x4eb)]['getConfig'](_0x1d455a))!=null?_0x5cd6bf:_0x5cfb87;return this[_0xef40ff(0x481)][_0xef40ff(0x23e)](_0x5cabdf);}[_0x1bf13c(0x475)](){const _0x1b8b23=_0x1bf13c;try{const _0x1d81b9=this[_0x1b8b23(0x2bc)]();if(_0x1d81b9){const _0x541284=_0x1d81b9[_0x1b8b23(0x56e)];_0x1d81b9[_0x1b8b23(0x56e)]=_0x11258f=>(this[_0x1b8b23(0x21d)](),_0x541284[_0x1b8b23(0x401)](_0x1d81b9,[_0x11258f])),_0x1d81b9['message$'][_0x1b8b23(0x3db)](_0x3dc16a=>this['_onMessage'](_0x1d81b9,_0x3dc16a)),_0x1d81b9['error$'][_0x1b8b23(0x38c)](_0x335e20[_0x1b8b23(0x58a)](0x1))[_0x1b8b23(0x3db)](_0x414f5f=>this[_0x1b8b23(0x449)][_0x1b8b23(0x3dd)](_0x1b8b23(0x407),_0x414f5f)),_0x1d81b9[_0x1b8b23(0x54a)][_0x1b8b23(0x38c)](_0x335e20[_0x1b8b23(0x58a)](0x1))[_0x1b8b23(0x3db)](()=>{const _0x22e237=_0x1b8b23;this[_0x22e237(0x33e)](_0x1d81b9);}),_0x1d81b9[_0x1b8b23(0x58f)][_0x1b8b23(0x38c)](_0x335e20[_0x1b8b23(0x58a)](0x1))[_0x1b8b23(0x3db)](_0x1fbb65=>{const _0x4ffdcd=_0x1b8b23;this[_0x4ffdcd(0x449)][_0x4ffdcd(0x567)](_0x4ffdcd(0x1e6),_0x4ffdcd(0x22e),_0x1fbb65),this[_0x4ffdcd(0x3f1)]();});}}catch(_0x544bfc){this[_0x1b8b23(0x449)][_0x1b8b23(0x3dd)](_0x544bfc),this[_0x1b8b23(0x3f1)]();}}[_0x1bf13c(0x33e)](_0x4ae50f){const _0x43e2f5=_0x1bf13c;this[_0x43e2f5(0x449)][_0x43e2f5(0x567)](_0x43e2f5(0x1e6),_0x43e2f5(0x390)),_0x4ae50f[_0x43e2f5(0x56e)]({'cmd':_0x35ae73[_0x43e2f5(0x1e9)]}),this[_0x43e2f5(0x21d)]();}[_0x1bf13c(0x3f1)](){const _0x104042=_0x1bf13c;var _0x2add94;this[_0x104042(0x2bd)][_0x104042(0x3e1)](0x2),this[_0x104042(0x341)][_0x104042(0x3e1)](null),this[_0x104042(0x514)](),this[_0x104042(0x372)](),this[_0x104042(0x32b)]=!0x1,this['_retryCount']<((_0x2add94=this[_0x104042(0x4eb)][_0x104042(0x4dd)](_0x34145b))!=null?_0x2add94:0x3)?(this[_0x104042(0x44d)](this['_retryCount']),this[_0x104042(0x4b5)]+=0x1):this[_0x104042(0x1cd)][_0x104042(0x48b)]({'type':_0x2bd9cc['MessageType'][_0x104042(0x414)],'content':this[_0x104042(0x2eb)]['t'](_0x104042(0x257))});}[_0x1bf13c(0x44d)](_0x54990a){const _0x39f99d=_0x1bf13c;var _0x5653a3;const _0x1dea5f=((_0x5653a3=this[_0x39f99d(0x4eb)][_0x39f99d(0x4dd)](_0x3743e3))!=null?_0x5653a3:0x4e20)*0x2**_0x54990a;this[_0x39f99d(0x1cd)]['show']({'type':_0x2bd9cc['MessageType'][_0x39f99d(0x207)],'content':this[_0x39f99d(0x2eb)]['t'](_0x39f99d(0x4e8))}),this[_0x39f99d(0x238)]=setTimeout(()=>{const _0x5a0700=_0x39f99d;this[_0x5a0700(0x475)](),clearTimeout(this[_0x5a0700(0x238)]),this[_0x5a0700(0x238)]=null;},_0x1dea5f);}[_0x1bf13c(0x21d)](){const _0x10a5c8=_0x1bf13c;var _0x3139a2;this[_0x10a5c8(0x372)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x10a5c8(0x505)](),(_0x3139a2=this[_0x10a5c8(0x4eb)]['getConfig'](_0x333329))!=null?_0x3139a2:0x7530);}['_sendHeartbeat'](){const _0x4ae99b=_0x1bf13c;this[_0x4ae99b(0x436)][_0x4ae99b(0x56e)]({'cmd':_0x35ae73[_0x4ae99b(0x30d)]}),this[_0x4ae99b(0x3b5)]();}[_0x1bf13c(0x3b5)](){const _0xd4cf4=_0x1bf13c;var _0x3ee7b5;this[_0xd4cf4(0x4f6)]=setTimeout(()=>this[_0xd4cf4(0x3f1)](),(_0x3ee7b5=this[_0xd4cf4(0x4eb)][_0xd4cf4(0x4dd)](_0x2fd0be))!=null?_0x3ee7b5:0x2710);}[_0x1bf13c(0x205)](_0x1d257b,_0x28619a){const _0x124cd7=_0x1bf13c,{cmd:_0xa122bf}=_0x28619a;_0xa122bf===_0x35ae73[_0x124cd7(0x1e9)]&&!this[_0x124cd7(0x32b)]&&(_0x1d257b[_0x124cd7(0x53b)]=_0x28619a['data'][_0x124cd7(0x53b)],this[_0x124cd7(0x341)][_0x124cd7(0x3e1)](_0x1d257b),this['_status$']['next'](0x3),this[_0x124cd7(0x32b)]=!0x0),_0xa122bf===_0x35ae73[_0x124cd7(0x30d)]&&this['_clearTimeoutTimer'](),this[_0x124cd7(0x21d)]();}[_0x1bf13c(0x372)](){const _0x4ccd77=_0x1bf13c;this[_0x4ccd77(0x1a4)]!=null&&(clearTimeout(this[_0x4ccd77(0x1a4)]),this[_0x4ccd77(0x1a4)]=null);}[_0x1bf13c(0x514)](){const _0x431b3d=_0x1bf13c;this[_0x431b3d(0x4f6)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x431b3d(0x4f6)]=null);}},_0x490b22[_0x1bf13c(0x36b)]=_0x1e678a([_0x2e5266(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x2e5266(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x2e5266(0x2,_0x33683b[_0x1bf13c(0x203)]),_0x2e5266(0x3,_0x47ad91[_0x1bf13c(0x32d)]),_0x2e5266(0x4,_0x47ad91[_0x1bf13c(0x57d)]),_0x2e5266(0x5,_0x367b2c)],_0x490b22[_0x1bf13c(0x36b)]);var _0x296ffb=Object[_0x1bf13c(0x1f5)],_0x2a3608=Object[_0x1bf13c(0x523)],_0xf4f32b=(_0x2aa318,_0x56aeed,_0x2164e1,_0x20d2fa)=>{const _0x8a2cd4=_0x1bf13c;for(var _0x406a78=_0x20d2fa>0x1?void 0x0:_0x20d2fa?_0x2a3608(_0x56aeed,_0x2164e1):_0x56aeed,_0x41b8e8=_0x2aa318[_0x8a2cd4(0x557)]-0x1,_0x3012f9;_0x41b8e8>=0x0;_0x41b8e8--)(_0x3012f9=_0x2aa318[_0x41b8e8])&&(_0x406a78=(_0x20d2fa?_0x3012f9(_0x56aeed,_0x2164e1,_0x406a78):_0x3012f9(_0x406a78))||_0x406a78);return _0x20d2fa&&_0x406a78&&_0x296ffb(_0x56aeed,_0x2164e1,_0x406a78),_0x406a78;},_0x28ceb7=(_0x404965,_0x31ca6b)=>(_0x3edf19,_0x2e6240)=>_0x31ca6b(_0x3edf19,_0x2e6240,_0x404965);_0x490b22[_0x1bf13c(0x3fa)]=class extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(_0x29bc17,_0xda4af9,_0x4b3f0f,_0x100f61,_0x53818f){const _0x2c81a2=_0x1bf13c;super(),_0x41c7d7(this,_0x2c81a2(0x233),new Map()),_0x41c7d7(this,_0x2c81a2(0x50d),new Map()),_0x41c7d7(this,_0x2c81a2(0x3a3),!0x1),(this[_0x2c81a2(0x4eb)]=_0x29bc17,this[_0x2c81a2(0x1e3)]=_0xda4af9,this['_beforeCloseService']=_0x4b3f0f,this[_0x2c81a2(0x2eb)]=_0x100f61,this[_0x2c81a2(0x384)]=_0x53818f,this[_0x2c81a2(0x4f7)]());}['disableLocalCache'](){const _0x9f99d4=_0x1bf13c;this[_0x9f99d4(0x3a3)]=!0x0;}[_0x1bf13c(0x4de)](){this['_disabled']=!0x1;}[_0x1bf13c(0x4db)](){const _0x4e23b1=_0x1bf13c;this[_0x4e23b1(0x3a8)]()['then'](()=>super[_0x4e23b1(0x4db)]());}async['loadOfflineData'](_0x3e0924){const _0x383ee9=_0x1bf13c;return this[_0x383ee9(0x3a3)]?null:this[_0x383ee9(0x1e3)]['getItem'](_0x40117a(_0x3e0924));}async['saveOfflineData'](_0x15850b,_0x274bdb){const _0xc0444=_0x1bf13c;return!!this['_localStorageService'][_0xc0444(0x197)](_0x15850b,_0x274bdb);}[_0x1bf13c(0x29b)](_0x102df7,_0x4d8b43,_0x46cc66,_0x27d311){const _0x5e63ae=_0x1bf13c,_0x1f4479=this['_revisionService'][_0x5e63ae(0x199)](_0x102df7);this[_0x5e63ae(0x233)][_0x5e63ae(0x56b)](_0x102df7,{'unitID':_0x102df7,'type':_0x4d8b43,'awaitingChangeset':_0x46cc66,'mutations':_0x27d311,'rev':_0x1f4479}),this['_saveTaskMap'][_0x5e63ae(0x19c)](_0x102df7)||this[_0x5e63ae(0x334)](_0x102df7);}[_0x1bf13c(0x334)](_0x50222c){const _0x2f05f2=_0x1bf13c,_0x8fabbe=this[_0x2f05f2(0x29d)]();_0x8fabbe===0x0?this[_0x2f05f2(0x477)](_0x50222c):this[_0x2f05f2(0x50d)][_0x2f05f2(0x56b)](_0x50222c,setTimeout(()=>this[_0x2f05f2(0x477)](_0x50222c),_0x8fabbe));}[_0x1bf13c(0x29d)](){const _0xd0fc94=_0x1bf13c;var _0x38db32;return(_0x38db32=this[_0xd0fc94(0x4eb)][_0xd0fc94(0x4dd)](_0x4ac3ef))!=null?_0x38db32:0x3e8;}[_0x1bf13c(0x477)](_0x35e4ca){const _0x8cb1d5=_0x1bf13c,_0x3a082e=this[_0x8cb1d5(0x50d)][_0x8cb1d5(0x369)](_0x35e4ca);return _0x3a082e!==void 0x0&&window[_0x8cb1d5(0x3fc)](_0x3a082e),this[_0x8cb1d5(0x1e3)][_0x8cb1d5(0x197)](_0x40117a(_0x35e4ca),this[_0x8cb1d5(0x233)][_0x8cb1d5(0x369)](_0x35e4ca))[_0x8cb1d5(0x34f)](()=>this['_saveTaskMap'][_0x8cb1d5(0x1c3)](_0x35e4ca));}async['exhaustSavingTask'](){const _0x38284b=_0x1bf13c,_0x1dff7f=[];this[_0x38284b(0x50d)][_0x38284b(0x2fb)]((_0x202c6c,_0x29a413)=>{const _0x594e0f=_0x38284b;window[_0x594e0f(0x3fc)](_0x202c6c),_0x1dff7f['push'](this[_0x594e0f(0x477)](_0x29a413)[_0x594e0f(0x34f)](()=>{const _0x3f8ee0=_0x594e0f;this[_0x3f8ee0(0x50d)][_0x3f8ee0(0x1c3)](_0x29a413);}));}),await Promise[_0x38284b(0x304)](_0x1dff7f);}[_0x1bf13c(0x4f7)](){const _0x272d9f=_0x1bf13c;this[_0x272d9f(0x27f)](this[_0x272d9f(0x494)][_0x272d9f(0x37e)](()=>{const _0x2c59f9=_0x272d9f;if(this[_0x2c59f9(0x50d)][_0x2c59f9(0x3ab)])return this['_localeService']['t'](_0x2c59f9(0x269));}));}},_0x490b22[_0x1bf13c(0x3fa)]=_0xf4f32b([_0x28ceb7(0x0,_0x47ad91['IConfigService']),_0x28ceb7(0x1,_0x47ad91[_0x1bf13c(0x4ea)]),_0x28ceb7(0x2,_0x33683b[_0x1bf13c(0x2f5)]),_0x28ceb7(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['LocaleService'])),_0x28ceb7(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)]))],_0x490b22['LocalCacheService']);function _0x40117a(_0xadc179){const _0x52babf=_0x1bf13c;return _0x52babf(0x2fd)+_0xadc179;}const _0x160851=_0x47ad91['createIdentifier'](_0x1bf13c(0x1d1));var _0x527725=(_0x5e446c=>(_0x5e446c[_0x5e446c[_0x1bf13c(0x4e4)]=0x0]=_0x1bf13c(0x4e4),_0x5e446c[_0x5e446c[_0x1bf13c(0x513)]=0x1]=_0x1bf13c(0x513),_0x5e446c))(_0x527725||{});const _0x1aeb13=0x7530,_0x1677bf=_0x1bf13c(0x345);class _0x577154 extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(){const _0x1fb34f=_0x1bf13c;super(),_0x41c7d7(this,_0x1fb34f(0x4fb),_0x47ad91['Tools'][_0x1fb34f(0x254)]()),_0x41c7d7(this,_0x1fb34f(0x375),new Set()),_0x41c7d7(this,_0x1fb34f(0x275),new Map()),_0x41c7d7(this,'_heartbeatTimer',null),_0x41c7d7(this,_0x1fb34f(0x378),new Map()),_0x41c7d7(this,'_unitStatus',new Map()),this[_0x1fb34f(0x336)]();}[_0x1bf13c(0x4db)](){const _0x31ac78=_0x1bf13c;super[_0x31ac78(0x4db)](),this[_0x31ac78(0x378)]['forEach']((_0x1c22d8,_0x22e656)=>this[_0x31ac78(0x41a)](_0x22e656)),this[_0x31ac78(0x413)]&&window['clearInterval'](this[_0x31ac78(0x413)]);}[_0x1bf13c(0x370)](_0x49fdf2){const _0x205b2e=_0x1bf13c;return this['_ensureSubject'](_0x49fdf2)[_0x205b2e(0x38c)](_0x255eda[_0x205b2e(0x45e)]());}[_0x1bf13c(0x2ab)](_0x39688b){const _0x23c9b0=_0x1bf13c;this[_0x23c9b0(0x375)][_0x23c9b0(0x3ab)]===0x0&&this[_0x23c9b0(0x503)](),this['_selfUnitIDs'][_0x23c9b0(0x565)](_0x39688b),this[_0x23c9b0(0x499)]({'type':0x0,'memberID':this[_0x23c9b0(0x4fb)],'unitIDs':[_0x39688b],'isForwarded':!0x1});}[_0x1bf13c(0x48c)](_0x4c8cd0){const _0x51a2bb=_0x1bf13c;this[_0x51a2bb(0x375)][_0x51a2bb(0x1c3)](_0x4c8cd0),this['_selfUnitIDs']['size']===0x0&&this[_0x51a2bb(0x413)]&&window[_0x51a2bb(0x3e8)](this['_heartbeatTimer']);}[_0x1bf13c(0x336)](){const _0x525915=_0x1bf13c;this[_0x525915(0x27f)](_0x47ad91['toDisposable'](_0x255eda[_0x525915(0x35f)](window,_0x525915(0x286))['subscribe'](_0x386016=>{const _0x5cc45c=_0x525915;if(_0x386016['key']!==_0x1677bf||!_0x386016[_0x5cc45c(0x439)])return;const _0x430d65=JSON[_0x5cc45c(0x41b)](_0x386016[_0x5cc45c(0x439)]);this[_0x5cc45c(0x4a5)](_0x430d65);}))),window[_0x525915(0x349)](_0x525915(0x43d),()=>this[_0x525915(0x499)]({'type':0x1,'memberID':this[_0x525915(0x4fb)],'unitIDs':Array[_0x525915(0x216)](this[_0x525915(0x375)])}));}['_handleEvent'](_0x31bce4){const _0xe4710d=_0x1bf13c;switch(_0x31bce4['type']){case 0x0:this['_handleJoinEvent'](_0x31bce4);break;case 0x1:this['_handleLeaveEvent'](_0x31bce4);break;case 0x2:this[_0xe4710d(0x2dd)](_0x31bce4);break;}}[_0x1bf13c(0x44b)](_0x49e4e1){const _0x4c1570=_0x1bf13c,{unitIDs:_0x20f151,memberID:_0x3c6983,isForwarded:_0x8b49a0}=_0x49e4e1;_0x20f151[_0x4c1570(0x2fb)](_0x3ed980=>{const _0xb16d95=_0x4c1570;if(!_0x8b49a0&&this[_0xb16d95(0x275)][_0xb16d95(0x19c)](_0x3ed980)&&this[_0xb16d95(0x29e)](_0x3ed980)[_0xb16d95(0x3e1)](0x1),!this['_unitOnClients']['has'](_0x3ed980)||!this[_0xb16d95(0x275)][_0xb16d95(0x369)](_0x3ed980)[_0xb16d95(0x19c)](_0x3c6983)){const _0x1d14ec=this[_0xb16d95(0x275)][_0xb16d95(0x369)](_0x3ed980)||new Set();_0x1d14ec[_0xb16d95(0x565)](_0x3c6983),this[_0xb16d95(0x275)][_0xb16d95(0x56b)](_0x3ed980,_0x1d14ec),this[_0xb16d95(0x454)](_0x3c6983);}}),_0x8b49a0||this[_0x4c1570(0x499)]({'type':0x0,'memberID':this[_0x4c1570(0x4fb)],'unitIDs':[...this[_0x4c1570(0x375)]],'isForwarded':!0x0});}[_0x1bf13c(0x454)](_0x7098e1){const _0x131353=_0x1bf13c;this[_0x131353(0x41a)](_0x7098e1);const _0x4d181b=window[_0x131353(0x241)](()=>{this['_unitOnClients']['forEach'](_0x2fcb0e=>{const _0x201fd2=_0x2921;_0x2fcb0e[_0x201fd2(0x1c3)](_0x7098e1);});},_0x1aeb13*0x2);this['_clearOtherTimers']['set'](_0x7098e1,_0x4d181b);}[_0x1bf13c(0x41a)](_0x2af25c){const _0x18035d=_0x1bf13c;if(this[_0x18035d(0x378)]['has'](_0x2af25c)){const _0xf9818=this[_0x18035d(0x378)][_0x18035d(0x369)](_0x2af25c);_0xf9818&&window[_0x18035d(0x3fc)](_0xf9818),this[_0x18035d(0x378)][_0x18035d(0x56b)](_0x2af25c,null);}}[_0x1bf13c(0x1a7)](_0x2b9d22){const _0x2abcc6=_0x1bf13c,{memberID:_0x2ae9e5,unitIDs:_0x50ba8c}=_0x2b9d22;_0x50ba8c[_0x2abcc6(0x2fb)](_0x64dfd8=>{const _0x4e99d7=_0x2abcc6;var _0x474aea;const _0x20e7ad=this[_0x4e99d7(0x275)][_0x4e99d7(0x369)](_0x64dfd8);_0x20e7ad&&(_0x20e7ad[_0x4e99d7(0x1c3)](_0x2ae9e5),(_0x474aea=this[_0x4e99d7(0x29e)](_0x64dfd8))==null||_0x474aea[_0x4e99d7(0x3e1)](_0x20e7ad[_0x4e99d7(0x3ab)]===0x0?0x0:0x1));}),this[_0x2abcc6(0x41a)](_0x2ae9e5);}[_0x1bf13c(0x2dd)](_0x2b8d84){const _0x33b095=_0x1bf13c;this[_0x33b095(0x454)](_0x2b8d84[_0x33b095(0x53b)]);}[_0x1bf13c(0x499)](_0x68f0bd){const _0x3fbca4=_0x1bf13c;localStorage[_0x3fbca4(0x197)](_0x1677bf,JSON[_0x3fbca4(0x290)](_0x68f0bd));}['_scheduleHeartbeat'](){const _0x2ffe0e=_0x1bf13c;this[_0x2ffe0e(0x413)]=window[_0x2ffe0e(0x524)](()=>{const _0x50207e=_0x2ffe0e;this[_0x50207e(0x499)]({'type':0x2,'memberID':this[_0x50207e(0x4fb)]});},_0x1aeb13);}[_0x1bf13c(0x29e)](_0x28ed01){const _0x4164fb=_0x1bf13c;return this[_0x4164fb(0x40c)][_0x4164fb(0x19c)](_0x28ed01)||this['_unitStatus'][_0x4164fb(0x56b)](_0x28ed01,new _0x255eda['BehaviorSubject'](0x0)),this[_0x4164fb(0x40c)][_0x4164fb(0x369)](_0x28ed01);}}var _0x23ad0f=Object['defineProperty'],_0x56b937=Object[_0x1bf13c(0x523)],_0x12f06d=(_0x277c08,_0xe72250,_0x16f5a0,_0x491e8b)=>{for(var _0x1a0328=_0x491e8b>0x1?void 0x0:_0x491e8b?_0x56b937(_0xe72250,_0x16f5a0):_0xe72250,_0x515351=_0x277c08['length']-0x1,_0xd723b9;_0x515351>=0x0;_0x515351--)(_0xd723b9=_0x277c08[_0x515351])&&(_0x1a0328=(_0x491e8b?_0xd723b9(_0xe72250,_0x16f5a0,_0x1a0328):_0xd723b9(_0x1a0328))||_0x1a0328);return _0x491e8b&&_0x1a0328&&_0x23ad0f(_0xe72250,_0x16f5a0,_0x1a0328),_0x1a0328;},_0x4d9f0d=(_0x289455,_0x3eb2e1)=>(_0x5cfd9d,_0x827010)=>_0x3eb2e1(_0x5cfd9d,_0x827010,_0x289455);let _0x5bc3d5=class{constructor(_0x4b7da3,_0x31e742){const _0x2c5f78=_0x1bf13c;this[_0x2c5f78(0x49c)]=_0x4b7da3,this[_0x2c5f78(0x424)]=_0x31e742;}[_0x1bf13c(0x223)](_0x48f07a){const _0xfc5b18=_0x1bf13c;this[_0xfc5b18(0x39b)](_0x48f07a),this[_0xfc5b18(0x3f5)](_0x48f07a);}[_0x1bf13c(0x4b1)](_0x5ca39f){const _0x7acd9c=_0x1bf13c,_0x21f82d=this[_0x7acd9c(0x49c)][_0x7acd9c(0x369)](_0x2ac904[_0x7acd9c(0x24f)]),{redoCache:_0x3254c2}=_0x21f82d[_0x7acd9c(0x247)]();if(_0x3254c2[_0x7acd9c(0x557)]===0x0)return _0x5ca39f;let _0x4afd2e=_0x47ad91[_0x7acd9c(0x24a)][_0x7acd9c(0x396)](_0x5ca39f[_0x7acd9c(0x4c7)][0x0]);for(let _0x159335=0x0;_0x159335<_0x3254c2[_0x7acd9c(0x557)];_0x159335++){const _0x248412={'id':_0x7acd9c(0x504),'params':{..._0x3254c2[_0x159335]}},_0x381f3c=this[_0x7acd9c(0x424)][_0x7acd9c(0x298)](_0x4afd2e,_0x248412,!0x1);if(_0x4709b4[_0x7acd9c(0x41c)](_0x381f3c))throw _0x381f3c[_0x7acd9c(0x3dd)];_0x4afd2e=_0x381f3c[_0x7acd9c(0x521)];}return{..._0x47ad91[_0x7acd9c(0x24a)][_0x7acd9c(0x396)](_0x5ca39f),'mutations':[_0x4afd2e]};}['_transformUndoRedoStack'](_0x349e4a){const _0x2aecb1=_0x1bf13c,_0x4ef033=this[_0x2aecb1(0x49c)]['get'](_0x2ac904[_0x2aecb1(0x24f)]),{undoCache:_0x3aa7de,redoCache:_0x33ddf6}=_0x4ef033[_0x2aecb1(0x247)]();if(_0x3aa7de[_0x2aecb1(0x557)]===0x0||_0x33ddf6[_0x2aecb1(0x557)]===0x0)return;const _0x2de0a5=[],_0x19f386=[];let _0x1a3ab6=_0x47ad91[_0x2aecb1(0x24a)][_0x2aecb1(0x396)](_0x349e4a[_0x2aecb1(0x4c7)][0x0]),_0x301fbd=_0x47ad91['Tools'][_0x2aecb1(0x396)](_0x349e4a['mutations'][0x0]);for(let _0x533334=_0x3aa7de[_0x2aecb1(0x557)]-0x1;_0x533334>=0x0;_0x533334--){const _0x24d36e={'id':_0x2aecb1(0x504),'params':{..._0x3aa7de[_0x533334]}},_0x10f32d={'id':'doc.mutation.rich-text-editing','params':{..._0x33ddf6[_0x533334]}},_0xc72943=this[_0x2aecb1(0x424)]['transformMutation'](_0x1a3ab6,_0x24d36e,!0x1),_0x2753a6=this['_transformService'][_0x2aecb1(0x298)](_0x301fbd,_0x10f32d,!0x1);if(_0x4709b4[_0x2aecb1(0x41c)](_0xc72943))throw _0xc72943[_0x2aecb1(0x3dd)];if(_0x4709b4[_0x2aecb1(0x41c)](_0x2753a6))throw _0x2753a6[_0x2aecb1(0x3dd)];_0x2de0a5['unshift'](_0xc72943['m2Prime'][_0x2aecb1(0x37b)]),_0x19f386[_0x2aecb1(0x28a)](_0x2753a6[_0x2aecb1(0x4be)][_0x2aecb1(0x37b)]),_0x1a3ab6=_0xc72943[_0x2aecb1(0x521)],_0x301fbd=_0x2753a6[_0x2aecb1(0x521)];}_0x4ef033['setUndoRedoMutationParamsCache']({'undoCache':_0x2de0a5,'redoCache':_0x19f386});}[_0x1bf13c(0x3f5)](_0x15bfea){const _0x307943=_0x1bf13c,_0x164fc7=this[_0x307943(0x49c)][_0x307943(0x369)](_0x2ac904['IMEInputManagerService']),_0x3546bd=_0x164fc7[_0x307943(0x41d)]();if(_0x3546bd==null)return;const _0x2588a2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15bfea[_0x307943(0x210)],'actions':null,'textRanges':[_0x3546bd]}}],_0x3ee549=this[_0x307943(0x424)][_0x307943(0x388)](_0x15bfea,_0x2588a2);if(!_0x4709b4[_0x307943(0x2e9)](_0x3ee549))throw _0x3ee549[_0x307943(0x3dd)];const _0x44ff60=_0x3ee549[_0x307943(0x4be)][0x0][_0x307943(0x37b)][_0x307943(0x4ac)];Array[_0x307943(0x541)](_0x44ff60)&&_0x44ff60[_0x307943(0x557)]&&_0x164fc7[_0x307943(0x1fd)](_0x44ff60[0x0]);}};_0x5bc3d5=_0x12f06d([_0x4d9f0d(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x4d9f0d(0x1,_0x4709b4[_0x1bf13c(0x516)])],_0x5bc3d5);var _0x2edb48=Object[_0x1bf13c(0x1f5)],_0x35192a=Object[_0x1bf13c(0x523)],_0x204e16=(_0x4e3b4c,_0x75d997,_0x292a22,_0x5ccdca)=>{const _0x332870=_0x1bf13c;for(var _0x59e4f5=_0x5ccdca>0x1?void 0x0:_0x5ccdca?_0x35192a(_0x75d997,_0x292a22):_0x75d997,_0x2662dd=_0x4e3b4c[_0x332870(0x557)]-0x1,_0x3330a9;_0x2662dd>=0x0;_0x2662dd--)(_0x3330a9=_0x4e3b4c[_0x2662dd])&&(_0x59e4f5=(_0x5ccdca?_0x3330a9(_0x75d997,_0x292a22,_0x59e4f5):_0x3330a9(_0x59e4f5))||_0x59e4f5);return _0x5ccdca&&_0x59e4f5&&_0x2edb48(_0x75d997,_0x292a22,_0x59e4f5),_0x59e4f5;},_0x311c22=(_0x5d7ed7,_0x251147)=>(_0x556a6f,_0x17ef5f)=>_0x251147(_0x556a6f,_0x17ef5f,_0x5d7ed7);let _0x85bcf8=class{constructor(_0x57c910,_0x3369ae){const _0xc5de38=_0x1bf13c;this[_0xc5de38(0x49c)]=_0x57c910,this[_0xc5de38(0x424)]=_0x3369ae;}[_0x1bf13c(0x313)](_0x4ead00){const _0x8b46b3=_0x1bf13c;var _0xd208bd;const _0x38b39a=this['_injector'][_0x8b46b3(0x369)](_0x2ac904[_0x8b46b3(0x4e2)]),_0x2ab21d=(_0xd208bd=_0x38b39a[_0x8b46b3(0x202)]())!=null?_0xd208bd:[],_0x44fb33=_0x2ab21d==null?void 0x0:_0x2ab21d['map'](_0x2ac904[_0x8b46b3(0x42c)]);if(_0x44fb33[_0x8b46b3(0x557)]===0x0)return;const _0x1ba7aa=[{'id':_0x8b46b3(0x504),'params':{'unitId':_0x4ead00[_0x8b46b3(0x210)],'actions':null,'textRanges':_0x44fb33}}],_0x541528=this[_0x8b46b3(0x424)][_0x8b46b3(0x388)](_0x4ead00,_0x1ba7aa);if(!_0x4709b4[_0x8b46b3(0x2e9)](_0x541528))throw _0x541528['error'];const _0x308171=_0x541528[_0x8b46b3(0x4be)][0x0][_0x8b46b3(0x37b)][_0x8b46b3(0x4ac)];Array['isArray'](_0x308171)&&_0x308171[_0x8b46b3(0x557)]&&_0x38b39a['replaceTextRanges'](_0x308171,!0x1);}};_0x85bcf8=_0x204e16([_0x311c22(0x0,_0x47ad91['Inject'](_0x47ad91['Injector'])),_0x311c22(0x1,_0x4709b4[_0x1bf13c(0x516)])],_0x85bcf8);function _0x57d3bd(_0x2ceff5){const _0x4a07fc=_0x1bf13c;let _0x3de403='';for(const _0x5478b6 of _0x2ceff5){const {startOffset:_0x1a0e58,endOffset:_0x3ad03a,isActive:_0x385593}=_0x5478b6;_0x3de403[_0x4a07fc(0x557)]&&(_0x3de403+=','),_0x3de403+=_0x1a0e58+':'+_0x3ad03a+':'+(_0x385593?'1':'0');}return _0x3de403;}function _0x4a8af3(_0x17f43d){const _0x13b56e=_0x1bf13c,_0x7b71c3=_0x17f43d[_0x13b56e(0x265)](','),_0x3225c5=[];for(const _0x4b4cb1 of _0x7b71c3){const [_0x4476e6,_0xbf3c40,_0x26cf89]=_0x4b4cb1[_0x13b56e(0x265)](':');_0x3225c5[_0x13b56e(0x44c)]({'startOffset':Number(_0x4476e6),'endOffset':Number(_0xbf3c40),'collapsed':_0x4476e6===_0xbf3c40,'isActive':_0x26cf89==='1'});}return _0x3225c5[_0x13b56e(0x4bb)](_0x4b9d69=>_0x4b9d69[_0x13b56e(0x35c)])||(_0x3225c5[0x0][_0x13b56e(0x35c)]=!0x0),_0x3225c5;}class _0x2a9bcc extends _0x47ad91['RxDisposable']{constructor(){const _0x55f4ae=_0x1bf13c;super(...arguments),_0x41c7d7(this,_0x55f4ae(0x2ed),new _0x255eda[(_0x55f4ae(0x1d6))](null)),_0x41c7d7(this,_0x55f4ae(0x330),this['_collabCursorState$'][_0x55f4ae(0x1a1)]());}[_0x1bf13c(0x240)](_0x45a652){const _0x77a1cd=_0x1bf13c,{unitID:_0x1a6a37,memberID:_0x2fdf95,textRanges:_0x183290}=_0x45a652,_0x159cf1=_0x57d3bd(_0x183290),_0x4534b3={'unitID':_0x1a6a37,'memberID':_0x2fdf95,'selection':_0x159cf1};this['_collabCursorState$'][_0x77a1cd(0x3e1)](_0x4534b3);}}var _0x21c015=Object['defineProperty'],_0x1459d5=Object[_0x1bf13c(0x523)],_0x173bf9=(_0x3a55d9,_0x3d3c87,_0x5a8286,_0x3a245b)=>{const _0x496e54=_0x1bf13c;for(var _0x5e2646=_0x3a245b>0x1?void 0x0:_0x3a245b?_0x1459d5(_0x3d3c87,_0x5a8286):_0x3d3c87,_0x5ae794=_0x3a55d9[_0x496e54(0x557)]-0x1,_0x6d14af;_0x5ae794>=0x0;_0x5ae794--)(_0x6d14af=_0x3a55d9[_0x5ae794])&&(_0x5e2646=(_0x3a245b?_0x6d14af(_0x3d3c87,_0x5a8286,_0x5e2646):_0x6d14af(_0x5e2646))||_0x5e2646);return _0x3a245b&&_0x5e2646&&_0x21c015(_0x3d3c87,_0x5a8286,_0x5e2646),_0x5e2646;},_0x2d88eb=(_0x487449,_0x5c0e7f)=>(_0x1d3137,_0x59a724)=>_0x5c0e7f(_0x1d3137,_0x59a724,_0x487449);function _0x33e126(_0xc764b0){const _0x1c18eb=_0x1bf13c,{unitID:_0x374e9,mutations:_0x5de2b6}=_0xc764b0;return{'unitId':_0x374e9,'subUnitId':_0x5de2b6[0x0][_0x1c18eb(0x37b)][_0x1c18eb(0x4f2)]};}let _0x2c3692=class{constructor(_0x9c8c4a,_0x476470){const _0x2b0c91=_0x1bf13c;this[_0x2b0c91(0x49c)]=_0x9c8c4a,this[_0x2b0c91(0x424)]=_0x476470;}[_0x1bf13c(0x313)](_0x5de511){const _0x3322ce=_0x1bf13c;var _0x59aa1d,_0x498127,_0x30fe00;const _0x7cfc1b=this['_injector'][_0x3322ce(0x369)](_0x4b5d67[_0x3322ce(0x1cc)]),{unitId:_0x553b0e,subUnitId:_0x13578c}=_0x33e126(_0x5de511),_0x434ead=_0x7cfc1b[_0x3322ce(0x462)](_0x553b0e)[_0x3322ce(0x344)]();if(_0x434ead[_0x3322ce(0x557)]===0x0||!_0x553b0e||!_0x13578c)return;const _0x37253f=[{'id':_0x4b5d67[_0x3322ce(0x346)]['id'],'params':{'unitId':_0x553b0e,'subUnitId':_0x13578c,'selections':_0x47ad91[_0x3322ce(0x24a)][_0x3322ce(0x396)](_0x434ead)}}],_0x5b4a68=this[_0x3322ce(0x424)][_0x3322ce(0x388)](_0x5de511,_0x37253f);if(!_0x4709b4['isTransformMutationsWithChangesetSuccess'](_0x5b4a68))throw _0x5b4a68[_0x3322ce(0x3dd)];const _0x4971cc=(_0x30fe00=(_0x498127=(_0x59aa1d=_0x5b4a68[_0x3322ce(0x4be)][0x0])==null?void 0x0:_0x59aa1d[_0x3322ce(0x37b)])==null?void 0x0:_0x498127['selections'])!=null?_0x30fe00:_0x434ead;Array[_0x3322ce(0x541)](_0x4971cc)&&_0x4971cc[_0x3322ce(0x557)]&&this[_0x3322ce(0x49c)][_0x3322ce(0x369)](_0x47ad91[_0x3322ce(0x226)])[_0x3322ce(0x518)](_0x4b5d67['SetSelectionsOperation']['id'],{'unitId':_0x553b0e,'subUnitId':_0x13578c,'selections':_0x4971cc});}};_0x2c3692=_0x173bf9([_0x2d88eb(0x0,_0x47ad91['Inject'](_0x47ad91[_0x1bf13c(0x380)])),_0x2d88eb(0x1,_0x4709b4['ITransformService'])],_0x2c3692);const _0x13e171=new Set([_0x4b5d67[_0x1bf13c(0x4f3)]['id']]);function _0x2884d5(_0x392f90,_0x4b71b0,_0x5259ee,_0x3d67e0,_0x57de29){const _0x243e51=_0x1bf13c;var _0x5c3944,_0xaad9da,_0x3c790d,_0x14b95f;const _0x3289dd=[];for(const _0x5c8abc of _0x392f90)if(_0x13e171[_0x243e51(0x19c)](_0x5c8abc['id'])){if(_0x3289dd[_0x243e51(0x557)]>0x0)break;_0x3289dd[_0x243e51(0x44c)](_0x5c8abc);break;}else _0x3289dd[_0x243e51(0x44c)](_0x5c8abc);const _0x15b14e=(_0xaad9da=(_0x5c3944=_0x57de29[_0x243e51(0x3e4)]())==null?void 0x0:_0x5c3944['userID'])!=null?_0xaad9da:_0x243e51(0x57e),_0x35253e=(_0x14b95f=(_0x3c790d=_0x57de29[_0x243e51(0x3e4)]())==null?void 0x0:_0x3c790d['memberID'])!=null?_0x14b95f:_0x243e51(0x57e);return{'changeset':{'unitID':_0x4b71b0,'type':_0x4709b4[_0x243e51(0x22c)](_0x5259ee[_0x243e51(0x531)](_0x4b71b0)),'baseRev':_0x3d67e0[_0x243e51(0x199)](_0x4b71b0),'revision':0x0,'userID':_0x15b14e,'memberID':_0x35253e,'mutations':_0x3289dd},'pendingMutations':_0x392f90[_0x243e51(0x4a0)](_0x3289dd[_0x243e51(0x557)])};}function _0x2aa7fb(_0x503489,_0x30e515,_0x28e5bf,_0x340554,_0x1397ba){const _0x36d7ef=_0x1bf13c;var _0x16637a,_0x5ecf43,_0x19be4f,_0x16f7e2;const _0x1cde25=[_0x503489[_0x36d7ef(0x335)]((_0x38ed65,_0x340bd0)=>{const _0x5afae0=_0x36d7ef;var _0x343a53;const {id:_0x142c15}=_0x38ed65,{id:_0x2a8522,type:_0xa5de6d}=_0x340bd0,_0x6addd4=(_0x343a53=_0x38ed65[_0x5afae0(0x37b)])!=null?_0x343a53:{'actions':null},_0x2bda81=_0x340bd0[_0x5afae0(0x37b)];if(_0x142c15&&_0x142c15!==_0x2a8522)throw new Error(_0x5afae0(0x2db)+_0x142c15+_0x5afae0(0x2f0)+_0x2a8522+'.');return{..._0x38ed65,'id':_0x2a8522,'type':_0xa5de6d,'params':{'unitId':_0x2bda81[_0x5afae0(0x206)],'textRanges':_0x2bda81[_0x5afae0(0x4ac)],'actions':_0x47ad91['JSONX'][_0x5afae0(0x54f)](_0x6addd4[_0x5afae0(0x4ad)],_0x2bda81[_0x5afae0(0x4ad)])}};},{})],_0x580029=(_0x5ecf43=(_0x16637a=_0x1397ba[_0x36d7ef(0x3e4)]())==null?void 0x0:_0x16637a[_0x36d7ef(0x55f)])!=null?_0x5ecf43:'unknown',_0x5d9c70=(_0x16f7e2=(_0x19be4f=_0x1397ba[_0x36d7ef(0x3e4)]())==null?void 0x0:_0x19be4f[_0x36d7ef(0x53b)])!=null?_0x16f7e2:'unknown';return{'changeset':{'unitID':_0x30e515,'type':_0x4709b4[_0x36d7ef(0x22c)](_0x28e5bf['getUnitType'](_0x30e515)),'baseRev':_0x340554[_0x36d7ef(0x199)](_0x30e515),'revision':0x0,'userID':_0x580029,'memberID':_0x5d9c70,'mutations':_0x1cde25},'pendingMutations':[]};}const _0x67b6c6={'id':_0x4b5d67[_0x1bf13c(0x53c)]['id'],'type':_0x47ad91['CommandType'][_0x1bf13c(0x468)],'params':{}};var _0x4df677=Object['defineProperty'],_0x879a02=Object[_0x1bf13c(0x523)],_0x552544=(_0x567dd4,_0x80b2a,_0xf3abc4,_0x4b2190)=>{const _0x2d47b8=_0x1bf13c;for(var _0x57788a=_0x4b2190>0x1?void 0x0:_0x4b2190?_0x879a02(_0x80b2a,_0xf3abc4):_0x80b2a,_0x4ff6d5=_0x567dd4[_0x2d47b8(0x557)]-0x1,_0x4d1649;_0x4ff6d5>=0x0;_0x4ff6d5--)(_0x4d1649=_0x567dd4[_0x4ff6d5])&&(_0x57788a=(_0x4b2190?_0x4d1649(_0x80b2a,_0xf3abc4,_0x57788a):_0x4d1649(_0x57788a))||_0x57788a);return _0x4b2190&&_0x57788a&&_0x4df677(_0x80b2a,_0xf3abc4,_0x57788a),_0x57788a;},_0x21ddcd=(_0x4fd185,_0x1e57fe)=>(_0x748a9b,_0x22951c)=>_0x1e57fe(_0x748a9b,_0x22951c,_0x4fd185),_0x214062=(_0x16eb1e=>(_0x16eb1e[_0x1bf13c(0x500)]=_0x1bf13c(0x3b8),_0x16eb1e[_0x1bf13c(0x476)]=_0x1bf13c(0x2f7),_0x16eb1e[_0x1bf13c(0x52d)]=_0x1bf13c(0x2af),_0x16eb1e[_0x1bf13c(0x343)]=_0x1bf13c(0x55e),_0x16eb1e[_0x1bf13c(0x196)]=_0x1bf13c(0x29c),_0x16eb1e[_0x1bf13c(0x35e)]=_0x1bf13c(0x35b),_0x16eb1e[_0x1bf13c(0x398)]=_0x1bf13c(0x317),_0x16eb1e[_0x1bf13c(0x39c)]='offline',_0x16eb1e))(_0x214062||{});class _0x5dbad4{constructor(_0xab115e,_0x297438,_0x1affc4,_0x277979,_0x2bd8e3,_0x472d70,_0x21bfd8,_0xacc21a,_0x1ab375){const _0x401256=_0x1bf13c;_0x41c7d7(this,'_awaitingChangeset',null),_0x41c7d7(this,_0x401256(0x3a5),[]),(this[_0x401256(0x210)]=_0xab115e,this['type']=_0x297438,this[_0x401256(0x562)]=_0x2bd8e3,this[_0x401256(0x508)]=_0x472d70,this[_0x401256(0x2ec)]=_0x21bfd8,this[_0x401256(0x384)]=_0xacc21a,this[_0x401256(0x295)]=_0x1ab375,this[_0x401256(0x4ab)]=_0x1affc4,this[_0x401256(0x3a5)]=_0x277979);}['_checkMissing'](_0x493c63){const _0x5aace3=_0x1bf13c,_0x18eca7=this[_0x5aace3(0x384)][_0x5aace3(0x199)](this[_0x5aace3(0x210)]);return _0x493c63[_0x5aace3(0x1b7)]>_0x18eca7+0x1?(this[_0x5aace3(0x562)][_0x5aace3(0x2c1)]({'from':_0x18eca7,'to':_0x493c63[_0x5aace3(0x1b7)]-0x1}),!0x0):!0x1;}[_0x1bf13c(0x230)](_0x1e94b5){const _0x424ed6=_0x1bf13c;this['_undoRedoService'][_0x424ed6(0x28b)](this[_0x424ed6(0x210)],_0x1e94b5);}[_0x1bf13c(0x1d9)](_0x3747df){const _0x24ef57=_0x1bf13c;var _0x4417b7,_0x3391c9;(_0x3391c9=(_0x4417b7=this['_handler'])[_0x24ef57(0x47b)])==null||_0x3391c9[_0x24ef57(0x2d4)](_0x4417b7,_0x3747df);}['_transformIMECache'](_0xee5f8f){const _0x1858c9=_0x1bf13c;var _0xb393a5,_0x3f8238;return(_0x3f8238=(_0xb393a5=this['_handler'])[_0x1858c9(0x44f)])==null?void 0x0:_0x3f8238[_0x1858c9(0x2d4)](_0xb393a5,_0xee5f8f);}[_0x1bf13c(0x3b3)](_0x117757){const _0xf580e4=_0x1bf13c;var _0x2a2ee6,_0x77e5ad,_0x1dd4dd;return(_0x1dd4dd=(_0x77e5ad=(_0x2a2ee6=this[_0xf580e4(0x562)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x77e5ad[_0xf580e4(0x2d4)](_0x2a2ee6,_0x117757))!=null?_0x1dd4dd:_0x117757;}[_0x1bf13c(0x445)](_0x39ec31){const _0x35854f=_0x1bf13c;var _0x1162a8,_0x588b76;if(this[_0x35854f(0x3e3)]===_0x37da8d[_0x35854f(0x1ac)]){const {unitID:_0xf1e145,mutations:_0x544c46,memberID:_0x112286}=_0x39ec31,_0x3e6ad2=_0x544c46[0x0][_0x35854f(0x37b)][_0x35854f(0x4ac)];Array[_0x35854f(0x541)](_0x3e6ad2)&&_0x3e6ad2[_0x35854f(0x557)]>0x0&&((_0x588b76=(_0x1162a8=this[_0x35854f(0x562)])['onSyncEditingCollabCursor'])==null||_0x588b76[_0x35854f(0x2d4)](_0x1162a8,{'unitID':_0xf1e145,'memberID':_0x112286,'textRanges':_0x3e6ad2}));}}[_0x1bf13c(0x2a0)](){const _0x242fc0=_0x1bf13c;this[_0x242fc0(0x295)][_0x242fc0(0x29b)](this['unitID'],this[_0x242fc0(0x3e3)],this['_awaitingChangeset'],this[_0x242fc0(0x3a5)]);}[_0x1bf13c(0x471)](){const _0xedb04e=_0x1bf13c;return this[_0xedb04e(0x384)][_0xedb04e(0x199)](this['unitID']);}[_0x1bf13c(0x201)](){const _0x3b9a62=_0x1bf13c;this[_0x3b9a62(0x384)]['incrementRevForDocument'](this[_0x3b9a62(0x210)]);}[_0x1bf13c(0x57f)](_0x16aeff){const _0x73b3fc=_0x1bf13c;var _0xfe50ad;const _0x22d770=this['_transformRemoteChangesetByIMECache'](_0x16aeff),_0x55fd55=_0x47ad91[_0x73b3fc(0x1c4)](_0x22d770[_0x73b3fc(0x4c7)],this[_0x73b3fc(0x508)],{'fromCollab':!0x0});if(!_0x55fd55[_0x73b3fc(0x581)])throw _0x55fd55['error']instanceof Error?_0x55fd55[_0x73b3fc(0x3dd)]:new Error((_0xfe50ad=_0x55fd55[_0x73b3fc(0x3dd)])!=null?_0xfe50ad:_0x73b3fc(0x37a));this[_0x73b3fc(0x41e)](_0x22d770),this[_0x73b3fc(0x230)](_0x16aeff),this[_0x73b3fc(0x1d9)](_0x22d770),this['_syncEditingCollabCursor'](_0x22d770),this[_0x73b3fc(0x201)]();}}let _0x4fff08=class extends _0x5dbad4{constructor(_0x5b8d95,_0x12a472,_0x549c69,_0x4acaa7,_0x165573,_0x180420,_0x522c95,_0x2154e1,_0x1bfcc7,_0x2773ed){const _0x20db2d=_0x1bf13c;super(_0x5b8d95,_0x12a472,null,[],_0x549c69,_0x2154e1,_0x522c95,_0x4acaa7,_0x165573),_0x41c7d7(this,_0x20db2d(0x256),_0x20db2d(0x2f7)),(this[_0x20db2d(0x49c)]=_0x180420,this['_logService']=_0x1bfcc7,this['_transformService']=_0x2773ed);}[_0x1bf13c(0x452)](_0x4d855a){const _0x20bd42=_0x1bf13c,_0x2b11b1=this[_0x20bd42(0x49c)][_0x20bd42(0x37c)](_0x4411cb,this[_0x20bd42(0x210)],this[_0x20bd42(0x3e3)],[_0x4d855a],this['_handler']);return _0x2b11b1[_0x20bd42(0x3c2)](),_0x2b11b1['_updateLocalCache'](),_0x2b11b1;}['onRemoteChangeset'](_0x3710cf){const _0x2e1bd8=_0x1bf13c;if(this[_0x2e1bd8(0x34e)](_0x3710cf))return this['_injector']['createInstance'](_0x597c8f,this[_0x2e1bd8(0x210)],this[_0x2e1bd8(0x3e3)],null,[],null,[_0x3710cf],this[_0x2e1bd8(0x562)]);try{const _0xf907ac=this[_0x2e1bd8(0x424)]['transformMutationsWithChangeset'](_0x3710cf,[_0x67b6c6]);if(_0x4709b4[_0x2e1bd8(0x2e9)](_0xf907ac)){const {c1Prime:_0x29cd08}=_0xf907ac;return this['_executeRemoteChangeset'](_0x29cd08),this;}throw _0xf907ac[_0x2e1bd8(0x3dd)];}catch(_0x288edb){return this[_0x2e1bd8(0x449)][_0x2e1bd8(0x3dd)](_0x288edb),this[_0x2e1bd8(0x37d)](!0x1);}}['_onConflict'](_0x46d9db){const _0x4a1fed=_0x1bf13c;return this[_0x4a1fed(0x49c)][_0x4a1fed(0x37c)](_0x4c0d6a,this[_0x4a1fed(0x210)],this[_0x4a1fed(0x3e3)],null,[],this[_0x4a1fed(0x562)],_0x46d9db);}[_0x1bf13c(0x36f)](){const _0x2c636e=_0x1bf13c;throw new Error(_0x2c636e(0x3a0));}['onRemoteRej'](){const _0x29b6a8=_0x1bf13c;throw new Error(_0x29b6a8(0x43b));}[_0x1bf13c(0x27e)](){const _0x4a03bc=_0x1bf13c;return this['_injector'][_0x4a03bc(0x37c)](_0x10ca83,this['unitID'],this[_0x4a03bc(0x3e3)],null,[],this[_0x4a03bc(0x562)]);}[_0x1bf13c(0x51a)](){return this;}[_0x1bf13c(0x402)](){const _0x20248f=_0x1bf13c;throw new Error(_0x20248f(0x552));}};_0x4fff08=_0x552544([_0x21ddcd(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x277)]),_0x21ddcd(0x7,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0x8,_0x47ad91[_0x1bf13c(0x32d)]),_0x21ddcd(0x9,_0x4709b4[_0x1bf13c(0x516)])],_0x4fff08);let _0x4411cb=class extends _0x5dbad4{constructor(_0x3dd563,_0xfc9fd,_0x44ccb9,_0x2bcf6a,_0x999a2c,_0x55060e,_0x219405,_0x38878a,_0x1698f0,_0x14087b,_0x464002,_0x1437e3,_0x54eb9b,_0x587cb9){const _0x3188ec=_0x1bf13c;super(_0x3dd563,_0xfc9fd,null,_0x44ccb9,_0x2bcf6a,_0x14087b,_0x587cb9,_0x55060e,_0x219405),_0x41c7d7(this,'status',_0x3188ec(0x2af)),_0x41c7d7(this,'_scheduleTimestamp',null),_0x41c7d7(this,_0x3188ec(0x3c9),null),(this[_0x3188ec(0x49c)]=_0x999a2c,this[_0x3188ec(0x480)]=_0x38878a,this['_logService']=_0x1698f0,this['_configService']=_0x464002,this[_0x3188ec(0x424)]=_0x1437e3,this[_0x3188ec(0x2a3)]=_0x54eb9b);}[_0x1bf13c(0x452)](_0xc32152){const _0x37810e=_0x1bf13c;return this['_pendingMutations']['push'](_0xc32152),this[_0x37810e(0x2a0)](),this;}[_0x1bf13c(0x249)](_0xaf810a){const _0x4bb82f=_0x1bf13c;if(this[_0x4bb82f(0x34e)](_0xaf810a))return this[_0x4bb82f(0x266)](),this[_0x4bb82f(0x49c)][_0x4bb82f(0x37c)](_0x597c8f,this[_0x4bb82f(0x210)],this[_0x4bb82f(0x3e3)],null,this[_0x4bb82f(0x3a5)],null,[_0xaf810a],this[_0x4bb82f(0x562)]);try{const _0xcdeffa=this[_0x4bb82f(0x424)]['transformMutationsWithChangeset'](_0xaf810a,this[_0x4bb82f(0x3a5)]);if(_0x4709b4[_0x4bb82f(0x2e9)](_0xcdeffa)){const {c1Prime:_0x1ce1f8,m2Prime:_0x42753b}=_0xcdeffa;this[_0x4bb82f(0x57f)](_0x1ce1f8);const _0x25c479=this[_0x4bb82f(0x49c)][_0x4bb82f(0x37c)](_0x4411cb,this[_0x4bb82f(0x210)],this[_0x4bb82f(0x3e3)],_0x42753b,this[_0x4bb82f(0x562)]);return this[_0x4bb82f(0x266)](),_0x25c479[_0x4bb82f(0x3c2)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x25c479;}throw _0xcdeffa[_0x4bb82f(0x3dd)];}catch(_0x27cc47){return this[_0x4bb82f(0x449)]['error'](_0x27cc47),this[_0x4bb82f(0x37d)](!0x1);}}[_0x1bf13c(0x36f)](){const _0xbe80f9=_0x1bf13c;throw new Error(_0xbe80f9(0x55d));}[_0x1bf13c(0x33c)](){const _0x1da478=_0x1bf13c;throw new Error(_0x1da478(0x566));}[_0x1bf13c(0x27e)](){const _0x141559=_0x1bf13c;return this[_0x141559(0x266)](),this[_0x141559(0x49c)][_0x141559(0x37c)](_0x10ca83,this[_0x141559(0x210)],this['type'],null,this[_0x141559(0x3a5)],this[_0x141559(0x562)]);}[_0x1bf13c(0x51a)](){return this;}[_0x1bf13c(0x3c2)](_0x8ae344){const _0x3fae30=_0x1bf13c;_0x8ae344=_0x8ae344!=null?_0x8ae344:this[_0x3fae30(0x2ee)](),this[_0x3fae30(0x48d)]=new Date()[_0x3fae30(0x4ce)](),this['_sendingTimer']=setTimeout(()=>{const _0x2251e4=_0x3fae30;this['_clearScheduledTask']();let _0x331204=null;switch(this['type']){case _0x37da8d[_0x2251e4(0x4d5)]:{_0x331204=_0x2884d5(this[_0x2251e4(0x3a5)],this[_0x2251e4(0x210)],this[_0x2251e4(0x2a3)],this[_0x2251e4(0x384)],this['_memberService']);break;}case _0x37da8d[_0x2251e4(0x1ac)]:{this[_0x2251e4(0x3a5)][_0x2251e4(0x3d2)](_0x57a28a=>_0x57a28a['id']===_0x2ac904[_0x2251e4(0x3a9)]['id'])?_0x331204=_0x2aa7fb(this[_0x2251e4(0x3a5)],this[_0x2251e4(0x210)],this[_0x2251e4(0x2a3)],this['_revisionService'],this[_0x2251e4(0x480)]):_0x331204=_0x2884d5(this[_0x2251e4(0x3a5)],this[_0x2251e4(0x210)],this[_0x2251e4(0x2a3)],this[_0x2251e4(0x384)],this[_0x2251e4(0x480)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2251e4(0x3e3)]+'\x20in\x20_schedule.');}const {changeset:_0x2e93fd,pendingMutations:_0x42a34a}=_0x331204;this['_handler']['onSendChangeset'](_0x2e93fd);const _0x1c34ec=_0x42a34a[_0x2251e4(0x557)]?this[_0x2251e4(0x49c)][_0x2251e4(0x37c)](_0x5328ad,this[_0x2251e4(0x210)],this['type'],_0x2e93fd,_0x42a34a,this[_0x2251e4(0x562)]):this[_0x2251e4(0x49c)][_0x2251e4(0x37c)](_0xb4e6cc,this[_0x2251e4(0x210)],this['type'],_0x2e93fd,this[_0x2251e4(0x562)]);_0x1c34ec['_updateLocalCache'](),this[_0x2251e4(0x562)][_0x2251e4(0x273)](this,_0x1c34ec);},_0x8ae344);}[_0x1bf13c(0x2ee)](){const _0x5a4ff4=_0x1bf13c;var _0x2b46c8;return(_0x2b46c8=this[_0x5a4ff4(0x4eb)][_0x5a4ff4(0x4dd)](_0x585883))!=null?_0x2b46c8:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bf13c(0x266)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x2c74f0){const _0x37b9fb=_0x1bf13c;return this[_0x37b9fb(0x266)](),this[_0x37b9fb(0x49c)][_0x37b9fb(0x37c)](_0x4c0d6a,this[_0x37b9fb(0x210)],this[_0x37b9fb(0x3e3)],null,this[_0x37b9fb(0x3a5)],this[_0x37b9fb(0x562)],_0x2c74f0);}};_0x4411cb=_0x552544([_0x21ddcd(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['Injector'])),_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x3be5f2)),_0x21ddcd(0x8,_0x47ad91['ILogService']),_0x21ddcd(0x9,_0x47ad91['ICommandService']),_0x21ddcd(0xa,_0x47ad91[_0x1bf13c(0x57d)]),_0x21ddcd(0xb,_0x4709b4['ITransformService']),_0x21ddcd(0xc,_0x47ad91[_0x1bf13c(0x1db)]),_0x21ddcd(0xd,_0x47ad91[_0x1bf13c(0x277)])],_0x4411cb);let _0xb4e6cc=class extends _0x5dbad4{constructor(_0x1b591e,_0x4a5c6a,_0x1334a9,_0x53ae97,_0x1dbbaf,_0x393e7f,_0x1337c1,_0x72625,_0x21ead0,_0xdc49ab,_0x2c4821){const _0x2b7363=_0x1bf13c;super(_0x1b591e,_0x4a5c6a,_0x1334a9,[],_0x53ae97,_0x72625,_0x2c4821,_0x393e7f,_0x1337c1),_0x41c7d7(this,'status',_0x2b7363(0x55e)),(this[_0x2b7363(0x49c)]=_0x1dbbaf,this[_0x2b7363(0x449)]=_0x21ead0,this['_transformService']=_0xdc49ab);}[_0x1bf13c(0x452)](_0x1735ae){const _0x6a095d=_0x1bf13c,_0x4e91bb=this[_0x6a095d(0x49c)]['createInstance'](_0x5328ad,this[_0x6a095d(0x210)],this[_0x6a095d(0x3e3)],this['_awaitingChangeset'],[_0x1735ae],this[_0x6a095d(0x562)]);return _0x4e91bb[_0x6a095d(0x2a0)](),_0x4e91bb;}[_0x1bf13c(0x249)](_0xc4e36){const _0x26de0b=_0x1bf13c;if(this[_0x26de0b(0x34e)](_0xc4e36))return this[_0x26de0b(0x49c)][_0x26de0b(0x37c)](_0x597c8f,this['unitID'],this[_0x26de0b(0x3e3)],this[_0x26de0b(0x4ab)],[],null,[_0xc4e36],this['_handler']);try{const _0x29e857=this[_0x26de0b(0x424)][_0x26de0b(0x3f0)]([_0xc4e36],[this[_0x26de0b(0x4ab)]],!0x1);if(_0x4709b4[_0x26de0b(0x4f1)](_0x29e857)){const {c1Prime:_0x150f6d,c2Prime:_0x3e8b83}=_0x29e857;this['_executeRemoteChangeset'](_0x150f6d[0x0]),_0x3e8b83[0x0]['baseRev']=this[_0x26de0b(0x471)]();const _0x5849cb=this[_0x26de0b(0x49c)][_0x26de0b(0x37c)](_0xb4e6cc,this[_0x26de0b(0x210)],this['type'],_0x3e8b83[0x0],this[_0x26de0b(0x562)]);return _0x5849cb[_0x26de0b(0x2a0)](),_0x5849cb;}return this[_0x26de0b(0x37d)](!0x1);}catch(_0x296933){return this[_0x26de0b(0x449)][_0x26de0b(0x3dd)](_0x296933),this[_0x26de0b(0x37d)](!0x1);}}[_0x1bf13c(0x36f)](_0x6cd201){const _0x18b1fb=_0x1bf13c,_0x162949=this[_0x18b1fb(0x384)]['getCurrentRevForDocument'](this[_0x18b1fb(0x210)]);if(_0x6cd201[_0x18b1fb(0x1b7)]<_0x162949-0x1)return this;if(this['_checkMissing'](_0x6cd201))return this[_0x18b1fb(0x49c)][_0x18b1fb(0x37c)](_0x597c8f,this['unitID'],this[_0x18b1fb(0x3e3)],null,[],this[_0x18b1fb(0x4ab)],[],this[_0x18b1fb(0x562)]);this[_0x18b1fb(0x201)]();const _0x326062=this[_0x18b1fb(0x49c)][_0x18b1fb(0x37c)](_0x4fff08,this[_0x18b1fb(0x210)],this[_0x18b1fb(0x3e3)],this[_0x18b1fb(0x562)]);return _0x326062['_updateLocalCache'](),_0x326062;}[_0x1bf13c(0x33c)](_0x45c18d){const _0x3fde5e=_0x1bf13c;return this[_0x3fde5e(0x37d)](!!(_0x45c18d!=null&&_0x45c18d[_0x3fde5e(0x193)]));}[_0x1bf13c(0x27e)](){const _0x2eabc7=_0x1bf13c;return this[_0x2eabc7(0x49c)][_0x2eabc7(0x37c)](_0x10ca83,this[_0x2eabc7(0x210)],this[_0x2eabc7(0x3e3)],this[_0x2eabc7(0x4ab)],[],this[_0x2eabc7(0x562)]);}['toggleOnline'](){return this;}[_0x1bf13c(0x402)](){const _0x37e51f=_0x1bf13c;this['_handler'][_0x37e51f(0x584)](this[_0x37e51f(0x4ab)]);}[_0x1bf13c(0x37d)](_0x5da3de){const _0x151de0=_0x1bf13c;return this[_0x151de0(0x49c)][_0x151de0(0x37c)](_0x4c0d6a,this[_0x151de0(0x210)],this[_0x151de0(0x3e3)],this[_0x151de0(0x4ab)],[],this[_0x151de0(0x562)],_0x5da3de);}};_0xb4e6cc=_0x552544([_0x21ddcd(0x4,_0x47ad91['Inject'](_0x47ad91['Injector'])),_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x490b22['LocalCacheService'])),_0x21ddcd(0x7,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0x8,_0x47ad91['ILogService']),_0x21ddcd(0x9,_0x4709b4['ITransformService']),_0x21ddcd(0xa,_0x47ad91[_0x1bf13c(0x277)])],_0xb4e6cc);let _0x5328ad=class extends _0x5dbad4{constructor(_0x2350da,_0x3c7697,_0x1e9567,_0x2ac06f,_0xda90d0,_0x297dfc,_0x118981,_0x1fe04f,_0x554e61,_0x4d9b5f,_0x32c2fe,_0xfa81e9){const _0x285db9=_0x1bf13c;super(_0x2350da,_0x3c7697,_0x1e9567,_0x2ac06f,_0xda90d0,_0x554e61,_0xfa81e9,_0x118981,_0x1fe04f),_0x41c7d7(this,_0x285db9(0x256),_0x285db9(0x29c)),(this[_0x285db9(0x49c)]=_0x297dfc,this[_0x285db9(0x449)]=_0x4d9b5f,this['_transformService']=_0x32c2fe);}['appendMutation'](_0x609fc3){const _0x428556=_0x1bf13c;return this['_pendingMutations'][_0x428556(0x44c)](_0x609fc3),this;}[_0x1bf13c(0x249)](_0x29095c){const _0x417fd6=_0x1bf13c;if(this[_0x417fd6(0x34e)](_0x29095c))return this[_0x417fd6(0x49c)][_0x417fd6(0x37c)](_0x597c8f,this[_0x417fd6(0x210)],this[_0x417fd6(0x3e3)],this[_0x417fd6(0x4ab)],this[_0x417fd6(0x3a5)],null,[_0x29095c],this['_handler']);try{const _0x318da1=this[_0x417fd6(0x424)]['transformChangesets']([_0x29095c],[this['_awaitingChangeset']],!0x1);if(_0x4709b4['isTransformChangesetsSuccess'](_0x318da1)){const {c1Prime:_0x227f09,c2Prime:_0x41a627}=_0x318da1,_0x2ff5a1=this[_0x417fd6(0x424)][_0x417fd6(0x388)](_0x227f09[0x0],this[_0x417fd6(0x3a5)]);if(_0x4709b4['isTransformMutationsWithChangesetSuccess'](_0x2ff5a1)){const {c1Prime:_0x25c5d7,m2Prime:_0xbe5265}=_0x2ff5a1;return this[_0x417fd6(0x57f)](_0x25c5d7),_0x41a627[0x0][_0x417fd6(0x1f4)]=this[_0x417fd6(0x471)](),this[_0x417fd6(0x49c)][_0x417fd6(0x37c)](_0x5328ad,this[_0x417fd6(0x210)],this[_0x417fd6(0x3e3)],_0x41a627[0x0],_0xbe5265,this['_handler']);}throw _0x2ff5a1[_0x417fd6(0x3dd)];}throw _0x318da1[_0x417fd6(0x3dd)];}catch(_0x4555ed){return this[_0x417fd6(0x449)][_0x417fd6(0x3dd)](_0x4555ed),this[_0x417fd6(0x37d)](!0x1);}}[_0x1bf13c(0x36f)](_0x51f617){const _0xf1ca18=_0x1bf13c;if(this[_0xf1ca18(0x34e)](_0x51f617))return this[_0xf1ca18(0x49c)][_0xf1ca18(0x37c)](_0x597c8f,this['unitID'],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0xf1ca18(0x562)]);this[_0xf1ca18(0x201)]();const _0x26e2f7=this[_0xf1ca18(0x49c)]['createInstance'](_0x4411cb,this['unitID'],this[_0xf1ca18(0x3e3)],this[_0xf1ca18(0x3a5)],this[_0xf1ca18(0x562)]);return _0x26e2f7['_schedule'](),_0x26e2f7[_0xf1ca18(0x2a0)](),_0x26e2f7;}[_0x1bf13c(0x33c)](_0x1030ca){const _0x1a7f10=_0x1bf13c;return this[_0x1a7f10(0x37d)](!!(_0x1030ca!=null&&_0x1030ca[_0x1a7f10(0x193)]));}[_0x1bf13c(0x27e)](){const _0xf11ff3=_0x1bf13c;return this['_injector']['createInstance'](_0x10ca83,this['unitID'],this['type'],this[_0xf11ff3(0x4ab)],this['_pendingMutations'],this[_0xf11ff3(0x562)]);}[_0x1bf13c(0x51a)](){return this;}[_0x1bf13c(0x402)](){const _0x7942e6=_0x1bf13c;this[_0x7942e6(0x562)][_0x7942e6(0x584)](this['_awaitingChangeset']);}[_0x1bf13c(0x37d)](_0x3b3c9c){const _0x10b004=_0x1bf13c;return this[_0x10b004(0x49c)][_0x10b004(0x37c)](_0x4c0d6a,this[_0x10b004(0x210)],this['type'],null,this[_0x10b004(0x3a5)],this['_handler'],_0x3b3c9c);}};_0x5328ad=_0x552544([_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x21ddcd(0x6,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x7,_0x47ad91['Inject'](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0x8,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0x9,_0x47ad91['ILogService']),_0x21ddcd(0xa,_0x4709b4[_0x1bf13c(0x516)]),_0x21ddcd(0xb,_0x47ad91[_0x1bf13c(0x277)])],_0x5328ad);let _0x4c0d6a=class extends _0x5dbad4{constructor(_0x4ae7d0,_0x33bd99,_0x2456d3,_0x576ee6,_0x2e4db3,_0x3a4fb1=!0x1,_0x326a6b,_0x1ca8d2,_0x51485b,_0x583ff9,_0x2f1688,_0x5d4a0c,_0x5aa4ac){const _0x3305f4=_0x1bf13c;super(_0x4ae7d0,_0x33bd99,_0x2456d3,_0x576ee6,_0x2e4db3,_0x1ca8d2,_0x51485b,_0x2f1688,_0x583ff9),_0x41c7d7(this,'status',_0x3305f4(0x317)),(this[_0x3305f4(0x27b)]=_0x3a4fb1,this[_0x3305f4(0x4fa)]=_0x326a6b,this[_0x3305f4(0x2eb)]=_0x5d4a0c,this[_0x3305f4(0x2c4)]=_0x5aa4ac,this['_showConflictNotification'](),this[_0x3305f4(0x217)](),this[_0x3305f4(0x1b8)]());}[_0x1bf13c(0x452)](){return this;}[_0x1bf13c(0x249)](){return this;}[_0x1bf13c(0x36f)](){return this;}[_0x1bf13c(0x33c)](){return this;}[_0x1bf13c(0x27e)](){return this;}[_0x1bf13c(0x51a)](){return this;}[_0x1bf13c(0x402)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bf13c(0x217)](){const _0x353a05=_0x1bf13c;this[_0x353a05(0x295)][_0x353a05(0x29b)](this['unitID'],this['type'],null,[]);}[_0x1bf13c(0x326)](){const _0x18bd5e=_0x1bf13c;this[_0x18bd5e(0x27b)]?this[_0x18bd5e(0x2c4)]['show']({'title':this['_localeService']['t'](_0x18bd5e(0x33b)),'content':this[_0x18bd5e(0x2eb)]['t']('permission.content'),'type':_0x18bd5e(0x3dd),'duration':0x0}):this['_notificationService'][_0x18bd5e(0x48b)]({'title':this[_0x18bd5e(0x2eb)]['t']('conflict.title'),'content':this[_0x18bd5e(0x2eb)]['t'](_0x18bd5e(0x4e0)),'type':_0x18bd5e(0x3dd),'duration':0x0});}[_0x1bf13c(0x1b8)](){const _0x145866=_0x1bf13c;this['_permissionService'][_0x145866(0x2e3)](new _0x4b5d67[(_0x145866(0x46e))](this[_0x145866(0x210)])['id'],!0x1);}};_0x4c0d6a=_0x552544([_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x389)])),_0x21ddcd(0x7,_0x47ad91['ICommandService']),_0x21ddcd(0x8,_0x47ad91[_0x1bf13c(0x277)]),_0x21ddcd(0x9,_0x47ad91['Inject'](_0x490b22['LocalCacheService'])),_0x21ddcd(0xa,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0xb,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x21ddcd(0xc,_0x33683b[_0x1bf13c(0x40a)])],_0x4c0d6a);let _0x10ca83=class extends _0x5dbad4{constructor(_0x2b84ac,_0x34f17,_0x3c7111,_0x6abfe0,_0xfddfdc,_0x3442c7,_0x32303b,_0x487cf1,_0x543e1f,_0x550fa1){const _0x31cb97=_0x1bf13c;super(_0x2b84ac,_0x34f17,_0x3c7111,_0x6abfe0,_0xfddfdc,_0x543e1f,_0x550fa1,_0x32303b,_0x487cf1),_0x41c7d7(this,_0x31cb97(0x256),_0x31cb97(0x589)),this[_0x31cb97(0x49c)]=_0x3442c7;}['appendMutation'](_0x412135){const _0x3538b4=_0x1bf13c;return this[_0x3538b4(0x3a5)][_0x3538b4(0x44c)](_0x412135),this[_0x3538b4(0x2a0)](),this;}[_0x1bf13c(0x249)](_0x58b243){const _0x27e5a1=_0x1bf13c;throw new Error(_0x27e5a1(0x558));}['onRemoteAck'](){const _0x5a7611=_0x1bf13c;throw new Error(_0x5a7611(0x31f));}['onRemoteRej'](){const _0x63b5eb=_0x1bf13c;throw new Error(_0x63b5eb(0x3aa));}[_0x1bf13c(0x27e)](){return this;}['toggleOnline'](){const _0x3a4a48=_0x1bf13c,{_injector:_0x4085ea,_pendingMutations:_0x3850cc,_awaitingChangeset:_0x167585,unitID:_0x543034,_handler:_0x303dae,type:_0x3f16ff}=this,_0xb424b3=_0x55010c(_0x4085ea,_0x543034,_0x3f16ff,_0x167585,_0x3850cc,_0x303dae);return _0xb424b3 instanceof _0x4411cb?_0xb424b3['_schedule']():(_0xb424b3 instanceof _0x5328ad||_0xb424b3 instanceof _0xb4e6cc)&&_0xb424b3[_0x3a4a48(0x402)](),_0xb424b3;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x10ca83=_0x552544([_0x21ddcd(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x21ddcd(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x7,_0x47ad91['Inject'](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0x8,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0x9,_0x47ad91[_0x1bf13c(0x277)])],_0x10ca83);let _0x597c8f=class extends _0x5dbad4{constructor(_0x5f5b42,_0x78376b,_0x58a94e,_0xcb1a0,_0x1a0201,_0x299ccc,_0x35dd92,_0x3787f4,_0x505320,_0x3923b1,_0x115655,_0x24a978,_0x1e39a8,_0x165c89){const _0x38f474=_0x1bf13c;super(_0x5f5b42,_0x78376b,_0x58a94e,_0xcb1a0,_0x35dd92,_0x24a978,_0x1e39a8,_0x505320,_0x3923b1),_0x41c7d7(this,_0x38f474(0x256),'fetch_missing'),(this[_0x38f474(0x2a1)]=_0x1a0201,this['_queuedRemoteChangesets']=_0x299ccc,this['_injector']=_0x3787f4,this['_logService']=_0x115655,this[_0x38f474(0x424)]=_0x165c89);}[_0x1bf13c(0x297)](_0xa08e7e){const _0x38131c=_0x1bf13c;try{const _0x484ce0=[..._0xa08e7e,...this[_0x38131c(0x37f)]],_0x23cc74=[this[_0x38131c(0x4ab)]||this[_0x38131c(0x2a1)]]['filter'](_0x42041e=>!!_0x42041e);let _0x1ff673,_0x53e3eb;if(_0x23cc74[_0x38131c(0x557)]){const _0x2935d5=this[_0x38131c(0x424)][_0x38131c(0x3f0)](_0x484ce0,_0x23cc74,!0x1);if(!_0x4709b4[_0x38131c(0x4f1)](_0x2935d5))throw _0x2935d5['error'];_0x1ff673=_0x2935d5[_0x38131c(0x22a)],_0x53e3eb=_0x2935d5[_0x38131c(0x440)];}else _0x1ff673=_0x484ce0,_0x53e3eb=[];let _0x25b0b8=this[_0x38131c(0x3a5)];_0x1ff673[_0x38131c(0x2fb)](_0x5586e4=>{const _0x30289b=_0x38131c;let _0x487983;if(_0x25b0b8['length']){const _0x52aa8e=this['_transformService']['transformMutationsWithChangeset'](_0x5586e4,_0x25b0b8);if(!_0x4709b4[_0x30289b(0x2e9)](_0x52aa8e))throw _0x52aa8e[_0x30289b(0x3dd)];_0x487983=_0x52aa8e[_0x30289b(0x22a)],_0x25b0b8=_0x52aa8e['m2Prime'];}else _0x487983=_0x5586e4;this[_0x30289b(0x57f)](_0x487983);}),this[_0x38131c(0x2a1)]&&this[_0x38131c(0x201)](),this['_awaitingChangeset']&&_0x53e3eb['length']&&(_0x53e3eb[0x0][_0x38131c(0x1f4)]=this['_getCurrentRevision']());let _0x1f6d5c;if(this[_0x38131c(0x4ab)]&&_0x25b0b8[_0x38131c(0x557)]!==0x0)_0x1f6d5c=this['_injector'][_0x38131c(0x37c)](_0x5328ad,this['unitID'],this['type'],_0x53e3eb[0x0],_0x25b0b8,this[_0x38131c(0x562)]);else{if(this[_0x38131c(0x4ab)]&&_0x25b0b8[_0x38131c(0x557)]===0x0)_0x53e3eb[0x0][_0x38131c(0x1f4)]=this[_0x38131c(0x471)](),_0x1f6d5c=this['_injector']['createInstance'](_0xb4e6cc,this[_0x38131c(0x210)],this['type'],_0x53e3eb[0x0],this['_handler']);else{if(_0x25b0b8[_0x38131c(0x557)]!==0x0){const _0x47e6d7=this[_0x38131c(0x49c)][_0x38131c(0x37c)](_0x4411cb,this[_0x38131c(0x210)],this[_0x38131c(0x3e3)],_0x25b0b8,this[_0x38131c(0x562)]);_0x47e6d7[_0x38131c(0x3c2)](),_0x1f6d5c=_0x47e6d7;}else _0x1f6d5c=this[_0x38131c(0x49c)]['createInstance'](_0x4fff08,this['unitID'],this[_0x38131c(0x3e3)],this[_0x38131c(0x562)]);}}return _0x1f6d5c[_0x38131c(0x2a0)](),_0x1f6d5c;}catch(_0x5e8b89){return this[_0x38131c(0x449)][_0x38131c(0x3dd)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x5e8b89),this[_0x38131c(0x49c)][_0x38131c(0x37c)](_0x4c0d6a,this['unitID'],this[_0x38131c(0x3e3)],this[_0x38131c(0x4ab)],this[_0x38131c(0x3a5)],this[_0x38131c(0x562)],!0x1);}}[_0x1bf13c(0x402)](){const _0x36cc9b=_0x1bf13c;throw new Error(_0x36cc9b(0x435));}[_0x1bf13c(0x452)](_0x1d2328){const _0x380e99=_0x1bf13c;return this[_0x380e99(0x3a5)][_0x380e99(0x44c)](_0x1d2328),this;}['onRemoteChangeset'](_0x597ab0){return this['_queuedRemoteChangesets']['push'](_0x597ab0),this;}[_0x1bf13c(0x36f)](_0x460520){const _0x2883aa=_0x1bf13c;if(this[_0x2883aa(0x4ab)])return this[_0x2883aa(0x2a1)]=this[_0x2883aa(0x4ab)],this[_0x2883aa(0x4ab)]=null,this;throw new Error(_0x2883aa(0x287));}[_0x1bf13c(0x33c)](_0x33a0e6){const _0x18d2dd=_0x1bf13c;return this[_0x18d2dd(0x37d)](!!(_0x33a0e6!=null&&_0x33a0e6['isPermissionRej']));}[_0x1bf13c(0x27e)](){const _0x14f2e7=_0x1bf13c;return this[_0x14f2e7(0x49c)][_0x14f2e7(0x37c)](_0x10ca83,this['unitID'],this[_0x14f2e7(0x3e3)],this['_awaitingChangeset'],this[_0x14f2e7(0x3a5)],this['_handler']);}['toggleOnline'](){return this;}[_0x1bf13c(0x37d)](_0x1c2818){const _0x540e7a=_0x1bf13c;return this[_0x540e7a(0x49c)][_0x540e7a(0x37c)](_0x4c0d6a,this[_0x540e7a(0x210)],this[_0x540e7a(0x3e3)],this[_0x540e7a(0x4ab)],this[_0x540e7a(0x3a5)],this[_0x540e7a(0x562)],_0x1c2818);}};_0x597c8f=_0x552544([_0x21ddcd(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['Injector'])),_0x21ddcd(0x8,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x55b)])),_0x21ddcd(0x9,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x21ddcd(0xa,_0x47ad91['ILogService']),_0x21ddcd(0xb,_0x47ad91[_0x1bf13c(0x226)]),_0x21ddcd(0xc,_0x47ad91[_0x1bf13c(0x277)]),_0x21ddcd(0xd,_0x4709b4[_0x1bf13c(0x516)])],_0x597c8f);function _0x55010c(_0x41d83a,_0x490b02,_0x1bdbeb,_0x3a793c,_0x4297d9,_0x20bfe4){const _0xb4d860=_0x1bf13c;return _0x3a793c&&_0x4297d9[_0xb4d860(0x557)]?_0x41d83a[_0xb4d860(0x37c)](_0x5328ad,_0x490b02,_0x1bdbeb,_0x3a793c,_0x4297d9,_0x20bfe4):_0x3a793c?_0x41d83a[_0xb4d860(0x37c)](_0xb4e6cc,_0x490b02,_0x1bdbeb,_0x3a793c,_0x20bfe4):_0x4297d9[_0xb4d860(0x557)]?_0x41d83a['createInstance'](_0x4411cb,_0x490b02,_0x1bdbeb,_0x4297d9,_0x20bfe4):_0x41d83a[_0xb4d860(0x37c)](_0x4fff08,_0x490b02,_0x1bdbeb,_0x20bfe4);}var _0x395cfa=Object[_0x1bf13c(0x1f5)],_0x12d9dc=Object['getOwnPropertyDescriptor'],_0x2d7bd9=(_0x2ff7e6,_0x4c3c6b,_0x546a5a,_0x22d8e3)=>{for(var _0x389b64=_0x22d8e3>0x1?void 0x0:_0x22d8e3?_0x12d9dc(_0x4c3c6b,_0x546a5a):_0x4c3c6b,_0x3b7300=_0x2ff7e6['length']-0x1,_0x1b9f84;_0x3b7300>=0x0;_0x3b7300--)(_0x1b9f84=_0x2ff7e6[_0x3b7300])&&(_0x389b64=(_0x22d8e3?_0x1b9f84(_0x4c3c6b,_0x546a5a,_0x389b64):_0x1b9f84(_0x389b64))||_0x389b64);return _0x22d8e3&&_0x389b64&&_0x395cfa(_0x4c3c6b,_0x546a5a,_0x389b64),_0x389b64;},_0x2a9c3d=(_0x2fdaa5,_0xdca6bb)=>(_0x3400ce,_0x4f2718)=>_0xdca6bb(_0x3400ce,_0x4f2718,_0x2fdaa5);_0x490b22[_0x1bf13c(0x292)]=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0xe2aa90,_0x5dbcd6,_0x2cf681){const _0x3afe04=_0x1bf13c;super(),_0x41c7d7(this,_0x3afe04(0x337),new Map()),_0x41c7d7(this,_0x3afe04(0x365),new _0x255eda[(_0x3afe04(0x329))]()),(this[_0x3afe04(0x49c)]=_0xe2aa90,this[_0x3afe04(0x212)]=_0x5dbcd6,this['_univerInstanceService']=_0x2cf681,this[_0x3afe04(0x336)]());}[_0x1bf13c(0x4db)](){const _0xf6a56c=_0x1bf13c;super[_0xf6a56c(0x4db)](),this[_0xf6a56c(0x337)][_0xf6a56c(0x2fb)](_0x1671e6=>_0x1671e6[_0xf6a56c(0x4db)]()),this[_0xf6a56c(0x337)][_0xf6a56c(0x2b5)]();}[_0x1bf13c(0x26e)](_0x5ce3ad){const _0x963bae=_0x1bf13c;var _0xdb5713;return(_0xdb5713=this[_0x963bae(0x337)][_0x963bae(0x369)](_0x5ce3ad))!=null?_0xdb5713:null;}[_0x1bf13c(0x25f)](_0x2d70b0){const _0x9e8e77=_0x1bf13c,_0x38e910=this[_0x9e8e77(0x26e)](_0x2d70b0);return _0x38e910?_0x255eda['of'](_0x38e910):this[_0x9e8e77(0x365)][_0x9e8e77(0x38c)](_0x335e20[_0x9e8e77(0x591)](_0x58a607=>_0x58a607[_0x9e8e77(0x210)]===_0x2d70b0));}['_init'](){const _0xc4f38a=_0x1bf13c;this[_0xc4f38a(0x2a3)][_0xc4f38a(0x4cd)](_0x47ad91['UniverInstanceType']['UNIVER_SHEET'])['pipe'](_0x255eda['takeUntil'](this[_0xc4f38a(0x517)]),_0x335e20[_0xc4f38a(0x458)](0x10))[_0xc4f38a(0x3db)](async _0x26d723=>{const _0x797511=_0xc4f38a,_0x2da76b=_0x26d723['getUnitId'](),_0x2ffb66=await this[_0x797511(0x280)](_0x2da76b,_0x37da8d[_0x797511(0x4d5)]);this[_0x797511(0x337)][_0x797511(0x56b)](_0x2da76b,_0x2ffb66);}),this['_univerInstanceService'][_0xc4f38a(0x4cd)](_0x47ad91[_0xc4f38a(0x2f9)][_0xc4f38a(0x1ac)])[_0xc4f38a(0x38c)](_0x255eda['takeUntil'](this[_0xc4f38a(0x517)]),_0x335e20['delay'](0x10))['pipe'](_0x335e20['filter'](_0x3faa8b=>!_0x3faa8b[_0xc4f38a(0x4d4)]()['startsWith']('__')))['subscribe'](async _0x1f60bc=>{const _0x5146aa=_0xc4f38a,_0x42eaf2=_0x1f60bc[_0x5146aa(0x4d4)](),_0xfde677=await this[_0x5146aa(0x280)](_0x42eaf2,_0x37da8d[_0x5146aa(0x1ac)]);this['_entities'][_0x5146aa(0x56b)](_0x42eaf2,_0xfde677);}),_0x255eda[_0xc4f38a(0x57b)](this[_0xc4f38a(0x2a3)][_0xc4f38a(0x1e4)](_0x47ad91['UniverInstanceType'][_0xc4f38a(0x4d5)]),this[_0xc4f38a(0x2a3)][_0xc4f38a(0x1e4)](_0x47ad91[_0xc4f38a(0x2f9)][_0xc4f38a(0x1ac)]))[_0xc4f38a(0x38c)](_0x255eda[_0xc4f38a(0x4d0)](this[_0xc4f38a(0x517)]))[_0xc4f38a(0x3db)](_0x515c6d=>{const _0x48b3fd=_0xc4f38a,_0x56bff3=_0x515c6d[_0x48b3fd(0x4d4)](),_0x21ecd2=this[_0x48b3fd(0x337)]['get'](_0x56bff3);_0x21ecd2&&(_0x21ecd2[_0x48b3fd(0x4db)](),this[_0x48b3fd(0x337)][_0x48b3fd(0x1c3)](_0x56bff3));});}async[_0x1bf13c(0x280)](_0x2211bf,_0x4ff0a3){const _0x1acd2d=_0x1bf13c,_0x43838c=await this['_collabSessionService'][_0x1acd2d(0x4a9)](_0x2211bf),_0x43fea5=this[_0x1acd2d(0x49c)][_0x1acd2d(0x37c)](this[_0x1acd2d(0x422)](_0x4ff0a3),_0x2211bf,_0x4ff0a3,_0x43838c);return await _0x43fea5[_0x1acd2d(0x49a)](),this[_0x1acd2d(0x365)][_0x1acd2d(0x3e1)](_0x43fea5),_0x43fea5;}[_0x1bf13c(0x422)](_0x3edad7){const _0x3c51ee=_0x1bf13c;switch(_0x3edad7){case _0x37da8d[_0x3c51ee(0x1ac)]:return _0x4b1eff;case _0x37da8d[_0x3c51ee(0x4d5)]:return _0x490b22['SheetCollaborationEntity'];default:throw new Error(_0x3c51ee(0x2bb)+_0x3edad7);}}},_0x490b22['CollaborationController']=_0x2d7bd9([_0x47ad91['OnLifecycle'](_0x47ad91[_0x1bf13c(0x40b)]['Starting'],_0x490b22[_0x1bf13c(0x292)]),_0x2a9c3d(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x2a9c3d(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x36b)])),_0x2a9c3d(0x2,_0x47ad91[_0x1bf13c(0x1db)])],_0x490b22['CollaborationController']);let _0x40f0cf=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x5e2a98,_0x8fb884,_0x396127,_0x30926a,_0x316c89,_0x16a734,_0x20923b,_0x464514,_0x1084b6,_0x1717e7,_0x4b390a,_0x4e1a99,_0x39192d){const _0xa925f4=_0x1bf13c;super(),_0x41c7d7(this,'_state$',new _0x255eda[(_0xa925f4(0x1d6))](null)),_0x41c7d7(this,_0xa925f4(0x2d2),this[_0xa925f4(0x1ad)][_0xa925f4(0x1a1)]()),_0x41c7d7(this,_0xa925f4(0x267)),_0x41c7d7(this,_0xa925f4(0x350),!0x1),_0x41c7d7(this,_0xa925f4(0x26d),this['state$'][_0xa925f4(0x38c)](_0x335e20[_0xa925f4(0x3be)](_0x5cfd27=>_0x5cfd27?_0x5cfd27['status']:_0x214062[_0xa925f4(0x39c)]),_0x335e20[_0xa925f4(0x379)](0x1))),_0x41c7d7(this,'_transitionLocked',!0x1),_0x41c7d7(this,'_remoteChangesetQueue',[]),(this[_0xa925f4(0x210)]=_0x5e2a98,this[_0xa925f4(0x3b6)]=_0x8fb884,this[_0xa925f4(0x586)]=_0x396127,this['_injector']=_0x30926a,this[_0xa925f4(0x295)]=_0x316c89,this[_0xa925f4(0x2aa)]=_0x16a734,this[_0xa925f4(0x2eb)]=_0x20923b,this[_0xa925f4(0x384)]=_0x464514,this[_0xa925f4(0x449)]=_0x1084b6,this[_0xa925f4(0x508)]=_0x1717e7,this[_0xa925f4(0x1cd)]=_0x4b390a,this[_0xa925f4(0x4fa)]=_0x4e1a99,this['_singleActiveUnitService']=_0x39192d);}get['state'](){const _0x274283=_0x1bf13c;return this[_0x274283(0x267)];}async[_0x1bf13c(0x49a)](){const _0x1ae8b0=_0x1bf13c;if(this['state'])throw new Error(_0x1ae8b0(0x1de));await this[_0x1ae8b0(0x336)]();}[_0x1bf13c(0x544)](){const _0x2a3bea=_0x1bf13c;return this[_0x2a3bea(0x350)]=!0x0,_0x47ad91['toDisposable'](()=>{const _0x21ae44=_0x2a3bea;this[_0x21ae44(0x350)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x423cca){const _0x332ff3=_0x1bf13c;this[_0x332ff3(0x267)]=_0x423cca,this[_0x332ff3(0x1ad)][_0x332ff3(0x3e1)](_0x423cca);}async[_0x1bf13c(0x336)](){const _0x42510b=_0x1bf13c;var _0x2580d9;return this['_updateState'](await this[_0x42510b(0x4df)]()),this[_0x42510b(0x434)]&&((_0x2580d9=this[_0x42510b(0x434)])==null||_0x2580d9['editingUnit'](this[_0x42510b(0x210)]),this[_0x42510b(0x27f)](_0x47ad91[_0x42510b(0x1ab)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x42510b(0x3db)](_0x45573b=>{const _0x12f5fe=_0x42510b;this[_0x12f5fe(0x449)][_0x12f5fe(0x567)](_0x12f5fe(0x2c8),_0x12f5fe(0x44e),_0x45573b),_0x45573b===_0x527725[_0x12f5fe(0x513)]?(this[_0x12f5fe(0x1cd)][_0x12f5fe(0x48b)]({'content':this[_0x12f5fe(0x2eb)]['t'](_0x12f5fe(0x1b9)),'type':_0x2bd9cc['MessageType'][_0x12f5fe(0x207)]}),this[_0x12f5fe(0x4fa)][_0x12f5fe(0x2e3)](new _0x4b5d67[(_0x12f5fe(0x46e))](this[_0x12f5fe(0x210)])['id'],!0x1)):this['_permissionService'][_0x12f5fe(0x2e3)](new _0x4b5d67[(_0x12f5fe(0x46e))](this[_0x12f5fe(0x210)])['id'],!0x0);})))),this['disposeWithMe'](_0x47ad91[_0x42510b(0x1ab)](this[_0x42510b(0x586)][_0x42510b(0x283)][_0x42510b(0x3db)](_0x204b0e=>{const _0x427979=_0x42510b;_0x204b0e===_0x1a88b8[_0x427979(0x45f)]?this[_0x427979(0x4b4)]():_0x204b0e===_0x1a88b8[_0x427979(0x39c)]&&this['_toggleOffline']();}))),this[_0x42510b(0x27f)](_0x47ad91[_0x42510b(0x1ab)](this[_0x42510b(0x586)]['event$'][_0x42510b(0x3db)](_0x1525dd=>{const _0x209151=_0x42510b;try{switch(_0x1525dd[_0x209151(0x58d)]){case _0x4709b4['CollaborationEvent'][_0x209151(0x46d)]:{this[_0x209151(0x2de)](_0x4709b4[_0x209151(0x32a)](_0x1525dd[_0x209151(0x3c1)]));break;}case _0x4709b4['CollaborationEvent'][_0x209151(0x457)]:{this[_0x209151(0x4b9)](_0x1525dd[_0x209151(0x3c1)]);break;}case _0x4709b4[_0x209151(0x1dd)][_0x209151(0x3e9)]:{this[_0x209151(0x464)]();break;}case _0x4709b4['CollaborationEvent'][_0x209151(0x4bc)]:{this[_0x209151(0x2f6)](_0x1525dd[_0x209151(0x3c1)][_0x209151(0x40d)][_0x209151(0x3be)](_0x14797e=>_0x4709b4[_0x209151(0x32a)](_0x14797e)));break;}case _0x4709b4[_0x209151(0x1dd)][_0x209151(0x4d6)]:this[_0x209151(0x464)]({'isPermissionRej':!0x0});}}catch(_0x8e7eee){throw console['error']('Error\x20on\x20receiving\x20event',_0x8e7eee),_0x8e7eee;}}))),this['_state'];}[_0x1bf13c(0x2a4)](){const _0x332acd=_0x1bf13c;this[_0x332acd(0x4fc)]=!0x1;}[_0x1bf13c(0x540)](){const _0x3f3af3=_0x1bf13c;if(this[_0x3f3af3(0x4fc)])throw new Error(_0x3f3af3(0x2e7));this[_0x3f3af3(0x4fc)]=!0x0;}[_0x1bf13c(0x338)](_0x425187){const _0xe6a8cd=_0x1bf13c;this[_0xe6a8cd(0x540)](),this['_updateState'](this['_state']['appendMutation'](_0x425187)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x3a2d45){const _0x47403e=_0x1bf13c;if(!(_0x3a2d45[_0x47403e(0x1b7)]<=this[_0x47403e(0x384)][_0x47403e(0x199)](this[_0x47403e(0x210)]))){if(this[_0x47403e(0x350)]){this[_0x47403e(0x24e)]['push'](_0x3a2d45);return;}this[_0x47403e(0x2b9)](_0x3a2d45);}}[_0x1bf13c(0x213)](){const _0x20a6cc=_0x1bf13c;this[_0x20a6cc(0x24e)][_0x20a6cc(0x2fb)](_0x194b9f=>this['_applyRemoteChangeset'](_0x194b9f)),this['_remoteChangesetQueue']=[];}[_0x1bf13c(0x2b9)](_0x2583b2){const _0x422c99=_0x1bf13c,_0x3b7adb=this[_0x422c99(0x2aa)]['interceptor']['fetchThroughInterceptors'](this[_0x422c99(0x2aa)][_0x422c99(0x3d4)][_0x422c99(0x423)]()['COMPRESS_MUTATION_APPLY'])(_0x2583b2[_0x422c99(0x4c7)],null)||_0x2583b2[_0x422c99(0x4c7)],_0x27bfa4={..._0x2583b2,'mutations':_0x3b7adb};this[_0x422c99(0x540)](),this['_updateState'](this[_0x422c99(0x267)][_0x422c99(0x249)](_0x27bfa4)),this[_0x422c99(0x2a4)]();}[_0x1bf13c(0x4b9)](_0x1bacbc){const _0x1e42b7=_0x1bf13c;this[_0x1e42b7(0x540)](),this[_0x1e42b7(0x3af)](this[_0x1e42b7(0x267)]['onRemoteAck'](_0x1bacbc)),this[_0x1e42b7(0x2a4)]();}[_0x1bf13c(0x464)](_0x4f08ac){const _0x3c32b3=_0x1bf13c;this[_0x3c32b3(0x540)](),this[_0x3c32b3(0x3af)](this[_0x3c32b3(0x267)][_0x3c32b3(0x33c)](_0x4f08ac)),this['_unlockTransition']();}[_0x1bf13c(0x2f6)](_0x289ac5){const _0x3fcde6=_0x1bf13c;if(!(this[_0x3fcde6(0x267)]instanceof _0x597c8f))throw new TypeError(_0x3fcde6(0x469));const _0x461c9a=_0x289ac5[_0x3fcde6(0x3be)](_0x4a42e3=>{const _0x29b94e=_0x3fcde6,_0x1829c7=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x29b94e(0x3d4)]['getInterceptPoints']()[_0x29b94e(0x3d8)])(_0x4a42e3['mutations'],null)||_0x4a42e3['mutations'];return{..._0x4a42e3,'mutations':_0x1829c7};});this['_lockTransition'](),this[_0x3fcde6(0x3af)](this[_0x3fcde6(0x267)][_0x3fcde6(0x297)](_0x461c9a)),this[_0x3fcde6(0x2a4)]();}[_0x1bf13c(0x3ae)](){const _0x4f5c1d=_0x1bf13c;this[_0x4f5c1d(0x540)](),this[_0x4f5c1d(0x3af)](this['_state'][_0x4f5c1d(0x27e)]()),this[_0x4f5c1d(0x2a4)]();}[_0x1bf13c(0x4b4)](){const _0x264db3=_0x1bf13c;this['_lockTransition'](),this[_0x264db3(0x3af)](this[_0x264db3(0x267)]['toggleOnline']()),this['_unlockTransition']();}async[_0x1bf13c(0x4df)](){return new Promise(_0xb9b27c=>{const _0x476cae=_0x2921;this[_0x476cae(0x586)]['sessionStatus$']['pipe'](_0x335e20['take'](0x1))[_0x476cae(0x3db)](async _0x398824=>{_0xb9b27c(await this['_createInitialStateImpl'](_0x398824===_0x1a88b8['ONLINE']));});});}[_0x1bf13c(0x2b7)](){const _0x181216=_0x1bf13c,_0x2fddac=this[_0x181216(0x210)];return{'onStateChange':(_0x4e382b,_0x326039)=>{const _0x38f77f=_0x181216;if(_0x4e382b!==this[_0x38f77f(0x267)])throw new Error(_0x38f77f(0x4e5)+_0x4e382b[_0x38f77f(0x256)]+_0x38f77f(0x2e8)+_0x326039[_0x38f77f(0x256)]+_0x38f77f(0x259)+this['_state']['status']);this['_updateState'](_0x326039);},'onSendChangeset':_0x208844=>{const _0x1d0c8a=_0x181216,_0x492bde={'eventID':_0x4709b4[_0x1d0c8a(0x1dd)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x208844[_0x1d0c8a(0x210)],'unitType':this[_0x1d0c8a(0x3b6)],'changeset':_0x208844,'memberID':this['_session'][_0x1d0c8a(0x1ff)]()}};this[_0x1d0c8a(0x586)][_0x1d0c8a(0x56e)](_0x492bde,this[_0x1d0c8a(0x210)]);},'onMissingChangesets':({from:_0x3afb4c,to:_0x55bcea})=>{const _0xce3a8a=_0x181216;this[_0xce3a8a(0x449)][_0xce3a8a(0x567)](_0xce3a8a(0x2c8),_0xce3a8a(0x1c5)+_0x3afb4c+'\x20to\x20'+_0x55bcea);const _0x13853a={'eventID':_0x4709b4[_0xce3a8a(0x1dd)]['FETCH_MISSING'],'data':{'unitID':_0x2fddac,'unitType':this[_0xce3a8a(0x3b6)],'from':_0x3afb4c,'to':_0x55bcea}};this['_session'][_0xce3a8a(0x56e)](_0x13853a,this[_0xce3a8a(0x210)]);}};}async[_0x1bf13c(0x582)](_0x344ee1){const _0x50ed75=_0x1bf13c;var _0x2a7b23,_0x5518eb;const _0xa9b63d=await this[_0x50ed75(0x295)][_0x50ed75(0x1f2)](this[_0x50ed75(0x210)]),_0x16d423=(_0x2a7b23=_0xa9b63d==null?void 0x0:_0xa9b63d[_0x50ed75(0x4c7)])!=null?_0x2a7b23:[],_0x5a6911=(_0x5518eb=_0xa9b63d==null?void 0x0:_0xa9b63d['awaitingChangeset'])!=null?_0x5518eb:null,_0x565460=this[_0x50ed75(0x210)];try{this[_0x50ed75(0x54d)](_0x5a6911,_0x16d423);}catch(_0x1a6563){this[_0x50ed75(0x449)][_0x50ed75(0x3dd)](_0x1a6563);}const _0x213c96=this['_createHandler']();if(_0x344ee1){const _0x263067=_0x55010c(this[_0x50ed75(0x49c)],_0x565460,this[_0x50ed75(0x3b6)],_0x5a6911,_0x16d423,_0x213c96);return _0x263067 instanceof _0x4411cb?_0x263067[_0x50ed75(0x3c2)]():(_0x263067 instanceof _0x5328ad||_0x263067 instanceof _0xb4e6cc)&&_0x263067[_0x50ed75(0x402)](),_0x263067;}return this['_injector'][_0x50ed75(0x37c)](_0x10ca83,_0x565460,this[_0x50ed75(0x3b6)],_0x5a6911,_0x16d423,_0x213c96);}[_0x1bf13c(0x54d)](_0x3a891d,_0x18821a){const _0x40f2f5=_0x1bf13c;var _0x239bce,_0x485bb4;const _0x86ae03=this[_0x40f2f5(0x2aa)]['interceptor'][_0x40f2f5(0x30b)](this[_0x40f2f5(0x2aa)][_0x40f2f5(0x3d4)]['getInterceptPoints']()[_0x40f2f5(0x3d8)]);(_0x239bce=_0x86ae03((_0x3a891d==null?void 0x0:_0x3a891d[_0x40f2f5(0x4c7)])||[],null))==null||_0x239bce['forEach'](_0x2767d7=>this[_0x40f2f5(0x508)]['executeCommand'](_0x2767d7['id'],_0x2767d7['params'])),(_0x485bb4=_0x86ae03(_0x18821a||[],null))==null||_0x485bb4['forEach'](_0xc3353f=>this['_commandService']['executeCommand'](_0xc3353f['id'],_0xc3353f[_0x40f2f5(0x37b)]));}};_0x40f0cf=_0x2d7bd9([_0x2a9c3d(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x2a9c3d(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x2a9c3d(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x44a)])),_0x2a9c3d(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x2a9c3d(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4['RevisionService'])),_0x2a9c3d(0x8,_0x47ad91['ILogService']),_0x2a9c3d(0x9,_0x47ad91[_0x1bf13c(0x226)]),_0x2a9c3d(0xa,_0x33683b['IMessageService']),_0x2a9c3d(0xb,_0x47ad91[_0x1bf13c(0x389)]),_0x2a9c3d(0xc,_0x47ad91['Optional'](_0x160851))],_0x40f0cf);let _0x4b1eff=class extends _0x40f0cf{constructor(_0x14994b,_0x5a2102,_0x438cb4,_0x9c30e2,_0x4d6e0a,_0x20ebb4,_0x5ee54b,_0x5e6a74,_0x16ab94,_0x2ee0d8,_0x323210,_0x43971f,_0x3b3be9,_0x41f4a0,_0x3d67d0,_0x207123,_0x53bf5c){const _0x13a304=_0x1bf13c;super(_0x14994b,_0x5a2102,_0x438cb4,_0x9c30e2,_0x4d6e0a,_0x20ebb4,_0x5ee54b,_0x5e6a74,_0x3b3be9,_0x41f4a0,_0x3d67d0,_0x207123,_0x53bf5c),this['unitID']=_0x14994b,this['type']=_0x5a2102,this[_0x13a304(0x1b0)]=_0x438cb4,this[_0x13a304(0x569)]=_0x16ab94,this[_0x13a304(0x520)]=_0x2ee0d8,this[_0x13a304(0x47a)]=_0x323210,this[_0x13a304(0x26c)]=_0x43971f;}[_0x1bf13c(0x2b7)](){const _0x248017=_0x1bf13c,_0x4e1bd9=super['_createHandler']();return _0x4e1bd9[_0x248017(0x44f)]=_0x3729ac=>this[_0x248017(0x520)]['transformIMECache'](_0x3729ac),_0x4e1bd9[_0x248017(0x47b)]=_0x4e8eb8=>this[_0x248017(0x47a)][_0x248017(0x313)](_0x4e8eb8),_0x4e1bd9[_0x248017(0x412)]=_0x35176c=>this[_0x248017(0x26c)][_0x248017(0x240)](_0x35176c),_0x4e1bd9['onTransformRemoteChangesetByIMECache']=_0x219b77=>this[_0x248017(0x520)][_0x248017(0x4b1)](_0x219b77),_0x4e1bd9;}async[_0x1bf13c(0x336)](){const _0x10e25e=_0x1bf13c,_0x7dac07=await super[_0x10e25e(0x336)]();return this[_0x10e25e(0x27f)](this[_0x10e25e(0x508)]['onCommandExecuted']((_0x477178,_0x4d1dd9)=>{const _0x54697c=_0x10e25e;if(_0x477178['type']!==_0x47ad91['CommandType'][_0x54697c(0x468)]||_0x4d1dd9!=null&&_0x4d1dd9[_0x54697c(0x1c2)]||_0x4d1dd9!=null&&_0x4d1dd9['onlyLocal'])return;const _0x3535a9=_0x477178[_0x54697c(0x37b)];if((_0x3535a9==null?void 0x0:_0x3535a9[_0x54697c(0x206)])!==this[_0x54697c(0x210)])return;let _0x34b100=_0x477178;if(_0x34b100['id']===_0x2ac904[_0x54697c(0x3a9)]['id']){const _0xb51ed8=_0x34b100[_0x54697c(0x37b)];_0x34b100={'id':_0x2ac904[_0x54697c(0x3a9)]['id'],'type':_0x47ad91[_0x54697c(0x3ce)][_0x54697c(0x468)],'params':{'unitId':_0xb51ed8[_0x54697c(0x206)],'actions':_0xb51ed8['actions'],'textRanges':null}};}const _0x4f898c=this[_0x54697c(0x2aa)][_0x54697c(0x3d4)]['fetchThroughInterceptors'](this[_0x54697c(0x2aa)][_0x54697c(0x3d4)][_0x54697c(0x423)]()['COMPRESS_MUTATION_SEND'])([_0x34b100],null)||[_0x34b100];this[_0x54697c(0x338)](_0x4f898c[0x0]);})),_0x7dac07;}};_0x4b1eff=_0x2d7bd9([_0x2a9c3d(0x3,_0x47ad91['Inject'](_0x47ad91['Injector'])),_0x2a9c3d(0x4,_0x47ad91['Inject'](_0x490b22[_0x1bf13c(0x3fa)])),_0x2a9c3d(0x5,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x44a)])),_0x2a9c3d(0x6,_0x47ad91['Inject'](_0x47ad91[_0x1bf13c(0x3da)])),_0x2a9c3d(0x7,_0x47ad91['Inject'](_0x4709b4['RevisionService'])),_0x2a9c3d(0x8,_0x47ad91[_0x1bf13c(0x483)](_0x2ac904['DocStateChangeManagerService'])),_0x2a9c3d(0x9,_0x47ad91[_0x1bf13c(0x483)](_0x5bc3d5)),_0x2a9c3d(0xa,_0x47ad91['Inject'](_0x85bcf8)),_0x2a9c3d(0xb,_0x47ad91[_0x1bf13c(0x483)](_0x2a9bcc)),_0x2a9c3d(0xc,_0x47ad91['ILogService']),_0x2a9c3d(0xd,_0x47ad91['ICommandService']),_0x2a9c3d(0xe,_0x33683b[_0x1bf13c(0x203)]),_0x2a9c3d(0xf,_0x47ad91[_0x1bf13c(0x389)]),_0x2a9c3d(0x10,_0x47ad91['Optional'](_0x160851))],_0x4b1eff),_0x490b22[_0x1bf13c(0x348)]=class extends _0x40f0cf{constructor(_0x8ebba4,_0x105f5e,_0x1b3047,_0x1a0a3a,_0x53dd61,_0x2cc91b,_0x11809a,_0x10d4f4,_0x8f2438,_0x394a2d,_0x584222,_0x5eb74d,_0x136842,_0x15eb3f){const _0x2dfaa0=_0x1bf13c;super(_0x8ebba4,_0x105f5e,_0x1b3047,_0x1a0a3a,_0x53dd61,_0x2cc91b,_0x11809a,_0x10d4f4,_0x394a2d,_0x584222,_0x5eb74d,_0x136842,_0x15eb3f),this[_0x2dfaa0(0x210)]=_0x8ebba4,this[_0x2dfaa0(0x3e3)]=_0x105f5e,this['session']=_0x1b3047,this[_0x2dfaa0(0x1ae)]=_0x8f2438;}[_0x1bf13c(0x2b7)](){const _0x554227=_0x1bf13c,_0x5bd94f=super['_createHandler']();return _0x5bd94f[_0x554227(0x47b)]=_0x598e60=>this[_0x554227(0x1ae)]['transformSelections'](_0x598e60),_0x5bd94f;}async[_0x1bf13c(0x336)](){const _0x33a9de=_0x1bf13c,_0x4a4b6a=await super['_init']();return this[_0x33a9de(0x27f)](this[_0x33a9de(0x508)][_0x33a9de(0x28d)]((_0x5975e1,_0x111c72)=>{const _0x26c08c=_0x33a9de;if(_0x5975e1[_0x26c08c(0x3e3)]!==_0x47ad91[_0x26c08c(0x3ce)][_0x26c08c(0x468)]||_0x111c72!=null&&_0x111c72[_0x26c08c(0x1c2)]||_0x111c72!=null&&_0x111c72[_0x26c08c(0x525)])return;const _0x223c2a=_0x5975e1[_0x26c08c(0x37b)];if((_0x223c2a==null?void 0x0:_0x223c2a['unitId'])!==this[_0x26c08c(0x210)])return;const _0x3cf019=_0x5975e1,_0x1d9ee4=this['_compressMutationService'][_0x26c08c(0x3d4)][_0x26c08c(0x30b)](this[_0x26c08c(0x2aa)][_0x26c08c(0x3d4)][_0x26c08c(0x423)]()['COMPRESS_MUTATION_SEND'])([_0x3cf019],null)||[_0x3cf019];this[_0x26c08c(0x338)](_0x1d9ee4[0x0]);})),_0x4a4b6a;}},_0x490b22[_0x1bf13c(0x348)]=_0x2d7bd9([_0x2a9c3d(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x2a9c3d(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x3fa)])),_0x2a9c3d(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4['CompressMutationService'])),_0x2a9c3d(0x6,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x3da)])),_0x2a9c3d(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x4709b4[_0x1bf13c(0x55b)])),_0x2a9c3d(0x8,_0x47ad91['Inject'](_0x2c3692)),_0x2a9c3d(0x9,_0x47ad91[_0x1bf13c(0x32d)]),_0x2a9c3d(0xa,_0x47ad91[_0x1bf13c(0x226)]),_0x2a9c3d(0xb,_0x33683b['IMessageService']),_0x2a9c3d(0xc,_0x47ad91['IPermissionService']),_0x2a9c3d(0xd,_0x47ad91['Optional'](_0x160851))],_0x490b22[_0x1bf13c(0x348)]);const _0x5cecde=[_0x1bf13c(0x1eb),_0x1bf13c(0x585),'verdancy600',_0x1bf13c(0x47d),'blue400',_0x1bf13c(0x444)];class _0x6a7ba3 extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(){const _0x3a00c6=_0x1bf13c;super(...arguments),_0x41c7d7(this,_0x3a00c6(0x49e),new Map()),_0x41c7d7(this,_0x3a00c6(0x282),0x0);}[_0x1bf13c(0x51c)](_0x24bedd){const _0x41eb64=_0x1bf13c;if(this[_0x41eb64(0x49e)][_0x41eb64(0x19c)](_0x24bedd))return this[_0x41eb64(0x49e)][_0x41eb64(0x369)](_0x24bedd);const _0x2499a9=_0x5cecde[this['_colorIndex']];return this['_colorIndex']=(this[_0x41eb64(0x282)]+0x1)%_0x5cecde['length'],this[_0x41eb64(0x49e)]['set'](_0x24bedd,_0x2499a9),_0x2499a9;}}var _0x3f6db1=Object['defineProperty'],_0x5e70d7=Object[_0x1bf13c(0x523)],_0x2a3f59=(_0x44cdf7,_0x3970df,_0x3ed5ce,_0x1344fa)=>{const _0x3558d2=_0x1bf13c;for(var _0x28b4b2=_0x1344fa>0x1?void 0x0:_0x1344fa?_0x5e70d7(_0x3970df,_0x3ed5ce):_0x3970df,_0x4b5471=_0x44cdf7[_0x3558d2(0x557)]-0x1,_0xcc73bb;_0x4b5471>=0x0;_0x4b5471--)(_0xcc73bb=_0x44cdf7[_0x4b5471])&&(_0x28b4b2=(_0x1344fa?_0xcc73bb(_0x3970df,_0x3ed5ce,_0x28b4b2):_0xcc73bb(_0x28b4b2))||_0x28b4b2);return _0x1344fa&&_0x28b4b2&&_0x3f6db1(_0x3970df,_0x3ed5ce,_0x28b4b2),_0x28b4b2;},_0x17a9b4=(_0x54b82b,_0x514c9f)=>(_0x42a128,_0x597627)=>_0x514c9f(_0x42a128,_0x597627,_0x54b82b);const _0x25b0c6=0x12c,_0x4f4fc6=0x64,_0x4f1b3e=()=>{let _0xe11dea=[],_0xa02fc2=!0x1;return _0x3f815a=>{_0xe11dea['push'](_0x3f815a),_0xa02fc2||(_0xa02fc2=!0x0,setTimeout(()=>{_0xe11dea['forEach'](_0x28b3a6=>_0x28b3a6()),_0xe11dea=[],_0xa02fc2=!0x1;}));};};let _0x23a6a9=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x4c0fdd,_0x268922,_0x40b984,_0x116a13,_0x3ccd43,_0x4ffc9e,_0x556677,_0x3f76e2){const _0x436162=_0x1bf13c;super(),_0x41c7d7(this,'_online',!0x1),_0x41c7d7(this,_0x436162(0x336),!0x1),_0x41c7d7(this,'_cursorInfo$',new _0x255eda[(_0x436162(0x1d6))](new Map())),_0x41c7d7(this,_0x436162(0x3a7),this[_0x436162(0x39a)]['asObservable']()),_0x41c7d7(this,'_roomMembers$',new _0x255eda['BehaviorSubject']([])),_0x41c7d7(this,_0x436162(0x236),this[_0x436162(0x4ed)][_0x436162(0x38c)](_0x255eda[_0x436162(0x2cc)](_0x25b0c6))),_0x41c7d7(this,_0x436162(0x3bc),_0x249566((_0x379e25,_0x1d4513)=>{const _0x5db35f=_0x436162,_0x32047b={'eventID':_0x4709b4[_0x5db35f(0x1dd)][_0x5db35f(0x38e)],'data':{'unitID':this[_0x5db35f(0x210)],'memberID':this[_0x5db35f(0x586)][_0x5db35f(0x1ff)](),'selection':_0x4ebb09[_0x5db35f(0x2ef)](_0x379e25,_0x1d4513['range'])}};this['_session'][_0x5db35f(0x56e)](_0x32047b,this[_0x5db35f(0x210)]);},_0x4f4fc6)),(this['unitID']=_0x4c0fdd,this[_0x436162(0x586)]=_0x268922,this[_0x436162(0x49c)]=_0x40b984,this['_colorAssignService']=_0x116a13,this[_0x436162(0x480)]=_0x3ccd43,this['_univerInstanceService']=_0x4ffc9e,this['_commandService']=_0x556677,this[_0x436162(0x2c3)]=_0x3f76e2);}get[_0x1bf13c(0x3e5)](){const _0x4ee779=_0x1bf13c;return this[_0x4ee779(0x39a)]['getValue']();}get[_0x1bf13c(0x42b)](){const _0x5c34c=_0x1bf13c;return this[_0x5c34c(0x4ed)][_0x5c34c(0x36e)]();}['dispose'](){const _0x471280=_0x1bf13c;super[_0x471280(0x4db)](),this[_0x471280(0x39a)]['next'](new Map()),this[_0x471280(0x39a)][_0x471280(0x2ad)](),this[_0x471280(0x4ed)][_0x471280(0x3e1)]([]),this[_0x471280(0x4ed)]['complete']();}[_0x1bf13c(0x49a)](){const _0x3b9fe8=_0x1bf13c;this['_init']||(this[_0x3b9fe8(0x336)]=!0x0,this[_0x3b9fe8(0x586)][_0x3b9fe8(0x283)][_0x3b9fe8(0x38c)](_0x255eda['takeUntil'](this[_0x3b9fe8(0x517)]))[_0x3b9fe8(0x3db)](_0x5b98ad=>{const _0x13d5f2=_0x3b9fe8;_0x5b98ad===_0x1a88b8[_0x13d5f2(0x45f)]?this[_0x13d5f2(0x4b4)]():this[_0x13d5f2(0x3ae)]();}),this[_0x3b9fe8(0x586)]['event$']['pipe'](_0x255eda[_0x3b9fe8(0x4d0)](this[_0x3b9fe8(0x517)]))[_0x3b9fe8(0x3db)](_0x3b0c84=>{const _0x17cc8a=_0x3b9fe8,_0x1f568b=_0x3b0c84[_0x17cc8a(0x58d)];_0x1f568b===_0x4709b4[_0x17cc8a(0x1dd)][_0x17cc8a(0x38e)]&&this['_onCursorUpdate'](_0x3b0c84),_0x1f568b===_0x4709b4[_0x17cc8a(0x1dd)][_0x17cc8a(0x306)]&&this[_0x17cc8a(0x428)](_0x3b0c84);}),this[_0x3b9fe8(0x53a)](),this[_0x3b9fe8(0x27f)](this[_0x3b9fe8(0x508)][_0x3b9fe8(0x28d)](_0x366cb6=>{const _0x127f83=_0x3b9fe8;if(this['_online']&&_0x366cb6['id']===_0x4b5d67[_0x127f83(0x346)]['id']&&_0x366cb6['params']['unitId']===this[_0x127f83(0x210)]){const _0x2dec81=_0x366cb6['params'];this[_0x127f83(0x3bc)](_0x2dec81[_0x127f83(0x4f2)],_0x2dec81[_0x127f83(0x4ec)][0x0]);}})));}['_onCursorUpdate'](_0x2ea205){const _0x229cc3=_0x1bf13c;var _0x21aeaa,_0x956cab;const {memberID:_0x4c2bf5,selection:_0x46e066}=_0x2ea205[_0x229cc3(0x3c1)],{sheetName:_0x1e978f,range:_0x4f5f07}=_0x4ebb09[_0x229cc3(0x1df)](_0x46e066),_0x39f30d={'name':(_0x956cab=(_0x21aeaa=this['_memberService'][_0x229cc3(0x55c)](this[_0x229cc3(0x210)],_0x4c2bf5))==null?void 0x0:_0x21aeaa[_0x229cc3(0x24b)])!=null?_0x956cab:_0x229cc3(0x4ba),'range':this[_0x229cc3(0x4b7)](_0x1e978f,_0x4f5f07),'sheetID':_0x1e978f,'color':this[_0x229cc3(0x3cb)]['assignAColorForMemberID'](_0x4c2bf5),'selection':_0x46e066},_0x5a43f0=this[_0x229cc3(0x3e5)];_0x5a43f0['set'](_0x4c2bf5,_0x39f30d),this[_0x229cc3(0x39a)]['next'](_0x5a43f0);}['_onCursorDelete'](_0x5eb995){const _0x2a2057=_0x1bf13c,{memberID:_0x42416a}=_0x5eb995[_0x2a2057(0x3c1)],_0x288bdf=this[_0x2a2057(0x3e5)];_0x288bdf['delete'](_0x42416a),this['_cursorInfo$'][_0x2a2057(0x3e1)](_0x288bdf);}[_0x1bf13c(0x4b7)](_0x431af9,_0x186443){const _0x3958d9=_0x1bf13c;var _0x43d502,_0x3c4c86;const _0x59f3c8=(_0x3c4c86=(_0x43d502=this[_0x3958d9(0x2a3)]['getUniverSheetInstance'](this[_0x3958d9(0x210)]))==null?void 0x0:_0x43d502[_0x3958d9(0x570)](_0x431af9))==null?void 0x0:_0x3c4c86['getMergeData']();return(_0x59f3c8==null?void 0x0:_0x59f3c8[_0x3958d9(0x579)](_0x52eeb6=>_0x47ad91[_0x3958d9(0x34b)][_0x3958d9(0x2f2)](_0x52eeb6,_0x186443)))||_0x186443;}[_0x1bf13c(0x53a)](){const _0x3553e5=_0x1bf13c,_0xbd3cca=new _0x47ad91[(_0x3553e5(0x3bb))](),_0x38b15a=_0x4f1b3e(),_0x380e4e=()=>{const _0xb2612b=_0x3553e5;_0xbd3cca[_0xb2612b(0x4db)]();const _0x26a756=(_0x52501b,_0x294740,_0x161605,_0x201c43)=>{const _0x147e1a=_0xb2612b;let _0x316762=[];switch(_0x52501b['id']){case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x3f8)]:{_0x316762=_0x4b5d67['handleDeleteRangeMoveLeft'](_0x52501b,_0x201c43);break;}case _0x4b5d67['EffectRefRangId'][_0x147e1a(0x478)]:{_0x316762=_0x4b5d67[_0x147e1a(0x1b2)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x3ed)]:{_0x316762=_0x4b5d67[_0x147e1a(0x40f)](_0x52501b,_0x201c43);break;}case _0x4b5d67['EffectRefRangId'][_0x147e1a(0x367)]:{_0x316762=_0x4b5d67[_0x147e1a(0x22b)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x307)]:{_0x316762=_0x4b5d67[_0x147e1a(0x270)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x1fb)]:{_0x316762=_0x4b5d67[_0x147e1a(0x3d0)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x382)]:{_0x316762=_0x4b5d67[_0x147e1a(0x3bd)](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)][_0x147e1a(0x1f8)]:{_0x316762=_0x4b5d67['handleIRemoveCol'](_0x52501b,_0x201c43);break;}case _0x4b5d67[_0x147e1a(0x1ec)]['RemoveRowCommandId']:{_0x316762=_0x4b5d67[_0x147e1a(0x2e1)](_0x52501b,_0x201c43);break;}}const _0x289fd3=_0x4b5d67[_0x147e1a(0x303)](_0x316762,_0x201c43),_0x56c704=this[_0x147e1a(0x3e5)][_0x147e1a(0x369)](_0x294740);if(_0x56c704&&_0x289fd3){const _0x113c85={..._0x56c704,'range':_0x289fd3};this['cursorInfo'][_0x147e1a(0x56b)](_0x294740,_0x113c85),_0x38b15a(()=>{const _0x5bb225=_0x147e1a,_0x3f6e7c=this['_refRangeService'][_0x5bb225(0x31e)](_0x289fd3,_0x115f5b=>(_0x3f6e7c[_0x5bb225(0x4db)](),_0x26a756(_0x115f5b,_0x294740,_0x161605,_0x289fd3)));_0xbd3cca[_0x5bb225(0x565)](_0x3f6e7c);});}return{'redos':[],'undos':[]};};this[_0xb2612b(0x3e5)][_0xb2612b(0x2fb)]((_0x5139b4,_0x3110ea)=>{const _0x31d46b=_0xb2612b,{range:_0x561837,sheetID:_0x4f402f}=_0x5139b4,_0x5c82ac=this['_refRangeService'][_0x31d46b(0x31e)](_0x561837,_0x2aac1a=>(_0x5c82ac[_0x31d46b(0x4db)](),_0x26a756(_0x2aac1a,_0x3110ea,_0x4f402f,_0x561837)));_0xbd3cca[_0x31d46b(0x565)](_0x5c82ac);});};this[_0x3553e5(0x27f)](_0x47ad91[_0x3553e5(0x1ab)](this[_0x3553e5(0x39a)][_0x3553e5(0x3db)](()=>{_0x380e4e();})));}[_0x1bf13c(0x4b4)](){const _0x4ac15f=_0x1bf13c;var _0x479c4c,_0x388976;if(this['_online']=!0x0,((_0x479c4c=this[_0x4ac15f(0x2a3)][_0x4ac15f(0x296)]())==null?void 0x0:_0x479c4c[_0x4ac15f(0x4d4)]())!==this['unitID'])return;const _0x18f1b6=(_0x388976=this['_injector'][_0x4ac15f(0x369)](_0x4b5d67[_0x4ac15f(0x1cc)])['getCurrentSelections']())==null?void 0x0:_0x388976[0x0],_0x3b4c95=this[_0x4ac15f(0x2a3)][_0x4ac15f(0x511)](_0x47ad91['UniverInstanceType'][_0x4ac15f(0x4d5)])['getActiveSheet']();_0x18f1b6&&_0x3b4c95&&this[_0x4ac15f(0x3bc)](_0x3b4c95['getSheetId'](),_0x18f1b6);}[_0x1bf13c(0x3ae)](){const _0x4fd1f4=_0x1bf13c;this[_0x4fd1f4(0x495)]=!0x1;}};_0x23a6a9=_0x2a3f59([_0x17a9b4(0x2,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x17a9b4(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x6a7ba3)),_0x17a9b4(0x4,_0x47ad91['Inject'](_0x3be5f2)),_0x17a9b4(0x5,_0x47ad91[_0x1bf13c(0x1db)]),_0x17a9b4(0x6,_0x47ad91[_0x1bf13c(0x226)]),_0x17a9b4(0x7,_0x47ad91[_0x1bf13c(0x483)](_0x4b5d67[_0x1bf13c(0x289)]))],_0x23a6a9);var _0xb8b4bb=Object['defineProperty'],_0x53addb=Object['getOwnPropertyDescriptor'],_0x331583=(_0x281bdf,_0x1a40fa,_0x1bbcd1,_0x627023)=>{for(var _0x54ae67=_0x627023>0x1?void 0x0:_0x627023?_0x53addb(_0x1a40fa,_0x1bbcd1):_0x1a40fa,_0x9fb668=_0x281bdf['length']-0x1,_0x5068ba;_0x9fb668>=0x0;_0x9fb668--)(_0x5068ba=_0x281bdf[_0x9fb668])&&(_0x54ae67=(_0x627023?_0x5068ba(_0x1a40fa,_0x1bbcd1,_0x54ae67):_0x5068ba(_0x54ae67))||_0x54ae67);return _0x627023&&_0x54ae67&&_0xb8b4bb(_0x1a40fa,_0x1bbcd1,_0x54ae67),_0x54ae67;},_0x327a18=(_0x15d74c,_0x21a6f0)=>(_0x140745,_0x4e0d17)=>_0x21a6f0(_0x140745,_0x4e0d17,_0x15d74c);const _0x12ffda=0x12c,_0x4aafd6=0x64;let _0x5b51ba=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x332e53,_0x266995,_0x44d508,_0x102dc7,_0x53232c,_0x4904ef,_0x5c5b1f,_0x45f71d,_0x4470d9){const _0x535823=_0x1bf13c;super(),_0x41c7d7(this,_0x535823(0x495),!0x1),_0x41c7d7(this,_0x535823(0x336),!0x1),_0x41c7d7(this,_0x535823(0x39a),new _0x255eda[(_0x535823(0x1d6))](new Map())),_0x41c7d7(this,_0x535823(0x3a7),this[_0x535823(0x39a)][_0x535823(0x1a1)]()),_0x41c7d7(this,_0x535823(0x4ed),new _0x255eda[(_0x535823(0x1d6))]([])),_0x41c7d7(this,_0x535823(0x236),this[_0x535823(0x4ed)][_0x535823(0x38c)](_0x255eda['debounceTime'](_0x12ffda))),_0x41c7d7(this,_0x535823(0x3bc),_0x249566(_0x2d7ed3=>{const _0x4b6de6=_0x535823,_0x43a42a={'eventID':_0x4709b4[_0x4b6de6(0x1dd)][_0x4b6de6(0x38e)],'data':{'unitID':this[_0x4b6de6(0x210)],'memberID':this['_session'][_0x4b6de6(0x1ff)](),'selection':_0x57d3bd(_0x2d7ed3)}};this[_0x4b6de6(0x586)]['send'](_0x43a42a,this[_0x4b6de6(0x210)]);},_0x4aafd6)),(this['unitID']=_0x332e53,this[_0x535823(0x586)]=_0x266995,this['_injector']=_0x44d508,this[_0x535823(0x3cb)]=_0x102dc7,this[_0x535823(0x480)]=_0x53232c,this[_0x535823(0x3ec)]=_0x4904ef,this['_transformService']=_0x5c5b1f,this[_0x535823(0x2a3)]=_0x45f71d,this[_0x535823(0x508)]=_0x4470d9);}get[_0x1bf13c(0x3e5)](){return this['_cursorInfo$']['getValue']();}get[_0x1bf13c(0x42b)](){const _0x123614=_0x1bf13c;return this[_0x123614(0x4ed)][_0x123614(0x36e)]();}['dispose'](){const _0x4beb74=_0x1bf13c;super[_0x4beb74(0x4db)](),this[_0x4beb74(0x39a)][_0x4beb74(0x3e1)](new Map()),this[_0x4beb74(0x39a)][_0x4beb74(0x2ad)](),this['_roomMembers$'][_0x4beb74(0x3e1)]([]),this['_roomMembers$']['complete']();}[_0x1bf13c(0x49a)](){const _0x1022f2=_0x1bf13c;this[_0x1022f2(0x336)]||(this['_init']=!0x0,this['_session'][_0x1022f2(0x283)][_0x1022f2(0x38c)](_0x255eda[_0x1022f2(0x4d0)](this[_0x1022f2(0x517)]))[_0x1022f2(0x3db)](_0x340570=>{const _0x2662a8=_0x1022f2;_0x340570===_0x1a88b8[_0x2662a8(0x45f)]?this[_0x2662a8(0x4b4)]():this[_0x2662a8(0x3ae)]();}),this[_0x1022f2(0x586)][_0x1022f2(0x29a)][_0x1022f2(0x38c)](_0x255eda['takeUntil'](this[_0x1022f2(0x517)]))[_0x1022f2(0x3db)](_0x8539f0=>{const _0x7f921a=_0x1022f2,_0xeae466=_0x8539f0['eventID'];_0xeae466===_0x4709b4[_0x7f921a(0x1dd)][_0x7f921a(0x38e)]&&this['_onCursorUpdate'](_0x8539f0),_0xeae466===_0x4709b4[_0x7f921a(0x1dd)][_0x7f921a(0x306)]&&this[_0x7f921a(0x428)](_0x8539f0);}),this[_0x1022f2(0x27f)](this[_0x1022f2(0x508)][_0x1022f2(0x28d)](_0x244422=>{const _0x521378=_0x1022f2,_0x1b328b=_0x244422[_0x521378(0x37b)];_0x1b328b!=null&&this['_online']&&_0x244422['id']===_0x2ac904[_0x521378(0x25c)]['id']&&_0x1b328b[_0x521378(0x206)]===this[_0x521378(0x210)]&&_0x1b328b[_0x521378(0x42f)]===!0x1&&this['_updateLocalCursor'](_0x1b328b['ranges']);})),this[_0x1022f2(0x3ec)][_0x1022f2(0x330)][_0x1022f2(0x38c)](_0x255eda[_0x1022f2(0x4d0)](this[_0x1022f2(0x517)]))['subscribe'](_0x1cf0eb=>{const _0x23c087=_0x1022f2;if((_0x1cf0eb==null?void 0x0:_0x1cf0eb[_0x23c087(0x210)])!==this[_0x23c087(0x210)])return;const _0x4aac5e={'eventID':_0x4709b4['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x1cf0eb};this[_0x23c087(0x31d)](_0x4aac5e);}),this[_0x1022f2(0x27f)](this[_0x1022f2(0x508)][_0x1022f2(0x28d)](_0x5e1c06=>{const _0x3d9648=_0x1022f2;if(_0x5e1c06[_0x3d9648(0x37b)]==null)return;const _0x3f3fcc=_0x5e1c06['params'];if(_0x5e1c06['id']!==_0x2ac904['RichTextEditingMutation']['id']||_0x3f3fcc['unitId']!==this['unitID'])return;const _0x252ada={'id':_0x3d9648(0x504),'params':_0x3f3fcc},_0x37c776=this[_0x3d9648(0x3e5)];for(const [_0x2c9f9e,_0x13d7c2]of _0x37c776){const _0x6cd0f7={'id':_0x3d9648(0x504),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x13d7c2[_0x3d9648(0x1ed)]}},_0x38791b=this[_0x3d9648(0x424)][_0x3d9648(0x298)](_0x252ada,_0x6cd0f7,!0x1);if(_0x4709b4[_0x3d9648(0x41c)](_0x38791b))throw _0x38791b['error'];_0x37c776[_0x3d9648(0x56b)](_0x2c9f9e,{..._0x13d7c2,'ranges':_0x38791b[_0x3d9648(0x4be)][_0x3d9648(0x37b)][_0x3d9648(0x4ac)]});}queueMicrotask(()=>{const _0x131980=_0x3d9648;this[_0x131980(0x39a)][_0x131980(0x3e1)](_0x37c776);});})));}[_0x1bf13c(0x31d)](_0x36dd19){const _0x12e4b3=_0x1bf13c;var _0x425926,_0x484dbb;const {memberID:_0x3d7ab8,selection:_0x1517e1}=_0x36dd19[_0x12e4b3(0x3c1)],_0x3456ed=_0x4a8af3(_0x1517e1),_0xdd95f6=(_0x484dbb=(_0x425926=this[_0x12e4b3(0x480)]['getMember'](this[_0x12e4b3(0x210)],_0x3d7ab8))==null?void 0x0:_0x425926[_0x12e4b3(0x24b)])!=null?_0x484dbb:_0x12e4b3(0x4ba),_0x255f9f={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x3d7ab8),'name':_0xdd95f6,'ranges':_0x3456ed},_0x2dab94=this[_0x12e4b3(0x3e5)];_0x2dab94[_0x12e4b3(0x56b)](_0x3d7ab8,_0x255f9f),this[_0x12e4b3(0x39a)][_0x12e4b3(0x3e1)](_0x2dab94);}[_0x1bf13c(0x428)](_0x31c9d6){const _0x2dbd47=_0x1bf13c,{memberID:_0x488a93}=_0x31c9d6['data'],_0x35c3ac=this['cursorInfo'];_0x35c3ac[_0x2dbd47(0x1c3)](_0x488a93),this[_0x2dbd47(0x39a)][_0x2dbd47(0x3e1)](_0x35c3ac);}['_toggleOnline'](){const _0x5c5de2=_0x1bf13c;var _0x165154;if(this['_online']=!0x0,((_0x165154=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x165154[_0x5c5de2(0x4d4)]())!==this[_0x5c5de2(0x210)])return;const _0x187971=this[_0x5c5de2(0x49c)][_0x5c5de2(0x369)](_0x2ac904[_0x5c5de2(0x4e2)])['getDocRanges'](),_0x1a54ad=_0x187971==null?void 0x0:_0x187971[_0x5c5de2(0x3be)](_0x2ac904['serializeDocRange']);Array[_0x5c5de2(0x541)](_0x1a54ad)&&_0x1a54ad[_0x5c5de2(0x557)]>0x0&&this[_0x5c5de2(0x3bc)](_0x1a54ad);}[_0x1bf13c(0x3ae)](){const _0x54b706=_0x1bf13c;this[_0x54b706(0x495)]=!0x1;}};_0x5b51ba=_0x331583([_0x327a18(0x2,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x327a18(0x3,_0x47ad91['Inject'](_0x6a7ba3)),_0x327a18(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x3be5f2)),_0x327a18(0x5,_0x47ad91[_0x1bf13c(0x483)](_0x2a9bcc)),_0x327a18(0x6,_0x4709b4[_0x1bf13c(0x516)]),_0x327a18(0x7,_0x47ad91['IUniverInstanceService']),_0x327a18(0x8,_0x47ad91['ICommandService'])],_0x5b51ba);var _0x528fdb=Object['defineProperty'],_0x3a9172=Object[_0x1bf13c(0x523)],_0x331489=(_0x30d56d,_0x271696,_0x1672ef,_0x319c67)=>{const _0x2e4c81=_0x1bf13c;for(var _0x3ec9c0=_0x319c67>0x1?void 0x0:_0x319c67?_0x3a9172(_0x271696,_0x1672ef):_0x271696,_0x273fd6=_0x30d56d[_0x2e4c81(0x557)]-0x1,_0x53a300;_0x273fd6>=0x0;_0x273fd6--)(_0x53a300=_0x30d56d[_0x273fd6])&&(_0x3ec9c0=(_0x319c67?_0x53a300(_0x271696,_0x1672ef,_0x3ec9c0):_0x53a300(_0x3ec9c0))||_0x3ec9c0);return _0x319c67&&_0x3ec9c0&&_0x528fdb(_0x271696,_0x1672ef,_0x3ec9c0),_0x3ec9c0;},_0x52b2d1=(_0x4c0ff3,_0xb11c5b)=>(_0x22ad0c,_0x41f220)=>_0xb11c5b(_0x22ad0c,_0x41f220,_0x4c0ff3);let _0x464c11=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x35031a,_0x186f7e,_0xab57d7){const _0x1a152a=_0x1bf13c;super(),_0x41c7d7(this,_0x1a152a(0x337),new Map()),_0x41c7d7(this,_0x1a152a(0x365),new _0x255eda[(_0x1a152a(0x329))]()),(this[_0x1a152a(0x2a3)]=_0x35031a,this[_0x1a152a(0x49c)]=_0x186f7e,this[_0x1a152a(0x212)]=_0xab57d7,this[_0x1a152a(0x336)]());}[_0x1bf13c(0x4db)](){const _0x40bde3=_0x1bf13c;super[_0x40bde3(0x4db)](),this['_entityInit$'][_0x40bde3(0x2ad)](),this[_0x40bde3(0x337)][_0x40bde3(0x2fb)](_0x369e87=>_0x369e87['dispose']());}['getCollabCursors$'](_0x29126a){const _0x5c48f2=_0x1bf13c;return this[_0x5c48f2(0x337)][_0x5c48f2(0x19c)](_0x29126a)?this[_0x5c48f2(0x337)][_0x5c48f2(0x369)](_0x29126a)[_0x5c48f2(0x3a7)]:this[_0x5c48f2(0x365)][_0x5c48f2(0x38c)](_0x255eda[_0x5c48f2(0x591)](_0x566281=>_0x566281[_0x5c48f2(0x210)]===_0x29126a),_0x255eda[_0x5c48f2(0x234)](_0x138f5b=>_0x138f5b[_0x5c48f2(0x3a7)]));}[_0x1bf13c(0x336)](){const _0x5147c2=_0x1bf13c;this[_0x5147c2(0x2a3)][_0x5147c2(0x4cd)](_0x47ad91[_0x5147c2(0x2f9)][_0x5147c2(0x4d5)])[_0x5147c2(0x38c)](_0x255eda['takeUntil'](this[_0x5147c2(0x517)]))[_0x5147c2(0x3db)](async _0x20f6e3=>{const _0x457195=_0x5147c2,_0x464f33=_0x20f6e3[_0x457195(0x4d4)](),_0x1ba53e=await this[_0x457195(0x4da)](_0x464f33);this[_0x457195(0x365)][_0x457195(0x3e1)](_0x1ba53e),this[_0x457195(0x337)][_0x457195(0x56b)](_0x464f33,_0x1ba53e);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x47ad91['UniverInstanceType'][_0x5147c2(0x1ac)])[_0x5147c2(0x38c)](_0x255eda['takeUntil'](this['dispose$']))[_0x5147c2(0x38c)](_0x255eda[_0x5147c2(0x591)](_0x1fa0a3=>!_0x1fa0a3['getUnitId']()['startsWith']('__')))[_0x5147c2(0x3db)](async _0x54cf8f=>{const _0x4949f6=_0x5147c2,_0x3cb89c=_0x54cf8f[_0x4949f6(0x4d4)](),_0x33279f=await this['_startDocCollabCursor'](_0x3cb89c);this['_entityInit$'][_0x4949f6(0x3e1)](_0x33279f),this['_entities']['set'](_0x3cb89c,_0x33279f);}),_0x255eda[_0x5147c2(0x57b)](this[_0x5147c2(0x2a3)]['getTypeOfUnitDisposed$'](_0x47ad91[_0x5147c2(0x2f9)][_0x5147c2(0x1ac)]),this[_0x5147c2(0x2a3)][_0x5147c2(0x1e4)](_0x47ad91[_0x5147c2(0x2f9)][_0x5147c2(0x4d5)]))[_0x5147c2(0x38c)](_0x255eda[_0x5147c2(0x4d0)](this[_0x5147c2(0x517)]))[_0x5147c2(0x3db)](_0x4345d4=>{const _0x25cc03=_0x5147c2,_0x4b769f=_0x4345d4[_0x25cc03(0x4d4)](),_0x258501=this[_0x25cc03(0x337)][_0x25cc03(0x369)](_0x4b769f);_0x258501&&(_0x258501[_0x25cc03(0x4db)](),this[_0x25cc03(0x337)]['delete'](_0x4b769f));});}async[_0x1bf13c(0x4da)](_0x1b1b83){const _0x15329f=_0x1bf13c,_0x3fa084=await this[_0x15329f(0x212)][_0x15329f(0x4a9)](_0x1b1b83),_0x56fbab=this[_0x15329f(0x49c)][_0x15329f(0x37c)](_0x23a6a9,_0x1b1b83,_0x3fa084);return _0x56fbab[_0x15329f(0x49a)](),_0x56fbab;}async[_0x1bf13c(0x41f)](_0x521607){const _0x5e8adb=_0x1bf13c,_0x1216e6=await this[_0x5e8adb(0x212)][_0x5e8adb(0x4a9)](_0x521607),_0x3f2a18=this[_0x5e8adb(0x49c)]['createInstance'](_0x5b51ba,_0x521607,_0x1216e6);return _0x3f2a18[_0x5e8adb(0x49a)](),_0x3f2a18;}};_0x464c11=_0x331489([_0x47ad91['OnLifecycle'](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x191)],_0x464c11),_0x52b2d1(0x0,_0x47ad91[_0x1bf13c(0x1db)]),_0x52b2d1(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)])),_0x52b2d1(0x2,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x36b)]))],_0x464c11);const _0x154e90=0x14,_0x2c4efb=0xc8,_0x1b7ed0=0x4,_0x1cc995=0x5;function _0x2b1fbf(_0x43ec2d,_0x15992c){const _0x44c218=_0x1bf13c;let {radius:_0xa631c8,width:_0x333e73,height:_0x263b65}=_0x15992c;_0xa631c8=_0xa631c8!=null?_0xa631c8:0x0,_0x333e73=_0x333e73!=null?_0x333e73:0x1e,_0x263b65=_0x263b65!=null?_0x263b65:0x1e;let _0x29bb00=0x0,_0x4ca9af=0x0,_0x38efcb=0x0;_0x29bb00=_0x4ca9af=_0x38efcb=Math['min'](_0xa631c8,_0x333e73/0x2,_0x263b65/0x2),_0x43ec2d['beginPath'](),_0x43ec2d[_0x44c218(0x550)](_0x29bb00,0x0),_0x43ec2d[_0x44c218(0x51e)](_0x333e73-_0x4ca9af,0x0),_0x43ec2d[_0x44c218(0x35a)](_0x333e73-_0x4ca9af,_0x4ca9af,_0x4ca9af,Math['PI']*0x3/0x2,0x0,!0x1),_0x43ec2d['lineTo'](_0x333e73,_0x263b65-_0x38efcb),_0x43ec2d[_0x44c218(0x35a)](_0x333e73-_0x38efcb,_0x263b65-_0x38efcb,_0x38efcb,0x0,Math['PI']/0x2,!0x1),_0x43ec2d['lineTo'](0x0,_0x263b65),_0x43ec2d[_0x44c218(0x51e)](0x0,_0x29bb00),_0x43ec2d[_0x44c218(0x35a)](_0x29bb00,_0x29bb00,_0x29bb00,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x43ec2d[_0x44c218(0x1b5)](),_0x15992c[_0x44c218(0x305)]&&(_0x43ec2d[_0x44c218(0x479)](),_0x43ec2d[_0x44c218(0x4b2)]=_0x15992c[_0x44c218(0x305)],_0x15992c[_0x44c218(0x2fa)]===_0x44c218(0x547)?_0x43ec2d[_0x44c218(0x305)](_0x44c218(0x547)):_0x43ec2d[_0x44c218(0x305)](),_0x43ec2d['restore']());}class _0x27e262 extends _0xba1502['Shape']{constructor(_0x53f91a,_0x5f7db8){const _0x388edb=_0x1bf13c;super(_0x53f91a,_0x5f7db8),_0x41c7d7(this,_0x388edb(0x534)),_0x41c7d7(this,_0x388edb(0x4b0)),(this[_0x388edb(0x534)]=_0x5f7db8==null?void 0x0:_0x5f7db8[_0x388edb(0x534)],this['text']=_0x5f7db8==null?void 0x0:_0x5f7db8[_0x388edb(0x4b0)]);}static[_0x1bf13c(0x20a)](_0x3afe24,_0x6d64bf){const _0x248fd3=_0x1bf13c,{text:_0x4816e7,color:_0x29b124}=_0x6d64bf;_0x3afe24['save'](),_0x3afe24[_0x248fd3(0x4f9)]=_0x248fd3(0x250);const _0x411c2c=_0x3afe24[_0x248fd3(0x490)](_0x4816e7)[_0x248fd3(0x284)],_0x29d6e1=Math[_0x248fd3(0x4d9)](_0x411c2c+0x2*_0x1b7ed0,_0x2c4efb);_0x2b1fbf(_0x3afe24,{'height':_0x154e90,'radius':0x4,'width':_0x29d6e1,'fill':_0x29b124,'evented':!0x1}),_0x3afe24[_0x248fd3(0x4b2)]=_0x248fd3(0x3d9);const _0x141033=_0x1b7ed0,_0x11ebe0=_0x154e90-_0x1cc995,_0x18abc9=_0x2c4efb-0x2*_0x1b7ed0;if(_0x411c2c>_0x18abc9){let _0x1c84f1='',_0x16340e=0x0;for(const _0x29c8be of _0x4816e7){const _0x2aa666=_0x3afe24['measureText'](_0x29c8be)[_0x248fd3(0x284)];if(_0x16340e+_0x2aa666<=_0x18abc9-_0x3afe24[_0x248fd3(0x490)](_0x248fd3(0x537))[_0x248fd3(0x284)])_0x1c84f1+=_0x29c8be,_0x16340e+=_0x2aa666;else{_0x1c84f1+='...';break;}}_0x3afe24[_0x248fd3(0x262)](_0x1c84f1,_0x141033,_0x11ebe0);}else _0x3afe24[_0x248fd3(0x262)](_0x4816e7,_0x141033,_0x11ebe0);_0x3afe24[_0x248fd3(0x34a)]();}[_0x1bf13c(0x4fd)](_0x159574){_0x27e262['drawWith'](_0x159574,this);}}const _0x19c434=0x1,_0x3a043a=1.5;class _0x5d600b extends _0xba1502['Shape']{constructor(_0x595ba7,_0x3099f8){const _0x3d693f=_0x1bf13c;super(_0x595ba7,_0x3099f8),_0x41c7d7(this,_0x3d693f(0x1d7)),_0x41c7d7(this,_0x3d693f(0x2df),!0x1),_0x41c7d7(this,_0x3d693f(0x339)),_0x41c7d7(this,_0x3d693f(0x29f),''),_0x41c7d7(this,_0x3d693f(0x573),_0x3d693f(0x2cb)),_0x41c7d7(this,'_backgroundColor'),(_0x3099f8&&this[_0x3d693f(0x263)](_0x3099f8),this[_0x3d693f(0x362)][_0x3d693f(0x2f3)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3d693f(0x1c9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0xca23b9){const _0x1b6d07=_0x1bf13c;var _0x1e5ddf,_0xe4beb,_0x3f4b23,_0x1b31e3,_0x163249,_0x2dad65;this[_0x1b6d07(0x1d7)]=(_0x1e5ddf=_0xca23b9[_0x1b6d07(0x534)])!=null?_0x1e5ddf:this[_0x1b6d07(0x1d7)],this[_0x1b6d07(0x2df)]=(_0xe4beb=_0xca23b9[_0x1b6d07(0x3c4)])!=null?_0xe4beb:this[_0x1b6d07(0x2df)],this[_0x1b6d07(0x339)]=(_0x3f4b23=_0xca23b9['range'])!=null?_0x3f4b23:this['_range'],this['_name']=(_0x1b31e3=_0xca23b9[_0x1b6d07(0x24b)])!=null?_0x1b31e3:this[_0x1b6d07(0x29f)],this[_0x1b6d07(0x573)]=(_0x163249=_0xca23b9[_0x1b6d07(0x26f)])!=null?_0x163249:this[_0x1b6d07(0x573)],this['_backgroundColor']=(_0x2dad65=_0xca23b9[_0x1b6d07(0x3dc)])!=null?_0x2dad65:this[_0x1b6d07(0x252)],this['transformByState']({'width':_0xca23b9[_0x1b6d07(0x284)],'height':_0xca23b9[_0x1b6d07(0x53f)]});}['onMouseMove'](_0x3ff7e3){const _0x5657e0=_0x1bf13c,{row:_0x120383,column:_0x2c1831}=_0x3ff7e3;if(_0x120383>=this[_0x5657e0(0x339)]['startRow']&&_0x120383<=this[_0x5657e0(0x339)]['endRow']&&_0x2c1831>=this[_0x5657e0(0x339)][_0x5657e0(0x200)]&&_0x2c1831<=this[_0x5657e0(0x339)][_0x5657e0(0x2c5)]){this[_0x5657e0(0x263)]({'hovered':!0x0});return;}this[_0x5657e0(0x263)]({'hovered':!0x1});}[_0x1bf13c(0x4aa)](_0x1adef7){return!0x1;}[_0x1bf13c(0x4fd)](_0x11a535){const _0xe31447=_0x1bf13c;_0xba1502[_0xe31447(0x399)][_0xe31447(0x20a)](_0x11a535,{'width':this['width'],'height':this[_0xe31447(0x53f)],'strokeWidth':_0x3a043a,'stroke':this[_0xe31447(0x1d7)],'evented':!0x1,'fill':this[_0xe31447(0x252)]}),this['_hovered']&&(_0x11a535[_0xe31447(0x479)](),_0x11a535[_0xe31447(0x21e)](0x1,0x0,0x0,0x1,this[_0xe31447(0x284)],this['_labelPosition']===_0xe31447(0x347)?0x0:-_0x154e90),_0x27e262[_0xe31447(0x20a)](_0x11a535,{'text':this[_0xe31447(0x29f)],'color':this[_0xe31447(0x1d7)]}),_0x11a535[_0xe31447(0x34a)]());}}var _0xaecc53=Object[_0x1bf13c(0x1f5)],_0x295a3b=Object[_0x1bf13c(0x523)],_0x1c11ca=(_0x326401,_0x54bfdf,_0x40a7a4,_0x5c383f)=>{const _0x123c1e=_0x1bf13c;for(var _0x5a7357=_0x5c383f>0x1?void 0x0:_0x5c383f?_0x295a3b(_0x54bfdf,_0x40a7a4):_0x54bfdf,_0x27091a=_0x326401[_0x123c1e(0x557)]-0x1,_0x2300bc;_0x27091a>=0x0;_0x27091a--)(_0x2300bc=_0x326401[_0x27091a])&&(_0x5a7357=(_0x5c383f?_0x2300bc(_0x54bfdf,_0x40a7a4,_0x5a7357):_0x2300bc(_0x5a7357))||_0x5a7357);return _0x5c383f&&_0x5a7357&&_0xaecc53(_0x54bfdf,_0x40a7a4,_0x5a7357),_0x5a7357;},_0x410607=(_0x342c3c,_0x306aeb)=>(_0x3fd662,_0x50d426)=>_0x306aeb(_0x3fd662,_0x50d426,_0x342c3c);const _0x36fc37=0x1389;let _0x57446b=class extends _0x47ad91['RxDisposable']{constructor(_0x72dc66,_0x6355ad,_0x29e517,_0x12cb58){const _0x10ff86=_0x1bf13c;super(),_0x41c7d7(this,_0x10ff86(0x194),new Set()),_0x41c7d7(this,_0x10ff86(0x43e),null),(this[_0x10ff86(0x54e)]=_0x72dc66,this['_sheetSkeletonManagerService']=_0x6355ad,this[_0x10ff86(0x427)]=_0x29e517,this[_0x10ff86(0x222)]=_0x12cb58,this[_0x10ff86(0x336)]());}['_init'](){const _0x4c9fb3=_0x1bf13c;this['_sheetSkeletonManagerService'][_0x4c9fb3(0x3d1)][_0x4c9fb3(0x38c)](_0x335e20['takeUntil'](this[_0x4c9fb3(0x517)]),_0x335e20['switchMap'](_0x57f8a2=>{const _0x4bb8f6=_0x4c9fb3;if(_0x57f8a2){const _0x33adab=_0x57f8a2[_0x4bb8f6(0x4a1)];return _0x255eda[_0x4bb8f6(0x438)](this['_collabCursorController']['getCollabCursors$'](this[_0x4bb8f6(0x54e)]['unitId']),this['_themeService'][_0x4bb8f6(0x3ba)])[_0x4bb8f6(0x38c)](_0x335e20[_0x4bb8f6(0x3be)](([_0x1df04d,_0x1b90e6])=>{const _0x2e8dfc=_0x4bb8f6,_0x559bc1=new Map();return _0x1df04d[_0x2e8dfc(0x2fb)]((_0x863841,_0x2e2295)=>{const _0x4038d0=_0x2e8dfc;if(_0x863841[_0x4038d0(0x2a5)]===_0x33adab){const _0x42d7d8={..._0x863841};_0x42d7d8[_0x4038d0(0x534)]=_0x1b90e6[_0x863841[_0x4038d0(0x534)]],_0x559bc1[_0x4038d0(0x56b)](_0x2e2295,_0x42d7d8);}}),{'skeleton':_0x57f8a2,'cursors':_0x559bc1};}));}return _0x255eda['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1fd661,cursors:_0x3f3266})=>{const _0x17543d=_0x4c9fb3;this[_0x17543d(0x42e)](),_0x1fd661&&this[_0x17543d(0x498)](_0x1fd661,_0x3f3266);}),this[_0x4c9fb3(0x47c)]['currentSkeleton$'][_0x4c9fb3(0x3db)](_0xd52a81=>{const _0x4d225f=_0x4c9fb3;if(_0xd52a81==null)return;const {skeleton:_0xbb1e26}=_0xd52a81,{scene:_0x4c9c21}=this[_0x4d225f(0x54e)];_0x4c9c21[_0x4d225f(0x4c6)][_0x4d225f(0x2f3)](_0x249566(_0x370466=>{const _0x515120=_0x4d225f;var _0xf7c303,_0x4638b5;const {offsetX:_0x40cb8d,offsetY:_0x3a204f}=_0x370466,{x:_0x5e3e75,y:_0x314b06}=_0x4c9c21[_0x515120(0x38f)](_0xba1502[_0x515120(0x324)][_0x515120(0x2b8)]([_0x40cb8d,_0x3a204f])),{scaleX:_0x3bb44f,scaleY:_0x4dd3a9}=_0x4c9c21[_0x515120(0x4e9)](),_0x1e80ab=_0x4c9c21['getViewport'](_0x49516c[_0x515120(0x353)][_0x515120(0x474)]),_0x3b8ea1=_0x4c9c21['getVpScrollXYInfoByPosToVp'](_0xba1502[_0x515120(0x324)]['FromArray']([_0x5e3e75,_0x314b06]),_0x1e80ab),_0xab749b=_0xbb1e26[_0x515120(0x4cc)](_0x40cb8d,_0x3a204f,_0x3bb44f,_0x4dd3a9,_0x3b8ea1);((_0xf7c303=this[_0x515120(0x43e)])==null?void 0x0:_0xf7c303[_0x515120(0x4a6)])===_0xab749b[_0x515120(0x4a6)]&&((_0x4638b5=this[_0x515120(0x43e)])==null?void 0x0:_0x4638b5[_0x515120(0x496)])===_0xab749b[_0x515120(0x496)]||this['_cursors'][_0x515120(0x2fb)](_0x5544cd=>{const _0x276778=_0x515120;_0x5544cd[_0x276778(0x23b)](_0xab749b);});},0x64));});}['_updateCollabCursors'](_0x3df1f3,_0x338d97){const _0x45fdd4=_0x1bf13c;var _0x1edb97;const _0x332be7=(_0x1edb97=this[_0x45fdd4(0x47c)][_0x45fdd4(0x4d1)]())==null?void 0x0:_0x1edb97[_0x45fdd4(0x419)];if(!_0x332be7)return;const _0x4bd50d=this[_0x45fdd4(0x4a8)]();if(!_0x4bd50d)return;this['_cursors']['forEach'](_0x49305a=>{const _0x3938fc=_0x45fdd4;_0x49305a[_0x3938fc(0x4c0)]();});const {scene:_0x15bb85}=_0x4bd50d,_0x52b921=_0x2b8349(Array['from'](_0x338d97['values']()))[_0x45fdd4(0x3be)](_0x3c8293=>{const _0x5bb60c=_0x45fdd4,{color:_0x38aa77,range:_0x200c79,name:_0x3bdcca,selection:_0x1b8120,sheetID:_0x1d79d2}=_0x3c8293,{startColumn:_0x44aeba,startRow:_0x30acef,endColumn:_0x5cc0e2,endRow:_0x56e1c8}=_0x200c79,_0x2950ff=_0x49516c[_0x5bb60c(0x340)](_0x30acef,_0x44aeba,_0x15bb85,_0x332be7),_0x5a2d20=_0x49516c[_0x5bb60c(0x340)](_0x56e1c8,_0x5cc0e2,_0x15bb85,_0x332be7),{columnHeaderHeightAndMarginTop:_0x17082c}=_0x332be7,{startX:_0x3a3d0d,startY:_0x565b22}=_0x2950ff,{endX:_0x48f368,endY:_0x1c17d7}=_0x5a2d20,_0x5f4b77=_0x48f368-_0x3a3d0d,_0x2201d9=_0x1c17d7-_0x565b22,_0x599afc={'labelPosition':_0x565b22-_0x17082c>=_0x154e90?'top':'bottom','sheetID':_0x1d79d2,'range':_0x200c79,'color':_0x38aa77,'name':_0x3bdcca,'selection':_0x1b8120,'left':_0x3a3d0d,'top':_0x565b22,'width':_0x5f4b77,'height':_0x2201d9,'evented':!0x1,'zIndex':_0x36fc37};return new _0x5d600b(_0x3bdcca,_0x599afc);});_0x15bb85[_0x45fdd4(0x539)](_0x52b921,_0x19c434),this['_cursors']=new Set(_0x52b921);}[_0x1bf13c(0x42e)](){const _0x5810d0=_0x1bf13c;var _0x39f3f4;(_0x39f3f4=this[_0x5810d0(0x194)])==null||_0x39f3f4[_0x5810d0(0x2fb)](_0x3179c8=>_0x3179c8[_0x5810d0(0x4db)]());}[_0x1bf13c(0x4a8)](){const _0xbb6c53=_0x1bf13c;return _0x49516c[_0xbb6c53(0x56c)](this['_context'][_0xbb6c53(0x1f1)],this['_context']);}};_0x57446b=_0x1c11ca([_0x410607(0x1,_0x47ad91['Inject'](_0x49516c[_0x1bf13c(0x580)])),_0x410607(0x2,_0x47ad91['Inject'](_0x464c11)),_0x410607(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['ThemeService']))],_0x57446b);function _0x2b8349(_0x143f6a){const _0x2e5f92=_0x1bf13c,_0x16fcd3=new Map();return _0x143f6a[_0x2e5f92(0x2fb)](_0x2f5651=>{const _0x47f33=_0x2e5f92;if(_0x16fcd3[_0x47f33(0x19c)](_0x2f5651[_0x47f33(0x404)])){const _0x5498e7=_0x16fcd3[_0x47f33(0x369)](_0x2f5651[_0x47f33(0x404)]);_0x5498e7['name']+=',\x20'+_0x2f5651[_0x47f33(0x24b)];}else _0x16fcd3[_0x47f33(0x56b)](_0x2f5651[_0x47f33(0x404)],_0x2f5651);}),Array[_0x2e5f92(0x216)](_0x16fcd3['values']());}var _0x52fe25=function(){const _0x3bab48=_0x1bf13c;return _0x52fe25=Object[_0x3bab48(0x36d)]||function(_0x3e59f7){const _0x8b1110=_0x3bab48;for(var _0x31509b,_0x1963d1=0x1,_0x1984e1=arguments[_0x8b1110(0x557)];_0x1963d1<_0x1984e1;_0x1963d1++){_0x31509b=arguments[_0x1963d1];for(var _0x5bb5de in _0x31509b)Object[_0x8b1110(0x572)][_0x8b1110(0x38b)][_0x8b1110(0x2d4)](_0x31509b,_0x5bb5de)&&(_0x3e59f7[_0x5bb5de]=_0x31509b[_0x5bb5de]);}return _0x3e59f7;},_0x52fe25[_0x3bab48(0x401)](this,arguments);},_0x2a9665=function(_0x422b5f,_0x3a35f9){const _0x7262b4=_0x1bf13c;var _0x296fb5={};for(var _0x450566 in _0x422b5f)Object['prototype'][_0x7262b4(0x38b)]['call'](_0x422b5f,_0x450566)&&_0x3a35f9[_0x7262b4(0x3ff)](_0x450566)<0x0&&(_0x296fb5[_0x450566]=_0x422b5f[_0x450566]);if(_0x422b5f!=null&&typeof Object['getOwnPropertySymbols']==_0x7262b4(0x4a7)){for(var _0x3ca19b=0x0,_0x450566=Object['getOwnPropertySymbols'](_0x422b5f);_0x3ca19b<_0x450566['length'];_0x3ca19b++)_0x3a35f9['indexOf'](_0x450566[_0x3ca19b])<0x0&&Object[_0x7262b4(0x572)][_0x7262b4(0x542)][_0x7262b4(0x2d4)](_0x422b5f,_0x450566[_0x3ca19b])&&(_0x296fb5[_0x450566[_0x3ca19b]]=_0x422b5f[_0x450566[_0x3ca19b]]);}return _0x296fb5;},_0x536ffe=_0x4abc54['forwardRef'](function(_0x1720a5,_0x2e16b4){const _0x5893b2=_0x1bf13c;var _0x33ca95=_0x1720a5['icon'],_0x5974e4=_0x1720a5['id'],_0x2dafc4=_0x1720a5['className'],_0x222ad6=_0x1720a5[_0x5893b2(0x1ca)],_0x48c5b7=_0x2a9665(_0x1720a5,[_0x5893b2(0x23f),'id',_0x5893b2(0x3f7),_0x5893b2(0x1ca)]),_0x4afbda=_0x5893b2(0x58e)[_0x5893b2(0x25b)](_0x5974e4,'\x20')[_0x5893b2(0x25b)](_0x2dafc4||'')[_0x5893b2(0x405)](),_0x4fb49d=_0x4abc54[_0x5893b2(0x4b8)]('_'[_0x5893b2(0x25b)](_0x58fb7a()));return _0xf092cd(_0x33ca95,''['concat'](_0x5974e4),{'defIds':_0x33ca95[_0x5893b2(0x211)],'idSuffix':_0x4fb49d[_0x5893b2(0x497)]},_0x52fe25({'ref':_0x2e16b4,'className':_0x4afbda},_0x48c5b7),_0x222ad6);});function _0xf092cd(_0x322157,_0x24ae44,_0x47b784,_0x32f76f,_0x17d2c2){const _0x23913b=_0x1bf13c;return _0x4abc54[_0x23913b(0x3cf)](_0x322157[_0x23913b(0x38a)],_0x52fe25(_0x52fe25({'key':_0x24ae44},_0x565985(_0x322157,_0x47b784,_0x17d2c2)),_0x32f76f),(_0x49e27f(_0x322157,_0x47b784)[_0x23913b(0x351)]||[])['map'](function(_0x5f09d5,_0xcc341){const _0x56fbf0=_0x23913b;return _0xf092cd(_0x5f09d5,''['concat'](_0x24ae44,'-')[_0x56fbf0(0x25b)](_0x322157[_0x56fbf0(0x38a)],'-')[_0x56fbf0(0x25b)](_0xcc341),_0x47b784,void 0x0,_0x17d2c2);}));}function _0x565985(_0x10c9bc,_0x3fd879,_0x37de35){const _0x5bea0b=_0x1bf13c;var _0x3f02e4=_0x52fe25({},_0x10c9bc[_0x5bea0b(0x538)]);_0x37de35!=null&&_0x37de35[_0x5bea0b(0x3b7)]&&_0x3f02e4[_0x5bea0b(0x305)]===_0x5bea0b(0x3b7)&&(_0x3f02e4[_0x5bea0b(0x305)]=_0x37de35['colorChannel1']);var _0x42afde=_0x3fd879[_0x5bea0b(0x211)];return!_0x42afde||_0x42afde[_0x5bea0b(0x557)]===0x0||(_0x10c9bc[_0x5bea0b(0x38a)]===_0x5bea0b(0x285)&&_0x3f02e4[_0x5bea0b(0x4d8)]&&(_0x3f02e4['xlink:href']=_0x3f02e4[_0x5bea0b(0x4d8)]+_0x3fd879['idSuffix']),Object[_0x5bea0b(0x532)](_0x3f02e4)[_0x5bea0b(0x2fb)](function(_0x1a41a9){const _0x31be1f=_0x5bea0b;var _0x25972d=_0x1a41a9[0x0],_0x1ec6a8=_0x1a41a9[0x1];typeof _0x1ec6a8==_0x31be1f(0x549)&&(_0x3f02e4[_0x25972d]=_0x1ec6a8['replace'](/url\(#(.*)\)/,_0x31be1f(0x244)['concat'](_0x3fd879[_0x31be1f(0x39d)],')')));})),_0x3f02e4;}function _0x49e27f(_0x1bee45,_0x5bee94){const _0x46226b=_0x1bf13c;var _0x7198bd,_0xff8020=_0x5bee94[_0x46226b(0x211)];return!_0xff8020||_0xff8020[_0x46226b(0x557)]===0x0?_0x1bee45:_0x1bee45[_0x46226b(0x38a)]===_0x46226b(0x52f)&&(!((_0x7198bd=_0x1bee45[_0x46226b(0x351)])===null||_0x7198bd===void 0x0)&&_0x7198bd[_0x46226b(0x557)])?_0x52fe25(_0x52fe25({},_0x1bee45),{'children':_0x1bee45['children']['map'](function(_0x583ef6){const _0x390840=_0x46226b;return typeof _0x583ef6['attrs']['id']==_0x390840(0x549)&&_0xff8020&&_0xff8020[_0x390840(0x3ff)](_0x583ef6[_0x390840(0x538)]['id'])>-0x1?_0x52fe25(_0x52fe25({},_0x583ef6),{'attrs':_0x52fe25(_0x52fe25({},_0x583ef6[_0x390840(0x538)]),{'id':_0x583ef6[_0x390840(0x538)]['id']+_0x5bee94[_0x390840(0x39d)]})}):_0x583ef6;})}):_0x1bee45;}function _0x58fb7a(){const _0x2af576=_0x1bf13c;return Math[_0x2af576(0x3d3)]()[_0x2af576(0x493)](0x24)[_0x2af576(0x473)](0x2,0x8);}_0x536ffe[_0x1bf13c(0x1b3)]=_0x1bf13c(0x4dc);var _0x29305b={'tag':_0x1bf13c(0x507),'attrs':{'fill':_0x1bf13c(0x4ca),'viewBox':_0x1bf13c(0x3b0),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1bf13c(0x1ef)},'children':[{'tag':'path','attrs':{'stroke':_0x1bf13c(0x21b),'d':_0x1bf13c(0x2d7),'strokeLinecap':_0x1bf13c(0x219),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1bf13c(0x52f),'attrs':{},'children':[{'tag':_0x1bf13c(0x316),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1bf13c(0x564),'attrs':{'fill':_0x1bf13c(0x3c6),'d':_0x1bf13c(0x1e1)}}]}]}],'defIds':[_0x1bf13c(0x51b)]},_0x1532f4=_0x4abc54[_0x1bf13c(0x45d)](function(_0x44ea44,_0x1da534){const _0x10c45d=_0x1bf13c;return _0x4abc54[_0x10c45d(0x3cf)](_0x536ffe,Object['assign']({},_0x44ea44,{'id':_0x10c45d(0x48e),'ref':_0x1da534,'icon':_0x29305b}));});_0x1532f4[_0x1bf13c(0x1b3)]=_0x1bf13c(0x360);var _0x1c6da2={'tag':_0x1bf13c(0x507),'attrs':{'fill':_0x1bf13c(0x4ca),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x1bf13c(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x1bf13c(0x20d)},'children':[{'tag':_0x1bf13c(0x564),'attrs':{'stroke':_0x1bf13c(0x21b),'d':_0x1bf13c(0x510),'strokeLinecap':_0x1bf13c(0x219),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1bf13c(0x52f),'attrs':{},'children':[{'tag':_0x1bf13c(0x316),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1bf13c(0x564),'attrs':{'fill':'#fff','d':_0x1bf13c(0x1e1),'transform':_0x1bf13c(0x1a9)}}]}]}],'defIds':[_0x1bf13c(0x2cf)]},_0x2d175b=_0x4abc54[_0x1bf13c(0x45d)](function(_0x3e95d5,_0x41dd43){const _0x3da247=_0x1bf13c;return _0x4abc54[_0x3da247(0x3cf)](_0x536ffe,Object['assign']({},_0x3e95d5,{'id':_0x3da247(0x268),'ref':_0x41dd43,'icon':_0x1c6da2}));});_0x2d175b[_0x1bf13c(0x1b3)]=_0x1bf13c(0x3a1);const _0x35fa1e={'onlineStatusIcon':_0x1bf13c(0x1c1),'onlineStatusTitle':'univer-online-status-title','onlineStatus':'univer-online-status','online':_0x1bf13c(0x45c),'offline':_0x1bf13c(0x209)};function _0x5d9b83(_0x16057c){const _0x54a198=_0x1bf13c;switch(_0x16057c){case _0x214062[_0x54a198(0x39c)]:return _0x54a198(0x1d0);case _0x214062[_0x54a198(0x398)]:return _0x54a198(0x2a7);case _0x214062[_0x54a198(0x35e)]:return'collabStatus.fetchMiss';case _0x214062[_0x54a198(0x500)]:return _0x54a198(0x208);case _0x214062[_0x54a198(0x52d)]:case _0x214062['AWAITING']:case _0x214062[_0x54a198(0x196)]:return _0x54a198(0x1d4);case _0x214062['SYNCED']:return'collabStatus.synced';}}function _0x12529c(_0x3977a7){const _0x6c6120=_0x1bf13c,{status$:_0x4e0861}=_0x3977a7,_0x29c02a=_0x33683b['useObservable'](_0x4e0861,_0x214062[_0x6c6120(0x500)]),_0x20c028=_0x47ad91[_0x6c6120(0x1d5)](_0x47ad91[_0x6c6120(0x3da)]),_0x5710b3=_0x29c02a!==_0x214062[_0x6c6120(0x39c)],_0x4dd883=_0x20c028['t'](_0x5d9b83(_0x29c02a)),_0xae23aa=_0x3cf929(_0x35fa1e[_0x6c6120(0x559)],{[_0x35fa1e[_0x6c6120(0x1e0)]]:_0x5710b3,[_0x35fa1e[_0x6c6120(0x589)]]:!_0x5710b3}),_0x43edec=_0x5710b3?_0x4abc54[_0x6c6120(0x3cf)](_0x2d175b,null):_0x4abc54[_0x6c6120(0x3cf)](_0x1532f4,null);return _0x4abc54[_0x6c6120(0x3cf)](_0x6c6120(0x1b4),{'className':_0xae23aa},_0x4abc54['createElement'](_0x6c6120(0x1b4),{'className':_0x35fa1e[_0x6c6120(0x56a)]},_0x43edec),_0x4abc54[_0x6c6120(0x3cf)](_0x6c6120(0x1b4),{'className':_0x35fa1e[_0x6c6120(0x35d)]},_0x4dd883));}var _0x27c610=Object[_0x1bf13c(0x1f5)],_0x4e27d6=Object[_0x1bf13c(0x523)],_0xb4975a=(_0xe6a49d,_0x5201f6,_0x42145e,_0x2605ca)=>{const _0x8ef071=_0x1bf13c;for(var _0x13d6a7=_0x2605ca>0x1?void 0x0:_0x2605ca?_0x4e27d6(_0x5201f6,_0x42145e):_0x5201f6,_0x3854ac=_0xe6a49d[_0x8ef071(0x557)]-0x1,_0x4c5326;_0x3854ac>=0x0;_0x3854ac--)(_0x4c5326=_0xe6a49d[_0x3854ac])&&(_0x13d6a7=(_0x2605ca?_0x4c5326(_0x5201f6,_0x42145e,_0x13d6a7):_0x4c5326(_0x13d6a7))||_0x13d6a7);return _0x2605ca&&_0x13d6a7&&_0x27c610(_0x5201f6,_0x42145e,_0x13d6a7),_0x13d6a7;},_0x332478=(_0xa53d2a,_0x2eab3e)=>(_0x3bb18b,_0x4513da)=>_0x2eab3e(_0x3bb18b,_0x4513da,_0xa53d2a);_0x490b22[_0x1bf13c(0x4c4)]=class extends _0x47ad91['Disposable']{constructor(_0x2e8d74,_0x2fa1b1,_0x1027b3,_0x387db6){const _0xeeac66=_0x1bf13c;super(),_0x41c7d7(this,_0xeeac66(0x2bd),new _0x255eda[(_0xeeac66(0x1d6))](_0x214062[_0xeeac66(0x500)])),(this[_0xeeac66(0x2a3)]=_0x2e8d74,this['_uiPartsService']=_0x2fa1b1,this[_0xeeac66(0x49c)]=_0x1027b3,this['_collaborationController']=_0x387db6,this[_0xeeac66(0x3c0)](),this[_0xeeac66(0x461)]());}['_initStatusComponent'](){const _0x44f167=_0x1bf13c;this[_0x44f167(0x27f)](this[_0x44f167(0x450)]['registerComponent'](_0x33683b[_0x44f167(0x3fd)][_0x44f167(0x53e)],()=>_0x47ad91[_0x44f167(0x23a)](_0x493290({'status$':this[_0x44f167(0x2bd)][_0x44f167(0x1a1)]()}),this['_injector'])));}[_0x1bf13c(0x461)](){const _0x376acb=_0x1bf13c;this[_0x376acb(0x27f)](_0x47ad91[_0x376acb(0x1ab)](this[_0x376acb(0x2a3)][_0x376acb(0x20e)]['pipe'](_0x255eda['switchMap'](()=>{const _0x332a60=_0x376acb,_0x14b1d4=this[_0x332a60(0x2a3)]['getFocusedUnit']();return _0x14b1d4?this[_0x332a60(0x3b9)][_0x332a60(0x25f)](_0x14b1d4[_0x332a60(0x4d4)]()):_0x255eda['of'](null);}),_0x255eda[_0x376acb(0x234)](_0x162879=>_0x162879?_0x162879[_0x376acb(0x26d)]:_0x255eda['of'](_0x214062[_0x376acb(0x500)])))[_0x376acb(0x3db)](_0x5153ae=>{const _0x403c39=_0x376acb;this[_0x403c39(0x2bd)][_0x403c39(0x3e1)](_0x5153ae);})));}},_0x490b22[_0x1bf13c(0x4c4)]=_0xb4975a([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91['LifecycleStages'][_0x1bf13c(0x191)],_0x490b22[_0x1bf13c(0x4c4)]),_0x332478(0x0,_0x47ad91['IUniverInstanceService']),_0x332478(0x1,_0x33683b['IUIPartsService']),_0x332478(0x2,_0x47ad91['Inject'](_0x47ad91[_0x1bf13c(0x380)])),_0x332478(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x490b22[_0x1bf13c(0x292)]))],_0x490b22[_0x1bf13c(0x4c4)]);function _0x493290(_0x291b0a){const {status$:_0x21b36a}=_0x291b0a;return function(){const _0x142eaa=_0x2921;return _0x4abc54[_0x142eaa(0x3cf)](_0x12529c,{'status$':_0x21b36a});};}const _0x1bc608=_0x47ad91[_0x1bf13c(0x561)](_0x1bf13c(0x33a));var _0x1df514=Object[_0x1bf13c(0x1f5)],_0x461d6b=Object[_0x1bf13c(0x523)],_0x2aaa66=(_0x11924e,_0x219202,_0x2d53ed,_0x20ba3b)=>{const _0x22b58a=_0x1bf13c;for(var _0xe591c8=_0x20ba3b>0x1?void 0x0:_0x20ba3b?_0x461d6b(_0x219202,_0x2d53ed):_0x219202,_0x2eca9f=_0x11924e[_0x22b58a(0x557)]-0x1,_0x30b070;_0x2eca9f>=0x0;_0x2eca9f--)(_0x30b070=_0x11924e[_0x2eca9f])&&(_0xe591c8=(_0x20ba3b?_0x30b070(_0x219202,_0x2d53ed,_0xe591c8):_0x30b070(_0xe591c8))||_0xe591c8);return _0x20ba3b&&_0xe591c8&&_0x1df514(_0x219202,_0x2d53ed,_0xe591c8),_0xe591c8;},_0x50adde=(_0x5410e0,_0x83987e)=>(_0x1a6dd0,_0x1f2fe8)=>_0x83987e(_0x1a6dd0,_0x1f2fe8,_0x5410e0);_0x490b22[_0x1bf13c(0x361)]=class extends _0x47ad91['RxDisposable']{constructor(_0x20b6ff,_0x2cd811,_0x50b3a5,_0x477ee5,_0x3c81bb,_0x5c3291){const _0x532b1d=_0x1bf13c;super(),this[_0x532b1d(0x386)]=_0x20b6ff,this['_logService']=_0x2cd811,this[_0x532b1d(0x508)]=_0x50b3a5,this[_0x532b1d(0x295)]=_0x477ee5,this[_0x532b1d(0x264)]=_0x3c81bb,_0x5c3291?_0x5c3291==null||_0x5c3291['whenReady']()[_0x532b1d(0x34f)](()=>this[_0x532b1d(0x336)]()):(this[_0x532b1d(0x449)][_0x532b1d(0x567)](_0x532b1d(0x1b6),_0x532b1d(0x368)),this['_init']());}async['_init'](){const _0x16ef34=_0x1bf13c,_0x27b347=this[_0x16ef34(0x386)]['getParam']('unit'),_0x46ade7=this['_urlService'][_0x16ef34(0x251)](_0x16ef34(0x3e3));if(!_0x27b347||!_0x46ade7){this[_0x16ef34(0x449)][_0x16ef34(0x567)]('[DataLoaderController]',_0x16ef34(0x2bf));return;}switch(Number(_0x46ade7)){case _0x37da8d[_0x16ef34(0x4d5)]:{const _0xf6d75d=await this['_loadSheet'](_0x27b347);this[_0x16ef34(0x470)](_0xf6d75d);break;}case _0x37da8d[_0x16ef34(0x1ac)]:{await this[_0x16ef34(0x221)](_0x27b347);break;}default:{this[_0x16ef34(0x449)]['error'](_0x16ef34(0x1b6),_0x16ef34(0x554));break;}}}async[_0x1bf13c(0x470)](_0xfaf30a){const _0x33edfb=_0x1bf13c;await this['_updateSubUnitFromURLParams'](_0xfaf30a),_0xfaf30a[_0x33edfb(0x198)]['pipe'](_0x255eda[_0x33edfb(0x4d0)](this[_0x33edfb(0x517)]))['subscribe'](_0x537779=>{_0x537779&&this['_updateURLWithCurrentState'](_0x537779);}),this['_urlService'][_0x33edfb(0x383)]['pipe'](_0x255eda['takeUntil'](this[_0x33edfb(0x517)]))[_0x33edfb(0x3db)](()=>this[_0x33edfb(0x38d)](_0xfaf30a));}[_0x1bf13c(0x3a4)](_0x401747,_0x209f2f=!0x1){const _0x208764=_0x1bf13c,_0x1aa7fb=this[_0x208764(0x386)]['getParam'](_0x208764(0x31b));_0x401747[_0x208764(0x27a)]()!==_0x1aa7fb&&this['_urlService']['setParam'](_0x208764(0x31b),_0x401747[_0x208764(0x27a)](),_0x209f2f);}async[_0x1bf13c(0x38d)](_0x4c409c){const _0x33c619=_0x1bf13c;var _0x4b8f5c;const _0x26991e=this['_urlService'][_0x33c619(0x251)]('subunit');if(!_0x26991e||!_0x4c409c['getSheetBySheetId'](_0x26991e)){const _0x5d15c7=_0x4c409c[_0x33c619(0x4c3)]()[0x0],_0x1686cb=_0x4c409c[_0x33c619(0x570)](_0x5d15c7);if(!_0x1686cb)return;this['_updateURLWithCurrentState'](_0x1686cb,!0x0),await this['_commandService'][_0x33c619(0x518)](_0x4b5d67[_0x33c619(0x2ca)]['id'],{'unitId':_0x4c409c[_0x33c619(0x4d4)](),'subUnitId':_0x5d15c7});return;}((_0x4b8f5c=_0x4c409c[_0x33c619(0x410)]())==null?void 0x0:_0x4b8f5c[_0x33c619(0x27a)]())!==_0x26991e&&await this[_0x33c619(0x508)]['executeCommand'](_0x4b5d67[_0x33c619(0x2ca)]['id'],{'unitId':_0x4c409c[_0x33c619(0x4d4)](),'subUnitId':_0x26991e});}async['_loadSheet'](_0x340dba){const _0x5341bd=_0x1bf13c;let _0x5cacb9=0x0;const _0x377c92=await this[_0x5341bd(0x295)][_0x5341bd(0x1f2)](_0x340dba);return _0x377c92&&(_0x377c92['awaitingChangeset']||_0x377c92[_0x5341bd(0x4c7)]['length']!==0x0)&&(_0x5cacb9=_0x377c92[_0x5341bd(0x4f0)]),_0x5cacb9===0x0&&this['_logService'][_0x5341bd(0x567)](_0x5341bd(0x1b6),_0x5341bd(0x421)),this[_0x5341bd(0x264)][_0x5341bd(0x489)](_0x340dba,_0x5cacb9);}async[_0x1bf13c(0x221)](_0x56b52d){const _0x142cde=_0x1bf13c;let _0x4ee8ef=0x0;const _0x563bdf=await this['_localCacheService']['loadOfflineData'](_0x56b52d);return _0x563bdf&&(_0x563bdf['awaitingChangeset']||_0x563bdf[_0x142cde(0x4c7)][_0x142cde(0x557)]!==0x0)&&(_0x4ee8ef=_0x563bdf['rev']),_0x4ee8ef===0x0&&this[_0x142cde(0x449)][_0x142cde(0x567)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x142cde(0x232)](_0x56b52d,_0x4ee8ef);}},_0x490b22[_0x1bf13c(0x361)]=_0x2aaa66([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x191)],_0x490b22['DataLoaderController']),_0x50adde(0x0,_0x1bc608),_0x50adde(0x1,_0x47ad91[_0x1bf13c(0x32d)]),_0x50adde(0x2,_0x47ad91['ICommandService']),_0x50adde(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x490b22['LocalCacheService'])),_0x50adde(0x4,_0x47ad91['Inject'](_0x4709b4[_0x1bf13c(0x2c6)])),_0x50adde(0x5,_0x47ad91[_0x1bf13c(0x237)](_0x4812f9['IRemoteInstanceService']))],_0x490b22[_0x1bf13c(0x361)]);var _0x34f06a=Object['defineProperty'],_0x46d1ab=Object[_0x1bf13c(0x523)],_0x26f5a5=(_0x4f7b0b,_0x5bdb72,_0x5a2ff8,_0xf9ad43)=>{const _0x4c8509=_0x1bf13c;for(var _0x33b37c=_0xf9ad43>0x1?void 0x0:_0xf9ad43?_0x46d1ab(_0x5bdb72,_0x5a2ff8):_0x5bdb72,_0x1bd914=_0x4f7b0b[_0x4c8509(0x557)]-0x1,_0x27dbe8;_0x1bd914>=0x0;_0x1bd914--)(_0x27dbe8=_0x4f7b0b[_0x1bd914])&&(_0x33b37c=(_0xf9ad43?_0x27dbe8(_0x5bdb72,_0x5a2ff8,_0x33b37c):_0x27dbe8(_0x33b37c))||_0x33b37c);return _0xf9ad43&&_0x33b37c&&_0x34f06a(_0x5bdb72,_0x5a2ff8,_0x33b37c),_0x33b37c;},_0x2cff57=(_0x736569,_0x1129e9)=>(_0x2144e5,_0x3a28a8)=>_0x1129e9(_0x2144e5,_0x3a28a8,_0x736569);const _0x2b4d3b='DEFAULT_FILE_NAME',_0x24afcc=_0x1bf13c(0x354);let _0x29c452=class extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(_0x27e9f4,_0x5e46ee){const _0x1aebb7=_0x1bf13c;super(),this['_univerInstanceService']=_0x27e9f4,this[_0x1aebb7(0x4eb)]=_0x5e46ee,this[_0x1aebb7(0x336)]();}[_0x1bf13c(0x336)](){const _0x37e939=_0x1bf13c;this[_0x37e939(0x27f)](_0x47ad91['toDisposable'](this[_0x37e939(0x2a3)]['focused$'][_0x37e939(0x3db)](()=>{const _0x13f3ba=_0x37e939;var _0x253e7d;const _0xccbd57=this[_0x13f3ba(0x2a3)][_0x13f3ba(0x296)]();let _0x1c88ea=(_0x253e7d=this[_0x13f3ba(0x4eb)]['getConfig'](_0x2b4d3b))!=null?_0x253e7d:_0x24afcc;_0xccbd57 instanceof _0x47ad91[_0x13f3ba(0x2ff)]&&(_0x1c88ea=_0xccbd57[_0x13f3ba(0x24b)]),document['title']=_0x1c88ea;})));}};_0x29c452=_0x26f5a5([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x2c9)],_0x29c452),_0x2cff57(0x0,_0x47ad91['IUniverInstanceService']),_0x2cff57(0x1,_0x47ad91[_0x1bf13c(0x57d)])],_0x29c452);var _0x269a63=Object[_0x1bf13c(0x1f5)],_0x6a490c=Object[_0x1bf13c(0x523)],_0x2e8af3=(_0xfd3c2e,_0x5db85a,_0x377c1d,_0x4b8546)=>{for(var _0xde193a=_0x4b8546>0x1?void 0x0:_0x4b8546?_0x6a490c(_0x5db85a,_0x377c1d):_0x5db85a,_0x4c2bbc=_0xfd3c2e['length']-0x1,_0x57b449;_0x4c2bbc>=0x0;_0x4c2bbc--)(_0x57b449=_0xfd3c2e[_0x4c2bbc])&&(_0xde193a=(_0x4b8546?_0x57b449(_0x5db85a,_0x377c1d,_0xde193a):_0x57b449(_0xde193a))||_0xde193a);return _0x4b8546&&_0xde193a&&_0x269a63(_0x5db85a,_0x377c1d,_0xde193a),_0xde193a;},_0x90c362=(_0x38e7a0,_0x371276)=>(_0x3f6af2,_0x449c35)=>_0x371276(_0x3f6af2,_0x449c35,_0x38e7a0);_0x490b22[_0x1bf13c(0x320)]=class{constructor(_0x1fd522,_0x38e0b9){const _0x41693b=_0x1bf13c;this[_0x41693b(0x4eb)]=_0x1fd522,this[_0x41693b(0x235)]=_0x38e0b9;}async['getUnitOnRev'](_0x401bbb,_0x2c90ce){const _0xf1046b=_0x1bf13c;var _0x45a584;const {unitID:_0x1021fb,type:_0x2c0cd4,revision:_0x1b8317=0x0}=_0x2c90ce,_0x41a9cc=this[_0xf1046b(0x4e3)]()+'/'+_0x2c0cd4+_0xf1046b(0x4d7)+_0x1021fb+_0xf1046b(0x1cf)+_0x1b8317,_0x4d2b83=(await this['_httpService'][_0xf1046b(0x369)](_0x41a9cc))[_0xf1046b(0x432)],_0x731fd2=(_0x45a584=_0x4d2b83[_0xf1046b(0x255)])==null?void 0x0:_0x45a584[_0xf1046b(0x39f)];if(_0x731fd2){const _0x484511=_0x731fd2==null?void 0x0:_0x731fd2['originalMeta'],_0x1462c3=_0x47ad91[_0xf1046b(0x294)][_0xf1046b(0x545)](_0x47ad91[_0xf1046b(0x46a)](_0x484511));_0x731fd2[_0xf1046b(0x2be)]=_0x1462c3,Object[_0xf1046b(0x532)](_0x731fd2['sheets'])['forEach'](([,_0x4dbe19])=>{const _0x1974e1=_0xf1046b,_0x1e3e89=_0x4dbe19[_0x1974e1(0x2be)],_0xa99fd4=_0x47ad91[_0x1974e1(0x294)][_0x1974e1(0x545)](_0x47ad91[_0x1974e1(0x46a)](_0x1e3e89));_0x4dbe19[_0x1974e1(0x2be)]=_0xa99fd4;});}return _0x4d2b83;}async[_0x1bf13c(0x4ee)](_0x9361c8,_0x1aa0dc){const _0x1c7c97=_0x1bf13c,{unitID:_0x2a2d63,type:_0x10e0af,blockID:_0x5370d0}=_0x1aa0dc,_0x48e7d0=this[_0x1c7c97(0x1f0)]()+'/'+_0x10e0af+'/unit/'+_0x2a2d63+_0x1c7c97(0x56d)+_0x5370d0;return(await this[_0x1c7c97(0x235)]['get'](_0x48e7d0))[_0x1c7c97(0x432)];}async[_0x1bf13c(0x563)](_0x14e5ee,_0x579252){const _0x4f4c77=_0x1bf13c,{unitID:_0x49c242,type:_0x3c9ac6,from:_0x1f4309,to:_0x2368cd}=_0x579252,_0x37128b=this[_0x4f4c77(0x1f0)]()+'/'+_0x3c9ac6+_0x4f4c77(0x4d7)+_0x49c242+_0x4f4c77(0x42d)+_0x1f4309+_0x4f4c77(0x32e)+_0x2368cd;return(await this[_0x4f4c77(0x235)][_0x4f4c77(0x369)](_0x37128b))[_0x4f4c77(0x432)];}[_0x1bf13c(0x4e3)](){const _0x1cf5fe=_0x1bf13c;var _0x191837;return(_0x191837=this[_0x1cf5fe(0x4eb)][_0x1cf5fe(0x4dd)](_0x146ad6))!=null?_0x191837:this['_getAPIPrefix']();}[_0x1bf13c(0x1f0)](){const _0x1c1aa5=_0x1bf13c;var _0x3fd107;return(_0x3fd107=this[_0x1c1aa5(0x4eb)]['getConfig'](_0x545bfc))!=null?_0x3fd107:_0x25b345;}async[_0x1bf13c(0x519)](_0x7e0b84,_0x3096fd){const _0x5ebfca=_0x1bf13c,_0x152363=_0x5ebfca(0x57a)+_0x3096fd[_0x5ebfca(0x3e3)]+_0x5ebfca(0x4d7)+_0x3096fd[_0x5ebfca(0x210)]+_0x5ebfca(0x527);return(await this[_0x5ebfca(0x235)][_0x5ebfca(0x369)](_0x152363,{'params':{'resourceId':JSON[_0x5ebfca(0x290)](_0x3096fd[_0x5ebfca(0x333)])}}))[_0x5ebfca(0x432)];}[_0x1bf13c(0x4d3)](){const _0x57652e=_0x1bf13c;throw new Error(_0x57652e(0x357));}['saveSheetBlock'](){const _0x2e5eca=_0x1bf13c;throw new Error(_0x2e5eca(0x357));}[_0x1bf13c(0x1fc)](){const _0x5e0ace=_0x1bf13c;throw new Error(_0x5e0ace(0x357));}},_0x490b22[_0x1bf13c(0x320)]=_0x2e8af3([_0x90c362(0x0,_0x47ad91[_0x1bf13c(0x57d)]),_0x90c362(0x1,_0x47ad91['Inject'](_0x125bb1['HTTPService']))],_0x490b22[_0x1bf13c(0x320)]);var _0x276b3e=Object[_0x1bf13c(0x1f5)],_0x46ecbb=Object['getOwnPropertyDescriptor'],_0x2f88cf=(_0x10b8eb,_0x43f20a,_0x1479f5,_0x446782)=>{const _0x57337e=_0x1bf13c;for(var _0x35dd67=_0x446782>0x1?void 0x0:_0x446782?_0x46ecbb(_0x43f20a,_0x1479f5):_0x43f20a,_0x5cf982=_0x10b8eb[_0x57337e(0x557)]-0x1,_0x3c1168;_0x5cf982>=0x0;_0x5cf982--)(_0x3c1168=_0x10b8eb[_0x5cf982])&&(_0x35dd67=(_0x446782?_0x3c1168(_0x43f20a,_0x1479f5,_0x35dd67):_0x3c1168(_0x35dd67))||_0x35dd67);return _0x446782&&_0x35dd67&&_0x276b3e(_0x43f20a,_0x1479f5,_0x35dd67),_0x35dd67;},_0x32c2f2=(_0x3fad34,_0x46b878)=>(_0x511998,_0x40e129)=>_0x46b878(_0x511998,_0x40e129,_0x3fad34);let _0x1fe82a=class extends _0x47ad91[_0x1bf13c(0x583)]{constructor(_0x5ef713,_0x168041,_0x1fd6e3,_0x2cc67a,_0x4085b5){super(_0x5ef713,_0x168041,_0x1fd6e3),this['_transformService']=_0x2cc67a,this['_logService']=_0x4085b5;}[_0x1bf13c(0x28b)](_0x272480,_0x2857bc){const _0x154af5=_0x1bf13c,_0xcd03b8=this['_getUndoStack'](_0x272480);if(_0xcd03b8)try{const _0x11f644=this[_0x154af5(0x28e)](_0xcd03b8,_0x2857bc);this['_substituteUndoStack'](_0x272480,_0x11f644);}catch(_0x3044ae){this[_0x154af5(0x449)][_0x154af5(0x3dd)]('[CollaborationUndoRedoService]',_0x3044ae),this[_0x154af5(0x3c7)](_0x272480);}const _0x27097c=this[_0x154af5(0x560)](_0x272480);if(_0x27097c)try{const _0x49a299=this[_0x154af5(0x28e)](_0x27097c,_0x2857bc);this[_0x154af5(0x443)](_0x272480,_0x49a299);}catch(_0x2445a2){this[_0x154af5(0x449)][_0x154af5(0x3dd)](_0x2445a2),this['_clearRedo'](_0x272480);}}[_0x1bf13c(0x3c7)](_0x5b8027){const _0x2f6ff8=_0x1bf13c,_0x5b50e7=this[_0x2f6ff8(0x3e7)](_0x5b8027);_0x5b50e7&&(_0x5b50e7['length']=0x0,this['_updateStatus']());}[_0x1bf13c(0x1a8)](_0x1c9d28){const _0xf9c8ea=_0x1bf13c,_0x560762=this[_0xf9c8ea(0x560)](_0x1c9d28);_0x560762&&(_0x560762['length']=0x0,this[_0xf9c8ea(0x46c)]());}[_0x1bf13c(0x2ac)](_0x21c478,_0x13ff0f){const _0x5614f3=_0x1bf13c;this['_undoStacks']['set'](_0x21c478,_0x13ff0f),this[_0x5614f3(0x46c)]();}['_substituteRedoStack'](_0x213899,_0x374390){const _0x2b7bf3=_0x1bf13c;this[_0x2b7bf3(0x533)][_0x2b7bf3(0x56b)](_0x213899,_0x374390),this[_0x2b7bf3(0x46c)]();}[_0x1bf13c(0x28e)](_0x3d261c,_0x4651b5){const _0xcdaf17=_0x1bf13c,_0x4777c9=[];let _0xc66a84=_0x4651b5,_0x46410f=_0x4651b5;for(let _0x3eeee3=_0x3d261c[_0xcdaf17(0x557)]-0x1;_0x3eeee3>=0x0;_0x3eeee3--){const {unitID:_0x2dde04,undoMutations:_0x35afdb,redoMutations:_0x55f82b}=_0x3d261c[_0x3eeee3],_0x7f3c4c=this[_0xcdaf17(0x424)][_0xcdaf17(0x388)](_0xc66a84,_0x35afdb),_0x34d797=this[_0xcdaf17(0x424)][_0xcdaf17(0x388)](_0x46410f,_0x55f82b);if(_0x4709b4[_0xcdaf17(0x4f8)](_0x7f3c4c)||_0x4709b4['isTransformMutationsWithChangesetFailure'](_0x34d797)){this[_0xcdaf17(0x449)][_0xcdaf17(0x3dd)]('[CollaborationUndoRedoService]',_0xcdaf17(0x1e2),_0x7f3c4c,_0x34d797);break;}_0xc66a84=_0x7f3c4c[_0xcdaf17(0x22a)],_0x46410f=_0x34d797[_0xcdaf17(0x22a)],_0x4777c9[_0xcdaf17(0x44c)]({'unitID':_0x2dde04,'undoMutations':_0x7f3c4c['m2Prime'],'redoMutations':_0x34d797['m2Prime']});}return _0x4777c9['reverse']();}};_0x1fe82a=_0x2f88cf([_0x32c2f2(0x0,_0x47ad91['IUniverInstanceService']),_0x32c2f2(0x1,_0x47ad91[_0x1bf13c(0x226)]),_0x32c2f2(0x2,_0x47ad91[_0x1bf13c(0x231)]),_0x32c2f2(0x3,_0x4709b4[_0x1bf13c(0x516)]),_0x32c2f2(0x4,_0x47ad91[_0x1bf13c(0x32d)])],_0x1fe82a);class _0x50d310 extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(){const _0x4bd9ee=_0x1bf13c;super(),_0x41c7d7(this,_0x4bd9ee(0x383)),this[_0x4bd9ee(0x383)]=_0x255eda[_0x4bd9ee(0x35f)](window,_0x4bd9ee(0x1bf))[_0x4bd9ee(0x38c)](_0x255eda[_0x4bd9ee(0x4d0)](this[_0x4bd9ee(0x517)]),_0x255eda[_0x4bd9ee(0x379)](0x1),_0x255eda[_0x4bd9ee(0x218)](void 0x0));}['setParam'](_0x446d00,_0x1b194b,_0x5218bc=!0x1){const _0x173b33=_0x1bf13c,_0x4f0e9a=new URL(window[_0x173b33(0x301)][_0x173b33(0x374)]);_0x4f0e9a['searchParams'][_0x173b33(0x56b)](_0x446d00,_0x1b194b),_0x5218bc?window['history'][_0x173b33(0x2a8)]('','',_0x4f0e9a[_0x173b33(0x493)]()):window['history']['pushState']('','',_0x4f0e9a[_0x173b33(0x493)]());}[_0x1bf13c(0x21f)](_0x33f03a,_0x1d210b=!0x1){const _0x436851=_0x1bf13c,_0x33c0fa=new URL(window['location'][_0x436851(0x374)]);_0x33c0fa['searchParams']['delete'](_0x33f03a),_0x1d210b?window[_0x436851(0x535)]['replaceState']('','',_0x33c0fa[_0x436851(0x493)]()):window['history']['pushState']('','',_0x33c0fa[_0x436851(0x493)]());}['getParam'](_0x6ad9d2){const _0x371127=_0x1bf13c;var _0x2945ea;return(_0x2945ea=new URL(window[_0x371127(0x301)][_0x371127(0x374)])[_0x371127(0x2ce)][_0x371127(0x369)](_0x6ad9d2))!=null?_0x2945ea:void 0x0;}}const _0x4900ae=_0x1bf13c(0x2d0),_0x2b427f=_0x1bf13c(0x25e),_0x386b52='collab-rect-range-',_0x383ea3=0x6,_0x563f7e=1.5,_0x58fd29=0x4,_0xe7596c=1.5,_0x21fb2a='rgba(255,\x20255,\x20255,\x200.01)';class _0x29aa7a{constructor(_0x5af230,_0x5e89c9,_0x13bdd4,_0x7c208e){const _0x300100=_0x1bf13c;_0x41c7d7(this,_0x300100(0x281),[]),_0x41c7d7(this,'_anchor',null),_0x41c7d7(this,_0x300100(0x48a),null),_0x41c7d7(this,'_anchorDot',null),_0x41c7d7(this,_0x300100(0x2e2),null),_0x41c7d7(this,_0x300100(0x261),null),(this[_0x300100(0x52e)]=_0x5af230,this[_0x300100(0x4cf)]=_0x5e89c9,this[_0x300100(0x406)]=_0x13bdd4,this[_0x300100(0x311)]=_0x7c208e,this[_0x300100(0x355)]());}set['_hover'](_0x4ba49c){const _0xdb0aab=_0x1bf13c;_0x4ba49c?(this[_0xdb0aab(0x492)]&&this['_anchorDot'][_0xdb0aab(0x291)](),this[_0xdb0aab(0x48a)]&&this[_0xdb0aab(0x48a)][_0xdb0aab(0x48b)]()):(this[_0xdb0aab(0x492)]&&this[_0xdb0aab(0x492)]['show'](),this[_0xdb0aab(0x48a)]&&this[_0xdb0aab(0x48a)]['hide']());}['dispose'](){const _0x33f6b2=_0x1bf13c;for(const _0x4d535a of this[_0x33f6b2(0x281)])_0x4d535a['dispose']();this[_0x33f6b2(0x48a)]&&this[_0x33f6b2(0x48a)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x33f6b2(0x4db)](),this[_0x33f6b2(0x431)]&&this['_anchor'][_0x33f6b2(0x4db)](),this[_0x33f6b2(0x261)]&&this[_0x33f6b2(0x261)]();}['_render'](){const _0x147687=_0x1bf13c;var _0x516e84;const {_docSkeleton:_0x1f7d8c,_document:_0x39507c}=this,{color:_0x3395e8,name:_0x1d8913,ranges:_0x1c208b}=this[_0x147687(0x52e)],_0x220598=_0x39507c[_0x147687(0x293)](),{docsLeft:_0x5392ed,docsTop:_0xcf10c1}=_0x220598,_0x5f40cb=new _0xba1502[(_0x147687(0x30e))](_0x220598,_0x1f7d8c);for(const {startOffset:_0xbf8668,endOffset:_0x155348,collapsed:_0x1b69ef,isActive:_0x250850}of _0x1c208b){const _0x4054e6=_0x1f7d8c['findNodePositionByCharIndex'](_0xbf8668),_0x4867fc=_0x1f7d8c[_0x147687(0x1ea)](_0x155348);if(_0x250850){const {contentBoxPointGroup:_0x2d4c61}=_0x5f40cb['getRangePointData'](_0x4867fc,_0x4867fc);if(_0x2d4c61['length']===0x0)continue;this['_drawAnchor'](_0x3395e8,_0x2d4c61,_0x5392ed,_0xcf10c1,_0x1d8913),this[_0x147687(0x261)]=this[_0x147687(0x2c0)]();}if(!_0x1b69ef&&_0x4054e6&&_0x4867fc){if(_0xba1502['isValidRectRange'](_0x4054e6,_0x4867fc)){const _0xe40114=new _0xba1502[(_0x147687(0x2da))](_0x220598,_0x1f7d8c),{pointGroup:_0x4e5236}=(_0x516e84=_0xe40114['getRangePointData'](_0x4054e6,_0x4867fc))!=null?_0x516e84:{};if(_0x4e5236==null||_0x4e5236[_0x147687(0x557)]===0x0)continue;this[_0x147687(0x2f8)](_0x3395e8,_0x4e5236,_0x5392ed,_0xcf10c1);}else{const {contentBoxPointGroup:_0x38cb7c}=_0x5f40cb['getRangePointData'](_0x4054e6,_0x4867fc);if(_0x38cb7c['length']===0x0)continue;this[_0x147687(0x20b)](_0x3395e8,_0x38cb7c,_0x5392ed,_0xcf10c1);}}}}['_drawAnchor'](_0x1f77d4,_0x1e67ff,_0x1d059d,_0x1e4a0e,_0x31e69d){const _0x509137=_0x1bf13c,_0x51c85f=this[_0x509137(0x327)](_0x1e67ff),{left:_0x4af89e,top:_0x400c81,height:_0x1940e4}=_0x51c85f,_0x2e60e1=this[_0x509137(0x460)](),_0x1326dd=_0xe7596c/_0x2e60e1,_0x12ab42=new _0xba1502[(_0x509137(0x399))](_0x4900ae+_0x47ad91['Tools']['generateRandomId'](_0x383ea3),{'left':_0x4af89e+_0x1d059d-_0x1326dd,'top':_0x400c81+_0x1e4a0e,'height':_0x1940e4,'width':_0x563f7e,'fill':_0x1f77d4||_0xba1502[_0x509137(0x588)](_0x47ad91[_0x509137(0x4b6)][_0x509137(0x430)],0x0),'strokeWidth':_0x1326dd,'stroke':_0x21fb2a,'evented':!0x0});this[_0x509137(0x431)]=_0x12ab42,this[_0x509137(0x4cf)][_0x509137(0x50a)](_0x12ab42,_0xba1502[_0x509137(0x54b)]);const _0x5ca4e7=new _0xba1502[(_0x509137(0x399))](_0x4900ae+_0x47ad91['Tools'][_0x509137(0x254)](_0x383ea3),{'left':_0x4af89e+_0x1d059d-_0x1326dd,'top':_0x400c81+_0x1e4a0e-_0x58fd29/0x2,'height':_0x58fd29,'width':_0x58fd29,'fill':_0x1f77d4||_0xba1502[_0x509137(0x588)](_0x47ad91['COLORS'][_0x509137(0x430)],0x0),'strokeWidth':0x0,'stroke':_0x1f77d4||_0xba1502[_0x509137(0x588)](_0x47ad91['COLORS'][_0x509137(0x430)],0x0),'evented':!0x1});this[_0x509137(0x492)]=_0x5ca4e7,this[_0x509137(0x4cf)][_0x509137(0x50a)](_0x5ca4e7,_0xba1502[_0x509137(0x54b)]);const _0x3b6cd5=new _0x27e262(_0x4900ae+_0x47ad91[_0x509137(0x24a)][_0x509137(0x254)](_0x383ea3),{'left':_0x4af89e+_0x1d059d-_0x1326dd,'top':_0x400c81+_0x1e4a0e-_0x154e90,'text':_0x31e69d,'color':_0x1f77d4});this[_0x509137(0x48a)]=_0x3b6cd5,this['_scene'][_0x509137(0x50a)](_0x3b6cd5,_0xba1502['TEXT_RANGE_LAYER_INDEX']),this[_0x509137(0x2fc)]=!0x1;}[_0x1bf13c(0x2c0)](){const _0x25263c=_0x1bf13c,_0x13e641=this['_anchor'][_0x25263c(0x362)]['subscribeEvent'](()=>{const _0x39e3d1=_0x25263c;this[_0x39e3d1(0x2fc)]=!0x0;}),_0x4a7c40=this[_0x25263c(0x431)]['onPointerLeave$'][_0x25263c(0x2f3)](()=>{const _0x19d457=_0x25263c;this['_hideTimer']&&clearTimeout(this[_0x19d457(0x2e2)]),this[_0x19d457(0x2e2)]=setTimeout(()=>{const _0x56d49f=_0x19d457;this[_0x56d49f(0x2fc)]=!0x1;},0x7d0);});return()=>{const _0x2a9eb4=_0x25263c;_0x13e641[_0x2a9eb4(0x33d)](),_0x4a7c40[_0x2a9eb4(0x33d)]();};}['_drawTextRange'](_0x278cae,_0x3bed64,_0x1b6b20,_0x5e4619){const _0x587c64=_0x1bf13c,_0x203a40=new _0x47ad91[(_0x587c64(0x4b3))](_0x278cae)[_0x587c64(0x403)](0.2)[_0x587c64(0x3f6)](),_0x286225=new _0xba1502[(_0x587c64(0x409))](_0x2b427f+_0x47ad91[_0x587c64(0x24a)][_0x587c64(0x254)](_0x383ea3),{'pointsGroup':_0x3bed64,'fill':_0x203a40||_0xba1502[_0x587c64(0x588)](_0x47ad91[_0x587c64(0x4b6)][_0x587c64(0x430)],0.2),'left':_0x1b6b20,'top':_0x5e4619,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x587c64(0x281)][_0x587c64(0x44c)](_0x286225),this[_0x587c64(0x4cf)][_0x587c64(0x50a)](_0x286225,_0xba1502[_0x587c64(0x54b)]);}['_drawRectRange'](_0x50634f,_0x542833,_0x240549,_0x3ed393){const _0x2ce93c=_0x1bf13c,_0x4a71af=new _0x47ad91[(_0x2ce93c(0x4b3))](_0x50634f)[_0x2ce93c(0x403)](0.2)[_0x2ce93c(0x3f6)](),_0x59a91d=new _0xba1502['RegularPolygon'](_0x386b52+_0x47ad91[_0x2ce93c(0x24a)][_0x2ce93c(0x254)](_0x383ea3),{'pointsGroup':_0x542833,'fill':_0x4a71af||_0xba1502['getColor'](_0x47ad91['COLORS'][_0x2ce93c(0x430)],0.2),'left':_0x240549,'top':_0x3ed393,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2ce93c(0x281)]['push'](_0x59a91d),this[_0x2ce93c(0x4cf)][_0x2ce93c(0x50a)](_0x59a91d,_0xba1502[_0x2ce93c(0x54b)]);}['_getAnchorBounding'](_0x4cc702){const _0x291397=_0x4cc702[0x0],_0x1be010=_0x291397[0x0],_0x5a367e=_0x291397[0x2],{x:_0x5da573,y:_0x52f412}=_0x1be010,{x:_0x1a11fc,y:_0x26b1a3}=_0x5a367e;return{'left':_0x5da573,'top':_0x52f412,'width':_0x1a11fc-_0x5da573,'height':_0x26b1a3-_0x52f412};}[_0x1bf13c(0x460)](){const _0x874a97=_0x1bf13c,{scaleX:_0x170b3a,scaleY:_0x41cf03}=this[_0x874a97(0x4cf)][_0x874a97(0x4e9)]();return Math[_0x874a97(0x3df)](_0x170b3a,_0x41cf03);}}var _0x57171e=Object['defineProperty'],_0x4aee22=Object[_0x1bf13c(0x523)],_0xce2fa2=(_0x3c4b59,_0x2f7815,_0x3d6f49,_0x1b3fa0)=>{const _0x17f773=_0x1bf13c;for(var _0x33af66=_0x1b3fa0>0x1?void 0x0:_0x1b3fa0?_0x4aee22(_0x2f7815,_0x3d6f49):_0x2f7815,_0x13850a=_0x3c4b59[_0x17f773(0x557)]-0x1,_0x18b4bc;_0x13850a>=0x0;_0x13850a--)(_0x18b4bc=_0x3c4b59[_0x13850a])&&(_0x33af66=(_0x1b3fa0?_0x18b4bc(_0x2f7815,_0x3d6f49,_0x33af66):_0x18b4bc(_0x33af66))||_0x33af66);return _0x1b3fa0&&_0x33af66&&_0x57171e(_0x2f7815,_0x3d6f49,_0x33af66),_0x33af66;},_0x2d53d1=(_0x26f723,_0x22cb38)=>(_0x2f608a,_0x29a2a8)=>_0x22cb38(_0x2f608a,_0x29a2a8,_0x26f723);let _0x231699=class extends _0x47ad91['RxDisposable']{constructor(_0x420d17,_0x3576e8,_0x33860d,_0x3d112b,_0x98f643){const _0x4007e7=_0x1bf13c;super(),_0x41c7d7(this,_0x4007e7(0x1a0),[]),_0x41c7d7(this,_0x4007e7(0x194),[]),(this[_0x4007e7(0x54e)]=_0x420d17,this[_0x4007e7(0x373)]=_0x3576e8,this[_0x4007e7(0x427)]=_0x33860d,this['_commandService']=_0x3d112b,this['_themeService']=_0x98f643,this[_0x4007e7(0x336)]());}[_0x1bf13c(0x336)](){const _0x2f210b=_0x1bf13c,_0x59bdb7=this[_0x2f210b(0x54e)][_0x2f210b(0x206)],_0x3a22f8=this[_0x2f210b(0x373)];this[_0x2f210b(0x27f)](_0x255eda[_0x2f210b(0x438)]([this[_0x2f210b(0x427)][_0x2f210b(0x352)](_0x59bdb7),this['_themeService'][_0x2f210b(0x3ba)]])['pipe'](_0x335e20[_0x2f210b(0x3be)](([_0x45b161,_0x268e62])=>({'skeleton':_0x3a22f8['getSkeleton'](),'cursors':[..._0x45b161['values']()][_0x2f210b(0x416)](_0x27cf93=>({..._0x27cf93,'color':_0x268e62[_0x27cf93[_0x2f210b(0x534)]]}))})))[_0x2f210b(0x3db)](_0x5b3a0a=>{const _0x3c08fe=_0x2f210b;if(this['_removeCollabCursors'](),_0x5b3a0a){const {skeleton:_0x3928c3,cursors:_0x34c14b}=_0x5b3a0a;this[_0x3c08fe(0x498)](_0x3928c3,_0x34c14b);}})),this[_0x2f210b(0x1bd)](),this['_initCommandExecutedListener']();}[_0x1bf13c(0x498)](_0x1dd143,_0xc40076){const _0x2c2fba=_0x1bf13c,{scene:_0x10f80f,mainComponent:_0x19243c}=this[_0x2c2fba(0x54e)],_0x29912b=_0xc40076[_0x2c2fba(0x3be)](_0x559eb7=>new _0x29aa7a(_0x559eb7,_0x10f80f,_0x1dd143,_0x19243c));this[_0x2c2fba(0x1a0)]=_0x29912b,this[_0x2c2fba(0x194)]=_0xc40076;}[_0x1bf13c(0x2d5)](){const _0x30f0c9=_0x1bf13c;this[_0x30f0c9(0x42e)]();const {scene:_0x3974ca,mainComponent:_0x3dea15}=this[_0x30f0c9(0x54e)],_0x126bf7=this['_docSkeletonManagerService'][_0x30f0c9(0x288)](),_0xb04644=this[_0x30f0c9(0x194)]['map'](_0x2376b4=>new _0x29aa7a(_0x2376b4,_0x3974ca,_0x126bf7,_0x3dea15));this['_cursorShapes']=_0xb04644;}[_0x1bf13c(0x42e)](){const _0x59807f=_0x1bf13c;this[_0x59807f(0x1a0)]['forEach'](_0x2cb058=>_0x2cb058[_0x59807f(0x4db)]()),this[_0x59807f(0x1a0)]=[];}[_0x1bf13c(0x1e8)](){const _0x342a54=_0x1bf13c,_0x39b08c=[_0x2ac904['SetDocZoomRatioOperation']['id']];this[_0x342a54(0x27f)](this[_0x342a54(0x508)][_0x342a54(0x28d)](_0x2583a3=>{const _0x2b608c=_0x342a54;_0x39b08c[_0x2b608c(0x299)](_0x2583a3['id'])&&_0x2583a3['params'][_0x2b608c(0x206)]===this[_0x2b608c(0x54e)][_0x2b608c(0x206)]&&this[_0x2b608c(0x2d5)]();}));}[_0x1bf13c(0x1bd)](){const _0x570907=_0x1bf13c;this['disposeWithMe'](_0x47ad91['fromEventSubject'](this[_0x570907(0x54e)][_0x570907(0x50f)][_0x570907(0x302)])[_0x570907(0x38c)](_0x335e20[_0x570907(0x591)](_0xacd1f3=>_0xacd1f3['type']===_0xba1502['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x570907(0x551)]),_0x335e20['throttleTime'](0x10))[_0x570907(0x3db)](()=>{const _0x2ff0ac=_0x570907;this[_0x2ff0ac(0x2d5)]();}));}};_0x231699=_0xce2fa2([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x309)],_0x231699),_0x2d53d1(0x1,_0x47ad91[_0x1bf13c(0x483)](_0x2ac904['DocSkeletonManagerService'])),_0x2d53d1(0x2,_0x47ad91['Inject'](_0x464c11)),_0x2d53d1(0x3,_0x47ad91[_0x1bf13c(0x226)]),_0x2d53d1(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x54c)]))],_0x231699);var _0x485dee=Object['defineProperty'],_0x2fb911=Object['getOwnPropertyDescriptor'],_0x42a5a8=(_0x36c2e8,_0x3225a5,_0xbc2deb,_0x275f16)=>{for(var _0x33319c=_0x275f16>0x1?void 0x0:_0x275f16?_0x2fb911(_0x3225a5,_0xbc2deb):_0x3225a5,_0x49ecbc=_0x36c2e8['length']-0x1,_0x71293c;_0x49ecbc>=0x0;_0x49ecbc--)(_0x71293c=_0x36c2e8[_0x49ecbc])&&(_0x33319c=(_0x275f16?_0x71293c(_0x3225a5,_0xbc2deb,_0x33319c):_0x71293c(_0x33319c))||_0x33319c);return _0x275f16&&_0x33319c&&_0x485dee(_0x3225a5,_0xbc2deb,_0x33319c),_0x33319c;},_0x4256a6=(_0x149d2f,_0x5c2ebc)=>(_0x1ace9b,_0x3c7d59)=>_0x5c2ebc(_0x1ace9b,_0x3c7d59,_0x149d2f);let _0x46f60d=class{constructor(_0x29ef7c,_0x58771c,_0x3ac03d){const _0x1dc504=_0x1bf13c;this['_configService']=_0x29ef7c,this[_0x1dc504(0x235)]=_0x58771c,this[_0x1dc504(0x1e7)]=_0x3ac03d,this[_0x1dc504(0x49a)]();}[_0x1bf13c(0x49a)](){const _0x886f1b=_0x1bf13c;this[_0x886f1b(0x235)][_0x886f1b(0x4ef)]({'priority':0x1,'interceptor':(_0x24b761,_0x4eec69)=>_0x4eec69(_0x24b761)[_0x886f1b(0x38c)](_0x255eda[_0x886f1b(0x4c8)](async _0x40d87b=>{const _0x479d61=_0x886f1b,_0x45a6ea=_0x40d87b;if(_0x45a6ea[_0x479d61(0x256)]===0x191&&window[_0x479d61(0x46f)](this[_0x479d61(0x1e7)]['t']('auth.needGotoLoginAlert'))){const _0x268917=window[_0x479d61(0x4a4)](window[_0x479d61(0x301)][_0x479d61(0x374)]);window[_0x479d61(0x301)][_0x479d61(0x374)]=this['_getLoginPath']()+_0x479d61(0x248)+_0x268917;}return _0x45a6ea;}))});}[_0x1bf13c(0x310)](){const _0x4860d9=_0x1bf13c;var _0x8db7c2;return(_0x8db7c2=this[_0x4860d9(0x4eb)][_0x4860d9(0x4dd)](_0x44e1d9))!=null?_0x8db7c2:_0x3fa505;}};_0x46f60d=_0x42a5a8([_0x4256a6(0x0,_0x47ad91['IConfigService']),_0x4256a6(0x1,_0x47ad91['Inject'](_0x125bb1[_0x1bf13c(0x548)])),_0x4256a6(0x2,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['LocaleService']))],_0x46f60d);var _0xa22281=Object['defineProperty'],_0x5c274b=Object[_0x1bf13c(0x523)],_0x51f168=(_0x1fc6db,_0x4ba4e2,_0x137a6b,_0x4bd749)=>{const _0x158bd8=_0x1bf13c;for(var _0x43676c=_0x4bd749>0x1?void 0x0:_0x4bd749?_0x5c274b(_0x4ba4e2,_0x137a6b):_0x4ba4e2,_0x546abd=_0x1fc6db[_0x158bd8(0x557)]-0x1,_0x51e23e;_0x546abd>=0x0;_0x546abd--)(_0x51e23e=_0x1fc6db[_0x546abd])&&(_0x43676c=(_0x4bd749?_0x51e23e(_0x4ba4e2,_0x137a6b,_0x43676c):_0x51e23e(_0x43676c))||_0x43676c);return _0x4bd749&&_0x43676c&&_0xa22281(_0x4ba4e2,_0x137a6b,_0x43676c),_0x43676c;},_0x2691c9=(_0xd2e433,_0x51beff)=>(_0x5e0cf9,_0x5dfb00)=>_0x51beff(_0x5e0cf9,_0x5dfb00,_0xd2e433);const _0x1f5d84=_0x1bf13c(0x1cb),_0x4dd066=_0x1bf13c(0x21c);_0x490b22[_0x1bf13c(0x323)]=class extends _0x47ad91[_0x1bf13c(0x1a6)]{constructor(_0xc63a44,_0x1b130a){const _0x5ca0c7=_0x1bf13c;super(),this['_HTTPService']=_0xc63a44,this[_0x5ca0c7(0x4eb)]=_0x1b130a,this[_0x5ca0c7(0x243)]();}[_0x1bf13c(0x243)](){const _0x203255=_0x1bf13c,_0x131117=this;this[_0x203255(0x27f)](this[_0x203255(0x30f)][_0x203255(0x4ef)]({'priority':0x3e7,'interceptor':_0x125bb1[_0x203255(0x31a)]({'isMatch'(_0x359f00){const _0x1cb307=_0x203255;var _0x3d35da;if(_0x359f00[_0x1cb307(0x2d6)]===_0x1cb307(0x3f9)&&((_0x3d35da=_0x359f00['requestParams'])!=null&&_0x3d35da[_0x1cb307(0x432)])){const {objectID:_0x126ff1,objectType:_0x5937b8}=_0x359f00[_0x1cb307(0x575)][_0x1cb307(0x432)]||{};if(!_0x126ff1||_0x5937b8===void 0x0)return!0x1;const _0x50f9e9=_0x131117[_0x1cb307(0x24d)]()+'/'+_0x5937b8+'/object/'+_0x126ff1+_0x1cb307(0x4c9);if(_0x359f00[_0x1cb307(0x51d)]===_0x50f9e9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x28dd5c){var _0x5b2267;return(_0x5b2267=_0x28dd5c['requestParams'])==null?void 0x0:_0x5b2267['body'];},'mergeParamsToRequest'(_0x52dbe0,_0x1332f0){const _0x57748a=_0x203255,_0x4389b8=_0x131117[_0x57748a(0x24d)]()+_0x57748a(0x577),_0x5b28fc=_0x52dbe0['reduce']((_0x3d3624,_0x1615f3)=>{const _0x5e24d7=_0x57748a,{unitID:_0x1fa09c,objectID:_0x1ea53e,objectType:_0x292ea8,actions:_0x52e721}=_0x1615f3;return _0x3d3624[_0x1fa09c]||(_0x3d3624[_0x1fa09c]={}),_0x3d3624[_0x1fa09c][_0x1ea53e]||(_0x3d3624[_0x1fa09c][_0x1ea53e]={'objectID':_0x1ea53e,'objectType':_0x292ea8,'actions':[]}),_0x3d3624[_0x1fa09c][_0x1ea53e][_0x5e24d7(0x4ad)][_0x5e24d7(0x44c)](..._0x52e721),_0x3d3624;},{}),_0x57c427=[];for(const _0x3bac78 in _0x5b28fc)for(const _0x46d038 in _0x5b28fc[_0x3bac78]){const {actions:_0x30fc16,objectType:_0x4014ae}=_0x5b28fc[_0x3bac78][_0x46d038],_0x222774=[...new Set(_0x30fc16)];_0x57c427[_0x57748a(0x44c)]({'unitID':_0x3bac78,'objectID':_0x46d038,'objectType':_0x4014ae,'actions':_0x222774});}return new _0x125bb1[(_0x57748a(0x34d))]('POST',_0x4389b8,{'headers':_0x1332f0[_0x57748a(0x2ae)],'withCredentials':_0x1332f0['withCredentials'],'responseType':_0x1332f0[_0x57748a(0x501)],'body':{'requests':_0x57c427}});}},{'distributeResult'(_0x2a5ddd,_0x48b876){const _0x222df1=_0x203255,{objectActions:_0x1d3815}=_0x2a5ddd;return _0x48b876[_0x222df1(0x3be)](_0x40fc1f=>{const _0xaeda3d=_0x222df1,{unitID:_0x342689,objectID:_0x468f08,actions:_0x13254b}=_0x40fc1f,_0x473d78=_0x1d3815[_0xaeda3d(0x579)](_0x4f465d=>_0x4f465d[_0xaeda3d(0x210)]===_0x342689&&_0x4f465d[_0xaeda3d(0x308)]===_0x468f08),_0x2f1116=_0x13254b[_0xaeda3d(0x3be)](_0xd5a951=>_0x473d78==null?void 0x0:_0x473d78['actions']['find'](_0x4181cc=>_0x4181cc[_0xaeda3d(0x363)]===_0xd5a951))[_0xaeda3d(0x591)](_0x4ed652=>!!_0x4ed652);return{'config':_0x40fc1f,'result':{'actions':_0x2f1116,'error':_0x2a5ddd[_0xaeda3d(0x3dd)]}};});}})}));}[_0x1bf13c(0x24d)](){const _0x1303b7=_0x1bf13c;var _0xe6a0;return(_0xe6a0=this[_0x1303b7(0x4eb)]['getConfig'](_0x1f5d84))!=null?_0xe6a0:_0x4dd066;}async[_0x1bf13c(0x578)](_0x50afa4){const _0x4e0da5=_0x1bf13c,_0x51f061=this[_0x4e0da5(0x24d)]()+'/'+_0x50afa4[_0x4e0da5(0x3f3)]+'/object';return(await this['_HTTPService'][_0x4e0da5(0x491)](_0x51f061,{'body':_0x50afa4}))['body'][_0x4e0da5(0x308)]||'';}async[_0x1bf13c(0x258)](_0x1046fb){const _0x12bdca=_0x1bf13c,_0x4ff2a0=this[_0x12bdca(0x24d)]()+_0x12bdca(0x526);return(await this[_0x12bdca(0x30f)][_0x12bdca(0x491)](_0x4ff2a0,{'body':_0x1046fb}))['body'][_0x12bdca(0x3c3)];}async['update'](_0x514dff){const _0x5d29c9=_0x1bf13c,_0x2d7d8c=this[_0x5d29c9(0x24d)]()+'/'+_0x514dff[_0x5d29c9(0x3f3)]+_0x5d29c9(0x23d)+_0x514dff[_0x5d29c9(0x308)];await this['_HTTPService'][_0x5d29c9(0x358)](_0x2d7d8c,{'body':_0x514dff});}async[_0x1bf13c(0x272)](_0x31dae3){const _0x42c13f=_0x1bf13c,_0x583e6c=this[_0x42c13f(0x24d)]()+'/'+_0x31dae3[_0x42c13f(0x3f3)]+'/object/'+_0x31dae3[_0x42c13f(0x308)]+_0x42c13f(0x4c9);return(await this[_0x42c13f(0x30f)]['post'](_0x583e6c,{'body':_0x31dae3}))['body']['actions'];}async[_0x1bf13c(0x46b)](_0xde938){const _0x2cb7f4=_0x1bf13c,_0x53b33a=this[_0x2cb7f4(0x24d)]()+'/-/object/-/batch_allowed';return(await this[_0x2cb7f4(0x30f)][_0x2cb7f4(0x491)](_0x53b33a,{'body':{'requests':_0xde938}}))[_0x2cb7f4(0x432)][_0x2cb7f4(0x1d8)];}async[_0x1bf13c(0x312)](_0x2f78ac){const _0x1b38c8=_0x1bf13c,_0x5108da=this[_0x1b38c8(0x24d)]()+'/'+_0x2f78ac['objectType']+'/role',_0x35bf40=await this[_0x1b38c8(0x30f)][_0x1b38c8(0x491)](_0x5108da,{'body':_0x2f78ac});return{'roles':_0x35bf40[_0x1b38c8(0x432)][_0x1b38c8(0x2dc)],'actions':_0x35bf40[_0x1b38c8(0x432)]['actions']};}async[_0x1bf13c(0x2e0)](_0x2a7cc2){const _0x58d509=_0x1bf13c,_0x4a8a28=this[_0x58d509(0x24d)]()+'/collaborator';await this[_0x58d509(0x30f)][_0x58d509(0x1c3)](_0x4a8a28,{'params':{'collaboratorID':_0x2a7cc2[_0x58d509(0x536)],'objectID':_0x2a7cc2[_0x58d509(0x308)],'unitID':_0x2a7cc2[_0x58d509(0x210)]}});}async[_0x1bf13c(0x34c)](_0x3ce483){const _0x2cbf13=_0x1bf13c,_0x1ef48f=this[_0x2cbf13(0x24d)]()+'/collaborator';await this[_0x2cbf13(0x30f)][_0x2cbf13(0x556)](_0x1ef48f,{'body':_0x3ce483});}async['createCollaborator'](_0x53c3f6){const _0xd39ab=_0x1bf13c,_0x1e7d71=this[_0xd39ab(0x24d)]()+_0xd39ab(0x3ee);await this['_HTTPService'][_0xd39ab(0x491)](_0x1e7d71,{'body':_0x53c3f6});}async[_0x1bf13c(0x381)](_0x1c8bdf){const _0x317c3b=_0x1bf13c,_0x26aa2f=this['_getAPIPrefixPath']()+_0x317c3b(0x3ee);return(await this[_0x317c3b(0x30f)][_0x317c3b(0x369)](_0x26aa2f,{'params':{'objectID':_0x1c8bdf['objectID'],'unitID':_0x1c8bdf[_0x317c3b(0x210)]}}))[_0x317c3b(0x432)][_0x317c3b(0x587)];}async[_0x1bf13c(0x51f)](_0x2e39cf){const _0x4546bc=_0x1bf13c,_0x87a7f7=this[_0x4546bc(0x24d)]()+'/collaborator';await this[_0x4546bc(0x30f)][_0x4546bc(0x358)](_0x87a7f7,{'body':_0x2e39cf});}},_0x490b22['AuthzIoHttpService']=_0x51f168([_0x2691c9(0x0,_0x47ad91['Inject'](_0x125bb1[_0x1bf13c(0x548)])),_0x2691c9(0x1,_0x47ad91['Inject'](_0x47ad91['IConfigService']))],_0x490b22[_0x1bf13c(0x323)]);var _0x41a318=Object[_0x1bf13c(0x1f5)],_0x37527d=Object[_0x1bf13c(0x523)],_0x47a7fe=(_0x3c7279,_0x24a388,_0x2800a9,_0x4578b1)=>{const _0x1eb2b1=_0x1bf13c;for(var _0x1691e3=_0x4578b1>0x1?void 0x0:_0x4578b1?_0x37527d(_0x24a388,_0x2800a9):_0x24a388,_0x24f625=_0x3c7279[_0x1eb2b1(0x557)]-0x1,_0xf50d65;_0x24f625>=0x0;_0x24f625--)(_0xf50d65=_0x3c7279[_0x24f625])&&(_0x1691e3=(_0x4578b1?_0xf50d65(_0x24a388,_0x2800a9,_0x1691e3):_0xf50d65(_0x1691e3))||_0x1691e3);return _0x4578b1&&_0x1691e3&&_0x41a318(_0x24a388,_0x2800a9,_0x1691e3),_0x1691e3;},_0x2d48bb=(_0x52e38d,_0xed9c34)=>(_0x54c4a4,_0x3bc128)=>_0xed9c34(_0x54c4a4,_0x3bc128,_0x52e38d);const _0x2494e2=[_0x1bf13c(0x19f),_0x1bf13c(0x1f7),_0x1bf13c(0x2c7),'image/gif','image/bmp'],_0x297173=0x5*0x400*0x400,_0x3f61b0=_0x1bf13c(0x392),_0x88e893='/universer-api/stream/file/upload',_0x293e10=_0x1bf13c(0x429),_0x4f8419='/universer-api/file/{fileID}/sign-url';_0x490b22[_0x1bf13c(0x274)]=class{constructor(_0x1cfbd7,_0x2a0150){const _0x4b98c4=_0x1bf13c;_0x41c7d7(this,'_waitCount',0x0),_0x41c7d7(this,_0x4b98c4(0x50c),new _0x255eda[(_0x4b98c4(0x329))]()),_0x41c7d7(this,'change$',this[_0x4b98c4(0x50c)]),_0x41c7d7(this,_0x4b98c4(0x408),new Map()),(this[_0x4b98c4(0x235)]=_0x1cfbd7,this['_configService']=_0x2a0150);}[_0x1bf13c(0x1f9)](_0x26bcfe){const _0x1b2e11=_0x1bf13c;this[_0x1b2e11(0x376)]=_0x26bcfe,this['_change$']['next'](_0x26bcfe);}[_0x1bf13c(0x506)](_0x2df2ac,_0x2a2f3d){const _0x9d3f45=_0x1bf13c;if(_0x2a2f3d===_0x1fdac8[_0x9d3f45(0x1ba)][_0x9d3f45(0x2d8)]){const _0x3bca84=new Image();return _0x3bca84['src']=_0x2df2ac,_0x3bca84;}return this[_0x9d3f45(0x408)]['get'](_0x2df2ac);}[_0x1bf13c(0x19d)](_0x6add12,_0x38fb4a,_0x2a3665){const _0x41665b=_0x1bf13c;_0x38fb4a===_0x1fdac8[_0x41665b(0x1ba)][_0x41665b(0x2d8)]||_0x2a3665==null||this[_0x41665b(0x408)][_0x41665b(0x56b)](_0x6add12,_0x2a3665);}async['getImage'](_0x2c31a4){const _0x162078=_0x1bf13c;try{const _0x3a4459=this[_0x162078(0x1d3)](this[_0x162078(0x24c)](),''+_0x2c31a4),_0x42034f=(await this[_0x162078(0x235)][_0x162078(0x369)](_0x3a4459))[_0x162078(0x432)];return _0x42034f['error']&&_0x42034f[_0x162078(0x3dd)]['code']===_0x427b30['OK']?Promise[_0x162078(0x2cd)](_0x42034f[_0x162078(0x51d)]):Promise[_0x162078(0x52c)](_0x42034f[_0x162078(0x3dd)]);}catch(_0x40a20a){return Promise[_0x162078(0x52c)](_0x40a20a);}}async[_0x1bf13c(0x43a)](_0x428cbf){const _0x40b3e4=_0x1bf13c;let _0x458d66='';if(!_0x2494e2[_0x40b3e4(0x299)](_0x428cbf[_0x40b3e4(0x3e3)]))return this[_0x40b3e4(0x242)](),Promise[_0x40b3e4(0x52c)](new Error(_0x1fdac8[_0x40b3e4(0x1d2)][_0x40b3e4(0x3c8)]));if(_0x428cbf[_0x40b3e4(0x3ab)]>_0x297173)return this[_0x40b3e4(0x242)](),Promise[_0x40b3e4(0x52c)](new Error(_0x1fdac8['ImageUploadStatusType'][_0x40b3e4(0x446)]));try{const _0x2c83b8=new FormData();_0x2c83b8[_0x40b3e4(0x387)](_0x40b3e4(0x253),_0x428cbf);const _0x48a7b4=this[_0x40b3e4(0x415)]()+_0x40b3e4(0x2c2)+_0x428cbf[_0x40b3e4(0x3ab)][_0x40b3e4(0x493)](),_0xffde6c=await(await fetch(_0x48a7b4,{'method':_0x40b3e4(0x3f9),'body':_0x2c83b8}))[_0x40b3e4(0x1c6)]();if(typeof _0xffde6c[_0x40b3e4(0x3b2)]!=_0x40b3e4(0x549))return this['_decreaseWaiting'](),Promise[_0x40b3e4(0x52c)](new Error(_0x1fdac8[_0x40b3e4(0x1d2)][_0x40b3e4(0x1c0)]));_0x458d66=_0xffde6c[_0x40b3e4(0x3b2)];}catch{return this[_0x40b3e4(0x242)](),Promise[_0x40b3e4(0x52c)](new Error(_0x1fdac8[_0x40b3e4(0x1d2)][_0x40b3e4(0x1c0)]));}return new Promise((_0x5bfc55,_0x31dbfb)=>{const _0x141b30=_0x40b3e4,_0xad786b=new FileReader();_0xad786b['readAsDataURL'](_0x428cbf),_0xad786b[_0x141b30(0x3e0)]=_0x1d4eca=>{const _0x2d9bf9=_0x141b30;var _0x38b8b0;const _0x4c2c08=(_0x38b8b0=_0x1d4eca[_0x2d9bf9(0x3d6)])==null?void 0x0:_0x38b8b0[_0x2d9bf9(0x581)];if(_0x4c2c08==null){this[_0x2d9bf9(0x242)](),_0x31dbfb(new Error(_0x1fdac8['ImageUploadStatusType'][_0x2d9bf9(0x1c0)]));return;}const _0x2b49e7=_0x47ad91[_0x2d9bf9(0x24a)][_0x2d9bf9(0x254)](0x6);_0x5bfc55({'imageId':_0x2b49e7,'imageSourceType':_0x1fdac8[_0x2d9bf9(0x1ba)]['UUID'],'source':_0x458d66,'base64Cache':_0x4c2c08,'status':_0x1fdac8[_0x2d9bf9(0x1d2)][_0x2d9bf9(0x328)]}),this[_0x2d9bf9(0x242)]();};});}[_0x1bf13c(0x415)](){const _0x319b4a=_0x1bf13c;var _0x217398;return(_0x217398=this[_0x319b4a(0x4eb)][_0x319b4a(0x4dd)](_0x3f61b0))!=null?_0x217398:_0x88e893;}[_0x1bf13c(0x24c)](){const _0xcda7a5=_0x1bf13c;var _0x539134;return(_0x539134=this[_0xcda7a5(0x4eb)][_0xcda7a5(0x4dd)](_0x293e10))!=null?_0x539134:_0x4f8419;}[_0x1bf13c(0x1d3)](_0x3f116c,_0x5ed41f){const _0x541820=_0x1bf13c;return _0x3f116c[_0x541820(0x442)]('{fileID}',_0x5ed41f);}[_0x1bf13c(0x242)](){const _0x3a1129=_0x1bf13c;this[_0x3a1129(0x376)]-=0x1,this[_0x3a1129(0x50c)]['next'](this[_0x3a1129(0x376)]);}},_0x490b22[_0x1bf13c(0x274)]=_0x47a7fe([_0x2d48bb(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x125bb1[_0x1bf13c(0x548)])),_0x2d48bb(0x1,_0x47ad91[_0x1bf13c(0x57d)])],_0x490b22[_0x1bf13c(0x274)]);var _0x4ebe4d=Object[_0x1bf13c(0x1f5)],_0x38005c=Object[_0x1bf13c(0x523)],_0x3028d0=(_0x241ff5,_0x1ae36f,_0x4ced97,_0x100e76)=>{for(var _0x48ba44=_0x100e76>0x1?void 0x0:_0x100e76?_0x38005c(_0x1ae36f,_0x4ced97):_0x1ae36f,_0xaa097=_0x241ff5['length']-0x1,_0xd6b7d1;_0xaa097>=0x0;_0xaa097--)(_0xd6b7d1=_0x241ff5[_0xaa097])&&(_0x48ba44=(_0x100e76?_0xd6b7d1(_0x1ae36f,_0x4ced97,_0x48ba44):_0xd6b7d1(_0x48ba44))||_0x48ba44);return _0x100e76&&_0x48ba44&&_0x4ebe4d(_0x1ae36f,_0x4ced97,_0x48ba44),_0x48ba44;},_0x6d9f7c=(_0x578212,_0x33c730)=>(_0x500fc9,_0x29521a)=>_0x33c730(_0x500fc9,_0x29521a,_0x578212);let _0xf2f0e5=class extends _0x47ad91[_0x1bf13c(0x1ee)]{constructor(_0x353284,_0x5f282e,_0x32454b,_0x8cde86,_0x26dc49){const _0x4fc7b7=_0x1bf13c;super(),this['_injector']=_0x353284,this[_0x4fc7b7(0x2a3)]=_0x5f282e,this[_0x4fc7b7(0x4fa)]=_0x32454b,this[_0x4fc7b7(0x227)]=_0x8cde86,this[_0x4fc7b7(0x2eb)]=_0x26dc49,this['_initUnitPermissionChange'](),this[_0x4fc7b7(0x3f4)]();}[_0x1bf13c(0x3f4)](){const _0x4befde=_0x1bf13c,_0x268188=async _0x2dd74b=>{const _0x54a7f4=_0x2921;(await this[_0x54a7f4(0x227)][_0x54a7f4(0x4a9)](_0x2dd74b))['event$'][_0x54a7f4(0x38c)](_0x335e20['filter'](_0x237cfa=>_0x237cfa['eventID']===_0x4709b4[_0x54a7f4(0x1dd)][_0x54a7f4(0x453)]),_0x335e20[_0x54a7f4(0x4d0)](this[_0x54a7f4(0x517)]))[_0x54a7f4(0x3db)](_0x1df2c9=>{const _0x3ff569=_0x54a7f4,_0x105748=_0x1df2c9,{reason:_0xf0d096}=_0x105748[_0x3ff569(0x3c1)];this[_0x3ff569(0x49c)][_0x3ff569(0x369)](_0x33683b[_0x3ff569(0x203)])[_0x3ff569(0x48b)]({'type':_0x2bd9cc[_0x3ff569(0x26a)][_0x3ff569(0x414)],'content':this[_0x3ff569(0x2eb)]['t']('collaboration.closeRoom')+'('+_0xf0d096+')'}),this['_permissionService'][_0x3ff569(0x2e3)](new _0x4b5d67['WorkbookEditablePermission'](_0x2dd74b)['id'],!0x1),this[_0x3ff569(0x227)][_0x3ff569(0x2ba)](_0x2dd74b);});};_0x255eda[_0x4befde(0x57b)](this[_0x4befde(0x2a3)]['getTypeOfUnitAdded$'](_0x47ad91['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x4befde(0x4cd)](_0x47ad91[_0x4befde(0x2f9)][_0x4befde(0x1ac)]))[_0x4befde(0x38c)](_0x335e20['map'](_0x5b9a25=>_0x5b9a25[_0x4befde(0x4d4)]()),_0x335e20[_0x4befde(0x591)](_0x53811f=>!_0x47ad91[_0x4befde(0x509)](_0x53811f)),_0x335e20[_0x4befde(0x4d0)](this[_0x4befde(0x517)]))[_0x4befde(0x3db)](_0x2627b8=>{_0x268188(_0x2627b8);});}[_0x1bf13c(0x214)](){const _0x5a3acc=_0x1bf13c,_0x434f12=async _0x98e6a0=>{const _0x505da1=_0x2921;(await this[_0x505da1(0x227)][_0x505da1(0x4a9)](_0x98e6a0))[_0x505da1(0x29a)][_0x505da1(0x38c)](_0x335e20['filter'](_0x26211e=>_0x26211e[_0x505da1(0x58d)]===_0x4709b4[_0x505da1(0x1dd)][_0x505da1(0x486)]),_0x335e20['takeUntil'](this[_0x505da1(0x517)]))['subscribe'](_0x2c5967=>{const _0x29d1ef=_0x505da1,_0x23538e=_0x2c5967,{objectId:_0xb9bf57}=_0x23538e['data'];_0xb9bf57===_0x98e6a0&&this['_injector'][_0x29d1ef(0x369)](_0x49516c['SheetPermissionInitController'])['initWorkbookPermissionChange'](_0x98e6a0);});};_0x255eda['merge'](this[_0x5a3acc(0x2a3)]['getTypeOfUnitAdded$'](_0x47ad91[_0x5a3acc(0x2f9)][_0x5a3acc(0x4d5)]),this[_0x5a3acc(0x2a3)][_0x5a3acc(0x4cd)](_0x47ad91[_0x5a3acc(0x2f9)][_0x5a3acc(0x1ac)]))['pipe'](_0x335e20[_0x5a3acc(0x3be)](_0x15e1dc=>_0x15e1dc[_0x5a3acc(0x4d4)]()),_0x335e20[_0x5a3acc(0x591)](_0x3508f9=>!_0x47ad91[_0x5a3acc(0x509)](_0x3508f9)),_0x335e20[_0x5a3acc(0x4d0)](this['dispose$']))[_0x5a3acc(0x3db)](_0x5ddb92=>{_0x434f12(_0x5ddb92);});}};_0xf2f0e5=_0x3028d0([_0x47ad91[_0x1bf13c(0x3d5)](_0x47ad91[_0x1bf13c(0x40b)][_0x1bf13c(0x191)],_0xf2f0e5),_0x6d9f7c(0x0,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['Injector'])),_0x6d9f7c(0x1,_0x47ad91[_0x1bf13c(0x1db)]),_0x6d9f7c(0x2,_0x47ad91[_0x1bf13c(0x389)]),_0x6d9f7c(0x3,_0x47ad91['Inject'](_0x490b22[_0x1bf13c(0x36b)])),_0x6d9f7c(0x4,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91['LocaleService']))],_0xf2f0e5);var _0x2203a5=Object[_0x1bf13c(0x1f5)],_0x1f4e20=Object['getOwnPropertyDescriptor'],_0x557ea4=(_0x57daa8,_0x26526f,_0x3af561)=>_0x26526f in _0x57daa8?_0x2203a5(_0x57daa8,_0x26526f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3af561}):_0x57daa8[_0x26526f]=_0x3af561,_0x173956=(_0x154f9e,_0x47464d,_0x194c96,_0x2e7bbb)=>{const _0x37444d=_0x1bf13c;for(var _0x1780b2=_0x2e7bbb>0x1?void 0x0:_0x2e7bbb?_0x1f4e20(_0x47464d,_0x194c96):_0x47464d,_0x458606=_0x154f9e[_0x37444d(0x557)]-0x1,_0x15758e;_0x458606>=0x0;_0x458606--)(_0x15758e=_0x154f9e[_0x458606])&&(_0x1780b2=(_0x2e7bbb?_0x15758e(_0x47464d,_0x194c96,_0x1780b2):_0x15758e(_0x1780b2))||_0x1780b2);return _0x2e7bbb&&_0x1780b2&&_0x2203a5(_0x47464d,_0x194c96,_0x1780b2),_0x1780b2;},_0x25129f=(_0x450afd,_0x572238)=>(_0x538757,_0xe3b009)=>_0x572238(_0x538757,_0xe3b009,_0x450afd),_0x251853=(_0xb6ed4b,_0x4bb64c,_0x579335)=>_0x557ea4(_0xb6ed4b,_0x4bb64c+'',_0x579335);const _0x477962=_0x1bf13c(0x2b4);_0x490b22[_0x1bf13c(0x3c5)]=class extends _0x47ad91[_0x1bf13c(0x4d2)]{constructor(_0x13c6d7,_0x4dee71,_0x26d3bc,_0x51e853){const _0x127026=_0x1bf13c;super(),this[_0x127026(0x27d)]=_0x13c6d7,this[_0x127026(0x449)]=_0x4dee71,this[_0x127026(0x4e7)]=_0x26d3bc,this['_injector']=_0x51e853;}[_0x1bf13c(0x1f3)](_0x2f0585){const _0xda566e=_0x1bf13c;this[_0xda566e(0x2e4)](_0x2f0585);}[_0x1bf13c(0x1ce)](){const _0x545ea9=_0x1bf13c;this[_0x545ea9(0x19b)]();}[_0x1bf13c(0x2e4)](_0x4a387d){const _0x493b17=_0x1bf13c;var _0x40be59,_0x29bbc2,_0x21058b,_0x3c6118;_0x4a387d[_0x493b17(0x19c)](_0x47ad91[_0x493b17(0x277)])&&this[_0x493b17(0x449)]['error']('[UniverCollaborationClientPlugin]',_0x493b17(0x3de));let _0x3ea399=[[_0x47ad91[_0x493b17(0x277)],{'useClass':_0x1fe82a}],[_0x490b22['CollaborationSessionService']],[_0x6a7ba3],[_0x125bb1['HTTPService']],[_0x1bc608,{'useClass':_0x50d310}],[_0x3be5f2],[_0x490b22['LocalCacheService']],[_0x125bb1[_0x493b17(0x3f2)]],[_0x2c3692],[_0x85bcf8],[_0x5bc3d5],[_0x2a9bcc],[_0x46f60d],[_0x44be8d],[_0xf2f0e5],[_0x367b2c,{'useClass':(_0x29bbc2=(_0x40be59=this[_0x493b17(0x27d)])==null?void 0x0:_0x40be59[_0x493b17(0x21a)])!=null?_0x29bbc2:_0x490b22[_0x493b17(0x49d)]}],[_0x125bb1[_0x493b17(0x546)],{'useClass':_0x125bb1['XHRHTTPImplementation']}],[_0x47ad91[_0x493b17(0x332)],{'useClass':_0x490b22[_0x493b17(0x320)]}],[_0x47ad91[_0x493b17(0x2b2)],{'useClass':_0x490b22[_0x493b17(0x323)]}],[_0x1fdac8[_0x493b17(0x529)],{'useClass':_0x490b22[_0x493b17(0x274)]}],[_0x490b22['CollaborationController']],[_0x490b22[_0x493b17(0x361)]],[_0x490b22[_0x493b17(0x4c4)]],[_0x29c452],[_0x464c11]];(_0x21058b=this[_0x493b17(0x27d)])!=null&&_0x21058b['enableSingleActiveInstanceLock']&&_0x3ea399['push']([_0x160851,{'useClass':_0x577154}]),_0x3ea399=_0x47ad91[_0x493b17(0x4ae)](_0x3ea399,(_0x3c6118=this[_0x493b17(0x27d)])==null?void 0x0:_0x3c6118[_0x493b17(0x321)]),_0x3ea399[_0x493b17(0x2fb)](_0x50ec1c=>_0x4a387d['add'](_0x50ec1c)),this[_0x493b17(0x25d)]();}[_0x1bf13c(0x19b)](){const _0x480b5b=_0x1bf13c;this[_0x480b5b(0x27f)](this['_renderManagerService'][_0x480b5b(0x229)](_0x47ad91['UniverInstanceType'][_0x480b5b(0x1ac)],[_0x231699])),this[_0x480b5b(0x27f)](this[_0x480b5b(0x4e7)][_0x480b5b(0x229)](_0x47ad91[_0x480b5b(0x2f9)]['UNIVER_SHEET'],[_0x57446b]));}['_initModules'](){const _0x13dd19=_0x1bf13c;var _0x452ca8,_0x2cd111;this[_0x13dd19(0x49c)]['get'](_0x125bb1[_0x13dd19(0x548)])[_0x13dd19(0x4ef)]({'priority':0x14,'interceptor':_0x125bb1[_0x13dd19(0x417)]({'maxParallel':0x6})}),(_0x452ca8=this[_0x13dd19(0x27d)])!=null&&_0x452ca8[_0x13dd19(0x359)]||this['_injector']['get'](_0x490b22[_0x13dd19(0x3fa)])[_0x13dd19(0x433)](),(_0x2cd111=this[_0x13dd19(0x27d)])!=null&&_0x2cd111[_0x13dd19(0x4c2)]&&this['_injector'][_0x13dd19(0x369)](_0x46f60d);}},_0x251853(_0x490b22[_0x1bf13c(0x3c5)],_0x1bf13c(0x195),_0x477962),_0x490b22['UniverCollaborationClientPlugin']=_0x173956([_0x47ad91['DependentOn'](_0x4709b4[_0x1bf13c(0x45a)]),_0x25129f(0x1,_0x47ad91[_0x1bf13c(0x32d)]),_0x25129f(0x2,_0xba1502[_0x1bf13c(0x331)]),_0x25129f(0x3,_0x47ad91[_0x1bf13c(0x483)](_0x47ad91[_0x1bf13c(0x380)]))],_0x490b22[_0x1bf13c(0x3c5)]),_0x490b22[_0x1bf13c(0x1cb)]=_0x1f5d84,_0x490b22[_0x1bf13c(0x1be)]=_0x5ea304,_0x490b22[_0x1bf13c(0x49b)]=_0x1d455a,_0x490b22[_0x1bf13c(0x2b6)]=_0x214062,_0x490b22[_0x1bf13c(0x441)]=_0x12529c,_0x490b22[_0x1bf13c(0x39e)]=_0x44be8d,_0x490b22[_0x1bf13c(0x52a)]=_0x333329,_0x490b22[_0x1bf13c(0x342)]=_0x2fd0be,_0x490b22[_0x1bf13c(0x420)]=_0x367b2c,_0x490b22[_0x1bf13c(0x1dc)]=_0x1bc608,_0x490b22[_0x1bf13c(0x1a5)]=_0x4ac3ef,_0x490b22[_0x1bf13c(0x2f4)]=_0x44e1d9,_0x490b22[_0x1bf13c(0x2a2)]=_0x585883,_0x490b22[_0x1bf13c(0x3e2)]=_0x545bfc,_0x490b22[_0x1bf13c(0x220)]=_0x146ad6,_0x490b22[_0x1bf13c(0x4bf)]=_0x1a88b8,_0x490b22['SheetCollabCursorShape']=_0x5d600b,_0x490b22['WebURLService']=_0x50d310,_0x490b22[_0x1bf13c(0x3fb)]=_0xdf00df,_0x490b22[_0x1bf13c(0x28c)]=_0x778cc5,Object[_0x1bf13c(0x1f5)](_0x490b22,Symbol[_0x1bf13c(0x271)],{'value':_0x1bf13c(0x4f5)});}));function _0x5ac0(){const _0x3f7ead=['_disabled','_updateURLWithCurrentState','_pendingMutations','LIVESHARE_OPERATION','cursorInfo$','exhaustSavingTask','RichTextEditingMutation','[OfflineState]:\x20received\x20rejection.','size','_clearCollaborationTimeoutTimer','@univerjs/network','_toggleOffline','_updateState','0\x200\x2016\x2016','_onRecvEvent','FileId','_transformRemoteChangesetByIMECache','liveShareNewHost','_waitForHeartbeatResponse','_type','colorChannel1','not_collab','_collaborationController','currentTheme$','DisposableCollection','_updateLocalCursor','handleMoveRange','map','INVALID_ARGUMENT','_initStatusComponent','data','_schedule','objects','hovered','UniverCollaborationClientPlugin','#fff','_clearUndo','ERROR_IMAGE_TYPE','_sendingTimer','_sessions','_colorAssignService','UniverSheetsUi','@univerjs/ui','CommandType','createElement','handleInsertRow','currentSkeleton$','every','random','interceptor','OnLifecycle','target','leaveEvent','COMPRESS_MUTATION_APPLY','#FFF','LocaleService','subscribe','backgroundColor','error','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','max','onload','next','SNAPSHOT_SERVER_URL_KEY','type','getCurrentUser','cursorInfo','YUUMI_RATE_OVER_LIMIT','_getUndoStack','clearInterval','CHANGESET_REJ','/universer-api/snapshot','React','_syncEditingCollabCursorService','InsertColCommandId','/collaborator','@univerjs/engine-formula','transformChangesets','_onConnectionFailed','WebSocketService','objectType','_initCloseConn','_transformPreviousActiveRange','toRgbString','className','DeleteRangeMoveLeftCommandId','POST','LocalCacheService','deserializeToCombResponse','clearTimeout','BuiltInUIPart','LEAVE','indexOf','COLLAB_WEB_SOCKET_URL','apply','resend','setAlpha','selection','trim','_docSkeleton','[CollaborationSessionService]:\x20socket\x20error','_imageSourceCache','RegularPolygon','INotificationService','LifecycleStages','_unitStatus','changesets','@univerjs/core','handleInsertCol','getActiveSheet','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onSyncEditingCollabCursor','_heartbeatTimer','Error','_getUploadFileURL','flatMap','ThresholdInterceptorFactory','SEND_CHANGESET_TIMEOUT','skeleton','_removeClearOtherTimer','parse','isTransformMutationFailure','getActiveRange','_transformIMECache','_startDocCollabCursor','ICollaborationSocketService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getCtorByUniverType','getInterceptPoints','_transformService','LOCAL_CACHE_INTERVAL','rxjs','_collabCursorController','_onCursorDelete','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UniverCore','roomMembers','serializeDocRange','/fetchmissing?from=','_removeCollabCursors','isEditing','black','_anchor','body','disableLocalCache','_singleActiveUnitService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','_fetchMissChangesets','combineLatest','newValue','saveImage','[SyncedState]:\x20received\x20rejection.','lodash/debounce','unload','_lastPointer','connection\x20error','c2Prime','CollaborationStatusDisplay','replace','_substituteRedoStack','gold400','_syncEditingCollabCursor','ERROR_EXCEED_SIZE','3964992LJfvYW','_scheduleCollaborationTimeoutTimer','_logService','CompressMutationService','_handleJoinEvent','push','_scheduleReconnection','editing\x20status\x20changed\x20to','onTransformIME','_uiPartsService','error$','appendMutation','SHOULD_CLOSE_CONN','_scheduleClearOtherTimer','permissionRejEvent','@univerjs/docs','CHANGESET_ACK','delay','COMMENT_UPDATE','UniverCollaborationPlugin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-online','forwardRef','distinctUntilChanged','ONLINE','_getScale','_initStatusListener','getWorkbookSelections','joinRsp','_onRemoteRejected','_onUserLeave','code','152EBGzgE','MUTATION','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','b64DecodeUnicode','batchAllowed','_updateStatus','NEW_CHANGESETS','WorkbookEditablePermission','confirm','_setupSubUnitSync','_getCurrentRevision','NOT_FOUND','substring','VIEW_MAIN','_tryEnsureSocket','SYNCED','_saveCache','DeleteRangeMoveUpCommandId','save','_docTransformSelectionsService','onTransformSelections','_sheetSkeletonManagerService','red300','roomInfos','UniverCollaboration','_memberService','_socketService','UniverRpc','Inject','object','amd','UPDATE_PERMISSION_OBJ','UniverDrawing','394UiLJLv','loadSheet','_textBubble','show','disposeUnit','_scheduleTimestamp','off-line-single','IDLE','measureText','post','_anchorDot','toString','_beforeCloseService','_online','row','current','_updateCollabCursors','_send','init','COLLAB_WEB_SOCKET_URL_KEY','_injector','CollaborationSocketService','_assignedColors','1066597mDwOry','slice','sheetId','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_SUBSCRIPTION_NOT_FOUND','encodeURIComponent','_handleEvent','column','function','_getSheetObject','requireSession','triggerDblclick','_awaitingChangeset','textRanges','actions','mergeOverrideWithDependencies','HEARTBEAT_INTERVAL','text','transformRemoteChangeset','fillStyle','ColorKit','_toggleOnline','_retryCount','COLORS','_getMergeRange','useRef','_onRemoteACK','Unknown\x20user','some','PSEUDO_FETCH_MISSING_RESULT','LICENSE_MAX_UNITS_EXCEEDED','m2Prime','SessionStatus','makeDirty','LIVESHARE_FETCH_OPERATIONS','enableAuthServer','getUnhiddenWorksheets','DesktopCollaborationStatusDisplayController','APPLY_REJECT','onPointerMove$','mutations','concatMap','/allowed','none','onCommentUpdate','getCellPositionByOffset','getTypeOfUnitAdded$','getTime','_scene','takeUntil','getCurrent','Plugin','saveSnapshot','getUnitId','UNIVER_SHEET','PERMISSION_REJ','/unit/','xlink:href','min','_startSheetCollabCursor','dispose','UniverIcon','getConfig','enableLocalCache','_createInitialState','conflict.content','catch','TextSelectionManagerService','_getSnapshotAPIPrefix','NO_OTHER_CLIENTS_EDITING','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','@univerjs/sheets','_renderManagerService','session.will-retry','getAncestorScale','ILocalStorageService','_configService','selections','_roomMembers$','getSheetBlock','registerHTTPInterceptor','rev','isTransformChangesetsSuccess','subUnitId','InsertSheetMutation','debounce','Module','_timeoutTimer','_setupBeforeClosingHandler','isTransformMutationsWithChangesetFailure','font','_permissionService','_id','_transitionLocked','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','JOIN','NOT_COLLAB','responseType','9736020GGMTXm','_scheduleHeartbeat','doc.mutation.rich-text-editing','_sendHeartbeat','getImageSourceCache','svg','_commandService','isInternalEditorID','addObject','@univerjs-pro/collaboration','_change$','_saveTaskMap','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','engine','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','getCurrentUnitForType','RECV','OTHER_CLIENTS_EDITING','_clearTimeoutTimer','ALREADY_EXISTS','ITransformService','dispose$','executeCommand','getResourcesRequest','toggleOnline','off-line-single_clip0_910_343','assignAColorForMemberID','url','lineTo','putCollaborators','_docTransformIMECacheService','m1Prime','updatePermissionObjEvent','getOwnPropertyDescriptor','setInterval','onlyLocal','/-/object/list','/resources','JOINING','IImageIoService','HEARTBEAT_INTERVAL_KEY','operators','reject','PENDING','_cursor','defs','/new_changes','getUnitType','entries','_redoStacks','color','history','collaboratorID','...','attrs','addObjects','_onRefRangeChange','memberID','EmptyMutation','csRejEvent','HEADER_MENU','height','_lockTransition','isArray','propertyIsEnumerable','UniverSheets','pauseCollaboration','encode','IHTTPImplementation','evenodd','HTTPService','string','open$','TEXT_RANGE_LAYER_INDEX','ThemeService','_replayCachedMutations','_context','compose','moveTo','resize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_PERMISSION_DENIED','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','liveShareOperation','patch','length','[OfflineState]:\x20received\x20changeset.','onlineStatus','_ws','RevisionService','getMember','[PendingState]:\x20received\x20acknowledgement.','awaiting','userID','_getRedoStack','createIdentifier','_handler','fetchMissingChangesets','path','add','[PendingState]:\x20received\x20rejection.','debug','updateMember','_docStateChangeManagerService','onlineStatusIcon','set','getSheetObject','/block/','send','sessionStatus','getSheetBySheetId','TOO_MANY_REQUESTS','prototype','_labelPosition','_collaborationTimeoutTimer','requestParams','collaMsg','/-/object/-/batch_allowed','create','find','/universer-api/snapshot/','merge','clsx','IConfigService','unknown','_executeRemoteChangeset','SheetSkeletonManagerService','result','_createInitialStateImpl','LocalUndoRedoService','onSendChangeset','jiqing500','_session','collaborators','getColor','offline','take','SUBMIT_CHANGESET','5585OHqtxC','eventID','univerjs-icon\x20univerjs-icon-','close$','getRoom','filter','Starting','ws://127.0.0.1:8000/universer-api/comb/connect','isPermissionRej','_cursors','pluginName','AWAITING_WITH_PENDING','setItem','activeSheet$','getCurrentRevForDocument','_members','_registerRenderDependencies','has','addImageSourceCache','_sessionStatus$','image/png','_cursorShapes','asObservable','UNDEFINED','UNKNOWN_CODE','_sendHeartbeatTimer','LOCAL_CACHE_INTERVAL_KEY','Disposable','_handleLeaveEvent','_clearRedo','translate(.97)','PERMISSION_DENIED','toDisposable','UNIVER_DOC','_state$','_sheetTransformSelectionsService','message$','session','SNAPSHOT_INVALID_SNAPSHOT','handleDeleteRangeMoveUp','displayName','div','closePath','[DataLoaderController]','revision','_disableEditing','collaboration.single-unit.warning','ImageSourceType','_roomMembers','FAIL','_initResize','COLLAB_SUBMIT_CHANGESET_URL_KEY','popstate','ERROR_IMAGE','univer-online-status-icon','fromCollab','delete','sequenceExecute','fetching\x20missing\x20changesets\x20from\x20','json','_submitChangeset','commentUpdate$','onPointerLeave$','extend','AUTHZ_URL_KEY','SheetsSelectionsService','_messageService','onRendered','/rev/','collabStatus.offline','univer-pro.collaboration-client.single-active-unit-service','ImageUploadStatusType','_replaceFileID','collabStatus.syncing','useDependency','BehaviorSubject','_color','objectActions','_transformSelections','setCurrentUser','IUniverInstanceService','IURLService','CollaborationEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','deserializeRangeWithSheet','online','M0\x200H16V16H0z','transformStack\x20failed!','_localStorageService','getTypeOfUnitDisposed$','452403GQqxAD','[CollaborationSessionService]','localeService','_initCommandExecutedListener','HELLO','findNodePositionByCharIndex','purple300','EffectRefRangId','ranges','RxDisposable','url(#off-line-single_clip0_910_343)','_getAPIPrefix','unit','loadOfflineData','onStarting','baseRev','defineProperty','exports','image/jpeg','RemoveColCommandId','setWaitCount','UserManagerService','InsertRowCommandId','saveChangeset','setActiveRange','RETRY_CONNECTING_MAX_COUNT','getMemberID','startColumn','_incrementRevisionNumber','getDocRanges','IMessageService','_joinRoom','_onMessage','unitId','Warning','collabStatus.notCollab','univer-offline','drawWith','_drawTextRange','commentUpdateEvent','url(#on-line-single_clip0_910_349)','focused$','90853RyIGZY','unitID','defIds','_collabSessionService','_exhaustRemoteChangesetQueue','_initUnitPermissionChange','_userManagerService','from','_clearLocalCache','mapTo','round','socketService','currentColor','/universer-api/authz','_rescheduleHeartbeatEvent','transform','removeParam','SNAPSHOT_URL_KEY','_loadDoc','_themeService','transformIMECache','COLLAB_SUBMIT_CHANGESET_URL','UNIVER_SLIDE','ICommandService','_collaborationSessionService','1em','registerRenderModule','c1Prime','handleInsertRangeMoveDown','mapDocumentTypeToUniverType','_onJoinRoomEvent','socket\x20close','USERS_ENTER','_transformUndoredo','IContextService','loadDoc','_cachedData','switchMap','_httpService','roomMembers$','Optional','_retryConnectingTimer','YUUMI_URL_COL_OUT_OF_RANGE','connectInjector','onMouseMove','CONNECTOR_DATA_TOO_LARGE','/object/','createSocket','icon','syncEditingCollabCursor','setTimeout','_decreaseWaiting','_initMergeInterceptor','url(#$1','UniverDesign','routeKey','getUndoRedoMutationParamsCache','?url=','onRemoteChangeset','Tools','name','_getSignURL','_getAPIPrefixPath','_remoteChangesetQueue','IMEInputManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getParam','_backgroundColor','file','generateRandomId','snapshot','status','session.connection-failed','list','\x0aCurrent:\x20','cmd','concat','SetTextSelectionsOperation','_initModules','collab-text-range-','getCollabEntity$','LICENSE_DISTRO_REJECTED','_eventUnsubscribe','fillText','setShapeProps','_snapshotService','split','_clearScheduledTask','_state','on-line-single','collaboration-client.offline-data-not-saved','MessageType','INTERNAL_ERROR','_docSyncEditingCollabCursorService','status$','getCollabEntity','labelPosition','handleInsertRangeMoveRight','toStringTag','allowed','onStateChange','ImageIoService','_unitOnClients','CHANGESET_REVISION_CONFILICT','IUndoRedoService','LIVESHARE_REQUEST_HOST','FETCH_MISSING','getSheetId','_isPermissionRej','_onCombEvent','_config','toggleOffline','disposeWithMe','_startCollaboration','_shapes','_colorIndex','sessionStatus$','width','use','storage','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getSkeleton','RefRangeService','unshift','transformUndoRedo','serializeCombRequest','onCommandExecuted','_transformStack','_removeRoom','stringify','hide','CollaborationController','getOffsetConfig','textEncoder','_localCacheService','getFocusedUnit','onMissedChangesetFetched','transformMutation','includes','event$','updateOfflineData','awaiting_with_pending','_getSaveTimeout','_ensureSubject','_name','_updateLocalCache','_acknowledgedAwaitingChangeset','SEND_CHANGESET_TIMEOUT_KEY','_univerInstanceService','_unlockTransition','sheetID','HEARTBEAT_TIMEOUT','collabStatus.conflict','replaceState','UniverEngineRender','_compressMutationService','editingUnit','_substituteUndoStack','complete','headers','pending','INGEST','COMPLETION_FINISHED','IAuthzIoService','YUUMI_UNABLE_LOAD_URL','UNIVER_COLLABORATION_CLIENT_PLUGIN','clear','CollaborationStatus','_createHandler','FromArray','_applyRemoteChangeset','closeSession','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_createSocket','_status$','originalMeta','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleHover','onMissingChangesets','?size=','_refRangeService','_notificationService','endColumn','SnapshotService','image/jpg','[CollaborationEntity]','Ready','SetWorksheetActivateCommand','top','debounceTime','resolve','searchParams','on-line-single_clip0_910_349','collab-text-anchor-','univer-pro.collaboration-client-socket-service','state$','UNRECOGNIZED','call','_refreshCollabCursors','method','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','BASE64','@univerjs/design','NodePositionConvertToRectRange','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','roles','_handleHeartbeatEvent','_onRemoteChangeset','_hovered','deleteCollaborator','handleIRemoveRow','_hideTimer','updatePermissionPoint','_registerDependencies','_onUserJoin','LIVESHARE_NEW_HOST','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','\x0aAfter:\x20','isTransformMutationsWithChangesetSuccess','rxjs/operators','_localeService','_undoRedoService','_collabCursorState$','_getSendChangesetTimeout','serializeRangeWithSheet','\x20-\x20','SNAPSHOT_HAS_BEEN_REMOVED','contains','subscribeEvent','LOGIN_URL_KEY','IBeforeCloseService','_onFetchMissResult','synced','_drawRectRange','UniverInstanceType','fillRule','forEach','_hover','unit-cache-','@univerjs/engine-render','Workbook','newCsEvent','location','onTransformChange$','runRefRangeMutations','all','fill','USERS_LEAVE','InsertRangeMoveRightCommandId','objectID','Steady','_event$','fetchThroughInterceptors','MSG_FOR_ERROR','HEARTBEAT','NodePositionConvertToCursor','_HTTPService','_getLoginPath','_document','listRoles','transformSelections','UniverNetwork','@univerjs/drawing','clipPath','conflict','close','_snapshotServerService','MergeInterceptorFactory','subunit','infoRsp','_onCursorUpdate','registerRefRange','[OfflineState]:\x20received\x20acknowledgement.','SnapshotServerOverHTTPService','override','LICENSE_IMPORT_SIZE_EXCEEDED','AuthzIoHttpService','Vector2','UniverCollaborationClient','_showConflictNotification','_getAnchorBounding','SUCCUSS','Subject','parseProtocolChangeset','_socketReady','@univerjs/rpc','ILogService','&to=','session.collaboration-timeout','collabCursorState$','IRenderManagerService','ISnapshotServerService','resourceIDs','_scheduleSaving','reduce','_init','_entities','_onLocalMutation','_range','uni.network.url-service','permission.title','onRemoteRej','unsubscribe','_onConnectionOpen','removeMember','getCoordByCell','_socket$','HEARTBEAT_TIMEOUT_KEY','AWAITING','getCurrentSelections','ACTIVE_UNIT_EVENT_CHANNEL','SetSelectionsOperation','bottom','SheetCollaborationEntity','addEventListener','restore','Rectangle','updateCollaborator','HTTPRequest','_checkMissing','then','_collaborationPaused','children','getCollabCursors$','VIEWPORT_KEY','Univer','_render','UNIVER_UNKNOWN','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','put','enableOfflineEditing','arc','fetch_missing','isActive','onlineStatusTitle','FETCH_MISS','fromEvent','OffLineSingle','DataLoaderController','onPointerEnter$','action','UniverEngineFormula','_entityInit$','RETRY_CONNECTING_INTERVAL','InsertRangeMoveDownCommandId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','get','_commentUpdate$','CollaborationSessionService','6267MMgFjb','assign','getValue','onRemoteAck','getUnitStatus$','LIVESHARE_TERMINATE','_clearHeartbeatTimer','_docSkeletonManagerService','href','_selfUnitIDs','_waitCount','APPLY_REVISION_CONFILICT','_clearOtherTimers','shareReplay','[CollaborationState]:\x20apply\x20error!','params','createInstance','_onConflict','registerBeforeClose','_queuedRemoteChangesets','Injector','listCollaborators','MoveRangeCommandId','urlChange$','_revisionService','CollaborationSession','_urlService','append','transformMutationsWithChangeset','IPermissionService','tag','hasOwnProperty','pipe','_updateSubUnitFromURLParams','UPDATE_CURSOR','getRelativeToViewportCoord','socket\x20open.','2316pVVewl','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','save\x20fail\x20reason\x20is\x20','UNKNOWN_CMD','_socketMessageSubscription','deepClone','UNIVER_PROJECT','CONFLICT','Rect','_cursorInfo$','_transformUndoRedoStack','OFFLINE','idSuffix','CommentService','workbook','[SyncedState]:\x20received\x20acknowledgement.','OnLineSingle','_unitID'];_0x5ac0=function(){return _0x3f7ead;};return _0x5ac0();}
|
1
|
+
function _0x2871(){const _0x2ef8f4=['shareReplay','_updateCollabCursors','_handleEvent','addObject','_schedule','MoveRangeCommandId','DeleteRangeMoveUpCommandId','_toggleOffline','BuiltInUIPart','getUnitOnRev','_range','set','toRgbString','moveTo','HEARTBEAT_INTERVAL','getRoom','_saveCache','displayName','getResourcesRequest','COMPRESS_MUTATION_SEND','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getCollabCursors$','subunit','_members','_onRemoteChangeset','HttpExport','Disposable','arc','[DataLoaderController]','ITransformService','rev','_clearLocalCache','SEND_CHANGESET_TIMEOUT_KEY','subscribe','transformChangesets','UnitSnapshot','resolve','subscribeEvent','clearInterval','_getScale','useDependency','InsertColCommandId','confirm','_document','call','0\x200\x2017\x2016','CollaborationSessionService','unitId','defs','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getAnchorBounding','icon','result','_undoRedoService','_removeClearOtherTimer','selections','_unitOnClients','_transformUndoredo','deserializeToCombResponse','SetSelectionsOperation','roomMembers$','_getSheetObject','_localCacheService','OnLineSingle','setActiveRange','_handleLeaveEvent','endRow','getCollabEntity$','HttpImport','AWAITING','_removeCollabCursors','width','onCommandExecuted','EffectRefRangId','enableSingleActiveInstanceLock','_disabled','APPLY_REJECT','_clearUndo','joinRsp','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_DISTRO_REJECTED','onTransformRemoteChangesetByIMECache','round','pushState','_exhaustRemoteChangesetQueue','_userManagerService','forwardRef','_sendingTimer','ERROR_IMAGE_TYPE','COLORS','_incrementRevisionNumber','connection\x20error','JSONX','HTTPRequest','toString','triggerDblclick','enableAuthServer','Injector','dispose$','UNKNOWN_CMD','onPointerMove$','SUCCUSS','onMissingChangesets','save\x20fail\x20reason\x20is\x20','_state','_getUndoStack','UniverCore','_onConnectionOpen','getWorkbookSelections','_docStateChangeManagerService','{fileID}','UNIVER_SHEET','filter','setShapeProps','_updateLocalCache','transformSelections','ThresholdInterceptorFactory','sheetID','_onCombEvent','path','JOINING','_updateURLWithCurrentState','startsWith','localeService','_hover','RETRY_CONNECTING_INTERVAL','clsx','getCellPositionByOffset','complete','responseType','pipe','COLLAB_SUBMIT_CHANGESET_URL_KEY','422164HeHesN','_clearRedo','liveShareNewHost','_commentService','_labelPosition','skeleton','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getActiveRange','_id','@univerjs/design','IDLE','CONFLICT','PENDING','resourceIDs','USERS_LEAVE','newValue','getOffsetConfig','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getParam','length','isActive','OTHER_CLIENTS_EDITING','backgroundColor','currentTheme$','save','_event$','_unitID','UUID','hasOwnProperty','infoRsp','_transformStack','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-pro.collaboration-client-socket-service','SheetPermissionInitController','WorkbookEditablePermission','SheetsSelectionsService','div','[FetchMissState]','@univerjs/engine-formula','map','TextSelectionManagerService','unknown','conflict.title','on-line-single','transformMutation','createIdentifier','MSG_FOR_ERROR','rxjs','_undoStacks','sheetId','permissionRejEvent','Rectangle','CONNECTOR_DATA_TOO_LARGE','_drawRectRange','sequenceExecute','ICommandService','collab-text-anchor-','_lastPointer','blue400','CollaborationSocketService','commentUpdateEvent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','registerBeforeClose','collabStatus.syncing','then','rgba(255,\x20255,\x20255,\x200.01)','SetDocZoomRatioOperation','createSocket','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_socketReady','BASE64','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','memberID','&assign=','jiqing500','currentSkeleton$','getFocusedUnit','_submitChangeset','collabStatus.notCollab','ICollaborationSocketService','parseChangesetToProtocol','XHRHTTPImplementation','_onConnectionFailed','none','xlink:href','liveShareOperation','urlChange$','@univerjs/rpc','onlineStatus','FAIL','_initCommandExecutedListener','Error','session.collaboration-timeout','replaceState','appendMutation','location','_onMessage','SNAPSHOT_INVALID_SNAPSHOT','activeSheet$','shouldCloseConn','fromEvent','APPLY_PERMISSION_DENIED','USERS_ENTER','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getInterceptPoints','mergeOverrideWithDependencies','ImageIoService','popstate','_retryConnectingTimer','_onConflict','setItem','handleInsertRangeMoveRight','HEARTBEAT_INTERVAL_KEY','Rect','endColumn','CollaborationSession','_registerDependencies','close','getMember','_roomMembers$','patch','color','_onUserJoin','_handleHeartbeatEvent','_redoStacks','_clearHeartbeatTimer','createInstance','_onUserLeave','image/png','_onRefRangeChange','LEAVE','_onCursorDelete','COLLAB_SUBMIT_CHANGESET_URL','m2Prime','_uiPartsService','_cursor','_status$','\x0aCurrent:\x20','OFFLINE','_snapshotServerService','revision','eventID','replace','status$','operators','COMMENT_UPDATE','collabStatus.synced','find','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','measureText','0\x200\x2016\x2016','_getSnapshotAPIPrefix','INVALID_ARGUMENT','collab-text-range-','MessageType','@univerjs/engine-render','parseProtocolChangeset','data','Starting','UniverCollaborationClientPlugin','INotificationService','_loadSheet','mapTo','rxjs/operators','pending','UNIVER_DOC','_sendHeartbeatTimer','reverse','/unit/','disableLocalCache','makeDirty','InsertSheetMutation','session','conflict.content','\x0aAfter:\x20','BehaviorSubject','DesktopCollaborationStatusDisplayController','src','synced','_render','getSheetBlock','@univerjs/docs','selection','LICENSE_EXPORT_SIZE_EXCEEDED','error','LIVESHARE_TERMINATE','HEARTBEAT_TIMEOUT_KEY','RemoveRowCommandId','serializeDocRange','2678032vFAhxs','_eventUnsubscribe','concatMap','isTransformChangesetsSuccess','some','_draw','isArray','clear','[CollaborationSessionService]:\x20socket\x20error','collaboration.closeRoom','_localeService','_drawAnchor','values','_HTTPService','readAsDataURL','_univerInstanceService','getUnhiddenWorksheets','transformIMECache','SessionStatus','CollaborationEvent','_getMergeRange','prototype','code','state','MUTATION','_docSkeletonManagerService','_cachedData','Optional','_cursorShapes','DisposableCollection','append','JOIN','csAckEvent','range','function','LIVESHARE_REQUEST_HOST','_getUploadFileURL','lineTo','status','_context','online','collaMsg','_commandService','_disableEditing','CollaborationController','setTimeout','isTransformMutationsWithChangesetFailure','all','2812684BBpoWl','/-/object/-/batch_allowed','awaitingChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','image/bmp','_singleActiveUnitService','_getCtorByUniverType','dispose','univer-online-status-icon','_urlService','next','session.will-retry','822645JciGii','getSheetId','removeMember','_getAPIPrefixPath','enableOfflineEditing','Inject','updateOfflineData','_revisionService','offline','_compressMutationService','Vector2','column','_saveTaskMap','_transformService','YUUMI_URL_COL_OUT_OF_RANGE','createCollaborator','refreshPermission','serializeCombRequest','attrs','removeParam','fromEventSubject','slice','Shape','[OfflineState]:\x20received\x20rejection.','_logService','getUnitStatus$','SNAPSHOT_SERVER_URL_KEY','message$','_clearCollaborationTimeoutTimer','take','runRefRangeMutations','_transformIMECache','onStarting','tag','APPLY_REVISION_CONFILICT','APPLY_NON_SEQUENTIAL_REVISION','top','COMPLETION_FINISHED','getOwnPropertySymbols','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','updateCursorEvent','init','UniverEngineFormula','\x20to\x20','ILogService','[CollaborationSessionService]','registerRefRange','CompressMutationService','_roomMembers','fillStyle','INTERNAL_ERROR','_refRangeService','Tools','TOO_MANY_REQUESTS','ThemeService','_collaborationPaused','_docSyncEditingCollabCursorService','_initStatusListener','...','_scene','AWAITING_WITH_PENDING','getImageSourceCache','CommentService','117006GRcRdu','json','updateMember','DocSkeletonManagerService','cmd','SheetCollabCursorShape','_clearScheduledTask','loadOfflineData','event$','UniverEngineRender','clearTimeout','_socket','_isPermissionRej','encodeURIComponent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','asObservable','handleInsertRow','_onRemoteACK','close$','isTransformMutationsWithChangesetSuccess','_getRedoStack','ranges','use','cursorInfo','onRemoteAck','storage','LocaleService','RegularPolygon','_onFetchMissResult','SheetSkeletonManagerService','fetching\x20missing\x20changesets\x20from\x20','collabStatus.fetchMiss','HTTPService','object','method','roles','getCurrentUnitForType','IPermissionService','_handler','evenodd','startRow','_sessionStatus$','workbook','_waitCount','UNIVER_PROJECT','COLLAB_WEB_SOCKET_URL','_heartbeatTimer','concat','LifecycleStages','onSendChangeset','RxDisposable','url(#off-line-single_clip0_910_343)','lodash/debounce','getDocRanges','textEncoder','searchParams','OnLifecycle','/object','subUnitId','_unlockTransition','SetTextSelectionsOperation','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LOGIN_URL_KEY','CommandType','FileId','CHANGESET_REJ','_beforeCloseService','getCoordByCell','NEW_CHANGESETS','CollaborationStatus','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UniverCollaboration','_permissionService','UniverCollaborationClient','delete','_scheduleHeartbeat','transformMutationsWithChangeset','@univerjs/sheets','_waitForHeartbeatResponse','red300','initWorkbookPermissionChange','_snapshotService','_colorIndex','stringify','toDisposable','list','max','split','getCurrentRevForDocument','_docTransformIMECacheService','cursorInfo$','_queuedRemoteChangesets','symbol','SNAPSHOT_HAS_BEEN_REMOVED','/new_changes','DeleteRangeMoveLeftCommandId','getCurrentSelections','parse','_transitionLocked','contains','COMPRESS_MUTATION_APPLY','_createInitialState','merge','catch','deleteCollaborator','IUndoRedoService','sheets','saveSnapshot','_loadDoc','WebSocketService','_textBubble','?url=','_transformUndoRedoStack','on-line-single_clip0_910_349','defineProperty','_collabSessionService','EmptyMutation','collabStatus.conflict','transform','getTime','row','NodePositionConvertToRectRange','executeCommand','univer-offline','currentColor','_injector','ImageUploadStatusType','_lockTransition','from','allowed','_setupBeforeClosingHandler','delay','override','SHOULD_CLOSE_CONN','RevisionService','put','_entityInit$','_hideTimer','getMemberID','toggleOnline','update','PERMISSION_REJ','SheetCollaborationEntity','_initUnitPermissionChange','univer-pro.collaboration-client.single-active-unit-service','collaborators','handleDeleteRangeMoveLeft','lodash','_startSheetCollabCursor','body','c2Prime','not_collab','auth.needGotoLoginAlert','/allowed','onTransformChange$','collaboratorID','UNIVER_SLIDE','onCommentUpdate','svg','_checkMissing','onlineStatusTitle','requireSession','ONLINE','onlyLocal','_cursorInfo$','_scheduleReconnection','_color','_entities','listRoles','getCurrentUser','permission.content','setWaitCount','COLLAB_WEB_SOCKET_URL_KEY','#FFF','editing\x20status\x20changed\x20to','onRemoteRej','members','UPDATE_CURSOR','_anchor','Module','_hovered','_initResize','POST','_scheduleSaving','_name','findNodePositionByCharIndex','@univerjs/drawing','1118968diRqlD','_ensureSubject','show','AUTHZ_URL_KEY','loadSheet','handleInsertRangeMoveDown','listCollaborators','_startCollaboration','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onTransformSelections','UniverNetwork','_executeRemoteChangeset','_replaceFileID','clipPath','LOCAL_CACHE_INTERVAL','beginPath','text','getImage','distinctUntilChanged','string','fetch_missing','isTransformMutationFailure','_socketMessageSubscription','url(#on-line-single_clip0_910_349)','requestParams','setCurrentUser','_shapes','NOT_FOUND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','updateCollaborator','focused$','UniverInstanceType','textRanges','_createSocket','FETCH_MISSING','LocalCacheService','getOwnPropertyDescriptor','image/jpeg','addImageSourceCache','DEFAULT_FILE_NAME','ERROR_IMAGE','PSEUDO_FETCH_MISSING_RESULT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_collaborationSessionService','_updateState','unshift','UniverCollaborationPlugin','_joinRoom','setInterval','_online','getTypeOfUnitAdded$','_configService','RichTextEditingMutation','_renderManagerService','url','onPointerLeave$','pauseCollaboration','off-line-single','IBeforeCloseService','_collabCursorState$','Plugin','sessionStatus$','Unknown\x20user','target','RemoveColCommandId','newCsEvent','_httpService','_scheduleClearOtherTimer','onlineStatusIcon','_initCloseConn','add','/universer-api/snapshot','userID','entries','push','onload','[SyncedState]:\x20received\x20acknowledgement.','b64DecodeUnicode','getTypeOfUnitDisposed$','getUnitType','registerHTTPInterceptor','_substituteUndoStack','_decreaseWaiting','labelPosition','IMEInputManagerService','InsertRangeMoveDownCommandId','CHANGESET_ACK','setUndoRedoMutationParamsCache','FromArray','PERMISSION_DENIED','black','/universer-api/comb','ws://127.0.0.1:8000/universer-api/comb/connect','createElement','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createHandler','ISnapshotServerService','Subject','[CollaborationEntity]','Error\x20on\x20receiving\x20event','_pendingMutations','encode','_getSendChangesetTimeout','TEXT_RANGE_LAYER_INDEX','reject','_initModules','_getSaveTimeout','href','_session','_cursors','_registerRenderDependencies','_drawTextRange','CHANGESET_REVISION_CONFILICT','_themeService','_remoteChangesetQueue','@univerjs/network','registerOnClose','restore','_scheduleTimestamp','routeKey','_config','roomInfos','_getAPIPrefix','name','setAlpha','#fff','send','awaiting_with_pending','onPointerEnter$','_backgroundColor','min','syncEditingCollabCursor','YUUMI_RATE_OVER_LIMIT','_setupSubUnitSync','transformStack\x20failed!','get','_clearTimeoutTimer','fetchMissingChangesets','unitID','YUUMI_UNABLE_LOAD_URL','_updateLocalCursor','_awaitingChangeset','UserManagerService','getSheetBySheetId','exhaustSavingTask','assignAColorForMemberID','NO_OTHER_CLIENTS_EDITING','fetchThroughInterceptors','change$','_tryEnsureSocket','_assignedColors','Ready','_onLocalMutation','UNIVER_UNKNOWN','isPermissionRej','saveChangeset','_messageService','/collaborator','_retryCount','_scheduleCollaborationTimeoutTimer','_collabCursorController','_socket$','UNKNOWN_CODE','roomMembers','gold400','snapshot','RETRY_CONNECTING_MAX_COUNT','permission.title','hide','substring','error$','NodePositionConvertToCursor','mutations','addEventListener','UNRECOGNIZED','history','socketService','transformUndoRedo','/role','_toggleOnline','ImageSourceType','getCurrent','LIVESHARE_NEW_HOST','_memberService','\x20in\x20_schedule.','getUndoRedoMutationParamsCache','[UniverCollaborationClientPlugin]','LocalUndoRedoService','editingUnit','includes','Undefined','bottom','getConfig','DataLoaderController','closeSession','random','onMissedChangesetFetched','_updateSubUnitFromURLParams','colorChannel1','/universer-api/oidc/authpage','_onCursorUpdate','leaveEvent','NOT_COLLAB','getValue','getColor','uni.network.url-service','_substituteRedoStack','_replayCachedMutations','[PendingState]:\x20received\x20rejection.','React','image/jpg','_sendHeartbeat','Steady','_sheetSkeletonManagerService','fillRule','[CollaborationUndoRedoService]','unsubscribe','_type','M0\x200H16V16H0z','post','changesets','assign','objectType','LICENSE_IMPORT_SIZE_EXCEEDED','IUniverInstanceService','deepClone','ACTIVE_UNIT_EVENT_CHANNEL','_syncEditingCollabCursorService','session.room-full','_socketService','transformRemoteChangeset','getUniverSheetInstance','saveSheetBlock','UniverDocs','_notificationService','unitId\x20is\x20not\x20found','onTransformIME','has','_colorAssignService','disposeWithMe','combineLatest','originalMeta','_init','forEach','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','submit\x20changeset\x20error!','ALREADY_EXISTS','UniverDesign','debounceTime','_onJoinRoomEvent','_collaborationTimeoutTimer','getUnitId','HELLO','_fetchMissChangesets','HEADER_MENU','serializeRangeWithSheet','drawWith','children','updatePermissionPoint','_docTransformSelectionsService','addObjects','type','file','/universer-api/stream/file/upload','baseRev','_startDocCollabCursor','@univerjs-pro/collaboration','/fetchmissing?from=','handleDeleteRangeMoveUp','registerRenderModule','IHTTPImplementation','IMessageService','RefRangeService','HEARTBEAT','compose','switchMap','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','resize','debug','collaboration-client.offline-data-not-saved','startColumn','Workbook','UNDEFINED','_acknowledgedAwaitingChangeset','@univerjs/core','SnapshotServerOverHTTPService','resend','socket\x20open.','UnitEmbedded','AuthzIoHttpService','/object/','Warning','generateRandomId','objectActions','univerjs-icon\x20univerjs-icon-','takeUntil','SNAPSHOT_URL_KEY','c1Prime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UniverRpc','handleMoveRange','IConfigService','_initStatusComponent','collabCursorState$','awaiting','size','fillText','[OfflineState]:\x20received\x20changeset.','getSkeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defIds','_unitStatus','UniverSheetsUi','_createInitialStateImpl','UNAUTHENTICATED','sessionStatus','_handleJoinEvent','/resources','toStringTag','_ws','_http','_initMergeInterceptor','_change$','_handleHover','onStateChange','SUBMIT_CHANGESET','/universer-api/snapshot/','deserializeRangeWithSheet','1em','_onRemoteRejected','LIVESHARE_FETCH_OPERATIONS','RECV','indexOf','getRangePointData','SetWorksheetActivateCommand','onSyncEditingCollabCursor','_state$','UniverIcon','reduce','m1Prime','registerComponent','[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.','/rev/','fill','univer-online','state$','CollaborationStatusDisplay','open$','_refreshCollabCursors','_timeoutTimer','doc.mutation.rich-text-editing','INGEST','_rescheduleHeartbeatEvent','actions','exports','_onRecvEvent','univer-online-status','apply','session.connection-failed','debounce','_sessions','react','onRemoteChangeset','_getSignURL','_send','commentUpdate$','_anchorDot','/universer-api/authz','_clearOtherTimers','objectID','_applyRemoteChangeset','univer-online-status-title','LIVESHARE_OPERATION','UPDATE_PERMISSION_OBJ','extend','?size=','_getCurrentRevision','params','_selfUnitIDs','UNIVER_COLLABORATION_CLIENT_PLUGIN','_commentUpdate$','toggleOffline','SEND_CHANGESET_TIMEOUT','_localStorageService','isInternalEditorID','setParam','_removeRoom','_imageSourceCache','FETCH_MISS','off-line-single_clip0_910_343','_updateStatus','unit','SYNCED','getAncestorScale','interceptor','433660BMuyPh'];_0x2871=function(){return _0x2ef8f4;};return _0x2871();}function _0x50c2(_0x542d3b,_0x28863d){const _0x28713d=_0x2871();return _0x50c2=function(_0x50c251,_0x17cddf){_0x50c251=_0x50c251-0x1c2;let _0x49c5af=_0x28713d[_0x50c251];return _0x49c5af;},_0x50c2(_0x542d3b,_0x28863d);}(function(_0x2cee0c,_0x415f77){const _0xe0e386=_0x50c2,_0x5ed5fe=_0x2cee0c();while(!![]){try{const _0x464132=parseInt(_0xe0e386(0x480))/0x1+parseInt(_0xe0e386(0x270))/0x2+-parseInt(_0xe0e386(0x579))/0x3+-parseInt(_0xe0e386(0x56d))/0x4+parseInt(_0xe0e386(0x3fb))/0x5+-parseInt(_0xe0e386(0x5b8))/0x6+parseInt(_0xe0e386(0x53d))/0x7;if(_0x464132===_0x415f77)break;else _0x5ed5fe['push'](_0x5ed5fe['shift']());}catch(_0x4ea594){_0x5ed5fe['push'](_0x5ed5fe['shift']());}}}(_0x2871,0x6edb5),function(_0x96c521,_0xb68497){const _0x3bcc7a=_0x50c2;typeof exports==_0x3bcc7a(0x1d6)&&typeof module<'u'?_0xb68497(exports,require(_0x3bcc7a(0x38c)),require(_0x3bcc7a(0x202)),require(_0x3bcc7a(0x489)),require('@univerjs/ui'),require(_0x3bcc7a(0x37a)),require(_0x3bcc7a(0x4af)),require(_0x3bcc7a(0x523)),require(_0x3bcc7a(0x535)),require(_0x3bcc7a(0x2e3)),require(_0x3bcc7a(0x26f)),require('@univerjs/engine-render'),require(_0x3bcc7a(0x4a6)),require(_0x3bcc7a(0x1e9)),require('@univerjs/sheets-ui'),require(_0x3bcc7a(0x3d9)),require(_0x3bcc7a(0x47a)),require(_0x3bcc7a(0x4d7))):typeof define==_0x3bcc7a(0x55f)&&define['amd']?define([_0x3bcc7a(0x3d2),_0x3bcc7a(0x38c),_0x3bcc7a(0x202),_0x3bcc7a(0x489),'@univerjs/ui',_0x3bcc7a(0x37a),_0x3bcc7a(0x4af),_0x3bcc7a(0x523),'@univerjs/docs',_0x3bcc7a(0x2e3),_0x3bcc7a(0x26f),_0x3bcc7a(0x51b),'@univerjs/engine-formula','lodash/debounce','@univerjs/sheets-ui','react','clsx',_0x3bcc7a(0x4d7)],_0xb68497):(_0x96c521=typeof globalThis<'u'?globalThis:_0x96c521||self,_0xb68497(_0x96c521[_0x3bcc7a(0x1fe)]={},_0x96c521[_0x3bcc7a(0x466)],_0x96c521['UniverSheets'],_0x96c521[_0x3bcc7a(0x367)],_0x96c521['UniverUi'],_0x96c521[_0x3bcc7a(0x1fc)],_0x96c521['rxjs'],_0x96c521[_0x3bcc7a(0x4af)][_0x3bcc7a(0x510)],_0x96c521[_0x3bcc7a(0x359)],_0x96c521[_0x3bcc7a(0x27a)],_0x96c521['UniverDrawing'],_0x96c521[_0x3bcc7a(0x5c1)],_0x96c521[_0x3bcc7a(0x5a3)],_0x96c521[_0x3bcc7a(0x248)][_0x3bcc7a(0x3d7)],_0x96c521[_0x3bcc7a(0x3a8)],_0x96c521[_0x3bcc7a(0x341)],_0x96c521['clsx'],_0x96c521[_0x3bcc7a(0x39b)]));}(this,function(_0x21561b,_0x59f65f,_0x5dba16,_0x936b9e,_0x40690c,_0x4c33ab,_0x6d0798,_0x4e8b21,_0x28f26c,_0x33d91c,_0x4ba2c1,_0x59fc99,_0x4bb840,_0x1a577b,_0x15ca36,_0xaabc7e,_0x18d70e,_0x13ce83){'use strict';const _0x2c702b=_0x50c2;var _0x4842b6=Object[_0x2c702b(0x227)],_0x20d93d=(_0x2ab225,_0x470030,_0x22705d)=>_0x470030 in _0x2ab225?_0x4842b6(_0x2ab225,_0x470030,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22705d}):_0x2ab225[_0x470030]=_0x22705d,_0x191e33=(_0x129358,_0xdcb8ab,_0x1607ed)=>_0x20d93d(_0x129358,typeof _0xdcb8ab!=_0x2c702b(0x211)?_0xdcb8ab+'':_0xdcb8ab,_0x1607ed);const _0x27f2b1=_0x2c702b(0x593),_0x4a6e51=_0x2c702b(0x2b7),_0x47cbd6=_0x2c702b(0x398),_0x577ef8=_0x2c702b(0x3ee),_0x5d608a=_0x2c702b(0x1e2),_0x27752e=_0x2c702b(0x2cc),_0x2c93f2=_0x2c702b(0x40a),_0x941b18='HEARTBEAT_TIMEOUT',_0x52518b=_0x2c702b(0x479),_0x4045c8=_0x2c702b(0x316),_0x219665=_0x2c702b(0x27e),_0x124ad0=_0x2c702b(0x504),_0x11ec87=_0x2c702b(0x2cb),_0x5565db=_0x2c702b(0x1f3),_0x3ec828=_0x2c702b(0x337);var _0x18c1e7=(_0x258623=>(_0x258623[_0x258623[_0x2c702b(0x38a)]=0x0]=_0x2c702b(0x38a),_0x258623[_0x258623['OK']=0x1]='OK',_0x258623[_0x258623[_0x2c702b(0x5ab)]=0x2]=_0x2c702b(0x5ab),_0x258623[_0x258623[_0x2c702b(0x2c9)]=0x3]=_0x2c702b(0x2c9),_0x258623[_0x258623['NOT_FOUND']=0x4]=_0x2c702b(0x28b),_0x258623[_0x258623['UNAUTHENTICATED']=0x5]=_0x2c702b(0x3aa),_0x258623[_0x258623[_0x2c702b(0x366)]=0x6]=_0x2c702b(0x366),_0x258623[_0x258623[_0x2c702b(0x518)]=0x7]=_0x2c702b(0x518),_0x258623[_0x258623[_0x2c702b(0x5ae)]=0x8]=_0x2c702b(0x5ae),_0x258623[_0x258623[_0x2c702b(0x59e)]=0x9]=_0x2c702b(0x59e),_0x258623[_0x258623[_0x2c702b(0x2e0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x258623[_0x258623[_0x2c702b(0x4e1)]=0x1771]=_0x2c702b(0x4e1),_0x258623[_0x258623[_0x2c702b(0x212)]=0x1772]=_0x2c702b(0x212),_0x258623[_0x258623[_0x2c702b(0x448)]=0x1b59]='APPLY_REJECT',_0x258623[_0x258623[_0x2c702b(0x59c)]=0x1b5a]=_0x2c702b(0x59c),_0x258623[_0x258623['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2c702b(0x59b),_0x258623[_0x258623['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2c702b(0x4e5),_0x258623[_0x258623[_0x2c702b(0x4b4)]=0x1f41]=_0x2c702b(0x4b4),_0x258623[_0x258623[_0x2c702b(0x44b)]=0x2329]=_0x2c702b(0x44b),_0x258623[_0x258623[_0x2c702b(0x278)]=0x232a]=_0x2c702b(0x278),_0x258623[_0x258623[_0x2c702b(0x34f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x258623[_0x258623[_0x2c702b(0x537)]=0x232c]=_0x2c702b(0x537),_0x258623[_0x258623['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2c702b(0x44c),_0x258623[_0x258623['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2c702b(0x2fb),_0x258623[_0x258623[_0x2c702b(0x587)]=0x2712]=_0x2c702b(0x587),_0x258623[_0x258623[_0x2c702b(0x2f4)]=0x2713]=_0x2c702b(0x2f4),_0x258623[_0x258623[_0x2c702b(0x49f)]=0x2714]=_0x2c702b(0x49f),_0x258623[_0x258623['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x258623))(_0x18c1e7||{}),_0x2e0d9e=(_0x240dae=>(_0x240dae[_0x240dae[_0x2c702b(0x309)]=0x0]=_0x2c702b(0x309),_0x240dae[_0x240dae[_0x2c702b(0x525)]=0x1]=_0x2c702b(0x525),_0x240dae[_0x240dae[_0x2c702b(0x46b)]=0x2]='UNIVER_SHEET',_0x240dae[_0x240dae[_0x2c702b(0x251)]=0x3]=_0x2c702b(0x251),_0x240dae[_0x240dae[_0x2c702b(0x1e1)]=0x4]=_0x2c702b(0x1e1),_0x240dae[_0x240dae[_0x2c702b(0x31e)]=-0x1]=_0x2c702b(0x31e),_0x240dae))(_0x2e0d9e||{}),_0x36744e=(_0x34362b=>(_0x34362b[_0x34362b[_0x2c702b(0x45f)]=0x0]=_0x2c702b(0x45f),_0x34362b[_0x34362b[_0x2c702b(0x36c)]=0x1]=_0x2c702b(0x36c),_0x34362b[_0x34362b['JOIN']=0x2]='JOIN',_0x34362b[_0x34362b[_0x2c702b(0x502)]=0x3]=_0x2c702b(0x502),_0x34362b[_0x34362b[_0x2c702b(0x3cf)]=0x4]=_0x2c702b(0x3cf),_0x34362b[_0x34362b['HEARTBEAT']=0x5]=_0x2c702b(0x381),_0x34362b[_0x34362b[_0x2c702b(0x3bb)]=0x6]=_0x2c702b(0x3bb),_0x34362b[_0x34362b[_0x2c702b(0x31e)]=-0x1]=_0x2c702b(0x31e),_0x34362b))(_0x36744e||{}),_0x2e0dfc=(_0x3cb208=>(_0x3cb208[_0x3cb208[_0x2c702b(0x312)]=0x0]=_0x2c702b(0x312),_0x3cb208[_0x3cb208['OK']=0x1]='OK',_0x3cb208[_0x3cb208[_0x2c702b(0x4d9)]=0x2]=_0x2c702b(0x4d9),_0x3cb208[_0x3cb208[_0x2c702b(0x31e)]=-0x1]=_0x2c702b(0x31e),_0x3cb208))(_0x2e0dfc||{}),_0x5171b7=(_0x2c8087=>(_0x2c8087[_0x2c8087[_0x2c702b(0x32e)]=0x0]=_0x2c702b(0x32e),_0x2c8087[_0x2c8087['HttpImport']=0x1]=_0x2c702b(0x440),_0x2c8087[_0x2c8087[_0x2c702b(0x415)]=0x2]='HttpExport',_0x2c8087[_0x2c8087[_0x2c702b(0x390)]=0x3]=_0x2c702b(0x390),_0x2c8087[_0x2c8087['UnitSnapshot']=0x4]=_0x2c702b(0x41f),_0x2c8087[_0x2c8087[_0x2c702b(0x31e)]=-0x1]=_0x2c702b(0x31e),_0x2c8087))(_0x5171b7||{}),_0x3cb9ed=Object[_0x2c702b(0x227)],_0x38b943=Object[_0x2c702b(0x294)],_0x2b90b4=(_0x2d2146,_0xf03acd,_0xb2146c,_0x10dc2f)=>{for(var _0x92d331=_0x10dc2f>0x1?void 0x0:_0x10dc2f?_0x38b943(_0xf03acd,_0xb2146c):_0xf03acd,_0x57e300=_0x2d2146['length']-0x1,_0x80bf47;_0x57e300>=0x0;_0x57e300--)(_0x80bf47=_0x2d2146[_0x57e300])&&(_0x92d331=(_0x10dc2f?_0x80bf47(_0xf03acd,_0xb2146c,_0x92d331):_0x80bf47(_0x92d331))||_0x92d331);return _0x10dc2f&&_0x92d331&&_0x3cb9ed(_0xf03acd,_0xb2146c,_0x92d331),_0x92d331;},_0x1c449f=(_0x2f0e26,_0x23995c)=>(_0x171173,_0xfcfd35)=>_0x23995c(_0x171173,_0xfcfd35,_0x2f0e26);let _0x1137aa=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x52df71,_0x785ef1){const _0x2da47e=_0x2c702b;super(),_0x191e33(this,_0x2da47e(0x5a9),new Map()),(this[_0x2da47e(0x54c)]=_0x52df71,this['_userManagerService']=_0x785ef1,this[_0x2da47e(0x35f)](_0x59f65f[_0x2da47e(0x209)](_0x6d0798['merge'](this[_0x2da47e(0x54c)][_0x2da47e(0x2be)](_0x59f65f[_0x2da47e(0x28f)][_0x2da47e(0x46b)])[_0x2da47e(0x47e)](_0x4e8b21['map'](_0x221c9c=>_0x221c9c['getUnitId']())),this[_0x2da47e(0x54c)][_0x2da47e(0x2be)](_0x59f65f[_0x2da47e(0x28f)][_0x2da47e(0x525)])[_0x2da47e(0x47e)](_0x4e8b21[_0x2da47e(0x4a7)](_0x405bbd=>_0x405bbd[_0x2da47e(0x36b)]())),this['_univerInstanceService'][_0x2da47e(0x2be)](_0x59f65f[_0x2da47e(0x28f)][_0x2da47e(0x251)])[_0x2da47e(0x47e)](_0x4e8b21[_0x2da47e(0x4a7)](_0x2aabd6=>_0x2aabd6['getUnitId']())))[_0x2da47e(0x41d)](_0x13f659=>this[_0x2da47e(0x3f2)](_0x13f659)))));}[_0x2c702b(0x289)](_0x3a3901){const _0x5c09da=_0x2c702b;this[_0x5c09da(0x451)]['setCurrentUser'](_0x3a3901);}[_0x2c702b(0x25e)](){const _0x59ee0d=_0x2c702b;return this[_0x59ee0d(0x451)][_0x59ee0d(0x25e)]();}[_0x2c702b(0x5ba)](_0x42949d,_0x560e4d){const _0x5cc07c=_0x2c702b;let _0x5b35e5=this[_0x5cc07c(0x5a9)][_0x5cc07c(0x2f7)](_0x42949d);_0x5b35e5||(_0x5b35e5=new _0x4e1f4e(),this[_0x5cc07c(0x5a9)][_0x5cc07c(0x407)](_0x42949d,_0x5b35e5)),_0x5b35e5[_0x5cc07c(0x5ba)](_0x560e4d);}[_0x2c702b(0x57b)](_0x342ff0,_0x12013d){const _0x191fdd=_0x2c702b,_0x558afd=this['_roomMembers'][_0x191fdd(0x2f7)](_0x342ff0);_0x558afd&&_0x558afd[_0x191fdd(0x57b)](_0x12013d);}[_0x2c702b(0x40b)](_0x25e7eb){const _0x55c1b1=_0x2c702b;return this[_0x55c1b1(0x5a9)][_0x55c1b1(0x2f7)](_0x25e7eb);}['getMember'](_0x2c5a7a,_0x566ffd){const _0x35f0da=_0x2c702b,_0x25ee00=this[_0x35f0da(0x5a9)][_0x35f0da(0x2f7)](_0x2c5a7a);if(_0x25ee00)return _0x25ee00[_0x35f0da(0x4f6)](_0x566ffd);}[_0x2c702b(0x3f2)](_0x1d2845){const _0x50260e=_0x2c702b,_0x242e12=this[_0x50260e(0x5a9)][_0x50260e(0x2f7)](_0x1d2845);_0x242e12&&(_0x242e12[_0x50260e(0x574)](),this['_roomMembers']['delete'](_0x1d2845));}[_0x2c702b(0x574)](){const _0x532972=_0x2c702b;this[_0x532972(0x5a9)][_0x532972(0x363)](_0x2209a3=>_0x2209a3[_0x532972(0x574)]()),this[_0x532972(0x5a9)][_0x532972(0x544)]();}};_0x1137aa=_0x2b90b4([_0x1c449f(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x1c449f(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x2fe)]))],_0x1137aa);class _0x4e1f4e extends _0x59f65f[_0x2c702b(0x416)]{constructor(){const _0x3f42a0=_0x2c702b;super(...arguments),_0x191e33(this,_0x3f42a0(0x413),new Map());}[_0x2c702b(0x574)](){const _0x3b4eb4=_0x2c702b;this[_0x3b4eb4(0x413)][_0x3b4eb4(0x544)]();}[_0x2c702b(0x5ba)](_0x295e71){const _0x2e0d03=_0x2c702b;this[_0x2e0d03(0x413)][_0x2e0d03(0x407)](_0x295e71[_0x2e0d03(0x4c8)],_0x295e71);}[_0x2c702b(0x57b)](_0xcd1754){const _0x3e9290=_0x2c702b;this[_0x3e9290(0x413)][_0x3e9290(0x1ff)](_0xcd1754);}['getMember'](_0x22f45d){const _0x5aef40=_0x2c702b;return this['_members'][_0x5aef40(0x2f7)](_0x22f45d);}}function _0x4e430e(_0x15e7ad){const _0x300c0b=_0x2c702b;var _0x190060,_0x13224e,_0x2001eb,_0x477e8f;const _0x597067=_0x15e7ad[_0x300c0b(0x51d)],_0x15c00d=JSON[_0x300c0b(0x216)](_0x597067);switch(_0x15c00d[_0x300c0b(0x5bc)]){case _0x36744e[_0x300c0b(0x381)]:case _0x36744e['HELLO']:{const _0x1b355c=_0x15c00d[_0x300c0b(0x49d)];return{..._0x15c00d,'data':_0x1b355c,'cmd':_0x15c00d[_0x300c0b(0x5bc)]};}case _0x36744e[_0x300c0b(0x55c)]:{const _0x36a6ab=_0x15c00d[_0x300c0b(0x44a)];return{..._0x15c00d,'data':_0x36a6ab,'cmd':_0x15c00d['cmd']};}case _0x36744e[_0x300c0b(0x3bb)]:{const _0x1ccdd1=_0x15c00d[_0x300c0b(0x566)];switch(_0x1ccdd1['eventID']){case _0x4c33ab['CollaborationEvent'][_0x300c0b(0x242)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':(_0x190060=_0x1ccdd1[_0x300c0b(0x4b2)])==null?void 0x0:_0x190060['cs']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x2c6)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':(_0x13224e=_0x1ccdd1[_0x300c0b(0x55d)])==null?void 0x0:_0x13224e['cs']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x1f9)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':(_0x2001eb=_0x1ccdd1[_0x300c0b(0x2b1)])==null?void 0x0:_0x2001eb['cs']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x1f6)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':(_0x477e8f=_0x1ccdd1['csRejEvent'])==null?void 0x0:_0x477e8f['cs']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x266)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x5a1)]},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x4e6)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1['joinEvent']},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)]['USERS_LEAVE']:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x339)]},'cmd':_0x15c00d['cmd']};case _0x4c33ab['CollaborationEvent'][_0x300c0b(0x326)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x482)]},'cmd':_0x15c00d['cmd']};case _0x4c33ab[_0x300c0b(0x550)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x3e4)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x4d5)]},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x482)]},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x4ae)]:return{..._0x15c00d,'data':_0x1ccdd1,'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x511)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x4bc)]},'cmd':_0x15c00d[_0x300c0b(0x5bc)]};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x3e5)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1['updatePermissionObjEvent']},'cmd':_0x15c00d['cmd']};case _0x4c33ab[_0x300c0b(0x550)][_0x300c0b(0x23a)]:return{..._0x15c00d,'data':{..._0x1ccdd1,'data':_0x1ccdd1[_0x300c0b(0x4e3)]},'cmd':_0x15c00d['cmd']};default:return _0x15c00d;}}default:return _0x15c00d;}}function _0x4ae816(_0x661280){const _0x53939b=_0x2c702b;switch(_0x661280['cmd']){case _0x36744e[_0x53939b(0x381)]:case _0x36744e[_0x53939b(0x36c)]:return JSON[_0x53939b(0x208)]({'cmd':_0x661280['cmd'],'routeKey':_0x661280[_0x53939b(0x2e7)]});case _0x36744e[_0x53939b(0x3cf)]:{let _0x4045fc;switch(_0x661280['data'][_0x53939b(0x50d)]){case _0x4c33ab['CollaborationEvent'][_0x53939b(0x266)]:{_0x4045fc={'eventID':_0x4c33ab['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x661280['data'][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x48e)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x48e)],'leaveEvent':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x4e6)]:{_0x4045fc={'eventID':_0x4c33ab['CollaborationEvent'][_0x53939b(0x4e6)],'joinEvent':_0x661280['data'][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x326)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x326)],'liveShareNewHost':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x3e4)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x539)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x539)],'liveShareTerminate':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)][_0x53939b(0x560)]:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x560)],'liveShareRequestHost':_0x661280[_0x53939b(0x51d)][_0x53939b(0x51d)]};break;}case _0x4c33ab[_0x53939b(0x550)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4045fc={'eventID':_0x4c33ab[_0x53939b(0x550)][_0x53939b(0x3ba)]};break;}default:_0x4045fc={'eventID':_0x661280[_0x53939b(0x51d)][_0x53939b(0x50d)]};}return JSON[_0x53939b(0x208)]({'cmd':_0x661280[_0x53939b(0x5bc)],'routeKey':_0x661280['routeKey'],'collaMsg':_0x4045fc});}case _0x36744e[_0x53939b(0x55c)]:return JSON[_0x53939b(0x208)]({'cmd':_0x661280[_0x53939b(0x5bc)],'routeKey':_0x661280[_0x53939b(0x2e7)],'joinReq':_0x661280['data']});case _0x36744e[_0x53939b(0x502)]:return JSON['stringify']({'cmd':_0x661280['cmd'],'routeKey':_0x661280[_0x53939b(0x2e7)],'leaveReq':_0x661280[_0x53939b(0x51d)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x12d09e=Object['defineProperty'],_0x5801a0=Object[_0x2c702b(0x294)],_0x34404f=(_0x146573,_0x1879cb,_0x3cedd5,_0x550d59)=>{const _0x128d46=_0x2c702b;for(var _0x4da6db=_0x550d59>0x1?void 0x0:_0x550d59?_0x5801a0(_0x1879cb,_0x3cedd5):_0x1879cb,_0x3ec5de=_0x146573[_0x128d46(0x493)]-0x1,_0x1c087a;_0x3ec5de>=0x0;_0x3ec5de--)(_0x1c087a=_0x146573[_0x3ec5de])&&(_0x4da6db=(_0x550d59?_0x1c087a(_0x1879cb,_0x3cedd5,_0x4da6db):_0x1c087a(_0x4da6db))||_0x4da6db);return _0x550d59&&_0x4da6db&&_0x12d09e(_0x1879cb,_0x3cedd5,_0x4da6db),_0x4da6db;},_0x59ae19=(_0x219985,_0x2b8473)=>(_0x31607a,_0x31ed0e)=>_0x2b8473(_0x31607a,_0x31ed0e,_0x219985);const _0x285153=_0x59f65f[_0x2c702b(0x4ad)](_0x2c702b(0x4a0));function _0x5bcb6d(_0x36da2b,_0x1641fa,_0x19f8f3){const _0x2b3aec=_0x2c702b;return _0x36da2b+'/'+_0x1641fa+_0x2b3aec(0x528)+_0x19f8f3+_0x2b3aec(0x213);}_0x21561b[_0x2c702b(0x4bb)]=class{constructor(_0x45aae7,_0x299532,_0x102bf5,_0x4323ef,_0x7c50c3){const _0x40311c=_0x2c702b;this[_0x40311c(0x3b0)]=_0x45aae7,this[_0x40311c(0x3af)]=_0x299532,this[_0x40311c(0x2a3)]=_0x102bf5,this[_0x40311c(0x591)]=_0x4323ef,this[_0x40311c(0x50b)]=_0x7c50c3;}[_0x2c702b(0x4c3)](_0x186839){const _0x31b956=_0x2c702b,_0x5367e0=this['_ws']['createSocket'](_0x186839);if(!_0x5367e0)throw new Error(_0x31b956(0x364));const _0x20709d=new _0x59f65f[(_0x31b956(0x55a))](),_0x37dd8f=new _0x6d0798['Subject']();_0x20709d[_0x31b956(0x2b6)](_0x59f65f[_0x31b956(0x209)](_0x5367e0[_0x31b956(0x1c7)][_0x31b956(0x41d)](_0x904c99=>_0x37dd8f[_0x31b956(0x577)](_0x904c99)))),_0x20709d[_0x31b956(0x2b6)](_0x59f65f[_0x31b956(0x209)](()=>_0x37dd8f[_0x31b956(0x47c)]()));const _0xac7665=new _0x6d0798[(_0x31b956(0x2d1))]();_0x20709d['add'](_0x59f65f['toDisposable'](_0x5367e0[_0x31b956(0x31a)]['subscribe'](_0x4820b0=>_0xac7665[_0x31b956(0x577)](_0x4820b0)))),_0x20709d[_0x31b956(0x2b6)](_0x59f65f['toDisposable'](()=>_0xac7665[_0x31b956(0x47c)]()));const _0x377938=new _0x6d0798[(_0x31b956(0x2d1))]();_0x20709d['add'](_0x59f65f[_0x31b956(0x209)](_0x5367e0[_0x31b956(0x594)][_0x31b956(0x41d)](_0x22b201=>{const _0x1998d6=_0x31b956,_0x71d5d4=_0x4e430e(_0x22b201);_0x377938[_0x1998d6(0x577)](_0x71d5d4);}))),_0x20709d[_0x31b956(0x2b6)](_0x59f65f[_0x31b956(0x209)](()=>_0x377938[_0x31b956(0x47c)]()));const _0x29c767=()=>{const _0x196f3f=_0x31b956;_0xac7665[_0x196f3f(0x577)](new Event(_0x196f3f(0x457))),_0x37dd8f[_0x196f3f(0x577)](new CloseEvent(_0x196f3f(0x457))),_0x5a2541[_0x196f3f(0x4f5)]();},_0x5a2541={'memberID':'','close$':_0x37dd8f[_0x31b956(0x1c4)](),'error$':_0xac7665['asObservable'](),'open$':_0x5367e0[_0x31b956(0x3cb)],'message$':_0x377938['asObservable'](),'send':_0x3cb539=>{const _0x15a03c=_0x31b956;if(_0x3cb539[_0x15a03c(0x5bc)]===_0x36744e['INGEST']){if(_0x3cb539[_0x15a03c(0x51d)][_0x15a03c(0x50d)]===_0x4c33ab[_0x15a03c(0x550)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x5a2541,_0x3cb539[_0x15a03c(0x51d)])['catch'](_0x28699c=>{const _0x436df2=_0x15a03c;this['_logService'][_0x436df2(0x538)](_0x28699c),_0x29c767();});return;}if(_0x3cb539[_0x15a03c(0x51d)][_0x15a03c(0x50d)]===_0x4c33ab[_0x15a03c(0x550)][_0x15a03c(0x292)]){const _0x14890d=_0x3cb539[_0x15a03c(0x51d)];this[_0x15a03c(0x36d)](_0x14890d)[_0x15a03c(0x4c0)](_0x3f8181=>{const _0x455ed2=_0x15a03c;_0x377938[_0x455ed2(0x577)]({'cmd':_0x36744e[_0x455ed2(0x3bb)],'code':_0x2e0dfc['OK'],'routeKey':_0x14890d[_0x455ed2(0x51d)][_0x455ed2(0x2fa)],'routeType':'','data':{'eventID':_0x4c33ab[_0x455ed2(0x550)][_0x455ed2(0x299)],'data':{'changesets':_0x3f8181}}});})[_0x15a03c(0x21c)](_0x39a298=>{const _0x2fc770=_0x15a03c;this['_logService'][_0x2fc770(0x538)](_0x39a298),_0x29c767();});return;}}_0x5367e0[_0x15a03c(0x2ee)](_0x4ae816(_0x3cb539));},'close':()=>{const _0x329be8=_0x31b956;_0x5367e0[_0x329be8(0x4f5)](),_0x20709d['dispose']();}};return _0x5a2541;}async[_0x2c702b(0x4cd)](_0x2f4bec,_0x203f0f){const _0x3f385b=_0x2c702b;var _0xbdcf9c;const {unitType:_0x1be328,unitID:_0x5e65cf,changeset:_0x1e1f4a}=_0x203f0f[_0x3f385b(0x51d)],_0x32be97={'unitID':_0x5e65cf,'memberID':_0x2f4bec['memberID'],'type':_0x1be328,'changeset':_0x4c33ab[_0x3f385b(0x4d0)](_0x1e1f4a)},_0x3d18c6=_0x5bcb6d((_0xbdcf9c=this['_configService'][_0x3f385b(0x330)](_0x124ad0))!=null?_0xbdcf9c:_0x11ec87,_0x1be328,_0x5e65cf);try{await this['_http'][_0x3f385b(0x34b)](_0x3d18c6,{'body':_0x32be97});}catch(_0x269136){throw this['_logService'][_0x3f385b(0x538)]('[CollaborationSession]',_0x3f385b(0x365)),_0x269136;}}async[_0x2c702b(0x36d)](_0x2c2996){const _0x1819f0=_0x2c702b,{unitID:_0x49ea37,from:_0x13dab9,to:_0x1b62a7,unitType:_0x39d31f}=_0x2c2996[_0x1819f0(0x51d)];return(await this[_0x1819f0(0x50b)][_0x1819f0(0x2f9)]({'metadata':void 0x0},{'unitID':_0x49ea37,'type':_0x39d31f,'from':_0x13dab9,'to':_0x1b62a7}))[_0x1819f0(0x34c)];}},_0x21561b[_0x2c702b(0x4bb)]=_0x34404f([_0x59ae19(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x1d5)])),_0x59ae19(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x222)])),_0x59ae19(0x2,_0x59f65f[_0x2c702b(0x39d)]),_0x59ae19(0x3,_0x59f65f['ILogService']),_0x59ae19(0x4,_0x4c33ab[_0x2c702b(0x2d0)])],_0x21561b[_0x2c702b(0x4bb)]);class _0x256572{constructor(){const _0x1b7356=_0x2c702b;_0x191e33(this,_0x1b7356(0x3ec),new _0x6d0798['Subject']()),_0x191e33(this,_0x1b7356(0x3dd),this[_0x1b7356(0x3ec)]['asObservable']());}[_0x2c702b(0x252)](_0x283b84){const _0xa557cc=_0x2c702b;this[_0xa557cc(0x3ec)][_0xa557cc(0x577)](_0x283b84);}}var _0x118a74=Object['defineProperty'],_0xd6bb93=Object['getOwnPropertyDescriptor'],_0x248c13=(_0x44854c,_0x55ff21,_0x22bbda,_0x582a68)=>{const _0x3de63c=_0x2c702b;for(var _0x4fd5f9=_0x582a68>0x1?void 0x0:_0x582a68?_0xd6bb93(_0x55ff21,_0x22bbda):_0x55ff21,_0x53c291=_0x44854c[_0x3de63c(0x493)]-0x1,_0x57032e;_0x53c291>=0x0;_0x53c291--)(_0x57032e=_0x44854c[_0x53c291])&&(_0x4fd5f9=(_0x582a68?_0x57032e(_0x55ff21,_0x22bbda,_0x4fd5f9):_0x57032e(_0x4fd5f9))||_0x4fd5f9);return _0x582a68&&_0x4fd5f9&&_0x118a74(_0x55ff21,_0x22bbda,_0x4fd5f9),_0x4fd5f9;},_0x29a073=(_0x11fe8f,_0x27d459)=>(_0x1cd732,_0x5d8fd1)=>_0x27d459(_0x1cd732,_0x5d8fd1,_0x11fe8f),_0x29549f=(_0x271d64=>(_0x271d64[_0x271d64[_0x2c702b(0x48a)]=0x0]=_0x2c702b(0x48a),_0x271d64[_0x271d64['JOINING']=0x1]=_0x2c702b(0x474),_0x271d64[_0x271d64['OFFLINE']=0x2]=_0x2c702b(0x50a),_0x271d64[_0x271d64[_0x2c702b(0x257)]=0x3]=_0x2c702b(0x257),_0x271d64))(_0x29549f||{});_0x21561b[_0x2c702b(0x4f3)]=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0x5214a2,_0x3d26f9,_0x33b648,_0x53de3b,_0xaea4f1,_0x2141ef,_0x5d5fff,_0x5a005d,_0x1ab146){const _0x11ffa4=_0x2c702b;super(),_0x191e33(this,'_sessionStatus$',new _0x6d0798['BehaviorSubject'](0x0)),_0x191e33(this,'sessionStatus$',this[_0x11ffa4(0x1de)]['asObservable']()),_0x191e33(this,_0x11ffa4(0x499),new _0x6d0798['Subject']()),_0x191e33(this,_0x11ffa4(0x5c0),this['_event$'][_0x11ffa4(0x1c4)]()),_0x191e33(this,_0x11ffa4(0x5c3)),_0x191e33(this,'_socketMessageSubscription'),_0x191e33(this,_0x11ffa4(0x36a)),(this[_0x11ffa4(0x49a)]=_0x5214a2,this[_0x11ffa4(0x591)]=_0x33b648,this[_0x11ffa4(0x1f7)]=_0x53de3b,this['_messageService']=_0xaea4f1,this[_0x11ffa4(0x2a3)]=_0x2141ef,this['_localeService']=_0x5d5fff,this[_0x11ffa4(0x327)]=_0x5a005d,this[_0x11ffa4(0x483)]=_0x1ab146,_0x3d26f9[_0x11ffa4(0x47e)](_0x4e8b21[_0x11ffa4(0x397)](this[_0x11ffa4(0x45e)]))['subscribe'](_0x18379a=>{const _0x1da9ab=_0x11ffa4;var _0x20f1de;typeof _0x18379a>'u'||(this[_0x1da9ab(0x5c3)]=_0x18379a,_0x18379a?(this[_0x1da9ab(0x29f)](_0x18379a),this[_0x1da9ab(0x286)]=this[_0x1da9ab(0x5c3)]['message$'][_0x1da9ab(0x41d)](_0x2f1ba0=>{const _0x314bab=_0x1da9ab;_0x2f1ba0[_0x314bab(0x2e7)]===this[_0x314bab(0x49a)]&&this['_onCombEvent'](_0x2f1ba0);})):(this[_0x1da9ab(0x1de)][_0x1da9ab(0x577)](0x2),(_0x20f1de=this[_0x1da9ab(0x286)])==null||_0x20f1de[_0x1da9ab(0x348)](),this['_socketMessageSubscription']=null));}),this[_0x11ffa4(0x35f)](this[_0x11ffa4(0x1f7)][_0x11ffa4(0x2e4)](()=>{const _0x451f0c=_0x11ffa4;var _0x45d3d5;(_0x45d3d5=this[_0x451f0c(0x5c3)])==null||_0x45d3d5[_0x451f0c(0x2ee)]({'cmd':_0x36744e[_0x451f0c(0x502)],'data':{'roomID':this['_unitID']}});})));}get[_0x2c702b(0x3ab)](){const _0x1bef61=_0x2c702b;return this[_0x1bef61(0x1de)]['getValue']();}[_0x2c702b(0x23f)](){const _0x3ea4d0=_0x2c702b;var _0x5e57df,_0x2ba748;return(_0x2ba748=(_0x5e57df=this['_socket'])==null?void 0x0:_0x5e57df[_0x3ea4d0(0x4c8)])!=null?_0x2ba748:null;}['dispose'](){const _0xdea44e=_0x2c702b;super[_0xdea44e(0x574)](),this[_0xdea44e(0x45e)][_0xdea44e(0x577)](),this[_0xdea44e(0x45e)][_0xdea44e(0x47c)]();}['close'](){const _0x228bbd=_0x2c702b;var _0x9aa05b,_0x2bc621;(_0x9aa05b=this[_0x228bbd(0x5c3)])==null||_0x9aa05b['send']({'cmd':_0x36744e[_0x228bbd(0x502)],'data':{'roomID':this['_unitID']}}),this[_0x228bbd(0x499)][_0x228bbd(0x47c)](),this[_0x228bbd(0x1de)][_0x228bbd(0x47c)](),(_0x2bc621=this['_socket'])==null||_0x2bc621[_0x228bbd(0x4f5)](),this[_0x228bbd(0x574)]();}[_0x2c702b(0x472)](_0x4cbe4a){const _0x5dd0e0=_0x2c702b;_0x4cbe4a[_0x5dd0e0(0x5bc)]===_0x36744e[_0x5dd0e0(0x55c)]?this[_0x5dd0e0(0x369)](_0x4cbe4a):_0x4cbe4a['cmd']===_0x36744e[_0x5dd0e0(0x3bb)]&&this['_onRecvEvent'](_0x4cbe4a);}[_0x2c702b(0x29f)](_0x5c8359){const _0x4ca287=_0x2c702b;this[_0x4ca287(0x1de)][_0x4ca287(0x577)](0x1),_0x5c8359[_0x4ca287(0x2ee)]({'cmd':_0x36744e[_0x4ca287(0x55c)],'routeKey':this[_0x4ca287(0x49a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2c5689){const _0x436880=_0x2c702b;var _0x4fcceb;if(_0x2c5689[_0x436880(0x553)]===_0x2e0dfc[_0x436880(0x4d9)]){this['_messageService'][_0x436880(0x272)]({'type':_0x936b9e[_0x436880(0x51a)]['Warning'],'content':this['_localeService']['t'](_0x436880(0x354))}),this['_sessionStatus$'][_0x436880(0x577)](0x2);return;}this[_0x436880(0x1de)][_0x436880(0x577)](0x3);const _0x2824b1=(_0x4fcceb=_0x2c5689[_0x436880(0x51d)][_0x436880(0x2e9)][this[_0x436880(0x49a)]])==null?void 0x0:_0x4fcceb[_0x436880(0x265)];_0x2824b1&&_0x2824b1[_0x436880(0x363)](_0x296ba2=>this['_memberService'][_0x436880(0x5ba)](this[_0x436880(0x49a)],_0x296ba2));}[_0x2c702b(0x3d3)](_0x2acd63){const _0x1f5964=_0x2c702b;try{const _0x2da812=_0x2acd63[_0x1f5964(0x51d)];switch(_0x2da812['eventID']){case _0x4c33ab[_0x1f5964(0x550)][_0x1f5964(0x4e6)]:this[_0x1f5964(0x4fa)](_0x2da812),this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);break;case _0x4c33ab['CollaborationEvent'][_0x1f5964(0x48e)]:this['_onUserLeave'](_0x2da812),this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);break;case _0x4c33ab[_0x1f5964(0x550)][_0x1f5964(0x2c6)]:this[_0x1f5964(0x595)](),this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);break;case _0x4c33ab[_0x1f5964(0x550)][_0x1f5964(0x4ae)]:this[_0x1f5964(0x591)][_0x1f5964(0x538)](_0x1f5964(0x463)+JSON[_0x1f5964(0x208)](_0x2da812)),this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);break;case _0x4c33ab[_0x1f5964(0x550)]['COMMENT_UPDATE']:this[_0x1f5964(0x483)][_0x1f5964(0x252)](_0x2da812[_0x1f5964(0x51d)]),this[_0x1f5964(0x499)]['next'](_0x2da812);break;default:this[_0x1f5964(0x499)][_0x1f5964(0x577)](_0x2da812);}}catch(_0x14ae3d){this[_0x1f5964(0x591)][_0x1f5964(0x538)](_0x14ae3d,_0x2acd63);}}[_0x2c702b(0x4fa)](_0x51f29d){const _0x8fef5f=_0x2c702b;this[_0x8fef5f(0x327)]['updateMember'](this[_0x8fef5f(0x49a)],_0x51f29d[_0x8fef5f(0x51d)]);}[_0x2c702b(0x4ff)](_0x1d8d3a){const _0x3b358d=_0x2c702b;this[_0x3b358d(0x327)]['removeMember'](this[_0x3b358d(0x49a)],_0x1d8d3a[_0x3b358d(0x51d)][_0x3b358d(0x4c8)]);}async[_0x2c702b(0x2ee)](_0x3656b3,_0x442162){const _0xdc573=_0x2c702b;if(this[_0xdc573(0x3ab)]!==0x3||!this[_0xdc573(0x5c3)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3656b3['eventID']===_0x4c33ab[_0xdc573(0x550)]['NEW_CHANGESETS']&&this['_scheduleCollaborationTimeoutTimer'](),this[_0xdc573(0x5c3)][_0xdc573(0x2ee)]({'cmd':_0x36744e[_0xdc573(0x3cf)],'routeKey':_0x442162,'routeType':'','data':_0x3656b3});}catch(_0xf167dc){this[_0xdc573(0x591)][_0xdc573(0x538)](_0xf167dc);}}[_0x2c702b(0x30f)](){const _0x30cae5=_0x2c702b;var _0x17534c;this[_0x30cae5(0x36a)]=window[_0x30cae5(0x56a)](()=>{const _0x497efe=_0x30cae5;this[_0x497efe(0x36a)]=null,this['_messageService']['show']({'type':_0x936b9e[_0x497efe(0x51a)][_0x497efe(0x4db)],'content':this[_0x497efe(0x547)]['t'](_0x497efe(0x4dc))});},(_0x17534c=this[_0x30cae5(0x2a3)][_0x30cae5(0x330)](_0x941b18))!=null?_0x17534c:0x2710);}[_0x2c702b(0x595)](){const _0x2a2110=_0x2c702b;this[_0x2a2110(0x36a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2a2110(0x36a)]=null);}},_0x21561b[_0x2c702b(0x4f3)]=_0x248c13([_0x29a073(0x2,_0x59f65f[_0x2c702b(0x5a5)]),_0x29a073(0x3,_0x40690c[_0x2c702b(0x2aa)]),_0x29a073(0x4,_0x40690c[_0x2c702b(0x37f)]),_0x29a073(0x5,_0x59f65f[_0x2c702b(0x39d)]),_0x29a073(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x29a073(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x1137aa)),_0x29a073(0x8,_0x59f65f[_0x2c702b(0x57e)](_0x256572))],_0x21561b[_0x2c702b(0x4f3)]),_0x21561b[_0x2c702b(0x42a)]=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x40ba88,_0x2d3a63,_0x45e488,_0x2085dd,_0x34fc47,_0x2ec11b){const _0x3461f4=_0x2c702b;super(),_0x191e33(this,_0x3461f4(0x311),new _0x6d0798['BehaviorSubject'](void 0x0)),_0x191e33(this,'_sessions',new Map()),_0x191e33(this,_0x3461f4(0x508),new _0x6d0798[(_0x3461f4(0x52f))](0x0)),_0x191e33(this,_0x3461f4(0x50f),this[_0x3461f4(0x508)][_0x3461f4(0x1c4)]()),_0x191e33(this,_0x3461f4(0x4c5),!0x1),_0x191e33(this,_0x3461f4(0x526)),_0x191e33(this,_0x3461f4(0x3cd)),_0x191e33(this,_0x3461f4(0x4ec)),_0x191e33(this,_0x3461f4(0x30e),0x0),(this['_injector']=_0x40ba88,this[_0x3461f4(0x547)]=_0x2d3a63,this[_0x3461f4(0x30c)]=_0x45e488,this[_0x3461f4(0x591)]=_0x2085dd,this[_0x3461f4(0x2a3)]=_0x34fc47,this[_0x3461f4(0x355)]=_0x2ec11b);}get[_0x2c702b(0x5c3)](){const _0xeae943=_0x2c702b;return this[_0xeae943(0x311)][_0xeae943(0x33b)]();}[_0x2c702b(0x574)](){const _0x500c04=_0x2c702b;super[_0x500c04(0x574)](),this['_sessions']['forEach'](_0x5aeae9=>_0x5aeae9['dispose']()),this[_0x500c04(0x3d8)][_0x500c04(0x544)](),this[_0x500c04(0x508)][_0x500c04(0x47c)]();}async[_0x2c702b(0x256)](_0x5647ce){const _0x3b562c=_0x2c702b;if(this[_0x3b562c(0x3d8)]['has'](_0x5647ce))return this[_0x3b562c(0x3d8)][_0x3b562c(0x2f7)](_0x5647ce);this[_0x3b562c(0x305)]();const _0x42c099=this[_0x3b562c(0x232)][_0x3b562c(0x4fe)](_0x21561b[_0x3b562c(0x4f3)],_0x5647ce,this[_0x3b562c(0x311)][_0x3b562c(0x1c4)]());return this[_0x3b562c(0x3d8)][_0x3b562c(0x407)](_0x5647ce,_0x42c099),_0x42c099;}[_0x2c702b(0x332)](_0x42dc10){const _0x206470=_0x2c702b;var _0x5d5e80;const _0x1c6d26=this[_0x206470(0x3d8)]['get'](_0x42dc10);_0x1c6d26&&(this[_0x206470(0x3d8)][_0x206470(0x1ff)](_0x42dc10),_0x1c6d26['close']()),this[_0x206470(0x3d8)][_0x206470(0x3a1)]||(_0x5d5e80=this['_socket'])==null||_0x5d5e80[_0x206470(0x4f5)]();}[_0x2c702b(0x291)](){const _0xc2e894=_0x2c702b;var _0x5a21fb;const _0x3eab39=(_0x5a21fb=this['_configService'][_0xc2e894(0x330)](_0x5d608a))!=null?_0x5a21fb:_0x27752e;return this[_0xc2e894(0x355)][_0xc2e894(0x4c3)](_0x3eab39);}[_0x2c702b(0x305)](){const _0x16870d=_0x2c702b;try{const _0x529b09=this[_0x16870d(0x291)]();if(_0x529b09){const _0xee0983=_0x529b09[_0x16870d(0x2ee)];_0x529b09[_0x16870d(0x2ee)]=_0x3518ed=>(this[_0x16870d(0x3d0)](),_0xee0983[_0x16870d(0x3d5)](_0x529b09,[_0x3518ed])),_0x529b09[_0x16870d(0x594)][_0x16870d(0x41d)](_0x5ae355=>this[_0x16870d(0x4e0)](_0x529b09,_0x5ae355)),_0x529b09['error$'][_0x16870d(0x47e)](_0x4e8b21[_0x16870d(0x596)](0x1))[_0x16870d(0x41d)](_0x37cbdc=>this[_0x16870d(0x591)][_0x16870d(0x538)](_0x16870d(0x545),_0x37cbdc)),_0x529b09['open$']['pipe'](_0x4e8b21['take'](0x1))[_0x16870d(0x41d)](()=>{const _0x5c11db=_0x16870d;this[_0x5c11db(0x467)](_0x529b09);}),_0x529b09[_0x16870d(0x1c7)][_0x16870d(0x47e)](_0x4e8b21[_0x16870d(0x596)](0x1))[_0x16870d(0x41d)](_0x387208=>{const _0x54832e=_0x16870d;this[_0x54832e(0x591)][_0x54832e(0x386)](_0x54832e(0x5a6),'socket\x20close',_0x387208),this[_0x54832e(0x4d2)]();});}}catch(_0x2d34fa){this[_0x16870d(0x591)][_0x16870d(0x538)](_0x2d34fa),this[_0x16870d(0x4d2)]();}}[_0x2c702b(0x467)](_0x14553d){const _0x211d97=_0x2c702b;this[_0x211d97(0x591)][_0x211d97(0x386)](_0x211d97(0x5a6),_0x211d97(0x38f)),_0x14553d[_0x211d97(0x2ee)]({'cmd':_0x36744e['HELLO']}),this[_0x211d97(0x3d0)]();}[_0x2c702b(0x4d2)](){const _0x37ef3e=_0x2c702b;var _0x28103e;this['_status$'][_0x37ef3e(0x577)](0x2),this[_0x37ef3e(0x311)][_0x37ef3e(0x577)](null),this['_clearTimeoutTimer'](),this[_0x37ef3e(0x4fd)](),this[_0x37ef3e(0x4c5)]=!0x1,this[_0x37ef3e(0x30e)]<((_0x28103e=this[_0x37ef3e(0x2a3)][_0x37ef3e(0x330)](_0x4045c8))!=null?_0x28103e:0x3)?(this[_0x37ef3e(0x25a)](this[_0x37ef3e(0x30e)]),this[_0x37ef3e(0x30e)]+=0x1):this['_messageService'][_0x37ef3e(0x272)]({'type':_0x936b9e['MessageType'][_0x37ef3e(0x4db)],'content':this[_0x37ef3e(0x547)]['t'](_0x37ef3e(0x3d6))});}[_0x2c702b(0x25a)](_0x59f3b1){const _0x432404=_0x2c702b;var _0x309792;const _0x579f59=((_0x309792=this[_0x432404(0x2a3)][_0x432404(0x330)](_0x52518b))!=null?_0x309792:0x4e20)*0x2**_0x59f3b1;this[_0x432404(0x30c)][_0x432404(0x272)]({'type':_0x936b9e[_0x432404(0x51a)][_0x432404(0x393)],'content':this[_0x432404(0x547)]['t'](_0x432404(0x578))}),this[_0x432404(0x4ec)]=setTimeout(()=>{const _0x1cc9a1=_0x432404;this[_0x1cc9a1(0x305)](),clearTimeout(this['_retryConnectingTimer']),this[_0x1cc9a1(0x4ec)]=null;},_0x579f59);}[_0x2c702b(0x3d0)](){const _0x869634=_0x2c702b;var _0x48beca;this[_0x869634(0x4fd)](),this[_0x869634(0x526)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x48beca=this[_0x869634(0x2a3)][_0x869634(0x330)](_0x2c93f2))!=null?_0x48beca:0x7530);}[_0x2c702b(0x343)](){const _0x373ab0=_0x2c702b;this['_socket']['send']({'cmd':_0x36744e['HEARTBEAT']}),this[_0x373ab0(0x203)]();}[_0x2c702b(0x203)](){const _0xfe3fcb=_0x2c702b;var _0x27686d;this['_timeoutTimer']=setTimeout(()=>this[_0xfe3fcb(0x4d2)](),(_0x27686d=this[_0xfe3fcb(0x2a3)]['getConfig'](_0x941b18))!=null?_0x27686d:0x2710);}[_0x2c702b(0x4e0)](_0x33d10e,_0x234827){const _0x4876f9=_0x2c702b,{cmd:_0x4c03c3}=_0x234827;_0x4c03c3===_0x36744e['HELLO']&&!this[_0x4876f9(0x4c5)]&&(_0x33d10e['memberID']=_0x234827[_0x4876f9(0x51d)][_0x4876f9(0x4c8)],this['_socket$']['next'](_0x33d10e),this[_0x4876f9(0x508)][_0x4876f9(0x577)](0x3),this[_0x4876f9(0x4c5)]=!0x0),_0x4c03c3===_0x36744e[_0x4876f9(0x381)]&&this[_0x4876f9(0x2f8)](),this['_rescheduleHeartbeatEvent']();}['_clearHeartbeatTimer'](){const _0x4a69b4=_0x2c702b;this[_0x4a69b4(0x526)]!=null&&(clearTimeout(this[_0x4a69b4(0x526)]),this[_0x4a69b4(0x526)]=null);}[_0x2c702b(0x2f8)](){const _0x30b0ce=_0x2c702b;this[_0x30b0ce(0x3cd)]!=null&&(clearTimeout(this[_0x30b0ce(0x3cd)]),this[_0x30b0ce(0x3cd)]=null);}},_0x21561b[_0x2c702b(0x42a)]=_0x248c13([_0x29a073(0x0,_0x59f65f['Inject'](_0x59f65f[_0x2c702b(0x45d)])),_0x29a073(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x29a073(0x2,_0x40690c[_0x2c702b(0x37f)]),_0x29a073(0x3,_0x59f65f[_0x2c702b(0x5a5)]),_0x29a073(0x4,_0x59f65f[_0x2c702b(0x39d)]),_0x29a073(0x5,_0x285153)],_0x21561b[_0x2c702b(0x42a)]);var _0x1c172b=Object[_0x2c702b(0x227)],_0x5077da=Object[_0x2c702b(0x294)],_0x20e126=(_0x49befc,_0x5427ae,_0x4a2090,_0x3b6114)=>{const _0x1bda7c=_0x2c702b;for(var _0x51358f=_0x3b6114>0x1?void 0x0:_0x3b6114?_0x5077da(_0x5427ae,_0x4a2090):_0x5427ae,_0x5ddbe4=_0x49befc[_0x1bda7c(0x493)]-0x1,_0x2254b4;_0x5ddbe4>=0x0;_0x5ddbe4--)(_0x2254b4=_0x49befc[_0x5ddbe4])&&(_0x51358f=(_0x3b6114?_0x2254b4(_0x5427ae,_0x4a2090,_0x51358f):_0x2254b4(_0x51358f))||_0x51358f);return _0x3b6114&&_0x51358f&&_0x1c172b(_0x5427ae,_0x4a2090,_0x51358f),_0x51358f;},_0x43e49e=(_0x339189,_0x4d6fcf)=>(_0x361821,_0x446929)=>_0x4d6fcf(_0x361821,_0x446929,_0x339189);_0x21561b[_0x2c702b(0x293)]=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x19470b,_0x1cac97,_0x144b1d,_0x4e5206,_0x521f79){const _0x3d575e=_0x2c702b;super(),_0x191e33(this,'_cachedData',new Map()),_0x191e33(this,_0x3d575e(0x585),new Map()),_0x191e33(this,_0x3d575e(0x447),!0x1),(this[_0x3d575e(0x2a3)]=_0x19470b,this[_0x3d575e(0x3ef)]=_0x1cac97,this[_0x3d575e(0x1f7)]=_0x144b1d,this[_0x3d575e(0x547)]=_0x4e5206,this[_0x3d575e(0x580)]=_0x521f79,this[_0x3d575e(0x237)]());}[_0x2c702b(0x529)](){const _0x4d7815=_0x2c702b;this[_0x4d7815(0x447)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x2c702b(0x5bf)](_0x5c0313){const _0x1a3cdf=_0x2c702b;return this[_0x1a3cdf(0x447)]?null:this[_0x1a3cdf(0x3ef)]['getItem'](_0x432427(_0x5c0313));}async['saveOfflineData'](_0x2b617e,_0x781407){const _0x26561d=_0x2c702b;return!!this[_0x26561d(0x3ef)]['setItem'](_0x2b617e,_0x781407);}['updateOfflineData'](_0x4edef8,_0xf5d70c,_0x16c81c,_0x594820){const _0x13e64b=_0x2c702b,_0x58b0da=this[_0x13e64b(0x580)]['getCurrentRevForDocument'](_0x4edef8);this[_0x13e64b(0x557)][_0x13e64b(0x407)](_0x4edef8,{'unitID':_0x4edef8,'type':_0xf5d70c,'awaitingChangeset':_0x16c81c,'mutations':_0x594820,'rev':_0x58b0da}),this['_saveTaskMap'][_0x13e64b(0x35d)](_0x4edef8)||this[_0x13e64b(0x26c)](_0x4edef8);}['_scheduleSaving'](_0x4eb162){const _0x154683=_0x2c702b,_0x25416e=this[_0x154683(0x2da)]();_0x25416e===0x0?this['_saveCache'](_0x4eb162):this['_saveTaskMap'][_0x154683(0x407)](_0x4eb162,setTimeout(()=>this['_saveCache'](_0x4eb162),_0x25416e));}['_getSaveTimeout'](){const _0x17a743=_0x2c702b;var _0x3670c5;return(_0x3670c5=this[_0x17a743(0x2a3)][_0x17a743(0x330)](_0x219665))!=null?_0x3670c5:0x3e8;}[_0x2c702b(0x40c)](_0x898805){const _0x5a50e3=_0x2c702b,_0x14cc18=this[_0x5a50e3(0x585)][_0x5a50e3(0x2f7)](_0x898805);return _0x14cc18!==void 0x0&&window[_0x5a50e3(0x5c2)](_0x14cc18),this['_localStorageService'][_0x5a50e3(0x4ee)](_0x432427(_0x898805),this[_0x5a50e3(0x557)][_0x5a50e3(0x2f7)](_0x898805))[_0x5a50e3(0x4c0)](()=>this[_0x5a50e3(0x585)][_0x5a50e3(0x1ff)](_0x898805));}async[_0x2c702b(0x300)](){const _0x1db3c9=_0x2c702b,_0x493b3a=[];this[_0x1db3c9(0x585)][_0x1db3c9(0x363)]((_0x31d1f8,_0x9083e6)=>{const _0x23cb00=_0x1db3c9;window[_0x23cb00(0x5c2)](_0x31d1f8),_0x493b3a[_0x23cb00(0x2ba)](this[_0x23cb00(0x40c)](_0x9083e6)[_0x23cb00(0x4c0)](()=>{const _0x3de8b5=_0x23cb00;this[_0x3de8b5(0x585)]['delete'](_0x9083e6);}));}),await Promise[_0x1db3c9(0x56c)](_0x493b3a);}[_0x2c702b(0x237)](){const _0x40c42a=_0x2c702b;this[_0x40c42a(0x35f)](this[_0x40c42a(0x1f7)][_0x40c42a(0x4be)](()=>{const _0x1e2a9e=_0x40c42a;if(this[_0x1e2a9e(0x585)][_0x1e2a9e(0x3a1)])return this[_0x1e2a9e(0x547)]['t'](_0x1e2a9e(0x387));}));}},_0x21561b['LocalCacheService']=_0x20e126([_0x43e49e(0x0,_0x59f65f['IConfigService']),_0x43e49e(0x1,_0x59f65f['ILocalStorageService']),_0x43e49e(0x2,_0x40690c['IBeforeCloseService']),_0x43e49e(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x43e49e(0x4,_0x59f65f['Inject'](_0x4c33ab[_0x2c702b(0x23b)]))],_0x21561b[_0x2c702b(0x293)]);function _0x432427(_0x36b6a7){return'unit-cache-'+_0x36b6a7;}const _0x3c9dbb=_0x59f65f['createIdentifier'](_0x2c702b(0x245));var _0x13fe1f=(_0x5b0392=>(_0x5b0392[_0x5b0392[_0x2c702b(0x302)]=0x0]=_0x2c702b(0x302),_0x5b0392[_0x5b0392[_0x2c702b(0x495)]=0x1]='OTHER_CLIENTS_EDITING',_0x5b0392))(_0x13fe1f||{});const _0x478601=0x7530,_0x197b40=_0x2c702b(0x352);class _0x328887 extends _0x59f65f[_0x2c702b(0x416)]{constructor(){const _0x2ae8cd=_0x2c702b;super(),_0x191e33(this,_0x2ae8cd(0x488),_0x59f65f[_0x2ae8cd(0x5ad)][_0x2ae8cd(0x394)]()),_0x191e33(this,_0x2ae8cd(0x3ea),new Set()),_0x191e33(this,'_unitOnClients',new Map()),_0x191e33(this,_0x2ae8cd(0x1e3),null),_0x191e33(this,'_clearOtherTimers',new Map()),_0x191e33(this,'_unitStatus',new Map()),this[_0x2ae8cd(0x362)]();}[_0x2c702b(0x574)](){const _0x483374=_0x2c702b;super[_0x483374(0x574)](),this[_0x483374(0x3e0)][_0x483374(0x363)]((_0x1f4341,_0x4c41db)=>this[_0x483374(0x432)](_0x4c41db)),this[_0x483374(0x1e3)]&&window[_0x483374(0x422)](this[_0x483374(0x1e3)]);}[_0x2c702b(0x592)](_0x44f72c){const _0x2e916d=_0x2c702b;return this[_0x2e916d(0x271)](_0x44f72c)[_0x2e916d(0x47e)](_0x6d0798[_0x2e916d(0x282)]());}[_0x2c702b(0x32c)](_0x34503c){const _0x19ffe3=_0x2c702b;this[_0x19ffe3(0x3ea)][_0x19ffe3(0x3a1)]===0x0&&this[_0x19ffe3(0x200)](),this[_0x19ffe3(0x3ea)][_0x19ffe3(0x2b6)](_0x34503c),this['_send']({'type':0x0,'memberID':this[_0x19ffe3(0x488)],'unitIDs':[_0x34503c],'isForwarded':!0x1});}['disposeUnit'](_0x3d298c){const _0x5dc991=_0x2c702b;this['_selfUnitIDs']['delete'](_0x3d298c),this[_0x5dc991(0x3ea)][_0x5dc991(0x3a1)]===0x0&&this[_0x5dc991(0x1e3)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2c702b(0x362)](){const _0x267947=_0x2c702b;this[_0x267947(0x35f)](_0x59f65f[_0x267947(0x209)](_0x6d0798[_0x267947(0x4e4)](window,_0x267947(0x1ce))[_0x267947(0x41d)](_0x1ee010=>{const _0x1be18d=_0x267947;if(_0x1ee010['key']!==_0x197b40||!_0x1ee010[_0x1be18d(0x48f)])return;const _0x376af5=JSON[_0x1be18d(0x216)](_0x1ee010['newValue']);this[_0x1be18d(0x3fe)](_0x376af5);}))),window[_0x267947(0x31d)]('unload',()=>this[_0x267947(0x3dc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x267947(0x3ea)])}));}['_handleEvent'](_0x1b6147){const _0x276b0e=_0x2c702b;switch(_0x1b6147[_0x276b0e(0x375)]){case 0x0:this['_handleJoinEvent'](_0x1b6147);break;case 0x1:this[_0x276b0e(0x43d)](_0x1b6147);break;case 0x2:this[_0x276b0e(0x4fb)](_0x1b6147);break;}}[_0x2c702b(0x3ac)](_0x1f4c8d){const _0x4b431a=_0x2c702b,{unitIDs:_0x257c32,memberID:_0x5da121,isForwarded:_0x1f8e6e}=_0x1f4c8d;_0x257c32[_0x4b431a(0x363)](_0x30f31a=>{const _0x29e8eb=_0x4b431a;if(!_0x1f8e6e&&this['_unitOnClients']['has'](_0x30f31a)&&this[_0x29e8eb(0x271)](_0x30f31a)['next'](0x1),!this[_0x29e8eb(0x434)][_0x29e8eb(0x35d)](_0x30f31a)||!this[_0x29e8eb(0x434)][_0x29e8eb(0x2f7)](_0x30f31a)[_0x29e8eb(0x35d)](_0x5da121)){const _0x183a69=this[_0x29e8eb(0x434)][_0x29e8eb(0x2f7)](_0x30f31a)||new Set();_0x183a69[_0x29e8eb(0x2b6)](_0x5da121),this[_0x29e8eb(0x434)][_0x29e8eb(0x407)](_0x30f31a,_0x183a69),this[_0x29e8eb(0x2b3)](_0x5da121);}}),_0x1f8e6e||this[_0x4b431a(0x3dc)]({'type':0x0,'memberID':this[_0x4b431a(0x488)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2c702b(0x2b3)](_0x560328){const _0x2a5830=_0x2c702b;this[_0x2a5830(0x432)](_0x560328);const _0x4236cc=window[_0x2a5830(0x56a)](()=>{const _0x4f0954=_0x2a5830;this['_unitOnClients'][_0x4f0954(0x363)](_0x34aec7=>{const _0xb7b096=_0x4f0954;_0x34aec7[_0xb7b096(0x1ff)](_0x560328);});},_0x478601*0x2);this[_0x2a5830(0x3e0)]['set'](_0x560328,_0x4236cc);}[_0x2c702b(0x432)](_0xc0ab53){const _0x585cad=_0x2c702b;if(this['_clearOtherTimers']['has'](_0xc0ab53)){const _0x632832=this['_clearOtherTimers'][_0x585cad(0x2f7)](_0xc0ab53);_0x632832&&window[_0x585cad(0x5c2)](_0x632832),this['_clearOtherTimers'][_0x585cad(0x407)](_0xc0ab53,null);}}['_handleLeaveEvent'](_0x422a6e){const _0x288550=_0x2c702b,{memberID:_0x511a2b,unitIDs:_0xa46458}=_0x422a6e;_0xa46458[_0x288550(0x363)](_0x5b7195=>{const _0xac405a=_0x288550;var _0x4a97c9;const _0x49fe67=this[_0xac405a(0x434)][_0xac405a(0x2f7)](_0x5b7195);_0x49fe67&&(_0x49fe67[_0xac405a(0x1ff)](_0x511a2b),(_0x4a97c9=this['_ensureSubject'](_0x5b7195))==null||_0x4a97c9[_0xac405a(0x577)](_0x49fe67[_0xac405a(0x3a1)]===0x0?0x0:0x1));}),this[_0x288550(0x432)](_0x511a2b);}[_0x2c702b(0x4fb)](_0x5ebea3){const _0x476416=_0x2c702b;this[_0x476416(0x2b3)](_0x5ebea3[_0x476416(0x4c8)]);}['_send'](_0x3e87af){const _0x27433f=_0x2c702b;localStorage[_0x27433f(0x4ee)](_0x197b40,JSON[_0x27433f(0x208)](_0x3e87af));}[_0x2c702b(0x200)](){const _0xa00951=_0x2c702b;this[_0xa00951(0x1e3)]=window[_0xa00951(0x2a0)](()=>{const _0x835d1b=_0xa00951;this['_send']({'type':0x2,'memberID':this[_0x835d1b(0x488)]});},_0x478601);}[_0x2c702b(0x271)](_0xe5877f){const _0x4dc3f7=_0x2c702b;return this[_0x4dc3f7(0x3a7)][_0x4dc3f7(0x35d)](_0xe5877f)||this[_0x4dc3f7(0x3a7)]['set'](_0xe5877f,new _0x6d0798['BehaviorSubject'](0x0)),this[_0x4dc3f7(0x3a7)][_0x4dc3f7(0x2f7)](_0xe5877f);}}var _0x1a32a8=Object[_0x2c702b(0x227)],_0x4a46dd=Object[_0x2c702b(0x294)],_0x11a087=(_0x3795d2,_0x75090b,_0x1c4335,_0x28d925)=>{const _0x4a115e=_0x2c702b;for(var _0x1236ee=_0x28d925>0x1?void 0x0:_0x28d925?_0x4a46dd(_0x75090b,_0x1c4335):_0x75090b,_0x2b1266=_0x3795d2[_0x4a115e(0x493)]-0x1,_0x47df98;_0x2b1266>=0x0;_0x2b1266--)(_0x47df98=_0x3795d2[_0x2b1266])&&(_0x1236ee=(_0x28d925?_0x47df98(_0x75090b,_0x1c4335,_0x1236ee):_0x47df98(_0x1236ee))||_0x1236ee);return _0x28d925&&_0x1236ee&&_0x1a32a8(_0x75090b,_0x1c4335,_0x1236ee),_0x1236ee;},_0x479839=(_0x26d957,_0x2e5551)=>(_0x5c0a89,_0x4608ee)=>_0x2e5551(_0x5c0a89,_0x4608ee,_0x26d957);let _0x2e3636=class{constructor(_0x3abba5,_0xe74c8c){const _0x4d098b=_0x2c702b;this['_injector']=_0x3abba5,this[_0x4d098b(0x586)]=_0xe74c8c;}[_0x2c702b(0x54e)](_0x3210d3){const _0x270cb5=_0x2c702b;this[_0x270cb5(0x225)](_0x3210d3),this['_transformPreviousActiveRange'](_0x3210d3);}[_0x2c702b(0x356)](_0x5dbb5c){const _0x47de70=_0x2c702b,_0x48530a=this['_injector'][_0x47de70(0x2f7)](_0x28f26c[_0x47de70(0x2c4)]),{redoCache:_0x54889a}=_0x48530a[_0x47de70(0x329)]();if(_0x54889a[_0x47de70(0x493)]===0x0)return _0x5dbb5c;let _0x2794a1=_0x59f65f['Tools'][_0x47de70(0x351)](_0x5dbb5c[_0x47de70(0x31c)][0x0]);for(let _0x30fd7e=0x0;_0x30fd7e<_0x54889a[_0x47de70(0x493)];_0x30fd7e++){const _0x46e07f={'id':_0x47de70(0x3ce),'params':{..._0x54889a[_0x30fd7e]}},_0x14dbb8=this['_transformService'][_0x47de70(0x4ac)](_0x2794a1,_0x46e07f,!0x1);if(_0x4c33ab['isTransformMutationFailure'](_0x14dbb8))throw _0x14dbb8['error'];_0x2794a1=_0x14dbb8[_0x47de70(0x3c3)];}return{..._0x59f65f[_0x47de70(0x5ad)]['deepClone'](_0x5dbb5c),'mutations':[_0x2794a1]};}[_0x2c702b(0x225)](_0x157582){const _0x1067e7=_0x2c702b,_0x3aa18c=this[_0x1067e7(0x232)][_0x1067e7(0x2f7)](_0x28f26c['IMEInputManagerService']),{undoCache:_0x2f5235,redoCache:_0x58ca1f}=_0x3aa18c['getUndoRedoMutationParamsCache']();if(_0x2f5235[_0x1067e7(0x493)]===0x0||_0x58ca1f[_0x1067e7(0x493)]===0x0)return;const _0x58cb23=[],_0x542f60=[];let _0x509d96=_0x59f65f[_0x1067e7(0x5ad)][_0x1067e7(0x351)](_0x157582['mutations'][0x0]),_0x288212=_0x59f65f[_0x1067e7(0x5ad)]['deepClone'](_0x157582['mutations'][0x0]);for(let _0x40958b=_0x2f5235[_0x1067e7(0x493)]-0x1;_0x40958b>=0x0;_0x40958b--){const _0xc0a2a2={'id':_0x1067e7(0x3ce),'params':{..._0x2f5235[_0x40958b]}},_0x1123cf={'id':_0x1067e7(0x3ce),'params':{..._0x58ca1f[_0x40958b]}},_0x304370=this[_0x1067e7(0x586)][_0x1067e7(0x4ac)](_0x509d96,_0xc0a2a2,!0x1),_0x5ec967=this[_0x1067e7(0x586)][_0x1067e7(0x4ac)](_0x288212,_0x1123cf,!0x1);if(_0x4c33ab[_0x1067e7(0x285)](_0x304370))throw _0x304370[_0x1067e7(0x538)];if(_0x4c33ab[_0x1067e7(0x285)](_0x5ec967))throw _0x5ec967[_0x1067e7(0x538)];_0x58cb23[_0x1067e7(0x29d)](_0x304370[_0x1067e7(0x505)]['params']),_0x542f60[_0x1067e7(0x29d)](_0x5ec967['m2Prime'][_0x1067e7(0x3e9)]),_0x509d96=_0x304370[_0x1067e7(0x3c3)],_0x288212=_0x5ec967[_0x1067e7(0x3c3)];}_0x3aa18c[_0x1067e7(0x2c7)]({'undoCache':_0x58cb23,'redoCache':_0x542f60});}['_transformPreviousActiveRange'](_0x27c21f){const _0x299ff5=_0x2c702b,_0x57d852=this[_0x299ff5(0x232)][_0x299ff5(0x2f7)](_0x28f26c[_0x299ff5(0x2c4)]),_0x428c66=_0x57d852[_0x299ff5(0x487)]();if(_0x428c66==null)return;const _0x5e618a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x27c21f[_0x299ff5(0x2fa)],'actions':null,'textRanges':[_0x428c66]}}],_0xb043f2=this[_0x299ff5(0x586)][_0x299ff5(0x201)](_0x27c21f,_0x5e618a);if(!_0x4c33ab[_0x299ff5(0x1c8)](_0xb043f2))throw _0xb043f2['error'];const _0x38af78=_0xb043f2[_0x299ff5(0x505)][0x0][_0x299ff5(0x3e9)]['textRanges'];Array[_0x299ff5(0x543)](_0x38af78)&&_0x38af78[_0x299ff5(0x493)]&&_0x57d852[_0x299ff5(0x43c)](_0x38af78[0x0]);}};_0x2e3636=_0x11a087([_0x479839(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x479839(0x1,_0x4c33ab['ITransformService'])],_0x2e3636);var _0x280e92=Object[_0x2c702b(0x227)],_0x7bde17=Object[_0x2c702b(0x294)],_0x111f3b=(_0x46e5b7,_0x45ad2b,_0x12cd90,_0x57f01c)=>{const _0x1d3fff=_0x2c702b;for(var _0xeb54b6=_0x57f01c>0x1?void 0x0:_0x57f01c?_0x7bde17(_0x45ad2b,_0x12cd90):_0x45ad2b,_0x466b7=_0x46e5b7[_0x1d3fff(0x493)]-0x1,_0x5f413d;_0x466b7>=0x0;_0x466b7--)(_0x5f413d=_0x46e5b7[_0x466b7])&&(_0xeb54b6=(_0x57f01c?_0x5f413d(_0x45ad2b,_0x12cd90,_0xeb54b6):_0x5f413d(_0xeb54b6))||_0xeb54b6);return _0x57f01c&&_0xeb54b6&&_0x280e92(_0x45ad2b,_0x12cd90,_0xeb54b6),_0xeb54b6;},_0x279fe8=(_0x28830c,_0x18a5d4)=>(_0x2e878f,_0x1b2fad)=>_0x18a5d4(_0x2e878f,_0x1b2fad,_0x28830c);let _0x191131=class{constructor(_0x274d9f,_0x3589aa){const _0x2c5a53=_0x2c702b;this[_0x2c5a53(0x232)]=_0x274d9f,this[_0x2c5a53(0x586)]=_0x3589aa;}[_0x2c702b(0x46f)](_0x3e06a0){const _0x480f78=_0x2c702b;var _0x9fdc10;const _0x41acdb=this[_0x480f78(0x232)][_0x480f78(0x2f7)](_0x28f26c[_0x480f78(0x4a8)]),_0x38244d=(_0x9fdc10=_0x41acdb['getDocRanges']())!=null?_0x9fdc10:[],_0xe94222=_0x38244d==null?void 0x0:_0x38244d[_0x480f78(0x4a7)](_0x28f26c[_0x480f78(0x53c)]);if(_0xe94222[_0x480f78(0x493)]===0x0)return;const _0x4a7cec=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3e06a0[_0x480f78(0x2fa)],'actions':null,'textRanges':_0xe94222}}],_0x1874e4=this[_0x480f78(0x586)][_0x480f78(0x201)](_0x3e06a0,_0x4a7cec);if(!_0x4c33ab[_0x480f78(0x1c8)](_0x1874e4))throw _0x1874e4[_0x480f78(0x538)];const _0x1adf10=_0x1874e4[_0x480f78(0x505)][0x0][_0x480f78(0x3e9)][_0x480f78(0x290)];Array[_0x480f78(0x543)](_0x1adf10)&&_0x1adf10[_0x480f78(0x493)]&&_0x41acdb['replaceTextRanges'](_0x1adf10,!0x1);}};_0x191131=_0x111f3b([_0x279fe8(0x0,_0x59f65f['Inject'](_0x59f65f[_0x2c702b(0x45d)])),_0x279fe8(0x1,_0x4c33ab[_0x2c702b(0x419)])],_0x191131);function _0x3a63ff(_0x24aca0){const _0x90e554=_0x2c702b;let _0x4b9b27='';for(const _0x4b12b7 of _0x24aca0){const {startOffset:_0x405e67,endOffset:_0x3fcfd9,isActive:_0x434a1e}=_0x4b12b7;_0x4b9b27[_0x90e554(0x493)]&&(_0x4b9b27+=','),_0x4b9b27+=_0x405e67+':'+_0x3fcfd9+':'+(_0x434a1e?'1':'0');}return _0x4b9b27;}function _0x343801(_0x921723){const _0x9d2492=_0x2c702b,_0xee7264=_0x921723[_0x9d2492(0x20c)](','),_0x4eae30=[];for(const _0x209718 of _0xee7264){const [_0xe30686,_0x23bee6,_0x42bf7b]=_0x209718[_0x9d2492(0x20c)](':');_0x4eae30[_0x9d2492(0x2ba)]({'startOffset':Number(_0xe30686),'endOffset':Number(_0x23bee6),'collapsed':_0xe30686===_0x23bee6,'isActive':_0x42bf7b==='1'});}return _0x4eae30[_0x9d2492(0x541)](_0x2d21fc=>_0x2d21fc['isActive'])||(_0x4eae30[0x0][_0x9d2492(0x494)]=!0x0),_0x4eae30;}class _0x267a51 extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(){const _0x2ae3b3=_0x2c702b;super(...arguments),_0x191e33(this,_0x2ae3b3(0x2ab),new _0x6d0798[(_0x2ae3b3(0x52f))](null)),_0x191e33(this,_0x2ae3b3(0x39f),this[_0x2ae3b3(0x2ab)][_0x2ae3b3(0x1c4)]());}[_0x2c702b(0x2f3)](_0x2cdb38){const _0x1e785f=_0x2c702b,{unitID:_0x144fb6,memberID:_0x55118c,textRanges:_0x395a6d}=_0x2cdb38,_0x2f4565=_0x3a63ff(_0x395a6d),_0x18882b={'unitID':_0x144fb6,'memberID':_0x55118c,'selection':_0x2f4565};this[_0x1e785f(0x2ab)][_0x1e785f(0x577)](_0x18882b);}}var _0x325dab=Object['defineProperty'],_0x1215cf=Object[_0x2c702b(0x294)],_0x550424=(_0x39cb95,_0x555db3,_0x5386e5,_0x5d00dc)=>{const _0x1ba11c=_0x2c702b;for(var _0x510e77=_0x5d00dc>0x1?void 0x0:_0x5d00dc?_0x1215cf(_0x555db3,_0x5386e5):_0x555db3,_0x57137b=_0x39cb95[_0x1ba11c(0x493)]-0x1,_0x52b2f4;_0x57137b>=0x0;_0x57137b--)(_0x52b2f4=_0x39cb95[_0x57137b])&&(_0x510e77=(_0x5d00dc?_0x52b2f4(_0x555db3,_0x5386e5,_0x510e77):_0x52b2f4(_0x510e77))||_0x510e77);return _0x5d00dc&&_0x510e77&&_0x325dab(_0x555db3,_0x5386e5,_0x510e77),_0x510e77;},_0x34c022=(_0x57b4c8,_0x23cc1c)=>(_0x2971ab,_0x4126b9)=>_0x23cc1c(_0x2971ab,_0x4126b9,_0x57b4c8);function _0x549e71(_0x42862e){const _0x594bcb=_0x2c702b,{unitID:_0x3f22a3,mutations:_0x1e4891}=_0x42862e;return{'unitId':_0x3f22a3,'subUnitId':_0x1e4891[0x0][_0x594bcb(0x3e9)][_0x594bcb(0x1ef)]};}let _0x44d70e=class{constructor(_0x42a6ea,_0x195d74){this['_injector']=_0x42a6ea,this['_transformService']=_0x195d74;}[_0x2c702b(0x46f)](_0x2b456f){const _0xb8c49a=_0x2c702b;var _0x35bc44,_0x471d5e,_0x3b8d24;const _0x515dbb=this[_0xb8c49a(0x232)][_0xb8c49a(0x2f7)](_0x5dba16[_0xb8c49a(0x4a3)]),{unitId:_0x48b857,subUnitId:_0xeb7182}=_0x549e71(_0x2b456f),_0x4f8cc7=_0x515dbb[_0xb8c49a(0x468)](_0x48b857)[_0xb8c49a(0x215)]();if(_0x4f8cc7[_0xb8c49a(0x493)]===0x0||!_0x48b857||!_0xeb7182)return;const _0x2ec3f7=[{'id':_0x5dba16['SetSelectionsOperation']['id'],'params':{'unitId':_0x48b857,'subUnitId':_0xeb7182,'selections':_0x59f65f['Tools'][_0xb8c49a(0x351)](_0x4f8cc7)}}],_0x213c96=this['_transformService']['transformMutationsWithChangeset'](_0x2b456f,_0x2ec3f7);if(!_0x4c33ab[_0xb8c49a(0x1c8)](_0x213c96))throw _0x213c96['error'];const _0x1fcb5f=(_0x3b8d24=(_0x471d5e=(_0x35bc44=_0x213c96[_0xb8c49a(0x505)][0x0])==null?void 0x0:_0x35bc44[_0xb8c49a(0x3e9)])==null?void 0x0:_0x471d5e[_0xb8c49a(0x433)])!=null?_0x3b8d24:_0x4f8cc7;Array[_0xb8c49a(0x543)](_0x1fcb5f)&&_0x1fcb5f[_0xb8c49a(0x493)]&&this[_0xb8c49a(0x232)][_0xb8c49a(0x2f7)](_0x59f65f[_0xb8c49a(0x4b7)])[_0xb8c49a(0x22f)](_0x5dba16[_0xb8c49a(0x437)]['id'],{'unitId':_0x48b857,'subUnitId':_0xeb7182,'selections':_0x1fcb5f});}};_0x44d70e=_0x550424([_0x34c022(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x34c022(0x1,_0x4c33ab[_0x2c702b(0x419)])],_0x44d70e);const _0x5eeb88=new Set([_0x5dba16[_0x2c702b(0x52b)]['id']]);function _0x424cd5(_0x532962,_0x105cce,_0x24cd05,_0x105e7a,_0x254198){const _0x48f155=_0x2c702b;var _0x78f315,_0x19ec47,_0x569a26,_0x5cfce4;const _0x163db2=[];for(const _0x165214 of _0x532962)if(_0x5eeb88[_0x48f155(0x35d)](_0x165214['id'])){if(_0x163db2[_0x48f155(0x493)]>0x0)break;_0x163db2[_0x48f155(0x2ba)](_0x165214);break;}else _0x163db2[_0x48f155(0x2ba)](_0x165214);const _0x16636a=(_0x19ec47=(_0x78f315=_0x254198[_0x48f155(0x25e)]())==null?void 0x0:_0x78f315['userID'])!=null?_0x19ec47:'unknown',_0x39e989=(_0x5cfce4=(_0x569a26=_0x254198[_0x48f155(0x25e)]())==null?void 0x0:_0x569a26['memberID'])!=null?_0x5cfce4:_0x48f155(0x4a9);return{'changeset':{'unitID':_0x105cce,'type':_0x4c33ab['mapDocumentTypeToUniverType'](_0x24cd05[_0x48f155(0x2bf)](_0x105cce)),'baseRev':_0x105e7a['getCurrentRevForDocument'](_0x105cce),'revision':0x0,'userID':_0x16636a,'memberID':_0x39e989,'mutations':_0x163db2},'pendingMutations':_0x532962[_0x48f155(0x58e)](_0x163db2[_0x48f155(0x493)])};}function _0x4ce683(_0x4ed302,_0x44d329,_0x366362,_0x5a63b5,_0x26d138){const _0x3a5520=_0x2c702b;var _0x21d9ba,_0x53b6a7,_0xd24047,_0x4b9e17;const _0x5a58fc=[_0x4ed302[_0x3a5520(0x3c2)]((_0x4a9411,_0x58df7e)=>{const _0x36f800=_0x3a5520;var _0x470a36;const {id:_0x37baa4}=_0x4a9411,{id:_0x36fd93,type:_0x2511c1}=_0x58df7e,_0x31994d=(_0x470a36=_0x4a9411[_0x36f800(0x3e9)])!=null?_0x470a36:{'actions':null},_0x1729ff=_0x58df7e['params'];if(_0x37baa4&&_0x37baa4!==_0x36fd93)throw new Error(_0x36f800(0x1c3)+_0x37baa4+'\x20-\x20'+_0x36fd93+'.');return{..._0x4a9411,'id':_0x36fd93,'type':_0x2511c1,'params':{'unitId':_0x1729ff['unitId'],'textRanges':_0x1729ff[_0x36f800(0x290)],'actions':_0x59f65f[_0x36f800(0x458)][_0x36f800(0x382)](_0x31994d[_0x36f800(0x3d1)],_0x1729ff[_0x36f800(0x3d1)])}};},{})],_0x4fd7e0=(_0x53b6a7=(_0x21d9ba=_0x26d138['getCurrentUser']())==null?void 0x0:_0x21d9ba[_0x3a5520(0x2b8)])!=null?_0x53b6a7:'unknown',_0xc82859=(_0x4b9e17=(_0xd24047=_0x26d138[_0x3a5520(0x25e)]())==null?void 0x0:_0xd24047[_0x3a5520(0x4c8)])!=null?_0x4b9e17:'unknown';return{'changeset':{'unitID':_0x44d329,'type':_0x4c33ab['mapDocumentTypeToUniverType'](_0x366362[_0x3a5520(0x2bf)](_0x44d329)),'baseRev':_0x5a63b5[_0x3a5520(0x20d)](_0x44d329),'revision':0x0,'userID':_0x4fd7e0,'memberID':_0xc82859,'mutations':_0x5a58fc},'pendingMutations':[]};}const _0x27ce16={'id':_0x5dba16[_0x2c702b(0x229)]['id'],'type':_0x59f65f[_0x2c702b(0x1f4)]['MUTATION'],'params':{}};var _0x3466a7=Object['defineProperty'],_0x3f865b=Object[_0x2c702b(0x294)],_0x429298=(_0x4da6f4,_0x52787d,_0x54f591,_0x174591)=>{for(var _0x57fde7=_0x174591>0x1?void 0x0:_0x174591?_0x3f865b(_0x52787d,_0x54f591):_0x52787d,_0xdcec6c=_0x4da6f4['length']-0x1,_0x585513;_0xdcec6c>=0x0;_0xdcec6c--)(_0x585513=_0x4da6f4[_0xdcec6c])&&(_0x57fde7=(_0x174591?_0x585513(_0x52787d,_0x54f591,_0x57fde7):_0x585513(_0x57fde7))||_0x57fde7);return _0x174591&&_0x57fde7&&_0x3466a7(_0x52787d,_0x54f591,_0x57fde7),_0x57fde7;},_0x5094be=(_0x10556a,_0x167d02)=>(_0xf6a0d9,_0x4c40e7)=>_0x167d02(_0xf6a0d9,_0x4c40e7,_0x10556a),_0x56e84e=(_0x8a541=>(_0x8a541['NOT_COLLAB']=_0x2c702b(0x24c),_0x8a541[_0x2c702b(0x3f8)]=_0x2c702b(0x532),_0x8a541['PENDING']='pending',_0x8a541[_0x2c702b(0x441)]=_0x2c702b(0x3a0),_0x8a541[_0x2c702b(0x5b5)]=_0x2c702b(0x2ef),_0x8a541[_0x2c702b(0x3f4)]=_0x2c702b(0x284),_0x8a541[_0x2c702b(0x48b)]='conflict',_0x8a541['OFFLINE']='offline',_0x8a541))(_0x56e84e||{});class _0x27e376{constructor(_0x95cc1b,_0x2db62,_0xa42175,_0x2e07ae,_0x483cfe,_0x4ed5ef,_0x4ea895,_0x39135d,_0x20d731){const _0x24f272=_0x2c702b;_0x191e33(this,_0x24f272(0x2fd),null),_0x191e33(this,_0x24f272(0x2d4),[]),(this[_0x24f272(0x2fa)]=_0x95cc1b,this['type']=_0x2db62,this[_0x24f272(0x1db)]=_0x483cfe,this[_0x24f272(0x567)]=_0x4ed5ef,this[_0x24f272(0x431)]=_0x4ea895,this[_0x24f272(0x580)]=_0x39135d,this[_0x24f272(0x43a)]=_0x20d731,this['_awaitingChangeset']=_0xa42175,this[_0x24f272(0x2d4)]=_0x2e07ae);}['_checkMissing'](_0x26dab5){const _0x36ee2c=_0x2c702b,_0x4cb423=this['_revisionService'][_0x36ee2c(0x20d)](this[_0x36ee2c(0x2fa)]);return _0x26dab5[_0x36ee2c(0x50c)]>_0x4cb423+0x1?(this[_0x36ee2c(0x1db)][_0x36ee2c(0x462)]({'from':_0x4cb423,'to':_0x26dab5[_0x36ee2c(0x50c)]-0x1}),!0x0):!0x1;}[_0x2c702b(0x435)](_0x563065){const _0xf4b4ac=_0x2c702b;this[_0xf4b4ac(0x431)][_0xf4b4ac(0x321)](this['unitID'],_0x563065);}['_transformSelections'](_0x1362f4){const _0x127aa7=_0x2c702b;var _0x22b130,_0x399c0a;(_0x399c0a=(_0x22b130=this[_0x127aa7(0x1db)])[_0x127aa7(0x279)])==null||_0x399c0a[_0x127aa7(0x428)](_0x22b130,_0x1362f4);}[_0x2c702b(0x598)](_0x5b69af){const _0x31d256=_0x2c702b;var _0x283512,_0x23a612;return(_0x23a612=(_0x283512=this[_0x31d256(0x1db)])[_0x31d256(0x35c)])==null?void 0x0:_0x23a612['call'](_0x283512,_0x5b69af);}['_transformRemoteChangesetByIMECache'](_0x14240a){const _0x53e318=_0x2c702b;var _0x463b2b,_0x18d433,_0x34f6f7;return(_0x34f6f7=(_0x18d433=(_0x463b2b=this[_0x53e318(0x1db)])[_0x53e318(0x44d)])==null?void 0x0:_0x18d433[_0x53e318(0x428)](_0x463b2b,_0x14240a))!=null?_0x34f6f7:_0x14240a;}['_syncEditingCollabCursor'](_0xb94bd7){const _0x202699=_0x2c702b;var _0x446c53,_0x2aa5d0;if(this[_0x202699(0x375)]===_0x2e0d9e[_0x202699(0x525)]){const {unitID:_0x4b346a,mutations:_0x196c45,memberID:_0x1c0d55}=_0xb94bd7,_0x523036=_0x196c45[0x0][_0x202699(0x3e9)][_0x202699(0x290)];Array[_0x202699(0x543)](_0x523036)&&_0x523036[_0x202699(0x493)]>0x0&&((_0x2aa5d0=(_0x446c53=this[_0x202699(0x1db)])[_0x202699(0x3bf)])==null||_0x2aa5d0[_0x202699(0x428)](_0x446c53,{'unitID':_0x4b346a,'memberID':_0x1c0d55,'textRanges':_0x523036}));}}['_updateLocalCache'](){const _0x5c529b=_0x2c702b;this[_0x5c529b(0x43a)][_0x5c529b(0x57f)](this['unitID'],this[_0x5c529b(0x375)],this[_0x5c529b(0x2fd)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x4bd82c=_0x2c702b;return this['_revisionService'][_0x4bd82c(0x20d)](this['unitID']);}[_0x2c702b(0x456)](){const _0x56b802=_0x2c702b;this[_0x56b802(0x580)]['incrementRevForDocument'](this[_0x56b802(0x2fa)]);}[_0x2c702b(0x27b)](_0x2e7125){const _0x282934=_0x2c702b;var _0x4ac5ea;const _0x195453=this['_transformRemoteChangesetByIMECache'](_0x2e7125),_0x18e5e5=_0x59f65f[_0x282934(0x4b6)](_0x195453[_0x282934(0x31c)],this[_0x282934(0x567)],{'fromCollab':!0x0});if(!_0x18e5e5[_0x282934(0x430)])throw _0x18e5e5[_0x282934(0x538)]instanceof Error?_0x18e5e5['error']:new Error((_0x4ac5ea=_0x18e5e5['error'])!=null?_0x4ac5ea:'[CollaborationState]:\x20apply\x20error!');this[_0x282934(0x598)](_0x195453),this[_0x282934(0x435)](_0x2e7125),this['_transformSelections'](_0x195453),this['_syncEditingCollabCursor'](_0x195453),this[_0x282934(0x456)]();}}let _0x4954a5=class extends _0x27e376{constructor(_0x2199e6,_0x494261,_0x1be37e,_0x5e9408,_0x119631,_0x263308,_0x16bbdc,_0x5ae3ee,_0x32ccf9,_0x2d9091){const _0x374386=_0x2c702b;super(_0x2199e6,_0x494261,null,[],_0x1be37e,_0x5ae3ee,_0x16bbdc,_0x5e9408,_0x119631),_0x191e33(this,'status',_0x374386(0x532)),(this[_0x374386(0x232)]=_0x263308,this[_0x374386(0x591)]=_0x32ccf9,this[_0x374386(0x586)]=_0x2d9091);}[_0x2c702b(0x4de)](_0x516bb1){const _0x21c368=_0x2c702b,_0x3f5b99=this[_0x21c368(0x232)][_0x21c368(0x4fe)](_0x206511,this['unitID'],this[_0x21c368(0x375)],[_0x516bb1],this['_handler']);return _0x3f5b99[_0x21c368(0x400)](),_0x3f5b99[_0x21c368(0x46e)](),_0x3f5b99;}['onRemoteChangeset'](_0x39cc8f){const _0x237a1c=_0x2c702b;if(this['_checkMissing'](_0x39cc8f))return this['_injector']['createInstance'](_0x374d11,this['unitID'],this[_0x237a1c(0x375)],null,[],null,[_0x39cc8f],this[_0x237a1c(0x1db)]);try{const _0x4447cc=this[_0x237a1c(0x586)]['transformMutationsWithChangeset'](_0x39cc8f,[_0x27ce16]);if(_0x4c33ab[_0x237a1c(0x1c8)](_0x4447cc)){const {c1Prime:_0x619e97}=_0x4447cc;return this[_0x237a1c(0x27b)](_0x619e97),this;}throw _0x4447cc['error'];}catch(_0xf9a567){return this[_0x237a1c(0x591)][_0x237a1c(0x538)](_0xf9a567),this[_0x237a1c(0x4ed)](!0x1);}}[_0x2c702b(0x4ed)](_0x5225e4){const _0x3df92d=_0x2c702b;return this['_injector']['createInstance'](_0x145032,this[_0x3df92d(0x2fa)],this[_0x3df92d(0x375)],null,[],this[_0x3df92d(0x1db)],_0x5225e4);}['onRemoteAck'](){const _0x16e7e5=_0x2c702b;throw new Error(_0x16e7e5(0x2bc));}[_0x2c702b(0x264)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2c702b(0x3ed)](){const _0x5e30ef=_0x2c702b;return this[_0x5e30ef(0x232)][_0x5e30ef(0x4fe)](_0x4db5a8,this[_0x5e30ef(0x2fa)],this[_0x5e30ef(0x375)],null,[],this[_0x5e30ef(0x1db)]);}['toggleOnline'](){return this;}[_0x2c702b(0x38e)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x4954a5=_0x429298([_0x5094be(0x3,_0x59f65f['Inject'](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x6,_0x59f65f['IUndoRedoService']),_0x5094be(0x7,_0x59f65f['ICommandService']),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0x9,_0x4c33ab[_0x2c702b(0x419)])],_0x4954a5);let _0x206511=class extends _0x27e376{constructor(_0x123658,_0x486648,_0x222d06,_0x3533ee,_0xeb2afc,_0x4104b3,_0x52ce59,_0x1a3829,_0x3ef2d2,_0x925e94,_0x58c0c3,_0x66ba0b,_0x2ec786,_0x2eda88){const _0x555ae1=_0x2c702b;super(_0x123658,_0x486648,null,_0x222d06,_0x3533ee,_0x925e94,_0x2eda88,_0x4104b3,_0x52ce59),_0x191e33(this,_0x555ae1(0x563),_0x555ae1(0x524)),_0x191e33(this,_0x555ae1(0x2e6),null),_0x191e33(this,_0x555ae1(0x453),null),(this['_injector']=_0xeb2afc,this[_0x555ae1(0x327)]=_0x1a3829,this['_logService']=_0x3ef2d2,this[_0x555ae1(0x2a3)]=_0x58c0c3,this[_0x555ae1(0x586)]=_0x66ba0b,this[_0x555ae1(0x54c)]=_0x2ec786);}[_0x2c702b(0x4de)](_0x340ccb){const _0x528227=_0x2c702b;return this[_0x528227(0x2d4)]['push'](_0x340ccb),this[_0x528227(0x46e)](),this;}[_0x2c702b(0x3da)](_0x51dab1){const _0x4da2e9=_0x2c702b;if(this[_0x4da2e9(0x254)](_0x51dab1))return this[_0x4da2e9(0x5be)](),this[_0x4da2e9(0x232)][_0x4da2e9(0x4fe)](_0x374d11,this[_0x4da2e9(0x2fa)],this['type'],null,this[_0x4da2e9(0x2d4)],null,[_0x51dab1],this[_0x4da2e9(0x1db)]);try{const _0x455c0e=this[_0x4da2e9(0x586)][_0x4da2e9(0x201)](_0x51dab1,this[_0x4da2e9(0x2d4)]);if(_0x4c33ab['isTransformMutationsWithChangesetSuccess'](_0x455c0e)){const {c1Prime:_0x2523d6,m2Prime:_0x39f472}=_0x455c0e;this[_0x4da2e9(0x27b)](_0x2523d6);const _0x22b652=this[_0x4da2e9(0x232)][_0x4da2e9(0x4fe)](_0x206511,this[_0x4da2e9(0x2fa)],this['type'],_0x39f472,this[_0x4da2e9(0x1db)]);return this[_0x4da2e9(0x5be)](),_0x22b652[_0x4da2e9(0x400)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x4da2e9(0x22c)]()-this[_0x4da2e9(0x2e6)]):this[_0x4da2e9(0x2d6)]()),_0x22b652;}throw _0x455c0e[_0x4da2e9(0x538)];}catch(_0x13e6ed){return this['_logService'][_0x4da2e9(0x538)](_0x13e6ed),this[_0x4da2e9(0x4ed)](!0x1);}}[_0x2c702b(0x1cd)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2c702b(0x264)](){const _0x43d21b=_0x2c702b;throw new Error(_0x43d21b(0x340));}[_0x2c702b(0x3ed)](){const _0x469fd4=_0x2c702b;return this[_0x469fd4(0x5be)](),this[_0x469fd4(0x232)][_0x469fd4(0x4fe)](_0x4db5a8,this[_0x469fd4(0x2fa)],this[_0x469fd4(0x375)],null,this[_0x469fd4(0x2d4)],this[_0x469fd4(0x1db)]);}['toggleOnline'](){return this;}[_0x2c702b(0x400)](_0x2b9230){const _0x4b38bb=_0x2c702b;_0x2b9230=_0x2b9230!=null?_0x2b9230:this[_0x4b38bb(0x2d6)](),this[_0x4b38bb(0x2e6)]=new Date()[_0x4b38bb(0x22c)](),this[_0x4b38bb(0x453)]=setTimeout(()=>{const _0x131f2c=_0x4b38bb;this['_clearScheduledTask']();let _0x4afaa4=null;switch(this['type']){case _0x2e0d9e[_0x131f2c(0x46b)]:{_0x4afaa4=_0x424cd5(this[_0x131f2c(0x2d4)],this[_0x131f2c(0x2fa)],this['_univerInstanceService'],this[_0x131f2c(0x580)],this['_memberService']);break;}case _0x2e0d9e[_0x131f2c(0x525)]:{this['_pendingMutations']['every'](_0x2ff5da=>_0x2ff5da['id']===_0x28f26c[_0x131f2c(0x2a4)]['id'])?_0x4afaa4=_0x4ce683(this[_0x131f2c(0x2d4)],this['unitID'],this['_univerInstanceService'],this[_0x131f2c(0x580)],this[_0x131f2c(0x327)]):_0x4afaa4=_0x424cd5(this['_pendingMutations'],this[_0x131f2c(0x2fa)],this[_0x131f2c(0x54c)],this['_revisionService'],this[_0x131f2c(0x327)]);break;}default:throw new Error(_0x131f2c(0x570)+this[_0x131f2c(0x375)]+_0x131f2c(0x328));}const {changeset:_0x36e142,pendingMutations:_0x1de409}=_0x4afaa4;this[_0x131f2c(0x1db)][_0x131f2c(0x1e6)](_0x36e142);const _0xb185b5=_0x1de409[_0x131f2c(0x493)]?this[_0x131f2c(0x232)][_0x131f2c(0x4fe)](_0x53a515,this[_0x131f2c(0x2fa)],this[_0x131f2c(0x375)],_0x36e142,_0x1de409,this[_0x131f2c(0x1db)]):this[_0x131f2c(0x232)]['createInstance'](_0xd8c813,this[_0x131f2c(0x2fa)],this[_0x131f2c(0x375)],_0x36e142,this[_0x131f2c(0x1db)]);_0xb185b5[_0x131f2c(0x46e)](),this['_handler'][_0x131f2c(0x3b4)](this,_0xb185b5);},_0x2b9230);}['_getSendChangesetTimeout'](){const _0xebc02f=_0x2c702b;var _0xc03ea4;return(_0xc03ea4=this[_0xebc02f(0x2a3)][_0xebc02f(0x330)](_0x577ef8))!=null?_0xc03ea4:0x7d0;}['resend'](){const _0x29aae3=_0x2c702b;throw new Error(_0x29aae3(0x39a));}[_0x2c702b(0x5be)](){const _0xfe9d98=_0x2c702b;this['_sendingTimer']!=null&&(clearTimeout(this[_0xfe9d98(0x453)]),this['_sendingTimer']=null);}['_onConflict'](_0x39e0ce){const _0x463f31=_0x2c702b;return this['_clearScheduledTask'](),this[_0x463f31(0x232)][_0x463f31(0x4fe)](_0x145032,this[_0x463f31(0x2fa)],this['type'],null,this[_0x463f31(0x2d4)],this[_0x463f31(0x1db)],_0x39e0ce);}};_0x206511=_0x429298([_0x5094be(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['Injector'])),_0x5094be(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x1137aa)),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0xa,_0x59f65f[_0x2c702b(0x39d)]),_0x5094be(0xb,_0x4c33ab['ITransformService']),_0x5094be(0xc,_0x59f65f[_0x2c702b(0x350)]),_0x5094be(0xd,_0x59f65f['IUndoRedoService'])],_0x206511);let _0xd8c813=class extends _0x27e376{constructor(_0x5d3931,_0x2c9580,_0x2606d2,_0x592e3a,_0x154302,_0x18b869,_0x457bac,_0x494da9,_0x1a0b60,_0xd792eb,_0x4ea66e){const _0x12fc45=_0x2c702b;super(_0x5d3931,_0x2c9580,_0x2606d2,[],_0x592e3a,_0x494da9,_0x4ea66e,_0x18b869,_0x457bac),_0x191e33(this,_0x12fc45(0x563),'awaiting'),(this[_0x12fc45(0x232)]=_0x154302,this[_0x12fc45(0x591)]=_0x1a0b60,this[_0x12fc45(0x586)]=_0xd792eb);}[_0x2c702b(0x4de)](_0x2a6d65){const _0x5a7436=_0x2c702b,_0x42238f=this[_0x5a7436(0x232)][_0x5a7436(0x4fe)](_0x53a515,this[_0x5a7436(0x2fa)],this[_0x5a7436(0x375)],this['_awaitingChangeset'],[_0x2a6d65],this[_0x5a7436(0x1db)]);return _0x42238f['_updateLocalCache'](),_0x42238f;}['onRemoteChangeset'](_0x5c29c1){const _0x5afcae=_0x2c702b;if(this[_0x5afcae(0x254)](_0x5c29c1))return this[_0x5afcae(0x232)][_0x5afcae(0x4fe)](_0x374d11,this[_0x5afcae(0x2fa)],this[_0x5afcae(0x375)],this[_0x5afcae(0x2fd)],[],null,[_0x5c29c1],this['_handler']);try{const _0x36fdb5=this[_0x5afcae(0x586)]['transformChangesets']([_0x5c29c1],[this['_awaitingChangeset']],!0x1);if(_0x4c33ab[_0x5afcae(0x540)](_0x36fdb5)){const {c1Prime:_0xb6531e,c2Prime:_0x346562}=_0x36fdb5;this['_executeRemoteChangeset'](_0xb6531e[0x0]),_0x346562[0x0][_0x5afcae(0x378)]=this[_0x5afcae(0x3e8)]();const _0x56e6d8=this[_0x5afcae(0x232)][_0x5afcae(0x4fe)](_0xd8c813,this['unitID'],this['type'],_0x346562[0x0],this['_handler']);return _0x56e6d8[_0x5afcae(0x46e)](),_0x56e6d8;}return this['_onConflict'](!0x1);}catch(_0x143698){return this['_logService']['error'](_0x143698),this[_0x5afcae(0x4ed)](!0x1);}}[_0x2c702b(0x1cd)](_0xe524dc){const _0x269998=_0x2c702b,_0x4f828e=this[_0x269998(0x580)][_0x269998(0x20d)](this[_0x269998(0x2fa)]);if(_0xe524dc['revision']<_0x4f828e-0x1)return this;if(this['_checkMissing'](_0xe524dc))return this[_0x269998(0x232)][_0x269998(0x4fe)](_0x374d11,this['unitID'],this[_0x269998(0x375)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x269998(0x456)]();const _0x55c858=this[_0x269998(0x232)]['createInstance'](_0x4954a5,this[_0x269998(0x2fa)],this[_0x269998(0x375)],this['_handler']);return _0x55c858[_0x269998(0x46e)](),_0x55c858;}[_0x2c702b(0x264)](_0x4848c1){const _0x13c972=_0x2c702b;return this['_onConflict'](!!(_0x4848c1!=null&&_0x4848c1[_0x13c972(0x30a)]));}[_0x2c702b(0x3ed)](){const _0x3c1d22=_0x2c702b;return this['_injector'][_0x3c1d22(0x4fe)](_0x4db5a8,this[_0x3c1d22(0x2fa)],this['type'],this[_0x3c1d22(0x2fd)],[],this[_0x3c1d22(0x1db)]);}[_0x2c702b(0x240)](){return this;}[_0x2c702b(0x38e)](){const _0x240fa0=_0x2c702b;this[_0x240fa0(0x1db)][_0x240fa0(0x1e6)](this[_0x240fa0(0x2fd)]);}[_0x2c702b(0x4ed)](_0x175454){const _0x2d587f=_0x2c702b;return this['_injector'][_0x2d587f(0x4fe)](_0x145032,this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x175454);}};_0xd8c813=_0x429298([_0x5094be(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab['RevisionService'])),_0x5094be(0x6,_0x59f65f['Inject'](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0x9,_0x4c33ab[_0x2c702b(0x419)]),_0x5094be(0xa,_0x59f65f[_0x2c702b(0x21e)])],_0xd8c813);let _0x53a515=class extends _0x27e376{constructor(_0x270725,_0xab802e,_0x4add44,_0x2c0efc,_0x497852,_0x479086,_0x12174d,_0xfce096,_0xed1432,_0xee6f4f,_0x712564,_0x3ddd7d){const _0x448c2c=_0x2c702b;super(_0x270725,_0xab802e,_0x4add44,_0x2c0efc,_0x497852,_0xed1432,_0x3ddd7d,_0x12174d,_0xfce096),_0x191e33(this,_0x448c2c(0x563),'awaiting_with_pending'),(this['_injector']=_0x479086,this[_0x448c2c(0x591)]=_0xee6f4f,this[_0x448c2c(0x586)]=_0x712564);}[_0x2c702b(0x4de)](_0x3b71cc){const _0x27dccf=_0x2c702b;return this[_0x27dccf(0x2d4)][_0x27dccf(0x2ba)](_0x3b71cc),this;}['onRemoteChangeset'](_0x59c8a5){const _0xdc6a00=_0x2c702b;if(this[_0xdc6a00(0x254)](_0x59c8a5))return this[_0xdc6a00(0x232)][_0xdc6a00(0x4fe)](_0x374d11,this[_0xdc6a00(0x2fa)],this[_0xdc6a00(0x375)],this[_0xdc6a00(0x2fd)],this['_pendingMutations'],null,[_0x59c8a5],this[_0xdc6a00(0x1db)]);try{const _0x4b020b=this[_0xdc6a00(0x586)][_0xdc6a00(0x41e)]([_0x59c8a5],[this[_0xdc6a00(0x2fd)]],!0x1);if(_0x4c33ab[_0xdc6a00(0x540)](_0x4b020b)){const {c1Prime:_0x29f152,c2Prime:_0x53eeca}=_0x4b020b,_0x17cada=this[_0xdc6a00(0x586)][_0xdc6a00(0x201)](_0x29f152[0x0],this['_pendingMutations']);if(_0x4c33ab['isTransformMutationsWithChangesetSuccess'](_0x17cada)){const {c1Prime:_0x4595fb,m2Prime:_0x3f5f58}=_0x17cada;return this['_executeRemoteChangeset'](_0x4595fb),_0x53eeca[0x0]['baseRev']=this[_0xdc6a00(0x3e8)](),this[_0xdc6a00(0x232)]['createInstance'](_0x53a515,this[_0xdc6a00(0x2fa)],this[_0xdc6a00(0x375)],_0x53eeca[0x0],_0x3f5f58,this[_0xdc6a00(0x1db)]);}throw _0x17cada[_0xdc6a00(0x538)];}throw _0x4b020b[_0xdc6a00(0x538)];}catch(_0x316639){return this[_0xdc6a00(0x591)][_0xdc6a00(0x538)](_0x316639),this[_0xdc6a00(0x4ed)](!0x1);}}[_0x2c702b(0x1cd)](_0x5c9d7c){const _0x17144d=_0x2c702b;if(this['_checkMissing'](_0x5c9d7c))return this[_0x17144d(0x232)][_0x17144d(0x4fe)](_0x374d11,this[_0x17144d(0x2fa)],this['type'],null,this['_pendingMutations'],this[_0x17144d(0x2fd)],[],this['_handler']);this[_0x17144d(0x456)]();const _0xd857b2=this[_0x17144d(0x232)][_0x17144d(0x4fe)](_0x206511,this['unitID'],this['type'],this[_0x17144d(0x2d4)],this[_0x17144d(0x1db)]);return _0xd857b2[_0x17144d(0x400)](),_0xd857b2[_0x17144d(0x46e)](),_0xd857b2;}[_0x2c702b(0x264)](_0x3cc37d){const _0x4a4b37=_0x2c702b;return this[_0x4a4b37(0x4ed)](!!(_0x3cc37d!=null&&_0x3cc37d[_0x4a4b37(0x30a)]));}[_0x2c702b(0x3ed)](){const _0x4356f1=_0x2c702b;return this[_0x4356f1(0x232)][_0x4356f1(0x4fe)](_0x4db5a8,this[_0x4356f1(0x2fa)],this[_0x4356f1(0x375)],this[_0x4356f1(0x2fd)],this[_0x4356f1(0x2d4)],this[_0x4356f1(0x1db)]);}['toggleOnline'](){return this;}[_0x2c702b(0x38e)](){const _0x2a7f4d=_0x2c702b;this[_0x2a7f4d(0x1db)][_0x2a7f4d(0x1e6)](this[_0x2a7f4d(0x2fd)]);}[_0x2c702b(0x4ed)](_0x268d36){const _0x4dce8a=_0x2c702b;return this[_0x4dce8a(0x232)]['createInstance'](_0x145032,this[_0x4dce8a(0x2fa)],this[_0x4dce8a(0x375)],null,this[_0x4dce8a(0x2d4)],this[_0x4dce8a(0x1db)],_0x268d36);}};_0x53a515=_0x429298([_0x5094be(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0xa,_0x4c33ab[_0x2c702b(0x419)]),_0x5094be(0xb,_0x59f65f[_0x2c702b(0x21e)])],_0x53a515);let _0x145032=class extends _0x27e376{constructor(_0x2bd84e,_0x1d72e1,_0x45ad59,_0x4fbe1b,_0x1fd74d,_0xf3ffc9=!0x1,_0x279eea,_0x58d6cc,_0x35b46b,_0x570a84,_0x3f774e,_0x93e543,_0x43c809){const _0x95736=_0x2c702b;super(_0x2bd84e,_0x1d72e1,_0x45ad59,_0x4fbe1b,_0x1fd74d,_0x58d6cc,_0x35b46b,_0x3f774e,_0x570a84),_0x191e33(this,_0x95736(0x563),'conflict'),(this[_0x95736(0x5c4)]=_0xf3ffc9,this[_0x95736(0x1fd)]=_0x279eea,this[_0x95736(0x547)]=_0x93e543,this[_0x95736(0x35a)]=_0x43c809,this['_showConflictNotification'](),this[_0x95736(0x41b)](),this[_0x95736(0x568)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x2c702b(0x1cd)](){return this;}['onRemoteRej'](){return this;}[_0x2c702b(0x3ed)](){return this;}[_0x2c702b(0x240)](){return this;}[_0x2c702b(0x38e)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x4f1bc3=_0x2c702b;this[_0x4f1bc3(0x43a)][_0x4f1bc3(0x57f)](this[_0x4f1bc3(0x2fa)],this['type'],null,[]);}['_showConflictNotification'](){const _0x1bfb4f=_0x2c702b;this[_0x1bfb4f(0x5c4)]?this['_notificationService'][_0x1bfb4f(0x272)]({'title':this['_localeService']['t'](_0x1bfb4f(0x317)),'content':this['_localeService']['t'](_0x1bfb4f(0x25f)),'type':_0x1bfb4f(0x538),'duration':0x0}):this['_notificationService'][_0x1bfb4f(0x272)]({'title':this['_localeService']['t'](_0x1bfb4f(0x4aa)),'content':this[_0x1bfb4f(0x547)]['t'](_0x1bfb4f(0x52d)),'type':_0x1bfb4f(0x538),'duration':0x0});}['_disableEditing'](){const _0xa83d92=_0x2c702b;this['_permissionService'][_0xa83d92(0x372)](new _0x5dba16['WorkbookEditablePermission'](this[_0xa83d92(0x2fa)])['id'],!0x1);}};_0x145032=_0x429298([_0x5094be(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['IPermissionService'])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x21e)]),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0xa,_0x59f65f['Inject'](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0xb,_0x59f65f['Inject'](_0x59f65f[_0x2c702b(0x1cf)])),_0x5094be(0xc,_0x40690c[_0x2c702b(0x520)])],_0x145032);let _0x4db5a8=class extends _0x27e376{constructor(_0xa52673,_0x24de48,_0x2af2df,_0x307d9f,_0x1a6931,_0xea5294,_0x11d445,_0x34f168,_0x36eeaf,_0xef2280){const _0x28377b=_0x2c702b;super(_0xa52673,_0x24de48,_0x2af2df,_0x307d9f,_0x1a6931,_0x36eeaf,_0xef2280,_0x11d445,_0x34f168),_0x191e33(this,_0x28377b(0x563),'offline'),this[_0x28377b(0x232)]=_0xea5294;}[_0x2c702b(0x4de)](_0x4e2539){const _0x30be8c=_0x2c702b;return this['_pendingMutations'][_0x30be8c(0x2ba)](_0x4e2539),this[_0x30be8c(0x46e)](),this;}['onRemoteChangeset'](_0xc1cb7e){const _0x18bccf=_0x2c702b;throw new Error(_0x18bccf(0x3a3));}[_0x2c702b(0x1cd)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0xf013a2=_0x2c702b;throw new Error(_0xf013a2(0x590));}[_0x2c702b(0x3ed)](){return this;}[_0x2c702b(0x240)](){const {_injector:_0x4e494b,_pendingMutations:_0x507633,_awaitingChangeset:_0x278996,unitID:_0x3920a5,_handler:_0x371955,type:_0x157728}=this,_0x2a5add=_0x4e03af(_0x4e494b,_0x3920a5,_0x157728,_0x278996,_0x507633,_0x371955);return _0x2a5add instanceof _0x206511?_0x2a5add['_schedule']():(_0x2a5add instanceof _0x53a515||_0x2a5add instanceof _0xd8c813)&&_0x2a5add['resend'](),_0x2a5add;}[_0x2c702b(0x38e)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x4db5a8=_0x429298([_0x5094be(0x5,_0x59f65f['Inject'](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x4b7)]),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x21e)])],_0x4db5a8);let _0x374d11=class extends _0x27e376{constructor(_0x36e023,_0x74507f,_0x2d5d9e,_0x388d62,_0x205c5b,_0x6d3011,_0x4c1994,_0xd52bbd,_0xde1523,_0x56c708,_0x37b0fa,_0x110bb3,_0x41ad41,_0x1b8c09){const _0x13f886=_0x2c702b;super(_0x36e023,_0x74507f,_0x2d5d9e,_0x388d62,_0x4c1994,_0x110bb3,_0x41ad41,_0xde1523,_0x56c708),_0x191e33(this,_0x13f886(0x563),'fetch_missing'),(this[_0x13f886(0x38b)]=_0x205c5b,this[_0x13f886(0x210)]=_0x6d3011,this[_0x13f886(0x232)]=_0xd52bbd,this[_0x13f886(0x591)]=_0x37b0fa,this[_0x13f886(0x586)]=_0x1b8c09);}[_0x2c702b(0x334)](_0x21b26b){const _0x3db3fe=_0x2c702b;try{const _0x5ec395=[..._0x21b26b,...this[_0x3db3fe(0x210)]],_0x390d37=[this[_0x3db3fe(0x2fd)]||this['_acknowledgedAwaitingChangeset']][_0x3db3fe(0x46c)](_0x4ec063=>!!_0x4ec063);let _0x587c19,_0x501a4d;if(_0x390d37[_0x3db3fe(0x493)]){const _0x2fd164=this['_transformService'][_0x3db3fe(0x41e)](_0x5ec395,_0x390d37,!0x1);if(!_0x4c33ab[_0x3db3fe(0x540)](_0x2fd164))throw _0x2fd164['error'];_0x587c19=_0x2fd164[_0x3db3fe(0x399)],_0x501a4d=_0x2fd164[_0x3db3fe(0x24b)];}else _0x587c19=_0x5ec395,_0x501a4d=[];let _0x5768bc=this[_0x3db3fe(0x2d4)];_0x587c19[_0x3db3fe(0x363)](_0x5a8c06=>{const _0x582c65=_0x3db3fe;let _0x10c4c3;if(_0x5768bc['length']){const _0x331d88=this[_0x582c65(0x586)]['transformMutationsWithChangeset'](_0x5a8c06,_0x5768bc);if(!_0x4c33ab['isTransformMutationsWithChangesetSuccess'](_0x331d88))throw _0x331d88['error'];_0x10c4c3=_0x331d88[_0x582c65(0x399)],_0x5768bc=_0x331d88[_0x582c65(0x505)];}else _0x10c4c3=_0x5a8c06;this['_executeRemoteChangeset'](_0x10c4c3);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x3db3fe(0x2fd)]&&_0x501a4d[_0x3db3fe(0x493)]&&(_0x501a4d[0x0][_0x3db3fe(0x378)]=this[_0x3db3fe(0x3e8)]());let _0x2fd19a;if(this[_0x3db3fe(0x2fd)]&&_0x5768bc['length']!==0x0)_0x2fd19a=this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0x53a515,this[_0x3db3fe(0x2fa)],this[_0x3db3fe(0x375)],_0x501a4d[0x0],_0x5768bc,this[_0x3db3fe(0x1db)]);else{if(this['_awaitingChangeset']&&_0x5768bc[_0x3db3fe(0x493)]===0x0)_0x501a4d[0x0][_0x3db3fe(0x378)]=this[_0x3db3fe(0x3e8)](),_0x2fd19a=this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0xd8c813,this[_0x3db3fe(0x2fa)],this['type'],_0x501a4d[0x0],this['_handler']);else{if(_0x5768bc[_0x3db3fe(0x493)]!==0x0){const _0xcf7e78=this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0x206511,this[_0x3db3fe(0x2fa)],this[_0x3db3fe(0x375)],_0x5768bc,this[_0x3db3fe(0x1db)]);_0xcf7e78[_0x3db3fe(0x400)](),_0x2fd19a=_0xcf7e78;}else _0x2fd19a=this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0x4954a5,this[_0x3db3fe(0x2fa)],this[_0x3db3fe(0x375)],this[_0x3db3fe(0x1db)]);}}return _0x2fd19a[_0x3db3fe(0x46e)](),_0x2fd19a;}catch(_0x5a5585){return this['_logService'][_0x3db3fe(0x538)](_0x3db3fe(0x4a5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5a5585),this[_0x3db3fe(0x232)][_0x3db3fe(0x4fe)](_0x145032,this['unitID'],this[_0x3db3fe(0x375)],this[_0x3db3fe(0x2fd)],this[_0x3db3fe(0x2d4)],this[_0x3db3fe(0x1db)],!0x1);}}[_0x2c702b(0x38e)](){const _0x3797d2=_0x2c702b;throw new Error(_0x3797d2(0x1fb));}[_0x2c702b(0x4de)](_0x4afe10){const _0x2f91fd=_0x2c702b;return this[_0x2f91fd(0x2d4)][_0x2f91fd(0x2ba)](_0x4afe10),this;}[_0x2c702b(0x3da)](_0x46d886){const _0x385f2f=_0x2c702b;return this[_0x385f2f(0x210)][_0x385f2f(0x2ba)](_0x46d886),this;}[_0x2c702b(0x1cd)](_0x4a846d){const _0x595b06=_0x2c702b;if(this[_0x595b06(0x2fd)])return this[_0x595b06(0x38b)]=this[_0x595b06(0x2fd)],this[_0x595b06(0x2fd)]=null,this;throw new Error(_0x595b06(0x42d));}['onRemoteRej'](_0xc0478a){const _0x19bfc6=_0x2c702b;return this['_onConflict'](!!(_0xc0478a!=null&&_0xc0478a[_0x19bfc6(0x30a)]));}[_0x2c702b(0x3ed)](){const _0x44e769=_0x2c702b;return this[_0x44e769(0x232)][_0x44e769(0x4fe)](_0x4db5a8,this[_0x44e769(0x2fa)],this[_0x44e769(0x375)],this['_awaitingChangeset'],this[_0x44e769(0x2d4)],this[_0x44e769(0x1db)]);}[_0x2c702b(0x240)](){return this;}[_0x2c702b(0x4ed)](_0x5f0dda){const _0x1d6928=_0x2c702b;return this[_0x1d6928(0x232)]['createInstance'](_0x145032,this['unitID'],this[_0x1d6928(0x375)],this[_0x1d6928(0x2fd)],this[_0x1d6928(0x2d4)],this[_0x1d6928(0x1db)],_0x5f0dda);}};_0x374d11=_0x429298([_0x5094be(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x5094be(0x8,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x5094be(0x9,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x5094be(0xa,_0x59f65f[_0x2c702b(0x5a5)]),_0x5094be(0xb,_0x59f65f['ICommandService']),_0x5094be(0xc,_0x59f65f['IUndoRedoService']),_0x5094be(0xd,_0x4c33ab['ITransformService'])],_0x374d11);function _0x4e03af(_0x194299,_0xbb5e3f,_0x2ce4df,_0x24c653,_0x2377f1,_0x594e3b){const _0x565f36=_0x2c702b;return _0x24c653&&_0x2377f1[_0x565f36(0x493)]?_0x194299[_0x565f36(0x4fe)](_0x53a515,_0xbb5e3f,_0x2ce4df,_0x24c653,_0x2377f1,_0x594e3b):_0x24c653?_0x194299['createInstance'](_0xd8c813,_0xbb5e3f,_0x2ce4df,_0x24c653,_0x594e3b):_0x2377f1[_0x565f36(0x493)]?_0x194299[_0x565f36(0x4fe)](_0x206511,_0xbb5e3f,_0x2ce4df,_0x2377f1,_0x594e3b):_0x194299[_0x565f36(0x4fe)](_0x4954a5,_0xbb5e3f,_0x2ce4df,_0x594e3b);}var _0x3f4199=Object[_0x2c702b(0x227)],_0x594939=Object[_0x2c702b(0x294)],_0xd6560=(_0x4beb19,_0x3ce721,_0x5cce8d,_0x5b5dbd)=>{for(var _0x442de5=_0x5b5dbd>0x1?void 0x0:_0x5b5dbd?_0x594939(_0x3ce721,_0x5cce8d):_0x3ce721,_0x47ae23=_0x4beb19['length']-0x1,_0x434808;_0x47ae23>=0x0;_0x47ae23--)(_0x434808=_0x4beb19[_0x47ae23])&&(_0x442de5=(_0x5b5dbd?_0x434808(_0x3ce721,_0x5cce8d,_0x442de5):_0x434808(_0x442de5))||_0x442de5);return _0x5b5dbd&&_0x442de5&&_0x3f4199(_0x3ce721,_0x5cce8d,_0x442de5),_0x442de5;},_0x107bc5=(_0x174d25,_0x53e583)=>(_0x304cfd,_0x5a690d)=>_0x53e583(_0x304cfd,_0x5a690d,_0x174d25);_0x21561b['CollaborationController']=class extends _0x59f65f['RxDisposable']{constructor(_0x3ed047,_0x4a731c,_0xcfa976){const _0x5a5f15=_0x2c702b;super(),_0x191e33(this,'_entities',new Map()),_0x191e33(this,'_entityInit$',new _0x6d0798[(_0x5a5f15(0x2d1))]()),(this['_injector']=_0x3ed047,this[_0x5a5f15(0x228)]=_0x4a731c,this[_0x5a5f15(0x54c)]=_0xcfa976,this[_0x5a5f15(0x362)]());}[_0x2c702b(0x574)](){const _0x1f0b9e=_0x2c702b;super['dispose'](),this[_0x1f0b9e(0x25c)][_0x1f0b9e(0x363)](_0x220b62=>_0x220b62[_0x1f0b9e(0x574)]()),this[_0x1f0b9e(0x25c)][_0x1f0b9e(0x544)]();}['getCollabEntity'](_0x498243){const _0x1010ec=_0x2c702b;var _0x291773;return(_0x291773=this[_0x1010ec(0x25c)][_0x1010ec(0x2f7)](_0x498243))!=null?_0x291773:null;}['getCollabEntity$'](_0x217d0c){const _0x5bd7e2=_0x2c702b,_0x33951e=this['getCollabEntity'](_0x217d0c);return _0x33951e?_0x6d0798['of'](_0x33951e):this[_0x5bd7e2(0x23d)][_0x5bd7e2(0x47e)](_0x4e8b21[_0x5bd7e2(0x46c)](_0x4c190c=>_0x4c190c[_0x5bd7e2(0x2fa)]===_0x217d0c));}['_init'](){const _0x880905=_0x2c702b;this[_0x880905(0x54c)][_0x880905(0x2a2)](_0x59f65f[_0x880905(0x28f)][_0x880905(0x46b)])[_0x880905(0x47e)](_0x6d0798[_0x880905(0x397)](this[_0x880905(0x45e)]),_0x4e8b21['delay'](0x10))[_0x880905(0x41d)](async _0x9badf8=>{const _0x22c206=_0x880905,_0x16ea5c=_0x9badf8[_0x22c206(0x36b)](),_0x3510a6=await this[_0x22c206(0x277)](_0x16ea5c,_0x2e0d9e[_0x22c206(0x46b)]);this['_entities'][_0x22c206(0x407)](_0x16ea5c,_0x3510a6);}),this[_0x880905(0x54c)][_0x880905(0x2a2)](_0x59f65f['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x6d0798[_0x880905(0x397)](this[_0x880905(0x45e)]),_0x4e8b21[_0x880905(0x238)](0x10))['pipe'](_0x4e8b21['filter'](_0x4a29ba=>!_0x4a29ba['getUnitId']()[_0x880905(0x476)]('__')))[_0x880905(0x41d)](async _0x34de8d=>{const _0x399a16=_0x880905,_0x3c9d0b=_0x34de8d[_0x399a16(0x36b)](),_0x41ff8d=await this[_0x399a16(0x277)](_0x3c9d0b,_0x2e0d9e[_0x399a16(0x525)]);this[_0x399a16(0x25c)][_0x399a16(0x407)](_0x3c9d0b,_0x41ff8d);}),_0x6d0798['merge'](this[_0x880905(0x54c)][_0x880905(0x2be)](_0x59f65f[_0x880905(0x28f)][_0x880905(0x46b)]),this['_univerInstanceService'][_0x880905(0x2be)](_0x59f65f[_0x880905(0x28f)]['UNIVER_DOC']))[_0x880905(0x47e)](_0x6d0798[_0x880905(0x397)](this[_0x880905(0x45e)]))[_0x880905(0x41d)](_0x1aa940=>{const _0xc19661=_0x880905,_0x20efa0=_0x1aa940['getUnitId'](),_0x12b1d2=this[_0xc19661(0x25c)][_0xc19661(0x2f7)](_0x20efa0);_0x12b1d2&&(_0x12b1d2[_0xc19661(0x574)](),this['_entities']['delete'](_0x20efa0));});}async[_0x2c702b(0x277)](_0x125679,_0x4e516c){const _0x2a7393=_0x2c702b,_0x3d65c2=await this[_0x2a7393(0x228)]['requireSession'](_0x125679),_0x28c189=this[_0x2a7393(0x232)][_0x2a7393(0x4fe)](this[_0x2a7393(0x573)](_0x4e516c),_0x125679,_0x4e516c,_0x3d65c2);return await _0x28c189[_0x2a7393(0x5a2)](),this[_0x2a7393(0x23d)][_0x2a7393(0x577)](_0x28c189),_0x28c189;}['_getCtorByUniverType'](_0x4bd5e1){const _0x2c5c5b=_0x2c702b;switch(_0x4bd5e1){case _0x2e0d9e[_0x2c5c5b(0x525)]:return _0x212601;case _0x2e0d9e[_0x2c5c5b(0x46b)]:return _0x21561b[_0x2c5c5b(0x243)];default:throw new Error(_0x2c5c5b(0x28c)+_0x4bd5e1);}}},_0x21561b[_0x2c702b(0x569)]=_0xd6560([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)]['Starting'],_0x21561b[_0x2c702b(0x569)]),_0x107bc5(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x107bc5(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x42a)])),_0x107bc5(0x2,_0x59f65f[_0x2c702b(0x350)])],_0x21561b[_0x2c702b(0x569)]);let _0x2411a0=class extends _0x59f65f['RxDisposable']{constructor(_0x275dcd,_0x230a4c,_0xf4e387,_0x594d50,_0x39b937,_0x6bf55d,_0x33fe59,_0xc8f953,_0x3d05e0,_0x431fff,_0xfeaf15,_0x422182,_0x38c881){const _0x2edc7d=_0x2c702b;super(),_0x191e33(this,_0x2edc7d(0x3c0),new _0x6d0798[(_0x2edc7d(0x52f))](null)),_0x191e33(this,_0x2edc7d(0x3c9),this[_0x2edc7d(0x3c0)][_0x2edc7d(0x1c4)]()),_0x191e33(this,_0x2edc7d(0x464)),_0x191e33(this,'_collaborationPaused',!0x1),_0x191e33(this,_0x2edc7d(0x50f),this['state$']['pipe'](_0x4e8b21[_0x2edc7d(0x4a7)](_0x3616ca=>_0x3616ca?_0x3616ca[_0x2edc7d(0x563)]:_0x56e84e['OFFLINE']),_0x4e8b21[_0x2edc7d(0x3fc)](0x1))),_0x191e33(this,_0x2edc7d(0x217),!0x1),_0x191e33(this,_0x2edc7d(0x2e2),[]),(this[_0x2edc7d(0x2fa)]=_0x275dcd,this['_type']=_0x230a4c,this['_session']=_0xf4e387,this['_injector']=_0x594d50,this[_0x2edc7d(0x43a)]=_0x39b937,this[_0x2edc7d(0x582)]=_0x6bf55d,this['_localeService']=_0x33fe59,this[_0x2edc7d(0x580)]=_0xc8f953,this[_0x2edc7d(0x591)]=_0x3d05e0,this['_commandService']=_0x431fff,this[_0x2edc7d(0x30c)]=_0xfeaf15,this[_0x2edc7d(0x1fd)]=_0x422182,this['_singleActiveUnitService']=_0x38c881);}get[_0x2c702b(0x554)](){const _0x4e4e49=_0x2c702b;return this[_0x4e4e49(0x464)];}async[_0x2c702b(0x5a2)](){const _0x23606a=_0x2c702b;if(this[_0x23606a(0x554)])throw new Error(_0x23606a(0x2ce));await this['_init']();}[_0x2c702b(0x2a8)](){const _0x28d0a1=_0x2c702b;return this[_0x28d0a1(0x5b0)]=!0x0,_0x59f65f[_0x28d0a1(0x209)](()=>{const _0x299864=_0x28d0a1;this[_0x299864(0x5b0)]=!0x1,this[_0x299864(0x450)]();});}[_0x2c702b(0x29c)](_0x2e84f8){const _0x5ea05f=_0x2c702b;this[_0x5ea05f(0x464)]=_0x2e84f8,this['_state$']['next'](_0x2e84f8);}async[_0x2c702b(0x362)](){const _0x14ce4d=_0x2c702b;var _0x265b8c;return this['_updateState'](await this[_0x14ce4d(0x21a)]()),this['_singleActiveUnitService']&&((_0x265b8c=this[_0x14ce4d(0x572)])==null||_0x265b8c[_0x14ce4d(0x32c)](this['unitID']),this[_0x14ce4d(0x35f)](_0x59f65f[_0x14ce4d(0x209)](this[_0x14ce4d(0x572)][_0x14ce4d(0x592)](this[_0x14ce4d(0x2fa)])[_0x14ce4d(0x41d)](_0x1811ae=>{const _0x3a119a=_0x14ce4d;this[_0x3a119a(0x591)][_0x3a119a(0x386)](_0x3a119a(0x2d2),_0x3a119a(0x263),_0x1811ae),_0x1811ae===_0x13fe1f['OTHER_CLIENTS_EDITING']?(this[_0x3a119a(0x30c)][_0x3a119a(0x272)]({'content':this[_0x3a119a(0x547)]['t']('collaboration.single-unit.warning'),'type':_0x936b9e[_0x3a119a(0x51a)]['Warning']}),this[_0x3a119a(0x1fd)][_0x3a119a(0x372)](new _0x5dba16[(_0x3a119a(0x4a2))](this[_0x3a119a(0x2fa)])['id'],!0x1)):this[_0x3a119a(0x1fd)][_0x3a119a(0x372)](new _0x5dba16['WorkbookEditablePermission'](this[_0x3a119a(0x2fa)])['id'],!0x0);})))),this[_0x14ce4d(0x35f)](_0x59f65f[_0x14ce4d(0x209)](this[_0x14ce4d(0x2dc)][_0x14ce4d(0x2ad)][_0x14ce4d(0x41d)](_0xb42dc8=>{const _0xd05c5e=_0x14ce4d;_0xb42dc8===_0x29549f[_0xd05c5e(0x257)]?this[_0xd05c5e(0x323)]():_0xb42dc8===_0x29549f[_0xd05c5e(0x50a)]&&this['_toggleOffline']();}))),this[_0x14ce4d(0x35f)](_0x59f65f[_0x14ce4d(0x209)](this[_0x14ce4d(0x2dc)][_0x14ce4d(0x5c0)][_0x14ce4d(0x41d)](_0x5cb84d=>{const _0x4b947e=_0x14ce4d;try{switch(_0x5cb84d[_0x4b947e(0x50d)]){case _0x4c33ab[_0x4b947e(0x550)][_0x4b947e(0x1f9)]:{this['_onRemoteChangeset'](_0x4c33ab[_0x4b947e(0x51c)](_0x5cb84d[_0x4b947e(0x51d)]));break;}case _0x4c33ab[_0x4b947e(0x550)][_0x4b947e(0x2c6)]:{this[_0x4b947e(0x1c6)](_0x5cb84d['data']);break;}case _0x4c33ab['CollaborationEvent'][_0x4b947e(0x1f6)]:{this[_0x4b947e(0x3b9)]();break;}case _0x4c33ab[_0x4b947e(0x550)][_0x4b947e(0x299)]:{this[_0x4b947e(0x1d1)](_0x5cb84d[_0x4b947e(0x51d)]['changesets']['map'](_0x17a7be=>_0x4c33ab[_0x4b947e(0x51c)](_0x17a7be)));break;}case _0x4c33ab[_0x4b947e(0x550)][_0x4b947e(0x242)]:this[_0x4b947e(0x3b9)]({'isPermissionRej':!0x0});}}catch(_0x469b78){throw console[_0x4b947e(0x538)](_0x4b947e(0x2d3),_0x469b78),_0x469b78;}}))),this['_state'];}[_0x2c702b(0x1f0)](){const _0x6c993=_0x2c702b;this[_0x6c993(0x217)]=!0x1;}['_lockTransition'](){const _0x4991e7=_0x2c702b;if(this[_0x4991e7(0x217)])throw new Error(_0x4991e7(0x3c5));this[_0x4991e7(0x217)]=!0x0;}['_onLocalMutation'](_0x44ec07){const _0x11fffd=_0x2c702b;this[_0x11fffd(0x234)](),this[_0x11fffd(0x29c)](this[_0x11fffd(0x464)][_0x11fffd(0x4de)](_0x44ec07)),this['_unlockTransition']();}[_0x2c702b(0x414)](_0x3e12c2){const _0x50a89b=_0x2c702b;if(!(_0x3e12c2[_0x50a89b(0x50c)]<=this[_0x50a89b(0x580)][_0x50a89b(0x20d)](this['unitID']))){if(this[_0x50a89b(0x5b0)]){this['_remoteChangesetQueue'][_0x50a89b(0x2ba)](_0x3e12c2);return;}this[_0x50a89b(0x3e2)](_0x3e12c2);}}[_0x2c702b(0x450)](){const _0x5c4234=_0x2c702b;this['_remoteChangesetQueue']['forEach'](_0x5e348e=>this['_applyRemoteChangeset'](_0x5e348e)),this[_0x5c4234(0x2e2)]=[];}[_0x2c702b(0x3e2)](_0x1a08df){const _0x4e2a1c=_0x2c702b,_0x220d97=this[_0x4e2a1c(0x582)][_0x4e2a1c(0x3fa)][_0x4e2a1c(0x303)](this['_compressMutationService'][_0x4e2a1c(0x3fa)][_0x4e2a1c(0x4e8)]()[_0x4e2a1c(0x219)])(_0x1a08df['mutations'],null)||_0x1a08df[_0x4e2a1c(0x31c)],_0x3f3606={..._0x1a08df,'mutations':_0x220d97};this[_0x4e2a1c(0x234)](),this[_0x4e2a1c(0x29c)](this[_0x4e2a1c(0x464)][_0x4e2a1c(0x3da)](_0x3f3606)),this[_0x4e2a1c(0x1f0)]();}[_0x2c702b(0x1c6)](_0x351cb3){const _0x2c1b7b=_0x2c702b;this[_0x2c1b7b(0x234)](),this[_0x2c1b7b(0x29c)](this[_0x2c1b7b(0x464)][_0x2c1b7b(0x1cd)](_0x351cb3)),this[_0x2c1b7b(0x1f0)]();}['_onRemoteRejected'](_0x2eb475){const _0x30c83f=_0x2c702b;this[_0x30c83f(0x234)](),this[_0x30c83f(0x29c)](this[_0x30c83f(0x464)][_0x30c83f(0x264)](_0x2eb475)),this['_unlockTransition']();}['_onFetchMissResult'](_0x2a1a62){const _0x88f5c4=_0x2c702b;if(!(this[_0x88f5c4(0x464)]instanceof _0x374d11))throw new TypeError(_0x88f5c4(0x486));const _0x575e6a=_0x2a1a62[_0x88f5c4(0x4a7)](_0x446dd9=>{const _0x22f056=_0x88f5c4,_0x1e5264=this[_0x22f056(0x582)][_0x22f056(0x3fa)][_0x22f056(0x303)](this[_0x22f056(0x582)][_0x22f056(0x3fa)][_0x22f056(0x4e8)]()['COMPRESS_MUTATION_APPLY'])(_0x446dd9[_0x22f056(0x31c)],null)||_0x446dd9[_0x22f056(0x31c)];return{..._0x446dd9,'mutations':_0x1e5264};});this[_0x88f5c4(0x234)](),this[_0x88f5c4(0x29c)](this[_0x88f5c4(0x464)][_0x88f5c4(0x334)](_0x575e6a)),this[_0x88f5c4(0x1f0)]();}['_toggleOffline'](){const _0x5dde96=_0x2c702b;this['_lockTransition'](),this[_0x5dde96(0x29c)](this['_state'][_0x5dde96(0x3ed)]()),this['_unlockTransition']();}['_toggleOnline'](){const _0x167c67=_0x2c702b;this['_lockTransition'](),this[_0x167c67(0x29c)](this[_0x167c67(0x464)]['toggleOnline']()),this['_unlockTransition']();}async[_0x2c702b(0x21a)](){return new Promise(_0x503420=>{const _0x52ff4a=_0x50c2;this[_0x52ff4a(0x2dc)]['sessionStatus$']['pipe'](_0x4e8b21[_0x52ff4a(0x596)](0x1))[_0x52ff4a(0x41d)](async _0x5b559e=>{const _0x116b7d=_0x52ff4a;_0x503420(await this['_createInitialStateImpl'](_0x5b559e===_0x29549f[_0x116b7d(0x257)]));});});}['_createHandler'](){const _0x154e05=_0x2c702b,_0x524dca=this[_0x154e05(0x2fa)];return{'onStateChange':(_0xe0cef1,_0x15ff90)=>{const _0x2936e6=_0x154e05;if(_0xe0cef1!==this[_0x2936e6(0x464)])throw new Error(_0x2936e6(0x5a0)+_0xe0cef1[_0x2936e6(0x563)]+_0x2936e6(0x52e)+_0x15ff90[_0x2936e6(0x563)]+_0x2936e6(0x509)+this[_0x2936e6(0x464)][_0x2936e6(0x563)]);this[_0x2936e6(0x29c)](_0x15ff90);},'onSendChangeset':_0x3ea6b3=>{const _0x5bcfb2=_0x154e05,_0x2ce0ea={'eventID':_0x4c33ab['CollaborationEvent'][_0x5bcfb2(0x3b5)],'data':{'unitID':_0x3ea6b3[_0x5bcfb2(0x2fa)],'unitType':this[_0x5bcfb2(0x349)],'changeset':_0x3ea6b3,'memberID':this[_0x5bcfb2(0x2dc)][_0x5bcfb2(0x23f)]()}};this[_0x5bcfb2(0x2dc)][_0x5bcfb2(0x2ee)](_0x2ce0ea,this[_0x5bcfb2(0x2fa)]);},'onMissingChangesets':({from:_0x10ec5d,to:_0x230fb5})=>{const _0x55d594=_0x154e05;this['_logService'][_0x55d594(0x386)](_0x55d594(0x2d2),_0x55d594(0x1d3)+_0x10ec5d+_0x55d594(0x5a4)+_0x230fb5);const _0x59ed45={'eventID':_0x4c33ab['CollaborationEvent'][_0x55d594(0x292)],'data':{'unitID':_0x524dca,'unitType':this[_0x55d594(0x349)],'from':_0x10ec5d,'to':_0x230fb5}};this[_0x55d594(0x2dc)][_0x55d594(0x2ee)](_0x59ed45,this[_0x55d594(0x2fa)]);}};}async[_0x2c702b(0x3a9)](_0x1b4127){const _0x316250=_0x2c702b;var _0x1cf53b,_0x2aba2f;const _0x46560c=await this['_localCacheService'][_0x316250(0x5bf)](this[_0x316250(0x2fa)]),_0x23059c=(_0x1cf53b=_0x46560c==null?void 0x0:_0x46560c[_0x316250(0x31c)])!=null?_0x1cf53b:[],_0x3cc769=(_0x2aba2f=_0x46560c==null?void 0x0:_0x46560c[_0x316250(0x56f)])!=null?_0x2aba2f:null,_0x4da5f2=this[_0x316250(0x2fa)];try{this[_0x316250(0x33f)](_0x3cc769,_0x23059c);}catch(_0x2a5b12){this[_0x316250(0x591)][_0x316250(0x538)](_0x2a5b12);}const _0x5187c7=this[_0x316250(0x2cf)]();if(_0x1b4127){const _0xf81e54=_0x4e03af(this['_injector'],_0x4da5f2,this['_type'],_0x3cc769,_0x23059c,_0x5187c7);return _0xf81e54 instanceof _0x206511?_0xf81e54[_0x316250(0x400)]():(_0xf81e54 instanceof _0x53a515||_0xf81e54 instanceof _0xd8c813)&&_0xf81e54['resend'](),_0xf81e54;}return this[_0x316250(0x232)][_0x316250(0x4fe)](_0x4db5a8,_0x4da5f2,this[_0x316250(0x349)],_0x3cc769,_0x23059c,_0x5187c7);}['_replayCachedMutations'](_0x43795d,_0x1c5e1c){const _0x19fabc=_0x2c702b;var _0x1e7458,_0xc09ef0;const _0x1c1e32=this[_0x19fabc(0x582)][_0x19fabc(0x3fa)][_0x19fabc(0x303)](this[_0x19fabc(0x582)]['interceptor']['getInterceptPoints']()[_0x19fabc(0x219)]);(_0x1e7458=_0x1c1e32((_0x43795d==null?void 0x0:_0x43795d['mutations'])||[],null))==null||_0x1e7458['forEach'](_0x570115=>this[_0x19fabc(0x567)][_0x19fabc(0x22f)](_0x570115['id'],_0x570115['params'])),(_0xc09ef0=_0x1c1e32(_0x1c5e1c||[],null))==null||_0xc09ef0[_0x19fabc(0x363)](_0x33fa33=>this[_0x19fabc(0x567)][_0x19fabc(0x22f)](_0x33fa33['id'],_0x33fa33['params']));}};_0x2411a0=_0xd6560([_0x107bc5(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x107bc5(0x4,_0x59f65f['Inject'](_0x21561b['LocalCacheService'])),_0x107bc5(0x5,_0x59f65f['Inject'](_0x4c33ab['CompressMutationService'])),_0x107bc5(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x107bc5(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x107bc5(0x8,_0x59f65f['ILogService']),_0x107bc5(0x9,_0x59f65f['ICommandService']),_0x107bc5(0xa,_0x40690c[_0x2c702b(0x37f)]),_0x107bc5(0xb,_0x59f65f[_0x2c702b(0x1da)]),_0x107bc5(0xc,_0x59f65f[_0x2c702b(0x558)](_0x3c9dbb))],_0x2411a0);let _0x212601=class extends _0x2411a0{constructor(_0x409ec2,_0xfdd852,_0x307b40,_0x4530af,_0x54a48f,_0x5308f6,_0x2f6549,_0x48377e,_0x5c19af,_0x55e7ea,_0x39884d,_0xbf08b3,_0x284832,_0x2b48d7,_0x30ef98,_0x2108bd,_0x236ead){const _0x223b16=_0x2c702b;super(_0x409ec2,_0xfdd852,_0x307b40,_0x4530af,_0x54a48f,_0x5308f6,_0x2f6549,_0x48377e,_0x284832,_0x2b48d7,_0x30ef98,_0x2108bd,_0x236ead),this['unitID']=_0x409ec2,this['type']=_0xfdd852,this[_0x223b16(0x52c)]=_0x307b40,this[_0x223b16(0x469)]=_0x5c19af,this[_0x223b16(0x20e)]=_0x55e7ea,this[_0x223b16(0x373)]=_0x39884d,this[_0x223b16(0x5b1)]=_0xbf08b3;}[_0x2c702b(0x2cf)](){const _0x21fdac=_0x2c702b,_0x33fa0a=super['_createHandler']();return _0x33fa0a[_0x21fdac(0x35c)]=_0x5cda43=>this['_docTransformIMECacheService'][_0x21fdac(0x54e)](_0x5cda43),_0x33fa0a[_0x21fdac(0x279)]=_0x3102a4=>this[_0x21fdac(0x373)]['transformSelections'](_0x3102a4),_0x33fa0a[_0x21fdac(0x3bf)]=_0x3e7592=>this[_0x21fdac(0x5b1)][_0x21fdac(0x2f3)](_0x3e7592),_0x33fa0a[_0x21fdac(0x44d)]=_0x46acd3=>this[_0x21fdac(0x20e)][_0x21fdac(0x356)](_0x46acd3),_0x33fa0a;}async[_0x2c702b(0x362)](){const _0x2062de=_0x2c702b,_0x1fd662=await super['_init']();return this[_0x2062de(0x35f)](this[_0x2062de(0x567)][_0x2062de(0x444)]((_0x356b7e,_0x337e55)=>{const _0x5930ed=_0x2062de;if(_0x356b7e[_0x5930ed(0x375)]!==_0x59f65f[_0x5930ed(0x1f4)][_0x5930ed(0x555)]||_0x337e55!=null&&_0x337e55['fromCollab']||_0x337e55!=null&&_0x337e55['onlyLocal'])return;const _0x362669=_0x356b7e['params'];if((_0x362669==null?void 0x0:_0x362669[_0x5930ed(0x42b)])!==this[_0x5930ed(0x2fa)])return;let _0x53bb94=_0x356b7e;if(_0x53bb94['id']===_0x28f26c[_0x5930ed(0x2a4)]['id']){const _0xf35ed9=_0x53bb94[_0x5930ed(0x3e9)];_0x53bb94={'id':_0x28f26c[_0x5930ed(0x2a4)]['id'],'type':_0x59f65f[_0x5930ed(0x1f4)][_0x5930ed(0x555)],'params':{'unitId':_0xf35ed9['unitId'],'actions':_0xf35ed9[_0x5930ed(0x3d1)],'textRanges':null}};}const _0x13773e=this[_0x5930ed(0x582)][_0x5930ed(0x3fa)][_0x5930ed(0x303)](this[_0x5930ed(0x582)][_0x5930ed(0x3fa)][_0x5930ed(0x4e8)]()['COMPRESS_MUTATION_SEND'])([_0x53bb94],null)||[_0x53bb94];this[_0x5930ed(0x308)](_0x13773e[0x0]);})),_0x1fd662;}};_0x212601=_0xd6560([_0x107bc5(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x107bc5(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x107bc5(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x5a8)])),_0x107bc5(0x6,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)])),_0x107bc5(0x7,_0x59f65f['Inject'](_0x4c33ab[_0x2c702b(0x23b)])),_0x107bc5(0x8,_0x59f65f[_0x2c702b(0x57e)](_0x28f26c['DocStateChangeManagerService'])),_0x107bc5(0x9,_0x59f65f['Inject'](_0x2e3636)),_0x107bc5(0xa,_0x59f65f['Inject'](_0x191131)),_0x107bc5(0xb,_0x59f65f['Inject'](_0x267a51)),_0x107bc5(0xc,_0x59f65f[_0x2c702b(0x5a5)]),_0x107bc5(0xd,_0x59f65f[_0x2c702b(0x4b7)]),_0x107bc5(0xe,_0x40690c[_0x2c702b(0x37f)]),_0x107bc5(0xf,_0x59f65f[_0x2c702b(0x1da)]),_0x107bc5(0x10,_0x59f65f[_0x2c702b(0x558)](_0x3c9dbb))],_0x212601),_0x21561b[_0x2c702b(0x243)]=class extends _0x2411a0{constructor(_0xcab7f6,_0x1a0203,_0x2f360f,_0xca7c25,_0x12d750,_0x2f133f,_0x5a35f7,_0x33935c,_0x3d6fb1,_0x8f2770,_0x5200ba,_0x130259,_0x2c258c,_0x57f7ed){const _0x539a64=_0x2c702b;super(_0xcab7f6,_0x1a0203,_0x2f360f,_0xca7c25,_0x12d750,_0x2f133f,_0x5a35f7,_0x33935c,_0x8f2770,_0x5200ba,_0x130259,_0x2c258c,_0x57f7ed),this['unitID']=_0xcab7f6,this[_0x539a64(0x375)]=_0x1a0203,this[_0x539a64(0x52c)]=_0x2f360f,this['_sheetTransformSelectionsService']=_0x3d6fb1;}[_0x2c702b(0x2cf)](){const _0x422032=_0x2c702b,_0x164cde=super[_0x422032(0x2cf)]();return _0x164cde[_0x422032(0x279)]=_0x57105c=>this['_sheetTransformSelectionsService'][_0x422032(0x46f)](_0x57105c),_0x164cde;}async['_init'](){const _0x2115f3=_0x2c702b,_0x2dbc0f=await super[_0x2115f3(0x362)]();return this[_0x2115f3(0x35f)](this['_commandService'][_0x2115f3(0x444)]((_0x4ca7a9,_0x45c20d)=>{const _0x5ced03=_0x2115f3;if(_0x4ca7a9[_0x5ced03(0x375)]!==_0x59f65f[_0x5ced03(0x1f4)][_0x5ced03(0x555)]||_0x45c20d!=null&&_0x45c20d['fromCollab']||_0x45c20d!=null&&_0x45c20d[_0x5ced03(0x258)])return;const _0x3afb1b=_0x4ca7a9[_0x5ced03(0x3e9)];if((_0x3afb1b==null?void 0x0:_0x3afb1b[_0x5ced03(0x42b)])!==this[_0x5ced03(0x2fa)])return;const _0x1d533c=_0x4ca7a9,_0x52bca0=this[_0x5ced03(0x582)][_0x5ced03(0x3fa)][_0x5ced03(0x303)](this['_compressMutationService'][_0x5ced03(0x3fa)][_0x5ced03(0x4e8)]()[_0x5ced03(0x40f)])([_0x1d533c],null)||[_0x1d533c];this[_0x5ced03(0x308)](_0x52bca0[0x0]);})),_0x2dbc0f;}},_0x21561b[_0x2c702b(0x243)]=_0xd6560([_0x107bc5(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x107bc5(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x21561b['LocalCacheService'])),_0x107bc5(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x5a8)])),_0x107bc5(0x6,_0x59f65f['Inject'](_0x59f65f['LocaleService'])),_0x107bc5(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x4c33ab[_0x2c702b(0x23b)])),_0x107bc5(0x8,_0x59f65f[_0x2c702b(0x57e)](_0x44d70e)),_0x107bc5(0x9,_0x59f65f[_0x2c702b(0x5a5)]),_0x107bc5(0xa,_0x59f65f[_0x2c702b(0x4b7)]),_0x107bc5(0xb,_0x40690c['IMessageService']),_0x107bc5(0xc,_0x59f65f[_0x2c702b(0x1da)]),_0x107bc5(0xd,_0x59f65f[_0x2c702b(0x558)](_0x3c9dbb))],_0x21561b[_0x2c702b(0x243)]);const _0x3a9b65=['purple300',_0x2c702b(0x4ca),'verdancy600',_0x2c702b(0x204),_0x2c702b(0x4ba),_0x2c702b(0x314)];class _0x427206 extends _0x59f65f[_0x2c702b(0x416)]{constructor(){const _0x4cc97e=_0x2c702b;super(...arguments),_0x191e33(this,_0x4cc97e(0x306),new Map()),_0x191e33(this,_0x4cc97e(0x207),0x0);}[_0x2c702b(0x301)](_0x406679){const _0x5c7ac9=_0x2c702b;if(this[_0x5c7ac9(0x306)][_0x5c7ac9(0x35d)](_0x406679))return this[_0x5c7ac9(0x306)][_0x5c7ac9(0x2f7)](_0x406679);const _0x2d303b=_0x3a9b65[this['_colorIndex']];return this[_0x5c7ac9(0x207)]=(this[_0x5c7ac9(0x207)]+0x1)%_0x3a9b65['length'],this[_0x5c7ac9(0x306)][_0x5c7ac9(0x407)](_0x406679,_0x2d303b),_0x2d303b;}}var _0x123d30=Object[_0x2c702b(0x227)],_0x164575=Object[_0x2c702b(0x294)],_0x52de49=(_0x40d17d,_0x1aedf4,_0x422b56,_0x5f1708)=>{const _0x135589=_0x2c702b;for(var _0x5832b4=_0x5f1708>0x1?void 0x0:_0x5f1708?_0x164575(_0x1aedf4,_0x422b56):_0x1aedf4,_0x568fa9=_0x40d17d[_0x135589(0x493)]-0x1,_0x435e44;_0x568fa9>=0x0;_0x568fa9--)(_0x435e44=_0x40d17d[_0x568fa9])&&(_0x5832b4=(_0x5f1708?_0x435e44(_0x1aedf4,_0x422b56,_0x5832b4):_0x435e44(_0x5832b4))||_0x5832b4);return _0x5f1708&&_0x5832b4&&_0x123d30(_0x1aedf4,_0x422b56,_0x5832b4),_0x5832b4;},_0x1aae40=(_0x5e7e1a,_0x409108)=>(_0x2d579a,_0x226482)=>_0x409108(_0x2d579a,_0x226482,_0x5e7e1a);const _0x2b51db=0x12c,_0x2d4abc=0x64,_0x409c0d=()=>{let _0x5c5f5b=[],_0x2bfe73=!0x1;return _0x186fcf=>{const _0x3aa072=_0x50c2;_0x5c5f5b[_0x3aa072(0x2ba)](_0x186fcf),_0x2bfe73||(_0x2bfe73=!0x0,setTimeout(()=>{_0x5c5f5b['forEach'](_0x50d15a=>_0x50d15a()),_0x5c5f5b=[],_0x2bfe73=!0x1;}));};};let _0x3f9f76=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0xde4054,_0x3fc472,_0x193414,_0x3358cf,_0x33c0c8,_0x5a6a06,_0xb17b4b,_0x4764bd){const _0x1b54c5=_0x2c702b;super(),_0x191e33(this,_0x1b54c5(0x2a1),!0x1),_0x191e33(this,_0x1b54c5(0x362),!0x1),_0x191e33(this,_0x1b54c5(0x259),new _0x6d0798[(_0x1b54c5(0x52f))](new Map())),_0x191e33(this,_0x1b54c5(0x20f),this['_cursorInfo$']['asObservable']()),_0x191e33(this,_0x1b54c5(0x4f7),new _0x6d0798[(_0x1b54c5(0x52f))]([])),_0x191e33(this,_0x1b54c5(0x438),this[_0x1b54c5(0x4f7)]['pipe'](_0x6d0798['debounceTime'](_0x2b51db))),_0x191e33(this,_0x1b54c5(0x2fc),_0x1a577b((_0x351157,_0x1e5070)=>{const _0x324751=_0x1b54c5,_0x1cb408={'eventID':_0x4c33ab[_0x324751(0x550)][_0x324751(0x266)],'data':{'unitID':this['unitID'],'memberID':this[_0x324751(0x2dc)][_0x324751(0x23f)](),'selection':_0x4bb840[_0x324751(0x36f)](_0x351157,_0x1e5070[_0x324751(0x55e)])}};this[_0x324751(0x2dc)]['send'](_0x1cb408,this[_0x324751(0x2fa)]);},_0x2d4abc)),(this[_0x1b54c5(0x2fa)]=_0xde4054,this['_session']=_0x3fc472,this[_0x1b54c5(0x232)]=_0x193414,this['_colorAssignService']=_0x3358cf,this[_0x1b54c5(0x327)]=_0x33c0c8,this[_0x1b54c5(0x54c)]=_0x5a6a06,this['_commandService']=_0xb17b4b,this[_0x1b54c5(0x5ac)]=_0x4764bd);}get[_0x2c702b(0x1cc)](){const _0x38fb7c=_0x2c702b;return this[_0x38fb7c(0x259)][_0x38fb7c(0x33b)]();}get[_0x2c702b(0x313)](){const _0x32309b=_0x2c702b;return this['_roomMembers$'][_0x32309b(0x33b)]();}[_0x2c702b(0x574)](){const _0x15ca30=_0x2c702b;super[_0x15ca30(0x574)](),this[_0x15ca30(0x259)]['next'](new Map()),this[_0x15ca30(0x259)]['complete'](),this[_0x15ca30(0x4f7)][_0x15ca30(0x577)]([]),this[_0x15ca30(0x4f7)][_0x15ca30(0x47c)]();}['init'](){const _0x2eddcc=_0x2c702b;this[_0x2eddcc(0x362)]||(this[_0x2eddcc(0x362)]=!0x0,this[_0x2eddcc(0x2dc)][_0x2eddcc(0x2ad)][_0x2eddcc(0x47e)](_0x6d0798[_0x2eddcc(0x397)](this['dispose$']))[_0x2eddcc(0x41d)](_0x3f8c18=>{const _0x1ec668=_0x2eddcc;_0x3f8c18===_0x29549f[_0x1ec668(0x257)]?this['_toggleOnline']():this[_0x1ec668(0x403)]();}),this[_0x2eddcc(0x2dc)][_0x2eddcc(0x5c0)]['pipe'](_0x6d0798['takeUntil'](this[_0x2eddcc(0x45e)]))[_0x2eddcc(0x41d)](_0xcae84f=>{const _0x52b783=_0x2eddcc,_0x29f399=_0xcae84f[_0x52b783(0x50d)];_0x29f399===_0x4c33ab[_0x52b783(0x550)][_0x52b783(0x266)]&&this['_onCursorUpdate'](_0xcae84f),_0x29f399===_0x4c33ab[_0x52b783(0x550)]['USERS_LEAVE']&&this['_onCursorDelete'](_0xcae84f);}),this[_0x2eddcc(0x501)](),this[_0x2eddcc(0x35f)](this[_0x2eddcc(0x567)][_0x2eddcc(0x444)](_0x1017ae=>{const _0x8b273d=_0x2eddcc;if(this[_0x8b273d(0x2a1)]&&_0x1017ae['id']===_0x5dba16[_0x8b273d(0x437)]['id']&&_0x1017ae[_0x8b273d(0x3e9)][_0x8b273d(0x42b)]===this['unitID']){const _0x49b723=_0x1017ae['params'];this[_0x8b273d(0x2fc)](_0x49b723[_0x8b273d(0x1ef)],_0x49b723[_0x8b273d(0x433)][0x0]);}})));}['_onCursorUpdate'](_0x568a45){const _0x19afb2=_0x2c702b;var _0x2e33a1,_0x304fb0;const {memberID:_0xaa25d0,selection:_0x506222}=_0x568a45[_0x19afb2(0x51d)],{sheetName:_0x19126e,range:_0x17f157}=_0x4bb840[_0x19afb2(0x3b7)](_0x506222),_0x5709c9={'name':(_0x304fb0=(_0x2e33a1=this[_0x19afb2(0x327)][_0x19afb2(0x4f6)](this['unitID'],_0xaa25d0))==null?void 0x0:_0x2e33a1['name'])!=null?_0x304fb0:_0x19afb2(0x2ae),'range':this[_0x19afb2(0x551)](_0x19126e,_0x17f157),'sheetID':_0x19126e,'color':this[_0x19afb2(0x35e)][_0x19afb2(0x301)](_0xaa25d0),'selection':_0x506222},_0x1c7cfb=this['cursorInfo'];_0x1c7cfb['set'](_0xaa25d0,_0x5709c9),this[_0x19afb2(0x259)]['next'](_0x1c7cfb);}[_0x2c702b(0x503)](_0x134b27){const _0xfc9e75=_0x2c702b,{memberID:_0x336a99}=_0x134b27[_0xfc9e75(0x51d)],_0x3267b7=this[_0xfc9e75(0x1cc)];_0x3267b7[_0xfc9e75(0x1ff)](_0x336a99),this[_0xfc9e75(0x259)][_0xfc9e75(0x577)](_0x3267b7);}[_0x2c702b(0x551)](_0x5aee01,_0x1b8eaf){const _0x68f78b=_0x2c702b;var _0x37d15b,_0x5e86e7;const _0x54bd18=(_0x5e86e7=(_0x37d15b=this[_0x68f78b(0x54c)][_0x68f78b(0x357)](this[_0x68f78b(0x2fa)]))==null?void 0x0:_0x37d15b[_0x68f78b(0x2ff)](_0x5aee01))==null?void 0x0:_0x5e86e7['getMergeData']();return(_0x54bd18==null?void 0x0:_0x54bd18['find'](_0x20f4db=>_0x59f65f[_0x68f78b(0x4b3)][_0x68f78b(0x218)](_0x20f4db,_0x1b8eaf)))||_0x1b8eaf;}[_0x2c702b(0x501)](){const _0x464285=_0x2c702b,_0x31d4ef=new _0x59f65f[(_0x464285(0x55a))](),_0x3077f2=_0x409c0d(),_0x481dbd=()=>{const _0x40c9ed=_0x464285;_0x31d4ef[_0x40c9ed(0x574)]();const _0x5b4ed1=(_0x46c9fc,_0x3e8b6e,_0x2446d4,_0x50ff71)=>{const _0x305948=_0x40c9ed;let _0xd1b46=[];switch(_0x46c9fc['id']){case _0x5dba16[_0x305948(0x445)][_0x305948(0x214)]:{_0xd1b46=_0x5dba16[_0x305948(0x247)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)][_0x305948(0x402)]:{_0xd1b46=_0x5dba16[_0x305948(0x37c)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16['EffectRefRangId'][_0x305948(0x425)]:{_0xd1b46=_0x5dba16['handleInsertCol'](_0x46c9fc,_0x50ff71);break;}case _0x5dba16['EffectRefRangId'][_0x305948(0x2c5)]:{_0xd1b46=_0x5dba16[_0x305948(0x275)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)]['InsertRangeMoveRightCommandId']:{_0xd1b46=_0x5dba16[_0x305948(0x4ef)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)]['InsertRowCommandId']:{_0xd1b46=_0x5dba16[_0x305948(0x1c5)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)][_0x305948(0x401)]:{_0xd1b46=_0x5dba16[_0x305948(0x39c)](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)][_0x305948(0x2b0)]:{_0xd1b46=_0x5dba16['handleIRemoveCol'](_0x46c9fc,_0x50ff71);break;}case _0x5dba16[_0x305948(0x445)][_0x305948(0x53b)]:{_0xd1b46=_0x5dba16['handleIRemoveRow'](_0x46c9fc,_0x50ff71);break;}}const _0x174362=_0x5dba16[_0x305948(0x597)](_0xd1b46,_0x50ff71),_0x38ba61=this[_0x305948(0x1cc)][_0x305948(0x2f7)](_0x3e8b6e);if(_0x38ba61&&_0x174362){const _0x2d2b04={..._0x38ba61,'range':_0x174362};this[_0x305948(0x1cc)][_0x305948(0x407)](_0x3e8b6e,_0x2d2b04),_0x3077f2(()=>{const _0x1cacac=_0x305948,_0x2eda3b=this[_0x1cacac(0x5ac)]['registerRefRange'](_0x174362,_0x55cc05=>(_0x2eda3b[_0x1cacac(0x574)](),_0x5b4ed1(_0x55cc05,_0x3e8b6e,_0x2446d4,_0x174362)));_0x31d4ef['add'](_0x2eda3b);});}return{'redos':[],'undos':[]};};this[_0x40c9ed(0x1cc)][_0x40c9ed(0x363)]((_0x470495,_0xf15bfc)=>{const _0x258aa5=_0x40c9ed,{range:_0x3dcb1d,sheetID:_0x4ff4e0}=_0x470495,_0x559ac6=this[_0x258aa5(0x5ac)][_0x258aa5(0x5a7)](_0x3dcb1d,_0x1f608e=>(_0x559ac6[_0x258aa5(0x574)](),_0x5b4ed1(_0x1f608e,_0xf15bfc,_0x4ff4e0,_0x3dcb1d)));_0x31d4ef[_0x258aa5(0x2b6)](_0x559ac6);});};this['disposeWithMe'](_0x59f65f[_0x464285(0x209)](this[_0x464285(0x259)][_0x464285(0x41d)](()=>{_0x481dbd();})));}['_toggleOnline'](){const _0x495f2c=_0x2c702b;var _0x48a56e,_0x6d4764;if(this[_0x495f2c(0x2a1)]=!0x0,((_0x48a56e=this[_0x495f2c(0x54c)][_0x495f2c(0x4cc)]())==null?void 0x0:_0x48a56e['getUnitId']())!==this['unitID'])return;const _0x3109fc=(_0x6d4764=this['_injector']['get'](_0x5dba16[_0x495f2c(0x4a3)])[_0x495f2c(0x215)]())==null?void 0x0:_0x6d4764[0x0],_0x1afe42=this[_0x495f2c(0x54c)][_0x495f2c(0x1d9)](_0x59f65f[_0x495f2c(0x28f)][_0x495f2c(0x46b)])['getActiveSheet']();_0x3109fc&&_0x1afe42&&this[_0x495f2c(0x2fc)](_0x1afe42[_0x495f2c(0x57a)](),_0x3109fc);}[_0x2c702b(0x403)](){const _0x59d453=_0x2c702b;this[_0x59d453(0x2a1)]=!0x1;}};_0x3f9f76=_0x52de49([_0x1aae40(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x1aae40(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x427206)),_0x1aae40(0x4,_0x59f65f['Inject'](_0x1137aa)),_0x1aae40(0x5,_0x59f65f[_0x2c702b(0x350)]),_0x1aae40(0x6,_0x59f65f['ICommandService']),_0x1aae40(0x7,_0x59f65f[_0x2c702b(0x57e)](_0x5dba16[_0x2c702b(0x380)]))],_0x3f9f76);var _0x3fa1b7=Object[_0x2c702b(0x227)],_0x1495d2=Object[_0x2c702b(0x294)],_0x5a7330=(_0x4182e2,_0x34ce65,_0x322484,_0x18278d)=>{const _0x525f46=_0x2c702b;for(var _0x5ca750=_0x18278d>0x1?void 0x0:_0x18278d?_0x1495d2(_0x34ce65,_0x322484):_0x34ce65,_0x399d94=_0x4182e2[_0x525f46(0x493)]-0x1,_0x18c8fa;_0x399d94>=0x0;_0x399d94--)(_0x18c8fa=_0x4182e2[_0x399d94])&&(_0x5ca750=(_0x18278d?_0x18c8fa(_0x34ce65,_0x322484,_0x5ca750):_0x18c8fa(_0x5ca750))||_0x5ca750);return _0x18278d&&_0x5ca750&&_0x3fa1b7(_0x34ce65,_0x322484,_0x5ca750),_0x5ca750;},_0x314f67=(_0x32c860,_0x13000d)=>(_0x3dde55,_0x27a133)=>_0x13000d(_0x3dde55,_0x27a133,_0x32c860);const _0xbc0634=0x12c,_0x413826=0x64;let _0x4dae4b=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0x38d9f0,_0x31bffb,_0x237be3,_0x1213a7,_0xcda5e7,_0x554284,_0x5dbe2c,_0x4a20cc,_0x857a1b){const _0x1acf25=_0x2c702b;super(),_0x191e33(this,_0x1acf25(0x2a1),!0x1),_0x191e33(this,'_init',!0x1),_0x191e33(this,_0x1acf25(0x259),new _0x6d0798[(_0x1acf25(0x52f))](new Map())),_0x191e33(this,_0x1acf25(0x20f),this[_0x1acf25(0x259)][_0x1acf25(0x1c4)]()),_0x191e33(this,'_roomMembers$',new _0x6d0798[(_0x1acf25(0x52f))]([])),_0x191e33(this,_0x1acf25(0x438),this['_roomMembers$']['pipe'](_0x6d0798[_0x1acf25(0x368)](_0xbc0634))),_0x191e33(this,_0x1acf25(0x2fc),_0x1a577b(_0x1717af=>{const _0x112dcf=_0x1acf25,_0x4b6fbb={'eventID':_0x4c33ab['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x112dcf(0x23f)](),'selection':_0x3a63ff(_0x1717af)}};this[_0x112dcf(0x2dc)]['send'](_0x4b6fbb,this[_0x112dcf(0x2fa)]);},_0x413826)),(this['unitID']=_0x38d9f0,this[_0x1acf25(0x2dc)]=_0x31bffb,this[_0x1acf25(0x232)]=_0x237be3,this['_colorAssignService']=_0x1213a7,this['_memberService']=_0xcda5e7,this[_0x1acf25(0x353)]=_0x554284,this['_transformService']=_0x5dbe2c,this[_0x1acf25(0x54c)]=_0x4a20cc,this[_0x1acf25(0x567)]=_0x857a1b);}get[_0x2c702b(0x1cc)](){const _0x2f6f3b=_0x2c702b;return this[_0x2f6f3b(0x259)]['getValue']();}get[_0x2c702b(0x313)](){const _0x548dd1=_0x2c702b;return this[_0x548dd1(0x4f7)][_0x548dd1(0x33b)]();}['dispose'](){const _0x4e044b=_0x2c702b;super['dispose'](),this[_0x4e044b(0x259)][_0x4e044b(0x577)](new Map()),this[_0x4e044b(0x259)][_0x4e044b(0x47c)](),this[_0x4e044b(0x4f7)][_0x4e044b(0x577)]([]),this[_0x4e044b(0x4f7)][_0x4e044b(0x47c)]();}['init'](){const _0x5a5684=_0x2c702b;this[_0x5a5684(0x362)]||(this[_0x5a5684(0x362)]=!0x0,this[_0x5a5684(0x2dc)][_0x5a5684(0x2ad)][_0x5a5684(0x47e)](_0x6d0798[_0x5a5684(0x397)](this['dispose$']))[_0x5a5684(0x41d)](_0x405797=>{const _0x4189e2=_0x5a5684;_0x405797===_0x29549f['ONLINE']?this[_0x4189e2(0x323)]():this[_0x4189e2(0x403)]();}),this[_0x5a5684(0x2dc)][_0x5a5684(0x5c0)]['pipe'](_0x6d0798[_0x5a5684(0x397)](this[_0x5a5684(0x45e)]))[_0x5a5684(0x41d)](_0xaecc15=>{const _0x3257f5=_0x5a5684,_0xaf6590=_0xaecc15[_0x3257f5(0x50d)];_0xaf6590===_0x4c33ab[_0x3257f5(0x550)][_0x3257f5(0x266)]&&this[_0x3257f5(0x338)](_0xaecc15),_0xaf6590===_0x4c33ab[_0x3257f5(0x550)]['USERS_LEAVE']&&this[_0x3257f5(0x503)](_0xaecc15);}),this[_0x5a5684(0x35f)](this[_0x5a5684(0x567)][_0x5a5684(0x444)](_0x4d5293=>{const _0x5de35a=_0x5a5684,_0x4b80d6=_0x4d5293[_0x5de35a(0x3e9)];_0x4b80d6!=null&&this[_0x5de35a(0x2a1)]&&_0x4d5293['id']===_0x28f26c[_0x5de35a(0x1f1)]['id']&&_0x4b80d6[_0x5de35a(0x42b)]===this[_0x5de35a(0x2fa)]&&_0x4b80d6['isEditing']===!0x1&&this[_0x5de35a(0x2fc)](_0x4b80d6[_0x5de35a(0x1ca)]);})),this['_syncEditingCollabCursorService'][_0x5a5684(0x39f)][_0x5a5684(0x47e)](_0x6d0798[_0x5a5684(0x397)](this['dispose$']))[_0x5a5684(0x41d)](_0x1bb3c3=>{const _0x66a03b=_0x5a5684;if((_0x1bb3c3==null?void 0x0:_0x1bb3c3['unitID'])!==this[_0x66a03b(0x2fa)])return;const _0x58d620={'eventID':_0x4c33ab[_0x66a03b(0x550)][_0x66a03b(0x266)],'data':_0x1bb3c3};this['_onCursorUpdate'](_0x58d620);}),this[_0x5a5684(0x35f)](this[_0x5a5684(0x567)][_0x5a5684(0x444)](_0x14f866=>{const _0x3c5f4f=_0x5a5684;if(_0x14f866[_0x3c5f4f(0x3e9)]==null)return;const _0x132934=_0x14f866[_0x3c5f4f(0x3e9)];if(_0x14f866['id']!==_0x28f26c[_0x3c5f4f(0x2a4)]['id']||_0x132934[_0x3c5f4f(0x42b)]!==this[_0x3c5f4f(0x2fa)])return;const _0x514208={'id':_0x3c5f4f(0x3ce),'params':_0x132934},_0x1d4445=this['cursorInfo'];for(const [_0x103df1,_0x107e16]of _0x1d4445){const _0x5a888d={'id':_0x3c5f4f(0x3ce),'params':{'unitId':this[_0x3c5f4f(0x2fa)],'actions':null,'textRanges':_0x107e16['ranges']}},_0x3c46ef=this['_transformService']['transformMutation'](_0x514208,_0x5a888d,!0x1);if(_0x4c33ab[_0x3c5f4f(0x285)](_0x3c46ef))throw _0x3c46ef[_0x3c5f4f(0x538)];_0x1d4445[_0x3c5f4f(0x407)](_0x103df1,{..._0x107e16,'ranges':_0x3c46ef['m2Prime'][_0x3c5f4f(0x3e9)]['textRanges']});}queueMicrotask(()=>{const _0x4b6fde=_0x3c5f4f;this['_cursorInfo$'][_0x4b6fde(0x577)](_0x1d4445);});})));}[_0x2c702b(0x338)](_0x1928b3){const _0x3be77b=_0x2c702b;var _0x50cdb7,_0x1cb048;const {memberID:_0x1bb89f,selection:_0x31a69d}=_0x1928b3[_0x3be77b(0x51d)],_0x1a83e0=_0x343801(_0x31a69d),_0x300190=(_0x1cb048=(_0x50cdb7=this[_0x3be77b(0x327)][_0x3be77b(0x4f6)](this['unitID'],_0x1bb89f))==null?void 0x0:_0x50cdb7[_0x3be77b(0x2eb)])!=null?_0x1cb048:_0x3be77b(0x2ae),_0x3f28fd={'color':this[_0x3be77b(0x35e)][_0x3be77b(0x301)](_0x1bb89f),'name':_0x300190,'ranges':_0x1a83e0},_0x30508c=this[_0x3be77b(0x1cc)];_0x30508c[_0x3be77b(0x407)](_0x1bb89f,_0x3f28fd),this['_cursorInfo$'][_0x3be77b(0x577)](_0x30508c);}[_0x2c702b(0x503)](_0x117855){const _0x216184=_0x2c702b,{memberID:_0x5339be}=_0x117855[_0x216184(0x51d)],_0x362793=this['cursorInfo'];_0x362793[_0x216184(0x1ff)](_0x5339be),this[_0x216184(0x259)]['next'](_0x362793);}['_toggleOnline'](){const _0x559c91=_0x2c702b;var _0x9b645c;if(this[_0x559c91(0x2a1)]=!0x0,((_0x9b645c=this[_0x559c91(0x54c)][_0x559c91(0x4cc)]())==null?void 0x0:_0x9b645c['getUnitId']())!==this['unitID'])return;const _0x5cfb83=this[_0x559c91(0x232)][_0x559c91(0x2f7)](_0x28f26c[_0x559c91(0x4a8)])[_0x559c91(0x1ea)](),_0x117df5=_0x5cfb83==null?void 0x0:_0x5cfb83[_0x559c91(0x4a7)](_0x28f26c['serializeDocRange']);Array['isArray'](_0x117df5)&&_0x117df5[_0x559c91(0x493)]>0x0&&this[_0x559c91(0x2fc)](_0x117df5);}['_toggleOffline'](){this['_online']=!0x1;}};_0x4dae4b=_0x5a7330([_0x314f67(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['Injector'])),_0x314f67(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x427206)),_0x314f67(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x1137aa)),_0x314f67(0x5,_0x59f65f[_0x2c702b(0x57e)](_0x267a51)),_0x314f67(0x6,_0x4c33ab[_0x2c702b(0x419)]),_0x314f67(0x7,_0x59f65f[_0x2c702b(0x350)]),_0x314f67(0x8,_0x59f65f[_0x2c702b(0x4b7)])],_0x4dae4b);var _0x36b789=Object[_0x2c702b(0x227)],_0x17e51e=Object[_0x2c702b(0x294)],_0x229601=(_0x4ad381,_0x3daa80,_0x5ccb13,_0x34f98b)=>{for(var _0x205473=_0x34f98b>0x1?void 0x0:_0x34f98b?_0x17e51e(_0x3daa80,_0x5ccb13):_0x3daa80,_0x40af60=_0x4ad381['length']-0x1,_0x205264;_0x40af60>=0x0;_0x40af60--)(_0x205264=_0x4ad381[_0x40af60])&&(_0x205473=(_0x34f98b?_0x205264(_0x3daa80,_0x5ccb13,_0x205473):_0x205264(_0x205473))||_0x205473);return _0x34f98b&&_0x205473&&_0x36b789(_0x3daa80,_0x5ccb13,_0x205473),_0x205473;},_0x3780bc=(_0x5bf37d,_0x74b5a9)=>(_0x153c53,_0x4fd983)=>_0x74b5a9(_0x153c53,_0x4fd983,_0x5bf37d);let _0x30cf8d=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0xbf27dd,_0x1964e0,_0x5a32c6){const _0x4323bc=_0x2c702b;super(),_0x191e33(this,_0x4323bc(0x25c),new Map()),_0x191e33(this,_0x4323bc(0x23d),new _0x6d0798[(_0x4323bc(0x2d1))]()),(this['_univerInstanceService']=_0xbf27dd,this[_0x4323bc(0x232)]=_0x1964e0,this[_0x4323bc(0x228)]=_0x5a32c6,this[_0x4323bc(0x362)]());}[_0x2c702b(0x574)](){const _0x17ba54=_0x2c702b;super[_0x17ba54(0x574)](),this[_0x17ba54(0x23d)][_0x17ba54(0x47c)](),this[_0x17ba54(0x25c)]['forEach'](_0x331fa4=>_0x331fa4[_0x17ba54(0x574)]());}['getCollabCursors$'](_0x17a3a8){const _0x29e7a0=_0x2c702b;return this['_entities'][_0x29e7a0(0x35d)](_0x17a3a8)?this[_0x29e7a0(0x25c)][_0x29e7a0(0x2f7)](_0x17a3a8)['cursorInfo$']:this[_0x29e7a0(0x23d)][_0x29e7a0(0x47e)](_0x6d0798[_0x29e7a0(0x46c)](_0x2854b3=>_0x2854b3[_0x29e7a0(0x2fa)]===_0x17a3a8),_0x6d0798[_0x29e7a0(0x383)](_0x2ccc04=>_0x2ccc04['cursorInfo$']));}[_0x2c702b(0x362)](){const _0x2bcb8e=_0x2c702b;this[_0x2bcb8e(0x54c)]['getTypeOfUnitAdded$'](_0x59f65f[_0x2bcb8e(0x28f)]['UNIVER_SHEET'])[_0x2bcb8e(0x47e)](_0x6d0798[_0x2bcb8e(0x397)](this['dispose$']))[_0x2bcb8e(0x41d)](async _0x1c556e=>{const _0x15d917=_0x2bcb8e,_0x472a1b=_0x1c556e['getUnitId'](),_0x528d65=await this[_0x15d917(0x249)](_0x472a1b);this[_0x15d917(0x23d)]['next'](_0x528d65),this[_0x15d917(0x25c)][_0x15d917(0x407)](_0x472a1b,_0x528d65);}),this[_0x2bcb8e(0x54c)][_0x2bcb8e(0x2a2)](_0x59f65f[_0x2bcb8e(0x28f)][_0x2bcb8e(0x525)])[_0x2bcb8e(0x47e)](_0x6d0798[_0x2bcb8e(0x397)](this[_0x2bcb8e(0x45e)]))['pipe'](_0x6d0798[_0x2bcb8e(0x46c)](_0x2c9141=>!_0x2c9141[_0x2bcb8e(0x36b)]()[_0x2bcb8e(0x476)]('__')))['subscribe'](async _0x1801d1=>{const _0x18bbdf=_0x2bcb8e,_0x138531=_0x1801d1['getUnitId'](),_0x539cb1=await this[_0x18bbdf(0x379)](_0x138531);this[_0x18bbdf(0x23d)][_0x18bbdf(0x577)](_0x539cb1),this['_entities'][_0x18bbdf(0x407)](_0x138531,_0x539cb1);}),_0x6d0798['merge'](this['_univerInstanceService'][_0x2bcb8e(0x2be)](_0x59f65f[_0x2bcb8e(0x28f)][_0x2bcb8e(0x525)]),this['_univerInstanceService'][_0x2bcb8e(0x2be)](_0x59f65f[_0x2bcb8e(0x28f)]['UNIVER_SHEET']))[_0x2bcb8e(0x47e)](_0x6d0798[_0x2bcb8e(0x397)](this[_0x2bcb8e(0x45e)]))[_0x2bcb8e(0x41d)](_0x312b73=>{const _0x2d8059=_0x2bcb8e,_0xfa00b2=_0x312b73['getUnitId'](),_0x5293e2=this[_0x2d8059(0x25c)][_0x2d8059(0x2f7)](_0xfa00b2);_0x5293e2&&(_0x5293e2[_0x2d8059(0x574)](),this[_0x2d8059(0x25c)][_0x2d8059(0x1ff)](_0xfa00b2));});}async[_0x2c702b(0x249)](_0x59355d){const _0x31deb8=_0x2c702b,_0x47fbe8=await this[_0x31deb8(0x228)]['requireSession'](_0x59355d),_0x361ffa=this['_injector']['createInstance'](_0x3f9f76,_0x59355d,_0x47fbe8);return _0x361ffa[_0x31deb8(0x5a2)](),_0x361ffa;}async[_0x2c702b(0x379)](_0x4397d5){const _0x1404e9=_0x2c702b,_0x47bb7c=await this[_0x1404e9(0x228)][_0x1404e9(0x256)](_0x4397d5),_0x49e3ce=this[_0x1404e9(0x232)][_0x1404e9(0x4fe)](_0x4dae4b,_0x4397d5,_0x47bb7c);return _0x49e3ce[_0x1404e9(0x5a2)](),_0x49e3ce;}};_0x30cf8d=_0x229601([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)]['Starting'],_0x30cf8d),_0x3780bc(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x3780bc(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x3780bc(0x2,_0x59f65f['Inject'](_0x21561b[_0x2c702b(0x42a)]))],_0x30cf8d);const _0x4d9b5f=0x14,_0x4280ad=0xc8,_0x419cf8=0x4,_0x2c492f=0x5;function _0x2841e9(_0x5a89cc,_0x58578a){const _0x2d9c12=_0x2c702b;let {radius:_0x5011da,width:_0x32c10f,height:_0x3cd21c}=_0x58578a;_0x5011da=_0x5011da!=null?_0x5011da:0x0,_0x32c10f=_0x32c10f!=null?_0x32c10f:0x1e,_0x3cd21c=_0x3cd21c!=null?_0x3cd21c:0x1e;let _0x10bd5e=0x0,_0x20940e=0x0,_0x4108c2=0x0;_0x10bd5e=_0x20940e=_0x4108c2=Math[_0x2d9c12(0x2f2)](_0x5011da,_0x32c10f/0x2,_0x3cd21c/0x2),_0x5a89cc[_0x2d9c12(0x27f)](),_0x5a89cc[_0x2d9c12(0x409)](_0x10bd5e,0x0),_0x5a89cc[_0x2d9c12(0x562)](_0x32c10f-_0x20940e,0x0),_0x5a89cc[_0x2d9c12(0x417)](_0x32c10f-_0x20940e,_0x20940e,_0x20940e,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a89cc['lineTo'](_0x32c10f,_0x3cd21c-_0x4108c2),_0x5a89cc[_0x2d9c12(0x417)](_0x32c10f-_0x4108c2,_0x3cd21c-_0x4108c2,_0x4108c2,0x0,Math['PI']/0x2,!0x1),_0x5a89cc['lineTo'](0x0,_0x3cd21c),_0x5a89cc[_0x2d9c12(0x562)](0x0,_0x10bd5e),_0x5a89cc['arc'](_0x10bd5e,_0x10bd5e,_0x10bd5e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a89cc['closePath'](),_0x58578a[_0x2d9c12(0x3c7)]&&(_0x5a89cc[_0x2d9c12(0x498)](),_0x5a89cc[_0x2d9c12(0x5aa)]=_0x58578a[_0x2d9c12(0x3c7)],_0x58578a[_0x2d9c12(0x346)]===_0x2d9c12(0x1dc)?_0x5a89cc[_0x2d9c12(0x3c7)]('evenodd'):_0x5a89cc[_0x2d9c12(0x3c7)](),_0x5a89cc[_0x2d9c12(0x2e5)]());}class _0x15cd0c extends _0x59fc99[_0x2c702b(0x58f)]{constructor(_0x4b0f90,_0x1a08a6){const _0x5652ac=_0x2c702b;super(_0x4b0f90,_0x1a08a6),_0x191e33(this,'color'),_0x191e33(this,'text'),(this[_0x5652ac(0x4f9)]=_0x1a08a6==null?void 0x0:_0x1a08a6[_0x5652ac(0x4f9)],this[_0x5652ac(0x280)]=_0x1a08a6==null?void 0x0:_0x1a08a6[_0x5652ac(0x280)]);}static[_0x2c702b(0x370)](_0x12d318,_0x4c9786){const _0x3a0075=_0x2c702b,{text:_0xd08a56,color:_0x2b4efe}=_0x4c9786;_0x12d318['save'](),_0x12d318['font']=_0x3a0075(0x384);const _0x117814=_0x12d318[_0x3a0075(0x515)](_0xd08a56)['width'],_0x409572=Math['min'](_0x117814+0x2*_0x419cf8,_0x4280ad);_0x2841e9(_0x12d318,{'height':_0x4d9b5f,'radius':0x4,'width':_0x409572,'fill':_0x2b4efe,'evented':!0x1}),_0x12d318[_0x3a0075(0x5aa)]=_0x3a0075(0x262);const _0x30814a=_0x419cf8,_0x501270=_0x4d9b5f-_0x2c492f,_0x3cce1f=_0x4280ad-0x2*_0x419cf8;if(_0x117814>_0x3cce1f){let _0x51a33b='',_0x213e90=0x0;for(const _0x4f668a of _0xd08a56){const _0x572fc0=_0x12d318['measureText'](_0x4f668a)[_0x3a0075(0x443)];if(_0x213e90+_0x572fc0<=_0x3cce1f-_0x12d318[_0x3a0075(0x515)](_0x3a0075(0x5b3))[_0x3a0075(0x443)])_0x51a33b+=_0x4f668a,_0x213e90+=_0x572fc0;else{_0x51a33b+=_0x3a0075(0x5b3);break;}}_0x12d318[_0x3a0075(0x3a2)](_0x51a33b,_0x30814a,_0x501270);}else _0x12d318[_0x3a0075(0x3a2)](_0xd08a56,_0x30814a,_0x501270);_0x12d318[_0x3a0075(0x2e5)]();}[_0x2c702b(0x542)](_0x412311){_0x15cd0c['drawWith'](_0x412311,this);}}const _0x4369da=0x1,_0xa0b527=1.5;class _0xa87b1 extends _0x59fc99[_0x2c702b(0x58f)]{constructor(_0xf17463,_0x25cea){const _0x1bec14=_0x2c702b;super(_0xf17463,_0x25cea),_0x191e33(this,_0x1bec14(0x25b)),_0x191e33(this,_0x1bec14(0x269),!0x1),_0x191e33(this,_0x1bec14(0x406)),_0x191e33(this,_0x1bec14(0x26d),''),_0x191e33(this,'_labelPosition',_0x1bec14(0x59d)),_0x191e33(this,_0x1bec14(0x2f1)),(_0x25cea&&this[_0x1bec14(0x46d)](_0x25cea),this[_0x1bec14(0x2f0)][_0x1bec14(0x421)](()=>this[_0x1bec14(0x46d)]({'hovered':!0x0})),this[_0x1bec14(0x2a7)][_0x1bec14(0x421)](()=>this[_0x1bec14(0x46d)]({'hovered':!0x1})));}[_0x2c702b(0x46d)](_0xca20ad){const _0x4d1e25=_0x2c702b;var _0x371350,_0x57dd5e,_0x38415a,_0x3efabb,_0x3c20c3,_0xfcd7b7;this[_0x4d1e25(0x25b)]=(_0x371350=_0xca20ad['color'])!=null?_0x371350:this[_0x4d1e25(0x25b)],this[_0x4d1e25(0x269)]=(_0x57dd5e=_0xca20ad['hovered'])!=null?_0x57dd5e:this[_0x4d1e25(0x269)],this[_0x4d1e25(0x406)]=(_0x38415a=_0xca20ad[_0x4d1e25(0x55e)])!=null?_0x38415a:this[_0x4d1e25(0x406)],this[_0x4d1e25(0x26d)]=(_0x3efabb=_0xca20ad[_0x4d1e25(0x2eb)])!=null?_0x3efabb:this[_0x4d1e25(0x26d)],this[_0x4d1e25(0x484)]=(_0x3c20c3=_0xca20ad[_0x4d1e25(0x2c3)])!=null?_0x3c20c3:this['_labelPosition'],this['_backgroundColor']=(_0xfcd7b7=_0xca20ad[_0x4d1e25(0x496)])!=null?_0xfcd7b7:this[_0x4d1e25(0x2f1)],this['transformByState']({'width':_0xca20ad[_0x4d1e25(0x443)],'height':_0xca20ad['height']});}['onMouseMove'](_0x3670c1){const _0x4a7122=_0x2c702b,{row:_0x16ec7b,column:_0x40b0df}=_0x3670c1;if(_0x16ec7b>=this[_0x4a7122(0x406)][_0x4a7122(0x1dd)]&&_0x16ec7b<=this['_range'][_0x4a7122(0x43e)]&&_0x40b0df>=this[_0x4a7122(0x406)][_0x4a7122(0x388)]&&_0x40b0df<=this[_0x4a7122(0x406)][_0x4a7122(0x4f2)]){this[_0x4a7122(0x46d)]({'hovered':!0x0});return;}this[_0x4a7122(0x46d)]({'hovered':!0x1});}[_0x2c702b(0x45b)](_0x379f2d){return!0x1;}[_0x2c702b(0x542)](_0x1fdf20){const _0x1110b2=_0x2c702b;_0x59fc99[_0x1110b2(0x4f1)][_0x1110b2(0x370)](_0x1fdf20,{'width':this[_0x1110b2(0x443)],'height':this['height'],'strokeWidth':_0xa0b527,'stroke':this[_0x1110b2(0x25b)],'evented':!0x1,'fill':this[_0x1110b2(0x2f1)]}),this[_0x1110b2(0x269)]&&(_0x1fdf20[_0x1110b2(0x498)](),_0x1fdf20[_0x1110b2(0x22b)](0x1,0x0,0x0,0x1,this[_0x1110b2(0x443)],this[_0x1110b2(0x484)]==='bottom'?0x0:-_0x4d9b5f),_0x15cd0c[_0x1110b2(0x370)](_0x1fdf20,{'text':this[_0x1110b2(0x26d)],'color':this[_0x1110b2(0x25b)]}),_0x1fdf20['restore']());}}var _0xc74101=Object['defineProperty'],_0x45afa8=Object[_0x2c702b(0x294)],_0x319f8c=(_0x5a65d0,_0x1265f9,_0x55b8e3,_0x42e1ca)=>{const _0x3a96bc=_0x2c702b;for(var _0x34244a=_0x42e1ca>0x1?void 0x0:_0x42e1ca?_0x45afa8(_0x1265f9,_0x55b8e3):_0x1265f9,_0x309b43=_0x5a65d0[_0x3a96bc(0x493)]-0x1,_0xc1aba2;_0x309b43>=0x0;_0x309b43--)(_0xc1aba2=_0x5a65d0[_0x309b43])&&(_0x34244a=(_0x42e1ca?_0xc1aba2(_0x1265f9,_0x55b8e3,_0x34244a):_0xc1aba2(_0x34244a))||_0x34244a);return _0x42e1ca&&_0x34244a&&_0xc74101(_0x1265f9,_0x55b8e3,_0x34244a),_0x34244a;},_0x38be18=(_0x1cf712,_0xce902)=>(_0x568ec8,_0x351350)=>_0xce902(_0x568ec8,_0x351350,_0x1cf712);const _0x2b86d9=0x1389;let _0x1c8323=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0xcf19a,_0x2db2ac,_0x3b3918,_0xea2f17){const _0x194c7a=_0x2c702b;super(),_0x191e33(this,_0x194c7a(0x2dd),new Set()),_0x191e33(this,_0x194c7a(0x4b9),null),(this['_context']=_0xcf19a,this[_0x194c7a(0x345)]=_0x2db2ac,this[_0x194c7a(0x310)]=_0x3b3918,this['_themeService']=_0xea2f17,this[_0x194c7a(0x362)]());}[_0x2c702b(0x362)](){const _0x279588=_0x2c702b;this[_0x279588(0x345)]['currentSkeleton$'][_0x279588(0x47e)](_0x4e8b21[_0x279588(0x397)](this[_0x279588(0x45e)]),_0x4e8b21['switchMap'](_0x2899dc=>{const _0x459857=_0x279588;if(_0x2899dc){const _0x47ab6d=_0x2899dc[_0x459857(0x4b1)];return _0x6d0798[_0x459857(0x360)](this[_0x459857(0x310)][_0x459857(0x411)](this[_0x459857(0x564)][_0x459857(0x42b)]),this['_themeService'][_0x459857(0x497)])[_0x459857(0x47e)](_0x4e8b21[_0x459857(0x4a7)](([_0x56e2e9,_0x5b023b])=>{const _0x2037fc=new Map();return _0x56e2e9['forEach']((_0x589a6e,_0x39f41e)=>{const _0x5a8eb7=_0x50c2;if(_0x589a6e[_0x5a8eb7(0x471)]===_0x47ab6d){const _0x2c88d7={..._0x589a6e};_0x2c88d7[_0x5a8eb7(0x4f9)]=_0x5b023b[_0x589a6e[_0x5a8eb7(0x4f9)]],_0x2037fc[_0x5a8eb7(0x407)](_0x39f41e,_0x2c88d7);}}),{'skeleton':_0x2899dc,'cursors':_0x2037fc};}));}return _0x6d0798['of']({'skeleton':null,'cursors':new Map()});}))[_0x279588(0x41d)](({skeleton:_0x2ae35b,cursors:_0x278cd7})=>{const _0x5789a0=_0x279588;this[_0x5789a0(0x442)](),_0x2ae35b&&this[_0x5789a0(0x3fd)](_0x2ae35b,_0x278cd7);}),this['_sheetSkeletonManagerService'][_0x279588(0x4cb)][_0x279588(0x41d)](_0x3c0fd1=>{const _0x3b39bf=_0x279588;if(_0x3c0fd1==null)return;const {skeleton:_0x55953b}=_0x3c0fd1,{scene:_0x598f75}=this[_0x3b39bf(0x564)];_0x598f75[_0x3b39bf(0x460)][_0x3b39bf(0x421)](_0x1a577b(_0x3af523=>{const _0x579281=_0x3b39bf;var _0x5c09f5,_0x113101;const {offsetX:_0x4f8f43,offsetY:_0x29c258}=_0x3af523,{x:_0x106582,y:_0x5c63c7}=_0x598f75['getRelativeToViewportCoord'](_0x59fc99[_0x579281(0x583)][_0x579281(0x2c8)]([_0x4f8f43,_0x29c258])),{scaleX:_0x5ad85d,scaleY:_0x44d1b5}=_0x598f75[_0x579281(0x3f9)](),_0x207fa2=_0x598f75['getViewport'](_0x15ca36['VIEWPORT_KEY']['VIEW_MAIN']),_0x3131b4=_0x598f75['getVpScrollXYInfoByPosToVp'](_0x59fc99[_0x579281(0x583)][_0x579281(0x2c8)]([_0x106582,_0x5c63c7]),_0x207fa2),_0x2684d3=_0x55953b[_0x579281(0x47b)](_0x4f8f43,_0x29c258,_0x5ad85d,_0x44d1b5,_0x3131b4);((_0x5c09f5=this['_lastPointer'])==null?void 0x0:_0x5c09f5[_0x579281(0x584)])===_0x2684d3[_0x579281(0x584)]&&((_0x113101=this[_0x579281(0x4b9)])==null?void 0x0:_0x113101[_0x579281(0x22d)])===_0x2684d3[_0x579281(0x22d)]||this[_0x579281(0x2dd)][_0x579281(0x363)](_0x59c78f=>{_0x59c78f['onMouseMove'](_0x2684d3);});},0x64));});}[_0x2c702b(0x3fd)](_0xdd11dd,_0x84a009){const _0x53f848=_0x2c702b;var _0x7a8789;const _0x402228=(_0x7a8789=this[_0x53f848(0x345)][_0x53f848(0x325)]())==null?void 0x0:_0x7a8789[_0x53f848(0x485)];if(!_0x402228)return;const _0x5a4ba4=this[_0x53f848(0x439)]();if(!_0x5a4ba4)return;this[_0x53f848(0x2dd)][_0x53f848(0x363)](_0x203dd2=>{const _0x3770ed=_0x53f848;_0x203dd2[_0x3770ed(0x52a)]();});const {scene:_0x57cff0}=_0x5a4ba4,_0x36a2dd=_0x5e31e1(Array[_0x53f848(0x235)](_0x84a009[_0x53f848(0x549)]()))['map'](_0x4640c4=>{const _0x1f31ef=_0x53f848,{color:_0x40160b,range:_0x49ff61,name:_0x3a69e1,selection:_0x1a7360,sheetID:_0x1cabd4}=_0x4640c4,{startColumn:_0x54a2bc,startRow:_0x4cc093,endColumn:_0x5537d5,endRow:_0x3807cb}=_0x49ff61,_0x11fcd3=_0x15ca36[_0x1f31ef(0x1f8)](_0x4cc093,_0x54a2bc,_0x57cff0,_0x402228),_0x15df4d=_0x15ca36['getCoordByCell'](_0x3807cb,_0x5537d5,_0x57cff0,_0x402228),{columnHeaderHeightAndMarginTop:_0x5d5e88}=_0x402228,{startX:_0x2ad209,startY:_0x209891}=_0x11fcd3,{endX:_0x491ad4,endY:_0x475f9f}=_0x15df4d,_0x1cd3ca=_0x491ad4-_0x2ad209,_0x28b84a=_0x475f9f-_0x209891,_0x10365f={'labelPosition':_0x209891-_0x5d5e88>=_0x4d9b5f?'top':_0x1f31ef(0x32f),'sheetID':_0x1cabd4,'range':_0x49ff61,'color':_0x40160b,'name':_0x3a69e1,'selection':_0x1a7360,'left':_0x2ad209,'top':_0x209891,'width':_0x1cd3ca,'height':_0x28b84a,'evented':!0x1,'zIndex':_0x2b86d9};return new _0xa87b1(_0x3a69e1,_0x10365f);});_0x57cff0[_0x53f848(0x374)](_0x36a2dd,_0x4369da),this[_0x53f848(0x2dd)]=new Set(_0x36a2dd);}[_0x2c702b(0x442)](){const _0x131916=_0x2c702b;var _0x212088;(_0x212088=this[_0x131916(0x2dd)])==null||_0x212088[_0x131916(0x363)](_0x162180=>_0x162180['dispose']());}[_0x2c702b(0x439)](){const _0x451be2=_0x2c702b;return _0x15ca36['getSheetObject'](this[_0x451be2(0x564)]['unit'],this[_0x451be2(0x564)]);}};_0x1c8323=_0x319f8c([_0x38be18(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x15ca36[_0x2c702b(0x1d2)])),_0x38be18(0x2,_0x59f65f['Inject'](_0x30cf8d)),_0x38be18(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x5af)]))],_0x1c8323);function _0x5e31e1(_0x1665fc){const _0xb3219b=_0x2c702b,_0x47bb32=new Map();return _0x1665fc[_0xb3219b(0x363)](_0x2b370a=>{const _0x5ce802=_0xb3219b;if(_0x47bb32[_0x5ce802(0x35d)](_0x2b370a[_0x5ce802(0x536)])){const _0x36cd61=_0x47bb32[_0x5ce802(0x2f7)](_0x2b370a[_0x5ce802(0x536)]);_0x36cd61['name']+=',\x20'+_0x2b370a[_0x5ce802(0x2eb)];}else _0x47bb32[_0x5ce802(0x407)](_0x2b370a[_0x5ce802(0x536)],_0x2b370a);}),Array[_0xb3219b(0x235)](_0x47bb32['values']());}var _0x17f058=function(){const _0x1d226f=_0x2c702b;return _0x17f058=Object[_0x1d226f(0x34d)]||function(_0x5cf81c){const _0x1ba762=_0x1d226f;for(var _0x430b6c,_0xefc5fb=0x1,_0x2e7795=arguments[_0x1ba762(0x493)];_0xefc5fb<_0x2e7795;_0xefc5fb++){_0x430b6c=arguments[_0xefc5fb];for(var _0x3a438a in _0x430b6c)Object['prototype'][_0x1ba762(0x49c)][_0x1ba762(0x428)](_0x430b6c,_0x3a438a)&&(_0x5cf81c[_0x3a438a]=_0x430b6c[_0x3a438a]);}return _0x5cf81c;},_0x17f058[_0x1d226f(0x3d5)](this,arguments);},_0x5d2f33=function(_0x1acee3,_0x197fa5){const _0x5b1e5d=_0x2c702b;var _0x6a6288={};for(var _0xf1e860 in _0x1acee3)Object['prototype'][_0x5b1e5d(0x49c)]['call'](_0x1acee3,_0xf1e860)&&_0x197fa5[_0x5b1e5d(0x3bc)](_0xf1e860)<0x0&&(_0x6a6288[_0xf1e860]=_0x1acee3[_0xf1e860]);if(_0x1acee3!=null&&typeof Object[_0x5b1e5d(0x59f)]==_0x5b1e5d(0x55f)){for(var _0x4455c2=0x0,_0xf1e860=Object['getOwnPropertySymbols'](_0x1acee3);_0x4455c2<_0xf1e860[_0x5b1e5d(0x493)];_0x4455c2++)_0x197fa5['indexOf'](_0xf1e860[_0x4455c2])<0x0&&Object[_0x5b1e5d(0x552)]['propertyIsEnumerable'][_0x5b1e5d(0x428)](_0x1acee3,_0xf1e860[_0x4455c2])&&(_0x6a6288[_0xf1e860[_0x4455c2]]=_0x1acee3[_0xf1e860[_0x4455c2]]);}return _0x6a6288;},_0x1a2c48=_0xaabc7e[_0x2c702b(0x452)](function(_0x3ad3c8,_0x42f322){const _0xa02592=_0x2c702b;var _0x13ef19=_0x3ad3c8[_0xa02592(0x42f)],_0x136d3b=_0x3ad3c8['id'],_0x43b64f=_0x3ad3c8['className'],_0x4e56d9=_0x3ad3c8[_0xa02592(0x3e6)],_0xc9ebc8=_0x5d2f33(_0x3ad3c8,[_0xa02592(0x42f),'id','className','extend']),_0x4f3a41=_0xa02592(0x396)[_0xa02592(0x1e4)](_0x136d3b,'\x20')[_0xa02592(0x1e4)](_0x43b64f||'')['trim'](),_0x1c0b27=_0xaabc7e['useRef']('_'[_0xa02592(0x1e4)](_0x496a4b()));return _0x56e0c8(_0x13ef19,''[_0xa02592(0x1e4)](_0x136d3b),{'defIds':_0x13ef19[_0xa02592(0x3a6)],'idSuffix':_0x1c0b27['current']},_0x17f058({'ref':_0x42f322,'className':_0x4f3a41},_0xc9ebc8),_0x4e56d9);});function _0x56e0c8(_0x15e42f,_0x345fe5,_0x15195d,_0x15d655,_0x507cc3){const _0x4bfe42=_0x2c702b;return _0xaabc7e[_0x4bfe42(0x2cd)](_0x15e42f[_0x4bfe42(0x59a)],_0x17f058(_0x17f058({'key':_0x345fe5},_0x2b998d(_0x15e42f,_0x15195d,_0x507cc3)),_0x15d655),(_0x164184(_0x15e42f,_0x15195d)[_0x4bfe42(0x371)]||[])[_0x4bfe42(0x4a7)](function(_0x1bd319,_0x47ea05){const _0x39d1c1=_0x4bfe42;return _0x56e0c8(_0x1bd319,''[_0x39d1c1(0x1e4)](_0x345fe5,'-')[_0x39d1c1(0x1e4)](_0x15e42f[_0x39d1c1(0x59a)],'-')[_0x39d1c1(0x1e4)](_0x47ea05),_0x15195d,void 0x0,_0x507cc3);}));}function _0x2b998d(_0x52789d,_0x13af3a,_0x4ad9f2){const _0x310743=_0x2c702b;var _0x52e4c1=_0x17f058({},_0x52789d[_0x310743(0x58b)]);_0x4ad9f2!=null&&_0x4ad9f2[_0x310743(0x336)]&&_0x52e4c1['fill']===_0x310743(0x336)&&(_0x52e4c1[_0x310743(0x3c7)]=_0x4ad9f2[_0x310743(0x336)]);var _0x2a8510=_0x13af3a[_0x310743(0x3a6)];return!_0x2a8510||_0x2a8510[_0x310743(0x493)]===0x0||(_0x52789d[_0x310743(0x59a)]===_0x310743(0x1cb)&&_0x52e4c1[_0x310743(0x4d4)]&&(_0x52e4c1[_0x310743(0x4d4)]=_0x52e4c1[_0x310743(0x4d4)]+_0x13af3a['idSuffix']),Object[_0x310743(0x2b9)](_0x52e4c1)[_0x310743(0x363)](function(_0x362488){const _0x745eb=_0x310743;var _0x9ff882=_0x362488[0x0],_0x4efaba=_0x362488[0x1];typeof _0x4efaba==_0x745eb(0x283)&&(_0x52e4c1[_0x9ff882]=_0x4efaba[_0x745eb(0x50e)](/url\(#(.*)\)/,'url(#$1'[_0x745eb(0x1e4)](_0x13af3a['idSuffix'],')')));})),_0x52e4c1;}function _0x164184(_0x46ed83,_0x5c6311){const _0xabbe63=_0x2c702b;var _0x14a660,_0x57aad3=_0x5c6311[_0xabbe63(0x3a6)];return!_0x57aad3||_0x57aad3[_0xabbe63(0x493)]===0x0?_0x46ed83:_0x46ed83[_0xabbe63(0x59a)]==='defs'&&(!((_0x14a660=_0x46ed83[_0xabbe63(0x371)])===null||_0x14a660===void 0x0)&&_0x14a660[_0xabbe63(0x493)])?_0x17f058(_0x17f058({},_0x46ed83),{'children':_0x46ed83[_0xabbe63(0x371)][_0xabbe63(0x4a7)](function(_0x4ad060){const _0x420516=_0xabbe63;return typeof _0x4ad060[_0x420516(0x58b)]['id']=='string'&&_0x57aad3&&_0x57aad3['indexOf'](_0x4ad060[_0x420516(0x58b)]['id'])>-0x1?_0x17f058(_0x17f058({},_0x4ad060),{'attrs':_0x17f058(_0x17f058({},_0x4ad060['attrs']),{'id':_0x4ad060[_0x420516(0x58b)]['id']+_0x5c6311['idSuffix']})}):_0x4ad060;})}):_0x46ed83;}function _0x496a4b(){const _0x57d62d=_0x2c702b;return Math[_0x57d62d(0x333)]()[_0x57d62d(0x45a)](0x24)[_0x57d62d(0x319)](0x2,0x8);}_0x1a2c48[_0x2c702b(0x40d)]=_0x2c702b(0x3c1);var _0x253182={'tag':_0x2c702b(0x253),'attrs':{'fill':_0x2c702b(0x4d3),'viewBox':_0x2c702b(0x516),'width':_0x2c702b(0x3b8),'height':_0x2c702b(0x3b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x2c702b(0x1e8)},'children':[{'tag':_0x2c702b(0x473),'attrs':{'stroke':_0x2c702b(0x231),'d':_0x2c702b(0x4c7),'strokeLinecap':'round','strokeLinejoin':_0x2c702b(0x44e),'strokeWidth':1.2}}]},{'tag':_0x2c702b(0x42c),'attrs':{},'children':[{'tag':_0x2c702b(0x27d),'attrs':{'id':_0x2c702b(0x3f5)},'children':[{'tag':_0x2c702b(0x473),'attrs':{'fill':'#fff','d':_0x2c702b(0x34a)}}]}]}],'defIds':[_0x2c702b(0x3f5)]},_0x5252a8=_0xaabc7e[_0x2c702b(0x452)](function(_0x2505ef,_0x457977){const _0x4f4fdd=_0x2c702b;return _0xaabc7e['createElement'](_0x1a2c48,Object[_0x4f4fdd(0x34d)]({},_0x2505ef,{'id':_0x4f4fdd(0x2a9),'ref':_0x457977,'icon':_0x253182}));});_0x5252a8['displayName']='OffLineSingle';var _0x3f3d06={'tag':_0x2c702b(0x253),'attrs':{'fill':_0x2c702b(0x4d3),'viewBox':_0x2c702b(0x429),'width':_0x2c702b(0x3b8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c702b(0x287)},'children':[{'tag':_0x2c702b(0x473),'attrs':{'stroke':_0x2c702b(0x231),'d':_0x2c702b(0x514),'strokeLinecap':_0x2c702b(0x44e),'strokeLinejoin':_0x2c702b(0x44e),'strokeWidth':1.2}}]},{'tag':_0x2c702b(0x42c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2c702b(0x473),'attrs':{'fill':_0x2c702b(0x2ed),'d':_0x2c702b(0x34a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2c702b(0x226)]},_0x1f143e=_0xaabc7e['forwardRef'](function(_0x2a5938,_0xb58770){const _0x58a174=_0x2c702b;return _0xaabc7e[_0x58a174(0x2cd)](_0x1a2c48,Object[_0x58a174(0x34d)]({},_0x2a5938,{'id':_0x58a174(0x4ab),'ref':_0xb58770,'icon':_0x3f3d06}));});_0x1f143e['displayName']=_0x2c702b(0x43b);const _0xbf6699={'onlineStatusIcon':_0x2c702b(0x575),'onlineStatusTitle':_0x2c702b(0x3e3),'onlineStatus':_0x2c702b(0x3d4),'online':_0x2c702b(0x3c8),'offline':_0x2c702b(0x230)};function _0x267cf2(_0x4a3aff){const _0x470d9f=_0x2c702b;switch(_0x4a3aff){case _0x56e84e[_0x470d9f(0x50a)]:return'collabStatus.offline';case _0x56e84e['CONFLICT']:return _0x470d9f(0x22a);case _0x56e84e[_0x470d9f(0x3f4)]:return _0x470d9f(0x1d4);case _0x56e84e[_0x470d9f(0x33a)]:return _0x470d9f(0x4ce);case _0x56e84e[_0x470d9f(0x48c)]:case _0x56e84e[_0x470d9f(0x441)]:case _0x56e84e[_0x470d9f(0x5b5)]:return _0x470d9f(0x4bf);case _0x56e84e['SYNCED']:return _0x470d9f(0x512);}}function _0x471604(_0x22f077){const _0x513f22=_0x2c702b,{status$:_0x5cf891}=_0x22f077,_0xee1f23=_0x40690c['useObservable'](_0x5cf891,_0x56e84e[_0x513f22(0x33a)]),_0x121b96=_0x59f65f[_0x513f22(0x424)](_0x59f65f['LocaleService']),_0x4e9229=_0xee1f23!==_0x56e84e['OFFLINE'],_0x17a141=_0x121b96['t'](_0x267cf2(_0xee1f23)),_0xeda6be=_0x18d70e(_0xbf6699[_0x513f22(0x4d8)],{[_0xbf6699[_0x513f22(0x565)]]:_0x4e9229,[_0xbf6699[_0x513f22(0x581)]]:!_0x4e9229}),_0x1c4148=_0x4e9229?_0xaabc7e[_0x513f22(0x2cd)](_0x1f143e,null):_0xaabc7e[_0x513f22(0x2cd)](_0x5252a8,null);return _0xaabc7e[_0x513f22(0x2cd)](_0x513f22(0x4a4),{'className':_0xeda6be},_0xaabc7e[_0x513f22(0x2cd)]('div',{'className':_0xbf6699[_0x513f22(0x2b4)]},_0x1c4148),_0xaabc7e[_0x513f22(0x2cd)](_0x513f22(0x4a4),{'className':_0xbf6699[_0x513f22(0x255)]},_0x17a141));}var _0x609800=Object[_0x2c702b(0x227)],_0x16870f=Object[_0x2c702b(0x294)],_0x223040=(_0x1a3d54,_0x1b159a,_0x33fe72,_0x4c8d26)=>{for(var _0x35e226=_0x4c8d26>0x1?void 0x0:_0x4c8d26?_0x16870f(_0x1b159a,_0x33fe72):_0x1b159a,_0x335417=_0x1a3d54['length']-0x1,_0x34391f;_0x335417>=0x0;_0x335417--)(_0x34391f=_0x1a3d54[_0x335417])&&(_0x35e226=(_0x4c8d26?_0x34391f(_0x1b159a,_0x33fe72,_0x35e226):_0x34391f(_0x35e226))||_0x35e226);return _0x4c8d26&&_0x35e226&&_0x609800(_0x1b159a,_0x33fe72,_0x35e226),_0x35e226;},_0x4765fa=(_0x594bd0,_0x7d9077)=>(_0x418bd1,_0x21cdd1)=>_0x7d9077(_0x418bd1,_0x21cdd1,_0x594bd0);_0x21561b['DesktopCollaborationStatusDisplayController']=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x10afc4,_0x4ec09d,_0x343134,_0x34aa2e){const _0x2ec15e=_0x2c702b;super(),_0x191e33(this,_0x2ec15e(0x508),new _0x6d0798[(_0x2ec15e(0x52f))](_0x56e84e[_0x2ec15e(0x33a)])),(this[_0x2ec15e(0x54c)]=_0x10afc4,this['_uiPartsService']=_0x4ec09d,this[_0x2ec15e(0x232)]=_0x343134,this['_collaborationController']=_0x34aa2e,this['_initStatusComponent'](),this[_0x2ec15e(0x5b2)]());}[_0x2c702b(0x39e)](){const _0x2d4715=_0x2c702b;this[_0x2d4715(0x35f)](this[_0x2d4715(0x506)][_0x2d4715(0x3c4)](_0x40690c[_0x2d4715(0x404)][_0x2d4715(0x36e)],()=>_0x59f65f['connectInjector'](_0x592325({'status$':this[_0x2d4715(0x508)][_0x2d4715(0x1c4)]()}),this[_0x2d4715(0x232)])));}[_0x2c702b(0x5b2)](){const _0x714225=_0x2c702b;this['disposeWithMe'](_0x59f65f[_0x714225(0x209)](this[_0x714225(0x54c)][_0x714225(0x28e)]['pipe'](_0x6d0798['switchMap'](()=>{const _0x1d8f27=_0x714225,_0x4571b6=this[_0x1d8f27(0x54c)][_0x1d8f27(0x4cc)]();return _0x4571b6?this['_collaborationController'][_0x1d8f27(0x43f)](_0x4571b6['getUnitId']()):_0x6d0798['of'](null);}),_0x6d0798[_0x714225(0x383)](_0x535caf=>_0x535caf?_0x535caf[_0x714225(0x50f)]:_0x6d0798['of'](_0x56e84e[_0x714225(0x33a)])))[_0x714225(0x41d)](_0xc1c7fb=>{const _0x45bd01=_0x714225;this[_0x45bd01(0x508)][_0x45bd01(0x577)](_0xc1c7fb);})));}},_0x21561b['DesktopCollaborationStatusDisplayController']=_0x223040([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)]['Starting'],_0x21561b[_0x2c702b(0x530)]),_0x4765fa(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x4765fa(0x1,_0x40690c['IUIPartsService']),_0x4765fa(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x4765fa(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x569)]))],_0x21561b['DesktopCollaborationStatusDisplayController']);function _0x592325(_0x2a5aa2){const {status$:_0x521217}=_0x2a5aa2;return function(){const _0x25c53e=_0x50c2;return _0xaabc7e[_0x25c53e(0x2cd)](_0x471604,{'status$':_0x521217});};}const _0x5c813f=_0x59f65f[_0x2c702b(0x4ad)](_0x2c702b(0x33d));var _0x38d6cb=Object[_0x2c702b(0x227)],_0x17b836=Object[_0x2c702b(0x294)],_0x293e61=(_0x42d800,_0x504da4,_0x10a546,_0x14f10f)=>{for(var _0x45dbf4=_0x14f10f>0x1?void 0x0:_0x14f10f?_0x17b836(_0x504da4,_0x10a546):_0x504da4,_0x32c500=_0x42d800['length']-0x1,_0x5c4842;_0x32c500>=0x0;_0x32c500--)(_0x5c4842=_0x42d800[_0x32c500])&&(_0x45dbf4=(_0x14f10f?_0x5c4842(_0x504da4,_0x10a546,_0x45dbf4):_0x5c4842(_0x45dbf4))||_0x45dbf4);return _0x14f10f&&_0x45dbf4&&_0x38d6cb(_0x504da4,_0x10a546,_0x45dbf4),_0x45dbf4;},_0x56e0c5=(_0x48de43,_0x58d9e9)=>(_0x653910,_0x5d37ea)=>_0x58d9e9(_0x653910,_0x5d37ea,_0x48de43);_0x21561b[_0x2c702b(0x331)]=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0x3da9ec,_0x5a717e,_0x276684,_0x2fbc7b,_0x4ef4b9,_0x1f3469){const _0x80be3a=_0x2c702b;super(),this['_urlService']=_0x3da9ec,this['_logService']=_0x5a717e,this[_0x80be3a(0x567)]=_0x276684,this['_localCacheService']=_0x2fbc7b,this[_0x80be3a(0x206)]=_0x4ef4b9,_0x1f3469?_0x1f3469==null||_0x1f3469['whenReady']()[_0x80be3a(0x4c0)](()=>this[_0x80be3a(0x362)]()):(this[_0x80be3a(0x591)][_0x80be3a(0x386)](_0x80be3a(0x418),_0x80be3a(0x3a5)),this[_0x80be3a(0x362)]());}async['_init'](){const _0x5ca029=_0x2c702b,_0x3c3389=this[_0x5ca029(0x576)][_0x5ca029(0x492)](_0x5ca029(0x3f7)),_0xd62dfe=this[_0x5ca029(0x576)][_0x5ca029(0x492)](_0x5ca029(0x375));if(!_0x3c3389||!_0xd62dfe){this[_0x5ca029(0x591)]['debug'](_0x5ca029(0x418),_0x5ca029(0x1f2));return;}switch(Number(_0xd62dfe)){case _0x2e0d9e[_0x5ca029(0x46b)]:{const _0x5c1f54=await this[_0x5ca029(0x521)](_0x3c3389);this[_0x5ca029(0x2f5)](_0x5c1f54);break;}case _0x2e0d9e[_0x5ca029(0x525)]:{await this[_0x5ca029(0x221)](_0x3c3389);break;}default:{this[_0x5ca029(0x591)]['error'](_0x5ca029(0x418),_0x5ca029(0x4c4));break;}}}async[_0x2c702b(0x2f5)](_0x301f3d){const _0x115f83=_0x2c702b;await this[_0x115f83(0x335)](_0x301f3d),_0x301f3d[_0x115f83(0x4e2)][_0x115f83(0x47e)](_0x6d0798[_0x115f83(0x397)](this[_0x115f83(0x45e)]))[_0x115f83(0x41d)](_0xf10dd3=>{const _0x18fa9e=_0x115f83;_0xf10dd3&&this[_0x18fa9e(0x475)](_0xf10dd3);}),this['_urlService']['urlChange$'][_0x115f83(0x47e)](_0x6d0798[_0x115f83(0x397)](this[_0x115f83(0x45e)]))[_0x115f83(0x41d)](()=>this[_0x115f83(0x335)](_0x301f3d));}[_0x2c702b(0x475)](_0x21717e,_0x5a9acf=!0x1){const _0x3d53e9=_0x2c702b,_0x3c6c5c=this['_urlService'][_0x3d53e9(0x492)](_0x3d53e9(0x412));_0x21717e[_0x3d53e9(0x57a)]()!==_0x3c6c5c&&this['_urlService'][_0x3d53e9(0x3f1)](_0x3d53e9(0x412),_0x21717e[_0x3d53e9(0x57a)](),_0x5a9acf);}async[_0x2c702b(0x335)](_0x1ab77a){const _0x3e7d08=_0x2c702b;var _0x4b8cac;const _0x30e238=this['_urlService']['getParam'](_0x3e7d08(0x412));if(!_0x30e238||!_0x1ab77a['getSheetBySheetId'](_0x30e238)){const _0x37b138=_0x1ab77a[_0x3e7d08(0x54d)]()[0x0],_0xddb2dc=_0x1ab77a['getSheetBySheetId'](_0x37b138);if(!_0xddb2dc)return;this[_0x3e7d08(0x475)](_0xddb2dc,!0x0),await this[_0x3e7d08(0x567)][_0x3e7d08(0x22f)](_0x5dba16[_0x3e7d08(0x3be)]['id'],{'unitId':_0x1ab77a['getUnitId'](),'subUnitId':_0x37b138});return;}((_0x4b8cac=_0x1ab77a['getActiveSheet']())==null?void 0x0:_0x4b8cac[_0x3e7d08(0x57a)]())!==_0x30e238&&await this[_0x3e7d08(0x567)][_0x3e7d08(0x22f)](_0x5dba16['SetWorksheetActivateCommand']['id'],{'unitId':_0x1ab77a[_0x3e7d08(0x36b)](),'subUnitId':_0x30e238});}async['_loadSheet'](_0x527fff){const _0x49c828=_0x2c702b;let _0x489f34=0x0;const _0x148380=await this[_0x49c828(0x43a)][_0x49c828(0x5bf)](_0x527fff);return _0x148380&&(_0x148380['awaitingChangeset']||_0x148380[_0x49c828(0x31c)][_0x49c828(0x493)]!==0x0)&&(_0x489f34=_0x148380[_0x49c828(0x41a)]),_0x489f34===0x0&&this[_0x49c828(0x591)][_0x49c828(0x386)](_0x49c828(0x418),_0x49c828(0x410)),this[_0x49c828(0x206)][_0x49c828(0x274)](_0x527fff,_0x489f34);}async[_0x2c702b(0x221)](_0x118ec2){const _0x2f17d9=_0x2c702b;let _0x33a7d8=0x0;const _0x373e29=await this[_0x2f17d9(0x43a)][_0x2f17d9(0x5bf)](_0x118ec2);return _0x373e29&&(_0x373e29[_0x2f17d9(0x56f)]||_0x373e29[_0x2f17d9(0x31c)][_0x2f17d9(0x493)]!==0x0)&&(_0x33a7d8=_0x373e29['rev']),_0x33a7d8===0x0&&this[_0x2f17d9(0x591)][_0x2f17d9(0x386)]('[DataLoaderController]',_0x2f17d9(0x410)),this[_0x2f17d9(0x206)]['loadDoc'](_0x118ec2,_0x33a7d8);}},_0x21561b[_0x2c702b(0x331)]=_0x293e61([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)]['Starting'],_0x21561b[_0x2c702b(0x331)]),_0x56e0c5(0x0,_0x5c813f),_0x56e0c5(0x1,_0x59f65f['ILogService']),_0x56e0c5(0x2,_0x59f65f[_0x2c702b(0x4b7)]),_0x56e0c5(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x293)])),_0x56e0c5(0x4,_0x59f65f['Inject'](_0x4c33ab['SnapshotService'])),_0x56e0c5(0x5,_0x59f65f[_0x2c702b(0x558)](_0x13ce83['IRemoteInstanceService']))],_0x21561b[_0x2c702b(0x331)]);var _0x1ae471=Object['defineProperty'],_0x420c7e=Object[_0x2c702b(0x294)],_0x9abe89=(_0x43d09b,_0x4ce5da,_0xc35223,_0x4db13a)=>{for(var _0x334883=_0x4db13a>0x1?void 0x0:_0x4db13a?_0x420c7e(_0x4ce5da,_0xc35223):_0x4ce5da,_0x17ce81=_0x43d09b['length']-0x1,_0x125ed6;_0x17ce81>=0x0;_0x17ce81--)(_0x125ed6=_0x43d09b[_0x17ce81])&&(_0x334883=(_0x4db13a?_0x125ed6(_0x4ce5da,_0xc35223,_0x334883):_0x125ed6(_0x334883))||_0x334883);return _0x4db13a&&_0x334883&&_0x1ae471(_0x4ce5da,_0xc35223,_0x334883),_0x334883;},_0x4c1107=(_0x41c2d6,_0x1448e0)=>(_0x5029ed,_0x70b710)=>_0x1448e0(_0x5029ed,_0x70b710,_0x41c2d6);const _0x2917fb=_0x2c702b(0x297),_0x465f42='Univer';let _0x30022e=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0x5c1353,_0x57fff4){const _0x1c60b8=_0x2c702b;super(),this['_univerInstanceService']=_0x5c1353,this['_configService']=_0x57fff4,this[_0x1c60b8(0x362)]();}[_0x2c702b(0x362)](){const _0x35cba2=_0x2c702b;this[_0x35cba2(0x35f)](_0x59f65f[_0x35cba2(0x209)](this[_0x35cba2(0x54c)][_0x35cba2(0x28e)][_0x35cba2(0x41d)](()=>{const _0x464d77=_0x35cba2;var _0x75a710;const _0x183798=this[_0x464d77(0x54c)]['getFocusedUnit']();let _0x48de71=(_0x75a710=this['_configService'][_0x464d77(0x330)](_0x2917fb))!=null?_0x75a710:_0x465f42;_0x183798 instanceof _0x59f65f[_0x464d77(0x389)]&&(_0x48de71=_0x183798[_0x464d77(0x2eb)]),document['title']=_0x48de71;})));}};_0x30022e=_0x9abe89([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)][_0x2c702b(0x307)],_0x30022e),_0x4c1107(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x4c1107(0x1,_0x59f65f[_0x2c702b(0x39d)])],_0x30022e);var _0x6b105e=Object[_0x2c702b(0x227)],_0x5533d0=Object[_0x2c702b(0x294)],_0x378eea=(_0x580cbf,_0x399d23,_0x585d42,_0x6a3a3e)=>{for(var _0x5a8da6=_0x6a3a3e>0x1?void 0x0:_0x6a3a3e?_0x5533d0(_0x399d23,_0x585d42):_0x399d23,_0x25e9fb=_0x580cbf['length']-0x1,_0x16a4aa;_0x25e9fb>=0x0;_0x25e9fb--)(_0x16a4aa=_0x580cbf[_0x25e9fb])&&(_0x5a8da6=(_0x6a3a3e?_0x16a4aa(_0x399d23,_0x585d42,_0x5a8da6):_0x16a4aa(_0x5a8da6))||_0x5a8da6);return _0x6a3a3e&&_0x5a8da6&&_0x6b105e(_0x399d23,_0x585d42,_0x5a8da6),_0x5a8da6;},_0x435d33=(_0x1d8369,_0x2015c3)=>(_0x351edd,_0x5ea182)=>_0x2015c3(_0x351edd,_0x5ea182,_0x1d8369);_0x21561b['SnapshotServerOverHTTPService']=class{constructor(_0x31cf88,_0x40310e){const _0x600dd8=_0x2c702b;this[_0x600dd8(0x2a3)]=_0x31cf88,this['_httpService']=_0x40310e;}async[_0x2c702b(0x405)](_0x2e0c0d,_0x4ccbb6){const _0x2660b1=_0x2c702b;var _0x1aac34;const {unitID:_0x10327d,type:_0x16f781,revision:_0x1d294c=0x0}=_0x4ccbb6,_0x4d4cde=this[_0x2660b1(0x517)]()+'/'+_0x16f781+_0x2660b1(0x528)+_0x10327d+_0x2660b1(0x3c6)+_0x1d294c,_0x1a28e4=(await this[_0x2660b1(0x2b2)][_0x2660b1(0x2f7)](_0x4d4cde))[_0x2660b1(0x24a)],_0x1a2fab=(_0x1aac34=_0x1a28e4[_0x2660b1(0x315)])==null?void 0x0:_0x1aac34[_0x2660b1(0x1df)];if(_0x1a2fab){const _0x34c083=_0x1a2fab==null?void 0x0:_0x1a2fab[_0x2660b1(0x361)],_0x5e654d=_0x4c33ab['textEncoder']['encode'](_0x4c33ab['b64DecodeUnicode'](_0x34c083));_0x1a2fab['originalMeta']=_0x5e654d,Object['entries'](_0x1a2fab[_0x2660b1(0x21f)])['forEach'](([,_0x11d541])=>{const _0x33dd14=_0x2660b1,_0x4128e8=_0x11d541['originalMeta'],_0x2396ce=_0x4c33ab[_0x33dd14(0x1eb)][_0x33dd14(0x2d5)](_0x4c33ab[_0x33dd14(0x2bd)](_0x4128e8));_0x11d541[_0x33dd14(0x361)]=_0x2396ce;});}return _0x1a28e4;}async[_0x2c702b(0x534)](_0x427049,_0x559474){const _0x5beaa2=_0x2c702b,{unitID:_0x3a31a9,type:_0x208ecc,blockID:_0x118144}=_0x559474,_0x2b2a15=this['_getAPIPrefix']()+'/'+_0x208ecc+_0x5beaa2(0x528)+_0x3a31a9+'/block/'+_0x118144;return(await this[_0x5beaa2(0x2b2)][_0x5beaa2(0x2f7)](_0x2b2a15))[_0x5beaa2(0x24a)];}async['fetchMissingChangesets'](_0x472f45,_0x1485b8){const _0x44fa59=_0x2c702b,{unitID:_0x438270,type:_0x2c827f,from:_0x17faa5,to:_0x34ae4e}=_0x1485b8,_0x44b519=this['_getAPIPrefix']()+'/'+_0x2c827f+_0x44fa59(0x528)+_0x438270+_0x44fa59(0x37b)+_0x17faa5+'&to='+_0x34ae4e;return(await this[_0x44fa59(0x2b2)][_0x44fa59(0x2f7)](_0x44b519))[_0x44fa59(0x24a)];}[_0x2c702b(0x517)](){const _0x499016=_0x2c702b;var _0xc186b7;return(_0xc186b7=this[_0x499016(0x2a3)][_0x499016(0x330)](_0x47cbd6))!=null?_0xc186b7:this[_0x499016(0x2ea)]();}[_0x2c702b(0x2ea)](){const _0x4fcd31=_0x2c702b;var _0x27f5a2;return(_0x27f5a2=this[_0x4fcd31(0x2a3)][_0x4fcd31(0x330)](_0x27f2b1))!=null?_0x27f5a2:_0x4a6e51;}async[_0x2c702b(0x40e)](_0x4c9cd9,_0x2d4128){const _0x52ca49=_0x2c702b,_0x24f531=_0x52ca49(0x3b6)+_0x2d4128[_0x52ca49(0x375)]+_0x52ca49(0x528)+_0x2d4128['unitID']+_0x52ca49(0x3ad);return(await this[_0x52ca49(0x2b2)][_0x52ca49(0x2f7)](_0x24f531,{'params':{'resourceId':JSON[_0x52ca49(0x208)](_0x2d4128[_0x52ca49(0x48d)])}}))[_0x52ca49(0x24a)];}[_0x2c702b(0x220)](){const _0x4f942c=_0x2c702b;throw new Error(_0x4f942c(0x4bd));}[_0x2c702b(0x358)](){const _0x5e6f53=_0x2c702b;throw new Error(_0x5e6f53(0x4bd));}[_0x2c702b(0x30b)](){const _0xed284e=_0x2c702b;throw new Error(_0xed284e(0x4bd));}},_0x21561b[_0x2c702b(0x38d)]=_0x378eea([_0x435d33(0x0,_0x59f65f[_0x2c702b(0x39d)]),_0x435d33(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x1d5)]))],_0x21561b[_0x2c702b(0x38d)]);var _0x262bf8=Object[_0x2c702b(0x227)],_0x25199b=Object[_0x2c702b(0x294)],_0x3ff292=(_0x58b26a,_0x466173,_0x319121,_0x29c303)=>{const _0x4823a1=_0x2c702b;for(var _0x4956ad=_0x29c303>0x1?void 0x0:_0x29c303?_0x25199b(_0x466173,_0x319121):_0x466173,_0x5e0306=_0x58b26a[_0x4823a1(0x493)]-0x1,_0x23e481;_0x5e0306>=0x0;_0x5e0306--)(_0x23e481=_0x58b26a[_0x5e0306])&&(_0x4956ad=(_0x29c303?_0x23e481(_0x466173,_0x319121,_0x4956ad):_0x23e481(_0x4956ad))||_0x4956ad);return _0x29c303&&_0x4956ad&&_0x262bf8(_0x466173,_0x319121,_0x4956ad),_0x4956ad;},_0x56b22f=(_0x28ade7,_0x5cae10)=>(_0x2c6c05,_0x26b538)=>_0x5cae10(_0x2c6c05,_0x26b538,_0x28ade7);let _0x21f747=class extends _0x59f65f[_0x2c702b(0x32b)]{constructor(_0x5355b6,_0x5b9699,_0x291aa5,_0x3fc4f4,_0x4bb457){const _0x41e914=_0x2c702b;super(_0x5355b6,_0x5b9699,_0x291aa5),this[_0x41e914(0x586)]=_0x3fc4f4,this[_0x41e914(0x591)]=_0x4bb457;}[_0x2c702b(0x321)](_0x1c8d43,_0x5160a4){const _0x3b2c2c=_0x2c702b,_0x395d2e=this[_0x3b2c2c(0x465)](_0x1c8d43);if(_0x395d2e)try{const _0xfed6bc=this[_0x3b2c2c(0x49e)](_0x395d2e,_0x5160a4);this[_0x3b2c2c(0x2c1)](_0x1c8d43,_0xfed6bc);}catch(_0x4ff934){this[_0x3b2c2c(0x591)][_0x3b2c2c(0x538)](_0x3b2c2c(0x347),_0x4ff934),this['_clearUndo'](_0x1c8d43);}const _0x5d807e=this['_getRedoStack'](_0x1c8d43);if(_0x5d807e)try{const _0x3bf8c4=this[_0x3b2c2c(0x49e)](_0x5d807e,_0x5160a4);this[_0x3b2c2c(0x33e)](_0x1c8d43,_0x3bf8c4);}catch(_0x459185){this[_0x3b2c2c(0x591)]['error'](_0x459185),this[_0x3b2c2c(0x481)](_0x1c8d43);}}[_0x2c702b(0x449)](_0x1ed932){const _0x2b8528=_0x2c702b,_0x6dfa6c=this[_0x2b8528(0x465)](_0x1ed932);_0x6dfa6c&&(_0x6dfa6c[_0x2b8528(0x493)]=0x0,this[_0x2b8528(0x3f6)]());}[_0x2c702b(0x481)](_0x11bfa8){const _0x25b2c1=_0x2c702b,_0x46fd88=this[_0x25b2c1(0x1c9)](_0x11bfa8);_0x46fd88&&(_0x46fd88[_0x25b2c1(0x493)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x2afc76,_0x411c02){const _0x3fa6f4=_0x2c702b;this[_0x3fa6f4(0x4b0)][_0x3fa6f4(0x407)](_0x2afc76,_0x411c02),this[_0x3fa6f4(0x3f6)]();}[_0x2c702b(0x33e)](_0x4ad5b4,_0x41b9b2){const _0x5aec55=_0x2c702b;this[_0x5aec55(0x4fc)][_0x5aec55(0x407)](_0x4ad5b4,_0x41b9b2),this[_0x5aec55(0x3f6)]();}[_0x2c702b(0x49e)](_0x46e4b0,_0x2036ef){const _0x1a1bab=_0x2c702b,_0x19aaa8=[];let _0x14a63c=_0x2036ef,_0x56490f=_0x2036ef;for(let _0x336511=_0x46e4b0[_0x1a1bab(0x493)]-0x1;_0x336511>=0x0;_0x336511--){const {unitID:_0xc57d3c,undoMutations:_0x5116b8,redoMutations:_0x520547}=_0x46e4b0[_0x336511],_0x41d29e=this[_0x1a1bab(0x586)][_0x1a1bab(0x201)](_0x14a63c,_0x5116b8),_0x59de35=this[_0x1a1bab(0x586)][_0x1a1bab(0x201)](_0x56490f,_0x520547);if(_0x4c33ab[_0x1a1bab(0x56b)](_0x41d29e)||_0x4c33ab[_0x1a1bab(0x56b)](_0x59de35)){this['_logService'][_0x1a1bab(0x538)](_0x1a1bab(0x347),_0x1a1bab(0x2f6),_0x41d29e,_0x59de35);break;}_0x14a63c=_0x41d29e[_0x1a1bab(0x399)],_0x56490f=_0x59de35[_0x1a1bab(0x399)],_0x19aaa8[_0x1a1bab(0x2ba)]({'unitID':_0xc57d3c,'undoMutations':_0x41d29e[_0x1a1bab(0x505)],'redoMutations':_0x59de35[_0x1a1bab(0x505)]});}return _0x19aaa8[_0x1a1bab(0x527)]();}};_0x21f747=_0x3ff292([_0x56b22f(0x0,_0x59f65f[_0x2c702b(0x350)]),_0x56b22f(0x1,_0x59f65f[_0x2c702b(0x4b7)]),_0x56b22f(0x2,_0x59f65f['IContextService']),_0x56b22f(0x3,_0x4c33ab[_0x2c702b(0x419)]),_0x56b22f(0x4,_0x59f65f['ILogService'])],_0x21f747);class _0x270c1d extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(){const _0x4e3f79=_0x2c702b;super(),_0x191e33(this,_0x4e3f79(0x4d6)),this[_0x4e3f79(0x4d6)]=_0x6d0798[_0x4e3f79(0x4e4)](window,_0x4e3f79(0x4eb))[_0x4e3f79(0x47e)](_0x6d0798[_0x4e3f79(0x397)](this['dispose$']),_0x6d0798[_0x4e3f79(0x3fc)](0x1),_0x6d0798[_0x4e3f79(0x522)](void 0x0));}[_0x2c702b(0x3f1)](_0x12a42a,_0x3eab59,_0x335bea=!0x1){const _0x3d8364=_0x2c702b,_0x82405a=new URL(window[_0x3d8364(0x4df)][_0x3d8364(0x2db)]);_0x82405a[_0x3d8364(0x1ec)]['set'](_0x12a42a,_0x3eab59),_0x335bea?window[_0x3d8364(0x31f)]['replaceState']('','',_0x82405a[_0x3d8364(0x45a)]()):window[_0x3d8364(0x31f)][_0x3d8364(0x44f)]('','',_0x82405a['toString']());}[_0x2c702b(0x58c)](_0x4324b2,_0x2119ef=!0x1){const _0x16a877=_0x2c702b,_0x5dd118=new URL(window[_0x16a877(0x4df)][_0x16a877(0x2db)]);_0x5dd118[_0x16a877(0x1ec)]['delete'](_0x4324b2),_0x2119ef?window[_0x16a877(0x31f)][_0x16a877(0x4dd)]('','',_0x5dd118[_0x16a877(0x45a)]()):window['history'][_0x16a877(0x44f)]('','',_0x5dd118[_0x16a877(0x45a)]());}[_0x2c702b(0x492)](_0x1149da){const _0x3cfd05=_0x2c702b;var _0x46ab64;return(_0x46ab64=new URL(window['location'][_0x3cfd05(0x2db)])[_0x3cfd05(0x1ec)][_0x3cfd05(0x2f7)](_0x1149da))!=null?_0x46ab64:void 0x0;}}const _0x15b26f=_0x2c702b(0x4b8),_0x3d169e=_0x2c702b(0x519),_0x32ee85='collab-rect-range-',_0x53d398=0x6,_0x1f5ddc=1.5,_0x3892ee=0x4,_0x5bf11f=1.5,_0x251151=_0x2c702b(0x4c1);class _0x2dec16{constructor(_0x28f87a,_0x1eccf3,_0x432a1b,_0x1433fc){const _0x2c2511=_0x2c702b;_0x191e33(this,_0x2c2511(0x28a),[]),_0x191e33(this,_0x2c2511(0x267),null),_0x191e33(this,'_textBubble',null),_0x191e33(this,_0x2c2511(0x3de),null),_0x191e33(this,_0x2c2511(0x23e),null),_0x191e33(this,_0x2c2511(0x53e),null),(this[_0x2c2511(0x507)]=_0x28f87a,this[_0x2c2511(0x5b4)]=_0x1eccf3,this['_docSkeleton']=_0x432a1b,this[_0x2c2511(0x427)]=_0x1433fc,this[_0x2c2511(0x533)]());}set[_0x2c702b(0x478)](_0x39c852){const _0xb4cff=_0x2c702b;_0x39c852?(this[_0xb4cff(0x3de)]&&this[_0xb4cff(0x3de)][_0xb4cff(0x318)](),this[_0xb4cff(0x223)]&&this[_0xb4cff(0x223)][_0xb4cff(0x272)]()):(this[_0xb4cff(0x3de)]&&this['_anchorDot'][_0xb4cff(0x272)](),this[_0xb4cff(0x223)]&&this[_0xb4cff(0x223)][_0xb4cff(0x318)]());}[_0x2c702b(0x574)](){const _0x214333=_0x2c702b;for(const _0x18c768 of this[_0x214333(0x28a)])_0x18c768[_0x214333(0x574)]();this[_0x214333(0x223)]&&this[_0x214333(0x223)][_0x214333(0x574)](),this[_0x214333(0x3de)]&&this[_0x214333(0x3de)]['dispose'](),this['_anchor']&&this['_anchor'][_0x214333(0x574)](),this[_0x214333(0x53e)]&&this[_0x214333(0x53e)]();}[_0x2c702b(0x533)](){const _0x216723=_0x2c702b;var _0x4d7173;const {_docSkeleton:_0x59c762,_document:_0x2fa908}=this,{color:_0x2360a9,name:_0x665fb8,ranges:_0x6e5ce}=this[_0x216723(0x507)],_0x34b447=_0x2fa908[_0x216723(0x490)](),{docsLeft:_0xf431aa,docsTop:_0x23dc63}=_0x34b447,_0x267efe=new _0x59fc99[(_0x216723(0x31b))](_0x34b447,_0x59c762);for(const {startOffset:_0x3373a1,endOffset:_0x2047ea,collapsed:_0x5be74e,isActive:_0x5e6bb0}of _0x6e5ce){const _0xe51b36=_0x59c762['findNodePositionByCharIndex'](_0x3373a1),_0x3897ae=_0x59c762[_0x216723(0x26e)](_0x2047ea);if(_0x5e6bb0){const {contentBoxPointGroup:_0x22d2d3}=_0x267efe[_0x216723(0x3bd)](_0x3897ae,_0x3897ae);if(_0x22d2d3['length']===0x0)continue;this[_0x216723(0x548)](_0x2360a9,_0x22d2d3,_0xf431aa,_0x23dc63,_0x665fb8),this[_0x216723(0x53e)]=this[_0x216723(0x3b3)]();}if(!_0x5be74e&&_0xe51b36&&_0x3897ae){if(_0x59fc99['isValidRectRange'](_0xe51b36,_0x3897ae)){const _0x75f845=new _0x59fc99[(_0x216723(0x22e))](_0x34b447,_0x59c762),{pointGroup:_0x255374}=(_0x4d7173=_0x75f845[_0x216723(0x3bd)](_0xe51b36,_0x3897ae))!=null?_0x4d7173:{};if(_0x255374==null||_0x255374[_0x216723(0x493)]===0x0)continue;this[_0x216723(0x4b5)](_0x2360a9,_0x255374,_0xf431aa,_0x23dc63);}else{const {contentBoxPointGroup:_0x32f8ad}=_0x267efe[_0x216723(0x3bd)](_0xe51b36,_0x3897ae);if(_0x32f8ad[_0x216723(0x493)]===0x0)continue;this['_drawTextRange'](_0x2360a9,_0x32f8ad,_0xf431aa,_0x23dc63);}}}}[_0x2c702b(0x548)](_0x590688,_0x517339,_0x1c59d9,_0x57b749,_0x34a907){const _0x53d370=_0x2c702b,_0x43dc48=this[_0x53d370(0x42e)](_0x517339),{left:_0x44112a,top:_0x43a9a6,height:_0x560ac8}=_0x43dc48,_0x5255a6=this[_0x53d370(0x423)](),_0x36e5b4=_0x5bf11f/_0x5255a6,_0x4646dc=new _0x59fc99[(_0x53d370(0x4f1))](_0x15b26f+_0x59f65f[_0x53d370(0x5ad)][_0x53d370(0x394)](_0x53d398),{'left':_0x44112a+_0x1c59d9-_0x36e5b4,'top':_0x43a9a6+_0x57b749,'height':_0x560ac8,'width':_0x1f5ddc,'fill':_0x590688||_0x59fc99['getColor'](_0x59f65f[_0x53d370(0x455)]['black'],0x0),'strokeWidth':_0x36e5b4,'stroke':_0x251151,'evented':!0x0});this[_0x53d370(0x267)]=_0x4646dc,this['_scene'][_0x53d370(0x3ff)](_0x4646dc,_0x59fc99[_0x53d370(0x2d7)]);const _0x2b79b0=new _0x59fc99['Rect'](_0x15b26f+_0x59f65f[_0x53d370(0x5ad)][_0x53d370(0x394)](_0x53d398),{'left':_0x44112a+_0x1c59d9-_0x36e5b4,'top':_0x43a9a6+_0x57b749-_0x3892ee/0x2,'height':_0x3892ee,'width':_0x3892ee,'fill':_0x590688||_0x59fc99[_0x53d370(0x33c)](_0x59f65f[_0x53d370(0x455)][_0x53d370(0x2ca)],0x0),'strokeWidth':0x0,'stroke':_0x590688||_0x59fc99['getColor'](_0x59f65f[_0x53d370(0x455)]['black'],0x0),'evented':!0x1});this[_0x53d370(0x3de)]=_0x2b79b0,this[_0x53d370(0x5b4)][_0x53d370(0x3ff)](_0x2b79b0,_0x59fc99[_0x53d370(0x2d7)]);const _0x21ab46=new _0x15cd0c(_0x15b26f+_0x59f65f[_0x53d370(0x5ad)][_0x53d370(0x394)](_0x53d398),{'left':_0x44112a+_0x1c59d9-_0x36e5b4,'top':_0x43a9a6+_0x57b749-_0x4d9b5f,'text':_0x34a907,'color':_0x590688});this[_0x53d370(0x223)]=_0x21ab46,this['_scene'][_0x53d370(0x3ff)](_0x21ab46,_0x59fc99[_0x53d370(0x2d7)]),this[_0x53d370(0x478)]=!0x1;}[_0x2c702b(0x3b3)](){const _0x5a6837=_0x2c702b,_0xc2b7e8=this[_0x5a6837(0x267)][_0x5a6837(0x2f0)]['subscribeEvent'](()=>{const _0x1d1cb2=_0x5a6837;this[_0x1d1cb2(0x478)]=!0x0;}),_0x36f614=this[_0x5a6837(0x267)][_0x5a6837(0x2a7)][_0x5a6837(0x421)](()=>{const _0x2a56d2=_0x5a6837;this[_0x2a56d2(0x23e)]&&clearTimeout(this[_0x2a56d2(0x23e)]),this[_0x2a56d2(0x23e)]=setTimeout(()=>{const _0x191aac=_0x2a56d2;this[_0x191aac(0x478)]=!0x1;},0x7d0);});return()=>{const _0x11a364=_0x5a6837;_0xc2b7e8['unsubscribe'](),_0x36f614[_0x11a364(0x348)]();};}[_0x2c702b(0x2df)](_0x5206f2,_0x342e61,_0x472d1a,_0x2983e8){const _0x329508=_0x2c702b,_0x3b7552=new _0x59f65f['ColorKit'](_0x5206f2)[_0x329508(0x2ec)](0.2)['toRgbString'](),_0x36629d=new _0x59fc99[(_0x329508(0x1d0))](_0x3d169e+_0x59f65f['Tools'][_0x329508(0x394)](_0x53d398),{'pointsGroup':_0x342e61,'fill':_0x3b7552||_0x59fc99[_0x329508(0x33c)](_0x59f65f['COLORS'][_0x329508(0x2ca)],0.2),'left':_0x472d1a,'top':_0x2983e8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x329508(0x28a)][_0x329508(0x2ba)](_0x36629d),this[_0x329508(0x5b4)][_0x329508(0x3ff)](_0x36629d,_0x59fc99[_0x329508(0x2d7)]);}['_drawRectRange'](_0x3c57b6,_0x29d5e0,_0x8fc9ac,_0x162229){const _0xe3e16c=_0x2c702b,_0x4a5f35=new _0x59f65f['ColorKit'](_0x3c57b6)['setAlpha'](0.2)[_0xe3e16c(0x408)](),_0x139345=new _0x59fc99['RegularPolygon'](_0x32ee85+_0x59f65f[_0xe3e16c(0x5ad)][_0xe3e16c(0x394)](_0x53d398),{'pointsGroup':_0x29d5e0,'fill':_0x4a5f35||_0x59fc99['getColor'](_0x59f65f[_0xe3e16c(0x455)]['black'],0.2),'left':_0x8fc9ac,'top':_0x162229,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x139345),this['_scene'][_0xe3e16c(0x3ff)](_0x139345,_0x59fc99[_0xe3e16c(0x2d7)]);}[_0x2c702b(0x42e)](_0x3007f7){const _0x216ecb=_0x3007f7[0x0],_0x206e9c=_0x216ecb[0x0],_0x596dbc=_0x216ecb[0x2],{x:_0x33922b,y:_0x5a5347}=_0x206e9c,{x:_0x53bb60,y:_0x1b5671}=_0x596dbc;return{'left':_0x33922b,'top':_0x5a5347,'width':_0x53bb60-_0x33922b,'height':_0x1b5671-_0x5a5347};}['_getScale'](){const _0xa25b90=_0x2c702b,{scaleX:_0xd2f105,scaleY:_0x30c8fd}=this['_scene'][_0xa25b90(0x3f9)]();return Math[_0xa25b90(0x20b)](_0xd2f105,_0x30c8fd);}}var _0x11db36=Object[_0x2c702b(0x227)],_0x1aefce=Object['getOwnPropertyDescriptor'],_0x257fec=(_0x12d8fe,_0x33f987,_0x3daffe,_0x56393b)=>{for(var _0x14ae5c=_0x56393b>0x1?void 0x0:_0x56393b?_0x1aefce(_0x33f987,_0x3daffe):_0x33f987,_0x46d8c4=_0x12d8fe['length']-0x1,_0x390917;_0x46d8c4>=0x0;_0x46d8c4--)(_0x390917=_0x12d8fe[_0x46d8c4])&&(_0x14ae5c=(_0x56393b?_0x390917(_0x33f987,_0x3daffe,_0x14ae5c):_0x390917(_0x14ae5c))||_0x14ae5c);return _0x56393b&&_0x14ae5c&&_0x11db36(_0x33f987,_0x3daffe,_0x14ae5c),_0x14ae5c;},_0xc6cff6=(_0x3cc9c8,_0x1362b8)=>(_0x3477ef,_0x3390bf)=>_0x1362b8(_0x3477ef,_0x3390bf,_0x3cc9c8);let _0x2bbb1b=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0x1011eb,_0x4dabcc,_0x3384ab,_0x3f3af3,_0x4f19c3){const _0x26e2d6=_0x2c702b;super(),_0x191e33(this,_0x26e2d6(0x559),[]),_0x191e33(this,_0x26e2d6(0x2dd),[]),(this[_0x26e2d6(0x564)]=_0x1011eb,this[_0x26e2d6(0x556)]=_0x4dabcc,this[_0x26e2d6(0x310)]=_0x3384ab,this[_0x26e2d6(0x567)]=_0x3f3af3,this[_0x26e2d6(0x2e1)]=_0x4f19c3,this[_0x26e2d6(0x362)]());}[_0x2c702b(0x362)](){const _0xfc0736=_0x2c702b,_0x237ebd=this['_context']['unitId'],_0x5f28c2=this[_0xfc0736(0x556)];this[_0xfc0736(0x35f)](_0x6d0798[_0xfc0736(0x360)]([this['_collabCursorController'][_0xfc0736(0x411)](_0x237ebd),this[_0xfc0736(0x2e1)]['currentTheme$']])['pipe'](_0x4e8b21['map'](([_0x53d14d,_0x5cf40e])=>({'skeleton':_0x5f28c2[_0xfc0736(0x3a4)](),'cursors':[..._0x53d14d['values']()]['flatMap'](_0x226ada=>({..._0x226ada,'color':_0x5cf40e[_0x226ada['color']]}))})))[_0xfc0736(0x41d)](_0x409d27=>{const _0x434e63=_0xfc0736;if(this[_0x434e63(0x442)](),_0x409d27){const {skeleton:_0x3430ab,cursors:_0x22a0ee}=_0x409d27;this[_0x434e63(0x3fd)](_0x3430ab,_0x22a0ee);}})),this[_0xfc0736(0x26a)](),this['_initCommandExecutedListener']();}[_0x2c702b(0x3fd)](_0x64fd92,_0x188812){const _0x2fdca4=_0x2c702b,{scene:_0x413598,mainComponent:_0x2b5176}=this[_0x2fdca4(0x564)],_0x592787=_0x188812[_0x2fdca4(0x4a7)](_0x4a506d=>new _0x2dec16(_0x4a506d,_0x413598,_0x64fd92,_0x2b5176));this[_0x2fdca4(0x559)]=_0x592787,this[_0x2fdca4(0x2dd)]=_0x188812;}[_0x2c702b(0x3cc)](){const _0x18090b=_0x2c702b;this['_removeCollabCursors']();const {scene:_0x31128f,mainComponent:_0x4b67d3}=this['_context'],_0x5e5ff3=this[_0x18090b(0x556)][_0x18090b(0x3a4)](),_0x226405=this['_cursors'][_0x18090b(0x4a7)](_0x5c4589=>new _0x2dec16(_0x5c4589,_0x31128f,_0x5e5ff3,_0x4b67d3));this[_0x18090b(0x559)]=_0x226405;}[_0x2c702b(0x442)](){const _0x15d67b=_0x2c702b;this[_0x15d67b(0x559)][_0x15d67b(0x363)](_0x255932=>_0x255932[_0x15d67b(0x574)]()),this[_0x15d67b(0x559)]=[];}[_0x2c702b(0x4da)](){const _0x129546=_0x2c702b,_0x57d76d=[_0x28f26c[_0x129546(0x4c2)]['id']];this[_0x129546(0x35f)](this[_0x129546(0x567)][_0x129546(0x444)](_0x44cca4=>{const _0x2ad333=_0x129546;_0x57d76d['includes'](_0x44cca4['id'])&&_0x44cca4[_0x2ad333(0x3e9)][_0x2ad333(0x42b)]===this[_0x2ad333(0x564)][_0x2ad333(0x42b)]&&this['_refreshCollabCursors']();}));}[_0x2c702b(0x26a)](){const _0x56c03b=_0x2c702b;this['disposeWithMe'](_0x59f65f[_0x56c03b(0x58d)](this['_context']['engine'][_0x56c03b(0x24f)])[_0x56c03b(0x47e)](_0x4e8b21[_0x56c03b(0x46c)](_0x5b838f=>_0x5b838f[_0x56c03b(0x375)]===_0x59fc99[_0x56c03b(0x4e7)][_0x56c03b(0x385)]),_0x4e8b21['throttleTime'](0x10))[_0x56c03b(0x41d)](()=>{const _0x38ed75=_0x56c03b;this[_0x38ed75(0x3cc)]();}));}};_0x2bbb1b=_0x257fec([_0x59f65f[_0x2c702b(0x1ed)](_0x59f65f[_0x2c702b(0x1e5)][_0x2c702b(0x344)],_0x2bbb1b),_0xc6cff6(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x28f26c[_0x2c702b(0x5bb)])),_0xc6cff6(0x2,_0x59f65f['Inject'](_0x30cf8d)),_0xc6cff6(0x3,_0x59f65f['ICommandService']),_0xc6cff6(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['ThemeService']))],_0x2bbb1b);var _0x37d933=Object[_0x2c702b(0x227)],_0x2c45f2=Object['getOwnPropertyDescriptor'],_0x2f8927=(_0x338032,_0x3ef28f,_0x45eb12,_0x29f72b)=>{const _0xe2cf28=_0x2c702b;for(var _0x36a4f3=_0x29f72b>0x1?void 0x0:_0x29f72b?_0x2c45f2(_0x3ef28f,_0x45eb12):_0x3ef28f,_0x5e3650=_0x338032[_0xe2cf28(0x493)]-0x1,_0xb56439;_0x5e3650>=0x0;_0x5e3650--)(_0xb56439=_0x338032[_0x5e3650])&&(_0x36a4f3=(_0x29f72b?_0xb56439(_0x3ef28f,_0x45eb12,_0x36a4f3):_0xb56439(_0x36a4f3))||_0x36a4f3);return _0x29f72b&&_0x36a4f3&&_0x37d933(_0x3ef28f,_0x45eb12,_0x36a4f3),_0x36a4f3;},_0x1e2c08=(_0x340506,_0x1cbcdb)=>(_0x56aebd,_0x33dc1d)=>_0x1cbcdb(_0x56aebd,_0x33dc1d,_0x340506);let _0x3c43b0=class{constructor(_0x28ff41,_0xda0d2,_0x555896){const _0x1e001e=_0x2c702b;this[_0x1e001e(0x2a3)]=_0x28ff41,this[_0x1e001e(0x2b2)]=_0xda0d2,this[_0x1e001e(0x477)]=_0x555896,this[_0x1e001e(0x5a2)]();}[_0x2c702b(0x5a2)](){const _0x287ceb=_0x2c702b;this['_httpService'][_0x287ceb(0x2c0)]({'priority':0x1,'interceptor':(_0x17e942,_0x145abe)=>_0x145abe(_0x17e942)[_0x287ceb(0x47e)](_0x6d0798[_0x287ceb(0x53f)](async _0x547ee0=>{const _0xf343a=_0x287ceb,_0x1c6c02=_0x547ee0;if(_0x1c6c02['status']===0x191&&window[_0xf343a(0x426)](this[_0xf343a(0x477)]['t'](_0xf343a(0x24d)))){const _0x1dc1bd=window[_0xf343a(0x1c2)](window[_0xf343a(0x4df)][_0xf343a(0x2db)]);window['location'][_0xf343a(0x2db)]=this['_getLoginPath']()+_0xf343a(0x224)+_0x1dc1bd;}return _0x1c6c02;}))});}['_getLoginPath'](){const _0x1b8f5e=_0x2c702b;var _0x88e1ca;return(_0x88e1ca=this[_0x1b8f5e(0x2a3)][_0x1b8f5e(0x330)](_0x5565db))!=null?_0x88e1ca:_0x3ec828;}};_0x3c43b0=_0x2f8927([_0x1e2c08(0x0,_0x59f65f[_0x2c702b(0x39d)]),_0x1e2c08(0x1,_0x59f65f['Inject'](_0x33d91c[_0x2c702b(0x1d5)])),_0x1e2c08(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)]))],_0x3c43b0);var _0x161fe3=Object[_0x2c702b(0x227)],_0x34732f=Object[_0x2c702b(0x294)],_0x5184f6=(_0x4c0b5f,_0x34b312,_0x4f4737,_0x5574f0)=>{const _0x4e91c4=_0x2c702b;for(var _0x3d092c=_0x5574f0>0x1?void 0x0:_0x5574f0?_0x34732f(_0x34b312,_0x4f4737):_0x34b312,_0x53f07f=_0x4c0b5f[_0x4e91c4(0x493)]-0x1,_0x475b4a;_0x53f07f>=0x0;_0x53f07f--)(_0x475b4a=_0x4c0b5f[_0x53f07f])&&(_0x3d092c=(_0x5574f0?_0x475b4a(_0x34b312,_0x4f4737,_0x3d092c):_0x475b4a(_0x3d092c))||_0x3d092c);return _0x5574f0&&_0x3d092c&&_0x161fe3(_0x34b312,_0x4f4737,_0x3d092c),_0x3d092c;},_0x3f4685=(_0x76704a,_0x3da20d)=>(_0x45bbc2,_0x2d5b97)=>_0x3da20d(_0x45bbc2,_0x2d5b97,_0x76704a);const _0x4b5577=_0x2c702b(0x273),_0xad2d3b=_0x2c702b(0x3df);_0x21561b[_0x2c702b(0x391)]=class extends _0x59f65f[_0x2c702b(0x416)]{constructor(_0xdb9dc6,_0x5b156d){const _0x10d5cc=_0x2c702b;super(),this[_0x10d5cc(0x54a)]=_0xdb9dc6,this[_0x10d5cc(0x2a3)]=_0x5b156d,this[_0x10d5cc(0x3b1)]();}['_initMergeInterceptor'](){const _0x3def05=_0x2c702b,_0x3bd3d=this;this['disposeWithMe'](this[_0x3def05(0x54a)][_0x3def05(0x2c0)]({'priority':0x3e7,'interceptor':_0x33d91c['MergeInterceptorFactory']({'isMatch'(_0x216525){const _0x4f80cc=_0x3def05;var _0x21e5c7;if(_0x216525[_0x4f80cc(0x1d7)]===_0x4f80cc(0x26b)&&((_0x21e5c7=_0x216525[_0x4f80cc(0x288)])!=null&&_0x21e5c7[_0x4f80cc(0x24a)])){const {objectID:_0x397355,objectType:_0x4b97fa}=_0x216525[_0x4f80cc(0x288)]['body']||{};if(!_0x397355||_0x4b97fa===void 0x0)return!0x1;const _0x3e6590=_0x3bd3d[_0x4f80cc(0x57c)]()+'/'+_0x4b97fa+_0x4f80cc(0x392)+_0x397355+_0x4f80cc(0x24e);if(_0x216525[_0x4f80cc(0x2a6)]===_0x3e6590)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31d038){const _0x26891c=_0x3def05;var _0x460112;return(_0x460112=_0x31d038[_0x26891c(0x288)])==null?void 0x0:_0x460112[_0x26891c(0x24a)];},'mergeParamsToRequest'(_0x1a49c8,_0xf9a6e9){const _0x53b23c=_0x3def05,_0x56002d=_0x3bd3d[_0x53b23c(0x57c)]()+_0x53b23c(0x56e),_0x5afc88=_0x1a49c8[_0x53b23c(0x3c2)]((_0x32e33f,_0x3d7232)=>{const _0xeecc3e=_0x53b23c,{unitID:_0x881d93,objectID:_0x3100db,objectType:_0x3b98c5,actions:_0x2036fc}=_0x3d7232;return _0x32e33f[_0x881d93]||(_0x32e33f[_0x881d93]={}),_0x32e33f[_0x881d93][_0x3100db]||(_0x32e33f[_0x881d93][_0x3100db]={'objectID':_0x3100db,'objectType':_0x3b98c5,'actions':[]}),_0x32e33f[_0x881d93][_0x3100db][_0xeecc3e(0x3d1)][_0xeecc3e(0x2ba)](..._0x2036fc),_0x32e33f;},{}),_0x2d9072=[];for(const _0x29f57d in _0x5afc88)for(const _0xd83145 in _0x5afc88[_0x29f57d]){const {actions:_0x35bdc4,objectType:_0x39e884}=_0x5afc88[_0x29f57d][_0xd83145],_0x343bd6=[...new Set(_0x35bdc4)];_0x2d9072['push']({'unitID':_0x29f57d,'objectID':_0xd83145,'objectType':_0x39e884,'actions':_0x343bd6});}return new _0x33d91c[(_0x53b23c(0x459))]('POST',_0x56002d,{'headers':_0xf9a6e9['headers'],'withCredentials':_0xf9a6e9['withCredentials'],'responseType':_0xf9a6e9[_0x53b23c(0x47d)],'body':{'requests':_0x2d9072}});}},{'distributeResult'(_0x3ff3ab,_0x2c6ac4){const _0xeacbc=_0x3def05,{objectActions:_0x14004a}=_0x3ff3ab;return _0x2c6ac4[_0xeacbc(0x4a7)](_0x3fddf7=>{const _0xcac8ef=_0xeacbc,{unitID:_0x23de05,objectID:_0x4630c9,actions:_0x3954bc}=_0x3fddf7,_0x305626=_0x14004a['find'](_0x59bbce=>_0x59bbce[_0xcac8ef(0x2fa)]===_0x23de05&&_0x59bbce[_0xcac8ef(0x3e1)]===_0x4630c9),_0x5dedb8=_0x3954bc[_0xcac8ef(0x4a7)](_0x3b03a8=>_0x305626==null?void 0x0:_0x305626[_0xcac8ef(0x3d1)][_0xcac8ef(0x513)](_0x1b3a2f=>_0x1b3a2f['action']===_0x3b03a8))['filter'](_0x15cf7c=>!!_0x15cf7c);return{'config':_0x3fddf7,'result':{'actions':_0x5dedb8,'error':_0x3ff3ab[_0xcac8ef(0x538)]}};});}})}));}[_0x2c702b(0x57c)](){const _0x263c38=_0x2c702b;var _0x31a719;return(_0x31a719=this[_0x263c38(0x2a3)]['getConfig'](_0x4b5577))!=null?_0x31a719:_0xad2d3b;}async['create'](_0x5832b7){const _0x5bd279=_0x2c702b,_0x458e27=this[_0x5bd279(0x57c)]()+'/'+_0x5832b7[_0x5bd279(0x34e)]+_0x5bd279(0x1ee);return(await this['_HTTPService']['post'](_0x458e27,{'body':_0x5832b7}))[_0x5bd279(0x24a)]['objectID']||'';}async[_0x2c702b(0x20a)](_0x11c354){const _0x4b7e03=_0x2c702b,_0xcda666=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x4b7e03(0x54a)][_0x4b7e03(0x34b)](_0xcda666,{'body':_0x11c354}))[_0x4b7e03(0x24a)]['objects'];}async[_0x2c702b(0x241)](_0x538fa0){const _0x45e44c=_0x2c702b,_0x3dff3d=this[_0x45e44c(0x57c)]()+'/'+_0x538fa0[_0x45e44c(0x34e)]+'/object/'+_0x538fa0[_0x45e44c(0x3e1)];await this['_HTTPService'][_0x45e44c(0x23c)](_0x3dff3d,{'body':_0x538fa0});}async[_0x2c702b(0x236)](_0x5dc0aa){const _0x1911de=_0x2c702b,_0x43c380=this[_0x1911de(0x57c)]()+'/'+_0x5dc0aa[_0x1911de(0x34e)]+_0x1911de(0x392)+_0x5dc0aa[_0x1911de(0x3e1)]+'/allowed';return(await this['_HTTPService'][_0x1911de(0x34b)](_0x43c380,{'body':_0x5dc0aa}))[_0x1911de(0x24a)][_0x1911de(0x3d1)];}async['batchAllowed'](_0x3edcc4){const _0x35b7b1=_0x2c702b,_0x34f5da=this[_0x35b7b1(0x57c)]()+_0x35b7b1(0x56e);return(await this[_0x35b7b1(0x54a)][_0x35b7b1(0x34b)](_0x34f5da,{'body':{'requests':_0x3edcc4}}))[_0x35b7b1(0x24a)][_0x35b7b1(0x395)];}async[_0x2c702b(0x25d)](_0x33c614){const _0x3b5c46=_0x2c702b,_0x1a7763=this[_0x3b5c46(0x57c)]()+'/'+_0x33c614[_0x3b5c46(0x34e)]+_0x3b5c46(0x322),_0x55cb4b=await this[_0x3b5c46(0x54a)][_0x3b5c46(0x34b)](_0x1a7763,{'body':_0x33c614});return{'roles':_0x55cb4b[_0x3b5c46(0x24a)][_0x3b5c46(0x1d8)],'actions':_0x55cb4b[_0x3b5c46(0x24a)][_0x3b5c46(0x3d1)]};}async[_0x2c702b(0x21d)](_0x2f9a4c){const _0x3fa20b=_0x2c702b,_0x2abadc=this['_getAPIPrefixPath']()+_0x3fa20b(0x30d);await this['_HTTPService']['delete'](_0x2abadc,{'params':{'collaboratorID':_0x2f9a4c[_0x3fa20b(0x250)],'objectID':_0x2f9a4c[_0x3fa20b(0x3e1)],'unitID':_0x2f9a4c[_0x3fa20b(0x2fa)]}});}async[_0x2c702b(0x28d)](_0xec5b7c){const _0x371404=_0x2c702b,_0xc30e9a=this[_0x371404(0x57c)]()+_0x371404(0x30d);await this[_0x371404(0x54a)][_0x371404(0x4f8)](_0xc30e9a,{'body':_0xec5b7c});}async[_0x2c702b(0x588)](_0x46ebee){const _0xf91122=_0x2c702b,_0x451e6e=this[_0xf91122(0x57c)]()+_0xf91122(0x30d);await this[_0xf91122(0x54a)][_0xf91122(0x34b)](_0x451e6e,{'body':_0x46ebee});}async[_0x2c702b(0x276)](_0x521bac){const _0x12ddf2=_0x2c702b,_0x32d5c3=this[_0x12ddf2(0x57c)]()+_0x12ddf2(0x30d);return(await this[_0x12ddf2(0x54a)][_0x12ddf2(0x2f7)](_0x32d5c3,{'params':{'objectID':_0x521bac[_0x12ddf2(0x3e1)],'unitID':_0x521bac['unitID']}}))[_0x12ddf2(0x24a)][_0x12ddf2(0x246)];}async['putCollaborators'](_0x3f220b){const _0x2718da=_0x2c702b,_0x42519e=this[_0x2718da(0x57c)]()+'/collaborator';await this['_HTTPService'][_0x2718da(0x23c)](_0x42519e,{'body':_0x3f220b});}},_0x21561b[_0x2c702b(0x391)]=_0x5184f6([_0x3f4685(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x1d5)])),_0x3f4685(0x1,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f['IConfigService']))],_0x21561b[_0x2c702b(0x391)]);var _0x28d720=Object[_0x2c702b(0x227)],_0xfce0b7=Object[_0x2c702b(0x294)],_0x579c76=(_0xb5da1a,_0x46a676,_0x48b11d,_0xcf4e83)=>{for(var _0x36c44b=_0xcf4e83>0x1?void 0x0:_0xcf4e83?_0xfce0b7(_0x46a676,_0x48b11d):_0x46a676,_0x4ee990=_0xb5da1a['length']-0x1,_0x4c2705;_0x4ee990>=0x0;_0x4ee990--)(_0x4c2705=_0xb5da1a[_0x4ee990])&&(_0x36c44b=(_0xcf4e83?_0x4c2705(_0x46a676,_0x48b11d,_0x36c44b):_0x4c2705(_0x36c44b))||_0x36c44b);return _0xcf4e83&&_0x36c44b&&_0x28d720(_0x46a676,_0x48b11d,_0x36c44b),_0x36c44b;},_0x1bc933=(_0x571b77,_0x37a7d9)=>(_0x1020cc,_0x39a1c9)=>_0x37a7d9(_0x1020cc,_0x39a1c9,_0x571b77);const _0x5ea3f0=[_0x2c702b(0x500),_0x2c702b(0x295),_0x2c702b(0x342),'image/gif',_0x2c702b(0x571)],_0x188435=0x5*0x400*0x400,_0x3c9c81='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x4315b0=_0x2c702b(0x377),_0x49e820=_0x2c702b(0x29a),_0x20095b='/universer-api/file/{fileID}/sign-url';_0x21561b[_0x2c702b(0x4ea)]=class{constructor(_0x52c575,_0x59f8b9,_0x5b9902){const _0x14e8f7=_0x2c702b;_0x191e33(this,_0x14e8f7(0x1e0),0x0),_0x191e33(this,_0x14e8f7(0x3b2),new _0x6d0798[(_0x14e8f7(0x2d1))]()),_0x191e33(this,_0x14e8f7(0x304),this[_0x14e8f7(0x3b2)]),_0x191e33(this,_0x14e8f7(0x3f3),new Map()),(this[_0x14e8f7(0x2b2)]=_0x52c575,this[_0x14e8f7(0x2a3)]=_0x59f8b9,this[_0x14e8f7(0x54c)]=_0x5b9902);}[_0x2c702b(0x260)](_0x502fef){const _0x52abcf=_0x2c702b;this[_0x52abcf(0x1e0)]=_0x502fef,this[_0x52abcf(0x3b2)][_0x52abcf(0x577)](_0x502fef);}[_0x2c702b(0x5b6)](_0x5669a7,_0x44ea4d){const _0x15e43a=_0x2c702b;if(_0x44ea4d===_0x4ba2c1[_0x15e43a(0x324)][_0x15e43a(0x4c6)]){const _0x27fcee=new Image();return _0x27fcee[_0x15e43a(0x531)]=_0x5669a7,_0x27fcee;}return this[_0x15e43a(0x3f3)]['get'](_0x5669a7);}[_0x2c702b(0x296)](_0x223128,_0x4f8345,_0xd4a8ec){const _0x52cb89=_0x2c702b;_0x4f8345===_0x4ba2c1['ImageSourceType'][_0x52cb89(0x4c6)]||_0xd4a8ec==null||this[_0x52cb89(0x3f3)]['set'](_0x223128,_0xd4a8ec);}async[_0x2c702b(0x281)](_0x33b393){const _0x48f41a=_0x2c702b;try{const _0x20c635=this['_replaceFileID'](this[_0x48f41a(0x3db)](),''+_0x33b393),_0x510407=(await this[_0x48f41a(0x2b2)][_0x48f41a(0x2f7)](_0x20c635))[_0x48f41a(0x24a)];return _0x510407['error']&&_0x510407[_0x48f41a(0x538)][_0x48f41a(0x553)]===_0x18c1e7['OK']?Promise[_0x48f41a(0x420)](_0x510407[_0x48f41a(0x2a6)]):Promise[_0x48f41a(0x2d8)](_0x510407['error']);}catch(_0x57c0cf){return Promise[_0x48f41a(0x2d8)](_0x57c0cf);}}async['saveImage'](_0x196aeb){const _0x268f59=_0x2c702b;let _0x454230='';if(!_0x5ea3f0[_0x268f59(0x32d)](_0x196aeb[_0x268f59(0x375)]))return this[_0x268f59(0x2c2)](),Promise['reject'](new Error(_0x4ba2c1[_0x268f59(0x233)][_0x268f59(0x454)]));if(_0x196aeb[_0x268f59(0x3a1)]>_0x188435)return this[_0x268f59(0x2c2)](),Promise[_0x268f59(0x2d8)](new Error(_0x4ba2c1['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x3183ea=new FormData();_0x3183ea[_0x268f59(0x55b)](_0x268f59(0x376),_0x196aeb);const _0x103c6e=this['_univerInstanceService'][_0x268f59(0x4cc)](),_0x61b95=_0x103c6e==null?void 0x0:_0x103c6e[_0x268f59(0x36b)]();if(!_0x61b95)throw new Error(_0x268f59(0x35b));const _0x42510a=this[_0x268f59(0x561)]()+_0x268f59(0x3e7)+_0x196aeb[_0x268f59(0x3a1)]['toString']()+'&source='+_0x5171b7['UnitEmbedded']+_0x268f59(0x4c9)+encodeURIComponent(_0x61b95),_0x40ff74=await(await fetch(_0x42510a,{'method':_0x268f59(0x26b),'body':_0x3183ea}))[_0x268f59(0x5b9)]();if(typeof _0x40ff74[_0x268f59(0x1f5)]!=_0x268f59(0x283))return this[_0x268f59(0x2c2)](),Promise[_0x268f59(0x2d8)](new Error(_0x4ba2c1[_0x268f59(0x233)][_0x268f59(0x298)]));_0x454230=_0x40ff74[_0x268f59(0x1f5)];}catch{return this[_0x268f59(0x2c2)](),Promise[_0x268f59(0x2d8)](new Error(_0x4ba2c1[_0x268f59(0x233)][_0x268f59(0x298)]));}return new Promise((_0x574006,_0x5406bf)=>{const _0x7c8c5a=_0x268f59,_0x186310=new FileReader();_0x186310[_0x7c8c5a(0x54b)](_0x196aeb),_0x186310[_0x7c8c5a(0x2bb)]=_0x428a49=>{const _0x1b4c91=_0x7c8c5a;var _0x4a0b41;const _0x9b962d=(_0x4a0b41=_0x428a49[_0x1b4c91(0x2af)])==null?void 0x0:_0x4a0b41['result'];if(_0x9b962d==null){this[_0x1b4c91(0x2c2)](),_0x5406bf(new Error(_0x4ba2c1[_0x1b4c91(0x233)]['ERROR_IMAGE']));return;}const _0x1ed90e=_0x59f65f[_0x1b4c91(0x5ad)][_0x1b4c91(0x394)](0x6);_0x574006({'imageId':_0x1ed90e,'imageSourceType':_0x4ba2c1[_0x1b4c91(0x324)][_0x1b4c91(0x49b)],'source':_0x454230,'base64Cache':_0x9b962d,'status':_0x4ba2c1[_0x1b4c91(0x233)][_0x1b4c91(0x461)]}),this[_0x1b4c91(0x2c2)]();};});}[_0x2c702b(0x561)](){const _0x1dae36=_0x2c702b;var _0x16f277;return(_0x16f277=this[_0x1dae36(0x2a3)][_0x1dae36(0x330)](_0x3c9c81))!=null?_0x16f277:_0x4315b0;}[_0x2c702b(0x3db)](){const _0x447a9c=_0x2c702b;var _0xcfa1bf;return(_0xcfa1bf=this['_configService'][_0x447a9c(0x330)](_0x49e820))!=null?_0xcfa1bf:_0x20095b;}[_0x2c702b(0x27c)](_0x2fbea4,_0x1263f8){const _0x32f871=_0x2c702b;return _0x2fbea4[_0x32f871(0x50e)](_0x32f871(0x46a),_0x1263f8);}['_decreaseWaiting'](){const _0x240265=_0x2c702b;this['_waitCount']-=0x1,this[_0x240265(0x3b2)]['next'](this[_0x240265(0x1e0)]);}},_0x21561b[_0x2c702b(0x4ea)]=_0x579c76([_0x1bc933(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x33d91c[_0x2c702b(0x1d5)])),_0x1bc933(0x1,_0x59f65f[_0x2c702b(0x39d)]),_0x1bc933(0x2,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x350)]))],_0x21561b['ImageIoService']);var _0x805711=Object[_0x2c702b(0x227)],_0x18acec=Object[_0x2c702b(0x294)],_0x601912=(_0x36ef29,_0xd8c6b9,_0x11d39b,_0x533d9d)=>{const _0x5e2810=_0x2c702b;for(var _0x878a36=_0x533d9d>0x1?void 0x0:_0x533d9d?_0x18acec(_0xd8c6b9,_0x11d39b):_0xd8c6b9,_0x249635=_0x36ef29[_0x5e2810(0x493)]-0x1,_0x38922a;_0x249635>=0x0;_0x249635--)(_0x38922a=_0x36ef29[_0x249635])&&(_0x878a36=(_0x533d9d?_0x38922a(_0xd8c6b9,_0x11d39b,_0x878a36):_0x38922a(_0x878a36))||_0x878a36);return _0x533d9d&&_0x878a36&&_0x805711(_0xd8c6b9,_0x11d39b,_0x878a36),_0x878a36;},_0x3acc6d=(_0x14e734,_0x31e50b)=>(_0xb750cb,_0x25b70a)=>_0x31e50b(_0xb750cb,_0x25b70a,_0x14e734);let _0x190827=class extends _0x59f65f[_0x2c702b(0x1e7)]{constructor(_0xab7491,_0x5eb852,_0x5d3693,_0x49abfb,_0x188b71){const _0x34e09a=_0x2c702b;super(),this[_0x34e09a(0x232)]=_0xab7491,this[_0x34e09a(0x54c)]=_0x5eb852,this[_0x34e09a(0x1fd)]=_0x5d3693,this[_0x34e09a(0x29b)]=_0x49abfb,this[_0x34e09a(0x547)]=_0x188b71,this[_0x34e09a(0x244)](),this['_initCloseConn']();}[_0x2c702b(0x2b5)](){const _0x44f4b0=_0x2c702b,_0x2d58e2=async _0x24708f=>{const _0x165b57=_0x50c2;(await this[_0x165b57(0x29b)]['requireSession'](_0x24708f))['event$']['pipe'](_0x4e8b21[_0x165b57(0x46c)](_0x4b4b0d=>_0x4b4b0d[_0x165b57(0x50d)]===_0x4c33ab['CollaborationEvent']['SHOULD_CLOSE_CONN']),_0x4e8b21[_0x165b57(0x397)](this[_0x165b57(0x45e)]))[_0x165b57(0x41d)](_0x361a07=>{const _0x21473f=_0x165b57,_0x2e0d0f=_0x361a07,{reason:_0x3dc2c6}=_0x2e0d0f[_0x21473f(0x51d)];this[_0x21473f(0x232)][_0x21473f(0x2f7)](_0x40690c[_0x21473f(0x37f)])['show']({'type':_0x936b9e[_0x21473f(0x51a)][_0x21473f(0x4db)],'content':this[_0x21473f(0x547)]['t'](_0x21473f(0x546))+'('+_0x3dc2c6+')'}),this[_0x21473f(0x1fd)][_0x21473f(0x372)](new _0x5dba16[(_0x21473f(0x4a2))](_0x24708f)['id'],!0x1),this['_collaborationSessionService'][_0x21473f(0x332)](_0x24708f);});};_0x6d0798[_0x44f4b0(0x21b)](this[_0x44f4b0(0x54c)][_0x44f4b0(0x2a2)](_0x59f65f[_0x44f4b0(0x28f)][_0x44f4b0(0x46b)]),this[_0x44f4b0(0x54c)][_0x44f4b0(0x2a2)](_0x59f65f['UniverInstanceType'][_0x44f4b0(0x525)]))[_0x44f4b0(0x47e)](_0x4e8b21[_0x44f4b0(0x4a7)](_0x5390b9=>_0x5390b9['getUnitId']()),_0x4e8b21[_0x44f4b0(0x46c)](_0xcba68=>!_0x59f65f[_0x44f4b0(0x3f0)](_0xcba68)),_0x4e8b21['takeUntil'](this[_0x44f4b0(0x45e)]))[_0x44f4b0(0x41d)](_0x4b0e51=>{_0x2d58e2(_0x4b0e51);});}[_0x2c702b(0x244)](){const _0x2a8775=_0x2c702b,_0x22aecf=async _0x36aba2=>{const _0x134b69=_0x50c2;(await this[_0x134b69(0x29b)][_0x134b69(0x256)](_0x36aba2))[_0x134b69(0x5c0)][_0x134b69(0x47e)](_0x4e8b21[_0x134b69(0x46c)](_0x143470=>_0x143470[_0x134b69(0x50d)]===_0x4c33ab[_0x134b69(0x550)][_0x134b69(0x3e5)]),_0x4e8b21[_0x134b69(0x397)](this['dispose$']))[_0x134b69(0x41d)](_0x224ded=>{const _0x31b6f3=_0x134b69,_0xf93f8a=_0x224ded,{objectId:_0x5ca8ad}=_0xf93f8a[_0x31b6f3(0x51d)],_0x37109c=this['_injector'][_0x31b6f3(0x2f7)](_0x15ca36[_0x31b6f3(0x4a1)]);_0x5ca8ad===_0x36aba2?_0x37109c[_0x31b6f3(0x205)](_0x36aba2):_0x37109c[_0x31b6f3(0x589)](_0x36aba2,_0x5ca8ad);});};_0x6d0798[_0x2a8775(0x21b)](this[_0x2a8775(0x54c)][_0x2a8775(0x2a2)](_0x59f65f[_0x2a8775(0x28f)]['UNIVER_SHEET']),this[_0x2a8775(0x54c)][_0x2a8775(0x2a2)](_0x59f65f[_0x2a8775(0x28f)][_0x2a8775(0x525)]))['pipe'](_0x4e8b21[_0x2a8775(0x4a7)](_0xacbe91=>_0xacbe91['getUnitId']()),_0x4e8b21[_0x2a8775(0x46c)](_0x333a99=>!_0x59f65f[_0x2a8775(0x3f0)](_0x333a99)),_0x4e8b21[_0x2a8775(0x397)](this['dispose$']))['subscribe'](_0x265a09=>{_0x22aecf(_0x265a09);});}};_0x190827=_0x601912([_0x59f65f['OnLifecycle'](_0x59f65f[_0x2c702b(0x1e5)][_0x2c702b(0x51e)],_0x190827),_0x3acc6d(0x0,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)])),_0x3acc6d(0x1,_0x59f65f[_0x2c702b(0x350)]),_0x3acc6d(0x2,_0x59f65f[_0x2c702b(0x1da)]),_0x3acc6d(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x21561b[_0x2c702b(0x42a)])),_0x3acc6d(0x4,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x1cf)]))],_0x190827);var _0x4d4a2a=Object[_0x2c702b(0x227)],_0x45ed3b=Object['getOwnPropertyDescriptor'],_0x1d5d4f=(_0x45fb80,_0x542f07,_0x527f9d)=>_0x542f07 in _0x45fb80?_0x4d4a2a(_0x45fb80,_0x542f07,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x527f9d}):_0x45fb80[_0x542f07]=_0x527f9d,_0x26b8a9=(_0x8f513,_0xf5eefb,_0x23c6c2,_0x4f3efb)=>{const _0x44d6a1=_0x2c702b;for(var _0x186a3f=_0x4f3efb>0x1?void 0x0:_0x4f3efb?_0x45ed3b(_0xf5eefb,_0x23c6c2):_0xf5eefb,_0x2b83e4=_0x8f513[_0x44d6a1(0x493)]-0x1,_0x1b0e99;_0x2b83e4>=0x0;_0x2b83e4--)(_0x1b0e99=_0x8f513[_0x2b83e4])&&(_0x186a3f=(_0x4f3efb?_0x1b0e99(_0xf5eefb,_0x23c6c2,_0x186a3f):_0x1b0e99(_0x186a3f))||_0x186a3f);return _0x4f3efb&&_0x186a3f&&_0x4d4a2a(_0xf5eefb,_0x23c6c2,_0x186a3f),_0x186a3f;},_0x31b597=(_0x5b599c,_0x265692)=>(_0x307425,_0xdd0e68)=>_0x265692(_0x307425,_0xdd0e68,_0x5b599c),_0x10cba4=(_0x1f26c9,_0x1472fa,_0xb3bbe8)=>_0x1d5d4f(_0x1f26c9,_0x1472fa+'',_0xb3bbe8);const _0x147918=_0x2c702b(0x3eb);_0x21561b[_0x2c702b(0x51f)]=class extends _0x59f65f[_0x2c702b(0x2ac)]{constructor(_0x12b553,_0x52847c,_0x9d00e4,_0xe0208c){const _0xe9cf82=_0x2c702b;super(),this[_0xe9cf82(0x2e8)]=_0x12b553,this[_0xe9cf82(0x591)]=_0x52847c,this[_0xe9cf82(0x2a5)]=_0x9d00e4,this[_0xe9cf82(0x232)]=_0xe0208c;}[_0x2c702b(0x599)](){const _0x449e1f=_0x2c702b;this[_0x449e1f(0x4f4)]();}['onRendered'](){const _0x161558=_0x2c702b;this[_0x161558(0x2de)]();}[_0x2c702b(0x4f4)](){const _0x20d449=_0x2c702b;var _0xda94e8,_0x400610,_0x19a450,_0x5857eb;this[_0x20d449(0x232)][_0x20d449(0x35d)](_0x59f65f['IUndoRedoService'])&&this['_logService'][_0x20d449(0x538)](_0x20d449(0x32a),_0x20d449(0x491));let _0x5f0216=[[_0x59f65f[_0x20d449(0x21e)],{'useClass':_0x21f747}],[_0x21561b[_0x20d449(0x42a)]],[_0x427206],[_0x33d91c[_0x20d449(0x1d5)]],[_0x5c813f,{'useClass':_0x270c1d}],[_0x1137aa],[_0x21561b[_0x20d449(0x293)]],[_0x33d91c[_0x20d449(0x222)]],[_0x44d70e],[_0x191131],[_0x2e3636],[_0x267a51],[_0x3c43b0],[_0x256572],[_0x190827],[_0x285153,{'useClass':(_0x400610=(_0xda94e8=this[_0x20d449(0x2e8)])==null?void 0x0:_0xda94e8[_0x20d449(0x320)])!=null?_0x400610:_0x21561b[_0x20d449(0x4bb)]}],[_0x33d91c[_0x20d449(0x37e)],{'useClass':_0x33d91c[_0x20d449(0x4d1)]}],[_0x4c33ab[_0x20d449(0x2d0)],{'useClass':_0x21561b['SnapshotServerOverHTTPService']}],[_0x59f65f['IAuthzIoService'],{'useClass':_0x21561b[_0x20d449(0x391)]}],[_0x4ba2c1['IImageIoService'],{'useClass':_0x21561b[_0x20d449(0x4ea)]}],[_0x21561b['CollaborationController']],[_0x21561b[_0x20d449(0x331)]],[_0x21561b['DesktopCollaborationStatusDisplayController']],[_0x30022e],[_0x30cf8d]];(_0x19a450=this[_0x20d449(0x2e8)])!=null&&_0x19a450[_0x20d449(0x446)]&&_0x5f0216[_0x20d449(0x2ba)]([_0x3c9dbb,{'useClass':_0x328887}]),_0x5f0216=_0x59f65f[_0x20d449(0x4e9)](_0x5f0216,(_0x5857eb=this[_0x20d449(0x2e8)])==null?void 0x0:_0x5857eb[_0x20d449(0x239)]),_0x5f0216[_0x20d449(0x363)](_0x2cf785=>this[_0x20d449(0x232)]['add'](_0x2cf785)),this['_initModules']();}[_0x2c702b(0x2de)](){const _0x490ca6=_0x2c702b;this[_0x490ca6(0x35f)](this[_0x490ca6(0x2a5)][_0x490ca6(0x37d)](_0x59f65f[_0x490ca6(0x28f)]['UNIVER_DOC'],[_0x2bbb1b])),this[_0x490ca6(0x35f)](this[_0x490ca6(0x2a5)][_0x490ca6(0x37d)](_0x59f65f['UniverInstanceType']['UNIVER_SHEET'],[_0x1c8323]));}[_0x2c702b(0x2d9)](){const _0xa7f4b4=_0x2c702b;var _0x557ed2,_0x4f4146;this[_0xa7f4b4(0x232)][_0xa7f4b4(0x2f7)](_0x33d91c[_0xa7f4b4(0x1d5)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x33d91c[_0xa7f4b4(0x470)]({'maxParallel':0x6})}),(_0x557ed2=this['_config'])!=null&&_0x557ed2[_0xa7f4b4(0x57d)]||this['_injector'][_0xa7f4b4(0x2f7)](_0x21561b[_0xa7f4b4(0x293)])['disableLocalCache'](),(_0x4f4146=this[_0xa7f4b4(0x2e8)])!=null&&_0x4f4146[_0xa7f4b4(0x45c)]&&this[_0xa7f4b4(0x232)][_0xa7f4b4(0x2f7)](_0x3c43b0);}},_0x10cba4(_0x21561b[_0x2c702b(0x51f)],'pluginName',_0x147918),_0x21561b[_0x2c702b(0x51f)]=_0x26b8a9([_0x59f65f['DependentOn'](_0x4c33ab[_0x2c702b(0x29e)]),_0x31b597(0x1,_0x59f65f[_0x2c702b(0x5a5)]),_0x31b597(0x2,_0x59fc99['IRenderManagerService']),_0x31b597(0x3,_0x59f65f[_0x2c702b(0x57e)](_0x59f65f[_0x2c702b(0x45d)]))],_0x21561b['UniverCollaborationClientPlugin']),_0x21561b[_0x2c702b(0x273)]=_0x4b5577,_0x21561b[_0x2c702b(0x47f)]=_0x124ad0,_0x21561b[_0x2c702b(0x261)]=_0x5d608a,_0x21561b[_0x2c702b(0x1fa)]=_0x56e84e,_0x21561b[_0x2c702b(0x3ca)]=_0x471604,_0x21561b[_0x2c702b(0x5b7)]=_0x256572,_0x21561b[_0x2c702b(0x4f0)]=_0x2c93f2,_0x21561b[_0x2c702b(0x53a)]=_0x941b18,_0x21561b[_0x2c702b(0x4cf)]=_0x285153,_0x21561b['IURLService']=_0x5c813f,_0x21561b['LOCAL_CACHE_INTERVAL_KEY']=_0x219665,_0x21561b[_0x2c702b(0x1f3)]=_0x5565db,_0x21561b[_0x2c702b(0x41c)]=_0x577ef8,_0x21561b[_0x2c702b(0x593)]=_0x27f2b1,_0x21561b['SNAPSHOT_URL_KEY']=_0x47cbd6,_0x21561b[_0x2c702b(0x54f)]=_0x29549f,_0x21561b[_0x2c702b(0x5bd)]=_0xa87b1,_0x21561b['WebURLService']=_0x270c1d,_0x21561b[_0x2c702b(0x436)]=_0x4e430e,_0x21561b[_0x2c702b(0x58a)]=_0x4ae816,Object[_0x2c702b(0x227)](_0x21561b,Symbol[_0x2c702b(0x3ae)],{'value':_0x2c702b(0x268)});}));
|