@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507151607 → 0.9.2-nightly.202507161608

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 (49) 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 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  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 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  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 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  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/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x1e3237,_0x5b07a0){const _0x59de7a=_0x4b14,_0x2e9d1a=_0x1e3237();while(!![]){try{const _0x59a885=-parseInt(_0x59de7a(0x413))/0x1*(parseInt(_0x59de7a(0x2f7))/0x2)+parseInt(_0x59de7a(0x260))/0x3*(-parseInt(_0x59de7a(0x240))/0x4)+-parseInt(_0x59de7a(0x246))/0x5*(-parseInt(_0x59de7a(0x2cd))/0x6)+-parseInt(_0x59de7a(0x359))/0x7*(-parseInt(_0x59de7a(0x324))/0x8)+-parseInt(_0x59de7a(0x332))/0x9*(parseInt(_0x59de7a(0x272))/0xa)+parseInt(_0x59de7a(0x429))/0xb*(parseInt(_0x59de7a(0x450))/0xc)+-parseInt(_0x59de7a(0x375))/0xd;if(_0x59a885===_0x5b07a0)break;else _0x2e9d1a['push'](_0x2e9d1a['shift']());}catch(_0x4eda42){_0x2e9d1a['push'](_0x2e9d1a['shift']());}}}(_0x330f,0x50663),function(_0x571f72,_0xa3f1e){const _0x57f1c6=_0x4b14;typeof exports==_0x57f1c6(0x2ca)&&typeof module<'u'?_0xa3f1e(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==_0x57f1c6(0x333)&&define['amd']?define([_0x57f1c6(0x41b),_0x57f1c6(0x43f),_0x57f1c6(0x32f),_0x57f1c6(0x318),_0x57f1c6(0x1ec),_0x57f1c6(0x1e5),_0x57f1c6(0x339),_0x57f1c6(0x3ba),_0x57f1c6(0x3a6),_0x57f1c6(0x3b8),'@univerjs/engine-formula',_0x57f1c6(0x322),_0x57f1c6(0x448),'@univerjs/sheets-ui',_0x57f1c6(0x1f6),_0x57f1c6(0x24b),'@univerjs/design','react',_0x57f1c6(0x382)],_0xa3f1e):(_0x571f72=typeof globalThis<'u'?globalThis:_0x571f72||self,_0xa3f1e(_0x571f72[_0x57f1c6(0x2d4)]={},_0x571f72[_0x57f1c6(0x3dd)],_0x571f72['UniverCore'],_0x571f72[_0x57f1c6(0x217)],_0x571f72[_0x57f1c6(0x46e)],_0x571f72[_0x57f1c6(0x289)],_0x571f72[_0x57f1c6(0x366)],_0x571f72['rxjs'],_0x571f72[_0x57f1c6(0x461)],_0x571f72[_0x57f1c6(0x259)],_0x571f72[_0x57f1c6(0x1e9)],_0x571f72['UniverSheets'],_0x571f72[_0x57f1c6(0x3ba)][_0x57f1c6(0x26c)],_0x571f72[_0x57f1c6(0x3fa)],_0x571f72['React'],_0x571f72['UniverUi'],_0x571f72[_0x57f1c6(0x3a3)],_0x571f72[_0x57f1c6(0x37a)],_0x571f72[_0x57f1c6(0x23b)]));}(this,function(_0x5afeab,_0x38fa63,_0x2ca890,_0x5483ad,_0x39816b,_0x5e7d5c,_0x39d37c,_0x33e1e6,_0x1d9678,_0x1486d2,_0x1f749e,_0x2ce713,_0x57cc1a,_0x5e27d1,_0x1548bc,_0x3587ae,_0xff817b,_0x21d90f,_0x18f665){'use strict';const _0x391ebf=_0x4b14;var _0x41beb6=Object[_0x391ebf(0x3c0)],_0x3b0e18=(_0x18a823,_0x78b973,_0x2da8b6)=>_0x78b973 in _0x18a823?_0x41beb6(_0x18a823,_0x78b973,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2da8b6}):_0x18a823[_0x78b973]=_0x2da8b6,_0xb14004=(_0x1ea067,_0x5f0d9d,_0x79f63c)=>_0x3b0e18(_0x1ea067,typeof _0x5f0d9d!=_0x391ebf(0x37d)?_0x5f0d9d+'':_0x5f0d9d,_0x79f63c),_0x2d31bf=Object[_0x391ebf(0x1f0)],_0x3efd4e=(_0x5e6bc3,_0x463b7c,_0x50cdbb,_0x1f425b)=>{const _0x437070=_0x391ebf;for(var _0x52140a=_0x1f425b>0x1?void 0x0:_0x1f425b?_0x2d31bf(_0x463b7c,_0x50cdbb):_0x463b7c,_0x3f07dd=_0x5e6bc3[_0x437070(0x2aa)]-0x1,_0x43a579;_0x3f07dd>=0x0;_0x3f07dd--)(_0x43a579=_0x5e6bc3[_0x3f07dd])&&(_0x52140a=_0x43a579(_0x52140a)||_0x52140a);return _0x52140a;},_0x4f6576=(_0x4205dd,_0x3ec5c8)=>(_0x4552e2,_0x4a85bb)=>_0x3ec5c8(_0x4552e2,_0x4a85bb,_0x4205dd);let _0x5b880e=class extends _0x2ca890['RxDisposable']{constructor(_0x28bdf8,_0x5d994d){const _0x8f8dbd=_0x391ebf;super(),this['_docClipboardService']=_0x28bdf8,this['_imageIoService']=_0x5d994d,this[_0x8f8dbd(0x20d)]();}[_0x391ebf(0x20d)](){const _0x274361=_0x391ebf,_0x105959=this;this[_0x274361(0x436)](this[_0x274361(0x368)][_0x274361(0x402)]({'onBeforePasteImage':async _0x505d6a=>{const _0x28e864=_0x274361,_0x3b40e6=await _0x105959[_0x28e864(0x2d8)][_0x28e864(0x206)](_0x505d6a);return _0x3b40e6?{'source':_0x3b40e6['source'],'imageSourceType':_0x3b40e6[_0x28e864(0x377)]}:null;}}));}};_0x5b880e=_0x3efd4e([_0x4f6576(0x0,_0x5e7d5c[_0x391ebf(0x2e1)]),_0x4f6576(0x1,_0x39d37c['IImageIoService'])],_0x5b880e);const _0x13b4e8=[_0x391ebf(0x41c),'jiqing.500',_0x391ebf(0x3d7),_0x391ebf(0x2dd),'blue.400',_0x391ebf(0x354)];class _0x576435 extends _0x2ca890['Disposable']{constructor(){const _0x3db9ec=_0x391ebf;super(...arguments),_0xb14004(this,_0x3db9ec(0x463),new Map()),_0xb14004(this,_0x3db9ec(0x1fa),0x0);}[_0x391ebf(0x378)](_0x3854d6){const _0xffff14=_0x391ebf;if(this[_0xffff14(0x463)][_0xffff14(0x202)](_0x3854d6))return this[_0xffff14(0x463)][_0xffff14(0x266)](_0x3854d6);const _0xe37bc2=_0x13b4e8[this[_0xffff14(0x1fa)]];return this[_0xffff14(0x1fa)]=(this[_0xffff14(0x1fa)]+0x1)%_0x13b4e8[_0xffff14(0x2aa)],this[_0xffff14(0x463)][_0xffff14(0x40b)](_0x3854d6,_0xe37bc2),_0xe37bc2;}}function _0x270888(_0x6f5eaf){const _0x18171c=_0x391ebf;let _0xbf6665='';for(const _0x14227d of _0x6f5eaf){const {startOffset:_0x51630f,endOffset:_0x640a8b,isActive:_0x408117,rangeType:_0x7772a7,segmentId:_0x4f29dc,segmentPage:_0x38348a}=_0x14227d;_0xbf6665[_0x18171c(0x2aa)]&&(_0xbf6665+=','),_0xbf6665+=_0x51630f+':'+_0x640a8b+':'+(_0x408117?'1':'0')+':'+_0x7772a7+':'+_0x4f29dc+':'+_0x38348a;}return _0xbf6665;}function _0x383a00(_0x101e6b){const _0x4ba224=_0x391ebf,_0x3d8a8a=_0x101e6b[_0x4ba224(0x35b)](','),_0x23b31b=[];for(const _0x13be16 of _0x3d8a8a){const [_0x277a3e,_0x58f813,_0x38b654,_0x2df643,_0x51ea5c,_0x34fe98]=_0x13be16[_0x4ba224(0x35b)](':');_0x23b31b[_0x4ba224(0x3d1)]({'startOffset':Number(_0x277a3e),'endOffset':Number(_0x58f813),'collapsed':_0x277a3e===_0x58f813,'isActive':_0x38b654==='1','rangeType':_0x2df643===_0x2ca890[_0x4ba224(0x231)][_0x4ba224(0x361)]?_0x2ca890[_0x4ba224(0x231)][_0x4ba224(0x361)]:_0x2ca890[_0x4ba224(0x231)][_0x4ba224(0x42a)],'segmentId':typeof _0x51ea5c==_0x4ba224(0x2b1)?String(_0x51ea5c):'','segmentPage':Number(_0x34fe98!=null?_0x34fe98:-0x1)});}return _0x23b31b['some'](_0x406de3=>_0x406de3[_0x4ba224(0x303)])||(_0x23b31b[0x0]['isActive']=!0x0),_0x23b31b;}class _0x1bba5e extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(){const _0x5c807e=_0x391ebf;super(...arguments),_0xb14004(this,_0x5c807e(0x345),new _0x33e1e6[(_0x5c807e(0x2af))](null)),_0xb14004(this,_0x5c807e(0x438),this[_0x5c807e(0x345)]['asObservable']());}[_0x391ebf(0x37b)](_0x365a1c){const _0x219602=_0x391ebf,{unitID:_0x40f96a,memberID:_0x17cfbf,textRanges:_0x55c32c}=_0x365a1c,_0x1aa0b9=_0x270888(_0x55c32c);if(_0x1aa0b9==='')return;const _0x4513fc={'unitID':_0x40f96a,'memberID':_0x17cfbf,'selection':_0x1aa0b9};this['_collabCursorState$'][_0x219602(0x219)](_0x4513fc);}}var _0x2d07cb=Object[_0x391ebf(0x1f0)],_0x3e3129=(_0x2cf7cf,_0x5a0eff,_0x5c3c27,_0x1f895f)=>{const _0x47eab0=_0x391ebf;for(var _0x1a1026=_0x1f895f>0x1?void 0x0:_0x1f895f?_0x2d07cb(_0x5a0eff,_0x5c3c27):_0x5a0eff,_0x4a22c4=_0x2cf7cf[_0x47eab0(0x2aa)]-0x1,_0x50215e;_0x4a22c4>=0x0;_0x4a22c4--)(_0x50215e=_0x2cf7cf[_0x4a22c4])&&(_0x1a1026=_0x50215e(_0x1a1026)||_0x1a1026);return _0x1a1026;},_0x3af9f0=(_0x2ee748,_0x50e856)=>(_0xf69150,_0x43f9df)=>_0x50e856(_0xf69150,_0x43f9df,_0x2ee748);const _0x48f371=0x12c,_0x46ff6c=0x64;let _0x894493=class extends _0x2ca890['RxDisposable']{constructor(_0x427c4f,_0x53f8fa,_0x1d0c62,_0xba545,_0x23c56e,_0x21e98f,_0xe32b18,_0x4496a6,_0x3256e1){const _0x2cc595=_0x391ebf;super(),_0xb14004(this,_0x2cc595(0x22b),!0x1),_0xb14004(this,_0x2cc595(0x20d),!0x1),_0xb14004(this,_0x2cc595(0x36c),new _0x33e1e6[(_0x2cc595(0x2af))](new Map())),_0xb14004(this,_0x2cc595(0x3a7),this[_0x2cc595(0x36c)][_0x2cc595(0x238)]()),_0xb14004(this,_0x2cc595(0x245),new _0x33e1e6[(_0x2cc595(0x2af))]([])),_0xb14004(this,_0x2cc595(0x31e),this[_0x2cc595(0x245)][_0x2cc595(0x1ef)](_0x33e1e6[_0x2cc595(0x3a4)](_0x48f371))),_0xb14004(this,_0x2cc595(0x3be),_0x2ca890[_0x2cc595(0x371)](_0x3c7eae=>{const _0x2fbd38=_0x2cc595,_0xcdcb5c={'eventID':_0x1d9678[_0x2fbd38(0x412)][_0x2fbd38(0x262)],'data':{'unitID':this[_0x2fbd38(0x441)],'memberID':this['_session'][_0x2fbd38(0x380)](),'selection':_0x270888(_0x3c7eae)}};this[_0x2fbd38(0x29a)][_0x2fbd38(0x3b1)](_0xcdcb5c,this[_0x2fbd38(0x441)]);},_0x46ff6c)),(this['unitID']=_0x427c4f,this[_0x2cc595(0x29a)]=_0x53f8fa,this[_0x2cc595(0x23f)]=_0x1d0c62,this['_colorAssignService']=_0xba545,this[_0x2cc595(0x295)]=_0x23c56e,this['_syncEditingCollabCursorService']=_0x21e98f,this[_0x2cc595(0x2d6)]=_0xe32b18,this[_0x2cc595(0x309)]=_0x4496a6,this['_commandService']=_0x3256e1);}get['cursorInfo'](){const _0x3093ed=_0x391ebf;return this['_cursorInfo$'][_0x3093ed(0x36e)]();}get[_0x391ebf(0x270)](){const _0x3e9ca2=_0x391ebf;return this[_0x3e9ca2(0x245)]['getValue']();}[_0x391ebf(0x25e)](){const _0xe4f1bf=_0x391ebf;super[_0xe4f1bf(0x25e)](),this[_0xe4f1bf(0x36c)][_0xe4f1bf(0x219)](new Map()),this[_0xe4f1bf(0x36c)][_0xe4f1bf(0x458)](),this[_0xe4f1bf(0x245)][_0xe4f1bf(0x219)]([]),this[_0xe4f1bf(0x245)]['complete']();}[_0x391ebf(0x3f6)](){const _0x2bca4a=_0x391ebf;this[_0x2bca4a(0x20d)]||(this['_init']=!0x0,this['_session'][_0x2bca4a(0x3b4)][_0x2bca4a(0x1ef)](_0x33e1e6['takeUntil'](this[_0x2bca4a(0x22a)]))[_0x2bca4a(0x38c)](_0x1ff5a5=>{const _0x56897c=_0x2bca4a;_0x1ff5a5===_0x38fa63[_0x56897c(0x464)]['ONLINE']?this['_toggleOnline']():this[_0x56897c(0x326)]();}),this[_0x2bca4a(0x29a)][_0x2bca4a(0x389)][_0x2bca4a(0x1ef)](_0x33e1e6[_0x2bca4a(0x1f1)](this[_0x2bca4a(0x22a)]))['subscribe'](_0x49afff=>{const _0x2d8d54=_0x2bca4a,_0x2d5480=_0x49afff[_0x2d8d54(0x29e)];_0x2d5480===_0x1d9678[_0x2d8d54(0x412)]['UPDATE_CURSOR']&&this[_0x2d8d54(0x3ab)](_0x49afff),_0x2d5480===_0x1d9678[_0x2d8d54(0x412)][_0x2d8d54(0x220)]&&this[_0x2d8d54(0x26b)](_0x49afff);}),this['disposeWithMe'](this[_0x2bca4a(0x214)][_0x2bca4a(0x201)](_0x48019d=>{const _0x149109=_0x2bca4a,_0xad5cb6=_0x48019d['params'];_0xad5cb6!=null&&this[_0x149109(0x22b)]&&_0x48019d['id']===_0x1486d2[_0x149109(0x3cc)]['id']&&_0xad5cb6[_0x149109(0x3e1)]===this[_0x149109(0x441)]&&_0xad5cb6[_0x149109(0x2b0)]===!0x1&&_0xad5cb6['ranges'][_0x149109(0x2aa)]>0x0&&this[_0x149109(0x3be)](_0xad5cb6['ranges']);})),this[_0x2bca4a(0x20b)][_0x2bca4a(0x438)][_0x2bca4a(0x1ef)](_0x33e1e6['takeUntil'](this[_0x2bca4a(0x22a)]))[_0x2bca4a(0x38c)](_0x27a859=>{const _0x25de1d=_0x2bca4a;if((_0x27a859==null?void 0x0:_0x27a859[_0x25de1d(0x441)])!==this[_0x25de1d(0x441)])return;const _0x18dd63={'eventID':_0x1d9678[_0x25de1d(0x412)]['UPDATE_CURSOR'],'data':_0x27a859};this[_0x25de1d(0x3ab)](_0x18dd63);}),this[_0x2bca4a(0x436)](this[_0x2bca4a(0x214)][_0x2bca4a(0x201)](_0x3272a3=>{const _0x20f56c=_0x2bca4a;if(_0x3272a3[_0x20f56c(0x2ec)]==null)return;const _0x272580=_0x3272a3[_0x20f56c(0x2ec)];if(_0x3272a3['id']!==_0x1486d2[_0x20f56c(0x46b)]['id']||_0x272580[_0x20f56c(0x3e1)]!==this[_0x20f56c(0x441)])return;const _0x1d96ee={'id':_0x20f56c(0x35c),'params':_0x272580},_0x3b0bd0=this[_0x20f56c(0x282)];for(const [_0x1143b5,_0x552d5f]of _0x3b0bd0){const _0x4315af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x20f56c(0x441)],'actions':null,'textRanges':_0x552d5f[_0x20f56c(0x299)]}},_0x1ad026=this[_0x20f56c(0x2d6)][_0x20f56c(0x40f)](_0x1d96ee,_0x4315af,!0x1);if(_0x1d9678[_0x20f56c(0x444)](_0x1ad026))throw _0x1ad026[_0x20f56c(0x390)];_0x3b0bd0[_0x20f56c(0x40b)](_0x1143b5,{..._0x552d5f,'ranges':_0x1ad026[_0x20f56c(0x25d)][_0x20f56c(0x2ec)][_0x20f56c(0x2a6)]});}queueMicrotask(()=>{const _0x39ff4f=_0x20f56c;this['_cursorInfo$'][_0x39ff4f(0x219)](_0x3b0bd0);});})));}[_0x391ebf(0x3ab)](_0x4e4679){const _0x2cec3d=_0x391ebf;var _0x3d4a32,_0x86031e;const {memberID:_0x3b4433,selection:_0x375903}=_0x4e4679['data'],_0x5da15f=_0x383a00(_0x375903),_0x27c315=(_0x86031e=(_0x3d4a32=this[_0x2cec3d(0x295)][_0x2cec3d(0x401)](this[_0x2cec3d(0x441)],_0x3b4433))==null?void 0x0:_0x3d4a32[_0x2cec3d(0x20e)])!=null?_0x86031e:_0x2cec3d(0x37c),_0x509201={'color':this[_0x2cec3d(0x2d5)][_0x2cec3d(0x378)](_0x3b4433),'name':_0x27c315,'ranges':_0x5da15f},_0x1c31f2=this['cursorInfo'];_0x1c31f2[_0x2cec3d(0x40b)](_0x3b4433,_0x509201),this[_0x2cec3d(0x36c)]['next'](_0x1c31f2);}[_0x391ebf(0x26b)](_0x2dde48){const _0x3f1a62=_0x391ebf,{memberID:_0x396092}=_0x2dde48[_0x3f1a62(0x349)],_0x7c1a5=this[_0x3f1a62(0x282)];_0x7c1a5[_0x3f1a62(0x3f1)](_0x396092),this['_cursorInfo$']['next'](_0x7c1a5);}[_0x391ebf(0x2e2)](){const _0x57af1b=_0x391ebf;var _0x51e139;if(this[_0x57af1b(0x22b)]=!0x0,((_0x51e139=this[_0x57af1b(0x309)][_0x57af1b(0x27d)]())==null?void 0x0:_0x51e139[_0x57af1b(0x2c4)]())!==this['unitID'])return;const _0x5e457e=this[_0x57af1b(0x23f)][_0x57af1b(0x266)](_0x1486d2[_0x57af1b(0x291)])[_0x57af1b(0x403)]();Array[_0x57af1b(0x26d)](_0x5e457e)&&_0x5e457e['length']>0x0&&this[_0x57af1b(0x3be)](_0x5e457e);}['_toggleOffline'](){const _0x2406ef=_0x391ebf;this[_0x2406ef(0x22b)]=!0x1;}};_0x894493=_0x3e3129([_0x3af9f0(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x3af9f0(0x3,_0x2ca890['Inject'](_0x576435)),_0x3af9f0(0x4,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x2a7)])),_0x3af9f0(0x5,_0x2ca890['Inject'](_0x1bba5e)),_0x3af9f0(0x6,_0x1d9678[_0x391ebf(0x325)]),_0x3af9f0(0x7,_0x2ca890[_0x391ebf(0x216)]),_0x3af9f0(0x8,_0x2ca890[_0x391ebf(0x356)])],_0x894493);var _0x16f3f6=Object[_0x391ebf(0x1f0)],_0x21e6f7=(_0x336924,_0x22d373,_0x57907c,_0x51f4ba)=>{const _0x2ee88f=_0x391ebf;for(var _0x585877=_0x51f4ba>0x1?void 0x0:_0x51f4ba?_0x16f3f6(_0x22d373,_0x57907c):_0x22d373,_0xeb0b49=_0x336924[_0x2ee88f(0x2aa)]-0x1,_0x51c142;_0xeb0b49>=0x0;_0xeb0b49--)(_0x51c142=_0x336924[_0xeb0b49])&&(_0x585877=_0x51c142(_0x585877)||_0x585877);return _0x585877;},_0x2aa6a3=(_0x18e0a0,_0x2ac25b)=>(_0x44eb68,_0x56a9b4)=>_0x2ac25b(_0x44eb68,_0x56a9b4,_0x18e0a0);const _0x52fa56=0x12c,_0x42f2b5=0x64,_0x34662d=()=>{let _0x50e0e2=[],_0x40b3aa=!0x1;return _0x147c26=>{const _0x30e094=_0x4b14;_0x50e0e2[_0x30e094(0x3d1)](_0x147c26),_0x40b3aa||(_0x40b3aa=!0x0,setTimeout(()=>{const _0x1d1853=_0x30e094;_0x50e0e2[_0x1d1853(0x205)](_0x1142d3=>_0x1142d3()),_0x50e0e2=[],_0x40b3aa=!0x1;}));};};let _0x21204c=class extends _0x2ca890['RxDisposable']{constructor(_0x55ca3f,_0x14b525,_0x4543dd,_0x29e6d1,_0x1d3f2f,_0x80bc9c,_0xcafef2,_0x2ccd20){const _0x4144af=_0x391ebf;super(),_0xb14004(this,_0x4144af(0x22b),!0x1),_0xb14004(this,_0x4144af(0x20d),!0x1),_0xb14004(this,'_cursorInfo$',new _0x33e1e6[(_0x4144af(0x2af))](new Map())),_0xb14004(this,'cursorInfo$',this[_0x4144af(0x36c)][_0x4144af(0x238)]()),_0xb14004(this,_0x4144af(0x245),new _0x33e1e6[(_0x4144af(0x2af))]([])),_0xb14004(this,'roomMembers$',this[_0x4144af(0x245)]['pipe'](_0x33e1e6[_0x4144af(0x3a4)](_0x52fa56))),_0xb14004(this,'_updateLocalCursor',_0x2ca890[_0x4144af(0x371)]((_0xb594ab,_0x5ddd28)=>{const _0x213d9b=_0x4144af,_0x1c3fc3={'eventID':_0x1d9678[_0x213d9b(0x412)][_0x213d9b(0x262)],'data':{'unitID':this[_0x213d9b(0x441)],'memberID':this[_0x213d9b(0x29a)]['getMemberID'](),'selection':_0x1f749e[_0x213d9b(0x2be)](_0xb594ab,_0x5ddd28[_0x213d9b(0x42e)])}};this[_0x213d9b(0x29a)][_0x213d9b(0x3b1)](_0x1c3fc3,this[_0x213d9b(0x441)]);},_0x42f2b5)),(this[_0x4144af(0x441)]=_0x55ca3f,this[_0x4144af(0x29a)]=_0x14b525,this['_injector']=_0x4543dd,this['_colorAssignService']=_0x29e6d1,this[_0x4144af(0x295)]=_0x1d3f2f,this[_0x4144af(0x309)]=_0x80bc9c,this[_0x4144af(0x214)]=_0xcafef2,this[_0x4144af(0x2a3)]=_0x2ccd20);}get['cursorInfo'](){const _0x49def1=_0x391ebf;return this[_0x49def1(0x36c)]['getValue']();}get['roomMembers'](){const _0x167a2b=_0x391ebf;return this['_roomMembers$'][_0x167a2b(0x36e)]();}[_0x391ebf(0x25e)](){const _0x5cd5f9=_0x391ebf;super[_0x5cd5f9(0x25e)](),this[_0x5cd5f9(0x36c)][_0x5cd5f9(0x219)](new Map()),this[_0x5cd5f9(0x36c)][_0x5cd5f9(0x458)](),this[_0x5cd5f9(0x245)][_0x5cd5f9(0x219)]([]),this[_0x5cd5f9(0x245)][_0x5cd5f9(0x458)]();}[_0x391ebf(0x3f6)](){const _0x14b5b1=_0x391ebf;this['_init']||(this[_0x14b5b1(0x20d)]=!0x0,this[_0x14b5b1(0x29a)][_0x14b5b1(0x3b4)][_0x14b5b1(0x1ef)](_0x33e1e6[_0x14b5b1(0x1f1)](this[_0x14b5b1(0x22a)]))[_0x14b5b1(0x38c)](_0x395254=>{const _0x204f39=_0x14b5b1;_0x395254===_0x38fa63[_0x204f39(0x464)]['ONLINE']?this[_0x204f39(0x2e2)]():this[_0x204f39(0x326)]();}),this[_0x14b5b1(0x29a)]['event$']['pipe'](_0x33e1e6[_0x14b5b1(0x1f1)](this['dispose$']))[_0x14b5b1(0x38c)](_0x3084b1=>{const _0x1248c6=_0x14b5b1,_0x496d14=_0x3084b1[_0x1248c6(0x29e)];_0x496d14===_0x1d9678['CollaborationEvent'][_0x1248c6(0x262)]&&this[_0x1248c6(0x3ab)](_0x3084b1),_0x496d14===_0x1d9678[_0x1248c6(0x412)][_0x1248c6(0x220)]&&this[_0x1248c6(0x26b)](_0x3084b1);}),this[_0x14b5b1(0x34c)](),this[_0x14b5b1(0x436)](this['_commandService'][_0x14b5b1(0x201)](_0x17de47=>{const _0x21f797=_0x14b5b1;if(this[_0x21f797(0x22b)]&&_0x17de47['id']===_0x2ce713[_0x21f797(0x297)]['id']&&_0x17de47[_0x21f797(0x2ec)][_0x21f797(0x3e1)]===this[_0x21f797(0x441)]){const _0x357396=_0x17de47[_0x21f797(0x2ec)];this['_updateLocalCursor'](_0x357396[_0x21f797(0x3c9)],_0x357396[_0x21f797(0x3ee)][0x0]);}})));}[_0x391ebf(0x3ab)](_0x1d2d2f){const _0x1f41d9=_0x391ebf;var _0x13b475,_0x16dffd;const {memberID:_0x1d38b6,selection:_0x530d11}=_0x1d2d2f[_0x1f41d9(0x349)],{sheetName:_0x324861,range:_0x158b46}=_0x1f749e[_0x1f41d9(0x2b9)](_0x530d11),_0x477e23={'name':(_0x16dffd=(_0x13b475=this['_memberService'][_0x1f41d9(0x401)](this[_0x1f41d9(0x441)],_0x1d38b6))==null?void 0x0:_0x13b475[_0x1f41d9(0x20e)])!=null?_0x16dffd:_0x1f41d9(0x37c),'range':this[_0x1f41d9(0x43e)](_0x324861,_0x158b46),'sheetID':_0x324861,'color':this[_0x1f41d9(0x2d5)]['assignAColorForMemberID'](_0x1d38b6),'selection':_0x530d11},_0x21a8eb=this[_0x1f41d9(0x282)];_0x21a8eb[_0x1f41d9(0x40b)](_0x1d38b6,_0x477e23),this[_0x1f41d9(0x36c)][_0x1f41d9(0x219)](_0x21a8eb);}[_0x391ebf(0x26b)](_0x5a774b){const _0x1a9e2f=_0x391ebf,{memberID:_0x31fbed}=_0x5a774b['data'],_0x42775f=this['cursorInfo'];_0x42775f[_0x1a9e2f(0x3f1)](_0x31fbed),this[_0x1a9e2f(0x36c)][_0x1a9e2f(0x219)](_0x42775f);}[_0x391ebf(0x43e)](_0x5b0c42,_0x157ec5){const _0x36338=_0x391ebf;var _0x1d5b0e,_0xa306f6;const _0x8a85e7=(_0xa306f6=(_0x1d5b0e=this[_0x36338(0x309)]['getUniverSheetInstance'](this[_0x36338(0x441)]))==null?void 0x0:_0x1d5b0e[_0x36338(0x276)](_0x5b0c42))==null?void 0x0:_0xa306f6[_0x36338(0x2f8)]();return(_0x8a85e7==null?void 0x0:_0x8a85e7['find'](_0x3e3c45=>_0x2ca890['Rectangle']['contains'](_0x3e3c45,_0x157ec5)))||_0x157ec5;}['_onRefRangeChange'](){const _0x5e05be=_0x391ebf,_0x2394b2=new _0x2ca890[(_0x5e05be(0x21a))](),_0x4b48ba=_0x34662d(),_0x3f8d2d=()=>{const _0x2cb43c=_0x5e05be;_0x2394b2[_0x2cb43c(0x25e)]();const _0x4f2c58=(_0x19695f,_0x2c95fa,_0x1921e8,_0x16da04)=>{const _0x3ab123=_0x2cb43c;let _0x10a539=[];switch(_0x19695f['id']){case _0x2ce713['EffectRefRangId'][_0x3ab123(0x31c)]:{_0x10a539=_0x2ce713['handleDeleteRangeMoveLeft'](_0x19695f,_0x16da04);break;}case _0x2ce713['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x10a539=_0x2ce713[_0x3ab123(0x271)](_0x19695f,_0x16da04);break;}case _0x2ce713['EffectRefRangId'][_0x3ab123(0x431)]:{_0x10a539=_0x2ce713[_0x3ab123(0x34b)](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)][_0x3ab123(0x362)]:{_0x10a539=_0x2ce713[_0x3ab123(0x22f)](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)]['InsertRangeMoveRightCommandId']:{_0x10a539=_0x2ce713['handleInsertRangeMoveRight'](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)][_0x3ab123(0x42b)]:{_0x10a539=_0x2ce713[_0x3ab123(0x3cd)](_0x19695f,_0x16da04);break;}case _0x2ce713['EffectRefRangId']['MoveRangeCommandId']:{_0x10a539=_0x2ce713[_0x3ab123(0x3ec)](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)][_0x3ab123(0x2ee)]:{_0x10a539=_0x2ce713[_0x3ab123(0x21d)](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)]['RemoveRowCommandId']:{_0x10a539=_0x2ce713[_0x3ab123(0x24a)](_0x19695f,_0x16da04);break;}}const _0xb0b4e7=_0x2ce713[_0x3ab123(0x46f)](_0x10a539,_0x16da04),_0xd09b4c=this[_0x3ab123(0x282)][_0x3ab123(0x266)](_0x2c95fa);if(_0xd09b4c&&_0xb0b4e7){const _0x521c82={..._0xd09b4c,'range':_0xb0b4e7};this['cursorInfo'][_0x3ab123(0x40b)](_0x2c95fa,_0x521c82),_0x4b48ba(()=>{const _0x1cf2a7=_0x3ab123,_0x29fc8c=this['_refRangeService'][_0x1cf2a7(0x33f)](_0xb0b4e7,_0x66aace=>(_0x29fc8c[_0x1cf2a7(0x25e)](),_0x4f2c58(_0x66aace,_0x2c95fa,_0x1921e8,_0xb0b4e7)));_0x2394b2[_0x1cf2a7(0x2e9)](_0x29fc8c);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x5e801c,_0x2225a8)=>{const _0x342fac=_0x2cb43c,{range:_0x419139,sheetID:_0x5da182}=_0x5e801c,_0xf943c2=this[_0x342fac(0x2a3)][_0x342fac(0x33f)](_0x419139,_0x3995bb=>(_0xf943c2[_0x342fac(0x25e)](),_0x4f2c58(_0x3995bb,_0x2225a8,_0x5da182,_0x419139)));_0x2394b2[_0x342fac(0x2e9)](_0xf943c2);});};this[_0x5e05be(0x436)](_0x2ca890[_0x5e05be(0x2a8)](this[_0x5e05be(0x36c)][_0x5e05be(0x38c)](()=>{_0x3f8d2d();})));}[_0x391ebf(0x2e2)](){const _0x39667c=_0x391ebf;var _0x450afc,_0x4043a7;if(this[_0x39667c(0x22b)]=!0x0,((_0x450afc=this[_0x39667c(0x309)][_0x39667c(0x27d)]())==null?void 0x0:_0x450afc[_0x39667c(0x2c4)]())!==this[_0x39667c(0x441)])return;const _0xe4b24e=(_0x4043a7=this[_0x39667c(0x23f)][_0x39667c(0x266)](_0x2ce713['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x4043a7[0x0],_0x24874d=this[_0x39667c(0x309)][_0x39667c(0x45a)](_0x2ca890[_0x39667c(0x39f)][_0x39667c(0x2bf)])['getActiveSheet']();_0xe4b24e&&_0x24874d&&this[_0x39667c(0x3be)](_0x24874d['getSheetId'](),_0xe4b24e);}['_toggleOffline'](){const _0x3c6704=_0x391ebf;this[_0x3c6704(0x22b)]=!0x1;}};_0x21204c=_0x21e6f7([_0x2aa6a3(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x2aa6a3(0x3,_0x2ca890[_0x391ebf(0x2cb)](_0x576435)),_0x2aa6a3(0x4,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x2a7)])),_0x2aa6a3(0x5,_0x2ca890[_0x391ebf(0x216)]),_0x2aa6a3(0x6,_0x2ca890['ICommandService']),_0x2aa6a3(0x7,_0x2ca890[_0x391ebf(0x2cb)](_0x2ce713[_0x391ebf(0x2fd)]))],_0x21204c);var _0x3ffa6b=Object['getOwnPropertyDescriptor'],_0x2aded3=(_0x22300b,_0x6588dc,_0x6900f9,_0x15cf77)=>{const _0x15655b=_0x391ebf;for(var _0x412648=_0x15cf77>0x1?void 0x0:_0x15cf77?_0x3ffa6b(_0x6588dc,_0x6900f9):_0x6588dc,_0x2139b6=_0x22300b[_0x15655b(0x2aa)]-0x1,_0xfc8d1a;_0x2139b6>=0x0;_0x2139b6--)(_0xfc8d1a=_0x22300b[_0x2139b6])&&(_0x412648=_0xfc8d1a(_0x412648)||_0x412648);return _0x412648;},_0x2b4089=(_0x3832ee,_0x184552)=>(_0x1c18c5,_0x27350b)=>_0x184552(_0x1c18c5,_0x27350b,_0x3832ee);let _0x198743=class extends _0x2ca890['RxDisposable']{constructor(_0x52dadc,_0x3f247f,_0x1a44c2){const _0x51d42d=_0x391ebf;super(),_0xb14004(this,_0x51d42d(0x452),new Map()),_0xb14004(this,_0x51d42d(0x41d),new _0x33e1e6[(_0x51d42d(0x28c))]()),(this[_0x51d42d(0x309)]=_0x52dadc,this[_0x51d42d(0x23f)]=_0x3f247f,this['_collabSessionService']=_0x1a44c2,this[_0x51d42d(0x20d)]());}[_0x391ebf(0x25e)](){const _0x4f3143=_0x391ebf;super[_0x4f3143(0x25e)](),this[_0x4f3143(0x41d)]['complete'](),this['_entities'][_0x4f3143(0x205)](_0x40232a=>_0x40232a[_0x4f3143(0x25e)]());}[_0x391ebf(0x440)](_0x394512){const _0x206401=_0x391ebf;return this[_0x206401(0x452)]['has'](_0x394512)?this[_0x206401(0x452)][_0x206401(0x266)](_0x394512)[_0x206401(0x3a7)]:this[_0x206401(0x41d)][_0x206401(0x1ef)](_0x33e1e6['filter'](_0x4a2fef=>_0x4a2fef[_0x206401(0x441)]===_0x394512),_0x33e1e6[_0x206401(0x268)](_0x31a758=>_0x31a758[_0x206401(0x3a7)]));}['_init'](){const _0x2a84ee=_0x391ebf;this[_0x2a84ee(0x309)]['getTypeOfUnitAdded$'](_0x2ca890[_0x2a84ee(0x39f)]['UNIVER_SHEET'])[_0x2a84ee(0x1ef)](_0x33e1e6[_0x2a84ee(0x1f1)](this[_0x2a84ee(0x22a)]))['subscribe'](async _0x48ef6a=>{const _0x35b735=_0x2a84ee,_0x365413=_0x48ef6a[_0x35b735(0x2c4)](),_0x194839=await this[_0x35b735(0x3a5)](_0x365413);this[_0x35b735(0x41d)][_0x35b735(0x219)](_0x194839),this[_0x35b735(0x452)][_0x35b735(0x40b)](_0x365413,_0x194839);}),this[_0x2a84ee(0x309)][_0x2a84ee(0x329)](_0x2ca890[_0x2a84ee(0x39f)]['UNIVER_DOC'])['pipe'](_0x33e1e6[_0x2a84ee(0x1f1)](this['dispose$']))[_0x2a84ee(0x1ef)](_0x33e1e6[_0x2a84ee(0x2cf)](_0x321c96=>!_0x321c96[_0x2a84ee(0x2c4)]()['startsWith']('__')))['subscribe'](async _0x2dbc22=>{const _0x57d067=_0x2a84ee,_0x238988=_0x2dbc22[_0x57d067(0x2c4)](),_0x2beffb=await this[_0x57d067(0x21f)](_0x238988);this[_0x57d067(0x41d)][_0x57d067(0x219)](_0x2beffb),this[_0x57d067(0x452)][_0x57d067(0x40b)](_0x238988,_0x2beffb);}),_0x33e1e6[_0x2a84ee(0x3b7)](this[_0x2a84ee(0x309)]['getTypeOfUnitDisposed$'](_0x2ca890[_0x2a84ee(0x39f)][_0x2a84ee(0x41a)]),this[_0x2a84ee(0x309)][_0x2a84ee(0x33d)](_0x2ca890[_0x2a84ee(0x39f)][_0x2a84ee(0x2bf)]))[_0x2a84ee(0x1ef)](_0x33e1e6[_0x2a84ee(0x1f1)](this[_0x2a84ee(0x22a)]))[_0x2a84ee(0x38c)](_0x5c1495=>{const _0x3e943b=_0x2a84ee,_0x3a7b97=_0x5c1495['getUnitId'](),_0x3a4be5=this['_entities'][_0x3e943b(0x266)](_0x3a7b97);_0x3a4be5&&(_0x3a4be5['dispose'](),this['_entities'][_0x3e943b(0x3f1)](_0x3a7b97));});}async[_0x391ebf(0x3a5)](_0x525123){const _0x5eab5d=_0x391ebf,_0x24143e=await this[_0x5eab5d(0x1e8)][_0x5eab5d(0x2c0)](_0x525123),_0x103fea=this[_0x5eab5d(0x23f)][_0x5eab5d(0x28d)](_0x21204c,_0x525123,_0x24143e);return _0x103fea[_0x5eab5d(0x3f6)](),_0x103fea;}async[_0x391ebf(0x21f)](_0x34741d){const _0x5d4d2b=_0x391ebf,_0x123ee5=await this[_0x5d4d2b(0x1e8)]['requireSession'](_0x34741d),_0x1b2633=this[_0x5d4d2b(0x23f)][_0x5d4d2b(0x28d)](_0x894493,_0x34741d,_0x123ee5);return _0x1b2633[_0x5d4d2b(0x3f6)](),_0x1b2633;}};_0x198743=_0x2aded3([_0x2b4089(0x0,_0x2ca890[_0x391ebf(0x216)]),_0x2b4089(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x2b4089(0x2,_0x2ca890['Inject'](_0x38fa63['CollaborationSessionService']))],_0x198743);const _0x3a4c0c=0x14,_0x2a432c=0xc8,_0x42f348=0x4,_0x176c81=0x5;function _0x23a74d(_0x52ff51,_0xa61a77){const _0x3044dc=_0x391ebf;let {radius:_0x4d0498,width:_0x1bb307,height:_0x7d44b0}=_0xa61a77;_0x4d0498=_0x4d0498!=null?_0x4d0498:0x0,_0x1bb307=_0x1bb307!=null?_0x1bb307:0x1e,_0x7d44b0=_0x7d44b0!=null?_0x7d44b0:0x1e;let _0x82532f=0x0,_0x299a2a=0x0,_0x1f727c=0x0;_0x82532f=_0x299a2a=_0x1f727c=Math[_0x3044dc(0x3d3)](_0x4d0498,_0x1bb307/0x2,_0x7d44b0/0x2),_0x52ff51[_0x3044dc(0x341)](),_0x52ff51[_0x3044dc(0x2ea)](_0x82532f,0x0),_0x52ff51[_0x3044dc(0x2fb)](_0x1bb307-_0x299a2a,0x0),_0x52ff51[_0x3044dc(0x3f7)](_0x1bb307-_0x299a2a,_0x299a2a,_0x299a2a,Math['PI']*0x3/0x2,0x0,!0x1),_0x52ff51[_0x3044dc(0x2fb)](_0x1bb307,_0x7d44b0-_0x1f727c),_0x52ff51['arc'](_0x1bb307-_0x1f727c,_0x7d44b0-_0x1f727c,_0x1f727c,0x0,Math['PI']/0x2,!0x1),_0x52ff51[_0x3044dc(0x2fb)](0x0,_0x7d44b0),_0x52ff51[_0x3044dc(0x2fb)](0x0,_0x82532f),_0x52ff51[_0x3044dc(0x3f7)](_0x82532f,_0x82532f,_0x82532f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x52ff51[_0x3044dc(0x234)](),_0xa61a77['fill']&&(_0x52ff51[_0x3044dc(0x3a8)](),_0x52ff51['fillStyle']=_0xa61a77[_0x3044dc(0x237)],_0xa61a77[_0x3044dc(0x38a)]==='evenodd'?_0x52ff51['fill'](_0x3044dc(0x32e)):_0x52ff51[_0x3044dc(0x237)](),_0x52ff51[_0x3044dc(0x247)]());}class _0x3290db extends _0x5483ad[_0x391ebf(0x38b)]{constructor(_0x30cd19,_0x4204ac){const _0xc89d58=_0x391ebf;super(_0x30cd19,_0x4204ac),_0xb14004(this,_0xc89d58(0x3d2)),_0xb14004(this,'text'),(this['color']=_0x4204ac==null?void 0x0:_0x4204ac[_0xc89d58(0x3d2)],this['text']=_0x4204ac==null?void 0x0:_0x4204ac[_0xc89d58(0x321)]);}static[_0x391ebf(0x3af)](_0x344e7c,_0x41c3e2){const _0x191b58=_0x391ebf,{text:_0x2d66e1,color:_0xad89ae}=_0x41c3e2;_0x344e7c[_0x191b58(0x3a8)](),_0x344e7c[_0x191b58(0x30c)]=_0x191b58(0x358);const _0x21ec95=_0x344e7c[_0x191b58(0x409)](_0x2d66e1)[_0x191b58(0x30a)],_0x2daf1b=Math[_0x191b58(0x3d3)](_0x21ec95+0x2*_0x42f348,_0x2a432c);_0x23a74d(_0x344e7c,{'height':_0x3a4c0c,'radius':0x4,'width':_0x2daf1b,'fill':_0xad89ae}),_0x344e7c[_0x191b58(0x2c6)]=_0x191b58(0x2b3);const _0x25e56a=_0x42f348,_0x537183=_0x3a4c0c-_0x176c81,_0x502f92=_0x2a432c-0x2*_0x42f348;if(_0x21ec95>_0x502f92){let _0x2c14a5='',_0x554063=0x0;for(const _0x3bb45a of _0x2d66e1){const _0x53c655=_0x344e7c[_0x191b58(0x409)](_0x3bb45a)['width'];if(_0x554063+_0x53c655<=_0x502f92-_0x344e7c['measureText'](_0x191b58(0x3b0))[_0x191b58(0x30a)])_0x2c14a5+=_0x3bb45a,_0x554063+=_0x53c655;else{_0x2c14a5+=_0x191b58(0x3b0);break;}}_0x344e7c['fillText'](_0x2c14a5,_0x25e56a,_0x537183);}else _0x344e7c[_0x191b58(0x439)](_0x2d66e1,_0x25e56a,_0x537183);_0x344e7c[_0x191b58(0x247)]();}[_0x391ebf(0x251)](_0x171be2){const _0x2567fe=_0x391ebf;_0x3290db[_0x2567fe(0x3af)](_0x171be2,this);}}const _0x254280='collab-text-anchor-',_0x143350=_0x391ebf(0x454),_0x13391f=_0x391ebf(0x275),_0x1520f9=0x6,_0x4d8596=1.5,_0x45340e=0x4,_0x5b4209=1.5,_0x5904de=_0x391ebf(0x3c8);class _0x1aee52{constructor(_0x288dcf,_0x259b59,_0x5e6344,_0x53fa2f){const _0x1ebaec=_0x391ebf;_0xb14004(this,_0x1ebaec(0x418),[]),_0xb14004(this,_0x1ebaec(0x336),null),_0xb14004(this,_0x1ebaec(0x3c6),null),_0xb14004(this,'_anchorDot',null),_0xb14004(this,'_hideTimer',null),_0xb14004(this,_0x1ebaec(0x1fd),null),(this[_0x1ebaec(0x46a)]=_0x288dcf,this[_0x1ebaec(0x36b)]=_0x259b59,this[_0x1ebaec(0x2ff)]=_0x5e6344,this[_0x1ebaec(0x200)]=_0x53fa2f,this[_0x1ebaec(0x373)]());}set['_hover'](_0x239319){const _0x184e70=_0x391ebf;_0x239319?(this[_0x184e70(0x1fe)]&&this[_0x184e70(0x1fe)][_0x184e70(0x313)](),this[_0x184e70(0x3c6)]&&this[_0x184e70(0x3c6)][_0x184e70(0x283)]()):(this[_0x184e70(0x1fe)]&&this[_0x184e70(0x1fe)][_0x184e70(0x283)](),this[_0x184e70(0x3c6)]&&this[_0x184e70(0x3c6)]['hide']());}['dispose'](){const _0x2d876c=_0x391ebf;for(const _0x6f287c of this[_0x2d876c(0x418)])_0x6f287c[_0x2d876c(0x25e)]();this[_0x2d876c(0x3c6)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x2d876c(0x336)]&&this[_0x2d876c(0x336)]['dispose'](),this[_0x2d876c(0x1fd)]&&this[_0x2d876c(0x1fd)]();}[_0x391ebf(0x373)](){const _0x271c94=_0x391ebf;var _0x3d948a;const {_docSkeleton:_0x49a68d,_document:_0x47f676}=this,{color:_0x5dbb0b,name:_0x2fe44b,ranges:_0x59336f}=this[_0x271c94(0x46a)],_0x4669df=_0x47f676[_0x271c94(0x3f3)](),{docsLeft:_0x437aca,docsTop:_0xf60d06}=_0x4669df,_0x1bef60=new _0x5e7d5c['NodePositionConvertToCursor'](_0x4669df,_0x49a68d);for(const {startOffset:_0x4ea19c,endOffset:_0x14c00e,rangeType:_0x23580a,segmentId:_0x2a3f2f,segmentPage:_0x21905b,collapsed:_0x27b98e,isActive:_0x5792d5}of _0x59336f){const _0x41577d=_0x49a68d['findNodePositionByCharIndex'](_0x4ea19c,!0x0,_0x2a3f2f,_0x21905b);let _0x5a82a7=_0x49a68d[_0x271c94(0x352)](_0x14c00e,!0x0,_0x2a3f2f,_0x21905b);if(_0x5a82a7==null&&(_0x5a82a7=_0x49a68d[_0x271c94(0x352)](_0x14c00e-0x1,!0x1,_0x2a3f2f,_0x21905b)),_0x5792d5){const {contentBoxPointGroup:_0x326adb}=_0x1bef60[_0x271c94(0x27c)](_0x5a82a7,_0x5a82a7);if(_0x326adb[_0x271c94(0x2aa)]===0x0)continue;this[_0x271c94(0x278)](_0x5dbb0b,_0x326adb,_0x437aca,_0xf60d06,_0x2fe44b),this[_0x271c94(0x1fd)]=this[_0x271c94(0x327)]();}if(_0x41577d&&_0x5a82a7){if(_0x23580a===_0x2ca890[_0x271c94(0x231)]['RECT']){const _0x147eec=new _0x5e7d5c[(_0x271c94(0x1ea))](_0x4669df,_0x49a68d),{pointGroup:_0x348449}=(_0x3d948a=_0x147eec[_0x271c94(0x27c)](_0x41577d,_0x5a82a7))!=null?_0x3d948a:{};if(_0x348449==null||_0x348449[_0x271c94(0x2aa)]===0x0)continue;this[_0x271c94(0x228)](_0x5dbb0b,_0x348449,_0x437aca,_0xf60d06);}else{if(!_0x27b98e){const {borderBoxPointGroup:_0x232c63}=_0x1bef60[_0x271c94(0x27c)](_0x41577d,_0x5a82a7);if(_0x232c63[_0x271c94(0x2aa)]===0x0)continue;this[_0x271c94(0x26e)](_0x5dbb0b,_0x232c63,_0x437aca,_0xf60d06);}}}}}[_0x391ebf(0x278)](_0x1b3ca3,_0x339ced,_0x3b0a0c,_0x4f8153,_0x310c7b){const _0x14e596=_0x391ebf,_0x443f29=this[_0x14e596(0x2e6)](_0x339ced),{left:_0x1102e8,top:_0x5a5d31,height:_0x27b6cf}=_0x443f29,_0x123016=this[_0x14e596(0x261)](),_0x22f5dc=_0x5b4209/_0x123016,_0x4a009c=new _0x5483ad['Rect'](_0x254280+_0x2ca890[_0x14e596(0x451)]['generateRandomId'](_0x1520f9),{'left':_0x1102e8+_0x3b0a0c-_0x22f5dc,'top':_0x5a5d31+_0x4f8153,'height':_0x27b6cf,'width':_0x4d8596,'fill':_0x1b3ca3||_0x5483ad[_0x14e596(0x1f8)](_0x2ca890[_0x14e596(0x3d5)][_0x14e596(0x203)],0x0),'strokeWidth':_0x22f5dc,'stroke':_0x5904de,'evented':!0x0});this[_0x14e596(0x336)]=_0x4a009c,this[_0x14e596(0x36b)][_0x14e596(0x211)](_0x4a009c,_0x5e7d5c[_0x14e596(0x42f)]);const _0x25a3b6=new _0x5483ad[(_0x14e596(0x31b))](_0x254280+_0x2ca890[_0x14e596(0x451)]['generateRandomId'](_0x1520f9),{'left':_0x1102e8+_0x3b0a0c-_0x22f5dc,'top':_0x5a5d31+_0x4f8153-_0x45340e/0x2,'height':_0x45340e,'width':_0x45340e,'fill':_0x1b3ca3||_0x5483ad[_0x14e596(0x1f8)](_0x2ca890[_0x14e596(0x3d5)][_0x14e596(0x203)],0x0),'strokeWidth':0x0,'stroke':_0x1b3ca3||_0x5483ad[_0x14e596(0x1f8)](_0x2ca890[_0x14e596(0x3d5)][_0x14e596(0x203)],0x0),'evented':!0x1});this[_0x14e596(0x1fe)]=_0x25a3b6,this[_0x14e596(0x36b)][_0x14e596(0x211)](_0x25a3b6,_0x5e7d5c['TEXT_RANGE_LAYER_INDEX']);const _0x1914e4=new _0x3290db(_0x254280+_0x2ca890['Tools'][_0x14e596(0x419)](_0x1520f9),{'left':_0x1102e8+_0x3b0a0c-_0x22f5dc,'top':_0x5a5d31+_0x4f8153-_0x3a4c0c,'text':_0x310c7b,'color':_0x1b3ca3});this['_textBubble']=_0x1914e4,this[_0x14e596(0x36b)][_0x14e596(0x211)](_0x1914e4,_0x5e7d5c[_0x14e596(0x42f)]),this[_0x14e596(0x252)]=!0x1;}[_0x391ebf(0x327)](){const _0x9c5c93=_0x391ebf,_0x27597d=this[_0x9c5c93(0x336)][_0x9c5c93(0x376)]['subscribeEvent'](()=>{const _0x76d11e=_0x9c5c93;this[_0x76d11e(0x252)]=!0x0;}),_0x252c45=this[_0x9c5c93(0x336)][_0x9c5c93(0x255)][_0x9c5c93(0x2b8)](()=>{const _0x141c5e=_0x9c5c93;this[_0x141c5e(0x1eb)]&&clearTimeout(this[_0x141c5e(0x1eb)]),this[_0x141c5e(0x1eb)]=setTimeout(()=>{const _0x28172b=_0x141c5e;this[_0x28172b(0x252)]=!0x1;},0x7d0);});return()=>{const _0x2b84b7=_0x9c5c93;_0x27597d[_0x2b84b7(0x21b)](),_0x252c45[_0x2b84b7(0x21b)]();};}[_0x391ebf(0x26e)](_0x42921b,_0x186c3e,_0x3efe97,_0x2b1d3a){const _0x185035=_0x391ebf,_0x3a0f17=new _0x2ca890[(_0x185035(0x2da))](_0x42921b)[_0x185035(0x265)](0.2)[_0x185035(0x2d0)](),_0x23ae27=new _0x5483ad[(_0x185035(0x471))](_0x143350+_0x2ca890[_0x185035(0x451)][_0x185035(0x419)](_0x1520f9),{'pointsGroup':_0x186c3e,'fill':_0x3a0f17||_0x5483ad[_0x185035(0x1f8)](_0x2ca890[_0x185035(0x3d5)][_0x185035(0x203)],0.2),'left':_0x3efe97,'top':_0x2b1d3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x185035(0x418)][_0x185035(0x3d1)](_0x23ae27),this[_0x185035(0x36b)][_0x185035(0x211)](_0x23ae27,_0x5e7d5c[_0x185035(0x42f)]);}['_drawRectRange'](_0x5e8e7c,_0x3f125f,_0x70adea,_0x45ca9a){const _0x185066=_0x391ebf,_0x1e1787=new _0x2ca890[(_0x185066(0x2da))](_0x5e8e7c)['setAlpha'](0.2)[_0x185066(0x2d0)](),_0x409000=new _0x5483ad[(_0x185066(0x471))](_0x13391f+_0x2ca890[_0x185066(0x451)][_0x185066(0x419)](_0x1520f9),{'pointsGroup':_0x3f125f,'fill':_0x1e1787||_0x5483ad['getColor'](_0x2ca890[_0x185066(0x3d5)]['black'],0.2),'left':_0x70adea,'top':_0x45ca9a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x185066(0x3d1)](_0x409000),this[_0x185066(0x36b)][_0x185066(0x211)](_0x409000,_0x5e7d5c[_0x185066(0x42f)]);}['_getAnchorBounding'](_0x18c0b5){const _0x420a6c=_0x18c0b5[0x0],_0x22a89e=_0x420a6c[0x0],_0x5d1a4a=_0x420a6c[0x2],{x:_0x182431,y:_0xf76f14}=_0x22a89e,{x:_0x42788d,y:_0x18424e}=_0x5d1a4a;return{'left':_0x182431,'top':_0xf76f14,'width':_0x42788d-_0x182431,'height':_0x18424e-_0xf76f14};}[_0x391ebf(0x261)](){const _0xc98ec=_0x391ebf,{scaleX:_0x328f50,scaleY:_0x4e348f}=this[_0xc98ec(0x36b)][_0xc98ec(0x353)]();return Math[_0xc98ec(0x25a)](_0x328f50,_0x4e348f);}}var _0x1bb734=Object['getOwnPropertyDescriptor'],_0x199027=(_0xf04287,_0x4e274b,_0x1f3238,_0xaa8a37)=>{const _0x1cfbe1=_0x391ebf;for(var _0x306f84=_0xaa8a37>0x1?void 0x0:_0xaa8a37?_0x1bb734(_0x4e274b,_0x1f3238):_0x4e274b,_0x55fcb9=_0xf04287[_0x1cfbe1(0x2aa)]-0x1,_0x15ed0c;_0x55fcb9>=0x0;_0x55fcb9--)(_0x15ed0c=_0xf04287[_0x55fcb9])&&(_0x306f84=_0x15ed0c(_0x306f84)||_0x306f84);return _0x306f84;},_0x84e9d9=(_0x1ec2dd,_0x163ba0)=>(_0xe38226,_0x2132a0)=>_0x163ba0(_0xe38226,_0x2132a0,_0x1ec2dd);let _0x2cc591=class extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(_0xbbccc,_0x59610b,_0x13128b,_0x26d21a,_0x42b944){const _0x4100ab=_0x391ebf;super(),_0xb14004(this,_0x4100ab(0x3ca),[]),_0xb14004(this,_0x4100ab(0x337),[]),(this[_0x4100ab(0x40d)]=_0xbbccc,this[_0x4100ab(0x2f1)]=_0x59610b,this['_collabCursorController']=_0x13128b,this[_0x4100ab(0x214)]=_0x26d21a,this['_themeService']=_0x42b944,this[_0x4100ab(0x20d)]());}[_0x391ebf(0x20d)](){const _0x37e862=_0x391ebf,_0x17b6c0=this[_0x37e862(0x40d)][_0x37e862(0x3e1)],_0x4a21b7=this[_0x37e862(0x2f1)];this[_0x37e862(0x436)](_0x33e1e6[_0x37e862(0x457)]([this[_0x37e862(0x1f2)][_0x37e862(0x440)](_0x17b6c0),this[_0x37e862(0x416)][_0x37e862(0x3b3)]])['pipe'](_0x57cc1a[_0x37e862(0x312)](([_0x4ca077,_0xaf2fc8])=>({'skeleton':_0x4a21b7['getSkeleton'](),'cursors':[..._0x4ca077[_0x37e862(0x410)]()][_0x37e862(0x342)](_0x30438a=>({..._0x30438a,'color':this['_themeService'][_0x37e862(0x36d)](_0x30438a['color'])}))})))[_0x37e862(0x38c)](_0x37c42c=>{const _0xa6bc13=_0x37e862;if(this[_0xa6bc13(0x39a)](),_0x37c42c){const {skeleton:_0xe50363,cursors:_0x4fe0bc}=_0x37c42c;this[_0xa6bc13(0x3d8)](_0xe50363,_0x4fe0bc);}})),this[_0x37e862(0x2ae)](),this[_0x37e862(0x288)]();}[_0x391ebf(0x3d8)](_0x46da9e,_0x438723){const {scene:_0x4f7a9d,mainComponent:_0x1c7c35}=this['_context'],_0x4dbc8c=_0x438723['map'](_0x33f06f=>new _0x1aee52(_0x33f06f,_0x4f7a9d,_0x46da9e,_0x1c7c35));this['_cursorShapes']=_0x4dbc8c,this['_cursors']=_0x438723;}[_0x391ebf(0x3ea)](){const _0x26ac54=_0x391ebf;this[_0x26ac54(0x39a)]();const {scene:_0x2d01a1,mainComponent:_0x19e546}=this['_context'],_0x2765f6=this['_docSkeletonManagerService'][_0x26ac54(0x38d)](),_0x56a70f=this[_0x26ac54(0x337)][_0x26ac54(0x312)](_0x4ef1c1=>new _0x1aee52(_0x4ef1c1,_0x2d01a1,_0x2765f6,_0x19e546));this[_0x26ac54(0x3ca)]=_0x56a70f;}['_removeCollabCursors'](){const _0x5eda8e=_0x391ebf;this[_0x5eda8e(0x3ca)][_0x5eda8e(0x205)](_0x1ea1b1=>_0x1ea1b1['dispose']()),this[_0x5eda8e(0x3ca)]=[];}[_0x391ebf(0x288)](){const _0x5c3406=_0x391ebf,_0x40a5de=[_0x5e7d5c['SetDocZoomRatioOperation']['id']];this[_0x5c3406(0x436)](this[_0x5c3406(0x214)][_0x5c3406(0x201)](_0x2d6647=>{const _0x5b0ab6=_0x5c3406;_0x40a5de[_0x5b0ab6(0x2a0)](_0x2d6647['id'])&&_0x2d6647[_0x5b0ab6(0x2ec)][_0x5b0ab6(0x3e1)]===this[_0x5b0ab6(0x40d)]['unitId']&&this[_0x5b0ab6(0x3ea)]();}));}[_0x391ebf(0x2ae)](){const _0x395af2=_0x391ebf;this[_0x395af2(0x436)](_0x2ca890['fromEventSubject'](this[_0x395af2(0x40d)]['engine'][_0x395af2(0x447)])[_0x395af2(0x1ef)](_0x57cc1a[_0x395af2(0x2cf)](_0x3a5d4d=>_0x3a5d4d[_0x395af2(0x24d)]===_0x5483ad['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x57cc1a[_0x395af2(0x2d7)](0x10))['subscribe'](()=>{const _0x1c0e53=_0x395af2;this[_0x1c0e53(0x3ea)]();}));}};_0x2cc591=_0x199027([_0x84e9d9(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x1486d2['DocSkeletonManagerService'])),_0x84e9d9(0x2,_0x2ca890['Inject'](_0x198743)),_0x84e9d9(0x3,_0x2ca890['ICommandService']),_0x84e9d9(0x4,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x33e)]))],_0x2cc591);const _0x3685ce=0x1,_0x305ae6=1.5;class _0x5dafa9 extends _0x5483ad[_0x391ebf(0x38b)]{constructor(_0x318b1e,_0x1cb00d){const _0x4df1eb=_0x391ebf;super(_0x318b1e,_0x1cb00d),_0xb14004(this,'_color'),_0xb14004(this,_0x4df1eb(0x311),!0x1),_0xb14004(this,_0x4df1eb(0x3ae)),_0xb14004(this,_0x4df1eb(0x39e),''),_0xb14004(this,_0x4df1eb(0x32d),_0x4df1eb(0x40e)),_0xb14004(this,_0x4df1eb(0x24f)),(_0x1cb00d&&this[_0x4df1eb(0x434)](_0x1cb00d),this[_0x4df1eb(0x376)]['subscribeEvent'](()=>this[_0x4df1eb(0x434)]({'hovered':!0x0})),this[_0x4df1eb(0x255)][_0x4df1eb(0x2b8)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5e0882){const _0x7123ec=_0x391ebf;var _0x58e52d,_0x52f1d5,_0x146baf,_0x20e471,_0x360560,_0x208fc2;this[_0x7123ec(0x435)]=(_0x58e52d=_0x5e0882['color'])!=null?_0x58e52d:this['_color'],this[_0x7123ec(0x311)]=(_0x52f1d5=_0x5e0882[_0x7123ec(0x3bb)])!=null?_0x52f1d5:this[_0x7123ec(0x311)],this['_range']=(_0x146baf=_0x5e0882[_0x7123ec(0x42e)])!=null?_0x146baf:this['_range'],this[_0x7123ec(0x39e)]=(_0x20e471=_0x5e0882['name'])!=null?_0x20e471:this['_name'],this[_0x7123ec(0x32d)]=(_0x360560=_0x5e0882['labelPosition'])!=null?_0x360560:this[_0x7123ec(0x32d)],this['_backgroundColor']=(_0x208fc2=_0x5e0882['backgroundColor'])!=null?_0x208fc2:this[_0x7123ec(0x24f)],this[_0x7123ec(0x468)]({'width':_0x5e0882[_0x7123ec(0x30a)],'height':_0x5e0882[_0x7123ec(0x44c)]});}[_0x391ebf(0x3de)](_0x5ae957){const _0x2de155=_0x391ebf,{row:_0x7bdf4a,column:_0x4f0232}=_0x5ae957;if(_0x7bdf4a>=this[_0x2de155(0x3ae)][_0x2de155(0x1f5)]&&_0x7bdf4a<=this[_0x2de155(0x3ae)][_0x2de155(0x388)]&&_0x4f0232>=this['_range'][_0x2de155(0x2ef)]&&_0x4f0232<=this[_0x2de155(0x3ae)]['endColumn']){this[_0x2de155(0x434)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2c095b){return!0x1;}[_0x391ebf(0x251)](_0x10c77f){const _0xe0c6a6=_0x391ebf;_0x5483ad[_0xe0c6a6(0x31b)][_0xe0c6a6(0x3af)](_0x10c77f,{'width':this[_0xe0c6a6(0x30a)],'height':this['height'],'strokeWidth':_0x305ae6,'stroke':this[_0xe0c6a6(0x435)],'evented':!0x1,'fill':this[_0xe0c6a6(0x24f)]}),this[_0xe0c6a6(0x311)]&&(_0x10c77f[_0xe0c6a6(0x3a8)](),_0x10c77f[_0xe0c6a6(0x3d4)](0x1,0x0,0x0,0x1,this[_0xe0c6a6(0x30a)],this['_labelPosition']===_0xe0c6a6(0x27a)?0x0:-0x14),_0x3290db['drawWith'](_0x10c77f,{'text':this[_0xe0c6a6(0x39e)],'color':this['_color']}),_0x10c77f['restore']());}}var _0x37eebe=Object[_0x391ebf(0x1f0)],_0x2639cd=(_0x5d013c,_0x3c6f61,_0x503e75,_0xa2fbb0)=>{const _0x1773a6=_0x391ebf;for(var _0x5174f8=_0xa2fbb0>0x1?void 0x0:_0xa2fbb0?_0x37eebe(_0x3c6f61,_0x503e75):_0x3c6f61,_0x18ac76=_0x5d013c[_0x1773a6(0x2aa)]-0x1,_0x1d27ef;_0x18ac76>=0x0;_0x18ac76--)(_0x1d27ef=_0x5d013c[_0x18ac76])&&(_0x5174f8=_0x1d27ef(_0x5174f8)||_0x5174f8);return _0x5174f8;},_0x1373b5=(_0x39a52b,_0x24ca83)=>(_0x2a2385,_0x4dae71)=>_0x24ca83(_0x2a2385,_0x4dae71,_0x39a52b);const _0x471fe1=0x1389;let _0x38b921=class extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(_0xdb1696,_0x24e612,_0x54735e,_0x2e063e){const _0xe9b3f=_0x391ebf;super(),_0xb14004(this,_0xe9b3f(0x337),new Set()),_0xb14004(this,_0xe9b3f(0x34e),null),(this[_0xe9b3f(0x40d)]=_0xdb1696,this[_0xe9b3f(0x3dc)]=_0x24e612,this[_0xe9b3f(0x1f2)]=_0x54735e,this[_0xe9b3f(0x416)]=_0x2e063e,this['_init']());}[_0x391ebf(0x20d)](){const _0x50033a=_0x391ebf;this[_0x50033a(0x3dc)][_0x50033a(0x290)][_0x50033a(0x1ef)](_0x57cc1a[_0x50033a(0x1f1)](this[_0x50033a(0x22a)]),_0x57cc1a[_0x50033a(0x268)](_0x97b036=>{const _0x1a762a=_0x50033a;if(_0x97b036){const _0x1b66ed=_0x97b036['sheetId'];return _0x33e1e6[_0x1a762a(0x457)](this[_0x1a762a(0x1f2)][_0x1a762a(0x440)](this[_0x1a762a(0x40d)][_0x1a762a(0x3e1)]),this[_0x1a762a(0x416)]['currentTheme$'])[_0x1a762a(0x1ef)](_0x57cc1a[_0x1a762a(0x312)](([_0x4f9a26,_0x3cc88d])=>{const _0xa52783=_0x1a762a,_0x4cf283=new Map();return _0x4f9a26[_0xa52783(0x205)]((_0x5849b3,_0x1f2c51)=>{const _0x3016e5=_0xa52783;if(_0x5849b3[_0x3016e5(0x2df)]===_0x1b66ed){const _0xb6c309={..._0x5849b3};_0xb6c309[_0x3016e5(0x3d2)]=this['_themeService']['getColorFromTheme'](_0x5849b3[_0x3016e5(0x3d2)]),_0x4cf283['set'](_0x1f2c51,_0xb6c309);}}),{'skeleton':_0x97b036,'cursors':_0x4cf283};}));}return _0x33e1e6['of']({'skeleton':null,'cursors':new Map()});}))[_0x50033a(0x38c)](({skeleton:_0x596aac,cursors:_0x28a5de})=>{const _0x2ca612=_0x50033a;this[_0x2ca612(0x39a)](),_0x596aac&&this[_0x2ca612(0x3d8)](_0x596aac,_0x28a5de);}),this[_0x50033a(0x3dc)][_0x50033a(0x290)][_0x50033a(0x38c)](_0x46bd5c=>{const _0x36f291=_0x50033a;if(_0x46bd5c==null)return;const {skeleton:_0xe86fe2}=_0x46bd5c,{scene:_0x20a65b}=this[_0x36f291(0x40d)];_0x20a65b[_0x36f291(0x1e6)][_0x36f291(0x2b8)](_0x2ca890[_0x36f291(0x371)](_0x36cb5f=>{const _0x1319a3=_0x36f291;var _0x47806b,_0x1bb92e;const {offsetX:_0x3b7361,offsetY:_0x48a37e}=_0x36cb5f,{x:_0x52c1f4,y:_0x1bcd2d}=_0x20a65b[_0x1319a3(0x21c)](_0x5483ad[_0x1319a3(0x3e7)]['FromArray']([_0x3b7361,_0x48a37e])),{scaleX:_0x336e7b,scaleY:_0x2cd5bf}=_0x20a65b['getAncestorScale'](),_0x3a7ab0=_0x20a65b[_0x1319a3(0x45f)](_0x5483ad[_0x1319a3(0x405)][_0x1319a3(0x273)]),_0x255d05=_0x20a65b['getVpScrollXYInfoByPosToVp'](_0x5483ad[_0x1319a3(0x3e7)]['FromArray']([_0x52c1f4,_0x1bcd2d]),_0x3a7ab0),_0x113135=_0xe86fe2[_0x1319a3(0x28f)](_0x3b7361,_0x48a37e,_0x336e7b,_0x2cd5bf,_0x255d05);((_0x47806b=this[_0x1319a3(0x34e)])==null?void 0x0:_0x47806b[_0x1319a3(0x3d0)])===_0x113135[_0x1319a3(0x3d0)]&&((_0x1bb92e=this[_0x1319a3(0x34e)])==null?void 0x0:_0x1bb92e[_0x1319a3(0x45b)])===_0x113135[_0x1319a3(0x45b)]||this[_0x1319a3(0x337)][_0x1319a3(0x205)](_0x15c727=>{_0x15c727['onMouseMove'](_0x113135);});},0x64));});}[_0x391ebf(0x3d8)](_0x2db302,_0x33107d){const _0x54d7a1=_0x391ebf;var _0x36c969;const _0x403f8b=(_0x36c969=this[_0x54d7a1(0x3dc)][_0x54d7a1(0x39d)]())==null?void 0x0:_0x36c969[_0x54d7a1(0x3f9)];if(!_0x403f8b)return;const _0x36c9fd=this[_0x54d7a1(0x230)]();if(!_0x36c9fd)return;this['_cursors']['forEach'](_0x5ced0c=>{const _0x19fc9a=_0x54d7a1;_0x5ced0c[_0x19fc9a(0x34a)]();});const {scene:_0x506117}=_0x36c9fd,_0x50db16=_0x41a01b(Array[_0x54d7a1(0x2b7)](_0x33107d[_0x54d7a1(0x410)]()))[_0x54d7a1(0x312)](_0x2b82d8=>{const _0x1f1a99=_0x54d7a1,{color:_0x3af9f3,range:_0x4632c1,name:_0x72d3d2,selection:_0x3add3c,sheetID:_0xfa79b0}=_0x2b82d8,{startColumn:_0x309d0e,startRow:_0x32f968,endColumn:_0x10ab32,endRow:_0x24b47c}=_0x4632c1,_0xc991f9=_0x5e27d1[_0x1f1a99(0x269)](_0x32f968,_0x309d0e,_0x506117,_0x403f8b),_0x352501=_0x5e27d1[_0x1f1a99(0x269)](_0x24b47c,_0x10ab32,_0x506117,_0x403f8b),{columnHeaderHeightAndMarginTop:_0xd38f9d}=_0x403f8b,{startX:_0x58ebae,startY:_0xb2a311}=_0xc991f9,{endX:_0x2ced95,endY:_0x11f661}=_0x352501,_0x14b3b3=_0x2ced95-_0x58ebae,_0xe4db91=_0x11f661-_0xb2a311,_0x362d40={'labelPosition':_0xb2a311-_0xd38f9d>=_0x3a4c0c?'top':_0x1f1a99(0x27a),'sheetID':_0xfa79b0,'range':_0x4632c1,'color':_0x3af9f3,'name':_0x72d3d2,'selection':_0x3add3c,'left':_0x58ebae,'top':_0xb2a311,'width':_0x14b3b3,'height':_0xe4db91,'evented':!0x1,'zIndex':_0x471fe1};return new _0x5dafa9(_0x72d3d2,_0x362d40);});_0x506117[_0x54d7a1(0x2fc)](_0x50db16,_0x3685ce),this[_0x54d7a1(0x337)]=new Set(_0x50db16);}[_0x391ebf(0x39a)](){const _0x220699=_0x391ebf;var _0x5d2535;(_0x5d2535=this[_0x220699(0x337)])==null||_0x5d2535[_0x220699(0x205)](_0x281759=>_0x281759['dispose']());}[_0x391ebf(0x230)](){const _0x5221e4=_0x391ebf;return _0x5e27d1[_0x5221e4(0x2dc)](this['_context'][_0x5221e4(0x392)],this['_context']);}};_0x38b921=_0x2639cd([_0x1373b5(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x5e27d1[_0x391ebf(0x23a)])),_0x1373b5(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x198743)),_0x1373b5(0x3,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x33e)]))],_0x38b921);function _0x41a01b(_0x2ea371){const _0x9fbbe1=_0x391ebf,_0x2388d7=new Map();return _0x2ea371[_0x9fbbe1(0x205)](_0x387946=>{const _0x88f5ad=_0x9fbbe1;if(_0x2388d7[_0x88f5ad(0x202)](_0x387946[_0x88f5ad(0x44f)])){const _0x35ea03=_0x2388d7[_0x88f5ad(0x266)](_0x387946[_0x88f5ad(0x44f)]);_0x35ea03[_0x88f5ad(0x20e)]+=',\x20'+_0x387946[_0x88f5ad(0x20e)];}else _0x2388d7[_0x88f5ad(0x40b)](_0x387946['selection'],_0x387946);}),Array[_0x9fbbe1(0x2b7)](_0x2388d7['values']());}var _0x2f3862=function(){const _0x144c3c=_0x391ebf;return _0x2f3862=Object['assign']||function(_0x41da68){const _0x4b724a=_0x4b14;for(var _0x4fc95a,_0x192ecd=0x1,_0x3871e5=arguments[_0x4b724a(0x2aa)];_0x192ecd<_0x3871e5;_0x192ecd++){_0x4fc95a=arguments[_0x192ecd];for(var _0x2ca101 in _0x4fc95a)Object[_0x4b724a(0x43d)][_0x4b724a(0x37e)]['call'](_0x4fc95a,_0x2ca101)&&(_0x41da68[_0x2ca101]=_0x4fc95a[_0x2ca101]);}return _0x41da68;},_0x2f3862[_0x144c3c(0x2d9)](this,arguments);},_0x3ce2ea=function(_0x343c2f,_0x379354){const _0x5531fb=_0x391ebf;var _0x2a5ce9={};for(var _0x2f3e2f in _0x343c2f)Object[_0x5531fb(0x43d)][_0x5531fb(0x37e)]['call'](_0x343c2f,_0x2f3e2f)&&_0x379354[_0x5531fb(0x274)](_0x2f3e2f)<0x0&&(_0x2a5ce9[_0x2f3e2f]=_0x343c2f[_0x2f3e2f]);if(_0x343c2f!=null&&typeof Object[_0x5531fb(0x2f5)]=='function'){for(var _0x57ce6c=0x0,_0x2f3e2f=Object[_0x5531fb(0x2f5)](_0x343c2f);_0x57ce6c<_0x2f3e2f['length'];_0x57ce6c++)_0x379354[_0x5531fb(0x274)](_0x2f3e2f[_0x57ce6c])<0x0&&Object[_0x5531fb(0x43d)]['propertyIsEnumerable'][_0x5531fb(0x248)](_0x343c2f,_0x2f3e2f[_0x57ce6c])&&(_0x2a5ce9[_0x2f3e2f[_0x57ce6c]]=_0x343c2f[_0x2f3e2f[_0x57ce6c]]);}return _0x2a5ce9;},_0x20c42d=_0x21d90f[_0x391ebf(0x244)](function(_0x4e8f29,_0x427a7f){const _0x2e7b6e=_0x391ebf;var _0x255c5a=_0x4e8f29[_0x2e7b6e(0x208)],_0x282073=_0x4e8f29['id'],_0x2ddec0=_0x4e8f29[_0x2e7b6e(0x258)],_0xf4eb47=_0x4e8f29[_0x2e7b6e(0x3fb)],_0x433725=_0x3ce2ea(_0x4e8f29,['icon','id',_0x2e7b6e(0x258),_0x2e7b6e(0x3fb)]),_0x3fa0d5='univerjs-icon\x20univerjs-icon-'[_0x2e7b6e(0x35d)](_0x282073,'\x20')[_0x2e7b6e(0x35d)](_0x2ddec0||'')[_0x2e7b6e(0x3a1)](),_0x4e28bb=_0x21d90f[_0x2e7b6e(0x3e2)]('_'[_0x2e7b6e(0x35d)](_0x5c49e6()));return _0x415723(_0x255c5a,''['concat'](_0x282073),{'defIds':_0x255c5a[_0x2e7b6e(0x254)],'idSuffix':_0x4e28bb['current']},_0x2f3862({'ref':_0x427a7f,'className':_0x3fa0d5},_0x433725),_0xf4eb47);});function _0x415723(_0x298f84,_0x68146a,_0x251048,_0x428b22,_0x37d2fc){const _0xbd9ac3=_0x391ebf;return _0x21d90f[_0xbd9ac3(0x355)](_0x298f84[_0xbd9ac3(0x277)],_0x2f3862(_0x2f3862({'key':_0x68146a},_0x172a0d(_0x298f84,_0x251048,_0x37d2fc)),_0x428b22),(_0x25d854(_0x298f84,_0x251048)[_0xbd9ac3(0x2c8)]||[])[_0xbd9ac3(0x312)](function(_0x12e66d,_0x434bd3){const _0x571bd5=_0xbd9ac3;return _0x415723(_0x12e66d,''[_0x571bd5(0x35d)](_0x68146a,'-')[_0x571bd5(0x35d)](_0x298f84[_0x571bd5(0x277)],'-')[_0x571bd5(0x35d)](_0x434bd3),_0x251048,void 0x0,_0x37d2fc);}));}function _0x172a0d(_0x2f2903,_0x4dd21c,_0x4058d9){const _0x268aa6=_0x391ebf;var _0x12a75e=_0x2f3862({},_0x2f2903[_0x268aa6(0x2c7)]);_0x4058d9!=null&&_0x4058d9[_0x268aa6(0x45c)]&&_0x12a75e[_0x268aa6(0x237)]===_0x268aa6(0x45c)&&(_0x12a75e['fill']=_0x4058d9[_0x268aa6(0x45c)]),_0x2f2903[_0x268aa6(0x277)]===_0x268aa6(0x284)&&_0x12a75e['id']&&(_0x12a75e['id']=_0x12a75e['id']+_0x4dd21c[_0x268aa6(0x2a1)]),Object['entries'](_0x12a75e)[_0x268aa6(0x205)](function(_0x4abe28){const _0x2a61e4=_0x268aa6;var _0x343fcf=_0x4abe28[0x0],_0x44b615=_0x4abe28[0x1];_0x343fcf===_0x2a61e4(0x284)&&typeof _0x44b615=='string'&&(_0x12a75e[_0x343fcf]=_0x44b615[_0x2a61e4(0x20c)](/url\(#(.*)\)/,_0x2a61e4(0x43a)['concat'](_0x4dd21c[_0x2a61e4(0x2a1)],')')));});var _0xd05275=_0x4dd21c[_0x268aa6(0x254)];return!_0xd05275||_0xd05275[_0x268aa6(0x2aa)]===0x0||(_0x2f2903[_0x268aa6(0x277)]===_0x268aa6(0x2f2)&&_0x12a75e['xlink:href']&&(_0x12a75e[_0x268aa6(0x427)]=_0x12a75e[_0x268aa6(0x427)]+_0x4dd21c[_0x268aa6(0x2a1)]),Object[_0x268aa6(0x301)](_0x12a75e)[_0x268aa6(0x205)](function(_0x53237b){const _0x4f8fde=_0x268aa6;var _0x5c2037=_0x53237b[0x0],_0x36881f=_0x53237b[0x1];typeof _0x36881f=='string'&&(_0x12a75e[_0x5c2037]=_0x36881f['replace'](/url\(#(.*)\)/,_0x4f8fde(0x43a)[_0x4f8fde(0x35d)](_0x4dd21c['idSuffix'],')')));})),_0x12a75e;}function _0x25d854(_0x16b015,_0x41f5c7){const _0x48b895=_0x391ebf;var _0x542351,_0x4877eb=_0x41f5c7[_0x48b895(0x254)];return!_0x4877eb||_0x4877eb[_0x48b895(0x2aa)]===0x0?_0x16b015:_0x16b015[_0x48b895(0x277)]==='defs'&&(!((_0x542351=_0x16b015[_0x48b895(0x2c8)])===null||_0x542351===void 0x0)&&_0x542351['length'])?_0x2f3862(_0x2f3862({},_0x16b015),{'children':_0x16b015[_0x48b895(0x2c8)][_0x48b895(0x312)](function(_0x4bd7b7){const _0x35dbea=_0x48b895;return typeof _0x4bd7b7['attrs']['id']==_0x35dbea(0x2b1)&&_0x4877eb&&_0x4877eb[_0x35dbea(0x2a0)](_0x4bd7b7[_0x35dbea(0x2c7)]['id'])?_0x2f3862(_0x2f3862({},_0x4bd7b7),{'attrs':_0x2f3862(_0x2f3862({},_0x4bd7b7[_0x35dbea(0x2c7)]),{'id':_0x4bd7b7[_0x35dbea(0x2c7)]['id']+_0x41f5c7[_0x35dbea(0x2a1)]})}):_0x4bd7b7;})}):_0x16b015;}function _0x5c49e6(){const _0x8cfd9=_0x391ebf;return Math['random']()['toString'](0x24)[_0x8cfd9(0x2c3)](0x2,0x8);}_0x20c42d[_0x391ebf(0x256)]='UniverIcon';var _0x473edb={'tag':_0x391ebf(0x344),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x391ebf(0x267),'width':_0x391ebf(0x1ff),'height':_0x391ebf(0x1ff)},'children':[{'tag':'g','attrs':{'clipPath':_0x391ebf(0x44e)},'children':[{'tag':_0x391ebf(0x44b),'attrs':{'stroke':_0x391ebf(0x2eb),'d':_0x391ebf(0x399),'strokeLinecap':'round','strokeLinejoin':_0x391ebf(0x369),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x391ebf(0x3e8),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x391ebf(0x44b),'attrs':{'fill':'white','d':_0x391ebf(0x44d)}}]}]}],'defIds':[_0x391ebf(0x28b)]},_0x5181bd=_0x21d90f['forwardRef'](function(_0x3080f8,_0x313da9){const _0x1b3cf1=_0x391ebf;return _0x21d90f['createElement'](_0x20c42d,Object[_0x1b3cf1(0x225)]({},_0x3080f8,{'id':_0x1b3cf1(0x374),'ref':_0x313da9,'icon':_0x473edb}));});_0x5181bd[_0x391ebf(0x256)]=_0x391ebf(0x2a5);var _0x2e249e={'tag':_0x391ebf(0x344),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x391ebf(0x2ed),'width':'1em','height':_0x391ebf(0x1ff)},'children':[{'tag':'g','attrs':{'clipPath':_0x391ebf(0x365)},'children':[{'tag':_0x391ebf(0x44b),'attrs':{'stroke':_0x391ebf(0x2eb),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x391ebf(0x369),'strokeLinejoin':_0x391ebf(0x369),'strokeWidth':1.2}}]},{'tag':_0x391ebf(0x317),'attrs':{},'children':[{'tag':_0x391ebf(0x3e8),'attrs':{'id':_0x391ebf(0x2e7)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x391ebf(0x44d),'transform':'translate(.97)'}}]}]}],'defIds':[_0x391ebf(0x2e7)]},_0x104de9=_0x21d90f['forwardRef'](function(_0xb724e9,_0x5e5e27){const _0x5d3f58=_0x391ebf;return _0x21d90f[_0x5d3f58(0x355)](_0x20c42d,Object[_0x5d3f58(0x225)]({},_0xb724e9,{'id':'on-line-icon','ref':_0x5e5e27,'icon':_0x2e249e}));});_0x104de9[_0x391ebf(0x256)]=_0x391ebf(0x24c);function _0x251e53(_0x140c6d){const _0x3a5b1d=_0x391ebf;switch(_0x140c6d){case _0x38fa63[_0x3a5b1d(0x264)][_0x3a5b1d(0x335)]:return _0x3a5b1d(0x2b6);case _0x38fa63['CollaborationStatus']['CONFLICT']:return _0x3a5b1d(0x29c);case _0x38fa63[_0x3a5b1d(0x264)][_0x3a5b1d(0x411)]:return _0x3a5b1d(0x29b);case _0x38fa63[_0x3a5b1d(0x264)][_0x3a5b1d(0x302)]:return'collabStatus.notCollab';case _0x38fa63[_0x3a5b1d(0x264)]['AWAITING']:case _0x38fa63[_0x3a5b1d(0x264)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x38fa63['CollaborationStatus']['SYNCED']:case _0x38fa63[_0x3a5b1d(0x264)]['PENDING']:return _0x3a5b1d(0x3d9);}}function _0x412836(_0x36594a){const _0x28ab75=_0x391ebf,{status$:_0x139282}=_0x36594a,_0x5a8c35=_0x3587ae['useObservable'](_0x139282,_0x38fa63[_0x28ab75(0x264)][_0x28ab75(0x302)]),_0x127aac=_0x3587ae['useDependency'](_0x2ca890['LocaleService']),_0x4f87b0=_0x3587ae[_0x28ab75(0x2fe)](_0x38fa63[_0x28ab75(0x364)]),_0x2ce440=_0x5a8c35!==_0x38fa63[_0x28ab75(0x264)][_0x28ab75(0x335)],_0x3ac50e=_0x127aac['t'](_0x251e53(_0x5a8c35)),_0x13881d=_0x2ce440?_0x1548bc[_0x28ab75(0x42d)](_0x104de9,{}):_0x1548bc[_0x28ab75(0x42d)](_0x5181bd,{}),_0x18cc37=_0x21d90f[_0x28ab75(0x33b)](()=>{const _0x3989fc=_0x28ab75;_0x2ce440||_0x4f87b0[_0x3989fc(0x3df)]();},[_0x2ce440,_0x4f87b0]);function _0x4f53ee(){const _0x4303d4=_0x28ab75;return _0x1548bc[_0x4303d4(0x46d)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x18cc37,'children':[_0x1548bc[_0x4303d4(0x42d)]('div',{'className':_0xff817b[_0x4303d4(0x386)](_0x4303d4(0x37f),{'univer-text-green-500':_0x2ce440,'univer-text-red-500':!_0x2ce440}),'children':_0x13881d}),_0x1548bc['jsx'](_0x4303d4(0x26a),{'className':_0x4303d4(0x207),'children':_0x3ac50e})]});}return _0x2ce440?_0x4f53ee():_0x1548bc[_0x28ab75(0x42d)](_0xff817b[_0x28ab75(0x2c9)],{'title':_0x127aac['t']('collab-client.tooltip.reconnect'),'children':_0x4f53ee()});}var _0x2b76bc=Object[_0x391ebf(0x1f0)],_0x2a8e7f=(_0x2cd637,_0x43bfa3,_0x1c5d4e,_0x26a4b0)=>{const _0x3ff6db=_0x391ebf;for(var _0x2a7b2c=_0x26a4b0>0x1?void 0x0:_0x26a4b0?_0x2b76bc(_0x43bfa3,_0x1c5d4e):_0x43bfa3,_0x963c6e=_0x2cd637[_0x3ff6db(0x2aa)]-0x1,_0x1e317e;_0x963c6e>=0x0;_0x963c6e--)(_0x1e317e=_0x2cd637[_0x963c6e])&&(_0x2a7b2c=_0x1e317e(_0x2a7b2c)||_0x2a7b2c);return _0x2a7b2c;},_0x5d7fea=(_0x29a4ab,_0x3749ef)=>(_0x1f1755,_0x430ae8)=>_0x3749ef(_0x1f1755,_0x430ae8,_0x29a4ab);_0x5afeab[_0x391ebf(0x2e5)]=class extends _0x2ca890[_0x391ebf(0x445)]{constructor(_0x3651df,_0x4f943d,_0x4f72fc,_0x330678){const _0x175f20=_0x391ebf;super(),_0xb14004(this,'_status$',new _0x33e1e6[(_0x175f20(0x2af))](_0x38fa63[_0x175f20(0x264)][_0x175f20(0x302)])),(this['_univerInstanceService']=_0x3651df,this[_0x175f20(0x23f)]=_0x4f943d,this[_0x175f20(0x23c)]=_0x4f72fc,this[_0x175f20(0x3b2)]=_0x330678,this[_0x175f20(0x30e)](),this['_initStatusListener']());}[_0x391ebf(0x3bc)](){const _0x1b9a5f=_0x391ebf;this[_0x1b9a5f(0x436)](this[_0x1b9a5f(0x309)][_0x1b9a5f(0x2cc)][_0x1b9a5f(0x1ef)](_0x33e1e6[_0x1b9a5f(0x268)](()=>{const _0x45304e=_0x1b9a5f,_0x224d5b=this[_0x45304e(0x309)][_0x45304e(0x27d)]();return _0x224d5b?this['_collaborationController'][_0x45304e(0x3f2)](_0x224d5b[_0x45304e(0x2c4)]()):_0x33e1e6['of'](null);}),_0x33e1e6['switchMap'](_0x27cc25=>_0x27cc25?_0x27cc25[_0x1b9a5f(0x2a9)]:_0x33e1e6['of'](_0x38fa63[_0x1b9a5f(0x264)]['NOT_COLLAB'])))[_0x1b9a5f(0x38c)](_0x139783=>{const _0x2aa7a2=_0x1b9a5f;this[_0x2aa7a2(0x41e)][_0x2aa7a2(0x219)](_0x139783);}));}['_initStatusComponent'](){const _0xf4e228=_0x391ebf;this[_0xf4e228(0x436)](this[_0xf4e228(0x3b2)]['registerComponent'](_0x3587ae[_0xf4e228(0x3d6)]['HEADER_MENU'],()=>_0x3587ae['connectInjector'](_0x2ba73e({'status$':this[_0xf4e228(0x41e)][_0xf4e228(0x238)]()}),this[_0xf4e228(0x23f)])));}},_0x5afeab[_0x391ebf(0x2e5)]=_0x2a8e7f([_0x5d7fea(0x0,_0x2ca890[_0x391ebf(0x216)]),_0x5d7fea(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890['Injector'])),_0x5d7fea(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x3e4)])),_0x5d7fea(0x3,_0x3587ae['IUIPartsService'])],_0x5afeab[_0x391ebf(0x2e5)]);function _0x2ba73e(_0x12b01e){const {status$:_0xf12c6}=_0x12b01e;return function(){const _0x1d46cb=_0x4b14;return _0x1548bc[_0x1d46cb(0x42d)](_0x412836,{'status$':_0xf12c6});};}var _0x5eb3a9=Object[_0x391ebf(0x1f0)],_0x33fe95=(_0x53106c,_0x160c9b,_0x56847c,_0x43c6b6)=>{const _0x540385=_0x391ebf;for(var _0x9acc42=_0x43c6b6>0x1?void 0x0:_0x43c6b6?_0x5eb3a9(_0x160c9b,_0x56847c):_0x160c9b,_0xb49c92=_0x53106c[_0x540385(0x2aa)]-0x1,_0x3b2cb6;_0xb49c92>=0x0;_0xb49c92--)(_0x3b2cb6=_0x53106c[_0xb49c92])&&(_0x9acc42=_0x3b2cb6(_0x9acc42)||_0x9acc42);return _0x9acc42;},_0x5e6703=(_0x543ec1,_0x2b28f1)=>(_0x2b2431,_0x4d744c)=>_0x2b28f1(_0x2b2431,_0x4d744c,_0x543ec1);let _0x353d66=class extends _0x2ca890['Disposable']{constructor(_0x542b04,_0x5148c4,_0x4b34ec,_0x5b5e1f,_0x143e29,_0x4f71be){const _0x1d4ae1=_0x391ebf;super(),this['_beforeCloseService']=_0x542b04,this[_0x1d4ae1(0x407)]=_0x5148c4,this[_0x1d4ae1(0x3ac)]=_0x4b34ec,this[_0x1d4ae1(0x35e)]=_0x5b5e1f,this[_0x1d4ae1(0x31a)]=_0x143e29,this['_localeService']=_0x4f71be,this[_0x1d4ae1(0x432)](),this['_initEvent']();}[_0x391ebf(0x432)](){const _0x42f503=_0x391ebf;this['disposeWithMe'](this['_beforeCloseService'][_0x42f503(0x3ed)](()=>{const _0x38c934=_0x42f503;if(this[_0x38c934(0x407)][_0x38c934(0x28e)][_0x38c934(0x30d)])return this[_0x38c934(0x38f)]['t'](_0x38c934(0x383));}));}[_0x391ebf(0x3c2)](){const _0x47bb1a=_0x391ebf;this[_0x47bb1a(0x436)](this[_0x47bb1a(0x3ac)][_0x47bb1a(0x389)][_0x47bb1a(0x38c)](_0x2e826b=>{const _0x1f01a2=_0x47bb1a;_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x381)]&&this[_0x1f01a2(0x35e)]['show']({'type':_0xff817b['MessageType'][_0x1f01a2(0x338)],'content':this['_localeService']['t'](_0x1f01a2(0x2c1))}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x32c)]&&this[_0x1f01a2(0x35e)][_0x1f01a2(0x283)]({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x338)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x2e826b['id']===_0x38fa63['CollaborationUIEventId'][_0x1f01a2(0x3bf)]&&this[_0x1f01a2(0x31a)][_0x1f01a2(0x283)]({'title':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x3ef)),'content':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x3c4)),'type':_0x1f01a2(0x390),'duration':0x0}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x3a9)]&&this[_0x1f01a2(0x35e)][_0x1f01a2(0x283)]({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x425)],'content':this[_0x1f01a2(0x38f)]['t']('collaboration.closeRoom')+'('+_0x2e826b[_0x1f01a2(0x349)]+')'}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x456)]&&this[_0x1f01a2(0x35e)]['show']({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x338)],'content':this['_localeService']['t'](_0x2e826b[_0x1f01a2(0x349)]||'')}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x334)]&&this[_0x1f01a2(0x35e)][_0x1f01a2(0x283)]({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x338)],'content':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x286))}),_0x2e826b['id']===_0x38fa63['CollaborationUIEventId'][_0x1f01a2(0x2de)]&&this[_0x1f01a2(0x35e)][_0x1f01a2(0x283)]({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x425)],'content':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x26f))}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x3ad)]&&this[_0x1f01a2(0x35e)]['show']({'type':_0xff817b['MessageType'][_0x1f01a2(0x425)],'content':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x316))});}));}};_0x353d66=_0x33fe95([_0x5e6703(0x0,_0x3587ae[_0x391ebf(0x287)]),_0x5e6703(0x1,_0x38fa63[_0x391ebf(0x3a2)]),_0x5e6703(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63['CollaborationUIEventService'])),_0x5e6703(0x3,_0x3587ae['IMessageService']),_0x5e6703(0x4,_0x3587ae[_0x391ebf(0x20a)]),_0x5e6703(0x5,_0x2ca890['Inject'](_0x2ca890['LocaleService']))],_0x353d66);const _0x3aae9c=_0x391ebf(0x2d3),_0x28842c={},_0x289033=_0x2ca890['createIdentifier'](_0x391ebf(0x22d));var _0x20738c=Object[_0x391ebf(0x1f0)],_0x2c8415=(_0x128fb9,_0x582474,_0x5aa437,_0x8dc648)=>{const _0x2691dd=_0x391ebf;for(var _0x3c5983=_0x8dc648>0x1?void 0x0:_0x8dc648?_0x20738c(_0x582474,_0x5aa437):_0x582474,_0x42accb=_0x128fb9[_0x2691dd(0x2aa)]-0x1,_0x43328a;_0x42accb>=0x0;_0x42accb--)(_0x43328a=_0x128fb9[_0x42accb])&&(_0x3c5983=_0x43328a(_0x3c5983)||_0x3c5983);return _0x3c5983;},_0x331118=(_0x2d2e71,_0x34a01f)=>(_0x5b8f02,_0x5494a4)=>_0x34a01f(_0x5b8f02,_0x5494a4,_0x2d2e71);_0x5afeab[_0x391ebf(0x394)]=class extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(_0x20259,_0x26db06,_0x59c6a1,_0x3e625e,_0x277e55){const _0x40e78c=_0x391ebf;super(),this[_0x40e78c(0x417)]=_0x20259,this[_0x40e78c(0x379)]=_0x26db06,this[_0x40e78c(0x214)]=_0x59c6a1,this[_0x40e78c(0x223)]=_0x3e625e,_0x277e55?_0x277e55==null||_0x277e55[_0x40e78c(0x404)]()[_0x40e78c(0x45e)](()=>this[_0x40e78c(0x20d)]()):(this[_0x40e78c(0x379)][_0x40e78c(0x226)](_0x40e78c(0x319),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x40e78c(0x20d)]());}async['_init'](){const _0x43500f=_0x391ebf,_0x57aef9=this['_urlService'][_0x43500f(0x433)]('unit'),_0x1e2642=this[_0x43500f(0x417)][_0x43500f(0x433)](_0x43500f(0x24d)),_0x1114fe=this[_0x43500f(0x417)][_0x43500f(0x433)](_0x43500f(0x20f));if(!_0x57aef9||!_0x1e2642){this['_logService'][_0x43500f(0x226)](_0x43500f(0x319),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5cb800=await this[_0x43500f(0x223)][_0x43500f(0x210)](_0x57aef9,Number(_0x1e2642),_0x1114fe);_0x5cb800&&_0x5cb800 instanceof _0x2ca890[_0x43500f(0x350)]&&this[_0x43500f(0x2b5)](_0x5cb800);}async[_0x391ebf(0x2b5)](_0x32580a){const _0x4fce8a=_0x391ebf;await this['_updateSubUnitFromURLParams'](_0x32580a),_0x32580a['activeSheet$'][_0x4fce8a(0x1ef)](_0x33e1e6[_0x4fce8a(0x1f1)](this[_0x4fce8a(0x22a)]))[_0x4fce8a(0x38c)](_0x564726=>{const _0x18e7f4=_0x4fce8a;_0x564726&&this[_0x18e7f4(0x36a)](_0x564726);}),this['_urlService']['urlChange$']['pipe'](_0x33e1e6['takeUntil'](this[_0x4fce8a(0x22a)]))[_0x4fce8a(0x38c)](()=>this[_0x4fce8a(0x298)](_0x32580a));}[_0x391ebf(0x36a)](_0x143e14,_0x199261=!0x1){const _0x3193f3=_0x391ebf,_0xabd1a1=this[_0x3193f3(0x417)][_0x3193f3(0x433)](_0x3193f3(0x20f));_0x143e14[_0x3193f3(0x421)]()!==_0xabd1a1&&this[_0x3193f3(0x417)][_0x3193f3(0x22c)](_0x3193f3(0x20f),_0x143e14['getSheetId'](),_0x199261);}async[_0x391ebf(0x298)](_0x36dd4b){const _0x4085ee=_0x391ebf;var _0x2ba352;const _0x4a87ee=this[_0x4085ee(0x417)]['getParam']('subunit');if(!_0x4a87ee||!_0x36dd4b[_0x4085ee(0x276)](_0x4a87ee)){const _0x15d29c=_0x36dd4b[_0x4085ee(0x1f7)]()[0x0],_0x128cba=_0x36dd4b['getSheetBySheetId'](_0x15d29c);if(!_0x128cba)return;this[_0x4085ee(0x36a)](_0x128cba,!0x0),await this[_0x4085ee(0x214)][_0x4085ee(0x3c5)](_0x2ce713[_0x4085ee(0x27e)]['id'],{'unitId':_0x36dd4b[_0x4085ee(0x2c4)](),'subUnitId':_0x15d29c});return;}((_0x2ba352=_0x36dd4b['getActiveSheet']())==null?void 0x0:_0x2ba352[_0x4085ee(0x421)]())!==_0x4a87ee&&await this[_0x4085ee(0x214)][_0x4085ee(0x3c5)](_0x2ce713['SetWorksheetActivateCommand']['id'],{'unitId':_0x36dd4b['getUnitId'](),'subUnitId':_0x4a87ee});}},_0x5afeab[_0x391ebf(0x394)]=_0x2c8415([_0x331118(0x0,_0x289033),_0x331118(0x1,_0x2ca890[_0x391ebf(0x3fe)]),_0x331118(0x2,_0x2ca890[_0x391ebf(0x356)]),_0x331118(0x3,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x3fd)])),_0x331118(0x4,_0x2ca890['Optional'](_0x18f665[_0x391ebf(0x213)]))],_0x5afeab[_0x391ebf(0x394)]);var _0x40cfda=Object[_0x391ebf(0x1f0)],_0x543abc=(_0x4e974d,_0x26a92a,_0x481a15,_0x459724)=>{const _0x2c2279=_0x391ebf;for(var _0x260b42=_0x459724>0x1?void 0x0:_0x459724?_0x40cfda(_0x26a92a,_0x481a15):_0x26a92a,_0x3302b9=_0x4e974d[_0x2c2279(0x2aa)]-0x1,_0x291f33;_0x3302b9>=0x0;_0x3302b9--)(_0x291f33=_0x4e974d[_0x3302b9])&&(_0x260b42=_0x291f33(_0x260b42)||_0x260b42);return _0x260b42;},_0x5b18db=(_0x571ec5,_0x15c065)=>(_0x1e4b90,_0x25784e)=>_0x15c065(_0x1e4b90,_0x25784e,_0x571ec5);let _0x28fe62=class{constructor(_0x4664ea,_0x430ee5,_0x413646){const _0x39cf63=_0x391ebf;this['_injector']=_0x4664ea,this[_0x39cf63(0x2d6)]=_0x430ee5,this[_0x39cf63(0x30b)]=_0x413646;}[_0x391ebf(0x294)](_0x5cdde3){const _0x219eb7=_0x391ebf;this['_transformUndoRedoStack'](_0x5cdde3),this[_0x219eb7(0x2e3)](_0x5cdde3);}[_0x391ebf(0x307)](_0x165ad5){const _0x45a530=_0x391ebf,{unitID:_0x1bce30}=_0x165ad5,_0x456883=this['_renderManagerService']['getRenderById'](_0x1bce30)[_0x45a530(0x351)](_0x5e7d5c[_0x45a530(0x28a)]),{redoCache:_0x2c1ce4}=_0x456883['getUndoRedoMutationParamsCache']();if(_0x2c1ce4[_0x45a530(0x2aa)]===0x0)return _0x165ad5;let _0x5d99f0=_0x2ca890[_0x45a530(0x451)][_0x45a530(0x406)](_0x165ad5[_0x45a530(0x384)][0x0]);for(let _0x219a76=0x0;_0x219a76<_0x2c1ce4['length'];_0x219a76++){const _0x58c945={'id':_0x45a530(0x35c),'params':{..._0x2c1ce4[_0x219a76]}},_0x556fa2=this[_0x45a530(0x2d6)]['transformMutation'](_0x5d99f0,_0x58c945,!0x1);if(_0x1d9678['isTransformMutationFailure'](_0x556fa2))throw _0x556fa2['error'];_0x5d99f0=_0x556fa2[_0x45a530(0x281)];}return{..._0x2ca890['Tools'][_0x45a530(0x406)](_0x165ad5),'mutations':[_0x5d99f0]};}[_0x391ebf(0x25c)](_0x5aa7af){const _0xf9559d=_0x391ebf,{unitID:_0x35b99d}=_0x5aa7af,_0x21b374=this['_renderManagerService'][_0xf9559d(0x306)](_0x35b99d)['with'](_0x5e7d5c[_0xf9559d(0x28a)]),{undoCache:_0x15b09b,redoCache:_0x28937d}=_0x21b374[_0xf9559d(0x426)]();if(_0x15b09b[_0xf9559d(0x2aa)]===0x0||_0x28937d['length']===0x0)return;const _0x36a4c8=[],_0x354f5e=[];let _0x1a1c1c=_0x2ca890[_0xf9559d(0x451)]['deepClone'](_0x5aa7af['mutations'][0x0]),_0x677e2b=_0x2ca890[_0xf9559d(0x451)][_0xf9559d(0x406)](_0x5aa7af['mutations'][0x0]);for(let _0x4ee8dd=_0x15b09b[_0xf9559d(0x2aa)]-0x1;_0x4ee8dd>=0x0;_0x4ee8dd--){const _0x239516={'id':_0xf9559d(0x35c),'params':{..._0x15b09b[_0x4ee8dd]}},_0x56a58f={'id':_0xf9559d(0x35c),'params':{..._0x28937d[_0x4ee8dd]}},_0xda232d=this[_0xf9559d(0x2d6)][_0xf9559d(0x40f)](_0x1a1c1c,_0x239516,!0x1),_0x26cbad=this[_0xf9559d(0x2d6)][_0xf9559d(0x40f)](_0x677e2b,_0x56a58f,!0x1);if(_0x1d9678[_0xf9559d(0x444)](_0xda232d))throw _0xda232d[_0xf9559d(0x390)];if(_0x1d9678[_0xf9559d(0x444)](_0x26cbad))throw _0x26cbad['error'];_0x36a4c8[_0xf9559d(0x2f3)](_0xda232d['m2Prime'][_0xf9559d(0x2ec)]),_0x354f5e['unshift'](_0x26cbad[_0xf9559d(0x25d)][_0xf9559d(0x2ec)]),_0x1a1c1c=_0xda232d['m1Prime'],_0x677e2b=_0x26cbad['m1Prime'];}_0x21b374['setUndoRedoMutationParamsCache']({'undoCache':_0x36a4c8,'redoCache':_0x354f5e});}[_0x391ebf(0x2e3)](_0x1f69c7){const _0x5e362c=_0x391ebf,{unitID:_0x350bab}=_0x1f69c7,_0x5d6c04=this[_0x5e362c(0x30b)][_0x5e362c(0x306)](_0x350bab)[_0x5e362c(0x351)](_0x5e7d5c[_0x5e362c(0x28a)]),_0x53c445=_0x5d6c04[_0x5e362c(0x222)]();if(_0x53c445==null)return;const _0x154e13=[{'id':_0x5e362c(0x35c),'params':{'unitId':_0x1f69c7[_0x5e362c(0x441)],'actions':null,'textRanges':[_0x53c445]}}],_0x1c2418=this[_0x5e362c(0x2d6)][_0x5e362c(0x33a)](_0x1f69c7,_0x154e13);if(!_0x1d9678['isTransformMutationsWithChangesetSuccess'](_0x1c2418))throw _0x1c2418[_0x5e362c(0x390)];const _0xd43fa1=_0x1c2418[_0x5e362c(0x25d)][0x0]['params'][_0x5e362c(0x2a6)];Array[_0x5e362c(0x26d)](_0xd43fa1)&&_0xd43fa1[_0x5e362c(0x2aa)]&&_0x5d6c04[_0x5e362c(0x3c7)](_0xd43fa1[0x0]);}};_0x28fe62=_0x543abc([_0x5b18db(0x0,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x5b18db(0x1,_0x1d9678[_0x391ebf(0x325)]),_0x5b18db(0x2,_0x5483ad[_0x391ebf(0x346)])],_0x28fe62);var _0x506b55=Object['getOwnPropertyDescriptor'],_0x6b776=(_0x5d6080,_0xfea0d8,_0x5db0e0,_0x47d560)=>{const _0x572270=_0x391ebf;for(var _0x1e15fd=_0x47d560>0x1?void 0x0:_0x47d560?_0x506b55(_0xfea0d8,_0x5db0e0):_0xfea0d8,_0x2717f2=_0x5d6080[_0x572270(0x2aa)]-0x1,_0x1141ca;_0x2717f2>=0x0;_0x2717f2--)(_0x1141ca=_0x5d6080[_0x2717f2])&&(_0x1e15fd=_0x1141ca(_0x1e15fd)||_0x1e15fd);return _0x1e15fd;},_0x46f5c3=(_0x34c318,_0x3f431b)=>(_0x2c74cc,_0x1ff670)=>_0x3f431b(_0x2c74cc,_0x1ff670,_0x34c318);let _0x431330=class{constructor(_0x56b763,_0x55f63a,_0x1cd9c3){const _0x2f18d7=_0x391ebf;this[_0x2f18d7(0x23f)]=_0x56b763,this[_0x2f18d7(0x2d6)]=_0x55f63a,this[_0x2f18d7(0x3ff)]=_0x1cd9c3;}['transformStateCache'](_0x1dc0d6){this['_transformHistoryAndStateStack'](_0x1dc0d6);}['transformRemoteChangeset'](_0x51a361){const _0x1b556f=_0x391ebf,{unitID:_0x43276e}=_0x51a361,{collaboration:_0x2fd34d}=this[_0x1b556f(0x3ff)][_0x1b556f(0x323)](_0x43276e);if(_0x2fd34d['length']===0x0)return _0x51a361;let _0x65f1d7=_0x2ca890[_0x1b556f(0x451)][_0x1b556f(0x406)](_0x51a361[_0x1b556f(0x384)][0x0]);for(let _0x2a40c1=0x0;_0x2a40c1<_0x2fd34d[_0x1b556f(0x2aa)];_0x2a40c1++){const _0x2c9e9f={'id':_0x1b556f(0x35c),'params':{'unitId':_0x2fd34d[_0x2a40c1][_0x1b556f(0x3e1)],..._0x2fd34d[_0x2a40c1][_0x1b556f(0x3c1)]}},_0x304800=this[_0x1b556f(0x2d6)]['transformMutation'](_0x65f1d7,_0x2c9e9f,!0x1);if(_0x1d9678[_0x1b556f(0x444)](_0x304800))throw _0x304800[_0x1b556f(0x390)];_0x65f1d7=_0x304800['m1Prime'];}return{..._0x2ca890[_0x1b556f(0x451)]['deepClone'](_0x51a361),'mutations':[_0x65f1d7]};}['_transformHistoryAndStateStack'](_0x4d7bd0){const _0x12eb47=_0x391ebf,{unitID:_0x22e2b8}=_0x4d7bd0,{history:_0x3f9195,collaboration:_0x559844}=this[_0x12eb47(0x3ff)][_0x12eb47(0x323)](_0x22e2b8);if(_0x3f9195['length']===0x0&&_0x559844[_0x12eb47(0x2aa)]===0x0)return;const _0x531d31=[],_0x3171fc=[];let _0x18187a=_0x2ca890[_0x12eb47(0x451)]['deepClone'](_0x4d7bd0[_0x12eb47(0x384)][0x0]),_0x43d035=_0x2ca890[_0x12eb47(0x451)][_0x12eb47(0x406)](_0x4d7bd0[_0x12eb47(0x384)][0x0]);for(let _0x396a10=_0x3f9195[_0x12eb47(0x2aa)]-0x1;_0x396a10>=0x0;_0x396a10--){const _0x156a27={'id':_0x12eb47(0x35c),'params':{'unitId':_0x3f9195[_0x396a10][_0x12eb47(0x3e1)],..._0x3f9195[_0x396a10]['undoState']}},_0x516026={'id':_0x12eb47(0x35c),'params':{'unitId':_0x3f9195[_0x396a10][_0x12eb47(0x3e1)],..._0x3f9195[_0x396a10][_0x12eb47(0x3c1)]}},_0x34e1cf=this['_transformService']['transformMutation'](_0x18187a,_0x156a27,!0x1),_0x3b12b4=this[_0x12eb47(0x2d6)][_0x12eb47(0x40f)](_0x43d035,_0x516026,!0x1);if(_0x1d9678[_0x12eb47(0x444)](_0x34e1cf))throw _0x34e1cf[_0x12eb47(0x390)];if(_0x1d9678[_0x12eb47(0x444)](_0x3b12b4))throw _0x3b12b4['error'];_0x531d31[_0x12eb47(0x2f3)]({..._0x3f9195[_0x396a10],'undoState':_0x34e1cf[_0x12eb47(0x25d)][_0x12eb47(0x2ec)],'redoState':_0x3b12b4[_0x12eb47(0x25d)][_0x12eb47(0x2ec)]}),_0x18187a=_0x34e1cf['m1Prime'],_0x43d035=_0x3b12b4[_0x12eb47(0x281)];}_0x18187a=_0x2ca890[_0x12eb47(0x451)][_0x12eb47(0x406)](_0x4d7bd0[_0x12eb47(0x384)][0x0]),_0x43d035=_0x2ca890[_0x12eb47(0x451)][_0x12eb47(0x406)](_0x4d7bd0['mutations'][0x0]);for(let _0x5d3ce4=_0x559844[_0x12eb47(0x2aa)]-0x1;_0x5d3ce4>=0x0;_0x5d3ce4--){const _0x216224={'id':_0x12eb47(0x35c),'params':{'unitId':_0x559844[_0x5d3ce4][_0x12eb47(0x3e1)],..._0x559844[_0x5d3ce4]['undoState']}},_0x9f47b8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x559844[_0x5d3ce4]['unitId'],..._0x559844[_0x5d3ce4]['redoState']}},_0xfd9af1=this[_0x12eb47(0x2d6)][_0x12eb47(0x40f)](_0x18187a,_0x216224,!0x1),_0x167083=this[_0x12eb47(0x2d6)][_0x12eb47(0x40f)](_0x43d035,_0x9f47b8,!0x1);if(_0x1d9678[_0x12eb47(0x444)](_0xfd9af1))throw _0xfd9af1[_0x12eb47(0x390)];if(_0x1d9678[_0x12eb47(0x444)](_0x167083))throw _0x167083[_0x12eb47(0x390)];_0x3171fc['unshift']({..._0x559844[_0x5d3ce4],'undoState':_0xfd9af1['m2Prime'][_0x12eb47(0x2ec)],'redoState':_0x167083[_0x12eb47(0x25d)][_0x12eb47(0x2ec)]}),_0x18187a=_0xfd9af1[_0x12eb47(0x281)],_0x43d035=_0x167083[_0x12eb47(0x281)];}this[_0x12eb47(0x3ff)]['setStateCache'](_0x22e2b8,{'history':_0x531d31,'collaboration':_0x3171fc});}};_0x431330=_0x6b776([_0x46f5c3(0x0,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x46f5c3(0x1,_0x1d9678[_0x391ebf(0x325)]),_0x46f5c3(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x5e7d5c[_0x391ebf(0x395)]))],_0x431330);var _0x5e7c83=Object[_0x391ebf(0x1f0)],_0x2f1cfe=(_0x4ad44e,_0x2bb1cb,_0x473a3e,_0x1fe514)=>{for(var _0x1f57e9=_0x1fe514>0x1?void 0x0:_0x1fe514?_0x5e7c83(_0x2bb1cb,_0x473a3e):_0x2bb1cb,_0x2579ad=_0x4ad44e['length']-0x1,_0x2f6685;_0x2579ad>=0x0;_0x2579ad--)(_0x2f6685=_0x4ad44e[_0x2579ad])&&(_0x1f57e9=_0x2f6685(_0x1f57e9)||_0x1f57e9);return _0x1f57e9;},_0x5c9f94=(_0x215a6d,_0x6ad400)=>(_0x48e5e7,_0x5aeba0)=>_0x6ad400(_0x48e5e7,_0x5aeba0,_0x215a6d);let _0x4a8219=class{constructor(_0xe2d5f9,_0x4b1637){const _0x36fcb5=_0x391ebf;this[_0x36fcb5(0x23f)]=_0xe2d5f9,this[_0x36fcb5(0x2d6)]=_0x4b1637;}[_0x391ebf(0x1ee)](_0x3f36ed){const _0x26a017=_0x391ebf;var _0x11f5a3;const _0x1cb316=this['_injector'][_0x26a017(0x266)](_0x1486d2['DocSelectionManagerService']),_0x40d662=(_0x11f5a3=_0x1cb316[_0x26a017(0x403)]())!=null?_0x11f5a3:[];if(_0x40d662['length']===0x0)return;const _0x396abd=_0x3f36ed['unitID'],_0x5d560f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x396abd,'actions':null,'textRanges':_0x40d662}}],_0x5a28ed=this[_0x26a017(0x2d6)][_0x26a017(0x33a)](_0x3f36ed,_0x5d560f);if(!_0x1d9678[_0x26a017(0x437)](_0x5a28ed))throw _0x5a28ed[_0x26a017(0x390)];const _0x1355b0=_0x5a28ed['m2Prime'][0x0][_0x26a017(0x2ec)][_0x26a017(0x2a6)];Array['isArray'](_0x1355b0)&&_0x1355b0[_0x26a017(0x2aa)]&&_0x1cb316['replaceDocRanges'](_0x1355b0,{'unitId':_0x396abd,'subUnitId':_0x396abd},!0x1);}};_0x4a8219=_0x2f1cfe([_0x5c9f94(0x0,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890['Injector'])),_0x5c9f94(0x1,_0x1d9678[_0x391ebf(0x325)])],_0x4a8219);var _0x31890f=Object[_0x391ebf(0x1f0)],_0x56b47f=(_0x2a8026,_0x29dc3f,_0x258876,_0xd6f42f)=>{for(var _0x58fea8=_0xd6f42f>0x1?void 0x0:_0xd6f42f?_0x31890f(_0x29dc3f,_0x258876):_0x29dc3f,_0x471816=_0x2a8026['length']-0x1,_0x3335af;_0x471816>=0x0;_0x471816--)(_0x3335af=_0x2a8026[_0x471816])&&(_0x58fea8=_0x3335af(_0x58fea8)||_0x58fea8);return _0x58fea8;},_0xa1cdf6=(_0x4f17a2,_0x5474ac)=>(_0x639a6,_0x5c21d2)=>_0x5474ac(_0x639a6,_0x5c21d2,_0x4f17a2);let _0x438bd8=class extends _0x2ca890[_0x391ebf(0x445)]{constructor(_0x2d5041,_0x2c799d,_0x66bf87,_0x591a1b,_0x210f27,_0x3b9762,_0x30eea4,_0x518724){const _0x4df2a9=_0x391ebf;super(),_0xb14004(this,_0x4df2a9(0x41e),new _0x33e1e6['BehaviorSubject'](_0x38fa63[_0x4df2a9(0x264)][_0x4df2a9(0x302)])),(this[_0x4df2a9(0x3ff)]=_0x2d5041,this[_0x4df2a9(0x23c)]=_0x2c799d,this[_0x4df2a9(0x400)]=_0x66bf87,this[_0x4df2a9(0x414)]=_0x591a1b,this[_0x4df2a9(0x1f4)]=_0x210f27,this[_0x4df2a9(0x2f4)]=_0x3b9762,this[_0x4df2a9(0x35e)]=_0x30eea4,this[_0x4df2a9(0x38f)]=_0x518724,this[_0x4df2a9(0x35a)]());}[_0x391ebf(0x35a)](){const _0x42737d=_0x391ebf;this[_0x42737d(0x436)](this[_0x42737d(0x23c)][_0x42737d(0x31d)]['subscribe'](_0x142bef=>{const _0x44b10a=_0x42737d,_0x42dd38=this[_0x44b10a(0x3ff)][_0x44b10a(0x29f)][_0x44b10a(0x38c)](_0x3d2fbc=>{const _0x10c6ce=_0x44b10a;if(_0x3d2fbc==null)return;const {unitId:_0x5e020c,redoState:_0x11ade2,commandId:_0x27e25e}=_0x3d2fbc;if(_0x5e020c!==_0x142bef[_0x10c6ce(0x441)])return;const _0x56136d={'id':_0x27e25e,'type':_0x2ca890[_0x10c6ce(0x293)][_0x10c6ce(0x3ce)],'params':{'unitId':_0x5e020c,'actions':_0x11ade2[_0x10c6ce(0x241)],'textRanges':null}};_0x142bef['onLocalMutation'](_0x56136d);});if(_0x142bef[_0x44b10a(0x436)](_0x42dd38),_0x142bef instanceof _0x38fa63['DocCollaborationEntity']){const _0x27100d={'onTransformIME':_0x50926e=>this[_0x44b10a(0x400)][_0x44b10a(0x294)](_0x50926e),'onTransformState':_0x254fb0=>this[_0x44b10a(0x414)][_0x44b10a(0x370)](_0x254fb0),'onTransformSelections':_0x2630ed=>this[_0x44b10a(0x1f4)][_0x44b10a(0x1ee)](_0x2630ed),'onSyncEditingCollabCursor':_0x3c5e42=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x3c5e42),'onTransformRemoteChangesetByIMECache':_0x40f10a=>this[_0x44b10a(0x400)]['transformRemoteChangeset'](_0x40f10a),'onTransformRemoteChangesetByStateCache':_0x13d6b0=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x13d6b0)};_0x142bef['addHandlerCallback'](_0x27100d);}}));}};_0x438bd8=_0x56b47f([_0xa1cdf6(0x0,_0x2ca890['Inject'](_0x5e7d5c[_0x391ebf(0x395)])),_0xa1cdf6(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x3e4)])),_0xa1cdf6(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x28fe62)),_0xa1cdf6(0x3,_0x2ca890[_0x391ebf(0x2cb)](_0x431330)),_0xa1cdf6(0x4,_0x2ca890[_0x391ebf(0x2cb)](_0x4a8219)),_0xa1cdf6(0x5,_0x2ca890[_0x391ebf(0x2cb)](_0x1bba5e)),_0xa1cdf6(0x6,_0x3587ae[_0x391ebf(0x257)]),_0xa1cdf6(0x7,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x32b)]))],_0x438bd8);var _0x36a585=Object['getOwnPropertyDescriptor'],_0x18363a=(_0x14638e,_0x14c38e,_0x4ad62d,_0xfb505f)=>{const _0x255461=_0x391ebf;for(var _0x303319=_0xfb505f>0x1?void 0x0:_0xfb505f?_0x36a585(_0x14c38e,_0x4ad62d):_0x14c38e,_0x3d49b5=_0x14638e[_0x255461(0x2aa)]-0x1,_0x9c66c3;_0x3d49b5>=0x0;_0x3d49b5--)(_0x9c66c3=_0x14638e[_0x3d49b5])&&(_0x303319=_0x9c66c3(_0x303319)||_0x303319);return _0x303319;},_0x2099aa=(_0x5e3047,_0x1bb0c9)=>(_0xb3c9ff,_0x173f52)=>_0x1bb0c9(_0xb3c9ff,_0x173f52,_0x5e3047);let _0x27a98b=class extends _0x2ca890['Disposable']{constructor(_0x25e07c,_0x367b4a,_0x215ae4){const _0x4176c9=_0x391ebf;super(),_0xb14004(this,_0x4176c9(0x2ad),new Map()),_0xb14004(this,_0x4176c9(0x280),new Map()),_0xb14004(this,'_disabled',!0x1),(this[_0x4176c9(0x44a)]=_0x25e07c,this['_localStorageService']=_0x367b4a,this[_0x4176c9(0x348)]=_0x215ae4);}[_0x391ebf(0x23d)](){const _0x1d7b68=_0x391ebf;this[_0x1d7b68(0x3c3)]=!0x0;}[_0x391ebf(0x2ab)](){const _0x12e72f=_0x391ebf;this[_0x12e72f(0x3c3)]=!0x1;}get[_0x391ebf(0x28e)](){return this['_saveTaskMap'];}[_0x391ebf(0x25e)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x391ebf(0x2fa)](_0x11bae9){const _0x3ec810=_0x391ebf;return this[_0x3ec810(0x3c3)]?null:this[_0x3ec810(0x415)][_0x3ec810(0x21e)](_0x38fa63[_0x3ec810(0x459)](_0x11bae9));}async[_0x391ebf(0x442)](_0x4e205a,_0x3ce560){const _0x1d503f=_0x391ebf;return!!this[_0x1d503f(0x415)][_0x1d503f(0x363)](_0x4e205a,_0x3ce560);}[_0x391ebf(0x45d)](_0x4898e4,_0x56a6bf,_0x59442f,_0x3cd751){const _0x3cd92b=_0x391ebf,_0x484764=this[_0x3cd92b(0x348)][_0x3cd92b(0x2a4)](_0x4898e4);this[_0x3cd92b(0x2ad)][_0x3cd92b(0x40b)](_0x4898e4,{'unitID':_0x4898e4,'type':_0x56a6bf,'awaitingChangeset':_0x59442f,'mutations':_0x3cd751,'rev':_0x484764}),this[_0x3cd92b(0x280)][_0x3cd92b(0x202)](_0x4898e4)||this['_scheduleSaving'](_0x4898e4);}[_0x391ebf(0x465)](_0x280059){const _0x5f2994=_0x391ebf,_0x5988c6=this['_getSaveTimeout']();_0x5988c6===0x0?this[_0x5f2994(0x3e9)](_0x280059):this['_saveTaskMap'][_0x5f2994(0x40b)](_0x280059,setTimeout(()=>this[_0x5f2994(0x3e9)](_0x280059),_0x5988c6));}[_0x391ebf(0x29d)](){const _0x50cd85=_0x391ebf;var _0x15e390;return(_0x15e390=this[_0x50cd85(0x44a)]['getConfig'](_0x38fa63['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x15e390:_0x38fa63[_0x50cd85(0x360)];}[_0x391ebf(0x3e9)](_0x5556a9){const _0x6ac5ae=_0x391ebf,_0x498208=this[_0x6ac5ae(0x280)][_0x6ac5ae(0x266)](_0x5556a9);return _0x498208!==void 0x0&&window[_0x6ac5ae(0x320)](_0x498208),this['_localStorageService'][_0x6ac5ae(0x363)](_0x38fa63[_0x6ac5ae(0x459)](_0x5556a9),this[_0x6ac5ae(0x2ad)][_0x6ac5ae(0x266)](_0x5556a9))[_0x6ac5ae(0x45e)](()=>this[_0x6ac5ae(0x280)]['delete'](_0x5556a9));}async[_0x391ebf(0x242)](){const _0x35534a=_0x391ebf,_0x384aa2=[];this['_saveTaskMap'][_0x35534a(0x205)]((_0x10b77e,_0x2d9aa6)=>{const _0x2606aa=_0x35534a;window[_0x2606aa(0x320)](_0x10b77e),_0x384aa2[_0x2606aa(0x3d1)](this[_0x2606aa(0x3e9)](_0x2d9aa6)[_0x2606aa(0x45e)](()=>{const _0x4de291=_0x2606aa;this[_0x4de291(0x280)][_0x4de291(0x3f1)](_0x2d9aa6);}));}),await Promise[_0x35534a(0x3a0)](_0x384aa2);}};_0x27a98b=_0x18363a([_0x2099aa(0x0,_0x2ca890['IConfigService']),_0x2099aa(0x1,_0x2ca890['ILocalStorageService']),_0x2099aa(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x1d9678['RevisionService']))],_0x27a98b);class _0x3ec3af extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(){const _0x410c0f=_0x391ebf;super(),_0xb14004(this,'urlChange$'),this['urlChange$']=_0x33e1e6[_0x410c0f(0x2bb)](window,_0x410c0f(0x2d2))['pipe'](_0x33e1e6[_0x410c0f(0x1f1)](this[_0x410c0f(0x22a)]),_0x33e1e6[_0x410c0f(0x3f0)](0x1),_0x33e1e6[_0x410c0f(0x221)](void 0x0));}[_0x391ebf(0x22c)](_0x18d956,_0xb09806,_0x5f4596=!0x1){const _0x1e1eaf=_0x391ebf,_0x570999=new URL(window[_0x1e1eaf(0x218)][_0x1e1eaf(0x34f)]);_0x570999[_0x1e1eaf(0x34d)][_0x1e1eaf(0x40b)](_0x18d956,_0xb09806),_0x5f4596?window[_0x1e1eaf(0x1fb)][_0x1e1eaf(0x3bd)]('','',_0x570999['toString']()):window[_0x1e1eaf(0x1fb)][_0x1e1eaf(0x462)]('','',_0x570999[_0x1e1eaf(0x3e5)]());}['removeParam'](_0x293117,_0x1a8b9a=!0x1){const _0x4b7bfb=_0x391ebf,_0x17a7db=new URL(window[_0x4b7bfb(0x218)]['href']);_0x17a7db[_0x4b7bfb(0x34d)][_0x4b7bfb(0x3f1)](_0x293117),_0x1a8b9a?window['history']['replaceState']('','',_0x17a7db['toString']()):window[_0x4b7bfb(0x1fb)][_0x4b7bfb(0x462)]('','',_0x17a7db['toString']());}[_0x391ebf(0x433)](_0x45a50f){const _0x2ec166=_0x391ebf;var _0x793a85;return(_0x793a85=new URL(window[_0x2ec166(0x218)][_0x2ec166(0x34f)])['searchParams'][_0x2ec166(0x266)](_0x45a50f))!=null?_0x793a85:void 0x0;}}var _0x3069b8=Object['defineProperty'],_0x449f5a=Object[_0x391ebf(0x1f0)],_0x2afa79=(_0x17ebac,_0x1c1e3b,_0x51c5d9)=>_0x1c1e3b in _0x17ebac?_0x3069b8(_0x17ebac,_0x1c1e3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51c5d9}):_0x17ebac[_0x1c1e3b]=_0x51c5d9,_0x45931e=(_0x1f74e0,_0x34855c,_0x4e7b72,_0x58621e)=>{const _0x370a51=_0x391ebf;for(var _0x4de8b9=_0x58621e>0x1?void 0x0:_0x58621e?_0x449f5a(_0x34855c,_0x4e7b72):_0x34855c,_0x70f3bd=_0x1f74e0[_0x370a51(0x2aa)]-0x1,_0x1ddab8;_0x70f3bd>=0x0;_0x70f3bd--)(_0x1ddab8=_0x1f74e0[_0x70f3bd])&&(_0x4de8b9=_0x1ddab8(_0x4de8b9)||_0x4de8b9);return _0x4de8b9;},_0x3f4fed=(_0x5de78c,_0x682b0)=>(_0x3ff188,_0x340441)=>_0x682b0(_0x3ff188,_0x340441,_0x5de78c),_0xd2e4c7=(_0x5ce33e,_0x1ca6f0,_0x4a2047)=>_0x2afa79(_0x5ce33e,_0x1ca6f0+'',_0x4a2047);const _0x18342d=_0x391ebf(0x430);_0x5afeab[_0x391ebf(0x250)]=class extends _0x2ca890[_0x391ebf(0x39c)]{constructor(_0x117a9b=_0x28842c,_0x5096af,_0x1b90f8,_0x6024a5){const _0x596958=_0x391ebf;super(),this[_0x596958(0x215)]=_0x117a9b,this[_0x596958(0x30b)]=_0x5096af,this[_0x596958(0x23f)]=_0x1b90f8,this['_configService']=_0x6024a5;const {..._0x3f1c2b}=_0x2ca890[_0x596958(0x3b7)]({},_0x28842c,this[_0x596958(0x215)]);this[_0x596958(0x44a)][_0x596958(0x41f)](_0x3aae9c,_0x3f1c2b);}[_0x391ebf(0x314)](){const _0x120e34=_0x391ebf;this[_0x120e34(0x43c)](),this['_initDependencies']();}[_0x391ebf(0x212)](){this['_registerRenderDependencies']();}[_0x391ebf(0x43c)](){const _0x58c6d2=_0x391ebf;var _0x772c01;const _0x3cbc82=[[_0x576435],[_0x4a8219],[_0x28fe62],[_0x431330],[_0x1bba5e],[_0x289033,{'useClass':_0x3ec3af}],[_0x39816b['ISocketService'],{'useClass':_0x39816b['WebSocketService']}],[_0x38fa63[_0x58c6d2(0x3a2)],{'useClass':_0x27a98b}],[_0x5afeab[_0x58c6d2(0x2e5)]],[_0x438bd8],[_0x353d66],[_0x198743],[_0x5b880e],[_0x5afeab['CollaborationDataLoaderController']]];_0x2ca890[_0x58c6d2(0x43b)](this[_0x58c6d2(0x23f)],_0x2ca890['mergeOverrideWithDependencies'](_0x3cbc82,(_0x772c01=this[_0x58c6d2(0x215)])==null?void 0x0:_0x772c01[_0x58c6d2(0x40a)]));}['_registerRenderDependencies'](){const _0x339cec=_0x391ebf;this[_0x339cec(0x436)](this[_0x339cec(0x30b)][_0x339cec(0x3da)](_0x2ca890['UniverInstanceType'][_0x339cec(0x41a)],[_0x2cc591])),this[_0x339cec(0x436)](this[_0x339cec(0x30b)][_0x339cec(0x3da)](_0x2ca890[_0x339cec(0x39f)]['UNIVER_SHEET'],[_0x38b921]));}[_0x391ebf(0x2c2)](){const _0x5c38da=_0x391ebf;_0x2ca890['touchDependencies'](this[_0x5c38da(0x23f)],[[_0x198743],[_0x5afeab[_0x5c38da(0x2e5)]],[_0x438bd8],[_0x353d66],[_0x5afeab[_0x5c38da(0x394)]]]);}},_0xd2e4c7(_0x5afeab['UniverCollaborationClientUIPlugin'],_0x391ebf(0x367),_0x18342d),_0x5afeab[_0x391ebf(0x250)]=_0x45931e([_0x2ca890[_0x391ebf(0x396)](_0x38fa63[_0x391ebf(0x408)]),_0x3f4fed(0x1,_0x5483ad['IRenderManagerService']),_0x3f4fed(0x2,_0x2ca890['Inject'](_0x2ca890[_0x391ebf(0x232)])),_0x3f4fed(0x3,_0x2ca890[_0x391ebf(0x292)])],_0x5afeab['UniverCollaborationClientUIPlugin']);var _0x381ccd=Object[_0x391ebf(0x1f0)],_0xba2d01=(_0x40d838,_0x655b21,_0xa4642,_0x22bf38)=>{for(var _0x1d0b10=_0x22bf38>0x1?void 0x0:_0x22bf38?_0x381ccd(_0x655b21,_0xa4642):_0x655b21,_0x2f107=_0x40d838['length']-0x1,_0x406df1;_0x2f107>=0x0;_0x2f107--)(_0x406df1=_0x40d838[_0x2f107])&&(_0x1d0b10=_0x406df1(_0x1d0b10)||_0x1d0b10);return _0x1d0b10;},_0x477f62=(_0x28181b,_0x577c46)=>(_0x29cb19,_0x3c12d6)=>_0x577c46(_0x29cb19,_0x3c12d6,_0x28181b);_0x5afeab[_0x391ebf(0x2ce)]=class extends _0x38fa63[_0x391ebf(0x357)]{constructor(_0x171a15,_0x43ec1e,_0x11eb9b,_0x3dde00,_0x54660d){super(_0x171a15,_0x43ec1e,_0x11eb9b,_0x3dde00,_0x54660d);}async['createSocket'](_0x242467){const _0x408e93=_0x391ebf,_0x57352b=await this[_0x408e93(0x27b)](),_0x42dcd9=this[_0x408e93(0x233)](_0x242467,_0x57352b);return this[_0x408e93(0x38e)](_0x42dcd9);}[_0x391ebf(0x233)](_0x20e81a,_0x16475a){const _0x2cf538=_0x391ebf,_0x118bd5=typeof window>'u'?new URL(_0x20e81a):new URL(_0x20e81a,window[_0x2cf538(0x218)][_0x2cf538(0x1fc)]);_0x118bd5[_0x2cf538(0x34d)]['set'](_0x2cf538(0x24e),_0x16475a);const _0x39cb93=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2cf538(0x218)]['search']);return _0x39cb93['get'](_0x2cf538(0x3f8))&&_0x118bd5[_0x2cf538(0x34d)][_0x2cf538(0x40b)](_0x2cf538(0x3f8),_0x39cb93[_0x2cf538(0x266)]('runId')),_0x118bd5[_0x2cf538(0x3e5)]();}async['_getSessionTicket'](){const _0x22b060=_0x391ebf;var _0x320923,_0x568c31,_0x22f344;const _0x32bd1a=this[_0x22b060(0x44a)][_0x22b060(0x2e4)](_0x38fa63[_0x22b060(0x387)]),_0x552b8c=(_0x320923=_0x32bd1a==null?void 0x0:_0x32bd1a['wsSessionTicketUrl'])!=null?_0x320923:_0x38fa63['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x22f344=(_0x568c31=(await this[_0x22b060(0x422)][_0x22b060(0x266)](_0x552b8c,{'headers':{'Content-Type':_0x22b060(0x25f)}}))['body'])==null?void 0x0:_0x568c31['ticket'])!=null?_0x22f344:'';}},_0x5afeab[_0x391ebf(0x2ce)]=_0xba2d01([_0x477f62(0x0,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x477f62(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x39816b[_0x391ebf(0x455)])),_0x477f62(0x2,_0x2ca890['IConfigService']),_0x477f62(0x3,_0x2ca890['ILogService']),_0x477f62(0x4,_0x1d9678['ISnapshotServerService'])],_0x5afeab[_0x391ebf(0x2ce)]);const _0x2f6eec=0x7530,_0x909920=_0x391ebf(0x443);class _0x5d6b62 extends _0x2ca890[_0x391ebf(0x445)]{constructor(){const _0x29c68a=_0x391ebf;super(),_0xb14004(this,_0x29c68a(0x2e0),_0x2ca890['generateRandomId']()),_0xb14004(this,'_selfUnitIDs',new Set()),_0xb14004(this,_0x29c68a(0x249),new Map()),_0xb14004(this,_0x29c68a(0x423),null),_0xb14004(this,_0x29c68a(0x253),new Map()),_0xb14004(this,'_unitStatus',new Map()),this[_0x29c68a(0x20d)]();}[_0x391ebf(0x25e)](){const _0x4f5579=_0x391ebf;super[_0x4f5579(0x25e)](),this[_0x4f5579(0x253)]['forEach']((_0x5499ab,_0x5d2249)=>this[_0x4f5579(0x1e7)](_0x5d2249)),this[_0x4f5579(0x423)]&&window[_0x4f5579(0x42c)](this[_0x4f5579(0x423)]);}[_0x391ebf(0x428)](_0x9cac28){const _0x19661a=_0x391ebf;return this[_0x19661a(0x229)](_0x9cac28)[_0x19661a(0x1ef)](_0x33e1e6[_0x19661a(0x25b)]());}[_0x391ebf(0x3eb)](_0x280d37){const _0x450672=_0x391ebf;this[_0x450672(0x296)][_0x450672(0x30d)]===0x0&&this[_0x450672(0x3e3)](),this[_0x450672(0x296)][_0x450672(0x2e9)](_0x280d37),this[_0x450672(0x40c)]({'type':0x0,'memberID':this[_0x450672(0x2e0)],'unitIDs':[_0x280d37],'isForwarded':!0x1});}['disposeUnit'](_0x13dca6){const _0x3496cc=_0x391ebf;this['_selfUnitIDs'][_0x3496cc(0x3f1)](_0x13dca6),this[_0x3496cc(0x296)][_0x3496cc(0x30d)]===0x0&&this[_0x3496cc(0x423)]&&window['clearInterval'](this[_0x3496cc(0x423)]);}[_0x391ebf(0x20d)](){const _0x2b0782=_0x391ebf;this[_0x2b0782(0x436)](_0x2ca890['toDisposable'](_0x33e1e6[_0x2b0782(0x2bb)](window,_0x2b0782(0x30f))[_0x2b0782(0x38c)](_0x592653=>{const _0x6bab43=_0x2b0782;if(_0x592653['key']!==_0x909920||!_0x592653[_0x6bab43(0x3e6)])return;const _0x275193=JSON[_0x6bab43(0x2b4)](_0x592653[_0x6bab43(0x3e6)]);this[_0x6bab43(0x3fc)](_0x275193);}))),window[_0x2b0782(0x469)](_0x2b0782(0x308),()=>this[_0x2b0782(0x40c)]({'type':0x1,'memberID':this[_0x2b0782(0x2e0)],'unitIDs':Array[_0x2b0782(0x2b7)](this[_0x2b0782(0x296)])}));}[_0x391ebf(0x3fc)](_0x5cda5a){const _0x44f43e=_0x391ebf;switch(_0x5cda5a['type']){case 0x0:this['_handleJoinEvent'](_0x5cda5a);break;case 0x1:this[_0x44f43e(0x1ed)](_0x5cda5a);break;case 0x2:this[_0x44f43e(0x2a2)](_0x5cda5a);break;}}[_0x391ebf(0x3b5)](_0x31bafe){const _0x548740=_0x391ebf,{unitIDs:_0x237910,memberID:_0xa7e87e,isForwarded:_0x4d0f04}=_0x31bafe;_0x237910[_0x548740(0x205)](_0x5e27e9=>{const _0x556e32=_0x548740;if(!_0x4d0f04&&this[_0x556e32(0x249)]['has'](_0x5e27e9)&&this[_0x556e32(0x229)](_0x5e27e9)[_0x556e32(0x219)](_0x38fa63[_0x556e32(0x285)][_0x556e32(0x36f)]),!this[_0x556e32(0x249)]['has'](_0x5e27e9)||!this[_0x556e32(0x249)][_0x556e32(0x266)](_0x5e27e9)[_0x556e32(0x202)](_0xa7e87e)){const _0xfce587=this[_0x556e32(0x249)][_0x556e32(0x266)](_0x5e27e9)||new Set();_0xfce587[_0x556e32(0x2e9)](_0xa7e87e),this[_0x556e32(0x249)][_0x556e32(0x40b)](_0x5e27e9,_0xfce587),this[_0x556e32(0x424)](_0xa7e87e);}}),_0x4d0f04||this['_send']({'type':0x0,'memberID':this[_0x548740(0x2e0)],'unitIDs':[...this[_0x548740(0x296)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x416755){const _0x5a5653=_0x391ebf;this[_0x5a5653(0x1e7)](_0x416755);const _0xb287ff=window[_0x5a5653(0x243)](()=>{const _0x217e24=_0x5a5653;this['_unitOnClients'][_0x217e24(0x205)](_0x13d16d=>{const _0x4ba557=_0x217e24;_0x13d16d[_0x4ba557(0x3f1)](_0x416755);});},_0x2f6eec*0x2);this[_0x5a5653(0x253)][_0x5a5653(0x40b)](_0x416755,_0xb287ff);}[_0x391ebf(0x1e7)](_0x18e740){const _0x10ef9c=_0x391ebf;if(this['_clearOtherTimers'][_0x10ef9c(0x202)](_0x18e740)){const _0x3c3f37=this['_clearOtherTimers'][_0x10ef9c(0x266)](_0x18e740);_0x3c3f37&&window['clearTimeout'](_0x3c3f37),this[_0x10ef9c(0x253)][_0x10ef9c(0x40b)](_0x18e740,null);}}[_0x391ebf(0x1ed)](_0x5cee87){const _0x55fb0e=_0x391ebf,{memberID:_0x59d4ef,unitIDs:_0x4eaa32}=_0x5cee87;_0x4eaa32[_0x55fb0e(0x205)](_0x506aa2=>{const _0x5a464d=_0x55fb0e;var _0x5b4325;const _0x370237=this[_0x5a464d(0x249)][_0x5a464d(0x266)](_0x506aa2);_0x370237&&(_0x370237[_0x5a464d(0x3f1)](_0x59d4ef),(_0x5b4325=this[_0x5a464d(0x229)](_0x506aa2))==null||_0x5b4325[_0x5a464d(0x219)](_0x370237[_0x5a464d(0x30d)]===0x0?_0x38fa63[_0x5a464d(0x285)]['NO_OTHER_CLIENTS_EDITING']:_0x38fa63[_0x5a464d(0x285)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x59d4ef);}[_0x391ebf(0x2a2)](_0x250a25){const _0x23563f=_0x391ebf;this[_0x23563f(0x424)](_0x250a25[_0x23563f(0x2bd)]);}[_0x391ebf(0x40c)](_0x8273b6){const _0x27c006=_0x391ebf;localStorage[_0x27c006(0x363)](_0x909920,JSON[_0x27c006(0x22e)](_0x8273b6));}[_0x391ebf(0x3e3)](){const _0xaa62be=_0x391ebf;this[_0xaa62be(0x423)]=window[_0xaa62be(0x236)](()=>{const _0x49ee0e=_0xaa62be;this[_0x49ee0e(0x40c)]({'type':0x2,'memberID':this['_id']});},_0x2f6eec);}['_ensureSubject'](_0x38a0fd){const _0x1dad6a=_0x391ebf;return this[_0x1dad6a(0x340)][_0x1dad6a(0x202)](_0x38a0fd)||this[_0x1dad6a(0x340)][_0x1dad6a(0x40b)](_0x38a0fd,new _0x33e1e6[(_0x1dad6a(0x2af))](_0x38fa63[_0x1dad6a(0x285)][_0x1dad6a(0x3aa)])),this[_0x1dad6a(0x340)][_0x1dad6a(0x266)](_0x38a0fd);}}var _0x2fb1ae=(_0x13af50=>(_0x13af50[_0x13af50[_0x391ebf(0x304)]=0x0]='UNDEFINED',_0x13af50[_0x13af50['OK']=0x1]='OK',_0x13af50[_0x13af50[_0x391ebf(0x466)]=0x2]='INTERNAL_ERROR',_0x13af50[_0x13af50[_0x391ebf(0x3bf)]=0x3]=_0x391ebf(0x3bf),_0x13af50[_0x13af50[_0x391ebf(0x239)]=0x4]=_0x391ebf(0x239),_0x13af50[_0x13af50['UNAUTHENTICATED']=0x5]=_0x391ebf(0x3b6),_0x13af50[_0x13af50[_0x391ebf(0x446)]=0x6]=_0x391ebf(0x446),_0x13af50[_0x13af50[_0x391ebf(0x343)]=0x7]=_0x391ebf(0x343),_0x13af50[_0x13af50[_0x391ebf(0x2e8)]=0x8]=_0x391ebf(0x2e8),_0x13af50[_0x13af50[_0x391ebf(0x300)]=0x9]='COMPLETION_FINISHED',_0x13af50[_0x13af50['LOGIN_FAILED']=0xa]=_0x391ebf(0x2db),_0x13af50[_0x13af50[_0x391ebf(0x460)]=0xb]=_0x391ebf(0x460),_0x13af50[_0x13af50[_0x391ebf(0x35f)]=0xc]=_0x391ebf(0x35f),_0x13af50[_0x13af50[_0x391ebf(0x385)]=0xd]=_0x391ebf(0x385),_0x13af50[_0x13af50[_0x391ebf(0x472)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x13af50[_0x13af50[_0x391ebf(0x31f)]=0x1389]=_0x391ebf(0x31f),_0x13af50[_0x13af50[_0x391ebf(0x449)]=0x1771]=_0x391ebf(0x449),_0x13af50[_0x13af50[_0x391ebf(0x2f0)]=0x1772]=_0x391ebf(0x2f0),_0x13af50[_0x13af50['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x13af50[_0x13af50['APPLY_REJECT']=0x1b59]=_0x391ebf(0x2c5),_0x13af50[_0x13af50['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x13af50[_0x13af50['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x391ebf(0x391),_0x13af50[_0x13af50[_0x391ebf(0x263)]=0x1b5c]=_0x391ebf(0x263),_0x13af50[_0x13af50[_0x391ebf(0x3db)]=0x1b5d]=_0x391ebf(0x3db),_0x13af50[_0x13af50[_0x391ebf(0x397)]=0x1f41]=_0x391ebf(0x397),_0x13af50[_0x13af50[_0x391ebf(0x279)]=0x2329]=_0x391ebf(0x279),_0x13af50[_0x13af50[_0x391ebf(0x420)]=0x232a]=_0x391ebf(0x420),_0x13af50[_0x13af50[_0x391ebf(0x46c)]=0x232b]=_0x391ebf(0x46c),_0x13af50[_0x13af50[_0x391ebf(0x3f4)]=0x232c]=_0x391ebf(0x3f4),_0x13af50[_0x13af50[_0x391ebf(0x1f3)]=0x232d]=_0x391ebf(0x1f3),_0x13af50[_0x13af50[_0x391ebf(0x32a)]=0x2711]=_0x391ebf(0x32a),_0x13af50[_0x13af50['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x13af50[_0x13af50['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x391ebf(0x453),_0x13af50[_0x13af50[_0x391ebf(0x2ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x13af50[_0x13af50[_0x391ebf(0x209)]=0x271a]=_0x391ebf(0x209),_0x13af50[_0x13af50['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x391ebf(0x305),_0x13af50[_0x13af50['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x13af50[_0x13af50[_0x391ebf(0x347)]=0x271d]=_0x391ebf(0x347),_0x13af50[_0x13af50[_0x391ebf(0x398)]=0x271e]=_0x391ebf(0x398),_0x13af50[_0x13af50[_0x391ebf(0x33c)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x13af50[_0x13af50[_0x391ebf(0x310)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x13af50[_0x13af50[_0x391ebf(0x3cb)]=0x2af9]=_0x391ebf(0x3cb),_0x13af50[_0x13af50[_0x391ebf(0x3f5)]=0x2ee1]=_0x391ebf(0x3f5),_0x13af50[_0x13af50['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x13af50[_0x13af50[_0x391ebf(0x224)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x13af50[_0x13af50[_0x391ebf(0x331)]=0x2ee4]=_0x391ebf(0x331),_0x13af50[_0x13af50[_0x391ebf(0x330)]=0x2ee5]=_0x391ebf(0x330),_0x13af50[_0x13af50[_0x391ebf(0x2f6)]=0x32c9]=_0x391ebf(0x2f6),_0x13af50[_0x13af50[_0x391ebf(0x467)]=0x32ca]=_0x391ebf(0x467),_0x13af50[_0x13af50[_0x391ebf(0x2f9)]=0x32cb]=_0x391ebf(0x2f9),_0x13af50[_0x13af50['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x13af50))(_0x2fb1ae||{}),_0x115aa2=Object[_0x391ebf(0x1f0)],_0x566c7c=(_0x3bc9,_0x111a7f,_0x388888,_0x23c4fe)=>{const _0x28e7c5=_0x391ebf;for(var _0x3a56ad=_0x23c4fe>0x1?void 0x0:_0x23c4fe?_0x115aa2(_0x111a7f,_0x388888):_0x111a7f,_0x3720f3=_0x3bc9[_0x28e7c5(0x2aa)]-0x1,_0x56acbc;_0x3720f3>=0x0;_0x3720f3--)(_0x56acbc=_0x3bc9[_0x3720f3])&&(_0x3a56ad=_0x56acbc(_0x3a56ad)||_0x3a56ad);return _0x3a56ad;},_0x184eaf=(_0x9644c2,_0x571601)=>(_0x34b9a5,_0x3bd437)=>_0x571601(_0x34b9a5,_0x3bd437,_0x9644c2);_0x5afeab['RemoteUniscriptService']=class extends _0x2ca890['Disposable']{constructor(_0x233b42,_0x32db63,_0x2224fb){const _0x57779c=_0x391ebf;super(),this[_0x57779c(0x2b2)]=_0x233b42,this[_0x57779c(0x422)]=_0x32db63,this[_0x57779c(0x44a)]=_0x2224fb;}async['runOnServer'](_0x2354db,_0x5517ac,_0x40454d,..._0x37bdc9){const _0x328fff=_0x391ebf;var _0x230af0,_0x255370,_0x4bf36f,_0x16c4ba;const _0x54d579=this[_0x328fff(0x2b2)][_0x328fff(0x27d)]();if(!_0x54d579)throw new Error(_0x328fff(0x473));const _0x50ae6c=((_0x230af0=this['_configService']['getConfig'](_0x38fa63[_0x328fff(0x328)]))!=null?_0x230af0:_0x38fa63[_0x328fff(0x1f9)])+'/'+_0x2354db+'/run/'+_0x5517ac,_0x190085=new URL(window[_0x328fff(0x218)][_0x328fff(0x34f)]),_0x5237e4={'scriptId':_0x2354db,'runId':(_0x255370=_0x190085[_0x328fff(0x34d)]['get'](_0x328fff(0x3f8)))!=null?_0x255370:'','function':_0x5517ac,'unitId':_0x54d579[_0x328fff(0x2c4)](),'argsOfFunction':JSON['stringify'](_0x37bdc9),'invokeId':(_0x4bf36f=_0x40454d[_0x328fff(0x3e0)])!=null?_0x4bf36f:'','executionId':(_0x16c4ba=_0x40454d[_0x328fff(0x39b)])!=null?_0x16c4ba:''};try{const _0x344889=await this[_0x328fff(0x422)][_0x328fff(0x3cf)](_0x50ae6c,{'body':_0x5237e4});return _0x344889['body'][_0x328fff(0x390)]&&_0x344889[_0x328fff(0x235)][_0x328fff(0x390)]['code']!==_0x2fb1ae['OK']?_0x328fff(0x23e):_0x344889[_0x328fff(0x235)][_0x328fff(0x227)];}catch{return _0x328fff(0x23e);}}},_0x5afeab[_0x391ebf(0x204)]=_0x566c7c([_0x184eaf(0x0,_0x2ca890[_0x391ebf(0x216)]),_0x184eaf(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x39816b[_0x391ebf(0x455)])),_0x184eaf(0x2,_0x2ca890[_0x391ebf(0x292)])],_0x5afeab[_0x391ebf(0x204)]),_0x5afeab[_0x391ebf(0x2bc)]=_0x412836,_0x5afeab[_0x391ebf(0x315)]=_0x289033,_0x5afeab[_0x391ebf(0x372)]=_0x5dafa9,_0x5afeab['WebBrowserSingleActiveUnitService']=_0x5d6b62,_0x5afeab[_0x391ebf(0x393)]=_0x3ec3af,Object[_0x391ebf(0x3c0)](_0x5afeab,Symbol[_0x391ebf(0x470)],{'value':'Module'});}));function _0x4b14(_0x335c7a,_0x110cae){const _0x330fa0=_0x330f();return _0x4b14=function(_0x4b1436,_0x38387a){_0x4b1436=_0x4b1436-0x1e5;let _0x478f6f=_0x330fa0[_0x4b1436];return _0x478f6f;},_0x4b14(_0x335c7a,_0x110cae);}function _0x330f(){const _0x4fb481=['push','color','min','transform','COLORS','BuiltInUIPart','green.600','_updateCollabCursors','collabStatus.synced','registerRenderModule','APPLY_DUPLICATED','_sheetSkeletonManagerService','UniverProCollaborationClient','onMouseMove','reconnect','invokeId','unitId','useRef','_scheduleHeartbeat','CollaborationController','toString','newValue','Vector2','clipPath','_saveCache','_refreshCollabCursors','editingUnit','handleMoveRange','registerBeforeClose','selections','permission.title','shareReplay','delete','getCollabEntity$','getOffsetConfig','LICENSE_EXPORT_SIZE_EXCEEDED','INVITE_CODE_HAS_BEEN_UES','init','arc','runId','skeleton','UniverSheetsUi','extend','_handleEvent','DataLoaderService','ILogService','_docStateChangeManagerService','_docTransformIMECacheService','getMember','addClipboardHook','getDocRanges','whenReady','SHEET_VIEWPORT_KEY','deepClone','_localCacheService','UniverCollaborationClientPlugin','measureText','override','set','_send','_context','top','transformMutation','values','FETCH_MISS','CollaborationEvent','115ceUezW','_docTransformStateCacheService','_localStorageService','_themeService','_urlService','_shapes','generateRandomId','UNIVER_DOC','exports','purple.300','_entityInit$','_status$','setConfig','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','_httpService','_heartbeatTimer','_scheduleClearOtherTimer','Error','getUndoRedoMutationParamsCache','xlink:href','getUnitStatus$','11JynMLJ','RECT','InsertRowCommandId','clearInterval','jsx','range','TEXT_RANGE_LAYER_INDEX','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertColCommandId','_setupBeforeClosingHandler','getParam','setShapeProps','_color','disposeWithMe','isTransformMutationsWithChangesetSuccess','collabCursorState$','fillText','url(#$1','registerDependencies','_registerDependencies','prototype','_getMergeRange','@univerjs-pro/collaboration-client','getCollabCursors$','unitID','saveOfflineData','ACTIVE_UNIT_EVENT_CHANNEL','isTransformMutationFailure','Disposable','ALREADY_EXISTS','onTransformChange$','rxjs/operators','SNAPSHOT_INVALID_SNAPSHOT','_configService','path','height','M0\x200H16V16H0z','url(#off-line-icon_clip0_910_343)','selection','5920788CkZzIo','Tools','_entities','YUUMI_RATE_OVER_LIMIT','collab-text-range-','HTTPService','JOIN_ROOM_FAILED','combineLatest','complete','getLocalCacheKey','getCurrentUnitForType','row','colorChannel1','updateOfflineData','then','getViewport','MOBILE_VERIFY_CODE_MISMATCH','UniverProCollaboration','pushState','_assignedColors','SessionStatus','_scheduleSaving','INTERNAL_ERROR','MOBILE_HAS_BEEN_BOUND','transformByState','addEventListener','_cursor','RichTextEditingMutation','LICENSE_IMPORT_SIZE_EXCEEDED','jsxs','UniverNetwork','runRefRangeMutations','toStringTag','RegularPolygon','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/docs-ui','onPointerMove$','_removeClearOtherTimer','_collabSessionService','UniverEngineFormula','NodePositionConvertToRectRange','_hideTimer','@univerjs/network','_handleLeaveEvent','transformSelections','pipe','getOwnPropertyDescriptor','takeUntil','_collabCursorController','LICENSE_DISTRO_REJECTED','_docTransformSelectionsService','startRow','react/jsx-runtime','getUnhiddenWorksheets','getColor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_colorIndex','history','origin','_eventUnsubscribe','_anchorDot','1em','_document','onCommandExecuted','has','black','RemoteUniscriptService','forEach','saveImage','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','icon','YUUMI_NO_CUBOID_FOR_QUESTION','INotificationService','_syncEditingCollabCursorService','replace','_init','name','subunit','loadUnit','addObject','onRendered','IRemoteInstanceService','_commandService','_config','IUniverInstanceService','UniverEngineRender','location','next','DisposableCollection','unsubscribe','getRelativeToViewportCoord','handleIRemoveCol','getItem','_startDocCollabCursor','USERS_LEAVE','mapTo','getActiveRange','_dataLoaderService','INVITE_CODE_REQUIRED','assign','debug','result','_drawRectRange','_ensureSubject','dispose$','_online','setParam','uni.network.url-service','stringify','handleInsertRangeMoveDown','_getSheetObject','DOC_RANGE_TYPE','Injector','_createSocketURL','closePath','body','setInterval','fill','asObservable','NOT_FOUND','SheetSkeletonManagerService','UniverRpc','_collaborationController','disableLocalCache','Failed','_injector','20JTRNcB','actions','exhaustSavingTask','setTimeout','forwardRef','_roomMembers$','33035juHhIK','restore','call','_unitOnClients','handleIRemoveRow','@univerjs/ui','OnLineIcon','type','sessionTicket','_backgroundColor','UniverCollaborationClientUIPlugin','_draw','_hover','_clearOtherTimers','defIds','onPointerLeave$','displayName','IMessageService','className','UniverDocs','max','distinctUntilChanged','_transformUndoRedoStack','m2Prime','dispose','application/json','52869ynZwuD','_getScale','UPDATE_CURSOR','APPLY_PERMISSION_DENIED','CollaborationStatus','setAlpha','get','0\x200\x2016\x2016','switchMap','getCoordByCell','div','_onCursorDelete','operators','isArray','_drawTextRange','session.connection-failed','roomMembers','handleDeleteRangeMoveUp','60nMyJSk','VIEW_MAIN','indexOf','collab-rect-range-','getSheetBySheetId','tag','_drawAnchor','LICENSE_MAX_UNITS_EXCEEDED','bottom','_getSessionTicket','getRangePointData','getFocusedUnit','SetWorksheetActivateCommand','EffectRefRangId','_saveTaskMap','m1Prime','cursorInfo','show','mask','UnitStatus','session.will-retry','IBeforeCloseService','_initCommandExecutedListener','UniverDocsUi','DocIMEInputManagerService','off-line-icon_clip0_910_343','Subject','createInstance','saveTaskMap','getCellPositionByOffset','currentSkeleton$','DocSelectionManagerService','IConfigService','CommandType','transformIMECache','_memberService','_selfUnitIDs','SetSelectionsOperation','_updateSubUnitFromURLParams','ranges','_session','collabStatus.fetchMiss','collabStatus.conflict','_getSaveTimeout','eventID','docStateChange$','includes','idSuffix','_handleHeartbeatEvent','_refRangeService','getCurrentRevOfUnit','OffLineIcon','textRanges','MemberService','toDisposable','status$','length','enableLocalCache','CollaborationUIEventId','_cachedData','_initResize','BehaviorSubject','isEditing','string','_instanceService','#FFF','parse','_setupSubUnitSync','collabStatus.offline','from','subscribeEvent','deserializeRangeWithSheet','YUUMI_SUBSCRIPTION_NOT_FOUND','fromEvent','CollaborationStatusDisplay','memberID','serializeRangeWithSheet','UNIVER_SHEET','requireSession','collaboration.single-unit.warning','_initDependencies','substring','getUnitId','APPLY_REJECT','fillStyle','attrs','children','Tooltip','object','Inject','focused$','420OiWpvE','BrowserCollaborationSocketService','filter','toRgbString','MessageType','popstate','collaboration-client-ui.config','UniverProCollaborationClientUi','_colorAssignService','_transformService','throttleTime','_imageIoService','apply','ColorKit','LOGIN_FAILED','getSheetObject','red.300','SOCKET_FAILED','sheetID','_id','IDocClipboardService','_toggleOnline','_transformPreviousActiveRange','getConfig','DesktopCollaborationStatusDisplayController','_getAnchorBounding','on-line-icon_clip0_910_349','TOO_MANY_REQUESTS','add','moveTo','currentColor','params','0\x200\x2017\x2016','RemoveColCommandId','startColumn','SNAPSHOT_HAS_BEEN_REMOVED','_docSkeletonManagerService','use','unshift','_docSyncEditingCollabCursorService','getOwnPropertySymbols','WECHAT_HAS_BEEN_BOUND','5036UFmYgH','getMergeData','EMAIL_HAS_BEEN_BOUND','loadOfflineData','lineTo','addObjects','RefRangeService','useDependency','_docSkeleton','COMPLETION_FINISHED','entries','NOT_COLLAB','isActive','UNDEFINED','YUUMI_ASYNCIO_CANCELLED','getRenderById','transformRemoteChangeset','unload','_univerInstanceService','width','_renderManagerService','font','size','_initStatusComponent','storage','YUUMI_CONNECTOR_URL_NOT_FOUND','_hovered','map','hide','onStarting','IURLService','session.collaboration-timeout','defs','@univerjs/engine-render','[CollaborationDataLoaderController]','_notificationService','Rect','DeleteRangeMoveLeftCommandId','entityInit$','roomMembers$','CHANGESET_REVISION_CONFILICT','clearTimeout','text','@univerjs/sheets','getStateCache','3992KgRRCi','ITransformService','_toggleOffline','_handleHover','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getTypeOfUnitAdded$','YUUMI_UNABLE_LOAD_URL','LocaleService','CLOSE_ROOM','_labelPosition','evenodd','@univerjs/core','INVITE_CODE_ALREADY_BOUND','USER_NOT_INVITED_CODE','967941Ibtvwp','function','SOCKET_FAILED_RETRY','OFFLINE','_anchor','_cursors','Warning','@univerjs/drawing','transformMutationsWithChangeset','useCallback','YUUMI_AI_RUN_FAILED','getTypeOfUnitDisposed$','ThemeService','registerRefRange','_unitStatus','beginPath','flatMap','INVALID_ARGUMENT','svg','_collabCursorState$','IRenderManagerService','YUUMI_ALL_TABLES_IS_INVALID','_revisionService','data','makeDirty','handleInsertCol','_onRefRangeChange','searchParams','_lastPointer','href','Workbook','with','findNodePositionByCharIndex','getAncestorScale','yellow.400','createElement','ICommandService','CollaborationSocketService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','6503mjeWtj','_initEntityListener','split','doc.mutation.rich-text-editing','concat','_messageService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOCAL_CACHE_INTERVAL','TEXT','InsertRangeMoveDownCommandId','setItem','CollaborationSessionService','url(#on-line-icon_clip0_910_349)','UniverDrawing','pluginName','_docClipboardService','round','_updateURLWithCurrentState','_scene','_cursorInfo$','getColorFromTheme','getValue','OTHER_CLIENTS_EDITING','transformStateCache','debounce','SheetCollabCursorShape','_render','off-line-icon','873158nmQQMT','onPointerEnter$','imageSourceType','assignAColorForMemberID','_logService','React','syncEditingCollabCursor','Unknown\x20user','symbol','hasOwnProperty','univer-mr-2\x20univer-flex\x20univer-text-xl','getMemberID','OTHER_CLIENT_EDITING','@univerjs/rpc','collaboration-client.offline-data-not-saved','mutations','EMAIL_VERIFY_CODE_MISMATCH','clsx','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endRow','event$','fillRule','Shape','subscribe','getSkeleton','_doCreateSocket','_localeService','error','APPLY_REVISION_CONFILICT','unit','WebURLService','CollaborationDataLoaderController','DocStateChangeManagerService','DependentOn','CONNECTOR_DATA_TOO_LARGE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','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','_removeCollabCursors','executionId','Plugin','getCurrent','_name','UniverInstanceType','all','trim','ILocalCacheService','UniverDesign','debounceTime','_startSheetCollabCursor','@univerjs-pro/collaboration','cursorInfo$','save','CONFLICT','NO_OTHER_CLIENTS_EDITING','_onCursorUpdate','_collaborationUIEventService','SUBMIT_CHANGESET_TIMEOUT','_range','drawWith','...','send','_uiPartsService','currentTheme$','sessionStatus$','_handleJoinEvent','UNAUTHENTICATED','merge','@univerjs/docs','RxDisposable','rxjs','hovered','_initStatusListener','replaceState','_updateLocalCursor','PERMISSION_DENIED','defineProperty','redoState','_initEvent','_disabled','permission.content','executeCommand','_textBubble','setActiveRange','rgba(255,\x20255,\x20255,\x200.01)','subUnitId','_cursorShapes','PY_RUNTIME_SCRIPT_ERROR','SetTextSelectionsOperation','handleInsertRow','MUTATION','post','column'];_0x330f=function(){return _0x4fb481;};return _0x330f();}
1
+ (function(_0x3d3c13,_0xc30099){const _0x494c9a=_0x441c,_0x25cc04=_0x3d3c13();while(!![]){try{const _0x17a544=-parseInt(_0x494c9a(0x433))/0x1*(-parseInt(_0x494c9a(0x3dd))/0x2)+parseInt(_0x494c9a(0x448))/0x3*(parseInt(_0x494c9a(0x324))/0x4)+parseInt(_0x494c9a(0x33e))/0x5*(-parseInt(_0x494c9a(0x375))/0x6)+parseInt(_0x494c9a(0x1d7))/0x7+parseInt(_0x494c9a(0x2fe))/0x8*(-parseInt(_0x494c9a(0x261))/0x9)+parseInt(_0x494c9a(0x25e))/0xa*(parseInt(_0x494c9a(0x1d9))/0xb)+parseInt(_0x494c9a(0x398))/0xc*(parseInt(_0x494c9a(0x35f))/0xd);if(_0x17a544===_0xc30099)break;else _0x25cc04['push'](_0x25cc04['shift']());}catch(_0x464dfb){_0x25cc04['push'](_0x25cc04['shift']());}}}(_0xadf5,0x2ea08),function(_0x19f962,_0x42627f){const _0xa57321=_0x441c;typeof exports=='object'&&typeof module<'u'?_0x42627f(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==_0xa57321(0x303)&&define[_0xa57321(0x23b)]?define([_0xa57321(0x268),_0xa57321(0x3cc),_0xa57321(0x2d7),_0xa57321(0x32a),'@univerjs/network',_0xa57321(0x203),'@univerjs/drawing',_0xa57321(0x291),_0xa57321(0x3f4),'@univerjs/docs',_0xa57321(0x259),'@univerjs/sheets',_0xa57321(0x255),_0xa57321(0x1c7),'react/jsx-runtime',_0xa57321(0x308),'@univerjs/design',_0xa57321(0x3d0),_0xa57321(0x2f6)],_0x42627f):(_0x19f962=typeof globalThis<'u'?globalThis:_0x19f962||self,_0x42627f(_0x19f962['UniverProCollaborationClientUi']={},_0x19f962['UniverProCollaborationClient'],_0x19f962[_0xa57321(0x1e5)],_0x19f962[_0xa57321(0x1d8)],_0x19f962[_0xa57321(0x242)],_0x19f962[_0xa57321(0x3f8)],_0x19f962[_0xa57321(0x3b0)],_0x19f962[_0xa57321(0x291)],_0x19f962[_0xa57321(0x43e)],_0x19f962[_0xa57321(0x2f2)],_0x19f962[_0xa57321(0x34d)],_0x19f962['UniverSheets'],_0x19f962[_0xa57321(0x291)][_0xa57321(0x37e)],_0x19f962[_0xa57321(0x39c)],_0x19f962[_0xa57321(0x2c2)],_0x19f962['UniverUi'],_0x19f962['UniverDesign'],_0x19f962[_0xa57321(0x2c2)],_0x19f962[_0xa57321(0x238)]));}(this,function(_0x3b1343,_0x145739,_0x4c34fb,_0x5042e5,_0x3c148b,_0x53e9b7,_0x240cf3,_0x4bbdc9,_0x3b6054,_0x23a4b4,_0x509da9,_0x4b7abb,_0x56870d,_0x49d1f5,_0x1c28f4,_0x2cb420,_0x1581e7,_0x3c8ecb,_0x4a84d1){'use strict';const _0x105489=_0x441c;var _0x5800f1=Object[_0x105489(0x38f)],_0x3f9497=(_0x623d01,_0x3ffbfa,_0x32dd0b)=>_0x3ffbfa in _0x623d01?_0x5800f1(_0x623d01,_0x3ffbfa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32dd0b}):_0x623d01[_0x3ffbfa]=_0x32dd0b,_0x23d7a8=(_0x26b56d,_0x2f0d8b,_0x2d6f15)=>_0x3f9497(_0x26b56d,typeof _0x2f0d8b!=_0x105489(0x1c0)?_0x2f0d8b+'':_0x2f0d8b,_0x2d6f15),_0x11aed6=Object[_0x105489(0x270)],_0xee81be=(_0xf9719a,_0x5469af,_0x1ee99f,_0x360ad4)=>{for(var _0x2f33e1=_0x360ad4>0x1?void 0x0:_0x360ad4?_0x11aed6(_0x5469af,_0x1ee99f):_0x5469af,_0x598007=_0xf9719a['length']-0x1,_0x5a1ae1;_0x598007>=0x0;_0x598007--)(_0x5a1ae1=_0xf9719a[_0x598007])&&(_0x2f33e1=_0x5a1ae1(_0x2f33e1)||_0x2f33e1);return _0x2f33e1;},_0x1c07b1=(_0x2dd9c7,_0x14f325)=>(_0x983a25,_0x14a666)=>_0x14f325(_0x983a25,_0x14a666,_0x2dd9c7);let _0x461813=class extends _0x4c34fb['RxDisposable']{constructor(_0x430a12,_0x7bb7dc){const _0x9ca25e=_0x105489;super(),this['_docClipboardService']=_0x430a12,this[_0x9ca25e(0x23e)]=_0x7bb7dc,this[_0x9ca25e(0x26c)]();}['_init'](){const _0x1b6fd7=_0x105489,_0x401537=this;this[_0x1b6fd7(0x321)](this[_0x1b6fd7(0x351)]['addClipboardHook']({'onBeforePasteImage':async _0x35df1f=>{const _0x35834b=_0x1b6fd7,_0x26b947=await _0x401537[_0x35834b(0x23e)]['saveImage'](_0x35df1f);return _0x26b947?{'source':_0x26b947['source'],'imageSourceType':_0x26b947[_0x35834b(0x37d)]}:null;}}));}};_0x461813=_0xee81be([_0x1c07b1(0x0,_0x53e9b7['IDocClipboardService']),_0x1c07b1(0x1,_0x240cf3[_0x105489(0x20f)])],_0x461813);const _0x4a383f=[_0x105489(0x316),_0x105489(0x252),_0x105489(0x212),_0x105489(0x38d),_0x105489(0x447),_0x105489(0x2b6)];class _0x5d296d extends _0x4c34fb[_0x105489(0x313)]{constructor(){const _0x1adb21=_0x105489;super(...arguments),_0x23d7a8(this,_0x1adb21(0x2cf),new Map()),_0x23d7a8(this,_0x1adb21(0x2c1),0x0);}[_0x105489(0x2be)](_0x3b3b52){const _0x53303d=_0x105489;if(this[_0x53303d(0x2cf)]['has'](_0x3b3b52))return this[_0x53303d(0x2cf)][_0x53303d(0x225)](_0x3b3b52);const _0x5ab713=_0x4a383f[this['_colorIndex']];return this['_colorIndex']=(this[_0x53303d(0x2c1)]+0x1)%_0x4a383f[_0x53303d(0x20a)],this[_0x53303d(0x2cf)][_0x53303d(0x41e)](_0x3b3b52,_0x5ab713),_0x5ab713;}}function _0x6fc9a3(_0x1c0f08){let _0x26a06d='';for(const _0x29d5bc of _0x1c0f08){const {startOffset:_0x4adc8f,endOffset:_0x19a89b,isActive:_0x4c0843,rangeType:_0x52814c,segmentId:_0x227cfc,segmentPage:_0x530ba0}=_0x29d5bc;_0x26a06d['length']&&(_0x26a06d+=','),_0x26a06d+=_0x4adc8f+':'+_0x19a89b+':'+(_0x4c0843?'1':'0')+':'+_0x52814c+':'+_0x227cfc+':'+_0x530ba0;}return _0x26a06d;}function _0x1cee92(_0x38effb){const _0x9c674f=_0x105489,_0x452506=_0x38effb[_0x9c674f(0x418)](','),_0x3d3cb4=[];for(const _0x23491a of _0x452506){const [_0x21560e,_0x4d2329,_0x3da7a2,_0x26cfc8,_0x2dd063,_0x33e624]=_0x23491a[_0x9c674f(0x418)](':');_0x3d3cb4[_0x9c674f(0x2a9)]({'startOffset':Number(_0x21560e),'endOffset':Number(_0x4d2329),'collapsed':_0x21560e===_0x4d2329,'isActive':_0x3da7a2==='1','rangeType':_0x26cfc8===_0x4c34fb[_0x9c674f(0x3dc)]['TEXT']?_0x4c34fb[_0x9c674f(0x3dc)][_0x9c674f(0x2e3)]:_0x4c34fb[_0x9c674f(0x3dc)][_0x9c674f(0x1f7)],'segmentId':typeof _0x2dd063=='string'?String(_0x2dd063):'','segmentPage':Number(_0x33e624!=null?_0x33e624:-0x1)});}return _0x3d3cb4[_0x9c674f(0x3cb)](_0x406fe9=>_0x406fe9[_0x9c674f(0x21e)])||(_0x3d3cb4[0x0][_0x9c674f(0x21e)]=!0x0),_0x3d3cb4;}class _0x5532ac extends _0x4c34fb['RxDisposable']{constructor(){const _0x22150e=_0x105489;super(...arguments),_0x23d7a8(this,_0x22150e(0x3b5),new _0x4bbdc9['BehaviorSubject'](null)),_0x23d7a8(this,_0x22150e(0x415),this[_0x22150e(0x3b5)][_0x22150e(0x2ff)]());}[_0x105489(0x293)](_0x584efe){const _0x1115b7=_0x105489,{unitID:_0xd95740,memberID:_0x386733,textRanges:_0x7f1274}=_0x584efe,_0x2ce77c=_0x6fc9a3(_0x7f1274);if(_0x2ce77c==='')return;const _0x1b7fb5={'unitID':_0xd95740,'memberID':_0x386733,'selection':_0x2ce77c};this['_collabCursorState$'][_0x1115b7(0x34b)](_0x1b7fb5);}}var _0x2b430d=Object[_0x105489(0x270)],_0x1afda2=(_0xef18de,_0x5638b1,_0x4294aa,_0x241d7a)=>{const _0x4c995f=_0x105489;for(var _0x53f499=_0x241d7a>0x1?void 0x0:_0x241d7a?_0x2b430d(_0x5638b1,_0x4294aa):_0x5638b1,_0x30f344=_0xef18de[_0x4c995f(0x20a)]-0x1,_0x5698f8;_0x30f344>=0x0;_0x30f344--)(_0x5698f8=_0xef18de[_0x30f344])&&(_0x53f499=_0x5698f8(_0x53f499)||_0x53f499);return _0x53f499;},_0xb717e1=(_0x159301,_0x2d1c13)=>(_0x1605a3,_0x1b2390)=>_0x2d1c13(_0x1605a3,_0x1b2390,_0x159301);const _0xe58cf7=0x12c,_0x3e2fd0=0x64;let _0x51730c=class extends _0x4c34fb['RxDisposable']{constructor(_0x136432,_0x2337b6,_0x21c9e6,_0x2dce1e,_0x45255c,_0x2609d1,_0x3c98af,_0x1710b7,_0x515484){const _0x2c4401=_0x105489;super(),_0x23d7a8(this,_0x2c4401(0x3e2),!0x1),_0x23d7a8(this,_0x2c4401(0x26c),!0x1),_0x23d7a8(this,'_cursorInfo$',new _0x4bbdc9['BehaviorSubject'](new Map())),_0x23d7a8(this,_0x2c4401(0x450),this[_0x2c4401(0x3ff)][_0x2c4401(0x2ff)]()),_0x23d7a8(this,_0x2c4401(0x33d),new _0x4bbdc9[(_0x2c4401(0x382))]([])),_0x23d7a8(this,_0x2c4401(0x3fb),this[_0x2c4401(0x33d)][_0x2c4401(0x35a)](_0x4bbdc9[_0x2c4401(0x297)](_0xe58cf7))),_0x23d7a8(this,_0x2c4401(0x335),_0x4c34fb['debounce'](_0x17812f=>{const _0x2bc28a=_0x2c4401,_0x361edc={'eventID':_0x3b6054[_0x2bc28a(0x2af)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2bc28a(0x380)],'memberID':this[_0x2bc28a(0x22d)][_0x2bc28a(0x399)](),'selection':_0x6fc9a3(_0x17812f)}};this[_0x2bc28a(0x22d)][_0x2bc28a(0x224)](_0x361edc,this[_0x2bc28a(0x380)]);},_0x3e2fd0)),(this[_0x2c4401(0x380)]=_0x136432,this[_0x2c4401(0x22d)]=_0x2337b6,this['_injector']=_0x21c9e6,this[_0x2c4401(0x369)]=_0x2dce1e,this[_0x2c4401(0x231)]=_0x45255c,this[_0x2c4401(0x397)]=_0x2609d1,this[_0x2c4401(0x1f5)]=_0x3c98af,this[_0x2c4401(0x325)]=_0x1710b7,this[_0x2c4401(0x355)]=_0x515484);}get['cursorInfo'](){const _0x48addd=_0x105489;return this['_cursorInfo$'][_0x48addd(0x413)]();}get[_0x105489(0x3d4)](){const _0x13c2a3=_0x105489;return this['_roomMembers$'][_0x13c2a3(0x413)]();}[_0x105489(0x275)](){const _0x381a70=_0x105489;super[_0x381a70(0x275)](),this[_0x381a70(0x3ff)][_0x381a70(0x34b)](new Map()),this['_cursorInfo$'][_0x381a70(0x294)](),this[_0x381a70(0x33d)]['next']([]),this['_roomMembers$'][_0x381a70(0x294)]();}[_0x105489(0x421)](){const _0x6ece8c=_0x105489;this[_0x6ece8c(0x26c)]||(this[_0x6ece8c(0x26c)]=!0x0,this['_session'][_0x6ece8c(0x22e)][_0x6ece8c(0x35a)](_0x4bbdc9[_0x6ece8c(0x20e)](this['dispose$']))[_0x6ece8c(0x2f9)](_0x4a9d47=>{const _0x1eee4a=_0x6ece8c;_0x4a9d47===_0x145739[_0x1eee4a(0x2de)][_0x1eee4a(0x36a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x6ece8c(0x22d)]['event$']['pipe'](_0x4bbdc9['takeUntil'](this[_0x6ece8c(0x2df)]))[_0x6ece8c(0x2f9)](_0x430097=>{const _0x4e262b=_0x6ece8c,_0xde72b3=_0x430097[_0x4e262b(0x34e)];_0xde72b3===_0x3b6054[_0x4e262b(0x2af)][_0x4e262b(0x3fd)]&&this['_onCursorUpdate'](_0x430097),_0xde72b3===_0x3b6054[_0x4e262b(0x2af)][_0x4e262b(0x3ae)]&&this[_0x4e262b(0x2d8)](_0x430097);}),this[_0x6ece8c(0x321)](this[_0x6ece8c(0x355)][_0x6ece8c(0x2bf)](_0x3b9d0c=>{const _0x35b63e=_0x6ece8c,_0x378796=_0x3b9d0c[_0x35b63e(0x1d6)];_0x378796!=null&&this[_0x35b63e(0x3e2)]&&_0x3b9d0c['id']===_0x23a4b4[_0x35b63e(0x27d)]['id']&&_0x378796['unitId']===this[_0x35b63e(0x380)]&&_0x378796[_0x35b63e(0x21f)]===!0x1&&_0x378796['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x378796[_0x35b63e(0x3f1)]);})),this[_0x6ece8c(0x397)][_0x6ece8c(0x415)][_0x6ece8c(0x35a)](_0x4bbdc9[_0x6ece8c(0x20e)](this[_0x6ece8c(0x2df)]))[_0x6ece8c(0x2f9)](_0x5879c2=>{const _0x2ad2d1=_0x6ece8c;if((_0x5879c2==null?void 0x0:_0x5879c2['unitID'])!==this[_0x2ad2d1(0x380)])return;const _0x1ba0c6={'eventID':_0x3b6054[_0x2ad2d1(0x2af)][_0x2ad2d1(0x3fd)],'data':_0x5879c2};this[_0x2ad2d1(0x37b)](_0x1ba0c6);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2048e7=>{const _0x4e23b9=_0x6ece8c;if(_0x2048e7[_0x4e23b9(0x1d6)]==null)return;const _0x4fcd53=_0x2048e7[_0x4e23b9(0x1d6)];if(_0x2048e7['id']!==_0x23a4b4['RichTextEditingMutation']['id']||_0x4fcd53[_0x4e23b9(0x3ee)]!==this[_0x4e23b9(0x380)])return;const _0xa49962={'id':_0x4e23b9(0x250),'params':_0x4fcd53},_0x3033ab=this['cursorInfo'];for(const [_0x189d53,_0x2190d4]of _0x3033ab){const _0x543b32={'id':_0x4e23b9(0x250),'params':{'unitId':this[_0x4e23b9(0x380)],'actions':null,'textRanges':_0x2190d4[_0x4e23b9(0x3f1)]}},_0x5553d5=this[_0x4e23b9(0x1f5)]['transformMutation'](_0xa49962,_0x543b32,!0x1);if(_0x3b6054['isTransformMutationFailure'](_0x5553d5))throw _0x5553d5[_0x4e23b9(0x284)];_0x3033ab[_0x4e23b9(0x41e)](_0x189d53,{..._0x2190d4,'ranges':_0x5553d5[_0x4e23b9(0x1e0)][_0x4e23b9(0x1d6)][_0x4e23b9(0x1f0)]});}queueMicrotask(()=>{const _0x27a0f7=_0x4e23b9;this['_cursorInfo$'][_0x27a0f7(0x34b)](_0x3033ab);});})));}['_onCursorUpdate'](_0x211857){const _0x422c72=_0x105489;var _0x707078,_0xe38cbc;const {memberID:_0x291a01,selection:_0x201a61}=_0x211857[_0x422c72(0x1c6)],_0x4db109=_0x1cee92(_0x201a61),_0x237905=(_0xe38cbc=(_0x707078=this[_0x422c72(0x231)][_0x422c72(0x1d0)](this[_0x422c72(0x380)],_0x291a01))==null?void 0x0:_0x707078['name'])!=null?_0xe38cbc:'Unknown\x20user',_0x28175d={'color':this[_0x422c72(0x369)][_0x422c72(0x2be)](_0x291a01),'name':_0x237905,'ranges':_0x4db109},_0x33334d=this[_0x422c72(0x296)];_0x33334d[_0x422c72(0x41e)](_0x291a01,_0x28175d),this[_0x422c72(0x3ff)][_0x422c72(0x34b)](_0x33334d);}[_0x105489(0x2d8)](_0x4b0060){const _0x17634c=_0x105489,{memberID:_0x22fc7c}=_0x4b0060[_0x17634c(0x1c6)],_0x33b113=this[_0x17634c(0x296)];_0x33b113[_0x17634c(0x292)](_0x22fc7c),this[_0x17634c(0x3ff)][_0x17634c(0x34b)](_0x33b113);}[_0x105489(0x304)](){const _0x4f1aaf=_0x105489;var _0x3e3537;if(this[_0x4f1aaf(0x3e2)]=!0x0,((_0x3e3537=this[_0x4f1aaf(0x325)]['getFocusedUnit']())==null?void 0x0:_0x3e3537['getUnitId']())!==this['unitID'])return;const _0x4e8e35=this[_0x4f1aaf(0x423)]['get'](_0x23a4b4[_0x4f1aaf(0x216)])[_0x4f1aaf(0x323)]();Array[_0x4f1aaf(0x1ce)](_0x4e8e35)&&_0x4e8e35[_0x4f1aaf(0x20a)]>0x0&&this[_0x4f1aaf(0x335)](_0x4e8e35);}[_0x105489(0x43c)](){this['_online']=!0x1;}};_0x51730c=_0x1afda2([_0xb717e1(0x2,_0x4c34fb['Inject'](_0x4c34fb[_0x105489(0x334)])),_0xb717e1(0x3,_0x4c34fb[_0x105489(0x338)](_0x5d296d)),_0xb717e1(0x4,_0x4c34fb[_0x105489(0x338)](_0x145739[_0x105489(0x43f)])),_0xb717e1(0x5,_0x4c34fb[_0x105489(0x338)](_0x5532ac)),_0xb717e1(0x6,_0x3b6054[_0x105489(0x388)]),_0xb717e1(0x7,_0x4c34fb[_0x105489(0x2f5)]),_0xb717e1(0x8,_0x4c34fb['ICommandService'])],_0x51730c);var _0x44ec93=Object['getOwnPropertyDescriptor'],_0x4f39ed=(_0xd24346,_0x5802a8,_0x5be507,_0xac9d06)=>{const _0x16098=_0x105489;for(var _0x5ee3e2=_0xac9d06>0x1?void 0x0:_0xac9d06?_0x44ec93(_0x5802a8,_0x5be507):_0x5802a8,_0x338d06=_0xd24346[_0x16098(0x20a)]-0x1,_0xa843eb;_0x338d06>=0x0;_0x338d06--)(_0xa843eb=_0xd24346[_0x338d06])&&(_0x5ee3e2=_0xa843eb(_0x5ee3e2)||_0x5ee3e2);return _0x5ee3e2;},_0x24eead=(_0x4818da,_0x56bea2)=>(_0x2d944e,_0x115c17)=>_0x56bea2(_0x2d944e,_0x115c17,_0x4818da);const _0x124349=0x12c,_0x177901=0x64,_0x340b75=()=>{let _0x434d68=[],_0x850276=!0x1;return _0x3601d9=>{const _0x3c765c=_0x441c;_0x434d68[_0x3c765c(0x2a9)](_0x3601d9),_0x850276||(_0x850276=!0x0,setTimeout(()=>{_0x434d68['forEach'](_0x522aa7=>_0x522aa7()),_0x434d68=[],_0x850276=!0x1;}));};};let _0x3d603e=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x2b57fe,_0x1ab339,_0x3f6f56,_0x31f318,_0x5b0bd5,_0x5e16f7,_0x16012e,_0x174876){const _0x38737b=_0x105489;super(),_0x23d7a8(this,_0x38737b(0x3e2),!0x1),_0x23d7a8(this,_0x38737b(0x26c),!0x1),_0x23d7a8(this,_0x38737b(0x3ff),new _0x4bbdc9['BehaviorSubject'](new Map())),_0x23d7a8(this,'cursorInfo$',this[_0x38737b(0x3ff)][_0x38737b(0x2ff)]()),_0x23d7a8(this,_0x38737b(0x33d),new _0x4bbdc9[(_0x38737b(0x382))]([])),_0x23d7a8(this,_0x38737b(0x3fb),this[_0x38737b(0x33d)][_0x38737b(0x35a)](_0x4bbdc9[_0x38737b(0x297)](_0x124349))),_0x23d7a8(this,_0x38737b(0x335),_0x4c34fb[_0x38737b(0x26d)]((_0x7b55e1,_0x5294d0)=>{const _0x9a1ce1=_0x38737b,_0x31c4d3={'eventID':_0x3b6054[_0x9a1ce1(0x2af)][_0x9a1ce1(0x3fd)],'data':{'unitID':this[_0x9a1ce1(0x380)],'memberID':this['_session']['getMemberID'](),'selection':_0x509da9[_0x9a1ce1(0x441)](_0x7b55e1,_0x5294d0[_0x9a1ce1(0x2a6)])}};this[_0x9a1ce1(0x22d)]['send'](_0x31c4d3,this[_0x9a1ce1(0x380)]);},_0x177901)),(this[_0x38737b(0x380)]=_0x2b57fe,this[_0x38737b(0x22d)]=_0x1ab339,this[_0x38737b(0x423)]=_0x3f6f56,this[_0x38737b(0x369)]=_0x31f318,this[_0x38737b(0x231)]=_0x5b0bd5,this[_0x38737b(0x325)]=_0x5e16f7,this[_0x38737b(0x355)]=_0x16012e,this[_0x38737b(0x392)]=_0x174876);}get[_0x105489(0x296)](){const _0x451d87=_0x105489;return this['_cursorInfo$'][_0x451d87(0x413)]();}get[_0x105489(0x3d4)](){const _0x2ef06b=_0x105489;return this['_roomMembers$'][_0x2ef06b(0x413)]();}[_0x105489(0x275)](){const _0x3541bc=_0x105489;super[_0x3541bc(0x275)](),this[_0x3541bc(0x3ff)][_0x3541bc(0x34b)](new Map()),this[_0x3541bc(0x3ff)][_0x3541bc(0x294)](),this['_roomMembers$'][_0x3541bc(0x34b)]([]),this[_0x3541bc(0x33d)][_0x3541bc(0x294)]();}[_0x105489(0x421)](){const _0x38751a=_0x105489;this[_0x38751a(0x26c)]||(this[_0x38751a(0x26c)]=!0x0,this['_session'][_0x38751a(0x22e)][_0x38751a(0x35a)](_0x4bbdc9['takeUntil'](this[_0x38751a(0x2df)]))['subscribe'](_0xb50a3a=>{const _0x5c48f1=_0x38751a;_0xb50a3a===_0x145739['SessionStatus'][_0x5c48f1(0x36a)]?this[_0x5c48f1(0x304)]():this[_0x5c48f1(0x43c)]();}),this[_0x38751a(0x22d)]['event$'][_0x38751a(0x35a)](_0x4bbdc9['takeUntil'](this[_0x38751a(0x2df)]))[_0x38751a(0x2f9)](_0xe1ee6c=>{const _0x326c7a=_0x38751a,_0x1d4e46=_0xe1ee6c[_0x326c7a(0x34e)];_0x1d4e46===_0x3b6054[_0x326c7a(0x2af)][_0x326c7a(0x3fd)]&&this[_0x326c7a(0x37b)](_0xe1ee6c),_0x1d4e46===_0x3b6054[_0x326c7a(0x2af)][_0x326c7a(0x3ae)]&&this[_0x326c7a(0x2d8)](_0xe1ee6c);}),this['_onRefRangeChange'](),this[_0x38751a(0x321)](this[_0x38751a(0x355)][_0x38751a(0x2bf)](_0x55ba53=>{const _0x24e898=_0x38751a;if(this[_0x24e898(0x3e2)]&&_0x55ba53['id']===_0x4b7abb[_0x24e898(0x381)]['id']&&_0x55ba53[_0x24e898(0x1d6)][_0x24e898(0x3ee)]===this[_0x24e898(0x380)]){const _0xa5013=_0x55ba53[_0x24e898(0x1d6)];this[_0x24e898(0x335)](_0xa5013[_0x24e898(0x288)],_0xa5013[_0x24e898(0x449)][0x0]);}})));}[_0x105489(0x37b)](_0x47f422){const _0x14841f=_0x105489;var _0x231c17,_0x235fea;const {memberID:_0x280466,selection:_0x44582d}=_0x47f422[_0x14841f(0x1c6)],{sheetName:_0x385891,range:_0x27d9cc}=_0x509da9[_0x14841f(0x3d6)](_0x44582d),_0x251d9b={'name':(_0x235fea=(_0x231c17=this[_0x14841f(0x231)][_0x14841f(0x1d0)](this[_0x14841f(0x380)],_0x280466))==null?void 0x0:_0x231c17['name'])!=null?_0x235fea:_0x14841f(0x425),'range':this['_getMergeRange'](_0x385891,_0x27d9cc),'sheetID':_0x385891,'color':this[_0x14841f(0x369)]['assignAColorForMemberID'](_0x280466),'selection':_0x44582d},_0x3b8c20=this[_0x14841f(0x296)];_0x3b8c20[_0x14841f(0x41e)](_0x280466,_0x251d9b),this[_0x14841f(0x3ff)][_0x14841f(0x34b)](_0x3b8c20);}[_0x105489(0x2d8)](_0x4083f7){const _0x4bc1e7=_0x105489,{memberID:_0xb6bc0a}=_0x4083f7[_0x4bc1e7(0x1c6)],_0x579786=this[_0x4bc1e7(0x296)];_0x579786[_0x4bc1e7(0x292)](_0xb6bc0a),this[_0x4bc1e7(0x3ff)][_0x4bc1e7(0x34b)](_0x579786);}[_0x105489(0x2c5)](_0x4b741a,_0x121ef7){const _0x1fb374=_0x105489;var _0x4e6020,_0x207ecc;const _0x5d8b26=(_0x207ecc=(_0x4e6020=this['_univerInstanceService'][_0x1fb374(0x2f4)](this[_0x1fb374(0x380)]))==null?void 0x0:_0x4e6020['getSheetBySheetId'](_0x4b741a))==null?void 0x0:_0x207ecc['getMergeData']();return(_0x5d8b26==null?void 0x0:_0x5d8b26['find'](_0x1ad5b7=>_0x4c34fb[_0x1fb374(0x2b0)]['contains'](_0x1ad5b7,_0x121ef7)))||_0x121ef7;}[_0x105489(0x3f5)](){const _0x338f81=_0x105489,_0x28a352=new _0x4c34fb['DisposableCollection'](),_0xa398f8=_0x340b75(),_0x364d18=()=>{const _0x4a5035=_0x441c;_0x28a352[_0x4a5035(0x275)]();const _0x410176=(_0x2ed54f,_0x19a16e,_0x2c2cce,_0x25431d)=>{const _0x432771=_0x4a5035;let _0x563c0f=[];switch(_0x2ed54f['id']){case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x318)]:{_0x563c0f=_0x4b7abb[_0x432771(0x1e8)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)]['DeleteRangeMoveUpCommandId']:{_0x563c0f=_0x4b7abb[_0x432771(0x2b7)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x343)]:{_0x563c0f=_0x4b7abb[_0x432771(0x3c9)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x563c0f=_0x4b7abb[_0x432771(0x42c)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x40e)]:{_0x563c0f=_0x4b7abb['handleInsertRangeMoveRight'](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x358)]:{_0x563c0f=_0x4b7abb[_0x432771(0x455)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x1c8)]:{_0x563c0f=_0x4b7abb['handleMoveRange'](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)]['RemoveColCommandId']:{_0x563c0f=_0x4b7abb[_0x432771(0x229)](_0x2ed54f,_0x25431d);break;}case _0x4b7abb[_0x432771(0x3b7)][_0x432771(0x28d)]:{_0x563c0f=_0x4b7abb['handleIRemoveRow'](_0x2ed54f,_0x25431d);break;}}const _0x390ee6=_0x4b7abb[_0x432771(0x2b9)](_0x563c0f,_0x25431d),_0x4601c2=this[_0x432771(0x296)]['get'](_0x19a16e);if(_0x4601c2&&_0x390ee6){const _0x31362f={..._0x4601c2,'range':_0x390ee6};this[_0x432771(0x296)][_0x432771(0x41e)](_0x19a16e,_0x31362f),_0xa398f8(()=>{const _0x5185e3=_0x432771,_0xea2645=this[_0x5185e3(0x392)][_0x5185e3(0x442)](_0x390ee6,_0xd5b79d=>(_0xea2645['dispose'](),_0x410176(_0xd5b79d,_0x19a16e,_0x2c2cce,_0x390ee6)));_0x28a352[_0x5185e3(0x1ea)](_0xea2645);});}return{'redos':[],'undos':[]};};this[_0x4a5035(0x296)][_0x4a5035(0x2ee)]((_0x3504e2,_0x35bfd7)=>{const _0x23bb91=_0x4a5035,{range:_0x8c5dd3,sheetID:_0x195015}=_0x3504e2,_0x21477e=this[_0x23bb91(0x392)][_0x23bb91(0x442)](_0x8c5dd3,_0xf19312=>(_0x21477e['dispose'](),_0x410176(_0xf19312,_0x35bfd7,_0x195015,_0x8c5dd3)));_0x28a352[_0x23bb91(0x1ea)](_0x21477e);});};this[_0x338f81(0x321)](_0x4c34fb['toDisposable'](this['_cursorInfo$'][_0x338f81(0x2f9)](()=>{_0x364d18();})));}[_0x105489(0x304)](){const _0x58a489=_0x105489;var _0x33f506,_0x1e8d44;if(this[_0x58a489(0x3e2)]=!0x0,((_0x33f506=this['_univerInstanceService'][_0x58a489(0x346)]())==null?void 0x0:_0x33f506['getUnitId']())!==this[_0x58a489(0x380)])return;const _0x2ae3b3=(_0x1e8d44=this[_0x58a489(0x423)][_0x58a489(0x225)](_0x4b7abb['SheetsSelectionsService'])[_0x58a489(0x36d)]())==null?void 0x0:_0x1e8d44[0x0],_0x2f9bb9=this[_0x58a489(0x325)][_0x58a489(0x2ea)](_0x4c34fb[_0x58a489(0x28f)][_0x58a489(0x409)])[_0x58a489(0x236)]();_0x2ae3b3&&_0x2f9bb9&&this[_0x58a489(0x335)](_0x2f9bb9[_0x58a489(0x2ad)](),_0x2ae3b3);}[_0x105489(0x43c)](){this['_online']=!0x1;}};_0x3d603e=_0x4f39ed([_0x24eead(0x2,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['Injector'])),_0x24eead(0x3,_0x4c34fb['Inject'](_0x5d296d)),_0x24eead(0x4,_0x4c34fb['Inject'](_0x145739['MemberService'])),_0x24eead(0x5,_0x4c34fb[_0x105489(0x2f5)]),_0x24eead(0x6,_0x4c34fb[_0x105489(0x25f)]),_0x24eead(0x7,_0x4c34fb[_0x105489(0x338)](_0x4b7abb['RefRangeService']))],_0x3d603e);var _0xdd683a=Object[_0x105489(0x270)],_0x22d2d1=(_0x330305,_0x3fb559,_0x19f8a3,_0x1b2859)=>{for(var _0x2cde08=_0x1b2859>0x1?void 0x0:_0x1b2859?_0xdd683a(_0x3fb559,_0x19f8a3):_0x3fb559,_0x470a3d=_0x330305['length']-0x1,_0x5552ac;_0x470a3d>=0x0;_0x470a3d--)(_0x5552ac=_0x330305[_0x470a3d])&&(_0x2cde08=_0x5552ac(_0x2cde08)||_0x2cde08);return _0x2cde08;},_0x384319=(_0x5582db,_0x47a544)=>(_0x1ac57c,_0x18d555)=>_0x47a544(_0x1ac57c,_0x18d555,_0x5582db);let _0x4cbfa5=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x29f8a6,_0x4db81e,_0x3bce6a){const _0x596f9b=_0x105489;super(),_0x23d7a8(this,'_entities',new Map()),_0x23d7a8(this,_0x596f9b(0x2f3),new _0x4bbdc9['Subject']()),(this[_0x596f9b(0x325)]=_0x29f8a6,this[_0x596f9b(0x423)]=_0x4db81e,this[_0x596f9b(0x295)]=_0x3bce6a,this[_0x596f9b(0x26c)]());}[_0x105489(0x275)](){const _0x59e448=_0x105489;super[_0x59e448(0x275)](),this['_entityInit$'][_0x59e448(0x294)](),this[_0x59e448(0x401)][_0x59e448(0x2ee)](_0x8d6eb4=>_0x8d6eb4[_0x59e448(0x275)]());}[_0x105489(0x1f1)](_0x952eb1){const _0x4c6677=_0x105489;return this[_0x4c6677(0x401)][_0x4c6677(0x44c)](_0x952eb1)?this[_0x4c6677(0x401)]['get'](_0x952eb1)[_0x4c6677(0x450)]:this[_0x4c6677(0x2f3)][_0x4c6677(0x35a)](_0x4bbdc9[_0x4c6677(0x219)](_0x1fd6a1=>_0x1fd6a1[_0x4c6677(0x380)]===_0x952eb1),_0x4bbdc9[_0x4c6677(0x3e1)](_0x5254b7=>_0x5254b7[_0x4c6677(0x450)]));}[_0x105489(0x26c)](){const _0x313473=_0x105489;this[_0x313473(0x325)][_0x313473(0x299)](_0x4c34fb[_0x313473(0x28f)]['UNIVER_SHEET'])[_0x313473(0x35a)](_0x4bbdc9[_0x313473(0x20e)](this[_0x313473(0x2df)]))[_0x313473(0x2f9)](async _0x82e609=>{const _0x1ef891=_0x313473,_0x39eabf=_0x82e609['getUnitId'](),_0x245e1f=await this['_startSheetCollabCursor'](_0x39eabf);this[_0x1ef891(0x2f3)]['next'](_0x245e1f),this[_0x1ef891(0x401)][_0x1ef891(0x41e)](_0x39eabf,_0x245e1f);}),this[_0x313473(0x325)][_0x313473(0x299)](_0x4c34fb['UniverInstanceType'][_0x313473(0x3cd)])[_0x313473(0x35a)](_0x4bbdc9[_0x313473(0x20e)](this[_0x313473(0x2df)]))[_0x313473(0x35a)](_0x4bbdc9[_0x313473(0x219)](_0x11b3c2=>!_0x11b3c2[_0x313473(0x2e1)]()['startsWith']('__')))[_0x313473(0x2f9)](async _0x31a490=>{const _0x4d244b=_0x313473,_0x3b92fd=_0x31a490[_0x4d244b(0x2e1)](),_0x42db01=await this['_startDocCollabCursor'](_0x3b92fd);this[_0x4d244b(0x2f3)]['next'](_0x42db01),this[_0x4d244b(0x401)][_0x4d244b(0x41e)](_0x3b92fd,_0x42db01);}),_0x4bbdc9[_0x313473(0x420)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4c34fb[_0x313473(0x28f)][_0x313473(0x3cd)]),this['_univerInstanceService'][_0x313473(0x3e6)](_0x4c34fb[_0x313473(0x28f)]['UNIVER_SHEET']))[_0x313473(0x35a)](_0x4bbdc9['takeUntil'](this['dispose$']))[_0x313473(0x2f9)](_0x276365=>{const _0x46c574=_0x313473,_0x4d7216=_0x276365[_0x46c574(0x2e1)](),_0x743127=this['_entities']['get'](_0x4d7216);_0x743127&&(_0x743127[_0x46c574(0x275)](),this[_0x46c574(0x401)][_0x46c574(0x292)](_0x4d7216));});}async[_0x105489(0x360)](_0x15a8f1){const _0x10edca=_0x105489,_0x3cdd86=await this[_0x10edca(0x295)]['requireSession'](_0x15a8f1),_0x52c21c=this[_0x10edca(0x423)][_0x10edca(0x32f)](_0x3d603e,_0x15a8f1,_0x3cdd86);return _0x52c21c[_0x10edca(0x421)](),_0x52c21c;}async[_0x105489(0x2ac)](_0x48f222){const _0x213705=_0x105489,_0x275af0=await this[_0x213705(0x295)][_0x213705(0x3e5)](_0x48f222),_0x3dfc77=this[_0x213705(0x423)][_0x213705(0x32f)](_0x51730c,_0x48f222,_0x275af0);return _0x3dfc77[_0x213705(0x421)](),_0x3dfc77;}};_0x4cbfa5=_0x22d2d1([_0x384319(0x0,_0x4c34fb['IUniverInstanceService']),_0x384319(0x1,_0x4c34fb[_0x105489(0x338)](_0x4c34fb[_0x105489(0x334)])),_0x384319(0x2,_0x4c34fb[_0x105489(0x338)](_0x145739['CollaborationSessionService']))],_0x4cbfa5);const _0x32d615=0x14,_0x5a7796=0xc8,_0x2c78e8=0x4,_0x13ddec=0x5;function _0x61ab(_0x960cc0,_0x4c1f5e){const _0x23a5fb=_0x105489;let {radius:_0x946a97,width:_0x2e0e09,height:_0x5cab08}=_0x4c1f5e;_0x946a97=_0x946a97!=null?_0x946a97:0x0,_0x2e0e09=_0x2e0e09!=null?_0x2e0e09:0x1e,_0x5cab08=_0x5cab08!=null?_0x5cab08:0x1e;let _0x144b0e=0x0,_0x20c468=0x0,_0x413b24=0x0;_0x144b0e=_0x20c468=_0x413b24=Math[_0x23a5fb(0x39e)](_0x946a97,_0x2e0e09/0x2,_0x5cab08/0x2),_0x960cc0[_0x23a5fb(0x2a4)](),_0x960cc0[_0x23a5fb(0x279)](_0x144b0e,0x0),_0x960cc0[_0x23a5fb(0x3c1)](_0x2e0e09-_0x20c468,0x0),_0x960cc0[_0x23a5fb(0x2b2)](_0x2e0e09-_0x20c468,_0x20c468,_0x20c468,Math['PI']*0x3/0x2,0x0,!0x1),_0x960cc0[_0x23a5fb(0x3c1)](_0x2e0e09,_0x5cab08-_0x413b24),_0x960cc0['arc'](_0x2e0e09-_0x413b24,_0x5cab08-_0x413b24,_0x413b24,0x0,Math['PI']/0x2,!0x1),_0x960cc0['lineTo'](0x0,_0x5cab08),_0x960cc0[_0x23a5fb(0x3c1)](0x0,_0x144b0e),_0x960cc0[_0x23a5fb(0x2b2)](_0x144b0e,_0x144b0e,_0x144b0e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x960cc0[_0x23a5fb(0x273)](),_0x4c1f5e['fill']&&(_0x960cc0[_0x23a5fb(0x2a1)](),_0x960cc0[_0x23a5fb(0x1de)]=_0x4c1f5e[_0x23a5fb(0x2e0)],_0x4c1f5e[_0x23a5fb(0x3bb)]==='evenodd'?_0x960cc0[_0x23a5fb(0x2e0)](_0x23a5fb(0x24b)):_0x960cc0[_0x23a5fb(0x2e0)](),_0x960cc0['restore']());}class _0x3af703 extends _0x5042e5[_0x105489(0x3fa)]{constructor(_0xeda0dc,_0x35ec95){const _0x328220=_0x105489;super(_0xeda0dc,_0x35ec95),_0x23d7a8(this,_0x328220(0x3a0)),_0x23d7a8(this,_0x328220(0x23c)),(this[_0x328220(0x3a0)]=_0x35ec95==null?void 0x0:_0x35ec95[_0x328220(0x3a0)],this[_0x328220(0x23c)]=_0x35ec95==null?void 0x0:_0x35ec95[_0x328220(0x23c)]);}static['drawWith'](_0x24923f,_0x3ac8cd){const _0x5b3611=_0x105489,{text:_0xf72925,color:_0x1c466d}=_0x3ac8cd;_0x24923f[_0x5b3611(0x2a1)](),_0x24923f['font']=_0x5b3611(0x3e7);const _0x4b5fa2=_0x24923f[_0x5b3611(0x383)](_0xf72925)[_0x5b3611(0x1ef)],_0x3fb4c4=Math[_0x5b3611(0x39e)](_0x4b5fa2+0x2*_0x2c78e8,_0x5a7796);_0x61ab(_0x24923f,{'height':_0x32d615,'radius':0x4,'width':_0x3fb4c4,'fill':_0x1c466d}),_0x24923f['fillStyle']=_0x5b3611(0x377);const _0x3c0bb6=_0x2c78e8,_0x6fc6af=_0x32d615-_0x13ddec,_0x153af2=_0x5a7796-0x2*_0x2c78e8;if(_0x4b5fa2>_0x153af2){let _0x2be151='',_0x501bef=0x0;for(const _0x2cfeb4 of _0xf72925){const _0xf33c58=_0x24923f[_0x5b3611(0x383)](_0x2cfeb4)['width'];if(_0x501bef+_0xf33c58<=_0x153af2-_0x24923f['measureText'](_0x5b3611(0x3c2))[_0x5b3611(0x1ef)])_0x2be151+=_0x2cfeb4,_0x501bef+=_0xf33c58;else{_0x2be151+='...';break;}}_0x24923f[_0x5b3611(0x1f3)](_0x2be151,_0x3c0bb6,_0x6fc6af);}else _0x24923f[_0x5b3611(0x1f3)](_0xf72925,_0x3c0bb6,_0x6fc6af);_0x24923f[_0x5b3611(0x2a7)]();}['_draw'](_0x5c468f){const _0xd0b0a6=_0x105489;_0x3af703[_0xd0b0a6(0x412)](_0x5c468f,this);}}const _0x2958d3='collab-text-anchor-',_0x5c4381=_0x105489(0x2ef),_0x1504ce=_0x105489(0x3bc),_0x4de29f=0x6,_0x6e4b71=1.5,_0x421c5d=0x4,_0x59211d=1.5,_0x28c603='rgba(255,\x20255,\x20255,\x200.01)';class _0x1704e3{constructor(_0x3fe6c2,_0x454e6c,_0x740892,_0x50f891){const _0x1c0550=_0x105489;_0x23d7a8(this,_0x1c0550(0x437),[]),_0x23d7a8(this,_0x1c0550(0x300),null),_0x23d7a8(this,_0x1c0550(0x35b),null),_0x23d7a8(this,'_anchorDot',null),_0x23d7a8(this,'_hideTimer',null),_0x23d7a8(this,_0x1c0550(0x2f1),null),(this[_0x1c0550(0x3f6)]=_0x3fe6c2,this[_0x1c0550(0x42a)]=_0x454e6c,this['_docSkeleton']=_0x740892,this[_0x1c0550(0x22a)]=_0x50f891,this['_render']());}set[_0x105489(0x339)](_0x1cc902){const _0x33d0fa=_0x105489;_0x1cc902?(this['_anchorDot']&&this[_0x33d0fa(0x213)][_0x33d0fa(0x414)](),this[_0x33d0fa(0x35b)]&&this['_textBubble'][_0x33d0fa(0x207)]()):(this[_0x33d0fa(0x213)]&&this[_0x33d0fa(0x213)]['show'](),this[_0x33d0fa(0x35b)]&&this[_0x33d0fa(0x35b)][_0x33d0fa(0x414)]());}[_0x105489(0x275)](){const _0x49987c=_0x105489;for(const _0x1795f3 of this['_shapes'])_0x1795f3[_0x49987c(0x275)]();this[_0x49987c(0x35b)]&&this['_textBubble'][_0x49987c(0x275)](),this['_anchorDot']&&this[_0x49987c(0x213)][_0x49987c(0x275)](),this['_anchor']&&this[_0x49987c(0x300)][_0x49987c(0x275)](),this['_eventUnsubscribe']&&this[_0x49987c(0x2f1)]();}[_0x105489(0x30a)](){const _0x10374a=_0x105489;var _0x1dd353;const {_docSkeleton:_0x4478f4,_document:_0xb10198}=this,{color:_0x25d787,name:_0x40068e,ranges:_0x54b922}=this[_0x10374a(0x3f6)],_0x940ae2=_0xb10198[_0x10374a(0x333)](),{docsLeft:_0x472279,docsTop:_0x5b6688}=_0x940ae2,_0x4200c9=new _0x53e9b7[(_0x10374a(0x1f8))](_0x940ae2,_0x4478f4);for(const {startOffset:_0x437566,endOffset:_0x15f5d8,rangeType:_0x389f1f,segmentId:_0x1d8fcf,segmentPage:_0x2a4699,collapsed:_0x16e743,isActive:_0x1bbc4f}of _0x54b922){const _0x453763=_0x4478f4[_0x10374a(0x3c0)](_0x437566,!0x0,_0x1d8fcf,_0x2a4699);let _0x10a474=_0x4478f4['findNodePositionByCharIndex'](_0x15f5d8,!0x0,_0x1d8fcf,_0x2a4699);if(_0x10a474==null&&(_0x10a474=_0x4478f4['findNodePositionByCharIndex'](_0x15f5d8-0x1,!0x1,_0x1d8fcf,_0x2a4699)),_0x1bbc4f){const {contentBoxPointGroup:_0x10c68a}=_0x4200c9[_0x10374a(0x243)](_0x10a474,_0x10a474);if(_0x10c68a['length']===0x0)continue;this[_0x10374a(0x357)](_0x25d787,_0x10c68a,_0x472279,_0x5b6688,_0x40068e),this[_0x10374a(0x2f1)]=this[_0x10374a(0x378)]();}if(_0x453763&&_0x10a474){if(_0x389f1f===_0x4c34fb['DOC_RANGE_TYPE']['RECT']){const _0x4ccdb5=new _0x53e9b7[(_0x10374a(0x3f2))](_0x940ae2,_0x4478f4),{pointGroup:_0x5cbec3}=(_0x1dd353=_0x4ccdb5[_0x10374a(0x243)](_0x453763,_0x10a474))!=null?_0x1dd353:{};if(_0x5cbec3==null||_0x5cbec3[_0x10374a(0x20a)]===0x0)continue;this[_0x10374a(0x271)](_0x25d787,_0x5cbec3,_0x472279,_0x5b6688);}else{if(!_0x16e743){const {borderBoxPointGroup:_0x529ae5}=_0x4200c9[_0x10374a(0x243)](_0x453763,_0x10a474);if(_0x529ae5[_0x10374a(0x20a)]===0x0)continue;this[_0x10374a(0x230)](_0x25d787,_0x529ae5,_0x472279,_0x5b6688);}}}}}[_0x105489(0x357)](_0xba92fe,_0x1fb045,_0x1c3665,_0x53afbf,_0xe56e98){const _0x98f4f8=_0x105489,_0x317440=this[_0x98f4f8(0x217)](_0x1fb045),{left:_0x465f34,top:_0x4268a2,height:_0x5954f8}=_0x317440,_0x45a145=this['_getScale'](),_0x560f51=_0x59211d/_0x45a145,_0x4abc8a=new _0x5042e5[(_0x98f4f8(0x39f))](_0x2958d3+_0x4c34fb[_0x98f4f8(0x389)](_0x4de29f),{'left':_0x465f34+_0x1c3665-_0x560f51,'top':_0x4268a2+_0x53afbf,'height':_0x5954f8,'width':_0x6e4b71,'fill':_0xba92fe||_0x5042e5[_0x98f4f8(0x3b6)](_0x4c34fb[_0x98f4f8(0x3aa)]['black'],0x0),'strokeWidth':_0x560f51,'stroke':_0x28c603,'evented':!0x0});this[_0x98f4f8(0x300)]=_0x4abc8a,this['_scene'][_0x98f4f8(0x3e8)](_0x4abc8a,_0x53e9b7[_0x98f4f8(0x424)]);const _0x1392a7=new _0x5042e5[(_0x98f4f8(0x39f))](_0x2958d3+_0x4c34fb[_0x98f4f8(0x389)](_0x4de29f),{'left':_0x465f34+_0x1c3665-_0x560f51,'top':_0x4268a2+_0x53afbf-_0x421c5d/0x2,'height':_0x421c5d,'width':_0x421c5d,'fill':_0xba92fe||_0x5042e5['getColor'](_0x4c34fb['COLORS'][_0x98f4f8(0x245)],0x0),'strokeWidth':0x0,'stroke':_0xba92fe||_0x5042e5[_0x98f4f8(0x3b6)](_0x4c34fb[_0x98f4f8(0x3aa)][_0x98f4f8(0x245)],0x0),'evented':!0x1});this[_0x98f4f8(0x213)]=_0x1392a7,this['_scene'][_0x98f4f8(0x3e8)](_0x1392a7,_0x53e9b7[_0x98f4f8(0x424)]);const _0x15cce8=new _0x3af703(_0x2958d3+_0x4c34fb[_0x98f4f8(0x389)](_0x4de29f),{'left':_0x465f34+_0x1c3665-_0x560f51,'top':_0x4268a2+_0x53afbf-_0x32d615,'text':_0xe56e98,'color':_0xba92fe});this[_0x98f4f8(0x35b)]=_0x15cce8,this[_0x98f4f8(0x42a)][_0x98f4f8(0x3e8)](_0x15cce8,_0x53e9b7[_0x98f4f8(0x424)]),this[_0x98f4f8(0x339)]=!0x1;}[_0x105489(0x378)](){const _0x591870=_0x105489,_0x4d590f=this[_0x591870(0x300)][_0x591870(0x3da)][_0x591870(0x41d)](()=>{const _0x266c35=_0x591870;this[_0x266c35(0x339)]=!0x0;}),_0x15e290=this['_anchor']['onPointerLeave$'][_0x591870(0x41d)](()=>{const _0x33f194=_0x591870;this['_hideTimer']&&clearTimeout(this[_0x33f194(0x34a)]),this[_0x33f194(0x34a)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2ea805=_0x591870;_0x4d590f['unsubscribe'](),_0x15e290[_0x2ea805(0x248)]();};}['_drawTextRange'](_0x503d8b,_0x5a9b56,_0x215f70,_0x3c4d2e){const _0x1b58d0=_0x105489,_0x251076=new _0x4c34fb[(_0x1b58d0(0x2d4))](_0x503d8b)[_0x1b58d0(0x2a8)](0.2)[_0x1b58d0(0x2a0)](),_0x155826=new _0x5042e5[(_0x1b58d0(0x41a))](_0x5c4381+_0x4c34fb[_0x1b58d0(0x389)](_0x4de29f),{'pointsGroup':_0x5a9b56,'fill':_0x251076||_0x5042e5[_0x1b58d0(0x3b6)](_0x4c34fb[_0x1b58d0(0x3aa)][_0x1b58d0(0x245)],0.2),'left':_0x215f70,'top':_0x3c4d2e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b58d0(0x437)][_0x1b58d0(0x2a9)](_0x155826),this[_0x1b58d0(0x42a)][_0x1b58d0(0x3e8)](_0x155826,_0x53e9b7[_0x1b58d0(0x424)]);}['_drawRectRange'](_0x4ed501,_0x2d699f,_0x1de2ff,_0x47ab8d){const _0x3302d8=_0x105489,_0x5ac7c0=new _0x4c34fb[(_0x3302d8(0x2d4))](_0x4ed501)['setAlpha'](0.2)[_0x3302d8(0x2a0)](),_0x1d1e38=new _0x5042e5[(_0x3302d8(0x41a))](_0x1504ce+_0x4c34fb['generateRandomId'](_0x4de29f),{'pointsGroup':_0x2d699f,'fill':_0x5ac7c0||_0x5042e5[_0x3302d8(0x3b6)](_0x4c34fb['COLORS'][_0x3302d8(0x245)],0.2),'left':_0x1de2ff,'top':_0x47ab8d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3302d8(0x437)][_0x3302d8(0x2a9)](_0x1d1e38),this[_0x3302d8(0x42a)][_0x3302d8(0x3e8)](_0x1d1e38,_0x53e9b7[_0x3302d8(0x424)]);}[_0x105489(0x217)](_0x5a779a){const _0x51f0f3=_0x5a779a[0x0],_0x51584f=_0x51f0f3[0x0],_0x4d4884=_0x51f0f3[0x2],{x:_0x4b433a,y:_0x413d50}=_0x51584f,{x:_0xadf871,y:_0x41ba28}=_0x4d4884;return{'left':_0x4b433a,'top':_0x413d50,'width':_0xadf871-_0x4b433a,'height':_0x41ba28-_0x413d50};}[_0x105489(0x1d5)](){const _0x5e233a=_0x105489,{scaleX:_0x2f6b9f,scaleY:_0x278030}=this[_0x5e233a(0x42a)][_0x5e233a(0x3a7)]();return Math['max'](_0x2f6b9f,_0x278030);}}var _0x2857fb=Object['getOwnPropertyDescriptor'],_0x361991=(_0x5936fd,_0xdfe3bc,_0x3f1296,_0x531517)=>{for(var _0x5604d9=_0x531517>0x1?void 0x0:_0x531517?_0x2857fb(_0xdfe3bc,_0x3f1296):_0xdfe3bc,_0x4dd5db=_0x5936fd['length']-0x1,_0x281ad9;_0x4dd5db>=0x0;_0x4dd5db--)(_0x281ad9=_0x5936fd[_0x4dd5db])&&(_0x5604d9=_0x281ad9(_0x5604d9)||_0x5604d9);return _0x5604d9;},_0x3928d2=(_0x4fea3f,_0x5410e6)=>(_0x577912,_0x54fca)=>_0x5410e6(_0x577912,_0x54fca,_0x4fea3f);let _0x442c72=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x46eb2a,_0xef7f8a,_0x4889c7,_0x368b99,_0x415728){const _0x24e4fb=_0x105489;super(),_0x23d7a8(this,_0x24e4fb(0x341),[]),_0x23d7a8(this,'_cursors',[]),(this[_0x24e4fb(0x331)]=_0x46eb2a,this[_0x24e4fb(0x263)]=_0xef7f8a,this[_0x24e4fb(0x3c6)]=_0x4889c7,this['_commandService']=_0x368b99,this[_0x24e4fb(0x1d2)]=_0x415728,this[_0x24e4fb(0x26c)]());}['_init'](){const _0x4ec624=_0x105489,_0x5f2140=this['_context'][_0x4ec624(0x3ee)],_0x5c8481=this[_0x4ec624(0x263)];this[_0x4ec624(0x321)](_0x4bbdc9[_0x4ec624(0x400)]([this['_collabCursorController'][_0x4ec624(0x1f1)](_0x5f2140),this[_0x4ec624(0x1d2)][_0x4ec624(0x1e9)]])['pipe'](_0x56870d[_0x4ec624(0x233)](([_0x285472,_0x1fb5a8])=>({'skeleton':_0x5c8481[_0x4ec624(0x1fe)](),'cursors':[..._0x285472[_0x4ec624(0x2cb)]()]['flatMap'](_0x17a655=>({..._0x17a655,'color':this[_0x4ec624(0x1d2)][_0x4ec624(0x45a)](_0x17a655[_0x4ec624(0x3a0)])}))})))[_0x4ec624(0x2f9)](_0x27b534=>{const _0x5ac75e=_0x4ec624;if(this[_0x5ac75e(0x2da)](),_0x27b534){const {skeleton:_0x148cf4,cursors:_0x2230b1}=_0x27b534;this[_0x5ac75e(0x417)](_0x148cf4,_0x2230b1);}})),this[_0x4ec624(0x1ec)](),this[_0x4ec624(0x2f8)]();}['_updateCollabCursors'](_0x13bf51,_0xed6760){const _0x54d6d5=_0x105489,{scene:_0x29138c,mainComponent:_0x5f5651}=this[_0x54d6d5(0x331)],_0xc0cacf=_0xed6760[_0x54d6d5(0x233)](_0xc3c94d=>new _0x1704e3(_0xc3c94d,_0x29138c,_0x13bf51,_0x5f5651));this[_0x54d6d5(0x341)]=_0xc0cacf,this[_0x54d6d5(0x3ca)]=_0xed6760;}['_refreshCollabCursors'](){const _0x32305e=_0x105489;this[_0x32305e(0x2da)]();const {scene:_0x89fca0,mainComponent:_0x2a4baa}=this[_0x32305e(0x331)],_0x3561f5=this[_0x32305e(0x263)][_0x32305e(0x1fe)](),_0x538776=this['_cursors']['map'](_0x2b59af=>new _0x1704e3(_0x2b59af,_0x89fca0,_0x3561f5,_0x2a4baa));this[_0x32305e(0x341)]=_0x538776;}[_0x105489(0x2da)](){const _0x3487a9=_0x105489;this[_0x3487a9(0x341)]['forEach'](_0x472059=>_0x472059[_0x3487a9(0x275)]()),this[_0x3487a9(0x341)]=[];}['_initCommandExecutedListener'](){const _0x4b322a=_0x105489,_0x549d76=[_0x53e9b7[_0x4b322a(0x223)]['id']];this['disposeWithMe'](this[_0x4b322a(0x355)][_0x4b322a(0x2bf)](_0x57f444=>{const _0x216fb1=_0x4b322a;_0x549d76['includes'](_0x57f444['id'])&&_0x57f444[_0x216fb1(0x1d6)][_0x216fb1(0x3ee)]===this['_context'][_0x216fb1(0x3ee)]&&this['_refreshCollabCursors']();}));}[_0x105489(0x1ec)](){const _0x7b0e33=_0x105489;this[_0x7b0e33(0x321)](_0x4c34fb['fromEventSubject'](this[_0x7b0e33(0x331)][_0x7b0e33(0x2ab)][_0x7b0e33(0x2d0)])[_0x7b0e33(0x35a)](_0x56870d['filter'](_0x1e2da1=>_0x1e2da1[_0x7b0e33(0x387)]===_0x5042e5[_0x7b0e33(0x402)][_0x7b0e33(0x38a)]),_0x56870d[_0x7b0e33(0x306)](0x10))['subscribe'](()=>{const _0x2b46c8=_0x7b0e33;this[_0x2b46c8(0x276)]();}));}};_0x442c72=_0x361991([_0x3928d2(0x1,_0x4c34fb['Inject'](_0x23a4b4['DocSkeletonManagerService'])),_0x3928d2(0x2,_0x4c34fb[_0x105489(0x338)](_0x4cbfa5)),_0x3928d2(0x3,_0x4c34fb[_0x105489(0x25f)]),_0x3928d2(0x4,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['ThemeService']))],_0x442c72);const _0x2c8e0c=0x1,_0x420176=1.5;class _0x2e23f3 extends _0x5042e5[_0x105489(0x3fa)]{constructor(_0x274e53,_0x1b24b6){const _0x28e6f1=_0x105489;super(_0x274e53,_0x1b24b6),_0x23d7a8(this,_0x28e6f1(0x31b)),_0x23d7a8(this,_0x28e6f1(0x3e0),!0x1),_0x23d7a8(this,_0x28e6f1(0x25d)),_0x23d7a8(this,_0x28e6f1(0x3ad),''),_0x23d7a8(this,_0x28e6f1(0x2c7),_0x28e6f1(0x1e7)),_0x23d7a8(this,_0x28e6f1(0x30d)),(_0x1b24b6&&this[_0x28e6f1(0x266)](_0x1b24b6),this[_0x28e6f1(0x3da)][_0x28e6f1(0x41d)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x28e6f1(0x280)][_0x28e6f1(0x41d)](()=>this[_0x28e6f1(0x266)]({'hovered':!0x1})));}[_0x105489(0x266)](_0x5ddc03){const _0x18efb0=_0x105489;var _0x24a523,_0xc8634b,_0xac9b32,_0xe64715,_0x443e3f,_0x52e1b3;this[_0x18efb0(0x31b)]=(_0x24a523=_0x5ddc03[_0x18efb0(0x3a0)])!=null?_0x24a523:this[_0x18efb0(0x31b)],this[_0x18efb0(0x3e0)]=(_0xc8634b=_0x5ddc03[_0x18efb0(0x1e3)])!=null?_0xc8634b:this['_hovered'],this['_range']=(_0xac9b32=_0x5ddc03[_0x18efb0(0x2a6)])!=null?_0xac9b32:this[_0x18efb0(0x25d)],this[_0x18efb0(0x3ad)]=(_0xe64715=_0x5ddc03[_0x18efb0(0x3d1)])!=null?_0xe64715:this[_0x18efb0(0x3ad)],this['_labelPosition']=(_0x443e3f=_0x5ddc03[_0x18efb0(0x237)])!=null?_0x443e3f:this[_0x18efb0(0x2c7)],this[_0x18efb0(0x30d)]=(_0x52e1b3=_0x5ddc03[_0x18efb0(0x3ce)])!=null?_0x52e1b3:this[_0x18efb0(0x30d)],this['transformByState']({'width':_0x5ddc03['width'],'height':_0x5ddc03[_0x18efb0(0x27e)]});}['onMouseMove'](_0x1d16e3){const _0x5cfca0=_0x105489,{row:_0x3431e2,column:_0x4196ad}=_0x1d16e3;if(_0x3431e2>=this['_range'][_0x5cfca0(0x200)]&&_0x3431e2<=this[_0x5cfca0(0x25d)][_0x5cfca0(0x2d2)]&&_0x4196ad>=this[_0x5cfca0(0x25d)][_0x5cfca0(0x2cc)]&&_0x4196ad<=this[_0x5cfca0(0x25d)][_0x5cfca0(0x435)]){this[_0x5cfca0(0x266)]({'hovered':!0x0});return;}this[_0x5cfca0(0x266)]({'hovered':!0x1});}[_0x105489(0x220)](_0xb2ba6d){return!0x1;}[_0x105489(0x1dc)](_0x43885d){const _0x3f3823=_0x105489;_0x5042e5[_0x3f3823(0x39f)]['drawWith'](_0x43885d,{'width':this[_0x3f3823(0x1ef)],'height':this['height'],'strokeWidth':_0x420176,'stroke':this[_0x3f3823(0x31b)],'evented':!0x1,'fill':this[_0x3f3823(0x30d)]}),this['_hovered']&&(_0x43885d['save'](),_0x43885d[_0x3f3823(0x2eb)](0x1,0x0,0x0,0x1,this[_0x3f3823(0x1ef)],this['_labelPosition']===_0x3f3823(0x2aa)?0x0:-0x14),_0x3af703[_0x3f3823(0x412)](_0x43885d,{'text':this['_name'],'color':this[_0x3f3823(0x31b)]}),_0x43885d[_0x3f3823(0x2a7)]());}}var _0x55464d=Object[_0x105489(0x270)],_0x35f946=(_0x3cdfc4,_0x4ae2d3,_0x2934ba,_0x270784)=>{for(var _0x3ca95b=_0x270784>0x1?void 0x0:_0x270784?_0x55464d(_0x4ae2d3,_0x2934ba):_0x4ae2d3,_0xd79e6e=_0x3cdfc4['length']-0x1,_0x163c87;_0xd79e6e>=0x0;_0xd79e6e--)(_0x163c87=_0x3cdfc4[_0xd79e6e])&&(_0x3ca95b=_0x163c87(_0x3ca95b)||_0x3ca95b);return _0x3ca95b;},_0x299c20=(_0x3760eb,_0x2473d5)=>(_0x3affdc,_0x38d34b)=>_0x2473d5(_0x3affdc,_0x38d34b,_0x3760eb);const _0x25cec6=0x1389;let _0x3c2e62=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x912de5,_0x5f22a9,_0x45f2b7,_0x163b97){const _0x3c3408=_0x105489;super(),_0x23d7a8(this,_0x3c3408(0x3ca),new Set()),_0x23d7a8(this,_0x3c3408(0x23d),null),(this[_0x3c3408(0x331)]=_0x912de5,this['_sheetSkeletonManagerService']=_0x5f22a9,this[_0x3c3408(0x3c6)]=_0x45f2b7,this[_0x3c3408(0x1d2)]=_0x163b97,this[_0x3c3408(0x26c)]());}[_0x105489(0x26c)](){const _0x15d58b=_0x105489;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x15d58b(0x35a)](_0x56870d[_0x15d58b(0x20e)](this[_0x15d58b(0x2df)]),_0x56870d[_0x15d58b(0x3e1)](_0x2de257=>{const _0x4faf66=_0x15d58b;if(_0x2de257){const _0x18ae94=_0x2de257[_0x4faf66(0x29e)];return _0x4bbdc9[_0x4faf66(0x400)](this['_collabCursorController'][_0x4faf66(0x1f1)](this[_0x4faf66(0x331)]['unitId']),this[_0x4faf66(0x1d2)]['currentTheme$'])['pipe'](_0x56870d[_0x4faf66(0x233)](([_0x28265e,_0x9b87d1])=>{const _0x2145ab=_0x4faf66,_0x496d9=new Map();return _0x28265e[_0x2145ab(0x2ee)]((_0x4e6e98,_0x51cc4f)=>{const _0x47c57f=_0x2145ab;if(_0x4e6e98['sheetID']===_0x18ae94){const _0xd42cbc={..._0x4e6e98};_0xd42cbc['color']=this[_0x47c57f(0x1d2)][_0x47c57f(0x45a)](_0x4e6e98[_0x47c57f(0x3a0)]),_0x496d9[_0x47c57f(0x41e)](_0x51cc4f,_0xd42cbc);}}),{'skeleton':_0x2de257,'cursors':_0x496d9};}));}return _0x4bbdc9['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x255b3d,cursors:_0x52509e})=>{const _0x1c9b8c=_0x15d58b;this[_0x1c9b8c(0x2da)](),_0x255b3d&&this[_0x1c9b8c(0x417)](_0x255b3d,_0x52509e);}),this[_0x15d58b(0x3ac)][_0x15d58b(0x28c)]['subscribe'](_0x466d85=>{const _0x144933=_0x15d58b;if(_0x466d85==null)return;const {skeleton:_0x512cbc}=_0x466d85,{scene:_0x5ea7f7}=this[_0x144933(0x331)];_0x5ea7f7[_0x144933(0x232)][_0x144933(0x41d)](_0x4c34fb['debounce'](_0x58f40f=>{const _0x399939=_0x144933;var _0x49935d,_0x436313;const {offsetX:_0x1693a7,offsetY:_0x50bc29}=_0x58f40f,{x:_0x1a7c52,y:_0x18c535}=_0x5ea7f7[_0x399939(0x1df)](_0x5042e5[_0x399939(0x439)][_0x399939(0x3e4)]([_0x1693a7,_0x50bc29])),{scaleX:_0x11b1c1,scaleY:_0x472e2f}=_0x5ea7f7[_0x399939(0x3a7)](),_0x1cbd75=_0x5ea7f7['getViewport'](_0x5042e5[_0x399939(0x307)][_0x399939(0x3b1)]),_0x3a5792=_0x5ea7f7['getVpScrollXYInfoByPosToVp'](_0x5042e5['Vector2'][_0x399939(0x3e4)]([_0x1a7c52,_0x18c535]),_0x1cbd75),_0x3a5061=_0x512cbc[_0x399939(0x209)](_0x1693a7,_0x50bc29,_0x11b1c1,_0x472e2f,_0x3a5792);((_0x49935d=this[_0x399939(0x23d)])==null?void 0x0:_0x49935d[_0x399939(0x368)])===_0x3a5061[_0x399939(0x368)]&&((_0x436313=this[_0x399939(0x23d)])==null?void 0x0:_0x436313['row'])===_0x3a5061['row']||this['_cursors'][_0x399939(0x2ee)](_0xf16aac=>{const _0x4eae17=_0x399939;_0xf16aac[_0x4eae17(0x416)](_0x3a5061);});},0x64));});}['_updateCollabCursors'](_0x361cb2,_0x375449){const _0x10980e=_0x105489;var _0x59a606;const _0x180bb7=(_0x59a606=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x59a606[_0x10980e(0x29f)];if(!_0x180bb7)return;const _0x5079a7=this['_getSheetObject']();if(!_0x5079a7)return;this[_0x10980e(0x3ca)][_0x10980e(0x2ee)](_0x59c05d=>{const _0x596b48=_0x10980e;_0x59c05d[_0x596b48(0x42b)]();});const {scene:_0x2fe84d}=_0x5079a7,_0x33a32a=_0x29c258(Array[_0x10980e(0x2c0)](_0x375449['values']()))['map'](_0x106ddb=>{const _0x2ff0b9=_0x10980e,{color:_0x179ada,range:_0x3f25a6,name:_0x95c517,selection:_0x27a314,sheetID:_0x4d738b}=_0x106ddb,{startColumn:_0x3e7313,startRow:_0x2d47e3,endColumn:_0x5eb05a,endRow:_0xbb966}=_0x3f25a6,_0x2f056c=_0x49d1f5[_0x2ff0b9(0x1e2)](_0x2d47e3,_0x3e7313,_0x2fe84d,_0x180bb7),_0x5cb343=_0x49d1f5['getCoordByCell'](_0xbb966,_0x5eb05a,_0x2fe84d,_0x180bb7),{columnHeaderHeightAndMarginTop:_0x42b126}=_0x180bb7,{startX:_0x594867,startY:_0x269b28}=_0x2f056c,{endX:_0x38e106,endY:_0x40a209}=_0x5cb343,_0x46176a=_0x38e106-_0x594867,_0x57fcfa=_0x40a209-_0x269b28,_0x2d5693={'labelPosition':_0x269b28-_0x42b126>=_0x32d615?_0x2ff0b9(0x1e7):_0x2ff0b9(0x2aa),'sheetID':_0x4d738b,'range':_0x3f25a6,'color':_0x179ada,'name':_0x95c517,'selection':_0x27a314,'left':_0x594867,'top':_0x269b28,'width':_0x46176a,'height':_0x57fcfa,'evented':!0x1,'zIndex':_0x25cec6};return new _0x2e23f3(_0x95c517,_0x2d5693);});_0x2fe84d[_0x10980e(0x246)](_0x33a32a,_0x2c8e0c),this[_0x10980e(0x3ca)]=new Set(_0x33a32a);}[_0x105489(0x2da)](){const _0x25ccfc=_0x105489;var _0x4304f5;(_0x4304f5=this[_0x25ccfc(0x3ca)])==null||_0x4304f5[_0x25ccfc(0x2ee)](_0x2791d=>_0x2791d[_0x25ccfc(0x275)]());}['_getSheetObject'](){const _0x3973b9=_0x105489;return _0x49d1f5[_0x3973b9(0x342)](this[_0x3973b9(0x331)][_0x3973b9(0x2ae)],this['_context']);}};_0x3c2e62=_0x35f946([_0x299c20(0x1,_0x4c34fb[_0x105489(0x338)](_0x49d1f5['SheetSkeletonManagerService'])),_0x299c20(0x2,_0x4c34fb[_0x105489(0x338)](_0x4cbfa5)),_0x299c20(0x3,_0x4c34fb['Inject'](_0x4c34fb[_0x105489(0x3ec)]))],_0x3c2e62);function _0x29c258(_0x5a0d91){const _0x41dafb=_0x105489,_0x13f4c2=new Map();return _0x5a0d91[_0x41dafb(0x2ee)](_0x5a2bcb=>{const _0x317fe7=_0x41dafb;if(_0x13f4c2[_0x317fe7(0x44c)](_0x5a2bcb[_0x317fe7(0x422)])){const _0x1d24ad=_0x13f4c2[_0x317fe7(0x225)](_0x5a2bcb[_0x317fe7(0x422)]);_0x1d24ad[_0x317fe7(0x3d1)]+=',\x20'+_0x5a2bcb[_0x317fe7(0x3d1)];}else _0x13f4c2[_0x317fe7(0x41e)](_0x5a2bcb[_0x317fe7(0x422)],_0x5a2bcb);}),Array['from'](_0x13f4c2['values']());}var _0xa4df44=function(){const _0x484338=_0x105489;return _0xa4df44=Object[_0x484338(0x1dd)]||function(_0x4cbfc8){const _0x3b7ff9=_0x484338;for(var _0x17143c,_0x58f59a=0x1,_0x5b8050=arguments[_0x3b7ff9(0x20a)];_0x58f59a<_0x5b8050;_0x58f59a++){_0x17143c=arguments[_0x58f59a];for(var _0x50569f in _0x17143c)Object[_0x3b7ff9(0x289)][_0x3b7ff9(0x32e)]['call'](_0x17143c,_0x50569f)&&(_0x4cbfc8[_0x50569f]=_0x17143c[_0x50569f]);}return _0x4cbfc8;},_0xa4df44['apply'](this,arguments);},_0x140dc7=function(_0x3b5abf,_0x908b8){const _0x1baf99=_0x105489;var _0x5a7adf={};for(var _0x450992 in _0x3b5abf)Object[_0x1baf99(0x289)]['hasOwnProperty'][_0x1baf99(0x390)](_0x3b5abf,_0x450992)&&_0x908b8[_0x1baf99(0x27a)](_0x450992)<0x0&&(_0x5a7adf[_0x450992]=_0x3b5abf[_0x450992]);if(_0x3b5abf!=null&&typeof Object[_0x1baf99(0x2e5)]==_0x1baf99(0x303)){for(var _0x96fe8a=0x0,_0x450992=Object[_0x1baf99(0x2e5)](_0x3b5abf);_0x96fe8a<_0x450992[_0x1baf99(0x20a)];_0x96fe8a++)_0x908b8[_0x1baf99(0x27a)](_0x450992[_0x96fe8a])<0x0&&Object[_0x1baf99(0x289)][_0x1baf99(0x2e6)]['call'](_0x3b5abf,_0x450992[_0x96fe8a])&&(_0x5a7adf[_0x450992[_0x96fe8a]]=_0x3b5abf[_0x450992[_0x96fe8a]]);}return _0x5a7adf;},_0x38a87a=_0x3c8ecb[_0x105489(0x258)](function(_0x4b00b5,_0x1feb85){const _0xe966d1=_0x105489;var _0x3ce544=_0x4b00b5['icon'],_0x5c8379=_0x4b00b5['id'],_0x26ff89=_0x4b00b5[_0xe966d1(0x3be)],_0x396933=_0x4b00b5['extend'],_0x3e7aac=_0x140dc7(_0x4b00b5,[_0xe966d1(0x24f),'id',_0xe966d1(0x3be),_0xe966d1(0x2fc)]),_0xb12b27=_0xe966d1(0x396)[_0xe966d1(0x349)](_0x5c8379,'\x20')[_0xe966d1(0x349)](_0x26ff89||'')[_0xe966d1(0x353)](),_0x448a2b=_0x3c8ecb['useRef']('_'[_0xe966d1(0x349)](_0x1c12c5()));return _0xdd0a22(_0x3ce544,''['concat'](_0x5c8379),{'defIds':_0x3ce544[_0xe966d1(0x2b1)],'idSuffix':_0x448a2b['current']},_0xa4df44({'ref':_0x1feb85,'className':_0xb12b27},_0x3e7aac),_0x396933);});function _0xdd0a22(_0x4ef961,_0xb475ad,_0x4c3127,_0x1126d7,_0x2707a9){const _0x2173c2=_0x105489;return _0x3c8ecb['createElement'](_0x4ef961['tag'],_0xa4df44(_0xa4df44({'key':_0xb475ad},_0x2cf56c(_0x4ef961,_0x4c3127,_0x2707a9)),_0x1126d7),(_0x5120ce(_0x4ef961,_0x4c3127)[_0x2173c2(0x44b)]||[])[_0x2173c2(0x233)](function(_0x5eeeb1,_0x50cd4c){const _0x27e719=_0x2173c2;return _0xdd0a22(_0x5eeeb1,''[_0x27e719(0x349)](_0xb475ad,'-')['concat'](_0x4ef961[_0x27e719(0x440)],'-')[_0x27e719(0x349)](_0x50cd4c),_0x4c3127,void 0x0,_0x2707a9);}));}function _0x2cf56c(_0x30ad00,_0x285c41,_0x1cfe83){const _0x263a8e=_0x105489;var _0x23cc33=_0xa4df44({},_0x30ad00[_0x263a8e(0x3db)]);_0x1cfe83!=null&&_0x1cfe83[_0x263a8e(0x3c3)]&&_0x23cc33[_0x263a8e(0x2e0)]===_0x263a8e(0x3c3)&&(_0x23cc33['fill']=_0x1cfe83[_0x263a8e(0x3c3)]),_0x30ad00[_0x263a8e(0x440)]===_0x263a8e(0x301)&&_0x23cc33['id']&&(_0x23cc33['id']=_0x23cc33['id']+_0x285c41['idSuffix']),Object[_0x263a8e(0x2f0)](_0x23cc33)[_0x263a8e(0x2ee)](function(_0x110387){const _0x2ca1bc=_0x263a8e;var _0x5a6237=_0x110387[0x0],_0x4b80bb=_0x110387[0x1];_0x5a6237===_0x2ca1bc(0x301)&&typeof _0x4b80bb==_0x2ca1bc(0x2a5)&&(_0x23cc33[_0x5a6237]=_0x4b80bb[_0x2ca1bc(0x1e4)](/url\(#(.*)\)/,'url(#$1'[_0x2ca1bc(0x349)](_0x285c41[_0x2ca1bc(0x43a)],')')));});var _0x379ba1=_0x285c41[_0x263a8e(0x2b1)];return!_0x379ba1||_0x379ba1[_0x263a8e(0x20a)]===0x0||(_0x30ad00[_0x263a8e(0x440)]===_0x263a8e(0x204)&&_0x23cc33[_0x263a8e(0x429)]&&(_0x23cc33['xlink:href']=_0x23cc33['xlink:href']+_0x285c41[_0x263a8e(0x43a)]),Object['entries'](_0x23cc33)['forEach'](function(_0x24d543){const _0xbfbd86=_0x263a8e;var _0x46ae60=_0x24d543[0x0],_0x36999d=_0x24d543[0x1];typeof _0x36999d=='string'&&(_0x23cc33[_0x46ae60]=_0x36999d[_0xbfbd86(0x1e4)](/url\(#(.*)\)/,_0xbfbd86(0x2a3)['concat'](_0x285c41['idSuffix'],')')));})),_0x23cc33;}function _0x5120ce(_0x564b14,_0x51fabf){const _0x3ea9bc=_0x105489;var _0x3b32a5,_0x4d2a92=_0x51fabf[_0x3ea9bc(0x2b1)];return!_0x4d2a92||_0x4d2a92[_0x3ea9bc(0x20a)]===0x0?_0x564b14:_0x564b14[_0x3ea9bc(0x440)]===_0x3ea9bc(0x2d5)&&(!((_0x3b32a5=_0x564b14[_0x3ea9bc(0x44b)])===null||_0x3b32a5===void 0x0)&&_0x3b32a5[_0x3ea9bc(0x20a)])?_0xa4df44(_0xa4df44({},_0x564b14),{'children':_0x564b14[_0x3ea9bc(0x44b)][_0x3ea9bc(0x233)](function(_0x2212f6){const _0x4e9068=_0x3ea9bc;return typeof _0x2212f6[_0x4e9068(0x3db)]['id']==_0x4e9068(0x2a5)&&_0x4d2a92&&_0x4d2a92['includes'](_0x2212f6[_0x4e9068(0x3db)]['id'])?_0xa4df44(_0xa4df44({},_0x2212f6),{'attrs':_0xa4df44(_0xa4df44({},_0x2212f6[_0x4e9068(0x3db)]),{'id':_0x2212f6[_0x4e9068(0x3db)]['id']+_0x51fabf[_0x4e9068(0x43a)]})}):_0x2212f6;})}):_0x564b14;}function _0x1c12c5(){const _0x5a7092=_0x105489;return Math[_0x5a7092(0x330)]()[_0x5a7092(0x302)](0x24)[_0x5a7092(0x210)](0x2,0x8);}_0x38a87a[_0x105489(0x2c4)]=_0x105489(0x1ff);var _0x545ac1={'tag':'svg','attrs':{'xmlns':_0x105489(0x314),'fill':'none','viewBox':_0x105489(0x283),'width':'1em','height':_0x105489(0x3e3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x105489(0x3a4),'attrs':{'stroke':_0x105489(0x459),'d':_0x105489(0x317),'strokeLinecap':_0x105489(0x3ba),'strokeLinejoin':_0x105489(0x3ba),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x105489(0x2dd)},'children':[{'tag':_0x105489(0x3a4),'attrs':{'fill':_0x105489(0x2b4),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x105489(0x2dd)]},_0x31a270=_0x3c8ecb[_0x105489(0x258)](function(_0x5c9d5c,_0x443cbb){const _0x343659=_0x105489;return _0x3c8ecb[_0x343659(0x35e)](_0x38a87a,Object[_0x343659(0x1dd)]({},_0x5c9d5c,{'id':_0x343659(0x240),'ref':_0x443cbb,'icon':_0x545ac1}));});_0x31a270[_0x105489(0x2c4)]=_0x105489(0x1d4);var _0x5d3881={'tag':_0x105489(0x359),'attrs':{'xmlns':_0x105489(0x314),'fill':_0x105489(0x432),'viewBox':_0x105489(0x1da),'width':'1em','height':_0x105489(0x3e3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x105489(0x3a4),'attrs':{'stroke':_0x105489(0x459),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x105489(0x3ba),'strokeLinejoin':_0x105489(0x3ba),'strokeWidth':1.2}}]},{'tag':_0x105489(0x2d5),'attrs':{},'children':[{'tag':_0x105489(0x20b),'attrs':{'id':_0x105489(0x3b9)},'children':[{'tag':_0x105489(0x3a4),'attrs':{'fill':_0x105489(0x2b4),'d':_0x105489(0x32b),'transform':_0x105489(0x2d9)}}]}]}],'defIds':[_0x105489(0x3b9)]},_0x2d2131=_0x3c8ecb[_0x105489(0x258)](function(_0x4e7411,_0x400f1c){const _0x5ec5e6=_0x105489;return _0x3c8ecb[_0x5ec5e6(0x35e)](_0x38a87a,Object[_0x5ec5e6(0x1dd)]({},_0x4e7411,{'id':_0x5ec5e6(0x26f),'ref':_0x400f1c,'icon':_0x5d3881}));});_0x2d2131[_0x105489(0x2c4)]=_0x105489(0x315);function _0x57ddf5(_0x2a20f2){const _0x138c27=_0x105489;switch(_0x2a20f2){case _0x145739[_0x138c27(0x1e6)]['OFFLINE']:return _0x138c27(0x2ca);case _0x145739['CollaborationStatus']['CONFLICT']:return _0x138c27(0x3af);case _0x145739[_0x138c27(0x1e6)][_0x138c27(0x43d)]:return _0x138c27(0x3fe);case _0x145739[_0x138c27(0x1e6)][_0x138c27(0x25a)]:return _0x138c27(0x370);case _0x145739[_0x138c27(0x1e6)][_0x138c27(0x24c)]:case _0x145739['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x138c27(0x340);case _0x145739['CollaborationStatus'][_0x138c27(0x285)]:case _0x145739[_0x138c27(0x1e6)][_0x138c27(0x202)]:return _0x138c27(0x42f);}}function _0x2075e1(_0x5af7fd){const _0x251e26=_0x105489,{status$:_0x310682}=_0x5af7fd,_0x842e86=_0x2cb420[_0x251e26(0x326)](_0x310682,_0x145739['CollaborationStatus'][_0x251e26(0x25a)]),_0x7923e7=_0x2cb420[_0x251e26(0x222)](_0x4c34fb[_0x251e26(0x1cf)]),_0x456a5c=_0x2cb420[_0x251e26(0x222)](_0x145739[_0x251e26(0x2e2)]),_0x1b8ca2=_0x842e86!==_0x145739[_0x251e26(0x1e6)]['OFFLINE'],_0x456080=_0x7923e7['t'](_0x57ddf5(_0x842e86)),_0x3599bb=_0x1b8ca2?_0x1c28f4[_0x251e26(0x22f)](_0x2d2131,{}):_0x1c28f4[_0x251e26(0x22f)](_0x31a270,{}),_0x51f6da=_0x3c8ecb[_0x251e26(0x3d8)](()=>{_0x1b8ca2||_0x456a5c['reconnect']();},[_0x1b8ca2,_0x456a5c]);function _0x298f16(){const _0x54b7ec=_0x251e26;return _0x1c28f4[_0x54b7ec(0x3a9)]('div',{'className':_0x54b7ec(0x260),'onClick':_0x51f6da,'children':[_0x1c28f4['jsx'](_0x54b7ec(0x34c),{'className':_0x1581e7[_0x54b7ec(0x45d)](_0x54b7ec(0x21a),{'univer-text-green-500':_0x1b8ca2,'univer-text-red-500':!_0x1b8ca2}),'children':_0x3599bb}),_0x1c28f4[_0x54b7ec(0x22f)]('div',{'className':_0x54b7ec(0x214),'children':_0x456080})]});}return _0x1b8ca2?_0x298f16():_0x1c28f4['jsx'](_0x1581e7[_0x251e26(0x1f2)],{'title':_0x7923e7['t'](_0x251e26(0x453)),'children':_0x298f16()});}var _0x17b87d=Object[_0x105489(0x270)],_0x5c0722=(_0x2fb5d2,_0x4c76d0,_0x478fef,_0x50e70d)=>{const _0x57c862=_0x105489;for(var _0x4df426=_0x50e70d>0x1?void 0x0:_0x50e70d?_0x17b87d(_0x4c76d0,_0x478fef):_0x4c76d0,_0x43a7d4=_0x2fb5d2[_0x57c862(0x20a)]-0x1,_0x2b2582;_0x43a7d4>=0x0;_0x43a7d4--)(_0x2b2582=_0x2fb5d2[_0x43a7d4])&&(_0x4df426=_0x2b2582(_0x4df426)||_0x4df426);return _0x4df426;},_0xab886e=(_0x549d33,_0x103435)=>(_0x48ab84,_0x4b5339)=>_0x103435(_0x48ab84,_0x4b5339,_0x549d33);_0x3b1343['DesktopCollaborationStatusDisplayController']=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0x9ba8e9,_0x109c3b,_0x321451,_0x477183){const _0x3e4618=_0x105489;super(),_0x23d7a8(this,'_status$',new _0x4bbdc9['BehaviorSubject'](_0x145739[_0x3e4618(0x1e6)][_0x3e4618(0x25a)])),(this[_0x3e4618(0x325)]=_0x9ba8e9,this[_0x3e4618(0x423)]=_0x109c3b,this['_collaborationController']=_0x321451,this[_0x3e4618(0x1fd)]=_0x477183,this[_0x3e4618(0x1c1)](),this['_initStatusListener']());}[_0x105489(0x2e8)](){const _0x2bdc16=_0x105489;this[_0x2bdc16(0x321)](this[_0x2bdc16(0x325)]['focused$'][_0x2bdc16(0x35a)](_0x4bbdc9[_0x2bdc16(0x3e1)](()=>{const _0x991674=_0x2bdc16,_0x302358=this[_0x991674(0x325)][_0x991674(0x346)]();return _0x302358?this[_0x991674(0x2a2)][_0x991674(0x38e)](_0x302358[_0x991674(0x2e1)]()):_0x4bbdc9['of'](null);}),_0x4bbdc9[_0x2bdc16(0x3e1)](_0x273b31=>_0x273b31?_0x273b31[_0x2bdc16(0x244)]:_0x4bbdc9['of'](_0x145739['CollaborationStatus'][_0x2bdc16(0x25a)])))[_0x2bdc16(0x2f9)](_0x2f7de2=>{const _0x3b75f0=_0x2bdc16;this[_0x3b75f0(0x3eb)][_0x3b75f0(0x34b)](_0x2f7de2);}));}[_0x105489(0x1c1)](){const _0x3a3dff=_0x105489;this['disposeWithMe'](this[_0x3a3dff(0x1fd)][_0x3a3dff(0x22b)](_0x2cb420[_0x3a3dff(0x26e)][_0x3a3dff(0x3ed)],()=>_0x2cb420[_0x3a3dff(0x22c)](_0x3fd468({'status$':this[_0x3a3dff(0x3eb)][_0x3a3dff(0x2ff)]()}),this['_injector'])));}},_0x3b1343[_0x105489(0x28a)]=_0x5c0722([_0xab886e(0x0,_0x4c34fb[_0x105489(0x2f5)]),_0xab886e(0x1,_0x4c34fb[_0x105489(0x338)](_0x4c34fb[_0x105489(0x334)])),_0xab886e(0x2,_0x4c34fb[_0x105489(0x338)](_0x145739[_0x105489(0x36b)])),_0xab886e(0x3,_0x2cb420[_0x105489(0x45b)])],_0x3b1343['DesktopCollaborationStatusDisplayController']);function _0x3fd468(_0x32eb91){const {status$:_0x4be607}=_0x32eb91;return function(){return _0x1c28f4['jsx'](_0x2075e1,{'status$':_0x4be607});};}var _0x45bcfa=Object[_0x105489(0x270)],_0x4894b4=(_0x20973c,_0x307e4b,_0x4f8cb9,_0x335199)=>{for(var _0x25ac8c=_0x335199>0x1?void 0x0:_0x335199?_0x45bcfa(_0x307e4b,_0x4f8cb9):_0x307e4b,_0x2913fa=_0x20973c['length']-0x1,_0x3ccf17;_0x2913fa>=0x0;_0x2913fa--)(_0x3ccf17=_0x20973c[_0x2913fa])&&(_0x25ac8c=_0x3ccf17(_0x25ac8c)||_0x25ac8c);return _0x25ac8c;},_0x34b2e1=(_0x1fa938,_0x21f497)=>(_0x187f4d,_0x558d47)=>_0x21f497(_0x187f4d,_0x558d47,_0x1fa938);let _0x2d4eb0=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0xdd6284,_0x28a2e5,_0x2d905c,_0x52937d,_0x25094e,_0x4321dd){const _0x2e931e=_0x105489;super(),this[_0x2e931e(0x405)]=_0xdd6284,this[_0x2e931e(0x38b)]=_0x28a2e5,this[_0x2e931e(0x208)]=_0x2d905c,this[_0x2e931e(0x2db)]=_0x52937d,this['_notificationService']=_0x25094e,this[_0x2e931e(0x367)]=_0x4321dd,this[_0x2e931e(0x39d)](),this[_0x2e931e(0x365)]();}[_0x105489(0x39d)](){const _0x455ac2=_0x105489;this[_0x455ac2(0x321)](this[_0x455ac2(0x405)]['registerBeforeClose'](()=>{const _0x4365a2=_0x455ac2;if(this['_localCacheService'][_0x4365a2(0x40f)][_0x4365a2(0x2f7)])return this[_0x4365a2(0x367)]['t'](_0x4365a2(0x1ca));}));}['_initEvent'](){const _0x5113e3=_0x105489;this[_0x5113e3(0x321)](this[_0x5113e3(0x208)][_0x5113e3(0x31f)][_0x5113e3(0x2f9)](_0x861432=>{const _0x69c34d=_0x5113e3;_0x861432['id']===_0x145739['CollaborationUIEventId'][_0x69c34d(0x347)]&&this[_0x69c34d(0x2db)][_0x69c34d(0x207)]({'type':_0x1581e7[_0x69c34d(0x282)]['Warning'],'content':this[_0x69c34d(0x367)]['t'](_0x69c34d(0x3d9))}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x1c2)]&&this['_messageService']['show']({'type':_0x1581e7['MessageType'][_0x69c34d(0x262)],'content':this[_0x69c34d(0x367)]['t']('collaboration.closeRoom')}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x239)]&&this['_notificationService'][_0x69c34d(0x207)]({'title':this[_0x69c34d(0x367)]['t'](_0x69c34d(0x395)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x2b5)]&&this[_0x69c34d(0x2db)]['show']({'type':_0x1581e7[_0x69c34d(0x282)][_0x69c34d(0x3b2)],'content':this[_0x69c34d(0x367)]['t']('collaboration.closeRoom')+'('+_0x861432[_0x69c34d(0x1c6)]+')'}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x426)]&&this[_0x69c34d(0x2db)]['show']({'type':_0x1581e7[_0x69c34d(0x282)][_0x69c34d(0x262)],'content':this[_0x69c34d(0x367)]['t'](_0x861432[_0x69c34d(0x1c6)]||'')}),_0x861432['id']===_0x145739[_0x69c34d(0x320)][_0x69c34d(0x44f)]&&this[_0x69c34d(0x2db)][_0x69c34d(0x207)]({'type':_0x1581e7[_0x69c34d(0x282)][_0x69c34d(0x262)],'content':this['_localeService']['t'](_0x69c34d(0x26b))}),_0x861432['id']===_0x145739[_0x69c34d(0x320)]['SOCKET_FAILED']&&this[_0x69c34d(0x2db)][_0x69c34d(0x207)]({'type':_0x1581e7['MessageType']['Error'],'content':this[_0x69c34d(0x367)]['t'](_0x69c34d(0x386))}),_0x861432['id']===_0x145739['CollaborationUIEventId'][_0x69c34d(0x44d)]&&this[_0x69c34d(0x2db)][_0x69c34d(0x207)]({'type':_0x1581e7[_0x69c34d(0x282)][_0x69c34d(0x3b2)],'content':this[_0x69c34d(0x367)]['t'](_0x69c34d(0x363))});}));}};_0x2d4eb0=_0x4894b4([_0x34b2e1(0x0,_0x2cb420[_0x105489(0x372)]),_0x34b2e1(0x1,_0x145739[_0x105489(0x438)]),_0x34b2e1(0x2,_0x4c34fb[_0x105489(0x338)](_0x145739[_0x105489(0x403)])),_0x34b2e1(0x3,_0x2cb420[_0x105489(0x3fc)]),_0x34b2e1(0x4,_0x2cb420['INotificationService']),_0x34b2e1(0x5,_0x4c34fb[_0x105489(0x338)](_0x4c34fb[_0x105489(0x1cf)]))],_0x2d4eb0);const _0x1d9c41='collaboration-client-ui.config',_0x47ba75={},_0x2e3d8b=_0x4c34fb[_0x105489(0x428)](_0x105489(0x1d3));var _0x27ff66=Object['getOwnPropertyDescriptor'],_0x104525=(_0x2db31f,_0x3ddf39,_0x5ad458,_0x288178)=>{const _0x3da415=_0x105489;for(var _0x3a4d9d=_0x288178>0x1?void 0x0:_0x288178?_0x27ff66(_0x3ddf39,_0x5ad458):_0x3ddf39,_0x3870c6=_0x2db31f[_0x3da415(0x20a)]-0x1,_0x3fbc9b;_0x3870c6>=0x0;_0x3870c6--)(_0x3fbc9b=_0x2db31f[_0x3870c6])&&(_0x3a4d9d=_0x3fbc9b(_0x3a4d9d)||_0x3a4d9d);return _0x3a4d9d;},_0x34e8e7=(_0x361854,_0x23685c)=>(_0x47cfc6,_0x58dbeb)=>_0x23685c(_0x47cfc6,_0x58dbeb,_0x361854);_0x3b1343['CollaborationDataLoaderController']=class extends _0x4c34fb[_0x105489(0x241)]{constructor(_0x8ee0d4,_0xe4a43b,_0x280a77,_0xaeeda,_0xa2bd3c){const _0x394863=_0x105489;super(),this[_0x394863(0x1fa)]=_0x8ee0d4,this[_0x394863(0x1eb)]=_0xe4a43b,this['_commandService']=_0x280a77,this[_0x394863(0x226)]=_0xaeeda,_0xa2bd3c?_0xa2bd3c==null||_0xa2bd3c['whenReady']()[_0x394863(0x24d)](()=>this['_init']()):(this[_0x394863(0x1eb)][_0x394863(0x33b)](_0x394863(0x3b4),_0x394863(0x1cd)),this[_0x394863(0x26c)]());}async[_0x105489(0x26c)](){const _0x1a6a57=_0x105489,_0xe4ef2a=this[_0x1a6a57(0x1fa)]['getParam'](_0x1a6a57(0x2ae)),_0x2a256c=this[_0x1a6a57(0x1fa)][_0x1a6a57(0x30b)](_0x1a6a57(0x387)),_0x34cf5e=this['_urlService'][_0x1a6a57(0x30b)](_0x1a6a57(0x456));if(!_0xe4ef2a||!_0x2a256c){this[_0x1a6a57(0x1eb)]['debug'](_0x1a6a57(0x3b4),_0x1a6a57(0x2e7));return;}const _0x23ff44=await this[_0x1a6a57(0x226)][_0x1a6a57(0x27c)](_0xe4ef2a,Number(_0x2a256c),_0x34cf5e);_0x23ff44&&_0x23ff44 instanceof _0x4c34fb['Workbook']&&this[_0x1a6a57(0x352)](_0x23ff44);}async[_0x105489(0x352)](_0x3477d7){const _0xb6ee57=_0x105489;await this['_updateSubUnitFromURLParams'](_0x3477d7),_0x3477d7[_0xb6ee57(0x1f9)]['pipe'](_0x4bbdc9[_0xb6ee57(0x20e)](this[_0xb6ee57(0x2df)]))[_0xb6ee57(0x2f9)](_0x56930f=>{const _0x353cb8=_0xb6ee57;_0x56930f&&this[_0x353cb8(0x1db)](_0x56930f);}),this[_0xb6ee57(0x1fa)]['urlChange$']['pipe'](_0x4bbdc9[_0xb6ee57(0x20e)](this[_0xb6ee57(0x2df)]))[_0xb6ee57(0x2f9)](()=>this[_0xb6ee57(0x206)](_0x3477d7));}[_0x105489(0x1db)](_0x170b89,_0x39a54e=!0x1){const _0x22e7aa=_0x105489,_0x154859=this['_urlService'][_0x22e7aa(0x30b)]('subunit');_0x170b89[_0x22e7aa(0x2ad)]()!==_0x154859&&this[_0x22e7aa(0x1fa)][_0x22e7aa(0x385)]('subunit',_0x170b89[_0x22e7aa(0x2ad)](),_0x39a54e);}async[_0x105489(0x206)](_0x4773d8){const _0x5a0f98=_0x105489;var _0x275290;const _0x99e229=this[_0x5a0f98(0x1fa)][_0x5a0f98(0x30b)]('subunit');if(!_0x99e229||!_0x4773d8[_0x5a0f98(0x458)](_0x99e229)){const _0x53bd0c=_0x4773d8[_0x5a0f98(0x3a1)]()[0x0],_0x349598=_0x4773d8[_0x5a0f98(0x458)](_0x53bd0c);if(!_0x349598)return;this[_0x5a0f98(0x1db)](_0x349598,!0x0),await this[_0x5a0f98(0x355)][_0x5a0f98(0x2fb)](_0x4b7abb['SetWorksheetActivateCommand']['id'],{'unitId':_0x4773d8[_0x5a0f98(0x2e1)](),'subUnitId':_0x53bd0c});return;}((_0x275290=_0x4773d8[_0x5a0f98(0x236)]())==null?void 0x0:_0x275290[_0x5a0f98(0x2ad)]())!==_0x99e229&&await this[_0x5a0f98(0x355)][_0x5a0f98(0x2fb)](_0x4b7abb[_0x5a0f98(0x37f)]['id'],{'unitId':_0x4773d8[_0x5a0f98(0x2e1)](),'subUnitId':_0x99e229});}},_0x3b1343[_0x105489(0x2bb)]=_0x104525([_0x34e8e7(0x0,_0x2e3d8b),_0x34e8e7(0x1,_0x4c34fb[_0x105489(0x3b3)]),_0x34e8e7(0x2,_0x4c34fb[_0x105489(0x25f)]),_0x34e8e7(0x3,_0x4c34fb[_0x105489(0x338)](_0x145739[_0x105489(0x1e1)])),_0x34e8e7(0x4,_0x4c34fb[_0x105489(0x332)](_0x4a84d1[_0x105489(0x2bd)]))],_0x3b1343[_0x105489(0x2bb)]);var _0x5af2c4=Object[_0x105489(0x270)],_0x147209=(_0x16eebb,_0x15bdb7,_0x5c9604,_0x157219)=>{const _0x208f3c=_0x105489;for(var _0x1d05aa=_0x157219>0x1?void 0x0:_0x157219?_0x5af2c4(_0x15bdb7,_0x5c9604):_0x15bdb7,_0x48d325=_0x16eebb[_0x208f3c(0x20a)]-0x1,_0x2af75e;_0x48d325>=0x0;_0x48d325--)(_0x2af75e=_0x16eebb[_0x48d325])&&(_0x1d05aa=_0x2af75e(_0x1d05aa)||_0x1d05aa);return _0x1d05aa;},_0x15413e=(_0x11bba2,_0xe25a0e)=>(_0x5eed33,_0x1cdbda)=>_0xe25a0e(_0x5eed33,_0x1cdbda,_0x11bba2);let _0x12f27e=class{constructor(_0x173636,_0x40bbc1,_0xd3b87d){this['_injector']=_0x173636,this['_transformService']=_0x40bbc1,this['_renderManagerService']=_0xd3b87d;}[_0x105489(0x2ce)](_0x322638){const _0x46a633=_0x105489;this[_0x46a633(0x29c)](_0x322638),this[_0x46a633(0x1c4)](_0x322638);}[_0x105489(0x337)](_0x4caeda){const _0x35236d=_0x105489,{unitID:_0x4cb1cb}=_0x4caeda,_0xf780dd=this[_0x35236d(0x30c)][_0x35236d(0x39a)](_0x4cb1cb)[_0x35236d(0x344)](_0x53e9b7[_0x35236d(0x2ec)]),{redoCache:_0x346538}=_0xf780dd[_0x35236d(0x451)]();if(_0x346538[_0x35236d(0x20a)]===0x0)return _0x4caeda;let _0x522d8c=_0x4c34fb[_0x35236d(0x3cf)][_0x35236d(0x40c)](_0x4caeda[_0x35236d(0x31e)][0x0]);for(let _0x29b5d8=0x0;_0x29b5d8<_0x346538[_0x35236d(0x20a)];_0x29b5d8++){const _0x404cd5={'id':'doc.mutation.rich-text-editing','params':{..._0x346538[_0x29b5d8]}},_0x70f39c=this[_0x35236d(0x1f5)][_0x35236d(0x287)](_0x522d8c,_0x404cd5,!0x1);if(_0x3b6054[_0x35236d(0x33c)](_0x70f39c))throw _0x70f39c[_0x35236d(0x284)];_0x522d8c=_0x70f39c['m1Prime'];}return{..._0x4c34fb[_0x35236d(0x3cf)]['deepClone'](_0x4caeda),'mutations':[_0x522d8c]};}[_0x105489(0x29c)](_0x4c18f5){const _0x38f86d=_0x105489,{unitID:_0x3c946c}=_0x4c18f5,_0x4b25f6=this[_0x38f86d(0x30c)][_0x38f86d(0x39a)](_0x3c946c)[_0x38f86d(0x344)](_0x53e9b7['DocIMEInputManagerService']),{undoCache:_0x9b7a04,redoCache:_0x1ca8a9}=_0x4b25f6[_0x38f86d(0x451)]();if(_0x9b7a04[_0x38f86d(0x20a)]===0x0||_0x1ca8a9['length']===0x0)return;const _0x3cff43=[],_0x37b7e2=[];let _0x77aecc=_0x4c34fb[_0x38f86d(0x3cf)][_0x38f86d(0x40c)](_0x4c18f5[_0x38f86d(0x31e)][0x0]),_0x48387e=_0x4c34fb[_0x38f86d(0x3cf)]['deepClone'](_0x4c18f5[_0x38f86d(0x31e)][0x0]);for(let _0x101067=_0x9b7a04['length']-0x1;_0x101067>=0x0;_0x101067--){const _0x35cf91={'id':_0x38f86d(0x250),'params':{..._0x9b7a04[_0x101067]}},_0x4558a0={'id':_0x38f86d(0x250),'params':{..._0x1ca8a9[_0x101067]}},_0x37fe20=this[_0x38f86d(0x1f5)][_0x38f86d(0x287)](_0x77aecc,_0x35cf91,!0x1),_0x4dd825=this[_0x38f86d(0x1f5)]['transformMutation'](_0x48387e,_0x4558a0,!0x1);if(_0x3b6054[_0x38f86d(0x33c)](_0x37fe20))throw _0x37fe20[_0x38f86d(0x284)];if(_0x3b6054['isTransformMutationFailure'](_0x4dd825))throw _0x4dd825[_0x38f86d(0x284)];_0x3cff43['unshift'](_0x37fe20[_0x38f86d(0x1e0)][_0x38f86d(0x1d6)]),_0x37b7e2[_0x38f86d(0x446)](_0x4dd825['m2Prime']['params']),_0x77aecc=_0x37fe20[_0x38f86d(0x319)],_0x48387e=_0x4dd825[_0x38f86d(0x319)];}_0x4b25f6[_0x38f86d(0x3f7)]({'undoCache':_0x3cff43,'redoCache':_0x37b7e2});}[_0x105489(0x1c4)](_0x4293df){const _0x1905a0=_0x105489,{unitID:_0x1eb359}=_0x4293df,_0x1fe0af=this['_renderManagerService'][_0x1905a0(0x39a)](_0x1eb359)[_0x1905a0(0x344)](_0x53e9b7[_0x1905a0(0x2ec)]),_0x4a0490=_0x1fe0af[_0x1905a0(0x2c9)]();if(_0x4a0490==null)return;const _0x56045a=[{'id':_0x1905a0(0x250),'params':{'unitId':_0x4293df[_0x1905a0(0x380)],'actions':null,'textRanges':[_0x4a0490]}}],_0x82cec8=this[_0x1905a0(0x1f5)][_0x1905a0(0x24a)](_0x4293df,_0x56045a);if(!_0x3b6054[_0x1905a0(0x31c)](_0x82cec8))throw _0x82cec8[_0x1905a0(0x284)];const _0x3c817d=_0x82cec8[_0x1905a0(0x1e0)][0x0][_0x1905a0(0x1d6)][_0x1905a0(0x1f0)];Array[_0x1905a0(0x1ce)](_0x3c817d)&&_0x3c817d[_0x1905a0(0x20a)]&&_0x1fe0af[_0x1905a0(0x281)](_0x3c817d[0x0]);}};_0x12f27e=_0x147209([_0x15413e(0x0,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['Injector'])),_0x15413e(0x1,_0x3b6054[_0x105489(0x388)]),_0x15413e(0x2,_0x5042e5[_0x105489(0x376)])],_0x12f27e);var _0x36e81d=Object['getOwnPropertyDescriptor'],_0xff8570=(_0x1db5c9,_0x5a5c64,_0x343727,_0xcd5488)=>{for(var _0xf6f894=_0xcd5488>0x1?void 0x0:_0xcd5488?_0x36e81d(_0x5a5c64,_0x343727):_0x5a5c64,_0x2326b2=_0x1db5c9['length']-0x1,_0x2d8c04;_0x2326b2>=0x0;_0x2326b2--)(_0x2d8c04=_0x1db5c9[_0x2326b2])&&(_0xf6f894=_0x2d8c04(_0xf6f894)||_0xf6f894);return _0xf6f894;},_0x3b847a=(_0x2779ff,_0xd0157b)=>(_0x11e439,_0x53f7cb)=>_0xd0157b(_0x11e439,_0x53f7cb,_0x2779ff);let _0x32778d=class{constructor(_0x3183a3,_0x2ccde2,_0x2b098d){const _0x406a37=_0x105489;this[_0x406a37(0x423)]=_0x3183a3,this[_0x406a37(0x1f5)]=_0x2ccde2,this[_0x406a37(0x36e)]=_0x2b098d;}['transformStateCache'](_0x2b0b8d){this['_transformHistoryAndStateStack'](_0x2b0b8d);}[_0x105489(0x337)](_0x2e76da){const _0xda48bb=_0x105489,{unitID:_0x17c403}=_0x2e76da,{collaboration:_0x5dcc35}=this['_docStateChangeManagerService'][_0xda48bb(0x364)](_0x17c403);if(_0x5dcc35[_0xda48bb(0x20a)]===0x0)return _0x2e76da;let _0x2d8288=_0x4c34fb[_0xda48bb(0x3cf)][_0xda48bb(0x40c)](_0x2e76da['mutations'][0x0]);for(let _0x2667f2=0x0;_0x2667f2<_0x5dcc35[_0xda48bb(0x20a)];_0x2667f2++){const _0x4851bf={'id':_0xda48bb(0x250),'params':{'unitId':_0x5dcc35[_0x2667f2]['unitId'],..._0x5dcc35[_0x2667f2][_0xda48bb(0x3c8)]}},_0x5ade58=this[_0xda48bb(0x1f5)][_0xda48bb(0x287)](_0x2d8288,_0x4851bf,!0x1);if(_0x3b6054[_0xda48bb(0x33c)](_0x5ade58))throw _0x5ade58[_0xda48bb(0x284)];_0x2d8288=_0x5ade58['m1Prime'];}return{..._0x4c34fb[_0xda48bb(0x3cf)][_0xda48bb(0x40c)](_0x2e76da),'mutations':[_0x2d8288]};}[_0x105489(0x2e4)](_0xb3603f){const _0x2bfc72=_0x105489,{unitID:_0x27b679}=_0xb3603f,{history:_0x2dd303,collaboration:_0x3d1e29}=this[_0x2bfc72(0x36e)][_0x2bfc72(0x364)](_0x27b679);if(_0x2dd303[_0x2bfc72(0x20a)]===0x0&&_0x3d1e29[_0x2bfc72(0x20a)]===0x0)return;const _0x4332d0=[],_0x20e7c4=[];let _0x3cb971=_0x4c34fb[_0x2bfc72(0x3cf)][_0x2bfc72(0x40c)](_0xb3603f['mutations'][0x0]),_0x13f34c=_0x4c34fb[_0x2bfc72(0x3cf)][_0x2bfc72(0x40c)](_0xb3603f[_0x2bfc72(0x31e)][0x0]);for(let _0x584de0=_0x2dd303['length']-0x1;_0x584de0>=0x0;_0x584de0--){const _0x4af157={'id':_0x2bfc72(0x250),'params':{'unitId':_0x2dd303[_0x584de0]['unitId'],..._0x2dd303[_0x584de0][_0x2bfc72(0x3a3)]}},_0x13130e={'id':_0x2bfc72(0x250),'params':{'unitId':_0x2dd303[_0x584de0]['unitId'],..._0x2dd303[_0x584de0][_0x2bfc72(0x3c8)]}},_0x5e5b5f=this[_0x2bfc72(0x1f5)][_0x2bfc72(0x287)](_0x3cb971,_0x4af157,!0x1),_0x3c7dc6=this[_0x2bfc72(0x1f5)][_0x2bfc72(0x287)](_0x13f34c,_0x13130e,!0x1);if(_0x3b6054[_0x2bfc72(0x33c)](_0x5e5b5f))throw _0x5e5b5f[_0x2bfc72(0x284)];if(_0x3b6054[_0x2bfc72(0x33c)](_0x3c7dc6))throw _0x3c7dc6[_0x2bfc72(0x284)];_0x4332d0[_0x2bfc72(0x446)]({..._0x2dd303[_0x584de0],'undoState':_0x5e5b5f[_0x2bfc72(0x1e0)][_0x2bfc72(0x1d6)],'redoState':_0x3c7dc6[_0x2bfc72(0x1e0)]['params']}),_0x3cb971=_0x5e5b5f[_0x2bfc72(0x319)],_0x13f34c=_0x3c7dc6[_0x2bfc72(0x319)];}_0x3cb971=_0x4c34fb[_0x2bfc72(0x3cf)][_0x2bfc72(0x40c)](_0xb3603f['mutations'][0x0]),_0x13f34c=_0x4c34fb[_0x2bfc72(0x3cf)]['deepClone'](_0xb3603f['mutations'][0x0]);for(let _0x3abf07=_0x3d1e29[_0x2bfc72(0x20a)]-0x1;_0x3abf07>=0x0;_0x3abf07--){const _0x4b82bd={'id':_0x2bfc72(0x250),'params':{'unitId':_0x3d1e29[_0x3abf07][_0x2bfc72(0x3ee)],..._0x3d1e29[_0x3abf07][_0x2bfc72(0x3a3)]}},_0xf0e016={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3d1e29[_0x3abf07][_0x2bfc72(0x3ee)],..._0x3d1e29[_0x3abf07][_0x2bfc72(0x3c8)]}},_0x280b33=this[_0x2bfc72(0x1f5)]['transformMutation'](_0x3cb971,_0x4b82bd,!0x1),_0x2540fe=this[_0x2bfc72(0x1f5)][_0x2bfc72(0x287)](_0x13f34c,_0xf0e016,!0x1);if(_0x3b6054['isTransformMutationFailure'](_0x280b33))throw _0x280b33['error'];if(_0x3b6054[_0x2bfc72(0x33c)](_0x2540fe))throw _0x2540fe[_0x2bfc72(0x284)];_0x20e7c4[_0x2bfc72(0x446)]({..._0x3d1e29[_0x3abf07],'undoState':_0x280b33[_0x2bfc72(0x1e0)]['params'],'redoState':_0x2540fe[_0x2bfc72(0x1e0)][_0x2bfc72(0x1d6)]}),_0x3cb971=_0x280b33[_0x2bfc72(0x319)],_0x13f34c=_0x2540fe[_0x2bfc72(0x319)];}this['_docStateChangeManagerService']['setStateCache'](_0x27b679,{'history':_0x4332d0,'collaboration':_0x20e7c4});}};_0x32778d=_0xff8570([_0x3b847a(0x0,_0x4c34fb['Inject'](_0x4c34fb[_0x105489(0x334)])),_0x3b847a(0x1,_0x3b6054[_0x105489(0x388)]),_0x3b847a(0x2,_0x4c34fb[_0x105489(0x338)](_0x53e9b7[_0x105489(0x3f9)]))],_0x32778d);var _0x4fc3fd=Object[_0x105489(0x270)],_0x536da3=(_0x2a8717,_0x2deefa,_0x5332d0,_0x43149c)=>{const _0x2803a8=_0x105489;for(var _0x1c47d8=_0x43149c>0x1?void 0x0:_0x43149c?_0x4fc3fd(_0x2deefa,_0x5332d0):_0x2deefa,_0x2e20fb=_0x2a8717[_0x2803a8(0x20a)]-0x1,_0x1d31ef;_0x2e20fb>=0x0;_0x2e20fb--)(_0x1d31ef=_0x2a8717[_0x2e20fb])&&(_0x1c47d8=_0x1d31ef(_0x1c47d8)||_0x1c47d8);return _0x1c47d8;},_0x1bddd8=(_0x3c742f,_0x5b327e)=>(_0x476b35,_0x3458b4)=>_0x5b327e(_0x476b35,_0x3458b4,_0x3c742f);let _0x58324=class{constructor(_0x3601a4,_0x24abd3){const _0x5b7ecf=_0x105489;this[_0x5b7ecf(0x423)]=_0x3601a4,this['_transformService']=_0x24abd3;}[_0x105489(0x408)](_0x6a7d7){const _0x167505=_0x105489;var _0x5d9768;const _0xa5490=this[_0x167505(0x423)][_0x167505(0x225)](_0x23a4b4[_0x167505(0x216)]),_0x55e5ea=(_0x5d9768=_0xa5490[_0x167505(0x323)]())!=null?_0x5d9768:[];if(_0x55e5ea[_0x167505(0x20a)]===0x0)return;const _0x5aade6=_0x6a7d7[_0x167505(0x380)],_0x5ee6bc=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5aade6,'actions':null,'textRanges':_0x55e5ea}}],_0x3c284e=this[_0x167505(0x1f5)]['transformMutationsWithChangeset'](_0x6a7d7,_0x5ee6bc);if(!_0x3b6054[_0x167505(0x31c)](_0x3c284e))throw _0x3c284e['error'];const _0x1789d1=_0x3c284e[_0x167505(0x1e0)][0x0]['params'][_0x167505(0x1f0)];Array[_0x167505(0x1ce)](_0x1789d1)&&_0x1789d1['length']&&_0xa5490['replaceDocRanges'](_0x1789d1,{'unitId':_0x5aade6,'subUnitId':_0x5aade6},!0x1);}};_0x58324=_0x536da3([_0x1bddd8(0x0,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['Injector'])),_0x1bddd8(0x1,_0x3b6054[_0x105489(0x388)])],_0x58324);var _0x28f306=Object[_0x105489(0x270)],_0x43639a=(_0x1a240b,_0x1b8b20,_0x56c521,_0x166c9c)=>{const _0x6c160f=_0x105489;for(var _0x3901bd=_0x166c9c>0x1?void 0x0:_0x166c9c?_0x28f306(_0x1b8b20,_0x56c521):_0x1b8b20,_0x5159fd=_0x1a240b[_0x6c160f(0x20a)]-0x1,_0x5b3572;_0x5159fd>=0x0;_0x5159fd--)(_0x5b3572=_0x1a240b[_0x5159fd])&&(_0x3901bd=_0x5b3572(_0x3901bd)||_0x3901bd);return _0x3901bd;},_0x40731a=(_0x2fa20b,_0x42c9b5)=>(_0x10f4ee,_0x3bb813)=>_0x42c9b5(_0x10f4ee,_0x3bb813,_0x2fa20b);let _0xe92e86=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0xf5787c,_0x517651,_0x443c71,_0x418acc,_0x50dc76,_0x2dc21b,_0x3d1201,_0x1e956f){const _0x5ef0a8=_0x105489;super(),_0x23d7a8(this,'_status$',new _0x4bbdc9[(_0x5ef0a8(0x382))](_0x145739[_0x5ef0a8(0x1e6)][_0x5ef0a8(0x25a)])),(this['_docStateChangeManagerService']=_0xf5787c,this[_0x5ef0a8(0x2a2)]=_0x517651,this[_0x5ef0a8(0x327)]=_0x443c71,this[_0x5ef0a8(0x444)]=_0x418acc,this[_0x5ef0a8(0x3c7)]=_0x50dc76,this[_0x5ef0a8(0x3df)]=_0x2dc21b,this[_0x5ef0a8(0x2db)]=_0x3d1201,this[_0x5ef0a8(0x367)]=_0x1e956f,this[_0x5ef0a8(0x1ee)]());}[_0x105489(0x1ee)](){const _0x1db9ee=_0x105489;this['disposeWithMe'](this[_0x1db9ee(0x2a2)][_0x1db9ee(0x23a)]['subscribe'](_0x545337=>{const _0x47c572=_0x1db9ee,_0x30df81=this[_0x47c572(0x36e)][_0x47c572(0x32d)][_0x47c572(0x2f9)](_0x29e0a5=>{const _0x456fe6=_0x47c572;if(_0x29e0a5==null)return;const {unitId:_0x21fec2,redoState:_0x4a73a2,commandId:_0x49c0a7}=_0x29e0a5;if(_0x21fec2!==_0x545337[_0x456fe6(0x380)])return;const _0x4f945d={'id':_0x49c0a7,'type':_0x4c34fb[_0x456fe6(0x298)][_0x456fe6(0x249)],'params':{'unitId':_0x21fec2,'actions':_0x4a73a2['actions'],'textRanges':null}};_0x545337['onLocalMutation'](_0x4f945d);});if(_0x545337[_0x47c572(0x321)](_0x30df81),_0x545337 instanceof _0x145739[_0x47c572(0x35d)]){const _0x4f929b={'onTransformIME':_0x4e7cf2=>this['_docTransformIMECacheService'][_0x47c572(0x2ce)](_0x4e7cf2),'onTransformState':_0x5653ac=>this[_0x47c572(0x444)][_0x47c572(0x31a)](_0x5653ac),'onTransformSelections':_0x1dbf6b=>this['_docTransformSelectionsService'][_0x47c572(0x408)](_0x1dbf6b),'onSyncEditingCollabCursor':_0xda92fd=>this[_0x47c572(0x3df)][_0x47c572(0x293)](_0xda92fd),'onTransformRemoteChangesetByIMECache':_0x47e9c7=>this[_0x47c572(0x327)][_0x47c572(0x337)](_0x47e9c7),'onTransformRemoteChangesetByStateCache':_0x19848e=>this[_0x47c572(0x444)][_0x47c572(0x337)](_0x19848e)};_0x545337[_0x47c572(0x2e9)](_0x4f929b);}}));}};_0xe92e86=_0x43639a([_0x40731a(0x0,_0x4c34fb[_0x105489(0x338)](_0x53e9b7[_0x105489(0x3f9)])),_0x40731a(0x1,_0x4c34fb[_0x105489(0x338)](_0x145739['CollaborationController'])),_0x40731a(0x2,_0x4c34fb[_0x105489(0x338)](_0x12f27e)),_0x40731a(0x3,_0x4c34fb['Inject'](_0x32778d)),_0x40731a(0x4,_0x4c34fb[_0x105489(0x338)](_0x58324)),_0x40731a(0x5,_0x4c34fb[_0x105489(0x338)](_0x5532ac)),_0x40731a(0x6,_0x2cb420[_0x105489(0x3fc)]),_0x40731a(0x7,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['LocaleService']))],_0xe92e86);var _0x878c09=Object['getOwnPropertyDescriptor'],_0x1a9dc5=(_0x2b29e7,_0x5afe63,_0x423c68,_0x5c046b)=>{const _0x2de6ad=_0x105489;for(var _0x259432=_0x5c046b>0x1?void 0x0:_0x5c046b?_0x878c09(_0x5afe63,_0x423c68):_0x5afe63,_0x52ef1e=_0x2b29e7[_0x2de6ad(0x20a)]-0x1,_0x304842;_0x52ef1e>=0x0;_0x52ef1e--)(_0x304842=_0x2b29e7[_0x52ef1e])&&(_0x259432=_0x304842(_0x259432)||_0x259432);return _0x259432;},_0x355363=(_0x5205f7,_0x10a0e6)=>(_0x430719,_0x2b177c)=>_0x10a0e6(_0x430719,_0x2b177c,_0x5205f7);let _0x1d7f56=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0x4bdb27,_0x14200d,_0xf52bd7){const _0x10bc01=_0x105489;super(),_0x23d7a8(this,'_cachedData',new Map()),_0x23d7a8(this,_0x10bc01(0x1fb),new Map()),_0x23d7a8(this,_0x10bc01(0x431),!0x1),(this[_0x10bc01(0x1be)]=_0x4bdb27,this[_0x10bc01(0x2bc)]=_0x14200d,this[_0x10bc01(0x23f)]=_0xf52bd7);}[_0x105489(0x430)](){const _0x23cfd4=_0x105489;this[_0x23cfd4(0x431)]=!0x0;}[_0x105489(0x290)](){const _0x40023a=_0x105489;this[_0x40023a(0x431)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x105489(0x275)](){const _0xc8693b=_0x105489;this[_0xc8693b(0x2c3)]()[_0xc8693b(0x24d)](()=>super[_0xc8693b(0x275)]());}async['loadOfflineData'](_0x354c39){const _0x52824b=_0x105489;return this[_0x52824b(0x431)]?null:this[_0x52824b(0x2bc)][_0x52824b(0x2fd)](_0x145739[_0x52824b(0x362)](_0x354c39));}async[_0x105489(0x35c)](_0x54d375,_0x5dfbe7){const _0x44f019=_0x105489;return!!this[_0x44f019(0x2bc)]['setItem'](_0x54d375,_0x5dfbe7);}[_0x105489(0x2b8)](_0x3cd73e,_0x20315a,_0x5c15ed,_0x2652c2){const _0x1158ad=_0x105489,_0x1deaa2=this[_0x1158ad(0x23f)][_0x1158ad(0x33f)](_0x3cd73e);this['_cachedData']['set'](_0x3cd73e,{'unitID':_0x3cd73e,'type':_0x20315a,'awaitingChangeset':_0x5c15ed,'mutations':_0x2652c2,'rev':_0x1deaa2}),this[_0x1158ad(0x1fb)][_0x1158ad(0x44c)](_0x3cd73e)||this[_0x1158ad(0x2d1)](_0x3cd73e);}[_0x105489(0x2d1)](_0x570513){const _0xe48fad=_0x105489,_0x36ee8=this['_getSaveTimeout']();_0x36ee8===0x0?this['_saveCache'](_0x570513):this[_0xe48fad(0x1fb)][_0xe48fad(0x41e)](_0x570513,setTimeout(()=>this[_0xe48fad(0x312)](_0x570513),_0x36ee8));}[_0x105489(0x328)](){const _0x5c3a55=_0x105489;var _0x18cfa9;return(_0x18cfa9=this[_0x5c3a55(0x1be)]['getConfig'](_0x145739[_0x5c3a55(0x40a)]))!=null?_0x18cfa9:_0x145739[_0x5c3a55(0x37a)];}[_0x105489(0x312)](_0x4a0ca1){const _0x1d586b=_0x105489,_0x3b61f0=this[_0x1d586b(0x1fb)][_0x1d586b(0x225)](_0x4a0ca1);return _0x3b61f0!==void 0x0&&window['clearTimeout'](_0x3b61f0),this[_0x1d586b(0x2bc)][_0x1d586b(0x309)](_0x145739[_0x1d586b(0x362)](_0x4a0ca1),this['_cachedData'][_0x1d586b(0x225)](_0x4a0ca1))[_0x1d586b(0x24d)](()=>this[_0x1d586b(0x1fb)]['delete'](_0x4a0ca1));}async['exhaustSavingTask'](){const _0x19286d=_0x105489,_0x4844d7=[];this[_0x19286d(0x1fb)]['forEach']((_0x57631c,_0x4061b5)=>{const _0x77f6f7=_0x19286d;window[_0x77f6f7(0x406)](_0x57631c),_0x4844d7['push'](this['_saveCache'](_0x4061b5)[_0x77f6f7(0x24d)](()=>{const _0x16376e=_0x77f6f7;this[_0x16376e(0x1fb)][_0x16376e(0x292)](_0x4061b5);}));}),await Promise[_0x19286d(0x44e)](_0x4844d7);}};_0x1d7f56=_0x1a9dc5([_0x355363(0x0,_0x4c34fb[_0x105489(0x30f)]),_0x355363(0x1,_0x4c34fb[_0x105489(0x20d)]),_0x355363(0x2,_0x4c34fb[_0x105489(0x338)](_0x3b6054[_0x105489(0x345)]))],_0x1d7f56);class _0xf13497 extends _0x4c34fb[_0x105489(0x241)]{constructor(){const _0x11d034=_0x105489;super(),_0x23d7a8(this,'urlChange$'),this[_0x11d034(0x227)]=_0x4bbdc9['fromEvent'](window,_0x11d034(0x2c8))[_0x11d034(0x35a)](_0x4bbdc9[_0x11d034(0x20e)](this[_0x11d034(0x2df)]),_0x4bbdc9['shareReplay'](0x1),_0x4bbdc9[_0x11d034(0x29a)](void 0x0));}['setParam'](_0xa5de9e,_0x50f6a2,_0x5d4af7=!0x1){const _0x43e20f=_0x105489,_0x5957d8=new URL(window[_0x43e20f(0x2d3)]['href']);_0x5957d8[_0x43e20f(0x1cb)]['set'](_0xa5de9e,_0x50f6a2),_0x5d4af7?window[_0x43e20f(0x228)]['replaceState']('','',_0x5957d8['toString']()):window[_0x43e20f(0x228)]['pushState']('','',_0x5957d8[_0x43e20f(0x302)]());}[_0x105489(0x41f)](_0x319e30,_0x57f5cf=!0x1){const _0x181f28=_0x105489,_0x137bf8=new URL(window[_0x181f28(0x2d3)]['href']);_0x137bf8[_0x181f28(0x1cb)][_0x181f28(0x292)](_0x319e30),_0x57f5cf?window[_0x181f28(0x228)][_0x181f28(0x2b3)]('','',_0x137bf8[_0x181f28(0x302)]()):window[_0x181f28(0x228)][_0x181f28(0x24e)]('','',_0x137bf8[_0x181f28(0x302)]());}['getParam'](_0x12add5){const _0xc25552=_0x105489;var _0x2b02f9;return(_0x2b02f9=new URL(window[_0xc25552(0x2d3)][_0xc25552(0x1c3)])[_0xc25552(0x1cb)]['get'](_0x12add5))!=null?_0x2b02f9:void 0x0;}}var _0x51c141=Object[_0x105489(0x38f)],_0x167a14=Object[_0x105489(0x270)],_0x2f56a9=(_0x5a1c54,_0x23b42b,_0x630a4a)=>_0x23b42b in _0x5a1c54?_0x51c141(_0x5a1c54,_0x23b42b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x630a4a}):_0x5a1c54[_0x23b42b]=_0x630a4a,_0x48dd3d=(_0x436f3d,_0x3da245,_0xf3c74,_0x8a72fb)=>{for(var _0x21146a=_0x8a72fb>0x1?void 0x0:_0x8a72fb?_0x167a14(_0x3da245,_0xf3c74):_0x3da245,_0x3804a4=_0x436f3d['length']-0x1,_0x5a1df4;_0x3804a4>=0x0;_0x3804a4--)(_0x5a1df4=_0x436f3d[_0x3804a4])&&(_0x21146a=_0x5a1df4(_0x21146a)||_0x21146a);return _0x21146a;},_0xd7ea89=(_0x4090e1,_0x238508)=>(_0x493336,_0x55ae39)=>_0x238508(_0x493336,_0x55ae39,_0x4090e1),_0x30f834=(_0x4257e1,_0x5966f4,_0x193db0)=>_0x2f56a9(_0x4257e1,_0x5966f4+'',_0x193db0);const _0x16d6c0=_0x105489(0x42e);_0x3b1343[_0x105489(0x348)]=class extends _0x4c34fb[_0x105489(0x40b)]{constructor(_0xb24b17=_0x47ba75,_0x218927,_0x49845b,_0x2b4074){const _0x383598=_0x105489;super(),this['_config']=_0xb24b17,this[_0x383598(0x30c)]=_0x218927,this[_0x383598(0x423)]=_0x49845b,this[_0x383598(0x1be)]=_0x2b4074;const {..._0x1b5721}=_0x4c34fb[_0x383598(0x420)]({},_0x47ba75,this[_0x383598(0x1c9)]);this[_0x383598(0x1be)]['setConfig'](_0x1d9c41,_0x1b5721);}[_0x105489(0x373)](){const _0x33e60e=_0x105489;this['_registerDependencies'](),this[_0x33e60e(0x39b)]();}[_0x105489(0x218)](){this['_registerRenderDependencies']();}[_0x105489(0x1f6)](){const _0xd3740e=_0x105489;var _0x258ae7;const _0x479bd7=[[_0x5d296d],[_0x58324],[_0x12f27e],[_0x32778d],[_0x5532ac],[_0x2e3d8b,{'useClass':_0xf13497}],[_0x3c148b[_0xd3740e(0x379)],{'useClass':_0x3c148b[_0xd3740e(0x21b)]}],[_0x145739[_0xd3740e(0x438)],{'useClass':_0x1d7f56}],[_0x3b1343[_0xd3740e(0x28a)]],[_0xe92e86],[_0x2d4eb0],[_0x4cbfa5],[_0x461813],[_0x3b1343[_0xd3740e(0x2bb)]]];_0x4c34fb[_0xd3740e(0x310)](this['_injector'],_0x4c34fb[_0xd3740e(0x34f)](_0x479bd7,(_0x258ae7=this[_0xd3740e(0x1c9)])==null?void 0x0:_0x258ae7[_0xd3740e(0x350)]));}[_0x105489(0x1bf)](){const _0x13c36c=_0x105489;this[_0x13c36c(0x321)](this[_0x13c36c(0x30c)][_0x13c36c(0x269)](_0x4c34fb['UniverInstanceType']['UNIVER_DOC'],[_0x442c72])),this[_0x13c36c(0x321)](this[_0x13c36c(0x30c)][_0x13c36c(0x269)](_0x4c34fb['UniverInstanceType'][_0x13c36c(0x409)],[_0x3c2e62]));}[_0x105489(0x39b)](){const _0x5cdab6=_0x105489;_0x4c34fb['touchDependencies'](this[_0x5cdab6(0x423)],[[_0x4cbfa5],[_0x3b1343[_0x5cdab6(0x28a)]],[_0xe92e86],[_0x2d4eb0],[_0x3b1343[_0x5cdab6(0x2bb)]]]);}},_0x30f834(_0x3b1343[_0x105489(0x348)],_0x105489(0x374),_0x16d6c0),_0x3b1343[_0x105489(0x348)]=_0x48dd3d([_0x4c34fb[_0x105489(0x3b8)](_0x145739[_0x105489(0x21d)]),_0xd7ea89(0x1,_0x5042e5[_0x105489(0x376)]),_0xd7ea89(0x2,_0x4c34fb['Inject'](_0x4c34fb[_0x105489(0x334)])),_0xd7ea89(0x3,_0x4c34fb[_0x105489(0x30f)])],_0x3b1343[_0x105489(0x348)]);var _0x33cf74=Object[_0x105489(0x270)],_0x4add87=(_0x1a8027,_0x2fcb30,_0x374abe,_0x2145db)=>{const _0x16b6c5=_0x105489;for(var _0x44dd7c=_0x2145db>0x1?void 0x0:_0x2145db?_0x33cf74(_0x2fcb30,_0x374abe):_0x2fcb30,_0x149d3b=_0x1a8027[_0x16b6c5(0x20a)]-0x1,_0x1b26d6;_0x149d3b>=0x0;_0x149d3b--)(_0x1b26d6=_0x1a8027[_0x149d3b])&&(_0x44dd7c=_0x1b26d6(_0x44dd7c)||_0x44dd7c);return _0x44dd7c;},_0x324815=(_0x4c7c5e,_0x58ad21)=>(_0x50c831,_0x1fc576)=>_0x58ad21(_0x50c831,_0x1fc576,_0x4c7c5e);_0x3b1343[_0x105489(0x3a6)]=class extends _0x145739['CollaborationSocketService']{constructor(_0x417387,_0x38f687,_0x525bb9,_0x2402a8,_0x4f0db1){super(_0x417387,_0x38f687,_0x525bb9,_0x2402a8,_0x4f0db1);}async['createSocket'](_0x480785){const _0x3aed52=_0x105489,_0x24225a=await this[_0x3aed52(0x29d)](),_0x526ce4=this[_0x3aed52(0x354)](_0x480785,_0x24225a);return this[_0x3aed52(0x44a)](_0x526ce4);}[_0x105489(0x354)](_0x4bf9d0,_0x26d6eb){const _0x36ba60=_0x105489,_0x5cf147=typeof window>'u'?new URL(_0x4bf9d0):new URL(_0x4bf9d0,window[_0x36ba60(0x2d3)][_0x36ba60(0x3c4)]);_0x5cf147[_0x36ba60(0x1cb)]['set'](_0x36ba60(0x277),_0x26d6eb);const _0x1e8c9e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x36ba60(0x427)]);return _0x1e8c9e[_0x36ba60(0x225)](_0x36ba60(0x41b))&&_0x5cf147[_0x36ba60(0x1cb)][_0x36ba60(0x41e)](_0x36ba60(0x41b),_0x1e8c9e[_0x36ba60(0x225)](_0x36ba60(0x41b))),_0x5cf147[_0x36ba60(0x302)]();}async['_getSessionTicket'](){const _0x3c767c=_0x105489;var _0x5daeb9,_0x3c495b,_0x1390aa;const _0x25a8be=this[_0x3c767c(0x1be)]['getConfig'](_0x145739[_0x3c767c(0x278)]),_0x332951=(_0x5daeb9=_0x25a8be==null?void 0x0:_0x25a8be['wsSessionTicketUrl'])!=null?_0x5daeb9:_0x145739[_0x3c767c(0x253)];return(_0x1390aa=(_0x3c495b=(await this[_0x3c767c(0x40d)][_0x3c767c(0x225)](_0x332951,{'headers':{'Content-Type':'application/json'}}))[_0x3c767c(0x21c)])==null?void 0x0:_0x3c495b[_0x3c767c(0x3a5)])!=null?_0x1390aa:'';}},_0x3b1343['BrowserCollaborationSocketService']=_0x4add87([_0x324815(0x0,_0x4c34fb[_0x105489(0x338)](_0x4c34fb['Injector'])),_0x324815(0x1,_0x4c34fb['Inject'](_0x3c148b['HTTPService'])),_0x324815(0x2,_0x4c34fb[_0x105489(0x30f)]),_0x324815(0x3,_0x4c34fb[_0x105489(0x3b3)]),_0x324815(0x4,_0x3b6054[_0x105489(0x3f3)])],_0x3b1343[_0x105489(0x3a6)]);const _0x1b5a9e=0x7530,_0x49140d=_0x105489(0x391);class _0x46b132 extends _0x4c34fb[_0x105489(0x313)]{constructor(){const _0x36b454=_0x105489;super(),_0x23d7a8(this,'_id',_0x4c34fb[_0x36b454(0x389)]()),_0x23d7a8(this,_0x36b454(0x2dc),new Set()),_0x23d7a8(this,'_unitOnClients',new Map()),_0x23d7a8(this,_0x36b454(0x42d),null),_0x23d7a8(this,_0x36b454(0x31d),new Map()),_0x23d7a8(this,'_unitStatus',new Map()),this[_0x36b454(0x26c)]();}[_0x105489(0x275)](){const _0x5cdc2e=_0x105489;super['dispose'](),this[_0x5cdc2e(0x31d)][_0x5cdc2e(0x2ee)]((_0x59225d,_0x184d43)=>this[_0x5cdc2e(0x45c)](_0x184d43)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x467a31){const _0x190032=_0x105489;return this[_0x190032(0x45e)](_0x467a31)[_0x190032(0x35a)](_0x4bbdc9[_0x190032(0x454)]());}[_0x105489(0x3a8)](_0x2f392c){const _0x35fcf5=_0x105489;this[_0x35fcf5(0x2dc)][_0x35fcf5(0x2f7)]===0x0&&this[_0x35fcf5(0x452)](),this[_0x35fcf5(0x2dc)][_0x35fcf5(0x1ea)](_0x2f392c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2f392c],'isForwarded':!0x1});}[_0x105489(0x254)](_0x21f533){const _0x5a3622=_0x105489;this[_0x5a3622(0x2dc)]['delete'](_0x21f533),this[_0x5a3622(0x2dc)][_0x5a3622(0x2f7)]===0x0&&this[_0x5a3622(0x42d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x105489(0x26c)](){const _0x756752=_0x105489;this[_0x756752(0x321)](_0x4c34fb[_0x756752(0x407)](_0x4bbdc9['fromEvent'](window,'storage')[_0x756752(0x2f9)](_0x332273=>{const _0x3e5647=_0x756752;if(_0x332273['key']!==_0x49140d||!_0x332273[_0x3e5647(0x3d7)])return;const _0x6db936=JSON[_0x3e5647(0x2ba)](_0x332273[_0x3e5647(0x3d7)]);this[_0x3e5647(0x410)](_0x6db936);}))),window['addEventListener'](_0x756752(0x3bf),()=>this[_0x756752(0x404)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x756752(0x2c0)](this[_0x756752(0x2dc)])}));}['_handleEvent'](_0x586f2e){const _0x413e3e=_0x105489;switch(_0x586f2e[_0x413e3e(0x387)]){case 0x0:this[_0x413e3e(0x1ed)](_0x586f2e);break;case 0x1:this[_0x413e3e(0x251)](_0x586f2e);break;case 0x2:this[_0x413e3e(0x1c5)](_0x586f2e);break;}}[_0x105489(0x1ed)](_0xbc17e6){const _0x22ed78=_0x105489,{unitIDs:_0x4a56ac,memberID:_0x46b9ee,isForwarded:_0x55bd4b}=_0xbc17e6;_0x4a56ac[_0x22ed78(0x2ee)](_0x4bd342=>{const _0x27732d=_0x22ed78;if(!_0x55bd4b&&this['_unitOnClients'][_0x27732d(0x44c)](_0x4bd342)&&this['_ensureSubject'](_0x4bd342)[_0x27732d(0x34b)](_0x145739['UnitStatus'][_0x27732d(0x3e9)]),!this[_0x27732d(0x329)]['has'](_0x4bd342)||!this[_0x27732d(0x329)][_0x27732d(0x225)](_0x4bd342)[_0x27732d(0x44c)](_0x46b9ee)){const _0x20b4a1=this[_0x27732d(0x329)][_0x27732d(0x225)](_0x4bd342)||new Set();_0x20b4a1['add'](_0x46b9ee),this[_0x27732d(0x329)]['set'](_0x4bd342,_0x20b4a1),this[_0x27732d(0x356)](_0x46b9ee);}}),_0x55bd4b||this[_0x22ed78(0x404)]({'type':0x0,'memberID':this[_0x22ed78(0x445)],'unitIDs':[...this[_0x22ed78(0x2dc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x280184){const _0x5b5b37=_0x105489;this[_0x5b5b37(0x45c)](_0x280184);const _0x4bccc6=window[_0x5b5b37(0x28b)](()=>{const _0x2d91b0=_0x5b5b37;this[_0x2d91b0(0x329)][_0x2d91b0(0x2ee)](_0x4f681=>{const _0x29dd55=_0x2d91b0;_0x4f681[_0x29dd55(0x292)](_0x280184);});},_0x1b5a9e*0x2);this[_0x5b5b37(0x31d)]['set'](_0x280184,_0x4bccc6);}['_removeClearOtherTimer'](_0x2bc15e){const _0x3510cd=_0x105489;if(this['_clearOtherTimers']['has'](_0x2bc15e)){const _0x991c8c=this[_0x3510cd(0x31d)][_0x3510cd(0x225)](_0x2bc15e);_0x991c8c&&window[_0x3510cd(0x406)](_0x991c8c),this[_0x3510cd(0x31d)][_0x3510cd(0x41e)](_0x2bc15e,null);}}[_0x105489(0x251)](_0x381f53){const _0x448711=_0x105489,{memberID:_0x503dc0,unitIDs:_0x9fc764}=_0x381f53;_0x9fc764[_0x448711(0x2ee)](_0x4a6ab2=>{const _0x1a0090=_0x448711;var _0x1194e5;const _0x44effe=this[_0x1a0090(0x329)][_0x1a0090(0x225)](_0x4a6ab2);_0x44effe&&(_0x44effe[_0x1a0090(0x292)](_0x503dc0),(_0x1194e5=this[_0x1a0090(0x45e)](_0x4a6ab2))==null||_0x1194e5[_0x1a0090(0x34b)](_0x44effe[_0x1a0090(0x2f7)]===0x0?_0x145739['UnitStatus'][_0x1a0090(0x3ef)]:_0x145739['UnitStatus'][_0x1a0090(0x3e9)]));}),this['_removeClearOtherTimer'](_0x503dc0);}[_0x105489(0x1c5)](_0x11ddaa){const _0x15f47b=_0x105489;this[_0x15f47b(0x356)](_0x11ddaa[_0x15f47b(0x2fa)]);}[_0x105489(0x404)](_0x5e811a){const _0xf7ca93=_0x105489;localStorage[_0xf7ca93(0x309)](_0x49140d,JSON[_0xf7ca93(0x26a)](_0x5e811a));}[_0x105489(0x452)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x2ee9b7=_0x441c;this[_0x2ee9b7(0x404)]({'type':0x2,'memberID':this[_0x2ee9b7(0x445)]});},_0x1b5a9e);}['_ensureSubject'](_0xcc7b58){const _0x3b5cca=_0x105489;return this[_0x3b5cca(0x336)]['has'](_0xcc7b58)||this[_0x3b5cca(0x336)]['set'](_0xcc7b58,new _0x4bbdc9['BehaviorSubject'](_0x145739[_0x3b5cca(0x3de)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3b5cca(0x336)][_0x3b5cca(0x225)](_0xcc7b58);}}var _0x1d7c6b=(_0x5e8b3b=>(_0x5e8b3b[_0x5e8b3b[_0x105489(0x1f4)]=0x0]=_0x105489(0x1f4),_0x5e8b3b[_0x5e8b3b['OK']=0x1]='OK',_0x5e8b3b[_0x5e8b3b['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5e8b3b[_0x5e8b3b[_0x105489(0x239)]=0x3]=_0x105489(0x239),_0x5e8b3b[_0x5e8b3b[_0x105489(0x221)]=0x4]='NOT_FOUND',_0x5e8b3b[_0x5e8b3b[_0x105489(0x36c)]=0x5]=_0x105489(0x36c),_0x5e8b3b[_0x5e8b3b[_0x105489(0x322)]=0x6]=_0x105489(0x322),_0x5e8b3b[_0x5e8b3b[_0x105489(0x1cc)]=0x7]=_0x105489(0x1cc),_0x5e8b3b[_0x5e8b3b[_0x105489(0x25c)]=0x8]=_0x105489(0x25c),_0x5e8b3b[_0x5e8b3b['COMPLETION_FINISHED']=0x9]=_0x105489(0x234),_0x5e8b3b[_0x5e8b3b['LOGIN_FAILED']=0xa]=_0x105489(0x434),_0x5e8b3b[_0x5e8b3b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x105489(0x25b),_0x5e8b3b[_0x5e8b3b[_0x105489(0x305)]=0xc]=_0x105489(0x305),_0x5e8b3b[_0x5e8b3b[_0x105489(0x366)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5e8b3b[_0x5e8b3b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x105489(0x2ed),_0x5e8b3b[_0x5e8b3b[_0x105489(0x3d2)]=0x1389]=_0x105489(0x3d2),_0x5e8b3b[_0x5e8b3b[_0x105489(0x30e)]=0x1771]=_0x105489(0x30e),_0x5e8b3b[_0x5e8b3b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5e8b3b[_0x5e8b3b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5e8b3b[_0x5e8b3b[_0x105489(0x274)]=0x1b59]=_0x105489(0x274),_0x5e8b3b[_0x5e8b3b[_0x105489(0x215)]=0x1b5a]=_0x105489(0x215),_0x5e8b3b[_0x5e8b3b[_0x105489(0x257)]=0x1b5b]=_0x105489(0x257),_0x5e8b3b[_0x5e8b3b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x105489(0x286),_0x5e8b3b[_0x5e8b3b['APPLY_DUPLICATED']=0x1b5d]=_0x105489(0x27b),_0x5e8b3b[_0x5e8b3b[_0x105489(0x2d6)]=0x1f41]=_0x105489(0x2d6),_0x5e8b3b[_0x5e8b3b[_0x105489(0x1d1)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5e8b3b[_0x5e8b3b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x105489(0x29b),_0x5e8b3b[_0x5e8b3b[_0x105489(0x264)]=0x232b]=_0x105489(0x264),_0x5e8b3b[_0x5e8b3b[_0x105489(0x311)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5e8b3b[_0x5e8b3b[_0x105489(0x33a)]=0x232d]=_0x105489(0x33a),_0x5e8b3b[_0x5e8b3b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x105489(0x393),_0x5e8b3b[_0x5e8b3b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x105489(0x27f),_0x5e8b3b[_0x5e8b3b[_0x105489(0x43b)]=0x2713]=_0x105489(0x43b),_0x5e8b3b[_0x5e8b3b[_0x105489(0x37c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5e8b3b[_0x5e8b3b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x105489(0x38c),_0x5e8b3b[_0x5e8b3b[_0x105489(0x411)]=0x271b]=_0x105489(0x411),_0x5e8b3b[_0x5e8b3b[_0x105489(0x36f)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5e8b3b[_0x5e8b3b['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x105489(0x457),_0x5e8b3b[_0x5e8b3b[_0x105489(0x419)]=0x271e]=_0x105489(0x419),_0x5e8b3b[_0x5e8b3b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x105489(0x2cd),_0x5e8b3b[_0x5e8b3b[_0x105489(0x443)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5e8b3b[_0x5e8b3b[_0x105489(0x371)]=0x2af9]=_0x105489(0x371),_0x5e8b3b[_0x5e8b3b[_0x105489(0x247)]=0x2ee1]=_0x105489(0x247),_0x5e8b3b[_0x5e8b3b[_0x105489(0x41c)]=0x2ee2]=_0x105489(0x41c),_0x5e8b3b[_0x5e8b3b['INVITE_CODE_REQUIRED']=0x2ee3]=_0x105489(0x3d3),_0x5e8b3b[_0x5e8b3b[_0x105489(0x436)]=0x2ee4]=_0x105489(0x436),_0x5e8b3b[_0x5e8b3b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x105489(0x265),_0x5e8b3b[_0x5e8b3b[_0x105489(0x1fc)]=0x32c9]=_0x105489(0x1fc),_0x5e8b3b[_0x5e8b3b[_0x105489(0x384)]=0x32ca]=_0x105489(0x384),_0x5e8b3b[_0x5e8b3b[_0x105489(0x3c5)]=0x32cb]=_0x105489(0x3c5),_0x5e8b3b[_0x5e8b3b['UNRECOGNIZED']=-0x1]=_0x105489(0x361),_0x5e8b3b))(_0x1d7c6b||{}),_0x4415fa=Object[_0x105489(0x270)],_0x3d6473=(_0x162523,_0x3e8c14,_0x2a61e0,_0x3a932d)=>{const _0x431a5f=_0x105489;for(var _0x546fca=_0x3a932d>0x1?void 0x0:_0x3a932d?_0x4415fa(_0x3e8c14,_0x2a61e0):_0x3e8c14,_0x1a17cc=_0x162523[_0x431a5f(0x20a)]-0x1,_0x3c99c2;_0x1a17cc>=0x0;_0x1a17cc--)(_0x3c99c2=_0x162523[_0x1a17cc])&&(_0x546fca=_0x3c99c2(_0x546fca)||_0x546fca);return _0x546fca;},_0xc57cde=(_0x47e021,_0x304d10)=>(_0x12cd55,_0x1746da)=>_0x304d10(_0x12cd55,_0x1746da,_0x47e021);_0x3b1343['RemoteUniscriptService']=class extends _0x4c34fb[_0x105489(0x313)]{constructor(_0x3d4403,_0x192ecf,_0x2e83ed){const _0x28714c=_0x105489;super(),this[_0x28714c(0x3ab)]=_0x3d4403,this['_httpService']=_0x192ecf,this[_0x28714c(0x1be)]=_0x2e83ed;}async[_0x105489(0x32c)](_0x26c2b7,_0x5e695c,_0x19fa5a,..._0x295403){const _0x45993b=_0x105489;var _0x3c7877,_0x20271f,_0x2744b8,_0x58db95;const _0x5aad8e=this[_0x45993b(0x3ab)][_0x45993b(0x346)]();if(!_0x5aad8e)throw new Error(_0x45993b(0x211));const _0x58c6a3=((_0x3c7877=this[_0x45993b(0x1be)][_0x45993b(0x272)](_0x145739[_0x45993b(0x256)]))!=null?_0x3c7877:_0x145739[_0x45993b(0x205)])+'/'+_0x26c2b7+'/run/'+_0x5e695c,_0x5ad25f=new URL(window['location'][_0x45993b(0x1c3)]),_0x31872a={'scriptId':_0x26c2b7,'runId':(_0x20271f=_0x5ad25f[_0x45993b(0x1cb)][_0x45993b(0x225)](_0x45993b(0x41b)))!=null?_0x20271f:'','function':_0x5e695c,'unitId':_0x5aad8e['getUnitId'](),'argsOfFunction':JSON[_0x45993b(0x26a)](_0x295403),'invokeId':(_0x2744b8=_0x19fa5a[_0x45993b(0x28e)])!=null?_0x2744b8:'','executionId':(_0x58db95=_0x19fa5a[_0x45993b(0x3bd)])!=null?_0x58db95:''};try{const _0x1a43e7=await this['_httpService']['post'](_0x58c6a3,{'body':_0x31872a});return _0x1a43e7[_0x45993b(0x21c)][_0x45993b(0x284)]&&_0x1a43e7[_0x45993b(0x21c)][_0x45993b(0x284)][_0x45993b(0x3a2)]!==_0x1d7c6b['OK']?'Failed':_0x1a43e7[_0x45993b(0x21c)][_0x45993b(0x267)];}catch{return _0x45993b(0x20c);}}},_0x3b1343[_0x105489(0x394)]=_0x3d6473([_0xc57cde(0x0,_0x4c34fb[_0x105489(0x2f5)]),_0xc57cde(0x1,_0x4c34fb[_0x105489(0x338)](_0x3c148b['HTTPService'])),_0xc57cde(0x2,_0x4c34fb[_0x105489(0x30f)])],_0x3b1343[_0x105489(0x394)]),_0x3b1343[_0x105489(0x235)]=_0x2075e1,_0x3b1343['IURLService']=_0x2e3d8b,_0x3b1343[_0x105489(0x2c6)]=_0x2e23f3,_0x3b1343[_0x105489(0x3ea)]=_0x46b132,_0x3b1343[_0x105489(0x3d5)]=_0xf13497,Object[_0x105489(0x38f)](_0x3b1343,Symbol[_0x105489(0x201)],{'value':_0x105489(0x3f0)});}));function _0x441c(_0x5bf322,_0x4a5500){const _0xadf59d=_0xadf5();return _0x441c=function(_0x441c78,_0x32764a){_0x441c78=_0x441c78-0x1be;let _0x805321=_0xadf59d[_0x441c78];return _0x805321;},_0x441c(_0x5bf322,_0x4a5500);}function _0xadf5(){const _0x3c3615=['BrowserCollaborationSocketService','getAncestorScale','editingUnit','jsxs','COLORS','_instanceService','_sheetSkeletonManagerService','_name','USERS_LEAVE','collabStatus.conflict','UniverDrawing','VIEW_MAIN','Error','ILogService','[CollaborationDataLoaderController]','_collabCursorState$','getColor','EffectRefRangId','DependentOn','on-line-icon_clip0_910_349','round','fillRule','collab-rect-range-','executionId','className','unload','findNodePositionByCharIndex','lineTo','...','colorChannel1','origin','EMAIL_HAS_BEEN_BOUND','_collabCursorController','_docTransformSelectionsService','redoState','handleInsertCol','_cursors','some','@univerjs-pro/collaboration-client','UNIVER_DOC','backgroundColor','Tools','react','name','CHANGESET_REVISION_CONFILICT','INVITE_CODE_REQUIRED','roomMembers','WebURLService','deserializeRangeWithSheet','newValue','useCallback','collaboration.single-unit.warning','onPointerEnter$','attrs','DOC_RANGE_TYPE','2yvCpyr','UnitStatus','_docSyncEditingCollabCursorService','_hovered','switchMap','_online','1em','FromArray','requireSession','getTypeOfUnitDisposed$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addObject','OTHER_CLIENTS_EDITING','WebBrowserSingleActiveUnitService','_status$','ThemeService','HEADER_MENU','unitId','NO_OTHER_CLIENTS_EDITING','Module','ranges','NodePositionConvertToRectRange','ISnapshotServerService','@univerjs-pro/collaboration','_onRefRangeChange','_cursor','setUndoRedoMutationParamsCache','UniverDocsUi','DocStateChangeManagerService','Shape','roomMembers$','IMessageService','UPDATE_CURSOR','collabStatus.fetchMiss','_cursorInfo$','combineLatest','_entities','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CollaborationUIEventService','_send','_beforeCloseService','clearTimeout','toDisposable','transformSelections','UNIVER_SHEET','LOCAL_CACHE_INTERVAL_KEY','Plugin','deepClone','_httpService','InsertRangeMoveRightCommandId','saveTaskMap','_handleEvent','YUUMI_ASYNCIO_CANCELLED','drawWith','getValue','hide','collabCursorState$','onMouseMove','_updateCollabCursors','split','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','RegularPolygon','runId','INVALID_INVITE_CODE','subscribeEvent','set','removeParam','merge','init','selection','_injector','TEXT_RANGE_LAYER_INDEX','Unknown\x20user','JOIN_ROOM_FAILED','search','createIdentifier','xlink:href','_scene','makeDirty','handleInsertRangeMoveDown','_heartbeatTimer','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabStatus.synced','disableLocalCache','_disabled','none','48199KPqkTN','LOGIN_FAILED','endColumn','USER_NOT_INVITED_CODE','_shapes','ILocalCacheService','Vector2','idSuffix','YUUMI_RATE_OVER_LIMIT','_toggleOffline','FETCH_MISS','UniverProCollaboration','MemberService','tag','serializeRangeWithSheet','registerRefRange','YUUMI_CONNECTOR_URL_NOT_FOUND','_docTransformStateCacheService','_id','unshift','blue.400','3hryYaL','selections','_doCreateSocket','children','has','SUBMIT_CHANGESET_TIMEOUT','all','SOCKET_FAILED_RETRY','cursorInfo$','getUndoRedoMutationParamsCache','_scheduleHeartbeat','collab-client.tooltip.reconnect','distinctUntilChanged','handleInsertRow','subunit','YUUMI_ALL_TABLES_IS_INVALID','getSheetBySheetId','currentColor','getColorFromTheme','IUIPartsService','_removeClearOtherTimer','clsx','_ensureSubject','_configService','_registerRenderDependencies','symbol','_initStatusComponent','CLOSE_ROOM','href','_transformPreviousActiveRange','_handleHeartbeatEvent','data','@univerjs/sheets-ui','MoveRangeCommandId','_config','collaboration-client.offline-data-not-saved','searchParams','INVALID_ARGUMENT','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','isArray','LocaleService','getMember','LICENSE_MAX_UNITS_EXCEEDED','_themeService','uni.network.url-service','OffLineIcon','_getScale','params','479899nFEOfu','UniverEngineRender','228701ZAxQGA','0\x200\x2017\x2016','_updateURLWithCurrentState','_draw','assign','fillStyle','getRelativeToViewportCoord','m2Prime','DataLoaderService','getCoordByCell','hovered','replace','UniverCore','CollaborationStatus','top','handleDeleteRangeMoveLeft','currentTheme$','add','_logService','_initResize','_handleJoinEvent','_initEntityListener','width','textRanges','getCollabCursors$','Tooltip','fillText','UNDEFINED','_transformService','_registerDependencies','RECT','NodePositionConvertToCursor','activeSheet$','_urlService','_saveTaskMap','WECHAT_HAS_BEEN_BOUND','_uiPartsService','getSkeleton','UniverIcon','startRow','toStringTag','PENDING','@univerjs/docs-ui','use','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_updateSubUnitFromURLParams','show','_collaborationUIEventService','getCellPositionByOffset','length','clipPath','Failed','ILocalStorageService','takeUntil','IImageIoService','substring','[RemoteUniscriptService]:\x20no\x20focused\x20unit','green.600','_anchorDot','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','DocSelectionManagerService','_getAnchorBounding','onRendered','filter','univer-mr-2\x20univer-flex\x20univer-text-xl','WebSocketService','body','UniverCollaborationClientPlugin','isActive','isEditing','triggerDblclick','NOT_FOUND','useDependency','SetDocZoomRatioOperation','send','get','_dataLoaderService','urlChange$','history','handleIRemoveCol','_document','registerComponent','connectInjector','_session','sessionStatus$','jsx','_drawTextRange','_memberService','onPointerMove$','map','COMPLETION_FINISHED','CollaborationStatusDisplay','getActiveSheet','labelPosition','UniverRpc','PERMISSION_DENIED','entityInit$','amd','text','_lastPointer','_imageIoService','_revisionService','off-line-icon','RxDisposable','UniverNetwork','getRangePointData','status$','black','addObjects','INVITE_CODE_HAS_BEEN_UES','unsubscribe','MUTATION','transformMutationsWithChangeset','evenodd','AWAITING','then','pushState','icon','doc.mutation.rich-text-editing','_handleLeaveEvent','jiqing.500','DEFAULT_WS_SESSION_TICKET_URL','disposeUnit','rxjs/operators','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','APPLY_REVISION_CONFILICT','forwardRef','@univerjs/engine-formula','NOT_COLLAB','MOBILE_VERIFY_CODE_MISMATCH','TOO_MANY_REQUESTS','_range','20KTzvbK','ICommandService','univer-flex\x20univer-items-center','360nmUTgd','Warning','_docSkeletonManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_ALREADY_BOUND','setShapeProps','result','exports','registerRenderModule','stringify','session.will-retry','_init','debounce','BuiltInUIPart','on-line-icon','getOwnPropertyDescriptor','_drawRectRange','getConfig','closePath','APPLY_REJECT','dispose','_refreshCollabCursors','sessionTicket','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','moveTo','indexOf','APPLY_DUPLICATED','loadUnit','SetTextSelectionsOperation','height','YUUMI_URL_COL_OUT_OF_RANGE','onPointerLeave$','setActiveRange','MessageType','0\x200\x2016\x2016','error','SYNCED','APPLY_PERMISSION_DENIED','transformMutation','subUnitId','prototype','DesktopCollaborationStatusDisplayController','setTimeout','currentSkeleton$','RemoveRowCommandId','invokeId','UniverInstanceType','enableLocalCache','rxjs','delete','syncEditingCollabCursor','complete','_collabSessionService','cursorInfo','debounceTime','CommandType','getTypeOfUnitAdded$','mapTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformUndoRedoStack','_getSessionTicket','sheetId','skeleton','toRgbString','save','_collaborationController','url(#$1','beginPath','string','range','restore','setAlpha','push','bottom','engine','_startDocCollabCursor','getSheetId','unit','CollaborationEvent','Rectangle','defIds','arc','replaceState','white','CONFLICT','yellow.400','handleDeleteRangeMoveUp','updateOfflineData','runRefRangeMutations','parse','CollaborationDataLoaderController','_localStorageService','IRemoteInstanceService','assignAColorForMemberID','onCommandExecuted','from','_colorIndex','React','exhaustSavingTask','displayName','_getMergeRange','SheetCollabCursorShape','_labelPosition','popstate','getActiveRange','collabStatus.offline','values','startColumn','YUUMI_AI_RUN_FAILED','transformIMECache','_assignedColors','onTransformChange$','_scheduleSaving','endRow','location','ColorKit','defs','CONNECTOR_DATA_TOO_LARGE','@univerjs/core','_onCursorDelete','translate(.97)','_removeCollabCursors','_messageService','_selfUnitIDs','off-line-icon_clip0_910_343','SessionStatus','dispose$','fill','getUnitId','CollaborationSessionService','TEXT','_transformHistoryAndStateStack','getOwnPropertySymbols','propertyIsEnumerable','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initStatusListener','addHandlerCallback','getCurrentUnitForType','transform','DocIMEInputManagerService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','forEach','collab-text-range-','entries','_eventUnsubscribe','UniverDocs','_entityInit$','getUniverSheetInstance','IUniverInstanceService','@univerjs/rpc','size','_initCommandExecutedListener','subscribe','memberID','executeCommand','extend','getItem','60056KYSpIb','asObservable','_anchor','mask','toString','function','_toggleOnline','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','throttleTime','SHEET_VIEWPORT_KEY','@univerjs/ui','setItem','_render','getParam','_renderManagerService','_backgroundColor','SNAPSHOT_INVALID_SNAPSHOT','IConfigService','registerDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','_saveCache','Disposable','http://www.w3.org/2000/svg','OnLineIcon','purple.300','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','DeleteRangeMoveLeftCommandId','m1Prime','transformStateCache','_color','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','mutations','event$','CollaborationUIEventId','disposeWithMe','ALREADY_EXISTS','getDocRanges','471652HYkwpV','_univerInstanceService','useObservable','_docTransformIMECacheService','_getSaveTimeout','_unitOnClients','@univerjs/engine-render','M0\x200H16V16H0z','runOnServer','docStateChange$','hasOwnProperty','createInstance','random','_context','Optional','getOffsetConfig','Injector','_updateLocalCursor','_unitStatus','transformRemoteChangeset','Inject','_hover','LICENSE_DISTRO_REJECTED','debug','isTransformMutationFailure','_roomMembers$','500515HhiJOr','getCurrentRevOfUnit','collabStatus.syncing','_cursorShapes','getSheetObject','InsertColCommandId','with','RevisionService','getFocusedUnit','OTHER_CLIENT_EDITING','UniverCollaborationClientUIPlugin','concat','_hideTimer','next','div','UniverEngineFormula','eventID','mergeOverrideWithDependencies','override','_docClipboardService','_setupSubUnitSync','trim','_createSocketURL','_commandService','_scheduleClearOtherTimer','_drawAnchor','InsertRowCommandId','svg','pipe','_textBubble','saveOfflineData','DocCollaborationEntity','createElement','13KkhmBS','_startSheetCollabCursor','UNRECOGNIZED','getLocalCacheKey','session.collaboration-timeout','getStateCache','_initEvent','EMAIL_VERIFY_CODE_MISMATCH','_localeService','column','_colorAssignService','ONLINE','CollaborationController','UNAUTHENTICATED','getCurrentSelections','_docStateChangeManagerService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabStatus.notCollab','PY_RUNTIME_SCRIPT_ERROR','IBeforeCloseService','onStarting','pluginName','12ELrBEo','IRenderManagerService','#FFF','_handleHover','ISocketService','LOCAL_CACHE_INTERVAL','_onCursorUpdate','YUUMI_SUBSCRIPTION_NOT_FOUND','imageSourceType','operators','SetWorksheetActivateCommand','unitID','SetSelectionsOperation','BehaviorSubject','measureText','MOBILE_HAS_BEEN_BOUND','setParam','session.connection-failed','type','ITransformService','generateRandomId','resize','_localCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','red.300','getCollabEntity$','defineProperty','call','ACTIVE_UNIT_EVENT_CHANNEL','_refRangeService','YUUMI_UNABLE_LOAD_URL','RemoteUniscriptService','permission.title','univerjs-icon\x20univerjs-icon-','_syncEditingCollabCursorService','4982628IfrCdI','getMemberID','getRenderById','_initDependencies','UniverSheetsUi','_setupBeforeClosingHandler','min','Rect','color','getUnhiddenWorksheets','code','undoState','path','ticket'];_0xadf5=function(){return _0x3c3615;};return _0xadf5();}