@univerjs-pro/live-share 0.12.4-experimental.20251211-e01e32a → 0.12.4-insiders.20251211-c28f914

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5af41d=_0x1be7;(function(_0x221e07,_0x208f9e){const _0x51291f=_0x1be7,_0x592638=_0x221e07();while(!![]){try{const _0x2bebe0=-parseInt(_0x51291f(0x18a))/0x1*(-parseInt(_0x51291f(0x1a3))/0x2)+-parseInt(_0x51291f(0x1a0))/0x3+parseInt(_0x51291f(0x195))/0x4+-parseInt(_0x51291f(0x18c))/0x5*(-parseInt(_0x51291f(0x193))/0x6)+parseInt(_0x51291f(0x190))/0x7+parseInt(_0x51291f(0x18f))/0x8*(-parseInt(_0x51291f(0x1a1))/0x9)+-parseInt(_0x51291f(0x187))/0xa*(parseInt(_0x51291f(0x1a8))/0xb);if(_0x2bebe0===_0x208f9e)break;else _0x592638['push'](_0x592638['shift']());}catch(_0x171f0c){_0x592638['push'](_0x592638['shift']());}}}(_0x4519,0x94441));const n=require('@univerjs-pro/live-share'),g=require('@univerjs/engine-render'),u=require('@univerjs/sheets'),f=require('@univerjs/sheets-ui'),d=require('@univerjs/sheets/facade'),a=require('@univerjs/core/facade');class w extends d['FRange']{[_0x5af41d(0x19f)](_0x123830,_0x23528c,_0x5bea2a,_0x228f97,_0x2df09a){const _0x44f4a0=_0x5af41d,_0x6fce60=_0x123830[_0x44f4a0(0x192)](n['LiveShareController']),_0x9c626e=_0x123830[_0x44f4a0(0x192)](g['IRenderManagerService']),_0x7bcb09=_0x23528c[_0x44f4a0(0x1a7)](),_0x300f1f=_0x23528c[_0x44f4a0(0x18b)](),_0xcb0ac2=_0x6fce60[_0x44f4a0(0x19e)](_0x7bcb09);(_0xcb0ac2==null?void 0x0:_0xcb0ac2[_0x44f4a0(0x196)]())!==n[_0x44f4a0(0x1aa)][_0x44f4a0(0x191)]||(_0x5bea2a[_0x44f4a0(0x19d)]()!==_0x300f1f['getSheetId']()&&this['_commandService'][_0x44f4a0(0x194)](u[_0x44f4a0(0x186)]['id'],{'unitId':_0x7bcb09,'subUnitId':_0x5bea2a[_0x44f4a0(0x19d)]()}),!_0x9c626e[_0x44f4a0(0x184)](_0x7bcb09))||_0x2df09a[_0x44f4a0(0x19b)](f['SetScrollOperation']['id'],{'unitId':_0x23528c[_0x44f4a0(0x1a7)](),'sheetId':_0x5bea2a[_0x44f4a0(0x19d)](),'sheetViewStartRow':_0x228f97[_0x44f4a0(0x188)],'sheetViewStartColumn':_0x228f97['startColumn'],'offsetX':0x0,'offsetY':0x0,'screenRatioX':-0x1/0x3,'screenRatioY':-0x1/0x3,'duration':0x12c});}}function _0x1be7(_0x5c3e52,_0x2db6db){_0x5c3e52=_0x5c3e52-0x184;const _0x451950=_0x4519();let _0x1be7da=_0x451950[_0x5c3e52];return _0x1be7da;}d[_0x5af41d(0x19a)][_0x5af41d(0x198)](w);class C extends a[_0x5af41d(0x19c)]{['getLiveShareStatus'](){const _0x53bd03=_0x5af41d;var _0x1cd582,_0x5ce83a;const _0x9f2a71=this[_0x53bd03(0x1a6)]['get'](n[_0x53bd03(0x18d)]),_0x1d51dd=(_0x1cd582=this[_0x53bd03(0x197)]())==null?void 0x0:_0x1cd582[_0x53bd03(0x185)]();if(!_0x1d51dd)throw new Error('No\x20active\x20workbook\x20found.');const _0x42d7c3=_0x9f2a71[_0x53bd03(0x19e)](_0x1d51dd);return(_0x5ce83a=_0x42d7c3==null?void 0x0:_0x42d7c3[_0x53bd03(0x196)]())!=null?_0x5ce83a:n[_0x53bd03(0x1aa)]['IDLE'];}[_0x5af41d(0x1a5)](){const _0x2cef1f=_0x5af41d;var _0x264fe7;const _0x139470=this['_injector'][_0x2cef1f(0x192)](n[_0x2cef1f(0x18d)]),_0x536939=(_0x264fe7=this[_0x2cef1f(0x197)]())==null?void 0x0:_0x264fe7['getId']();if(!_0x536939)throw new Error('No\x20active\x20workbook\x20found.');const _0x46923b=_0x139470[_0x2cef1f(0x19e)](_0x536939);if(!_0x46923b)throw new Error(_0x2cef1f(0x1a9));_0x46923b['startFollowing']();}[_0x5af41d(0x1a2)](){const _0x161c1d=_0x5af41d;var _0x30129d;const _0x1230dc=this[_0x161c1d(0x1a6)]['get'](n[_0x161c1d(0x18d)]),_0x412015=(_0x30129d=this[_0x161c1d(0x197)]())==null?void 0x0:_0x30129d[_0x161c1d(0x185)]();if(!_0x412015)throw new Error(_0x161c1d(0x199));const _0x58554b=_0x1230dc[_0x161c1d(0x19e)](_0x412015);if(!_0x58554b)throw new Error('No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.');_0x58554b['stopFollowing']();}['startPresenting'](){const _0x1ad49b=_0x5af41d;var _0x2d1631;const _0x3c04c5=this['_injector'][_0x1ad49b(0x192)](n[_0x1ad49b(0x18d)]),_0x32c5db=(_0x2d1631=this[_0x1ad49b(0x197)]())==null?void 0x0:_0x2d1631[_0x1ad49b(0x185)]();if(!_0x32c5db)throw new Error(_0x1ad49b(0x199));const _0x2e6503=_0x3c04c5[_0x1ad49b(0x19e)](_0x32c5db);if(!_0x2e6503)throw new Error(_0x1ad49b(0x1a9));_0x2e6503[_0x1ad49b(0x189)]();}[_0x5af41d(0x18e)](){const _0x3a794a=_0x5af41d;var _0x24b213;const _0x3887e6=this['_injector']['get'](n[_0x3a794a(0x18d)]),_0x1400e7=(_0x24b213=this[_0x3a794a(0x197)]())==null?void 0x0:_0x24b213[_0x3a794a(0x185)]();if(!_0x1400e7)throw new Error('No\x20active\x20workbook\x20found.');const _0x405201=_0x3887e6[_0x3a794a(0x19e)](_0x1400e7);if(!_0x405201)throw new Error(_0x3a794a(0x1a9));_0x405201['stopPresenting']();}}a[_0x5af41d(0x19c)]['extend'](C);function _0x4519(){const _0x56e3ad=['getStatus','getActiveWorkbook','extend','No\x20active\x20workbook\x20found.','FRange','syncExecuteCommand','FUniver','getSheetId','getLiveShareCoordinatorSync','_initialize','799710QcbvRF','268119DnrRKd','stopFollowing','2JHpMpl','LiveShareStatusEnum','startFollowing','_injector','getUnitId','62392FPTWtB','No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.','LiveShareStatus','FEnum','getRenderById','getId','SetWorksheetActiveOperation','2130qsGBKq','startRow','tryStartPresenting','1175918YsTTIP','getActiveSheet','30IKjEpZ','LiveShareController','stopPresenting','152DmQgYq','4372305lDfDbr','PRESENTING','get','268182tZrmtR','executeCommand','2317268FwloIo'];_0x4519=function(){return _0x56e3ad;};return _0x4519();}class L extends a[_0x5af41d(0x1ab)]{get[_0x5af41d(0x1a4)](){const _0x51ab9a=_0x5af41d;return n[_0x51ab9a(0x1aa)];}}a['FEnum'][_0x5af41d(0x198)](L);
1
+ 'use strict';const _0x1a73b3=_0x39a5;(function(_0x5baca1,_0x4633bf){const _0x7cf5a9=_0x39a5,_0x31d99a=_0x5baca1();while(!![]){try{const _0x235df4=-parseInt(_0x7cf5a9(0x189))/0x1*(-parseInt(_0x7cf5a9(0x181))/0x2)+parseInt(_0x7cf5a9(0x184))/0x3*(parseInt(_0x7cf5a9(0x197))/0x4)+parseInt(_0x7cf5a9(0x18f))/0x5*(parseInt(_0x7cf5a9(0x1a8))/0x6)+parseInt(_0x7cf5a9(0x195))/0x7*(-parseInt(_0x7cf5a9(0x18a))/0x8)+-parseInt(_0x7cf5a9(0x19a))/0x9*(-parseInt(_0x7cf5a9(0x185))/0xa)+parseInt(_0x7cf5a9(0x19f))/0xb*(parseInt(_0x7cf5a9(0x183))/0xc)+parseInt(_0x7cf5a9(0x1a4))/0xd*(-parseInt(_0x7cf5a9(0x1a5))/0xe);if(_0x235df4===_0x4633bf)break;else _0x31d99a['push'](_0x31d99a['shift']());}catch(_0x3a4958){_0x31d99a['push'](_0x31d99a['shift']());}}}(_0x5d7b,0xe2b31));function _0x39a5(_0x5d118b,_0x4074ba){_0x5d118b=_0x5d118b-0x17e;const _0x5d7b7d=_0x5d7b();let _0x39a5d7=_0x5d7b7d[_0x5d118b];return _0x39a5d7;}const n=require('@univerjs-pro/live-share'),g=require('@univerjs/engine-render'),u=require('@univerjs/sheets'),f=require('@univerjs/sheets-ui'),d=require('@univerjs/sheets/facade'),a=require('@univerjs/core/facade');class w extends d[_0x1a73b3(0x188)]{[_0x1a73b3(0x182)](_0x529fa3,_0x3471f1,_0x573c54,_0x56b6de,_0x1b7928){const _0x9d49bf=_0x1a73b3,_0x516e82=_0x529fa3[_0x9d49bf(0x180)](n['LiveShareController']),_0x183def=_0x529fa3[_0x9d49bf(0x180)](g[_0x9d49bf(0x1a9)]),_0x99172c=_0x3471f1[_0x9d49bf(0x19b)](),_0x3b4479=_0x3471f1[_0x9d49bf(0x19e)](),_0x4e4253=_0x516e82[_0x9d49bf(0x192)](_0x99172c);(_0x4e4253==null?void 0x0:_0x4e4253[_0x9d49bf(0x1aa)]())!==n[_0x9d49bf(0x17e)][_0x9d49bf(0x17f)]||(_0x573c54[_0x9d49bf(0x1a6)]()!==_0x3b4479[_0x9d49bf(0x1a6)]()&&this[_0x9d49bf(0x18c)][_0x9d49bf(0x186)](u[_0x9d49bf(0x193)]['id'],{'unitId':_0x99172c,'subUnitId':_0x573c54[_0x9d49bf(0x1a6)]()}),!_0x183def[_0x9d49bf(0x199)](_0x99172c))||_0x1b7928['syncExecuteCommand'](f[_0x9d49bf(0x18b)]['id'],{'unitId':_0x3471f1[_0x9d49bf(0x19b)](),'sheetId':_0x573c54[_0x9d49bf(0x1a6)](),'sheetViewStartRow':_0x56b6de[_0x9d49bf(0x1ab)],'sheetViewStartColumn':_0x56b6de[_0x9d49bf(0x1a1)],'offsetX':0x0,'offsetY':0x0,'screenRatioX':-0x1/0x3,'screenRatioY':-0x1/0x3,'duration':0x12c});}}function _0x5d7b(){const _0x4af0c7=['executeCommand','getId','FRange','5495VjxgAj','64PKmTMt','SetScrollOperation','_commandService','stopFollowing','FEnum','65KsHqWQ','No\x20active\x20workbook\x20found.','extend','getLiveShareCoordinatorSync','SetWorksheetActiveOperation','startFollowing','177401ZqOyGK','getActiveWorkbook','12fiTNvj','_injector','getRenderById','131139XlxjWj','getUnitId','getLiveShareStatus','No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.','getActiveSheet','808137vCkAUL','FUniver','startColumn','tryStartPresenting','LiveShareController','598533RhQGsV','462xrvPzO','getSheetId','stopPresenting','193554pdsFQF','IRenderManagerService','getStatus','startRow','startPresenting','LiveShareStatus','PRESENTING','get','68rYYKTC','_initialize','60gOjjyX','467733MJFbtu','830BzzfzW'];_0x5d7b=function(){return _0x4af0c7;};return _0x5d7b();}d[_0x1a73b3(0x188)][_0x1a73b3(0x191)](w);class C extends a[_0x1a73b3(0x1a0)]{[_0x1a73b3(0x19c)](){const _0x4f0b72=_0x1a73b3;var _0xb8c31e,_0x435c25;const _0x3ce10f=this[_0x4f0b72(0x198)][_0x4f0b72(0x180)](n[_0x4f0b72(0x1a3)]),_0x565dfe=(_0xb8c31e=this[_0x4f0b72(0x196)]())==null?void 0x0:_0xb8c31e['getId']();if(!_0x565dfe)throw new Error(_0x4f0b72(0x190));const _0x22c0e6=_0x3ce10f[_0x4f0b72(0x192)](_0x565dfe);return(_0x435c25=_0x22c0e6==null?void 0x0:_0x22c0e6['getStatus']())!=null?_0x435c25:n['LiveShareStatus']['IDLE'];}[_0x1a73b3(0x194)](){const _0x4c3981=_0x1a73b3;var _0x3c4d0b;const _0x1555f1=this[_0x4c3981(0x198)]['get'](n[_0x4c3981(0x1a3)]),_0x28ecb4=(_0x3c4d0b=this['getActiveWorkbook']())==null?void 0x0:_0x3c4d0b[_0x4c3981(0x187)]();if(!_0x28ecb4)throw new Error(_0x4c3981(0x190));const _0x358e44=_0x1555f1[_0x4c3981(0x192)](_0x28ecb4);if(!_0x358e44)throw new Error(_0x4c3981(0x19d));_0x358e44['startFollowing']();}[_0x1a73b3(0x18d)](){const _0x4d8bd0=_0x1a73b3;var _0xbb3b8c;const _0x520eb5=this['_injector']['get'](n[_0x4d8bd0(0x1a3)]),_0x5f1216=(_0xbb3b8c=this[_0x4d8bd0(0x196)]())==null?void 0x0:_0xbb3b8c['getId']();if(!_0x5f1216)throw new Error(_0x4d8bd0(0x190));const _0x3483da=_0x520eb5[_0x4d8bd0(0x192)](_0x5f1216);if(!_0x3483da)throw new Error(_0x4d8bd0(0x19d));_0x3483da[_0x4d8bd0(0x18d)]();}[_0x1a73b3(0x1ac)](){const _0x23b2be=_0x1a73b3;var _0x339d8b;const _0x1dfc84=this[_0x23b2be(0x198)][_0x23b2be(0x180)](n[_0x23b2be(0x1a3)]),_0x1e622b=(_0x339d8b=this[_0x23b2be(0x196)]())==null?void 0x0:_0x339d8b['getId']();if(!_0x1e622b)throw new Error('No\x20active\x20workbook\x20found.');const _0x10d58f=_0x1dfc84[_0x23b2be(0x192)](_0x1e622b);if(!_0x10d58f)throw new Error(_0x23b2be(0x19d));_0x10d58f[_0x23b2be(0x1a2)]();}['stopPresenting'](){const _0x289898=_0x1a73b3;var _0x10f0c0;const _0xbc328d=this[_0x289898(0x198)]['get'](n[_0x289898(0x1a3)]),_0x35c556=(_0x10f0c0=this[_0x289898(0x196)]())==null?void 0x0:_0x10f0c0[_0x289898(0x187)]();if(!_0x35c556)throw new Error(_0x289898(0x190));const _0x247fe6=_0xbc328d[_0x289898(0x192)](_0x35c556);if(!_0x247fe6)throw new Error(_0x289898(0x19d));_0x247fe6[_0x289898(0x1a7)]();}}a[_0x1a73b3(0x1a0)][_0x1a73b3(0x191)](C);class L extends a[_0x1a73b3(0x18e)]{get['LiveShareStatusEnum'](){const _0x183d8f=_0x1a73b3;return n[_0x183d8f(0x17e)];}}a[_0x1a73b3(0x18e)]['extend'](L);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x353631=_0x17bb;(function(_0xcb1a05,_0x114571){const _0x11e12b=_0x17bb,_0x3e5b1d=_0xcb1a05();while(!![]){try{const _0x579904=-parseInt(_0x11e12b(0x1b3))/0x1+parseInt(_0x11e12b(0x19a))/0x2+parseInt(_0x11e12b(0x1a1))/0x3+parseInt(_0x11e12b(0x1bc))/0x4+parseInt(_0x11e12b(0x1d2))/0x5*(parseInt(_0x11e12b(0x20e))/0x6)+parseInt(_0x11e12b(0x1c3))/0x7*(parseInt(_0x11e12b(0x1d4))/0x8)+-parseInt(_0x11e12b(0x22c))/0x9;if(_0x579904===_0x114571)break;else _0x3e5b1d['push'](_0x3e5b1d['shift']());}catch(_0x41e0e5){_0x3e5b1d['push'](_0x3e5b1d['shift']());}}}(_0x4892,0x30433));var T=Object['defineProperty'],U=(_0x384721,_0x4668c5,_0x212c47)=>_0x4668c5 in _0x384721?T(_0x384721,_0x4668c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x212c47}):_0x384721[_0x4668c5]=_0x212c47,_=(_0x2d569c,_0x2fe151,_0x27c554)=>U(_0x2d569c,typeof _0x2fe151!=_0x353631(0x17d)?_0x2fe151+'':_0x2fe151,_0x27c554);Object[_0x353631(0x1e6)](exports,Symbol[_0x353631(0x1d1)],{'value':_0x353631(0x178)});const o=require('@univerjs/core'),p=require('@univerjs/ui'),l=require('react/jsx-runtime'),f=require('@univerjs/design'),v=require('react'),d=require('@univerjs-pro/collaboration'),b=require('@univerjs-pro/collaboration-client'),C=require('@univerjs/sheets'),O=require('rxjs'),I=require('rxjs/operators'),D=require('@univerjs/sheets-ui');function x({ref:_0x2385e4,..._0x5965d7}){const _0x3410ef=_0x353631,{icon:_0x4e793f,id:_0x5343ad,className:_0x16c03c,extend:_0x4a632b,..._0x577b38}=_0x5965d7,_0x16b9ef=(_0x3410ef(0x18d)+_0x5343ad+'\x20'+(_0x16c03c||''))['trim'](),_0x89108a=v[_0x3410ef(0x241)]('_'+H());return j(_0x4e793f,''+_0x5343ad,{'defIds':_0x4e793f[_0x3410ef(0x221)],'idSuffix':_0x89108a['current']},{'ref':_0x2385e4,'className':_0x16b9ef,..._0x577b38},_0x4a632b);}function j(_0x533325,_0x168c31,_0x12fcb3,_0x4fcb4e,_0x2f76f5){const _0x420bd1=_0x353631;return v['createElement'](_0x533325['tag'],{'key':_0x168c31,...y(_0x533325,_0x12fcb3,_0x2f76f5),..._0x4fcb4e},(F(_0x533325,_0x12fcb3)['children']||[])[_0x420bd1(0x19e)]((_0x1b4567,_0xc0dc65)=>j(_0x1b4567,_0x168c31+'-'+_0x533325[_0x420bd1(0x202)]+'-'+_0xc0dc65,_0x12fcb3,void 0x0,_0x2f76f5)));}function y(_0x1dff1a,_0x183bf7,_0x9b7636){const _0x3cd145=_0x353631,_0x5c723e={..._0x1dff1a[_0x3cd145(0x1fb)]};_0x9b7636!=null&&_0x9b7636[_0x3cd145(0x1a5)]&&_0x5c723e[_0x3cd145(0x18b)]==='colorChannel1'&&(_0x5c723e[_0x3cd145(0x18b)]=_0x9b7636[_0x3cd145(0x1a5)]),_0x1dff1a[_0x3cd145(0x202)]==='mask'&&_0x5c723e['id']&&(_0x5c723e['id']=_0x5c723e['id']+_0x183bf7['idSuffix']),Object['entries'](_0x5c723e)['forEach'](([_0x2bd675,_0x162042])=>{const _0x26a4c4=_0x3cd145;_0x2bd675===_0x26a4c4(0x229)&&typeof _0x162042==_0x26a4c4(0x1f8)&&(_0x5c723e[_0x2bd675]=_0x162042[_0x26a4c4(0x1a4)](/url\(#(.*)\)/,'url(#$1'+_0x183bf7[_0x26a4c4(0x222)]+')'));});const {defIds:_0x7dd6d9}=_0x183bf7;return!_0x7dd6d9||_0x7dd6d9[_0x3cd145(0x1b5)]===0x0||(_0x1dff1a['tag']===_0x3cd145(0x1ff)&&_0x5c723e['xlink:href']&&(_0x5c723e[_0x3cd145(0x183)]=_0x5c723e[_0x3cd145(0x183)]+_0x183bf7['idSuffix']),Object[_0x3cd145(0x188)](_0x5c723e)[_0x3cd145(0x1fa)](([_0x4770dd,_0x4a2958])=>{const _0x492f8c=_0x3cd145;typeof _0x4a2958=='string'&&(_0x5c723e[_0x4770dd]=_0x4a2958[_0x492f8c(0x1a4)](/url\(#(.*)\)/,_0x492f8c(0x189)+_0x183bf7[_0x492f8c(0x222)]+')'));})),_0x5c723e;}function F(_0x2f4ff3,_0x1cc2a8){const _0x582701=_0x353631;var _0x38f0e8;const {defIds:_0x58991a}=_0x1cc2a8;return!_0x58991a||_0x58991a[_0x582701(0x1b5)]===0x0?_0x2f4ff3:_0x2f4ff3['tag']===_0x582701(0x1e3)&&((_0x38f0e8=_0x2f4ff3[_0x582701(0x19f)])!=null&&_0x38f0e8[_0x582701(0x1b5)])?{..._0x2f4ff3,'children':_0x2f4ff3[_0x582701(0x19f)][_0x582701(0x19e)](_0x3eae6c=>typeof _0x3eae6c[_0x582701(0x1fb)]['id']==_0x582701(0x1f8)&&_0x58991a&&_0x58991a[_0x582701(0x203)](_0x3eae6c[_0x582701(0x1fb)]['id'])?{..._0x3eae6c,'attrs':{..._0x3eae6c[_0x582701(0x1fb)],'id':_0x3eae6c[_0x582701(0x1fb)]['id']+_0x1cc2a8[_0x582701(0x222)]}}:_0x3eae6c)}:_0x2f4ff3;}function H(){const _0x3787bf=_0x353631;return Math[_0x3787bf(0x1cc)]()[_0x3787bf(0x1ef)](0x24)['substring'](0x2,0x8);}x['displayName']=_0x353631(0x1dd);function _0x4892(){const _0x12fa0d=['univerjs-icon\x20univerjs-icon-','LIVESHARE_NEW_HOST','sheet','You\x27re\x20presenting\x20the\x20document','stringify','startFollowing','Dropdown','find','forwardRef','UniverCollaborationClientPlugin','pipe','_presenter','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','615410AytvGN','BuiltInUIPart','OFFLINE','createInstance','map','children','useState','187932IMhvxe','throttleTime','NEW_CHANGESETS','replace','colorChannel1','_fetchOperations','You\x27re\x20not\x20following\x20the\x20presenter','Fragment','init','_startFollowing','UniverInstanceType','_handleNewHost','IUniverInstanceService','memberID','univer-size-4','SetScrollOperation','text','_handleOffline','85181mrRznH','complete','length','PRESENTING','Injector','get','_handleTerminate','path','values','1410608dsQiAO','HEADER_MENU','next','then','_status','setConfig','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','353087DpEQwc','event$','BehaviorSubject','div','Plugin','InsertSheetMutation','reverse','NOT_FOLLOWING','_handleNewChangeSets','random','jsxs','DesktopLiveShareController','_handleOperation','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','toStringTag','5YzoaGG','_commandService','8XzMxHU','_startLiveShareCoordinator','You\x27are\x20offline.','LIVESHARE_REQUEST_HOST','tryStartPresenting','_reporters','idle','has','svg','UniverIcon','SetWorksheetActiveOperation','Present\x20this\x20document','executeCommand','getOwnPropertyDescriptor','registerComponent','defs','SAME_OPERATION_SHARE_INTERVAL','stopFollowing','defineProperty','add','Stop\x20presenting','FOLLOWING','onStarting','0\x200\x2017\x2017','set','getCurrentTypeOfUnit$','_mountLiveShare','toString','UNIVER_UNKNOWN','IConfigService','LiveShare','IUIPartsService','getUnitId','unitId','LiveShareController','merge','string','assign','forEach','attrs','evenodd','asObservable','_startPresenting','use','operations','1em','tag','includes','disposeWithMe','getInitialStates','LIVESHARE_FETCH_OPERATIONS','registerSharedOperation','offline','getTypeOfUnitAdded$','Inject','Start\x20following','IDLE','clear','385578wduQli','_config','univer-mb-3\x20univer-w-full\x20univer-text-sm','takeUntil','getTypeOfUnitDisposed$','LIVESHARE_TERMINATE','presenter','_configService','_univerInstanceService','ICommandService','LIVESHARE_OPERATION','_commandDisposable','mutations','_stopFollowing','_handleOnline','LiveShareCoordinator','Button','presenting','DisposableCollection','defIds','idSuffix','toDisposable','http://www.w3.org/2000/svg','override','jsx','params','send','mask','_collabSession','shouldShareOperation','4993569vTKSBi','button','following','_liveShareService','_entities','CollaborationEvent','getConfig','Disposable','createElement','clsx','data','getMemberID','pluginName','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','subscribe','_sharedOperations','delete','status$','not-following','_unitID','_uiPartsService','useRef','LiveShareService','current','getValue','live-share-icon','getLiveShareCoordinatorSync','stopPresenting','_status$','connectInjector','_init','CollaborationSessionService','end','useEffect','onCommandExecuted','You\x27re\x20following\x20the\x20presenter','_injector','Module','type','_beIdle','unsubscribe','dispose','symbol','default','parse','UniverLiveSharePlugin','OPERATION','SessionStatus','xlink:href','getStatus','dispose$','touchDependencies','UNIVER_SHEET','entries','url(#$1','_stopPresenting','fill','SetZoomRatioOperation'];_0x4892=function(){return _0x12fa0d;};return _0x4892();}const V={'tag':_0x353631(0x1dc),'attrs':{'xmlns':_0x353631(0x224),'fill':'none','viewBox':_0x353631(0x1eb),'width':'1em','height':_0x353631(0x201)},'children':[{'tag':_0x353631(0x1ba),'attrs':{'fill':'currentColor','d':_0x353631(0x239)}},{'tag':_0x353631(0x1ba),'attrs':{'fill':'currentColor','d':_0x353631(0x1c2),'fillRule':_0x353631(0x1fc),'clipRule':_0x353631(0x1fc)}}]},R=v[_0x353631(0x195)](function(_0x1370cb,_0x5ec8c6){const _0x3543e8=_0x353631;return v[_0x3543e8(0x234)](x,Object[_0x3543e8(0x1f9)]({},_0x1370cb,{'id':_0x3543e8(0x245),'ref':_0x5ec8c6,'icon':V}));});R['displayName']='LiveShareIcon';class E extends o[_0x353631(0x233)]{constructor(){const _0x282ff6=_0x353631;super(...arguments),_(this,_0x282ff6(0x23b),new Set()),_(this,_0x282ff6(0x1d9),new Set());}[_0x353631(0x207)](_0x46df0e){const _0x5884f3=_0x353631;return this[_0x5884f3(0x23b)][_0x5884f3(0x1e7)](_0x46df0e),o[_0x5884f3(0x223)](()=>this[_0x5884f3(0x23b)]['delete'](_0x46df0e));}['registerInitialStateReporter'](_0x28b4d2){const _0x1d740a=_0x353631;return this[_0x1d740a(0x1d9)]['add'](_0x28b4d2),o['toDisposable'](()=>this[_0x1d740a(0x1d9)][_0x1d740a(0x23c)](_0x28b4d2));}[_0x353631(0x22b)](_0x4f1fdc){const _0x487d80=_0x353631;return this[_0x487d80(0x23b)][_0x487d80(0x1db)](_0x4f1fdc);}[_0x353631(0x205)](_0x202e8a){const _0x294c94=_0x353631;return Array['from'](this['_reporters'])[_0x294c94(0x19e)](_0x170f0f=>_0x170f0f(_0x202e8a));}}var M=Object[_0x353631(0x1e1)],P=(_0x324d16,_0x30c119,_0x1ca045,_0x317aa9)=>{const _0x4ca2fc=_0x353631;for(var _0x2df5d7=_0x317aa9>0x1?void 0x0:_0x317aa9?M(_0x30c119,_0x1ca045):_0x30c119,_0x5138ef=_0x324d16[_0x4ca2fc(0x1b5)]-0x1,_0x44991e;_0x5138ef>=0x0;_0x5138ef--)(_0x44991e=_0x324d16[_0x5138ef])&&(_0x2df5d7=_0x44991e(_0x2df5d7)||_0x2df5d7);return _0x2df5d7;},S=(_0x50d5d8,_0x1ac20f)=>(_0x126373,_0x5db17b)=>_0x1ac20f(_0x126373,_0x5db17b,_0x50d5d8);exports[_0x353631(0x1f6)]=class extends o['RxDisposable']{constructor(_0x2212db,_0x346914,_0x476e0e){const _0x2a1d16=_0x353631;super(),_(this,_0x2a1d16(0x230),new Map()),(this[_0x2a1d16(0x216)]=_0x2212db,this[_0x2a1d16(0x177)]=_0x346914,this['_collabSessionService']=_0x476e0e,this[_0x2a1d16(0x171)]());}async['getLiveShareCoordinator'](_0x3c9668){const _0x2cacb4=_0x353631;return this[_0x2cacb4(0x230)][_0x2cacb4(0x1db)](_0x3c9668)||await this[_0x2cacb4(0x1d5)](_0x3c9668),this[_0x2cacb4(0x230)][_0x2cacb4(0x1b8)](_0x3c9668);}[_0x353631(0x246)](_0x264510){const _0x5c99a2=_0x353631;var _0x53aad9;return(_0x53aad9=this[_0x5c99a2(0x230)]['get'](_0x264510))!=null?_0x53aad9:null;}[_0x353631(0x171)](){const _0x86ca67=_0x353631;this[_0x86ca67(0x216)][_0x86ca67(0x209)](o['UniverInstanceType'][_0x86ca67(0x187)])[_0x86ca67(0x197)](I[_0x86ca67(0x211)](this[_0x86ca67(0x185)]))[_0x86ca67(0x23a)](async _0x2822a0=>{const _0x44d260=_0x86ca67,_0x1207b6=_0x2822a0['getUnitId']();this['_entities'][_0x44d260(0x1db)](_0x1207b6)||this['_startLiveShareCoordinator'](_0x1207b6);}),this['_univerInstanceService'][_0x86ca67(0x212)](o['UniverInstanceType'][_0x86ca67(0x187)])['pipe'](I[_0x86ca67(0x211)](this[_0x86ca67(0x185)]))[_0x86ca67(0x23a)](_0x53252e=>{const _0x58ba47=_0x86ca67,_0x1f442b=_0x53252e[_0x58ba47(0x1f4)](),_0x370fee=this[_0x58ba47(0x230)]['get'](_0x1f442b);_0x370fee==null||_0x370fee[_0x58ba47(0x17c)]();});}async[_0x353631(0x1d5)](_0x523ff5){const _0x211280=_0x353631,_0x48e0fc=await this['_collabSessionService']['requireSession'](_0x523ff5),_0x3f9234=this['_injector'][_0x211280(0x19d)](exports[_0x211280(0x21d)],_0x523ff5,_0x48e0fc);return _0x3f9234[_0x211280(0x1a9)](),this[_0x211280(0x230)][_0x211280(0x1ec)](_0x523ff5,_0x3f9234),_0x3f9234;}},exports[_0x353631(0x1f6)]=P([S(0x0,o[_0x353631(0x1ad)]),S(0x1,o[_0x353631(0x20a)](o[_0x353631(0x1b7)])),S(0x2,o[_0x353631(0x20a)](b[_0x353631(0x172)]))],exports[_0x353631(0x1f6)]);var u=(_0x17bacc=>(_0x17bacc[_0x353631(0x19c)]=_0x353631(0x208),_0x17bacc[_0x353631(0x20c)]=_0x353631(0x1da),_0x17bacc[_0x353631(0x1e9)]=_0x353631(0x22e),_0x17bacc['NOT_FOLLOWING']=_0x353631(0x23e),_0x17bacc[_0x353631(0x1b6)]=_0x353631(0x21f),_0x17bacc))(u||{});const k=_0x353631(0x1e4),q=0xc8;exports['LiveShareCoordinator']=class extends o['RxDisposable']{constructor(_0x18d269,_0x28499a,_0xac5d69,_0x2ce6c3,_0x41623b){const _0x20d039=_0x353631;super(),_(this,'_status$',new O[(_0x20d039(0x1c5))](_0x20d039(0x1da))),_(this,_0x20d039(0x23d),this['_status$'][_0x20d039(0x1fd)]()),_(this,_0x20d039(0x171),!0x1),_(this,_0x20d039(0x219),null),_(this,_0x20d039(0x198),null),(this[_0x20d039(0x23f)]=_0x18d269,this[_0x20d039(0x22a)]=_0x28499a,this[_0x20d039(0x215)]=_0xac5d69,this[_0x20d039(0x22f)]=_0x2ce6c3,this[_0x20d039(0x1d3)]=_0x41623b);}get['_status'](){const _0x5552f2=_0x353631;return this[_0x5552f2(0x16f)][_0x5552f2(0x244)]();}['dispose'](){const _0x4ad963=_0x353631;var _0x4134ad;(_0x4134ad=this[_0x4ad963(0x219)])==null||_0x4134ad[_0x4ad963(0x17c)](),this[_0x4ad963(0x16f)][_0x4ad963(0x1be)](_0x4ad963(0x1da)),this[_0x4ad963(0x16f)]['complete']();}[_0x353631(0x184)](){const _0x54c769=_0x353631;return this[_0x54c769(0x1c0)];}['init'](){const _0x3f37a1=_0x353631;this[_0x3f37a1(0x171)]||(this['_init']=!0x0,this[_0x3f37a1(0x22a)]['sessionStatus$']['pipe'](I[_0x3f37a1(0x211)](this[_0x3f37a1(0x185)]))[_0x3f37a1(0x23a)](_0x2defb5=>{const _0x1b62e9=_0x3f37a1;switch(_0x2defb5){case b[_0x1b62e9(0x182)][_0x1b62e9(0x19c)]:this[_0x1b62e9(0x1b2)]();break;case b[_0x1b62e9(0x182)]['ONLINE']:this[_0x1b62e9(0x21c)]();break;}}),this[_0x3f37a1(0x22a)][_0x3f37a1(0x1c4)][_0x3f37a1(0x197)](I['takeUntil'](this[_0x3f37a1(0x185)]))['subscribe'](_0x1b131d=>{const _0xb288c8=_0x3f37a1,{eventID:_0x2331c0}=_0x1b131d;switch(_0x2331c0){case d[_0xb288c8(0x231)][_0xb288c8(0x18e)]:this[_0xb288c8(0x1ac)](_0x1b131d);break;case d[_0xb288c8(0x231)][_0xb288c8(0x218)]:this[_0xb288c8(0x1cf)](_0x1b131d);break;case d[_0xb288c8(0x231)][_0xb288c8(0x213)]:this['_handleTerminate']();break;case d[_0xb288c8(0x231)][_0xb288c8(0x1a3)]:this[_0xb288c8(0x1cb)](_0x1b131d);break;}}));}[_0x353631(0x1d8)](){const _0x202691=_0x353631;this['_collabSession'][_0x202691(0x228)]({'eventID':d[_0x202691(0x231)][_0x202691(0x1d7)],'data':{'unitID':this[_0x202691(0x23f)],'userID':this[_0x202691(0x22a)][_0x202691(0x237)]()}},this['_unitID']);}['stopPresenting'](){const _0x4feaf2=_0x353631;this['_status']===_0x4feaf2(0x21f)&&(this[_0x4feaf2(0x16f)][_0x4feaf2(0x1be)](_0x4feaf2(0x1da)),this[_0x4feaf2(0x22a)]['send']({'eventID':d[_0x4feaf2(0x231)]['LIVESHARE_TERMINATE'],'data':{'unitID':this[_0x4feaf2(0x23f)]}},this[_0x4feaf2(0x23f)]));}['startFollowing'](){const _0x5b9014=_0x353631;this[_0x5b9014(0x1c0)]===_0x5b9014(0x23e)&&(this[_0x5b9014(0x16f)][_0x5b9014(0x1be)](_0x5b9014(0x22e)),this['_startFollowing']());}['stopFollowing'](){const _0x43e242=_0x353631;this['_status']===_0x43e242(0x22e)&&this[_0x43e242(0x21b)]();}[_0x353631(0x1ac)](_0x390393){const _0x5f7da1=_0x353631,{presenter:_0x57447c}=_0x390393[_0x5f7da1(0x236)],_0x3e973e=this[_0x5f7da1(0x22a)][_0x5f7da1(0x237)]();this[_0x5f7da1(0x198)]=_0x57447c,_0x57447c===_0x3e973e?(this[_0x5f7da1(0x21b)](),this[_0x5f7da1(0x1fe)]()):this[_0x5f7da1(0x1c0)]!==_0x5f7da1(0x23e)&&(this[_0x5f7da1(0x18a)](),this[_0x5f7da1(0x1aa)]());}['_fetchOperations'](){const _0x5a2a45=_0x353631,_0x4aaee8={'eventID':d[_0x5a2a45(0x231)][_0x5a2a45(0x206)]};this[_0x5a2a45(0x22a)][_0x5a2a45(0x228)](_0x4aaee8,this[_0x5a2a45(0x23f)]);}[_0x353631(0x1b9)](){const _0x31dccc=_0x353631;this[_0x31dccc(0x198)]=null,this[_0x31dccc(0x1c0)]!=='presenting'&&this[_0x31dccc(0x17a)]();}[_0x353631(0x1cb)](_0x10d7ca){const _0x3b5271=_0x353631;if(this[_0x3b5271(0x1c0)]===_0x3b5271(0x22e)&&this[_0x3b5271(0x198)]===_0x10d7ca[_0x3b5271(0x236)][_0x3b5271(0x1ae)]){const _0xc2a321=d['parseProtocolChangeset'](_0x10d7ca[_0x3b5271(0x236)])[_0x3b5271(0x21a)][_0x3b5271(0x1c9)]()[_0x3b5271(0x194)](_0x11e052=>_0x11e052['id']===C[_0x3b5271(0x1c8)]['id']);if(_0xc2a321){const _0x21e0b0=_0xc2a321[_0x3b5271(0x227)][_0x3b5271(0x1f5)],_0x34fc74=_0xc2a321[_0x3b5271(0x227)][_0x3b5271(0x18f)]['id'];setTimeout(()=>{const _0x551dbe=_0x3b5271;this[_0x551dbe(0x1d3)][_0x551dbe(0x1e0)](C[_0x551dbe(0x1de)]['id'],{'unitId':_0x21e0b0,'subUnitId':_0x34fc74},{'fromCollab':!0x0});});}}}[_0x353631(0x1fe)](){const _0x321099=_0x353631;this[_0x321099(0x16f)][_0x321099(0x1be)]('presenting');const _0x419927=new Map(),_0x6a1b92=this[_0x321099(0x219)]=new o[(_0x321099(0x220))]();_0x6a1b92['add'](o[_0x321099(0x223)](()=>{const _0x333816=_0x321099;_0x419927[_0x333816(0x1fa)](_0x2e4fee=>_0x2e4fee[_0x333816(0x1b4)]()),_0x419927[_0x333816(0x20d)]();})),_0x6a1b92[_0x321099(0x1e7)](this['_commandService'][_0x321099(0x175)](_0x18e5bc=>{const _0x2f5355=_0x321099;var _0x42d3e1;if(_0x18e5bc[_0x2f5355(0x179)]!==o['CommandType'][_0x2f5355(0x181)]||!this[_0x2f5355(0x22f)][_0x2f5355(0x22b)](_0x18e5bc['id']))return;const {id:_0x28004d}=_0x18e5bc;let _0x41a943;_0x419927[_0x2f5355(0x1db)](_0x28004d)?_0x41a943=_0x419927[_0x2f5355(0x1b8)](_0x28004d):(_0x41a943=new O['Subject'](),_0x419927[_0x2f5355(0x1ec)](_0x28004d,_0x41a943),_0x41a943['pipe'](I[_0x2f5355(0x1a2)]((_0x42d3e1=this[_0x2f5355(0x215)][_0x2f5355(0x232)](k))!=null?_0x42d3e1:q,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x2f5355(0x23a)](_0x38854d=>{const _0x1ef010=_0x2f5355;this[_0x1ef010(0x22a)][_0x1ef010(0x228)]({'eventID':d[_0x1ef010(0x231)][_0x1ef010(0x218)],'data':{'unitID':this[_0x1ef010(0x23f)],'operations':{[_0x38854d['id']]:{'id':_0x38854d['id'],'params':JSON[_0x1ef010(0x191)](_0x38854d[_0x1ef010(0x227)])}}}},this[_0x1ef010(0x23f)]);})),_0x41a943[_0x2f5355(0x1be)](_0x18e5bc);})),this[_0x321099(0x22f)][_0x321099(0x205)](this[_0x321099(0x23f)])['forEach'](_0x32c76f=>this[_0x321099(0x22a)][_0x321099(0x228)]({'eventID':d[_0x321099(0x231)][_0x321099(0x218)],'data':{'unitID':this[_0x321099(0x23f)],'operations':{[_0x32c76f['id']]:{'id':_0x32c76f['id'],'params':JSON[_0x321099(0x191)](_0x32c76f['params'])}}}},this['_unitID']));}[_0x353631(0x18a)](){const _0xd9efa6=_0x353631;var _0x3a8fce;this[_0xd9efa6(0x16f)][_0xd9efa6(0x1be)](_0xd9efa6(0x1da)),(_0x3a8fce=this['_commandDisposable'])==null||_0x3a8fce[_0xd9efa6(0x17c)](),this[_0xd9efa6(0x219)]=null;}['_startFollowing'](){const _0x3399c4=_0x353631;var _0x4e032f;(_0x4e032f=this['_commandDisposable'])==null||_0x4e032f[_0x3399c4(0x17c)](),this['_status$']['next'](_0x3399c4(0x22e));}[_0x353631(0x17a)](){const _0x30e810=_0x353631;var _0x4f2a73;this['_status$']['next'](_0x30e810(0x1da)),(_0x4f2a73=this[_0x30e810(0x219)])==null||_0x4f2a73['dispose'](),this[_0x30e810(0x219)]=null;}[_0x353631(0x21b)](){const _0x39f518=_0x353631;var _0x13b7e7;this[_0x39f518(0x16f)]['next'](_0x39f518(0x23e)),(_0x13b7e7=this[_0x39f518(0x219)])==null||_0x13b7e7[_0x39f518(0x17c)]();}[_0x353631(0x1cf)](_0x4b7494){const _0x17b1f3=_0x353631;if([_0x17b1f3(0x21f),'not-following',_0x17b1f3(0x208)][_0x17b1f3(0x203)](this[_0x17b1f3(0x1c0)])||!_0x4b7494['data'][_0x17b1f3(0x214)]||_0x4b7494[_0x17b1f3(0x236)][_0x17b1f3(0x214)]===this[_0x17b1f3(0x22a)][_0x17b1f3(0x237)]())return;this[_0x17b1f3(0x1c0)]==='idle'&&this[_0x17b1f3(0x1aa)]();const _0x4cce5f=_0x4b7494[_0x17b1f3(0x236)][_0x17b1f3(0x200)];Object[_0x17b1f3(0x1bb)](_0x4cce5f)[_0x17b1f3(0x1fa)](_0x34f331=>{const _0x373e81=_0x17b1f3;this['_commandService'][_0x373e81(0x1e0)](_0x34f331['id'],_0x34f331['params']?JSON[_0x373e81(0x17f)](_0x34f331['params']):null,{'fromCollab':!0x0});});}['_handleOffline'](){const _0x390117=_0x353631;var _0x4b48dd;this['_status$'][_0x390117(0x1be)]('offline'),(_0x4b48dd=this[_0x390117(0x219)])==null||_0x4b48dd[_0x390117(0x17c)]();}[_0x353631(0x21c)](){const _0x142d04=_0x353631;this[_0x142d04(0x16f)][_0x142d04(0x1be)]('idle'),this[_0x142d04(0x1a6)]();}},exports['LiveShareCoordinator']=P([S(0x2,o['IConfigService']),S(0x3,o[_0x353631(0x20a)](E)),S(0x4,o[_0x353631(0x217)])],exports[_0x353631(0x21d)]);function $(){const _0x496441=_0x353631,_0x13250f=p['useDependency'](exports['LiveShareController']),_0x338a94=p['useDependency'](o[_0x496441(0x1ad)]),_0x1a6f47=p['useObservable'](()=>_0x338a94[_0x496441(0x1ed)](o[_0x496441(0x1ab)][_0x496441(0x187)]),void 0x0,!0x1,[]),[_0x43cc3a,_0x244744]=v[_0x496441(0x1a0)](null),[_0x555eba,_0x412172]=v[_0x496441(0x1a0)](u['IDLE']),_0x26172e=v[_0x496441(0x241)](null);return v[_0x496441(0x174)](()=>(_0x1a6f47&&_0x13250f['getLiveShareCoordinator'](_0x1a6f47[_0x496441(0x1f4)]())[_0x496441(0x1bf)](_0x201fef=>{const _0x78747d=_0x496441;_0x244744(_0x201fef),_0x26172e[_0x78747d(0x243)]=_0x201fef[_0x78747d(0x23d)][_0x78747d(0x23a)](_0x54563f=>{_0x412172(_0x54563f);});}),()=>{const _0x41258a=_0x496441;var _0x4c44b4;(_0x4c44b4=_0x26172e[_0x41258a(0x243)])==null||_0x4c44b4[_0x41258a(0x17b)](),_0x26172e['current']=null;}),[_0x1a6f47,_0x13250f]),_0x43cc3a?l[_0x496441(0x226)](f[_0x496441(0x193)],{'align':_0x496441(0x173),'disabled':_0x555eba===u[_0x496441(0x19c)],'className':_0x496441(0x1d0),'overlay':l[_0x496441(0x226)](W,{'status':_0x555eba,'coordinator':_0x43cc3a}),'children':l[_0x496441(0x226)](_0x496441(0x22d),{'className':f[_0x496441(0x235)](_0x496441(0x199),{'univer-cursor-not-allowed':_0x555eba===u[_0x496441(0x19c)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x555eba!==u[_0x496441(0x19c)]}),'type':'button','children':l['jsx'](R,{'className':_0x496441(0x1af)})})}):null;}function _0x17bb(_0x257712,_0x3e5de8){_0x257712=_0x257712-0x16f;const _0x489237=_0x4892();let _0x17bb0c=_0x489237[_0x257712];return _0x17bb0c;}function W(_0x447ccc){const _0x146874=_0x353631,{status:_0x416224,coordinator:_0x47fedc}=_0x447ccc;switch(_0x416224){case u[_0x146874(0x20c)]:return l[_0x146874(0x226)](G,{'coordinator':_0x47fedc});case u[_0x146874(0x1e9)]:return l[_0x146874(0x226)](B,{'coordinator':_0x47fedc});case u[_0x146874(0x1ca)]:return l[_0x146874(0x226)](Y,{'coordinator':_0x47fedc});case u[_0x146874(0x19c)]:return l[_0x146874(0x226)](J,{});case u[_0x146874(0x1b6)]:return l[_0x146874(0x226)](Z,{'coordinator':_0x47fedc});default:return null;}}function G(_0x391792){const _0x1faff6=_0x353631,{coordinator:_0x1e3e3a}=_0x391792;return l[_0x1faff6(0x1cd)](l[_0x1faff6(0x1a8)],{'children':[l[_0x1faff6(0x226)]('div',{'className':_0x1faff6(0x210),'children':_0x1faff6(0x1df)}),l[_0x1faff6(0x226)](f[_0x1faff6(0x21e)],{'onClick':()=>_0x1e3e3a[_0x1faff6(0x1d8)](),'children':'Start'})]});}function B(_0x24d494){const _0x911dec=_0x353631,{coordinator:_0x30daaa}=_0x24d494;return l[_0x911dec(0x1cd)](l[_0x911dec(0x1a8)],{'children':[l[_0x911dec(0x226)](_0x911dec(0x1c6),{'className':_0x911dec(0x210),'children':_0x911dec(0x176)}),l[_0x911dec(0x226)](f[_0x911dec(0x21e)],{'onClick':()=>_0x30daaa[_0x911dec(0x1e5)](),'children':'Stop\x20following'})]});}function Y(_0x4f6e95){const _0x14c01e=_0x353631,{coordinator:_0x12b3b5}=_0x4f6e95;return l[_0x14c01e(0x1cd)](l[_0x14c01e(0x1a8)],{'children':[l[_0x14c01e(0x226)](_0x14c01e(0x1c6),{'className':_0x14c01e(0x210),'children':_0x14c01e(0x1a7)}),l[_0x14c01e(0x226)](f[_0x14c01e(0x21e)],{'variant':_0x14c01e(0x1b1),'onClick':()=>_0x12b3b5[_0x14c01e(0x192)](),'children':_0x14c01e(0x20b)})]});}function Z(_0x34db22){const _0x42d6e9=_0x353631,{coordinator:_0x2d2473}=_0x34db22;return l[_0x42d6e9(0x1cd)](l['Fragment'],{'children':[l[_0x42d6e9(0x226)](_0x42d6e9(0x1c6),{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':_0x42d6e9(0x190)}),l[_0x42d6e9(0x226)](f[_0x42d6e9(0x21e)],{'variant':_0x42d6e9(0x17e),'onClick':()=>_0x2d2473[_0x42d6e9(0x247)](),'children':_0x42d6e9(0x1e8)})]});}function J(){const _0x3e2b80=_0x353631;return l['jsx'](l[_0x3e2b80(0x1a8)],{'children':_0x3e2b80(0x1d6)});}var K=Object[_0x353631(0x1e1)],z=(_0x480631,_0x159c47,_0x137477,_0x4d1cb0)=>{const _0x2b2bcb=_0x353631;for(var _0x3f922e=_0x4d1cb0>0x1?void 0x0:_0x4d1cb0?K(_0x159c47,_0x137477):_0x159c47,_0x2c1ac9=_0x480631[_0x2b2bcb(0x1b5)]-0x1,_0x206aa7;_0x2c1ac9>=0x0;_0x2c1ac9--)(_0x206aa7=_0x480631[_0x2c1ac9])&&(_0x3f922e=_0x206aa7(_0x3f922e)||_0x3f922e);return _0x3f922e;},L=(_0x54daaf,_0x307c81)=>(_0x550381,_0x29f486)=>_0x307c81(_0x550381,_0x29f486,_0x54daaf);exports['DesktopLiveShareController']=class extends o[_0x353631(0x233)]{constructor(_0x21ea14,_0x3c551a){const _0x26c5d0=_0x353631;super(),this[_0x26c5d0(0x177)]=_0x21ea14,this[_0x26c5d0(0x240)]=_0x3c551a,this[_0x26c5d0(0x1ee)]();}[_0x353631(0x1ee)](){const _0x5018af=_0x353631;this[_0x5018af(0x204)](this[_0x5018af(0x240)][_0x5018af(0x1e2)](p[_0x5018af(0x19b)][_0x5018af(0x1bd)],()=>p[_0x5018af(0x170)]($,this['_injector'])));}},exports['DesktopLiveShareController']=z([L(0x0,o['Inject'](o[_0x353631(0x1b7)])),L(0x1,p[_0x353631(0x1f3)])],exports[_0x353631(0x1ce)]);const Q='live-share.config',w={};var X=Object[_0x353631(0x1e1)],ee=(_0x1e8347,_0x19bb0b,_0x54866e,_0x45db90)=>{const _0x3bad49=_0x353631;for(var _0xaf65a7=_0x45db90>0x1?void 0x0:_0x45db90?X(_0x19bb0b,_0x54866e):_0x19bb0b,_0x4985c8=_0x1e8347[_0x3bad49(0x1b5)]-0x1,_0x205db4;_0x4985c8>=0x0;_0x4985c8--)(_0x205db4=_0x1e8347[_0x4985c8])&&(_0xaf65a7=_0x205db4(_0xaf65a7)||_0xaf65a7);return _0xaf65a7;},te=(_0x2f636a,_0x539b5f)=>(_0x5eeba2,_0x2c16ca)=>_0x539b5f(_0x5eeba2,_0x2c16ca,_0x2f636a);let m=class extends o[_0x353631(0x233)]{constructor(_0x23c959){const _0x24d45d=_0x353631;super(),this[_0x24d45d(0x22f)]=_0x23c959,this[_0x24d45d(0x171)]();}['_init'](){const _0x1a21d0=_0x353631;[D[_0x1a21d0(0x18c)]['id'],D[_0x1a21d0(0x1b0)]['id'],C['SetWorksheetActiveOperation']['id']][_0x1a21d0(0x1fa)](_0x43e0e4=>{const _0x45887d=_0x1a21d0;this['disposeWithMe'](this[_0x45887d(0x22f)][_0x45887d(0x207)](_0x43e0e4));});}};m=ee([te(0x0,o[_0x353631(0x20a)](E))],m);var ie=Object[_0x353631(0x1e6)],se=Object[_0x353631(0x1e1)],ne=(_0x3f9c10,_0x1028e4,_0x555328)=>_0x1028e4 in _0x3f9c10?ie(_0x3f9c10,_0x1028e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x555328}):_0x3f9c10[_0x1028e4]=_0x555328,re=(_0x1c7e95,_0x4843bd,_0x3f545a,_0x55d08e)=>{const _0x4dd4e9=_0x353631;for(var _0x28081c=_0x55d08e>0x1?void 0x0:_0x55d08e?se(_0x4843bd,_0x3f545a):_0x4843bd,_0x190671=_0x1c7e95[_0x4dd4e9(0x1b5)]-0x1,_0x3ef495;_0x190671>=0x0;_0x190671--)(_0x3ef495=_0x1c7e95[_0x190671])&&(_0x28081c=_0x3ef495(_0x28081c)||_0x28081c);return _0x28081c;},N=(_0x4b9ba7,_0x3b0df6)=>(_0x2719ae,_0x166b48)=>_0x3b0df6(_0x2719ae,_0x166b48,_0x4b9ba7),A=(_0x4bae38,_0x437002,_0x17b580)=>ne(_0x4bae38,typeof _0x437002!=_0x353631(0x17d)?_0x437002+'':_0x437002,_0x17b580);const oe='UNIVER_LIVE_SHARE_PLUGIN';exports[_0x353631(0x180)]=class extends o[_0x353631(0x1c7)]{constructor(_0x54fb27=w,_0x3ab541,_0xd30164){const _0x414852=_0x353631;super(),this[_0x414852(0x20f)]=_0x54fb27,this[_0x414852(0x177)]=_0x3ab541,this[_0x414852(0x215)]=_0xd30164;const {..._0x41982e}=o[_0x414852(0x1f7)]({},w,this[_0x414852(0x20f)]);this[_0x414852(0x215)][_0x414852(0x1c1)](Q,_0x41982e);}[_0x353631(0x1ea)](){const _0x87bf0b=_0x353631;o['registerDependencies'](this[_0x87bf0b(0x177)],o['mergeOverrideWithDependencies']([[E],[exports[_0x87bf0b(0x1f6)]],[m],[exports[_0x87bf0b(0x1ce)]]],this[_0x87bf0b(0x20f)][_0x87bf0b(0x225)])),o[_0x87bf0b(0x186)](this[_0x87bf0b(0x177)],[[m]]);}['onRendered'](){const _0x237d8e=_0x353631;o[_0x237d8e(0x186)](this[_0x237d8e(0x177)],[[exports['DesktopLiveShareController']]]);}},A(exports[_0x353631(0x180)],'type',o[_0x353631(0x1ab)][_0x353631(0x1f0)]),A(exports['UniverLiveSharePlugin'],_0x353631(0x238),oe),exports[_0x353631(0x180)]=re([o['DependentOn'](b[_0x353631(0x196)]),N(0x1,o[_0x353631(0x20a)](o[_0x353631(0x1b7)])),N(0x2,o[_0x353631(0x1f1)])],exports[_0x353631(0x180)]),exports[_0x353631(0x1f2)]=$,exports[_0x353631(0x242)]=E,exports['LiveShareStatus']=u;
1
+ 'use strict';const _0x1789ed=_0x5a94;(function(_0x17133c,_0x1eb6d6){const _0x1672fc=_0x5a94,_0xbf9a90=_0x17133c();while(!![]){try{const _0x56799f=-parseInt(_0x1672fc(0x193))/0x1+parseInt(_0x1672fc(0x223))/0x2*(parseInt(_0x1672fc(0x214))/0x3)+parseInt(_0x1672fc(0x237))/0x4+-parseInt(_0x1672fc(0x1b8))/0x5*(-parseInt(_0x1672fc(0x1b3))/0x6)+parseInt(_0x1672fc(0x171))/0x7*(-parseInt(_0x1672fc(0x178))/0x8)+parseInt(_0x1672fc(0x1d9))/0x9+-parseInt(_0x1672fc(0x1aa))/0xa;if(_0x56799f===_0x1eb6d6)break;else _0xbf9a90['push'](_0xbf9a90['shift']());}catch(_0xb675c6){_0xbf9a90['push'](_0xbf9a90['shift']());}}}(_0x2aa3,0x8e4ce));var T=Object['defineProperty'],U=(_0x297f51,_0x191dac,_0x3af6dc)=>_0x191dac in _0x297f51?T(_0x297f51,_0x191dac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3af6dc}):_0x297f51[_0x191dac]=_0x3af6dc,_=(_0x3d6c86,_0xbd9d86,_0x33ecc1)=>U(_0x3d6c86,typeof _0xbd9d86!=_0x1789ed(0x202)?_0xbd9d86+'':_0xbd9d86,_0x33ecc1);Object[_0x1789ed(0x1c3)](exports,Symbol[_0x1789ed(0x215)],{'value':_0x1789ed(0x201)});const o=require('@univerjs/core'),p=require('@univerjs/ui'),l=require('react/jsx-runtime'),f=require('@univerjs/design'),v=require('react'),d=require('@univerjs-pro/collaboration'),b=require('@univerjs-pro/collaboration-client'),C=require('@univerjs/sheets'),O=require('rxjs'),I=require('rxjs/operators'),D=require('@univerjs/sheets-ui');function x({ref:_0xf54630,..._0x28cd1f}){const _0x132acc=_0x1789ed,{icon:_0x231459,id:_0x671e15,className:_0x4e92ae,extend:_0x12a2a1,..._0x1e4d38}=_0x28cd1f,_0x270f34=('univerjs-icon\x20univerjs-icon-'+_0x671e15+'\x20'+(_0x4e92ae||''))[_0x132acc(0x19e)](),_0x4634b3=v['useRef']('_'+H());return j(_0x231459,''+_0x671e15,{'defIds':_0x231459['defIds'],'idSuffix':_0x4634b3[_0x132acc(0x1fb)]},{'ref':_0xf54630,'className':_0x270f34,..._0x1e4d38},_0x12a2a1);}function j(_0x169835,_0x2f8c2f,_0x4632e6,_0x525b33,_0x2bde91){const _0x569448=_0x1789ed;return v['createElement'](_0x169835[_0x569448(0x18e)],{'key':_0x2f8c2f,...y(_0x169835,_0x4632e6,_0x2bde91),..._0x525b33},(F(_0x169835,_0x4632e6)[_0x569448(0x177)]||[])[_0x569448(0x1bf)]((_0x4a3059,_0xc6046a)=>j(_0x4a3059,_0x2f8c2f+'-'+_0x169835[_0x569448(0x18e)]+'-'+_0xc6046a,_0x4632e6,void 0x0,_0x2bde91)));}function y(_0x44535a,_0xb4b199,_0x1590bd){const _0x34c935=_0x1789ed,_0x267d07={..._0x44535a['attrs']};_0x1590bd!=null&&_0x1590bd[_0x34c935(0x190)]&&_0x267d07['fill']===_0x34c935(0x190)&&(_0x267d07[_0x34c935(0x21d)]=_0x1590bd['colorChannel1']),_0x44535a[_0x34c935(0x18e)]===_0x34c935(0x176)&&_0x267d07['id']&&(_0x267d07['id']=_0x267d07['id']+_0xb4b199[_0x34c935(0x1d3)]),Object['entries'](_0x267d07)['forEach'](([_0x1c0fd6,_0x46c6a5])=>{const _0x25116c=_0x34c935;_0x1c0fd6===_0x25116c(0x176)&&typeof _0x46c6a5==_0x25116c(0x1fe)&&(_0x267d07[_0x1c0fd6]=_0x46c6a5[_0x25116c(0x235)](/url\(#(.*)\)/,'url(#$1'+_0xb4b199[_0x25116c(0x1d3)]+')'));});const {defIds:_0x957e70}=_0xb4b199;return!_0x957e70||_0x957e70[_0x34c935(0x1df)]===0x0||(_0x44535a[_0x34c935(0x18e)]===_0x34c935(0x218)&&_0x267d07[_0x34c935(0x236)]&&(_0x267d07[_0x34c935(0x236)]=_0x267d07[_0x34c935(0x236)]+_0xb4b199[_0x34c935(0x1d3)]),Object[_0x34c935(0x16c)](_0x267d07)[_0x34c935(0x1de)](([_0x44c382,_0x305e8c])=>{const _0x50986d=_0x34c935;typeof _0x305e8c=='string'&&(_0x267d07[_0x44c382]=_0x305e8c[_0x50986d(0x235)](/url\(#(.*)\)/,_0x50986d(0x1f4)+_0xb4b199[_0x50986d(0x1d3)]+')'));})),_0x267d07;}function F(_0xd01cdd,_0x206a61){const _0x310d6a=_0x1789ed;var _0x3bc1f2;const {defIds:_0x1e104e}=_0x206a61;return!_0x1e104e||_0x1e104e['length']===0x0?_0xd01cdd:_0xd01cdd[_0x310d6a(0x18e)]==='defs'&&((_0x3bc1f2=_0xd01cdd['children'])!=null&&_0x3bc1f2[_0x310d6a(0x1df)])?{..._0xd01cdd,'children':_0xd01cdd[_0x310d6a(0x177)][_0x310d6a(0x1bf)](_0x9f87ef=>typeof _0x9f87ef[_0x310d6a(0x1e9)]['id']=='string'&&_0x1e104e&&_0x1e104e['includes'](_0x9f87ef[_0x310d6a(0x1e9)]['id'])?{..._0x9f87ef,'attrs':{..._0x9f87ef['attrs'],'id':_0x9f87ef[_0x310d6a(0x1e9)]['id']+_0x206a61[_0x310d6a(0x1d3)]}}:_0x9f87ef)}:_0xd01cdd;}function H(){const _0x571615=_0x1789ed;return Math[_0x571615(0x1c1)]()['toString'](0x24)[_0x571615(0x20b)](0x2,0x8);}x['displayName']='UniverIcon';const V={'tag':_0x1789ed(0x1f8),'attrs':{'xmlns':_0x1789ed(0x209),'fill':_0x1789ed(0x238),'viewBox':'0\x200\x2017\x2017','width':_0x1789ed(0x1f7),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x1789ed(0x184),'d':_0x1789ed(0x1f1)}},{'tag':_0x1789ed(0x234),'attrs':{'fill':_0x1789ed(0x184),'d':_0x1789ed(0x1e0),'fillRule':'evenodd','clipRule':_0x1789ed(0x1cd)}}]},R=v['forwardRef'](function(_0x15b901,_0x4c073a){const _0x133c57=_0x1789ed;return v['createElement'](x,Object[_0x133c57(0x208)]({},_0x15b901,{'id':_0x133c57(0x19d),'ref':_0x4c073a,'icon':V}));});R[_0x1789ed(0x1af)]=_0x1789ed(0x22e);class E extends o[_0x1789ed(0x1db)]{constructor(){const _0x43ff24=_0x1789ed;super(...arguments),_(this,_0x43ff24(0x1b0),new Set()),_(this,'_reporters',new Set());}[_0x1789ed(0x16f)](_0x2cb3dc){const _0x28d4d9=_0x1789ed;return this[_0x28d4d9(0x1b0)][_0x28d4d9(0x16d)](_0x2cb3dc),o['toDisposable'](()=>this[_0x28d4d9(0x1b0)][_0x28d4d9(0x1c8)](_0x2cb3dc));}['registerInitialStateReporter'](_0x54c827){const _0x2e5337=_0x1789ed;return this['_reporters']['add'](_0x54c827),o[_0x2e5337(0x182)](()=>this[_0x2e5337(0x22c)]['delete'](_0x54c827));}['shouldShareOperation'](_0x15e2dc){const _0x104eae=_0x1789ed;return this[_0x104eae(0x1b0)][_0x104eae(0x1f9)](_0x15e2dc);}[_0x1789ed(0x18a)](_0x160e87){const _0x511d05=_0x1789ed;return Array[_0x511d05(0x196)](this['_reporters'])[_0x511d05(0x1bf)](_0x2fb5dd=>_0x2fb5dd(_0x160e87));}}var M=Object['getOwnPropertyDescriptor'],P=(_0x12049c,_0x3e6f57,_0x5c7cae,_0x4fe722)=>{const _0x3def05=_0x1789ed;for(var _0x1cf3f0=_0x4fe722>0x1?void 0x0:_0x4fe722?M(_0x3e6f57,_0x5c7cae):_0x3e6f57,_0x2d2974=_0x12049c[_0x3def05(0x1df)]-0x1,_0x2160ba;_0x2d2974>=0x0;_0x2d2974--)(_0x2160ba=_0x12049c[_0x2d2974])&&(_0x1cf3f0=_0x2160ba(_0x1cf3f0)||_0x1cf3f0);return _0x1cf3f0;},S=(_0x3c758d,_0x3ede5)=>(_0x5080fc,_0x2d04c0)=>_0x3ede5(_0x5080fc,_0x2d04c0,_0x3c758d);exports[_0x1789ed(0x195)]=class extends o[_0x1789ed(0x17a)]{constructor(_0xf8c687,_0x1f9cb4,_0x4c954f){const _0x4aeb54=_0x1789ed;super(),_(this,_0x4aeb54(0x186),new Map()),(this['_univerInstanceService']=_0xf8c687,this[_0x4aeb54(0x23a)]=_0x1f9cb4,this[_0x4aeb54(0x213)]=_0x4c954f,this[_0x4aeb54(0x1e7)]());}async[_0x1789ed(0x228)](_0x5b570c){const _0x29ccf1=_0x1789ed;return this[_0x29ccf1(0x186)]['has'](_0x5b570c)||await this[_0x29ccf1(0x174)](_0x5b570c),this['_entities']['get'](_0x5b570c);}[_0x1789ed(0x1dd)](_0x8048de){const _0x51ed92=_0x1789ed;var _0x4b467b;return(_0x4b467b=this[_0x51ed92(0x186)][_0x51ed92(0x1c2)](_0x8048de))!=null?_0x4b467b:null;}[_0x1789ed(0x1e7)](){const _0x3e0bcc=_0x1789ed;this[_0x3e0bcc(0x222)][_0x3e0bcc(0x21f)](o['UniverInstanceType'][_0x3e0bcc(0x20c)])[_0x3e0bcc(0x210)](I[_0x3e0bcc(0x192)](this[_0x3e0bcc(0x1a7)]))['subscribe'](async _0x4ea3c0=>{const _0xfd0e=_0x3e0bcc,_0x135ae1=_0x4ea3c0[_0xfd0e(0x205)]();this[_0xfd0e(0x186)]['has'](_0x135ae1)||this[_0xfd0e(0x174)](_0x135ae1);}),this[_0x3e0bcc(0x222)]['getTypeOfUnitDisposed$'](o[_0x3e0bcc(0x217)][_0x3e0bcc(0x20c)])['pipe'](I[_0x3e0bcc(0x192)](this[_0x3e0bcc(0x1a7)]))[_0x3e0bcc(0x1d8)](_0x121b97=>{const _0x389ca9=_0x3e0bcc,_0x4fac97=_0x121b97[_0x389ca9(0x205)](),_0x52f48f=this[_0x389ca9(0x186)][_0x389ca9(0x1c2)](_0x4fac97);_0x52f48f==null||_0x52f48f[_0x389ca9(0x20e)]();});}async[_0x1789ed(0x174)](_0x5a61db){const _0x4028e7=_0x1789ed,_0x1d2f1c=await this[_0x4028e7(0x213)]['requireSession'](_0x5a61db),_0x5b6787=this['_injector']['createInstance'](exports['LiveShareCoordinator'],_0x5a61db,_0x1d2f1c);return _0x5b6787[_0x4028e7(0x1c9)](),this[_0x4028e7(0x186)][_0x4028e7(0x18f)](_0x5a61db,_0x5b6787),_0x5b6787;}},exports[_0x1789ed(0x195)]=P([S(0x0,o[_0x1789ed(0x1eb)]),S(0x1,o[_0x1789ed(0x1e1)](o[_0x1789ed(0x18b)])),S(0x2,o['Inject'](b[_0x1789ed(0x19b)]))],exports[_0x1789ed(0x195)]);var u=(_0x56a3c4=>(_0x56a3c4['OFFLINE']='offline',_0x56a3c4['IDLE']='idle',_0x56a3c4[_0x1789ed(0x17d)]=_0x1789ed(0x233),_0x56a3c4[_0x1789ed(0x170)]=_0x1789ed(0x191),_0x56a3c4[_0x1789ed(0x1da)]=_0x1789ed(0x179),_0x56a3c4))(u||{});const k=_0x1789ed(0x1e5),q=0xc8;exports[_0x1789ed(0x199)]=class extends o[_0x1789ed(0x17a)]{constructor(_0x47ff23,_0x2e08ef,_0x2747ad,_0xaba262,_0x4f2c3f){const _0x49e41b=_0x1789ed;super(),_(this,_0x49e41b(0x22d),new O[(_0x49e41b(0x224))]('idle')),_(this,_0x49e41b(0x17f),this[_0x49e41b(0x22d)][_0x49e41b(0x1bb)]()),_(this,'_init',!0x1),_(this,'_commandDisposable',null),_(this,_0x49e41b(0x187),null),(this[_0x49e41b(0x1d2)]=_0x47ff23,this['_collabSession']=_0x2e08ef,this[_0x49e41b(0x220)]=_0x2747ad,this[_0x49e41b(0x1e8)]=_0xaba262,this['_commandService']=_0x4f2c3f);}get[_0x1789ed(0x203)](){const _0x1bee99=_0x1789ed;return this[_0x1bee99(0x22d)]['getValue']();}[_0x1789ed(0x20e)](){const _0x1c590a=_0x1789ed;var _0x1b26d3;(_0x1b26d3=this['_commandDisposable'])==null||_0x1b26d3['dispose'](),this[_0x1c590a(0x22d)][_0x1c590a(0x216)](_0x1c590a(0x1a8)),this['_status$']['complete']();}['getStatus'](){const _0x20acb8=_0x1789ed;return this[_0x20acb8(0x203)];}[_0x1789ed(0x1c9)](){const _0x2683d7=_0x1789ed;this[_0x2683d7(0x1e7)]||(this[_0x2683d7(0x1e7)]=!0x0,this[_0x2683d7(0x1a3)][_0x2683d7(0x1c6)][_0x2683d7(0x210)](I['takeUntil'](this['dispose$']))[_0x2683d7(0x1d8)](_0x284f79=>{const _0x51316a=_0x2683d7;switch(_0x284f79){case b['SessionStatus'][_0x51316a(0x183)]:this[_0x51316a(0x1b5)]();break;case b['SessionStatus']['ONLINE']:this[_0x51316a(0x200)]();break;}}),this[_0x2683d7(0x1a3)][_0x2683d7(0x225)][_0x2683d7(0x210)](I[_0x2683d7(0x192)](this[_0x2683d7(0x1a7)]))[_0x2683d7(0x1d8)](_0x19e514=>{const _0x1cdcac=_0x2683d7,{eventID:_0x381b29}=_0x19e514;switch(_0x381b29){case d[_0x1cdcac(0x21e)][_0x1cdcac(0x21a)]:this[_0x1cdcac(0x16b)](_0x19e514);break;case d[_0x1cdcac(0x21e)]['LIVESHARE_OPERATION']:this[_0x1cdcac(0x1a1)](_0x19e514);break;case d[_0x1cdcac(0x21e)][_0x1cdcac(0x1c7)]:this[_0x1cdcac(0x231)]();break;case d[_0x1cdcac(0x21e)][_0x1cdcac(0x1b6)]:this[_0x1cdcac(0x20d)](_0x19e514);break;}}));}[_0x1789ed(0x1b9)](){const _0x51020d=_0x1789ed;this[_0x51020d(0x1a3)][_0x51020d(0x229)]({'eventID':d[_0x51020d(0x21e)][_0x51020d(0x19a)],'data':{'unitID':this[_0x51020d(0x1d2)],'userID':this['_collabSession'][_0x51020d(0x173)]()}},this[_0x51020d(0x1d2)]);}[_0x1789ed(0x212)](){const _0xc2c9cc=_0x1789ed;this[_0xc2c9cc(0x203)]===_0xc2c9cc(0x179)&&(this[_0xc2c9cc(0x22d)][_0xc2c9cc(0x216)](_0xc2c9cc(0x1a8)),this['_collabSession']['send']({'eventID':d[_0xc2c9cc(0x21e)]['LIVESHARE_TERMINATE'],'data':{'unitID':this[_0xc2c9cc(0x1d2)]}},this[_0xc2c9cc(0x1d2)]));}[_0x1789ed(0x21c)](){const _0x5d28b7=_0x1789ed;this[_0x5d28b7(0x203)]==='not-following'&&(this['_status$'][_0x5d28b7(0x216)](_0x5d28b7(0x233)),this[_0x5d28b7(0x1b7)]());}[_0x1789ed(0x189)](){const _0x36a5d4=_0x1789ed;this[_0x36a5d4(0x203)]===_0x36a5d4(0x233)&&this['_stopFollowing']();}[_0x1789ed(0x16b)](_0xf0f28b){const _0x26675b=_0x1789ed,{presenter:_0x25a1f8}=_0xf0f28b[_0x26675b(0x20f)],_0x20ac72=this[_0x26675b(0x1a3)][_0x26675b(0x173)]();this[_0x26675b(0x187)]=_0x25a1f8,_0x25a1f8===_0x20ac72?(this[_0x26675b(0x204)](),this[_0x26675b(0x188)]()):this['_status']!==_0x26675b(0x191)&&(this[_0x26675b(0x1b4)](),this[_0x26675b(0x1b7)]());}[_0x1789ed(0x239)](){const _0x7422b1=_0x1789ed,_0x3b9bce={'eventID':d[_0x7422b1(0x21e)]['LIVESHARE_FETCH_OPERATIONS']};this['_collabSession'][_0x7422b1(0x229)](_0x3b9bce,this[_0x7422b1(0x1d2)]);}[_0x1789ed(0x231)](){const _0x4df01f=_0x1789ed;this[_0x4df01f(0x187)]=null,this['_status']!=='presenting'&&this[_0x4df01f(0x17e)]();}['_handleNewChangeSets'](_0x142fcc){const _0x105279=_0x1789ed;if(this[_0x105279(0x203)]===_0x105279(0x233)&&this[_0x105279(0x187)]===_0x142fcc[_0x105279(0x20f)][_0x105279(0x1be)]){const _0x432775=d[_0x105279(0x1ff)](_0x142fcc['data'])[_0x105279(0x181)][_0x105279(0x194)]()[_0x105279(0x1d1)](_0x37bb35=>_0x37bb35['id']===C[_0x105279(0x18d)]['id']);if(_0x432775){const _0x254faf=_0x432775['params'][_0x105279(0x1f6)],_0x345fb2=_0x432775[_0x105279(0x1a5)][_0x105279(0x1d5)]['id'];setTimeout(()=>{const _0x32f93e=_0x105279;this['_commandService'][_0x32f93e(0x17b)](C['SetWorksheetActiveOperation']['id'],{'unitId':_0x254faf,'subUnitId':_0x345fb2},{'fromCollab':!0x0});});}}}['_startPresenting'](){const _0x2769dc=_0x1789ed;this[_0x2769dc(0x22d)][_0x2769dc(0x216)](_0x2769dc(0x179));const _0x22e484=new Map(),_0x386f8d=this[_0x2769dc(0x1b2)]=new o[(_0x2769dc(0x22f))]();_0x386f8d[_0x2769dc(0x16d)](o[_0x2769dc(0x182)](()=>{const _0x18aa71=_0x2769dc;_0x22e484[_0x18aa71(0x1de)](_0x11a89f=>_0x11a89f[_0x18aa71(0x1f0)]()),_0x22e484[_0x18aa71(0x20a)]();})),_0x386f8d[_0x2769dc(0x16d)](this['_commandService']['onCommandExecuted'](_0xc71c95=>{const _0x4b841a=_0x2769dc;var _0x10f51a;if(_0xc71c95['type']!==o[_0x4b841a(0x230)][_0x4b841a(0x16e)]||!this[_0x4b841a(0x1e8)]['shouldShareOperation'](_0xc71c95['id']))return;const {id:_0x27a782}=_0xc71c95;let _0x10b69c;_0x22e484['has'](_0x27a782)?_0x10b69c=_0x22e484[_0x4b841a(0x1c2)](_0x27a782):(_0x10b69c=new O[(_0x4b841a(0x1fd))](),_0x22e484[_0x4b841a(0x18f)](_0x27a782,_0x10b69c),_0x10b69c['pipe'](I['throttleTime']((_0x10f51a=this[_0x4b841a(0x220)][_0x4b841a(0x1ee)](k))!=null?_0x10f51a:q,void 0x0,{'trailing':!0x0,'leading':!0x0}))['subscribe'](_0x5a4c81=>{const _0x40e618=_0x4b841a;this['_collabSession']['send']({'eventID':d[_0x40e618(0x21e)]['LIVESHARE_OPERATION'],'data':{'unitID':this[_0x40e618(0x1d2)],'operations':{[_0x5a4c81['id']]:{'id':_0x5a4c81['id'],'params':JSON[_0x40e618(0x1fa)](_0x5a4c81['params'])}}}},this[_0x40e618(0x1d2)]);})),_0x10b69c[_0x4b841a(0x216)](_0xc71c95);})),this[_0x2769dc(0x1e8)][_0x2769dc(0x18a)](this[_0x2769dc(0x1d2)])[_0x2769dc(0x1de)](_0x4b21b7=>this[_0x2769dc(0x1a3)][_0x2769dc(0x229)]({'eventID':d[_0x2769dc(0x21e)]['LIVESHARE_OPERATION'],'data':{'unitID':this['_unitID'],'operations':{[_0x4b21b7['id']]:{'id':_0x4b21b7['id'],'params':JSON['stringify'](_0x4b21b7[_0x2769dc(0x1a5)])}}}},this[_0x2769dc(0x1d2)]));}['_stopPresenting'](){const _0x6a8a15=_0x1789ed;var _0x596c88;this[_0x6a8a15(0x22d)]['next']('idle'),(_0x596c88=this[_0x6a8a15(0x1b2)])==null||_0x596c88[_0x6a8a15(0x20e)](),this[_0x6a8a15(0x1b2)]=null;}[_0x1789ed(0x1b7)](){const _0x23ee02=_0x1789ed;var _0x2b24d5;(_0x2b24d5=this[_0x23ee02(0x1b2)])==null||_0x2b24d5[_0x23ee02(0x20e)](),this[_0x23ee02(0x22d)][_0x23ee02(0x216)]('following');}[_0x1789ed(0x17e)](){const _0x17a371=_0x1789ed;var _0x5f1b0b;this['_status$'][_0x17a371(0x216)]('idle'),(_0x5f1b0b=this[_0x17a371(0x1b2)])==null||_0x5f1b0b[_0x17a371(0x20e)](),this[_0x17a371(0x1b2)]=null;}['_stopFollowing'](){const _0xe2911c=_0x1789ed;var _0x2c1ee4;this[_0xe2911c(0x22d)][_0xe2911c(0x216)](_0xe2911c(0x191)),(_0x2c1ee4=this['_commandDisposable'])==null||_0x2c1ee4[_0xe2911c(0x20e)]();}[_0x1789ed(0x1a1)](_0x3abe8d){const _0x1a0bba=_0x1789ed;if([_0x1a0bba(0x179),'not-following',_0x1a0bba(0x1d0)]['includes'](this[_0x1a0bba(0x203)])||!_0x3abe8d['data'][_0x1a0bba(0x197)]||_0x3abe8d[_0x1a0bba(0x20f)][_0x1a0bba(0x197)]===this[_0x1a0bba(0x1a3)][_0x1a0bba(0x173)]())return;this[_0x1a0bba(0x203)]===_0x1a0bba(0x1a8)&&this['_startFollowing']();const _0x45d751=_0x3abe8d[_0x1a0bba(0x20f)][_0x1a0bba(0x1ab)];Object['values'](_0x45d751)[_0x1a0bba(0x1de)](_0x37366f=>{const _0x125926=_0x1a0bba;this[_0x125926(0x175)][_0x125926(0x17b)](_0x37366f['id'],_0x37366f['params']?JSON[_0x125926(0x198)](_0x37366f[_0x125926(0x1a5)]):null,{'fromCollab':!0x0});});}['_handleOffline'](){const _0xed205b=_0x1789ed;var _0x208730;this['_status$'][_0xed205b(0x216)](_0xed205b(0x1d0)),(_0x208730=this[_0xed205b(0x1b2)])==null||_0x208730[_0xed205b(0x20e)]();}[_0x1789ed(0x200)](){const _0x332ab6=_0x1789ed;this[_0x332ab6(0x22d)]['next'](_0x332ab6(0x1a8)),this[_0x332ab6(0x239)]();}},exports['LiveShareCoordinator']=P([S(0x2,o[_0x1789ed(0x1a0)]),S(0x3,o[_0x1789ed(0x1e1)](E)),S(0x4,o[_0x1789ed(0x232)])],exports[_0x1789ed(0x199)]);function $(){const _0x499120=_0x1789ed,_0x18228e=p[_0x499120(0x1a9)](exports['LiveShareController']),_0x467c52=p[_0x499120(0x1a9)](o[_0x499120(0x1eb)]),_0x30d335=p[_0x499120(0x1ea)](()=>_0x467c52[_0x499120(0x1e2)](o['UniverInstanceType'][_0x499120(0x20c)]),void 0x0,!0x1,[]),[_0x569cdd,_0x26405b]=v['useState'](null),[_0x416066,_0x4aeca7]=v[_0x499120(0x1ad)](u[_0x499120(0x1a2)]),_0x4889a1=v[_0x499120(0x18c)](null);return v[_0x499120(0x1c0)](()=>(_0x30d335&&_0x18228e[_0x499120(0x228)](_0x30d335['getUnitId']())[_0x499120(0x1ca)](_0x207c21=>{const _0x15edd2=_0x499120;_0x26405b(_0x207c21),_0x4889a1['current']=_0x207c21['status$'][_0x15edd2(0x1d8)](_0x3aa8a8=>{_0x4aeca7(_0x3aa8a8);});}),()=>{const _0x26f6e8=_0x499120;var _0x657dab;(_0x657dab=_0x4889a1['current'])==null||_0x657dab[_0x26f6e8(0x180)](),_0x4889a1['current']=null;}),[_0x30d335,_0x18228e]),_0x569cdd?l[_0x499120(0x1cc)](f[_0x499120(0x1ba)],{'align':'end','disabled':_0x416066===u[_0x499120(0x183)],'className':_0x499120(0x1ec),'overlay':l[_0x499120(0x1cc)](W,{'status':_0x416066,'coordinator':_0x569cdd}),'children':l[_0x499120(0x1cc)]('button',{'className':f[_0x499120(0x1a6)](_0x499120(0x1c4),{'univer-cursor-not-allowed':_0x416066===u['OFFLINE'],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x416066!==u[_0x499120(0x183)]}),'type':'button','children':l['jsx'](R,{'className':_0x499120(0x1b1)})})}):null;}function W(_0x25c47c){const _0x53d174=_0x1789ed,{status:_0x1427ec,coordinator:_0x2aa91e}=_0x25c47c;switch(_0x1427ec){case u['IDLE']:return l['jsx'](G,{'coordinator':_0x2aa91e});case u['FOLLOWING']:return l[_0x53d174(0x1cc)](B,{'coordinator':_0x2aa91e});case u[_0x53d174(0x170)]:return l[_0x53d174(0x1cc)](Y,{'coordinator':_0x2aa91e});case u[_0x53d174(0x183)]:return l[_0x53d174(0x1cc)](J,{});case u[_0x53d174(0x1da)]:return l[_0x53d174(0x1cc)](Z,{'coordinator':_0x2aa91e});default:return null;}}function G(_0x285d6b){const _0x142da3=_0x1789ed,{coordinator:_0x163681}=_0x285d6b;return l[_0x142da3(0x1f3)](l['Fragment'],{'children':[l[_0x142da3(0x1cc)]('div',{'className':_0x142da3(0x1cb),'children':_0x142da3(0x207)}),l['jsx'](f[_0x142da3(0x17c)],{'onClick':()=>_0x163681['tryStartPresenting'](),'children':'Start'})]});}function B(_0x42f240){const _0x4aa3f2=_0x1789ed,{coordinator:_0x59f58e}=_0x42f240;return l['jsxs'](l[_0x4aa3f2(0x1dc)],{'children':[l[_0x4aa3f2(0x1cc)](_0x4aa3f2(0x22b),{'className':_0x4aa3f2(0x1cb),'children':'You\x27re\x20following\x20the\x20presenter'}),l[_0x4aa3f2(0x1cc)](f['Button'],{'onClick':()=>_0x59f58e['stopFollowing'](),'children':_0x4aa3f2(0x221)})]});}function _0x5a94(_0x353be0,_0x3f5971){_0x353be0=_0x353be0-0x16b;const _0x2aa3e8=_0x2aa3();let _0x5a94a0=_0x2aa3e8[_0x353be0];return _0x5a94a0;}function Y(_0x3c4d8b){const _0x638a4b=_0x1789ed,{coordinator:_0x5226a8}=_0x3c4d8b;return l[_0x638a4b(0x1f3)](l[_0x638a4b(0x1dc)],{'children':[l[_0x638a4b(0x1cc)]('div',{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':_0x638a4b(0x1d4)}),l[_0x638a4b(0x1cc)](f[_0x638a4b(0x17c)],{'variant':_0x638a4b(0x1ed),'onClick':()=>_0x5226a8['startFollowing'](),'children':'Start\x20following'})]});}function Z(_0x10334a){const _0x456a8a=_0x1789ed,{coordinator:_0x2d6408}=_0x10334a;return l[_0x456a8a(0x1f3)](l[_0x456a8a(0x1dc)],{'children':[l[_0x456a8a(0x1cc)](_0x456a8a(0x22b),{'className':_0x456a8a(0x1cb),'children':_0x456a8a(0x1d7)}),l[_0x456a8a(0x1cc)](f['Button'],{'variant':'default','onClick':()=>_0x2d6408['stopPresenting'](),'children':'Stop\x20presenting'})]});}function J(){const _0x173426=_0x1789ed;return l['jsx'](l[_0x173426(0x1dc)],{'children':_0x173426(0x19f)});}var K=Object[_0x1789ed(0x1d6)],z=(_0x4a60a5,_0x581962,_0x3dee05,_0x3d4831)=>{const _0x4c7539=_0x1789ed;for(var _0x2e8986=_0x3d4831>0x1?void 0x0:_0x3d4831?K(_0x581962,_0x3dee05):_0x581962,_0x3c8e5d=_0x4a60a5[_0x4c7539(0x1df)]-0x1,_0x3fdeac;_0x3c8e5d>=0x0;_0x3c8e5d--)(_0x3fdeac=_0x4a60a5[_0x3c8e5d])&&(_0x2e8986=_0x3fdeac(_0x2e8986)||_0x2e8986);return _0x2e8986;},L=(_0x479973,_0x1122e3)=>(_0x12136d,_0x180fce)=>_0x1122e3(_0x12136d,_0x180fce,_0x479973);exports[_0x1789ed(0x1e6)]=class extends o[_0x1789ed(0x1db)]{constructor(_0x128601,_0x5b4d30){const _0x366726=_0x1789ed;super(),this[_0x366726(0x23a)]=_0x128601,this['_uiPartsService']=_0x5b4d30,this[_0x366726(0x1fc)]();}[_0x1789ed(0x1fc)](){const _0x45c5ed=_0x1789ed;this[_0x45c5ed(0x1ef)](this[_0x45c5ed(0x1e4)][_0x45c5ed(0x211)](p[_0x45c5ed(0x1bc)][_0x45c5ed(0x1e3)],()=>p['connectInjector']($,this[_0x45c5ed(0x23a)])));}},exports[_0x1789ed(0x1e6)]=z([L(0x0,o[_0x1789ed(0x1e1)](o['Injector'])),L(0x1,p['IUIPartsService'])],exports[_0x1789ed(0x1e6)]);const Q=_0x1789ed(0x219),w={};var X=Object['getOwnPropertyDescriptor'],ee=(_0xcd453e,_0x437fc8,_0x3172f6,_0x5ab377)=>{const _0x4cff2d=_0x1789ed;for(var _0x4c9062=_0x5ab377>0x1?void 0x0:_0x5ab377?X(_0x437fc8,_0x3172f6):_0x437fc8,_0x3c4a98=_0xcd453e[_0x4cff2d(0x1df)]-0x1,_0x225a53;_0x3c4a98>=0x0;_0x3c4a98--)(_0x225a53=_0xcd453e[_0x3c4a98])&&(_0x4c9062=_0x225a53(_0x4c9062)||_0x4c9062);return _0x4c9062;},te=(_0x3c45cc,_0x36f8c5)=>(_0x4b913c,_0x48be44)=>_0x36f8c5(_0x4b913c,_0x48be44,_0x3c45cc);let m=class extends o['Disposable']{constructor(_0x4c0b0d){const _0xf40496=_0x1789ed;super(),this['_liveShareService']=_0x4c0b0d,this[_0xf40496(0x1e7)]();}[_0x1789ed(0x1e7)](){const _0x12dc0b=_0x1789ed;[D[_0x12dc0b(0x22a)]['id'],D[_0x12dc0b(0x1f5)]['id'],C['SetWorksheetActiveOperation']['id']][_0x12dc0b(0x1de)](_0x59270f=>{this['disposeWithMe'](this['_liveShareService']['registerSharedOperation'](_0x59270f));});}};m=ee([te(0x0,o[_0x1789ed(0x1e1)](E))],m);var ie=Object[_0x1789ed(0x1c3)],se=Object[_0x1789ed(0x1d6)],ne=(_0x21a0d2,_0x243f2d,_0x54ae32)=>_0x243f2d in _0x21a0d2?ie(_0x21a0d2,_0x243f2d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54ae32}):_0x21a0d2[_0x243f2d]=_0x54ae32,re=(_0x33f35f,_0x184836,_0x315ad8,_0xe0724a)=>{const _0x9d436=_0x1789ed;for(var _0x52dc75=_0xe0724a>0x1?void 0x0:_0xe0724a?se(_0x184836,_0x315ad8):_0x184836,_0x220a12=_0x33f35f[_0x9d436(0x1df)]-0x1,_0xad4ade;_0x220a12>=0x0;_0x220a12--)(_0xad4ade=_0x33f35f[_0x220a12])&&(_0x52dc75=_0xad4ade(_0x52dc75)||_0x52dc75);return _0x52dc75;},N=(_0x3a8c44,_0x5a3194)=>(_0x53f60d,_0x584e89)=>_0x5a3194(_0x53f60d,_0x584e89,_0x3a8c44),A=(_0x2f7f5f,_0x480e4e,_0x241e39)=>ne(_0x2f7f5f,typeof _0x480e4e!=_0x1789ed(0x202)?_0x480e4e+'':_0x480e4e,_0x241e39);const oe=_0x1789ed(0x206);function _0x2aa3(){const _0x317ecd=['SetScrollOperation','unitId','1em','svg','has','stringify','current','_mountLiveShare','Subject','string','parseProtocolChangeset','_handleOnline','Module','symbol','_status','_stopFollowing','getUnitId','UNIVER_LIVE_SHARE_PLUGIN','Present\x20this\x20document','assign','http://www.w3.org/2000/svg','clear','substring','UNIVER_SHEET','_handleNewChangeSets','dispose','data','pipe','registerComponent','stopPresenting','_collabSessionService','147EwzHTt','toStringTag','next','UniverInstanceType','use','live-share.config','LIVESHARE_NEW_HOST','UniverLiveSharePlugin','startFollowing','fill','CollaborationEvent','getTypeOfUnitAdded$','_configService','Stop\x20following','_univerInstanceService','38642CjJQqq','BehaviorSubject','event$','UniverCollaborationClientPlugin','setConfig','getLiveShareCoordinator','send','SetZoomRatioOperation','div','_reporters','_status$','LiveShareIcon','DisposableCollection','CommandType','_handleTerminate','ICommandService','following','path','replace','xlink:href','2367760DOuTys','none','_fetchOperations','_injector','_handleNewHost','entries','add','OPERATION','registerSharedOperation','NOT_FOLLOWING','8043oVaIIA','LiveShareService','getMemberID','_startLiveShareCoordinator','_commandService','mask','children','456FQvBJc','presenting','RxDisposable','executeCommand','Button','FOLLOWING','_beIdle','status$','unsubscribe','mutations','toDisposable','OFFLINE','currentColor','merge','_entities','_presenter','_startPresenting','stopFollowing','getInitialStates','Injector','useRef','InsertSheetMutation','tag','set','colorChannel1','not-following','takeUntil','967532vuyKOw','reverse','LiveShareController','from','presenter','parse','LiveShareCoordinator','LIVESHARE_REQUEST_HOST','CollaborationSessionService','onRendered','live-share-icon','trim','You\x27are\x20offline.','IConfigService','_handleOperation','IDLE','_collabSession','_config','params','clsx','dispose$','idle','useDependency','16378730jzjOrB','operations','type','useState','DependentOn','displayName','_sharedOperations','univer-size-4','_commandDisposable','18wCJMSs','_stopPresenting','_handleOffline','NEW_CHANGESETS','_startFollowing','956135NpcLxm','tryStartPresenting','Dropdown','asObservable','BuiltInUIPart','mergeOverrideWithDependencies','memberID','map','useEffect','random','get','defineProperty','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','onStarting','sessionStatus$','LIVESHARE_TERMINATE','delete','init','then','univer-mb-3\x20univer-w-full\x20univer-text-sm','jsx','evenodd','LiveShareStatus','override','offline','find','_unitID','idSuffix','You\x27re\x20not\x20following\x20the\x20presenter','sheet','getOwnPropertyDescriptor','You\x27re\x20presenting\x20the\x20document','subscribe','10272690ikglkl','PRESENTING','Disposable','Fragment','getLiveShareCoordinatorSync','forEach','length','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','Inject','getCurrentTypeOfUnit$','HEADER_MENU','_uiPartsService','SAME_OPERATION_SHARE_INTERVAL','DesktopLiveShareController','_init','_liveShareService','attrs','useObservable','IUniverInstanceService','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','text','getConfig','disposeWithMe','complete','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','touchDependencies','jsxs','url(#$1'];_0x2aa3=function(){return _0x317ecd;};return _0x2aa3();}exports['UniverLiveSharePlugin']=class extends o['Plugin']{constructor(_0xb59ff2=w,_0x3bd49b,_0x5503ae){const _0x22295f=_0x1789ed;super(),this[_0x22295f(0x1a4)]=_0xb59ff2,this['_injector']=_0x3bd49b,this[_0x22295f(0x220)]=_0x5503ae;const {..._0x1cbf6a}=o[_0x22295f(0x185)]({},w,this[_0x22295f(0x1a4)]);this[_0x22295f(0x220)][_0x22295f(0x227)](Q,_0x1cbf6a);}[_0x1789ed(0x1c5)](){const _0x1a7b10=_0x1789ed;o['registerDependencies'](this['_injector'],o[_0x1a7b10(0x1bd)]([[E],[exports['LiveShareController']],[m],[exports[_0x1a7b10(0x1e6)]]],this[_0x1a7b10(0x1a4)][_0x1a7b10(0x1cf)])),o[_0x1a7b10(0x1f2)](this['_injector'],[[m]]);}[_0x1789ed(0x19c)](){const _0x21bf6c=_0x1789ed;o[_0x21bf6c(0x1f2)](this['_injector'],[[exports['DesktopLiveShareController']]]);}},A(exports[_0x1789ed(0x21b)],_0x1789ed(0x1ac),o[_0x1789ed(0x217)]['UNIVER_UNKNOWN']),A(exports[_0x1789ed(0x21b)],'pluginName',oe),exports[_0x1789ed(0x21b)]=re([o[_0x1789ed(0x1ae)](b[_0x1789ed(0x226)]),N(0x1,o[_0x1789ed(0x1e1)](o['Injector'])),N(0x2,o[_0x1789ed(0x1a0)])],exports['UniverLiveSharePlugin']),exports['LiveShare']=$,exports[_0x1789ed(0x172)]=E,exports[_0x1789ed(0x1ce)]=u;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x4ada31=_0x1219;function _0x3afc(){const _0x483592=['getStatus','get','startPresenting','1145000FdJQlw','LiveShareStatusEnum','stopFollowing','getLiveShareStatus','No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.','_initialize','getSheetId','No\x20active\x20workbook\x20found.','4576275ABURbr','19410GxqhJh','14JzoeHx','_commandService','syncExecuteCommand','stopPresenting','2279872vveFER','671821lmxWsk','getUnitId','1002395CZlJVt','startFollowing','PRESENTING','getLiveShareCoordinatorSync','_injector','getActiveWorkbook','98VqQqLm','extend','tryStartPresenting','startColumn','706542IGKvsz','executeCommand','getId','startRow'];_0x3afc=function(){return _0x483592;};return _0x3afc();}(function(_0x6c95ab,_0x4f4094){const _0x1194df=_0x1219,_0x1bc25e=_0x6c95ab();while(!![]){try{const _0x3b47e2=parseInt(_0x1194df(0xc2))/0x1+parseInt(_0x1194df(0xca))/0x2*(-parseInt(_0x1194df(0xbc))/0x3)+-parseInt(_0x1194df(0xc1))/0x4+-parseInt(_0x1194df(0xc4))/0x5+parseInt(_0x1194df(0xce))/0x6*(parseInt(_0x1194df(0xbd))/0x7)+parseInt(_0x1194df(0xb3))/0x8+parseInt(_0x1194df(0xbb))/0x9;if(_0x3b47e2===_0x4f4094)break;else _0x1bc25e['push'](_0x1bc25e['shift']());}catch(_0x215e84){_0x1bc25e['push'](_0x1bc25e['shift']());}}}(_0x3afc,0x731a2));import{LiveShareController as _0x28eab8,LiveShareStatus as _0x5d26a9}from'@univerjs-pro/live-share';import{IRenderManagerService as _0xfa36a4}from'@univerjs/engine-render';import{SetWorksheetActiveOperation as _0x1a6f79}from'@univerjs/sheets';import{SetScrollOperation as _0x4139fc}from'@univerjs/sheets-ui';import{FRange as _0xb85eba}from'@univerjs/sheets/facade';import{FUniver as _0x43c273,FEnum as _0x56543f}from'@univerjs/core/facade';class I extends _0xb85eba{[_0x4ada31(0xb8)](_0x344dde,_0x4ba0f0,_0x4624d4,_0x42401f,_0x58ffd6){const _0x189953=_0x4ada31,_0x289030=_0x344dde['get'](_0x28eab8),_0x1c5c58=_0x344dde[_0x189953(0xd3)](_0xfa36a4),_0x55d793=_0x4ba0f0[_0x189953(0xc3)](),_0x26f3b8=_0x4ba0f0['getActiveSheet'](),_0x229e7c=_0x289030['getLiveShareCoordinatorSync'](_0x55d793);(_0x229e7c==null?void 0x0:_0x229e7c[_0x189953(0xd2)]())!==_0x5d26a9[_0x189953(0xc6)]||(_0x4624d4[_0x189953(0xb9)]()!==_0x26f3b8['getSheetId']()&&this[_0x189953(0xbe)][_0x189953(0xcf)](_0x1a6f79['id'],{'unitId':_0x55d793,'subUnitId':_0x4624d4['getSheetId']()}),!_0x1c5c58['getRenderById'](_0x55d793))||_0x58ffd6[_0x189953(0xbf)](_0x4139fc['id'],{'unitId':_0x4ba0f0[_0x189953(0xc3)](),'sheetId':_0x4624d4[_0x189953(0xb9)](),'sheetViewStartRow':_0x42401f[_0x189953(0xd1)],'sheetViewStartColumn':_0x42401f[_0x189953(0xcd)],'offsetX':0x0,'offsetY':0x0,'screenRatioX':-0x1/0x3,'screenRatioY':-0x1/0x3,'duration':0x12c});}}_0xb85eba[_0x4ada31(0xcb)](I);class m extends _0x43c273{[_0x4ada31(0xb6)](){const _0x5227b9=_0x4ada31;var _0x2627be,_0x4771f7;const _0x40e0df=this[_0x5227b9(0xc8)][_0x5227b9(0xd3)](_0x28eab8),_0xe3d4b2=(_0x2627be=this[_0x5227b9(0xc9)]())==null?void 0x0:_0x2627be[_0x5227b9(0xd0)]();if(!_0xe3d4b2)throw new Error(_0x5227b9(0xba));const _0x3cd012=_0x40e0df[_0x5227b9(0xc7)](_0xe3d4b2);return(_0x4771f7=_0x3cd012==null?void 0x0:_0x3cd012['getStatus']())!=null?_0x4771f7:_0x5d26a9['IDLE'];}[_0x4ada31(0xc5)](){const _0x4d7b5d=_0x4ada31;var _0x24a30d;const _0xc5c761=this[_0x4d7b5d(0xc8)][_0x4d7b5d(0xd3)](_0x28eab8),_0xb64ee3=(_0x24a30d=this['getActiveWorkbook']())==null?void 0x0:_0x24a30d[_0x4d7b5d(0xd0)]();if(!_0xb64ee3)throw new Error(_0x4d7b5d(0xba));const _0x315ef5=_0xc5c761[_0x4d7b5d(0xc7)](_0xb64ee3);if(!_0x315ef5)throw new Error(_0x4d7b5d(0xb7));_0x315ef5[_0x4d7b5d(0xc5)]();}[_0x4ada31(0xb5)](){const _0x4142c5=_0x4ada31;var _0x22f89e;const _0x3a3b54=this[_0x4142c5(0xc8)][_0x4142c5(0xd3)](_0x28eab8),_0x127155=(_0x22f89e=this[_0x4142c5(0xc9)]())==null?void 0x0:_0x22f89e[_0x4142c5(0xd0)]();if(!_0x127155)throw new Error(_0x4142c5(0xba));const _0x13216e=_0x3a3b54[_0x4142c5(0xc7)](_0x127155);if(!_0x13216e)throw new Error('No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.');_0x13216e[_0x4142c5(0xb5)]();}[_0x4ada31(0xb2)](){const _0x5879ed=_0x4ada31;var _0x36539c;const _0x27a92b=this[_0x5879ed(0xc8)][_0x5879ed(0xd3)](_0x28eab8),_0x3c6687=(_0x36539c=this[_0x5879ed(0xc9)]())==null?void 0x0:_0x36539c[_0x5879ed(0xd0)]();if(!_0x3c6687)throw new Error('No\x20active\x20workbook\x20found.');const _0x2a5553=_0x27a92b[_0x5879ed(0xc7)](_0x3c6687);if(!_0x2a5553)throw new Error(_0x5879ed(0xb7));_0x2a5553[_0x5879ed(0xcc)]();}[_0x4ada31(0xc0)](){const _0x2dc898=_0x4ada31;var _0x11e9e4;const _0x537a5c=this[_0x2dc898(0xc8)][_0x2dc898(0xd3)](_0x28eab8),_0x3dac93=(_0x11e9e4=this[_0x2dc898(0xc9)]())==null?void 0x0:_0x11e9e4[_0x2dc898(0xd0)]();if(!_0x3dac93)throw new Error('No\x20active\x20workbook\x20found.');const _0x1f8029=_0x537a5c[_0x2dc898(0xc7)](_0x3dac93);if(!_0x1f8029)throw new Error(_0x2dc898(0xb7));_0x1f8029[_0x2dc898(0xc0)]();}}function _0x1219(_0x57f8eb,_0x41a48d){_0x57f8eb=_0x57f8eb-0xb2;const _0x3afcc4=_0x3afc();let _0x121979=_0x3afcc4[_0x57f8eb];return _0x121979;}_0x43c273[_0x4ada31(0xcb)](m);class C extends _0x56543f{get[_0x4ada31(0xb4)](){return _0x5d26a9;}}_0x56543f[_0x4ada31(0xcb)](C);
1
+ const _0x352c44=_0x2e94;(function(_0xeea58e,_0x1e5708){const _0x3d7754=_0x2e94,_0x2f21fa=_0xeea58e();while(!![]){try{const _0x37f4bc=-parseInt(_0x3d7754(0xf0))/0x1*(parseInt(_0x3d7754(0xdc))/0x2)+parseInt(_0x3d7754(0xee))/0x3+parseInt(_0x3d7754(0xe7))/0x4*(parseInt(_0x3d7754(0xd4))/0x5)+-parseInt(_0x3d7754(0xd5))/0x6+parseInt(_0x3d7754(0xf2))/0x7+-parseInt(_0x3d7754(0xf4))/0x8+parseInt(_0x3d7754(0xe0))/0x9;if(_0x37f4bc===_0x1e5708)break;else _0x2f21fa['push'](_0x2f21fa['shift']());}catch(_0x4d781d){_0x2f21fa['push'](_0x2f21fa['shift']());}}}(_0x466f,0xea880));import{LiveShareController as _0x10a042,LiveShareStatus as _0x145361}from'@univerjs-pro/live-share';import{IRenderManagerService as _0x2ad8b3}from'@univerjs/engine-render';import{SetWorksheetActiveOperation as _0x1ae3d5}from'@univerjs/sheets';import{SetScrollOperation as _0x4c78b8}from'@univerjs/sheets-ui';import{FRange as _0xfe9845}from'@univerjs/sheets/facade';import{FUniver as _0x2c0cbf,FEnum as _0x57ddce}from'@univerjs/core/facade';function _0x466f(){const _0x486f77=['syncExecuteCommand','executeCommand','getSheetId','getRenderById','2013656kmHItX','getLiveShareCoordinatorSync','getId','PRESENTING','stopFollowing','startFollowing','LiveShareStatusEnum','3915897wMEsAc','_initialize','54419QrkmFl','No\x20active\x20workbook\x20found.','3466057ipmcuK','_commandService','14445608IJpWWn','IDLE','10wtgeZW','9244110MIcitJ','No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.','getStatus','stopPresenting','getActiveWorkbook','get','getActiveSheet','58rGLmsA','getUnitId','startColumn','extend','27701091tnLvLl','startPresenting','_injector'];_0x466f=function(){return _0x486f77;};return _0x466f();}function _0x2e94(_0x18ce63,_0x523b77){_0x18ce63=_0x18ce63-0xd4;const _0x466f1d=_0x466f();let _0x2e9439=_0x466f1d[_0x18ce63];return _0x2e9439;}class I extends _0xfe9845{[_0x352c44(0xef)](_0x42352f,_0x423796,_0x2c9a24,_0xeffee5,_0x44897a){const _0x4806d=_0x352c44,_0x3c6826=_0x42352f[_0x4806d(0xda)](_0x10a042),_0x33f22f=_0x42352f[_0x4806d(0xda)](_0x2ad8b3),_0x2c2329=_0x423796[_0x4806d(0xdd)](),_0x4e3ba8=_0x423796[_0x4806d(0xdb)](),_0x264362=_0x3c6826['getLiveShareCoordinatorSync'](_0x2c2329);(_0x264362==null?void 0x0:_0x264362[_0x4806d(0xd7)]())!==_0x145361[_0x4806d(0xea)]||(_0x2c9a24['getSheetId']()!==_0x4e3ba8['getSheetId']()&&this[_0x4806d(0xf3)][_0x4806d(0xe4)](_0x1ae3d5['id'],{'unitId':_0x2c2329,'subUnitId':_0x2c9a24[_0x4806d(0xe5)]()}),!_0x33f22f[_0x4806d(0xe6)](_0x2c2329))||_0x44897a[_0x4806d(0xe3)](_0x4c78b8['id'],{'unitId':_0x423796[_0x4806d(0xdd)](),'sheetId':_0x2c9a24['getSheetId'](),'sheetViewStartRow':_0xeffee5['startRow'],'sheetViewStartColumn':_0xeffee5[_0x4806d(0xde)],'offsetX':0x0,'offsetY':0x0,'screenRatioX':-0x1/0x3,'screenRatioY':-0x1/0x3,'duration':0x12c});}}_0xfe9845[_0x352c44(0xdf)](I);class m extends _0x2c0cbf{['getLiveShareStatus'](){const _0xfd37f8=_0x352c44;var _0x5ee508,_0x2c27ef;const _0x3bf8ee=this[_0xfd37f8(0xe2)]['get'](_0x10a042),_0x3dcd68=(_0x5ee508=this[_0xfd37f8(0xd9)]())==null?void 0x0:_0x5ee508[_0xfd37f8(0xe9)]();if(!_0x3dcd68)throw new Error(_0xfd37f8(0xf1));const _0x583e99=_0x3bf8ee[_0xfd37f8(0xe8)](_0x3dcd68);return(_0x2c27ef=_0x583e99==null?void 0x0:_0x583e99[_0xfd37f8(0xd7)]())!=null?_0x2c27ef:_0x145361[_0xfd37f8(0xf5)];}[_0x352c44(0xec)](){const _0x27e81e=_0x352c44;var _0x2823d5;const _0x201f8e=this['_injector'][_0x27e81e(0xda)](_0x10a042),_0x2a8a0b=(_0x2823d5=this[_0x27e81e(0xd9)]())==null?void 0x0:_0x2823d5[_0x27e81e(0xe9)]();if(!_0x2a8a0b)throw new Error(_0x27e81e(0xf1));const _0x4ad8fa=_0x201f8e[_0x27e81e(0xe8)](_0x2a8a0b);if(!_0x4ad8fa)throw new Error('No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.');_0x4ad8fa[_0x27e81e(0xec)]();}[_0x352c44(0xeb)](){const _0x25c6bc=_0x352c44;var _0x6741d1;const _0xb9578a=this['_injector'][_0x25c6bc(0xda)](_0x10a042),_0x318beb=(_0x6741d1=this[_0x25c6bc(0xd9)]())==null?void 0x0:_0x6741d1['getId']();if(!_0x318beb)throw new Error('No\x20active\x20workbook\x20found.');const _0x45f11a=_0xb9578a[_0x25c6bc(0xe8)](_0x318beb);if(!_0x45f11a)throw new Error(_0x25c6bc(0xd6));_0x45f11a[_0x25c6bc(0xeb)]();}[_0x352c44(0xe1)](){const _0xad5d18=_0x352c44;var _0x328887;const _0x3d2b19=this[_0xad5d18(0xe2)][_0xad5d18(0xda)](_0x10a042),_0x53350f=(_0x328887=this[_0xad5d18(0xd9)]())==null?void 0x0:_0x328887['getId']();if(!_0x53350f)throw new Error(_0xad5d18(0xf1));const _0x24b6e0=_0x3d2b19['getLiveShareCoordinatorSync'](_0x53350f);if(!_0x24b6e0)throw new Error(_0xad5d18(0xd6));_0x24b6e0['tryStartPresenting']();}[_0x352c44(0xd8)](){const _0x58da10=_0x352c44;var _0x4ef740;const _0x214e47=this[_0x58da10(0xe2)]['get'](_0x10a042),_0x3d19d0=(_0x4ef740=this['getActiveWorkbook']())==null?void 0x0:_0x4ef740[_0x58da10(0xe9)]();if(!_0x3d19d0)throw new Error(_0x58da10(0xf1));const _0x520760=_0x214e47[_0x58da10(0xe8)](_0x3d19d0);if(!_0x520760)throw new Error(_0x58da10(0xd6));_0x520760[_0x58da10(0xd8)]();}}_0x2c0cbf['extend'](m);class C extends _0x57ddce{get[_0x352c44(0xed)](){return _0x145361;}}_0x57ddce[_0x352c44(0xdf)](C);
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xce0c4e=_0x53c8;(function(_0xe945e9,_0x5846b5){const _0x1571b1=_0x53c8,_0x4b6916=_0xe945e9();while(!![]){try{const _0x3c7bcf=parseInt(_0x1571b1(0x21e))/0x1*(parseInt(_0x1571b1(0x25a))/0x2)+-parseInt(_0x1571b1(0x26d))/0x3*(-parseInt(_0x1571b1(0x236))/0x4)+-parseInt(_0x1571b1(0x220))/0x5*(-parseInt(_0x1571b1(0x213))/0x6)+parseInt(_0x1571b1(0x277))/0x7*(parseInt(_0x1571b1(0x271))/0x8)+-parseInt(_0x1571b1(0x23e))/0x9+parseInt(_0x1571b1(0x1fc))/0xa*(-parseInt(_0x1571b1(0x24e))/0xb)+parseInt(_0x1571b1(0x232))/0xc*(parseInt(_0x1571b1(0x210))/0xd);if(_0x3c7bcf===_0x5846b5)break;else _0x4b6916['push'](_0x4b6916['shift']());}catch(_0xc22004){_0x4b6916['push'](_0x4b6916['shift']());}}}(_0x1f69,0x48e76));var J=Object[_0xce0c4e(0x293)],K=(_0x40f9bc,_0x48cba5,_0x199f22)=>_0x48cba5 in _0x40f9bc?J(_0x40f9bc,_0x48cba5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x199f22}):_0x40f9bc[_0x48cba5]=_0x199f22,u=(_0x6a6a02,_0x14be30,_0x325189)=>K(_0x6a6a02,typeof _0x14be30!=_0xce0c4e(0x21c)?_0x14be30+'':_0x14be30,_0x325189);import{Disposable as _0x391c50,toDisposable as _0x5ec987,IUniverInstanceService as _0x5d85e7,Inject as _0x2de6b4,Injector as _0x173c5e,IConfigService as _0x34266a,ICommandService as _0x492717,RxDisposable as _0x40c917,UniverInstanceType as _0x324c39,DisposableCollection as _0x321e9e,CommandType as _0x7e8bcb,DependentOn as _0x390b52,Plugin as _0x3d5c76,merge as _0x1325bb,registerDependencies as _0x256053,mergeOverrideWithDependencies as _0x4c1cfa,touchDependencies as _0x39d7eb}from'@univerjs/core';import{useDependency as _0x14182f,useObservable as _0x55b771,IUIPartsService as _0x48a06c,BuiltInUIPart as _0x7e38cc,connectInjector as _0x593ae2}from'@univerjs/ui';import{jsx as _0x481bab,jsxs as _0x3e4308,Fragment as _0x2de7e1}from'react/jsx-runtime';import{Dropdown as _0x42bb87,clsx as _0xfbc3dd,Button as _0x273271}from'@univerjs/design';import{useRef as _0x102f92,createElement as _0x8d6eeb,forwardRef as _0x435347,useState as _0x2b36ac,useEffect as _0xcd52bb}from'react';import{CollaborationEvent as _0x1dbbdf,parseProtocolChangeset as _0x212e49}from'@univerjs-pro/collaboration';import{CollaborationSessionService as _0x5f546f,SessionStatus as _0x4ce167,UniverCollaborationClientPlugin as _0x11e9df}from'@univerjs-pro/collaboration-client';import{InsertSheetMutation as _0x3128b0,SetWorksheetActiveOperation as _0x31ae4e}from'@univerjs/sheets';import{BehaviorSubject as _0x1067bc,Subject as _0x23ea99}from'rxjs';import{takeUntil as _0x35683e,throttleTime as _0x3198dc}from'rxjs/operators';import{SetZoomRatioOperation as _0x8a3ff8,SetScrollOperation as _0x3dbd75}from'@univerjs/sheets-ui';function k({ref:_0x436ded,..._0x52490d}){const _0x208345=_0xce0c4e,{icon:_0x1e4f7b,id:_0x5ae976,className:_0x54e6ec,extend:_0x3562b3,..._0x41f5c2}=_0x52490d,_0x57da8b=(_0x208345(0x212)+_0x5ae976+'\x20'+(_0x54e6ec||''))['trim'](),_0x21ebea=_0x102f92('_'+Oe());return G(_0x1e4f7b,''+_0x5ae976,{'defIds':_0x1e4f7b[_0x208345(0x1f1)],'idSuffix':_0x21ebea[_0x208345(0x258)]},{'ref':_0x436ded,'className':_0x57da8b,..._0x41f5c2},_0x3562b3);}function G(_0x43b6b6,_0x1b7e63,_0x1e6617,_0x197ffe,_0x3360e4){const _0x4b6cfb=_0xce0c4e;return _0x8d6eeb(_0x43b6b6[_0x4b6cfb(0x233)],{'key':_0x1b7e63,...be(_0x43b6b6,_0x1e6617,_0x3360e4),..._0x197ffe},(Ee(_0x43b6b6,_0x1e6617)['children']||[])[_0x4b6cfb(0x269)]((_0x53d93b,_0x1c370b)=>G(_0x53d93b,_0x1b7e63+'-'+_0x43b6b6[_0x4b6cfb(0x233)]+'-'+_0x1c370b,_0x1e6617,void 0x0,_0x3360e4)));}function be(_0x4f1854,_0x589f60,_0x301dbe){const _0x5ae272=_0xce0c4e,_0x595744={..._0x4f1854[_0x5ae272(0x203)]};_0x301dbe!=null&&_0x301dbe[_0x5ae272(0x1f5)]&&_0x595744[_0x5ae272(0x1f7)]==='colorChannel1'&&(_0x595744[_0x5ae272(0x1f7)]=_0x301dbe[_0x5ae272(0x1f5)]),_0x4f1854[_0x5ae272(0x233)]==='mask'&&_0x595744['id']&&(_0x595744['id']=_0x595744['id']+_0x589f60[_0x5ae272(0x245)]),Object['entries'](_0x595744)[_0x5ae272(0x25f)](([_0xaee3b6,_0x48844f])=>{const _0x2287d3=_0x5ae272;_0xaee3b6===_0x2287d3(0x20f)&&typeof _0x48844f==_0x2287d3(0x211)&&(_0x595744[_0xaee3b6]=_0x48844f['replace'](/url\(#(.*)\)/,_0x2287d3(0x26b)+_0x589f60[_0x2287d3(0x245)]+')'));});const {defIds:_0x20aad5}=_0x589f60;return!_0x20aad5||_0x20aad5[_0x5ae272(0x22f)]===0x0||(_0x4f1854[_0x5ae272(0x233)]==='use'&&_0x595744[_0x5ae272(0x1f6)]&&(_0x595744[_0x5ae272(0x1f6)]=_0x595744[_0x5ae272(0x1f6)]+_0x589f60[_0x5ae272(0x245)]),Object[_0x5ae272(0x27f)](_0x595744)[_0x5ae272(0x25f)](([_0x4feddd,_0x40d1fa])=>{const _0x1f2e2f=_0x5ae272;typeof _0x40d1fa==_0x1f2e2f(0x211)&&(_0x595744[_0x4feddd]=_0x40d1fa['replace'](/url\(#(.*)\)/,_0x1f2e2f(0x26b)+_0x589f60[_0x1f2e2f(0x245)]+')'));})),_0x595744;}function Ee(_0x51048f,_0x5ea9a5){const _0x46795e=_0xce0c4e;var _0x169604;const {defIds:_0x5e82aa}=_0x5ea9a5;return!_0x5e82aa||_0x5e82aa[_0x46795e(0x22f)]===0x0?_0x51048f:_0x51048f[_0x46795e(0x233)]===_0x46795e(0x267)&&((_0x169604=_0x51048f[_0x46795e(0x256)])!=null&&_0x169604[_0x46795e(0x22f)])?{..._0x51048f,'children':_0x51048f[_0x46795e(0x256)]['map'](_0x425a7f=>typeof _0x425a7f[_0x46795e(0x203)]['id']==_0x46795e(0x211)&&_0x5e82aa&&_0x5e82aa[_0x46795e(0x286)](_0x425a7f[_0x46795e(0x203)]['id'])?{..._0x425a7f,'attrs':{..._0x425a7f[_0x46795e(0x203)],'id':_0x425a7f[_0x46795e(0x203)]['id']+_0x5ea9a5[_0x46795e(0x245)]}}:_0x425a7f)}:_0x51048f;}function Oe(){const _0x2bca86=_0xce0c4e;return Math[_0x2bca86(0x26a)]()[_0x2bca86(0x1f4)](0x24)[_0x2bca86(0x26e)](0x2,0x8);}k['displayName']=_0xce0c4e(0x1fd);const we={'tag':_0xce0c4e(0x290),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xce0c4e(0x239),'width':_0xce0c4e(0x281),'height':_0xce0c4e(0x281)},'children':[{'tag':_0xce0c4e(0x216),'attrs':{'fill':'currentColor','d':_0xce0c4e(0x205)}},{'tag':_0xce0c4e(0x216),'attrs':{'fill':_0xce0c4e(0x24f),'d':_0xce0c4e(0x280),'fillRule':_0xce0c4e(0x289),'clipRule':_0xce0c4e(0x289)}}]},W=_0x435347(function(_0x5b9697,_0x2d0f81){const _0x54a022=_0xce0c4e;return _0x8d6eeb(k,Object[_0x54a022(0x215)]({},_0x5b9697,{'id':_0x54a022(0x1fe),'ref':_0x2d0f81,'icon':we}));});W[_0xce0c4e(0x21b)]=_0xce0c4e(0x247);class L extends _0x391c50{constructor(){super(...arguments),u(this,'_sharedOperations',new Set()),u(this,'_reporters',new Set());}[_0xce0c4e(0x217)](_0x35addc){const _0x44ba50=_0xce0c4e;return this[_0x44ba50(0x27e)][_0x44ba50(0x285)](_0x35addc),_0x5ec987(()=>this[_0x44ba50(0x27e)][_0x44ba50(0x20b)](_0x35addc));}['registerInitialStateReporter'](_0x3f82e2){const _0x2b95e1=_0xce0c4e;return this['_reporters'][_0x2b95e1(0x285)](_0x3f82e2),_0x5ec987(()=>this['_reporters'][_0x2b95e1(0x20b)](_0x3f82e2));}['shouldShareOperation'](_0x1ca1d6){const _0x3ec09f=_0xce0c4e;return this[_0x3ec09f(0x27e)]['has'](_0x1ca1d6);}[_0xce0c4e(0x259)](_0x49e45e){const _0x333491=_0xce0c4e;return Array['from'](this[_0x333491(0x266)])[_0x333491(0x269)](_0x293b6d=>_0x293b6d(_0x49e45e));}}var Ne=Object['getOwnPropertyDescriptor'],Y=(_0x22614b,_0x29a179,_0x5f4f45,_0x5031aa)=>{const _0x4f68b0=_0xce0c4e;for(var _0x2cb755=_0x5031aa>0x1?void 0x0:_0x5031aa?Ne(_0x29a179,_0x5f4f45):_0x29a179,_0xfe0e80=_0x22614b[_0x4f68b0(0x22f)]-0x1,_0x40abe9;_0xfe0e80>=0x0;_0xfe0e80--)(_0x40abe9=_0x22614b[_0xfe0e80])&&(_0x2cb755=_0x40abe9(_0x2cb755)||_0x2cb755);return _0x2cb755;},_=(_0x25297a,_0x53b15f)=>(_0x43aafc,_0x8f1802)=>_0x53b15f(_0x43aafc,_0x8f1802,_0x25297a);let S=class extends _0x40c917{constructor(_0x1e6ffa,_0x4898d9,_0x478819){const _0x46b185=_0xce0c4e;super(),u(this,'_entities',new Map()),(this[_0x46b185(0x22b)]=_0x1e6ffa,this[_0x46b185(0x265)]=_0x4898d9,this[_0x46b185(0x25b)]=_0x478819,this[_0x46b185(0x251)]());}async[_0xce0c4e(0x248)](_0x5ecb6e){const _0x4609f8=_0xce0c4e;return this[_0x4609f8(0x252)][_0x4609f8(0x25c)](_0x5ecb6e)||await this[_0x4609f8(0x20c)](_0x5ecb6e),this['_entities']['get'](_0x5ecb6e);}[_0xce0c4e(0x26f)](_0x3a924c){const _0x379183=_0xce0c4e;var _0xe039cb;return(_0xe039cb=this['_entities'][_0x379183(0x229)](_0x3a924c))!=null?_0xe039cb:null;}[_0xce0c4e(0x251)](){const _0x4e9e79=_0xce0c4e;this[_0x4e9e79(0x22b)][_0x4e9e79(0x292)](_0x324c39[_0x4e9e79(0x282)])[_0x4e9e79(0x231)](_0x35683e(this['dispose$']))[_0x4e9e79(0x257)](async _0x41b75f=>{const _0x44c076=_0x4e9e79,_0x46fd50=_0x41b75f[_0x44c076(0x28f)]();this['_entities'][_0x44c076(0x25c)](_0x46fd50)||this['_startLiveShareCoordinator'](_0x46fd50);}),this['_univerInstanceService'][_0x4e9e79(0x1fa)](_0x324c39[_0x4e9e79(0x282)])[_0x4e9e79(0x231)](_0x35683e(this['dispose$']))[_0x4e9e79(0x257)](_0x1e5e41=>{const _0x3d2d42=_0x4e9e79,_0x35d6b9=_0x1e5e41['getUnitId'](),_0x288be8=this[_0x3d2d42(0x252)][_0x3d2d42(0x229)](_0x35d6b9);_0x288be8==null||_0x288be8[_0x3d2d42(0x264)]();});}async[_0xce0c4e(0x20c)](_0x3fafbb){const _0x49a410=_0xce0c4e,_0x1b9cfa=await this[_0x49a410(0x25b)][_0x49a410(0x204)](_0x3fafbb),_0xa9cfe5=this['_injector']['createInstance'](N,_0x3fafbb,_0x1b9cfa);return _0xa9cfe5[_0x49a410(0x22e)](),this[_0x49a410(0x252)][_0x49a410(0x237)](_0x3fafbb,_0xa9cfe5),_0xa9cfe5;}};S=Y([_(0x0,_0x5d85e7),_(0x1,_0x2de6b4(_0x173c5e)),_(0x2,_0x2de6b4(_0x5f546f))],S);var c=(_0x4db93e=>(_0x4db93e[_0xce0c4e(0x24b)]=_0xce0c4e(0x27a),_0x4db93e[_0xce0c4e(0x1fb)]='idle',_0x4db93e[_0xce0c4e(0x243)]=_0xce0c4e(0x206),_0x4db93e[_0xce0c4e(0x28a)]=_0xce0c4e(0x270),_0x4db93e[_0xce0c4e(0x287)]=_0xce0c4e(0x223),_0x4db93e))(c||{});const Ce='SAME_OPERATION_SHARE_INTERVAL',De=0xc8;let N=class extends _0x40c917{constructor(_0x2a6d5a,_0x562900,_0x3b1705,_0x52bdd,_0x3eb702){const _0x257eb4=_0xce0c4e;super(),u(this,'_status$',new _0x1067bc(_0x257eb4(0x255))),u(this,_0x257eb4(0x221),this[_0x257eb4(0x214)][_0x257eb4(0x284)]()),u(this,_0x257eb4(0x251),!0x1),u(this,_0x257eb4(0x228),null),u(this,_0x257eb4(0x1f8),null),(this[_0x257eb4(0x1f9)]=_0x2a6d5a,this[_0x257eb4(0x21a)]=_0x562900,this[_0x257eb4(0x294)]=_0x3b1705,this[_0x257eb4(0x240)]=_0x52bdd,this[_0x257eb4(0x296)]=_0x3eb702);}get[_0xce0c4e(0x235)](){const _0x4f205e=_0xce0c4e;return this[_0x4f205e(0x214)]['getValue']();}[_0xce0c4e(0x264)](){const _0x990a07=_0xce0c4e;var _0x342f14;(_0x342f14=this[_0x990a07(0x228)])==null||_0x342f14['dispose'](),this[_0x990a07(0x214)][_0x990a07(0x253)]('idle'),this[_0x990a07(0x214)][_0x990a07(0x207)]();}[_0xce0c4e(0x23f)](){return this['_status'];}[_0xce0c4e(0x22e)](){const _0x2ce3c1=_0xce0c4e;this[_0x2ce3c1(0x251)]||(this[_0x2ce3c1(0x251)]=!0x0,this[_0x2ce3c1(0x21a)][_0x2ce3c1(0x27c)][_0x2ce3c1(0x231)](_0x35683e(this[_0x2ce3c1(0x26c)]))['subscribe'](_0xa9bbbc=>{const _0x1b3b2c=_0x2ce3c1;switch(_0xa9bbbc){case _0x4ce167['OFFLINE']:this[_0x1b3b2c(0x263)]();break;case _0x4ce167['ONLINE']:this['_handleOnline']();break;}}),this['_collabSession'][_0x2ce3c1(0x1ef)][_0x2ce3c1(0x231)](_0x35683e(this['dispose$']))[_0x2ce3c1(0x257)](_0x2625d5=>{const _0x6926e0=_0x2ce3c1,{eventID:_0x12bc56}=_0x2625d5;switch(_0x12bc56){case _0x1dbbdf[_0x6926e0(0x241)]:this[_0x6926e0(0x24d)](_0x2625d5);break;case _0x1dbbdf['LIVESHARE_OPERATION']:this['_handleOperation'](_0x2625d5);break;case _0x1dbbdf['LIVESHARE_TERMINATE']:this[_0x6926e0(0x28d)]();break;case _0x1dbbdf[_0x6926e0(0x1f2)]:this[_0x6926e0(0x1f0)](_0x2625d5);break;}}));}[_0xce0c4e(0x262)](){const _0x4c045a=_0xce0c4e;this[_0x4c045a(0x21a)]['send']({'eventID':_0x1dbbdf[_0x4c045a(0x298)],'data':{'unitID':this[_0x4c045a(0x1f9)],'userID':this[_0x4c045a(0x21a)][_0x4c045a(0x227)]()}},this[_0x4c045a(0x1f9)]);}[_0xce0c4e(0x200)](){const _0xeeff73=_0xce0c4e;this['_status']===_0xeeff73(0x223)&&(this[_0xeeff73(0x214)]['next'](_0xeeff73(0x255)),this[_0xeeff73(0x21a)][_0xeeff73(0x219)]({'eventID':_0x1dbbdf[_0xeeff73(0x254)],'data':{'unitID':this['_unitID']}},this[_0xeeff73(0x1f9)]));}[_0xce0c4e(0x249)](){const _0x3b3f07=_0xce0c4e;this[_0x3b3f07(0x235)]===_0x3b3f07(0x270)&&(this['_status$'][_0x3b3f07(0x253)](_0x3b3f07(0x206)),this[_0x3b3f07(0x250)]());}[_0xce0c4e(0x1ee)](){const _0x421191=_0xce0c4e;this[_0x421191(0x235)]==='following'&&this[_0x421191(0x230)]();}[_0xce0c4e(0x24d)](_0x5950f4){const _0x44a3c5=_0xce0c4e,{presenter:_0x4e893b}=_0x5950f4[_0x44a3c5(0x28b)],_0x37a714=this['_collabSession'][_0x44a3c5(0x227)]();this[_0x44a3c5(0x1f8)]=_0x4e893b,_0x4e893b===_0x37a714?(this[_0x44a3c5(0x230)](),this[_0x44a3c5(0x299)]()):this[_0x44a3c5(0x235)]!=='not-following'&&(this[_0x44a3c5(0x225)](),this[_0x44a3c5(0x250)]());}[_0xce0c4e(0x275)](){const _0x462170=_0xce0c4e,_0x348a09={'eventID':_0x1dbbdf[_0x462170(0x260)]};this[_0x462170(0x21a)][_0x462170(0x219)](_0x348a09,this[_0x462170(0x1f9)]);}[_0xce0c4e(0x28d)](){const _0x11eb75=_0xce0c4e;this['_presenter']=null,this[_0x11eb75(0x235)]!=='presenting'&&this[_0x11eb75(0x22c)]();}[_0xce0c4e(0x1f0)](_0x184626){const _0x500f31=_0xce0c4e;if(this[_0x500f31(0x235)]===_0x500f31(0x206)&&this[_0x500f31(0x1f8)]===_0x184626[_0x500f31(0x28b)][_0x500f31(0x27b)]){const _0x341823=_0x212e49(_0x184626[_0x500f31(0x28b)])[_0x500f31(0x28e)][_0x500f31(0x224)]()[_0x500f31(0x201)](_0x54bf4b=>_0x54bf4b['id']===_0x3128b0['id']);if(_0x341823){const _0x2961a7=_0x341823[_0x500f31(0x24c)][_0x500f31(0x222)],_0x403445=_0x341823['params'][_0x500f31(0x242)]['id'];setTimeout(()=>{const _0x5f21d2=_0x500f31;this[_0x5f21d2(0x296)][_0x5f21d2(0x283)](_0x31ae4e['id'],{'unitId':_0x2961a7,'subUnitId':_0x403445},{'fromCollab':!0x0});});}}}[_0xce0c4e(0x299)](){const _0x4fc005=_0xce0c4e;this[_0x4fc005(0x214)][_0x4fc005(0x253)](_0x4fc005(0x223));const _0x17c6bf=new Map(),_0x4218a5=this[_0x4fc005(0x228)]=new _0x321e9e();_0x4218a5[_0x4fc005(0x285)](_0x5ec987(()=>{const _0x736a9c=_0x4fc005;_0x17c6bf[_0x736a9c(0x25f)](_0x50e675=>_0x50e675['complete']()),_0x17c6bf[_0x736a9c(0x218)]();})),_0x4218a5[_0x4fc005(0x285)](this['_commandService'][_0x4fc005(0x22d)](_0x1247f5=>{const _0x3521e5=_0x4fc005;var _0x8188a2;if(_0x1247f5[_0x3521e5(0x202)]!==_0x7e8bcb[_0x3521e5(0x23d)]||!this[_0x3521e5(0x240)][_0x3521e5(0x276)](_0x1247f5['id']))return;const {id:_0x21d929}=_0x1247f5;let _0x54547c;_0x17c6bf['has'](_0x21d929)?_0x54547c=_0x17c6bf['get'](_0x21d929):(_0x54547c=new _0x23ea99(),_0x17c6bf['set'](_0x21d929,_0x54547c),_0x54547c[_0x3521e5(0x231)](_0x3198dc((_0x8188a2=this['_configService']['getConfig'](Ce))!=null?_0x8188a2:De,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x3521e5(0x257)](_0x1bb3ad=>{const _0x16196a=_0x3521e5;this['_collabSession'][_0x16196a(0x219)]({'eventID':_0x1dbbdf[_0x16196a(0x25e)],'data':{'unitID':this[_0x16196a(0x1f9)],'operations':{[_0x1bb3ad['id']]:{'id':_0x1bb3ad['id'],'params':JSON['stringify'](_0x1bb3ad['params'])}}}},this[_0x16196a(0x1f9)]);})),_0x54547c[_0x3521e5(0x253)](_0x1247f5);})),this['_liveShareService'][_0x4fc005(0x259)](this[_0x4fc005(0x1f9)])['forEach'](_0x1a5477=>this[_0x4fc005(0x21a)][_0x4fc005(0x219)]({'eventID':_0x1dbbdf[_0x4fc005(0x25e)],'data':{'unitID':this[_0x4fc005(0x1f9)],'operations':{[_0x1a5477['id']]:{'id':_0x1a5477['id'],'params':JSON[_0x4fc005(0x234)](_0x1a5477[_0x4fc005(0x24c)])}}}},this['_unitID']));}['_stopPresenting'](){const _0x4ca804=_0xce0c4e;var _0x3aa452;this[_0x4ca804(0x214)]['next']('idle'),(_0x3aa452=this[_0x4ca804(0x228)])==null||_0x3aa452[_0x4ca804(0x264)](),this[_0x4ca804(0x228)]=null;}[_0xce0c4e(0x250)](){const _0x256c91=_0xce0c4e;var _0x168045;(_0x168045=this[_0x256c91(0x228)])==null||_0x168045[_0x256c91(0x264)](),this[_0x256c91(0x214)][_0x256c91(0x253)](_0x256c91(0x206));}[_0xce0c4e(0x22c)](){const _0x55dd65=_0xce0c4e;var _0x1e7fd1;this[_0x55dd65(0x214)][_0x55dd65(0x253)](_0x55dd65(0x255)),(_0x1e7fd1=this[_0x55dd65(0x228)])==null||_0x1e7fd1[_0x55dd65(0x264)](),this[_0x55dd65(0x228)]=null;}[_0xce0c4e(0x230)](){const _0x4b08d4=_0xce0c4e;var _0x10ed26;this[_0x4b08d4(0x214)][_0x4b08d4(0x253)](_0x4b08d4(0x270)),(_0x10ed26=this[_0x4b08d4(0x228)])==null||_0x10ed26[_0x4b08d4(0x264)]();}[_0xce0c4e(0x25d)](_0x487a88){const _0x56b99e=_0xce0c4e;if([_0x56b99e(0x223),'not-following',_0x56b99e(0x27a)][_0x56b99e(0x286)](this[_0x56b99e(0x235)])||!_0x487a88[_0x56b99e(0x28b)][_0x56b99e(0x1f3)]||_0x487a88['data'][_0x56b99e(0x1f3)]===this[_0x56b99e(0x21a)][_0x56b99e(0x227)]())return;this[_0x56b99e(0x235)]===_0x56b99e(0x255)&&this[_0x56b99e(0x250)]();const _0x38b0ce=_0x487a88[_0x56b99e(0x28b)][_0x56b99e(0x261)];Object['values'](_0x38b0ce)[_0x56b99e(0x25f)](_0x9d02a2=>{const _0x32716d=_0x56b99e;this[_0x32716d(0x296)][_0x32716d(0x283)](_0x9d02a2['id'],_0x9d02a2[_0x32716d(0x24c)]?JSON[_0x32716d(0x27d)](_0x9d02a2[_0x32716d(0x24c)]):null,{'fromCollab':!0x0});});}[_0xce0c4e(0x263)](){const _0x31741e=_0xce0c4e;var _0x366ca6;this[_0x31741e(0x214)][_0x31741e(0x253)]('offline'),(_0x366ca6=this[_0x31741e(0x228)])==null||_0x366ca6[_0x31741e(0x264)]();}[_0xce0c4e(0x208)](){const _0x141ef4=_0xce0c4e;this[_0x141ef4(0x214)][_0x141ef4(0x253)](_0x141ef4(0x255)),this[_0x141ef4(0x275)]();}};N=Y([_(0x2,_0x34266a),_(0x3,_0x2de6b4(L)),_(0x4,_0x492717)],N);function _0x53c8(_0x1b914a,_0x237a83){_0x1b914a=_0x1b914a-0x1ee;const _0x1f6949=_0x1f69();let _0x53c8fe=_0x1f6949[_0x1b914a];return _0x53c8fe;}function _0x1f69(){const _0x3e2fd0=['stopPresenting','find','type','attrs','requireSession','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','following','complete','_handleOnline','registerComponent','Stop\x20following','delete','_startLiveShareCoordinator','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','You\x27re\x20not\x20following\x20the\x20presenter','mask','5044cFXqSi','string','univerjs-icon\x20univerjs-icon-','24qiAloX','_status$','assign','path','registerSharedOperation','clear','send','_collabSession','displayName','symbol','You\x27are\x20offline.','249127FSwmiI','HEADER_MENU','735015lRlZAb','status$','unitId','presenting','reverse','_stopPresenting','univer-size-4','getMemberID','_commandDisposable','get','Stop\x20presenting','_univerInstanceService','_beIdle','onCommandExecuted','init','length','_stopFollowing','pipe','2148aVGnRU','tag','stringify','_status','104172JvKqKv','set','div','0\x200\x2017\x2017','univer-mb-3\x20univer-w-full\x20univer-text-sm','unsubscribe','_uiPartsService','OPERATION','1966878BDeLDF','getStatus','_liveShareService','LIVESHARE_NEW_HOST','sheet','FOLLOWING','button','idSuffix','_mountLiveShare','LiveShareIcon','getLiveShareCoordinator','startFollowing','You\x27re\x20following\x20the\x20presenter','OFFLINE','params','_handleNewHost','11pGiyQv','currentColor','_startFollowing','_init','_entities','next','LIVESHARE_TERMINATE','idle','children','subscribe','current','getInitialStates','2DyIpIt','_collabSessionService','has','_handleOperation','LIVESHARE_OPERATION','forEach','LIVESHARE_FETCH_OPERATIONS','operations','tryStartPresenting','_handleOffline','dispose','_injector','_reporters','defs','live-share.config','map','random','url(#$1','dispose$','3yeAAqR','substring','getLiveShareCoordinatorSync','not-following','4808EMpFng','onRendered','pluginName','text','_fetchOperations','shouldShareOperation','917OFHyuO','_config','end','offline','memberID','sessionStatus$','parse','_sharedOperations','entries','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','1em','UNIVER_SHEET','executeCommand','asObservable','add','includes','PRESENTING','Start','evenodd','NOT_FOLLOWING','data','onStarting','_handleTerminate','mutations','getUnitId','svg','Start\x20following','getTypeOfUnitAdded$','defineProperty','_configService','getOwnPropertyDescriptor','_commandService','UNIVER_UNKNOWN','LIVESHARE_REQUEST_HOST','_startPresenting','stopFollowing','event$','_handleNewChangeSets','defIds','NEW_CHANGESETS','presenter','toString','colorChannel1','xlink:href','fill','_presenter','_unitID','getTypeOfUnitDisposed$','IDLE','4942090qJtcCB','UniverIcon','live-share-icon','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white'];_0x1f69=function(){return _0x3e2fd0;};return _0x1f69();}function Le(){const _0x834dbc=_0xce0c4e,_0x4851cc=_0x14182f(S),_0x242046=_0x14182f(_0x5d85e7),_0x366b30=_0x55b771(()=>_0x242046['getCurrentTypeOfUnit$'](_0x324c39[_0x834dbc(0x282)]),void 0x0,!0x1,[]),[_0x358073,_0x5e9410]=_0x2b36ac(null),[_0x93b40e,_0x1d3a15]=_0x2b36ac(c['IDLE']),_0x273b6a=_0x102f92(null);return _0xcd52bb(()=>(_0x366b30&&_0x4851cc[_0x834dbc(0x248)](_0x366b30[_0x834dbc(0x28f)]())['then'](_0x5a6acf=>{const _0x3f1d68=_0x834dbc;_0x5e9410(_0x5a6acf),_0x273b6a[_0x3f1d68(0x258)]=_0x5a6acf['status$']['subscribe'](_0x2e3505=>{_0x1d3a15(_0x2e3505);});}),()=>{const _0x5aa97b=_0x834dbc;var _0x1a4438;(_0x1a4438=_0x273b6a[_0x5aa97b(0x258)])==null||_0x1a4438[_0x5aa97b(0x23b)](),_0x273b6a[_0x5aa97b(0x258)]=null;}),[_0x366b30,_0x4851cc]),_0x358073?_0x481bab(_0x42bb87,{'align':_0x834dbc(0x279),'disabled':_0x93b40e===c[_0x834dbc(0x24b)],'className':_0x834dbc(0x1ff),'overlay':_0x481bab(Re,{'status':_0x93b40e,'coordinator':_0x358073}),'children':_0x481bab(_0x834dbc(0x244),{'className':_0xfbc3dd(_0x834dbc(0x20d),{'univer-cursor-not-allowed':_0x93b40e===c['OFFLINE'],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x93b40e!==c[_0x834dbc(0x24b)]}),'type':_0x834dbc(0x244),'children':_0x481bab(W,{'className':_0x834dbc(0x226)})})}):null;}function Re(_0x5b806d){const _0x45e4fa=_0xce0c4e,{status:_0x9c7ef7,coordinator:_0x12245e}=_0x5b806d;switch(_0x9c7ef7){case c[_0x45e4fa(0x1fb)]:return _0x481bab($e,{'coordinator':_0x12245e});case c['FOLLOWING']:return _0x481bab(xe,{'coordinator':_0x12245e});case c[_0x45e4fa(0x28a)]:return _0x481bab(Pe,{'coordinator':_0x12245e});case c[_0x45e4fa(0x24b)]:return _0x481bab(Te,{});case c[_0x45e4fa(0x287)]:return _0x481bab(Ae,{'coordinator':_0x12245e});default:return null;}}function $e(_0x203d2b){const _0x21cbd6=_0xce0c4e,{coordinator:_0x322113}=_0x203d2b;return _0x3e4308(_0x2de7e1,{'children':[_0x481bab(_0x21cbd6(0x238),{'className':_0x21cbd6(0x23a),'children':'Present\x20this\x20document'}),_0x481bab(_0x273271,{'onClick':()=>_0x322113[_0x21cbd6(0x262)](),'children':_0x21cbd6(0x288)})]});}function xe(_0x466ff9){const _0x295820=_0xce0c4e,{coordinator:_0x32e1f8}=_0x466ff9;return _0x3e4308(_0x2de7e1,{'children':[_0x481bab(_0x295820(0x238),{'className':_0x295820(0x23a),'children':_0x295820(0x24a)}),_0x481bab(_0x273271,{'onClick':()=>_0x32e1f8[_0x295820(0x1ee)](),'children':_0x295820(0x20a)})]});}function Pe(_0x1b18cd){const _0x46bf32=_0xce0c4e,{coordinator:_0x37026b}=_0x1b18cd;return _0x3e4308(_0x2de7e1,{'children':[_0x481bab(_0x46bf32(0x238),{'className':_0x46bf32(0x23a),'children':_0x46bf32(0x20e)}),_0x481bab(_0x273271,{'variant':_0x46bf32(0x274),'onClick':()=>_0x37026b['startFollowing'](),'children':_0x46bf32(0x291)})]});}function Ae(_0x15b1e1){const _0x1ed5d0=_0xce0c4e,{coordinator:_0x552ad5}=_0x15b1e1;return _0x3e4308(_0x2de7e1,{'children':[_0x481bab(_0x1ed5d0(0x238),{'className':_0x1ed5d0(0x23a),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x481bab(_0x273271,{'variant':'default','onClick':()=>_0x552ad5['stopPresenting'](),'children':_0x1ed5d0(0x22a)})]});}function Te(){const _0x23b940=_0xce0c4e;return _0x481bab(_0x2de7e1,{'children':_0x23b940(0x21d)});}var Fe=Object[_0xce0c4e(0x295)],He=(_0x61172e,_0x50f50d,_0x280557,_0x4f6339)=>{const _0x2fa336=_0xce0c4e;for(var _0x36443e=_0x4f6339>0x1?void 0x0:_0x4f6339?Fe(_0x50f50d,_0x280557):_0x50f50d,_0x3e6806=_0x61172e[_0x2fa336(0x22f)]-0x1,_0x12431d;_0x3e6806>=0x0;_0x3e6806--)(_0x12431d=_0x61172e[_0x3e6806])&&(_0x36443e=_0x12431d(_0x36443e)||_0x36443e);return _0x36443e;},A=(_0x2a0954,_0xe7d020)=>(_0x489cc4,_0x1db3bc)=>_0xe7d020(_0x489cc4,_0x1db3bc,_0x2a0954);let m=class extends _0x391c50{constructor(_0x6cdbcf,_0x312696){const _0x2736fb=_0xce0c4e;super(),this[_0x2736fb(0x265)]=_0x6cdbcf,this[_0x2736fb(0x23c)]=_0x312696,this[_0x2736fb(0x246)]();}['_mountLiveShare'](){const _0x3a3d28=_0xce0c4e;this['disposeWithMe'](this['_uiPartsService'][_0x3a3d28(0x209)](_0x7e38cc[_0x3a3d28(0x21f)],()=>_0x593ae2(Le,this[_0x3a3d28(0x265)])));}};m=He([A(0x0,_0x2de6b4(_0x173c5e)),A(0x1,_0x48a06c)],m);const ye=_0xce0c4e(0x268),T={};var Ue=Object[_0xce0c4e(0x295)],Ve=(_0x22e121,_0x2e3983,_0x4cf945,_0x3c4826)=>{const _0x4496fe=_0xce0c4e;for(var _0x15f34f=_0x3c4826>0x1?void 0x0:_0x3c4826?Ue(_0x2e3983,_0x4cf945):_0x2e3983,_0x2c5cf0=_0x22e121[_0x4496fe(0x22f)]-0x1,_0x814af5;_0x2c5cf0>=0x0;_0x2c5cf0--)(_0x814af5=_0x22e121[_0x2c5cf0])&&(_0x15f34f=_0x814af5(_0x15f34f)||_0x15f34f);return _0x15f34f;},je=(_0x50476d,_0x3a6e75)=>(_0xbe1020,_0x4055fd)=>_0x3a6e75(_0xbe1020,_0x4055fd,_0x50476d);let I=class extends _0x391c50{constructor(_0x338895){const _0x5d6169=_0xce0c4e;super(),this[_0x5d6169(0x240)]=_0x338895,this[_0x5d6169(0x251)]();}[_0xce0c4e(0x251)](){[_0x8a3ff8['id'],_0x3dbd75['id'],_0x31ae4e['id']]['forEach'](_0x8e7b5c=>{const _0x33631d=_0x53c8;this['disposeWithMe'](this[_0x33631d(0x240)]['registerSharedOperation'](_0x8e7b5c));});}};I=Ve([je(0x0,_0x2de6b4(L))],I);var Me=Object[_0xce0c4e(0x293)],ke=Object[_0xce0c4e(0x295)],Ge=(_0x142d9a,_0x1d3bee,_0x517a2d)=>_0x1d3bee in _0x142d9a?Me(_0x142d9a,_0x1d3bee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x517a2d}):_0x142d9a[_0x1d3bee]=_0x517a2d,We=(_0x5d5d52,_0x48919b,_0x49dab9,_0x380cc0)=>{for(var _0x5defb0=_0x380cc0>0x1?void 0x0:_0x380cc0?ke(_0x48919b,_0x49dab9):_0x48919b,_0x9ed4bd=_0x5d5d52['length']-0x1,_0x382a61;_0x9ed4bd>=0x0;_0x9ed4bd--)(_0x382a61=_0x5d5d52[_0x9ed4bd])&&(_0x5defb0=_0x382a61(_0x5defb0)||_0x5defb0);return _0x5defb0;},F=(_0x156e0a,_0x3e960a)=>(_0x136a24,_0xe9c535)=>_0x3e960a(_0x136a24,_0xe9c535,_0x156e0a),B=(_0xf181c4,_0x661305,_0x1ffb38)=>Ge(_0xf181c4,typeof _0x661305!=_0xce0c4e(0x21c)?_0x661305+'':_0x661305,_0x1ffb38);const Ye='UNIVER_LIVE_SHARE_PLUGIN';let b=class extends _0x3d5c76{constructor(_0x1c0333=T,_0x379dbb,_0x18b17d){const _0x450ba2=_0xce0c4e;super(),this[_0x450ba2(0x278)]=_0x1c0333,this[_0x450ba2(0x265)]=_0x379dbb,this['_configService']=_0x18b17d;const {..._0x52f487}=_0x1325bb({},T,this[_0x450ba2(0x278)]);this[_0x450ba2(0x294)]['setConfig'](ye,_0x52f487);}[_0xce0c4e(0x28c)](){const _0x155fae=_0xce0c4e;_0x256053(this['_injector'],_0x4c1cfa([[L],[S],[I],[m]],this['_config']['override'])),_0x39d7eb(this[_0x155fae(0x265)],[[I]]);}[_0xce0c4e(0x272)](){const _0x3c2c9a=_0xce0c4e;_0x39d7eb(this[_0x3c2c9a(0x265)],[[m]]);}};B(b,_0xce0c4e(0x202),_0x324c39[_0xce0c4e(0x297)]),B(b,_0xce0c4e(0x273),Ye),b=We([_0x390b52(_0x11e9df),F(0x1,_0x2de6b4(_0x173c5e)),F(0x2,_0x34266a)],b);export{m as DesktopLiveShareController,Le as LiveShare,S as LiveShareController,N as LiveShareCoordinator,L as LiveShareService,c as LiveShareStatus,b as UniverLiveSharePlugin};
1
+ const _0x3460c1=_0x4557;(function(_0x5e91aa,_0x551fe5){const _0xc8edc0=_0x4557,_0x46e6de=_0x5e91aa();while(!![]){try{const _0x806443=-parseInt(_0xc8edc0(0x150))/0x1*(parseInt(_0xc8edc0(0xdc))/0x2)+-parseInt(_0xc8edc0(0xd6))/0x3+parseInt(_0xc8edc0(0x13f))/0x4+parseInt(_0xc8edc0(0x15c))/0x5*(-parseInt(_0xc8edc0(0x15e))/0x6)+parseInt(_0xc8edc0(0xf8))/0x7*(parseInt(_0xc8edc0(0x100))/0x8)+-parseInt(_0xc8edc0(0x119))/0x9+parseInt(_0xc8edc0(0x104))/0xa*(parseInt(_0xc8edc0(0xda))/0xb);if(_0x806443===_0x551fe5)break;else _0x46e6de['push'](_0x46e6de['shift']());}catch(_0x527f52){_0x46e6de['push'](_0x46e6de['shift']());}}}(_0x2e26,0x4b0b4));var J=Object[_0x3460c1(0x126)],K=(_0xee29c6,_0x1c2b47,_0x49608d)=>_0x1c2b47 in _0xee29c6?J(_0xee29c6,_0x1c2b47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49608d}):_0xee29c6[_0x1c2b47]=_0x49608d,u=(_0x3e01fd,_0x32c32d,_0x4ce276)=>K(_0x3e01fd,typeof _0x32c32d!=_0x3460c1(0xf4)?_0x32c32d+'':_0x32c32d,_0x4ce276);import{Disposable as _0xc5e0a9,toDisposable as _0x87ebf2,IUniverInstanceService as _0xa87a14,Inject as _0x3bcdba,Injector as _0x19e107,IConfigService as _0x29db0f,ICommandService as _0x565687,RxDisposable as _0x591da1,UniverInstanceType as _0x3cb45b,DisposableCollection as _0x81324e,CommandType as _0x5504a2,DependentOn as _0x1ebbc3,Plugin as _0x16f213,merge as _0x125a7c,registerDependencies as _0x41bf15,mergeOverrideWithDependencies as _0x1cc35b,touchDependencies as _0x15308f}from'@univerjs/core';import{useDependency as _0x2b3e7d,useObservable as _0x27fd11,IUIPartsService as _0x42e77f,BuiltInUIPart as _0x5b833c,connectInjector as _0x87cd1f}from'@univerjs/ui';import{jsx as _0x9b8f83,jsxs as _0x3911e5,Fragment as _0x51b535}from'react/jsx-runtime';import{Dropdown as _0x320cc1,clsx as _0x889c00,Button as _0x25f1f0}from'@univerjs/design';import{useRef as _0x198b9b,createElement as _0x496fa8,forwardRef as _0x1d4949,useState as _0x51630b,useEffect as _0x112452}from'react';import{CollaborationEvent as _0x1bd605,parseProtocolChangeset as _0x52281c}from'@univerjs-pro/collaboration';import{CollaborationSessionService as _0x419de7,SessionStatus as _0x472715,UniverCollaborationClientPlugin as _0x82618b}from'@univerjs-pro/collaboration-client';import{InsertSheetMutation as _0x90e1c7,SetWorksheetActiveOperation as _0x4608bd}from'@univerjs/sheets';import{BehaviorSubject as _0x54131c,Subject as _0x1d9924}from'rxjs';import{takeUntil as _0x1cfb04,throttleTime as _0x387acb}from'rxjs/operators';import{SetZoomRatioOperation as _0x4fb690,SetScrollOperation as _0x5633c5}from'@univerjs/sheets-ui';function k({ref:_0x26a054,..._0x5508a8}){const _0x151f62=_0x3460c1,{icon:_0x399b7f,id:_0x6c9fe5,className:_0x5c55ac,extend:_0x4505a3,..._0x440c88}=_0x5508a8,_0x5af4eb=('univerjs-icon\x20univerjs-icon-'+_0x6c9fe5+'\x20'+(_0x5c55ac||''))['trim'](),_0x47c2e5=_0x198b9b('_'+Oe());return G(_0x399b7f,''+_0x6c9fe5,{'defIds':_0x399b7f['defIds'],'idSuffix':_0x47c2e5[_0x151f62(0xd3)]},{'ref':_0x26a054,'className':_0x5af4eb,..._0x440c88},_0x4505a3);}function G(_0x37cf3b,_0x5f31e4,_0x2ecc13,_0x9b24bc,_0x54e131){const _0x482e13=_0x3460c1;return _0x496fa8(_0x37cf3b['tag'],{'key':_0x5f31e4,...be(_0x37cf3b,_0x2ecc13,_0x54e131),..._0x9b24bc},(Ee(_0x37cf3b,_0x2ecc13)[_0x482e13(0x11f)]||[])[_0x482e13(0x13e)]((_0x22d74d,_0x2b0a24)=>G(_0x22d74d,_0x5f31e4+'-'+_0x37cf3b[_0x482e13(0x111)]+'-'+_0x2b0a24,_0x2ecc13,void 0x0,_0x54e131)));}function be(_0x226ed1,_0x4bfac6,_0x5760a2){const _0x187901=_0x3460c1,_0x51172a={..._0x226ed1[_0x187901(0x145)]};_0x5760a2!=null&&_0x5760a2[_0x187901(0x12e)]&&_0x51172a[_0x187901(0x14e)]===_0x187901(0x12e)&&(_0x51172a['fill']=_0x5760a2[_0x187901(0x12e)]),_0x226ed1[_0x187901(0x111)]===_0x187901(0x10c)&&_0x51172a['id']&&(_0x51172a['id']=_0x51172a['id']+_0x4bfac6[_0x187901(0xfc)]),Object[_0x187901(0x15a)](_0x51172a)[_0x187901(0x11d)](([_0x52dc91,_0x2c29ad])=>{const _0x5806ec=_0x187901;_0x52dc91==='mask'&&typeof _0x2c29ad==_0x5806ec(0x161)&&(_0x51172a[_0x52dc91]=_0x2c29ad['replace'](/url\(#(.*)\)/,_0x5806ec(0x116)+_0x4bfac6[_0x5806ec(0xfc)]+')'));});const {defIds:_0x2d7710}=_0x4bfac6;return!_0x2d7710||_0x2d7710['length']===0x0||(_0x226ed1['tag']===_0x187901(0x154)&&_0x51172a['xlink:href']&&(_0x51172a['xlink:href']=_0x51172a['xlink:href']+_0x4bfac6[_0x187901(0xfc)]),Object[_0x187901(0x15a)](_0x51172a)[_0x187901(0x11d)](([_0x18a762,_0x37b00d])=>{const _0x534e15=_0x187901;typeof _0x37b00d==_0x534e15(0x161)&&(_0x51172a[_0x18a762]=_0x37b00d[_0x534e15(0x11e)](/url\(#(.*)\)/,_0x534e15(0x116)+_0x4bfac6['idSuffix']+')'));})),_0x51172a;}function Ee(_0x43f4ae,_0x4b935d){const _0x3ba781=_0x3460c1;var _0x474e3d;const {defIds:_0xa41c91}=_0x4b935d;return!_0xa41c91||_0xa41c91[_0x3ba781(0xe6)]===0x0?_0x43f4ae:_0x43f4ae[_0x3ba781(0x111)]===_0x3ba781(0x139)&&((_0x474e3d=_0x43f4ae[_0x3ba781(0x11f)])!=null&&_0x474e3d[_0x3ba781(0xe6)])?{..._0x43f4ae,'children':_0x43f4ae[_0x3ba781(0x11f)]['map'](_0x22572c=>typeof _0x22572c[_0x3ba781(0x145)]['id']==_0x3ba781(0x161)&&_0xa41c91&&_0xa41c91['includes'](_0x22572c[_0x3ba781(0x145)]['id'])?{..._0x22572c,'attrs':{..._0x22572c['attrs'],'id':_0x22572c[_0x3ba781(0x145)]['id']+_0x4b935d['idSuffix']}}:_0x22572c)}:_0x43f4ae;}function Oe(){const _0x571914=_0x3460c1;return Math[_0x571914(0x110)]()[_0x571914(0x16c)](0x24)[_0x571914(0x12a)](0x2,0x8);}k[_0x3460c1(0xd2)]=_0x3460c1(0x14b);const we={'tag':_0x3460c1(0xe8),'attrs':{'xmlns':_0x3460c1(0x156),'fill':_0x3460c1(0x118),'viewBox':_0x3460c1(0xdf),'width':'1em','height':_0x3460c1(0x12c)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z'}},{'tag':_0x3460c1(0xe4),'attrs':{'fill':_0x3460c1(0x157),'d':'M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','fillRule':'evenodd','clipRule':_0x3460c1(0x11b)}}]},W=_0x1d4949(function(_0x1e7683,_0x9a32e2){const _0x448ee4=_0x3460c1;return _0x496fa8(k,Object[_0x448ee4(0x128)]({},_0x1e7683,{'id':_0x448ee4(0x141),'ref':_0x9a32e2,'icon':we}));});W['displayName']='LiveShareIcon';class L extends _0xc5e0a9{constructor(){const _0x4eec30=_0x3460c1;super(...arguments),u(this,_0x4eec30(0xe0),new Set()),u(this,_0x4eec30(0x131),new Set());}[_0x3460c1(0xec)](_0xce0c2b){const _0x27c1c2=_0x3460c1;return this['_sharedOperations'][_0x27c1c2(0x149)](_0xce0c2b),_0x87ebf2(()=>this['_sharedOperations'][_0x27c1c2(0xd0)](_0xce0c2b));}['registerInitialStateReporter'](_0x5486f1){const _0x134273=_0x3460c1;return this['_reporters'][_0x134273(0x149)](_0x5486f1),_0x87ebf2(()=>this[_0x134273(0x131)][_0x134273(0xd0)](_0x5486f1));}[_0x3460c1(0x153)](_0x382e39){const _0x4900b3=_0x3460c1;return this[_0x4900b3(0xe0)]['has'](_0x382e39);}['getInitialStates'](_0x2277c7){const _0x56ffca=_0x3460c1;return Array[_0x56ffca(0x102)](this['_reporters'])[_0x56ffca(0x13e)](_0xee86d4=>_0xee86d4(_0x2277c7));}}var Ne=Object[_0x3460c1(0x163)],Y=(_0x3ad7f6,_0xb6cc1e,_0x210af2,_0x30d218)=>{const _0x57a988=_0x3460c1;for(var _0x4e546e=_0x30d218>0x1?void 0x0:_0x30d218?Ne(_0xb6cc1e,_0x210af2):_0xb6cc1e,_0x5c3e02=_0x3ad7f6[_0x57a988(0xe6)]-0x1,_0x44c03a;_0x5c3e02>=0x0;_0x5c3e02--)(_0x44c03a=_0x3ad7f6[_0x5c3e02])&&(_0x4e546e=_0x44c03a(_0x4e546e)||_0x4e546e);return _0x4e546e;},_=(_0x1de16c,_0x3cb4b0)=>(_0x2c8718,_0x19ca88)=>_0x3cb4b0(_0x2c8718,_0x19ca88,_0x1de16c);let S=class extends _0x591da1{constructor(_0x53d9f1,_0xe2dd4c,_0x15c992){const _0x410d85=_0x3460c1;super(),u(this,'_entities',new Map()),(this[_0x410d85(0x144)]=_0x53d9f1,this['_injector']=_0xe2dd4c,this['_collabSessionService']=_0x15c992,this['_init']());}async[_0x3460c1(0x117)](_0x49cd36){const _0x21f2d2=_0x3460c1;return this[_0x21f2d2(0x115)]['has'](_0x49cd36)||await this[_0x21f2d2(0xf9)](_0x49cd36),this['_entities'][_0x21f2d2(0x138)](_0x49cd36);}['getLiveShareCoordinatorSync'](_0x3b6bf2){const _0xb68733=_0x3460c1;var _0x131cbc;return(_0x131cbc=this[_0xb68733(0x115)][_0xb68733(0x138)](_0x3b6bf2))!=null?_0x131cbc:null;}[_0x3460c1(0xf5)](){const _0x280766=_0x3460c1;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3cb45b[_0x280766(0x12f)])['pipe'](_0x1cfb04(this[_0x280766(0xea)]))['subscribe'](async _0x239aaf=>{const _0x3e300a=_0x280766,_0x1c4969=_0x239aaf[_0x3e300a(0xed)]();this[_0x3e300a(0x115)]['has'](_0x1c4969)||this['_startLiveShareCoordinator'](_0x1c4969);}),this[_0x280766(0x144)][_0x280766(0x10b)](_0x3cb45b[_0x280766(0x12f)])[_0x280766(0x11c)](_0x1cfb04(this[_0x280766(0xea)]))['subscribe'](_0x1cb7c5=>{const _0x48a1db=_0x280766,_0x2a0b5e=_0x1cb7c5[_0x48a1db(0xed)](),_0x12175d=this['_entities'][_0x48a1db(0x138)](_0x2a0b5e);_0x12175d==null||_0x12175d['dispose']();});}async[_0x3460c1(0xf9)](_0x30b34c){const _0x26092a=_0x3460c1,_0x13bd2c=await this[_0x26092a(0x10f)]['requireSession'](_0x30b34c),_0xbe848e=this['_injector'][_0x26092a(0x134)](N,_0x30b34c,_0x13bd2c);return _0xbe848e[_0x26092a(0x124)](),this['_entities'][_0x26092a(0x108)](_0x30b34c,_0xbe848e),_0xbe848e;}};function _0x4557(_0x319d5b,_0x466118){_0x319d5b=_0x319d5b-0xd0;const _0x2e2603=_0x2e26();let _0x4557b6=_0x2e2603[_0x319d5b];return _0x4557b6;}S=Y([_(0x0,_0xa87a14),_(0x1,_0x3bcdba(_0x19e107)),_(0x2,_0x3bcdba(_0x419de7))],S);var c=(_0x249ad8=>(_0x249ad8['OFFLINE']=_0x3460c1(0xdd),_0x249ad8[_0x3460c1(0x14a)]=_0x3460c1(0xe3),_0x249ad8[_0x3460c1(0x160)]=_0x3460c1(0x147),_0x249ad8[_0x3460c1(0x114)]=_0x3460c1(0x165),_0x249ad8[_0x3460c1(0x13c)]='presenting',_0x249ad8))(c||{});const Ce=_0x3460c1(0x148),De=0xc8;function _0x2e26(){const _0x5e967a=['dispose','event$','data','sessionStatus$','_commandService','_collabSession','symbol','_init','find','live-share.config','7VkPebU','_startLiveShareCoordinator','stopFollowing','Present\x20this\x20document','idSuffix','send','onCommandExecuted','default','4482536RTdaRF','next','from','_handleOnline','40eyXOLS','Start','params','_startPresenting','set','parse','_status$','getTypeOfUnitDisposed$','mask','includes','unitId','_collabSessionService','random','tag','Start\x20following','_handleNewChangeSets','NOT_FOLLOWING','_entities','url(#$1','getLiveShareCoordinator','none','4234896shwwpu','type','evenodd','pipe','forEach','replace','children','div','button','override','getValue','init','HEADER_MENU','defineProperty','getInitialStates','assign','has','substring','OFFLINE','1em','_fetchOperations','colorChannel1','UNIVER_SHEET','_handleOperation','_reporters','LIVESHARE_TERMINATE','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','createInstance','stringify','unsubscribe','onRendered','get','defs','_injector','getCurrentTypeOfUnit$','PRESENTING','tryStartPresenting','map','863220xHXkSL','subscribe','live-share-icon','_handleTerminate','_handleOffline','_univerInstanceService','attrs','clear','following','SAME_OPERATION_SHARE_INTERVAL','add','IDLE','UniverIcon','startFollowing','univer-size-4','fill','univer-mb-3\x20univer-w-full\x20univer-text-sm','23gaMkjK','LIVESHARE_FETCH_OPERATIONS','presenter','shouldShareOperation','use','_handleNewHost','http://www.w3.org/2000/svg','currentColor','disposeWithMe','memberID','entries','You\x27re\x20not\x20following\x20the\x20presenter','250YiFNYI','pluginName','38166BGNHdq','_unitID','FOLLOWING','string','ONLINE','getOwnPropertyDescriptor','_commandDisposable','not-following','presenting','status$','mutations','sheet','_startFollowing','getMemberID','toString','stopPresenting','then','_mountLiveShare','_liveShareService','delete','You\x27are\x20offline.','displayName','current','onStarting','_beIdle','527169AxmxmC','_status','text','_stopFollowing','1951246VrGJSu','executeCommand','18606rZGRuB','offline','You\x27re\x20following\x20the\x20presenter','0\x200\x2017\x2017','_sharedOperations','_config','registerComponent','idle','path','_configService','length','_presenter','svg','LIVESHARE_REQUEST_HOST','dispose$','setConfig','registerSharedOperation','getUnitId'];_0x2e26=function(){return _0x5e967a;};return _0x2e26();}let N=class extends _0x591da1{constructor(_0x11b18b,_0x477f19,_0x257db7,_0xbbf2d2,_0x4bee3b){const _0x3ef8b0=_0x3460c1;super(),u(this,_0x3ef8b0(0x10a),new _0x54131c(_0x3ef8b0(0xe3))),u(this,_0x3ef8b0(0x167),this[_0x3ef8b0(0x10a)]['asObservable']()),u(this,'_init',!0x1),u(this,_0x3ef8b0(0x164),null),u(this,_0x3ef8b0(0xe7),null),(this[_0x3ef8b0(0x15f)]=_0x11b18b,this['_collabSession']=_0x477f19,this[_0x3ef8b0(0xe5)]=_0x257db7,this['_liveShareService']=_0xbbf2d2,this[_0x3ef8b0(0xf2)]=_0x4bee3b);}get[_0x3460c1(0xd7)](){const _0x5d3644=_0x3460c1;return this[_0x5d3644(0x10a)][_0x5d3644(0x123)]();}[_0x3460c1(0xee)](){const _0x54914b=_0x3460c1;var _0x371575;(_0x371575=this[_0x54914b(0x164)])==null||_0x371575[_0x54914b(0xee)](),this[_0x54914b(0x10a)][_0x54914b(0x101)](_0x54914b(0xe3)),this[_0x54914b(0x10a)]['complete']();}['getStatus'](){const _0x3507c4=_0x3460c1;return this[_0x3507c4(0xd7)];}[_0x3460c1(0x124)](){const _0x5a40dd=_0x3460c1;this[_0x5a40dd(0xf5)]||(this[_0x5a40dd(0xf5)]=!0x0,this['_collabSession'][_0x5a40dd(0xf1)]['pipe'](_0x1cfb04(this[_0x5a40dd(0xea)]))[_0x5a40dd(0x140)](_0x279107=>{const _0x3ab0fd=_0x5a40dd;switch(_0x279107){case _0x472715[_0x3ab0fd(0x12b)]:this['_handleOffline']();break;case _0x472715[_0x3ab0fd(0x162)]:this[_0x3ab0fd(0x103)]();break;}}),this[_0x5a40dd(0xf3)][_0x5a40dd(0xef)]['pipe'](_0x1cfb04(this[_0x5a40dd(0xea)]))[_0x5a40dd(0x140)](_0x674d7d=>{const _0x500399=_0x5a40dd,{eventID:_0x406dc9}=_0x674d7d;switch(_0x406dc9){case _0x1bd605['LIVESHARE_NEW_HOST']:this[_0x500399(0x155)](_0x674d7d);break;case _0x1bd605['LIVESHARE_OPERATION']:this[_0x500399(0x130)](_0x674d7d);break;case _0x1bd605[_0x500399(0x132)]:this['_handleTerminate']();break;case _0x1bd605['NEW_CHANGESETS']:this[_0x500399(0x113)](_0x674d7d);break;}}));}[_0x3460c1(0x13d)](){const _0x4507dc=_0x3460c1;this[_0x4507dc(0xf3)]['send']({'eventID':_0x1bd605[_0x4507dc(0xe9)],'data':{'unitID':this[_0x4507dc(0x15f)],'userID':this[_0x4507dc(0xf3)][_0x4507dc(0x16b)]()}},this[_0x4507dc(0x15f)]);}[_0x3460c1(0x16d)](){const _0x4520c4=_0x3460c1;this[_0x4520c4(0xd7)]===_0x4520c4(0x166)&&(this[_0x4520c4(0x10a)][_0x4520c4(0x101)](_0x4520c4(0xe3)),this[_0x4520c4(0xf3)][_0x4520c4(0xfd)]({'eventID':_0x1bd605[_0x4520c4(0x132)],'data':{'unitID':this[_0x4520c4(0x15f)]}},this[_0x4520c4(0x15f)]));}[_0x3460c1(0x14c)](){const _0x558865=_0x3460c1;this[_0x558865(0xd7)]===_0x558865(0x165)&&(this['_status$'][_0x558865(0x101)](_0x558865(0x147)),this['_startFollowing']());}['stopFollowing'](){const _0x32da72=_0x3460c1;this[_0x32da72(0xd7)]===_0x32da72(0x147)&&this[_0x32da72(0xd9)]();}[_0x3460c1(0x155)](_0x5ef90d){const _0x2da164=_0x3460c1,{presenter:_0x288bbb}=_0x5ef90d[_0x2da164(0xf0)],_0x2f32d6=this[_0x2da164(0xf3)][_0x2da164(0x16b)]();this[_0x2da164(0xe7)]=_0x288bbb,_0x288bbb===_0x2f32d6?(this[_0x2da164(0xd9)](),this[_0x2da164(0x107)]()):this['_status']!==_0x2da164(0x165)&&(this['_stopPresenting'](),this['_startFollowing']());}[_0x3460c1(0x12d)](){const _0x5294cf=_0x3460c1,_0x14a72c={'eventID':_0x1bd605[_0x5294cf(0x151)]};this[_0x5294cf(0xf3)][_0x5294cf(0xfd)](_0x14a72c,this['_unitID']);}[_0x3460c1(0x142)](){const _0x38d416=_0x3460c1;this[_0x38d416(0xe7)]=null,this[_0x38d416(0xd7)]!==_0x38d416(0x166)&&this[_0x38d416(0xd5)]();}[_0x3460c1(0x113)](_0x585489){const _0x503f5c=_0x3460c1;if(this['_status']==='following'&&this[_0x503f5c(0xe7)]===_0x585489[_0x503f5c(0xf0)][_0x503f5c(0x159)]){const _0x16ef39=_0x52281c(_0x585489[_0x503f5c(0xf0)])[_0x503f5c(0x168)]['reverse']()[_0x503f5c(0xf6)](_0x4e70d1=>_0x4e70d1['id']===_0x90e1c7['id']);if(_0x16ef39){const _0x25a089=_0x16ef39['params'][_0x503f5c(0x10e)],_0x436a77=_0x16ef39[_0x503f5c(0x106)][_0x503f5c(0x169)]['id'];setTimeout(()=>{const _0x19d3ef=_0x503f5c;this[_0x19d3ef(0xf2)][_0x19d3ef(0xdb)](_0x4608bd['id'],{'unitId':_0x25a089,'subUnitId':_0x436a77},{'fromCollab':!0x0});});}}}['_startPresenting'](){const _0x496b72=_0x3460c1;this[_0x496b72(0x10a)]['next']('presenting');const _0x2642e6=new Map(),_0x20a636=this[_0x496b72(0x164)]=new _0x81324e();_0x20a636[_0x496b72(0x149)](_0x87ebf2(()=>{const _0x548f8e=_0x496b72;_0x2642e6[_0x548f8e(0x11d)](_0x34fb0f=>_0x34fb0f['complete']()),_0x2642e6[_0x548f8e(0x146)]();})),_0x20a636['add'](this[_0x496b72(0xf2)][_0x496b72(0xfe)](_0x1d3c1d=>{const _0x2c366=_0x496b72;var _0x2ae01b;if(_0x1d3c1d[_0x2c366(0x11a)]!==_0x5504a2['OPERATION']||!this[_0x2c366(0x170)][_0x2c366(0x153)](_0x1d3c1d['id']))return;const {id:_0x31d627}=_0x1d3c1d;let _0x3d83c4;_0x2642e6[_0x2c366(0x129)](_0x31d627)?_0x3d83c4=_0x2642e6['get'](_0x31d627):(_0x3d83c4=new _0x1d9924(),_0x2642e6['set'](_0x31d627,_0x3d83c4),_0x3d83c4[_0x2c366(0x11c)](_0x387acb((_0x2ae01b=this[_0x2c366(0xe5)]['getConfig'](Ce))!=null?_0x2ae01b:De,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x2c366(0x140)](_0xba430c=>{const _0x300dc2=_0x2c366;this['_collabSession'][_0x300dc2(0xfd)]({'eventID':_0x1bd605['LIVESHARE_OPERATION'],'data':{'unitID':this[_0x300dc2(0x15f)],'operations':{[_0xba430c['id']]:{'id':_0xba430c['id'],'params':JSON[_0x300dc2(0x135)](_0xba430c[_0x300dc2(0x106)])}}}},this[_0x300dc2(0x15f)]);})),_0x3d83c4[_0x2c366(0x101)](_0x1d3c1d);})),this[_0x496b72(0x170)][_0x496b72(0x127)](this[_0x496b72(0x15f)])[_0x496b72(0x11d)](_0x352994=>this[_0x496b72(0xf3)]['send']({'eventID':_0x1bd605['LIVESHARE_OPERATION'],'data':{'unitID':this[_0x496b72(0x15f)],'operations':{[_0x352994['id']]:{'id':_0x352994['id'],'params':JSON[_0x496b72(0x135)](_0x352994[_0x496b72(0x106)])}}}},this[_0x496b72(0x15f)]));}['_stopPresenting'](){const _0x2e798d=_0x3460c1;var _0x5a524d;this[_0x2e798d(0x10a)][_0x2e798d(0x101)](_0x2e798d(0xe3)),(_0x5a524d=this[_0x2e798d(0x164)])==null||_0x5a524d[_0x2e798d(0xee)](),this[_0x2e798d(0x164)]=null;}[_0x3460c1(0x16a)](){const _0x5030db=_0x3460c1;var _0xb9a39d;(_0xb9a39d=this[_0x5030db(0x164)])==null||_0xb9a39d[_0x5030db(0xee)](),this[_0x5030db(0x10a)][_0x5030db(0x101)](_0x5030db(0x147));}[_0x3460c1(0xd5)](){const _0x31f927=_0x3460c1;var _0xe57fb7;this['_status$'][_0x31f927(0x101)]('idle'),(_0xe57fb7=this[_0x31f927(0x164)])==null||_0xe57fb7[_0x31f927(0xee)](),this[_0x31f927(0x164)]=null;}[_0x3460c1(0xd9)](){const _0x3589c4=_0x3460c1;var _0x1314b7;this[_0x3589c4(0x10a)][_0x3589c4(0x101)](_0x3589c4(0x165)),(_0x1314b7=this[_0x3589c4(0x164)])==null||_0x1314b7['dispose']();}['_handleOperation'](_0x3c1c91){const _0x514481=_0x3460c1;if([_0x514481(0x166),_0x514481(0x165),_0x514481(0xdd)][_0x514481(0x10d)](this[_0x514481(0xd7)])||!_0x3c1c91['data'][_0x514481(0x152)]||_0x3c1c91[_0x514481(0xf0)]['presenter']===this[_0x514481(0xf3)][_0x514481(0x16b)]())return;this[_0x514481(0xd7)]===_0x514481(0xe3)&&this[_0x514481(0x16a)]();const _0x4f3327=_0x3c1c91[_0x514481(0xf0)]['operations'];Object['values'](_0x4f3327)[_0x514481(0x11d)](_0x8f6359=>{const _0x59f750=_0x514481;this['_commandService'][_0x59f750(0xdb)](_0x8f6359['id'],_0x8f6359['params']?JSON[_0x59f750(0x109)](_0x8f6359[_0x59f750(0x106)]):null,{'fromCollab':!0x0});});}[_0x3460c1(0x143)](){const _0x1634e0=_0x3460c1;var _0x18cb66;this[_0x1634e0(0x10a)][_0x1634e0(0x101)](_0x1634e0(0xdd)),(_0x18cb66=this[_0x1634e0(0x164)])==null||_0x18cb66['dispose']();}[_0x3460c1(0x103)](){const _0x485e4a=_0x3460c1;this[_0x485e4a(0x10a)][_0x485e4a(0x101)]('idle'),this[_0x485e4a(0x12d)]();}};N=Y([_(0x2,_0x29db0f),_(0x3,_0x3bcdba(L)),_(0x4,_0x565687)],N);function Le(){const _0x4048c9=_0x3460c1,_0x1de4d5=_0x2b3e7d(S),_0x45a0b0=_0x2b3e7d(_0xa87a14),_0x1170b3=_0x27fd11(()=>_0x45a0b0[_0x4048c9(0x13b)](_0x3cb45b[_0x4048c9(0x12f)]),void 0x0,!0x1,[]),[_0x28449e,_0x1e80b1]=_0x51630b(null),[_0x1000d2,_0x16535e]=_0x51630b(c[_0x4048c9(0x14a)]),_0x767a5f=_0x198b9b(null);return _0x112452(()=>(_0x1170b3&&_0x1de4d5[_0x4048c9(0x117)](_0x1170b3['getUnitId']())[_0x4048c9(0x16e)](_0xc44a0c=>{const _0x54ea5c=_0x4048c9;_0x1e80b1(_0xc44a0c),_0x767a5f[_0x54ea5c(0xd3)]=_0xc44a0c[_0x54ea5c(0x167)]['subscribe'](_0x77fe00=>{_0x16535e(_0x77fe00);});}),()=>{const _0xd59584=_0x4048c9;var _0x51c0a1;(_0x51c0a1=_0x767a5f[_0xd59584(0xd3)])==null||_0x51c0a1[_0xd59584(0x136)](),_0x767a5f[_0xd59584(0xd3)]=null;}),[_0x1170b3,_0x1de4d5]),_0x28449e?_0x9b8f83(_0x320cc1,{'align':'end','disabled':_0x1000d2===c[_0x4048c9(0x12b)],'className':'univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','overlay':_0x9b8f83(Re,{'status':_0x1000d2,'coordinator':_0x28449e}),'children':_0x9b8f83(_0x4048c9(0x121),{'className':_0x889c00(_0x4048c9(0x133),{'univer-cursor-not-allowed':_0x1000d2===c[_0x4048c9(0x12b)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x1000d2!==c[_0x4048c9(0x12b)]}),'type':_0x4048c9(0x121),'children':_0x9b8f83(W,{'className':_0x4048c9(0x14d)})})}):null;}function Re(_0x49ce94){const _0x4678b7=_0x3460c1,{status:_0x8e73f5,coordinator:_0x2a5f9c}=_0x49ce94;switch(_0x8e73f5){case c[_0x4678b7(0x14a)]:return _0x9b8f83($e,{'coordinator':_0x2a5f9c});case c[_0x4678b7(0x160)]:return _0x9b8f83(xe,{'coordinator':_0x2a5f9c});case c[_0x4678b7(0x114)]:return _0x9b8f83(Pe,{'coordinator':_0x2a5f9c});case c[_0x4678b7(0x12b)]:return _0x9b8f83(Te,{});case c[_0x4678b7(0x13c)]:return _0x9b8f83(Ae,{'coordinator':_0x2a5f9c});default:return null;}}function $e(_0xcbfff8){const _0x4755ad=_0x3460c1,{coordinator:_0x29a724}=_0xcbfff8;return _0x3911e5(_0x51b535,{'children':[_0x9b8f83(_0x4755ad(0x120),{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':_0x4755ad(0xfb)}),_0x9b8f83(_0x25f1f0,{'onClick':()=>_0x29a724['tryStartPresenting'](),'children':_0x4755ad(0x105)})]});}function xe(_0x43f290){const _0x4922fa=_0x3460c1,{coordinator:_0x51ab5e}=_0x43f290;return _0x3911e5(_0x51b535,{'children':[_0x9b8f83(_0x4922fa(0x120),{'className':_0x4922fa(0x14f),'children':_0x4922fa(0xde)}),_0x9b8f83(_0x25f1f0,{'onClick':()=>_0x51ab5e[_0x4922fa(0xfa)](),'children':'Stop\x20following'})]});}function Pe(_0x14060b){const _0x362e5e=_0x3460c1,{coordinator:_0x2583f6}=_0x14060b;return _0x3911e5(_0x51b535,{'children':[_0x9b8f83(_0x362e5e(0x120),{'className':_0x362e5e(0x14f),'children':_0x362e5e(0x15b)}),_0x9b8f83(_0x25f1f0,{'variant':_0x362e5e(0xd8),'onClick':()=>_0x2583f6[_0x362e5e(0x14c)](),'children':_0x362e5e(0x112)})]});}function Ae(_0x2d76d9){const _0x50c1d3=_0x3460c1,{coordinator:_0x406096}=_0x2d76d9;return _0x3911e5(_0x51b535,{'children':[_0x9b8f83(_0x50c1d3(0x120),{'className':_0x50c1d3(0x14f),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x9b8f83(_0x25f1f0,{'variant':_0x50c1d3(0xff),'onClick':()=>_0x406096[_0x50c1d3(0x16d)](),'children':'Stop\x20presenting'})]});}function Te(){const _0x5907f0=_0x3460c1;return _0x9b8f83(_0x51b535,{'children':_0x5907f0(0xd1)});}var Fe=Object[_0x3460c1(0x163)],He=(_0x538afa,_0x11611c,_0x44a43a,_0x4070c2)=>{for(var _0x1a7dbf=_0x4070c2>0x1?void 0x0:_0x4070c2?Fe(_0x11611c,_0x44a43a):_0x11611c,_0x1160de=_0x538afa['length']-0x1,_0x24251c;_0x1160de>=0x0;_0x1160de--)(_0x24251c=_0x538afa[_0x1160de])&&(_0x1a7dbf=_0x24251c(_0x1a7dbf)||_0x1a7dbf);return _0x1a7dbf;},A=(_0x4b15b1,_0x2de9ec)=>(_0x3a6df4,_0x52a4a2)=>_0x2de9ec(_0x3a6df4,_0x52a4a2,_0x4b15b1);let m=class extends _0xc5e0a9{constructor(_0x4873e9,_0x17d8e4){const _0x3a95ed=_0x3460c1;super(),this[_0x3a95ed(0x13a)]=_0x4873e9,this['_uiPartsService']=_0x17d8e4,this['_mountLiveShare']();}[_0x3460c1(0x16f)](){const _0x145b80=_0x3460c1;this[_0x145b80(0x158)](this['_uiPartsService'][_0x145b80(0xe2)](_0x5b833c[_0x145b80(0x125)],()=>_0x87cd1f(Le,this[_0x145b80(0x13a)])));}};m=He([A(0x0,_0x3bcdba(_0x19e107)),A(0x1,_0x42e77f)],m);const ye=_0x3460c1(0xf7),T={};var Ue=Object['getOwnPropertyDescriptor'],Ve=(_0x85e724,_0x4b18d9,_0x46848f,_0x7291df)=>{const _0x2e2c3c=_0x3460c1;for(var _0x5dfdc3=_0x7291df>0x1?void 0x0:_0x7291df?Ue(_0x4b18d9,_0x46848f):_0x4b18d9,_0x2dbdf0=_0x85e724[_0x2e2c3c(0xe6)]-0x1,_0x5177e1;_0x2dbdf0>=0x0;_0x2dbdf0--)(_0x5177e1=_0x85e724[_0x2dbdf0])&&(_0x5dfdc3=_0x5177e1(_0x5dfdc3)||_0x5dfdc3);return _0x5dfdc3;},je=(_0xcb74ea,_0x4aaf53)=>(_0x1c3b5c,_0x1b5ad3)=>_0x4aaf53(_0x1c3b5c,_0x1b5ad3,_0xcb74ea);let I=class extends _0xc5e0a9{constructor(_0x301154){const _0x48484d=_0x3460c1;super(),this[_0x48484d(0x170)]=_0x301154,this[_0x48484d(0xf5)]();}[_0x3460c1(0xf5)](){const _0x581c86=_0x3460c1;[_0x4fb690['id'],_0x5633c5['id'],_0x4608bd['id']][_0x581c86(0x11d)](_0x7ce23e=>{const _0x210a8c=_0x581c86;this[_0x210a8c(0x158)](this[_0x210a8c(0x170)]['registerSharedOperation'](_0x7ce23e));});}};I=Ve([je(0x0,_0x3bcdba(L))],I);var Me=Object[_0x3460c1(0x126)],ke=Object[_0x3460c1(0x163)],Ge=(_0x5a8dd8,_0x104b3a,_0x57d3bf)=>_0x104b3a in _0x5a8dd8?Me(_0x5a8dd8,_0x104b3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57d3bf}):_0x5a8dd8[_0x104b3a]=_0x57d3bf,We=(_0x264d4e,_0x269ef6,_0x265b4b,_0x5943ce)=>{const _0x5e3e39=_0x3460c1;for(var _0x16d8da=_0x5943ce>0x1?void 0x0:_0x5943ce?ke(_0x269ef6,_0x265b4b):_0x269ef6,_0x2cb272=_0x264d4e[_0x5e3e39(0xe6)]-0x1,_0x56fb44;_0x2cb272>=0x0;_0x2cb272--)(_0x56fb44=_0x264d4e[_0x2cb272])&&(_0x16d8da=_0x56fb44(_0x16d8da)||_0x16d8da);return _0x16d8da;},F=(_0x28aab9,_0x30093a)=>(_0x27f10c,_0x24a5e8)=>_0x30093a(_0x27f10c,_0x24a5e8,_0x28aab9),B=(_0x11e79d,_0x40f52f,_0x3f6168)=>Ge(_0x11e79d,typeof _0x40f52f!=_0x3460c1(0xf4)?_0x40f52f+'':_0x40f52f,_0x3f6168);const Ye='UNIVER_LIVE_SHARE_PLUGIN';let b=class extends _0x16f213{constructor(_0x3d8f0a=T,_0x5ce647,_0x352525){const _0x388b7f=_0x3460c1;super(),this[_0x388b7f(0xe1)]=_0x3d8f0a,this[_0x388b7f(0x13a)]=_0x5ce647,this[_0x388b7f(0xe5)]=_0x352525;const {..._0xbea9ef}=_0x125a7c({},T,this[_0x388b7f(0xe1)]);this[_0x388b7f(0xe5)][_0x388b7f(0xeb)](ye,_0xbea9ef);}[_0x3460c1(0xd4)](){const _0x293ee2=_0x3460c1;_0x41bf15(this[_0x293ee2(0x13a)],_0x1cc35b([[L],[S],[I],[m]],this['_config'][_0x293ee2(0x122)])),_0x15308f(this[_0x293ee2(0x13a)],[[I]]);}[_0x3460c1(0x137)](){_0x15308f(this['_injector'],[[m]]);}};B(b,'type',_0x3cb45b['UNIVER_UNKNOWN']),B(b,_0x3460c1(0x15d),Ye),b=We([_0x1ebbc3(_0x82618b),F(0x1,_0x3bcdba(_0x19e107)),F(0x2,_0x29db0f)],b);export{m as DesktopLiveShareController,Le as LiveShare,S as LiveShareController,N as LiveShareCoordinator,L as LiveShareService,c as LiveShareStatus,b as UniverLiveSharePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x4ada31=_0x1219;function _0x3afc(){const _0x483592=['getStatus','get','startPresenting','1145000FdJQlw','LiveShareStatusEnum','stopFollowing','getLiveShareStatus','No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.','_initialize','getSheetId','No\x20active\x20workbook\x20found.','4576275ABURbr','19410GxqhJh','14JzoeHx','_commandService','syncExecuteCommand','stopPresenting','2279872vveFER','671821lmxWsk','getUnitId','1002395CZlJVt','startFollowing','PRESENTING','getLiveShareCoordinatorSync','_injector','getActiveWorkbook','98VqQqLm','extend','tryStartPresenting','startColumn','706542IGKvsz','executeCommand','getId','startRow'];_0x3afc=function(){return _0x483592;};return _0x3afc();}(function(_0x6c95ab,_0x4f4094){const _0x1194df=_0x1219,_0x1bc25e=_0x6c95ab();while(!![]){try{const _0x3b47e2=parseInt(_0x1194df(0xc2))/0x1+parseInt(_0x1194df(0xca))/0x2*(-parseInt(_0x1194df(0xbc))/0x3)+-parseInt(_0x1194df(0xc1))/0x4+-parseInt(_0x1194df(0xc4))/0x5+parseInt(_0x1194df(0xce))/0x6*(parseInt(_0x1194df(0xbd))/0x7)+parseInt(_0x1194df(0xb3))/0x8+parseInt(_0x1194df(0xbb))/0x9;if(_0x3b47e2===_0x4f4094)break;else _0x1bc25e['push'](_0x1bc25e['shift']());}catch(_0x215e84){_0x1bc25e['push'](_0x1bc25e['shift']());}}}(_0x3afc,0x731a2));import{LiveShareController as _0x28eab8,LiveShareStatus as _0x5d26a9}from'@univerjs-pro/live-share';import{IRenderManagerService as _0xfa36a4}from'@univerjs/engine-render';import{SetWorksheetActiveOperation as _0x1a6f79}from'@univerjs/sheets';import{SetScrollOperation as _0x4139fc}from'@univerjs/sheets-ui';import{FRange as _0xb85eba}from'@univerjs/sheets/facade';import{FUniver as _0x43c273,FEnum as _0x56543f}from'@univerjs/core/facade';class I extends _0xb85eba{[_0x4ada31(0xb8)](_0x344dde,_0x4ba0f0,_0x4624d4,_0x42401f,_0x58ffd6){const _0x189953=_0x4ada31,_0x289030=_0x344dde['get'](_0x28eab8),_0x1c5c58=_0x344dde[_0x189953(0xd3)](_0xfa36a4),_0x55d793=_0x4ba0f0[_0x189953(0xc3)](),_0x26f3b8=_0x4ba0f0['getActiveSheet'](),_0x229e7c=_0x289030['getLiveShareCoordinatorSync'](_0x55d793);(_0x229e7c==null?void 0x0:_0x229e7c[_0x189953(0xd2)]())!==_0x5d26a9[_0x189953(0xc6)]||(_0x4624d4[_0x189953(0xb9)]()!==_0x26f3b8['getSheetId']()&&this[_0x189953(0xbe)][_0x189953(0xcf)](_0x1a6f79['id'],{'unitId':_0x55d793,'subUnitId':_0x4624d4['getSheetId']()}),!_0x1c5c58['getRenderById'](_0x55d793))||_0x58ffd6[_0x189953(0xbf)](_0x4139fc['id'],{'unitId':_0x4ba0f0[_0x189953(0xc3)](),'sheetId':_0x4624d4[_0x189953(0xb9)](),'sheetViewStartRow':_0x42401f[_0x189953(0xd1)],'sheetViewStartColumn':_0x42401f[_0x189953(0xcd)],'offsetX':0x0,'offsetY':0x0,'screenRatioX':-0x1/0x3,'screenRatioY':-0x1/0x3,'duration':0x12c});}}_0xb85eba[_0x4ada31(0xcb)](I);class m extends _0x43c273{[_0x4ada31(0xb6)](){const _0x5227b9=_0x4ada31;var _0x2627be,_0x4771f7;const _0x40e0df=this[_0x5227b9(0xc8)][_0x5227b9(0xd3)](_0x28eab8),_0xe3d4b2=(_0x2627be=this[_0x5227b9(0xc9)]())==null?void 0x0:_0x2627be[_0x5227b9(0xd0)]();if(!_0xe3d4b2)throw new Error(_0x5227b9(0xba));const _0x3cd012=_0x40e0df[_0x5227b9(0xc7)](_0xe3d4b2);return(_0x4771f7=_0x3cd012==null?void 0x0:_0x3cd012['getStatus']())!=null?_0x4771f7:_0x5d26a9['IDLE'];}[_0x4ada31(0xc5)](){const _0x4d7b5d=_0x4ada31;var _0x24a30d;const _0xc5c761=this[_0x4d7b5d(0xc8)][_0x4d7b5d(0xd3)](_0x28eab8),_0xb64ee3=(_0x24a30d=this['getActiveWorkbook']())==null?void 0x0:_0x24a30d[_0x4d7b5d(0xd0)]();if(!_0xb64ee3)throw new Error(_0x4d7b5d(0xba));const _0x315ef5=_0xc5c761[_0x4d7b5d(0xc7)](_0xb64ee3);if(!_0x315ef5)throw new Error(_0x4d7b5d(0xb7));_0x315ef5[_0x4d7b5d(0xc5)]();}[_0x4ada31(0xb5)](){const _0x4142c5=_0x4ada31;var _0x22f89e;const _0x3a3b54=this[_0x4142c5(0xc8)][_0x4142c5(0xd3)](_0x28eab8),_0x127155=(_0x22f89e=this[_0x4142c5(0xc9)]())==null?void 0x0:_0x22f89e[_0x4142c5(0xd0)]();if(!_0x127155)throw new Error(_0x4142c5(0xba));const _0x13216e=_0x3a3b54[_0x4142c5(0xc7)](_0x127155);if(!_0x13216e)throw new Error('No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.');_0x13216e[_0x4142c5(0xb5)]();}[_0x4ada31(0xb2)](){const _0x5879ed=_0x4ada31;var _0x36539c;const _0x27a92b=this[_0x5879ed(0xc8)][_0x5879ed(0xd3)](_0x28eab8),_0x3c6687=(_0x36539c=this[_0x5879ed(0xc9)]())==null?void 0x0:_0x36539c[_0x5879ed(0xd0)]();if(!_0x3c6687)throw new Error('No\x20active\x20workbook\x20found.');const _0x2a5553=_0x27a92b[_0x5879ed(0xc7)](_0x3c6687);if(!_0x2a5553)throw new Error(_0x5879ed(0xb7));_0x2a5553[_0x5879ed(0xcc)]();}[_0x4ada31(0xc0)](){const _0x2dc898=_0x4ada31;var _0x11e9e4;const _0x537a5c=this[_0x2dc898(0xc8)][_0x2dc898(0xd3)](_0x28eab8),_0x3dac93=(_0x11e9e4=this[_0x2dc898(0xc9)]())==null?void 0x0:_0x11e9e4[_0x2dc898(0xd0)]();if(!_0x3dac93)throw new Error('No\x20active\x20workbook\x20found.');const _0x1f8029=_0x537a5c[_0x2dc898(0xc7)](_0x3dac93);if(!_0x1f8029)throw new Error(_0x2dc898(0xb7));_0x1f8029[_0x2dc898(0xc0)]();}}function _0x1219(_0x57f8eb,_0x41a48d){_0x57f8eb=_0x57f8eb-0xb2;const _0x3afcc4=_0x3afc();let _0x121979=_0x3afcc4[_0x57f8eb];return _0x121979;}_0x43c273[_0x4ada31(0xcb)](m);class C extends _0x56543f{get[_0x4ada31(0xb4)](){return _0x5d26a9;}}_0x56543f[_0x4ada31(0xcb)](C);
1
+ const _0x352c44=_0x2e94;(function(_0xeea58e,_0x1e5708){const _0x3d7754=_0x2e94,_0x2f21fa=_0xeea58e();while(!![]){try{const _0x37f4bc=-parseInt(_0x3d7754(0xf0))/0x1*(parseInt(_0x3d7754(0xdc))/0x2)+parseInt(_0x3d7754(0xee))/0x3+parseInt(_0x3d7754(0xe7))/0x4*(parseInt(_0x3d7754(0xd4))/0x5)+-parseInt(_0x3d7754(0xd5))/0x6+parseInt(_0x3d7754(0xf2))/0x7+-parseInt(_0x3d7754(0xf4))/0x8+parseInt(_0x3d7754(0xe0))/0x9;if(_0x37f4bc===_0x1e5708)break;else _0x2f21fa['push'](_0x2f21fa['shift']());}catch(_0x4d781d){_0x2f21fa['push'](_0x2f21fa['shift']());}}}(_0x466f,0xea880));import{LiveShareController as _0x10a042,LiveShareStatus as _0x145361}from'@univerjs-pro/live-share';import{IRenderManagerService as _0x2ad8b3}from'@univerjs/engine-render';import{SetWorksheetActiveOperation as _0x1ae3d5}from'@univerjs/sheets';import{SetScrollOperation as _0x4c78b8}from'@univerjs/sheets-ui';import{FRange as _0xfe9845}from'@univerjs/sheets/facade';import{FUniver as _0x2c0cbf,FEnum as _0x57ddce}from'@univerjs/core/facade';function _0x466f(){const _0x486f77=['syncExecuteCommand','executeCommand','getSheetId','getRenderById','2013656kmHItX','getLiveShareCoordinatorSync','getId','PRESENTING','stopFollowing','startFollowing','LiveShareStatusEnum','3915897wMEsAc','_initialize','54419QrkmFl','No\x20active\x20workbook\x20found.','3466057ipmcuK','_commandService','14445608IJpWWn','IDLE','10wtgeZW','9244110MIcitJ','No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.','getStatus','stopPresenting','getActiveWorkbook','get','getActiveSheet','58rGLmsA','getUnitId','startColumn','extend','27701091tnLvLl','startPresenting','_injector'];_0x466f=function(){return _0x486f77;};return _0x466f();}function _0x2e94(_0x18ce63,_0x523b77){_0x18ce63=_0x18ce63-0xd4;const _0x466f1d=_0x466f();let _0x2e9439=_0x466f1d[_0x18ce63];return _0x2e9439;}class I extends _0xfe9845{[_0x352c44(0xef)](_0x42352f,_0x423796,_0x2c9a24,_0xeffee5,_0x44897a){const _0x4806d=_0x352c44,_0x3c6826=_0x42352f[_0x4806d(0xda)](_0x10a042),_0x33f22f=_0x42352f[_0x4806d(0xda)](_0x2ad8b3),_0x2c2329=_0x423796[_0x4806d(0xdd)](),_0x4e3ba8=_0x423796[_0x4806d(0xdb)](),_0x264362=_0x3c6826['getLiveShareCoordinatorSync'](_0x2c2329);(_0x264362==null?void 0x0:_0x264362[_0x4806d(0xd7)]())!==_0x145361[_0x4806d(0xea)]||(_0x2c9a24['getSheetId']()!==_0x4e3ba8['getSheetId']()&&this[_0x4806d(0xf3)][_0x4806d(0xe4)](_0x1ae3d5['id'],{'unitId':_0x2c2329,'subUnitId':_0x2c9a24[_0x4806d(0xe5)]()}),!_0x33f22f[_0x4806d(0xe6)](_0x2c2329))||_0x44897a[_0x4806d(0xe3)](_0x4c78b8['id'],{'unitId':_0x423796[_0x4806d(0xdd)](),'sheetId':_0x2c9a24['getSheetId'](),'sheetViewStartRow':_0xeffee5['startRow'],'sheetViewStartColumn':_0xeffee5[_0x4806d(0xde)],'offsetX':0x0,'offsetY':0x0,'screenRatioX':-0x1/0x3,'screenRatioY':-0x1/0x3,'duration':0x12c});}}_0xfe9845[_0x352c44(0xdf)](I);class m extends _0x2c0cbf{['getLiveShareStatus'](){const _0xfd37f8=_0x352c44;var _0x5ee508,_0x2c27ef;const _0x3bf8ee=this[_0xfd37f8(0xe2)]['get'](_0x10a042),_0x3dcd68=(_0x5ee508=this[_0xfd37f8(0xd9)]())==null?void 0x0:_0x5ee508[_0xfd37f8(0xe9)]();if(!_0x3dcd68)throw new Error(_0xfd37f8(0xf1));const _0x583e99=_0x3bf8ee[_0xfd37f8(0xe8)](_0x3dcd68);return(_0x2c27ef=_0x583e99==null?void 0x0:_0x583e99[_0xfd37f8(0xd7)]())!=null?_0x2c27ef:_0x145361[_0xfd37f8(0xf5)];}[_0x352c44(0xec)](){const _0x27e81e=_0x352c44;var _0x2823d5;const _0x201f8e=this['_injector'][_0x27e81e(0xda)](_0x10a042),_0x2a8a0b=(_0x2823d5=this[_0x27e81e(0xd9)]())==null?void 0x0:_0x2823d5[_0x27e81e(0xe9)]();if(!_0x2a8a0b)throw new Error(_0x27e81e(0xf1));const _0x4ad8fa=_0x201f8e[_0x27e81e(0xe8)](_0x2a8a0b);if(!_0x4ad8fa)throw new Error('No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.');_0x4ad8fa[_0x27e81e(0xec)]();}[_0x352c44(0xeb)](){const _0x25c6bc=_0x352c44;var _0x6741d1;const _0xb9578a=this['_injector'][_0x25c6bc(0xda)](_0x10a042),_0x318beb=(_0x6741d1=this[_0x25c6bc(0xd9)]())==null?void 0x0:_0x6741d1['getId']();if(!_0x318beb)throw new Error('No\x20active\x20workbook\x20found.');const _0x45f11a=_0xb9578a[_0x25c6bc(0xe8)](_0x318beb);if(!_0x45f11a)throw new Error(_0x25c6bc(0xd6));_0x45f11a[_0x25c6bc(0xeb)]();}[_0x352c44(0xe1)](){const _0xad5d18=_0x352c44;var _0x328887;const _0x3d2b19=this[_0xad5d18(0xe2)][_0xad5d18(0xda)](_0x10a042),_0x53350f=(_0x328887=this[_0xad5d18(0xd9)]())==null?void 0x0:_0x328887['getId']();if(!_0x53350f)throw new Error(_0xad5d18(0xf1));const _0x24b6e0=_0x3d2b19['getLiveShareCoordinatorSync'](_0x53350f);if(!_0x24b6e0)throw new Error(_0xad5d18(0xd6));_0x24b6e0['tryStartPresenting']();}[_0x352c44(0xd8)](){const _0x58da10=_0x352c44;var _0x4ef740;const _0x214e47=this[_0x58da10(0xe2)]['get'](_0x10a042),_0x3d19d0=(_0x4ef740=this['getActiveWorkbook']())==null?void 0x0:_0x4ef740[_0x58da10(0xe9)]();if(!_0x3d19d0)throw new Error(_0x58da10(0xf1));const _0x520760=_0x214e47[_0x58da10(0xe8)](_0x3d19d0);if(!_0x520760)throw new Error(_0x58da10(0xd6));_0x520760[_0x58da10(0xd8)]();}}_0x2c0cbf['extend'](m);class C extends _0x57ddce{get[_0x352c44(0xed)](){return _0x145361;}}_0x57ddce[_0x352c44(0xdf)](C);
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0xce0c4e=_0x53c8;(function(_0xe945e9,_0x5846b5){const _0x1571b1=_0x53c8,_0x4b6916=_0xe945e9();while(!![]){try{const _0x3c7bcf=parseInt(_0x1571b1(0x21e))/0x1*(parseInt(_0x1571b1(0x25a))/0x2)+-parseInt(_0x1571b1(0x26d))/0x3*(-parseInt(_0x1571b1(0x236))/0x4)+-parseInt(_0x1571b1(0x220))/0x5*(-parseInt(_0x1571b1(0x213))/0x6)+parseInt(_0x1571b1(0x277))/0x7*(parseInt(_0x1571b1(0x271))/0x8)+-parseInt(_0x1571b1(0x23e))/0x9+parseInt(_0x1571b1(0x1fc))/0xa*(-parseInt(_0x1571b1(0x24e))/0xb)+parseInt(_0x1571b1(0x232))/0xc*(parseInt(_0x1571b1(0x210))/0xd);if(_0x3c7bcf===_0x5846b5)break;else _0x4b6916['push'](_0x4b6916['shift']());}catch(_0xc22004){_0x4b6916['push'](_0x4b6916['shift']());}}}(_0x1f69,0x48e76));var J=Object[_0xce0c4e(0x293)],K=(_0x40f9bc,_0x48cba5,_0x199f22)=>_0x48cba5 in _0x40f9bc?J(_0x40f9bc,_0x48cba5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x199f22}):_0x40f9bc[_0x48cba5]=_0x199f22,u=(_0x6a6a02,_0x14be30,_0x325189)=>K(_0x6a6a02,typeof _0x14be30!=_0xce0c4e(0x21c)?_0x14be30+'':_0x14be30,_0x325189);import{Disposable as _0x391c50,toDisposable as _0x5ec987,IUniverInstanceService as _0x5d85e7,Inject as _0x2de6b4,Injector as _0x173c5e,IConfigService as _0x34266a,ICommandService as _0x492717,RxDisposable as _0x40c917,UniverInstanceType as _0x324c39,DisposableCollection as _0x321e9e,CommandType as _0x7e8bcb,DependentOn as _0x390b52,Plugin as _0x3d5c76,merge as _0x1325bb,registerDependencies as _0x256053,mergeOverrideWithDependencies as _0x4c1cfa,touchDependencies as _0x39d7eb}from'@univerjs/core';import{useDependency as _0x14182f,useObservable as _0x55b771,IUIPartsService as _0x48a06c,BuiltInUIPart as _0x7e38cc,connectInjector as _0x593ae2}from'@univerjs/ui';import{jsx as _0x481bab,jsxs as _0x3e4308,Fragment as _0x2de7e1}from'react/jsx-runtime';import{Dropdown as _0x42bb87,clsx as _0xfbc3dd,Button as _0x273271}from'@univerjs/design';import{useRef as _0x102f92,createElement as _0x8d6eeb,forwardRef as _0x435347,useState as _0x2b36ac,useEffect as _0xcd52bb}from'react';import{CollaborationEvent as _0x1dbbdf,parseProtocolChangeset as _0x212e49}from'@univerjs-pro/collaboration';import{CollaborationSessionService as _0x5f546f,SessionStatus as _0x4ce167,UniverCollaborationClientPlugin as _0x11e9df}from'@univerjs-pro/collaboration-client';import{InsertSheetMutation as _0x3128b0,SetWorksheetActiveOperation as _0x31ae4e}from'@univerjs/sheets';import{BehaviorSubject as _0x1067bc,Subject as _0x23ea99}from'rxjs';import{takeUntil as _0x35683e,throttleTime as _0x3198dc}from'rxjs/operators';import{SetZoomRatioOperation as _0x8a3ff8,SetScrollOperation as _0x3dbd75}from'@univerjs/sheets-ui';function k({ref:_0x436ded,..._0x52490d}){const _0x208345=_0xce0c4e,{icon:_0x1e4f7b,id:_0x5ae976,className:_0x54e6ec,extend:_0x3562b3,..._0x41f5c2}=_0x52490d,_0x57da8b=(_0x208345(0x212)+_0x5ae976+'\x20'+(_0x54e6ec||''))['trim'](),_0x21ebea=_0x102f92('_'+Oe());return G(_0x1e4f7b,''+_0x5ae976,{'defIds':_0x1e4f7b[_0x208345(0x1f1)],'idSuffix':_0x21ebea[_0x208345(0x258)]},{'ref':_0x436ded,'className':_0x57da8b,..._0x41f5c2},_0x3562b3);}function G(_0x43b6b6,_0x1b7e63,_0x1e6617,_0x197ffe,_0x3360e4){const _0x4b6cfb=_0xce0c4e;return _0x8d6eeb(_0x43b6b6[_0x4b6cfb(0x233)],{'key':_0x1b7e63,...be(_0x43b6b6,_0x1e6617,_0x3360e4),..._0x197ffe},(Ee(_0x43b6b6,_0x1e6617)['children']||[])[_0x4b6cfb(0x269)]((_0x53d93b,_0x1c370b)=>G(_0x53d93b,_0x1b7e63+'-'+_0x43b6b6[_0x4b6cfb(0x233)]+'-'+_0x1c370b,_0x1e6617,void 0x0,_0x3360e4)));}function be(_0x4f1854,_0x589f60,_0x301dbe){const _0x5ae272=_0xce0c4e,_0x595744={..._0x4f1854[_0x5ae272(0x203)]};_0x301dbe!=null&&_0x301dbe[_0x5ae272(0x1f5)]&&_0x595744[_0x5ae272(0x1f7)]==='colorChannel1'&&(_0x595744[_0x5ae272(0x1f7)]=_0x301dbe[_0x5ae272(0x1f5)]),_0x4f1854[_0x5ae272(0x233)]==='mask'&&_0x595744['id']&&(_0x595744['id']=_0x595744['id']+_0x589f60[_0x5ae272(0x245)]),Object['entries'](_0x595744)[_0x5ae272(0x25f)](([_0xaee3b6,_0x48844f])=>{const _0x2287d3=_0x5ae272;_0xaee3b6===_0x2287d3(0x20f)&&typeof _0x48844f==_0x2287d3(0x211)&&(_0x595744[_0xaee3b6]=_0x48844f['replace'](/url\(#(.*)\)/,_0x2287d3(0x26b)+_0x589f60[_0x2287d3(0x245)]+')'));});const {defIds:_0x20aad5}=_0x589f60;return!_0x20aad5||_0x20aad5[_0x5ae272(0x22f)]===0x0||(_0x4f1854[_0x5ae272(0x233)]==='use'&&_0x595744[_0x5ae272(0x1f6)]&&(_0x595744[_0x5ae272(0x1f6)]=_0x595744[_0x5ae272(0x1f6)]+_0x589f60[_0x5ae272(0x245)]),Object[_0x5ae272(0x27f)](_0x595744)[_0x5ae272(0x25f)](([_0x4feddd,_0x40d1fa])=>{const _0x1f2e2f=_0x5ae272;typeof _0x40d1fa==_0x1f2e2f(0x211)&&(_0x595744[_0x4feddd]=_0x40d1fa['replace'](/url\(#(.*)\)/,_0x1f2e2f(0x26b)+_0x589f60[_0x1f2e2f(0x245)]+')'));})),_0x595744;}function Ee(_0x51048f,_0x5ea9a5){const _0x46795e=_0xce0c4e;var _0x169604;const {defIds:_0x5e82aa}=_0x5ea9a5;return!_0x5e82aa||_0x5e82aa[_0x46795e(0x22f)]===0x0?_0x51048f:_0x51048f[_0x46795e(0x233)]===_0x46795e(0x267)&&((_0x169604=_0x51048f[_0x46795e(0x256)])!=null&&_0x169604[_0x46795e(0x22f)])?{..._0x51048f,'children':_0x51048f[_0x46795e(0x256)]['map'](_0x425a7f=>typeof _0x425a7f[_0x46795e(0x203)]['id']==_0x46795e(0x211)&&_0x5e82aa&&_0x5e82aa[_0x46795e(0x286)](_0x425a7f[_0x46795e(0x203)]['id'])?{..._0x425a7f,'attrs':{..._0x425a7f[_0x46795e(0x203)],'id':_0x425a7f[_0x46795e(0x203)]['id']+_0x5ea9a5[_0x46795e(0x245)]}}:_0x425a7f)}:_0x51048f;}function Oe(){const _0x2bca86=_0xce0c4e;return Math[_0x2bca86(0x26a)]()[_0x2bca86(0x1f4)](0x24)[_0x2bca86(0x26e)](0x2,0x8);}k['displayName']=_0xce0c4e(0x1fd);const we={'tag':_0xce0c4e(0x290),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xce0c4e(0x239),'width':_0xce0c4e(0x281),'height':_0xce0c4e(0x281)},'children':[{'tag':_0xce0c4e(0x216),'attrs':{'fill':'currentColor','d':_0xce0c4e(0x205)}},{'tag':_0xce0c4e(0x216),'attrs':{'fill':_0xce0c4e(0x24f),'d':_0xce0c4e(0x280),'fillRule':_0xce0c4e(0x289),'clipRule':_0xce0c4e(0x289)}}]},W=_0x435347(function(_0x5b9697,_0x2d0f81){const _0x54a022=_0xce0c4e;return _0x8d6eeb(k,Object[_0x54a022(0x215)]({},_0x5b9697,{'id':_0x54a022(0x1fe),'ref':_0x2d0f81,'icon':we}));});W[_0xce0c4e(0x21b)]=_0xce0c4e(0x247);class L extends _0x391c50{constructor(){super(...arguments),u(this,'_sharedOperations',new Set()),u(this,'_reporters',new Set());}[_0xce0c4e(0x217)](_0x35addc){const _0x44ba50=_0xce0c4e;return this[_0x44ba50(0x27e)][_0x44ba50(0x285)](_0x35addc),_0x5ec987(()=>this[_0x44ba50(0x27e)][_0x44ba50(0x20b)](_0x35addc));}['registerInitialStateReporter'](_0x3f82e2){const _0x2b95e1=_0xce0c4e;return this['_reporters'][_0x2b95e1(0x285)](_0x3f82e2),_0x5ec987(()=>this['_reporters'][_0x2b95e1(0x20b)](_0x3f82e2));}['shouldShareOperation'](_0x1ca1d6){const _0x3ec09f=_0xce0c4e;return this[_0x3ec09f(0x27e)]['has'](_0x1ca1d6);}[_0xce0c4e(0x259)](_0x49e45e){const _0x333491=_0xce0c4e;return Array['from'](this[_0x333491(0x266)])[_0x333491(0x269)](_0x293b6d=>_0x293b6d(_0x49e45e));}}var Ne=Object['getOwnPropertyDescriptor'],Y=(_0x22614b,_0x29a179,_0x5f4f45,_0x5031aa)=>{const _0x4f68b0=_0xce0c4e;for(var _0x2cb755=_0x5031aa>0x1?void 0x0:_0x5031aa?Ne(_0x29a179,_0x5f4f45):_0x29a179,_0xfe0e80=_0x22614b[_0x4f68b0(0x22f)]-0x1,_0x40abe9;_0xfe0e80>=0x0;_0xfe0e80--)(_0x40abe9=_0x22614b[_0xfe0e80])&&(_0x2cb755=_0x40abe9(_0x2cb755)||_0x2cb755);return _0x2cb755;},_=(_0x25297a,_0x53b15f)=>(_0x43aafc,_0x8f1802)=>_0x53b15f(_0x43aafc,_0x8f1802,_0x25297a);let S=class extends _0x40c917{constructor(_0x1e6ffa,_0x4898d9,_0x478819){const _0x46b185=_0xce0c4e;super(),u(this,'_entities',new Map()),(this[_0x46b185(0x22b)]=_0x1e6ffa,this[_0x46b185(0x265)]=_0x4898d9,this[_0x46b185(0x25b)]=_0x478819,this[_0x46b185(0x251)]());}async[_0xce0c4e(0x248)](_0x5ecb6e){const _0x4609f8=_0xce0c4e;return this[_0x4609f8(0x252)][_0x4609f8(0x25c)](_0x5ecb6e)||await this[_0x4609f8(0x20c)](_0x5ecb6e),this['_entities']['get'](_0x5ecb6e);}[_0xce0c4e(0x26f)](_0x3a924c){const _0x379183=_0xce0c4e;var _0xe039cb;return(_0xe039cb=this['_entities'][_0x379183(0x229)](_0x3a924c))!=null?_0xe039cb:null;}[_0xce0c4e(0x251)](){const _0x4e9e79=_0xce0c4e;this[_0x4e9e79(0x22b)][_0x4e9e79(0x292)](_0x324c39[_0x4e9e79(0x282)])[_0x4e9e79(0x231)](_0x35683e(this['dispose$']))[_0x4e9e79(0x257)](async _0x41b75f=>{const _0x44c076=_0x4e9e79,_0x46fd50=_0x41b75f[_0x44c076(0x28f)]();this['_entities'][_0x44c076(0x25c)](_0x46fd50)||this['_startLiveShareCoordinator'](_0x46fd50);}),this['_univerInstanceService'][_0x4e9e79(0x1fa)](_0x324c39[_0x4e9e79(0x282)])[_0x4e9e79(0x231)](_0x35683e(this['dispose$']))[_0x4e9e79(0x257)](_0x1e5e41=>{const _0x3d2d42=_0x4e9e79,_0x35d6b9=_0x1e5e41['getUnitId'](),_0x288be8=this[_0x3d2d42(0x252)][_0x3d2d42(0x229)](_0x35d6b9);_0x288be8==null||_0x288be8[_0x3d2d42(0x264)]();});}async[_0xce0c4e(0x20c)](_0x3fafbb){const _0x49a410=_0xce0c4e,_0x1b9cfa=await this[_0x49a410(0x25b)][_0x49a410(0x204)](_0x3fafbb),_0xa9cfe5=this['_injector']['createInstance'](N,_0x3fafbb,_0x1b9cfa);return _0xa9cfe5[_0x49a410(0x22e)](),this[_0x49a410(0x252)][_0x49a410(0x237)](_0x3fafbb,_0xa9cfe5),_0xa9cfe5;}};S=Y([_(0x0,_0x5d85e7),_(0x1,_0x2de6b4(_0x173c5e)),_(0x2,_0x2de6b4(_0x5f546f))],S);var c=(_0x4db93e=>(_0x4db93e[_0xce0c4e(0x24b)]=_0xce0c4e(0x27a),_0x4db93e[_0xce0c4e(0x1fb)]='idle',_0x4db93e[_0xce0c4e(0x243)]=_0xce0c4e(0x206),_0x4db93e[_0xce0c4e(0x28a)]=_0xce0c4e(0x270),_0x4db93e[_0xce0c4e(0x287)]=_0xce0c4e(0x223),_0x4db93e))(c||{});const Ce='SAME_OPERATION_SHARE_INTERVAL',De=0xc8;let N=class extends _0x40c917{constructor(_0x2a6d5a,_0x562900,_0x3b1705,_0x52bdd,_0x3eb702){const _0x257eb4=_0xce0c4e;super(),u(this,'_status$',new _0x1067bc(_0x257eb4(0x255))),u(this,_0x257eb4(0x221),this[_0x257eb4(0x214)][_0x257eb4(0x284)]()),u(this,_0x257eb4(0x251),!0x1),u(this,_0x257eb4(0x228),null),u(this,_0x257eb4(0x1f8),null),(this[_0x257eb4(0x1f9)]=_0x2a6d5a,this[_0x257eb4(0x21a)]=_0x562900,this[_0x257eb4(0x294)]=_0x3b1705,this[_0x257eb4(0x240)]=_0x52bdd,this[_0x257eb4(0x296)]=_0x3eb702);}get[_0xce0c4e(0x235)](){const _0x4f205e=_0xce0c4e;return this[_0x4f205e(0x214)]['getValue']();}[_0xce0c4e(0x264)](){const _0x990a07=_0xce0c4e;var _0x342f14;(_0x342f14=this[_0x990a07(0x228)])==null||_0x342f14['dispose'](),this[_0x990a07(0x214)][_0x990a07(0x253)]('idle'),this[_0x990a07(0x214)][_0x990a07(0x207)]();}[_0xce0c4e(0x23f)](){return this['_status'];}[_0xce0c4e(0x22e)](){const _0x2ce3c1=_0xce0c4e;this[_0x2ce3c1(0x251)]||(this[_0x2ce3c1(0x251)]=!0x0,this[_0x2ce3c1(0x21a)][_0x2ce3c1(0x27c)][_0x2ce3c1(0x231)](_0x35683e(this[_0x2ce3c1(0x26c)]))['subscribe'](_0xa9bbbc=>{const _0x1b3b2c=_0x2ce3c1;switch(_0xa9bbbc){case _0x4ce167['OFFLINE']:this[_0x1b3b2c(0x263)]();break;case _0x4ce167['ONLINE']:this['_handleOnline']();break;}}),this['_collabSession'][_0x2ce3c1(0x1ef)][_0x2ce3c1(0x231)](_0x35683e(this['dispose$']))[_0x2ce3c1(0x257)](_0x2625d5=>{const _0x6926e0=_0x2ce3c1,{eventID:_0x12bc56}=_0x2625d5;switch(_0x12bc56){case _0x1dbbdf[_0x6926e0(0x241)]:this[_0x6926e0(0x24d)](_0x2625d5);break;case _0x1dbbdf['LIVESHARE_OPERATION']:this['_handleOperation'](_0x2625d5);break;case _0x1dbbdf['LIVESHARE_TERMINATE']:this[_0x6926e0(0x28d)]();break;case _0x1dbbdf[_0x6926e0(0x1f2)]:this[_0x6926e0(0x1f0)](_0x2625d5);break;}}));}[_0xce0c4e(0x262)](){const _0x4c045a=_0xce0c4e;this[_0x4c045a(0x21a)]['send']({'eventID':_0x1dbbdf[_0x4c045a(0x298)],'data':{'unitID':this[_0x4c045a(0x1f9)],'userID':this[_0x4c045a(0x21a)][_0x4c045a(0x227)]()}},this[_0x4c045a(0x1f9)]);}[_0xce0c4e(0x200)](){const _0xeeff73=_0xce0c4e;this['_status']===_0xeeff73(0x223)&&(this[_0xeeff73(0x214)]['next'](_0xeeff73(0x255)),this[_0xeeff73(0x21a)][_0xeeff73(0x219)]({'eventID':_0x1dbbdf[_0xeeff73(0x254)],'data':{'unitID':this['_unitID']}},this[_0xeeff73(0x1f9)]));}[_0xce0c4e(0x249)](){const _0x3b3f07=_0xce0c4e;this[_0x3b3f07(0x235)]===_0x3b3f07(0x270)&&(this['_status$'][_0x3b3f07(0x253)](_0x3b3f07(0x206)),this[_0x3b3f07(0x250)]());}[_0xce0c4e(0x1ee)](){const _0x421191=_0xce0c4e;this[_0x421191(0x235)]==='following'&&this[_0x421191(0x230)]();}[_0xce0c4e(0x24d)](_0x5950f4){const _0x44a3c5=_0xce0c4e,{presenter:_0x4e893b}=_0x5950f4[_0x44a3c5(0x28b)],_0x37a714=this['_collabSession'][_0x44a3c5(0x227)]();this[_0x44a3c5(0x1f8)]=_0x4e893b,_0x4e893b===_0x37a714?(this[_0x44a3c5(0x230)](),this[_0x44a3c5(0x299)]()):this[_0x44a3c5(0x235)]!=='not-following'&&(this[_0x44a3c5(0x225)](),this[_0x44a3c5(0x250)]());}[_0xce0c4e(0x275)](){const _0x462170=_0xce0c4e,_0x348a09={'eventID':_0x1dbbdf[_0x462170(0x260)]};this[_0x462170(0x21a)][_0x462170(0x219)](_0x348a09,this[_0x462170(0x1f9)]);}[_0xce0c4e(0x28d)](){const _0x11eb75=_0xce0c4e;this['_presenter']=null,this[_0x11eb75(0x235)]!=='presenting'&&this[_0x11eb75(0x22c)]();}[_0xce0c4e(0x1f0)](_0x184626){const _0x500f31=_0xce0c4e;if(this[_0x500f31(0x235)]===_0x500f31(0x206)&&this[_0x500f31(0x1f8)]===_0x184626[_0x500f31(0x28b)][_0x500f31(0x27b)]){const _0x341823=_0x212e49(_0x184626[_0x500f31(0x28b)])[_0x500f31(0x28e)][_0x500f31(0x224)]()[_0x500f31(0x201)](_0x54bf4b=>_0x54bf4b['id']===_0x3128b0['id']);if(_0x341823){const _0x2961a7=_0x341823[_0x500f31(0x24c)][_0x500f31(0x222)],_0x403445=_0x341823['params'][_0x500f31(0x242)]['id'];setTimeout(()=>{const _0x5f21d2=_0x500f31;this[_0x5f21d2(0x296)][_0x5f21d2(0x283)](_0x31ae4e['id'],{'unitId':_0x2961a7,'subUnitId':_0x403445},{'fromCollab':!0x0});});}}}[_0xce0c4e(0x299)](){const _0x4fc005=_0xce0c4e;this[_0x4fc005(0x214)][_0x4fc005(0x253)](_0x4fc005(0x223));const _0x17c6bf=new Map(),_0x4218a5=this[_0x4fc005(0x228)]=new _0x321e9e();_0x4218a5[_0x4fc005(0x285)](_0x5ec987(()=>{const _0x736a9c=_0x4fc005;_0x17c6bf[_0x736a9c(0x25f)](_0x50e675=>_0x50e675['complete']()),_0x17c6bf[_0x736a9c(0x218)]();})),_0x4218a5[_0x4fc005(0x285)](this['_commandService'][_0x4fc005(0x22d)](_0x1247f5=>{const _0x3521e5=_0x4fc005;var _0x8188a2;if(_0x1247f5[_0x3521e5(0x202)]!==_0x7e8bcb[_0x3521e5(0x23d)]||!this[_0x3521e5(0x240)][_0x3521e5(0x276)](_0x1247f5['id']))return;const {id:_0x21d929}=_0x1247f5;let _0x54547c;_0x17c6bf['has'](_0x21d929)?_0x54547c=_0x17c6bf['get'](_0x21d929):(_0x54547c=new _0x23ea99(),_0x17c6bf['set'](_0x21d929,_0x54547c),_0x54547c[_0x3521e5(0x231)](_0x3198dc((_0x8188a2=this['_configService']['getConfig'](Ce))!=null?_0x8188a2:De,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x3521e5(0x257)](_0x1bb3ad=>{const _0x16196a=_0x3521e5;this['_collabSession'][_0x16196a(0x219)]({'eventID':_0x1dbbdf[_0x16196a(0x25e)],'data':{'unitID':this[_0x16196a(0x1f9)],'operations':{[_0x1bb3ad['id']]:{'id':_0x1bb3ad['id'],'params':JSON['stringify'](_0x1bb3ad['params'])}}}},this[_0x16196a(0x1f9)]);})),_0x54547c[_0x3521e5(0x253)](_0x1247f5);})),this['_liveShareService'][_0x4fc005(0x259)](this[_0x4fc005(0x1f9)])['forEach'](_0x1a5477=>this[_0x4fc005(0x21a)][_0x4fc005(0x219)]({'eventID':_0x1dbbdf[_0x4fc005(0x25e)],'data':{'unitID':this[_0x4fc005(0x1f9)],'operations':{[_0x1a5477['id']]:{'id':_0x1a5477['id'],'params':JSON[_0x4fc005(0x234)](_0x1a5477[_0x4fc005(0x24c)])}}}},this['_unitID']));}['_stopPresenting'](){const _0x4ca804=_0xce0c4e;var _0x3aa452;this[_0x4ca804(0x214)]['next']('idle'),(_0x3aa452=this[_0x4ca804(0x228)])==null||_0x3aa452[_0x4ca804(0x264)](),this[_0x4ca804(0x228)]=null;}[_0xce0c4e(0x250)](){const _0x256c91=_0xce0c4e;var _0x168045;(_0x168045=this[_0x256c91(0x228)])==null||_0x168045[_0x256c91(0x264)](),this[_0x256c91(0x214)][_0x256c91(0x253)](_0x256c91(0x206));}[_0xce0c4e(0x22c)](){const _0x55dd65=_0xce0c4e;var _0x1e7fd1;this[_0x55dd65(0x214)][_0x55dd65(0x253)](_0x55dd65(0x255)),(_0x1e7fd1=this[_0x55dd65(0x228)])==null||_0x1e7fd1[_0x55dd65(0x264)](),this[_0x55dd65(0x228)]=null;}[_0xce0c4e(0x230)](){const _0x4b08d4=_0xce0c4e;var _0x10ed26;this[_0x4b08d4(0x214)][_0x4b08d4(0x253)](_0x4b08d4(0x270)),(_0x10ed26=this[_0x4b08d4(0x228)])==null||_0x10ed26[_0x4b08d4(0x264)]();}[_0xce0c4e(0x25d)](_0x487a88){const _0x56b99e=_0xce0c4e;if([_0x56b99e(0x223),'not-following',_0x56b99e(0x27a)][_0x56b99e(0x286)](this[_0x56b99e(0x235)])||!_0x487a88[_0x56b99e(0x28b)][_0x56b99e(0x1f3)]||_0x487a88['data'][_0x56b99e(0x1f3)]===this[_0x56b99e(0x21a)][_0x56b99e(0x227)]())return;this[_0x56b99e(0x235)]===_0x56b99e(0x255)&&this[_0x56b99e(0x250)]();const _0x38b0ce=_0x487a88[_0x56b99e(0x28b)][_0x56b99e(0x261)];Object['values'](_0x38b0ce)[_0x56b99e(0x25f)](_0x9d02a2=>{const _0x32716d=_0x56b99e;this[_0x32716d(0x296)][_0x32716d(0x283)](_0x9d02a2['id'],_0x9d02a2[_0x32716d(0x24c)]?JSON[_0x32716d(0x27d)](_0x9d02a2[_0x32716d(0x24c)]):null,{'fromCollab':!0x0});});}[_0xce0c4e(0x263)](){const _0x31741e=_0xce0c4e;var _0x366ca6;this[_0x31741e(0x214)][_0x31741e(0x253)]('offline'),(_0x366ca6=this[_0x31741e(0x228)])==null||_0x366ca6[_0x31741e(0x264)]();}[_0xce0c4e(0x208)](){const _0x141ef4=_0xce0c4e;this[_0x141ef4(0x214)][_0x141ef4(0x253)](_0x141ef4(0x255)),this[_0x141ef4(0x275)]();}};N=Y([_(0x2,_0x34266a),_(0x3,_0x2de6b4(L)),_(0x4,_0x492717)],N);function _0x53c8(_0x1b914a,_0x237a83){_0x1b914a=_0x1b914a-0x1ee;const _0x1f6949=_0x1f69();let _0x53c8fe=_0x1f6949[_0x1b914a];return _0x53c8fe;}function _0x1f69(){const _0x3e2fd0=['stopPresenting','find','type','attrs','requireSession','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','following','complete','_handleOnline','registerComponent','Stop\x20following','delete','_startLiveShareCoordinator','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','You\x27re\x20not\x20following\x20the\x20presenter','mask','5044cFXqSi','string','univerjs-icon\x20univerjs-icon-','24qiAloX','_status$','assign','path','registerSharedOperation','clear','send','_collabSession','displayName','symbol','You\x27are\x20offline.','249127FSwmiI','HEADER_MENU','735015lRlZAb','status$','unitId','presenting','reverse','_stopPresenting','univer-size-4','getMemberID','_commandDisposable','get','Stop\x20presenting','_univerInstanceService','_beIdle','onCommandExecuted','init','length','_stopFollowing','pipe','2148aVGnRU','tag','stringify','_status','104172JvKqKv','set','div','0\x200\x2017\x2017','univer-mb-3\x20univer-w-full\x20univer-text-sm','unsubscribe','_uiPartsService','OPERATION','1966878BDeLDF','getStatus','_liveShareService','LIVESHARE_NEW_HOST','sheet','FOLLOWING','button','idSuffix','_mountLiveShare','LiveShareIcon','getLiveShareCoordinator','startFollowing','You\x27re\x20following\x20the\x20presenter','OFFLINE','params','_handleNewHost','11pGiyQv','currentColor','_startFollowing','_init','_entities','next','LIVESHARE_TERMINATE','idle','children','subscribe','current','getInitialStates','2DyIpIt','_collabSessionService','has','_handleOperation','LIVESHARE_OPERATION','forEach','LIVESHARE_FETCH_OPERATIONS','operations','tryStartPresenting','_handleOffline','dispose','_injector','_reporters','defs','live-share.config','map','random','url(#$1','dispose$','3yeAAqR','substring','getLiveShareCoordinatorSync','not-following','4808EMpFng','onRendered','pluginName','text','_fetchOperations','shouldShareOperation','917OFHyuO','_config','end','offline','memberID','sessionStatus$','parse','_sharedOperations','entries','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','1em','UNIVER_SHEET','executeCommand','asObservable','add','includes','PRESENTING','Start','evenodd','NOT_FOLLOWING','data','onStarting','_handleTerminate','mutations','getUnitId','svg','Start\x20following','getTypeOfUnitAdded$','defineProperty','_configService','getOwnPropertyDescriptor','_commandService','UNIVER_UNKNOWN','LIVESHARE_REQUEST_HOST','_startPresenting','stopFollowing','event$','_handleNewChangeSets','defIds','NEW_CHANGESETS','presenter','toString','colorChannel1','xlink:href','fill','_presenter','_unitID','getTypeOfUnitDisposed$','IDLE','4942090qJtcCB','UniverIcon','live-share-icon','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white'];_0x1f69=function(){return _0x3e2fd0;};return _0x1f69();}function Le(){const _0x834dbc=_0xce0c4e,_0x4851cc=_0x14182f(S),_0x242046=_0x14182f(_0x5d85e7),_0x366b30=_0x55b771(()=>_0x242046['getCurrentTypeOfUnit$'](_0x324c39[_0x834dbc(0x282)]),void 0x0,!0x1,[]),[_0x358073,_0x5e9410]=_0x2b36ac(null),[_0x93b40e,_0x1d3a15]=_0x2b36ac(c['IDLE']),_0x273b6a=_0x102f92(null);return _0xcd52bb(()=>(_0x366b30&&_0x4851cc[_0x834dbc(0x248)](_0x366b30[_0x834dbc(0x28f)]())['then'](_0x5a6acf=>{const _0x3f1d68=_0x834dbc;_0x5e9410(_0x5a6acf),_0x273b6a[_0x3f1d68(0x258)]=_0x5a6acf['status$']['subscribe'](_0x2e3505=>{_0x1d3a15(_0x2e3505);});}),()=>{const _0x5aa97b=_0x834dbc;var _0x1a4438;(_0x1a4438=_0x273b6a[_0x5aa97b(0x258)])==null||_0x1a4438[_0x5aa97b(0x23b)](),_0x273b6a[_0x5aa97b(0x258)]=null;}),[_0x366b30,_0x4851cc]),_0x358073?_0x481bab(_0x42bb87,{'align':_0x834dbc(0x279),'disabled':_0x93b40e===c[_0x834dbc(0x24b)],'className':_0x834dbc(0x1ff),'overlay':_0x481bab(Re,{'status':_0x93b40e,'coordinator':_0x358073}),'children':_0x481bab(_0x834dbc(0x244),{'className':_0xfbc3dd(_0x834dbc(0x20d),{'univer-cursor-not-allowed':_0x93b40e===c['OFFLINE'],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x93b40e!==c[_0x834dbc(0x24b)]}),'type':_0x834dbc(0x244),'children':_0x481bab(W,{'className':_0x834dbc(0x226)})})}):null;}function Re(_0x5b806d){const _0x45e4fa=_0xce0c4e,{status:_0x9c7ef7,coordinator:_0x12245e}=_0x5b806d;switch(_0x9c7ef7){case c[_0x45e4fa(0x1fb)]:return _0x481bab($e,{'coordinator':_0x12245e});case c['FOLLOWING']:return _0x481bab(xe,{'coordinator':_0x12245e});case c[_0x45e4fa(0x28a)]:return _0x481bab(Pe,{'coordinator':_0x12245e});case c[_0x45e4fa(0x24b)]:return _0x481bab(Te,{});case c[_0x45e4fa(0x287)]:return _0x481bab(Ae,{'coordinator':_0x12245e});default:return null;}}function $e(_0x203d2b){const _0x21cbd6=_0xce0c4e,{coordinator:_0x322113}=_0x203d2b;return _0x3e4308(_0x2de7e1,{'children':[_0x481bab(_0x21cbd6(0x238),{'className':_0x21cbd6(0x23a),'children':'Present\x20this\x20document'}),_0x481bab(_0x273271,{'onClick':()=>_0x322113[_0x21cbd6(0x262)](),'children':_0x21cbd6(0x288)})]});}function xe(_0x466ff9){const _0x295820=_0xce0c4e,{coordinator:_0x32e1f8}=_0x466ff9;return _0x3e4308(_0x2de7e1,{'children':[_0x481bab(_0x295820(0x238),{'className':_0x295820(0x23a),'children':_0x295820(0x24a)}),_0x481bab(_0x273271,{'onClick':()=>_0x32e1f8[_0x295820(0x1ee)](),'children':_0x295820(0x20a)})]});}function Pe(_0x1b18cd){const _0x46bf32=_0xce0c4e,{coordinator:_0x37026b}=_0x1b18cd;return _0x3e4308(_0x2de7e1,{'children':[_0x481bab(_0x46bf32(0x238),{'className':_0x46bf32(0x23a),'children':_0x46bf32(0x20e)}),_0x481bab(_0x273271,{'variant':_0x46bf32(0x274),'onClick':()=>_0x37026b['startFollowing'](),'children':_0x46bf32(0x291)})]});}function Ae(_0x15b1e1){const _0x1ed5d0=_0xce0c4e,{coordinator:_0x552ad5}=_0x15b1e1;return _0x3e4308(_0x2de7e1,{'children':[_0x481bab(_0x1ed5d0(0x238),{'className':_0x1ed5d0(0x23a),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x481bab(_0x273271,{'variant':'default','onClick':()=>_0x552ad5['stopPresenting'](),'children':_0x1ed5d0(0x22a)})]});}function Te(){const _0x23b940=_0xce0c4e;return _0x481bab(_0x2de7e1,{'children':_0x23b940(0x21d)});}var Fe=Object[_0xce0c4e(0x295)],He=(_0x61172e,_0x50f50d,_0x280557,_0x4f6339)=>{const _0x2fa336=_0xce0c4e;for(var _0x36443e=_0x4f6339>0x1?void 0x0:_0x4f6339?Fe(_0x50f50d,_0x280557):_0x50f50d,_0x3e6806=_0x61172e[_0x2fa336(0x22f)]-0x1,_0x12431d;_0x3e6806>=0x0;_0x3e6806--)(_0x12431d=_0x61172e[_0x3e6806])&&(_0x36443e=_0x12431d(_0x36443e)||_0x36443e);return _0x36443e;},A=(_0x2a0954,_0xe7d020)=>(_0x489cc4,_0x1db3bc)=>_0xe7d020(_0x489cc4,_0x1db3bc,_0x2a0954);let m=class extends _0x391c50{constructor(_0x6cdbcf,_0x312696){const _0x2736fb=_0xce0c4e;super(),this[_0x2736fb(0x265)]=_0x6cdbcf,this[_0x2736fb(0x23c)]=_0x312696,this[_0x2736fb(0x246)]();}['_mountLiveShare'](){const _0x3a3d28=_0xce0c4e;this['disposeWithMe'](this['_uiPartsService'][_0x3a3d28(0x209)](_0x7e38cc[_0x3a3d28(0x21f)],()=>_0x593ae2(Le,this[_0x3a3d28(0x265)])));}};m=He([A(0x0,_0x2de6b4(_0x173c5e)),A(0x1,_0x48a06c)],m);const ye=_0xce0c4e(0x268),T={};var Ue=Object[_0xce0c4e(0x295)],Ve=(_0x22e121,_0x2e3983,_0x4cf945,_0x3c4826)=>{const _0x4496fe=_0xce0c4e;for(var _0x15f34f=_0x3c4826>0x1?void 0x0:_0x3c4826?Ue(_0x2e3983,_0x4cf945):_0x2e3983,_0x2c5cf0=_0x22e121[_0x4496fe(0x22f)]-0x1,_0x814af5;_0x2c5cf0>=0x0;_0x2c5cf0--)(_0x814af5=_0x22e121[_0x2c5cf0])&&(_0x15f34f=_0x814af5(_0x15f34f)||_0x15f34f);return _0x15f34f;},je=(_0x50476d,_0x3a6e75)=>(_0xbe1020,_0x4055fd)=>_0x3a6e75(_0xbe1020,_0x4055fd,_0x50476d);let I=class extends _0x391c50{constructor(_0x338895){const _0x5d6169=_0xce0c4e;super(),this[_0x5d6169(0x240)]=_0x338895,this[_0x5d6169(0x251)]();}[_0xce0c4e(0x251)](){[_0x8a3ff8['id'],_0x3dbd75['id'],_0x31ae4e['id']]['forEach'](_0x8e7b5c=>{const _0x33631d=_0x53c8;this['disposeWithMe'](this[_0x33631d(0x240)]['registerSharedOperation'](_0x8e7b5c));});}};I=Ve([je(0x0,_0x2de6b4(L))],I);var Me=Object[_0xce0c4e(0x293)],ke=Object[_0xce0c4e(0x295)],Ge=(_0x142d9a,_0x1d3bee,_0x517a2d)=>_0x1d3bee in _0x142d9a?Me(_0x142d9a,_0x1d3bee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x517a2d}):_0x142d9a[_0x1d3bee]=_0x517a2d,We=(_0x5d5d52,_0x48919b,_0x49dab9,_0x380cc0)=>{for(var _0x5defb0=_0x380cc0>0x1?void 0x0:_0x380cc0?ke(_0x48919b,_0x49dab9):_0x48919b,_0x9ed4bd=_0x5d5d52['length']-0x1,_0x382a61;_0x9ed4bd>=0x0;_0x9ed4bd--)(_0x382a61=_0x5d5d52[_0x9ed4bd])&&(_0x5defb0=_0x382a61(_0x5defb0)||_0x5defb0);return _0x5defb0;},F=(_0x156e0a,_0x3e960a)=>(_0x136a24,_0xe9c535)=>_0x3e960a(_0x136a24,_0xe9c535,_0x156e0a),B=(_0xf181c4,_0x661305,_0x1ffb38)=>Ge(_0xf181c4,typeof _0x661305!=_0xce0c4e(0x21c)?_0x661305+'':_0x661305,_0x1ffb38);const Ye='UNIVER_LIVE_SHARE_PLUGIN';let b=class extends _0x3d5c76{constructor(_0x1c0333=T,_0x379dbb,_0x18b17d){const _0x450ba2=_0xce0c4e;super(),this[_0x450ba2(0x278)]=_0x1c0333,this[_0x450ba2(0x265)]=_0x379dbb,this['_configService']=_0x18b17d;const {..._0x52f487}=_0x1325bb({},T,this[_0x450ba2(0x278)]);this[_0x450ba2(0x294)]['setConfig'](ye,_0x52f487);}[_0xce0c4e(0x28c)](){const _0x155fae=_0xce0c4e;_0x256053(this['_injector'],_0x4c1cfa([[L],[S],[I],[m]],this['_config']['override'])),_0x39d7eb(this[_0x155fae(0x265)],[[I]]);}[_0xce0c4e(0x272)](){const _0x3c2c9a=_0xce0c4e;_0x39d7eb(this[_0x3c2c9a(0x265)],[[m]]);}};B(b,_0xce0c4e(0x202),_0x324c39[_0xce0c4e(0x297)]),B(b,_0xce0c4e(0x273),Ye),b=We([_0x390b52(_0x11e9df),F(0x1,_0x2de6b4(_0x173c5e)),F(0x2,_0x34266a)],b);export{m as DesktopLiveShareController,Le as LiveShare,S as LiveShareController,N as LiveShareCoordinator,L as LiveShareService,c as LiveShareStatus,b as UniverLiveSharePlugin};
1
+ const _0x3460c1=_0x4557;(function(_0x5e91aa,_0x551fe5){const _0xc8edc0=_0x4557,_0x46e6de=_0x5e91aa();while(!![]){try{const _0x806443=-parseInt(_0xc8edc0(0x150))/0x1*(parseInt(_0xc8edc0(0xdc))/0x2)+-parseInt(_0xc8edc0(0xd6))/0x3+parseInt(_0xc8edc0(0x13f))/0x4+parseInt(_0xc8edc0(0x15c))/0x5*(-parseInt(_0xc8edc0(0x15e))/0x6)+parseInt(_0xc8edc0(0xf8))/0x7*(parseInt(_0xc8edc0(0x100))/0x8)+-parseInt(_0xc8edc0(0x119))/0x9+parseInt(_0xc8edc0(0x104))/0xa*(parseInt(_0xc8edc0(0xda))/0xb);if(_0x806443===_0x551fe5)break;else _0x46e6de['push'](_0x46e6de['shift']());}catch(_0x527f52){_0x46e6de['push'](_0x46e6de['shift']());}}}(_0x2e26,0x4b0b4));var J=Object[_0x3460c1(0x126)],K=(_0xee29c6,_0x1c2b47,_0x49608d)=>_0x1c2b47 in _0xee29c6?J(_0xee29c6,_0x1c2b47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49608d}):_0xee29c6[_0x1c2b47]=_0x49608d,u=(_0x3e01fd,_0x32c32d,_0x4ce276)=>K(_0x3e01fd,typeof _0x32c32d!=_0x3460c1(0xf4)?_0x32c32d+'':_0x32c32d,_0x4ce276);import{Disposable as _0xc5e0a9,toDisposable as _0x87ebf2,IUniverInstanceService as _0xa87a14,Inject as _0x3bcdba,Injector as _0x19e107,IConfigService as _0x29db0f,ICommandService as _0x565687,RxDisposable as _0x591da1,UniverInstanceType as _0x3cb45b,DisposableCollection as _0x81324e,CommandType as _0x5504a2,DependentOn as _0x1ebbc3,Plugin as _0x16f213,merge as _0x125a7c,registerDependencies as _0x41bf15,mergeOverrideWithDependencies as _0x1cc35b,touchDependencies as _0x15308f}from'@univerjs/core';import{useDependency as _0x2b3e7d,useObservable as _0x27fd11,IUIPartsService as _0x42e77f,BuiltInUIPart as _0x5b833c,connectInjector as _0x87cd1f}from'@univerjs/ui';import{jsx as _0x9b8f83,jsxs as _0x3911e5,Fragment as _0x51b535}from'react/jsx-runtime';import{Dropdown as _0x320cc1,clsx as _0x889c00,Button as _0x25f1f0}from'@univerjs/design';import{useRef as _0x198b9b,createElement as _0x496fa8,forwardRef as _0x1d4949,useState as _0x51630b,useEffect as _0x112452}from'react';import{CollaborationEvent as _0x1bd605,parseProtocolChangeset as _0x52281c}from'@univerjs-pro/collaboration';import{CollaborationSessionService as _0x419de7,SessionStatus as _0x472715,UniverCollaborationClientPlugin as _0x82618b}from'@univerjs-pro/collaboration-client';import{InsertSheetMutation as _0x90e1c7,SetWorksheetActiveOperation as _0x4608bd}from'@univerjs/sheets';import{BehaviorSubject as _0x54131c,Subject as _0x1d9924}from'rxjs';import{takeUntil as _0x1cfb04,throttleTime as _0x387acb}from'rxjs/operators';import{SetZoomRatioOperation as _0x4fb690,SetScrollOperation as _0x5633c5}from'@univerjs/sheets-ui';function k({ref:_0x26a054,..._0x5508a8}){const _0x151f62=_0x3460c1,{icon:_0x399b7f,id:_0x6c9fe5,className:_0x5c55ac,extend:_0x4505a3,..._0x440c88}=_0x5508a8,_0x5af4eb=('univerjs-icon\x20univerjs-icon-'+_0x6c9fe5+'\x20'+(_0x5c55ac||''))['trim'](),_0x47c2e5=_0x198b9b('_'+Oe());return G(_0x399b7f,''+_0x6c9fe5,{'defIds':_0x399b7f['defIds'],'idSuffix':_0x47c2e5[_0x151f62(0xd3)]},{'ref':_0x26a054,'className':_0x5af4eb,..._0x440c88},_0x4505a3);}function G(_0x37cf3b,_0x5f31e4,_0x2ecc13,_0x9b24bc,_0x54e131){const _0x482e13=_0x3460c1;return _0x496fa8(_0x37cf3b['tag'],{'key':_0x5f31e4,...be(_0x37cf3b,_0x2ecc13,_0x54e131),..._0x9b24bc},(Ee(_0x37cf3b,_0x2ecc13)[_0x482e13(0x11f)]||[])[_0x482e13(0x13e)]((_0x22d74d,_0x2b0a24)=>G(_0x22d74d,_0x5f31e4+'-'+_0x37cf3b[_0x482e13(0x111)]+'-'+_0x2b0a24,_0x2ecc13,void 0x0,_0x54e131)));}function be(_0x226ed1,_0x4bfac6,_0x5760a2){const _0x187901=_0x3460c1,_0x51172a={..._0x226ed1[_0x187901(0x145)]};_0x5760a2!=null&&_0x5760a2[_0x187901(0x12e)]&&_0x51172a[_0x187901(0x14e)]===_0x187901(0x12e)&&(_0x51172a['fill']=_0x5760a2[_0x187901(0x12e)]),_0x226ed1[_0x187901(0x111)]===_0x187901(0x10c)&&_0x51172a['id']&&(_0x51172a['id']=_0x51172a['id']+_0x4bfac6[_0x187901(0xfc)]),Object[_0x187901(0x15a)](_0x51172a)[_0x187901(0x11d)](([_0x52dc91,_0x2c29ad])=>{const _0x5806ec=_0x187901;_0x52dc91==='mask'&&typeof _0x2c29ad==_0x5806ec(0x161)&&(_0x51172a[_0x52dc91]=_0x2c29ad['replace'](/url\(#(.*)\)/,_0x5806ec(0x116)+_0x4bfac6[_0x5806ec(0xfc)]+')'));});const {defIds:_0x2d7710}=_0x4bfac6;return!_0x2d7710||_0x2d7710['length']===0x0||(_0x226ed1['tag']===_0x187901(0x154)&&_0x51172a['xlink:href']&&(_0x51172a['xlink:href']=_0x51172a['xlink:href']+_0x4bfac6[_0x187901(0xfc)]),Object[_0x187901(0x15a)](_0x51172a)[_0x187901(0x11d)](([_0x18a762,_0x37b00d])=>{const _0x534e15=_0x187901;typeof _0x37b00d==_0x534e15(0x161)&&(_0x51172a[_0x18a762]=_0x37b00d[_0x534e15(0x11e)](/url\(#(.*)\)/,_0x534e15(0x116)+_0x4bfac6['idSuffix']+')'));})),_0x51172a;}function Ee(_0x43f4ae,_0x4b935d){const _0x3ba781=_0x3460c1;var _0x474e3d;const {defIds:_0xa41c91}=_0x4b935d;return!_0xa41c91||_0xa41c91[_0x3ba781(0xe6)]===0x0?_0x43f4ae:_0x43f4ae[_0x3ba781(0x111)]===_0x3ba781(0x139)&&((_0x474e3d=_0x43f4ae[_0x3ba781(0x11f)])!=null&&_0x474e3d[_0x3ba781(0xe6)])?{..._0x43f4ae,'children':_0x43f4ae[_0x3ba781(0x11f)]['map'](_0x22572c=>typeof _0x22572c[_0x3ba781(0x145)]['id']==_0x3ba781(0x161)&&_0xa41c91&&_0xa41c91['includes'](_0x22572c[_0x3ba781(0x145)]['id'])?{..._0x22572c,'attrs':{..._0x22572c['attrs'],'id':_0x22572c[_0x3ba781(0x145)]['id']+_0x4b935d['idSuffix']}}:_0x22572c)}:_0x43f4ae;}function Oe(){const _0x571914=_0x3460c1;return Math[_0x571914(0x110)]()[_0x571914(0x16c)](0x24)[_0x571914(0x12a)](0x2,0x8);}k[_0x3460c1(0xd2)]=_0x3460c1(0x14b);const we={'tag':_0x3460c1(0xe8),'attrs':{'xmlns':_0x3460c1(0x156),'fill':_0x3460c1(0x118),'viewBox':_0x3460c1(0xdf),'width':'1em','height':_0x3460c1(0x12c)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z'}},{'tag':_0x3460c1(0xe4),'attrs':{'fill':_0x3460c1(0x157),'d':'M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','fillRule':'evenodd','clipRule':_0x3460c1(0x11b)}}]},W=_0x1d4949(function(_0x1e7683,_0x9a32e2){const _0x448ee4=_0x3460c1;return _0x496fa8(k,Object[_0x448ee4(0x128)]({},_0x1e7683,{'id':_0x448ee4(0x141),'ref':_0x9a32e2,'icon':we}));});W['displayName']='LiveShareIcon';class L extends _0xc5e0a9{constructor(){const _0x4eec30=_0x3460c1;super(...arguments),u(this,_0x4eec30(0xe0),new Set()),u(this,_0x4eec30(0x131),new Set());}[_0x3460c1(0xec)](_0xce0c2b){const _0x27c1c2=_0x3460c1;return this['_sharedOperations'][_0x27c1c2(0x149)](_0xce0c2b),_0x87ebf2(()=>this['_sharedOperations'][_0x27c1c2(0xd0)](_0xce0c2b));}['registerInitialStateReporter'](_0x5486f1){const _0x134273=_0x3460c1;return this['_reporters'][_0x134273(0x149)](_0x5486f1),_0x87ebf2(()=>this[_0x134273(0x131)][_0x134273(0xd0)](_0x5486f1));}[_0x3460c1(0x153)](_0x382e39){const _0x4900b3=_0x3460c1;return this[_0x4900b3(0xe0)]['has'](_0x382e39);}['getInitialStates'](_0x2277c7){const _0x56ffca=_0x3460c1;return Array[_0x56ffca(0x102)](this['_reporters'])[_0x56ffca(0x13e)](_0xee86d4=>_0xee86d4(_0x2277c7));}}var Ne=Object[_0x3460c1(0x163)],Y=(_0x3ad7f6,_0xb6cc1e,_0x210af2,_0x30d218)=>{const _0x57a988=_0x3460c1;for(var _0x4e546e=_0x30d218>0x1?void 0x0:_0x30d218?Ne(_0xb6cc1e,_0x210af2):_0xb6cc1e,_0x5c3e02=_0x3ad7f6[_0x57a988(0xe6)]-0x1,_0x44c03a;_0x5c3e02>=0x0;_0x5c3e02--)(_0x44c03a=_0x3ad7f6[_0x5c3e02])&&(_0x4e546e=_0x44c03a(_0x4e546e)||_0x4e546e);return _0x4e546e;},_=(_0x1de16c,_0x3cb4b0)=>(_0x2c8718,_0x19ca88)=>_0x3cb4b0(_0x2c8718,_0x19ca88,_0x1de16c);let S=class extends _0x591da1{constructor(_0x53d9f1,_0xe2dd4c,_0x15c992){const _0x410d85=_0x3460c1;super(),u(this,'_entities',new Map()),(this[_0x410d85(0x144)]=_0x53d9f1,this['_injector']=_0xe2dd4c,this['_collabSessionService']=_0x15c992,this['_init']());}async[_0x3460c1(0x117)](_0x49cd36){const _0x21f2d2=_0x3460c1;return this[_0x21f2d2(0x115)]['has'](_0x49cd36)||await this[_0x21f2d2(0xf9)](_0x49cd36),this['_entities'][_0x21f2d2(0x138)](_0x49cd36);}['getLiveShareCoordinatorSync'](_0x3b6bf2){const _0xb68733=_0x3460c1;var _0x131cbc;return(_0x131cbc=this[_0xb68733(0x115)][_0xb68733(0x138)](_0x3b6bf2))!=null?_0x131cbc:null;}[_0x3460c1(0xf5)](){const _0x280766=_0x3460c1;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3cb45b[_0x280766(0x12f)])['pipe'](_0x1cfb04(this[_0x280766(0xea)]))['subscribe'](async _0x239aaf=>{const _0x3e300a=_0x280766,_0x1c4969=_0x239aaf[_0x3e300a(0xed)]();this[_0x3e300a(0x115)]['has'](_0x1c4969)||this['_startLiveShareCoordinator'](_0x1c4969);}),this[_0x280766(0x144)][_0x280766(0x10b)](_0x3cb45b[_0x280766(0x12f)])[_0x280766(0x11c)](_0x1cfb04(this[_0x280766(0xea)]))['subscribe'](_0x1cb7c5=>{const _0x48a1db=_0x280766,_0x2a0b5e=_0x1cb7c5[_0x48a1db(0xed)](),_0x12175d=this['_entities'][_0x48a1db(0x138)](_0x2a0b5e);_0x12175d==null||_0x12175d['dispose']();});}async[_0x3460c1(0xf9)](_0x30b34c){const _0x26092a=_0x3460c1,_0x13bd2c=await this[_0x26092a(0x10f)]['requireSession'](_0x30b34c),_0xbe848e=this['_injector'][_0x26092a(0x134)](N,_0x30b34c,_0x13bd2c);return _0xbe848e[_0x26092a(0x124)](),this['_entities'][_0x26092a(0x108)](_0x30b34c,_0xbe848e),_0xbe848e;}};function _0x4557(_0x319d5b,_0x466118){_0x319d5b=_0x319d5b-0xd0;const _0x2e2603=_0x2e26();let _0x4557b6=_0x2e2603[_0x319d5b];return _0x4557b6;}S=Y([_(0x0,_0xa87a14),_(0x1,_0x3bcdba(_0x19e107)),_(0x2,_0x3bcdba(_0x419de7))],S);var c=(_0x249ad8=>(_0x249ad8['OFFLINE']=_0x3460c1(0xdd),_0x249ad8[_0x3460c1(0x14a)]=_0x3460c1(0xe3),_0x249ad8[_0x3460c1(0x160)]=_0x3460c1(0x147),_0x249ad8[_0x3460c1(0x114)]=_0x3460c1(0x165),_0x249ad8[_0x3460c1(0x13c)]='presenting',_0x249ad8))(c||{});const Ce=_0x3460c1(0x148),De=0xc8;function _0x2e26(){const _0x5e967a=['dispose','event$','data','sessionStatus$','_commandService','_collabSession','symbol','_init','find','live-share.config','7VkPebU','_startLiveShareCoordinator','stopFollowing','Present\x20this\x20document','idSuffix','send','onCommandExecuted','default','4482536RTdaRF','next','from','_handleOnline','40eyXOLS','Start','params','_startPresenting','set','parse','_status$','getTypeOfUnitDisposed$','mask','includes','unitId','_collabSessionService','random','tag','Start\x20following','_handleNewChangeSets','NOT_FOLLOWING','_entities','url(#$1','getLiveShareCoordinator','none','4234896shwwpu','type','evenodd','pipe','forEach','replace','children','div','button','override','getValue','init','HEADER_MENU','defineProperty','getInitialStates','assign','has','substring','OFFLINE','1em','_fetchOperations','colorChannel1','UNIVER_SHEET','_handleOperation','_reporters','LIVESHARE_TERMINATE','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','createInstance','stringify','unsubscribe','onRendered','get','defs','_injector','getCurrentTypeOfUnit$','PRESENTING','tryStartPresenting','map','863220xHXkSL','subscribe','live-share-icon','_handleTerminate','_handleOffline','_univerInstanceService','attrs','clear','following','SAME_OPERATION_SHARE_INTERVAL','add','IDLE','UniverIcon','startFollowing','univer-size-4','fill','univer-mb-3\x20univer-w-full\x20univer-text-sm','23gaMkjK','LIVESHARE_FETCH_OPERATIONS','presenter','shouldShareOperation','use','_handleNewHost','http://www.w3.org/2000/svg','currentColor','disposeWithMe','memberID','entries','You\x27re\x20not\x20following\x20the\x20presenter','250YiFNYI','pluginName','38166BGNHdq','_unitID','FOLLOWING','string','ONLINE','getOwnPropertyDescriptor','_commandDisposable','not-following','presenting','status$','mutations','sheet','_startFollowing','getMemberID','toString','stopPresenting','then','_mountLiveShare','_liveShareService','delete','You\x27are\x20offline.','displayName','current','onStarting','_beIdle','527169AxmxmC','_status','text','_stopFollowing','1951246VrGJSu','executeCommand','18606rZGRuB','offline','You\x27re\x20following\x20the\x20presenter','0\x200\x2017\x2017','_sharedOperations','_config','registerComponent','idle','path','_configService','length','_presenter','svg','LIVESHARE_REQUEST_HOST','dispose$','setConfig','registerSharedOperation','getUnitId'];_0x2e26=function(){return _0x5e967a;};return _0x2e26();}let N=class extends _0x591da1{constructor(_0x11b18b,_0x477f19,_0x257db7,_0xbbf2d2,_0x4bee3b){const _0x3ef8b0=_0x3460c1;super(),u(this,_0x3ef8b0(0x10a),new _0x54131c(_0x3ef8b0(0xe3))),u(this,_0x3ef8b0(0x167),this[_0x3ef8b0(0x10a)]['asObservable']()),u(this,'_init',!0x1),u(this,_0x3ef8b0(0x164),null),u(this,_0x3ef8b0(0xe7),null),(this[_0x3ef8b0(0x15f)]=_0x11b18b,this['_collabSession']=_0x477f19,this[_0x3ef8b0(0xe5)]=_0x257db7,this['_liveShareService']=_0xbbf2d2,this[_0x3ef8b0(0xf2)]=_0x4bee3b);}get[_0x3460c1(0xd7)](){const _0x5d3644=_0x3460c1;return this[_0x5d3644(0x10a)][_0x5d3644(0x123)]();}[_0x3460c1(0xee)](){const _0x54914b=_0x3460c1;var _0x371575;(_0x371575=this[_0x54914b(0x164)])==null||_0x371575[_0x54914b(0xee)](),this[_0x54914b(0x10a)][_0x54914b(0x101)](_0x54914b(0xe3)),this[_0x54914b(0x10a)]['complete']();}['getStatus'](){const _0x3507c4=_0x3460c1;return this[_0x3507c4(0xd7)];}[_0x3460c1(0x124)](){const _0x5a40dd=_0x3460c1;this[_0x5a40dd(0xf5)]||(this[_0x5a40dd(0xf5)]=!0x0,this['_collabSession'][_0x5a40dd(0xf1)]['pipe'](_0x1cfb04(this[_0x5a40dd(0xea)]))[_0x5a40dd(0x140)](_0x279107=>{const _0x3ab0fd=_0x5a40dd;switch(_0x279107){case _0x472715[_0x3ab0fd(0x12b)]:this['_handleOffline']();break;case _0x472715[_0x3ab0fd(0x162)]:this[_0x3ab0fd(0x103)]();break;}}),this[_0x5a40dd(0xf3)][_0x5a40dd(0xef)]['pipe'](_0x1cfb04(this[_0x5a40dd(0xea)]))[_0x5a40dd(0x140)](_0x674d7d=>{const _0x500399=_0x5a40dd,{eventID:_0x406dc9}=_0x674d7d;switch(_0x406dc9){case _0x1bd605['LIVESHARE_NEW_HOST']:this[_0x500399(0x155)](_0x674d7d);break;case _0x1bd605['LIVESHARE_OPERATION']:this[_0x500399(0x130)](_0x674d7d);break;case _0x1bd605[_0x500399(0x132)]:this['_handleTerminate']();break;case _0x1bd605['NEW_CHANGESETS']:this[_0x500399(0x113)](_0x674d7d);break;}}));}[_0x3460c1(0x13d)](){const _0x4507dc=_0x3460c1;this[_0x4507dc(0xf3)]['send']({'eventID':_0x1bd605[_0x4507dc(0xe9)],'data':{'unitID':this[_0x4507dc(0x15f)],'userID':this[_0x4507dc(0xf3)][_0x4507dc(0x16b)]()}},this[_0x4507dc(0x15f)]);}[_0x3460c1(0x16d)](){const _0x4520c4=_0x3460c1;this[_0x4520c4(0xd7)]===_0x4520c4(0x166)&&(this[_0x4520c4(0x10a)][_0x4520c4(0x101)](_0x4520c4(0xe3)),this[_0x4520c4(0xf3)][_0x4520c4(0xfd)]({'eventID':_0x1bd605[_0x4520c4(0x132)],'data':{'unitID':this[_0x4520c4(0x15f)]}},this[_0x4520c4(0x15f)]));}[_0x3460c1(0x14c)](){const _0x558865=_0x3460c1;this[_0x558865(0xd7)]===_0x558865(0x165)&&(this['_status$'][_0x558865(0x101)](_0x558865(0x147)),this['_startFollowing']());}['stopFollowing'](){const _0x32da72=_0x3460c1;this[_0x32da72(0xd7)]===_0x32da72(0x147)&&this[_0x32da72(0xd9)]();}[_0x3460c1(0x155)](_0x5ef90d){const _0x2da164=_0x3460c1,{presenter:_0x288bbb}=_0x5ef90d[_0x2da164(0xf0)],_0x2f32d6=this[_0x2da164(0xf3)][_0x2da164(0x16b)]();this[_0x2da164(0xe7)]=_0x288bbb,_0x288bbb===_0x2f32d6?(this[_0x2da164(0xd9)](),this[_0x2da164(0x107)]()):this['_status']!==_0x2da164(0x165)&&(this['_stopPresenting'](),this['_startFollowing']());}[_0x3460c1(0x12d)](){const _0x5294cf=_0x3460c1,_0x14a72c={'eventID':_0x1bd605[_0x5294cf(0x151)]};this[_0x5294cf(0xf3)][_0x5294cf(0xfd)](_0x14a72c,this['_unitID']);}[_0x3460c1(0x142)](){const _0x38d416=_0x3460c1;this[_0x38d416(0xe7)]=null,this[_0x38d416(0xd7)]!==_0x38d416(0x166)&&this[_0x38d416(0xd5)]();}[_0x3460c1(0x113)](_0x585489){const _0x503f5c=_0x3460c1;if(this['_status']==='following'&&this[_0x503f5c(0xe7)]===_0x585489[_0x503f5c(0xf0)][_0x503f5c(0x159)]){const _0x16ef39=_0x52281c(_0x585489[_0x503f5c(0xf0)])[_0x503f5c(0x168)]['reverse']()[_0x503f5c(0xf6)](_0x4e70d1=>_0x4e70d1['id']===_0x90e1c7['id']);if(_0x16ef39){const _0x25a089=_0x16ef39['params'][_0x503f5c(0x10e)],_0x436a77=_0x16ef39[_0x503f5c(0x106)][_0x503f5c(0x169)]['id'];setTimeout(()=>{const _0x19d3ef=_0x503f5c;this[_0x19d3ef(0xf2)][_0x19d3ef(0xdb)](_0x4608bd['id'],{'unitId':_0x25a089,'subUnitId':_0x436a77},{'fromCollab':!0x0});});}}}['_startPresenting'](){const _0x496b72=_0x3460c1;this[_0x496b72(0x10a)]['next']('presenting');const _0x2642e6=new Map(),_0x20a636=this[_0x496b72(0x164)]=new _0x81324e();_0x20a636[_0x496b72(0x149)](_0x87ebf2(()=>{const _0x548f8e=_0x496b72;_0x2642e6[_0x548f8e(0x11d)](_0x34fb0f=>_0x34fb0f['complete']()),_0x2642e6[_0x548f8e(0x146)]();})),_0x20a636['add'](this[_0x496b72(0xf2)][_0x496b72(0xfe)](_0x1d3c1d=>{const _0x2c366=_0x496b72;var _0x2ae01b;if(_0x1d3c1d[_0x2c366(0x11a)]!==_0x5504a2['OPERATION']||!this[_0x2c366(0x170)][_0x2c366(0x153)](_0x1d3c1d['id']))return;const {id:_0x31d627}=_0x1d3c1d;let _0x3d83c4;_0x2642e6[_0x2c366(0x129)](_0x31d627)?_0x3d83c4=_0x2642e6['get'](_0x31d627):(_0x3d83c4=new _0x1d9924(),_0x2642e6['set'](_0x31d627,_0x3d83c4),_0x3d83c4[_0x2c366(0x11c)](_0x387acb((_0x2ae01b=this[_0x2c366(0xe5)]['getConfig'](Ce))!=null?_0x2ae01b:De,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x2c366(0x140)](_0xba430c=>{const _0x300dc2=_0x2c366;this['_collabSession'][_0x300dc2(0xfd)]({'eventID':_0x1bd605['LIVESHARE_OPERATION'],'data':{'unitID':this[_0x300dc2(0x15f)],'operations':{[_0xba430c['id']]:{'id':_0xba430c['id'],'params':JSON[_0x300dc2(0x135)](_0xba430c[_0x300dc2(0x106)])}}}},this[_0x300dc2(0x15f)]);})),_0x3d83c4[_0x2c366(0x101)](_0x1d3c1d);})),this[_0x496b72(0x170)][_0x496b72(0x127)](this[_0x496b72(0x15f)])[_0x496b72(0x11d)](_0x352994=>this[_0x496b72(0xf3)]['send']({'eventID':_0x1bd605['LIVESHARE_OPERATION'],'data':{'unitID':this[_0x496b72(0x15f)],'operations':{[_0x352994['id']]:{'id':_0x352994['id'],'params':JSON[_0x496b72(0x135)](_0x352994[_0x496b72(0x106)])}}}},this[_0x496b72(0x15f)]));}['_stopPresenting'](){const _0x2e798d=_0x3460c1;var _0x5a524d;this[_0x2e798d(0x10a)][_0x2e798d(0x101)](_0x2e798d(0xe3)),(_0x5a524d=this[_0x2e798d(0x164)])==null||_0x5a524d[_0x2e798d(0xee)](),this[_0x2e798d(0x164)]=null;}[_0x3460c1(0x16a)](){const _0x5030db=_0x3460c1;var _0xb9a39d;(_0xb9a39d=this[_0x5030db(0x164)])==null||_0xb9a39d[_0x5030db(0xee)](),this[_0x5030db(0x10a)][_0x5030db(0x101)](_0x5030db(0x147));}[_0x3460c1(0xd5)](){const _0x31f927=_0x3460c1;var _0xe57fb7;this['_status$'][_0x31f927(0x101)]('idle'),(_0xe57fb7=this[_0x31f927(0x164)])==null||_0xe57fb7[_0x31f927(0xee)](),this[_0x31f927(0x164)]=null;}[_0x3460c1(0xd9)](){const _0x3589c4=_0x3460c1;var _0x1314b7;this[_0x3589c4(0x10a)][_0x3589c4(0x101)](_0x3589c4(0x165)),(_0x1314b7=this[_0x3589c4(0x164)])==null||_0x1314b7['dispose']();}['_handleOperation'](_0x3c1c91){const _0x514481=_0x3460c1;if([_0x514481(0x166),_0x514481(0x165),_0x514481(0xdd)][_0x514481(0x10d)](this[_0x514481(0xd7)])||!_0x3c1c91['data'][_0x514481(0x152)]||_0x3c1c91[_0x514481(0xf0)]['presenter']===this[_0x514481(0xf3)][_0x514481(0x16b)]())return;this[_0x514481(0xd7)]===_0x514481(0xe3)&&this[_0x514481(0x16a)]();const _0x4f3327=_0x3c1c91[_0x514481(0xf0)]['operations'];Object['values'](_0x4f3327)[_0x514481(0x11d)](_0x8f6359=>{const _0x59f750=_0x514481;this['_commandService'][_0x59f750(0xdb)](_0x8f6359['id'],_0x8f6359['params']?JSON[_0x59f750(0x109)](_0x8f6359[_0x59f750(0x106)]):null,{'fromCollab':!0x0});});}[_0x3460c1(0x143)](){const _0x1634e0=_0x3460c1;var _0x18cb66;this[_0x1634e0(0x10a)][_0x1634e0(0x101)](_0x1634e0(0xdd)),(_0x18cb66=this[_0x1634e0(0x164)])==null||_0x18cb66['dispose']();}[_0x3460c1(0x103)](){const _0x485e4a=_0x3460c1;this[_0x485e4a(0x10a)][_0x485e4a(0x101)]('idle'),this[_0x485e4a(0x12d)]();}};N=Y([_(0x2,_0x29db0f),_(0x3,_0x3bcdba(L)),_(0x4,_0x565687)],N);function Le(){const _0x4048c9=_0x3460c1,_0x1de4d5=_0x2b3e7d(S),_0x45a0b0=_0x2b3e7d(_0xa87a14),_0x1170b3=_0x27fd11(()=>_0x45a0b0[_0x4048c9(0x13b)](_0x3cb45b[_0x4048c9(0x12f)]),void 0x0,!0x1,[]),[_0x28449e,_0x1e80b1]=_0x51630b(null),[_0x1000d2,_0x16535e]=_0x51630b(c[_0x4048c9(0x14a)]),_0x767a5f=_0x198b9b(null);return _0x112452(()=>(_0x1170b3&&_0x1de4d5[_0x4048c9(0x117)](_0x1170b3['getUnitId']())[_0x4048c9(0x16e)](_0xc44a0c=>{const _0x54ea5c=_0x4048c9;_0x1e80b1(_0xc44a0c),_0x767a5f[_0x54ea5c(0xd3)]=_0xc44a0c[_0x54ea5c(0x167)]['subscribe'](_0x77fe00=>{_0x16535e(_0x77fe00);});}),()=>{const _0xd59584=_0x4048c9;var _0x51c0a1;(_0x51c0a1=_0x767a5f[_0xd59584(0xd3)])==null||_0x51c0a1[_0xd59584(0x136)](),_0x767a5f[_0xd59584(0xd3)]=null;}),[_0x1170b3,_0x1de4d5]),_0x28449e?_0x9b8f83(_0x320cc1,{'align':'end','disabled':_0x1000d2===c[_0x4048c9(0x12b)],'className':'univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','overlay':_0x9b8f83(Re,{'status':_0x1000d2,'coordinator':_0x28449e}),'children':_0x9b8f83(_0x4048c9(0x121),{'className':_0x889c00(_0x4048c9(0x133),{'univer-cursor-not-allowed':_0x1000d2===c[_0x4048c9(0x12b)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x1000d2!==c[_0x4048c9(0x12b)]}),'type':_0x4048c9(0x121),'children':_0x9b8f83(W,{'className':_0x4048c9(0x14d)})})}):null;}function Re(_0x49ce94){const _0x4678b7=_0x3460c1,{status:_0x8e73f5,coordinator:_0x2a5f9c}=_0x49ce94;switch(_0x8e73f5){case c[_0x4678b7(0x14a)]:return _0x9b8f83($e,{'coordinator':_0x2a5f9c});case c[_0x4678b7(0x160)]:return _0x9b8f83(xe,{'coordinator':_0x2a5f9c});case c[_0x4678b7(0x114)]:return _0x9b8f83(Pe,{'coordinator':_0x2a5f9c});case c[_0x4678b7(0x12b)]:return _0x9b8f83(Te,{});case c[_0x4678b7(0x13c)]:return _0x9b8f83(Ae,{'coordinator':_0x2a5f9c});default:return null;}}function $e(_0xcbfff8){const _0x4755ad=_0x3460c1,{coordinator:_0x29a724}=_0xcbfff8;return _0x3911e5(_0x51b535,{'children':[_0x9b8f83(_0x4755ad(0x120),{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':_0x4755ad(0xfb)}),_0x9b8f83(_0x25f1f0,{'onClick':()=>_0x29a724['tryStartPresenting'](),'children':_0x4755ad(0x105)})]});}function xe(_0x43f290){const _0x4922fa=_0x3460c1,{coordinator:_0x51ab5e}=_0x43f290;return _0x3911e5(_0x51b535,{'children':[_0x9b8f83(_0x4922fa(0x120),{'className':_0x4922fa(0x14f),'children':_0x4922fa(0xde)}),_0x9b8f83(_0x25f1f0,{'onClick':()=>_0x51ab5e[_0x4922fa(0xfa)](),'children':'Stop\x20following'})]});}function Pe(_0x14060b){const _0x362e5e=_0x3460c1,{coordinator:_0x2583f6}=_0x14060b;return _0x3911e5(_0x51b535,{'children':[_0x9b8f83(_0x362e5e(0x120),{'className':_0x362e5e(0x14f),'children':_0x362e5e(0x15b)}),_0x9b8f83(_0x25f1f0,{'variant':_0x362e5e(0xd8),'onClick':()=>_0x2583f6[_0x362e5e(0x14c)](),'children':_0x362e5e(0x112)})]});}function Ae(_0x2d76d9){const _0x50c1d3=_0x3460c1,{coordinator:_0x406096}=_0x2d76d9;return _0x3911e5(_0x51b535,{'children':[_0x9b8f83(_0x50c1d3(0x120),{'className':_0x50c1d3(0x14f),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x9b8f83(_0x25f1f0,{'variant':_0x50c1d3(0xff),'onClick':()=>_0x406096[_0x50c1d3(0x16d)](),'children':'Stop\x20presenting'})]});}function Te(){const _0x5907f0=_0x3460c1;return _0x9b8f83(_0x51b535,{'children':_0x5907f0(0xd1)});}var Fe=Object[_0x3460c1(0x163)],He=(_0x538afa,_0x11611c,_0x44a43a,_0x4070c2)=>{for(var _0x1a7dbf=_0x4070c2>0x1?void 0x0:_0x4070c2?Fe(_0x11611c,_0x44a43a):_0x11611c,_0x1160de=_0x538afa['length']-0x1,_0x24251c;_0x1160de>=0x0;_0x1160de--)(_0x24251c=_0x538afa[_0x1160de])&&(_0x1a7dbf=_0x24251c(_0x1a7dbf)||_0x1a7dbf);return _0x1a7dbf;},A=(_0x4b15b1,_0x2de9ec)=>(_0x3a6df4,_0x52a4a2)=>_0x2de9ec(_0x3a6df4,_0x52a4a2,_0x4b15b1);let m=class extends _0xc5e0a9{constructor(_0x4873e9,_0x17d8e4){const _0x3a95ed=_0x3460c1;super(),this[_0x3a95ed(0x13a)]=_0x4873e9,this['_uiPartsService']=_0x17d8e4,this['_mountLiveShare']();}[_0x3460c1(0x16f)](){const _0x145b80=_0x3460c1;this[_0x145b80(0x158)](this['_uiPartsService'][_0x145b80(0xe2)](_0x5b833c[_0x145b80(0x125)],()=>_0x87cd1f(Le,this[_0x145b80(0x13a)])));}};m=He([A(0x0,_0x3bcdba(_0x19e107)),A(0x1,_0x42e77f)],m);const ye=_0x3460c1(0xf7),T={};var Ue=Object['getOwnPropertyDescriptor'],Ve=(_0x85e724,_0x4b18d9,_0x46848f,_0x7291df)=>{const _0x2e2c3c=_0x3460c1;for(var _0x5dfdc3=_0x7291df>0x1?void 0x0:_0x7291df?Ue(_0x4b18d9,_0x46848f):_0x4b18d9,_0x2dbdf0=_0x85e724[_0x2e2c3c(0xe6)]-0x1,_0x5177e1;_0x2dbdf0>=0x0;_0x2dbdf0--)(_0x5177e1=_0x85e724[_0x2dbdf0])&&(_0x5dfdc3=_0x5177e1(_0x5dfdc3)||_0x5dfdc3);return _0x5dfdc3;},je=(_0xcb74ea,_0x4aaf53)=>(_0x1c3b5c,_0x1b5ad3)=>_0x4aaf53(_0x1c3b5c,_0x1b5ad3,_0xcb74ea);let I=class extends _0xc5e0a9{constructor(_0x301154){const _0x48484d=_0x3460c1;super(),this[_0x48484d(0x170)]=_0x301154,this[_0x48484d(0xf5)]();}[_0x3460c1(0xf5)](){const _0x581c86=_0x3460c1;[_0x4fb690['id'],_0x5633c5['id'],_0x4608bd['id']][_0x581c86(0x11d)](_0x7ce23e=>{const _0x210a8c=_0x581c86;this[_0x210a8c(0x158)](this[_0x210a8c(0x170)]['registerSharedOperation'](_0x7ce23e));});}};I=Ve([je(0x0,_0x3bcdba(L))],I);var Me=Object[_0x3460c1(0x126)],ke=Object[_0x3460c1(0x163)],Ge=(_0x5a8dd8,_0x104b3a,_0x57d3bf)=>_0x104b3a in _0x5a8dd8?Me(_0x5a8dd8,_0x104b3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57d3bf}):_0x5a8dd8[_0x104b3a]=_0x57d3bf,We=(_0x264d4e,_0x269ef6,_0x265b4b,_0x5943ce)=>{const _0x5e3e39=_0x3460c1;for(var _0x16d8da=_0x5943ce>0x1?void 0x0:_0x5943ce?ke(_0x269ef6,_0x265b4b):_0x269ef6,_0x2cb272=_0x264d4e[_0x5e3e39(0xe6)]-0x1,_0x56fb44;_0x2cb272>=0x0;_0x2cb272--)(_0x56fb44=_0x264d4e[_0x2cb272])&&(_0x16d8da=_0x56fb44(_0x16d8da)||_0x16d8da);return _0x16d8da;},F=(_0x28aab9,_0x30093a)=>(_0x27f10c,_0x24a5e8)=>_0x30093a(_0x27f10c,_0x24a5e8,_0x28aab9),B=(_0x11e79d,_0x40f52f,_0x3f6168)=>Ge(_0x11e79d,typeof _0x40f52f!=_0x3460c1(0xf4)?_0x40f52f+'':_0x40f52f,_0x3f6168);const Ye='UNIVER_LIVE_SHARE_PLUGIN';let b=class extends _0x16f213{constructor(_0x3d8f0a=T,_0x5ce647,_0x352525){const _0x388b7f=_0x3460c1;super(),this[_0x388b7f(0xe1)]=_0x3d8f0a,this[_0x388b7f(0x13a)]=_0x5ce647,this[_0x388b7f(0xe5)]=_0x352525;const {..._0xbea9ef}=_0x125a7c({},T,this[_0x388b7f(0xe1)]);this[_0x388b7f(0xe5)][_0x388b7f(0xeb)](ye,_0xbea9ef);}[_0x3460c1(0xd4)](){const _0x293ee2=_0x3460c1;_0x41bf15(this[_0x293ee2(0x13a)],_0x1cc35b([[L],[S],[I],[m]],this['_config'][_0x293ee2(0x122)])),_0x15308f(this[_0x293ee2(0x13a)],[[I]]);}[_0x3460c1(0x137)](){_0x15308f(this['_injector'],[[m]]);}};B(b,'type',_0x3cb45b['UNIVER_UNKNOWN']),B(b,_0x3460c1(0x15d),Ye),b=We([_0x1ebbc3(_0x82618b),F(0x1,_0x3bcdba(_0x19e107)),F(0x2,_0x29db0f)],b);export{m as DesktopLiveShareController,Le as LiveShare,S as LiveShareController,N as LiveShareCoordinator,L as LiveShareService,c as LiveShareStatus,b as UniverLiveSharePlugin};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1503(_0xb9ef89,_0x13e57e){_0xb9ef89=_0xb9ef89-0x88;const _0x355994=_0x3559();let _0x150352=_0x355994[_0xb9ef89];return _0x150352;}function _0x3559(){const _0x13876e=['187683alTkfD','LiveShareController','stopPresenting','No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.','5076239Ymtavj','@univerjs/sheets/facade','getSheetId','PRESENTING','554464dJVCIO','3244740jAuguM','6AXHVpO','startColumn','syncExecuteCommand','startFollowing','UniverSheetsFacade','LiveShareStatusEnum','@univerjs/core/facade','_commandService','_initialize','get','getLiveShareCoordinatorSync','24sfjJcM','@univerjs-pro/live-share','SetScrollOperation','getStatus','UniverSheets','startPresenting','object','UniverSheetsUi','tryStartPresenting','8781RxAgGG','amd','UniverEngineRender','FEnum','FUniver','getRenderById','FRange','executeCommand','2144110MeAeAw','IRenderManagerService','LiveShareStatus','SetWorksheetActiveOperation','getUnitId','stopFollowing','No\x20active\x20workbook\x20found.','getActiveWorkbook','8533467PAbvpw','@univerjs/sheets','UniverCoreFacade','extend','function','_injector','startRow'];_0x3559=function(){return _0x13876e;};return _0x3559();}(function(_0x541c79,_0x44a3b7){const _0x1c4d31=_0x1503,_0x246024=_0x541c79();while(!![]){try{const _0x29184e=-parseInt(_0x1c4d31(0x8a))/0x1*(parseInt(_0x1c4d31(0x94))/0x2)+parseInt(_0x1c4d31(0xa8))/0x3+-parseInt(_0x1c4d31(0x92))/0x4+-parseInt(_0x1c4d31(0xb0))/0x5+-parseInt(_0x1c4d31(0x93))/0x6+-parseInt(_0x1c4d31(0x8e))/0x7+-parseInt(_0x1c4d31(0x9f))/0x8*(-parseInt(_0x1c4d31(0xb8))/0x9);if(_0x29184e===_0x44a3b7)break;else _0x246024['push'](_0x246024['shift']());}catch(_0x420c70){_0x246024['push'](_0x246024['shift']());}}}(_0x3559,0x6e192),function(_0x1c7813,_0x4f6571){const _0x10dfe9=_0x1503;typeof exports==_0x10dfe9(0xa5)&&typeof module<'u'?_0x4f6571(require('@univerjs-pro/live-share'),require('@univerjs/engine-render'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade')):typeof define==_0x10dfe9(0xbc)&&define[_0x10dfe9(0xa9)]?define([_0x10dfe9(0xa0),'@univerjs/engine-render',_0x10dfe9(0xb9),'@univerjs/sheets-ui',_0x10dfe9(0x8f),_0x10dfe9(0x9a)],_0x4f6571):(_0x1c7813=typeof globalThis<'u'?globalThis:_0x1c7813||self,_0x4f6571(_0x1c7813['UniverProLiveShare'],_0x1c7813[_0x10dfe9(0xaa)],_0x1c7813[_0x10dfe9(0xa3)],_0x1c7813[_0x10dfe9(0xa6)],_0x1c7813[_0x10dfe9(0x98)],_0x1c7813[_0x10dfe9(0xba)]));}(this,function(_0x13b967,_0x509067,_0x5e3ae4,_0x416f13,_0x207da9,_0x9bea9c){'use strict';const _0x1bb263=_0x1503;class _0x36842e extends _0x207da9[_0x1bb263(0xae)]{[_0x1bb263(0x9c)](_0x3e7a40,_0x37a4bf,_0x2270fd,_0x1d5535,_0x1fa2f5){const _0x1156e2=_0x1bb263,_0x574f35=_0x3e7a40[_0x1156e2(0x9d)](_0x13b967[_0x1156e2(0x8b)]),_0x4d599f=_0x3e7a40[_0x1156e2(0x9d)](_0x509067[_0x1156e2(0xb1)]),_0xcb19d9=_0x37a4bf[_0x1156e2(0xb4)](),_0x174ba2=_0x37a4bf['getActiveSheet'](),_0x533e54=_0x574f35[_0x1156e2(0x9e)](_0xcb19d9);(_0x533e54==null?void 0x0:_0x533e54[_0x1156e2(0xa2)]())!==_0x13b967[_0x1156e2(0xb2)][_0x1156e2(0x91)]||(_0x2270fd[_0x1156e2(0x90)]()!==_0x174ba2[_0x1156e2(0x90)]()&&this[_0x1156e2(0x9b)][_0x1156e2(0xaf)](_0x5e3ae4[_0x1156e2(0xb3)]['id'],{'unitId':_0xcb19d9,'subUnitId':_0x2270fd[_0x1156e2(0x90)]()}),!_0x4d599f[_0x1156e2(0xad)](_0xcb19d9))||_0x1fa2f5[_0x1156e2(0x96)](_0x416f13[_0x1156e2(0xa1)]['id'],{'unitId':_0x37a4bf[_0x1156e2(0xb4)](),'sheetId':_0x2270fd[_0x1156e2(0x90)](),'sheetViewStartRow':_0x1d5535[_0x1156e2(0x89)],'sheetViewStartColumn':_0x1d5535[_0x1156e2(0x95)],'offsetX':0x0,'offsetY':0x0,'screenRatioX':-0x1/0x3,'screenRatioY':-0x1/0x3,'duration':0x12c});}}_0x207da9['FRange'][_0x1bb263(0xbb)](_0x36842e);class _0x2b9aa8 extends _0x9bea9c['FUniver']{['getLiveShareStatus'](){const _0x305cfe=_0x1bb263;var _0x6d9522,_0x2b258d;const _0x5f24ff=this['_injector'][_0x305cfe(0x9d)](_0x13b967[_0x305cfe(0x8b)]),_0x5c9965=(_0x6d9522=this[_0x305cfe(0xb7)]())==null?void 0x0:_0x6d9522['getId']();if(!_0x5c9965)throw new Error(_0x305cfe(0xb6));const _0x35e144=_0x5f24ff[_0x305cfe(0x9e)](_0x5c9965);return(_0x2b258d=_0x35e144==null?void 0x0:_0x35e144['getStatus']())!=null?_0x2b258d:_0x13b967[_0x305cfe(0xb2)]['IDLE'];}['startFollowing'](){const _0x18394e=_0x1bb263;var _0x3f2840;const _0x4ca6a3=this[_0x18394e(0x88)]['get'](_0x13b967[_0x18394e(0x8b)]),_0x169363=(_0x3f2840=this['getActiveWorkbook']())==null?void 0x0:_0x3f2840['getId']();if(!_0x169363)throw new Error(_0x18394e(0xb6));const _0x5219b2=_0x4ca6a3['getLiveShareCoordinatorSync'](_0x169363);if(!_0x5219b2)throw new Error(_0x18394e(0x8d));_0x5219b2[_0x18394e(0x97)]();}[_0x1bb263(0xb5)](){const _0x292b43=_0x1bb263;var _0x26f22a;const _0x2ddb38=this[_0x292b43(0x88)][_0x292b43(0x9d)](_0x13b967[_0x292b43(0x8b)]),_0x4da76e=(_0x26f22a=this['getActiveWorkbook']())==null?void 0x0:_0x26f22a['getId']();if(!_0x4da76e)throw new Error('No\x20active\x20workbook\x20found.');const _0x4c3db8=_0x2ddb38[_0x292b43(0x9e)](_0x4da76e);if(!_0x4c3db8)throw new Error(_0x292b43(0x8d));_0x4c3db8[_0x292b43(0xb5)]();}[_0x1bb263(0xa4)](){const _0x529b70=_0x1bb263;var _0x2a5e56;const _0x1ac740=this['_injector'][_0x529b70(0x9d)](_0x13b967[_0x529b70(0x8b)]),_0x560134=(_0x2a5e56=this['getActiveWorkbook']())==null?void 0x0:_0x2a5e56['getId']();if(!_0x560134)throw new Error('No\x20active\x20workbook\x20found.');const _0x4160d5=_0x1ac740['getLiveShareCoordinatorSync'](_0x560134);if(!_0x4160d5)throw new Error(_0x529b70(0x8d));_0x4160d5[_0x529b70(0xa7)]();}[_0x1bb263(0x8c)](){const _0x2b2a91=_0x1bb263;var _0x263387;const _0x292ab4=this[_0x2b2a91(0x88)][_0x2b2a91(0x9d)](_0x13b967[_0x2b2a91(0x8b)]),_0x272efb=(_0x263387=this[_0x2b2a91(0xb7)]())==null?void 0x0:_0x263387['getId']();if(!_0x272efb)throw new Error('No\x20active\x20workbook\x20found.');const _0x401914=_0x292ab4[_0x2b2a91(0x9e)](_0x272efb);if(!_0x401914)throw new Error('No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.');_0x401914['stopPresenting']();}}_0x9bea9c[_0x1bb263(0xac)]['extend'](_0x2b9aa8);class _0x2b8f9a extends _0x9bea9c[_0x1bb263(0xab)]{get[_0x1bb263(0x99)](){return _0x13b967['LiveShareStatus'];}}_0x9bea9c[_0x1bb263(0xab)][_0x1bb263(0xbb)](_0x2b8f9a);}));
1
+ (function(_0x59ac35,_0x193d18){const _0x539b41=_0x1a38,_0x36a813=_0x59ac35();while(!![]){try{const _0x1bd542=parseInt(_0x539b41(0x1e0))/0x1+-parseInt(_0x539b41(0x1dc))/0x2*(-parseInt(_0x539b41(0x1c5))/0x3)+-parseInt(_0x539b41(0x1f4))/0x4*(-parseInt(_0x539b41(0x1f0))/0x5)+-parseInt(_0x539b41(0x1cf))/0x6+parseInt(_0x539b41(0x1ec))/0x7*(-parseInt(_0x539b41(0x1ee))/0x8)+-parseInt(_0x539b41(0x1c9))/0x9*(parseInt(_0x539b41(0x1de))/0xa)+parseInt(_0x539b41(0x1c4))/0xb;if(_0x1bd542===_0x193d18)break;else _0x36a813['push'](_0x36a813['shift']());}catch(_0x2e197c){_0x36a813['push'](_0x36a813['shift']());}}}(_0x4b61,0x833fb),function(_0xf4b990,_0x39181d){const _0x3f8c24=_0x1a38;typeof exports==_0x3f8c24(0x1f6)&&typeof module<'u'?_0x39181d(require('@univerjs-pro/live-share'),require('@univerjs/engine-render'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade')):typeof define==_0x3f8c24(0x1d4)&&define[_0x3f8c24(0x1ed)]?define([_0x3f8c24(0x1f5),_0x3f8c24(0x1d5),_0x3f8c24(0x1cd),_0x3f8c24(0x1e6),'@univerjs/sheets/facade',_0x3f8c24(0x1d2)],_0x39181d):(_0xf4b990=typeof globalThis<'u'?globalThis:_0xf4b990||self,_0x39181d(_0xf4b990[_0x3f8c24(0x1cc)],_0xf4b990['UniverEngineRender'],_0xf4b990[_0x3f8c24(0x1e3)],_0xf4b990['UniverSheetsUi'],_0xf4b990['UniverSheetsFacade'],_0xf4b990[_0x3f8c24(0x1e1)]));}(this,function(_0x4e59df,_0x3cd12b,_0x2447d8,_0x4a8982,_0x4cb350,_0x1239e7){'use strict';const _0x14e708=_0x1a38;class _0x2f67f2 extends _0x4cb350[_0x14e708(0x1cb)]{[_0x14e708(0x1c6)](_0x12290a,_0x46865e,_0x52881a,_0x48bdd6,_0x5cddeb){const _0x151b06=_0x14e708,_0x10901b=_0x12290a['get'](_0x4e59df[_0x151b06(0x1c8)]),_0x1dc24a=_0x12290a[_0x151b06(0x1df)](_0x3cd12b[_0x151b06(0x1f2)]),_0x3620d4=_0x46865e[_0x151b06(0x1e9)](),_0x55c0a8=_0x46865e['getActiveSheet'](),_0x1941e7=_0x10901b[_0x151b06(0x1ce)](_0x3620d4);(_0x1941e7==null?void 0x0:_0x1941e7[_0x151b06(0x1d8)]())!==_0x4e59df[_0x151b06(0x1db)]['PRESENTING']||(_0x52881a[_0x151b06(0x1d3)]()!==_0x55c0a8[_0x151b06(0x1d3)]()&&this[_0x151b06(0x1dd)][_0x151b06(0x1e7)](_0x2447d8[_0x151b06(0x1d1)]['id'],{'unitId':_0x3620d4,'subUnitId':_0x52881a[_0x151b06(0x1d3)]()}),!_0x1dc24a[_0x151b06(0x1c3)](_0x3620d4))||_0x5cddeb[_0x151b06(0x1d9)](_0x4a8982['SetScrollOperation']['id'],{'unitId':_0x46865e[_0x151b06(0x1e9)](),'sheetId':_0x52881a[_0x151b06(0x1d3)](),'sheetViewStartRow':_0x48bdd6[_0x151b06(0x1e8)],'sheetViewStartColumn':_0x48bdd6['startColumn'],'offsetX':0x0,'offsetY':0x0,'screenRatioX':-0x1/0x3,'screenRatioY':-0x1/0x3,'duration':0x12c});}}_0x4cb350[_0x14e708(0x1cb)][_0x14e708(0x1ca)](_0x2f67f2);class _0x314cc7 extends _0x1239e7[_0x14e708(0x1f3)]{[_0x14e708(0x1c7)](){const _0x75fb75=_0x14e708;var _0x296d9c,_0x142d74;const _0x289f19=this[_0x75fb75(0x1f1)]['get'](_0x4e59df['LiveShareController']),_0x1e0278=(_0x296d9c=this[_0x75fb75(0x1e4)]())==null?void 0x0:_0x296d9c[_0x75fb75(0x1d6)]();if(!_0x1e0278)throw new Error('No\x20active\x20workbook\x20found.');const _0x46b35b=_0x289f19[_0x75fb75(0x1ce)](_0x1e0278);return(_0x142d74=_0x46b35b==null?void 0x0:_0x46b35b[_0x75fb75(0x1d8)]())!=null?_0x142d74:_0x4e59df[_0x75fb75(0x1db)][_0x75fb75(0x1e5)];}[_0x14e708(0x1ea)](){const _0x566be9=_0x14e708;var _0x2f9e9a;const _0x1fa64f=this[_0x566be9(0x1f1)]['get'](_0x4e59df[_0x566be9(0x1c8)]),_0x259926=(_0x2f9e9a=this['getActiveWorkbook']())==null?void 0x0:_0x2f9e9a['getId']();if(!_0x259926)throw new Error('No\x20active\x20workbook\x20found.');const _0xdc3b16=_0x1fa64f[_0x566be9(0x1ce)](_0x259926);if(!_0xdc3b16)throw new Error(_0x566be9(0x1f7));_0xdc3b16[_0x566be9(0x1ea)]();}[_0x14e708(0x1d7)](){const _0x590909=_0x14e708;var _0x32f3bc;const _0x42dfb6=this[_0x590909(0x1f1)]['get'](_0x4e59df[_0x590909(0x1c8)]),_0x57ee9d=(_0x32f3bc=this['getActiveWorkbook']())==null?void 0x0:_0x32f3bc['getId']();if(!_0x57ee9d)throw new Error(_0x590909(0x1eb));const _0x5839b4=_0x42dfb6[_0x590909(0x1ce)](_0x57ee9d);if(!_0x5839b4)throw new Error(_0x590909(0x1f7));_0x5839b4[_0x590909(0x1d7)]();}['startPresenting'](){const _0x5c05eb=_0x14e708;var _0x4a2687;const _0x5e3524=this[_0x5c05eb(0x1f1)]['get'](_0x4e59df[_0x5c05eb(0x1c8)]),_0x8a8638=(_0x4a2687=this[_0x5c05eb(0x1e4)]())==null?void 0x0:_0x4a2687[_0x5c05eb(0x1d6)]();if(!_0x8a8638)throw new Error('No\x20active\x20workbook\x20found.');const _0x437d08=_0x5e3524['getLiveShareCoordinatorSync'](_0x8a8638);if(!_0x437d08)throw new Error(_0x5c05eb(0x1f7));_0x437d08[_0x5c05eb(0x1d0)]();}[_0x14e708(0x1e2)](){const _0x546016=_0x14e708;var _0x54a325;const _0x280cab=this[_0x546016(0x1f1)][_0x546016(0x1df)](_0x4e59df[_0x546016(0x1c8)]),_0x1040ca=(_0x54a325=this[_0x546016(0x1e4)]())==null?void 0x0:_0x54a325[_0x546016(0x1d6)]();if(!_0x1040ca)throw new Error(_0x546016(0x1eb));const _0x267c67=_0x280cab['getLiveShareCoordinatorSync'](_0x1040ca);if(!_0x267c67)throw new Error(_0x546016(0x1f7));_0x267c67['stopPresenting']();}}_0x1239e7['FUniver'][_0x14e708(0x1ca)](_0x314cc7);class _0x12b96b extends _0x1239e7[_0x14e708(0x1ef)]{get[_0x14e708(0x1da)](){return _0x4e59df['LiveShareStatus'];}}_0x1239e7[_0x14e708(0x1ef)][_0x14e708(0x1ca)](_0x12b96b);}));function _0x1a38(_0x2c11c2,_0x44df6f){_0x2c11c2=_0x2c11c2-0x1c3;const _0x4b6191=_0x4b61();let _0x1a386f=_0x4b6191[_0x2c11c2];return _0x1a386f;}function _0x4b61(){const _0x129e9c=['function','@univerjs/engine-render','getId','stopFollowing','getStatus','syncExecuteCommand','LiveShareStatusEnum','LiveShareStatus','8TTrRoD','_commandService','23340oTodCC','get','1037251SJWrrJ','UniverCoreFacade','stopPresenting','UniverSheets','getActiveWorkbook','IDLE','@univerjs/sheets-ui','executeCommand','startRow','getUnitId','startFollowing','No\x20active\x20workbook\x20found.','91IIhaUt','amd','420568KfrdXn','FEnum','1060FFanls','_injector','IRenderManagerService','FUniver','14732sQwzwu','@univerjs-pro/live-share','object','No\x20LiveShareCoordinator\x20found\x20for\x20the\x20active\x20workbook.','getRenderById','7425484rXkyzc','360576XvaZEs','_initialize','getLiveShareStatus','LiveShareController','3006tgZzca','extend','FRange','UniverProLiveShare','@univerjs/sheets','getLiveShareCoordinatorSync','5839710cBbDib','tryStartPresenting','SetWorksheetActiveOperation','@univerjs/core/facade','getSheetId'];_0x4b61=function(){return _0x129e9c;};return _0x4b61();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1f1b(){const _0x3ea9eb=['currentColor','CollaborationEvent','complete','ICommandService','clear','getMemberID','615040SbQTVW','clsx','useRef','_init','LiveShareController','next','registerSharedOperation','Button','subscribe','PRESENTING','rxjs','amd','IConfigService','react','_entities','NEW_CHANGESETS','2abluJu','UNIVER_UNKNOWN','startFollowing','children','get','override','LIVESHARE_OPERATION','toDisposable','1641384aNtNYy','_startLiveShareCoordinator','substring','SetZoomRatioOperation','defineProperty','defs','createElement','CollaborationSessionService','unitId','executeCommand','object','_fetchOperations','getOwnPropertyDescriptor','registerDependencies','presenting','dispose$','Module','forwardRef','merge','391518uUqNZu','74915xxkutk','_commandService','mutations','Injector','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','current','_commandDisposable','attrs','_uiPartsService','_handleOnline','ONLINE','_stopPresenting','type','LIVESHARE_NEW_HOST','trim','init','UniverUi','_presenter','M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','_unitID','tryStartPresenting','send','has','BehaviorSubject','button','_sharedOperations','SAME_OPERATION_SHARE_INTERVAL','Subject','_reporters','random','_beIdle','@univerjs/design','add','Inject','getConfig','LIVESHARE_REQUEST_HOST','SetScrollOperation','44851PtqTBk','getCurrentTypeOfUnit$','live-share.config','_liveShareService','0\x200\x2017\x2017','disposeWithMe','120jAlrpA','params','@univerjs-pro/collaboration','pluginName','UNIVER_LIVE_SHARE_PLUGIN','data','length','RxDisposable','OFFLINE','dispose','Plugin','SessionStatus','mergeOverrideWithDependencies','SetWorksheetActiveOperation','@univerjs-pro/collaboration-client','IUniverInstanceService','status$','colorChannel1','getInitialStates','unsubscribe','IUIPartsService','_handleOperation','replace','not-following','Present\x20this\x20document','setConfig','connectInjector','stopFollowing','BuiltInUIPart','_handleNewChangeSets','offline','values','memberID','_handleOffline','_univerInstanceService','sheet','Disposable','_config','default','@univerjs/sheets-ui','_stopFollowing','string','xlink:href','jsx','UniverDesign','function','IDLE','entries','_collabSession','div','_configService','tag','UniverProCollaboration','mask','useEffect','presenter','idSuffix','1em','UniverInstanceType','UniverLiveSharePlugin','jsxs','displayName','LIVESHARE_TERMINATE','_handleNewHost','throttleTime','useDependency','NOT_FOLLOWING','univerjs-icon\x20univerjs-icon-','_collabSessionService','You\x27are\x20offline.','UniverSheets','_startFollowing','LIVESHARE_FETCH_OPERATIONS','Start','getStatus','none','http://www.w3.org/2000/svg','map','takeUntil','live-share-icon','univer-border-none\x20univer-text-gray-600\x20univer-outline-none','_status','toString','LiveShareCoordinator','UniverIcon','path','LiveShareStatus','set','@univerjs/core','getLiveShareCoordinator','Fragment','from','find','touchDependencies','_mountLiveShare','shouldShareOperation','OPERATION','stringify','includes','evenodd','defIds','UNIVER_SHEET','event$','105YxWEJr','FOLLOWING','url(#$1','following','sessionStatus$','getLiveShareCoordinatorSync','registerInitialStateReporter','Dropdown','UniverProCollaborationClient','symbol','_status$','onRendered','UniverCollaborationClientPlugin','delete','fill','getUnitId','requireSession','idle','forEach','101376ToqWEa','react/jsx-runtime','Stop\x20presenting','useState','end','stopPresenting','univer-size-4','getTypeOfUnitAdded$','operations','DesktopLiveShareController','rxjs/operators','2405976KiDGzD','pipe','_injector','getTypeOfUnitDisposed$','univer-mb-3\x20univer-w-full\x20univer-text-sm','_handleTerminate','parse'];_0x1f1b=function(){return _0x3ea9eb;};return _0x1f1b();}function _0x59c0(_0x5838ab,_0x552b87){_0x5838ab=_0x5838ab-0x177;const _0x1f1ba7=_0x1f1b();let _0x59c0f4=_0x1f1ba7[_0x5838ab];return _0x59c0f4;}(function(_0x3ed9d5,_0x379d24){const _0x21ef92=_0x59c0,_0x518997=_0x3ed9d5();while(!![]){try{const _0x1aae25=parseInt(_0x21ef92(0x1e5))/0x1*(parseInt(_0x21ef92(0x1a3))/0x2)+parseInt(_0x21ef92(0x186))/0x3+-parseInt(_0x21ef92(0x1eb))/0x4*(parseInt(_0x21ef92(0x1bf))/0x5)+-parseInt(_0x21ef92(0x17b))/0x6*(parseInt(_0x21ef92(0x252))/0x7)+parseInt(_0x21ef92(0x1ab))/0x8+parseInt(_0x21ef92(0x1be))/0x9+parseInt(_0x21ef92(0x193))/0xa;if(_0x1aae25===_0x379d24)break;else _0x518997['push'](_0x518997['shift']());}catch(_0x279bce){_0x518997['push'](_0x518997['shift']());}}}(_0x1f1b,0x6edcc),function(_0x1e84a9,_0x1d21d1){const _0x2922b5=_0x59c0;typeof exports==_0x2922b5(0x1b5)&&typeof module<'u'?_0x1d21d1(exports,require('@univerjs/core'),require('@univerjs/ui'),require('react/jsx-runtime'),require('@univerjs/design'),require('react'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x2922b5(0x218)&&define[_0x2922b5(0x19e)]?define(['exports',_0x2922b5(0x243),'@univerjs/ui',_0x2922b5(0x17c),_0x2922b5(0x1df),_0x2922b5(0x1a0),_0x2922b5(0x1ed),_0x2922b5(0x1f9),'@univerjs/sheets','rxjs',_0x2922b5(0x185),_0x2922b5(0x212)],_0x1d21d1):(_0x1e84a9=typeof globalThis<'u'?globalThis:_0x1e84a9||self,_0x1d21d1(_0x1e84a9['UniverProLiveShare']={},_0x1e84a9['UniverCore'],_0x1e84a9[_0x2922b5(0x1d0)],_0x1e84a9['React'],_0x1e84a9[_0x2922b5(0x217)],_0x1e84a9['React'],_0x1e84a9[_0x2922b5(0x21f)],_0x1e84a9[_0x2922b5(0x25a)],_0x1e84a9[_0x2922b5(0x231)],_0x1e84a9['rxjs'],_0x1e84a9[_0x2922b5(0x19d)]['operators'],_0x1e84a9['UniverSheetsUi']));}(this,function(_0x3f8dd7,_0x5de346,_0xbe2261,_0x3f7f80,_0x467f51,_0x56f208,_0x23135f,_0x9963ee,_0x224e4b,_0x2feeac,_0x10b0ec,_0x17684d){'use strict';const _0x3f4303=_0x59c0;var _0x235610=Object[_0x3f4303(0x1af)],_0x3adf7c=(_0x707d67,_0x476bbc,_0x3af2a2)=>_0x476bbc in _0x707d67?_0x235610(_0x707d67,_0x476bbc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3af2a2}):_0x707d67[_0x476bbc]=_0x3af2a2,_0x267f59=(_0x485e13,_0x2699f3,_0x4b4b2c)=>_0x3adf7c(_0x485e13,typeof _0x2699f3!=_0x3f4303(0x25b)?_0x2699f3+'':_0x2699f3,_0x4b4b2c);function _0x2bb265({ref:_0x5dd360,..._0x1d3bba}){const _0x44450f=_0x3f4303,{icon:_0x6ffec8,id:_0x464444,className:_0x2b5319,extend:_0x3ea3c0,..._0x48f605}=_0x1d3bba,_0x4c4ae6=(_0x44450f(0x22e)+_0x464444+'\x20'+(_0x2b5319||''))[_0x44450f(0x1ce)](),_0x292230=_0x56f208[_0x44450f(0x195)]('_'+_0x52bedf());return _0x5bdb7c(_0x6ffec8,''+_0x464444,{'defIds':_0x6ffec8[_0x44450f(0x24f)],'idSuffix':_0x292230[_0x44450f(0x1c5)]},{'ref':_0x5dd360,'className':_0x4c4ae6,..._0x48f605},_0x3ea3c0);}function _0x5bdb7c(_0x3cf796,_0x1a7f17,_0x1074e7,_0x4b3076,_0x156dda){const _0x1398ba=_0x3f4303;return _0x56f208[_0x1398ba(0x1b1)](_0x3cf796[_0x1398ba(0x21e)],{'key':_0x1a7f17,..._0x5b37e7(_0x3cf796,_0x1074e7,_0x156dda),..._0x4b3076},(_0x5af350(_0x3cf796,_0x1074e7)[_0x1398ba(0x1a6)]||[])['map']((_0x492f04,_0x4f5a89)=>_0x5bdb7c(_0x492f04,_0x1a7f17+'-'+_0x3cf796[_0x1398ba(0x21e)]+'-'+_0x4f5a89,_0x1074e7,void 0x0,_0x156dda)));}function _0x5b37e7(_0x112d6c,_0x296487,_0x5889da){const _0x1dda17=_0x3f4303,_0x13e531={..._0x112d6c[_0x1dda17(0x1c7)]};_0x5889da!=null&&_0x5889da[_0x1dda17(0x1fc)]&&_0x13e531[_0x1dda17(0x260)]==='colorChannel1'&&(_0x13e531[_0x1dda17(0x260)]=_0x5889da['colorChannel1']),_0x112d6c[_0x1dda17(0x21e)]===_0x1dda17(0x220)&&_0x13e531['id']&&(_0x13e531['id']=_0x13e531['id']+_0x296487['idSuffix']),Object['entries'](_0x13e531)[_0x1dda17(0x17a)](([_0x581763,_0x41fd74])=>{const _0xf11d08=_0x1dda17;_0x581763===_0xf11d08(0x220)&&typeof _0x41fd74=='string'&&(_0x13e531[_0x581763]=_0x41fd74['replace'](/url\(#(.*)\)/,_0xf11d08(0x254)+_0x296487[_0xf11d08(0x223)]+')'));});const {defIds:_0x3f9ec4}=_0x296487;return!_0x3f9ec4||_0x3f9ec4[_0x1dda17(0x1f1)]===0x0||(_0x112d6c[_0x1dda17(0x21e)]==='use'&&_0x13e531[_0x1dda17(0x215)]&&(_0x13e531['xlink:href']=_0x13e531['xlink:href']+_0x296487['idSuffix']),Object[_0x1dda17(0x21a)](_0x13e531)[_0x1dda17(0x17a)](([_0x31d5e2,_0x596293])=>{const _0x2659ff=_0x1dda17;typeof _0x596293==_0x2659ff(0x214)&&(_0x13e531[_0x31d5e2]=_0x596293[_0x2659ff(0x201)](/url\(#(.*)\)/,_0x2659ff(0x254)+_0x296487['idSuffix']+')'));})),_0x13e531;}function _0x5af350(_0x41ef2e,_0x259943){const _0x4efaad=_0x3f4303;var _0x4e8873;const {defIds:_0x3b6fea}=_0x259943;return!_0x3b6fea||_0x3b6fea['length']===0x0?_0x41ef2e:_0x41ef2e[_0x4efaad(0x21e)]===_0x4efaad(0x1b0)&&((_0x4e8873=_0x41ef2e[_0x4efaad(0x1a6)])!=null&&_0x4e8873[_0x4efaad(0x1f1)])?{..._0x41ef2e,'children':_0x41ef2e['children']['map'](_0x2ae1cb=>typeof _0x2ae1cb['attrs']['id']==_0x4efaad(0x214)&&_0x3b6fea&&_0x3b6fea[_0x4efaad(0x24d)](_0x2ae1cb[_0x4efaad(0x1c7)]['id'])?{..._0x2ae1cb,'attrs':{..._0x2ae1cb['attrs'],'id':_0x2ae1cb[_0x4efaad(0x1c7)]['id']+_0x259943[_0x4efaad(0x223)]}}:_0x2ae1cb)}:_0x41ef2e;}function _0x52bedf(){const _0xae57e7=_0x3f4303;return Math[_0xae57e7(0x1dd)]()[_0xae57e7(0x23d)](0x24)[_0xae57e7(0x1ad)](0x2,0x8);}_0x2bb265[_0x3f4303(0x228)]=_0x3f4303(0x23f);const _0x5cdc3c={'tag':'svg','attrs':{'xmlns':_0x3f4303(0x237),'fill':_0x3f4303(0x236),'viewBox':_0x3f4303(0x1e9),'width':_0x3f4303(0x224),'height':_0x3f4303(0x224)},'children':[{'tag':_0x3f4303(0x240),'attrs':{'fill':_0x3f4303(0x18d),'d':_0x3f4303(0x1c3)}},{'tag':_0x3f4303(0x240),'attrs':{'fill':_0x3f4303(0x18d),'d':_0x3f4303(0x1d2),'fillRule':'evenodd','clipRule':_0x3f4303(0x24e)}}]},_0x39d085=_0x56f208[_0x3f4303(0x1bc)](function(_0x508a09,_0x3b54d2){const _0x2c799e=_0x3f4303;return _0x56f208[_0x2c799e(0x1b1)](_0x2bb265,Object['assign']({},_0x508a09,{'id':_0x2c799e(0x23a),'ref':_0x3b54d2,'icon':_0x5cdc3c}));});_0x39d085[_0x3f4303(0x228)]='LiveShareIcon';class _0x43e8b2 extends _0x5de346[_0x3f4303(0x20f)]{constructor(){const _0x258716=_0x3f4303;super(...arguments),_0x267f59(this,_0x258716(0x1d9),new Set()),_0x267f59(this,_0x258716(0x1dc),new Set());}[_0x3f4303(0x199)](_0x5008e2){const _0x4abf70=_0x3f4303;return this[_0x4abf70(0x1d9)][_0x4abf70(0x1e0)](_0x5008e2),_0x5de346[_0x4abf70(0x1aa)](()=>this['_sharedOperations'][_0x4abf70(0x25f)](_0x5008e2));}[_0x3f4303(0x258)](_0x37bd8b){const _0x459c26=_0x3f4303;return this['_reporters'][_0x459c26(0x1e0)](_0x37bd8b),_0x5de346[_0x459c26(0x1aa)](()=>this[_0x459c26(0x1dc)]['delete'](_0x37bd8b));}[_0x3f4303(0x24a)](_0x5bf8ff){const _0x4b2628=_0x3f4303;return this[_0x4b2628(0x1d9)][_0x4b2628(0x1d6)](_0x5bf8ff);}[_0x3f4303(0x1fd)](_0x8c9f08){const _0x20ce65=_0x3f4303;return Array[_0x20ce65(0x246)](this['_reporters'])[_0x20ce65(0x238)](_0x26455b=>_0x26455b(_0x8c9f08));}}var _0x28b623=Object[_0x3f4303(0x1b7)],_0x39e6df=(_0x4d6338,_0x5d5fb0,_0x5b5573,_0x588972)=>{const _0x53ee65=_0x3f4303;for(var _0xfc7fb3=_0x588972>0x1?void 0x0:_0x588972?_0x28b623(_0x5d5fb0,_0x5b5573):_0x5d5fb0,_0x59c9dd=_0x4d6338[_0x53ee65(0x1f1)]-0x1,_0x4e51e5;_0x59c9dd>=0x0;_0x59c9dd--)(_0x4e51e5=_0x4d6338[_0x59c9dd])&&(_0xfc7fb3=_0x4e51e5(_0xfc7fb3)||_0xfc7fb3);return _0xfc7fb3;},_0x350ce=(_0x206985,_0x3cc43c)=>(_0x504cd9,_0x3156a9)=>_0x3cc43c(_0x504cd9,_0x3156a9,_0x206985);_0x3f8dd7[_0x3f4303(0x197)]=class extends _0x5de346[_0x3f4303(0x1f2)]{constructor(_0x1a2a68,_0x217f25,_0xe79c05){const _0x59a3ef=_0x3f4303;super(),_0x267f59(this,_0x59a3ef(0x1a1),new Map()),(this[_0x59a3ef(0x20d)]=_0x1a2a68,this[_0x59a3ef(0x188)]=_0x217f25,this['_collabSessionService']=_0xe79c05,this[_0x59a3ef(0x196)]());}async[_0x3f4303(0x244)](_0x4777d3){const _0x4ff69c=_0x3f4303;return this[_0x4ff69c(0x1a1)][_0x4ff69c(0x1d6)](_0x4777d3)||await this['_startLiveShareCoordinator'](_0x4777d3),this[_0x4ff69c(0x1a1)][_0x4ff69c(0x1a7)](_0x4777d3);}[_0x3f4303(0x257)](_0x901d48){const _0x29378f=_0x3f4303;var _0x46ecdb;return(_0x46ecdb=this[_0x29378f(0x1a1)][_0x29378f(0x1a7)](_0x901d48))!=null?_0x46ecdb:null;}[_0x3f4303(0x196)](){const _0x1aa3a3=_0x3f4303;this[_0x1aa3a3(0x20d)][_0x1aa3a3(0x182)](_0x5de346[_0x1aa3a3(0x225)][_0x1aa3a3(0x250)])[_0x1aa3a3(0x187)](_0x10b0ec[_0x1aa3a3(0x239)](this['dispose$']))[_0x1aa3a3(0x19b)](async _0x1c4462=>{const _0x32858d=_0x1aa3a3,_0x4fe4b9=_0x1c4462[_0x32858d(0x177)]();this['_entities'][_0x32858d(0x1d6)](_0x4fe4b9)||this['_startLiveShareCoordinator'](_0x4fe4b9);}),this['_univerInstanceService'][_0x1aa3a3(0x189)](_0x5de346[_0x1aa3a3(0x225)][_0x1aa3a3(0x250)])[_0x1aa3a3(0x187)](_0x10b0ec[_0x1aa3a3(0x239)](this[_0x1aa3a3(0x1ba)]))['subscribe'](_0x4d33c5=>{const _0x23247c=_0x1aa3a3,_0x33a073=_0x4d33c5[_0x23247c(0x177)](),_0x3f2477=this[_0x23247c(0x1a1)][_0x23247c(0x1a7)](_0x33a073);_0x3f2477==null||_0x3f2477['dispose']();});}async[_0x3f4303(0x1ac)](_0x248998){const _0x329497=_0x3f4303,_0x556757=await this[_0x329497(0x22f)][_0x329497(0x178)](_0x248998),_0x51e701=this[_0x329497(0x188)]['createInstance'](_0x3f8dd7['LiveShareCoordinator'],_0x248998,_0x556757);return _0x51e701['init'](),this[_0x329497(0x1a1)][_0x329497(0x242)](_0x248998,_0x51e701),_0x51e701;}},_0x3f8dd7[_0x3f4303(0x197)]=_0x39e6df([_0x350ce(0x0,_0x5de346[_0x3f4303(0x1fa)]),_0x350ce(0x1,_0x5de346[_0x3f4303(0x1e1)](_0x5de346['Injector'])),_0x350ce(0x2,_0x5de346[_0x3f4303(0x1e1)](_0x9963ee[_0x3f4303(0x1b2)]))],_0x3f8dd7[_0x3f4303(0x197)]);var _0x24db46=(_0x12d578=>(_0x12d578[_0x3f4303(0x1f3)]=_0x3f4303(0x209),_0x12d578[_0x3f4303(0x219)]=_0x3f4303(0x179),_0x12d578['FOLLOWING']=_0x3f4303(0x255),_0x12d578[_0x3f4303(0x22d)]=_0x3f4303(0x202),_0x12d578[_0x3f4303(0x19c)]=_0x3f4303(0x1b9),_0x12d578))(_0x24db46||{});const _0x302ce9=_0x3f4303(0x1da),_0x3b589e=0xc8;_0x3f8dd7[_0x3f4303(0x23e)]=class extends _0x5de346[_0x3f4303(0x1f2)]{constructor(_0x6f88f9,_0x20210b,_0x28a52b,_0x422c0b,_0x36184b){const _0x37585c=_0x3f4303;super(),_0x267f59(this,_0x37585c(0x25c),new _0x2feeac[(_0x37585c(0x1d7))](_0x37585c(0x179))),_0x267f59(this,_0x37585c(0x1fb),this[_0x37585c(0x25c)]['asObservable']()),_0x267f59(this,_0x37585c(0x196),!0x1),_0x267f59(this,'_commandDisposable',null),_0x267f59(this,'_presenter',null),(this['_unitID']=_0x6f88f9,this[_0x37585c(0x21b)]=_0x20210b,this['_configService']=_0x28a52b,this['_liveShareService']=_0x422c0b,this['_commandService']=_0x36184b);}get[_0x3f4303(0x23c)](){const _0x4e5395=_0x3f4303;return this[_0x4e5395(0x25c)]['getValue']();}[_0x3f4303(0x1f4)](){const _0x4f8334=_0x3f4303;var _0x30b8c3;(_0x30b8c3=this['_commandDisposable'])==null||_0x30b8c3[_0x4f8334(0x1f4)](),this[_0x4f8334(0x25c)][_0x4f8334(0x198)](_0x4f8334(0x179)),this[_0x4f8334(0x25c)][_0x4f8334(0x18f)]();}[_0x3f4303(0x235)](){const _0x358763=_0x3f4303;return this[_0x358763(0x23c)];}[_0x3f4303(0x1cf)](){const _0x4e5ffb=_0x3f4303;this[_0x4e5ffb(0x196)]||(this[_0x4e5ffb(0x196)]=!0x0,this[_0x4e5ffb(0x21b)][_0x4e5ffb(0x256)][_0x4e5ffb(0x187)](_0x10b0ec[_0x4e5ffb(0x239)](this['dispose$']))[_0x4e5ffb(0x19b)](_0x4d57e3=>{const _0x4d6c94=_0x4e5ffb;switch(_0x4d57e3){case _0x9963ee['SessionStatus'][_0x4d6c94(0x1f3)]:this[_0x4d6c94(0x20c)]();break;case _0x9963ee[_0x4d6c94(0x1f6)][_0x4d6c94(0x1ca)]:this[_0x4d6c94(0x1c9)]();break;}}),this[_0x4e5ffb(0x21b)][_0x4e5ffb(0x251)][_0x4e5ffb(0x187)](_0x10b0ec[_0x4e5ffb(0x239)](this[_0x4e5ffb(0x1ba)]))['subscribe'](_0x4a366e=>{const _0x43b011=_0x4e5ffb,{eventID:_0x417bac}=_0x4a366e;switch(_0x417bac){case _0x23135f[_0x43b011(0x18e)][_0x43b011(0x1cd)]:this['_handleNewHost'](_0x4a366e);break;case _0x23135f[_0x43b011(0x18e)][_0x43b011(0x1a9)]:this[_0x43b011(0x200)](_0x4a366e);break;case _0x23135f[_0x43b011(0x18e)][_0x43b011(0x229)]:this[_0x43b011(0x18b)]();break;case _0x23135f[_0x43b011(0x18e)][_0x43b011(0x1a2)]:this[_0x43b011(0x208)](_0x4a366e);break;}}));}['tryStartPresenting'](){const _0x4cdfad=_0x3f4303;this[_0x4cdfad(0x21b)][_0x4cdfad(0x1d5)]({'eventID':_0x23135f['CollaborationEvent'][_0x4cdfad(0x1e3)],'data':{'unitID':this[_0x4cdfad(0x1d3)],'userID':this[_0x4cdfad(0x21b)][_0x4cdfad(0x192)]()}},this[_0x4cdfad(0x1d3)]);}[_0x3f4303(0x180)](){const _0x388091=_0x3f4303;this[_0x388091(0x23c)]===_0x388091(0x1b9)&&(this[_0x388091(0x25c)][_0x388091(0x198)](_0x388091(0x179)),this[_0x388091(0x21b)][_0x388091(0x1d5)]({'eventID':_0x23135f[_0x388091(0x18e)][_0x388091(0x229)],'data':{'unitID':this['_unitID']}},this[_0x388091(0x1d3)]));}[_0x3f4303(0x1a5)](){const _0x12f9a6=_0x3f4303;this[_0x12f9a6(0x23c)]===_0x12f9a6(0x202)&&(this[_0x12f9a6(0x25c)][_0x12f9a6(0x198)](_0x12f9a6(0x255)),this[_0x12f9a6(0x232)]());}['stopFollowing'](){const _0x1e301a=_0x3f4303;this[_0x1e301a(0x23c)]===_0x1e301a(0x255)&&this[_0x1e301a(0x213)]();}[_0x3f4303(0x22a)](_0x4d208e){const _0x40d6e0=_0x3f4303,{presenter:_0x102e2d}=_0x4d208e[_0x40d6e0(0x1f0)],_0x2a8775=this[_0x40d6e0(0x21b)][_0x40d6e0(0x192)]();this[_0x40d6e0(0x1d1)]=_0x102e2d,_0x102e2d===_0x2a8775?(this[_0x40d6e0(0x213)](),this['_startPresenting']()):this['_status']!==_0x40d6e0(0x202)&&(this[_0x40d6e0(0x1cb)](),this[_0x40d6e0(0x232)]());}[_0x3f4303(0x1b6)](){const _0x335034=_0x3f4303,_0x367b29={'eventID':_0x23135f[_0x335034(0x18e)][_0x335034(0x233)]};this[_0x335034(0x21b)][_0x335034(0x1d5)](_0x367b29,this['_unitID']);}[_0x3f4303(0x18b)](){const _0x4723b7=_0x3f4303;this[_0x4723b7(0x1d1)]=null,this['_status']!==_0x4723b7(0x1b9)&&this[_0x4723b7(0x1de)]();}[_0x3f4303(0x208)](_0x264e5c){const _0x21a053=_0x3f4303;if(this[_0x21a053(0x23c)]===_0x21a053(0x255)&&this[_0x21a053(0x1d1)]===_0x264e5c['data'][_0x21a053(0x20b)]){const _0x46cd3e=_0x23135f['parseProtocolChangeset'](_0x264e5c[_0x21a053(0x1f0)])[_0x21a053(0x1c1)]['reverse']()[_0x21a053(0x247)](_0x28e944=>_0x28e944['id']===_0x224e4b['InsertSheetMutation']['id']);if(_0x46cd3e){const _0x435069=_0x46cd3e[_0x21a053(0x1ec)][_0x21a053(0x1b3)],_0x397c95=_0x46cd3e[_0x21a053(0x1ec)][_0x21a053(0x20e)]['id'];setTimeout(()=>{const _0xaf18e1=_0x21a053;this[_0xaf18e1(0x1c0)]['executeCommand'](_0x224e4b['SetWorksheetActiveOperation']['id'],{'unitId':_0x435069,'subUnitId':_0x397c95},{'fromCollab':!0x0});});}}}['_startPresenting'](){const _0x389adb=_0x3f4303;this['_status$'][_0x389adb(0x198)](_0x389adb(0x1b9));const _0x52495d=new Map(),_0x256121=this[_0x389adb(0x1c6)]=new _0x5de346['DisposableCollection']();_0x256121[_0x389adb(0x1e0)](_0x5de346['toDisposable'](()=>{const _0x270912=_0x389adb;_0x52495d[_0x270912(0x17a)](_0x4b8f87=>_0x4b8f87[_0x270912(0x18f)]()),_0x52495d[_0x270912(0x191)]();})),_0x256121[_0x389adb(0x1e0)](this[_0x389adb(0x1c0)]['onCommandExecuted'](_0x208704=>{const _0x160183=_0x389adb;var _0x578915;if(_0x208704[_0x160183(0x1cc)]!==_0x5de346['CommandType'][_0x160183(0x24b)]||!this[_0x160183(0x1e8)][_0x160183(0x24a)](_0x208704['id']))return;const {id:_0x4248b7}=_0x208704;let _0x61c2b;_0x52495d[_0x160183(0x1d6)](_0x4248b7)?_0x61c2b=_0x52495d[_0x160183(0x1a7)](_0x4248b7):(_0x61c2b=new _0x2feeac[(_0x160183(0x1db))](),_0x52495d[_0x160183(0x242)](_0x4248b7,_0x61c2b),_0x61c2b[_0x160183(0x187)](_0x10b0ec[_0x160183(0x22b)]((_0x578915=this['_configService'][_0x160183(0x1e2)](_0x302ce9))!=null?_0x578915:_0x3b589e,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x160183(0x19b)](_0x103762=>{const _0x59b137=_0x160183;this['_collabSession'][_0x59b137(0x1d5)]({'eventID':_0x23135f[_0x59b137(0x18e)][_0x59b137(0x1a9)],'data':{'unitID':this[_0x59b137(0x1d3)],'operations':{[_0x103762['id']]:{'id':_0x103762['id'],'params':JSON[_0x59b137(0x24c)](_0x103762[_0x59b137(0x1ec)])}}}},this[_0x59b137(0x1d3)]);})),_0x61c2b[_0x160183(0x198)](_0x208704);})),this['_liveShareService']['getInitialStates'](this['_unitID'])[_0x389adb(0x17a)](_0x5c28d4=>this[_0x389adb(0x21b)][_0x389adb(0x1d5)]({'eventID':_0x23135f[_0x389adb(0x18e)]['LIVESHARE_OPERATION'],'data':{'unitID':this[_0x389adb(0x1d3)],'operations':{[_0x5c28d4['id']]:{'id':_0x5c28d4['id'],'params':JSON['stringify'](_0x5c28d4[_0x389adb(0x1ec)])}}}},this['_unitID']));}[_0x3f4303(0x1cb)](){const _0x2d8ae8=_0x3f4303;var _0x13349e;this[_0x2d8ae8(0x25c)]['next'](_0x2d8ae8(0x179)),(_0x13349e=this[_0x2d8ae8(0x1c6)])==null||_0x13349e[_0x2d8ae8(0x1f4)](),this[_0x2d8ae8(0x1c6)]=null;}[_0x3f4303(0x232)](){const _0x1cca07=_0x3f4303;var _0x5d706c;(_0x5d706c=this[_0x1cca07(0x1c6)])==null||_0x5d706c[_0x1cca07(0x1f4)](),this[_0x1cca07(0x25c)][_0x1cca07(0x198)](_0x1cca07(0x255));}['_beIdle'](){const _0x3d148c=_0x3f4303;var _0x736443;this[_0x3d148c(0x25c)][_0x3d148c(0x198)](_0x3d148c(0x179)),(_0x736443=this[_0x3d148c(0x1c6)])==null||_0x736443[_0x3d148c(0x1f4)](),this[_0x3d148c(0x1c6)]=null;}[_0x3f4303(0x213)](){const _0x5f5bb0=_0x3f4303;var _0x5b2ae1;this[_0x5f5bb0(0x25c)]['next'](_0x5f5bb0(0x202)),(_0x5b2ae1=this[_0x5f5bb0(0x1c6)])==null||_0x5b2ae1['dispose']();}[_0x3f4303(0x200)](_0x477102){const _0x579ada=_0x3f4303;if([_0x579ada(0x1b9),_0x579ada(0x202),'offline']['includes'](this['_status'])||!_0x477102[_0x579ada(0x1f0)][_0x579ada(0x222)]||_0x477102[_0x579ada(0x1f0)]['presenter']===this[_0x579ada(0x21b)][_0x579ada(0x192)]())return;this[_0x579ada(0x23c)]==='idle'&&this[_0x579ada(0x232)]();const _0x112d6a=_0x477102['data'][_0x579ada(0x183)];Object[_0x579ada(0x20a)](_0x112d6a)[_0x579ada(0x17a)](_0x4dd16b=>{const _0x317f8b=_0x579ada;this['_commandService'][_0x317f8b(0x1b4)](_0x4dd16b['id'],_0x4dd16b[_0x317f8b(0x1ec)]?JSON[_0x317f8b(0x18c)](_0x4dd16b['params']):null,{'fromCollab':!0x0});});}['_handleOffline'](){const _0x1ee2e0=_0x3f4303;var _0x33d54d;this['_status$']['next']('offline'),(_0x33d54d=this[_0x1ee2e0(0x1c6)])==null||_0x33d54d[_0x1ee2e0(0x1f4)]();}['_handleOnline'](){const _0x4b5832=_0x3f4303;this[_0x4b5832(0x25c)][_0x4b5832(0x198)](_0x4b5832(0x179)),this[_0x4b5832(0x1b6)]();}},_0x3f8dd7['LiveShareCoordinator']=_0x39e6df([_0x350ce(0x2,_0x5de346[_0x3f4303(0x19f)]),_0x350ce(0x3,_0x5de346[_0x3f4303(0x1e1)](_0x43e8b2)),_0x350ce(0x4,_0x5de346[_0x3f4303(0x190)])],_0x3f8dd7[_0x3f4303(0x23e)]);function _0x2a2c96(){const _0x304df6=_0x3f4303,_0x34950c=_0xbe2261[_0x304df6(0x22c)](_0x3f8dd7['LiveShareController']),_0x208a4f=_0xbe2261[_0x304df6(0x22c)](_0x5de346[_0x304df6(0x1fa)]),_0xfc84ca=_0xbe2261['useObservable'](()=>_0x208a4f[_0x304df6(0x1e6)](_0x5de346[_0x304df6(0x225)][_0x304df6(0x250)]),void 0x0,!0x1,[]),[_0x556de0,_0x234593]=_0x56f208['useState'](null),[_0x42b71b,_0x21af2d]=_0x56f208[_0x304df6(0x17e)](_0x24db46[_0x304df6(0x219)]),_0x51050c=_0x56f208[_0x304df6(0x195)](null);return _0x56f208[_0x304df6(0x221)](()=>(_0xfc84ca&&_0x34950c[_0x304df6(0x244)](_0xfc84ca[_0x304df6(0x177)]())['then'](_0x442218=>{const _0x54e05b=_0x304df6;_0x234593(_0x442218),_0x51050c[_0x54e05b(0x1c5)]=_0x442218['status$']['subscribe'](_0x455630=>{_0x21af2d(_0x455630);});}),()=>{const _0x42d764=_0x304df6;var _0x2af371;(_0x2af371=_0x51050c['current'])==null||_0x2af371[_0x42d764(0x1fe)](),_0x51050c[_0x42d764(0x1c5)]=null;}),[_0xfc84ca,_0x34950c]),_0x556de0?_0x3f7f80[_0x304df6(0x216)](_0x467f51[_0x304df6(0x259)],{'align':_0x304df6(0x17f),'disabled':_0x42b71b===_0x24db46[_0x304df6(0x1f3)],'className':_0x304df6(0x1c4),'overlay':_0x3f7f80[_0x304df6(0x216)](_0x44477f,{'status':_0x42b71b,'coordinator':_0x556de0}),'children':_0x3f7f80['jsx'](_0x304df6(0x1d8),{'className':_0x467f51[_0x304df6(0x194)](_0x304df6(0x23b),{'univer-cursor-not-allowed':_0x42b71b===_0x24db46[_0x304df6(0x1f3)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x42b71b!==_0x24db46[_0x304df6(0x1f3)]}),'type':_0x304df6(0x1d8),'children':_0x3f7f80[_0x304df6(0x216)](_0x39d085,{'className':_0x304df6(0x181)})})}):null;}function _0x44477f(_0x54b0de){const _0x12fdbf=_0x3f4303,{status:_0x2d9470,coordinator:_0x5d3b4a}=_0x54b0de;switch(_0x2d9470){case _0x24db46[_0x12fdbf(0x219)]:return _0x3f7f80['jsx'](_0x1da275,{'coordinator':_0x5d3b4a});case _0x24db46[_0x12fdbf(0x253)]:return _0x3f7f80[_0x12fdbf(0x216)](_0x58802b,{'coordinator':_0x5d3b4a});case _0x24db46[_0x12fdbf(0x22d)]:return _0x3f7f80[_0x12fdbf(0x216)](_0xfaa881,{'coordinator':_0x5d3b4a});case _0x24db46['OFFLINE']:return _0x3f7f80['jsx'](_0x10b327,{});case _0x24db46[_0x12fdbf(0x19c)]:return _0x3f7f80[_0x12fdbf(0x216)](_0x255283,{'coordinator':_0x5d3b4a});default:return null;}}function _0x1da275(_0x5d95bf){const _0x4f2e30=_0x3f4303,{coordinator:_0x2ff481}=_0x5d95bf;return _0x3f7f80[_0x4f2e30(0x227)](_0x3f7f80[_0x4f2e30(0x245)],{'children':[_0x3f7f80[_0x4f2e30(0x216)](_0x4f2e30(0x21c),{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':_0x4f2e30(0x203)}),_0x3f7f80[_0x4f2e30(0x216)](_0x467f51[_0x4f2e30(0x19a)],{'onClick':()=>_0x2ff481[_0x4f2e30(0x1d4)](),'children':_0x4f2e30(0x234)})]});}function _0x58802b(_0x22dc8e){const _0x4730ef=_0x3f4303,{coordinator:_0x38a83f}=_0x22dc8e;return _0x3f7f80[_0x4730ef(0x227)](_0x3f7f80[_0x4730ef(0x245)],{'children':[_0x3f7f80['jsx'](_0x4730ef(0x21c),{'className':_0x4730ef(0x18a),'children':'You\x27re\x20following\x20the\x20presenter'}),_0x3f7f80[_0x4730ef(0x216)](_0x467f51[_0x4730ef(0x19a)],{'onClick':()=>_0x38a83f[_0x4730ef(0x206)](),'children':'Stop\x20following'})]});}function _0xfaa881(_0x4b29a2){const _0x892d41=_0x3f4303,{coordinator:_0x43302d}=_0x4b29a2;return _0x3f7f80[_0x892d41(0x227)](_0x3f7f80[_0x892d41(0x245)],{'children':[_0x3f7f80[_0x892d41(0x216)](_0x892d41(0x21c),{'className':'univer-mb-3\x20univer-w-full\x20univer-text-sm','children':'You\x27re\x20not\x20following\x20the\x20presenter'}),_0x3f7f80['jsx'](_0x467f51[_0x892d41(0x19a)],{'variant':'text','onClick':()=>_0x43302d['startFollowing'](),'children':'Start\x20following'})]});}function _0x255283(_0x254491){const _0x11cc1f=_0x3f4303,{coordinator:_0x3c4f54}=_0x254491;return _0x3f7f80[_0x11cc1f(0x227)](_0x3f7f80[_0x11cc1f(0x245)],{'children':[_0x3f7f80[_0x11cc1f(0x216)](_0x11cc1f(0x21c),{'className':_0x11cc1f(0x18a),'children':'You\x27re\x20presenting\x20the\x20document'}),_0x3f7f80[_0x11cc1f(0x216)](_0x467f51[_0x11cc1f(0x19a)],{'variant':_0x11cc1f(0x211),'onClick':()=>_0x3c4f54[_0x11cc1f(0x180)](),'children':_0x11cc1f(0x17d)})]});}function _0x10b327(){const _0x4133e5=_0x3f4303;return _0x3f7f80[_0x4133e5(0x216)](_0x3f7f80[_0x4133e5(0x245)],{'children':_0x4133e5(0x230)});}var _0x10ff0f=Object[_0x3f4303(0x1b7)],_0x5244af=(_0x3c755b,_0x363e74,_0x8e1e06,_0x309115)=>{for(var _0xf49dee=_0x309115>0x1?void 0x0:_0x309115?_0x10ff0f(_0x363e74,_0x8e1e06):_0x363e74,_0x434a23=_0x3c755b['length']-0x1,_0x15cb85;_0x434a23>=0x0;_0x434a23--)(_0x15cb85=_0x3c755b[_0x434a23])&&(_0xf49dee=_0x15cb85(_0xf49dee)||_0xf49dee);return _0xf49dee;},_0x3b87ec=(_0x28ca9a,_0x2d21bb)=>(_0x40f1b4,_0x25bb8e)=>_0x2d21bb(_0x40f1b4,_0x25bb8e,_0x28ca9a);_0x3f8dd7[_0x3f4303(0x184)]=class extends _0x5de346[_0x3f4303(0x20f)]{constructor(_0x25dd94,_0x5823db){const _0x2818d2=_0x3f4303;super(),this[_0x2818d2(0x188)]=_0x25dd94,this['_uiPartsService']=_0x5823db,this[_0x2818d2(0x249)]();}[_0x3f4303(0x249)](){const _0x32146c=_0x3f4303;this[_0x32146c(0x1ea)](this[_0x32146c(0x1c8)]['registerComponent'](_0xbe2261[_0x32146c(0x207)]['HEADER_MENU'],()=>_0xbe2261[_0x32146c(0x205)](_0x2a2c96,this['_injector'])));}},_0x3f8dd7[_0x3f4303(0x184)]=_0x5244af([_0x3b87ec(0x0,_0x5de346[_0x3f4303(0x1e1)](_0x5de346[_0x3f4303(0x1c2)])),_0x3b87ec(0x1,_0xbe2261[_0x3f4303(0x1ff)])],_0x3f8dd7['DesktopLiveShareController']);const _0x194ddf=_0x3f4303(0x1e7),_0xac0da3={};var _0x4b507f=Object['getOwnPropertyDescriptor'],_0x5e9702=(_0x586511,_0x130437,_0x17be1c,_0x8bc752)=>{const _0x360a36=_0x3f4303;for(var _0x4dabe7=_0x8bc752>0x1?void 0x0:_0x8bc752?_0x4b507f(_0x130437,_0x17be1c):_0x130437,_0x5db9b3=_0x586511[_0x360a36(0x1f1)]-0x1,_0x3200d6;_0x5db9b3>=0x0;_0x5db9b3--)(_0x3200d6=_0x586511[_0x5db9b3])&&(_0x4dabe7=_0x3200d6(_0x4dabe7)||_0x4dabe7);return _0x4dabe7;},_0xb7bf7c=(_0x3127a1,_0x76eb9f)=>(_0x371ba5,_0x410ea8)=>_0x76eb9f(_0x371ba5,_0x410ea8,_0x3127a1);let _0x278664=class extends _0x5de346[_0x3f4303(0x20f)]{constructor(_0x33036b){const _0x2cbba5=_0x3f4303;super(),this[_0x2cbba5(0x1e8)]=_0x33036b,this[_0x2cbba5(0x196)]();}[_0x3f4303(0x196)](){const _0x12cd71=_0x3f4303;[_0x17684d[_0x12cd71(0x1ae)]['id'],_0x17684d[_0x12cd71(0x1e4)]['id'],_0x224e4b[_0x12cd71(0x1f8)]['id']][_0x12cd71(0x17a)](_0x43edb8=>{const _0x47df84=_0x12cd71;this[_0x47df84(0x1ea)](this[_0x47df84(0x1e8)][_0x47df84(0x199)](_0x43edb8));});}};_0x278664=_0x5e9702([_0xb7bf7c(0x0,_0x5de346[_0x3f4303(0x1e1)](_0x43e8b2))],_0x278664);var _0x3a8d55=Object[_0x3f4303(0x1af)],_0x4b4aa7=Object[_0x3f4303(0x1b7)],_0x98e340=(_0x4d6d63,_0x2e7469,_0xa42616)=>_0x2e7469 in _0x4d6d63?_0x3a8d55(_0x4d6d63,_0x2e7469,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa42616}):_0x4d6d63[_0x2e7469]=_0xa42616,_0x12e2b4=(_0x29b03c,_0x11c14b,_0x324bfa,_0x58afa9)=>{const _0x34839a=_0x3f4303;for(var _0x3b0ab1=_0x58afa9>0x1?void 0x0:_0x58afa9?_0x4b4aa7(_0x11c14b,_0x324bfa):_0x11c14b,_0x2c10ac=_0x29b03c[_0x34839a(0x1f1)]-0x1,_0x62953;_0x2c10ac>=0x0;_0x2c10ac--)(_0x62953=_0x29b03c[_0x2c10ac])&&(_0x3b0ab1=_0x62953(_0x3b0ab1)||_0x3b0ab1);return _0x3b0ab1;},_0x3e8d8a=(_0x3a38a5,_0x31734e)=>(_0x1d1330,_0x554f5d)=>_0x31734e(_0x1d1330,_0x554f5d,_0x3a38a5),_0x1f456a=(_0x7a145,_0x197c73,_0x3e6ae7)=>_0x98e340(_0x7a145,typeof _0x197c73!=_0x3f4303(0x25b)?_0x197c73+'':_0x197c73,_0x3e6ae7);const _0x13ef6c=_0x3f4303(0x1ef);_0x3f8dd7[_0x3f4303(0x226)]=class extends _0x5de346[_0x3f4303(0x1f5)]{constructor(_0x4219d1=_0xac0da3,_0x4f2ed5,_0x47fff6){const _0x14baa7=_0x3f4303;super(),this[_0x14baa7(0x210)]=_0x4219d1,this[_0x14baa7(0x188)]=_0x4f2ed5,this[_0x14baa7(0x21d)]=_0x47fff6;const {..._0x35bfa5}=_0x5de346[_0x14baa7(0x1bd)]({},_0xac0da3,this[_0x14baa7(0x210)]);this['_configService'][_0x14baa7(0x204)](_0x194ddf,_0x35bfa5);}['onStarting'](){const _0x46fae9=_0x3f4303;_0x5de346[_0x46fae9(0x1b8)](this[_0x46fae9(0x188)],_0x5de346[_0x46fae9(0x1f7)]([[_0x43e8b2],[_0x3f8dd7[_0x46fae9(0x197)]],[_0x278664],[_0x3f8dd7[_0x46fae9(0x184)]]],this[_0x46fae9(0x210)][_0x46fae9(0x1a8)])),_0x5de346['touchDependencies'](this[_0x46fae9(0x188)],[[_0x278664]]);}[_0x3f4303(0x25d)](){const _0xb9a5be=_0x3f4303;_0x5de346[_0xb9a5be(0x248)](this[_0xb9a5be(0x188)],[[_0x3f8dd7[_0xb9a5be(0x184)]]]);}},_0x1f456a(_0x3f8dd7[_0x3f4303(0x226)],_0x3f4303(0x1cc),_0x5de346[_0x3f4303(0x225)][_0x3f4303(0x1a4)]),_0x1f456a(_0x3f8dd7[_0x3f4303(0x226)],_0x3f4303(0x1ee),_0x13ef6c),_0x3f8dd7['UniverLiveSharePlugin']=_0x12e2b4([_0x5de346['DependentOn'](_0x9963ee[_0x3f4303(0x25e)]),_0x3e8d8a(0x1,_0x5de346[_0x3f4303(0x1e1)](_0x5de346['Injector'])),_0x3e8d8a(0x2,_0x5de346[_0x3f4303(0x19f)])],_0x3f8dd7['UniverLiveSharePlugin']),_0x3f8dd7['LiveShare']=_0x2a2c96,_0x3f8dd7['LiveShareService']=_0x43e8b2,_0x3f8dd7[_0x3f4303(0x241)]=_0x24db46,Object[_0x3f4303(0x1af)](_0x3f8dd7,Symbol['toStringTag'],{'value':_0x3f4303(0x1bb)});}));
1
+ function _0x4722(_0xa27757,_0x4025b4){_0xa27757=_0xa27757-0xac;const _0x1c77e5=_0x1c77();let _0x472281=_0x1c77e5[_0xa27757];return _0x472281;}(function(_0x585eeb,_0x2507cc){const _0x41d347=_0x4722,_0x248676=_0x585eeb();while(!![]){try{const _0x4dc5de=parseInt(_0x41d347(0x138))/0x1*(-parseInt(_0x41d347(0x109))/0x2)+parseInt(_0x41d347(0x17c))/0x3+parseInt(_0x41d347(0xb8))/0x4+parseInt(_0x41d347(0x11a))/0x5*(-parseInt(_0x41d347(0xfa))/0x6)+-parseInt(_0x41d347(0x186))/0x7*(-parseInt(_0x41d347(0xe9))/0x8)+parseInt(_0x41d347(0x178))/0x9*(-parseInt(_0x41d347(0xc1))/0xa)+-parseInt(_0x41d347(0x146))/0xb*(-parseInt(_0x41d347(0x128))/0xc);if(_0x4dc5de===_0x2507cc)break;else _0x248676['push'](_0x248676['shift']());}catch(_0x3d5fab){_0x248676['push'](_0x248676['shift']());}}}(_0x1c77,0x7fb0c),function(_0x56d792,_0x1d6aa5){const _0x5048b8=_0x4722;typeof exports==_0x5048b8(0x171)&&typeof module<'u'?_0x1d6aa5(exports,require('@univerjs/core'),require('@univerjs/ui'),require('react/jsx-runtime'),require('@univerjs/design'),require('react'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x5048b8(0x189)]?define([_0x5048b8(0xe6),_0x5048b8(0x191),_0x5048b8(0x139),_0x5048b8(0x183),_0x5048b8(0x145),_0x5048b8(0x152),_0x5048b8(0xcc),_0x5048b8(0x144),'@univerjs/sheets',_0x5048b8(0x16b),_0x5048b8(0xb1),'@univerjs/sheets-ui'],_0x1d6aa5):(_0x56d792=typeof globalThis<'u'?globalThis:_0x56d792||self,_0x1d6aa5(_0x56d792[_0x5048b8(0x143)]={},_0x56d792['UniverCore'],_0x56d792[_0x5048b8(0x137)],_0x56d792[_0x5048b8(0x153)],_0x56d792['UniverDesign'],_0x56d792[_0x5048b8(0x153)],_0x56d792[_0x5048b8(0x17e)],_0x56d792['UniverProCollaborationClient'],_0x56d792['UniverSheets'],_0x56d792[_0x5048b8(0x16b)],_0x56d792[_0x5048b8(0x16b)][_0x5048b8(0x147)],_0x56d792[_0x5048b8(0x129)]));}(this,function(_0x5c670c,_0x28cd17,_0x34f791,_0x454e0b,_0x573b10,_0x1d34a9,_0x139ad0,_0x1f93cf,_0x2c6fb4,_0x565fda,_0x43d446,_0x4d26ff){'use strict';const _0x28afe1=_0x4722;var _0x166d0a=Object['defineProperty'],_0x333076=(_0x1671b4,_0x537b54,_0x37a661)=>_0x537b54 in _0x1671b4?_0x166d0a(_0x1671b4,_0x537b54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37a661}):_0x1671b4[_0x537b54]=_0x37a661,_0x486061=(_0x2f0974,_0x2c4a6a,_0x2e37e8)=>_0x333076(_0x2f0974,typeof _0x2c4a6a!=_0x28afe1(0x151)?_0x2c4a6a+'':_0x2c4a6a,_0x2e37e8);function _0x365e6e({ref:_0x185037,..._0x4624df}){const _0x329919=_0x28afe1,{icon:_0x290dce,id:_0x5b0bb7,className:_0x1efb0d,extend:_0x54568a,..._0x35b692}=_0x4624df,_0x195d3a=('univerjs-icon\x20univerjs-icon-'+_0x5b0bb7+'\x20'+(_0x1efb0d||''))[_0x329919(0x169)](),_0x4588f6=_0x1d34a9['useRef']('_'+_0x3a4de0());return _0x2bae16(_0x290dce,''+_0x5b0bb7,{'defIds':_0x290dce[_0x329919(0x13d)],'idSuffix':_0x4588f6[_0x329919(0xdd)]},{'ref':_0x185037,'className':_0x195d3a,..._0x35b692},_0x54568a);}function _0x2bae16(_0x11f39e,_0x38c4da,_0x2f54c1,_0x4da880,_0x247009){const _0xc11945=_0x28afe1;return _0x1d34a9[_0xc11945(0x18c)](_0x11f39e[_0xc11945(0xb6)],{'key':_0x38c4da,..._0x5b6624(_0x11f39e,_0x2f54c1,_0x247009),..._0x4da880},(_0x1326fb(_0x11f39e,_0x2f54c1)[_0xc11945(0x142)]||[])['map']((_0x43457a,_0x490039)=>_0x2bae16(_0x43457a,_0x38c4da+'-'+_0x11f39e[_0xc11945(0xb6)]+'-'+_0x490039,_0x2f54c1,void 0x0,_0x247009)));}function _0x5b6624(_0x24a42d,_0x5a4e21,_0x1f4835){const _0x3dc6e5=_0x28afe1,_0xc83911={..._0x24a42d[_0x3dc6e5(0x10a)]};_0x1f4835!=null&&_0x1f4835[_0x3dc6e5(0x177)]&&_0xc83911[_0x3dc6e5(0x135)]===_0x3dc6e5(0x177)&&(_0xc83911[_0x3dc6e5(0x135)]=_0x1f4835[_0x3dc6e5(0x177)]),_0x24a42d['tag']===_0x3dc6e5(0x14d)&&_0xc83911['id']&&(_0xc83911['id']=_0xc83911['id']+_0x5a4e21[_0x3dc6e5(0x179)]),Object[_0x3dc6e5(0xb7)](_0xc83911)[_0x3dc6e5(0xdc)](([_0xfdc89e,_0x5341b2])=>{const _0x2c6f31=_0x3dc6e5;_0xfdc89e===_0x2c6f31(0x14d)&&typeof _0x5341b2==_0x2c6f31(0x18e)&&(_0xc83911[_0xfdc89e]=_0x5341b2[_0x2c6f31(0xe7)](/url\(#(.*)\)/,_0x2c6f31(0x160)+_0x5a4e21['idSuffix']+')'));});const {defIds:_0x590b3a}=_0x5a4e21;return!_0x590b3a||_0x590b3a[_0x3dc6e5(0xf3)]===0x0||(_0x24a42d[_0x3dc6e5(0xb6)]==='use'&&_0xc83911['xlink:href']&&(_0xc83911['xlink:href']=_0xc83911[_0x3dc6e5(0xfb)]+_0x5a4e21[_0x3dc6e5(0x179)]),Object['entries'](_0xc83911)[_0x3dc6e5(0xdc)](([_0x259147,_0x5f57a5])=>{const _0x3d9e06=_0x3dc6e5;typeof _0x5f57a5==_0x3d9e06(0x18e)&&(_0xc83911[_0x259147]=_0x5f57a5[_0x3d9e06(0xe7)](/url\(#(.*)\)/,_0x3d9e06(0x160)+_0x5a4e21[_0x3d9e06(0x179)]+')'));})),_0xc83911;}function _0x1326fb(_0x2d7fa4,_0x1621f5){const _0x226772=_0x28afe1;var _0x1a35fd;const {defIds:_0x114810}=_0x1621f5;return!_0x114810||_0x114810['length']===0x0?_0x2d7fa4:_0x2d7fa4['tag']===_0x226772(0x168)&&((_0x1a35fd=_0x2d7fa4[_0x226772(0x142)])!=null&&_0x1a35fd[_0x226772(0xf3)])?{..._0x2d7fa4,'children':_0x2d7fa4[_0x226772(0x142)]['map'](_0x37c8cf=>typeof _0x37c8cf[_0x226772(0x10a)]['id']==_0x226772(0x18e)&&_0x114810&&_0x114810[_0x226772(0xc0)](_0x37c8cf[_0x226772(0x10a)]['id'])?{..._0x37c8cf,'attrs':{..._0x37c8cf[_0x226772(0x10a)],'id':_0x37c8cf[_0x226772(0x10a)]['id']+_0x1621f5[_0x226772(0x179)]}}:_0x37c8cf)}:_0x2d7fa4;}function _0x3a4de0(){const _0x243d36=_0x28afe1;return Math[_0x243d36(0xcd)]()['toString'](0x24)[_0x243d36(0x141)](0x2,0x8);}_0x365e6e['displayName']='UniverIcon';const _0x239ca7={'tag':'svg','attrs':{'xmlns':_0x28afe1(0x102),'fill':'none','viewBox':_0x28afe1(0xe2),'width':_0x28afe1(0x16d),'height':'1em'},'children':[{'tag':_0x28afe1(0xf6),'attrs':{'fill':_0x28afe1(0xea),'d':_0x28afe1(0x118)}},{'tag':_0x28afe1(0xf6),'attrs':{'fill':_0x28afe1(0xea),'d':'M1.98682\x202.73096C1.98682\x202.17867\x202.43457\x201.73096\x202.98682\x201.73096H14.9868C15.5391\x201.73096\x2015.9868\x202.17867\x2015.9868\x202.73096V9.90105C15.9868\x2010.4533\x2015.5391\x2010.901\x2014.9868\x2010.901H9.62183V13.5577H12.9868C13.3375\x2013.5577\x2013.6218\x2013.842\x2013.6218\x2014.1927C13.6218\x2014.5434\x2013.3375\x2014.8277\x2012.9868\x2014.8277H4.98682C4.63611\x2014.8277\x204.35181\x2014.5434\x204.35181\x2014.1927C4.35181\x2013.842\x204.63611\x2013.5577\x204.98682\x2013.5577H8.35181V10.901H2.98682C2.43457\x2010.901\x201.98682\x2010.4533\x201.98682\x209.90105V2.73096ZM3.25684\x209.63106V3.00095H14.7168V9.63106H3.25684Z','fillRule':_0x28afe1(0x132),'clipRule':'evenodd'}}]},_0xc68c30=_0x1d34a9[_0x28afe1(0xdf)](function(_0x3d6c9b,_0x4c18f0){const _0x35d57f=_0x28afe1;return _0x1d34a9[_0x35d57f(0x18c)](_0x365e6e,Object['assign']({},_0x3d6c9b,{'id':'live-share-icon','ref':_0x4c18f0,'icon':_0x239ca7}));});_0xc68c30['displayName']=_0x28afe1(0x136);class _0x16b4e6 extends _0x28cd17[_0x28afe1(0x122)]{constructor(){const _0x2d52ae=_0x28afe1;super(...arguments),_0x486061(this,_0x2d52ae(0xec),new Set()),_0x486061(this,_0x2d52ae(0x162),new Set());}[_0x28afe1(0x170)](_0x59a2ce){const _0x22bfe6=_0x28afe1;return this[_0x22bfe6(0xec)][_0x22bfe6(0xf5)](_0x59a2ce),_0x28cd17['toDisposable'](()=>this[_0x22bfe6(0xec)]['delete'](_0x59a2ce));}[_0x28afe1(0x115)](_0x5b9ae8){const _0x44735e=_0x28afe1;return this[_0x44735e(0x162)][_0x44735e(0xf5)](_0x5b9ae8),_0x28cd17[_0x44735e(0x175)](()=>this[_0x44735e(0x162)][_0x44735e(0x120)](_0x5b9ae8));}[_0x28afe1(0x15d)](_0x55b4a9){const _0x4ddeec=_0x28afe1;return this[_0x4ddeec(0xec)][_0x4ddeec(0x14e)](_0x55b4a9);}[_0x28afe1(0x18f)](_0x3ddbd1){const _0x1a361a=_0x28afe1;return Array[_0x1a361a(0xb2)](this[_0x1a361a(0x162)])[_0x1a361a(0x16e)](_0xe1bf82=>_0xe1bf82(_0x3ddbd1));}}var _0xbb86c9=Object['getOwnPropertyDescriptor'],_0x1ba6b5=(_0x2f1ffe,_0x5be0f9,_0x3dad15,_0x56ffe3)=>{const _0x805362=_0x28afe1;for(var _0xc5a90=_0x56ffe3>0x1?void 0x0:_0x56ffe3?_0xbb86c9(_0x5be0f9,_0x3dad15):_0x5be0f9,_0x2e0ead=_0x2f1ffe[_0x805362(0xf3)]-0x1,_0x34f2fa;_0x2e0ead>=0x0;_0x2e0ead--)(_0x34f2fa=_0x2f1ffe[_0x2e0ead])&&(_0xc5a90=_0x34f2fa(_0xc5a90)||_0xc5a90);return _0xc5a90;},_0x480b5b=(_0x538bf1,_0x20ac4d)=>(_0x57ba8b,_0x1cbc76)=>_0x20ac4d(_0x57ba8b,_0x1cbc76,_0x538bf1);_0x5c670c[_0x28afe1(0x11f)]=class extends _0x28cd17[_0x28afe1(0x188)]{constructor(_0x5802ee,_0x41a5c8,_0x5a477f){const _0x4d7b91=_0x28afe1;super(),_0x486061(this,'_entities',new Map()),(this[_0x4d7b91(0x14b)]=_0x5802ee,this['_injector']=_0x41a5c8,this[_0x4d7b91(0x149)]=_0x5a477f,this[_0x4d7b91(0xe4)]());}async[_0x28afe1(0x15a)](_0x351e70){const _0x30db84=_0x28afe1;return this['_entities']['has'](_0x351e70)||await this['_startLiveShareCoordinator'](_0x351e70),this[_0x30db84(0xe8)][_0x30db84(0xde)](_0x351e70);}['getLiveShareCoordinatorSync'](_0x444b5c){const _0x21148b=_0x28afe1;var _0xd3a965;return(_0xd3a965=this['_entities'][_0x21148b(0xde)](_0x444b5c))!=null?_0xd3a965:null;}['_init'](){const _0x542527=_0x28afe1;this[_0x542527(0x14b)][_0x542527(0x14c)](_0x28cd17[_0x542527(0xca)][_0x542527(0x104)])['pipe'](_0x43d446['takeUntil'](this[_0x542527(0xda)]))[_0x542527(0x121)](async _0x192bdf=>{const _0x84d15a=_0x542527,_0x5ad033=_0x192bdf[_0x84d15a(0xbe)]();this['_entities'][_0x84d15a(0x14e)](_0x5ad033)||this[_0x84d15a(0x172)](_0x5ad033);}),this['_univerInstanceService'][_0x542527(0x140)](_0x28cd17[_0x542527(0xca)]['UNIVER_SHEET'])['pipe'](_0x43d446[_0x542527(0xd4)](this['dispose$']))[_0x542527(0x121)](_0x153fde=>{const _0x116b08=_0x542527,_0x9b7a02=_0x153fde[_0x116b08(0xbe)](),_0x3eaa6f=this[_0x116b08(0xe8)][_0x116b08(0xde)](_0x9b7a02);_0x3eaa6f==null||_0x3eaa6f[_0x116b08(0x12d)]();});}async[_0x28afe1(0x172)](_0x6c96ba){const _0x1d18a9=_0x28afe1,_0x50425c=await this['_collabSessionService'][_0x1d18a9(0x13f)](_0x6c96ba),_0x4be5c0=this[_0x1d18a9(0x13b)]['createInstance'](_0x5c670c[_0x1d18a9(0x156)],_0x6c96ba,_0x50425c);return _0x4be5c0[_0x1d18a9(0x18a)](),this[_0x1d18a9(0xe8)][_0x1d18a9(0xcf)](_0x6c96ba,_0x4be5c0),_0x4be5c0;}},_0x5c670c[_0x28afe1(0x11f)]=_0x1ba6b5([_0x480b5b(0x0,_0x28cd17['IUniverInstanceService']),_0x480b5b(0x1,_0x28cd17[_0x28afe1(0x10d)](_0x28cd17['Injector'])),_0x480b5b(0x2,_0x28cd17[_0x28afe1(0x10d)](_0x1f93cf[_0x28afe1(0x13c)]))],_0x5c670c[_0x28afe1(0x11f)]);var _0x1c6cec=(_0x9e36ab=>(_0x9e36ab[_0x28afe1(0xf8)]=_0x28afe1(0xaf),_0x9e36ab[_0x28afe1(0xd3)]=_0x28afe1(0xd9),_0x9e36ab[_0x28afe1(0xce)]=_0x28afe1(0xe1),_0x9e36ab['NOT_FOLLOWING']='not-following',_0x9e36ab[_0x28afe1(0x14a)]=_0x28afe1(0xee),_0x9e36ab))(_0x1c6cec||{});const _0x1c389d=_0x28afe1(0x106),_0x25d6c9=0xc8;_0x5c670c[_0x28afe1(0x156)]=class extends _0x28cd17[_0x28afe1(0x188)]{constructor(_0x3242d2,_0x3be370,_0x5bc493,_0x47fe15,_0x4cb150){const _0x1ccc92=_0x28afe1;super(),_0x486061(this,_0x1ccc92(0x150),new _0x565fda['BehaviorSubject'](_0x1ccc92(0xd9))),_0x486061(this,_0x1ccc92(0x190),this[_0x1ccc92(0x150)][_0x1ccc92(0x134)]()),_0x486061(this,_0x1ccc92(0xe4),!0x1),_0x486061(this,_0x1ccc92(0x12e),null),_0x486061(this,_0x1ccc92(0xc9),null),(this['_unitID']=_0x3242d2,this[_0x1ccc92(0xb4)]=_0x3be370,this[_0x1ccc92(0xd8)]=_0x5bc493,this[_0x1ccc92(0x114)]=_0x47fe15,this[_0x1ccc92(0x12f)]=_0x4cb150);}get['_status'](){const _0x1eebd3=_0x28afe1;return this[_0x1eebd3(0x150)]['getValue']();}[_0x28afe1(0x12d)](){const _0x3043a0=_0x28afe1;var _0xc63c0e;(_0xc63c0e=this[_0x3043a0(0x12e)])==null||_0xc63c0e[_0x3043a0(0x12d)](),this[_0x3043a0(0x150)][_0x3043a0(0x173)](_0x3043a0(0xd9)),this[_0x3043a0(0x150)]['complete']();}[_0x28afe1(0xe5)](){const _0x2fbfb3=_0x28afe1;return this[_0x2fbfb3(0xbd)];}[_0x28afe1(0x18a)](){const _0x5d733f=_0x28afe1;this[_0x5d733f(0xe4)]||(this[_0x5d733f(0xe4)]=!0x0,this['_collabSession'][_0x5d733f(0x103)]['pipe'](_0x43d446['takeUntil'](this[_0x5d733f(0xda)]))[_0x5d733f(0x121)](_0x15e05d=>{const _0xcfe2d7=_0x5d733f;switch(_0x15e05d){case _0x1f93cf[_0xcfe2d7(0x18d)][_0xcfe2d7(0xf8)]:this[_0xcfe2d7(0xae)]();break;case _0x1f93cf[_0xcfe2d7(0x18d)][_0xcfe2d7(0xfe)]:this[_0xcfe2d7(0xb5)]();break;}}),this[_0x5d733f(0xb4)][_0x5d733f(0x10f)]['pipe'](_0x43d446[_0x5d733f(0xd4)](this[_0x5d733f(0xda)]))[_0x5d733f(0x121)](_0x218b3e=>{const _0xe4c085=_0x5d733f,{eventID:_0x443a56}=_0x218b3e;switch(_0x443a56){case _0x139ad0[_0xe4c085(0x15c)][_0xe4c085(0x148)]:this[_0xe4c085(0x126)](_0x218b3e);break;case _0x139ad0['CollaborationEvent']['LIVESHARE_OPERATION']:this[_0xe4c085(0x163)](_0x218b3e);break;case _0x139ad0[_0xe4c085(0x15c)][_0xe4c085(0xf0)]:this[_0xe4c085(0x131)]();break;case _0x139ad0[_0xe4c085(0x15c)][_0xe4c085(0xc3)]:this['_handleNewChangeSets'](_0x218b3e);break;}}));}['tryStartPresenting'](){const _0x13a4de=_0x28afe1;this['_collabSession'][_0x13a4de(0xc5)]({'eventID':_0x139ad0[_0x13a4de(0x15c)][_0x13a4de(0x180)],'data':{'unitID':this[_0x13a4de(0xeb)],'userID':this['_collabSession'][_0x13a4de(0x112)]()}},this[_0x13a4de(0xeb)]);}[_0x28afe1(0x155)](){const _0x34e562=_0x28afe1;this[_0x34e562(0xbd)]===_0x34e562(0xee)&&(this['_status$'][_0x34e562(0x173)](_0x34e562(0xd9)),this[_0x34e562(0xb4)][_0x34e562(0xc5)]({'eventID':_0x139ad0[_0x34e562(0x15c)][_0x34e562(0xf0)],'data':{'unitID':this[_0x34e562(0xeb)]}},this[_0x34e562(0xeb)]));}[_0x28afe1(0xf2)](){const _0x27aa9e=_0x28afe1;this[_0x27aa9e(0xbd)]===_0x27aa9e(0xc2)&&(this[_0x27aa9e(0x150)][_0x27aa9e(0x173)](_0x27aa9e(0xe1)),this[_0x27aa9e(0x17d)]());}[_0x28afe1(0xf4)](){const _0x3d9204=_0x28afe1;this[_0x3d9204(0xbd)]==='following'&&this['_stopFollowing']();}[_0x28afe1(0x126)](_0x2ec35a){const _0x2f306b=_0x28afe1,{presenter:_0x36e14f}=_0x2ec35a[_0x2f306b(0x12b)],_0x38a7c9=this['_collabSession'][_0x2f306b(0x112)]();this[_0x2f306b(0xc9)]=_0x36e14f,_0x36e14f===_0x38a7c9?(this[_0x2f306b(0xc8)](),this['_startPresenting']()):this[_0x2f306b(0xbd)]!==_0x2f306b(0xc2)&&(this['_stopPresenting'](),this[_0x2f306b(0x17d)]());}[_0x28afe1(0x16a)](){const _0x872b5=_0x28afe1,_0x301de4={'eventID':_0x139ad0[_0x872b5(0x15c)][_0x872b5(0x176)]};this[_0x872b5(0xb4)][_0x872b5(0xc5)](_0x301de4,this['_unitID']);}[_0x28afe1(0x131)](){const _0x3f0871=_0x28afe1;this[_0x3f0871(0xc9)]=null,this[_0x3f0871(0xbd)]!==_0x3f0871(0xee)&&this[_0x3f0871(0xe0)]();}['_handleNewChangeSets'](_0x12d8b9){const _0x67620b=_0x28afe1;if(this[_0x67620b(0xbd)]==='following'&&this[_0x67620b(0xc9)]===_0x12d8b9['data']['memberID']){const _0x592a94=_0x139ad0['parseProtocolChangeset'](_0x12d8b9[_0x67620b(0x12b)])[_0x67620b(0xb3)][_0x67620b(0x133)]()['find'](_0x52cdf1=>_0x52cdf1['id']===_0x2c6fb4[_0x67620b(0x11d)]['id']);if(_0x592a94){const _0x5d60ae=_0x592a94[_0x67620b(0xd6)][_0x67620b(0xed)],_0x5aede7=_0x592a94['params'][_0x67620b(0x159)]['id'];setTimeout(()=>{const _0x5d06ab=_0x67620b;this[_0x5d06ab(0x12f)][_0x5d06ab(0x16f)](_0x2c6fb4[_0x5d06ab(0x185)]['id'],{'unitId':_0x5d60ae,'subUnitId':_0x5aede7},{'fromCollab':!0x0});});}}}[_0x28afe1(0xfc)](){const _0x682f50=_0x28afe1;this['_status$'][_0x682f50(0x173)]('presenting');const _0x238d6e=new Map(),_0x4cfd52=this[_0x682f50(0x12e)]=new _0x28cd17[(_0x682f50(0xf9))]();_0x4cfd52[_0x682f50(0xf5)](_0x28cd17[_0x682f50(0x175)](()=>{const _0x11544b=_0x682f50;_0x238d6e[_0x11544b(0xdc)](_0x465b79=>_0x465b79[_0x11544b(0xc7)]()),_0x238d6e[_0x11544b(0x158)]();})),_0x4cfd52[_0x682f50(0xf5)](this[_0x682f50(0x12f)]['onCommandExecuted'](_0x452b82=>{const _0x4cc680=_0x682f50;var _0x5aee9f;if(_0x452b82[_0x4cc680(0x107)]!==_0x28cd17[_0x4cc680(0x182)][_0x4cc680(0x13a)]||!this[_0x4cc680(0x114)][_0x4cc680(0x15d)](_0x452b82['id']))return;const {id:_0x3621d5}=_0x452b82;let _0x19f8fb;_0x238d6e[_0x4cc680(0x14e)](_0x3621d5)?_0x19f8fb=_0x238d6e[_0x4cc680(0xde)](_0x3621d5):(_0x19f8fb=new _0x565fda[(_0x4cc680(0xbb))](),_0x238d6e['set'](_0x3621d5,_0x19f8fb),_0x19f8fb['pipe'](_0x43d446['throttleTime']((_0x5aee9f=this['_configService'][_0x4cc680(0x154)](_0x1c389d))!=null?_0x5aee9f:_0x25d6c9,void 0x0,{'trailing':!0x0,'leading':!0x0}))[_0x4cc680(0x121)](_0x5754eb=>{const _0x11de8e=_0x4cc680;this[_0x11de8e(0xb4)]['send']({'eventID':_0x139ad0[_0x11de8e(0x15c)][_0x11de8e(0x110)],'data':{'unitID':this[_0x11de8e(0xeb)],'operations':{[_0x5754eb['id']]:{'id':_0x5754eb['id'],'params':JSON[_0x11de8e(0x10b)](_0x5754eb[_0x11de8e(0xd6)])}}}},this[_0x11de8e(0xeb)]);})),_0x19f8fb[_0x4cc680(0x173)](_0x452b82);})),this[_0x682f50(0x114)][_0x682f50(0x18f)](this[_0x682f50(0xeb)])[_0x682f50(0xdc)](_0x4327b0=>this[_0x682f50(0xb4)][_0x682f50(0xc5)]({'eventID':_0x139ad0[_0x682f50(0x15c)][_0x682f50(0x110)],'data':{'unitID':this[_0x682f50(0xeb)],'operations':{[_0x4327b0['id']]:{'id':_0x4327b0['id'],'params':JSON['stringify'](_0x4327b0['params'])}}}},this['_unitID']));}['_stopPresenting'](){const _0x1f19de=_0x28afe1;var _0x4221e2;this[_0x1f19de(0x150)][_0x1f19de(0x173)](_0x1f19de(0xd9)),(_0x4221e2=this[_0x1f19de(0x12e)])==null||_0x4221e2[_0x1f19de(0x12d)](),this[_0x1f19de(0x12e)]=null;}['_startFollowing'](){const _0x501033=_0x28afe1;var _0x6438a;(_0x6438a=this[_0x501033(0x12e)])==null||_0x6438a['dispose'](),this[_0x501033(0x150)][_0x501033(0x173)](_0x501033(0xe1));}[_0x28afe1(0xe0)](){const _0x4c7650=_0x28afe1;var _0x3033d1;this['_status$'][_0x4c7650(0x173)](_0x4c7650(0xd9)),(_0x3033d1=this[_0x4c7650(0x12e)])==null||_0x3033d1[_0x4c7650(0x12d)](),this['_commandDisposable']=null;}[_0x28afe1(0xc8)](){const _0x54d74b=_0x28afe1;var _0xa636ae;this[_0x54d74b(0x150)][_0x54d74b(0x173)]('not-following'),(_0xa636ae=this[_0x54d74b(0x12e)])==null||_0xa636ae[_0x54d74b(0x12d)]();}[_0x28afe1(0x163)](_0x35c233){const _0x39692b=_0x28afe1;if([_0x39692b(0xee),_0x39692b(0xc2),_0x39692b(0xaf)][_0x39692b(0xc0)](this['_status'])||!_0x35c233[_0x39692b(0x12b)][_0x39692b(0x166)]||_0x35c233['data'][_0x39692b(0x166)]===this[_0x39692b(0xb4)][_0x39692b(0x112)]())return;this[_0x39692b(0xbd)]===_0x39692b(0xd9)&&this[_0x39692b(0x17d)]();const _0x3cc429=_0x35c233['data'][_0x39692b(0xba)];Object[_0x39692b(0x117)](_0x3cc429)[_0x39692b(0xdc)](_0x56886e=>{const _0x422394=_0x39692b;this['_commandService'][_0x422394(0x16f)](_0x56886e['id'],_0x56886e[_0x422394(0xd6)]?JSON['parse'](_0x56886e[_0x422394(0xd6)]):null,{'fromCollab':!0x0});});}['_handleOffline'](){const _0x261c0f=_0x28afe1;var _0x3f3c35;this[_0x261c0f(0x150)][_0x261c0f(0x173)](_0x261c0f(0xaf)),(_0x3f3c35=this[_0x261c0f(0x12e)])==null||_0x3f3c35[_0x261c0f(0x12d)]();}[_0x28afe1(0xb5)](){const _0x4c3708=_0x28afe1;this['_status$'][_0x4c3708(0x173)]('idle'),this[_0x4c3708(0x16a)]();}},_0x5c670c[_0x28afe1(0x156)]=_0x1ba6b5([_0x480b5b(0x2,_0x28cd17[_0x28afe1(0x15f)]),_0x480b5b(0x3,_0x28cd17[_0x28afe1(0x10d)](_0x16b4e6)),_0x480b5b(0x4,_0x28cd17['ICommandService'])],_0x5c670c['LiveShareCoordinator']);function _0x342369(){const _0x2e5558=_0x28afe1,_0x5a0b7c=_0x34f791[_0x2e5558(0x127)](_0x5c670c[_0x2e5558(0x11f)]),_0x2a0340=_0x34f791[_0x2e5558(0x127)](_0x28cd17[_0x2e5558(0xd0)]),_0x32632a=_0x34f791[_0x2e5558(0x101)](()=>_0x2a0340[_0x2e5558(0x11c)](_0x28cd17[_0x2e5558(0xca)][_0x2e5558(0x104)]),void 0x0,!0x1,[]),[_0x444fd0,_0x8075e5]=_0x1d34a9[_0x2e5558(0x18b)](null),[_0x31777e,_0x364b5f]=_0x1d34a9[_0x2e5558(0x18b)](_0x1c6cec[_0x2e5558(0xd3)]),_0x4f3708=_0x1d34a9[_0x2e5558(0x108)](null);return _0x1d34a9[_0x2e5558(0xef)](()=>(_0x32632a&&_0x5a0b7c[_0x2e5558(0x15a)](_0x32632a[_0x2e5558(0xbe)]())[_0x2e5558(0xcb)](_0x251976=>{const _0x541d35=_0x2e5558;_0x8075e5(_0x251976),_0x4f3708['current']=_0x251976[_0x541d35(0x190)]['subscribe'](_0xc43385=>{_0x364b5f(_0xc43385);});}),()=>{const _0x50c1fd=_0x2e5558;var _0x8ad15d;(_0x8ad15d=_0x4f3708['current'])==null||_0x8ad15d['unsubscribe'](),_0x4f3708[_0x50c1fd(0xdd)]=null;}),[_0x32632a,_0x5a0b7c]),_0x444fd0?_0x454e0b[_0x2e5558(0x181)](_0x573b10[_0x2e5558(0xdb)],{'align':'end','disabled':_0x31777e===_0x1c6cec[_0x2e5558(0xf8)],'className':_0x2e5558(0x192),'overlay':_0x454e0b[_0x2e5558(0x181)](_0x3e6b19,{'status':_0x31777e,'coordinator':_0x444fd0}),'children':_0x454e0b[_0x2e5558(0x181)]('button',{'className':_0x573b10['clsx']('univer-border-none\x20univer-text-gray-600\x20univer-outline-none',{'univer-cursor-not-allowed':_0x31777e===_0x1c6cec[_0x2e5558(0xf8)],'univer-cursor-pointer\x20hover:univer-bg-gray-400':_0x31777e!==_0x1c6cec['OFFLINE']}),'type':'button','children':_0x454e0b[_0x2e5558(0x181)](_0xc68c30,{'className':_0x2e5558(0xbc)})})}):null;}function _0x3e6b19(_0x59623a){const _0x4112f3=_0x28afe1,{status:_0x3faf1c,coordinator:_0x59bc95}=_0x59623a;switch(_0x3faf1c){case _0x1c6cec[_0x4112f3(0xd3)]:return _0x454e0b[_0x4112f3(0x181)](_0xa8bfb8,{'coordinator':_0x59bc95});case _0x1c6cec[_0x4112f3(0xce)]:return _0x454e0b[_0x4112f3(0x181)](_0x2d9547,{'coordinator':_0x59bc95});case _0x1c6cec[_0x4112f3(0x13e)]:return _0x454e0b[_0x4112f3(0x181)](_0x5b9fe3,{'coordinator':_0x59bc95});case _0x1c6cec[_0x4112f3(0xf8)]:return _0x454e0b[_0x4112f3(0x181)](_0x277ad4,{});case _0x1c6cec[_0x4112f3(0x14a)]:return _0x454e0b[_0x4112f3(0x181)](_0x5abcd1,{'coordinator':_0x59bc95});default:return null;}}function _0xa8bfb8(_0x76d436){const _0x491753=_0x28afe1,{coordinator:_0x41c2b3}=_0x76d436;return _0x454e0b[_0x491753(0xf1)](_0x454e0b[_0x491753(0x119)],{'children':[_0x454e0b[_0x491753(0x181)](_0x491753(0x15e),{'className':_0x491753(0xc4),'children':_0x491753(0xd7)}),_0x454e0b[_0x491753(0x181)](_0x573b10[_0x491753(0x105)],{'onClick':()=>_0x41c2b3[_0x491753(0x130)](),'children':_0x491753(0x12a)})]});}function _0x2d9547(_0x433cea){const _0x1ed643=_0x28afe1,{coordinator:_0x9c7085}=_0x433cea;return _0x454e0b[_0x1ed643(0xf1)](_0x454e0b['Fragment'],{'children':[_0x454e0b[_0x1ed643(0x181)]('div',{'className':_0x1ed643(0xc4),'children':_0x1ed643(0x11b)}),_0x454e0b[_0x1ed643(0x181)](_0x573b10[_0x1ed643(0x105)],{'onClick':()=>_0x9c7085[_0x1ed643(0xf4)](),'children':_0x1ed643(0x100)})]});}function _0x5b9fe3(_0x15ea5c){const _0x206692=_0x28afe1,{coordinator:_0x1fa302}=_0x15ea5c;return _0x454e0b['jsxs'](_0x454e0b[_0x206692(0x119)],{'children':[_0x454e0b[_0x206692(0x181)](_0x206692(0x15e),{'className':_0x206692(0xc4),'children':_0x206692(0x123)}),_0x454e0b['jsx'](_0x573b10[_0x206692(0x105)],{'variant':'text','onClick':()=>_0x1fa302[_0x206692(0xf2)](),'children':'Start\x20following'})]});}function _0x5abcd1(_0x4851ff){const _0x2c5df8=_0x28afe1,{coordinator:_0x170d79}=_0x4851ff;return _0x454e0b[_0x2c5df8(0xf1)](_0x454e0b[_0x2c5df8(0x119)],{'children':[_0x454e0b[_0x2c5df8(0x181)](_0x2c5df8(0x15e),{'className':_0x2c5df8(0xc4),'children':_0x2c5df8(0xd5)}),_0x454e0b[_0x2c5df8(0x181)](_0x573b10['Button'],{'variant':_0x2c5df8(0x11e),'onClick':()=>_0x170d79['stopPresenting'](),'children':_0x2c5df8(0xf7)})]});}function _0x277ad4(){const _0x14273c=_0x28afe1;return _0x454e0b[_0x14273c(0x181)](_0x454e0b[_0x14273c(0x119)],{'children':_0x14273c(0xbf)});}var _0x755f75=Object[_0x28afe1(0xff)],_0x1c0018=(_0x12a859,_0x437d61,_0x16fcaf,_0xa98845)=>{const _0x7cd331=_0x28afe1;for(var _0x229787=_0xa98845>0x1?void 0x0:_0xa98845?_0x755f75(_0x437d61,_0x16fcaf):_0x437d61,_0x19fc67=_0x12a859[_0x7cd331(0xf3)]-0x1,_0x4372cd;_0x19fc67>=0x0;_0x19fc67--)(_0x4372cd=_0x12a859[_0x19fc67])&&(_0x229787=_0x4372cd(_0x229787)||_0x229787);return _0x229787;},_0x4c4b2c=(_0x359bb1,_0x389df3)=>(_0x45b329,_0xd1ecf3)=>_0x389df3(_0x45b329,_0xd1ecf3,_0x359bb1);_0x5c670c[_0x28afe1(0x157)]=class extends _0x28cd17[_0x28afe1(0x122)]{constructor(_0x50c426,_0x1b895e){super(),this['_injector']=_0x50c426,this['_uiPartsService']=_0x1b895e,this['_mountLiveShare']();}[_0x28afe1(0xe3)](){const _0x182409=_0x28afe1;this['disposeWithMe'](this[_0x182409(0x187)][_0x182409(0x17f)](_0x34f791[_0x182409(0x165)][_0x182409(0x111)],()=>_0x34f791[_0x182409(0xad)](_0x342369,this[_0x182409(0x13b)])));}},_0x5c670c['DesktopLiveShareController']=_0x1c0018([_0x4c4b2c(0x0,_0x28cd17[_0x28afe1(0x10d)](_0x28cd17[_0x28afe1(0x14f)])),_0x4c4b2c(0x1,_0x34f791[_0x28afe1(0x116)])],_0x5c670c['DesktopLiveShareController']);const _0x295a5b='live-share.config',_0xd61226={};var _0xeeacd8=Object[_0x28afe1(0xff)],_0x2b5898=(_0x2e8175,_0x36520f,_0x436e51,_0x419090)=>{for(var _0x3d8f9d=_0x419090>0x1?void 0x0:_0x419090?_0xeeacd8(_0x36520f,_0x436e51):_0x36520f,_0x345f76=_0x2e8175['length']-0x1,_0x531bd1;_0x345f76>=0x0;_0x345f76--)(_0x531bd1=_0x2e8175[_0x345f76])&&(_0x3d8f9d=_0x531bd1(_0x3d8f9d)||_0x3d8f9d);return _0x3d8f9d;},_0x17711d=(_0x3a0fd3,_0x2a1855)=>(_0x5ac9b0,_0x4b1e5e)=>_0x2a1855(_0x5ac9b0,_0x4b1e5e,_0x3a0fd3);let _0x57eecd=class extends _0x28cd17['Disposable']{constructor(_0x112311){const _0x24998e=_0x28afe1;super(),this[_0x24998e(0x114)]=_0x112311,this[_0x24998e(0xe4)]();}[_0x28afe1(0xe4)](){const _0x5b736a=_0x28afe1;[_0x4d26ff['SetZoomRatioOperation']['id'],_0x4d26ff[_0x5b736a(0xb0)]['id'],_0x2c6fb4[_0x5b736a(0x185)]['id']][_0x5b736a(0xdc)](_0x361d92=>{const _0x5f4cd1=_0x5b736a;this[_0x5f4cd1(0xd1)](this['_liveShareService'][_0x5f4cd1(0x170)](_0x361d92));});}};_0x57eecd=_0x2b5898([_0x17711d(0x0,_0x28cd17[_0x28afe1(0x10d)](_0x16b4e6))],_0x57eecd);var _0x3a8abd=Object[_0x28afe1(0x161)],_0x5b584a=Object['getOwnPropertyDescriptor'],_0x44aa28=(_0x34a68b,_0x874a8d,_0x50287a)=>_0x874a8d in _0x34a68b?_0x3a8abd(_0x34a68b,_0x874a8d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50287a}):_0x34a68b[_0x874a8d]=_0x50287a,_0x25b9b0=(_0x44b369,_0x4b7e05,_0x48c7af,_0x2c6a7c)=>{const _0x26e3ce=_0x28afe1;for(var _0x8b52f7=_0x2c6a7c>0x1?void 0x0:_0x2c6a7c?_0x5b584a(_0x4b7e05,_0x48c7af):_0x4b7e05,_0x5803e2=_0x44b369[_0x26e3ce(0xf3)]-0x1,_0xd95f42;_0x5803e2>=0x0;_0x5803e2--)(_0xd95f42=_0x44b369[_0x5803e2])&&(_0x8b52f7=_0xd95f42(_0x8b52f7)||_0x8b52f7);return _0x8b52f7;},_0x1e1123=(_0x6a104c,_0x39df4f)=>(_0x57daab,_0x5c0fdb)=>_0x39df4f(_0x57daab,_0x5c0fdb,_0x6a104c),_0x22ff85=(_0x36a4f0,_0x1b0857,_0x2ae415)=>_0x44aa28(_0x36a4f0,typeof _0x1b0857!='symbol'?_0x1b0857+'':_0x1b0857,_0x2ae415);const _0x4587a2=_0x28afe1(0xb9);_0x5c670c[_0x28afe1(0x124)]=class extends _0x28cd17[_0x28afe1(0x17a)]{constructor(_0x3de0b8=_0xd61226,_0x35e3f3,_0x625c4e){const _0x1e03d0=_0x28afe1;super(),this[_0x1e03d0(0x12c)]=_0x3de0b8,this[_0x1e03d0(0x13b)]=_0x35e3f3,this[_0x1e03d0(0xd8)]=_0x625c4e;const {..._0x3db2fe}=_0x28cd17[_0x1e03d0(0xfd)]({},_0xd61226,this['_config']);this[_0x1e03d0(0xd8)][_0x1e03d0(0x10e)](_0x295a5b,_0x3db2fe);}[_0x28afe1(0x164)](){const _0x58bd4e=_0x28afe1;_0x28cd17[_0x58bd4e(0x184)](this[_0x58bd4e(0x13b)],_0x28cd17[_0x58bd4e(0x10c)]([[_0x16b4e6],[_0x5c670c[_0x58bd4e(0x11f)]],[_0x57eecd],[_0x5c670c[_0x58bd4e(0x157)]]],this[_0x58bd4e(0x12c)][_0x58bd4e(0x16c)])),_0x28cd17['touchDependencies'](this[_0x58bd4e(0x13b)],[[_0x57eecd]]);}[_0x28afe1(0xac)](){const _0x36d71d=_0x28afe1;_0x28cd17[_0x36d71d(0x15b)](this[_0x36d71d(0x13b)],[[_0x5c670c['DesktopLiveShareController']]]);}},_0x22ff85(_0x5c670c[_0x28afe1(0x124)],_0x28afe1(0x107),_0x28cd17[_0x28afe1(0xca)][_0x28afe1(0xd2)]),_0x22ff85(_0x5c670c['UniverLiveSharePlugin'],_0x28afe1(0xc6),_0x4587a2),_0x5c670c[_0x28afe1(0x124)]=_0x25b9b0([_0x28cd17['DependentOn'](_0x1f93cf[_0x28afe1(0x167)]),_0x1e1123(0x1,_0x28cd17[_0x28afe1(0x10d)](_0x28cd17[_0x28afe1(0x14f)])),_0x1e1123(0x2,_0x28cd17[_0x28afe1(0x15f)])],_0x5c670c[_0x28afe1(0x124)]),_0x5c670c[_0x28afe1(0x113)]=_0x342369,_0x5c670c[_0x28afe1(0x125)]=_0x16b4e6,_0x5c670c[_0x28afe1(0x174)]=_0x1c6cec,Object[_0x28afe1(0x161)](_0x5c670c,Symbol[_0x28afe1(0x17b)],{'value':'Module'});}));function _0x1c77(){const _0x3777d2=['getInitialStates','status$','@univerjs/core','univer-box-border\x20univer-min-w-60\x20univer-bg-gray-900\x20univer-px-4\x20univer-py-3\x20univer-text-gray-900\x20dark:!univer-bg-white\x20dark:!univer-text-white','onRendered','connectInjector','_handleOffline','offline','SetScrollOperation','rxjs/operators','from','mutations','_collabSession','_handleOnline','tag','entries','3523660apBDft','UNIVER_LIVE_SHARE_PLUGIN','operations','Subject','univer-size-4','_status','getUnitId','You\x27are\x20offline.','includes','3973460uUBKlr','not-following','NEW_CHANGESETS','univer-mb-3\x20univer-w-full\x20univer-text-sm','send','pluginName','complete','_stopFollowing','_presenter','UniverInstanceType','then','@univerjs-pro/collaboration','random','FOLLOWING','set','IUniverInstanceService','disposeWithMe','UNIVER_UNKNOWN','IDLE','takeUntil','You\x27re\x20presenting\x20the\x20document','params','Present\x20this\x20document','_configService','idle','dispose$','Dropdown','forEach','current','get','forwardRef','_beIdle','following','0\x200\x2017\x2017','_mountLiveShare','_init','getStatus','exports','replace','_entities','1111976gmPTDC','currentColor','_unitID','_sharedOperations','unitId','presenting','useEffect','LIVESHARE_TERMINATE','jsxs','startFollowing','length','stopFollowing','add','path','Stop\x20presenting','OFFLINE','DisposableCollection','6EphJie','xlink:href','_startPresenting','merge','ONLINE','getOwnPropertyDescriptor','Stop\x20following','useObservable','http://www.w3.org/2000/svg','sessionStatus$','UNIVER_SHEET','Button','SAME_OPERATION_SHARE_INTERVAL','type','useRef','64630VDAVja','attrs','stringify','mergeOverrideWithDependencies','Inject','setConfig','event$','LIVESHARE_OPERATION','HEADER_MENU','getMemberID','LiveShare','_liveShareService','registerInitialStateReporter','IUIPartsService','values','M9.20459\x204.90474C9.20459\x204.64763\x209.35535\x204.54174\x209.54053\x204.68737L11.2643\x206.04046C11.4495\x206.18609\x2011.4495\x206.42299\x2011.2643\x206.56789L9.55334\x207.90706C9.36755\x208.05269\x209.20386\x207.90499\x209.20386\x207.68969V6.96785H8.94446C8.19543\x206.96785\x206.72595\x207.28347\x206.37646\x207.89174C6.30786\x208.00322\x206.23572\x207.97884\x206.23572\x207.89174C6.25073\x206.80828\x208.0918\x205.58895\x209.17383\x205.58895H9.20459V4.90474Z','Fragment','1148185EvznPF','You\x27re\x20following\x20the\x20presenter','getCurrentTypeOfUnit$','InsertSheetMutation','default','LiveShareController','delete','subscribe','Disposable','You\x27re\x20not\x20following\x20the\x20presenter','UniverLiveSharePlugin','LiveShareService','_handleNewHost','useDependency','24qPUNxA','UniverSheetsUi','Start','data','_config','dispose','_commandDisposable','_commandService','tryStartPresenting','_handleTerminate','evenodd','reverse','asObservable','fill','LiveShareIcon','UniverUi','30aisoSD','@univerjs/ui','OPERATION','_injector','CollaborationSessionService','defIds','NOT_FOLLOWING','requireSession','getTypeOfUnitDisposed$','substring','children','UniverProLiveShare','@univerjs-pro/collaboration-client','@univerjs/design','3808651UmhbHo','operators','LIVESHARE_NEW_HOST','_collabSessionService','PRESENTING','_univerInstanceService','getTypeOfUnitAdded$','mask','has','Injector','_status$','symbol','react','React','getConfig','stopPresenting','LiveShareCoordinator','DesktopLiveShareController','clear','sheet','getLiveShareCoordinator','touchDependencies','CollaborationEvent','shouldShareOperation','div','IConfigService','url(#$1','defineProperty','_reporters','_handleOperation','onStarting','BuiltInUIPart','presenter','UniverCollaborationClientPlugin','defs','trim','_fetchOperations','rxjs','override','1em','map','executeCommand','registerSharedOperation','object','_startLiveShareCoordinator','next','LiveShareStatus','toDisposable','LIVESHARE_FETCH_OPERATIONS','colorChannel1','18Ooqrks','idSuffix','Plugin','toStringTag','2413215nGcPsl','_startFollowing','UniverProCollaboration','registerComponent','LIVESHARE_REQUEST_HOST','jsx','CommandType','react/jsx-runtime','registerDependencies','SetWorksheetActiveOperation','7MFtOvt','_uiPartsService','RxDisposable','amd','init','useState','createElement','SessionStatus','string'];_0x1c77=function(){return _0x3777d2;};return _0x1c77();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/live-share",
3
- "version": "0.12.4-experimental.20251211-e01e32a",
3
+ "version": "0.12.4-insiders.20251211-c28f914",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal ui-plugin-sheets",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -57,14 +57,14 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@univerjs/icons": "^1.0.2",
60
- "@univerjs-pro/collaboration": "0.12.4-experimental.20251211-e01e32a",
61
- "@univerjs-pro/collaboration-client": "0.12.4-experimental.20251211-e01e32a",
62
- "@univerjs/design": "0.12.4-experimental.20251211-e01e32a",
63
- "@univerjs/engine-render": "0.12.4-experimental.20251211-e01e32a",
64
- "@univerjs/sheets": "0.12.4-experimental.20251211-e01e32a",
65
- "@univerjs/sheets-ui": "0.12.4-experimental.20251211-e01e32a",
66
- "@univerjs/ui": "0.12.4-experimental.20251211-e01e32a",
67
- "@univerjs/core": "0.12.4-experimental.20251211-e01e32a"
60
+ "@univerjs-pro/collaboration": "0.12.4-insiders.20251211-c28f914",
61
+ "@univerjs-pro/collaboration-client": "0.12.4-insiders.20251211-c28f914",
62
+ "@univerjs/core": "0.12.4-insiders.20251211-c28f914",
63
+ "@univerjs/design": "0.12.4-insiders.20251211-c28f914",
64
+ "@univerjs/sheets": "0.12.4-insiders.20251211-c28f914",
65
+ "@univerjs/sheets-ui": "0.12.4-insiders.20251211-c28f914",
66
+ "@univerjs/ui": "0.12.4-insiders.20251211-c28f914",
67
+ "@univerjs/engine-render": "0.12.4-insiders.20251211-c28f914"
68
68
  },
69
69
  "devDependencies": {
70
70
  "postcss": "^8.5.6",