@univerjs-pro/collaboration-client-ui 0.8.3-nightly.202507021607 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3130(_0x335b83,_0x624178){const _0xe1ef3d=_0xe1ef();return _0x3130=function(_0x31301a,_0x4dff0a){_0x31301a=_0x31301a-0x158;let _0x385fa5=_0xe1ef3d[_0x31301a];return _0x385fa5;},_0x3130(_0x335b83,_0x624178);}(function(_0x475f3a,_0x44d58a){const _0x1910e6=_0x3130,_0x11f124=_0x475f3a();while(!![]){try{const _0x1973b4=-parseInt(_0x1910e6(0x39f))/0x1*(parseInt(_0x1910e6(0x2ff))/0x2)+-parseInt(_0x1910e6(0x3cb))/0x3*(-parseInt(_0x1910e6(0x2b2))/0x4)+parseInt(_0x1910e6(0x3ca))/0x5*(parseInt(_0x1910e6(0x265))/0x6)+-parseInt(_0x1910e6(0x397))/0x7+parseInt(_0x1910e6(0x191))/0x8*(-parseInt(_0x1910e6(0x2ef))/0x9)+parseInt(_0x1910e6(0x36a))/0xa*(parseInt(_0x1910e6(0x1c3))/0xb)+-parseInt(_0x1910e6(0x25b))/0xc*(-parseInt(_0x1910e6(0x25f))/0xd);if(_0x1973b4===_0x44d58a)break;else _0x11f124['push'](_0x11f124['shift']());}catch(_0x3df8ff){_0x11f124['push'](_0x11f124['shift']());}}}(_0xe1ef,0xefc78),function(_0x1d12ee,_0x33844d){const _0x4bff82=_0x3130;typeof exports==_0x4bff82(0x1ba)&&typeof module<'u'?_0x33844d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x4bff82(0x385)&&define['amd']?define([_0x4bff82(0x3da),'@univerjs-pro/collaboration-client','@univerjs/core',_0x4bff82(0x334),_0x4bff82(0x312),_0x4bff82(0x3ba),_0x4bff82(0x26d),_0x4bff82(0x389),_0x4bff82(0x37a),_0x4bff82(0x247),_0x4bff82(0x3c3),_0x4bff82(0x327),_0x4bff82(0x23d),_0x4bff82(0x399),'react/jsx-runtime',_0x4bff82(0x2e4),_0x4bff82(0x3d0),_0x4bff82(0x3b2),_0x4bff82(0x2a8)],_0x33844d):(_0x1d12ee=typeof globalThis<'u'?globalThis:_0x1d12ee||self,_0x33844d(_0x1d12ee[_0x4bff82(0x22c)]={},_0x1d12ee[_0x4bff82(0x3a7)],_0x1d12ee[_0x4bff82(0x22b)],_0x1d12ee[_0x4bff82(0x255)],_0x1d12ee[_0x4bff82(0x2b1)],_0x1d12ee[_0x4bff82(0x38c)],_0x1d12ee[_0x4bff82(0x1b7)],_0x1d12ee[_0x4bff82(0x389)],_0x1d12ee[_0x4bff82(0x26e)],_0x1d12ee[_0x4bff82(0x15a)],_0x1d12ee[_0x4bff82(0x2ac)],_0x1d12ee[_0x4bff82(0x24e)],_0x1d12ee[_0x4bff82(0x389)][_0x4bff82(0x31d)],_0x1d12ee['UniverSheetsUi'],_0x1d12ee[_0x4bff82(0x274)],_0x1d12ee[_0x4bff82(0x368)],_0x1d12ee[_0x4bff82(0x2da)],_0x1d12ee['React'],_0x1d12ee['UniverRpc']));}(this,function(_0x2b5cdb,_0x3df360,_0xffd2a8,_0x365d9c,_0x5bf310,_0x2992e3,_0x15eb4a,_0xde1ef0,_0x3c67a0,_0xc536cc,_0x26582d,_0x1e6254,_0x25274c,_0x3c136a,_0x300e33,_0xd238db,_0x291018,_0x4fbffb,_0x20c23b){'use strict';const _0x4edbca=_0x3130;var _0x3bbf41=Object[_0x4edbca(0x366)],_0x222f6a=(_0x1262ef,_0x2cb922,_0x140a7c)=>_0x2cb922 in _0x1262ef?_0x3bbf41(_0x1262ef,_0x2cb922,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x140a7c}):_0x1262ef[_0x2cb922]=_0x140a7c,_0x45f8a5=(_0x7303f6,_0x241e8f,_0x1ded2e)=>_0x222f6a(_0x7303f6,typeof _0x241e8f!=_0x4edbca(0x341)?_0x241e8f+'':_0x241e8f,_0x1ded2e),_0x3dfd01=Object[_0x4edbca(0x304)],_0x1c2da7=(_0x2679e8,_0x547709,_0x28624c,_0x2ab2bc)=>{const _0x215871=_0x4edbca;for(var _0x4c9e4f=_0x2ab2bc>0x1?void 0x0:_0x2ab2bc?_0x3dfd01(_0x547709,_0x28624c):_0x547709,_0x29e285=_0x2679e8[_0x215871(0x35f)]-0x1,_0x3bfb8a;_0x29e285>=0x0;_0x29e285--)(_0x3bfb8a=_0x2679e8[_0x29e285])&&(_0x4c9e4f=_0x3bfb8a(_0x4c9e4f)||_0x4c9e4f);return _0x4c9e4f;},_0x3d998f=(_0x2ee675,_0x228100)=>(_0x3c805e,_0x15adc0)=>_0x228100(_0x3c805e,_0x15adc0,_0x2ee675);let _0x12a509=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x56c484,_0x1ff346){const _0x1d356e=_0x4edbca;super(),this[_0x1d356e(0x209)]=_0x56c484,this[_0x1d356e(0x2f8)]=_0x1ff346,this[_0x1d356e(0x3a5)]();}[_0x4edbca(0x3a5)](){const _0x328acb=_0x4edbca,_0x267f8d=this;this['disposeWithMe'](this[_0x328acb(0x209)][_0x328acb(0x246)]({'onBeforePasteImage':async _0x37598d=>{const _0x44fd08=_0x328acb,_0x4009c6=await _0x267f8d[_0x44fd08(0x2f8)][_0x44fd08(0x3a6)](_0x37598d);return _0x4009c6?{'source':_0x4009c6[_0x44fd08(0x195)],'imageSourceType':_0x4009c6[_0x44fd08(0x329)]}:null;}}));}};_0x12a509=_0x1c2da7([_0x3d998f(0x0,_0x2992e3['IDocClipboardService']),_0x3d998f(0x1,_0x15eb4a['IImageIoService'])],_0x12a509);const _0x3ed6f0=[_0x4edbca(0x1ca),_0x4edbca(0x2a4),'green.600',_0x4edbca(0x2f3),_0x4edbca(0x250),_0x4edbca(0x1ea)];class _0x487110 extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(){const _0x1078b6=_0x4edbca;super(...arguments),_0x45f8a5(this,_0x1078b6(0x1f3),new Map()),_0x45f8a5(this,_0x1078b6(0x162),0x0);}[_0x4edbca(0x351)](_0x55ee68){const _0x1b9a44=_0x4edbca;if(this[_0x1b9a44(0x1f3)][_0x1b9a44(0x313)](_0x55ee68))return this['_assignedColors'][_0x1b9a44(0x176)](_0x55ee68);const _0x22b5e7=_0x3ed6f0[this[_0x1b9a44(0x162)]];return this[_0x1b9a44(0x162)]=(this['_colorIndex']+0x1)%_0x3ed6f0[_0x1b9a44(0x35f)],this[_0x1b9a44(0x1f3)][_0x1b9a44(0x23f)](_0x55ee68,_0x22b5e7),_0x22b5e7;}}function _0x409bf2(_0x2c1d55){const _0x464f69=_0x4edbca;let _0x4d893a='';for(const _0x60c3e9 of _0x2c1d55){const {startOffset:_0x92e22,endOffset:_0x1b28c7,isActive:_0x685b0a,rangeType:_0x3de78e,segmentId:_0x1f56b6,segmentPage:_0x35255e}=_0x60c3e9;_0x4d893a[_0x464f69(0x35f)]&&(_0x4d893a+=','),_0x4d893a+=_0x92e22+':'+_0x1b28c7+':'+(_0x685b0a?'1':'0')+':'+_0x3de78e+':'+_0x1f56b6+':'+_0x35255e;}return _0x4d893a;}function _0x315c12(_0x342611){const _0x41ac62=_0x4edbca,_0x38962b=_0x342611[_0x41ac62(0x212)](','),_0x162849=[];for(const _0xee69a2 of _0x38962b){const [_0x46a9a8,_0x3cd6ab,_0x3d22d5,_0x2cec39,_0x2a8598,_0x5a5fdc]=_0xee69a2[_0x41ac62(0x212)](':');_0x162849[_0x41ac62(0x26c)]({'startOffset':Number(_0x46a9a8),'endOffset':Number(_0x3cd6ab),'collapsed':_0x46a9a8===_0x3cd6ab,'isActive':_0x3d22d5==='1','rangeType':_0x2cec39===_0xffd2a8[_0x41ac62(0x2ba)][_0x41ac62(0x1ae)]?_0xffd2a8[_0x41ac62(0x2ba)][_0x41ac62(0x1ae)]:_0xffd2a8[_0x41ac62(0x2ba)][_0x41ac62(0x1db)],'segmentId':typeof _0x2a8598==_0x41ac62(0x264)?String(_0x2a8598):'','segmentPage':Number(_0x5a5fdc!=null?_0x5a5fdc:-0x1)});}return _0x162849[_0x41ac62(0x37d)](_0x1c2d0e=>_0x1c2d0e['isActive'])||(_0x162849[0x0][_0x41ac62(0x37b)]=!0x0),_0x162849;}class _0x1f70dd extends _0xffd2a8[_0x4edbca(0x393)]{constructor(){const _0x34c8e5=_0x4edbca;super(...arguments),_0x45f8a5(this,_0x34c8e5(0x2d3),new _0xde1ef0[(_0x34c8e5(0x2f7))](null)),_0x45f8a5(this,_0x34c8e5(0x33c),this[_0x34c8e5(0x2d3)][_0x34c8e5(0x33b)]());}['syncEditingCollabCursor'](_0x91993c){const _0x48d869=_0x4edbca,{unitID:_0x24a54a,memberID:_0x1be54d,textRanges:_0x33e66f}=_0x91993c,_0x402c87=_0x409bf2(_0x33e66f);if(_0x402c87==='')return;const _0x46f2a8={'unitID':_0x24a54a,'memberID':_0x1be54d,'selection':_0x402c87};this['_collabCursorState$'][_0x48d869(0x31b)](_0x46f2a8);}}var _0x522f9e=Object[_0x4edbca(0x304)],_0x4bdcf2=(_0xcd04b5,_0x1e96ca,_0x1ce2e9,_0x445cd3)=>{const _0x2c8b7c=_0x4edbca;for(var _0x6687a8=_0x445cd3>0x1?void 0x0:_0x445cd3?_0x522f9e(_0x1e96ca,_0x1ce2e9):_0x1e96ca,_0xccb176=_0xcd04b5[_0x2c8b7c(0x35f)]-0x1,_0xf11fe7;_0xccb176>=0x0;_0xccb176--)(_0xf11fe7=_0xcd04b5[_0xccb176])&&(_0x6687a8=_0xf11fe7(_0x6687a8)||_0x6687a8);return _0x6687a8;},_0x5d732b=(_0x5dfc74,_0x568b73)=>(_0x551d9e,_0x1bf508)=>_0x568b73(_0x551d9e,_0x1bf508,_0x5dfc74);const _0x1d3f36=0x12c,_0x3cfa22=0x64;let _0x22cec7=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x3d593a,_0x36cdb0,_0xac92b5,_0x1b216f,_0x4413c8,_0x3e938c,_0x5937b6,_0x3b6cdd,_0x176470){const _0x1108fb=_0x4edbca;super(),_0x45f8a5(this,_0x1108fb(0x3a1),!0x1),_0x45f8a5(this,_0x1108fb(0x3a5),!0x1),_0x45f8a5(this,_0x1108fb(0x37e),new _0xde1ef0[(_0x1108fb(0x2f7))](new Map())),_0x45f8a5(this,'cursorInfo$',this[_0x1108fb(0x37e)]['asObservable']()),_0x45f8a5(this,_0x1108fb(0x2c9),new _0xde1ef0[(_0x1108fb(0x2f7))]([])),_0x45f8a5(this,_0x1108fb(0x161),this['_roomMembers$'][_0x1108fb(0x1e6)](_0xde1ef0['debounceTime'](_0x1d3f36))),_0x45f8a5(this,_0x1108fb(0x266),_0xffd2a8[_0x1108fb(0x38e)](_0x2290f1=>{const _0x46e347=_0x1108fb,_0x65345b={'eventID':_0x3c67a0['CollaborationEvent'][_0x46e347(0x18f)],'data':{'unitID':this[_0x46e347(0x330)],'memberID':this[_0x46e347(0x29a)][_0x46e347(0x36d)](),'selection':_0x409bf2(_0x2290f1)}};this[_0x46e347(0x29a)]['send'](_0x65345b,this['unitID']);},_0x3cfa22)),(this[_0x1108fb(0x330)]=_0x3d593a,this[_0x1108fb(0x29a)]=_0x36cdb0,this[_0x1108fb(0x311)]=_0xac92b5,this[_0x1108fb(0x23e)]=_0x1b216f,this[_0x1108fb(0x3c7)]=_0x4413c8,this[_0x1108fb(0x2e6)]=_0x3e938c,this[_0x1108fb(0x2ce)]=_0x5937b6,this[_0x1108fb(0x1d5)]=_0x3b6cdd,this[_0x1108fb(0x2be)]=_0x176470);}get[_0x4edbca(0x2fd)](){const _0x23f832=_0x4edbca;return this[_0x23f832(0x37e)][_0x23f832(0x377)]();}get[_0x4edbca(0x16e)](){const _0xc85ae1=_0x4edbca;return this['_roomMembers$'][_0xc85ae1(0x377)]();}['dispose'](){const _0x56fccb=_0x4edbca;super[_0x56fccb(0x27a)](),this[_0x56fccb(0x37e)]['next'](new Map()),this[_0x56fccb(0x37e)][_0x56fccb(0x172)](),this[_0x56fccb(0x2c9)][_0x56fccb(0x31b)]([]),this[_0x56fccb(0x2c9)][_0x56fccb(0x172)]();}['init'](){const _0x1c8084=_0x4edbca;this[_0x1c8084(0x3a5)]||(this[_0x1c8084(0x3a5)]=!0x0,this[_0x1c8084(0x29a)]['sessionStatus$'][_0x1c8084(0x1e6)](_0xde1ef0['takeUntil'](this[_0x1c8084(0x2c0)]))[_0x1c8084(0x367)](_0x357316=>{const _0x24a521=_0x1c8084;_0x357316===_0x3df360[_0x24a521(0x190)][_0x24a521(0x39b)]?this[_0x24a521(0x223)]():this['_toggleOffline']();}),this[_0x1c8084(0x29a)][_0x1c8084(0x3bc)][_0x1c8084(0x1e6)](_0xde1ef0[_0x1c8084(0x3b6)](this['dispose$']))['subscribe'](_0x21163e=>{const _0x5cfac4=_0x1c8084,_0x88623=_0x21163e['eventID'];_0x88623===_0x3c67a0[_0x5cfac4(0x2c2)][_0x5cfac4(0x18f)]&&this[_0x5cfac4(0x1a9)](_0x21163e),_0x88623===_0x3c67a0[_0x5cfac4(0x2c2)]['USERS_LEAVE']&&this[_0x5cfac4(0x1a1)](_0x21163e);}),this['disposeWithMe'](this[_0x1c8084(0x2be)][_0x1c8084(0x1cb)](_0x1c45b1=>{const _0x5c1131=_0x1c8084,_0x28b789=_0x1c45b1[_0x5c1131(0x1da)];_0x28b789!=null&&this[_0x5c1131(0x3a1)]&&_0x1c45b1['id']===_0xc536cc['SetTextSelectionsOperation']['id']&&_0x28b789[_0x5c1131(0x331)]===this['unitID']&&_0x28b789[_0x5c1131(0x1c9)]===!0x1&&_0x28b789['ranges']['length']>0x0&&this[_0x5c1131(0x266)](_0x28b789['ranges']);})),this[_0x1c8084(0x2e6)]['collabCursorState$'][_0x1c8084(0x1e6)](_0xde1ef0['takeUntil'](this[_0x1c8084(0x2c0)]))['subscribe'](_0x436213=>{const _0x31e258=_0x1c8084;if((_0x436213==null?void 0x0:_0x436213[_0x31e258(0x330)])!==this['unitID'])return;const _0x437e75={'eventID':_0x3c67a0['CollaborationEvent'][_0x31e258(0x18f)],'data':_0x436213};this[_0x31e258(0x1a9)](_0x437e75);}),this['disposeWithMe'](this[_0x1c8084(0x2be)][_0x1c8084(0x1cb)](_0xb6b8b6=>{const _0x4000f7=_0x1c8084;if(_0xb6b8b6[_0x4000f7(0x1da)]==null)return;const _0x494249=_0xb6b8b6[_0x4000f7(0x1da)];if(_0xb6b8b6['id']!==_0xc536cc[_0x4000f7(0x293)]['id']||_0x494249[_0x4000f7(0x331)]!==this[_0x4000f7(0x330)])return;const _0x4234b3={'id':_0x4000f7(0x1fe),'params':_0x494249},_0x496f39=this[_0x4000f7(0x2fd)];for(const [_0x20d117,_0x38cf7c]of _0x496f39){const _0x230b28={'id':_0x4000f7(0x1fe),'params':{'unitId':this[_0x4000f7(0x330)],'actions':null,'textRanges':_0x38cf7c[_0x4000f7(0x291)]}},_0x3b589b=this[_0x4000f7(0x2ce)][_0x4000f7(0x2f4)](_0x4234b3,_0x230b28,!0x1);if(_0x3c67a0['isTransformMutationFailure'](_0x3b589b))throw _0x3b589b['error'];_0x496f39[_0x4000f7(0x23f)](_0x20d117,{..._0x38cf7c,'ranges':_0x3b589b['m2Prime'][_0x4000f7(0x1da)]['textRanges']});}queueMicrotask(()=>{const _0x351242=_0x4000f7;this['_cursorInfo$'][_0x351242(0x31b)](_0x496f39);});})));}[_0x4edbca(0x1a9)](_0x246eb8){const _0x4e0537=_0x4edbca;var _0x209357,_0x16d8b0;const {memberID:_0x5a7556,selection:_0x248134}=_0x246eb8['data'],_0x5ec68e=_0x315c12(_0x248134),_0x334ced=(_0x16d8b0=(_0x209357=this[_0x4e0537(0x3c7)]['getMember'](this['unitID'],_0x5a7556))==null?void 0x0:_0x209357[_0x4e0537(0x2b0)])!=null?_0x16d8b0:'Unknown\x20user',_0x27bc83={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5a7556),'name':_0x334ced,'ranges':_0x5ec68e},_0x1ba98a=this[_0x4e0537(0x2fd)];_0x1ba98a[_0x4e0537(0x23f)](_0x5a7556,_0x27bc83),this['_cursorInfo$'][_0x4e0537(0x31b)](_0x1ba98a);}[_0x4edbca(0x1a1)](_0x442bc5){const _0x5dca30=_0x4edbca,{memberID:_0x5019ce}=_0x442bc5[_0x5dca30(0x376)],_0x21a681=this['cursorInfo'];_0x21a681[_0x5dca30(0x326)](_0x5019ce),this[_0x5dca30(0x37e)][_0x5dca30(0x31b)](_0x21a681);}[_0x4edbca(0x223)](){const _0x5da3c2=_0x4edbca;var _0x1988c8;if(this['_online']=!0x0,((_0x1988c8=this[_0x5da3c2(0x1d5)]['getFocusedUnit']())==null?void 0x0:_0x1988c8[_0x5da3c2(0x386)]())!==this[_0x5da3c2(0x330)])return;const _0x56280e=this['_injector'][_0x5da3c2(0x176)](_0xc536cc[_0x5da3c2(0x27d)])[_0x5da3c2(0x356)]();Array[_0x5da3c2(0x1f5)](_0x56280e)&&_0x56280e[_0x5da3c2(0x35f)]>0x0&&this[_0x5da3c2(0x266)](_0x56280e);}[_0x4edbca(0x2a2)](){const _0x634be8=_0x4edbca;this[_0x634be8(0x3a1)]=!0x1;}};_0x22cec7=_0x4bdcf2([_0x5d732b(0x2,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x5d732b(0x3,_0xffd2a8['Inject'](_0x487110)),_0x5d732b(0x4,_0xffd2a8[_0x4edbca(0x220)](_0x3df360['MemberService'])),_0x5d732b(0x5,_0xffd2a8['Inject'](_0x1f70dd)),_0x5d732b(0x6,_0x3c67a0[_0x4edbca(0x17e)]),_0x5d732b(0x7,_0xffd2a8[_0x4edbca(0x2e2)]),_0x5d732b(0x8,_0xffd2a8[_0x4edbca(0x2cb)])],_0x22cec7);var _0x4441ac=Object[_0x4edbca(0x304)],_0x562d0f=(_0x6d34f2,_0x500142,_0x3f2a2f,_0x18a565)=>{const _0x178c02=_0x4edbca;for(var _0x53ce96=_0x18a565>0x1?void 0x0:_0x18a565?_0x4441ac(_0x500142,_0x3f2a2f):_0x500142,_0x16a007=_0x6d34f2[_0x178c02(0x35f)]-0x1,_0x5ee9c8;_0x16a007>=0x0;_0x16a007--)(_0x5ee9c8=_0x6d34f2[_0x16a007])&&(_0x53ce96=_0x5ee9c8(_0x53ce96)||_0x53ce96);return _0x53ce96;},_0x160410=(_0x32b4df,_0x2b83a9)=>(_0x52ebe0,_0x258272)=>_0x2b83a9(_0x52ebe0,_0x258272,_0x32b4df);const _0x158cec=0x12c,_0xbe72b=0x64,_0x3a6638=()=>{let _0x2f8c94=[],_0x15b514=!0x1;return _0x13e517=>{const _0x27f3fb=_0x3130;_0x2f8c94[_0x27f3fb(0x26c)](_0x13e517),_0x15b514||(_0x15b514=!0x0,setTimeout(()=>{const _0xae62d2=_0x27f3fb;_0x2f8c94[_0xae62d2(0x24c)](_0x24d608=>_0x24d608()),_0x2f8c94=[],_0x15b514=!0x1;}));};};let _0x4894d6=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x2d744d,_0x18622c,_0x207eee,_0x36d2d1,_0x2b64e9,_0x5c0232,_0xe7572c,_0x54f90e){const _0x3314d4=_0x4edbca;super(),_0x45f8a5(this,_0x3314d4(0x3a1),!0x1),_0x45f8a5(this,'_init',!0x1),_0x45f8a5(this,'_cursorInfo$',new _0xde1ef0[(_0x3314d4(0x2f7))](new Map())),_0x45f8a5(this,_0x3314d4(0x163),this['_cursorInfo$']['asObservable']()),_0x45f8a5(this,_0x3314d4(0x2c9),new _0xde1ef0[(_0x3314d4(0x2f7))]([])),_0x45f8a5(this,'roomMembers$',this[_0x3314d4(0x2c9)]['pipe'](_0xde1ef0[_0x3314d4(0x2c6)](_0x158cec))),_0x45f8a5(this,_0x3314d4(0x266),_0xffd2a8['debounce']((_0x40d62a,_0x132920)=>{const _0x28a8ce=_0x3314d4,_0x520176={'eventID':_0x3c67a0[_0x28a8ce(0x2c2)][_0x28a8ce(0x18f)],'data':{'unitID':this[_0x28a8ce(0x330)],'memberID':this['_session'][_0x28a8ce(0x36d)](),'selection':_0x26582d[_0x28a8ce(0x2bb)](_0x40d62a,_0x132920[_0x28a8ce(0x233)])}};this[_0x28a8ce(0x29a)][_0x28a8ce(0x211)](_0x520176,this['unitID']);},_0xbe72b)),(this[_0x3314d4(0x330)]=_0x2d744d,this[_0x3314d4(0x29a)]=_0x18622c,this[_0x3314d4(0x311)]=_0x207eee,this[_0x3314d4(0x23e)]=_0x36d2d1,this['_memberService']=_0x2b64e9,this[_0x3314d4(0x1d5)]=_0x5c0232,this[_0x3314d4(0x2be)]=_0xe7572c,this[_0x3314d4(0x1b2)]=_0x54f90e);}get[_0x4edbca(0x2fd)](){const _0x3c2a79=_0x4edbca;return this[_0x3c2a79(0x37e)][_0x3c2a79(0x377)]();}get[_0x4edbca(0x16e)](){const _0x519720=_0x4edbca;return this[_0x519720(0x2c9)][_0x519720(0x377)]();}[_0x4edbca(0x27a)](){const _0x236ff3=_0x4edbca;super[_0x236ff3(0x27a)](),this['_cursorInfo$'][_0x236ff3(0x31b)](new Map()),this[_0x236ff3(0x37e)][_0x236ff3(0x172)](),this[_0x236ff3(0x2c9)]['next']([]),this[_0x236ff3(0x2c9)][_0x236ff3(0x172)]();}[_0x4edbca(0x2c5)](){const _0x1f0574=_0x4edbca;this[_0x1f0574(0x3a5)]||(this[_0x1f0574(0x3a5)]=!0x0,this[_0x1f0574(0x29a)][_0x1f0574(0x26f)][_0x1f0574(0x1e6)](_0xde1ef0[_0x1f0574(0x3b6)](this[_0x1f0574(0x2c0)]))[_0x1f0574(0x367)](_0x357042=>{const _0x1fef66=_0x1f0574;_0x357042===_0x3df360[_0x1fef66(0x190)][_0x1fef66(0x39b)]?this[_0x1fef66(0x223)]():this[_0x1fef66(0x2a2)]();}),this[_0x1f0574(0x29a)]['event$']['pipe'](_0xde1ef0[_0x1f0574(0x3b6)](this[_0x1f0574(0x2c0)]))[_0x1f0574(0x367)](_0x340eb3=>{const _0x5dbc31=_0x1f0574,_0x56e793=_0x340eb3['eventID'];_0x56e793===_0x3c67a0['CollaborationEvent'][_0x5dbc31(0x18f)]&&this[_0x5dbc31(0x1a9)](_0x340eb3),_0x56e793===_0x3c67a0[_0x5dbc31(0x2c2)]['USERS_LEAVE']&&this[_0x5dbc31(0x1a1)](_0x340eb3);}),this[_0x1f0574(0x198)](),this[_0x1f0574(0x3b0)](this[_0x1f0574(0x2be)]['onCommandExecuted'](_0xc58666=>{const _0x1ead3e=_0x1f0574;if(this[_0x1ead3e(0x3a1)]&&_0xc58666['id']===_0x1e6254['SetSelectionsOperation']['id']&&_0xc58666[_0x1ead3e(0x1da)]['unitId']===this[_0x1ead3e(0x330)]){const _0x31de13=_0xc58666[_0x1ead3e(0x1da)];this[_0x1ead3e(0x266)](_0x31de13[_0x1ead3e(0x2e0)],_0x31de13[_0x1ead3e(0x378)][0x0]);}})));}[_0x4edbca(0x1a9)](_0x3dffb6){const _0x1f9c63=_0x4edbca;var _0x1a203c,_0x8384e4;const {memberID:_0xce0491,selection:_0x356e4f}=_0x3dffb6['data'],{sheetName:_0x1390e1,range:_0x227793}=_0x26582d[_0x1f9c63(0x340)](_0x356e4f),_0x26b630={'name':(_0x8384e4=(_0x1a203c=this[_0x1f9c63(0x3c7)]['getMember'](this[_0x1f9c63(0x330)],_0xce0491))==null?void 0x0:_0x1a203c[_0x1f9c63(0x2b0)])!=null?_0x8384e4:_0x1f9c63(0x1a4),'range':this[_0x1f9c63(0x2b5)](_0x1390e1,_0x227793),'sheetID':_0x1390e1,'color':this[_0x1f9c63(0x23e)]['assignAColorForMemberID'](_0xce0491),'selection':_0x356e4f},_0x1e247f=this['cursorInfo'];_0x1e247f[_0x1f9c63(0x23f)](_0xce0491,_0x26b630),this[_0x1f9c63(0x37e)][_0x1f9c63(0x31b)](_0x1e247f);}['_onCursorDelete'](_0x178f19){const _0x314b56=_0x4edbca,{memberID:_0x48bfb2}=_0x178f19['data'],_0x3520f4=this['cursorInfo'];_0x3520f4[_0x314b56(0x326)](_0x48bfb2),this['_cursorInfo$'][_0x314b56(0x31b)](_0x3520f4);}[_0x4edbca(0x2b5)](_0x23dbab,_0x2b8b89){const _0x3a334f=_0x4edbca;var _0x5d6006,_0x5f270e;const _0x221a13=(_0x5f270e=(_0x5d6006=this[_0x3a334f(0x1d5)][_0x3a334f(0x36c)](this[_0x3a334f(0x330)]))==null?void 0x0:_0x5d6006['getSheetBySheetId'](_0x23dbab))==null?void 0x0:_0x5f270e[_0x3a334f(0x281)]();return(_0x221a13==null?void 0x0:_0x221a13['find'](_0x6ade61=>_0xffd2a8[_0x3a334f(0x194)][_0x3a334f(0x3f0)](_0x6ade61,_0x2b8b89)))||_0x2b8b89;}[_0x4edbca(0x198)](){const _0x91283e=_0x4edbca,_0x25e3e=new _0xffd2a8[(_0x91283e(0x22e))](),_0x2df5ef=_0x3a6638(),_0x5d447a=()=>{const _0x74ad43=_0x91283e;_0x25e3e['dispose']();const _0x1098f7=(_0xd38b9f,_0x4e59d9,_0x5a1eb7,_0x4ae178)=>{const _0x46ed87=_0x3130;let _0x2d93ed=[];switch(_0xd38b9f['id']){case _0x1e6254[_0x46ed87(0x2d0)][_0x46ed87(0x370)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x257)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)]['DeleteRangeMoveUpCommandId']:{_0x2d93ed=_0x1e6254[_0x46ed87(0x28d)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)][_0x46ed87(0x237)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x17c)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254['EffectRefRangId'][_0x46ed87(0x1e4)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x1f4)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)][_0x46ed87(0x328)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x20a)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254['EffectRefRangId']['InsertRowCommandId']:{_0x2d93ed=_0x1e6254[_0x46ed87(0x1cf)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)]['MoveRangeCommandId']:{_0x2d93ed=_0x1e6254['handleMoveRange'](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)][_0x46ed87(0x301)]:{_0x2d93ed=_0x1e6254[_0x46ed87(0x1c2)](_0xd38b9f,_0x4ae178);break;}case _0x1e6254[_0x46ed87(0x2d0)]['RemoveRowCommandId']:{_0x2d93ed=_0x1e6254[_0x46ed87(0x2fc)](_0xd38b9f,_0x4ae178);break;}}const _0x117c6b=_0x1e6254[_0x46ed87(0x3d6)](_0x2d93ed,_0x4ae178),_0x589fa6=this[_0x46ed87(0x2fd)][_0x46ed87(0x176)](_0x4e59d9);if(_0x589fa6&&_0x117c6b){const _0x5588ad={..._0x589fa6,'range':_0x117c6b};this[_0x46ed87(0x2fd)][_0x46ed87(0x23f)](_0x4e59d9,_0x5588ad),_0x2df5ef(()=>{const _0x581438=_0x46ed87,_0x1e4e64=this[_0x581438(0x1b2)][_0x581438(0x20c)](_0x117c6b,_0x1294b2=>(_0x1e4e64[_0x581438(0x27a)](),_0x1098f7(_0x1294b2,_0x4e59d9,_0x5a1eb7,_0x117c6b)));_0x25e3e['add'](_0x1e4e64);});}return{'redos':[],'undos':[]};};this[_0x74ad43(0x2fd)][_0x74ad43(0x24c)]((_0x4eca67,_0x5d39ab)=>{const _0x43805a=_0x74ad43,{range:_0x331884,sheetID:_0x35c4ce}=_0x4eca67,_0x313f74=this[_0x43805a(0x1b2)][_0x43805a(0x20c)](_0x331884,_0x7d94b2=>(_0x313f74['dispose'](),_0x1098f7(_0x7d94b2,_0x5d39ab,_0x35c4ce,_0x331884)));_0x25e3e[_0x43805a(0x1d9)](_0x313f74);});};this[_0x91283e(0x3b0)](_0xffd2a8[_0x91283e(0x19b)](this[_0x91283e(0x37e)][_0x91283e(0x367)](()=>{_0x5d447a();})));}['_toggleOnline'](){const _0x1de5be=_0x4edbca;var _0x2be402,_0x3155a2;if(this[_0x1de5be(0x3a1)]=!0x0,((_0x2be402=this['_univerInstanceService'][_0x1de5be(0x199)]())==null?void 0x0:_0x2be402[_0x1de5be(0x386)]())!==this[_0x1de5be(0x330)])return;const _0x38e6d8=(_0x3155a2=this['_injector']['get'](_0x1e6254[_0x1de5be(0x16b)])[_0x1de5be(0x29d)]())==null?void 0x0:_0x3155a2[0x0],_0x3751c9=this[_0x1de5be(0x1d5)][_0x1de5be(0x3bb)](_0xffd2a8[_0x1de5be(0x3a3)][_0x1de5be(0x193)])[_0x1de5be(0x3c9)]();_0x38e6d8&&_0x3751c9&&this['_updateLocalCursor'](_0x3751c9[_0x1de5be(0x31a)](),_0x38e6d8);}[_0x4edbca(0x2a2)](){const _0x2d0a6c=_0x4edbca;this[_0x2d0a6c(0x3a1)]=!0x1;}};_0x4894d6=_0x562d0f([_0x160410(0x2,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x160410(0x3,_0xffd2a8[_0x4edbca(0x220)](_0x487110)),_0x160410(0x4,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x286)])),_0x160410(0x5,_0xffd2a8[_0x4edbca(0x2e2)]),_0x160410(0x6,_0xffd2a8['ICommandService']),_0x160410(0x7,_0xffd2a8['Inject'](_0x1e6254[_0x4edbca(0x1c5)]))],_0x4894d6);var _0x463498=Object[_0x4edbca(0x304)],_0x2564e3=(_0x8a6361,_0xe49553,_0x1d87cd,_0x44348f)=>{const _0x3cef5c=_0x4edbca;for(var _0x39730f=_0x44348f>0x1?void 0x0:_0x44348f?_0x463498(_0xe49553,_0x1d87cd):_0xe49553,_0x149ba4=_0x8a6361[_0x3cef5c(0x35f)]-0x1,_0x1637fc;_0x149ba4>=0x0;_0x149ba4--)(_0x1637fc=_0x8a6361[_0x149ba4])&&(_0x39730f=_0x1637fc(_0x39730f)||_0x39730f);return _0x39730f;},_0x4c2a60=(_0xc757e3,_0x2c0f50)=>(_0xdca316,_0x4a7bba)=>_0x2c0f50(_0xdca316,_0x4a7bba,_0xc757e3);let _0x543db2=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x1441c5,_0x3fce86,_0x531e72){const _0x43c37a=_0x4edbca;super(),_0x45f8a5(this,_0x43c37a(0x2e5),new Map()),_0x45f8a5(this,'_entityInit$',new _0xde1ef0['Subject']()),(this['_univerInstanceService']=_0x1441c5,this[_0x43c37a(0x311)]=_0x3fce86,this[_0x43c37a(0x379)]=_0x531e72,this[_0x43c37a(0x3a5)]());}[_0x4edbca(0x27a)](){const _0x5220fd=_0x4edbca;super[_0x5220fd(0x27a)](),this[_0x5220fd(0x17a)][_0x5220fd(0x172)](),this[_0x5220fd(0x2e5)][_0x5220fd(0x24c)](_0x23e626=>_0x23e626[_0x5220fd(0x27a)]());}['getCollabCursors$'](_0x2ea1b1){const _0x1382c8=_0x4edbca;return this[_0x1382c8(0x2e5)][_0x1382c8(0x313)](_0x2ea1b1)?this['_entities']['get'](_0x2ea1b1)[_0x1382c8(0x163)]:this['_entityInit$'][_0x1382c8(0x1e6)](_0xde1ef0[_0x1382c8(0x1b4)](_0x53e0a5=>_0x53e0a5[_0x1382c8(0x330)]===_0x2ea1b1),_0xde1ef0[_0x1382c8(0x2a0)](_0x4a4047=>_0x4a4047['cursorInfo$']));}[_0x4edbca(0x3a5)](){const _0x183f95=_0x4edbca;this['_univerInstanceService'][_0x183f95(0x21f)](_0xffd2a8[_0x183f95(0x3a3)][_0x183f95(0x193)])[_0x183f95(0x1e6)](_0xde1ef0[_0x183f95(0x3b6)](this['dispose$']))['subscribe'](async _0x1ddbce=>{const _0x3c473a=_0x183f95,_0x183624=_0x1ddbce[_0x3c473a(0x386)](),_0x336338=await this['_startSheetCollabCursor'](_0x183624);this[_0x3c473a(0x17a)][_0x3c473a(0x31b)](_0x336338),this[_0x3c473a(0x2e5)][_0x3c473a(0x23f)](_0x183624,_0x336338);}),this[_0x183f95(0x1d5)][_0x183f95(0x21f)](_0xffd2a8[_0x183f95(0x3a3)][_0x183f95(0x38a)])['pipe'](_0xde1ef0[_0x183f95(0x3b6)](this[_0x183f95(0x2c0)]))[_0x183f95(0x1e6)](_0xde1ef0[_0x183f95(0x1b4)](_0x25f39c=>!_0x25f39c[_0x183f95(0x386)]()[_0x183f95(0x17f)]('__')))[_0x183f95(0x367)](async _0x1ed78d=>{const _0x3b4fb1=_0x183f95,_0x32cd06=_0x1ed78d[_0x3b4fb1(0x386)](),_0x4ab595=await this[_0x3b4fb1(0x16d)](_0x32cd06);this['_entityInit$'][_0x3b4fb1(0x31b)](_0x4ab595),this[_0x3b4fb1(0x2e5)][_0x3b4fb1(0x23f)](_0x32cd06,_0x4ab595);}),_0xde1ef0[_0x183f95(0x362)](this['_univerInstanceService'][_0x183f95(0x2d9)](_0xffd2a8[_0x183f95(0x3a3)][_0x183f95(0x38a)]),this['_univerInstanceService'][_0x183f95(0x2d9)](_0xffd2a8[_0x183f95(0x3a3)][_0x183f95(0x193)]))[_0x183f95(0x1e6)](_0xde1ef0['takeUntil'](this[_0x183f95(0x2c0)]))[_0x183f95(0x367)](_0x24f8d8=>{const _0x30af98=_0x183f95,_0x392e0d=_0x24f8d8[_0x30af98(0x386)](),_0x3c9640=this[_0x30af98(0x2e5)][_0x30af98(0x176)](_0x392e0d);_0x3c9640&&(_0x3c9640[_0x30af98(0x27a)](),this[_0x30af98(0x2e5)][_0x30af98(0x326)](_0x392e0d));});}async['_startSheetCollabCursor'](_0x4ecb75){const _0x21202d=_0x4edbca,_0x501ae2=await this['_collabSessionService'][_0x21202d(0x320)](_0x4ecb75),_0xde4ac1=this[_0x21202d(0x311)]['createInstance'](_0x4894d6,_0x4ecb75,_0x501ae2);return _0xde4ac1[_0x21202d(0x2c5)](),_0xde4ac1;}async[_0x4edbca(0x16d)](_0x124bbe){const _0x2f2fc7=_0x4edbca,_0x4cffb7=await this['_collabSessionService'][_0x2f2fc7(0x320)](_0x124bbe),_0x5148b1=this[_0x2f2fc7(0x311)][_0x2f2fc7(0x1bd)](_0x22cec7,_0x124bbe,_0x4cffb7);return _0x5148b1[_0x2f2fc7(0x2c5)](),_0x5148b1;}};_0x543db2=_0x2564e3([_0x4c2a60(0x0,_0xffd2a8[_0x4edbca(0x2e2)]),_0x4c2a60(0x1,_0xffd2a8['Inject'](_0xffd2a8[_0x4edbca(0x2f1)])),_0x4c2a60(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x2b8)]))],_0x543db2);const _0x2defab=0x14,_0x14a8a7=0xc8,_0x1f7525=0x4,_0x5252fb=0x5;function _0x2df765(_0x1c489a,_0x5074fd){const _0xd0e2b1=_0x4edbca;let {radius:_0x23a089,width:_0x312211,height:_0x1520cc}=_0x5074fd;_0x23a089=_0x23a089!=null?_0x23a089:0x0,_0x312211=_0x312211!=null?_0x312211:0x1e,_0x1520cc=_0x1520cc!=null?_0x1520cc:0x1e;let _0x519378=0x0,_0x1dc1ae=0x0,_0x2efb17=0x0;_0x519378=_0x1dc1ae=_0x2efb17=Math[_0xd0e2b1(0x37c)](_0x23a089,_0x312211/0x2,_0x1520cc/0x2),_0x1c489a[_0xd0e2b1(0x3c0)](),_0x1c489a[_0xd0e2b1(0x3ab)](_0x519378,0x0),_0x1c489a['lineTo'](_0x312211-_0x1dc1ae,0x0),_0x1c489a[_0xd0e2b1(0x279)](_0x312211-_0x1dc1ae,_0x1dc1ae,_0x1dc1ae,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c489a['lineTo'](_0x312211,_0x1520cc-_0x2efb17),_0x1c489a['arc'](_0x312211-_0x2efb17,_0x1520cc-_0x2efb17,_0x2efb17,0x0,Math['PI']/0x2,!0x1),_0x1c489a[_0xd0e2b1(0x19f)](0x0,_0x1520cc),_0x1c489a['lineTo'](0x0,_0x519378),_0x1c489a[_0xd0e2b1(0x279)](_0x519378,_0x519378,_0x519378,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c489a[_0xd0e2b1(0x15d)](),_0x5074fd['fill']&&(_0x1c489a[_0xd0e2b1(0x174)](),_0x1c489a['fillStyle']=_0x5074fd[_0xd0e2b1(0x343)],_0x5074fd[_0xd0e2b1(0x232)]==='evenodd'?_0x1c489a[_0xd0e2b1(0x343)](_0xd0e2b1(0x2fe)):_0x1c489a['fill'](),_0x1c489a[_0xd0e2b1(0x158)]());}class _0x1ce383 extends _0x365d9c['Shape']{constructor(_0x4f3257,_0x4a35ec){const _0x588221=_0x4edbca;super(_0x4f3257,_0x4a35ec),_0x45f8a5(this,_0x588221(0x1f9)),_0x45f8a5(this,'text'),(this['color']=_0x4a35ec==null?void 0x0:_0x4a35ec[_0x588221(0x1f9)],this[_0x588221(0x21a)]=_0x4a35ec==null?void 0x0:_0x4a35ec[_0x588221(0x21a)]);}static[_0x4edbca(0x26b)](_0xa0ec95,_0x14fada){const _0xc4579c=_0x4edbca,{text:_0x1eb23c,color:_0x564887}=_0x14fada;_0xa0ec95[_0xc4579c(0x174)](),_0xa0ec95['font']=_0xc4579c(0x3f3);const _0x3bf80e=_0xa0ec95[_0xc4579c(0x1d3)](_0x1eb23c)[_0xc4579c(0x39c)],_0x5769da=Math[_0xc4579c(0x37c)](_0x3bf80e+0x2*_0x1f7525,_0x14a8a7);_0x2df765(_0xa0ec95,{'height':_0x2defab,'radius':0x4,'width':_0x5769da,'fill':_0x564887}),_0xa0ec95[_0xc4579c(0x3de)]=_0xc4579c(0x2e3);const _0x466aa5=_0x1f7525,_0x74f6ae=_0x2defab-_0x5252fb,_0x4adac9=_0x14a8a7-0x2*_0x1f7525;if(_0x3bf80e>_0x4adac9){let _0x35a3ef='',_0x2066e2=0x0;for(const _0x48e27b of _0x1eb23c){const _0x4588ff=_0xa0ec95[_0xc4579c(0x1d3)](_0x48e27b)[_0xc4579c(0x39c)];if(_0x2066e2+_0x4588ff<=_0x4adac9-_0xa0ec95[_0xc4579c(0x1d3)](_0xc4579c(0x1e2))[_0xc4579c(0x39c)])_0x35a3ef+=_0x48e27b,_0x2066e2+=_0x4588ff;else{_0x35a3ef+='...';break;}}_0xa0ec95['fillText'](_0x35a3ef,_0x466aa5,_0x74f6ae);}else _0xa0ec95[_0xc4579c(0x1c8)](_0x1eb23c,_0x466aa5,_0x74f6ae);_0xa0ec95[_0xc4579c(0x158)]();}[_0x4edbca(0x35b)](_0x5debb4){const _0x819a5c=_0x4edbca;_0x1ce383[_0x819a5c(0x26b)](_0x5debb4,this);}}const _0x1f35a2=_0x4edbca(0x1b8),_0x1a538d=_0x4edbca(0x2cc),_0x20d61d='collab-rect-range-',_0x4c2fda=0x6,_0x27df58=1.5,_0x369d53=0x4,_0x1711c0=1.5,_0xe8f94d=_0x4edbca(0x32b);class _0x15ad76{constructor(_0x205d9e,_0x211d23,_0x5cdfaf,_0x311e67){const _0x5cc1e2=_0x4edbca;_0x45f8a5(this,_0x5cc1e2(0x1b9),[]),_0x45f8a5(this,_0x5cc1e2(0x3cc),null),_0x45f8a5(this,_0x5cc1e2(0x1e1),null),_0x45f8a5(this,'_anchorDot',null),_0x45f8a5(this,_0x5cc1e2(0x181),null),_0x45f8a5(this,_0x5cc1e2(0x25c),null),(this['_cursor']=_0x205d9e,this['_scene']=_0x211d23,this[_0x5cc1e2(0x391)]=_0x5cdfaf,this['_document']=_0x311e67,this[_0x5cc1e2(0x1bf)]());}set['_hover'](_0x470964){const _0x5eb065=_0x4edbca;_0x470964?(this[_0x5eb065(0x22f)]&&this['_anchorDot'][_0x5eb065(0x32f)](),this['_textBubble']&&this[_0x5eb065(0x1e1)][_0x5eb065(0x369)]()):(this[_0x5eb065(0x22f)]&&this[_0x5eb065(0x22f)][_0x5eb065(0x369)](),this['_textBubble']&&this[_0x5eb065(0x1e1)]['hide']());}[_0x4edbca(0x27a)](){const _0xe119ee=_0x4edbca;for(const _0x5dbfd6 of this[_0xe119ee(0x1b9)])_0x5dbfd6['dispose']();this[_0xe119ee(0x1e1)]&&this['_textBubble'][_0xe119ee(0x27a)](),this[_0xe119ee(0x22f)]&&this[_0xe119ee(0x22f)]['dispose'](),this[_0xe119ee(0x3cc)]&&this[_0xe119ee(0x3cc)]['dispose'](),this['_eventUnsubscribe']&&this[_0xe119ee(0x25c)]();}[_0x4edbca(0x1bf)](){const _0x15f4a9=_0x4edbca;var _0x51aff8;const {_docSkeleton:_0x44b39e,_document:_0x139b22}=this,{color:_0x651865,name:_0x49b0e6,ranges:_0x134835}=this['_cursor'],_0x5b9dea=_0x139b22[_0x15f4a9(0x32e)](),{docsLeft:_0x1532bc,docsTop:_0x494904}=_0x5b9dea,_0x1d80cf=new _0x2992e3['NodePositionConvertToCursor'](_0x5b9dea,_0x44b39e);for(const {startOffset:_0x4c0140,endOffset:_0x207ef6,rangeType:_0x190feb,segmentId:_0x2c7d99,segmentPage:_0x3ea7c8,collapsed:_0x18f86b,isActive:_0x247442}of _0x134835){const _0x965957=_0x44b39e['findNodePositionByCharIndex'](_0x4c0140,!0x0,_0x2c7d99,_0x3ea7c8);let _0x46ba41=_0x44b39e[_0x15f4a9(0x1d0)](_0x207ef6,!0x0,_0x2c7d99,_0x3ea7c8);if(_0x46ba41==null&&(_0x46ba41=_0x44b39e[_0x15f4a9(0x1d0)](_0x207ef6-0x1,!0x1,_0x2c7d99,_0x3ea7c8)),_0x247442){const {contentBoxPointGroup:_0x7c24e1}=_0x1d80cf[_0x15f4a9(0x2d7)](_0x46ba41,_0x46ba41);if(_0x7c24e1['length']===0x0)continue;this[_0x15f4a9(0x2f2)](_0x651865,_0x7c24e1,_0x1532bc,_0x494904,_0x49b0e6),this[_0x15f4a9(0x25c)]=this[_0x15f4a9(0x3ea)]();}if(_0x965957&&_0x46ba41){if(_0x190feb===_0xffd2a8[_0x15f4a9(0x2ba)]['RECT']){const _0x5a0b62=new _0x2992e3[(_0x15f4a9(0x3e6))](_0x5b9dea,_0x44b39e),{pointGroup:_0x228965}=(_0x51aff8=_0x5a0b62[_0x15f4a9(0x2d7)](_0x965957,_0x46ba41))!=null?_0x51aff8:{};if(_0x228965==null||_0x228965['length']===0x0)continue;this[_0x15f4a9(0x273)](_0x651865,_0x228965,_0x1532bc,_0x494904);}else{if(!_0x18f86b){const {borderBoxPointGroup:_0xbfceec}=_0x1d80cf[_0x15f4a9(0x2d7)](_0x965957,_0x46ba41);if(_0xbfceec['length']===0x0)continue;this['_drawTextRange'](_0x651865,_0xbfceec,_0x1532bc,_0x494904);}}}}}[_0x4edbca(0x2f2)](_0x4617ff,_0xf50354,_0x44cfad,_0x416076,_0x22d6fc){const _0x2fcaf4=_0x4edbca,_0x1e5e7d=this[_0x2fcaf4(0x3cd)](_0xf50354),{left:_0x5af03f,top:_0x2ba7c0,height:_0x17431d}=_0x1e5e7d,_0x394826=this[_0x2fcaf4(0x2a5)](),_0x3fddfd=_0x1711c0/_0x394826,_0x2804fa=new _0x365d9c[(_0x2fcaf4(0x271))](_0x1f35a2+_0xffd2a8['Tools'][_0x2fcaf4(0x34f)](_0x4c2fda),{'left':_0x5af03f+_0x44cfad-_0x3fddfd,'top':_0x2ba7c0+_0x416076,'height':_0x17431d,'width':_0x27df58,'fill':_0x4617ff||_0x365d9c[_0x2fcaf4(0x15e)](_0xffd2a8[_0x2fcaf4(0x357)][_0x2fcaf4(0x395)],0x0),'strokeWidth':_0x3fddfd,'stroke':_0xe8f94d,'evented':!0x0});this[_0x2fcaf4(0x3cc)]=_0x2804fa,this['_scene']['addObject'](_0x2804fa,_0x2992e3[_0x2fcaf4(0x2c7)]);const _0x2801e5=new _0x365d9c['Rect'](_0x1f35a2+_0xffd2a8[_0x2fcaf4(0x1e9)][_0x2fcaf4(0x34f)](_0x4c2fda),{'left':_0x5af03f+_0x44cfad-_0x3fddfd,'top':_0x2ba7c0+_0x416076-_0x369d53/0x2,'height':_0x369d53,'width':_0x369d53,'fill':_0x4617ff||_0x365d9c[_0x2fcaf4(0x15e)](_0xffd2a8['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x4617ff||_0x365d9c[_0x2fcaf4(0x15e)](_0xffd2a8['COLORS'][_0x2fcaf4(0x395)],0x0),'evented':!0x1});this[_0x2fcaf4(0x22f)]=_0x2801e5,this[_0x2fcaf4(0x306)][_0x2fcaf4(0x2c4)](_0x2801e5,_0x2992e3[_0x2fcaf4(0x2c7)]);const _0xbe9958=new _0x1ce383(_0x1f35a2+_0xffd2a8[_0x2fcaf4(0x1e9)]['generateRandomId'](_0x4c2fda),{'left':_0x5af03f+_0x44cfad-_0x3fddfd,'top':_0x2ba7c0+_0x416076-_0x2defab,'text':_0x22d6fc,'color':_0x4617ff});this['_textBubble']=_0xbe9958,this[_0x2fcaf4(0x306)][_0x2fcaf4(0x2c4)](_0xbe9958,_0x2992e3[_0x2fcaf4(0x2c7)]),this['_hover']=!0x1;}[_0x4edbca(0x3ea)](){const _0x415ccd=_0x4edbca,_0x462c02=this[_0x415ccd(0x3cc)][_0x415ccd(0x1f2)][_0x415ccd(0x39e)](()=>{const _0x28f054=_0x415ccd;this[_0x28f054(0x224)]=!0x0;}),_0x525e4d=this[_0x415ccd(0x3cc)][_0x415ccd(0x1a5)]['subscribeEvent'](()=>{const _0x381470=_0x415ccd;this[_0x381470(0x181)]&&clearTimeout(this[_0x381470(0x181)]),this['_hideTimer']=setTimeout(()=>{const _0x45433f=_0x381470;this[_0x45433f(0x224)]=!0x1;},0x7d0);});return()=>{const _0x5c033a=_0x415ccd;_0x462c02[_0x5c033a(0x21b)](),_0x525e4d[_0x5c033a(0x21b)]();};}[_0x4edbca(0x1c4)](_0x2ffabf,_0x4b1c29,_0x401f08,_0x233772){const _0x210eda=_0x4edbca,_0x1d6897=new _0xffd2a8[(_0x210eda(0x221))](_0x2ffabf)[_0x210eda(0x3cf)](0.2)[_0x210eda(0x353)](),_0x2fb977=new _0x365d9c[(_0x210eda(0x2f6))](_0x1a538d+_0xffd2a8[_0x210eda(0x1e9)][_0x210eda(0x34f)](_0x4c2fda),{'pointsGroup':_0x4b1c29,'fill':_0x1d6897||_0x365d9c[_0x210eda(0x15e)](_0xffd2a8[_0x210eda(0x357)][_0x210eda(0x395)],0.2),'left':_0x401f08,'top':_0x233772,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x210eda(0x1b9)][_0x210eda(0x26c)](_0x2fb977),this[_0x210eda(0x306)][_0x210eda(0x2c4)](_0x2fb977,_0x2992e3[_0x210eda(0x2c7)]);}['_drawRectRange'](_0x4ae8db,_0x23e256,_0x545708,_0x214b2d){const _0xc236c5=_0x4edbca,_0x5d700e=new _0xffd2a8[(_0xc236c5(0x221))](_0x4ae8db)[_0xc236c5(0x3cf)](0.2)['toRgbString'](),_0x1030c6=new _0x365d9c[(_0xc236c5(0x2f6))](_0x20d61d+_0xffd2a8[_0xc236c5(0x1e9)][_0xc236c5(0x34f)](_0x4c2fda),{'pointsGroup':_0x23e256,'fill':_0x5d700e||_0x365d9c['getColor'](_0xffd2a8[_0xc236c5(0x357)][_0xc236c5(0x395)],0.2),'left':_0x545708,'top':_0x214b2d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc236c5(0x1b9)][_0xc236c5(0x26c)](_0x1030c6),this[_0xc236c5(0x306)][_0xc236c5(0x2c4)](_0x1030c6,_0x2992e3[_0xc236c5(0x2c7)]);}[_0x4edbca(0x3cd)](_0x3ec930){const _0x6964d5=_0x3ec930[0x0],_0x4ea78a=_0x6964d5[0x0],_0x177aa2=_0x6964d5[0x2],{x:_0x5ede1e,y:_0x2cfa8a}=_0x4ea78a,{x:_0x188111,y:_0x103242}=_0x177aa2;return{'left':_0x5ede1e,'top':_0x2cfa8a,'width':_0x188111-_0x5ede1e,'height':_0x103242-_0x2cfa8a};}[_0x4edbca(0x2a5)](){const _0x1a9f76=_0x4edbca,{scaleX:_0xbdb3c6,scaleY:_0x20c66a}=this[_0x1a9f76(0x306)][_0x1a9f76(0x3eb)]();return Math[_0x1a9f76(0x332)](_0xbdb3c6,_0x20c66a);}}var _0x26b931=Object[_0x4edbca(0x304)],_0x899c8a=(_0x4139d6,_0x34e731,_0x3fad97,_0x5cffc1)=>{const _0x5cb31e=_0x4edbca;for(var _0x203217=_0x5cffc1>0x1?void 0x0:_0x5cffc1?_0x26b931(_0x34e731,_0x3fad97):_0x34e731,_0x37d37b=_0x4139d6[_0x5cb31e(0x35f)]-0x1,_0x1ce5d1;_0x37d37b>=0x0;_0x37d37b--)(_0x1ce5d1=_0x4139d6[_0x37d37b])&&(_0x203217=_0x1ce5d1(_0x203217)||_0x203217);return _0x203217;},_0x36e29f=(_0x279fa9,_0x35dbf3)=>(_0x2a76a8,_0x45f79b)=>_0x35dbf3(_0x2a76a8,_0x45f79b,_0x279fa9);let _0x447168=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x5ed253,_0x159f90,_0x4f29f8,_0x25a712,_0x55bbe9){const _0x1a4b91=_0x4edbca;super(),_0x45f8a5(this,'_cursorShapes',[]),_0x45f8a5(this,_0x1a4b91(0x1d4),[]),(this[_0x1a4b91(0x1e7)]=_0x5ed253,this[_0x1a4b91(0x3bd)]=_0x159f90,this['_collabCursorController']=_0x4f29f8,this[_0x1a4b91(0x2be)]=_0x25a712,this[_0x1a4b91(0x3aa)]=_0x55bbe9,this[_0x1a4b91(0x3a5)]());}['_init'](){const _0x58d095=_0x4edbca,_0x35dc0b=this[_0x58d095(0x1e7)]['unitId'],_0x2aaa2c=this[_0x58d095(0x3bd)];this[_0x58d095(0x3b0)](_0xde1ef0[_0x58d095(0x276)]([this[_0x58d095(0x1df)][_0x58d095(0x1ce)](_0x35dc0b),this[_0x58d095(0x3aa)][_0x58d095(0x396)]])[_0x58d095(0x1e6)](_0x25274c[_0x58d095(0x381)](([_0x424df2,_0x11a092])=>({'skeleton':_0x2aaa2c[_0x58d095(0x371)](),'cursors':[..._0x424df2['values']()][_0x58d095(0x3e1)](_0x2dcb82=>({..._0x2dcb82,'color':this[_0x58d095(0x3aa)][_0x58d095(0x3e9)](_0x2dcb82['color'])}))})))[_0x58d095(0x367)](_0x4d05dc=>{const _0x33ae4d=_0x58d095;if(this[_0x33ae4d(0x3d1)](),_0x4d05dc){const {skeleton:_0x1aacff,cursors:_0x5a14fa}=_0x4d05dc;this['_updateCollabCursors'](_0x1aacff,_0x5a14fa);}})),this['_initResize'](),this[_0x58d095(0x38b)]();}[_0x4edbca(0x364)](_0x2c10fe,_0x48e3a2){const _0x358965=_0x4edbca,{scene:_0x36d99a,mainComponent:_0x4491cb}=this[_0x358965(0x1e7)],_0x5ceda9=_0x48e3a2[_0x358965(0x381)](_0x1bbee1=>new _0x15ad76(_0x1bbee1,_0x36d99a,_0x2c10fe,_0x4491cb));this['_cursorShapes']=_0x5ceda9,this[_0x358965(0x1d4)]=_0x48e3a2;}['_refreshCollabCursors'](){const _0x3795f7=_0x4edbca;this['_removeCollabCursors']();const {scene:_0x2c0662,mainComponent:_0x2096c6}=this['_context'],_0x49f83e=this[_0x3795f7(0x3bd)][_0x3795f7(0x371)](),_0x4e29c5=this['_cursors'][_0x3795f7(0x381)](_0x141472=>new _0x15ad76(_0x141472,_0x2c0662,_0x49f83e,_0x2096c6));this[_0x3795f7(0x20f)]=_0x4e29c5;}[_0x4edbca(0x3d1)](){const _0x32de81=_0x4edbca;this['_cursorShapes'][_0x32de81(0x24c)](_0x44c6b5=>_0x44c6b5[_0x32de81(0x27a)]()),this[_0x32de81(0x20f)]=[];}['_initCommandExecutedListener'](){const _0x1b1ffa=_0x4edbca,_0x1d4dd4=[_0x2992e3[_0x1b1ffa(0x2f5)]['id']];this[_0x1b1ffa(0x3b0)](this[_0x1b1ffa(0x2be)][_0x1b1ffa(0x1cb)](_0x21f036=>{const _0x8607b3=_0x1b1ffa;_0x1d4dd4[_0x8607b3(0x23c)](_0x21f036['id'])&&_0x21f036[_0x8607b3(0x1da)][_0x8607b3(0x331)]===this['_context'][_0x8607b3(0x331)]&&this['_refreshCollabCursors']();}));}[_0x4edbca(0x1a2)](){const _0x3c6f64=_0x4edbca;this[_0x3c6f64(0x3b0)](_0xffd2a8[_0x3c6f64(0x2b4)](this[_0x3c6f64(0x1e7)][_0x3c6f64(0x1ff)][_0x3c6f64(0x1fb)])[_0x3c6f64(0x1e6)](_0x25274c[_0x3c6f64(0x1b4)](_0x14d88d=>_0x14d88d[_0x3c6f64(0x238)]===_0x365d9c[_0x3c6f64(0x358)]['resize']),_0x25274c['throttleTime'](0x10))[_0x3c6f64(0x367)](()=>{this['_refreshCollabCursors']();}));}};_0x447168=_0x899c8a([_0x36e29f(0x1,_0xffd2a8[_0x4edbca(0x220)](_0xc536cc[_0x4edbca(0x20e)])),_0x36e29f(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x543db2)),_0x36e29f(0x3,_0xffd2a8[_0x4edbca(0x2cb)]),_0x36e29f(0x4,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x251)]))],_0x447168);const _0x4a455a=0x1,_0x3147d2=1.5;class _0x5370c7 extends _0x365d9c['Shape']{constructor(_0x3e3d41,_0x412a05){const _0x301a4d=_0x4edbca;super(_0x3e3d41,_0x412a05),_0x45f8a5(this,_0x301a4d(0x1b6)),_0x45f8a5(this,_0x301a4d(0x3d3),!0x1),_0x45f8a5(this,_0x301a4d(0x333)),_0x45f8a5(this,'_name',''),_0x45f8a5(this,_0x301a4d(0x2b9),_0x301a4d(0x2e9)),_0x45f8a5(this,_0x301a4d(0x2bf)),(_0x412a05&&this['setShapeProps'](_0x412a05),this[_0x301a4d(0x1f2)][_0x301a4d(0x39e)](()=>this[_0x301a4d(0x2ec)]({'hovered':!0x0})),this[_0x301a4d(0x1a5)][_0x301a4d(0x39e)](()=>this[_0x301a4d(0x2ec)]({'hovered':!0x1})));}[_0x4edbca(0x2ec)](_0x41c27c){const _0x53b603=_0x4edbca;var _0x94225c,_0x44ee33,_0x5bfc9c,_0x2881c6,_0xed24b9,_0xfa553a;this[_0x53b603(0x1b6)]=(_0x94225c=_0x41c27c[_0x53b603(0x1f9)])!=null?_0x94225c:this[_0x53b603(0x1b6)],this['_hovered']=(_0x44ee33=_0x41c27c[_0x53b603(0x34e)])!=null?_0x44ee33:this[_0x53b603(0x3d3)],this[_0x53b603(0x333)]=(_0x5bfc9c=_0x41c27c[_0x53b603(0x233)])!=null?_0x5bfc9c:this['_range'],this[_0x53b603(0x288)]=(_0x2881c6=_0x41c27c[_0x53b603(0x2b0)])!=null?_0x2881c6:this[_0x53b603(0x288)],this[_0x53b603(0x2b9)]=(_0xed24b9=_0x41c27c[_0x53b603(0x30c)])!=null?_0xed24b9:this[_0x53b603(0x2b9)],this[_0x53b603(0x2bf)]=(_0xfa553a=_0x41c27c[_0x53b603(0x1a8)])!=null?_0xfa553a:this[_0x53b603(0x2bf)],this[_0x53b603(0x1c7)]({'width':_0x41c27c[_0x53b603(0x39c)],'height':_0x41c27c['height']});}[_0x4edbca(0x179)](_0x59c664){const _0x29ec3d=_0x4edbca,{row:_0x20dc3e,column:_0x282f45}=_0x59c664;if(_0x20dc3e>=this[_0x29ec3d(0x333)][_0x29ec3d(0x20b)]&&_0x20dc3e<=this[_0x29ec3d(0x333)]['endRow']&&_0x282f45>=this['_range'][_0x29ec3d(0x260)]&&_0x282f45<=this[_0x29ec3d(0x333)]['endColumn']){this[_0x29ec3d(0x2ec)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4edbca(0x300)](_0x45aa34){return!0x1;}['_draw'](_0x18c915){const _0x434de5=_0x4edbca;_0x365d9c['Rect']['drawWith'](_0x18c915,{'width':this['width'],'height':this[_0x434de5(0x345)],'strokeWidth':_0x3147d2,'stroke':this[_0x434de5(0x1b6)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x434de5(0x3d3)]&&(_0x18c915[_0x434de5(0x174)](),_0x18c915[_0x434de5(0x2bd)](0x1,0x0,0x0,0x1,this[_0x434de5(0x39c)],this[_0x434de5(0x2b9)]==='bottom'?0x0:-0x14),_0x1ce383['drawWith'](_0x18c915,{'text':this[_0x434de5(0x288)],'color':this['_color']}),_0x18c915[_0x434de5(0x158)]());}}var _0x8d2630=Object[_0x4edbca(0x304)],_0x440842=(_0x288768,_0x1c504a,_0x3260b2,_0x5598d3)=>{const _0x419e93=_0x4edbca;for(var _0x67178=_0x5598d3>0x1?void 0x0:_0x5598d3?_0x8d2630(_0x1c504a,_0x3260b2):_0x1c504a,_0x145023=_0x288768[_0x419e93(0x35f)]-0x1,_0x9e9a0;_0x145023>=0x0;_0x145023--)(_0x9e9a0=_0x288768[_0x145023])&&(_0x67178=_0x9e9a0(_0x67178)||_0x67178);return _0x67178;},_0x12c1cc=(_0x15eb7a,_0x1d84a3)=>(_0xbc350f,_0x36a25d)=>_0x1d84a3(_0xbc350f,_0x36a25d,_0x15eb7a);const _0x34cb7f=0x1389;let _0xd9a110=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0xe4fdba,_0x2fa753,_0x78f43d,_0x3d2e55){const _0x2776a1=_0x4edbca;super(),_0x45f8a5(this,'_cursors',new Set()),_0x45f8a5(this,_0x2776a1(0x339),null),(this[_0x2776a1(0x1e7)]=_0xe4fdba,this[_0x2776a1(0x298)]=_0x2fa753,this['_collabCursorController']=_0x78f43d,this[_0x2776a1(0x3aa)]=_0x3d2e55,this['_init']());}['_init'](){const _0x1cab7d=_0x4edbca;this[_0x1cab7d(0x298)]['currentSkeleton$'][_0x1cab7d(0x1e6)](_0x25274c[_0x1cab7d(0x3b6)](this['dispose$']),_0x25274c['switchMap'](_0x3e7af2=>{const _0x211b59=_0x1cab7d;if(_0x3e7af2){const _0x1d28a6=_0x3e7af2[_0x211b59(0x16f)];return _0xde1ef0['combineLatest'](this[_0x211b59(0x1df)][_0x211b59(0x1ce)](this['_context'][_0x211b59(0x331)]),this[_0x211b59(0x3aa)][_0x211b59(0x396)])[_0x211b59(0x1e6)](_0x25274c[_0x211b59(0x381)](([_0x3e74e7,_0x2dc534])=>{const _0x5a3104=_0x211b59,_0x40fee2=new Map();return _0x3e74e7[_0x5a3104(0x24c)]((_0x17957d,_0xff9ba4)=>{const _0x51ee12=_0x5a3104;if(_0x17957d[_0x51ee12(0x244)]===_0x1d28a6){const _0x27d7cd={..._0x17957d};_0x27d7cd['color']=this[_0x51ee12(0x3aa)][_0x51ee12(0x3e9)](_0x17957d[_0x51ee12(0x1f9)]),_0x40fee2['set'](_0xff9ba4,_0x27d7cd);}}),{'skeleton':_0x3e7af2,'cursors':_0x40fee2};}));}return _0xde1ef0['of']({'skeleton':null,'cursors':new Map()});}))[_0x1cab7d(0x367)](({skeleton:_0x5e3f59,cursors:_0x34ae4a})=>{const _0x38775f=_0x1cab7d;this[_0x38775f(0x3d1)](),_0x5e3f59&&this[_0x38775f(0x364)](_0x5e3f59,_0x34ae4a);}),this['_sheetSkeletonManagerService'][_0x1cab7d(0x361)][_0x1cab7d(0x367)](_0x144197=>{const _0x5f1328=_0x1cab7d;if(_0x144197==null)return;const {skeleton:_0x1d1b4a}=_0x144197,{scene:_0x2ec69d}=this['_context'];_0x2ec69d[_0x5f1328(0x200)][_0x5f1328(0x39e)](_0xffd2a8[_0x5f1328(0x38e)](_0x9841e5=>{const _0x2151a4=_0x5f1328;var _0x439c09,_0x34633f;const {offsetX:_0x3e1ec2,offsetY:_0x152d5a}=_0x9841e5,{x:_0x2bb57d,y:_0x481556}=_0x2ec69d[_0x2151a4(0x1f0)](_0x365d9c[_0x2151a4(0x382)][_0x2151a4(0x3d7)]([_0x3e1ec2,_0x152d5a])),{scaleX:_0x41bde0,scaleY:_0x36359f}=_0x2ec69d['getAncestorScale'](),_0x184aae=_0x2ec69d[_0x2151a4(0x2a1)](_0x365d9c['SHEET_VIEWPORT_KEY'][_0x2151a4(0x3e8)]),_0x17881e=_0x2ec69d[_0x2151a4(0x2fa)](_0x365d9c[_0x2151a4(0x382)][_0x2151a4(0x3d7)]([_0x2bb57d,_0x481556]),_0x184aae),_0x19f6a4=_0x1d1b4a[_0x2151a4(0x375)](_0x3e1ec2,_0x152d5a,_0x41bde0,_0x36359f,_0x17881e);((_0x439c09=this[_0x2151a4(0x339)])==null?void 0x0:_0x439c09[_0x2151a4(0x3ac)])===_0x19f6a4[_0x2151a4(0x3ac)]&&((_0x34633f=this[_0x2151a4(0x339)])==null?void 0x0:_0x34633f[_0x2151a4(0x32c)])===_0x19f6a4[_0x2151a4(0x32c)]||this['_cursors'][_0x2151a4(0x24c)](_0x1590dc=>{_0x1590dc['onMouseMove'](_0x19f6a4);});},0x64));});}[_0x4edbca(0x364)](_0x2edb4e,_0x3f8f1c){const _0x4349d9=_0x4edbca;var _0x4c5568;const _0x14fe15=(_0x4c5568=this[_0x4349d9(0x298)][_0x4349d9(0x33e)]())==null?void 0x0:_0x4c5568[_0x4349d9(0x22d)];if(!_0x14fe15)return;const _0x40de32=this[_0x4349d9(0x1eb)]();if(!_0x40de32)return;this[_0x4349d9(0x1d4)][_0x4349d9(0x24c)](_0x5122ee=>{const _0x4bf436=_0x4349d9;_0x5122ee[_0x4bf436(0x1b1)]();});const {scene:_0x239395}=_0x40de32,_0x4e2d05=_0x580551(Array[_0x4349d9(0x283)](_0x3f8f1c['values']()))[_0x4349d9(0x381)](_0x44020d=>{const _0x3a6be5=_0x4349d9,{color:_0x1c5371,range:_0x10aaaa,name:_0x3fb556,selection:_0x5175e3,sheetID:_0x48c306}=_0x44020d,{startColumn:_0x46972d,startRow:_0x411135,endColumn:_0x254612,endRow:_0x2abe45}=_0x10aaaa,_0x131421=_0x3c136a[_0x3a6be5(0x380)](_0x411135,_0x46972d,_0x239395,_0x14fe15),_0x51d5d8=_0x3c136a[_0x3a6be5(0x380)](_0x2abe45,_0x254612,_0x239395,_0x14fe15),{columnHeaderHeightAndMarginTop:_0x41840a}=_0x14fe15,{startX:_0x36a6fa,startY:_0xc8c473}=_0x131421,{endX:_0x414448,endY:_0x38547a}=_0x51d5d8,_0x329502=_0x414448-_0x36a6fa,_0x54c232=_0x38547a-_0xc8c473,_0xdb756b={'labelPosition':_0xc8c473-_0x41840a>=_0x2defab?_0x3a6be5(0x2e9):_0x3a6be5(0x243),'sheetID':_0x48c306,'range':_0x10aaaa,'color':_0x1c5371,'name':_0x3fb556,'selection':_0x5175e3,'left':_0x36a6fa,'top':_0xc8c473,'width':_0x329502,'height':_0x54c232,'evented':!0x1,'zIndex':_0x34cb7f};return new _0x5370c7(_0x3fb556,_0xdb756b);});_0x239395['addObjects'](_0x4e2d05,_0x4a455a),this['_cursors']=new Set(_0x4e2d05);}[_0x4edbca(0x3d1)](){const _0xadc170=_0x4edbca;var _0x2a577b;(_0x2a577b=this['_cursors'])==null||_0x2a577b[_0xadc170(0x24c)](_0x1e90cb=>_0x1e90cb[_0xadc170(0x27a)]());}[_0x4edbca(0x1eb)](){const _0x44f310=_0x4edbca;return _0x3c136a['getSheetObject'](this['_context'][_0x44f310(0x2ed)],this[_0x44f310(0x1e7)]);}};_0xd9a110=_0x440842([_0x12c1cc(0x1,_0xffd2a8['Inject'](_0x3c136a[_0x4edbca(0x296)])),_0x12c1cc(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x543db2)),_0x12c1cc(0x3,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8['ThemeService']))],_0xd9a110);function _0x580551(_0x5f3165){const _0x374d76=_0x4edbca,_0x2a2137=new Map();return _0x5f3165[_0x374d76(0x24c)](_0x195f0a=>{const _0x114ae4=_0x374d76;if(_0x2a2137['has'](_0x195f0a[_0x114ae4(0x348)])){const _0x2793ac=_0x2a2137[_0x114ae4(0x176)](_0x195f0a['selection']);_0x2793ac[_0x114ae4(0x2b0)]+=',\x20'+_0x195f0a[_0x114ae4(0x2b0)];}else _0x2a2137['set'](_0x195f0a[_0x114ae4(0x348)],_0x195f0a);}),Array[_0x374d76(0x283)](_0x2a2137[_0x374d76(0x316)]());}var _0x2be382=function(){const _0x3cb63a=_0x4edbca;return _0x2be382=Object[_0x3cb63a(0x33d)]||function(_0x20ca3c){const _0x2602ce=_0x3cb63a;for(var _0x20d825,_0x55800c=0x1,_0x4384aa=arguments['length'];_0x55800c<_0x4384aa;_0x55800c++){_0x20d825=arguments[_0x55800c];for(var _0x17c0cc in _0x20d825)Object['prototype']['hasOwnProperty'][_0x2602ce(0x359)](_0x20d825,_0x17c0cc)&&(_0x20ca3c[_0x17c0cc]=_0x20d825[_0x17c0cc]);}return _0x20ca3c;},_0x2be382[_0x3cb63a(0x25a)](this,arguments);},_0x4f4e8=function(_0x10d478,_0x2c6f93){const _0x12fc5b=_0x4edbca;var _0x2e90b7={};for(var _0x5c28f7 in _0x10d478)Object[_0x12fc5b(0x192)][_0x12fc5b(0x164)][_0x12fc5b(0x359)](_0x10d478,_0x5c28f7)&&_0x2c6f93[_0x12fc5b(0x2e7)](_0x5c28f7)<0x0&&(_0x2e90b7[_0x5c28f7]=_0x10d478[_0x5c28f7]);if(_0x10d478!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0xcdee6f=0x0,_0x5c28f7=Object[_0x12fc5b(0x261)](_0x10d478);_0xcdee6f<_0x5c28f7['length'];_0xcdee6f++)_0x2c6f93[_0x12fc5b(0x2e7)](_0x5c28f7[_0xcdee6f])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x12fc5b(0x359)](_0x10d478,_0x5c28f7[_0xcdee6f])&&(_0x2e90b7[_0x5c28f7[_0xcdee6f]]=_0x10d478[_0x5c28f7[_0xcdee6f]]);}return _0x2e90b7;},_0x14894c=_0x4fbffb[_0x4edbca(0x227)](function(_0x3a3292,_0x777266){const _0x3fd5b2=_0x4edbca;var _0x477fa0=_0x3a3292['icon'],_0x2613f0=_0x3a3292['id'],_0xa7e544=_0x3a3292[_0x3fd5b2(0x173)],_0x5d8136=_0x3a3292[_0x3fd5b2(0x1b5)],_0x4e71e6=_0x4f4e8(_0x3a3292,['icon','id',_0x3fd5b2(0x173),'extend']),_0x4f0c44='univerjs-icon\x20univerjs-icon-'[_0x3fd5b2(0x2db)](_0x2613f0,'\x20')['concat'](_0xa7e544||'')['trim'](),_0x4c796e=_0x4fbffb[_0x3fd5b2(0x270)]('_'[_0x3fd5b2(0x2db)](_0x5c12c2()));return _0x4e5ee9(_0x477fa0,''[_0x3fd5b2(0x2db)](_0x2613f0),{'defIds':_0x477fa0[_0x3fd5b2(0x1b0)],'idSuffix':_0x4c796e[_0x3fd5b2(0x3b3)]},_0x2be382({'ref':_0x777266,'className':_0x4f0c44},_0x4e71e6),_0x5d8136);});function _0x4e5ee9(_0x165fbf,_0x4ed1ea,_0x5bb76f,_0x124aa2,_0x52ba18){const _0x44b265=_0x4edbca;return _0x4fbffb['createElement'](_0x165fbf[_0x44b265(0x167)],_0x2be382(_0x2be382({'key':_0x4ed1ea},_0x3c5c76(_0x165fbf,_0x5bb76f,_0x52ba18)),_0x124aa2),(_0x5dc531(_0x165fbf,_0x5bb76f)[_0x44b265(0x259)]||[])[_0x44b265(0x381)](function(_0x13ad7e,_0x108155){const _0x3ce4e8=_0x44b265;return _0x4e5ee9(_0x13ad7e,''[_0x3ce4e8(0x2db)](_0x4ed1ea,'-')['concat'](_0x165fbf[_0x3ce4e8(0x167)],'-')[_0x3ce4e8(0x2db)](_0x108155),_0x5bb76f,void 0x0,_0x52ba18);}));}function _0x3c5c76(_0x4aa3d1,_0x512eaa,_0x4392da){const _0x4edb29=_0x4edbca;var _0x1f3df6=_0x2be382({},_0x4aa3d1[_0x4edb29(0x325)]);_0x4392da!=null&&_0x4392da[_0x4edb29(0x3c2)]&&_0x1f3df6[_0x4edb29(0x343)]===_0x4edb29(0x3c2)&&(_0x1f3df6[_0x4edb29(0x343)]=_0x4392da['colorChannel1']),_0x4aa3d1[_0x4edb29(0x167)]===_0x4edb29(0x3c1)&&_0x1f3df6['id']&&(_0x1f3df6['id']=_0x1f3df6['id']+_0x512eaa[_0x4edb29(0x2eb)]),Object[_0x4edb29(0x31e)](_0x1f3df6)['forEach'](function(_0x4f42ed){const _0x27afc4=_0x4edb29;var _0x1552c6=_0x4f42ed[0x0],_0x17c803=_0x4f42ed[0x1];_0x1552c6===_0x27afc4(0x3c1)&&typeof _0x17c803=='string'&&(_0x1f3df6[_0x1552c6]=_0x17c803[_0x27afc4(0x1ee)](/url\(#(.*)\)/,_0x27afc4(0x166)[_0x27afc4(0x2db)](_0x512eaa['idSuffix'],')')));});var _0x2e37b9=_0x512eaa['defIds'];return!_0x2e37b9||_0x2e37b9[_0x4edb29(0x35f)]===0x0||(_0x4aa3d1[_0x4edb29(0x167)]===_0x4edb29(0x1ef)&&_0x1f3df6[_0x4edb29(0x20d)]&&(_0x1f3df6[_0x4edb29(0x20d)]=_0x1f3df6[_0x4edb29(0x20d)]+_0x512eaa['idSuffix']),Object['entries'](_0x1f3df6)[_0x4edb29(0x24c)](function(_0x314b38){const _0x211160=_0x4edb29;var _0x5a3065=_0x314b38[0x0],_0x49aa37=_0x314b38[0x1];typeof _0x49aa37==_0x211160(0x264)&&(_0x1f3df6[_0x5a3065]=_0x49aa37['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x512eaa[_0x211160(0x2eb)],')')));})),_0x1f3df6;}function _0x5dc531(_0x289c93,_0x2d827f){const _0x278e98=_0x4edbca;var _0x5958c3,_0x17fadf=_0x2d827f[_0x278e98(0x1b0)];return!_0x17fadf||_0x17fadf[_0x278e98(0x35f)]===0x0?_0x289c93:_0x289c93[_0x278e98(0x167)]===_0x278e98(0x245)&&(!((_0x5958c3=_0x289c93[_0x278e98(0x259)])===null||_0x5958c3===void 0x0)&&_0x5958c3[_0x278e98(0x35f)])?_0x2be382(_0x2be382({},_0x289c93),{'children':_0x289c93[_0x278e98(0x259)]['map'](function(_0x1b684d){const _0x1a843e=_0x278e98;return typeof _0x1b684d[_0x1a843e(0x325)]['id']==_0x1a843e(0x264)&&_0x17fadf&&_0x17fadf[_0x1a843e(0x23c)](_0x1b684d['attrs']['id'])?_0x2be382(_0x2be382({},_0x1b684d),{'attrs':_0x2be382(_0x2be382({},_0x1b684d[_0x1a843e(0x325)]),{'id':_0x1b684d[_0x1a843e(0x325)]['id']+_0x2d827f['idSuffix']})}):_0x1b684d;})}):_0x289c93;}function _0x5c12c2(){const _0x157d49=_0x4edbca;return Math[_0x157d49(0x229)]()['toString'](0x24)[_0x157d49(0x314)](0x2,0x8);}_0x14894c['displayName']=_0x4edbca(0x2d8);var _0x486fc8={'tag':_0x4edbca(0x277),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4edbca(0x21e),'viewBox':'0\x200\x2016\x2016','width':_0x4edbca(0x31c),'height':_0x4edbca(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4edbca(0x354),'attrs':{'stroke':'currentColor','d':_0x4edbca(0x2d6),'strokeLinecap':_0x4edbca(0x3c6),'strokeLinejoin':_0x4edbca(0x3c6),'strokeWidth':1.2}}]},{'tag':_0x4edbca(0x245),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4edbca(0x3be)},'children':[{'tag':_0x4edbca(0x354),'attrs':{'fill':'white','d':_0x4edbca(0x204)}}]}]}],'defIds':[_0x4edbca(0x3be)]},_0x3c54d1=_0x4fbffb['forwardRef'](function(_0x5f5c31,_0x43d0c1){const _0x35e472=_0x4edbca;return _0x4fbffb[_0x35e472(0x3f5)](_0x14894c,Object[_0x35e472(0x33d)]({},_0x5f5c31,{'id':'off-line-icon','ref':_0x43d0c1,'icon':_0x486fc8}));});_0x3c54d1['displayName']=_0x4edbca(0x3b5);var _0x5069a7={'tag':_0x4edbca(0x277),'attrs':{'xmlns':_0x4edbca(0x183),'fill':_0x4edbca(0x21e),'viewBox':_0x4edbca(0x38d),'width':_0x4edbca(0x31c),'height':_0x4edbca(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':_0x4edbca(0x3f2)},'children':[{'tag':'path','attrs':{'stroke':_0x4edbca(0x1aa),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4edbca(0x3c6),'strokeLinejoin':_0x4edbca(0x3c6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4edbca(0x3d8)},'children':[{'tag':_0x4edbca(0x354),'attrs':{'fill':_0x4edbca(0x210),'d':'M0\x200H16V16H0z','transform':_0x4edbca(0x1a7)}}]}]}],'defIds':[_0x4edbca(0x3d8)]},_0x448144=_0x4fbffb[_0x4edbca(0x227)](function(_0x3c0761,_0x44bea8){const _0x3caa55=_0x4edbca;return _0x4fbffb[_0x3caa55(0x3f5)](_0x14894c,Object['assign']({},_0x3c0761,{'id':'on-line-icon','ref':_0x44bea8,'icon':_0x5069a7}));});_0x448144[_0x4edbca(0x3a2)]=_0x4edbca(0x290);function _0x5d04fd(_0x599f95){const _0x3b69ae=_0x4edbca;switch(_0x599f95){case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x355)]:return _0x3b69ae(0x23a);case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x1cd)]:return _0x3b69ae(0x32a);case _0x3df360[_0x3b69ae(0x390)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x321)]:return _0x3b69ae(0x30b);case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x16a)]:case _0x3df360[_0x3b69ae(0x390)][_0x3b69ae(0x347)]:return'collabStatus.syncing';case _0x3df360['CollaborationStatus'][_0x3b69ae(0x322)]:case _0x3df360[_0x3b69ae(0x390)]['PENDING']:return _0x3b69ae(0x202);}}function _0x16c981(_0x3d43ea){const _0x32a519=_0x4edbca,{status$:_0x1807fd}=_0x3d43ea,_0xc88697=_0xd238db['useObservable'](_0x1807fd,_0x3df360[_0x32a519(0x390)][_0x32a519(0x321)]),_0x39e3d5=_0xd238db['useDependency'](_0xffd2a8[_0x32a519(0x219)]),_0x5fe6a6=_0xd238db[_0x32a519(0x1a0)](_0x3df360['CollaborationSessionService']),_0x225140=_0xc88697!==_0x3df360[_0x32a519(0x390)][_0x32a519(0x355)],_0x29fa8f=_0x39e3d5['t'](_0x5d04fd(_0xc88697)),_0x903c0d=_0x225140?_0x300e33[_0x32a519(0x2cf)](_0x448144,{}):_0x300e33[_0x32a519(0x2cf)](_0x3c54d1,{}),_0x46ed89=_0x4fbffb['useCallback'](()=>{const _0x98e5ed=_0x32a519;_0x225140||_0x5fe6a6[_0x98e5ed(0x29f)]();},[_0x225140,_0x5fe6a6]);function _0x565960(){const _0x2174b9=_0x32a519;return _0x300e33['jsxs'](_0x2174b9(0x3c4),{'className':_0x2174b9(0x258),'onClick':_0x46ed89,'children':[_0x300e33[_0x2174b9(0x2cf)]('div',{'className':_0x291018['clsx'](_0x2174b9(0x216),{'univer-text-green-500':_0x225140,'univer-text-red-500':!_0x225140}),'children':_0x903c0d}),_0x300e33[_0x2174b9(0x2cf)](_0x2174b9(0x3c4),{'className':_0x2174b9(0x3c5),'children':_0x29fa8f})]});}return _0x225140?_0x565960():_0x300e33[_0x32a519(0x2cf)](_0x291018[_0x32a519(0x337)],{'title':_0x39e3d5['t']('collab-client.tooltip.reconnect'),'children':_0x565960()});}var _0x10e9ad=Object[_0x4edbca(0x304)],_0x50f72c=(_0x160b4f,_0x355141,_0x37d9ec,_0x52ee9a)=>{const _0xd3cd38=_0x4edbca;for(var _0x12555e=_0x52ee9a>0x1?void 0x0:_0x52ee9a?_0x10e9ad(_0x355141,_0x37d9ec):_0x355141,_0xf4f6aa=_0x160b4f[_0xd3cd38(0x35f)]-0x1,_0x3f83c9;_0xf4f6aa>=0x0;_0xf4f6aa--)(_0x3f83c9=_0x160b4f[_0xf4f6aa])&&(_0x12555e=_0x3f83c9(_0x12555e)||_0x12555e);return _0x12555e;},_0x55ada4=(_0x532231,_0x160c16)=>(_0x15a44d,_0x5ea8de)=>_0x160c16(_0x15a44d,_0x5ea8de,_0x532231);_0x2b5cdb[_0x4edbca(0x2fb)]=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x771f69,_0x419e5f,_0x2ca8a3,_0x1cba26){const _0x3d9837=_0x4edbca;super(),_0x45f8a5(this,_0x3d9837(0x27b),new _0xde1ef0[(_0x3d9837(0x2f7))](_0x3df360[_0x3d9837(0x390)][_0x3d9837(0x321)])),(this['_univerInstanceService']=_0x771f69,this[_0x3d9837(0x311)]=_0x419e5f,this['_collaborationController']=_0x2ca8a3,this[_0x3d9837(0x30d)]=_0x1cba26,this[_0x3d9837(0x2bc)](),this['_initStatusListener']());}[_0x4edbca(0x344)](){const _0x4e62e0=_0x4edbca;this[_0x4e62e0(0x3b0)](this[_0x4e62e0(0x1d5)][_0x4e62e0(0x16c)][_0x4e62e0(0x1e6)](_0xde1ef0[_0x4e62e0(0x2a0)](()=>{const _0x5105b0=_0x4e62e0,_0x263ada=this[_0x5105b0(0x1d5)][_0x5105b0(0x199)]();return _0x263ada?this[_0x5105b0(0x1e3)][_0x5105b0(0x302)](_0x263ada[_0x5105b0(0x386)]()):_0xde1ef0['of'](null);}),_0xde1ef0[_0x4e62e0(0x2a0)](_0x3c4070=>_0x3c4070?_0x3c4070[_0x4e62e0(0x3d5)]:_0xde1ef0['of'](_0x3df360[_0x4e62e0(0x390)][_0x4e62e0(0x321)])))[_0x4e62e0(0x367)](_0x375751=>{const _0x29abe1=_0x4e62e0;this['_status$'][_0x29abe1(0x31b)](_0x375751);}));}[_0x4edbca(0x2bc)](){const _0x55572b=_0x4edbca;this[_0x55572b(0x3b0)](this[_0x55572b(0x30d)][_0x55572b(0x240)](_0xd238db[_0x55572b(0x278)][_0x55572b(0x34d)],()=>_0xd238db[_0x55572b(0x170)](_0x37c40d({'status$':this['_status$'][_0x55572b(0x33b)]()}),this[_0x55572b(0x311)])));}},_0x2b5cdb[_0x4edbca(0x2fb)]=_0x50f72c([_0x55ada4(0x0,_0xffd2a8[_0x4edbca(0x2e2)]),_0x55ada4(0x1,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x55ada4(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x3df360['CollaborationController'])),_0x55ada4(0x3,_0xd238db[_0x4edbca(0x185)])],_0x2b5cdb[_0x4edbca(0x2fb)]);function _0x37c40d(_0x3fc978){const {status$:_0x484f42}=_0x3fc978;return function(){return _0x300e33['jsx'](_0x16c981,{'status$':_0x484f42});};}var _0x261bb4=Object[_0x4edbca(0x304)],_0x5df215=(_0xc1f91,_0x4a1c06,_0x511f98,_0x4dbe44)=>{for(var _0x2af8c5=_0x4dbe44>0x1?void 0x0:_0x4dbe44?_0x261bb4(_0x4a1c06,_0x511f98):_0x4a1c06,_0x21a5fb=_0xc1f91['length']-0x1,_0x1ff623;_0x21a5fb>=0x0;_0x21a5fb--)(_0x1ff623=_0xc1f91[_0x21a5fb])&&(_0x2af8c5=_0x1ff623(_0x2af8c5)||_0x2af8c5);return _0x2af8c5;},_0x4268fc=(_0x351d33,_0x5ab17f)=>(_0x114c3e,_0x4fb9c4)=>_0x5ab17f(_0x114c3e,_0x4fb9c4,_0x351d33);let _0x3f3ac1=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x3ec35d,_0x569195,_0x206886,_0x11bd7b,_0x18c591,_0x289cbc){const _0x56aec6=_0x4edbca;super(),this[_0x56aec6(0x1ad)]=_0x3ec35d,this[_0x56aec6(0x262)]=_0x569195,this[_0x56aec6(0x384)]=_0x206886,this[_0x56aec6(0x1af)]=_0x11bd7b,this[_0x56aec6(0x2ca)]=_0x18c591,this[_0x56aec6(0x19d)]=_0x289cbc,this[_0x56aec6(0x2c1)](),this['_initEvent']();}[_0x4edbca(0x2c1)](){const _0x271f7b=_0x4edbca;this['disposeWithMe'](this[_0x271f7b(0x1ad)][_0x271f7b(0x35c)](()=>{const _0x2664e0=_0x271f7b;if(this['_localCacheService'][_0x2664e0(0x231)][_0x2664e0(0x22a)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x4edbca(0x352)](){const _0xc35d19=_0x4edbca;this[_0xc35d19(0x3b0)](this[_0xc35d19(0x384)][_0xc35d19(0x3bc)][_0xc35d19(0x367)](_0x16c416=>{const _0x4993fa=_0xc35d19;_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x305)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018[_0x4993fa(0x3dd)][_0x4993fa(0x28c)],'content':this['_localeService']['t'](_0x4993fa(0x215))}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x242)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018[_0x4993fa(0x3dd)]['Warning'],'content':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x2d4))}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)]['PERMISSION_DENIED']&&this[_0x4993fa(0x2ca)]['show']({'title':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x226)),'content':this[_0x4993fa(0x19d)]['t']('permission.content'),'type':_0x4993fa(0x289),'duration':0x0}),_0x16c416['id']===_0x3df360['CollaborationUIEventId'][_0x4993fa(0x1cd)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018[_0x4993fa(0x3dd)][_0x4993fa(0x3ef)],'content':this[_0x4993fa(0x19d)]['t']('collaboration.closeRoom')+'('+_0x16c416[_0x4993fa(0x376)]+')'}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x3b4)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018['MessageType'][_0x4993fa(0x28c)],'content':this[_0x4993fa(0x19d)]['t'](_0x16c416[_0x4993fa(0x376)]||'')}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x388)]&&this[_0x4993fa(0x1af)][_0x4993fa(0x369)]({'type':_0x291018['MessageType'][_0x4993fa(0x28c)],'content':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x303))}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x1a3)]&&this['_messageService']['show']({'type':_0x291018[_0x4993fa(0x3dd)]['Error'],'content':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x225))}),_0x16c416['id']===_0x3df360[_0x4993fa(0x1d2)][_0x4993fa(0x2c3)]&&this['_messageService'][_0x4993fa(0x369)]({'type':_0x291018[_0x4993fa(0x3dd)][_0x4993fa(0x3ef)],'content':this[_0x4993fa(0x19d)]['t'](_0x4993fa(0x2aa))});}));}};_0x3f3ac1=_0x5df215([_0x4268fc(0x0,_0xd238db[_0x4edbca(0x2df)]),_0x4268fc(0x1,_0x3df360[_0x4edbca(0x19e)]),_0x4268fc(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x3d9)])),_0x4268fc(0x3,_0xd238db[_0x4edbca(0x33f)]),_0x4268fc(0x4,_0xd238db[_0x4edbca(0x18e)]),_0x4268fc(0x5,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x219)]))],_0x3f3ac1);const _0x284e01=_0x4edbca(0x394),_0x37cb15={},_0x6a624b=_0xffd2a8[_0x4edbca(0x235)](_0x4edbca(0x180));var _0x4f5590=Object[_0x4edbca(0x304)],_0xe9d242=(_0x10a743,_0x18a708,_0x545015,_0x47dc65)=>{const _0x14ef18=_0x4edbca;for(var _0x4abe66=_0x47dc65>0x1?void 0x0:_0x47dc65?_0x4f5590(_0x18a708,_0x545015):_0x18a708,_0x494e10=_0x10a743[_0x14ef18(0x35f)]-0x1,_0x34d9f1;_0x494e10>=0x0;_0x494e10--)(_0x34d9f1=_0x10a743[_0x494e10])&&(_0x4abe66=_0x34d9f1(_0x4abe66)||_0x4abe66);return _0x4abe66;},_0xd59d8a=(_0x52854e,_0x53f1d2)=>(_0x3f4c27,_0x2b1d3f)=>_0x53f1d2(_0x3f4c27,_0x2b1d3f,_0x52854e);_0x2b5cdb[_0x4edbca(0x3a8)]=class extends _0xffd2a8[_0x4edbca(0x393)]{constructor(_0x2f4a1e,_0x198476,_0x18ebdd,_0x202876,_0x582837){const _0x58a9aa=_0x4edbca;super(),this[_0x58a9aa(0x2a6)]=_0x2f4a1e,this['_logService']=_0x198476,this[_0x58a9aa(0x2be)]=_0x18ebdd,this['_dataLoaderService']=_0x202876,_0x582837?_0x582837==null||_0x582837[_0x58a9aa(0x29c)]()[_0x58a9aa(0x1fa)](()=>this[_0x58a9aa(0x3a5)]()):(this[_0x58a9aa(0x36e)][_0x58a9aa(0x15b)](_0x58a9aa(0x3ae),_0x58a9aa(0x324)),this['_init']());}async['_init'](){const _0x3aa22b=_0x4edbca,_0x19f84d=this[_0x3aa22b(0x2a6)][_0x3aa22b(0x253)]('unit'),_0x21f4d6=this['_urlService']['getParam'](_0x3aa22b(0x238)),_0xb91ebb=this['_urlService']['getParam'](_0x3aa22b(0x3b7));if(!_0x19f84d||!_0x21f4d6){this[_0x3aa22b(0x36e)][_0x3aa22b(0x15b)](_0x3aa22b(0x3ae),_0x3aa22b(0x374));return;}const _0x42eb73=await this[_0x3aa22b(0x21d)][_0x3aa22b(0x34c)](_0x19f84d,Number(_0x21f4d6),_0xb91ebb);_0x42eb73&&_0x42eb73 instanceof _0xffd2a8[_0x3aa22b(0x346)]&&this[_0x3aa22b(0x165)](_0x42eb73);}async[_0x4edbca(0x165)](_0x542c72){const _0x3cf19f=_0x4edbca;await this[_0x3cf19f(0x3b8)](_0x542c72),_0x542c72['activeSheet$'][_0x3cf19f(0x1e6)](_0xde1ef0[_0x3cf19f(0x3b6)](this[_0x3cf19f(0x2c0)]))['subscribe'](_0x3438ba=>{const _0x429bf1=_0x3cf19f;_0x3438ba&&this[_0x429bf1(0x1d1)](_0x3438ba);}),this[_0x3cf19f(0x2a6)][_0x3cf19f(0x1be)][_0x3cf19f(0x1e6)](_0xde1ef0[_0x3cf19f(0x3b6)](this['dispose$']))['subscribe'](()=>this[_0x3cf19f(0x3b8)](_0x542c72));}[_0x4edbca(0x1d1)](_0x2bca7b,_0xea919d=!0x1){const _0xac640=_0x4edbca,_0x93992c=this[_0xac640(0x2a6)][_0xac640(0x253)](_0xac640(0x3b7));_0x2bca7b[_0xac640(0x31a)]()!==_0x93992c&&this['_urlService']['setParam']('subunit',_0x2bca7b[_0xac640(0x31a)](),_0xea919d);}async['_updateSubUnitFromURLParams'](_0x1de240){const _0x4f4484=_0x4edbca;var _0x38d33c;const _0x27b6a3=this['_urlService'][_0x4f4484(0x253)]('subunit');if(!_0x27b6a3||!_0x1de240[_0x4f4484(0x2b6)](_0x27b6a3)){const _0x1041b6=_0x1de240[_0x4f4484(0x3f1)]()[0x0],_0x3ff28c=_0x1de240['getSheetBySheetId'](_0x1041b6);if(!_0x3ff28c)return;this[_0x4f4484(0x1d1)](_0x3ff28c,!0x0),await this[_0x4f4484(0x2be)][_0x4f4484(0x201)](_0x1e6254['SetWorksheetActivateCommand']['id'],{'unitId':_0x1de240['getUnitId'](),'subUnitId':_0x1041b6});return;}((_0x38d33c=_0x1de240[_0x4f4484(0x3c9)]())==null?void 0x0:_0x38d33c['getSheetId']())!==_0x27b6a3&&await this[_0x4f4484(0x2be)][_0x4f4484(0x201)](_0x1e6254[_0x4f4484(0x39d)]['id'],{'unitId':_0x1de240[_0x4f4484(0x386)](),'subUnitId':_0x27b6a3});}},_0x2b5cdb['CollaborationDataLoaderController']=_0xe9d242([_0xd59d8a(0x0,_0x6a624b),_0xd59d8a(0x1,_0xffd2a8[_0x4edbca(0x338)]),_0xd59d8a(0x2,_0xffd2a8[_0x4edbca(0x2cb)]),_0xd59d8a(0x3,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x1fc)])),_0xd59d8a(0x4,_0xffd2a8[_0x4edbca(0x159)](_0x20c23b[_0x4edbca(0x23b)]))],_0x2b5cdb[_0x4edbca(0x3a8)]);var _0x4887ee=Object[_0x4edbca(0x304)],_0x1e9a09=(_0x3facac,_0x9f1c1a,_0x2da050,_0x176163)=>{const _0x4e2107=_0x4edbca;for(var _0x229737=_0x176163>0x1?void 0x0:_0x176163?_0x4887ee(_0x9f1c1a,_0x2da050):_0x9f1c1a,_0x11831e=_0x3facac[_0x4e2107(0x35f)]-0x1,_0x261f4b;_0x11831e>=0x0;_0x11831e--)(_0x261f4b=_0x3facac[_0x11831e])&&(_0x229737=_0x261f4b(_0x229737)||_0x229737);return _0x229737;},_0xc1ab2=(_0x5b78df,_0x1aba87)=>(_0x13b6e4,_0x3f3d62)=>_0x1aba87(_0x13b6e4,_0x3f3d62,_0x5b78df);let _0x5b135f=class{constructor(_0x409c63,_0x3de6e8,_0x303cd0){const _0x453886=_0x4edbca;this[_0x453886(0x311)]=_0x409c63,this['_transformService']=_0x3de6e8,this[_0x453886(0x208)]=_0x303cd0;}[_0x4edbca(0x287)](_0x27fa20){const _0x40c149=_0x4edbca;this['_transformUndoRedoStack'](_0x27fa20),this[_0x40c149(0x2de)](_0x27fa20);}[_0x4edbca(0x31f)](_0x3f4b94){const _0x3536c1=_0x4edbca,{unitID:_0x5c99a6}=_0x3f4b94,_0x4a4c56=this[_0x3536c1(0x208)]['getRenderById'](_0x5c99a6)[_0x3536c1(0x268)](_0x2992e3[_0x3536c1(0x284)]),{redoCache:_0x1c47e4}=_0x4a4c56[_0x3536c1(0x3d2)]();if(_0x1c47e4[_0x3536c1(0x35f)]===0x0)return _0x3f4b94;let _0x1d9333=_0xffd2a8[_0x3536c1(0x1e9)][_0x3536c1(0x398)](_0x3f4b94[_0x3536c1(0x317)][0x0]);for(let _0x511585=0x0;_0x511585<_0x1c47e4[_0x3536c1(0x35f)];_0x511585++){const _0x136e0c={'id':_0x3536c1(0x1fe),'params':{..._0x1c47e4[_0x511585]}},_0x4df04b=this[_0x3536c1(0x2ce)][_0x3536c1(0x2f4)](_0x1d9333,_0x136e0c,!0x1);if(_0x3c67a0[_0x3536c1(0x17d)](_0x4df04b))throw _0x4df04b[_0x3536c1(0x289)];_0x1d9333=_0x4df04b[_0x3536c1(0x1ab)];}return{..._0xffd2a8['Tools']['deepClone'](_0x3f4b94),'mutations':[_0x1d9333]};}[_0x4edbca(0x3f4)](_0x5f0b79){const _0x3233de=_0x4edbca,{unitID:_0x4b0e59}=_0x5f0b79,_0x4f1325=this['_renderManagerService'][_0x3233de(0x252)](_0x4b0e59)[_0x3233de(0x268)](_0x2992e3[_0x3233de(0x284)]),{undoCache:_0x128073,redoCache:_0x454c59}=_0x4f1325[_0x3233de(0x3d2)]();if(_0x128073[_0x3233de(0x35f)]===0x0||_0x454c59['length']===0x0)return;const _0xe44602=[],_0x124ed2=[];let _0x23f4ed=_0xffd2a8['Tools'][_0x3233de(0x398)](_0x5f0b79[_0x3233de(0x317)][0x0]),_0x4cfec7=_0xffd2a8[_0x3233de(0x1e9)][_0x3233de(0x398)](_0x5f0b79[_0x3233de(0x317)][0x0]);for(let _0x5bee26=_0x128073[_0x3233de(0x35f)]-0x1;_0x5bee26>=0x0;_0x5bee26--){const _0x5c5dd0={'id':_0x3233de(0x1fe),'params':{..._0x128073[_0x5bee26]}},_0x2d8934={'id':_0x3233de(0x1fe),'params':{..._0x454c59[_0x5bee26]}},_0x48ebb4=this[_0x3233de(0x2ce)][_0x3233de(0x2f4)](_0x23f4ed,_0x5c5dd0,!0x1),_0x1ac806=this[_0x3233de(0x2ce)][_0x3233de(0x2f4)](_0x4cfec7,_0x2d8934,!0x1);if(_0x3c67a0['isTransformMutationFailure'](_0x48ebb4))throw _0x48ebb4[_0x3233de(0x289)];if(_0x3c67a0[_0x3233de(0x17d)](_0x1ac806))throw _0x1ac806[_0x3233de(0x289)];_0xe44602['unshift'](_0x48ebb4[_0x3233de(0x1e8)][_0x3233de(0x1da)]),_0x124ed2[_0x3233de(0x2ee)](_0x1ac806[_0x3233de(0x1e8)][_0x3233de(0x1da)]),_0x23f4ed=_0x48ebb4[_0x3233de(0x1ab)],_0x4cfec7=_0x1ac806['m1Prime'];}_0x4f1325['setUndoRedoMutationParamsCache']({'undoCache':_0xe44602,'redoCache':_0x124ed2});}[_0x4edbca(0x2de)](_0x435782){const _0x58effe=_0x4edbca,{unitID:_0x21d9e6}=_0x435782,_0x716686=this[_0x58effe(0x208)]['getRenderById'](_0x21d9e6)[_0x58effe(0x268)](_0x2992e3[_0x58effe(0x284)]),_0x592a79=_0x716686['getActiveRange']();if(_0x592a79==null)return;const _0x24525b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x435782[_0x58effe(0x330)],'actions':null,'textRanges':[_0x592a79]}}],_0x548adb=this[_0x58effe(0x2ce)][_0x58effe(0x30a)](_0x435782,_0x24525b);if(!_0x3c67a0['isTransformMutationsWithChangesetSuccess'](_0x548adb))throw _0x548adb[_0x58effe(0x289)];const _0x67c574=_0x548adb[_0x58effe(0x1e8)][0x0][_0x58effe(0x1da)][_0x58effe(0x342)];Array[_0x58effe(0x1f5)](_0x67c574)&&_0x67c574[_0x58effe(0x35f)]&&_0x716686['setActiveRange'](_0x67c574[0x0]);}};_0x5b135f=_0x1e9a09([_0xc1ab2(0x0,_0xffd2a8['Inject'](_0xffd2a8[_0x4edbca(0x2f1)])),_0xc1ab2(0x1,_0x3c67a0['ITransformService']),_0xc1ab2(0x2,_0x365d9c['IRenderManagerService'])],_0x5b135f);var _0x3b4525=Object[_0x4edbca(0x304)],_0x372e10=(_0x490832,_0x523c39,_0x90b559,_0x152bde)=>{for(var _0x10c4e7=_0x152bde>0x1?void 0x0:_0x152bde?_0x3b4525(_0x523c39,_0x90b559):_0x523c39,_0x43be2a=_0x490832['length']-0x1,_0x3aa3a2;_0x43be2a>=0x0;_0x43be2a--)(_0x3aa3a2=_0x490832[_0x43be2a])&&(_0x10c4e7=_0x3aa3a2(_0x10c4e7)||_0x10c4e7);return _0x10c4e7;},_0x4ec4e9=(_0x377579,_0x5d5d43)=>(_0x58bfb8,_0x3bf574)=>_0x5d5d43(_0x58bfb8,_0x3bf574,_0x377579);let _0x5b4c45=class{constructor(_0x4b5af8,_0x523d92,_0x3e5d25){const _0x423495=_0x4edbca;this[_0x423495(0x311)]=_0x4b5af8,this['_transformService']=_0x523d92,this[_0x423495(0x206)]=_0x3e5d25;}[_0x4edbca(0x299)](_0x41d166){this['_transformHistoryAndStateStack'](_0x41d166);}[_0x4edbca(0x31f)](_0x549d52){const _0x2e3af3=_0x4edbca,{unitID:_0x2ee451}=_0x549d52,{collaboration:_0xe8fb20}=this[_0x2e3af3(0x206)][_0x2e3af3(0x1e5)](_0x2ee451);if(_0xe8fb20[_0x2e3af3(0x35f)]===0x0)return _0x549d52;let _0x45f5ae=_0xffd2a8[_0x2e3af3(0x1e9)]['deepClone'](_0x549d52[_0x2e3af3(0x317)][0x0]);for(let _0x20af72=0x0;_0x20af72<_0xe8fb20['length'];_0x20af72++){const _0x5ef9ec={'id':_0x2e3af3(0x1fe),'params':{'unitId':_0xe8fb20[_0x20af72][_0x2e3af3(0x331)],..._0xe8fb20[_0x20af72]['redoState']}},_0x1419dc=this[_0x2e3af3(0x2ce)][_0x2e3af3(0x2f4)](_0x45f5ae,_0x5ef9ec,!0x1);if(_0x3c67a0[_0x2e3af3(0x17d)](_0x1419dc))throw _0x1419dc[_0x2e3af3(0x289)];_0x45f5ae=_0x1419dc[_0x2e3af3(0x1ab)];}return{..._0xffd2a8[_0x2e3af3(0x1e9)]['deepClone'](_0x549d52),'mutations':[_0x45f5ae]};}[_0x4edbca(0x19c)](_0x5a803c){const _0x297af1=_0x4edbca,{unitID:_0x45e634}=_0x5a803c,{history:_0x50b9f6,collaboration:_0x52acfc}=this['_docStateChangeManagerService'][_0x297af1(0x1e5)](_0x45e634);if(_0x50b9f6['length']===0x0&&_0x52acfc[_0x297af1(0x35f)]===0x0)return;const _0x4fc0c5=[],_0x3dbdfd=[];let _0x2970b1=_0xffd2a8[_0x297af1(0x1e9)][_0x297af1(0x398)](_0x5a803c['mutations'][0x0]),_0x52ae36=_0xffd2a8['Tools'][_0x297af1(0x398)](_0x5a803c[_0x297af1(0x317)][0x0]);for(let _0x4472e6=_0x50b9f6[_0x297af1(0x35f)]-0x1;_0x4472e6>=0x0;_0x4472e6--){const _0xba01b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50b9f6[_0x4472e6][_0x297af1(0x331)],..._0x50b9f6[_0x4472e6][_0x297af1(0x1cc)]}},_0x47da85={'id':_0x297af1(0x1fe),'params':{'unitId':_0x50b9f6[_0x4472e6]['unitId'],..._0x50b9f6[_0x4472e6][_0x297af1(0x275)]}},_0x36b7b7=this[_0x297af1(0x2ce)][_0x297af1(0x2f4)](_0x2970b1,_0xba01b6,!0x1),_0x2a6543=this[_0x297af1(0x2ce)][_0x297af1(0x2f4)](_0x52ae36,_0x47da85,!0x1);if(_0x3c67a0[_0x297af1(0x17d)](_0x36b7b7))throw _0x36b7b7['error'];if(_0x3c67a0[_0x297af1(0x17d)](_0x2a6543))throw _0x2a6543[_0x297af1(0x289)];_0x4fc0c5['unshift']({..._0x50b9f6[_0x4472e6],'undoState':_0x36b7b7[_0x297af1(0x1e8)][_0x297af1(0x1da)],'redoState':_0x2a6543[_0x297af1(0x1e8)][_0x297af1(0x1da)]}),_0x2970b1=_0x36b7b7[_0x297af1(0x1ab)],_0x52ae36=_0x2a6543[_0x297af1(0x1ab)];}_0x2970b1=_0xffd2a8['Tools'][_0x297af1(0x398)](_0x5a803c['mutations'][0x0]),_0x52ae36=_0xffd2a8[_0x297af1(0x1e9)][_0x297af1(0x398)](_0x5a803c[_0x297af1(0x317)][0x0]);for(let _0x1975b7=_0x52acfc[_0x297af1(0x35f)]-0x1;_0x1975b7>=0x0;_0x1975b7--){const _0x5a8d19={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52acfc[_0x1975b7][_0x297af1(0x331)],..._0x52acfc[_0x1975b7]['undoState']}},_0x1a9a55={'id':_0x297af1(0x1fe),'params':{'unitId':_0x52acfc[_0x1975b7][_0x297af1(0x331)],..._0x52acfc[_0x1975b7][_0x297af1(0x275)]}},_0x4cd13c=this[_0x297af1(0x2ce)]['transformMutation'](_0x2970b1,_0x5a8d19,!0x1),_0x2f3ed5=this[_0x297af1(0x2ce)][_0x297af1(0x2f4)](_0x52ae36,_0x1a9a55,!0x1);if(_0x3c67a0['isTransformMutationFailure'](_0x4cd13c))throw _0x4cd13c['error'];if(_0x3c67a0[_0x297af1(0x17d)](_0x2f3ed5))throw _0x2f3ed5['error'];_0x3dbdfd[_0x297af1(0x2ee)]({..._0x52acfc[_0x1975b7],'undoState':_0x4cd13c['m2Prime'][_0x297af1(0x1da)],'redoState':_0x2f3ed5[_0x297af1(0x1e8)]['params']}),_0x2970b1=_0x4cd13c[_0x297af1(0x1ab)],_0x52ae36=_0x2f3ed5[_0x297af1(0x1ab)];}this[_0x297af1(0x206)][_0x297af1(0x3ec)](_0x45e634,{'history':_0x4fc0c5,'collaboration':_0x3dbdfd});}};_0x5b4c45=_0x372e10([_0x4ec4e9(0x0,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8['Injector'])),_0x4ec4e9(0x1,_0x3c67a0[_0x4edbca(0x17e)]),_0x4ec4e9(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x2992e3['DocStateChangeManagerService']))],_0x5b4c45);var _0x1ab894=Object['getOwnPropertyDescriptor'],_0x27a4e5=(_0x366758,_0x304c2a,_0xd571c9,_0x3da7d3)=>{for(var _0x16cbeb=_0x3da7d3>0x1?void 0x0:_0x3da7d3?_0x1ab894(_0x304c2a,_0xd571c9):_0x304c2a,_0x16fdc6=_0x366758['length']-0x1,_0x56d887;_0x16fdc6>=0x0;_0x16fdc6--)(_0x56d887=_0x366758[_0x16fdc6])&&(_0x16cbeb=_0x56d887(_0x16cbeb)||_0x16cbeb);return _0x16cbeb;},_0x44bdf2=(_0xc635c6,_0x2fcf48)=>(_0x5a0b4b,_0x103f89)=>_0x2fcf48(_0x5a0b4b,_0x103f89,_0xc635c6);let _0x21b1af=class{constructor(_0x280d1c,_0x1a99b1){const _0x28c600=_0x4edbca;this[_0x28c600(0x311)]=_0x280d1c,this[_0x28c600(0x2ce)]=_0x1a99b1;}[_0x4edbca(0x18b)](_0x56d880){const _0x49e473=_0x4edbca;var _0x2721ee;const _0x6b52c6=this[_0x49e473(0x311)][_0x49e473(0x176)](_0xc536cc['DocSelectionManagerService']),_0xd1a549=(_0x2721ee=_0x6b52c6[_0x49e473(0x356)]())!=null?_0x2721ee:[];if(_0xd1a549[_0x49e473(0x35f)]===0x0)return;const _0x26530c=_0x56d880[_0x49e473(0x330)],_0xa39b04=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26530c,'actions':null,'textRanges':_0xd1a549}}],_0x532d18=this[_0x49e473(0x2ce)][_0x49e473(0x30a)](_0x56d880,_0xa39b04);if(!_0x3c67a0['isTransformMutationsWithChangesetSuccess'](_0x532d18))throw _0x532d18['error'];const _0x3a9f67=_0x532d18[_0x49e473(0x1e8)][0x0][_0x49e473(0x1da)]['textRanges'];Array[_0x49e473(0x1f5)](_0x3a9f67)&&_0x3a9f67[_0x49e473(0x35f)]&&_0x6b52c6[_0x49e473(0x323)](_0x3a9f67,{'unitId':_0x26530c,'subUnitId':_0x26530c},!0x1);}};_0x21b1af=_0x27a4e5([_0x44bdf2(0x0,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x44bdf2(0x1,_0x3c67a0['ITransformService'])],_0x21b1af);var _0x19498b=Object[_0x4edbca(0x304)],_0x3d2eac=(_0x147a3f,_0x1e90e1,_0x275915,_0x4a9b31)=>{const _0x154199=_0x4edbca;for(var _0x1c1023=_0x4a9b31>0x1?void 0x0:_0x4a9b31?_0x19498b(_0x1e90e1,_0x275915):_0x1e90e1,_0x23d8e1=_0x147a3f[_0x154199(0x35f)]-0x1,_0x18c020;_0x23d8e1>=0x0;_0x23d8e1--)(_0x18c020=_0x147a3f[_0x23d8e1])&&(_0x1c1023=_0x18c020(_0x1c1023)||_0x1c1023);return _0x1c1023;},_0x290cc4=(_0x89be4f,_0x7bdb6f)=>(_0x598ae6,_0x58767e)=>_0x7bdb6f(_0x598ae6,_0x58767e,_0x89be4f);let _0xad1c3b=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x26e46d,_0x377cb2,_0x27f4a5,_0xb02399,_0x1fc793,_0x5a9b7e,_0x118c45,_0x51322d){const _0x1ac750=_0x4edbca;super(),_0x45f8a5(this,'_status$',new _0xde1ef0[(_0x1ac750(0x2f7))](_0x3df360[_0x1ac750(0x390)][_0x1ac750(0x321)])),(this['_docStateChangeManagerService']=_0x26e46d,this[_0x1ac750(0x1e3)]=_0x377cb2,this[_0x1ac750(0x207)]=_0x27f4a5,this['_docTransformStateCacheService']=_0xb02399,this[_0x1ac750(0x21c)]=_0x1fc793,this['_docSyncEditingCollabCursorService']=_0x5a9b7e,this[_0x1ac750(0x1af)]=_0x118c45,this['_localeService']=_0x51322d,this[_0x1ac750(0x2a9)]());}[_0x4edbca(0x2a9)](){const _0x129431=_0x4edbca;this['disposeWithMe'](this[_0x129431(0x1e3)][_0x129431(0x15f)][_0x129431(0x367)](_0x313a4c=>{const _0x5cbaf2=_0x129431,_0x103de2=this[_0x5cbaf2(0x206)][_0x5cbaf2(0x256)][_0x5cbaf2(0x367)](_0x48f65e=>{const _0x3ededa=_0x5cbaf2;if(_0x48f65e==null)return;const {unitId:_0x4ea50f,redoState:_0x1f67de,commandId:_0x19c84d}=_0x48f65e;if(_0x4ea50f!==_0x313a4c[_0x3ededa(0x330)])return;const _0x4e9cab={'id':_0x19c84d,'type':_0xffd2a8[_0x3ededa(0x24d)][_0x3ededa(0x29e)],'params':{'unitId':_0x4ea50f,'actions':_0x1f67de['actions'],'textRanges':null}};_0x313a4c[_0x3ededa(0x3ad)](_0x4e9cab);});if(_0x313a4c[_0x5cbaf2(0x3b0)](_0x103de2),_0x313a4c instanceof _0x3df360[_0x5cbaf2(0x28a)]){const _0x232ec8={'onTransformIME':_0x5082f5=>this[_0x5cbaf2(0x207)]['transformIMECache'](_0x5082f5),'onTransformState':_0x3ec258=>this[_0x5cbaf2(0x363)][_0x5cbaf2(0x299)](_0x3ec258),'onTransformSelections':_0x2c4909=>this[_0x5cbaf2(0x21c)]['transformSelections'](_0x2c4909),'onSyncEditingCollabCursor':_0x4db0f5=>this['_docSyncEditingCollabCursorService'][_0x5cbaf2(0x1c1)](_0x4db0f5),'onTransformRemoteChangesetByIMECache':_0x4f8704=>this[_0x5cbaf2(0x207)]['transformRemoteChangeset'](_0x4f8704),'onTransformRemoteChangesetByStateCache':_0x7f735e=>this['_docTransformStateCacheService'][_0x5cbaf2(0x31f)](_0x7f735e)};_0x313a4c[_0x5cbaf2(0x33a)](_0x232ec8);}}));}};_0xad1c3b=_0x3d2eac([_0x290cc4(0x0,_0xffd2a8[_0x4edbca(0x220)](_0x2992e3[_0x4edbca(0x218)])),_0x290cc4(0x1,_0xffd2a8[_0x4edbca(0x220)](_0x3df360[_0x4edbca(0x203)])),_0x290cc4(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x5b135f)),_0x290cc4(0x3,_0xffd2a8[_0x4edbca(0x220)](_0x5b4c45)),_0x290cc4(0x4,_0xffd2a8[_0x4edbca(0x220)](_0x21b1af)),_0x290cc4(0x5,_0xffd2a8['Inject'](_0x1f70dd)),_0x290cc4(0x6,_0xd238db[_0x4edbca(0x33f)]),_0x290cc4(0x7,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x219)]))],_0xad1c3b);var _0x26df1b=Object[_0x4edbca(0x304)],_0x59a16a=(_0x25c3aa,_0x537720,_0x448067,_0x2cd91e)=>{for(var _0x17492a=_0x2cd91e>0x1?void 0x0:_0x2cd91e?_0x26df1b(_0x537720,_0x448067):_0x537720,_0x1e285b=_0x25c3aa['length']-0x1,_0x20db16;_0x1e285b>=0x0;_0x1e285b--)(_0x20db16=_0x25c3aa[_0x1e285b])&&(_0x17492a=_0x20db16(_0x17492a)||_0x17492a);return _0x17492a;},_0x349437=(_0x345f68,_0x3257d2)=>(_0x1b9f6e,_0xd588d8)=>_0x3257d2(_0x1b9f6e,_0xd588d8,_0x345f68);let _0x1d41b3=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x5bd1da,_0x1393d4,_0x43a438){const _0x3b3b85=_0x4edbca;super(),_0x45f8a5(this,_0x3b3b85(0x184),new Map()),_0x45f8a5(this,_0x3b3b85(0x1b3),new Map()),_0x45f8a5(this,_0x3b3b85(0x3ed),!0x1),(this[_0x3b3b85(0x365)]=_0x5bd1da,this[_0x3b3b85(0x3d4)]=_0x1393d4,this[_0x3b3b85(0x28e)]=_0x43a438);}[_0x4edbca(0x177)](){const _0x2e13f0=_0x4edbca;this[_0x2e13f0(0x3ed)]=!0x0;}[_0x4edbca(0x1bb)](){const _0x3a4db9=_0x4edbca;this[_0x3a4db9(0x3ed)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x308564=_0x4edbca;this[_0x308564(0x294)]()[_0x308564(0x1fa)](()=>super[_0x308564(0x27a)]());}async['loadOfflineData'](_0x2d82f7){const _0x47f2ac=_0x4edbca;return this[_0x47f2ac(0x3ed)]?null:this[_0x47f2ac(0x3d4)][_0x47f2ac(0x1e0)](_0x3df360['getLocalCacheKey'](_0x2d82f7));}async['saveOfflineData'](_0x162980,_0x23ac46){const _0x3186ae=_0x4edbca;return!!this[_0x3186ae(0x3d4)][_0x3186ae(0x2f0)](_0x162980,_0x23ac46);}['updateOfflineData'](_0x3b99c9,_0xe700f9,_0x1d3dd3,_0x45375c){const _0x5dae57=_0x4edbca,_0x16b55a=this[_0x5dae57(0x28e)]['getCurrentRevOfUnit'](_0x3b99c9);this['_cachedData'][_0x5dae57(0x23f)](_0x3b99c9,{'unitID':_0x3b99c9,'type':_0xe700f9,'awaitingChangeset':_0x1d3dd3,'mutations':_0x45375c,'rev':_0x16b55a}),this[_0x5dae57(0x1b3)][_0x5dae57(0x313)](_0x3b99c9)||this[_0x5dae57(0x1d6)](_0x3b99c9);}[_0x4edbca(0x1d6)](_0x231ece){const _0x41d2a4=_0x4edbca,_0x39e608=this[_0x41d2a4(0x25e)]();_0x39e608===0x0?this[_0x41d2a4(0x28b)](_0x231ece):this[_0x41d2a4(0x1b3)][_0x41d2a4(0x23f)](_0x231ece,setTimeout(()=>this[_0x41d2a4(0x28b)](_0x231ece),_0x39e608));}[_0x4edbca(0x25e)](){const _0x385252=_0x4edbca;var _0x2335ff;return(_0x2335ff=this[_0x385252(0x365)]['getConfig'](_0x3df360['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2335ff:_0x3df360[_0x385252(0x196)];}[_0x4edbca(0x28b)](_0x36ab3d){const _0x25ae52=_0x4edbca,_0x4fb116=this[_0x25ae52(0x1b3)][_0x25ae52(0x176)](_0x36ab3d);return _0x4fb116!==void 0x0&&window['clearTimeout'](_0x4fb116),this['_localStorageService'][_0x25ae52(0x2f0)](_0x3df360['getLocalCacheKey'](_0x36ab3d),this[_0x25ae52(0x184)][_0x25ae52(0x176)](_0x36ab3d))[_0x25ae52(0x1fa)](()=>this[_0x25ae52(0x1b3)][_0x25ae52(0x326)](_0x36ab3d));}async[_0x4edbca(0x294)](){const _0x4b5f42=_0x4edbca,_0x147b59=[];this[_0x4b5f42(0x1b3)]['forEach']((_0x169d43,_0x487c3c)=>{const _0x5b3e6c=_0x4b5f42;window[_0x5b3e6c(0x1f7)](_0x169d43),_0x147b59[_0x5b3e6c(0x26c)](this['_saveCache'](_0x487c3c)[_0x5b3e6c(0x1fa)](()=>{const _0x587ad7=_0x5b3e6c;this[_0x587ad7(0x1b3)]['delete'](_0x487c3c);}));}),await Promise['all'](_0x147b59);}};_0x1d41b3=_0x59a16a([_0x349437(0x0,_0xffd2a8[_0x4edbca(0x175)]),_0x349437(0x1,_0xffd2a8['ILocalStorageService']),_0x349437(0x2,_0xffd2a8[_0x4edbca(0x220)](_0x3c67a0['RevisionService']))],_0x1d41b3);class _0x4b607b extends _0xffd2a8[_0x4edbca(0x393)]{constructor(){const _0xde0ebf=_0x4edbca;super(),_0x45f8a5(this,'urlChange$'),this[_0xde0ebf(0x1be)]=_0xde1ef0[_0xde0ebf(0x19a)](window,_0xde0ebf(0x24b))[_0xde0ebf(0x1e6)](_0xde1ef0[_0xde0ebf(0x3b6)](this[_0xde0ebf(0x2c0)]),_0xde1ef0[_0xde0ebf(0x1f8)](0x1),_0xde1ef0['mapTo'](void 0x0));}[_0x4edbca(0x214)](_0x159292,_0x23729d,_0x1ecbbc=!0x1){const _0x207025=_0x4edbca,_0x3fc64f=new URL(window[_0x207025(0x1dd)][_0x207025(0x188)]);_0x3fc64f[_0x207025(0x213)][_0x207025(0x23f)](_0x159292,_0x23729d),_0x1ecbbc?window[_0x207025(0x319)]['replaceState']('','',_0x3fc64f[_0x207025(0x360)]()):window['history'][_0x207025(0x3dc)]('','',_0x3fc64f['toString']());}['removeParam'](_0x1b189e,_0x5348b4=!0x1){const _0x8c16de=_0x4edbca,_0x9a8181=new URL(window[_0x8c16de(0x1dd)][_0x8c16de(0x188)]);_0x9a8181[_0x8c16de(0x213)][_0x8c16de(0x326)](_0x1b189e),_0x5348b4?window[_0x8c16de(0x319)]['replaceState']('','',_0x9a8181['toString']()):window[_0x8c16de(0x319)][_0x8c16de(0x3dc)]('','',_0x9a8181[_0x8c16de(0x360)]());}[_0x4edbca(0x253)](_0x1294c4){const _0x3e033b=_0x4edbca;var _0x2aaab5;return(_0x2aaab5=new URL(window[_0x3e033b(0x1dd)]['href'])[_0x3e033b(0x213)][_0x3e033b(0x176)](_0x1294c4))!=null?_0x2aaab5:void 0x0;}}var _0x51e102=Object[_0x4edbca(0x366)],_0x35b366=Object['getOwnPropertyDescriptor'],_0x341481=(_0x39a746,_0x46480b,_0x139714)=>_0x46480b in _0x39a746?_0x51e102(_0x39a746,_0x46480b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x139714}):_0x39a746[_0x46480b]=_0x139714,_0x44ed60=(_0xbb6c2a,_0x5ee4db,_0xb28f23,_0x1b13b6)=>{for(var _0x862ccd=_0x1b13b6>0x1?void 0x0:_0x1b13b6?_0x35b366(_0x5ee4db,_0xb28f23):_0x5ee4db,_0x20cdbe=_0xbb6c2a['length']-0x1,_0x3f37e2;_0x20cdbe>=0x0;_0x20cdbe--)(_0x3f37e2=_0xbb6c2a[_0x20cdbe])&&(_0x862ccd=_0x3f37e2(_0x862ccd)||_0x862ccd);return _0x862ccd;},_0x316bf2=(_0x29e69c,_0x22997d)=>(_0x55b313,_0x45417f)=>_0x22997d(_0x55b313,_0x45417f,_0x29e69c),_0x59eafe=(_0x2463db,_0x2b084e,_0x4d8d6a)=>_0x341481(_0x2463db,_0x2b084e+'',_0x4d8d6a);const _0x3ce356=_0x4edbca(0x2ea);_0x2b5cdb[_0x4edbca(0x3ce)]=class extends _0xffd2a8[_0x4edbca(0x392)]{constructor(_0x4afa64=_0x37cb15,_0x270b0e,_0x35b8c9,_0x589585){const _0x2d00b6=_0x4edbca;super(),this[_0x2d00b6(0x2b7)]=_0x4afa64,this[_0x2d00b6(0x208)]=_0x270b0e,this[_0x2d00b6(0x311)]=_0x35b8c9,this[_0x2d00b6(0x365)]=_0x589585;const {..._0x52b02f}=_0xffd2a8[_0x2d00b6(0x362)]({},_0x37cb15,this[_0x2d00b6(0x2b7)]);this['_configService']['setConfig'](_0x284e01,_0x52b02f);}[_0x4edbca(0x1c6)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x4edbca(0x1c0)](){const _0x478baf=_0x4edbca;this[_0x478baf(0x3a0)]();}[_0x4edbca(0x3db)](){const _0x552565=_0x4edbca;var _0x15a31e;const _0x1a5aee=[[_0x487110],[_0x21b1af],[_0x5b135f],[_0x5b4c45],[_0x1f70dd],[_0x6a624b,{'useClass':_0x4b607b}],[_0x5bf310[_0x552565(0x3e3)],{'useClass':_0x5bf310['WebSocketService']}],[_0x3df360[_0x552565(0x19e)],{'useClass':_0x1d41b3}],[_0x2b5cdb['DesktopCollaborationStatusDisplayController']],[_0xad1c3b],[_0x3f3ac1],[_0x543db2],[_0x12a509],[_0x2b5cdb[_0x552565(0x3a8)]]];_0xffd2a8['registerDependencies'](this[_0x552565(0x311)],_0xffd2a8[_0x552565(0x318)](_0x1a5aee,(_0x15a31e=this['_config'])==null?void 0x0:_0x15a31e['override']));}[_0x4edbca(0x3a0)](){const _0x25df48=_0x4edbca;this[_0x25df48(0x3b0)](this[_0x25df48(0x208)][_0x25df48(0x27c)](_0xffd2a8['UniverInstanceType'][_0x25df48(0x38a)],[_0x447168])),this['disposeWithMe'](this['_renderManagerService'][_0x25df48(0x27c)](_0xffd2a8[_0x25df48(0x3a3)]['UNIVER_SHEET'],[_0xd9a110]));}[_0x4edbca(0x3df)](){const _0x3ab595=_0x4edbca;_0xffd2a8['touchDependencies'](this[_0x3ab595(0x311)],[[_0x543db2],[_0x2b5cdb[_0x3ab595(0x2fb)]],[_0xad1c3b],[_0x3f3ac1],[_0x2b5cdb[_0x3ab595(0x3a8)]]]);}},_0x59eafe(_0x2b5cdb[_0x4edbca(0x3ce)],'pluginName',_0x3ce356),_0x2b5cdb[_0x4edbca(0x3ce)]=_0x44ed60([_0xffd2a8[_0x4edbca(0x3b1)](_0x3df360[_0x4edbca(0x3e2)]),_0x316bf2(0x1,_0x365d9c['IRenderManagerService']),_0x316bf2(0x2,_0xffd2a8[_0x4edbca(0x220)](_0xffd2a8[_0x4edbca(0x2f1)])),_0x316bf2(0x3,_0xffd2a8[_0x4edbca(0x175)])],_0x2b5cdb[_0x4edbca(0x3ce)]);var _0x31d2f1=Object['getOwnPropertyDescriptor'],_0x5a4569=(_0x1a23f9,_0x505464,_0xd529dc,_0x1dce00)=>{const _0x230fa7=_0x4edbca;for(var _0x30b9c0=_0x1dce00>0x1?void 0x0:_0x1dce00?_0x31d2f1(_0x505464,_0xd529dc):_0x505464,_0x469e65=_0x1a23f9[_0x230fa7(0x35f)]-0x1,_0x5e73f7;_0x469e65>=0x0;_0x469e65--)(_0x5e73f7=_0x1a23f9[_0x469e65])&&(_0x30b9c0=_0x5e73f7(_0x30b9c0)||_0x30b9c0);return _0x30b9c0;},_0x42c09d=(_0x4ae771,_0x80e4aa)=>(_0x1ab900,_0x3b5abf)=>_0x80e4aa(_0x1ab900,_0x3b5abf,_0x4ae771);_0x2b5cdb['BrowserCollaborationSocketService']=class extends _0x3df360[_0x4edbca(0x30e)]{constructor(_0x32b6a1,_0x18af0d,_0x7f6099,_0x5515dd,_0x357772){super(_0x32b6a1,_0x18af0d,_0x7f6099,_0x5515dd,_0x357772);}async['createSocket'](_0x5eb016){const _0x3bc6a9=_0x4edbca,_0x24aa20=await this[_0x3bc6a9(0x2c8)](),_0x2aa915=this[_0x3bc6a9(0x2b3)](_0x5eb016,_0x24aa20);return this[_0x3bc6a9(0x2ad)](_0x2aa915);}[_0x4edbca(0x2b3)](_0x3f5318,_0xd34181){const _0x3123df=_0x4edbca,_0x3d6580=typeof window>'u'?new URL(_0x3f5318):new URL(_0x3f5318,window[_0x3123df(0x1dd)][_0x3123df(0x307)]);_0x3d6580[_0x3123df(0x213)][_0x3123df(0x23f)](_0x3123df(0x282),_0xd34181);const _0x3feed2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3123df(0x1dd)][_0x3123df(0x234)]);return _0x3feed2['get'](_0x3123df(0x36f))&&_0x3d6580[_0x3123df(0x213)][_0x3123df(0x23f)](_0x3123df(0x36f),_0x3feed2[_0x3123df(0x176)]('runId')),_0x3d6580[_0x3123df(0x360)]();}async[_0x4edbca(0x2c8)](){const _0x5e0972=_0x4edbca;var _0x95ca1c,_0x2f2b43,_0x36db7b;const _0x1492d5=this['_configService']['getConfig'](_0x3df360['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x278303=(_0x95ca1c=_0x1492d5==null?void 0x0:_0x1492d5[_0x5e0972(0x2f9)])!=null?_0x95ca1c:_0x3df360[_0x5e0972(0x254)];return(_0x36db7b=(_0x2f2b43=(await this[_0x5e0972(0x292)][_0x5e0972(0x176)](_0x278303,{'headers':{'Content-Type':_0x5e0972(0x241)}}))[_0x5e0972(0x3af)])==null?void 0x0:_0x2f2b43[_0x5e0972(0x169)])!=null?_0x36db7b:'';}},_0x2b5cdb['BrowserCollaborationSocketService']=_0x5a4569([_0x42c09d(0x0,_0xffd2a8['Inject'](_0xffd2a8['Injector'])),_0x42c09d(0x1,_0xffd2a8[_0x4edbca(0x220)](_0x5bf310[_0x4edbca(0x3a4)])),_0x42c09d(0x2,_0xffd2a8['IConfigService']),_0x42c09d(0x3,_0xffd2a8[_0x4edbca(0x338)]),_0x42c09d(0x4,_0x3c67a0[_0x4edbca(0x349)])],_0x2b5cdb[_0x4edbca(0x335)]);const _0x4cc473=0x7530,_0x4377ca=_0x4edbca(0x1bc);class _0x1799ed extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(){const _0x228705=_0x4edbca;super(),_0x45f8a5(this,_0x228705(0x25d),_0xffd2a8[_0x228705(0x34f)]()),_0x45f8a5(this,'_selfUnitIDs',new Set()),_0x45f8a5(this,'_unitOnClients',new Map()),_0x45f8a5(this,_0x228705(0x2ab),null),_0x45f8a5(this,_0x228705(0x285),new Map()),_0x45f8a5(this,_0x228705(0x2d1),new Map()),this['_init']();}['dispose'](){const _0x2b3797=_0x4edbca;super['dispose'](),this['_clearOtherTimers'][_0x2b3797(0x24c)]((_0x5f439f,_0x23e2ef)=>this[_0x2b3797(0x3b9)](_0x23e2ef)),this[_0x2b3797(0x2ab)]&&window[_0x2b3797(0x18c)](this[_0x2b3797(0x2ab)]);}[_0x4edbca(0x3c8)](_0x99aa){const _0x5834bc=_0x4edbca;return this['_ensureSubject'](_0x99aa)[_0x5834bc(0x1e6)](_0xde1ef0[_0x5834bc(0x280)]());}['editingUnit'](_0x514f13){const _0x3a1796=_0x4edbca;this[_0x3a1796(0x18d)][_0x3a1796(0x22a)]===0x0&&this[_0x3a1796(0x30f)](),this[_0x3a1796(0x18d)]['add'](_0x514f13),this[_0x3a1796(0x310)]({'type':0x0,'memberID':this[_0x3a1796(0x25d)],'unitIDs':[_0x514f13],'isForwarded':!0x1});}[_0x4edbca(0x387)](_0x1ec67f){const _0x3c9fe1=_0x4edbca;this[_0x3c9fe1(0x18d)][_0x3c9fe1(0x326)](_0x1ec67f),this[_0x3c9fe1(0x18d)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x3c9fe1(0x18c)](this['_heartbeatTimer']);}[_0x4edbca(0x3a5)](){const _0x7c686a=_0x4edbca;this[_0x7c686a(0x3b0)](_0xffd2a8[_0x7c686a(0x19b)](_0xde1ef0['fromEvent'](window,'storage')['subscribe'](_0x246dc2=>{const _0x6e9d79=_0x7c686a;if(_0x246dc2[_0x6e9d79(0x15c)]!==_0x4377ca||!_0x246dc2[_0x6e9d79(0x32d)])return;const _0x124edb=JSON[_0x6e9d79(0x3e0)](_0x246dc2['newValue']);this[_0x6e9d79(0x1de)](_0x124edb);}))),window[_0x7c686a(0x205)]('unload',()=>this[_0x7c686a(0x310)]({'type':0x1,'memberID':this[_0x7c686a(0x25d)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x4edbca(0x1de)](_0x1d8c8b){const _0x459910=_0x4edbca;switch(_0x1d8c8b[_0x459910(0x238)]){case 0x0:this['_handleJoinEvent'](_0x1d8c8b);break;case 0x1:this['_handleLeaveEvent'](_0x1d8c8b);break;case 0x2:this[_0x459910(0x168)](_0x1d8c8b);break;}}[_0x4edbca(0x336)](_0x5a95fe){const _0x168d2f=_0x4edbca,{unitIDs:_0x5ee3c4,memberID:_0x1ffd17,isForwarded:_0x520cbe}=_0x5a95fe;_0x5ee3c4[_0x168d2f(0x24c)](_0x5ac078=>{const _0x2e2b59=_0x168d2f;if(!_0x520cbe&&this[_0x2e2b59(0x269)][_0x2e2b59(0x313)](_0x5ac078)&&this[_0x2e2b59(0x297)](_0x5ac078)[_0x2e2b59(0x31b)](_0x3df360[_0x2e2b59(0x2dc)][_0x2e2b59(0x1a6)]),!this['_unitOnClients'][_0x2e2b59(0x313)](_0x5ac078)||!this['_unitOnClients'][_0x2e2b59(0x176)](_0x5ac078)[_0x2e2b59(0x313)](_0x1ffd17)){const _0x34d0c=this[_0x2e2b59(0x269)][_0x2e2b59(0x176)](_0x5ac078)||new Set();_0x34d0c[_0x2e2b59(0x1d9)](_0x1ffd17),this[_0x2e2b59(0x269)][_0x2e2b59(0x23f)](_0x5ac078,_0x34d0c),this['_scheduleClearOtherTimer'](_0x1ffd17);}}),_0x520cbe||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4edbca(0x34a)](_0x42f966){const _0x49e8a1=_0x4edbca;this['_removeClearOtherTimer'](_0x42f966);const _0x3043a2=window[_0x49e8a1(0x308)](()=>{const _0x3b16f5=_0x49e8a1;this[_0x3b16f5(0x269)]['forEach'](_0x21dd1e=>{_0x21dd1e['delete'](_0x42f966);});},_0x4cc473*0x2);this[_0x49e8a1(0x285)][_0x49e8a1(0x23f)](_0x42f966,_0x3043a2);}['_removeClearOtherTimer'](_0x4bd213){const _0x3cdcd3=_0x4edbca;if(this[_0x3cdcd3(0x285)][_0x3cdcd3(0x313)](_0x4bd213)){const _0xe16aa4=this[_0x3cdcd3(0x285)]['get'](_0x4bd213);_0xe16aa4&&window[_0x3cdcd3(0x1f7)](_0xe16aa4),this['_clearOtherTimers'][_0x3cdcd3(0x23f)](_0x4bd213,null);}}[_0x4edbca(0x2d2)](_0xc828f6){const _0x54477d=_0x4edbca,{memberID:_0x50e2f7,unitIDs:_0x44ac6a}=_0xc828f6;_0x44ac6a[_0x54477d(0x24c)](_0xd1c1de=>{const _0x47422b=_0x54477d;var _0xacfa54;const _0x1071b2=this[_0x47422b(0x269)]['get'](_0xd1c1de);_0x1071b2&&(_0x1071b2[_0x47422b(0x326)](_0x50e2f7),(_0xacfa54=this['_ensureSubject'](_0xd1c1de))==null||_0xacfa54['next'](_0x1071b2['size']===0x0?_0x3df360[_0x47422b(0x2dc)][_0x47422b(0x267)]:_0x3df360[_0x47422b(0x2dc)][_0x47422b(0x1a6)]));}),this[_0x54477d(0x3b9)](_0x50e2f7);}['_handleHeartbeatEvent'](_0x18b218){const _0x5df0bc=_0x4edbca;this[_0x5df0bc(0x34a)](_0x18b218[_0x5df0bc(0x350)]);}['_send'](_0x35a0d4){const _0x1fd18d=_0x4edbca;localStorage[_0x1fd18d(0x2f0)](_0x4377ca,JSON[_0x1fd18d(0x1dc)](_0x35a0d4));}[_0x4edbca(0x30f)](){const _0x3331ae=_0x4edbca;this[_0x3331ae(0x2ab)]=window[_0x3331ae(0x1d8)](()=>{const _0x15333b=_0x3331ae;this[_0x15333b(0x310)]({'type':0x2,'memberID':this[_0x15333b(0x25d)]});},_0x4cc473);}['_ensureSubject'](_0x3757b3){const _0x29fbee=_0x4edbca;return this[_0x29fbee(0x2d1)]['has'](_0x3757b3)||this[_0x29fbee(0x2d1)]['set'](_0x3757b3,new _0xde1ef0['BehaviorSubject'](_0x3df360[_0x29fbee(0x2dc)][_0x29fbee(0x267)])),this[_0x29fbee(0x2d1)][_0x29fbee(0x176)](_0x3757b3);}}var _0x50201e=(_0x216259=>(_0x216259[_0x216259[_0x4edbca(0x189)]=0x0]='UNDEFINED',_0x216259[_0x216259['OK']=0x1]='OK',_0x216259[_0x216259[_0x4edbca(0x372)]=0x2]=_0x4edbca(0x372),_0x216259[_0x216259[_0x4edbca(0x37f)]=0x3]=_0x4edbca(0x37f),_0x216259[_0x216259[_0x4edbca(0x2e1)]=0x4]=_0x4edbca(0x2e1),_0x216259[_0x216259[_0x4edbca(0x1f6)]=0x5]=_0x4edbca(0x1f6),_0x216259[_0x216259[_0x4edbca(0x315)]=0x6]=_0x4edbca(0x315),_0x216259[_0x216259[_0x4edbca(0x2e8)]=0x7]=_0x4edbca(0x2e8),_0x216259[_0x216259[_0x4edbca(0x17b)]=0x8]='TOO_MANY_REQUESTS',_0x216259[_0x216259[_0x4edbca(0x171)]=0x9]=_0x4edbca(0x171),_0x216259[_0x216259[_0x4edbca(0x1f1)]=0xa]=_0x4edbca(0x1f1),_0x216259[_0x216259['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4edbca(0x186),_0x216259[_0x216259['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4edbca(0x29b),_0x216259[_0x216259[_0x4edbca(0x3f6)]=0xd]=_0x4edbca(0x3f6),_0x216259[_0x216259['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4edbca(0x197),_0x216259[_0x216259['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4edbca(0x35a),_0x216259[_0x216259['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4edbca(0x249),_0x216259[_0x216259['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x216259[_0x216259[_0x4edbca(0x178)]=0x1773]=_0x4edbca(0x178),_0x216259[_0x216259[_0x4edbca(0x3bf)]=0x1b59]=_0x4edbca(0x3bf),_0x216259[_0x216259[_0x4edbca(0x36b)]=0x1b5a]=_0x4edbca(0x36b),_0x216259[_0x216259[_0x4edbca(0x2d5)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x216259[_0x216259[_0x4edbca(0x1ed)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x216259[_0x216259[_0x4edbca(0x3e4)]=0x1b5d]=_0x4edbca(0x3e4),_0x216259[_0x216259['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4edbca(0x24a),_0x216259[_0x216259[_0x4edbca(0x230)]=0x2329]=_0x4edbca(0x230),_0x216259[_0x216259[_0x4edbca(0x228)]=0x232a]=_0x4edbca(0x228),_0x216259[_0x216259[_0x4edbca(0x27f)]=0x232b]=_0x4edbca(0x27f),_0x216259[_0x216259['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4edbca(0x160),_0x216259[_0x216259[_0x4edbca(0x272)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x216259[_0x216259[_0x4edbca(0x383)]=0x2711]=_0x4edbca(0x383),_0x216259[_0x216259[_0x4edbca(0x222)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x216259[_0x216259['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4edbca(0x2af),_0x216259[_0x216259[_0x4edbca(0x2a3)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x216259[_0x216259[_0x4edbca(0x38f)]=0x271a]=_0x4edbca(0x38f),_0x216259[_0x216259[_0x4edbca(0x2dd)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x216259[_0x216259[_0x4edbca(0x26a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x216259[_0x216259[_0x4edbca(0x1d7)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x216259[_0x216259[_0x4edbca(0x3a9)]=0x271e]=_0x4edbca(0x3a9),_0x216259[_0x216259[_0x4edbca(0x1fd)]=0x271f]=_0x4edbca(0x1fd),_0x216259[_0x216259[_0x4edbca(0x35e)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x216259[_0x216259[_0x4edbca(0x35d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x216259[_0x216259[_0x4edbca(0x3e5)]=0x2ee1]=_0x4edbca(0x3e5),_0x216259[_0x216259[_0x4edbca(0x373)]=0x2ee2]=_0x4edbca(0x373),_0x216259[_0x216259['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4edbca(0x182),_0x216259[_0x216259[_0x4edbca(0x263)]=0x2ee4]=_0x4edbca(0x263),_0x216259[_0x216259[_0x4edbca(0x309)]=0x2ee5]=_0x4edbca(0x309),_0x216259[_0x216259['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4edbca(0x217),_0x216259[_0x216259['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4edbca(0x248),_0x216259[_0x216259[_0x4edbca(0x2ae)]=0x32cb]=_0x4edbca(0x2ae),_0x216259[_0x216259['UNRECOGNIZED']=-0x1]=_0x4edbca(0x39a),_0x216259))(_0x50201e||{}),_0xd47c14=Object[_0x4edbca(0x304)],_0x111d2d=(_0x56157e,_0xb1da66,_0x445ae7,_0xaaeed7)=>{for(var _0xca98ec=_0xaaeed7>0x1?void 0x0:_0xaaeed7?_0xd47c14(_0xb1da66,_0x445ae7):_0xb1da66,_0x1befe9=_0x56157e['length']-0x1,_0x309886;_0x1befe9>=0x0;_0x1befe9--)(_0x309886=_0x56157e[_0x1befe9])&&(_0xca98ec=_0x309886(_0xca98ec)||_0xca98ec);return _0xca98ec;},_0x4e08d4=(_0x38445b,_0x5ae222)=>(_0x20724b,_0x35358c)=>_0x5ae222(_0x20724b,_0x35358c,_0x38445b);_0x2b5cdb[_0x4edbca(0x187)]=class extends _0xffd2a8[_0x4edbca(0x2cd)]{constructor(_0x13e2a4,_0x43e3fd,_0x2aeda8){const _0x54f952=_0x4edbca;super(),this[_0x54f952(0x1ec)]=_0x13e2a4,this['_httpService']=_0x43e3fd,this[_0x54f952(0x365)]=_0x2aeda8;}async['runOnServer'](_0x19822a,_0x3b9e11,_0xb2092c,..._0x4d7262){const _0x5d67e0=_0x4edbca;var _0x46a9c4,_0x3b870e,_0x31b82b,_0x97ab36;const _0x415000=this['_instanceService']['getFocusedUnit']();if(!_0x415000)throw new Error(_0x5d67e0(0x18a));const _0x200035=((_0x46a9c4=this[_0x5d67e0(0x365)][_0x5d67e0(0x2a7)](_0x3df360['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x46a9c4:_0x3df360['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x19822a+_0x5d67e0(0x295)+_0x3b9e11,_0x2fcb30=new URL(window['location']['href']),_0x2ee6ed={'scriptId':_0x19822a,'runId':(_0x3b870e=_0x2fcb30[_0x5d67e0(0x213)][_0x5d67e0(0x176)]('runId'))!=null?_0x3b870e:'','function':_0x3b9e11,'unitId':_0x415000[_0x5d67e0(0x386)](),'argsOfFunction':JSON[_0x5d67e0(0x1dc)](_0x4d7262),'invokeId':(_0x31b82b=_0xb2092c[_0x5d67e0(0x239)])!=null?_0x31b82b:'','executionId':(_0x97ab36=_0xb2092c[_0x5d67e0(0x3ee)])!=null?_0x97ab36:''};try{const _0x306656=await this[_0x5d67e0(0x292)]['post'](_0x200035,{'body':_0x2ee6ed});return _0x306656[_0x5d67e0(0x3af)][_0x5d67e0(0x289)]&&_0x306656[_0x5d67e0(0x3af)][_0x5d67e0(0x289)]['code']!==_0x50201e['OK']?_0x5d67e0(0x28f):_0x306656[_0x5d67e0(0x3af)][_0x5d67e0(0x27e)];}catch{return'Failed';}}},_0x2b5cdb[_0x4edbca(0x187)]=_0x111d2d([_0x4e08d4(0x0,_0xffd2a8[_0x4edbca(0x2e2)]),_0x4e08d4(0x1,_0xffd2a8[_0x4edbca(0x220)](_0x5bf310[_0x4edbca(0x3a4)])),_0x4e08d4(0x2,_0xffd2a8[_0x4edbca(0x175)])],_0x2b5cdb[_0x4edbca(0x187)]),_0x2b5cdb[_0x4edbca(0x1ac)]=_0x16c981,_0x2b5cdb[_0x4edbca(0x236)]=_0x6a624b,_0x2b5cdb[_0x4edbca(0x24f)]=_0x5370c7,_0x2b5cdb[_0x4edbca(0x3e7)]=_0x1799ed,_0x2b5cdb['WebURLService']=_0x4b607b,Object['defineProperty'](_0x2b5cdb,Symbol['toStringTag'],{'value':_0x4edbca(0x34b)});}));function _0xe1ef(){const _0x4124db=['attrs','delete','@univerjs/sheets','InsertRangeMoveRightCommandId','imageSourceType','collabStatus.conflict','rgba(255,\x20255,\x20255,\x200.01)','row','newValue','getOffsetConfig','hide','unitID','unitId','max','_range','@univerjs/engine-render','BrowserCollaborationSocketService','_handleJoinEvent','Tooltip','ILogService','_lastPointer','addHandlerCallback','asObservable','collabCursorState$','assign','getCurrent','IMessageService','deserializeRangeWithSheet','symbol','textRanges','fill','_initStatusListener','height','Workbook','AWAITING_WITH_PENDING','selection','ISnapshotServerService','_scheduleClearOtherTimer','Module','loadUnit','HEADER_MENU','hovered','generateRandomId','memberID','assignAColorForMemberID','_initEvent','toRgbString','path','OFFLINE','getDocRanges','COLORS','TRANSFORM_CHANGE_OBSERVABLE_TYPE','call','CHANGESET_REVISION_CONFILICT','_draw','registerBeforeClose','PY_RUNTIME_SCRIPT_ERROR','YUUMI_CONNECTOR_URL_NOT_FOUND','length','toString','currentSkeleton$','merge','_docTransformStateCacheService','_updateCollabCursors','_configService','defineProperty','subscribe','UniverUi','show','290040KecqIo','APPLY_NON_SEQUENTIAL_REVISION','getUniverSheetInstance','getMemberID','_logService','runId','DeleteRangeMoveLeftCommandId','getSkeleton','INTERNAL_ERROR','INVALID_INVITE_CODE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCellPositionByOffset','data','getValue','selections','_collabSessionService','@univerjs-pro/collaboration','isActive','min','some','_cursorInfo$','PERMISSION_DENIED','getCoordByCell','map','Vector2','YUUMI_UNABLE_LOAD_URL','_collaborationUIEventService','function','getUnitId','disposeUnit','SOCKET_FAILED_RETRY','rxjs','UNIVER_DOC','_initCommandExecutedListener','UniverDocsUi','0\x200\x2017\x2016','debounce','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationStatus','_docSkeleton','Plugin','RxDisposable','collaboration-client-ui.config','black','currentTheme$','10664738UMzdGv','deepClone','@univerjs/sheets-ui','UNRECOGNIZED','ONLINE','width','SetWorksheetActivateCommand','subscribeEvent','13dGSALr','_registerRenderDependencies','_online','displayName','UniverInstanceType','HTTPService','_init','saveImage','UniverProCollaborationClient','CollaborationDataLoaderController','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_themeService','moveTo','column','onLocalMutation','[CollaborationDataLoaderController]','body','disposeWithMe','DependentOn','react','current','JOIN_ROOM_FAILED','OffLineIcon','takeUntil','subunit','_updateSubUnitFromURLParams','_removeClearOtherTimer','@univerjs/docs-ui','getCurrentUnitForType','event$','_docSkeletonManagerService','off-line-icon_clip0_910_343','APPLY_REJECT','beginPath','mask','colorChannel1','@univerjs/engine-formula','div','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','round','_memberService','getUnitStatus$','getActiveSheet','2439435krNthc','114ffOPqX','_anchor','_getAnchorBounding','UniverCollaborationClientUIPlugin','setAlpha','@univerjs/design','_removeCollabCursors','getUndoRedoMutationParamsCache','_hovered','_localStorageService','status$','runRefRangeMutations','FromArray','on-line-icon_clip0_910_349','CollaborationUIEventService','exports','_registerDependencies','pushState','MessageType','fillStyle','_initDependencies','parse','flatMap','UniverCollaborationClientPlugin','ISocketService','APPLY_DUPLICATED','INVITE_CODE_HAS_BEEN_UES','NodePositionConvertToRectRange','WebBrowserSingleActiveUnitService','VIEW_MAIN','getColorFromTheme','_handleHover','getAncestorScale','setStateCache','_disabled','executionId','Error','contains','getUnhiddenWorksheets','url(#on-line-icon_clip0_910_349)','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformUndoRedoStack','createElement','EMAIL_VERIFY_CODE_MISMATCH','restore','Optional','UniverDocs','debug','key','closePath','getColor','entityInit$','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers$','_colorIndex','cursorInfo$','hasOwnProperty','_setupSubUnitSync','url(#$1','tag','_handleHeartbeatEvent','ticket','AWAITING','SheetsSelectionsService','focused$','_startDocCollabCursor','roomMembers','sheetId','connectInjector','COMPLETION_FINISHED','complete','className','save','IConfigService','get','disableLocalCache','ENSURE_SNAPSHOT_EXECUTION','onMouseMove','_entityInit$','TOO_MANY_REQUESTS','handleInsertCol','isTransformMutationFailure','ITransformService','startsWith','uni.network.url-service','_hideTimer','INVITE_CODE_REQUIRED','http://www.w3.org/2000/svg','_cachedData','IUIPartsService','MOBILE_VERIFY_CODE_MISMATCH','RemoteUniscriptService','href','UNDEFINED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','transformSelections','clearInterval','_selfUnitIDs','INotificationService','UPDATE_CURSOR','SessionStatus','24qfuEYk','prototype','UNIVER_SHEET','Rectangle','source','LOCAL_CACHE_INTERVAL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRefRangeChange','getFocusedUnit','fromEvent','toDisposable','_transformHistoryAndStateStack','_localeService','ILocalCacheService','lineTo','useDependency','_onCursorDelete','_initResize','SOCKET_FAILED','Unknown\x20user','onPointerLeave$','OTHER_CLIENTS_EDITING','translate(.97)','backgroundColor','_onCursorUpdate','currentColor','m1Prime','CollaborationStatusDisplay','_beforeCloseService','TEXT','_messageService','defIds','makeDirty','_refRangeService','_saveTaskMap','filter','extend','_color','UniverDrawing','collab-text-anchor-','_shapes','object','enableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','createInstance','urlChange$','_render','onRendered','syncEditingCollabCursor','handleIRemoveCol','506zsRULz','_drawTextRange','RefRangeService','onStarting','transformByState','fillText','isEditing','purple.300','onCommandExecuted','undoState','CONFLICT','getCollabCursors$','handleInsertRow','findNodePositionByCharIndex','_updateURLWithCurrentState','CollaborationUIEventId','measureText','_cursors','_univerInstanceService','_scheduleSaving','YUUMI_ALL_TABLES_IS_INVALID','setInterval','add','params','RECT','stringify','location','_handleEvent','_collabCursorController','getItem','_textBubble','...','_collaborationController','InsertRangeMoveDownCommandId','getStateCache','pipe','_context','m2Prime','Tools','yellow.400','_getSheetObject','_instanceService','APPLY_PERMISSION_DENIED','replace','use','getRelativeToViewportCoord','LOGIN_FAILED','onPointerEnter$','_assignedColors','handleInsertRangeMoveDown','isArray','UNAUTHENTICATED','clearTimeout','shareReplay','color','then','onTransformChange$','DataLoaderService','YUUMI_AI_RUN_FAILED','doc.mutation.rich-text-editing','engine','onPointerMove$','executeCommand','collabStatus.synced','CollaborationController','M0\x200H16V16H0z','addEventListener','_docStateChangeManagerService','_docTransformIMECacheService','_renderManagerService','_docClipboardService','handleInsertRangeMoveRight','startRow','registerRefRange','xlink:href','DocSkeletonManagerService','_cursorShapes','white','send','split','searchParams','setParam','collaboration.single-unit.warning','univer-mr-2\x20univer-flex\x20univer-text-xl','WECHAT_HAS_BEEN_BOUND','DocStateChangeManagerService','LocaleService','text','unsubscribe','_docTransformSelectionsService','_dataLoaderService','none','getTypeOfUnitAdded$','Inject','ColorKit','YUUMI_URL_COL_OUT_OF_RANGE','_toggleOnline','_hover','session.connection-failed','permission.title','forwardRef','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','random','size','UniverCore','UniverProCollaborationClientUi','skeleton','DisposableCollection','_anchorDot','LICENSE_MAX_UNITS_EXCEEDED','saveTaskMap','fillRule','range','search','createIdentifier','IURLService','InsertColCommandId','type','invokeId','collabStatus.offline','IRemoteInstanceService','includes','rxjs/operators','_colorAssignService','set','registerComponent','application/json','CLOSE_ROOM','bottom','sheetID','defs','addClipboardHook','@univerjs/docs','MOBILE_HAS_BEEN_BOUND','SNAPSHOT_INVALID_SNAPSHOT','CONNECTOR_DATA_TOO_LARGE','popstate','forEach','CommandType','UniverSheets','SheetCollabCursorShape','blue.400','ThemeService','getRenderById','getParam','DEFAULT_WS_SESSION_TICKET_URL','UniverEngineRender','docStateChange$','handleDeleteRangeMoveLeft','univer-flex\x20univer-items-center','children','apply','444hXLoug','_eventUnsubscribe','_id','_getSaveTimeout','869479sEFfco','startColumn','getOwnPropertySymbols','_localCacheService','USER_NOT_INVITED_CODE','string','6CMbCtO','_updateLocalCursor','NO_OTHER_CLIENTS_EDITING','with','_unitOnClients','YUUMI_TABLE_NOT_FOUND_IN_UNIT','drawWith','push','@univerjs/drawing','UniverProCollaboration','sessionStatus$','useRef','Rect','LICENSE_DISTRO_REJECTED','_drawRectRange','React','redoState','combineLatest','svg','BuiltInUIPart','arc','dispose','_status$','registerRenderModule','DocSelectionManagerService','result','LICENSE_IMPORT_SIZE_EXCEEDED','distinctUntilChanged','getMergeData','sessionTicket','from','DocIMEInputManagerService','_clearOtherTimers','MemberService','transformIMECache','_name','error','DocCollaborationEntity','_saveCache','Warning','handleDeleteRangeMoveUp','_revisionService','Failed','OnLineIcon','ranges','_httpService','RichTextEditingMutation','exhaustSavingTask','/run/','SheetSkeletonManagerService','_ensureSubject','_sheetSkeletonManagerService','transformStateCache','_session','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','whenReady','getCurrentSelections','MUTATION','reconnect','switchMap','getViewport','_toggleOffline','YUUMI_SUBSCRIPTION_NOT_FOUND','jiqing.500','_getScale','_urlService','getConfig','@univerjs/rpc','_initEntityListener','session.collaboration-timeout','_heartbeatTimer','UniverEngineFormula','_doCreateSocket','EMAIL_HAS_BEEN_BOUND','YUUMI_RATE_OVER_LIMIT','name','UniverNetwork','94708LzRGFo','_createSocketURL','fromEventSubject','_getMergeRange','getSheetBySheetId','_config','CollaborationSessionService','_labelPosition','DOC_RANGE_TYPE','serializeRangeWithSheet','_initStatusComponent','transform','_commandService','_backgroundColor','dispose$','_setupBeforeClosingHandler','CollaborationEvent','SUBMIT_CHANGESET_TIMEOUT','addObject','init','debounceTime','TEXT_RANGE_LAYER_INDEX','_getSessionTicket','_roomMembers$','_notificationService','ICommandService','collab-text-range-','Disposable','_transformService','jsx','EffectRefRangId','_unitStatus','_handleLeaveEvent','_collabCursorState$','collaboration.closeRoom','APPLY_REVISION_CONFILICT','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','getRangePointData','UniverIcon','getTypeOfUnitDisposed$','UniverDesign','concat','UnitStatus','YUUMI_ASYNCIO_CANCELLED','_transformPreviousActiveRange','IBeforeCloseService','subUnitId','NOT_FOUND','IUniverInstanceService','#FFF','@univerjs/ui','_entities','_syncEditingCollabCursorService','indexOf','INVALID_ARGUMENT','top','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','idSuffix','setShapeProps','unit','unshift','4633803EjdLdY','setItem','Injector','_drawAnchor','red.300','transformMutation','SetDocZoomRatioOperation','RegularPolygon','BehaviorSubject','_imageIoService','wsSessionTicketUrl','getVpScrollXYInfoByPosToVp','DesktopCollaborationStatusDisplayController','handleIRemoveRow','cursorInfo','evenodd','176338VGnxOp','triggerDblclick','RemoveColCommandId','getCollabEntity$','session.will-retry','getOwnPropertyDescriptor','OTHER_CLIENT_EDITING','_scene','origin','setTimeout','INVITE_CODE_ALREADY_BOUND','transformMutationsWithChangeset','collabStatus.notCollab','labelPosition','_uiPartsService','CollaborationSocketService','_scheduleHeartbeat','_send','_injector','@univerjs/network','has','substring','ALREADY_EXISTS','values','mutations','mergeOverrideWithDependencies','history','getSheetId','next','1em','operators','entries','transformRemoteChangeset','requireSession','NOT_COLLAB','SYNCED','replaceDocRanges','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'];_0xe1ef=function(){return _0x4124db;};return _0xe1ef();}
|
|
1
|
+
(function(_0x561d26,_0x340f70){const _0x242684=_0x3c3b,_0x4e9510=_0x561d26();while(!![]){try{const _0x12bc0b=parseInt(_0x242684(0x151))/0x1+parseInt(_0x242684(0x20d))/0x2*(parseInt(_0x242684(0x156))/0x3)+parseInt(_0x242684(0x23f))/0x4+-parseInt(_0x242684(0x132))/0x5*(-parseInt(_0x242684(0x1aa))/0x6)+parseInt(_0x242684(0x15f))/0x7*(-parseInt(_0x242684(0x283))/0x8)+-parseInt(_0x242684(0x1d2))/0x9*(-parseInt(_0x242684(0x2a3))/0xa)+-parseInt(_0x242684(0x14e))/0xb;if(_0x12bc0b===_0x340f70)break;else _0x4e9510['push'](_0x4e9510['shift']());}catch(_0x24cd56){_0x4e9510['push'](_0x4e9510['shift']());}}}(_0xcd77,0x5daff),function(_0x259a55,_0x8eaf3d){const _0x20fa3a=_0x3c3b;typeof exports==_0x20fa3a(0x168)&&typeof module<'u'?_0x8eaf3d(exports,require(_0x20fa3a(0x19f)),require(_0x20fa3a(0x2de)),require('@univerjs/engine-render'),require(_0x20fa3a(0x2ad)),require(_0x20fa3a(0x2e2)),require(_0x20fa3a(0x2e0)),require(_0x20fa3a(0x116)),require('@univerjs-pro/collaboration'),require(_0x20fa3a(0x2e1)),require(_0x20fa3a(0x12e)),require('@univerjs/sheets'),require(_0x20fa3a(0xc8)),require(_0x20fa3a(0x19e)),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require(_0x20fa3a(0x2d7)),require(_0x20fa3a(0x142))):typeof define=='function'&&define[_0x20fa3a(0xde)]?define(['exports','@univerjs-pro/collaboration-client',_0x20fa3a(0x2de),_0x20fa3a(0x22a),_0x20fa3a(0x2ad),_0x20fa3a(0x2e2),_0x20fa3a(0x2e0),'rxjs',_0x20fa3a(0x100),_0x20fa3a(0x2e1),_0x20fa3a(0x12e),'@univerjs/sheets','rxjs/operators','@univerjs/sheets-ui',_0x20fa3a(0x261),_0x20fa3a(0xad),'@univerjs/design','react','@univerjs/rpc'],_0x8eaf3d):(_0x259a55=typeof globalThis<'u'?globalThis:_0x259a55||self,_0x8eaf3d(_0x259a55['UniverProCollaborationClientUi']={},_0x259a55[_0x20fa3a(0xd2)],_0x259a55[_0x20fa3a(0x1d6)],_0x259a55[_0x20fa3a(0x27e)],_0x259a55[_0x20fa3a(0x2f6)],_0x259a55['UniverDocsUi'],_0x259a55[_0x20fa3a(0x1ca)],_0x259a55['rxjs'],_0x259a55[_0x20fa3a(0x1b6)],_0x259a55['UniverDocs'],_0x259a55[_0x20fa3a(0x200)],_0x259a55[_0x20fa3a(0x292)],_0x259a55[_0x20fa3a(0x116)][_0x20fa3a(0xd8)],_0x259a55[_0x20fa3a(0xe8)],_0x259a55['React'],_0x259a55['UniverUi'],_0x259a55['UniverDesign'],_0x259a55['React'],_0x259a55[_0x20fa3a(0x1b2)]));}(this,function(_0x54a1e0,_0x106dd7,_0x327729,_0x19e16c,_0x10fbe7,_0x88e369,_0x568319,_0x4a689b,_0x4ac0c0,_0xa5f8cf,_0x377435,_0xf4e447,_0xbb9ec1,_0x4bc061,_0x1dfa0c,_0x1eafc9,_0x4fad06,_0x5d517a,_0x76fef8){'use strict';const _0x607acc=_0x3c3b;var _0x5e5c1d=Object[_0x607acc(0x191)],_0xc04d88=(_0x3beef3,_0xaa7078,_0x459d90)=>_0xaa7078 in _0x3beef3?_0x5e5c1d(_0x3beef3,_0xaa7078,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x459d90}):_0x3beef3[_0xaa7078]=_0x459d90,_0x338777=(_0x1d9bb2,_0x45ccd1,_0x442bde)=>_0xc04d88(_0x1d9bb2,typeof _0x45ccd1!='symbol'?_0x45ccd1+'':_0x45ccd1,_0x442bde),_0x1d92ac=Object[_0x607acc(0x30e)],_0x492926=(_0x160a11,_0x38919e,_0x476d20,_0x1d7057)=>{for(var _0x328a47=_0x1d7057>0x1?void 0x0:_0x1d7057?_0x1d92ac(_0x38919e,_0x476d20):_0x38919e,_0x4485a5=_0x160a11['length']-0x1,_0x4b4159;_0x4485a5>=0x0;_0x4485a5--)(_0x4b4159=_0x160a11[_0x4485a5])&&(_0x328a47=_0x4b4159(_0x328a47)||_0x328a47);return _0x328a47;},_0x1e3d87=(_0x17e7d2,_0x1df954)=>(_0x59f219,_0x5fe7fc)=>_0x1df954(_0x59f219,_0x5fe7fc,_0x17e7d2);let _0x142699=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x46a89a,_0x136ea6){const _0x2659e1=_0x607acc;super(),this['_docClipboardService']=_0x46a89a,this[_0x2659e1(0x184)]=_0x136ea6,this[_0x2659e1(0x135)]();}[_0x607acc(0x135)](){const _0x2ee1bb=_0x607acc,_0x2eb873=this;this[_0x2ee1bb(0xb8)](this[_0x2ee1bb(0x10f)][_0x2ee1bb(0x217)]({'onBeforePasteImage':async _0x280261=>{const _0x4d36ab=_0x2ee1bb,_0x1178a1=await _0x2eb873['_imageIoService']['saveImage'](_0x280261);return _0x1178a1?{'source':_0x1178a1[_0x4d36ab(0x25d)],'imageSourceType':_0x1178a1[_0x4d36ab(0x260)]}:null;}}));}};_0x142699=_0x492926([_0x1e3d87(0x0,_0x88e369[_0x607acc(0xe7)]),_0x1e3d87(0x1,_0x568319[_0x607acc(0x323)])],_0x142699);const _0x5db064=['purple.300','jiqing.500',_0x607acc(0x274),_0x607acc(0x1bb),_0x607acc(0x101),'yellow.400'];class _0x3a75e1 extends _0x327729['Disposable']{constructor(){const _0x1ca031=_0x607acc;super(...arguments),_0x338777(this,_0x1ca031(0x1b1),new Map()),_0x338777(this,_0x1ca031(0x2f8),0x0);}[_0x607acc(0xea)](_0x26023e){const _0xb81302=_0x607acc;if(this[_0xb81302(0x1b1)][_0xb81302(0x29d)](_0x26023e))return this[_0xb81302(0x1b1)][_0xb81302(0x1e4)](_0x26023e);const _0x2af6b0=_0x5db064[this[_0xb81302(0x2f8)]];return this[_0xb81302(0x2f8)]=(this[_0xb81302(0x2f8)]+0x1)%_0x5db064[_0xb81302(0x304)],this['_assignedColors']['set'](_0x26023e,_0x2af6b0),_0x2af6b0;}}function _0x41df60(_0x469591){let _0x3ab938='';for(const _0x356e15 of _0x469591){const {startOffset:_0x565a2c,endOffset:_0x41a82c,isActive:_0x1a031f,rangeType:_0x165968,segmentId:_0x5df3a3,segmentPage:_0x567e81}=_0x356e15;_0x3ab938['length']&&(_0x3ab938+=','),_0x3ab938+=_0x565a2c+':'+_0x41a82c+':'+(_0x1a031f?'1':'0')+':'+_0x165968+':'+_0x5df3a3+':'+_0x567e81;}return _0x3ab938;}function _0x18f69a(_0x5af4e2){const _0x3cbffa=_0x607acc,_0x25025d=_0x5af4e2['split'](','),_0x49af7a=[];for(const _0x52be4b of _0x25025d){const [_0x255c4d,_0x55593b,_0x335a63,_0x2d6ba1,_0xe8977,_0x360575]=_0x52be4b[_0x3cbffa(0x272)](':');_0x49af7a[_0x3cbffa(0x2d2)]({'startOffset':Number(_0x255c4d),'endOffset':Number(_0x55593b),'collapsed':_0x255c4d===_0x55593b,'isActive':_0x335a63==='1','rangeType':_0x2d6ba1===_0x327729[_0x3cbffa(0x140)][_0x3cbffa(0x13a)]?_0x327729[_0x3cbffa(0x140)][_0x3cbffa(0x13a)]:_0x327729[_0x3cbffa(0x140)][_0x3cbffa(0x181)],'segmentId':typeof _0xe8977==_0x3cbffa(0x177)?String(_0xe8977):'','segmentPage':Number(_0x360575!=null?_0x360575:-0x1)});}return _0x49af7a[_0x3cbffa(0x28c)](_0x31ab51=>_0x31ab51['isActive'])||(_0x49af7a[0x0]['isActive']=!0x0),_0x49af7a;}class _0x11acbb extends _0x327729[_0x607acc(0x1c4)]{constructor(){const _0x1f1830=_0x607acc;super(...arguments),_0x338777(this,_0x1f1830(0x299),new _0x4a689b[(_0x1f1830(0xa9))](null)),_0x338777(this,_0x1f1830(0x18b),this[_0x1f1830(0x299)][_0x1f1830(0x310)]());}[_0x607acc(0x91)](_0xef7c0e){const _0xffe334=_0x607acc,{unitID:_0x5a7e4c,memberID:_0x72f13d,textRanges:_0x331c19}=_0xef7c0e,_0x481e3a=_0x41df60(_0x331c19);if(_0x481e3a==='')return;const _0x24980={'unitID':_0x5a7e4c,'memberID':_0x72f13d,'selection':_0x481e3a};this[_0xffe334(0x299)]['next'](_0x24980);}}var _0x58629a=Object['getOwnPropertyDescriptor'],_0x3ec051=(_0x3c8b13,_0x1b2d09,_0x5cf3bd,_0x2066b3)=>{const _0x3e3fb9=_0x607acc;for(var _0x23158f=_0x2066b3>0x1?void 0x0:_0x2066b3?_0x58629a(_0x1b2d09,_0x5cf3bd):_0x1b2d09,_0x19d55c=_0x3c8b13[_0x3e3fb9(0x304)]-0x1,_0x505ca5;_0x19d55c>=0x0;_0x19d55c--)(_0x505ca5=_0x3c8b13[_0x19d55c])&&(_0x23158f=_0x505ca5(_0x23158f)||_0x23158f);return _0x23158f;},_0x2bfd78=(_0x5332e8,_0x3bd039)=>(_0x340b54,_0x2ecd5d)=>_0x3bd039(_0x340b54,_0x2ecd5d,_0x5332e8);const _0x3d4b68=0x12c,_0x22a868=0x64;let _0x126af2=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x218f08,_0x3f41c1,_0x34c4a3,_0x166d70,_0x38c185,_0x4fe32e,_0x1f967e,_0x1582aa,_0x405e37){const _0x102acd=_0x607acc;super(),_0x338777(this,_0x102acd(0x2ac),!0x1),_0x338777(this,_0x102acd(0x135),!0x1),_0x338777(this,_0x102acd(0x2c4),new _0x4a689b[(_0x102acd(0xa9))](new Map())),_0x338777(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x338777(this,'_roomMembers$',new _0x4a689b[(_0x102acd(0xa9))]([])),_0x338777(this,_0x102acd(0x175),this[_0x102acd(0x97)][_0x102acd(0x30f)](_0x4a689b['debounceTime'](_0x3d4b68))),_0x338777(this,_0x102acd(0x22e),_0x327729[_0x102acd(0x164)](_0xbdbdd7=>{const _0x5e895b=_0x102acd,_0x2f28f1={'eventID':_0x4ac0c0[_0x5e895b(0x1a1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5e895b(0x1d3)],'memberID':this[_0x5e895b(0x1d8)]['getMemberID'](),'selection':_0x41df60(_0xbdbdd7)}};this[_0x5e895b(0x1d8)][_0x5e895b(0x265)](_0x2f28f1,this[_0x5e895b(0x1d3)]);},_0x22a868)),(this[_0x102acd(0x1d3)]=_0x218f08,this[_0x102acd(0x1d8)]=_0x3f41c1,this['_injector']=_0x34c4a3,this[_0x102acd(0x21d)]=_0x166d70,this[_0x102acd(0x20e)]=_0x38c185,this[_0x102acd(0x313)]=_0x4fe32e,this[_0x102acd(0x305)]=_0x1f967e,this[_0x102acd(0x2c5)]=_0x1582aa,this[_0x102acd(0x1fe)]=_0x405e37);}get[_0x607acc(0x1f7)](){const _0x2c9106=_0x607acc;return this[_0x2c9106(0x2c4)][_0x2c9106(0x161)]();}get[_0x607acc(0x1c8)](){const _0x444ca9=_0x607acc;return this[_0x444ca9(0x97)]['getValue']();}[_0x607acc(0x185)](){const _0x426d07=_0x607acc;super[_0x426d07(0x185)](),this['_cursorInfo$'][_0x426d07(0x1dd)](new Map()),this[_0x426d07(0x2c4)][_0x426d07(0x22b)](),this[_0x426d07(0x97)]['next']([]),this[_0x426d07(0x97)][_0x426d07(0x22b)]();}[_0x607acc(0x2a7)](){const _0x29865c=_0x607acc;this[_0x29865c(0x135)]||(this['_init']=!0x0,this[_0x29865c(0x1d8)][_0x29865c(0x2ee)][_0x29865c(0x30f)](_0x4a689b[_0x29865c(0xec)](this[_0x29865c(0x1ad)]))[_0x29865c(0x10d)](_0x5d792a=>{const _0x355ca3=_0x29865c;_0x5d792a===_0x106dd7[_0x355ca3(0x29e)][_0x355ca3(0x93)]?this['_toggleOnline']():this[_0x355ca3(0x1c9)]();}),this['_session'][_0x29865c(0x1b5)][_0x29865c(0x30f)](_0x4a689b[_0x29865c(0xec)](this[_0x29865c(0x1ad)]))[_0x29865c(0x10d)](_0x3086e3=>{const _0xff1170=_0x29865c,_0x2a3a1d=_0x3086e3[_0xff1170(0xa8)];_0x2a3a1d===_0x4ac0c0[_0xff1170(0x1a1)][_0xff1170(0x1f4)]&&this[_0xff1170(0x22d)](_0x3086e3),_0x2a3a1d===_0x4ac0c0[_0xff1170(0x1a1)]['USERS_LEAVE']&&this[_0xff1170(0x2fd)](_0x3086e3);}),this[_0x29865c(0xb8)](this[_0x29865c(0x1fe)]['onCommandExecuted'](_0x4a8b81=>{const _0x329008=_0x29865c,_0x3a1a41=_0x4a8b81[_0x329008(0x127)];_0x3a1a41!=null&&this[_0x329008(0x2ac)]&&_0x4a8b81['id']===_0xa5f8cf[_0x329008(0x298)]['id']&&_0x3a1a41[_0x329008(0x183)]===this[_0x329008(0x1d3)]&&_0x3a1a41[_0x329008(0x133)]===!0x1&&_0x3a1a41['ranges']['length']>0x0&&this[_0x329008(0x22e)](_0x3a1a41[_0x329008(0x12a)]);})),this['_syncEditingCollabCursorService'][_0x29865c(0x18b)][_0x29865c(0x30f)](_0x4a689b[_0x29865c(0xec)](this['dispose$']))[_0x29865c(0x10d)](_0x2a03d9=>{const _0x341a47=_0x29865c;if((_0x2a03d9==null?void 0x0:_0x2a03d9[_0x341a47(0x1d3)])!==this['unitID'])return;const _0x8e5da3={'eventID':_0x4ac0c0[_0x341a47(0x1a1)]['UPDATE_CURSOR'],'data':_0x2a03d9};this[_0x341a47(0x22d)](_0x8e5da3);}),this[_0x29865c(0xb8)](this['_commandService'][_0x29865c(0xfc)](_0x66ce0d=>{const _0x53a76c=_0x29865c;if(_0x66ce0d[_0x53a76c(0x127)]==null)return;const _0x16388f=_0x66ce0d[_0x53a76c(0x127)];if(_0x66ce0d['id']!==_0xa5f8cf[_0x53a76c(0x128)]['id']||_0x16388f[_0x53a76c(0x183)]!==this[_0x53a76c(0x1d3)])return;const _0x5162a5={'id':_0x53a76c(0x27f),'params':_0x16388f},_0x36c98d=this[_0x53a76c(0x1f7)];for(const [_0x3ddb99,_0x30e24e]of _0x36c98d){const _0x566ff4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x30e24e['ranges']}},_0x162c18=this[_0x53a76c(0x305)][_0x53a76c(0x320)](_0x5162a5,_0x566ff4,!0x1);if(_0x4ac0c0[_0x53a76c(0xaf)](_0x162c18))throw _0x162c18[_0x53a76c(0x1a4)];_0x36c98d[_0x53a76c(0x264)](_0x3ddb99,{..._0x30e24e,'ranges':_0x162c18[_0x53a76c(0x1be)]['params'][_0x53a76c(0xf0)]});}queueMicrotask(()=>{const _0x4926a5=_0x53a76c;this[_0x4926a5(0x2c4)][_0x4926a5(0x1dd)](_0x36c98d);});})));}[_0x607acc(0x22d)](_0x902e55){const _0x4be2ee=_0x607acc;var _0x3354c2,_0xbdd927;const {memberID:_0x3c88fe,selection:_0x226fd9}=_0x902e55[_0x4be2ee(0x2ef)],_0x54aade=_0x18f69a(_0x226fd9),_0x28fd1a=(_0xbdd927=(_0x3354c2=this[_0x4be2ee(0x20e)][_0x4be2ee(0x2ea)](this[_0x4be2ee(0x1d3)],_0x3c88fe))==null?void 0x0:_0x3354c2[_0x4be2ee(0x24d)])!=null?_0xbdd927:_0x4be2ee(0x293),_0x16748e={'color':this[_0x4be2ee(0x21d)][_0x4be2ee(0xea)](_0x3c88fe),'name':_0x28fd1a,'ranges':_0x54aade},_0x4cc364=this[_0x4be2ee(0x1f7)];_0x4cc364[_0x4be2ee(0x264)](_0x3c88fe,_0x16748e),this[_0x4be2ee(0x2c4)][_0x4be2ee(0x1dd)](_0x4cc364);}[_0x607acc(0x2fd)](_0x274135){const _0x4d235a=_0x607acc,{memberID:_0x4d0a39}=_0x274135[_0x4d235a(0x2ef)],_0x261599=this[_0x4d235a(0x1f7)];_0x261599[_0x4d235a(0xda)](_0x4d0a39),this[_0x4d235a(0x2c4)][_0x4d235a(0x1dd)](_0x261599);}[_0x607acc(0x21f)](){const _0x401b21=_0x607acc;var _0x3f256a;if(this[_0x401b21(0x2ac)]=!0x0,((_0x3f256a=this[_0x401b21(0x2c5)][_0x401b21(0xff)]())==null?void 0x0:_0x3f256a[_0x401b21(0x309)]())!==this[_0x401b21(0x1d3)])return;const _0x4256d2=this['_injector'][_0x401b21(0x1e4)](_0xa5f8cf['DocSelectionManagerService'])[_0x401b21(0x255)]();Array[_0x401b21(0x12b)](_0x4256d2)&&_0x4256d2[_0x401b21(0x304)]>0x0&&this[_0x401b21(0x22e)](_0x4256d2);}[_0x607acc(0x1c9)](){this['_online']=!0x1;}};_0x126af2=_0x3ec051([_0x2bfd78(0x2,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x2bfd78(0x3,_0x327729['Inject'](_0x3a75e1)),_0x2bfd78(0x4,_0x327729['Inject'](_0x106dd7[_0x607acc(0x2bb)])),_0x2bfd78(0x5,_0x327729['Inject'](_0x11acbb)),_0x2bfd78(0x6,_0x4ac0c0[_0x607acc(0x130)]),_0x2bfd78(0x7,_0x327729[_0x607acc(0x1eb)]),_0x2bfd78(0x8,_0x327729['ICommandService'])],_0x126af2);var _0x1247a0=Object[_0x607acc(0x30e)],_0x1ff3bd=(_0x231a1a,_0x1bcbbc,_0x3a2cc0,_0x1334c4)=>{const _0x3be64c=_0x607acc;for(var _0x4c8a8d=_0x1334c4>0x1?void 0x0:_0x1334c4?_0x1247a0(_0x1bcbbc,_0x3a2cc0):_0x1bcbbc,_0x566786=_0x231a1a[_0x3be64c(0x304)]-0x1,_0x3a6790;_0x566786>=0x0;_0x566786--)(_0x3a6790=_0x231a1a[_0x566786])&&(_0x4c8a8d=_0x3a6790(_0x4c8a8d)||_0x4c8a8d);return _0x4c8a8d;},_0x4b864c=(_0x41237e,_0x130f2e)=>(_0x1a64a4,_0x3bd4ef)=>_0x130f2e(_0x1a64a4,_0x3bd4ef,_0x41237e);const _0x24cff=0x12c,_0x355979=0x64,_0x54af8a=()=>{let _0x5b6c28=[],_0x438fce=!0x1;return _0x5adabb=>{_0x5b6c28['push'](_0x5adabb),_0x438fce||(_0x438fce=!0x0,setTimeout(()=>{const _0x6d5538=_0x3c3b;_0x5b6c28[_0x6d5538(0x284)](_0x193d4b=>_0x193d4b()),_0x5b6c28=[],_0x438fce=!0x1;}));};};let _0xeb01f4=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x189d41,_0x5ad636,_0x4aa290,_0x3ed86a,_0x12e6e9,_0x2814ed,_0xd449f2,_0x398586){const _0x4a6afc=_0x607acc;super(),_0x338777(this,_0x4a6afc(0x2ac),!0x1),_0x338777(this,_0x4a6afc(0x135),!0x1),_0x338777(this,_0x4a6afc(0x2c4),new _0x4a689b[(_0x4a6afc(0xa9))](new Map())),_0x338777(this,'cursorInfo$',this[_0x4a6afc(0x2c4)][_0x4a6afc(0x310)]()),_0x338777(this,'_roomMembers$',new _0x4a689b['BehaviorSubject']([])),_0x338777(this,_0x4a6afc(0x175),this['_roomMembers$']['pipe'](_0x4a689b[_0x4a6afc(0x205)](_0x24cff))),_0x338777(this,_0x4a6afc(0x22e),_0x327729[_0x4a6afc(0x164)]((_0x48ed68,_0x55e740)=>{const _0x122722=_0x4a6afc,_0x5de5ea={'eventID':_0x4ac0c0[_0x122722(0x1a1)][_0x122722(0x1f4)],'data':{'unitID':this['unitID'],'memberID':this[_0x122722(0x1d8)][_0x122722(0x13e)](),'selection':_0x377435['serializeRangeWithSheet'](_0x48ed68,_0x55e740['range'])}};this[_0x122722(0x1d8)]['send'](_0x5de5ea,this[_0x122722(0x1d3)]);},_0x355979)),(this['unitID']=_0x189d41,this['_session']=_0x5ad636,this['_injector']=_0x4aa290,this[_0x4a6afc(0x21d)]=_0x3ed86a,this[_0x4a6afc(0x20e)]=_0x12e6e9,this['_univerInstanceService']=_0x2814ed,this[_0x4a6afc(0x1fe)]=_0xd449f2,this[_0x4a6afc(0xd1)]=_0x398586);}get[_0x607acc(0x1f7)](){const _0x295228=_0x607acc;return this[_0x295228(0x2c4)][_0x295228(0x161)]();}get[_0x607acc(0x1c8)](){const _0xf8b27d=_0x607acc;return this['_roomMembers$'][_0xf8b27d(0x161)]();}[_0x607acc(0x185)](){const _0x57931c=_0x607acc;super[_0x57931c(0x185)](),this[_0x57931c(0x2c4)][_0x57931c(0x1dd)](new Map()),this[_0x57931c(0x2c4)]['complete'](),this[_0x57931c(0x97)][_0x57931c(0x1dd)]([]),this[_0x57931c(0x97)][_0x57931c(0x22b)]();}[_0x607acc(0x2a7)](){const _0x43565c=_0x607acc;this[_0x43565c(0x135)]||(this[_0x43565c(0x135)]=!0x0,this[_0x43565c(0x1d8)][_0x43565c(0x2ee)][_0x43565c(0x30f)](_0x4a689b['takeUntil'](this[_0x43565c(0x1ad)]))[_0x43565c(0x10d)](_0x1a8f49=>{const _0x2dc977=_0x43565c;_0x1a8f49===_0x106dd7['SessionStatus'][_0x2dc977(0x93)]?this['_toggleOnline']():this[_0x2dc977(0x1c9)]();}),this[_0x43565c(0x1d8)][_0x43565c(0x1b5)][_0x43565c(0x30f)](_0x4a689b[_0x43565c(0xec)](this['dispose$']))[_0x43565c(0x10d)](_0x54a75d=>{const _0x5cb8cd=_0x43565c,_0x40e527=_0x54a75d[_0x5cb8cd(0xa8)];_0x40e527===_0x4ac0c0[_0x5cb8cd(0x1a1)][_0x5cb8cd(0x1f4)]&&this[_0x5cb8cd(0x22d)](_0x54a75d),_0x40e527===_0x4ac0c0[_0x5cb8cd(0x1a1)][_0x5cb8cd(0x1e3)]&&this[_0x5cb8cd(0x2fd)](_0x54a75d);}),this[_0x43565c(0x14d)](),this[_0x43565c(0xb8)](this[_0x43565c(0x1fe)]['onCommandExecuted'](_0x5509e5=>{const _0x10eadc=_0x43565c;if(this[_0x10eadc(0x2ac)]&&_0x5509e5['id']===_0xf4e447[_0x10eadc(0xb3)]['id']&&_0x5509e5['params'][_0x10eadc(0x183)]===this[_0x10eadc(0x1d3)]){const _0x528ad5=_0x5509e5[_0x10eadc(0x127)];this['_updateLocalCursor'](_0x528ad5[_0x10eadc(0x2fb)],_0x528ad5[_0x10eadc(0x15c)][0x0]);}})));}[_0x607acc(0x22d)](_0x3c02a5){const _0x4dc96f=_0x607acc;var _0x3442fe,_0x2ff796;const {memberID:_0x35e287,selection:_0x108345}=_0x3c02a5[_0x4dc96f(0x2ef)],{sheetName:_0x109dff,range:_0x4c2018}=_0x377435[_0x4dc96f(0x31c)](_0x108345),_0x39d610={'name':(_0x2ff796=(_0x3442fe=this[_0x4dc96f(0x20e)]['getMember'](this[_0x4dc96f(0x1d3)],_0x35e287))==null?void 0x0:_0x3442fe[_0x4dc96f(0x24d)])!=null?_0x2ff796:_0x4dc96f(0x293),'range':this[_0x4dc96f(0x311)](_0x109dff,_0x4c2018),'sheetID':_0x109dff,'color':this[_0x4dc96f(0x21d)][_0x4dc96f(0xea)](_0x35e287),'selection':_0x108345},_0x453d5a=this[_0x4dc96f(0x1f7)];_0x453d5a[_0x4dc96f(0x264)](_0x35e287,_0x39d610),this['_cursorInfo$'][_0x4dc96f(0x1dd)](_0x453d5a);}[_0x607acc(0x2fd)](_0x2b05c0){const _0x317844=_0x607acc,{memberID:_0x46108b}=_0x2b05c0[_0x317844(0x2ef)],_0x1005d4=this[_0x317844(0x1f7)];_0x1005d4[_0x317844(0xda)](_0x46108b),this[_0x317844(0x2c4)][_0x317844(0x1dd)](_0x1005d4);}[_0x607acc(0x311)](_0x140a54,_0x251d1b){const _0x22ea19=_0x607acc;var _0x4bfade,_0x37e1af;const _0x90af68=(_0x37e1af=(_0x4bfade=this[_0x22ea19(0x2c5)][_0x22ea19(0x28d)](this[_0x22ea19(0x1d3)]))==null?void 0x0:_0x4bfade[_0x22ea19(0x2c1)](_0x140a54))==null?void 0x0:_0x37e1af[_0x22ea19(0x2b2)]();return(_0x90af68==null?void 0x0:_0x90af68[_0x22ea19(0x1f2)](_0x18e151=>_0x327729[_0x22ea19(0x157)]['contains'](_0x18e151,_0x251d1b)))||_0x251d1b;}[_0x607acc(0x14d)](){const _0x1f3d38=_0x607acc,_0x482f18=new _0x327729[(_0x1f3d38(0x303))](),_0x13d51c=_0x54af8a(),_0x4e55e5=()=>{const _0x38a5db=_0x1f3d38;_0x482f18[_0x38a5db(0x185)]();const _0x38d720=(_0x94523d,_0x1dded3,_0x9c95fd,_0x435610)=>{const _0x4b5f1b=_0x38a5db;let _0x48ea47=[];switch(_0x94523d['id']){case _0xf4e447[_0x4b5f1b(0x1c3)][_0x4b5f1b(0x167)]:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x300)](_0x94523d,_0x435610);break;}case _0xf4e447['EffectRefRangId'][_0x4b5f1b(0x31e)]:{_0x48ea47=_0xf4e447['handleDeleteRangeMoveUp'](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)]['InsertColCommandId']:{_0x48ea47=_0xf4e447['handleInsertCol'](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)][_0x4b5f1b(0x285)]:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x1c5)](_0x94523d,_0x435610);break;}case _0xf4e447['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x48ea47=_0xf4e447['handleInsertRangeMoveRight'](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)][_0x4b5f1b(0x2ed)]:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x12c)](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)][_0x4b5f1b(0x234)]:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x252)](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)]['RemoveColCommandId']:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x9d)](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)]['RemoveRowCommandId']:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x92)](_0x94523d,_0x435610);break;}}const _0x5d33d3=_0xf4e447[_0x4b5f1b(0x1ee)](_0x48ea47,_0x435610),_0x7635f2=this[_0x4b5f1b(0x1f7)][_0x4b5f1b(0x1e4)](_0x1dded3);if(_0x7635f2&&_0x5d33d3){const _0x15506b={..._0x7635f2,'range':_0x5d33d3};this[_0x4b5f1b(0x1f7)][_0x4b5f1b(0x264)](_0x1dded3,_0x15506b),_0x13d51c(()=>{const _0x28f13c=_0x4b5f1b,_0x415870=this[_0x28f13c(0xd1)][_0x28f13c(0x1a2)](_0x5d33d3,_0x4f51fe=>(_0x415870['dispose'](),_0x38d720(_0x4f51fe,_0x1dded3,_0x9c95fd,_0x5d33d3)));_0x482f18[_0x28f13c(0x27a)](_0x415870);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x38a5db(0x284)]((_0x2ba0b7,_0x3a1149)=>{const _0x4f9358=_0x38a5db,{range:_0x2f7dc3,sheetID:_0x4f24dd}=_0x2ba0b7,_0x3fc826=this[_0x4f9358(0xd1)]['registerRefRange'](_0x2f7dc3,_0x5d4019=>(_0x3fc826[_0x4f9358(0x185)](),_0x38d720(_0x5d4019,_0x3a1149,_0x4f24dd,_0x2f7dc3)));_0x482f18[_0x4f9358(0x27a)](_0x3fc826);});};this[_0x1f3d38(0xb8)](_0x327729['toDisposable'](this[_0x1f3d38(0x2c4)][_0x1f3d38(0x10d)](()=>{_0x4e55e5();})));}[_0x607acc(0x21f)](){const _0x1867ed=_0x607acc;var _0x42e12e,_0x4e36e1;if(this[_0x1867ed(0x2ac)]=!0x0,((_0x42e12e=this[_0x1867ed(0x2c5)][_0x1867ed(0xff)]())==null?void 0x0:_0x42e12e[_0x1867ed(0x309)]())!==this[_0x1867ed(0x1d3)])return;const _0x1ec130=(_0x4e36e1=this[_0x1867ed(0x170)]['get'](_0xf4e447['SheetsSelectionsService'])[_0x1867ed(0xdb)]())==null?void 0x0:_0x4e36e1[0x0],_0x1f0b65=this[_0x1867ed(0x2c5)]['getCurrentUnitForType'](_0x327729[_0x1867ed(0xe9)][_0x1867ed(0x238)])[_0x1867ed(0x297)]();_0x1ec130&&_0x1f0b65&&this[_0x1867ed(0x22e)](_0x1f0b65[_0x1867ed(0x25b)](),_0x1ec130);}[_0x607acc(0x1c9)](){this['_online']=!0x1;}};_0xeb01f4=_0x1ff3bd([_0x4b864c(0x2,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x4b864c(0x3,_0x327729[_0x607acc(0x1cc)](_0x3a75e1)),_0x4b864c(0x4,_0x327729['Inject'](_0x106dd7[_0x607acc(0x2bb)])),_0x4b864c(0x5,_0x327729[_0x607acc(0x1eb)]),_0x4b864c(0x6,_0x327729['ICommandService']),_0x4b864c(0x7,_0x327729['Inject'](_0xf4e447[_0x607acc(0xa4)]))],_0xeb01f4);var _0x35b0f8=Object[_0x607acc(0x30e)],_0x21684a=(_0x50930e,_0x4f21b,_0x267bcb,_0x5bd4d6)=>{const _0x4d1e85=_0x607acc;for(var _0x1dea33=_0x5bd4d6>0x1?void 0x0:_0x5bd4d6?_0x35b0f8(_0x4f21b,_0x267bcb):_0x4f21b,_0x5a818d=_0x50930e[_0x4d1e85(0x304)]-0x1,_0x58008c;_0x5a818d>=0x0;_0x5a818d--)(_0x58008c=_0x50930e[_0x5a818d])&&(_0x1dea33=_0x58008c(_0x1dea33)||_0x1dea33);return _0x1dea33;},_0x16da8c=(_0x4ff5d4,_0x1181ac)=>(_0x5db976,_0x45b81e)=>_0x1181ac(_0x5db976,_0x45b81e,_0x4ff5d4);let _0x4dc4bf=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x32fb76,_0x39f20f,_0xfe3186){const _0x4f2d0f=_0x607acc;super(),_0x338777(this,_0x4f2d0f(0x1b3),new Map()),_0x338777(this,_0x4f2d0f(0x1e7),new _0x4a689b[(_0x4f2d0f(0x1ae))]()),(this[_0x4f2d0f(0x2c5)]=_0x32fb76,this[_0x4f2d0f(0x170)]=_0x39f20f,this[_0x4f2d0f(0x1df)]=_0xfe3186,this[_0x4f2d0f(0x135)]());}[_0x607acc(0x185)](){const _0xa98776=_0x607acc;super[_0xa98776(0x185)](),this[_0xa98776(0x1e7)]['complete'](),this[_0xa98776(0x1b3)][_0xa98776(0x284)](_0x3994d4=>_0x3994d4['dispose']());}[_0x607acc(0x190)](_0x19238a){const _0x388848=_0x607acc;return this['_entities'][_0x388848(0x29d)](_0x19238a)?this[_0x388848(0x1b3)]['get'](_0x19238a)[_0x388848(0x11b)]:this[_0x388848(0x1e7)][_0x388848(0x30f)](_0x4a689b['filter'](_0x4aa6a9=>_0x4aa6a9[_0x388848(0x1d3)]===_0x19238a),_0x4a689b[_0x388848(0x24b)](_0x1ec6b7=>_0x1ec6b7['cursorInfo$']));}['_init'](){const _0x3948c6=_0x607acc;this['_univerInstanceService'][_0x3948c6(0x106)](_0x327729['UniverInstanceType'][_0x3948c6(0x238)])[_0x3948c6(0x30f)](_0x4a689b[_0x3948c6(0xec)](this[_0x3948c6(0x1ad)]))['subscribe'](async _0x5dce33=>{const _0x48aa3f=_0x3948c6,_0x50e04e=_0x5dce33[_0x48aa3f(0x309)](),_0x28e345=await this['_startSheetCollabCursor'](_0x50e04e);this[_0x48aa3f(0x1e7)][_0x48aa3f(0x1dd)](_0x28e345),this[_0x48aa3f(0x1b3)]['set'](_0x50e04e,_0x28e345);}),this[_0x3948c6(0x2c5)][_0x3948c6(0x106)](_0x327729[_0x3948c6(0xe9)][_0x3948c6(0x208)])[_0x3948c6(0x30f)](_0x4a689b[_0x3948c6(0xec)](this[_0x3948c6(0x1ad)]))[_0x3948c6(0x30f)](_0x4a689b[_0x3948c6(0x30b)](_0x4c73d5=>!_0x4c73d5[_0x3948c6(0x309)]()['startsWith']('__')))[_0x3948c6(0x10d)](async _0x45d3c0=>{const _0xba335b=_0x3948c6,_0x51d366=_0x45d3c0[_0xba335b(0x309)](),_0x2e6fbb=await this[_0xba335b(0x2e7)](_0x51d366);this[_0xba335b(0x1e7)][_0xba335b(0x1dd)](_0x2e6fbb),this[_0xba335b(0x1b3)]['set'](_0x51d366,_0x2e6fbb);}),_0x4a689b['merge'](this[_0x3948c6(0x2c5)][_0x3948c6(0xc6)](_0x327729[_0x3948c6(0xe9)][_0x3948c6(0x208)]),this[_0x3948c6(0x2c5)][_0x3948c6(0xc6)](_0x327729['UniverInstanceType'][_0x3948c6(0x238)]))[_0x3948c6(0x30f)](_0x4a689b[_0x3948c6(0xec)](this[_0x3948c6(0x1ad)]))[_0x3948c6(0x10d)](_0x98d6e6=>{const _0x5bf2c7=_0x3948c6,_0x1983d4=_0x98d6e6[_0x5bf2c7(0x309)](),_0x3f5d10=this[_0x5bf2c7(0x1b3)][_0x5bf2c7(0x1e4)](_0x1983d4);_0x3f5d10&&(_0x3f5d10[_0x5bf2c7(0x185)](),this['_entities'][_0x5bf2c7(0xda)](_0x1983d4));});}async[_0x607acc(0x107)](_0x207c48){const _0x903d03=_0x607acc,_0xfaa09b=await this[_0x903d03(0x1df)][_0x903d03(0x259)](_0x207c48),_0x39edce=this[_0x903d03(0x170)]['createInstance'](_0xeb01f4,_0x207c48,_0xfaa09b);return _0x39edce[_0x903d03(0x2a7)](),_0x39edce;}async[_0x607acc(0x2e7)](_0x4d7024){const _0xc05326=_0x607acc,_0x47a823=await this['_collabSessionService'][_0xc05326(0x259)](_0x4d7024),_0x30611d=this['_injector'][_0xc05326(0xc7)](_0x126af2,_0x4d7024,_0x47a823);return _0x30611d[_0xc05326(0x2a7)](),_0x30611d;}};_0x4dc4bf=_0x21684a([_0x16da8c(0x0,_0x327729['IUniverInstanceService']),_0x16da8c(0x1,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x16da8c(0x2,_0x327729[_0x607acc(0x1cc)](_0x106dd7['CollaborationSessionService']))],_0x4dc4bf);const _0x836d21=0x14,_0x440263=0xc8,_0x436ba8=0x4,_0x22da81=0x5;function _0x4d3874(_0x117a75,_0x6699ba){const _0xc51c8d=_0x607acc;let {radius:_0x1f75ad,width:_0x34be53,height:_0x47b956}=_0x6699ba;_0x1f75ad=_0x1f75ad!=null?_0x1f75ad:0x0,_0x34be53=_0x34be53!=null?_0x34be53:0x1e,_0x47b956=_0x47b956!=null?_0x47b956:0x1e;let _0x49a4a1=0x0,_0x8c2b06=0x0,_0x49a7e7=0x0;_0x49a4a1=_0x8c2b06=_0x49a7e7=Math['min'](_0x1f75ad,_0x34be53/0x2,_0x47b956/0x2),_0x117a75[_0xc51c8d(0xc0)](),_0x117a75[_0xc51c8d(0x315)](_0x49a4a1,0x0),_0x117a75[_0xc51c8d(0x287)](_0x34be53-_0x8c2b06,0x0),_0x117a75[_0xc51c8d(0x1a3)](_0x34be53-_0x8c2b06,_0x8c2b06,_0x8c2b06,Math['PI']*0x3/0x2,0x0,!0x1),_0x117a75[_0xc51c8d(0x287)](_0x34be53,_0x47b956-_0x49a7e7),_0x117a75['arc'](_0x34be53-_0x49a7e7,_0x47b956-_0x49a7e7,_0x49a7e7,0x0,Math['PI']/0x2,!0x1),_0x117a75[_0xc51c8d(0x287)](0x0,_0x47b956),_0x117a75[_0xc51c8d(0x287)](0x0,_0x49a4a1),_0x117a75['arc'](_0x49a4a1,_0x49a4a1,_0x49a4a1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x117a75['closePath'](),_0x6699ba[_0xc51c8d(0x18d)]&&(_0x117a75['save'](),_0x117a75['fillStyle']=_0x6699ba['fill'],_0x6699ba['fillRule']===_0xc51c8d(0x2b5)?_0x117a75[_0xc51c8d(0x18d)]('evenodd'):_0x117a75[_0xc51c8d(0x18d)](),_0x117a75['restore']());}class _0x461a15 extends _0x19e16c[_0x607acc(0x187)]{constructor(_0x5d57be,_0x473461){const _0x2666af=_0x607acc;super(_0x5d57be,_0x473461),_0x338777(this,'color'),_0x338777(this,_0x2666af(0x327)),(this[_0x2666af(0x290)]=_0x473461==null?void 0x0:_0x473461[_0x2666af(0x290)],this['text']=_0x473461==null?void 0x0:_0x473461['text']);}static[_0x607acc(0x228)](_0x46ae0f,_0xbd0674){const _0x464e52=_0x607acc,{text:_0x195576,color:_0x3435a2}=_0xbd0674;_0x46ae0f[_0x464e52(0xfb)](),_0x46ae0f[_0x464e52(0x210)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x35f804=_0x46ae0f[_0x464e52(0x1a5)](_0x195576)[_0x464e52(0xbb)],_0x748039=Math['min'](_0x35f804+0x2*_0x436ba8,_0x440263);_0x4d3874(_0x46ae0f,{'height':_0x836d21,'radius':0x4,'width':_0x748039,'fill':_0x3435a2}),_0x46ae0f['fillStyle']=_0x464e52(0x111);const _0x359852=_0x436ba8,_0x5b038a=_0x836d21-_0x22da81,_0x58db71=_0x440263-0x2*_0x436ba8;if(_0x35f804>_0x58db71){let _0x3e0faa='',_0x9d7dc5=0x0;for(const _0x468d7c of _0x195576){const _0x342c89=_0x46ae0f[_0x464e52(0x1a5)](_0x468d7c)[_0x464e52(0xbb)];if(_0x9d7dc5+_0x342c89<=_0x58db71-_0x46ae0f[_0x464e52(0x1a5)](_0x464e52(0x244))[_0x464e52(0xbb)])_0x3e0faa+=_0x468d7c,_0x9d7dc5+=_0x342c89;else{_0x3e0faa+='...';break;}}_0x46ae0f[_0x464e52(0x1b7)](_0x3e0faa,_0x359852,_0x5b038a);}else _0x46ae0f[_0x464e52(0x1b7)](_0x195576,_0x359852,_0x5b038a);_0x46ae0f['restore']();}['_draw'](_0x142fed){const _0x33d528=_0x607acc;_0x461a15[_0x33d528(0x228)](_0x142fed,this);}}const _0x33f183='collab-text-anchor-',_0x603134='collab-text-range-',_0x56758f=_0x607acc(0x295),_0x38da43=0x6,_0x21716f=1.5,_0x4d8e6d=0x4,_0x44b373=1.5,_0x38ea1e='rgba(255,\x20255,\x20255,\x200.01)';class _0x4ce558{constructor(_0x455cd3,_0x62bc9a,_0x20d870,_0x3d26f4){const _0x1eb9d2=_0x607acc;_0x338777(this,_0x1eb9d2(0xf5),[]),_0x338777(this,_0x1eb9d2(0xdd),null),_0x338777(this,'_textBubble',null),_0x338777(this,_0x1eb9d2(0xca),null),_0x338777(this,_0x1eb9d2(0x1f0),null),_0x338777(this,_0x1eb9d2(0x202),null),(this[_0x1eb9d2(0x1f8)]=_0x455cd3,this[_0x1eb9d2(0x196)]=_0x62bc9a,this['_docSkeleton']=_0x20d870,this[_0x1eb9d2(0x1d0)]=_0x3d26f4,this[_0x1eb9d2(0x2b8)]());}set[_0x607acc(0xed)](_0x1e4bd3){const _0x239ffe=_0x607acc;_0x1e4bd3?(this[_0x239ffe(0xca)]&&this[_0x239ffe(0xca)][_0x239ffe(0xe6)](),this[_0x239ffe(0x307)]&&this[_0x239ffe(0x307)][_0x239ffe(0x172)]()):(this['_anchorDot']&&this[_0x239ffe(0xca)][_0x239ffe(0x172)](),this[_0x239ffe(0x307)]&&this['_textBubble'][_0x239ffe(0xe6)]());}[_0x607acc(0x185)](){const _0xb61840=_0x607acc;for(const _0x49d57b of this[_0xb61840(0xf5)])_0x49d57b[_0xb61840(0x185)]();this[_0xb61840(0x307)]&&this[_0xb61840(0x307)][_0xb61840(0x185)](),this[_0xb61840(0xca)]&&this[_0xb61840(0xca)][_0xb61840(0x185)](),this[_0xb61840(0xdd)]&&this[_0xb61840(0xdd)][_0xb61840(0x185)](),this['_eventUnsubscribe']&&this[_0xb61840(0x202)]();}['_render'](){const _0x484214=_0x607acc;var _0x44e810;const {_docSkeleton:_0x31efbb,_document:_0xfaadf5}=this,{color:_0x360b5e,name:_0x37ecc1,ranges:_0xfda10c}=this[_0x484214(0x1f8)],_0x1ed45a=_0xfaadf5['getOffsetConfig'](),{docsLeft:_0x3cc09a,docsTop:_0x150b39}=_0x1ed45a,_0x338550=new _0x88e369[(_0x484214(0x13c))](_0x1ed45a,_0x31efbb);for(const {startOffset:_0x2b2529,endOffset:_0x441b94,rangeType:_0x7cbb5d,segmentId:_0x3538e7,segmentPage:_0x1bb099,collapsed:_0x6e9afc,isActive:_0x1771ae}of _0xfda10c){const _0x29e2c0=_0x31efbb[_0x484214(0x198)](_0x2b2529,!0x0,_0x3538e7,_0x1bb099);let _0x1d678e=_0x31efbb[_0x484214(0x198)](_0x441b94,!0x0,_0x3538e7,_0x1bb099);if(_0x1d678e==null&&(_0x1d678e=_0x31efbb['findNodePositionByCharIndex'](_0x441b94-0x1,!0x1,_0x3538e7,_0x1bb099)),_0x1771ae){const {contentBoxPointGroup:_0x38a578}=_0x338550[_0x484214(0x2e6)](_0x1d678e,_0x1d678e);if(_0x38a578[_0x484214(0x304)]===0x0)continue;this[_0x484214(0x27b)](_0x360b5e,_0x38a578,_0x3cc09a,_0x150b39,_0x37ecc1),this[_0x484214(0x202)]=this[_0x484214(0x150)]();}if(_0x29e2c0&&_0x1d678e){if(_0x7cbb5d===_0x327729[_0x484214(0x140)]['RECT']){const _0x51315b=new _0x88e369[(_0x484214(0x1ea))](_0x1ed45a,_0x31efbb),{pointGroup:_0x49b9e1}=(_0x44e810=_0x51315b[_0x484214(0x2e6)](_0x29e2c0,_0x1d678e))!=null?_0x44e810:{};if(_0x49b9e1==null||_0x49b9e1[_0x484214(0x304)]===0x0)continue;this[_0x484214(0x26b)](_0x360b5e,_0x49b9e1,_0x3cc09a,_0x150b39);}else{if(!_0x6e9afc){const {borderBoxPointGroup:_0x461ed3}=_0x338550[_0x484214(0x2e6)](_0x29e2c0,_0x1d678e);if(_0x461ed3[_0x484214(0x304)]===0x0)continue;this['_drawTextRange'](_0x360b5e,_0x461ed3,_0x3cc09a,_0x150b39);}}}}}[_0x607acc(0x27b)](_0x571997,_0x10d4bc,_0x1fcb3b,_0x21d30b,_0x1a0e14){const _0x57d892=_0x607acc,_0x12c3ad=this[_0x57d892(0x243)](_0x10d4bc),{left:_0x5011b3,top:_0x36e3e0,height:_0x1bb6c9}=_0x12c3ad,_0x51dfc4=this['_getScale'](),_0x47cfdf=_0x44b373/_0x51dfc4,_0x7aea8a=new _0x19e16c[(_0x57d892(0x254))](_0x33f183+_0x327729[_0x57d892(0x11c)][_0x57d892(0x29f)](_0x38da43),{'left':_0x5011b3+_0x1fcb3b-_0x47cfdf,'top':_0x36e3e0+_0x21d30b,'height':_0x1bb6c9,'width':_0x21716f,'fill':_0x571997||_0x19e16c[_0x57d892(0x1e5)](_0x327729['COLORS'][_0x57d892(0x15b)],0x0),'strokeWidth':_0x47cfdf,'stroke':_0x38ea1e,'evented':!0x0});this[_0x57d892(0xdd)]=_0x7aea8a,this['_scene'][_0x57d892(0x2b7)](_0x7aea8a,_0x88e369['TEXT_RANGE_LAYER_INDEX']);const _0x486824=new _0x19e16c['Rect'](_0x33f183+_0x327729[_0x57d892(0x11c)]['generateRandomId'](_0x38da43),{'left':_0x5011b3+_0x1fcb3b-_0x47cfdf,'top':_0x36e3e0+_0x21d30b-_0x4d8e6d/0x2,'height':_0x4d8e6d,'width':_0x4d8e6d,'fill':_0x571997||_0x19e16c[_0x57d892(0x1e5)](_0x327729[_0x57d892(0x16e)][_0x57d892(0x15b)],0x0),'strokeWidth':0x0,'stroke':_0x571997||_0x19e16c['getColor'](_0x327729['COLORS'][_0x57d892(0x15b)],0x0),'evented':!0x1});this[_0x57d892(0xca)]=_0x486824,this[_0x57d892(0x196)][_0x57d892(0x2b7)](_0x486824,_0x88e369[_0x57d892(0x20c)]);const _0x47f097=new _0x461a15(_0x33f183+_0x327729[_0x57d892(0x11c)][_0x57d892(0x29f)](_0x38da43),{'left':_0x5011b3+_0x1fcb3b-_0x47cfdf,'top':_0x36e3e0+_0x21d30b-_0x836d21,'text':_0x1a0e14,'color':_0x571997});this[_0x57d892(0x307)]=_0x47f097,this['_scene']['addObject'](_0x47f097,_0x88e369[_0x57d892(0x20c)]),this[_0x57d892(0xed)]=!0x1;}['_handleHover'](){const _0x26121b=_0x607acc,_0x25df56=this[_0x26121b(0xdd)][_0x26121b(0x2f7)]['subscribeEvent'](()=>{const _0x51efb3=_0x26121b;this[_0x51efb3(0xed)]=!0x0;}),_0x484a4e=this[_0x26121b(0xdd)][_0x26121b(0x2f1)][_0x26121b(0x1a8)](()=>{const _0x41cb48=_0x26121b;this['_hideTimer']&&clearTimeout(this[_0x41cb48(0x1f0)]),this[_0x41cb48(0x1f0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4c88ee=_0x26121b;_0x25df56[_0x4c88ee(0x213)](),_0x484a4e[_0x4c88ee(0x213)]();};}['_drawTextRange'](_0x423b0e,_0x5c5812,_0x29f017,_0x107a61){const _0x96a91d=_0x607acc,_0x1ecb54=new _0x327729[(_0x96a91d(0x215))](_0x423b0e)[_0x96a91d(0x115)](0.2)[_0x96a91d(0xb6)](),_0x79fef8=new _0x19e16c[(_0x96a91d(0x143))](_0x603134+_0x327729[_0x96a91d(0x11c)][_0x96a91d(0x29f)](_0x38da43),{'pointsGroup':_0x5c5812,'fill':_0x1ecb54||_0x19e16c[_0x96a91d(0x1e5)](_0x327729['COLORS'][_0x96a91d(0x15b)],0.2),'left':_0x29f017,'top':_0x107a61,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x96a91d(0xf5)][_0x96a91d(0x2d2)](_0x79fef8),this[_0x96a91d(0x196)][_0x96a91d(0x2b7)](_0x79fef8,_0x88e369['TEXT_RANGE_LAYER_INDEX']);}[_0x607acc(0x26b)](_0x4cbaaa,_0x1e5296,_0x2d4166,_0x17e8c5){const _0x47e153=_0x607acc,_0x182de3=new _0x327729['ColorKit'](_0x4cbaaa)[_0x47e153(0x115)](0.2)[_0x47e153(0xb6)](),_0x4f2a26=new _0x19e16c[(_0x47e153(0x143))](_0x56758f+_0x327729[_0x47e153(0x11c)]['generateRandomId'](_0x38da43),{'pointsGroup':_0x1e5296,'fill':_0x182de3||_0x19e16c[_0x47e153(0x1e5)](_0x327729[_0x47e153(0x16e)][_0x47e153(0x15b)],0.2),'left':_0x2d4166,'top':_0x17e8c5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47e153(0xf5)][_0x47e153(0x2d2)](_0x4f2a26),this[_0x47e153(0x196)][_0x47e153(0x2b7)](_0x4f2a26,_0x88e369[_0x47e153(0x20c)]);}[_0x607acc(0x243)](_0x2abe2e){const _0x4f1fae=_0x2abe2e[0x0],_0x16f668=_0x4f1fae[0x0],_0x4a4089=_0x4f1fae[0x2],{x:_0x23a4c2,y:_0x5c1d03}=_0x16f668,{x:_0x45cd69,y:_0x1c44f6}=_0x4a4089;return{'left':_0x23a4c2,'top':_0x5c1d03,'width':_0x45cd69-_0x23a4c2,'height':_0x1c44f6-_0x5c1d03};}[_0x607acc(0x154)](){const _0x90f371=_0x607acc,{scaleX:_0x4e5f05,scaleY:_0x5467c1}=this[_0x90f371(0x196)][_0x90f371(0x241)]();return Math['max'](_0x4e5f05,_0x5467c1);}}var _0x48dd68=Object['getOwnPropertyDescriptor'],_0x48f6a9=(_0x3b4fe7,_0x3baf47,_0x5ddd8d,_0x25f994)=>{const _0x1fffa4=_0x607acc;for(var _0x61b3ac=_0x25f994>0x1?void 0x0:_0x25f994?_0x48dd68(_0x3baf47,_0x5ddd8d):_0x3baf47,_0x55bf7e=_0x3b4fe7[_0x1fffa4(0x304)]-0x1,_0x2e1842;_0x55bf7e>=0x0;_0x55bf7e--)(_0x2e1842=_0x3b4fe7[_0x55bf7e])&&(_0x61b3ac=_0x2e1842(_0x61b3ac)||_0x61b3ac);return _0x61b3ac;},_0x113146=(_0x5b2903,_0x3f450f)=>(_0x6b5b24,_0x388256)=>_0x3f450f(_0x6b5b24,_0x388256,_0x5b2903);let _0x5d89d=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x2394cd,_0x1b8d9b,_0x1fb38d,_0x2a073d,_0x4c08cc){const _0xc780d8=_0x607acc;super(),_0x338777(this,_0xc780d8(0x201),[]),_0x338777(this,_0xc780d8(0x16b),[]),(this['_context']=_0x2394cd,this[_0xc780d8(0x20b)]=_0x1b8d9b,this['_collabCursorController']=_0x1fb38d,this[_0xc780d8(0x1fe)]=_0x2a073d,this[_0xc780d8(0x20a)]=_0x4c08cc,this['_init']());}['_init'](){const _0x597493=_0x607acc,_0x4a3b37=this[_0x597493(0x1f1)]['unitId'],_0x37c631=this['_docSkeletonManagerService'];this[_0x597493(0xb8)](_0x4a689b[_0x597493(0x28f)]([this[_0x597493(0x16f)]['getCollabCursors$'](_0x4a3b37),this[_0x597493(0x20a)][_0x597493(0x1e8)]])['pipe'](_0xbb9ec1[_0x597493(0x134)](([_0x5dbaf2,_0x460233])=>({'skeleton':_0x37c631[_0x597493(0x13d)](),'cursors':[..._0x5dbaf2[_0x597493(0xbf)]()][_0x597493(0x31f)](_0x2f9727=>({..._0x2f9727,'color':this[_0x597493(0x20a)][_0x597493(0x23a)](_0x2f9727[_0x597493(0x290)])}))})))[_0x597493(0x10d)](_0x2d43e1=>{const _0x5f8dd8=_0x597493;if(this['_removeCollabCursors'](),_0x2d43e1){const {skeleton:_0x2b0641,cursors:_0x20996f}=_0x2d43e1;this[_0x5f8dd8(0x14f)](_0x2b0641,_0x20996f);}})),this['_initResize'](),this[_0x597493(0xfa)]();}['_updateCollabCursors'](_0x161a9b,_0x2118b3){const _0x14a8c0=_0x607acc,{scene:_0x12a6dc,mainComponent:_0x3f6724}=this[_0x14a8c0(0x1f1)],_0x1df2f9=_0x2118b3[_0x14a8c0(0x134)](_0x864a25=>new _0x4ce558(_0x864a25,_0x12a6dc,_0x161a9b,_0x3f6724));this[_0x14a8c0(0x201)]=_0x1df2f9,this[_0x14a8c0(0x16b)]=_0x2118b3;}[_0x607acc(0x1d4)](){const _0x26fb24=_0x607acc;this[_0x26fb24(0x1c1)]();const {scene:_0x10d442,mainComponent:_0x2ba090}=this[_0x26fb24(0x1f1)],_0x13231b=this[_0x26fb24(0x20b)]['getSkeleton'](),_0x27d644=this[_0x26fb24(0x16b)][_0x26fb24(0x134)](_0x50f081=>new _0x4ce558(_0x50f081,_0x10d442,_0x13231b,_0x2ba090));this[_0x26fb24(0x201)]=_0x27d644;}[_0x607acc(0x1c1)](){const _0x196674=_0x607acc;this[_0x196674(0x201)][_0x196674(0x284)](_0x15de6d=>_0x15de6d['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x252f8e=_0x607acc,_0x1d1fbc=[_0x88e369[_0x252f8e(0xb2)]['id']];this[_0x252f8e(0xb8)](this['_commandService'][_0x252f8e(0xfc)](_0x1abe7d=>{const _0x384a8d=_0x252f8e;_0x1d1fbc['includes'](_0x1abe7d['id'])&&_0x1abe7d[_0x384a8d(0x127)][_0x384a8d(0x183)]===this[_0x384a8d(0x1f1)][_0x384a8d(0x183)]&&this[_0x384a8d(0x1d4)]();}));}[_0x607acc(0xcf)](){const _0x4e14c1=_0x607acc;this[_0x4e14c1(0xb8)](_0x327729['fromEventSubject'](this[_0x4e14c1(0x1f1)][_0x4e14c1(0x19b)][_0x4e14c1(0xa7)])['pipe'](_0xbb9ec1[_0x4e14c1(0x30b)](_0x53e578=>_0x53e578[_0x4e14c1(0x1a0)]===_0x19e16c[_0x4e14c1(0x275)]['resize']),_0xbb9ec1[_0x4e14c1(0x232)](0x10))[_0x4e14c1(0x10d)](()=>{this['_refreshCollabCursors']();}));}};_0x5d89d=_0x48f6a9([_0x113146(0x1,_0x327729[_0x607acc(0x1cc)](_0xa5f8cf[_0x607acc(0x27c)])),_0x113146(0x2,_0x327729[_0x607acc(0x1cc)](_0x4dc4bf)),_0x113146(0x3,_0x327729['ICommandService']),_0x113146(0x4,_0x327729['Inject'](_0x327729[_0x607acc(0x155)]))],_0x5d89d);const _0x53cfb2=0x1,_0x551c61=1.5;class _0xdf647a extends _0x19e16c['Shape']{constructor(_0x3d5fda,_0x21e79d){const _0x49717f=_0x607acc;super(_0x3d5fda,_0x21e79d),_0x338777(this,_0x49717f(0x271)),_0x338777(this,'_hovered',!0x1),_0x338777(this,_0x49717f(0xc3)),_0x338777(this,_0x49717f(0x263),''),_0x338777(this,_0x49717f(0x182),'top'),_0x338777(this,'_backgroundColor'),(_0x21e79d&&this[_0x49717f(0x11a)](_0x21e79d),this[_0x49717f(0x2f7)]['subscribeEvent'](()=>this[_0x49717f(0x11a)]({'hovered':!0x0})),this[_0x49717f(0x2f1)][_0x49717f(0x1a8)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5e65c2){const _0x336bdf=_0x607acc;var _0x476f0c,_0x481cfe,_0x1b2c85,_0x129a3a,_0x2d6f3f,_0x2e52af;this['_color']=(_0x476f0c=_0x5e65c2[_0x336bdf(0x290)])!=null?_0x476f0c:this[_0x336bdf(0x271)],this[_0x336bdf(0x2f9)]=(_0x481cfe=_0x5e65c2[_0x336bdf(0x163)])!=null?_0x481cfe:this['_hovered'],this[_0x336bdf(0xc3)]=(_0x1b2c85=_0x5e65c2[_0x336bdf(0x329)])!=null?_0x1b2c85:this[_0x336bdf(0xc3)],this[_0x336bdf(0x263)]=(_0x129a3a=_0x5e65c2[_0x336bdf(0x24d)])!=null?_0x129a3a:this['_name'],this['_labelPosition']=(_0x2d6f3f=_0x5e65c2[_0x336bdf(0x2f3)])!=null?_0x2d6f3f:this[_0x336bdf(0x182)],this[_0x336bdf(0x28a)]=(_0x2e52af=_0x5e65c2[_0x336bdf(0x169)])!=null?_0x2e52af:this[_0x336bdf(0x28a)],this['transformByState']({'width':_0x5e65c2['width'],'height':_0x5e65c2[_0x336bdf(0x1bd)]});}[_0x607acc(0xd3)](_0x70a209){const _0x349bed=_0x607acc,{row:_0x3b66e4,column:_0x47d29a}=_0x70a209;if(_0x3b66e4>=this[_0x349bed(0xc3)][_0x349bed(0x110)]&&_0x3b66e4<=this[_0x349bed(0xc3)][_0x349bed(0x2da)]&&_0x47d29a>=this[_0x349bed(0xc3)]['startColumn']&&_0x47d29a<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x349bed(0x11a)]({'hovered':!0x1});}[_0x607acc(0x153)](_0x2e9807){return!0x1;}[_0x607acc(0xe2)](_0x474d14){const _0x55adfc=_0x607acc;_0x19e16c['Rect'][_0x55adfc(0x228)](_0x474d14,{'width':this[_0x55adfc(0xbb)],'height':this[_0x55adfc(0x1bd)],'strokeWidth':_0x551c61,'stroke':this[_0x55adfc(0x271)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x55adfc(0x2f9)]&&(_0x474d14[_0x55adfc(0xfb)](),_0x474d14[_0x55adfc(0x17b)](0x1,0x0,0x0,0x1,this[_0x55adfc(0xbb)],this[_0x55adfc(0x182)]===_0x55adfc(0x165)?0x0:-0x14),_0x461a15[_0x55adfc(0x228)](_0x474d14,{'text':this['_name'],'color':this[_0x55adfc(0x271)]}),_0x474d14[_0x55adfc(0x173)]());}}var _0x13476e=Object[_0x607acc(0x30e)],_0x2851a9=(_0x2192d6,_0x5eb5a4,_0x19e2de,_0xb5488e)=>{const _0x393b15=_0x607acc;for(var _0x4475ad=_0xb5488e>0x1?void 0x0:_0xb5488e?_0x13476e(_0x5eb5a4,_0x19e2de):_0x5eb5a4,_0x2e2aed=_0x2192d6[_0x393b15(0x304)]-0x1,_0x3b6981;_0x2e2aed>=0x0;_0x2e2aed--)(_0x3b6981=_0x2192d6[_0x2e2aed])&&(_0x4475ad=_0x3b6981(_0x4475ad)||_0x4475ad);return _0x4475ad;},_0x3b4421=(_0x2d8e13,_0x463acb)=>(_0x25c7f1,_0x1d32b5)=>_0x463acb(_0x25c7f1,_0x1d32b5,_0x2d8e13);const _0x586597=0x1389;let _0x2ee156=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x50b344,_0x81a583,_0x313853,_0x2ac9f2){const _0x3f8687=_0x607acc;super(),_0x338777(this,'_cursors',new Set()),_0x338777(this,'_lastPointer',null),(this['_context']=_0x50b344,this[_0x3f8687(0x174)]=_0x81a583,this[_0x3f8687(0x16f)]=_0x313853,this[_0x3f8687(0x20a)]=_0x2ac9f2,this[_0x3f8687(0x135)]());}[_0x607acc(0x135)](){const _0x1244cf=_0x607acc;this[_0x1244cf(0x174)][_0x1244cf(0x317)][_0x1244cf(0x30f)](_0xbb9ec1[_0x1244cf(0xec)](this[_0x1244cf(0x1ad)]),_0xbb9ec1[_0x1244cf(0x24b)](_0x2b4c7e=>{const _0x163d58=_0x1244cf;if(_0x2b4c7e){const _0x3b4e97=_0x2b4c7e[_0x163d58(0x1e6)];return _0x4a689b['combineLatest'](this[_0x163d58(0x16f)][_0x163d58(0x190)](this[_0x163d58(0x1f1)]['unitId']),this['_themeService'][_0x163d58(0x1e8)])['pipe'](_0xbb9ec1[_0x163d58(0x134)](([_0x2a16a9,_0x15dfe8])=>{const _0x1abc70=_0x163d58,_0x10b333=new Map();return _0x2a16a9[_0x1abc70(0x284)]((_0xd455d0,_0x49a52b)=>{const _0x5a0bb9=_0x1abc70;if(_0xd455d0[_0x5a0bb9(0xce)]===_0x3b4e97){const _0x53e678={..._0xd455d0};_0x53e678['color']=this[_0x5a0bb9(0x20a)][_0x5a0bb9(0x23a)](_0xd455d0[_0x5a0bb9(0x290)]),_0x10b333[_0x5a0bb9(0x264)](_0x49a52b,_0x53e678);}}),{'skeleton':_0x2b4c7e,'cursors':_0x10b333};}));}return _0x4a689b['of']({'skeleton':null,'cursors':new Map()});}))[_0x1244cf(0x10d)](({skeleton:_0x1a0629,cursors:_0xdffb10})=>{const _0x2fbcfb=_0x1244cf;this[_0x2fbcfb(0x1c1)](),_0x1a0629&&this[_0x2fbcfb(0x14f)](_0x1a0629,_0xdffb10);}),this[_0x1244cf(0x174)][_0x1244cf(0x317)]['subscribe'](_0x436e80=>{const _0x37b735=_0x1244cf;if(_0x436e80==null)return;const {skeleton:_0x5827a5}=_0x436e80,{scene:_0x2f850b}=this[_0x37b735(0x1f1)];_0x2f850b[_0x37b735(0x325)][_0x37b735(0x1a8)](_0x327729[_0x37b735(0x164)](_0x38476b=>{const _0x386d74=_0x37b735;var _0x229e51,_0x4710f4;const {offsetX:_0x54542b,offsetY:_0x3ec24a}=_0x38476b,{x:_0xc71634,y:_0x49c133}=_0x2f850b['getRelativeToViewportCoord'](_0x19e16c['Vector2'][_0x386d74(0x1cb)]([_0x54542b,_0x3ec24a])),{scaleX:_0x4614e1,scaleY:_0x533148}=_0x2f850b[_0x386d74(0x241)](),_0x80a076=_0x2f850b[_0x386d74(0x1a9)](_0x19e16c[_0x386d74(0xe1)]['VIEW_MAIN']),_0x18e9d2=_0x2f850b[_0x386d74(0xc2)](_0x19e16c[_0x386d74(0x1f6)][_0x386d74(0x1cb)]([_0xc71634,_0x49c133]),_0x80a076),_0x3f6035=_0x5827a5[_0x386d74(0x286)](_0x54542b,_0x3ec24a,_0x4614e1,_0x533148,_0x18e9d2);((_0x229e51=this[_0x386d74(0x2fa)])==null?void 0x0:_0x229e51[_0x386d74(0x1c0)])===_0x3f6035[_0x386d74(0x1c0)]&&((_0x4710f4=this['_lastPointer'])==null?void 0x0:_0x4710f4[_0x386d74(0x224)])===_0x3f6035['row']||this[_0x386d74(0x16b)][_0x386d74(0x284)](_0xbd3446=>{const _0x57a042=_0x386d74;_0xbd3446[_0x57a042(0xd3)](_0x3f6035);});},0x64));});}[_0x607acc(0x14f)](_0x430b2f,_0x3fbda4){const _0x3c4167=_0x607acc;var _0x19d8a5;const _0x27d98b=(_0x19d8a5=this[_0x3c4167(0x174)][_0x3c4167(0x1ba)]())==null?void 0x0:_0x19d8a5[_0x3c4167(0x2db)];if(!_0x27d98b)return;const _0x1c5ce0=this[_0x3c4167(0x225)]();if(!_0x1c5ce0)return;this[_0x3c4167(0x16b)][_0x3c4167(0x284)](_0x1353a4=>{const _0x346bcc=_0x3c4167;_0x1353a4[_0x346bcc(0x2a9)]();});const {scene:_0x588e90}=_0x1c5ce0,_0x57d797=_0x129c87(Array[_0x3c4167(0x216)](_0x3fbda4[_0x3c4167(0xbf)]()))['map'](_0x2391c7=>{const _0x359e6c=_0x3c4167,{color:_0x439915,range:_0x48a63e,name:_0x51456a,selection:_0x49a964,sheetID:_0x5128aa}=_0x2391c7,{startColumn:_0x59a0e1,startRow:_0x564d91,endColumn:_0x3a85a6,endRow:_0x5ed89a}=_0x48a63e,_0x1560cc=_0x4bc061[_0x359e6c(0x218)](_0x564d91,_0x59a0e1,_0x588e90,_0x27d98b),_0x2b9ec4=_0x4bc061[_0x359e6c(0x218)](_0x5ed89a,_0x3a85a6,_0x588e90,_0x27d98b),{columnHeaderHeightAndMarginTop:_0x2d8fe7}=_0x27d98b,{startX:_0x253ad9,startY:_0x3447e4}=_0x1560cc,{endX:_0x41cffe,endY:_0x1bad1d}=_0x2b9ec4,_0x30cfe8=_0x41cffe-_0x253ad9,_0xda1b15=_0x1bad1d-_0x3447e4,_0xb850b4={'labelPosition':_0x3447e4-_0x2d8fe7>=_0x836d21?_0x359e6c(0x24e):'bottom','sheetID':_0x5128aa,'range':_0x48a63e,'color':_0x439915,'name':_0x51456a,'selection':_0x49a964,'left':_0x253ad9,'top':_0x3447e4,'width':_0x30cfe8,'height':_0xda1b15,'evented':!0x1,'zIndex':_0x586597};return new _0xdf647a(_0x51456a,_0xb850b4);});_0x588e90[_0x3c4167(0x214)](_0x57d797,_0x53cfb2),this['_cursors']=new Set(_0x57d797);}['_removeCollabCursors'](){const _0x1f071a=_0x607acc;var _0x31d986;(_0x31d986=this[_0x1f071a(0x16b)])==null||_0x31d986[_0x1f071a(0x284)](_0x49c7c0=>_0x49c7c0[_0x1f071a(0x185)]());}['_getSheetObject'](){const _0x580350=_0x607acc;return _0x4bc061[_0x580350(0xf3)](this[_0x580350(0x1f1)][_0x580350(0xe5)],this[_0x580350(0x1f1)]);}};_0x2ee156=_0x2851a9([_0x3b4421(0x1,_0x327729[_0x607acc(0x1cc)](_0x4bc061[_0x607acc(0x1bc)])),_0x3b4421(0x2,_0x327729['Inject'](_0x4dc4bf)),_0x3b4421(0x3,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x155)]))],_0x2ee156);function _0x129c87(_0x5d780a){const _0x21b3ad=_0x607acc,_0x31ee8a=new Map();return _0x5d780a[_0x21b3ad(0x284)](_0x48a598=>{const _0xc88ec7=_0x21b3ad;if(_0x31ee8a['has'](_0x48a598['selection'])){const _0x342954=_0x31ee8a[_0xc88ec7(0x1e4)](_0x48a598['selection']);_0x342954[_0xc88ec7(0x24d)]+=',\x20'+_0x48a598[_0xc88ec7(0x24d)];}else _0x31ee8a[_0xc88ec7(0x264)](_0x48a598[_0xc88ec7(0x121)],_0x48a598);}),Array[_0x21b3ad(0x216)](_0x31ee8a[_0x21b3ad(0xbf)]());}var _0x569918=function(){const _0x36b8e5=_0x607acc;return _0x569918=Object[_0x36b8e5(0x1da)]||function(_0x4b222f){const _0x4181b2=_0x36b8e5;for(var _0x490e5f,_0x55baa0=0x1,_0x1012cb=arguments[_0x4181b2(0x304)];_0x55baa0<_0x1012cb;_0x55baa0++){_0x490e5f=arguments[_0x55baa0];for(var _0x583e76 in _0x490e5f)Object[_0x4181b2(0x124)]['hasOwnProperty'][_0x4181b2(0x306)](_0x490e5f,_0x583e76)&&(_0x4b222f[_0x583e76]=_0x490e5f[_0x583e76]);}return _0x4b222f;},_0x569918[_0x36b8e5(0x188)](this,arguments);},_0x13bc25=function(_0x54c832,_0x3c0584){const _0x5bc4fa=_0x607acc;var _0x15fd6c={};for(var _0x1753e2 in _0x54c832)Object['prototype'][_0x5bc4fa(0x28b)]['call'](_0x54c832,_0x1753e2)&&_0x3c0584[_0x5bc4fa(0x194)](_0x1753e2)<0x0&&(_0x15fd6c[_0x1753e2]=_0x54c832[_0x1753e2]);if(_0x54c832!=null&&typeof Object[_0x5bc4fa(0x1e0)]=='function'){for(var _0x3d10d6=0x0,_0x1753e2=Object[_0x5bc4fa(0x1e0)](_0x54c832);_0x3d10d6<_0x1753e2[_0x5bc4fa(0x304)];_0x3d10d6++)_0x3c0584[_0x5bc4fa(0x194)](_0x1753e2[_0x3d10d6])<0x0&&Object[_0x5bc4fa(0x124)][_0x5bc4fa(0x31b)][_0x5bc4fa(0x306)](_0x54c832,_0x1753e2[_0x3d10d6])&&(_0x15fd6c[_0x1753e2[_0x3d10d6]]=_0x54c832[_0x1753e2[_0x3d10d6]]);}return _0x15fd6c;},_0x2da740=_0x5d517a[_0x607acc(0x139)](function(_0x39ae48,_0x2a4f96){const _0x31961b=_0x607acc;var _0x43902d=_0x39ae48['icon'],_0x480f4b=_0x39ae48['id'],_0x5f0d2e=_0x39ae48[_0x31961b(0x18f)],_0x1ce877=_0x39ae48[_0x31961b(0x203)],_0x2020de=_0x13bc25(_0x39ae48,[_0x31961b(0xf1),'id','className',_0x31961b(0x203)]),_0x3f6e43='univerjs-icon\x20univerjs-icon-'['concat'](_0x480f4b,'\x20')[_0x31961b(0x152)](_0x5f0d2e||'')['trim'](),_0x3ff8ea=_0x5d517a[_0x31961b(0x2f0)]('_'[_0x31961b(0x152)](_0x2ea06e()));return _0x48486c(_0x43902d,''[_0x31961b(0x152)](_0x480f4b),{'defIds':_0x43902d[_0x31961b(0x25f)],'idSuffix':_0x3ff8ea['current']},_0x569918({'ref':_0x2a4f96,'className':_0x3f6e43},_0x2020de),_0x1ce877);});function _0x48486c(_0x6359d5,_0x2cf3ad,_0x243d49,_0x6ffdee,_0x2c6994){const _0x404007=_0x607acc;return _0x5d517a[_0x404007(0x2e3)](_0x6359d5[_0x404007(0x289)],_0x569918(_0x569918({'key':_0x2cf3ad},_0x56b2cb(_0x6359d5,_0x243d49,_0x2c6994)),_0x6ffdee),(_0x890d0e(_0x6359d5,_0x243d49)[_0x404007(0x99)]||[])[_0x404007(0x134)](function(_0x186208,_0x1d1d23){const _0x3e4e64=_0x404007;return _0x48486c(_0x186208,''[_0x3e4e64(0x152)](_0x2cf3ad,'-')[_0x3e4e64(0x152)](_0x6359d5[_0x3e4e64(0x289)],'-')['concat'](_0x1d1d23),_0x243d49,void 0x0,_0x2c6994);}));}function _0x56b2cb(_0x113a40,_0x2b65fe,_0xdd235){const _0xc474b0=_0x607acc;var _0x211b5e=_0x569918({},_0x113a40['attrs']);_0xdd235!=null&&_0xdd235[_0xc474b0(0x1ec)]&&_0x211b5e[_0xc474b0(0x18d)]===_0xc474b0(0x1ec)&&(_0x211b5e[_0xc474b0(0x18d)]=_0xdd235[_0xc474b0(0x1ec)]),_0x113a40[_0xc474b0(0x289)]===_0xc474b0(0x206)&&_0x211b5e['id']&&(_0x211b5e['id']=_0x211b5e['id']+_0x2b65fe['idSuffix']),Object['entries'](_0x211b5e)['forEach'](function(_0x23e6f2){const _0x3b6939=_0xc474b0;var _0x2f0090=_0x23e6f2[0x0],_0x279013=_0x23e6f2[0x1];_0x2f0090===_0x3b6939(0x206)&&typeof _0x279013=='string'&&(_0x211b5e[_0x2f0090]=_0x279013[_0x3b6939(0x26c)](/url\(#(.*)\)/,_0x3b6939(0x212)['concat'](_0x2b65fe[_0x3b6939(0x2b6)],')')));});var _0x1ff271=_0x2b65fe[_0xc474b0(0x25f)];return!_0x1ff271||_0x1ff271[_0xc474b0(0x304)]===0x0||(_0x113a40[_0xc474b0(0x289)]===_0xc474b0(0x162)&&_0x211b5e['xlink:href']&&(_0x211b5e['xlink:href']=_0x211b5e['xlink:href']+_0x2b65fe[_0xc474b0(0x2b6)]),Object[_0xc474b0(0x147)](_0x211b5e)[_0xc474b0(0x284)](function(_0x110fe0){const _0x2acf87=_0xc474b0;var _0x20dfcb=_0x110fe0[0x0],_0x276482=_0x110fe0[0x1];typeof _0x276482==_0x2acf87(0x177)&&(_0x211b5e[_0x20dfcb]=_0x276482[_0x2acf87(0x26c)](/url\(#(.*)\)/,_0x2acf87(0x212)['concat'](_0x2b65fe['idSuffix'],')')));})),_0x211b5e;}function _0x890d0e(_0x1e48e0,_0x3fe25e){const _0xa493da=_0x607acc;var _0x2d6411,_0x33f0a5=_0x3fe25e['defIds'];return!_0x33f0a5||_0x33f0a5[_0xa493da(0x304)]===0x0?_0x1e48e0:_0x1e48e0[_0xa493da(0x289)]===_0xa493da(0x312)&&(!((_0x2d6411=_0x1e48e0[_0xa493da(0x99)])===null||_0x2d6411===void 0x0)&&_0x2d6411[_0xa493da(0x304)])?_0x569918(_0x569918({},_0x1e48e0),{'children':_0x1e48e0[_0xa493da(0x99)][_0xa493da(0x134)](function(_0x1a3065){const _0x4e448e=_0xa493da;return typeof _0x1a3065['attrs']['id']==_0x4e448e(0x177)&&_0x33f0a5&&_0x33f0a5[_0x4e448e(0x2c6)](_0x1a3065[_0x4e448e(0x1f3)]['id'])?_0x569918(_0x569918({},_0x1a3065),{'attrs':_0x569918(_0x569918({},_0x1a3065[_0x4e448e(0x1f3)]),{'id':_0x1a3065[_0x4e448e(0x1f3)]['id']+_0x3fe25e[_0x4e448e(0x2b6)]})}):_0x1a3065;})}):_0x1e48e0;}function _0x2ea06e(){const _0x3c9e63=_0x607acc;return Math[_0x3c9e63(0x2cf)]()[_0x3c9e63(0x2ba)](0x24)[_0x3c9e63(0xf2)](0x2,0x8);}_0x2da740[_0x607acc(0x280)]=_0x607acc(0x2ab);var _0x208915={'tag':_0x607acc(0xf9),'attrs':{'xmlns':_0x607acc(0x179),'fill':_0x607acc(0x2c0),'viewBox':'0\x200\x2016\x2016','width':_0x607acc(0x2e9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x607acc(0x14b)},'children':[{'tag':'path','attrs':{'stroke':_0x607acc(0x219),'d':_0x607acc(0x247),'strokeLinecap':_0x607acc(0x2c9),'strokeLinejoin':_0x607acc(0x2c9),'strokeWidth':1.2}}]},{'tag':_0x607acc(0x312),'attrs':{},'children':[{'tag':_0x607acc(0x15d),'attrs':{'id':_0x607acc(0x262)},'children':[{'tag':_0x607acc(0x23c),'attrs':{'fill':_0x607acc(0x1ac),'d':_0x607acc(0xab)}}]}]}],'defIds':[_0x607acc(0x262)]},_0xc1ff51=_0x5d517a[_0x607acc(0x139)](function(_0xfcc96e,_0x1d21d6){const _0x46c794=_0x607acc;return _0x5d517a[_0x46c794(0x2e3)](_0x2da740,Object[_0x46c794(0x1da)]({},_0xfcc96e,{'id':_0x46c794(0x17d),'ref':_0x1d21d6,'icon':_0x208915}));});_0xc1ff51[_0x607acc(0x280)]='OffLineIcon';var _0x46ec1f={'tag':_0x607acc(0xf9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x607acc(0x2ca),'width':_0x607acc(0x2e9),'height':_0x607acc(0x2e9)},'children':[{'tag':'g','attrs':{'clipPath':_0x607acc(0x1a6)},'children':[{'tag':_0x607acc(0x23c),'attrs':{'stroke':_0x607acc(0x219),'d':_0x607acc(0x171),'strokeLinecap':'round','strokeLinejoin':_0x607acc(0x2c9),'strokeWidth':1.2}}]},{'tag':_0x607acc(0x312),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x607acc(0xa0)},'children':[{'tag':_0x607acc(0x23c),'attrs':{'fill':'white','d':_0x607acc(0xab),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x22c062=_0x5d517a['forwardRef'](function(_0x47ecc4,_0x374d63){const _0x490291=_0x607acc;return _0x5d517a[_0x490291(0x2e3)](_0x2da740,Object['assign']({},_0x47ecc4,{'id':_0x490291(0x253),'ref':_0x374d63,'icon':_0x46ec1f}));});_0x22c062['displayName']=_0x607acc(0xd4);function _0x261076(_0x1b9e3b){const _0x23b4b3=_0x607acc;switch(_0x1b9e3b){case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x104)]:return _0x23b4b3(0x1ce);case _0x106dd7['CollaborationStatus'][_0x23b4b3(0x236)]:return _0x23b4b3(0x197);case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x9c)]:return _0x23b4b3(0x31a);case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x120)]:return _0x23b4b3(0x245);case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x19d)]:case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x1d9)]:return _0x23b4b3(0x204);case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x314)]:case _0x106dd7['CollaborationStatus'][_0x23b4b3(0x249)]:return _0x23b4b3(0x2a2);}}function _0x12c585(_0x1b446e){const _0x480cfa=_0x607acc,{status$:_0xb82dbe}=_0x1b446e,_0x12f5fc=_0x1eafc9['useObservable'](_0xb82dbe,_0x106dd7['CollaborationStatus'][_0x480cfa(0x120)]),_0x3d2e5b=_0x1eafc9['useDependency'](_0x327729[_0x480cfa(0x2c3)]),_0x175df7=_0x1eafc9['useDependency'](_0x106dd7[_0x480cfa(0x1de)]),_0x2bfacb=_0x12f5fc!==_0x106dd7['CollaborationStatus'][_0x480cfa(0x104)],_0x34f151=_0x3d2e5b['t'](_0x261076(_0x12f5fc)),_0x44441a=_0x2bfacb?_0x1dfa0c[_0x480cfa(0x308)](_0x22c062,{}):_0x1dfa0c[_0x480cfa(0x308)](_0xc1ff51,{}),_0x488f04=_0x5d517a[_0x480cfa(0x21b)](()=>{const _0x2cae97=_0x480cfa;_0x2bfacb||_0x175df7[_0x2cae97(0x24c)]();},[_0x2bfacb,_0x175df7]);function _0x4a9e46(){const _0x5ee47c=_0x480cfa;return _0x1dfa0c[_0x5ee47c(0xd0)](_0x5ee47c(0x279),{'className':_0x5ee47c(0x1fb),'onClick':_0x488f04,'children':[_0x1dfa0c[_0x5ee47c(0x308)](_0x5ee47c(0x279),{'className':_0x4fad06[_0x5ee47c(0x98)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2bfacb,'univer-text-red-500':!_0x2bfacb}),'children':_0x44441a}),_0x1dfa0c['jsx'](_0x5ee47c(0x279),{'className':_0x5ee47c(0x2cd),'children':_0x34f151})]});}return _0x2bfacb?_0x4a9e46():_0x1dfa0c['jsx'](_0x4fad06[_0x480cfa(0x278)],{'title':_0x3d2e5b['t'](_0x480cfa(0x2bd)),'children':_0x4a9e46()});}var _0x5da480=Object['getOwnPropertyDescriptor'],_0x46d961=(_0x2129e3,_0x5bf7dd,_0x2f883b,_0x59e2fa)=>{const _0xaa010b=_0x607acc;for(var _0x4a5be7=_0x59e2fa>0x1?void 0x0:_0x59e2fa?_0x5da480(_0x5bf7dd,_0x2f883b):_0x5bf7dd,_0x56a19c=_0x2129e3[_0xaa010b(0x304)]-0x1,_0x172bda;_0x56a19c>=0x0;_0x56a19c--)(_0x172bda=_0x2129e3[_0x56a19c])&&(_0x4a5be7=_0x172bda(_0x4a5be7)||_0x4a5be7);return _0x4a5be7;},_0x2bd8c=(_0x26392f,_0x23e65a)=>(_0xd04196,_0x39d796)=>_0x23e65a(_0xd04196,_0x39d796,_0x26392f);_0x54a1e0[_0x607acc(0xd7)]=class extends _0x327729['Disposable']{constructor(_0x314c02,_0x42bc98,_0x3d300f,_0x143a02){const _0x26af47=_0x607acc;super(),_0x338777(this,_0x26af47(0x2b3),new _0x4a689b[(_0x26af47(0xa9))](_0x106dd7[_0x26af47(0x12d)][_0x26af47(0x120)])),(this[_0x26af47(0x2c5)]=_0x314c02,this['_injector']=_0x42bc98,this['_collaborationController']=_0x3d300f,this[_0x26af47(0xa1)]=_0x143a02,this[_0x26af47(0x148)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x340726=_0x607acc;this[_0x340726(0xb8)](this[_0x340726(0x2c5)]['focused$'][_0x340726(0x30f)](_0x4a689b[_0x340726(0x24b)](()=>{const _0x552a76=_0x340726,_0x18e9d0=this[_0x552a76(0x2c5)][_0x552a76(0xff)]();return _0x18e9d0?this[_0x552a76(0x2d0)][_0x552a76(0xaa)](_0x18e9d0[_0x552a76(0x309)]()):_0x4a689b['of'](null);}),_0x4a689b['switchMap'](_0x507f7c=>_0x507f7c?_0x507f7c[_0x340726(0x25e)]:_0x4a689b['of'](_0x106dd7['CollaborationStatus'][_0x340726(0x120)])))[_0x340726(0x10d)](_0x2b66e0=>{const _0x5557ff=_0x340726;this[_0x5557ff(0x2b3)][_0x5557ff(0x1dd)](_0x2b66e0);}));}[_0x607acc(0x148)](){const _0x153232=_0x607acc;this[_0x153232(0xb8)](this['_uiPartsService'][_0x153232(0x18e)](_0x1eafc9[_0x153232(0x2e4)][_0x153232(0x16d)],()=>_0x1eafc9[_0x153232(0x316)](_0x38e21e({'status$':this[_0x153232(0x2b3)][_0x153232(0x310)]()}),this[_0x153232(0x170)])));}},_0x54a1e0['DesktopCollaborationStatusDisplayController']=_0x46d961([_0x2bd8c(0x0,_0x327729['IUniverInstanceService']),_0x2bd8c(0x1,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x2bd8c(0x2,_0x327729[_0x607acc(0x1cc)](_0x106dd7[_0x607acc(0xae)])),_0x2bd8c(0x3,_0x1eafc9[_0x607acc(0x145)])],_0x54a1e0[_0x607acc(0xd7)]);function _0x38e21e(_0x5c1943){const {status$:_0x32b340}=_0x5c1943;return function(){const _0x55580d=_0x3c3b;return _0x1dfa0c[_0x55580d(0x308)](_0x12c585,{'status$':_0x32b340});};}var _0x4ccc78=Object['getOwnPropertyDescriptor'],_0x3a723a=(_0x1b03c2,_0x14b21a,_0x1edeb3,_0x42dbb9)=>{const _0x423028=_0x607acc;for(var _0x216bc6=_0x42dbb9>0x1?void 0x0:_0x42dbb9?_0x4ccc78(_0x14b21a,_0x1edeb3):_0x14b21a,_0x3d68a6=_0x1b03c2[_0x423028(0x304)]-0x1,_0x48228e;_0x3d68a6>=0x0;_0x3d68a6--)(_0x48228e=_0x1b03c2[_0x3d68a6])&&(_0x216bc6=_0x48228e(_0x216bc6)||_0x216bc6);return _0x216bc6;},_0x5b880b=(_0x6ec28e,_0x21a571)=>(_0x27eac2,_0x4f7863)=>_0x21a571(_0x27eac2,_0x4f7863,_0x6ec28e);let _0x2ffb89=class extends _0x327729[_0x607acc(0x22f)]{constructor(_0x3436c9,_0x36bcfb,_0x237680,_0x48e209,_0x56dafb,_0x4f8955){const _0x2b51d=_0x607acc;super(),this[_0x2b51d(0x222)]=_0x3436c9,this[_0x2b51d(0xbc)]=_0x36bcfb,this[_0x2b51d(0x13b)]=_0x237680,this['_messageService']=_0x48e209,this[_0x2b51d(0x220)]=_0x56dafb,this['_localeService']=_0x4f8955,this[_0x2b51d(0xd6)](),this[_0x2b51d(0x1f5)]();}[_0x607acc(0xd6)](){const _0x28ba70=_0x607acc;this['disposeWithMe'](this[_0x28ba70(0x222)]['registerBeforeClose'](()=>{const _0x404b07=_0x28ba70;if(this['_localCacheService'][_0x404b07(0x103)][_0x404b07(0x1db)])return this['_localeService']['t'](_0x404b07(0x1b8));}));}[_0x607acc(0x1f5)](){const _0xffd49f=_0x607acc;this[_0xffd49f(0xb8)](this[_0xffd49f(0x13b)]['event$'][_0xffd49f(0x10d)](_0x881b56=>{const _0x40a472=_0xffd49f;_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0x2d8)]&&this[_0x40a472(0x24f)][_0x40a472(0x172)]({'type':_0x4fad06[_0x40a472(0xc4)]['Warning'],'content':this[_0x40a472(0x1d1)]['t']('collaboration.single-unit.warning')}),_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0x1b4)]&&this[_0x40a472(0x24f)]['show']({'type':_0x4fad06[_0x40a472(0xc4)][_0x40a472(0x2dc)],'content':this[_0x40a472(0x1d1)]['t'](_0x40a472(0x2fc))}),_0x881b56['id']===_0x106dd7['CollaborationUIEventId'][_0x40a472(0x267)]&&this['_notificationService'][_0x40a472(0x172)]({'title':this[_0x40a472(0x1d1)]['t']('permission.title'),'content':this[_0x40a472(0x1d1)]['t'](_0x40a472(0xb9)),'type':'error','duration':0x0}),_0x881b56['id']===_0x106dd7['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x40a472(0x172)]({'type':_0x4fad06['MessageType'][_0x40a472(0x23d)],'content':this[_0x40a472(0x1d1)]['t'](_0x40a472(0x2fc))+'('+_0x881b56['data']+')'}),_0x881b56['id']===_0x106dd7['CollaborationUIEventId'][_0x40a472(0x319)]&&this['_messageService'][_0x40a472(0x172)]({'type':_0x4fad06['MessageType'][_0x40a472(0x2dc)],'content':this['_localeService']['t'](_0x881b56[_0x40a472(0x2ef)]||'')}),_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0x1c7)]&&this['_messageService'][_0x40a472(0x172)]({'type':_0x4fad06['MessageType'][_0x40a472(0x2dc)],'content':this[_0x40a472(0x1d1)]['t']('session.will-retry')}),_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0x105)]&&this['_messageService'][_0x40a472(0x172)]({'type':_0x4fad06[_0x40a472(0xc4)]['Error'],'content':this[_0x40a472(0x1d1)]['t'](_0x40a472(0x237))}),_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0xc5)]&&this[_0x40a472(0x24f)][_0x40a472(0x172)]({'type':_0x4fad06[_0x40a472(0xc4)][_0x40a472(0x23d)],'content':this['_localeService']['t'](_0x40a472(0x276))});}));}};_0x2ffb89=_0x3a723a([_0x5b880b(0x0,_0x1eafc9[_0x607acc(0x19a)]),_0x5b880b(0x1,_0x106dd7['ILocalCacheService']),_0x5b880b(0x2,_0x327729[_0x607acc(0x1cc)](_0x106dd7[_0x607acc(0x23b)])),_0x5b880b(0x3,_0x1eafc9[_0x607acc(0x10a)]),_0x5b880b(0x4,_0x1eafc9[_0x607acc(0x227)]),_0x5b880b(0x5,_0x327729[_0x607acc(0x1cc)](_0x327729['LocaleService']))],_0x2ffb89);const _0x167d12=_0x607acc(0x136),_0x33c385={},_0x4bc93e=_0x327729[_0x607acc(0x2ae)](_0x607acc(0x1e1));var _0x1fafa9=Object[_0x607acc(0x30e)],_0x105ef0=(_0x7fc01,_0x4f33ed,_0x2d9c71,_0x254d34)=>{for(var _0x94cbc6=_0x254d34>0x1?void 0x0:_0x254d34?_0x1fafa9(_0x4f33ed,_0x2d9c71):_0x4f33ed,_0x32b442=_0x7fc01['length']-0x1,_0x5efc8a;_0x32b442>=0x0;_0x32b442--)(_0x5efc8a=_0x7fc01[_0x32b442])&&(_0x94cbc6=_0x5efc8a(_0x94cbc6)||_0x94cbc6);return _0x94cbc6;},_0x9d791f=(_0x27c234,_0xd317d5)=>(_0x249ce0,_0x53e49a)=>_0xd317d5(_0x249ce0,_0x53e49a,_0x27c234);_0x54a1e0[_0x607acc(0x10e)]=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x1e2b8a,_0x18218f,_0x5c01f5,_0x5b0704,_0x2b7c9b){const _0x135579=_0x607acc;super(),this[_0x135579(0x15a)]=_0x1e2b8a,this[_0x135579(0x1a7)]=_0x18218f,this['_commandService']=_0x5c01f5,this[_0x135579(0x9e)]=_0x5b0704,_0x2b7c9b?_0x2b7c9b==null||_0x2b7c9b[_0x135579(0x2a5)]()[_0x135579(0x209)](()=>this['_init']()):(this[_0x135579(0x1a7)][_0x135579(0x9b)](_0x135579(0x2d9),_0x135579(0x2e8)),this[_0x135579(0x135)]());}async[_0x607acc(0x135)](){const _0x21eb87=_0x607acc,_0x1186d3=this[_0x21eb87(0x15a)]['getParam'](_0x21eb87(0xe5)),_0x49dc83=this['_urlService'][_0x21eb87(0x1d7)](_0x21eb87(0x1a0)),_0x119ffa=this[_0x21eb87(0x15a)][_0x21eb87(0x1d7)](_0x21eb87(0xb0));if(!_0x1186d3||!_0x49dc83){this[_0x21eb87(0x1a7)][_0x21eb87(0x9b)](_0x21eb87(0x2d9),_0x21eb87(0xac));return;}const _0x109296=await this[_0x21eb87(0x9e)][_0x21eb87(0x29a)](_0x1186d3,Number(_0x49dc83),_0x119ffa);_0x109296&&_0x109296 instanceof _0x327729[_0x21eb87(0x1fc)]&&this[_0x21eb87(0x117)](_0x109296);}async[_0x607acc(0x117)](_0x525501){const _0xd5a01f=_0x607acc;await this[_0xd5a01f(0x114)](_0x525501),_0x525501[_0xd5a01f(0x1d5)]['pipe'](_0x4a689b[_0xd5a01f(0xec)](this['dispose$']))['subscribe'](_0x3188b0=>{const _0x34d4f7=_0xd5a01f;_0x3188b0&&this[_0x34d4f7(0x1fd)](_0x3188b0);}),this[_0xd5a01f(0x15a)][_0xd5a01f(0x2df)][_0xd5a01f(0x30f)](_0x4a689b[_0xd5a01f(0xec)](this['dispose$']))[_0xd5a01f(0x10d)](()=>this['_updateSubUnitFromURLParams'](_0x525501));}['_updateURLWithCurrentState'](_0x1c4637,_0x4d4637=!0x1){const _0x560a05=_0x607acc,_0x8a7371=this['_urlService'][_0x560a05(0x1d7)](_0x560a05(0xb0));_0x1c4637['getSheetId']()!==_0x8a7371&&this[_0x560a05(0x15a)][_0x560a05(0xef)](_0x560a05(0xb0),_0x1c4637[_0x560a05(0x25b)](),_0x4d4637);}async[_0x607acc(0x114)](_0x3357f5){const _0x1b4fbb=_0x607acc;var _0x673a90;const _0x403aca=this[_0x1b4fbb(0x15a)][_0x1b4fbb(0x1d7)]('subunit');if(!_0x403aca||!_0x3357f5['getSheetBySheetId'](_0x403aca)){const _0x5b4932=_0x3357f5[_0x1b4fbb(0x27d)]()[0x0],_0x286311=_0x3357f5[_0x1b4fbb(0x2c1)](_0x5b4932);if(!_0x286311)return;this['_updateURLWithCurrentState'](_0x286311,!0x0),await this[_0x1b4fbb(0x1fe)]['executeCommand'](_0xf4e447[_0x1b4fbb(0x112)]['id'],{'unitId':_0x3357f5['getUnitId'](),'subUnitId':_0x5b4932});return;}((_0x673a90=_0x3357f5[_0x1b4fbb(0x297)]())==null?void 0x0:_0x673a90[_0x1b4fbb(0x25b)]())!==_0x403aca&&await this[_0x1b4fbb(0x1fe)][_0x1b4fbb(0xd9)](_0xf4e447['SetWorksheetActivateCommand']['id'],{'unitId':_0x3357f5[_0x1b4fbb(0x309)](),'subUnitId':_0x403aca});}},_0x54a1e0[_0x607acc(0x10e)]=_0x105ef0([_0x9d791f(0x0,_0x4bc93e),_0x9d791f(0x1,_0x327729[_0x607acc(0xfe)]),_0x9d791f(0x2,_0x327729[_0x607acc(0x2eb)]),_0x9d791f(0x3,_0x327729[_0x607acc(0x1cc)](_0x106dd7['DataLoaderService'])),_0x9d791f(0x4,_0x327729['Optional'](_0x76fef8['IRemoteInstanceService']))],_0x54a1e0[_0x607acc(0x10e)]);var _0x1479c7=Object[_0x607acc(0x30e)],_0x43ce1a=(_0x4e911d,_0x2ee6cd,_0x4de26c,_0x321d90)=>{const _0x214818=_0x607acc;for(var _0x5bf153=_0x321d90>0x1?void 0x0:_0x321d90?_0x1479c7(_0x2ee6cd,_0x4de26c):_0x2ee6cd,_0x3db76d=_0x4e911d[_0x214818(0x304)]-0x1,_0x4dca8d;_0x3db76d>=0x0;_0x3db76d--)(_0x4dca8d=_0x4e911d[_0x3db76d])&&(_0x5bf153=_0x4dca8d(_0x5bf153)||_0x5bf153);return _0x5bf153;},_0x296d64=(_0x6bda02,_0x3fdae6)=>(_0x570a7b,_0x1d01d6)=>_0x3fdae6(_0x570a7b,_0x1d01d6,_0x6bda02);let _0xb1a5f=class{constructor(_0x36d720,_0xd694a8,_0x47bdcd){const _0x35ee4c=_0x607acc;this[_0x35ee4c(0x170)]=_0x36d720,this['_transformService']=_0xd694a8,this[_0x35ee4c(0x122)]=_0x47bdcd;}[_0x607acc(0x21a)](_0x4aa55a){const _0x519ffe=_0x607acc;this[_0x519ffe(0x18a)](_0x4aa55a),this[_0x519ffe(0x16c)](_0x4aa55a);}[_0x607acc(0x277)](_0x4bf7fb){const _0x26cf2d=_0x607acc,{unitID:_0x4e76b8}=_0x4bf7fb,_0xa91039=this[_0x26cf2d(0x122)][_0x26cf2d(0x229)](_0x4e76b8)[_0x26cf2d(0x26f)](_0x88e369[_0x26cf2d(0xe0)]),{redoCache:_0x48b781}=_0xa91039['getUndoRedoMutationParamsCache']();if(_0x48b781[_0x26cf2d(0x304)]===0x0)return _0x4bf7fb;let _0x4a6f83=_0x327729[_0x26cf2d(0x11c)][_0x26cf2d(0xe4)](_0x4bf7fb[_0x26cf2d(0x1cf)][0x0]);for(let _0xfbd6f2=0x0;_0xfbd6f2<_0x48b781[_0x26cf2d(0x304)];_0xfbd6f2++){const _0x3eed10={'id':_0x26cf2d(0x27f),'params':{..._0x48b781[_0xfbd6f2]}},_0x36cca9=this[_0x26cf2d(0x305)][_0x26cf2d(0x320)](_0x4a6f83,_0x3eed10,!0x1);if(_0x4ac0c0[_0x26cf2d(0xaf)](_0x36cca9))throw _0x36cca9[_0x26cf2d(0x1a4)];_0x4a6f83=_0x36cca9[_0x26cf2d(0x221)];}return{..._0x327729[_0x26cf2d(0x11c)]['deepClone'](_0x4bf7fb),'mutations':[_0x4a6f83]};}[_0x607acc(0x18a)](_0x1834cb){const _0x4c9244=_0x607acc,{unitID:_0x320ad1}=_0x1834cb,_0x182553=this['_renderManagerService']['getRenderById'](_0x320ad1)[_0x4c9244(0x26f)](_0x88e369[_0x4c9244(0xe0)]),{undoCache:_0xae9763,redoCache:_0x26a72b}=_0x182553[_0x4c9244(0x2a1)]();if(_0xae9763['length']===0x0||_0x26a72b[_0x4c9244(0x304)]===0x0)return;const _0x3e5547=[],_0x453839=[];let _0x3aec58=_0x327729[_0x4c9244(0x11c)]['deepClone'](_0x1834cb[_0x4c9244(0x1cf)][0x0]),_0x1e835b=_0x327729[_0x4c9244(0x11c)][_0x4c9244(0xe4)](_0x1834cb[_0x4c9244(0x1cf)][0x0]);for(let _0x51625d=_0xae9763[_0x4c9244(0x304)]-0x1;_0x51625d>=0x0;_0x51625d--){const _0x13e87b={'id':_0x4c9244(0x27f),'params':{..._0xae9763[_0x51625d]}},_0x8314b1={'id':_0x4c9244(0x27f),'params':{..._0x26a72b[_0x51625d]}},_0x4aff16=this[_0x4c9244(0x305)]['transformMutation'](_0x3aec58,_0x13e87b,!0x1),_0x164a93=this[_0x4c9244(0x305)]['transformMutation'](_0x1e835b,_0x8314b1,!0x1);if(_0x4ac0c0['isTransformMutationFailure'](_0x4aff16))throw _0x4aff16[_0x4c9244(0x1a4)];if(_0x4ac0c0[_0x4c9244(0xaf)](_0x164a93))throw _0x164a93['error'];_0x3e5547[_0x4c9244(0x2b1)](_0x4aff16[_0x4c9244(0x1be)]['params']),_0x453839[_0x4c9244(0x2b1)](_0x164a93['m2Prime']['params']),_0x3aec58=_0x4aff16[_0x4c9244(0x221)],_0x1e835b=_0x164a93['m1Prime'];}_0x182553[_0x4c9244(0xa2)]({'undoCache':_0x3e5547,'redoCache':_0x453839});}['_transformPreviousActiveRange'](_0x4d7972){const _0x3dca76=_0x607acc,{unitID:_0x2f2c52}=_0x4d7972,_0x5a6cf6=this[_0x3dca76(0x122)]['getRenderById'](_0x2f2c52)[_0x3dca76(0x26f)](_0x88e369[_0x3dca76(0xe0)]),_0x5cc0f3=_0x5a6cf6[_0x3dca76(0x137)]();if(_0x5cc0f3==null)return;const _0x1a6fbe=[{'id':_0x3dca76(0x27f),'params':{'unitId':_0x4d7972[_0x3dca76(0x1d3)],'actions':null,'textRanges':[_0x5cc0f3]}}],_0x300949=this[_0x3dca76(0x305)]['transformMutationsWithChangeset'](_0x4d7972,_0x1a6fbe);if(!_0x4ac0c0['isTransformMutationsWithChangesetSuccess'](_0x300949))throw _0x300949[_0x3dca76(0x1a4)];const _0x355c96=_0x300949[_0x3dca76(0x1be)][0x0]['params'][_0x3dca76(0xf0)];Array[_0x3dca76(0x12b)](_0x355c96)&&_0x355c96[_0x3dca76(0x304)]&&_0x5a6cf6[_0x3dca76(0x25c)](_0x355c96[0x0]);}};_0xb1a5f=_0x43ce1a([_0x296d64(0x0,_0x327729[_0x607acc(0x1cc)](_0x327729['Injector'])),_0x296d64(0x1,_0x4ac0c0[_0x607acc(0x130)]),_0x296d64(0x2,_0x19e16c[_0x607acc(0x2f5)])],_0xb1a5f);var _0x5b0b28=Object['getOwnPropertyDescriptor'],_0x5ec2bd=(_0x427883,_0x470923,_0x3a934a,_0x3e0da7)=>{const _0x422996=_0x607acc;for(var _0x8055b3=_0x3e0da7>0x1?void 0x0:_0x3e0da7?_0x5b0b28(_0x470923,_0x3a934a):_0x470923,_0x2ccc8d=_0x427883[_0x422996(0x304)]-0x1,_0x4241bf;_0x2ccc8d>=0x0;_0x2ccc8d--)(_0x4241bf=_0x427883[_0x2ccc8d])&&(_0x8055b3=_0x4241bf(_0x8055b3)||_0x8055b3);return _0x8055b3;},_0x5e8367=(_0x14c865,_0x5582e6)=>(_0x57fb26,_0x4486ba)=>_0x5582e6(_0x57fb26,_0x4486ba,_0x14c865);let _0x546f56=class{constructor(_0x5f3a82,_0x4d30cd,_0x3da96a){const _0x16350f=_0x607acc;this[_0x16350f(0x170)]=_0x5f3a82,this[_0x16350f(0x305)]=_0x4d30cd,this[_0x16350f(0x11f)]=_0x3da96a;}[_0x607acc(0x2aa)](_0x4b05e3){const _0x43502c=_0x607acc;this[_0x43502c(0x251)](_0x4b05e3);}[_0x607acc(0x277)](_0xc47091){const _0x5b7e88=_0x607acc,{unitID:_0xc6bee0}=_0xc47091,{collaboration:_0x4c7df7}=this[_0x5b7e88(0x11f)][_0x5b7e88(0xa3)](_0xc6bee0);if(_0x4c7df7[_0x5b7e88(0x304)]===0x0)return _0xc47091;let _0x19f970=_0x327729[_0x5b7e88(0x11c)][_0x5b7e88(0xe4)](_0xc47091['mutations'][0x0]);for(let _0x48365f=0x0;_0x48365f<_0x4c7df7[_0x5b7e88(0x304)];_0x48365f++){const _0x1b1a35={'id':_0x5b7e88(0x27f),'params':{'unitId':_0x4c7df7[_0x48365f][_0x5b7e88(0x183)],..._0x4c7df7[_0x48365f][_0x5b7e88(0x22c)]}},_0x41af17=this[_0x5b7e88(0x305)]['transformMutation'](_0x19f970,_0x1b1a35,!0x1);if(_0x4ac0c0[_0x5b7e88(0xaf)](_0x41af17))throw _0x41af17['error'];_0x19f970=_0x41af17['m1Prime'];}return{..._0x327729[_0x5b7e88(0x11c)][_0x5b7e88(0xe4)](_0xc47091),'mutations':[_0x19f970]};}[_0x607acc(0x251)](_0x4b5a49){const _0x5ad471=_0x607acc,{unitID:_0x87ac14}=_0x4b5a49,{history:_0x5c00b1,collaboration:_0x55f77c}=this[_0x5ad471(0x11f)][_0x5ad471(0xa3)](_0x87ac14);if(_0x5c00b1['length']===0x0&&_0x55f77c[_0x5ad471(0x304)]===0x0)return;const _0x3441c1=[],_0x4acb42=[];let _0x15b492=_0x327729[_0x5ad471(0x11c)][_0x5ad471(0xe4)](_0x4b5a49['mutations'][0x0]),_0x10c391=_0x327729[_0x5ad471(0x11c)][_0x5ad471(0xe4)](_0x4b5a49['mutations'][0x0]);for(let _0x11329e=_0x5c00b1[_0x5ad471(0x304)]-0x1;_0x11329e>=0x0;_0x11329e--){const _0x31bb6b={'id':_0x5ad471(0x27f),'params':{'unitId':_0x5c00b1[_0x11329e][_0x5ad471(0x183)],..._0x5c00b1[_0x11329e][_0x5ad471(0x26d)]}},_0x543e51={'id':_0x5ad471(0x27f),'params':{'unitId':_0x5c00b1[_0x11329e][_0x5ad471(0x183)],..._0x5c00b1[_0x11329e][_0x5ad471(0x22c)]}},_0x129796=this[_0x5ad471(0x305)][_0x5ad471(0x320)](_0x15b492,_0x31bb6b,!0x1),_0x1ffda5=this['_transformService'][_0x5ad471(0x320)](_0x10c391,_0x543e51,!0x1);if(_0x4ac0c0[_0x5ad471(0xaf)](_0x129796))throw _0x129796[_0x5ad471(0x1a4)];if(_0x4ac0c0[_0x5ad471(0xaf)](_0x1ffda5))throw _0x1ffda5[_0x5ad471(0x1a4)];_0x3441c1[_0x5ad471(0x2b1)]({..._0x5c00b1[_0x11329e],'undoState':_0x129796['m2Prime'][_0x5ad471(0x127)],'redoState':_0x1ffda5[_0x5ad471(0x1be)]['params']}),_0x15b492=_0x129796['m1Prime'],_0x10c391=_0x1ffda5['m1Prime'];}_0x15b492=_0x327729[_0x5ad471(0x11c)][_0x5ad471(0xe4)](_0x4b5a49[_0x5ad471(0x1cf)][0x0]),_0x10c391=_0x327729[_0x5ad471(0x11c)][_0x5ad471(0xe4)](_0x4b5a49[_0x5ad471(0x1cf)][0x0]);for(let _0x52a0d7=_0x55f77c['length']-0x1;_0x52a0d7>=0x0;_0x52a0d7--){const _0x4e62a2={'id':_0x5ad471(0x27f),'params':{'unitId':_0x55f77c[_0x52a0d7][_0x5ad471(0x183)],..._0x55f77c[_0x52a0d7][_0x5ad471(0x26d)]}},_0x590ca6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55f77c[_0x52a0d7][_0x5ad471(0x183)],..._0x55f77c[_0x52a0d7][_0x5ad471(0x22c)]}},_0x4ccba0=this[_0x5ad471(0x305)][_0x5ad471(0x320)](_0x15b492,_0x4e62a2,!0x1),_0x49518a=this['_transformService'][_0x5ad471(0x320)](_0x10c391,_0x590ca6,!0x1);if(_0x4ac0c0[_0x5ad471(0xaf)](_0x4ccba0))throw _0x4ccba0[_0x5ad471(0x1a4)];if(_0x4ac0c0[_0x5ad471(0xaf)](_0x49518a))throw _0x49518a[_0x5ad471(0x1a4)];_0x4acb42['unshift']({..._0x55f77c[_0x52a0d7],'undoState':_0x4ccba0[_0x5ad471(0x1be)][_0x5ad471(0x127)],'redoState':_0x49518a[_0x5ad471(0x1be)]['params']}),_0x15b492=_0x4ccba0[_0x5ad471(0x221)],_0x10c391=_0x49518a[_0x5ad471(0x221)];}this['_docStateChangeManagerService']['setStateCache'](_0x87ac14,{'history':_0x3441c1,'collaboration':_0x4acb42});}};_0x546f56=_0x5ec2bd([_0x5e8367(0x0,_0x327729['Inject'](_0x327729[_0x607acc(0x258)])),_0x5e8367(0x1,_0x4ac0c0[_0x607acc(0x130)]),_0x5e8367(0x2,_0x327729[_0x607acc(0x1cc)](_0x88e369['DocStateChangeManagerService']))],_0x546f56);var _0x31360e=Object['getOwnPropertyDescriptor'],_0x373ef1=(_0x842e15,_0x5351e5,_0x4b25e1,_0x1461a8)=>{const _0x5e4ef0=_0x607acc;for(var _0x44e0f2=_0x1461a8>0x1?void 0x0:_0x1461a8?_0x31360e(_0x5351e5,_0x4b25e1):_0x5351e5,_0x542a0c=_0x842e15[_0x5e4ef0(0x304)]-0x1,_0x5703ee;_0x542a0c>=0x0;_0x542a0c--)(_0x5703ee=_0x842e15[_0x542a0c])&&(_0x44e0f2=_0x5703ee(_0x44e0f2)||_0x44e0f2);return _0x44e0f2;},_0x105c42=(_0x22011a,_0x26f35f)=>(_0x49f99c,_0x50d9f2)=>_0x26f35f(_0x49f99c,_0x50d9f2,_0x22011a);let _0x5b2986=class{constructor(_0x10f0bd,_0x2ff975){const _0x5d2f3f=_0x607acc;this['_injector']=_0x10f0bd,this[_0x5d2f3f(0x305)]=_0x2ff975;}['transformSelections'](_0x2967b3){const _0x55358d=_0x607acc;var _0x575557;const _0x34537b=this[_0x55358d(0x170)][_0x55358d(0x1e4)](_0xa5f8cf[_0x55358d(0x230)]),_0x6b8aa5=(_0x575557=_0x34537b[_0x55358d(0x255)]())!=null?_0x575557:[];if(_0x6b8aa5[_0x55358d(0x304)]===0x0)return;const _0x3fdb1c=_0x2967b3[_0x55358d(0x1d3)],_0x5648ca=[{'id':_0x55358d(0x27f),'params':{'unitId':_0x3fdb1c,'actions':null,'textRanges':_0x6b8aa5}}],_0x7f971c=this[_0x55358d(0x305)][_0x55358d(0x20f)](_0x2967b3,_0x5648ca);if(!_0x4ac0c0[_0x55358d(0x141)](_0x7f971c))throw _0x7f971c[_0x55358d(0x1a4)];const _0xc107cb=_0x7f971c[_0x55358d(0x1be)][0x0][_0x55358d(0x127)]['textRanges'];Array[_0x55358d(0x12b)](_0xc107cb)&&_0xc107cb[_0x55358d(0x304)]&&_0x34537b[_0x55358d(0xc9)](_0xc107cb,{'unitId':_0x3fdb1c,'subUnitId':_0x3fdb1c},!0x1);}};_0x5b2986=_0x373ef1([_0x105c42(0x0,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x105c42(0x1,_0x4ac0c0['ITransformService'])],_0x5b2986);var _0x186ad5=Object[_0x607acc(0x30e)],_0x2ec852=(_0x4cdc4d,_0x1c9809,_0x47195b,_0x30fc74)=>{const _0x506432=_0x607acc;for(var _0x2cadd7=_0x30fc74>0x1?void 0x0:_0x30fc74?_0x186ad5(_0x1c9809,_0x47195b):_0x1c9809,_0x11d693=_0x4cdc4d[_0x506432(0x304)]-0x1,_0x5492aa;_0x11d693>=0x0;_0x11d693--)(_0x5492aa=_0x4cdc4d[_0x11d693])&&(_0x2cadd7=_0x5492aa(_0x2cadd7)||_0x2cadd7);return _0x2cadd7;},_0x27faf7=(_0x3507b2,_0xc442ea)=>(_0x596988,_0x1d2491)=>_0xc442ea(_0x596988,_0x1d2491,_0x3507b2);let _0x25c51c=class extends _0x327729['Disposable']{constructor(_0x1bacc7,_0x25c2d9,_0x416a7e,_0x51009a,_0x1a935f,_0x269cc2,_0x5b2bc0,_0x57edc9){const _0x24965a=_0x607acc;super(),_0x338777(this,'_status$',new _0x4a689b[(_0x24965a(0xa9))](_0x106dd7[_0x24965a(0x12d)][_0x24965a(0x120)])),(this[_0x24965a(0x11f)]=_0x1bacc7,this[_0x24965a(0x2d0)]=_0x25c2d9,this[_0x24965a(0x11e)]=_0x416a7e,this['_docTransformStateCacheService']=_0x51009a,this[_0x24965a(0x281)]=_0x1a935f,this['_docSyncEditingCollabCursorService']=_0x269cc2,this[_0x24965a(0x24f)]=_0x5b2bc0,this[_0x24965a(0x1d1)]=_0x57edc9,this[_0x24965a(0x326)]());}['_initEntityListener'](){const _0x1af26a=_0x607acc;this[_0x1af26a(0xb8)](this[_0x1af26a(0x2d0)][_0x1af26a(0x2c2)][_0x1af26a(0x10d)](_0x756a9a=>{const _0x71ee9b=_0x1af26a,_0x5766cb=this[_0x71ee9b(0x11f)]['docStateChange$'][_0x71ee9b(0x10d)](_0x2508f4=>{const _0x3db21d=_0x71ee9b;if(_0x2508f4==null)return;const {unitId:_0x1a3f1a,redoState:_0x978fa3,commandId:_0x1ecbaa}=_0x2508f4;if(_0x1a3f1a!==_0x756a9a[_0x3db21d(0x1d3)])return;const _0x3df78d={'id':_0x1ecbaa,'type':_0x327729[_0x3db21d(0x158)]['MUTATION'],'params':{'unitId':_0x1a3f1a,'actions':_0x978fa3[_0x3db21d(0x1e2)],'textRanges':null}};_0x756a9a[_0x3db21d(0x30c)](_0x3df78d);});if(_0x756a9a[_0x71ee9b(0xb8)](_0x5766cb),_0x756a9a instanceof _0x106dd7[_0x71ee9b(0x2be)]){const _0x1d84a2={'onTransformIME':_0x19ec61=>this['_docTransformIMECacheService'][_0x71ee9b(0x21a)](_0x19ec61),'onTransformState':_0x2b29c3=>this[_0x71ee9b(0x24a)][_0x71ee9b(0x2aa)](_0x2b29c3),'onTransformSelections':_0x2d61eb=>this[_0x71ee9b(0x281)][_0x71ee9b(0x2b0)](_0x2d61eb),'onSyncEditingCollabCursor':_0x45b2c3=>this[_0x71ee9b(0x1b9)][_0x71ee9b(0x91)](_0x45b2c3),'onTransformRemoteChangesetByIMECache':_0x50db44=>this['_docTransformIMECacheService'][_0x71ee9b(0x277)](_0x50db44),'onTransformRemoteChangesetByStateCache':_0xc0cd93=>this['_docTransformStateCacheService'][_0x71ee9b(0x277)](_0xc0cd93)};_0x756a9a['addHandlerCallback'](_0x1d84a2);}}));}};_0x25c51c=_0x2ec852([_0x27faf7(0x0,_0x327729['Inject'](_0x88e369[_0x607acc(0x160)])),_0x27faf7(0x1,_0x327729[_0x607acc(0x1cc)](_0x106dd7[_0x607acc(0xae)])),_0x27faf7(0x2,_0x327729['Inject'](_0xb1a5f)),_0x27faf7(0x3,_0x327729[_0x607acc(0x1cc)](_0x546f56)),_0x27faf7(0x4,_0x327729[_0x607acc(0x1cc)](_0x5b2986)),_0x27faf7(0x5,_0x327729[_0x607acc(0x1cc)](_0x11acbb)),_0x27faf7(0x6,_0x1eafc9['IMessageService']),_0x27faf7(0x7,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x2c3)]))],_0x25c51c);var _0x1d32da=Object[_0x607acc(0x30e)],_0x128f28=(_0x271fa8,_0x355e22,_0x5e349b,_0x59aec6)=>{const _0x595acd=_0x607acc;for(var _0x1ec9ec=_0x59aec6>0x1?void 0x0:_0x59aec6?_0x1d32da(_0x355e22,_0x5e349b):_0x355e22,_0x441530=_0x271fa8[_0x595acd(0x304)]-0x1,_0x5e7ccb;_0x441530>=0x0;_0x441530--)(_0x5e7ccb=_0x271fa8[_0x441530])&&(_0x1ec9ec=_0x5e7ccb(_0x1ec9ec)||_0x1ec9ec);return _0x1ec9ec;},_0x59739c=(_0xc20955,_0x9a9cc4)=>(_0x3b1fb3,_0x22bdff)=>_0x9a9cc4(_0x3b1fb3,_0x22bdff,_0xc20955);let _0x1e1deb=class extends _0x327729[_0x607acc(0x22f)]{constructor(_0x5465c9,_0x4d94ce,_0x3cdb25){const _0x19bfd2=_0x607acc;super(),_0x338777(this,'_cachedData',new Map()),_0x338777(this,'_saveTaskMap',new Map()),_0x338777(this,'_disabled',!0x1),(this[_0x19bfd2(0x95)]=_0x5465c9,this[_0x19bfd2(0x207)]=_0x4d94ce,this[_0x19bfd2(0x180)]=_0x3cdb25);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x607acc(0x21c)](){const _0xb5b72d=_0x607acc;this[_0xb5b72d(0x318)]=!0x1;}get['saveTaskMap'](){const _0x148a4f=_0x607acc;return this[_0x148a4f(0x94)];}[_0x607acc(0x185)](){const _0xca247d=_0x607acc;this[_0xca247d(0xb7)]()[_0xca247d(0x209)](()=>super[_0xca247d(0x185)]());}async[_0x607acc(0x2e5)](_0x153679){const _0xcdcf6=_0x607acc;return this[_0xcdcf6(0x318)]?null:this[_0xcdcf6(0x207)][_0xcdcf6(0x10b)](_0x106dd7[_0xcdcf6(0x29b)](_0x153679));}async[_0x607acc(0x288)](_0x2e3e68,_0x2d1d26){const _0x27cdd6=_0x607acc;return!!this[_0x27cdd6(0x207)][_0x27cdd6(0x2d3)](_0x2e3e68,_0x2d1d26);}[_0x607acc(0xcc)](_0x7a8a29,_0x1b8ff6,_0x47afc2,_0x2a5220){const _0x3c7271=_0x607acc,_0x2e44df=this[_0x3c7271(0x180)][_0x3c7271(0xba)](_0x7a8a29);this[_0x3c7271(0x324)][_0x3c7271(0x264)](_0x7a8a29,{'unitID':_0x7a8a29,'type':_0x1b8ff6,'awaitingChangeset':_0x47afc2,'mutations':_0x2a5220,'rev':_0x2e44df}),this[_0x3c7271(0x94)]['has'](_0x7a8a29)||this[_0x3c7271(0x123)](_0x7a8a29);}[_0x607acc(0x123)](_0x355970){const _0x1cdaa8=_0x607acc,_0x3642f5=this['_getSaveTimeout']();_0x3642f5===0x0?this[_0x1cdaa8(0xee)](_0x355970):this[_0x1cdaa8(0x94)]['set'](_0x355970,setTimeout(()=>this[_0x1cdaa8(0xee)](_0x355970),_0x3642f5));}[_0x607acc(0x2d1)](){const _0x30e853=_0x607acc;var _0x318b7f;return(_0x318b7f=this[_0x30e853(0x95)][_0x30e853(0x176)](_0x106dd7[_0x30e853(0x282)]))!=null?_0x318b7f:_0x106dd7[_0x30e853(0x2af)];}[_0x607acc(0xee)](_0x1d9e14){const _0x33a5ed=_0x607acc,_0xc90ce0=this[_0x33a5ed(0x94)][_0x33a5ed(0x1e4)](_0x1d9e14);return _0xc90ce0!==void 0x0&&window[_0x33a5ed(0x268)](_0xc90ce0),this[_0x33a5ed(0x207)][_0x33a5ed(0x2d3)](_0x106dd7[_0x33a5ed(0x29b)](_0x1d9e14),this[_0x33a5ed(0x324)]['get'](_0x1d9e14))['then'](()=>this[_0x33a5ed(0x94)][_0x33a5ed(0xda)](_0x1d9e14));}async[_0x607acc(0xb7)](){const _0x28fb72=_0x607acc,_0x4c799c=[];this[_0x28fb72(0x94)][_0x28fb72(0x284)]((_0x4052c0,_0x200291)=>{const _0x2e65f2=_0x28fb72;window[_0x2e65f2(0x268)](_0x4052c0),_0x4c799c['push'](this[_0x2e65f2(0xee)](_0x200291)[_0x2e65f2(0x209)](()=>{const _0x14e708=_0x2e65f2;this['_saveTaskMap'][_0x14e708(0xda)](_0x200291);}));}),await Promise[_0x28fb72(0x269)](_0x4c799c);}};_0x1e1deb=_0x128f28([_0x59739c(0x0,_0x327729['IConfigService']),_0x59739c(0x1,_0x327729['ILocalStorageService']),_0x59739c(0x2,_0x327729['Inject'](_0x4ac0c0[_0x607acc(0x270)]))],_0x1e1deb);class _0x34821e extends _0x327729[_0x607acc(0x1c4)]{constructor(){const _0x2ee174=_0x607acc;super(),_0x338777(this,_0x2ee174(0x2df)),this[_0x2ee174(0x2df)]=_0x4a689b['fromEvent'](window,_0x2ee174(0x2d5))[_0x2ee174(0x30f)](_0x4a689b[_0x2ee174(0xec)](this[_0x2ee174(0x1ad)]),_0x4a689b[_0x2ee174(0x1fa)](0x1),_0x4a689b[_0x2ee174(0x248)](void 0x0));}[_0x607acc(0xef)](_0x5c3657,_0x421820,_0xa59293=!0x1){const _0x4f92eb=_0x607acc,_0x43b09d=new URL(window['location'][_0x4f92eb(0x11d)]);_0x43b09d['searchParams'][_0x4f92eb(0x264)](_0x5c3657,_0x421820),_0xa59293?window[_0x4f92eb(0x2ec)][_0x4f92eb(0x2f4)]('','',_0x43b09d[_0x4f92eb(0x2ba)]()):window[_0x4f92eb(0x2ec)][_0x4f92eb(0x125)]('','',_0x43b09d[_0x4f92eb(0x2ba)]());}[_0x607acc(0xf8)](_0x12b919,_0x371051=!0x1){const _0x38a7ea=_0x607acc,_0x2ec289=new URL(window[_0x38a7ea(0x242)]['href']);_0x2ec289[_0x38a7ea(0x109)][_0x38a7ea(0xda)](_0x12b919),_0x371051?window[_0x38a7ea(0x2ec)]['replaceState']('','',_0x2ec289[_0x38a7ea(0x2ba)]()):window['history']['pushState']('','',_0x2ec289[_0x38a7ea(0x2ba)]());}[_0x607acc(0x1d7)](_0x571a5a){const _0x58b1b8=_0x607acc;var _0x14f15f;return(_0x14f15f=new URL(window[_0x58b1b8(0x242)]['href'])[_0x58b1b8(0x109)]['get'](_0x571a5a))!=null?_0x14f15f:void 0x0;}}var _0x27b457=Object[_0x607acc(0x191)],_0x144bbd=Object[_0x607acc(0x30e)],_0x2ff7c8=(_0x17fcc8,_0x19003b,_0x146d3f)=>_0x19003b in _0x17fcc8?_0x27b457(_0x17fcc8,_0x19003b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x146d3f}):_0x17fcc8[_0x19003b]=_0x146d3f,_0x3c3168=(_0x43426a,_0x5cb88e,_0x535c25,_0x4d2d46)=>{for(var _0x116847=_0x4d2d46>0x1?void 0x0:_0x4d2d46?_0x144bbd(_0x5cb88e,_0x535c25):_0x5cb88e,_0x1eb4d2=_0x43426a['length']-0x1,_0x1094ec;_0x1eb4d2>=0x0;_0x1eb4d2--)(_0x1094ec=_0x43426a[_0x1eb4d2])&&(_0x116847=_0x1094ec(_0x116847)||_0x116847);return _0x116847;},_0x21826f=(_0x442951,_0x41b2ca)=>(_0x11cce1,_0x3ec4c8)=>_0x41b2ca(_0x11cce1,_0x3ec4c8,_0x442951),_0x4749c9=(_0x40b565,_0x4dc5ca,_0x5d54dc)=>_0x2ff7c8(_0x40b565,_0x4dc5ca+'',_0x5d54dc);const _0x5f1b83='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x54a1e0[_0x607acc(0x14c)]=class extends _0x327729[_0x607acc(0xf7)]{constructor(_0x3755ea=_0x33c385,_0x1ba81d,_0x301d88,_0x215960){const _0x26994b=_0x607acc;super(),this['_config']=_0x3755ea,this['_renderManagerService']=_0x1ba81d,this['_injector']=_0x301d88,this['_configService']=_0x215960;const {..._0x33a9b9}=_0x327729[_0x26994b(0x144)]({},_0x33c385,this[_0x26994b(0x1ff)]);this[_0x26994b(0x95)]['setConfig'](_0x167d12,_0x33a9b9);}[_0x607acc(0xdc)](){const _0x18a3db=_0x607acc;this[_0x18a3db(0x2c7)](),this[_0x18a3db(0x226)]();}[_0x607acc(0x199)](){const _0x2fe660=_0x607acc;this[_0x2fe660(0x30a)]();}[_0x607acc(0x2c7)](){const _0x1fe0fb=_0x607acc;var _0xa86b50;const _0x375ccb=[[_0x3a75e1],[_0x5b2986],[_0xb1a5f],[_0x546f56],[_0x11acbb],[_0x4bc93e,{'useClass':_0x34821e}],[_0x10fbe7[_0x1fe0fb(0x2c8)],{'useClass':_0x10fbe7['WebSocketService']}],[_0x106dd7[_0x1fe0fb(0x30d)],{'useClass':_0x1e1deb}],[_0x54a1e0[_0x1fe0fb(0xd7)]],[_0x25c51c],[_0x2ffb89],[_0x4dc4bf],[_0x142699],[_0x54a1e0[_0x1fe0fb(0x10e)]]];_0x327729[_0x1fe0fb(0xf4)](this[_0x1fe0fb(0x170)],_0x327729[_0x1fe0fb(0xdf)](_0x375ccb,(_0xa86b50=this['_config'])==null?void 0x0:_0xa86b50[_0x1fe0fb(0x321)]));}['_registerRenderDependencies'](){const _0x221bc4=_0x607acc;this[_0x221bc4(0xb8)](this['_renderManagerService']['registerRenderModule'](_0x327729[_0x221bc4(0xe9)][_0x221bc4(0x208)],[_0x5d89d])),this[_0x221bc4(0xb8)](this['_renderManagerService']['registerRenderModule'](_0x327729['UniverInstanceType'][_0x221bc4(0x238)],[_0x2ee156]));}['_initDependencies'](){const _0x474b40=_0x607acc;_0x327729[_0x474b40(0x302)](this[_0x474b40(0x170)],[[_0x4dc4bf],[_0x54a1e0['DesktopCollaborationStatusDisplayController']],[_0x25c51c],[_0x2ffb89],[_0x54a1e0[_0x474b40(0x10e)]]]);}},_0x4749c9(_0x54a1e0[_0x607acc(0x14c)],_0x607acc(0x2ce),_0x5f1b83),_0x54a1e0[_0x607acc(0x14c)]=_0x3c3168([_0x327729[_0x607acc(0x10c)](_0x106dd7[_0x607acc(0x9f)]),_0x21826f(0x1,_0x19e16c[_0x607acc(0x2f5)]),_0x21826f(0x2,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x21826f(0x3,_0x327729[_0x607acc(0x1bf)])],_0x54a1e0[_0x607acc(0x14c)]);var _0x3e8cd1=Object[_0x607acc(0x30e)],_0x39c31e=(_0x24d358,_0x8f7051,_0x3cfb3b,_0x3964ae)=>{const _0x2ba360=_0x607acc;for(var _0x3219be=_0x3964ae>0x1?void 0x0:_0x3964ae?_0x3e8cd1(_0x8f7051,_0x3cfb3b):_0x8f7051,_0x38eaf9=_0x24d358[_0x2ba360(0x304)]-0x1,_0x1720c7;_0x38eaf9>=0x0;_0x38eaf9--)(_0x1720c7=_0x24d358[_0x38eaf9])&&(_0x3219be=_0x1720c7(_0x3219be)||_0x3219be);return _0x3219be;},_0x2aa83a=(_0x3acbc9,_0x2066cb)=>(_0x11b5ba,_0x3b1a7d)=>_0x2066cb(_0x11b5ba,_0x3b1a7d,_0x3acbc9);_0x54a1e0[_0x607acc(0xb4)]=class extends _0x106dd7['CollaborationSocketService']{constructor(_0x31a114,_0x14e915,_0x1632b3,_0x3c61a7,_0x181d98){super(_0x31a114,_0x14e915,_0x1632b3,_0x3c61a7,_0x181d98);}async[_0x607acc(0xcb)](_0x306f50){const _0x1edee8=_0x607acc,_0x150409=await this[_0x1edee8(0x1dc)](),_0x52193b=this[_0x1edee8(0x131)](_0x306f50,_0x150409);return this[_0x1edee8(0x9a)](_0x52193b);}['_createSocketURL'](_0xcee265,_0xc2cbe6){const _0x47eea3=_0x607acc,_0x44d38c=typeof window>'u'?new URL(_0xcee265):new URL(_0xcee265,window[_0x47eea3(0x242)]['origin']);_0x44d38c[_0x47eea3(0x109)]['set']('sessionTicket',_0xc2cbe6);const _0x4d10b4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x47eea3(0x242)][_0x47eea3(0x26e)]);return _0x4d10b4[_0x47eea3(0x1e4)](_0x47eea3(0x296))&&_0x44d38c['searchParams'][_0x47eea3(0x264)](_0x47eea3(0x296),_0x4d10b4[_0x47eea3(0x1e4)](_0x47eea3(0x296))),_0x44d38c[_0x47eea3(0x2ba)]();}async[_0x607acc(0x1dc)](){const _0x45d3f3=_0x607acc;var _0x29e738,_0x3996c2,_0x36bf80;const _0xc296ed=this[_0x45d3f3(0x95)][_0x45d3f3(0x176)](_0x106dd7[_0x45d3f3(0x31d)]),_0x426d75=(_0x29e738=_0xc296ed==null?void 0x0:_0xc296ed[_0x45d3f3(0xeb)])!=null?_0x29e738:_0x106dd7[_0x45d3f3(0x16a)];return(_0x36bf80=(_0x3996c2=(await this[_0x45d3f3(0x223)]['get'](_0x426d75,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3996c2[_0x45d3f3(0x195)])!=null?_0x36bf80:'';}},_0x54a1e0['BrowserCollaborationSocketService']=_0x39c31e([_0x2aa83a(0x0,_0x327729[_0x607acc(0x1cc)](_0x327729['Injector'])),_0x2aa83a(0x1,_0x327729['Inject'](_0x10fbe7['HTTPService'])),_0x2aa83a(0x2,_0x327729['IConfigService']),_0x2aa83a(0x3,_0x327729[_0x607acc(0xfe)]),_0x2aa83a(0x4,_0x4ac0c0[_0x607acc(0x231)])],_0x54a1e0[_0x607acc(0xb4)]);const _0x465038=0x7530,_0x53bd17=_0x607acc(0x328);class _0x384620 extends _0x327729[_0x607acc(0x22f)]{constructor(){const _0x583e17=_0x607acc;super(),_0x338777(this,_0x583e17(0x240),_0x327729[_0x583e17(0x29f)]()),_0x338777(this,_0x583e17(0x108),new Set()),_0x338777(this,_0x583e17(0x1ed),new Map()),_0x338777(this,_0x583e17(0x193),null),_0x338777(this,_0x583e17(0x186),new Map()),_0x338777(this,_0x583e17(0x2b9),new Map()),this[_0x583e17(0x135)]();}[_0x607acc(0x185)](){const _0x299934=_0x607acc;super['dispose'](),this['_clearOtherTimers'][_0x299934(0x284)]((_0x4bfcae,_0x287968)=>this[_0x299934(0x2a8)](_0x287968)),this[_0x299934(0x193)]&&window[_0x299934(0x126)](this[_0x299934(0x193)]);}[_0x607acc(0x2d4)](_0x582ccd){const _0x58e8cf=_0x607acc;return this[_0x58e8cf(0xf6)](_0x582ccd)[_0x58e8cf(0x30f)](_0x4a689b['distinctUntilChanged']());}['editingUnit'](_0xdc7f16){const _0x9b5630=_0x607acc;this[_0x9b5630(0x108)]['size']===0x0&&this[_0x9b5630(0x17e)](),this[_0x9b5630(0x108)][_0x9b5630(0x27a)](_0xdc7f16),this['_send']({'type':0x0,'memberID':this[_0x9b5630(0x240)],'unitIDs':[_0xdc7f16],'isForwarded':!0x1});}['disposeUnit'](_0x3d281c){const _0x29059c=_0x607acc;this['_selfUnitIDs'][_0x29059c(0xda)](_0x3d281c),this[_0x29059c(0x108)][_0x29059c(0x1db)]===0x0&&this[_0x29059c(0x193)]&&window[_0x29059c(0x126)](this[_0x29059c(0x193)]);}[_0x607acc(0x135)](){const _0x25d1da=_0x607acc;this[_0x25d1da(0xb8)](_0x327729[_0x25d1da(0x96)](_0x4a689b[_0x25d1da(0x129)](window,_0x25d1da(0xd5))[_0x25d1da(0x10d)](_0x3cea73=>{const _0x2234cc=_0x25d1da;if(_0x3cea73['key']!==_0x53bd17||!_0x3cea73[_0x2234cc(0x1cd)])return;const _0x214641=JSON[_0x2234cc(0x2bf)](_0x3cea73[_0x2234cc(0x1cd)]);this[_0x2234cc(0x2fe)](_0x214641);}))),window['addEventListener'](_0x25d1da(0x1b0),()=>this[_0x25d1da(0x2cc)]({'type':0x1,'memberID':this[_0x25d1da(0x240)],'unitIDs':Array[_0x25d1da(0x216)](this['_selfUnitIDs'])}));}[_0x607acc(0x2fe)](_0x546a82){const _0x18ea34=_0x607acc;switch(_0x546a82[_0x18ea34(0x1a0)]){case 0x0:this[_0x18ea34(0x113)](_0x546a82);break;case 0x1:this[_0x18ea34(0x18c)](_0x546a82);break;case 0x2:this[_0x18ea34(0x14a)](_0x546a82);break;}}[_0x607acc(0x113)](_0x27fdd7){const _0x260523=_0x607acc,{unitIDs:_0x3d277a,memberID:_0x2d588d,isForwarded:_0x665a1e}=_0x27fdd7;_0x3d277a[_0x260523(0x284)](_0x2adef5=>{const _0x311c72=_0x260523;if(!_0x665a1e&&this[_0x311c72(0x1ed)]['has'](_0x2adef5)&&this[_0x311c72(0xf6)](_0x2adef5)[_0x311c72(0x1dd)](_0x106dd7[_0x311c72(0x2f2)][_0x311c72(0xb5)]),!this[_0x311c72(0x1ed)][_0x311c72(0x29d)](_0x2adef5)||!this[_0x311c72(0x1ed)][_0x311c72(0x1e4)](_0x2adef5)[_0x311c72(0x29d)](_0x2d588d)){const _0x350078=this[_0x311c72(0x1ed)][_0x311c72(0x1e4)](_0x2adef5)||new Set();_0x350078[_0x311c72(0x27a)](_0x2d588d),this['_unitOnClients']['set'](_0x2adef5,_0x350078),this['_scheduleClearOtherTimer'](_0x2d588d);}}),_0x665a1e||this['_send']({'type':0x0,'memberID':this[_0x260523(0x240)],'unitIDs':[...this[_0x260523(0x108)]],'isForwarded':!0x0});}[_0x607acc(0x2dd)](_0x62dd96){const _0x36df60=_0x607acc;this[_0x36df60(0x2a8)](_0x62dd96);const _0xc0761e=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x511220=>{const _0x3978a8=_0x3c3b;_0x511220[_0x3978a8(0xda)](_0x62dd96);});},_0x465038*0x2);this[_0x36df60(0x186)][_0x36df60(0x264)](_0x62dd96,_0xc0761e);}[_0x607acc(0x2a8)](_0x2dee04){const _0x69ef6e=_0x607acc;if(this[_0x69ef6e(0x186)][_0x69ef6e(0x29d)](_0x2dee04)){const _0x5d1d2c=this[_0x69ef6e(0x186)][_0x69ef6e(0x1e4)](_0x2dee04);_0x5d1d2c&&window['clearTimeout'](_0x5d1d2c),this[_0x69ef6e(0x186)][_0x69ef6e(0x264)](_0x2dee04,null);}}[_0x607acc(0x18c)](_0x1a3e3e){const _0x21ae51=_0x607acc,{memberID:_0x4ad319,unitIDs:_0x1e78e9}=_0x1a3e3e;_0x1e78e9[_0x21ae51(0x284)](_0x54f130=>{const _0x50e432=_0x21ae51;var _0x5063d5;const _0x417388=this[_0x50e432(0x1ed)]['get'](_0x54f130);_0x417388&&(_0x417388[_0x50e432(0xda)](_0x4ad319),(_0x5063d5=this['_ensureSubject'](_0x54f130))==null||_0x5063d5['next'](_0x417388[_0x50e432(0x1db)]===0x0?_0x106dd7['UnitStatus'][_0x50e432(0x149)]:_0x106dd7['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x4ad319);}['_handleHeartbeatEvent'](_0x448d9e){const _0x1b23ee=_0x607acc;this[_0x1b23ee(0x2dd)](_0x448d9e['memberID']);}['_send'](_0x374eab){const _0x44314e=_0x607acc;localStorage[_0x44314e(0x2d3)](_0x53bd17,JSON[_0x44314e(0x119)](_0x374eab));}[_0x607acc(0x17e)](){const _0x2a5f92=_0x607acc;this[_0x2a5f92(0x193)]=window[_0x2a5f92(0x166)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x465038);}[_0x607acc(0xf6)](_0x365456){const _0x559804=_0x607acc;return this[_0x559804(0x2b9)][_0x559804(0x29d)](_0x365456)||this[_0x559804(0x2b9)][_0x559804(0x264)](_0x365456,new _0x4a689b['BehaviorSubject'](_0x106dd7[_0x559804(0x2f2)][_0x559804(0x149)])),this[_0x559804(0x2b9)]['get'](_0x365456);}}var _0x12e17c=(_0x3cb370=>(_0x3cb370[_0x3cb370['UNDEFINED']=0x0]=_0x607acc(0xfd),_0x3cb370[_0x3cb370['OK']=0x1]='OK',_0x3cb370[_0x3cb370[_0x607acc(0x12f)]=0x2]=_0x607acc(0x12f),_0x3cb370[_0x3cb370[_0x607acc(0x267)]=0x3]=_0x607acc(0x267),_0x3cb370[_0x3cb370[_0x607acc(0x291)]=0x4]=_0x607acc(0x291),_0x3cb370[_0x3cb370[_0x607acc(0x29c)]=0x5]=_0x607acc(0x29c),_0x3cb370[_0x3cb370[_0x607acc(0x17f)]=0x6]=_0x607acc(0x17f),_0x3cb370[_0x3cb370['INVALID_ARGUMENT']=0x7]=_0x607acc(0x25a),_0x3cb370[_0x3cb370['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3cb370[_0x3cb370[_0x607acc(0x273)]=0x9]=_0x607acc(0x273),_0x3cb370[_0x3cb370['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3cb370[_0x3cb370[_0x607acc(0x2bc)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3cb370[_0x3cb370[_0x607acc(0xe3)]=0xc]=_0x607acc(0xe3),_0x3cb370[_0x3cb370[_0x607acc(0xa5)]=0xd]=_0x607acc(0xa5),_0x3cb370[_0x3cb370['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x607acc(0x138),_0x3cb370[_0x3cb370['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x607acc(0xbd),_0x3cb370[_0x3cb370[_0x607acc(0x192)]=0x1771]=_0x607acc(0x192),_0x3cb370[_0x3cb370[_0x607acc(0x322)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3cb370[_0x3cb370['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x607acc(0x1c6),_0x3cb370[_0x3cb370[_0x607acc(0x211)]=0x1b59]=_0x607acc(0x211),_0x3cb370[_0x3cb370[_0x607acc(0xc1)]=0x1b5a]=_0x607acc(0xc1),_0x3cb370[_0x3cb370['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x607acc(0x250),_0x3cb370[_0x3cb370[_0x607acc(0x189)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3cb370[_0x3cb370[_0x607acc(0xa6)]=0x1b5d]=_0x607acc(0xa6),_0x3cb370[_0x3cb370[_0x607acc(0x1f9)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3cb370[_0x3cb370[_0x607acc(0x17a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3cb370[_0x3cb370['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3cb370[_0x3cb370[_0x607acc(0x2a6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3cb370[_0x3cb370[_0x607acc(0x1c2)]=0x232c]=_0x607acc(0x1c2),_0x3cb370[_0x3cb370['LICENSE_DISTRO_REJECTED']=0x232d]=_0x607acc(0x17c),_0x3cb370[_0x3cb370['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3cb370[_0x3cb370[_0x607acc(0x1ef)]=0x2712]=_0x607acc(0x1ef),_0x3cb370[_0x3cb370[_0x607acc(0x257)]=0x2713]=_0x607acc(0x257),_0x3cb370[_0x3cb370[_0x607acc(0x1ab)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3cb370[_0x3cb370[_0x607acc(0x2d6)]=0x271a]=_0x607acc(0x2d6),_0x3cb370[_0x3cb370[_0x607acc(0x239)]=0x271b]=_0x607acc(0x239),_0x3cb370[_0x3cb370[_0x607acc(0x26a)]=0x271c]=_0x607acc(0x26a),_0x3cb370[_0x3cb370['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x607acc(0x19c),_0x3cb370[_0x3cb370['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x607acc(0xbe),_0x3cb370[_0x3cb370[_0x607acc(0x1e9)]=0x271f]=_0x607acc(0x1e9),_0x3cb370[_0x3cb370[_0x607acc(0x2cb)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3cb370[_0x3cb370[_0x607acc(0x2b4)]=0x2af9]=_0x607acc(0x2b4),_0x3cb370[_0x3cb370[_0x607acc(0xcd)]=0x2ee1]=_0x607acc(0xcd),_0x3cb370[_0x3cb370[_0x607acc(0x146)]=0x2ee2]=_0x607acc(0x146),_0x3cb370[_0x3cb370[_0x607acc(0x294)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3cb370[_0x3cb370[_0x607acc(0xb1)]=0x2ee4]=_0x607acc(0xb1),_0x3cb370[_0x3cb370[_0x607acc(0x246)]=0x2ee5]=_0x607acc(0x246),_0x3cb370[_0x3cb370['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x607acc(0x178),_0x3cb370[_0x3cb370['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x607acc(0x23e),_0x3cb370[_0x3cb370[_0x607acc(0x159)]=0x32cb]=_0x607acc(0x159),_0x3cb370[_0x3cb370[_0x607acc(0x13f)]=-0x1]=_0x607acc(0x13f),_0x3cb370))(_0x12e17c||{}),_0x22632d=Object[_0x607acc(0x30e)],_0x99f1a5=(_0x21ba1f,_0x59e741,_0x15dfaa,_0x7de18c)=>{const _0x43d957=_0x607acc;for(var _0x53dbe3=_0x7de18c>0x1?void 0x0:_0x7de18c?_0x22632d(_0x59e741,_0x15dfaa):_0x59e741,_0x5c9dce=_0x21ba1f[_0x43d957(0x304)]-0x1,_0x361b9e;_0x5c9dce>=0x0;_0x5c9dce--)(_0x361b9e=_0x21ba1f[_0x5c9dce])&&(_0x53dbe3=_0x361b9e(_0x53dbe3)||_0x53dbe3);return _0x53dbe3;},_0x150f51=(_0x17e56a,_0x2db749)=>(_0x283a2d,_0x424962)=>_0x2db749(_0x283a2d,_0x424962,_0x17e56a);_0x54a1e0[_0x607acc(0x21e)]=class extends _0x327729[_0x607acc(0x22f)]{constructor(_0x2c57d2,_0x5d3485,_0x5bbaee){const _0x308e0d=_0x607acc;super(),this['_instanceService']=_0x2c57d2,this[_0x308e0d(0x223)]=_0x5d3485,this[_0x308e0d(0x95)]=_0x5bbaee;}async['runOnServer'](_0x2f8b8f,_0x5ddf49,_0x262aac,..._0x4e5ea1){const _0x2984ff=_0x607acc;var _0x50948c,_0x1c08dc,_0x3cf90d,_0x369d75;const _0x30fe40=this[_0x2984ff(0x90)][_0x2984ff(0xff)]();if(!_0x30fe40)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x458c11=((_0x50948c=this[_0x2984ff(0x95)]['getConfig'](_0x106dd7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x50948c:_0x106dd7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2f8b8f+_0x2984ff(0x28e)+_0x5ddf49,_0x5ee4dd=new URL(window[_0x2984ff(0x242)][_0x2984ff(0x11d)]),_0x159d54={'scriptId':_0x2f8b8f,'runId':(_0x1c08dc=_0x5ee4dd[_0x2984ff(0x109)][_0x2984ff(0x1e4)](_0x2984ff(0x296)))!=null?_0x1c08dc:'','function':_0x5ddf49,'unitId':_0x30fe40[_0x2984ff(0x309)](),'argsOfFunction':JSON[_0x2984ff(0x119)](_0x4e5ea1),'invokeId':(_0x3cf90d=_0x262aac[_0x2984ff(0x2ff)])!=null?_0x3cf90d:'','executionId':(_0x369d75=_0x262aac['executionId'])!=null?_0x369d75:''};try{const _0x13beaf=await this[_0x2984ff(0x223)][_0x2984ff(0x233)](_0x458c11,{'body':_0x159d54});return _0x13beaf[_0x2984ff(0x235)]['error']&&_0x13beaf[_0x2984ff(0x235)]['error']['code']!==_0x12e17c['OK']?_0x2984ff(0x15e):_0x13beaf[_0x2984ff(0x235)]['result'];}catch{return _0x2984ff(0x15e);}}},_0x54a1e0[_0x607acc(0x21e)]=_0x99f1a5([_0x150f51(0x0,_0x327729[_0x607acc(0x1eb)]),_0x150f51(0x1,_0x327729[_0x607acc(0x1cc)](_0x10fbe7[_0x607acc(0x118)])),_0x150f51(0x2,_0x327729[_0x607acc(0x1bf)])],_0x54a1e0[_0x607acc(0x21e)]),_0x54a1e0[_0x607acc(0x1af)]=_0x12c585,_0x54a1e0[_0x607acc(0x2a4)]=_0x4bc93e,_0x54a1e0[_0x607acc(0x102)]=_0xdf647a,_0x54a1e0[_0x607acc(0x256)]=_0x384620,_0x54a1e0[_0x607acc(0x266)]=_0x34821e,Object['defineProperty'](_0x54a1e0,Symbol[_0x607acc(0x301)],{'value':'Module'});}));function _0x3c3b(_0x253028,_0x3d04c3){const _0xcd77f=_0xcd77();return _0x3c3b=function(_0x3c3be7,_0x123a7e){_0x3c3be7=_0x3c3be7-0x90;let _0x58f3ec=_0xcd77f[_0x3c3be7];return _0x58f3ec;},_0x3c3b(_0x253028,_0x3d04c3);}function _0xcd77(){const _0x448626=['YUUMI_AI_RUN_FAILED','NodePositionConvertToRectRange','IUniverInstanceService','colorChannel1','_unitOnClients','runRefRangeMutations','YUUMI_URL_COL_OUT_OF_RANGE','_hideTimer','_context','find','attrs','UPDATE_CURSOR','_initEvent','Vector2','cursorInfo','_cursor','CONNECTOR_DATA_TOO_LARGE','shareReplay','univer-flex\x20univer-items-center','Workbook','_updateURLWithCurrentState','_commandService','_config','UniverEngineFormula','_cursorShapes','_eventUnsubscribe','extend','collabStatus.syncing','debounceTime','mask','_localStorageService','UNIVER_DOC','then','_themeService','_docSkeletonManagerService','TEXT_RANGE_LAYER_INDEX','5126OcEuVE','_memberService','transformMutationsWithChangeset','font','APPLY_REJECT','url(#$1','unsubscribe','addObjects','ColorKit','from','addClipboardHook','getCoordByCell','currentColor','transformIMECache','useCallback','enableLocalCache','_colorAssignService','RemoteUniscriptService','_toggleOnline','_notificationService','m1Prime','_beforeCloseService','_httpService','row','_getSheetObject','_initDependencies','INotificationService','drawWith','getRenderById','@univerjs/engine-render','complete','redoState','_onCursorUpdate','_updateLocalCursor','Disposable','DocSelectionManagerService','ISnapshotServerService','throttleTime','post','MoveRangeCommandId','body','CONFLICT','session.connection-failed','UNIVER_SHEET','YUUMI_ASYNCIO_CANCELLED','getColorFromTheme','CollaborationUIEventService','path','Error','MOBILE_HAS_BEEN_BOUND','420884czExjv','_id','getAncestorScale','location','_getAnchorBounding','...','collabStatus.notCollab','INVITE_CODE_ALREADY_BOUND','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','mapTo','PENDING','_docTransformStateCacheService','switchMap','reconnect','name','top','_messageService','APPLY_REVISION_CONFILICT','_transformHistoryAndStateStack','handleMoveRange','on-line-icon','Rect','getDocRanges','WebBrowserSingleActiveUnitService','YUUMI_RATE_OVER_LIMIT','Injector','requireSession','INVALID_ARGUMENT','getSheetId','setActiveRange','source','status$','defIds','imageSourceType','react/jsx-runtime','off-line-icon_clip0_910_343','_name','set','send','WebURLService','PERMISSION_DENIED','clearTimeout','all','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_drawRectRange','replace','undoState','search','with','RevisionService','_color','split','COMPLETION_FINISHED','green.600','TRANSFORM_CHANGE_OBSERVABLE_TYPE','session.collaboration-timeout','transformRemoteChangeset','Tooltip','div','add','_drawAnchor','DocSkeletonManagerService','getUnhiddenWorksheets','UniverEngineRender','doc.mutation.rich-text-editing','displayName','_docTransformSelectionsService','LOCAL_CACHE_INTERVAL_KEY','568UqcErE','forEach','InsertRangeMoveDownCommandId','getCellPositionByOffset','lineTo','saveOfflineData','tag','_backgroundColor','hasOwnProperty','some','getUniverSheetInstance','/run/','combineLatest','color','NOT_FOUND','UniverSheets','Unknown\x20user','INVITE_CODE_REQUIRED','collab-rect-range-','runId','getActiveSheet','SetTextSelectionsOperation','_collabCursorState$','loadUnit','getLocalCacheKey','UNAUTHENTICATED','has','SessionStatus','generateRandomId','CollaborationUIEventId','getUndoRedoMutationParamsCache','collabStatus.synced','5304490gUSDWd','IURLService','whenReady','LICENSE_IMPORT_SIZE_EXCEEDED','init','_removeClearOtherTimer','makeDirty','transformStateCache','UniverIcon','_online','@univerjs/network','createIdentifier','LOCAL_CACHE_INTERVAL','transformSelections','unshift','getMergeData','_status$','PY_RUNTIME_SCRIPT_ERROR','evenodd','idSuffix','addObject','_render','_unitStatus','toString','MemberService','MOBILE_VERIFY_CODE_MISMATCH','collab-client.tooltip.reconnect','DocCollaborationEntity','parse','none','getSheetBySheetId','entityInit$','LocaleService','_cursorInfo$','_univerInstanceService','includes','_registerDependencies','ISocketService','round','0\x200\x2017\x2016','YUUMI_CONNECTOR_URL_NOT_FOUND','_send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','pluginName','random','_collaborationController','_getSaveTimeout','push','setItem','getUnitStatus$','popstate','YUUMI_NO_CUBOID_FOR_QUESTION','react','OTHER_CLIENT_EDITING','[CollaborationDataLoaderController]','endRow','skeleton','Warning','_scheduleClearOtherTimer','@univerjs/core','urlChange$','@univerjs/drawing','@univerjs/docs','@univerjs/docs-ui','createElement','BuiltInUIPart','loadOfflineData','getRangePointData','_startDocCollabCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','1em','getMember','ICommandService','history','InsertRowCommandId','sessionStatus$','data','useRef','onPointerLeave$','UnitStatus','labelPosition','replaceState','IRenderManagerService','UniverNetwork','onPointerEnter$','_colorIndex','_hovered','_lastPointer','subUnitId','collaboration.closeRoom','_onCursorDelete','_handleEvent','invokeId','handleDeleteRangeMoveLeft','toStringTag','touchDependencies','DisposableCollection','length','_transformService','call','_textBubble','jsx','getUnitId','_registerRenderDependencies','filter','onLocalMutation','ILocalCacheService','getOwnPropertyDescriptor','pipe','asObservable','_getMergeRange','defs','_syncEditingCollabCursorService','SYNCED','moveTo','connectInjector','currentSkeleton$','_disabled','JOIN_ROOM_FAILED','collabStatus.fetchMiss','propertyIsEnumerable','deserializeRangeWithSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DeleteRangeMoveUpCommandId','flatMap','transformMutation','override','SNAPSHOT_HAS_BEEN_REMOVED','IImageIoService','_cachedData','onPointerMove$','_initEntityListener','text','ACTIVE_UNIT_EVENT_CHANNEL','range','_instanceService','syncEditingCollabCursor','handleIRemoveRow','ONLINE','_saveTaskMap','_configService','toDisposable','_roomMembers$','clsx','children','_doCreateSocket','debug','FETCH_MISS','handleIRemoveCol','_dataLoaderService','UniverCollaborationClientPlugin','on-line-icon_clip0_910_349','_uiPartsService','setUndoRedoMutationParamsCache','getStateCache','RefRangeService','EMAIL_VERIFY_CODE_MISMATCH','APPLY_DUPLICATED','onTransformChange$','eventID','BehaviorSubject','getCollabEntity$','M0\x200H16V16H0z','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','@univerjs/ui','CollaborationController','isTransformMutationFailure','subunit','USER_NOT_INVITED_CODE','SetDocZoomRatioOperation','SetSelectionsOperation','BrowserCollaborationSocketService','OTHER_CLIENTS_EDITING','toRgbString','exhaustSavingTask','disposeWithMe','permission.content','getCurrentRevOfUnit','width','_localCacheService','CHANGESET_REVISION_CONFILICT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','values','beginPath','APPLY_NON_SEQUENTIAL_REVISION','getVpScrollXYInfoByPosToVp','_range','MessageType','SUBMIT_CHANGESET_TIMEOUT','getTypeOfUnitDisposed$','createInstance','rxjs/operators','replaceDocRanges','_anchorDot','createSocket','updateOfflineData','INVITE_CODE_HAS_BEEN_UES','sheetID','_initResize','jsxs','_refRangeService','UniverProCollaborationClient','onMouseMove','OnLineIcon','storage','_setupBeforeClosingHandler','DesktopCollaborationStatusDisplayController','operators','executeCommand','delete','getCurrentSelections','onStarting','_anchor','amd','mergeOverrideWithDependencies','DocIMEInputManagerService','SHEET_VIEWPORT_KEY','_draw','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','deepClone','unit','hide','IDocClipboardService','UniverSheetsUi','UniverInstanceType','assignAColorForMemberID','wsSessionTicketUrl','takeUntil','_hover','_saveCache','setParam','textRanges','icon','substring','getSheetObject','registerDependencies','_shapes','_ensureSubject','Plugin','removeParam','svg','_initCommandExecutedListener','save','onCommandExecuted','UNDEFINED','ILogService','getFocusedUnit','@univerjs-pro/collaboration','blue.400','SheetCollabCursorShape','saveTaskMap','OFFLINE','SOCKET_FAILED','getTypeOfUnitAdded$','_startSheetCollabCursor','_selfUnitIDs','searchParams','IMessageService','getItem','DependentOn','subscribe','CollaborationDataLoaderController','_docClipboardService','startRow','#FFF','SetWorksheetActivateCommand','_handleJoinEvent','_updateSubUnitFromURLParams','setAlpha','rxjs','_setupSubUnitSync','HTTPService','stringify','setShapeProps','cursorInfo$','Tools','href','_docTransformIMECacheService','_docStateChangeManagerService','NOT_COLLAB','selection','_renderManagerService','_scheduleSaving','prototype','pushState','clearInterval','params','RichTextEditingMutation','fromEvent','ranges','isArray','handleInsertRow','CollaborationStatus','@univerjs/engine-formula','INTERNAL_ERROR','ITransformService','_createSocketURL','1901075bYBgBl','isEditing','map','_init','collaboration-client-ui.config','getActiveRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','forwardRef','TEXT','_collaborationUIEventService','NodePositionConvertToCursor','getSkeleton','getMemberID','UNRECOGNIZED','DOC_RANGE_TYPE','isTransformMutationsWithChangesetSuccess','@univerjs/rpc','RegularPolygon','merge','IUIPartsService','INVALID_INVITE_CODE','entries','_initStatusComponent','NO_OTHER_CLIENTS_EDITING','_handleHeartbeatEvent','url(#off-line-icon_clip0_910_343)','UniverCollaborationClientUIPlugin','_onRefRangeChange','10289103xqdvCK','_updateCollabCursors','_handleHover','398835rBjYQD','concat','triggerDblclick','_getScale','ThemeService','75wnHHes','Rectangle','CommandType','EMAIL_HAS_BEEN_BOUND','_urlService','black','selections','clipPath','Failed','15743WuWBxT','DocStateChangeManagerService','getValue','use','hovered','debounce','bottom','setInterval','DeleteRangeMoveLeftCommandId','object','backgroundColor','DEFAULT_WS_SESSION_TICKET_URL','_cursors','_transformPreviousActiveRange','HEADER_MENU','COLORS','_collabCursorController','_injector','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','show','restore','_sheetSkeletonManagerService','roomMembers$','getConfig','string','WECHAT_HAS_BEEN_BOUND','http://www.w3.org/2000/svg','LICENSE_MAX_UNITS_EXCEEDED','transform','LICENSE_DISTRO_REJECTED','off-line-icon','_scheduleHeartbeat','ALREADY_EXISTS','_revisionService','RECT','_labelPosition','unitId','_imageIoService','dispose','_clearOtherTimers','Shape','apply','APPLY_PERMISSION_DENIED','_transformUndoRedoStack','collabCursorState$','_handleLeaveEvent','fill','registerComponent','className','getCollabCursors$','defineProperty','SNAPSHOT_INVALID_SNAPSHOT','_heartbeatTimer','indexOf','ticket','_scene','collabStatus.conflict','findNodePositionByCharIndex','onRendered','IBeforeCloseService','engine','YUUMI_ALL_TABLES_IS_INVALID','AWAITING','@univerjs/sheets-ui','@univerjs-pro/collaboration-client','type','CollaborationEvent','registerRefRange','arc','error','measureText','url(#on-line-icon_clip0_910_349)','_logService','subscribeEvent','getViewport','6wVRiAm','YUUMI_SUBSCRIPTION_NOT_FOUND','white','dispose$','Subject','CollaborationStatusDisplay','unload','_assignedColors','UniverRpc','_entities','CLOSE_ROOM','event$','UniverProCollaboration','fillText','collaboration-client.offline-data-not-saved','_docSyncEditingCollabCursorService','getCurrent','red.300','SheetSkeletonManagerService','height','m2Prime','IConfigService','column','_removeCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','EffectRefRangId','RxDisposable','handleInsertRangeMoveDown','ENSURE_SNAPSHOT_EXECUTION','SOCKET_FAILED_RETRY','roomMembers','_toggleOffline','UniverDrawing','FromArray','Inject','newValue','collabStatus.offline','mutations','_document','_localeService','9IwiaXz','unitID','_refreshCollabCursors','activeSheet$','UniverCore','getParam','_session','AWAITING_WITH_PENDING','assign','size','_getSessionTicket','next','CollaborationSessionService','_collabSessionService','getOwnPropertySymbols','uni.network.url-service','actions','USERS_LEAVE','get','getColor','sheetId','_entityInit$','currentTheme$'];_0xcd77=function(){return _0x448626;};return _0xcd77();}
|