@univerjs-pro/collaboration-client 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _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(_0x2ba193,_0x5c5614){const _0x41da0=_0x3d0e,_0x46f166=_0x2ba193();while(!![]){try{const _0x59f4e7=-parseInt(_0x41da0(0x18c))/0x1*(-parseInt(_0x41da0(0x217))/0x2)+parseInt(_0x41da0(0x222))/0x3*(-parseInt(_0x41da0(0x1f0))/0x4)+-parseInt(_0x41da0(0x23b))/0x5*(parseInt(_0x41da0(0x33d))/0x6)+parseInt(_0x41da0(0x2d2))/0x7+-parseInt(_0x41da0(0x335))/0x8*(parseInt(_0x41da0(0x341))/0x9)+parseInt(_0x41da0(0x550))/0xa*(parseInt(_0x41da0(0x3fc))/0xb)+parseInt(_0x41da0(0x2b5))/0xc*(parseInt(_0x41da0(0x582))/0xd);if(_0x59f4e7===_0x5c5614)break;else _0x46f166['push'](_0x46f166['shift']());}catch(_0xa6d127){_0x46f166['push'](_0x46f166['shift']());}}}(_0x7461,0xd854b),function(_0x2c6cbc,_0x34d8f2){const _0x4db6e7=_0x3d0e;typeof exports==_0x4db6e7(0x50c)&&typeof module<'u'?_0x34d8f2(exports,require(_0x4db6e7(0x253)),require('@univerjs/sheets'),require(_0x4db6e7(0x1b3)),require(_0x4db6e7(0x192)),require('@univerjs-pro/collaboration'),require(_0x4db6e7(0x427)),require('rxjs/operators'),require(_0x4db6e7(0x2b0)),require(_0x4db6e7(0x52e)),require(_0x4db6e7(0x43c)),require('@univerjs/engine-render'),require(_0x4db6e7(0x2e3)),require(_0x4db6e7(0x52b)),require(_0x4db6e7(0x433)),require('react'),require(_0x4db6e7(0x493)),require('@univerjs/rpc')):typeof define==_0x4db6e7(0x1b6)&&define['amd']?define([_0x4db6e7(0x2cb),'@univerjs/core',_0x4db6e7(0x30f),'@univerjs/design','@univerjs/ui',_0x4db6e7(0x383),'rxjs',_0x4db6e7(0x382),'@univerjs/docs',_0x4db6e7(0x52e),'@univerjs/drawing',_0x4db6e7(0x517),_0x4db6e7(0x2e3),_0x4db6e7(0x52b),_0x4db6e7(0x433),'react','clsx',_0x4db6e7(0x4b9)],_0x34d8f2):(_0x2c6cbc=typeof globalThis<'u'?globalThis:_0x2c6cbc||self,_0x34d8f2(_0x2c6cbc['UniverCollaborationClient']={},_0x2c6cbc[_0x4db6e7(0x38f)],_0x2c6cbc[_0x4db6e7(0x419)],_0x2c6cbc[_0x4db6e7(0x467)],_0x2c6cbc[_0x4db6e7(0x236)],_0x2c6cbc[_0x4db6e7(0x326)],_0x2c6cbc[_0x4db6e7(0x427)],_0x2c6cbc[_0x4db6e7(0x427)]['operators'],_0x2c6cbc[_0x4db6e7(0x41d)],_0x2c6cbc['UniverNetwork'],_0x2c6cbc['UniverDrawing'],_0x2c6cbc[_0x4db6e7(0x4ca)],_0x2c6cbc['UniverEngineFormula'],_0x2c6cbc[_0x4db6e7(0x296)][_0x4db6e7(0x246)],_0x2c6cbc[_0x4db6e7(0x3ac)],_0x2c6cbc[_0x4db6e7(0x265)],_0x2c6cbc[_0x4db6e7(0x493)],_0x2c6cbc[_0x4db6e7(0x35b)]));}(this,function(_0x4c54a0,_0x3aaa00,_0x459c9c,_0x564857,_0x2b4c8d,_0x4d4d9d,_0x5cbc6e,_0x267050,_0x593e90,_0x3e5de5,_0x297e96,_0x3b10b4,_0x55b16b,_0x58296f,_0xf60f4c,_0x349b95,_0x3adb83,_0x2a45ef){'use strict';const _0x18d6ba=_0x3d0e;var _0x5b3c04=Object[_0x18d6ba(0x272)],_0x298c5c=(_0x3e5f9f,_0x59486e,_0xa9370d)=>_0x59486e in _0x3e5f9f?_0x5b3c04(_0x3e5f9f,_0x59486e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa9370d}):_0x3e5f9f[_0x59486e]=_0xa9370d,_0x2c46b8=(_0x23ff2d,_0x2f657a,_0x228fbf)=>_0x298c5c(_0x23ff2d,typeof _0x2f657a!=_0x18d6ba(0x54b)?_0x2f657a+'':_0x2f657a,_0x228fbf);const _0x4bec73='SNAPSHOT_SERVER_URL_KEY',_0x4e3762='/universer-api/snapshot',_0x37c740=_0x18d6ba(0x315),_0x3867e3=_0x18d6ba(0x578),_0xdc44de=_0x18d6ba(0x4cf),_0x5c44f0=_0x18d6ba(0x465),_0x1d14f0=_0x18d6ba(0x58e),_0x2689b9='HEARTBEAT_TIMEOUT',_0x3a9285=_0x18d6ba(0x1e6),_0x1651af=_0x18d6ba(0x4c9),_0x6e910a=_0x18d6ba(0x3a1),_0x9f6d65=_0x18d6ba(0x360),_0x699dc8='/universer-api/comb',_0xbbcc2f=_0x18d6ba(0x46e),_0x3a7a02='/universer-api/oidc/authpage';var _0x5c79e0=(_0xc8344=>(_0xc8344[_0xc8344[_0x18d6ba(0x2ca)]=0x0]=_0x18d6ba(0x2ca),_0xc8344[_0xc8344['OK']=0x1]='OK',_0xc8344[_0xc8344[_0x18d6ba(0x449)]=0x2]=_0x18d6ba(0x449),_0xc8344[_0xc8344[_0x18d6ba(0x2b6)]=0x3]='PERMISSION_DENIED',_0xc8344[_0xc8344[_0x18d6ba(0x2cc)]=0x4]=_0x18d6ba(0x2cc),_0xc8344[_0xc8344[_0x18d6ba(0x4b1)]=0x5]='UNAUTHENTICATED',_0xc8344[_0xc8344['ALREADY_EXISTS']=0x6]=_0x18d6ba(0x361),_0xc8344[_0xc8344[_0x18d6ba(0x3c0)]=0x7]=_0x18d6ba(0x3c0),_0xc8344[_0xc8344[_0x18d6ba(0x28b)]=0x8]='TOO_MANY_REQUESTS',_0xc8344[_0xc8344['COMPLETION_FINISHED']=0x9]=_0x18d6ba(0x49e),_0xc8344[_0xc8344[_0x18d6ba(0x1fe)]=0x1389]=_0x18d6ba(0x1fe),_0xc8344[_0xc8344[_0x18d6ba(0x2e0)]=0x1771]=_0x18d6ba(0x2e0),_0xc8344[_0xc8344[_0x18d6ba(0x544)]=0x1772]=_0x18d6ba(0x544),_0xc8344[_0xc8344[_0x18d6ba(0x43d)]=0x1b59]='APPLY_REJECT',_0xc8344[_0xc8344[_0x18d6ba(0x2cf)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc8344[_0xc8344['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x18d6ba(0x58c),_0xc8344[_0xc8344[_0x18d6ba(0x4eb)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xc8344[_0xc8344[_0x18d6ba(0x4f4)]=0x1f41]=_0x18d6ba(0x4f4),_0xc8344[_0xc8344[_0x18d6ba(0x2a8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xc8344[_0xc8344['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x18d6ba(0x30b),_0xc8344[_0xc8344['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x18d6ba(0x327),_0xc8344[_0xc8344[_0x18d6ba(0x1e0)]=0x232c]=_0x18d6ba(0x1e0),_0xc8344[_0xc8344[_0x18d6ba(0x514)]=0x232d]=_0x18d6ba(0x514),_0xc8344[_0xc8344[_0x18d6ba(0x31b)]=0x2711]=_0x18d6ba(0x31b),_0xc8344[_0xc8344[_0x18d6ba(0x4fb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xc8344[_0xc8344['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc8344[_0xc8344[_0x18d6ba(0x429)]=0x2714]=_0x18d6ba(0x429),_0xc8344[_0xc8344[_0x18d6ba(0x412)]=-0x1]=_0x18d6ba(0x412),_0xc8344))(_0x5c79e0||{}),_0x3a110c=(_0x3e1a64=>(_0x3e1a64[_0x3e1a64['UNIVER_UNKNOWN']=0x0]=_0x18d6ba(0x359),_0x3e1a64[_0x3e1a64[_0x18d6ba(0x4c1)]=0x1]='UNIVER_DOC',_0x3e1a64[_0x3e1a64[_0x18d6ba(0x18a)]=0x2]=_0x18d6ba(0x18a),_0x3e1a64[_0x3e1a64[_0x18d6ba(0x4c3)]=0x3]=_0x18d6ba(0x4c3),_0x3e1a64[_0x3e1a64[_0x18d6ba(0x48a)]=0x4]=_0x18d6ba(0x48a),_0x3e1a64[_0x3e1a64[_0x18d6ba(0x412)]=-0x1]=_0x18d6ba(0x412),_0x3e1a64))(_0x3a110c||{}),_0x34149a=(_0x1420f0=>(_0x1420f0[_0x1420f0[_0x18d6ba(0x4a6)]=0x0]=_0x18d6ba(0x4a6),_0x1420f0[_0x1420f0[_0x18d6ba(0x2ff)]=0x1]=_0x18d6ba(0x2ff),_0x1420f0[_0x1420f0[_0x18d6ba(0x4a8)]=0x2]=_0x18d6ba(0x4a8),_0x1420f0[_0x1420f0[_0x18d6ba(0x1c3)]=0x3]=_0x18d6ba(0x1c3),_0x1420f0[_0x1420f0[_0x18d6ba(0x365)]=0x4]='INGEST',_0x1420f0[_0x1420f0[_0x18d6ba(0x31e)]=0x5]=_0x18d6ba(0x31e),_0x1420f0[_0x1420f0[_0x18d6ba(0x4c7)]=0x6]=_0x18d6ba(0x4c7),_0x1420f0[_0x1420f0[_0x18d6ba(0x412)]=-0x1]=_0x18d6ba(0x412),_0x1420f0))(_0x34149a||{}),_0x3833d2=(_0xec896c=>(_0xec896c[_0xec896c[_0x18d6ba(0x2ad)]=0x0]='UNKNOWN_CODE',_0xec896c[_0xec896c['OK']=0x1]='OK',_0xec896c[_0xec896c[_0x18d6ba(0x302)]=0x2]=_0x18d6ba(0x302),_0xec896c[_0xec896c[_0x18d6ba(0x412)]=-0x1]='UNRECOGNIZED',_0xec896c))(_0x3833d2||{}),_0x306c39=(_0x1a2ab6=>(_0x1a2ab6[_0x1a2ab6[_0x18d6ba(0x22e)]=0x0]=_0x18d6ba(0x22e),_0x1a2ab6[_0x1a2ab6['HttpImport']=0x1]='HttpImport',_0x1a2ab6[_0x1a2ab6['HttpExport']=0x2]=_0x18d6ba(0x2ba),_0x1a2ab6[_0x1a2ab6[_0x18d6ba(0x37b)]=0x3]=_0x18d6ba(0x37b),_0x1a2ab6[_0x1a2ab6[_0x18d6ba(0x456)]=0x4]=_0x18d6ba(0x456),_0x1a2ab6[_0x1a2ab6[_0x18d6ba(0x412)]=-0x1]='UNRECOGNIZED',_0x1a2ab6))(_0x306c39||{}),_0x320cdc=Object[_0x18d6ba(0x272)],_0x40dcda=Object[_0x18d6ba(0x3fd)],_0x29e7e2=(_0x4988cc,_0x5acb35,_0x22753a,_0x2b0890)=>{const _0x51f2cb=_0x18d6ba;for(var _0x356e4f=_0x2b0890>0x1?void 0x0:_0x2b0890?_0x40dcda(_0x5acb35,_0x22753a):_0x5acb35,_0x28a291=_0x4988cc[_0x51f2cb(0x574)]-0x1,_0x3ba90e;_0x28a291>=0x0;_0x28a291--)(_0x3ba90e=_0x4988cc[_0x28a291])&&(_0x356e4f=(_0x2b0890?_0x3ba90e(_0x5acb35,_0x22753a,_0x356e4f):_0x3ba90e(_0x356e4f))||_0x356e4f);return _0x2b0890&&_0x356e4f&&_0x320cdc(_0x5acb35,_0x22753a,_0x356e4f),_0x356e4f;},_0x3f3e0e=(_0x44f51d,_0x40982f)=>(_0x174c5d,_0x530424)=>_0x40982f(_0x174c5d,_0x530424,_0x44f51d);let _0x107a5c=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x43d365,_0x19008f){const _0x56e9e0=_0x18d6ba;super(),_0x2c46b8(this,_0x56e9e0(0x34c),new Map()),(this[_0x56e9e0(0x318)]=_0x43d365,this['_userManagerService']=_0x19008f,this[_0x56e9e0(0x43a)](_0x3aaa00[_0x56e9e0(0x1cd)](_0x5cbc6e[_0x56e9e0(0x424)](this[_0x56e9e0(0x318)][_0x56e9e0(0x551)](_0x3aaa00[_0x56e9e0(0x434)]['UNIVER_SHEET'])[_0x56e9e0(0x32f)](_0x267050['map'](_0x9cab21=>_0x9cab21[_0x56e9e0(0x4b6)]())),this['_univerInstanceService'][_0x56e9e0(0x551)](_0x3aaa00[_0x56e9e0(0x434)][_0x56e9e0(0x4c1)])[_0x56e9e0(0x32f)](_0x267050['map'](_0x29d958=>_0x29d958['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3aaa00[_0x56e9e0(0x434)]['UNIVER_SLIDE'])[_0x56e9e0(0x32f)](_0x267050[_0x56e9e0(0x343)](_0x409b54=>_0x409b54['getUnitId']())))['subscribe'](_0x1d2699=>this[_0x56e9e0(0x1ce)](_0x1d2699)))));}[_0x18d6ba(0x55f)](_0x2eef17){const _0x76de18=_0x18d6ba;this[_0x76de18(0x452)][_0x76de18(0x55f)](_0x2eef17);}[_0x18d6ba(0x331)](){const _0x5e926e=_0x18d6ba;return this[_0x5e926e(0x452)][_0x5e926e(0x331)]();}[_0x18d6ba(0x4ba)](_0x4e1808,_0x2f3da6){const _0x46c5a7=_0x18d6ba;let _0x27d3fd=this[_0x46c5a7(0x34c)]['get'](_0x4e1808);_0x27d3fd||(_0x27d3fd=new _0x41ddb6(),this[_0x46c5a7(0x34c)][_0x46c5a7(0x2a6)](_0x4e1808,_0x27d3fd)),_0x27d3fd['updateMember'](_0x2f3da6);}[_0x18d6ba(0x458)](_0x12cfee,_0x178c27){const _0x30a288=_0x18d6ba,_0xee8eac=this[_0x30a288(0x34c)][_0x30a288(0x3e4)](_0x12cfee);_0xee8eac&&_0xee8eac[_0x30a288(0x458)](_0x178c27);}[_0x18d6ba(0x201)](_0x23e892){const _0x49f188=_0x18d6ba;return this[_0x49f188(0x34c)]['get'](_0x23e892);}['getMember'](_0x10a524,_0x44e57a){const _0x3aca63=_0x18d6ba,_0x3764c6=this[_0x3aca63(0x34c)]['get'](_0x10a524);if(_0x3764c6)return _0x3764c6[_0x3aca63(0x2c1)](_0x44e57a);}['_removeRoom'](_0x57fd1f){const _0x2a3d91=_0x18d6ba,_0x3d1815=this['_roomMembers'][_0x2a3d91(0x3e4)](_0x57fd1f);_0x3d1815&&(_0x3d1815['dispose'](),this[_0x2a3d91(0x34c)]['delete'](_0x57fd1f));}['dispose'](){const _0x76d38f=_0x18d6ba;this[_0x76d38f(0x34c)][_0x76d38f(0x387)](_0x246b79=>_0x246b79[_0x76d38f(0x338)]()),this[_0x76d38f(0x34c)][_0x76d38f(0x580)]();}};_0x107a5c=_0x29e7e2([_0x3f3e0e(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x3f3e0e(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x1c8)]))],_0x107a5c);class _0x41ddb6 extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(){const _0x376005=_0x18d6ba;super(...arguments),_0x2c46b8(this,_0x376005(0x538),new Map());}['dispose'](){const _0x2bb029=_0x18d6ba;this[_0x2bb029(0x538)]['clear']();}['updateMember'](_0x85e7a8){const _0x10639c=_0x18d6ba;this[_0x10639c(0x538)][_0x10639c(0x2a6)](_0x85e7a8[_0x10639c(0x229)],_0x85e7a8);}[_0x18d6ba(0x458)](_0x4b564c){this['_members']['delete'](_0x4b564c);}['getMember'](_0x2405c1){const _0x17ea5b=_0x18d6ba;return this[_0x17ea5b(0x538)][_0x17ea5b(0x3e4)](_0x2405c1);}}function _0x28e9a6(_0xaf0df6){const _0x1d0e7c=_0x18d6ba;var _0x3488f,_0x117ce5,_0x91aee2,_0x498b41;const _0x4e60d7=_0xaf0df6[_0x1d0e7c(0x44f)],_0x3e32c9=JSON['parse'](_0x4e60d7);switch(_0x3e32c9[_0x1d0e7c(0x196)]){case _0x34149a[_0x1d0e7c(0x31e)]:case _0x34149a['HELLO']:{const _0x3a53f3=_0x3e32c9[_0x1d0e7c(0x34a)];return{..._0x3e32c9,'data':_0x3a53f3,'cmd':_0x3e32c9['cmd']};}case _0x34149a[_0x1d0e7c(0x4a8)]:{const _0x2ff1ef=_0x3e32c9[_0x1d0e7c(0x473)];return{..._0x3e32c9,'data':_0x2ff1ef,'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};}case _0x34149a[_0x1d0e7c(0x4c7)]:{const _0x2d09b5=_0x3e32c9[_0x1d0e7c(0x414)];switch(_0x2d09b5[_0x1d0e7c(0x539)]){case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x31a)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':(_0x3488f=_0x2d09b5[_0x1d0e7c(0x252)])==null?void 0x0:_0x3488f['cs']},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x4e1)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':(_0x117ce5=_0x2d09b5[_0x1d0e7c(0x26e)])==null?void 0x0:_0x117ce5['cs']},'cmd':_0x3e32c9['cmd']};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x27c)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':(_0x91aee2=_0x2d09b5[_0x1d0e7c(0x529)])==null?void 0x0:_0x91aee2['cs']},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x3fb)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':(_0x498b41=_0x2d09b5[_0x1d0e7c(0x2a7)])==null?void 0x0:_0x498b41['cs']},'cmd':_0x3e32c9['cmd']};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x33e)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x461)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x30c)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x346)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x4af)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x435)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x425)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x41a)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4d4d9d['CollaborationEvent'][_0x1d0e7c(0x21c)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5['liveShareOperation']},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x512)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x41a)]},'cmd':_0x3e32c9['cmd']};case _0x4d4d9d['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x3e32c9,'data':_0x2d09b5,'cmd':_0x3e32c9['cmd']};case _0x4d4d9d[_0x1d0e7c(0x2ae)]['COMMENT_UPDATE']:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x4fd)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)]['UPDATE_PERMISSION_OBJ']:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x3bb)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x2d7)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x32e)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};default:return _0x3e32c9;}}default:return _0x3e32c9;}}function _0x488e2c(_0x469fdd){const _0x41ea82=_0x18d6ba;switch(_0x469fdd['cmd']){case _0x34149a[_0x41ea82(0x31e)]:case _0x34149a[_0x41ea82(0x2ff)]:return JSON[_0x41ea82(0x1f1)]({'cmd':_0x469fdd[_0x41ea82(0x196)],'routeKey':_0x469fdd['routeKey']});case _0x34149a[_0x41ea82(0x365)]:{let _0x667e68;switch(_0x469fdd[_0x41ea82(0x44f)]['eventID']){case _0x4d4d9d[_0x41ea82(0x2ae)]['UPDATE_CURSOR']:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x33e)],'updateCursorEvent':_0x469fdd[_0x41ea82(0x44f)]['data']};break;}case _0x4d4d9d[_0x41ea82(0x2ae)]['USERS_LEAVE']:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x4af)],'leaveEvent':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x30c)]:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x30c)],'joinEvent':_0x469fdd[_0x41ea82(0x44f)]['data']};break;}case _0x4d4d9d[_0x41ea82(0x2ae)]['LIVESHARE_NEW_HOST']:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x425)],'liveShareNewHost':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x21c)]:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x21c)],'liveShareOperation':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x512)]:{_0x667e68={'eventID':_0x4d4d9d['CollaborationEvent'][_0x41ea82(0x512)],'liveShareTerminate':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x3f4)]:{_0x667e68={'eventID':_0x4d4d9d['CollaborationEvent'][_0x41ea82(0x3f4)],'liveShareRequestHost':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x20a)]:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x20a)]};break;}default:_0x667e68={'eventID':_0x469fdd[_0x41ea82(0x44f)]['eventID']};}return JSON[_0x41ea82(0x1f1)]({'cmd':_0x469fdd[_0x41ea82(0x196)],'routeKey':_0x469fdd[_0x41ea82(0x29d)],'collaMsg':_0x667e68});}case _0x34149a[_0x41ea82(0x4a8)]:return JSON[_0x41ea82(0x1f1)]({'cmd':_0x469fdd['cmd'],'routeKey':_0x469fdd[_0x41ea82(0x29d)],'joinReq':_0x469fdd[_0x41ea82(0x44f)]});case _0x34149a['LEAVE']:return JSON[_0x41ea82(0x1f1)]({'cmd':_0x469fdd[_0x41ea82(0x196)],'routeKey':_0x469fdd[_0x41ea82(0x29d)],'leaveReq':_0x469fdd['data']});default:throw new Error(_0x41ea82(0x1eb));}}var _0x4b30f2=Object[_0x18d6ba(0x272)],_0x1cc324=Object[_0x18d6ba(0x3fd)],_0xd0b376=(_0x397f8f,_0x1e0f3a,_0x552e83,_0x6d2b8d)=>{const _0x4e48d1=_0x18d6ba;for(var _0x437d0e=_0x6d2b8d>0x1?void 0x0:_0x6d2b8d?_0x1cc324(_0x1e0f3a,_0x552e83):_0x1e0f3a,_0x55bc3c=_0x397f8f[_0x4e48d1(0x574)]-0x1,_0x499c21;_0x55bc3c>=0x0;_0x55bc3c--)(_0x499c21=_0x397f8f[_0x55bc3c])&&(_0x437d0e=(_0x6d2b8d?_0x499c21(_0x1e0f3a,_0x552e83,_0x437d0e):_0x499c21(_0x437d0e))||_0x437d0e);return _0x6d2b8d&&_0x437d0e&&_0x4b30f2(_0x1e0f3a,_0x552e83,_0x437d0e),_0x437d0e;},_0x304bc5=(_0x146c1f,_0x2f596a)=>(_0x1aec84,_0x209533)=>_0x2f596a(_0x1aec84,_0x209533,_0x146c1f);const _0x41bd32=_0x3aaa00[_0x18d6ba(0x3be)](_0x18d6ba(0x1d1));function _0x102c8e(_0x4cdaa1,_0x1a542b,_0x4fac88){const _0x5d0d4c=_0x18d6ba;return _0x4cdaa1+'/'+_0x1a542b+_0x5d0d4c(0x37c)+_0x4fac88+_0x5d0d4c(0x416);}_0x4c54a0[_0x18d6ba(0x438)]=class{constructor(_0x1ebbf9,_0x1ab90b,_0x52f8b4,_0x5ae9ef,_0x2af592){const _0x589e00=_0x18d6ba;this[_0x589e00(0x472)]=_0x1ebbf9,this[_0x589e00(0x3de)]=_0x1ab90b,this['_configService']=_0x52f8b4,this['_logService']=_0x5ae9ef,this[_0x589e00(0x261)]=_0x2af592;}[_0x18d6ba(0x1f5)](_0x4db635){const _0x322cc1=_0x18d6ba,_0x84ab9=this[_0x322cc1(0x3de)][_0x322cc1(0x1f5)](_0x4db635);if(!_0x84ab9)throw new Error(_0x322cc1(0x3f9));const _0x598ea2=new _0x3aaa00[(_0x322cc1(0x53b))](),_0x611445=new _0x5cbc6e[(_0x322cc1(0x328))]();_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00['toDisposable'](_0x84ab9[_0x322cc1(0x490)][_0x322cc1(0x559)](_0x10cf7c=>_0x611445[_0x322cc1(0x1c5)](_0x10cf7c)))),_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](()=>_0x611445[_0x322cc1(0x581)]()));const _0x4f00ab=new _0x5cbc6e[(_0x322cc1(0x328))]();_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](_0x84ab9[_0x322cc1(0x27d)][_0x322cc1(0x559)](_0x52a5c8=>_0x4f00ab[_0x322cc1(0x1c5)](_0x52a5c8)))),_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](()=>_0x4f00ab[_0x322cc1(0x581)]()));const _0x30b721=new _0x5cbc6e[(_0x322cc1(0x328))]();_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](_0x84ab9['message$']['subscribe'](_0x533fdd=>{const _0x4e9ccd=_0x322cc1,_0x59606e=_0x28e9a6(_0x533fdd);_0x30b721[_0x4e9ccd(0x1c5)](_0x59606e);}))),_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](()=>_0x30b721[_0x322cc1(0x581)]()));const _0x1435f3=()=>{const _0x401768=_0x322cc1;_0x4f00ab['next'](new Event('connection\x20error')),_0x611445['next'](new CloseEvent(_0x401768(0x3e6))),_0x59f1d4['close']();},_0x59f1d4={'memberID':'','close$':_0x611445[_0x322cc1(0x28c)](),'error$':_0x4f00ab[_0x322cc1(0x28c)](),'open$':_0x84ab9[_0x322cc1(0x54a)],'message$':_0x30b721['asObservable'](),'send':_0x287355=>{const _0x4a85e1=_0x322cc1;if(_0x287355[_0x4a85e1(0x196)]===_0x34149a['INGEST']){if(_0x287355[_0x4a85e1(0x44f)][_0x4a85e1(0x539)]===_0x4d4d9d[_0x4a85e1(0x2ae)][_0x4a85e1(0x1fd)]){this[_0x4a85e1(0x2fe)](_0x59f1d4,_0x287355['data'])['catch'](_0x19bace=>{const _0x5e9d53=_0x4a85e1;this['_logService'][_0x5e9d53(0x4ae)](_0x19bace),_0x1435f3();});return;}if(_0x287355[_0x4a85e1(0x44f)][_0x4a85e1(0x539)]===_0x4d4d9d['CollaborationEvent']['FETCH_MISSING']){const _0x2803a2=_0x287355[_0x4a85e1(0x44f)];this[_0x4a85e1(0x26b)](_0x2803a2)[_0x4a85e1(0x56a)](_0x9f055f=>{const _0x347124=_0x4a85e1;_0x30b721['next']({'cmd':_0x34149a['RECV'],'code':_0x3833d2['OK'],'routeKey':_0x2803a2[_0x347124(0x44f)][_0x347124(0x4bb)],'routeType':'','data':{'eventID':_0x4d4d9d[_0x347124(0x2ae)][_0x347124(0x52c)],'data':{'changesets':_0x9f055f}}});})['catch'](_0x52b3d4=>{const _0x749154=_0x4a85e1;this[_0x749154(0x36e)]['error'](_0x52b3d4),_0x1435f3();});return;}}_0x84ab9['send'](_0x488e2c(_0x287355));},'close':()=>{const _0x5246b9=_0x322cc1;_0x84ab9[_0x5246b9(0x501)](),_0x598ea2[_0x5246b9(0x338)]();}};return _0x59f1d4;}async[_0x18d6ba(0x2fe)](_0x5bc937,_0x6df92e){const _0x348e8d=_0x18d6ba;var _0x9f6a06;const {unitType:_0x4194e8,unitID:_0x59528a,changeset:_0x349129}=_0x6df92e[_0x348e8d(0x44f)],_0x5bf592={'unitID':_0x59528a,'memberID':_0x5bc937[_0x348e8d(0x229)],'type':_0x4194e8,'changeset':_0x4d4d9d[_0x348e8d(0x1d9)](_0x349129)},_0x23b1c1=_0x102c8e((_0x9f6a06=this[_0x348e8d(0x394)][_0x348e8d(0x499)](_0x9f6d65))!=null?_0x9f6a06:_0x699dc8,_0x4194e8,_0x59528a);try{await this['_http']['post'](_0x23b1c1,{'body':_0x5bf592});}catch(_0x3e47d8){throw this[_0x348e8d(0x36e)][_0x348e8d(0x4ae)](_0x348e8d(0x2d0),_0x348e8d(0x259)),_0x3e47d8;}}async[_0x18d6ba(0x26b)](_0x42e083){const _0x4ff4b9=_0x18d6ba,{unitID:_0x1a28d8,from:_0x556dd1,to:_0x1d7666,unitType:_0x51064b}=_0x42e083[_0x4ff4b9(0x44f)];return(await this['_snapshotServerService'][_0x4ff4b9(0x4e5)]({'metadata':void 0x0},{'unitID':_0x1a28d8,'type':_0x51064b,'from':_0x556dd1,'to':_0x1d7666}))[_0x4ff4b9(0x589)];}},_0x4c54a0[_0x18d6ba(0x438)]=_0xd0b376([_0x304bc5(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)])),_0x304bc5(0x1,_0x3aaa00['Inject'](_0x3e5de5[_0x18d6ba(0x400)])),_0x304bc5(0x2,_0x3aaa00[_0x18d6ba(0x195)]),_0x304bc5(0x3,_0x3aaa00['ILogService']),_0x304bc5(0x4,_0x3aaa00['ISnapshotServerService'])],_0x4c54a0['CollaborationSocketService']);class _0x285dfb{constructor(){const _0x11e599=_0x18d6ba;_0x2c46b8(this,_0x11e599(0x202),new _0x5cbc6e['Subject']()),_0x2c46b8(this,_0x11e599(0x368),this[_0x11e599(0x202)][_0x11e599(0x28c)]());}[_0x18d6ba(0x3ba)](_0x2b641b){const _0x310bde=_0x18d6ba;this[_0x310bde(0x202)][_0x310bde(0x1c5)](_0x2b641b);}}var _0x4d28ea=Object['defineProperty'],_0x5b65b5=Object[_0x18d6ba(0x3fd)],_0x34e60d=(_0x2db369,_0xbf364b,_0x7efdfc,_0x1f70e6)=>{const _0x12c47e=_0x18d6ba;for(var _0x1883f6=_0x1f70e6>0x1?void 0x0:_0x1f70e6?_0x5b65b5(_0xbf364b,_0x7efdfc):_0xbf364b,_0x200344=_0x2db369[_0x12c47e(0x574)]-0x1,_0x130abc;_0x200344>=0x0;_0x200344--)(_0x130abc=_0x2db369[_0x200344])&&(_0x1883f6=(_0x1f70e6?_0x130abc(_0xbf364b,_0x7efdfc,_0x1883f6):_0x130abc(_0x1883f6))||_0x1883f6);return _0x1f70e6&&_0x1883f6&&_0x4d28ea(_0xbf364b,_0x7efdfc,_0x1883f6),_0x1883f6;},_0x438172=(_0x1730f3,_0x1c639a)=>(_0x2d51c6,_0x359224)=>_0x1c639a(_0x2d51c6,_0x359224,_0x1730f3),_0x2cd85f=(_0x503267=>(_0x503267[_0x503267[_0x18d6ba(0x3c5)]=0x0]=_0x18d6ba(0x3c5),_0x503267[_0x503267[_0x18d6ba(0x40a)]=0x1]=_0x18d6ba(0x40a),_0x503267[_0x503267[_0x18d6ba(0x1f8)]=0x2]=_0x18d6ba(0x1f8),_0x503267[_0x503267[_0x18d6ba(0x219)]=0x3]=_0x18d6ba(0x219),_0x503267))(_0x2cd85f||{});_0x4c54a0[_0x18d6ba(0x49c)]=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x2390c3,_0x75d256,_0x1d3b42,_0x28e142,_0x2bd9a1,_0x12f495,_0x3973d2,_0x204a67,_0x1da015){const _0x17eb91=_0x18d6ba;super(),_0x2c46b8(this,_0x17eb91(0x492),new _0x5cbc6e[(_0x17eb91(0x1ec))](0x0)),_0x2c46b8(this,_0x17eb91(0x462),this[_0x17eb91(0x492)]['asObservable']()),_0x2c46b8(this,_0x17eb91(0x4bd),new _0x5cbc6e[(_0x17eb91(0x328))]()),_0x2c46b8(this,_0x17eb91(0x2f0),this['_event$'][_0x17eb91(0x28c)]()),_0x2c46b8(this,_0x17eb91(0x276)),_0x2c46b8(this,'_socketMessageSubscription'),_0x2c46b8(this,_0x17eb91(0x508)),(this[_0x17eb91(0x2c3)]=_0x2390c3,this[_0x17eb91(0x36e)]=_0x1d3b42,this['_beforeCloseService']=_0x28e142,this[_0x17eb91(0x21a)]=_0x2bd9a1,this[_0x17eb91(0x394)]=_0x12f495,this['_localeService']=_0x3973d2,this[_0x17eb91(0x241)]=_0x204a67,this[_0x17eb91(0x4e2)]=_0x1da015,_0x75d256[_0x17eb91(0x32f)](_0x267050[_0x17eb91(0x40b)](this[_0x17eb91(0x505)]))[_0x17eb91(0x559)](_0x1d576c=>{const _0x100fc2=_0x17eb91;var _0x1b0fa3;typeof _0x1d576c>'u'||(this[_0x100fc2(0x276)]=_0x1d576c,_0x1d576c?(this[_0x100fc2(0x570)](_0x1d576c),this[_0x100fc2(0x268)]=this[_0x100fc2(0x276)][_0x100fc2(0x1e1)][_0x100fc2(0x559)](_0x3a1c65=>{const _0x249f88=_0x100fc2;_0x3a1c65[_0x249f88(0x29d)]===this[_0x249f88(0x2c3)]&&this[_0x249f88(0x2e4)](_0x3a1c65);})):(this['_sessionStatus$'][_0x100fc2(0x1c5)](0x2),(_0x1b0fa3=this['_socketMessageSubscription'])==null||_0x1b0fa3[_0x100fc2(0x19c)](),this[_0x100fc2(0x268)]=null));}),this[_0x17eb91(0x43a)](this[_0x17eb91(0x23c)]['registerOnClose'](()=>{const _0x40e145=_0x17eb91;var _0x40d104;(_0x40d104=this[_0x40e145(0x276)])==null||_0x40d104[_0x40e145(0x393)]({'cmd':_0x34149a[_0x40e145(0x1c3)],'data':{'roomID':this[_0x40e145(0x2c3)]}});})));}get[_0x18d6ba(0x3b7)](){const _0x230a3a=_0x18d6ba;return this['_sessionStatus$'][_0x230a3a(0x453)]();}['getMemberID'](){var _0x587368,_0x53c63d;return(_0x53c63d=(_0x587368=this['_socket'])==null?void 0x0:_0x587368['memberID'])!=null?_0x53c63d:null;}[_0x18d6ba(0x338)](){const _0x123435=_0x18d6ba;super[_0x123435(0x338)](),this[_0x123435(0x505)][_0x123435(0x1c5)](),this[_0x123435(0x505)]['complete']();}[_0x18d6ba(0x501)](){const _0x4afcaf=_0x18d6ba;var _0x314bd2,_0x4a240a;(_0x314bd2=this[_0x4afcaf(0x276)])==null||_0x314bd2[_0x4afcaf(0x393)]({'cmd':_0x34149a[_0x4afcaf(0x1c3)],'data':{'roomID':this[_0x4afcaf(0x2c3)]}}),this['_event$'][_0x4afcaf(0x581)](),this[_0x4afcaf(0x492)][_0x4afcaf(0x581)](),(_0x4a240a=this[_0x4afcaf(0x276)])==null||_0x4a240a['close'](),this[_0x4afcaf(0x338)]();}[_0x18d6ba(0x2e4)](_0x587e56){const _0x23735d=_0x18d6ba;_0x587e56[_0x23735d(0x196)]===_0x34149a[_0x23735d(0x4a8)]?this[_0x23735d(0x552)](_0x587e56):_0x587e56['cmd']===_0x34149a[_0x23735d(0x4c7)]&&this[_0x23735d(0x37a)](_0x587e56);}[_0x18d6ba(0x570)](_0x2f86e0){const _0x307462=_0x18d6ba;this['_sessionStatus$'][_0x307462(0x1c5)](0x1),_0x2f86e0[_0x307462(0x393)]({'cmd':_0x34149a[_0x307462(0x4a8)],'routeKey':this[_0x307462(0x2c3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x307462(0x2c3)]}]}});}['_onJoinRoomEvent'](_0x56aadc){const _0x3f648d=_0x18d6ba;var _0x49c3e4;if(_0x56aadc['code']===_0x3833d2[_0x3f648d(0x302)]){this['_messageService']['show']({'type':_0x564857[_0x3f648d(0x260)][_0x3f648d(0x40f)],'content':this[_0x3f648d(0x43e)]['t'](_0x3f648d(0x2e2))}),this[_0x3f648d(0x492)]['next'](0x2);return;}this[_0x3f648d(0x492)][_0x3f648d(0x1c5)](0x3);const _0x4ee69c=(_0x49c3e4=_0x56aadc[_0x3f648d(0x44f)][_0x3f648d(0x3e7)][this[_0x3f648d(0x2c3)]])==null?void 0x0:_0x49c3e4[_0x3f648d(0x47f)];_0x4ee69c&&_0x4ee69c[_0x3f648d(0x387)](_0x372fa6=>this['_memberService']['updateMember'](this['_unitID'],_0x372fa6));}[_0x18d6ba(0x37a)](_0x2f3a5c){const _0x8b8d3f=_0x18d6ba;try{const _0x1c6a6e=_0x2f3a5c[_0x8b8d3f(0x44f)];switch(_0x1c6a6e[_0x8b8d3f(0x539)]){case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x30c)]:this[_0x8b8d3f(0x25a)](_0x1c6a6e),this['_event$'][_0x8b8d3f(0x1c5)](_0x1c6a6e);break;case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x4af)]:this[_0x8b8d3f(0x3e9)](_0x1c6a6e),this[_0x8b8d3f(0x4bd)]['next'](_0x1c6a6e);break;case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x4e1)]:this[_0x8b8d3f(0x197)](),this[_0x8b8d3f(0x4bd)][_0x8b8d3f(0x1c5)](_0x1c6a6e);break;case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x50f)]:this['_logService'][_0x8b8d3f(0x4ae)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x8b8d3f(0x1f1)](_0x1c6a6e)),this['_event$'][_0x8b8d3f(0x1c5)](_0x1c6a6e);break;case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x22a)]:this[_0x8b8d3f(0x4e2)][_0x8b8d3f(0x3ba)](_0x1c6a6e[_0x8b8d3f(0x44f)]),this['_event$']['next'](_0x1c6a6e);break;default:this[_0x8b8d3f(0x4bd)][_0x8b8d3f(0x1c5)](_0x1c6a6e);}}catch(_0x204b1f){this['_logService'][_0x8b8d3f(0x4ae)](_0x204b1f,_0x2f3a5c);}}[_0x18d6ba(0x25a)](_0x5e5fdd){const _0x416f96=_0x18d6ba;this[_0x416f96(0x241)][_0x416f96(0x4ba)](this[_0x416f96(0x2c3)],_0x5e5fdd['data']);}[_0x18d6ba(0x3e9)](_0x145098){const _0xc4fff=_0x18d6ba;this[_0xc4fff(0x241)]['removeMember'](this[_0xc4fff(0x2c3)],_0x145098[_0xc4fff(0x44f)][_0xc4fff(0x229)]);}async['send'](_0x3541da,_0x5f3da5){const _0x48d636=_0x18d6ba;if(this[_0x48d636(0x3b7)]!==0x3||!this[_0x48d636(0x276)])throw new Error(_0x48d636(0x440));try{_0x3541da[_0x48d636(0x539)]===_0x4d4d9d[_0x48d636(0x2ae)][_0x48d636(0x27c)]&&this['_scheduleCollaborationTimeoutTimer'](),this[_0x48d636(0x276)][_0x48d636(0x393)]({'cmd':_0x34149a[_0x48d636(0x365)],'routeKey':_0x5f3da5,'routeType':'','data':_0x3541da});}catch(_0x337bd9){this['_logService'][_0x48d636(0x4ae)](_0x337bd9);}}[_0x18d6ba(0x3a6)](){const _0x59bd17=_0x18d6ba;var _0x552466;this['_collaborationTimeoutTimer']=window[_0x59bd17(0x3f1)](()=>{const _0x1abc33=_0x59bd17;this[_0x1abc33(0x508)]=null,this[_0x1abc33(0x21a)][_0x1abc33(0x3f8)]({'type':_0x564857[_0x1abc33(0x260)][_0x1abc33(0x40e)],'content':this[_0x1abc33(0x43e)]['t'](_0x1abc33(0x4a7))});},(_0x552466=this[_0x59bd17(0x394)]['getConfig'](_0x2689b9))!=null?_0x552466:0x2710);}['_clearCollaborationTimeoutTimer'](){const _0x175bf2=_0x18d6ba;this[_0x175bf2(0x508)]&&(clearTimeout(this[_0x175bf2(0x508)]),this[_0x175bf2(0x508)]=null);}},_0x4c54a0[_0x18d6ba(0x49c)]=_0x34e60d([_0x438172(0x2,_0x3aaa00[_0x18d6ba(0x42a)]),_0x438172(0x3,_0x2b4c8d[_0x18d6ba(0x28f)]),_0x438172(0x4,_0x2b4c8d['IMessageService']),_0x438172(0x5,_0x3aaa00[_0x18d6ba(0x195)]),_0x438172(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['LocaleService'])),_0x438172(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x107a5c)),_0x438172(0x8,_0x3aaa00[_0x18d6ba(0x1de)](_0x285dfb))],_0x4c54a0[_0x18d6ba(0x49c)]),_0x4c54a0[_0x18d6ba(0x22b)]=class extends _0x3aaa00['Disposable']{constructor(_0xc030af,_0x9e31c0,_0x307618,_0x2b38b0,_0x45fdb9,_0x3dc267){const _0x3feaa5=_0x18d6ba;super(),_0x2c46b8(this,_0x3feaa5(0x263),new _0x5cbc6e[(_0x3feaa5(0x1ec))](void 0x0)),_0x2c46b8(this,_0x3feaa5(0x587),new Map()),_0x2c46b8(this,'_status$',new _0x5cbc6e[(_0x3feaa5(0x1ec))](0x0)),_0x2c46b8(this,_0x3feaa5(0x503),this['_status$'][_0x3feaa5(0x28c)]()),_0x2c46b8(this,'_socketReady',!0x1),_0x2c46b8(this,'_sendHeartbeatTimer'),_0x2c46b8(this,_0x3feaa5(0x48d)),_0x2c46b8(this,_0x3feaa5(0x242)),_0x2c46b8(this,'_retryCount',0x0),(this['_injector']=_0xc030af,this[_0x3feaa5(0x43e)]=_0x9e31c0,this[_0x3feaa5(0x21a)]=_0x307618,this[_0x3feaa5(0x36e)]=_0x2b38b0,this[_0x3feaa5(0x394)]=_0x45fdb9,this[_0x3feaa5(0x593)]=_0x3dc267);}get[_0x18d6ba(0x276)](){const _0x32550c=_0x18d6ba;return this[_0x32550c(0x263)][_0x32550c(0x453)]();}[_0x18d6ba(0x338)](){const _0x2c151a=_0x18d6ba;super[_0x2c151a(0x338)](),this['_sessions'][_0x2c151a(0x387)](_0x4897d4=>_0x4897d4[_0x2c151a(0x338)]()),this['_sessions'][_0x2c151a(0x580)](),this[_0x2c151a(0x225)]['complete']();}async[_0x18d6ba(0x3a3)](_0x3a3201){const _0x5eb5dd=_0x18d6ba;if(this[_0x5eb5dd(0x587)][_0x5eb5dd(0x443)](_0x3a3201))return this['_sessions'][_0x5eb5dd(0x3e4)](_0x3a3201);this['_tryEnsureSocket']();const _0xac9e0e=this[_0x5eb5dd(0x42c)][_0x5eb5dd(0x491)](_0x4c54a0[_0x5eb5dd(0x49c)],_0x3a3201,this[_0x5eb5dd(0x263)][_0x5eb5dd(0x28c)]());return this[_0x5eb5dd(0x587)]['set'](_0x3a3201,_0xac9e0e),_0xac9e0e;}[_0x18d6ba(0x592)](_0x158f74){const _0x56f933=_0x18d6ba;var _0x4116f5;const _0x592a6b=this[_0x56f933(0x587)]['get'](_0x158f74);_0x592a6b&&(this[_0x56f933(0x587)][_0x56f933(0x466)](_0x158f74),_0x592a6b[_0x56f933(0x501)]()),this[_0x56f933(0x587)][_0x56f933(0x378)]||(_0x4116f5=this[_0x56f933(0x276)])==null||_0x4116f5[_0x56f933(0x501)]();}['_createSocket'](){const _0x55f92d=_0x18d6ba;var _0x299459;const _0x17d5cc=(_0x299459=this['_configService'][_0x55f92d(0x499)](_0xdc44de))!=null?_0x299459:_0x5c44f0;return this[_0x55f92d(0x593)][_0x55f92d(0x1f5)](_0x17d5cc);}[_0x18d6ba(0x4a3)](){const _0x2d4174=_0x18d6ba;try{const _0x31a6db=this[_0x2d4174(0x334)]();if(_0x31a6db){const _0x5594f0=_0x31a6db[_0x2d4174(0x393)];_0x31a6db[_0x2d4174(0x393)]=_0x26054f=>(this[_0x2d4174(0x30d)](),_0x5594f0['apply'](_0x31a6db,[_0x26054f])),_0x31a6db['message$']['subscribe'](_0x4d186b=>this['_onMessage'](_0x31a6db,_0x4d186b)),_0x31a6db[_0x2d4174(0x27d)][_0x2d4174(0x32f)](_0x267050[_0x2d4174(0x240)](0x1))[_0x2d4174(0x559)](_0x21b2a6=>this[_0x2d4174(0x36e)][_0x2d4174(0x4ae)]('[CollaborationSessionService]:\x20socket\x20error',_0x21b2a6)),_0x31a6db[_0x2d4174(0x54a)]['pipe'](_0x267050[_0x2d4174(0x240)](0x1))[_0x2d4174(0x559)](()=>{const _0x5d9faf=_0x2d4174;this[_0x5d9faf(0x423)](_0x31a6db);}),_0x31a6db['close$']['pipe'](_0x267050['take'](0x1))[_0x2d4174(0x559)](_0x9e78fa=>{const _0x6e0035=_0x2d4174;this[_0x6e0035(0x36e)]['debug'](_0x6e0035(0x2d8),_0x6e0035(0x273),_0x9e78fa),this[_0x6e0035(0x528)]();});}}catch(_0x51055f){this[_0x2d4174(0x36e)][_0x2d4174(0x4ae)](_0x51055f),this[_0x2d4174(0x528)]();}}[_0x18d6ba(0x423)](_0x1477c0){const _0x53a4a5=_0x18d6ba;this[_0x53a4a5(0x36e)][_0x53a4a5(0x3bd)](_0x53a4a5(0x2d8),_0x53a4a5(0x227)),_0x1477c0[_0x53a4a5(0x393)]({'cmd':_0x34149a[_0x53a4a5(0x2ff)]}),this[_0x53a4a5(0x30d)]();}['_onConnectionFailed'](){const _0x269b5d=_0x18d6ba;var _0x12b05e;this['_status$'][_0x269b5d(0x1c5)](0x2),this[_0x269b5d(0x263)][_0x269b5d(0x1c5)](null),this[_0x269b5d(0x37f)](),this[_0x269b5d(0x2b3)](),this[_0x269b5d(0x4f7)]=!0x1,this['_retryCount']<((_0x12b05e=this[_0x269b5d(0x394)][_0x269b5d(0x499)](_0x1651af))!=null?_0x12b05e:0x3)?(this['_scheduleReconnection'](this[_0x269b5d(0x32a)]),this[_0x269b5d(0x32a)]+=0x1):this['_messageService'][_0x269b5d(0x3f8)]({'type':_0x564857[_0x269b5d(0x260)][_0x269b5d(0x40e)],'content':this[_0x269b5d(0x43e)]['t'](_0x269b5d(0x277))});}[_0x18d6ba(0x282)](_0x4205fa){const _0x25e924=_0x18d6ba;var _0x127be0;const _0x23b473=((_0x127be0=this[_0x25e924(0x394)][_0x25e924(0x499)](_0x3a9285))!=null?_0x127be0:0x4e20)*0x2**_0x4205fa;this[_0x25e924(0x21a)][_0x25e924(0x3f8)]({'type':_0x564857[_0x25e924(0x260)][_0x25e924(0x40f)],'content':this[_0x25e924(0x43e)]['t'](_0x25e924(0x3d2))}),this[_0x25e924(0x242)]=setTimeout(()=>{const _0xed5bc7=_0x25e924;this[_0xed5bc7(0x4a3)](),clearTimeout(this[_0xed5bc7(0x242)]),this[_0xed5bc7(0x242)]=null;},_0x23b473);}[_0x18d6ba(0x30d)](){const _0x4e8de5=_0x18d6ba;var _0x218cf9;this[_0x4e8de5(0x2b3)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x218cf9=this[_0x4e8de5(0x394)][_0x4e8de5(0x499)](_0x1d14f0))!=null?_0x218cf9:0x7530);}[_0x18d6ba(0x2b9)](){const _0x2b3695=_0x18d6ba;this[_0x2b3695(0x276)][_0x2b3695(0x393)]({'cmd':_0x34149a['HEARTBEAT']}),this[_0x2b3695(0x35e)]();}[_0x18d6ba(0x35e)](){const _0x39bc3e=_0x18d6ba;var _0x5cdd2a;this[_0x39bc3e(0x48d)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5cdd2a=this[_0x39bc3e(0x394)][_0x39bc3e(0x499)](_0x2689b9))!=null?_0x5cdd2a:0x2710);}[_0x18d6ba(0x54e)](_0x1e58d0,_0x53be61){const _0x5a414a=_0x18d6ba,{cmd:_0x2b3a5c}=_0x53be61;_0x2b3a5c===_0x34149a[_0x5a414a(0x2ff)]&&!this['_socketReady']&&(_0x1e58d0[_0x5a414a(0x229)]=_0x53be61[_0x5a414a(0x44f)][_0x5a414a(0x229)],this[_0x5a414a(0x263)]['next'](_0x1e58d0),this['_status$'][_0x5a414a(0x1c5)](0x3),this[_0x5a414a(0x4f7)]=!0x0),_0x2b3a5c===_0x34149a[_0x5a414a(0x31e)]&&this['_clearTimeoutTimer'](),this[_0x5a414a(0x30d)]();}[_0x18d6ba(0x2b3)](){const _0x57f1c7=_0x18d6ba;this[_0x57f1c7(0x3ec)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x57f1c7(0x3ec)]=null);}[_0x18d6ba(0x37f)](){const _0x144587=_0x18d6ba;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x144587(0x48d)]),this[_0x144587(0x48d)]=null);}},_0x4c54a0[_0x18d6ba(0x22b)]=_0x34e60d([_0x438172(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x438172(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x438172(0x2,_0x2b4c8d[_0x18d6ba(0x57b)]),_0x438172(0x3,_0x3aaa00[_0x18d6ba(0x42a)]),_0x438172(0x4,_0x3aaa00[_0x18d6ba(0x195)]),_0x438172(0x5,_0x41bd32)],_0x4c54a0['CollaborationSessionService']);var _0x1855ae=Object['defineProperty'],_0x85085d=Object[_0x18d6ba(0x3fd)],_0x46fd49=(_0x584ecc,_0x26321b,_0x54ea08,_0x362cb0)=>{const _0x53b6c3=_0x18d6ba;for(var _0x2f1b56=_0x362cb0>0x1?void 0x0:_0x362cb0?_0x85085d(_0x26321b,_0x54ea08):_0x26321b,_0x442171=_0x584ecc[_0x53b6c3(0x574)]-0x1,_0x131104;_0x442171>=0x0;_0x442171--)(_0x131104=_0x584ecc[_0x442171])&&(_0x2f1b56=(_0x362cb0?_0x131104(_0x26321b,_0x54ea08,_0x2f1b56):_0x131104(_0x2f1b56))||_0x2f1b56);return _0x362cb0&&_0x2f1b56&&_0x1855ae(_0x26321b,_0x54ea08,_0x2f1b56),_0x2f1b56;},_0x30ca76=(_0x489b31,_0x233bd7)=>(_0x227547,_0x4153e8)=>_0x233bd7(_0x227547,_0x4153e8,_0x489b31);_0x4c54a0['LocalCacheService']=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x2384b0,_0x2c629e,_0x5168c9,_0x5e6c5b,_0x20d415){const _0xb556bb=_0x18d6ba;super(),_0x2c46b8(this,_0xb556bb(0x267),new Map()),_0x2c46b8(this,_0xb556bb(0x3d7),new Map()),_0x2c46b8(this,_0xb556bb(0x233),!0x1),(this[_0xb556bb(0x394)]=_0x2384b0,this['_localStorageService']=_0x2c629e,this['_beforeCloseService']=_0x5168c9,this[_0xb556bb(0x43e)]=_0x5e6c5b,this['_revisionService']=_0x20d415,this['_setupBeforeClosingHandler']());}[_0x18d6ba(0x330)](){const _0x5f1bd4=_0x18d6ba;this[_0x5f1bd4(0x233)]=!0x0;}[_0x18d6ba(0x4b4)](){const _0x520104=_0x18d6ba;this[_0x520104(0x233)]=!0x1;}['dispose'](){const _0x5ca2c9=_0x18d6ba;this[_0x5ca2c9(0x390)]()[_0x5ca2c9(0x56a)](()=>super[_0x5ca2c9(0x338)]());}async[_0x18d6ba(0x1ee)](_0x55fcfc){const _0xb888f=_0x18d6ba;return this[_0xb888f(0x233)]?null:this[_0xb888f(0x212)][_0xb888f(0x2fa)](_0x1d7967(_0x55fcfc));}async[_0x18d6ba(0x3a8)](_0x437b1e,_0x104504){const _0x26ae08=_0x18d6ba;return!!this[_0x26ae08(0x212)]['setItem'](_0x437b1e,_0x104504);}['updateOfflineData'](_0x208551,_0x5ee27c,_0x2a0078,_0xcc6195){const _0x11c42e=_0x18d6ba,_0x1aafea=this['_revisionService'][_0x11c42e(0x477)](_0x208551);this[_0x11c42e(0x267)]['set'](_0x208551,{'unitID':_0x208551,'type':_0x5ee27c,'awaitingChangeset':_0x2a0078,'mutations':_0xcc6195,'rev':_0x1aafea}),this[_0x11c42e(0x3d7)][_0x11c42e(0x443)](_0x208551)||this[_0x11c42e(0x560)](_0x208551);}[_0x18d6ba(0x560)](_0x194ead){const _0x241767=_0x18d6ba,_0x36710c=this['_getSaveTimeout']();_0x36710c===0x0?this[_0x241767(0x1b0)](_0x194ead):this['_saveTaskMap'][_0x241767(0x2a6)](_0x194ead,setTimeout(()=>this[_0x241767(0x1b0)](_0x194ead),_0x36710c));}[_0x18d6ba(0x4ce)](){const _0x5c1958=_0x18d6ba;var _0x9904a8;return(_0x9904a8=this[_0x5c1958(0x394)][_0x5c1958(0x499)](_0x6e910a))!=null?_0x9904a8:0x3e8;}[_0x18d6ba(0x1b0)](_0x159d0e){const _0x4463e8=_0x18d6ba,_0x3e09d6=this[_0x4463e8(0x3d7)][_0x4463e8(0x3e4)](_0x159d0e);return _0x3e09d6!==void 0x0&&window[_0x4463e8(0x33f)](_0x3e09d6),this['_localStorageService']['setItem'](_0x1d7967(_0x159d0e),this[_0x4463e8(0x267)][_0x4463e8(0x3e4)](_0x159d0e))['then'](()=>this[_0x4463e8(0x3d7)][_0x4463e8(0x466)](_0x159d0e));}async['exhaustSavingTask'](){const _0x11122c=_0x18d6ba,_0x4a86dd=[];this[_0x11122c(0x3d7)][_0x11122c(0x387)]((_0x32465c,_0x4c82dc)=>{const _0x543bc2=_0x11122c;window[_0x543bc2(0x33f)](_0x32465c),_0x4a86dd[_0x543bc2(0x239)](this[_0x543bc2(0x1b0)](_0x4c82dc)[_0x543bc2(0x56a)](()=>{const _0x74760f=_0x543bc2;this[_0x74760f(0x3d7)][_0x74760f(0x466)](_0x4c82dc);}));}),await Promise[_0x11122c(0x4d3)](_0x4a86dd);}['_setupBeforeClosingHandler'](){const _0x4c0298=_0x18d6ba;this['disposeWithMe'](this[_0x4c0298(0x23c)][_0x4c0298(0x4b2)](()=>{const _0x3f3750=_0x4c0298;if(this[_0x3f3750(0x3d7)]['size'])return this[_0x3f3750(0x43e)]['t'](_0x3f3750(0x363));}));}},_0x4c54a0[_0x18d6ba(0x362)]=_0x46fd49([_0x30ca76(0x0,_0x3aaa00[_0x18d6ba(0x195)]),_0x30ca76(0x1,_0x3aaa00[_0x18d6ba(0x1a6)]),_0x30ca76(0x2,_0x2b4c8d[_0x18d6ba(0x28f)]),_0x30ca76(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x30ca76(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)]))],_0x4c54a0[_0x18d6ba(0x362)]);function _0x1d7967(_0x28cebe){return'unit-cache-'+_0x28cebe;}const _0x3a8c8d=_0x3aaa00[_0x18d6ba(0x3be)](_0x18d6ba(0x311));var _0x3fa2a7=(_0x2fc2ef=>(_0x2fc2ef[_0x2fc2ef['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x18d6ba(0x498),_0x2fc2ef[_0x2fc2ef['OTHER_CLIENTS_EDITING']=0x1]=_0x18d6ba(0x46b),_0x2fc2ef))(_0x3fa2a7||{});const _0x3f2a61=0x7530,_0x537eba=_0x18d6ba(0x4dc);class _0x12cc97 extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(){const _0x95df34=_0x18d6ba;super(),_0x2c46b8(this,_0x95df34(0x4b0),_0x3aaa00['Tools']['generateRandomId']()),_0x2c46b8(this,'_selfUnitIDs',new Set()),_0x2c46b8(this,_0x95df34(0x200),new Map()),_0x2c46b8(this,'_heartbeatTimer',null),_0x2c46b8(this,_0x95df34(0x45f),new Map()),_0x2c46b8(this,'_unitStatus',new Map()),this['_init']();}[_0x18d6ba(0x338)](){const _0x3e85e6=_0x18d6ba;super[_0x3e85e6(0x338)](),this[_0x3e85e6(0x45f)][_0x3e85e6(0x387)]((_0x14758a,_0x4e9056)=>this['_removeClearOtherTimer'](_0x4e9056)),this[_0x3e85e6(0x564)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x18d6ba(0x2bd)](_0x1bacb3){const _0x12ea25=_0x18d6ba;return this[_0x12ea25(0x31d)](_0x1bacb3)[_0x12ea25(0x32f)](_0x5cbc6e[_0x12ea25(0x345)]());}[_0x18d6ba(0x39d)](_0x17a6c0){const _0x51d6f2=_0x18d6ba;this[_0x51d6f2(0x4e8)][_0x51d6f2(0x378)]===0x0&&this[_0x51d6f2(0x3c2)](),this[_0x51d6f2(0x4e8)][_0x51d6f2(0x22f)](_0x17a6c0),this[_0x51d6f2(0x270)]({'type':0x0,'memberID':this[_0x51d6f2(0x4b0)],'unitIDs':[_0x17a6c0],'isForwarded':!0x1});}[_0x18d6ba(0x4ed)](_0x1ca044){const _0x4eba6a=_0x18d6ba;this[_0x4eba6a(0x4e8)][_0x4eba6a(0x466)](_0x1ca044),this['_selfUnitIDs'][_0x4eba6a(0x378)]===0x0&&this['_heartbeatTimer']&&window[_0x4eba6a(0x471)](this['_heartbeatTimer']);}['_init'](){const _0x39ef17=_0x18d6ba;this[_0x39ef17(0x43a)](_0x3aaa00[_0x39ef17(0x1cd)](_0x5cbc6e[_0x39ef17(0x3a4)](window,'storage')[_0x39ef17(0x559)](_0x325b04=>{const _0x36aed2=_0x39ef17;if(_0x325b04[_0x36aed2(0x26a)]!==_0x537eba||!_0x325b04[_0x36aed2(0x329)])return;const _0x5c8227=JSON[_0x36aed2(0x3db)](_0x325b04[_0x36aed2(0x329)]);this[_0x36aed2(0x3e2)](_0x5c8227);}))),window[_0x39ef17(0x208)](_0x39ef17(0x2f3),()=>this['_send']({'type':0x1,'memberID':this[_0x39ef17(0x4b0)],'unitIDs':Array[_0x39ef17(0x44e)](this[_0x39ef17(0x4e8)])}));}[_0x18d6ba(0x3e2)](_0x5582d4){const _0x5f1fb3=_0x18d6ba;switch(_0x5582d4[_0x5f1fb3(0x543)]){case 0x0:this[_0x5f1fb3(0x294)](_0x5582d4);break;case 0x1:this['_handleLeaveEvent'](_0x5582d4);break;case 0x2:this[_0x5f1fb3(0x573)](_0x5582d4);break;}}[_0x18d6ba(0x294)](_0x427931){const _0x50dc88=_0x18d6ba,{unitIDs:_0x39a037,memberID:_0x288fb6,isForwarded:_0x21ed40}=_0x427931;_0x39a037['forEach'](_0x1b97b2=>{const _0xa92e88=_0x3d0e;if(!_0x21ed40&&this['_unitOnClients'][_0xa92e88(0x443)](_0x1b97b2)&&this['_ensureSubject'](_0x1b97b2)['next'](0x1),!this[_0xa92e88(0x200)][_0xa92e88(0x443)](_0x1b97b2)||!this[_0xa92e88(0x200)][_0xa92e88(0x3e4)](_0x1b97b2)[_0xa92e88(0x443)](_0x288fb6)){const _0x3c055c=this['_unitOnClients'][_0xa92e88(0x3e4)](_0x1b97b2)||new Set();_0x3c055c[_0xa92e88(0x22f)](_0x288fb6),this[_0xa92e88(0x200)][_0xa92e88(0x2a6)](_0x1b97b2,_0x3c055c),this[_0xa92e88(0x2c2)](_0x288fb6);}}),_0x21ed40||this[_0x50dc88(0x270)]({'type':0x0,'memberID':this[_0x50dc88(0x4b0)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x18d6ba(0x2c2)](_0x170cd4){const _0xbb24a=_0x18d6ba;this[_0xbb24a(0x4e9)](_0x170cd4);const _0x4581d3=window[_0xbb24a(0x3f1)](()=>{const _0x3b3081=_0xbb24a;this[_0x3b3081(0x200)][_0x3b3081(0x387)](_0x30b600=>{const _0x411b69=_0x3b3081;_0x30b600[_0x411b69(0x466)](_0x170cd4);});},_0x3f2a61*0x2);this[_0xbb24a(0x45f)][_0xbb24a(0x2a6)](_0x170cd4,_0x4581d3);}[_0x18d6ba(0x4e9)](_0x2ebf4e){const _0x26812e=_0x18d6ba;if(this[_0x26812e(0x45f)][_0x26812e(0x443)](_0x2ebf4e)){const _0x2b2557=this['_clearOtherTimers'][_0x26812e(0x3e4)](_0x2ebf4e);_0x2b2557&&window[_0x26812e(0x33f)](_0x2b2557),this[_0x26812e(0x45f)]['set'](_0x2ebf4e,null);}}[_0x18d6ba(0x3ea)](_0xa8fac6){const {memberID:_0x222147,unitIDs:_0x3d8202}=_0xa8fac6;_0x3d8202['forEach'](_0x3dce61=>{const _0x23e33c=_0x3d0e;var _0x42e724;const _0x11be75=this[_0x23e33c(0x200)][_0x23e33c(0x3e4)](_0x3dce61);_0x11be75&&(_0x11be75[_0x23e33c(0x466)](_0x222147),(_0x42e724=this['_ensureSubject'](_0x3dce61))==null||_0x42e724[_0x23e33c(0x1c5)](_0x11be75[_0x23e33c(0x378)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x222147);}[_0x18d6ba(0x573)](_0x4cca8e){const _0x4a651a=_0x18d6ba;this[_0x4a651a(0x2c2)](_0x4cca8e['memberID']);}['_send'](_0x5a5308){const _0x181b39=_0x18d6ba;localStorage[_0x181b39(0x4d7)](_0x537eba,JSON[_0x181b39(0x1f1)](_0x5a5308));}['_scheduleHeartbeat'](){const _0x497325=_0x18d6ba;this[_0x497325(0x564)]=window['setInterval'](()=>{const _0x37a070=_0x497325;this[_0x37a070(0x270)]({'type':0x2,'memberID':this[_0x37a070(0x4b0)]});},_0x3f2a61);}[_0x18d6ba(0x31d)](_0xfd5b79){const _0x474975=_0x18d6ba;return this['_unitStatus'][_0x474975(0x443)](_0xfd5b79)||this[_0x474975(0x4ad)][_0x474975(0x2a6)](_0xfd5b79,new _0x5cbc6e['BehaviorSubject'](0x0)),this[_0x474975(0x4ad)][_0x474975(0x3e4)](_0xfd5b79);}}var _0x2e2be8=Object['defineProperty'],_0x465843=Object['getOwnPropertyDescriptor'],_0x221ac3=(_0x28d6ff,_0x3bb15c,_0x57c76d,_0x29f65f)=>{const _0x196614=_0x18d6ba;for(var _0x53ff4c=_0x29f65f>0x1?void 0x0:_0x29f65f?_0x465843(_0x3bb15c,_0x57c76d):_0x3bb15c,_0x3f4322=_0x28d6ff[_0x196614(0x574)]-0x1,_0x995fbf;_0x3f4322>=0x0;_0x3f4322--)(_0x995fbf=_0x28d6ff[_0x3f4322])&&(_0x53ff4c=(_0x29f65f?_0x995fbf(_0x3bb15c,_0x57c76d,_0x53ff4c):_0x995fbf(_0x53ff4c))||_0x53ff4c);return _0x29f65f&&_0x53ff4c&&_0x2e2be8(_0x3bb15c,_0x57c76d,_0x53ff4c),_0x53ff4c;},_0x218481=(_0x3dd63f,_0x504996)=>(_0x1df337,_0x149d3f)=>_0x504996(_0x1df337,_0x149d3f,_0x3dd63f);let _0x5f1add=class{constructor(_0x1edd5e,_0x182b01){const _0x1e8310=_0x18d6ba;this['_injector']=_0x1edd5e,this[_0x1e8310(0x45d)]=_0x182b01;}['transformIMECache'](_0x43cb11){const _0x1b1750=_0x18d6ba;this[_0x1b1750(0x1b8)](_0x43cb11),this[_0x1b1750(0x2ef)](_0x43cb11);}[_0x18d6ba(0x485)](_0x264993){const _0x447e72=_0x18d6ba,_0x1893b1=this[_0x447e72(0x42c)][_0x447e72(0x3e4)](_0x593e90['IMEInputManagerService']),{redoCache:_0x10a4cf}=_0x1893b1['getUndoRedoMutationParamsCache']();if(_0x10a4cf[_0x447e72(0x574)]===0x0)return _0x264993;let _0x2f11fc=_0x3aaa00[_0x447e72(0x2dd)][_0x447e72(0x475)](_0x264993[_0x447e72(0x2fb)][0x0]);for(let _0x1f22a1=0x0;_0x1f22a1<_0x10a4cf['length'];_0x1f22a1++){const _0x5ab01b={'id':'doc.mutation.rich-text-editing','params':{..._0x10a4cf[_0x1f22a1]}},_0xac9267=this[_0x447e72(0x45d)][_0x447e72(0x1db)](_0x2f11fc,_0x5ab01b,!0x1);if(_0x4d4d9d[_0x447e72(0x522)](_0xac9267))throw _0xac9267['error'];_0x2f11fc=_0xac9267[_0x447e72(0x396)];}return{..._0x3aaa00['Tools'][_0x447e72(0x475)](_0x264993),'mutations':[_0x2f11fc]};}['_transformUndoRedoStack'](_0x5aa1d7){const _0x529158=_0x18d6ba,_0x4977aa=this['_injector'][_0x529158(0x3e4)](_0x593e90[_0x529158(0x506)]),{undoCache:_0x4abda6,redoCache:_0x1c51f9}=_0x4977aa[_0x529158(0x1e7)]();if(_0x4abda6[_0x529158(0x574)]===0x0||_0x1c51f9[_0x529158(0x574)]===0x0)return;const _0x114ab3=[],_0x345db7=[];let _0x2c29a6=_0x3aaa00['Tools']['deepClone'](_0x5aa1d7['mutations'][0x0]),_0x51d723=_0x3aaa00[_0x529158(0x2dd)]['deepClone'](_0x5aa1d7['mutations'][0x0]);for(let _0x1d0ecf=_0x4abda6[_0x529158(0x574)]-0x1;_0x1d0ecf>=0x0;_0x1d0ecf--){const _0x4386ae={'id':_0x529158(0x558),'params':{..._0x4abda6[_0x1d0ecf]}},_0x244d12={'id':_0x529158(0x558),'params':{..._0x1c51f9[_0x1d0ecf]}},_0xeabe30=this[_0x529158(0x45d)][_0x529158(0x1db)](_0x2c29a6,_0x4386ae,!0x1),_0x238f2c=this[_0x529158(0x45d)][_0x529158(0x1db)](_0x51d723,_0x244d12,!0x1);if(_0x4d4d9d[_0x529158(0x522)](_0xeabe30))throw _0xeabe30[_0x529158(0x4ae)];if(_0x4d4d9d[_0x529158(0x522)](_0x238f2c))throw _0x238f2c[_0x529158(0x4ae)];_0x114ab3[_0x529158(0x3f0)](_0xeabe30['m2Prime'][_0x529158(0x561)]),_0x345db7[_0x529158(0x3f0)](_0x238f2c['m2Prime'][_0x529158(0x561)]),_0x2c29a6=_0xeabe30[_0x529158(0x396)],_0x51d723=_0x238f2c[_0x529158(0x396)];}_0x4977aa['setUndoRedoMutationParamsCache']({'undoCache':_0x114ab3,'redoCache':_0x345db7});}[_0x18d6ba(0x2ef)](_0x18e857){const _0x9ecd19=_0x18d6ba,_0x370f38=this['_injector'][_0x9ecd19(0x3e4)](_0x593e90[_0x9ecd19(0x506)]),_0x502437=_0x370f38['getActiveRange']();if(_0x502437==null)return;const _0xf3fb48=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18e857['unitID'],'actions':null,'textRanges':[_0x502437]}}],_0xbe3ab2=this['_transformService'][_0x9ecd19(0x588)](_0x18e857,_0xf3fb48);if(!_0x4d4d9d[_0x9ecd19(0x2be)](_0xbe3ab2))throw _0xbe3ab2[_0x9ecd19(0x4ae)];const _0x4832e4=_0xbe3ab2['m2Prime'][0x0]['params'][_0x9ecd19(0x2f5)];Array[_0x9ecd19(0x342)](_0x4832e4)&&_0x4832e4[_0x9ecd19(0x574)]&&_0x370f38[_0x9ecd19(0x266)](_0x4832e4[0x0]);}};_0x5f1add=_0x221ac3([_0x218481(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x218481(0x1,_0x4d4d9d['ITransformService'])],_0x5f1add);var _0x2a80c9=Object['defineProperty'],_0x16df64=Object[_0x18d6ba(0x3fd)],_0x44caa1=(_0x21bd1a,_0x2e07d2,_0x3d0fe3,_0x3ff5cc)=>{const _0x37f669=_0x18d6ba;for(var _0x3db179=_0x3ff5cc>0x1?void 0x0:_0x3ff5cc?_0x16df64(_0x2e07d2,_0x3d0fe3):_0x2e07d2,_0x4bc77a=_0x21bd1a[_0x37f669(0x574)]-0x1,_0x1151cd;_0x4bc77a>=0x0;_0x4bc77a--)(_0x1151cd=_0x21bd1a[_0x4bc77a])&&(_0x3db179=(_0x3ff5cc?_0x1151cd(_0x2e07d2,_0x3d0fe3,_0x3db179):_0x1151cd(_0x3db179))||_0x3db179);return _0x3ff5cc&&_0x3db179&&_0x2a80c9(_0x2e07d2,_0x3d0fe3,_0x3db179),_0x3db179;},_0x26b30d=(_0x3d6235,_0x5a550f)=>(_0x9658c0,_0x2453e9)=>_0x5a550f(_0x9658c0,_0x2453e9,_0x3d6235);let _0x49b741=class{constructor(_0x568a44,_0x5f0cff){this['_injector']=_0x568a44,this['_transformService']=_0x5f0cff;}[_0x18d6ba(0x3dc)](_0x5adb99){const _0x217ff6=_0x18d6ba;var _0x451f83;const _0x4e0371=this[_0x217ff6(0x42c)]['get'](_0x593e90['TextSelectionManagerService']),_0x51a943=(_0x451f83=_0x4e0371[_0x217ff6(0x42f)]())!=null?_0x451f83:[],_0x138f76=_0x51a943==null?void 0x0:_0x51a943[_0x217ff6(0x343)](_0x593e90[_0x217ff6(0x3b5)]);if(_0x138f76['length']===0x0)return;const _0x378c0b=[{'id':_0x217ff6(0x558),'params':{'unitId':_0x5adb99[_0x217ff6(0x4bb)],'actions':null,'textRanges':_0x138f76}}],_0x4475b6=this['_transformService'][_0x217ff6(0x588)](_0x5adb99,_0x378c0b);if(!_0x4d4d9d['isTransformMutationsWithChangesetSuccess'](_0x4475b6))throw _0x4475b6[_0x217ff6(0x4ae)];const _0x49aa6d=_0x4475b6[_0x217ff6(0x1d2)][0x0][_0x217ff6(0x561)]['textRanges'];Array['isArray'](_0x49aa6d)&&_0x49aa6d[_0x217ff6(0x574)]&&_0x4e0371['replaceTextRanges'](_0x49aa6d,!0x1);}};_0x49b741=_0x44caa1([_0x26b30d(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector'])),_0x26b30d(0x1,_0x4d4d9d[_0x18d6ba(0x417)])],_0x49b741);function _0x4c1645(_0x37b717){const _0x35ab6a=_0x18d6ba;let _0x59ad37='';for(const _0x145785 of _0x37b717){const {startOffset:_0x4b934b,endOffset:_0x4f2305,isActive:_0x29d9a7}=_0x145785;_0x59ad37[_0x35ab6a(0x574)]&&(_0x59ad37+=','),_0x59ad37+=_0x4b934b+':'+_0x4f2305+':'+(_0x29d9a7?'1':'0');}return _0x59ad37;}function _0x40c874(_0x2359f2){const _0x5aea94=_0x18d6ba,_0x17c863=_0x2359f2[_0x5aea94(0x47a)](','),_0x47235e=[];for(const _0x57c4a3 of _0x17c863){const [_0x2037aa,_0x11095c,_0x35a289]=_0x57c4a3[_0x5aea94(0x47a)](':');_0x47235e[_0x5aea94(0x239)]({'startOffset':Number(_0x2037aa),'endOffset':Number(_0x11095c),'collapsed':_0x2037aa===_0x11095c,'isActive':_0x35a289==='1'});}return _0x47235e[_0x5aea94(0x2ce)](_0x4070d6=>_0x4070d6[_0x5aea94(0x381)])||(_0x47235e[0x0][_0x5aea94(0x381)]=!0x0),_0x47235e;}class _0x301e57 extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(){const _0x2ea510=_0x18d6ba;super(...arguments),_0x2c46b8(this,'_collabCursorState$',new _0x5cbc6e['BehaviorSubject'](null)),_0x2c46b8(this,_0x2ea510(0x30a),this[_0x2ea510(0x39b)][_0x2ea510(0x28c)]());}['syncEditingCollabCursor'](_0x175ba9){const _0x4aa28b=_0x18d6ba,{unitID:_0x3688ac,memberID:_0x15693a,textRanges:_0x30be37}=_0x175ba9,_0x2cd1fb=_0x4c1645(_0x30be37),_0x1cb06d={'unitID':_0x3688ac,'memberID':_0x15693a,'selection':_0x2cd1fb};this[_0x4aa28b(0x39b)]['next'](_0x1cb06d);}}var _0x1886f4=Object[_0x18d6ba(0x272)],_0xd32a40=Object['getOwnPropertyDescriptor'],_0x373c02=(_0x56e062,_0x214b36,_0x52f2fa,_0x47d74b)=>{for(var _0x33ebbc=_0x47d74b>0x1?void 0x0:_0x47d74b?_0xd32a40(_0x214b36,_0x52f2fa):_0x214b36,_0x5160af=_0x56e062['length']-0x1,_0xb0a732;_0x5160af>=0x0;_0x5160af--)(_0xb0a732=_0x56e062[_0x5160af])&&(_0x33ebbc=(_0x47d74b?_0xb0a732(_0x214b36,_0x52f2fa,_0x33ebbc):_0xb0a732(_0x33ebbc))||_0x33ebbc);return _0x47d74b&&_0x33ebbc&&_0x1886f4(_0x214b36,_0x52f2fa,_0x33ebbc),_0x33ebbc;},_0x16bc29=(_0xe2000d,_0x558211)=>(_0x2d1d9e,_0x4fffb0)=>_0x558211(_0x2d1d9e,_0x4fffb0,_0xe2000d);function _0x320062(_0x42ba25){const {unitID:_0x126159,mutations:_0x5bfb99}=_0x42ba25;return{'unitId':_0x126159,'subUnitId':_0x5bfb99[0x0]['params']['subUnitId']};}let _0x13a645=class{constructor(_0x5815b5,_0x3911a6){this['_injector']=_0x5815b5,this['_transformService']=_0x3911a6;}[_0x18d6ba(0x3dc)](_0x597349){const _0x18e657=_0x18d6ba;var _0xd76efd,_0x281a8a,_0x253691;const _0x5a9713=this[_0x18e657(0x42c)][_0x18e657(0x3e4)](_0x459c9c[_0x18e657(0x28d)]),{unitId:_0x5b113b,subUnitId:_0x17790d}=_0x320062(_0x597349),_0x1eb10c=_0x5a9713[_0x18e657(0x2d4)](_0x5b113b)[_0x18e657(0x57d)]();if(_0x1eb10c[_0x18e657(0x574)]===0x0||!_0x5b113b||!_0x17790d)return;const _0x419c5e=[{'id':_0x459c9c['SetSelectionsOperation']['id'],'params':{'unitId':_0x5b113b,'subUnitId':_0x17790d,'selections':_0x3aaa00[_0x18e657(0x2dd)][_0x18e657(0x475)](_0x1eb10c)}}],_0x1a9b16=this[_0x18e657(0x45d)][_0x18e657(0x588)](_0x597349,_0x419c5e);if(!_0x4d4d9d['isTransformMutationsWithChangesetSuccess'](_0x1a9b16))throw _0x1a9b16['error'];const _0x1bc78b=(_0x253691=(_0x281a8a=(_0xd76efd=_0x1a9b16['m2Prime'][0x0])==null?void 0x0:_0xd76efd[_0x18e657(0x561)])==null?void 0x0:_0x281a8a['selections'])!=null?_0x253691:_0x1eb10c;Array['isArray'](_0x1bc78b)&&_0x1bc78b[_0x18e657(0x574)]&&this[_0x18e657(0x42c)][_0x18e657(0x3e4)](_0x3aaa00['ICommandService'])[_0x18e657(0x2e9)](_0x459c9c['SetSelectionsOperation']['id'],{'unitId':_0x5b113b,'subUnitId':_0x17790d,'selections':_0x1bc78b});}};_0x13a645=_0x373c02([_0x16bc29(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector'])),_0x16bc29(0x1,_0x4d4d9d[_0x18d6ba(0x417)])],_0x13a645);const _0x2a61d2=new Set([_0x459c9c[_0x18d6ba(0x51c)]['id']]);function _0x37359c(_0x1558b0,_0xceb1ae,_0x3ed6c4,_0x2995fd,_0x4b56f6){const _0x229256=_0x18d6ba;var _0x34cfc3,_0x48cf1f,_0x3ecd33,_0x4a9d1a;const _0x5c6d1d=[];for(const _0x4a3970 of _0x1558b0)if(_0x2a61d2[_0x229256(0x443)](_0x4a3970['id'])){if(_0x5c6d1d[_0x229256(0x574)]>0x0)break;_0x5c6d1d[_0x229256(0x239)](_0x4a3970);break;}else _0x5c6d1d['push'](_0x4a3970);const _0xa8f00a=(_0x48cf1f=(_0x34cfc3=_0x4b56f6[_0x229256(0x331)]())==null?void 0x0:_0x34cfc3['userID'])!=null?_0x48cf1f:'unknown',_0x4d0c67=(_0x4a9d1a=(_0x3ecd33=_0x4b56f6['getCurrentUser']())==null?void 0x0:_0x3ecd33[_0x229256(0x229)])!=null?_0x4a9d1a:_0x229256(0x3a9);return{'changeset':{'unitID':_0xceb1ae,'type':_0x4d4d9d['mapDocumentTypeToUniverType'](_0x3ed6c4['getUnitType'](_0xceb1ae)),'baseRev':_0x2995fd[_0x229256(0x477)](_0xceb1ae),'revision':0x0,'userID':_0xa8f00a,'memberID':_0x4d0c67,'mutations':_0x5c6d1d},'pendingMutations':_0x1558b0['slice'](_0x5c6d1d['length'])};}function _0x539e1e(_0x13cdaa,_0x4d42e0,_0x386cd5,_0x3a850c,_0xcfe89b){const _0x565800=_0x18d6ba;var _0x3ae7bf,_0x2c345b,_0xed013,_0x2fb8f9;const _0x35adce=[_0x13cdaa[_0x565800(0x58d)]((_0x9e759,_0x48abee)=>{const _0x75479e=_0x565800;var _0x91a62e;const {id:_0x448adf}=_0x9e759,{id:_0x3e46aa,type:_0x21efe6}=_0x48abee,_0x387d2b=(_0x91a62e=_0x9e759['params'])!=null?_0x91a62e:{'actions':null},_0x9592f7=_0x48abee[_0x75479e(0x561)];if(_0x448adf&&_0x448adf!==_0x3e46aa)throw new Error(_0x75479e(0x310)+_0x448adf+_0x75479e(0x283)+_0x3e46aa+'.');return{..._0x9e759,'id':_0x3e46aa,'type':_0x21efe6,'params':{'unitId':_0x9592f7[_0x75479e(0x189)],'textRanges':_0x9592f7[_0x75479e(0x2f5)],'actions':_0x3aaa00[_0x75479e(0x386)]['compose'](_0x387d2b[_0x75479e(0x51f)],_0x9592f7[_0x75479e(0x51f)])}};},{})],_0x1cd925=(_0x2c345b=(_0x3ae7bf=_0xcfe89b[_0x565800(0x331)]())==null?void 0x0:_0x3ae7bf[_0x565800(0x1a4)])!=null?_0x2c345b:'unknown',_0x4149b2=(_0x2fb8f9=(_0xed013=_0xcfe89b[_0x565800(0x331)]())==null?void 0x0:_0xed013[_0x565800(0x229)])!=null?_0x2fb8f9:_0x565800(0x3a9);return{'changeset':{'unitID':_0x4d42e0,'type':_0x4d4d9d[_0x565800(0x37e)](_0x386cd5[_0x565800(0x247)](_0x4d42e0)),'baseRev':_0x3a850c[_0x565800(0x477)](_0x4d42e0),'revision':0x0,'userID':_0x1cd925,'memberID':_0x4149b2,'mutations':_0x35adce},'pendingMutations':[]};}const _0x499360={'id':_0x459c9c[_0x18d6ba(0x2b2)]['id'],'type':_0x3aaa00[_0x18d6ba(0x44a)]['MUTATION'],'params':{}};var _0x204b03=Object[_0x18d6ba(0x272)],_0x38b9e9=Object[_0x18d6ba(0x3fd)],_0x1a94a6=(_0x223a6d,_0xa6965,_0x5647eb,_0x252ca6)=>{for(var _0x6c3757=_0x252ca6>0x1?void 0x0:_0x252ca6?_0x38b9e9(_0xa6965,_0x5647eb):_0xa6965,_0x1fb909=_0x223a6d['length']-0x1,_0x50f8e0;_0x1fb909>=0x0;_0x1fb909--)(_0x50f8e0=_0x223a6d[_0x1fb909])&&(_0x6c3757=(_0x252ca6?_0x50f8e0(_0xa6965,_0x5647eb,_0x6c3757):_0x50f8e0(_0x6c3757))||_0x6c3757);return _0x252ca6&&_0x6c3757&&_0x204b03(_0xa6965,_0x5647eb,_0x6c3757),_0x6c3757;},_0x3cf1c3=(_0x32f48e,_0x16336a)=>(_0xfecd90,_0x12b2d5)=>_0x16336a(_0xfecd90,_0x12b2d5,_0x32f48e),_0x2232ef=(_0x1fcdcb=>(_0x1fcdcb[_0x18d6ba(0x1e5)]='not_collab',_0x1fcdcb[_0x18d6ba(0x274)]=_0x18d6ba(0x380),_0x1fcdcb[_0x18d6ba(0x1ed)]='pending',_0x1fcdcb[_0x18d6ba(0x2db)]='awaiting',_0x1fcdcb[_0x18d6ba(0x55e)]=_0x18d6ba(0x3b9),_0x1fcdcb['FETCH_MISS']=_0x18d6ba(0x28e),_0x1fcdcb['CONFLICT']=_0x18d6ba(0x24f),_0x1fcdcb['OFFLINE']='offline',_0x1fcdcb))(_0x2232ef||{});class _0x6955e5{constructor(_0x6b7e03,_0x16d8b1,_0xef4ea6,_0xc6a50f,_0x4b40f6,_0x36a627,_0x1d0299,_0x46adde,_0x3cb04c){const _0x4bfaf2=_0x18d6ba;_0x2c46b8(this,'_awaitingChangeset',null),_0x2c46b8(this,_0x4bfaf2(0x32d),[]),(this[_0x4bfaf2(0x4bb)]=_0x6b7e03,this[_0x4bfaf2(0x543)]=_0x16d8b1,this[_0x4bfaf2(0x2c7)]=_0x4b40f6,this[_0x4bfaf2(0x513)]=_0x36a627,this[_0x4bfaf2(0x496)]=_0x1d0299,this[_0x4bfaf2(0x2b4)]=_0x46adde,this[_0x4bfaf2(0x4bf)]=_0x3cb04c,this[_0x4bfaf2(0x53d)]=_0xef4ea6,this[_0x4bfaf2(0x32d)]=_0xc6a50f);}['_checkMissing'](_0x36c0a5){const _0x4cfe48=_0x18d6ba,_0x270187=this['_revisionService']['getCurrentRevForDocument'](this[_0x4cfe48(0x4bb)]);return _0x36c0a5[_0x4cfe48(0x292)]>_0x270187+0x1?(this[_0x4cfe48(0x2c7)][_0x4cfe48(0x38c)]({'from':_0x270187,'to':_0x36c0a5[_0x4cfe48(0x292)]-0x1}),!0x0):!0x1;}[_0x18d6ba(0x476)](_0x259986){const _0xc07737=_0x18d6ba;this[_0xc07737(0x496)]['transformUndoRedo'](this[_0xc07737(0x4bb)],_0x259986);}[_0x18d6ba(0x4f0)](_0x638e94){var _0xcc105c,_0x55d471;(_0x55d471=(_0xcc105c=this['_handler'])['onTransformSelections'])==null||_0x55d471['call'](_0xcc105c,_0x638e94);}[_0x18d6ba(0x525)](_0x36580a){const _0x2c50f0=_0x18d6ba;var _0x5393c6,_0x4c59f3;return(_0x4c59f3=(_0x5393c6=this[_0x2c50f0(0x2c7)])[_0x2c50f0(0x349)])==null?void 0x0:_0x4c59f3[_0x2c50f0(0x2f7)](_0x5393c6,_0x36580a);}['_transformRemoteChangesetByIMECache'](_0x46c3f8){const _0xd0764=_0x18d6ba;var _0x54855a,_0x487934,_0x3ff1fc;return(_0x3ff1fc=(_0x487934=(_0x54855a=this[_0xd0764(0x2c7)])[_0xd0764(0x305)])==null?void 0x0:_0x487934[_0xd0764(0x2f7)](_0x54855a,_0x46c3f8))!=null?_0x3ff1fc:_0x46c3f8;}[_0x18d6ba(0x194)](_0x85f7a8){const _0x243520=_0x18d6ba;var _0xc8ee21,_0x382ced;if(this[_0x243520(0x543)]===_0x3a110c[_0x243520(0x4c1)]){const {unitID:_0x1b61fd,mutations:_0x4ad630,memberID:_0x4d1850}=_0x85f7a8,_0x36323f=_0x4ad630[0x0][_0x243520(0x561)][_0x243520(0x2f5)];Array[_0x243520(0x342)](_0x36323f)&&_0x36323f[_0x243520(0x574)]>0x0&&((_0x382ced=(_0xc8ee21=this[_0x243520(0x2c7)])['onSyncEditingCollabCursor'])==null||_0x382ced[_0x243520(0x2f7)](_0xc8ee21,{'unitID':_0x1b61fd,'memberID':_0x4d1850,'textRanges':_0x36323f}));}}[_0x18d6ba(0x548)](){const _0x2234a9=_0x18d6ba;this[_0x2234a9(0x4bf)][_0x2234a9(0x339)](this[_0x2234a9(0x4bb)],this[_0x2234a9(0x543)],this[_0x2234a9(0x53d)],this[_0x2234a9(0x32d)]);}[_0x18d6ba(0x303)](){const _0xc9c5eb=_0x18d6ba;return this[_0xc9c5eb(0x2b4)][_0xc9c5eb(0x477)](this[_0xc9c5eb(0x4bb)]);}[_0x18d6ba(0x4e7)](){const _0x36191e=_0x18d6ba;this[_0x36191e(0x2b4)][_0x36191e(0x366)](this[_0x36191e(0x4bb)]);}[_0x18d6ba(0x243)](_0x3a458e){const _0xd3c9f1=_0x18d6ba;var _0x5ae6f4;const _0x26ca41=this[_0xd3c9f1(0x20b)](_0x3a458e),_0x48a44e=_0x3aaa00[_0xd3c9f1(0x3b2)](_0x26ca41['mutations'],this[_0xd3c9f1(0x513)],{'fromCollab':!0x0});if(!_0x48a44e[_0xd3c9f1(0x442)])throw _0x48a44e[_0xd3c9f1(0x4ae)]instanceof Error?_0x48a44e[_0xd3c9f1(0x4ae)]:new Error((_0x5ae6f4=_0x48a44e[_0xd3c9f1(0x4ae)])!=null?_0x5ae6f4:_0xd3c9f1(0x22c));this['_transformIMECache'](_0x26ca41),this[_0xd3c9f1(0x476)](_0x3a458e),this[_0xd3c9f1(0x4f0)](_0x26ca41),this[_0xd3c9f1(0x194)](_0x26ca41),this[_0xd3c9f1(0x4e7)]();}}let _0x26b02d=class extends _0x6955e5{constructor(_0x49dad4,_0x3370cb,_0x2f9bc6,_0x5eb409,_0x43e26f,_0x93d956,_0x3f6bc5,_0x1ada2a,_0xd4c71b,_0x57e442){const _0x168e75=_0x18d6ba;super(_0x49dad4,_0x3370cb,null,[],_0x2f9bc6,_0x1ada2a,_0x3f6bc5,_0x5eb409,_0x43e26f),_0x2c46b8(this,'status',_0x168e75(0x380)),(this[_0x168e75(0x42c)]=_0x93d956,this[_0x168e75(0x36e)]=_0xd4c71b,this[_0x168e75(0x45d)]=_0x57e442);}[_0x18d6ba(0x554)](_0x5762ab){const _0x3e8733=_0x18d6ba,_0x17a00b=this['_injector'][_0x3e8733(0x491)](_0x29d649,this[_0x3e8733(0x4bb)],this['type'],[_0x5762ab],this['_handler']);return _0x17a00b[_0x3e8733(0x4a9)](),_0x17a00b[_0x3e8733(0x548)](),_0x17a00b;}['onRemoteChangeset'](_0x56721a){const _0x38bf02=_0x18d6ba;if(this['_checkMissing'](_0x56721a))return this[_0x38bf02(0x42c)][_0x38bf02(0x491)](_0x386fc4,this[_0x38bf02(0x4bb)],this[_0x38bf02(0x543)],null,[],null,[_0x56721a],this[_0x38bf02(0x2c7)]);try{const _0x4f73b8=this[_0x38bf02(0x45d)][_0x38bf02(0x588)](_0x56721a,[_0x499360]);if(_0x4d4d9d[_0x38bf02(0x2be)](_0x4f73b8)){const {c1Prime:_0x2e21ad}=_0x4f73b8;return this[_0x38bf02(0x243)](_0x2e21ad),this;}throw _0x4f73b8[_0x38bf02(0x4ae)];}catch(_0x325c24){return this['_logService'][_0x38bf02(0x4ae)](_0x325c24),this[_0x38bf02(0x355)](!0x1);}}[_0x18d6ba(0x355)](_0x13141d){const _0x2b6cce=_0x18d6ba;return this['_injector'][_0x2b6cce(0x491)](_0x45cea0,this['unitID'],this['type'],null,[],this[_0x2b6cce(0x2c7)],_0x13141d);}[_0x18d6ba(0x1fc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x18d6ba(0x1e9)](){const _0x1b16da=_0x18d6ba;return this[_0x1b16da(0x42c)]['createInstance'](_0x451e23,this[_0x1b16da(0x4bb)],this[_0x1b16da(0x543)],null,[],this[_0x1b16da(0x2c7)]);}[_0x18d6ba(0x58f)](){return this;}['resend'](){const _0x2b9c7a=_0x18d6ba;throw new Error(_0x2b9c7a(0x32c));}};_0x26b02d=_0x1a94a6([_0x3cf1c3(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x4,_0x3aaa00['Inject'](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x256)]),_0x3cf1c3(0x7,_0x3aaa00['ICommandService']),_0x3cf1c3(0x8,_0x3aaa00[_0x18d6ba(0x42a)]),_0x3cf1c3(0x9,_0x4d4d9d[_0x18d6ba(0x417)])],_0x26b02d);let _0x29d649=class extends _0x6955e5{constructor(_0x5e0bf3,_0x4f7fde,_0x3ad07,_0x35642a,_0x54f1c1,_0x489db5,_0x309ed4,_0x4b5650,_0x5c6464,_0x5b3692,_0x2fcede,_0x1411ea,_0x2414d1,_0x337d3b){const _0x364411=_0x18d6ba;super(_0x5e0bf3,_0x4f7fde,null,_0x3ad07,_0x35642a,_0x5b3692,_0x337d3b,_0x489db5,_0x309ed4),_0x2c46b8(this,'status',_0x364411(0x223)),_0x2c46b8(this,'_scheduleTimestamp',null),_0x2c46b8(this,_0x364411(0x316),null),(this[_0x364411(0x42c)]=_0x54f1c1,this[_0x364411(0x241)]=_0x4b5650,this[_0x364411(0x36e)]=_0x5c6464,this['_configService']=_0x2fcede,this[_0x364411(0x45d)]=_0x1411ea,this['_univerInstanceService']=_0x2414d1);}[_0x18d6ba(0x554)](_0x3959e3){const _0x287792=_0x18d6ba;return this['_pendingMutations']['push'](_0x3959e3),this[_0x287792(0x548)](),this;}[_0x18d6ba(0x1b4)](_0x46b806){const _0x10a65b=_0x18d6ba;if(this[_0x10a65b(0x348)](_0x46b806))return this[_0x10a65b(0x576)](),this[_0x10a65b(0x42c)][_0x10a65b(0x491)](_0x386fc4,this[_0x10a65b(0x4bb)],this[_0x10a65b(0x543)],null,this['_pendingMutations'],null,[_0x46b806],this['_handler']);try{const _0x4c2972=this[_0x10a65b(0x45d)]['transformMutationsWithChangeset'](_0x46b806,this[_0x10a65b(0x32d)]);if(_0x4d4d9d[_0x10a65b(0x2be)](_0x4c2972)){const {c1Prime:_0x370114,m2Prime:_0xafb775}=_0x4c2972;this[_0x10a65b(0x243)](_0x370114);const _0x36287a=this['_injector'][_0x10a65b(0x491)](_0x29d649,this[_0x10a65b(0x4bb)],this[_0x10a65b(0x543)],_0xafb775,this[_0x10a65b(0x2c7)]);return this[_0x10a65b(0x576)](),_0x36287a['_schedule'](this[_0x10a65b(0x35f)]?Math[_0x10a65b(0x285)](0x0,new Date()['getTime']()-this[_0x10a65b(0x35f)]):this[_0x10a65b(0x57a)]()),_0x36287a;}throw _0x4c2972['error'];}catch(_0x2b6459){return this[_0x10a65b(0x36e)]['error'](_0x2b6459),this[_0x10a65b(0x355)](!0x1);}}[_0x18d6ba(0x1fc)](){const _0x1faa3f=_0x18d6ba;throw new Error(_0x1faa3f(0x3f2));}[_0x18d6ba(0x53a)](){const _0x28c1c2=_0x18d6ba;throw new Error(_0x28c1c2(0x487));}[_0x18d6ba(0x1e9)](){const _0x15455c=_0x18d6ba;return this[_0x15455c(0x576)](),this[_0x15455c(0x42c)][_0x15455c(0x491)](_0x451e23,this[_0x15455c(0x4bb)],this['type'],null,this[_0x15455c(0x32d)],this[_0x15455c(0x2c7)]);}[_0x18d6ba(0x58f)](){return this;}[_0x18d6ba(0x4a9)](_0x210fef){const _0x3f877a=_0x18d6ba;_0x210fef=_0x210fef!=null?_0x210fef:this['_getSendChangesetTimeout'](),this[_0x3f877a(0x35f)]=new Date()[_0x3f877a(0x1b5)](),this[_0x3f877a(0x316)]=setTimeout(()=>{const _0x10cce5=_0x3f877a;this['_clearScheduledTask']();let _0x26db6f=null;switch(this[_0x10cce5(0x543)]){case _0x3a110c[_0x10cce5(0x18a)]:{_0x26db6f=_0x37359c(this['_pendingMutations'],this[_0x10cce5(0x4bb)],this[_0x10cce5(0x318)],this[_0x10cce5(0x2b4)],this['_memberService']);break;}case _0x3a110c['UNIVER_DOC']:{this[_0x10cce5(0x32d)][_0x10cce5(0x23a)](_0x1f11d8=>_0x1f11d8['id']===_0x593e90[_0x10cce5(0x34e)]['id'])?_0x26db6f=_0x539e1e(this[_0x10cce5(0x32d)],this[_0x10cce5(0x4bb)],this[_0x10cce5(0x318)],this[_0x10cce5(0x2b4)],this['_memberService']):_0x26db6f=_0x37359c(this[_0x10cce5(0x32d)],this[_0x10cce5(0x4bb)],this[_0x10cce5(0x318)],this[_0x10cce5(0x2b4)],this[_0x10cce5(0x241)]);break;}default:throw new Error(_0x10cce5(0x340)+this[_0x10cce5(0x543)]+_0x10cce5(0x38e));}const {changeset:_0x2782ce,pendingMutations:_0x2a226b}=_0x26db6f;this[_0x10cce5(0x2c7)][_0x10cce5(0x2bb)](_0x2782ce);const _0x1bfe9e=_0x2a226b['length']?this[_0x10cce5(0x42c)]['createInstance'](_0x468b55,this[_0x10cce5(0x4bb)],this[_0x10cce5(0x543)],_0x2782ce,_0x2a226b,this[_0x10cce5(0x2c7)]):this[_0x10cce5(0x42c)][_0x10cce5(0x491)](_0x10c700,this[_0x10cce5(0x4bb)],this[_0x10cce5(0x543)],_0x2782ce,this[_0x10cce5(0x2c7)]);_0x1bfe9e['_updateLocalCache'](),this['_handler'][_0x10cce5(0x537)](this,_0x1bfe9e);},_0x210fef);}[_0x18d6ba(0x57a)](){const _0x1ae3a2=_0x18d6ba;var _0x145830;return(_0x145830=this['_configService'][_0x1ae3a2(0x499)](_0x3867e3))!=null?_0x145830:0x7d0;}['resend'](){const _0x58e8f5=_0x18d6ba;throw new Error(_0x58e8f5(0x4fe));}[_0x18d6ba(0x576)](){const _0x178356=_0x18d6ba;this[_0x178356(0x316)]!=null&&(clearTimeout(this[_0x178356(0x316)]),this[_0x178356(0x316)]=null);}[_0x18d6ba(0x355)](_0x99031){const _0x2e731b=_0x18d6ba;return this['_clearScheduledTask'](),this[_0x2e731b(0x42c)][_0x2e731b(0x491)](_0x45cea0,this[_0x2e731b(0x4bb)],this[_0x2e731b(0x543)],null,this[_0x2e731b(0x32d)],this[_0x2e731b(0x2c7)],_0x99031);}};_0x29d649=_0x1a94a6([_0x3cf1c3(0x4,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x107a5c)),_0x3cf1c3(0x8,_0x3aaa00[_0x18d6ba(0x42a)]),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0xa,_0x3aaa00[_0x18d6ba(0x195)]),_0x3cf1c3(0xb,_0x4d4d9d[_0x18d6ba(0x417)]),_0x3cf1c3(0xc,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x3cf1c3(0xd,_0x3aaa00[_0x18d6ba(0x256)])],_0x29d649);let _0x10c700=class extends _0x6955e5{constructor(_0x5b87ee,_0x48ef04,_0x1f7593,_0x2f9641,_0x3c563e,_0xcc26ca,_0x5f4068,_0x26039c,_0xf4a07a,_0xd2f271,_0x3174b2){const _0x2cd134=_0x18d6ba;super(_0x5b87ee,_0x48ef04,_0x1f7593,[],_0x2f9641,_0x26039c,_0x3174b2,_0xcc26ca,_0x5f4068),_0x2c46b8(this,_0x2cd134(0x322),_0x2cd134(0x19a)),(this[_0x2cd134(0x42c)]=_0x3c563e,this[_0x2cd134(0x36e)]=_0xf4a07a,this[_0x2cd134(0x45d)]=_0xd2f271);}[_0x18d6ba(0x554)](_0x240697){const _0x4b91d0=_0x18d6ba,_0x49325b=this['_injector'][_0x4b91d0(0x491)](_0x468b55,this[_0x4b91d0(0x4bb)],this[_0x4b91d0(0x543)],this['_awaitingChangeset'],[_0x240697],this['_handler']);return _0x49325b[_0x4b91d0(0x548)](),_0x49325b;}['onRemoteChangeset'](_0x3d3afd){const _0x55f7bf=_0x18d6ba;if(this[_0x55f7bf(0x348)](_0x3d3afd))return this[_0x55f7bf(0x42c)][_0x55f7bf(0x491)](_0x386fc4,this[_0x55f7bf(0x4bb)],this[_0x55f7bf(0x543)],this['_awaitingChangeset'],[],null,[_0x3d3afd],this[_0x55f7bf(0x2c7)]);try{const _0x2366f5=this['_transformService'][_0x55f7bf(0x2fd)]([_0x3d3afd],[this[_0x55f7bf(0x53d)]],!0x1);if(_0x4d4d9d[_0x55f7bf(0x49f)](_0x2366f5)){const {c1Prime:_0x54b871,c2Prime:_0x3e5aa1}=_0x2366f5;this[_0x55f7bf(0x243)](_0x54b871[0x0]),_0x3e5aa1[0x0]['baseRev']=this['_getCurrentRevision']();const _0x2b8d08=this[_0x55f7bf(0x42c)]['createInstance'](_0x10c700,this[_0x55f7bf(0x4bb)],this['type'],_0x3e5aa1[0x0],this[_0x55f7bf(0x2c7)]);return _0x2b8d08[_0x55f7bf(0x548)](),_0x2b8d08;}return this[_0x55f7bf(0x355)](!0x1);}catch(_0x5c96df){return this[_0x55f7bf(0x36e)][_0x55f7bf(0x4ae)](_0x5c96df),this[_0x55f7bf(0x355)](!0x1);}}[_0x18d6ba(0x1fc)](_0x15c95e){const _0x5dea5f=_0x18d6ba,_0xc02632=this[_0x5dea5f(0x2b4)]['getCurrentRevForDocument'](this[_0x5dea5f(0x4bb)]);if(_0x15c95e[_0x5dea5f(0x292)]<_0xc02632-0x1)return this;if(this[_0x5dea5f(0x348)](_0x15c95e))return this['_injector'][_0x5dea5f(0x491)](_0x386fc4,this[_0x5dea5f(0x4bb)],this[_0x5dea5f(0x543)],null,[],this['_awaitingChangeset'],[],this[_0x5dea5f(0x2c7)]);this[_0x5dea5f(0x4e7)]();const _0x34e2c0=this[_0x5dea5f(0x42c)][_0x5dea5f(0x491)](_0x26b02d,this[_0x5dea5f(0x4bb)],this[_0x5dea5f(0x543)],this['_handler']);return _0x34e2c0['_updateLocalCache'](),_0x34e2c0;}[_0x18d6ba(0x53a)](_0x412d70){const _0x250c2b=_0x18d6ba;return this[_0x250c2b(0x355)](!!(_0x412d70!=null&&_0x412d70[_0x250c2b(0x545)]));}['toggleOffline'](){const _0x2e6051=_0x18d6ba;return this[_0x2e6051(0x42c)][_0x2e6051(0x491)](_0x451e23,this[_0x2e6051(0x4bb)],this[_0x2e6051(0x543)],this[_0x2e6051(0x53d)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x18d6ba(0x46f)](){const _0x334a4f=_0x18d6ba;this[_0x334a4f(0x2c7)][_0x334a4f(0x2bb)](this[_0x334a4f(0x53d)]);}[_0x18d6ba(0x355)](_0x5daf06){const _0x556f71=_0x18d6ba;return this[_0x556f71(0x42c)][_0x556f71(0x491)](_0x45cea0,this[_0x556f71(0x4bb)],this[_0x556f71(0x543)],this[_0x556f71(0x53d)],[],this[_0x556f71(0x2c7)],_0x5daf06);}};_0x10c700=_0x1a94a6([_0x3cf1c3(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector'])),_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x6,_0x3aaa00['Inject'](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0x8,_0x3aaa00['ILogService']),_0x3cf1c3(0x9,_0x4d4d9d[_0x18d6ba(0x417)]),_0x3cf1c3(0xa,_0x3aaa00[_0x18d6ba(0x256)])],_0x10c700);let _0x468b55=class extends _0x6955e5{constructor(_0x12de45,_0x3cff41,_0x13decb,_0x4dc888,_0xabbd0f,_0x54162b,_0xa68d0e,_0x3bcc93,_0x63a85c,_0x5aacb2,_0x1b7264,_0x24ca78){const _0x4ee9c1=_0x18d6ba;super(_0x12de45,_0x3cff41,_0x13decb,_0x4dc888,_0xabbd0f,_0x63a85c,_0x24ca78,_0xa68d0e,_0x3bcc93),_0x2c46b8(this,'status',_0x4ee9c1(0x3b9)),(this[_0x4ee9c1(0x42c)]=_0x54162b,this[_0x4ee9c1(0x36e)]=_0x5aacb2,this[_0x4ee9c1(0x45d)]=_0x1b7264);}[_0x18d6ba(0x554)](_0x68781e){const _0x3cc288=_0x18d6ba;return this[_0x3cc288(0x32d)][_0x3cc288(0x239)](_0x68781e),this;}[_0x18d6ba(0x1b4)](_0x556036){const _0x4a7405=_0x18d6ba;if(this['_checkMissing'](_0x556036))return this[_0x4a7405(0x42c)]['createInstance'](_0x386fc4,this[_0x4a7405(0x4bb)],this['type'],this[_0x4a7405(0x53d)],this[_0x4a7405(0x32d)],null,[_0x556036],this[_0x4a7405(0x2c7)]);try{const _0xf2ac02=this[_0x4a7405(0x45d)][_0x4a7405(0x2fd)]([_0x556036],[this[_0x4a7405(0x53d)]],!0x1);if(_0x4d4d9d['isTransformChangesetsSuccess'](_0xf2ac02)){const {c1Prime:_0x521580,c2Prime:_0x1499b9}=_0xf2ac02,_0xabb37=this['_transformService'][_0x4a7405(0x588)](_0x521580[0x0],this[_0x4a7405(0x32d)]);if(_0x4d4d9d[_0x4a7405(0x2be)](_0xabb37)){const {c1Prime:_0x2eddac,m2Prime:_0x57cfa3}=_0xabb37;return this[_0x4a7405(0x243)](_0x2eddac),_0x1499b9[0x0]['baseRev']=this[_0x4a7405(0x303)](),this['_injector']['createInstance'](_0x468b55,this[_0x4a7405(0x4bb)],this[_0x4a7405(0x543)],_0x1499b9[0x0],_0x57cfa3,this[_0x4a7405(0x2c7)]);}throw _0xabb37[_0x4a7405(0x4ae)];}throw _0xf2ac02['error'];}catch(_0x4c6b85){return this[_0x4a7405(0x36e)]['error'](_0x4c6b85),this[_0x4a7405(0x355)](!0x1);}}[_0x18d6ba(0x1fc)](_0x24a8fa){const _0x365077=_0x18d6ba;if(this[_0x365077(0x348)](_0x24a8fa))return this[_0x365077(0x42c)][_0x365077(0x491)](_0x386fc4,this[_0x365077(0x4bb)],this[_0x365077(0x543)],null,this[_0x365077(0x32d)],this[_0x365077(0x53d)],[],this[_0x365077(0x2c7)]);this['_incrementRevisionNumber']();const _0x59a373=this['_injector'][_0x365077(0x491)](_0x29d649,this[_0x365077(0x4bb)],this['type'],this[_0x365077(0x32d)],this[_0x365077(0x2c7)]);return _0x59a373['_schedule'](),_0x59a373['_updateLocalCache'](),_0x59a373;}[_0x18d6ba(0x53a)](_0x4e9e20){const _0x480404=_0x18d6ba;return this[_0x480404(0x355)](!!(_0x4e9e20!=null&&_0x4e9e20[_0x480404(0x545)]));}['toggleOffline'](){const _0x4c2e07=_0x18d6ba;return this[_0x4c2e07(0x42c)][_0x4c2e07(0x491)](_0x451e23,this[_0x4c2e07(0x4bb)],this[_0x4c2e07(0x543)],this[_0x4c2e07(0x53d)],this[_0x4c2e07(0x32d)],this['_handler']);}[_0x18d6ba(0x58f)](){return this;}['resend'](){const _0x250d78=_0x18d6ba;this[_0x250d78(0x2c7)]['onSendChangeset'](this[_0x250d78(0x53d)]);}[_0x18d6ba(0x355)](_0x52698c){const _0xce2da6=_0x18d6ba;return this['_injector']['createInstance'](_0x45cea0,this[_0xce2da6(0x4bb)],this['type'],null,this['_pendingMutations'],this[_0xce2da6(0x2c7)],_0x52698c);}};_0x468b55=_0x1a94a6([_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['LocalCacheService'])),_0x3cf1c3(0x8,_0x3aaa00['ICommandService']),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x42a)]),_0x3cf1c3(0xa,_0x4d4d9d[_0x18d6ba(0x417)]),_0x3cf1c3(0xb,_0x3aaa00[_0x18d6ba(0x256)])],_0x468b55);let _0x45cea0=class extends _0x6955e5{constructor(_0x58efb0,_0xb00d16,_0xfbcbec,_0x57104d,_0x412d27,_0x2c3fde=!0x1,_0x9aedd2,_0xed465,_0x405588,_0x9f3f45,_0x2bda58,_0x5185eb,_0x25a8bf){const _0x42389b=_0x18d6ba;super(_0x58efb0,_0xb00d16,_0xfbcbec,_0x57104d,_0x412d27,_0xed465,_0x405588,_0x2bda58,_0x9f3f45),_0x2c46b8(this,_0x42389b(0x322),_0x42389b(0x24f)),(this[_0x42389b(0x2ea)]=_0x2c3fde,this[_0x42389b(0x55a)]=_0x9aedd2,this[_0x42389b(0x43e)]=_0x5185eb,this[_0x42389b(0x206)]=_0x25a8bf,this[_0x42389b(0x2ab)](),this[_0x42389b(0x47c)](),this[_0x42389b(0x3d1)]());}['appendMutation'](){return this;}[_0x18d6ba(0x1b4)](){return this;}['onRemoteAck'](){return this;}[_0x18d6ba(0x53a)](){return this;}[_0x18d6ba(0x1e9)](){return this;}[_0x18d6ba(0x58f)](){return this;}[_0x18d6ba(0x46f)](){const _0x22927d=_0x18d6ba;throw new Error(_0x22927d(0x3c8));}[_0x18d6ba(0x47c)](){const _0x239ba8=_0x18d6ba;this[_0x239ba8(0x4bf)]['updateOfflineData'](this[_0x239ba8(0x4bb)],this['type'],null,[]);}[_0x18d6ba(0x2ab)](){const _0x44e5d5=_0x18d6ba;this[_0x44e5d5(0x2ea)]?this[_0x44e5d5(0x206)][_0x44e5d5(0x3f8)]({'title':this[_0x44e5d5(0x43e)]['t'](_0x44e5d5(0x553)),'content':this[_0x44e5d5(0x43e)]['t']('permission.content'),'type':_0x44e5d5(0x4ae),'duration':0x0}):this[_0x44e5d5(0x206)][_0x44e5d5(0x3f8)]({'title':this[_0x44e5d5(0x43e)]['t']('conflict.title'),'content':this[_0x44e5d5(0x43e)]['t']('conflict.content'),'type':'error','duration':0x0});}[_0x18d6ba(0x3d1)](){const _0xe64fe7=_0x18d6ba;this[_0xe64fe7(0x55a)][_0xe64fe7(0x198)](new _0x459c9c['WorkbookEditablePermission'](this[_0xe64fe7(0x4bb)])['id'],!0x1);}};_0x45cea0=_0x1a94a6([_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x23f)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0x8,_0x3aaa00['IUndoRedoService']),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0xa,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d['RevisionService'])),_0x3cf1c3(0xb,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x3cf1c3(0xc,_0x2b4c8d[_0x18d6ba(0x237)])],_0x45cea0);let _0x451e23=class extends _0x6955e5{constructor(_0x15fff2,_0x5bbea6,_0x628435,_0x37e1c3,_0x2f9f6e,_0x2149da,_0x12fd72,_0x24dca5,_0x186176,_0x4a9884){const _0x3f568b=_0x18d6ba;super(_0x15fff2,_0x5bbea6,_0x628435,_0x37e1c3,_0x2f9f6e,_0x186176,_0x4a9884,_0x12fd72,_0x24dca5),_0x2c46b8(this,_0x3f568b(0x322),_0x3f568b(0x323)),this[_0x3f568b(0x42c)]=_0x2149da;}['appendMutation'](_0x173e88){const _0x4681f0=_0x18d6ba;return this['_pendingMutations'][_0x4681f0(0x239)](_0x173e88),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1bda2f){const _0x152caf=_0x18d6ba;throw new Error(_0x152caf(0x536));}[_0x18d6ba(0x1fc)](){const _0x58d9a1=_0x18d6ba;throw new Error(_0x58d9a1(0x530));}[_0x18d6ba(0x53a)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x18d6ba(0x1e9)](){return this;}[_0x18d6ba(0x58f)](){const _0x5807fc=_0x18d6ba,{_injector:_0x4efc4b,_pendingMutations:_0xaa8f73,_awaitingChangeset:_0x2ab016,unitID:_0x187f68,_handler:_0x503fe4,type:_0x3da9db}=this,_0x115319=_0x5c3cd0(_0x4efc4b,_0x187f68,_0x3da9db,_0x2ab016,_0xaa8f73,_0x503fe4);return _0x115319 instanceof _0x29d649?_0x115319[_0x5807fc(0x4a9)]():(_0x115319 instanceof _0x468b55||_0x115319 instanceof _0x10c700)&&_0x115319[_0x5807fc(0x46f)](),_0x115319;}['resend'](){const _0x517a85=_0x18d6ba;throw new Error(_0x517a85(0x2a1));}};_0x451e23=_0x1a94a6([_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector'])),_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0x8,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x256)])],_0x451e23);let _0x386fc4=class extends _0x6955e5{constructor(_0x41fdf7,_0x271c96,_0x317034,_0x58886f,_0x483b88,_0x41bc3a,_0x1a9da1,_0x2910a3,_0x203647,_0x431962,_0x2ce923,_0x405cde,_0x5095e5,_0x202257){const _0xf126b3=_0x18d6ba;super(_0x41fdf7,_0x271c96,_0x317034,_0x58886f,_0x1a9da1,_0x405cde,_0x5095e5,_0x203647,_0x431962),_0x2c46b8(this,_0xf126b3(0x322),_0xf126b3(0x28e)),(this[_0xf126b3(0x57e)]=_0x483b88,this['_queuedRemoteChangesets']=_0x41bc3a,this[_0xf126b3(0x42c)]=_0x2910a3,this['_logService']=_0x2ce923,this[_0xf126b3(0x45d)]=_0x202257);}['onMissedChangesetFetched'](_0x550312){const _0x1c68e1=_0x18d6ba;try{const _0x58d3f4=[..._0x550312,...this[_0x1c68e1(0x20f)]],_0x2d1aa2=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x562b14=>!!_0x562b14);let _0x25ecaf,_0x237465;if(_0x2d1aa2[_0x1c68e1(0x574)]){const _0x3b504c=this[_0x1c68e1(0x45d)][_0x1c68e1(0x2fd)](_0x58d3f4,_0x2d1aa2,!0x1);if(!_0x4d4d9d[_0x1c68e1(0x49f)](_0x3b504c))throw _0x3b504c[_0x1c68e1(0x4ae)];_0x25ecaf=_0x3b504c[_0x1c68e1(0x486)],_0x237465=_0x3b504c[_0x1c68e1(0x314)];}else _0x25ecaf=_0x58d3f4,_0x237465=[];let _0x1cf98f=this[_0x1c68e1(0x32d)];_0x25ecaf[_0x1c68e1(0x387)](_0x36afed=>{const _0x33216f=_0x1c68e1;let _0x2fdc7f;if(_0x1cf98f[_0x33216f(0x574)]){const _0x43dfe9=this[_0x33216f(0x45d)]['transformMutationsWithChangeset'](_0x36afed,_0x1cf98f);if(!_0x4d4d9d[_0x33216f(0x2be)](_0x43dfe9))throw _0x43dfe9[_0x33216f(0x4ae)];_0x2fdc7f=_0x43dfe9[_0x33216f(0x486)],_0x1cf98f=_0x43dfe9[_0x33216f(0x1d2)];}else _0x2fdc7f=_0x36afed;this['_executeRemoteChangeset'](_0x2fdc7f);}),this[_0x1c68e1(0x57e)]&&this[_0x1c68e1(0x4e7)](),this[_0x1c68e1(0x53d)]&&_0x237465[_0x1c68e1(0x574)]&&(_0x237465[0x0]['baseRev']=this['_getCurrentRevision']());let _0x946a3e;if(this[_0x1c68e1(0x53d)]&&_0x1cf98f[_0x1c68e1(0x574)]!==0x0)_0x946a3e=this['_injector']['createInstance'](_0x468b55,this[_0x1c68e1(0x4bb)],this[_0x1c68e1(0x543)],_0x237465[0x0],_0x1cf98f,this[_0x1c68e1(0x2c7)]);else{if(this[_0x1c68e1(0x53d)]&&_0x1cf98f[_0x1c68e1(0x574)]===0x0)_0x237465[0x0][_0x1c68e1(0x3f3)]=this['_getCurrentRevision'](),_0x946a3e=this[_0x1c68e1(0x42c)][_0x1c68e1(0x491)](_0x10c700,this[_0x1c68e1(0x4bb)],this['type'],_0x237465[0x0],this[_0x1c68e1(0x2c7)]);else{if(_0x1cf98f[_0x1c68e1(0x574)]!==0x0){const _0x2b90da=this[_0x1c68e1(0x42c)][_0x1c68e1(0x491)](_0x29d649,this[_0x1c68e1(0x4bb)],this[_0x1c68e1(0x543)],_0x1cf98f,this[_0x1c68e1(0x2c7)]);_0x2b90da[_0x1c68e1(0x4a9)](),_0x946a3e=_0x2b90da;}else _0x946a3e=this[_0x1c68e1(0x42c)]['createInstance'](_0x26b02d,this['unitID'],this[_0x1c68e1(0x543)],this['_handler']);}}return _0x946a3e[_0x1c68e1(0x548)](),_0x946a3e;}catch(_0x250239){return this[_0x1c68e1(0x36e)][_0x1c68e1(0x4ae)](_0x1c68e1(0x21d),_0x1c68e1(0x52f),_0x250239),this[_0x1c68e1(0x42c)][_0x1c68e1(0x491)](_0x45cea0,this['unitID'],this[_0x1c68e1(0x543)],this[_0x1c68e1(0x53d)],this[_0x1c68e1(0x32d)],this[_0x1c68e1(0x2c7)],!0x1);}}[_0x18d6ba(0x46f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x18d6ba(0x554)](_0x39e4ae){const _0x5246cb=_0x18d6ba;return this[_0x5246cb(0x32d)][_0x5246cb(0x239)](_0x39e4ae),this;}[_0x18d6ba(0x1b4)](_0x3f677a){const _0x27ca58=_0x18d6ba;return this[_0x27ca58(0x20f)][_0x27ca58(0x239)](_0x3f677a),this;}[_0x18d6ba(0x1fc)](_0x498128){const _0x40e94b=_0x18d6ba;if(this[_0x40e94b(0x53d)])return this[_0x40e94b(0x57e)]=this['_awaitingChangeset'],this[_0x40e94b(0x53d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x18d6ba(0x53a)](_0x2011b9){const _0x46652b=_0x18d6ba;return this[_0x46652b(0x355)](!!(_0x2011b9!=null&&_0x2011b9['isPermissionRej']));}[_0x18d6ba(0x1e9)](){const _0x862924=_0x18d6ba;return this['_injector'][_0x862924(0x491)](_0x451e23,this['unitID'],this['type'],this[_0x862924(0x53d)],this[_0x862924(0x32d)],this[_0x862924(0x2c7)]);}[_0x18d6ba(0x58f)](){return this;}[_0x18d6ba(0x355)](_0x48a8dd){const _0x3e8819=_0x18d6ba;return this['_injector'][_0x3e8819(0x491)](_0x45cea0,this[_0x3e8819(0x4bb)],this['type'],this[_0x3e8819(0x53d)],this[_0x3e8819(0x32d)],this[_0x3e8819(0x2c7)],_0x48a8dd);}};_0x386fc4=_0x1a94a6([_0x3cf1c3(0x7,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x3cf1c3(0x8,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d['RevisionService'])),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0xa,_0x3aaa00[_0x18d6ba(0x42a)]),_0x3cf1c3(0xb,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0xc,_0x3aaa00['IUndoRedoService']),_0x3cf1c3(0xd,_0x4d4d9d[_0x18d6ba(0x417)])],_0x386fc4);function _0x5c3cd0(_0xf8fb20,_0x56b7e7,_0x29f371,_0x16ba9c,_0x521375,_0x38b588){const _0x48a029=_0x18d6ba;return _0x16ba9c&&_0x521375[_0x48a029(0x574)]?_0xf8fb20['createInstance'](_0x468b55,_0x56b7e7,_0x29f371,_0x16ba9c,_0x521375,_0x38b588):_0x16ba9c?_0xf8fb20[_0x48a029(0x491)](_0x10c700,_0x56b7e7,_0x29f371,_0x16ba9c,_0x38b588):_0x521375[_0x48a029(0x574)]?_0xf8fb20[_0x48a029(0x491)](_0x29d649,_0x56b7e7,_0x29f371,_0x521375,_0x38b588):_0xf8fb20[_0x48a029(0x491)](_0x26b02d,_0x56b7e7,_0x29f371,_0x38b588);}var _0x2db266=Object[_0x18d6ba(0x272)],_0x5bbbca=Object[_0x18d6ba(0x3fd)],_0x3c73bd=(_0xeff471,_0x5fc685,_0x48cfd0,_0x443995)=>{const _0x3c0abb=_0x18d6ba;for(var _0x4a62a9=_0x443995>0x1?void 0x0:_0x443995?_0x5bbbca(_0x5fc685,_0x48cfd0):_0x5fc685,_0x978ba6=_0xeff471[_0x3c0abb(0x574)]-0x1,_0x5813cb;_0x978ba6>=0x0;_0x978ba6--)(_0x5813cb=_0xeff471[_0x978ba6])&&(_0x4a62a9=(_0x443995?_0x5813cb(_0x5fc685,_0x48cfd0,_0x4a62a9):_0x5813cb(_0x4a62a9))||_0x4a62a9);return _0x443995&&_0x4a62a9&&_0x2db266(_0x5fc685,_0x48cfd0,_0x4a62a9),_0x4a62a9;},_0x573f10=(_0x452b58,_0x159307)=>(_0x2dc5fb,_0x5ee228)=>_0x159307(_0x2dc5fb,_0x5ee228,_0x452b58);_0x4c54a0[_0x18d6ba(0x2c0)]=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x1c378d,_0x9666aa,_0x851236){const _0x3e79ae=_0x18d6ba;super(),_0x2c46b8(this,_0x3e79ae(0x56b),new Map()),_0x2c46b8(this,_0x3e79ae(0x309),new _0x5cbc6e[(_0x3e79ae(0x328))]()),(this[_0x3e79ae(0x42c)]=_0x1c378d,this[_0x3e79ae(0x48b)]=_0x9666aa,this[_0x3e79ae(0x318)]=_0x851236,this[_0x3e79ae(0x286)]());}[_0x18d6ba(0x338)](){const _0x11987f=_0x18d6ba;super[_0x11987f(0x338)](),this[_0x11987f(0x56b)][_0x11987f(0x387)](_0x4fdc75=>_0x4fdc75[_0x11987f(0x338)]()),this['_entities'][_0x11987f(0x580)]();}[_0x18d6ba(0x41f)](_0x475987){const _0x5ad600=_0x18d6ba;var _0x1d0933;return(_0x1d0933=this[_0x5ad600(0x56b)][_0x5ad600(0x3e4)](_0x475987))!=null?_0x1d0933:null;}[_0x18d6ba(0x45b)](_0x20e8b3){const _0x2f7b39=_0x18d6ba,_0x5abb2a=this[_0x2f7b39(0x41f)](_0x20e8b3);return _0x5abb2a?_0x5cbc6e['of'](_0x5abb2a):this[_0x2f7b39(0x309)][_0x2f7b39(0x32f)](_0x267050[_0x2f7b39(0x46d)](_0x4fa09f=>_0x4fa09f['unitID']===_0x20e8b3));}['_init'](){const _0x2dc36e=_0x18d6ba;this[_0x2dc36e(0x318)][_0x2dc36e(0x2e8)](_0x3aaa00[_0x2dc36e(0x434)][_0x2dc36e(0x18a)])[_0x2dc36e(0x32f)](_0x5cbc6e[_0x2dc36e(0x40b)](this[_0x2dc36e(0x505)]),_0x267050[_0x2dc36e(0x40c)](0x10))[_0x2dc36e(0x559)](async _0x39af48=>{const _0x587641=_0x2dc36e,_0x1f77d2=_0x39af48['getUnitId'](),_0x4f3fcc=await this['_startCollaboration'](_0x1f77d2,_0x3a110c[_0x587641(0x18a)]);this[_0x587641(0x56b)][_0x587641(0x2a6)](_0x1f77d2,_0x4f3fcc);}),this[_0x2dc36e(0x318)][_0x2dc36e(0x2e8)](_0x3aaa00[_0x2dc36e(0x434)][_0x2dc36e(0x4c1)])['pipe'](_0x5cbc6e[_0x2dc36e(0x40b)](this['dispose$']),_0x267050[_0x2dc36e(0x40c)](0x10))['pipe'](_0x267050['filter'](_0x3ddb46=>!_0x3ddb46[_0x2dc36e(0x4b6)]()[_0x2dc36e(0x352)]('__')))[_0x2dc36e(0x559)](async _0x29a5b9=>{const _0x2588fd=_0x2dc36e,_0x133e3c=_0x29a5b9[_0x2588fd(0x4b6)](),_0x5e1c78=await this[_0x2588fd(0x248)](_0x133e3c,_0x3a110c[_0x2588fd(0x4c1)]);this[_0x2588fd(0x56b)][_0x2588fd(0x2a6)](_0x133e3c,_0x5e1c78);}),_0x5cbc6e['merge'](this[_0x2dc36e(0x318)][_0x2dc36e(0x551)](_0x3aaa00[_0x2dc36e(0x434)][_0x2dc36e(0x18a)]),this[_0x2dc36e(0x318)][_0x2dc36e(0x551)](_0x3aaa00[_0x2dc36e(0x434)][_0x2dc36e(0x4c1)]))[_0x2dc36e(0x32f)](_0x5cbc6e[_0x2dc36e(0x40b)](this[_0x2dc36e(0x505)]))[_0x2dc36e(0x559)](_0x9117df=>{const _0x161070=_0x2dc36e,_0x59305f=_0x9117df['getUnitId'](),_0x831a45=this[_0x161070(0x56b)][_0x161070(0x3e4)](_0x59305f);_0x831a45&&(_0x831a45[_0x161070(0x338)](),this[_0x161070(0x56b)][_0x161070(0x466)](_0x59305f));});}async[_0x18d6ba(0x248)](_0x1b802d,_0x341244){const _0x661c5b=_0x18d6ba,_0x525686=await this[_0x661c5b(0x48b)]['requireSession'](_0x1b802d),_0x292906=this['_injector'][_0x661c5b(0x491)](this[_0x661c5b(0x4e4)](_0x341244),_0x1b802d,_0x341244,_0x525686);return await _0x292906[_0x661c5b(0x367)](),this['_entityInit$'][_0x661c5b(0x1c5)](_0x292906),_0x292906;}[_0x18d6ba(0x4e4)](_0x3af3d8){const _0x26cd69=_0x18d6ba;switch(_0x3af3d8){case _0x3a110c['UNIVER_DOC']:return _0x823487;case _0x3a110c[_0x26cd69(0x18a)]:return _0x4c54a0[_0x26cd69(0x26d)];default:throw new Error(_0x26cd69(0x1a1)+_0x3af3d8);}}},_0x4c54a0[_0x18d6ba(0x2c0)]=_0x3c73bd([_0x3aaa00['OnLifecycle'](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x1d5)],_0x4c54a0['CollaborationController']),_0x573f10(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x573f10(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['CollaborationSessionService'])),_0x573f10(0x2,_0x3aaa00['IUniverInstanceService'])],_0x4c54a0[_0x18d6ba(0x2c0)]);let _0x3f4594=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x31421a,_0x4fedeb,_0x5b3586,_0x345be3,_0x20405a,_0x1bd5cc,_0x11413f,_0x34690f,_0x2a7601,_0x9d04ae,_0x590951,_0x32e524,_0x43d2e9){const _0x5c503e=_0x18d6ba;super(),_0x2c46b8(this,'_state$',new _0x5cbc6e[(_0x5c503e(0x1ec))](null)),_0x2c46b8(this,_0x5c503e(0x207),this['_state$'][_0x5c503e(0x28c)]()),_0x2c46b8(this,_0x5c503e(0x509)),_0x2c46b8(this,_0x5c503e(0x1bf),!0x1),_0x2c46b8(this,_0x5c503e(0x503),this[_0x5c503e(0x207)][_0x5c503e(0x32f)](_0x267050[_0x5c503e(0x343)](_0x28f9ac=>_0x28f9ac?_0x28f9ac[_0x5c503e(0x322)]:_0x2232ef[_0x5c503e(0x1f8)]),_0x267050[_0x5c503e(0x27e)](0x1))),_0x2c46b8(this,'_transitionLocked',!0x1),_0x2c46b8(this,_0x5c503e(0x293),[]),(this[_0x5c503e(0x4bb)]=_0x31421a,this[_0x5c503e(0x2f8)]=_0x4fedeb,this[_0x5c503e(0x1a3)]=_0x5b3586,this[_0x5c503e(0x42c)]=_0x345be3,this['_localCacheService']=_0x20405a,this[_0x5c503e(0x249)]=_0x1bd5cc,this[_0x5c503e(0x43e)]=_0x11413f,this[_0x5c503e(0x2b4)]=_0x34690f,this['_logService']=_0x2a7601,this[_0x5c503e(0x513)]=_0x9d04ae,this[_0x5c503e(0x21a)]=_0x590951,this[_0x5c503e(0x55a)]=_0x32e524,this['_singleActiveUnitService']=_0x43d2e9);}get[_0x18d6ba(0x1f7)](){const _0x53c588=_0x18d6ba;return this[_0x53c588(0x509)];}async[_0x18d6ba(0x367)](){const _0x5cabe1=_0x18d6ba;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5cabe1(0x286)]();}[_0x18d6ba(0x54c)](){const _0x433cf6=_0x18d6ba;return this[_0x433cf6(0x1bf)]=!0x0,_0x3aaa00[_0x433cf6(0x1cd)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x18d6ba(0x24b)](_0x3708a6){const _0x42ef92=_0x18d6ba;this['_state']=_0x3708a6,this[_0x42ef92(0x3d9)][_0x42ef92(0x1c5)](_0x3708a6);}async['_init'](){const _0x3936c0=_0x18d6ba;var _0x1bdeda;return this[_0x3936c0(0x24b)](await this[_0x3936c0(0x516)]()),this['_singleActiveUnitService']&&((_0x1bdeda=this['_singleActiveUnitService'])==null||_0x1bdeda[_0x3936c0(0x39d)](this[_0x3936c0(0x4bb)]),this[_0x3936c0(0x43a)](_0x3aaa00[_0x3936c0(0x1cd)](this['_singleActiveUnitService'][_0x3936c0(0x2bd)](this[_0x3936c0(0x4bb)])[_0x3936c0(0x559)](_0x90029f=>{const _0x19e8b8=_0x3936c0;this['_logService'][_0x19e8b8(0x3bd)](_0x19e8b8(0x2da),_0x19e8b8(0x4b7),_0x90029f),_0x90029f===_0x3fa2a7[_0x19e8b8(0x46b)]?(this[_0x19e8b8(0x21a)][_0x19e8b8(0x3f8)]({'content':this[_0x19e8b8(0x43e)]['t'](_0x19e8b8(0x53f)),'type':_0x564857[_0x19e8b8(0x260)][_0x19e8b8(0x40f)]}),this[_0x19e8b8(0x55a)][_0x19e8b8(0x198)](new _0x459c9c[(_0x19e8b8(0x2a3))](this[_0x19e8b8(0x4bb)])['id'],!0x1)):this[_0x19e8b8(0x55a)][_0x19e8b8(0x198)](new _0x459c9c['WorkbookEditablePermission'](this[_0x19e8b8(0x4bb)])['id'],!0x0);})))),this['disposeWithMe'](_0x3aaa00[_0x3936c0(0x1cd)](this[_0x3936c0(0x1a3)][_0x3936c0(0x462)][_0x3936c0(0x559)](_0x50079a=>{const _0x4e19ff=_0x3936c0;_0x50079a===_0x2cd85f['ONLINE']?this[_0x4e19ff(0x4de)]():_0x50079a===_0x2cd85f['OFFLINE']&&this['_toggleOffline']();}))),this[_0x3936c0(0x43a)](_0x3aaa00[_0x3936c0(0x1cd)](this[_0x3936c0(0x1a3)][_0x3936c0(0x2f0)]['subscribe'](_0x460567=>{const _0x3abc9c=_0x3936c0;try{switch(_0x460567[_0x3abc9c(0x539)]){case _0x4d4d9d[_0x3abc9c(0x2ae)]['NEW_CHANGESETS']:{this[_0x3abc9c(0x43b)](_0x4d4d9d[_0x3abc9c(0x4cd)](_0x460567[_0x3abc9c(0x44f)]));break;}case _0x4d4d9d['CollaborationEvent'][_0x3abc9c(0x4e1)]:{this[_0x3abc9c(0x1f4)](_0x460567[_0x3abc9c(0x44f)]);break;}case _0x4d4d9d['CollaborationEvent'][_0x3abc9c(0x3fb)]:{this['_onRemoteRejected']();break;}case _0x4d4d9d[_0x3abc9c(0x2ae)][_0x3abc9c(0x52c)]:{this[_0x3abc9c(0x1e3)](_0x460567['data'][_0x3abc9c(0x589)][_0x3abc9c(0x343)](_0x4bff2d=>_0x4d4d9d[_0x3abc9c(0x4cd)](_0x4bff2d)));break;}case _0x4d4d9d[_0x3abc9c(0x2ae)]['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x226b7c){throw console['error'](_0x3abc9c(0x549),_0x226b7c),_0x226b7c;}}))),this[_0x3936c0(0x509)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x135908=_0x18d6ba;if(this[_0x135908(0x25d)])throw new Error(_0x135908(0x3c4));this['_transitionLocked']=!0x0;}[_0x18d6ba(0x1d0)](_0xa90241){const _0x13c153=_0x18d6ba;this[_0x13c153(0x451)](),this['_updateState'](this[_0x13c153(0x509)]['appendMutation'](_0xa90241)),this[_0x13c153(0x21b)]();}[_0x18d6ba(0x43b)](_0x1b721b){const _0x18bec1=_0x18d6ba;if(!(_0x1b721b['revision']<=this[_0x18bec1(0x2b4)]['getCurrentRevForDocument'](this[_0x18bec1(0x4bb)]))){if(this[_0x18bec1(0x1bf)]){this[_0x18bec1(0x293)][_0x18bec1(0x239)](_0x1b721b);return;}this[_0x18bec1(0x542)](_0x1b721b);}}['_exhaustRemoteChangesetQueue'](){const _0x11e713=_0x18d6ba;this[_0x11e713(0x293)][_0x11e713(0x387)](_0x249b53=>this[_0x11e713(0x542)](_0x249b53)),this[_0x11e713(0x293)]=[];}[_0x18d6ba(0x542)](_0xb57ca5){const _0x23a27c=_0x18d6ba,_0x3966bf=this[_0x23a27c(0x249)][_0x23a27c(0x413)]['fetchThroughInterceptors'](this[_0x23a27c(0x249)]['interceptor'][_0x23a27c(0x2e1)]()[_0x23a27c(0x437)])(_0xb57ca5[_0x23a27c(0x2fb)],null)||_0xb57ca5[_0x23a27c(0x2fb)],_0x1ea2e5={..._0xb57ca5,'mutations':_0x3966bf};this['_lockTransition'](),this[_0x23a27c(0x24b)](this['_state'][_0x23a27c(0x1b4)](_0x1ea2e5)),this[_0x23a27c(0x21b)]();}['_onRemoteACK'](_0x16b6ba){const _0x15a122=_0x18d6ba;this[_0x15a122(0x451)](),this[_0x15a122(0x24b)](this['_state'][_0x15a122(0x1fc)](_0x16b6ba)),this[_0x15a122(0x21b)]();}[_0x18d6ba(0x234)](_0x313461){const _0x480807=_0x18d6ba;this[_0x480807(0x451)](),this[_0x480807(0x24b)](this[_0x480807(0x509)][_0x480807(0x53a)](_0x313461)),this[_0x480807(0x21b)]();}[_0x18d6ba(0x1e3)](_0x1bca35){const _0x4f0337=_0x18d6ba;if(!(this[_0x4f0337(0x509)]instanceof _0x386fc4))throw new TypeError(_0x4f0337(0x372));const _0x22dfcb=_0x1bca35[_0x4f0337(0x343)](_0x4f86b0=>{const _0x1f13b6=_0x4f0337,_0x54438c=this[_0x1f13b6(0x249)][_0x1f13b6(0x413)]['fetchThroughInterceptors'](this[_0x1f13b6(0x249)][_0x1f13b6(0x413)][_0x1f13b6(0x2e1)]()[_0x1f13b6(0x437)])(_0x4f86b0['mutations'],null)||_0x4f86b0[_0x1f13b6(0x2fb)];return{..._0x4f86b0,'mutations':_0x54438c};});this[_0x4f0337(0x451)](),this[_0x4f0337(0x24b)](this[_0x4f0337(0x509)][_0x4f0337(0x4b5)](_0x22dfcb)),this['_unlockTransition']();}['_toggleOffline'](){const _0x56f862=_0x18d6ba;this[_0x56f862(0x451)](),this['_updateState'](this[_0x56f862(0x509)][_0x56f862(0x1e9)]()),this['_unlockTransition']();}[_0x18d6ba(0x4de)](){const _0x3d1a88=_0x18d6ba;this[_0x3d1a88(0x451)](),this[_0x3d1a88(0x24b)](this[_0x3d1a88(0x509)][_0x3d1a88(0x58f)]()),this[_0x3d1a88(0x21b)]();}async[_0x18d6ba(0x516)](){return new Promise(_0xfe64b8=>{const _0x2b1c00=_0x3d0e;this['_session'][_0x2b1c00(0x462)][_0x2b1c00(0x32f)](_0x267050[_0x2b1c00(0x240)](0x1))[_0x2b1c00(0x559)](async _0xfd624c=>{const _0x2aca59=_0x2b1c00;_0xfe64b8(await this['_createInitialStateImpl'](_0xfd624c===_0x2cd85f[_0x2aca59(0x219)]));});});}[_0x18d6ba(0x1a5)](){const _0x5754ad=_0x18d6ba,_0xd0f152=this[_0x5754ad(0x4bb)];return{'onStateChange':(_0x315ca1,_0x4df737)=>{const _0x507583=_0x5754ad;if(_0x315ca1!==this[_0x507583(0x509)])throw new Error(_0x507583(0x489)+_0x315ca1[_0x507583(0x322)]+_0x507583(0x287)+_0x4df737['status']+_0x507583(0x1bb)+this[_0x507583(0x509)][_0x507583(0x322)]);this[_0x507583(0x24b)](_0x4df737);},'onSendChangeset':_0x513186=>{const _0x133780=_0x5754ad,_0x4de1c8={'eventID':_0x4d4d9d['CollaborationEvent'][_0x133780(0x1fd)],'data':{'unitID':_0x513186[_0x133780(0x4bb)],'unitType':this['_type'],'changeset':_0x513186,'memberID':this[_0x133780(0x1a3)][_0x133780(0x1c6)]()}};this['_session'][_0x133780(0x393)](_0x4de1c8,this['unitID']);},'onMissingChangesets':({from:_0x333681,to:_0x4b3f5f})=>{const _0x580a26=_0x5754ad;this[_0x580a26(0x36e)][_0x580a26(0x3bd)](_0x580a26(0x2da),_0x580a26(0x567)+_0x333681+_0x580a26(0x210)+_0x4b3f5f);const _0xab8400={'eventID':_0x4d4d9d['CollaborationEvent'][_0x580a26(0x2d3)],'data':{'unitID':_0xd0f152,'unitType':this[_0x580a26(0x2f8)],'from':_0x333681,'to':_0x4b3f5f}};this['_session'][_0x580a26(0x393)](_0xab8400,this[_0x580a26(0x4bb)]);}};}async[_0x18d6ba(0x3d0)](_0x537271){const _0x546cf8=_0x18d6ba;var _0x25dd14,_0x42835d;const _0x746030=await this[_0x546cf8(0x4bf)][_0x546cf8(0x1ee)](this['unitID']),_0x161065=(_0x25dd14=_0x746030==null?void 0x0:_0x746030['mutations'])!=null?_0x25dd14:[],_0x45dfa1=(_0x42835d=_0x746030==null?void 0x0:_0x746030['awaitingChangeset'])!=null?_0x42835d:null,_0x1ddfc9=this[_0x546cf8(0x4bb)];try{this[_0x546cf8(0x457)](_0x45dfa1,_0x161065);}catch(_0x195db1){this['_logService']['error'](_0x195db1);}const _0x31dd06=this['_createHandler']();if(_0x537271){const _0x343d2d=_0x5c3cd0(this['_injector'],_0x1ddfc9,this[_0x546cf8(0x2f8)],_0x45dfa1,_0x161065,_0x31dd06);return _0x343d2d instanceof _0x29d649?_0x343d2d['_schedule']():(_0x343d2d instanceof _0x468b55||_0x343d2d instanceof _0x10c700)&&_0x343d2d[_0x546cf8(0x46f)](),_0x343d2d;}return this[_0x546cf8(0x42c)][_0x546cf8(0x491)](_0x451e23,_0x1ddfc9,this[_0x546cf8(0x2f8)],_0x45dfa1,_0x161065,_0x31dd06);}[_0x18d6ba(0x457)](_0x4d1374,_0x42a9d0){const _0xa2f73d=_0x18d6ba;var _0x253ecb,_0x363d5d;const _0x18b650=this[_0xa2f73d(0x249)][_0xa2f73d(0x413)][_0xa2f73d(0x304)](this['_compressMutationService'][_0xa2f73d(0x413)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x253ecb=_0x18b650((_0x4d1374==null?void 0x0:_0x4d1374[_0xa2f73d(0x2fb)])||[],null))==null||_0x253ecb[_0xa2f73d(0x387)](_0xa0821a=>this[_0xa2f73d(0x513)][_0xa2f73d(0x2e9)](_0xa0821a['id'],_0xa0821a['params'])),(_0x363d5d=_0x18b650(_0x42a9d0||[],null))==null||_0x363d5d[_0xa2f73d(0x387)](_0x1a95f8=>this[_0xa2f73d(0x513)][_0xa2f73d(0x2e9)](_0x1a95f8['id'],_0x1a95f8[_0xa2f73d(0x561)]));}};_0x3f4594=_0x3c73bd([_0x573f10(0x3,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x573f10(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x573f10(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x28a)])),_0x573f10(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x573f10(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x573f10(0x8,_0x3aaa00[_0x18d6ba(0x42a)]),_0x573f10(0x9,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x573f10(0xa,_0x2b4c8d['IMessageService']),_0x573f10(0xb,_0x3aaa00[_0x18d6ba(0x23f)]),_0x573f10(0xc,_0x3aaa00[_0x18d6ba(0x409)](_0x3a8c8d))],_0x3f4594);let _0x823487=class extends _0x3f4594{constructor(_0x1c5256,_0x29c226,_0x1d0f08,_0x3ad9f5,_0xe263a3,_0x29dddd,_0x12d8b2,_0x536f04,_0xcd1654,_0x158012,_0xf6127c,_0x293ebe,_0x3fba0d,_0x30671e,_0x589f7f,_0x542172,_0x44c1aa){const _0x2ce87f=_0x18d6ba;super(_0x1c5256,_0x29c226,_0x1d0f08,_0x3ad9f5,_0xe263a3,_0x29dddd,_0x12d8b2,_0x536f04,_0x3fba0d,_0x30671e,_0x589f7f,_0x542172,_0x44c1aa),this['unitID']=_0x1c5256,this['type']=_0x29c226,this[_0x2ce87f(0x454)]=_0x1d0f08,this[_0x2ce87f(0x1ab)]=_0xcd1654,this['_docTransformIMECacheService']=_0x158012,this[_0x2ce87f(0x4b8)]=_0xf6127c,this[_0x2ce87f(0x3ad)]=_0x293ebe;}[_0x18d6ba(0x1a5)](){const _0x2ae822=_0x18d6ba,_0x25cbda=super[_0x2ae822(0x1a5)]();return _0x25cbda[_0x2ae822(0x349)]=_0x357e64=>this[_0x2ae822(0x520)][_0x2ae822(0x19d)](_0x357e64),_0x25cbda[_0x2ae822(0x2aa)]=_0xf4855b=>this[_0x2ae822(0x4b8)][_0x2ae822(0x3dc)](_0xf4855b),_0x25cbda[_0x2ae822(0x45e)]=_0x337756=>this[_0x2ae822(0x3ad)][_0x2ae822(0x431)](_0x337756),_0x25cbda[_0x2ae822(0x305)]=_0x502513=>this['_docTransformIMECacheService'][_0x2ae822(0x485)](_0x502513),_0x25cbda;}async[_0x18d6ba(0x286)](){const _0x4fdb85=_0x18d6ba,_0x42bdfc=await super[_0x4fdb85(0x286)]();return this['disposeWithMe'](this['_commandService'][_0x4fdb85(0x1c1)]((_0x54c062,_0xbff1da)=>{const _0x4e1bd6=_0x4fdb85;if(_0x54c062[_0x4e1bd6(0x543)]!==_0x3aaa00['CommandType'][_0x4e1bd6(0x510)]||_0xbff1da!=null&&_0xbff1da['fromCollab']||_0xbff1da!=null&&_0xbff1da[_0x4e1bd6(0x56c)])return;const _0x3467fa=_0x54c062[_0x4e1bd6(0x561)];if((_0x3467fa==null?void 0x0:_0x3467fa[_0x4e1bd6(0x189)])!==this['unitID'])return;let _0x21ed69=_0x54c062;if(_0x21ed69['id']===_0x593e90['RichTextEditingMutation']['id']){const _0x1d8709=_0x21ed69[_0x4e1bd6(0x561)];_0x21ed69={'id':_0x593e90[_0x4e1bd6(0x34e)]['id'],'type':_0x3aaa00['CommandType']['MUTATION'],'params':{'unitId':_0x1d8709[_0x4e1bd6(0x189)],'actions':_0x1d8709[_0x4e1bd6(0x51f)],'textRanges':null}};}const _0x2937e1=this['_compressMutationService']['interceptor'][_0x4e1bd6(0x304)](this[_0x4e1bd6(0x249)][_0x4e1bd6(0x413)]['getInterceptPoints']()[_0x4e1bd6(0x215)])([_0x21ed69],null)||[_0x21ed69];this['_onLocalMutation'](_0x2937e1[0x0]);})),_0x42bdfc;}};_0x823487=_0x3c73bd([_0x573f10(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x573f10(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x573f10(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x28a)])),_0x573f10(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x573f10(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x573f10(0x8,_0x3aaa00[_0x18d6ba(0x1de)](_0x593e90[_0x18d6ba(0x244)])),_0x573f10(0x9,_0x3aaa00[_0x18d6ba(0x1de)](_0x5f1add)),_0x573f10(0xa,_0x3aaa00[_0x18d6ba(0x1de)](_0x49b741)),_0x573f10(0xb,_0x3aaa00[_0x18d6ba(0x1de)](_0x301e57)),_0x573f10(0xc,_0x3aaa00[_0x18d6ba(0x42a)]),_0x573f10(0xd,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x573f10(0xe,_0x2b4c8d[_0x18d6ba(0x57b)]),_0x573f10(0xf,_0x3aaa00[_0x18d6ba(0x23f)]),_0x573f10(0x10,_0x3aaa00[_0x18d6ba(0x409)](_0x3a8c8d))],_0x823487),_0x4c54a0['SheetCollaborationEntity']=class extends _0x3f4594{constructor(_0x639392,_0x50c8dc,_0x51f8e9,_0x1c9d49,_0x59c552,_0x5d3f63,_0x415c8d,_0x508829,_0x34e384,_0x5d051d,_0x3cbf63,_0x3bdbf8,_0x2cfae3,_0x1b66a7){const _0x8f95eb=_0x18d6ba;super(_0x639392,_0x50c8dc,_0x51f8e9,_0x1c9d49,_0x59c552,_0x5d3f63,_0x415c8d,_0x508829,_0x5d051d,_0x3cbf63,_0x3bdbf8,_0x2cfae3,_0x1b66a7),this['unitID']=_0x639392,this[_0x8f95eb(0x543)]=_0x50c8dc,this[_0x8f95eb(0x454)]=_0x51f8e9,this[_0x8f95eb(0x29f)]=_0x34e384;}[_0x18d6ba(0x1a5)](){const _0x54b5ab=_0x18d6ba,_0x4b3787=super[_0x54b5ab(0x1a5)]();return _0x4b3787[_0x54b5ab(0x2aa)]=_0x5a6f3f=>this['_sheetTransformSelectionsService'][_0x54b5ab(0x3dc)](_0x5a6f3f),_0x4b3787;}async[_0x18d6ba(0x286)](){const _0x12c0f5=_0x18d6ba,_0x5a3392=await super['_init']();return this[_0x12c0f5(0x43a)](this['_commandService']['onCommandExecuted']((_0x5db6ca,_0x2b38cf)=>{const _0x547564=_0x12c0f5;if(_0x5db6ca['type']!==_0x3aaa00[_0x547564(0x44a)][_0x547564(0x510)]||_0x2b38cf!=null&&_0x2b38cf[_0x547564(0x312)]||_0x2b38cf!=null&&_0x2b38cf[_0x547564(0x56c)])return;const _0x578474=_0x5db6ca['params'];if((_0x578474==null?void 0x0:_0x578474[_0x547564(0x189)])!==this[_0x547564(0x4bb)])return;const _0x57cdad=_0x5db6ca,_0x2393a7=this[_0x547564(0x249)][_0x547564(0x413)]['fetchThroughInterceptors'](this[_0x547564(0x249)][_0x547564(0x413)][_0x547564(0x2e1)]()[_0x547564(0x215)])([_0x57cdad],null)||[_0x57cdad];this['_onLocalMutation'](_0x2393a7[0x0]);})),_0x5a3392;}},_0x4c54a0['SheetCollaborationEntity']=_0x3c73bd([_0x573f10(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x573f10(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['LocalCacheService'])),_0x573f10(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x28a)])),_0x573f10(0x6,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x591)])),_0x573f10(0x7,_0x3aaa00['Inject'](_0x4d4d9d['RevisionService'])),_0x573f10(0x8,_0x3aaa00['Inject'](_0x13a645)),_0x573f10(0x9,_0x3aaa00[_0x18d6ba(0x42a)]),_0x573f10(0xa,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x573f10(0xb,_0x2b4c8d[_0x18d6ba(0x57b)]),_0x573f10(0xc,_0x3aaa00[_0x18d6ba(0x23f)]),_0x573f10(0xd,_0x3aaa00['Optional'](_0x3a8c8d))],_0x4c54a0[_0x18d6ba(0x26d)]);const _0x1acd68=[_0x18d6ba(0x19f),'jiqing500',_0x18d6ba(0x531),'red300',_0x18d6ba(0x1c7),_0x18d6ba(0x42b)];class _0x195451 extends _0x3aaa00['Disposable']{constructor(){const _0x552d87=_0x18d6ba;super(...arguments),_0x2c46b8(this,_0x552d87(0x4ab),new Map()),_0x2c46b8(this,_0x552d87(0x3d3),0x0);}['assignAColorForMemberID'](_0x54e8a3){const _0x846acd=_0x18d6ba;if(this[_0x846acd(0x4ab)][_0x846acd(0x443)](_0x54e8a3))return this[_0x846acd(0x4ab)]['get'](_0x54e8a3);const _0x2212f5=_0x1acd68[this[_0x846acd(0x3d3)]];return this[_0x846acd(0x3d3)]=(this[_0x846acd(0x3d3)]+0x1)%_0x1acd68[_0x846acd(0x574)],this[_0x846acd(0x4ab)][_0x846acd(0x2a6)](_0x54e8a3,_0x2212f5),_0x2212f5;}}var _0x5dbbe4=Object[_0x18d6ba(0x272)],_0x316825=Object[_0x18d6ba(0x3fd)],_0x496c3e=(_0x2dea9f,_0x1b0cb8,_0xeebd4,_0x159af4)=>{const _0x28212c=_0x18d6ba;for(var _0x19d7b7=_0x159af4>0x1?void 0x0:_0x159af4?_0x316825(_0x1b0cb8,_0xeebd4):_0x1b0cb8,_0x4df876=_0x2dea9f[_0x28212c(0x574)]-0x1,_0xf08e2f;_0x4df876>=0x0;_0x4df876--)(_0xf08e2f=_0x2dea9f[_0x4df876])&&(_0x19d7b7=(_0x159af4?_0xf08e2f(_0x1b0cb8,_0xeebd4,_0x19d7b7):_0xf08e2f(_0x19d7b7))||_0x19d7b7);return _0x159af4&&_0x19d7b7&&_0x5dbbe4(_0x1b0cb8,_0xeebd4,_0x19d7b7),_0x19d7b7;},_0x398206=(_0x3f4c8f,_0x25a421)=>(_0x5bb179,_0x535928)=>_0x25a421(_0x5bb179,_0x535928,_0x3f4c8f);const _0xf24c65=0x12c,_0x2d40b7=0x64,_0x22d870=()=>{let _0x246205=[],_0x467a38=!0x1;return _0x53bea6=>{const _0x3bf24f=_0x3d0e;_0x246205[_0x3bf24f(0x239)](_0x53bea6),_0x467a38||(_0x467a38=!0x0,setTimeout(()=>{_0x246205['forEach'](_0x4a77e4=>_0x4a77e4()),_0x246205=[],_0x467a38=!0x1;}));};};let _0x388ee8=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x6f82e6,_0x192937,_0x5c7628,_0x1b00d8,_0x2d256f,_0x2243a3,_0x3af9f9,_0x33f115){const _0x1d0a90=_0x18d6ba;super(),_0x2c46b8(this,_0x1d0a90(0x2a2),!0x1),_0x2c46b8(this,_0x1d0a90(0x286),!0x1),_0x2c46b8(this,_0x1d0a90(0x500),new _0x5cbc6e[(_0x1d0a90(0x1ec))](new Map())),_0x2c46b8(this,_0x1d0a90(0x4ef),this[_0x1d0a90(0x500)][_0x1d0a90(0x28c)]()),_0x2c46b8(this,_0x1d0a90(0x541),new _0x5cbc6e[(_0x1d0a90(0x1ec))]([])),_0x2c46b8(this,_0x1d0a90(0x395),this[_0x1d0a90(0x541)][_0x1d0a90(0x32f)](_0x5cbc6e[_0x1d0a90(0x556)](_0xf24c65))),_0x2c46b8(this,_0x1d0a90(0x3c6),_0x58296f((_0xd4103d,_0x355447)=>{const _0x2d1b6d=_0x1d0a90,_0x190a51={'eventID':_0x4d4d9d[_0x2d1b6d(0x2ae)][_0x2d1b6d(0x33e)],'data':{'unitID':this[_0x2d1b6d(0x4bb)],'memberID':this[_0x2d1b6d(0x1a3)]['getMemberID'](),'selection':_0x55b16b['serializeRangeWithSheet'](_0xd4103d,_0x355447[_0x2d1b6d(0x278)])}};this['_session'][_0x2d1b6d(0x393)](_0x190a51,this['unitID']);},_0x2d40b7)),(this['unitID']=_0x6f82e6,this['_session']=_0x192937,this[_0x1d0a90(0x42c)]=_0x5c7628,this[_0x1d0a90(0x2a9)]=_0x1b00d8,this[_0x1d0a90(0x241)]=_0x2d256f,this['_univerInstanceService']=_0x2243a3,this['_commandService']=_0x3af9f9,this[_0x1d0a90(0x374)]=_0x33f115);}get[_0x18d6ba(0x2f4)](){const _0x38c3a5=_0x18d6ba;return this[_0x38c3a5(0x500)][_0x38c3a5(0x453)]();}get[_0x18d6ba(0x337)](){const _0x3e6d58=_0x18d6ba;return this[_0x3e6d58(0x541)]['getValue']();}[_0x18d6ba(0x338)](){const _0x3e2798=_0x18d6ba;super[_0x3e2798(0x338)](),this[_0x3e2798(0x500)]['next'](new Map()),this[_0x3e2798(0x500)][_0x3e2798(0x581)](),this['_roomMembers$']['next']([]),this[_0x3e2798(0x541)]['complete']();}[_0x18d6ba(0x367)](){const _0x3c9f69=_0x18d6ba;this[_0x3c9f69(0x286)]||(this[_0x3c9f69(0x286)]=!0x0,this['_session'][_0x3c9f69(0x462)]['pipe'](_0x5cbc6e['takeUntil'](this[_0x3c9f69(0x505)]))[_0x3c9f69(0x559)](_0x17be2a=>{const _0x3e80c7=_0x3c9f69;_0x17be2a===_0x2cd85f[_0x3e80c7(0x219)]?this['_toggleOnline']():this[_0x3e80c7(0x420)]();}),this[_0x3c9f69(0x1a3)][_0x3c9f69(0x2f0)][_0x3c9f69(0x32f)](_0x5cbc6e[_0x3c9f69(0x40b)](this[_0x3c9f69(0x505)]))[_0x3c9f69(0x559)](_0x59bf38=>{const _0x19db74=_0x3c9f69,_0x4a5eaf=_0x59bf38['eventID'];_0x4a5eaf===_0x4d4d9d['CollaborationEvent'][_0x19db74(0x33e)]&&this[_0x19db74(0x25b)](_0x59bf38),_0x4a5eaf===_0x4d4d9d[_0x19db74(0x2ae)][_0x19db74(0x4af)]&&this[_0x19db74(0x521)](_0x59bf38);}),this[_0x3c9f69(0x3c1)](),this[_0x3c9f69(0x43a)](this[_0x3c9f69(0x513)][_0x3c9f69(0x1c1)](_0x3dd41b=>{const _0x17653f=_0x3c9f69;if(this['_online']&&_0x3dd41b['id']===_0x459c9c['SetSelectionsOperation']['id']&&_0x3dd41b[_0x17653f(0x561)][_0x17653f(0x189)]===this[_0x17653f(0x4bb)]){const _0x2aa3d2=_0x3dd41b['params'];this[_0x17653f(0x3c6)](_0x2aa3d2['subUnitId'],_0x2aa3d2[_0x17653f(0x2c8)][0x0]);}})));}[_0x18d6ba(0x25b)](_0x82d82f){const _0x3b6d14=_0x18d6ba;var _0x474ad5,_0x194c61;const {memberID:_0x23db9a,selection:_0x5d37d9}=_0x82d82f['data'],{sheetName:_0x2937b5,range:_0x543a67}=_0x55b16b[_0x3b6d14(0x27f)](_0x5d37d9),_0x459f0={'name':(_0x194c61=(_0x474ad5=this[_0x3b6d14(0x241)][_0x3b6d14(0x2c1)](this[_0x3b6d14(0x4bb)],_0x23db9a))==null?void 0x0:_0x474ad5[_0x3b6d14(0x4a1)])!=null?_0x194c61:_0x3b6d14(0x47b),'range':this[_0x3b6d14(0x48f)](_0x2937b5,_0x543a67),'sheetID':_0x2937b5,'color':this['_colorAssignService'][_0x3b6d14(0x39f)](_0x23db9a),'selection':_0x5d37d9},_0x5e9b75=this['cursorInfo'];_0x5e9b75[_0x3b6d14(0x2a6)](_0x23db9a,_0x459f0),this[_0x3b6d14(0x500)][_0x3b6d14(0x1c5)](_0x5e9b75);}[_0x18d6ba(0x521)](_0x541443){const _0x1b5fac=_0x18d6ba,{memberID:_0x22602a}=_0x541443[_0x1b5fac(0x44f)],_0xea5731=this[_0x1b5fac(0x2f4)];_0xea5731[_0x1b5fac(0x466)](_0x22602a),this[_0x1b5fac(0x500)][_0x1b5fac(0x1c5)](_0xea5731);}[_0x18d6ba(0x48f)](_0x45611d,_0xbf308a){const _0x356146=_0x18d6ba;var _0x355a93,_0xb853ff;const _0x15b224=(_0xb853ff=(_0x355a93=this[_0x356146(0x318)][_0x356146(0x1d8)](this['unitID']))==null?void 0x0:_0x355a93[_0x356146(0x3f6)](_0x45611d))==null?void 0x0:_0xb853ff['getMergeData']();return(_0x15b224==null?void 0x0:_0x15b224[_0x356146(0x568)](_0x45310b=>_0x3aaa00[_0x356146(0x2f2)]['contains'](_0x45310b,_0xbf308a)))||_0xbf308a;}[_0x18d6ba(0x3c1)](){const _0xd4ae40=_0x18d6ba,_0x43f782=new _0x3aaa00[(_0xd4ae40(0x53b))](),_0x36aa32=_0x22d870(),_0x15a90c=()=>{const _0x5183a7=_0xd4ae40;_0x43f782['dispose']();const _0x5700f4=(_0x432330,_0x11f7af,_0xfccebe,_0x2b5326)=>{const _0x5493ae=_0x3d0e;let _0x59d934=[];switch(_0x432330['id']){case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x2a0)]:{_0x59d934=_0x459c9c[_0x5493ae(0x1ad)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x56e)]:{_0x59d934=_0x459c9c[_0x5493ae(0x572)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)]['InsertColCommandId']:{_0x59d934=_0x459c9c[_0x5493ae(0x2e5)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x44d)]:{_0x59d934=_0x459c9c[_0x5493ae(0x421)](_0x432330,_0x2b5326);break;}case _0x459c9c['EffectRefRangId'][_0x5493ae(0x540)]:{_0x59d934=_0x459c9c[_0x5493ae(0x1ef)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x2e6)]:{_0x59d934=_0x459c9c['handleInsertRow'](_0x432330,_0x2b5326);break;}case _0x459c9c['EffectRefRangId'][_0x5493ae(0x2fc)]:{_0x59d934=_0x459c9c[_0x5493ae(0x4a5)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x1df)]:{_0x59d934=_0x459c9c['handleIRemoveCol'](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x250)]:{_0x59d934=_0x459c9c[_0x5493ae(0x376)](_0x432330,_0x2b5326);break;}}const _0x2d912b=_0x459c9c[_0x5493ae(0x502)](_0x59d934,_0x2b5326),_0x75f52c=this[_0x5493ae(0x2f4)][_0x5493ae(0x3e4)](_0x11f7af);if(_0x75f52c&&_0x2d912b){const _0x1110bb={..._0x75f52c,'range':_0x2d912b};this[_0x5493ae(0x2f4)][_0x5493ae(0x2a6)](_0x11f7af,_0x1110bb),_0x36aa32(()=>{const _0x4b370d=_0x5493ae,_0x2d8773=this[_0x4b370d(0x374)]['registerRefRange'](_0x2d912b,_0x32fc86=>(_0x2d8773[_0x4b370d(0x338)](),_0x5700f4(_0x32fc86,_0x11f7af,_0xfccebe,_0x2d912b)));_0x43f782[_0x4b370d(0x22f)](_0x2d8773);});}return{'redos':[],'undos':[]};};this[_0x5183a7(0x2f4)][_0x5183a7(0x387)]((_0x23382f,_0x12cd7d)=>{const _0x2791aa=_0x5183a7,{range:_0x2b394d,sheetID:_0x180b9f}=_0x23382f,_0x5a57fd=this['_refRangeService'][_0x2791aa(0x2d6)](_0x2b394d,_0x1d1470=>(_0x5a57fd['dispose'](),_0x5700f4(_0x1d1470,_0x12cd7d,_0x180b9f,_0x2b394d)));_0x43f782[_0x2791aa(0x22f)](_0x5a57fd);});};this[_0xd4ae40(0x43a)](_0x3aaa00[_0xd4ae40(0x1cd)](this['_cursorInfo$'][_0xd4ae40(0x559)](()=>{_0x15a90c();})));}['_toggleOnline'](){const _0x290f1f=_0x18d6ba;var _0x428c24,_0x1d9e5c;if(this[_0x290f1f(0x2a2)]=!0x0,((_0x428c24=this['_univerInstanceService'][_0x290f1f(0x33c)]())==null?void 0x0:_0x428c24['getUnitId']())!==this[_0x290f1f(0x4bb)])return;const _0x5c4692=(_0x1d9e5c=this[_0x290f1f(0x42c)][_0x290f1f(0x3e4)](_0x459c9c[_0x290f1f(0x28d)])[_0x290f1f(0x57d)]())==null?void 0x0:_0x1d9e5c[0x0],_0x3341a5=this[_0x290f1f(0x318)][_0x290f1f(0x585)](_0x3aaa00[_0x290f1f(0x434)][_0x290f1f(0x18a)])[_0x290f1f(0x2ac)]();_0x5c4692&&_0x3341a5&&this[_0x290f1f(0x3c6)](_0x3341a5[_0x290f1f(0x1fa)](),_0x5c4692);}[_0x18d6ba(0x420)](){const _0x2d23a8=_0x18d6ba;this[_0x2d23a8(0x2a2)]=!0x1;}};_0x388ee8=_0x496c3e([_0x398206(0x2,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x398206(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x195451)),_0x398206(0x4,_0x3aaa00['Inject'](_0x107a5c)),_0x398206(0x5,_0x3aaa00['IUniverInstanceService']),_0x398206(0x6,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x398206(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x459c9c[_0x18d6ba(0x356)]))],_0x388ee8);var _0x4573f1=Object[_0x18d6ba(0x272)],_0x276243=Object[_0x18d6ba(0x3fd)],_0x58dab7=(_0x5d9ad6,_0x1c35aa,_0xb51c39,_0x67ff7b)=>{const _0x4dceb2=_0x18d6ba;for(var _0x3b20cf=_0x67ff7b>0x1?void 0x0:_0x67ff7b?_0x276243(_0x1c35aa,_0xb51c39):_0x1c35aa,_0x43c0ef=_0x5d9ad6[_0x4dceb2(0x574)]-0x1,_0x59fcda;_0x43c0ef>=0x0;_0x43c0ef--)(_0x59fcda=_0x5d9ad6[_0x43c0ef])&&(_0x3b20cf=(_0x67ff7b?_0x59fcda(_0x1c35aa,_0xb51c39,_0x3b20cf):_0x59fcda(_0x3b20cf))||_0x3b20cf);return _0x67ff7b&&_0x3b20cf&&_0x4573f1(_0x1c35aa,_0xb51c39,_0x3b20cf),_0x3b20cf;},_0x5d27be=(_0x408ab3,_0x34ff7c)=>(_0x49fd83,_0x4afbf9)=>_0x34ff7c(_0x49fd83,_0x4afbf9,_0x408ab3);const _0x55f145=0x12c,_0x229bdf=0x64;let _0x1bab42=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x1cbda7,_0x32258b,_0x485442,_0x503a7b,_0x540d19,_0x29a4e9,_0x42db11,_0x10daf0,_0x1d056f){const _0x45fd02=_0x18d6ba;super(),_0x2c46b8(this,_0x45fd02(0x2a2),!0x1),_0x2c46b8(this,'_init',!0x1),_0x2c46b8(this,_0x45fd02(0x500),new _0x5cbc6e[(_0x45fd02(0x1ec))](new Map())),_0x2c46b8(this,'cursorInfo$',this[_0x45fd02(0x500)]['asObservable']()),_0x2c46b8(this,_0x45fd02(0x541),new _0x5cbc6e['BehaviorSubject']([])),_0x2c46b8(this,_0x45fd02(0x395),this[_0x45fd02(0x541)][_0x45fd02(0x32f)](_0x5cbc6e[_0x45fd02(0x556)](_0x55f145))),_0x2c46b8(this,_0x45fd02(0x3c6),_0x58296f(_0x3851d7=>{const _0x3e262c=_0x45fd02,_0x4ef35a={'eventID':_0x4d4d9d[_0x3e262c(0x2ae)][_0x3e262c(0x33e)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3e262c(0x1c6)](),'selection':_0x4c1645(_0x3851d7)}};this['_session']['send'](_0x4ef35a,this['unitID']);},_0x229bdf)),(this[_0x45fd02(0x4bb)]=_0x1cbda7,this[_0x45fd02(0x1a3)]=_0x32258b,this['_injector']=_0x485442,this[_0x45fd02(0x2a9)]=_0x503a7b,this[_0x45fd02(0x241)]=_0x540d19,this[_0x45fd02(0x232)]=_0x29a4e9,this[_0x45fd02(0x45d)]=_0x42db11,this[_0x45fd02(0x318)]=_0x10daf0,this[_0x45fd02(0x513)]=_0x1d056f);}get[_0x18d6ba(0x2f4)](){const _0x1a2e8b=_0x18d6ba;return this[_0x1a2e8b(0x500)]['getValue']();}get[_0x18d6ba(0x337)](){const _0x3e96b2=_0x18d6ba;return this[_0x3e96b2(0x541)][_0x3e96b2(0x453)]();}[_0x18d6ba(0x338)](){const _0x372dce=_0x18d6ba;super['dispose'](),this[_0x372dce(0x500)][_0x372dce(0x1c5)](new Map()),this[_0x372dce(0x500)]['complete'](),this[_0x372dce(0x541)][_0x372dce(0x1c5)]([]),this[_0x372dce(0x541)][_0x372dce(0x581)]();}[_0x18d6ba(0x367)](){const _0x5c0e4a=_0x18d6ba;this['_init']||(this['_init']=!0x0,this[_0x5c0e4a(0x1a3)][_0x5c0e4a(0x462)]['pipe'](_0x5cbc6e[_0x5c0e4a(0x40b)](this['dispose$']))[_0x5c0e4a(0x559)](_0x47f731=>{const _0x1e9776=_0x5c0e4a;_0x47f731===_0x2cd85f[_0x1e9776(0x219)]?this['_toggleOnline']():this[_0x1e9776(0x420)]();}),this['_session']['event$'][_0x5c0e4a(0x32f)](_0x5cbc6e['takeUntil'](this['dispose$']))[_0x5c0e4a(0x559)](_0x20141b=>{const _0x4e4e8a=_0x5c0e4a,_0x2ff413=_0x20141b[_0x4e4e8a(0x539)];_0x2ff413===_0x4d4d9d[_0x4e4e8a(0x2ae)][_0x4e4e8a(0x33e)]&&this[_0x4e4e8a(0x25b)](_0x20141b),_0x2ff413===_0x4d4d9d[_0x4e4e8a(0x2ae)]['USERS_LEAVE']&&this[_0x4e4e8a(0x521)](_0x20141b);}),this[_0x5c0e4a(0x43a)](this['_commandService'][_0x5c0e4a(0x1c1)](_0x458fcb=>{const _0x48f25d=_0x5c0e4a,_0x296b06=_0x458fcb[_0x48f25d(0x561)];_0x296b06!=null&&this[_0x48f25d(0x2a2)]&&_0x458fcb['id']===_0x593e90[_0x48f25d(0x371)]['id']&&_0x296b06['unitId']===this[_0x48f25d(0x4bb)]&&_0x296b06[_0x48f25d(0x4f2)]===!0x1&&this[_0x48f25d(0x3c6)](_0x296b06[_0x48f25d(0x388)]);})),this[_0x5c0e4a(0x232)]['collabCursorState$'][_0x5c0e4a(0x32f)](_0x5cbc6e[_0x5c0e4a(0x40b)](this[_0x5c0e4a(0x505)]))['subscribe'](_0xad0720=>{const _0x27593b=_0x5c0e4a;if((_0xad0720==null?void 0x0:_0xad0720[_0x27593b(0x4bb)])!==this[_0x27593b(0x4bb)])return;const _0x3f4148={'eventID':_0x4d4d9d['CollaborationEvent']['UPDATE_CURSOR'],'data':_0xad0720};this['_onCursorUpdate'](_0x3f4148);}),this[_0x5c0e4a(0x43a)](this[_0x5c0e4a(0x513)][_0x5c0e4a(0x1c1)](_0xcb7408=>{const _0x26eb87=_0x5c0e4a;if(_0xcb7408[_0x26eb87(0x561)]==null)return;const _0x71f5a1=_0xcb7408[_0x26eb87(0x561)];if(_0xcb7408['id']!==_0x593e90['RichTextEditingMutation']['id']||_0x71f5a1[_0x26eb87(0x189)]!==this[_0x26eb87(0x4bb)])return;const _0x49cbb1={'id':'doc.mutation.rich-text-editing','params':_0x71f5a1},_0x5c2cac=this['cursorInfo'];for(const [_0x148977,_0x379b2c]of _0x5c2cac){const _0x65411f={'id':_0x26eb87(0x558),'params':{'unitId':this[_0x26eb87(0x4bb)],'actions':null,'textRanges':_0x379b2c[_0x26eb87(0x388)]}},_0x2bac39=this[_0x26eb87(0x45d)][_0x26eb87(0x1db)](_0x49cbb1,_0x65411f,!0x1);if(_0x4d4d9d['isTransformMutationFailure'](_0x2bac39))throw _0x2bac39[_0x26eb87(0x4ae)];_0x5c2cac[_0x26eb87(0x2a6)](_0x148977,{..._0x379b2c,'ranges':_0x2bac39[_0x26eb87(0x1d2)][_0x26eb87(0x561)][_0x26eb87(0x2f5)]});}queueMicrotask(()=>{const _0x178c07=_0x26eb87;this[_0x178c07(0x500)]['next'](_0x5c2cac);});})));}[_0x18d6ba(0x25b)](_0x1d4439){const _0x3f79ec=_0x18d6ba;var _0x232774,_0x2ad55e;const {memberID:_0x4bb67d,selection:_0x3f338e}=_0x1d4439[_0x3f79ec(0x44f)],_0x56cb9c=_0x40c874(_0x3f338e),_0x281559=(_0x2ad55e=(_0x232774=this[_0x3f79ec(0x241)][_0x3f79ec(0x2c1)](this[_0x3f79ec(0x4bb)],_0x4bb67d))==null?void 0x0:_0x232774['name'])!=null?_0x2ad55e:'Unknown\x20user',_0x5f1dc7={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4bb67d),'name':_0x281559,'ranges':_0x56cb9c},_0x466f39=this[_0x3f79ec(0x2f4)];_0x466f39['set'](_0x4bb67d,_0x5f1dc7),this[_0x3f79ec(0x500)]['next'](_0x466f39);}[_0x18d6ba(0x521)](_0x4db648){const _0x8ca940=_0x18d6ba,{memberID:_0x24f27e}=_0x4db648[_0x8ca940(0x44f)],_0x98493=this[_0x8ca940(0x2f4)];_0x98493['delete'](_0x24f27e),this[_0x8ca940(0x500)][_0x8ca940(0x1c5)](_0x98493);}[_0x18d6ba(0x4de)](){const _0x76dc81=_0x18d6ba;var _0x3756e5;if(this[_0x76dc81(0x2a2)]=!0x0,((_0x3756e5=this[_0x76dc81(0x318)]['getFocusedUnit']())==null?void 0x0:_0x3756e5['getUnitId']())!==this[_0x76dc81(0x4bb)])return;const _0xd86cd=this[_0x76dc81(0x42c)][_0x76dc81(0x3e4)](_0x593e90[_0x76dc81(0x4fa)])['getDocRanges'](),_0x220da5=_0xd86cd==null?void 0x0:_0xd86cd[_0x76dc81(0x343)](_0x593e90[_0x76dc81(0x3b5)]);Array[_0x76dc81(0x342)](_0x220da5)&&_0x220da5[_0x76dc81(0x574)]>0x0&&this['_updateLocalCursor'](_0x220da5);}['_toggleOffline'](){const _0x39b734=_0x18d6ba;this[_0x39b734(0x2a2)]=!0x1;}};_0x1bab42=_0x58dab7([_0x5d27be(0x2,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x5d27be(0x3,_0x3aaa00['Inject'](_0x195451)),_0x5d27be(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x107a5c)),_0x5d27be(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x301e57)),_0x5d27be(0x6,_0x4d4d9d['ITransformService']),_0x5d27be(0x7,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x5d27be(0x8,_0x3aaa00[_0x18d6ba(0x2d1)])],_0x1bab42);var _0xe595eb=Object[_0x18d6ba(0x272)],_0x15f005=Object[_0x18d6ba(0x3fd)],_0x27cf4f=(_0x18cd70,_0x159ae6,_0x2cda89,_0xd18bbd)=>{for(var _0x2049bf=_0xd18bbd>0x1?void 0x0:_0xd18bbd?_0x15f005(_0x159ae6,_0x2cda89):_0x159ae6,_0xe4b84d=_0x18cd70['length']-0x1,_0x44849b;_0xe4b84d>=0x0;_0xe4b84d--)(_0x44849b=_0x18cd70[_0xe4b84d])&&(_0x2049bf=(_0xd18bbd?_0x44849b(_0x159ae6,_0x2cda89,_0x2049bf):_0x44849b(_0x2049bf))||_0x2049bf);return _0xd18bbd&&_0x2049bf&&_0xe595eb(_0x159ae6,_0x2cda89,_0x2049bf),_0x2049bf;},_0x5ed6f1=(_0x280488,_0x5a5499)=>(_0x202eb9,_0x554d68)=>_0x5a5499(_0x202eb9,_0x554d68,_0x280488);let _0x1fa692=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x1e6a83,_0x2d9384,_0x3d9b59){const _0x32d051=_0x18d6ba;super(),_0x2c46b8(this,_0x32d051(0x56b),new Map()),_0x2c46b8(this,_0x32d051(0x309),new _0x5cbc6e[(_0x32d051(0x328))]()),(this[_0x32d051(0x318)]=_0x1e6a83,this[_0x32d051(0x42c)]=_0x2d9384,this[_0x32d051(0x48b)]=_0x3d9b59,this[_0x32d051(0x286)]());}['dispose'](){const _0x905f29=_0x18d6ba;super[_0x905f29(0x338)](),this[_0x905f29(0x309)][_0x905f29(0x581)](),this[_0x905f29(0x56b)][_0x905f29(0x387)](_0x27748b=>_0x27748b[_0x905f29(0x338)]());}[_0x18d6ba(0x21e)](_0x516f2b){const _0x9266f1=_0x18d6ba;return this[_0x9266f1(0x56b)][_0x9266f1(0x443)](_0x516f2b)?this['_entities']['get'](_0x516f2b)[_0x9266f1(0x4ef)]:this[_0x9266f1(0x309)][_0x9266f1(0x32f)](_0x5cbc6e[_0x9266f1(0x46d)](_0x227977=>_0x227977['unitID']===_0x516f2b),_0x5cbc6e['switchMap'](_0x28ec5f=>_0x28ec5f['cursorInfo$']));}[_0x18d6ba(0x286)](){const _0x1ceff2=_0x18d6ba;this[_0x1ceff2(0x318)]['getTypeOfUnitAdded$'](_0x3aaa00[_0x1ceff2(0x434)][_0x1ceff2(0x18a)])[_0x1ceff2(0x32f)](_0x5cbc6e['takeUntil'](this[_0x1ceff2(0x505)]))['subscribe'](async _0x2b6f52=>{const _0x22cdd8=_0x1ceff2,_0x5141d4=_0x2b6f52[_0x22cdd8(0x4b6)](),_0xb928e7=await this['_startSheetCollabCursor'](_0x5141d4);this[_0x22cdd8(0x309)]['next'](_0xb928e7),this[_0x22cdd8(0x56b)]['set'](_0x5141d4,_0xb928e7);}),this[_0x1ceff2(0x318)]['getTypeOfUnitAdded$'](_0x3aaa00['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x5cbc6e[_0x1ceff2(0x40b)](this[_0x1ceff2(0x505)]))[_0x1ceff2(0x32f)](_0x5cbc6e[_0x1ceff2(0x46d)](_0x2358e7=>!_0x2358e7[_0x1ceff2(0x4b6)]()[_0x1ceff2(0x352)]('__')))[_0x1ceff2(0x559)](async _0x1cd019=>{const _0x461dd1=_0x1ceff2,_0x4ddf16=_0x1cd019[_0x461dd1(0x4b6)](),_0x4fe3d6=await this[_0x461dd1(0x45a)](_0x4ddf16);this[_0x461dd1(0x309)]['next'](_0x4fe3d6),this[_0x461dd1(0x56b)][_0x461dd1(0x2a6)](_0x4ddf16,_0x4fe3d6);}),_0x5cbc6e['merge'](this[_0x1ceff2(0x318)][_0x1ceff2(0x551)](_0x3aaa00['UniverInstanceType']['UNIVER_DOC']),this['_univerInstanceService'][_0x1ceff2(0x551)](_0x3aaa00[_0x1ceff2(0x434)][_0x1ceff2(0x18a)]))[_0x1ceff2(0x32f)](_0x5cbc6e['takeUntil'](this['dispose$']))['subscribe'](_0x1529b0=>{const _0x3ba67c=_0x1ceff2,_0x1a9638=_0x1529b0[_0x3ba67c(0x4b6)](),_0x88fa57=this[_0x3ba67c(0x56b)][_0x3ba67c(0x3e4)](_0x1a9638);_0x88fa57&&(_0x88fa57[_0x3ba67c(0x338)](),this[_0x3ba67c(0x56b)]['delete'](_0x1a9638));});}async['_startSheetCollabCursor'](_0x2f88eb){const _0x59018b=_0x18d6ba,_0x362806=await this[_0x59018b(0x48b)][_0x59018b(0x3a3)](_0x2f88eb),_0x120373=this['_injector'][_0x59018b(0x491)](_0x388ee8,_0x2f88eb,_0x362806);return _0x120373[_0x59018b(0x367)](),_0x120373;}async[_0x18d6ba(0x45a)](_0x1b89c2){const _0x186769=_0x18d6ba,_0x3a82e3=await this['_collabSessionService'][_0x186769(0x3a3)](_0x1b89c2),_0x168142=this['_injector']['createInstance'](_0x1bab42,_0x1b89c2,_0x3a82e3);return _0x168142[_0x186769(0x367)](),_0x168142;}};_0x1fa692=_0x27cf4f([_0x3aaa00[_0x18d6ba(0x279)](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x1d5)],_0x1fa692),_0x5ed6f1(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x5ed6f1(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x5ed6f1(0x2,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x22b)]))],_0x1fa692);const _0x3ba8ec=0x14,_0x5903b8=0xc8,_0x509079=0x4,_0x202daa=0x5;function _0x1b3a91(_0x966163,_0x2c219a){const _0x5d2d3b=_0x18d6ba;let {radius:_0x37b477,width:_0x4fbb70,height:_0x1a2e0e}=_0x2c219a;_0x37b477=_0x37b477!=null?_0x37b477:0x0,_0x4fbb70=_0x4fbb70!=null?_0x4fbb70:0x1e,_0x1a2e0e=_0x1a2e0e!=null?_0x1a2e0e:0x1e;let _0x2de638=0x0,_0x136ebb=0x0,_0x11deb2=0x0;_0x2de638=_0x136ebb=_0x11deb2=Math[_0x5d2d3b(0x51d)](_0x37b477,_0x4fbb70/0x2,_0x1a2e0e/0x2),_0x966163[_0x5d2d3b(0x401)](),_0x966163['moveTo'](_0x2de638,0x0),_0x966163[_0x5d2d3b(0x288)](_0x4fbb70-_0x136ebb,0x0),_0x966163[_0x5d2d3b(0x2c4)](_0x4fbb70-_0x136ebb,_0x136ebb,_0x136ebb,Math['PI']*0x3/0x2,0x0,!0x1),_0x966163[_0x5d2d3b(0x288)](_0x4fbb70,_0x1a2e0e-_0x11deb2),_0x966163[_0x5d2d3b(0x2c4)](_0x4fbb70-_0x11deb2,_0x1a2e0e-_0x11deb2,_0x11deb2,0x0,Math['PI']/0x2,!0x1),_0x966163[_0x5d2d3b(0x288)](0x0,_0x1a2e0e),_0x966163[_0x5d2d3b(0x288)](0x0,_0x2de638),_0x966163[_0x5d2d3b(0x2c4)](_0x2de638,_0x2de638,_0x2de638,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x966163[_0x5d2d3b(0x38d)](),_0x2c219a[_0x5d2d3b(0x1a0)]&&(_0x966163['save'](),_0x966163['fillStyle']=_0x2c219a[_0x5d2d3b(0x1a0)],_0x2c219a[_0x5d2d3b(0x281)]===_0x5d2d3b(0x3da)?_0x966163['fill'](_0x5d2d3b(0x3da)):_0x966163[_0x5d2d3b(0x1a0)](),_0x966163[_0x5d2d3b(0x44c)]());}class _0x609363 extends _0x3b10b4[_0x18d6ba(0x37d)]{constructor(_0x221ecb,_0x2b9b0b){const _0x400f55=_0x18d6ba;super(_0x221ecb,_0x2b9b0b),_0x2c46b8(this,_0x400f55(0x3ee)),_0x2c46b8(this,'text'),(this[_0x400f55(0x3ee)]=_0x2b9b0b==null?void 0x0:_0x2b9b0b['color'],this[_0x400f55(0x1ac)]=_0x2b9b0b==null?void 0x0:_0x2b9b0b[_0x400f55(0x1ac)]);}static['drawWith'](_0x420d6a,_0x48907d){const _0x13ff06=_0x18d6ba,{text:_0x58d0e9,color:_0xa043f9}=_0x48907d;_0x420d6a[_0x13ff06(0x271)](),_0x420d6a['font']=_0x13ff06(0x481);const _0x504d86=_0x420d6a[_0x13ff06(0x35a)](_0x58d0e9)[_0x13ff06(0x460)],_0x47a0d2=Math['min'](_0x504d86+0x2*_0x509079,_0x5903b8);_0x1b3a91(_0x420d6a,{'height':_0x3ba8ec,'radius':0x4,'width':_0x47a0d2,'fill':_0xa043f9,'evented':!0x1}),_0x420d6a[_0x13ff06(0x308)]=_0x13ff06(0x228);const _0x20e8fb=_0x509079,_0x222623=_0x3ba8ec-_0x202daa,_0x31ab31=_0x5903b8-0x2*_0x509079;if(_0x504d86>_0x31ab31){let _0x34bc58='',_0x4e651d=0x0;for(const _0x250538 of _0x58d0e9){const _0x4ba0e8=_0x420d6a[_0x13ff06(0x35a)](_0x250538)[_0x13ff06(0x460)];if(_0x4e651d+_0x4ba0e8<=_0x31ab31-_0x420d6a[_0x13ff06(0x35a)](_0x13ff06(0x291))[_0x13ff06(0x460)])_0x34bc58+=_0x250538,_0x4e651d+=_0x4ba0e8;else{_0x34bc58+=_0x13ff06(0x291);break;}}_0x420d6a[_0x13ff06(0x4b3)](_0x34bc58,_0x20e8fb,_0x222623);}else _0x420d6a[_0x13ff06(0x4b3)](_0x58d0e9,_0x20e8fb,_0x222623);_0x420d6a[_0x13ff06(0x44c)]();}[_0x18d6ba(0x4c6)](_0x4edddf){const _0xca3011=_0x18d6ba;_0x609363[_0xca3011(0x3c7)](_0x4edddf,this);}}const _0x268a41=0x1,_0x71257=1.5;class _0xa0f57e extends _0x3b10b4[_0x18d6ba(0x37d)]{constructor(_0x3aa424,_0x502e46){const _0x43b591=_0x18d6ba;super(_0x3aa424,_0x502e46),_0x2c46b8(this,'_color'),_0x2c46b8(this,_0x43b591(0x26c),!0x1),_0x2c46b8(this,_0x43b591(0x216)),_0x2c46b8(this,_0x43b591(0x221),''),_0x2c46b8(this,_0x43b591(0x18f),'top'),_0x2c46b8(this,'_backgroundColor'),(_0x502e46&&this[_0x43b591(0x436)](_0x502e46),this[_0x43b591(0x19e)][_0x43b591(0x209)](()=>this[_0x43b591(0x436)]({'hovered':!0x0})),this[_0x43b591(0x3d6)][_0x43b591(0x209)](()=>this[_0x43b591(0x436)]({'hovered':!0x1})));}[_0x18d6ba(0x436)](_0x1b4717){const _0x5f5036=_0x18d6ba;var _0x4ea7c5,_0x119a17,_0x3d18f1,_0xaa67d0,_0x38ae60,_0x3af28b;this[_0x5f5036(0x488)]=(_0x4ea7c5=_0x1b4717[_0x5f5036(0x3ee)])!=null?_0x4ea7c5:this['_color'],this[_0x5f5036(0x26c)]=(_0x119a17=_0x1b4717[_0x5f5036(0x57f)])!=null?_0x119a17:this[_0x5f5036(0x26c)],this[_0x5f5036(0x216)]=(_0x3d18f1=_0x1b4717['range'])!=null?_0x3d18f1:this[_0x5f5036(0x216)],this[_0x5f5036(0x221)]=(_0xaa67d0=_0x1b4717[_0x5f5036(0x4a1)])!=null?_0xaa67d0:this[_0x5f5036(0x221)],this[_0x5f5036(0x18f)]=(_0x38ae60=_0x1b4717[_0x5f5036(0x48c)])!=null?_0x38ae60:this[_0x5f5036(0x18f)],this[_0x5f5036(0x483)]=(_0x3af28b=_0x1b4717[_0x5f5036(0x47e)])!=null?_0x3af28b:this[_0x5f5036(0x483)],this[_0x5f5036(0x410)]({'width':_0x1b4717[_0x5f5036(0x460)],'height':_0x1b4717['height']});}[_0x18d6ba(0x29b)](_0x11444d){const _0x5c4c33=_0x18d6ba,{row:_0xcf856c,column:_0x38c1b4}=_0x11444d;if(_0xcf856c>=this[_0x5c4c33(0x216)][_0x5c4c33(0x1bc)]&&_0xcf856c<=this[_0x5c4c33(0x216)]['endRow']&&_0x38c1b4>=this['_range'][_0x5c4c33(0x474)]&&_0x38c1b4<=this[_0x5c4c33(0x216)][_0x5c4c33(0x586)]){this[_0x5c4c33(0x436)]({'hovered':!0x0});return;}this[_0x5c4c33(0x436)]({'hovered':!0x1});}[_0x18d6ba(0x4e3)](_0x546005){return!0x1;}[_0x18d6ba(0x4c6)](_0x4cb981){const _0x168b73=_0x18d6ba;_0x3b10b4[_0x168b73(0x3cd)][_0x168b73(0x3c7)](_0x4cb981,{'width':this[_0x168b73(0x460)],'height':this[_0x168b73(0x4c4)],'strokeWidth':_0x71257,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x168b73(0x483)]}),this[_0x168b73(0x26c)]&&(_0x4cb981[_0x168b73(0x271)](),_0x4cb981[_0x168b73(0x1a2)](0x1,0x0,0x0,0x1,this[_0x168b73(0x460)],this['_labelPosition']===_0x168b73(0x519)?0x0:-_0x3ba8ec),_0x609363[_0x168b73(0x3c7)](_0x4cb981,{'text':this[_0x168b73(0x221)],'color':this[_0x168b73(0x488)]}),_0x4cb981[_0x168b73(0x44c)]());}}var _0x45f256=Object[_0x18d6ba(0x272)],_0x3ad4ca=Object[_0x18d6ba(0x3fd)],_0x22cb99=(_0x36b81b,_0x4699ae,_0x3213b2,_0xa5e3c6)=>{const _0x5259c1=_0x18d6ba;for(var _0x5e2722=_0xa5e3c6>0x1?void 0x0:_0xa5e3c6?_0x3ad4ca(_0x4699ae,_0x3213b2):_0x4699ae,_0x1af556=_0x36b81b[_0x5259c1(0x574)]-0x1,_0x5409eb;_0x1af556>=0x0;_0x1af556--)(_0x5409eb=_0x36b81b[_0x1af556])&&(_0x5e2722=(_0xa5e3c6?_0x5409eb(_0x4699ae,_0x3213b2,_0x5e2722):_0x5409eb(_0x5e2722))||_0x5e2722);return _0xa5e3c6&&_0x5e2722&&_0x45f256(_0x4699ae,_0x3213b2,_0x5e2722),_0x5e2722;},_0x4f4b4b=(_0x278177,_0x3b97b5)=>(_0x3551ed,_0x4dc3f3)=>_0x3b97b5(_0x3551ed,_0x4dc3f3,_0x278177);const _0x4f0a15=0x1389;let _0x20a294=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x569c84,_0x421dd0,_0x98dd78,_0x45826a){const _0x55cee3=_0x18d6ba;super(),_0x2c46b8(this,_0x55cee3(0x577),new Set()),_0x2c46b8(this,_0x55cee3(0x30e),null),(this[_0x55cee3(0x430)]=_0x569c84,this['_sheetSkeletonManagerService']=_0x421dd0,this[_0x55cee3(0x527)]=_0x98dd78,this[_0x55cee3(0x313)]=_0x45826a,this[_0x55cee3(0x286)]());}[_0x18d6ba(0x286)](){const _0x492f6b=_0x18d6ba;this[_0x492f6b(0x470)][_0x492f6b(0x459)]['pipe'](_0x267050[_0x492f6b(0x40b)](this[_0x492f6b(0x505)]),_0x267050['switchMap'](_0x3ec787=>{const _0x55bd30=_0x492f6b;if(_0x3ec787){const _0x5b3abf=_0x3ec787[_0x55bd30(0x2dc)];return _0x5cbc6e[_0x55bd30(0x193)](this[_0x55bd30(0x527)]['getCollabCursors$'](this[_0x55bd30(0x430)][_0x55bd30(0x189)]),this[_0x55bd30(0x313)][_0x55bd30(0x3bc)])[_0x55bd30(0x32f)](_0x267050[_0x55bd30(0x343)](([_0x2f12ea,_0x35d791])=>{const _0x5037ef=_0x55bd30,_0x23e2cd=new Map();return _0x2f12ea[_0x5037ef(0x387)]((_0x263aee,_0x4d6042)=>{const _0x448048=_0x5037ef;if(_0x263aee[_0x448048(0x52d)]===_0x5b3abf){const _0x3482c2={..._0x263aee};_0x3482c2[_0x448048(0x3ee)]=_0x35d791[_0x263aee[_0x448048(0x3ee)]],_0x23e2cd[_0x448048(0x2a6)](_0x4d6042,_0x3482c2);}}),{'skeleton':_0x3ec787,'cursors':_0x23e2cd};}));}return _0x5cbc6e['of']({'skeleton':null,'cursors':new Map()});}))[_0x492f6b(0x559)](({skeleton:_0x3d5959,cursors:_0x5bedf9})=>{const _0x577a96=_0x492f6b;this[_0x577a96(0x1d7)](),_0x3d5959&&this['_updateCollabCursors'](_0x3d5959,_0x5bedf9);}),this[_0x492f6b(0x470)][_0x492f6b(0x459)][_0x492f6b(0x559)](_0x83bc04=>{const _0x1e8c6e=_0x492f6b;if(_0x83bc04==null)return;const {skeleton:_0x3a38a9}=_0x83bc04,{scene:_0x154187}=this[_0x1e8c6e(0x430)];_0x154187['onPointerMove$'][_0x1e8c6e(0x209)](_0x58296f(_0x241de5=>{const _0x68282b=_0x1e8c6e;var _0x36f4f7,_0x5bcb97;const {offsetX:_0x592f41,offsetY:_0x3f6016}=_0x241de5,{x:_0x21bac5,y:_0x5d31cd}=_0x154187[_0x68282b(0x226)](_0x3b10b4['Vector2']['FromArray']([_0x592f41,_0x3f6016])),{scaleX:_0x2971d4,scaleY:_0x13d3f2}=_0x154187[_0x68282b(0x1c9)](),_0x178ca4=_0x154187[_0x68282b(0x3a7)](_0xf60f4c['VIEWPORT_KEY'][_0x68282b(0x450)]),_0x2d8467=_0x154187[_0x68282b(0x50e)](_0x3b10b4[_0x68282b(0x36d)][_0x68282b(0x3ce)]([_0x21bac5,_0x5d31cd]),_0x178ca4),_0x3861b1=_0x3a38a9[_0x68282b(0x2cd)](_0x592f41,_0x3f6016,_0x2971d4,_0x13d3f2,_0x2d8467);((_0x36f4f7=this[_0x68282b(0x30e)])==null?void 0x0:_0x36f4f7[_0x68282b(0x48e)])===_0x3861b1[_0x68282b(0x48e)]&&((_0x5bcb97=this[_0x68282b(0x30e)])==null?void 0x0:_0x5bcb97[_0x68282b(0x3a5)])===_0x3861b1[_0x68282b(0x3a5)]||this[_0x68282b(0x577)][_0x68282b(0x387)](_0x579bcc=>{_0x579bcc['onMouseMove'](_0x3861b1);});},0x64));});}['_updateCollabCursors'](_0x15337b,_0x3c7b15){const _0x3d5e09=_0x18d6ba;var _0x3e30b4;const _0x31122b=(_0x3e30b4=this[_0x3d5e09(0x470)][_0x3d5e09(0x4f9)]())==null?void 0x0:_0x3e30b4[_0x3d5e09(0x407)];if(!_0x31122b)return;const _0x529d5e=this[_0x3d5e09(0x3b8)]();if(!_0x529d5e)return;this[_0x3d5e09(0x577)][_0x3d5e09(0x387)](_0x298d08=>{const _0x231155=_0x3d5e09;_0x298d08[_0x231155(0x325)]();});const {scene:_0x1ec809}=_0x529d5e,_0x5973ea=_0xd9d5af(Array[_0x3d5e09(0x44e)](_0x3c7b15[_0x3d5e09(0x2af)]()))[_0x3d5e09(0x343)](_0x549b97=>{const _0x5bccdf=_0x3d5e09,{color:_0x5d8aeb,range:_0x3f6a72,name:_0x2dcfff,selection:_0x32d77d,sheetID:_0x55ec15}=_0x549b97,{startColumn:_0x5601f5,startRow:_0x1aff34,endColumn:_0x51717e,endRow:_0x139de5}=_0x3f6a72,_0x39acbd=_0xf60f4c[_0x5bccdf(0x404)](_0x1aff34,_0x5601f5,_0x1ec809,_0x31122b),_0x3e48f2=_0xf60f4c[_0x5bccdf(0x404)](_0x139de5,_0x51717e,_0x1ec809,_0x31122b),{columnHeaderHeightAndMarginTop:_0x599993}=_0x31122b,{startX:_0x27f09c,startY:_0x26347d}=_0x39acbd,{endX:_0x44f260,endY:_0x294e7c}=_0x3e48f2,_0x44b983=_0x44f260-_0x27f09c,_0x559661=_0x294e7c-_0x26347d,_0x4b9c40={'labelPosition':_0x26347d-_0x599993>=_0x3ba8ec?_0x5bccdf(0x321):_0x5bccdf(0x519),'sheetID':_0x55ec15,'range':_0x3f6a72,'color':_0x5d8aeb,'name':_0x2dcfff,'selection':_0x32d77d,'left':_0x27f09c,'top':_0x26347d,'width':_0x44b983,'height':_0x559661,'evented':!0x1,'zIndex':_0x4f0a15};return new _0xa0f57e(_0x2dcfff,_0x4b9c40);});_0x1ec809[_0x3d5e09(0x494)](_0x5973ea,_0x268a41),this[_0x3d5e09(0x577)]=new Set(_0x5973ea);}[_0x18d6ba(0x1d7)](){const _0x564c18=_0x18d6ba;var _0x13aeb1;(_0x13aeb1=this[_0x564c18(0x577)])==null||_0x13aeb1[_0x564c18(0x387)](_0x4a36e5=>_0x4a36e5['dispose']());}[_0x18d6ba(0x3b8)](){const _0x92dde5=_0x18d6ba;return _0xf60f4c[_0x92dde5(0x2eb)](this['_context'][_0x92dde5(0x1b2)],this[_0x92dde5(0x430)]);}};_0x20a294=_0x22cb99([_0x4f4b4b(0x1,_0x3aaa00['Inject'](_0xf60f4c[_0x18d6ba(0x1b9)])),_0x4f4b4b(0x2,_0x3aaa00[_0x18d6ba(0x1de)](_0x1fa692)),_0x4f4b4b(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['ThemeService']))],_0x20a294);function _0xd9d5af(_0x44ccff){const _0x218aa6=_0x18d6ba,_0x279259=new Map();return _0x44ccff['forEach'](_0x3b23ff=>{const _0x1f55b9=_0x3d0e;if(_0x279259[_0x1f55b9(0x443)](_0x3b23ff[_0x1f55b9(0x3f5)])){const _0xff9bb=_0x279259[_0x1f55b9(0x3e4)](_0x3b23ff['selection']);_0xff9bb[_0x1f55b9(0x4a1)]+=',\x20'+_0x3b23ff['name'];}else _0x279259['set'](_0x3b23ff[_0x1f55b9(0x3f5)],_0x3b23ff);}),Array[_0x218aa6(0x44e)](_0x279259['values']());}var _0x49b39b=function(){const _0x2c62a5=_0x18d6ba;return _0x49b39b=Object[_0x2c62a5(0x2df)]||function(_0x45cc6f){const _0x46d348=_0x2c62a5;for(var _0x47b331,_0x19190a=0x1,_0x3660e0=arguments[_0x46d348(0x574)];_0x19190a<_0x3660e0;_0x19190a++){_0x47b331=arguments[_0x19190a];for(var _0x3aa2ea in _0x47b331)Object['prototype'][_0x46d348(0x3c3)]['call'](_0x47b331,_0x3aa2ea)&&(_0x45cc6f[_0x3aa2ea]=_0x47b331[_0x3aa2ea]);}return _0x45cc6f;},_0x49b39b['apply'](this,arguments);},_0x168ebb=function(_0x418c52,_0x9356f2){const _0x4a502a=_0x18d6ba;var _0x46fc32={};for(var _0x93e3a in _0x418c52)Object[_0x4a502a(0x58b)]['hasOwnProperty'][_0x4a502a(0x2f7)](_0x418c52,_0x93e3a)&&_0x9356f2['indexOf'](_0x93e3a)<0x0&&(_0x46fc32[_0x93e3a]=_0x418c52[_0x93e3a]);if(_0x418c52!=null&&typeof Object['getOwnPropertySymbols']==_0x4a502a(0x1b6)){for(var _0x8a8164=0x0,_0x93e3a=Object[_0x4a502a(0x284)](_0x418c52);_0x8a8164<_0x93e3a[_0x4a502a(0x574)];_0x8a8164++)_0x9356f2[_0x4a502a(0x251)](_0x93e3a[_0x8a8164])<0x0&&Object[_0x4a502a(0x58b)][_0x4a502a(0x469)][_0x4a502a(0x2f7)](_0x418c52,_0x93e3a[_0x8a8164])&&(_0x46fc32[_0x93e3a[_0x8a8164]]=_0x418c52[_0x93e3a[_0x8a8164]]);}return _0x46fc32;},_0x29b411=_0x349b95[_0x18d6ba(0x257)](function(_0xdd8128,_0x108bde){const _0x1504c3=_0x18d6ba;var _0x246ec2=_0xdd8128[_0x1504c3(0x2d9)],_0x1eb697=_0xdd8128['id'],_0x2932bd=_0xdd8128['className'],_0x3c1c16=_0xdd8128[_0x1504c3(0x2b7)],_0x55a496=_0x168ebb(_0xdd8128,[_0x1504c3(0x2d9),'id','className',_0x1504c3(0x2b7)]),_0x5f4405=_0x1504c3(0x245)[_0x1504c3(0x515)](_0x1eb697,'\x20')['concat'](_0x2932bd||'')['trim'](),_0x57bb9d=_0x349b95[_0x1504c3(0x4bc)]('_'['concat'](_0x94eb3d()));return _0x57f963(_0x246ec2,''['concat'](_0x1eb697),{'defIds':_0x246ec2[_0x1504c3(0x2f9)],'idSuffix':_0x57bb9d['current']},_0x49b39b({'ref':_0x108bde,'className':_0x5f4405},_0x55a496),_0x3c1c16);});function _0x57f963(_0x472f04,_0x5416e0,_0x922b1c,_0x3c6e2a,_0x5ca0d2){const _0x110463=_0x18d6ba;return _0x349b95[_0x110463(0x4e0)](_0x472f04[_0x110463(0x448)],_0x49b39b(_0x49b39b({'key':_0x5416e0},_0x4cab26(_0x472f04,_0x922b1c,_0x5ca0d2)),_0x3c6e2a),(_0x1902ff(_0x472f04,_0x922b1c)[_0x110463(0x211)]||[])[_0x110463(0x343)](function(_0xad16c1,_0xc8b8b4){const _0x560659=_0x110463;return _0x57f963(_0xad16c1,''[_0x560659(0x515)](_0x5416e0,'-')[_0x560659(0x515)](_0x472f04['tag'],'-')[_0x560659(0x515)](_0xc8b8b4),_0x922b1c,void 0x0,_0x5ca0d2);}));}function _0x4cab26(_0x589fad,_0x210f15,_0x1734a1){const _0x2f7caa=_0x18d6ba;var _0x52623d=_0x49b39b({},_0x589fad[_0x2f7caa(0x354)]);_0x1734a1!=null&&_0x1734a1[_0x2f7caa(0x373)]&&_0x52623d['fill']===_0x2f7caa(0x373)&&(_0x52623d[_0x2f7caa(0x1a0)]=_0x1734a1['colorChannel1']);var _0x14827f=_0x210f15[_0x2f7caa(0x2f9)];return!_0x14827f||_0x14827f[_0x2f7caa(0x574)]===0x0||(_0x589fad[_0x2f7caa(0x448)]===_0x2f7caa(0x1b1)&&_0x52623d['xlink:href']&&(_0x52623d[_0x2f7caa(0x4a4)]=_0x52623d['xlink:href']+_0x210f15[_0x2f7caa(0x218)]),Object['entries'](_0x52623d)[_0x2f7caa(0x387)](function(_0x349637){const _0x438977=_0x2f7caa;var _0xcc23fb=_0x349637[0x0],_0x400012=_0x349637[0x1];typeof _0x400012==_0x438977(0x1be)&&(_0x52623d[_0xcc23fb]=_0x400012['replace'](/url\(#(.*)\)/,_0x438977(0x2ee)[_0x438977(0x515)](_0x210f15[_0x438977(0x218)],')')));})),_0x52623d;}function _0x1902ff(_0x340d9c,_0x257862){const _0x4775e2=_0x18d6ba;var _0x56fd04,_0x4e4e17=_0x257862[_0x4775e2(0x2f9)];return!_0x4e4e17||_0x4e4e17['length']===0x0?_0x340d9c:_0x340d9c[_0x4775e2(0x448)]==='defs'&&(!((_0x56fd04=_0x340d9c[_0x4775e2(0x211)])===null||_0x56fd04===void 0x0)&&_0x56fd04[_0x4775e2(0x574)])?_0x49b39b(_0x49b39b({},_0x340d9c),{'children':_0x340d9c[_0x4775e2(0x211)]['map'](function(_0x235495){const _0x84125d=_0x4775e2;return typeof _0x235495[_0x84125d(0x354)]['id']==_0x84125d(0x1be)&&_0x4e4e17&&_0x4e4e17[_0x84125d(0x251)](_0x235495[_0x84125d(0x354)]['id'])>-0x1?_0x49b39b(_0x49b39b({},_0x235495),{'attrs':_0x49b39b(_0x49b39b({},_0x235495[_0x84125d(0x354)]),{'id':_0x235495[_0x84125d(0x354)]['id']+_0x257862[_0x84125d(0x218)]})}):_0x235495;})}):_0x340d9c;}function _0x94eb3d(){const _0x468abd=_0x18d6ba;return Math[_0x468abd(0x468)]()[_0x468abd(0x1fb)](0x24)[_0x468abd(0x1ba)](0x2,0x8);}_0x29b411[_0x18d6ba(0x319)]=_0x18d6ba(0x4c2);var _0xb4579a={'tag':'svg','attrs':{'fill':'none','viewBox':_0x18d6ba(0x36b),'width':'1em','height':_0x18d6ba(0x1f9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x18d6ba(0x364),'attrs':{'stroke':_0x18d6ba(0x4c8),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x18d6ba(0x584),'strokeLinejoin':_0x18d6ba(0x584),'strokeWidth':1.2}}]},{'tag':_0x18d6ba(0x46c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x18d6ba(0x21f)},'children':[{'tag':'path','attrs':{'fill':_0x18d6ba(0x2e7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x18d6ba(0x21f)]},_0x3bb149=_0x349b95[_0x18d6ba(0x257)](function(_0x2b97a4,_0x1d88f9){const _0x415ff4=_0x18d6ba;return _0x349b95[_0x415ff4(0x4e0)](_0x29b411,Object[_0x415ff4(0x2df)]({},_0x2b97a4,{'id':'off-line-single','ref':_0x1d88f9,'icon':_0xb4579a}));});_0x3bb149[_0x18d6ba(0x319)]=_0x18d6ba(0x1dd);var _0x31c5e0={'tag':_0x18d6ba(0x4f1),'attrs':{'fill':_0x18d6ba(0x4db),'viewBox':'0\x200\x2017\x2016','width':_0x18d6ba(0x1f9),'height':_0x18d6ba(0x1f9)},'children':[{'tag':'g','attrs':{'clipPath':_0x18d6ba(0x1c0)},'children':[{'tag':_0x18d6ba(0x364),'attrs':{'stroke':_0x18d6ba(0x4c8),'d':_0x18d6ba(0x52a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x18d6ba(0x46c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x18d6ba(0x1e4)},'children':[{'tag':_0x18d6ba(0x364),'attrs':{'fill':_0x18d6ba(0x2e7),'d':_0x18d6ba(0x511),'transform':_0x18d6ba(0x29c)}}]}]}],'defIds':[_0x18d6ba(0x1e4)]},_0x5b5bb6=_0x349b95[_0x18d6ba(0x257)](function(_0xe36e97,_0x35f9ce){const _0x341c14=_0x18d6ba;return _0x349b95['createElement'](_0x29b411,Object[_0x341c14(0x2df)]({},_0xe36e97,{'id':_0x341c14(0x4f5),'ref':_0x35f9ce,'icon':_0x31c5e0}));});_0x5b5bb6[_0x18d6ba(0x319)]=_0x18d6ba(0x41b);const _0x3eee85={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x18d6ba(0x4cc),'onlineStatus':_0x18d6ba(0x357),'online':_0x18d6ba(0x24c),'offline':_0x18d6ba(0x24a)};function _0x215982(_0x1a59c6){const _0x13ce70=_0x18d6ba;switch(_0x1a59c6){case _0x2232ef[_0x13ce70(0x1f8)]:return _0x13ce70(0x418);case _0x2232ef[_0x13ce70(0x566)]:return _0x13ce70(0x547);case _0x2232ef[_0x13ce70(0x447)]:return _0x13ce70(0x4d9);case _0x2232ef['NOT_COLLAB']:return'collabStatus.notCollab';case _0x2232ef[_0x13ce70(0x1ed)]:case _0x2232ef['AWAITING']:case _0x2232ef[_0x13ce70(0x55e)]:return _0x13ce70(0x402);case _0x2232ef[_0x13ce70(0x274)]:return _0x13ce70(0x49a);}}function _0x89a6f8(_0x55f049){const _0x4b104b=_0x18d6ba,{status$:_0x32c388}=_0x55f049,_0x27c032=_0x2b4c8d['useObservable'](_0x32c388,_0x2232ef[_0x4b104b(0x1e5)]),_0x58f668=_0x3aaa00[_0x4b104b(0x258)](_0x3aaa00[_0x4b104b(0x591)]),_0x5405cc=_0x27c032!==_0x2232ef['OFFLINE'],_0x833f78=_0x58f668['t'](_0x215982(_0x27c032)),_0x1493de=_0x3adb83(_0x3eee85['onlineStatus'],{[_0x3eee85[_0x4b104b(0x1cf)]]:_0x5405cc,[_0x3eee85['offline']]:!_0x5405cc}),_0x486fdf=_0x5405cc?_0x349b95[_0x4b104b(0x4e0)](_0x5b5bb6,null):_0x349b95['createElement'](_0x3bb149,null);return _0x349b95[_0x4b104b(0x4e0)](_0x4b104b(0x1f2),{'className':_0x1493de},_0x349b95[_0x4b104b(0x4e0)](_0x4b104b(0x1f2),{'className':_0x3eee85[_0x4b104b(0x41c)]},_0x486fdf),_0x349b95[_0x4b104b(0x4e0)](_0x4b104b(0x1f2),{'className':_0x3eee85[_0x4b104b(0x590)]},_0x833f78));}var _0x5c78f9=Object[_0x18d6ba(0x272)],_0x5e6573=Object[_0x18d6ba(0x3fd)],_0x157234=(_0x1e00f5,_0x27e2f5,_0x3b99e0,_0x38cb25)=>{for(var _0x3b5c3f=_0x38cb25>0x1?void 0x0:_0x38cb25?_0x5e6573(_0x27e2f5,_0x3b99e0):_0x27e2f5,_0x4ef620=_0x1e00f5['length']-0x1,_0x4c8b46;_0x4ef620>=0x0;_0x4ef620--)(_0x4c8b46=_0x1e00f5[_0x4ef620])&&(_0x3b5c3f=(_0x38cb25?_0x4c8b46(_0x27e2f5,_0x3b99e0,_0x3b5c3f):_0x4c8b46(_0x3b5c3f))||_0x3b5c3f);return _0x38cb25&&_0x3b5c3f&&_0x5c78f9(_0x27e2f5,_0x3b99e0,_0x3b5c3f),_0x3b5c3f;},_0x158d1e=(_0x1ac5b3,_0xe51c39)=>(_0x426b1b,_0x4a1624)=>_0xe51c39(_0x426b1b,_0x4a1624,_0x1ac5b3);_0x4c54a0['DesktopCollaborationStatusDisplayController']=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x5e9060,_0x15ebc0,_0x880139,_0x2bd51e){const _0x3b722a=_0x18d6ba;super(),_0x2c46b8(this,'_status$',new _0x5cbc6e['BehaviorSubject'](_0x2232ef[_0x3b722a(0x1e5)])),(this[_0x3b722a(0x318)]=_0x5e9060,this[_0x3b722a(0x4da)]=_0x15ebc0,this['_injector']=_0x880139,this[_0x3b722a(0x524)]=_0x2bd51e,this['_initStatusComponent'](),this[_0x3b722a(0x238)]());}[_0x18d6ba(0x428)](){const _0x8ab593=_0x18d6ba;this[_0x8ab593(0x43a)](this['_uiPartsService']['registerComponent'](_0x2b4c8d[_0x8ab593(0x3bf)]['HEADER_MENU'],()=>_0x3aaa00[_0x8ab593(0x4a2)](_0x157b44({'status$':this['_status$'][_0x8ab593(0x28c)]()}),this['_injector'])));}[_0x18d6ba(0x238)](){const _0x32af6e=_0x18d6ba;this[_0x32af6e(0x43a)](_0x3aaa00[_0x32af6e(0x1cd)](this[_0x32af6e(0x318)][_0x32af6e(0x204)][_0x32af6e(0x32f)](_0x5cbc6e[_0x32af6e(0x546)](()=>{const _0x473a8c=_0x32af6e,_0x1a05d0=this[_0x473a8c(0x318)]['getFocusedUnit']();return _0x1a05d0?this['_collaborationController'][_0x473a8c(0x45b)](_0x1a05d0[_0x473a8c(0x4b6)]()):_0x5cbc6e['of'](null);}),_0x5cbc6e['switchMap'](_0x4ec44b=>_0x4ec44b?_0x4ec44b[_0x32af6e(0x503)]:_0x5cbc6e['of'](_0x2232ef['NOT_COLLAB'])))['subscribe'](_0x52b81d=>{const _0x3074e5=_0x32af6e;this[_0x3074e5(0x225)]['next'](_0x52b81d);})));}},_0x4c54a0[_0x18d6ba(0x235)]=_0x157234([_0x3aaa00[_0x18d6ba(0x279)](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x1d5)],_0x4c54a0[_0x18d6ba(0x235)]),_0x158d1e(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x158d1e(0x1,_0x2b4c8d[_0x18d6ba(0x3dd)]),_0x158d1e(0x2,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x158d1e(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['CollaborationController']))],_0x4c54a0[_0x18d6ba(0x235)]);function _0x157b44(_0x3b7c63){const {status$:_0x365848}=_0x3b7c63;return function(){return _0x349b95['createElement'](_0x89a6f8,{'status$':_0x365848});};}const _0x44b27e=_0x3aaa00[_0x18d6ba(0x3be)]('uni.network.url-service');var _0x188697=Object['defineProperty'],_0x1894d9=Object[_0x18d6ba(0x3fd)],_0x2d9aab=(_0x2f0099,_0x3a53ca,_0x156b1b,_0x59dd45)=>{for(var _0x26b0b3=_0x59dd45>0x1?void 0x0:_0x59dd45?_0x1894d9(_0x3a53ca,_0x156b1b):_0x3a53ca,_0x2405c3=_0x2f0099['length']-0x1,_0xa9637a;_0x2405c3>=0x0;_0x2405c3--)(_0xa9637a=_0x2f0099[_0x2405c3])&&(_0x26b0b3=(_0x59dd45?_0xa9637a(_0x3a53ca,_0x156b1b,_0x26b0b3):_0xa9637a(_0x26b0b3))||_0x26b0b3);return _0x59dd45&&_0x26b0b3&&_0x188697(_0x3a53ca,_0x156b1b,_0x26b0b3),_0x26b0b3;},_0x54d5fb=(_0x518f69,_0x17e205)=>(_0xb096ac,_0x13c84e)=>_0x17e205(_0xb096ac,_0x13c84e,_0x518f69);_0x4c54a0[_0x18d6ba(0x24d)]=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x33072c,_0x1fcad1,_0xd4cfcd,_0x204453,_0xfd181d,_0x1a29f2){const _0x2dbc7d=_0x18d6ba;super(),this['_urlService']=_0x33072c,this[_0x2dbc7d(0x36e)]=_0x1fcad1,this[_0x2dbc7d(0x513)]=_0xd4cfcd,this[_0x2dbc7d(0x4bf)]=_0x204453,this[_0x2dbc7d(0x51a)]=_0xfd181d,_0x1a29f2?_0x1a29f2==null||_0x1a29f2[_0x2dbc7d(0x3a2)]()['then'](()=>this[_0x2dbc7d(0x286)]()):(this[_0x2dbc7d(0x36e)]['debug'](_0x2dbc7d(0x3b6),_0x2dbc7d(0x40d)),this[_0x2dbc7d(0x286)]());}async[_0x18d6ba(0x286)](){const _0x1ef4fb=_0x18d6ba,_0x3bd779=this[_0x1ef4fb(0x569)][_0x1ef4fb(0x2f6)](_0x1ef4fb(0x1b2)),_0x475037=this[_0x1ef4fb(0x569)][_0x1ef4fb(0x2f6)](_0x1ef4fb(0x543));if(!_0x3bd779||!_0x475037){this['_logService'][_0x1ef4fb(0x3bd)](_0x1ef4fb(0x3b6),_0x1ef4fb(0x389));return;}switch(Number(_0x475037)){case _0x3a110c[_0x1ef4fb(0x18a)]:{const _0x36eb14=await this['_loadSheet'](_0x3bd779);this[_0x1ef4fb(0x375)](_0x36eb14);break;}case _0x3a110c[_0x1ef4fb(0x4c1)]:{await this[_0x1ef4fb(0x31c)](_0x3bd779);break;}default:{this[_0x1ef4fb(0x36e)][_0x1ef4fb(0x4ae)](_0x1ef4fb(0x3b6),_0x1ef4fb(0x47d));break;}}}async[_0x18d6ba(0x375)](_0x1f0984){const _0x139240=_0x18d6ba;await this['_updateSubUnitFromURLParams'](_0x1f0984),_0x1f0984[_0x139240(0x4f6)][_0x139240(0x32f)](_0x5cbc6e[_0x139240(0x40b)](this[_0x139240(0x505)]))[_0x139240(0x559)](_0x18d97f=>{_0x18d97f&&this['_updateURLWithCurrentState'](_0x18d97f);}),this['_urlService']['urlChange$'][_0x139240(0x32f)](_0x5cbc6e[_0x139240(0x40b)](this['dispose$']))[_0x139240(0x559)](()=>this['_updateSubUnitFromURLParams'](_0x1f0984));}[_0x18d6ba(0x1ca)](_0x50060f,_0x3e69be=!0x1){const _0x26d95b=_0x18d6ba,_0x217a99=this[_0x26d95b(0x569)][_0x26d95b(0x2f6)](_0x26d95b(0x27b));_0x50060f['getSheetId']()!==_0x217a99&&this[_0x26d95b(0x569)][_0x26d95b(0x1c2)]('subunit',_0x50060f[_0x26d95b(0x1fa)](),_0x3e69be);}async[_0x18d6ba(0x231)](_0x5ef10b){const _0x47dc5c=_0x18d6ba;var _0x5a026a;const _0x5ded11=this[_0x47dc5c(0x569)][_0x47dc5c(0x2f6)]('subunit');if(!_0x5ded11||!_0x5ef10b[_0x47dc5c(0x3f6)](_0x5ded11)){const _0x22e6cc=_0x5ef10b['getUnhiddenWorksheets']()[0x0],_0x3d8b2e=_0x5ef10b[_0x47dc5c(0x3f6)](_0x22e6cc);if(!_0x3d8b2e)return;this[_0x47dc5c(0x1ca)](_0x3d8b2e,!0x0),await this['_commandService']['executeCommand'](_0x459c9c['SetWorksheetActivateCommand']['id'],{'unitId':_0x5ef10b[_0x47dc5c(0x4b6)](),'subUnitId':_0x22e6cc});return;}((_0x5a026a=_0x5ef10b[_0x47dc5c(0x2ac)]())==null?void 0x0:_0x5a026a['getSheetId']())!==_0x5ded11&&await this[_0x47dc5c(0x513)][_0x47dc5c(0x2e9)](_0x459c9c[_0x47dc5c(0x518)]['id'],{'unitId':_0x5ef10b['getUnitId'](),'subUnitId':_0x5ded11});}async['_loadSheet'](_0x11a9d2){const _0x4fd956=_0x18d6ba;let _0x443049=0x0;const _0x2d2309=await this[_0x4fd956(0x4bf)][_0x4fd956(0x1ee)](_0x11a9d2);return _0x2d2309&&(_0x2d2309['awaitingChangeset']||_0x2d2309[_0x4fd956(0x2fb)][_0x4fd956(0x574)]!==0x0)&&(_0x443049=_0x2d2309[_0x4fd956(0x39c)]),_0x443049===0x0&&this[_0x4fd956(0x36e)][_0x4fd956(0x3bd)](_0x4fd956(0x3b6),_0x4fd956(0x3e8)),this[_0x4fd956(0x51a)][_0x4fd956(0x2bc)](_0x11a9d2,_0x443049);}async['_loadDoc'](_0xce2779){const _0x1a48d9=_0x18d6ba;let _0x1b8411=0x0;const _0xfb34bc=await this[_0x1a48d9(0x4bf)][_0x1a48d9(0x1ee)](_0xce2779);return _0xfb34bc&&(_0xfb34bc[_0x1a48d9(0x264)]||_0xfb34bc[_0x1a48d9(0x2fb)][_0x1a48d9(0x574)]!==0x0)&&(_0x1b8411=_0xfb34bc[_0x1a48d9(0x39c)]),_0x1b8411===0x0&&this[_0x1a48d9(0x36e)][_0x1a48d9(0x3bd)]('[DataLoaderController]',_0x1a48d9(0x3e8)),this[_0x1a48d9(0x51a)][_0x1a48d9(0x526)](_0xce2779,_0x1b8411);}},_0x4c54a0['DataLoaderController']=_0x2d9aab([_0x3aaa00['OnLifecycle'](_0x3aaa00[_0x18d6ba(0x4ff)]['Starting'],_0x4c54a0[_0x18d6ba(0x24d)]),_0x54d5fb(0x0,_0x44b27e),_0x54d5fb(0x1,_0x3aaa00[_0x18d6ba(0x42a)]),_0x54d5fb(0x2,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x54d5fb(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x54d5fb(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x3ab)])),_0x54d5fb(0x5,_0x3aaa00[_0x18d6ba(0x409)](_0x2a45ef[_0x18d6ba(0x344)]))],_0x4c54a0[_0x18d6ba(0x24d)]);var _0x5b60dd=Object[_0x18d6ba(0x272)],_0x547ef0=Object[_0x18d6ba(0x3fd)],_0x37faad=(_0x42fd68,_0x4a4dac,_0x5b6e22,_0x109673)=>{const _0x1570ff=_0x18d6ba;for(var _0x4b998c=_0x109673>0x1?void 0x0:_0x109673?_0x547ef0(_0x4a4dac,_0x5b6e22):_0x4a4dac,_0x3117c2=_0x42fd68[_0x1570ff(0x574)]-0x1,_0xb5fb23;_0x3117c2>=0x0;_0x3117c2--)(_0xb5fb23=_0x42fd68[_0x3117c2])&&(_0x4b998c=(_0x109673?_0xb5fb23(_0x4a4dac,_0x5b6e22,_0x4b998c):_0xb5fb23(_0x4b998c))||_0x4b998c);return _0x109673&&_0x4b998c&&_0x5b60dd(_0x4a4dac,_0x5b6e22,_0x4b998c),_0x4b998c;},_0x2d70cb=(_0x39b5ad,_0x37ea42)=>(_0x1cfa88,_0x30a121)=>_0x37ea42(_0x1cfa88,_0x30a121,_0x39b5ad);const _0x3a025c=_0x18d6ba(0x38b),_0x58b20a=_0x18d6ba(0x408);let _0x22268e=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x1177cc,_0x46afc1){const _0x1a8fea=_0x18d6ba;super(),this[_0x1a8fea(0x318)]=_0x1177cc,this['_configService']=_0x46afc1,this['_init']();}[_0x18d6ba(0x286)](){const _0x2edb20=_0x18d6ba;this['disposeWithMe'](_0x3aaa00[_0x2edb20(0x1cd)](this[_0x2edb20(0x318)][_0x2edb20(0x204)][_0x2edb20(0x559)](()=>{const _0x5f3c8b=_0x2edb20;var _0xfefd7a;const _0x3ec078=this[_0x5f3c8b(0x318)]['getFocusedUnit']();let _0x539d4c=(_0xfefd7a=this[_0x5f3c8b(0x394)]['getConfig'](_0x3a025c))!=null?_0xfefd7a:_0x58b20a;_0x3ec078 instanceof _0x3aaa00[_0x5f3c8b(0x2c9)]&&(_0x539d4c=_0x3ec078[_0x5f3c8b(0x4a1)]),document[_0x5f3c8b(0x3f7)]=_0x539d4c;})));}};_0x22268e=_0x37faad([_0x3aaa00[_0x18d6ba(0x279)](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x480)],_0x22268e),_0x2d70cb(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x2d70cb(0x1,_0x3aaa00[_0x18d6ba(0x195)])],_0x22268e);var _0x3c0ae4=Object[_0x18d6ba(0x272)],_0x4be4bc=Object[_0x18d6ba(0x3fd)],_0x1b019f=(_0x12d521,_0x42eb87,_0x51a2e2,_0x50a76d)=>{const _0x36750c=_0x18d6ba;for(var _0x55f5df=_0x50a76d>0x1?void 0x0:_0x50a76d?_0x4be4bc(_0x42eb87,_0x51a2e2):_0x42eb87,_0x287e1f=_0x12d521[_0x36750c(0x574)]-0x1,_0x4b9215;_0x287e1f>=0x0;_0x287e1f--)(_0x4b9215=_0x12d521[_0x287e1f])&&(_0x55f5df=(_0x50a76d?_0x4b9215(_0x42eb87,_0x51a2e2,_0x55f5df):_0x4b9215(_0x55f5df))||_0x55f5df);return _0x50a76d&&_0x55f5df&&_0x3c0ae4(_0x42eb87,_0x51a2e2,_0x55f5df),_0x55f5df;},_0x1bee37=(_0x46aff3,_0x4e1c51)=>(_0x3f3bbf,_0x244f39)=>_0x4e1c51(_0x3f3bbf,_0x244f39,_0x46aff3);_0x4c54a0[_0x18d6ba(0x214)]=class{constructor(_0x193ab1,_0x221568){const _0xee6bb=_0x18d6ba;this[_0xee6bb(0x394)]=_0x193ab1,this[_0xee6bb(0x479)]=_0x221568;}async[_0x18d6ba(0x3fa)](_0x57056a,_0x340ea3){const _0x30ed11=_0x18d6ba;var _0x4a1767;const {unitID:_0x1d48cf,type:_0x19c255,revision:_0x21bde7=0x0}=_0x340ea3,_0xf0abfc=this[_0x30ed11(0x369)]()+'/'+_0x19c255+'/unit/'+_0x1d48cf+_0x30ed11(0x445)+_0x21bde7,_0x31c488=(await this[_0x30ed11(0x479)][_0x30ed11(0x3e4)](_0xf0abfc))['body'],_0x3b24bc=(_0x4a1767=_0x31c488['snapshot'])==null?void 0x0:_0x4a1767[_0x30ed11(0x34f)];if(_0x3b24bc){const _0xf6e430=_0x3b24bc==null?void 0x0:_0x3b24bc[_0x30ed11(0x1cb)],_0xd873af=_0x3aaa00[_0x30ed11(0x571)][_0x30ed11(0x262)](_0x3aaa00['b64DecodeUnicode'](_0xf6e430));_0x3b24bc[_0x30ed11(0x1cb)]=_0xd873af,Object[_0x30ed11(0x1aa)](_0x3b24bc['sheets'])['forEach'](([,_0x4e3880])=>{const _0x3771d3=_0x30ed11,_0x1735c3=_0x4e3880[_0x3771d3(0x1cb)],_0x44face=_0x3aaa00[_0x3771d3(0x571)]['encode'](_0x3aaa00[_0x3771d3(0x36c)](_0x1735c3));_0x4e3880['originalMeta']=_0x44face;});}return _0x31c488;}async[_0x18d6ba(0x4d5)](_0x18de2c,_0x2af26b){const _0x50e7c5=_0x18d6ba,{unitID:_0xe8c413,type:_0x1f8133,blockID:_0x2b6b20}=_0x2af26b,_0x8abdaa=this[_0x50e7c5(0x49d)]()+'/'+_0x1f8133+_0x50e7c5(0x37c)+_0xe8c413+_0x50e7c5(0x280)+_0x2b6b20;return(await this[_0x50e7c5(0x479)]['get'](_0x8abdaa))['body'];}async['fetchMissingChangesets'](_0x130aca,_0x1dd9b1){const _0xb8a1=_0x18d6ba,{unitID:_0x42996a,type:_0x156532,from:_0x41279b,to:_0x4e7023}=_0x1dd9b1,_0x31e296=this[_0xb8a1(0x49d)]()+'/'+_0x156532+_0xb8a1(0x37c)+_0x42996a+_0xb8a1(0x2f1)+_0x41279b+_0xb8a1(0x205)+_0x4e7023;return(await this[_0xb8a1(0x479)][_0xb8a1(0x3e4)](_0x31e296))[_0xb8a1(0x411)];}[_0x18d6ba(0x369)](){const _0x5371a6=_0x18d6ba;var _0xf88878;return(_0xf88878=this[_0x5371a6(0x394)][_0x5371a6(0x499)](_0x37c740))!=null?_0xf88878:this[_0x5371a6(0x49d)]();}['_getAPIPrefix'](){const _0x33ec5c=_0x18d6ba;var _0x2f898f;return(_0x2f898f=this[_0x33ec5c(0x394)]['getConfig'](_0x4bec73))!=null?_0x2f898f:_0x4e3762;}async['getResourcesRequest'](_0x54104d,_0x2858f3){const _0x2f4e02=_0x18d6ba,_0x282064='/universer-api/snapshot/'+_0x2858f3[_0x2f4e02(0x543)]+_0x2f4e02(0x37c)+_0x2858f3[_0x2f4e02(0x4bb)]+_0x2f4e02(0x2b1);return(await this[_0x2f4e02(0x479)][_0x2f4e02(0x3e4)](_0x282064,{'params':{'resourceId':JSON['stringify'](_0x2858f3[_0x2f4e02(0x579)])}}))['body'];}[_0x18d6ba(0x24e)](){const _0x228214=_0x18d6ba;throw new Error(_0x228214(0x377));}[_0x18d6ba(0x1d4)](){const _0x42f930=_0x18d6ba;throw new Error(_0x42f930(0x377));}[_0x18d6ba(0x1da)](){const _0x501563=_0x18d6ba;throw new Error(_0x501563(0x377));}},_0x4c54a0[_0x18d6ba(0x214)]=_0x1b019f([_0x1bee37(0x0,_0x3aaa00[_0x18d6ba(0x195)]),_0x1bee37(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)]))],_0x4c54a0[_0x18d6ba(0x214)]);var _0x2deaad=Object['defineProperty'],_0x4f2f88=Object[_0x18d6ba(0x3fd)],_0x441435=(_0x19855e,_0x5af1ea,_0x1026ae,_0x5092a9)=>{const _0x15fd47=_0x18d6ba;for(var _0x5e2f07=_0x5092a9>0x1?void 0x0:_0x5092a9?_0x4f2f88(_0x5af1ea,_0x1026ae):_0x5af1ea,_0x13d092=_0x19855e[_0x15fd47(0x574)]-0x1,_0x52b117;_0x13d092>=0x0;_0x13d092--)(_0x52b117=_0x19855e[_0x13d092])&&(_0x5e2f07=(_0x5092a9?_0x52b117(_0x5af1ea,_0x1026ae,_0x5e2f07):_0x52b117(_0x5e2f07))||_0x5e2f07);return _0x5092a9&&_0x5e2f07&&_0x2deaad(_0x5af1ea,_0x1026ae,_0x5e2f07),_0x5e2f07;},_0x542ef3=(_0x32733e,_0x36f6e8)=>(_0x12aa75,_0x3e25b0)=>_0x36f6e8(_0x12aa75,_0x3e25b0,_0x32733e);let _0x3ff707=class extends _0x3aaa00[_0x18d6ba(0x4f3)]{constructor(_0x2cbe07,_0x565e94,_0xb36090,_0x5741bf,_0x525680){const _0xb3a74e=_0x18d6ba;super(_0x2cbe07,_0x565e94,_0xb36090),this[_0xb3a74e(0x45d)]=_0x5741bf,this[_0xb3a74e(0x36e)]=_0x525680;}[_0x18d6ba(0x4e6)](_0x85859,_0x4336a0){const _0x147a55=_0x18d6ba,_0x2226e2=this[_0x147a55(0x478)](_0x85859);if(_0x2226e2)try{const _0x5a1b83=this[_0x147a55(0x4d0)](_0x2226e2,_0x4336a0);this[_0x147a55(0x269)](_0x85859,_0x5a1b83);}catch(_0x5ac90d){this[_0x147a55(0x36e)][_0x147a55(0x4ae)](_0x147a55(0x1a8),_0x5ac90d),this[_0x147a55(0x555)](_0x85859);}const _0x103f74=this[_0x147a55(0x3e5)](_0x85859);if(_0x103f74)try{const _0x3dab45=this[_0x147a55(0x4d0)](_0x103f74,_0x4336a0);this[_0x147a55(0x46a)](_0x85859,_0x3dab45);}catch(_0xe4169d){this[_0x147a55(0x36e)][_0x147a55(0x4ae)](_0xe4169d),this[_0x147a55(0x563)](_0x85859);}}['_clearUndo'](_0x4e26d2){const _0x45e121=_0x18d6ba,_0x39c336=this[_0x45e121(0x478)](_0x4e26d2);_0x39c336&&(_0x39c336[_0x45e121(0x574)]=0x0,this[_0x45e121(0x230)]());}[_0x18d6ba(0x563)](_0x3db3e5){const _0x1aa28e=_0x18d6ba,_0x47293a=this[_0x1aa28e(0x3e5)](_0x3db3e5);_0x47293a&&(_0x47293a[_0x1aa28e(0x574)]=0x0,this[_0x1aa28e(0x230)]());}['_substituteUndoStack'](_0x413118,_0xb5636b){const _0x5bbb6b=_0x18d6ba;this['_undoStacks']['set'](_0x413118,_0xb5636b),this[_0x5bbb6b(0x230)]();}[_0x18d6ba(0x46a)](_0x8989cf,_0x47b0b7){const _0x1c5ae8=_0x18d6ba;this['_redoStacks'][_0x1c5ae8(0x2a6)](_0x8989cf,_0x47b0b7),this[_0x1c5ae8(0x230)]();}[_0x18d6ba(0x4d0)](_0x250975,_0x364885){const _0x571b18=_0x18d6ba,_0x10f61a=[];let _0x71bef1=_0x364885,_0x57e231=_0x364885;for(let _0x34e95f=_0x250975[_0x571b18(0x574)]-0x1;_0x34e95f>=0x0;_0x34e95f--){const {unitID:_0x224dc3,undoMutations:_0x298a99,redoMutations:_0x341c8b}=_0x250975[_0x34e95f],_0x2e97ba=this[_0x571b18(0x45d)][_0x571b18(0x588)](_0x71bef1,_0x298a99),_0x3b589f=this[_0x571b18(0x45d)]['transformMutationsWithChangeset'](_0x57e231,_0x341c8b);if(_0x4d4d9d[_0x571b18(0x336)](_0x2e97ba)||_0x4d4d9d[_0x571b18(0x336)](_0x3b589f)){this['_logService'][_0x571b18(0x4ae)](_0x571b18(0x1a8),'transformStack\x20failed!',_0x2e97ba,_0x3b589f);break;}_0x71bef1=_0x2e97ba[_0x571b18(0x486)],_0x57e231=_0x3b589f[_0x571b18(0x486)],_0x10f61a[_0x571b18(0x239)]({'unitID':_0x224dc3,'undoMutations':_0x2e97ba['m2Prime'],'redoMutations':_0x3b589f['m2Prime']});}return _0x10f61a[_0x571b18(0x439)]();}};_0x3ff707=_0x441435([_0x542ef3(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x542ef3(0x1,_0x3aaa00['ICommandService']),_0x542ef3(0x2,_0x3aaa00['IContextService']),_0x542ef3(0x3,_0x4d4d9d['ITransformService']),_0x542ef3(0x4,_0x3aaa00[_0x18d6ba(0x42a)])],_0x3ff707);class _0x39bc2e extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(){const _0x2d1d82=_0x18d6ba;super(),_0x2c46b8(this,_0x2d1d82(0x533)),this['urlChange$']=_0x5cbc6e[_0x2d1d82(0x3a4)](window,'popstate')[_0x2d1d82(0x32f)](_0x5cbc6e[_0x2d1d82(0x40b)](this[_0x2d1d82(0x505)]),_0x5cbc6e[_0x2d1d82(0x27e)](0x1),_0x5cbc6e[_0x2d1d82(0x57c)](void 0x0));}['setParam'](_0x55158c,_0x39416f,_0x48b05a=!0x1){const _0x546d81=_0x18d6ba,_0x30c530=new URL(window[_0x546d81(0x54d)][_0x546d81(0x53c)]);_0x30c530['searchParams']['set'](_0x55158c,_0x39416f),_0x48b05a?window['history'][_0x546d81(0x58a)]('','',_0x30c530[_0x546d81(0x1fb)]()):window[_0x546d81(0x275)][_0x546d81(0x3df)]('','',_0x30c530[_0x546d81(0x1fb)]());}[_0x18d6ba(0x495)](_0x20bc46,_0x52df33=!0x1){const _0xf9c516=_0x18d6ba,_0x32146a=new URL(window[_0xf9c516(0x54d)][_0xf9c516(0x53c)]);_0x32146a[_0xf9c516(0x455)][_0xf9c516(0x466)](_0x20bc46),_0x52df33?window['history'][_0xf9c516(0x58a)]('','',_0x32146a[_0xf9c516(0x1fb)]()):window[_0xf9c516(0x275)][_0xf9c516(0x3df)]('','',_0x32146a[_0xf9c516(0x1fb)]());}[_0x18d6ba(0x2f6)](_0x46895a){const _0x4bbcf8=_0x18d6ba;var _0x5c3322;return(_0x5c3322=new URL(window['location'][_0x4bbcf8(0x53c)])[_0x4bbcf8(0x455)][_0x4bbcf8(0x3e4)](_0x46895a))!=null?_0x5c3322:void 0x0;}}const _0xfed174=_0x18d6ba(0x307),_0x194794=_0x18d6ba(0x1c4),_0xa287d8=_0x18d6ba(0x289),_0x954839=0x6,_0x5e311c=1.5,_0x42d031=0x4,_0x444bb3=1.5,_0x1cee77=_0x18d6ba(0x3aa);class _0x2c09ce{constructor(_0x4001dd,_0x53aee9,_0x142d66,_0x143379){const _0x3bfda9=_0x18d6ba;_0x2c46b8(this,'_shapes',[]),_0x2c46b8(this,_0x3bfda9(0x23d),null),_0x2c46b8(this,_0x3bfda9(0x3ae),null),_0x2c46b8(this,_0x3bfda9(0x441),null),_0x2c46b8(this,'_hideTimer',null),_0x2c46b8(this,_0x3bfda9(0x347),null),(this[_0x3bfda9(0x2ed)]=_0x4001dd,this[_0x3bfda9(0x444)]=_0x53aee9,this[_0x3bfda9(0x29e)]=_0x142d66,this['_document']=_0x143379,this['_render']());}set[_0x18d6ba(0x224)](_0x2c3a95){const _0x1f4105=_0x18d6ba;_0x2c3a95?(this[_0x1f4105(0x441)]&&this[_0x1f4105(0x441)][_0x1f4105(0x55b)](),this[_0x1f4105(0x3ae)]&&this[_0x1f4105(0x3ae)][_0x1f4105(0x3f8)]()):(this[_0x1f4105(0x441)]&&this['_anchorDot'][_0x1f4105(0x3f8)](),this[_0x1f4105(0x3ae)]&&this[_0x1f4105(0x3ae)][_0x1f4105(0x55b)]());}[_0x18d6ba(0x338)](){const _0x5756fe=_0x18d6ba;for(const _0x1b496a of this[_0x5756fe(0x43f)])_0x1b496a[_0x5756fe(0x338)]();this[_0x5756fe(0x3ae)]&&this[_0x5756fe(0x3ae)][_0x5756fe(0x338)](),this[_0x5756fe(0x441)]&&this[_0x5756fe(0x441)][_0x5756fe(0x338)](),this[_0x5756fe(0x23d)]&&this[_0x5756fe(0x23d)][_0x5756fe(0x338)](),this[_0x5756fe(0x347)]&&this[_0x5756fe(0x347)]();}[_0x18d6ba(0x497)](){const _0x4b1d81=_0x18d6ba;var _0x31d866;const {_docSkeleton:_0x50bf42,_document:_0x38dc70}=this,{color:_0x160509,name:_0x14afd9,ranges:_0x43e737}=this['_cursor'],_0x4cead9=_0x38dc70['getOffsetConfig'](),{docsLeft:_0x267585,docsTop:_0x150114}=_0x4cead9,_0x583202=new _0x3b10b4[(_0x4b1d81(0x203))](_0x4cead9,_0x50bf42);for(const {startOffset:_0x5c7a63,endOffset:_0x425c5f,collapsed:_0x2b7737,isActive:_0x104b46}of _0x43e737){const _0x19c236=_0x50bf42[_0x4b1d81(0x1ff)](_0x5c7a63),_0x15af24=_0x50bf42[_0x4b1d81(0x1ff)](_0x425c5f);if(_0x104b46){const {contentBoxPointGroup:_0x2f7c7f}=_0x583202[_0x4b1d81(0x3a0)](_0x15af24,_0x15af24);if(_0x2f7c7f['length']===0x0)continue;this['_drawAnchor'](_0x160509,_0x2f7c7f,_0x267585,_0x150114,_0x14afd9),this['_eventUnsubscribe']=this[_0x4b1d81(0x3b0)]();}if(!_0x2b7737&&_0x19c236&&_0x15af24){if(_0x3b10b4[_0x4b1d81(0x50b)](_0x19c236,_0x15af24)){const _0x54d5f9=new _0x3b10b4[(_0x4b1d81(0x557))](_0x4cead9,_0x50bf42),{pointGroup:_0x5bed9e}=(_0x31d866=_0x54d5f9['getRangePointData'](_0x19c236,_0x15af24))!=null?_0x31d866:{};if(_0x5bed9e==null||_0x5bed9e[_0x4b1d81(0x574)]===0x0)continue;this[_0x4b1d81(0x23e)](_0x160509,_0x5bed9e,_0x267585,_0x150114);}else{const {contentBoxPointGroup:_0x3b6b96}=_0x583202[_0x4b1d81(0x3a0)](_0x19c236,_0x15af24);if(_0x3b6b96[_0x4b1d81(0x574)]===0x0)continue;this[_0x4b1d81(0x39e)](_0x160509,_0x3b6b96,_0x267585,_0x150114);}}}}[_0x18d6ba(0x39a)](_0x349404,_0x4d5c0f,_0x100fe7,_0x269e7b,_0x453b0f){const _0x105e71=_0x18d6ba,_0x11fbd5=this[_0x105e71(0x3eb)](_0x4d5c0f),{left:_0x206dd1,top:_0x1aae78,height:_0x1351bc}=_0x11fbd5,_0x2c71a5=this['_getScale'](),_0x5cf8aa=_0x444bb3/_0x2c71a5,_0xdf5868=new _0x3b10b4[(_0x105e71(0x3cd))](_0xfed174+_0x3aaa00[_0x105e71(0x2dd)][_0x105e71(0x55d)](_0x954839),{'left':_0x206dd1+_0x100fe7-_0x5cf8aa,'top':_0x1aae78+_0x269e7b,'height':_0x1351bc,'width':_0x5e311c,'fill':_0x349404||_0x3b10b4[_0x105e71(0x31f)](_0x3aaa00[_0x105e71(0x482)][_0x105e71(0x1af)],0x0),'strokeWidth':_0x5cf8aa,'stroke':_0x1cee77,'evented':!0x0});this[_0x105e71(0x23d)]=_0xdf5868,this[_0x105e71(0x444)][_0x105e71(0x22d)](_0xdf5868,_0x3b10b4[_0x105e71(0x1f3)]);const _0x421111=new _0x3b10b4[(_0x105e71(0x3cd))](_0xfed174+_0x3aaa00[_0x105e71(0x2dd)]['generateRandomId'](_0x954839),{'left':_0x206dd1+_0x100fe7-_0x5cf8aa,'top':_0x1aae78+_0x269e7b-_0x42d031/0x2,'height':_0x42d031,'width':_0x42d031,'fill':_0x349404||_0x3b10b4[_0x105e71(0x31f)](_0x3aaa00[_0x105e71(0x482)][_0x105e71(0x1af)],0x0),'strokeWidth':0x0,'stroke':_0x349404||_0x3b10b4['getColor'](_0x3aaa00[_0x105e71(0x482)][_0x105e71(0x1af)],0x0),'evented':!0x1});this[_0x105e71(0x441)]=_0x421111,this[_0x105e71(0x444)][_0x105e71(0x22d)](_0x421111,_0x3b10b4[_0x105e71(0x1f3)]);const _0x2c888f=new _0x609363(_0xfed174+_0x3aaa00[_0x105e71(0x2dd)][_0x105e71(0x55d)](_0x954839),{'left':_0x206dd1+_0x100fe7-_0x5cf8aa,'top':_0x1aae78+_0x269e7b-_0x3ba8ec,'text':_0x453b0f,'color':_0x349404});this[_0x105e71(0x3ae)]=_0x2c888f,this[_0x105e71(0x444)]['addObject'](_0x2c888f,_0x3b10b4[_0x105e71(0x1f3)]),this['_hover']=!0x1;}[_0x18d6ba(0x3b0)](){const _0x5d6f72=_0x18d6ba,_0x3cd816=this[_0x5d6f72(0x23d)][_0x5d6f72(0x19e)]['subscribeEvent'](()=>{const _0x3e18d0=_0x5d6f72;this[_0x3e18d0(0x224)]=!0x0;}),_0x542268=this[_0x5d6f72(0x23d)][_0x5d6f72(0x3d6)]['subscribeEvent'](()=>{const _0x5039de=_0x5d6f72;this['_hideTimer']&&clearTimeout(this[_0x5039de(0x426)]),this[_0x5039de(0x426)]=setTimeout(()=>{const _0x4dea95=_0x5039de;this[_0x4dea95(0x224)]=!0x1;},0x7d0);});return()=>{const _0x38ddfc=_0x5d6f72;_0x3cd816[_0x38ddfc(0x19c)](),_0x542268['unsubscribe']();};}['_drawTextRange'](_0x1860d1,_0x214c8a,_0x1b0eb1,_0x2751eb){const _0x30218c=_0x18d6ba,_0x3c4493=new _0x3aaa00[(_0x30218c(0x19b))](_0x1860d1)[_0x30218c(0x1f6)](0.2)[_0x30218c(0x33b)](),_0x5d6c38=new _0x3b10b4[(_0x30218c(0x4ec))](_0x194794+_0x3aaa00[_0x30218c(0x2dd)][_0x30218c(0x55d)](_0x954839),{'pointsGroup':_0x214c8a,'fill':_0x3c4493||_0x3b10b4[_0x30218c(0x31f)](_0x3aaa00[_0x30218c(0x482)][_0x30218c(0x1af)],0.2),'left':_0x1b0eb1,'top':_0x2751eb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30218c(0x43f)][_0x30218c(0x239)](_0x5d6c38),this['_scene'][_0x30218c(0x22d)](_0x5d6c38,_0x3b10b4[_0x30218c(0x1f3)]);}[_0x18d6ba(0x23e)](_0x5447a7,_0x26d1c0,_0x4737de,_0x27d876){const _0x2f2f0c=_0x18d6ba,_0x24aa73=new _0x3aaa00[(_0x2f2f0c(0x19b))](_0x5447a7)[_0x2f2f0c(0x1f6)](0.2)[_0x2f2f0c(0x33b)](),_0x53cc3b=new _0x3b10b4[(_0x2f2f0c(0x4ec))](_0xa287d8+_0x3aaa00[_0x2f2f0c(0x2dd)]['generateRandomId'](_0x954839),{'pointsGroup':_0x26d1c0,'fill':_0x24aa73||_0x3b10b4[_0x2f2f0c(0x31f)](_0x3aaa00['COLORS']['black'],0.2),'left':_0x4737de,'top':_0x27d876,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f2f0c(0x43f)][_0x2f2f0c(0x239)](_0x53cc3b),this[_0x2f2f0c(0x444)][_0x2f2f0c(0x22d)](_0x53cc3b,_0x3b10b4['TEXT_RANGE_LAYER_INDEX']);}[_0x18d6ba(0x3eb)](_0x35ea03){const _0x132864=_0x35ea03[0x0],_0x2ae635=_0x132864[0x0],_0x20c59e=_0x132864[0x2],{x:_0x1bb4ba,y:_0x327114}=_0x2ae635,{x:_0x5e6862,y:_0x542677}=_0x20c59e;return{'left':_0x1bb4ba,'top':_0x327114,'width':_0x5e6862-_0x1bb4ba,'height':_0x542677-_0x327114};}['_getScale'](){const _0x3a1f03=_0x18d6ba,{scaleX:_0xc5e6f4,scaleY:_0x57682a}=this['_scene'][_0x3a1f03(0x1c9)]();return Math[_0x3a1f03(0x285)](_0xc5e6f4,_0x57682a);}}var _0x2e2401=Object[_0x18d6ba(0x272)],_0x19ad78=Object[_0x18d6ba(0x3fd)],_0x2bf4cd=(_0x5e642e,_0x412a47,_0x237f74,_0x45389c)=>{const _0x29a9dd=_0x18d6ba;for(var _0x1f6e82=_0x45389c>0x1?void 0x0:_0x45389c?_0x19ad78(_0x412a47,_0x237f74):_0x412a47,_0x411a2d=_0x5e642e[_0x29a9dd(0x574)]-0x1,_0x46ed78;_0x411a2d>=0x0;_0x411a2d--)(_0x46ed78=_0x5e642e[_0x411a2d])&&(_0x1f6e82=(_0x45389c?_0x46ed78(_0x412a47,_0x237f74,_0x1f6e82):_0x46ed78(_0x1f6e82))||_0x1f6e82);return _0x45389c&&_0x1f6e82&&_0x2e2401(_0x412a47,_0x237f74,_0x1f6e82),_0x1f6e82;},_0x9184c2=(_0x1a5531,_0x44fb65)=>(_0x3a93c9,_0x3f6094)=>_0x44fb65(_0x3a93c9,_0x3f6094,_0x1a5531);let _0x34400b=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0xf2864a,_0x117f6e,_0x5a584c,_0x43db60,_0x166dfd){const _0x299289=_0x18d6ba;super(),_0x2c46b8(this,_0x299289(0x523),[]),_0x2c46b8(this,_0x299289(0x577),[]),(this[_0x299289(0x430)]=_0xf2864a,this[_0x299289(0x463)]=_0x117f6e,this[_0x299289(0x527)]=_0x5a584c,this[_0x299289(0x513)]=_0x43db60,this[_0x299289(0x313)]=_0x166dfd,this[_0x299289(0x286)]());}[_0x18d6ba(0x286)](){const _0x2ad06d=_0x18d6ba,_0x55f466=this[_0x2ad06d(0x430)][_0x2ad06d(0x189)],_0x40f655=this[_0x2ad06d(0x463)];this[_0x2ad06d(0x43a)](_0x5cbc6e[_0x2ad06d(0x193)]([this[_0x2ad06d(0x527)][_0x2ad06d(0x21e)](_0x55f466),this[_0x2ad06d(0x313)]['currentTheme$']])['pipe'](_0x267050[_0x2ad06d(0x343)](([_0x486c71,_0x694f16])=>({'skeleton':_0x40f655[_0x2ad06d(0x532)](),'cursors':[..._0x486c71[_0x2ad06d(0x2af)]()][_0x2ad06d(0x4a0)](_0x165167=>({..._0x165167,'color':_0x694f16[_0x165167[_0x2ad06d(0x3ee)]]}))})))[_0x2ad06d(0x559)](_0x1feb47=>{const _0x4dbe60=_0x2ad06d;if(this['_removeCollabCursors'](),_0x1feb47){const {skeleton:_0x3eb48c,cursors:_0x2bf012}=_0x1feb47;this[_0x4dbe60(0x1d6)](_0x3eb48c,_0x2bf012);}})),this[_0x2ad06d(0x415)](),this[_0x2ad06d(0x3ef)]();}[_0x18d6ba(0x1d6)](_0x133b48,_0x3cac7c){const _0x4080d3=_0x18d6ba,{scene:_0x108ffc,mainComponent:_0x4fc65f}=this[_0x4080d3(0x430)],_0x569a28=_0x3cac7c['map'](_0x495e6c=>new _0x2c09ce(_0x495e6c,_0x108ffc,_0x133b48,_0x4fc65f));this[_0x4080d3(0x523)]=_0x569a28,this[_0x4080d3(0x577)]=_0x3cac7c;}['_refreshCollabCursors'](){const _0x1b6cde=_0x18d6ba;this[_0x1b6cde(0x1d7)]();const {scene:_0x1c892e,mainComponent:_0x40ddb9}=this[_0x1b6cde(0x430)],_0x3085ba=this[_0x1b6cde(0x463)][_0x1b6cde(0x532)](),_0x53df44=this[_0x1b6cde(0x577)][_0x1b6cde(0x343)](_0x294a39=>new _0x2c09ce(_0x294a39,_0x1c892e,_0x3085ba,_0x40ddb9));this[_0x1b6cde(0x523)]=_0x53df44;}[_0x18d6ba(0x1d7)](){const _0x2299f4=_0x18d6ba;this[_0x2299f4(0x523)][_0x2299f4(0x387)](_0x40a3ab=>_0x40a3ab['dispose']()),this[_0x2299f4(0x523)]=[];}[_0x18d6ba(0x3ef)](){const _0x34add3=_0x18d6ba,_0x1c94c5=[_0x593e90[_0x34add3(0x29a)]['id']];this[_0x34add3(0x43a)](this['_commandService'][_0x34add3(0x1c1)](_0x48bc50=>{const _0x16c4e6=_0x34add3;_0x1c94c5[_0x16c4e6(0x300)](_0x48bc50['id'])&&_0x48bc50[_0x16c4e6(0x561)][_0x16c4e6(0x189)]===this[_0x16c4e6(0x430)][_0x16c4e6(0x189)]&&this[_0x16c4e6(0x379)]();}));}[_0x18d6ba(0x415)](){const _0x20f1c5=_0x18d6ba;this['disposeWithMe'](_0x3aaa00['fromEventSubject'](this[_0x20f1c5(0x430)][_0x20f1c5(0x370)][_0x20f1c5(0x446)])[_0x20f1c5(0x32f)](_0x267050['filter'](_0x22dbf2=>_0x22dbf2[_0x20f1c5(0x543)]===_0x3b10b4[_0x20f1c5(0x42e)][_0x20f1c5(0x1e2)]),_0x267050['throttleTime'](0x10))[_0x20f1c5(0x559)](()=>{const _0x189fcc=_0x20f1c5;this[_0x189fcc(0x379)]();}));}};_0x34400b=_0x2bf4cd([_0x3aaa00[_0x18d6ba(0x279)](_0x3aaa00[_0x18d6ba(0x4ff)]['Steady'],_0x34400b),_0x9184c2(0x1,_0x3aaa00['Inject'](_0x593e90[_0x18d6ba(0x391)])),_0x9184c2(0x2,_0x3aaa00['Inject'](_0x1fa692)),_0x9184c2(0x3,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x9184c2(0x4,_0x3aaa00['Inject'](_0x3aaa00['ThemeService']))],_0x34400b);var _0x1479ed=Object[_0x18d6ba(0x272)],_0x452e09=Object[_0x18d6ba(0x3fd)],_0x66ff29=(_0x3192c,_0x59d446,_0x59a805,_0x58807e)=>{for(var _0x439705=_0x58807e>0x1?void 0x0:_0x58807e?_0x452e09(_0x59d446,_0x59a805):_0x59d446,_0x1d4dbf=_0x3192c['length']-0x1,_0x18f612;_0x1d4dbf>=0x0;_0x1d4dbf--)(_0x18f612=_0x3192c[_0x1d4dbf])&&(_0x439705=(_0x58807e?_0x18f612(_0x59d446,_0x59a805,_0x439705):_0x18f612(_0x439705))||_0x439705);return _0x58807e&&_0x439705&&_0x1479ed(_0x59d446,_0x59a805,_0x439705),_0x439705;},_0x57dddb=(_0x5ad63f,_0x8fa869)=>(_0x23913e,_0x293847)=>_0x8fa869(_0x23913e,_0x293847,_0x5ad63f);let _0x1cd664=class{constructor(_0x31c016,_0xc99831,_0x4f5325){const _0x183797=_0x18d6ba;this[_0x183797(0x394)]=_0x31c016,this['_httpService']=_0xc99831,this[_0x183797(0x2a5)]=_0x4f5325,this[_0x183797(0x367)]();}[_0x18d6ba(0x367)](){const _0x15fdb4=_0x18d6ba;this[_0x15fdb4(0x479)][_0x15fdb4(0x3b4)]({'priority':0x1,'interceptor':(_0x3f1df3,_0x57bf38)=>_0x57bf38(_0x3f1df3)[_0x15fdb4(0x32f)](_0x5cbc6e[_0x15fdb4(0x3b1)](async _0x21f497=>{const _0x26204b=_0x15fdb4,_0x20278b=_0x21f497;if(_0x20278b[_0x26204b(0x322)]===0x191&&window[_0x26204b(0x4be)](this[_0x26204b(0x2a5)]['t'](_0x26204b(0x332)))){const _0x4e0b9b=window[_0x26204b(0x3af)](window['location'][_0x26204b(0x53c)]);window[_0x26204b(0x54d)][_0x26204b(0x53c)]=this[_0x26204b(0x55c)]()+_0x26204b(0x353)+_0x4e0b9b;}return _0x20278b;}))});}[_0x18d6ba(0x55c)](){const _0x4ad677=_0x18d6ba;var _0x339114;return(_0x339114=this[_0x4ad677(0x394)][_0x4ad677(0x499)](_0xbbcc2f))!=null?_0x339114:_0x3a7a02;}};_0x1cd664=_0x66ff29([_0x57dddb(0x0,_0x3aaa00[_0x18d6ba(0x195)]),_0x57dddb(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)])),_0x57dddb(0x2,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x591)]))],_0x1cd664);var _0x4cebdc=Object['defineProperty'],_0xe37809=Object[_0x18d6ba(0x3fd)],_0x554fde=(_0x41ab34,_0x3290d9,_0x416829,_0xa39d5e)=>{const _0x109f7e=_0x18d6ba;for(var _0x51c4e5=_0xa39d5e>0x1?void 0x0:_0xa39d5e?_0xe37809(_0x3290d9,_0x416829):_0x3290d9,_0x19a2e5=_0x41ab34[_0x109f7e(0x574)]-0x1,_0xae6303;_0x19a2e5>=0x0;_0x19a2e5--)(_0xae6303=_0x41ab34[_0x19a2e5])&&(_0x51c4e5=(_0xa39d5e?_0xae6303(_0x3290d9,_0x416829,_0x51c4e5):_0xae6303(_0x51c4e5))||_0x51c4e5);return _0xa39d5e&&_0x51c4e5&&_0x4cebdc(_0x3290d9,_0x416829,_0x51c4e5),_0x51c4e5;},_0x218b74=(_0x8daee8,_0x2ad432)=>(_0x380bb3,_0x475216)=>_0x2ad432(_0x380bb3,_0x475216,_0x8daee8);const _0x5d6e8c='AUTHZ_URL_KEY',_0x117508='/universer-api/authz';_0x4c54a0[_0x18d6ba(0x3cb)]=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x3cd2de,_0x62bac5){const _0x1b9356=_0x18d6ba;super(),this[_0x1b9356(0x32b)]=_0x3cd2de,this[_0x1b9356(0x394)]=_0x62bac5,this[_0x1b9356(0x1e8)]();}[_0x18d6ba(0x1e8)](){const _0x43ea9f=_0x18d6ba,_0x43943b=this;this[_0x43ea9f(0x43a)](this[_0x43ea9f(0x32b)][_0x43ea9f(0x3b4)]({'priority':0x3e7,'interceptor':_0x3e5de5[_0x43ea9f(0x320)]({'isMatch'(_0x5c73fc){const _0x81da58=_0x43ea9f;var _0x4cfcc8;if(_0x5c73fc[_0x81da58(0x33a)]===_0x81da58(0x1dc)&&((_0x4cfcc8=_0x5c73fc[_0x81da58(0x25e)])!=null&&_0x4cfcc8[_0x81da58(0x411)])){const {objectID:_0x564f98,objectType:_0x18df21}=_0x5c73fc[_0x81da58(0x25e)][_0x81da58(0x411)]||{};if(!_0x564f98||_0x18df21===void 0x0)return!0x1;const _0xadb7d1=_0x43943b[_0x81da58(0x4f8)]()+'/'+_0x18df21+_0x81da58(0x351)+_0x564f98+'/allowed';if(_0x5c73fc[_0x81da58(0x3cc)]===_0xadb7d1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x245a9a){const _0x3718e2=_0x43ea9f;var _0x29e7b0;return(_0x29e7b0=_0x245a9a[_0x3718e2(0x25e)])==null?void 0x0:_0x29e7b0['body'];},'mergeParamsToRequest'(_0x15a458,_0x56b2ff){const _0x229efd=_0x43ea9f,_0x333ee1=_0x43943b[_0x229efd(0x4f8)]()+_0x229efd(0x3ff),_0x587e8f=_0x15a458[_0x229efd(0x58d)]((_0x17cafe,_0x2609f5)=>{const {unitID:_0x22555b,objectID:_0x3b9984,objectType:_0x259fe8,actions:_0x19edbd}=_0x2609f5;return _0x17cafe[_0x22555b]||(_0x17cafe[_0x22555b]={}),_0x17cafe[_0x22555b][_0x3b9984]||(_0x17cafe[_0x22555b][_0x3b9984]={'objectID':_0x3b9984,'objectType':_0x259fe8,'actions':[]}),_0x17cafe[_0x22555b][_0x3b9984]['actions']['push'](..._0x19edbd),_0x17cafe;},{}),_0x2e2fb2=[];for(const _0x86402b in _0x587e8f)for(const _0x30a018 in _0x587e8f[_0x86402b]){const {actions:_0x47199f,objectType:_0x3aa897}=_0x587e8f[_0x86402b][_0x30a018],_0x4d8c03=[...new Set(_0x47199f)];_0x2e2fb2[_0x229efd(0x239)]({'unitID':_0x86402b,'objectID':_0x30a018,'objectType':_0x3aa897,'actions':_0x4d8c03});}return new _0x3e5de5[(_0x229efd(0x26f))]('POST',_0x333ee1,{'headers':_0x56b2ff['headers'],'withCredentials':_0x56b2ff['withCredentials'],'responseType':_0x56b2ff['responseType'],'body':{'requests':_0x2e2fb2}});}},{'distributeResult'(_0x2eee21,_0x44087f){const _0x41dcb4=_0x43ea9f,{objectActions:_0x20171e}=_0x2eee21;return _0x44087f[_0x41dcb4(0x343)](_0x5b954c=>{const _0x332e93=_0x41dcb4,{unitID:_0x13b95b,objectID:_0x1acec9,actions:_0x5a89a2}=_0x5b954c,_0x227f9a=_0x20171e[_0x332e93(0x568)](_0x4234e6=>_0x4234e6[_0x332e93(0x4bb)]===_0x13b95b&&_0x4234e6['objectID']===_0x1acec9),_0x46d650=_0x5a89a2[_0x332e93(0x343)](_0x214e91=>_0x227f9a==null?void 0x0:_0x227f9a['actions'][_0x332e93(0x568)](_0xbc425a=>_0xbc425a[_0x332e93(0x4df)]===_0x214e91))[_0x332e93(0x46d)](_0x4ba4fd=>!!_0x4ba4fd);return{'config':_0x5b954c,'result':{'actions':_0x46d650,'error':_0x2eee21['error']}};});}})}));}[_0x18d6ba(0x4f8)](){const _0x29903e=_0x18d6ba;var _0x2051a0;return(_0x2051a0=this[_0x29903e(0x394)]['getConfig'](_0x5d6e8c))!=null?_0x2051a0:_0x117508;}async[_0x18d6ba(0x4c5)](_0x3afa55){const _0x3df545=_0x18d6ba,_0x2968a5=this[_0x3df545(0x4f8)]()+'/'+_0x3afa55['objectType']+'/object';return(await this[_0x3df545(0x32b)][_0x3df545(0x25c)](_0x2968a5,{'body':_0x3afa55}))['body'][_0x3df545(0x25f)]||'';}async[_0x18d6ba(0x50d)](_0x2454f5){const _0x311192=_0x18d6ba,_0xac9a70=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x311192(0x32b)][_0x311192(0x25c)](_0xac9a70,{'body':_0x2454f5}))[_0x311192(0x411)]['objects'];}async[_0x18d6ba(0x20d)](_0x10af13){const _0x2a0ee2=_0x18d6ba,_0x388aa5=this[_0x2a0ee2(0x4f8)]()+'/'+_0x10af13[_0x2a0ee2(0x2c6)]+_0x2a0ee2(0x351)+_0x10af13[_0x2a0ee2(0x25f)];await this[_0x2a0ee2(0x32b)][_0x2a0ee2(0x2de)](_0x388aa5,{'body':_0x10af13});}async[_0x18d6ba(0x2c5)](_0x85e56a){const _0x16d5a2=_0x18d6ba,_0x5b9d95=this[_0x16d5a2(0x4f8)]()+'/'+_0x85e56a[_0x16d5a2(0x2c6)]+_0x16d5a2(0x351)+_0x85e56a[_0x16d5a2(0x25f)]+_0x16d5a2(0x199);return(await this[_0x16d5a2(0x32b)][_0x16d5a2(0x25c)](_0x5b9d95,{'body':_0x85e56a}))['body'][_0x16d5a2(0x51f)];}async[_0x18d6ba(0x190)](_0x3447bd){const _0x36b962=_0x18d6ba,_0x125b09=this[_0x36b962(0x4f8)]()+_0x36b962(0x3ff);return(await this[_0x36b962(0x32b)]['post'](_0x125b09,{'body':{'requests':_0x3447bd}}))['body'][_0x36b962(0x4d8)];}async['listRoles'](_0xcb6bea){const _0x4fdad1=_0x18d6ba,_0x36e3e2=this['_getAPIPrefixPath']()+'/'+_0xcb6bea['objectType']+'/role',_0x5b57b0=await this[_0x4fdad1(0x32b)][_0x4fdad1(0x25c)](_0x36e3e2,{'body':_0xcb6bea});return{'roles':_0x5b57b0[_0x4fdad1(0x411)][_0x4fdad1(0x3d8)],'actions':_0x5b57b0[_0x4fdad1(0x411)][_0x4fdad1(0x51f)]};}async[_0x18d6ba(0x3d4)](_0x2dc659){const _0x926ab5=_0x18d6ba,_0x55dbd0=this[_0x926ab5(0x4f8)]()+_0x926ab5(0x2a4);await this[_0x926ab5(0x32b)][_0x926ab5(0x466)](_0x55dbd0,{'params':{'collaboratorID':_0x2dc659[_0x926ab5(0x3d5)],'objectID':_0x2dc659['objectID'],'unitID':_0x2dc659[_0x926ab5(0x4bb)]}});}async[_0x18d6ba(0x403)](_0x42fb6e){const _0x53d929=_0x18d6ba,_0x5a2ea3=this[_0x53d929(0x4f8)]()+_0x53d929(0x2a4);await this['_HTTPService'][_0x53d929(0x3e1)](_0x5a2ea3,{'body':_0x42fb6e});}async['createCollaborator'](_0x2ec6ca){const _0x512566=_0x18d6ba,_0x26045e=this[_0x512566(0x4f8)]()+_0x512566(0x2a4);await this[_0x512566(0x32b)][_0x512566(0x25c)](_0x26045e,{'body':_0x2ec6ca});}async[_0x18d6ba(0x565)](_0x4a574a){const _0x11f3e6=_0x18d6ba,_0x20c054=this[_0x11f3e6(0x4f8)]()+_0x11f3e6(0x2a4);return(await this['_HTTPService'][_0x11f3e6(0x3e4)](_0x20c054,{'params':{'objectID':_0x4a574a[_0x11f3e6(0x25f)],'unitID':_0x4a574a['unitID']}}))['body'][_0x11f3e6(0x51e)];}async[_0x18d6ba(0x385)](_0x33a9b4){const _0x5f2f63=_0x18d6ba,_0x22148e=this[_0x5f2f63(0x4f8)]()+_0x5f2f63(0x2a4);await this[_0x5f2f63(0x32b)]['put'](_0x22148e,{'body':_0x33a9b4});}},_0x4c54a0[_0x18d6ba(0x3cb)]=_0x554fde([_0x218b74(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)])),_0x218b74(0x1,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x195)]))],_0x4c54a0[_0x18d6ba(0x3cb)]);var _0x4e6c84=Object[_0x18d6ba(0x272)],_0x10c43c=Object[_0x18d6ba(0x3fd)],_0x52e8d3=(_0x56a921,_0x250d72,_0x44ca6a,_0x53023c)=>{const _0x3d625d=_0x18d6ba;for(var _0x4aeb34=_0x53023c>0x1?void 0x0:_0x53023c?_0x10c43c(_0x250d72,_0x44ca6a):_0x250d72,_0x3056a1=_0x56a921[_0x3d625d(0x574)]-0x1,_0x10fc3a;_0x3056a1>=0x0;_0x3056a1--)(_0x10fc3a=_0x56a921[_0x3056a1])&&(_0x4aeb34=(_0x53023c?_0x10fc3a(_0x250d72,_0x44ca6a,_0x4aeb34):_0x10fc3a(_0x4aeb34))||_0x4aeb34);return _0x53023c&&_0x4aeb34&&_0x4e6c84(_0x250d72,_0x44ca6a,_0x4aeb34),_0x4aeb34;},_0x27ef06=(_0x3ee263,_0x546c82)=>(_0x399ff7,_0x1c145c)=>_0x546c82(_0x399ff7,_0x1c145c,_0x3ee263);const _0x397723=[_0x18d6ba(0x3b3),_0x18d6ba(0x534),_0x18d6ba(0x422),'image/gif',_0x18d6ba(0x4d6)],_0x21aeb5=0x5*0x400*0x400,_0x54d4ef=_0x18d6ba(0x405),_0x29b238=_0x18d6ba(0x20e),_0x46599a=_0x18d6ba(0x301),_0x18ec03=_0x18d6ba(0x535);_0x4c54a0['ImageIoService']=class{constructor(_0x508570,_0x4d9fc5,_0x2d94fa){const _0xf164e8=_0x18d6ba;_0x2c46b8(this,_0xf164e8(0x384),0x0),_0x2c46b8(this,_0xf164e8(0x3e0),new _0x5cbc6e['Subject']()),_0x2c46b8(this,_0xf164e8(0x297),this[_0xf164e8(0x3e0)]),_0x2c46b8(this,_0xf164e8(0x49b),new Map()),(this[_0xf164e8(0x479)]=_0x508570,this[_0xf164e8(0x394)]=_0x4d9fc5,this['_univerInstanceService']=_0x2d94fa);}[_0x18d6ba(0x3e3)](_0x526429){const _0x1c3b8d=_0x18d6ba;this[_0x1c3b8d(0x384)]=_0x526429,this[_0x1c3b8d(0x3e0)][_0x1c3b8d(0x1c5)](_0x526429);}[_0x18d6ba(0x4aa)](_0x202d16,_0x4fd752){const _0x1b6e2b=_0x18d6ba;if(_0x4fd752===_0x297e96[_0x1b6e2b(0x2b8)][_0x1b6e2b(0x4d1)]){const _0x5664de=new Image();return _0x5664de['src']=_0x202d16,_0x5664de;}return this[_0x1b6e2b(0x49b)][_0x1b6e2b(0x3e4)](_0x202d16);}[_0x18d6ba(0x504)](_0x91e2b8,_0x462946,_0x4e1240){const _0x181eb8=_0x18d6ba;_0x462946===_0x297e96['ImageSourceType'][_0x181eb8(0x4d1)]||_0x4e1240==null||this[_0x181eb8(0x49b)][_0x181eb8(0x2a6)](_0x91e2b8,_0x4e1240);}async[_0x18d6ba(0x4dd)](_0x55d21f){const _0x3a98b5=_0x18d6ba;try{const _0x4b5164=this[_0x3a98b5(0x27a)](this[_0x3a98b5(0x583)](),''+_0x55d21f),_0x4b04cc=(await this[_0x3a98b5(0x479)][_0x3a98b5(0x3e4)](_0x4b5164))[_0x3a98b5(0x411)];return _0x4b04cc['error']&&_0x4b04cc[_0x3a98b5(0x4ae)][_0x3a98b5(0x406)]===_0x5c79e0['OK']?Promise['resolve'](_0x4b04cc[_0x3a98b5(0x3cc)]):Promise[_0x3a98b5(0x1d3)](_0x4b04cc[_0x3a98b5(0x4ae)]);}catch(_0x4855cf){return Promise[_0x3a98b5(0x1d3)](_0x4855cf);}}async[_0x18d6ba(0x34b)](_0xc36e8e){const _0x51a315=_0x18d6ba;let _0x5df095='';if(!_0x397723[_0x51a315(0x300)](_0xc36e8e['type']))return this[_0x51a315(0x432)](),Promise[_0x51a315(0x1d3)](new Error(_0x297e96[_0x51a315(0x3fe)]['ERROR_IMAGE_TYPE']));if(_0xc36e8e[_0x51a315(0x378)]>_0x21aeb5)return this[_0x51a315(0x432)](),Promise[_0x51a315(0x1d3)](new Error(_0x297e96[_0x51a315(0x3fe)][_0x51a315(0x53e)]));try{const _0x4269a9=new FormData();_0x4269a9[_0x51a315(0x317)](_0x51a315(0x1a9),_0xc36e8e);const _0x3a578b=this[_0x51a315(0x318)]['getFocusedUnit'](),_0x5d40cc=_0x3a578b==null?void 0x0:_0x3a578b[_0x51a315(0x4b6)]();if(!_0x5d40cc)throw new Error('unitId\x20is\x20not\x20found');const _0x1de5de=this[_0x51a315(0x4ac)]()+'?size='+_0xc36e8e['size'][_0x51a315(0x1fb)]()+_0x51a315(0x1ea)+_0x306c39['UnitEmbedded']+_0x51a315(0x213)+encodeURIComponent(_0x5d40cc),_0x58cb87=await(await fetch(_0x1de5de,{'method':_0x51a315(0x1dc),'body':_0x4269a9}))[_0x51a315(0x575)]();if(typeof _0x58cb87[_0x51a315(0x51b)]!=_0x51a315(0x1be))return this[_0x51a315(0x432)](),Promise[_0x51a315(0x1d3)](new Error(_0x297e96[_0x51a315(0x3fe)]['ERROR_IMAGE']));_0x5df095=_0x58cb87[_0x51a315(0x51b)];}catch{return this[_0x51a315(0x432)](),Promise['reject'](new Error(_0x297e96[_0x51a315(0x3fe)][_0x51a315(0x4cb)]));}return new Promise((_0xfe4f1b,_0x4f6abb)=>{const _0x380f5c=_0x51a315,_0xacf7a6=new FileReader();_0xacf7a6[_0x380f5c(0x1ae)](_0xc36e8e),_0xacf7a6[_0x380f5c(0x399)]=_0x2c4a8d=>{const _0x5cfc35=_0x380f5c;var _0x24b275;const _0x18eb49=(_0x24b275=_0x2c4a8d[_0x5cfc35(0x255)])==null?void 0x0:_0x24b275[_0x5cfc35(0x442)];if(_0x18eb49==null){this[_0x5cfc35(0x432)](),_0x4f6abb(new Error(_0x297e96['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0xefb0fc=_0x3aaa00[_0x5cfc35(0x2dd)]['generateRandomId'](0x6);_0xfe4f1b({'imageId':_0xefb0fc,'imageSourceType':_0x297e96[_0x5cfc35(0x2b8)]['UUID'],'source':_0x5df095,'base64Cache':_0x18eb49,'status':_0x297e96['ImageUploadStatusType'][_0x5cfc35(0x254)]}),this[_0x5cfc35(0x432)]();};});}[_0x18d6ba(0x4ac)](){const _0x143a9f=_0x18d6ba;var _0x5478b3;return(_0x5478b3=this['_configService'][_0x143a9f(0x499)](_0x54d4ef))!=null?_0x5478b3:_0x29b238;}[_0x18d6ba(0x583)](){const _0x3ad233=_0x18d6ba;var _0x183488;return(_0x183488=this['_configService'][_0x3ad233(0x499)](_0x46599a))!=null?_0x183488:_0x18ec03;}[_0x18d6ba(0x27a)](_0x2f1313,_0x81b97b){const _0x324233=_0x18d6ba;return _0x2f1313[_0x324233(0x44b)](_0x324233(0x1bd),_0x81b97b);}[_0x18d6ba(0x432)](){const _0x55aba0=_0x18d6ba;this[_0x55aba0(0x384)]-=0x1,this[_0x55aba0(0x3e0)][_0x55aba0(0x1c5)](this[_0x55aba0(0x384)]);}},_0x4c54a0[_0x18d6ba(0x2bf)]=_0x52e8d3([_0x27ef06(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)])),_0x27ef06(0x1,_0x3aaa00[_0x18d6ba(0x195)]),_0x27ef06(0x2,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x2d5)]))],_0x4c54a0['ImageIoService']);var _0x9d25da=Object[_0x18d6ba(0x272)],_0x203beb=Object['getOwnPropertyDescriptor'],_0x2db9ec=(_0x4475a1,_0x3c37c4,_0x2e22b6,_0x485b0c)=>{for(var _0x243713=_0x485b0c>0x1?void 0x0:_0x485b0c?_0x203beb(_0x3c37c4,_0x2e22b6):_0x3c37c4,_0x2ffd2c=_0x4475a1['length']-0x1,_0x411b48;_0x2ffd2c>=0x0;_0x2ffd2c--)(_0x411b48=_0x4475a1[_0x2ffd2c])&&(_0x243713=(_0x485b0c?_0x411b48(_0x3c37c4,_0x2e22b6,_0x243713):_0x411b48(_0x243713))||_0x243713);return _0x485b0c&&_0x243713&&_0x9d25da(_0x3c37c4,_0x2e22b6,_0x243713),_0x243713;},_0x23da4f=(_0x5e17b4,_0x122117)=>(_0x3c4a33,_0x2bbfc8)=>_0x122117(_0x3c4a33,_0x2bbfc8,_0x5e17b4);let _0x362d92=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x34fd75,_0x19ea6b,_0x258e23,_0x47c1d8,_0x418d38){const _0x1637ed=_0x18d6ba;super(),this[_0x1637ed(0x42c)]=_0x34fd75,this[_0x1637ed(0x318)]=_0x19ea6b,this[_0x1637ed(0x55a)]=_0x258e23,this[_0x1637ed(0x18d)]=_0x47c1d8,this['_localeService']=_0x418d38,this[_0x1637ed(0x298)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x29b35b=_0x18d6ba,_0x49b8d1=async _0x10908a=>{const _0x2b31ca=_0x3d0e;(await this[_0x2b31ca(0x18d)][_0x2b31ca(0x3a3)](_0x10908a))[_0x2b31ca(0x2f0)]['pipe'](_0x267050[_0x2b31ca(0x46d)](_0x24146b=>_0x24146b['eventID']===_0x4d4d9d['CollaborationEvent'][_0x2b31ca(0x2d7)]),_0x267050['takeUntil'](this['dispose$']))['subscribe'](_0x3bdd65=>{const _0xa732b6=_0x2b31ca,_0x3df945=_0x3bdd65,{reason:_0xe92286}=_0x3df945['data'];this['_injector']['get'](_0x2b4c8d[_0xa732b6(0x57b)])['show']({'type':_0x564857['MessageType']['Error'],'content':this[_0xa732b6(0x43e)]['t']('collaboration.closeRoom')+'('+_0xe92286+')'}),this[_0xa732b6(0x55a)][_0xa732b6(0x198)](new _0x459c9c['WorkbookEditablePermission'](_0x10908a)['id'],!0x1),this[_0xa732b6(0x18d)][_0xa732b6(0x592)](_0x10908a);});};_0x5cbc6e['merge'](this[_0x29b35b(0x318)]['getTypeOfUnitAdded$'](_0x3aaa00['UniverInstanceType'][_0x29b35b(0x18a)]),this['_univerInstanceService'][_0x29b35b(0x2e8)](_0x3aaa00[_0x29b35b(0x434)]['UNIVER_DOC']))[_0x29b35b(0x32f)](_0x267050[_0x29b35b(0x343)](_0x26cf4b=>_0x26cf4b[_0x29b35b(0x4b6)]()),_0x267050[_0x29b35b(0x46d)](_0x1bfe5d=>!_0x3aaa00[_0x29b35b(0x324)](_0x1bfe5d)),_0x267050['takeUntil'](this[_0x29b35b(0x505)]))[_0x29b35b(0x559)](_0x35c48b=>{_0x49b8d1(_0x35c48b);});}[_0x18d6ba(0x298)](){const _0x5a6692=_0x18d6ba,_0x6e58ba=async _0x59b056=>{const _0x5d4470=_0x3d0e;(await this[_0x5d4470(0x18d)][_0x5d4470(0x3a3)](_0x59b056))[_0x5d4470(0x2f0)]['pipe'](_0x267050['filter'](_0x351da5=>_0x351da5[_0x5d4470(0x539)]===_0x4d4d9d[_0x5d4470(0x2ae)]['UPDATE_PERMISSION_OBJ']),_0x267050[_0x5d4470(0x40b)](this[_0x5d4470(0x505)]))['subscribe'](_0x19b204=>{const _0x4e55c0=_0x5d4470,_0x47899e=_0x19b204,{objectId:_0x31e471}=_0x47899e[_0x4e55c0(0x44f)],_0x571b00=this[_0x4e55c0(0x42c)][_0x4e55c0(0x3e4)](_0xf60f4c[_0x4e55c0(0x464)]);_0x31e471===_0x59b056?_0x571b00[_0x4e55c0(0x397)](_0x59b056):_0x571b00[_0x4e55c0(0x3cf)](_0x59b056,_0x31e471);});};_0x5cbc6e[_0x5a6692(0x424)](this[_0x5a6692(0x318)]['getTypeOfUnitAdded$'](_0x3aaa00['UniverInstanceType'][_0x5a6692(0x18a)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3aaa00[_0x5a6692(0x434)][_0x5a6692(0x4c1)]))[_0x5a6692(0x32f)](_0x267050[_0x5a6692(0x343)](_0x78acb=>_0x78acb[_0x5a6692(0x4b6)]()),_0x267050['filter'](_0x19454e=>!_0x3aaa00[_0x5a6692(0x324)](_0x19454e)),_0x267050['takeUntil'](this[_0x5a6692(0x505)]))['subscribe'](_0x4ac1e9=>{_0x6e58ba(_0x4ac1e9);});}};_0x362d92=_0x2db9ec([_0x3aaa00['OnLifecycle'](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x1d5)],_0x362d92),_0x23da4f(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x23da4f(0x1,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x23da4f(0x2,_0x3aaa00[_0x18d6ba(0x23f)]),_0x23da4f(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['CollaborationSessionService'])),_0x23da4f(0x4,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x591)]))],_0x362d92);var _0xfbe36a=Object[_0x18d6ba(0x272)],_0xe2b2fe=Object[_0x18d6ba(0x3fd)],_0x598f30=(_0x22091a,_0x60309d,_0x4d4a6f)=>_0x60309d in _0x22091a?_0xfbe36a(_0x22091a,_0x60309d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d4a6f}):_0x22091a[_0x60309d]=_0x4d4a6f,_0x5bf1ec=(_0x22066c,_0x43d9ef,_0x561bd3,_0x5be4e9)=>{const _0x3ac404=_0x18d6ba;for(var _0x5e2935=_0x5be4e9>0x1?void 0x0:_0x5be4e9?_0xe2b2fe(_0x43d9ef,_0x561bd3):_0x43d9ef,_0x289818=_0x22066c[_0x3ac404(0x574)]-0x1,_0x5b6cdd;_0x289818>=0x0;_0x289818--)(_0x5b6cdd=_0x22066c[_0x289818])&&(_0x5e2935=(_0x5be4e9?_0x5b6cdd(_0x43d9ef,_0x561bd3,_0x5e2935):_0x5b6cdd(_0x5e2935))||_0x5e2935);return _0x5be4e9&&_0x5e2935&&_0xfbe36a(_0x43d9ef,_0x561bd3,_0x5e2935),_0x5e2935;},_0x2d7c2c=(_0x2f01a7,_0xc4a389)=>(_0x2bf76d,_0x253a50)=>_0xc4a389(_0x2bf76d,_0x253a50,_0x2f01a7),_0x33f7b3=(_0x12c913,_0x23f620,_0x47c378)=>_0x598f30(_0x12c913,_0x23f620+'',_0x47c378);const _0x1d44a6='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4c54a0[_0x18d6ba(0x36f)]=class extends _0x3aaa00[_0x18d6ba(0x36a)]{constructor(_0x484edc,_0x479696,_0x36e6cb,_0x36f6e1){const _0x3f763d=_0x18d6ba;super(),this['_config']=_0x484edc,this[_0x3f763d(0x36e)]=_0x479696,this['_renderManagerService']=_0x36e6cb,this['_injector']=_0x36f6e1;}[_0x18d6ba(0x41e)](){const _0xb3b283=_0x18d6ba;this[_0xb3b283(0x290)]();}[_0x18d6ba(0x4ea)](){const _0x43c5f7=_0x18d6ba;this[_0x43c5f7(0x4fc)]();}[_0x18d6ba(0x290)](){const _0x1760f3=_0x18d6ba;var _0x3b58d7,_0x5da961,_0xb9a045,_0x2dcabe;this[_0x1760f3(0x42c)]['has'](_0x3aaa00[_0x1760f3(0x256)])&&this[_0x1760f3(0x36e)]['error'](_0x1760f3(0x484),_0x1760f3(0x3ca));let _0x395e47=[[_0x3aaa00[_0x1760f3(0x256)],{'useClass':_0x3ff707}],[_0x4c54a0[_0x1760f3(0x22b)]],[_0x195451],[_0x3e5de5[_0x1760f3(0x3c9)]],[_0x44b27e,{'useClass':_0x39bc2e}],[_0x107a5c],[_0x4c54a0[_0x1760f3(0x362)]],[_0x3e5de5[_0x1760f3(0x400)]],[_0x13a645],[_0x49b741],[_0x5f1add],[_0x301e57],[_0x1cd664],[_0x285dfb],[_0x362d92],[_0x41bd32,{'useClass':(_0x5da961=(_0x3b58d7=this[_0x1760f3(0x1b7)])==null?void 0x0:_0x3b58d7[_0x1760f3(0x45c)])!=null?_0x5da961:_0x4c54a0[_0x1760f3(0x438)]}],[_0x3e5de5[_0x1760f3(0x295)],{'useClass':_0x3e5de5['XHRHTTPImplementation']}],[_0x3aaa00['ISnapshotServerService'],{'useClass':_0x4c54a0[_0x1760f3(0x214)]}],[_0x3aaa00[_0x1760f3(0x18e)],{'useClass':_0x4c54a0[_0x1760f3(0x3cb)]}],[_0x297e96['IImageIoService'],{'useClass':_0x4c54a0['ImageIoService']}],[_0x4c54a0[_0x1760f3(0x2c0)]],[_0x4c54a0[_0x1760f3(0x24d)]],[_0x4c54a0[_0x1760f3(0x235)]],[_0x22268e],[_0x1fa692]];(_0xb9a045=this[_0x1760f3(0x1b7)])!=null&&_0xb9a045[_0x1760f3(0x1a7)]&&_0x395e47['push']([_0x3a8c8d,{'useClass':_0x12cc97}]),_0x395e47=_0x3aaa00[_0x1760f3(0x35c)](_0x395e47,(_0x2dcabe=this[_0x1760f3(0x1b7)])==null?void 0x0:_0x2dcabe[_0x1760f3(0x507)]),_0x395e47[_0x1760f3(0x387)](_0x5687bc=>this['_injector']['add'](_0x5687bc)),this['_initModules']();}[_0x18d6ba(0x4fc)](){const _0x42e31b=_0x18d6ba;this[_0x42e31b(0x43a)](this['_renderManagerService']['registerRenderModule'](_0x3aaa00['UniverInstanceType'][_0x42e31b(0x4c1)],[_0x34400b])),this[_0x42e31b(0x43a)](this[_0x42e31b(0x299)][_0x42e31b(0x54f)](_0x3aaa00[_0x42e31b(0x434)]['UNIVER_SHEET'],[_0x20a294]));}['_initModules'](){const _0x33ae52=_0x18d6ba;var _0x13017d,_0x2e8f36;this[_0x33ae52(0x42c)]['get'](_0x3e5de5[_0x33ae52(0x3c9)])[_0x33ae52(0x3b4)]({'priority':0x14,'interceptor':_0x3e5de5[_0x33ae52(0x56d)]({'maxParallel':0x6})}),(_0x13017d=this[_0x33ae52(0x1b7)])!=null&&_0x13017d[_0x33ae52(0x1cc)]||this['_injector'][_0x33ae52(0x3e4)](_0x4c54a0['LocalCacheService'])[_0x33ae52(0x330)](),(_0x2e8f36=this['_config'])!=null&&_0x2e8f36['enableAuthServer']&&this[_0x33ae52(0x42c)][_0x33ae52(0x3e4)](_0x1cd664);}},_0x33f7b3(_0x4c54a0[_0x18d6ba(0x36f)],'pluginName',_0x1d44a6),_0x4c54a0['UniverCollaborationClientPlugin']=_0x5bf1ec([_0x3aaa00[_0x18d6ba(0x220)](_0x4d4d9d[_0x18d6ba(0x398)]),_0x2d7c2c(0x1,_0x3aaa00[_0x18d6ba(0x42a)]),_0x2d7c2c(0x2,_0x3b10b4['IRenderManagerService']),_0x2d7c2c(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector']))],_0x4c54a0['UniverCollaborationClientPlugin']),_0x4c54a0[_0x18d6ba(0x38a)]=_0x5d6e8c,_0x4c54a0[_0x18d6ba(0x333)]=_0x9f6d65,_0x4c54a0['COLLAB_WEB_SOCKET_URL_KEY']=_0xdc44de,_0x4c54a0[_0x18d6ba(0x191)]=_0x2232ef,_0x4c54a0['CollaborationStatusDisplay']=_0x89a6f8,_0x4c54a0[_0x18d6ba(0x4d2)]=_0x285dfb,_0x4c54a0[_0x18d6ba(0x20c)]=_0x1d14f0,_0x4c54a0[_0x18d6ba(0x4d4)]=_0x2689b9,_0x4c54a0[_0x18d6ba(0x42d)]=_0x41bd32,_0x4c54a0['IURLService']=_0x44b27e,_0x4c54a0[_0x18d6ba(0x18b)]=_0x6e910a,_0x4c54a0[_0x18d6ba(0x46e)]=_0xbbcc2f,_0x4c54a0[_0x18d6ba(0x34d)]=_0x3867e3,_0x4c54a0[_0x18d6ba(0x306)]=_0x4bec73,_0x4c54a0['SNAPSHOT_URL_KEY']=_0x37c740,_0x4c54a0[_0x18d6ba(0x50a)]=_0x2cd85f,_0x4c54a0[_0x18d6ba(0x4c0)]=_0xa0f57e,_0x4c54a0[_0x18d6ba(0x3ed)]=_0x39bc2e,_0x4c54a0[_0x18d6ba(0x562)]=_0x28e9a6,_0x4c54a0[_0x18d6ba(0x392)]=_0x488e2c,Object[_0x18d6ba(0x272)](_0x4c54a0,Symbol['toStringTag'],{'value':_0x18d6ba(0x358)});}));function _0x3d0e(_0x2ea574,_0x1b4889){const _0x74610d=_0x7461();return _0x3d0e=function(_0x3d0e42,_0x4b45c4){_0x3d0e42=_0x3d0e42-0x189;let _0x68da8b=_0x74610d[_0x3d0e42];return _0x68da8b;},_0x3d0e(_0x2ea574,_0x1b4889);}function _0x7461(){const _0x56da25=['status$','addImageSourceCache','dispose$','IMEInputManagerService','override','_collaborationTimeoutTimer','_state','SessionStatus','isValidRectRange','object','list','getVpScrollXYInfoByPosToVp','MSG_FOR_ERROR','MUTATION','M0\x200H16V16H0z','LIVESHARE_TERMINATE','_commandService','LICENSE_DISTRO_REJECTED','concat','_createInitialState','@univerjs/engine-render','SetWorksheetActivateCommand','bottom','_snapshotService','FileId','InsertSheetMutation','min','collaborators','actions','_docTransformIMECacheService','_onCursorDelete','isTransformMutationFailure','_cursorShapes','_collaborationController','_transformIMECache','loadDoc','_collabCursorController','_onConnectionFailed','newCsEvent','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','lodash/debounce','PSEUDO_FETCH_MISSING_RESULT','sheetID','@univerjs/network','failed\x20to\x20apply\x20missed\x20changesets!','[OfflineState]:\x20received\x20acknowledgement.','verdancy600','getSkeleton','urlChange$','image/jpeg','/universer-api/file/{fileID}/sign-url','[OfflineState]:\x20received\x20changeset.','onStateChange','_members','eventID','onRemoteRej','DisposableCollection','href','_awaitingChangeset','ERROR_EXCEED_SIZE','collaboration.single-unit.warning','InsertRangeMoveRightCommandId','_roomMembers$','_applyRemoteChangeset','type','SNAPSHOT_HAS_BEEN_REMOVED','isPermissionRej','switchMap','collabStatus.conflict','_updateLocalCache','Error\x20on\x20receiving\x20event','open$','symbol','pauseCollaboration','location','_onMessage','registerRenderModule','4142330swXXtF','getTypeOfUnitDisposed$','_onJoinRoomEvent','permission.title','appendMutation','_clearUndo','debounceTime','NodePositionConvertToRectRange','doc.mutation.rich-text-editing','subscribe','_permissionService','hide','_getLoginPath','generateRandomId','AWAITING_WITH_PENDING','setCurrentUser','_scheduleSaving','params','deserializeToCombResponse','_clearRedo','_heartbeatTimer','listCollaborators','CONFLICT','fetching\x20missing\x20changesets\x20from\x20','find','_urlService','then','_entities','onlyLocal','ThresholdInterceptorFactory','DeleteRangeMoveUpCommandId','Injector','_joinRoom','textEncoder','handleDeleteRangeMoveUp','_handleHeartbeatEvent','length','json','_clearScheduledTask','_cursors','SEND_CHANGESET_TIMEOUT','resourceIDs','_getSendChangesetTimeout','IMessageService','mapTo','getCurrentSelections','_acknowledgedAwaitingChangeset','hovered','clear','complete','13wWjcQK','_getSignURL','round','getCurrentUnitForType','endColumn','_sessions','transformMutationsWithChangeset','changesets','replaceState','prototype','APPLY_REVISION_CONFILICT','reduce','HEARTBEAT_INTERVAL','toggleOnline','onlineStatusTitle','LocaleService','closeSession','_socketService','unitId','UNIVER_SHEET','LOCAL_CACHE_INTERVAL_KEY','179rtQPvD','_collaborationSessionService','IAuthzIoService','_labelPosition','batchAllowed','CollaborationStatus','@univerjs/ui','combineLatest','_syncEditingCollabCursor','IConfigService','cmd','_clearCollaborationTimeoutTimer','updatePermissionPoint','/allowed','awaiting','ColorKit','unsubscribe','transformIMECache','onPointerEnter$','purple300','fill','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','transform','_session','userID','_createHandler','ILocalStorageService','enableSingleActiveInstanceLock','[CollaborationUndoRedoService]','file','entries','_docStateChangeManagerService','text','handleDeleteRangeMoveLeft','readAsDataURL','black','_saveCache','use','unit','@univerjs/design','onRemoteChangeset','getTime','function','_config','_transformUndoRedoStack','SheetSkeletonManagerService','substring','\x0aCurrent:\x20','startRow','{fileID}','string','_collaborationPaused','url(#on-line-single_clip0_910_349)','onCommandExecuted','setParam','LEAVE','collab-text-range-','next','getMemberID','blue400','UserManagerService','getAncestorScale','_updateURLWithCurrentState','originalMeta','enableOfflineEditing','toDisposable','_removeRoom','online','_onLocalMutation','univer-pro.collaboration-client-socket-service','m2Prime','reject','saveSheetBlock','Starting','_updateCollabCursors','_removeCollabCursors','getUniverSheetInstance','parseChangesetToProtocol','saveChangeset','transformMutation','POST','OffLineSingle','Inject','RemoveColCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','message$','resize','_onFetchMissResult','on-line-single_clip0_910_349','NOT_COLLAB','RETRY_CONNECTING_INTERVAL','getUndoRedoMutationParamsCache','_initMergeInterceptor','toggleOffline','&source=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','BehaviorSubject','PENDING','loadOfflineData','handleInsertRangeMoveRight','8VanxgH','stringify','div','TEXT_RANGE_LAYER_INDEX','_onRemoteACK','createSocket','setAlpha','state','OFFLINE','1em','getSheetId','toString','onRemoteAck','SUBMIT_CHANGESET','CHANGESET_REVISION_CONFILICT','findNodePositionByCharIndex','_unitOnClients','getRoom','_commentUpdate$','NodePositionConvertToCursor','focused$','&to=','_notificationService','state$','addEventListener','subscribeEvent','LIVESHARE_FETCH_OPERATIONS','_transformRemoteChangesetByIMECache','HEARTBEAT_INTERVAL_KEY','update','/universer-api/stream/file/upload','_queuedRemoteChangesets','\x20to\x20','children','_localStorageService','&assign=','SnapshotServerOverHTTPService','COMPRESS_MUTATION_SEND','_range','13954KojmlX','idSuffix','ONLINE','_messageService','_unlockTransition','LIVESHARE_OPERATION','[FetchMissState]','getCollabCursors$','off-line-single_clip0_910_343','DependentOn','_name','856473PTqCJn','pending','_hover','_status$','getRelativeToViewportCoord','socket\x20open.','#FFF','memberID','COMMENT_UPDATE','CollaborationSessionService','[CollaborationState]:\x20apply\x20error!','addObject','Undefined','add','_updateStatus','_updateSubUnitFromURLParams','_syncEditingCollabCursorService','_disabled','_onRemoteRejected','DesktopCollaborationStatusDisplayController','UniverUi','INotificationService','_initStatusListener','push','every','1055HyEGMS','_beforeCloseService','_anchor','_drawRectRange','IPermissionService','take','_memberService','_retryConnectingTimer','_executeRemoteChangeset','DocStateChangeManagerService','univerjs-icon\x20univerjs-icon-','debounce','getUnitType','_startCollaboration','_compressMutationService','univer-offline','_updateState','univer-online','DataLoaderController','saveSnapshot','conflict','RemoveRowCommandId','indexOf','permissionRejEvent','@univerjs/core','SUCCUSS','target','IUndoRedoService','forwardRef','useDependency','submit\x20changeset\x20error!','_onUserJoin','_onCursorUpdate','post','_transitionLocked','requestParams','objectID','MessageType','_snapshotServerService','encode','_socket$','awaitingChangeset','React','setActiveRange','_cachedData','_socketMessageSubscription','_substituteUndoStack','key','_fetchMissChangesets','_hovered','SheetCollaborationEntity','csAckEvent','HTTPRequest','_send','save','defineProperty','socket\x20close','SYNCED','history','_socket','session.connection-failed','range','OnLifecycle','_replaceFileID','subunit','NEW_CHANGESETS','error$','shareReplay','deserializeRangeWithSheet','/block/','fillRule','_scheduleReconnection','\x20-\x20','getOwnPropertySymbols','max','_init','\x0aAfter:\x20','lineTo','collab-rect-range-','CompressMutationService','TOO_MANY_REQUESTS','asObservable','SheetsSelectionsService','fetch_missing','IBeforeCloseService','_registerDependencies','...','revision','_remoteChangesetQueue','_handleJoinEvent','IHTTPImplementation','lodash','change$','_initUnitPermissionChange','_renderManagerService','SetDocZoomRatioOperation','onMouseMove','translate(.97)','routeKey','_docSkeleton','_sheetTransformSelectionsService','DeleteRangeMoveLeftCommandId','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_online','WorkbookEditablePermission','/collaborator','localeService','set','csRejEvent','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','onTransformSelections','_showConflictNotification','getActiveSheet','UNKNOWN_CODE','CollaborationEvent','values','@univerjs/docs','/resources','EmptyMutation','_clearHeartbeatTimer','_revisionService','8590116RpDOBJ','PERMISSION_DENIED','extend','ImageSourceType','_sendHeartbeat','HttpExport','onSendChangeset','loadSheet','getUnitStatus$','isTransformMutationsWithChangesetSuccess','ImageIoService','CollaborationController','getMember','_scheduleClearOtherTimer','_unitID','arc','allowed','objectType','_handler','selections','Workbook','UNDEFINED','exports','NOT_FOUND','getCellPositionByOffset','some','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationSession]','ICommandService','3741864oaNvlW','FETCH_MISSING','getWorkbookSelections','IUniverInstanceService','registerRefRange','SHOULD_CLOSE_CONN','[CollaborationSessionService]','icon','[CollaborationEntity]','AWAITING','sheetId','Tools','put','assign','SNAPSHOT_INVALID_SNAPSHOT','getInterceptPoints','session.room-full','@univerjs/engine-formula','_onCombEvent','handleInsertCol','InsertRowCommandId','#fff','getTypeOfUnitAdded$','executeCommand','_isPermissionRej','getSheetObject','RxDisposable','_cursor','url(#$1','_transformPreviousActiveRange','event$','/fetchmissing?from=','Rectangle','unload','cursorInfo','textRanges','getParam','call','_type','defIds','getItem','mutations','MoveRangeCommandId','transformChangesets','_submitChangeset','HELLO','includes','EXCHANGE_SIGN_URL_SERVER_URL_KEY','FAIL','_getCurrentRevision','fetchThroughInterceptors','onTransformRemoteChangesetByIMECache','SNAPSHOT_SERVER_URL_KEY','collab-text-anchor-','fillStyle','_entityInit$','collabCursorState$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','USERS_ENTER','_rescheduleHeartbeatEvent','_lastPointer','@univerjs/sheets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','univer-pro.collaboration-client.single-active-unit-service','fromCollab','_themeService','c2Prime','SNAPSHOT_URL_KEY','_sendingTimer','append','_univerInstanceService','displayName','PERMISSION_REJ','YUUMI_UNABLE_LOAD_URL','_loadDoc','_ensureSubject','HEARTBEAT','getColor','MergeInterceptorFactory','top','status','offline','isInternalEditorID','makeDirty','UniverCollaboration','LICENSE_IMPORT_SIZE_EXCEEDED','Subject','newValue','_retryCount','_HTTPService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_pendingMutations','shouldCloseConn','pipe','disableLocalCache','getCurrentUser','auth.needGotoLoginAlert','COLLAB_SUBMIT_CHANGESET_URL_KEY','_createSocket','8712696WEgMhr','isTransformMutationsWithChangesetFailure','roomMembers','dispose','updateOfflineData','method','toRgbString','getFocusedUnit','10446botkEb','UPDATE_CURSOR','clearTimeout','[PendingState]:\x20unhandled\x20univer\x20type:\x20','9eiJtRx','isArray','map','IRemoteInstanceService','distinctUntilChanged','joinEvent','_eventUnsubscribe','_checkMissing','onTransformIME','infoRsp','saveImage','_roomMembers','SEND_CHANGESET_TIMEOUT_KEY','RichTextEditingMutation','workbook','Disposable','/object/','startsWith','?url=','attrs','_onConflict','RefRangeService','univer-online-status','Module','UNIVER_UNKNOWN','measureText','UniverRpc','mergeOverrideWithDependencies','RevisionService','_waitForHeartbeatResponse','_scheduleTimestamp','COLLAB_SUBMIT_CHANGESET_URL','ALREADY_EXISTS','LocalCacheService','collaboration-client.offline-data-not-saved','path','INGEST','incrementRevForDocument','init','commentUpdate$','_getSnapshotAPIPrefix','Plugin','0\x200\x2016\x2016','b64DecodeUnicode','Vector2','_logService','UniverCollaborationClientPlugin','engine','SetTextSelectionsOperation','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','colorChannel1','_refRangeService','_setupSubUnitSync','handleIRemoveRow','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','size','_refreshCollabCursors','_onRecvEvent','UnitEmbedded','/unit/','Shape','mapDocumentTypeToUniverType','_clearTimeoutTimer','synced','isActive','rxjs/operators','@univerjs-pro/collaboration','_waitCount','putCollaborators','JSONX','forEach','ranges','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','AUTHZ_URL_KEY','DEFAULT_FILE_NAME','onMissingChangesets','closePath','\x20in\x20_schedule.','UniverCore','exhaustSavingTask','DocSkeletonManagerService','serializeCombRequest','send','_configService','roomMembers$','m1Prime','initWorkbookPermissionChange','UniverCollaborationPlugin','onload','_drawAnchor','_collabCursorState$','rev','editingUnit','_drawTextRange','assignAColorForMemberID','getRangePointData','LOCAL_CACHE_INTERVAL','whenReady','requireSession','fromEvent','row','_scheduleCollaborationTimeoutTimer','getViewport','saveOfflineData','unknown','rgba(255,\x20255,\x20255,\x200.01)','SnapshotService','UniverSheetsUi','_docSyncEditingCollabCursorService','_textBubble','encodeURIComponent','_handleHover','concatMap','sequenceExecute','image/png','registerHTTPInterceptor','serializeDocRange','[DataLoaderController]','sessionStatus','_getSheetObject','awaiting_with_pending','onCommentUpdate','updatePermissionObjEvent','currentTheme$','debug','createIdentifier','BuiltInUIPart','INVALID_ARGUMENT','_onRefRangeChange','_scheduleHeartbeat','hasOwnProperty','[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.','IDLE','_updateLocalCursor','drawWith','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HTTPService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','AuthzIoHttpService','url','Rect','FromArray','refreshPermission','_createInitialStateImpl','_disableEditing','session.will-retry','_colorIndex','deleteCollaborator','collaboratorID','onPointerLeave$','_saveTaskMap','roles','_state$','evenodd','parse','transformSelections','IUIPartsService','_ws','pushState','_change$','patch','_handleEvent','setWaitCount','get','_getRedoStack','connection\x20error','roomInfos','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onUserLeave','_handleLeaveEvent','_getAnchorBounding','_sendHeartbeatTimer','WebURLService','color','_initCommandExecutedListener','unshift','setTimeout','[PendingState]:\x20received\x20acknowledgement.','baseRev','LIVESHARE_REQUEST_HOST','selection','getSheetBySheetId','title','show','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getUnitOnRev','CHANGESET_REJ','11XFMoxW','getOwnPropertyDescriptor','ImageUploadStatusType','/-/object/-/batch_allowed','WebSocketService','beginPath','collabStatus.syncing','updateCollaborator','getCoordByCell','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','code','skeleton','Univer','Optional','JOINING','takeUntil','delay','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Error','Warning','transformByState','body','UNRECOGNIZED','interceptor','collaMsg','_initResize','/new_changes','ITransformService','collabStatus.offline','UniverSheets','liveShareNewHost','OnLineSingle','onlineStatusIcon','UniverDocs','onStarting','getCollabEntity','_toggleOffline','handleInsertRangeMoveDown','image/jpg','_onConnectionOpen','merge','LIVESHARE_NEW_HOST','_hideTimer','rxjs','_initStatusComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','ILogService','gold400','_injector','ICollaborationSocketService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getDocRanges','_context','syncEditingCollabCursor','_decreaseWaiting','@univerjs/sheets-ui','UniverInstanceType','leaveEvent','setShapeProps','COMPRESS_MUTATION_APPLY','CollaborationSocketService','reverse','disposeWithMe','_onRemoteChangeset','@univerjs/drawing','APPLY_REJECT','_localeService','_shapes','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_anchorDot','result','has','_scene','/rev/','onTransformChange$','FETCH_MISS','tag','INTERNAL_ERROR','CommandType','replace','restore','InsertRangeMoveDownCommandId','from','data','VIEW_MAIN','_lockTransition','_userManagerService','getValue','session','searchParams','UnitSnapshot','_replayCachedMutations','removeMember','currentSkeleton$','_startDocCollabCursor','getCollabEntity$','socketService','_transformService','onSyncEditingCollabCursor','_clearOtherTimers','width','updateCursorEvent','sessionStatus$','_docSkeletonManagerService','SheetPermissionInitController','ws://127.0.0.1:8000/universer-api/comb/connect','delete','UniverDesign','random','propertyIsEnumerable','_substituteRedoStack','OTHER_CLIENTS_EDITING','defs','filter','LOGIN_URL_KEY','resend','_sheetSkeletonManagerService','clearInterval','_http','joinRsp','startColumn','deepClone','_transformUndoredo','getCurrentRevForDocument','_getUndoStack','_httpService','split','Unknown\x20user','_clearLocalCache','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','backgroundColor','members','Ready','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','COLORS','_backgroundColor','[UniverCollaborationClientPlugin]','transformRemoteChangeset','c1Prime','[PendingState]:\x20received\x20rejection.','_color','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNIVER_PROJECT','_collabSessionService','labelPosition','_timeoutTimer','column','_getMergeRange','close$','createInstance','_sessionStatus$','clsx','addObjects','removeParam','_undoRedoService','_render','NO_OTHER_CLIENTS_EDITING','getConfig','collabStatus.synced','_imageSourceCache','CollaborationSession','_getAPIPrefix','COMPLETION_FINISHED','isTransformChangesetsSuccess','flatMap','name','connectInjector','_tryEnsureSocket','xlink:href','handleMoveRange','UNKNOWN_CMD','session.collaboration-timeout','JOIN','_schedule','getImageSourceCache','_assignedColors','_getUploadFileURL','_unitStatus','error','USERS_LEAVE','_id','UNAUTHENTICATED','registerBeforeClose','fillText','enableLocalCache','onMissedChangesetFetched','getUnitId','editing\x20status\x20changed\x20to','_docTransformSelectionsService','@univerjs/rpc','updateMember','unitID','useRef','_event$','confirm','_localCacheService','SheetCollabCursorShape','UNIVER_DOC','UniverIcon','UNIVER_SLIDE','height','create','_draw','RECV','currentColor','RETRY_CONNECTING_MAX_COUNT','UniverEngineRender','ERROR_IMAGE','univer-online-status-title','parseProtocolChangeset','_getSaveTimeout','COLLAB_WEB_SOCKET_URL','_transformStack','BASE64','CommentService','all','HEARTBEAT_TIMEOUT_KEY','getSheetBlock','image/bmp','setItem','objectActions','collabStatus.fetchMiss','_uiPartsService','none','ACTIVE_UNIT_EVENT_CHANNEL','getImage','_toggleOnline','action','createElement','CHANGESET_ACK','_commentService','triggerDblclick','_getCtorByUniverType','fetchMissingChangesets','transformUndoRedo','_incrementRevisionNumber','_selfUnitIDs','_removeClearOtherTimer','onRendered','APPLY_PERMISSION_DENIED','RegularPolygon','disposeUnit','EffectRefRangId','cursorInfo$','_transformSelections','svg','isEditing','LocalUndoRedoService','CONNECTOR_DATA_TOO_LARGE','on-line-single','activeSheet$','_socketReady','_getAPIPrefixPath','getCurrent','TextSelectionManagerService','YUUMI_URL_COL_OUT_OF_RANGE','_registerRenderDependencies','commentUpdateEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LifecycleStages','_cursorInfo$','close','runRefRangeMutations'];_0x7461=function(){return _0x56da25;};return _0x7461();}