@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-173dc06 → 0.6.10-experimental.20250427-89a0949
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/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/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/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/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 +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x275a8f,_0x2bd4f2){const _0x5783dd=_0x568e,_0x27e166=_0x275a8f();while(!![]){try{const _0x5e3080=-parseInt(_0x5783dd(0x2a2))/0x1*(-parseInt(_0x5783dd(0xce))/0x2)+parseInt(_0x5783dd(0x158))/0x3*(-parseInt(_0x5783dd(0x227))/0x4)+-parseInt(_0x5783dd(0xd7))/0x5+parseInt(_0x5783dd(0xdd))/0x6*(-parseInt(_0x5783dd(0x153))/0x7)+parseInt(_0x5783dd(0x2b6))/0x8+-parseInt(_0x5783dd(0x184))/0x9+parseInt(_0x5783dd(0x239))/0xa;if(_0x5e3080===_0x2bd4f2)break;else _0x27e166['push'](_0x27e166['shift']());}catch(_0x55f025){_0x27e166['push'](_0x27e166['shift']());}}}(_0x3ec5,0xb9b59),function(_0x13abc6,_0x4151bd){const _0x18d6b5=_0x568e;typeof exports==_0x18d6b5(0x28c)&&typeof module<'u'?_0x4151bd(exports,require(_0x18d6b5(0xeb)),require(_0x18d6b5(0x2e1)),require(_0x18d6b5(0x22f)),require('@univerjs/network'),require(_0x18d6b5(0x152)),require(_0x18d6b5(0x21d)),require('rxjs'),require(_0x18d6b5(0xea)),require(_0x18d6b5(0x2b0)),require('@univerjs/engine-formula'),require(_0x18d6b5(0x282)),require(_0x18d6b5(0xd9)),require('@univerjs/sheets-ui'),require(_0x18d6b5(0xf1)),require('@univerjs/ui'),require(_0x18d6b5(0x15e)),require(_0x18d6b5(0x1c5)),require('@univerjs/rpc')):typeof define==_0x18d6b5(0x28d)&&define['amd']?define([_0x18d6b5(0x2dd),'@univerjs-pro/collaboration-client',_0x18d6b5(0x2e1),'@univerjs/engine-render',_0x18d6b5(0x1b7),'@univerjs/docs-ui',_0x18d6b5(0x21d),_0x18d6b5(0x2aa),_0x18d6b5(0xea),_0x18d6b5(0x2b0),'@univerjs/engine-formula','@univerjs/sheets','rxjs/operators',_0x18d6b5(0x140),_0x18d6b5(0xf1),'@univerjs/ui',_0x18d6b5(0x15e),_0x18d6b5(0x1c5),_0x18d6b5(0x1d6)],_0x4151bd):(_0x13abc6=typeof globalThis<'u'?globalThis:_0x13abc6||self,_0x4151bd(_0x13abc6['UniverProCollaborationClientUi']={},_0x13abc6[_0x18d6b5(0x1ab)],_0x13abc6[_0x18d6b5(0x139)],_0x13abc6['UniverEngineRender'],_0x13abc6[_0x18d6b5(0x2ad)],_0x13abc6[_0x18d6b5(0xab)],_0x13abc6[_0x18d6b5(0x156)],_0x13abc6[_0x18d6b5(0x2aa)],_0x13abc6[_0x18d6b5(0xa0)],_0x13abc6[_0x18d6b5(0x28f)],_0x13abc6[_0x18d6b5(0x31d)],_0x13abc6['UniverSheets'],_0x13abc6[_0x18d6b5(0x2aa)][_0x18d6b5(0x142)],_0x13abc6[_0x18d6b5(0x1f1)],_0x13abc6[_0x18d6b5(0x21f)],_0x13abc6['UniverUi'],_0x13abc6[_0x18d6b5(0x1c8)],_0x13abc6[_0x18d6b5(0x21f)],_0x13abc6[_0x18d6b5(0x32a)]));}(this,function(_0x353bdb,_0x47040c,_0x52210e,_0x45eaa5,_0x2c7691,_0xd08195,_0x42c020,_0x27f681,_0x20d49c,_0x4251a6,_0x2b9df9,_0x1f677a,_0x41470f,_0x3b105a,_0x351132,_0x4f6f29,_0x4bb591,_0x854b5b,_0x29b1e1){'use strict';const _0x4cf005=_0x568e;var _0x13a4af=Object[_0x4cf005(0x11f)],_0x1bfdb8=(_0x2589fd,_0x55fa30,_0x1f4335)=>_0x55fa30 in _0x2589fd?_0x13a4af(_0x2589fd,_0x55fa30,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f4335}):_0x2589fd[_0x55fa30]=_0x1f4335,_0xb6ff52=(_0x549ad5,_0x234f52,_0x4498b2)=>_0x1bfdb8(_0x549ad5,typeof _0x234f52!=_0x4cf005(0x2b1)?_0x234f52+'':_0x234f52,_0x4498b2),_0x4c0473=Object[_0x4cf005(0x19c)],_0x3bd33b=(_0x45c925,_0x4030c5,_0x55b097,_0x155cd5)=>{for(var _0x1feafd=_0x155cd5>0x1?void 0x0:_0x155cd5?_0x4c0473(_0x4030c5,_0x55b097):_0x4030c5,_0x2abd36=_0x45c925['length']-0x1,_0x24121f;_0x2abd36>=0x0;_0x2abd36--)(_0x24121f=_0x45c925[_0x2abd36])&&(_0x1feafd=_0x24121f(_0x1feafd)||_0x1feafd);return _0x1feafd;},_0x37066c=(_0x33ea46,_0x22c747)=>(_0x4e0cd2,_0xa4436f)=>_0x22c747(_0x4e0cd2,_0xa4436f,_0x33ea46);let _0x180543=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x565e05,_0x2013db){const _0x1e7795=_0x4cf005;super(),this[_0x1e7795(0xc2)]=_0x565e05,this[_0x1e7795(0x300)]=_0x2013db,this[_0x1e7795(0x138)]();}[_0x4cf005(0x138)](){const _0x58e9ff=_0x4cf005,_0x192c70=this;this[_0x58e9ff(0x285)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2d7290=>{const _0xa65d40=_0x58e9ff,_0x4a4d55=await _0x192c70['_imageIoService']['saveImage'](_0x2d7290);return _0x4a4d55?{'source':_0x4a4d55[_0xa65d40(0x20c)],'imageSourceType':_0x4a4d55[_0xa65d40(0x196)]}:null;}}));}};_0x180543=_0x3bd33b([_0x37066c(0x0,_0xd08195['IDocClipboardService']),_0x37066c(0x1,_0x42c020[_0x4cf005(0x272)])],_0x180543);const _0x3eb08b=['purple300',_0x4cf005(0x29c),'verdancy600',_0x4cf005(0xfb),_0x4cf005(0x125),_0x4cf005(0xed)];class _0x499053 extends _0x52210e['Disposable']{constructor(){const _0xbc79ca=_0x4cf005;super(...arguments),_0xb6ff52(this,_0xbc79ca(0x147),new Map()),_0xb6ff52(this,_0xbc79ca(0x1bb),0x0);}[_0x4cf005(0x192)](_0x3c5346){const _0x4939f5=_0x4cf005;if(this[_0x4939f5(0x147)][_0x4939f5(0x178)](_0x3c5346))return this[_0x4939f5(0x147)]['get'](_0x3c5346);const _0x2fa165=_0x3eb08b[this['_colorIndex']];return this[_0x4939f5(0x1bb)]=(this['_colorIndex']+0x1)%_0x3eb08b['length'],this[_0x4939f5(0x147)][_0x4939f5(0x202)](_0x3c5346,_0x2fa165),_0x2fa165;}}function _0x16a80a(_0xaf9bbc){let _0x4c14a6='';for(const _0x14387e of _0xaf9bbc){const {startOffset:_0x3e04bb,endOffset:_0x1b2491,isActive:_0x6a9777,rangeType:_0xeecc38,segmentId:_0x3cc961,segmentPage:_0x537cd4}=_0x14387e;_0x4c14a6['length']&&(_0x4c14a6+=','),_0x4c14a6+=_0x3e04bb+':'+_0x1b2491+':'+(_0x6a9777?'1':'0')+':'+_0xeecc38+':'+_0x3cc961+':'+_0x537cd4;}return _0x4c14a6;}function _0x4c64c4(_0x295e02){const _0x308bbc=_0x4cf005,_0x5f3c5c=_0x295e02[_0x308bbc(0xad)](','),_0x1d78d4=[];for(const _0x289395 of _0x5f3c5c){const [_0x24de1c,_0x5df3e9,_0x99106d,_0x2fc94c,_0x141ef8,_0x11b9b4]=_0x289395[_0x308bbc(0xad)](':');_0x1d78d4[_0x308bbc(0x11e)]({'startOffset':Number(_0x24de1c),'endOffset':Number(_0x5df3e9),'collapsed':_0x24de1c===_0x5df3e9,'isActive':_0x99106d==='1','rangeType':_0x2fc94c===_0x52210e[_0x308bbc(0x24e)]['TEXT']?_0x52210e[_0x308bbc(0x24e)][_0x308bbc(0x2fc)]:_0x52210e[_0x308bbc(0x24e)]['RECT'],'segmentId':typeof _0x141ef8=='string'?String(_0x141ef8):'','segmentPage':Number(_0x11b9b4!=null?_0x11b9b4:-0x1)});}return _0x1d78d4[_0x308bbc(0xfe)](_0x5df6fe=>_0x5df6fe[_0x308bbc(0x1e8)])||(_0x1d78d4[0x0][_0x308bbc(0x1e8)]=!0x0),_0x1d78d4;}class _0x446a6c extends _0x52210e[_0x4cf005(0x238)]{constructor(){const _0x352b3d=_0x4cf005;super(...arguments),_0xb6ff52(this,_0x352b3d(0x2fd),new _0x27f681['BehaviorSubject'](null)),_0xb6ff52(this,'collabCursorState$',this[_0x352b3d(0x2fd)]['asObservable']());}[_0x4cf005(0x321)](_0x359ea2){const _0x1282a6=_0x4cf005,{unitID:_0x2dab18,memberID:_0x411e37,textRanges:_0x3f2fff}=_0x359ea2,_0x292919=_0x16a80a(_0x3f2fff);if(_0x292919==='')return;const _0x2485e4={'unitID':_0x2dab18,'memberID':_0x411e37,'selection':_0x292919};this[_0x1282a6(0x2fd)][_0x1282a6(0x161)](_0x2485e4);}}var _0x48c278=Object[_0x4cf005(0x19c)],_0x227422=(_0xa89137,_0x29114d,_0x1710f1,_0x27f7d8)=>{for(var _0x2ccc54=_0x27f7d8>0x1?void 0x0:_0x27f7d8?_0x48c278(_0x29114d,_0x1710f1):_0x29114d,_0x46b440=_0xa89137['length']-0x1,_0x2844af;_0x46b440>=0x0;_0x46b440--)(_0x2844af=_0xa89137[_0x46b440])&&(_0x2ccc54=_0x2844af(_0x2ccc54)||_0x2ccc54);return _0x2ccc54;},_0x33fde2=(_0x25a2b1,_0x3493e2)=>(_0x2b8188,_0x510d3f)=>_0x3493e2(_0x2b8188,_0x510d3f,_0x25a2b1);const _0x48cb46=0x12c,_0x562d70=0x64;let _0x150543=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x47836b,_0x366d16,_0x2dd73c,_0x2cb153,_0x19466a,_0xd027fe,_0xcd8e55,_0x26c2cf,_0x69d2ed){const _0x20a6e0=_0x4cf005;super(),_0xb6ff52(this,_0x20a6e0(0xc3),!0x1),_0xb6ff52(this,_0x20a6e0(0x138),!0x1),_0xb6ff52(this,_0x20a6e0(0x194),new _0x27f681[(_0x20a6e0(0x132))](new Map())),_0xb6ff52(this,'cursorInfo$',this['_cursorInfo$'][_0x20a6e0(0x1b6)]()),_0xb6ff52(this,_0x20a6e0(0x20d),new _0x27f681['BehaviorSubject']([])),_0xb6ff52(this,_0x20a6e0(0x256),this[_0x20a6e0(0x20d)][_0x20a6e0(0x23f)](_0x27f681[_0x20a6e0(0x200)](_0x48cb46))),_0xb6ff52(this,_0x20a6e0(0x29b),_0x52210e[_0x20a6e0(0x1a5)](_0x35887f=>{const _0x41a04d=_0x20a6e0,_0x419c08={'eventID':_0x4251a6['CollaborationEvent'][_0x41a04d(0x1f5)],'data':{'unitID':this[_0x41a04d(0x1d1)],'memberID':this[_0x41a04d(0x276)][_0x41a04d(0x109)](),'selection':_0x16a80a(_0x35887f)}};this['_session'][_0x41a04d(0x244)](_0x419c08,this['unitID']);},_0x562d70)),(this[_0x20a6e0(0x1d1)]=_0x47836b,this[_0x20a6e0(0x276)]=_0x366d16,this[_0x20a6e0(0x335)]=_0x2dd73c,this[_0x20a6e0(0x218)]=_0x2cb153,this[_0x20a6e0(0x224)]=_0x19466a,this[_0x20a6e0(0xcb)]=_0xd027fe,this[_0x20a6e0(0x13b)]=_0xcd8e55,this[_0x20a6e0(0x1a0)]=_0x26c2cf,this[_0x20a6e0(0x1a7)]=_0x69d2ed);}get[_0x4cf005(0x230)](){const _0x2b5e33=_0x4cf005;return this[_0x2b5e33(0x194)][_0x2b5e33(0x136)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x4cf005(0xf7)](){const _0x34dc30=_0x4cf005;super['dispose'](),this[_0x34dc30(0x194)][_0x34dc30(0x161)](new Map()),this['_cursorInfo$'][_0x34dc30(0x1a1)](),this['_roomMembers$'][_0x34dc30(0x161)]([]),this[_0x34dc30(0x20d)][_0x34dc30(0x1a1)]();}[_0x4cf005(0x176)](){const _0x8ed3f7=_0x4cf005;this['_init']||(this[_0x8ed3f7(0x138)]=!0x0,this[_0x8ed3f7(0x276)][_0x8ed3f7(0x204)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this[_0x8ed3f7(0x183)]))['subscribe'](_0x332598=>{const _0x57b65d=_0x8ed3f7;_0x332598===_0x47040c['SessionStatus'][_0x57b65d(0x315)]?this[_0x57b65d(0x1ed)]():this[_0x57b65d(0x18d)]();}),this[_0x8ed3f7(0x276)][_0x8ed3f7(0x141)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this['dispose$']))['subscribe'](_0x4e30b1=>{const _0x48d3c9=_0x8ed3f7,_0x40b534=_0x4e30b1[_0x48d3c9(0x110)];_0x40b534===_0x4251a6['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4e30b1),_0x40b534===_0x4251a6[_0x48d3c9(0x2cb)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4e30b1);}),this[_0x8ed3f7(0x285)](this[_0x8ed3f7(0x1a7)][_0x8ed3f7(0x143)](_0x536dcd=>{const _0x189bcd=_0x8ed3f7,_0x380f84=_0x536dcd[_0x189bcd(0x2ae)];_0x380f84!=null&&this[_0x189bcd(0xc3)]&&_0x536dcd['id']===_0x20d49c[_0x189bcd(0x181)]['id']&&_0x380f84[_0x189bcd(0x163)]===this[_0x189bcd(0x1d1)]&&_0x380f84[_0x189bcd(0x1b8)]===!0x1&&_0x380f84[_0x189bcd(0x25b)][_0x189bcd(0x20e)]>0x0&&this[_0x189bcd(0x29b)](_0x380f84[_0x189bcd(0x25b)]);})),this[_0x8ed3f7(0xcb)][_0x8ed3f7(0x211)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this[_0x8ed3f7(0x183)]))[_0x8ed3f7(0x21a)](_0x230371=>{const _0x225821=_0x8ed3f7;if((_0x230371==null?void 0x0:_0x230371[_0x225821(0x1d1)])!==this['unitID'])return;const _0x530788={'eventID':_0x4251a6['CollaborationEvent'][_0x225821(0x1f5)],'data':_0x230371};this['_onCursorUpdate'](_0x530788);}),this[_0x8ed3f7(0x285)](this[_0x8ed3f7(0x1a7)]['onCommandExecuted'](_0x31ffee=>{const _0x2fa718=_0x8ed3f7;if(_0x31ffee[_0x2fa718(0x2ae)]==null)return;const _0x247d8a=_0x31ffee[_0x2fa718(0x2ae)];if(_0x31ffee['id']!==_0x20d49c[_0x2fa718(0x160)]['id']||_0x247d8a['unitId']!==this[_0x2fa718(0x1d1)])return;const _0xe71af9={'id':_0x2fa718(0xc1),'params':_0x247d8a},_0x5ac545=this[_0x2fa718(0x230)];for(const [_0x3857d1,_0x4f0f22]of _0x5ac545){const _0x2d0048={'id':_0x2fa718(0xc1),'params':{'unitId':this[_0x2fa718(0x1d1)],'actions':null,'textRanges':_0x4f0f22[_0x2fa718(0x25b)]}},_0x15ce35=this[_0x2fa718(0x13b)][_0x2fa718(0x296)](_0xe71af9,_0x2d0048,!0x1);if(_0x4251a6[_0x2fa718(0xe3)](_0x15ce35))throw _0x15ce35[_0x2fa718(0x1db)];_0x5ac545[_0x2fa718(0x202)](_0x3857d1,{..._0x4f0f22,'ranges':_0x15ce35['m2Prime']['params'][_0x2fa718(0x2a3)]});}queueMicrotask(()=>{const _0x101e15=_0x2fa718;this[_0x101e15(0x194)][_0x101e15(0x161)](_0x5ac545);});})));}['_onCursorUpdate'](_0x33c562){const _0x2d9ff4=_0x4cf005;var _0x458535,_0x5d59f4;const {memberID:_0x4e3b8f,selection:_0x1b95ac}=_0x33c562['data'],_0x54ebff=_0x4c64c4(_0x1b95ac),_0x562fc4=(_0x5d59f4=(_0x458535=this[_0x2d9ff4(0x224)][_0x2d9ff4(0xf2)](this[_0x2d9ff4(0x1d1)],_0x4e3b8f))==null?void 0x0:_0x458535[_0x2d9ff4(0x306)])!=null?_0x5d59f4:_0x2d9ff4(0xbf),_0x5201ec={'color':this[_0x2d9ff4(0x218)][_0x2d9ff4(0x192)](_0x4e3b8f),'name':_0x562fc4,'ranges':_0x54ebff},_0x3e2b40=this[_0x2d9ff4(0x230)];_0x3e2b40[_0x2d9ff4(0x202)](_0x4e3b8f,_0x5201ec),this['_cursorInfo$'][_0x2d9ff4(0x161)](_0x3e2b40);}[_0x4cf005(0x247)](_0x350426){const _0x5d2ecb=_0x4cf005,{memberID:_0x58cdc6}=_0x350426['data'],_0x189c8d=this[_0x5d2ecb(0x230)];_0x189c8d[_0x5d2ecb(0x101)](_0x58cdc6),this[_0x5d2ecb(0x194)][_0x5d2ecb(0x161)](_0x189c8d);}['_toggleOnline'](){const _0x1b289b=_0x4cf005;var _0x30fbaa;if(this['_online']=!0x0,((_0x30fbaa=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x30fbaa[_0x1b289b(0x302)]())!==this[_0x1b289b(0x1d1)])return;const _0x2a5e6a=this[_0x1b289b(0x335)][_0x1b289b(0x1d2)](_0x20d49c[_0x1b289b(0x1d7)])[_0x1b289b(0x10e)]();Array[_0x1b289b(0x2ac)](_0x2a5e6a)&&_0x2a5e6a[_0x1b289b(0x20e)]>0x0&&this[_0x1b289b(0x29b)](_0x2a5e6a);}[_0x4cf005(0x18d)](){const _0x191e08=_0x4cf005;this[_0x191e08(0xc3)]=!0x1;}};_0x150543=_0x227422([_0x33fde2(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x33fde2(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x499053)),_0x33fde2(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x29a)])),_0x33fde2(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x446a6c)),_0x33fde2(0x6,_0x4251a6[_0x4cf005(0xc5)]),_0x33fde2(0x7,_0x52210e[_0x4cf005(0xf3)]),_0x33fde2(0x8,_0x52210e[_0x4cf005(0x18a)])],_0x150543);var _0x3ee1df=Object['getOwnPropertyDescriptor'],_0x5bdd46=(_0x5c4afb,_0x4853b6,_0x38eb46,_0x5f2398)=>{const _0x548864=_0x4cf005;for(var _0x268761=_0x5f2398>0x1?void 0x0:_0x5f2398?_0x3ee1df(_0x4853b6,_0x38eb46):_0x4853b6,_0x8f5d42=_0x5c4afb[_0x548864(0x20e)]-0x1,_0x10ac16;_0x8f5d42>=0x0;_0x8f5d42--)(_0x10ac16=_0x5c4afb[_0x8f5d42])&&(_0x268761=_0x10ac16(_0x268761)||_0x268761);return _0x268761;},_0x2d4c00=(_0x1b07cd,_0x30924e)=>(_0x18889a,_0x49b473)=>_0x30924e(_0x18889a,_0x49b473,_0x1b07cd);const _0xae5357=0x12c,_0x771626=0x64,_0x2bd041=()=>{let _0x7fc7a0=[],_0x44861c=!0x1;return _0x4ac515=>{const _0x4ff443=_0x568e;_0x7fc7a0[_0x4ff443(0x11e)](_0x4ac515),_0x44861c||(_0x44861c=!0x0,setTimeout(()=>{_0x7fc7a0['forEach'](_0x110b98=>_0x110b98()),_0x7fc7a0=[],_0x44861c=!0x1;}));};};let _0x3caa59=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x2bd331,_0x8b67b6,_0x2d89f9,_0x40a222,_0x3089e8,_0x53f890,_0x3b2452,_0x3cb37f){const _0x54d688=_0x4cf005;super(),_0xb6ff52(this,_0x54d688(0xc3),!0x1),_0xb6ff52(this,'_init',!0x1),_0xb6ff52(this,'_cursorInfo$',new _0x27f681['BehaviorSubject'](new Map())),_0xb6ff52(this,_0x54d688(0x167),this[_0x54d688(0x194)][_0x54d688(0x1b6)]()),_0xb6ff52(this,_0x54d688(0x20d),new _0x27f681[(_0x54d688(0x132))]([])),_0xb6ff52(this,_0x54d688(0x256),this['_roomMembers$'][_0x54d688(0x23f)](_0x27f681[_0x54d688(0x200)](_0xae5357))),_0xb6ff52(this,_0x54d688(0x29b),_0x52210e[_0x54d688(0x1a5)]((_0x1c3c34,_0x2e5daf)=>{const _0x88a36e=_0x54d688,_0x108d49={'eventID':_0x4251a6[_0x88a36e(0x2cb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x88a36e(0x1d1)],'memberID':this['_session']['getMemberID'](),'selection':_0x2b9df9[_0x88a36e(0x317)](_0x1c3c34,_0x2e5daf['range'])}};this[_0x88a36e(0x276)]['send'](_0x108d49,this[_0x88a36e(0x1d1)]);},_0x771626)),(this[_0x54d688(0x1d1)]=_0x2bd331,this[_0x54d688(0x276)]=_0x8b67b6,this[_0x54d688(0x335)]=_0x2d89f9,this[_0x54d688(0x218)]=_0x40a222,this[_0x54d688(0x224)]=_0x3089e8,this['_univerInstanceService']=_0x53f890,this[_0x54d688(0x1a7)]=_0x3b2452,this[_0x54d688(0x31b)]=_0x3cb37f);}get[_0x4cf005(0x230)](){const _0x53dc9a=_0x4cf005;return this[_0x53dc9a(0x194)]['getValue']();}get['roomMembers'](){const _0x3d5bcc=_0x4cf005;return this[_0x3d5bcc(0x20d)][_0x3d5bcc(0x136)]();}[_0x4cf005(0xf7)](){const _0x3f9d69=_0x4cf005;super[_0x3f9d69(0xf7)](),this[_0x3f9d69(0x194)][_0x3f9d69(0x161)](new Map()),this['_cursorInfo$'][_0x3f9d69(0x1a1)](),this[_0x3f9d69(0x20d)]['next']([]),this[_0x3f9d69(0x20d)][_0x3f9d69(0x1a1)]();}[_0x4cf005(0x176)](){const _0x25bd8d=_0x4cf005;this[_0x25bd8d(0x138)]||(this[_0x25bd8d(0x138)]=!0x0,this[_0x25bd8d(0x276)][_0x25bd8d(0x204)]['pipe'](_0x27f681[_0x25bd8d(0xd2)](this[_0x25bd8d(0x183)]))[_0x25bd8d(0x21a)](_0x1e7152=>{const _0x5d1ed8=_0x25bd8d;_0x1e7152===_0x47040c[_0x5d1ed8(0x1c4)]['ONLINE']?this['_toggleOnline']():this[_0x5d1ed8(0x18d)]();}),this[_0x25bd8d(0x276)]['event$']['pipe'](_0x27f681['takeUntil'](this[_0x25bd8d(0x183)]))['subscribe'](_0x39ca73=>{const _0x2dc4e8=_0x25bd8d,_0x27d631=_0x39ca73['eventID'];_0x27d631===_0x4251a6['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2dc4e8(0x206)](_0x39ca73),_0x27d631===_0x4251a6[_0x2dc4e8(0x2cb)][_0x2dc4e8(0x1c1)]&&this[_0x2dc4e8(0x247)](_0x39ca73);}),this[_0x25bd8d(0x330)](),this['disposeWithMe'](this[_0x25bd8d(0x1a7)][_0x25bd8d(0x143)](_0x20e735=>{const _0x1ffbce=_0x25bd8d;if(this[_0x1ffbce(0xc3)]&&_0x20e735['id']===_0x1f677a[_0x1ffbce(0x273)]['id']&&_0x20e735[_0x1ffbce(0x2ae)][_0x1ffbce(0x163)]===this[_0x1ffbce(0x1d1)]){const _0x453212=_0x20e735['params'];this[_0x1ffbce(0x29b)](_0x453212[_0x1ffbce(0x22c)],_0x453212['selections'][0x0]);}})));}['_onCursorUpdate'](_0x3d3f9c){const _0x52d02e=_0x4cf005;var _0x35e32c,_0x80da07;const {memberID:_0x479c54,selection:_0x3c3ff4}=_0x3d3f9c[_0x52d02e(0x1fe)],{sheetName:_0x416b8b,range:_0x3e6615}=_0x2b9df9[_0x52d02e(0x2b8)](_0x3c3ff4),_0x15899c={'name':(_0x80da07=(_0x35e32c=this['_memberService']['getMember'](this[_0x52d02e(0x1d1)],_0x479c54))==null?void 0x0:_0x35e32c['name'])!=null?_0x80da07:_0x52d02e(0xbf),'range':this['_getMergeRange'](_0x416b8b,_0x3e6615),'sheetID':_0x416b8b,'color':this[_0x52d02e(0x218)][_0x52d02e(0x192)](_0x479c54),'selection':_0x3c3ff4},_0x38a9c6=this[_0x52d02e(0x230)];_0x38a9c6[_0x52d02e(0x202)](_0x479c54,_0x15899c),this[_0x52d02e(0x194)][_0x52d02e(0x161)](_0x38a9c6);}[_0x4cf005(0x247)](_0x4c0948){const _0x1ab2f7=_0x4cf005,{memberID:_0x1ea8bd}=_0x4c0948[_0x1ab2f7(0x1fe)],_0x278031=this[_0x1ab2f7(0x230)];_0x278031['delete'](_0x1ea8bd),this[_0x1ab2f7(0x194)][_0x1ab2f7(0x161)](_0x278031);}[_0x4cf005(0x25f)](_0x4dbf1d,_0x4e958a){const _0x3dfa0e=_0x4cf005;var _0xfbac9e,_0x15128c;const _0x3f4903=(_0x15128c=(_0xfbac9e=this['_univerInstanceService'][_0x3dfa0e(0xa8)](this[_0x3dfa0e(0x1d1)]))==null?void 0x0:_0xfbac9e['getSheetBySheetId'](_0x4dbf1d))==null?void 0x0:_0x15128c[_0x3dfa0e(0x1cf)]();return(_0x3f4903==null?void 0x0:_0x3f4903[_0x3dfa0e(0x150)](_0x14f5a4=>_0x52210e[_0x3dfa0e(0x170)]['contains'](_0x14f5a4,_0x4e958a)))||_0x4e958a;}[_0x4cf005(0x330)](){const _0x3d5ec0=_0x4cf005,_0x4a5050=new _0x52210e[(_0x3d5ec0(0x2f2))](),_0x494eab=_0x2bd041(),_0x5ae12d=()=>{const _0x5bdb08=_0x3d5ec0;_0x4a5050[_0x5bdb08(0xf7)]();const _0x302a54=(_0x1d4105,_0x6c00a3,_0x30b3c7,_0x3ec3f2)=>{const _0x23d8a5=_0x5bdb08;let _0xc018a0=[];switch(_0x1d4105['id']){case _0x1f677a['EffectRefRangId'][_0x23d8a5(0x2be)]:{_0xc018a0=_0x1f677a['handleDeleteRangeMoveLeft'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x289)]:{_0xc018a0=_0x1f677a[_0x23d8a5(0x16d)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)]['InsertColCommandId']:{_0xc018a0=_0x1f677a[_0x23d8a5(0x149)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x15d)]:{_0xc018a0=_0x1f677a['handleInsertRangeMoveDown'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x266)]:{_0xc018a0=_0x1f677a['handleInsertRangeMoveRight'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x1a2)]:{_0xc018a0=_0x1f677a[_0x23d8a5(0x23d)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)]['MoveRangeCommandId']:{_0xc018a0=_0x1f677a[_0x23d8a5(0x320)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x1dd)]:{_0xc018a0=_0x1f677a['handleIRemoveCol'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x2c5)]:{_0xc018a0=_0x1f677a['handleIRemoveRow'](_0x1d4105,_0x3ec3f2);break;}}const _0x17156d=_0x1f677a[_0x23d8a5(0x27b)](_0xc018a0,_0x3ec3f2),_0x30042f=this[_0x23d8a5(0x230)][_0x23d8a5(0x1d2)](_0x6c00a3);if(_0x30042f&&_0x17156d){const _0x1ce875={..._0x30042f,'range':_0x17156d};this['cursorInfo']['set'](_0x6c00a3,_0x1ce875),_0x494eab(()=>{const _0x52e31a=_0x23d8a5,_0x190513=this[_0x52e31a(0x31b)]['registerRefRange'](_0x17156d,_0x5b734c=>(_0x190513[_0x52e31a(0xf7)](),_0x302a54(_0x5b734c,_0x6c00a3,_0x30b3c7,_0x17156d)));_0x4a5050[_0x52e31a(0x12c)](_0x190513);});}return{'redos':[],'undos':[]};};this[_0x5bdb08(0x230)][_0x5bdb08(0x2f5)]((_0x5ea98f,_0x1a568e)=>{const _0x5adffa=_0x5bdb08,{range:_0xb3a1cb,sheetID:_0x156789}=_0x5ea98f,_0x135854=this[_0x5adffa(0x31b)][_0x5adffa(0xbe)](_0xb3a1cb,_0x5e0978=>(_0x135854[_0x5adffa(0xf7)](),_0x302a54(_0x5e0978,_0x1a568e,_0x156789,_0xb3a1cb)));_0x4a5050[_0x5adffa(0x12c)](_0x135854);});};this['disposeWithMe'](_0x52210e[_0x3d5ec0(0x2df)](this[_0x3d5ec0(0x194)]['subscribe'](()=>{_0x5ae12d();})));}[_0x4cf005(0x1ed)](){const _0x57b530=_0x4cf005;var _0x327497,_0x3717e6;if(this['_online']=!0x0,((_0x327497=this[_0x57b530(0x1a0)][_0x57b530(0x2bc)]())==null?void 0x0:_0x327497[_0x57b530(0x302)]())!==this[_0x57b530(0x1d1)])return;const _0x390a81=(_0x3717e6=this[_0x57b530(0x335)][_0x57b530(0x1d2)](_0x1f677a[_0x57b530(0xb0)])[_0x57b530(0x329)]())==null?void 0x0:_0x3717e6[0x0],_0x25657b=this[_0x57b530(0x1a0)][_0x57b530(0x174)](_0x52210e[_0x57b530(0x268)][_0x57b530(0x2d2)])['getActiveSheet']();_0x390a81&&_0x25657b&&this[_0x57b530(0x29b)](_0x25657b[_0x57b530(0x13d)](),_0x390a81);}[_0x4cf005(0x18d)](){const _0x466b95=_0x4cf005;this[_0x466b95(0xc3)]=!0x1;}};_0x3caa59=_0x5bdd46([_0x2d4c00(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x2d4c00(0x3,_0x52210e['Inject'](_0x499053)),_0x2d4c00(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x29a)])),_0x2d4c00(0x5,_0x52210e[_0x4cf005(0xf3)]),_0x2d4c00(0x6,_0x52210e[_0x4cf005(0x18a)]),_0x2d4c00(0x7,_0x52210e[_0x4cf005(0x2d1)](_0x1f677a[_0x4cf005(0x16f)]))],_0x3caa59);var _0x2822cb=Object[_0x4cf005(0x19c)],_0x195308=(_0x3f6a91,_0x5a4a0a,_0x394868,_0x5d44eb)=>{const _0x57448c=_0x4cf005;for(var _0x3b0dca=_0x5d44eb>0x1?void 0x0:_0x5d44eb?_0x2822cb(_0x5a4a0a,_0x394868):_0x5a4a0a,_0x33b2d7=_0x3f6a91[_0x57448c(0x20e)]-0x1,_0x25489a;_0x33b2d7>=0x0;_0x33b2d7--)(_0x25489a=_0x3f6a91[_0x33b2d7])&&(_0x3b0dca=_0x25489a(_0x3b0dca)||_0x3b0dca);return _0x3b0dca;},_0x3af61d=(_0xfaa354,_0x6cda95)=>(_0x3cf69d,_0x11776a)=>_0x6cda95(_0x3cf69d,_0x11776a,_0xfaa354);let _0x1ee3b8=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x2ea33c,_0x3ad13f,_0x1eb0a3){const _0x3c5b90=_0x4cf005;super(),_0xb6ff52(this,_0x3c5b90(0x203),new Map()),_0xb6ff52(this,_0x3c5b90(0x15f),new _0x27f681[(_0x3c5b90(0x105))]()),(this[_0x3c5b90(0x1a0)]=_0x2ea33c,this[_0x3c5b90(0x335)]=_0x3ad13f,this[_0x3c5b90(0x248)]=_0x1eb0a3,this[_0x3c5b90(0x138)]());}[_0x4cf005(0xf7)](){const _0x8fa3f3=_0x4cf005;super['dispose'](),this[_0x8fa3f3(0x15f)][_0x8fa3f3(0x1a1)](),this[_0x8fa3f3(0x203)]['forEach'](_0x41e0eb=>_0x41e0eb['dispose']());}['getCollabCursors$'](_0x4738ee){const _0x29b86d=_0x4cf005;return this['_entities']['has'](_0x4738ee)?this[_0x29b86d(0x203)][_0x29b86d(0x1d2)](_0x4738ee)[_0x29b86d(0x167)]:this[_0x29b86d(0x15f)][_0x29b86d(0x23f)](_0x27f681[_0x29b86d(0x17b)](_0x3f5a25=>_0x3f5a25[_0x29b86d(0x1d1)]===_0x4738ee),_0x27f681[_0x29b86d(0x29d)](_0x4241a1=>_0x4241a1[_0x29b86d(0x167)]));}[_0x4cf005(0x138)](){const _0x39d183=_0x4cf005;this[_0x39d183(0x1a0)]['getTypeOfUnitAdded$'](_0x52210e['UniverInstanceType'][_0x39d183(0x2d2)])[_0x39d183(0x23f)](_0x27f681[_0x39d183(0xd2)](this[_0x39d183(0x183)]))[_0x39d183(0x21a)](async _0xfa3964=>{const _0x469d55=_0x39d183,_0x5defa9=_0xfa3964[_0x469d55(0x302)](),_0x5ebcde=await this['_startSheetCollabCursor'](_0x5defa9);this[_0x469d55(0x15f)][_0x469d55(0x161)](_0x5ebcde),this[_0x469d55(0x203)][_0x469d55(0x202)](_0x5defa9,_0x5ebcde);}),this[_0x39d183(0x1a0)]['getTypeOfUnitAdded$'](_0x52210e['UniverInstanceType'][_0x39d183(0x169)])['pipe'](_0x27f681['takeUntil'](this[_0x39d183(0x183)]))[_0x39d183(0x23f)](_0x27f681[_0x39d183(0x17b)](_0x4ecd90=>!_0x4ecd90[_0x39d183(0x302)]()[_0x39d183(0x179)]('__')))[_0x39d183(0x21a)](async _0x557b82=>{const _0x5999e0=_0x39d183,_0x301721=_0x557b82['getUnitId'](),_0x362427=await this[_0x5999e0(0x1cd)](_0x301721);this[_0x5999e0(0x15f)][_0x5999e0(0x161)](_0x362427),this[_0x5999e0(0x203)]['set'](_0x301721,_0x362427);}),_0x27f681[_0x39d183(0xa9)](this[_0x39d183(0x1a0)][_0x39d183(0x1d9)](_0x52210e[_0x39d183(0x268)][_0x39d183(0x169)]),this[_0x39d183(0x1a0)][_0x39d183(0x1d9)](_0x52210e[_0x39d183(0x268)][_0x39d183(0x2d2)]))[_0x39d183(0x23f)](_0x27f681['takeUntil'](this[_0x39d183(0x183)]))[_0x39d183(0x21a)](_0x36b011=>{const _0x328cf4=_0x39d183,_0x53230b=_0x36b011['getUnitId'](),_0x442307=this[_0x328cf4(0x203)][_0x328cf4(0x1d2)](_0x53230b);_0x442307&&(_0x442307[_0x328cf4(0xf7)](),this[_0x328cf4(0x203)][_0x328cf4(0x101)](_0x53230b));});}async[_0x4cf005(0x16a)](_0x4b27e6){const _0x3cc100=_0x4cf005,_0x1e7f28=await this[_0x3cc100(0x248)][_0x3cc100(0x304)](_0x4b27e6),_0x35c591=this[_0x3cc100(0x335)][_0x3cc100(0x2ea)](_0x3caa59,_0x4b27e6,_0x1e7f28);return _0x35c591[_0x3cc100(0x176)](),_0x35c591;}async[_0x4cf005(0x1cd)](_0x321e55){const _0x30e36c=_0x4cf005,_0x1e8b0c=await this[_0x30e36c(0x248)]['requireSession'](_0x321e55),_0xde6611=this[_0x30e36c(0x335)][_0x30e36c(0x2ea)](_0x150543,_0x321e55,_0x1e8b0c);return _0xde6611[_0x30e36c(0x176)](),_0xde6611;}};_0x1ee3b8=_0x195308([_0x3af61d(0x0,_0x52210e['IUniverInstanceService']),_0x3af61d(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x3af61d(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x270)]))],_0x1ee3b8);const _0x26e7ed=0x14,_0x628218=0xc8,_0x93c2c1=0x4,_0x30d96b=0x5;function _0xa0c346(_0xe96e3f,_0x3cf627){const _0x22be6a=_0x4cf005;let {radius:_0x3eb840,width:_0x13297e,height:_0x53efe3}=_0x3cf627;_0x3eb840=_0x3eb840!=null?_0x3eb840:0x0,_0x13297e=_0x13297e!=null?_0x13297e:0x1e,_0x53efe3=_0x53efe3!=null?_0x53efe3:0x1e;let _0x3a8c7f=0x0,_0x343374=0x0,_0x32c0ea=0x0;_0x3a8c7f=_0x343374=_0x32c0ea=Math['min'](_0x3eb840,_0x13297e/0x2,_0x53efe3/0x2),_0xe96e3f[_0x22be6a(0x30c)](),_0xe96e3f[_0x22be6a(0x222)](_0x3a8c7f,0x0),_0xe96e3f[_0x22be6a(0x127)](_0x13297e-_0x343374,0x0),_0xe96e3f['arc'](_0x13297e-_0x343374,_0x343374,_0x343374,Math['PI']*0x3/0x2,0x0,!0x1),_0xe96e3f['lineTo'](_0x13297e,_0x53efe3-_0x32c0ea),_0xe96e3f['arc'](_0x13297e-_0x32c0ea,_0x53efe3-_0x32c0ea,_0x32c0ea,0x0,Math['PI']/0x2,!0x1),_0xe96e3f[_0x22be6a(0x127)](0x0,_0x53efe3),_0xe96e3f[_0x22be6a(0x127)](0x0,_0x3a8c7f),_0xe96e3f['arc'](_0x3a8c7f,_0x3a8c7f,_0x3a8c7f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe96e3f[_0x22be6a(0x2db)](),_0x3cf627[_0x22be6a(0x2e6)]&&(_0xe96e3f['save'](),_0xe96e3f[_0x22be6a(0x21e)]=_0x3cf627[_0x22be6a(0x2e6)],_0x3cf627[_0x22be6a(0x164)]==='evenodd'?_0xe96e3f[_0x22be6a(0x2e6)](_0x22be6a(0x305)):_0xe96e3f[_0x22be6a(0x2e6)](),_0xe96e3f['restore']());}class _0x556dcb extends _0x45eaa5[_0x4cf005(0x1b2)]{constructor(_0x2ebe1b,_0x121da0){const _0x3fc348=_0x4cf005;super(_0x2ebe1b,_0x121da0),_0xb6ff52(this,'color'),_0xb6ff52(this,'text'),(this[_0x3fc348(0xb6)]=_0x121da0==null?void 0x0:_0x121da0[_0x3fc348(0xb6)],this[_0x3fc348(0x2f0)]=_0x121da0==null?void 0x0:_0x121da0[_0x3fc348(0x2f0)]);}static[_0x4cf005(0x323)](_0x5af3a0,_0xd12233){const _0x54cb25=_0x4cf005,{text:_0x34f7a1,color:_0x3f85d3}=_0xd12233;_0x5af3a0[_0x54cb25(0x220)](),_0x5af3a0[_0x54cb25(0x262)]=_0x54cb25(0x1f9);const _0x1b57b2=_0x5af3a0[_0x54cb25(0x257)](_0x34f7a1)['width'],_0x5db0e3=Math[_0x54cb25(0x23b)](_0x1b57b2+0x2*_0x93c2c1,_0x628218);_0xa0c346(_0x5af3a0,{'height':_0x26e7ed,'radius':0x4,'width':_0x5db0e3,'fill':_0x3f85d3}),_0x5af3a0['fillStyle']='#FFF';const _0x527b3d=_0x93c2c1,_0x343752=_0x26e7ed-_0x30d96b,_0x13745b=_0x628218-0x2*_0x93c2c1;if(_0x1b57b2>_0x13745b){let _0x502137='',_0x56529b=0x0;for(const _0x20c84c of _0x34f7a1){const _0x35eed7=_0x5af3a0[_0x54cb25(0x257)](_0x20c84c)['width'];if(_0x56529b+_0x35eed7<=_0x13745b-_0x5af3a0[_0x54cb25(0x257)](_0x54cb25(0x121))[_0x54cb25(0xaa)])_0x502137+=_0x20c84c,_0x56529b+=_0x35eed7;else{_0x502137+=_0x54cb25(0x121);break;}}_0x5af3a0[_0x54cb25(0x229)](_0x502137,_0x527b3d,_0x343752);}else _0x5af3a0['fillText'](_0x34f7a1,_0x527b3d,_0x343752);_0x5af3a0[_0x54cb25(0x23c)]();}[_0x4cf005(0xcd)](_0x2ad203){const _0x26a1a5=_0x4cf005;_0x556dcb[_0x26a1a5(0x323)](_0x2ad203,this);}}const _0x162ae9='collab-text-anchor-',_0x877f00='collab-text-range-',_0x330b69=_0x4cf005(0x187),_0x3ee6e0=0x6,_0x4b7bd7=1.5,_0x41bddb=0x4,_0x42083b=1.5,_0xe0d208=_0x4cf005(0x2d8);class _0xdd03db{constructor(_0x5884a5,_0x25c1d3,_0x37f56d,_0x95928){const _0x54cefb=_0x4cf005;_0xb6ff52(this,'_shapes',[]),_0xb6ff52(this,_0x54cefb(0x2b7),null),_0xb6ff52(this,_0x54cefb(0x1eb),null),_0xb6ff52(this,_0x54cefb(0x31c),null),_0xb6ff52(this,_0x54cefb(0x13c),null),_0xb6ff52(this,_0x54cefb(0x1e5),null),(this[_0x54cefb(0x316)]=_0x5884a5,this[_0x54cefb(0x1fc)]=_0x25c1d3,this[_0x54cefb(0x107)]=_0x37f56d,this[_0x54cefb(0x29e)]=_0x95928,this['_render']());}set[_0x4cf005(0x216)](_0x215717){const _0x487c09=_0x4cf005;_0x215717?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x487c09(0x1eb)]&&this[_0x487c09(0x1eb)]['show']()):(this[_0x487c09(0x31c)]&&this[_0x487c09(0x31c)][_0x487c09(0x1e9)](),this[_0x487c09(0x1eb)]&&this[_0x487c09(0x1eb)][_0x487c09(0xe0)]());}[_0x4cf005(0xf7)](){const _0x3fa423=_0x4cf005;for(const _0x1834f6 of this[_0x3fa423(0xdb)])_0x1834f6[_0x3fa423(0xf7)]();this[_0x3fa423(0x1eb)]&&this[_0x3fa423(0x1eb)][_0x3fa423(0xf7)](),this[_0x3fa423(0x31c)]&&this[_0x3fa423(0x31c)][_0x3fa423(0xf7)](),this[_0x3fa423(0x2b7)]&&this['_anchor']['dispose'](),this[_0x3fa423(0x1e5)]&&this[_0x3fa423(0x1e5)]();}[_0x4cf005(0x223)](){const _0x539244=_0x4cf005;var _0x58d0ef;const {_docSkeleton:_0x410ea3,_document:_0x5d3b5f}=this,{color:_0x42bd3b,name:_0x484b13,ranges:_0x21e17a}=this['_cursor'],_0x58039b=_0x5d3b5f[_0x539244(0x1d3)](),{docsLeft:_0x3c9f80,docsTop:_0x58dd86}=_0x58039b,_0x6a9a93=new _0xd08195[(_0x539244(0x2f1))](_0x58039b,_0x410ea3);for(const {startOffset:_0x5e2bf7,endOffset:_0x19dcf8,rangeType:_0x470ba5,segmentId:_0x4cfd4a,segmentPage:_0x1005ac,collapsed:_0x376dfb,isActive:_0xa8f0fb}of _0x21e17a){const _0x9690c3=_0x410ea3['findNodePositionByCharIndex'](_0x5e2bf7,!0x0,_0x4cfd4a,_0x1005ac);let _0x23e069=_0x410ea3[_0x539244(0x2d3)](_0x19dcf8,!0x0,_0x4cfd4a,_0x1005ac);if(_0x23e069==null&&(_0x23e069=_0x410ea3[_0x539244(0x2d3)](_0x19dcf8-0x1,!0x1,_0x4cfd4a,_0x1005ac)),_0xa8f0fb){const {contentBoxPointGroup:_0x3dbe3d}=_0x6a9a93[_0x539244(0x301)](_0x23e069,_0x23e069);if(_0x3dbe3d[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x1ee)](_0x42bd3b,_0x3dbe3d,_0x3c9f80,_0x58dd86,_0x484b13),this[_0x539244(0x1e5)]=this['_handleHover']();}if(_0x9690c3&&_0x23e069){if(_0x470ba5===_0x52210e[_0x539244(0x24e)][_0x539244(0x144)]){const _0x5ee7bb=new _0xd08195[(_0x539244(0xee))](_0x58039b,_0x410ea3),{pointGroup:_0x409b77}=(_0x58d0ef=_0x5ee7bb[_0x539244(0x301)](_0x9690c3,_0x23e069))!=null?_0x58d0ef:{};if(_0x409b77==null||_0x409b77[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x2ce)](_0x42bd3b,_0x409b77,_0x3c9f80,_0x58dd86);}else{if(!_0x376dfb){const {borderBoxPointGroup:_0xd05aa0}=_0x6a9a93[_0x539244(0x301)](_0x9690c3,_0x23e069);if(_0xd05aa0[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x207)](_0x42bd3b,_0xd05aa0,_0x3c9f80,_0x58dd86);}}}}}[_0x4cf005(0x1ee)](_0x46dc54,_0x254bc9,_0x37f8c6,_0x1438c9,_0x3cdcef){const _0x7ee9be=_0x4cf005,_0x12c7b9=this[_0x7ee9be(0xe8)](_0x254bc9),{left:_0x17d609,top:_0x15ddb3,height:_0x28f2bb}=_0x12c7b9,_0x20e8cd=this[_0x7ee9be(0x124)](),_0x21cd02=_0x42083b/_0x20e8cd,_0x58112c=new _0x45eaa5[(_0x7ee9be(0x190))](_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9,'height':_0x28f2bb,'width':_0x4b7bd7,'fill':_0x46dc54||_0x45eaa5[_0x7ee9be(0xa7)](_0x52210e[_0x7ee9be(0x2c2)][_0x7ee9be(0x254)],0x0),'strokeWidth':_0x21cd02,'stroke':_0xe0d208,'evented':!0x0});this[_0x7ee9be(0x2b7)]=_0x58112c,this[_0x7ee9be(0x1fc)][_0x7ee9be(0x31f)](_0x58112c,_0xd08195['TEXT_RANGE_LAYER_INDEX']);const _0x111ee2=new _0x45eaa5[(_0x7ee9be(0x190))](_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9-_0x41bddb/0x2,'height':_0x41bddb,'width':_0x41bddb,'fill':_0x46dc54||_0x45eaa5['getColor'](_0x52210e['COLORS'][_0x7ee9be(0x254)],0x0),'strokeWidth':0x0,'stroke':_0x46dc54||_0x45eaa5['getColor'](_0x52210e[_0x7ee9be(0x2c2)][_0x7ee9be(0x254)],0x0),'evented':!0x1});this[_0x7ee9be(0x31c)]=_0x111ee2,this[_0x7ee9be(0x1fc)]['addObject'](_0x111ee2,_0xd08195[_0x7ee9be(0x100)]);const _0x514f23=new _0x556dcb(_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9-_0x26e7ed,'text':_0x3cdcef,'color':_0x46dc54});this[_0x7ee9be(0x1eb)]=_0x514f23,this[_0x7ee9be(0x1fc)][_0x7ee9be(0x31f)](_0x514f23,_0xd08195[_0x7ee9be(0x100)]),this[_0x7ee9be(0x216)]=!0x1;}[_0x4cf005(0x252)](){const _0x626469=_0x4cf005,_0xd5015f=this[_0x626469(0x2b7)][_0x626469(0x1b1)][_0x626469(0x308)](()=>{const _0x108bdd=_0x626469;this[_0x108bdd(0x216)]=!0x0;}),_0x408f6b=this[_0x626469(0x2b7)][_0x626469(0x318)][_0x626469(0x308)](()=>{const _0x1ee324=_0x626469;this[_0x1ee324(0x13c)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x3bead4=_0x1ee324;this[_0x3bead4(0x216)]=!0x1;},0x7d0);});return()=>{const _0x1b98e3=_0x626469;_0xd5015f['unsubscribe'](),_0x408f6b[_0x1b98e3(0x166)]();};}[_0x4cf005(0x207)](_0x3f73c6,_0x1c5071,_0xd1e897,_0x27cba1){const _0x5b316c=_0x4cf005,_0x44a482=new _0x52210e['ColorKit'](_0x3f73c6)[_0x5b316c(0x1ad)](0.2)[_0x5b316c(0x26d)](),_0x1f4d63=new _0x45eaa5['RegularPolygon'](_0x877f00+_0x52210e['Tools'][_0x5b316c(0x2c7)](_0x3ee6e0),{'pointsGroup':_0x1c5071,'fill':_0x44a482||_0x45eaa5['getColor'](_0x52210e['COLORS'][_0x5b316c(0x254)],0.2),'left':_0xd1e897,'top':_0x27cba1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b316c(0xdb)]['push'](_0x1f4d63),this[_0x5b316c(0x1fc)][_0x5b316c(0x31f)](_0x1f4d63,_0xd08195['TEXT_RANGE_LAYER_INDEX']);}[_0x4cf005(0x2ce)](_0x263498,_0x47d3dd,_0x35db7c,_0x115071){const _0x6bc512=_0x4cf005,_0x155d16=new _0x52210e['ColorKit'](_0x263498)[_0x6bc512(0x1ad)](0.2)['toRgbString'](),_0x43f91e=new _0x45eaa5[(_0x6bc512(0x16e))](_0x330b69+_0x52210e[_0x6bc512(0xdc)][_0x6bc512(0x2c7)](_0x3ee6e0),{'pointsGroup':_0x47d3dd,'fill':_0x155d16||_0x45eaa5['getColor'](_0x52210e[_0x6bc512(0x2c2)]['black'],0.2),'left':_0x35db7c,'top':_0x115071,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x6bc512(0xdb)][_0x6bc512(0x11e)](_0x43f91e),this['_scene']['addObject'](_0x43f91e,_0xd08195['TEXT_RANGE_LAYER_INDEX']);}[_0x4cf005(0xe8)](_0x76b3f4){const _0x562fc7=_0x76b3f4[0x0],_0x41ceb4=_0x562fc7[0x0],_0x4a9d54=_0x562fc7[0x2],{x:_0x3bd0bc,y:_0x200262}=_0x41ceb4,{x:_0xe4dd2c,y:_0x492c11}=_0x4a9d54;return{'left':_0x3bd0bc,'top':_0x200262,'width':_0xe4dd2c-_0x3bd0bc,'height':_0x492c11-_0x200262};}[_0x4cf005(0x124)](){const _0x49e9e6=_0x4cf005,{scaleX:_0x54c60d,scaleY:_0xce286}=this[_0x49e9e6(0x1fc)][_0x49e9e6(0x243)]();return Math[_0x49e9e6(0x120)](_0x54c60d,_0xce286);}}var _0x28fcbc=Object[_0x4cf005(0x19c)],_0x17f92e=(_0x530e9f,_0xecf06,_0xca88a5,_0x13a007)=>{const _0x570772=_0x4cf005;for(var _0x2ed2eb=_0x13a007>0x1?void 0x0:_0x13a007?_0x28fcbc(_0xecf06,_0xca88a5):_0xecf06,_0x5a01a0=_0x530e9f[_0x570772(0x20e)]-0x1,_0x199edb;_0x5a01a0>=0x0;_0x5a01a0--)(_0x199edb=_0x530e9f[_0x5a01a0])&&(_0x2ed2eb=_0x199edb(_0x2ed2eb)||_0x2ed2eb);return _0x2ed2eb;},_0x10e080=(_0x2b1640,_0x52123b)=>(_0x3edb38,_0x186913)=>_0x52123b(_0x3edb38,_0x186913,_0x2b1640);let _0x14e670=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x285690,_0x14f2e3,_0x231d6b,_0x291169,_0x2dc664){const _0x2720d5=_0x4cf005;super(),_0xb6ff52(this,_0x2720d5(0x253),[]),_0xb6ff52(this,'_cursors',[]),(this[_0x2720d5(0x1a4)]=_0x285690,this[_0x2720d5(0x2c6)]=_0x14f2e3,this[_0x2720d5(0x237)]=_0x231d6b,this[_0x2720d5(0x1a7)]=_0x291169,this[_0x2720d5(0x328)]=_0x2dc664,this[_0x2720d5(0x138)]());}[_0x4cf005(0x138)](){const _0x32803d=_0x4cf005,_0x124cba=this[_0x32803d(0x1a4)]['unitId'],_0x4e7e20=this[_0x32803d(0x2c6)];this[_0x32803d(0x285)](_0x27f681[_0x32803d(0x1e4)]([this[_0x32803d(0x237)][_0x32803d(0x17e)](_0x124cba),this[_0x32803d(0x328)][_0x32803d(0x108)]])[_0x32803d(0x23f)](_0x41470f['map'](([_0x5f1a96,_0x54f2e0])=>({'skeleton':_0x4e7e20[_0x32803d(0x1d4)](),'cursors':[..._0x5f1a96[_0x32803d(0xb2)]()][_0x32803d(0x1e3)](_0x39bfbf=>({..._0x39bfbf,'color':_0x54f2e0[_0x39bfbf[_0x32803d(0xb6)]]}))})))[_0x32803d(0x21a)](_0x1c3c31=>{const _0x1e6c49=_0x32803d;if(this[_0x1e6c49(0x312)](),_0x1c3c31){const {skeleton:_0x4ad841,cursors:_0x36dab2}=_0x1c3c31;this['_updateCollabCursors'](_0x4ad841,_0x36dab2);}})),this[_0x32803d(0x307)](),this[_0x32803d(0x217)]();}['_updateCollabCursors'](_0x2edd27,_0x1c5032){const _0xb8de58=_0x4cf005,{scene:_0x1c1b4b,mainComponent:_0x503651}=this[_0xb8de58(0x1a4)],_0x4145ea=_0x1c5032[_0xb8de58(0x25d)](_0x4a3c04=>new _0xdd03db(_0x4a3c04,_0x1c1b4b,_0x2edd27,_0x503651));this[_0xb8de58(0x253)]=_0x4145ea,this[_0xb8de58(0x212)]=_0x1c5032;}[_0x4cf005(0x1c7)](){const _0x570331=_0x4cf005;this[_0x570331(0x312)]();const {scene:_0x37bdea,mainComponent:_0x12730f}=this['_context'],_0x39048a=this[_0x570331(0x2c6)][_0x570331(0x1d4)](),_0x134e2a=this[_0x570331(0x212)][_0x570331(0x25d)](_0xfdf56a=>new _0xdd03db(_0xfdf56a,_0x37bdea,_0x39048a,_0x12730f));this[_0x570331(0x253)]=_0x134e2a;}[_0x4cf005(0x312)](){const _0x5200b4=_0x4cf005;this[_0x5200b4(0x253)]['forEach'](_0x39836e=>_0x39836e[_0x5200b4(0xf7)]()),this[_0x5200b4(0x253)]=[];}[_0x4cf005(0x217)](){const _0x1e7cd9=_0x4cf005,_0x34f8ed=[_0xd08195[_0x1e7cd9(0x279)]['id']];this[_0x1e7cd9(0x285)](this[_0x1e7cd9(0x1a7)][_0x1e7cd9(0x143)](_0x3ccd44=>{const _0x3d661b=_0x1e7cd9;_0x34f8ed[_0x3d661b(0x14a)](_0x3ccd44['id'])&&_0x3ccd44[_0x3d661b(0x2ae)]['unitId']===this['_context'][_0x3d661b(0x163)]&&this['_refreshCollabCursors']();}));}[_0x4cf005(0x307)](){const _0x53334a=_0x4cf005;this[_0x53334a(0x285)](_0x52210e[_0x53334a(0xb5)](this[_0x53334a(0x1a4)][_0x53334a(0x14b)][_0x53334a(0x2a7)])[_0x53334a(0x23f)](_0x41470f[_0x53334a(0x17b)](_0x335819=>_0x335819[_0x53334a(0x24b)]===_0x45eaa5[_0x53334a(0x1a8)][_0x53334a(0x27f)]),_0x41470f[_0x53334a(0xac)](0x10))[_0x53334a(0x21a)](()=>{const _0x1d2255=_0x53334a;this[_0x1d2255(0x1c7)]();}));}};_0x14e670=_0x17f92e([_0x10e080(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x20d49c['DocSkeletonManagerService'])),_0x10e080(0x2,_0x52210e['Inject'](_0x1ee3b8)),_0x10e080(0x3,_0x52210e['ICommandService']),_0x10e080(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x52210e['ThemeService']))],_0x14e670);const _0x13c51d=0x1,_0x1a4a96=1.5;class _0x220a7d extends _0x45eaa5[_0x4cf005(0x1b2)]{constructor(_0x3d5d0c,_0x383425){const _0x32d598=_0x4cf005;super(_0x3d5d0c,_0x383425),_0xb6ff52(this,_0x32d598(0x284)),_0xb6ff52(this,_0x32d598(0x2f7),!0x1),_0xb6ff52(this,_0x32d598(0x291)),_0xb6ff52(this,'_name',''),_0xb6ff52(this,_0x32d598(0x1fd),_0x32d598(0x2e2)),_0xb6ff52(this,_0x32d598(0x1d0)),(_0x383425&&this['setShapeProps'](_0x383425),this[_0x32d598(0x1b1)][_0x32d598(0x308)](()=>this[_0x32d598(0x251)]({'hovered':!0x0})),this['onPointerLeave$'][_0x32d598(0x308)](()=>this[_0x32d598(0x251)]({'hovered':!0x1})));}[_0x4cf005(0x251)](_0x1aa8ba){const _0x2ad88a=_0x4cf005;var _0x1a66ba,_0x4ef435,_0x23cd4e,_0x232d80,_0x38f171,_0x5981d9;this[_0x2ad88a(0x284)]=(_0x1a66ba=_0x1aa8ba[_0x2ad88a(0xb6)])!=null?_0x1a66ba:this[_0x2ad88a(0x284)],this[_0x2ad88a(0x2f7)]=(_0x4ef435=_0x1aa8ba[_0x2ad88a(0x2a8)])!=null?_0x4ef435:this[_0x2ad88a(0x2f7)],this[_0x2ad88a(0x291)]=(_0x23cd4e=_0x1aa8ba[_0x2ad88a(0x2c0)])!=null?_0x23cd4e:this[_0x2ad88a(0x291)],this[_0x2ad88a(0x118)]=(_0x232d80=_0x1aa8ba['name'])!=null?_0x232d80:this[_0x2ad88a(0x118)],this['_labelPosition']=(_0x38f171=_0x1aa8ba[_0x2ad88a(0x22b)])!=null?_0x38f171:this[_0x2ad88a(0x1fd)],this['_backgroundColor']=(_0x5981d9=_0x1aa8ba[_0x2ad88a(0x1ef)])!=null?_0x5981d9:this[_0x2ad88a(0x1d0)],this[_0x2ad88a(0xe9)]({'width':_0x1aa8ba[_0x2ad88a(0xaa)],'height':_0x1aa8ba[_0x2ad88a(0x2de)]});}[_0x4cf005(0x24d)](_0x8201fb){const _0x1c40bb=_0x4cf005,{row:_0x58695c,column:_0x3b2b5b}=_0x8201fb;if(_0x58695c>=this[_0x1c40bb(0x291)][_0x1c40bb(0x1bc)]&&_0x58695c<=this['_range'][_0x1c40bb(0x25a)]&&_0x3b2b5b>=this[_0x1c40bb(0x291)][_0x1c40bb(0x25e)]&&_0x3b2b5b<=this['_range'][_0x1c40bb(0x287)]){this[_0x1c40bb(0x251)]({'hovered':!0x0});return;}this[_0x1c40bb(0x251)]({'hovered':!0x1});}[_0x4cf005(0x2a0)](_0x346eda){return!0x1;}['_draw'](_0x4084aa){const _0x20deeb=_0x4cf005;_0x45eaa5[_0x20deeb(0x190)]['drawWith'](_0x4084aa,{'width':this['width'],'height':this[_0x20deeb(0x2de)],'strokeWidth':_0x1a4a96,'stroke':this[_0x20deeb(0x284)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x20deeb(0x2f7)]&&(_0x4084aa[_0x20deeb(0x220)](),_0x4084aa[_0x20deeb(0xb3)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x20deeb(0x26c)?0x0:-0x14),_0x556dcb['drawWith'](_0x4084aa,{'text':this['_name'],'color':this['_color']}),_0x4084aa[_0x20deeb(0x23c)]());}}var _0x24db63=Object['getOwnPropertyDescriptor'],_0x325748=(_0x549ced,_0xcd2d1e,_0x104df7,_0x3c468f)=>{for(var _0x33faa2=_0x3c468f>0x1?void 0x0:_0x3c468f?_0x24db63(_0xcd2d1e,_0x104df7):_0xcd2d1e,_0x5461a9=_0x549ced['length']-0x1,_0x3feefa;_0x5461a9>=0x0;_0x5461a9--)(_0x3feefa=_0x549ced[_0x5461a9])&&(_0x33faa2=_0x3feefa(_0x33faa2)||_0x33faa2);return _0x33faa2;},_0x1770c9=(_0x3fd31b,_0x49239a)=>(_0x3849f2,_0x5313b8)=>_0x49239a(_0x3849f2,_0x5313b8,_0x3fd31b);const _0x1ab59c=0x1389;let _0x396fbf=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x51a8d0,_0xc76acd,_0x7a320b,_0x935b1b){const _0x17017c=_0x4cf005;super(),_0xb6ff52(this,'_cursors',new Set()),_0xb6ff52(this,'_lastPointer',null),(this[_0x17017c(0x1a4)]=_0x51a8d0,this[_0x17017c(0x2cc)]=_0xc76acd,this[_0x17017c(0x237)]=_0x7a320b,this[_0x17017c(0x328)]=_0x935b1b,this[_0x17017c(0x138)]());}['_init'](){const _0x34b918=_0x4cf005;this['_sheetSkeletonManagerService'][_0x34b918(0x15c)][_0x34b918(0x23f)](_0x41470f['takeUntil'](this[_0x34b918(0x183)]),_0x41470f['switchMap'](_0x2fd45c=>{const _0x22c9ea=_0x34b918;if(_0x2fd45c){const _0x254f66=_0x2fd45c[_0x22c9ea(0x326)];return _0x27f681[_0x22c9ea(0x1e4)](this[_0x22c9ea(0x237)]['getCollabCursors$'](this[_0x22c9ea(0x1a4)]['unitId']),this[_0x22c9ea(0x328)][_0x22c9ea(0x108)])[_0x22c9ea(0x23f)](_0x41470f[_0x22c9ea(0x25d)](([_0x1e77f5,_0x3d90d5])=>{const _0x2ddceb=_0x22c9ea,_0x5126f8=new Map();return _0x1e77f5[_0x2ddceb(0x2f5)]((_0x3390ce,_0x61633)=>{const _0x2f265d=_0x2ddceb;if(_0x3390ce[_0x2f265d(0x185)]===_0x254f66){const _0x4c688f={..._0x3390ce};_0x4c688f[_0x2f265d(0xb6)]=_0x3d90d5[_0x3390ce[_0x2f265d(0xb6)]],_0x5126f8[_0x2f265d(0x202)](_0x61633,_0x4c688f);}}),{'skeleton':_0x2fd45c,'cursors':_0x5126f8};}));}return _0x27f681['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xeea41a,cursors:_0x314988})=>{const _0x1ab149=_0x34b918;this[_0x1ab149(0x312)](),_0xeea41a&&this[_0x1ab149(0x151)](_0xeea41a,_0x314988);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x34b918(0x21a)](_0x3b6909=>{const _0x49373a=_0x34b918;if(_0x3b6909==null)return;const {skeleton:_0x253081}=_0x3b6909,{scene:_0x53b9f5}=this['_context'];_0x53b9f5[_0x49373a(0x228)][_0x49373a(0x308)](_0x52210e[_0x49373a(0x1a5)](_0x4eb134=>{const _0x2ce591=_0x49373a;var _0x37e45f,_0x5d0904;const {offsetX:_0x33c373,offsetY:_0x203251}=_0x4eb134,{x:_0x4e93d3,y:_0x3bdee5}=_0x53b9f5[_0x2ce591(0x26a)](_0x45eaa5[_0x2ce591(0x128)][_0x2ce591(0x210)]([_0x33c373,_0x203251])),{scaleX:_0x5a5829,scaleY:_0x1e0007}=_0x53b9f5[_0x2ce591(0x243)](),_0x5ed1ed=_0x53b9f5[_0x2ce591(0x2bb)](_0x45eaa5['SHEET_VIEWPORT_KEY'][_0x2ce591(0x1ff)]),_0x148f08=_0x53b9f5[_0x2ce591(0x28e)](_0x45eaa5[_0x2ce591(0x128)]['FromArray']([_0x4e93d3,_0x3bdee5]),_0x5ed1ed),_0x57d995=_0x253081[_0x2ce591(0x2f6)](_0x33c373,_0x203251,_0x5a5829,_0x1e0007,_0x148f08);((_0x37e45f=this['_lastPointer'])==null?void 0x0:_0x37e45f[_0x2ce591(0x2d7)])===_0x57d995['column']&&((_0x5d0904=this['_lastPointer'])==null?void 0x0:_0x5d0904[_0x2ce591(0x277)])===_0x57d995[_0x2ce591(0x277)]||this[_0x2ce591(0x212)][_0x2ce591(0x2f5)](_0x3bbeb4=>{const _0x387526=_0x2ce591;_0x3bbeb4[_0x387526(0x24d)](_0x57d995);});},0x64));});}['_updateCollabCursors'](_0x3d5356,_0x15c2e4){const _0x4d0ecd=_0x4cf005;var _0x5446c8;const _0x21d733=(_0x5446c8=this[_0x4d0ecd(0x2cc)]['getCurrent']())==null?void 0x0:_0x5446c8[_0x4d0ecd(0x2c1)];if(!_0x21d733)return;const _0x409cc0=this[_0x4d0ecd(0xf4)]();if(!_0x409cc0)return;this[_0x4d0ecd(0x212)][_0x4d0ecd(0x2f5)](_0x45c865=>{const _0x16630d=_0x4d0ecd;_0x45c865[_0x16630d(0xa5)]();});const {scene:_0x1eb345}=_0x409cc0,_0x1d41d4=_0xe3cae5(Array[_0x4d0ecd(0x195)](_0x15c2e4[_0x4d0ecd(0xb2)]()))[_0x4d0ecd(0x25d)](_0x1079df=>{const _0x1682ec=_0x4d0ecd,{color:_0x119890,range:_0x4a2373,name:_0x1f5151,selection:_0x1ac685,sheetID:_0x583aad}=_0x1079df,{startColumn:_0x177b37,startRow:_0x54606f,endColumn:_0x5a2024,endRow:_0x23d642}=_0x4a2373,_0x134aab=_0x3b105a['getCoordByCell'](_0x54606f,_0x177b37,_0x1eb345,_0x21d733),_0x389ace=_0x3b105a[_0x1682ec(0x2c8)](_0x23d642,_0x5a2024,_0x1eb345,_0x21d733),{columnHeaderHeightAndMarginTop:_0x180bd8}=_0x21d733,{startX:_0x81b603,startY:_0xcd5f16}=_0x134aab,{endX:_0x577b60,endY:_0x4a65dd}=_0x389ace,_0x2217e5=_0x577b60-_0x81b603,_0x4c603d=_0x4a65dd-_0xcd5f16,_0x3c1fe5={'labelPosition':_0xcd5f16-_0x180bd8>=_0x26e7ed?'top':'bottom','sheetID':_0x583aad,'range':_0x4a2373,'color':_0x119890,'name':_0x1f5151,'selection':_0x1ac685,'left':_0x81b603,'top':_0xcd5f16,'width':_0x2217e5,'height':_0x4c603d,'evented':!0x1,'zIndex':_0x1ab59c};return new _0x220a7d(_0x1f5151,_0x3c1fe5);});_0x1eb345[_0x4d0ecd(0x2eb)](_0x1d41d4,_0x13c51d),this[_0x4d0ecd(0x212)]=new Set(_0x1d41d4);}[_0x4cf005(0x312)](){const _0x46d2bb=_0x4cf005;var _0x4f2717;(_0x4f2717=this[_0x46d2bb(0x212)])==null||_0x4f2717[_0x46d2bb(0x2f5)](_0x47a816=>_0x47a816[_0x46d2bb(0xf7)]());}[_0x4cf005(0xf4)](){const _0x4f9ca9=_0x4cf005;return _0x3b105a['getSheetObject'](this[_0x4f9ca9(0x1a4)][_0x4f9ca9(0x155)],this[_0x4f9ca9(0x1a4)]);}};_0x396fbf=_0x325748([_0x1770c9(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x3b105a['SheetSkeletonManagerService'])),_0x1770c9(0x2,_0x52210e['Inject'](_0x1ee3b8)),_0x1770c9(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x123)]))],_0x396fbf);function _0xe3cae5(_0x2bd6d8){const _0x24c72e=_0x4cf005,_0x54220b=new Map();return _0x2bd6d8['forEach'](_0x3da13f=>{const _0x777bd7=_0x568e;if(_0x54220b['has'](_0x3da13f[_0x777bd7(0xde)])){const _0x5a6b36=_0x54220b[_0x777bd7(0x1d2)](_0x3da13f[_0x777bd7(0xde)]);_0x5a6b36[_0x777bd7(0x306)]+=',\x20'+_0x3da13f[_0x777bd7(0x306)];}else _0x54220b[_0x777bd7(0x202)](_0x3da13f['selection'],_0x3da13f);}),Array[_0x24c72e(0x195)](_0x54220b[_0x24c72e(0xb2)]());}var _0x3653ed=function(){const _0x132752=_0x4cf005;return _0x3653ed=Object[_0x132752(0xca)]||function(_0x4732da){const _0x250839=_0x132752;for(var _0x3810bd,_0x2f73e2=0x1,_0x2460a8=arguments[_0x250839(0x20e)];_0x2f73e2<_0x2460a8;_0x2f73e2++){_0x3810bd=arguments[_0x2f73e2];for(var _0x4a692b in _0x3810bd)Object[_0x250839(0x2c9)][_0x250839(0x2f8)]['call'](_0x3810bd,_0x4a692b)&&(_0x4732da[_0x4a692b]=_0x3810bd[_0x4a692b]);}return _0x4732da;},_0x3653ed[_0x132752(0x2ca)](this,arguments);},_0x20e761=function(_0x1ffd19,_0x32459b){const _0x4e6899=_0x4cf005;var _0x526761={};for(var _0x5c5a21 in _0x1ffd19)Object[_0x4e6899(0x2c9)][_0x4e6899(0x2f8)]['call'](_0x1ffd19,_0x5c5a21)&&_0x32459b[_0x4e6899(0x1fb)](_0x5c5a21)<0x0&&(_0x526761[_0x5c5a21]=_0x1ffd19[_0x5c5a21]);if(_0x1ffd19!=null&&typeof Object[_0x4e6899(0xbd)]=='function'){for(var _0x2f417c=0x0,_0x5c5a21=Object[_0x4e6899(0xbd)](_0x1ffd19);_0x2f417c<_0x5c5a21[_0x4e6899(0x20e)];_0x2f417c++)_0x32459b[_0x4e6899(0x1fb)](_0x5c5a21[_0x2f417c])<0x0&&Object[_0x4e6899(0x2c9)][_0x4e6899(0x2af)][_0x4e6899(0x331)](_0x1ffd19,_0x5c5a21[_0x2f417c])&&(_0x526761[_0x5c5a21[_0x2f417c]]=_0x1ffd19[_0x5c5a21[_0x2f417c]]);}return _0x526761;},_0x21ef57=_0x854b5b['forwardRef'](function(_0x2702b4,_0x46c501){const _0x529545=_0x4cf005;var _0x6ba5b9=_0x2702b4['icon'],_0x263b34=_0x2702b4['id'],_0x32aaab=_0x2702b4[_0x529545(0xb4)],_0x4dba3a=_0x2702b4[_0x529545(0x2ec)],_0x10ada5=_0x20e761(_0x2702b4,[_0x529545(0x313),'id',_0x529545(0xb4),'extend']),_0x8fba6f=_0x529545(0x10a)[_0x529545(0x14f)](_0x263b34,'\x20')[_0x529545(0x14f)](_0x32aaab||'')[_0x529545(0x1cb)](),_0x56a60b=_0x854b5b[_0x529545(0x133)]('_'[_0x529545(0x14f)](_0x21d979()));return _0x36a290(_0x6ba5b9,''[_0x529545(0x14f)](_0x263b34),{'defIds':_0x6ba5b9[_0x529545(0x186)],'idSuffix':_0x56a60b['current']},_0x3653ed({'ref':_0x46c501,'className':_0x8fba6f},_0x10ada5),_0x4dba3a);});function _0x36a290(_0x554134,_0x9e55c,_0x4f209e,_0x5a90a8,_0x2d8d28){const _0x5583b2=_0x4cf005;return _0x854b5b['createElement'](_0x554134['tag'],_0x3653ed(_0x3653ed({'key':_0x9e55c},_0x5aeba3(_0x554134,_0x4f209e,_0x2d8d28)),_0x5a90a8),(_0x2ea5a6(_0x554134,_0x4f209e)[_0x5583b2(0xa6)]||[])[_0x5583b2(0x25d)](function(_0x4bef48,_0x4164d9){const _0x2148aa=_0x5583b2;return _0x36a290(_0x4bef48,''['concat'](_0x9e55c,'-')[_0x2148aa(0x14f)](_0x554134[_0x2148aa(0x26e)],'-')[_0x2148aa(0x14f)](_0x4164d9),_0x4f209e,void 0x0,_0x2d8d28);}));}function _0x5aeba3(_0x4d2964,_0x145835,_0x34a006){const _0x2d17e6=_0x4cf005;var _0x382e31=_0x3653ed({},_0x4d2964[_0x2d17e6(0x1ba)]);_0x34a006!=null&&_0x34a006[_0x2d17e6(0xbc)]&&_0x382e31[_0x2d17e6(0x2e6)]===_0x2d17e6(0xbc)&&(_0x382e31[_0x2d17e6(0x2e6)]=_0x34a006[_0x2d17e6(0xbc)]),_0x4d2964[_0x2d17e6(0x26e)]===_0x2d17e6(0x19b)&&_0x382e31['id']&&(_0x382e31['id']=_0x382e31['id']+_0x145835['idSuffix']),Object[_0x2d17e6(0xf6)](_0x382e31)[_0x2d17e6(0x2f5)](function(_0x3099bd){const _0xd36b3b=_0x2d17e6;var _0x49e6b0=_0x3099bd[0x0],_0x7f278e=_0x3099bd[0x1];_0x49e6b0===_0xd36b3b(0x19b)&&typeof _0x7f278e==_0xd36b3b(0x10b)&&(_0x382e31[_0x49e6b0]=_0x7f278e['replace'](/url\(#(.*)\)/,_0xd36b3b(0xf8)['concat'](_0x145835[_0xd36b3b(0x309)],')')));});var _0x31f5b1=_0x145835['defIds'];return!_0x31f5b1||_0x31f5b1[_0x2d17e6(0x20e)]===0x0||(_0x4d2964[_0x2d17e6(0x26e)]===_0x2d17e6(0x131)&&_0x382e31[_0x2d17e6(0x2bd)]&&(_0x382e31['xlink:href']=_0x382e31['xlink:href']+_0x145835[_0x2d17e6(0x309)]),Object['entries'](_0x382e31)[_0x2d17e6(0x2f5)](function(_0x51f115){const _0x49f9fa=_0x2d17e6;var _0x5af300=_0x51f115[0x0],_0x86087b=_0x51f115[0x1];typeof _0x86087b==_0x49f9fa(0x10b)&&(_0x382e31[_0x5af300]=_0x86087b[_0x49f9fa(0x32c)](/url\(#(.*)\)/,_0x49f9fa(0xf8)[_0x49f9fa(0x14f)](_0x145835[_0x49f9fa(0x309)],')')));})),_0x382e31;}function _0x2ea5a6(_0x4cab0e,_0x12495a){const _0x4c343e=_0x4cf005;var _0x406de2,_0x57a4b4=_0x12495a[_0x4c343e(0x186)];return!_0x57a4b4||_0x57a4b4[_0x4c343e(0x20e)]===0x0?_0x4cab0e:_0x4cab0e[_0x4c343e(0x26e)]==='defs'&&(!((_0x406de2=_0x4cab0e['children'])===null||_0x406de2===void 0x0)&&_0x406de2[_0x4c343e(0x20e)])?_0x3653ed(_0x3653ed({},_0x4cab0e),{'children':_0x4cab0e['children'][_0x4c343e(0x25d)](function(_0x209762){const _0x30ca02=_0x4c343e;return typeof _0x209762[_0x30ca02(0x1ba)]['id']==_0x30ca02(0x10b)&&_0x57a4b4&&_0x57a4b4[_0x30ca02(0x1fb)](_0x209762['attrs']['id'])>-0x1?_0x3653ed(_0x3653ed({},_0x209762),{'attrs':_0x3653ed(_0x3653ed({},_0x209762[_0x30ca02(0x1ba)]),{'id':_0x209762[_0x30ca02(0x1ba)]['id']+_0x12495a[_0x30ca02(0x309)]})}):_0x209762;})}):_0x4cab0e;}function _0x21d979(){const _0x87e1ec=_0x4cf005;return Math['random']()[_0x87e1ec(0x334)](0x24)[_0x87e1ec(0x27c)](0x2,0x8);}_0x21ef57[_0x4cf005(0x1cc)]=_0x4cf005(0x258);var _0xbeffb0={'tag':_0x4cf005(0xd4),'attrs':{'fill':_0x4cf005(0x283),'viewBox':'0\x200\x2016\x2016','width':_0x4cf005(0x324),'height':_0x4cf005(0x324)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cf005(0x336)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'stroke':_0x4cf005(0x297),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4cf005(0x267),'strokeLinejoin':_0x4cf005(0x267),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4cf005(0x14c),'attrs':{'id':_0x4cf005(0x188)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'fill':'#fff','d':_0x4cf005(0x15a)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x1142b5=_0x854b5b[_0x4cf005(0xe5)](function(_0x18ffd7,_0xcd6425){const _0xcc1b8c=_0x4cf005;return _0x854b5b[_0xcc1b8c(0x199)](_0x21ef57,Object[_0xcc1b8c(0xca)]({},_0x18ffd7,{'id':'off-line-single','ref':_0xcd6425,'icon':_0xbeffb0}));});_0x1142b5[_0x4cf005(0x1cc)]=_0x4cf005(0x165);var _0x5989fe={'tag':_0x4cf005(0xd4),'attrs':{'fill':_0x4cf005(0x283),'viewBox':_0x4cf005(0x122),'width':'1em','height':_0x4cf005(0x324)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cf005(0x13a)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'stroke':_0x4cf005(0x297),'d':_0x4cf005(0x265),'strokeLinecap':_0x4cf005(0x267),'strokeLinejoin':_0x4cf005(0x267),'strokeWidth':1.2}}]},{'tag':_0x4cf005(0x269),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4cf005(0x198),'attrs':{'fill':_0x4cf005(0x22a),'d':_0x4cf005(0x15a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4cf005(0x1b4)]},_0x90e28b=_0x854b5b[_0x4cf005(0xe5)](function(_0x337dd3,_0x2cb56d){const _0x1b2537=_0x4cf005;return _0x854b5b['createElement'](_0x21ef57,Object['assign']({},_0x337dd3,{'id':_0x1b2537(0x1f0),'ref':_0x2cb56d,'icon':_0x5989fe}));});_0x90e28b['displayName']='OnLineSingle';function _0x1e8de5(_0x5d646e){const _0x4de518=_0x4cf005;switch(_0x5d646e){case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0xc7)]:return _0x4de518(0xd0);case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0x2dc)]:return _0x4de518(0x30a);case _0x47040c['CollaborationStatus'][_0x4de518(0x18e)]:return _0x4de518(0x14e);case _0x47040c[_0x4de518(0x1b9)]['NOT_COLLAB']:return _0x4de518(0x1c2);case _0x47040c['CollaborationStatus'][_0x4de518(0x177)]:case _0x47040c[_0x4de518(0x1b9)]['AWAITING_WITH_PENDING']:return _0x4de518(0x1be);case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0xcc)]:case _0x47040c['CollaborationStatus'][_0x4de518(0x2c4)]:return'collabStatus.synced';}}function _0xddad9e(_0x5ac6cb){const _0x68296=_0x4cf005,{status$:_0x46df8e}=_0x5ac6cb,_0x5b43f3=_0x4f6f29[_0x68296(0x209)](_0x46df8e,_0x47040c[_0x68296(0x1b9)][_0x68296(0xe1)]),_0xe673ea=_0x4f6f29['useDependency'](_0x52210e[_0x68296(0x250)]),_0x3eed23=_0x4f6f29[_0x68296(0x295)](_0x47040c[_0x68296(0x270)]),_0x28d89d=_0x5b43f3!==_0x47040c[_0x68296(0x1b9)]['OFFLINE'],_0x44432a=_0xe673ea['t'](_0x1e8de5(_0x5b43f3)),_0x19c981=_0x28d89d?_0x351132['jsx'](_0x90e28b,{}):_0x351132[_0x68296(0x327)](_0x1142b5,{}),_0x4b64ca=_0x854b5b['useCallback'](()=>{_0x28d89d||_0x3eed23['reconnect']();},[_0x28d89d,_0x3eed23]);function _0x263380(){const _0x25d618=_0x68296;return _0x351132[_0x25d618(0x205)]('div',{'className':_0x25d618(0x1b3),'onClick':_0x4b64ca,'children':[_0x351132[_0x25d618(0x327)](_0x25d618(0xa2),{'className':_0x4bb591[_0x25d618(0x219)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x28d89d?_0x25d618(0x232):'univer-text-red-500'),'children':_0x19c981}),_0x351132[_0x25d618(0x327)](_0x25d618(0xa2),{'className':_0x25d618(0x12d),'children':_0x44432a})]});}return _0x28d89d?_0x263380():_0x351132[_0x68296(0x327)](_0x4bb591['Tooltip'],{'title':_0xe673ea['t'](_0x68296(0x30b)),'children':_0x263380()});}var _0x3d665d=Object['getOwnPropertyDescriptor'],_0x1121db=(_0x3c68c9,_0x7f4664,_0x48caef,_0x4e0d9a)=>{const _0x4fdbf0=_0x4cf005;for(var _0x50d766=_0x4e0d9a>0x1?void 0x0:_0x4e0d9a?_0x3d665d(_0x7f4664,_0x48caef):_0x7f4664,_0x42938d=_0x3c68c9[_0x4fdbf0(0x20e)]-0x1,_0x459116;_0x42938d>=0x0;_0x42938d--)(_0x459116=_0x3c68c9[_0x42938d])&&(_0x50d766=_0x459116(_0x50d766)||_0x50d766);return _0x50d766;},_0x27bd55=(_0x459e19,_0x13e736)=>(_0x1d9dae,_0x28b7a7)=>_0x13e736(_0x1d9dae,_0x28b7a7,_0x459e19);_0x353bdb[_0x4cf005(0x2b5)]=class extends _0x52210e['Disposable']{constructor(_0x27fab0,_0x88c0ab,_0x39548c,_0x3e1fa6){const _0x3b1401=_0x4cf005;super(),_0xb6ff52(this,_0x3b1401(0x13f),new _0x27f681[(_0x3b1401(0x132))](_0x47040c[_0x3b1401(0x1b9)][_0x3b1401(0xe1)])),(this[_0x3b1401(0x1a0)]=_0x27fab0,this['_injector']=_0x88c0ab,this[_0x3b1401(0x325)]=_0x39548c,this['_uiPartsService']=_0x3e1fa6,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4cf005(0x189)](){const _0x4a13b5=_0x4cf005;this[_0x4a13b5(0x285)](this['_univerInstanceService']['focused$'][_0x4a13b5(0x23f)](_0x27f681[_0x4a13b5(0x29d)](()=>{const _0x24029d=_0x4a13b5,_0x293c2d=this['_univerInstanceService'][_0x24029d(0x2bc)]();return _0x293c2d?this[_0x24029d(0x325)][_0x24029d(0x24f)](_0x293c2d[_0x24029d(0x302)]()):_0x27f681['of'](null);}),_0x27f681[_0x4a13b5(0x29d)](_0x2ebe6f=>_0x2ebe6f?_0x2ebe6f[_0x4a13b5(0xd8)]:_0x27f681['of'](_0x47040c[_0x4a13b5(0x1b9)][_0x4a13b5(0xe1)])))[_0x4a13b5(0x21a)](_0x1d41a2=>{const _0x402eec=_0x4a13b5;this['_status$'][_0x402eec(0x161)](_0x1d41a2);}));}[_0x4cf005(0x25c)](){const _0xbb784=_0x4cf005;this[_0xbb784(0x285)](this[_0xbb784(0x1e2)][_0xbb784(0x168)](_0x4f6f29[_0xbb784(0x162)][_0xbb784(0x240)],()=>_0x4f6f29[_0xbb784(0x2da)](_0x4aec03({'status$':this[_0xbb784(0x13f)]['asObservable']()}),this['_injector'])));}},_0x353bdb[_0x4cf005(0x2b5)]=_0x1121db([_0x27bd55(0x0,_0x52210e[_0x4cf005(0xf3)]),_0x27bd55(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x27bd55(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x2b9)])),_0x27bd55(0x3,_0x4f6f29['IUIPartsService'])],_0x353bdb[_0x4cf005(0x2b5)]);function _0x4aec03(_0x4613e4){const {status$:_0xca6b1a}=_0x4613e4;return function(){const _0x45b400=_0x568e;return _0x351132[_0x45b400(0x327)](_0xddad9e,{'status$':_0xca6b1a});};}var _0x576d3d=Object['getOwnPropertyDescriptor'],_0x50804=(_0x41248c,_0x3251a9,_0x996f74,_0x5f58c6)=>{const _0x40d37d=_0x4cf005;for(var _0xa6aecb=_0x5f58c6>0x1?void 0x0:_0x5f58c6?_0x576d3d(_0x3251a9,_0x996f74):_0x3251a9,_0x37252a=_0x41248c[_0x40d37d(0x20e)]-0x1,_0x388238;_0x37252a>=0x0;_0x37252a--)(_0x388238=_0x41248c[_0x37252a])&&(_0xa6aecb=_0x388238(_0xa6aecb)||_0xa6aecb);return _0xa6aecb;},_0x25a7a0=(_0x5291ca,_0x457ce4)=>(_0x4fa565,_0x4107b1)=>_0x457ce4(_0x4fa565,_0x4107b1,_0x5291ca);let _0x6a5d98=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x5d7460,_0xf6c800,_0x18fcfd,_0x51207b,_0x20de6b,_0x5de673){const _0x4bfe04=_0x4cf005;super(),this[_0x4bfe04(0x30e)]=_0x5d7460,this[_0x4bfe04(0x2e8)]=_0xf6c800,this[_0x4bfe04(0x28b)]=_0x18fcfd,this[_0x4bfe04(0xb9)]=_0x51207b,this[_0x4bfe04(0xec)]=_0x20de6b,this['_localeService']=_0x5de673,this[_0x4bfe04(0xb1)](),this[_0x4bfe04(0x314)]();}[_0x4cf005(0xb1)](){const _0x1eef41=_0x4cf005;this[_0x1eef41(0x285)](this[_0x1eef41(0x30e)][_0x1eef41(0x261)](()=>{const _0x127248=_0x1eef41;if(this[_0x127248(0x2e8)][_0x127248(0x180)][_0x127248(0x157)])return this[_0x127248(0xd6)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4cf005(0x314)](){const _0x5b6db9=_0x4cf005;this[_0x5b6db9(0x285)](this[_0x5b6db9(0x28b)][_0x5b6db9(0x141)][_0x5b6db9(0x21a)](_0x35cea0=>{const _0x1040f1=_0x5b6db9;_0x35cea0['id']===_0x47040c['CollaborationUIEventId'][_0x1040f1(0x1c3)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591['MessageType'][_0x1040f1(0x259)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x130)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x259)],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2a5))}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x104)]&&this[_0x1040f1(0xec)]['show']({'title':this[_0x1040f1(0xd6)]['t']('permission.title'),'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2ba)),'type':_0x1040f1(0x1db),'duration':0x0}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2dc)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x255)],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2a5))+'('+_0x35cea0[_0x1040f1(0x1fe)]+')'}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x235)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x259)],'content':this[_0x1040f1(0xd6)]['t'](_0x35cea0[_0x1040f1(0x1fe)]||'')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2b2)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Warning'],'content':this['_localeService']['t'](_0x1040f1(0x28a))}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)]['SOCKET_FAILED']&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Error'],'content':this[_0x1040f1(0xd6)]['t']('session.connection-failed')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2b4)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Error'],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x1d8))});}));}};_0x6a5d98=_0x50804([_0x25a7a0(0x0,_0x4f6f29['IBeforeCloseService']),_0x25a7a0(0x1,_0x47040c['ILocalCacheService']),_0x25a7a0(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x221)])),_0x25a7a0(0x3,_0x4f6f29[_0x4cf005(0x103)]),_0x25a7a0(0x4,_0x4f6f29[_0x4cf005(0x1fa)]),_0x25a7a0(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x250)]))],_0x6a5d98);const _0xbaf90d=_0x4cf005(0x111),_0x2468a5={},_0x3ada57=_0x52210e[_0x4cf005(0x1f6)](_0x4cf005(0x11c));var _0x3a6cc1=Object[_0x4cf005(0x19c)],_0x465e07=(_0x8b3812,_0x2476c6,_0x9b088d,_0x336a47)=>{for(var _0x43a3c3=_0x336a47>0x1?void 0x0:_0x336a47?_0x3a6cc1(_0x2476c6,_0x9b088d):_0x2476c6,_0xfbfaee=_0x8b3812['length']-0x1,_0x81054e;_0xfbfaee>=0x0;_0xfbfaee--)(_0x81054e=_0x8b3812[_0xfbfaee])&&(_0x43a3c3=_0x81054e(_0x43a3c3)||_0x43a3c3);return _0x43a3c3;},_0x4ee37d=(_0x4bb156,_0x48e7da)=>(_0x5f2708,_0x3bf8c0)=>_0x48e7da(_0x5f2708,_0x3bf8c0,_0x4bb156);_0x353bdb[_0x4cf005(0x208)]=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x542e8d,_0x591d7b,_0x2c0f2d,_0x53b1fb,_0x3900eb){const _0x1fa9b7=_0x4cf005;super(),this['_urlService']=_0x542e8d,this[_0x1fa9b7(0x234)]=_0x591d7b,this[_0x1fa9b7(0x1a7)]=_0x2c0f2d,this[_0x1fa9b7(0x2f4)]=_0x53b1fb,_0x3900eb?_0x3900eb==null||_0x3900eb[_0x1fa9b7(0x333)]()['then'](()=>this[_0x1fa9b7(0x138)]()):(this[_0x1fa9b7(0x234)][_0x1fa9b7(0xf5)](_0x1fa9b7(0x1aa),_0x1fa9b7(0xfa)),this['_init']());}async[_0x4cf005(0x138)](){const _0x2b77d4=_0x4cf005,_0x36bfb6=this[_0x2b77d4(0x9f)]['getParam']('unit'),_0xb0e852=this[_0x2b77d4(0x9f)][_0x2b77d4(0x290)]('type'),_0x2ee7cd=this[_0x2b77d4(0x9f)][_0x2b77d4(0x290)]('subunit');if(!_0x36bfb6||!_0xb0e852){this[_0x2b77d4(0x234)][_0x2b77d4(0xf5)](_0x2b77d4(0x1aa),_0x2b77d4(0x2d4));return;}const _0xb5e313=await this['_dataLoaderService'][_0x2b77d4(0x159)](_0x36bfb6,Number(_0xb0e852),_0x2ee7cd);_0xb5e313&&_0xb5e313 instanceof _0x52210e['Workbook']&&this[_0x2b77d4(0x225)](_0xb5e313);}async['_setupSubUnitSync'](_0x4754ab){const _0xcf72e=_0x4cf005;await this['_updateSubUnitFromURLParams'](_0x4754ab),_0x4754ab[_0xcf72e(0x30f)][_0xcf72e(0x23f)](_0x27f681[_0xcf72e(0xd2)](this[_0xcf72e(0x183)]))[_0xcf72e(0x21a)](_0x34354c=>{const _0x514c7f=_0xcf72e;_0x34354c&&this[_0x514c7f(0x249)](_0x34354c);}),this[_0xcf72e(0x9f)][_0xcf72e(0x22e)][_0xcf72e(0x23f)](_0x27f681[_0xcf72e(0xd2)](this['dispose$']))[_0xcf72e(0x21a)](()=>this['_updateSubUnitFromURLParams'](_0x4754ab));}[_0x4cf005(0x249)](_0x26c933,_0x57b9c0=!0x1){const _0x32949d=_0x4cf005,_0x24d946=this[_0x32949d(0x9f)][_0x32949d(0x290)](_0x32949d(0x19d));_0x26c933[_0x32949d(0x13d)]()!==_0x24d946&&this[_0x32949d(0x9f)][_0x32949d(0x17a)](_0x32949d(0x19d),_0x26c933['getSheetId'](),_0x57b9c0);}async[_0x4cf005(0xa4)](_0x300183){const _0x34dca5=_0x4cf005;var _0xe91f1b;const _0x1303d7=this[_0x34dca5(0x9f)][_0x34dca5(0x290)](_0x34dca5(0x19d));if(!_0x1303d7||!_0x300183[_0x34dca5(0x2a1)](_0x1303d7)){const _0x5df5fa=_0x300183['getUnhiddenWorksheets']()[0x0],_0x406e7d=_0x300183['getSheetBySheetId'](_0x5df5fa);if(!_0x406e7d)return;this[_0x34dca5(0x249)](_0x406e7d,!0x0),await this['_commandService'][_0x34dca5(0xa1)](_0x1f677a[_0x34dca5(0xf0)]['id'],{'unitId':_0x300183[_0x34dca5(0x302)](),'subUnitId':_0x5df5fa});return;}((_0xe91f1b=_0x300183['getActiveSheet']())==null?void 0x0:_0xe91f1b['getSheetId']())!==_0x1303d7&&await this[_0x34dca5(0x1a7)][_0x34dca5(0xa1)](_0x1f677a[_0x34dca5(0xf0)]['id'],{'unitId':_0x300183[_0x34dca5(0x302)](),'subUnitId':_0x1303d7});}},_0x353bdb['CollaborationDataLoaderController']=_0x465e07([_0x4ee37d(0x0,_0x3ada57),_0x4ee37d(0x1,_0x52210e[_0x4cf005(0x264)]),_0x4ee37d(0x2,_0x52210e[_0x4cf005(0x18a)]),_0x4ee37d(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x292)])),_0x4ee37d(0x4,_0x52210e[_0x4cf005(0x1ae)](_0x29b1e1['IRemoteInstanceService']))],_0x353bdb[_0x4cf005(0x208)]);var _0xaa3e40=Object[_0x4cf005(0x19c)],_0x57bc31=(_0x463d77,_0x581469,_0x3d1b25,_0x298737)=>{const _0x41bce1=_0x4cf005;for(var _0x6cade4=_0x298737>0x1?void 0x0:_0x298737?_0xaa3e40(_0x581469,_0x3d1b25):_0x581469,_0x26a459=_0x463d77[_0x41bce1(0x20e)]-0x1,_0x5819ab;_0x26a459>=0x0;_0x26a459--)(_0x5819ab=_0x463d77[_0x26a459])&&(_0x6cade4=_0x5819ab(_0x6cade4)||_0x6cade4);return _0x6cade4;},_0x362862=(_0x208611,_0x24057d)=>(_0x515251,_0x44f026)=>_0x24057d(_0x515251,_0x44f026,_0x208611);let _0x305957=class{constructor(_0x4737b6,_0x5d7a97,_0x5508f8){const _0x2ded5b=_0x4cf005;this[_0x2ded5b(0x335)]=_0x4737b6,this['_transformService']=_0x5d7a97,this[_0x2ded5b(0x115)]=_0x5508f8;}['transformIMECache'](_0x27f2f6){const _0x3b62ee=_0x4cf005;this[_0x3b62ee(0x17c)](_0x27f2f6),this['_transformPreviousActiveRange'](_0x27f2f6);}[_0x4cf005(0x214)](_0xa81a16){const _0x5af432=_0x4cf005,{unitID:_0x5ec232}=_0xa81a16,_0xc46125=this['_renderManagerService'][_0x5af432(0x18f)](_0x5ec232)['with'](_0xd08195[_0x5af432(0x10c)]),{redoCache:_0x5923f3}=_0xc46125['getUndoRedoMutationParamsCache']();if(_0x5923f3[_0x5af432(0x20e)]===0x0)return _0xa81a16;let _0x3f6885=_0x52210e['Tools'][_0x5af432(0x172)](_0xa81a16[_0x5af432(0xaf)][0x0]);for(let _0x3fef08=0x0;_0x3fef08<_0x5923f3[_0x5af432(0x20e)];_0x3fef08++){const _0x2859ab={'id':_0x5af432(0xc1),'params':{..._0x5923f3[_0x3fef08]}},_0x1a5ae6=this[_0x5af432(0x13b)]['transformMutation'](_0x3f6885,_0x2859ab,!0x1);if(_0x4251a6['isTransformMutationFailure'](_0x1a5ae6))throw _0x1a5ae6['error'];_0x3f6885=_0x1a5ae6[_0x5af432(0x2e5)];}return{..._0x52210e[_0x5af432(0xdc)][_0x5af432(0x172)](_0xa81a16),'mutations':[_0x3f6885]};}[_0x4cf005(0x17c)](_0x3d8db8){const _0x37c593=_0x4cf005,{unitID:_0x45a995}=_0x3d8db8,_0xc8c015=this[_0x37c593(0x115)][_0x37c593(0x18f)](_0x45a995)[_0x37c593(0x17f)](_0xd08195[_0x37c593(0x10c)]),{undoCache:_0x48a785,redoCache:_0x2a9297}=_0xc8c015['getUndoRedoMutationParamsCache']();if(_0x48a785[_0x37c593(0x20e)]===0x0||_0x2a9297['length']===0x0)return;const _0x4ee50d=[],_0x4370ad=[];let _0x1df4d0=_0x52210e[_0x37c593(0xdc)][_0x37c593(0x172)](_0x3d8db8[_0x37c593(0xaf)][0x0]),_0x151140=_0x52210e[_0x37c593(0xdc)]['deepClone'](_0x3d8db8[_0x37c593(0xaf)][0x0]);for(let _0x68b2a4=_0x48a785[_0x37c593(0x20e)]-0x1;_0x68b2a4>=0x0;_0x68b2a4--){const _0xb593ad={'id':_0x37c593(0xc1),'params':{..._0x48a785[_0x68b2a4]}},_0x3089f0={'id':'doc.mutation.rich-text-editing','params':{..._0x2a9297[_0x68b2a4]}},_0x1850ab=this[_0x37c593(0x13b)][_0x37c593(0x296)](_0x1df4d0,_0xb593ad,!0x1),_0x144c5a=this[_0x37c593(0x13b)][_0x37c593(0x296)](_0x151140,_0x3089f0,!0x1);if(_0x4251a6[_0x37c593(0xe3)](_0x1850ab))throw _0x1850ab[_0x37c593(0x1db)];if(_0x4251a6[_0x37c593(0xe3)](_0x144c5a))throw _0x144c5a[_0x37c593(0x1db)];_0x4ee50d[_0x37c593(0xc0)](_0x1850ab['m2Prime'][_0x37c593(0x2ae)]),_0x4370ad[_0x37c593(0xc0)](_0x144c5a[_0x37c593(0x231)][_0x37c593(0x2ae)]),_0x1df4d0=_0x1850ab['m1Prime'],_0x151140=_0x144c5a[_0x37c593(0x2e5)];}_0xc8c015[_0x37c593(0x1e0)]({'undoCache':_0x4ee50d,'redoCache':_0x4370ad});}[_0x4cf005(0x11d)](_0x353981){const _0xbaf5a2=_0x4cf005,{unitID:_0x491a73}=_0x353981,_0x3f025d=this[_0xbaf5a2(0x115)]['getRenderById'](_0x491a73)['with'](_0xd08195['DocIMEInputManagerService']),_0xad0953=_0x3f025d['getActiveRange']();if(_0xad0953==null)return;const _0x24beaa=[{'id':_0xbaf5a2(0xc1),'params':{'unitId':_0x353981['unitID'],'actions':null,'textRanges':[_0xad0953]}}],_0xef6e65=this['_transformService'][_0xbaf5a2(0x286)](_0x353981,_0x24beaa);if(!_0x4251a6[_0xbaf5a2(0x1a9)](_0xef6e65))throw _0xef6e65[_0xbaf5a2(0x1db)];const _0xc360fa=_0xef6e65[_0xbaf5a2(0x231)][0x0]['params'][_0xbaf5a2(0x2a3)];Array[_0xbaf5a2(0x2ac)](_0xc360fa)&&_0xc360fa[_0xbaf5a2(0x20e)]&&_0x3f025d[_0xbaf5a2(0x117)](_0xc360fa[0x0]);}};_0x305957=_0x57bc31([_0x362862(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x362862(0x1,_0x4251a6[_0x4cf005(0xc5)]),_0x362862(0x2,_0x45eaa5['IRenderManagerService'])],_0x305957);var _0x5a8a59=Object[_0x4cf005(0x19c)],_0x420047=(_0x32d886,_0x4ca046,_0x2864e7,_0x41b380)=>{const _0x5b957e=_0x4cf005;for(var _0x5f1a51=_0x41b380>0x1?void 0x0:_0x41b380?_0x5a8a59(_0x4ca046,_0x2864e7):_0x4ca046,_0x1cfa7d=_0x32d886[_0x5b957e(0x20e)]-0x1,_0x3e0bb0;_0x1cfa7d>=0x0;_0x1cfa7d--)(_0x3e0bb0=_0x32d886[_0x1cfa7d])&&(_0x5f1a51=_0x3e0bb0(_0x5f1a51)||_0x5f1a51);return _0x5f1a51;},_0x34acbb=(_0x28521d,_0x3e4581)=>(_0x21986c,_0x2e11e7)=>_0x3e4581(_0x21986c,_0x2e11e7,_0x28521d);let _0x544020=class{constructor(_0x3fbe4e,_0x443f52,_0x2f6a05){const _0x522f7b=_0x4cf005;this[_0x522f7b(0x335)]=_0x3fbe4e,this[_0x522f7b(0x13b)]=_0x443f52,this['_docStateChangeManagerService']=_0x2f6a05;}[_0x4cf005(0x10f)](_0x886f){const _0x5d948e=_0x4cf005;this[_0x5d948e(0x294)](_0x886f);}[_0x4cf005(0x214)](_0x15e390){const _0x4ec9bd=_0x4cf005,{unitID:_0x3017b4}=_0x15e390,{collaboration:_0x3b5516}=this[_0x4ec9bd(0x1e1)][_0x4ec9bd(0x1dc)](_0x3017b4);if(_0x3b5516[_0x4ec9bd(0x20e)]===0x0)return _0x15e390;let _0x26d68c=_0x52210e[_0x4ec9bd(0xdc)][_0x4ec9bd(0x172)](_0x15e390[_0x4ec9bd(0xaf)][0x0]);for(let _0x4267bb=0x0;_0x4267bb<_0x3b5516[_0x4ec9bd(0x20e)];_0x4267bb++){const _0x10a9d7={'id':_0x4ec9bd(0xc1),'params':{'unitId':_0x3b5516[_0x4267bb]['unitId'],..._0x3b5516[_0x4267bb]['redoState']}},_0x2c6291=this[_0x4ec9bd(0x13b)][_0x4ec9bd(0x296)](_0x26d68c,_0x10a9d7,!0x1);if(_0x4251a6[_0x4ec9bd(0xe3)](_0x2c6291))throw _0x2c6291[_0x4ec9bd(0x1db)];_0x26d68c=_0x2c6291['m1Prime'];}return{..._0x52210e['Tools'][_0x4ec9bd(0x172)](_0x15e390),'mutations':[_0x26d68c]};}['_transformHistoryAndStateStack'](_0x2a1dd7){const _0x46b885=_0x4cf005,{unitID:_0x27eec2}=_0x2a1dd7,{history:_0x2fd0d0,collaboration:_0x29e1c0}=this[_0x46b885(0x1e1)]['getStateCache'](_0x27eec2);if(_0x2fd0d0[_0x46b885(0x20e)]===0x0&&_0x29e1c0[_0x46b885(0x20e)]===0x0)return;const _0x352d56=[],_0xdc8527=[];let _0x2ec53b=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]),_0x58f102=_0x52210e['Tools'][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]);for(let _0x4bf6f0=_0x2fd0d0[_0x46b885(0x20e)]-0x1;_0x4bf6f0>=0x0;_0x4bf6f0--){const _0x4e0998={'id':_0x46b885(0xc1),'params':{'unitId':_0x2fd0d0[_0x4bf6f0][_0x46b885(0x163)],..._0x2fd0d0[_0x4bf6f0][_0x46b885(0x18c)]}},_0x49910a={'id':_0x46b885(0xc1),'params':{'unitId':_0x2fd0d0[_0x4bf6f0][_0x46b885(0x163)],..._0x2fd0d0[_0x4bf6f0][_0x46b885(0x1c0)]}},_0x1b81da=this[_0x46b885(0x13b)]['transformMutation'](_0x2ec53b,_0x4e0998,!0x1),_0xacc2ad=this[_0x46b885(0x13b)]['transformMutation'](_0x58f102,_0x49910a,!0x1);if(_0x4251a6[_0x46b885(0xe3)](_0x1b81da))throw _0x1b81da[_0x46b885(0x1db)];if(_0x4251a6[_0x46b885(0xe3)](_0xacc2ad))throw _0xacc2ad[_0x46b885(0x1db)];_0x352d56[_0x46b885(0xc0)]({..._0x2fd0d0[_0x4bf6f0],'undoState':_0x1b81da[_0x46b885(0x231)][_0x46b885(0x2ae)],'redoState':_0xacc2ad[_0x46b885(0x231)][_0x46b885(0x2ae)]}),_0x2ec53b=_0x1b81da['m1Prime'],_0x58f102=_0xacc2ad[_0x46b885(0x2e5)];}_0x2ec53b=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]),_0x58f102=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]);for(let _0x248964=_0x29e1c0[_0x46b885(0x20e)]-0x1;_0x248964>=0x0;_0x248964--){const _0x3c4643={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29e1c0[_0x248964][_0x46b885(0x163)],..._0x29e1c0[_0x248964]['undoState']}},_0x2acd90={'id':_0x46b885(0xc1),'params':{'unitId':_0x29e1c0[_0x248964][_0x46b885(0x163)],..._0x29e1c0[_0x248964][_0x46b885(0x1c0)]}},_0x3fb5a8=this[_0x46b885(0x13b)][_0x46b885(0x296)](_0x2ec53b,_0x3c4643,!0x1),_0x4154d8=this[_0x46b885(0x13b)][_0x46b885(0x296)](_0x58f102,_0x2acd90,!0x1);if(_0x4251a6['isTransformMutationFailure'](_0x3fb5a8))throw _0x3fb5a8[_0x46b885(0x1db)];if(_0x4251a6[_0x46b885(0xe3)](_0x4154d8))throw _0x4154d8[_0x46b885(0x1db)];_0xdc8527['unshift']({..._0x29e1c0[_0x248964],'undoState':_0x3fb5a8[_0x46b885(0x231)][_0x46b885(0x2ae)],'redoState':_0x4154d8['m2Prime']['params']}),_0x2ec53b=_0x3fb5a8[_0x46b885(0x2e5)],_0x58f102=_0x4154d8['m1Prime'];}this[_0x46b885(0x1e1)][_0x46b885(0x12f)](_0x27eec2,{'history':_0x352d56,'collaboration':_0xdc8527});}};_0x544020=_0x420047([_0x34acbb(0x0,_0x52210e['Inject'](_0x52210e['Injector'])),_0x34acbb(0x1,_0x4251a6['ITransformService']),_0x34acbb(0x2,_0x52210e[_0x4cf005(0x2d1)](_0xd08195[_0x4cf005(0x137)]))],_0x544020);var _0x5faf7b=Object['getOwnPropertyDescriptor'],_0x14ff41=(_0x445539,_0x8c8eb7,_0x3e5f26,_0x1b9436)=>{for(var _0x402188=_0x1b9436>0x1?void 0x0:_0x1b9436?_0x5faf7b(_0x8c8eb7,_0x3e5f26):_0x8c8eb7,_0x5d32e4=_0x445539['length']-0x1,_0x488a24;_0x5d32e4>=0x0;_0x5d32e4--)(_0x488a24=_0x445539[_0x5d32e4])&&(_0x402188=_0x488a24(_0x402188)||_0x402188);return _0x402188;},_0x21cff6=(_0x19ac43,_0x2b7925)=>(_0x1d691c,_0x4fcdeb)=>_0x2b7925(_0x1d691c,_0x4fcdeb,_0x19ac43);let _0x3bdbdd=class{constructor(_0x2dcd66,_0xc664d8){const _0x341fd0=_0x4cf005;this[_0x341fd0(0x335)]=_0x2dcd66,this[_0x341fd0(0x13b)]=_0xc664d8;}[_0x4cf005(0x2cd)](_0x5a9ffe){const _0x23f2d4=_0x4cf005;var _0x519d68;const _0x340387=this['_injector']['get'](_0x20d49c[_0x23f2d4(0x1d7)]),_0x124065=(_0x519d68=_0x340387[_0x23f2d4(0x10e)]())!=null?_0x519d68:[];if(_0x124065['length']===0x0)return;const _0x44e67a=_0x5a9ffe[_0x23f2d4(0x1d1)],_0x19a267=[{'id':_0x23f2d4(0xc1),'params':{'unitId':_0x44e67a,'actions':null,'textRanges':_0x124065}}],_0x3fddb4=this[_0x23f2d4(0x13b)][_0x23f2d4(0x286)](_0x5a9ffe,_0x19a267);if(!_0x4251a6[_0x23f2d4(0x1a9)](_0x3fddb4))throw _0x3fddb4[_0x23f2d4(0x1db)];const _0x592d44=_0x3fddb4['m2Prime'][0x0][_0x23f2d4(0x2ae)][_0x23f2d4(0x2a3)];Array[_0x23f2d4(0x2ac)](_0x592d44)&&_0x592d44['length']&&_0x340387[_0x23f2d4(0x2cf)](_0x592d44,{'unitId':_0x44e67a,'subUnitId':_0x44e67a},!0x1);}};_0x3bdbdd=_0x14ff41([_0x21cff6(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x21cff6(0x1,_0x4251a6[_0x4cf005(0xc5)])],_0x3bdbdd);var _0x399993=Object[_0x4cf005(0x19c)],_0x1dc587=(_0x16cf03,_0x53b5fc,_0x1d4321,_0x3fa886)=>{const _0x52222a=_0x4cf005;for(var _0x39e889=_0x3fa886>0x1?void 0x0:_0x3fa886?_0x399993(_0x53b5fc,_0x1d4321):_0x53b5fc,_0x399320=_0x16cf03[_0x52222a(0x20e)]-0x1,_0x5ae0d3;_0x399320>=0x0;_0x399320--)(_0x5ae0d3=_0x16cf03[_0x399320])&&(_0x39e889=_0x5ae0d3(_0x39e889)||_0x39e889);return _0x39e889;},_0x282219=(_0x5c38ff,_0x33f326)=>(_0x39f823,_0x3ccbd3)=>_0x33f326(_0x39f823,_0x3ccbd3,_0x5c38ff);let _0x4c9816=class extends _0x52210e['Disposable']{constructor(_0x3c070f,_0x1f0971,_0x170154,_0x5cdab7,_0x172f5c,_0xb02260,_0x2f778a,_0x2e2475){const _0x318a3d=_0x4cf005;super(),_0xb6ff52(this,'_status$',new _0x27f681[(_0x318a3d(0x132))](_0x47040c[_0x318a3d(0x1b9)][_0x318a3d(0xe1)])),(this['_docStateChangeManagerService']=_0x3c070f,this[_0x318a3d(0x325)]=_0x1f0971,this[_0x318a3d(0x2e7)]=_0x170154,this[_0x318a3d(0x1f3)]=_0x5cdab7,this[_0x318a3d(0x20f)]=_0x172f5c,this['_docSyncEditingCollabCursorService']=_0xb02260,this[_0x318a3d(0xb9)]=_0x2f778a,this[_0x318a3d(0xd6)]=_0x2e2475,this[_0x318a3d(0x2e9)]());}[_0x4cf005(0x2e9)](){const _0x394b8a=_0x4cf005;this[_0x394b8a(0x285)](this[_0x394b8a(0x325)][_0x394b8a(0x14d)][_0x394b8a(0x21a)](_0x211bec=>{const _0x5d1c2b=_0x394b8a,_0x36457e=this[_0x5d1c2b(0x1e1)][_0x5d1c2b(0x21c)][_0x5d1c2b(0x21a)](_0x3ab94d=>{const _0xcf685b=_0x5d1c2b;if(_0x3ab94d==null)return;const {unitId:_0x5ab3c4,redoState:_0x1534f7,commandId:_0x3dc9c2}=_0x3ab94d;if(_0x5ab3c4!==_0x211bec[_0xcf685b(0x1d1)])return;const _0x3ed7a6={'id':_0x3dc9c2,'type':_0x52210e[_0xcf685b(0x2f3)][_0xcf685b(0x246)],'params':{'unitId':_0x5ab3c4,'actions':_0x1534f7['actions'],'textRanges':null}};_0x211bec[_0xcf685b(0x236)](_0x3ed7a6);});if(_0x211bec[_0x5d1c2b(0x285)](_0x36457e),_0x211bec instanceof _0x47040c[_0x5d1c2b(0x263)]){const _0x7da5b={'onTransformIME':_0x2bb260=>this[_0x5d1c2b(0x2e7)][_0x5d1c2b(0x171)](_0x2bb260),'onTransformState':_0x3b58b3=>this[_0x5d1c2b(0x1f3)][_0x5d1c2b(0x10f)](_0x3b58b3),'onTransformSelections':_0x395472=>this[_0x5d1c2b(0x20f)][_0x5d1c2b(0x2cd)](_0x395472),'onSyncEditingCollabCursor':_0x5e27fa=>this[_0x5d1c2b(0x106)][_0x5d1c2b(0x321)](_0x5e27fa),'onTransformRemoteChangesetByIMECache':_0xcc591c=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xcc591c),'onTransformRemoteChangesetByStateCache':_0x3201b7=>this[_0x5d1c2b(0x1f3)][_0x5d1c2b(0x214)](_0x3201b7)};_0x211bec['addHandlerCallback'](_0x7da5b);}}));}};_0x4c9816=_0x1dc587([_0x282219(0x0,_0x52210e[_0x4cf005(0x2d1)](_0xd08195[_0x4cf005(0x137)])),_0x282219(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x2b9)])),_0x282219(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x305957)),_0x282219(0x3,_0x52210e['Inject'](_0x544020)),_0x282219(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x3bdbdd)),_0x282219(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x446a6c)),_0x282219(0x6,_0x4f6f29['IMessageService']),_0x282219(0x7,_0x52210e['Inject'](_0x52210e[_0x4cf005(0x250)]))],_0x4c9816);var _0x19d0bc=Object[_0x4cf005(0x19c)],_0x46828c=(_0x50b05c,_0xd3c9ea,_0x4f3a21,_0x2f0f09)=>{const _0x1cd621=_0x4cf005;for(var _0x423d3b=_0x2f0f09>0x1?void 0x0:_0x2f0f09?_0x19d0bc(_0xd3c9ea,_0x4f3a21):_0xd3c9ea,_0xd40d5=_0x50b05c[_0x1cd621(0x20e)]-0x1,_0x464aa6;_0xd40d5>=0x0;_0xd40d5--)(_0x464aa6=_0x50b05c[_0xd40d5])&&(_0x423d3b=_0x464aa6(_0x423d3b)||_0x423d3b);return _0x423d3b;},_0xfb2dc7=(_0x20af6a,_0xcedeec)=>(_0x258f33,_0x1c19d1)=>_0xcedeec(_0x258f33,_0x1c19d1,_0x20af6a);let _0x384eb2=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x22f597,_0x4a7605,_0x3f7484){const _0x2da5e5=_0x4cf005;super(),_0xb6ff52(this,'_cachedData',new Map()),_0xb6ff52(this,_0x2da5e5(0x32f),new Map()),_0xb6ff52(this,'_disabled',!0x1),(this[_0x2da5e5(0x1c6)]=_0x22f597,this['_localStorageService']=_0x4a7605,this[_0x2da5e5(0x319)]=_0x3f7484);}[_0x4cf005(0x197)](){const _0x16e873=_0x4cf005;this[_0x16e873(0x288)]=!0x0;}[_0x4cf005(0xc4)](){this['_disabled']=!0x1;}get[_0x4cf005(0x180)](){const _0x4580b8=_0x4cf005;return this[_0x4580b8(0x32f)];}['dispose'](){const _0x22ec34=_0x4cf005;this['exhaustSavingTask']()[_0x22ec34(0xfc)](()=>super['dispose']());}async[_0x4cf005(0xdf)](_0x40f141){const _0x576960=_0x4cf005;return this[_0x576960(0x288)]?null:this[_0x576960(0x26b)]['getItem'](_0x47040c['getLocalCacheKey'](_0x40f141));}async['saveOfflineData'](_0x4cde41,_0x26f186){const _0x3aceda=_0x4cf005;return!!this[_0x3aceda(0x26b)][_0x3aceda(0xb7)](_0x4cde41,_0x26f186);}[_0x4cf005(0x2f9)](_0x49eff6,_0x164d78,_0x510109,_0x5a8717){const _0xb56865=_0x4cf005,_0x8a2e7e=this[_0xb56865(0x319)]['getCurrentRevOfUnit'](_0x49eff6);this[_0xb56865(0xe7)][_0xb56865(0x202)](_0x49eff6,{'unitID':_0x49eff6,'type':_0x164d78,'awaitingChangeset':_0x510109,'mutations':_0x5a8717,'rev':_0x8a2e7e}),this[_0xb56865(0x32f)][_0xb56865(0x178)](_0x49eff6)||this[_0xb56865(0x24a)](_0x49eff6);}[_0x4cf005(0x24a)](_0x3111c6){const _0x15465c=_0x4cf005,_0x43c81d=this[_0x15465c(0x173)]();_0x43c81d===0x0?this['_saveCache'](_0x3111c6):this['_saveTaskMap']['set'](_0x3111c6,setTimeout(()=>this['_saveCache'](_0x3111c6),_0x43c81d));}[_0x4cf005(0x173)](){const _0xd9f620=_0x4cf005;var _0x490dc2;return(_0x490dc2=this[_0xd9f620(0x1c6)][_0xd9f620(0x1f2)](_0x47040c['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x490dc2:_0x47040c[_0xd9f620(0x1a6)];}[_0x4cf005(0x1af)](_0x22667d){const _0xa7f45c=_0x4cf005,_0x1eebf0=this[_0xa7f45c(0x32f)][_0xa7f45c(0x1d2)](_0x22667d);return _0x1eebf0!==void 0x0&&window['clearTimeout'](_0x1eebf0),this['_localStorageService'][_0xa7f45c(0xb7)](_0x47040c[_0xa7f45c(0xf9)](_0x22667d),this[_0xa7f45c(0xe7)]['get'](_0x22667d))[_0xa7f45c(0xfc)](()=>this[_0xa7f45c(0x32f)]['delete'](_0x22667d));}async[_0x4cf005(0x2ee)](){const _0x35978=_0x4cf005,_0xc0f946=[];this[_0x35978(0x32f)][_0x35978(0x2f5)]((_0x5cd9c6,_0x4efae9)=>{const _0x5c4bbc=_0x35978;window['clearTimeout'](_0x5cd9c6),_0xc0f946[_0x5c4bbc(0x11e)](this[_0x5c4bbc(0x1af)](_0x4efae9)[_0x5c4bbc(0xfc)](()=>{const _0x5f08f6=_0x5c4bbc;this[_0x5f08f6(0x32f)][_0x5f08f6(0x101)](_0x4efae9);}));}),await Promise['all'](_0xc0f946);}};_0x384eb2=_0x46828c([_0xfb2dc7(0x0,_0x52210e[_0x4cf005(0xc6)]),_0xfb2dc7(0x1,_0x52210e['ILocalStorageService']),_0xfb2dc7(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x4251a6['RevisionService']))],_0x384eb2);class _0x30528a extends _0x52210e[_0x4cf005(0x238)]{constructor(){const _0x33dfa5=_0x4cf005;super(),_0xb6ff52(this,'urlChange$'),this[_0x33dfa5(0x22e)]=_0x27f681['fromEvent'](window,_0x33dfa5(0xbb))[_0x33dfa5(0x23f)](_0x27f681['takeUntil'](this[_0x33dfa5(0x183)]),_0x27f681[_0x33dfa5(0x298)](0x1),_0x27f681[_0x33dfa5(0x20b)](void 0x0));}[_0x4cf005(0x17a)](_0x178ecc,_0x5df29a,_0x25c9db=!0x1){const _0x3b1342=_0x4cf005,_0x3b8738=new URL(window['location'][_0x3b1342(0x2c3)]);_0x3b8738[_0x3b1342(0x129)]['set'](_0x178ecc,_0x5df29a),_0x25c9db?window[_0x3b1342(0xef)][_0x3b1342(0x113)]('','',_0x3b8738['toString']()):window[_0x3b1342(0xef)][_0x3b1342(0x1c9)]('','',_0x3b8738[_0x3b1342(0x334)]());}[_0x4cf005(0x13e)](_0x510bbf,_0x5c80d2=!0x1){const _0x184242=_0x4cf005,_0x462260=new URL(window[_0x184242(0x2ab)][_0x184242(0x2c3)]);_0x462260[_0x184242(0x129)][_0x184242(0x101)](_0x510bbf),_0x5c80d2?window[_0x184242(0xef)][_0x184242(0x113)]('','',_0x462260[_0x184242(0x334)]()):window[_0x184242(0xef)][_0x184242(0x1c9)]('','',_0x462260['toString']());}[_0x4cf005(0x290)](_0x4bee4f){const _0x71c23f=_0x4cf005;var _0x51e9f8;return(_0x51e9f8=new URL(window['location']['href'])['searchParams'][_0x71c23f(0x1d2)](_0x4bee4f))!=null?_0x51e9f8:void 0x0;}}var _0x371b5d=Object['defineProperty'],_0x30283b=Object[_0x4cf005(0x19c)],_0x21e8ac=(_0x56be22,_0x4fdc40,_0xdba573)=>_0x4fdc40 in _0x56be22?_0x371b5d(_0x56be22,_0x4fdc40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xdba573}):_0x56be22[_0x4fdc40]=_0xdba573,_0x44192d=(_0x7c70e2,_0x3525f5,_0x358cd1,_0x25774b)=>{const _0x278fc3=_0x4cf005;for(var _0x13414c=_0x25774b>0x1?void 0x0:_0x25774b?_0x30283b(_0x3525f5,_0x358cd1):_0x3525f5,_0x3fde1a=_0x7c70e2[_0x278fc3(0x20e)]-0x1,_0x2cfbad;_0x3fde1a>=0x0;_0x3fde1a--)(_0x2cfbad=_0x7c70e2[_0x3fde1a])&&(_0x13414c=_0x2cfbad(_0x13414c)||_0x13414c);return _0x13414c;},_0xf14134=(_0x2ddcb3,_0x12ef15)=>(_0x376de8,_0x292e29)=>_0x12ef15(_0x376de8,_0x292e29,_0x2ddcb3),_0x36e9e5=(_0x353e93,_0x39efa8,_0x52c811)=>_0x21e8ac(_0x353e93,_0x39efa8+'',_0x52c811);const _0xa7e745=_0x4cf005(0x154);_0x353bdb['UniverCollaborationClientUIPlugin']=class extends _0x52210e[_0x4cf005(0x145)]{constructor(_0x396ecb=_0x2468a5,_0x417305,_0x17fc25,_0x4ac42e){const _0x526fd2=_0x4cf005;super(),this[_0x526fd2(0x1a3)]=_0x396ecb,this[_0x526fd2(0x115)]=_0x417305,this[_0x526fd2(0x335)]=_0x17fc25,this[_0x526fd2(0x1c6)]=_0x4ac42e;const {..._0x5ed107}=_0x52210e[_0x526fd2(0xa9)]({},_0x2468a5,this[_0x526fd2(0x1a3)]);this[_0x526fd2(0x1c6)][_0x526fd2(0x11a)](_0xbaf90d,_0x5ed107);}[_0x4cf005(0x27a)](){const _0x577e57=_0x4cf005;this[_0x577e57(0x126)](),this[_0x577e57(0x2bf)]();}[_0x4cf005(0x1b0)](){const _0x8f66db=_0x4cf005;this[_0x8f66db(0x193)]();}[_0x4cf005(0x126)](){const _0x2009ac=_0x4cf005;var _0x49fc98;const _0x4625d3=[[_0x499053],[_0x3bdbdd],[_0x305957],[_0x544020],[_0x446a6c],[_0x3ada57,{'useClass':_0x30528a}],[_0x2c7691[_0x2009ac(0x242)],{'useClass':_0x2c7691[_0x2009ac(0x112)]}],[_0x47040c[_0x2009ac(0x2ef)],{'useClass':_0x384eb2}],[_0x353bdb[_0x2009ac(0x2b5)]],[_0x4c9816],[_0x6a5d98],[_0x1ee3b8],[_0x180543],[_0x353bdb[_0x2009ac(0x208)]]];_0x52210e['registerDependencies'](this[_0x2009ac(0x335)],_0x52210e['mergeOverrideWithDependencies'](_0x4625d3,(_0x49fc98=this['_config'])==null?void 0x0:_0x49fc98['override']));}[_0x4cf005(0x193)](){const _0x296e63=_0x4cf005;this[_0x296e63(0x285)](this[_0x296e63(0x115)][_0x296e63(0x332)](_0x52210e[_0x296e63(0x268)][_0x296e63(0x169)],[_0x14e670])),this['disposeWithMe'](this[_0x296e63(0x115)][_0x296e63(0x332)](_0x52210e[_0x296e63(0x268)][_0x296e63(0x2d2)],[_0x396fbf]));}[_0x4cf005(0x2bf)](){const _0x1012df=_0x4cf005;_0x52210e[_0x1012df(0x175)](this[_0x1012df(0x335)],[[_0x1ee3b8],[_0x353bdb[_0x1012df(0x2b5)]],[_0x4c9816],[_0x6a5d98],[_0x353bdb[_0x1012df(0x208)]]]);}},_0x36e9e5(_0x353bdb[_0x4cf005(0x2ed)],_0x4cf005(0x2d0),_0xa7e745),_0x353bdb[_0x4cf005(0x2ed)]=_0x44192d([_0x52210e[_0x4cf005(0x32b)](_0x47040c['UniverCollaborationClientPlugin']),_0xf14134(0x1,_0x45eaa5['IRenderManagerService']),_0xf14134(0x2,_0x52210e['Inject'](_0x52210e['Injector'])),_0xf14134(0x3,_0x52210e[_0x4cf005(0xc6)])],_0x353bdb[_0x4cf005(0x2ed)]);var _0x39586b=Object[_0x4cf005(0x19c)],_0x2b0f8c=(_0x528b73,_0x633180,_0x2b9c6b,_0x30f058)=>{const _0xa299c8=_0x4cf005;for(var _0x429229=_0x30f058>0x1?void 0x0:_0x30f058?_0x39586b(_0x633180,_0x2b9c6b):_0x633180,_0x4e6796=_0x528b73[_0xa299c8(0x20e)]-0x1,_0x1a90c8;_0x4e6796>=0x0;_0x4e6796--)(_0x1a90c8=_0x528b73[_0x4e6796])&&(_0x429229=_0x1a90c8(_0x429229)||_0x429229);return _0x429229;},_0x280604=(_0x4bdc6a,_0x3928a1)=>(_0x3ffd98,_0x546556)=>_0x3928a1(_0x3ffd98,_0x546556,_0x4bdc6a);_0x353bdb[_0x4cf005(0x2e0)]=class extends _0x47040c['CollaborationSocketService']{constructor(_0x329977,_0xe2c3da,_0x4a6874,_0x7f65c2,_0x36a1f4){super(_0x329977,_0xe2c3da,_0x4a6874,_0x7f65c2,_0x36a1f4);}async[_0x4cf005(0x1ac)](_0x364feb){const _0x36c828=_0x4cf005,_0x27671f=await this[_0x36c828(0x274)](),_0x3c8435=this[_0x36c828(0x2fa)](_0x364feb,_0x27671f);return this['_doCreateSocket'](_0x3c8435);}[_0x4cf005(0x2fa)](_0x46c044,_0x198606){const _0x33a080=_0x4cf005,_0x5effb3=typeof window>'u'?new URL(_0x46c044):new URL(_0x46c044,window[_0x33a080(0x2ab)][_0x33a080(0x32d)]);_0x5effb3[_0x33a080(0x129)][_0x33a080(0x202)]('sessionTicket',_0x198606);const _0x3c4162=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x33a080(0x2ab)][_0x33a080(0x20a)]);return _0x3c4162[_0x33a080(0x1d2)]('runId')&&_0x5effb3['searchParams'][_0x33a080(0x202)](_0x33a080(0x16c),_0x3c4162['get'](_0x33a080(0x16c))),_0x5effb3[_0x33a080(0x334)]();}async[_0x4cf005(0x274)](){const _0xb41c19=_0x4cf005;var _0x3d572c,_0x2ee14c,_0x40037e;const _0x776da8=this[_0xb41c19(0x1c6)][_0xb41c19(0x1f2)](_0x47040c[_0xb41c19(0x1bd)]),_0x554ffc=(_0x3d572c=_0x776da8==null?void 0x0:_0x776da8['wsSessionTicketUrl'])!=null?_0x3d572c:_0x47040c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x40037e=(_0x2ee14c=(await this[_0xb41c19(0x135)][_0xb41c19(0x1d2)](_0x554ffc,{'headers':{'Content-Type':_0xb41c19(0xae)}}))[_0xb41c19(0xd1)])==null?void 0x0:_0x2ee14c['ticket'])!=null?_0x40037e:'';}},_0x353bdb[_0x4cf005(0x2e0)]=_0x2b0f8c([_0x280604(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x280604(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x2c7691['HTTPService'])),_0x280604(0x2,_0x52210e[_0x4cf005(0xc6)]),_0x280604(0x3,_0x52210e['ILogService']),_0x280604(0x4,_0x4251a6[_0x4cf005(0x1e6)])],_0x353bdb[_0x4cf005(0x2e0)]);const _0x5895a6=0x7530,_0x558197=_0x4cf005(0x31a);class _0x335b10 extends _0x52210e['Disposable']{constructor(){const _0x40be65=_0x4cf005;super(),_0xb6ff52(this,_0x40be65(0xb8),_0x52210e['generateRandomId']()),_0xb6ff52(this,_0x40be65(0x322),new Set()),_0xb6ff52(this,_0x40be65(0x245),new Map()),_0xb6ff52(this,'_heartbeatTimer',null),_0xb6ff52(this,_0x40be65(0x27d),new Map()),_0xb6ff52(this,'_unitStatus',new Map()),this[_0x40be65(0x138)]();}['dispose'](){const _0x40058b=_0x4cf005;super[_0x40058b(0xf7)](),this[_0x40058b(0x27d)][_0x40058b(0x2f5)]((_0x37527f,_0x4e8dca)=>this[_0x40058b(0x1ea)](_0x4e8dca)),this[_0x40058b(0x182)]&&window[_0x40058b(0x271)](this[_0x40058b(0x182)]);}[_0x4cf005(0x148)](_0x4f9ac3){const _0x376fdf=_0x4cf005;return this[_0x376fdf(0x281)](_0x4f9ac3)[_0x376fdf(0x23f)](_0x27f681[_0x376fdf(0x10d)]());}[_0x4cf005(0x1ca)](_0x46cd85){const _0x1af501=_0x4cf005;this[_0x1af501(0x322)][_0x1af501(0x157)]===0x0&&this[_0x1af501(0x311)](),this['_selfUnitIDs'][_0x1af501(0x12c)](_0x46cd85),this[_0x1af501(0x213)]({'type':0x0,'memberID':this[_0x1af501(0xb8)],'unitIDs':[_0x46cd85],'isForwarded':!0x1});}['disposeUnit'](_0x456c91){const _0x124c4e=_0x4cf005;this[_0x124c4e(0x322)]['delete'](_0x456c91),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x124c4e(0x271)](this[_0x124c4e(0x182)]);}[_0x4cf005(0x138)](){const _0x426312=_0x4cf005;this[_0x426312(0x285)](_0x52210e[_0x426312(0x2df)](_0x27f681[_0x426312(0x12a)](window,_0x426312(0x2fb))[_0x426312(0x21a)](_0x300467=>{const _0x43868a=_0x426312;if(_0x300467[_0x43868a(0x1d5)]!==_0x558197||!_0x300467[_0x43868a(0x17d)])return;const _0x26d700=JSON[_0x43868a(0x23a)](_0x300467[_0x43868a(0x17d)]);this['_handleEvent'](_0x26d700);}))),window[_0x426312(0xa3)]('unload',()=>this[_0x426312(0x213)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x426312(0x195)](this['_selfUnitIDs'])}));}[_0x4cf005(0xc8)](_0x1ef04b){const _0x55afc5=_0x4cf005;switch(_0x1ef04b['type']){case 0x0:this[_0x55afc5(0x26f)](_0x1ef04b);break;case 0x1:this[_0x55afc5(0x16b)](_0x1ef04b);break;case 0x2:this[_0x55afc5(0x19f)](_0x1ef04b);break;}}['_handleJoinEvent'](_0x48a87e){const _0x344720=_0x4cf005,{unitIDs:_0x4a4d69,memberID:_0x3015f9,isForwarded:_0x38b863}=_0x48a87e;_0x4a4d69['forEach'](_0x33d98d=>{const _0x115456=_0x568e;if(!_0x38b863&&this[_0x115456(0x245)][_0x115456(0x178)](_0x33d98d)&&this['_ensureSubject'](_0x33d98d)[_0x115456(0x161)](_0x47040c[_0x115456(0xe6)][_0x115456(0x1df)]),!this[_0x115456(0x245)][_0x115456(0x178)](_0x33d98d)||!this[_0x115456(0x245)][_0x115456(0x1d2)](_0x33d98d)[_0x115456(0x178)](_0x3015f9)){const _0x23c08d=this['_unitOnClients']['get'](_0x33d98d)||new Set();_0x23c08d[_0x115456(0x12c)](_0x3015f9),this[_0x115456(0x245)][_0x115456(0x202)](_0x33d98d,_0x23c08d),this['_scheduleClearOtherTimer'](_0x3015f9);}}),_0x38b863||this[_0x344720(0x213)]({'type':0x0,'memberID':this[_0x344720(0xb8)],'unitIDs':[...this[_0x344720(0x322)]],'isForwarded':!0x0});}[_0x4cf005(0x2a6)](_0x1dad0e){const _0x5475f7=_0x4cf005;this[_0x5475f7(0x1ea)](_0x1dad0e);const _0x1bdfc7=window['setTimeout'](()=>{const _0x26bd40=_0x5475f7;this['_unitOnClients'][_0x26bd40(0x2f5)](_0x4880ac=>{const _0x2aaed0=_0x26bd40;_0x4880ac[_0x2aaed0(0x101)](_0x1dad0e);});},_0x5895a6*0x2);this[_0x5475f7(0x27d)][_0x5475f7(0x202)](_0x1dad0e,_0x1bdfc7);}['_removeClearOtherTimer'](_0x496e8f){const _0x2ed7f7=_0x4cf005;if(this['_clearOtherTimers'][_0x2ed7f7(0x178)](_0x496e8f)){const _0xe22d80=this[_0x2ed7f7(0x27d)][_0x2ed7f7(0x1d2)](_0x496e8f);_0xe22d80&&window['clearTimeout'](_0xe22d80),this['_clearOtherTimers'][_0x2ed7f7(0x202)](_0x496e8f,null);}}[_0x4cf005(0x16b)](_0xa0cb0b){const _0x4f15ed=_0x4cf005,{memberID:_0x21f262,unitIDs:_0x369919}=_0xa0cb0b;_0x369919[_0x4f15ed(0x2f5)](_0x29f328=>{const _0x31eb39=_0x4f15ed;var _0x5a66e4;const _0x219db6=this[_0x31eb39(0x245)][_0x31eb39(0x1d2)](_0x29f328);_0x219db6&&(_0x219db6[_0x31eb39(0x101)](_0x21f262),(_0x5a66e4=this[_0x31eb39(0x281)](_0x29f328))==null||_0x5a66e4['next'](_0x219db6['size']===0x0?_0x47040c[_0x31eb39(0xe6)][_0x31eb39(0x2fe)]:_0x47040c['UnitStatus'][_0x31eb39(0x1df)]));}),this[_0x4f15ed(0x1ea)](_0x21f262);}['_handleHeartbeatEvent'](_0x542271){const _0x524898=_0x4cf005;this['_scheduleClearOtherTimer'](_0x542271[_0x524898(0x2e3)]);}[_0x4cf005(0x213)](_0xe1f000){const _0x564c28=_0x4cf005;localStorage[_0x564c28(0xb7)](_0x558197,JSON[_0x564c28(0x32e)](_0xe1f000));}['_scheduleHeartbeat'](){const _0x59125f=_0x4cf005;this['_heartbeatTimer']=window[_0x59125f(0x24c)](()=>{const _0x332dcc=_0x59125f;this[_0x332dcc(0x213)]({'type':0x2,'memberID':this[_0x332dcc(0xb8)]});},_0x5895a6);}['_ensureSubject'](_0x3d6118){const _0x50c88c=_0x4cf005;return this[_0x50c88c(0x241)][_0x50c88c(0x178)](_0x3d6118)||this[_0x50c88c(0x241)][_0x50c88c(0x202)](_0x3d6118,new _0x27f681[(_0x50c88c(0x132))](_0x47040c[_0x50c88c(0xe6)][_0x50c88c(0x2fe)])),this[_0x50c88c(0x241)][_0x50c88c(0x1d2)](_0x3d6118);}}var _0x2549b0=(_0x4b8b92=>(_0x4b8b92[_0x4b8b92[_0x4cf005(0x11b)]=0x0]=_0x4cf005(0x11b),_0x4b8b92[_0x4b8b92['OK']=0x1]='OK',_0x4b8b92[_0x4b8b92[_0x4cf005(0x1b5)]=0x2]=_0x4cf005(0x1b5),_0x4b8b92[_0x4b8b92['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x4b8b92[_0x4b8b92['NOT_FOUND']=0x4]='NOT_FOUND',_0x4b8b92[_0x4b8b92['UNAUTHENTICATED']=0x5]=_0x4cf005(0x134),_0x4b8b92[_0x4b8b92['ALREADY_EXISTS']=0x6]=_0x4cf005(0x2e4),_0x4b8b92[_0x4b8b92[_0x4cf005(0xba)]=0x7]=_0x4cf005(0xba),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1da)]=0x8]=_0x4cf005(0x1da),_0x4b8b92[_0x4b8b92['COMPLETION_FINISHED']=0x9]=_0x4cf005(0xd5),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1bf)]=0xa]=_0x4cf005(0x1bf),_0x4b8b92[_0x4b8b92[_0x4cf005(0x278)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4b8b92[_0x4b8b92[_0x4cf005(0x19e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4b8b92[_0x4b8b92['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4cf005(0x303),_0x4b8b92[_0x4b8b92['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4b8b92[_0x4b8b92[_0x4cf005(0x215)]=0x1b59]=_0x4cf005(0x215),_0x4b8b92[_0x4b8b92[_0x4cf005(0x293)]=0x1b5a]=_0x4cf005(0x293),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2ff)]=0x1b5b]=_0x4cf005(0x2ff),_0x4b8b92[_0x4b8b92[_0x4cf005(0x21b)]=0x1b5c]=_0x4cf005(0x21b),_0x4b8b92[_0x4b8b92[_0x4cf005(0xcf)]=0x1b5d]=_0x4cf005(0xcf),_0x4b8b92[_0x4b8b92['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4cf005(0x1f7),_0x4b8b92[_0x4b8b92[_0x4cf005(0x15b)]=0x2329]=_0x4cf005(0x15b),_0x4b8b92[_0x4b8b92['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4cf005(0x226),_0x4b8b92[_0x4b8b92[_0x4cf005(0x233)]=0x232b]=_0x4cf005(0x233),_0x4b8b92[_0x4b8b92['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4cf005(0x2b3),_0x4b8b92[_0x4b8b92[_0x4cf005(0xe2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4b8b92[_0x4b8b92['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4cf005(0x119),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1f4)]=0x2712]=_0x4cf005(0x1f4),_0x4b8b92[_0x4b8b92[_0x4cf005(0xfd)]=0x2713]=_0x4cf005(0xfd),_0x4b8b92[_0x4b8b92[_0x4cf005(0x22d)]=0x2714]=_0x4cf005(0x22d),_0x4b8b92[_0x4b8b92[_0x4cf005(0xda)]=0x271a]=_0x4cf005(0xda),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1de)]=0x271b]=_0x4cf005(0x1de),_0x4b8b92[_0x4b8b92[_0x4cf005(0x12b)]=0x2af9]=_0x4cf005(0x12b),_0x4b8b92[_0x4b8b92['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4cf005(0x1ec),_0x4b8b92[_0x4b8b92[_0x4cf005(0x30d)]=0x2ee2]=_0x4cf005(0x30d),_0x4b8b92[_0x4b8b92['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4cf005(0x299),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1e7)]=0x2ee4]=_0x4cf005(0x1e7),_0x4b8b92[_0x4b8b92[_0x4cf005(0x275)]=0x2ee5]=_0x4cf005(0x275),_0x4b8b92[_0x4b8b92[_0x4cf005(0x27e)]=0x32c9]=_0x4cf005(0x27e),_0x4b8b92[_0x4b8b92[_0x4cf005(0x102)]=0x32ca]=_0x4cf005(0x102),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2d6)]=0x32cb]=_0x4cf005(0x2d6),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2a9)]=-0x1]=_0x4cf005(0x2a9),_0x4b8b92))(_0x2549b0||{}),_0x3cf54e=Object['getOwnPropertyDescriptor'],_0x1fe504=(_0xc1fb77,_0x24eda5,_0x15c926,_0x756d57)=>{const _0xf85b0f=_0x4cf005;for(var _0x3c1cab=_0x756d57>0x1?void 0x0:_0x756d57?_0x3cf54e(_0x24eda5,_0x15c926):_0x24eda5,_0x3c7e8c=_0xc1fb77[_0xf85b0f(0x20e)]-0x1,_0x3163cf;_0x3c7e8c>=0x0;_0x3c7e8c--)(_0x3163cf=_0xc1fb77[_0x3c7e8c])&&(_0x3c1cab=_0x3163cf(_0x3c1cab)||_0x3c1cab);return _0x3c1cab;},_0x332ea9=(_0x36f619,_0x4f16e2)=>(_0x71e309,_0xd8de7e)=>_0x4f16e2(_0x71e309,_0xd8de7e,_0x36f619);_0x353bdb['RemoteUniscriptService']=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x4f2d1d,_0x1fedf5,_0x88468f){const _0x12f7e5=_0x4cf005;super(),this[_0x12f7e5(0x116)]=_0x4f2d1d,this[_0x12f7e5(0x135)]=_0x1fedf5,this[_0x12f7e5(0x1c6)]=_0x88468f;}async[_0x4cf005(0x2a4)](_0xb93557,_0x52f125,_0x42a946,..._0x1805bd){const _0x2e6a65=_0x4cf005;var _0xe306fd,_0x1ee1e2,_0x3affab,_0x57db55;const _0x1304c2=this[_0x2e6a65(0x116)][_0x2e6a65(0x2bc)]();if(!_0x1304c2)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x15112b=((_0xe306fd=this[_0x2e6a65(0x1c6)]['getConfig'](_0x47040c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xe306fd:_0x47040c[_0x2e6a65(0x146)])+'/'+_0xb93557+_0x2e6a65(0xff)+_0x52f125,_0x51d426=new URL(window[_0x2e6a65(0x2ab)][_0x2e6a65(0x2c3)]),_0xc1369b={'scriptId':_0xb93557,'runId':(_0x1ee1e2=_0x51d426['searchParams'][_0x2e6a65(0x1d2)](_0x2e6a65(0x16c)))!=null?_0x1ee1e2:'','function':_0x52f125,'unitId':_0x1304c2['getUnitId'](),'argsOfFunction':JSON[_0x2e6a65(0x32e)](_0x1805bd),'invokeId':(_0x3affab=_0x42a946[_0x2e6a65(0x23e)])!=null?_0x3affab:'','executionId':(_0x57db55=_0x42a946[_0x2e6a65(0x201)])!=null?_0x57db55:''};try{const _0x232971=await this[_0x2e6a65(0x135)][_0x2e6a65(0x2d5)](_0x15112b,{'body':_0xc1369b});return _0x232971['body'][_0x2e6a65(0x1db)]&&_0x232971[_0x2e6a65(0xd1)][_0x2e6a65(0x1db)][_0x2e6a65(0x1f8)]!==_0x2549b0['OK']?'Failed':_0x232971[_0x2e6a65(0xd1)][_0x2e6a65(0xd3)];}catch{return'Failed';}}},_0x353bdb[_0x4cf005(0x1ce)]=_0x1fe504([_0x332ea9(0x0,_0x52210e[_0x4cf005(0xf3)]),_0x332ea9(0x1,_0x52210e['Inject'](_0x2c7691[_0x4cf005(0xe4)])),_0x332ea9(0x2,_0x52210e[_0x4cf005(0xc6)])],_0x353bdb[_0x4cf005(0x1ce)]),_0x353bdb[_0x4cf005(0x29f)]=_0xddad9e,_0x353bdb[_0x4cf005(0x280)]=_0x3ada57,_0x353bdb[_0x4cf005(0x310)]=_0x220a7d,_0x353bdb[_0x4cf005(0x12e)]=_0x335b10,_0x353bdb[_0x4cf005(0x19a)]=_0x30528a,Object[_0x4cf005(0x11f)](_0x353bdb,Symbol[_0x4cf005(0x114)],{'value':_0x4cf005(0x191)});}));function _0x568e(_0x33bbe4,_0xf13551){const _0x3ec5bc=_0x3ec5();return _0x568e=function(_0x568e1f,_0x1aa9f8){_0x568e1f=_0x568e1f-0x9f;let _0x4bc111=_0x3ec5bc[_0x568e1f];return _0x4bc111;},_0x568e(_0x33bbe4,_0xf13551);}function _0x3ec5(){const _0x541a5e=['_session','row','CHANGESET_REVISION_CONFILICT','SetDocZoomRatioOperation','onStarting','runRefRangeMutations','substring','_clearOtherTimers','WECHAT_HAS_BEEN_BOUND','resize','IURLService','_ensureSubject','@univerjs/sheets','none','_color','disposeWithMe','transformMutationsWithChangeset','endColumn','_disabled','DeleteRangeMoveUpCommandId','session.will-retry','_collaborationUIEventService','object','function','getVpScrollXYInfoByPosToVp','UniverProCollaboration','getParam','_range','DataLoaderService','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','useDependency','transformMutation','currentColor','shareReplay','INVITE_CODE_REQUIRED','MemberService','_updateLocalCursor','jiqing500','switchMap','_document','CollaborationStatusDisplay','triggerDblclick','getSheetBySheetId','1EiCgiF','textRanges','runOnServer','collaboration.closeRoom','_scheduleClearOtherTimer','onTransformChange$','hovered','UNRECOGNIZED','rxjs','location','isArray','UniverNetwork','params','propertyIsEnumerable','@univerjs-pro/collaboration','symbol','SOCKET_FAILED_RETRY','LICENSE_EXPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','DesktopCollaborationStatusDisplayController','7075832bINEaM','_anchor','deserializeRangeWithSheet','CollaborationController','permission.content','getViewport','getFocusedUnit','xlink:href','DeleteRangeMoveLeftCommandId','_initDependencies','range','skeleton','COLORS','href','PENDING','RemoveRowCommandId','_docSkeletonManagerService','generateRandomId','getCoordByCell','prototype','apply','CollaborationEvent','_sheetSkeletonManagerService','transformSelections','_drawRectRange','replaceDocRanges','pluginName','Inject','UNIVER_SHEET','findNodePositionByCharIndex','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','post','EMAIL_HAS_BEEN_BOUND','column','rgba(255,\x20255,\x20255,\x200.01)','Injector','connectInjector','closePath','CONFLICT','exports','height','toDisposable','BrowserCollaborationSocketService','@univerjs/core','top','memberID','ALREADY_EXISTS','m1Prime','fill','_docTransformIMECacheService','_localCacheService','_initEntityListener','createInstance','addObjects','extend','UniverCollaborationClientUIPlugin','exhaustSavingTask','ILocalCacheService','text','NodePositionConvertToCursor','DisposableCollection','CommandType','_dataLoaderService','forEach','getCellPositionByOffset','_hovered','hasOwnProperty','updateOfflineData','_createSocketURL','storage','TEXT','_collabCursorState$','NO_OTHER_CLIENTS_EDITING','APPLY_REVISION_CONFILICT','_imageIoService','getRangePointData','getUnitId','SNAPSHOT_HAS_BEEN_REMOVED','requireSession','evenodd','name','_initResize','subscribeEvent','idSuffix','collabStatus.conflict','collab-client.tooltip.reconnect','beginPath','INVALID_INVITE_CODE','_beforeCloseService','activeSheet$','SheetCollabCursorShape','_scheduleHeartbeat','_removeCollabCursors','icon','_initEvent','ONLINE','_cursor','serializeRangeWithSheet','onPointerLeave$','_revisionService','ACTIVE_UNIT_EVENT_CHANNEL','_refRangeService','_anchorDot','UniverEngineFormula','MessageType','addObject','handleMoveRange','syncEditingCollabCursor','_selfUnitIDs','drawWith','1em','_collaborationController','sheetId','jsx','_themeService','getCurrentSelections','UniverRpc','DependentOn','replace','origin','stringify','_saveTaskMap','_onRefRangeChange','call','registerRenderModule','whenReady','toString','_injector','url(#off-line-single_clip0_910_343)','_urlService','UniverDocs','executeCommand','div','addEventListener','_updateSubUnitFromURLParams','makeDirty','children','getColor','getUniverSheetInstance','merge','width','UniverDocsUi','throttleTime','split','application/json','mutations','SheetsSelectionsService','_setupBeforeClosingHandler','values','transform','className','fromEventSubject','color','setItem','_id','_messageService','INVALID_ARGUMENT','popstate','colorChannel1','getOwnPropertySymbols','registerRefRange','Unknown\x20user','unshift','doc.mutation.rich-text-editing','_docClipboardService','_online','enableLocalCache','ITransformService','IConfigService','OFFLINE','_handleEvent','CollaborationUIEventId','assign','_syncEditingCollabCursorService','SYNCED','_draw','2954318rIWKdY','APPLY_DUPLICATED','collabStatus.offline','body','takeUntil','result','svg','COMPLETION_FINISHED','_localeService','2688465yxWzWB','status$','rxjs/operators','YUUMI_NO_CUBOID_FOR_QUESTION','_shapes','Tools','6DZuerF','selection','loadOfflineData','hide','NOT_COLLAB','LICENSE_DISTRO_REJECTED','isTransformMutationFailure','HTTPService','forwardRef','UnitStatus','_cachedData','_getAnchorBounding','transformByState','@univerjs/docs','@univerjs-pro/collaboration-client','_notificationService','gold400','NodePositionConvertToRectRange','history','SetWorksheetActivateCommand','react/jsx-runtime','getMember','IUniverInstanceService','_getSheetObject','debug','entries','dispose','url(#$1','getLocalCacheKey','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','red300','then','YUUMI_RATE_OVER_LIMIT','some','/run/','TEXT_RANGE_LAYER_INDEX','delete','MOBILE_HAS_BEEN_BOUND','IMessageService','PERMISSION_DENIED','Subject','_docSyncEditingCollabCursorService','_docSkeleton','currentTheme$','getMemberID','univerjs-icon\x20univerjs-icon-','string','DocIMEInputManagerService','distinctUntilChanged','getDocRanges','transformStateCache','eventID','collaboration-client-ui.config','WebSocketService','replaceState','toStringTag','_renderManagerService','_instanceService','setActiveRange','_name','YUUMI_UNABLE_LOAD_URL','setConfig','UNDEFINED','uni.network.url-service','_transformPreviousActiveRange','push','defineProperty','max','...','0\x200\x2017\x2016','ThemeService','_getScale','blue400','_registerDependencies','lineTo','Vector2','searchParams','fromEvent','PY_RUNTIME_SCRIPT_ERROR','add','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','WebBrowserSingleActiveUnitService','setStateCache','CLOSE_ROOM','use','BehaviorSubject','useRef','UNAUTHENTICATED','_httpService','getValue','DocStateChangeManagerService','_init','UniverCore','url(#on-line-single_clip0_910_349)','_transformService','_hideTimer','getSheetId','removeParam','_status$','@univerjs/sheets-ui','event$','operators','onCommandExecuted','RECT','Plugin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_assignedColors','getUnitStatus$','handleInsertCol','includes','engine','clipPath','entityInit$','collabStatus.fetchMiss','concat','find','_updateCollabCursors','@univerjs/docs-ui','1406552FYaoaS','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unit','UniverDrawing','size','3ySbgLw','loadUnit','M0\x200H16V16H0z','LICENSE_MAX_UNITS_EXCEEDED','currentSkeleton$','InsertRangeMoveDownCommandId','@univerjs/design','_entityInit$','RichTextEditingMutation','next','BuiltInUIPart','unitId','fillRule','OffLineSingle','unsubscribe','cursorInfo$','registerComponent','UNIVER_DOC','_startSheetCollabCursor','_handleLeaveEvent','runId','handleDeleteRangeMoveUp','RegularPolygon','RefRangeService','Rectangle','transformIMECache','deepClone','_getSaveTimeout','getCurrentUnitForType','touchDependencies','init','AWAITING','has','startsWith','setParam','filter','_transformUndoRedoStack','newValue','getCollabCursors$','with','saveTaskMap','SetTextSelectionsOperation','_heartbeatTimer','dispose$','3667617SIGxpw','sheetID','defIds','collab-rect-range-','off-line-single_clip0_910_343','_initStatusListener','ICommandService','EffectRefRangId','undoState','_toggleOffline','FETCH_MISS','getRenderById','Rect','Module','assignAColorForMemberID','_registerRenderDependencies','_cursorInfo$','from','imageSourceType','disableLocalCache','path','createElement','WebURLService','mask','getOwnPropertyDescriptor','subunit','SNAPSHOT_INVALID_SNAPSHOT','_handleHeartbeatEvent','_univerInstanceService','complete','InsertRowCommandId','_config','_context','debounce','LOCAL_CACHE_INTERVAL','_commandService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','isTransformMutationsWithChangesetSuccess','[CollaborationDataLoaderController]','UniverProCollaborationClient','createSocket','setAlpha','Optional','_saveCache','onRendered','onPointerEnter$','Shape','univer-flex\x20univer-items-center','on-line-single_clip0_910_349','INTERNAL_ERROR','asObservable','@univerjs/network','isEditing','CollaborationStatus','attrs','_colorIndex','startRow','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collabStatus.syncing','LOGIN_FAILED','redoState','USERS_LEAVE','collabStatus.notCollab','OTHER_CLIENT_EDITING','SessionStatus','react','_configService','_refreshCollabCursors','UniverDesign','pushState','editingUnit','trim','displayName','_startDocCollabCursor','RemoteUniscriptService','getMergeData','_backgroundColor','unitID','get','getOffsetConfig','getSkeleton','key','@univerjs/rpc','DocSelectionManagerService','session.collaboration-timeout','getTypeOfUnitDisposed$','TOO_MANY_REQUESTS','error','getStateCache','RemoveColCommandId','YUUMI_ASYNCIO_CANCELLED','OTHER_CLIENTS_EDITING','setUndoRedoMutationParamsCache','_docStateChangeManagerService','_uiPartsService','flatMap','combineLatest','_eventUnsubscribe','ISnapshotServerService','USER_NOT_INVITED_CODE','isActive','show','_removeClearOtherTimer','_textBubble','INVITE_CODE_HAS_BEEN_UES','_toggleOnline','_drawAnchor','backgroundColor','on-line-single','UniverSheetsUi','getConfig','_docTransformStateCacheService','YUUMI_URL_COL_OUT_OF_RANGE','UPDATE_CURSOR','createIdentifier','CONNECTOR_DATA_TOO_LARGE','code','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INotificationService','indexOf','_scene','_labelPosition','data','VIEW_MAIN','debounceTime','executionId','set','_entities','sessionStatus$','jsxs','_onCursorUpdate','_drawTextRange','CollaborationDataLoaderController','useObservable','search','mapTo','source','_roomMembers$','length','_docTransformSelectionsService','FromArray','collabCursorState$','_cursors','_send','transformRemoteChangeset','APPLY_REJECT','_hover','_initCommandExecutedListener','_colorAssignService','clsx','subscribe','APPLY_PERMISSION_DENIED','docStateChange$','@univerjs/drawing','fillStyle','React','save','CollaborationUIEventService','moveTo','_render','_memberService','_setupSubUnitSync','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','4198836eLrvyn','onPointerMove$','fillText','#fff','labelPosition','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','urlChange$','@univerjs/engine-render','cursorInfo','m2Prime','univer-text-green-500','LICENSE_IMPORT_SIZE_EXCEEDED','_logService','JOIN_ROOM_FAILED','onLocalMutation','_collabCursorController','RxDisposable','5948780jnXKAD','parse','min','restore','handleInsertRow','invokeId','pipe','HEADER_MENU','_unitStatus','ISocketService','getAncestorScale','send','_unitOnClients','MUTATION','_onCursorDelete','_collabSessionService','_updateURLWithCurrentState','_scheduleSaving','type','setInterval','onMouseMove','DOC_RANGE_TYPE','getCollabEntity$','LocaleService','setShapeProps','_handleHover','_cursorShapes','black','Error','roomMembers$','measureText','UniverIcon','Warning','endRow','ranges','_initStatusComponent','map','startColumn','_getMergeRange','Disposable','registerBeforeClose','font','DocCollaborationEntity','ILogService','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','InsertRangeMoveRightCommandId','round','UniverInstanceType','defs','getRelativeToViewportCoord','_localStorageService','bottom','toRgbString','tag','_handleJoinEvent','CollaborationSessionService','clearInterval','IImageIoService','SetSelectionsOperation','_getSessionTicket','INVITE_CODE_ALREADY_BOUND'];_0x3ec5=function(){return _0x541a5e;};return _0x3ec5();}
|
|
1
|
+
function _0xe752(_0x4eb3ed,_0x29c61e){const _0x547b0a=_0x547b();return _0xe752=function(_0xe752e6,_0x4e1d55){_0xe752e6=_0xe752e6-0x168;let _0xeb1508=_0x547b0a[_0xe752e6];return _0xeb1508;},_0xe752(_0x4eb3ed,_0x29c61e);}(function(_0x320ae9,_0x25aad1){const _0x4ebb7c=_0xe752,_0x21c0bd=_0x320ae9();while(!![]){try{const _0x32a1bc=parseInt(_0x4ebb7c(0x2f1))/0x1+-parseInt(_0x4ebb7c(0x1ac))/0x2+-parseInt(_0x4ebb7c(0x26d))/0x3*(parseInt(_0x4ebb7c(0x16c))/0x4)+parseInt(_0x4ebb7c(0x309))/0x5*(-parseInt(_0x4ebb7c(0x1b7))/0x6)+-parseInt(_0x4ebb7c(0x381))/0x7*(-parseInt(_0x4ebb7c(0x258))/0x8)+-parseInt(_0x4ebb7c(0x351))/0x9*(parseInt(_0x4ebb7c(0x2ce))/0xa)+parseInt(_0x4ebb7c(0x285))/0xb;if(_0x32a1bc===_0x25aad1)break;else _0x21c0bd['push'](_0x21c0bd['shift']());}catch(_0x2d3740){_0x21c0bd['push'](_0x21c0bd['shift']());}}}(_0x547b,0x7d884),function(_0x2a9b6e,_0x8047ea){const _0x3696b3=_0xe752;typeof exports==_0x3696b3(0x186)&&typeof module<'u'?_0x8047ea(exports,require(_0x3696b3(0x256)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x3696b3(0x1fb)),require(_0x3696b3(0x3e5)),require(_0x3696b3(0x3e1)),require(_0x3696b3(0x1bb)),require(_0x3696b3(0x1c9)),require(_0x3696b3(0x2c5)),require(_0x3696b3(0x27a)),require(_0x3696b3(0x2f6)),require(_0x3696b3(0x371)),require(_0x3696b3(0x37c)),require('react/jsx-runtime'),require(_0x3696b3(0x38d)),require(_0x3696b3(0x227)),require(_0x3696b3(0x1b4)),require(_0x3696b3(0x327))):typeof define=='function'&&define[_0x3696b3(0x3ef)]?define([_0x3696b3(0x338),'@univerjs-pro/collaboration-client',_0x3696b3(0x3cb),_0x3696b3(0x288),_0x3696b3(0x1fb),'@univerjs/docs-ui','@univerjs/drawing',_0x3696b3(0x1bb),_0x3696b3(0x1c9),_0x3696b3(0x2c5),'@univerjs/engine-formula',_0x3696b3(0x2f6),_0x3696b3(0x371),'@univerjs/sheets-ui',_0x3696b3(0x1b0),_0x3696b3(0x38d),'@univerjs/design',_0x3696b3(0x1b4),_0x3696b3(0x327)],_0x8047ea):(_0x2a9b6e=typeof globalThis<'u'?globalThis:_0x2a9b6e||self,_0x8047ea(_0x2a9b6e[_0x3696b3(0x387)]={},_0x2a9b6e[_0x3696b3(0x2a0)],_0x2a9b6e[_0x3696b3(0x238)],_0x2a9b6e[_0x3696b3(0x36f)],_0x2a9b6e[_0x3696b3(0x3d0)],_0x2a9b6e[_0x3696b3(0x2aa)],_0x2a9b6e[_0x3696b3(0x246)],_0x2a9b6e[_0x3696b3(0x1bb)],_0x2a9b6e[_0x3696b3(0x1ab)],_0x2a9b6e['UniverProCollaboration'],_0x2a9b6e[_0x3696b3(0x36a)],_0x2a9b6e[_0x3696b3(0x2a8)],_0x2a9b6e['rxjs'][_0x3696b3(0x28d)],_0x2a9b6e['UniverSheetsUi'],_0x2a9b6e[_0x3696b3(0x3e8)],_0x2a9b6e[_0x3696b3(0x388)],_0x2a9b6e[_0x3696b3(0x296)],_0x2a9b6e[_0x3696b3(0x3e8)],_0x2a9b6e[_0x3696b3(0x37a)]));}(this,function(_0x18110a,_0x345800,_0x5451dd,_0x177a4a,_0x4936a4,_0x2ab7a6,_0x397d65,_0x2918d8,_0x312bdc,_0xe29c42,_0x41e24e,_0x550773,_0x41845d,_0x568638,_0x4f030b,_0x363b55,_0x1e2a6b,_0x39bcbd,_0x382cc7){'use strict';const _0x1b79a9=_0xe752;var _0x15c09e=Object[_0x1b79a9(0x34f)],_0x126999=(_0x4b7d95,_0x4b3303,_0x29f970)=>_0x4b3303 in _0x4b7d95?_0x15c09e(_0x4b7d95,_0x4b3303,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29f970}):_0x4b7d95[_0x4b3303]=_0x29f970,_0x5a8f73=(_0x39b5e6,_0x5a3c60,_0x2c8540)=>_0x126999(_0x39b5e6,typeof _0x5a3c60!=_0x1b79a9(0x2e1)?_0x5a3c60+'':_0x5a3c60,_0x2c8540),_0x1636c6=Object[_0x1b79a9(0x3a7)],_0xa179d4=(_0x598feb,_0xef5694,_0x5b290f,_0x4f272b)=>{const _0x123101=_0x1b79a9;for(var _0x3d2556=_0x4f272b>0x1?void 0x0:_0x4f272b?_0x1636c6(_0xef5694,_0x5b290f):_0xef5694,_0x1bd445=_0x598feb[_0x123101(0x2d5)]-0x1,_0x2f0326;_0x1bd445>=0x0;_0x1bd445--)(_0x2f0326=_0x598feb[_0x1bd445])&&(_0x3d2556=_0x2f0326(_0x3d2556)||_0x3d2556);return _0x3d2556;},_0x5d00c1=(_0x2d02cb,_0x10fec5)=>(_0x3d6d31,_0x7d7a1b)=>_0x10fec5(_0x3d6d31,_0x7d7a1b,_0x2d02cb);let _0xb4314f=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0x39085c,_0x19faac){const _0x310672=_0x1b79a9;super(),this[_0x310672(0x2a4)]=_0x39085c,this['_imageIoService']=_0x19faac,this['_init']();}[_0x1b79a9(0x2b6)](){const _0x1e0109=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x43bc87=>{const _0x5a343a=_0xe752,_0x1d725a=await _0x1e0109[_0x5a343a(0x3bc)][_0x5a343a(0x3cc)](_0x43bc87);return _0x1d725a?{'source':_0x1d725a[_0x5a343a(0x35d)],'imageSourceType':_0x1d725a['imageSourceType']}:null;}}));}};_0xb4314f=_0xa179d4([_0x5d00c1(0x0,_0x2ab7a6['IDocClipboardService']),_0x5d00c1(0x1,_0x397d65['IImageIoService'])],_0xb4314f);const _0x181880=['purple300',_0x1b79a9(0x33e),_0x1b79a9(0x3cf),'red300','blue400',_0x1b79a9(0x36e)];class _0x30ee06 extends _0x5451dd['Disposable']{constructor(){const _0x37ed11=_0x1b79a9;super(...arguments),_0x5a8f73(this,_0x37ed11(0x282),new Map()),_0x5a8f73(this,'_colorIndex',0x0);}[_0x1b79a9(0x2dd)](_0x1a0318){const _0x4b8df4=_0x1b79a9;if(this['_assignedColors']['has'](_0x1a0318))return this['_assignedColors'][_0x4b8df4(0x346)](_0x1a0318);const _0x5579c4=_0x181880[this[_0x4b8df4(0x175)]];return this[_0x4b8df4(0x175)]=(this[_0x4b8df4(0x175)]+0x1)%_0x181880[_0x4b8df4(0x2d5)],this[_0x4b8df4(0x282)]['set'](_0x1a0318,_0x5579c4),_0x5579c4;}}function _0x193914(_0x51b3b3){const _0xf5afca=_0x1b79a9;let _0x1e7a2c='';for(const _0x550781 of _0x51b3b3){const {startOffset:_0x1f8a5b,endOffset:_0x586444,isActive:_0x2f54da,rangeType:_0x517fbe,segmentId:_0x572dd4,segmentPage:_0x4963b5}=_0x550781;_0x1e7a2c[_0xf5afca(0x2d5)]&&(_0x1e7a2c+=','),_0x1e7a2c+=_0x1f8a5b+':'+_0x586444+':'+(_0x2f54da?'1':'0')+':'+_0x517fbe+':'+_0x572dd4+':'+_0x4963b5;}return _0x1e7a2c;}function _0x497be7(_0x51eccd){const _0x4d0510=_0x1b79a9,_0x20d1e8=_0x51eccd[_0x4d0510(0x24f)](','),_0x139f3d=[];for(const _0x179ccb of _0x20d1e8){const [_0x53746,_0xd9c0cd,_0x4aacd0,_0x3196a1,_0x146149,_0x5d0ed4]=_0x179ccb['split'](':');_0x139f3d[_0x4d0510(0x300)]({'startOffset':Number(_0x53746),'endOffset':Number(_0xd9c0cd),'collapsed':_0x53746===_0xd9c0cd,'isActive':_0x4aacd0==='1','rangeType':_0x3196a1===_0x5451dd['DOC_RANGE_TYPE'][_0x4d0510(0x37d)]?_0x5451dd[_0x4d0510(0x1f9)]['TEXT']:_0x5451dd[_0x4d0510(0x1f9)][_0x4d0510(0x18f)],'segmentId':typeof _0x146149==_0x4d0510(0x31d)?String(_0x146149):'','segmentPage':Number(_0x5d0ed4!=null?_0x5d0ed4:-0x1)});}return _0x139f3d['some'](_0x11a103=>_0x11a103[_0x4d0510(0x27d)])||(_0x139f3d[0x0][_0x4d0510(0x27d)]=!0x0),_0x139f3d;}class _0x20d1de extends _0x5451dd['RxDisposable']{constructor(){const _0x1e6b1a=_0x1b79a9;super(...arguments),_0x5a8f73(this,'_collabCursorState$',new _0x2918d8['BehaviorSubject'](null)),_0x5a8f73(this,_0x1e6b1a(0x218),this[_0x1e6b1a(0x325)][_0x1e6b1a(0x3d9)]());}['syncEditingCollabCursor'](_0xc74bf6){const _0x1dfa4f=_0x1b79a9,{unitID:_0x435720,memberID:_0x1b72f8,textRanges:_0x59ed33}=_0xc74bf6,_0x39671d=_0x193914(_0x59ed33);if(_0x39671d==='')return;const _0x536825={'unitID':_0x435720,'memberID':_0x1b72f8,'selection':_0x39671d};this['_collabCursorState$'][_0x1dfa4f(0x303)](_0x536825);}}var _0x421803=Object[_0x1b79a9(0x3a7)],_0x414533=(_0x2a68b6,_0x410da6,_0x2002b0,_0x2619b1)=>{const _0x35010e=_0x1b79a9;for(var _0x5558c9=_0x2619b1>0x1?void 0x0:_0x2619b1?_0x421803(_0x410da6,_0x2002b0):_0x410da6,_0x13f0fc=_0x2a68b6[_0x35010e(0x2d5)]-0x1,_0x20dc25;_0x13f0fc>=0x0;_0x13f0fc--)(_0x20dc25=_0x2a68b6[_0x13f0fc])&&(_0x5558c9=_0x20dc25(_0x5558c9)||_0x5558c9);return _0x5558c9;},_0x3838bc=(_0x30a473,_0x149ae0)=>(_0xf07a85,_0x39238e)=>_0x149ae0(_0xf07a85,_0x39238e,_0x30a473);const _0x1e5d6f=0x12c,_0x2c568a=0x64;let _0x5f153f=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0x2efab4,_0x31de78,_0x21973f,_0x3f44ac,_0x15ef8b,_0x1362c2,_0x121335,_0x2c146e,_0x14329b){const _0x3797ee=_0x1b79a9;super(),_0x5a8f73(this,'_online',!0x1),_0x5a8f73(this,_0x3797ee(0x2b6),!0x1),_0x5a8f73(this,_0x3797ee(0x299),new _0x2918d8[(_0x3797ee(0x35e))](new Map())),_0x5a8f73(this,_0x3797ee(0x249),this['_cursorInfo$'][_0x3797ee(0x3d9)]()),_0x5a8f73(this,'_roomMembers$',new _0x2918d8[(_0x3797ee(0x35e))]([])),_0x5a8f73(this,_0x3797ee(0x33d),this[_0x3797ee(0x2c4)][_0x3797ee(0x291)](_0x2918d8[_0x3797ee(0x2a2)](_0x1e5d6f))),_0x5a8f73(this,_0x3797ee(0x394),_0x5451dd[_0x3797ee(0x2be)](_0x5ecb28=>{const _0x18fe10=_0x3797ee,_0x1dd723={'eventID':_0xe29c42[_0x18fe10(0x38a)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x18fe10(0x1ea)][_0x18fe10(0x3c5)](),'selection':_0x193914(_0x5ecb28)}};this['_session'][_0x18fe10(0x2b7)](_0x1dd723,this[_0x18fe10(0x3ff)]);},_0x2c568a)),(this[_0x3797ee(0x3ff)]=_0x2efab4,this[_0x3797ee(0x1ea)]=_0x31de78,this['_injector']=_0x21973f,this[_0x3797ee(0x1aa)]=_0x3f44ac,this[_0x3797ee(0x219)]=_0x15ef8b,this[_0x3797ee(0x342)]=_0x1362c2,this[_0x3797ee(0x392)]=_0x121335,this[_0x3797ee(0x356)]=_0x2c146e,this[_0x3797ee(0x3fc)]=_0x14329b);}get['cursorInfo'](){const _0x260c98=_0x1b79a9;return this['_cursorInfo$'][_0x260c98(0x200)]();}get[_0x1b79a9(0x3a0)](){const _0x465ae5=_0x1b79a9;return this['_roomMembers$'][_0x465ae5(0x200)]();}[_0x1b79a9(0x3d1)](){const _0x54ba30=_0x1b79a9;super[_0x54ba30(0x3d1)](),this[_0x54ba30(0x299)][_0x54ba30(0x303)](new Map()),this['_cursorInfo$'][_0x54ba30(0x1c1)](),this[_0x54ba30(0x2c4)][_0x54ba30(0x303)]([]),this['_roomMembers$'][_0x54ba30(0x1c1)]();}[_0x1b79a9(0x1f8)](){const _0x58a228=_0x1b79a9;this[_0x58a228(0x2b6)]||(this[_0x58a228(0x2b6)]=!0x0,this[_0x58a228(0x1ea)][_0x58a228(0x39f)]['pipe'](_0x2918d8[_0x58a228(0x25b)](this[_0x58a228(0x319)]))[_0x58a228(0x268)](_0x38436a=>{const _0x2408af=_0x58a228;_0x38436a===_0x345800['SessionStatus'][_0x2408af(0x20f)]?this[_0x2408af(0x29e)]():this[_0x2408af(0x3d2)]();}),this['_session'][_0x58a228(0x3f2)][_0x58a228(0x291)](_0x2918d8[_0x58a228(0x25b)](this[_0x58a228(0x319)]))[_0x58a228(0x268)](_0x268b23=>{const _0x52e3ff=_0x58a228,_0x1e97cd=_0x268b23[_0x52e3ff(0x3c0)];_0x1e97cd===_0xe29c42[_0x52e3ff(0x38a)][_0x52e3ff(0x22e)]&&this['_onCursorUpdate'](_0x268b23),_0x1e97cd===_0xe29c42[_0x52e3ff(0x38a)][_0x52e3ff(0x289)]&&this[_0x52e3ff(0x38e)](_0x268b23);}),this['disposeWithMe'](this[_0x58a228(0x3fc)][_0x58a228(0x1fd)](_0x4ddd94=>{const _0x3dacfa=_0x58a228,_0x199e25=_0x4ddd94[_0x3dacfa(0x2d0)];_0x199e25!=null&&this[_0x3dacfa(0x20a)]&&_0x4ddd94['id']===_0x312bdc[_0x3dacfa(0x328)]['id']&&_0x199e25['unitId']===this[_0x3dacfa(0x3ff)]&&_0x199e25[_0x3dacfa(0x1f3)]===!0x1&&_0x199e25[_0x3dacfa(0x199)][_0x3dacfa(0x2d5)]>0x0&&this[_0x3dacfa(0x394)](_0x199e25['ranges']);})),this[_0x58a228(0x342)][_0x58a228(0x218)][_0x58a228(0x291)](_0x2918d8[_0x58a228(0x25b)](this['dispose$']))[_0x58a228(0x268)](_0x322535=>{const _0x31b1f7=_0x58a228;if((_0x322535==null?void 0x0:_0x322535[_0x31b1f7(0x3ff)])!==this['unitID'])return;const _0x338d12={'eventID':_0xe29c42[_0x31b1f7(0x38a)][_0x31b1f7(0x22e)],'data':_0x322535};this[_0x31b1f7(0x358)](_0x338d12);}),this[_0x58a228(0x16d)](this[_0x58a228(0x3fc)][_0x58a228(0x1fd)](_0x2157b2=>{const _0x18e1ae=_0x58a228;if(_0x2157b2[_0x18e1ae(0x2d0)]==null)return;const _0x52e3cd=_0x2157b2['params'];if(_0x2157b2['id']!==_0x312bdc['RichTextEditingMutation']['id']||_0x52e3cd[_0x18e1ae(0x2eb)]!==this[_0x18e1ae(0x3ff)])return;const _0x4daa70={'id':_0x18e1ae(0x3b7),'params':_0x52e3cd},_0x2c0e4a=this[_0x18e1ae(0x3b2)];for(const [_0x37c752,_0x421ef7]of _0x2c0e4a){const _0x3af3af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x18e1ae(0x3ff)],'actions':null,'textRanges':_0x421ef7[_0x18e1ae(0x199)]}},_0x3f6cd2=this['_transformService'][_0x18e1ae(0x22c)](_0x4daa70,_0x3af3af,!0x1);if(_0xe29c42[_0x18e1ae(0x339)](_0x3f6cd2))throw _0x3f6cd2['error'];_0x2c0e4a[_0x18e1ae(0x189)](_0x37c752,{..._0x421ef7,'ranges':_0x3f6cd2['m2Prime'][_0x18e1ae(0x2d0)][_0x18e1ae(0x35f)]});}queueMicrotask(()=>{const _0x43f6c9=_0x18e1ae;this[_0x43f6c9(0x299)]['next'](_0x2c0e4a);});})));}[_0x1b79a9(0x358)](_0x4a832f){const _0x62cdf0=_0x1b79a9;var _0x49f985,_0x27c37b;const {memberID:_0x3f23af,selection:_0x238566}=_0x4a832f[_0x62cdf0(0x370)],_0x39a13a=_0x497be7(_0x238566),_0xfa734=(_0x27c37b=(_0x49f985=this[_0x62cdf0(0x219)][_0x62cdf0(0x18d)](this[_0x62cdf0(0x3ff)],_0x3f23af))==null?void 0x0:_0x49f985[_0x62cdf0(0x22b)])!=null?_0x27c37b:'Unknown\x20user',_0x562e0b={'color':this['_colorAssignService'][_0x62cdf0(0x2dd)](_0x3f23af),'name':_0xfa734,'ranges':_0x39a13a},_0x50643f=this['cursorInfo'];_0x50643f[_0x62cdf0(0x189)](_0x3f23af,_0x562e0b),this[_0x62cdf0(0x299)][_0x62cdf0(0x303)](_0x50643f);}['_onCursorDelete'](_0x579b44){const _0x55ab6b=_0x1b79a9,{memberID:_0x127326}=_0x579b44[_0x55ab6b(0x370)],_0x5a3612=this[_0x55ab6b(0x3b2)];_0x5a3612['delete'](_0x127326),this['_cursorInfo$'][_0x55ab6b(0x303)](_0x5a3612);}[_0x1b79a9(0x29e)](){const _0x2e37de=_0x1b79a9;var _0x4f19bb;if(this[_0x2e37de(0x20a)]=!0x0,((_0x4f19bb=this[_0x2e37de(0x356)][_0x2e37de(0x24d)]())==null?void 0x0:_0x4f19bb[_0x2e37de(0x2bd)]())!==this['unitID'])return;const _0x1ddd0d=this[_0x2e37de(0x1ad)][_0x2e37de(0x346)](_0x312bdc[_0x2e37de(0x382)])['getDocRanges']();Array[_0x2e37de(0x3d6)](_0x1ddd0d)&&_0x1ddd0d['length']>0x0&&this[_0x2e37de(0x394)](_0x1ddd0d);}[_0x1b79a9(0x3d2)](){const _0x5d19b2=_0x1b79a9;this[_0x5d19b2(0x20a)]=!0x1;}};_0x5f153f=_0x414533([_0x3838bc(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd['Injector'])),_0x3838bc(0x3,_0x5451dd[_0x1b79a9(0x17b)](_0x30ee06)),_0x3838bc(0x4,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x235)])),_0x3838bc(0x5,_0x5451dd[_0x1b79a9(0x17b)](_0x20d1de)),_0x3838bc(0x6,_0xe29c42[_0x1b79a9(0x36c)]),_0x3838bc(0x7,_0x5451dd[_0x1b79a9(0x1ff)]),_0x3838bc(0x8,_0x5451dd[_0x1b79a9(0x292)])],_0x5f153f);var _0x54d31a=Object[_0x1b79a9(0x3a7)],_0xdaa6f6=(_0x3bd237,_0x5bd156,_0xf8f322,_0x309093)=>{const _0x30fdb2=_0x1b79a9;for(var _0x4b3d89=_0x309093>0x1?void 0x0:_0x309093?_0x54d31a(_0x5bd156,_0xf8f322):_0x5bd156,_0x3118bb=_0x3bd237[_0x30fdb2(0x2d5)]-0x1,_0x27617c;_0x3118bb>=0x0;_0x3118bb--)(_0x27617c=_0x3bd237[_0x3118bb])&&(_0x4b3d89=_0x27617c(_0x4b3d89)||_0x4b3d89);return _0x4b3d89;},_0x5a6c40=(_0x3cc1d9,_0x401dd8)=>(_0x1e3cc4,_0x5d1d99)=>_0x401dd8(_0x1e3cc4,_0x5d1d99,_0x3cc1d9);const _0x16b77b=0x12c,_0x5243e0=0x64,_0x3a75fb=()=>{let _0x4726d5=[],_0x2fc0ad=!0x1;return _0x6e5b11=>{const _0x2b6c8a=_0xe752;_0x4726d5[_0x2b6c8a(0x300)](_0x6e5b11),_0x2fc0ad||(_0x2fc0ad=!0x0,setTimeout(()=>{const _0x4dc1ec=_0x2b6c8a;_0x4726d5[_0x4dc1ec(0x31f)](_0x4ba0d6=>_0x4ba0d6()),_0x4726d5=[],_0x2fc0ad=!0x1;}));};};let _0x16e1dc=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0xcacca5,_0x2e2f27,_0x34a5af,_0x3dfd9e,_0x33adb2,_0x1e61c6,_0x95d7b6,_0x273f19){const _0x1abc06=_0x1b79a9;super(),_0x5a8f73(this,_0x1abc06(0x20a),!0x1),_0x5a8f73(this,_0x1abc06(0x2b6),!0x1),_0x5a8f73(this,_0x1abc06(0x299),new _0x2918d8[(_0x1abc06(0x35e))](new Map())),_0x5a8f73(this,_0x1abc06(0x249),this['_cursorInfo$'][_0x1abc06(0x3d9)]()),_0x5a8f73(this,_0x1abc06(0x2c4),new _0x2918d8[(_0x1abc06(0x35e))]([])),_0x5a8f73(this,_0x1abc06(0x33d),this[_0x1abc06(0x2c4)][_0x1abc06(0x291)](_0x2918d8[_0x1abc06(0x2a2)](_0x16b77b))),_0x5a8f73(this,_0x1abc06(0x394),_0x5451dd[_0x1abc06(0x2be)]((_0x54e9c4,_0x22cce8)=>{const _0x4beabc=_0x1abc06,_0x477fd1={'eventID':_0xe29c42[_0x4beabc(0x38a)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4beabc(0x1ea)]['getMemberID'](),'selection':_0x41e24e[_0x4beabc(0x263)](_0x54e9c4,_0x22cce8[_0x4beabc(0x1bd)])}};this['_session'][_0x4beabc(0x2b7)](_0x477fd1,this[_0x4beabc(0x3ff)]);},_0x5243e0)),(this[_0x1abc06(0x3ff)]=_0xcacca5,this['_session']=_0x2e2f27,this['_injector']=_0x34a5af,this[_0x1abc06(0x1aa)]=_0x3dfd9e,this[_0x1abc06(0x219)]=_0x33adb2,this[_0x1abc06(0x356)]=_0x1e61c6,this['_commandService']=_0x95d7b6,this[_0x1abc06(0x34d)]=_0x273f19);}get[_0x1b79a9(0x3b2)](){const _0x3f9759=_0x1b79a9;return this[_0x3f9759(0x299)][_0x3f9759(0x200)]();}get['roomMembers'](){const _0x376ba0=_0x1b79a9;return this[_0x376ba0(0x2c4)][_0x376ba0(0x200)]();}[_0x1b79a9(0x3d1)](){const _0x10f4fa=_0x1b79a9;super[_0x10f4fa(0x3d1)](),this[_0x10f4fa(0x299)][_0x10f4fa(0x303)](new Map()),this[_0x10f4fa(0x299)]['complete'](),this[_0x10f4fa(0x2c4)][_0x10f4fa(0x303)]([]),this[_0x10f4fa(0x2c4)][_0x10f4fa(0x1c1)]();}[_0x1b79a9(0x1f8)](){const _0x21f52d=_0x1b79a9;this[_0x21f52d(0x2b6)]||(this[_0x21f52d(0x2b6)]=!0x0,this[_0x21f52d(0x1ea)]['sessionStatus$']['pipe'](_0x2918d8[_0x21f52d(0x25b)](this['dispose$']))['subscribe'](_0x39b380=>{const _0x55198b=_0x21f52d;_0x39b380===_0x345800[_0x55198b(0x30d)][_0x55198b(0x20f)]?this[_0x55198b(0x29e)]():this[_0x55198b(0x3d2)]();}),this[_0x21f52d(0x1ea)][_0x21f52d(0x3f2)][_0x21f52d(0x291)](_0x2918d8['takeUntil'](this[_0x21f52d(0x319)]))[_0x21f52d(0x268)](_0x255465=>{const _0x5db676=_0x21f52d,_0x25fd9b=_0x255465[_0x5db676(0x3c0)];_0x25fd9b===_0xe29c42[_0x5db676(0x38a)][_0x5db676(0x22e)]&&this[_0x5db676(0x358)](_0x255465),_0x25fd9b===_0xe29c42[_0x5db676(0x38a)]['USERS_LEAVE']&&this[_0x5db676(0x38e)](_0x255465);}),this[_0x21f52d(0x2d4)](),this['disposeWithMe'](this[_0x21f52d(0x3fc)][_0x21f52d(0x1fd)](_0x53234d=>{const _0x5db85f=_0x21f52d;if(this['_online']&&_0x53234d['id']===_0x550773[_0x5db85f(0x25f)]['id']&&_0x53234d['params'][_0x5db85f(0x2eb)]===this[_0x5db85f(0x3ff)]){const _0x3c5153=_0x53234d['params'];this['_updateLocalCursor'](_0x3c5153[_0x5db85f(0x2c8)],_0x3c5153[_0x5db85f(0x1ef)][0x0]);}})));}[_0x1b79a9(0x358)](_0x63076a){const _0x53b882=_0x1b79a9;var _0x3ec74e,_0x439012;const {memberID:_0x274eb7,selection:_0x39cbb6}=_0x63076a['data'],{sheetName:_0x12657f,range:_0x5d61a9}=_0x41e24e[_0x53b882(0x2b8)](_0x39cbb6),_0x236013={'name':(_0x439012=(_0x3ec74e=this[_0x53b882(0x219)][_0x53b882(0x18d)](this[_0x53b882(0x3ff)],_0x274eb7))==null?void 0x0:_0x3ec74e['name'])!=null?_0x439012:_0x53b882(0x168),'range':this[_0x53b882(0x2da)](_0x12657f,_0x5d61a9),'sheetID':_0x12657f,'color':this['_colorAssignService'][_0x53b882(0x2dd)](_0x274eb7),'selection':_0x39cbb6},_0x2f3275=this['cursorInfo'];_0x2f3275[_0x53b882(0x189)](_0x274eb7,_0x236013),this['_cursorInfo$']['next'](_0x2f3275);}['_onCursorDelete'](_0x53b570){const _0x40dee8=_0x1b79a9,{memberID:_0x53abd0}=_0x53b570[_0x40dee8(0x370)],_0x2378b3=this[_0x40dee8(0x3b2)];_0x2378b3[_0x40dee8(0x247)](_0x53abd0),this[_0x40dee8(0x299)][_0x40dee8(0x303)](_0x2378b3);}[_0x1b79a9(0x2da)](_0x34aaf2,_0x42ab3b){const _0x4385ff=_0x1b79a9;var _0x115d50,_0xeefc91;const _0x33345d=(_0xeefc91=(_0x115d50=this[_0x4385ff(0x356)][_0x4385ff(0x2cc)](this[_0x4385ff(0x3ff)]))==null?void 0x0:_0x115d50[_0x4385ff(0x20c)](_0x34aaf2))==null?void 0x0:_0xeefc91[_0x4385ff(0x1b6)]();return(_0x33345d==null?void 0x0:_0x33345d[_0x4385ff(0x27e)](_0x52a836=>_0x5451dd[_0x4385ff(0x1a5)]['contains'](_0x52a836,_0x42ab3b)))||_0x42ab3b;}['_onRefRangeChange'](){const _0x389915=_0x1b79a9,_0x1f8069=new _0x5451dd['DisposableCollection'](),_0x4e7637=_0x3a75fb(),_0x1d4086=()=>{const _0x4ce6be=_0xe752;_0x1f8069[_0x4ce6be(0x3d1)]();const _0x338356=(_0x45e35e,_0x58337b,_0x17dd1c,_0x3f0053)=>{const _0x5b75da=_0x4ce6be;let _0x3d0d73=[];switch(_0x45e35e['id']){case _0x550773[_0x5b75da(0x377)]['DeleteRangeMoveLeftCommandId']:{_0x3d0d73=_0x550773[_0x5b75da(0x390)](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)][_0x5b75da(0x366)]:{_0x3d0d73=_0x550773['handleDeleteRangeMoveUp'](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)][_0x5b75da(0x2e8)]:{_0x3d0d73=_0x550773[_0x5b75da(0x3e9)](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)][_0x5b75da(0x23e)]:{_0x3d0d73=_0x550773[_0x5b75da(0x2f7)](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)][_0x5b75da(0x3c1)]:{_0x3d0d73=_0x550773['handleInsertRangeMoveRight'](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)]['InsertRowCommandId']:{_0x3d0d73=_0x550773['handleInsertRow'](_0x45e35e,_0x3f0053);break;}case _0x550773['EffectRefRangId']['MoveRangeCommandId']:{_0x3d0d73=_0x550773[_0x5b75da(0x1b1)](_0x45e35e,_0x3f0053);break;}case _0x550773['EffectRefRangId'][_0x5b75da(0x1d1)]:{_0x3d0d73=_0x550773[_0x5b75da(0x275)](_0x45e35e,_0x3f0053);break;}case _0x550773['EffectRefRangId'][_0x5b75da(0x3fd)]:{_0x3d0d73=_0x550773[_0x5b75da(0x313)](_0x45e35e,_0x3f0053);break;}}const _0x36c76b=_0x550773[_0x5b75da(0x380)](_0x3d0d73,_0x3f0053),_0x12e14e=this['cursorInfo'][_0x5b75da(0x346)](_0x58337b);if(_0x12e14e&&_0x36c76b){const _0x2aca96={..._0x12e14e,'range':_0x36c76b};this['cursorInfo'][_0x5b75da(0x189)](_0x58337b,_0x2aca96),_0x4e7637(()=>{const _0x19bc99=_0x5b75da,_0x4a2b05=this[_0x19bc99(0x34d)][_0x19bc99(0x2cf)](_0x36c76b,_0x316d55=>(_0x4a2b05[_0x19bc99(0x3d1)](),_0x338356(_0x316d55,_0x58337b,_0x17dd1c,_0x36c76b)));_0x1f8069[_0x19bc99(0x3c7)](_0x4a2b05);});}return{'redos':[],'undos':[]};};this[_0x4ce6be(0x3b2)][_0x4ce6be(0x31f)]((_0x5a2a9a,_0x38cae4)=>{const _0x1a3625=_0x4ce6be,{range:_0x20b36e,sheetID:_0x2a4104}=_0x5a2a9a,_0x27cd09=this[_0x1a3625(0x34d)][_0x1a3625(0x2cf)](_0x20b36e,_0x460397=>(_0x27cd09[_0x1a3625(0x3d1)](),_0x338356(_0x460397,_0x38cae4,_0x2a4104,_0x20b36e)));_0x1f8069['add'](_0x27cd09);});};this[_0x389915(0x16d)](_0x5451dd[_0x389915(0x330)](this[_0x389915(0x299)][_0x389915(0x268)](()=>{_0x1d4086();})));}['_toggleOnline'](){const _0x1f70c2=_0x1b79a9;var _0x161bc6,_0x2fa03f;if(this['_online']=!0x0,((_0x161bc6=this[_0x1f70c2(0x356)]['getFocusedUnit']())==null?void 0x0:_0x161bc6[_0x1f70c2(0x2bd)]())!==this[_0x1f70c2(0x3ff)])return;const _0xc8121f=(_0x2fa03f=this[_0x1f70c2(0x1ad)][_0x1f70c2(0x346)](_0x550773['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x2fa03f[0x0],_0x3b81b0=this['_univerInstanceService']['getCurrentUnitForType'](_0x5451dd[_0x1f70c2(0x169)]['UNIVER_SHEET'])['getActiveSheet']();_0xc8121f&&_0x3b81b0&&this[_0x1f70c2(0x394)](_0x3b81b0[_0x1f70c2(0x3d7)](),_0xc8121f);}['_toggleOffline'](){this['_online']=!0x1;}};_0x16e1dc=_0xdaa6f6([_0x5a6c40(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x5a6c40(0x3,_0x5451dd[_0x1b79a9(0x17b)](_0x30ee06)),_0x5a6c40(0x4,_0x5451dd['Inject'](_0x345800[_0x1b79a9(0x235)])),_0x5a6c40(0x5,_0x5451dd[_0x1b79a9(0x1ff)]),_0x5a6c40(0x6,_0x5451dd[_0x1b79a9(0x292)]),_0x5a6c40(0x7,_0x5451dd[_0x1b79a9(0x17b)](_0x550773[_0x1b79a9(0x3f0)]))],_0x16e1dc);var _0x11358a=Object[_0x1b79a9(0x3a7)],_0x2516f6=(_0x270ee7,_0x5ccfac,_0x4e7a55,_0x5d2aa0)=>{for(var _0x5bb87e=_0x5d2aa0>0x1?void 0x0:_0x5d2aa0?_0x11358a(_0x5ccfac,_0x4e7a55):_0x5ccfac,_0x2119ed=_0x270ee7['length']-0x1,_0x14c918;_0x2119ed>=0x0;_0x2119ed--)(_0x14c918=_0x270ee7[_0x2119ed])&&(_0x5bb87e=_0x14c918(_0x5bb87e)||_0x5bb87e);return _0x5bb87e;},_0xfa58fa=(_0x5f3579,_0x7ee576)=>(_0x1eae4c,_0x517b02)=>_0x7ee576(_0x1eae4c,_0x517b02,_0x5f3579);let _0x58b6ae=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0x503dd2,_0x33d966,_0x5db887){const _0x521f5c=_0x1b79a9;super(),_0x5a8f73(this,_0x521f5c(0x1d2),new Map()),_0x5a8f73(this,'_entityInit$',new _0x2918d8[(_0x521f5c(0x3cd))]()),(this['_univerInstanceService']=_0x503dd2,this[_0x521f5c(0x1ad)]=_0x33d966,this[_0x521f5c(0x378)]=_0x5db887,this['_init']());}[_0x1b79a9(0x3d1)](){const _0x267ecd=_0x1b79a9;super[_0x267ecd(0x3d1)](),this['_entityInit$'][_0x267ecd(0x1c1)](),this['_entities']['forEach'](_0x3d6457=>_0x3d6457[_0x267ecd(0x3d1)]());}[_0x1b79a9(0x3b3)](_0x4df492){const _0x26e011=_0x1b79a9;return this['_entities'][_0x26e011(0x19e)](_0x4df492)?this[_0x26e011(0x1d2)][_0x26e011(0x346)](_0x4df492)[_0x26e011(0x249)]:this[_0x26e011(0x283)][_0x26e011(0x291)](_0x2918d8['filter'](_0x353cb2=>_0x353cb2[_0x26e011(0x3ff)]===_0x4df492),_0x2918d8[_0x26e011(0x1f2)](_0x18095b=>_0x18095b[_0x26e011(0x249)]));}[_0x1b79a9(0x2b6)](){const _0x14dc50=_0x1b79a9;this['_univerInstanceService'][_0x14dc50(0x364)](_0x5451dd['UniverInstanceType'][_0x14dc50(0x2c7)])[_0x14dc50(0x291)](_0x2918d8['takeUntil'](this[_0x14dc50(0x319)]))[_0x14dc50(0x268)](async _0x37b5b6=>{const _0x3c9f02=_0x14dc50,_0x13b939=_0x37b5b6[_0x3c9f02(0x2bd)](),_0x56baf3=await this['_startSheetCollabCursor'](_0x13b939);this[_0x3c9f02(0x283)][_0x3c9f02(0x303)](_0x56baf3),this['_entities'][_0x3c9f02(0x189)](_0x13b939,_0x56baf3);}),this[_0x14dc50(0x356)][_0x14dc50(0x364)](_0x5451dd['UniverInstanceType'][_0x14dc50(0x23a)])[_0x14dc50(0x291)](_0x2918d8[_0x14dc50(0x25b)](this[_0x14dc50(0x319)]))[_0x14dc50(0x291)](_0x2918d8[_0x14dc50(0x271)](_0x1ff574=>!_0x1ff574[_0x14dc50(0x2bd)]()[_0x14dc50(0x2a6)]('__')))['subscribe'](async _0x417343=>{const _0x4426ce=_0x14dc50,_0x216442=_0x417343[_0x4426ce(0x2bd)](),_0x4ec453=await this['_startDocCollabCursor'](_0x216442);this[_0x4426ce(0x283)][_0x4426ce(0x303)](_0x4ec453),this[_0x4426ce(0x1d2)][_0x4426ce(0x189)](_0x216442,_0x4ec453);}),_0x2918d8[_0x14dc50(0x185)](this[_0x14dc50(0x356)][_0x14dc50(0x304)](_0x5451dd[_0x14dc50(0x169)]['UNIVER_DOC']),this[_0x14dc50(0x356)][_0x14dc50(0x304)](_0x5451dd[_0x14dc50(0x169)][_0x14dc50(0x2c7)]))[_0x14dc50(0x291)](_0x2918d8[_0x14dc50(0x25b)](this[_0x14dc50(0x319)]))[_0x14dc50(0x268)](_0xa1544c=>{const _0x26fc67=_0x14dc50,_0x32514c=_0xa1544c[_0x26fc67(0x2bd)](),_0x116f16=this['_entities'][_0x26fc67(0x346)](_0x32514c);_0x116f16&&(_0x116f16[_0x26fc67(0x3d1)](),this['_entities']['delete'](_0x32514c));});}async['_startSheetCollabCursor'](_0x31d670){const _0x5b688a=_0x1b79a9,_0x2cdeae=await this[_0x5b688a(0x378)]['requireSession'](_0x31d670),_0x2a877f=this[_0x5b688a(0x1ad)][_0x5b688a(0x3ca)](_0x16e1dc,_0x31d670,_0x2cdeae);return _0x2a877f[_0x5b688a(0x1f8)](),_0x2a877f;}async['_startDocCollabCursor'](_0x27f290){const _0x7eb374=_0x1b79a9,_0x18856d=await this['_collabSessionService'][_0x7eb374(0x1c3)](_0x27f290),_0xe526cf=this[_0x7eb374(0x1ad)]['createInstance'](_0x5f153f,_0x27f290,_0x18856d);return _0xe526cf[_0x7eb374(0x1f8)](),_0xe526cf;}};_0x58b6ae=_0x2516f6([_0xfa58fa(0x0,_0x5451dd[_0x1b79a9(0x1ff)]),_0xfa58fa(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0xfa58fa(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x2e6)]))],_0x58b6ae);const _0x186acf=0x14,_0x143e84=0xc8,_0x404a61=0x4,_0x599f25=0x5;function _0x2bd473(_0x280244,_0x1c489f){const _0x25b10d=_0x1b79a9;let {radius:_0x24860a,width:_0x2837d0,height:_0x29db11}=_0x1c489f;_0x24860a=_0x24860a!=null?_0x24860a:0x0,_0x2837d0=_0x2837d0!=null?_0x2837d0:0x1e,_0x29db11=_0x29db11!=null?_0x29db11:0x1e;let _0x3cfa05=0x0,_0x2ce310=0x0,_0x4c91e8=0x0;_0x3cfa05=_0x2ce310=_0x4c91e8=Math[_0x25b10d(0x228)](_0x24860a,_0x2837d0/0x2,_0x29db11/0x2),_0x280244[_0x25b10d(0x35c)](),_0x280244['moveTo'](_0x3cfa05,0x0),_0x280244[_0x25b10d(0x2a9)](_0x2837d0-_0x2ce310,0x0),_0x280244[_0x25b10d(0x264)](_0x2837d0-_0x2ce310,_0x2ce310,_0x2ce310,Math['PI']*0x3/0x2,0x0,!0x1),_0x280244['lineTo'](_0x2837d0,_0x29db11-_0x4c91e8),_0x280244[_0x25b10d(0x264)](_0x2837d0-_0x4c91e8,_0x29db11-_0x4c91e8,_0x4c91e8,0x0,Math['PI']/0x2,!0x1),_0x280244[_0x25b10d(0x2a9)](0x0,_0x29db11),_0x280244[_0x25b10d(0x2a9)](0x0,_0x3cfa05),_0x280244['arc'](_0x3cfa05,_0x3cfa05,_0x3cfa05,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x280244[_0x25b10d(0x28c)](),_0x1c489f[_0x25b10d(0x363)]&&(_0x280244[_0x25b10d(0x3c9)](),_0x280244['fillStyle']=_0x1c489f[_0x25b10d(0x363)],_0x1c489f[_0x25b10d(0x17f)]===_0x25b10d(0x253)?_0x280244['fill']('evenodd'):_0x280244[_0x25b10d(0x363)](),_0x280244[_0x25b10d(0x1c6)]());}class _0x278a49 extends _0x177a4a[_0x1b79a9(0x2ad)]{constructor(_0x4ff072,_0xa49c00){const _0x379b64=_0x1b79a9;super(_0x4ff072,_0xa49c00),_0x5a8f73(this,_0x379b64(0x18c)),_0x5a8f73(this,_0x379b64(0x337)),(this[_0x379b64(0x18c)]=_0xa49c00==null?void 0x0:_0xa49c00[_0x379b64(0x18c)],this[_0x379b64(0x337)]=_0xa49c00==null?void 0x0:_0xa49c00[_0x379b64(0x337)]);}static['drawWith'](_0x47f483,_0x54c236){const _0x3ea150=_0x1b79a9,{text:_0x4e0c19,color:_0x4d2a65}=_0x54c236;_0x47f483[_0x3ea150(0x3c9)](),_0x47f483[_0x3ea150(0x1e5)]=_0x3ea150(0x3df);const _0x5d808d=_0x47f483[_0x3ea150(0x28f)](_0x4e0c19)[_0x3ea150(0x32b)],_0x5bb1f6=Math['min'](_0x5d808d+0x2*_0x404a61,_0x143e84);_0x2bd473(_0x47f483,{'height':_0x186acf,'radius':0x4,'width':_0x5bb1f6,'fill':_0x4d2a65}),_0x47f483[_0x3ea150(0x2ed)]=_0x3ea150(0x3a4);const _0x2a4540=_0x404a61,_0x35025b=_0x186acf-_0x599f25,_0x1b4f33=_0x143e84-0x2*_0x404a61;if(_0x5d808d>_0x1b4f33){let _0x1db840='',_0x5b8a49=0x0;for(const _0x1b5448 of _0x4e0c19){const _0x29ead0=_0x47f483[_0x3ea150(0x28f)](_0x1b5448)[_0x3ea150(0x32b)];if(_0x5b8a49+_0x29ead0<=_0x1b4f33-_0x47f483[_0x3ea150(0x28f)](_0x3ea150(0x180))[_0x3ea150(0x32b)])_0x1db840+=_0x1b5448,_0x5b8a49+=_0x29ead0;else{_0x1db840+='...';break;}}_0x47f483[_0x3ea150(0x1c5)](_0x1db840,_0x2a4540,_0x35025b);}else _0x47f483['fillText'](_0x4e0c19,_0x2a4540,_0x35025b);_0x47f483['restore']();}[_0x1b79a9(0x30e)](_0x48d5da){_0x278a49['drawWith'](_0x48d5da,this);}}const _0x26ffe1=_0x1b79a9(0x232),_0x3bc9b6=_0x1b79a9(0x1c8),_0x247fd3='collab-rect-range-',_0x44fbcb=0x6,_0x59ac6b=1.5,_0x5926cf=0x4,_0x5cd2e1=1.5,_0x886d95=_0x1b79a9(0x1e7);class _0x2d3eea{constructor(_0x1b8aff,_0x122037,_0x21300c,_0x1889cc){const _0x480acd=_0x1b79a9;_0x5a8f73(this,'_shapes',[]),_0x5a8f73(this,_0x480acd(0x17e),null),_0x5a8f73(this,_0x480acd(0x2e0),null),_0x5a8f73(this,_0x480acd(0x302),null),_0x5a8f73(this,_0x480acd(0x2ab),null),_0x5a8f73(this,_0x480acd(0x248),null),(this['_cursor']=_0x1b8aff,this[_0x480acd(0x1af)]=_0x122037,this[_0x480acd(0x1d4)]=_0x21300c,this['_document']=_0x1889cc,this['_render']());}set['_hover'](_0x1d2273){const _0x3fbae4=_0x1b79a9;_0x1d2273?(this['_anchorDot']&&this[_0x3fbae4(0x302)][_0x3fbae4(0x24b)](),this['_textBubble']&&this[_0x3fbae4(0x2e0)][_0x3fbae4(0x32e)]()):(this[_0x3fbae4(0x302)]&&this[_0x3fbae4(0x302)][_0x3fbae4(0x32e)](),this['_textBubble']&&this['_textBubble'][_0x3fbae4(0x24b)]());}[_0x1b79a9(0x3d1)](){const _0x5a23eb=_0x1b79a9;for(const _0x176a99 of this['_shapes'])_0x176a99[_0x5a23eb(0x3d1)]();this[_0x5a23eb(0x2e0)]&&this[_0x5a23eb(0x2e0)][_0x5a23eb(0x3d1)](),this[_0x5a23eb(0x302)]&&this['_anchorDot'][_0x5a23eb(0x3d1)](),this[_0x5a23eb(0x17e)]&&this[_0x5a23eb(0x17e)][_0x5a23eb(0x3d1)](),this[_0x5a23eb(0x248)]&&this[_0x5a23eb(0x248)]();}[_0x1b79a9(0x2d2)](){const _0x1915ea=_0x1b79a9;var _0x35e3c8;const {_docSkeleton:_0x5986f8,_document:_0x5a47f}=this,{color:_0x557141,name:_0x5ab85c,ranges:_0x352e81}=this[_0x1915ea(0x3ae)],_0x5431de=_0x5a47f[_0x1915ea(0x33b)](),{docsLeft:_0x5c7061,docsTop:_0x9fa54e}=_0x5431de,_0x19ab4f=new _0x2ab7a6[(_0x1915ea(0x2bf))](_0x5431de,_0x5986f8);for(const {startOffset:_0x26cdb0,endOffset:_0x34aa39,rangeType:_0x1cd2a4,segmentId:_0x21dedf,segmentPage:_0x4a0fe2,collapsed:_0x50b494,isActive:_0x17547f}of _0x352e81){const _0x21abfb=_0x5986f8[_0x1915ea(0x32c)](_0x26cdb0,!0x0,_0x21dedf,_0x4a0fe2);let _0x42726d=_0x5986f8[_0x1915ea(0x32c)](_0x34aa39,!0x0,_0x21dedf,_0x4a0fe2);if(_0x42726d==null&&(_0x42726d=_0x5986f8[_0x1915ea(0x32c)](_0x34aa39-0x1,!0x1,_0x21dedf,_0x4a0fe2)),_0x17547f){const {contentBoxPointGroup:_0x12960b}=_0x19ab4f[_0x1915ea(0x252)](_0x42726d,_0x42726d);if(_0x12960b['length']===0x0)continue;this[_0x1915ea(0x25c)](_0x557141,_0x12960b,_0x5c7061,_0x9fa54e,_0x5ab85c),this[_0x1915ea(0x248)]=this['_handleHover']();}if(_0x21abfb&&_0x42726d){if(_0x1cd2a4===_0x5451dd['DOC_RANGE_TYPE'][_0x1915ea(0x18f)]){const _0x13241f=new _0x2ab7a6['NodePositionConvertToRectRange'](_0x5431de,_0x5986f8),{pointGroup:_0x59a507}=(_0x35e3c8=_0x13241f[_0x1915ea(0x252)](_0x21abfb,_0x42726d))!=null?_0x35e3c8:{};if(_0x59a507==null||_0x59a507[_0x1915ea(0x2d5)]===0x0)continue;this[_0x1915ea(0x261)](_0x557141,_0x59a507,_0x5c7061,_0x9fa54e);}else{if(!_0x50b494){const {borderBoxPointGroup:_0x398d2f}=_0x19ab4f[_0x1915ea(0x252)](_0x21abfb,_0x42726d);if(_0x398d2f[_0x1915ea(0x2d5)]===0x0)continue;this[_0x1915ea(0x254)](_0x557141,_0x398d2f,_0x5c7061,_0x9fa54e);}}}}}[_0x1b79a9(0x25c)](_0x3eaba1,_0x378579,_0x5f4c04,_0x2627bc,_0xdae103){const _0x2a140c=_0x1b79a9,_0x4552ed=this[_0x2a140c(0x191)](_0x378579),{left:_0x40d754,top:_0x15baa6,height:_0x4a7daf}=_0x4552ed,_0xb974d8=this[_0x2a140c(0x2b0)](),_0x44f01f=_0x5cd2e1/_0xb974d8,_0x6fc8a9=new _0x177a4a[(_0x2a140c(0x19a))](_0x26ffe1+_0x5451dd[_0x2a140c(0x19b)][_0x2a140c(0x204)](_0x44fbcb),{'left':_0x40d754+_0x5f4c04-_0x44f01f,'top':_0x15baa6+_0x2627bc,'height':_0x4a7daf,'width':_0x59ac6b,'fill':_0x3eaba1||_0x177a4a[_0x2a140c(0x251)](_0x5451dd['COLORS']['black'],0x0),'strokeWidth':_0x44f01f,'stroke':_0x886d95,'evented':!0x0});this[_0x2a140c(0x17e)]=_0x6fc8a9,this[_0x2a140c(0x1af)][_0x2a140c(0x22f)](_0x6fc8a9,_0x2ab7a6[_0x2a140c(0x22d)]);const _0x46c930=new _0x177a4a['Rect'](_0x26ffe1+_0x5451dd['Tools']['generateRandomId'](_0x44fbcb),{'left':_0x40d754+_0x5f4c04-_0x44f01f,'top':_0x15baa6+_0x2627bc-_0x5926cf/0x2,'height':_0x5926cf,'width':_0x5926cf,'fill':_0x3eaba1||_0x177a4a[_0x2a140c(0x251)](_0x5451dd[_0x2a140c(0x23d)][_0x2a140c(0x32f)],0x0),'strokeWidth':0x0,'stroke':_0x3eaba1||_0x177a4a[_0x2a140c(0x251)](_0x5451dd[_0x2a140c(0x23d)]['black'],0x0),'evented':!0x1});this[_0x2a140c(0x302)]=_0x46c930,this[_0x2a140c(0x1af)][_0x2a140c(0x22f)](_0x46c930,_0x2ab7a6[_0x2a140c(0x22d)]);const _0x2bda2d=new _0x278a49(_0x26ffe1+_0x5451dd[_0x2a140c(0x19b)]['generateRandomId'](_0x44fbcb),{'left':_0x40d754+_0x5f4c04-_0x44f01f,'top':_0x15baa6+_0x2627bc-_0x186acf,'text':_0xdae103,'color':_0x3eaba1});this[_0x2a140c(0x2e0)]=_0x2bda2d,this['_scene']['addObject'](_0x2bda2d,_0x2ab7a6[_0x2a140c(0x22d)]),this[_0x2a140c(0x293)]=!0x1;}[_0x1b79a9(0x1d5)](){const _0xc567a1=_0x1b79a9,_0x573579=this[_0xc567a1(0x17e)][_0xc567a1(0x35a)][_0xc567a1(0x223)](()=>{this['_hover']=!0x0;}),_0x3e14e4=this['_anchor'][_0xc567a1(0x190)][_0xc567a1(0x223)](()=>{const _0x309e4a=_0xc567a1;this[_0x309e4a(0x2ab)]&&clearTimeout(this['_hideTimer']),this[_0x309e4a(0x2ab)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x6e7efc=_0xc567a1;_0x573579[_0x6e7efc(0x2fd)](),_0x3e14e4[_0x6e7efc(0x2fd)]();};}[_0x1b79a9(0x254)](_0xde6813,_0x2b9a99,_0x347f67,_0x1b4c2b){const _0x3a50ec=_0x1b79a9,_0xcaeb9d=new _0x5451dd[(_0x3a50ec(0x396))](_0xde6813)[_0x3a50ec(0x3f4)](0.2)['toRgbString'](),_0x38d3b3=new _0x177a4a[(_0x3a50ec(0x331))](_0x3bc9b6+_0x5451dd[_0x3a50ec(0x19b)][_0x3a50ec(0x204)](_0x44fbcb),{'pointsGroup':_0x2b9a99,'fill':_0xcaeb9d||_0x177a4a[_0x3a50ec(0x251)](_0x5451dd[_0x3a50ec(0x23d)][_0x3a50ec(0x32f)],0.2),'left':_0x347f67,'top':_0x1b4c2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3a50ec(0x21d)]['push'](_0x38d3b3),this[_0x3a50ec(0x1af)][_0x3a50ec(0x22f)](_0x38d3b3,_0x2ab7a6[_0x3a50ec(0x22d)]);}[_0x1b79a9(0x261)](_0x34224f,_0x3f7831,_0xe962bc,_0x2d6a86){const _0x1b2b44=_0x1b79a9,_0x3db269=new _0x5451dd['ColorKit'](_0x34224f)['setAlpha'](0.2)['toRgbString'](),_0x194826=new _0x177a4a[(_0x1b2b44(0x331))](_0x247fd3+_0x5451dd[_0x1b2b44(0x19b)]['generateRandomId'](_0x44fbcb),{'pointsGroup':_0x3f7831,'fill':_0x3db269||_0x177a4a[_0x1b2b44(0x251)](_0x5451dd[_0x1b2b44(0x23d)][_0x1b2b44(0x32f)],0.2),'left':_0xe962bc,'top':_0x2d6a86,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b2b44(0x21d)][_0x1b2b44(0x300)](_0x194826),this['_scene'][_0x1b2b44(0x22f)](_0x194826,_0x2ab7a6['TEXT_RANGE_LAYER_INDEX']);}[_0x1b79a9(0x191)](_0x428180){const _0x2cc99c=_0x428180[0x0],_0xa60f83=_0x2cc99c[0x0],_0x242890=_0x2cc99c[0x2],{x:_0x336a7e,y:_0x22a7e7}=_0xa60f83,{x:_0x4194b3,y:_0x1da147}=_0x242890;return{'left':_0x336a7e,'top':_0x22a7e7,'width':_0x4194b3-_0x336a7e,'height':_0x1da147-_0x22a7e7};}[_0x1b79a9(0x2b0)](){const _0x1da94e=_0x1b79a9,{scaleX:_0x1e2d99,scaleY:_0x288762}=this[_0x1da94e(0x1af)][_0x1da94e(0x36b)]();return Math['max'](_0x1e2d99,_0x288762);}}var _0x2862c1=Object[_0x1b79a9(0x3a7)],_0x5e94fb=(_0x40a78f,_0x2e811,_0x3c101d,_0x252562)=>{const _0x142233=_0x1b79a9;for(var _0x95b2e0=_0x252562>0x1?void 0x0:_0x252562?_0x2862c1(_0x2e811,_0x3c101d):_0x2e811,_0x4bbada=_0x40a78f[_0x142233(0x2d5)]-0x1,_0x9a2c1d;_0x4bbada>=0x0;_0x4bbada--)(_0x9a2c1d=_0x40a78f[_0x4bbada])&&(_0x95b2e0=_0x9a2c1d(_0x95b2e0)||_0x95b2e0);return _0x95b2e0;},_0x313ed9=(_0x131874,_0x1dd1f5)=>(_0x2dedcf,_0x4f05ab)=>_0x1dd1f5(_0x2dedcf,_0x4f05ab,_0x131874);let _0x16ea39=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0x5b2c3f,_0x5bf41c,_0x380e50,_0x492372,_0x2fdc85){const _0xdb7ed7=_0x1b79a9;super(),_0x5a8f73(this,'_cursorShapes',[]),_0x5a8f73(this,_0xdb7ed7(0x1c4),[]),(this['_context']=_0x5b2c3f,this[_0xdb7ed7(0x2e5)]=_0x5bf41c,this['_collabCursorController']=_0x380e50,this[_0xdb7ed7(0x3fc)]=_0x492372,this[_0xdb7ed7(0x29b)]=_0x2fdc85,this['_init']());}[_0x1b79a9(0x2b6)](){const _0x449ef0=_0x1b79a9,_0x4d02bd=this[_0x449ef0(0x1b8)]['unitId'],_0x39896d=this[_0x449ef0(0x2e5)];this[_0x449ef0(0x16d)](_0x2918d8[_0x449ef0(0x30c)]([this[_0x449ef0(0x1fa)][_0x449ef0(0x3b3)](_0x4d02bd),this[_0x449ef0(0x29b)][_0x449ef0(0x17a)]])['pipe'](_0x41845d[_0x449ef0(0x3dc)](([_0x5e2920,_0xb87e56])=>({'skeleton':_0x39896d['getSkeleton'](),'cursors':[..._0x5e2920[_0x449ef0(0x29a)]()][_0x449ef0(0x3f3)](_0x3c2c20=>({..._0x3c2c20,'color':_0xb87e56[_0x3c2c20[_0x449ef0(0x18c)]]}))})))[_0x449ef0(0x268)](_0x1bd96b=>{const _0x44aa58=_0x449ef0;if(this[_0x44aa58(0x242)](),_0x1bd96b){const {skeleton:_0x1c84b6,cursors:_0xd1e87c}=_0x1bd96b;this['_updateCollabCursors'](_0x1c84b6,_0xd1e87c);}})),this[_0x449ef0(0x307)](),this[_0x449ef0(0x230)]();}[_0x1b79a9(0x3f9)](_0x52bd20,_0x3a62ce){const _0x52bc40=_0x1b79a9,{scene:_0x2881f7,mainComponent:_0x462257}=this['_context'],_0x4cbee9=_0x3a62ce[_0x52bc40(0x3dc)](_0xe674b3=>new _0x2d3eea(_0xe674b3,_0x2881f7,_0x52bd20,_0x462257));this['_cursorShapes']=_0x4cbee9,this[_0x52bc40(0x1c4)]=_0x3a62ce;}[_0x1b79a9(0x1e4)](){const _0x2dc076=_0x1b79a9;this[_0x2dc076(0x242)]();const {scene:_0x253b52,mainComponent:_0x384004}=this[_0x2dc076(0x1b8)],_0x637049=this['_docSkeletonManagerService'][_0x2dc076(0x2f2)](),_0x387f1b=this[_0x2dc076(0x1c4)][_0x2dc076(0x3dc)](_0x3c6b2e=>new _0x2d3eea(_0x3c6b2e,_0x253b52,_0x637049,_0x384004));this['_cursorShapes']=_0x387f1b;}[_0x1b79a9(0x242)](){const _0x452762=_0x1b79a9;this['_cursorShapes'][_0x452762(0x31f)](_0x277e36=>_0x277e36['dispose']()),this[_0x452762(0x1e6)]=[];}['_initCommandExecutedListener'](){const _0x38e1e8=_0x1b79a9,_0x154dae=[_0x2ab7a6[_0x38e1e8(0x23f)]['id']];this['disposeWithMe'](this[_0x38e1e8(0x3fc)]['onCommandExecuted'](_0x421209=>{const _0x2ddfe0=_0x38e1e8;_0x154dae[_0x2ddfe0(0x326)](_0x421209['id'])&&_0x421209[_0x2ddfe0(0x2d0)]['unitId']===this[_0x2ddfe0(0x1b8)][_0x2ddfe0(0x2eb)]&&this[_0x2ddfe0(0x1e4)]();}));}[_0x1b79a9(0x307)](){const _0xc83c8=_0x1b79a9;this[_0xc83c8(0x16d)](_0x5451dd[_0xc83c8(0x311)](this['_context']['engine'][_0xc83c8(0x33a)])['pipe'](_0x41845d[_0xc83c8(0x271)](_0x58eefd=>_0x58eefd['type']===_0x177a4a[_0xc83c8(0x367)]['resize']),_0x41845d['throttleTime'](0x10))[_0xc83c8(0x268)](()=>{this['_refreshCollabCursors']();}));}};_0x16ea39=_0x5e94fb([_0x313ed9(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x312bdc[_0x1b79a9(0x233)])),_0x313ed9(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x58b6ae)),_0x313ed9(0x3,_0x5451dd[_0x1b79a9(0x292)]),_0x313ed9(0x4,_0x5451dd['Inject'](_0x5451dd['ThemeService']))],_0x16ea39);const _0x4a3f5d=0x1,_0x17d292=1.5;class _0x27387a extends _0x177a4a['Shape']{constructor(_0x4843c9,_0x9e84d7){const _0xc530b4=_0x1b79a9;super(_0x4843c9,_0x9e84d7),_0x5a8f73(this,_0xc530b4(0x21c)),_0x5a8f73(this,_0xc530b4(0x33c),!0x1),_0x5a8f73(this,_0xc530b4(0x1e1)),_0x5a8f73(this,_0xc530b4(0x20b),''),_0x5a8f73(this,_0xc530b4(0x345),_0xc530b4(0x3a5)),_0x5a8f73(this,_0xc530b4(0x384)),(_0x9e84d7&&this['setShapeProps'](_0x9e84d7),this[_0xc530b4(0x35a)][_0xc530b4(0x223)](()=>this[_0xc530b4(0x33f)]({'hovered':!0x0})),this[_0xc530b4(0x190)]['subscribeEvent'](()=>this[_0xc530b4(0x33f)]({'hovered':!0x1})));}[_0x1b79a9(0x33f)](_0x32d2aa){const _0x393493=_0x1b79a9;var _0x5913f0,_0x31755b,_0x30fa65,_0x3436fd,_0x4f814e,_0xde1699;this['_color']=(_0x5913f0=_0x32d2aa[_0x393493(0x18c)])!=null?_0x5913f0:this['_color'],this[_0x393493(0x33c)]=(_0x31755b=_0x32d2aa['hovered'])!=null?_0x31755b:this['_hovered'],this[_0x393493(0x1e1)]=(_0x30fa65=_0x32d2aa[_0x393493(0x1bd)])!=null?_0x30fa65:this[_0x393493(0x1e1)],this[_0x393493(0x20b)]=(_0x3436fd=_0x32d2aa[_0x393493(0x22b)])!=null?_0x3436fd:this['_name'],this[_0x393493(0x345)]=(_0x4f814e=_0x32d2aa[_0x393493(0x3fa)])!=null?_0x4f814e:this[_0x393493(0x345)],this[_0x393493(0x384)]=(_0xde1699=_0x32d2aa[_0x393493(0x37b)])!=null?_0xde1699:this[_0x393493(0x384)],this['transformByState']({'width':_0x32d2aa[_0x393493(0x32b)],'height':_0x32d2aa['height']});}[_0x1b79a9(0x243)](_0x2e93cc){const _0x3d3007=_0x1b79a9,{row:_0x528b9c,column:_0x10fb5f}=_0x2e93cc;if(_0x528b9c>=this[_0x3d3007(0x1e1)]['startRow']&&_0x528b9c<=this[_0x3d3007(0x1e1)][_0x3d3007(0x332)]&&_0x10fb5f>=this['_range']['startColumn']&&_0x10fb5f<=this['_range']['endColumn']){this[_0x3d3007(0x33f)]({'hovered':!0x0});return;}this[_0x3d3007(0x33f)]({'hovered':!0x1});}[_0x1b79a9(0x269)](_0x1c47a3){return!0x1;}[_0x1b79a9(0x30e)](_0x11d502){const _0x241365=_0x1b79a9;_0x177a4a[_0x241365(0x19a)][_0x241365(0x272)](_0x11d502,{'width':this[_0x241365(0x32b)],'height':this[_0x241365(0x2fb)],'strokeWidth':_0x17d292,'stroke':this[_0x241365(0x21c)],'evented':!0x1,'fill':this[_0x241365(0x384)]}),this['_hovered']&&(_0x11d502['save'](),_0x11d502['transform'](0x1,0x0,0x0,0x1,this[_0x241365(0x32b)],this[_0x241365(0x345)]===_0x241365(0x3f7)?0x0:-0x14),_0x278a49[_0x241365(0x272)](_0x11d502,{'text':this[_0x241365(0x20b)],'color':this[_0x241365(0x21c)]}),_0x11d502['restore']());}}var _0x511b59=Object['getOwnPropertyDescriptor'],_0xce60e=(_0x4451fd,_0x596ffb,_0xdae3d7,_0x5ebef6)=>{for(var _0x7320e6=_0x5ebef6>0x1?void 0x0:_0x5ebef6?_0x511b59(_0x596ffb,_0xdae3d7):_0x596ffb,_0x25b69e=_0x4451fd['length']-0x1,_0x2d494d;_0x25b69e>=0x0;_0x25b69e--)(_0x2d494d=_0x4451fd[_0x25b69e])&&(_0x7320e6=_0x2d494d(_0x7320e6)||_0x7320e6);return _0x7320e6;},_0x735ca8=(_0x5bc850,_0x57de23)=>(_0x7afe93,_0x15accd)=>_0x57de23(_0x7afe93,_0x15accd,_0x5bc850);const _0x3c9b15=0x1389;let _0x97857b=class extends _0x5451dd['RxDisposable']{constructor(_0xae70a6,_0x30b82a,_0x1e2612,_0x5cd76c){const _0x380c57=_0x1b79a9;super(),_0x5a8f73(this,_0x380c57(0x1c4),new Set()),_0x5a8f73(this,'_lastPointer',null),(this['_context']=_0xae70a6,this[_0x380c57(0x324)]=_0x30b82a,this[_0x380c57(0x1fa)]=_0x1e2612,this['_themeService']=_0x5cd76c,this[_0x380c57(0x2b6)]());}[_0x1b79a9(0x2b6)](){const _0x50777b=_0x1b79a9;this['_sheetSkeletonManagerService'][_0x50777b(0x195)]['pipe'](_0x41845d['takeUntil'](this[_0x50777b(0x319)]),_0x41845d[_0x50777b(0x1f2)](_0x340b14=>{const _0x1b4583=_0x50777b;if(_0x340b14){const _0x3d41a3=_0x340b14[_0x1b4583(0x359)];return _0x2918d8[_0x1b4583(0x30c)](this[_0x1b4583(0x1fa)][_0x1b4583(0x3b3)](this[_0x1b4583(0x1b8)][_0x1b4583(0x2eb)]),this[_0x1b4583(0x29b)]['currentTheme$'])[_0x1b4583(0x291)](_0x41845d['map'](([_0x4a6e2d,_0x136107])=>{const _0x426d12=_0x1b4583,_0x15fb6a=new Map();return _0x4a6e2d[_0x426d12(0x31f)]((_0x6c02d9,_0x58bb96)=>{const _0x113328=_0x426d12;if(_0x6c02d9[_0x113328(0x24a)]===_0x3d41a3){const _0x4dffa7={..._0x6c02d9};_0x4dffa7['color']=_0x136107[_0x6c02d9[_0x113328(0x18c)]],_0x15fb6a[_0x113328(0x189)](_0x58bb96,_0x4dffa7);}}),{'skeleton':_0x340b14,'cursors':_0x15fb6a};}));}return _0x2918d8['of']({'skeleton':null,'cursors':new Map()});}))[_0x50777b(0x268)](({skeleton:_0x1bcd1e,cursors:_0x246fe7})=>{const _0x33e58b=_0x50777b;this[_0x33e58b(0x242)](),_0x1bcd1e&&this[_0x33e58b(0x3f9)](_0x1bcd1e,_0x246fe7);}),this[_0x50777b(0x324)]['currentSkeleton$'][_0x50777b(0x268)](_0x42f4d7=>{const _0x3c0ba9=_0x50777b;if(_0x42f4d7==null)return;const {skeleton:_0x105526}=_0x42f4d7,{scene:_0x52e453}=this[_0x3c0ba9(0x1b8)];_0x52e453[_0x3c0ba9(0x1ce)][_0x3c0ba9(0x223)](_0x5451dd[_0x3c0ba9(0x2be)](_0x1363c4=>{const _0x3c01fb=_0x3c0ba9;var _0x1947c5,_0x38c6a9;const {offsetX:_0x5097f5,offsetY:_0x4e1e4f}=_0x1363c4,{x:_0x48ac21,y:_0x467958}=_0x52e453[_0x3c01fb(0x2ef)](_0x177a4a[_0x3c01fb(0x278)][_0x3c01fb(0x31e)]([_0x5097f5,_0x4e1e4f])),{scaleX:_0x5baabd,scaleY:_0x3e2933}=_0x52e453[_0x3c01fb(0x36b)](),_0x23cde2=_0x52e453[_0x3c01fb(0x1cd)](_0x177a4a[_0x3c01fb(0x1d6)][_0x3c01fb(0x36d)]),_0xf2dd08=_0x52e453[_0x3c01fb(0x314)](_0x177a4a[_0x3c01fb(0x278)][_0x3c01fb(0x31e)]([_0x48ac21,_0x467958]),_0x23cde2),_0x23456b=_0x105526['getCellPositionByOffset'](_0x5097f5,_0x4e1e4f,_0x5baabd,_0x3e2933,_0xf2dd08);((_0x1947c5=this[_0x3c01fb(0x3bb)])==null?void 0x0:_0x1947c5[_0x3c01fb(0x3f1)])===_0x23456b[_0x3c01fb(0x3f1)]&&((_0x38c6a9=this[_0x3c01fb(0x3bb)])==null?void 0x0:_0x38c6a9['row'])===_0x23456b[_0x3c01fb(0x3f8)]||this[_0x3c01fb(0x1c4)]['forEach'](_0x4f0a2b=>{const _0x22291a=_0x3c01fb;_0x4f0a2b[_0x22291a(0x243)](_0x23456b);});},0x64));});}[_0x1b79a9(0x3f9)](_0x4daeae,_0x4f106d){const _0x5d3f09=_0x1b79a9;var _0x3b05f9;const _0x3f98d8=(_0x3b05f9=this[_0x5d3f09(0x324)][_0x5d3f09(0x205)]())==null?void 0x0:_0x3b05f9[_0x5d3f09(0x2f4)];if(!_0x3f98d8)return;const _0x2ff353=this[_0x5d3f09(0x310)]();if(!_0x2ff353)return;this[_0x5d3f09(0x1c4)][_0x5d3f09(0x31f)](_0x3929da=>{const _0x3ff374=_0x5d3f09;_0x3929da[_0x3ff374(0x178)]();});const {scene:_0x1a6870}=_0x2ff353,_0x4dee8f=_0x232e25(Array[_0x5d3f09(0x39e)](_0x4f106d[_0x5d3f09(0x29a)]()))[_0x5d3f09(0x3dc)](_0x47c964=>{const _0x15489a=_0x5d3f09,{color:_0x155587,range:_0x443e4e,name:_0x347e9d,selection:_0x15c398,sheetID:_0x2ef4b0}=_0x47c964,{startColumn:_0x2b1816,startRow:_0x586bc6,endColumn:_0x54fa33,endRow:_0x1dd8a6}=_0x443e4e,_0x57f22a=_0x568638[_0x15489a(0x2ea)](_0x586bc6,_0x2b1816,_0x1a6870,_0x3f98d8),_0x581708=_0x568638[_0x15489a(0x2ea)](_0x1dd8a6,_0x54fa33,_0x1a6870,_0x3f98d8),{columnHeaderHeightAndMarginTop:_0x1146ee}=_0x3f98d8,{startX:_0x340702,startY:_0x1f6160}=_0x57f22a,{endX:_0x452a37,endY:_0x4a2a31}=_0x581708,_0x27bd6c=_0x452a37-_0x340702,_0x4bbe6f=_0x4a2a31-_0x1f6160,_0x3c4c1f={'labelPosition':_0x1f6160-_0x1146ee>=_0x186acf?_0x15489a(0x3a5):_0x15489a(0x3f7),'sheetID':_0x2ef4b0,'range':_0x443e4e,'color':_0x155587,'name':_0x347e9d,'selection':_0x15c398,'left':_0x340702,'top':_0x1f6160,'width':_0x27bd6c,'height':_0x4bbe6f,'evented':!0x1,'zIndex':_0x3c9b15};return new _0x27387a(_0x347e9d,_0x3c4c1f);});_0x1a6870[_0x5d3f09(0x286)](_0x4dee8f,_0x4a3f5d),this[_0x5d3f09(0x1c4)]=new Set(_0x4dee8f);}[_0x1b79a9(0x242)](){const _0xb87a0f=_0x1b79a9;var _0x1138cf;(_0x1138cf=this[_0xb87a0f(0x1c4)])==null||_0x1138cf[_0xb87a0f(0x31f)](_0x52c15a=>_0x52c15a[_0xb87a0f(0x3d1)]());}[_0x1b79a9(0x310)](){const _0x1f604c=_0x1b79a9;return _0x568638['getSheetObject'](this[_0x1f604c(0x1b8)][_0x1f604c(0x203)],this[_0x1f604c(0x1b8)]);}};_0x97857b=_0xce60e([_0x735ca8(0x1,_0x5451dd['Inject'](_0x568638[_0x1b79a9(0x21a)])),_0x735ca8(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x58b6ae)),_0x735ca8(0x3,_0x5451dd['Inject'](_0x5451dd[_0x1b79a9(0x316)]))],_0x97857b);function _0x232e25(_0x3422e9){const _0x49fa49=_0x1b79a9,_0x3df9e6=new Map();return _0x3422e9['forEach'](_0x572d55=>{const _0x45bd98=_0xe752;if(_0x3df9e6[_0x45bd98(0x19e)](_0x572d55[_0x45bd98(0x18a)])){const _0x260589=_0x3df9e6[_0x45bd98(0x346)](_0x572d55[_0x45bd98(0x18a)]);_0x260589[_0x45bd98(0x22b)]+=',\x20'+_0x572d55[_0x45bd98(0x22b)];}else _0x3df9e6[_0x45bd98(0x189)](_0x572d55[_0x45bd98(0x18a)],_0x572d55);}),Array['from'](_0x3df9e6[_0x49fa49(0x29a)]());}var _0x2e8283=function(){const _0x2e9497=_0x1b79a9;return _0x2e8283=Object['assign']||function(_0x597013){const _0x189884=_0xe752;for(var _0xf403a3,_0x18d02b=0x1,_0x1a3a20=arguments[_0x189884(0x2d5)];_0x18d02b<_0x1a3a20;_0x18d02b++){_0xf403a3=arguments[_0x18d02b];for(var _0x47e9f5 in _0xf403a3)Object['prototype']['hasOwnProperty'][_0x189884(0x23c)](_0xf403a3,_0x47e9f5)&&(_0x597013[_0x47e9f5]=_0xf403a3[_0x47e9f5]);}return _0x597013;},_0x2e8283[_0x2e9497(0x2d6)](this,arguments);},_0x58ff10=function(_0xe3afc,_0x37dd7a){const _0x315de8=_0x1b79a9;var _0x1d1ef7={};for(var _0x58db6d in _0xe3afc)Object[_0x315de8(0x181)][_0x315de8(0x2d8)]['call'](_0xe3afc,_0x58db6d)&&_0x37dd7a[_0x315de8(0x2ec)](_0x58db6d)<0x0&&(_0x1d1ef7[_0x58db6d]=_0xe3afc[_0x58db6d]);if(_0xe3afc!=null&&typeof Object[_0x315de8(0x1ec)]=='function'){for(var _0x2b6ff9=0x0,_0x58db6d=Object[_0x315de8(0x1ec)](_0xe3afc);_0x2b6ff9<_0x58db6d[_0x315de8(0x2d5)];_0x2b6ff9++)_0x37dd7a[_0x315de8(0x2ec)](_0x58db6d[_0x2b6ff9])<0x0&&Object[_0x315de8(0x181)]['propertyIsEnumerable'][_0x315de8(0x23c)](_0xe3afc,_0x58db6d[_0x2b6ff9])&&(_0x1d1ef7[_0x58db6d[_0x2b6ff9]]=_0xe3afc[_0x58db6d[_0x2b6ff9]]);}return _0x1d1ef7;},_0x3d5827=_0x39bcbd[_0x1b79a9(0x1d0)](function(_0x43fc23,_0x41d51b){const _0x29d03e=_0x1b79a9;var _0x5c7854=_0x43fc23['icon'],_0x5bc694=_0x43fc23['id'],_0x422a58=_0x43fc23[_0x29d03e(0x3ac)],_0x1c7b1b=_0x43fc23['extend'],_0x34caa5=_0x58ff10(_0x43fc23,[_0x29d03e(0x34c),'id','className',_0x29d03e(0x2e9)]),_0x4ae34f=_0x29d03e(0x2de)['concat'](_0x5bc694,'\x20')['concat'](_0x422a58||'')[_0x29d03e(0x399)](),_0x5161a6=_0x39bcbd[_0x29d03e(0x31c)]('_'['concat'](_0x26f35a()));return _0x5cc543(_0x5c7854,''[_0x29d03e(0x16b)](_0x5bc694),{'defIds':_0x5c7854[_0x29d03e(0x172)],'idSuffix':_0x5161a6[_0x29d03e(0x19c)]},_0x2e8283({'ref':_0x41d51b,'className':_0x4ae34f},_0x34caa5),_0x1c7b1b);});function _0x5cc543(_0xe135a7,_0x21cb6f,_0x18d8b0,_0x1dccce,_0xce4de3){const _0x6d94d7=_0x1b79a9;return _0x39bcbd['createElement'](_0xe135a7[_0x6d94d7(0x34b)],_0x2e8283(_0x2e8283({'key':_0x21cb6f},_0x5920dd(_0xe135a7,_0x18d8b0,_0xce4de3)),_0x1dccce),(_0x21e3b4(_0xe135a7,_0x18d8b0)['children']||[])[_0x6d94d7(0x3dc)](function(_0x2fbe3f,_0x1dacb6){const _0x31bed8=_0x6d94d7;return _0x5cc543(_0x2fbe3f,''[_0x31bed8(0x16b)](_0x21cb6f,'-')[_0x31bed8(0x16b)](_0xe135a7[_0x31bed8(0x34b)],'-')['concat'](_0x1dacb6),_0x18d8b0,void 0x0,_0xce4de3);}));}function _0x5920dd(_0x4e5606,_0x2fccee,_0x3219e2){const _0x35a8e0=_0x1b79a9;var _0x46d658=_0x2e8283({},_0x4e5606['attrs']);_0x3219e2!=null&&_0x3219e2[_0x35a8e0(0x20d)]&&_0x46d658[_0x35a8e0(0x363)]===_0x35a8e0(0x20d)&&(_0x46d658[_0x35a8e0(0x363)]=_0x3219e2['colorChannel1']),_0x4e5606[_0x35a8e0(0x34b)]==='mask'&&_0x46d658['id']&&(_0x46d658['id']=_0x46d658['id']+_0x2fccee['idSuffix']),Object[_0x35a8e0(0x2e4)](_0x46d658)['forEach'](function(_0x647dbe){const _0x24ee5a=_0x35a8e0;var _0x20ea92=_0x647dbe[0x0],_0x37e214=_0x647dbe[0x1];_0x20ea92===_0x24ee5a(0x379)&&typeof _0x37e214=='string'&&(_0x46d658[_0x20ea92]=_0x37e214[_0x24ee5a(0x2c1)](/url\(#(.*)\)/,_0x24ee5a(0x321)[_0x24ee5a(0x16b)](_0x2fccee[_0x24ee5a(0x198)],')')));});var _0x20b95e=_0x2fccee[_0x35a8e0(0x172)];return!_0x20b95e||_0x20b95e['length']===0x0||(_0x4e5606[_0x35a8e0(0x34b)]===_0x35a8e0(0x209)&&_0x46d658[_0x35a8e0(0x28b)]&&(_0x46d658['xlink:href']=_0x46d658[_0x35a8e0(0x28b)]+_0x2fccee[_0x35a8e0(0x198)]),Object[_0x35a8e0(0x2e4)](_0x46d658)[_0x35a8e0(0x31f)](function(_0x364c1b){const _0x5b8084=_0x35a8e0;var _0x2dc268=_0x364c1b[0x0],_0x32c8f3=_0x364c1b[0x1];typeof _0x32c8f3=='string'&&(_0x46d658[_0x2dc268]=_0x32c8f3[_0x5b8084(0x2c1)](/url\(#(.*)\)/,_0x5b8084(0x321)['concat'](_0x2fccee[_0x5b8084(0x198)],')')));})),_0x46d658;}function _0x21e3b4(_0x44fee2,_0x2ca64a){const _0x49ca19=_0x1b79a9;var _0x3d71f6,_0x5b185a=_0x2ca64a['defIds'];return!_0x5b185a||_0x5b185a[_0x49ca19(0x2d5)]===0x0?_0x44fee2:_0x44fee2['tag']===_0x49ca19(0x18e)&&(!((_0x3d71f6=_0x44fee2['children'])===null||_0x3d71f6===void 0x0)&&_0x3d71f6[_0x49ca19(0x2d5)])?_0x2e8283(_0x2e8283({},_0x44fee2),{'children':_0x44fee2['children'][_0x49ca19(0x3dc)](function(_0x3278e1){const _0x37c69a=_0x49ca19;return typeof _0x3278e1[_0x37c69a(0x3be)]['id']==_0x37c69a(0x31d)&&_0x5b185a&&_0x5b185a[_0x37c69a(0x2ec)](_0x3278e1[_0x37c69a(0x3be)]['id'])>-0x1?_0x2e8283(_0x2e8283({},_0x3278e1),{'attrs':_0x2e8283(_0x2e8283({},_0x3278e1[_0x37c69a(0x3be)]),{'id':_0x3278e1[_0x37c69a(0x3be)]['id']+_0x2ca64a[_0x37c69a(0x198)]})}):_0x3278e1;})}):_0x44fee2;}function _0x26f35a(){const _0x10b89b=_0x1b79a9;return Math['random']()['toString'](0x24)[_0x10b89b(0x1dd)](0x2,0x8);}_0x3d5827[_0x1b79a9(0x22a)]=_0x1b79a9(0x3c3);var _0x4c7e71={'tag':'svg','attrs':{'fill':_0x1b79a9(0x35b),'viewBox':_0x1b79a9(0x284),'width':'1em','height':_0x1b79a9(0x1f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b79a9(0x2b2)},'children':[{'tag':'path','attrs':{'stroke':_0x1b79a9(0x1f7),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1b79a9(0x290),'strokeLinejoin':_0x1b79a9(0x290),'strokeWidth':1.2}}]},{'tag':_0x1b79a9(0x18e),'attrs':{},'children':[{'tag':_0x1b79a9(0x1d8),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1b79a9(0x362),'attrs':{'fill':'#fff','d':_0x1b79a9(0x267)}}]}]}],'defIds':[_0x1b79a9(0x3ad)]},_0x1ba6ef=_0x39bcbd[_0x1b79a9(0x1d0)](function(_0x10f9cd,_0xc939cb){const _0x57bdd4=_0x1b79a9;return _0x39bcbd['createElement'](_0x3d5827,Object['assign']({},_0x10f9cd,{'id':_0x57bdd4(0x231),'ref':_0xc939cb,'icon':_0x4c7e71}));});_0x1ba6ef['displayName']=_0x1b79a9(0x1e8);var _0x2eab5c={'tag':'svg','attrs':{'fill':_0x1b79a9(0x35b),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x1b79a9(0x1f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b79a9(0x239)},'children':[{'tag':_0x1b79a9(0x362),'attrs':{'stroke':'currentColor','d':_0x1b79a9(0x2d3),'strokeLinecap':_0x1b79a9(0x290),'strokeLinejoin':_0x1b79a9(0x290),'strokeWidth':1.2}}]},{'tag':_0x1b79a9(0x18e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1b79a9(0x1a8)},'children':[{'tag':_0x1b79a9(0x362),'attrs':{'fill':_0x1b79a9(0x322),'d':_0x1b79a9(0x267),'transform':_0x1b79a9(0x1a6)}}]}]}],'defIds':[_0x1b79a9(0x1a8)]},_0x277488=_0x39bcbd['forwardRef'](function(_0x23cd5f,_0x294497){const _0x464275=_0x1b79a9;return _0x39bcbd['createElement'](_0x3d5827,Object['assign']({},_0x23cd5f,{'id':_0x464275(0x16f),'ref':_0x294497,'icon':_0x2eab5c}));});_0x277488[_0x1b79a9(0x22a)]=_0x1b79a9(0x341);function _0x500bca(_0x453e7b){const _0x323340=_0x1b79a9;switch(_0x453e7b){case _0x345800['CollaborationStatus'][_0x323340(0x27b)]:return _0x323340(0x1eb);case _0x345800[_0x323340(0x1b2)]['CONFLICT']:return'collabStatus.conflict';case _0x345800[_0x323340(0x1b2)][_0x323340(0x1db)]:return _0x323340(0x19f);case _0x345800[_0x323340(0x1b2)][_0x323340(0x3e2)]:return _0x323340(0x1a3);case _0x345800[_0x323340(0x1b2)][_0x323340(0x1d7)]:case _0x345800['CollaborationStatus'][_0x323340(0x37e)]:return _0x323340(0x192);case _0x345800['CollaborationStatus'][_0x323340(0x1e0)]:case _0x345800[_0x323340(0x1b2)]['PENDING']:return _0x323340(0x2af);}}function _0xbc6465(_0x561a68){const _0x29b079=_0x1b79a9,{status$:_0xf255e2}=_0x561a68,_0x4b6450=_0x363b55[_0x29b079(0x360)](_0xf255e2,_0x345800['CollaborationStatus'][_0x29b079(0x3e2)]),_0x2ddbb0=_0x363b55[_0x29b079(0x3e3)](_0x5451dd[_0x29b079(0x265)]),_0x557075=_0x363b55['useDependency'](_0x345800['CollaborationSessionService']),_0x32825f=_0x4b6450!==_0x345800[_0x29b079(0x1b2)][_0x29b079(0x27b)],_0x4dc7f5=_0x2ddbb0['t'](_0x500bca(_0x4b6450)),_0x7cbf7d=_0x32825f?_0x4f030b['jsx'](_0x277488,{}):_0x4f030b[_0x29b079(0x3c6)](_0x1ba6ef,{}),_0x16f364=_0x39bcbd[_0x29b079(0x179)](()=>{const _0x467803=_0x29b079;_0x32825f||_0x557075[_0x467803(0x34a)]();},[_0x32825f,_0x557075]);function _0x43c474(){const _0x13adda=_0x29b079;return _0x4f030b['jsxs'](_0x13adda(0x386),{'className':_0x13adda(0x39d),'onClick':_0x16f364,'children':[_0x4f030b[_0x13adda(0x3c6)](_0x13adda(0x386),{'className':_0x1e2a6b[_0x13adda(0x38f)](_0x13adda(0x28a),_0x32825f?_0x13adda(0x280):_0x13adda(0x2b5)),'children':_0x7cbf7d}),_0x4f030b['jsx'](_0x13adda(0x386),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x4dc7f5})]});}return _0x32825f?_0x43c474():_0x4f030b[_0x29b079(0x3c6)](_0x1e2a6b[_0x29b079(0x1e3)],{'title':_0x2ddbb0['t']('collab-client.tooltip.reconnect'),'children':_0x43c474()});}var _0x48bff2=Object[_0x1b79a9(0x3a7)],_0x6ffc9=(_0x53576c,_0x5a49ed,_0x493198,_0x53e31c)=>{const _0x44995f=_0x1b79a9;for(var _0xedbbcc=_0x53e31c>0x1?void 0x0:_0x53e31c?_0x48bff2(_0x5a49ed,_0x493198):_0x5a49ed,_0x413a8a=_0x53576c[_0x44995f(0x2d5)]-0x1,_0x3422b9;_0x413a8a>=0x0;_0x413a8a--)(_0x3422b9=_0x53576c[_0x413a8a])&&(_0xedbbcc=_0x3422b9(_0xedbbcc)||_0xedbbcc);return _0xedbbcc;},_0x828ada=(_0x185e3e,_0x47fd0a)=>(_0x10d93e,_0x5827b5)=>_0x47fd0a(_0x10d93e,_0x5827b5,_0x185e3e);_0x18110a['DesktopCollaborationStatusDisplayController']=class extends _0x5451dd['Disposable']{constructor(_0x2dbc7c,_0x3e3d7a,_0x5994d3,_0x2f7383){const _0x5f2363=_0x1b79a9;super(),_0x5a8f73(this,_0x5f2363(0x215),new _0x2918d8[(_0x5f2363(0x35e))](_0x345800['CollaborationStatus'][_0x5f2363(0x3e2)])),(this[_0x5f2363(0x356)]=_0x2dbc7c,this[_0x5f2363(0x1ad)]=_0x3e3d7a,this[_0x5f2363(0x389)]=_0x5994d3,this[_0x5f2363(0x270)]=_0x2f7383,this['_initStatusComponent'](),this[_0x5f2363(0x320)]());}[_0x1b79a9(0x320)](){const _0x48e77c=_0x1b79a9;this[_0x48e77c(0x16d)](this[_0x48e77c(0x356)]['focused$'][_0x48e77c(0x291)](_0x2918d8[_0x48e77c(0x1f2)](()=>{const _0x17946d=_0x48e77c,_0x59fb61=this[_0x17946d(0x356)][_0x17946d(0x24d)]();return _0x59fb61?this[_0x17946d(0x389)][_0x17946d(0x24e)](_0x59fb61[_0x17946d(0x2bd)]()):_0x2918d8['of'](null);}),_0x2918d8[_0x48e77c(0x1f2)](_0x5911fc=>_0x5911fc?_0x5911fc[_0x48e77c(0x395)]:_0x2918d8['of'](_0x345800[_0x48e77c(0x1b2)]['NOT_COLLAB'])))[_0x48e77c(0x268)](_0x293313=>{const _0x38a9c1=_0x48e77c;this[_0x38a9c1(0x215)]['next'](_0x293313);}));}[_0x1b79a9(0x308)](){const _0x5e7b50=_0x1b79a9;this[_0x5e7b50(0x16d)](this['_uiPartsService'][_0x5e7b50(0x26f)](_0x363b55[_0x5e7b50(0x2f3)][_0x5e7b50(0x1ed)],()=>_0x363b55[_0x5e7b50(0x348)](_0x1c5f3c({'status$':this[_0x5e7b50(0x215)]['asObservable']()}),this[_0x5e7b50(0x1ad)])));}},_0x18110a[_0x1b79a9(0x1ba)]=_0x6ffc9([_0x828ada(0x0,_0x5451dd[_0x1b79a9(0x1ff)]),_0x828ada(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x828ada(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x194)])),_0x828ada(0x3,_0x363b55[_0x1b79a9(0x340)])],_0x18110a[_0x1b79a9(0x1ba)]);function _0x1c5f3c(_0x5a990b){const {status$:_0x388275}=_0x5a990b;return function(){const _0x52bc69=_0xe752;return _0x4f030b[_0x52bc69(0x3c6)](_0xbc6465,{'status$':_0x388275});};}var _0x778693=Object[_0x1b79a9(0x3a7)],_0x3c2516=(_0x44ce7b,_0x18465b,_0x334701,_0x5a2f97)=>{const _0x44a02c=_0x1b79a9;for(var _0x15baa9=_0x5a2f97>0x1?void 0x0:_0x5a2f97?_0x778693(_0x18465b,_0x334701):_0x18465b,_0x417e06=_0x44ce7b[_0x44a02c(0x2d5)]-0x1,_0x2539a0;_0x417e06>=0x0;_0x417e06--)(_0x2539a0=_0x44ce7b[_0x417e06])&&(_0x15baa9=_0x2539a0(_0x15baa9)||_0x15baa9);return _0x15baa9;},_0x37b564=(_0x27047f,_0x575919)=>(_0x5e0ecc,_0x3283da)=>_0x575919(_0x5e0ecc,_0x3283da,_0x27047f);let _0x295d51=class extends _0x5451dd[_0x1b79a9(0x2f9)]{constructor(_0x4ac726,_0x1df4a3,_0x4c2360,_0x5efd6a,_0x474c86,_0x2e9e83){const _0x25d769=_0x1b79a9;super(),this[_0x25d769(0x3e4)]=_0x4ac726,this[_0x25d769(0x32d)]=_0x1df4a3,this['_collaborationUIEventService']=_0x4c2360,this[_0x25d769(0x17c)]=_0x5efd6a,this[_0x25d769(0x30b)]=_0x474c86,this[_0x25d769(0x1ca)]=_0x2e9e83,this[_0x25d769(0x1a0)](),this[_0x25d769(0x1a7)]();}[_0x1b79a9(0x1a0)](){const _0x3a1643=_0x1b79a9;this[_0x3a1643(0x16d)](this[_0x3a1643(0x3e4)]['registerBeforeClose'](()=>{const _0x3648e3=_0x3a1643;if(this[_0x3648e3(0x32d)][_0x3648e3(0x274)][_0x3648e3(0x1da)])return this['_localeService']['t'](_0x3648e3(0x1f1));}));}[_0x1b79a9(0x1a7)](){const _0x343a1e=_0x1b79a9;this[_0x343a1e(0x16d)](this[_0x343a1e(0x245)][_0x343a1e(0x3f2)][_0x343a1e(0x268)](_0x1cba37=>{const _0x40c34c=_0x343a1e;_0x1cba37['id']===_0x345800[_0x40c34c(0x372)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x40c34c(0x32e)]({'type':_0x1e2a6b[_0x40c34c(0x21e)][_0x40c34c(0x365)],'content':this[_0x40c34c(0x1ca)]['t'](_0x40c34c(0x3ab))}),_0x1cba37['id']===_0x345800[_0x40c34c(0x372)][_0x40c34c(0x1c7)]&&this[_0x40c34c(0x17c)]['show']({'type':_0x1e2a6b[_0x40c34c(0x21e)]['Warning'],'content':this[_0x40c34c(0x1ca)]['t'](_0x40c34c(0x297))}),_0x1cba37['id']===_0x345800['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x40c34c(0x30b)][_0x40c34c(0x32e)]({'title':this[_0x40c34c(0x1ca)]['t']('permission.title'),'content':this['_localeService']['t'](_0x40c34c(0x3af)),'type':'error','duration':0x0}),_0x1cba37['id']===_0x345800['CollaborationUIEventId']['CONFLICT']&&this[_0x40c34c(0x17c)][_0x40c34c(0x32e)]({'type':_0x1e2a6b['MessageType'][_0x40c34c(0x273)],'content':this['_localeService']['t'](_0x40c34c(0x297))+'('+_0x1cba37[_0x40c34c(0x370)]+')'}),_0x1cba37['id']===_0x345800[_0x40c34c(0x372)][_0x40c34c(0x2b4)]&&this[_0x40c34c(0x17c)][_0x40c34c(0x32e)]({'type':_0x1e2a6b[_0x40c34c(0x21e)]['Warning'],'content':this['_localeService']['t'](_0x1cba37['data']||'')}),_0x1cba37['id']===_0x345800['CollaborationUIEventId'][_0x40c34c(0x196)]&&this[_0x40c34c(0x17c)][_0x40c34c(0x32e)]({'type':_0x1e2a6b[_0x40c34c(0x21e)][_0x40c34c(0x365)],'content':this['_localeService']['t'](_0x40c34c(0x23b))}),_0x1cba37['id']===_0x345800['CollaborationUIEventId'][_0x40c34c(0x213)]&&this[_0x40c34c(0x17c)][_0x40c34c(0x32e)]({'type':_0x1e2a6b[_0x40c34c(0x21e)][_0x40c34c(0x273)],'content':this['_localeService']['t'](_0x40c34c(0x3b4))}),_0x1cba37['id']===_0x345800[_0x40c34c(0x372)][_0x40c34c(0x221)]&&this[_0x40c34c(0x17c)]['show']({'type':_0x1e2a6b[_0x40c34c(0x21e)][_0x40c34c(0x273)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x295d51=_0x3c2516([_0x37b564(0x0,_0x363b55['IBeforeCloseService']),_0x37b564(0x1,_0x345800[_0x1b79a9(0x349)]),_0x37b564(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x241)])),_0x37b564(0x3,_0x363b55[_0x1b79a9(0x39b)]),_0x37b564(0x4,_0x363b55[_0x1b79a9(0x2ff)]),_0x37b564(0x5,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd['LocaleService']))],_0x295d51);const _0xf013c2=_0x1b79a9(0x3f5),_0x4e0614={},_0x4d10c1=_0x5451dd['createIdentifier'](_0x1b79a9(0x255));var _0x453fd6=Object[_0x1b79a9(0x3a7)],_0x4494e4=(_0x30ad7f,_0x3c816a,_0x5634ec,_0x360fe8)=>{const _0xcc623e=_0x1b79a9;for(var _0x568188=_0x360fe8>0x1?void 0x0:_0x360fe8?_0x453fd6(_0x3c816a,_0x5634ec):_0x3c816a,_0x2f19a2=_0x30ad7f[_0xcc623e(0x2d5)]-0x1,_0x322aac;_0x2f19a2>=0x0;_0x2f19a2--)(_0x322aac=_0x30ad7f[_0x2f19a2])&&(_0x568188=_0x322aac(_0x568188)||_0x568188);return _0x568188;},_0x5dca5f=(_0x4a3eaa,_0x3308a3)=>(_0x5ae264,_0x41e798)=>_0x3308a3(_0x5ae264,_0x41e798,_0x4a3eaa);_0x18110a[_0x1b79a9(0x2bb)]=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0xc6a07e,_0x388308,_0x3d2d78,_0x101698,_0xc09c1e){const _0x100a04=_0x1b79a9;super(),this[_0x100a04(0x357)]=_0xc6a07e,this[_0x100a04(0x301)]=_0x388308,this[_0x100a04(0x3fc)]=_0x3d2d78,this[_0x100a04(0x3e0)]=_0x101698,_0xc09c1e?_0xc09c1e==null||_0xc09c1e[_0x100a04(0x2fa)]()[_0x100a04(0x2b1)](()=>this[_0x100a04(0x2b6)]()):(this[_0x100a04(0x301)][_0x100a04(0x315)](_0x100a04(0x39c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x100a04(0x2b6)]());}async[_0x1b79a9(0x2b6)](){const _0x3998e6=_0x1b79a9,_0x331a45=this[_0x3998e6(0x357)][_0x3998e6(0x298)]('unit'),_0x435be6=this['_urlService'][_0x3998e6(0x298)](_0x3998e6(0x368)),_0x53b6a3=this[_0x3998e6(0x357)][_0x3998e6(0x298)](_0x3998e6(0x31a));if(!_0x331a45||!_0x435be6){this['_logService'][_0x3998e6(0x315)](_0x3998e6(0x39c),_0x3998e6(0x373));return;}const _0xc3f144=await this[_0x3998e6(0x3e0)][_0x3998e6(0x2f5)](_0x331a45,Number(_0x435be6),_0x53b6a3);_0xc3f144&&_0xc3f144 instanceof _0x5451dd[_0x3998e6(0x344)]&&this['_setupSubUnitSync'](_0xc3f144);}async[_0x1b79a9(0x173)](_0x2d6ac3){const _0x1d2932=_0x1b79a9;await this[_0x1d2932(0x1cc)](_0x2d6ac3),_0x2d6ac3['activeSheet$'][_0x1d2932(0x291)](_0x2918d8[_0x1d2932(0x25b)](this[_0x1d2932(0x319)]))[_0x1d2932(0x268)](_0x518e6c=>{const _0x320ec3=_0x1d2932;_0x518e6c&&this[_0x320ec3(0x262)](_0x518e6c);}),this[_0x1d2932(0x357)]['urlChange$'][_0x1d2932(0x291)](_0x2918d8[_0x1d2932(0x25b)](this[_0x1d2932(0x319)]))[_0x1d2932(0x268)](()=>this[_0x1d2932(0x1cc)](_0x2d6ac3));}['_updateURLWithCurrentState'](_0x3ca181,_0x534821=!0x1){const _0x3d8fff=_0x1b79a9,_0x4e91ba=this[_0x3d8fff(0x357)][_0x3d8fff(0x298)](_0x3d8fff(0x31a));_0x3ca181['getSheetId']()!==_0x4e91ba&&this[_0x3d8fff(0x357)][_0x3d8fff(0x3b1)](_0x3d8fff(0x31a),_0x3ca181[_0x3d8fff(0x3d7)](),_0x534821);}async['_updateSubUnitFromURLParams'](_0x30e184){const _0x19219b=_0x1b79a9;var _0x3eec5c;const _0x535731=this[_0x19219b(0x357)][_0x19219b(0x298)](_0x19219b(0x31a));if(!_0x535731||!_0x30e184[_0x19219b(0x20c)](_0x535731)){const _0x28034b=_0x30e184['getUnhiddenWorksheets']()[0x0],_0x441c45=_0x30e184['getSheetBySheetId'](_0x28034b);if(!_0x441c45)return;this[_0x19219b(0x262)](_0x441c45,!0x0),await this['_commandService'][_0x19219b(0x312)](_0x550773[_0x19219b(0x2a1)]['id'],{'unitId':_0x30e184[_0x19219b(0x2bd)](),'subUnitId':_0x28034b});return;}((_0x3eec5c=_0x30e184['getActiveSheet']())==null?void 0x0:_0x3eec5c[_0x19219b(0x3d7)]())!==_0x535731&&await this['_commandService'][_0x19219b(0x312)](_0x550773[_0x19219b(0x2a1)]['id'],{'unitId':_0x30e184['getUnitId'](),'subUnitId':_0x535731});}},_0x18110a[_0x1b79a9(0x2bb)]=_0x4494e4([_0x5dca5f(0x0,_0x4d10c1),_0x5dca5f(0x1,_0x5451dd[_0x1b79a9(0x3a1)]),_0x5dca5f(0x2,_0x5451dd[_0x1b79a9(0x292)]),_0x5dca5f(0x3,_0x5451dd['Inject'](_0x345800[_0x1b79a9(0x27f)])),_0x5dca5f(0x4,_0x5451dd[_0x1b79a9(0x3b0)](_0x382cc7[_0x1b79a9(0x29c)]))],_0x18110a[_0x1b79a9(0x2bb)]);var _0x1ee398=Object[_0x1b79a9(0x3a7)],_0x2c2108=(_0x3207f3,_0x5589bb,_0x3cdb14,_0x393213)=>{const _0x1f02df=_0x1b79a9;for(var _0xc1bf9e=_0x393213>0x1?void 0x0:_0x393213?_0x1ee398(_0x5589bb,_0x3cdb14):_0x5589bb,_0x897ab3=_0x3207f3[_0x1f02df(0x2d5)]-0x1,_0x4fcbe2;_0x897ab3>=0x0;_0x897ab3--)(_0x4fcbe2=_0x3207f3[_0x897ab3])&&(_0xc1bf9e=_0x4fcbe2(_0xc1bf9e)||_0xc1bf9e);return _0xc1bf9e;},_0x239e7d=(_0x361f7c,_0x9a2588)=>(_0x317d12,_0x25df54)=>_0x9a2588(_0x317d12,_0x25df54,_0x361f7c);let _0x21fecf=class{constructor(_0x2f83c6,_0x26203f,_0x9b2a48){const _0x3b0da8=_0x1b79a9;this[_0x3b0da8(0x1ad)]=_0x2f83c6,this[_0x3b0da8(0x392)]=_0x26203f,this[_0x3b0da8(0x2fc)]=_0x9b2a48;}[_0x1b79a9(0x3fe)](_0x4648e4){const _0x3f0d75=_0x1b79a9;this[_0x3f0d75(0x2d9)](_0x4648e4),this['_transformPreviousActiveRange'](_0x4648e4);}[_0x1b79a9(0x334)](_0x1926fb){const _0x136ddd=_0x1b79a9,{unitID:_0x1fbf42}=_0x1926fb,_0x3c3b12=this[_0x136ddd(0x2fc)][_0x136ddd(0x31b)](_0x1fbf42)[_0x136ddd(0x1ee)](_0x2ab7a6[_0x136ddd(0x2bc)]),{redoCache:_0x395e48}=_0x3c3b12[_0x136ddd(0x1df)]();if(_0x395e48[_0x136ddd(0x2d5)]===0x0)return _0x1926fb;let _0x156f38=_0x5451dd[_0x136ddd(0x19b)]['deepClone'](_0x1926fb[_0x136ddd(0x1cb)][0x0]);for(let _0x424410=0x0;_0x424410<_0x395e48['length'];_0x424410++){const _0x2aea10={'id':'doc.mutation.rich-text-editing','params':{..._0x395e48[_0x424410]}},_0x496e87=this[_0x136ddd(0x392)][_0x136ddd(0x22c)](_0x156f38,_0x2aea10,!0x1);if(_0xe29c42[_0x136ddd(0x339)](_0x496e87))throw _0x496e87['error'];_0x156f38=_0x496e87[_0x136ddd(0x3b5)];}return{..._0x5451dd[_0x136ddd(0x19b)]['deepClone'](_0x1926fb),'mutations':[_0x156f38]};}[_0x1b79a9(0x2d9)](_0x49a020){const _0x4e43fc=_0x1b79a9,{unitID:_0x911d27}=_0x49a020,_0x28bdad=this[_0x4e43fc(0x2fc)][_0x4e43fc(0x31b)](_0x911d27)[_0x4e43fc(0x1ee)](_0x2ab7a6[_0x4e43fc(0x2bc)]),{undoCache:_0x2289f2,redoCache:_0x260301}=_0x28bdad[_0x4e43fc(0x1df)]();if(_0x2289f2[_0x4e43fc(0x2d5)]===0x0||_0x260301[_0x4e43fc(0x2d5)]===0x0)return;const _0xae874=[],_0x481277=[];let _0x26c237=_0x5451dd['Tools'][_0x4e43fc(0x3a6)](_0x49a020[_0x4e43fc(0x1cb)][0x0]),_0x3d518b=_0x5451dd[_0x4e43fc(0x19b)]['deepClone'](_0x49a020[_0x4e43fc(0x1cb)][0x0]);for(let _0x839864=_0x2289f2[_0x4e43fc(0x2d5)]-0x1;_0x839864>=0x0;_0x839864--){const _0x45db86={'id':_0x4e43fc(0x3b7),'params':{..._0x2289f2[_0x839864]}},_0x3ad89e={'id':_0x4e43fc(0x3b7),'params':{..._0x260301[_0x839864]}},_0x2d636b=this[_0x4e43fc(0x392)][_0x4e43fc(0x22c)](_0x26c237,_0x45db86,!0x1),_0x6aeab9=this[_0x4e43fc(0x392)]['transformMutation'](_0x3d518b,_0x3ad89e,!0x1);if(_0xe29c42[_0x4e43fc(0x339)](_0x2d636b))throw _0x2d636b[_0x4e43fc(0x2f8)];if(_0xe29c42[_0x4e43fc(0x339)](_0x6aeab9))throw _0x6aeab9['error'];_0xae874[_0x4e43fc(0x3ee)](_0x2d636b[_0x4e43fc(0x353)]['params']),_0x481277['unshift'](_0x6aeab9['m2Prime'][_0x4e43fc(0x2d0)]),_0x26c237=_0x2d636b['m1Prime'],_0x3d518b=_0x6aeab9[_0x4e43fc(0x3b5)];}_0x28bdad['setUndoRedoMutationParamsCache']({'undoCache':_0xae874,'redoCache':_0x481277});}[_0x1b79a9(0x1fc)](_0x39dd6e){const _0x2e4978=_0x1b79a9,{unitID:_0x17ea95}=_0x39dd6e,_0x45f035=this[_0x2e4978(0x2fc)]['getRenderById'](_0x17ea95)[_0x2e4978(0x1ee)](_0x2ab7a6[_0x2e4978(0x2bc)]),_0x397bed=_0x45f035[_0x2e4978(0x1de)]();if(_0x397bed==null)return;const _0x5d1ea3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39dd6e['unitID'],'actions':null,'textRanges':[_0x397bed]}}],_0x10ef2c=this[_0x2e4978(0x392)][_0x2e4978(0x2e7)](_0x39dd6e,_0x5d1ea3);if(!_0xe29c42['isTransformMutationsWithChangesetSuccess'](_0x10ef2c))throw _0x10ef2c[_0x2e4978(0x2f8)];const _0x4f0a88=_0x10ef2c[_0x2e4978(0x353)][0x0][_0x2e4978(0x2d0)][_0x2e4978(0x35f)];Array[_0x2e4978(0x3d6)](_0x4f0a88)&&_0x4f0a88[_0x2e4978(0x2d5)]&&_0x45f035[_0x2e4978(0x3ba)](_0x4f0a88[0x0]);}};_0x21fecf=_0x2c2108([_0x239e7d(0x0,_0x5451dd['Inject'](_0x5451dd['Injector'])),_0x239e7d(0x1,_0xe29c42[_0x1b79a9(0x36c)]),_0x239e7d(0x2,_0x177a4a[_0x1b79a9(0x212)])],_0x21fecf);var _0x301c3f=Object[_0x1b79a9(0x3a7)],_0x39ec73=(_0x4ff662,_0x3711db,_0x2c9676,_0x5ae94d)=>{for(var _0x194e82=_0x5ae94d>0x1?void 0x0:_0x5ae94d?_0x301c3f(_0x3711db,_0x2c9676):_0x3711db,_0x18cf00=_0x4ff662['length']-0x1,_0x3dbc1a;_0x18cf00>=0x0;_0x18cf00--)(_0x3dbc1a=_0x4ff662[_0x18cf00])&&(_0x194e82=_0x3dbc1a(_0x194e82)||_0x194e82);return _0x194e82;},_0x256a09=(_0x49fd28,_0x48d86a)=>(_0x375f84,_0x10308c)=>_0x48d86a(_0x375f84,_0x10308c,_0x49fd28);let _0x10073e=class{constructor(_0xe632ba,_0x3ced30,_0x42e34b){const _0x404f06=_0x1b79a9;this[_0x404f06(0x1ad)]=_0xe632ba,this[_0x404f06(0x392)]=_0x3ced30,this['_docStateChangeManagerService']=_0x42e34b;}[_0x1b79a9(0x3e7)](_0xb92f45){const _0x261101=_0x1b79a9;this[_0x261101(0x26a)](_0xb92f45);}['transformRemoteChangeset'](_0x9a9d5a){const _0x2eeaa8=_0x1b79a9,{unitID:_0x3f2148}=_0x9a9d5a,{collaboration:_0x44aefa}=this['_docStateChangeManagerService']['getStateCache'](_0x3f2148);if(_0x44aefa['length']===0x0)return _0x9a9d5a;let _0x1eeb1d=_0x5451dd[_0x2eeaa8(0x19b)][_0x2eeaa8(0x3a6)](_0x9a9d5a[_0x2eeaa8(0x1cb)][0x0]);for(let _0x28e6f7=0x0;_0x28e6f7<_0x44aefa[_0x2eeaa8(0x2d5)];_0x28e6f7++){const _0x16ad88={'id':_0x2eeaa8(0x3b7),'params':{'unitId':_0x44aefa[_0x28e6f7][_0x2eeaa8(0x2eb)],..._0x44aefa[_0x28e6f7][_0x2eeaa8(0x1f6)]}},_0x4215b5=this[_0x2eeaa8(0x392)][_0x2eeaa8(0x22c)](_0x1eeb1d,_0x16ad88,!0x1);if(_0xe29c42[_0x2eeaa8(0x339)](_0x4215b5))throw _0x4215b5[_0x2eeaa8(0x2f8)];_0x1eeb1d=_0x4215b5[_0x2eeaa8(0x3b5)];}return{..._0x5451dd[_0x2eeaa8(0x19b)][_0x2eeaa8(0x3a6)](_0x9a9d5a),'mutations':[_0x1eeb1d]};}['_transformHistoryAndStateStack'](_0x1d7919){const _0x2b901a=_0x1b79a9,{unitID:_0x4a5135}=_0x1d7919,{history:_0x23dfd5,collaboration:_0x37f0aa}=this[_0x2b901a(0x2ca)][_0x2b901a(0x1c0)](_0x4a5135);if(_0x23dfd5['length']===0x0&&_0x37f0aa[_0x2b901a(0x2d5)]===0x0)return;const _0x51c4f3=[],_0x4b4356=[];let _0x49e2bf=_0x5451dd['Tools'][_0x2b901a(0x3a6)](_0x1d7919[_0x2b901a(0x1cb)][0x0]),_0x4f456a=_0x5451dd['Tools'][_0x2b901a(0x3a6)](_0x1d7919[_0x2b901a(0x1cb)][0x0]);for(let _0x2cb488=_0x23dfd5[_0x2b901a(0x2d5)]-0x1;_0x2cb488>=0x0;_0x2cb488--){const _0x149429={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23dfd5[_0x2cb488][_0x2b901a(0x2eb)],..._0x23dfd5[_0x2cb488]['undoState']}},_0x3fa302={'id':_0x2b901a(0x3b7),'params':{'unitId':_0x23dfd5[_0x2cb488][_0x2b901a(0x2eb)],..._0x23dfd5[_0x2cb488][_0x2b901a(0x1f6)]}},_0x47817f=this[_0x2b901a(0x392)][_0x2b901a(0x22c)](_0x49e2bf,_0x149429,!0x1),_0x753e69=this[_0x2b901a(0x392)][_0x2b901a(0x22c)](_0x4f456a,_0x3fa302,!0x1);if(_0xe29c42[_0x2b901a(0x339)](_0x47817f))throw _0x47817f[_0x2b901a(0x2f8)];if(_0xe29c42[_0x2b901a(0x339)](_0x753e69))throw _0x753e69[_0x2b901a(0x2f8)];_0x51c4f3[_0x2b901a(0x3ee)]({..._0x23dfd5[_0x2cb488],'undoState':_0x47817f['m2Prime'][_0x2b901a(0x2d0)],'redoState':_0x753e69[_0x2b901a(0x353)]['params']}),_0x49e2bf=_0x47817f[_0x2b901a(0x3b5)],_0x4f456a=_0x753e69[_0x2b901a(0x3b5)];}_0x49e2bf=_0x5451dd['Tools'][_0x2b901a(0x3a6)](_0x1d7919[_0x2b901a(0x1cb)][0x0]),_0x4f456a=_0x5451dd[_0x2b901a(0x19b)][_0x2b901a(0x3a6)](_0x1d7919['mutations'][0x0]);for(let _0x1101ff=_0x37f0aa[_0x2b901a(0x2d5)]-0x1;_0x1101ff>=0x0;_0x1101ff--){const _0x27a6c9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37f0aa[_0x1101ff]['unitId'],..._0x37f0aa[_0x1101ff]['undoState']}},_0x594fa3={'id':_0x2b901a(0x3b7),'params':{'unitId':_0x37f0aa[_0x1101ff][_0x2b901a(0x2eb)],..._0x37f0aa[_0x1101ff][_0x2b901a(0x1f6)]}},_0x43efaa=this[_0x2b901a(0x392)]['transformMutation'](_0x49e2bf,_0x27a6c9,!0x1),_0x6c01aa=this['_transformService']['transformMutation'](_0x4f456a,_0x594fa3,!0x1);if(_0xe29c42[_0x2b901a(0x339)](_0x43efaa))throw _0x43efaa[_0x2b901a(0x2f8)];if(_0xe29c42[_0x2b901a(0x339)](_0x6c01aa))throw _0x6c01aa[_0x2b901a(0x2f8)];_0x4b4356[_0x2b901a(0x3ee)]({..._0x37f0aa[_0x1101ff],'undoState':_0x43efaa['m2Prime'][_0x2b901a(0x2d0)],'redoState':_0x6c01aa[_0x2b901a(0x353)][_0x2b901a(0x2d0)]}),_0x49e2bf=_0x43efaa[_0x2b901a(0x3b5)],_0x4f456a=_0x6c01aa[_0x2b901a(0x3b5)];}this['_docStateChangeManagerService'][_0x2b901a(0x183)](_0x4a5135,{'history':_0x51c4f3,'collaboration':_0x4b4356});}};_0x10073e=_0x39ec73([_0x256a09(0x0,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x256a09(0x1,_0xe29c42['ITransformService']),_0x256a09(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x2ab7a6[_0x1b79a9(0x2e3)]))],_0x10073e);var _0x169ce7=Object[_0x1b79a9(0x3a7)],_0x40efc1=(_0x57e717,_0x2dff9d,_0x30d735,_0x30f484)=>{const _0x5abbe9=_0x1b79a9;for(var _0xacae69=_0x30f484>0x1?void 0x0:_0x30f484?_0x169ce7(_0x2dff9d,_0x30d735):_0x2dff9d,_0x5f1186=_0x57e717[_0x5abbe9(0x2d5)]-0x1,_0x268c25;_0x5f1186>=0x0;_0x5f1186--)(_0x268c25=_0x57e717[_0x5f1186])&&(_0xacae69=_0x268c25(_0xacae69)||_0xacae69);return _0xacae69;},_0x248f82=(_0x38566a,_0x222cc3)=>(_0xf1365,_0x2e5340)=>_0x222cc3(_0xf1365,_0x2e5340,_0x38566a);let _0x4b08ae=class{constructor(_0x5bca1a,_0x45d8be){const _0x169532=_0x1b79a9;this['_injector']=_0x5bca1a,this[_0x169532(0x392)]=_0x45d8be;}[_0x1b79a9(0x3de)](_0x67ff2f){const _0x243fd2=_0x1b79a9;var _0x445a8c;const _0x246552=this[_0x243fd2(0x1ad)][_0x243fd2(0x346)](_0x312bdc['DocSelectionManagerService']),_0x1e84ee=(_0x445a8c=_0x246552[_0x243fd2(0x28e)]())!=null?_0x445a8c:[];if(_0x1e84ee['length']===0x0)return;const _0x1fc418=_0x67ff2f[_0x243fd2(0x3ff)],_0x241368=[{'id':_0x243fd2(0x3b7),'params':{'unitId':_0x1fc418,'actions':null,'textRanges':_0x1e84ee}}],_0x5410d1=this[_0x243fd2(0x392)][_0x243fd2(0x2e7)](_0x67ff2f,_0x241368);if(!_0xe29c42[_0x243fd2(0x352)](_0x5410d1))throw _0x5410d1['error'];const _0x4c127e=_0x5410d1[_0x243fd2(0x353)][0x0][_0x243fd2(0x2d0)][_0x243fd2(0x35f)];Array[_0x243fd2(0x3d6)](_0x4c127e)&&_0x4c127e[_0x243fd2(0x2d5)]&&_0x246552[_0x243fd2(0x323)](_0x4c127e,{'unitId':_0x1fc418,'subUnitId':_0x1fc418},!0x1);}};_0x4b08ae=_0x40efc1([_0x248f82(0x0,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x248f82(0x1,_0xe29c42[_0x1b79a9(0x36c)])],_0x4b08ae);var _0x353c6d=Object[_0x1b79a9(0x3a7)],_0x4bf72d=(_0x10101a,_0x31130b,_0x5e7f15,_0x34a52f)=>{for(var _0x45ee9a=_0x34a52f>0x1?void 0x0:_0x34a52f?_0x353c6d(_0x31130b,_0x5e7f15):_0x31130b,_0x2883f5=_0x10101a['length']-0x1,_0x5decd0;_0x2883f5>=0x0;_0x2883f5--)(_0x5decd0=_0x10101a[_0x2883f5])&&(_0x45ee9a=_0x5decd0(_0x45ee9a)||_0x45ee9a);return _0x45ee9a;},_0x230deb=(_0x535b00,_0x2a6f94)=>(_0xe357a5,_0x477495)=>_0x2a6f94(_0xe357a5,_0x477495,_0x535b00);let _0x352ef6=class extends _0x5451dd['Disposable']{constructor(_0x9b9c2b,_0x39e25c,_0xbfe01d,_0xc7599f,_0x113619,_0x5c0350,_0x5878e4,_0x114fb2){const _0xf69a23=_0x1b79a9;super(),_0x5a8f73(this,'_status$',new _0x2918d8[(_0xf69a23(0x35e))](_0x345800['CollaborationStatus'][_0xf69a23(0x3e2)])),(this[_0xf69a23(0x2ca)]=_0x9b9c2b,this[_0xf69a23(0x389)]=_0x39e25c,this['_docTransformIMECacheService']=_0xbfe01d,this[_0xf69a23(0x188)]=_0xc7599f,this[_0xf69a23(0x2ba)]=_0x113619,this[_0xf69a23(0x343)]=_0x5c0350,this[_0xf69a23(0x17c)]=_0x5878e4,this[_0xf69a23(0x1ca)]=_0x114fb2,this[_0xf69a23(0x25e)]());}[_0x1b79a9(0x25e)](){const _0x43c278=_0x1b79a9;this[_0x43c278(0x16d)](this[_0x43c278(0x389)]['entityInit$'][_0x43c278(0x268)](_0x547d50=>{const _0x2b821a=_0x43c278,_0x3904e3=this['_docStateChangeManagerService'][_0x2b821a(0x393)]['subscribe'](_0x1bc1ad=>{const _0x24507c=_0x2b821a;if(_0x1bc1ad==null)return;const {unitId:_0x418b4b,redoState:_0x41d205,commandId:_0x336f09}=_0x1bc1ad;if(_0x418b4b!==_0x547d50[_0x24507c(0x3ff)])return;const _0x1d4327={'id':_0x336f09,'type':_0x5451dd[_0x24507c(0x3da)][_0x24507c(0x329)],'params':{'unitId':_0x418b4b,'actions':_0x41d205[_0x24507c(0x244)],'textRanges':null}};_0x547d50[_0x24507c(0x25d)](_0x1d4327);});if(_0x547d50[_0x2b821a(0x16d)](_0x3904e3),_0x547d50 instanceof _0x345800['DocCollaborationEntity']){const _0x56c50f={'onTransformIME':_0x43abd3=>this[_0x2b821a(0x1b5)][_0x2b821a(0x3fe)](_0x43abd3),'onTransformState':_0x24ba3a=>this[_0x2b821a(0x188)][_0x2b821a(0x3e7)](_0x24ba3a),'onTransformSelections':_0x5eda96=>this[_0x2b821a(0x2ba)][_0x2b821a(0x3de)](_0x5eda96),'onSyncEditingCollabCursor':_0x1ba81d=>this[_0x2b821a(0x343)][_0x2b821a(0x1e9)](_0x1ba81d),'onTransformRemoteChangesetByIMECache':_0x4b82d4=>this[_0x2b821a(0x1b5)][_0x2b821a(0x334)](_0x4b82d4),'onTransformRemoteChangesetByStateCache':_0x242a4d=>this[_0x2b821a(0x188)]['transformRemoteChangeset'](_0x242a4d)};_0x547d50[_0x2b821a(0x383)](_0x56c50f);}}));}};_0x352ef6=_0x4bf72d([_0x230deb(0x0,_0x5451dd['Inject'](_0x2ab7a6[_0x1b79a9(0x2e3)])),_0x230deb(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x194)])),_0x230deb(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x21fecf)),_0x230deb(0x3,_0x5451dd[_0x1b79a9(0x17b)](_0x10073e)),_0x230deb(0x4,_0x5451dd[_0x1b79a9(0x17b)](_0x4b08ae)),_0x230deb(0x5,_0x5451dd['Inject'](_0x20d1de)),_0x230deb(0x6,_0x363b55['IMessageService']),_0x230deb(0x7,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd['LocaleService']))],_0x352ef6);var _0xd7dc56=Object[_0x1b79a9(0x3a7)],_0x5eccee=(_0x5ca89f,_0x4375fc,_0x138bce,_0x38b26b)=>{const _0x284819=_0x1b79a9;for(var _0x3e68d8=_0x38b26b>0x1?void 0x0:_0x38b26b?_0xd7dc56(_0x4375fc,_0x138bce):_0x4375fc,_0x6c3f5c=_0x5ca89f[_0x284819(0x2d5)]-0x1,_0x2dc335;_0x6c3f5c>=0x0;_0x6c3f5c--)(_0x2dc335=_0x5ca89f[_0x6c3f5c])&&(_0x3e68d8=_0x2dc335(_0x3e68d8)||_0x3e68d8);return _0x3e68d8;},_0x370e21=(_0x322c0b,_0xf1c339)=>(_0x335502,_0x2933bf)=>_0xf1c339(_0x335502,_0x2933bf,_0x322c0b);let _0x2aa622=class extends _0x5451dd['Disposable']{constructor(_0x2bd66c,_0x50e7d8,_0x5f3e2a){const _0x3e3ba1=_0x1b79a9;super(),_0x5a8f73(this,'_cachedData',new Map()),_0x5a8f73(this,_0x3e3ba1(0x1f0),new Map()),_0x5a8f73(this,_0x3e3ba1(0x336),!0x1),(this[_0x3e3ba1(0x2d1)]=_0x2bd66c,this[_0x3e3ba1(0x170)]=_0x50e7d8,this[_0x3e3ba1(0x236)]=_0x5f3e2a);}[_0x1b79a9(0x374)](){const _0x4e08a6=_0x1b79a9;this[_0x4e08a6(0x336)]=!0x0;}[_0x1b79a9(0x1bc)](){const _0x5ad872=_0x1b79a9;this[_0x5ad872(0x336)]=!0x1;}get['saveTaskMap'](){const _0x50a310=_0x1b79a9;return this[_0x50a310(0x1f0)];}[_0x1b79a9(0x3d1)](){const _0x40c8eb=_0x1b79a9;this[_0x40c8eb(0x19d)]()[_0x40c8eb(0x2b1)](()=>super[_0x40c8eb(0x3d1)]());}async[_0x1b79a9(0x3a2)](_0x1261ce){const _0x3d10bc=_0x1b79a9;return this[_0x3d10bc(0x336)]?null:this['_localStorageService'][_0x3d10bc(0x361)](_0x345800[_0x3d10bc(0x335)](_0x1261ce));}async[_0x1b79a9(0x2ac)](_0x569594,_0x5b7f05){const _0x4e6173=_0x1b79a9;return!!this[_0x4e6173(0x170)][_0x4e6173(0x30f)](_0x569594,_0x5b7f05);}[_0x1b79a9(0x3ea)](_0x1a4d2c,_0x1a4a40,_0x40b815,_0x254bae){const _0x2f11b5=_0x1b79a9,_0x4afd6c=this[_0x2f11b5(0x236)][_0x2f11b5(0x2cd)](_0x1a4d2c);this[_0x2f11b5(0x29f)]['set'](_0x1a4d2c,{'unitID':_0x1a4d2c,'type':_0x1a4a40,'awaitingChangeset':_0x40b815,'mutations':_0x254bae,'rev':_0x4afd6c}),this['_saveTaskMap']['has'](_0x1a4d2c)||this['_scheduleSaving'](_0x1a4d2c);}['_scheduleSaving'](_0x13759b){const _0x3550d1=_0x1b79a9,_0x5d6a18=this['_getSaveTimeout']();_0x5d6a18===0x0?this[_0x3550d1(0x260)](_0x13759b):this[_0x3550d1(0x1f0)][_0x3550d1(0x189)](_0x13759b,setTimeout(()=>this['_saveCache'](_0x13759b),_0x5d6a18));}[_0x1b79a9(0x2b9)](){const _0x35e4d9=_0x1b79a9;var _0x1adbcd;return(_0x1adbcd=this['_configService'][_0x35e4d9(0x3a8)](_0x345800[_0x35e4d9(0x3ce)]))!=null?_0x1adbcd:_0x345800[_0x35e4d9(0x257)];}[_0x1b79a9(0x260)](_0x22b5fb){const _0x90118c=_0x1b79a9,_0x3c56fa=this['_saveTaskMap']['get'](_0x22b5fb);return _0x3c56fa!==void 0x0&&window[_0x90118c(0x214)](_0x3c56fa),this[_0x90118c(0x170)][_0x90118c(0x30f)](_0x345800[_0x90118c(0x335)](_0x22b5fb),this[_0x90118c(0x29f)][_0x90118c(0x346)](_0x22b5fb))['then'](()=>this['_saveTaskMap']['delete'](_0x22b5fb));}async['exhaustSavingTask'](){const _0x162da7=_0x1b79a9,_0x4abd05=[];this[_0x162da7(0x1f0)][_0x162da7(0x31f)]((_0x3f321f,_0x277d2c)=>{const _0x570076=_0x162da7;window[_0x570076(0x214)](_0x3f321f),_0x4abd05['push'](this[_0x570076(0x260)](_0x277d2c)['then'](()=>{const _0x56ef9d=_0x570076;this['_saveTaskMap'][_0x56ef9d(0x247)](_0x277d2c);}));}),await Promise[_0x162da7(0x3b8)](_0x4abd05);}};_0x2aa622=_0x5eccee([_0x370e21(0x0,_0x5451dd[_0x1b79a9(0x32a)]),_0x370e21(0x1,_0x5451dd[_0x1b79a9(0x1fe)]),_0x370e21(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0xe29c42[_0x1b79a9(0x295)]))],_0x2aa622);class _0x1a4080 extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(){const _0x323d42=_0x1b79a9;super(),_0x5a8f73(this,_0x323d42(0x2a5)),this[_0x323d42(0x2a5)]=_0x2918d8[_0x323d42(0x38c)](window,_0x323d42(0x1ae))['pipe'](_0x2918d8['takeUntil'](this['dispose$']),_0x2918d8[_0x323d42(0x354)](0x1),_0x2918d8['mapTo'](void 0x0));}[_0x1b79a9(0x3b1)](_0x1df8c4,_0x227ee2,_0x4722a0=!0x1){const _0x8bb4bb=_0x1b79a9,_0x165d36=new URL(window[_0x8bb4bb(0x3d3)][_0x8bb4bb(0x17d)]);_0x165d36[_0x8bb4bb(0x3b6)][_0x8bb4bb(0x189)](_0x1df8c4,_0x227ee2),_0x4722a0?window[_0x8bb4bb(0x26b)][_0x8bb4bb(0x2db)]('','',_0x165d36[_0x8bb4bb(0x3b9)]()):window[_0x8bb4bb(0x26b)][_0x8bb4bb(0x2c6)]('','',_0x165d36[_0x8bb4bb(0x3b9)]());}[_0x1b79a9(0x182)](_0x95737e,_0x5c7e9b=!0x1){const _0x17c36e=_0x1b79a9,_0x244fc1=new URL(window[_0x17c36e(0x3d3)][_0x17c36e(0x17d)]);_0x244fc1[_0x17c36e(0x3b6)][_0x17c36e(0x247)](_0x95737e),_0x5c7e9b?window[_0x17c36e(0x26b)][_0x17c36e(0x2db)]('','',_0x244fc1[_0x17c36e(0x3b9)]()):window[_0x17c36e(0x26b)][_0x17c36e(0x2c6)]('','',_0x244fc1[_0x17c36e(0x3b9)]());}[_0x1b79a9(0x298)](_0x554a13){const _0x46c49b=_0x1b79a9;var _0x52ca0b;return(_0x52ca0b=new URL(window['location']['href'])[_0x46c49b(0x3b6)][_0x46c49b(0x346)](_0x554a13))!=null?_0x52ca0b:void 0x0;}}var _0x5b58e7=Object[_0x1b79a9(0x34f)],_0x9be970=Object['getOwnPropertyDescriptor'],_0xd48e3b=(_0x51899e,_0x2df00f,_0x3a6ef4)=>_0x2df00f in _0x51899e?_0x5b58e7(_0x51899e,_0x2df00f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a6ef4}):_0x51899e[_0x2df00f]=_0x3a6ef4,_0x2cb809=(_0x7fa3ef,_0x282c92,_0x10687e,_0x71e625)=>{const _0x407645=_0x1b79a9;for(var _0x321517=_0x71e625>0x1?void 0x0:_0x71e625?_0x9be970(_0x282c92,_0x10687e):_0x282c92,_0x81829b=_0x7fa3ef[_0x407645(0x2d5)]-0x1,_0x569877;_0x81829b>=0x0;_0x81829b--)(_0x569877=_0x7fa3ef[_0x81829b])&&(_0x321517=_0x569877(_0x321517)||_0x321517);return _0x321517;},_0x5d6d70=(_0x35f3a1,_0x4b2bfb)=>(_0x357c5e,_0x398f11)=>_0x4b2bfb(_0x357c5e,_0x398f11,_0x35f3a1),_0x2b683f=(_0x3db21a,_0x461f69,_0x37a8da)=>_0xd48e3b(_0x3db21a,_0x461f69+'',_0x37a8da);const _0x5536ce=_0x1b79a9(0x240);_0x18110a[_0x1b79a9(0x2a7)]=class extends _0x5451dd[_0x1b79a9(0x266)]{constructor(_0x3addf3=_0x4e0614,_0x96b34e,_0x27a980,_0x3c3655){const _0x25bcdf=_0x1b79a9;super(),this[_0x25bcdf(0x26e)]=_0x3addf3,this['_renderManagerService']=_0x96b34e,this[_0x25bcdf(0x1ad)]=_0x27a980,this[_0x25bcdf(0x2d1)]=_0x3c3655;const {..._0xbf02da}=_0x5451dd[_0x25bcdf(0x185)]({},_0x4e0614,this[_0x25bcdf(0x26e)]);this[_0x25bcdf(0x2d1)][_0x25bcdf(0x216)](_0xf013c2,_0xbf02da);}[_0x1b79a9(0x279)](){const _0x3879f1=_0x1b79a9;this[_0x3879f1(0x3a3)](),this[_0x3879f1(0x2b3)]();}['onRendered'](){const _0x56338c=_0x1b79a9;this[_0x56338c(0x1cf)]();}['_registerDependencies'](){const _0x93f311=_0x1b79a9;var _0x3f14eb;const _0x60e635=[[_0x30ee06],[_0x4b08ae],[_0x21fecf],[_0x10073e],[_0x20d1de],[_0x4d10c1,{'useClass':_0x1a4080}],[_0x4936a4[_0x93f311(0x1be)],{'useClass':_0x4936a4[_0x93f311(0x281)]}],[_0x345800[_0x93f311(0x349)],{'useClass':_0x2aa622}],[_0x18110a['DesktopCollaborationStatusDisplayController']],[_0x352ef6],[_0x295d51],[_0x58b6ae],[_0xb4314f],[_0x18110a[_0x93f311(0x2bb)]]];_0x5451dd['registerDependencies'](this[_0x93f311(0x1ad)],_0x5451dd[_0x93f311(0x3db)](_0x60e635,(_0x3f14eb=this[_0x93f311(0x26e)])==null?void 0x0:_0x3f14eb['override']));}[_0x1b79a9(0x1cf)](){const _0x3a8c24=_0x1b79a9;this[_0x3a8c24(0x16d)](this[_0x3a8c24(0x2fc)][_0x3a8c24(0x3d4)](_0x5451dd[_0x3a8c24(0x169)][_0x3a8c24(0x23a)],[_0x16ea39])),this['disposeWithMe'](this[_0x3a8c24(0x2fc)][_0x3a8c24(0x3d4)](_0x5451dd['UniverInstanceType']['UNIVER_SHEET'],[_0x97857b]));}[_0x1b79a9(0x2b3)](){const _0x28b5fe=_0x1b79a9;_0x5451dd[_0x28b5fe(0x350)](this['_injector'],[[_0x58b6ae],[_0x18110a[_0x28b5fe(0x1ba)]],[_0x352ef6],[_0x295d51],[_0x18110a[_0x28b5fe(0x2bb)]]]);}},_0x2b683f(_0x18110a[_0x1b79a9(0x2a7)],_0x1b79a9(0x174),_0x5536ce),_0x18110a[_0x1b79a9(0x2a7)]=_0x2cb809([_0x5451dd[_0x1b79a9(0x3c4)](_0x345800[_0x1b79a9(0x2d7)]),_0x5d6d70(0x1,_0x177a4a[_0x1b79a9(0x212)]),_0x5d6d70(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x5d6d70(0x3,_0x5451dd[_0x1b79a9(0x32a)])],_0x18110a[_0x1b79a9(0x2a7)]);var _0x4f7a58=Object['getOwnPropertyDescriptor'],_0x55dc7b=(_0x206314,_0x4ae082,_0x265e99,_0x398e74)=>{for(var _0x14dfd7=_0x398e74>0x1?void 0x0:_0x398e74?_0x4f7a58(_0x4ae082,_0x265e99):_0x4ae082,_0x2dcd91=_0x206314['length']-0x1,_0x5e8f0e;_0x2dcd91>=0x0;_0x2dcd91--)(_0x5e8f0e=_0x206314[_0x2dcd91])&&(_0x14dfd7=_0x5e8f0e(_0x14dfd7)||_0x14dfd7);return _0x14dfd7;},_0x56c880=(_0x1b84e3,_0x1ee317)=>(_0x25f7db,_0x42f70f)=>_0x1ee317(_0x25f7db,_0x42f70f,_0x1b84e3);_0x18110a[_0x1b79a9(0x385)]=class extends _0x345800[_0x1b79a9(0x224)]{constructor(_0x34166a,_0x5a8c93,_0x26d231,_0x4a0710,_0x2924c8){super(_0x34166a,_0x5a8c93,_0x26d231,_0x4a0710,_0x2924c8);}async['createSocket'](_0x361202){const _0x47385d=_0x1b79a9,_0x4de72d=await this['_getSessionTicket'](),_0x30af7f=this[_0x47385d(0x355)](_0x361202,_0x4de72d);return this['_doCreateSocket'](_0x30af7f);}[_0x1b79a9(0x355)](_0x50e52c,_0x586b42){const _0x5e5488=_0x1b79a9,_0x3483c4=typeof window>'u'?new URL(_0x50e52c):new URL(_0x50e52c,window[_0x5e5488(0x3d3)][_0x5e5488(0x226)]);_0x3483c4[_0x5e5488(0x3b6)]['set'](_0x5e5488(0x3d5),_0x586b42);const _0x915792=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e5488(0x3d3)][_0x5e5488(0x220)]);return _0x915792[_0x5e5488(0x346)](_0x5e5488(0x1d3))&&_0x3483c4[_0x5e5488(0x3b6)][_0x5e5488(0x189)]('runId',_0x915792[_0x5e5488(0x346)]('runId')),_0x3483c4[_0x5e5488(0x3b9)]();}async[_0x1b79a9(0x197)](){const _0x46075f=_0x1b79a9;var _0xe97c5d,_0x3e6145,_0x291d7d;const _0x2cb1ff=this[_0x46075f(0x2d1)][_0x46075f(0x3a8)](_0x345800[_0x46075f(0x16e)]),_0x2bbf87=(_0xe97c5d=_0x2cb1ff==null?void 0x0:_0x2cb1ff['wsSessionTicketUrl'])!=null?_0xe97c5d:_0x345800['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x291d7d=(_0x3e6145=(await this['_httpService'][_0x46075f(0x346)](_0x2bbf87,{'headers':{'Content-Type':'application/json'}}))[_0x46075f(0x1a9)])==null?void 0x0:_0x3e6145['ticket'])!=null?_0x291d7d:'';}},_0x18110a['BrowserCollaborationSocketService']=_0x55dc7b([_0x56c880(0x0,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x56c880(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x4936a4[_0x1b79a9(0x3aa)])),_0x56c880(0x2,_0x5451dd[_0x1b79a9(0x32a)]),_0x56c880(0x3,_0x5451dd['ILogService']),_0x56c880(0x4,_0xe29c42['ISnapshotServerService'])],_0x18110a[_0x1b79a9(0x385)]);const _0x38770c=0x7530,_0x4c0757='ACTIVE_UNIT_EVENT_CHANNEL';class _0x7e998b extends _0x5451dd[_0x1b79a9(0x2f9)]{constructor(){const _0x55f76f=_0x1b79a9;super(),_0x5a8f73(this,_0x55f76f(0x318),_0x5451dd[_0x55f76f(0x204)]()),_0x5a8f73(this,_0x55f76f(0x27c),new Set()),_0x5a8f73(this,_0x55f76f(0x187),new Map()),_0x5a8f73(this,'_heartbeatTimer',null),_0x5a8f73(this,_0x55f76f(0x3bf),new Map()),_0x5a8f73(this,_0x55f76f(0x29d),new Map()),this['_init']();}[_0x1b79a9(0x3d1)](){const _0x4e09f4=_0x1b79a9;super[_0x4e09f4(0x3d1)](),this[_0x4e09f4(0x3bf)]['forEach']((_0x2beee5,_0x3a26f7)=>this['_removeClearOtherTimer'](_0x3a26f7)),this['_heartbeatTimer']&&window[_0x4e09f4(0x3ed)](this[_0x4e09f4(0x317)]);}[_0x1b79a9(0x3c2)](_0x261c98){const _0x513f82=_0x1b79a9;return this[_0x513f82(0x259)](_0x261c98)['pipe'](_0x2918d8[_0x513f82(0x1c2)]());}[_0x1b79a9(0x171)](_0x5ceee4){const _0xe6e427=_0x1b79a9;this['_selfUnitIDs'][_0xe6e427(0x1da)]===0x0&&this[_0xe6e427(0x2c3)](),this[_0xe6e427(0x27c)]['add'](_0x5ceee4),this[_0xe6e427(0x277)]({'type':0x0,'memberID':this[_0xe6e427(0x318)],'unitIDs':[_0x5ceee4],'isForwarded':!0x1});}[_0x1b79a9(0x210)](_0xd31693){const _0xecfdd4=_0x1b79a9;this[_0xecfdd4(0x27c)][_0xecfdd4(0x247)](_0xd31693),this[_0xecfdd4(0x27c)][_0xecfdd4(0x1da)]===0x0&&this[_0xecfdd4(0x317)]&&window[_0xecfdd4(0x3ed)](this[_0xecfdd4(0x317)]);}[_0x1b79a9(0x2b6)](){const _0x452475=_0x1b79a9;this['disposeWithMe'](_0x5451dd[_0x452475(0x330)](_0x2918d8['fromEvent'](window,'storage')[_0x452475(0x268)](_0xf9cbba=>{const _0x50df68=_0x452475;if(_0xf9cbba[_0x50df68(0x294)]!==_0x4c0757||!_0xf9cbba[_0x50df68(0x398)])return;const _0x57f6f5=JSON[_0x50df68(0x1d9)](_0xf9cbba['newValue']);this[_0x50df68(0x176)](_0x57f6f5);}))),window[_0x452475(0x2c0)](_0x452475(0x2c9),()=>this['_send']({'type':0x1,'memberID':this[_0x452475(0x318)],'unitIDs':Array[_0x452475(0x39e)](this[_0x452475(0x27c)])}));}[_0x1b79a9(0x176)](_0xbca3b2){const _0x576d4a=_0x1b79a9;switch(_0xbca3b2['type']){case 0x0:this[_0x576d4a(0x208)](_0xbca3b2);break;case 0x1:this[_0x576d4a(0x287)](_0xbca3b2);break;case 0x2:this[_0x576d4a(0x229)](_0xbca3b2);break;}}[_0x1b79a9(0x208)](_0x56422c){const _0x4976e3=_0x1b79a9,{unitIDs:_0x44d844,memberID:_0x40d813,isForwarded:_0x212c79}=_0x56422c;_0x44d844[_0x4976e3(0x31f)](_0x482698=>{const _0x3cc80e=_0x4976e3;if(!_0x212c79&&this[_0x3cc80e(0x187)][_0x3cc80e(0x19e)](_0x482698)&&this['_ensureSubject'](_0x482698)['next'](_0x345800[_0x3cc80e(0x37f)][_0x3cc80e(0x400)]),!this[_0x3cc80e(0x187)]['has'](_0x482698)||!this[_0x3cc80e(0x187)]['get'](_0x482698)['has'](_0x40d813)){const _0x4a6d4f=this[_0x3cc80e(0x187)][_0x3cc80e(0x346)](_0x482698)||new Set();_0x4a6d4f[_0x3cc80e(0x3c7)](_0x40d813),this[_0x3cc80e(0x187)][_0x3cc80e(0x189)](_0x482698,_0x4a6d4f),this[_0x3cc80e(0x3fb)](_0x40d813);}}),_0x212c79||this[_0x4976e3(0x277)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4976e3(0x27c)]],'isForwarded':!0x0});}[_0x1b79a9(0x3fb)](_0x3d2327){const _0xd0d973=_0x1b79a9;this['_removeClearOtherTimer'](_0x3d2327);const _0x35bae5=window['setTimeout'](()=>{const _0x373ab7=_0xe752;this['_unitOnClients'][_0x373ab7(0x31f)](_0x64e692=>{_0x64e692['delete'](_0x3d2327);});},_0x38770c*0x2);this[_0xd0d973(0x3bf)][_0xd0d973(0x189)](_0x3d2327,_0x35bae5);}[_0x1b79a9(0x3e6)](_0x486a43){const _0x2e5f75=_0x1b79a9;if(this[_0x2e5f75(0x3bf)][_0x2e5f75(0x19e)](_0x486a43)){const _0xe7291=this['_clearOtherTimers'][_0x2e5f75(0x346)](_0x486a43);_0xe7291&&window[_0x2e5f75(0x214)](_0xe7291),this[_0x2e5f75(0x3bf)][_0x2e5f75(0x189)](_0x486a43,null);}}[_0x1b79a9(0x287)](_0x5e19e0){const _0x190256=_0x1b79a9,{memberID:_0xf04e8e,unitIDs:_0x21bd94}=_0x5e19e0;_0x21bd94[_0x190256(0x31f)](_0x3f209c=>{const _0x4ac330=_0x190256;var _0x4d75f9;const _0x56aec2=this[_0x4ac330(0x187)][_0x4ac330(0x346)](_0x3f209c);_0x56aec2&&(_0x56aec2['delete'](_0xf04e8e),(_0x4d75f9=this[_0x4ac330(0x259)](_0x3f209c))==null||_0x4d75f9[_0x4ac330(0x303)](_0x56aec2[_0x4ac330(0x1da)]===0x0?_0x345800[_0x4ac330(0x37f)]['NO_OTHER_CLIENTS_EDITING']:_0x345800[_0x4ac330(0x37f)][_0x4ac330(0x400)]));}),this[_0x190256(0x3e6)](_0xf04e8e);}['_handleHeartbeatEvent'](_0x5a8b4f){const _0x4ce7d5=_0x1b79a9;this[_0x4ce7d5(0x3fb)](_0x5a8b4f[_0x4ce7d5(0x3eb)]);}['_send'](_0x378d52){const _0x53aa7f=_0x1b79a9;localStorage[_0x53aa7f(0x30f)](_0x4c0757,JSON[_0x53aa7f(0x177)](_0x378d52));}['_scheduleHeartbeat'](){const _0xfc702f=_0x1b79a9;this[_0xfc702f(0x317)]=window[_0xfc702f(0x2a3)](()=>{const _0x1a29a7=_0xfc702f;this['_send']({'type':0x2,'memberID':this[_0x1a29a7(0x318)]});},_0x38770c);}[_0x1b79a9(0x259)](_0x115b42){const _0x575fb7=_0x1b79a9;return this[_0x575fb7(0x29d)][_0x575fb7(0x19e)](_0x115b42)||this[_0x575fb7(0x29d)][_0x575fb7(0x189)](_0x115b42,new _0x2918d8[(_0x575fb7(0x35e))](_0x345800[_0x575fb7(0x37f)][_0x575fb7(0x217)])),this[_0x575fb7(0x29d)]['get'](_0x115b42);}}var _0x4b2067=(_0x597273=>(_0x597273[_0x597273[_0x1b79a9(0x2dc)]=0x0]=_0x1b79a9(0x2dc),_0x597273[_0x597273['OK']=0x1]='OK',_0x597273[_0x597273[_0x1b79a9(0x211)]=0x2]=_0x1b79a9(0x211),_0x597273[_0x597273['PERMISSION_DENIED']=0x3]=_0x1b79a9(0x276),_0x597273[_0x597273['NOT_FOUND']=0x4]=_0x1b79a9(0x3d8),_0x597273[_0x597273[_0x1b79a9(0x1a4)]=0x5]=_0x1b79a9(0x1a4),_0x597273[_0x597273['ALREADY_EXISTS']=0x6]=_0x1b79a9(0x2f0),_0x597273[_0x597273[_0x1b79a9(0x237)]=0x7]='INVALID_ARGUMENT',_0x597273[_0x597273[_0x1b79a9(0x20e)]=0x8]='TOO_MANY_REQUESTS',_0x597273[_0x597273[_0x1b79a9(0x376)]=0x9]=_0x1b79a9(0x376),_0x597273[_0x597273['LOGIN_FAILED']=0xa]=_0x1b79a9(0x1a1),_0x597273[_0x597273[_0x1b79a9(0x21b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x597273[_0x597273[_0x1b79a9(0x206)]=0x1771]=_0x1b79a9(0x206),_0x597273[_0x597273[_0x1b79a9(0x306)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x597273[_0x597273[_0x1b79a9(0x397)]=0x1773]=_0x1b79a9(0x397),_0x597273[_0x597273[_0x1b79a9(0x250)]=0x1b59]=_0x1b79a9(0x250),_0x597273[_0x597273[_0x1b79a9(0x1b9)]=0x1b5a]=_0x1b79a9(0x1b9),_0x597273[_0x597273[_0x1b79a9(0x333)]=0x1b5b]=_0x1b79a9(0x333),_0x597273[_0x597273[_0x1b79a9(0x2e2)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x597273[_0x597273[_0x1b79a9(0x193)]=0x1b5d]='APPLY_DUPLICATED',_0x597273[_0x597273[_0x1b79a9(0x3a9)]=0x1f41]=_0x1b79a9(0x3a9),_0x597273[_0x597273['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1b79a9(0x3c8),_0x597273[_0x597273[_0x1b79a9(0x39a)]=0x232a]=_0x1b79a9(0x39a),_0x597273[_0x597273[_0x1b79a9(0x184)]=0x232b]=_0x1b79a9(0x184),_0x597273[_0x597273[_0x1b79a9(0x234)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x597273[_0x597273['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1b79a9(0x225),_0x597273[_0x597273[_0x1b79a9(0x3dd)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x597273[_0x597273[_0x1b79a9(0x1a2)]=0x2712]=_0x1b79a9(0x1a2),_0x597273[_0x597273[_0x1b79a9(0x25a)]=0x2713]=_0x1b79a9(0x25a),_0x597273[_0x597273[_0x1b79a9(0x2ee)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x597273[_0x597273['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b79a9(0x375),_0x597273[_0x597273[_0x1b79a9(0x26c)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x597273[_0x597273[_0x1b79a9(0x16a)]=0x2af9]=_0x1b79a9(0x16a),_0x597273[_0x597273[_0x1b79a9(0x2fe)]=0x2ee1]=_0x1b79a9(0x2fe),_0x597273[_0x597273[_0x1b79a9(0x1b3)]=0x2ee2]=_0x1b79a9(0x1b3),_0x597273[_0x597273[_0x1b79a9(0x207)]=0x2ee3]=_0x1b79a9(0x207),_0x597273[_0x597273[_0x1b79a9(0x21f)]=0x2ee4]=_0x1b79a9(0x21f),_0x597273[_0x597273[_0x1b79a9(0x222)]=0x2ee5]=_0x1b79a9(0x222),_0x597273[_0x597273['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1b79a9(0x24c),_0x597273[_0x597273[_0x1b79a9(0x1dc)]=0x32ca]=_0x1b79a9(0x1dc),_0x597273[_0x597273[_0x1b79a9(0x1e2)]=0x32cb]=_0x1b79a9(0x1e2),_0x597273[_0x597273[_0x1b79a9(0x2cb)]=-0x1]='UNRECOGNIZED',_0x597273))(_0x4b2067||{}),_0xbb6b5b=Object[_0x1b79a9(0x3a7)],_0x27827c=(_0x3232b6,_0x14ccf4,_0x53afe6,_0x4ee909)=>{for(var _0x979799=_0x4ee909>0x1?void 0x0:_0x4ee909?_0xbb6b5b(_0x14ccf4,_0x53afe6):_0x14ccf4,_0x499215=_0x3232b6['length']-0x1,_0x1b062d;_0x499215>=0x0;_0x499215--)(_0x1b062d=_0x3232b6[_0x499215])&&(_0x979799=_0x1b062d(_0x979799)||_0x979799);return _0x979799;},_0x9446ac=(_0x17addc,_0x4a6f73)=>(_0x15aaf3,_0x18fda8)=>_0x4a6f73(_0x15aaf3,_0x18fda8,_0x17addc);_0x18110a[_0x1b79a9(0x2ae)]=class extends _0x5451dd[_0x1b79a9(0x2f9)]{constructor(_0x52bc9c,_0x1db421,_0x5b0d7a){const _0x207210=_0x1b79a9;super(),this[_0x207210(0x34e)]=_0x52bc9c,this[_0x207210(0x38b)]=_0x1db421,this[_0x207210(0x2d1)]=_0x5b0d7a;}async[_0x1b79a9(0x202)](_0xcaee7c,_0x558c19,_0x132159,..._0x20acf9){const _0x1af928=_0x1b79a9;var _0x237838,_0x497068,_0x184a80,_0xe4d0be;const _0x1a60a7=this[_0x1af928(0x34e)][_0x1af928(0x24d)]();if(!_0x1a60a7)throw new Error(_0x1af928(0x18b));const _0x19481a=((_0x237838=this[_0x1af928(0x2d1)][_0x1af928(0x3a8)](_0x345800[_0x1af928(0x1bf)]))!=null?_0x237838:_0x345800[_0x1af928(0x3ec)])+'/'+_0xcaee7c+'/run/'+_0x558c19,_0x2c3d2b=new URL(window[_0x1af928(0x3d3)][_0x1af928(0x17d)]),_0x2d9898={'scriptId':_0xcaee7c,'runId':(_0x497068=_0x2c3d2b[_0x1af928(0x3b6)][_0x1af928(0x346)](_0x1af928(0x1d3)))!=null?_0x497068:'','function':_0x558c19,'unitId':_0x1a60a7[_0x1af928(0x2bd)](),'argsOfFunction':JSON[_0x1af928(0x177)](_0x20acf9),'invokeId':(_0x184a80=_0x132159['invokeId'])!=null?_0x184a80:'','executionId':(_0xe4d0be=_0x132159[_0x1af928(0x305)])!=null?_0xe4d0be:''};try{const _0x1f438e=await this['_httpService'][_0x1af928(0x30a)](_0x19481a,{'body':_0x2d9898});return _0x1f438e['body'][_0x1af928(0x2f8)]&&_0x1f438e[_0x1af928(0x1a9)][_0x1af928(0x2f8)]['code']!==_0x4b2067['OK']?_0x1af928(0x347):_0x1f438e['body'][_0x1af928(0x1f4)];}catch{return _0x1af928(0x347);}}},_0x18110a[_0x1b79a9(0x2ae)]=_0x27827c([_0x9446ac(0x0,_0x5451dd[_0x1b79a9(0x1ff)]),_0x9446ac(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x4936a4[_0x1b79a9(0x3aa)])),_0x9446ac(0x2,_0x5451dd[_0x1b79a9(0x32a)])],_0x18110a['RemoteUniscriptService']),_0x18110a['CollaborationStatusDisplay']=_0xbc6465,_0x18110a[_0x1b79a9(0x201)]=_0x4d10c1,_0x18110a[_0x1b79a9(0x2df)]=_0x27387a,_0x18110a[_0x1b79a9(0x391)]=_0x7e998b,_0x18110a[_0x1b79a9(0x2c2)]=_0x1a4080,Object[_0x1b79a9(0x34f)](_0x18110a,Symbol[_0x1b79a9(0x369)],{'value':'Module'});}));function _0x547b(){const _0x2e67b2=['get','Failed','connectInjector','ILocalCacheService','reconnect','tag','icon','_refRangeService','_instanceService','defineProperty','touchDependencies','38241QesWjA','isTransformMutationsWithChangesetSuccess','m2Prime','shareReplay','_createSocketURL','_univerInstanceService','_urlService','_onCursorUpdate','sheetId','onPointerEnter$','none','beginPath','source','BehaviorSubject','textRanges','useObservable','getItem','path','fill','getTypeOfUnitAdded$','Warning','DeleteRangeMoveUpCommandId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','type','toStringTag','UniverEngineFormula','getAncestorScale','ITransformService','VIEW_MAIN','gold400','UniverEngineRender','data','rxjs/operators','CollaborationUIEventId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','disableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','COMPLETION_FINISHED','EffectRefRangId','_collabSessionService','mask','UniverRpc','backgroundColor','@univerjs/sheets-ui','TEXT','AWAITING_WITH_PENDING','UnitStatus','runRefRangeMutations','1834VRBwvH','DocSelectionManagerService','addHandlerCallback','_backgroundColor','BrowserCollaborationSocketService','div','UniverProCollaborationClientUi','UniverUi','_collaborationController','CollaborationEvent','_httpService','fromEvent','@univerjs/ui','_onCursorDelete','clsx','handleDeleteRangeMoveLeft','WebBrowserSingleActiveUnitService','_transformService','docStateChange$','_updateLocalCursor','status$','ColorKit','ENSURE_SNAPSHOT_EXECUTION','newValue','trim','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IMessageService','[CollaborationDataLoaderController]','univer-flex\x20univer-items-center','from','sessionStatus$','roomMembers','ILogService','loadOfflineData','_registerDependencies','#FFF','top','deepClone','getOwnPropertyDescriptor','getConfig','CONNECTOR_DATA_TOO_LARGE','HTTPService','collaboration.single-unit.warning','className','off-line-single_clip0_910_343','_cursor','permission.content','Optional','setParam','cursorInfo','getCollabCursors$','session.connection-failed','m1Prime','searchParams','doc.mutation.rich-text-editing','all','toString','setActiveRange','_lastPointer','_imageIoService','Injector','attrs','_clearOtherTimers','eventID','InsertRangeMoveRightCommandId','getUnitStatus$','UniverIcon','DependentOn','getMemberID','jsx','add','LICENSE_MAX_UNITS_EXCEEDED','save','createInstance','@univerjs/core','saveImage','Subject','LOCAL_CACHE_INTERVAL_KEY','verdancy600','UniverNetwork','dispose','_toggleOffline','location','registerRenderModule','sessionTicket','isArray','getSheetId','NOT_FOUND','asObservable','CommandType','mergeOverrideWithDependencies','map','YUUMI_UNABLE_LOAD_URL','transformSelections','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_dataLoaderService','@univerjs/drawing','NOT_COLLAB','useDependency','_beforeCloseService','@univerjs/docs-ui','_removeClearOtherTimer','transformStateCache','React','handleInsertCol','updateOfflineData','memberID','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','clearInterval','unshift','amd','RefRangeService','column','event$','flatMap','setAlpha','collaboration-client-ui.config','RxDisposable','bottom','row','_updateCollabCursors','labelPosition','_scheduleClearOtherTimer','_commandService','RemoveRowCommandId','transformIMECache','unitID','OTHER_CLIENTS_EDITING','Unknown\x20user','UniverInstanceType','PY_RUNTIME_SCRIPT_ERROR','concat','940468fDtLgX','disposeWithMe','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','on-line-single','_localStorageService','editingUnit','defIds','_setupSubUnitSync','pluginName','_colorIndex','_handleEvent','stringify','makeDirty','useCallback','currentTheme$','Inject','_messageService','href','_anchor','fillRule','...','prototype','removeParam','setStateCache','LICENSE_IMPORT_SIZE_EXCEEDED','merge','object','_unitOnClients','_docTransformStateCacheService','set','selection','[RemoteUniscriptService]:\x20no\x20focused\x20unit','color','getMember','defs','RECT','onPointerLeave$','_getAnchorBounding','collabStatus.syncing','APPLY_DUPLICATED','CollaborationController','currentSkeleton$','SOCKET_FAILED_RETRY','_getSessionTicket','idSuffix','ranges','Rect','Tools','current','exhaustSavingTask','has','collabStatus.fetchMiss','_setupBeforeClosingHandler','LOGIN_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','collabStatus.notCollab','UNAUTHENTICATED','Rectangle','translate(.97)','_initEvent','on-line-single_clip0_910_349','body','_colorAssignService','UniverDocs','643942zfCWAR','_injector','popstate','_scene','react/jsx-runtime','handleMoveRange','CollaborationStatus','INVALID_INVITE_CODE','react','_docTransformIMECacheService','getMergeData','37410ByOoeJ','_context','APPLY_NON_SEQUENTIAL_REVISION','DesktopCollaborationStatusDisplayController','rxjs','enableLocalCache','range','ISocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getStateCache','complete','distinctUntilChanged','requireSession','_cursors','fillText','restore','CLOSE_ROOM','collab-text-range-','@univerjs/docs','_localeService','mutations','_updateSubUnitFromURLParams','getViewport','onPointerMove$','_registerRenderDependencies','forwardRef','RemoveColCommandId','_entities','runId','_docSkeleton','_handleHover','SHEET_VIEWPORT_KEY','AWAITING','clipPath','parse','size','FETCH_MISS','MOBILE_HAS_BEEN_BOUND','substring','getActiveRange','getUndoRedoMutationParamsCache','SYNCED','_range','EMAIL_HAS_BEEN_BOUND','Tooltip','_refreshCollabCursors','font','_cursorShapes','rgba(255,\x20255,\x20255,\x200.01)','OffLineSingle','syncEditingCollabCursor','_session','collabStatus.offline','getOwnPropertySymbols','HEADER_MENU','with','selections','_saveTaskMap','collaboration-client.offline-data-not-saved','switchMap','isEditing','result','1em','redoState','currentColor','init','DOC_RANGE_TYPE','_collabCursorController','@univerjs/network','_transformPreviousActiveRange','onCommandExecuted','ILocalStorageService','IUniverInstanceService','getValue','IURLService','runOnServer','unit','generateRandomId','getCurrent','SNAPSHOT_INVALID_SNAPSHOT','INVITE_CODE_REQUIRED','_handleJoinEvent','use','_online','_name','getSheetBySheetId','colorChannel1','TOO_MANY_REQUESTS','ONLINE','disposeUnit','INTERNAL_ERROR','IRenderManagerService','SOCKET_FAILED','clearTimeout','_status$','setConfig','NO_OTHER_CLIENTS_EDITING','collabCursorState$','_memberService','SheetSkeletonManagerService','CHANGESET_REVISION_CONFILICT','_color','_shapes','MessageType','USER_NOT_INVITED_CODE','search','SUBMIT_CHANGESET_TIMEOUT','INVITE_CODE_ALREADY_BOUND','subscribeEvent','CollaborationSocketService','LICENSE_DISTRO_REJECTED','origin','@univerjs/design','min','_handleHeartbeatEvent','displayName','name','transformMutation','TEXT_RANGE_LAYER_INDEX','UPDATE_CURSOR','addObject','_initCommandExecutedListener','off-line-single','collab-text-anchor-','DocSkeletonManagerService','LICENSE_EXPORT_SIZE_EXCEEDED','MemberService','_revisionService','INVALID_ARGUMENT','UniverCore','url(#on-line-single_clip0_910_349)','UNIVER_DOC','session.will-retry','call','COLORS','InsertRangeMoveDownCommandId','SetDocZoomRatioOperation','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CollaborationUIEventService','_removeCollabCursors','onMouseMove','actions','_collaborationUIEventService','UniverDrawing','delete','_eventUnsubscribe','cursorInfo$','sheetID','hide','WECHAT_HAS_BEEN_BOUND','getFocusedUnit','getCollabEntity$','split','APPLY_REJECT','getColor','getRangePointData','evenodd','_drawTextRange','uni.network.url-service','@univerjs-pro/collaboration-client','LOCAL_CACHE_INTERVAL','3544aTJaJS','_ensureSubject','YUUMI_RATE_OVER_LIMIT','takeUntil','_drawAnchor','onLocalMutation','_initEntityListener','SetSelectionsOperation','_saveCache','_drawRectRange','_updateURLWithCurrentState','serializeRangeWithSheet','arc','LocaleService','Plugin','M0\x200H16V16H0z','subscribe','triggerDblclick','_transformHistoryAndStateStack','history','YUUMI_ASYNCIO_CANCELLED','3uXhnXP','_config','registerComponent','_uiPartsService','filter','drawWith','Error','saveTaskMap','handleIRemoveCol','PERMISSION_DENIED','_send','Vector2','onStarting','@univerjs/engine-formula','OFFLINE','_selfUnitIDs','isActive','find','DataLoaderService','univer-text-green-500','WebSocketService','_assignedColors','_entityInit$','0\x200\x2016\x2016','8461002QpjWmH','addObjects','_handleLeaveEvent','@univerjs/engine-render','USERS_LEAVE','univer-flex\x20univer-mr-2\x20univer-text-[20px]','xlink:href','closePath','operators','getDocRanges','measureText','round','pipe','ICommandService','_hover','key','RevisionService','UniverDesign','collaboration.closeRoom','getParam','_cursorInfo$','values','_themeService','IRemoteInstanceService','_unitStatus','_toggleOnline','_cachedData','UniverProCollaborationClient','SetWorksheetActivateCommand','debounceTime','setInterval','_docClipboardService','urlChange$','startsWith','UniverCollaborationClientUIPlugin','UniverSheets','lineTo','UniverDocsUi','_hideTimer','saveOfflineData','Shape','RemoteUniscriptService','collabStatus.synced','_getScale','then','url(#off-line-single_clip0_910_343)','_initDependencies','JOIN_ROOM_FAILED','univer-text-red-500','_init','send','deserializeRangeWithSheet','_getSaveTimeout','_docTransformSelectionsService','CollaborationDataLoaderController','DocIMEInputManagerService','getUnitId','debounce','NodePositionConvertToCursor','addEventListener','replace','WebURLService','_scheduleHeartbeat','_roomMembers$','@univerjs-pro/collaboration','pushState','UNIVER_SHEET','subUnitId','unload','_docStateChangeManagerService','UNRECOGNIZED','getUniverSheetInstance','getCurrentRevOfUnit','1730wthsaH','registerRefRange','params','_configService','_render','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','_onRefRangeChange','length','apply','UniverCollaborationClientPlugin','hasOwnProperty','_transformUndoRedoStack','_getMergeRange','replaceState','UNDEFINED','assignAColorForMemberID','univerjs-icon\x20univerjs-icon-','SheetCollabCursorShape','_textBubble','symbol','APPLY_PERMISSION_DENIED','DocStateChangeManagerService','entries','_docSkeletonManagerService','CollaborationSessionService','transformMutationsWithChangeset','InsertColCommandId','extend','getCoordByCell','unitId','indexOf','fillStyle','YUUMI_SUBSCRIPTION_NOT_FOUND','getRelativeToViewportCoord','ALREADY_EXISTS','939802ibrdEx','getSkeleton','BuiltInUIPart','skeleton','loadUnit','@univerjs/sheets','handleInsertRangeMoveDown','error','Disposable','whenReady','height','_renderManagerService','unsubscribe','INVITE_CODE_HAS_BEEN_UES','INotificationService','push','_logService','_anchorDot','next','getTypeOfUnitDisposed$','executionId','SNAPSHOT_HAS_BEEN_REMOVED','_initResize','_initStatusComponent','15fuWkYQ','post','_notificationService','combineLatest','SessionStatus','_draw','setItem','_getSheetObject','fromEventSubject','executeCommand','handleIRemoveRow','getVpScrollXYInfoByPosToVp','debug','ThemeService','_heartbeatTimer','_id','dispose$','subunit','getRenderById','useRef','string','FromArray','forEach','_initStatusListener','url(#$1','#fff','replaceDocRanges','_sheetSkeletonManagerService','_collabCursorState$','includes','@univerjs/rpc','SetTextSelectionsOperation','MUTATION','IConfigService','width','findNodePositionByCharIndex','_localCacheService','show','black','toDisposable','RegularPolygon','endRow','APPLY_REVISION_CONFILICT','transformRemoteChangeset','getLocalCacheKey','_disabled','text','exports','isTransformMutationFailure','onTransformChange$','getOffsetConfig','_hovered','roomMembers$','jiqing500','setShapeProps','IUIPartsService','OnLineSingle','_syncEditingCollabCursorService','_docSyncEditingCollabCursorService','Workbook','_labelPosition'];_0x547b=function(){return _0x2e67b2;};return _0x547b();}
|