@univerjs-pro/collaboration-client-ui 0.9.2 → 0.9.3

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.
Files changed (51) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -0
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -0
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -0
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -0
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -0
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -0
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/locale/ca-ES.d.ts +3 -0
  38. package/lib/types/locale/es-ES.d.ts +3 -0
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -0
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -0
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +17 -17
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x37ecb3,_0x356ca2){const _0x4334c0=_0x4c50,_0x3dc602=_0x37ecb3();while(!![]){try{const _0x5e9405=-parseInt(_0x4334c0(0x1d5))/0x1*(-parseInt(_0x4334c0(0x1d2))/0x2)+parseInt(_0x4334c0(0x141))/0x3+-parseInt(_0x4334c0(0x93))/0x4+parseInt(_0x4334c0(0x220))/0x5+-parseInt(_0x4334c0(0x121))/0x6*(-parseInt(_0x4334c0(0x1af))/0x7)+parseInt(_0x4334c0(0x29a))/0x8*(-parseInt(_0x4334c0(0x114))/0x9)+parseInt(_0x4334c0(0x11f))/0xa*(parseInt(_0x4334c0(0x29e))/0xb);if(_0x5e9405===_0x356ca2)break;else _0x3dc602['push'](_0x3dc602['shift']());}catch(_0x3ef2b5){_0x3dc602['push'](_0x3dc602['shift']());}}}(_0x85f6,0x416a6),function(_0x30edab,_0x3b531c){const _0x36f235=_0x4c50;typeof exports==_0x36f235(0x202)&&typeof module<'u'?_0x3b531c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define['amd']?define([_0x36f235(0x252),'@univerjs-pro/collaboration-client',_0x36f235(0xe0),'@univerjs/engine-render','@univerjs/network',_0x36f235(0x122),_0x36f235(0x249),_0x36f235(0x2c1),'@univerjs-pro/collaboration',_0x36f235(0x329),_0x36f235(0xd1),_0x36f235(0x1ec),_0x36f235(0x2fe),_0x36f235(0xe3),_0x36f235(0x210),_0x36f235(0x277),'@univerjs/design',_0x36f235(0x10c),_0x36f235(0x2bd)],_0x3b531c):(_0x30edab=typeof globalThis<'u'?globalThis:_0x30edab||self,_0x3b531c(_0x30edab[_0x36f235(0x2c2)]={},_0x30edab[_0x36f235(0x26e)],_0x30edab['UniverCore'],_0x30edab[_0x36f235(0xf1)],_0x30edab[_0x36f235(0x273)],_0x30edab['UniverDocsUi'],_0x30edab[_0x36f235(0x2cb)],_0x30edab[_0x36f235(0x2c1)],_0x30edab[_0x36f235(0x2b9)],_0x30edab[_0x36f235(0x228)],_0x30edab[_0x36f235(0x298)],_0x30edab[_0x36f235(0xd8)],_0x30edab[_0x36f235(0x2c1)][_0x36f235(0x243)],_0x30edab['UniverSheetsUi'],_0x30edab[_0x36f235(0x1cd)],_0x30edab[_0x36f235(0x24e)],_0x30edab['UniverDesign'],_0x30edab[_0x36f235(0x1cd)],_0x30edab['UniverRpc']));}(this,function(_0x17bc2c,_0x40916b,_0x50247b,_0x24e38c,_0x4c764b,_0x2b2a5c,_0x5c384b,_0x481311,_0xaf0477,_0x2136d0,_0x2d8baa,_0x2db21a,_0x3846e5,_0x28ba35,_0x190220,_0x4d3b42,_0x7c6d07,_0x998dec,_0x40e19a){'use strict';const _0x465324=_0x4c50;var _0x568d9a=Object['defineProperty'],_0x3f8de8=(_0x406d8e,_0x4a3f40,_0x194eb1)=>_0x4a3f40 in _0x406d8e?_0x568d9a(_0x406d8e,_0x4a3f40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x194eb1}):_0x406d8e[_0x4a3f40]=_0x194eb1,_0x2f0564=(_0x5a928c,_0x41de4b,_0x5cacc8)=>_0x3f8de8(_0x5a928c,typeof _0x41de4b!=_0x465324(0x1df)?_0x41de4b+'':_0x41de4b,_0x5cacc8),_0x3b2442=Object['getOwnPropertyDescriptor'],_0x235933=(_0x1cf1a9,_0x112614,_0x2afd0c,_0x3c1618)=>{const _0x1094d3=_0x465324;for(var _0x2dd5ab=_0x3c1618>0x1?void 0x0:_0x3c1618?_0x3b2442(_0x112614,_0x2afd0c):_0x112614,_0x5c6c30=_0x1cf1a9[_0x1094d3(0x223)]-0x1,_0x1cba28;_0x5c6c30>=0x0;_0x5c6c30--)(_0x1cba28=_0x1cf1a9[_0x5c6c30])&&(_0x2dd5ab=_0x1cba28(_0x2dd5ab)||_0x2dd5ab);return _0x2dd5ab;},_0x46f0ed=(_0x16b72a,_0x551a18)=>(_0x82e2ab,_0xf459bf)=>_0x551a18(_0x82e2ab,_0xf459bf,_0x16b72a);let _0xd53509=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x5907b4,_0xced448){const _0x291d4f=_0x465324;super(),this[_0x291d4f(0x1e4)]=_0x5907b4,this[_0x291d4f(0x29c)]=_0xced448,this[_0x291d4f(0x256)]();}['_init'](){const _0x84e98=_0x465324,_0xdb3445=this;this[_0x84e98(0x148)](this[_0x84e98(0x1e4)][_0x84e98(0xa1)]({'onBeforePasteImage':async _0x260238=>{const _0x5bcbbc=_0x84e98,_0x2b970f=await _0xdb3445[_0x5bcbbc(0x29c)][_0x5bcbbc(0xef)](_0x260238);return _0x2b970f?{'source':_0x2b970f[_0x5bcbbc(0x2e8)],'imageSourceType':_0x2b970f[_0x5bcbbc(0x20b)]}:null;}}));}};_0xd53509=_0x235933([_0x46f0ed(0x0,_0x2b2a5c['IDocClipboardService']),_0x46f0ed(0x1,_0x5c384b[_0x465324(0x2d0)])],_0xd53509);const _0x5a0d30=[_0x465324(0x282),'jiqing.500',_0x465324(0xae),_0x465324(0x305),_0x465324(0x113),_0x465324(0x24c)];class _0x20e9cb extends _0x50247b[_0x465324(0x1e1)]{constructor(){const _0x3101f6=_0x465324;super(...arguments),_0x2f0564(this,_0x3101f6(0x209),new Map()),_0x2f0564(this,_0x3101f6(0x2e2),0x0);}[_0x465324(0xa6)](_0x13078b){const _0xd24996=_0x465324;if(this[_0xd24996(0x209)][_0xd24996(0xfd)](_0x13078b))return this[_0xd24996(0x209)]['get'](_0x13078b);const _0x281999=_0x5a0d30[this[_0xd24996(0x2e2)]];return this[_0xd24996(0x2e2)]=(this[_0xd24996(0x2e2)]+0x1)%_0x5a0d30['length'],this['_assignedColors'][_0xd24996(0x154)](_0x13078b,_0x281999),_0x281999;}}function _0x444374(_0x3c60bf){const _0x391227=_0x465324;let _0x43d4fc='';for(const _0x308bc5 of _0x3c60bf){const {startOffset:_0x2d637d,endOffset:_0x9b6e4a,isActive:_0x2a1b6e,rangeType:_0x15a23b,segmentId:_0x494178,segmentPage:_0x492d1c}=_0x308bc5;_0x43d4fc[_0x391227(0x223)]&&(_0x43d4fc+=','),_0x43d4fc+=_0x2d637d+':'+_0x9b6e4a+':'+(_0x2a1b6e?'1':'0')+':'+_0x15a23b+':'+_0x494178+':'+_0x492d1c;}return _0x43d4fc;}function _0x1aa900(_0x4938e1){const _0x4d9385=_0x465324,_0x3df243=_0x4938e1[_0x4d9385(0x1bc)](','),_0x26a69c=[];for(const _0x401e76 of _0x3df243){const [_0x453e78,_0x1382f7,_0x465adb,_0x5d1925,_0x5850b3,_0x4f7872]=_0x401e76['split'](':');_0x26a69c['push']({'startOffset':Number(_0x453e78),'endOffset':Number(_0x1382f7),'collapsed':_0x453e78===_0x1382f7,'isActive':_0x465adb==='1','rangeType':_0x5d1925===_0x50247b[_0x4d9385(0x280)]['TEXT']?_0x50247b[_0x4d9385(0x280)]['TEXT']:_0x50247b[_0x4d9385(0x280)]['RECT'],'segmentId':typeof _0x5850b3=='string'?String(_0x5850b3):'','segmentPage':Number(_0x4f7872!=null?_0x4f7872:-0x1)});}return _0x26a69c['some'](_0x2302cc=>_0x2302cc[_0x4d9385(0x26f)])||(_0x26a69c[0x0]['isActive']=!0x0),_0x26a69c;}class _0x100092 extends _0x50247b[_0x465324(0x16f)]{constructor(){const _0xfe4ba7=_0x465324;super(...arguments),_0x2f0564(this,_0xfe4ba7(0x99),new _0x481311[(_0xfe4ba7(0x190))](null)),_0x2f0564(this,_0xfe4ba7(0x2e7),this[_0xfe4ba7(0x99)]['asObservable']());}[_0x465324(0x1d3)](_0x5cf01c){const _0x4f89dd=_0x465324,{unitID:_0x36fc0a,memberID:_0x3175f9,textRanges:_0x250a12}=_0x5cf01c,_0x29bf72=_0x444374(_0x250a12);if(_0x29bf72==='')return;const _0x18e3c6={'unitID':_0x36fc0a,'memberID':_0x3175f9,'selection':_0x29bf72};this['_collabCursorState$'][_0x4f89dd(0x1d1)](_0x18e3c6);}}var _0x4d6e74=Object[_0x465324(0x164)],_0x53d15c=(_0x3eeb74,_0x218792,_0x26de0d,_0x10ec4e)=>{for(var _0x4bad3f=_0x10ec4e>0x1?void 0x0:_0x10ec4e?_0x4d6e74(_0x218792,_0x26de0d):_0x218792,_0x6d5390=_0x3eeb74['length']-0x1,_0x28a892;_0x6d5390>=0x0;_0x6d5390--)(_0x28a892=_0x3eeb74[_0x6d5390])&&(_0x4bad3f=_0x28a892(_0x4bad3f)||_0x4bad3f);return _0x4bad3f;},_0x22b7b6=(_0x458455,_0x40a6cd)=>(_0x2fd174,_0x9df384)=>_0x40a6cd(_0x2fd174,_0x9df384,_0x458455);const _0x3b9c6b=0x12c,_0x34b428=0x64;let _0x55a4f4=class extends _0x50247b['RxDisposable']{constructor(_0x37acc8,_0x472cfc,_0x3d501b,_0x425bdd,_0x2c230e,_0x573b44,_0x492e1e,_0x39bd0e,_0xfdadc1){const _0x35e1c7=_0x465324;super(),_0x2f0564(this,_0x35e1c7(0x315),!0x1),_0x2f0564(this,'_init',!0x1),_0x2f0564(this,_0x35e1c7(0xcb),new _0x481311[(_0x35e1c7(0x190))](new Map())),_0x2f0564(this,_0x35e1c7(0x168),this['_cursorInfo$'][_0x35e1c7(0x15d)]()),_0x2f0564(this,_0x35e1c7(0x1a9),new _0x481311[(_0x35e1c7(0x190))]([])),_0x2f0564(this,'roomMembers$',this[_0x35e1c7(0x1a9)][_0x35e1c7(0x29b)](_0x481311['debounceTime'](_0x3b9c6b))),_0x2f0564(this,_0x35e1c7(0x1b4),_0x50247b[_0x35e1c7(0x100)](_0x5c0e63=>{const _0x14363f=_0x35e1c7,_0x2c67c8={'eventID':_0xaf0477['CollaborationEvent'][_0x14363f(0x1d6)],'data':{'unitID':this[_0x14363f(0x1a3)],'memberID':this['_session']['getMemberID'](),'selection':_0x444374(_0x5c0e63)}};this[_0x14363f(0x289)][_0x14363f(0x269)](_0x2c67c8,this['unitID']);},_0x34b428)),(this[_0x35e1c7(0x1a3)]=_0x37acc8,this[_0x35e1c7(0x289)]=_0x472cfc,this[_0x35e1c7(0xe8)]=_0x3d501b,this[_0x35e1c7(0x9e)]=_0x425bdd,this[_0x35e1c7(0x11b)]=_0x2c230e,this[_0x35e1c7(0x130)]=_0x573b44,this['_transformService']=_0x492e1e,this['_univerInstanceService']=_0x39bd0e,this['_commandService']=_0xfdadc1);}get[_0x465324(0xdd)](){const _0x2b6d69=_0x465324;return this[_0x2b6d69(0xcb)]['getValue']();}get[_0x465324(0x207)](){const _0x1be6c3=_0x465324;return this['_roomMembers$'][_0x1be6c3(0x10a)]();}['dispose'](){const _0xbf2abb=_0x465324;super[_0xbf2abb(0xc1)](),this[_0xbf2abb(0xcb)][_0xbf2abb(0x1d1)](new Map()),this[_0xbf2abb(0xcb)]['complete'](),this[_0xbf2abb(0x1a9)][_0xbf2abb(0x1d1)]([]),this[_0xbf2abb(0x1a9)]['complete']();}[_0x465324(0xb9)](){const _0x5808e0=_0x465324;this[_0x5808e0(0x256)]||(this[_0x5808e0(0x256)]=!0x0,this[_0x5808e0(0x289)]['sessionStatus$'][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x12f2af=>{const _0x50b64f=_0x5808e0;_0x12f2af===_0x40916b[_0x50b64f(0x259)]['ONLINE']?this['_toggleOnline']():this[_0x50b64f(0x1b5)]();}),this[_0x5808e0(0x289)][_0x5808e0(0x24d)][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x3fcab4=>{const _0x1caeee=_0x5808e0,_0x9e2c71=_0x3fcab4['eventID'];_0x9e2c71===_0xaf0477['CollaborationEvent'][_0x1caeee(0x1d6)]&&this[_0x1caeee(0x2a5)](_0x3fcab4),_0x9e2c71===_0xaf0477[_0x1caeee(0x2cf)][_0x1caeee(0x119)]&&this[_0x1caeee(0x2bc)](_0x3fcab4);}),this[_0x5808e0(0x148)](this['_commandService'][_0x5808e0(0x1e7)](_0x97a4ca=>{const _0x1e02f0=_0x5808e0,_0x1b5aba=_0x97a4ca['params'];_0x1b5aba!=null&&this['_online']&&_0x97a4ca['id']===_0x2136d0[_0x1e02f0(0x30f)]['id']&&_0x1b5aba[_0x1e02f0(0x107)]===this['unitID']&&_0x1b5aba[_0x1e02f0(0x303)]===!0x1&&_0x1b5aba[_0x1e02f0(0x293)][_0x1e02f0(0x223)]>0x0&&this[_0x1e02f0(0x1b4)](_0x1b5aba[_0x1e02f0(0x293)]);})),this[_0x5808e0(0x130)][_0x5808e0(0x2e7)][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x31cb17=>{const _0x4123f2=_0x5808e0;if((_0x31cb17==null?void 0x0:_0x31cb17['unitID'])!==this[_0x4123f2(0x1a3)])return;const _0x4917d7={'eventID':_0xaf0477[_0x4123f2(0x2cf)]['UPDATE_CURSOR'],'data':_0x31cb17};this[_0x4123f2(0x2a5)](_0x4917d7);}),this[_0x5808e0(0x148)](this[_0x5808e0(0x1aa)][_0x5808e0(0x1e7)](_0x5380aa=>{const _0x3943e6=_0x5808e0;if(_0x5380aa['params']==null)return;const _0x38dd85=_0x5380aa['params'];if(_0x5380aa['id']!==_0x2136d0[_0x3943e6(0x1d0)]['id']||_0x38dd85[_0x3943e6(0x107)]!==this[_0x3943e6(0x1a3)])return;const _0x45fe83={'id':_0x3943e6(0x21e),'params':_0x38dd85},_0x4b8cd2=this[_0x3943e6(0xdd)];for(const [_0x3915c6,_0x192cce]of _0x4b8cd2){const _0x4ddcca={'id':_0x3943e6(0x21e),'params':{'unitId':this[_0x3943e6(0x1a3)],'actions':null,'textRanges':_0x192cce[_0x3943e6(0x293)]}},_0x9d5ee1=this['_transformService']['transformMutation'](_0x45fe83,_0x4ddcca,!0x1);if(_0xaf0477[_0x3943e6(0x1a6)](_0x9d5ee1))throw _0x9d5ee1[_0x3943e6(0x301)];_0x4b8cd2[_0x3943e6(0x154)](_0x3915c6,{..._0x192cce,'ranges':_0x9d5ee1['m2Prime'][_0x3943e6(0x176)][_0x3943e6(0x1f1)]});}queueMicrotask(()=>{const _0x3edf0d=_0x3943e6;this[_0x3edf0d(0xcb)][_0x3edf0d(0x1d1)](_0x4b8cd2);});})));}[_0x465324(0x2a5)](_0x591a81){const _0x1e6a2e=_0x465324;var _0x1b31dd,_0x17237a;const {memberID:_0x14c5c3,selection:_0xb0180e}=_0x591a81[_0x1e6a2e(0x163)],_0x5e865c=_0x1aa900(_0xb0180e),_0xbaf426=(_0x17237a=(_0x1b31dd=this['_memberService']['getMember'](this['unitID'],_0x14c5c3))==null?void 0x0:_0x1b31dd['name'])!=null?_0x17237a:_0x1e6a2e(0x264),_0x134b03={'color':this[_0x1e6a2e(0x9e)][_0x1e6a2e(0xa6)](_0x14c5c3),'name':_0xbaf426,'ranges':_0x5e865c},_0x2f5cf4=this['cursorInfo'];_0x2f5cf4[_0x1e6a2e(0x154)](_0x14c5c3,_0x134b03),this['_cursorInfo$'][_0x1e6a2e(0x1d1)](_0x2f5cf4);}['_onCursorDelete'](_0xe6f535){const _0x48c607=_0x465324,{memberID:_0x14a485}=_0xe6f535[_0x48c607(0x163)],_0x53e04c=this[_0x48c607(0xdd)];_0x53e04c[_0x48c607(0x2bf)](_0x14a485),this[_0x48c607(0xcb)][_0x48c607(0x1d1)](_0x53e04c);}[_0x465324(0x2ab)](){const _0x3fcc77=_0x465324;var _0x11de55;if(this[_0x3fcc77(0x315)]=!0x0,((_0x11de55=this[_0x3fcc77(0x2c7)]['getFocusedUnit']())==null?void 0x0:_0x11de55['getUnitId']())!==this[_0x3fcc77(0x1a3)])return;const _0x5521a3=this[_0x3fcc77(0xe8)]['get'](_0x2136d0[_0x3fcc77(0x248)])['getDocRanges']();Array['isArray'](_0x5521a3)&&_0x5521a3[_0x3fcc77(0x223)]>0x0&&this[_0x3fcc77(0x1b4)](_0x5521a3);}[_0x465324(0x1b5)](){this['_online']=!0x1;}};_0x55a4f4=_0x53d15c([_0x22b7b6(0x2,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x22b7b6(0x3,_0x50247b['Inject'](_0x20e9cb)),_0x22b7b6(0x4,_0x50247b['Inject'](_0x40916b[_0x465324(0x2b4)])),_0x22b7b6(0x5,_0x50247b['Inject'](_0x100092)),_0x22b7b6(0x6,_0xaf0477[_0x465324(0x30e)]),_0x22b7b6(0x7,_0x50247b[_0x465324(0x257)]),_0x22b7b6(0x8,_0x50247b[_0x465324(0xde)])],_0x55a4f4);var _0x532e96=Object[_0x465324(0x164)],_0x3aa8c4=(_0x4c778b,_0x586a80,_0x1f05f0,_0x4aef3d)=>{for(var _0x27b089=_0x4aef3d>0x1?void 0x0:_0x4aef3d?_0x532e96(_0x586a80,_0x1f05f0):_0x586a80,_0x8d3a3f=_0x4c778b['length']-0x1,_0x5daa4e;_0x8d3a3f>=0x0;_0x8d3a3f--)(_0x5daa4e=_0x4c778b[_0x8d3a3f])&&(_0x27b089=_0x5daa4e(_0x27b089)||_0x27b089);return _0x27b089;},_0x4c2e65=(_0x24202c,_0x426c2c)=>(_0x3d4e5b,_0x3e17a7)=>_0x426c2c(_0x3d4e5b,_0x3e17a7,_0x24202c);const _0x38dc54=0x12c,_0xa888a6=0x64,_0x12be2b=()=>{let _0x23d93f=[],_0x48089f=!0x1;return _0x5a53c1=>{_0x23d93f['push'](_0x5a53c1),_0x48089f||(_0x48089f=!0x0,setTimeout(()=>{const _0x517822=_0x4c50;_0x23d93f[_0x517822(0x134)](_0x5cf2f9=>_0x5cf2f9()),_0x23d93f=[],_0x48089f=!0x1;}));};};let _0x944f80=class extends _0x50247b['RxDisposable']{constructor(_0x3a557e,_0x53b906,_0x17893c,_0x49626e,_0x422f13,_0x106e20,_0x54c193,_0x147787){const _0x4cc9f4=_0x465324;super(),_0x2f0564(this,_0x4cc9f4(0x315),!0x1),_0x2f0564(this,_0x4cc9f4(0x256),!0x1),_0x2f0564(this,_0x4cc9f4(0xcb),new _0x481311[(_0x4cc9f4(0x190))](new Map())),_0x2f0564(this,_0x4cc9f4(0x168),this['_cursorInfo$'][_0x4cc9f4(0x15d)]()),_0x2f0564(this,_0x4cc9f4(0x1a9),new _0x481311['BehaviorSubject']([])),_0x2f0564(this,'roomMembers$',this[_0x4cc9f4(0x1a9)]['pipe'](_0x481311['debounceTime'](_0x38dc54))),_0x2f0564(this,_0x4cc9f4(0x1b4),_0x50247b[_0x4cc9f4(0x100)]((_0x3d18f1,_0x386ce9)=>{const _0x51519c=_0x4cc9f4,_0x4f6816={'eventID':_0xaf0477[_0x51519c(0x2cf)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x51519c(0x1a3)],'memberID':this['_session'][_0x51519c(0x316)](),'selection':_0x2d8baa[_0x51519c(0x9a)](_0x3d18f1,_0x386ce9[_0x51519c(0x2d4)])}};this['_session']['send'](_0x4f6816,this['unitID']);},_0xa888a6)),(this['unitID']=_0x3a557e,this['_session']=_0x53b906,this[_0x4cc9f4(0xe8)]=_0x17893c,this['_colorAssignService']=_0x49626e,this['_memberService']=_0x422f13,this[_0x4cc9f4(0x2c7)]=_0x106e20,this[_0x4cc9f4(0x1aa)]=_0x54c193,this[_0x4cc9f4(0x155)]=_0x147787);}get['cursorInfo'](){const _0x9e9837=_0x465324;return this[_0x9e9837(0xcb)][_0x9e9837(0x10a)]();}get['roomMembers'](){const _0x4c06ba=_0x465324;return this[_0x4c06ba(0x1a9)][_0x4c06ba(0x10a)]();}[_0x465324(0xc1)](){const _0x5647b1=_0x465324;super[_0x5647b1(0xc1)](),this[_0x5647b1(0xcb)]['next'](new Map()),this['_cursorInfo$'][_0x5647b1(0xf8)](),this[_0x5647b1(0x1a9)][_0x5647b1(0x1d1)]([]),this['_roomMembers$'][_0x5647b1(0xf8)]();}[_0x465324(0xb9)](){const _0x40fe8d=_0x465324;this[_0x40fe8d(0x256)]||(this[_0x40fe8d(0x256)]=!0x0,this['_session'][_0x40fe8d(0x19d)][_0x40fe8d(0x29b)](_0x481311['takeUntil'](this[_0x40fe8d(0x312)]))[_0x40fe8d(0x1a4)](_0x376bd0=>{const _0xd69cbf=_0x40fe8d;_0x376bd0===_0x40916b[_0xd69cbf(0x259)]['ONLINE']?this[_0xd69cbf(0x2ab)]():this['_toggleOffline']();}),this[_0x40fe8d(0x289)]['event$'][_0x40fe8d(0x29b)](_0x481311[_0x40fe8d(0x14f)](this['dispose$']))[_0x40fe8d(0x1a4)](_0x54f8aa=>{const _0x127803=_0x40fe8d,_0x25b3cd=_0x54f8aa[_0x127803(0x166)];_0x25b3cd===_0xaf0477[_0x127803(0x2cf)]['UPDATE_CURSOR']&&this[_0x127803(0x2a5)](_0x54f8aa),_0x25b3cd===_0xaf0477['CollaborationEvent'][_0x127803(0x119)]&&this[_0x127803(0x2bc)](_0x54f8aa);}),this[_0x40fe8d(0x231)](),this[_0x40fe8d(0x148)](this[_0x40fe8d(0x1aa)][_0x40fe8d(0x1e7)](_0x231cf6=>{const _0x1dc188=_0x40fe8d;if(this[_0x1dc188(0x315)]&&_0x231cf6['id']===_0x2db21a[_0x1dc188(0x22f)]['id']&&_0x231cf6[_0x1dc188(0x176)]['unitId']===this[_0x1dc188(0x1a3)]){const _0x3478a5=_0x231cf6['params'];this['_updateLocalCursor'](_0x3478a5[_0x1dc188(0x167)],_0x3478a5['selections'][0x0]);}})));}[_0x465324(0x2a5)](_0x57123a){const _0x31c6e7=_0x465324;var _0x124185,_0x2729b9;const {memberID:_0x5bd700,selection:_0x3a6ff5}=_0x57123a[_0x31c6e7(0x163)],{sheetName:_0x345631,range:_0x51354a}=_0x2d8baa[_0x31c6e7(0x13a)](_0x3a6ff5),_0x30490c={'name':(_0x2729b9=(_0x124185=this[_0x31c6e7(0x11b)][_0x31c6e7(0x131)](this['unitID'],_0x5bd700))==null?void 0x0:_0x124185['name'])!=null?_0x2729b9:_0x31c6e7(0x264),'range':this['_getMergeRange'](_0x345631,_0x51354a),'sheetID':_0x345631,'color':this[_0x31c6e7(0x9e)][_0x31c6e7(0xa6)](_0x5bd700),'selection':_0x3a6ff5},_0x42ff76=this[_0x31c6e7(0xdd)];_0x42ff76[_0x31c6e7(0x154)](_0x5bd700,_0x30490c),this[_0x31c6e7(0xcb)][_0x31c6e7(0x1d1)](_0x42ff76);}[_0x465324(0x2bc)](_0x3b2a7e){const _0x4884d0=_0x465324,{memberID:_0x1e6c8c}=_0x3b2a7e[_0x4884d0(0x163)],_0x505131=this[_0x4884d0(0xdd)];_0x505131[_0x4884d0(0x2bf)](_0x1e6c8c),this[_0x4884d0(0xcb)]['next'](_0x505131);}[_0x465324(0x20c)](_0x208394,_0x362335){const _0xda001e=_0x465324;var _0x269401,_0x17688e;const _0x35b071=(_0x17688e=(_0x269401=this[_0xda001e(0x2c7)][_0xda001e(0xca)](this['unitID']))==null?void 0x0:_0x269401['getSheetBySheetId'](_0x208394))==null?void 0x0:_0x17688e['getMergeData']();return(_0x35b071==null?void 0x0:_0x35b071[_0xda001e(0x306)](_0x22a95d=>_0x50247b[_0xda001e(0xa7)][_0xda001e(0x285)](_0x22a95d,_0x362335)))||_0x362335;}[_0x465324(0x231)](){const _0x3aede5=_0x465324,_0xe88d2a=new _0x50247b[(_0x3aede5(0x295))](),_0x5e3241=_0x12be2b(),_0x2b85c5=()=>{const _0x47e57b=_0x3aede5;_0xe88d2a[_0x47e57b(0xc1)]();const _0x4acbc2=(_0x44a1c1,_0x147377,_0x165aa2,_0xff3bd5)=>{const _0x64624b=_0x47e57b;let _0x1e56ab=[];switch(_0x44a1c1['id']){case _0x2db21a['EffectRefRangId'][_0x64624b(0x17e)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x173)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x1ab)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x27f)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a['EffectRefRangId'][_0x64624b(0x291)]:{_0x1e56ab=_0x2db21a[_0x64624b(0xac)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x2e5)]:{_0x1e56ab=_0x2db21a['handleInsertRangeMoveDown'](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x1e56ab=_0x2db21a[_0x64624b(0x1bf)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)]['InsertRowCommandId']:{_0x1e56ab=_0x2db21a['handleInsertRow'](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x143)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x27c)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x129)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x109)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x180)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x183)](_0x44a1c1,_0xff3bd5);break;}}const _0x3d2319=_0x2db21a[_0x64624b(0x157)](_0x1e56ab,_0xff3bd5),_0x3693a2=this[_0x64624b(0xdd)][_0x64624b(0x2d8)](_0x147377);if(_0x3693a2&&_0x3d2319){const _0x138b50={..._0x3693a2,'range':_0x3d2319};this[_0x64624b(0xdd)][_0x64624b(0x154)](_0x147377,_0x138b50),_0x5e3241(()=>{const _0x504a73=_0x64624b,_0x347281=this[_0x504a73(0x155)][_0x504a73(0x1e9)](_0x3d2319,_0x34bdbf=>(_0x347281['dispose'](),_0x4acbc2(_0x34bdbf,_0x147377,_0x165aa2,_0x3d2319)));_0xe88d2a[_0x504a73(0x246)](_0x347281);});}return{'redos':[],'undos':[]};};this[_0x47e57b(0xdd)][_0x47e57b(0x134)]((_0x259c9e,_0xe2213e)=>{const _0x47ede1=_0x47e57b,{range:_0x39d9da,sheetID:_0x215884}=_0x259c9e,_0x1eba5d=this['_refRangeService']['registerRefRange'](_0x39d9da,_0x3b9eda=>(_0x1eba5d['dispose'](),_0x4acbc2(_0x3b9eda,_0xe2213e,_0x215884,_0x39d9da)));_0xe88d2a[_0x47ede1(0x246)](_0x1eba5d);});};this[_0x3aede5(0x148)](_0x50247b['toDisposable'](this['_cursorInfo$'][_0x3aede5(0x1a4)](()=>{_0x2b85c5();})));}[_0x465324(0x2ab)](){const _0x30157c=_0x465324;var _0x242f6d,_0x42b557;if(this[_0x30157c(0x315)]=!0x0,((_0x242f6d=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x242f6d[_0x30157c(0x324)]())!==this[_0x30157c(0x1a3)])return;const _0x558a82=(_0x42b557=this[_0x30157c(0xe8)][_0x30157c(0x2d8)](_0x2db21a[_0x30157c(0x15b)])[_0x30157c(0xe6)]())==null?void 0x0:_0x42b557[0x0],_0x5b688f=this[_0x30157c(0x2c7)][_0x30157c(0x308)](_0x50247b[_0x30157c(0x319)]['UNIVER_SHEET'])[_0x30157c(0x16a)]();_0x558a82&&_0x5b688f&&this[_0x30157c(0x1b4)](_0x5b688f[_0x30157c(0x97)](),_0x558a82);}[_0x465324(0x1b5)](){this['_online']=!0x1;}};_0x944f80=_0x3aa8c4([_0x4c2e65(0x2,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x4c2e65(0x3,_0x50247b[_0x465324(0x15e)](_0x20e9cb)),_0x4c2e65(0x4,_0x50247b[_0x465324(0x15e)](_0x40916b['MemberService'])),_0x4c2e65(0x5,_0x50247b[_0x465324(0x257)]),_0x4c2e65(0x6,_0x50247b[_0x465324(0xde)]),_0x4c2e65(0x7,_0x50247b['Inject'](_0x2db21a[_0x465324(0x2fb)]))],_0x944f80);var _0xdcda77=Object[_0x465324(0x164)],_0x29923c=(_0x492436,_0x384f84,_0x141f72,_0x59cd29)=>{const _0x48d154=_0x465324;for(var _0x21cf88=_0x59cd29>0x1?void 0x0:_0x59cd29?_0xdcda77(_0x384f84,_0x141f72):_0x384f84,_0x136165=_0x492436[_0x48d154(0x223)]-0x1,_0x543b3a;_0x136165>=0x0;_0x136165--)(_0x543b3a=_0x492436[_0x136165])&&(_0x21cf88=_0x543b3a(_0x21cf88)||_0x21cf88);return _0x21cf88;},_0x530e3a=(_0x10e56d,_0x2fad30)=>(_0x10c681,_0x205948)=>_0x2fad30(_0x10c681,_0x205948,_0x10e56d);let _0x565865=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x175612,_0x30c7ba,_0x1bc47d){const _0x4dbfd3=_0x465324;super(),_0x2f0564(this,_0x4dbfd3(0x1f7),new Map()),_0x2f0564(this,_0x4dbfd3(0x1da),new _0x481311[(_0x4dbfd3(0x127))]()),(this[_0x4dbfd3(0x2c7)]=_0x175612,this[_0x4dbfd3(0xe8)]=_0x30c7ba,this[_0x4dbfd3(0x32a)]=_0x1bc47d,this[_0x4dbfd3(0x256)]());}['dispose'](){const _0x2e4148=_0x465324;super[_0x2e4148(0xc1)](),this['_entityInit$'][_0x2e4148(0xf8)](),this[_0x2e4148(0x1f7)]['forEach'](_0x39be44=>_0x39be44[_0x2e4148(0xc1)]());}[_0x465324(0xfc)](_0x3d219b){const _0x2598fd=_0x465324;return this[_0x2598fd(0x1f7)][_0x2598fd(0xfd)](_0x3d219b)?this['_entities']['get'](_0x3d219b)[_0x2598fd(0x168)]:this[_0x2598fd(0x1da)][_0x2598fd(0x29b)](_0x481311[_0x2598fd(0x111)](_0x44a852=>_0x44a852[_0x2598fd(0x1a3)]===_0x3d219b),_0x481311['switchMap'](_0x4f6791=>_0x4f6791[_0x2598fd(0x168)]));}['_init'](){const _0x33f6c2=_0x465324;this['_univerInstanceService'][_0x33f6c2(0x2b3)](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0xdb)])['pipe'](_0x481311[_0x33f6c2(0x14f)](this['dispose$']))[_0x33f6c2(0x1a4)](async _0x2188d1=>{const _0x3e4704=_0x33f6c2,_0x338cc5=_0x2188d1['getUnitId'](),_0x51ef27=await this['_startSheetCollabCursor'](_0x338cc5);this[_0x3e4704(0x1da)]['next'](_0x51ef27),this[_0x3e4704(0x1f7)][_0x3e4704(0x154)](_0x338cc5,_0x51ef27);}),this['_univerInstanceService'][_0x33f6c2(0x2b3)](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0x18b)])['pipe'](_0x481311[_0x33f6c2(0x14f)](this[_0x33f6c2(0x312)]))[_0x33f6c2(0x29b)](_0x481311[_0x33f6c2(0x111)](_0x42dcfa=>!_0x42dcfa[_0x33f6c2(0x324)]()[_0x33f6c2(0xc9)]('__')))[_0x33f6c2(0x1a4)](async _0x37aafb=>{const _0x225639=_0x33f6c2,_0x49b5d9=_0x37aafb[_0x225639(0x324)](),_0x2f6e09=await this['_startDocCollabCursor'](_0x49b5d9);this[_0x225639(0x1da)][_0x225639(0x1d1)](_0x2f6e09),this['_entities'][_0x225639(0x154)](_0x49b5d9,_0x2f6e09);}),_0x481311['merge'](this[_0x33f6c2(0x2c7)]['getTypeOfUnitDisposed$'](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0x18b)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x50247b[_0x33f6c2(0x319)]['UNIVER_SHEET']))['pipe'](_0x481311[_0x33f6c2(0x14f)](this[_0x33f6c2(0x312)]))[_0x33f6c2(0x1a4)](_0x22b7c6=>{const _0x5da00e=_0x33f6c2,_0x4baf6a=_0x22b7c6[_0x5da00e(0x324)](),_0x1f80ff=this[_0x5da00e(0x1f7)][_0x5da00e(0x2d8)](_0x4baf6a);_0x1f80ff&&(_0x1f80ff['dispose'](),this[_0x5da00e(0x1f7)][_0x5da00e(0x2bf)](_0x4baf6a));});}async[_0x465324(0x2de)](_0x365a37){const _0x1719be=_0x465324,_0x44fe71=await this[_0x1719be(0x32a)][_0x1719be(0x16e)](_0x365a37),_0x46033e=this[_0x1719be(0xe8)][_0x1719be(0x17b)](_0x944f80,_0x365a37,_0x44fe71);return _0x46033e['init'](),_0x46033e;}async[_0x465324(0x195)](_0x2f2c6d){const _0x4e9bcf=_0x465324,_0x5e56f9=await this[_0x4e9bcf(0x32a)]['requireSession'](_0x2f2c6d),_0x12bed0=this['_injector'][_0x4e9bcf(0x17b)](_0x55a4f4,_0x2f2c6d,_0x5e56f9);return _0x12bed0[_0x4e9bcf(0xb9)](),_0x12bed0;}};_0x565865=_0x29923c([_0x530e3a(0x0,_0x50247b['IUniverInstanceService']),_0x530e3a(0x1,_0x50247b['Inject'](_0x50247b['Injector'])),_0x530e3a(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b['CollaborationSessionService']))],_0x565865);const _0x342200=0x14,_0x25862e=0xc8,_0x28d8d9=0x4,_0x2ef096=0x5;function _0x1f2b38(_0x39dc03,_0x46821a){const _0x247214=_0x465324;let {radius:_0xe6adf3,width:_0x18683f,height:_0x327a4b}=_0x46821a;_0xe6adf3=_0xe6adf3!=null?_0xe6adf3:0x0,_0x18683f=_0x18683f!=null?_0x18683f:0x1e,_0x327a4b=_0x327a4b!=null?_0x327a4b:0x1e;let _0x186901=0x0,_0x581604=0x0,_0x7c406a=0x0;_0x186901=_0x581604=_0x7c406a=Math['min'](_0xe6adf3,_0x18683f/0x2,_0x327a4b/0x2),_0x39dc03[_0x247214(0x22c)](),_0x39dc03['moveTo'](_0x186901,0x0),_0x39dc03[_0x247214(0x185)](_0x18683f-_0x581604,0x0),_0x39dc03[_0x247214(0x1f5)](_0x18683f-_0x581604,_0x581604,_0x581604,Math['PI']*0x3/0x2,0x0,!0x1),_0x39dc03[_0x247214(0x185)](_0x18683f,_0x327a4b-_0x7c406a),_0x39dc03['arc'](_0x18683f-_0x7c406a,_0x327a4b-_0x7c406a,_0x7c406a,0x0,Math['PI']/0x2,!0x1),_0x39dc03[_0x247214(0x185)](0x0,_0x327a4b),_0x39dc03[_0x247214(0x185)](0x0,_0x186901),_0x39dc03[_0x247214(0x1f5)](_0x186901,_0x186901,_0x186901,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x39dc03[_0x247214(0x1e0)](),_0x46821a[_0x247214(0x165)]&&(_0x39dc03[_0x247214(0x251)](),_0x39dc03[_0x247214(0x1c5)]=_0x46821a[_0x247214(0x165)],_0x46821a[_0x247214(0x2b6)]===_0x247214(0x262)?_0x39dc03['fill'](_0x247214(0x262)):_0x39dc03['fill'](),_0x39dc03[_0x247214(0xc0)]());}class _0x5a05ec extends _0x24e38c[_0x465324(0x112)]{constructor(_0x57036c,_0x5c44dc){const _0x5a8aaa=_0x465324;super(_0x57036c,_0x5c44dc),_0x2f0564(this,_0x5a8aaa(0x226)),_0x2f0564(this,'text'),(this['color']=_0x5c44dc==null?void 0x0:_0x5c44dc['color'],this['text']=_0x5c44dc==null?void 0x0:_0x5c44dc[_0x5a8aaa(0xec)]);}static[_0x465324(0xa0)](_0x44410d,_0x1b5b89){const _0x3d7388=_0x465324,{text:_0x3136f1,color:_0x126906}=_0x1b5b89;_0x44410d[_0x3d7388(0x251)](),_0x44410d[_0x3d7388(0x1f4)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x368b7d=_0x44410d[_0x3d7388(0x136)](_0x3136f1)['width'],_0x5b872f=Math[_0x3d7388(0x2f8)](_0x368b7d+0x2*_0x28d8d9,_0x25862e);_0x1f2b38(_0x44410d,{'height':_0x342200,'radius':0x4,'width':_0x5b872f,'fill':_0x126906}),_0x44410d['fillStyle']='#FFF';const _0x4561e5=_0x28d8d9,_0x4fef01=_0x342200-_0x2ef096,_0x3dd7c5=_0x25862e-0x2*_0x28d8d9;if(_0x368b7d>_0x3dd7c5){let _0x38dd8e='',_0x4807ff=0x0;for(const _0x5ee768 of _0x3136f1){const _0x3aa83f=_0x44410d[_0x3d7388(0x136)](_0x5ee768)[_0x3d7388(0x1f3)];if(_0x4807ff+_0x3aa83f<=_0x3dd7c5-_0x44410d[_0x3d7388(0x136)](_0x3d7388(0x1b7))['width'])_0x38dd8e+=_0x5ee768,_0x4807ff+=_0x3aa83f;else{_0x38dd8e+=_0x3d7388(0x1b7);break;}}_0x44410d[_0x3d7388(0x12c)](_0x38dd8e,_0x4561e5,_0x4fef01);}else _0x44410d[_0x3d7388(0x12c)](_0x3136f1,_0x4561e5,_0x4fef01);_0x44410d[_0x3d7388(0xc0)]();}[_0x465324(0xa4)](_0x3a741c){const _0x3e0fa6=_0x465324;_0x5a05ec[_0x3e0fa6(0xa0)](_0x3a741c,this);}}const _0x3cdf1e=_0x465324(0x9c),_0x597ba4=_0x465324(0x19f),_0x468fe7='collab-rect-range-',_0x7f852=0x6,_0x2e3d59=1.5,_0x393a7c=0x4,_0x4eebfe=1.5,_0x403f67=_0x465324(0x218);class _0x11a7a{constructor(_0x3b65f9,_0x322ab9,_0x3657a5,_0x5bd32c){const _0x11f1ea=_0x465324;_0x2f0564(this,'_shapes',[]),_0x2f0564(this,_0x11f1ea(0x211),null),_0x2f0564(this,'_textBubble',null),_0x2f0564(this,_0x11f1ea(0xf9),null),_0x2f0564(this,_0x11f1ea(0x27e),null),_0x2f0564(this,_0x11f1ea(0x103),null),(this[_0x11f1ea(0x201)]=_0x3b65f9,this[_0x11f1ea(0x1bd)]=_0x322ab9,this[_0x11f1ea(0xe5)]=_0x3657a5,this['_document']=_0x5bd32c,this['_render']());}set[_0x465324(0x13e)](_0x506420){const _0x10b8a2=_0x465324;_0x506420?(this[_0x10b8a2(0xf9)]&&this['_anchorDot'][_0x10b8a2(0x263)](),this['_textBubble']&&this[_0x10b8a2(0x182)][_0x10b8a2(0x197)]()):(this[_0x10b8a2(0xf9)]&&this['_anchorDot'][_0x10b8a2(0x197)](),this[_0x10b8a2(0x182)]&&this[_0x10b8a2(0x182)]['hide']());}['dispose'](){const _0x21f6d3=_0x465324;for(const _0x27b960 of this[_0x21f6d3(0x15a)])_0x27b960[_0x21f6d3(0xc1)]();this[_0x21f6d3(0x182)]&&this[_0x21f6d3(0x182)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0xf9)]&&this[_0x21f6d3(0xf9)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0x211)]&&this[_0x21f6d3(0x211)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0x103)]&&this[_0x21f6d3(0x103)]();}[_0x465324(0x15f)](){const _0x12f9ef=_0x465324;var _0x284914;const {_docSkeleton:_0x1f13cb,_document:_0xe3e59b}=this,{color:_0x1dfc14,name:_0x40caa3,ranges:_0x3ba9da}=this[_0x12f9ef(0x201)],_0x4436e6=_0xe3e59b['getOffsetConfig'](),{docsLeft:_0x102d6c,docsTop:_0x359120}=_0x4436e6,_0xf679b8=new _0x2b2a5c[(_0x12f9ef(0x150))](_0x4436e6,_0x1f13cb);for(const {startOffset:_0x1e8e4a,endOffset:_0x59a5d8,rangeType:_0x430547,segmentId:_0x5b3c49,segmentPage:_0x50b9c7,collapsed:_0xee1c02,isActive:_0x21840b}of _0x3ba9da){const _0x2c7706=_0x1f13cb[_0x12f9ef(0x1c3)](_0x1e8e4a,!0x0,_0x5b3c49,_0x50b9c7);let _0x4f3a99=_0x1f13cb[_0x12f9ef(0x1c3)](_0x59a5d8,!0x0,_0x5b3c49,_0x50b9c7);if(_0x4f3a99==null&&(_0x4f3a99=_0x1f13cb[_0x12f9ef(0x1c3)](_0x59a5d8-0x1,!0x1,_0x5b3c49,_0x50b9c7)),_0x21840b){const {contentBoxPointGroup:_0x670cc1}=_0xf679b8[_0x12f9ef(0xa2)](_0x4f3a99,_0x4f3a99);if(_0x670cc1['length']===0x0)continue;this['_drawAnchor'](_0x1dfc14,_0x670cc1,_0x102d6c,_0x359120,_0x40caa3),this[_0x12f9ef(0x103)]=this[_0x12f9ef(0xa8)]();}if(_0x2c7706&&_0x4f3a99){if(_0x430547===_0x50247b[_0x12f9ef(0x280)][_0x12f9ef(0xbc)]){const _0x577af2=new _0x2b2a5c[(_0x12f9ef(0x227))](_0x4436e6,_0x1f13cb),{pointGroup:_0x2f3776}=(_0x284914=_0x577af2[_0x12f9ef(0xa2)](_0x2c7706,_0x4f3a99))!=null?_0x284914:{};if(_0x2f3776==null||_0x2f3776[_0x12f9ef(0x223)]===0x0)continue;this[_0x12f9ef(0x11a)](_0x1dfc14,_0x2f3776,_0x102d6c,_0x359120);}else{if(!_0xee1c02){const {borderBoxPointGroup:_0x2a1027}=_0xf679b8[_0x12f9ef(0xa2)](_0x2c7706,_0x4f3a99);if(_0x2a1027['length']===0x0)continue;this[_0x12f9ef(0x28b)](_0x1dfc14,_0x2a1027,_0x102d6c,_0x359120);}}}}}[_0x465324(0x2fd)](_0x53ad08,_0xcf26d5,_0x308875,_0x5edf61,_0x1695ab){const _0x1cd708=_0x465324,_0xd95aad=this[_0x1cd708(0x2c3)](_0xcf26d5),{left:_0x1dcf28,top:_0x355f90,height:_0x2725ea}=_0xd95aad,_0x19b89b=this[_0x1cd708(0x120)](),_0x5a1764=_0x4eebfe/_0x19b89b,_0x2187c3=new _0x24e38c[(_0x1cd708(0x26a))](_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)][_0x1cd708(0x102)](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61,'height':_0x2725ea,'width':_0x2e3d59,'fill':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)]['black'],0x0),'strokeWidth':_0x5a1764,'stroke':_0x403f67,'evented':!0x0});this['_anchor']=_0x2187c3,this['_scene'][_0x1cd708(0x219)](_0x2187c3,_0x2b2a5c[_0x1cd708(0x2ce)]);const _0x3e9b5a=new _0x24e38c[(_0x1cd708(0x26a))](_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)]['generateRandomId'](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61-_0x393a7c/0x2,'height':_0x393a7c,'width':_0x393a7c,'fill':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)][_0x1cd708(0x2a3)],0x0),'strokeWidth':0x0,'stroke':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)]['black'],0x0),'evented':!0x1});this[_0x1cd708(0xf9)]=_0x3e9b5a,this['_scene'][_0x1cd708(0x219)](_0x3e9b5a,_0x2b2a5c[_0x1cd708(0x2ce)]);const _0x37c6d5=new _0x5a05ec(_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)][_0x1cd708(0x102)](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61-_0x342200,'text':_0x1695ab,'color':_0x53ad08});this[_0x1cd708(0x182)]=_0x37c6d5,this['_scene'][_0x1cd708(0x219)](_0x37c6d5,_0x2b2a5c['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x3acf89=_0x465324,_0x18d078=this['_anchor'][_0x3acf89(0x123)]['subscribeEvent'](()=>{const _0x6b2714=_0x3acf89;this[_0x6b2714(0x13e)]=!0x0;}),_0x1230d8=this[_0x3acf89(0x211)]['onPointerLeave$'][_0x3acf89(0x31c)](()=>{const _0x83f1a2=_0x3acf89;this[_0x83f1a2(0x27e)]&&clearTimeout(this[_0x83f1a2(0x27e)]),this[_0x83f1a2(0x27e)]=setTimeout(()=>{const _0x26e50c=_0x83f1a2;this[_0x26e50c(0x13e)]=!0x1;},0x7d0);});return()=>{const _0x465b08=_0x3acf89;_0x18d078[_0x465b08(0x2b0)](),_0x1230d8[_0x465b08(0x2b0)]();};}[_0x465324(0x28b)](_0x3e0ff1,_0x520455,_0x16ebef,_0x397e23){const _0x47183d=_0x465324,_0x251126=new _0x50247b[(_0x47183d(0xcc))](_0x3e0ff1)[_0x47183d(0x2c4)](0.2)[_0x47183d(0xbd)](),_0x556466=new _0x24e38c['RegularPolygon'](_0x597ba4+_0x50247b[_0x47183d(0x1be)][_0x47183d(0x102)](_0x7f852),{'pointsGroup':_0x520455,'fill':_0x251126||_0x24e38c[_0x47183d(0x1a5)](_0x50247b[_0x47183d(0x2b8)][_0x47183d(0x2a3)],0.2),'left':_0x16ebef,'top':_0x397e23,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47183d(0x15a)][_0x47183d(0xc3)](_0x556466),this['_scene'][_0x47183d(0x219)](_0x556466,_0x2b2a5c[_0x47183d(0x2ce)]);}[_0x465324(0x11a)](_0x89efe1,_0x4326ff,_0xa2650f,_0x5ea4ce){const _0x32afec=_0x465324,_0x48e793=new _0x50247b['ColorKit'](_0x89efe1)[_0x32afec(0x2c4)](0.2)['toRgbString'](),_0x490ee6=new _0x24e38c['RegularPolygon'](_0x468fe7+_0x50247b[_0x32afec(0x1be)][_0x32afec(0x102)](_0x7f852),{'pointsGroup':_0x4326ff,'fill':_0x48e793||_0x24e38c[_0x32afec(0x1a5)](_0x50247b[_0x32afec(0x2b8)]['black'],0.2),'left':_0xa2650f,'top':_0x5ea4ce,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32afec(0x15a)][_0x32afec(0xc3)](_0x490ee6),this[_0x32afec(0x1bd)][_0x32afec(0x219)](_0x490ee6,_0x2b2a5c[_0x32afec(0x2ce)]);}['_getAnchorBounding'](_0x2d386c){const _0xcf90fe=_0x2d386c[0x0],_0x4cc6f8=_0xcf90fe[0x0],_0x3a24e9=_0xcf90fe[0x2],{x:_0x4dc688,y:_0x2fb108}=_0x4cc6f8,{x:_0x3259d6,y:_0xe613e7}=_0x3a24e9;return{'left':_0x4dc688,'top':_0x2fb108,'width':_0x3259d6-_0x4dc688,'height':_0xe613e7-_0x2fb108};}[_0x465324(0x120)](){const _0x3b8c53=_0x465324,{scaleX:_0x3d5704,scaleY:_0xf1556}=this[_0x3b8c53(0x1bd)][_0x3b8c53(0x31f)]();return Math[_0x3b8c53(0x2a8)](_0x3d5704,_0xf1556);}}var _0x46aa48=Object[_0x465324(0x164)],_0x4a77d1=(_0xe0df36,_0x47b18a,_0x37e9c9,_0x14a6fd)=>{const _0x1406c4=_0x465324;for(var _0x32a83a=_0x14a6fd>0x1?void 0x0:_0x14a6fd?_0x46aa48(_0x47b18a,_0x37e9c9):_0x47b18a,_0xbb35d0=_0xe0df36[_0x1406c4(0x223)]-0x1,_0x36f37f;_0xbb35d0>=0x0;_0xbb35d0--)(_0x36f37f=_0xe0df36[_0xbb35d0])&&(_0x32a83a=_0x36f37f(_0x32a83a)||_0x32a83a);return _0x32a83a;},_0x2379eb=(_0xb3b0e3,_0x392c05)=>(_0x2f0ab5,_0x1e1f98)=>_0x392c05(_0x2f0ab5,_0x1e1f98,_0xb3b0e3);let _0x8254e1=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x958283,_0x27b7f7,_0x398675,_0x9c3f80,_0x3cae7f){const _0x2ae5d0=_0x465324;super(),_0x2f0564(this,_0x2ae5d0(0x302),[]),_0x2f0564(this,'_cursors',[]),(this['_context']=_0x958283,this[_0x2ae5d0(0x96)]=_0x27b7f7,this[_0x2ae5d0(0xe7)]=_0x398675,this[_0x2ae5d0(0x1aa)]=_0x9c3f80,this[_0x2ae5d0(0x1f9)]=_0x3cae7f,this['_init']());}['_init'](){const _0x4756e4=_0x465324,_0x3dbd72=this[_0x4756e4(0x12a)][_0x4756e4(0x107)],_0x4ebaf7=this[_0x4756e4(0x96)];this[_0x4756e4(0x148)](_0x481311['combineLatest']([this[_0x4756e4(0xe7)][_0x4756e4(0xfc)](_0x3dbd72),this[_0x4756e4(0x1f9)][_0x4756e4(0x153)]])[_0x4756e4(0x29b)](_0x3846e5['map'](([_0x346f95,_0x21925e])=>({'skeleton':_0x4ebaf7[_0x4756e4(0x17a)](),'cursors':[..._0x346f95[_0x4756e4(0x2e3)]()]['flatMap'](_0x3886b9=>({..._0x3886b9,'color':this[_0x4756e4(0x1f9)][_0x4756e4(0x2c9)](_0x3886b9[_0x4756e4(0x226)])}))})))[_0x4756e4(0x1a4)](_0x535249=>{const _0x3e7187=_0x4756e4;if(this[_0x3e7187(0x317)](),_0x535249){const {skeleton:_0x22f2ff,cursors:_0x1e7f04}=_0x535249;this[_0x3e7187(0x326)](_0x22f2ff,_0x1e7f04);}})),this[_0x4756e4(0x12f)](),this[_0x4756e4(0x2c5)]();}['_updateCollabCursors'](_0x169925,_0x5dcbd9){const _0x2da746=_0x465324,{scene:_0x40b1a1,mainComponent:_0x3f1989}=this['_context'],_0x32ed80=_0x5dcbd9[_0x2da746(0xb4)](_0x35a529=>new _0x11a7a(_0x35a529,_0x40b1a1,_0x169925,_0x3f1989));this[_0x2da746(0x302)]=_0x32ed80,this['_cursors']=_0x5dcbd9;}[_0x465324(0x181)](){const _0x259d96=_0x465324;this[_0x259d96(0x317)]();const {scene:_0x817338,mainComponent:_0x5b6dd7}=this[_0x259d96(0x12a)],_0xaa658f=this[_0x259d96(0x96)][_0x259d96(0x17a)](),_0x4f3605=this[_0x259d96(0x2b7)][_0x259d96(0xb4)](_0x1af61a=>new _0x11a7a(_0x1af61a,_0x817338,_0xaa658f,_0x5b6dd7));this[_0x259d96(0x302)]=_0x4f3605;}[_0x465324(0x317)](){const _0x287a6c=_0x465324;this[_0x287a6c(0x302)][_0x287a6c(0x134)](_0x163658=>_0x163658[_0x287a6c(0xc1)]()),this[_0x287a6c(0x302)]=[];}[_0x465324(0x2c5)](){const _0x4f75f6=_0x465324,_0x5bb7ce=[_0x2b2a5c[_0x4f75f6(0x1c1)]['id']];this[_0x4f75f6(0x148)](this[_0x4f75f6(0x1aa)][_0x4f75f6(0x1e7)](_0x378dee=>{const _0x56565c=_0x4f75f6;_0x5bb7ce[_0x56565c(0x21b)](_0x378dee['id'])&&_0x378dee[_0x56565c(0x176)][_0x56565c(0x107)]===this[_0x56565c(0x12a)][_0x56565c(0x107)]&&this[_0x56565c(0x181)]();}));}[_0x465324(0x12f)](){const _0x5bef6d=_0x465324;this[_0x5bef6d(0x148)](_0x50247b[_0x5bef6d(0x1c9)](this[_0x5bef6d(0x12a)][_0x5bef6d(0x2ba)]['onTransformChange$'])[_0x5bef6d(0x29b)](_0x3846e5['filter'](_0x3f6e40=>_0x3f6e40[_0x5bef6d(0x177)]===_0x24e38c[_0x5bef6d(0x22b)][_0x5bef6d(0x1b8)]),_0x3846e5[_0x5bef6d(0xd7)](0x10))[_0x5bef6d(0x1a4)](()=>{const _0x2da810=_0x5bef6d;this[_0x2da810(0x181)]();}));}};_0x8254e1=_0x4a77d1([_0x2379eb(0x1,_0x50247b['Inject'](_0x2136d0[_0x465324(0x191)])),_0x2379eb(0x2,_0x50247b['Inject'](_0x565865)),_0x2379eb(0x3,_0x50247b[_0x465324(0xde)]),_0x2379eb(0x4,_0x50247b['Inject'](_0x50247b['ThemeService']))],_0x8254e1);const _0x19f6b7=0x1,_0x216340=1.5;class _0x25a3fc extends _0x24e38c[_0x465324(0x112)]{constructor(_0x14fc93,_0x3875ee){const _0x1372d5=_0x465324;super(_0x14fc93,_0x3875ee),_0x2f0564(this,_0x1372d5(0xaa)),_0x2f0564(this,_0x1372d5(0x193),!0x1),_0x2f0564(this,_0x1372d5(0x2d1)),_0x2f0564(this,'_name',''),_0x2f0564(this,_0x1372d5(0x9d),'top'),_0x2f0564(this,_0x1372d5(0x204)),(_0x3875ee&&this[_0x1372d5(0x13c)](_0x3875ee),this[_0x1372d5(0x123)][_0x1372d5(0x31c)](()=>this[_0x1372d5(0x13c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1372d5(0x31c)](()=>this[_0x1372d5(0x13c)]({'hovered':!0x1})));}[_0x465324(0x13c)](_0x1d41fe){const _0xf1eef=_0x465324;var _0x381e82,_0x5b126b,_0x5745f6,_0x2f9b9f,_0x45dfdb,_0x33cd68;this[_0xf1eef(0xaa)]=(_0x381e82=_0x1d41fe[_0xf1eef(0x226)])!=null?_0x381e82:this['_color'],this['_hovered']=(_0x5b126b=_0x1d41fe[_0xf1eef(0x268)])!=null?_0x5b126b:this[_0xf1eef(0x193)],this[_0xf1eef(0x2d1)]=(_0x5745f6=_0x1d41fe[_0xf1eef(0x2d4)])!=null?_0x5745f6:this[_0xf1eef(0x2d1)],this[_0xf1eef(0x234)]=(_0x2f9b9f=_0x1d41fe[_0xf1eef(0x18d)])!=null?_0x2f9b9f:this[_0xf1eef(0x234)],this[_0xf1eef(0x9d)]=(_0x45dfdb=_0x1d41fe[_0xf1eef(0x224)])!=null?_0x45dfdb:this['_labelPosition'],this[_0xf1eef(0x204)]=(_0x33cd68=_0x1d41fe[_0xf1eef(0xb6)])!=null?_0x33cd68:this[_0xf1eef(0x204)],this[_0xf1eef(0xc4)]({'width':_0x1d41fe[_0xf1eef(0x1f3)],'height':_0x1d41fe[_0xf1eef(0x21f)]});}['onMouseMove'](_0x1d2f52){const _0x5d6b85=_0x465324,{row:_0x4d202e,column:_0x30e360}=_0x1d2f52;if(_0x4d202e>=this[_0x5d6b85(0x2d1)][_0x5d6b85(0x311)]&&_0x4d202e<=this['_range'][_0x5d6b85(0x124)]&&_0x30e360>=this[_0x5d6b85(0x2d1)]['startColumn']&&_0x30e360<=this['_range'][_0x5d6b85(0x14d)]){this[_0x5d6b85(0x13c)]({'hovered':!0x0});return;}this[_0x5d6b85(0x13c)]({'hovered':!0x1});}[_0x465324(0x266)](_0x1b38a8){return!0x1;}[_0x465324(0xa4)](_0x3edfe4){const _0x275631=_0x465324;_0x24e38c['Rect'][_0x275631(0xa0)](_0x3edfe4,{'width':this[_0x275631(0x1f3)],'height':this[_0x275631(0x21f)],'strokeWidth':_0x216340,'stroke':this[_0x275631(0xaa)],'evented':!0x1,'fill':this[_0x275631(0x204)]}),this[_0x275631(0x193)]&&(_0x3edfe4[_0x275631(0x251)](),_0x3edfe4['transform'](0x1,0x0,0x0,0x1,this[_0x275631(0x1f3)],this[_0x275631(0x9d)]==='bottom'?0x0:-0x14),_0x5a05ec[_0x275631(0xa0)](_0x3edfe4,{'text':this[_0x275631(0x234)],'color':this[_0x275631(0xaa)]}),_0x3edfe4['restore']());}}var _0x47152c=Object[_0x465324(0x164)],_0x4b6c67=(_0x43a943,_0x48dee1,_0x4bc6f9,_0x2a6c6d)=>{const _0x5eea2f=_0x465324;for(var _0xbc7ed1=_0x2a6c6d>0x1?void 0x0:_0x2a6c6d?_0x47152c(_0x48dee1,_0x4bc6f9):_0x48dee1,_0x20bf4a=_0x43a943[_0x5eea2f(0x223)]-0x1,_0x109cf5;_0x20bf4a>=0x0;_0x20bf4a--)(_0x109cf5=_0x43a943[_0x20bf4a])&&(_0xbc7ed1=_0x109cf5(_0xbc7ed1)||_0xbc7ed1);return _0xbc7ed1;},_0x1dd898=(_0x107b58,_0xca7cdf)=>(_0xcb03dc,_0x14baa3)=>_0xca7cdf(_0xcb03dc,_0x14baa3,_0x107b58);const _0x34fbad=0x1389;let _0x250f25=class extends _0x50247b['RxDisposable']{constructor(_0x5b3814,_0x556173,_0x3627e4,_0x47f490){const _0x14aa80=_0x465324;super(),_0x2f0564(this,_0x14aa80(0x2b7),new Set()),_0x2f0564(this,_0x14aa80(0x174),null),(this['_context']=_0x5b3814,this[_0x14aa80(0x1a8)]=_0x556173,this[_0x14aa80(0xe7)]=_0x3627e4,this[_0x14aa80(0x1f9)]=_0x47f490,this[_0x14aa80(0x256)]());}[_0x465324(0x256)](){const _0x4dde47=_0x465324;this[_0x4dde47(0x1a8)][_0x4dde47(0x272)][_0x4dde47(0x29b)](_0x3846e5[_0x4dde47(0x14f)](this[_0x4dde47(0x312)]),_0x3846e5[_0x4dde47(0x137)](_0x8662f=>{const _0xd0133e=_0x4dde47;if(_0x8662f){const _0x524b5f=_0x8662f[_0xd0133e(0x14a)];return _0x481311[_0xd0133e(0x161)](this[_0xd0133e(0xe7)][_0xd0133e(0xfc)](this['_context'][_0xd0133e(0x107)]),this['_themeService']['currentTheme$'])[_0xd0133e(0x29b)](_0x3846e5[_0xd0133e(0xb4)](([_0x123180,_0x7e733f])=>{const _0xf2fb21=_0xd0133e,_0x152fb5=new Map();return _0x123180[_0xf2fb21(0x134)]((_0x103999,_0x5d5637)=>{const _0x160f1c=_0xf2fb21;if(_0x103999[_0x160f1c(0x2e1)]===_0x524b5f){const _0x29c906={..._0x103999};_0x29c906['color']=this[_0x160f1c(0x1f9)][_0x160f1c(0x2c9)](_0x103999[_0x160f1c(0x226)]),_0x152fb5[_0x160f1c(0x154)](_0x5d5637,_0x29c906);}}),{'skeleton':_0x8662f,'cursors':_0x152fb5};}));}return _0x481311['of']({'skeleton':null,'cursors':new Map()});}))[_0x4dde47(0x1a4)](({skeleton:_0x4ac6de,cursors:_0x46b39c})=>{const _0x163fac=_0x4dde47;this[_0x163fac(0x317)](),_0x4ac6de&&this[_0x163fac(0x326)](_0x4ac6de,_0x46b39c);}),this[_0x4dde47(0x1a8)][_0x4dde47(0x272)][_0x4dde47(0x1a4)](_0x2e260e=>{const _0x14c02d=_0x4dde47;if(_0x2e260e==null)return;const {skeleton:_0x527dc7}=_0x2e260e,{scene:_0x275234}=this[_0x14c02d(0x12a)];_0x275234[_0x14c02d(0x17d)][_0x14c02d(0x31c)](_0x50247b[_0x14c02d(0x100)](_0x742015=>{const _0x3cd0ab=_0x14c02d;var _0x42a2d9,_0x55abaa;const {offsetX:_0x2dffb8,offsetY:_0x2e269c}=_0x742015,{x:_0x40f392,y:_0x48e505}=_0x275234[_0x3cd0ab(0x2cc)](_0x24e38c[_0x3cd0ab(0x313)][_0x3cd0ab(0x151)]([_0x2dffb8,_0x2e269c])),{scaleX:_0x33a816,scaleY:_0x353519}=_0x275234['getAncestorScale'](),_0x209027=_0x275234[_0x3cd0ab(0x261)](_0x24e38c[_0x3cd0ab(0xda)][_0x3cd0ab(0x215)]),_0x595d44=_0x275234[_0x3cd0ab(0xd2)](_0x24e38c[_0x3cd0ab(0x313)]['FromArray']([_0x40f392,_0x48e505]),_0x209027),_0x4b46b8=_0x527dc7[_0x3cd0ab(0x2d2)](_0x2dffb8,_0x2e269c,_0x33a816,_0x353519,_0x595d44);((_0x42a2d9=this['_lastPointer'])==null?void 0x0:_0x42a2d9['column'])===_0x4b46b8['column']&&((_0x55abaa=this[_0x3cd0ab(0x174)])==null?void 0x0:_0x55abaa[_0x3cd0ab(0x299)])===_0x4b46b8[_0x3cd0ab(0x299)]||this[_0x3cd0ab(0x2b7)][_0x3cd0ab(0x134)](_0x1f594d=>{const _0x315f6a=_0x3cd0ab;_0x1f594d[_0x315f6a(0x17c)](_0x4b46b8);});},0x64));});}[_0x465324(0x326)](_0x5a02db,_0x4d7052){const _0x4d63ff=_0x465324;var _0x40372f;const _0x5846ca=(_0x40372f=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x40372f['skeleton'];if(!_0x5846ca)return;const _0x25820b=this[_0x4d63ff(0x18e)]();if(!_0x25820b)return;this['_cursors'][_0x4d63ff(0x134)](_0x29827f=>{_0x29827f['makeDirty']();});const {scene:_0x55a314}=_0x25820b,_0x4535a8=_0x41e2db(Array[_0x4d63ff(0x279)](_0x4d7052['values']()))['map'](_0x1a5e0b=>{const _0x5c0e56=_0x4d63ff,{color:_0x1b0f9b,range:_0x3c4873,name:_0x437e02,selection:_0x8bfeb4,sheetID:_0x598d29}=_0x1a5e0b,{startColumn:_0x5db4d2,startRow:_0x12bda0,endColumn:_0x1e4379,endRow:_0x512ee2}=_0x3c4873,_0x51517b=_0x28ba35['getCoordByCell'](_0x12bda0,_0x5db4d2,_0x55a314,_0x5846ca),_0x2eb574=_0x28ba35[_0x5c0e56(0xb3)](_0x512ee2,_0x1e4379,_0x55a314,_0x5846ca),{columnHeaderHeightAndMarginTop:_0x5aa691}=_0x5846ca,{startX:_0x58fe1f,startY:_0x202105}=_0x51517b,{endX:_0x4895d4,endY:_0x5934d4}=_0x2eb574,_0x29c228=_0x4895d4-_0x58fe1f,_0x126c0b=_0x5934d4-_0x202105,_0x33a174={'labelPosition':_0x202105-_0x5aa691>=_0x342200?_0x5c0e56(0xee):_0x5c0e56(0x28a),'sheetID':_0x598d29,'range':_0x3c4873,'color':_0x1b0f9b,'name':_0x437e02,'selection':_0x8bfeb4,'left':_0x58fe1f,'top':_0x202105,'width':_0x29c228,'height':_0x126c0b,'evented':!0x1,'zIndex':_0x34fbad};return new _0x25a3fc(_0x437e02,_0x33a174);});_0x55a314[_0x4d63ff(0x27b)](_0x4535a8,_0x19f6b7),this[_0x4d63ff(0x2b7)]=new Set(_0x4535a8);}[_0x465324(0x317)](){const _0x539888=_0x465324;var _0xc210b1;(_0xc210b1=this['_cursors'])==null||_0xc210b1[_0x539888(0x134)](_0x49cbfd=>_0x49cbfd[_0x539888(0xc1)]());}[_0x465324(0x18e)](){const _0x4fdf6d=_0x465324;return _0x28ba35[_0x4fdf6d(0x18c)](this[_0x4fdf6d(0x12a)][_0x4fdf6d(0xfa)],this[_0x4fdf6d(0x12a)]);}};_0x250f25=_0x4b6c67([_0x1dd898(0x1,_0x50247b[_0x465324(0x15e)](_0x28ba35[_0x465324(0x216)])),_0x1dd898(0x2,_0x50247b[_0x465324(0x15e)](_0x565865)),_0x1dd898(0x3,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x28e)]))],_0x250f25);function _0x41e2db(_0x373535){const _0x1858d9=_0x465324,_0x3adaeb=new Map();return _0x373535[_0x1858d9(0x134)](_0x23ce8d=>{const _0x213c12=_0x1858d9;if(_0x3adaeb[_0x213c12(0xfd)](_0x23ce8d[_0x213c12(0xbe)])){const _0x5611ea=_0x3adaeb[_0x213c12(0x2d8)](_0x23ce8d[_0x213c12(0xbe)]);_0x5611ea[_0x213c12(0x18d)]+=',\x20'+_0x23ce8d['name'];}else _0x3adaeb['set'](_0x23ce8d[_0x213c12(0xbe)],_0x23ce8d);}),Array['from'](_0x3adaeb[_0x1858d9(0x2e3)]());}var _0x4d02a0=function(){return _0x4d02a0=Object['assign']||function(_0x16811e){const _0x451349=_0x4c50;for(var _0x2cdb56,_0x4f06d7=0x1,_0xf6be29=arguments[_0x451349(0x223)];_0x4f06d7<_0xf6be29;_0x4f06d7++){_0x2cdb56=arguments[_0x4f06d7];for(var _0x1651e2 in _0x2cdb56)Object[_0x451349(0x2dd)][_0x451349(0x19b)][_0x451349(0x233)](_0x2cdb56,_0x1651e2)&&(_0x16811e[_0x1651e2]=_0x2cdb56[_0x1651e2]);}return _0x16811e;},_0x4d02a0['apply'](this,arguments);},_0x359641=function(_0x237f91,_0x187339){const _0x4e9a5f=_0x465324;var _0xa6079c={};for(var _0x34f9ca in _0x237f91)Object[_0x4e9a5f(0x2dd)][_0x4e9a5f(0x19b)][_0x4e9a5f(0x233)](_0x237f91,_0x34f9ca)&&_0x187339[_0x4e9a5f(0x1c6)](_0x34f9ca)<0x0&&(_0xa6079c[_0x34f9ca]=_0x237f91[_0x34f9ca]);if(_0x237f91!=null&&typeof Object['getOwnPropertySymbols']==_0x4e9a5f(0x12e)){for(var _0x29318f=0x0,_0x34f9ca=Object[_0x4e9a5f(0xdc)](_0x237f91);_0x29318f<_0x34f9ca['length'];_0x29318f++)_0x187339[_0x4e9a5f(0x1c6)](_0x34f9ca[_0x29318f])<0x0&&Object['prototype'][_0x4e9a5f(0x146)][_0x4e9a5f(0x233)](_0x237f91,_0x34f9ca[_0x29318f])&&(_0xa6079c[_0x34f9ca[_0x29318f]]=_0x237f91[_0x34f9ca[_0x29318f]]);}return _0xa6079c;},_0x24ede3=_0x998dec[_0x465324(0x106)](function(_0x2e2705,_0x2e0d53){const _0x27ab75=_0x465324;var _0x3a7a78=_0x2e2705[_0x27ab75(0xd9)],_0x7bf77d=_0x2e2705['id'],_0x59bf51=_0x2e2705[_0x27ab75(0x28f)],_0x18e3b3=_0x2e2705[_0x27ab75(0x28d)],_0x2b8ae2=_0x359641(_0x2e2705,[_0x27ab75(0xd9),'id',_0x27ab75(0x28f),_0x27ab75(0x28d)]),_0xae0fa2=_0x27ab75(0x1a0)[_0x27ab75(0x25b)](_0x7bf77d,'\x20')[_0x27ab75(0x25b)](_0x59bf51||'')[_0x27ab75(0x172)](),_0x13879b=_0x998dec[_0x27ab75(0x2ad)]('_'[_0x27ab75(0x25b)](_0x689a83()));return _0x1b140c(_0x3a7a78,''[_0x27ab75(0x25b)](_0x7bf77d),{'defIds':_0x3a7a78[_0x27ab75(0xeb)],'idSuffix':_0x13879b[_0x27ab75(0x29f)]},_0x4d02a0({'ref':_0x2e0d53,'className':_0xae0fa2},_0x2b8ae2),_0x18e3b3);});function _0x1b140c(_0x5d851a,_0x4c38e3,_0x1d2d66,_0x26ccda,_0x2aecc4){const _0x4b8a21=_0x465324;return _0x998dec['createElement'](_0x5d851a[_0x4b8a21(0x25c)],_0x4d02a0(_0x4d02a0({'key':_0x4c38e3},_0xf59f(_0x5d851a,_0x1d2d66,_0x2aecc4)),_0x26ccda),(_0xff4871(_0x5d851a,_0x1d2d66)[_0x4b8a21(0x244)]||[])[_0x4b8a21(0xb4)](function(_0x115ccc,_0x1e4cc1){const _0x1eb746=_0x4b8a21;return _0x1b140c(_0x115ccc,''['concat'](_0x4c38e3,'-')[_0x1eb746(0x25b)](_0x5d851a[_0x1eb746(0x25c)],'-')[_0x1eb746(0x25b)](_0x1e4cc1),_0x1d2d66,void 0x0,_0x2aecc4);}));}function _0xf59f(_0x310d1f,_0x22103f,_0x47e515){const _0x14f530=_0x465324;var _0x303c3e=_0x4d02a0({},_0x310d1f[_0x14f530(0x221)]);_0x47e515!=null&&_0x47e515[_0x14f530(0x189)]&&_0x303c3e[_0x14f530(0x165)]===_0x14f530(0x189)&&(_0x303c3e[_0x14f530(0x165)]=_0x47e515['colorChannel1']),_0x310d1f[_0x14f530(0x25c)]===_0x14f530(0x2f7)&&_0x303c3e['id']&&(_0x303c3e['id']=_0x303c3e['id']+_0x22103f['idSuffix']),Object[_0x14f530(0x32c)](_0x303c3e)['forEach'](function(_0xd4dd08){const _0x3a137d=_0x14f530;var _0x4e2579=_0xd4dd08[0x0],_0x41be49=_0xd4dd08[0x1];_0x4e2579===_0x3a137d(0x2f7)&&typeof _0x41be49==_0x3a137d(0x19e)&&(_0x303c3e[_0x4e2579]=_0x41be49['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x22103f[_0x3a137d(0x1fa)],')')));});var _0x37fef7=_0x22103f[_0x14f530(0xeb)];return!_0x37fef7||_0x37fef7[_0x14f530(0x223)]===0x0||(_0x310d1f[_0x14f530(0x25c)]===_0x14f530(0x11e)&&_0x303c3e[_0x14f530(0x158)]&&(_0x303c3e[_0x14f530(0x158)]=_0x303c3e[_0x14f530(0x158)]+_0x22103f[_0x14f530(0x1fa)]),Object[_0x14f530(0x32c)](_0x303c3e)[_0x14f530(0x134)](function(_0x571200){const _0x3e8da9=_0x14f530;var _0x512ad3=_0x571200[0x0],_0x1a62bc=_0x571200[0x1];typeof _0x1a62bc==_0x3e8da9(0x19e)&&(_0x303c3e[_0x512ad3]=_0x1a62bc[_0x3e8da9(0x25e)](/url\(#(.*)\)/,'url(#$1'[_0x3e8da9(0x25b)](_0x22103f[_0x3e8da9(0x1fa)],')')));})),_0x303c3e;}function _0xff4871(_0x449f60,_0xcb3dfe){const _0x44c5d9=_0x465324;var _0x17f27b,_0x2504d4=_0xcb3dfe[_0x44c5d9(0xeb)];return!_0x2504d4||_0x2504d4[_0x44c5d9(0x223)]===0x0?_0x449f60:_0x449f60['tag']===_0x44c5d9(0x214)&&(!((_0x17f27b=_0x449f60[_0x44c5d9(0x244)])===null||_0x17f27b===void 0x0)&&_0x17f27b[_0x44c5d9(0x223)])?_0x4d02a0(_0x4d02a0({},_0x449f60),{'children':_0x449f60[_0x44c5d9(0x244)][_0x44c5d9(0xb4)](function(_0x401b2e){const _0x2d0fee=_0x44c5d9;return typeof _0x401b2e['attrs']['id']==_0x2d0fee(0x19e)&&_0x2504d4&&_0x2504d4['includes'](_0x401b2e[_0x2d0fee(0x221)]['id'])?_0x4d02a0(_0x4d02a0({},_0x401b2e),{'attrs':_0x4d02a0(_0x4d02a0({},_0x401b2e['attrs']),{'id':_0x401b2e[_0x2d0fee(0x221)]['id']+_0xcb3dfe[_0x2d0fee(0x1fa)]})}):_0x401b2e;})}):_0x449f60;}function _0x689a83(){const _0x4db3a5=_0x465324;return Math[_0x4db3a5(0x2ac)]()[_0x4db3a5(0x255)](0x24)[_0x4db3a5(0x192)](0x2,0x8);}_0x24ede3[_0x465324(0xa3)]=_0x465324(0x235);var _0x5a22c3={'tag':_0x465324(0x95),'attrs':{'xmlns':_0x465324(0xb8),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x465324(0x170),'height':_0x465324(0x170)},'children':[{'tag':'g','attrs':{'clipPath':_0x465324(0x2f1)},'children':[{'tag':_0x465324(0x115),'attrs':{'stroke':_0x465324(0x1cb),'d':_0x465324(0x238),'strokeLinecap':_0x465324(0x32b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x465324(0x214),'attrs':{},'children':[{'tag':_0x465324(0x1a2),'attrs':{'id':_0x465324(0x318)},'children':[{'tag':_0x465324(0x115),'attrs':{'fill':_0x465324(0x225),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x465324(0x318)]},_0xdbca98=_0x998dec[_0x465324(0x106)](function(_0xc4d851,_0x2c3e64){const _0x1bb2c0=_0x465324;return _0x998dec[_0x1bb2c0(0x322)](_0x24ede3,Object[_0x1bb2c0(0x2eb)]({},_0xc4d851,{'id':_0x1bb2c0(0x198),'ref':_0x2c3e64,'icon':_0x5a22c3}));});_0xdbca98['displayName']=_0x465324(0x274);var _0xaa3f5d={'tag':_0x465324(0x95),'attrs':{'xmlns':_0x465324(0xb8),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x465324(0x170),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x465324(0x115),'attrs':{'stroke':_0x465324(0x1cb),'d':_0x465324(0x1bb),'strokeLinecap':_0x465324(0x32b),'strokeLinejoin':_0x465324(0x32b),'strokeWidth':1.2}}]},{'tag':_0x465324(0x214),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x465324(0x2a6)},'children':[{'tag':'path','attrs':{'fill':_0x465324(0x225),'d':'M0\x200H16V16H0z','transform':_0x465324(0x2f6)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3371df=_0x998dec[_0x465324(0x106)](function(_0x5c0f0a,_0x4ec4dd){const _0x352230=_0x465324;return _0x998dec[_0x352230(0x322)](_0x24ede3,Object[_0x352230(0x2eb)]({},_0x5c0f0a,{'id':_0x352230(0x1fb),'ref':_0x4ec4dd,'icon':_0xaa3f5d}));});_0x3371df[_0x465324(0xa3)]='OnLineIcon';function _0x37e08b(_0xbb8c7a){const _0x1b603b=_0x465324;switch(_0xbb8c7a){case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x14e)]:return _0x1b603b(0xdf);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x309)]:return _0x1b603b(0x294);case _0x40916b['CollaborationStatus']['FETCH_MISS']:return _0x1b603b(0x132);case _0x40916b[_0x1b603b(0x1b1)]['NOT_COLLAB']:return _0x1b603b(0xe1);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x1fc)]:case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x325)]:return _0x1b603b(0x25d);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x2e0)]:case _0x40916b['CollaborationStatus'][_0x1b603b(0x10f)]:return _0x1b603b(0x267);}}function _0xdf38a9(_0x3773b0){const _0x2d0882=_0x465324,{status$:_0xde270a}=_0x3773b0,_0x90945c=_0x4d3b42[_0x2d0882(0x288)](_0xde270a,_0x40916b[_0x2d0882(0x1b1)]['NOT_COLLAB']),_0x2bd1a2=_0x4d3b42[_0x2d0882(0xf2)](_0x50247b[_0x2d0882(0x14b)]),_0x5f1be4=_0x4d3b42[_0x2d0882(0xf2)](_0x40916b[_0x2d0882(0x139)]),_0x425fbb=_0x90945c!==_0x40916b[_0x2d0882(0x1b1)][_0x2d0882(0x14e)],_0x5af102=_0x2bd1a2['t'](_0x37e08b(_0x90945c)),_0x4b3b60=_0x425fbb?_0x190220[_0x2d0882(0x25f)](_0x3371df,{}):_0x190220[_0x2d0882(0x25f)](_0xdbca98,{}),_0x114fdc=_0x998dec[_0x2d0882(0x1a7)](()=>{_0x425fbb||_0x5f1be4['reconnect']();},[_0x425fbb,_0x5f1be4]);function _0x59c12e(){const _0x483780=_0x2d0882;return _0x190220['jsxs']('div',{'className':_0x483780(0x149),'onClick':_0x114fdc,'children':[_0x190220['jsx'](_0x483780(0x23b),{'className':_0x7c6d07[_0x483780(0xbb)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x425fbb,'univer-text-red-500':!_0x425fbb}),'children':_0x4b3b60}),_0x190220[_0x483780(0x25f)](_0x483780(0x23b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5af102})]});}return _0x425fbb?_0x59c12e():_0x190220[_0x2d0882(0x25f)](_0x7c6d07[_0x2d0882(0xfb)],{'title':_0x2bd1a2['t'](_0x2d0882(0x27d)),'children':_0x59c12e()});}var _0x48ada4=Object['getOwnPropertyDescriptor'],_0x3a61e2=(_0x333329,_0x4b78a1,_0x5154db,_0x5466fe)=>{const _0x2f3a7e=_0x465324;for(var _0x425964=_0x5466fe>0x1?void 0x0:_0x5466fe?_0x48ada4(_0x4b78a1,_0x5154db):_0x4b78a1,_0x1bdec6=_0x333329[_0x2f3a7e(0x223)]-0x1,_0x45e076;_0x1bdec6>=0x0;_0x1bdec6--)(_0x45e076=_0x333329[_0x1bdec6])&&(_0x425964=_0x45e076(_0x425964)||_0x425964);return _0x425964;},_0x2f4558=(_0x6460a5,_0x23f506)=>(_0x3bfbfd,_0x32fe89)=>_0x23f506(_0x3bfbfd,_0x32fe89,_0x6460a5);_0x17bc2c[_0x465324(0x2f3)]=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x2dce11,_0x380963,_0x881a29,_0x5ad7f0){const _0x5a8eb7=_0x465324;super(),_0x2f0564(this,_0x5a8eb7(0x1c4),new _0x481311[(_0x5a8eb7(0x190))](_0x40916b[_0x5a8eb7(0x1b1)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x2dce11,this[_0x5a8eb7(0xe8)]=_0x380963,this[_0x5a8eb7(0x188)]=_0x881a29,this['_uiPartsService']=_0x5ad7f0,this[_0x5a8eb7(0x25a)](),this[_0x5a8eb7(0xd3)]());}[_0x465324(0xd3)](){const _0x1be98f=_0x465324;this[_0x1be98f(0x148)](this[_0x1be98f(0x2c7)][_0x1be98f(0x2f9)][_0x1be98f(0x29b)](_0x481311['switchMap'](()=>{const _0x421b95=_0x1be98f,_0x44b0fb=this[_0x421b95(0x2c7)][_0x421b95(0x101)]();return _0x44b0fb?this[_0x421b95(0x188)][_0x421b95(0x241)](_0x44b0fb['getUnitId']()):_0x481311['of'](null);}),_0x481311[_0x1be98f(0x137)](_0x45e00a=>_0x45e00a?_0x45e00a[_0x1be98f(0x18f)]:_0x481311['of'](_0x40916b[_0x1be98f(0x1b1)][_0x1be98f(0x184)])))[_0x1be98f(0x1a4)](_0x1f21c5=>{const _0x5667f2=_0x1be98f;this[_0x5667f2(0x1c4)]['next'](_0x1f21c5);}));}[_0x465324(0x25a)](){const _0x5addb3=_0x465324;this[_0x5addb3(0x148)](this['_uiPartsService'][_0x5addb3(0x1ee)](_0x4d3b42[_0x5addb3(0x283)][_0x5addb3(0x258)],()=>_0x4d3b42[_0x5addb3(0x1d7)](_0x490961({'status$':this[_0x5addb3(0x1c4)][_0x5addb3(0x15d)]()}),this[_0x5addb3(0xe8)])));}},_0x17bc2c[_0x465324(0x2f3)]=_0x3a61e2([_0x2f4558(0x0,_0x50247b['IUniverInstanceService']),_0x2f4558(0x1,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x104)])),_0x2f4558(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x1ed)])),_0x2f4558(0x3,_0x4d3b42[_0x465324(0x1f6)])],_0x17bc2c[_0x465324(0x2f3)]);function _0x490961(_0x2f760c){const {status$:_0x17dbb4}=_0x2f760c;return function(){const _0x37da90=_0x4c50;return _0x190220[_0x37da90(0x25f)](_0xdf38a9,{'status$':_0x17dbb4});};}var _0x4fe6dd=Object[_0x465324(0x164)],_0x5bcad4=(_0x39debf,_0x12c353,_0x2fcd53,_0xc21501)=>{const _0xc2ed95=_0x465324;for(var _0x3fa5ed=_0xc21501>0x1?void 0x0:_0xc21501?_0x4fe6dd(_0x12c353,_0x2fcd53):_0x12c353,_0x2464bc=_0x39debf[_0xc2ed95(0x223)]-0x1,_0x379a1a;_0x2464bc>=0x0;_0x2464bc--)(_0x379a1a=_0x39debf[_0x2464bc])&&(_0x3fa5ed=_0x379a1a(_0x3fa5ed)||_0x3fa5ed);return _0x3fa5ed;},_0x586a62=(_0x4f7f76,_0x32ac3a)=>(_0x197dc6,_0x200ce0)=>_0x32ac3a(_0x197dc6,_0x200ce0,_0x4f7f76);let _0x1d3eff=class extends _0x50247b['Disposable']{constructor(_0x5c190c,_0x2edebc,_0x50dce9,_0x11bbed,_0xb9d0d7,_0x41b5d1){const _0x4bcbe3=_0x465324;super(),this['_beforeCloseService']=_0x5c190c,this[_0x4bcbe3(0x20a)]=_0x2edebc,this[_0x4bcbe3(0x1b3)]=_0x50dce9,this[_0x4bcbe3(0x160)]=_0x11bbed,this[_0x4bcbe3(0xea)]=_0xb9d0d7,this[_0x4bcbe3(0x208)]=_0x41b5d1,this[_0x4bcbe3(0x135)](),this[_0x4bcbe3(0x297)]();}['_setupBeforeClosingHandler'](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x781403=_0x4c50;if(this[_0x781403(0x20a)][_0x781403(0x265)][_0x781403(0xed)])return this[_0x781403(0x208)]['t'](_0x781403(0x24a));}));}[_0x465324(0x297)](){const _0x374458=_0x465324;this[_0x374458(0x148)](this[_0x374458(0x1b3)][_0x374458(0x24d)][_0x374458(0x1a4)](_0x3d9f12=>{const _0x4096b2=_0x374458;_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x247)]&&this['_messageService']['show']({'type':_0x7c6d07[_0x4096b2(0xb5)]['Warning'],'content':this[_0x4096b2(0x208)]['t']('collaboration.single-unit.warning')}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId'][_0x4096b2(0x147)]&&this['_messageService'][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x286)],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x281))}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x21c)]&&this[_0x4096b2(0xea)]['show']({'title':this['_localeService']['t'](_0x4096b2(0x105)),'content':this[_0x4096b2(0x208)]['t']('permission.content'),'type':_0x4096b2(0x301),'duration':0x0}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x309)]&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07['MessageType'][_0x4096b2(0x2c6)],'content':this['_localeService']['t'](_0x4096b2(0x281))+'('+_0x3d9f12[_0x4096b2(0x163)]+')'}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x286)],'content':this[_0x4096b2(0x208)]['t'](_0x3d9f12[_0x4096b2(0x163)]||'')}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x156)]&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07['MessageType']['Warning'],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x2d7))}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x2c6)],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x2d9))}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x2c6)],'content':this[_0x4096b2(0x208)]['t']('session.collaboration-timeout')});}));}};_0x1d3eff=_0x5bcad4([_0x586a62(0x0,_0x4d3b42[_0x465324(0x178)]),_0x586a62(0x1,_0x40916b['ILocalCacheService']),_0x586a62(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0xd0)])),_0x586a62(0x3,_0x4d3b42[_0x465324(0x2a7)]),_0x586a62(0x4,_0x4d3b42[_0x465324(0xad)]),_0x586a62(0x5,_0x50247b['Inject'](_0x50247b[_0x465324(0x14b)]))],_0x1d3eff);const _0xd3869c=_0x465324(0x271),_0x5264a2={},_0x5cc1ef=_0x50247b[_0x465324(0x212)](_0x465324(0x19a));var _0x4e603f=Object['getOwnPropertyDescriptor'],_0x4b3b91=(_0x399f41,_0x41367a,_0x5ea62c,_0xd07985)=>{for(var _0x4e7b2a=_0xd07985>0x1?void 0x0:_0xd07985?_0x4e603f(_0x41367a,_0x5ea62c):_0x41367a,_0x7c4e49=_0x399f41['length']-0x1,_0x2511f9;_0x7c4e49>=0x0;_0x7c4e49--)(_0x2511f9=_0x399f41[_0x7c4e49])&&(_0x4e7b2a=_0x2511f9(_0x4e7b2a)||_0x4e7b2a);return _0x4e7b2a;},_0x1bbfdf=(_0x2b77bb,_0x6b15e6)=>(_0x3a96ad,_0x14d9ff)=>_0x6b15e6(_0x3a96ad,_0x14d9ff,_0x2b77bb);_0x17bc2c[_0x465324(0x2fa)]=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x29cea1,_0x32f098,_0x3cbaff,_0x44401e,_0x42d2f9){const _0x572553=_0x465324;super(),this[_0x572553(0x12b)]=_0x29cea1,this[_0x572553(0x287)]=_0x32f098,this[_0x572553(0x1aa)]=_0x3cbaff,this[_0x572553(0x320)]=_0x44401e,_0x42d2f9?_0x42d2f9==null||_0x42d2f9[_0x572553(0x128)]()[_0x572553(0x2ec)](()=>this[_0x572553(0x256)]()):(this[_0x572553(0x287)][_0x572553(0x200)](_0x572553(0xc7),_0x572553(0x144)),this['_init']());}async[_0x465324(0x256)](){const _0x366f91=_0x465324,_0xb713d5=this[_0x366f91(0x12b)]['getParam'](_0x366f91(0xfa)),_0x5710cc=this['_urlService'][_0x366f91(0x275)](_0x366f91(0x177)),_0x18f597=this[_0x366f91(0x12b)][_0x366f91(0x275)]('subunit');if(!_0xb713d5||!_0x5710cc){this['_logService'][_0x366f91(0x200)](_0x366f91(0xc7),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4733fb=await this[_0x366f91(0x320)][_0x366f91(0x328)](_0xb713d5,Number(_0x5710cc),_0x18f597);_0x4733fb&&_0x4733fb instanceof _0x50247b[_0x366f91(0x16c)]&&this['_setupSubUnitSync'](_0x4733fb);}async['_setupSubUnitSync'](_0x28e162){const _0x450c7e=_0x465324;await this['_updateSubUnitFromURLParams'](_0x28e162),_0x28e162[_0x450c7e(0x253)][_0x450c7e(0x29b)](_0x481311[_0x450c7e(0x14f)](this[_0x450c7e(0x312)]))['subscribe'](_0x449118=>{_0x449118&&this['_updateURLWithCurrentState'](_0x449118);}),this['_urlService']['urlChange$'][_0x450c7e(0x29b)](_0x481311[_0x450c7e(0x14f)](this[_0x450c7e(0x312)]))['subscribe'](()=>this[_0x450c7e(0xab)](_0x28e162));}['_updateURLWithCurrentState'](_0x40125e,_0x21bc7e=!0x1){const _0x40c5d4=_0x465324,_0x22beda=this['_urlService'][_0x40c5d4(0x275)](_0x40c5d4(0xff));_0x40125e['getSheetId']()!==_0x22beda&&this[_0x40c5d4(0x12b)]['setParam'](_0x40c5d4(0xff),_0x40125e[_0x40c5d4(0x97)](),_0x21bc7e);}async['_updateSubUnitFromURLParams'](_0x3beb34){const _0x15bca7=_0x465324;var _0x3c914d;const _0x364f17=this['_urlService'][_0x15bca7(0x275)](_0x15bca7(0xff));if(!_0x364f17||!_0x3beb34[_0x15bca7(0x2f2)](_0x364f17)){const _0x33e6af=_0x3beb34[_0x15bca7(0xcf)]()[0x0],_0x44b6b8=_0x3beb34[_0x15bca7(0x2f2)](_0x33e6af);if(!_0x44b6b8)return;this[_0x15bca7(0x1c2)](_0x44b6b8,!0x0),await this[_0x15bca7(0x1aa)][_0x15bca7(0x2ff)](_0x2db21a[_0x15bca7(0x2ed)]['id'],{'unitId':_0x3beb34['getUnitId'](),'subUnitId':_0x33e6af});return;}((_0x3c914d=_0x3beb34[_0x15bca7(0x16a)]())==null?void 0x0:_0x3c914d[_0x15bca7(0x97)]())!==_0x364f17&&await this[_0x15bca7(0x1aa)]['executeCommand'](_0x2db21a['SetWorksheetActivateCommand']['id'],{'unitId':_0x3beb34[_0x15bca7(0x324)](),'subUnitId':_0x364f17});}},_0x17bc2c[_0x465324(0x2fa)]=_0x4b3b91([_0x1bbfdf(0x0,_0x5cc1ef),_0x1bbfdf(0x1,_0x50247b[_0x465324(0xe4)]),_0x1bbfdf(0x2,_0x50247b['ICommandService']),_0x1bbfdf(0x3,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x2fc)])),_0x1bbfdf(0x4,_0x50247b['Optional'](_0x40e19a[_0x465324(0x162)]))],_0x17bc2c[_0x465324(0x2fa)]);var _0x3be9c9=Object['getOwnPropertyDescriptor'],_0x193981=(_0x541cd5,_0x5288eb,_0x47d8fb,_0x177ecf)=>{for(var _0x52d943=_0x177ecf>0x1?void 0x0:_0x177ecf?_0x3be9c9(_0x5288eb,_0x47d8fb):_0x5288eb,_0x1ead0f=_0x541cd5['length']-0x1,_0x5077c7;_0x1ead0f>=0x0;_0x1ead0f--)(_0x5077c7=_0x541cd5[_0x1ead0f])&&(_0x52d943=_0x5077c7(_0x52d943)||_0x52d943);return _0x52d943;},_0xdafbfd=(_0x54d66f,_0x50b445)=>(_0x455df8,_0x2035d9)=>_0x50b445(_0x455df8,_0x2035d9,_0x54d66f);let _0x5ad734=class{constructor(_0x2b9eea,_0x3d4ec0,_0x1e80c1){const _0x35ad43=_0x465324;this[_0x35ad43(0xe8)]=_0x2b9eea,this[_0x35ad43(0x20d)]=_0x3d4ec0,this[_0x35ad43(0x31b)]=_0x1e80c1;}['transformIMECache'](_0x1ad235){const _0x1a3c88=_0x465324;this['_transformUndoRedoStack'](_0x1ad235),this[_0x1a3c88(0x9b)](_0x1ad235);}[_0x465324(0xb7)](_0x3da29c){const _0x518855=_0x465324,{unitID:_0x527935}=_0x3da29c,_0x1d6691=this[_0x518855(0x31b)][_0x518855(0x323)](_0x527935)['with'](_0x2b2a5c['DocIMEInputManagerService']),{redoCache:_0x5c0b04}=_0x1d6691[_0x518855(0x1f0)]();if(_0x5c0b04[_0x518855(0x223)]===0x0)return _0x3da29c;let _0x2bb0b4=_0x50247b[_0x518855(0x1be)][_0x518855(0x270)](_0x3da29c[_0x518855(0x213)][0x0]);for(let _0x51780d=0x0;_0x51780d<_0x5c0b04['length'];_0x51780d++){const _0x448b13={'id':_0x518855(0x21e),'params':{..._0x5c0b04[_0x51780d]}},_0x1fd7e6=this[_0x518855(0x20d)][_0x518855(0xc2)](_0x2bb0b4,_0x448b13,!0x1);if(_0xaf0477[_0x518855(0x1a6)](_0x1fd7e6))throw _0x1fd7e6[_0x518855(0x301)];_0x2bb0b4=_0x1fd7e6['m1Prime'];}return{..._0x50247b['Tools'][_0x518855(0x270)](_0x3da29c),'mutations':[_0x2bb0b4]};}[_0x465324(0x125)](_0x493a93){const _0x310e0f=_0x465324,{unitID:_0x282be3}=_0x493a93,_0xb2c60c=this[_0x310e0f(0x31b)][_0x310e0f(0x323)](_0x282be3)['with'](_0x2b2a5c[_0x310e0f(0xd4)]),{undoCache:_0x2a1efb,redoCache:_0x132ea0}=_0xb2c60c['getUndoRedoMutationParamsCache']();if(_0x2a1efb[_0x310e0f(0x223)]===0x0||_0x132ea0[_0x310e0f(0x223)]===0x0)return;const _0x1ed0df=[],_0x5d0d2e=[];let _0x158640=_0x50247b[_0x310e0f(0x1be)]['deepClone'](_0x493a93[_0x310e0f(0x213)][0x0]),_0x1831c1=_0x50247b[_0x310e0f(0x1be)][_0x310e0f(0x270)](_0x493a93[_0x310e0f(0x213)][0x0]);for(let _0x2dfe22=_0x2a1efb[_0x310e0f(0x223)]-0x1;_0x2dfe22>=0x0;_0x2dfe22--){const _0x31273e={'id':_0x310e0f(0x21e),'params':{..._0x2a1efb[_0x2dfe22]}},_0x4d9501={'id':_0x310e0f(0x21e),'params':{..._0x132ea0[_0x2dfe22]}},_0xf732a=this[_0x310e0f(0x20d)][_0x310e0f(0xc2)](_0x158640,_0x31273e,!0x1),_0x4a4274=this[_0x310e0f(0x20d)][_0x310e0f(0xc2)](_0x1831c1,_0x4d9501,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0xf732a))throw _0xf732a[_0x310e0f(0x301)];if(_0xaf0477[_0x310e0f(0x1a6)](_0x4a4274))throw _0x4a4274[_0x310e0f(0x301)];_0x1ed0df['unshift'](_0xf732a[_0x310e0f(0x1e8)][_0x310e0f(0x176)]),_0x5d0d2e[_0x310e0f(0x310)](_0x4a4274['m2Prime'][_0x310e0f(0x176)]),_0x158640=_0xf732a[_0x310e0f(0xf7)],_0x1831c1=_0x4a4274['m1Prime'];}_0xb2c60c[_0x310e0f(0x23d)]({'undoCache':_0x1ed0df,'redoCache':_0x5d0d2e});}['_transformPreviousActiveRange'](_0x17b756){const _0x151dac=_0x465324,{unitID:_0x3a3cdb}=_0x17b756,_0x311399=this[_0x151dac(0x31b)]['getRenderById'](_0x3a3cdb)['with'](_0x2b2a5c['DocIMEInputManagerService']),_0x3df7e6=_0x311399['getActiveRange']();if(_0x3df7e6==null)return;const _0x489609=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x17b756[_0x151dac(0x1a3)],'actions':null,'textRanges':[_0x3df7e6]}}],_0x252e59=this['_transformService'][_0x151dac(0x31a)](_0x17b756,_0x489609);if(!_0xaf0477[_0x151dac(0xa9)](_0x252e59))throw _0x252e59[_0x151dac(0x301)];const _0x347df8=_0x252e59['m2Prime'][0x0][_0x151dac(0x176)][_0x151dac(0x1f1)];Array[_0x151dac(0xf4)](_0x347df8)&&_0x347df8[_0x151dac(0x223)]&&_0x311399['setActiveRange'](_0x347df8[0x0]);}};_0x5ad734=_0x193981([_0xdafbfd(0x0,_0x50247b[_0x465324(0x15e)](_0x50247b['Injector'])),_0xdafbfd(0x1,_0xaf0477[_0x465324(0x30e)]),_0xdafbfd(0x2,_0x24e38c['IRenderManagerService'])],_0x5ad734);var _0xcb755b=Object[_0x465324(0x164)],_0x303e3f=(_0x192a2f,_0x2619e8,_0x44a37a,_0x466e45)=>{for(var _0x414984=_0x466e45>0x1?void 0x0:_0x466e45?_0xcb755b(_0x2619e8,_0x44a37a):_0x2619e8,_0x570234=_0x192a2f['length']-0x1,_0x278044;_0x570234>=0x0;_0x570234--)(_0x278044=_0x192a2f[_0x570234])&&(_0x414984=_0x278044(_0x414984)||_0x414984);return _0x414984;},_0x4693d4=(_0x162911,_0x28fd94)=>(_0x195fb8,_0x4302c6)=>_0x28fd94(_0x195fb8,_0x4302c6,_0x162911);let _0x2030ac=class{constructor(_0x3f35a8,_0x3a1ae4,_0x5b2b7c){const _0x301fe8=_0x465324;this[_0x301fe8(0xe8)]=_0x3f35a8,this[_0x301fe8(0x20d)]=_0x3a1ae4,this[_0x301fe8(0x29d)]=_0x5b2b7c;}[_0x465324(0x142)](_0x2d6010){this['_transformHistoryAndStateStack'](_0x2d6010);}['transformRemoteChangeset'](_0x50c9c1){const _0x2fee4d=_0x465324,{unitID:_0x2f412e}=_0x50c9c1,{collaboration:_0x2f8bfd}=this[_0x2fee4d(0x29d)][_0x2fee4d(0x159)](_0x2f412e);if(_0x2f8bfd[_0x2fee4d(0x223)]===0x0)return _0x50c9c1;let _0x21174e=_0x50247b[_0x2fee4d(0x1be)][_0x2fee4d(0x270)](_0x50c9c1[_0x2fee4d(0x213)][0x0]);for(let _0x107fd=0x0;_0x107fd<_0x2f8bfd[_0x2fee4d(0x223)];_0x107fd++){const _0x5ea303={'id':_0x2fee4d(0x21e),'params':{'unitId':_0x2f8bfd[_0x107fd][_0x2fee4d(0x107)],..._0x2f8bfd[_0x107fd][_0x2fee4d(0x260)]}},_0x4eee03=this['_transformService'][_0x2fee4d(0xc2)](_0x21174e,_0x5ea303,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0x4eee03))throw _0x4eee03[_0x2fee4d(0x301)];_0x21174e=_0x4eee03[_0x2fee4d(0xf7)];}return{..._0x50247b[_0x2fee4d(0x1be)][_0x2fee4d(0x270)](_0x50c9c1),'mutations':[_0x21174e]};}[_0x465324(0x2d6)](_0x34decb){const _0x4418fb=_0x465324,{unitID:_0xe06a51}=_0x34decb,{history:_0x5c087f,collaboration:_0x52d82c}=this[_0x4418fb(0x29d)][_0x4418fb(0x159)](_0xe06a51);if(_0x5c087f[_0x4418fb(0x223)]===0x0&&_0x52d82c[_0x4418fb(0x223)]===0x0)return;const _0xcdbdd9=[],_0x561300=[];let _0x287ae3=_0x50247b['Tools'][_0x4418fb(0x270)](_0x34decb[_0x4418fb(0x213)][0x0]),_0x10d66b=_0x50247b[_0x4418fb(0x1be)]['deepClone'](_0x34decb['mutations'][0x0]);for(let _0x369824=_0x5c087f[_0x4418fb(0x223)]-0x1;_0x369824>=0x0;_0x369824--){const _0x329b12={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c087f[_0x369824]['unitId'],..._0x5c087f[_0x369824]['undoState']}},_0x412337={'id':_0x4418fb(0x21e),'params':{'unitId':_0x5c087f[_0x369824]['unitId'],..._0x5c087f[_0x369824][_0x4418fb(0x260)]}},_0x3a4021=this['_transformService'][_0x4418fb(0xc2)](_0x287ae3,_0x329b12,!0x1),_0x1fad11=this[_0x4418fb(0x20d)][_0x4418fb(0xc2)](_0x10d66b,_0x412337,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0x3a4021))throw _0x3a4021[_0x4418fb(0x301)];if(_0xaf0477[_0x4418fb(0x1a6)](_0x1fad11))throw _0x1fad11[_0x4418fb(0x301)];_0xcdbdd9['unshift']({..._0x5c087f[_0x369824],'undoState':_0x3a4021['m2Prime'][_0x4418fb(0x176)],'redoState':_0x1fad11['m2Prime'][_0x4418fb(0x176)]}),_0x287ae3=_0x3a4021[_0x4418fb(0xf7)],_0x10d66b=_0x1fad11[_0x4418fb(0xf7)];}_0x287ae3=_0x50247b[_0x4418fb(0x1be)][_0x4418fb(0x270)](_0x34decb['mutations'][0x0]),_0x10d66b=_0x50247b[_0x4418fb(0x1be)][_0x4418fb(0x270)](_0x34decb[_0x4418fb(0x213)][0x0]);for(let _0x3565ec=_0x52d82c[_0x4418fb(0x223)]-0x1;_0x3565ec>=0x0;_0x3565ec--){const _0xd856a4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52d82c[_0x3565ec][_0x4418fb(0x107)],..._0x52d82c[_0x3565ec]['undoState']}},_0x4d89df={'id':_0x4418fb(0x21e),'params':{'unitId':_0x52d82c[_0x3565ec][_0x4418fb(0x107)],..._0x52d82c[_0x3565ec]['redoState']}},_0x5c391f=this['_transformService']['transformMutation'](_0x287ae3,_0xd856a4,!0x1),_0x4e9dc9=this[_0x4418fb(0x20d)][_0x4418fb(0xc2)](_0x10d66b,_0x4d89df,!0x1);if(_0xaf0477[_0x4418fb(0x1a6)](_0x5c391f))throw _0x5c391f[_0x4418fb(0x301)];if(_0xaf0477[_0x4418fb(0x1a6)](_0x4e9dc9))throw _0x4e9dc9[_0x4418fb(0x301)];_0x561300[_0x4418fb(0x310)]({..._0x52d82c[_0x3565ec],'undoState':_0x5c391f['m2Prime'][_0x4418fb(0x176)],'redoState':_0x4e9dc9[_0x4418fb(0x1e8)][_0x4418fb(0x176)]}),_0x287ae3=_0x5c391f[_0x4418fb(0xf7)],_0x10d66b=_0x4e9dc9['m1Prime'];}this[_0x4418fb(0x29d)]['setStateCache'](_0xe06a51,{'history':_0xcdbdd9,'collaboration':_0x561300});}};_0x2030ac=_0x303e3f([_0x4693d4(0x0,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x4693d4(0x1,_0xaf0477[_0x465324(0x30e)]),_0x4693d4(0x2,_0x50247b[_0x465324(0x15e)](_0x2b2a5c[_0x465324(0x186)]))],_0x2030ac);var _0x30efee=Object[_0x465324(0x164)],_0x19dc28=(_0x930b1e,_0x3f942e,_0x22f29c,_0x4ebd5f)=>{const _0xdafbb0=_0x465324;for(var _0x8d2d38=_0x4ebd5f>0x1?void 0x0:_0x4ebd5f?_0x30efee(_0x3f942e,_0x22f29c):_0x3f942e,_0x5b759b=_0x930b1e[_0xdafbb0(0x223)]-0x1,_0x69a172;_0x5b759b>=0x0;_0x5b759b--)(_0x69a172=_0x930b1e[_0x5b759b])&&(_0x8d2d38=_0x69a172(_0x8d2d38)||_0x8d2d38);return _0x8d2d38;},_0x3f87b8=(_0x35ce0f,_0x34a9b3)=>(_0x1b3d56,_0x11abfe)=>_0x34a9b3(_0x1b3d56,_0x11abfe,_0x35ce0f);let _0x262500=class{constructor(_0x27decf,_0x24b6a0){const _0x572aba=_0x465324;this[_0x572aba(0xe8)]=_0x27decf,this[_0x572aba(0x20d)]=_0x24b6a0;}[_0x465324(0x27a)](_0x4e368d){const _0x17df57=_0x465324;var _0x4988b6;const _0x1bdc92=this[_0x17df57(0xe8)][_0x17df57(0x2d8)](_0x2136d0[_0x17df57(0x248)]),_0x2a4502=(_0x4988b6=_0x1bdc92[_0x17df57(0x17f)]())!=null?_0x4988b6:[];if(_0x2a4502['length']===0x0)return;const _0x417546=_0x4e368d[_0x17df57(0x1a3)],_0x49347f=[{'id':_0x17df57(0x21e),'params':{'unitId':_0x417546,'actions':null,'textRanges':_0x2a4502}}],_0x5a30a3=this[_0x17df57(0x20d)][_0x17df57(0x31a)](_0x4e368d,_0x49347f);if(!_0xaf0477[_0x17df57(0xa9)](_0x5a30a3))throw _0x5a30a3[_0x17df57(0x301)];const _0x3461b1=_0x5a30a3['m2Prime'][0x0][_0x17df57(0x176)]['textRanges'];Array['isArray'](_0x3461b1)&&_0x3461b1[_0x17df57(0x223)]&&_0x1bdc92[_0x17df57(0x1ce)](_0x3461b1,{'unitId':_0x417546,'subUnitId':_0x417546},!0x1);}};_0x262500=_0x19dc28([_0x3f87b8(0x0,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x3f87b8(0x1,_0xaf0477['ITransformService'])],_0x262500);var _0x58be09=Object['getOwnPropertyDescriptor'],_0x53386d=(_0xef565e,_0x36c0fb,_0x26607c,_0x30d843)=>{const _0x33f591=_0x465324;for(var _0x25bba3=_0x30d843>0x1?void 0x0:_0x30d843?_0x58be09(_0x36c0fb,_0x26607c):_0x36c0fb,_0x6ca619=_0xef565e[_0x33f591(0x223)]-0x1,_0xd12c37;_0x6ca619>=0x0;_0x6ca619--)(_0xd12c37=_0xef565e[_0x6ca619])&&(_0x25bba3=_0xd12c37(_0x25bba3)||_0x25bba3);return _0x25bba3;},_0xe976b=(_0x5f2d7c,_0x13e2a2)=>(_0x34f861,_0x2fca49)=>_0x13e2a2(_0x34f861,_0x2fca49,_0x5f2d7c);let _0x31a3d6=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x538fc1,_0x50b21e,_0x1f9f13,_0x30853e,_0x56ad54,_0x5ee54b,_0x323534,_0x15c33e){const _0x45b7f7=_0x465324;super(),_0x2f0564(this,_0x45b7f7(0x1c4),new _0x481311['BehaviorSubject'](_0x40916b['CollaborationStatus'][_0x45b7f7(0x184)])),(this['_docStateChangeManagerService']=_0x538fc1,this['_collaborationController']=_0x50b21e,this[_0x45b7f7(0x118)]=_0x1f9f13,this[_0x45b7f7(0x1ba)]=_0x30853e,this[_0x45b7f7(0xce)]=_0x56ad54,this[_0x45b7f7(0x2a2)]=_0x5ee54b,this['_messageService']=_0x323534,this[_0x45b7f7(0x208)]=_0x15c33e,this[_0x45b7f7(0x2ee)]());}['_initEntityListener'](){const _0xc4bf01=_0x465324;this[_0xc4bf01(0x148)](this[_0xc4bf01(0x188)][_0xc4bf01(0x1d8)][_0xc4bf01(0x1a4)](_0x553bd3=>{const _0x39a149=_0xc4bf01,_0x3298f4=this[_0x39a149(0x29d)][_0x39a149(0x30b)][_0x39a149(0x1a4)](_0xa03453=>{const _0x547513=_0x39a149;if(_0xa03453==null)return;const {unitId:_0xdcd809,redoState:_0x1ac1c3,commandId:_0x1abdbf}=_0xa03453;if(_0xdcd809!==_0x553bd3[_0x547513(0x1a3)])return;const _0x221cca={'id':_0x1abdbf,'type':_0x50247b[_0x547513(0x22d)][_0x547513(0x307)],'params':{'unitId':_0xdcd809,'actions':_0x1ac1c3['actions'],'textRanges':null}};_0x553bd3[_0x547513(0xa5)](_0x221cca);});if(_0x553bd3[_0x39a149(0x148)](_0x3298f4),_0x553bd3 instanceof _0x40916b[_0x39a149(0x2ea)]){const _0x1c740f={'onTransformIME':_0x81dabf=>this[_0x39a149(0x118)]['transformIMECache'](_0x81dabf),'onTransformState':_0x5e716c=>this['_docTransformStateCacheService'][_0x39a149(0x142)](_0x5e716c),'onTransformSelections':_0xacc144=>this['_docTransformSelectionsService'][_0x39a149(0x27a)](_0xacc144),'onSyncEditingCollabCursor':_0x377d71=>this[_0x39a149(0x2a2)][_0x39a149(0x1d3)](_0x377d71),'onTransformRemoteChangesetByIMECache':_0x30ca78=>this[_0x39a149(0x118)][_0x39a149(0xb7)](_0x30ca78),'onTransformRemoteChangesetByStateCache':_0x131bec=>this['_docTransformStateCacheService'][_0x39a149(0xb7)](_0x131bec)};_0x553bd3['addHandlerCallback'](_0x1c740f);}}));}};_0x31a3d6=_0x53386d([_0xe976b(0x0,_0x50247b[_0x465324(0x15e)](_0x2b2a5c[_0x465324(0x186)])),_0xe976b(0x1,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x1ed)])),_0xe976b(0x2,_0x50247b[_0x465324(0x15e)](_0x5ad734)),_0xe976b(0x3,_0x50247b[_0x465324(0x15e)](_0x2030ac)),_0xe976b(0x4,_0x50247b['Inject'](_0x262500)),_0xe976b(0x5,_0x50247b[_0x465324(0x15e)](_0x100092)),_0xe976b(0x6,_0x4d3b42['IMessageService']),_0xe976b(0x7,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x14b)]))],_0x31a3d6);var _0x5a5819=Object[_0x465324(0x164)],_0x21fb78=(_0x319c21,_0x553ed6,_0x5c6951,_0x1cbf03)=>{const _0x5f5a7b=_0x465324;for(var _0x5686fd=_0x1cbf03>0x1?void 0x0:_0x1cbf03?_0x5a5819(_0x553ed6,_0x5c6951):_0x553ed6,_0x11192c=_0x319c21[_0x5f5a7b(0x223)]-0x1,_0x45cca8;_0x11192c>=0x0;_0x11192c--)(_0x45cca8=_0x319c21[_0x11192c])&&(_0x5686fd=_0x45cca8(_0x5686fd)||_0x5686fd);return _0x5686fd;},_0x5b9844=(_0x17663d,_0x4be951)=>(_0xdfa445,_0x40be90)=>_0x4be951(_0xdfa445,_0x40be90,_0x17663d);let _0x37dc1e=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x23b44a,_0x2f0b58,_0x131ff1){const _0x2fbe59=_0x465324;super(),_0x2f0564(this,_0x2fbe59(0x138),new Map()),_0x2f0564(this,_0x2fbe59(0x217),new Map()),_0x2f0564(this,_0x2fbe59(0x20f),!0x1),(this[_0x2fbe59(0x1d9)]=_0x23b44a,this[_0x2fbe59(0x24b)]=_0x2f0b58,this['_revisionService']=_0x131ff1);}[_0x465324(0x1a1)](){const _0xf24351=_0x465324;this[_0xf24351(0x20f)]=!0x0;}[_0x465324(0x242)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x511850=_0x465324;return this[_0x511850(0x217)];}['dispose'](){const _0x2cd36d=_0x465324;this[_0x2cd36d(0x1ac)]()['then'](()=>super['dispose']());}async[_0x465324(0x14c)](_0x216105){const _0x5313e0=_0x465324;return this[_0x5313e0(0x20f)]?null:this['_localStorageService'][_0x5313e0(0x108)](_0x40916b[_0x5313e0(0x2a9)](_0x216105));}async[_0x465324(0x13d)](_0xe373f0,_0x58bd3e){return!!this['_localStorageService']['setItem'](_0xe373f0,_0x58bd3e);}[_0x465324(0x2ef)](_0x687fef,_0x3c01c5,_0x56ac55,_0x1e5af2){const _0x5e54ec=_0x465324,_0x48ef4a=this['_revisionService'][_0x5e54ec(0xc8)](_0x687fef);this['_cachedData']['set'](_0x687fef,{'unitID':_0x687fef,'type':_0x3c01c5,'awaitingChangeset':_0x56ac55,'mutations':_0x1e5af2,'rev':_0x48ef4a}),this[_0x5e54ec(0x217)]['has'](_0x687fef)||this['_scheduleSaving'](_0x687fef);}[_0x465324(0x199)](_0x6520f3){const _0x3c3037=_0x465324,_0x3dbd75=this['_getSaveTimeout']();_0x3dbd75===0x0?this[_0x3c3037(0x1de)](_0x6520f3):this[_0x3c3037(0x217)]['set'](_0x6520f3,setTimeout(()=>this[_0x3c3037(0x1de)](_0x6520f3),_0x3dbd75));}[_0x465324(0x194)](){const _0x3406cd=_0x465324;var _0x2677f5;return(_0x2677f5=this[_0x3406cd(0x1d9)][_0x3406cd(0x1db)](_0x40916b[_0x3406cd(0x296)]))!=null?_0x2677f5:_0x40916b[_0x3406cd(0x1fe)];}[_0x465324(0x1de)](_0xd35d6e){const _0x5ac2d4=_0x465324,_0x4fb6ef=this['_saveTaskMap']['get'](_0xd35d6e);return _0x4fb6ef!==void 0x0&&window[_0x5ac2d4(0x300)](_0x4fb6ef),this[_0x5ac2d4(0x24b)]['setItem'](_0x40916b[_0x5ac2d4(0x2a9)](_0xd35d6e),this['_cachedData'][_0x5ac2d4(0x2d8)](_0xd35d6e))[_0x5ac2d4(0x2ec)](()=>this[_0x5ac2d4(0x217)][_0x5ac2d4(0x2bf)](_0xd35d6e));}async['exhaustSavingTask'](){const _0x380a75=_0x465324,_0x3b053b=[];this[_0x380a75(0x217)]['forEach']((_0x53307a,_0x570025)=>{const _0x4b15b1=_0x380a75;window[_0x4b15b1(0x300)](_0x53307a),_0x3b053b[_0x4b15b1(0xc3)](this['_saveCache'](_0x570025)[_0x4b15b1(0x2ec)](()=>{const _0x2694ab=_0x4b15b1;this[_0x2694ab(0x217)][_0x2694ab(0x2bf)](_0x570025);}));}),await Promise[_0x380a75(0x98)](_0x3b053b);}};_0x37dc1e=_0x21fb78([_0x5b9844(0x0,_0x50247b[_0x465324(0x2d5)]),_0x5b9844(0x1,_0x50247b[_0x465324(0x2db)]),_0x5b9844(0x2,_0x50247b['Inject'](_0xaf0477['RevisionService']))],_0x37dc1e);class _0x18d761 extends _0x50247b[_0x465324(0x16f)]{constructor(){const _0xf5b155=_0x465324;super(),_0x2f0564(this,_0xf5b155(0xe2)),this['urlChange$']=_0x481311[_0xf5b155(0x31d)](window,'popstate')[_0xf5b155(0x29b)](_0x481311[_0xf5b155(0x14f)](this[_0xf5b155(0x312)]),_0x481311['shareReplay'](0x1),_0x481311[_0xf5b155(0x145)](void 0x0));}[_0x465324(0x169)](_0x136156,_0x16feae,_0x32f514=!0x1){const _0x5d8bdb=_0x465324,_0x19c8a6=new URL(window[_0x5d8bdb(0x13b)]['href']);_0x19c8a6[_0x5d8bdb(0x11d)][_0x5d8bdb(0x154)](_0x136156,_0x16feae),_0x32f514?window[_0x5d8bdb(0x222)]['replaceState']('','',_0x19c8a6[_0x5d8bdb(0x255)]()):window[_0x5d8bdb(0x222)][_0x5d8bdb(0x28c)]('','',_0x19c8a6['toString']());}['removeParam'](_0x436da8,_0x4efc61=!0x1){const _0x50ad4d=_0x465324,_0x404e71=new URL(window[_0x50ad4d(0x13b)][_0x50ad4d(0x1d4)]);_0x404e71[_0x50ad4d(0x11d)][_0x50ad4d(0x2bf)](_0x436da8),_0x4efc61?window[_0x50ad4d(0x222)][_0x50ad4d(0xbf)]('','',_0x404e71['toString']()):window['history'][_0x50ad4d(0x28c)]('','',_0x404e71[_0x50ad4d(0x255)]());}[_0x465324(0x275)](_0x39f0a1){const _0x4dc4fe=_0x465324;var _0x303972;return(_0x303972=new URL(window[_0x4dc4fe(0x13b)][_0x4dc4fe(0x1d4)])['searchParams'][_0x4dc4fe(0x2d8)](_0x39f0a1))!=null?_0x303972:void 0x0;}}var _0x1b64c7=Object['defineProperty'],_0x1ed1d3=Object[_0x465324(0x164)],_0xa50f71=(_0x1416c9,_0x48b7e8,_0x2272d0)=>_0x48b7e8 in _0x1416c9?_0x1b64c7(_0x1416c9,_0x48b7e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2272d0}):_0x1416c9[_0x48b7e8]=_0x2272d0,_0x29e0cb=(_0x477e40,_0x55a818,_0x174143,_0x3a747b)=>{const _0x45df9c=_0x465324;for(var _0x383bb6=_0x3a747b>0x1?void 0x0:_0x3a747b?_0x1ed1d3(_0x55a818,_0x174143):_0x55a818,_0x1c64d7=_0x477e40[_0x45df9c(0x223)]-0x1,_0x1af2e1;_0x1c64d7>=0x0;_0x1c64d7--)(_0x1af2e1=_0x477e40[_0x1c64d7])&&(_0x383bb6=_0x1af2e1(_0x383bb6)||_0x383bb6);return _0x383bb6;},_0x3c5565=(_0x34dcc7,_0x46213a)=>(_0x245da9,_0x597200)=>_0x46213a(_0x245da9,_0x597200,_0x34dcc7),_0x1f057a=(_0x33ee08,_0x20487f,_0x3d8c4e)=>_0xa50f71(_0x33ee08,_0x20487f+'',_0x3d8c4e);const _0x472ff9='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x17bc2c[_0x465324(0x18a)]=class extends _0x50247b[_0x465324(0xe9)]{constructor(_0x507cd1=_0x5264a2,_0x318bdc,_0x2c70a6,_0xf45b13){const _0x498d49=_0x465324;super(),this['_config']=_0x507cd1,this['_renderManagerService']=_0x318bdc,this[_0x498d49(0xe8)]=_0x2c70a6,this['_configService']=_0xf45b13;const {..._0x5f2420}=_0x50247b[_0x498d49(0x2be)]({},_0x5264a2,this[_0x498d49(0x2c0)]);this['_configService']['setConfig'](_0xd3869c,_0x5f2420);}['onStarting'](){const _0x222003=_0x465324;this[_0x222003(0xf6)](),this['_initDependencies']();}[_0x465324(0x15c)](){const _0x1e4a6f=_0x465324;this[_0x1e4a6f(0x1b2)]();}[_0x465324(0xf6)](){const _0x12b407=_0x465324;var _0x45085a;const _0x3ff508=[[_0x20e9cb],[_0x262500],[_0x5ad734],[_0x2030ac],[_0x100092],[_0x5cc1ef,{'useClass':_0x18d761}],[_0x4c764b[_0x12b407(0x21d)],{'useClass':_0x4c764b['WebSocketService']}],[_0x40916b[_0x12b407(0x1e6)],{'useClass':_0x37dc1e}],[_0x17bc2c['DesktopCollaborationStatusDisplayController']],[_0x31a3d6],[_0x1d3eff],[_0x565865],[_0xd53509],[_0x17bc2c[_0x12b407(0x2fa)]]];_0x50247b[_0x12b407(0x2b2)](this[_0x12b407(0xe8)],_0x50247b['mergeOverrideWithDependencies'](_0x3ff508,(_0x45085a=this['_config'])==null?void 0x0:_0x45085a[_0x12b407(0x1ae)]));}[_0x465324(0x1b2)](){const _0x6e288a=_0x465324;this[_0x6e288a(0x148)](this[_0x6e288a(0x31b)][_0x6e288a(0x10b)](_0x50247b[_0x6e288a(0x319)][_0x6e288a(0x18b)],[_0x8254e1])),this['disposeWithMe'](this[_0x6e288a(0x31b)][_0x6e288a(0x10b)](_0x50247b[_0x6e288a(0x319)][_0x6e288a(0xdb)],[_0x250f25]));}['_initDependencies'](){const _0x53300e=_0x465324;_0x50247b[_0x53300e(0x276)](this[_0x53300e(0xe8)],[[_0x565865],[_0x17bc2c[_0x53300e(0x2f3)]],[_0x31a3d6],[_0x1d3eff],[_0x17bc2c[_0x53300e(0x2fa)]]]);}},_0x1f057a(_0x17bc2c[_0x465324(0x18a)],_0x465324(0x314),_0x472ff9),_0x17bc2c[_0x465324(0x18a)]=_0x29e0cb([_0x50247b['DependentOn'](_0x40916b[_0x465324(0x1f2)]),_0x3c5565(0x1,_0x24e38c[_0x465324(0x203)]),_0x3c5565(0x2,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x104)])),_0x3c5565(0x3,_0x50247b[_0x465324(0x2d5)])],_0x17bc2c[_0x465324(0x18a)]);var _0x42ca13=Object[_0x465324(0x164)],_0x118c04=(_0x299124,_0x2208e9,_0x18e7c4,_0x1e05a3)=>{const _0x2af557=_0x465324;for(var _0x5c3eaa=_0x1e05a3>0x1?void 0x0:_0x1e05a3?_0x42ca13(_0x2208e9,_0x18e7c4):_0x2208e9,_0x2e4184=_0x299124[_0x2af557(0x223)]-0x1,_0x329790;_0x2e4184>=0x0;_0x2e4184--)(_0x329790=_0x299124[_0x2e4184])&&(_0x5c3eaa=_0x329790(_0x5c3eaa)||_0x5c3eaa);return _0x5c3eaa;},_0x16e65a=(_0x206b13,_0x54a6a5)=>(_0x5b5661,_0x1c0ec1)=>_0x54a6a5(_0x5b5661,_0x1c0ec1,_0x206b13);_0x17bc2c[_0x465324(0x26d)]=class extends _0x40916b[_0x465324(0x1b0)]{constructor(_0x34116d,_0x58ad0b,_0x12d087,_0x4dce0c,_0xf16382){super(_0x34116d,_0x58ad0b,_0x12d087,_0x4dce0c,_0xf16382);}async['createSocket'](_0x193ecb){const _0x1c8ea1=_0x465324,_0x290004=await this[_0x1c8ea1(0x2cd)](),_0x28a62a=this['_createSocketURL'](_0x193ecb,_0x290004);return this[_0x1c8ea1(0x1b6)](_0x28a62a);}[_0x465324(0x179)](_0xe2040b,_0x5c2ce2){const _0x5b062e=_0x465324,_0xf234b0=typeof window>'u'?new URL(_0xe2040b):new URL(_0xe2040b,window[_0x5b062e(0x13b)][_0x5b062e(0x292)]);_0xf234b0[_0x5b062e(0x11d)][_0x5b062e(0x154)](_0x5b062e(0x1e3),_0x5c2ce2);const _0x29502f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5b062e(0x1e2)]);return _0x29502f['get'](_0x5b062e(0x254))&&_0xf234b0['searchParams'][_0x5b062e(0x154)]('runId',_0x29502f['get'](_0x5b062e(0x254))),_0xf234b0[_0x5b062e(0x255)]();}async[_0x465324(0x2cd)](){const _0x12d76e=_0x465324;var _0x5bb32d,_0x1a5bac,_0x4c1d38;const _0xd8b336=this[_0x12d76e(0x1d9)]['getConfig'](_0x40916b[_0x12d76e(0x230)]),_0x3edd90=(_0x5bb32d=_0xd8b336==null?void 0x0:_0xd8b336[_0x12d76e(0x30d)])!=null?_0x5bb32d:_0x40916b[_0x12d76e(0x1dc)];return(_0x4c1d38=(_0x1a5bac=(await this['_httpService']['get'](_0x3edd90,{'headers':{'Content-Type':_0x12d76e(0xb1)}}))['body'])==null?void 0x0:_0x1a5bac[_0x12d76e(0x2ae)])!=null?_0x4c1d38:'';}},_0x17bc2c[_0x465324(0x26d)]=_0x118c04([_0x16e65a(0x0,_0x50247b['Inject'](_0x50247b['Injector'])),_0x16e65a(0x1,_0x50247b[_0x465324(0x15e)](_0x4c764b['HTTPService'])),_0x16e65a(0x2,_0x50247b[_0x465324(0x2d5)]),_0x16e65a(0x3,_0x50247b['ILogService']),_0x16e65a(0x4,_0xaf0477[_0x465324(0xd5)])],_0x17bc2c[_0x465324(0x26d)]);const _0x5a96a0=0x7530,_0x88df09=_0x465324(0x11c);class _0x3d768f extends _0x50247b[_0x465324(0x1e1)]{constructor(){const _0x234572=_0x465324;super(),_0x2f0564(this,_0x234572(0x2df),_0x50247b['generateRandomId']()),_0x2f0564(this,'_selfUnitIDs',new Set()),_0x2f0564(this,_0x234572(0x304),new Map()),_0x2f0564(this,_0x234572(0x1fd),null),_0x2f0564(this,'_clearOtherTimers',new Map()),_0x2f0564(this,'_unitStatus',new Map()),this[_0x234572(0x256)]();}[_0x465324(0xc1)](){const _0x1d74d9=_0x465324;super['dispose'](),this[_0x1d74d9(0x240)][_0x1d74d9(0x134)]((_0x22138f,_0xadff4d)=>this[_0x1d74d9(0x2e9)](_0xadff4d)),this['_heartbeatTimer']&&window[_0x1d74d9(0x229)](this[_0x1d74d9(0x1fd)]);}[_0x465324(0x196)](_0x27b349){const _0x3276c6=_0x465324;return this['_ensureSubject'](_0x27b349)[_0x3276c6(0x29b)](_0x481311[_0x3276c6(0x13f)]());}[_0x465324(0x23a)](_0x268be6){const _0x4b22cf=_0x465324;this['_selfUnitIDs'][_0x4b22cf(0xed)]===0x0&&this[_0x4b22cf(0x1e5)](),this[_0x4b22cf(0x232)][_0x4b22cf(0x246)](_0x268be6),this[_0x4b22cf(0x2e4)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x268be6],'isForwarded':!0x1});}[_0x465324(0x205)](_0x33c69){const _0x2b1d79=_0x465324;this['_selfUnitIDs'][_0x2b1d79(0x2bf)](_0x33c69),this['_selfUnitIDs'][_0x2b1d79(0xed)]===0x0&&this[_0x2b1d79(0x1fd)]&&window[_0x2b1d79(0x229)](this['_heartbeatTimer']);}[_0x465324(0x256)](){const _0x43f6a7=_0x465324;this[_0x43f6a7(0x148)](_0x50247b[_0x43f6a7(0xf0)](_0x481311[_0x43f6a7(0x31d)](window,_0x43f6a7(0x1eb))[_0x43f6a7(0x1a4)](_0x376bfd=>{const _0x31a51a=_0x43f6a7;if(_0x376bfd[_0x31a51a(0x2a1)]!==_0x88df09||!_0x376bfd[_0x31a51a(0xb2)])return;const _0x2103a8=JSON['parse'](_0x376bfd[_0x31a51a(0xb2)]);this['_handleEvent'](_0x2103a8);}))),window[_0x43f6a7(0xd6)](_0x43f6a7(0x2f4),()=>this[_0x43f6a7(0x2e4)]({'type':0x1,'memberID':this[_0x43f6a7(0x2df)],'unitIDs':Array[_0x43f6a7(0x279)](this[_0x43f6a7(0x232)])}));}[_0x465324(0x140)](_0x2a5403){const _0x5d9fbc=_0x465324;switch(_0x2a5403[_0x5d9fbc(0x177)]){case 0x0:this['_handleJoinEvent'](_0x2a5403);break;case 0x1:this[_0x5d9fbc(0x16d)](_0x2a5403);break;case 0x2:this[_0x5d9fbc(0x26c)](_0x2a5403);break;}}[_0x465324(0xc6)](_0x57d682){const _0x567e21=_0x465324,{unitIDs:_0x41809c,memberID:_0x5ddf73,isForwarded:_0x306d30}=_0x57d682;_0x41809c['forEach'](_0xabf08d=>{const _0x2cb11c=_0x4c50;if(!_0x306d30&&this[_0x2cb11c(0x304)][_0x2cb11c(0xfd)](_0xabf08d)&&this['_ensureSubject'](_0xabf08d)['next'](_0x40916b['UnitStatus'][_0x2cb11c(0xaf)]),!this[_0x2cb11c(0x304)][_0x2cb11c(0xfd)](_0xabf08d)||!this[_0x2cb11c(0x304)][_0x2cb11c(0x2d8)](_0xabf08d)['has'](_0x5ddf73)){const _0x1c2ae8=this['_unitOnClients'][_0x2cb11c(0x2d8)](_0xabf08d)||new Set();_0x1c2ae8[_0x2cb11c(0x246)](_0x5ddf73),this['_unitOnClients'][_0x2cb11c(0x154)](_0xabf08d,_0x1c2ae8),this[_0x2cb11c(0x290)](_0x5ddf73);}}),_0x306d30||this[_0x567e21(0x2e4)]({'type':0x0,'memberID':this[_0x567e21(0x2df)],'unitIDs':[...this[_0x567e21(0x232)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x74f8be){const _0x19aa14=_0x465324;this[_0x19aa14(0x2e9)](_0x74f8be);const _0x3761cf=window[_0x19aa14(0x327)](()=>{this['_unitOnClients']['forEach'](_0x40a1a7=>{_0x40a1a7['delete'](_0x74f8be);});},_0x5a96a0*0x2);this[_0x19aa14(0x240)]['set'](_0x74f8be,_0x3761cf);}['_removeClearOtherTimer'](_0x1149f3){const _0x2ae061=_0x465324;if(this[_0x2ae061(0x240)]['has'](_0x1149f3)){const _0x12cb6a=this[_0x2ae061(0x240)][_0x2ae061(0x2d8)](_0x1149f3);_0x12cb6a&&window[_0x2ae061(0x300)](_0x12cb6a),this['_clearOtherTimers'][_0x2ae061(0x154)](_0x1149f3,null);}}[_0x465324(0x16d)](_0xa6bf03){const _0x104983=_0x465324,{memberID:_0x46b630,unitIDs:_0x310a22}=_0xa6bf03;_0x310a22[_0x104983(0x134)](_0x231660=>{const _0x1e7351=_0x104983;var _0x22e1f6;const _0x4ad9e1=this['_unitOnClients'][_0x1e7351(0x2d8)](_0x231660);_0x4ad9e1&&(_0x4ad9e1[_0x1e7351(0x2bf)](_0x46b630),(_0x22e1f6=this[_0x1e7351(0x245)](_0x231660))==null||_0x22e1f6['next'](_0x4ad9e1['size']===0x0?_0x40916b['UnitStatus'][_0x1e7351(0x1ca)]:_0x40916b[_0x1e7351(0x26b)][_0x1e7351(0xaf)]));}),this[_0x104983(0x2e9)](_0x46b630);}[_0x465324(0x26c)](_0x370eee){const _0x13e916=_0x465324;this[_0x13e916(0x290)](_0x370eee[_0x13e916(0x9f)]);}[_0x465324(0x2e4)](_0x2b6af1){const _0xe4f427=_0x465324;localStorage[_0xe4f427(0x94)](_0x88df09,JSON[_0xe4f427(0x30c)](_0x2b6af1));}['_scheduleHeartbeat'](){const _0x4def11=_0x465324;this[_0x4def11(0x1fd)]=window[_0x4def11(0x1f8)](()=>{const _0x391040=_0x4def11;this[_0x391040(0x2e4)]({'type':0x2,'memberID':this['_id']});},_0x5a96a0);}[_0x465324(0x245)](_0x198549){const _0x9b2c23=_0x465324;return this[_0x9b2c23(0x284)]['has'](_0x198549)||this['_unitStatus']['set'](_0x198549,new _0x481311['BehaviorSubject'](_0x40916b[_0x9b2c23(0x26b)][_0x9b2c23(0x1ca)])),this[_0x9b2c23(0x284)][_0x9b2c23(0x2d8)](_0x198549);}}var _0x1fc8f5=(_0x449c16=>(_0x449c16[_0x449c16[_0x465324(0x24f)]=0x0]=_0x465324(0x24f),_0x449c16[_0x449c16['OK']=0x1]='OK',_0x449c16[_0x449c16[_0x465324(0x16b)]=0x2]=_0x465324(0x16b),_0x449c16[_0x449c16[_0x465324(0x21c)]=0x3]=_0x465324(0x21c),_0x449c16[_0x449c16['NOT_FOUND']=0x4]=_0x465324(0x2ca),_0x449c16[_0x449c16['UNAUTHENTICATED']=0x5]=_0x465324(0x2bb),_0x449c16[_0x449c16[_0x465324(0x171)]=0x6]=_0x465324(0x171),_0x449c16[_0x449c16[_0x465324(0x2f0)]=0x7]=_0x465324(0x2f0),_0x449c16[_0x449c16[_0x465324(0xf3)]=0x8]=_0x465324(0xf3),_0x449c16[_0x449c16[_0x465324(0x31e)]=0x9]='COMPLETION_FINISHED',_0x449c16[_0x449c16[_0x465324(0x2dc)]=0xa]=_0x465324(0x2dc),_0x449c16[_0x449c16['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x449c16[_0x449c16[_0x465324(0xba)]=0xc]=_0x465324(0xba),_0x449c16[_0x449c16[_0x465324(0x1ad)]=0xd]=_0x465324(0x1ad),_0x449c16[_0x449c16[_0x465324(0x250)]=0xe]=_0x465324(0x250),_0x449c16[_0x449c16['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x465324(0x2b5),_0x449c16[_0x449c16[_0x465324(0x206)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x449c16[_0x449c16['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x449c16[_0x449c16['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x449c16[_0x449c16[_0x465324(0x19c)]=0x1b59]=_0x465324(0x19c),_0x449c16[_0x449c16[_0x465324(0xc5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x449c16[_0x449c16[_0x465324(0x175)]=0x1b5b]=_0x465324(0x175),_0x449c16[_0x449c16['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x465324(0xf5),_0x449c16[_0x449c16[_0x465324(0x236)]=0x1b5d]=_0x465324(0x236),_0x449c16[_0x449c16[_0x465324(0x1c0)]=0x1f41]=_0x465324(0x1c0),_0x449c16[_0x449c16['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x465324(0x2b1),_0x449c16[_0x449c16['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x465324(0x321),_0x449c16[_0x449c16['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x449c16[_0x449c16['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x465324(0x2c8),_0x449c16[_0x449c16[_0x465324(0x152)]=0x232d]=_0x465324(0x152),_0x449c16[_0x449c16['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x465324(0x2e6),_0x449c16[_0x449c16['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x449c16[_0x449c16[_0x465324(0x2da)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x449c16[_0x449c16[_0x465324(0xcd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x449c16[_0x449c16[_0x465324(0x116)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x449c16[_0x449c16[_0x465324(0x10e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x449c16[_0x449c16[_0x465324(0x2a4)]=0x271c]=_0x465324(0x2a4),_0x449c16[_0x449c16[_0x465324(0x21a)]=0x271d]=_0x465324(0x21a),_0x449c16[_0x449c16['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x465324(0x23e),_0x449c16[_0x449c16['YUUMI_AI_RUN_FAILED']=0x271f]=_0x465324(0x1b9),_0x449c16[_0x449c16[_0x465324(0x133)]=0x2720]=_0x465324(0x133),_0x449c16[_0x449c16[_0x465324(0x2f5)]=0x2af9]=_0x465324(0x2f5),_0x449c16[_0x449c16['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x465324(0x187),_0x449c16[_0x449c16[_0x465324(0x23c)]=0x2ee2]=_0x465324(0x23c),_0x449c16[_0x449c16[_0x465324(0x237)]=0x2ee3]=_0x465324(0x237),_0x449c16[_0x449c16[_0x465324(0x22a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x449c16[_0x449c16[_0x465324(0x30a)]=0x2ee5]=_0x465324(0x30a),_0x449c16[_0x449c16['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x449c16[_0x449c16[_0x465324(0xb0)]=0x32ca]=_0x465324(0xb0),_0x449c16[_0x449c16['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x465324(0x12d),_0x449c16[_0x449c16[_0x465324(0x2af)]=-0x1]=_0x465324(0x2af),_0x449c16))(_0x1fc8f5||{}),_0x524f5c=Object[_0x465324(0x164)],_0x294bcb=(_0x104a9b,_0x50e5bd,_0x561aa8,_0x4ad421)=>{for(var _0x28c245=_0x4ad421>0x1?void 0x0:_0x4ad421?_0x524f5c(_0x50e5bd,_0x561aa8):_0x50e5bd,_0x4ab77f=_0x104a9b['length']-0x1,_0xdba68d;_0x4ab77f>=0x0;_0x4ab77f--)(_0xdba68d=_0x104a9b[_0x4ab77f])&&(_0x28c245=_0xdba68d(_0x28c245)||_0x28c245);return _0x28c245;},_0x128033=(_0x15b5c1,_0x446b04)=>(_0x3aecd3,_0x5d0e7b)=>_0x446b04(_0x3aecd3,_0x5d0e7b,_0x15b5c1);_0x17bc2c[_0x465324(0x1c8)]=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x175272,_0x11e2de,_0x3ff70c){const _0x5c89c1=_0x465324;super(),this[_0x5c89c1(0xfe)]=_0x175272,this[_0x5c89c1(0x1ef)]=_0x11e2de,this[_0x5c89c1(0x1d9)]=_0x3ff70c;}async[_0x465324(0x20e)](_0x982cef,_0x100efd,_0x4ce8de,..._0x2d3629){const _0x36f4ae=_0x465324;var _0x163c13,_0xb59d4f,_0x20db7c,_0x8bc81a;const _0x166de8=this['_instanceService'][_0x36f4ae(0x101)]();if(!_0x166de8)throw new Error(_0x36f4ae(0x1c7));const _0xd6d705=((_0x163c13=this[_0x36f4ae(0x1d9)][_0x36f4ae(0x1db)](_0x40916b[_0x36f4ae(0x2d3)]))!=null?_0x163c13:_0x40916b['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x982cef+_0x36f4ae(0x1cc)+_0x100efd,_0xf307d5=new URL(window[_0x36f4ae(0x13b)][_0x36f4ae(0x1d4)]),_0x50c4e5={'scriptId':_0x982cef,'runId':(_0xb59d4f=_0xf307d5['searchParams'][_0x36f4ae(0x2d8)](_0x36f4ae(0x254)))!=null?_0xb59d4f:'','function':_0x100efd,'unitId':_0x166de8[_0x36f4ae(0x324)](),'argsOfFunction':JSON[_0x36f4ae(0x30c)](_0x2d3629),'invokeId':(_0x20db7c=_0x4ce8de[_0x36f4ae(0x2a0)])!=null?_0x20db7c:'','executionId':(_0x8bc81a=_0x4ce8de[_0x36f4ae(0x1ea)])!=null?_0x8bc81a:''};try{const _0x3f64be=await this[_0x36f4ae(0x1ef)][_0x36f4ae(0x22e)](_0xd6d705,{'body':_0x50c4e5});return _0x3f64be['body']['error']&&_0x3f64be[_0x36f4ae(0x2aa)]['error']['code']!==_0x1fc8f5['OK']?'Failed':_0x3f64be['body'][_0x36f4ae(0x117)];}catch{return _0x36f4ae(0x1dd);}}},_0x17bc2c[_0x465324(0x1c8)]=_0x294bcb([_0x128033(0x0,_0x50247b[_0x465324(0x257)]),_0x128033(0x1,_0x50247b[_0x465324(0x15e)](_0x4c764b[_0x465324(0x239)])),_0x128033(0x2,_0x50247b['IConfigService'])],_0x17bc2c['RemoteUniscriptService']),_0x17bc2c[_0x465324(0x126)]=_0xdf38a9,_0x17bc2c[_0x465324(0x10d)]=_0x5cc1ef,_0x17bc2c[_0x465324(0x1cf)]=_0x25a3fc,_0x17bc2c[_0x465324(0x23f)]=_0x3d768f,_0x17bc2c[_0x465324(0x278)]=_0x18d761,Object['defineProperty'](_0x17bc2c,Symbol['toStringTag'],{'value':'Module'});}));function _0x4c50(_0x4ae161,_0x7bef3c){const _0x85f6fc=_0x85f6();return _0x4c50=function(_0x4c5070,_0x1227c9){_0x4c5070=_0x4c5070-0x93;let _0x5443b9=_0x85f6fc[_0x4c5070];return _0x5443b9;},_0x4c50(_0x4ae161,_0x7bef3c);}function _0x85f6(){const _0x2c7b95=['_getAnchorBounding','setAlpha','_initCommandExecutedListener','Error','_univerInstanceService','LICENSE_EXPORT_SIZE_EXCEEDED','getColorFromTheme','NOT_FOUND','UniverDrawing','getRelativeToViewportCoord','_getSessionTicket','TEXT_RANGE_LAYER_INDEX','CollaborationEvent','IImageIoService','_range','getCellPositionByOffset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','range','IConfigService','_transformHistoryAndStateStack','session.will-retry','get','session.connection-failed','YUUMI_RATE_OVER_LIMIT','ILocalStorageService','LOGIN_FAILED','prototype','_startSheetCollabCursor','_id','SYNCED','sheetID','_colorIndex','values','_send','InsertRangeMoveDownCommandId','YUUMI_UNABLE_LOAD_URL','collabCursorState$','source','_removeClearOtherTimer','DocCollaborationEntity','assign','then','SetWorksheetActivateCommand','_initEntityListener','updateOfflineData','INVALID_ARGUMENT','url(#off-line-icon_clip0_910_343)','getSheetBySheetId','DesktopCollaborationStatusDisplayController','unload','PY_RUNTIME_SCRIPT_ERROR','translate(.97)','mask','min','focused$','CollaborationDataLoaderController','RefRangeService','DataLoaderService','_drawAnchor','rxjs/operators','executeCommand','clearTimeout','error','_cursorShapes','isEditing','_unitOnClients','red.300','find','MUTATION','getCurrentUnitForType','CONFLICT','INVITE_CODE_ALREADY_BOUND','docStateChange$','stringify','wsSessionTicketUrl','ITransformService','SetTextSelectionsOperation','unshift','startRow','dispose$','Vector2','pluginName','_online','getMemberID','_removeCollabCursors','off-line-icon_clip0_910_343','UniverInstanceType','transformMutationsWithChangeset','_renderManagerService','subscribeEvent','fromEvent','COMPLETION_FINISHED','getAncestorScale','_dataLoaderService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','createElement','getRenderById','getUnitId','AWAITING_WITH_PENDING','_updateCollabCursors','setTimeout','loadUnit','@univerjs/docs','_collabSessionService','round','entries','1540000yMcXgI','setItem','svg','_docSkeletonManagerService','getSheetId','all','_collabCursorState$','serializeRangeWithSheet','_transformPreviousActiveRange','collab-text-anchor-','_labelPosition','_colorAssignService','memberID','drawWith','addClipboardHook','getRangePointData','displayName','_draw','onLocalMutation','assignAColorForMemberID','Rectangle','_handleHover','isTransformMutationsWithChangesetSuccess','_color','_updateSubUnitFromURLParams','handleInsertCol','INotificationService','green.600','OTHER_CLIENTS_EDITING','MOBILE_HAS_BEEN_BOUND','application/json','newValue','getCoordByCell','map','MessageType','backgroundColor','transformRemoteChangeset','http://www.w3.org/2000/svg','init','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','clsx','RECT','toRgbString','selection','replaceState','restore','dispose','transformMutation','push','transformByState','APPLY_NON_SEQUENTIAL_REVISION','_handleJoinEvent','[CollaborationDataLoaderController]','getCurrentRevOfUnit','startsWith','getUniverSheetInstance','_cursorInfo$','ColorKit','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','getUnhiddenWorksheets','CollaborationUIEventService','@univerjs/engine-formula','getVpScrollXYInfoByPosToVp','_initStatusListener','DocIMEInputManagerService','ISnapshotServerService','addEventListener','throttleTime','UniverSheets','icon','SHEET_VIEWPORT_KEY','UNIVER_SHEET','getOwnPropertySymbols','cursorInfo','ICommandService','collabStatus.offline','@univerjs/core','collabStatus.notCollab','urlChange$','@univerjs/sheets-ui','ILogService','_docSkeleton','getCurrentSelections','_collabCursorController','_injector','Plugin','_notificationService','defIds','text','size','top','saveImage','toDisposable','UniverEngineRender','useDependency','TOO_MANY_REQUESTS','isArray','APPLY_PERMISSION_DENIED','_registerDependencies','m1Prime','complete','_anchorDot','unit','Tooltip','getCollabCursors$','has','_instanceService','subunit','debounce','getFocusedUnit','generateRandomId','_eventUnsubscribe','Injector','permission.title','forwardRef','unitId','getItem','handleIRemoveCol','getValue','registerRenderModule','react','IURLService','YUUMI_ASYNCIO_CANCELLED','PENDING','CollaborationUIEventId','filter','Shape','blue.400','29655npwLyB','path','YUUMI_NO_CUBOID_FOR_QUESTION','result','_docTransformIMECacheService','USERS_LEAVE','_drawRectRange','_memberService','ACTIVE_UNIT_EVENT_CHANNEL','searchParams','use','10WbdmhY','_getScale','4128jYJQoo','@univerjs/docs-ui','onPointerEnter$','endRow','_transformUndoRedoStack','CollaborationStatusDisplay','Subject','whenReady','RemoveColCommandId','_context','_urlService','fillText','EMAIL_HAS_BEEN_BOUND','function','_initResize','_syncEditingCollabCursorService','getMember','collabStatus.fetchMiss','YUUMI_CONNECTOR_URL_NOT_FOUND','forEach','_setupBeforeClosingHandler','measureText','switchMap','_cachedData','CollaborationSessionService','deserializeRangeWithSheet','location','setShapeProps','saveOfflineData','_hover','distinctUntilChanged','_handleEvent','793251ZRDRLm','transformStateCache','MoveRangeCommandId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','mapTo','propertyIsEnumerable','CLOSE_ROOM','disposeWithMe','univer-flex\x20univer-items-center','sheetId','LocaleService','loadOfflineData','endColumn','OFFLINE','takeUntil','NodePositionConvertToCursor','FromArray','LICENSE_DISTRO_REJECTED','currentTheme$','set','_refRangeService','SOCKET_FAILED_RETRY','runRefRangeMutations','xlink:href','getStateCache','_shapes','SheetsSelectionsService','onRendered','asObservable','Inject','_render','_messageService','combineLatest','IRemoteInstanceService','data','getOwnPropertyDescriptor','fill','eventID','subUnitId','cursorInfo$','setParam','getActiveSheet','INTERNAL_ERROR','Workbook','_handleLeaveEvent','requireSession','RxDisposable','1em','ALREADY_EXISTS','trim','handleDeleteRangeMoveLeft','_lastPointer','APPLY_REVISION_CONFILICT','params','type','IBeforeCloseService','_createSocketURL','getSkeleton','createInstance','onMouseMove','onPointerMove$','DeleteRangeMoveLeftCommandId','getDocRanges','RemoveRowCommandId','_refreshCollabCursors','_textBubble','handleIRemoveRow','NOT_COLLAB','lineTo','DocStateChangeManagerService','INVITE_CODE_HAS_BEEN_UES','_collaborationController','colorChannel1','UniverCollaborationClientUIPlugin','UNIVER_DOC','getSheetObject','name','_getSheetObject','status$','BehaviorSubject','DocSkeletonManagerService','substring','_hovered','_getSaveTimeout','_startDocCollabCursor','getUnitStatus$','show','off-line-icon','_scheduleSaving','uni.network.url-service','hasOwnProperty','APPLY_REJECT','sessionStatus$','string','collab-text-range-','univerjs-icon\x20univerjs-icon-','disableLocalCache','clipPath','unitID','subscribe','getColor','isTransformMutationFailure','useCallback','_sheetSkeletonManagerService','_roomMembers$','_commandService','DeleteRangeMoveUpCommandId','exhaustSavingTask','EMAIL_VERIFY_CODE_MISMATCH','override','1183CMiRUG','CollaborationSocketService','CollaborationStatus','_registerRenderDependencies','_collaborationUIEventService','_updateLocalCursor','_toggleOffline','_doCreateSocket','...','resize','YUUMI_AI_RUN_FAILED','_docTransformStateCacheService','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','split','_scene','Tools','handleInsertRangeMoveRight','CONNECTOR_DATA_TOO_LARGE','SetDocZoomRatioOperation','_updateURLWithCurrentState','findNodePositionByCharIndex','_status$','fillStyle','indexOf','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RemoteUniscriptService','fromEventSubject','NO_OTHER_CLIENTS_EDITING','currentColor','/run/','React','replaceDocRanges','SheetCollabCursorShape','RichTextEditingMutation','next','2OHlhYo','syncEditingCollabCursor','href','106748suvjcU','UPDATE_CURSOR','connectInjector','entityInit$','_configService','_entityInit$','getConfig','DEFAULT_WS_SESSION_TICKET_URL','Failed','_saveCache','symbol','closePath','Disposable','search','sessionTicket','_docClipboardService','_scheduleHeartbeat','ILocalCacheService','onCommandExecuted','m2Prime','registerRefRange','executionId','storage','@univerjs/sheets','CollaborationController','registerComponent','_httpService','getUndoRedoMutationParamsCache','textRanges','UniverCollaborationClientPlugin','width','font','arc','IUIPartsService','_entities','setInterval','_themeService','idSuffix','on-line-icon','AWAITING','_heartbeatTimer','LOCAL_CACHE_INTERVAL','EffectRefRangId','debug','_cursor','object','IRenderManagerService','_backgroundColor','disposeUnit','SNAPSHOT_INVALID_SNAPSHOT','roomMembers','_localeService','_assignedColors','_localCacheService','imageSourceType','_getMergeRange','_transformService','runOnServer','_disabled','react/jsx-runtime','_anchor','createIdentifier','mutations','defs','VIEW_MAIN','SheetSkeletonManagerService','_saveTaskMap','rgba(255,\x20255,\x20255,\x200.01)','addObject','YUUMI_ALL_TABLES_IS_INVALID','includes','PERMISSION_DENIED','ISocketService','doc.mutation.rich-text-editing','height','2054405mTWDOw','attrs','history','length','labelPosition','white','color','NodePositionConvertToRectRange','UniverDocs','clearInterval','USER_NOT_INVITED_CODE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','beginPath','CommandType','post','SetSelectionsOperation','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_onRefRangeChange','_selfUnitIDs','call','_name','UniverIcon','APPLY_DUPLICATED','INVITE_CODE_REQUIRED','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','HTTPService','editingUnit','div','INVALID_INVITE_CODE','setUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WebBrowserSingleActiveUnitService','_clearOtherTimers','getCollabEntity$','enableLocalCache','operators','children','_ensureSubject','add','OTHER_CLIENT_EDITING','DocSelectionManagerService','@univerjs/drawing','collaboration-client.offline-data-not-saved','_localStorageService','yellow.400','event$','UniverUi','UNDEFINED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','save','exports','activeSheet$','runId','toString','_init','IUniverInstanceService','HEADER_MENU','SessionStatus','_initStatusComponent','concat','tag','collabStatus.syncing','replace','jsx','redoState','getViewport','evenodd','hide','Unknown\x20user','saveTaskMap','triggerDblclick','collabStatus.synced','hovered','send','Rect','UnitStatus','_handleHeartbeatEvent','BrowserCollaborationSocketService','UniverProCollaborationClient','isActive','deepClone','collaboration-client-ui.config','currentSkeleton$','UniverNetwork','OffLineIcon','getParam','touchDependencies','@univerjs/ui','WebURLService','from','transformSelections','addObjects','handleMoveRange','collab-client.tooltip.reconnect','_hideTimer','handleDeleteRangeMoveUp','DOC_RANGE_TYPE','collaboration.closeRoom','purple.300','BuiltInUIPart','_unitStatus','contains','Warning','_logService','useObservable','_session','bottom','_drawTextRange','pushState','extend','ThemeService','className','_scheduleClearOtherTimer','InsertColCommandId','origin','ranges','collabStatus.conflict','DisposableCollection','LOCAL_CACHE_INTERVAL_KEY','_initEvent','UniverEngineFormula','row','664FlwyeF','pipe','_imageIoService','_docStateChangeManagerService','309199LyJNkP','current','invokeId','key','_docSyncEditingCollabCursorService','black','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onCursorUpdate','on-line-icon_clip0_910_349','IMessageService','max','getLocalCacheKey','body','_toggleOnline','random','useRef','ticket','UNRECOGNIZED','unsubscribe','LICENSE_MAX_UNITS_EXCEEDED','registerDependencies','getTypeOfUnitAdded$','MemberService','CHANGESET_REVISION_CONFILICT','fillRule','_cursors','COLORS','UniverProCollaboration','engine','UNAUTHENTICATED','_onCursorDelete','@univerjs/rpc','merge','delete','_config','rxjs','UniverProCollaborationClientUi'];_0x85f6=function(){return _0x2c7b95;};return _0x85f6();}
1
+ (function(_0x2599d2,_0x41a234){const _0x57355d=_0x1efe,_0x46cbd5=_0x2599d2();while(!![]){try{const _0x4aff0e=parseInt(_0x57355d(0x365))/0x1+-parseInt(_0x57355d(0x409))/0x2*(-parseInt(_0x57355d(0x37f))/0x3)+-parseInt(_0x57355d(0x422))/0x4*(parseInt(_0x57355d(0x243))/0x5)+parseInt(_0x57355d(0x439))/0x6+parseInt(_0x57355d(0x3ad))/0x7+-parseInt(_0x57355d(0x3f4))/0x8+-parseInt(_0x57355d(0x1ac))/0x9*(parseInt(_0x57355d(0x33a))/0xa);if(_0x4aff0e===_0x41a234)break;else _0x46cbd5['push'](_0x46cbd5['shift']());}catch(_0x4f4d5d){_0x46cbd5['push'](_0x46cbd5['shift']());}}}(_0x55f2,0x36bac),function(_0x5ab966,_0x4f9d43){const _0xbb272a=_0x1efe;typeof exports==_0xbb272a(0x23c)&&typeof module<'u'?_0x4f9d43(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0xbb272a(0x28b)&&define[_0xbb272a(0x39e)]?define([_0xbb272a(0x445),_0xbb272a(0x31e),'@univerjs/core',_0xbb272a(0x2c0),'@univerjs/network','@univerjs/docs-ui',_0xbb272a(0x31a),_0xbb272a(0x35a),_0xbb272a(0x410),_0xbb272a(0x425),_0xbb272a(0x2b6),_0xbb272a(0x32c),_0xbb272a(0x434),_0xbb272a(0x314),'react/jsx-runtime',_0xbb272a(0x3b7),_0xbb272a(0x1fa),_0xbb272a(0x43f),_0xbb272a(0x3d5)],_0x4f9d43):(_0x5ab966=typeof globalThis<'u'?globalThis:_0x5ab966||self,_0x4f9d43(_0x5ab966['UniverProCollaborationClientUi']={},_0x5ab966[_0xbb272a(0x282)],_0x5ab966[_0xbb272a(0x1a7)],_0x5ab966[_0xbb272a(0x1fd)],_0x5ab966[_0xbb272a(0x38f)],_0x5ab966[_0xbb272a(0x423)],_0x5ab966[_0xbb272a(0x2e1)],_0x5ab966[_0xbb272a(0x35a)],_0x5ab966[_0xbb272a(0x276)],_0x5ab966['UniverDocs'],_0x5ab966[_0xbb272a(0x3de)],_0x5ab966[_0xbb272a(0x3c3)],_0x5ab966[_0xbb272a(0x35a)][_0xbb272a(0x348)],_0x5ab966[_0xbb272a(0x317)],_0x5ab966[_0xbb272a(0x38e)],_0x5ab966['UniverUi'],_0x5ab966[_0xbb272a(0x39f)],_0x5ab966[_0xbb272a(0x38e)],_0x5ab966['UniverRpc']));}(this,function(_0x5527a1,_0x5a7b55,_0x1f0a18,_0x1b328b,_0x254943,_0x4dd21f,_0x6b8129,_0x5900c2,_0x1cac3e,_0xb349ea,_0x512390,_0x5e0c6b,_0x58e73e,_0x2642d0,_0x35553a,_0x3835ea,_0x177c57,_0x35c730,_0x29d29a){'use strict';const _0x530ea4=_0x1efe;var _0x510b9e=Object[_0x530ea4(0x36e)],_0x1b2207=(_0xd62896,_0x1fca83,_0x5b1c30)=>_0x1fca83 in _0xd62896?_0x510b9e(_0xd62896,_0x1fca83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b1c30}):_0xd62896[_0x1fca83]=_0x5b1c30,_0x1b53be=(_0x13300a,_0x29f074,_0x451646)=>_0x1b2207(_0x13300a,typeof _0x29f074!='symbol'?_0x29f074+'':_0x29f074,_0x451646),_0x28f99e=Object[_0x530ea4(0x201)],_0x31b2c2=(_0xfdc19,_0x120328,_0x2f621f,_0x103084)=>{const _0x3c168d=_0x530ea4;for(var _0x151cf5=_0x103084>0x1?void 0x0:_0x103084?_0x28f99e(_0x120328,_0x2f621f):_0x120328,_0x5d0c21=_0xfdc19[_0x3c168d(0x2ee)]-0x1,_0x4b49b2;_0x5d0c21>=0x0;_0x5d0c21--)(_0x4b49b2=_0xfdc19[_0x5d0c21])&&(_0x151cf5=_0x4b49b2(_0x151cf5)||_0x151cf5);return _0x151cf5;},_0x54ae1a=(_0x45cb6c,_0x4d359e)=>(_0x3cee1c,_0x3cd7e7)=>_0x4d359e(_0x3cee1c,_0x3cd7e7,_0x45cb6c);let _0x25d763=class extends _0x1f0a18['RxDisposable']{constructor(_0x2b91a9,_0x58987f){const _0x365610=_0x530ea4;super(),this[_0x365610(0x3f3)]=_0x2b91a9,this[_0x365610(0x323)]=_0x58987f,this['_init']();}['_init'](){const _0x17f193=_0x530ea4,_0x229069=this;this[_0x17f193(0x3b8)](this[_0x17f193(0x3f3)][_0x17f193(0x26b)]({'onBeforePasteImage':async _0x3d3591=>{const _0x20f6ed=_0x17f193,_0x1ee4e7=await _0x229069[_0x20f6ed(0x323)][_0x20f6ed(0x2d3)](_0x3d3591);return _0x1ee4e7?{'source':_0x1ee4e7['source'],'imageSourceType':_0x1ee4e7[_0x20f6ed(0x41a)]}:null;}}));}};_0x25d763=_0x31b2c2([_0x54ae1a(0x0,_0x4dd21f[_0x530ea4(0x269)]),_0x54ae1a(0x1,_0x6b8129[_0x530ea4(0x205)])],_0x25d763);const _0x18bd82=[_0x530ea4(0x235),_0x530ea4(0x3d8),_0x530ea4(0x27d),_0x530ea4(0x21e),_0x530ea4(0x260),_0x530ea4(0x25a)];class _0x3e294f extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(){const _0x3a9312=_0x530ea4;super(...arguments),_0x1b53be(this,_0x3a9312(0x2ba),new Map()),_0x1b53be(this,_0x3a9312(0x3ef),0x0);}['assignAColorForMemberID'](_0xe8bb15){const _0x1f8b7d=_0x530ea4;if(this[_0x1f8b7d(0x2ba)][_0x1f8b7d(0x447)](_0xe8bb15))return this[_0x1f8b7d(0x2ba)][_0x1f8b7d(0x22f)](_0xe8bb15);const _0x5393e3=_0x18bd82[this['_colorIndex']];return this[_0x1f8b7d(0x3ef)]=(this['_colorIndex']+0x1)%_0x18bd82[_0x1f8b7d(0x2ee)],this[_0x1f8b7d(0x2ba)]['set'](_0xe8bb15,_0x5393e3),_0x5393e3;}}function _0x3ba1e2(_0x5915c8){const _0x409110=_0x530ea4;let _0x39317d='';for(const _0x58ace9 of _0x5915c8){const {startOffset:_0x1beb2e,endOffset:_0x1266ae,isActive:_0x34a347,rangeType:_0x21725f,segmentId:_0x5a9e5b,segmentPage:_0x1019a4}=_0x58ace9;_0x39317d[_0x409110(0x2ee)]&&(_0x39317d+=','),_0x39317d+=_0x1beb2e+':'+_0x1266ae+':'+(_0x34a347?'1':'0')+':'+_0x21725f+':'+_0x5a9e5b+':'+_0x1019a4;}return _0x39317d;}function _0x472396(_0x17cda6){const _0x4f3ee0=_0x530ea4,_0x3ff926=_0x17cda6[_0x4f3ee0(0x3b5)](','),_0x28ff1d=[];for(const _0x596123 of _0x3ff926){const [_0x537936,_0x283eca,_0x584889,_0x1fa993,_0x4566ce,_0x4c3f2c]=_0x596123['split'](':');_0x28ff1d[_0x4f3ee0(0x36a)]({'startOffset':Number(_0x537936),'endOffset':Number(_0x283eca),'collapsed':_0x537936===_0x283eca,'isActive':_0x584889==='1','rangeType':_0x1fa993===_0x1f0a18['DOC_RANGE_TYPE'][_0x4f3ee0(0x3db)]?_0x1f0a18[_0x4f3ee0(0x2df)][_0x4f3ee0(0x3db)]:_0x1f0a18[_0x4f3ee0(0x2df)][_0x4f3ee0(0x3c8)],'segmentId':typeof _0x4566ce==_0x4f3ee0(0x39b)?String(_0x4566ce):'','segmentPage':Number(_0x4c3f2c!=null?_0x4c3f2c:-0x1)});}return _0x28ff1d[_0x4f3ee0(0x263)](_0xd1f7c9=>_0xd1f7c9[_0x4f3ee0(0x431)])||(_0x28ff1d[0x0]['isActive']=!0x0),_0x28ff1d;}class _0x50ea68 extends _0x1f0a18['RxDisposable']{constructor(){const _0x2ff5a9=_0x530ea4;super(...arguments),_0x1b53be(this,_0x2ff5a9(0x2e3),new _0x5900c2['BehaviorSubject'](null)),_0x1b53be(this,_0x2ff5a9(0x3e1),this[_0x2ff5a9(0x2e3)]['asObservable']());}['syncEditingCollabCursor'](_0x10f8d2){const _0x2f2ef8=_0x530ea4,{unitID:_0x5d75b8,memberID:_0x11394d,textRanges:_0x37b6a7}=_0x10f8d2,_0x33aca9=_0x3ba1e2(_0x37b6a7);if(_0x33aca9==='')return;const _0x32b5c8={'unitID':_0x5d75b8,'memberID':_0x11394d,'selection':_0x33aca9};this['_collabCursorState$'][_0x2f2ef8(0x428)](_0x32b5c8);}}var _0x99c464=Object[_0x530ea4(0x201)],_0x4fd055=(_0x6ef960,_0x171d21,_0x449254,_0x38b92a)=>{const _0x4b3289=_0x530ea4;for(var _0x1adc76=_0x38b92a>0x1?void 0x0:_0x38b92a?_0x99c464(_0x171d21,_0x449254):_0x171d21,_0x4a6a7e=_0x6ef960[_0x4b3289(0x2ee)]-0x1,_0x29d958;_0x4a6a7e>=0x0;_0x4a6a7e--)(_0x29d958=_0x6ef960[_0x4a6a7e])&&(_0x1adc76=_0x29d958(_0x1adc76)||_0x1adc76);return _0x1adc76;},_0x2c9cff=(_0x59967d,_0x4e6205)=>(_0x2c0d3f,_0x52a473)=>_0x4e6205(_0x2c0d3f,_0x52a473,_0x59967d);const _0xbf49a1=0x12c,_0x3c0c1e=0x64;let _0x2ccc25=class extends _0x1f0a18['RxDisposable']{constructor(_0x4820a6,_0x1257bf,_0x2b7f6f,_0x26d71a,_0x3ace50,_0x29bf4a,_0x4680b9,_0x4aa67c,_0xf3003c){const _0xaff32f=_0x530ea4;super(),_0x1b53be(this,_0xaff32f(0x2dd),!0x1),_0x1b53be(this,_0xaff32f(0x30a),!0x1),_0x1b53be(this,_0xaff32f(0x30e),new _0x5900c2['BehaviorSubject'](new Map())),_0x1b53be(this,_0xaff32f(0x318),this['_cursorInfo$']['asObservable']()),_0x1b53be(this,'_roomMembers$',new _0x5900c2['BehaviorSubject']([])),_0x1b53be(this,_0xaff32f(0x22e),this[_0xaff32f(0x1d3)][_0xaff32f(0x420)](_0x5900c2['debounceTime'](_0xbf49a1))),_0x1b53be(this,_0xaff32f(0x1c1),_0x1f0a18[_0xaff32f(0x248)](_0x14144a=>{const _0x55affe=_0xaff32f,_0xac4197={'eventID':_0x1cac3e[_0x55affe(0x232)][_0x55affe(0x3bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x55affe(0x1aa)]['getMemberID'](),'selection':_0x3ba1e2(_0x14144a)}};this[_0x55affe(0x1aa)][_0x55affe(0x274)](_0xac4197,this[_0x55affe(0x275)]);},_0x3c0c1e)),(this[_0xaff32f(0x275)]=_0x4820a6,this[_0xaff32f(0x1aa)]=_0x1257bf,this['_injector']=_0x2b7f6f,this[_0xaff32f(0x1f5)]=_0x26d71a,this[_0xaff32f(0x3fd)]=_0x3ace50,this[_0xaff32f(0x3b4)]=_0x29bf4a,this[_0xaff32f(0x297)]=_0x4680b9,this[_0xaff32f(0x2cd)]=_0x4aa67c,this[_0xaff32f(0x3c2)]=_0xf3003c);}get[_0x530ea4(0x2eb)](){const _0xd3fc98=_0x530ea4;return this[_0xd3fc98(0x30e)][_0xd3fc98(0x1e4)]();}get[_0x530ea4(0x2e8)](){const _0x178d33=_0x530ea4;return this[_0x178d33(0x1d3)][_0x178d33(0x1e4)]();}['dispose'](){const _0x280420=_0x530ea4;super[_0x280420(0x342)](),this[_0x280420(0x30e)][_0x280420(0x428)](new Map()),this[_0x280420(0x30e)]['complete'](),this['_roomMembers$'][_0x280420(0x428)]([]),this['_roomMembers$'][_0x280420(0x361)]();}[_0x530ea4(0x29f)](){const _0x222d28=_0x530ea4;this['_init']||(this[_0x222d28(0x30a)]=!0x0,this[_0x222d28(0x1aa)]['sessionStatus$'][_0x222d28(0x420)](_0x5900c2['takeUntil'](this[_0x222d28(0x211)]))['subscribe'](_0x2da77c=>{const _0xb53f3d=_0x222d28;_0x2da77c===_0x5a7b55['SessionStatus'][_0xb53f3d(0x3ca)]?this[_0xb53f3d(0x25e)]():this[_0xb53f3d(0x344)]();}),this['_session'][_0x222d28(0x21d)][_0x222d28(0x420)](_0x5900c2[_0x222d28(0x24a)](this['dispose$']))[_0x222d28(0x272)](_0x326570=>{const _0x17f2e8=_0x222d28,_0x5f300f=_0x326570[_0x17f2e8(0x289)];_0x5f300f===_0x1cac3e[_0x17f2e8(0x232)][_0x17f2e8(0x3bc)]&&this['_onCursorUpdate'](_0x326570),_0x5f300f===_0x1cac3e[_0x17f2e8(0x232)][_0x17f2e8(0x2d5)]&&this['_onCursorDelete'](_0x326570);}),this[_0x222d28(0x3b8)](this[_0x222d28(0x3c2)]['onCommandExecuted'](_0x432522=>{const _0x4dc5d3=_0x222d28,_0x3e1efe=_0x432522['params'];_0x3e1efe!=null&&this[_0x4dc5d3(0x2dd)]&&_0x432522['id']===_0xb349ea['SetTextSelectionsOperation']['id']&&_0x3e1efe[_0x4dc5d3(0x3f0)]===this[_0x4dc5d3(0x275)]&&_0x3e1efe[_0x4dc5d3(0x1be)]===!0x1&&_0x3e1efe[_0x4dc5d3(0x28e)][_0x4dc5d3(0x2ee)]>0x0&&this[_0x4dc5d3(0x1c1)](_0x3e1efe['ranges']);})),this[_0x222d28(0x3b4)][_0x222d28(0x3e1)][_0x222d28(0x420)](_0x5900c2['takeUntil'](this['dispose$']))[_0x222d28(0x272)](_0x122a42=>{const _0x313469=_0x222d28;if((_0x122a42==null?void 0x0:_0x122a42[_0x313469(0x275)])!==this[_0x313469(0x275)])return;const _0x3dec95={'eventID':_0x1cac3e[_0x313469(0x232)][_0x313469(0x3bc)],'data':_0x122a42};this[_0x313469(0x356)](_0x3dec95);}),this[_0x222d28(0x3b8)](this[_0x222d28(0x3c2)][_0x222d28(0x3fb)](_0x4909b4=>{const _0x1f3adb=_0x222d28;if(_0x4909b4['params']==null)return;const _0x44c4d7=_0x4909b4[_0x1f3adb(0x357)];if(_0x4909b4['id']!==_0xb349ea[_0x1f3adb(0x36b)]['id']||_0x44c4d7['unitId']!==this[_0x1f3adb(0x275)])return;const _0x401919={'id':'doc.mutation.rich-text-editing','params':_0x44c4d7},_0x7065fb=this['cursorInfo'];for(const [_0x1e1d1c,_0x24988d]of _0x7065fb){const _0x272950={'id':_0x1f3adb(0x28f),'params':{'unitId':this[_0x1f3adb(0x275)],'actions':null,'textRanges':_0x24988d[_0x1f3adb(0x28e)]}},_0x2c45e8=this[_0x1f3adb(0x297)][_0x1f3adb(0x1d5)](_0x401919,_0x272950,!0x1);if(_0x1cac3e[_0x1f3adb(0x3da)](_0x2c45e8))throw _0x2c45e8[_0x1f3adb(0x31b)];_0x7065fb[_0x1f3adb(0x3ec)](_0x1e1d1c,{..._0x24988d,'ranges':_0x2c45e8[_0x1f3adb(0x1ab)][_0x1f3adb(0x357)][_0x1f3adb(0x2f4)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x7065fb);});})));}[_0x530ea4(0x356)](_0x253475){const _0x30ef6a=_0x530ea4;var _0x2a1203,_0x15b8ed;const {memberID:_0x216d8c,selection:_0x3b97fc}=_0x253475[_0x30ef6a(0x2b9)],_0x139957=_0x472396(_0x3b97fc),_0x263ce5=(_0x15b8ed=(_0x2a1203=this['_memberService']['getMember'](this[_0x30ef6a(0x275)],_0x216d8c))==null?void 0x0:_0x2a1203[_0x30ef6a(0x249)])!=null?_0x15b8ed:_0x30ef6a(0x39d),_0x189d15={'color':this[_0x30ef6a(0x1f5)][_0x30ef6a(0x343)](_0x216d8c),'name':_0x263ce5,'ranges':_0x139957},_0x54dcb9=this['cursorInfo'];_0x54dcb9[_0x30ef6a(0x3ec)](_0x216d8c,_0x189d15),this[_0x30ef6a(0x30e)][_0x30ef6a(0x428)](_0x54dcb9);}[_0x530ea4(0x2ab)](_0xd2de37){const _0xb65af2=_0x530ea4,{memberID:_0x2503c1}=_0xd2de37['data'],_0x15244d=this[_0xb65af2(0x2eb)];_0x15244d[_0xb65af2(0x222)](_0x2503c1),this[_0xb65af2(0x30e)][_0xb65af2(0x428)](_0x15244d);}[_0x530ea4(0x25e)](){const _0x3ead3d=_0x530ea4;var _0x3a377c;if(this[_0x3ead3d(0x2dd)]=!0x0,((_0x3a377c=this[_0x3ead3d(0x2cd)][_0x3ead3d(0x3d6)]())==null?void 0x0:_0x3a377c[_0x3ead3d(0x1e8)]())!==this['unitID'])return;const _0x210fa4=this['_injector'][_0x3ead3d(0x22f)](_0xb349ea[_0x3ead3d(0x3f6)])[_0x3ead3d(0x35f)]();Array[_0x3ead3d(0x307)](_0x210fa4)&&_0x210fa4[_0x3ead3d(0x2ee)]>0x0&&this[_0x3ead3d(0x1c1)](_0x210fa4);}['_toggleOffline'](){const _0x1564c2=_0x530ea4;this[_0x1564c2(0x2dd)]=!0x1;}};_0x2ccc25=_0x4fd055([_0x2c9cff(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x2c9cff(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x3e294f)),_0x2c9cff(0x4,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x3a3)])),_0x2c9cff(0x5,_0x1f0a18[_0x530ea4(0x41d)](_0x50ea68)),_0x2c9cff(0x6,_0x1cac3e[_0x530ea4(0x41e)]),_0x2c9cff(0x7,_0x1f0a18[_0x530ea4(0x2db)]),_0x2c9cff(0x8,_0x1f0a18[_0x530ea4(0x3d7)])],_0x2ccc25);var _0x207dcb=Object[_0x530ea4(0x201)],_0x1ee03d=(_0x5357ac,_0x578d5f,_0x1f618f,_0x561a26)=>{const _0x21fcc3=_0x530ea4;for(var _0x3cb56d=_0x561a26>0x1?void 0x0:_0x561a26?_0x207dcb(_0x578d5f,_0x1f618f):_0x578d5f,_0x18e4f7=_0x5357ac[_0x21fcc3(0x2ee)]-0x1,_0x43ce34;_0x18e4f7>=0x0;_0x18e4f7--)(_0x43ce34=_0x5357ac[_0x18e4f7])&&(_0x3cb56d=_0x43ce34(_0x3cb56d)||_0x3cb56d);return _0x3cb56d;},_0x1ef04f=(_0x5bd732,_0x524281)=>(_0x2a87dc,_0x464bd3)=>_0x524281(_0x2a87dc,_0x464bd3,_0x5bd732);const _0xb532ee=0x12c,_0x21482b=0x64,_0x1ffd99=()=>{let _0x422cc1=[],_0x31de6b=!0x1;return _0x589315=>{const _0x3e2f35=_0x1efe;_0x422cc1[_0x3e2f35(0x36a)](_0x589315),_0x31de6b||(_0x31de6b=!0x0,setTimeout(()=>{_0x422cc1['forEach'](_0x7bfae2=>_0x7bfae2()),_0x422cc1=[],_0x31de6b=!0x1;}));};};let _0x553a42=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x15be43,_0x12d922,_0xb65e2c,_0x2896af,_0x412cc3,_0x2f0726,_0x24537f,_0x429ae8){const _0x338e8b=_0x530ea4;super(),_0x1b53be(this,_0x338e8b(0x2dd),!0x1),_0x1b53be(this,_0x338e8b(0x30a),!0x1),_0x1b53be(this,_0x338e8b(0x30e),new _0x5900c2['BehaviorSubject'](new Map())),_0x1b53be(this,_0x338e8b(0x318),this[_0x338e8b(0x30e)][_0x338e8b(0x380)]()),_0x1b53be(this,_0x338e8b(0x1d3),new _0x5900c2['BehaviorSubject']([])),_0x1b53be(this,'roomMembers$',this['_roomMembers$'][_0x338e8b(0x420)](_0x5900c2[_0x338e8b(0x285)](_0xb532ee))),_0x1b53be(this,_0x338e8b(0x1c1),_0x1f0a18[_0x338e8b(0x248)]((_0x1fb4fc,_0x101536)=>{const _0x359fa5=_0x338e8b,_0x5b0686={'eventID':_0x1cac3e[_0x359fa5(0x232)][_0x359fa5(0x3bc)],'data':{'unitID':this[_0x359fa5(0x275)],'memberID':this[_0x359fa5(0x1aa)][_0x359fa5(0x27f)](),'selection':_0x512390['serializeRangeWithSheet'](_0x1fb4fc,_0x101536[_0x359fa5(0x1ef)])}};this[_0x359fa5(0x1aa)][_0x359fa5(0x274)](_0x5b0686,this[_0x359fa5(0x275)]);},_0x21482b)),(this[_0x338e8b(0x275)]=_0x15be43,this['_session']=_0x12d922,this[_0x338e8b(0x335)]=_0xb65e2c,this[_0x338e8b(0x1f5)]=_0x2896af,this[_0x338e8b(0x3fd)]=_0x412cc3,this[_0x338e8b(0x2cd)]=_0x2f0726,this[_0x338e8b(0x3c2)]=_0x24537f,this[_0x338e8b(0x25d)]=_0x429ae8);}get['cursorInfo'](){const _0x517a4b=_0x530ea4;return this[_0x517a4b(0x30e)][_0x517a4b(0x1e4)]();}get[_0x530ea4(0x2e8)](){const _0x2e8558=_0x530ea4;return this[_0x2e8558(0x1d3)][_0x2e8558(0x1e4)]();}[_0x530ea4(0x342)](){const _0x48ee86=_0x530ea4;super[_0x48ee86(0x342)](),this[_0x48ee86(0x30e)][_0x48ee86(0x428)](new Map()),this['_cursorInfo$'][_0x48ee86(0x361)](),this['_roomMembers$'][_0x48ee86(0x428)]([]),this['_roomMembers$'][_0x48ee86(0x361)]();}['init'](){const _0x5440a2=_0x530ea4;this[_0x5440a2(0x30a)]||(this[_0x5440a2(0x30a)]=!0x0,this[_0x5440a2(0x1aa)][_0x5440a2(0x333)][_0x5440a2(0x420)](_0x5900c2[_0x5440a2(0x24a)](this[_0x5440a2(0x211)]))['subscribe'](_0x1e4be1=>{const _0x3df592=_0x5440a2;_0x1e4be1===_0x5a7b55[_0x3df592(0x313)][_0x3df592(0x3ca)]?this['_toggleOnline']():this[_0x3df592(0x344)]();}),this['_session'][_0x5440a2(0x21d)][_0x5440a2(0x420)](_0x5900c2['takeUntil'](this['dispose$']))['subscribe'](_0x49de7f=>{const _0x33114d=_0x5440a2,_0x326b12=_0x49de7f['eventID'];_0x326b12===_0x1cac3e[_0x33114d(0x232)]['UPDATE_CURSOR']&&this[_0x33114d(0x356)](_0x49de7f),_0x326b12===_0x1cac3e[_0x33114d(0x232)][_0x33114d(0x2d5)]&&this[_0x33114d(0x2ab)](_0x49de7f);}),this[_0x5440a2(0x21f)](),this[_0x5440a2(0x3b8)](this[_0x5440a2(0x3c2)][_0x5440a2(0x3fb)](_0x3b3b19=>{const _0x3d95ca=_0x5440a2;if(this[_0x3d95ca(0x2dd)]&&_0x3b3b19['id']===_0x5e0c6b[_0x3d95ca(0x1bb)]['id']&&_0x3b3b19[_0x3d95ca(0x357)][_0x3d95ca(0x3f0)]===this[_0x3d95ca(0x275)]){const _0x52092f=_0x3b3b19[_0x3d95ca(0x357)];this['_updateLocalCursor'](_0x52092f[_0x3d95ca(0x2f8)],_0x52092f['selections'][0x0]);}})));}[_0x530ea4(0x356)](_0x3cc600){const _0x2b1c39=_0x530ea4;var _0xd37296,_0x3976bc;const {memberID:_0x1b2a8d,selection:_0xbf364}=_0x3cc600[_0x2b1c39(0x2b9)],{sheetName:_0x1fd41f,range:_0x401a68}=_0x512390[_0x2b1c39(0x30f)](_0xbf364),_0x262520={'name':(_0x3976bc=(_0xd37296=this[_0x2b1c39(0x3fd)][_0x2b1c39(0x405)](this['unitID'],_0x1b2a8d))==null?void 0x0:_0xd37296[_0x2b1c39(0x249)])!=null?_0x3976bc:_0x2b1c39(0x39d),'range':this[_0x2b1c39(0x39a)](_0x1fd41f,_0x401a68),'sheetID':_0x1fd41f,'color':this[_0x2b1c39(0x1f5)][_0x2b1c39(0x343)](_0x1b2a8d),'selection':_0xbf364},_0x25d3de=this[_0x2b1c39(0x2eb)];_0x25d3de[_0x2b1c39(0x3ec)](_0x1b2a8d,_0x262520),this[_0x2b1c39(0x30e)][_0x2b1c39(0x428)](_0x25d3de);}[_0x530ea4(0x2ab)](_0x3fd1b6){const _0x22ba72=_0x530ea4,{memberID:_0x20b203}=_0x3fd1b6[_0x22ba72(0x2b9)],_0x23681e=this['cursorInfo'];_0x23681e[_0x22ba72(0x222)](_0x20b203),this['_cursorInfo$'][_0x22ba72(0x428)](_0x23681e);}[_0x530ea4(0x39a)](_0x3415f9,_0x15dca6){const _0x3cd729=_0x530ea4;var _0x52a287,_0x28bb93;const _0x3de575=(_0x28bb93=(_0x52a287=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3cd729(0x275)]))==null?void 0x0:_0x52a287[_0x3cd729(0x3f8)](_0x3415f9))==null?void 0x0:_0x28bb93[_0x3cd729(0x3e2)]();return(_0x3de575==null?void 0x0:_0x3de575[_0x3cd729(0x2c8)](_0x15b28e=>_0x1f0a18[_0x3cd729(0x1b1)][_0x3cd729(0x2d1)](_0x15b28e,_0x15dca6)))||_0x15dca6;}['_onRefRangeChange'](){const _0x4f5939=_0x530ea4,_0x4ec81f=new _0x1f0a18[(_0x4f5939(0x2c5))](),_0x39a936=_0x1ffd99(),_0xba4d11=()=>{const _0x5872b8=_0x4f5939;_0x4ec81f[_0x5872b8(0x342)]();const _0x5e0a2d=(_0x310342,_0x3deac1,_0xb8ab2f,_0x3d34c7)=>{const _0x29b4f7=_0x5872b8;let _0x190fcd=[];switch(_0x310342['id']){case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x1ce)]:{_0x190fcd=_0x5e0c6b['handleDeleteRangeMoveLeft'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x190fcd=_0x5e0c6b['handleDeleteRangeMoveUp'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x352)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x247)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x345)]:{_0x190fcd=_0x5e0c6b['handleInsertRangeMoveDown'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x384)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x25b)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b['EffectRefRangId']['InsertRowCommandId']:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x337)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x364)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x40b)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x2b1)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x40d)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x3f9)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x349)](_0x310342,_0x3d34c7);break;}}const _0x42af65=_0x5e0c6b[_0x29b4f7(0x3a1)](_0x190fcd,_0x3d34c7),_0x308e54=this[_0x29b4f7(0x2eb)][_0x29b4f7(0x22f)](_0x3deac1);if(_0x308e54&&_0x42af65){const _0x5dcf61={..._0x308e54,'range':_0x42af65};this[_0x29b4f7(0x2eb)][_0x29b4f7(0x3ec)](_0x3deac1,_0x5dcf61),_0x39a936(()=>{const _0x251cdb=_0x29b4f7,_0x330bce=this[_0x251cdb(0x25d)][_0x251cdb(0x226)](_0x42af65,_0x121720=>(_0x330bce[_0x251cdb(0x342)](),_0x5e0a2d(_0x121720,_0x3deac1,_0xb8ab2f,_0x42af65)));_0x4ec81f[_0x251cdb(0x20b)](_0x330bce);});}return{'redos':[],'undos':[]};};this[_0x5872b8(0x2eb)]['forEach']((_0x399960,_0xca098a)=>{const _0x3c1315=_0x5872b8,{range:_0x4333e6,sheetID:_0x4032fd}=_0x399960,_0x4f0c1a=this[_0x3c1315(0x25d)][_0x3c1315(0x226)](_0x4333e6,_0x2efc6a=>(_0x4f0c1a['dispose'](),_0x5e0a2d(_0x2efc6a,_0xca098a,_0x4032fd,_0x4333e6)));_0x4ec81f[_0x3c1315(0x20b)](_0x4f0c1a);});};this[_0x4f5939(0x3b8)](_0x1f0a18[_0x4f5939(0x303)](this[_0x4f5939(0x30e)][_0x4f5939(0x272)](()=>{_0xba4d11();})));}[_0x530ea4(0x25e)](){const _0x496082=_0x530ea4;var _0x1f5992,_0x269c4b;if(this['_online']=!0x0,((_0x1f5992=this[_0x496082(0x2cd)][_0x496082(0x3d6)]())==null?void 0x0:_0x1f5992[_0x496082(0x1e8)]())!==this['unitID'])return;const _0x280020=(_0x269c4b=this[_0x496082(0x335)][_0x496082(0x22f)](_0x5e0c6b[_0x496082(0x350)])['getCurrentSelections']())==null?void 0x0:_0x269c4b[0x0],_0x308f31=this[_0x496082(0x2cd)][_0x496082(0x3e3)](_0x1f0a18[_0x496082(0x358)]['UNIVER_SHEET'])['getActiveSheet']();_0x280020&&_0x308f31&&this[_0x496082(0x1c1)](_0x308f31[_0x496082(0x1a9)](),_0x280020);}[_0x530ea4(0x344)](){const _0x50f126=_0x530ea4;this[_0x50f126(0x2dd)]=!0x1;}};_0x553a42=_0x1ee03d([_0x1ef04f(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x1ef04f(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x3e294f)),_0x1ef04f(0x4,_0x1f0a18['Inject'](_0x5a7b55[_0x530ea4(0x3a3)])),_0x1ef04f(0x5,_0x1f0a18[_0x530ea4(0x2db)]),_0x1ef04f(0x6,_0x1f0a18['ICommandService']),_0x1ef04f(0x7,_0x1f0a18[_0x530ea4(0x41d)](_0x5e0c6b[_0x530ea4(0x1e9)]))],_0x553a42);var _0x42a267=Object['getOwnPropertyDescriptor'],_0x4c0614=(_0x16d296,_0x29dfbd,_0x2caf5d,_0x103d13)=>{const _0x14f3cc=_0x530ea4;for(var _0xc3dbe4=_0x103d13>0x1?void 0x0:_0x103d13?_0x42a267(_0x29dfbd,_0x2caf5d):_0x29dfbd,_0x4fb40f=_0x16d296[_0x14f3cc(0x2ee)]-0x1,_0x4116f8;_0x4fb40f>=0x0;_0x4fb40f--)(_0x4116f8=_0x16d296[_0x4fb40f])&&(_0xc3dbe4=_0x4116f8(_0xc3dbe4)||_0xc3dbe4);return _0xc3dbe4;},_0x173ee3=(_0x4461a8,_0x293bd1)=>(_0x1128f,_0x3ca8d8)=>_0x293bd1(_0x1128f,_0x3ca8d8,_0x4461a8);let _0x201d0c=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x5f513a,_0x905e26,_0x228505){const _0x50cf57=_0x530ea4;super(),_0x1b53be(this,_0x50cf57(0x1dd),new Map()),_0x1b53be(this,_0x50cf57(0x227),new _0x5900c2[(_0x50cf57(0x1c7))]()),(this['_univerInstanceService']=_0x5f513a,this[_0x50cf57(0x335)]=_0x905e26,this[_0x50cf57(0x241)]=_0x228505,this['_init']());}[_0x530ea4(0x342)](){const _0x12f66f=_0x530ea4;super[_0x12f66f(0x342)](),this['_entityInit$'][_0x12f66f(0x361)](),this[_0x12f66f(0x1dd)][_0x12f66f(0x371)](_0x29c6fc=>_0x29c6fc[_0x12f66f(0x342)]());}[_0x530ea4(0x3be)](_0x19ad77){const _0x2d2aec=_0x530ea4;return this[_0x2d2aec(0x1dd)]['has'](_0x19ad77)?this['_entities'][_0x2d2aec(0x22f)](_0x19ad77)[_0x2d2aec(0x318)]:this[_0x2d2aec(0x227)][_0x2d2aec(0x420)](_0x5900c2[_0x2d2aec(0x26d)](_0x2c3a27=>_0x2c3a27['unitID']===_0x19ad77),_0x5900c2['switchMap'](_0xd72bae=>_0xd72bae[_0x2d2aec(0x318)]));}[_0x530ea4(0x30a)](){const _0x596cbb=_0x530ea4;this[_0x596cbb(0x2cd)][_0x596cbb(0x36c)](_0x1f0a18['UniverInstanceType'][_0x596cbb(0x1ff)])[_0x596cbb(0x420)](_0x5900c2['takeUntil'](this[_0x596cbb(0x211)]))[_0x596cbb(0x272)](async _0x1d966a=>{const _0x174efa=_0x596cbb,_0x29d88c=_0x1d966a['getUnitId'](),_0x54be56=await this[_0x174efa(0x2fd)](_0x29d88c);this[_0x174efa(0x227)]['next'](_0x54be56),this[_0x174efa(0x1dd)]['set'](_0x29d88c,_0x54be56);}),this['_univerInstanceService'][_0x596cbb(0x36c)](_0x1f0a18[_0x596cbb(0x358)][_0x596cbb(0x389)])[_0x596cbb(0x420)](_0x5900c2[_0x596cbb(0x24a)](this[_0x596cbb(0x211)]))[_0x596cbb(0x420)](_0x5900c2['filter'](_0x464db6=>!_0x464db6[_0x596cbb(0x1e8)]()[_0x596cbb(0x398)]('__')))[_0x596cbb(0x272)](async _0x12614b=>{const _0x5a5a1e=_0x596cbb,_0x35c7d7=_0x12614b['getUnitId'](),_0x2be09d=await this[_0x5a5a1e(0x34c)](_0x35c7d7);this[_0x5a5a1e(0x227)][_0x5a5a1e(0x428)](_0x2be09d),this[_0x5a5a1e(0x1dd)][_0x5a5a1e(0x3ec)](_0x35c7d7,_0x2be09d);}),_0x5900c2[_0x596cbb(0x35e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1f0a18[_0x596cbb(0x358)][_0x596cbb(0x389)]),this[_0x596cbb(0x2cd)]['getTypeOfUnitDisposed$'](_0x1f0a18[_0x596cbb(0x358)]['UNIVER_SHEET']))['pipe'](_0x5900c2['takeUntil'](this['dispose$']))[_0x596cbb(0x272)](_0x4b367c=>{const _0xe1ed70=_0x596cbb,_0x2ceaf5=_0x4b367c[_0xe1ed70(0x1e8)](),_0xd49afe=this[_0xe1ed70(0x1dd)][_0xe1ed70(0x22f)](_0x2ceaf5);_0xd49afe&&(_0xd49afe[_0xe1ed70(0x342)](),this[_0xe1ed70(0x1dd)][_0xe1ed70(0x222)](_0x2ceaf5));});}async[_0x530ea4(0x2fd)](_0xbf9f0a){const _0x439c39=_0x530ea4,_0x447fbe=await this['_collabSessionService'][_0x439c39(0x362)](_0xbf9f0a),_0x117cf8=this['_injector'][_0x439c39(0x2e9)](_0x553a42,_0xbf9f0a,_0x447fbe);return _0x117cf8['init'](),_0x117cf8;}async['_startDocCollabCursor'](_0x3b0dbd){const _0x28107e=_0x530ea4,_0x173837=await this[_0x28107e(0x241)]['requireSession'](_0x3b0dbd),_0x10e3c6=this[_0x28107e(0x335)][_0x28107e(0x2e9)](_0x2ccc25,_0x3b0dbd,_0x173837);return _0x10e3c6[_0x28107e(0x29f)](),_0x10e3c6;}};_0x201d0c=_0x4c0614([_0x173ee3(0x0,_0x1f0a18[_0x530ea4(0x2db)]),_0x173ee3(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x173ee3(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55['CollaborationSessionService']))],_0x201d0c);const _0x4c79ca=0x14,_0x1b2881=0xc8,_0x390ed3=0x4,_0x2afd1e=0x5;function _0x3874d2(_0x16719e,_0x5ae0fc){const _0x4c2eaa=_0x530ea4;let {radius:_0x3a55f7,width:_0x26ba28,height:_0x155093}=_0x5ae0fc;_0x3a55f7=_0x3a55f7!=null?_0x3a55f7:0x0,_0x26ba28=_0x26ba28!=null?_0x26ba28:0x1e,_0x155093=_0x155093!=null?_0x155093:0x1e;let _0x5c9d6b=0x0,_0x523f40=0x0,_0x27c517=0x0;_0x5c9d6b=_0x523f40=_0x27c517=Math[_0x4c2eaa(0x30d)](_0x3a55f7,_0x26ba28/0x2,_0x155093/0x2),_0x16719e[_0x4c2eaa(0x417)](),_0x16719e[_0x4c2eaa(0x402)](_0x5c9d6b,0x0),_0x16719e[_0x4c2eaa(0x1c2)](_0x26ba28-_0x523f40,0x0),_0x16719e[_0x4c2eaa(0x3af)](_0x26ba28-_0x523f40,_0x523f40,_0x523f40,Math['PI']*0x3/0x2,0x0,!0x1),_0x16719e[_0x4c2eaa(0x1c2)](_0x26ba28,_0x155093-_0x27c517),_0x16719e[_0x4c2eaa(0x3af)](_0x26ba28-_0x27c517,_0x155093-_0x27c517,_0x27c517,0x0,Math['PI']/0x2,!0x1),_0x16719e[_0x4c2eaa(0x1c2)](0x0,_0x155093),_0x16719e[_0x4c2eaa(0x1c2)](0x0,_0x5c9d6b),_0x16719e['arc'](_0x5c9d6b,_0x5c9d6b,_0x5c9d6b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16719e[_0x4c2eaa(0x33b)](),_0x5ae0fc['fill']&&(_0x16719e[_0x4c2eaa(0x412)](),_0x16719e[_0x4c2eaa(0x3a4)]=_0x5ae0fc['fill'],_0x5ae0fc[_0x4c2eaa(0x3e0)]===_0x4c2eaa(0x3c9)?_0x16719e[_0x4c2eaa(0x1c4)](_0x4c2eaa(0x3c9)):_0x16719e[_0x4c2eaa(0x1c4)](),_0x16719e['restore']());}class _0x2d6177 extends _0x1b328b[_0x530ea4(0x2aa)]{constructor(_0x54d587,_0x53d90e){const _0x378841=_0x530ea4;super(_0x54d587,_0x53d90e),_0x1b53be(this,_0x378841(0x1b4)),_0x1b53be(this,_0x378841(0x1b2)),(this[_0x378841(0x1b4)]=_0x53d90e==null?void 0x0:_0x53d90e[_0x378841(0x1b4)],this['text']=_0x53d90e==null?void 0x0:_0x53d90e['text']);}static[_0x530ea4(0x400)](_0x9e617a,_0x17e975){const _0x1bf4be=_0x530ea4,{text:_0x240dd2,color:_0x5d0905}=_0x17e975;_0x9e617a[_0x1bf4be(0x412)](),_0x9e617a['font']=_0x1bf4be(0x3fc);const _0x516dd8=_0x9e617a[_0x1bf4be(0x2ff)](_0x240dd2)[_0x1bf4be(0x25c)],_0x22fb3c=Math['min'](_0x516dd8+0x2*_0x390ed3,_0x1b2881);_0x3874d2(_0x9e617a,{'height':_0x4c79ca,'radius':0x4,'width':_0x22fb3c,'fill':_0x5d0905}),_0x9e617a[_0x1bf4be(0x3a4)]=_0x1bf4be(0x32d);const _0x525f34=_0x390ed3,_0x5949bf=_0x4c79ca-_0x2afd1e,_0x2a7a69=_0x1b2881-0x2*_0x390ed3;if(_0x516dd8>_0x2a7a69){let _0x35d5ae='',_0x582505=0x0;for(const _0x14357f of _0x240dd2){const _0x47207f=_0x9e617a[_0x1bf4be(0x2ff)](_0x14357f)[_0x1bf4be(0x25c)];if(_0x582505+_0x47207f<=_0x2a7a69-_0x9e617a['measureText']('...')[_0x1bf4be(0x25c)])_0x35d5ae+=_0x14357f,_0x582505+=_0x47207f;else{_0x35d5ae+=_0x1bf4be(0x340);break;}}_0x9e617a['fillText'](_0x35d5ae,_0x525f34,_0x5949bf);}else _0x9e617a[_0x1bf4be(0x1e6)](_0x240dd2,_0x525f34,_0x5949bf);_0x9e617a[_0x1bf4be(0x391)]();}['_draw'](_0x1a83d6){const _0x5ee558=_0x530ea4;_0x2d6177[_0x5ee558(0x400)](_0x1a83d6,this);}}const _0x2f287c=_0x530ea4(0x238),_0x383cc0=_0x530ea4(0x2f6),_0x46878b='collab-rect-range-',_0x49a11a=0x6,_0x4b20f8=1.5,_0x1f854d=0x4,_0x220ce7=1.5,_0xa7614='rgba(255,\x20255,\x20255,\x200.01)';class _0x2d8475{constructor(_0x3640ee,_0x108444,_0x15859a,_0x16d320){const _0x11edcf=_0x530ea4;_0x1b53be(this,_0x11edcf(0x429),[]),_0x1b53be(this,'_anchor',null),_0x1b53be(this,'_textBubble',null),_0x1b53be(this,'_anchorDot',null),_0x1b53be(this,_0x11edcf(0x230),null),_0x1b53be(this,_0x11edcf(0x270),null),(this[_0x11edcf(0x1e5)]=_0x3640ee,this[_0x11edcf(0x42f)]=_0x108444,this[_0x11edcf(0x2a8)]=_0x15859a,this[_0x11edcf(0x3a0)]=_0x16d320,this[_0x11edcf(0x291)]());}set['_hover'](_0x1f9e55){const _0x37f044=_0x530ea4;_0x1f9e55?(this[_0x37f044(0x265)]&&this[_0x37f044(0x265)][_0x37f044(0x3ce)](),this[_0x37f044(0x256)]&&this[_0x37f044(0x256)][_0x37f044(0x40a)]()):(this['_anchorDot']&&this[_0x37f044(0x265)]['show'](),this[_0x37f044(0x256)]&&this[_0x37f044(0x256)][_0x37f044(0x3ce)]());}[_0x530ea4(0x342)](){const _0x5f8f12=_0x530ea4;for(const _0x4ad786 of this[_0x5f8f12(0x429)])_0x4ad786['dispose']();this[_0x5f8f12(0x256)]&&this[_0x5f8f12(0x256)]['dispose'](),this[_0x5f8f12(0x265)]&&this[_0x5f8f12(0x265)]['dispose'](),this['_anchor']&&this[_0x5f8f12(0x406)][_0x5f8f12(0x342)](),this[_0x5f8f12(0x270)]&&this[_0x5f8f12(0x270)]();}[_0x530ea4(0x291)](){const _0x1ab197=_0x530ea4;var _0x53f058;const {_docSkeleton:_0x3763be,_document:_0x145b69}=this,{color:_0x5dbfd9,name:_0x39c00f,ranges:_0x3db144}=this[_0x1ab197(0x1e5)],_0x233d83=_0x145b69[_0x1ab197(0x3bf)](),{docsLeft:_0x87aba5,docsTop:_0xfc2c1e}=_0x233d83,_0x1e331a=new _0x4dd21f[(_0x1ab197(0x1ad))](_0x233d83,_0x3763be);for(const {startOffset:_0x261c86,endOffset:_0x326909,rangeType:_0x23c239,segmentId:_0x513c54,segmentPage:_0x5210c5,collapsed:_0x10c914,isActive:_0x4c59c7}of _0x3db144){const _0x117037=_0x3763be[_0x1ab197(0x2e7)](_0x261c86,!0x0,_0x513c54,_0x5210c5);let _0x318f94=_0x3763be[_0x1ab197(0x2e7)](_0x326909,!0x0,_0x513c54,_0x5210c5);if(_0x318f94==null&&(_0x318f94=_0x3763be[_0x1ab197(0x2e7)](_0x326909-0x1,!0x1,_0x513c54,_0x5210c5)),_0x4c59c7){const {contentBoxPointGroup:_0x35cfb7}=_0x1e331a[_0x1ab197(0x261)](_0x318f94,_0x318f94);if(_0x35cfb7[_0x1ab197(0x2ee)]===0x0)continue;this[_0x1ab197(0x2d9)](_0x5dbfd9,_0x35cfb7,_0x87aba5,_0xfc2c1e,_0x39c00f),this[_0x1ab197(0x270)]=this['_handleHover']();}if(_0x117037&&_0x318f94){if(_0x23c239===_0x1f0a18[_0x1ab197(0x2df)][_0x1ab197(0x3c8)]){const _0x6efb71=new _0x4dd21f[(_0x1ab197(0x39c))](_0x233d83,_0x3763be),{pointGroup:_0x4e0edc}=(_0x53f058=_0x6efb71[_0x1ab197(0x261)](_0x117037,_0x318f94))!=null?_0x53f058:{};if(_0x4e0edc==null||_0x4e0edc['length']===0x0)continue;this[_0x1ab197(0x403)](_0x5dbfd9,_0x4e0edc,_0x87aba5,_0xfc2c1e);}else{if(!_0x10c914){const {borderBoxPointGroup:_0xadacc2}=_0x1e331a[_0x1ab197(0x261)](_0x117037,_0x318f94);if(_0xadacc2['length']===0x0)continue;this[_0x1ab197(0x33d)](_0x5dbfd9,_0xadacc2,_0x87aba5,_0xfc2c1e);}}}}}[_0x530ea4(0x2d9)](_0x32d5a6,_0x123eaf,_0x9e78a4,_0x3a7d21,_0x24958a){const _0x41667c=_0x530ea4,_0x3cd718=this['_getAnchorBounding'](_0x123eaf),{left:_0x70a58a,top:_0x3f2e99,height:_0x3b146a}=_0x3cd718,_0x2c58a5=this[_0x41667c(0x386)](),_0x249acc=_0x220ce7/_0x2c58a5,_0x12af96=new _0x1b328b[(_0x41667c(0x311))](_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21,'height':_0x3b146a,'width':_0x4b20f8,'fill':_0x32d5a6||_0x1b328b[_0x41667c(0x1fb)](_0x1f0a18[_0x41667c(0x3c4)][_0x41667c(0x20e)],0x0),'strokeWidth':_0x249acc,'stroke':_0xa7614,'evented':!0x0});this['_anchor']=_0x12af96,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0x12af96,_0x4dd21f[_0x41667c(0x29e)]);const _0x2fa387=new _0x1b328b['Rect'](_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21-_0x1f854d/0x2,'height':_0x1f854d,'width':_0x1f854d,'fill':_0x32d5a6||_0x1b328b[_0x41667c(0x1fb)](_0x1f0a18['COLORS'][_0x41667c(0x20e)],0x0),'strokeWidth':0x0,'stroke':_0x32d5a6||_0x1b328b['getColor'](_0x1f0a18[_0x41667c(0x3c4)][_0x41667c(0x20e)],0x0),'evented':!0x1});this['_anchorDot']=_0x2fa387,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0x2fa387,_0x4dd21f[_0x41667c(0x29e)]);const _0xf09ed6=new _0x2d6177(_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21-_0x4c79ca,'text':_0x24958a,'color':_0x32d5a6});this[_0x41667c(0x256)]=_0xf09ed6,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0xf09ed6,_0x4dd21f['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x530ea4(0x327)](){const _0x33c784=_0x530ea4,_0x302cbd=this[_0x33c784(0x406)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x137b6e=this[_0x33c784(0x406)][_0x33c784(0x245)][_0x33c784(0x1df)](()=>{const _0x2b3b5a=_0x33c784;this[_0x2b3b5a(0x230)]&&clearTimeout(this[_0x2b3b5a(0x230)]),this['_hideTimer']=setTimeout(()=>{const _0x5ed067=_0x2b3b5a;this[_0x5ed067(0x2fb)]=!0x1;},0x7d0);});return()=>{const _0x50e411=_0x33c784;_0x302cbd[_0x50e411(0x2ea)](),_0x137b6e[_0x50e411(0x2ea)]();};}[_0x530ea4(0x33d)](_0x1def34,_0x3b3bb5,_0x321469,_0x3a457c){const _0x4f6961=_0x530ea4,_0x5a428b=new _0x1f0a18['ColorKit'](_0x1def34)[_0x4f6961(0x382)](0.2)[_0x4f6961(0x34b)](),_0x18202c=new _0x1b328b[(_0x4f6961(0x215))](_0x383cc0+_0x1f0a18[_0x4f6961(0x23b)](_0x49a11a),{'pointsGroup':_0x3b3bb5,'fill':_0x5a428b||_0x1b328b['getColor'](_0x1f0a18['COLORS']['black'],0.2),'left':_0x321469,'top':_0x3a457c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f6961(0x429)][_0x4f6961(0x36a)](_0x18202c),this['_scene'][_0x4f6961(0x3c0)](_0x18202c,_0x4dd21f[_0x4f6961(0x29e)]);}['_drawRectRange'](_0x4cb3ec,_0x38ef1b,_0x54c384,_0x2dbb09){const _0x2911f2=_0x530ea4,_0x531840=new _0x1f0a18[(_0x2911f2(0x3e6))](_0x4cb3ec)[_0x2911f2(0x382)](0.2)[_0x2911f2(0x34b)](),_0x4cf47a=new _0x1b328b[(_0x2911f2(0x215))](_0x46878b+_0x1f0a18[_0x2911f2(0x23b)](_0x49a11a),{'pointsGroup':_0x38ef1b,'fill':_0x531840||_0x1b328b[_0x2911f2(0x1fb)](_0x1f0a18[_0x2911f2(0x3c4)]['black'],0.2),'left':_0x54c384,'top':_0x2dbb09,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2911f2(0x429)][_0x2911f2(0x36a)](_0x4cf47a),this[_0x2911f2(0x42f)]['addObject'](_0x4cf47a,_0x4dd21f[_0x2911f2(0x29e)]);}[_0x530ea4(0x259)](_0x2d064f){const _0x29cbca=_0x2d064f[0x0],_0x115ac0=_0x29cbca[0x0],_0xdb5074=_0x29cbca[0x2],{x:_0x3ef336,y:_0x3fed42}=_0x115ac0,{x:_0x238388,y:_0x45bce5}=_0xdb5074;return{'left':_0x3ef336,'top':_0x3fed42,'width':_0x238388-_0x3ef336,'height':_0x45bce5-_0x3fed42};}[_0x530ea4(0x386)](){const _0x18afc1=_0x530ea4,{scaleX:_0x473a9c,scaleY:_0x3d2842}=this[_0x18afc1(0x42f)][_0x18afc1(0x24b)]();return Math[_0x18afc1(0x3d9)](_0x473a9c,_0x3d2842);}}var _0x1a6180=Object[_0x530ea4(0x201)],_0x41c84c=(_0x5aaa70,_0x542dc0,_0xa2a347,_0x5e2978)=>{const _0x484009=_0x530ea4;for(var _0x2c8391=_0x5e2978>0x1?void 0x0:_0x5e2978?_0x1a6180(_0x542dc0,_0xa2a347):_0x542dc0,_0x7dffe0=_0x5aaa70[_0x484009(0x2ee)]-0x1,_0x33777f;_0x7dffe0>=0x0;_0x7dffe0--)(_0x33777f=_0x5aaa70[_0x7dffe0])&&(_0x2c8391=_0x33777f(_0x2c8391)||_0x2c8391);return _0x2c8391;},_0x1e14ef=(_0x441141,_0xed53a5)=>(_0x412e67,_0x5630d3)=>_0xed53a5(_0x412e67,_0x5630d3,_0x441141);let _0x2d1851=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x18ac57,_0x1b72c0,_0x25c411,_0x59c7f7,_0x146f75){const _0x56af62=_0x530ea4;super(),_0x1b53be(this,_0x56af62(0x3ac),[]),_0x1b53be(this,_0x56af62(0x1fc),[]),(this[_0x56af62(0x3ee)]=_0x18ac57,this[_0x56af62(0x441)]=_0x1b72c0,this[_0x56af62(0x1d7)]=_0x25c411,this[_0x56af62(0x3c2)]=_0x59c7f7,this['_themeService']=_0x146f75,this[_0x56af62(0x30a)]());}[_0x530ea4(0x30a)](){const _0x5a5fae=_0x530ea4,_0x29235a=this['_context'][_0x5a5fae(0x3f0)],_0x423ab5=this[_0x5a5fae(0x441)];this[_0x5a5fae(0x3b8)](_0x5900c2[_0x5a5fae(0x421)]([this[_0x5a5fae(0x1d7)]['getCollabCursors$'](_0x29235a),this[_0x5a5fae(0x341)][_0x5a5fae(0x26c)]])[_0x5a5fae(0x420)](_0x58e73e[_0x5a5fae(0x203)](([_0x37fdd5,_0xf4f642])=>({'skeleton':_0x423ab5[_0x5a5fae(0x1c6)](),'cursors':[..._0x37fdd5[_0x5a5fae(0x310)]()]['flatMap'](_0x131a41=>({..._0x131a41,'color':this[_0x5a5fae(0x341)][_0x5a5fae(0x3e5)](_0x131a41[_0x5a5fae(0x1b4)])}))})))[_0x5a5fae(0x272)](_0x28aa34=>{const _0xddb216=_0x5a5fae;if(this['_removeCollabCursors'](),_0x28aa34){const {skeleton:_0x21b017,cursors:_0x266654}=_0x28aa34;this[_0xddb216(0x2c1)](_0x21b017,_0x266654);}})),this[_0x5a5fae(0x3f1)](),this[_0x5a5fae(0x41b)]();}[_0x530ea4(0x2c1)](_0x3b5d12,_0xb53446){const _0x86711f=_0x530ea4,{scene:_0x534f9a,mainComponent:_0x2836da}=this[_0x86711f(0x3ee)],_0x5ad020=_0xb53446[_0x86711f(0x203)](_0x298623=>new _0x2d8475(_0x298623,_0x534f9a,_0x3b5d12,_0x2836da));this[_0x86711f(0x3ac)]=_0x5ad020,this[_0x86711f(0x1fc)]=_0xb53446;}[_0x530ea4(0x3aa)](){const _0x40a7c9=_0x530ea4;this[_0x40a7c9(0x2f3)]();const {scene:_0x37ee97,mainComponent:_0x25e85a}=this[_0x40a7c9(0x3ee)],_0x3f5b4d=this[_0x40a7c9(0x441)][_0x40a7c9(0x1c6)](),_0x3d58be=this['_cursors'][_0x40a7c9(0x203)](_0xc6cceb=>new _0x2d8475(_0xc6cceb,_0x37ee97,_0x3f5b4d,_0x25e85a));this[_0x40a7c9(0x3ac)]=_0x3d58be;}['_removeCollabCursors'](){const _0x2c72eb=_0x530ea4;this[_0x2c72eb(0x3ac)][_0x2c72eb(0x371)](_0x23b210=>_0x23b210[_0x2c72eb(0x342)]()),this[_0x2c72eb(0x3ac)]=[];}['_initCommandExecutedListener'](){const _0xcc618d=_0x530ea4,_0x5ac53c=[_0x4dd21f[_0xcc618d(0x360)]['id']];this[_0xcc618d(0x3b8)](this[_0xcc618d(0x3c2)][_0xcc618d(0x3fb)](_0x6bafe2=>{const _0x28e174=_0xcc618d;_0x5ac53c[_0x28e174(0x1bc)](_0x6bafe2['id'])&&_0x6bafe2['params'][_0x28e174(0x3f0)]===this[_0x28e174(0x3ee)][_0x28e174(0x3f0)]&&this[_0x28e174(0x3aa)]();}));}[_0x530ea4(0x3f1)](){const _0x394e83=_0x530ea4;this[_0x394e83(0x3b8)](_0x1f0a18[_0x394e83(0x26a)](this[_0x394e83(0x3ee)][_0x394e83(0x3ed)][_0x394e83(0x44a)])['pipe'](_0x58e73e[_0x394e83(0x26d)](_0x32e786=>_0x32e786['type']===_0x1b328b[_0x394e83(0x40f)]['resize']),_0x58e73e[_0x394e83(0x20d)](0x10))['subscribe'](()=>{const _0x437b3a=_0x394e83;this[_0x437b3a(0x3aa)]();}));}};_0x2d1851=_0x41c84c([_0x1e14ef(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0xb349ea[_0x530ea4(0x3f2)])),_0x1e14ef(0x2,_0x1f0a18['Inject'](_0x201d0c)),_0x1e14ef(0x3,_0x1f0a18[_0x530ea4(0x3d7)]),_0x1e14ef(0x4,_0x1f0a18['Inject'](_0x1f0a18[_0x530ea4(0x2d0)]))],_0x2d1851);const _0x3153bd=0x1,_0xc43c77=1.5;class _0x4b5ae2 extends _0x1b328b[_0x530ea4(0x2aa)]{constructor(_0x1aa83f,_0x112422){const _0x540b92=_0x530ea4;super(_0x1aa83f,_0x112422),_0x1b53be(this,_0x540b92(0x32a)),_0x1b53be(this,_0x540b92(0x306),!0x1),_0x1b53be(this,'_range'),_0x1b53be(this,_0x540b92(0x328),''),_0x1b53be(this,'_labelPosition',_0x540b92(0x324)),_0x1b53be(this,'_backgroundColor'),(_0x112422&&this[_0x540b92(0x43a)](_0x112422),this[_0x540b92(0x1b0)]['subscribeEvent'](()=>this[_0x540b92(0x43a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x540b92(0x1df)](()=>this[_0x540b92(0x43a)]({'hovered':!0x1})));}[_0x530ea4(0x43a)](_0x32e4b4){const _0x154b5f=_0x530ea4;var _0x28233d,_0x2f5fcc,_0x2d440e,_0x5ea55c,_0xefa8f9,_0x59af01;this['_color']=(_0x28233d=_0x32e4b4[_0x154b5f(0x1b4)])!=null?_0x28233d:this['_color'],this[_0x154b5f(0x306)]=(_0x2f5fcc=_0x32e4b4['hovered'])!=null?_0x2f5fcc:this['_hovered'],this[_0x154b5f(0x2fe)]=(_0x2d440e=_0x32e4b4[_0x154b5f(0x1ef)])!=null?_0x2d440e:this[_0x154b5f(0x2fe)],this[_0x154b5f(0x328)]=(_0x5ea55c=_0x32e4b4[_0x154b5f(0x249)])!=null?_0x5ea55c:this['_name'],this['_labelPosition']=(_0xefa8f9=_0x32e4b4[_0x154b5f(0x2e4)])!=null?_0xefa8f9:this[_0x154b5f(0x3bb)],this[_0x154b5f(0x3df)]=(_0x59af01=_0x32e4b4[_0x154b5f(0x370)])!=null?_0x59af01:this[_0x154b5f(0x3df)],this[_0x154b5f(0x1ec)]({'width':_0x32e4b4[_0x154b5f(0x25c)],'height':_0x32e4b4[_0x154b5f(0x437)]});}[_0x530ea4(0x24f)](_0x9f0c26){const _0x3ed63f=_0x530ea4,{row:_0x3ad8b3,column:_0x31cdc9}=_0x9f0c26;if(_0x3ad8b3>=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x3eb)]&&_0x3ad8b3<=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x286)]&&_0x31cdc9>=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x1f1)]&&_0x31cdc9<=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x2fc)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x530ea4(0x1a6)](_0x22b168){return!0x1;}['_draw'](_0x27c962){const _0xab28ee=_0x530ea4;_0x1b328b[_0xab28ee(0x311)]['drawWith'](_0x27c962,{'width':this['width'],'height':this[_0xab28ee(0x437)],'strokeWidth':_0xc43c77,'stroke':this[_0xab28ee(0x32a)],'evented':!0x1,'fill':this[_0xab28ee(0x3df)]}),this[_0xab28ee(0x306)]&&(_0x27c962[_0xab28ee(0x412)](),_0x27c962[_0xab28ee(0x2b0)](0x1,0x0,0x0,0x1,this[_0xab28ee(0x25c)],this[_0xab28ee(0x3bb)]==='bottom'?0x0:-0x14),_0x2d6177[_0xab28ee(0x400)](_0x27c962,{'text':this[_0xab28ee(0x328)],'color':this[_0xab28ee(0x32a)]}),_0x27c962['restore']());}}var _0x4956ea=Object[_0x530ea4(0x201)],_0xe784c0=(_0x4072a7,_0x5c8b23,_0x399df2,_0x178752)=>{const _0x20d4cf=_0x530ea4;for(var _0x2ba05d=_0x178752>0x1?void 0x0:_0x178752?_0x4956ea(_0x5c8b23,_0x399df2):_0x5c8b23,_0xdb3c30=_0x4072a7[_0x20d4cf(0x2ee)]-0x1,_0x547bb8;_0xdb3c30>=0x0;_0xdb3c30--)(_0x547bb8=_0x4072a7[_0xdb3c30])&&(_0x2ba05d=_0x547bb8(_0x2ba05d)||_0x2ba05d);return _0x2ba05d;},_0x22eb72=(_0x1d337c,_0x355d92)=>(_0x1b3256,_0x336979)=>_0x355d92(_0x1b3256,_0x336979,_0x1d337c);const _0x1e60b2=0x1389;let _0xbcec20=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x16ff1a,_0x33810c,_0x1d0da5,_0x5a20c0){const _0x37b3f0=_0x530ea4;super(),_0x1b53be(this,'_cursors',new Set()),_0x1b53be(this,_0x37b3f0(0x257),null),(this['_context']=_0x16ff1a,this['_sheetSkeletonManagerService']=_0x33810c,this[_0x37b3f0(0x1d7)]=_0x1d0da5,this[_0x37b3f0(0x341)]=_0x5a20c0,this[_0x37b3f0(0x30a)]());}['_init'](){const _0x5ebfd1=_0x530ea4;this[_0x5ebfd1(0x1a8)][_0x5ebfd1(0x3ba)][_0x5ebfd1(0x420)](_0x58e73e[_0x5ebfd1(0x24a)](this['dispose$']),_0x58e73e[_0x5ebfd1(0x415)](_0xd4dedb=>{const _0x565ddf=_0x5ebfd1;if(_0xd4dedb){const _0x5bc7d6=_0xd4dedb[_0x565ddf(0x250)];return _0x5900c2[_0x565ddf(0x421)](this[_0x565ddf(0x1d7)][_0x565ddf(0x3be)](this[_0x565ddf(0x3ee)][_0x565ddf(0x3f0)]),this[_0x565ddf(0x341)][_0x565ddf(0x26c)])['pipe'](_0x58e73e[_0x565ddf(0x203)](([_0x30a347,_0x52d23c])=>{const _0x5c8ea8=_0x565ddf,_0x1c1738=new Map();return _0x30a347[_0x5c8ea8(0x371)]((_0x4e675f,_0x5d9243)=>{const _0x1ab4b2=_0x5c8ea8;if(_0x4e675f[_0x1ab4b2(0x315)]===_0x5bc7d6){const _0x453b81={..._0x4e675f};_0x453b81[_0x1ab4b2(0x1b4)]=this[_0x1ab4b2(0x341)][_0x1ab4b2(0x3e5)](_0x4e675f[_0x1ab4b2(0x1b4)]),_0x1c1738[_0x1ab4b2(0x3ec)](_0x5d9243,_0x453b81);}}),{'skeleton':_0xd4dedb,'cursors':_0x1c1738};}));}return _0x5900c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x5ebfd1(0x272)](({skeleton:_0x470d6e,cursors:_0x1d39c1})=>{const _0x3892a3=_0x5ebfd1;this['_removeCollabCursors'](),_0x470d6e&&this[_0x3892a3(0x2c1)](_0x470d6e,_0x1d39c1);}),this['_sheetSkeletonManagerService'][_0x5ebfd1(0x3ba)][_0x5ebfd1(0x272)](_0x4293d8=>{const _0x3e4fe5=_0x5ebfd1;if(_0x4293d8==null)return;const {skeleton:_0x472bc5}=_0x4293d8,{scene:_0xf60295}=this['_context'];_0xf60295[_0x3e4fe5(0x3cc)][_0x3e4fe5(0x1df)](_0x1f0a18[_0x3e4fe5(0x248)](_0x13475c=>{const _0x404bc0=_0x3e4fe5;var _0x153119,_0xfe1205;const {offsetX:_0x40b947,offsetY:_0x5e4806}=_0x13475c,{x:_0x275d22,y:_0xe11c83}=_0xf60295[_0x404bc0(0x390)](_0x1b328b[_0x404bc0(0x24d)][_0x404bc0(0x225)]([_0x40b947,_0x5e4806])),{scaleX:_0x3c5856,scaleY:_0x127d6d}=_0xf60295['getAncestorScale'](),_0xb3c753=_0xf60295['getViewport'](_0x1b328b[_0x404bc0(0x2c7)]['VIEW_MAIN']),_0x38747d=_0xf60295['getVpScrollXYInfoByPosToVp'](_0x1b328b[_0x404bc0(0x24d)][_0x404bc0(0x225)]([_0x275d22,_0xe11c83]),_0xb3c753),_0x515e1b=_0x472bc5[_0x404bc0(0x1d0)](_0x40b947,_0x5e4806,_0x3c5856,_0x127d6d,_0x38747d);((_0x153119=this[_0x404bc0(0x257)])==null?void 0x0:_0x153119['column'])===_0x515e1b[_0x404bc0(0x330)]&&((_0xfe1205=this['_lastPointer'])==null?void 0x0:_0xfe1205[_0x404bc0(0x2cc)])===_0x515e1b[_0x404bc0(0x2cc)]||this[_0x404bc0(0x1fc)][_0x404bc0(0x371)](_0x27e091=>{const _0x49c4f1=_0x404bc0;_0x27e091[_0x49c4f1(0x24f)](_0x515e1b);});},0x64));});}[_0x530ea4(0x2c1)](_0xdf8c64,_0x164c5a){const _0x4498ba=_0x530ea4;var _0x57bd3a;const _0x732c86=(_0x57bd3a=this['_sheetSkeletonManagerService'][_0x4498ba(0x223)]())==null?void 0x0:_0x57bd3a[_0x4498ba(0x3cf)];if(!_0x732c86)return;const _0x224dc6=this['_getSheetObject']();if(!_0x224dc6)return;this[_0x4498ba(0x1fc)][_0x4498ba(0x371)](_0x3ddca2=>{const _0x4a6639=_0x4498ba;_0x3ddca2[_0x4a6639(0x392)]();});const {scene:_0x2a7e02}=_0x224dc6,_0x28aaae=_0x438bcb(Array[_0x4498ba(0x1d2)](_0x164c5a[_0x4498ba(0x310)]()))[_0x4498ba(0x203)](_0x36ae4c=>{const _0x1f211d=_0x4498ba,{color:_0x55bf34,range:_0x369bc2,name:_0x2aa69c,selection:_0x5630ee,sheetID:_0x41aab5}=_0x36ae4c,{startColumn:_0x13300f,startRow:_0x4b0611,endColumn:_0x1b3878,endRow:_0x2f8cc1}=_0x369bc2,_0xc54e0a=_0x2642d0['getCoordByCell'](_0x4b0611,_0x13300f,_0x2a7e02,_0x732c86),_0x1d8f78=_0x2642d0[_0x1f211d(0x200)](_0x2f8cc1,_0x1b3878,_0x2a7e02,_0x732c86),{columnHeaderHeightAndMarginTop:_0x3ea990}=_0x732c86,{startX:_0x4a0534,startY:_0x8f5615}=_0xc54e0a,{endX:_0x30a493,endY:_0x45b342}=_0x1d8f78,_0x56c5fb=_0x30a493-_0x4a0534,_0x548788=_0x45b342-_0x8f5615,_0x4847c9={'labelPosition':_0x8f5615-_0x3ea990>=_0x4c79ca?'top':_0x1f211d(0x2b7),'sheetID':_0x41aab5,'range':_0x369bc2,'color':_0x55bf34,'name':_0x2aa69c,'selection':_0x5630ee,'left':_0x4a0534,'top':_0x8f5615,'width':_0x56c5fb,'height':_0x548788,'evented':!0x1,'zIndex':_0x1e60b2};return new _0x4b5ae2(_0x2aa69c,_0x4847c9);});_0x2a7e02['addObjects'](_0x28aaae,_0x3153bd),this['_cursors']=new Set(_0x28aaae);}['_removeCollabCursors'](){const _0x5b1c9a=_0x530ea4;var _0x2627ec;(_0x2627ec=this[_0x5b1c9a(0x1fc)])==null||_0x2627ec[_0x5b1c9a(0x371)](_0x283f51=>_0x283f51['dispose']());}[_0x530ea4(0x299)](){const _0x3bfb3b=_0x530ea4;return _0x2642d0[_0x3bfb3b(0x236)](this[_0x3bfb3b(0x3ee)][_0x3bfb3b(0x206)],this[_0x3bfb3b(0x3ee)]);}};_0xbcec20=_0xe784c0([_0x22eb72(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x2642d0[_0x530ea4(0x37c)])),_0x22eb72(0x2,_0x1f0a18['Inject'](_0x201d0c)),_0x22eb72(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18['ThemeService']))],_0xbcec20);function _0x438bcb(_0x41c0ea){const _0x10576f=_0x530ea4,_0x3f5352=new Map();return _0x41c0ea[_0x10576f(0x371)](_0x4e832e=>{const _0x5929ec=_0x10576f;if(_0x3f5352['has'](_0x4e832e[_0x5929ec(0x210)])){const _0x12b414=_0x3f5352['get'](_0x4e832e[_0x5929ec(0x210)]);_0x12b414[_0x5929ec(0x249)]+=',\x20'+_0x4e832e[_0x5929ec(0x249)];}else _0x3f5352[_0x5929ec(0x3ec)](_0x4e832e['selection'],_0x4e832e);}),Array[_0x10576f(0x1d2)](_0x3f5352[_0x10576f(0x310)]());}var _0x2e89f5=function(){const _0x44b43c=_0x530ea4;return _0x2e89f5=Object[_0x44b43c(0x292)]||function(_0x264735){const _0x1f44db=_0x44b43c;for(var _0x438c83,_0x4174d3=0x1,_0x27ea14=arguments[_0x1f44db(0x2ee)];_0x4174d3<_0x27ea14;_0x4174d3++){_0x438c83=arguments[_0x4174d3];for(var _0x4eb05e in _0x438c83)Object[_0x1f44db(0x37e)][_0x1f44db(0x1b6)][_0x1f44db(0x23e)](_0x438c83,_0x4eb05e)&&(_0x264735[_0x4eb05e]=_0x438c83[_0x4eb05e]);}return _0x264735;},_0x2e89f5[_0x44b43c(0x2d4)](this,arguments);},_0x553b71=function(_0x2d6968,_0x35f277){const _0x1bf01b=_0x530ea4;var _0x570d67={};for(var _0x1bca31 in _0x2d6968)Object[_0x1bf01b(0x37e)][_0x1bf01b(0x1b6)][_0x1bf01b(0x23e)](_0x2d6968,_0x1bca31)&&_0x35f277['indexOf'](_0x1bca31)<0x0&&(_0x570d67[_0x1bca31]=_0x2d6968[_0x1bca31]);if(_0x2d6968!=null&&typeof Object['getOwnPropertySymbols']==_0x1bf01b(0x28b)){for(var _0x26db9d=0x0,_0x1bca31=Object[_0x1bf01b(0x27b)](_0x2d6968);_0x26db9d<_0x1bca31[_0x1bf01b(0x2ee)];_0x26db9d++)_0x35f277[_0x1bf01b(0x320)](_0x1bca31[_0x26db9d])<0x0&&Object[_0x1bf01b(0x37e)][_0x1bf01b(0x1f7)][_0x1bf01b(0x23e)](_0x2d6968,_0x1bca31[_0x26db9d])&&(_0x570d67[_0x1bca31[_0x26db9d]]=_0x2d6968[_0x1bca31[_0x26db9d]]);}return _0x570d67;},_0x5cdc39=_0x35c730[_0x530ea4(0x2c6)](function(_0x373031,_0x128f3e){const _0x12b340=_0x530ea4;var _0x51c43f=_0x373031[_0x12b340(0x239)],_0x1fd067=_0x373031['id'],_0x405df5=_0x373031[_0x12b340(0x207)],_0x1dc810=_0x373031['extend'],_0x21b226=_0x553b71(_0x373031,['icon','id','className',_0x12b340(0x228)]),_0x3e1bfe=_0x12b340(0x1b5)[_0x12b340(0x251)](_0x1fd067,'\x20')[_0x12b340(0x251)](_0x405df5||'')[_0x12b340(0x43c)](),_0x5662af=_0x35c730[_0x12b340(0x1a4)]('_'[_0x12b340(0x251)](_0x5ef82d()));return _0x3f369a(_0x51c43f,''[_0x12b340(0x251)](_0x1fd067),{'defIds':_0x51c43f['defIds'],'idSuffix':_0x5662af[_0x12b340(0x1b7)]},_0x2e89f5({'ref':_0x128f3e,'className':_0x3e1bfe},_0x21b226),_0x1dc810);});function _0x3f369a(_0x3ccf3b,_0x5f030b,_0x455cda,_0x5826b5,_0x4ca939){const _0x26436b=_0x530ea4;return _0x35c730[_0x26436b(0x28c)](_0x3ccf3b[_0x26436b(0x3c1)],_0x2e89f5(_0x2e89f5({'key':_0x5f030b},_0x3ca25c(_0x3ccf3b,_0x455cda,_0x4ca939)),_0x5826b5),(_0x20bede(_0x3ccf3b,_0x455cda)[_0x26436b(0x240)]||[])[_0x26436b(0x203)](function(_0x347ea7,_0x1576af){const _0xbdd09f=_0x26436b;return _0x3f369a(_0x347ea7,''[_0xbdd09f(0x251)](_0x5f030b,'-')[_0xbdd09f(0x251)](_0x3ccf3b[_0xbdd09f(0x3c1)],'-')[_0xbdd09f(0x251)](_0x1576af),_0x455cda,void 0x0,_0x4ca939);}));}function _0x3ca25c(_0x22fa92,_0x8dbf43,_0xf159a0){const _0x58e4b0=_0x530ea4;var _0x5673fc=_0x2e89f5({},_0x22fa92[_0x58e4b0(0x1e2)]);_0xf159a0!=null&&_0xf159a0[_0x58e4b0(0x347)]&&_0x5673fc[_0x58e4b0(0x1c4)]===_0x58e4b0(0x347)&&(_0x5673fc[_0x58e4b0(0x1c4)]=_0xf159a0[_0x58e4b0(0x347)]),_0x22fa92[_0x58e4b0(0x3c1)]==='mask'&&_0x5673fc['id']&&(_0x5673fc['id']=_0x5673fc['id']+_0x8dbf43[_0x58e4b0(0x401)]),Object['entries'](_0x5673fc)['forEach'](function(_0x5717b6){const _0x505cf4=_0x58e4b0;var _0x59f72e=_0x5717b6[0x0],_0x33e5ec=_0x5717b6[0x1];_0x59f72e===_0x505cf4(0x1d8)&&typeof _0x33e5ec==_0x505cf4(0x39b)&&(_0x5673fc[_0x59f72e]=_0x33e5ec[_0x505cf4(0x3f7)](/url\(#(.*)\)/,_0x505cf4(0x3ff)[_0x505cf4(0x251)](_0x8dbf43[_0x505cf4(0x401)],')')));});var _0x324838=_0x8dbf43[_0x58e4b0(0x1a5)];return!_0x324838||_0x324838[_0x58e4b0(0x2ee)]===0x0||(_0x22fa92[_0x58e4b0(0x3c1)]===_0x58e4b0(0x278)&&_0x5673fc[_0x58e4b0(0x29c)]&&(_0x5673fc[_0x58e4b0(0x29c)]=_0x5673fc[_0x58e4b0(0x29c)]+_0x8dbf43['idSuffix']),Object['entries'](_0x5673fc)[_0x58e4b0(0x371)](function(_0x35abbb){const _0xd50326=_0x58e4b0;var _0x5e3170=_0x35abbb[0x0],_0x338e3f=_0x35abbb[0x1];typeof _0x338e3f==_0xd50326(0x39b)&&(_0x5673fc[_0x5e3170]=_0x338e3f[_0xd50326(0x3f7)](/url\(#(.*)\)/,_0xd50326(0x3ff)['concat'](_0x8dbf43[_0xd50326(0x401)],')')));})),_0x5673fc;}function _0x20bede(_0xf1584b,_0xdd1183){const _0x4e84e7=_0x530ea4;var _0x552ad7,_0xc8f4f1=_0xdd1183[_0x4e84e7(0x1a5)];return!_0xc8f4f1||_0xc8f4f1[_0x4e84e7(0x2ee)]===0x0?_0xf1584b:_0xf1584b[_0x4e84e7(0x3c1)]==='defs'&&(!((_0x552ad7=_0xf1584b['children'])===null||_0x552ad7===void 0x0)&&_0x552ad7[_0x4e84e7(0x2ee)])?_0x2e89f5(_0x2e89f5({},_0xf1584b),{'children':_0xf1584b[_0x4e84e7(0x240)][_0x4e84e7(0x203)](function(_0x2a6423){const _0x1d2dfe=_0x4e84e7;return typeof _0x2a6423[_0x1d2dfe(0x1e2)]['id']==_0x1d2dfe(0x39b)&&_0xc8f4f1&&_0xc8f4f1[_0x1d2dfe(0x1bc)](_0x2a6423['attrs']['id'])?_0x2e89f5(_0x2e89f5({},_0x2a6423),{'attrs':_0x2e89f5(_0x2e89f5({},_0x2a6423[_0x1d2dfe(0x1e2)]),{'id':_0x2a6423[_0x1d2dfe(0x1e2)]['id']+_0xdd1183[_0x1d2dfe(0x401)]})}):_0x2a6423;})}):_0xf1584b;}function _0x5ef82d(){const _0x55abf6=_0x530ea4;return Math[_0x55abf6(0x444)]()[_0x55abf6(0x418)](0x24)[_0x55abf6(0x281)](0x2,0x8);}_0x5cdc39[_0x530ea4(0x31c)]=_0x530ea4(0x375);var _0x577ab9={'tag':'svg','attrs':{'xmlns':_0x530ea4(0x3d2),'fill':_0x530ea4(0x231),'viewBox':_0x530ea4(0x1eb),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'stroke':_0x530ea4(0x354),'d':_0x530ea4(0x242),'strokeLinecap':_0x530ea4(0x438),'strokeLinejoin':_0x530ea4(0x438),'strokeWidth':1.2}}]},{'tag':_0x530ea4(0x1b9),'attrs':{},'children':[{'tag':_0x530ea4(0x26f),'attrs':{'id':_0x530ea4(0x331)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'fill':_0x530ea4(0x44b),'d':_0x530ea4(0x2de)}}]}]}],'defIds':[_0x530ea4(0x331)]},_0x431f29=_0x35c730['forwardRef'](function(_0x28c296,_0xf8f2df){const _0x2dcfd8=_0x530ea4;return _0x35c730['createElement'](_0x5cdc39,Object[_0x2dcfd8(0x292)]({},_0x28c296,{'id':_0x2dcfd8(0x3a6),'ref':_0xf8f2df,'icon':_0x577ab9}));});_0x431f29['displayName']=_0x530ea4(0x2ad);var _0x59e475={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x530ea4(0x231),'viewBox':_0x530ea4(0x2be),'width':'1em','height':_0x530ea4(0x254)},'children':[{'tag':'g','attrs':{'clipPath':_0x530ea4(0x2ca)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'stroke':_0x530ea4(0x354),'d':_0x530ea4(0x404),'strokeLinecap':_0x530ea4(0x438),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x530ea4(0x1b9),'attrs':{},'children':[{'tag':_0x530ea4(0x26f),'attrs':{'id':_0x530ea4(0x1ba)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'fill':'white','d':_0x530ea4(0x2de),'transform':_0x530ea4(0x24e)}}]}]}],'defIds':[_0x530ea4(0x1ba)]},_0x2a061d=_0x35c730[_0x530ea4(0x2c6)](function(_0x5c1fb9,_0xdff655){const _0x5041dc=_0x530ea4;return _0x35c730[_0x5041dc(0x28c)](_0x5cdc39,Object[_0x5041dc(0x292)]({},_0x5c1fb9,{'id':_0x5041dc(0x2bf),'ref':_0xdff655,'icon':_0x59e475}));});_0x2a061d[_0x530ea4(0x31c)]=_0x530ea4(0x1f4);function _0x4c2b2d(_0x12534d){const _0x34d2c4=_0x530ea4;switch(_0x12534d){case _0x5a7b55[_0x34d2c4(0x3d4)]['OFFLINE']:return _0x34d2c4(0x316);case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x244)]:return _0x34d2c4(0x3ab);case _0x5a7b55['CollaborationStatus'][_0x34d2c4(0x1cb)]:return'collabStatus.fetchMiss';case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x2f5)]:return'collabStatus.notCollab';case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x1fe)]:case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x1d6)]:return'collabStatus.syncing';case _0x5a7b55[_0x34d2c4(0x3d4)]['SYNCED']:case _0x5a7b55['CollaborationStatus']['PENDING']:return _0x34d2c4(0x385);}}function _0x4da86a(_0x38bf64){const _0x547488=_0x530ea4,{status$:_0x5a7b4b}=_0x38bf64,_0x47e343=_0x3835ea[_0x547488(0x1ea)](_0x5a7b4b,_0x5a7b55[_0x547488(0x3d4)][_0x547488(0x2f5)]),_0x23d4f0=_0x3835ea[_0x547488(0x442)](_0x1f0a18['LocaleService']),_0x3b9849=_0x3835ea[_0x547488(0x442)](_0x5a7b55[_0x547488(0x3a2)]),_0x314909=_0x47e343!==_0x5a7b55[_0x547488(0x3d4)][_0x547488(0x3b2)],_0x48245e=_0x23d4f0['t'](_0x4c2b2d(_0x47e343)),_0x195373=_0x314909?_0x35553a['jsx'](_0x2a061d,{}):_0x35553a[_0x547488(0x3c7)](_0x431f29,{}),_0x48bf5b=_0x35c730[_0x547488(0x1cf)](()=>{const _0x49bd8e=_0x547488;_0x314909||_0x3b9849[_0x49bd8e(0x2ae)]();},[_0x314909,_0x3b9849]);function _0x38a651(){const _0x537bc3=_0x547488;return _0x35553a[_0x537bc3(0x374)](_0x537bc3(0x394),{'className':_0x537bc3(0x1da),'onClick':_0x48bf5b,'children':[_0x35553a[_0x537bc3(0x3c7)](_0x537bc3(0x394),{'className':_0x177c57['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x314909,'univer-text-red-500':!_0x314909}),'children':_0x195373}),_0x35553a['jsx'](_0x537bc3(0x394),{'className':_0x537bc3(0x1de),'children':_0x48245e})]});}return _0x314909?_0x38a651():_0x35553a['jsx'](_0x177c57[_0x547488(0x2c2)],{'title':_0x23d4f0['t']('collab-client.tooltip.reconnect'),'children':_0x38a651()});}var _0x113af8=Object['getOwnPropertyDescriptor'],_0x252f67=(_0x257edc,_0x37b716,_0x2a6237,_0xa69aad)=>{for(var _0x303069=_0xa69aad>0x1?void 0x0:_0xa69aad?_0x113af8(_0x37b716,_0x2a6237):_0x37b716,_0x362f16=_0x257edc['length']-0x1,_0x21ed7f;_0x362f16>=0x0;_0x362f16--)(_0x21ed7f=_0x257edc[_0x362f16])&&(_0x303069=_0x21ed7f(_0x303069)||_0x303069);return _0x303069;},_0x583f9f=(_0x3fa159,_0x4ee090)=>(_0x315aff,_0x52ac5f)=>_0x4ee090(_0x315aff,_0x52ac5f,_0x3fa159);_0x5527a1[_0x530ea4(0x42a)]=class extends _0x1f0a18['Disposable']{constructor(_0x44986c,_0x43fe07,_0x44f583,_0x4f6417){const _0x38538e=_0x530ea4;super(),_0x1b53be(this,'_status$',new _0x5900c2[(_0x38538e(0x1d9))](_0x5a7b55[_0x38538e(0x3d4)][_0x38538e(0x2f5)])),(this[_0x38538e(0x2cd)]=_0x44986c,this[_0x38538e(0x335)]=_0x43fe07,this[_0x38538e(0x1bf)]=_0x44f583,this['_uiPartsService']=_0x4f6417,this[_0x38538e(0x304)](),this[_0x38538e(0x38a)]());}['_initStatusListener'](){const _0x19cef4=_0x530ea4;this[_0x19cef4(0x3b8)](this['_univerInstanceService']['focused$'][_0x19cef4(0x420)](_0x5900c2[_0x19cef4(0x415)](()=>{const _0x9a7f9f=_0x19cef4,_0x2de0e4=this[_0x9a7f9f(0x2cd)]['getFocusedUnit']();return _0x2de0e4?this['_collaborationController'][_0x9a7f9f(0x35c)](_0x2de0e4[_0x9a7f9f(0x1e8)]()):_0x5900c2['of'](null);}),_0x5900c2[_0x19cef4(0x415)](_0x5c9061=>_0x5c9061?_0x5c9061[_0x19cef4(0x1e7)]:_0x5900c2['of'](_0x5a7b55[_0x19cef4(0x3d4)][_0x19cef4(0x2f5)])))[_0x19cef4(0x272)](_0x575738=>{const _0x4b356b=_0x19cef4;this[_0x4b356b(0x3e8)]['next'](_0x575738);}));}[_0x530ea4(0x304)](){const _0x118582=_0x530ea4;this['disposeWithMe'](this[_0x118582(0x43b)]['registerComponent'](_0x3835ea['BuiltInUIPart'][_0x118582(0x379)],()=>_0x3835ea[_0x118582(0x436)](_0x383a83({'status$':this[_0x118582(0x3e8)][_0x118582(0x380)]()}),this[_0x118582(0x335)])));}},_0x5527a1['DesktopCollaborationStatusDisplayController']=_0x252f67([_0x583f9f(0x0,_0x1f0a18['IUniverInstanceService']),_0x583f9f(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x583f9f(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x2b4)])),_0x583f9f(0x3,_0x3835ea[_0x530ea4(0x3cb)])],_0x5527a1[_0x530ea4(0x42a)]);function _0x383a83(_0x2157ef){const {status$:_0x19b965}=_0x2157ef;return function(){const _0xb4ad0c=_0x1efe;return _0x35553a[_0xb4ad0c(0x3c7)](_0x4da86a,{'status$':_0x19b965});};}var _0x6a976d=Object[_0x530ea4(0x201)],_0x426b21=(_0x9aca3b,_0x1ba28f,_0x4eab83,_0x3da343)=>{const _0xd0cb2c=_0x530ea4;for(var _0x6874ad=_0x3da343>0x1?void 0x0:_0x3da343?_0x6a976d(_0x1ba28f,_0x4eab83):_0x1ba28f,_0x577cec=_0x9aca3b[_0xd0cb2c(0x2ee)]-0x1,_0x12f537;_0x577cec>=0x0;_0x577cec--)(_0x12f537=_0x9aca3b[_0x577cec])&&(_0x6874ad=_0x12f537(_0x6874ad)||_0x6874ad);return _0x6874ad;},_0x50cb98=(_0x20d80a,_0x547982)=>(_0x3bd4eb,_0x30aa5c)=>_0x547982(_0x3bd4eb,_0x30aa5c,_0x20d80a);let _0x257a98=class extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(_0x23efb0,_0x36384c,_0x7e336e,_0x1230d5,_0x1ebcfa,_0x50db18){const _0x2a0956=_0x530ea4;super(),this[_0x2a0956(0x378)]=_0x23efb0,this[_0x2a0956(0x29a)]=_0x36384c,this['_collaborationUIEventService']=_0x7e336e,this[_0x2a0956(0x1c9)]=_0x1230d5,this[_0x2a0956(0x34d)]=_0x1ebcfa,this['_localeService']=_0x50db18,this[_0x2a0956(0x1f8)](),this[_0x2a0956(0x346)]();}[_0x530ea4(0x1f8)](){const _0x3eb8cc=_0x530ea4;this[_0x3eb8cc(0x3b8)](this[_0x3eb8cc(0x378)][_0x3eb8cc(0x368)](()=>{const _0x4c81af=_0x3eb8cc;if(this[_0x4c81af(0x29a)][_0x4c81af(0x2c3)]['size'])return this[_0x4c81af(0x1ca)]['t'](_0x4c81af(0x1c5));}));}['_initEvent'](){const _0x459975=_0x530ea4;this[_0x459975(0x3b8)](this['_collaborationUIEventService'][_0x459975(0x21d)][_0x459975(0x272)](_0x21ce7e=>{const _0x3a383b=_0x459975;_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x2bc)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)]['Warning'],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x2da))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x218)]&&this[_0x3a383b(0x1c9)]['show']({'type':_0x177c57['MessageType'][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x430))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x1ed)]&&this['_notificationService'][_0x3a383b(0x40a)]({'title':this[_0x3a383b(0x1ca)]['t']('permission.title'),'content':this['_localeService']['t'](_0x3a383b(0x27c)),'type':_0x3a383b(0x31b),'duration':0x0}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x244)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)][_0x3a383b(0x42b)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x430))+'('+_0x21ce7e['data']+')'}),_0x21ce7e['id']===_0x5a7b55['CollaborationUIEventId'][_0x3a383b(0x288)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t'](_0x21ce7e[_0x3a383b(0x2b9)]||'')}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x3a383b(0x40a)]({'type':_0x177c57['MessageType'][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t']('session.will-retry')}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x435)]&&this['_messageService'][_0x3a383b(0x40a)]({'type':_0x177c57['MessageType']['Error'],'content':this['_localeService']['t'](_0x3a383b(0x2ef))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x332)]&&this[_0x3a383b(0x1c9)]['show']({'type':_0x177c57['MessageType'][_0x3a383b(0x42b)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x2d8))});}));}};_0x257a98=_0x426b21([_0x50cb98(0x0,_0x3835ea[_0x530ea4(0x283)]),_0x50cb98(0x1,_0x5a7b55[_0x530ea4(0x294)]),_0x50cb98(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55['CollaborationUIEventService'])),_0x50cb98(0x3,_0x3835ea[_0x530ea4(0x38d)]),_0x50cb98(0x4,_0x3835ea[_0x530ea4(0x2f2)]),_0x50cb98(0x5,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x338)]))],_0x257a98);const _0xcf2e1e='collaboration-client-ui.config',_0x2b46de={},_0x2d199b=_0x1f0a18[_0x530ea4(0x3c5)](_0x530ea4(0x3e9));var _0x539802=Object[_0x530ea4(0x201)],_0x2bd657=(_0x9273b1,_0x2d3d05,_0x2eb1dc,_0x51ebc3)=>{const _0x3ae053=_0x530ea4;for(var _0x1d6197=_0x51ebc3>0x1?void 0x0:_0x51ebc3?_0x539802(_0x2d3d05,_0x2eb1dc):_0x2d3d05,_0xd5133c=_0x9273b1[_0x3ae053(0x2ee)]-0x1,_0x1c3ab3;_0xd5133c>=0x0;_0xd5133c--)(_0x1c3ab3=_0x9273b1[_0xd5133c])&&(_0x1d6197=_0x1c3ab3(_0x1d6197)||_0x1d6197);return _0x1d6197;},_0x600337=(_0x53a190,_0x4fed4b)=>(_0x429788,_0x347c39)=>_0x4fed4b(_0x429788,_0x347c39,_0x53a190);_0x5527a1[_0x530ea4(0x37b)]=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x3b68c1,_0x3a326b,_0x41385d,_0x5b23ca,_0x35ad30){const _0x3bbab3=_0x530ea4;super(),this[_0x3bbab3(0x38b)]=_0x3b68c1,this[_0x3bbab3(0x1f3)]=_0x3a326b,this[_0x3bbab3(0x3c2)]=_0x41385d,this[_0x3bbab3(0x2d7)]=_0x5b23ca,_0x35ad30?_0x35ad30==null||_0x35ad30['whenReady']()[_0x3bbab3(0x424)](()=>this['_init']()):(this[_0x3bbab3(0x1f3)][_0x3bbab3(0x21a)](_0x3bbab3(0x213),_0x3bbab3(0x40c)),this[_0x3bbab3(0x30a)]());}async['_init'](){const _0x1c02e3=_0x530ea4,_0x348539=this[_0x1c02e3(0x38b)]['getParam'](_0x1c02e3(0x206)),_0x593398=this['_urlService'][_0x1c02e3(0x273)](_0x1c02e3(0x3b9)),_0x195840=this[_0x1c02e3(0x38b)]['getParam'](_0x1c02e3(0x35b));if(!_0x348539||!_0x593398){this['_logService'][_0x1c02e3(0x21a)]('[CollaborationDataLoaderController]',_0x1c02e3(0x1db));return;}const _0x4cd20f=await this['_dataLoaderService'][_0x1c02e3(0x212)](_0x348539,Number(_0x593398),_0x195840);_0x4cd20f&&_0x4cd20f instanceof _0x1f0a18[_0x1c02e3(0x264)]&&this['_setupSubUnitSync'](_0x4cd20f);}async['_setupSubUnitSync'](_0x4085e6){const _0x47bb84=_0x530ea4;await this[_0x47bb84(0x202)](_0x4085e6),_0x4085e6['activeSheet$']['pipe'](_0x5900c2[_0x47bb84(0x24a)](this['dispose$']))['subscribe'](_0x38b71b=>{const _0x16f044=_0x47bb84;_0x38b71b&&this[_0x16f044(0x2fa)](_0x38b71b);}),this[_0x47bb84(0x38b)][_0x47bb84(0x43d)][_0x47bb84(0x420)](_0x5900c2['takeUntil'](this[_0x47bb84(0x211)]))[_0x47bb84(0x272)](()=>this['_updateSubUnitFromURLParams'](_0x4085e6));}[_0x530ea4(0x2fa)](_0x3d4cc2,_0x2160de=!0x1){const _0x32cc7e=_0x530ea4,_0xbbe1b9=this[_0x32cc7e(0x38b)][_0x32cc7e(0x273)]('subunit');_0x3d4cc2[_0x32cc7e(0x1a9)]()!==_0xbbe1b9&&this[_0x32cc7e(0x38b)][_0x32cc7e(0x395)](_0x32cc7e(0x35b),_0x3d4cc2[_0x32cc7e(0x1a9)](),_0x2160de);}async[_0x530ea4(0x202)](_0x16c017){const _0x2c727b=_0x530ea4;var _0x5253f6;const _0x1d9489=this[_0x2c727b(0x38b)]['getParam'](_0x2c727b(0x35b));if(!_0x1d9489||!_0x16c017[_0x2c727b(0x3f8)](_0x1d9489)){const _0x56aef4=_0x16c017[_0x2c727b(0x3a5)]()[0x0],_0x878b59=_0x16c017[_0x2c727b(0x3f8)](_0x56aef4);if(!_0x878b59)return;this[_0x2c727b(0x2fa)](_0x878b59,!0x0),await this[_0x2c727b(0x3c2)][_0x2c727b(0x321)](_0x5e0c6b[_0x2c727b(0x3ea)]['id'],{'unitId':_0x16c017[_0x2c727b(0x1e8)](),'subUnitId':_0x56aef4});return;}((_0x5253f6=_0x16c017[_0x2c727b(0x42d)]())==null?void 0x0:_0x5253f6[_0x2c727b(0x1a9)]())!==_0x1d9489&&await this[_0x2c727b(0x3c2)][_0x2c727b(0x321)](_0x5e0c6b[_0x2c727b(0x3ea)]['id'],{'unitId':_0x16c017['getUnitId'](),'subUnitId':_0x1d9489});}},_0x5527a1[_0x530ea4(0x37b)]=_0x2bd657([_0x600337(0x0,_0x2d199b),_0x600337(0x1,_0x1f0a18[_0x530ea4(0x1ae)]),_0x600337(0x2,_0x1f0a18[_0x530ea4(0x3d7)]),_0x600337(0x3,_0x1f0a18['Inject'](_0x5a7b55[_0x530ea4(0x2cf)])),_0x600337(0x4,_0x1f0a18[_0x530ea4(0x432)](_0x29d29a['IRemoteInstanceService']))],_0x5527a1['CollaborationDataLoaderController']);var _0x11a66f=Object['getOwnPropertyDescriptor'],_0x1aad1b=(_0x3d5261,_0x25243f,_0x163244,_0x4bc43c)=>{const _0x2c5375=_0x530ea4;for(var _0x20a355=_0x4bc43c>0x1?void 0x0:_0x4bc43c?_0x11a66f(_0x25243f,_0x163244):_0x25243f,_0x205320=_0x3d5261[_0x2c5375(0x2ee)]-0x1,_0x12383d;_0x205320>=0x0;_0x205320--)(_0x12383d=_0x3d5261[_0x205320])&&(_0x20a355=_0x12383d(_0x20a355)||_0x20a355);return _0x20a355;},_0xe668b7=(_0x1a9e2c,_0x53633f)=>(_0xf19cd5,_0x2738a0)=>_0x53633f(_0xf19cd5,_0x2738a0,_0x1a9e2c);let _0x4e7530=class{constructor(_0x382c3e,_0xf12e3b,_0x5d43ac){const _0x93a42f=_0x530ea4;this['_injector']=_0x382c3e,this[_0x93a42f(0x297)]=_0xf12e3b,this[_0x93a42f(0x1c3)]=_0x5d43ac;}[_0x530ea4(0x367)](_0x532361){const _0x4e4243=_0x530ea4;this[_0x4e4243(0x267)](_0x532361),this[_0x4e4243(0x359)](_0x532361);}['transformRemoteChangeset'](_0x6bb7de){const _0x5abcba=_0x530ea4,{unitID:_0x1ff984}=_0x6bb7de,_0x4fda32=this['_renderManagerService'][_0x5abcba(0x30b)](_0x1ff984)['with'](_0x4dd21f[_0x5abcba(0x20f)]),{redoCache:_0x48ad85}=_0x4fda32[_0x5abcba(0x204)]();if(_0x48ad85['length']===0x0)return _0x6bb7de;let _0x448d11=_0x1f0a18['Tools']['deepClone'](_0x6bb7de[_0x5abcba(0x2a2)][0x0]);for(let _0x5d358c=0x0;_0x5d358c<_0x48ad85['length'];_0x5d358c++){const _0x45f470={'id':_0x5abcba(0x28f),'params':{..._0x48ad85[_0x5d358c]}},_0x178a2e=this[_0x5abcba(0x297)][_0x5abcba(0x1d5)](_0x448d11,_0x45f470,!0x1);if(_0x1cac3e[_0x5abcba(0x3da)](_0x178a2e))throw _0x178a2e[_0x5abcba(0x31b)];_0x448d11=_0x178a2e[_0x5abcba(0x2a3)];}return{..._0x1f0a18['Tools'][_0x5abcba(0x33e)](_0x6bb7de),'mutations':[_0x448d11]};}[_0x530ea4(0x267)](_0x1535fc){const _0x2c50a5=_0x530ea4,{unitID:_0x5f062d}=_0x1535fc,_0x3168df=this['_renderManagerService'][_0x2c50a5(0x30b)](_0x5f062d)[_0x2c50a5(0x334)](_0x4dd21f['DocIMEInputManagerService']),{undoCache:_0xd6d68c,redoCache:_0xb68f25}=_0x3168df[_0x2c50a5(0x204)]();if(_0xd6d68c['length']===0x0||_0xb68f25[_0x2c50a5(0x2ee)]===0x0)return;const _0x1d1f4f=[],_0x7b67c3=[];let _0x2d98e2=_0x1f0a18[_0x2c50a5(0x32f)]['deepClone'](_0x1535fc[_0x2c50a5(0x2a2)][0x0]),_0x1be476=_0x1f0a18[_0x2c50a5(0x32f)][_0x2c50a5(0x33e)](_0x1535fc[_0x2c50a5(0x2a2)][0x0]);for(let _0x5c4d10=_0xd6d68c[_0x2c50a5(0x2ee)]-0x1;_0x5c4d10>=0x0;_0x5c4d10--){const _0xd38f56={'id':'doc.mutation.rich-text-editing','params':{..._0xd6d68c[_0x5c4d10]}},_0x1e695e={'id':_0x2c50a5(0x28f),'params':{..._0xb68f25[_0x5c4d10]}},_0x1c4d5e=this[_0x2c50a5(0x297)][_0x2c50a5(0x1d5)](_0x2d98e2,_0xd38f56,!0x1),_0x32d172=this[_0x2c50a5(0x297)][_0x2c50a5(0x1d5)](_0x1be476,_0x1e695e,!0x1);if(_0x1cac3e['isTransformMutationFailure'](_0x1c4d5e))throw _0x1c4d5e[_0x2c50a5(0x31b)];if(_0x1cac3e[_0x2c50a5(0x3da)](_0x32d172))throw _0x32d172[_0x2c50a5(0x31b)];_0x1d1f4f['unshift'](_0x1c4d5e[_0x2c50a5(0x1ab)][_0x2c50a5(0x357)]),_0x7b67c3['unshift'](_0x32d172[_0x2c50a5(0x1ab)][_0x2c50a5(0x357)]),_0x2d98e2=_0x1c4d5e[_0x2c50a5(0x2a3)],_0x1be476=_0x32d172[_0x2c50a5(0x2a3)];}_0x3168df[_0x2c50a5(0x427)]({'undoCache':_0x1d1f4f,'redoCache':_0x7b67c3});}[_0x530ea4(0x359)](_0x225b04){const _0x244c48=_0x530ea4,{unitID:_0x359366}=_0x225b04,_0x7d641=this[_0x244c48(0x1c3)][_0x244c48(0x30b)](_0x359366)[_0x244c48(0x334)](_0x4dd21f['DocIMEInputManagerService']),_0x2de217=_0x7d641['getActiveRange']();if(_0x2de217==null)return;const _0x83baaa=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x225b04[_0x244c48(0x275)],'actions':null,'textRanges':[_0x2de217]}}],_0xeb3a43=this['_transformService'][_0x244c48(0x353)](_0x225b04,_0x83baaa);if(!_0x1cac3e[_0x244c48(0x3dc)](_0xeb3a43))throw _0xeb3a43[_0x244c48(0x31b)];const _0x2df287=_0xeb3a43[_0x244c48(0x1ab)][0x0][_0x244c48(0x357)]['textRanges'];Array['isArray'](_0x2df287)&&_0x2df287['length']&&_0x7d641[_0x244c48(0x326)](_0x2df287[0x0]);}};_0x4e7530=_0x1aad1b([_0xe668b7(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xe668b7(0x1,_0x1cac3e[_0x530ea4(0x41e)]),_0xe668b7(0x2,_0x1b328b['IRenderManagerService'])],_0x4e7530);var _0x5ef874=Object[_0x530ea4(0x201)],_0x58c3e0=(_0x52e859,_0x227e2c,_0x289f71,_0x22e0d8)=>{const _0x54acbb=_0x530ea4;for(var _0x3bca6e=_0x22e0d8>0x1?void 0x0:_0x22e0d8?_0x5ef874(_0x227e2c,_0x289f71):_0x227e2c,_0x3f36b8=_0x52e859[_0x54acbb(0x2ee)]-0x1,_0xac093;_0x3f36b8>=0x0;_0x3f36b8--)(_0xac093=_0x52e859[_0x3f36b8])&&(_0x3bca6e=_0xac093(_0x3bca6e)||_0x3bca6e);return _0x3bca6e;},_0x2ef681=(_0x9123da,_0xcbfbd1)=>(_0x5b873d,_0x4b2ef8)=>_0xcbfbd1(_0x5b873d,_0x4b2ef8,_0x9123da);let _0x2a5f6a=class{constructor(_0x3ef8f3,_0x19735f,_0xf7b0aa){const _0x4c2949=_0x530ea4;this[_0x4c2949(0x335)]=_0x3ef8f3,this[_0x4c2949(0x297)]=_0x19735f,this[_0x4c2949(0x277)]=_0xf7b0aa;}['transformStateCache'](_0x585be1){this['_transformHistoryAndStateStack'](_0x585be1);}[_0x530ea4(0x2a5)](_0x2a0c86){const _0x3e6fe7=_0x530ea4,{unitID:_0x5694d0}=_0x2a0c86,{collaboration:_0x47165a}=this['_docStateChangeManagerService'][_0x3e6fe7(0x387)](_0x5694d0);if(_0x47165a[_0x3e6fe7(0x2ee)]===0x0)return _0x2a0c86;let _0x12729d=_0x1f0a18[_0x3e6fe7(0x32f)][_0x3e6fe7(0x33e)](_0x2a0c86[_0x3e6fe7(0x2a2)][0x0]);for(let _0x3df425=0x0;_0x3df425<_0x47165a[_0x3e6fe7(0x2ee)];_0x3df425++){const _0x32e653={'id':_0x3e6fe7(0x28f),'params':{'unitId':_0x47165a[_0x3df425]['unitId'],..._0x47165a[_0x3df425][_0x3e6fe7(0x271)]}},_0x3dfe54=this[_0x3e6fe7(0x297)][_0x3e6fe7(0x1d5)](_0x12729d,_0x32e653,!0x1);if(_0x1cac3e[_0x3e6fe7(0x3da)](_0x3dfe54))throw _0x3dfe54[_0x3e6fe7(0x31b)];_0x12729d=_0x3dfe54[_0x3e6fe7(0x2a3)];}return{..._0x1f0a18[_0x3e6fe7(0x32f)]['deepClone'](_0x2a0c86),'mutations':[_0x12729d]};}[_0x530ea4(0x302)](_0x54b0ee){const _0x5b1c9f=_0x530ea4,{unitID:_0x50b842}=_0x54b0ee,{history:_0x142ec1,collaboration:_0x34af7a}=this[_0x5b1c9f(0x277)][_0x5b1c9f(0x387)](_0x50b842);if(_0x142ec1[_0x5b1c9f(0x2ee)]===0x0&&_0x34af7a[_0x5b1c9f(0x2ee)]===0x0)return;const _0x2ec4fa=[],_0x5426cf=[];let _0x2871ed=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee['mutations'][0x0]),_0x49361c=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]);for(let _0x328d6b=_0x142ec1[_0x5b1c9f(0x2ee)]-0x1;_0x328d6b>=0x0;_0x328d6b--){const _0x1eaec8={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x142ec1[_0x328d6b][_0x5b1c9f(0x3f0)],..._0x142ec1[_0x328d6b][_0x5b1c9f(0x1c8)]}},_0x23320c={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x142ec1[_0x328d6b][_0x5b1c9f(0x3f0)],..._0x142ec1[_0x328d6b][_0x5b1c9f(0x271)]}},_0x5a2a5f=this['_transformService'][_0x5b1c9f(0x1d5)](_0x2871ed,_0x1eaec8,!0x1),_0x58d6c7=this[_0x5b1c9f(0x297)][_0x5b1c9f(0x1d5)](_0x49361c,_0x23320c,!0x1);if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x5a2a5f))throw _0x5a2a5f[_0x5b1c9f(0x31b)];if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x58d6c7))throw _0x58d6c7[_0x5b1c9f(0x31b)];_0x2ec4fa[_0x5b1c9f(0x34a)]({..._0x142ec1[_0x328d6b],'undoState':_0x5a2a5f[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)],'redoState':_0x58d6c7['m2Prime'][_0x5b1c9f(0x357)]}),_0x2871ed=_0x5a2a5f[_0x5b1c9f(0x2a3)],_0x49361c=_0x58d6c7[_0x5b1c9f(0x2a3)];}_0x2871ed=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]),_0x49361c=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]);for(let _0x2b6bd3=_0x34af7a[_0x5b1c9f(0x2ee)]-0x1;_0x2b6bd3>=0x0;_0x2b6bd3--){const _0x2e8f7a={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x34af7a[_0x2b6bd3]['unitId'],..._0x34af7a[_0x2b6bd3]['undoState']}},_0x5eee53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34af7a[_0x2b6bd3]['unitId'],..._0x34af7a[_0x2b6bd3][_0x5b1c9f(0x271)]}},_0x3fec76=this[_0x5b1c9f(0x297)][_0x5b1c9f(0x1d5)](_0x2871ed,_0x2e8f7a,!0x1),_0x325dab=this[_0x5b1c9f(0x297)]['transformMutation'](_0x49361c,_0x5eee53,!0x1);if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x3fec76))throw _0x3fec76['error'];if(_0x1cac3e['isTransformMutationFailure'](_0x325dab))throw _0x325dab['error'];_0x5426cf[_0x5b1c9f(0x34a)]({..._0x34af7a[_0x2b6bd3],'undoState':_0x3fec76[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)],'redoState':_0x325dab[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)]}),_0x2871ed=_0x3fec76[_0x5b1c9f(0x2a3)],_0x49361c=_0x325dab['m1Prime'];}this['_docStateChangeManagerService'][_0x5b1c9f(0x3a9)](_0x50b842,{'history':_0x2ec4fa,'collaboration':_0x5426cf});}};_0x2a5f6a=_0x58c3e0([_0x2ef681(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x2ef681(0x1,_0x1cac3e[_0x530ea4(0x41e)]),_0x2ef681(0x2,_0x1f0a18['Inject'](_0x4dd21f[_0x530ea4(0x290)]))],_0x2a5f6a);var _0x35d293=Object['getOwnPropertyDescriptor'],_0x1335c1=(_0x400706,_0x34963e,_0x253838,_0x237bba)=>{const _0x386318=_0x530ea4;for(var _0x3c3b8a=_0x237bba>0x1?void 0x0:_0x237bba?_0x35d293(_0x34963e,_0x253838):_0x34963e,_0x3c33ae=_0x400706[_0x386318(0x2ee)]-0x1,_0x31dede;_0x3c33ae>=0x0;_0x3c33ae--)(_0x31dede=_0x400706[_0x3c33ae])&&(_0x3c3b8a=_0x31dede(_0x3c3b8a)||_0x3c3b8a);return _0x3c3b8a;},_0xc322e7=(_0x3e2644,_0x4ab04b)=>(_0x2c11df,_0xcabc16)=>_0x4ab04b(_0x2c11df,_0xcabc16,_0x3e2644);let _0x111326=class{constructor(_0x419f41,_0x43ee5c){const _0x4a7a78=_0x530ea4;this[_0x4a7a78(0x335)]=_0x419f41,this[_0x4a7a78(0x297)]=_0x43ee5c;}[_0x530ea4(0x237)](_0x2ad020){const _0x3027b7=_0x530ea4;var _0x5165ce;const _0xf00306=this[_0x3027b7(0x335)][_0x3027b7(0x22f)](_0xb349ea[_0x3027b7(0x3f6)]),_0x37bd53=(_0x5165ce=_0xf00306[_0x3027b7(0x35f)]())!=null?_0x5165ce:[];if(_0x37bd53['length']===0x0)return;const _0x40622e=_0x2ad020[_0x3027b7(0x275)],_0x4fdbe7=[{'id':_0x3027b7(0x28f),'params':{'unitId':_0x40622e,'actions':null,'textRanges':_0x37bd53}}],_0x449fb0=this['_transformService'][_0x3027b7(0x353)](_0x2ad020,_0x4fdbe7);if(!_0x1cac3e[_0x3027b7(0x3dc)](_0x449fb0))throw _0x449fb0[_0x3027b7(0x31b)];const _0x43ee5e=_0x449fb0['m2Prime'][0x0][_0x3027b7(0x357)][_0x3027b7(0x2f4)];Array[_0x3027b7(0x307)](_0x43ee5e)&&_0x43ee5e[_0x3027b7(0x2ee)]&&_0xf00306[_0x3027b7(0x1f2)](_0x43ee5e,{'unitId':_0x40622e,'subUnitId':_0x40622e},!0x1);}};_0x111326=_0x1335c1([_0xc322e7(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xc322e7(0x1,_0x1cac3e[_0x530ea4(0x41e)])],_0x111326);var _0x5b351d=Object[_0x530ea4(0x201)],_0x406447=(_0xe096c9,_0x3f8e82,_0xe21034,_0x451510)=>{const _0x52398a=_0x530ea4;for(var _0x381412=_0x451510>0x1?void 0x0:_0x451510?_0x5b351d(_0x3f8e82,_0xe21034):_0x3f8e82,_0x4f58ed=_0xe096c9[_0x52398a(0x2ee)]-0x1,_0x43fe76;_0x4f58ed>=0x0;_0x4f58ed--)(_0x43fe76=_0xe096c9[_0x4f58ed])&&(_0x381412=_0x43fe76(_0x381412)||_0x381412);return _0x381412;},_0x179726=(_0x4ef169,_0x69e861)=>(_0xb28538,_0x4e96cc)=>_0x69e861(_0xb28538,_0x4e96cc,_0x4ef169);let _0x282265=class extends _0x1f0a18['Disposable']{constructor(_0x42422f,_0x302016,_0x3a36c6,_0x45390d,_0x46e4b8,_0x31fcc2,_0x2c4717,_0x31b872){const _0x27873d=_0x530ea4;super(),_0x1b53be(this,_0x27873d(0x3e8),new _0x5900c2[(_0x27873d(0x1d9))](_0x5a7b55[_0x27873d(0x3d4)][_0x27873d(0x2f5)])),(this[_0x27873d(0x277)]=_0x42422f,this['_collaborationController']=_0x302016,this[_0x27873d(0x3b0)]=_0x3a36c6,this[_0x27873d(0x3ae)]=_0x45390d,this[_0x27873d(0x373)]=_0x46e4b8,this['_docSyncEditingCollabCursorService']=_0x31fcc2,this['_messageService']=_0x2c4717,this[_0x27873d(0x1ca)]=_0x31b872,this[_0x27873d(0x3e4)]());}[_0x530ea4(0x3e4)](){const _0xd727a0=_0x530ea4;this[_0xd727a0(0x3b8)](this[_0xd727a0(0x1bf)][_0xd727a0(0x2a1)][_0xd727a0(0x272)](_0xe63cd1=>{const _0x34d227=_0xd727a0,_0x22b4be=this[_0x34d227(0x277)][_0x34d227(0x300)]['subscribe'](_0xa91aef=>{const _0x24cedc=_0x34d227;if(_0xa91aef==null)return;const {unitId:_0x125e11,redoState:_0x2f0a31,commandId:_0x4a2d2d}=_0xa91aef;if(_0x125e11!==_0xe63cd1[_0x24cedc(0x275)])return;const _0x5c0620={'id':_0x4a2d2d,'type':_0x1f0a18[_0x24cedc(0x2b5)]['MUTATION'],'params':{'unitId':_0x125e11,'actions':_0x2f0a31[_0x24cedc(0x308)],'textRanges':null}};_0xe63cd1[_0x24cedc(0x258)](_0x5c0620);});if(_0xe63cd1[_0x34d227(0x3b8)](_0x22b4be),_0xe63cd1 instanceof _0x5a7b55[_0x34d227(0x2cb)]){const _0x3981e9={'onTransformIME':_0x8db98=>this[_0x34d227(0x3b0)]['transformIMECache'](_0x8db98),'onTransformState':_0x297d30=>this[_0x34d227(0x3ae)][_0x34d227(0x34e)](_0x297d30),'onTransformSelections':_0x18d676=>this[_0x34d227(0x373)][_0x34d227(0x237)](_0x18d676),'onSyncEditingCollabCursor':_0xe69e82=>this['_docSyncEditingCollabCursorService'][_0x34d227(0x1b3)](_0xe69e82),'onTransformRemoteChangesetByIMECache':_0xb6e2bb=>this[_0x34d227(0x3b0)][_0x34d227(0x2a5)](_0xb6e2bb),'onTransformRemoteChangesetByStateCache':_0x49f74a=>this[_0x34d227(0x3ae)]['transformRemoteChangeset'](_0x49f74a)};_0xe63cd1[_0x34d227(0x1a3)](_0x3981e9);}}));}};_0x282265=_0x406447([_0x179726(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x4dd21f['DocStateChangeManagerService'])),_0x179726(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x2b4)])),_0x179726(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x4e7530)),_0x179726(0x3,_0x1f0a18['Inject'](_0x2a5f6a)),_0x179726(0x4,_0x1f0a18['Inject'](_0x111326)),_0x179726(0x5,_0x1f0a18['Inject'](_0x50ea68)),_0x179726(0x6,_0x3835ea[_0x530ea4(0x38d)]),_0x179726(0x7,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x338)]))],_0x282265);var _0x15750a=Object[_0x530ea4(0x201)],_0x53d2a9=(_0x23d9be,_0x3101e8,_0x2d58c3,_0xa0d9ed)=>{for(var _0x1c8524=_0xa0d9ed>0x1?void 0x0:_0xa0d9ed?_0x15750a(_0x3101e8,_0x2d58c3):_0x3101e8,_0x585a06=_0x23d9be['length']-0x1,_0x54e5a3;_0x585a06>=0x0;_0x585a06--)(_0x54e5a3=_0x23d9be[_0x585a06])&&(_0x1c8524=_0x54e5a3(_0x1c8524)||_0x1c8524);return _0x1c8524;},_0x5ec6e1=(_0x36e138,_0x2abb65)=>(_0x3b41c9,_0x4b8064)=>_0x2abb65(_0x3b41c9,_0x4b8064,_0x36e138);let _0x35301a=class extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(_0x223b3c,_0x37d446,_0x4cc343){const _0x1b1aa9=_0x530ea4;super(),_0x1b53be(this,_0x1b1aa9(0x372),new Map()),_0x1b53be(this,_0x1b1aa9(0x30c),new Map()),_0x1b53be(this,_0x1b1aa9(0x32e),!0x1),(this['_configService']=_0x223b3c,this['_localStorageService']=_0x37d446,this[_0x1b1aa9(0x23f)]=_0x4cc343);}[_0x530ea4(0x1f9)](){this['_disabled']=!0x0;}[_0x530ea4(0x363)](){this['_disabled']=!0x1;}get[_0x530ea4(0x2c3)](){return this['_saveTaskMap'];}[_0x530ea4(0x342)](){const _0x51ee4c=_0x530ea4;this[_0x51ee4c(0x21b)]()[_0x51ee4c(0x424)](()=>super[_0x51ee4c(0x342)]());}async['loadOfflineData'](_0x114a61){const _0x3d2407=_0x530ea4;return this[_0x3d2407(0x32e)]?null:this[_0x3d2407(0x266)]['getItem'](_0x5a7b55[_0x3d2407(0x26e)](_0x114a61));}async[_0x530ea4(0x305)](_0x56d8a4,_0x1f0ea0){const _0x3da787=_0x530ea4;return!!this['_localStorageService'][_0x3da787(0x284)](_0x56d8a4,_0x1f0ea0);}['updateOfflineData'](_0x2db8f5,_0x2a2a08,_0x54ce74,_0x1c8eb4){const _0x3c6536=_0x530ea4,_0x4d001a=this['_revisionService'][_0x3c6536(0x268)](_0x2db8f5);this[_0x3c6536(0x372)]['set'](_0x2db8f5,{'unitID':_0x2db8f5,'type':_0x2a2a08,'awaitingChangeset':_0x54ce74,'mutations':_0x1c8eb4,'rev':_0x4d001a}),this[_0x3c6536(0x30c)][_0x3c6536(0x447)](_0x2db8f5)||this[_0x3c6536(0x21c)](_0x2db8f5);}['_scheduleSaving'](_0x3b1e7e){const _0x7bc496=_0x530ea4,_0x40098d=this[_0x7bc496(0x408)]();_0x40098d===0x0?this[_0x7bc496(0x312)](_0x3b1e7e):this[_0x7bc496(0x30c)][_0x7bc496(0x3ec)](_0x3b1e7e,setTimeout(()=>this[_0x7bc496(0x312)](_0x3b1e7e),_0x40098d));}[_0x530ea4(0x408)](){const _0x3eee52=_0x530ea4;var _0x5b482e;return(_0x5b482e=this['_configService'][_0x3eee52(0x2a0)](_0x5a7b55[_0x3eee52(0x24c)]))!=null?_0x5b482e:_0x5a7b55['LOCAL_CACHE_INTERVAL'];}[_0x530ea4(0x312)](_0x21c2a1){const _0x33845c=_0x530ea4,_0x208b7f=this[_0x33845c(0x30c)][_0x33845c(0x22f)](_0x21c2a1);return _0x208b7f!==void 0x0&&window['clearTimeout'](_0x208b7f),this[_0x33845c(0x266)][_0x33845c(0x284)](_0x5a7b55[_0x33845c(0x26e)](_0x21c2a1),this[_0x33845c(0x372)][_0x33845c(0x22f)](_0x21c2a1))['then'](()=>this[_0x33845c(0x30c)][_0x33845c(0x222)](_0x21c2a1));}async[_0x530ea4(0x21b)](){const _0x57d004=_0x530ea4,_0x1ddc44=[];this[_0x57d004(0x30c)][_0x57d004(0x371)]((_0x33fe4f,_0x239fb0)=>{const _0x5713bd=_0x57d004;window[_0x5713bd(0x221)](_0x33fe4f),_0x1ddc44[_0x5713bd(0x36a)](this[_0x5713bd(0x312)](_0x239fb0)['then'](()=>{const _0x9dae72=_0x5713bd;this[_0x9dae72(0x30c)][_0x9dae72(0x222)](_0x239fb0);}));}),await Promise[_0x57d004(0x3e7)](_0x1ddc44);}};_0x35301a=_0x53d2a9([_0x5ec6e1(0x0,_0x1f0a18[_0x530ea4(0x3fe)]),_0x5ec6e1(0x1,_0x1f0a18[_0x530ea4(0x355)]),_0x5ec6e1(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1cac3e['RevisionService']))],_0x35301a);class _0x5bd741 extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(){const _0x30a749=_0x530ea4;super(),_0x1b53be(this,_0x30a749(0x43d)),this[_0x30a749(0x43d)]=_0x5900c2[_0x30a749(0x2e5)](window,_0x30a749(0x22c))[_0x30a749(0x420)](_0x5900c2[_0x30a749(0x24a)](this[_0x30a749(0x211)]),_0x5900c2['shareReplay'](0x1),_0x5900c2[_0x30a749(0x40e)](void 0x0));}[_0x530ea4(0x395)](_0x4fd53e,_0x15ae5e,_0x31ef9e=!0x1){const _0x1f6937=_0x530ea4,_0x4f9baf=new URL(window['location'][_0x1f6937(0x208)]);_0x4f9baf[_0x1f6937(0x325)]['set'](_0x4fd53e,_0x15ae5e),_0x31ef9e?window['history'][_0x1f6937(0x1c0)]('','',_0x4f9baf[_0x1f6937(0x418)]()):window['history']['pushState']('','',_0x4f9baf['toString']());}[_0x530ea4(0x36d)](_0x4a7859,_0x57564a=!0x1){const _0x4707dd=_0x530ea4,_0x657216=new URL(window[_0x4707dd(0x23a)][_0x4707dd(0x208)]);_0x657216[_0x4707dd(0x325)][_0x4707dd(0x222)](_0x4a7859),_0x57564a?window[_0x4707dd(0x31f)][_0x4707dd(0x1c0)]('','',_0x657216[_0x4707dd(0x418)]()):window[_0x4707dd(0x31f)][_0x4707dd(0x3d1)]('','',_0x657216['toString']());}['getParam'](_0x602318){const _0x20863b=_0x530ea4;var _0x294cb1;return(_0x294cb1=new URL(window['location'][_0x20863b(0x208)])[_0x20863b(0x325)]['get'](_0x602318))!=null?_0x294cb1:void 0x0;}}var _0x59ebb7=Object[_0x530ea4(0x36e)],_0x27f288=Object['getOwnPropertyDescriptor'],_0xbce48=(_0x3449aa,_0x68d070,_0x1f8619)=>_0x68d070 in _0x3449aa?_0x59ebb7(_0x3449aa,_0x68d070,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f8619}):_0x3449aa[_0x68d070]=_0x1f8619,_0x5b73b2=(_0x6d6e4c,_0x1954be,_0xd9de4f,_0x1f1581)=>{const _0x53b41f=_0x530ea4;for(var _0x2cee3d=_0x1f1581>0x1?void 0x0:_0x1f1581?_0x27f288(_0x1954be,_0xd9de4f):_0x1954be,_0x11c923=_0x6d6e4c[_0x53b41f(0x2ee)]-0x1,_0xdd9bb8;_0x11c923>=0x0;_0x11c923--)(_0xdd9bb8=_0x6d6e4c[_0x11c923])&&(_0x2cee3d=_0xdd9bb8(_0x2cee3d)||_0x2cee3d);return _0x2cee3d;},_0xd6f6e0=(_0x415049,_0x27b84d)=>(_0x4a05d2,_0xb6d4b2)=>_0x27b84d(_0x4a05d2,_0xb6d4b2,_0x415049),_0x23c91e=(_0x316dd3,_0x5757cf,_0x261cf6)=>_0xbce48(_0x316dd3,_0x5757cf+'',_0x261cf6);const _0x39274e=_0x530ea4(0x2a4);_0x5527a1[_0x530ea4(0x42c)]=class extends _0x1f0a18['Plugin']{constructor(_0x57f292=_0x2b46de,_0x1f0ac0,_0x503312,_0x110867){const _0x278980=_0x530ea4;super(),this[_0x278980(0x293)]=_0x57f292,this[_0x278980(0x1c3)]=_0x1f0ac0,this[_0x278980(0x335)]=_0x503312,this[_0x278980(0x339)]=_0x110867;const {..._0x1e1ff3}=_0x1f0a18[_0x278980(0x35e)]({},_0x2b46de,this[_0x278980(0x293)]);this[_0x278980(0x339)][_0x278980(0x322)](_0xcf2e1e,_0x1e1ff3);}[_0x530ea4(0x209)](){const _0x57fefd=_0x530ea4;this[_0x57fefd(0x413)](),this[_0x57fefd(0x1ee)]();}[_0x530ea4(0x33f)](){const _0xb53f4e=_0x530ea4;this[_0xb53f4e(0x22a)]();}[_0x530ea4(0x413)](){const _0x4a1f94=_0x530ea4;var _0x4446ee;const _0x41a874=[[_0x3e294f],[_0x111326],[_0x4e7530],[_0x2a5f6a],[_0x50ea68],[_0x2d199b,{'useClass':_0x5bd741}],[_0x254943[_0x4a1f94(0x233)],{'useClass':_0x254943[_0x4a1f94(0x3c6)]}],[_0x5a7b55[_0x4a1f94(0x294)],{'useClass':_0x35301a}],[_0x5527a1[_0x4a1f94(0x42a)]],[_0x282265],[_0x257a98],[_0x201d0c],[_0x25d763],[_0x5527a1[_0x4a1f94(0x37b)]]];_0x1f0a18[_0x4a1f94(0x28a)](this[_0x4a1f94(0x335)],_0x1f0a18[_0x4a1f94(0x1f6)](_0x41a874,(_0x4446ee=this[_0x4a1f94(0x293)])==null?void 0x0:_0x4446ee['override']));}[_0x530ea4(0x22a)](){const _0x47b4d9=_0x530ea4;this[_0x47b4d9(0x3b8)](this[_0x47b4d9(0x1c3)][_0x47b4d9(0x216)](_0x1f0a18[_0x47b4d9(0x358)][_0x47b4d9(0x389)],[_0x2d1851])),this[_0x47b4d9(0x3b8)](this['_renderManagerService'][_0x47b4d9(0x216)](_0x1f0a18[_0x47b4d9(0x358)][_0x47b4d9(0x1ff)],[_0xbcec20]));}[_0x530ea4(0x1ee)](){const _0x264993=_0x530ea4;_0x1f0a18[_0x264993(0x426)](this[_0x264993(0x335)],[[_0x201d0c],[_0x5527a1[_0x264993(0x42a)]],[_0x282265],[_0x257a98],[_0x5527a1['CollaborationDataLoaderController']]]);}},_0x23c91e(_0x5527a1[_0x530ea4(0x42c)],_0x530ea4(0x29d),_0x39274e),_0x5527a1['UniverCollaborationClientUIPlugin']=_0x5b73b2([_0x1f0a18[_0x530ea4(0x3cd)](_0x5a7b55[_0x530ea4(0x411)]),_0xd6f6e0(0x1,_0x1b328b[_0x530ea4(0x2af)]),_0xd6f6e0(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xd6f6e0(0x3,_0x1f0a18[_0x530ea4(0x3fe)])],_0x5527a1['UniverCollaborationClientUIPlugin']);var _0x32d56=Object[_0x530ea4(0x201)],_0x29468d=(_0x420523,_0x1b0682,_0x42ac1f,_0x1ea4b7)=>{const _0x3f42c1=_0x530ea4;for(var _0x1856b5=_0x1ea4b7>0x1?void 0x0:_0x1ea4b7?_0x32d56(_0x1b0682,_0x42ac1f):_0x1b0682,_0x3232c5=_0x420523[_0x3f42c1(0x2ee)]-0x1,_0x21fad1;_0x3232c5>=0x0;_0x3232c5--)(_0x21fad1=_0x420523[_0x3232c5])&&(_0x1856b5=_0x21fad1(_0x1856b5)||_0x1856b5);return _0x1856b5;},_0x44494e=(_0x4f9eae,_0x1a80ff)=>(_0x1aa4dc,_0x2b6f49)=>_0x1a80ff(_0x1aa4dc,_0x2b6f49,_0x4f9eae);_0x5527a1[_0x530ea4(0x37a)]=class extends _0x5a7b55[_0x530ea4(0x296)]{constructor(_0x57edf6,_0x139775,_0x2554ae,_0x239847,_0x5843a3){super(_0x57edf6,_0x139775,_0x2554ae,_0x239847,_0x5843a3);}async[_0x530ea4(0x22b)](_0x2cd8f8){const _0x1d40b1=_0x530ea4,_0x2a6204=await this[_0x1d40b1(0x2c4)](),_0xfd03cc=this[_0x1d40b1(0x287)](_0x2cd8f8,_0x2a6204);return this[_0x1d40b1(0x2b2)](_0xfd03cc);}[_0x530ea4(0x287)](_0x418b69,_0x23afbb){const _0x2eddae=_0x530ea4,_0x27d61d=typeof window>'u'?new URL(_0x418b69):new URL(_0x418b69,window['location'][_0x2eddae(0x43e)]);_0x27d61d[_0x2eddae(0x325)][_0x2eddae(0x3ec)](_0x2eddae(0x3a8),_0x23afbb);const _0x8b1de2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2eddae(0x388)]);return _0x8b1de2[_0x2eddae(0x22f)]('runId')&&_0x27d61d[_0x2eddae(0x325)][_0x2eddae(0x3ec)](_0x2eddae(0x42e),_0x8b1de2['get'](_0x2eddae(0x42e))),_0x27d61d['toString']();}async[_0x530ea4(0x2c4)](){const _0xb8ea15=_0x530ea4;var _0x3ef86d,_0x79f613,_0x576c4b;const _0x25e884=this[_0xb8ea15(0x339)]['getConfig'](_0x5a7b55[_0xb8ea15(0x443)]),_0x11c523=(_0x3ef86d=_0x25e884==null?void 0x0:_0x25e884[_0xb8ea15(0x3d3)])!=null?_0x3ef86d:_0x5a7b55[_0xb8ea15(0x1f0)];return(_0x576c4b=(_0x79f613=(await this[_0xb8ea15(0x20c)][_0xb8ea15(0x22f)](_0x11c523,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x79f613['ticket'])!=null?_0x576c4b:'';}},_0x5527a1[_0x530ea4(0x37a)]=_0x29468d([_0x44494e(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18['Injector'])),_0x44494e(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x254943[_0x530ea4(0x2a6)])),_0x44494e(0x2,_0x1f0a18[_0x530ea4(0x3fe)]),_0x44494e(0x3,_0x1f0a18[_0x530ea4(0x1ae)]),_0x44494e(0x4,_0x1cac3e[_0x530ea4(0x2f1)])],_0x5527a1[_0x530ea4(0x37a)]);const _0x50c5fa=0x7530,_0x305c8d=_0x530ea4(0x2dc);class _0x58e646 extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(){const _0x7618cc=_0x530ea4;super(),_0x1b53be(this,_0x7618cc(0x246),_0x1f0a18['generateRandomId']()),_0x1b53be(this,'_selfUnitIDs',new Set()),_0x1b53be(this,_0x7618cc(0x279),new Map()),_0x1b53be(this,_0x7618cc(0x1dc),null),_0x1b53be(this,_0x7618cc(0x2c9),new Map()),_0x1b53be(this,_0x7618cc(0x224),new Map()),this[_0x7618cc(0x30a)]();}[_0x530ea4(0x342)](){const _0x475ccd=_0x530ea4;super[_0x475ccd(0x342)](),this[_0x475ccd(0x2c9)]['forEach']((_0x213fe6,_0x3832e3)=>this[_0x475ccd(0x309)](_0x3832e3)),this[_0x475ccd(0x1dc)]&&window['clearInterval'](this[_0x475ccd(0x1dc)]);}[_0x530ea4(0x3b3)](_0x4c9b40){const _0x2e6b02=_0x530ea4;return this[_0x2e6b02(0x449)](_0x4c9b40)[_0x2e6b02(0x420)](_0x5900c2['distinctUntilChanged']());}['editingUnit'](_0x36de5c){const _0x85b223=_0x530ea4;this[_0x85b223(0x20a)]['size']===0x0&&this[_0x85b223(0x295)](),this[_0x85b223(0x20a)]['add'](_0x36de5c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x36de5c],'isForwarded':!0x1});}[_0x530ea4(0x2ac)](_0x3528e9){const _0x1b110d=_0x530ea4;this[_0x1b110d(0x20a)][_0x1b110d(0x222)](_0x3528e9),this[_0x1b110d(0x20a)][_0x1b110d(0x383)]===0x0&&this[_0x1b110d(0x1dc)]&&window[_0x1b110d(0x3f5)](this[_0x1b110d(0x1dc)]);}[_0x530ea4(0x30a)](){const _0x12e1c8=_0x530ea4;this[_0x12e1c8(0x3b8)](_0x1f0a18['toDisposable'](_0x5900c2[_0x12e1c8(0x2e5)](window,_0x12e1c8(0x219))[_0x12e1c8(0x272)](_0x25a25a=>{const _0x50287b=_0x12e1c8;if(_0x25a25a['key']!==_0x305c8d||!_0x25a25a['newValue'])return;const _0x26f3b5=JSON['parse'](_0x25a25a[_0x50287b(0x36f)]);this['_handleEvent'](_0x26f3b5);}))),window[_0x12e1c8(0x1d1)](_0x12e1c8(0x252),()=>this[_0x12e1c8(0x2d6)]({'type':0x1,'memberID':this[_0x12e1c8(0x246)],'unitIDs':Array[_0x12e1c8(0x1d2)](this[_0x12e1c8(0x20a)])}));}['_handleEvent'](_0x182854){const _0x1a3096=_0x530ea4;switch(_0x182854[_0x1a3096(0x3b9)]){case 0x0:this[_0x1a3096(0x41f)](_0x182854);break;case 0x1:this[_0x1a3096(0x396)](_0x182854);break;case 0x2:this[_0x1a3096(0x366)](_0x182854);break;}}[_0x530ea4(0x41f)](_0x5c8559){const _0x1b929d=_0x530ea4,{unitIDs:_0x3086fd,memberID:_0x4a8b95,isForwarded:_0x1f3957}=_0x5c8559;_0x3086fd[_0x1b929d(0x371)](_0x4f052a=>{const _0x1bc0bd=_0x1b929d;if(!_0x1f3957&&this['_unitOnClients']['has'](_0x4f052a)&&this[_0x1bc0bd(0x449)](_0x4f052a)['next'](_0x5a7b55[_0x1bc0bd(0x433)][_0x1bc0bd(0x1cc)]),!this[_0x1bc0bd(0x279)][_0x1bc0bd(0x447)](_0x4f052a)||!this[_0x1bc0bd(0x279)]['get'](_0x4f052a)[_0x1bc0bd(0x447)](_0x4a8b95)){const _0x1ecf8b=this[_0x1bc0bd(0x279)][_0x1bc0bd(0x22f)](_0x4f052a)||new Set();_0x1ecf8b[_0x1bc0bd(0x20b)](_0x4a8b95),this['_unitOnClients'][_0x1bc0bd(0x3ec)](_0x4f052a,_0x1ecf8b),this[_0x1bc0bd(0x2b3)](_0x4a8b95);}}),_0x1f3957||this[_0x1b929d(0x2d6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1b929d(0x20a)]],'isForwarded':!0x0});}[_0x530ea4(0x2b3)](_0x30366a){const _0x2eb3a3=_0x530ea4;this[_0x2eb3a3(0x309)](_0x30366a);const _0x256938=window[_0x2eb3a3(0x2ec)](()=>{const _0x2b64ed=_0x2eb3a3;this[_0x2b64ed(0x279)][_0x2b64ed(0x371)](_0x2dc6c2=>{const _0x16db50=_0x2b64ed;_0x2dc6c2[_0x16db50(0x222)](_0x30366a);});},_0x50c5fa*0x2);this[_0x2eb3a3(0x2c9)][_0x2eb3a3(0x3ec)](_0x30366a,_0x256938);}[_0x530ea4(0x309)](_0x31663c){const _0x29954f=_0x530ea4;if(this['_clearOtherTimers'][_0x29954f(0x447)](_0x31663c)){const _0x4673ea=this['_clearOtherTimers'][_0x29954f(0x22f)](_0x31663c);_0x4673ea&&window['clearTimeout'](_0x4673ea),this[_0x29954f(0x2c9)][_0x29954f(0x3ec)](_0x31663c,null);}}[_0x530ea4(0x396)](_0x5b8982){const _0x5393a6=_0x530ea4,{memberID:_0x45ad55,unitIDs:_0x13ce30}=_0x5b8982;_0x13ce30['forEach'](_0x2dd6d9=>{const _0x47303e=_0x1efe;var _0xb2028f;const _0x57cf6b=this[_0x47303e(0x279)]['get'](_0x2dd6d9);_0x57cf6b&&(_0x57cf6b[_0x47303e(0x222)](_0x45ad55),(_0xb2028f=this[_0x47303e(0x449)](_0x2dd6d9))==null||_0xb2028f['next'](_0x57cf6b[_0x47303e(0x383)]===0x0?_0x5a7b55['UnitStatus'][_0x47303e(0x1cd)]:_0x5a7b55[_0x47303e(0x433)][_0x47303e(0x1cc)]));}),this[_0x5393a6(0x309)](_0x45ad55);}[_0x530ea4(0x366)](_0x56ce93){const _0x5e3ef1=_0x530ea4;this[_0x5e3ef1(0x2b3)](_0x56ce93[_0x5e3ef1(0x377)]);}[_0x530ea4(0x2d6)](_0x24a42e){const _0x4b98ef=_0x530ea4;localStorage[_0x4b98ef(0x284)](_0x305c8d,JSON[_0x4b98ef(0x33c)](_0x24a42e));}[_0x530ea4(0x295)](){const _0x27c3e6=_0x530ea4;this['_heartbeatTimer']=window[_0x27c3e6(0x2d2)](()=>{const _0x50eea4=_0x27c3e6;this[_0x50eea4(0x2d6)]({'type':0x2,'memberID':this[_0x50eea4(0x246)]});},_0x50c5fa);}['_ensureSubject'](_0x53f4f6){const _0x3ae2df=_0x530ea4;return this['_unitStatus'][_0x3ae2df(0x447)](_0x53f4f6)||this[_0x3ae2df(0x224)]['set'](_0x53f4f6,new _0x5900c2[(_0x3ae2df(0x1d9))](_0x5a7b55[_0x3ae2df(0x433)][_0x3ae2df(0x1cd)])),this[_0x3ae2df(0x224)][_0x3ae2df(0x22f)](_0x53f4f6);}}var _0x4cb49e=(_0x522874=>(_0x522874[_0x522874[_0x530ea4(0x3a7)]=0x0]=_0x530ea4(0x3a7),_0x522874[_0x522874['OK']=0x1]='OK',_0x522874[_0x522874['INTERNAL_ERROR']=0x2]=_0x530ea4(0x2a9),_0x522874[_0x522874[_0x530ea4(0x1ed)]=0x3]='PERMISSION_DENIED',_0x522874[_0x522874[_0x530ea4(0x29b)]=0x4]=_0x530ea4(0x29b),_0x522874[_0x522874['UNAUTHENTICATED']=0x5]=_0x530ea4(0x2ed),_0x522874[_0x522874[_0x530ea4(0x255)]=0x6]=_0x530ea4(0x255),_0x522874[_0x522874[_0x530ea4(0x448)]=0x7]=_0x530ea4(0x448),_0x522874[_0x522874[_0x530ea4(0x416)]=0x8]=_0x530ea4(0x416),_0x522874[_0x522874[_0x530ea4(0x2b8)]=0x9]=_0x530ea4(0x2b8),_0x522874[_0x522874[_0x530ea4(0x1d4)]=0xa]=_0x530ea4(0x1d4),_0x522874[_0x522874[_0x530ea4(0x2e0)]=0xb]=_0x530ea4(0x2e0),_0x522874[_0x522874['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x530ea4(0x2ce),_0x522874[_0x522874[_0x530ea4(0x234)]=0xd]=_0x530ea4(0x234),_0x522874[_0x522874[_0x530ea4(0x1a2)]=0xe]=_0x530ea4(0x1a2),_0x522874[_0x522874[_0x530ea4(0x1af)]=0x1389]=_0x530ea4(0x1af),_0x522874[_0x522874[_0x530ea4(0x3dd)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x522874[_0x522874[_0x530ea4(0x214)]=0x1772]=_0x530ea4(0x214),_0x522874[_0x522874[_0x530ea4(0x381)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x522874[_0x522874[_0x530ea4(0x28d)]=0x1b59]='APPLY_REJECT',_0x522874[_0x522874[_0x530ea4(0x2f0)]=0x1b5a]=_0x530ea4(0x2f0),_0x522874[_0x522874[_0x530ea4(0x23d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x522874[_0x522874[_0x530ea4(0x399)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x522874[_0x522874['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x522874[_0x522874[_0x530ea4(0x2e6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x522874[_0x522874[_0x530ea4(0x1bd)]=0x2329]=_0x530ea4(0x1bd),_0x522874[_0x522874[_0x530ea4(0x44d)]=0x232a]=_0x530ea4(0x44d),_0x522874[_0x522874[_0x530ea4(0x376)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x522874[_0x522874['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x530ea4(0x393),_0x522874[_0x522874['LICENSE_DISTRO_REJECTED']=0x232d]=_0x530ea4(0x44c),_0x522874[_0x522874[_0x530ea4(0x22d)]=0x2711]=_0x530ea4(0x22d),_0x522874[_0x522874[_0x530ea4(0x34f)]=0x2712]=_0x530ea4(0x34f),_0x522874[_0x522874[_0x530ea4(0x369)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x522874[_0x522874[_0x530ea4(0x41c)]=0x2714]=_0x530ea4(0x41c),_0x522874[_0x522874['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x530ea4(0x37d),_0x522874[_0x522874[_0x530ea4(0x2e2)]=0x271b]=_0x530ea4(0x2e2),_0x522874[_0x522874[_0x530ea4(0x220)]=0x271c]=_0x530ea4(0x220),_0x522874[_0x522874[_0x530ea4(0x397)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x522874[_0x522874[_0x530ea4(0x2f7)]=0x271e]=_0x530ea4(0x2f7),_0x522874[_0x522874[_0x530ea4(0x446)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x522874[_0x522874[_0x530ea4(0x329)]=0x2720]=_0x530ea4(0x329),_0x522874[_0x522874[_0x530ea4(0x25f)]=0x2af9]=_0x530ea4(0x25f),_0x522874[_0x522874[_0x530ea4(0x253)]=0x2ee1]=_0x530ea4(0x253),_0x522874[_0x522874[_0x530ea4(0x2a7)]=0x2ee2]=_0x530ea4(0x2a7),_0x522874[_0x522874[_0x530ea4(0x3fa)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x522874[_0x522874['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x522874[_0x522874[_0x530ea4(0x38c)]=0x2ee5]=_0x530ea4(0x38c),_0x522874[_0x522874[_0x530ea4(0x2bd)]=0x32c9]=_0x530ea4(0x2bd),_0x522874[_0x522874[_0x530ea4(0x301)]=0x32ca]=_0x530ea4(0x301),_0x522874[_0x522874[_0x530ea4(0x27e)]=0x32cb]=_0x530ea4(0x27e),_0x522874[_0x522874[_0x530ea4(0x1e3)]=-0x1]=_0x530ea4(0x1e3),_0x522874))(_0x4cb49e||{}),_0x1c9548=Object[_0x530ea4(0x201)],_0x5638ff=(_0x21f438,_0x4b63a7,_0x5d0c09,_0xcf8e6)=>{const _0x527d50=_0x530ea4;for(var _0x47cddc=_0xcf8e6>0x1?void 0x0:_0xcf8e6?_0x1c9548(_0x4b63a7,_0x5d0c09):_0x4b63a7,_0x50ba5e=_0x21f438[_0x527d50(0x2ee)]-0x1,_0x1a2f8a;_0x50ba5e>=0x0;_0x50ba5e--)(_0x1a2f8a=_0x21f438[_0x50ba5e])&&(_0x47cddc=_0x1a2f8a(_0x47cddc)||_0x47cddc);return _0x47cddc;},_0x246f37=(_0x4440ca,_0x16d64d)=>(_0x593eef,_0x41f47a)=>_0x16d64d(_0x593eef,_0x41f47a,_0x4440ca);_0x5527a1['RemoteUniscriptService']=class extends _0x1f0a18['Disposable']{constructor(_0x3e64a6,_0x53003c,_0x5e32c5){const _0x3b9d81=_0x530ea4;super(),this[_0x3b9d81(0x298)]=_0x3e64a6,this[_0x3b9d81(0x20c)]=_0x53003c,this[_0x3b9d81(0x339)]=_0x5e32c5;}async[_0x530ea4(0x407)](_0x205169,_0x4be83c,_0x520747,..._0x4448ae){const _0x85588b=_0x530ea4;var _0x1983d2,_0x4dc89a,_0x4c12c1,_0xd25412;const _0x2035cb=this['_instanceService'][_0x85588b(0x3d6)]();if(!_0x2035cb)throw new Error(_0x85588b(0x336));const _0x16f7b5=((_0x1983d2=this[_0x85588b(0x339)]['getConfig'](_0x5a7b55[_0x85588b(0x31d)]))!=null?_0x1983d2:_0x5a7b55[_0x85588b(0x3b6)])+'/'+_0x205169+_0x85588b(0x32b)+_0x4be83c,_0x58408b=new URL(window[_0x85588b(0x23a)]['href']),_0x275bbe={'scriptId':_0x205169,'runId':(_0x4dc89a=_0x58408b[_0x85588b(0x325)][_0x85588b(0x22f)](_0x85588b(0x42e)))!=null?_0x4dc89a:'','function':_0x4be83c,'unitId':_0x2035cb[_0x85588b(0x1e8)](),'argsOfFunction':JSON[_0x85588b(0x33c)](_0x4448ae),'invokeId':(_0x4c12c1=_0x520747[_0x85588b(0x229)])!=null?_0x4c12c1:'','executionId':(_0xd25412=_0x520747[_0x85588b(0x280)])!=null?_0xd25412:''};try{const _0x253163=await this['_httpService'][_0x85588b(0x319)](_0x16f7b5,{'body':_0x275bbe});return _0x253163[_0x85588b(0x414)][_0x85588b(0x31b)]&&_0x253163[_0x85588b(0x414)][_0x85588b(0x31b)]['code']!==_0x4cb49e['OK']?_0x85588b(0x35d):_0x253163[_0x85588b(0x414)]['result'];}catch{return _0x85588b(0x35d);}}},_0x5527a1[_0x530ea4(0x351)]=_0x5638ff([_0x246f37(0x0,_0x1f0a18[_0x530ea4(0x2db)]),_0x246f37(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x254943['HTTPService'])),_0x246f37(0x2,_0x1f0a18[_0x530ea4(0x3fe)])],_0x5527a1['RemoteUniscriptService']),_0x5527a1[_0x530ea4(0x440)]=_0x4da86a,_0x5527a1[_0x530ea4(0x419)]=_0x2d199b,_0x5527a1['SheetCollabCursorShape']=_0x4b5ae2,_0x5527a1[_0x530ea4(0x27a)]=_0x58e646,_0x5527a1[_0x530ea4(0x262)]=_0x5bd741,Object[_0x530ea4(0x36e)](_0x5527a1,Symbol[_0x530ea4(0x217)],{'value':'Module'});}));function _0x1efe(_0x520d97,_0x2fb2d2){const _0x55f24e=_0x55f2();return _0x1efe=function(_0x1efebe,_0x1b827c){_0x1efebe=_0x1efebe-0x1a2;let _0x23fe5e=_0x55f24e[_0x1efebe];return _0x23fe5e;},_0x1efe(_0x520d97,_0x2fb2d2);}function _0x55f2(){const _0x20240b=['INVALID_INVITE_CODE','_docSkeleton','INTERNAL_ERROR','Shape','_onCursorDelete','disposeUnit','OffLineIcon','reconnect','IRenderManagerService','transform','RemoveColCommandId','_doCreateSocket','_scheduleClearOtherTimer','CollaborationController','CommandType','@univerjs/engine-formula','bottom','COMPLETION_FINISHED','data','_assignedColors','RxDisposable','OTHER_CLIENT_EDITING','WECHAT_HAS_BEEN_BOUND','0\x200\x2017\x2016','on-line-icon','@univerjs/engine-render','_updateCollabCursors','Tooltip','saveTaskMap','_getSessionTicket','DisposableCollection','forwardRef','SHEET_VIEWPORT_KEY','find','_clearOtherTimers','url(#on-line-icon_clip0_910_349)','DocCollaborationEntity','row','_univerInstanceService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DataLoaderService','ThemeService','contains','setInterval','saveImage','apply','USERS_LEAVE','_send','_dataLoaderService','session.collaboration-timeout','_drawAnchor','collaboration.single-unit.warning','IUniverInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','_online','M0\x200H16V16H0z','DOC_RANGE_TYPE','MOBILE_VERIFY_CODE_MISMATCH','UniverDrawing','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','labelPosition','fromEvent','CONNECTOR_DATA_TOO_LARGE','findNodePositionByCharIndex','roomMembers','createInstance','unsubscribe','cursorInfo','setTimeout','UNAUTHENTICATED','length','session.connection-failed','APPLY_NON_SEQUENTIAL_REVISION','ISnapshotServerService','INotificationService','_removeCollabCursors','textRanges','NOT_COLLAB','collab-text-range-','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','subUnitId','EffectRefRangId','_updateURLWithCurrentState','_hover','endColumn','_startSheetCollabCursor','_range','measureText','docStateChange$','MOBILE_HAS_BEEN_BOUND','_transformHistoryAndStateStack','toDisposable','_initStatusComponent','saveOfflineData','_hovered','isArray','actions','_removeClearOtherTimer','_init','getRenderById','_saveTaskMap','min','_cursorInfo$','deserializeRangeWithSheet','values','Rect','_saveCache','SessionStatus','@univerjs/sheets-ui','sheetID','collabStatus.offline','UniverSheetsUi','cursorInfo$','post','@univerjs/drawing','error','displayName','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration-client','history','indexOf','executeCommand','setConfig','_imageIoService','top','searchParams','setActiveRange','_handleHover','_name','YUUMI_CONNECTOR_URL_NOT_FOUND','_color','/run/','@univerjs/sheets','#FFF','_disabled','Tools','column','off-line-icon_clip0_910_343','SUBMIT_CHANGESET_TIMEOUT','sessionStatus$','with','_injector','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleInsertRow','LocaleService','_configService','10xstveY','closePath','stringify','_drawTextRange','deepClone','onRendered','...','_themeService','dispose','assignAColorForMemberID','_toggleOffline','InsertRangeMoveDownCommandId','_initEvent','colorChannel1','operators','handleIRemoveRow','unshift','toRgbString','_startDocCollabCursor','_notificationService','transformStateCache','YUUMI_URL_COL_OUT_OF_RANGE','SheetsSelectionsService','RemoteUniscriptService','InsertColCommandId','transformMutationsWithChangeset','currentColor','ILocalStorageService','_onCursorUpdate','params','UniverInstanceType','_transformPreviousActiveRange','rxjs','subunit','getCollabEntity$','Failed','merge','getDocRanges','SetDocZoomRatioOperation','complete','requireSession','enableLocalCache','MoveRangeCommandId','132303hQPSJR','_handleHeartbeatEvent','transformIMECache','registerBeforeClose','YUUMI_RATE_OVER_LIMIT','push','RichTextEditingMutation','getTypeOfUnitAdded$','removeParam','defineProperty','newValue','backgroundColor','forEach','_cachedData','_docTransformSelectionsService','jsxs','UniverIcon','LICENSE_IMPORT_SIZE_EXCEEDED','memberID','_beforeCloseService','HEADER_MENU','BrowserCollaborationSocketService','CollaborationDataLoaderController','SheetSkeletonManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','prototype','3nifveG','asObservable','ENSURE_SNAPSHOT_EXECUTION','setAlpha','size','InsertRangeMoveRightCommandId','collabStatus.synced','_getScale','getStateCache','search','UNIVER_DOC','_initStatusListener','_urlService','INVITE_CODE_ALREADY_BOUND','IMessageService','React','UniverNetwork','getRelativeToViewportCoord','restore','makeDirty','LICENSE_EXPORT_SIZE_EXCEEDED','div','setParam','_handleLeaveEvent','YUUMI_ALL_TABLES_IS_INVALID','startsWith','APPLY_PERMISSION_DENIED','_getMergeRange','string','NodePositionConvertToRectRange','Unknown\x20user','amd','UniverDesign','_document','runRefRangeMutations','CollaborationSessionService','MemberService','fillStyle','getUnhiddenWorksheets','off-line-icon','UNDEFINED','sessionTicket','setStateCache','_refreshCollabCursors','collabStatus.conflict','_cursorShapes','310632sCcUDY','_docTransformStateCacheService','arc','_docTransformIMECacheService','CollaborationUIEventId','OFFLINE','getUnitStatus$','_syncEditingCollabCursorService','split','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs/ui','disposeWithMe','type','currentSkeleton$','_labelPosition','UPDATE_CURSOR','Disposable','getCollabCursors$','getOffsetConfig','addObject','tag','_commandService','UniverSheets','COLORS','createIdentifier','WebSocketService','jsx','RECT','evenodd','ONLINE','IUIPartsService','onPointerMove$','DependentOn','hide','skeleton','path','pushState','http://www.w3.org/2000/svg','wsSessionTicketUrl','CollaborationStatus','@univerjs/rpc','getFocusedUnit','ICommandService','jiqing.500','max','isTransformMutationFailure','TEXT','isTransformMutationsWithChangesetSuccess','SNAPSHOT_INVALID_SNAPSHOT','UniverEngineFormula','_backgroundColor','fillRule','collabCursorState$','getMergeData','getCurrentUnitForType','_initEntityListener','getColorFromTheme','ColorKit','all','_status$','uni.network.url-service','SetWorksheetActivateCommand','startRow','set','engine','_context','_colorIndex','unitId','_initResize','DocSkeletonManagerService','_docClipboardService','1544072jwLgsY','clearInterval','DocSelectionManagerService','replace','getSheetBySheetId','RemoveRowCommandId','INVITE_CODE_REQUIRED','onCommandExecuted','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_memberService','IConfigService','url(#$1','drawWith','idSuffix','moveTo','_drawRectRange','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','getMember','_anchor','runOnServer','_getSaveTimeout','593674jfJIoh','show','handleMoveRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleIRemoveCol','mapTo','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs-pro/collaboration','UniverCollaborationClientPlugin','save','_registerDependencies','body','switchMap','TOO_MANY_REQUESTS','beginPath','toString','IURLService','imageSourceType','_initCommandExecutedListener','YUUMI_SUBSCRIPTION_NOT_FOUND','Inject','ITransformService','_handleJoinEvent','pipe','combineLatest','188Stfalr','UniverDocsUi','then','@univerjs/docs','touchDependencies','setUndoRedoMutationParamsCache','next','_shapes','DesktopCollaborationStatusDisplayController','Error','UniverCollaborationClientUIPlugin','getActiveSheet','runId','_scene','collaboration.closeRoom','isActive','Optional','UnitStatus','rxjs/operators','SOCKET_FAILED','connectInjector','height','round','2647314dZdlgj','setShapeProps','_uiPartsService','trim','urlChange$','origin','react','CollaborationStatusDisplay','_docSkeletonManagerService','useDependency','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','random','exports','YUUMI_AI_RUN_FAILED','has','INVALID_ARGUMENT','_ensureSubject','onTransformChange$','white','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addHandlerCallback','useRef','defIds','triggerDblclick','UniverCore','_sheetSkeletonManagerService','getSheetId','_session','m2Prime','4025799MrTtcN','NodePositionConvertToCursor','ILogService','CHANGESET_REVISION_CONFILICT','onPointerEnter$','Rectangle','text','syncEditingCollabCursor','color','univerjs-icon\x20univerjs-icon-','hasOwnProperty','current','MessageType','defs','on-line-icon_clip0_910_349','SetSelectionsOperation','includes','LICENSE_MAX_UNITS_EXCEEDED','isEditing','_collaborationController','replaceState','_updateLocalCursor','lineTo','_renderManagerService','fill','collaboration-client.offline-data-not-saved','getSkeleton','Subject','undoState','_messageService','_localeService','FETCH_MISS','OTHER_CLIENTS_EDITING','NO_OTHER_CLIENTS_EDITING','DeleteRangeMoveLeftCommandId','useCallback','getCellPositionByOffset','addEventListener','from','_roomMembers$','LOGIN_FAILED','transformMutation','AWAITING_WITH_PENDING','_collabCursorController','mask','BehaviorSubject','univer-flex\x20univer-items-center','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_heartbeatTimer','_entities','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','subscribeEvent','Warning','Injector','attrs','UNRECOGNIZED','getValue','_cursor','fillText','status$','getUnitId','RefRangeService','useObservable','0\x200\x2016\x2016','transformByState','PERMISSION_DENIED','_initDependencies','range','DEFAULT_WS_SESSION_TICKET_URL','startColumn','replaceDocRanges','_logService','OnLineIcon','_colorAssignService','mergeOverrideWithDependencies','propertyIsEnumerable','_setupBeforeClosingHandler','disableLocalCache','@univerjs/design','getColor','_cursors','UniverEngineRender','AWAITING','UNIVER_SHEET','getCoordByCell','getOwnPropertyDescriptor','_updateSubUnitFromURLParams','map','getUndoRedoMutationParamsCache','IImageIoService','unit','className','href','onStarting','_selfUnitIDs','add','_httpService','throttleTime','black','DocIMEInputManagerService','selection','dispose$','loadUnit','[CollaborationDataLoaderController]','SNAPSHOT_HAS_BEEN_REMOVED','RegularPolygon','registerRenderModule','toStringTag','CLOSE_ROOM','storage','debug','exhaustSavingTask','_scheduleSaving','event$','red.300','_onRefRangeChange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','clearTimeout','delete','getCurrent','_unitStatus','FromArray','registerRefRange','_entityInit$','extend','invokeId','_registerRenderDependencies','createSocket','popstate','YUUMI_UNABLE_LOAD_URL','roomMembers$','get','_hideTimer','none','CollaborationEvent','ISocketService','EMAIL_VERIFY_CODE_MISMATCH','purple.300','getSheetObject','transformSelections','collab-text-anchor-','icon','location','generateRandomId','object','APPLY_REVISION_CONFILICT','call','_revisionService','children','_collabSessionService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','5345EdxZPP','CONFLICT','onPointerLeave$','_id','handleInsertCol','debounce','name','takeUntil','getAncestorScale','LOCAL_CACHE_INTERVAL_KEY','Vector2','translate(.97)','onMouseMove','sheetId','concat','unload','INVITE_CODE_HAS_BEEN_UES','1em','ALREADY_EXISTS','_textBubble','_lastPointer','onLocalMutation','_getAnchorBounding','yellow.400','handleInsertRangeMoveRight','width','_refRangeService','_toggleOnline','PY_RUNTIME_SCRIPT_ERROR','blue.400','getRangePointData','WebURLService','some','Workbook','_anchorDot','_localStorageService','_transformUndoRedoStack','getCurrentRevOfUnit','IDocClipboardService','fromEventSubject','addClipboardHook','currentTheme$','filter','getLocalCacheKey','clipPath','_eventUnsubscribe','redoState','subscribe','getParam','send','unitID','UniverProCollaboration','_docStateChangeManagerService','use','_unitOnClients','WebBrowserSingleActiveUnitService','getOwnPropertySymbols','permission.content','green.600','EMAIL_HAS_BEEN_BOUND','getMemberID','executionId','substring','UniverProCollaborationClient','IBeforeCloseService','setItem','debounceTime','endRow','_createSocketURL','JOIN_ROOM_FAILED','eventID','registerDependencies','function','createElement','APPLY_REJECT','ranges','doc.mutation.rich-text-editing','DocStateChangeManagerService','_render','assign','_config','ILocalCacheService','_scheduleHeartbeat','CollaborationSocketService','_transformService','_instanceService','_getSheetObject','_localCacheService','NOT_FOUND','xlink:href','pluginName','TEXT_RANGE_LAYER_INDEX','init','getConfig','entityInit$','mutations','m1Prime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformRemoteChangeset','HTTPService'];_0x55f2=function(){return _0x20240b;};return _0x55f2();}