@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506231607 → 0.8.2-nightly.202506241607

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 (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -0
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -0
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -0
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/locale/ko-KR.d.ts +3 -0
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +1 -1
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ko-KR.js +1 -0
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x182a(_0x20c9e9,_0x3eeded){const _0x11905d=_0x1190();return _0x182a=function(_0x182a63,_0x4fd569){_0x182a63=_0x182a63-0xb3;let _0x42d7fe=_0x11905d[_0x182a63];return _0x42d7fe;},_0x182a(_0x20c9e9,_0x3eeded);}(function(_0x469f4b,_0x97a4d3){const _0x1f54ac=_0x182a,_0x24239c=_0x469f4b();while(!![]){try{const _0x1b394b=-parseInt(_0x1f54ac(0x198))/0x1*(parseInt(_0x1f54ac(0x203))/0x2)+parseInt(_0x1f54ac(0x2bf))/0x3*(parseInt(_0x1f54ac(0x2d5))/0x4)+-parseInt(_0x1f54ac(0x122))/0x5*(parseInt(_0x1f54ac(0x2eb))/0x6)+-parseInt(_0x1f54ac(0xb9))/0x7*(parseInt(_0x1f54ac(0x273))/0x8)+parseInt(_0x1f54ac(0x164))/0x9*(parseInt(_0x1f54ac(0x20d))/0xa)+-parseInt(_0x1f54ac(0x193))/0xb*(parseInt(_0x1f54ac(0x30b))/0xc)+parseInt(_0x1f54ac(0x12c))/0xd;if(_0x1b394b===_0x97a4d3)break;else _0x24239c['push'](_0x24239c['shift']());}catch(_0x236570){_0x24239c['push'](_0x24239c['shift']());}}}(_0x1190,0xd3ae0),function(_0x4fee9f,_0x2a9d82){const _0x2d75bd=_0x182a;typeof exports=='object'&&typeof module<'u'?_0x2a9d82(exports,require(_0x2d75bd(0x341)),require(_0x2d75bd(0x32d)),require(_0x2d75bd(0x183)),require(_0x2d75bd(0x2df)),require('@univerjs/docs-ui'),require(_0x2d75bd(0x106)),require(_0x2d75bd(0x338)),require(_0x2d75bd(0x2d7)),require('@univerjs/docs'),require(_0x2d75bd(0x2a6)),require(_0x2d75bd(0x319)),require(_0x2d75bd(0x22b)),require(_0x2d75bd(0x237)),require('react/jsx-runtime'),require(_0x2d75bd(0xcc)),require(_0x2d75bd(0x115)),require(_0x2d75bd(0x142)),require(_0x2d75bd(0x1d2))):typeof define==_0x2d75bd(0x30f)&&define[_0x2d75bd(0x240)]?define([_0x2d75bd(0x2c5),_0x2d75bd(0x341),_0x2d75bd(0x32d),'@univerjs/engine-render',_0x2d75bd(0x2df),_0x2d75bd(0x2b4),'@univerjs/drawing',_0x2d75bd(0x338),_0x2d75bd(0x2d7),_0x2d75bd(0x2a3),_0x2d75bd(0x2a6),'@univerjs/sheets',_0x2d75bd(0x22b),_0x2d75bd(0x237),'react/jsx-runtime',_0x2d75bd(0xcc),'@univerjs/design',_0x2d75bd(0x142),_0x2d75bd(0x1d2)],_0x2a9d82):(_0x4fee9f=typeof globalThis<'u'?globalThis:_0x4fee9f||self,_0x2a9d82(_0x4fee9f[_0x2d75bd(0x243)]={},_0x4fee9f['UniverProCollaborationClient'],_0x4fee9f[_0x2d75bd(0xd3)],_0x4fee9f[_0x2d75bd(0x152)],_0x4fee9f['UniverNetwork'],_0x4fee9f[_0x2d75bd(0x325)],_0x4fee9f['UniverDrawing'],_0x4fee9f[_0x2d75bd(0x338)],_0x4fee9f[_0x2d75bd(0x328)],_0x4fee9f['UniverDocs'],_0x4fee9f[_0x2d75bd(0x1f3)],_0x4fee9f[_0x2d75bd(0x138)],_0x4fee9f[_0x2d75bd(0x338)][_0x2d75bd(0xb6)],_0x4fee9f[_0x2d75bd(0x2ff)],_0x4fee9f[_0x2d75bd(0x232)],_0x4fee9f[_0x2d75bd(0x189)],_0x4fee9f['UniverDesign'],_0x4fee9f['React'],_0x4fee9f[_0x2d75bd(0x28f)]));}(this,function(_0x2ec00e,_0x561334,_0x34f2b0,_0x1678e0,_0x64f4c9,_0x3487a2,_0x479522,_0x53d307,_0x2336f8,_0x721df3,_0x5bfca6,_0x2a09ae,_0x4357b4,_0x5d707f,_0x2cf07e,_0x2dc545,_0x3b8c80,_0x46992f,_0x3b398b){'use strict';const _0x53aa47=_0x182a;var _0x1b559e=Object['defineProperty'],_0x389a39=(_0x46978e,_0x28fe55,_0x467941)=>_0x28fe55 in _0x46978e?_0x1b559e(_0x46978e,_0x28fe55,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x467941}):_0x46978e[_0x28fe55]=_0x467941,_0x5e46bb=(_0x195426,_0x3f9baf,_0x3e83e0)=>_0x389a39(_0x195426,typeof _0x3f9baf!=_0x53aa47(0xfd)?_0x3f9baf+'':_0x3f9baf,_0x3e83e0),_0x268749=Object[_0x53aa47(0x121)],_0x1e127e=(_0x308979,_0x2c515b,_0x385bf8,_0x250006)=>{for(var _0x442fc9=_0x250006>0x1?void 0x0:_0x250006?_0x268749(_0x2c515b,_0x385bf8):_0x2c515b,_0x2dd8f7=_0x308979['length']-0x1,_0x3aad44;_0x2dd8f7>=0x0;_0x2dd8f7--)(_0x3aad44=_0x308979[_0x2dd8f7])&&(_0x442fc9=_0x3aad44(_0x442fc9)||_0x442fc9);return _0x442fc9;},_0x10d793=(_0x13302b,_0x1b720f)=>(_0x227c2c,_0x29cc18)=>_0x1b720f(_0x227c2c,_0x29cc18,_0x13302b);let _0x414baf=class extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(_0x3e9631,_0x3aec5b){const _0x347303=_0x53aa47;super(),this[_0x347303(0xe2)]=_0x3e9631,this[_0x347303(0x270)]=_0x3aec5b,this[_0x347303(0x17f)]();}[_0x53aa47(0x17f)](){const _0x3eaa05=_0x53aa47,_0x2149cd=this;this[_0x3eaa05(0x278)](this['_docClipboardService'][_0x3eaa05(0x267)]({'onBeforePasteImage':async _0x1ff34b=>{const _0x4e7b64=_0x3eaa05,_0x5458f1=await _0x2149cd[_0x4e7b64(0x270)][_0x4e7b64(0x242)](_0x1ff34b);return _0x5458f1?{'source':_0x5458f1[_0x4e7b64(0x331)],'imageSourceType':_0x5458f1[_0x4e7b64(0x31d)]}:null;}}));}};_0x414baf=_0x1e127e([_0x10d793(0x0,_0x3487a2[_0x53aa47(0x2b8)]),_0x10d793(0x1,_0x479522[_0x53aa47(0x220)])],_0x414baf);const _0x3091e2=[_0x53aa47(0x348),'jiqing.500','green.600',_0x53aa47(0x191),_0x53aa47(0x105),'yellow.400'];class _0x57ef26 extends _0x34f2b0[_0x53aa47(0x12a)]{constructor(){super(...arguments),_0x5e46bb(this,'_assignedColors',new Map()),_0x5e46bb(this,'_colorIndex',0x0);}[_0x53aa47(0x286)](_0x42f4d3){const _0x2c6028=_0x53aa47;if(this[_0x2c6028(0x334)][_0x2c6028(0x1be)](_0x42f4d3))return this[_0x2c6028(0x334)][_0x2c6028(0x238)](_0x42f4d3);const _0x42f402=_0x3091e2[this[_0x2c6028(0x1d3)]];return this[_0x2c6028(0x1d3)]=(this[_0x2c6028(0x1d3)]+0x1)%_0x3091e2[_0x2c6028(0x28e)],this[_0x2c6028(0x334)]['set'](_0x42f4d3,_0x42f402),_0x42f402;}}function _0x47f1a1(_0x1977df){const _0x2b52d0=_0x53aa47;let _0x6362f3='';for(const _0x55a4b0 of _0x1977df){const {startOffset:_0x2983ad,endOffset:_0x27ee59,isActive:_0x37ef4b,rangeType:_0x420fe9,segmentId:_0x1078bb,segmentPage:_0x5c859e}=_0x55a4b0;_0x6362f3[_0x2b52d0(0x28e)]&&(_0x6362f3+=','),_0x6362f3+=_0x2983ad+':'+_0x27ee59+':'+(_0x37ef4b?'1':'0')+':'+_0x420fe9+':'+_0x1078bb+':'+_0x5c859e;}return _0x6362f3;}function _0x10f335(_0x1629d7){const _0x5570b2=_0x53aa47,_0x4d3d3d=_0x1629d7[_0x5570b2(0x2e9)](','),_0x2d2138=[];for(const _0x1f1af3 of _0x4d3d3d){const [_0x4ddd67,_0x54231e,_0x403159,_0x99597a,_0x2a067d,_0x26945f]=_0x1f1af3[_0x5570b2(0x2e9)](':');_0x2d2138['push']({'startOffset':Number(_0x4ddd67),'endOffset':Number(_0x54231e),'collapsed':_0x4ddd67===_0x54231e,'isActive':_0x403159==='1','rangeType':_0x99597a===_0x34f2b0['DOC_RANGE_TYPE']['TEXT']?_0x34f2b0[_0x5570b2(0x13c)][_0x5570b2(0x2cf)]:_0x34f2b0['DOC_RANGE_TYPE'][_0x5570b2(0x2c7)],'segmentId':typeof _0x2a067d=='string'?String(_0x2a067d):'','segmentPage':Number(_0x26945f!=null?_0x26945f:-0x1)});}return _0x2d2138[_0x5570b2(0x2fa)](_0x2d0ee9=>_0x2d0ee9[_0x5570b2(0x230)])||(_0x2d2138[0x0]['isActive']=!0x0),_0x2d2138;}class _0x5d5e3c extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(){const _0x36e40b=_0x53aa47;super(...arguments),_0x5e46bb(this,'_collabCursorState$',new _0x53d307[(_0x36e40b(0x1f8))](null)),_0x5e46bb(this,_0x36e40b(0x155),this[_0x36e40b(0x1af)][_0x36e40b(0xd4)]());}[_0x53aa47(0x343)](_0x235b81){const _0x56719c=_0x53aa47,{unitID:_0x2ae626,memberID:_0x5d6c68,textRanges:_0x1b75db}=_0x235b81,_0x327271=_0x47f1a1(_0x1b75db);if(_0x327271==='')return;const _0x676705={'unitID':_0x2ae626,'memberID':_0x5d6c68,'selection':_0x327271};this[_0x56719c(0x1af)][_0x56719c(0xeb)](_0x676705);}}var _0x5d9b18=Object['getOwnPropertyDescriptor'],_0x52e63d=(_0xc01727,_0x38b02b,_0x4786f5,_0x6dd0dd)=>{for(var _0xda5352=_0x6dd0dd>0x1?void 0x0:_0x6dd0dd?_0x5d9b18(_0x38b02b,_0x4786f5):_0x38b02b,_0x1a33e3=_0xc01727['length']-0x1,_0x5f184e;_0x1a33e3>=0x0;_0x1a33e3--)(_0x5f184e=_0xc01727[_0x1a33e3])&&(_0xda5352=_0x5f184e(_0xda5352)||_0xda5352);return _0xda5352;},_0x34cad7=(_0x4f6f2b,_0x3a578c)=>(_0x19185e,_0x36069e)=>_0x3a578c(_0x19185e,_0x36069e,_0x4f6f2b);const _0x1cbc21=0x12c,_0x3a9ddc=0x64;let _0x4f051b=class extends _0x34f2b0['RxDisposable']{constructor(_0x1bcf0a,_0x35dc41,_0x39d299,_0x36d11b,_0x53684b,_0x9db5b4,_0x4e7208,_0x37833a,_0x589488){const _0x38b8be=_0x53aa47;super(),_0x5e46bb(this,'_online',!0x1),_0x5e46bb(this,_0x38b8be(0x17f),!0x1),_0x5e46bb(this,_0x38b8be(0xbd),new _0x53d307[(_0x38b8be(0x1f8))](new Map())),_0x5e46bb(this,'cursorInfo$',this[_0x38b8be(0xbd)][_0x38b8be(0xd4)]()),_0x5e46bb(this,'_roomMembers$',new _0x53d307['BehaviorSubject']([])),_0x5e46bb(this,'roomMembers$',this[_0x38b8be(0x33c)][_0x38b8be(0x147)](_0x53d307['debounceTime'](_0x1cbc21))),_0x5e46bb(this,_0x38b8be(0x21e),_0x34f2b0[_0x38b8be(0x2d2)](_0x35b8b2=>{const _0x3455a1=_0x38b8be,_0x277ca6={'eventID':_0x2336f8[_0x3455a1(0x1f2)][_0x3455a1(0x351)],'data':{'unitID':this[_0x3455a1(0x241)],'memberID':this['_session']['getMemberID'](),'selection':_0x47f1a1(_0x35b8b2)}};this['_session'][_0x3455a1(0x118)](_0x277ca6,this['unitID']);},_0x3a9ddc)),(this[_0x38b8be(0x241)]=_0x1bcf0a,this[_0x38b8be(0x26c)]=_0x35dc41,this['_injector']=_0x39d299,this[_0x38b8be(0x1f7)]=_0x36d11b,this['_memberService']=_0x53684b,this[_0x38b8be(0x113)]=_0x9db5b4,this['_transformService']=_0x4e7208,this['_univerInstanceService']=_0x37833a,this['_commandService']=_0x589488);}get['cursorInfo'](){const _0x47dc25=_0x53aa47;return this[_0x47dc25(0xbd)]['getValue']();}get[_0x53aa47(0x2c2)](){const _0x314117=_0x53aa47;return this['_roomMembers$'][_0x314117(0x103)]();}[_0x53aa47(0x318)](){const _0x44f92e=_0x53aa47;super[_0x44f92e(0x318)](),this[_0x44f92e(0xbd)]['next'](new Map()),this[_0x44f92e(0xbd)][_0x44f92e(0x22e)](),this[_0x44f92e(0x33c)][_0x44f92e(0xeb)]([]),this['_roomMembers$'][_0x44f92e(0x22e)]();}[_0x53aa47(0xec)](){const _0x272d64=_0x53aa47;this[_0x272d64(0x17f)]||(this[_0x272d64(0x17f)]=!0x0,this[_0x272d64(0x26c)][_0x272d64(0xf4)]['pipe'](_0x53d307['takeUntil'](this['dispose$']))[_0x272d64(0x18d)](_0x335d8f=>{const _0x384c14=_0x272d64;_0x335d8f===_0x561334['SessionStatus'][_0x384c14(0x187)]?this[_0x384c14(0x13b)]():this[_0x384c14(0x1f6)]();}),this[_0x272d64(0x26c)][_0x272d64(0x1fc)]['pipe'](_0x53d307[_0x272d64(0x21b)](this[_0x272d64(0x2a0)]))['subscribe'](_0x13dd36=>{const _0x599f0a=_0x272d64,_0x529652=_0x13dd36[_0x599f0a(0x10c)];_0x529652===_0x2336f8[_0x599f0a(0x1f2)][_0x599f0a(0x351)]&&this[_0x599f0a(0x1b9)](_0x13dd36),_0x529652===_0x2336f8[_0x599f0a(0x1f2)][_0x599f0a(0x1c9)]&&this[_0x599f0a(0x192)](_0x13dd36);}),this['disposeWithMe'](this[_0x272d64(0x1c3)][_0x272d64(0x1a7)](_0x2dd60d=>{const _0x28cea1=_0x272d64,_0x3bdc11=_0x2dd60d[_0x28cea1(0xfe)];_0x3bdc11!=null&&this[_0x28cea1(0xc8)]&&_0x2dd60d['id']===_0x721df3[_0x28cea1(0x1bd)]['id']&&_0x3bdc11[_0x28cea1(0x1c6)]===this[_0x28cea1(0x241)]&&_0x3bdc11[_0x28cea1(0x174)]===!0x1&&_0x3bdc11['ranges'][_0x28cea1(0x28e)]>0x0&&this[_0x28cea1(0x21e)](_0x3bdc11[_0x28cea1(0x180)]);})),this['_syncEditingCollabCursorService'][_0x272d64(0x155)][_0x272d64(0x147)](_0x53d307['takeUntil'](this[_0x272d64(0x2a0)]))[_0x272d64(0x18d)](_0x26b99b=>{const _0x180146=_0x272d64;if((_0x26b99b==null?void 0x0:_0x26b99b[_0x180146(0x241)])!==this[_0x180146(0x241)])return;const _0x19ca01={'eventID':_0x2336f8[_0x180146(0x1f2)]['UPDATE_CURSOR'],'data':_0x26b99b};this[_0x180146(0x1b9)](_0x19ca01);}),this[_0x272d64(0x278)](this['_commandService'][_0x272d64(0x1a7)](_0x50698f=>{const _0x262572=_0x272d64;if(_0x50698f[_0x262572(0xfe)]==null)return;const _0x458736=_0x50698f['params'];if(_0x50698f['id']!==_0x721df3[_0x262572(0x18a)]['id']||_0x458736['unitId']!==this[_0x262572(0x241)])return;const _0x27068e={'id':_0x262572(0x179),'params':_0x458736},_0x19391c=this['cursorInfo'];for(const [_0x33b32e,_0x1d1895]of _0x19391c){const _0x5162e8={'id':_0x262572(0x179),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1d1895['ranges']}},_0x323c21=this[_0x262572(0x12b)][_0x262572(0xbb)](_0x27068e,_0x5162e8,!0x1);if(_0x2336f8[_0x262572(0x340)](_0x323c21))throw _0x323c21[_0x262572(0x1a3)];_0x19391c[_0x262572(0x1fa)](_0x33b32e,{..._0x1d1895,'ranges':_0x323c21['m2Prime'][_0x262572(0xfe)][_0x262572(0x141)]});}queueMicrotask(()=>{const _0x41c644=_0x262572;this[_0x41c644(0xbd)][_0x41c644(0xeb)](_0x19391c);});})));}[_0x53aa47(0x1b9)](_0x2d2a64){const _0x5c09b3=_0x53aa47;var _0x381a49,_0xbc8d41;const {memberID:_0x4b57cf,selection:_0x44ce90}=_0x2d2a64[_0x5c09b3(0x1a2)],_0x348495=_0x10f335(_0x44ce90),_0x65aae2=(_0xbc8d41=(_0x381a49=this['_memberService'][_0x5c09b3(0x1eb)](this[_0x5c09b3(0x241)],_0x4b57cf))==null?void 0x0:_0x381a49[_0x5c09b3(0x2b5)])!=null?_0xbc8d41:_0x5c09b3(0x350),_0x65001b={'color':this[_0x5c09b3(0x1f7)]['assignAColorForMemberID'](_0x4b57cf),'name':_0x65aae2,'ranges':_0x348495},_0x39091b=this[_0x5c09b3(0x23f)];_0x39091b[_0x5c09b3(0x1fa)](_0x4b57cf,_0x65001b),this[_0x5c09b3(0xbd)][_0x5c09b3(0xeb)](_0x39091b);}[_0x53aa47(0x192)](_0x5b84f1){const _0x5184a0=_0x53aa47,{memberID:_0x34892d}=_0x5b84f1['data'],_0x5a8ff1=this[_0x5184a0(0x23f)];_0x5a8ff1['delete'](_0x34892d),this[_0x5184a0(0xbd)][_0x5184a0(0xeb)](_0x5a8ff1);}[_0x53aa47(0x13b)](){const _0x440570=_0x53aa47;var _0x4eacf1;if(this['_online']=!0x0,((_0x4eacf1=this[_0x440570(0xbf)]['getFocusedUnit']())==null?void 0x0:_0x4eacf1[_0x440570(0x1fd)]())!==this[_0x440570(0x241)])return;const _0x5f2b8=this[_0x440570(0x195)][_0x440570(0x238)](_0x721df3[_0x440570(0x135)])[_0x440570(0x1ad)]();Array['isArray'](_0x5f2b8)&&_0x5f2b8['length']>0x0&&this[_0x440570(0x21e)](_0x5f2b8);}[_0x53aa47(0x1f6)](){this['_online']=!0x1;}};_0x4f051b=_0x52e63d([_0x34cad7(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x34cad7(0x3,_0x34f2b0['Inject'](_0x57ef26)),_0x34cad7(0x4,_0x34f2b0[_0x53aa47(0x2c6)](_0x561334['MemberService'])),_0x34cad7(0x5,_0x34f2b0[_0x53aa47(0x2c6)](_0x5d5e3c)),_0x34cad7(0x6,_0x2336f8[_0x53aa47(0x134)]),_0x34cad7(0x7,_0x34f2b0[_0x53aa47(0x10d)]),_0x34cad7(0x8,_0x34f2b0[_0x53aa47(0x111)])],_0x4f051b);var _0x161fdb=Object[_0x53aa47(0x121)],_0x5b37a6=(_0x2a605c,_0x124a43,_0x591c4d,_0x121774)=>{for(var _0x1a1257=_0x121774>0x1?void 0x0:_0x121774?_0x161fdb(_0x124a43,_0x591c4d):_0x124a43,_0x2e6004=_0x2a605c['length']-0x1,_0x3aac32;_0x2e6004>=0x0;_0x2e6004--)(_0x3aac32=_0x2a605c[_0x2e6004])&&(_0x1a1257=_0x3aac32(_0x1a1257)||_0x1a1257);return _0x1a1257;},_0x12806b=(_0x224121,_0x440823)=>(_0x4d4892,_0x3f7128)=>_0x440823(_0x4d4892,_0x3f7128,_0x224121);const _0xc35e9f=0x12c,_0x59bbaf=0x64,_0x51d30d=()=>{let _0x2095c7=[],_0x5b5ce7=!0x1;return _0x2cf7ed=>{const _0x5e5d6b=_0x182a;_0x2095c7[_0x5e5d6b(0x218)](_0x2cf7ed),_0x5b5ce7||(_0x5b5ce7=!0x0,setTimeout(()=>{_0x2095c7['forEach'](_0x518460=>_0x518460()),_0x2095c7=[],_0x5b5ce7=!0x1;}));};};let _0xa328bb=class extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(_0x5dbdf3,_0x1b89e7,_0x1a3184,_0x4f365f,_0x45eb7e,_0x5ddf91,_0x21b52d,_0x5df968){const _0x456bda=_0x53aa47;super(),_0x5e46bb(this,_0x456bda(0xc8),!0x1),_0x5e46bb(this,'_init',!0x1),_0x5e46bb(this,_0x456bda(0xbd),new _0x53d307['BehaviorSubject'](new Map())),_0x5e46bb(this,'cursorInfo$',this[_0x456bda(0xbd)][_0x456bda(0xd4)]()),_0x5e46bb(this,'_roomMembers$',new _0x53d307['BehaviorSubject']([])),_0x5e46bb(this,_0x456bda(0x306),this[_0x456bda(0x33c)][_0x456bda(0x147)](_0x53d307[_0x456bda(0x22f)](_0xc35e9f))),_0x5e46bb(this,_0x456bda(0x21e),_0x34f2b0[_0x456bda(0x2d2)]((_0x3ada74,_0x34a10b)=>{const _0x596a06=_0x456bda,_0x3ae0e1={'eventID':_0x2336f8[_0x596a06(0x1f2)][_0x596a06(0x351)],'data':{'unitID':this[_0x596a06(0x241)],'memberID':this[_0x596a06(0x26c)][_0x596a06(0x34e)](),'selection':_0x5bfca6[_0x596a06(0x27d)](_0x3ada74,_0x34a10b[_0x596a06(0x284)])}};this[_0x596a06(0x26c)]['send'](_0x3ae0e1,this[_0x596a06(0x241)]);},_0x59bbaf)),(this['unitID']=_0x5dbdf3,this[_0x456bda(0x26c)]=_0x1b89e7,this[_0x456bda(0x195)]=_0x1a3184,this[_0x456bda(0x1f7)]=_0x4f365f,this[_0x456bda(0x16a)]=_0x45eb7e,this[_0x456bda(0xbf)]=_0x5ddf91,this[_0x456bda(0x1c3)]=_0x21b52d,this[_0x456bda(0x28c)]=_0x5df968);}get[_0x53aa47(0x23f)](){const _0x2653cb=_0x53aa47;return this[_0x2653cb(0xbd)][_0x2653cb(0x103)]();}get['roomMembers'](){const _0x184495=_0x53aa47;return this[_0x184495(0x33c)][_0x184495(0x103)]();}[_0x53aa47(0x318)](){const _0x4dd6c2=_0x53aa47;super[_0x4dd6c2(0x318)](),this[_0x4dd6c2(0xbd)]['next'](new Map()),this[_0x4dd6c2(0xbd)][_0x4dd6c2(0x22e)](),this[_0x4dd6c2(0x33c)][_0x4dd6c2(0xeb)]([]),this[_0x4dd6c2(0x33c)][_0x4dd6c2(0x22e)]();}[_0x53aa47(0xec)](){const _0x48c4c4=_0x53aa47;this[_0x48c4c4(0x17f)]||(this[_0x48c4c4(0x17f)]=!0x0,this[_0x48c4c4(0x26c)]['sessionStatus$']['pipe'](_0x53d307[_0x48c4c4(0x21b)](this[_0x48c4c4(0x2a0)]))['subscribe'](_0x52951d=>{const _0x7ae49a=_0x48c4c4;_0x52951d===_0x561334[_0x7ae49a(0x2f6)][_0x7ae49a(0x187)]?this['_toggleOnline']():this[_0x7ae49a(0x1f6)]();}),this['_session'][_0x48c4c4(0x1fc)]['pipe'](_0x53d307[_0x48c4c4(0x21b)](this[_0x48c4c4(0x2a0)]))['subscribe'](_0x55bc95=>{const _0x3e6e44=_0x48c4c4,_0x2cc029=_0x55bc95[_0x3e6e44(0x10c)];_0x2cc029===_0x2336f8[_0x3e6e44(0x1f2)]['UPDATE_CURSOR']&&this[_0x3e6e44(0x1b9)](_0x55bc95),_0x2cc029===_0x2336f8[_0x3e6e44(0x1f2)][_0x3e6e44(0x1c9)]&&this['_onCursorDelete'](_0x55bc95);}),this[_0x48c4c4(0x34a)](),this[_0x48c4c4(0x278)](this[_0x48c4c4(0x1c3)][_0x48c4c4(0x1a7)](_0xf56bb4=>{const _0xeb625d=_0x48c4c4;if(this[_0xeb625d(0xc8)]&&_0xf56bb4['id']===_0x2a09ae[_0xeb625d(0x11b)]['id']&&_0xf56bb4[_0xeb625d(0xfe)][_0xeb625d(0x1c6)]===this['unitID']){const _0x3c71e1=_0xf56bb4[_0xeb625d(0xfe)];this[_0xeb625d(0x21e)](_0x3c71e1['subUnitId'],_0x3c71e1[_0xeb625d(0x15e)][0x0]);}})));}[_0x53aa47(0x1b9)](_0x4702d6){const _0x242550=_0x53aa47;var _0x2a9ae0,_0x26ce34;const {memberID:_0x2da5f9,selection:_0x4d5d41}=_0x4702d6[_0x242550(0x1a2)],{sheetName:_0x19b5e6,range:_0x5c92cc}=_0x5bfca6['deserializeRangeWithSheet'](_0x4d5d41),_0x2d7a5d={'name':(_0x26ce34=(_0x2a9ae0=this[_0x242550(0x16a)]['getMember'](this['unitID'],_0x2da5f9))==null?void 0x0:_0x2a9ae0[_0x242550(0x2b5)])!=null?_0x26ce34:_0x242550(0x350),'range':this['_getMergeRange'](_0x19b5e6,_0x5c92cc),'sheetID':_0x19b5e6,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2da5f9),'selection':_0x4d5d41},_0x29ea1d=this[_0x242550(0x23f)];_0x29ea1d[_0x242550(0x1fa)](_0x2da5f9,_0x2d7a5d),this[_0x242550(0xbd)]['next'](_0x29ea1d);}[_0x53aa47(0x192)](_0x54beb5){const _0x4194ab=_0x53aa47,{memberID:_0x5dd4e6}=_0x54beb5['data'],_0x37b5f5=this[_0x4194ab(0x23f)];_0x37b5f5[_0x4194ab(0x107)](_0x5dd4e6),this[_0x4194ab(0xbd)][_0x4194ab(0xeb)](_0x37b5f5);}['_getMergeRange'](_0x4116b6,_0x105f36){const _0x2486ad=_0x53aa47;var _0x2db39e,_0x5210f2;const _0x13b64f=(_0x5210f2=(_0x2db39e=this[_0x2486ad(0xbf)][_0x2486ad(0x161)](this[_0x2486ad(0x241)]))==null?void 0x0:_0x2db39e[_0x2486ad(0x287)](_0x4116b6))==null?void 0x0:_0x5210f2[_0x2486ad(0x20c)]();return(_0x13b64f==null?void 0x0:_0x13b64f[_0x2486ad(0x315)](_0x1f46e7=>_0x34f2b0[_0x2486ad(0x17d)][_0x2486ad(0x1fb)](_0x1f46e7,_0x105f36)))||_0x105f36;}[_0x53aa47(0x34a)](){const _0x2e6f01=_0x53aa47,_0x1ad5d5=new _0x34f2b0[(_0x2e6f01(0x1ca))](),_0x3bf25f=_0x51d30d(),_0x25a693=()=>{const _0x31c690=_0x2e6f01;_0x1ad5d5[_0x31c690(0x318)]();const _0x5b4cbd=(_0xb2b069,_0x435ced,_0x306947,_0x96487e)=>{const _0x4e709a=_0x31c690;let _0x373100=[];switch(_0xb2b069['id']){case _0x2a09ae['EffectRefRangId'][_0x4e709a(0xee)]:{_0x373100=_0x2a09ae[_0x4e709a(0x305)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x162)]:{_0x373100=_0x2a09ae[_0x4e709a(0x146)](_0xb2b069,_0x96487e);break;}case _0x2a09ae['EffectRefRangId'][_0x4e709a(0x159)]:{_0x373100=_0x2a09ae['handleInsertCol'](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0xd1)]:{_0x373100=_0x2a09ae[_0x4e709a(0xc1)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x1b0)]:{_0x373100=_0x2a09ae[_0x4e709a(0x282)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x236)]:{_0x373100=_0x2a09ae[_0x4e709a(0x26d)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x1a0)]:{_0x373100=_0x2a09ae[_0x4e709a(0x298)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x2f1)]:{_0x373100=_0x2a09ae['handleIRemoveCol'](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)]['RemoveRowCommandId']:{_0x373100=_0x2a09ae[_0x4e709a(0x281)](_0xb2b069,_0x96487e);break;}}const _0x1d05e6=_0x2a09ae[_0x4e709a(0x296)](_0x373100,_0x96487e),_0x5ecd8f=this[_0x4e709a(0x23f)]['get'](_0x435ced);if(_0x5ecd8f&&_0x1d05e6){const _0x208b94={..._0x5ecd8f,'range':_0x1d05e6};this[_0x4e709a(0x23f)]['set'](_0x435ced,_0x208b94),_0x3bf25f(()=>{const _0x4f5ca2=_0x4e709a,_0x48ad9c=this[_0x4f5ca2(0x28c)][_0x4f5ca2(0x214)](_0x1d05e6,_0x60eb5=>(_0x48ad9c[_0x4f5ca2(0x318)](),_0x5b4cbd(_0x60eb5,_0x435ced,_0x306947,_0x1d05e6)));_0x1ad5d5[_0x4f5ca2(0x31e)](_0x48ad9c);});}return{'redos':[],'undos':[]};};this[_0x31c690(0x23f)][_0x31c690(0xe9)]((_0x13c832,_0x72d776)=>{const _0x388c32=_0x31c690,{range:_0x6e9bee,sheetID:_0x4c4f69}=_0x13c832,_0x116160=this[_0x388c32(0x28c)][_0x388c32(0x214)](_0x6e9bee,_0x335ad3=>(_0x116160[_0x388c32(0x318)](),_0x5b4cbd(_0x335ad3,_0x72d776,_0x4c4f69,_0x6e9bee)));_0x1ad5d5[_0x388c32(0x31e)](_0x116160);});};this[_0x2e6f01(0x278)](_0x34f2b0[_0x2e6f01(0x245)](this[_0x2e6f01(0xbd)][_0x2e6f01(0x18d)](()=>{_0x25a693();})));}[_0x53aa47(0x13b)](){const _0x412aef=_0x53aa47;var _0x14e6df,_0x3a67a3;if(this['_online']=!0x0,((_0x14e6df=this[_0x412aef(0xbf)][_0x412aef(0x185)]())==null?void 0x0:_0x14e6df[_0x412aef(0x1fd)]())!==this[_0x412aef(0x241)])return;const _0x1fb884=(_0x3a67a3=this['_injector'][_0x412aef(0x238)](_0x2a09ae[_0x412aef(0x21f)])['getCurrentSelections']())==null?void 0x0:_0x3a67a3[0x0],_0x2d9c4e=this[_0x412aef(0xbf)][_0x412aef(0x128)](_0x34f2b0[_0x412aef(0x33e)]['UNIVER_SHEET'])[_0x412aef(0x1ee)]();_0x1fb884&&_0x2d9c4e&&this[_0x412aef(0x21e)](_0x2d9c4e[_0x412aef(0x10e)](),_0x1fb884);}[_0x53aa47(0x1f6)](){this['_online']=!0x1;}};_0xa328bb=_0x5b37a6([_0x12806b(0x2,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x324)])),_0x12806b(0x3,_0x34f2b0[_0x53aa47(0x2c6)](_0x57ef26)),_0x12806b(0x4,_0x34f2b0['Inject'](_0x561334[_0x53aa47(0x1f4)])),_0x12806b(0x5,_0x34f2b0[_0x53aa47(0x10d)]),_0x12806b(0x6,_0x34f2b0[_0x53aa47(0x111)]),_0x12806b(0x7,_0x34f2b0[_0x53aa47(0x2c6)](_0x2a09ae['RefRangeService']))],_0xa328bb);var _0x5ba419=Object[_0x53aa47(0x121)],_0x1ce4b2=(_0xce2f20,_0x24bdf6,_0x19b2af,_0x1eac04)=>{for(var _0x43d428=_0x1eac04>0x1?void 0x0:_0x1eac04?_0x5ba419(_0x24bdf6,_0x19b2af):_0x24bdf6,_0x255541=_0xce2f20['length']-0x1,_0x2d9798;_0x255541>=0x0;_0x255541--)(_0x2d9798=_0xce2f20[_0x255541])&&(_0x43d428=_0x2d9798(_0x43d428)||_0x43d428);return _0x43d428;},_0x1be75d=(_0x4e4dbd,_0x138e13)=>(_0x4377e5,_0x324ca4)=>_0x138e13(_0x4377e5,_0x324ca4,_0x4e4dbd);let _0x53c773=class extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(_0x123782,_0x1f15f4,_0x1b47d1){const _0x2c9b0d=_0x53aa47;super(),_0x5e46bb(this,_0x2c9b0d(0x149),new Map()),_0x5e46bb(this,_0x2c9b0d(0x25c),new _0x53d307[(_0x2c9b0d(0x20e))]()),(this[_0x2c9b0d(0xbf)]=_0x123782,this[_0x2c9b0d(0x195)]=_0x1f15f4,this[_0x2c9b0d(0xdf)]=_0x1b47d1,this['_init']());}[_0x53aa47(0x318)](){const _0x2006af=_0x53aa47;super[_0x2006af(0x318)](),this[_0x2006af(0x25c)][_0x2006af(0x22e)](),this[_0x2006af(0x149)][_0x2006af(0xe9)](_0x349f87=>_0x349f87[_0x2006af(0x318)]());}[_0x53aa47(0x1b3)](_0xa26a1c){const _0x39b275=_0x53aa47;return this['_entities'][_0x39b275(0x1be)](_0xa26a1c)?this[_0x39b275(0x149)][_0x39b275(0x238)](_0xa26a1c)['cursorInfo$']:this[_0x39b275(0x25c)][_0x39b275(0x147)](_0x53d307[_0x39b275(0xf3)](_0x15802e=>_0x15802e[_0x39b275(0x241)]===_0xa26a1c),_0x53d307[_0x39b275(0x173)](_0x1da3a5=>_0x1da3a5[_0x39b275(0x2ed)]));}[_0x53aa47(0x17f)](){const _0x4356ed=_0x53aa47;this[_0x4356ed(0xbf)]['getTypeOfUnitAdded$'](_0x34f2b0[_0x4356ed(0x33e)][_0x4356ed(0x2c3)])['pipe'](_0x53d307[_0x4356ed(0x21b)](this[_0x4356ed(0x2a0)]))[_0x4356ed(0x18d)](async _0x2cb3e7=>{const _0x2a9b7c=_0x4356ed,_0x2fb4d4=_0x2cb3e7[_0x2a9b7c(0x1fd)](),_0x4a27e5=await this[_0x2a9b7c(0x16b)](_0x2fb4d4);this[_0x2a9b7c(0x25c)][_0x2a9b7c(0xeb)](_0x4a27e5),this['_entities']['set'](_0x2fb4d4,_0x4a27e5);}),this[_0x4356ed(0xbf)][_0x4356ed(0xe4)](_0x34f2b0['UniverInstanceType'][_0x4356ed(0x15c)])[_0x4356ed(0x147)](_0x53d307[_0x4356ed(0x21b)](this[_0x4356ed(0x2a0)]))[_0x4356ed(0x147)](_0x53d307[_0x4356ed(0xf3)](_0x39b4a1=>!_0x39b4a1[_0x4356ed(0x1fd)]()[_0x4356ed(0xdd)]('__')))[_0x4356ed(0x18d)](async _0xb83b0d=>{const _0xdb7e27=_0x4356ed,_0x836812=_0xb83b0d[_0xdb7e27(0x1fd)](),_0x4dfe4e=await this[_0xdb7e27(0x201)](_0x836812);this['_entityInit$'][_0xdb7e27(0xeb)](_0x4dfe4e),this['_entities']['set'](_0x836812,_0x4dfe4e);}),_0x53d307[_0x4356ed(0x1d0)](this[_0x4356ed(0xbf)][_0x4356ed(0x345)](_0x34f2b0[_0x4356ed(0x33e)]['UNIVER_DOC']),this[_0x4356ed(0xbf)][_0x4356ed(0x345)](_0x34f2b0[_0x4356ed(0x33e)]['UNIVER_SHEET']))[_0x4356ed(0x147)](_0x53d307[_0x4356ed(0x21b)](this[_0x4356ed(0x2a0)]))[_0x4356ed(0x18d)](_0x1a0cea=>{const _0x42d405=_0x4356ed,_0x49066c=_0x1a0cea['getUnitId'](),_0x33d209=this['_entities'][_0x42d405(0x238)](_0x49066c);_0x33d209&&(_0x33d209[_0x42d405(0x318)](),this[_0x42d405(0x149)][_0x42d405(0x107)](_0x49066c));});}async[_0x53aa47(0x16b)](_0x361721){const _0x1e21ad=_0x53aa47,_0x14a754=await this[_0x1e21ad(0xdf)][_0x1e21ad(0x2c4)](_0x361721),_0x152bde=this[_0x1e21ad(0x195)][_0x1e21ad(0x2b1)](_0xa328bb,_0x361721,_0x14a754);return _0x152bde[_0x1e21ad(0xec)](),_0x152bde;}async[_0x53aa47(0x201)](_0x14e11e){const _0x2c65cc=_0x53aa47,_0x3b2b9a=await this[_0x2c65cc(0xdf)][_0x2c65cc(0x2c4)](_0x14e11e),_0x4a97b3=this[_0x2c65cc(0x195)][_0x2c65cc(0x2b1)](_0x4f051b,_0x14e11e,_0x3b2b9a);return _0x4a97b3[_0x2c65cc(0xec)](),_0x4a97b3;}};_0x53c773=_0x1ce4b2([_0x1be75d(0x0,_0x34f2b0[_0x53aa47(0x10d)]),_0x1be75d(0x1,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x1be75d(0x2,_0x34f2b0['Inject'](_0x561334[_0x53aa47(0x349)]))],_0x53c773);const _0x3f30f4=0x14,_0xd826c1=0xc8,_0x198a91=0x4,_0x2d0e98=0x5;function _0x3c7f5c(_0x2f6d00,_0x17ea90){const _0x6cc326=_0x53aa47;let {radius:_0x5ca18b,width:_0xab4d56,height:_0x272552}=_0x17ea90;_0x5ca18b=_0x5ca18b!=null?_0x5ca18b:0x0,_0xab4d56=_0xab4d56!=null?_0xab4d56:0x1e,_0x272552=_0x272552!=null?_0x272552:0x1e;let _0x593eee=0x0,_0x4b15e9=0x0,_0x6fc4a0=0x0;_0x593eee=_0x4b15e9=_0x6fc4a0=Math[_0x6cc326(0x114)](_0x5ca18b,_0xab4d56/0x2,_0x272552/0x2),_0x2f6d00[_0x6cc326(0x16e)](),_0x2f6d00[_0x6cc326(0x25b)](_0x593eee,0x0),_0x2f6d00[_0x6cc326(0x2d8)](_0xab4d56-_0x4b15e9,0x0),_0x2f6d00[_0x6cc326(0x13f)](_0xab4d56-_0x4b15e9,_0x4b15e9,_0x4b15e9,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f6d00[_0x6cc326(0x2d8)](_0xab4d56,_0x272552-_0x6fc4a0),_0x2f6d00[_0x6cc326(0x13f)](_0xab4d56-_0x6fc4a0,_0x272552-_0x6fc4a0,_0x6fc4a0,0x0,Math['PI']/0x2,!0x1),_0x2f6d00[_0x6cc326(0x2d8)](0x0,_0x272552),_0x2f6d00[_0x6cc326(0x2d8)](0x0,_0x593eee),_0x2f6d00['arc'](_0x593eee,_0x593eee,_0x593eee,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f6d00[_0x6cc326(0x196)](),_0x17ea90[_0x6cc326(0xd9)]&&(_0x2f6d00[_0x6cc326(0x1cc)](),_0x2f6d00[_0x6cc326(0x145)]=_0x17ea90[_0x6cc326(0xd9)],_0x17ea90[_0x6cc326(0x326)]===_0x6cc326(0x29a)?_0x2f6d00[_0x6cc326(0xd9)](_0x6cc326(0x29a)):_0x2f6d00[_0x6cc326(0xd9)](),_0x2f6d00[_0x6cc326(0x31f)]());}class _0x22e84c extends _0x1678e0[_0x53aa47(0x24d)]{constructor(_0x4ffb5d,_0x248728){const _0x15230c=_0x53aa47;super(_0x4ffb5d,_0x248728),_0x5e46bb(this,_0x15230c(0x1e3)),_0x5e46bb(this,_0x15230c(0x2de)),(this[_0x15230c(0x1e3)]=_0x248728==null?void 0x0:_0x248728[_0x15230c(0x1e3)],this[_0x15230c(0x2de)]=_0x248728==null?void 0x0:_0x248728[_0x15230c(0x2de)]);}static[_0x53aa47(0x255)](_0x1bdc32,_0x210911){const _0x23244e=_0x53aa47,{text:_0x2c8494,color:_0x3a9adf}=_0x210911;_0x1bdc32[_0x23244e(0x1cc)](),_0x1bdc32[_0x23244e(0x1c8)]=_0x23244e(0x1c5);const _0x3ccb92=_0x1bdc32['measureText'](_0x2c8494)[_0x23244e(0x2ec)],_0x74fc2b=Math[_0x23244e(0x114)](_0x3ccb92+0x2*_0x198a91,_0xd826c1);_0x3c7f5c(_0x1bdc32,{'height':_0x3f30f4,'radius':0x4,'width':_0x74fc2b,'fill':_0x3a9adf}),_0x1bdc32[_0x23244e(0x145)]=_0x23244e(0x2b9);const _0x50f9f3=_0x198a91,_0x1841b6=_0x3f30f4-_0x2d0e98,_0x25a192=_0xd826c1-0x2*_0x198a91;if(_0x3ccb92>_0x25a192){let _0x4e7623='',_0x1fa339=0x0;for(const _0x53b8f5 of _0x2c8494){const _0x42b20f=_0x1bdc32[_0x23244e(0xe6)](_0x53b8f5)[_0x23244e(0x2ec)];if(_0x1fa339+_0x42b20f<=_0x25a192-_0x1bdc32[_0x23244e(0xe6)](_0x23244e(0x1a6))[_0x23244e(0x2ec)])_0x4e7623+=_0x53b8f5,_0x1fa339+=_0x42b20f;else{_0x4e7623+=_0x23244e(0x1a6);break;}}_0x1bdc32['fillText'](_0x4e7623,_0x50f9f3,_0x1841b6);}else _0x1bdc32[_0x23244e(0x13d)](_0x2c8494,_0x50f9f3,_0x1841b6);_0x1bdc32[_0x23244e(0x31f)]();}[_0x53aa47(0x247)](_0x4ca918){const _0x181e1d=_0x53aa47;_0x22e84c[_0x181e1d(0x255)](_0x4ca918,this);}}const _0x5daf06=_0x53aa47(0x10b),_0x2f729a='collab-text-range-',_0x3a71fb='collab-rect-range-',_0x4916be=0x6,_0x3e1473=1.5,_0x2b0482=0x4,_0x37f73d=1.5,_0x441be0=_0x53aa47(0x293);class _0x35e746{constructor(_0x35c321,_0x45fc7e,_0x13084,_0x40fea1){const _0x184186=_0x53aa47;_0x5e46bb(this,'_shapes',[]),_0x5e46bb(this,_0x184186(0xff),null),_0x5e46bb(this,_0x184186(0x1e0),null),_0x5e46bb(this,_0x184186(0x344),null),_0x5e46bb(this,_0x184186(0xc7),null),_0x5e46bb(this,_0x184186(0x167),null),(this[_0x184186(0x131)]=_0x35c321,this[_0x184186(0x11c)]=_0x45fc7e,this[_0x184186(0x1bb)]=_0x13084,this[_0x184186(0x2f8)]=_0x40fea1,this[_0x184186(0x272)]());}set[_0x53aa47(0xc9)](_0x1d514d){const _0x4685d9=_0x53aa47;_0x1d514d?(this[_0x4685d9(0x344)]&&this[_0x4685d9(0x344)][_0x4685d9(0x23a)](),this[_0x4685d9(0x1e0)]&&this[_0x4685d9(0x1e0)][_0x4685d9(0xd8)]()):(this['_anchorDot']&&this[_0x4685d9(0x344)]['show'](),this[_0x4685d9(0x1e0)]&&this[_0x4685d9(0x1e0)][_0x4685d9(0x23a)]());}[_0x53aa47(0x318)](){const _0xf90bca=_0x53aa47;for(const _0x4a6940 of this[_0xf90bca(0x329)])_0x4a6940['dispose']();this[_0xf90bca(0x1e0)]&&this[_0xf90bca(0x1e0)]['dispose'](),this['_anchorDot']&&this[_0xf90bca(0x344)]['dispose'](),this['_anchor']&&this[_0xf90bca(0xff)][_0xf90bca(0x318)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x53aa47(0x272)](){const _0x3c9329=_0x53aa47;var _0x1dc3d4;const {_docSkeleton:_0x41ced3,_document:_0x48c8cf}=this,{color:_0xb5379c,name:_0x2d608a,ranges:_0x8717ee}=this[_0x3c9329(0x131)],_0x2c6232=_0x48c8cf[_0x3c9329(0x1dd)](),{docsLeft:_0x39a31f,docsTop:_0x518a47}=_0x2c6232,_0x596651=new _0x3487a2[(_0x3c9329(0x2ce))](_0x2c6232,_0x41ced3);for(const {startOffset:_0x4aacbc,endOffset:_0x26c6c4,rangeType:_0x3b649b,segmentId:_0x8faa21,segmentPage:_0x3646da,collapsed:_0x5af73b,isActive:_0x50d2ae}of _0x8717ee){const _0x2a8177=_0x41ced3[_0x3c9329(0x2a5)](_0x4aacbc,!0x0,_0x8faa21,_0x3646da);let _0x121ad4=_0x41ced3['findNodePositionByCharIndex'](_0x26c6c4,!0x0,_0x8faa21,_0x3646da);if(_0x121ad4==null&&(_0x121ad4=_0x41ced3[_0x3c9329(0x2a5)](_0x26c6c4-0x1,!0x1,_0x8faa21,_0x3646da)),_0x50d2ae){const {contentBoxPointGroup:_0x15ca20}=_0x596651[_0x3c9329(0x2fd)](_0x121ad4,_0x121ad4);if(_0x15ca20[_0x3c9329(0x28e)]===0x0)continue;this[_0x3c9329(0x2ae)](_0xb5379c,_0x15ca20,_0x39a31f,_0x518a47,_0x2d608a),this[_0x3c9329(0x167)]=this[_0x3c9329(0x14f)]();}if(_0x2a8177&&_0x121ad4){if(_0x3b649b===_0x34f2b0[_0x3c9329(0x13c)]['RECT']){const _0x2e1246=new _0x3487a2[(_0x3c9329(0x2f0))](_0x2c6232,_0x41ced3),{pointGroup:_0xe5fda1}=(_0x1dc3d4=_0x2e1246[_0x3c9329(0x2fd)](_0x2a8177,_0x121ad4))!=null?_0x1dc3d4:{};if(_0xe5fda1==null||_0xe5fda1[_0x3c9329(0x28e)]===0x0)continue;this[_0x3c9329(0x234)](_0xb5379c,_0xe5fda1,_0x39a31f,_0x518a47);}else{if(!_0x5af73b){const {borderBoxPointGroup:_0x2561bf}=_0x596651[_0x3c9329(0x2fd)](_0x2a8177,_0x121ad4);if(_0x2561bf[_0x3c9329(0x28e)]===0x0)continue;this[_0x3c9329(0x1d8)](_0xb5379c,_0x2561bf,_0x39a31f,_0x518a47);}}}}}[_0x53aa47(0x2ae)](_0x118d9b,_0x14fd3e,_0x1ad219,_0x2d185b,_0x35070b){const _0x1e1ef9=_0x53aa47,_0x2db1a5=this[_0x1e1ef9(0x32b)](_0x14fd3e),{left:_0x5785e2,top:_0xd73539,height:_0x19beb1}=_0x2db1a5,_0x2afd6e=this[_0x1e1ef9(0x168)](),_0x401403=_0x37f73d/_0x2afd6e,_0x326d8c=new _0x1678e0[(_0x1e1ef9(0x124))](_0x5daf06+_0x34f2b0[_0x1e1ef9(0x205)][_0x1e1ef9(0x31c)](_0x4916be),{'left':_0x5785e2+_0x1ad219-_0x401403,'top':_0xd73539+_0x2d185b,'height':_0x19beb1,'width':_0x3e1473,'fill':_0x118d9b||_0x1678e0['getColor'](_0x34f2b0[_0x1e1ef9(0x19d)][_0x1e1ef9(0x21c)],0x0),'strokeWidth':_0x401403,'stroke':_0x441be0,'evented':!0x0});this[_0x1e1ef9(0xff)]=_0x326d8c,this[_0x1e1ef9(0x11c)]['addObject'](_0x326d8c,_0x3487a2['TEXT_RANGE_LAYER_INDEX']);const _0x2b8233=new _0x1678e0[(_0x1e1ef9(0x124))](_0x5daf06+_0x34f2b0[_0x1e1ef9(0x205)][_0x1e1ef9(0x31c)](_0x4916be),{'left':_0x5785e2+_0x1ad219-_0x401403,'top':_0xd73539+_0x2d185b-_0x2b0482/0x2,'height':_0x2b0482,'width':_0x2b0482,'fill':_0x118d9b||_0x1678e0[_0x1e1ef9(0x1db)](_0x34f2b0[_0x1e1ef9(0x19d)][_0x1e1ef9(0x21c)],0x0),'strokeWidth':0x0,'stroke':_0x118d9b||_0x1678e0[_0x1e1ef9(0x1db)](_0x34f2b0[_0x1e1ef9(0x19d)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2b8233,this['_scene'][_0x1e1ef9(0x2dc)](_0x2b8233,_0x3487a2['TEXT_RANGE_LAYER_INDEX']);const _0x42d952=new _0x22e84c(_0x5daf06+_0x34f2b0['Tools']['generateRandomId'](_0x4916be),{'left':_0x5785e2+_0x1ad219-_0x401403,'top':_0xd73539+_0x2d185b-_0x3f30f4,'text':_0x35070b,'color':_0x118d9b});this[_0x1e1ef9(0x1e0)]=_0x42d952,this['_scene'][_0x1e1ef9(0x2dc)](_0x42d952,_0x3487a2[_0x1e1ef9(0xba)]),this[_0x1e1ef9(0xc9)]=!0x1;}[_0x53aa47(0x14f)](){const _0xa02b17=_0x53aa47,_0x510250=this[_0xa02b17(0xff)]['onPointerEnter$'][_0xa02b17(0x304)](()=>{const _0x533389=_0xa02b17;this[_0x533389(0xc9)]=!0x0;}),_0x5ef198=this[_0xa02b17(0xff)][_0xa02b17(0x181)][_0xa02b17(0x304)](()=>{const _0x217d29=_0xa02b17;this[_0x217d29(0xc7)]&&clearTimeout(this[_0x217d29(0xc7)]),this[_0x217d29(0xc7)]=setTimeout(()=>{const _0x18681e=_0x217d29;this[_0x18681e(0xc9)]=!0x1;},0x7d0);});return()=>{const _0x43181e=_0xa02b17;_0x510250[_0x43181e(0x1f1)](),_0x5ef198[_0x43181e(0x1f1)]();};}[_0x53aa47(0x1d8)](_0x48bd02,_0x504303,_0x3816f7,_0x42f694){const _0x425bf7=_0x53aa47,_0x41efdb=new _0x34f2b0[(_0x425bf7(0x25a))](_0x48bd02)['setAlpha'](0.2)['toRgbString'](),_0x4d02d8=new _0x1678e0[(_0x425bf7(0x2f5))](_0x2f729a+_0x34f2b0[_0x425bf7(0x205)]['generateRandomId'](_0x4916be),{'pointsGroup':_0x504303,'fill':_0x41efdb||_0x1678e0[_0x425bf7(0x1db)](_0x34f2b0[_0x425bf7(0x19d)][_0x425bf7(0x21c)],0.2),'left':_0x3816f7,'top':_0x42f694,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x425bf7(0x218)](_0x4d02d8),this[_0x425bf7(0x11c)]['addObject'](_0x4d02d8,_0x3487a2['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x35a854,_0x1960fb,_0x52f638,_0x1f9887){const _0x256bee=_0x53aa47,_0x2f8776=new _0x34f2b0[(_0x256bee(0x25a))](_0x35a854)[_0x256bee(0x35b)](0.2)[_0x256bee(0x116)](),_0x276a93=new _0x1678e0['RegularPolygon'](_0x3a71fb+_0x34f2b0[_0x256bee(0x205)][_0x256bee(0x31c)](_0x4916be),{'pointsGroup':_0x1960fb,'fill':_0x2f8776||_0x1678e0[_0x256bee(0x1db)](_0x34f2b0[_0x256bee(0x19d)]['black'],0.2),'left':_0x52f638,'top':_0x1f9887,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x256bee(0x329)][_0x256bee(0x218)](_0x276a93),this[_0x256bee(0x11c)]['addObject'](_0x276a93,_0x3487a2['TEXT_RANGE_LAYER_INDEX']);}[_0x53aa47(0x32b)](_0x5693eb){const _0x1cdc4f=_0x5693eb[0x0],_0xd72890=_0x1cdc4f[0x0],_0x1cde31=_0x1cdc4f[0x2],{x:_0x5611a7,y:_0x230758}=_0xd72890,{x:_0x4ad4e8,y:_0x4c6d6d}=_0x1cde31;return{'left':_0x5611a7,'top':_0x230758,'width':_0x4ad4e8-_0x5611a7,'height':_0x4c6d6d-_0x230758};}['_getScale'](){const _0x3fa9cb=_0x53aa47,{scaleX:_0x436bf8,scaleY:_0x39c31b}=this[_0x3fa9cb(0x11c)]['getAncestorScale']();return Math[_0x3fa9cb(0x1d7)](_0x436bf8,_0x39c31b);}}var _0x1f6cf8=Object['getOwnPropertyDescriptor'],_0x5b255e=(_0x2ed7a3,_0x28afe9,_0x122b8b,_0x262f53)=>{const _0x3aef97=_0x53aa47;for(var _0x3fa1c9=_0x262f53>0x1?void 0x0:_0x262f53?_0x1f6cf8(_0x28afe9,_0x122b8b):_0x28afe9,_0x576bd4=_0x2ed7a3[_0x3aef97(0x28e)]-0x1,_0x264ced;_0x576bd4>=0x0;_0x576bd4--)(_0x264ced=_0x2ed7a3[_0x576bd4])&&(_0x3fa1c9=_0x264ced(_0x3fa1c9)||_0x3fa1c9);return _0x3fa1c9;},_0x31f632=(_0x5a3d52,_0x4ed351)=>(_0x355097,_0x4206e)=>_0x4ed351(_0x355097,_0x4206e,_0x5a3d52);let _0x24ea13=class extends _0x34f2b0['RxDisposable']{constructor(_0x2b2f19,_0x402ef3,_0x57db0c,_0x347ead,_0x14b815){const _0x25656f=_0x53aa47;super(),_0x5e46bb(this,'_cursorShapes',[]),_0x5e46bb(this,'_cursors',[]),(this['_context']=_0x2b2f19,this[_0x25656f(0x1ed)]=_0x402ef3,this[_0x25656f(0x2e4)]=_0x57db0c,this['_commandService']=_0x347ead,this[_0x25656f(0x2e1)]=_0x14b815,this[_0x25656f(0x17f)]());}[_0x53aa47(0x17f)](){const _0x234576=_0x53aa47,_0x1f41de=this[_0x234576(0x178)][_0x234576(0x1c6)],_0x232c87=this[_0x234576(0x1ed)];this[_0x234576(0x278)](_0x53d307[_0x234576(0x1ab)]([this['_collabCursorController'][_0x234576(0x1b3)](_0x1f41de),this[_0x234576(0x2e1)][_0x234576(0x30e)]])[_0x234576(0x147)](_0x4357b4[_0x234576(0x2ea)](([_0x5883b7,_0x312432])=>({'skeleton':_0x232c87[_0x234576(0x24a)](),'cursors':[..._0x5883b7[_0x234576(0x23e)]()][_0x234576(0x291)](_0x1d68b9=>({..._0x1d68b9,'color':this[_0x234576(0x2e1)]['getColorFromTheme'](_0x1d68b9[_0x234576(0x1e3)])}))})))['subscribe'](_0xd1a8ac=>{const _0x3226db=_0x234576;if(this[_0x3226db(0x1bc)](),_0xd1a8ac){const {skeleton:_0x3b9d5b,cursors:_0x1dc49f}=_0xd1a8ac;this[_0x3226db(0x330)](_0x3b9d5b,_0x1dc49f);}})),this[_0x234576(0x314)](),this[_0x234576(0x302)]();}[_0x53aa47(0x330)](_0x399815,_0x51df7f){const _0x40b9a0=_0x53aa47,{scene:_0x2f45d1,mainComponent:_0x162b2f}=this[_0x40b9a0(0x178)],_0x577d71=_0x51df7f[_0x40b9a0(0x2ea)](_0xc8db9d=>new _0x35e746(_0xc8db9d,_0x2f45d1,_0x399815,_0x162b2f));this[_0x40b9a0(0x24b)]=_0x577d71,this['_cursors']=_0x51df7f;}[_0x53aa47(0x150)](){const _0x2b52cd=_0x53aa47;this[_0x2b52cd(0x1bc)]();const {scene:_0x404e5a,mainComponent:_0x558c9a}=this['_context'],_0x378295=this['_docSkeletonManagerService']['getSkeleton'](),_0xda065d=this[_0x2b52cd(0x265)][_0x2b52cd(0x2ea)](_0x13ad82=>new _0x35e746(_0x13ad82,_0x404e5a,_0x378295,_0x558c9a));this[_0x2b52cd(0x24b)]=_0xda065d;}[_0x53aa47(0x1bc)](){const _0x18f13e=_0x53aa47;this[_0x18f13e(0x24b)][_0x18f13e(0xe9)](_0x4b97ce=>_0x4b97ce[_0x18f13e(0x318)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x43eceb=_0x53aa47,_0x420f52=[_0x3487a2[_0x43eceb(0x34c)]['id']];this[_0x43eceb(0x278)](this[_0x43eceb(0x1c3)][_0x43eceb(0x1a7)](_0xea96af=>{const _0x121f49=_0x43eceb;_0x420f52[_0x121f49(0x224)](_0xea96af['id'])&&_0xea96af[_0x121f49(0xfe)][_0x121f49(0x1c6)]===this[_0x121f49(0x178)]['unitId']&&this[_0x121f49(0x150)]();}));}[_0x53aa47(0x314)](){const _0x200507=_0x53aa47;this[_0x200507(0x278)](_0x34f2b0[_0x200507(0x163)](this[_0x200507(0x178)][_0x200507(0xf1)][_0x200507(0x29c)])[_0x200507(0x147)](_0x4357b4[_0x200507(0xf3)](_0x1a1dd2=>_0x1a1dd2[_0x200507(0x1b2)]===_0x1678e0['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x200507(0x2f7)]),_0x4357b4[_0x200507(0x254)](0x10))[_0x200507(0x18d)](()=>{this['_refreshCollabCursors']();}));}};_0x24ea13=_0x5b255e([_0x31f632(0x1,_0x34f2b0['Inject'](_0x721df3[_0x53aa47(0x1e7)])),_0x31f632(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x53c773)),_0x31f632(0x3,_0x34f2b0['ICommandService']),_0x31f632(0x4,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x29b)]))],_0x24ea13);const _0x59041d=0x1,_0x13f17c=1.5;class _0x1f6b20 extends _0x1678e0['Shape']{constructor(_0x3d9e9e,_0x376f89){const _0x2fc61a=_0x53aa47;super(_0x3d9e9e,_0x376f89),_0x5e46bb(this,_0x2fc61a(0xc3)),_0x5e46bb(this,_0x2fc61a(0x276),!0x1),_0x5e46bb(this,_0x2fc61a(0x202)),_0x5e46bb(this,_0x2fc61a(0x31a),''),_0x5e46bb(this,_0x2fc61a(0x24c),_0x2fc61a(0x260)),_0x5e46bb(this,'_backgroundColor'),(_0x376f89&&this[_0x2fc61a(0x100)](_0x376f89),this[_0x2fc61a(0x1c0)][_0x2fc61a(0x304)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2fc61a(0x181)][_0x2fc61a(0x304)](()=>this[_0x2fc61a(0x100)]({'hovered':!0x1})));}[_0x53aa47(0x100)](_0x68bf50){const _0xbf6e65=_0x53aa47;var _0x571158,_0x474585,_0xfb7e89,_0x37ecef,_0x2e8c84,_0x224af5;this[_0xbf6e65(0xc3)]=(_0x571158=_0x68bf50[_0xbf6e65(0x1e3)])!=null?_0x571158:this['_color'],this['_hovered']=(_0x474585=_0x68bf50[_0xbf6e65(0x34d)])!=null?_0x474585:this['_hovered'],this[_0xbf6e65(0x202)]=(_0xfb7e89=_0x68bf50[_0xbf6e65(0x284)])!=null?_0xfb7e89:this[_0xbf6e65(0x202)],this[_0xbf6e65(0x31a)]=(_0x37ecef=_0x68bf50[_0xbf6e65(0x2b5)])!=null?_0x37ecef:this[_0xbf6e65(0x31a)],this[_0xbf6e65(0x24c)]=(_0x2e8c84=_0x68bf50['labelPosition'])!=null?_0x2e8c84:this[_0xbf6e65(0x24c)],this[_0xbf6e65(0x1d6)]=(_0x224af5=_0x68bf50[_0xbf6e65(0x327)])!=null?_0x224af5:this['_backgroundColor'],this[_0xbf6e65(0x19f)]({'width':_0x68bf50[_0xbf6e65(0x2ec)],'height':_0x68bf50[_0xbf6e65(0x2fe)]});}[_0x53aa47(0x170)](_0x2784ff){const _0x2d796a=_0x53aa47,{row:_0x78604b,column:_0x2be91c}=_0x2784ff;if(_0x78604b>=this[_0x2d796a(0x202)][_0x2d796a(0x130)]&&_0x78604b<=this[_0x2d796a(0x202)][_0x2d796a(0x117)]&&_0x2be91c>=this[_0x2d796a(0x202)][_0x2d796a(0x307)]&&_0x2be91c<=this[_0x2d796a(0x202)][_0x2d796a(0x332)]){this[_0x2d796a(0x100)]({'hovered':!0x0});return;}this[_0x2d796a(0x100)]({'hovered':!0x1});}[_0x53aa47(0x194)](_0x2b2e34){return!0x1;}[_0x53aa47(0x247)](_0x3a1f28){const _0x430ab0=_0x53aa47;_0x1678e0[_0x430ab0(0x124)][_0x430ab0(0x255)](_0x3a1f28,{'width':this[_0x430ab0(0x2ec)],'height':this[_0x430ab0(0x2fe)],'strokeWidth':_0x13f17c,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x430ab0(0x276)]&&(_0x3a1f28['save'](),_0x3a1f28[_0x430ab0(0x139)](0x1,0x0,0x0,0x1,this[_0x430ab0(0x2ec)],this['_labelPosition']===_0x430ab0(0x358)?0x0:-0x14),_0x22e84c['drawWith'](_0x3a1f28,{'text':this[_0x430ab0(0x31a)],'color':this[_0x430ab0(0xc3)]}),_0x3a1f28['restore']());}}var _0x78cf7d=Object[_0x53aa47(0x121)],_0x573d70=(_0x883fcc,_0x4416e0,_0x4bea2e,_0x298629)=>{const _0x13f507=_0x53aa47;for(var _0x364aa9=_0x298629>0x1?void 0x0:_0x298629?_0x78cf7d(_0x4416e0,_0x4bea2e):_0x4416e0,_0xadbb41=_0x883fcc[_0x13f507(0x28e)]-0x1,_0xf8d8db;_0xadbb41>=0x0;_0xadbb41--)(_0xf8d8db=_0x883fcc[_0xadbb41])&&(_0x364aa9=_0xf8d8db(_0x364aa9)||_0x364aa9);return _0x364aa9;},_0x10a9d2=(_0x526b2c,_0x4a5213)=>(_0x26c07e,_0x4c019c)=>_0x4a5213(_0x26c07e,_0x4c019c,_0x526b2c);const _0x5cb402=0x1389;let _0x352c16=class extends _0x34f2b0['RxDisposable']{constructor(_0x3012af,_0x3c9861,_0x1a3a3d,_0x3afd74){const _0x3a226e=_0x53aa47;super(),_0x5e46bb(this,_0x3a226e(0x265),new Set()),_0x5e46bb(this,_0x3a226e(0x209),null),(this[_0x3a226e(0x178)]=_0x3012af,this[_0x3a226e(0x119)]=_0x3c9861,this[_0x3a226e(0x2e4)]=_0x1a3a3d,this[_0x3a226e(0x2e1)]=_0x3afd74,this[_0x3a226e(0x17f)]());}[_0x53aa47(0x17f)](){const _0x9f7b27=_0x53aa47;this[_0x9f7b27(0x119)][_0x9f7b27(0x262)][_0x9f7b27(0x147)](_0x4357b4[_0x9f7b27(0x21b)](this[_0x9f7b27(0x2a0)]),_0x4357b4[_0x9f7b27(0x173)](_0x423880=>{const _0x4e9698=_0x9f7b27;if(_0x423880){const _0x590228=_0x423880[_0x4e9698(0x17e)];return _0x53d307[_0x4e9698(0x1ab)](this['_collabCursorController'][_0x4e9698(0x1b3)](this[_0x4e9698(0x178)][_0x4e9698(0x1c6)]),this[_0x4e9698(0x2e1)]['currentTheme$'])['pipe'](_0x4357b4[_0x4e9698(0x2ea)](([_0x115bcd,_0x373137])=>{const _0x58c03a=_0x4e9698,_0x26c026=new Map();return _0x115bcd[_0x58c03a(0xe9)]((_0x381ed8,_0x44bbbb)=>{const _0x15912f=_0x58c03a;if(_0x381ed8['sheetID']===_0x590228){const _0x489547={..._0x381ed8};_0x489547[_0x15912f(0x1e3)]=this['_themeService'][_0x15912f(0x2c0)](_0x381ed8['color']),_0x26c026['set'](_0x44bbbb,_0x489547);}}),{'skeleton':_0x423880,'cursors':_0x26c026};}));}return _0x53d307['of']({'skeleton':null,'cursors':new Map()});}))[_0x9f7b27(0x18d)](({skeleton:_0x3c30e2,cursors:_0x1441d5})=>{const _0x2c68aa=_0x9f7b27;this[_0x2c68aa(0x1bc)](),_0x3c30e2&&this[_0x2c68aa(0x330)](_0x3c30e2,_0x1441d5);}),this['_sheetSkeletonManagerService'][_0x9f7b27(0x262)][_0x9f7b27(0x18d)](_0x260e57=>{const _0x11301b=_0x9f7b27;if(_0x260e57==null)return;const {skeleton:_0x502e21}=_0x260e57,{scene:_0x55fca2}=this[_0x11301b(0x178)];_0x55fca2[_0x11301b(0x252)][_0x11301b(0x304)](_0x34f2b0[_0x11301b(0x2d2)](_0x2128ec=>{const _0x4a65cd=_0x11301b;var _0x4e3c96,_0x10fd34;const {offsetX:_0x41fc12,offsetY:_0x36dd2f}=_0x2128ec,{x:_0x5395e8,y:_0x370d9e}=_0x55fca2[_0x4a65cd(0x23b)](_0x1678e0[_0x4a65cd(0x1d5)][_0x4a65cd(0xe8)]([_0x41fc12,_0x36dd2f])),{scaleX:_0x4574bd,scaleY:_0x3323b4}=_0x55fca2[_0x4a65cd(0x35c)](),_0x216704=_0x55fca2[_0x4a65cd(0x1e1)](_0x1678e0['SHEET_VIEWPORT_KEY'][_0x4a65cd(0x26f)]),_0x28d389=_0x55fca2[_0x4a65cd(0x11d)](_0x1678e0[_0x4a65cd(0x1d5)][_0x4a65cd(0xe8)]([_0x5395e8,_0x370d9e]),_0x216704),_0x118a73=_0x502e21[_0x4a65cd(0xf5)](_0x41fc12,_0x36dd2f,_0x4574bd,_0x3323b4,_0x28d389);((_0x4e3c96=this[_0x4a65cd(0x209)])==null?void 0x0:_0x4e3c96[_0x4a65cd(0x15b)])===_0x118a73[_0x4a65cd(0x15b)]&&((_0x10fd34=this[_0x4a65cd(0x209)])==null?void 0x0:_0x10fd34[_0x4a65cd(0x2ba)])===_0x118a73[_0x4a65cd(0x2ba)]||this['_cursors'][_0x4a65cd(0xe9)](_0x4931d6=>{const _0x1a7f12=_0x4a65cd;_0x4931d6[_0x1a7f12(0x170)](_0x118a73);});},0x64));});}[_0x53aa47(0x330)](_0x172447,_0x13db35){const _0xb0cf20=_0x53aa47;var _0x2b8333;const _0x5b99a1=(_0x2b8333=this[_0xb0cf20(0x119)][_0xb0cf20(0x17b)]())==null?void 0x0:_0x2b8333[_0xb0cf20(0x1df)];if(!_0x5b99a1)return;const _0x2b4e1e=this[_0xb0cf20(0x357)]();if(!_0x2b4e1e)return;this[_0xb0cf20(0x265)][_0xb0cf20(0xe9)](_0x5d97f2=>{const _0xc7fbb5=_0xb0cf20;_0x5d97f2[_0xc7fbb5(0x20b)]();});const {scene:_0x4cb1a3}=_0x2b4e1e,_0x211a60=_0x1ae860(Array[_0xb0cf20(0x2cd)](_0x13db35[_0xb0cf20(0x23e)]()))[_0xb0cf20(0x2ea)](_0x222b35=>{const _0x27636a=_0xb0cf20,{color:_0x151213,range:_0x1172fe,name:_0x489e69,selection:_0x31c942,sheetID:_0x232b3f}=_0x222b35,{startColumn:_0x4162e9,startRow:_0x271c26,endColumn:_0x5deaec,endRow:_0xa6dcfb}=_0x1172fe,_0x192335=_0x5d707f[_0x27636a(0x132)](_0x271c26,_0x4162e9,_0x4cb1a3,_0x5b99a1),_0x3c192e=_0x5d707f[_0x27636a(0x132)](_0xa6dcfb,_0x5deaec,_0x4cb1a3,_0x5b99a1),{columnHeaderHeightAndMarginTop:_0x5c203b}=_0x5b99a1,{startX:_0x5179a1,startY:_0x108f29}=_0x192335,{endX:_0x6dafab,endY:_0x58c85c}=_0x3c192e,_0x4a7b4d=_0x6dafab-_0x5179a1,_0x4cac59=_0x58c85c-_0x108f29,_0x4a555b={'labelPosition':_0x108f29-_0x5c203b>=_0x3f30f4?_0x27636a(0x260):_0x27636a(0x358),'sheetID':_0x232b3f,'range':_0x1172fe,'color':_0x151213,'name':_0x489e69,'selection':_0x31c942,'left':_0x5179a1,'top':_0x108f29,'width':_0x4a7b4d,'height':_0x4cac59,'evented':!0x1,'zIndex':_0x5cb402};return new _0x1f6b20(_0x489e69,_0x4a555b);});_0x4cb1a3['addObjects'](_0x211a60,_0x59041d),this[_0xb0cf20(0x265)]=new Set(_0x211a60);}[_0x53aa47(0x1bc)](){const _0x77c0ec=_0x53aa47;var _0x141a88;(_0x141a88=this[_0x77c0ec(0x265)])==null||_0x141a88[_0x77c0ec(0xe9)](_0x5966df=>_0x5966df[_0x77c0ec(0x318)]());}['_getSheetObject'](){const _0x618182=_0x53aa47;return _0x5d707f['getSheetObject'](this[_0x618182(0x178)][_0x618182(0x294)],this[_0x618182(0x178)]);}};_0x352c16=_0x573d70([_0x10a9d2(0x1,_0x34f2b0[_0x53aa47(0x2c6)](_0x5d707f[_0x53aa47(0x1bf)])),_0x10a9d2(0x2,_0x34f2b0['Inject'](_0x53c773)),_0x10a9d2(0x3,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x29b)]))],_0x352c16);function _0x1ae860(_0x208eb5){const _0x5e0354=_0x53aa47,_0x2c1522=new Map();return _0x208eb5[_0x5e0354(0xe9)](_0x6fbfdf=>{const _0x10c2c9=_0x5e0354;if(_0x2c1522[_0x10c2c9(0x1be)](_0x6fbfdf[_0x10c2c9(0x1fe)])){const _0x316579=_0x2c1522['get'](_0x6fbfdf[_0x10c2c9(0x1fe)]);_0x316579[_0x10c2c9(0x2b5)]+=',\x20'+_0x6fbfdf[_0x10c2c9(0x2b5)];}else _0x2c1522[_0x10c2c9(0x1fa)](_0x6fbfdf[_0x10c2c9(0x1fe)],_0x6fbfdf);}),Array[_0x5e0354(0x2cd)](_0x2c1522[_0x5e0354(0x23e)]());}var _0xa71eb7=function(){const _0x3c8698=_0x53aa47;return _0xa71eb7=Object['assign']||function(_0x428037){const _0x5abee0=_0x182a;for(var _0x299f3b,_0x48ab83=0x1,_0x25c40b=arguments[_0x5abee0(0x28e)];_0x48ab83<_0x25c40b;_0x48ab83++){_0x299f3b=arguments[_0x48ab83];for(var _0x353cfc in _0x299f3b)Object[_0x5abee0(0x2f2)][_0x5abee0(0x2b2)][_0x5abee0(0x1d4)](_0x299f3b,_0x353cfc)&&(_0x428037[_0x353cfc]=_0x299f3b[_0x353cfc]);}return _0x428037;},_0xa71eb7[_0x3c8698(0x258)](this,arguments);},_0x29b8b0=function(_0x3ceabc,_0x11a949){const _0x1f462f=_0x53aa47;var _0x50d668={};for(var _0x1043f in _0x3ceabc)Object['prototype']['hasOwnProperty'][_0x1f462f(0x1d4)](_0x3ceabc,_0x1043f)&&_0x11a949[_0x1f462f(0x299)](_0x1043f)<0x0&&(_0x50d668[_0x1043f]=_0x3ceabc[_0x1043f]);if(_0x3ceabc!=null&&typeof Object['getOwnPropertySymbols']==_0x1f462f(0x30f)){for(var _0x30bb0a=0x0,_0x1043f=Object[_0x1f462f(0x27f)](_0x3ceabc);_0x30bb0a<_0x1043f['length'];_0x30bb0a++)_0x11a949[_0x1f462f(0x299)](_0x1043f[_0x30bb0a])<0x0&&Object[_0x1f462f(0x2f2)][_0x1f462f(0x158)][_0x1f462f(0x1d4)](_0x3ceabc,_0x1043f[_0x30bb0a])&&(_0x50d668[_0x1043f[_0x30bb0a]]=_0x3ceabc[_0x1043f[_0x30bb0a]]);}return _0x50d668;},_0x1fab16=_0x46992f[_0x53aa47(0x165)](function(_0x27e667,_0x192da2){const _0x40c74b=_0x53aa47;var _0x25b893=_0x27e667[_0x40c74b(0x14c)],_0x10461a=_0x27e667['id'],_0x126507=_0x27e667['className'],_0x4ca1f9=_0x27e667['extend'],_0x251ed8=_0x29b8b0(_0x27e667,[_0x40c74b(0x14c),'id',_0x40c74b(0x14e),_0x40c74b(0x261)]),_0x238f7f=_0x40c74b(0x277)[_0x40c74b(0x1de)](_0x10461a,'\x20')[_0x40c74b(0x1de)](_0x126507||'')[_0x40c74b(0x322)](),_0x4db32d=_0x46992f[_0x40c74b(0x25d)]('_'[_0x40c74b(0x1de)](_0x300abb()));return _0x44f3c0(_0x25b893,''[_0x40c74b(0x1de)](_0x10461a),{'defIds':_0x25b893[_0x40c74b(0xcd)],'idSuffix':_0x4db32d['current']},_0xa71eb7({'ref':_0x192da2,'className':_0x238f7f},_0x251ed8),_0x4ca1f9);});function _0x44f3c0(_0x2d8f9f,_0x5ec97a,_0x551c7f,_0x1cda7c,_0x4af658){const _0x340455=_0x53aa47;return _0x46992f['createElement'](_0x2d8f9f['tag'],_0xa71eb7(_0xa71eb7({'key':_0x5ec97a},_0x147686(_0x2d8f9f,_0x551c7f,_0x4af658)),_0x1cda7c),(_0x124cf1(_0x2d8f9f,_0x551c7f)[_0x340455(0x212)]||[])['map'](function(_0x1143d6,_0x5c46d9){const _0x1cb5ff=_0x340455;return _0x44f3c0(_0x1143d6,''[_0x1cb5ff(0x1de)](_0x5ec97a,'-')['concat'](_0x2d8f9f[_0x1cb5ff(0x2f9)],'-')[_0x1cb5ff(0x1de)](_0x5c46d9),_0x551c7f,void 0x0,_0x4af658);}));}function _0x147686(_0x52769d,_0x3664eb,_0x25a44f){const _0x34816b=_0x53aa47;var _0x56ee1a=_0xa71eb7({},_0x52769d[_0x34816b(0x2af)]);_0x25a44f!=null&&_0x25a44f[_0x34816b(0x15f)]&&_0x56ee1a[_0x34816b(0xd9)]==='colorChannel1'&&(_0x56ee1a[_0x34816b(0xd9)]=_0x25a44f[_0x34816b(0x15f)]),_0x52769d[_0x34816b(0x2f9)]===_0x34816b(0x16c)&&_0x56ee1a['id']&&(_0x56ee1a['id']=_0x56ee1a['id']+_0x3664eb[_0x34816b(0x109)]),Object[_0x34816b(0x204)](_0x56ee1a)[_0x34816b(0xe9)](function(_0x4345eb){const _0x20c955=_0x34816b;var _0x69251b=_0x4345eb[0x0],_0x39a903=_0x4345eb[0x1];_0x69251b==='mask'&&typeof _0x39a903==_0x20c955(0x279)&&(_0x56ee1a[_0x69251b]=_0x39a903[_0x20c955(0x102)](/url\(#(.*)\)/,_0x20c955(0x353)[_0x20c955(0x1de)](_0x3664eb['idSuffix'],')')));});var _0x36addb=_0x3664eb[_0x34816b(0xcd)];return!_0x36addb||_0x36addb[_0x34816b(0x28e)]===0x0||(_0x52769d[_0x34816b(0x2f9)]===_0x34816b(0x257)&&_0x56ee1a[_0x34816b(0x29f)]&&(_0x56ee1a[_0x34816b(0x29f)]=_0x56ee1a[_0x34816b(0x29f)]+_0x3664eb['idSuffix']),Object[_0x34816b(0x204)](_0x56ee1a)[_0x34816b(0xe9)](function(_0x383e9a){const _0x39c338=_0x34816b;var _0x1309bb=_0x383e9a[0x0],_0x26b63d=_0x383e9a[0x1];typeof _0x26b63d==_0x39c338(0x279)&&(_0x56ee1a[_0x1309bb]=_0x26b63d[_0x39c338(0x102)](/url\(#(.*)\)/,_0x39c338(0x353)['concat'](_0x3664eb['idSuffix'],')')));})),_0x56ee1a;}function _0x124cf1(_0x5b04e0,_0x31f20e){const _0x246d67=_0x53aa47;var _0x3c4137,_0x5adcce=_0x31f20e[_0x246d67(0xcd)];return!_0x5adcce||_0x5adcce['length']===0x0?_0x5b04e0:_0x5b04e0[_0x246d67(0x2f9)]===_0x246d67(0x190)&&(!((_0x3c4137=_0x5b04e0[_0x246d67(0x212)])===null||_0x3c4137===void 0x0)&&_0x3c4137[_0x246d67(0x28e)])?_0xa71eb7(_0xa71eb7({},_0x5b04e0),{'children':_0x5b04e0[_0x246d67(0x212)][_0x246d67(0x2ea)](function(_0x54cf46){const _0x3a45d8=_0x246d67;return typeof _0x54cf46[_0x3a45d8(0x2af)]['id']==_0x3a45d8(0x279)&&_0x5adcce&&_0x5adcce[_0x3a45d8(0x224)](_0x54cf46[_0x3a45d8(0x2af)]['id'])?_0xa71eb7(_0xa71eb7({},_0x54cf46),{'attrs':_0xa71eb7(_0xa71eb7({},_0x54cf46[_0x3a45d8(0x2af)]),{'id':_0x54cf46['attrs']['id']+_0x31f20e[_0x3a45d8(0x109)]})}):_0x54cf46;})}):_0x5b04e0;}function _0x300abb(){const _0x2d8481=_0x53aa47;return Math['random']()['toString'](0x24)[_0x2d8481(0x154)](0x2,0x8);}_0x1fab16[_0x53aa47(0x166)]='UniverIcon';var _0x45a42b={'tag':_0x53aa47(0x1ec),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x53aa47(0xdb),'viewBox':_0x53aa47(0x143),'width':_0x53aa47(0x253),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x53aa47(0x28d)},'children':[{'tag':_0x53aa47(0xb7),'attrs':{'stroke':_0x53aa47(0x1aa),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x53aa47(0x190),'attrs':{},'children':[{'tag':_0x53aa47(0x12f),'attrs':{'id':_0x53aa47(0x1cd)},'children':[{'tag':_0x53aa47(0xb7),'attrs':{'fill':_0x53aa47(0x20a),'d':_0x53aa47(0xed)}}]}]}],'defIds':[_0x53aa47(0x1cd)]},_0x122834=_0x46992f[_0x53aa47(0x165)](function(_0x57c303,_0x23fa8a){const _0x390ab0=_0x53aa47;return _0x46992f['createElement'](_0x1fab16,Object[_0x390ab0(0x339)]({},_0x57c303,{'id':_0x390ab0(0x11e),'ref':_0x23fa8a,'icon':_0x45a42b}));});_0x122834[_0x53aa47(0x166)]=_0x53aa47(0x2ac);var _0x16aa8e={'tag':_0x53aa47(0x1ec),'attrs':{'xmlns':_0x53aa47(0xf8),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x53aa47(0x253),'height':_0x53aa47(0x253)},'children':[{'tag':'g','attrs':{'clipPath':_0x53aa47(0xe0)},'children':[{'tag':_0x53aa47(0xb7),'attrs':{'stroke':_0x53aa47(0x1aa),'d':_0x53aa47(0x24e),'strokeLinecap':_0x53aa47(0x248),'strokeLinejoin':_0x53aa47(0x248),'strokeWidth':1.2}}]},{'tag':_0x53aa47(0x190),'attrs':{},'children':[{'tag':_0x53aa47(0x12f),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x53aa47(0xb7),'attrs':{'fill':_0x53aa47(0x20a),'d':_0x53aa47(0xed),'transform':_0x53aa47(0x12d)}}]}]}],'defIds':[_0x53aa47(0x280)]},_0x2076e9=_0x46992f[_0x53aa47(0x165)](function(_0x5852fb,_0x27dd34){const _0x53d94b=_0x53aa47;return _0x46992f['createElement'](_0x1fab16,Object[_0x53d94b(0x339)]({},_0x5852fb,{'id':_0x53d94b(0xcf),'ref':_0x27dd34,'icon':_0x16aa8e}));});_0x2076e9['displayName']=_0x53aa47(0x33f);function _0x42446f(_0x3129d5){const _0x423355=_0x53aa47;switch(_0x3129d5){case _0x561334['CollaborationStatus'][_0x423355(0x251)]:return'collabStatus.offline';case _0x561334['CollaborationStatus'][_0x423355(0x175)]:return _0x423355(0x18f);case _0x561334[_0x423355(0x176)][_0x423355(0x33d)]:return'collabStatus.fetchMiss';case _0x561334[_0x423355(0x176)][_0x423355(0x11a)]:return _0x423355(0x2ee);case _0x561334['CollaborationStatus'][_0x423355(0x153)]:case _0x561334[_0x423355(0x176)][_0x423355(0x1e2)]:return _0x423355(0xd6);case _0x561334['CollaborationStatus']['SYNCED']:case _0x561334[_0x423355(0x176)]['PENDING']:return _0x423355(0x133);}}function _0x3946f6(_0x201b50){const _0x31eaec=_0x53aa47,{status$:_0x592550}=_0x201b50,_0x44b1cd=_0x2dc545[_0x31eaec(0x2d1)](_0x592550,_0x561334[_0x31eaec(0x176)][_0x31eaec(0x11a)]),_0x123651=_0x2dc545[_0x31eaec(0x160)](_0x34f2b0[_0x31eaec(0x1ef)]),_0x563d18=_0x2dc545[_0x31eaec(0x160)](_0x561334[_0x31eaec(0x349)]),_0x3d177d=_0x44b1cd!==_0x561334[_0x31eaec(0x176)][_0x31eaec(0x251)],_0xc258c0=_0x123651['t'](_0x42446f(_0x44b1cd)),_0x5a633b=_0x3d177d?_0x2cf07e[_0x31eaec(0x1c7)](_0x2076e9,{}):_0x2cf07e[_0x31eaec(0x1c7)](_0x122834,{}),_0x3170d2=_0x46992f[_0x31eaec(0xe3)](()=>{_0x3d177d||_0x563d18['reconnect']();},[_0x3d177d,_0x563d18]);function _0x4b8fdf(){const _0x5c37ac=_0x31eaec;return _0x2cf07e[_0x5c37ac(0x269)]('div',{'className':_0x5c37ac(0x15d),'onClick':_0x3170d2,'children':[_0x2cf07e['jsx'](_0x5c37ac(0x18c),{'className':_0x3b8c80[_0x5c37ac(0x2bc)](_0x5c37ac(0x123),{'univer-text-green-500':_0x3d177d,'univer-text-red-500':!_0x3d177d}),'children':_0x5a633b}),_0x2cf07e[_0x5c37ac(0x1c7)]('div',{'className':_0x5c37ac(0x18b),'children':_0xc258c0})]});}return _0x3d177d?_0x4b8fdf():_0x2cf07e[_0x31eaec(0x1c7)](_0x3b8c80['Tooltip'],{'title':_0x123651['t'](_0x31eaec(0xe5)),'children':_0x4b8fdf()});}var _0x1f3e8d=Object[_0x53aa47(0x121)],_0xa10bf3=(_0x19f67a,_0x2da3c5,_0x245c9d,_0x3145d0)=>{const _0x3a41fd=_0x53aa47;for(var _0x1a9243=_0x3145d0>0x1?void 0x0:_0x3145d0?_0x1f3e8d(_0x2da3c5,_0x245c9d):_0x2da3c5,_0x1b6f45=_0x19f67a[_0x3a41fd(0x28e)]-0x1,_0x501899;_0x1b6f45>=0x0;_0x1b6f45--)(_0x501899=_0x19f67a[_0x1b6f45])&&(_0x1a9243=_0x501899(_0x1a9243)||_0x1a9243);return _0x1a9243;},_0x32de0d=(_0x184b17,_0x13a061)=>(_0x5ac567,_0x431369)=>_0x13a061(_0x5ac567,_0x431369,_0x184b17);_0x2ec00e[_0x53aa47(0x233)]=class extends _0x34f2b0['Disposable']{constructor(_0x3b0ddd,_0x672553,_0x166261,_0x51a55f){const _0x43b460=_0x53aa47;super(),_0x5e46bb(this,_0x43b460(0x292),new _0x53d307['BehaviorSubject'](_0x561334['CollaborationStatus']['NOT_COLLAB'])),(this[_0x43b460(0xbf)]=_0x3b0ddd,this[_0x43b460(0x195)]=_0x672553,this[_0x43b460(0x2d0)]=_0x166261,this['_uiPartsService']=_0x51a55f,this[_0x43b460(0x34f)](),this[_0x43b460(0xfb)]());}['_initStatusListener'](){const _0x1982c3=_0x53aa47;this[_0x1982c3(0x278)](this['_univerInstanceService']['focused$']['pipe'](_0x53d307[_0x1982c3(0x173)](()=>{const _0x5950ce=_0x1982c3,_0x148c13=this[_0x5950ce(0xbf)][_0x5950ce(0x185)]();return _0x148c13?this['_collaborationController'][_0x5950ce(0x259)](_0x148c13[_0x5950ce(0x1fd)]()):_0x53d307['of'](null);}),_0x53d307[_0x1982c3(0x173)](_0x1a243b=>_0x1a243b?_0x1a243b[_0x1982c3(0xf6)]:_0x53d307['of'](_0x561334[_0x1982c3(0x176)]['NOT_COLLAB'])))[_0x1982c3(0x18d)](_0x38ce18=>{const _0x1a9088=_0x1982c3;this[_0x1a9088(0x292)][_0x1a9088(0xeb)](_0x38ce18);}));}['_initStatusComponent'](){const _0x4e5543=_0x53aa47;this[_0x4e5543(0x278)](this[_0x4e5543(0x25f)][_0x4e5543(0xc6)](_0x2dc545['BuiltInUIPart']['HEADER_MENU'],()=>_0x2dc545['connectInjector'](_0x39eca0({'status$':this['_status$'][_0x4e5543(0xd4)]()}),this[_0x4e5543(0x195)])));}},_0x2ec00e[_0x53aa47(0x233)]=_0xa10bf3([_0x32de0d(0x0,_0x34f2b0[_0x53aa47(0x10d)]),_0x32de0d(0x1,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x324)])),_0x32de0d(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x561334[_0x53aa47(0x226)])),_0x32de0d(0x3,_0x2dc545[_0x53aa47(0x274)])],_0x2ec00e[_0x53aa47(0x233)]);function _0x39eca0(_0x58ad17){const {status$:_0xbe8430}=_0x58ad17;return function(){const _0x3bf33d=_0x182a;return _0x2cf07e[_0x3bf33d(0x1c7)](_0x3946f6,{'status$':_0xbe8430});};}var _0x1f7aea=Object[_0x53aa47(0x121)],_0x24e90d=(_0x1c9d8,_0xddb8ae,_0x5d2a54,_0x108de2)=>{for(var _0x5ceeed=_0x108de2>0x1?void 0x0:_0x108de2?_0x1f7aea(_0xddb8ae,_0x5d2a54):_0xddb8ae,_0x1c9ab0=_0x1c9d8['length']-0x1,_0x2076f8;_0x1c9ab0>=0x0;_0x1c9ab0--)(_0x2076f8=_0x1c9d8[_0x1c9ab0])&&(_0x5ceeed=_0x2076f8(_0x5ceeed)||_0x5ceeed);return _0x5ceeed;},_0x5e3cb1=(_0x34a31c,_0x2f6289)=>(_0x37203b,_0xe046e7)=>_0x2f6289(_0x37203b,_0xe046e7,_0x34a31c);let _0x173965=class extends _0x34f2b0[_0x53aa47(0x12a)]{constructor(_0x1df91e,_0xb08c74,_0x33cbcd,_0x1d3069,_0x38ec58,_0x58a5f6){const _0x2dcbd5=_0x53aa47;super(),this[_0x2dcbd5(0x28a)]=_0x1df91e,this['_localCacheService']=_0xb08c74,this[_0x2dcbd5(0x356)]=_0x33cbcd,this[_0x2dcbd5(0x101)]=_0x1d3069,this['_notificationService']=_0x38ec58,this['_localeService']=_0x58a5f6,this[_0x2dcbd5(0x217)](),this['_initEvent']();}[_0x53aa47(0x217)](){const _0x26da1b=_0x53aa47;this[_0x26da1b(0x278)](this['_beforeCloseService'][_0x26da1b(0x112)](()=>{const _0x2c93aa=_0x26da1b;if(this['_localCacheService'][_0x2c93aa(0x1e8)][_0x2c93aa(0x1b7)])return this[_0x2c93aa(0x1cf)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x53aa47(0x2e2)](){const _0x278939=_0x53aa47;this[_0x278939(0x278)](this[_0x278939(0x356)]['event$'][_0x278939(0x18d)](_0x16ddd5=>{const _0x393299=_0x278939;_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0x29d)]&&this[_0x393299(0x101)]['show']({'type':_0x3b8c80[_0x393299(0x14b)][_0x393299(0x1a8)],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x33b))}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0x125)]&&this[_0x393299(0x101)][_0x393299(0xd8)]({'type':_0x3b8c80['MessageType']['Warning'],'content':this['_localeService']['t'](_0x393299(0x1b1))}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0xda)]&&this['_notificationService'][_0x393299(0xd8)]({'title':this[_0x393299(0x1cf)]['t']('permission.title'),'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x30d)),'type':'error','duration':0x0}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)]['CONFLICT']&&this[_0x393299(0x101)]['show']({'type':_0x3b8c80[_0x393299(0x14b)][_0x393299(0x31b)],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x1b1))+'('+_0x16ddd5[_0x393299(0x1a2)]+')'}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0xb4)]&&this['_messageService']['show']({'type':_0x3b8c80[_0x393299(0x14b)][_0x393299(0x1a8)],'content':this[_0x393299(0x1cf)]['t'](_0x16ddd5[_0x393299(0x1a2)]||'')}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0x2d9)]&&this[_0x393299(0x101)][_0x393299(0xd8)]({'type':_0x3b8c80[_0x393299(0x14b)][_0x393299(0x1a8)],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0xf0))}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)]['SOCKET_FAILED']&&this[_0x393299(0x101)]['show']({'type':_0x3b8c80[_0x393299(0x14b)]['Error'],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x2d3))}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0x1f9)]&&this[_0x393299(0x101)][_0x393299(0xd8)]({'type':_0x3b8c80['MessageType'][_0x393299(0x31b)],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x16d))});}));}};_0x173965=_0x24e90d([_0x5e3cb1(0x0,_0x2dc545['IBeforeCloseService']),_0x5e3cb1(0x1,_0x561334['ILocalCacheService']),_0x5e3cb1(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x561334[_0x53aa47(0x2ef)])),_0x5e3cb1(0x3,_0x2dc545['IMessageService']),_0x5e3cb1(0x4,_0x2dc545[_0x53aa47(0x17a)]),_0x5e3cb1(0x5,_0x34f2b0['Inject'](_0x34f2b0['LocaleService']))],_0x173965);const _0x5b0163=_0x53aa47(0x19a),_0x4b8552={},_0x58811b=_0x34f2b0['createIdentifier'](_0x53aa47(0x313));var _0xa765a=Object['getOwnPropertyDescriptor'],_0x2a770a=(_0x2a9935,_0x254f31,_0x4ec360,_0x4f45c9)=>{const _0x4d65bd=_0x53aa47;for(var _0x503ea6=_0x4f45c9>0x1?void 0x0:_0x4f45c9?_0xa765a(_0x254f31,_0x4ec360):_0x254f31,_0x31b7ff=_0x2a9935[_0x4d65bd(0x28e)]-0x1,_0x105fad;_0x31b7ff>=0x0;_0x31b7ff--)(_0x105fad=_0x2a9935[_0x31b7ff])&&(_0x503ea6=_0x105fad(_0x503ea6)||_0x503ea6);return _0x503ea6;},_0x5f0a9b=(_0x409d50,_0x5e8449)=>(_0x136fe2,_0x117fad)=>_0x5e8449(_0x136fe2,_0x117fad,_0x409d50);_0x2ec00e['CollaborationDataLoaderController']=class extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(_0x5aeb9f,_0x4c21b8,_0x6516b8,_0x2bec8e,_0xad4970){const _0x1b4231=_0x53aa47;super(),this[_0x1b4231(0x355)]=_0x5aeb9f,this['_logService']=_0x4c21b8,this[_0x1b4231(0x1c3)]=_0x6516b8,this[_0x1b4231(0x1e9)]=_0x2bec8e,_0xad4970?_0xad4970==null||_0xad4970[_0x1b4231(0xc4)]()['then'](()=>this['_init']()):(this['_logService'][_0x1b4231(0x208)](_0x1b4231(0x2b0),_0x1b4231(0x235)),this[_0x1b4231(0x17f)]());}async[_0x53aa47(0x17f)](){const _0x543c1a=_0x53aa47,_0x2feb15=this[_0x543c1a(0x355)][_0x543c1a(0x15a)]('unit'),_0x3588f4=this['_urlService'][_0x543c1a(0x15a)](_0x543c1a(0x1b2)),_0x5e9ced=this[_0x543c1a(0x355)][_0x543c1a(0x15a)](_0x543c1a(0x2db));if(!_0x2feb15||!_0x3588f4){this['_logService'][_0x543c1a(0x208)](_0x543c1a(0x2b0),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4d79c2=await this[_0x543c1a(0x1e9)][_0x543c1a(0x14a)](_0x2feb15,Number(_0x3588f4),_0x5e9ced);_0x4d79c2&&_0x4d79c2 instanceof _0x34f2b0[_0x543c1a(0x23c)]&&this[_0x543c1a(0xfa)](_0x4d79c2);}async[_0x53aa47(0xfa)](_0x1c45c4){const _0x3de547=_0x53aa47;await this['_updateSubUnitFromURLParams'](_0x1c45c4),_0x1c45c4[_0x3de547(0x1b6)]['pipe'](_0x53d307[_0x3de547(0x21b)](this[_0x3de547(0x2a0)]))[_0x3de547(0x18d)](_0x43a15a=>{_0x43a15a&&this['_updateURLWithCurrentState'](_0x43a15a);}),this[_0x3de547(0x355)][_0x3de547(0x151)][_0x3de547(0x147)](_0x53d307[_0x3de547(0x21b)](this[_0x3de547(0x2a0)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1c45c4));}[_0x53aa47(0x206)](_0x491674,_0x5575c7=!0x1){const _0x1ebb21=_0x53aa47,_0x13bd56=this['_urlService'][_0x1ebb21(0x15a)](_0x1ebb21(0x2db));_0x491674[_0x1ebb21(0x10e)]()!==_0x13bd56&&this[_0x1ebb21(0x355)][_0x1ebb21(0x16f)](_0x1ebb21(0x2db),_0x491674[_0x1ebb21(0x10e)](),_0x5575c7);}async[_0x53aa47(0x29e)](_0x1b0763){const _0x4e5aff=_0x53aa47;var _0x463ddf;const _0x4b5951=this['_urlService'][_0x4e5aff(0x15a)]('subunit');if(!_0x4b5951||!_0x1b0763['getSheetBySheetId'](_0x4b5951)){const _0x5d9557=_0x1b0763['getUnhiddenWorksheets']()[0x0],_0x2d1e02=_0x1b0763[_0x4e5aff(0x287)](_0x5d9557);if(!_0x2d1e02)return;this[_0x4e5aff(0x206)](_0x2d1e02,!0x0),await this[_0x4e5aff(0x1c3)][_0x4e5aff(0x25e)](_0x2a09ae[_0x4e5aff(0x2a1)]['id'],{'unitId':_0x1b0763[_0x4e5aff(0x1fd)](),'subUnitId':_0x5d9557});return;}((_0x463ddf=_0x1b0763[_0x4e5aff(0x1ee)]())==null?void 0x0:_0x463ddf[_0x4e5aff(0x10e)]())!==_0x4b5951&&await this[_0x4e5aff(0x1c3)][_0x4e5aff(0x25e)](_0x2a09ae['SetWorksheetActivateCommand']['id'],{'unitId':_0x1b0763['getUnitId'](),'subUnitId':_0x4b5951});}},_0x2ec00e[_0x53aa47(0x2be)]=_0x2a770a([_0x5f0a9b(0x0,_0x58811b),_0x5f0a9b(0x1,_0x34f2b0[_0x53aa47(0x219)]),_0x5f0a9b(0x2,_0x34f2b0['ICommandService']),_0x5f0a9b(0x3,_0x34f2b0[_0x53aa47(0x2c6)](_0x561334[_0x53aa47(0x317)])),_0x5f0a9b(0x4,_0x34f2b0[_0x53aa47(0x309)](_0x3b398b[_0x53aa47(0x144)]))],_0x2ec00e[_0x53aa47(0x2be)]);var _0x23b32e=Object[_0x53aa47(0x121)],_0x1dcdce=(_0x2aa2e8,_0x3a5a3e,_0x85cf97,_0x3b839d)=>{const _0x2632e8=_0x53aa47;for(var _0x53aa06=_0x3b839d>0x1?void 0x0:_0x3b839d?_0x23b32e(_0x3a5a3e,_0x85cf97):_0x3a5a3e,_0x41832a=_0x2aa2e8[_0x2632e8(0x28e)]-0x1,_0x5b20dd;_0x41832a>=0x0;_0x41832a--)(_0x5b20dd=_0x2aa2e8[_0x41832a])&&(_0x53aa06=_0x5b20dd(_0x53aa06)||_0x53aa06);return _0x53aa06;},_0x7e1f87=(_0x22f66f,_0x44f8d6)=>(_0x186040,_0x85cd49)=>_0x44f8d6(_0x186040,_0x85cd49,_0x22f66f);let _0x326881=class{constructor(_0xc64999,_0x25f0bb,_0x2c096e){const _0x4c38e7=_0x53aa47;this[_0x4c38e7(0x195)]=_0xc64999,this[_0x4c38e7(0x12b)]=_0x25f0bb,this[_0x4c38e7(0x1e4)]=_0x2c096e;}[_0x53aa47(0x11f)](_0x54b80b){const _0x13fb2c=_0x53aa47;this[_0x13fb2c(0x19e)](_0x54b80b),this[_0x13fb2c(0xef)](_0x54b80b);}['transformRemoteChangeset'](_0x1c0ace){const _0x53eb76=_0x53aa47,{unitID:_0x124964}=_0x1c0ace,_0x2aa00e=this[_0x53eb76(0x1e4)]['getRenderById'](_0x124964)[_0x53eb76(0x148)](_0x3487a2['DocIMEInputManagerService']),{redoCache:_0x2eba88}=_0x2aa00e['getUndoRedoMutationParamsCache']();if(_0x2eba88[_0x53eb76(0x28e)]===0x0)return _0x1c0ace;let _0x490356=_0x34f2b0[_0x53eb76(0x205)][_0x53eb76(0x303)](_0x1c0ace[_0x53eb76(0x2a4)][0x0]);for(let _0x5bb26a=0x0;_0x5bb26a<_0x2eba88[_0x53eb76(0x28e)];_0x5bb26a++){const _0x121acb={'id':_0x53eb76(0x179),'params':{..._0x2eba88[_0x5bb26a]}},_0x3c68d8=this[_0x53eb76(0x12b)][_0x53eb76(0xbb)](_0x490356,_0x121acb,!0x1);if(_0x2336f8[_0x53eb76(0x340)](_0x3c68d8))throw _0x3c68d8[_0x53eb76(0x1a3)];_0x490356=_0x3c68d8[_0x53eb76(0x1ce)];}return{..._0x34f2b0['Tools'][_0x53eb76(0x303)](_0x1c0ace),'mutations':[_0x490356]};}[_0x53aa47(0x19e)](_0x5a269e){const _0x3e90c2=_0x53aa47,{unitID:_0x2f2e44}=_0x5a269e,_0xaceed5=this[_0x3e90c2(0x1e4)][_0x3e90c2(0x227)](_0x2f2e44)[_0x3e90c2(0x148)](_0x3487a2[_0x3e90c2(0x228)]),{undoCache:_0x5d371d,redoCache:_0x599e20}=_0xaceed5['getUndoRedoMutationParamsCache']();if(_0x5d371d[_0x3e90c2(0x28e)]===0x0||_0x599e20[_0x3e90c2(0x28e)]===0x0)return;const _0x343b2a=[],_0x254417=[];let _0x5a6da9=_0x34f2b0[_0x3e90c2(0x205)][_0x3e90c2(0x303)](_0x5a269e[_0x3e90c2(0x2a4)][0x0]),_0x3a30d6=_0x34f2b0['Tools'][_0x3e90c2(0x303)](_0x5a269e[_0x3e90c2(0x2a4)][0x0]);for(let _0x13163f=_0x5d371d['length']-0x1;_0x13163f>=0x0;_0x13163f--){const _0xbd6b18={'id':_0x3e90c2(0x179),'params':{..._0x5d371d[_0x13163f]}},_0x5d5522={'id':_0x3e90c2(0x179),'params':{..._0x599e20[_0x13163f]}},_0x2a1202=this['_transformService'][_0x3e90c2(0xbb)](_0x5a6da9,_0xbd6b18,!0x1),_0x244c68=this['_transformService'][_0x3e90c2(0xbb)](_0x3a30d6,_0x5d5522,!0x1);if(_0x2336f8[_0x3e90c2(0x340)](_0x2a1202))throw _0x2a1202['error'];if(_0x2336f8[_0x3e90c2(0x340)](_0x244c68))throw _0x244c68[_0x3e90c2(0x1a3)];_0x343b2a[_0x3e90c2(0x320)](_0x2a1202[_0x3e90c2(0xb5)][_0x3e90c2(0xfe)]),_0x254417['unshift'](_0x244c68['m2Prime'][_0x3e90c2(0xfe)]),_0x5a6da9=_0x2a1202[_0x3e90c2(0x1ce)],_0x3a30d6=_0x244c68['m1Prime'];}_0xaceed5[_0x3e90c2(0x2a8)]({'undoCache':_0x343b2a,'redoCache':_0x254417});}[_0x53aa47(0xef)](_0xb33ecc){const _0x56a7f5=_0x53aa47,{unitID:_0x11f7af}=_0xb33ecc,_0xbd2aee=this[_0x56a7f5(0x1e4)][_0x56a7f5(0x227)](_0x11f7af)[_0x56a7f5(0x148)](_0x3487a2['DocIMEInputManagerService']),_0x2c465b=_0xbd2aee['getActiveRange']();if(_0x2c465b==null)return;const _0x43e77c=[{'id':_0x56a7f5(0x179),'params':{'unitId':_0xb33ecc[_0x56a7f5(0x241)],'actions':null,'textRanges':[_0x2c465b]}}],_0x22ede0=this[_0x56a7f5(0x12b)][_0x56a7f5(0x2e8)](_0xb33ecc,_0x43e77c);if(!_0x2336f8[_0x56a7f5(0x223)](_0x22ede0))throw _0x22ede0[_0x56a7f5(0x1a3)];const _0x40148c=_0x22ede0['m2Prime'][0x0][_0x56a7f5(0xfe)][_0x56a7f5(0x141)];Array[_0x56a7f5(0x2bb)](_0x40148c)&&_0x40148c[_0x56a7f5(0x28e)]&&_0xbd2aee[_0x56a7f5(0x120)](_0x40148c[0x0]);}};_0x326881=_0x1dcdce([_0x7e1f87(0x0,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x7e1f87(0x1,_0x2336f8[_0x53aa47(0x134)]),_0x7e1f87(0x2,_0x1678e0[_0x53aa47(0x1b4)])],_0x326881);var _0x34805f=Object[_0x53aa47(0x121)],_0x4dad6d=(_0x1eb428,_0x567720,_0x8b24c5,_0x3b260f)=>{const _0x4d8a2c=_0x53aa47;for(var _0x46963c=_0x3b260f>0x1?void 0x0:_0x3b260f?_0x34805f(_0x567720,_0x8b24c5):_0x567720,_0x48bfdd=_0x1eb428[_0x4d8a2c(0x28e)]-0x1,_0x3720c0;_0x48bfdd>=0x0;_0x48bfdd--)(_0x3720c0=_0x1eb428[_0x48bfdd])&&(_0x46963c=_0x3720c0(_0x46963c)||_0x46963c);return _0x46963c;},_0x5b522d=(_0x1e9cc0,_0x38deec)=>(_0x400254,_0x22e43d)=>_0x38deec(_0x400254,_0x22e43d,_0x1e9cc0);let _0x4addeb=class{constructor(_0x198370,_0x1466e4,_0x2e3f34){const _0x1134a9=_0x53aa47;this['_injector']=_0x198370,this[_0x1134a9(0x12b)]=_0x1466e4,this['_docStateChangeManagerService']=_0x2e3f34;}[_0x53aa47(0x2b6)](_0x1666c7){const _0x22c182=_0x53aa47;this[_0x22c182(0x20f)](_0x1666c7);}[_0x53aa47(0x22c)](_0x5d4d8c){const _0x4a7581=_0x53aa47,{unitID:_0x299f79}=_0x5d4d8c,{collaboration:_0x1d567c}=this['_docStateChangeManagerService']['getStateCache'](_0x299f79);if(_0x1d567c[_0x4a7581(0x28e)]===0x0)return _0x5d4d8c;let _0x5e0bd3=_0x34f2b0[_0x4a7581(0x205)][_0x4a7581(0x303)](_0x5d4d8c[_0x4a7581(0x2a4)][0x0]);for(let _0x5c36b4=0x0;_0x5c36b4<_0x1d567c[_0x4a7581(0x28e)];_0x5c36b4++){const _0x248d48={'id':_0x4a7581(0x179),'params':{'unitId':_0x1d567c[_0x5c36b4]['unitId'],..._0x1d567c[_0x5c36b4][_0x4a7581(0x2cb)]}},_0x50f82d=this['_transformService']['transformMutation'](_0x5e0bd3,_0x248d48,!0x1);if(_0x2336f8[_0x4a7581(0x340)](_0x50f82d))throw _0x50f82d[_0x4a7581(0x1a3)];_0x5e0bd3=_0x50f82d[_0x4a7581(0x1ce)];}return{..._0x34f2b0['Tools'][_0x4a7581(0x303)](_0x5d4d8c),'mutations':[_0x5e0bd3]};}[_0x53aa47(0x20f)](_0x4ede41){const _0xd24145=_0x53aa47,{unitID:_0x159182}=_0x4ede41,{history:_0x1aa7f1,collaboration:_0x1e8b9f}=this[_0xd24145(0xc5)]['getStateCache'](_0x159182);if(_0x1aa7f1['length']===0x0&&_0x1e8b9f[_0xd24145(0x28e)]===0x0)return;const _0x347564=[],_0x232079=[];let _0x2bea90=_0x34f2b0[_0xd24145(0x205)][_0xd24145(0x303)](_0x4ede41['mutations'][0x0]),_0x2c70f2=_0x34f2b0[_0xd24145(0x205)][_0xd24145(0x303)](_0x4ede41[_0xd24145(0x2a4)][0x0]);for(let _0x3b7cf3=_0x1aa7f1[_0xd24145(0x28e)]-0x1;_0x3b7cf3>=0x0;_0x3b7cf3--){const _0x8ef91a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1aa7f1[_0x3b7cf3]['unitId'],..._0x1aa7f1[_0x3b7cf3][_0xd24145(0x2ad)]}},_0xf7c35e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1aa7f1[_0x3b7cf3]['unitId'],..._0x1aa7f1[_0x3b7cf3]['redoState']}},_0x54db61=this['_transformService']['transformMutation'](_0x2bea90,_0x8ef91a,!0x1),_0x3d7fb6=this['_transformService'][_0xd24145(0xbb)](_0x2c70f2,_0xf7c35e,!0x1);if(_0x2336f8['isTransformMutationFailure'](_0x54db61))throw _0x54db61[_0xd24145(0x1a3)];if(_0x2336f8[_0xd24145(0x340)](_0x3d7fb6))throw _0x3d7fb6['error'];_0x347564['unshift']({..._0x1aa7f1[_0x3b7cf3],'undoState':_0x54db61['m2Prime'][_0xd24145(0xfe)],'redoState':_0x3d7fb6[_0xd24145(0xb5)][_0xd24145(0xfe)]}),_0x2bea90=_0x54db61['m1Prime'],_0x2c70f2=_0x3d7fb6['m1Prime'];}_0x2bea90=_0x34f2b0['Tools'][_0xd24145(0x303)](_0x4ede41['mutations'][0x0]),_0x2c70f2=_0x34f2b0[_0xd24145(0x205)][_0xd24145(0x303)](_0x4ede41[_0xd24145(0x2a4)][0x0]);for(let _0xb3f6f7=_0x1e8b9f[_0xd24145(0x28e)]-0x1;_0xb3f6f7>=0x0;_0xb3f6f7--){const _0x253715={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e8b9f[_0xb3f6f7][_0xd24145(0x1c6)],..._0x1e8b9f[_0xb3f6f7][_0xd24145(0x2ad)]}},_0x2796b6={'id':_0xd24145(0x179),'params':{'unitId':_0x1e8b9f[_0xb3f6f7][_0xd24145(0x1c6)],..._0x1e8b9f[_0xb3f6f7][_0xd24145(0x2cb)]}},_0x45572c=this[_0xd24145(0x12b)]['transformMutation'](_0x2bea90,_0x253715,!0x1),_0xbefd7a=this['_transformService'][_0xd24145(0xbb)](_0x2c70f2,_0x2796b6,!0x1);if(_0x2336f8['isTransformMutationFailure'](_0x45572c))throw _0x45572c[_0xd24145(0x1a3)];if(_0x2336f8[_0xd24145(0x340)](_0xbefd7a))throw _0xbefd7a[_0xd24145(0x1a3)];_0x232079[_0xd24145(0x320)]({..._0x1e8b9f[_0xb3f6f7],'undoState':_0x45572c[_0xd24145(0xb5)]['params'],'redoState':_0xbefd7a[_0xd24145(0xb5)]['params']}),_0x2bea90=_0x45572c['m1Prime'],_0x2c70f2=_0xbefd7a[_0xd24145(0x1ce)];}this[_0xd24145(0xc5)][_0xd24145(0x2c9)](_0x159182,{'history':_0x347564,'collaboration':_0x232079});}};_0x4addeb=_0x4dad6d([_0x5b522d(0x0,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x5b522d(0x1,_0x2336f8['ITransformService']),_0x5b522d(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x3487a2['DocStateChangeManagerService']))],_0x4addeb);var _0x4eee84=Object[_0x53aa47(0x121)],_0x1834fe=(_0x41d704,_0x55414c,_0x1dbbe4,_0x156e5a)=>{for(var _0x41df31=_0x156e5a>0x1?void 0x0:_0x156e5a?_0x4eee84(_0x55414c,_0x1dbbe4):_0x55414c,_0x5c2e58=_0x41d704['length']-0x1,_0x30d06d;_0x5c2e58>=0x0;_0x5c2e58--)(_0x30d06d=_0x41d704[_0x5c2e58])&&(_0x41df31=_0x30d06d(_0x41df31)||_0x41df31);return _0x41df31;},_0x539f6d=(_0xbeeaf2,_0x1e0ea9)=>(_0x54218b,_0x4e7540)=>_0x1e0ea9(_0x54218b,_0x4e7540,_0xbeeaf2);let _0x4b7178=class{constructor(_0x17f054,_0x258c7e){const _0xf86814=_0x53aa47;this[_0xf86814(0x195)]=_0x17f054,this[_0xf86814(0x12b)]=_0x258c7e;}[_0x53aa47(0x290)](_0x1e5ec3){const _0x25a9d2=_0x53aa47;var _0x1ebe26;const _0x285a=this[_0x25a9d2(0x195)]['get'](_0x721df3['DocSelectionManagerService']),_0x9d6e12=(_0x1ebe26=_0x285a[_0x25a9d2(0x1ad)]())!=null?_0x1ebe26:[];if(_0x9d6e12[_0x25a9d2(0x28e)]===0x0)return;const _0x4e90f6=_0x1e5ec3['unitID'],_0x336391=[{'id':_0x25a9d2(0x179),'params':{'unitId':_0x4e90f6,'actions':null,'textRanges':_0x9d6e12}}],_0x34e305=this['_transformService']['transformMutationsWithChangeset'](_0x1e5ec3,_0x336391);if(!_0x2336f8['isTransformMutationsWithChangesetSuccess'](_0x34e305))throw _0x34e305['error'];const _0x56f26e=_0x34e305[_0x25a9d2(0xb5)][0x0][_0x25a9d2(0xfe)][_0x25a9d2(0x141)];Array[_0x25a9d2(0x2bb)](_0x56f26e)&&_0x56f26e['length']&&_0x285a[_0x25a9d2(0x1cb)](_0x56f26e,{'unitId':_0x4e90f6,'subUnitId':_0x4e90f6},!0x1);}};_0x4b7178=_0x1834fe([_0x539f6d(0x0,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x324)])),_0x539f6d(0x1,_0x2336f8[_0x53aa47(0x134)])],_0x4b7178);var _0x3821a0=Object[_0x53aa47(0x121)],_0x7e44d1=(_0x23a4d6,_0x51aeb3,_0x3ee61e,_0x593470)=>{const _0x578759=_0x53aa47;for(var _0x48d1d3=_0x593470>0x1?void 0x0:_0x593470?_0x3821a0(_0x51aeb3,_0x3ee61e):_0x51aeb3,_0x2d185c=_0x23a4d6[_0x578759(0x28e)]-0x1,_0x59acd2;_0x2d185c>=0x0;_0x2d185c--)(_0x59acd2=_0x23a4d6[_0x2d185c])&&(_0x48d1d3=_0x59acd2(_0x48d1d3)||_0x48d1d3);return _0x48d1d3;},_0x1545d5=(_0x222fcb,_0xee708b)=>(_0x2dd105,_0x29a96a)=>_0xee708b(_0x2dd105,_0x29a96a,_0x222fcb);let _0x1110c2=class extends _0x34f2b0[_0x53aa47(0x12a)]{constructor(_0x12c82e,_0x45f9c5,_0x29bac7,_0x5c691f,_0x4e04e2,_0x4c3d49,_0x145035,_0x17e9fd){const _0x460792=_0x53aa47;super(),_0x5e46bb(this,_0x460792(0x292),new _0x53d307[(_0x460792(0x1f8))](_0x561334[_0x460792(0x176)][_0x460792(0x11a)])),(this['_docStateChangeManagerService']=_0x12c82e,this['_collaborationController']=_0x45f9c5,this[_0x460792(0x169)]=_0x29bac7,this[_0x460792(0x140)]=_0x5c691f,this['_docTransformSelectionsService']=_0x4e04e2,this[_0x460792(0x33a)]=_0x4c3d49,this['_messageService']=_0x145035,this[_0x460792(0x1cf)]=_0x17e9fd,this[_0x460792(0x26a)]());}[_0x53aa47(0x26a)](){const _0x1c0838=_0x53aa47;this[_0x1c0838(0x278)](this[_0x1c0838(0x2d0)][_0x1c0838(0x1ac)][_0x1c0838(0x18d)](_0x48b469=>{const _0x2e1400=_0x1c0838,_0xfeb8b4=this[_0x2e1400(0xc5)]['docStateChange$']['subscribe'](_0x3eab56=>{const _0x5dc317=_0x2e1400;if(_0x3eab56==null)return;const {unitId:_0x342c21,redoState:_0x532d0d,commandId:_0x112b23}=_0x3eab56;if(_0x342c21!==_0x48b469[_0x5dc317(0x241)])return;const _0x1a9001={'id':_0x112b23,'type':_0x34f2b0['CommandType'][_0x5dc317(0x22d)],'params':{'unitId':_0x342c21,'actions':_0x532d0d[_0x5dc317(0x213)],'textRanges':null}};_0x48b469[_0x5dc317(0x225)](_0x1a9001);});if(_0x48b469['disposeWithMe'](_0xfeb8b4),_0x48b469 instanceof _0x561334['DocCollaborationEntity']){const _0x9b5508={'onTransformIME':_0x43662f=>this['_docTransformIMECacheService']['transformIMECache'](_0x43662f),'onTransformState':_0x171867=>this[_0x2e1400(0x140)][_0x2e1400(0x2b6)](_0x171867),'onTransformSelections':_0x18cd6b=>this[_0x2e1400(0x1a9)][_0x2e1400(0x290)](_0x18cd6b),'onSyncEditingCollabCursor':_0x901462=>this[_0x2e1400(0x33a)][_0x2e1400(0x343)](_0x901462),'onTransformRemoteChangesetByIMECache':_0x186569=>this[_0x2e1400(0x169)][_0x2e1400(0x22c)](_0x186569),'onTransformRemoteChangesetByStateCache':_0x571e81=>this[_0x2e1400(0x140)][_0x2e1400(0x22c)](_0x571e81)};_0x48b469[_0x2e1400(0xfc)](_0x9b5508);}}));}};_0x1110c2=_0x7e44d1([_0x1545d5(0x0,_0x34f2b0[_0x53aa47(0x2c6)](_0x3487a2[_0x53aa47(0x18e)])),_0x1545d5(0x1,_0x34f2b0['Inject'](_0x561334[_0x53aa47(0x226)])),_0x1545d5(0x2,_0x34f2b0['Inject'](_0x326881)),_0x1545d5(0x3,_0x34f2b0[_0x53aa47(0x2c6)](_0x4addeb)),_0x1545d5(0x4,_0x34f2b0['Inject'](_0x4b7178)),_0x1545d5(0x5,_0x34f2b0[_0x53aa47(0x2c6)](_0x5d5e3c)),_0x1545d5(0x6,_0x2dc545['IMessageService']),_0x1545d5(0x7,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x1ef)]))],_0x1110c2);var _0xd770ca=Object[_0x53aa47(0x121)],_0x539e55=(_0xa082bf,_0x3fad46,_0x3cc58b,_0x2d8911)=>{const _0x28b3c7=_0x53aa47;for(var _0x2ed777=_0x2d8911>0x1?void 0x0:_0x2d8911?_0xd770ca(_0x3fad46,_0x3cc58b):_0x3fad46,_0x59b1ea=_0xa082bf[_0x28b3c7(0x28e)]-0x1,_0x9c1111;_0x59b1ea>=0x0;_0x59b1ea--)(_0x9c1111=_0xa082bf[_0x59b1ea])&&(_0x2ed777=_0x9c1111(_0x2ed777)||_0x2ed777);return _0x2ed777;},_0x3e2d1=(_0x3ef89f,_0x30fbd7)=>(_0x9f6879,_0x26a742)=>_0x30fbd7(_0x9f6879,_0x26a742,_0x3ef89f);let _0x2d5996=class extends _0x34f2b0['Disposable']{constructor(_0x238e8e,_0x1932f4,_0x4302e2){const _0x5a7dce=_0x53aa47;super(),_0x5e46bb(this,'_cachedData',new Map()),_0x5e46bb(this,'_saveTaskMap',new Map()),_0x5e46bb(this,'_disabled',!0x1),(this[_0x5a7dce(0x249)]=_0x238e8e,this['_localStorageService']=_0x1932f4,this[_0x5a7dce(0x200)]=_0x4302e2);}['disableLocalCache'](){const _0x43f010=_0x53aa47;this[_0x43f010(0xf7)]=!0x0;}[_0x53aa47(0x14d)](){const _0x25578b=_0x53aa47;this[_0x25578b(0xf7)]=!0x1;}get[_0x53aa47(0x1e8)](){const _0x53c6a3=_0x53aa47;return this[_0x53c6a3(0x2a9)];}[_0x53aa47(0x318)](){const _0x4caa5d=_0x53aa47;this[_0x4caa5d(0x2ab)]()[_0x4caa5d(0x2e5)](()=>super[_0x4caa5d(0x318)]());}async[_0x53aa47(0x32a)](_0x37e7c4){const _0x242634=_0x53aa47;return this[_0x242634(0xf7)]?null:this[_0x242634(0x352)][_0x242634(0x2b3)](_0x561334[_0x242634(0x1f0)](_0x37e7c4));}async[_0x53aa47(0x2d4)](_0x59af6d,_0x598de5){const _0x1aa052=_0x53aa47;return!!this[_0x1aa052(0x352)][_0x1aa052(0x271)](_0x59af6d,_0x598de5);}[_0x53aa47(0x2cc)](_0x1f9aa9,_0x5563fb,_0x1aa1ed,_0x489cc0){const _0x469e84=_0x53aa47,_0xda2fa0=this['_revisionService']['getCurrentRevOfUnit'](_0x1f9aa9);this[_0x469e84(0xd0)][_0x469e84(0x1fa)](_0x1f9aa9,{'unitID':_0x1f9aa9,'type':_0x5563fb,'awaitingChangeset':_0x1aa1ed,'mutations':_0x489cc0,'rev':_0xda2fa0}),this[_0x469e84(0x2a9)][_0x469e84(0x1be)](_0x1f9aa9)||this['_scheduleSaving'](_0x1f9aa9);}[_0x53aa47(0x32e)](_0x387ce7){const _0x280d78=_0x53aa47,_0x199111=this[_0x280d78(0x285)]();_0x199111===0x0?this[_0x280d78(0x17c)](_0x387ce7):this[_0x280d78(0x2a9)][_0x280d78(0x1fa)](_0x387ce7,setTimeout(()=>this[_0x280d78(0x17c)](_0x387ce7),_0x199111));}[_0x53aa47(0x285)](){const _0x28583e=_0x53aa47;var _0x37e410;return(_0x37e410=this['_configService'][_0x28583e(0xcb)](_0x561334['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x37e410:_0x561334[_0x28583e(0x32c)];}[_0x53aa47(0x17c)](_0x24c28d){const _0x489eb2=_0x53aa47,_0x1e9de8=this['_saveTaskMap'][_0x489eb2(0x238)](_0x24c28d);return _0x1e9de8!==void 0x0&&window['clearTimeout'](_0x1e9de8),this['_localStorageService'][_0x489eb2(0x271)](_0x561334[_0x489eb2(0x1f0)](_0x24c28d),this[_0x489eb2(0xd0)][_0x489eb2(0x238)](_0x24c28d))[_0x489eb2(0x2e5)](()=>this[_0x489eb2(0x2a9)][_0x489eb2(0x107)](_0x24c28d));}async[_0x53aa47(0x2ab)](){const _0x31ad5c=_0x53aa47,_0x5997e7=[];this[_0x31ad5c(0x2a9)][_0x31ad5c(0xe9)]((_0x6f185f,_0x459906)=>{const _0x3d714a=_0x31ad5c;window['clearTimeout'](_0x6f185f),_0x5997e7[_0x3d714a(0x218)](this['_saveCache'](_0x459906)[_0x3d714a(0x2e5)](()=>{const _0x3b6cf9=_0x3d714a;this[_0x3b6cf9(0x2a9)][_0x3b6cf9(0x107)](_0x459906);}));}),await Promise[_0x31ad5c(0x35a)](_0x5997e7);}};_0x2d5996=_0x539e55([_0x3e2d1(0x0,_0x34f2b0[_0x53aa47(0x1e6)]),_0x3e2d1(0x1,_0x34f2b0[_0x53aa47(0x2e7)]),_0x3e2d1(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x2336f8[_0x53aa47(0xc0)]))],_0x2d5996);class _0x24c566 extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(){const _0x42bcd4=_0x53aa47;super(),_0x5e46bb(this,_0x42bcd4(0x151)),this['urlChange$']=_0x53d307[_0x42bcd4(0xdc)](window,_0x42bcd4(0xc2))[_0x42bcd4(0x147)](_0x53d307[_0x42bcd4(0x21b)](this[_0x42bcd4(0x2a0)]),_0x53d307[_0x42bcd4(0x184)](0x1),_0x53d307[_0x42bcd4(0x177)](void 0x0));}[_0x53aa47(0x16f)](_0x27c562,_0x170365,_0x2c3ec5=!0x1){const _0x1a508e=_0x53aa47,_0x1664d1=new URL(window[_0x1a508e(0x263)][_0x1a508e(0x266)]);_0x1664d1[_0x1a508e(0x1b5)][_0x1a508e(0x1fa)](_0x27c562,_0x170365),_0x2c3ec5?window['history'][_0x1a508e(0x1f5)]('','',_0x1664d1[_0x1a508e(0x264)]()):window[_0x1a508e(0xf9)][_0x1a508e(0x2fc)]('','',_0x1664d1['toString']());}[_0x53aa47(0x13e)](_0xb3ad47,_0x1af7a0=!0x1){const _0x3aad49=_0x53aa47,_0x34d65c=new URL(window[_0x3aad49(0x263)][_0x3aad49(0x266)]);_0x34d65c['searchParams'][_0x3aad49(0x107)](_0xb3ad47),_0x1af7a0?window[_0x3aad49(0xf9)]['replaceState']('','',_0x34d65c['toString']()):window[_0x3aad49(0xf9)][_0x3aad49(0x2fc)]('','',_0x34d65c[_0x3aad49(0x264)]());}[_0x53aa47(0x15a)](_0x5d08b6){const _0x2fb783=_0x53aa47;var _0x2c80e7;return(_0x2c80e7=new URL(window[_0x2fb783(0x263)][_0x2fb783(0x266)])[_0x2fb783(0x1b5)][_0x2fb783(0x238)](_0x5d08b6))!=null?_0x2c80e7:void 0x0;}}var _0x4ca6d5=Object['defineProperty'],_0x362fb0=Object['getOwnPropertyDescriptor'],_0x3fbf24=(_0x6287f5,_0x5a3cbb,_0x4fb72f)=>_0x5a3cbb in _0x6287f5?_0x4ca6d5(_0x6287f5,_0x5a3cbb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fb72f}):_0x6287f5[_0x5a3cbb]=_0x4fb72f,_0x288102=(_0x4700d5,_0x34a9f4,_0x1321d3,_0x123362)=>{const _0x19af5b=_0x53aa47;for(var _0x32ca13=_0x123362>0x1?void 0x0:_0x123362?_0x362fb0(_0x34a9f4,_0x1321d3):_0x34a9f4,_0x358f61=_0x4700d5[_0x19af5b(0x28e)]-0x1,_0x55ead2;_0x358f61>=0x0;_0x358f61--)(_0x55ead2=_0x4700d5[_0x358f61])&&(_0x32ca13=_0x55ead2(_0x32ca13)||_0x32ca13);return _0x32ca13;},_0x45e6a2=(_0x1aae7c,_0x5f1a4b)=>(_0x12f0b7,_0x1c376e)=>_0x5f1a4b(_0x12f0b7,_0x1c376e,_0x1aae7c),_0x226229=(_0x14422d,_0x426510,_0x5688c9)=>_0x3fbf24(_0x14422d,_0x426510+'',_0x5688c9);const _0x15ca78='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2ec00e['UniverCollaborationClientUIPlugin']=class extends _0x34f2b0[_0x53aa47(0xb3)]{constructor(_0x501212=_0x4b8552,_0x476cc2,_0x19aac8,_0x12f117){const _0x44b9d2=_0x53aa47;super(),this[_0x44b9d2(0x229)]=_0x501212,this['_renderManagerService']=_0x476cc2,this[_0x44b9d2(0x195)]=_0x19aac8,this[_0x44b9d2(0x249)]=_0x12f117;const {..._0x3d8889}=_0x34f2b0[_0x44b9d2(0x1d0)]({},_0x4b8552,this[_0x44b9d2(0x229)]);this[_0x44b9d2(0x249)]['setConfig'](_0x5b0163,_0x3d8889);}[_0x53aa47(0x1d1)](){const _0x21f991=_0x53aa47;this['_registerDependencies'](),this[_0x21f991(0x108)]();}[_0x53aa47(0xbe)](){const _0x434a84=_0x53aa47;this[_0x434a84(0x256)]();}[_0x53aa47(0x32f)](){const _0x9240ba=_0x53aa47;var _0x231050;const _0x4674be=[[_0x57ef26],[_0x4b7178],[_0x326881],[_0x4addeb],[_0x5d5e3c],[_0x58811b,{'useClass':_0x24c566}],[_0x64f4c9['ISocketService'],{'useClass':_0x64f4c9['WebSocketService']}],[_0x561334['ILocalCacheService'],{'useClass':_0x2d5996}],[_0x2ec00e[_0x9240ba(0x233)]],[_0x1110c2],[_0x173965],[_0x53c773],[_0x414baf],[_0x2ec00e[_0x9240ba(0x2be)]]];_0x34f2b0[_0x9240ba(0x347)](this[_0x9240ba(0x195)],_0x34f2b0['mergeOverrideWithDependencies'](_0x4674be,(_0x231050=this[_0x9240ba(0x229)])==null?void 0x0:_0x231050[_0x9240ba(0x30c)]));}['_registerRenderDependencies'](){const _0x49ea64=_0x53aa47;this[_0x49ea64(0x278)](this[_0x49ea64(0x1e4)][_0x49ea64(0x127)](_0x34f2b0[_0x49ea64(0x33e)][_0x49ea64(0x15c)],[_0x24ea13])),this[_0x49ea64(0x278)](this[_0x49ea64(0x1e4)][_0x49ea64(0x127)](_0x34f2b0[_0x49ea64(0x33e)][_0x49ea64(0x2c3)],[_0x352c16]));}[_0x53aa47(0x108)](){const _0x14fe4d=_0x53aa47;_0x34f2b0[_0x14fe4d(0x297)](this[_0x14fe4d(0x195)],[[_0x53c773],[_0x2ec00e[_0x14fe4d(0x233)]],[_0x1110c2],[_0x173965],[_0x2ec00e[_0x14fe4d(0x2be)]]]);}},_0x226229(_0x2ec00e[_0x53aa47(0x1ff)],_0x53aa47(0x2b7),_0x15ca78),_0x2ec00e['UniverCollaborationClientUIPlugin']=_0x288102([_0x34f2b0[_0x53aa47(0x21d)](_0x561334['UniverCollaborationClientPlugin']),_0x45e6a2(0x1,_0x1678e0[_0x53aa47(0x1b4)]),_0x45e6a2(0x2,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x324)])),_0x45e6a2(0x3,_0x34f2b0[_0x53aa47(0x1e6)])],_0x2ec00e[_0x53aa47(0x1ff)]);var _0x442648=Object[_0x53aa47(0x121)],_0x55207c=(_0x114ec0,_0x495699,_0x78f5cd,_0x3bf74d)=>{for(var _0x3a139e=_0x3bf74d>0x1?void 0x0:_0x3bf74d?_0x442648(_0x495699,_0x78f5cd):_0x495699,_0x24cebd=_0x114ec0['length']-0x1,_0x4f68d7;_0x24cebd>=0x0;_0x24cebd--)(_0x4f68d7=_0x114ec0[_0x24cebd])&&(_0x3a139e=_0x4f68d7(_0x3a139e)||_0x3a139e);return _0x3a139e;},_0x6fc5f5=(_0x107447,_0x5a71a4)=>(_0x47cd07,_0x2288c9)=>_0x5a71a4(_0x47cd07,_0x2288c9,_0x107447);_0x2ec00e[_0x53aa47(0x2c1)]=class extends _0x561334[_0x53aa47(0x27e)]{constructor(_0x3708e8,_0x564a1f,_0x369e24,_0x51e1dc,_0x1f0d31){super(_0x3708e8,_0x564a1f,_0x369e24,_0x51e1dc,_0x1f0d31);}async[_0x53aa47(0x210)](_0x5e1feb){const _0x4a52ce=_0x53aa47,_0x3d33b4=await this[_0x4a52ce(0xca)](),_0x56cf63=this[_0x4a52ce(0x1c1)](_0x5e1feb,_0x3d33b4);return this['_doCreateSocket'](_0x56cf63);}[_0x53aa47(0x1c1)](_0x181c34,_0xee59a6){const _0x3863a1=_0x53aa47,_0x44aa07=typeof window>'u'?new URL(_0x181c34):new URL(_0x181c34,window[_0x3863a1(0x263)][_0x3863a1(0xea)]);_0x44aa07[_0x3863a1(0x1b5)][_0x3863a1(0x1fa)](_0x3863a1(0x211),_0xee59a6);const _0x2a7b6f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3863a1(0x263)][_0x3863a1(0x336)]);return _0x2a7b6f[_0x3863a1(0x238)](_0x3863a1(0x10a))&&_0x44aa07['searchParams'][_0x3863a1(0x1fa)](_0x3863a1(0x10a),_0x2a7b6f['get'](_0x3863a1(0x10a))),_0x44aa07[_0x3863a1(0x264)]();}async[_0x53aa47(0xca)](){const _0x41b091=_0x53aa47;var _0x38bdec,_0x3d2bd9,_0xc87fb4;const _0x11688c=this[_0x41b091(0x249)][_0x41b091(0xcb)](_0x561334[_0x41b091(0x129)]),_0x50f859=(_0x38bdec=_0x11688c==null?void 0x0:_0x11688c[_0x41b091(0x289)])!=null?_0x38bdec:_0x561334[_0x41b091(0x342)];return(_0xc87fb4=(_0x3d2bd9=(await this[_0x41b091(0x231)][_0x41b091(0x238)](_0x50f859,{'headers':{'Content-Type':_0x41b091(0x1b8)}}))[_0x41b091(0x34b)])==null?void 0x0:_0x3d2bd9[_0x41b091(0x21a)])!=null?_0xc87fb4:'';}},_0x2ec00e[_0x53aa47(0x2c1)]=_0x55207c([_0x6fc5f5(0x0,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x6fc5f5(0x1,_0x34f2b0[_0x53aa47(0x2c6)](_0x64f4c9[_0x53aa47(0xd7)])),_0x6fc5f5(0x2,_0x34f2b0[_0x53aa47(0x1e6)]),_0x6fc5f5(0x3,_0x34f2b0[_0x53aa47(0x219)]),_0x6fc5f5(0x4,_0x2336f8['ISnapshotServerService'])],_0x2ec00e[_0x53aa47(0x2c1)]);const _0x5d2670=0x7530,_0x597945=_0x53aa47(0x157);class _0x517d02 extends _0x34f2b0[_0x53aa47(0x12a)]{constructor(){const _0x723675=_0x53aa47;super(),_0x5e46bb(this,_0x723675(0x354),_0x34f2b0[_0x723675(0x31c)]()),_0x5e46bb(this,_0x723675(0x2a2),new Set()),_0x5e46bb(this,_0x723675(0x215),new Map()),_0x5e46bb(this,'_heartbeatTimer',null),_0x5e46bb(this,_0x723675(0x19c),new Map()),_0x5e46bb(this,'_unitStatus',new Map()),this['_init']();}[_0x53aa47(0x318)](){const _0x1563ff=_0x53aa47;super['dispose'](),this['_clearOtherTimers'][_0x1563ff(0xe9)]((_0x2cfb5a,_0x58f759)=>this[_0x1563ff(0x27c)](_0x58f759)),this[_0x1563ff(0x1ae)]&&window[_0x1563ff(0x28b)](this[_0x1563ff(0x1ae)]);}[_0x53aa47(0x172)](_0x1267dd){const _0x13ad2b=_0x53aa47;return this[_0x13ad2b(0x275)](_0x1267dd)[_0x13ad2b(0x147)](_0x53d307['distinctUntilChanged']());}[_0x53aa47(0x283)](_0x192d15){const _0x4fe305=_0x53aa47;this[_0x4fe305(0x2a2)][_0x4fe305(0x1b7)]===0x0&&this[_0x4fe305(0xe7)](),this['_selfUnitIDs']['add'](_0x192d15),this[_0x4fe305(0x300)]({'type':0x0,'memberID':this[_0x4fe305(0x354)],'unitIDs':[_0x192d15],'isForwarded':!0x1});}[_0x53aa47(0x337)](_0x95bc24){const _0x2b166b=_0x53aa47;this[_0x2b166b(0x2a2)][_0x2b166b(0x107)](_0x95bc24),this[_0x2b166b(0x2a2)]['size']===0x0&&this[_0x2b166b(0x1ae)]&&window[_0x2b166b(0x28b)](this[_0x2b166b(0x1ae)]);}[_0x53aa47(0x17f)](){const _0x4804f3=_0x53aa47;this[_0x4804f3(0x278)](_0x34f2b0[_0x4804f3(0x245)](_0x53d307[_0x4804f3(0xdc)](window,'storage')[_0x4804f3(0x18d)](_0x3a28e7=>{const _0x14d41f=_0x4804f3;if(_0x3a28e7['key']!==_0x597945||!_0x3a28e7[_0x14d41f(0x110)])return;const _0x30b0a2=JSON['parse'](_0x3a28e7['newValue']);this[_0x14d41f(0x207)](_0x30b0a2);}))),window['addEventListener'](_0x4804f3(0xd2),()=>this['_send']({'type':0x1,'memberID':this[_0x4804f3(0x354)],'unitIDs':Array[_0x4804f3(0x2cd)](this[_0x4804f3(0x2a2)])}));}[_0x53aa47(0x207)](_0x2a477f){const _0x31a88a=_0x53aa47;switch(_0x2a477f['type']){case 0x0:this[_0x31a88a(0x10f)](_0x2a477f);break;case 0x1:this[_0x31a88a(0x26e)](_0x2a477f);break;case 0x2:this[_0x31a88a(0x136)](_0x2a477f);break;}}[_0x53aa47(0x10f)](_0x347aec){const _0x52ad5b=_0x53aa47,{unitIDs:_0x38036e,memberID:_0x26faff,isForwarded:_0x333b12}=_0x347aec;_0x38036e[_0x52ad5b(0xe9)](_0x3fd3bd=>{const _0x49fb92=_0x52ad5b;if(!_0x333b12&&this[_0x49fb92(0x215)]['has'](_0x3fd3bd)&&this[_0x49fb92(0x275)](_0x3fd3bd)[_0x49fb92(0xeb)](_0x561334[_0x49fb92(0x19b)][_0x49fb92(0x2aa)]),!this[_0x49fb92(0x215)]['has'](_0x3fd3bd)||!this[_0x49fb92(0x215)][_0x49fb92(0x238)](_0x3fd3bd)['has'](_0x26faff)){const _0x44d4dd=this[_0x49fb92(0x215)][_0x49fb92(0x238)](_0x3fd3bd)||new Set();_0x44d4dd[_0x49fb92(0x31e)](_0x26faff),this['_unitOnClients'][_0x49fb92(0x1fa)](_0x3fd3bd,_0x44d4dd),this['_scheduleClearOtherTimer'](_0x26faff);}}),_0x333b12||this[_0x52ad5b(0x300)]({'type':0x0,'memberID':this[_0x52ad5b(0x354)],'unitIDs':[...this[_0x52ad5b(0x2a2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1165fa){const _0xc3c666=_0x53aa47;this[_0xc3c666(0x27c)](_0x1165fa);const _0x57d1cd=window[_0xc3c666(0x359)](()=>{const _0x3a4889=_0xc3c666;this[_0x3a4889(0x215)][_0x3a4889(0xe9)](_0x12a88e=>{const _0x39f486=_0x3a4889;_0x12a88e[_0x39f486(0x107)](_0x1165fa);});},_0x5d2670*0x2);this[_0xc3c666(0x19c)][_0xc3c666(0x1fa)](_0x1165fa,_0x57d1cd);}[_0x53aa47(0x27c)](_0x565709){const _0x18fcf9=_0x53aa47;if(this[_0x18fcf9(0x19c)][_0x18fcf9(0x1be)](_0x565709)){const _0x4cdfe8=this[_0x18fcf9(0x19c)]['get'](_0x565709);_0x4cdfe8&&window[_0x18fcf9(0x1da)](_0x4cdfe8),this[_0x18fcf9(0x19c)]['set'](_0x565709,null);}}[_0x53aa47(0x26e)](_0xd120d9){const _0x13bb6e=_0x53aa47,{memberID:_0xf1aa9f,unitIDs:_0x21a9e7}=_0xd120d9;_0x21a9e7[_0x13bb6e(0xe9)](_0x43fa37=>{const _0xf3bf8a=_0x13bb6e;var _0x25433e;const _0x315fbb=this['_unitOnClients'][_0xf3bf8a(0x238)](_0x43fa37);_0x315fbb&&(_0x315fbb['delete'](_0xf1aa9f),(_0x25433e=this['_ensureSubject'](_0x43fa37))==null||_0x25433e[_0xf3bf8a(0xeb)](_0x315fbb['size']===0x0?_0x561334[_0xf3bf8a(0x19b)][_0xf3bf8a(0x323)]:_0x561334[_0xf3bf8a(0x19b)]['OTHER_CLIENTS_EDITING']));}),this[_0x13bb6e(0x27c)](_0xf1aa9f);}[_0x53aa47(0x136)](_0x5a14e0){const _0x7b8518=_0x53aa47;this[_0x7b8518(0xde)](_0x5a14e0[_0x7b8518(0x221)]);}[_0x53aa47(0x300)](_0x2706c6){const _0x58d255=_0x53aa47;localStorage[_0x58d255(0x271)](_0x597945,JSON[_0x58d255(0x137)](_0x2706c6));}[_0x53aa47(0xe7)](){const _0x6a4ac3=_0x53aa47;this[_0x6a4ac3(0x1ae)]=window[_0x6a4ac3(0x2d6)](()=>{const _0x3efff3=_0x6a4ac3;this[_0x3efff3(0x300)]({'type':0x2,'memberID':this[_0x3efff3(0x354)]});},_0x5d2670);}['_ensureSubject'](_0x4cd131){const _0x212cfc=_0x53aa47;return this[_0x212cfc(0x1a4)][_0x212cfc(0x1be)](_0x4cd131)||this[_0x212cfc(0x1a4)][_0x212cfc(0x1fa)](_0x4cd131,new _0x53d307[(_0x212cfc(0x1f8))](_0x561334[_0x212cfc(0x19b)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x212cfc(0x1a4)][_0x212cfc(0x238)](_0x4cd131);}}var _0xe2bb6e=(_0xc75f0d=>(_0xc75f0d[_0xc75f0d[_0x53aa47(0x2e6)]=0x0]=_0x53aa47(0x2e6),_0xc75f0d[_0xc75f0d['OK']=0x1]='OK',_0xc75f0d[_0xc75f0d['INTERNAL_ERROR']=0x2]=_0x53aa47(0x2da),_0xc75f0d[_0xc75f0d[_0x53aa47(0xda)]=0x3]=_0x53aa47(0xda),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2e0)]=0x4]=_0x53aa47(0x2e0),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2dd)]=0x5]='UNAUTHENTICATED',_0xc75f0d[_0xc75f0d[_0x53aa47(0x1ba)]=0x6]=_0x53aa47(0x1ba),_0xc75f0d[_0xc75f0d[_0x53aa47(0x321)]=0x7]=_0x53aa47(0x321),_0xc75f0d[_0xc75f0d[_0x53aa47(0x216)]=0x8]='TOO_MANY_REQUESTS',_0xc75f0d[_0xc75f0d[_0x53aa47(0x1c2)]=0x9]='COMPLETION_FINISHED',_0xc75f0d[_0xc75f0d[_0x53aa47(0x239)]=0xa]=_0x53aa47(0x239),_0xc75f0d[_0xc75f0d[_0x53aa47(0x171)]=0xb]=_0x53aa47(0x171),_0xc75f0d[_0xc75f0d[_0x53aa47(0x199)]=0xc]=_0x53aa47(0x199),_0xc75f0d[_0xc75f0d[_0x53aa47(0x311)]=0xd]=_0x53aa47(0x311),_0xc75f0d[_0xc75f0d[_0x53aa47(0x13a)]=0xe]=_0x53aa47(0x13a),_0xc75f0d[_0xc75f0d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x53aa47(0x268),_0xc75f0d[_0xc75f0d[_0x53aa47(0x22a)]=0x1771]=_0x53aa47(0x22a),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1ea)]=0x1772]=_0x53aa47(0x1ea),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1a5)]=0x1773]=_0x53aa47(0x1a5),_0xc75f0d[_0xc75f0d[_0x53aa47(0xce)]=0x1b59]='APPLY_REJECT',_0xc75f0d[_0xc75f0d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x53aa47(0x250),_0xc75f0d[_0xc75f0d[_0x53aa47(0x346)]=0x1b5b]=_0x53aa47(0x346),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2f4)]=0x1b5c]=_0x53aa47(0x2f4),_0xc75f0d[_0xc75f0d['APPLY_DUPLICATED']=0x1b5d]=_0x53aa47(0x295),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2a7)]=0x1f41]=_0x53aa47(0x2a7),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1c4)]=0x2329]=_0x53aa47(0x1c4),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2f3)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xc75f0d[_0xc75f0d[_0x53aa47(0x335)]=0x232b]=_0x53aa47(0x335),_0xc75f0d[_0xc75f0d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x53aa47(0x104),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1a1)]=0x232d]=_0x53aa47(0x1a1),_0xc75f0d[_0xc75f0d[_0x53aa47(0x312)]=0x2711]=_0x53aa47(0x312),_0xc75f0d[_0xc75f0d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x53aa47(0xe1),_0xc75f0d[_0xc75f0d['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc75f0d[_0xc75f0d[_0x53aa47(0x186)]=0x2714]=_0x53aa47(0x186),_0xc75f0d[_0xc75f0d[_0x53aa47(0x222)]=0x271a]=_0x53aa47(0x222),_0xc75f0d[_0xc75f0d['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xc75f0d[_0xc75f0d['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xc75f0d[_0xc75f0d[_0x53aa47(0xb8)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xc75f0d[_0xc75f0d[_0x53aa47(0x2c8)]=0x271e]=_0x53aa47(0x2c8),_0xc75f0d[_0xc75f0d['YUUMI_AI_RUN_FAILED']=0x271f]=_0x53aa47(0x23d),_0xc75f0d[_0xc75f0d[_0x53aa47(0xd5)]=0x2720]=_0x53aa47(0xd5),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1e5)]=0x2af9]=_0x53aa47(0x1e5),_0xc75f0d[_0xc75f0d[_0x53aa47(0x156)]=0x2ee1]=_0x53aa47(0x156),_0xc75f0d[_0xc75f0d[_0x53aa47(0x26b)]=0x2ee2]=_0x53aa47(0x26b),_0xc75f0d[_0xc75f0d[_0x53aa47(0x333)]=0x2ee3]=_0x53aa47(0x333),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2e3)]=0x2ee4]=_0x53aa47(0x2e3),_0xc75f0d[_0xc75f0d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xc75f0d[_0xc75f0d[_0x53aa47(0x27a)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xc75f0d[_0xc75f0d[_0x53aa47(0x12e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc75f0d[_0xc75f0d[_0x53aa47(0x182)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xc75f0d[_0xc75f0d['UNRECOGNIZED']=-0x1]=_0x53aa47(0xbc),_0xc75f0d))(_0xe2bb6e||{}),_0x39014d=Object[_0x53aa47(0x121)],_0x4e1b6d=(_0x2a1aac,_0x1bfa58,_0x5e600e,_0x27a3b7)=>{const _0x89bd30=_0x53aa47;for(var _0x57cbac=_0x27a3b7>0x1?void 0x0:_0x27a3b7?_0x39014d(_0x1bfa58,_0x5e600e):_0x1bfa58,_0x1501d9=_0x2a1aac[_0x89bd30(0x28e)]-0x1,_0x4a4360;_0x1501d9>=0x0;_0x1501d9--)(_0x4a4360=_0x2a1aac[_0x1501d9])&&(_0x57cbac=_0x4a4360(_0x57cbac)||_0x57cbac);return _0x57cbac;},_0x4986f1=(_0x207735,_0x4e043f)=>(_0x302f3d,_0x157fba)=>_0x4e043f(_0x302f3d,_0x157fba,_0x207735);_0x2ec00e[_0x53aa47(0x246)]=class extends _0x34f2b0['Disposable']{constructor(_0x1f3d26,_0x2dc872,_0x1ad4ff){const _0x2da688=_0x53aa47;super(),this[_0x2da688(0x24f)]=_0x1f3d26,this[_0x2da688(0x231)]=_0x2dc872,this['_configService']=_0x1ad4ff;}async[_0x53aa47(0x1dc)](_0x4e2719,_0x3ecd5a,_0x2bb8ec,..._0x53fab8){const _0x8f2fd5=_0x53aa47;var _0x346ccd,_0x316ff5,_0x3db126,_0x1f9139;const _0x2fa122=this[_0x8f2fd5(0x24f)][_0x8f2fd5(0x185)]();if(!_0x2fa122)throw new Error(_0x8f2fd5(0x288));const _0x225634=((_0x346ccd=this['_configService']['getConfig'](_0x561334[_0x8f2fd5(0x244)]))!=null?_0x346ccd:_0x561334[_0x8f2fd5(0x126)])+'/'+_0x4e2719+'/run/'+_0x3ecd5a,_0x52d327=new URL(window[_0x8f2fd5(0x263)][_0x8f2fd5(0x266)]),_0x3f07c6={'scriptId':_0x4e2719,'runId':(_0x316ff5=_0x52d327['searchParams'][_0x8f2fd5(0x238)](_0x8f2fd5(0x10a)))!=null?_0x316ff5:'','function':_0x3ecd5a,'unitId':_0x2fa122[_0x8f2fd5(0x1fd)](),'argsOfFunction':JSON[_0x8f2fd5(0x137)](_0x53fab8),'invokeId':(_0x3db126=_0x2bb8ec[_0x8f2fd5(0x2bd)])!=null?_0x3db126:'','executionId':(_0x1f9139=_0x2bb8ec[_0x8f2fd5(0x188)])!=null?_0x1f9139:''};try{const _0x3682ca=await this[_0x8f2fd5(0x231)][_0x8f2fd5(0x1d9)](_0x225634,{'body':_0x3f07c6});return _0x3682ca[_0x8f2fd5(0x34b)][_0x8f2fd5(0x1a3)]&&_0x3682ca[_0x8f2fd5(0x34b)]['error']['code']!==_0xe2bb6e['OK']?_0x8f2fd5(0x301):_0x3682ca[_0x8f2fd5(0x34b)]['result'];}catch{return'Failed';}}},_0x2ec00e[_0x53aa47(0x246)]=_0x4e1b6d([_0x4986f1(0x0,_0x34f2b0[_0x53aa47(0x10d)]),_0x4986f1(0x1,_0x34f2b0['Inject'](_0x64f4c9[_0x53aa47(0xd7)])),_0x4986f1(0x2,_0x34f2b0[_0x53aa47(0x1e6)])],_0x2ec00e[_0x53aa47(0x246)]),_0x2ec00e[_0x53aa47(0x30a)]=_0x3946f6,_0x2ec00e[_0x53aa47(0x2ca)]=_0x58811b,_0x2ec00e[_0x53aa47(0x27b)]=_0x1f6b20,_0x2ec00e[_0x53aa47(0xf2)]=_0x517d02,_0x2ec00e['WebURLService']=_0x24c566,Object['defineProperty'](_0x2ec00e,Symbol[_0x53aa47(0x310)],{'value':_0x53aa47(0x316)});}));function _0x1190(){const _0x5605ee=['tag','some','RxDisposable','pushState','getRangePointData','height','UniverSheetsUi','_send','Failed','_initCommandExecutedListener','deepClone','subscribeEvent','handleDeleteRangeMoveLeft','roomMembers$','startColumn','CollaborationUIEventId','Optional','CollaborationStatusDisplay','25848BjkYZe','override','permission.content','currentTheme$','function','toStringTag','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_UNABLE_LOAD_URL','uni.network.url-service','_initResize','find','Module','DataLoaderService','dispose','@univerjs/sheets','_name','Error','generateRandomId','imageSourceType','add','restore','unshift','INVALID_ARGUMENT','trim','NO_OTHER_CLIENTS_EDITING','Injector','UniverDocsUi','fillRule','backgroundColor','UniverProCollaboration','_shapes','loadOfflineData','_getAnchorBounding','LOCAL_CACHE_INTERVAL','@univerjs/core','_scheduleSaving','_registerDependencies','_updateCollabCursors','source','endColumn','INVITE_CODE_REQUIRED','_assignedColors','LICENSE_IMPORT_SIZE_EXCEEDED','search','disposeUnit','rxjs','assign','_docSyncEditingCollabCursorService','collaboration.single-unit.warning','_roomMembers$','FETCH_MISS','UniverInstanceType','OnLineIcon','isTransformMutationFailure','@univerjs-pro/collaboration-client','DEFAULT_WS_SESSION_TICKET_URL','syncEditingCollabCursor','_anchorDot','getTypeOfUnitDisposed$','APPLY_REVISION_CONFILICT','registerDependencies','purple.300','CollaborationSessionService','_onRefRangeChange','body','SetDocZoomRatioOperation','hovered','getMemberID','_initStatusComponent','Unknown\x20user','UPDATE_CURSOR','_localStorageService','url(#$1','_id','_urlService','_collaborationUIEventService','_getSheetObject','bottom','setTimeout','all','setAlpha','getAncestorScale','Plugin','JOIN_ROOM_FAILED','m2Prime','operators','path','YUUMI_ALL_TABLES_IS_INVALID','7nLaFcz','TEXT_RANGE_LAYER_INDEX','transformMutation','UNRECOGNIZED','_cursorInfo$','onRendered','_univerInstanceService','RevisionService','handleInsertRangeMoveDown','popstate','_color','whenReady','_docStateChangeManagerService','registerComponent','_hideTimer','_online','_hover','_getSessionTicket','getConfig','@univerjs/ui','defIds','APPLY_REJECT','on-line-icon','_cachedData','InsertRangeMoveDownCommandId','unload','UniverCore','asObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','collabStatus.syncing','HTTPService','show','fill','PERMISSION_DENIED','none','fromEvent','startsWith','_scheduleClearOtherTimer','_collabSessionService','url(#on-line-icon_clip0_910_349)','YUUMI_URL_COL_OUT_OF_RANGE','_docClipboardService','useCallback','getTypeOfUnitAdded$','collab-client.tooltip.reconnect','measureText','_scheduleHeartbeat','FromArray','forEach','origin','next','init','M0\x200H16V16H0z','DeleteRangeMoveLeftCommandId','_transformPreviousActiveRange','session.will-retry','engine','WebBrowserSingleActiveUnitService','filter','sessionStatus$','getCellPositionByOffset','status$','_disabled','http://www.w3.org/2000/svg','history','_setupSubUnitSync','_initStatusListener','addHandlerCallback','symbol','params','_anchor','setShapeProps','_messageService','replace','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','blue.400','@univerjs/drawing','delete','_initDependencies','idSuffix','runId','collab-text-anchor-','eventID','IUniverInstanceService','getSheetId','_handleJoinEvent','newValue','ICommandService','registerBeforeClose','_syncEditingCollabCursorService','min','@univerjs/design','toRgbString','endRow','send','_sheetSkeletonManagerService','NOT_COLLAB','SetSelectionsOperation','_scene','getVpScrollXYInfoByPosToVp','off-line-icon','transformIMECache','setActiveRange','getOwnPropertyDescriptor','10BkBPVc','univer-mr-2\x20univer-flex\x20univer-text-xl','Rect','CLOSE_ROOM','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','registerRenderModule','getCurrentUnitForType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Disposable','_transformService','61587526IpkYYe','translate(.97)','MOBILE_HAS_BEEN_BOUND','clipPath','startRow','_cursor','getCoordByCell','collabStatus.synced','ITransformService','DocSelectionManagerService','_handleHeartbeatEvent','stringify','UniverSheets','transform','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOnline','DOC_RANGE_TYPE','fillText','removeParam','arc','_docTransformStateCacheService','textRanges','react','0\x200\x2016\x2016','IRemoteInstanceService','fillStyle','handleDeleteRangeMoveUp','pipe','with','_entities','loadUnit','MessageType','icon','enableLocalCache','className','_handleHover','_refreshCollabCursors','urlChange$','UniverEngineRender','AWAITING','substring','collabCursorState$','INVITE_CODE_HAS_BEEN_UES','ACTIVE_UNIT_EVENT_CHANNEL','propertyIsEnumerable','InsertColCommandId','getParam','column','UNIVER_DOC','univer-flex\x20univer-items-center','selections','colorChannel1','useDependency','getUniverSheetInstance','DeleteRangeMoveUpCommandId','fromEventSubject','603sqlfMZ','forwardRef','displayName','_eventUnsubscribe','_getScale','_docTransformIMECacheService','_memberService','_startSheetCollabCursor','mask','session.collaboration-timeout','beginPath','setParam','onMouseMove','MOBILE_VERIFY_CODE_MISMATCH','getUnitStatus$','switchMap','isEditing','CONFLICT','CollaborationStatus','mapTo','_context','doc.mutation.rich-text-editing','INotificationService','getCurrent','_saveCache','Rectangle','sheetId','_init','ranges','onPointerLeave$','EMAIL_HAS_BEEN_BOUND','@univerjs/engine-render','shareReplay','getFocusedUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','ONLINE','executionId','UniverUi','RichTextEditingMutation','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','div','subscribe','DocStateChangeManagerService','collabStatus.conflict','defs','red.300','_onCursorDelete','7084QLesnv','triggerDblclick','_injector','closePath','EffectRefRangId','8VkMZvy','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration-client-ui.config','UnitStatus','_clearOtherTimers','COLORS','_transformUndoRedoStack','transformByState','MoveRangeCommandId','LICENSE_DISTRO_REJECTED','data','error','_unitStatus','ENSURE_SNAPSHOT_EXECUTION','...','onCommandExecuted','Warning','_docTransformSelectionsService','currentColor','combineLatest','entityInit$','getDocRanges','_heartbeatTimer','_collabCursorState$','InsertRangeMoveRightCommandId','collaboration.closeRoom','type','getCollabCursors$','IRenderManagerService','searchParams','activeSheet$','size','application/json','_onCursorUpdate','ALREADY_EXISTS','_docSkeleton','_removeCollabCursors','SetTextSelectionsOperation','has','SheetSkeletonManagerService','onPointerEnter$','_createSocketURL','COMPLETION_FINISHED','_commandService','LICENSE_MAX_UNITS_EXCEEDED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','unitId','jsx','font','USERS_LEAVE','DisposableCollection','replaceDocRanges','save','off-line-icon_clip0_910_343','m1Prime','_localeService','merge','onStarting','@univerjs/rpc','_colorIndex','call','Vector2','_backgroundColor','max','_drawTextRange','post','clearTimeout','getColor','runOnServer','getOffsetConfig','concat','skeleton','_textBubble','getViewport','AWAITING_WITH_PENDING','color','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','IConfigService','DocSkeletonManagerService','saveTaskMap','_dataLoaderService','SNAPSHOT_HAS_BEEN_REMOVED','getMember','svg','_docSkeletonManagerService','getActiveSheet','LocaleService','getLocalCacheKey','unsubscribe','CollaborationEvent','UniverEngineFormula','MemberService','replaceState','_toggleOffline','_colorAssignService','BehaviorSubject','SUBMIT_CHANGESET_TIMEOUT','set','contains','event$','getUnitId','selection','UniverCollaborationClientUIPlugin','_revisionService','_startDocCollabCursor','_range','177064UVluxu','entries','Tools','_updateURLWithCurrentState','_handleEvent','debug','_lastPointer','white','makeDirty','getMergeData','63320TTQHCX','Subject','_transformHistoryAndStateStack','createSocket','sessionTicket','children','actions','registerRefRange','_unitOnClients','TOO_MANY_REQUESTS','_setupBeforeClosingHandler','push','ILogService','ticket','takeUntil','black','DependentOn','_updateLocalCursor','SheetsSelectionsService','IImageIoService','memberID','YUUMI_NO_CUBOID_FOR_QUESTION','isTransformMutationsWithChangesetSuccess','includes','onLocalMutation','CollaborationController','getRenderById','DocIMEInputManagerService','_config','SNAPSHOT_INVALID_SNAPSHOT','rxjs/operators','transformRemoteChangeset','MUTATION','complete','debounceTime','isActive','_httpService','React','DesktopCollaborationStatusDisplayController','_drawRectRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','InsertRowCommandId','@univerjs/sheets-ui','get','LOGIN_FAILED','hide','getRelativeToViewportCoord','Workbook','YUUMI_AI_RUN_FAILED','values','cursorInfo','amd','unitID','saveImage','UniverProCollaborationClientUi','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','toDisposable','RemoteUniscriptService','_draw','round','_configService','getSkeleton','_cursorShapes','_labelPosition','Shape','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','_instanceService','APPLY_NON_SEQUENTIAL_REVISION','OFFLINE','onPointerMove$','1em','throttleTime','drawWith','_registerRenderDependencies','use','apply','getCollabEntity$','ColorKit','moveTo','_entityInit$','useRef','executeCommand','_uiPartsService','top','extend','currentSkeleton$','location','toString','_cursors','href','addClipboardHook','CHANGESET_REVISION_CONFILICT','jsxs','_initEntityListener','INVALID_INVITE_CODE','_session','handleInsertRow','_handleLeaveEvent','VIEW_MAIN','_imageIoService','setItem','_render','5200280FDbPyL','IUIPartsService','_ensureSubject','_hovered','univerjs-icon\x20univerjs-icon-','disposeWithMe','string','WECHAT_HAS_BEEN_BOUND','SheetCollabCursorShape','_removeClearOtherTimer','serializeRangeWithSheet','CollaborationSocketService','getOwnPropertySymbols','on-line-icon_clip0_910_349','handleIRemoveRow','handleInsertRangeMoveRight','editingUnit','range','_getSaveTimeout','assignAColorForMemberID','getSheetBySheetId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','wsSessionTicketUrl','_beforeCloseService','clearInterval','_refRangeService','url(#off-line-icon_clip0_910_343)','length','UniverRpc','transformSelections','flatMap','_status$','rgba(255,\x20255,\x20255,\x200.01)','unit','APPLY_DUPLICATED','runRefRangeMutations','touchDependencies','handleMoveRange','indexOf','evenodd','ThemeService','onTransformChange$','OTHER_CLIENT_EDITING','_updateSubUnitFromURLParams','xlink:href','dispose$','SetWorksheetActivateCommand','_selfUnitIDs','@univerjs/docs','mutations','findNodePositionByCharIndex','@univerjs/engine-formula','CONNECTOR_DATA_TOO_LARGE','setUndoRedoMutationParamsCache','_saveTaskMap','OTHER_CLIENTS_EDITING','exhaustSavingTask','OffLineIcon','undoState','_drawAnchor','attrs','[CollaborationDataLoaderController]','createInstance','hasOwnProperty','getItem','@univerjs/docs-ui','name','transformStateCache','pluginName','IDocClipboardService','#FFF','row','isArray','clsx','invokeId','CollaborationDataLoaderController','3cwQvjK','getColorFromTheme','BrowserCollaborationSocketService','roomMembers','UNIVER_SHEET','requireSession','exports','Inject','RECT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setStateCache','IURLService','redoState','updateOfflineData','from','NodePositionConvertToCursor','TEXT','_collaborationController','useObservable','debounce','session.connection-failed','saveOfflineData','41908tyYzTb','setInterval','@univerjs-pro/collaboration','lineTo','SOCKET_FAILED_RETRY','INTERNAL_ERROR','subunit','addObject','UNAUTHENTICATED','text','@univerjs/network','NOT_FOUND','_themeService','_initEvent','USER_NOT_INVITED_CODE','_collabCursorController','then','UNDEFINED','ILocalStorageService','transformMutationsWithChangeset','split','map','4679148GFgpiP','width','cursorInfo$','collabStatus.notCollab','CollaborationUIEventService','NodePositionConvertToRectRange','RemoveColCommandId','prototype','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_PERMISSION_DENIED','RegularPolygon','SessionStatus','resize','_document'];_0x1190=function(){return _0x5605ee;};return _0x1190();}
1
+ (function(_0x1fb2ca,_0x427454){const _0x12542b=_0x5ad2,_0x44f237=_0x1fb2ca();while(!![]){try{const _0xc15aa2=-parseInt(_0x12542b(0x180))/0x1+parseInt(_0x12542b(0x146))/0x2+-parseInt(_0x12542b(0x10d))/0x3*(-parseInt(_0x12542b(0x12d))/0x4)+parseInt(_0x12542b(0x190))/0x5+parseInt(_0x12542b(0x35a))/0x6*(-parseInt(_0x12542b(0x1f1))/0x7)+parseInt(_0x12542b(0x243))/0x8+-parseInt(_0x12542b(0x203))/0x9;if(_0xc15aa2===_0x427454)break;else _0x44f237['push'](_0x44f237['shift']());}catch(_0x167581){_0x44f237['push'](_0x44f237['shift']());}}}(_0x2fae,0x4890e),function(_0x494f8a,_0x18145a){const _0x2219fb=_0x5ad2;typeof exports=='object'&&typeof module<'u'?_0x18145a(exports,require(_0x2219fb(0x300)),require(_0x2219fb(0x1f3)),require(_0x2219fb(0x1ba)),require(_0x2219fb(0x2ce)),require(_0x2219fb(0x1d5)),require(_0x2219fb(0x2ea)),require(_0x2219fb(0x2f1)),require(_0x2219fb(0xbe)),require(_0x2219fb(0x191)),require(_0x2219fb(0xda)),require(_0x2219fb(0x273)),require('rxjs/operators'),require(_0x2219fb(0x245)),require(_0x2219fb(0x2bd)),require(_0x2219fb(0x1e0)),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x2219fb(0x2c6)]?define(['exports','@univerjs-pro/collaboration-client',_0x2219fb(0x1f3),_0x2219fb(0x1ba),_0x2219fb(0x2ce),_0x2219fb(0x1d5),_0x2219fb(0x2ea),_0x2219fb(0x2f1),_0x2219fb(0xbe),'@univerjs/docs','@univerjs/engine-formula',_0x2219fb(0x273),_0x2219fb(0x32e),_0x2219fb(0x245),_0x2219fb(0x2bd),'@univerjs/ui',_0x2219fb(0x130),_0x2219fb(0x318),_0x2219fb(0x1df)],_0x18145a):(_0x494f8a=typeof globalThis<'u'?globalThis:_0x494f8a||self,_0x18145a(_0x494f8a[_0x2219fb(0x136)]={},_0x494f8a[_0x2219fb(0xee)],_0x494f8a['UniverCore'],_0x494f8a[_0x2219fb(0x283)],_0x494f8a[_0x2219fb(0x1ff)],_0x494f8a[_0x2219fb(0x2d4)],_0x494f8a[_0x2219fb(0x1c8)],_0x494f8a['rxjs'],_0x494f8a[_0x2219fb(0x1a1)],_0x494f8a[_0x2219fb(0x289)],_0x494f8a[_0x2219fb(0x304)],_0x494f8a['UniverSheets'],_0x494f8a[_0x2219fb(0x2f1)][_0x2219fb(0x32c)],_0x494f8a[_0x2219fb(0x255)],_0x494f8a[_0x2219fb(0x35b)],_0x494f8a[_0x2219fb(0x1fd)],_0x494f8a[_0x2219fb(0x184)],_0x494f8a['React'],_0x494f8a[_0x2219fb(0x346)]));}(this,function(_0xad88c7,_0x268c5e,_0x5e4ee0,_0x28e4ec,_0x17423d,_0x3cbde7,_0x111e63,_0x2df3bb,_0x1db10d,_0x3b399e,_0x15fe18,_0x43d3a5,_0x593199,_0x11dcc2,_0x5bf777,_0x4d2a0e,_0x52f01c,_0x2058b3,_0x773b5b){'use strict';const _0x2563a1=_0x5ad2;var _0x382d0e=Object[_0x2563a1(0x18c)],_0x12b326=(_0x5ab450,_0x4b75f1,_0x456579)=>_0x4b75f1 in _0x5ab450?_0x382d0e(_0x5ab450,_0x4b75f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x456579}):_0x5ab450[_0x4b75f1]=_0x456579,_0xd7874=(_0x34af5b,_0x187498,_0x8f8cf6)=>_0x12b326(_0x34af5b,typeof _0x187498!=_0x2563a1(0x338)?_0x187498+'':_0x187498,_0x8f8cf6),_0x1fa85b=Object[_0x2563a1(0x1b5)],_0x190a42=(_0xa402ed,_0x1e53f1,_0x1eaa1a,_0xbfed22)=>{const _0x41a4ff=_0x2563a1;for(var _0x226752=_0xbfed22>0x1?void 0x0:_0xbfed22?_0x1fa85b(_0x1e53f1,_0x1eaa1a):_0x1e53f1,_0x5a7350=_0xa402ed[_0x41a4ff(0x2a7)]-0x1,_0x597304;_0x5a7350>=0x0;_0x5a7350--)(_0x597304=_0xa402ed[_0x5a7350])&&(_0x226752=_0x597304(_0x226752)||_0x226752);return _0x226752;},_0x32b0af=(_0x1f6f0d,_0x1af2df)=>(_0x199f86,_0x54d359)=>_0x1af2df(_0x199f86,_0x54d359,_0x1f6f0d);let _0x417bbc=class extends _0x5e4ee0[_0x2563a1(0x307)]{constructor(_0x1df7df,_0x36f99d){const _0x5dc290=_0x2563a1;super(),this[_0x5dc290(0x238)]=_0x1df7df,this[_0x5dc290(0x2aa)]=_0x36f99d,this['_init']();}[_0x2563a1(0x270)](){const _0x4a64ac=_0x2563a1,_0x2dba13=this;this['disposeWithMe'](this['_docClipboardService'][_0x4a64ac(0xc8)]({'onBeforePasteImage':async _0x4d09e8=>{const _0xb0ed61=_0x4a64ac,_0x44df36=await _0x2dba13[_0xb0ed61(0x2aa)][_0xb0ed61(0x279)](_0x4d09e8);return _0x44df36?{'source':_0x44df36[_0xb0ed61(0x187)],'imageSourceType':_0x44df36[_0xb0ed61(0x114)]}:null;}}));}};_0x417bbc=_0x190a42([_0x32b0af(0x0,_0x3cbde7[_0x2563a1(0x314)]),_0x32b0af(0x1,_0x111e63[_0x2563a1(0x298)])],_0x417bbc);const _0x51d1ff=[_0x2563a1(0x22e),_0x2563a1(0x11c),'green.600','red.300',_0x2563a1(0xc1),_0x2563a1(0xd3)];class _0x1156d4 extends _0x5e4ee0[_0x2563a1(0x23e)]{constructor(){const _0xc8851e=_0x2563a1;super(...arguments),_0xd7874(this,_0xc8851e(0x116),new Map()),_0xd7874(this,_0xc8851e(0x1ae),0x0);}[_0x2563a1(0x2d7)](_0x16621b){const _0x3409ca=_0x2563a1;if(this[_0x3409ca(0x116)][_0x3409ca(0x2eb)](_0x16621b))return this[_0x3409ca(0x116)]['get'](_0x16621b);const _0x38913f=_0x51d1ff[this[_0x3409ca(0x1ae)]];return this['_colorIndex']=(this[_0x3409ca(0x1ae)]+0x1)%_0x51d1ff['length'],this[_0x3409ca(0x116)][_0x3409ca(0x19c)](_0x16621b,_0x38913f),_0x38913f;}}function _0x59e03a(_0x474cfe){let _0x22b8cb='';for(const _0x5499e8 of _0x474cfe){const {startOffset:_0x42fead,endOffset:_0x199473,isActive:_0x9a2981,rangeType:_0x52783a,segmentId:_0x363728,segmentPage:_0x32c7d3}=_0x5499e8;_0x22b8cb['length']&&(_0x22b8cb+=','),_0x22b8cb+=_0x42fead+':'+_0x199473+':'+(_0x9a2981?'1':'0')+':'+_0x52783a+':'+_0x363728+':'+_0x32c7d3;}return _0x22b8cb;}function _0xefd359(_0x1f16f7){const _0x16fdb5=_0x2563a1,_0x33ba35=_0x1f16f7[_0x16fdb5(0x24b)](','),_0x4dfc9b=[];for(const _0x248010 of _0x33ba35){const [_0x24b94b,_0x38c0dd,_0x4f995b,_0x501132,_0x3c7030,_0x30e8d6]=_0x248010[_0x16fdb5(0x24b)](':');_0x4dfc9b['push']({'startOffset':Number(_0x24b94b),'endOffset':Number(_0x38c0dd),'collapsed':_0x24b94b===_0x38c0dd,'isActive':_0x4f995b==='1','rangeType':_0x501132===_0x5e4ee0[_0x16fdb5(0x13b)][_0x16fdb5(0x100)]?_0x5e4ee0['DOC_RANGE_TYPE'][_0x16fdb5(0x100)]:_0x5e4ee0['DOC_RANGE_TYPE'][_0x16fdb5(0x27e)],'segmentId':typeof _0x3c7030==_0x16fdb5(0xfa)?String(_0x3c7030):'','segmentPage':Number(_0x30e8d6!=null?_0x30e8d6:-0x1)});}return _0x4dfc9b[_0x16fdb5(0x315)](_0x4e5712=>_0x4e5712[_0x16fdb5(0x28e)])||(_0x4dfc9b[0x0][_0x16fdb5(0x28e)]=!0x0),_0x4dfc9b;}class _0x2366de extends _0x5e4ee0[_0x2563a1(0x307)]{constructor(){const _0x13a970=_0x2563a1;super(...arguments),_0xd7874(this,_0x13a970(0x2ae),new _0x2df3bb[(_0x13a970(0x2a0))](null)),_0xd7874(this,_0x13a970(0x2f5),this['_collabCursorState$'][_0x13a970(0x132)]());}['syncEditingCollabCursor'](_0x560c6a){const _0x19ed8f=_0x2563a1,{unitID:_0x623f2c,memberID:_0x33de68,textRanges:_0x1618ae}=_0x560c6a,_0x2db574=_0x59e03a(_0x1618ae);if(_0x2db574==='')return;const _0xac5f33={'unitID':_0x623f2c,'memberID':_0x33de68,'selection':_0x2db574};this[_0x19ed8f(0x2ae)]['next'](_0xac5f33);}}var _0x490606=Object[_0x2563a1(0x1b5)],_0x261979=(_0x482a2c,_0x2ae26e,_0x19bf72,_0x54c040)=>{const _0x2cf67d=_0x2563a1;for(var _0x820486=_0x54c040>0x1?void 0x0:_0x54c040?_0x490606(_0x2ae26e,_0x19bf72):_0x2ae26e,_0x25458e=_0x482a2c[_0x2cf67d(0x2a7)]-0x1,_0x1a68fe;_0x25458e>=0x0;_0x25458e--)(_0x1a68fe=_0x482a2c[_0x25458e])&&(_0x820486=_0x1a68fe(_0x820486)||_0x820486);return _0x820486;},_0x451d7b=(_0x5e5bd5,_0x497526)=>(_0x14e7ba,_0x106f2d)=>_0x497526(_0x14e7ba,_0x106f2d,_0x5e5bd5);const _0x15e3b3=0x12c,_0x3ef2a7=0x64;let _0x208759=class extends _0x5e4ee0[_0x2563a1(0x307)]{constructor(_0x5835d9,_0x5031ae,_0x3e9629,_0x594141,_0xab76d2,_0x12c5a9,_0x1ace04,_0x3c8c7f,_0xa063c1){const _0x26dec3=_0x2563a1;super(),_0xd7874(this,_0x26dec3(0x16d),!0x1),_0xd7874(this,_0x26dec3(0x270),!0x1),_0xd7874(this,_0x26dec3(0x231),new _0x2df3bb[(_0x26dec3(0x2a0))](new Map())),_0xd7874(this,_0x26dec3(0xbc),this[_0x26dec3(0x231)]['asObservable']()),_0xd7874(this,'_roomMembers$',new _0x2df3bb[(_0x26dec3(0x2a0))]([])),_0xd7874(this,_0x26dec3(0x1d6),this[_0x26dec3(0x122)][_0x26dec3(0x182)](_0x2df3bb[_0x26dec3(0x2e7)](_0x15e3b3))),_0xd7874(this,_0x26dec3(0x32d),_0x5e4ee0['debounce'](_0x46c0aa=>{const _0x48f881=_0x26dec3,_0x1d2bdf={'eventID':_0x1db10d[_0x48f881(0x1fb)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x48f881(0x2c5)][_0x48f881(0xdc)](),'selection':_0x59e03a(_0x46c0aa)}};this[_0x48f881(0x2c5)]['send'](_0x1d2bdf,this['unitID']);},_0x3ef2a7)),(this['unitID']=_0x5835d9,this[_0x26dec3(0x2c5)]=_0x5031ae,this[_0x26dec3(0xba)]=_0x3e9629,this[_0x26dec3(0x24f)]=_0x594141,this['_memberService']=_0xab76d2,this[_0x26dec3(0x2ee)]=_0x12c5a9,this[_0x26dec3(0x179)]=_0x1ace04,this['_univerInstanceService']=_0x3c8c7f,this['_commandService']=_0xa063c1);}get[_0x2563a1(0x32f)](){const _0x477659=_0x2563a1;return this[_0x477659(0x231)][_0x477659(0x225)]();}get[_0x2563a1(0x241)](){const _0x499e3f=_0x2563a1;return this['_roomMembers$'][_0x499e3f(0x225)]();}[_0x2563a1(0x1f2)](){const _0x54e9fd=_0x2563a1;super[_0x54e9fd(0x1f2)](),this[_0x54e9fd(0x231)][_0x54e9fd(0x269)](new Map()),this[_0x54e9fd(0x231)][_0x54e9fd(0x17f)](),this['_roomMembers$'][_0x54e9fd(0x269)]([]),this['_roomMembers$']['complete']();}[_0x2563a1(0x1c9)](){const _0x4ad9cc=_0x2563a1;this[_0x4ad9cc(0x270)]||(this[_0x4ad9cc(0x270)]=!0x0,this[_0x4ad9cc(0x2c5)][_0x4ad9cc(0x340)][_0x4ad9cc(0x182)](_0x2df3bb[_0x4ad9cc(0xce)](this['dispose$']))[_0x4ad9cc(0x23d)](_0x480e11=>{const _0x26a96e=_0x4ad9cc;_0x480e11===_0x268c5e[_0x26a96e(0x121)][_0x26a96e(0x175)]?this[_0x26a96e(0x2f7)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x2df3bb[_0x4ad9cc(0xce)](this[_0x4ad9cc(0x108)]))[_0x4ad9cc(0x23d)](_0x6ae399=>{const _0x3986f9=_0x4ad9cc,_0x45e12f=_0x6ae399[_0x3986f9(0x138)];_0x45e12f===_0x1db10d['CollaborationEvent'][_0x3986f9(0x2a8)]&&this[_0x3986f9(0xff)](_0x6ae399),_0x45e12f===_0x1db10d[_0x3986f9(0x1fb)][_0x3986f9(0x313)]&&this['_onCursorDelete'](_0x6ae399);}),this[_0x4ad9cc(0x153)](this[_0x4ad9cc(0x288)]['onCommandExecuted'](_0xb9f2c=>{const _0x3b3572=_0x4ad9cc,_0x495b85=_0xb9f2c[_0x3b3572(0x34e)];_0x495b85!=null&&this[_0x3b3572(0x16d)]&&_0xb9f2c['id']===_0x3b399e[_0x3b3572(0xfe)]['id']&&_0x495b85['unitId']===this[_0x3b3572(0xdd)]&&_0x495b85[_0x3b3572(0x339)]===!0x1&&_0x495b85[_0x3b3572(0x2be)]['length']>0x0&&this[_0x3b3572(0x32d)](_0x495b85[_0x3b3572(0x2be)]);})),this['_syncEditingCollabCursorService'][_0x4ad9cc(0x2f5)]['pipe'](_0x2df3bb[_0x4ad9cc(0xce)](this[_0x4ad9cc(0x108)]))[_0x4ad9cc(0x23d)](_0x237ede=>{const _0x5ae645=_0x4ad9cc;if((_0x237ede==null?void 0x0:_0x237ede[_0x5ae645(0xdd)])!==this[_0x5ae645(0xdd)])return;const _0x14f8f0={'eventID':_0x1db10d[_0x5ae645(0x1fb)][_0x5ae645(0x2a8)],'data':_0x237ede};this[_0x5ae645(0xff)](_0x14f8f0);}),this[_0x4ad9cc(0x153)](this[_0x4ad9cc(0x288)][_0x4ad9cc(0x144)](_0x2eeed2=>{const _0x1a44e1=_0x4ad9cc;if(_0x2eeed2[_0x1a44e1(0x34e)]==null)return;const _0x4398ac=_0x2eeed2['params'];if(_0x2eeed2['id']!==_0x3b399e[_0x1a44e1(0x141)]['id']||_0x4398ac['unitId']!==this['unitID'])return;const _0x89a48d={'id':_0x1a44e1(0xe9),'params':_0x4398ac},_0x20637c=this[_0x1a44e1(0x32f)];for(const [_0x444eab,_0x3b0124]of _0x20637c){const _0x501268={'id':_0x1a44e1(0xe9),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3b0124[_0x1a44e1(0x2be)]}},_0x45fc9d=this['_transformService'][_0x1a44e1(0x30f)](_0x89a48d,_0x501268,!0x1);if(_0x1db10d['isTransformMutationFailure'](_0x45fc9d))throw _0x45fc9d[_0x1a44e1(0x2c3)];_0x20637c['set'](_0x444eab,{..._0x3b0124,'ranges':_0x45fc9d[_0x1a44e1(0x26d)][_0x1a44e1(0x34e)]['textRanges']});}queueMicrotask(()=>{const _0x45fbdd=_0x1a44e1;this['_cursorInfo$'][_0x45fbdd(0x269)](_0x20637c);});})));}[_0x2563a1(0xff)](_0x27e67b){const _0x2e74a8=_0x2563a1;var _0x450679,_0x1b90e0;const {memberID:_0xeec356,selection:_0xc3dad0}=_0x27e67b[_0x2e74a8(0x2a5)],_0x3dc30a=_0xefd359(_0xc3dad0),_0x5149bf=(_0x1b90e0=(_0x450679=this[_0x2e74a8(0x221)][_0x2e74a8(0x13a)](this[_0x2e74a8(0xdd)],_0xeec356))==null?void 0x0:_0x450679[_0x2e74a8(0xd2)])!=null?_0x1b90e0:'Unknown\x20user',_0x2da4f8={'color':this['_colorAssignService'][_0x2e74a8(0x2d7)](_0xeec356),'name':_0x5149bf,'ranges':_0x3dc30a},_0xd5cd19=this['cursorInfo'];_0xd5cd19[_0x2e74a8(0x19c)](_0xeec356,_0x2da4f8),this[_0x2e74a8(0x231)][_0x2e74a8(0x269)](_0xd5cd19);}['_onCursorDelete'](_0x9b0379){const _0x4ff6fc=_0x2563a1,{memberID:_0x5a249d}=_0x9b0379[_0x4ff6fc(0x2a5)],_0x468de4=this[_0x4ff6fc(0x32f)];_0x468de4[_0x4ff6fc(0x25f)](_0x5a249d),this[_0x4ff6fc(0x231)][_0x4ff6fc(0x269)](_0x468de4);}['_toggleOnline'](){const _0x3d5982=_0x2563a1;var _0x23d6b6;if(this['_online']=!0x0,((_0x23d6b6=this[_0x3d5982(0x200)][_0x3d5982(0xd7)]())==null?void 0x0:_0x23d6b6['getUnitId']())!==this[_0x3d5982(0xdd)])return;const _0x208a1c=this[_0x3d5982(0xba)][_0x3d5982(0x197)](_0x3b399e[_0x3d5982(0x323)])[_0x3d5982(0x17d)]();Array['isArray'](_0x208a1c)&&_0x208a1c[_0x3d5982(0x2a7)]>0x0&&this['_updateLocalCursor'](_0x208a1c);}['_toggleOffline'](){const _0x43a41d=_0x2563a1;this[_0x43a41d(0x16d)]=!0x1;}};_0x208759=_0x261979([_0x451d7b(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0[_0x2563a1(0x127)])),_0x451d7b(0x3,_0x5e4ee0[_0x2563a1(0xaf)](_0x1156d4)),_0x451d7b(0x4,_0x5e4ee0['Inject'](_0x268c5e[_0x2563a1(0x2ff)])),_0x451d7b(0x5,_0x5e4ee0[_0x2563a1(0xaf)](_0x2366de)),_0x451d7b(0x6,_0x1db10d['ITransformService']),_0x451d7b(0x7,_0x5e4ee0[_0x2563a1(0x349)]),_0x451d7b(0x8,_0x5e4ee0[_0x2563a1(0x120)])],_0x208759);var _0x42fae3=Object['getOwnPropertyDescriptor'],_0x46f6b8=(_0xd66b4c,_0x48920f,_0x18c94a,_0x1ae94c)=>{const _0x3009db=_0x2563a1;for(var _0x48a322=_0x1ae94c>0x1?void 0x0:_0x1ae94c?_0x42fae3(_0x48920f,_0x18c94a):_0x48920f,_0x1a4158=_0xd66b4c[_0x3009db(0x2a7)]-0x1,_0x53072b;_0x1a4158>=0x0;_0x1a4158--)(_0x53072b=_0xd66b4c[_0x1a4158])&&(_0x48a322=_0x53072b(_0x48a322)||_0x48a322);return _0x48a322;},_0xebd0f9=(_0x2258ca,_0x60e958)=>(_0x58c03d,_0x3b606d)=>_0x60e958(_0x58c03d,_0x3b606d,_0x2258ca);const _0x35c04e=0x12c,_0x2f95af=0x64,_0x5da025=()=>{let _0x210b0a=[],_0x5b3328=!0x1;return _0x5c2224=>{const _0x1e9f66=_0x5ad2;_0x210b0a[_0x1e9f66(0x249)](_0x5c2224),_0x5b3328||(_0x5b3328=!0x0,setTimeout(()=>{const _0x57438d=_0x1e9f66;_0x210b0a[_0x57438d(0x10c)](_0x49d12b=>_0x49d12b()),_0x210b0a=[],_0x5b3328=!0x1;}));};};let _0x43439b=class extends _0x5e4ee0[_0x2563a1(0x307)]{constructor(_0x3a2bc4,_0x1da6eb,_0x4d088e,_0x523439,_0x33078b,_0x57d020,_0x19c38f,_0x519211){const _0xbda44f=_0x2563a1;super(),_0xd7874(this,_0xbda44f(0x16d),!0x1),_0xd7874(this,_0xbda44f(0x270),!0x1),_0xd7874(this,'_cursorInfo$',new _0x2df3bb[(_0xbda44f(0x2a0))](new Map())),_0xd7874(this,_0xbda44f(0xbc),this[_0xbda44f(0x231)]['asObservable']()),_0xd7874(this,_0xbda44f(0x122),new _0x2df3bb[(_0xbda44f(0x2a0))]([])),_0xd7874(this,_0xbda44f(0x1d6),this['_roomMembers$'][_0xbda44f(0x182)](_0x2df3bb[_0xbda44f(0x2e7)](_0x35c04e))),_0xd7874(this,_0xbda44f(0x32d),_0x5e4ee0[_0xbda44f(0x1a6)]((_0x1f44a1,_0x1b564b)=>{const _0xdb6583=_0xbda44f,_0x562063={'eventID':_0x1db10d[_0xdb6583(0x1fb)][_0xdb6583(0x2a8)],'data':{'unitID':this[_0xdb6583(0xdd)],'memberID':this[_0xdb6583(0x2c5)]['getMemberID'](),'selection':_0x15fe18[_0xdb6583(0x224)](_0x1f44a1,_0x1b564b[_0xdb6583(0x256)])}};this[_0xdb6583(0x2c5)][_0xdb6583(0x2e2)](_0x562063,this['unitID']);},_0x2f95af)),(this['unitID']=_0x3a2bc4,this[_0xbda44f(0x2c5)]=_0x1da6eb,this[_0xbda44f(0xba)]=_0x4d088e,this['_colorAssignService']=_0x523439,this[_0xbda44f(0x221)]=_0x33078b,this[_0xbda44f(0x200)]=_0x57d020,this[_0xbda44f(0x288)]=_0x19c38f,this[_0xbda44f(0x2ca)]=_0x519211);}get[_0x2563a1(0x32f)](){const _0x4eed4a=_0x2563a1;return this['_cursorInfo$'][_0x4eed4a(0x225)]();}get[_0x2563a1(0x241)](){const _0xcc594a=_0x2563a1;return this[_0xcc594a(0x122)]['getValue']();}[_0x2563a1(0x1f2)](){const _0x244d0c=_0x2563a1;super[_0x244d0c(0x1f2)](),this['_cursorInfo$'][_0x244d0c(0x269)](new Map()),this[_0x244d0c(0x231)][_0x244d0c(0x17f)](),this[_0x244d0c(0x122)][_0x244d0c(0x269)]([]),this[_0x244d0c(0x122)][_0x244d0c(0x17f)]();}[_0x2563a1(0x1c9)](){const _0x253374=_0x2563a1;this[_0x253374(0x270)]||(this[_0x253374(0x270)]=!0x0,this['_session'][_0x253374(0x340)][_0x253374(0x182)](_0x2df3bb[_0x253374(0xce)](this[_0x253374(0x108)]))['subscribe'](_0x17fe96=>{const _0x39daa6=_0x253374;_0x17fe96===_0x268c5e[_0x39daa6(0x121)]['ONLINE']?this[_0x39daa6(0x2f7)]():this[_0x39daa6(0x1b6)]();}),this['_session']['event$'][_0x253374(0x182)](_0x2df3bb[_0x253374(0xce)](this['dispose$']))[_0x253374(0x23d)](_0x469977=>{const _0x10e149=_0x253374,_0x5cf99b=_0x469977['eventID'];_0x5cf99b===_0x1db10d[_0x10e149(0x1fb)][_0x10e149(0x2a8)]&&this[_0x10e149(0xff)](_0x469977),_0x5cf99b===_0x1db10d[_0x10e149(0x1fb)][_0x10e149(0x313)]&&this[_0x10e149(0xe0)](_0x469977);}),this[_0x253374(0x177)](),this[_0x253374(0x153)](this['_commandService'][_0x253374(0x144)](_0x2127a2=>{const _0x308b81=_0x253374;if(this[_0x308b81(0x16d)]&&_0x2127a2['id']===_0x43d3a5[_0x308b81(0x1c2)]['id']&&_0x2127a2[_0x308b81(0x34e)][_0x308b81(0xb6)]===this['unitID']){const _0x1d6c51=_0x2127a2[_0x308b81(0x34e)];this[_0x308b81(0x32d)](_0x1d6c51['subUnitId'],_0x1d6c51[_0x308b81(0x272)][0x0]);}})));}[_0x2563a1(0xff)](_0x4e8e55){const _0x38db70=_0x2563a1;var _0x106506,_0x3b0b28;const {memberID:_0x2351bc,selection:_0x2b8ec5}=_0x4e8e55[_0x38db70(0x2a5)],{sheetName:_0x292c61,range:_0x12b6d7}=_0x15fe18[_0x38db70(0x1eb)](_0x2b8ec5),_0x172138={'name':(_0x3b0b28=(_0x106506=this['_memberService'][_0x38db70(0x13a)](this['unitID'],_0x2351bc))==null?void 0x0:_0x106506['name'])!=null?_0x3b0b28:_0x38db70(0x305),'range':this['_getMergeRange'](_0x292c61,_0x12b6d7),'sheetID':_0x292c61,'color':this[_0x38db70(0x24f)][_0x38db70(0x2d7)](_0x2351bc),'selection':_0x2b8ec5},_0x1125ba=this[_0x38db70(0x32f)];_0x1125ba[_0x38db70(0x19c)](_0x2351bc,_0x172138),this[_0x38db70(0x231)]['next'](_0x1125ba);}[_0x2563a1(0xe0)](_0x3a0df6){const _0x1b914e=_0x2563a1,{memberID:_0x3eaec6}=_0x3a0df6[_0x1b914e(0x2a5)],_0x13e148=this[_0x1b914e(0x32f)];_0x13e148[_0x1b914e(0x25f)](_0x3eaec6),this[_0x1b914e(0x231)][_0x1b914e(0x269)](_0x13e148);}[_0x2563a1(0xc0)](_0x46b5ea,_0x204b8f){const _0x2615b5=_0x2563a1;var _0x14dc35,_0x52ecae;const _0x57aac0=(_0x52ecae=(_0x14dc35=this[_0x2615b5(0x200)][_0x2615b5(0x1ec)](this[_0x2615b5(0xdd)]))==null?void 0x0:_0x14dc35[_0x2615b5(0x2d0)](_0x46b5ea))==null?void 0x0:_0x52ecae[_0x2615b5(0x33c)]();return(_0x57aac0==null?void 0x0:_0x57aac0[_0x2615b5(0x230)](_0x28d217=>_0x5e4ee0['Rectangle']['contains'](_0x28d217,_0x204b8f)))||_0x204b8f;}[_0x2563a1(0x177)](){const _0x45a66c=_0x2563a1,_0x1b646f=new _0x5e4ee0[(_0x45a66c(0x216))](),_0x13b0ff=_0x5da025(),_0x319092=()=>{const _0x51294c=_0x45a66c;_0x1b646f[_0x51294c(0x1f2)]();const _0x430552=(_0x3e8775,_0xb42995,_0x1998fd,_0x5a822b)=>{const _0x5dd2be=_0x51294c;let _0x35c904=[];switch(_0x3e8775['id']){case _0x43d3a5['EffectRefRangId'][_0x5dd2be(0x1ab)]:{_0x35c904=_0x43d3a5[_0x5dd2be(0x223)](_0x3e8775,_0x5a822b);break;}case _0x43d3a5[_0x5dd2be(0x208)]['DeleteRangeMoveUpCommandId']:{_0x35c904=_0x43d3a5[_0x5dd2be(0xcc)](_0x3e8775,_0x5a822b);break;}case _0x43d3a5[_0x5dd2be(0x208)][_0x5dd2be(0x23c)]:{_0x35c904=_0x43d3a5[_0x5dd2be(0x31a)](_0x3e8775,_0x5a822b);break;}case _0x43d3a5['EffectRefRangId'][_0x5dd2be(0x188)]:{_0x35c904=_0x43d3a5['handleInsertRangeMoveDown'](_0x3e8775,_0x5a822b);break;}case _0x43d3a5[_0x5dd2be(0x208)][_0x5dd2be(0xe5)]:{_0x35c904=_0x43d3a5[_0x5dd2be(0x31d)](_0x3e8775,_0x5a822b);break;}case _0x43d3a5['EffectRefRangId'][_0x5dd2be(0x23f)]:{_0x35c904=_0x43d3a5[_0x5dd2be(0x15b)](_0x3e8775,_0x5a822b);break;}case _0x43d3a5['EffectRefRangId'][_0x5dd2be(0x1ee)]:{_0x35c904=_0x43d3a5[_0x5dd2be(0xcd)](_0x3e8775,_0x5a822b);break;}case _0x43d3a5['EffectRefRangId']['RemoveColCommandId']:{_0x35c904=_0x43d3a5['handleIRemoveCol'](_0x3e8775,_0x5a822b);break;}case _0x43d3a5['EffectRefRangId'][_0x5dd2be(0x226)]:{_0x35c904=_0x43d3a5[_0x5dd2be(0x21a)](_0x3e8775,_0x5a822b);break;}}const _0xbc7b82=_0x43d3a5[_0x5dd2be(0xf3)](_0x35c904,_0x5a822b),_0x915bb2=this[_0x5dd2be(0x32f)][_0x5dd2be(0x197)](_0xb42995);if(_0x915bb2&&_0xbc7b82){const _0x40f074={..._0x915bb2,'range':_0xbc7b82};this[_0x5dd2be(0x32f)][_0x5dd2be(0x19c)](_0xb42995,_0x40f074),_0x13b0ff(()=>{const _0x15a720=_0x5dd2be,_0x4eed79=this[_0x15a720(0x2ca)]['registerRefRange'](_0xbc7b82,_0x402c9d=>(_0x4eed79['dispose'](),_0x430552(_0x402c9d,_0xb42995,_0x1998fd,_0xbc7b82)));_0x1b646f[_0x15a720(0x34a)](_0x4eed79);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x51294c(0x10c)]((_0x1bc93d,_0x59007f)=>{const _0x533f6a=_0x51294c,{range:_0x25958d,sheetID:_0x22894d}=_0x1bc93d,_0x3ea1b8=this[_0x533f6a(0x2ca)][_0x533f6a(0x105)](_0x25958d,_0x38e2d4=>(_0x3ea1b8[_0x533f6a(0x1f2)](),_0x430552(_0x38e2d4,_0x59007f,_0x22894d,_0x25958d)));_0x1b646f['add'](_0x3ea1b8);});};this[_0x45a66c(0x153)](_0x5e4ee0['toDisposable'](this[_0x45a66c(0x231)][_0x45a66c(0x23d)](()=>{_0x319092();})));}[_0x2563a1(0x2f7)](){const _0x447511=_0x2563a1;var _0x2117ad,_0x4d319c;if(this[_0x447511(0x16d)]=!0x0,((_0x2117ad=this[_0x447511(0x200)][_0x447511(0xd7)]())==null?void 0x0:_0x2117ad['getUnitId']())!==this[_0x447511(0xdd)])return;const _0x1ab4bc=(_0x4d319c=this[_0x447511(0xba)]['get'](_0x43d3a5['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x4d319c[0x0],_0x181024=this[_0x447511(0x200)][_0x447511(0x106)](_0x5e4ee0[_0x447511(0xfd)][_0x447511(0x2ec)])[_0x447511(0x309)]();_0x1ab4bc&&_0x181024&&this[_0x447511(0x32d)](_0x181024['getSheetId'](),_0x1ab4bc);}[_0x2563a1(0x1b6)](){const _0x1da3df=_0x2563a1;this[_0x1da3df(0x16d)]=!0x1;}};_0x43439b=_0x46f6b8([_0xebd0f9(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0[_0x2563a1(0x127)])),_0xebd0f9(0x3,_0x5e4ee0[_0x2563a1(0xaf)](_0x1156d4)),_0xebd0f9(0x4,_0x5e4ee0['Inject'](_0x268c5e[_0x2563a1(0x2ff)])),_0xebd0f9(0x5,_0x5e4ee0[_0x2563a1(0x349)]),_0xebd0f9(0x6,_0x5e4ee0[_0x2563a1(0x120)]),_0xebd0f9(0x7,_0x5e4ee0['Inject'](_0x43d3a5[_0x2563a1(0x293)]))],_0x43439b);var _0xcb0e1a=Object[_0x2563a1(0x1b5)],_0x239a60=(_0x4fbef4,_0x38575d,_0x1ed1f8,_0x1ba8ae)=>{const _0x37b19a=_0x2563a1;for(var _0x57b528=_0x1ba8ae>0x1?void 0x0:_0x1ba8ae?_0xcb0e1a(_0x38575d,_0x1ed1f8):_0x38575d,_0x545cb9=_0x4fbef4[_0x37b19a(0x2a7)]-0x1,_0xc72b16;_0x545cb9>=0x0;_0x545cb9--)(_0xc72b16=_0x4fbef4[_0x545cb9])&&(_0x57b528=_0xc72b16(_0x57b528)||_0x57b528);return _0x57b528;},_0x301167=(_0x16e537,_0x25407a)=>(_0x17aa26,_0x4d4187)=>_0x25407a(_0x17aa26,_0x4d4187,_0x16e537);let _0x11f07c=class extends _0x5e4ee0[_0x2563a1(0x307)]{constructor(_0x2f23bd,_0x17d2b6,_0x20957f){const _0x2ee0f5=_0x2563a1;super(),_0xd7874(this,_0x2ee0f5(0xb8),new Map()),_0xd7874(this,_0x2ee0f5(0x20b),new _0x2df3bb[(_0x2ee0f5(0x251))]()),(this[_0x2ee0f5(0x200)]=_0x2f23bd,this['_injector']=_0x17d2b6,this[_0x2ee0f5(0x152)]=_0x20957f,this[_0x2ee0f5(0x270)]());}['dispose'](){const _0x524e13=_0x2563a1;super[_0x524e13(0x1f2)](),this[_0x524e13(0x20b)][_0x524e13(0x17f)](),this[_0x524e13(0xb8)]['forEach'](_0x46d9e0=>_0x46d9e0[_0x524e13(0x1f2)]());}[_0x2563a1(0x271)](_0x2b0d47){const _0x43459e=_0x2563a1;return this[_0x43459e(0xb8)]['has'](_0x2b0d47)?this[_0x43459e(0xb8)][_0x43459e(0x197)](_0x2b0d47)[_0x43459e(0xbc)]:this[_0x43459e(0x20b)][_0x43459e(0x182)](_0x2df3bb[_0x43459e(0x2ed)](_0x21da26=>_0x21da26[_0x43459e(0xdd)]===_0x2b0d47),_0x2df3bb[_0x43459e(0x34f)](_0xd2121c=>_0xd2121c[_0x43459e(0xbc)]));}[_0x2563a1(0x270)](){const _0x40d04a=_0x2563a1;this[_0x40d04a(0x200)][_0x40d04a(0x34c)](_0x5e4ee0[_0x40d04a(0xfd)][_0x40d04a(0x2ec)])['pipe'](_0x2df3bb[_0x40d04a(0xce)](this[_0x40d04a(0x108)]))[_0x40d04a(0x23d)](async _0x4eeb39=>{const _0x59edf3=_0x40d04a,_0x48b334=_0x4eeb39[_0x59edf3(0x264)](),_0x2a9fbd=await this['_startSheetCollabCursor'](_0x48b334);this['_entityInit$']['next'](_0x2a9fbd),this[_0x59edf3(0xb8)][_0x59edf3(0x19c)](_0x48b334,_0x2a9fbd);}),this['_univerInstanceService'][_0x40d04a(0x34c)](_0x5e4ee0[_0x40d04a(0xfd)][_0x40d04a(0x33d)])[_0x40d04a(0x182)](_0x2df3bb['takeUntil'](this[_0x40d04a(0x108)]))['pipe'](_0x2df3bb[_0x40d04a(0x2ed)](_0x36bf87=>!_0x36bf87[_0x40d04a(0x264)]()[_0x40d04a(0x252)]('__')))['subscribe'](async _0x5bf57f=>{const _0x3cd8fd=_0x40d04a,_0x589db4=_0x5bf57f[_0x3cd8fd(0x264)](),_0xedac0=await this['_startDocCollabCursor'](_0x589db4);this[_0x3cd8fd(0x20b)][_0x3cd8fd(0x269)](_0xedac0),this['_entities']['set'](_0x589db4,_0xedac0);}),_0x2df3bb['merge'](this['_univerInstanceService'][_0x40d04a(0x1ad)](_0x5e4ee0[_0x40d04a(0xfd)][_0x40d04a(0x33d)]),this[_0x40d04a(0x200)]['getTypeOfUnitDisposed$'](_0x5e4ee0[_0x40d04a(0xfd)][_0x40d04a(0x2ec)]))[_0x40d04a(0x182)](_0x2df3bb['takeUntil'](this[_0x40d04a(0x108)]))[_0x40d04a(0x23d)](_0xc17442=>{const _0x8f9af0=_0x40d04a,_0x3114a3=_0xc17442[_0x8f9af0(0x264)](),_0x4b11c0=this[_0x8f9af0(0xb8)][_0x8f9af0(0x197)](_0x3114a3);_0x4b11c0&&(_0x4b11c0['dispose'](),this[_0x8f9af0(0xb8)]['delete'](_0x3114a3));});}async[_0x2563a1(0x29c)](_0x2eb90a){const _0x4987ba=_0x2563a1,_0x19d5b6=await this['_collabSessionService'][_0x4987ba(0x2b4)](_0x2eb90a),_0x552f9a=this['_injector'][_0x4987ba(0x240)](_0x43439b,_0x2eb90a,_0x19d5b6);return _0x552f9a[_0x4987ba(0x1c9)](),_0x552f9a;}async[_0x2563a1(0x125)](_0x30e3d3){const _0x226047=_0x2563a1,_0x5ed783=await this[_0x226047(0x152)][_0x226047(0x2b4)](_0x30e3d3),_0x53b857=this['_injector']['createInstance'](_0x208759,_0x30e3d3,_0x5ed783);return _0x53b857[_0x226047(0x1c9)](),_0x53b857;}};_0x11f07c=_0x239a60([_0x301167(0x0,_0x5e4ee0[_0x2563a1(0x349)]),_0x301167(0x1,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0['Injector'])),_0x301167(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x268c5e['CollaborationSessionService']))],_0x11f07c);const _0x6400ac=0x14,_0x50210e=0xc8,_0x59d3ed=0x4,_0x15bae7=0x5;function _0x20e175(_0x4fdbd0,_0x57ad75){const _0x4af8d4=_0x2563a1;let {radius:_0x42705c,width:_0xf9f4ab,height:_0x476451}=_0x57ad75;_0x42705c=_0x42705c!=null?_0x42705c:0x0,_0xf9f4ab=_0xf9f4ab!=null?_0xf9f4ab:0x1e,_0x476451=_0x476451!=null?_0x476451:0x1e;let _0x519c26=0x0,_0x2ecef=0x0,_0x10f0ee=0x0;_0x519c26=_0x2ecef=_0x10f0ee=Math['min'](_0x42705c,_0xf9f4ab/0x2,_0x476451/0x2),_0x4fdbd0['beginPath'](),_0x4fdbd0[_0x4af8d4(0x2e6)](_0x519c26,0x0),_0x4fdbd0[_0x4af8d4(0x351)](_0xf9f4ab-_0x2ecef,0x0),_0x4fdbd0[_0x4af8d4(0x22c)](_0xf9f4ab-_0x2ecef,_0x2ecef,_0x2ecef,Math['PI']*0x3/0x2,0x0,!0x1),_0x4fdbd0['lineTo'](_0xf9f4ab,_0x476451-_0x10f0ee),_0x4fdbd0[_0x4af8d4(0x22c)](_0xf9f4ab-_0x10f0ee,_0x476451-_0x10f0ee,_0x10f0ee,0x0,Math['PI']/0x2,!0x1),_0x4fdbd0['lineTo'](0x0,_0x476451),_0x4fdbd0['lineTo'](0x0,_0x519c26),_0x4fdbd0[_0x4af8d4(0x22c)](_0x519c26,_0x519c26,_0x519c26,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4fdbd0[_0x4af8d4(0x2fb)](),_0x57ad75['fill']&&(_0x4fdbd0[_0x4af8d4(0x24e)](),_0x4fdbd0[_0x4af8d4(0x19b)]=_0x57ad75['fill'],_0x57ad75['fillRule']==='evenodd'?_0x4fdbd0[_0x4af8d4(0x33a)](_0x4af8d4(0x344)):_0x4fdbd0[_0x4af8d4(0x33a)](),_0x4fdbd0[_0x4af8d4(0x186)]());}class _0x3c66ba extends _0x28e4ec[_0x2563a1(0x267)]{constructor(_0x853538,_0x4adab3){const _0x85df49=_0x2563a1;super(_0x853538,_0x4adab3),_0xd7874(this,_0x85df49(0x258)),_0xd7874(this,_0x85df49(0x247)),(this[_0x85df49(0x258)]=_0x4adab3==null?void 0x0:_0x4adab3[_0x85df49(0x258)],this['text']=_0x4adab3==null?void 0x0:_0x4adab3[_0x85df49(0x247)]);}static[_0x2563a1(0x11b)](_0x7dbed8,_0x161f62){const _0x47441a=_0x2563a1,{text:_0x8eda84,color:_0x4d875b}=_0x161f62;_0x7dbed8[_0x47441a(0x24e)](),_0x7dbed8['font']=_0x47441a(0x104);const _0x4f2c90=_0x7dbed8[_0x47441a(0x327)](_0x8eda84)[_0x47441a(0x295)],_0x2eb664=Math[_0x47441a(0x129)](_0x4f2c90+0x2*_0x59d3ed,_0x50210e);_0x20e175(_0x7dbed8,{'height':_0x6400ac,'radius':0x4,'width':_0x2eb664,'fill':_0x4d875b}),_0x7dbed8['fillStyle']=_0x47441a(0x16f);const _0x4af5e0=_0x59d3ed,_0xdcddc3=_0x6400ac-_0x15bae7,_0x58ae39=_0x50210e-0x2*_0x59d3ed;if(_0x4f2c90>_0x58ae39){let _0x1277ec='',_0x3030dd=0x0;for(const _0x37d7b4 of _0x8eda84){const _0x70670d=_0x7dbed8['measureText'](_0x37d7b4)[_0x47441a(0x295)];if(_0x3030dd+_0x70670d<=_0x58ae39-_0x7dbed8[_0x47441a(0x327)]('...')[_0x47441a(0x295)])_0x1277ec+=_0x37d7b4,_0x3030dd+=_0x70670d;else{_0x1277ec+=_0x47441a(0x30a);break;}}_0x7dbed8['fillText'](_0x1277ec,_0x4af5e0,_0xdcddc3);}else _0x7dbed8[_0x47441a(0x25d)](_0x8eda84,_0x4af5e0,_0xdcddc3);_0x7dbed8[_0x47441a(0x186)]();}[_0x2563a1(0x254)](_0x31a249){_0x3c66ba['drawWith'](_0x31a249,this);}}const _0xf70531=_0x2563a1(0x10a),_0x184603=_0x2563a1(0x321),_0x1b1d19='collab-rect-range-',_0x2d2be=0x6,_0x19abbc=1.5,_0x1814ef=0x4,_0x56ee73=1.5,_0x5d88b8=_0x2563a1(0xc9);class _0x74353f{constructor(_0x26902f,_0x3e5655,_0x3298d1,_0x1c260b){const _0x34e3c2=_0x2563a1;_0xd7874(this,_0x34e3c2(0x30b),[]),_0xd7874(this,_0x34e3c2(0x356),null),_0xd7874(this,_0x34e3c2(0x167),null),_0xd7874(this,'_anchorDot',null),_0xd7874(this,_0x34e3c2(0x2fa),null),_0xd7874(this,_0x34e3c2(0x326),null),(this['_cursor']=_0x26902f,this[_0x34e3c2(0x27f)]=_0x3e5655,this[_0x34e3c2(0x347)]=_0x3298d1,this[_0x34e3c2(0x11e)]=_0x1c260b,this[_0x34e3c2(0x20d)]());}set['_hover'](_0x2e052f){const _0x45f3bf=_0x2563a1;_0x2e052f?(this[_0x45f3bf(0x29d)]&&this[_0x45f3bf(0x29d)][_0x45f3bf(0x27c)](),this[_0x45f3bf(0x167)]&&this[_0x45f3bf(0x167)][_0x45f3bf(0xf0)]()):(this[_0x45f3bf(0x29d)]&&this[_0x45f3bf(0x29d)]['show'](),this[_0x45f3bf(0x167)]&&this[_0x45f3bf(0x167)]['hide']());}[_0x2563a1(0x1f2)](){const _0x3eb496=_0x2563a1;for(const _0x3ae939 of this[_0x3eb496(0x30b)])_0x3ae939[_0x3eb496(0x1f2)]();this['_textBubble']&&this[_0x3eb496(0x167)][_0x3eb496(0x1f2)](),this[_0x3eb496(0x29d)]&&this[_0x3eb496(0x29d)][_0x3eb496(0x1f2)](),this[_0x3eb496(0x356)]&&this[_0x3eb496(0x356)][_0x3eb496(0x1f2)](),this[_0x3eb496(0x326)]&&this['_eventUnsubscribe']();}[_0x2563a1(0x20d)](){const _0x3d96b3=_0x2563a1;var _0x11550a;const {_docSkeleton:_0x59f402,_document:_0x1a3f68}=this,{color:_0x43ed3e,name:_0x56051c,ranges:_0x1d7f88}=this[_0x3d96b3(0x1ac)],_0x286a8f=_0x1a3f68[_0x3d96b3(0x335)](),{docsLeft:_0x38deb6,docsTop:_0x32b442}=_0x286a8f,_0x4e2fed=new _0x3cbde7[(_0x3d96b3(0xea))](_0x286a8f,_0x59f402);for(const {startOffset:_0x4b25a0,endOffset:_0x30788c,rangeType:_0x5afefc,segmentId:_0x4e6ed4,segmentPage:_0x1716db,collapsed:_0x340e24,isActive:_0x3e43b8}of _0x1d7f88){const _0x3681ba=_0x59f402['findNodePositionByCharIndex'](_0x4b25a0,!0x0,_0x4e6ed4,_0x1716db);let _0x30a140=_0x59f402[_0x3d96b3(0x161)](_0x30788c,!0x0,_0x4e6ed4,_0x1716db);if(_0x30a140==null&&(_0x30a140=_0x59f402[_0x3d96b3(0x161)](_0x30788c-0x1,!0x1,_0x4e6ed4,_0x1716db)),_0x3e43b8){const {contentBoxPointGroup:_0x376465}=_0x4e2fed['getRangePointData'](_0x30a140,_0x30a140);if(_0x376465[_0x3d96b3(0x2a7)]===0x0)continue;this[_0x3d96b3(0x2e8)](_0x43ed3e,_0x376465,_0x38deb6,_0x32b442,_0x56051c),this[_0x3d96b3(0x326)]=this[_0x3d96b3(0xcb)]();}if(_0x3681ba&&_0x30a140){if(_0x5afefc===_0x5e4ee0[_0x3d96b3(0x13b)]['RECT']){const _0xf69754=new _0x3cbde7['NodePositionConvertToRectRange'](_0x286a8f,_0x59f402),{pointGroup:_0x3245f5}=(_0x11550a=_0xf69754[_0x3d96b3(0xb0)](_0x3681ba,_0x30a140))!=null?_0x11550a:{};if(_0x3245f5==null||_0x3245f5[_0x3d96b3(0x2a7)]===0x0)continue;this[_0x3d96b3(0x328)](_0x43ed3e,_0x3245f5,_0x38deb6,_0x32b442);}else{if(!_0x340e24){const {borderBoxPointGroup:_0x44ebf6}=_0x4e2fed['getRangePointData'](_0x3681ba,_0x30a140);if(_0x44ebf6[_0x3d96b3(0x2a7)]===0x0)continue;this[_0x3d96b3(0xcf)](_0x43ed3e,_0x44ebf6,_0x38deb6,_0x32b442);}}}}}['_drawAnchor'](_0x8a5562,_0xa3e08a,_0x22a8a8,_0x5a8835,_0x123852){const _0x5db750=_0x2563a1,_0x252e0a=this['_getAnchorBounding'](_0xa3e08a),{left:_0x40778f,top:_0x3463c4,height:_0x3946ce}=_0x252e0a,_0x4e0f8d=this[_0x5db750(0x14d)](),_0x117428=_0x56ee73/_0x4e0f8d,_0x1bd430=new _0x28e4ec[(_0x5db750(0x2a9))](_0xf70531+_0x5e4ee0[_0x5db750(0xe4)]['generateRandomId'](_0x2d2be),{'left':_0x40778f+_0x22a8a8-_0x117428,'top':_0x3463c4+_0x5a8835,'height':_0x3946ce,'width':_0x19abbc,'fill':_0x8a5562||_0x28e4ec[_0x5db750(0x1bc)](_0x5e4ee0[_0x5db750(0x355)][_0x5db750(0x32a)],0x0),'strokeWidth':_0x117428,'stroke':_0x5d88b8,'evented':!0x0});this[_0x5db750(0x356)]=_0x1bd430,this[_0x5db750(0x27f)][_0x5db750(0x265)](_0x1bd430,_0x3cbde7[_0x5db750(0x20a)]);const _0x442aac=new _0x28e4ec[(_0x5db750(0x2a9))](_0xf70531+_0x5e4ee0['Tools'][_0x5db750(0x312)](_0x2d2be),{'left':_0x40778f+_0x22a8a8-_0x117428,'top':_0x3463c4+_0x5a8835-_0x1814ef/0x2,'height':_0x1814ef,'width':_0x1814ef,'fill':_0x8a5562||_0x28e4ec[_0x5db750(0x1bc)](_0x5e4ee0[_0x5db750(0x355)][_0x5db750(0x32a)],0x0),'strokeWidth':0x0,'stroke':_0x8a5562||_0x28e4ec['getColor'](_0x5e4ee0[_0x5db750(0x355)][_0x5db750(0x32a)],0x0),'evented':!0x1});this['_anchorDot']=_0x442aac,this['_scene'][_0x5db750(0x265)](_0x442aac,_0x3cbde7[_0x5db750(0x20a)]);const _0x8b10eb=new _0x3c66ba(_0xf70531+_0x5e4ee0['Tools'][_0x5db750(0x312)](_0x2d2be),{'left':_0x40778f+_0x22a8a8-_0x117428,'top':_0x3463c4+_0x5a8835-_0x6400ac,'text':_0x123852,'color':_0x8a5562});this['_textBubble']=_0x8b10eb,this[_0x5db750(0x27f)][_0x5db750(0x265)](_0x8b10eb,_0x3cbde7[_0x5db750(0x20a)]),this[_0x5db750(0x210)]=!0x1;}[_0x2563a1(0xcb)](){const _0xc8dffc=_0x2563a1,_0x1e11ec=this['_anchor'][_0xc8dffc(0x31c)]['subscribeEvent'](()=>{const _0x45a794=_0xc8dffc;this[_0x45a794(0x210)]=!0x0;}),_0xf3b168=this[_0xc8dffc(0x356)][_0xc8dffc(0x24d)][_0xc8dffc(0xf2)](()=>{const _0x2693e3=_0xc8dffc;this[_0x2693e3(0x2fa)]&&clearTimeout(this[_0x2693e3(0x2fa)]),this[_0x2693e3(0x2fa)]=setTimeout(()=>{const _0x435474=_0x2693e3;this[_0x435474(0x210)]=!0x1;},0x7d0);});return()=>{const _0x1c5248=_0xc8dffc;_0x1e11ec[_0x1c5248(0x15d)](),_0xf3b168[_0x1c5248(0x15d)]();};}[_0x2563a1(0xcf)](_0x1945d2,_0x266f68,_0x4d1860,_0x480020){const _0x37390a=_0x2563a1,_0x170c00=new _0x5e4ee0[(_0x37390a(0x219))](_0x1945d2)[_0x37390a(0x143)](0.2)[_0x37390a(0x10b)](),_0x51e1f3=new _0x28e4ec[(_0x37390a(0x1cb))](_0x184603+_0x5e4ee0[_0x37390a(0xe4)]['generateRandomId'](_0x2d2be),{'pointsGroup':_0x266f68,'fill':_0x170c00||_0x28e4ec[_0x37390a(0x1bc)](_0x5e4ee0[_0x37390a(0x355)]['black'],0.2),'left':_0x4d1860,'top':_0x480020,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x37390a(0x30b)][_0x37390a(0x249)](_0x51e1f3),this['_scene'][_0x37390a(0x265)](_0x51e1f3,_0x3cbde7[_0x37390a(0x20a)]);}['_drawRectRange'](_0x507fb3,_0xce7b25,_0x234b71,_0x294905){const _0x448e87=_0x2563a1,_0x519aed=new _0x5e4ee0[(_0x448e87(0x219))](_0x507fb3)[_0x448e87(0x143)](0.2)['toRgbString'](),_0x337635=new _0x28e4ec[(_0x448e87(0x1cb))](_0x1b1d19+_0x5e4ee0[_0x448e87(0xe4)][_0x448e87(0x312)](_0x2d2be),{'pointsGroup':_0xce7b25,'fill':_0x519aed||_0x28e4ec[_0x448e87(0x1bc)](_0x5e4ee0['COLORS']['black'],0.2),'left':_0x234b71,'top':_0x294905,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x448e87(0x30b)]['push'](_0x337635),this[_0x448e87(0x27f)][_0x448e87(0x265)](_0x337635,_0x3cbde7[_0x448e87(0x20a)]);}[_0x2563a1(0x2b6)](_0x5695ee){const _0x1c0075=_0x5695ee[0x0],_0x10351c=_0x1c0075[0x0],_0x2e19b2=_0x1c0075[0x2],{x:_0x2590c5,y:_0x2a8d5f}=_0x10351c,{x:_0x179fd8,y:_0x4e9ca9}=_0x2e19b2;return{'left':_0x2590c5,'top':_0x2a8d5f,'width':_0x179fd8-_0x2590c5,'height':_0x4e9ca9-_0x2a8d5f};}[_0x2563a1(0x14d)](){const _0x5e6693=_0x2563a1,{scaleX:_0x1e0ea9,scaleY:_0x2337aa}=this['_scene'][_0x5e6693(0x1a2)]();return Math['max'](_0x1e0ea9,_0x2337aa);}}var _0x2a45b9=Object[_0x2563a1(0x1b5)],_0x40041b=(_0x5b3fb8,_0x790081,_0x17521c,_0x243ad1)=>{const _0x556f24=_0x2563a1;for(var _0xe94097=_0x243ad1>0x1?void 0x0:_0x243ad1?_0x2a45b9(_0x790081,_0x17521c):_0x790081,_0x39634b=_0x5b3fb8[_0x556f24(0x2a7)]-0x1,_0x37ff02;_0x39634b>=0x0;_0x39634b--)(_0x37ff02=_0x5b3fb8[_0x39634b])&&(_0xe94097=_0x37ff02(_0xe94097)||_0xe94097);return _0xe94097;},_0x340670=(_0x5d2ac5,_0x4f7e84)=>(_0x444364,_0x30dd0f)=>_0x4f7e84(_0x444364,_0x30dd0f,_0x5d2ac5);let _0x2bc842=class extends _0x5e4ee0[_0x2563a1(0x307)]{constructor(_0x42e89b,_0x3632f5,_0xffe4fc,_0xdcec57,_0x3b8048){const _0x1b2f45=_0x2563a1;super(),_0xd7874(this,_0x1b2f45(0x32b),[]),_0xd7874(this,_0x1b2f45(0x1bd),[]),(this['_context']=_0x42e89b,this['_docSkeletonManagerService']=_0x3632f5,this[_0x1b2f45(0x268)]=_0xffe4fc,this[_0x1b2f45(0x288)]=_0xdcec57,this['_themeService']=_0x3b8048,this[_0x1b2f45(0x270)]());}[_0x2563a1(0x270)](){const _0x17c6ad=_0x2563a1,_0x202802=this['_context'][_0x17c6ad(0xb6)],_0x19f002=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x2df3bb['combineLatest']([this[_0x17c6ad(0x268)][_0x17c6ad(0x271)](_0x202802),this[_0x17c6ad(0x213)][_0x17c6ad(0xd1)]])[_0x17c6ad(0x182)](_0x593199['map'](([_0x3cc273,_0x51af18])=>({'skeleton':_0x19f002[_0x17c6ad(0x280)](),'cursors':[..._0x3cc273[_0x17c6ad(0x13c)]()][_0x17c6ad(0x22a)](_0x32666f=>({..._0x32666f,'color':this[_0x17c6ad(0x213)][_0x17c6ad(0x29b)](_0x32666f[_0x17c6ad(0x258)])}))})))[_0x17c6ad(0x23d)](_0x16a2ea=>{const _0x346ef9=_0x17c6ad;if(this[_0x346ef9(0xc5)](),_0x16a2ea){const {skeleton:_0x3e84ae,cursors:_0x234b63}=_0x16a2ea;this[_0x346ef9(0x332)](_0x3e84ae,_0x234b63);}})),this[_0x17c6ad(0x350)](),this[_0x17c6ad(0xb1)]();}[_0x2563a1(0x332)](_0x1b967f,_0xb96985){const _0x47ccf6=_0x2563a1,{scene:_0x260334,mainComponent:_0x55edd6}=this['_context'],_0xac4daf=_0xb96985[_0x47ccf6(0x214)](_0x58d286=>new _0x74353f(_0x58d286,_0x260334,_0x1b967f,_0x55edd6));this['_cursorShapes']=_0xac4daf,this[_0x47ccf6(0x1bd)]=_0xb96985;}[_0x2563a1(0xd5)](){const _0x473128=_0x2563a1;this[_0x473128(0xc5)]();const {scene:_0x405d90,mainComponent:_0x36bb76}=this[_0x473128(0x110)],_0x4636a2=this[_0x473128(0xc6)][_0x473128(0x280)](),_0x5f3528=this[_0x473128(0x1bd)][_0x473128(0x214)](_0x1210bf=>new _0x74353f(_0x1210bf,_0x405d90,_0x4636a2,_0x36bb76));this[_0x473128(0x32b)]=_0x5f3528;}[_0x2563a1(0xc5)](){this['_cursorShapes']['forEach'](_0x5476ab=>_0x5476ab['dispose']()),this['_cursorShapes']=[];}[_0x2563a1(0xb1)](){const _0xec637=_0x2563a1,_0x38f504=[_0x3cbde7['SetDocZoomRatioOperation']['id']];this[_0xec637(0x153)](this[_0xec637(0x288)]['onCommandExecuted'](_0xbc2560=>{const _0x185f5a=_0xec637;_0x38f504['includes'](_0xbc2560['id'])&&_0xbc2560['params']['unitId']===this['_context'][_0x185f5a(0xb6)]&&this['_refreshCollabCursors']();}));}[_0x2563a1(0x350)](){const _0x5d8b17=_0x2563a1;this[_0x5d8b17(0x153)](_0x5e4ee0[_0x5d8b17(0x2f3)](this[_0x5d8b17(0x110)][_0x5d8b17(0x274)][_0x5d8b17(0x2a3)])[_0x5d8b17(0x182)](_0x593199[_0x5d8b17(0x2ed)](_0x4d28c4=>_0x4d28c4[_0x5d8b17(0x166)]===_0x28e4ec[_0x5d8b17(0x2b7)][_0x5d8b17(0x2dc)]),_0x593199['throttleTime'](0x10))[_0x5d8b17(0x23d)](()=>{const _0x4c1513=_0x5d8b17;this[_0x4c1513(0xd5)]();}));}};_0x2bc842=_0x40041b([_0x340670(0x1,_0x5e4ee0[_0x2563a1(0xaf)](_0x3b399e[_0x2563a1(0x2e9)])),_0x340670(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x11f07c)),_0x340670(0x3,_0x5e4ee0['ICommandService']),_0x340670(0x4,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0[_0x2563a1(0x2d3)]))],_0x2bc842);const _0x3851a3=0x1,_0x2a2adb=1.5;class _0x29234a extends _0x28e4ec[_0x2563a1(0x267)]{constructor(_0xbbcf6b,_0x14240b){const _0x38d997=_0x2563a1;super(_0xbbcf6b,_0x14240b),_0xd7874(this,_0x38d997(0x18f)),_0xd7874(this,_0x38d997(0x20e),!0x1),_0xd7874(this,_0x38d997(0x169)),_0xd7874(this,_0x38d997(0x30d),''),_0xd7874(this,_0x38d997(0x13d),_0x38d997(0x28a)),_0xd7874(this,'_backgroundColor'),(_0x14240b&&this['setShapeProps'](_0x14240b),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x38d997(0xf2)](()=>this[_0x38d997(0x341)]({'hovered':!0x1})));}[_0x2563a1(0x341)](_0x119987){const _0x31b4a3=_0x2563a1;var _0x3f3081,_0x5dad64,_0x514293,_0x18f0c5,_0x4737e1,_0x240fca;this['_color']=(_0x3f3081=_0x119987['color'])!=null?_0x3f3081:this['_color'],this['_hovered']=(_0x5dad64=_0x119987[_0x31b4a3(0x2bb)])!=null?_0x5dad64:this[_0x31b4a3(0x20e)],this[_0x31b4a3(0x169)]=(_0x514293=_0x119987['range'])!=null?_0x514293:this['_range'],this[_0x31b4a3(0x30d)]=(_0x18f0c5=_0x119987[_0x31b4a3(0xd2)])!=null?_0x18f0c5:this['_name'],this['_labelPosition']=(_0x4737e1=_0x119987['labelPosition'])!=null?_0x4737e1:this[_0x31b4a3(0x13d)],this['_backgroundColor']=(_0x240fca=_0x119987[_0x31b4a3(0x2fe)])!=null?_0x240fca:this['_backgroundColor'],this[_0x31b4a3(0x1a0)]({'width':_0x119987[_0x31b4a3(0x295)],'height':_0x119987[_0x31b4a3(0x2b8)]});}[_0x2563a1(0x1ca)](_0x1f5a08){const _0x1db8e1=_0x2563a1,{row:_0x1cbeb2,column:_0x12cb54}=_0x1f5a08;if(_0x1cbeb2>=this[_0x1db8e1(0x169)][_0x1db8e1(0x205)]&&_0x1cbeb2<=this[_0x1db8e1(0x169)][_0x1db8e1(0x2d6)]&&_0x12cb54>=this[_0x1db8e1(0x169)][_0x1db8e1(0x135)]&&_0x12cb54<=this[_0x1db8e1(0x169)]['endColumn']){this[_0x1db8e1(0x341)]({'hovered':!0x0});return;}this[_0x1db8e1(0x341)]({'hovered':!0x1});}[_0x2563a1(0x1f6)](_0x5b97bd){return!0x1;}[_0x2563a1(0x254)](_0x31d949){const _0x4e5499=_0x2563a1;_0x28e4ec['Rect'][_0x4e5499(0x11b)](_0x31d949,{'width':this['width'],'height':this['height'],'strokeWidth':_0x2a2adb,'stroke':this[_0x4e5499(0x18f)],'evented':!0x1,'fill':this[_0x4e5499(0x158)]}),this[_0x4e5499(0x20e)]&&(_0x31d949['save'](),_0x31d949[_0x4e5499(0x13e)](0x1,0x0,0x0,0x1,this[_0x4e5499(0x295)],this[_0x4e5499(0x13d)]===_0x4e5499(0x29e)?0x0:-0x14),_0x3c66ba[_0x4e5499(0x11b)](_0x31d949,{'text':this[_0x4e5499(0x30d)],'color':this[_0x4e5499(0x18f)]}),_0x31d949[_0x4e5499(0x186)]());}}var _0x3dc93d=Object[_0x2563a1(0x1b5)],_0x14de45=(_0x1fa84c,_0x6fd701,_0x37a4ee,_0x12d372)=>{const _0x2d0aee=_0x2563a1;for(var _0x2a81a3=_0x12d372>0x1?void 0x0:_0x12d372?_0x3dc93d(_0x6fd701,_0x37a4ee):_0x6fd701,_0x737e16=_0x1fa84c[_0x2d0aee(0x2a7)]-0x1,_0x3fa633;_0x737e16>=0x0;_0x737e16--)(_0x3fa633=_0x1fa84c[_0x737e16])&&(_0x2a81a3=_0x3fa633(_0x2a81a3)||_0x2a81a3);return _0x2a81a3;},_0x8e2a39=(_0x5ae338,_0x11d0f1)=>(_0x5b7df8,_0x5d1a6f)=>_0x11d0f1(_0x5b7df8,_0x5d1a6f,_0x5ae338);const _0x3943a0=0x1389;let _0x58a54f=class extends _0x5e4ee0['RxDisposable']{constructor(_0x56187a,_0x36a517,_0x589140,_0x253d11){const _0x3bfc05=_0x2563a1;super(),_0xd7874(this,'_cursors',new Set()),_0xd7874(this,_0x3bfc05(0x2a1),null),(this['_context']=_0x56187a,this[_0x3bfc05(0x1f4)]=_0x36a517,this[_0x3bfc05(0x268)]=_0x589140,this[_0x3bfc05(0x213)]=_0x253d11,this[_0x3bfc05(0x270)]());}[_0x2563a1(0x270)](){const _0x1e9ff0=_0x2563a1;this[_0x1e9ff0(0x1f4)][_0x1e9ff0(0x2de)][_0x1e9ff0(0x182)](_0x593199['takeUntil'](this['dispose$']),_0x593199['switchMap'](_0x3df513=>{const _0x4452bc=_0x1e9ff0;if(_0x3df513){const _0x1bc4d4=_0x3df513['sheetId'];return _0x2df3bb[_0x4452bc(0x17b)](this[_0x4452bc(0x268)][_0x4452bc(0x271)](this[_0x4452bc(0x110)][_0x4452bc(0xb6)]),this[_0x4452bc(0x213)][_0x4452bc(0xd1)])[_0x4452bc(0x182)](_0x593199['map'](([_0x25c57d,_0x3d362a])=>{const _0x1d17e4=_0x4452bc,_0x3ca6a5=new Map();return _0x25c57d[_0x1d17e4(0x10c)]((_0x36438b,_0xc2e0e)=>{const _0x529e5e=_0x1d17e4;if(_0x36438b[_0x529e5e(0x284)]===_0x1bc4d4){const _0x9e9a74={..._0x36438b};_0x9e9a74[_0x529e5e(0x258)]=this['_themeService'][_0x529e5e(0x29b)](_0x36438b['color']),_0x3ca6a5['set'](_0xc2e0e,_0x9e9a74);}}),{'skeleton':_0x3df513,'cursors':_0x3ca6a5};}));}return _0x2df3bb['of']({'skeleton':null,'cursors':new Map()});}))[_0x1e9ff0(0x23d)](({skeleton:_0x27d918,cursors:_0x3a9272})=>{const _0x3faa1c=_0x1e9ff0;this[_0x3faa1c(0xc5)](),_0x27d918&&this[_0x3faa1c(0x332)](_0x27d918,_0x3a9272);}),this[_0x1e9ff0(0x1f4)][_0x1e9ff0(0x2de)][_0x1e9ff0(0x23d)](_0x3ecf71=>{const _0x441d5f=_0x1e9ff0;if(_0x3ecf71==null)return;const {skeleton:_0x271ffc}=_0x3ecf71,{scene:_0x204619}=this[_0x441d5f(0x110)];_0x204619['onPointerMove$']['subscribeEvent'](_0x5e4ee0['debounce'](_0xa2a229=>{const _0x3049cc=_0x441d5f;var _0xe102ca,_0x2ca4f3;const {offsetX:_0x346a7d,offsetY:_0x5f3d52}=_0xa2a229,{x:_0x1f7d5e,y:_0xc5cde0}=_0x204619[_0x3049cc(0x1e6)](_0x28e4ec[_0x3049cc(0x16e)][_0x3049cc(0xf4)]([_0x346a7d,_0x5f3d52])),{scaleX:_0x4b99be,scaleY:_0x458a38}=_0x204619[_0x3049cc(0x1a2)](),_0x1fd496=_0x204619[_0x3049cc(0x21e)](_0x28e4ec[_0x3049cc(0x246)]['VIEW_MAIN']),_0x4bfb1b=_0x204619[_0x3049cc(0x26c)](_0x28e4ec[_0x3049cc(0x16e)]['FromArray']([_0x1f7d5e,_0xc5cde0]),_0x1fd496),_0x160754=_0x271ffc['getCellPositionByOffset'](_0x346a7d,_0x5f3d52,_0x4b99be,_0x458a38,_0x4bfb1b);((_0xe102ca=this[_0x3049cc(0x2a1)])==null?void 0x0:_0xe102ca['column'])===_0x160754[_0x3049cc(0x198)]&&((_0x2ca4f3=this[_0x3049cc(0x2a1)])==null?void 0x0:_0x2ca4f3[_0x3049cc(0x286)])===_0x160754['row']||this['_cursors'][_0x3049cc(0x10c)](_0x372df1=>{const _0xda1763=_0x3049cc;_0x372df1[_0xda1763(0x1ca)](_0x160754);});},0x64));});}[_0x2563a1(0x332)](_0x2213b5,_0x5beaad){const _0x14140=_0x2563a1;var _0x5b1867;const _0x2b0264=(_0x5b1867=this[_0x14140(0x1f4)][_0x14140(0x26b)]())==null?void 0x0:_0x5b1867[_0x14140(0x26a)];if(!_0x2b0264)return;const _0x5f22e7=this[_0x14140(0x285)]();if(!_0x5f22e7)return;this[_0x14140(0x1bd)][_0x14140(0x10c)](_0x142cb6=>{const _0x1584ca=_0x14140;_0x142cb6[_0x1584ca(0x162)]();});const {scene:_0x17d38d}=_0x5f22e7,_0x543d5d=_0x1e0b3f(Array[_0x14140(0x2ba)](_0x5beaad[_0x14140(0x13c)]()))[_0x14140(0x214)](_0x1723d5=>{const _0xfeba24=_0x14140,{color:_0x1a0d21,range:_0x4c043f,name:_0x36889f,selection:_0x5a02c6,sheetID:_0x4ad061}=_0x1723d5,{startColumn:_0x59344f,startRow:_0x1871ca,endColumn:_0x410cb0,endRow:_0x403fe3}=_0x4c043f,_0x526458=_0x11dcc2[_0xfeba24(0x201)](_0x1871ca,_0x59344f,_0x17d38d,_0x2b0264),_0x14f47f=_0x11dcc2[_0xfeba24(0x201)](_0x403fe3,_0x410cb0,_0x17d38d,_0x2b0264),{columnHeaderHeightAndMarginTop:_0x54ca26}=_0x2b0264,{startX:_0x434d1e,startY:_0x308b9f}=_0x526458,{endX:_0x3bc86e,endY:_0x5de250}=_0x14f47f,_0x1eb7fa=_0x3bc86e-_0x434d1e,_0x44139d=_0x5de250-_0x308b9f,_0x1753e1={'labelPosition':_0x308b9f-_0x54ca26>=_0x6400ac?_0xfeba24(0x28a):_0xfeba24(0x29e),'sheetID':_0x4ad061,'range':_0x4c043f,'color':_0x1a0d21,'name':_0x36889f,'selection':_0x5a02c6,'left':_0x434d1e,'top':_0x308b9f,'width':_0x1eb7fa,'height':_0x44139d,'evented':!0x1,'zIndex':_0x3943a0};return new _0x29234a(_0x36889f,_0x1753e1);});_0x17d38d['addObjects'](_0x543d5d,_0x3851a3),this[_0x14140(0x1bd)]=new Set(_0x543d5d);}[_0x2563a1(0xc5)](){const _0x2d4429=_0x2563a1;var _0xe4e156;(_0xe4e156=this[_0x2d4429(0x1bd)])==null||_0xe4e156['forEach'](_0x4a8c90=>_0x4a8c90['dispose']());}['_getSheetObject'](){const _0x4f1bd6=_0x2563a1;return _0x11dcc2[_0x4f1bd6(0x308)](this[_0x4f1bd6(0x110)][_0x4f1bd6(0x1b2)],this['_context']);}};_0x58a54f=_0x14de45([_0x8e2a39(0x1,_0x5e4ee0[_0x2563a1(0xaf)](_0x11dcc2[_0x2563a1(0xf7)])),_0x8e2a39(0x2,_0x5e4ee0['Inject'](_0x11f07c)),_0x8e2a39(0x3,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0[_0x2563a1(0x2d3)]))],_0x58a54f);function _0x1e0b3f(_0x55b8fc){const _0x5716a5=_0x2563a1,_0x14dffe=new Map();return _0x55b8fc['forEach'](_0x7b3068=>{const _0x1aec63=_0x5ad2;if(_0x14dffe['has'](_0x7b3068['selection'])){const _0x26e8cd=_0x14dffe['get'](_0x7b3068[_0x1aec63(0x324)]);_0x26e8cd[_0x1aec63(0xd2)]+=',\x20'+_0x7b3068[_0x1aec63(0xd2)];}else _0x14dffe[_0x1aec63(0x19c)](_0x7b3068['selection'],_0x7b3068);}),Array[_0x5716a5(0x2ba)](_0x14dffe[_0x5716a5(0x13c)]());}var _0x59dfc3=function(){const _0x7ec248=_0x2563a1;return _0x59dfc3=Object[_0x7ec248(0x261)]||function(_0x4b346d){const _0x5b7fbe=_0x7ec248;for(var _0x572d04,_0x18b109=0x1,_0x381afa=arguments[_0x5b7fbe(0x2a7)];_0x18b109<_0x381afa;_0x18b109++){_0x572d04=arguments[_0x18b109];for(var _0x5f1ed4 in _0x572d04)Object[_0x5b7fbe(0x33e)][_0x5b7fbe(0x1d2)][_0x5b7fbe(0xde)](_0x572d04,_0x5f1ed4)&&(_0x4b346d[_0x5f1ed4]=_0x572d04[_0x5f1ed4]);}return _0x4b346d;},_0x59dfc3[_0x7ec248(0xeb)](this,arguments);},_0x47c0a6=function(_0x583751,_0x8a66ae){const _0x25a36=_0x2563a1;var _0x13bca2={};for(var _0x341144 in _0x583751)Object[_0x25a36(0x33e)][_0x25a36(0x1d2)][_0x25a36(0xde)](_0x583751,_0x341144)&&_0x8a66ae[_0x25a36(0x24a)](_0x341144)<0x0&&(_0x13bca2[_0x341144]=_0x583751[_0x341144]);if(_0x583751!=null&&typeof Object[_0x25a36(0x14a)]==_0x25a36(0x330)){for(var _0xa7cb47=0x0,_0x341144=Object[_0x25a36(0x14a)](_0x583751);_0xa7cb47<_0x341144['length'];_0xa7cb47++)_0x8a66ae[_0x25a36(0x24a)](_0x341144[_0xa7cb47])<0x0&&Object[_0x25a36(0x33e)]['propertyIsEnumerable'][_0x25a36(0xde)](_0x583751,_0x341144[_0xa7cb47])&&(_0x13bca2[_0x341144[_0xa7cb47]]=_0x583751[_0x341144[_0xa7cb47]]);}return _0x13bca2;},_0x411504=_0x2058b3[_0x2563a1(0x1e9)](function(_0x194a39,_0x41cf5d){const _0x25b094=_0x2563a1;var _0x379850=_0x194a39[_0x25b094(0x2e5)],_0x1d949a=_0x194a39['id'],_0x5b955c=_0x194a39[_0x25b094(0x103)],_0x66e0ff=_0x194a39['extend'],_0x2896ae=_0x47c0a6(_0x194a39,[_0x25b094(0x2e5),'id',_0x25b094(0x103),_0x25b094(0x1bb)]),_0x40bc07='univerjs-icon\x20univerjs-icon-'[_0x25b094(0x189)](_0x1d949a,'\x20')[_0x25b094(0x189)](_0x5b955c||'')[_0x25b094(0x21b)](),_0x483aff=_0x2058b3[_0x25b094(0x1a3)]('_'[_0x25b094(0x189)](_0x4ed6a3()));return _0x341ba1(_0x379850,''[_0x25b094(0x189)](_0x1d949a),{'defIds':_0x379850['defIds'],'idSuffix':_0x483aff['current']},_0x59dfc3({'ref':_0x41cf5d,'className':_0x40bc07},_0x2896ae),_0x66e0ff);});function _0x341ba1(_0x382819,_0x1f88b9,_0x2565d2,_0x4d2bfb,_0x2dbb89){const _0x46c8bb=_0x2563a1;return _0x2058b3[_0x46c8bb(0x2af)](_0x382819['tag'],_0x59dfc3(_0x59dfc3({'key':_0x1f88b9},_0x42a71a(_0x382819,_0x2565d2,_0x2dbb89)),_0x4d2bfb),(_0x15c5da(_0x382819,_0x2565d2)[_0x46c8bb(0x28d)]||[])[_0x46c8bb(0x214)](function(_0x47ab40,_0x1864f5){const _0x448d5b=_0x46c8bb;return _0x341ba1(_0x47ab40,''[_0x448d5b(0x189)](_0x1f88b9,'-')[_0x448d5b(0x189)](_0x382819[_0x448d5b(0x2b5)],'-')['concat'](_0x1864f5),_0x2565d2,void 0x0,_0x2dbb89);}));}function _0x42a71a(_0x4fdc85,_0x34fa99,_0x226ab9){const _0x1ebe40=_0x2563a1;var _0x45a0c0=_0x59dfc3({},_0x4fdc85[_0x1ebe40(0x176)]);_0x226ab9!=null&&_0x226ab9[_0x1ebe40(0xe6)]&&_0x45a0c0[_0x1ebe40(0x33a)]===_0x1ebe40(0xe6)&&(_0x45a0c0['fill']=_0x226ab9[_0x1ebe40(0xe6)]),_0x4fdc85[_0x1ebe40(0x2b5)]===_0x1ebe40(0x1b4)&&_0x45a0c0['id']&&(_0x45a0c0['id']=_0x45a0c0['id']+_0x34fa99[_0x1ebe40(0x178)]),Object[_0x1ebe40(0x296)](_0x45a0c0)[_0x1ebe40(0x10c)](function(_0x18914){const _0x17b0ed=_0x1ebe40;var _0x2d7637=_0x18914[0x0],_0x4729bd=_0x18914[0x1];_0x2d7637===_0x17b0ed(0x1b4)&&typeof _0x4729bd==_0x17b0ed(0xfa)&&(_0x45a0c0[_0x2d7637]=_0x4729bd['replace'](/url\(#(.*)\)/,_0x17b0ed(0x2c9)[_0x17b0ed(0x189)](_0x34fa99[_0x17b0ed(0x178)],')')));});var _0x50bd2f=_0x34fa99[_0x1ebe40(0x163)];return!_0x50bd2f||_0x50bd2f[_0x1ebe40(0x2a7)]===0x0||(_0x4fdc85[_0x1ebe40(0x2b5)]===_0x1ebe40(0x117)&&_0x45a0c0[_0x1ebe40(0x1dd)]&&(_0x45a0c0[_0x1ebe40(0x1dd)]=_0x45a0c0['xlink:href']+_0x34fa99['idSuffix']),Object[_0x1ebe40(0x296)](_0x45a0c0)[_0x1ebe40(0x10c)](function(_0x38111c){const _0x508063=_0x1ebe40;var _0x5eee7b=_0x38111c[0x0],_0x469ab3=_0x38111c[0x1];typeof _0x469ab3==_0x508063(0xfa)&&(_0x45a0c0[_0x5eee7b]=_0x469ab3['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x34fa99[_0x508063(0x178)],')')));})),_0x45a0c0;}function _0x15c5da(_0x3fc555,_0xb6e062){const _0x59c56a=_0x2563a1;var _0x330f49,_0xf224ee=_0xb6e062[_0x59c56a(0x163)];return!_0xf224ee||_0xf224ee[_0x59c56a(0x2a7)]===0x0?_0x3fc555:_0x3fc555['tag']==='defs'&&(!((_0x330f49=_0x3fc555[_0x59c56a(0x28d)])===null||_0x330f49===void 0x0)&&_0x330f49[_0x59c56a(0x2a7)])?_0x59dfc3(_0x59dfc3({},_0x3fc555),{'children':_0x3fc555['children'][_0x59c56a(0x214)](function(_0xeed00c){const _0x39f579=_0x59c56a;return typeof _0xeed00c[_0x39f579(0x176)]['id']==_0x39f579(0xfa)&&_0xf224ee&&_0xf224ee['includes'](_0xeed00c[_0x39f579(0x176)]['id'])?_0x59dfc3(_0x59dfc3({},_0xeed00c),{'attrs':_0x59dfc3(_0x59dfc3({},_0xeed00c[_0x39f579(0x176)]),{'id':_0xeed00c['attrs']['id']+_0xb6e062[_0x39f579(0x178)]})}):_0xeed00c;})}):_0x3fc555;}function _0x4ed6a3(){const _0x46226=_0x2563a1;return Math[_0x46226(0x316)]()[_0x46226(0x262)](0x24)[_0x46226(0x170)](0x2,0x8);}_0x411504['displayName']=_0x2563a1(0x134);var _0x1a224a={'tag':'svg','attrs':{'xmlns':_0x2563a1(0xdb),'fill':'none','viewBox':_0x2563a1(0x302),'width':_0x2563a1(0x22d),'height':_0x2563a1(0x22d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2563a1(0x1a7)},'children':[{'tag':_0x2563a1(0x164),'attrs':{'stroke':'currentColor','d':_0x2563a1(0x1c5),'strokeLinecap':_0x2563a1(0x24c),'strokeLinejoin':_0x2563a1(0x24c),'strokeWidth':1.2}}]},{'tag':_0x2563a1(0x113),'attrs':{},'children':[{'tag':_0x2563a1(0x25a),'attrs':{'id':_0x2563a1(0x17c)},'children':[{'tag':_0x2563a1(0x164),'attrs':{'fill':_0x2563a1(0x1af),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0xcd012f=_0x2058b3[_0x2563a1(0x1e9)](function(_0x2ec6bd,_0x282345){const _0x4bbba7=_0x2563a1;return _0x2058b3[_0x4bbba7(0x2af)](_0x411504,Object[_0x4bbba7(0x261)]({},_0x2ec6bd,{'id':_0x4bbba7(0x34b),'ref':_0x282345,'icon':_0x1a224a}));});_0xcd012f['displayName']=_0x2563a1(0x27a);var _0x1612ca={'tag':_0x2563a1(0x331),'attrs':{'xmlns':_0x2563a1(0xdb),'fill':_0x2563a1(0x222),'viewBox':_0x2563a1(0x28b),'width':_0x2563a1(0x22d),'height':_0x2563a1(0x22d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2563a1(0x336)},'children':[{'tag':'path','attrs':{'stroke':_0x2563a1(0x11d),'d':_0x2563a1(0x31b),'strokeLinecap':_0x2563a1(0x24c),'strokeLinejoin':_0x2563a1(0x24c),'strokeWidth':1.2}}]},{'tag':_0x2563a1(0x113),'attrs':{},'children':[{'tag':_0x2563a1(0x25a),'attrs':{'id':_0x2563a1(0x14e)},'children':[{'tag':_0x2563a1(0x164),'attrs':{'fill':'white','d':_0x2563a1(0x292),'transform':_0x2563a1(0xc7)}}]}]}],'defIds':[_0x2563a1(0x14e)]},_0x32b54d=_0x2058b3[_0x2563a1(0x1e9)](function(_0x85f1ff,_0x5a9ba7){const _0x3bc441=_0x2563a1;return _0x2058b3['createElement'](_0x411504,Object['assign']({},_0x85f1ff,{'id':_0x3bc441(0x107),'ref':_0x5a9ba7,'icon':_0x1612ca}));});_0x32b54d[_0x2563a1(0xc4)]='OnLineIcon';function _0x124f7d(_0x3cfcd3){const _0x5232ff=_0x2563a1;switch(_0x3cfcd3){case _0x268c5e['CollaborationStatus'][_0x5232ff(0x275)]:return _0x5232ff(0x124);case _0x268c5e[_0x5232ff(0x2fd)]['CONFLICT']:return _0x5232ff(0xd6);case _0x268c5e['CollaborationStatus'][_0x5232ff(0x1aa)]:return _0x5232ff(0x21c);case _0x268c5e['CollaborationStatus']['NOT_COLLAB']:return _0x5232ff(0x2fc);case _0x268c5e[_0x5232ff(0x2fd)][_0x5232ff(0xe1)]:case _0x268c5e[_0x5232ff(0x2fd)][_0x5232ff(0x19e)]:return _0x5232ff(0x277);case _0x268c5e[_0x5232ff(0x2fd)][_0x5232ff(0x334)]:case _0x268c5e[_0x5232ff(0x2fd)][_0x5232ff(0x1d3)]:return _0x5232ff(0x282);}}function _0x4046f9(_0x25cf63){const _0x3620be=_0x2563a1,{status$:_0x3e1f49}=_0x25cf63,_0x5f34b5=_0x4d2a0e[_0x3620be(0x15e)](_0x3e1f49,_0x268c5e[_0x3620be(0x2fd)]['NOT_COLLAB']),_0x2cc266=_0x4d2a0e['useDependency'](_0x5e4ee0[_0x3620be(0x168)]),_0x576722=_0x4d2a0e['useDependency'](_0x268c5e[_0x3620be(0x2d5)]),_0x49eac0=_0x5f34b5!==_0x268c5e[_0x3620be(0x2fd)][_0x3620be(0x275)],_0x4576ab=_0x2cc266['t'](_0x124f7d(_0x5f34b5)),_0x1e0c6a=_0x49eac0?_0x5bf777['jsx'](_0x32b54d,{}):_0x5bf777['jsx'](_0xcd012f,{}),_0x468d4a=_0x2058b3[_0x3620be(0x236)](()=>{_0x49eac0||_0x576722['reconnect']();},[_0x49eac0,_0x576722]);function _0x39a15e(){const _0x27cc66=_0x3620be;return _0x5bf777[_0x27cc66(0x253)](_0x27cc66(0x34d),{'className':'univer-flex\x20univer-items-center','onClick':_0x468d4a,'children':[_0x5bf777[_0x27cc66(0x2c8)]('div',{'className':_0x52f01c[_0x27cc66(0x1c1)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x49eac0,'univer-text-red-500':!_0x49eac0}),'children':_0x1e0c6a}),_0x5bf777[_0x27cc66(0x2c8)](_0x27cc66(0x34d),{'className':_0x27cc66(0x2ab),'children':_0x4576ab})]});}return _0x49eac0?_0x39a15e():_0x5bf777[_0x3620be(0x2c8)](_0x52f01c['Tooltip'],{'title':_0x2cc266['t'](_0x3620be(0x17a)),'children':_0x39a15e()});}var _0x227432=Object[_0x2563a1(0x1b5)],_0x2fbcf8=(_0x58aacc,_0x1a536e,_0x3caa02,_0x2669d9)=>{const _0x9defd5=_0x2563a1;for(var _0x2a98cf=_0x2669d9>0x1?void 0x0:_0x2669d9?_0x227432(_0x1a536e,_0x3caa02):_0x1a536e,_0x3cdb49=_0x58aacc[_0x9defd5(0x2a7)]-0x1,_0x1329c2;_0x3cdb49>=0x0;_0x3cdb49--)(_0x1329c2=_0x58aacc[_0x3cdb49])&&(_0x2a98cf=_0x1329c2(_0x2a98cf)||_0x2a98cf);return _0x2a98cf;},_0x103f10=(_0x215717,_0x5d1f3d)=>(_0x13c912,_0x3303ba)=>_0x5d1f3d(_0x13c912,_0x3303ba,_0x215717);_0xad88c7[_0x2563a1(0x1c0)]=class extends _0x5e4ee0[_0x2563a1(0x23e)]{constructor(_0x3cfa21,_0x11ad2a,_0x1f9fdb,_0x14f228){const _0x1f9204=_0x2563a1;super(),_0xd7874(this,_0x1f9204(0x206),new _0x2df3bb['BehaviorSubject'](_0x268c5e['CollaborationStatus'][_0x1f9204(0x358)])),(this['_univerInstanceService']=_0x3cfa21,this[_0x1f9204(0xba)]=_0x11ad2a,this[_0x1f9204(0x1e1)]=_0x1f9fdb,this[_0x1f9204(0x1a4)]=_0x14f228,this[_0x1f9204(0xbb)](),this[_0x1f9204(0x11a)]());}['_initStatusListener'](){const _0x3c4521=_0x2563a1;this[_0x3c4521(0x153)](this['_univerInstanceService'][_0x3c4521(0x196)]['pipe'](_0x2df3bb[_0x3c4521(0x34f)](()=>{const _0x3613a3=_0x3c4521,_0x4e8b7c=this[_0x3613a3(0x200)][_0x3613a3(0xd7)]();return _0x4e8b7c?this[_0x3613a3(0x1e1)][_0x3613a3(0x147)](_0x4e8b7c['getUnitId']()):_0x2df3bb['of'](null);}),_0x2df3bb[_0x3c4521(0x34f)](_0x2d376d=>_0x2d376d?_0x2d376d['status$']:_0x2df3bb['of'](_0x268c5e[_0x3c4521(0x2fd)][_0x3c4521(0x358)])))[_0x3c4521(0x23d)](_0x4b0720=>{this['_status$']['next'](_0x4b0720);}));}[_0x2563a1(0xbb)](){const _0x414138=_0x2563a1;this[_0x414138(0x153)](this[_0x414138(0x1a4)]['registerComponent'](_0x4d2a0e[_0x414138(0x195)][_0x414138(0x229)],()=>_0x4d2a0e[_0x414138(0x202)](_0x5d41e0({'status$':this[_0x414138(0x206)][_0x414138(0x132)]()}),this[_0x414138(0xba)])));}},_0xad88c7[_0x2563a1(0x1c0)]=_0x2fbcf8([_0x103f10(0x0,_0x5e4ee0[_0x2563a1(0x349)]),_0x103f10(0x1,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0['Injector'])),_0x103f10(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x268c5e[_0x2563a1(0x2a2)])),_0x103f10(0x3,_0x4d2a0e[_0x2563a1(0x239)])],_0xad88c7[_0x2563a1(0x1c0)]);function _0x5d41e0(_0x30768c){const {status$:_0x39b911}=_0x30768c;return function(){const _0x10382c=_0x5ad2;return _0x5bf777[_0x10382c(0x2c8)](_0x4046f9,{'status$':_0x39b911});};}var _0x5eead3=Object[_0x2563a1(0x1b5)],_0x364816=(_0x464e17,_0x361c6b,_0x417c7a,_0x2d2936)=>{const _0x47f0dd=_0x2563a1;for(var _0x12b55d=_0x2d2936>0x1?void 0x0:_0x2d2936?_0x5eead3(_0x361c6b,_0x417c7a):_0x361c6b,_0x522882=_0x464e17[_0x47f0dd(0x2a7)]-0x1,_0x589b4b;_0x522882>=0x0;_0x522882--)(_0x589b4b=_0x464e17[_0x522882])&&(_0x12b55d=_0x589b4b(_0x12b55d)||_0x12b55d);return _0x12b55d;},_0x202886=(_0x364b01,_0x30e27d)=>(_0x55a3f1,_0x3eca19)=>_0x30e27d(_0x55a3f1,_0x3eca19,_0x364b01);let _0xaafbc6=class extends _0x5e4ee0[_0x2563a1(0x23e)]{constructor(_0x351cbf,_0x42b754,_0x1b622e,_0x25db9,_0x3c2f12,_0x58cca4){const _0x575d29=_0x2563a1;super(),this[_0x575d29(0x2df)]=_0x351cbf,this['_localCacheService']=_0x42b754,this[_0x575d29(0x155)]=_0x1b622e,this[_0x575d29(0x2d2)]=_0x25db9,this['_notificationService']=_0x3c2f12,this['_localeService']=_0x58cca4,this[_0x575d29(0x220)](),this[_0x575d29(0x301)]();}['_setupBeforeClosingHandler'](){const _0x90cde1=_0x2563a1;this[_0x90cde1(0x153)](this[_0x90cde1(0x2df)][_0x90cde1(0x1f9)](()=>{const _0x198cbf=_0x90cde1;if(this[_0x198cbf(0xe3)][_0x198cbf(0x2d8)][_0x198cbf(0x1d7)])return this[_0x198cbf(0xfc)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2563a1(0x301)](){const _0x49a04b=_0x2563a1;this[_0x49a04b(0x153)](this[_0x49a04b(0x155)][_0x49a04b(0x237)][_0x49a04b(0x23d)](_0x5ed900=>{const _0x19b9b1=_0x49a04b;_0x5ed900['id']===_0x268c5e[_0x19b9b1(0x2c7)][_0x19b9b1(0x2ac)]&&this[_0x19b9b1(0x2d2)][_0x19b9b1(0xf0)]({'type':_0x52f01c[_0x19b9b1(0x359)]['Warning'],'content':this[_0x19b9b1(0xfc)]['t'](_0x19b9b1(0x1f0))}),_0x5ed900['id']===_0x268c5e[_0x19b9b1(0x2c7)][_0x19b9b1(0x2bc)]&&this['_messageService']['show']({'type':_0x52f01c['MessageType']['Warning'],'content':this[_0x19b9b1(0xfc)]['t'](_0x19b9b1(0x31e))}),_0x5ed900['id']===_0x268c5e[_0x19b9b1(0x2c7)][_0x19b9b1(0x227)]&&this['_notificationService']['show']({'title':this[_0x19b9b1(0xfc)]['t'](_0x19b9b1(0x306)),'content':this[_0x19b9b1(0xfc)]['t'](_0x19b9b1(0xe7)),'type':_0x19b9b1(0x2c3),'duration':0x0}),_0x5ed900['id']===_0x268c5e['CollaborationUIEventId']['CONFLICT']&&this[_0x19b9b1(0x2d2)]['show']({'type':_0x52f01c[_0x19b9b1(0x359)][_0x19b9b1(0x1b3)],'content':this[_0x19b9b1(0xfc)]['t'](_0x19b9b1(0x31e))+'('+_0x5ed900[_0x19b9b1(0x2a5)]+')'}),_0x5ed900['id']===_0x268c5e['CollaborationUIEventId'][_0x19b9b1(0xbd)]&&this[_0x19b9b1(0x2d2)][_0x19b9b1(0xf0)]({'type':_0x52f01c[_0x19b9b1(0x359)][_0x19b9b1(0x16c)],'content':this[_0x19b9b1(0xfc)]['t'](_0x5ed900[_0x19b9b1(0x2a5)]||'')}),_0x5ed900['id']===_0x268c5e[_0x19b9b1(0x2c7)][_0x19b9b1(0x2bf)]&&this[_0x19b9b1(0x2d2)]['show']({'type':_0x52f01c[_0x19b9b1(0x359)][_0x19b9b1(0x16c)],'content':this[_0x19b9b1(0xfc)]['t'](_0x19b9b1(0x2b1))}),_0x5ed900['id']===_0x268c5e[_0x19b9b1(0x2c7)][_0x19b9b1(0x159)]&&this[_0x19b9b1(0x2d2)][_0x19b9b1(0xf0)]({'type':_0x52f01c[_0x19b9b1(0x359)][_0x19b9b1(0x1b3)],'content':this['_localeService']['t'](_0x19b9b1(0x31f))}),_0x5ed900['id']===_0x268c5e['CollaborationUIEventId'][_0x19b9b1(0x137)]&&this['_messageService'][_0x19b9b1(0xf0)]({'type':_0x52f01c[_0x19b9b1(0x359)][_0x19b9b1(0x1b3)],'content':this[_0x19b9b1(0xfc)]['t']('session.collaboration-timeout')});}));}};_0xaafbc6=_0x364816([_0x202886(0x0,_0x4d2a0e['IBeforeCloseService']),_0x202886(0x1,_0x268c5e[_0x2563a1(0x263)]),_0x202886(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x268c5e[_0x2563a1(0x2f6)])),_0x202886(0x3,_0x4d2a0e[_0x2563a1(0x218)]),_0x202886(0x4,_0x4d2a0e['INotificationService']),_0x202886(0x5,_0x5e4ee0['Inject'](_0x5e4ee0['LocaleService']))],_0xaafbc6);const _0x425615=_0x2563a1(0x10f),_0x34042d={},_0x8b9607=_0x5e4ee0['createIdentifier'](_0x2563a1(0x1e7));var _0x5c1a6e=Object[_0x2563a1(0x1b5)],_0x3c8ac0=(_0x2fcd5b,_0x3c7c7e,_0x51c528,_0x28fed7)=>{const _0x515ff5=_0x2563a1;for(var _0x391670=_0x28fed7>0x1?void 0x0:_0x28fed7?_0x5c1a6e(_0x3c7c7e,_0x51c528):_0x3c7c7e,_0x22a130=_0x2fcd5b[_0x515ff5(0x2a7)]-0x1,_0x5e7ef2;_0x22a130>=0x0;_0x22a130--)(_0x5e7ef2=_0x2fcd5b[_0x22a130])&&(_0x391670=_0x5e7ef2(_0x391670)||_0x391670);return _0x391670;},_0x520c51=(_0x1f97aa,_0x1449cc)=>(_0x1a92f7,_0x1cec1d)=>_0x1449cc(_0x1a92f7,_0x1cec1d,_0x1f97aa);_0xad88c7[_0x2563a1(0x2ad)]=class extends _0x5e4ee0[_0x2563a1(0x307)]{constructor(_0x5c7015,_0xd97ff5,_0x343989,_0x164809,_0x3d2cfc){const _0x1095db=_0x2563a1;super(),this[_0x1095db(0x2d9)]=_0x5c7015,this[_0x1095db(0x145)]=_0xd97ff5,this[_0x1095db(0x288)]=_0x343989,this[_0x1095db(0x14c)]=_0x164809,_0x3d2cfc?_0x3d2cfc==null||_0x3d2cfc['whenReady']()[_0x1095db(0x183)](()=>this[_0x1095db(0x270)]()):(this['_logService'][_0x1095db(0x322)](_0x1095db(0x291),_0x1095db(0x317)),this[_0x1095db(0x270)]());}async[_0x2563a1(0x270)](){const _0x409498=_0x2563a1,_0x40db4a=this[_0x409498(0x2d9)][_0x409498(0x150)](_0x409498(0x1b2)),_0x3f0fc7=this[_0x409498(0x2d9)][_0x409498(0x150)](_0x409498(0x166)),_0x122bf6=this['_urlService'][_0x409498(0x150)](_0x409498(0xd9));if(!_0x40db4a||!_0x3f0fc7){this[_0x409498(0x145)]['debug'](_0x409498(0x291),_0x409498(0x193));return;}const _0x44c1f3=await this[_0x409498(0x14c)][_0x409498(0x21f)](_0x40db4a,Number(_0x3f0fc7),_0x122bf6);_0x44c1f3&&_0x44c1f3 instanceof _0x5e4ee0[_0x409498(0xf9)]&&this[_0x409498(0x15f)](_0x44c1f3);}async[_0x2563a1(0x15f)](_0x545a52){const _0x461cd1=_0x2563a1;await this[_0x461cd1(0xec)](_0x545a52),_0x545a52[_0x461cd1(0x329)]['pipe'](_0x2df3bb[_0x461cd1(0xce)](this[_0x461cd1(0x108)]))[_0x461cd1(0x23d)](_0x2777f1=>{const _0x7093a3=_0x461cd1;_0x2777f1&&this[_0x7093a3(0x244)](_0x2777f1);}),this[_0x461cd1(0x2d9)][_0x461cd1(0x303)][_0x461cd1(0x182)](_0x2df3bb[_0x461cd1(0xce)](this['dispose$']))['subscribe'](()=>this[_0x461cd1(0xec)](_0x545a52));}[_0x2563a1(0x244)](_0x593ad5,_0x4a08b8=!0x1){const _0x216300=_0x2563a1,_0x2fae25=this[_0x216300(0x2d9)][_0x216300(0x150)](_0x216300(0xd9));_0x593ad5[_0x216300(0x1d9)]()!==_0x2fae25&&this[_0x216300(0x2d9)]['setParam'](_0x216300(0xd9),_0x593ad5[_0x216300(0x1d9)](),_0x4a08b8);}async[_0x2563a1(0xec)](_0x339a00){const _0x25fafc=_0x2563a1;var _0x5b9904;const _0xaa3b37=this[_0x25fafc(0x2d9)]['getParam']('subunit');if(!_0xaa3b37||!_0x339a00['getSheetBySheetId'](_0xaa3b37)){const _0x1dbbc3=_0x339a00[_0x25fafc(0xc3)]()[0x0],_0x10c790=_0x339a00[_0x25fafc(0x2d0)](_0x1dbbc3);if(!_0x10c790)return;this[_0x25fafc(0x244)](_0x10c790,!0x0),await this[_0x25fafc(0x288)][_0x25fafc(0x26f)](_0x43d3a5[_0x25fafc(0x1e4)]['id'],{'unitId':_0x339a00['getUnitId'](),'subUnitId':_0x1dbbc3});return;}((_0x5b9904=_0x339a00['getActiveSheet']())==null?void 0x0:_0x5b9904[_0x25fafc(0x1d9)]())!==_0xaa3b37&&await this['_commandService']['executeCommand'](_0x43d3a5[_0x25fafc(0x1e4)]['id'],{'unitId':_0x339a00[_0x25fafc(0x264)](),'subUnitId':_0xaa3b37});}},_0xad88c7[_0x2563a1(0x2ad)]=_0x3c8ac0([_0x520c51(0x0,_0x8b9607),_0x520c51(0x1,_0x5e4ee0[_0x2563a1(0x12e)]),_0x520c51(0x2,_0x5e4ee0['ICommandService']),_0x520c51(0x3,_0x5e4ee0[_0x2563a1(0xaf)](_0x268c5e[_0x2563a1(0x128)])),_0x520c51(0x4,_0x5e4ee0[_0x2563a1(0xbf)](_0x773b5b[_0x2563a1(0x2cf)]))],_0xad88c7['CollaborationDataLoaderController']);var _0x17ee5e=Object[_0x2563a1(0x1b5)],_0x122c82=(_0x28b517,_0x52c8d6,_0x2a15d8,_0x36ff4c)=>{const _0x4e1a71=_0x2563a1;for(var _0x373929=_0x36ff4c>0x1?void 0x0:_0x36ff4c?_0x17ee5e(_0x52c8d6,_0x2a15d8):_0x52c8d6,_0x386a0d=_0x28b517[_0x4e1a71(0x2a7)]-0x1,_0x3353ce;_0x386a0d>=0x0;_0x386a0d--)(_0x3353ce=_0x28b517[_0x386a0d])&&(_0x373929=_0x3353ce(_0x373929)||_0x373929);return _0x373929;},_0x5f5c1f=(_0x476171,_0x3e5a0d)=>(_0x4a2954,_0x32b990)=>_0x3e5a0d(_0x4a2954,_0x32b990,_0x476171);let _0x3e7ad2=class{constructor(_0x2652d1,_0x1b485c,_0x316a58){const _0x302de3=_0x2563a1;this['_injector']=_0x2652d1,this[_0x302de3(0x179)]=_0x1b485c,this[_0x302de3(0x1d1)]=_0x316a58;}[_0x2563a1(0xfb)](_0x2f52e2){const _0x20637b=_0x2563a1;this[_0x20637b(0xb5)](_0x2f52e2),this['_transformPreviousActiveRange'](_0x2f52e2);}[_0x2563a1(0x1ef)](_0x103be2){const _0x2d1efb=_0x2563a1,{unitID:_0x1b58a0}=_0x103be2,_0x47d66e=this[_0x2d1efb(0x1d1)][_0x2d1efb(0xc2)](_0x1b58a0)['with'](_0x3cbde7[_0x2d1efb(0x30e)]),{redoCache:_0x40e65a}=_0x47d66e[_0x2d1efb(0x354)]();if(_0x40e65a[_0x2d1efb(0x2a7)]===0x0)return _0x103be2;let _0x6bcd06=_0x5e4ee0['Tools'][_0x2d1efb(0x1fc)](_0x103be2[_0x2d1efb(0x343)][0x0]);for(let _0x394286=0x0;_0x394286<_0x40e65a['length'];_0x394286++){const _0x20325={'id':_0x2d1efb(0xe9),'params':{..._0x40e65a[_0x394286]}},_0xe7d81=this[_0x2d1efb(0x179)][_0x2d1efb(0x30f)](_0x6bcd06,_0x20325,!0x1);if(_0x1db10d[_0x2d1efb(0x151)](_0xe7d81))throw _0xe7d81[_0x2d1efb(0x2c3)];_0x6bcd06=_0xe7d81[_0x2d1efb(0x1cd)];}return{..._0x5e4ee0[_0x2d1efb(0xe4)][_0x2d1efb(0x1fc)](_0x103be2),'mutations':[_0x6bcd06]};}[_0x2563a1(0xb5)](_0x79c828){const _0x4d6464=_0x2563a1,{unitID:_0x15c7da}=_0x79c828,_0x276349=this[_0x4d6464(0x1d1)][_0x4d6464(0xc2)](_0x15c7da)[_0x4d6464(0x2f0)](_0x3cbde7[_0x4d6464(0x30e)]),{undoCache:_0x2bfec4,redoCache:_0x483471}=_0x276349['getUndoRedoMutationParamsCache']();if(_0x2bfec4[_0x4d6464(0x2a7)]===0x0||_0x483471['length']===0x0)return;const _0xd65cd4=[],_0x3ff602=[];let _0x43729b=_0x5e4ee0[_0x4d6464(0xe4)][_0x4d6464(0x1fc)](_0x79c828[_0x4d6464(0x343)][0x0]),_0x248378=_0x5e4ee0['Tools'][_0x4d6464(0x1fc)](_0x79c828[_0x4d6464(0x343)][0x0]);for(let _0x417b82=_0x2bfec4['length']-0x1;_0x417b82>=0x0;_0x417b82--){const _0x4b1f43={'id':_0x4d6464(0xe9),'params':{..._0x2bfec4[_0x417b82]}},_0x2bcad6={'id':_0x4d6464(0xe9),'params':{..._0x483471[_0x417b82]}},_0x506914=this[_0x4d6464(0x179)][_0x4d6464(0x30f)](_0x43729b,_0x4b1f43,!0x1),_0x230d8b=this[_0x4d6464(0x179)][_0x4d6464(0x30f)](_0x248378,_0x2bcad6,!0x1);if(_0x1db10d[_0x4d6464(0x151)](_0x506914))throw _0x506914['error'];if(_0x1db10d[_0x4d6464(0x151)](_0x230d8b))throw _0x230d8b[_0x4d6464(0x2c3)];_0xd65cd4[_0x4d6464(0x287)](_0x506914[_0x4d6464(0x26d)][_0x4d6464(0x34e)]),_0x3ff602[_0x4d6464(0x287)](_0x230d8b['m2Prime'][_0x4d6464(0x34e)]),_0x43729b=_0x506914[_0x4d6464(0x1cd)],_0x248378=_0x230d8b['m1Prime'];}_0x276349[_0x4d6464(0x278)]({'undoCache':_0xd65cd4,'redoCache':_0x3ff602});}[_0x2563a1(0x20c)](_0x59ae90){const _0x1646ee=_0x2563a1,{unitID:_0x5df5e6}=_0x59ae90,_0x50c0c4=this['_renderManagerService'][_0x1646ee(0xc2)](_0x5df5e6)[_0x1646ee(0x2f0)](_0x3cbde7[_0x1646ee(0x30e)]),_0x15879a=_0x50c0c4[_0x1646ee(0x12a)]();if(_0x15879a==null)return;const _0x265c09=[{'id':_0x1646ee(0xe9),'params':{'unitId':_0x59ae90[_0x1646ee(0xdd)],'actions':null,'textRanges':[_0x15879a]}}],_0x159e98=this[_0x1646ee(0x179)][_0x1646ee(0x257)](_0x59ae90,_0x265c09);if(!_0x1db10d[_0x1646ee(0x353)](_0x159e98))throw _0x159e98['error'];const _0x1c9178=_0x159e98['m2Prime'][0x0][_0x1646ee(0x34e)][_0x1646ee(0x165)];Array['isArray'](_0x1c9178)&&_0x1c9178[_0x1646ee(0x2a7)]&&_0x50c0c4[_0x1646ee(0x174)](_0x1c9178[0x0]);}};_0x3e7ad2=_0x122c82([_0x5f5c1f(0x0,_0x5e4ee0['Inject'](_0x5e4ee0[_0x2563a1(0x127)])),_0x5f5c1f(0x1,_0x1db10d[_0x2563a1(0x1bf)]),_0x5f5c1f(0x2,_0x28e4ec[_0x2563a1(0x133)])],_0x3e7ad2);var _0x533056=Object[_0x2563a1(0x1b5)],_0x2d883e=(_0x2cc951,_0x53d474,_0x3b0143,_0x58f709)=>{const _0x2fd3ff=_0x2563a1;for(var _0x4f71c9=_0x58f709>0x1?void 0x0:_0x58f709?_0x533056(_0x53d474,_0x3b0143):_0x53d474,_0x1e43c0=_0x2cc951[_0x2fd3ff(0x2a7)]-0x1,_0x20e69e;_0x1e43c0>=0x0;_0x1e43c0--)(_0x20e69e=_0x2cc951[_0x1e43c0])&&(_0x4f71c9=_0x20e69e(_0x4f71c9)||_0x4f71c9);return _0x4f71c9;},_0x3c96b6=(_0x10421f,_0x39e2aa)=>(_0x4a1827,_0x2af202)=>_0x39e2aa(_0x4a1827,_0x2af202,_0x10421f);let _0x1b23e6=class{constructor(_0x182c11,_0x1315c0,_0x4340db){const _0x400025=_0x2563a1;this['_injector']=_0x182c11,this[_0x400025(0x179)]=_0x1315c0,this[_0x400025(0x1f8)]=_0x4340db;}[_0x2563a1(0x14b)](_0x4ee6f5){this['_transformHistoryAndStateStack'](_0x4ee6f5);}[_0x2563a1(0x1ef)](_0x5888c3){const _0x244565=_0x2563a1,{unitID:_0x122ce8}=_0x5888c3,{collaboration:_0x2dca80}=this[_0x244565(0x1f8)][_0x244565(0x1de)](_0x122ce8);if(_0x2dca80[_0x244565(0x2a7)]===0x0)return _0x5888c3;let _0x24610a=_0x5e4ee0['Tools'][_0x244565(0x1fc)](_0x5888c3[_0x244565(0x343)][0x0]);for(let _0x161476=0x0;_0x161476<_0x2dca80[_0x244565(0x2a7)];_0x161476++){const _0x547f9b={'id':_0x244565(0xe9),'params':{'unitId':_0x2dca80[_0x161476][_0x244565(0xb6)],..._0x2dca80[_0x161476][_0x244565(0x2dd)]}},_0x93943a=this[_0x244565(0x179)][_0x244565(0x30f)](_0x24610a,_0x547f9b,!0x1);if(_0x1db10d[_0x244565(0x151)](_0x93943a))throw _0x93943a['error'];_0x24610a=_0x93943a[_0x244565(0x1cd)];}return{..._0x5e4ee0['Tools'][_0x244565(0x1fc)](_0x5888c3),'mutations':[_0x24610a]};}[_0x2563a1(0x27d)](_0x4c2432){const _0x37a1fc=_0x2563a1,{unitID:_0x9c5754}=_0x4c2432,{history:_0x1f969d,collaboration:_0x881df3}=this['_docStateChangeManagerService'][_0x37a1fc(0x1de)](_0x9c5754);if(_0x1f969d[_0x37a1fc(0x2a7)]===0x0&&_0x881df3[_0x37a1fc(0x2a7)]===0x0)return;const _0x464df0=[],_0x1b0c8b=[];let _0x56db31=_0x5e4ee0['Tools']['deepClone'](_0x4c2432['mutations'][0x0]),_0x123918=_0x5e4ee0[_0x37a1fc(0xe4)]['deepClone'](_0x4c2432[_0x37a1fc(0x343)][0x0]);for(let _0x2f9cb7=_0x1f969d['length']-0x1;_0x2f9cb7>=0x0;_0x2f9cb7--){const _0x5e231e={'id':_0x37a1fc(0xe9),'params':{'unitId':_0x1f969d[_0x2f9cb7][_0x37a1fc(0xb6)],..._0x1f969d[_0x2f9cb7][_0x37a1fc(0x23b)]}},_0x13dee6={'id':_0x37a1fc(0xe9),'params':{'unitId':_0x1f969d[_0x2f9cb7][_0x37a1fc(0xb6)],..._0x1f969d[_0x2f9cb7][_0x37a1fc(0x2dd)]}},_0x4d33e4=this[_0x37a1fc(0x179)][_0x37a1fc(0x30f)](_0x56db31,_0x5e231e,!0x1),_0x2974ef=this[_0x37a1fc(0x179)][_0x37a1fc(0x30f)](_0x123918,_0x13dee6,!0x1);if(_0x1db10d['isTransformMutationFailure'](_0x4d33e4))throw _0x4d33e4[_0x37a1fc(0x2c3)];if(_0x1db10d[_0x37a1fc(0x151)](_0x2974ef))throw _0x2974ef[_0x37a1fc(0x2c3)];_0x464df0[_0x37a1fc(0x287)]({..._0x1f969d[_0x2f9cb7],'undoState':_0x4d33e4[_0x37a1fc(0x26d)]['params'],'redoState':_0x2974ef[_0x37a1fc(0x26d)][_0x37a1fc(0x34e)]}),_0x56db31=_0x4d33e4['m1Prime'],_0x123918=_0x2974ef['m1Prime'];}_0x56db31=_0x5e4ee0[_0x37a1fc(0xe4)][_0x37a1fc(0x1fc)](_0x4c2432[_0x37a1fc(0x343)][0x0]),_0x123918=_0x5e4ee0[_0x37a1fc(0xe4)]['deepClone'](_0x4c2432[_0x37a1fc(0x343)][0x0]);for(let _0x3832d1=_0x881df3['length']-0x1;_0x3832d1>=0x0;_0x3832d1--){const _0x6a0526={'id':_0x37a1fc(0xe9),'params':{'unitId':_0x881df3[_0x3832d1]['unitId'],..._0x881df3[_0x3832d1][_0x37a1fc(0x23b)]}},_0x353042={'id':_0x37a1fc(0xe9),'params':{'unitId':_0x881df3[_0x3832d1][_0x37a1fc(0xb6)],..._0x881df3[_0x3832d1]['redoState']}},_0x42b53d=this[_0x37a1fc(0x179)][_0x37a1fc(0x30f)](_0x56db31,_0x6a0526,!0x1),_0x134963=this['_transformService']['transformMutation'](_0x123918,_0x353042,!0x1);if(_0x1db10d[_0x37a1fc(0x151)](_0x42b53d))throw _0x42b53d[_0x37a1fc(0x2c3)];if(_0x1db10d['isTransformMutationFailure'](_0x134963))throw _0x134963[_0x37a1fc(0x2c3)];_0x1b0c8b[_0x37a1fc(0x287)]({..._0x881df3[_0x3832d1],'undoState':_0x42b53d['m2Prime']['params'],'redoState':_0x134963[_0x37a1fc(0x26d)][_0x37a1fc(0x34e)]}),_0x56db31=_0x42b53d[_0x37a1fc(0x1cd)],_0x123918=_0x134963[_0x37a1fc(0x1cd)];}this[_0x37a1fc(0x1f8)][_0x37a1fc(0x26e)](_0x9c5754,{'history':_0x464df0,'collaboration':_0x1b0c8b});}};_0x1b23e6=_0x2d883e([_0x3c96b6(0x0,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0[_0x2563a1(0x127)])),_0x3c96b6(0x1,_0x1db10d[_0x2563a1(0x1bf)]),_0x3c96b6(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x3cbde7['DocStateChangeManagerService']))],_0x1b23e6);var _0xeccaa=Object['getOwnPropertyDescriptor'],_0x412706=(_0x1f7e0e,_0x1eea87,_0x42c722,_0x45ec8f)=>{for(var _0x3f8438=_0x45ec8f>0x1?void 0x0:_0x45ec8f?_0xeccaa(_0x1eea87,_0x42c722):_0x1eea87,_0x22844c=_0x1f7e0e['length']-0x1,_0x4534ad;_0x22844c>=0x0;_0x22844c--)(_0x4534ad=_0x1f7e0e[_0x22844c])&&(_0x3f8438=_0x4534ad(_0x3f8438)||_0x3f8438);return _0x3f8438;},_0x270078=(_0x5ec109,_0x34f096)=>(_0x4b23e0,_0x5254d7)=>_0x34f096(_0x4b23e0,_0x5254d7,_0x5ec109);let _0x5e3676=class{constructor(_0x3979e2,_0x63ec75){const _0x2f6635=_0x2563a1;this[_0x2f6635(0xba)]=_0x3979e2,this[_0x2f6635(0x179)]=_0x63ec75;}[_0x2563a1(0xdf)](_0x4f9507){const _0xc022b4=_0x2563a1;var _0x50b4f8;const _0x4be229=this[_0xc022b4(0xba)][_0xc022b4(0x197)](_0x3b399e['DocSelectionManagerService']),_0x572f72=(_0x50b4f8=_0x4be229[_0xc022b4(0x17d)]())!=null?_0x50b4f8:[];if(_0x572f72[_0xc022b4(0x2a7)]===0x0)return;const _0x49896a=_0x4f9507[_0xc022b4(0xdd)],_0x2538db=[{'id':_0xc022b4(0xe9),'params':{'unitId':_0x49896a,'actions':null,'textRanges':_0x572f72}}],_0x270559=this[_0xc022b4(0x179)]['transformMutationsWithChangeset'](_0x4f9507,_0x2538db);if(!_0x1db10d['isTransformMutationsWithChangesetSuccess'](_0x270559))throw _0x270559[_0xc022b4(0x2c3)];const _0x2e6938=_0x270559[_0xc022b4(0x26d)][0x0][_0xc022b4(0x34e)]['textRanges'];Array[_0xc022b4(0x15a)](_0x2e6938)&&_0x2e6938[_0xc022b4(0x2a7)]&&_0x4be229[_0xc022b4(0x2b3)](_0x2e6938,{'unitId':_0x49896a,'subUnitId':_0x49896a},!0x1);}};_0x5e3676=_0x412706([_0x270078(0x0,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0[_0x2563a1(0x127)])),_0x270078(0x1,_0x1db10d['ITransformService'])],_0x5e3676);var _0x661875=Object['getOwnPropertyDescriptor'],_0x41f5cb=(_0x13c371,_0x26af2a,_0x11e8a6,_0xae68b7)=>{const _0x2647bf=_0x2563a1;for(var _0x392c26=_0xae68b7>0x1?void 0x0:_0xae68b7?_0x661875(_0x26af2a,_0x11e8a6):_0x26af2a,_0x16d994=_0x13c371[_0x2647bf(0x2a7)]-0x1,_0x2dedd0;_0x16d994>=0x0;_0x16d994--)(_0x2dedd0=_0x13c371[_0x16d994])&&(_0x392c26=_0x2dedd0(_0x392c26)||_0x392c26);return _0x392c26;},_0x510cbd=(_0x354843,_0xc39da1)=>(_0x59f1d2,_0x16f23e)=>_0xc39da1(_0x59f1d2,_0x16f23e,_0x354843);let _0x1dd545=class extends _0x5e4ee0[_0x2563a1(0x23e)]{constructor(_0x5b3a3a,_0x18a6fc,_0xbf72fb,_0x8e5a56,_0x1cc261,_0x96be13,_0x16ea64,_0x51b3d8){const _0x4ef876=_0x2563a1;super(),_0xd7874(this,_0x4ef876(0x206),new _0x2df3bb[(_0x4ef876(0x2a0))](_0x268c5e[_0x4ef876(0x2fd)][_0x4ef876(0x358)])),(this[_0x4ef876(0x1f8)]=_0x5b3a3a,this[_0x4ef876(0x1e1)]=_0x18a6fc,this[_0x4ef876(0x299)]=_0xbf72fb,this[_0x4ef876(0x260)]=_0x8e5a56,this[_0x4ef876(0x266)]=_0x1cc261,this[_0x4ef876(0x25b)]=_0x96be13,this[_0x4ef876(0x2d2)]=_0x16ea64,this[_0x4ef876(0xfc)]=_0x51b3d8,this[_0x4ef876(0x1fa)]());}[_0x2563a1(0x1fa)](){const _0x1cef81=_0x2563a1;this[_0x1cef81(0x153)](this['_collaborationController'][_0x1cef81(0x199)]['subscribe'](_0x3f79f3=>{const _0x40b47a=_0x1cef81,_0x5861d9=this[_0x40b47a(0x1f8)][_0x40b47a(0x115)][_0x40b47a(0x23d)](_0x1cb753=>{const _0x53f07d=_0x40b47a;if(_0x1cb753==null)return;const {unitId:_0x4dbab9,redoState:_0x38ec67,commandId:_0x81b628}=_0x1cb753;if(_0x4dbab9!==_0x3f79f3['unitID'])return;const _0x300bfa={'id':_0x81b628,'type':_0x5e4ee0[_0x53f07d(0x140)][_0x53f07d(0x259)],'params':{'unitId':_0x4dbab9,'actions':_0x38ec67[_0x53f07d(0x19a)],'textRanges':null}};_0x3f79f3[_0x53f07d(0x2b2)](_0x300bfa);});if(_0x3f79f3[_0x40b47a(0x153)](_0x5861d9),_0x3f79f3 instanceof _0x268c5e[_0x40b47a(0xf1)]){const _0x1bb699={'onTransformIME':_0x27dce8=>this[_0x40b47a(0x299)][_0x40b47a(0xfb)](_0x27dce8),'onTransformState':_0x222b31=>this[_0x40b47a(0x260)][_0x40b47a(0x14b)](_0x222b31),'onTransformSelections':_0x5f2e4c=>this[_0x40b47a(0x266)][_0x40b47a(0xdf)](_0x5f2e4c),'onSyncEditingCollabCursor':_0x8ce878=>this[_0x40b47a(0x25b)][_0x40b47a(0x232)](_0x8ce878),'onTransformRemoteChangesetByIMECache':_0x259a29=>this[_0x40b47a(0x299)][_0x40b47a(0x1ef)](_0x259a29),'onTransformRemoteChangesetByStateCache':_0x375788=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x375788)};_0x3f79f3[_0x40b47a(0x173)](_0x1bb699);}}));}};_0x1dd545=_0x41f5cb([_0x510cbd(0x0,_0x5e4ee0['Inject'](_0x3cbde7[_0x2563a1(0x185)])),_0x510cbd(0x1,_0x5e4ee0[_0x2563a1(0xaf)](_0x268c5e[_0x2563a1(0x2a2)])),_0x510cbd(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x3e7ad2)),_0x510cbd(0x3,_0x5e4ee0[_0x2563a1(0xaf)](_0x1b23e6)),_0x510cbd(0x4,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e3676)),_0x510cbd(0x5,_0x5e4ee0[_0x2563a1(0xaf)](_0x2366de)),_0x510cbd(0x6,_0x4d2a0e[_0x2563a1(0x218)]),_0x510cbd(0x7,_0x5e4ee0['Inject'](_0x5e4ee0[_0x2563a1(0x168)]))],_0x1dd545);var _0x53ce0a=Object[_0x2563a1(0x1b5)],_0x56a1a5=(_0x12484d,_0x4a7e90,_0x1313d9,_0x55fa47)=>{const _0x23b625=_0x2563a1;for(var _0x4311ba=_0x55fa47>0x1?void 0x0:_0x55fa47?_0x53ce0a(_0x4a7e90,_0x1313d9):_0x4a7e90,_0x14548b=_0x12484d[_0x23b625(0x2a7)]-0x1,_0x5703de;_0x14548b>=0x0;_0x14548b--)(_0x5703de=_0x12484d[_0x14548b])&&(_0x4311ba=_0x5703de(_0x4311ba)||_0x4311ba);return _0x4311ba;},_0x28a07d=(_0x3e6e01,_0x4b0467)=>(_0xcba638,_0x33ae9e)=>_0x4b0467(_0xcba638,_0x33ae9e,_0x3e6e01);let _0x1adca5=class extends _0x5e4ee0[_0x2563a1(0x23e)]{constructor(_0x1cdded,_0x199f0a,_0x3068ee){const _0x232d3b=_0x2563a1;super(),_0xd7874(this,'_cachedData',new Map()),_0xd7874(this,_0x232d3b(0x29f),new Map()),_0xd7874(this,'_disabled',!0x1),(this[_0x232d3b(0x2a4)]=_0x1cdded,this[_0x232d3b(0x29a)]=_0x199f0a,this[_0x232d3b(0x242)]=_0x3068ee);}[_0x2563a1(0x21d)](){const _0x1e4b5e=_0x2563a1;this[_0x1e4b5e(0x1f7)]=!0x0;}[_0x2563a1(0x171)](){const _0x3ded13=_0x2563a1;this[_0x3ded13(0x1f7)]=!0x1;}get['saveTaskMap'](){const _0x31e377=_0x2563a1;return this[_0x31e377(0x29f)];}[_0x2563a1(0x1f2)](){const _0x469845=_0x2563a1;this[_0x469845(0x311)]()['then'](()=>super[_0x469845(0x1f2)]());}async['loadOfflineData'](_0x2e0c7d){const _0x1ab237=_0x2563a1;return this[_0x1ab237(0x1f7)]?null:this['_localStorageService'][_0x1ab237(0x310)](_0x268c5e[_0x1ab237(0x18d)](_0x2e0c7d));}async[_0x2563a1(0x345)](_0x3cc87e,_0x833f51){const _0x5f2377=_0x2563a1;return!!this[_0x5f2377(0x29a)][_0x5f2377(0x2f2)](_0x3cc87e,_0x833f51);}[_0x2563a1(0x217)](_0x3e949,_0x23d027,_0x406b4e,_0x4b69b2){const _0x3059cd=_0x2563a1,_0x19f3b2=this[_0x3059cd(0x242)][_0x3059cd(0x211)](_0x3e949);this['_cachedData'][_0x3059cd(0x19c)](_0x3e949,{'unitID':_0x3e949,'type':_0x23d027,'awaitingChangeset':_0x406b4e,'mutations':_0x4b69b2,'rev':_0x19f3b2}),this['_saveTaskMap'][_0x3059cd(0x2eb)](_0x3e949)||this['_scheduleSaving'](_0x3e949);}[_0x2563a1(0x276)](_0x49d332){const _0x5c667a=_0x2563a1,_0x210dd7=this[_0x5c667a(0x19f)]();_0x210dd7===0x0?this[_0x5c667a(0x14f)](_0x49d332):this['_saveTaskMap'][_0x5c667a(0x19c)](_0x49d332,setTimeout(()=>this['_saveCache'](_0x49d332),_0x210dd7));}[_0x2563a1(0x19f)](){const _0x48f902=_0x2563a1;var _0x445593;return(_0x445593=this['_configService'][_0x48f902(0x181)](_0x268c5e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x445593:_0x268c5e[_0x48f902(0x2e1)];}[_0x2563a1(0x14f)](_0x53dd83){const _0x11aa3f=_0x2563a1,_0x55274a=this[_0x11aa3f(0x29f)][_0x11aa3f(0x197)](_0x53dd83);return _0x55274a!==void 0x0&&window[_0x11aa3f(0x281)](_0x55274a),this['_localStorageService'][_0x11aa3f(0x2f2)](_0x268c5e['getLocalCacheKey'](_0x53dd83),this['_cachedData'][_0x11aa3f(0x197)](_0x53dd83))['then'](()=>this[_0x11aa3f(0x29f)][_0x11aa3f(0x25f)](_0x53dd83));}async[_0x2563a1(0x311)](){const _0x299b5d=_0x2563a1,_0x2f65b1=[];this[_0x299b5d(0x29f)]['forEach']((_0x2fb3e9,_0x4179a0)=>{const _0x77b925=_0x299b5d;window[_0x77b925(0x281)](_0x2fb3e9),_0x2f65b1[_0x77b925(0x249)](this[_0x77b925(0x14f)](_0x4179a0)[_0x77b925(0x183)](()=>{const _0x56fc76=_0x77b925;this['_saveTaskMap'][_0x56fc76(0x25f)](_0x4179a0);}));}),await Promise[_0x299b5d(0x194)](_0x2f65b1);}};_0x1adca5=_0x56a1a5([_0x28a07d(0x0,_0x5e4ee0[_0x2563a1(0x142)]),_0x28a07d(0x1,_0x5e4ee0['ILocalStorageService']),_0x28a07d(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x1db10d[_0x2563a1(0x12c)]))],_0x1adca5);class _0x1c552b extends _0x5e4ee0[_0x2563a1(0x307)]{constructor(){const _0x133d61=_0x2563a1;super(),_0xd7874(this,'urlChange$'),this['urlChange$']=_0x2df3bb[_0x133d61(0x126)](window,_0x133d61(0x11f))[_0x133d61(0x182)](_0x2df3bb[_0x133d61(0xce)](this[_0x133d61(0x108)]),_0x2df3bb['shareReplay'](0x1),_0x2df3bb[_0x133d61(0x101)](void 0x0));}['setParam'](_0x2f6866,_0x6bbbaf,_0x317824=!0x1){const _0x4eeb7b=_0x2563a1,_0x2910ca=new URL(window[_0x4eeb7b(0xca)][_0x4eeb7b(0x228)]);_0x2910ca[_0x4eeb7b(0x342)][_0x4eeb7b(0x19c)](_0x2f6866,_0x6bbbaf),_0x317824?window['history'][_0x4eeb7b(0xd8)]('','',_0x2910ca[_0x4eeb7b(0x262)]()):window['history']['pushState']('','',_0x2910ca['toString']());}[_0x2563a1(0x215)](_0x10063a,_0x19c89a=!0x1){const _0x2e487c=_0x2563a1,_0xf49ec3=new URL(window[_0x2e487c(0xca)][_0x2e487c(0x228)]);_0xf49ec3[_0x2e487c(0x342)][_0x2e487c(0x25f)](_0x10063a),_0x19c89a?window[_0x2e487c(0x2b0)][_0x2e487c(0xd8)]('','',_0xf49ec3[_0x2e487c(0x262)]()):window[_0x2e487c(0x2b0)][_0x2e487c(0x20f)]('','',_0xf49ec3['toString']());}['getParam'](_0x1cf2df){const _0x9b4e55=_0x2563a1;var _0x1fb49f;return(_0x1fb49f=new URL(window[_0x9b4e55(0xca)]['href'])[_0x9b4e55(0x342)][_0x9b4e55(0x197)](_0x1cf2df))!=null?_0x1fb49f:void 0x0;}}var _0x33098e=Object[_0x2563a1(0x18c)],_0x5e81c9=Object['getOwnPropertyDescriptor'],_0x2cd3f5=(_0x1ea5f9,_0x3417f2,_0x62526d)=>_0x3417f2 in _0x1ea5f9?_0x33098e(_0x1ea5f9,_0x3417f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x62526d}):_0x1ea5f9[_0x3417f2]=_0x62526d,_0x80ad30=(_0x201d73,_0x2074cd,_0x3f6aee,_0x274e84)=>{const _0xb76c1f=_0x2563a1;for(var _0x3dd458=_0x274e84>0x1?void 0x0:_0x274e84?_0x5e81c9(_0x2074cd,_0x3f6aee):_0x2074cd,_0x3e1ae4=_0x201d73[_0xb76c1f(0x2a7)]-0x1,_0x6d5371;_0x3e1ae4>=0x0;_0x3e1ae4--)(_0x6d5371=_0x201d73[_0x3e1ae4])&&(_0x3dd458=_0x6d5371(_0x3dd458)||_0x3dd458);return _0x3dd458;},_0x330c76=(_0x755d24,_0x5775f5)=>(_0x29ae04,_0x23debf)=>_0x5775f5(_0x29ae04,_0x23debf,_0x755d24),_0x38dd89=(_0x366141,_0x20a837,_0x41f880)=>_0x2cd3f5(_0x366141,_0x20a837+'',_0x41f880);const _0x104fe9=_0x2563a1(0xb9);_0xad88c7[_0x2563a1(0x1d8)]=class extends _0x5e4ee0['Plugin']{constructor(_0x236c39=_0x34042d,_0x211a60,_0x4b69e3,_0x145b32){const _0x66b32d=_0x2563a1;super(),this['_config']=_0x236c39,this['_renderManagerService']=_0x211a60,this['_injector']=_0x4b69e3,this[_0x66b32d(0x2a4)]=_0x145b32;const {..._0x519ff3}=_0x5e4ee0[_0x66b32d(0x204)]({},_0x34042d,this['_config']);this['_configService'][_0x66b32d(0x348)](_0x425615,_0x519ff3);}[_0x2563a1(0x2a6)](){const _0x3cd452=_0x2563a1;this[_0x3cd452(0x2cc)](),this[_0x3cd452(0x18e)]();}[_0x2563a1(0x250)](){const _0xa0abe2=_0x2563a1;this[_0xa0abe2(0x1b8)]();}['_registerDependencies'](){const _0x3a2165=_0x2563a1;var _0xd659d7;const _0x395d9=[[_0x1156d4],[_0x5e3676],[_0x3e7ad2],[_0x1b23e6],[_0x2366de],[_0x8b9607,{'useClass':_0x1c552b}],[_0x17423d[_0x3a2165(0x1da)],{'useClass':_0x17423d[_0x3a2165(0x290)]}],[_0x268c5e[_0x3a2165(0x263)],{'useClass':_0x1adca5}],[_0xad88c7[_0x3a2165(0x1c0)]],[_0x1dd545],[_0xaafbc6],[_0x11f07c],[_0x417bbc],[_0xad88c7['CollaborationDataLoaderController']]];_0x5e4ee0['registerDependencies'](this['_injector'],_0x5e4ee0[_0x3a2165(0x2cd)](_0x395d9,(_0xd659d7=this[_0x3a2165(0xb7)])==null?void 0x0:_0xd659d7['override']));}[_0x2563a1(0x1b8)](){const _0x2ccfd8=_0x2563a1;this[_0x2ccfd8(0x153)](this[_0x2ccfd8(0x1d1)][_0x2ccfd8(0x1d4)](_0x5e4ee0[_0x2ccfd8(0xfd)]['UNIVER_DOC'],[_0x2bc842])),this[_0x2ccfd8(0x153)](this['_renderManagerService']['registerRenderModule'](_0x5e4ee0[_0x2ccfd8(0xfd)][_0x2ccfd8(0x2ec)],[_0x58a54f]));}[_0x2563a1(0x18e)](){const _0x1eb010=_0x2563a1;_0x5e4ee0[_0x1eb010(0xb2)](this[_0x1eb010(0xba)],[[_0x11f07c],[_0xad88c7[_0x1eb010(0x1c0)]],[_0x1dd545],[_0xaafbc6],[_0xad88c7[_0x1eb010(0x2ad)]]]);}},_0x38dd89(_0xad88c7['UniverCollaborationClientUIPlugin'],_0x2563a1(0x1e8),_0x104fe9),_0xad88c7[_0x2563a1(0x1d8)]=_0x80ad30([_0x5e4ee0['DependentOn'](_0x268c5e[_0x2563a1(0x16a)]),_0x330c76(0x1,_0x28e4ec['IRenderManagerService']),_0x330c76(0x2,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0['Injector'])),_0x330c76(0x3,_0x5e4ee0[_0x2563a1(0x142)])],_0xad88c7[_0x2563a1(0x1d8)]);var _0x20c9e1=Object[_0x2563a1(0x1b5)],_0x52e46d=(_0x27bd73,_0x259a74,_0x26d7ab,_0x56674d)=>{const _0x2527c4=_0x2563a1;for(var _0x4a90d5=_0x56674d>0x1?void 0x0:_0x56674d?_0x20c9e1(_0x259a74,_0x26d7ab):_0x259a74,_0x2c164e=_0x27bd73[_0x2527c4(0x2a7)]-0x1,_0x4f6b2e;_0x2c164e>=0x0;_0x2c164e--)(_0x4f6b2e=_0x27bd73[_0x2c164e])&&(_0x4a90d5=_0x4f6b2e(_0x4a90d5)||_0x4a90d5);return _0x4a90d5;},_0xbe9f95=(_0xeafe65,_0x10adda)=>(_0x3f9f46,_0x3413ef)=>_0x10adda(_0x3f9f46,_0x3413ef,_0xeafe65);_0xad88c7['BrowserCollaborationSocketService']=class extends _0x268c5e[_0x2563a1(0x28f)]{constructor(_0x25b8a6,_0x32224c,_0x1ca4c2,_0x5710ad,_0x196a23){super(_0x25b8a6,_0x32224c,_0x1ca4c2,_0x5710ad,_0x196a23);}async[_0x2563a1(0x192)](_0x58de79){const _0x5d5468=_0x2563a1,_0x459224=await this['_getSessionTicket'](),_0x22137e=this[_0x5d5468(0x1b1)](_0x58de79,_0x459224);return this[_0x5d5468(0x297)](_0x22137e);}['_createSocketURL'](_0x5c2943,_0xda666a){const _0xf6e61=_0x2563a1,_0x5dee2a=typeof window>'u'?new URL(_0x5c2943):new URL(_0x5c2943,window[_0xf6e61(0xca)][_0xf6e61(0x160)]);_0x5dee2a[_0xf6e61(0x342)][_0xf6e61(0x19c)]('sessionTicket',_0xda666a);const _0x1dd1a0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xf6e61(0xca)][_0xf6e61(0xef)]);return _0x1dd1a0[_0xf6e61(0x197)]('runId')&&_0x5dee2a[_0xf6e61(0x342)]['set'](_0xf6e61(0x233),_0x1dd1a0[_0xf6e61(0x197)](_0xf6e61(0x233))),_0x5dee2a['toString']();}async[_0x2563a1(0x319)](){const _0xd79252=_0x2563a1;var _0x599852,_0x39419d,_0x2de995;const _0x2cfff2=this['_configService'][_0xd79252(0x181)](_0x268c5e[_0xd79252(0x325)]),_0x1840fb=(_0x599852=_0x2cfff2==null?void 0x0:_0x2cfff2[_0xd79252(0x212)])!=null?_0x599852:_0x268c5e[_0xd79252(0xf6)];return(_0x2de995=(_0x39419d=(await this[_0xd79252(0x123)][_0xd79252(0x197)](_0x1840fb,{'headers':{'Content-Type':_0xd79252(0x357)}}))[_0xd79252(0x294)])==null?void 0x0:_0x39419d['ticket'])!=null?_0x2de995:'';}},_0xad88c7[_0x2563a1(0x111)]=_0x52e46d([_0xbe9f95(0x0,_0x5e4ee0[_0x2563a1(0xaf)](_0x5e4ee0['Injector'])),_0xbe9f95(0x1,_0x5e4ee0[_0x2563a1(0xaf)](_0x17423d['HTTPService'])),_0xbe9f95(0x2,_0x5e4ee0[_0x2563a1(0x142)]),_0xbe9f95(0x3,_0x5e4ee0[_0x2563a1(0x12e)]),_0xbe9f95(0x4,_0x1db10d[_0x2563a1(0x1ce)])],_0xad88c7[_0x2563a1(0x111)]);const _0xb2fb14=0x7530,_0xc5d91f=_0x2563a1(0x17e);class _0x163e88 extends _0x5e4ee0[_0x2563a1(0x23e)]{constructor(){const _0x32a69f=_0x2563a1;super(),_0xd7874(this,'_id',_0x5e4ee0[_0x32a69f(0x312)]()),_0xd7874(this,_0x32a69f(0x12f),new Set()),_0xd7874(this,_0x32a69f(0xd4),new Map()),_0xd7874(this,_0x32a69f(0x1c3),null),_0xd7874(this,_0x32a69f(0x156),new Map()),_0xd7874(this,_0x32a69f(0x112),new Map()),this['_init']();}[_0x2563a1(0x1f2)](){const _0x48aabf=_0x2563a1;super[_0x48aabf(0x1f2)](),this[_0x48aabf(0x156)]['forEach']((_0x243e94,_0xb66c5d)=>this[_0x48aabf(0xe2)](_0xb66c5d)),this[_0x48aabf(0x1c3)]&&window['clearInterval'](this[_0x48aabf(0x1c3)]);}[_0x2563a1(0x1cf)](_0x1a3750){const _0x25a668=_0x2563a1;return this[_0x25a668(0xb4)](_0x1a3750)[_0x25a668(0x182)](_0x2df3bb['distinctUntilChanged']());}['editingUnit'](_0x35d3aa){const _0x1d2b61=_0x2563a1;this[_0x1d2b61(0x12f)][_0x1d2b61(0x1d7)]===0x0&&this[_0x1d2b61(0xf8)](),this[_0x1d2b61(0x12f)][_0x1d2b61(0x34a)](_0x35d3aa),this[_0x1d2b61(0x28c)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x35d3aa],'isForwarded':!0x1});}['disposeUnit'](_0x19a492){const _0x10ad36=_0x2563a1;this[_0x10ad36(0x12f)][_0x10ad36(0x25f)](_0x19a492),this[_0x10ad36(0x12f)][_0x10ad36(0x1d7)]===0x0&&this[_0x10ad36(0x1c3)]&&window['clearInterval'](this[_0x10ad36(0x1c3)]);}[_0x2563a1(0x270)](){const _0x119797=_0x2563a1;this[_0x119797(0x153)](_0x5e4ee0[_0x119797(0x1d0)](_0x2df3bb[_0x119797(0x126)](window,_0x119797(0x2e4))[_0x119797(0x23d)](_0x1d78ea=>{const _0x251ec2=_0x119797;if(_0x1d78ea[_0x251ec2(0x131)]!==_0xc5d91f||!_0x1d78ea[_0x251ec2(0x33f)])return;const _0x26c7ea=JSON['parse'](_0x1d78ea[_0x251ec2(0x33f)]);this[_0x251ec2(0x2db)](_0x26c7ea);}))),window['addEventListener']('unload',()=>this[_0x119797(0x28c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x119797(0x2ba)](this[_0x119797(0x12f)])}));}[_0x2563a1(0x2db)](_0x3cfd18){const _0x13acfc=_0x2563a1;switch(_0x3cfd18[_0x13acfc(0x166)]){case 0x0:this[_0x13acfc(0x1cc)](_0x3cfd18);break;case 0x1:this['_handleLeaveEvent'](_0x3cfd18);break;case 0x2:this[_0x13acfc(0x18b)](_0x3cfd18);break;}}[_0x2563a1(0x1cc)](_0x45b8db){const _0x478cbd=_0x2563a1,{unitIDs:_0x218bf8,memberID:_0x3b15cc,isForwarded:_0x4f86be}=_0x45b8db;_0x218bf8[_0x478cbd(0x10c)](_0x2a4552=>{const _0x14787a=_0x478cbd;if(!_0x4f86be&&this[_0x14787a(0xd4)][_0x14787a(0x2eb)](_0x2a4552)&&this['_ensureSubject'](_0x2a4552)['next'](_0x268c5e[_0x14787a(0x209)][_0x14787a(0x2f9)]),!this[_0x14787a(0xd4)][_0x14787a(0x2eb)](_0x2a4552)||!this['_unitOnClients'][_0x14787a(0x197)](_0x2a4552)[_0x14787a(0x2eb)](_0x3b15cc)){const _0x368f5e=this[_0x14787a(0xd4)]['get'](_0x2a4552)||new Set();_0x368f5e[_0x14787a(0x34a)](_0x3b15cc),this['_unitOnClients'][_0x14787a(0x19c)](_0x2a4552,_0x368f5e),this['_scheduleClearOtherTimer'](_0x3b15cc);}}),_0x4f86be||this[_0x478cbd(0x28c)]({'type':0x0,'memberID':this[_0x478cbd(0x19d)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2563a1(0x2ef)](_0x328a9a){const _0xec3d43=_0x2563a1;this[_0xec3d43(0xe2)](_0x328a9a);const _0x2ac5f3=window[_0xec3d43(0x1dc)](()=>{const _0x4bfbd2=_0xec3d43;this[_0x4bfbd2(0xd4)]['forEach'](_0x5e294b=>{_0x5e294b['delete'](_0x328a9a);});},_0xb2fb14*0x2);this[_0xec3d43(0x156)][_0xec3d43(0x19c)](_0x328a9a,_0x2ac5f3);}[_0x2563a1(0xe2)](_0x1b139a){const _0x4a8ac0=_0x2563a1;if(this[_0x4a8ac0(0x156)][_0x4a8ac0(0x2eb)](_0x1b139a)){const _0x3843ef=this[_0x4a8ac0(0x156)][_0x4a8ac0(0x197)](_0x1b139a);_0x3843ef&&window[_0x4a8ac0(0x281)](_0x3843ef),this[_0x4a8ac0(0x156)][_0x4a8ac0(0x19c)](_0x1b139a,null);}}[_0x2563a1(0x25c)](_0x5b36e7){const _0x7a041d=_0x2563a1,{memberID:_0x583b92,unitIDs:_0xbf5c96}=_0x5b36e7;_0xbf5c96[_0x7a041d(0x10c)](_0x4ca7b4=>{const _0x5e1248=_0x7a041d;var _0x4955c2;const _0x69889d=this[_0x5e1248(0xd4)][_0x5e1248(0x197)](_0x4ca7b4);_0x69889d&&(_0x69889d[_0x5e1248(0x25f)](_0x583b92),(_0x4955c2=this[_0x5e1248(0xb4)](_0x4ca7b4))==null||_0x4955c2[_0x5e1248(0x269)](_0x69889d['size']===0x0?_0x268c5e[_0x5e1248(0x209)]['NO_OTHER_CLIENTS_EDITING']:_0x268c5e[_0x5e1248(0x209)][_0x5e1248(0x2f9)]));}),this[_0x7a041d(0xe2)](_0x583b92);}[_0x2563a1(0x18b)](_0x3e2e10){const _0x101d90=_0x2563a1;this[_0x101d90(0x2ef)](_0x3e2e10[_0x101d90(0x2e3)]);}[_0x2563a1(0x28c)](_0x2aa0cc){const _0x130a2f=_0x2563a1;localStorage[_0x130a2f(0x2f2)](_0xc5d91f,JSON['stringify'](_0x2aa0cc));}[_0x2563a1(0xf8)](){const _0x2e1b17=_0x2563a1;this[_0x2e1b17(0x1c3)]=window[_0x2e1b17(0x13f)](()=>{const _0x5bb24b=_0x2e1b17;this[_0x5bb24b(0x28c)]({'type':0x2,'memberID':this['_id']});},_0xb2fb14);}['_ensureSubject'](_0x4075be){const _0x3493ee=_0x2563a1;return this[_0x3493ee(0x112)]['has'](_0x4075be)||this['_unitStatus'][_0x3493ee(0x19c)](_0x4075be,new _0x2df3bb[(_0x3493ee(0x2a0))](_0x268c5e[_0x3493ee(0x209)][_0x3493ee(0x16b)])),this[_0x3493ee(0x112)]['get'](_0x4075be);}}var _0x6137ff=(_0x341ee2=>(_0x341ee2[_0x341ee2['UNDEFINED']=0x0]='UNDEFINED',_0x341ee2[_0x341ee2['OK']=0x1]='OK',_0x341ee2[_0x341ee2[_0x2563a1(0x333)]=0x2]=_0x2563a1(0x333),_0x341ee2[_0x341ee2['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x341ee2[_0x341ee2[_0x2563a1(0x248)]=0x4]='NOT_FOUND',_0x341ee2[_0x341ee2[_0x2563a1(0x15c)]=0x5]=_0x2563a1(0x15c),_0x341ee2[_0x341ee2[_0x2563a1(0x1c4)]=0x6]=_0x2563a1(0x1c4),_0x341ee2[_0x341ee2['INVALID_ARGUMENT']=0x7]=_0x2563a1(0x1a5),_0x341ee2[_0x341ee2[_0x2563a1(0x119)]=0x8]=_0x2563a1(0x119),_0x341ee2[_0x341ee2['COMPLETION_FINISHED']=0x9]=_0x2563a1(0x172),_0x341ee2[_0x341ee2['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x341ee2[_0x341ee2[_0x2563a1(0x10e)]=0xb]=_0x2563a1(0x10e),_0x341ee2[_0x341ee2['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2563a1(0x22f),_0x341ee2[_0x341ee2['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2563a1(0x1e5),_0x341ee2[_0x341ee2[_0x2563a1(0x2c2)]=0xe]=_0x2563a1(0x2c2),_0x341ee2[_0x341ee2[_0x2563a1(0x2c4)]=0x1389]=_0x2563a1(0x2c4),_0x341ee2[_0x341ee2[_0x2563a1(0x1b0)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x341ee2[_0x341ee2[_0x2563a1(0x109)]=0x1772]=_0x2563a1(0x109),_0x341ee2[_0x341ee2[_0x2563a1(0x2cb)]=0x1773]=_0x2563a1(0x2cb),_0x341ee2[_0x341ee2[_0x2563a1(0x2b9)]=0x1b59]=_0x2563a1(0x2b9),_0x341ee2[_0x341ee2[_0x2563a1(0x2c1)]=0x1b5a]=_0x2563a1(0x2c1),_0x341ee2[_0x341ee2['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x341ee2[_0x341ee2[_0x2563a1(0x337)]=0x1b5c]=_0x2563a1(0x337),_0x341ee2[_0x341ee2[_0x2563a1(0x2d1)]=0x1b5d]='APPLY_DUPLICATED',_0x341ee2[_0x341ee2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x341ee2[_0x341ee2[_0x2563a1(0x2e0)]=0x2329]=_0x2563a1(0x2e0),_0x341ee2[_0x341ee2[_0x2563a1(0x30c)]=0x232a]=_0x2563a1(0x30c),_0x341ee2[_0x341ee2['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2563a1(0x149),_0x341ee2[_0x341ee2[_0x2563a1(0xed)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x341ee2[_0x341ee2[_0x2563a1(0x1c7)]=0x232d]=_0x2563a1(0x1c7),_0x341ee2[_0x341ee2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2563a1(0xe8),_0x341ee2[_0x341ee2[_0x2563a1(0x2da)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x341ee2[_0x341ee2[_0x2563a1(0x25e)]=0x2713]=_0x2563a1(0x25e),_0x341ee2[_0x341ee2[_0x2563a1(0x139)]=0x2714]=_0x2563a1(0x139),_0x341ee2[_0x341ee2['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x341ee2[_0x341ee2['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2563a1(0x1f5),_0x341ee2[_0x341ee2[_0x2563a1(0x1e3)]=0x271c]=_0x2563a1(0x1e3),_0x341ee2[_0x341ee2[_0x2563a1(0xb3)]=0x271d]=_0x2563a1(0xb3),_0x341ee2[_0x341ee2[_0x2563a1(0x1fe)]=0x271e]=_0x2563a1(0x1fe),_0x341ee2[_0x341ee2[_0x2563a1(0x207)]=0x271f]=_0x2563a1(0x207),_0x341ee2[_0x341ee2[_0x2563a1(0x154)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x341ee2[_0x341ee2[_0x2563a1(0x352)]=0x2af9]=_0x2563a1(0x352),_0x341ee2[_0x341ee2[_0x2563a1(0x1b9)]=0x2ee1]=_0x2563a1(0x1b9),_0x341ee2[_0x341ee2[_0x2563a1(0x235)]=0x2ee2]=_0x2563a1(0x235),_0x341ee2[_0x341ee2[_0x2563a1(0x1ea)]=0x2ee3]=_0x2563a1(0x1ea),_0x341ee2[_0x341ee2['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2563a1(0x12b),_0x341ee2[_0x341ee2[_0x2563a1(0xd0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x341ee2[_0x341ee2[_0x2563a1(0xf5)]=0x32c9]=_0x2563a1(0xf5),_0x341ee2[_0x341ee2[_0x2563a1(0x1be)]=0x32ca]=_0x2563a1(0x1be),_0x341ee2[_0x341ee2['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2563a1(0x1a8),_0x341ee2[_0x341ee2[_0x2563a1(0x1e2)]=-0x1]=_0x2563a1(0x1e2),_0x341ee2))(_0x6137ff||{}),_0x205e87=Object[_0x2563a1(0x1b5)],_0x2a3b45=(_0x2fb156,_0x45d0c6,_0x33bb8d,_0x2007b0)=>{const _0x43ff34=_0x2563a1;for(var _0x21bb7a=_0x2007b0>0x1?void 0x0:_0x2007b0?_0x205e87(_0x45d0c6,_0x33bb8d):_0x45d0c6,_0x281a20=_0x2fb156[_0x43ff34(0x2a7)]-0x1,_0x5632a2;_0x281a20>=0x0;_0x281a20--)(_0x5632a2=_0x2fb156[_0x281a20])&&(_0x21bb7a=_0x5632a2(_0x21bb7a)||_0x21bb7a);return _0x21bb7a;},_0x5a33fc=(_0x5b83a4,_0x5308f2)=>(_0x1141c2,_0x125e57)=>_0x5308f2(_0x1141c2,_0x125e57,_0x5b83a4);_0xad88c7[_0x2563a1(0x1c6)]=class extends _0x5e4ee0['Disposable']{constructor(_0x4e3026,_0x1c3769,_0x71f90f){const _0x4dd367=_0x2563a1;super(),this[_0x4dd367(0x22b)]=_0x4e3026,this['_httpService']=_0x1c3769,this[_0x4dd367(0x2a4)]=_0x71f90f;}async[_0x2563a1(0x1a9)](_0x51163b,_0x5b9c6b,_0x509d38,..._0x595ef4){const _0x1e814a=_0x2563a1;var _0x139157,_0x4a73e1,_0x24b0de,_0x59076d;const _0x24383a=this[_0x1e814a(0x22b)][_0x1e814a(0xd7)]();if(!_0x24383a)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4fa3e8=((_0x139157=this[_0x1e814a(0x2a4)][_0x1e814a(0x181)](_0x268c5e['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x139157:_0x268c5e[_0x1e814a(0x27b)])+'/'+_0x51163b+'/run/'+_0x5b9c6b,_0x5398ee=new URL(window[_0x1e814a(0xca)][_0x1e814a(0x228)]),_0x56c0d9={'scriptId':_0x51163b,'runId':(_0x4a73e1=_0x5398ee[_0x1e814a(0x342)]['get'](_0x1e814a(0x233)))!=null?_0x4a73e1:'','function':_0x5b9c6b,'unitId':_0x24383a['getUnitId'](),'argsOfFunction':JSON[_0x1e814a(0x1db)](_0x595ef4),'invokeId':(_0x24b0de=_0x509d38[_0x1e814a(0x320)])!=null?_0x24b0de:'','executionId':(_0x59076d=_0x509d38[_0x1e814a(0x157)])!=null?_0x59076d:''};try{const _0x5dfa61=await this['_httpService'][_0x1e814a(0x33b)](_0x4fa3e8,{'body':_0x56c0d9});return _0x5dfa61[_0x1e814a(0x294)]['error']&&_0x5dfa61[_0x1e814a(0x294)][_0x1e814a(0x2c3)][_0x1e814a(0x234)]!==_0x6137ff['OK']?_0x1e814a(0x23a):_0x5dfa61['body'][_0x1e814a(0x2f8)];}catch{return _0x1e814a(0x23a);}}},_0xad88c7['RemoteUniscriptService']=_0x2a3b45([_0x5a33fc(0x0,_0x5e4ee0[_0x2563a1(0x349)]),_0x5a33fc(0x1,_0x5e4ee0[_0x2563a1(0xaf)](_0x17423d[_0x2563a1(0x18a)])),_0x5a33fc(0x2,_0x5e4ee0[_0x2563a1(0x142)])],_0xad88c7[_0x2563a1(0x1c6)]),_0xad88c7[_0x2563a1(0x2c0)]=_0x4046f9,_0xad88c7[_0x2563a1(0x102)]=_0x8b9607,_0xad88c7[_0x2563a1(0x118)]=_0x29234a,_0xad88c7[_0x2563a1(0x1ed)]=_0x163e88,_0xad88c7[_0x2563a1(0x148)]=_0x1c552b,Object[_0x2563a1(0x18c)](_0xad88c7,Symbol[_0x2563a1(0x1b7)],{'value':_0x2563a1(0x2f4)});}));function _0x5ad2(_0x2121cd,_0x33c608){const _0x2faee5=_0x2fae();return _0x5ad2=function(_0x5ad2d2,_0xa07234){_0x5ad2d2=_0x5ad2d2-0xaf;let _0x235494=_0x2faee5[_0x5ad2d2];return _0x235494;},_0x5ad2(_0x2121cd,_0x33c608);}function _0x2fae(){const _0x19af89=['BuiltInUIPart','focused$','get','column','entityInit$','actions','fillStyle','set','_id','AWAITING_WITH_PENDING','_getSaveTimeout','transformByState','UniverProCollaboration','getAncestorScale','useRef','_uiPartsService','INVALID_ARGUMENT','debounce','url(#off-line-icon_clip0_910_343)','EMAIL_HAS_BEEN_BOUND','runOnServer','FETCH_MISS','DeleteRangeMoveLeftCommandId','_cursor','getTypeOfUnitDisposed$','_colorIndex','white','SNAPSHOT_INVALID_SNAPSHOT','_createSocketURL','unit','Error','mask','getOwnPropertyDescriptor','_toggleOffline','toStringTag','_registerRenderDependencies','INVITE_CODE_HAS_BEEN_UES','@univerjs/engine-render','extend','getColor','_cursors','MOBILE_HAS_BEEN_BOUND','ITransformService','DesktopCollaborationStatusDisplayController','clsx','SetSelectionsOperation','_heartbeatTimer','ALREADY_EXISTS','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','RemoteUniscriptService','LICENSE_DISTRO_REJECTED','UniverDrawing','init','onMouseMove','RegularPolygon','_handleJoinEvent','m1Prime','ISnapshotServerService','getUnitStatus$','toDisposable','_renderManagerService','hasOwnProperty','PENDING','registerRenderModule','@univerjs/docs-ui','roomMembers$','size','UniverCollaborationClientUIPlugin','getSheetId','ISocketService','stringify','setTimeout','xlink:href','getStateCache','@univerjs/rpc','@univerjs/ui','_collaborationController','UNRECOGNIZED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SetWorksheetActivateCommand','EMAIL_VERIFY_CODE_MISMATCH','getRelativeToViewportCoord','uni.network.url-service','pluginName','forwardRef','INVITE_CODE_REQUIRED','deserializeRangeWithSheet','getUniverSheetInstance','WebBrowserSingleActiveUnitService','MoveRangeCommandId','transformRemoteChangeset','collaboration.single-unit.warning','73031OnMHGQ','dispose','@univerjs/core','_sheetSkeletonManagerService','YUUMI_ASYNCIO_CANCELLED','triggerDblclick','_disabled','_docStateChangeManagerService','registerBeforeClose','_initEntityListener','CollaborationEvent','deepClone','UniverUi','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverNetwork','_univerInstanceService','getCoordByCell','connectInjector','10227717xZrmej','merge','startRow','_status$','YUUMI_AI_RUN_FAILED','EffectRefRangId','UnitStatus','TEXT_RANGE_LAYER_INDEX','_entityInit$','_transformPreviousActiveRange','_render','_hovered','pushState','_hover','getCurrentRevOfUnit','wsSessionTicketUrl','_themeService','map','removeParam','DisposableCollection','updateOfflineData','IMessageService','ColorKit','handleIRemoveRow','trim','collabStatus.fetchMiss','disableLocalCache','getViewport','loadUnit','_setupBeforeClosingHandler','_memberService','none','handleDeleteRangeMoveLeft','serializeRangeWithSheet','getValue','RemoveRowCommandId','PERMISSION_DENIED','href','HEADER_MENU','flatMap','_instanceService','arc','1em','purple.300','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','find','_cursorInfo$','syncEditingCollabCursor','runId','code','INVALID_INVITE_CODE','useCallback','event$','_docClipboardService','IUIPartsService','Failed','undoState','InsertColCommandId','subscribe','Disposable','InsertRowCommandId','createInstance','roomMembers','_revisionService','3273960sFmbEu','_updateURLWithCurrentState','@univerjs/sheets-ui','SHEET_VIEWPORT_KEY','text','NOT_FOUND','push','indexOf','split','round','onPointerLeave$','save','_colorAssignService','onRendered','Subject','startsWith','jsxs','_draw','UniverSheetsUi','range','transformMutationsWithChangeset','color','MUTATION','clipPath','_docSyncEditingCollabCursorService','_handleLeaveEvent','fillText','YUUMI_RATE_OVER_LIMIT','delete','_docTransformStateCacheService','assign','toString','ILocalCacheService','getUnitId','addObject','_docTransformSelectionsService','Shape','_collabCursorController','next','skeleton','getCurrent','getVpScrollXYInfoByPosToVp','m2Prime','setStateCache','executeCommand','_init','getCollabCursors$','selections','@univerjs/sheets','engine','OFFLINE','_scheduleSaving','collabStatus.syncing','setUndoRedoMutationParamsCache','saveImage','OffLineIcon','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','hide','_transformHistoryAndStateStack','RECT','_scene','getSkeleton','clearTimeout','collabStatus.synced','UniverEngineRender','sheetID','_getSheetObject','row','unshift','_commandService','UniverDocs','top','0\x200\x2017\x2016','_send','children','isActive','CollaborationSocketService','WebSocketService','[CollaborationDataLoaderController]','M0\x200H16V16H0z','RefRangeService','body','width','entries','_doCreateSocket','IImageIoService','_docTransformIMECacheService','_localStorageService','getColorFromTheme','_startSheetCollabCursor','_anchorDot','bottom','_saveTaskMap','BehaviorSubject','_lastPointer','CollaborationController','onTransformChange$','_configService','data','onStarting','length','UPDATE_CURSOR','Rect','_imageIoService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','OTHER_CLIENT_EDITING','CollaborationDataLoaderController','_collabCursorState$','createElement','history','session.will-retry','onLocalMutation','replaceDocRanges','requireSession','tag','_getAnchorBounding','TRANSFORM_CHANGE_OBSERVABLE_TYPE','height','APPLY_REJECT','from','hovered','CLOSE_ROOM','react/jsx-runtime','ranges','SOCKET_FAILED_RETRY','CollaborationStatusDisplay','APPLY_NON_SEQUENTIAL_REVISION','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','error','CHANGESET_REVISION_CONFILICT','_session','amd','CollaborationUIEventId','jsx','url(#$1','_refRangeService','ENSURE_SNAPSHOT_EXECUTION','_registerDependencies','mergeOverrideWithDependencies','@univerjs/network','IRemoteInstanceService','getSheetBySheetId','APPLY_DUPLICATED','_messageService','ThemeService','UniverDocsUi','CollaborationSessionService','endRow','assignAColorForMemberID','saveTaskMap','_urlService','YUUMI_URL_COL_OUT_OF_RANGE','_handleEvent','resize','redoState','currentSkeleton$','_beforeCloseService','LICENSE_MAX_UNITS_EXCEEDED','LOCAL_CACHE_INTERVAL','send','memberID','storage','icon','moveTo','debounceTime','_drawAnchor','DocSkeletonManagerService','@univerjs/drawing','has','UNIVER_SHEET','filter','_syncEditingCollabCursorService','_scheduleClearOtherTimer','with','rxjs','setItem','fromEventSubject','Module','collabCursorState$','CollaborationUIEventService','_toggleOnline','result','OTHER_CLIENTS_EDITING','_hideTimer','closePath','collabStatus.notCollab','CollaborationStatus','backgroundColor','MemberService','@univerjs-pro/collaboration-client','_initEvent','0\x200\x2016\x2016','urlChange$','UniverEngineFormula','Unknown\x20user','permission.title','RxDisposable','getSheetObject','getActiveSheet','...','_shapes','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_name','DocIMEInputManagerService','transformMutation','getItem','exhaustSavingTask','generateRandomId','USERS_LEAVE','IDocClipboardService','some','random','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','react','_getSessionTicket','handleInsertCol','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','onPointerEnter$','handleInsertRangeMoveRight','collaboration.closeRoom','session.connection-failed','invokeId','collab-text-range-','debug','DocSelectionManagerService','selection','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_eventUnsubscribe','measureText','_drawRectRange','activeSheet$','black','_cursorShapes','operators','_updateLocalCursor','rxjs/operators','cursorInfo','function','svg','_updateCollabCursors','INTERNAL_ERROR','SYNCED','getOffsetConfig','url(#on-line-icon_clip0_910_349)','APPLY_PERMISSION_DENIED','symbol','isEditing','fill','post','getMergeData','UNIVER_DOC','prototype','newValue','sessionStatus$','setShapeProps','searchParams','mutations','evenodd','saveOfflineData','UniverRpc','_docSkeleton','setConfig','IUniverInstanceService','add','off-line-icon','getTypeOfUnitAdded$','div','params','switchMap','_initResize','lineTo','PY_RUNTIME_SCRIPT_ERROR','isTransformMutationsWithChangesetSuccess','getUndoRedoMutationParamsCache','COLORS','_anchor','application/json','NOT_COLLAB','MessageType','6KjgiDs','React','Inject','getRangePointData','_initCommandExecutedListener','touchDependencies','YUUMI_ALL_TABLES_IS_INVALID','_ensureSubject','_transformUndoRedoStack','unitId','_config','_entities','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_injector','_initStatusComponent','cursorInfo$','JOIN_ROOM_FAILED','@univerjs-pro/collaboration','Optional','_getMergeRange','blue.400','getRenderById','getUnhiddenWorksheets','displayName','_removeCollabCursors','_docSkeletonManagerService','translate(.97)','addClipboardHook','rgba(255,\x20255,\x20255,\x200.01)','location','_handleHover','handleDeleteRangeMoveUp','handleMoveRange','takeUntil','_drawTextRange','INVITE_CODE_ALREADY_BOUND','currentTheme$','name','yellow.400','_unitOnClients','_refreshCollabCursors','collabStatus.conflict','getFocusedUnit','replaceState','subunit','@univerjs/engine-formula','http://www.w3.org/2000/svg','getMemberID','unitID','call','transformSelections','_onCursorDelete','AWAITING','_removeClearOtherTimer','_localCacheService','Tools','InsertRangeMoveRightCommandId','colorChannel1','permission.content','YUUMI_UNABLE_LOAD_URL','doc.mutation.rich-text-editing','NodePositionConvertToCursor','apply','_updateSubUnitFromURLParams','LICENSE_EXPORT_SIZE_EXCEEDED','UniverProCollaborationClient','search','show','DocCollaborationEntity','subscribeEvent','runRefRangeMutations','FromArray','WECHAT_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','SheetSkeletonManagerService','_scheduleHeartbeat','Workbook','string','transformIMECache','_localeService','UniverInstanceType','SetTextSelectionsOperation','_onCursorUpdate','TEXT','mapTo','IURLService','className','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','registerRefRange','getCurrentUnitForType','on-line-icon','dispose$','SNAPSHOT_HAS_BEEN_REMOVED','collab-text-anchor-','toRgbString','forEach','11127SObptZ','MOBILE_VERIFY_CODE_MISMATCH','collaboration-client-ui.config','_context','BrowserCollaborationSocketService','_unitStatus','defs','imageSourceType','docStateChange$','_assignedColors','use','SheetCollabCursorShape','TOO_MANY_REQUESTS','_initStatusListener','drawWith','jiqing.500','currentColor','_document','popstate','ICommandService','SessionStatus','_roomMembers$','_httpService','collabStatus.offline','_startDocCollabCursor','fromEvent','Injector','DataLoaderService','min','getActiveRange','USER_NOT_INVITED_CODE','RevisionService','268BPxRBk','ILogService','_selfUnitIDs','@univerjs/design','key','asObservable','IRenderManagerService','UniverIcon','startColumn','UniverProCollaborationClientUi','SUBMIT_CHANGESET_TIMEOUT','eventID','YUUMI_SUBSCRIPTION_NOT_FOUND','getMember','DOC_RANGE_TYPE','values','_labelPosition','transform','setInterval','CommandType','RichTextEditingMutation','IConfigService','setAlpha','onCommandExecuted','_logService','746892QoMYBC','getCollabEntity$','WebURLService','LICENSE_IMPORT_SIZE_EXCEEDED','getOwnPropertySymbols','transformStateCache','_dataLoaderService','_getScale','on-line-icon_clip0_910_349','_saveCache','getParam','isTransformMutationFailure','_collabSessionService','disposeWithMe','YUUMI_CONNECTOR_URL_NOT_FOUND','_collaborationUIEventService','_clearOtherTimers','executionId','_backgroundColor','SOCKET_FAILED','isArray','handleInsertRow','UNAUTHENTICATED','unsubscribe','useObservable','_setupSubUnitSync','origin','findNodePositionByCharIndex','makeDirty','defIds','path','textRanges','type','_textBubble','LocaleService','_range','UniverCollaborationClientPlugin','NO_OTHER_CLIENTS_EDITING','Warning','_online','Vector2','#FFF','substring','enableLocalCache','COMPLETION_FINISHED','addHandlerCallback','setActiveRange','ONLINE','attrs','_onRefRangeChange','idSuffix','_transformService','collab-client.tooltip.reconnect','combineLatest','off-line-icon_clip0_910_343','getDocRanges','ACTIVE_UNIT_EVENT_CHANNEL','complete','52350RMdIEW','getConfig','pipe','then','UniverDesign','DocStateChangeManagerService','restore','source','InsertRangeMoveDownCommandId','concat','HTTPService','_handleHeartbeatEvent','defineProperty','getLocalCacheKey','_initDependencies','_color','2326160WitZZH','@univerjs/docs','createSocket','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','all'];_0x2fae=function(){return _0x19af89;};return _0x2fae();}