@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505101606 → 0.7.0-nightly.202505121607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5d9716,_0x204ca1){const _0x3a3535=_0x4087,_0x3849ea=_0x5d9716();while(!![]){try{const _0x3c88f0=parseInt(_0x3a3535(0x278))/0x1+-parseInt(_0x3a3535(0x183))/0x2+-parseInt(_0x3a3535(0x1ac))/0x3*(parseInt(_0x3a3535(0xef))/0x4)+parseInt(_0x3a3535(0x1d8))/0x5*(-parseInt(_0x3a3535(0x202))/0x6)+parseInt(_0x3a3535(0x260))/0x7*(parseInt(_0x3a3535(0x2cb))/0x8)+parseInt(_0x3a3535(0xbb))/0x9+parseInt(_0x3a3535(0x1d1))/0xa*(-parseInt(_0x3a3535(0x13c))/0xb);if(_0x3c88f0===_0x204ca1)break;else _0x3849ea['push'](_0x3849ea['shift']());}catch(_0x45fa91){_0x3849ea['push'](_0x3849ea['shift']());}}}(_0x37b6,0x90d65),function(_0x51d8e9,_0x1f6336){const _0x3f59b3=_0x4087;typeof exports==_0x3f59b3(0x1a6)&&typeof module<'u'?_0x1f6336(exports,require(_0x3f59b3(0x253)),require(_0x3f59b3(0x236)),require(_0x3f59b3(0x16a)),require(_0x3f59b3(0x1ed)),require(_0x3f59b3(0x292)),require('@univerjs/drawing'),require(_0x3f59b3(0xb5)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0x3f59b3(0x2d3)),require('rxjs/operators'),require(_0x3f59b3(0x248)),require(_0x3f59b3(0x14e)),require(_0x3f59b3(0x239)),require(_0x3f59b3(0x2b8)),require(_0x3f59b3(0x185)),require(_0x3f59b3(0xad))):typeof define==_0x3f59b3(0x123)&&define['amd']?define([_0x3f59b3(0x181),_0x3f59b3(0x253),_0x3f59b3(0x236),_0x3f59b3(0x16a),'@univerjs/network',_0x3f59b3(0x292),_0x3f59b3(0xe3),'rxjs',_0x3f59b3(0x303),_0x3f59b3(0x255),_0x3f59b3(0x2ff),_0x3f59b3(0x2d3),'rxjs/operators',_0x3f59b3(0x248),_0x3f59b3(0x14e),_0x3f59b3(0x239),_0x3f59b3(0x2b8),_0x3f59b3(0x185),_0x3f59b3(0xad)],_0x1f6336):(_0x51d8e9=typeof globalThis<'u'?globalThis:_0x51d8e9||self,_0x1f6336(_0x51d8e9[_0x3f59b3(0xcd)]={},_0x51d8e9[_0x3f59b3(0x218)],_0x51d8e9[_0x3f59b3(0x2c3)],_0x51d8e9[_0x3f59b3(0x177)],_0x51d8e9[_0x3f59b3(0xac)],_0x51d8e9[_0x3f59b3(0x172)],_0x51d8e9['UniverDrawing'],_0x51d8e9[_0x3f59b3(0xb5)],_0x51d8e9[_0x3f59b3(0x145)],_0x51d8e9[_0x3f59b3(0x1b5)],_0x51d8e9[_0x3f59b3(0x203)],_0x51d8e9[_0x3f59b3(0x23b)],_0x51d8e9[_0x3f59b3(0xb5)]['operators'],_0x51d8e9['UniverSheetsUi'],_0x51d8e9[_0x3f59b3(0x2b3)],_0x51d8e9[_0x3f59b3(0x325)],_0x51d8e9[_0x3f59b3(0x1a0)],_0x51d8e9[_0x3f59b3(0x2b3)],_0x51d8e9[_0x3f59b3(0x18b)]));}(this,function(_0x44eef8,_0x2aa44c,_0x1a23cd,_0x5e65d8,_0x3033d9,_0xbf3303,_0x53aa05,_0x289a68,_0x40d000,_0x645262,_0x2dd659,_0x41a04b,_0x3ffaea,_0x32a1d7,_0xb49986,_0x2cc018,_0x14adf2,_0x5fca6e,_0x3e9542){'use strict';const _0x57a27c=_0x4087;var _0x30e567=Object[_0x57a27c(0x139)],_0x5416a7=(_0x544c62,_0x38b86f,_0x2ced7c)=>_0x38b86f in _0x544c62?_0x30e567(_0x544c62,_0x38b86f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ced7c}):_0x544c62[_0x38b86f]=_0x2ced7c,_0x201443=(_0x5ea0a1,_0x1ddcda,_0x10cb54)=>_0x5416a7(_0x5ea0a1,typeof _0x1ddcda!=_0x57a27c(0x27e)?_0x1ddcda+'':_0x1ddcda,_0x10cb54),_0x4907e2=Object['getOwnPropertyDescriptor'],_0x218b78=(_0x1cd907,_0x41135b,_0x31117a,_0x23f090)=>{const _0x2dc9f5=_0x57a27c;for(var _0xb67c6f=_0x23f090>0x1?void 0x0:_0x23f090?_0x4907e2(_0x41135b,_0x31117a):_0x41135b,_0x50f98a=_0x1cd907[_0x2dc9f5(0x25b)]-0x1,_0x10ff62;_0x50f98a>=0x0;_0x50f98a--)(_0x10ff62=_0x1cd907[_0x50f98a])&&(_0xb67c6f=_0x10ff62(_0xb67c6f)||_0xb67c6f);return _0xb67c6f;},_0x1df558=(_0x44b155,_0x3b0f47)=>(_0x511c20,_0x993d43)=>_0x3b0f47(_0x511c20,_0x993d43,_0x44b155);let _0x4e359b=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0x1d31de,_0x2c88ae){const _0x51feb5=_0x57a27c;super(),this[_0x51feb5(0x316)]=_0x1d31de,this[_0x51feb5(0x1d4)]=_0x2c88ae,this[_0x51feb5(0x15a)]();}['_init'](){const _0x3950f6=_0x57a27c,_0x209c5b=this;this[_0x3950f6(0x138)](this['_docClipboardService'][_0x3950f6(0x276)]({'onBeforePasteImage':async _0x1f60e6=>{const _0x25e4fe=_0x3950f6,_0x45951d=await _0x209c5b[_0x25e4fe(0x1d4)]['saveImage'](_0x1f60e6);return _0x45951d?{'source':_0x45951d[_0x25e4fe(0x307)],'imageSourceType':_0x45951d['imageSourceType']}:null;}}));}};_0x4e359b=_0x218b78([_0x1df558(0x0,_0xbf3303[_0x57a27c(0x319)]),_0x1df558(0x1,_0x53aa05[_0x57a27c(0xe0)])],_0x4e359b);const _0x2d117d=[_0x57a27c(0xc1),_0x57a27c(0x314),_0x57a27c(0x313),'red.300',_0x57a27c(0x133),_0x57a27c(0x1bf)];class _0x416df7 extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(){const _0x2fff04=_0x57a27c;super(...arguments),_0x201443(this,'_assignedColors',new Map()),_0x201443(this,_0x2fff04(0x110),0x0);}['assignAColorForMemberID'](_0x5a3d58){const _0x5a774b=_0x57a27c;if(this[_0x5a774b(0x175)][_0x5a774b(0x1d3)](_0x5a3d58))return this[_0x5a774b(0x175)][_0x5a774b(0x18f)](_0x5a3d58);const _0x1003e9=_0x2d117d[this[_0x5a774b(0x110)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x2d117d['length'],this['_assignedColors'][_0x5a774b(0x15c)](_0x5a3d58,_0x1003e9),_0x1003e9;}}function _0x27935c(_0x5c67de){const _0x1d657e=_0x57a27c;let _0x2f8ee4='';for(const _0x48f17c of _0x5c67de){const {startOffset:_0x309fb7,endOffset:_0x3987a9,isActive:_0x432318,rangeType:_0x16e5f6,segmentId:_0x53cd1c,segmentPage:_0x50ef5a}=_0x48f17c;_0x2f8ee4[_0x1d657e(0x25b)]&&(_0x2f8ee4+=','),_0x2f8ee4+=_0x309fb7+':'+_0x3987a9+':'+(_0x432318?'1':'0')+':'+_0x16e5f6+':'+_0x53cd1c+':'+_0x50ef5a;}return _0x2f8ee4;}function _0xbaccfb(_0x56a3a4){const _0x4b7fae=_0x57a27c,_0x498b3f=_0x56a3a4[_0x4b7fae(0x2a8)](','),_0x51c2e8=[];for(const _0x1aa889 of _0x498b3f){const [_0x18e327,_0x5e2fc4,_0x3e8b31,_0x264ccc,_0x2417c1,_0xabde19]=_0x1aa889['split'](':');_0x51c2e8[_0x4b7fae(0x97)]({'startOffset':Number(_0x18e327),'endOffset':Number(_0x5e2fc4),'collapsed':_0x18e327===_0x5e2fc4,'isActive':_0x3e8b31==='1','rangeType':_0x264ccc===_0x1a23cd['DOC_RANGE_TYPE'][_0x4b7fae(0x1ec)]?_0x1a23cd[_0x4b7fae(0x290)][_0x4b7fae(0x1ec)]:_0x1a23cd[_0x4b7fae(0x290)][_0x4b7fae(0x2f5)],'segmentId':typeof _0x2417c1=='string'?String(_0x2417c1):'','segmentPage':Number(_0xabde19!=null?_0xabde19:-0x1)});}return _0x51c2e8[_0x4b7fae(0xa4)](_0x46b9a1=>_0x46b9a1[_0x4b7fae(0x1b4)])||(_0x51c2e8[0x0][_0x4b7fae(0x1b4)]=!0x0),_0x51c2e8;}class _0x5ed781 extends _0x1a23cd[_0x57a27c(0x249)]{constructor(){const _0x23ca33=_0x57a27c;super(...arguments),_0x201443(this,_0x23ca33(0x21b),new _0x289a68[(_0x23ca33(0x12d))](null)),_0x201443(this,_0x23ca33(0x2c8),this[_0x23ca33(0x21b)][_0x23ca33(0xcf)]());}[_0x57a27c(0x274)](_0x2ba2bb){const _0x4f5cdd=_0x57a27c,{unitID:_0x50d369,memberID:_0x103df3,textRanges:_0x1e2c3c}=_0x2ba2bb,_0x157fa5=_0x27935c(_0x1e2c3c);if(_0x157fa5==='')return;const _0x2e3c0b={'unitID':_0x50d369,'memberID':_0x103df3,'selection':_0x157fa5};this[_0x4f5cdd(0x21b)]['next'](_0x2e3c0b);}}var _0x52cf0a=Object['getOwnPropertyDescriptor'],_0x1c5779=(_0x2d21f9,_0x16f46a,_0x2d4ab0,_0x3d9218)=>{const _0x11540e=_0x57a27c;for(var _0x50a030=_0x3d9218>0x1?void 0x0:_0x3d9218?_0x52cf0a(_0x16f46a,_0x2d4ab0):_0x16f46a,_0x106fb1=_0x2d21f9[_0x11540e(0x25b)]-0x1,_0x45ca14;_0x106fb1>=0x0;_0x106fb1--)(_0x45ca14=_0x2d21f9[_0x106fb1])&&(_0x50a030=_0x45ca14(_0x50a030)||_0x50a030);return _0x50a030;},_0x3a7078=(_0x453798,_0x5f19b6)=>(_0x151454,_0x362903)=>_0x5f19b6(_0x151454,_0x362903,_0x453798);const _0x2cceea=0x12c,_0x1daa10=0x64;let _0x15efd5=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0xf96904,_0x7eee9d,_0xe6c2d3,_0x2d7ae6,_0xc2e142,_0x1f5e69,_0x5f0ab5,_0x50f02c,_0x339f47){const _0x58f21b=_0x57a27c;super(),_0x201443(this,'_online',!0x1),_0x201443(this,_0x58f21b(0x15a),!0x1),_0x201443(this,'_cursorInfo$',new _0x289a68['BehaviorSubject'](new Map())),_0x201443(this,_0x58f21b(0x291),this[_0x58f21b(0x182)][_0x58f21b(0xcf)]()),_0x201443(this,_0x58f21b(0x240),new _0x289a68[(_0x58f21b(0x12d))]([])),_0x201443(this,_0x58f21b(0x208),this[_0x58f21b(0x240)][_0x58f21b(0x11b)](_0x289a68[_0x58f21b(0x212)](_0x2cceea))),_0x201443(this,_0x58f21b(0x29c),_0x1a23cd[_0x58f21b(0xa7)](_0x7cf192=>{const _0x4a1d95=_0x58f21b,_0x5030c3={'eventID':_0x645262['CollaborationEvent'][_0x4a1d95(0x190)],'data':{'unitID':this['unitID'],'memberID':this[_0x4a1d95(0x136)][_0x4a1d95(0x26b)](),'selection':_0x27935c(_0x7cf192)}};this[_0x4a1d95(0x136)][_0x4a1d95(0x2e4)](_0x5030c3,this[_0x4a1d95(0xe5)]);},_0x1daa10)),(this[_0x58f21b(0xe5)]=_0xf96904,this[_0x58f21b(0x136)]=_0x7eee9d,this[_0x58f21b(0x31f)]=_0xe6c2d3,this[_0x58f21b(0xa8)]=_0x2d7ae6,this[_0x58f21b(0x23e)]=_0xc2e142,this[_0x58f21b(0x92)]=_0x1f5e69,this[_0x58f21b(0x30f)]=_0x5f0ab5,this[_0x58f21b(0x127)]=_0x50f02c,this[_0x58f21b(0x1c7)]=_0x339f47);}get['cursorInfo'](){const _0x2ed123=_0x57a27c;return this[_0x2ed123(0x182)][_0x2ed123(0x28e)]();}get[_0x57a27c(0x131)](){const _0x126d8f=_0x57a27c;return this[_0x126d8f(0x240)]['getValue']();}[_0x57a27c(0x16b)](){const _0x58a321=_0x57a27c;super[_0x58a321(0x16b)](),this[_0x58a321(0x182)][_0x58a321(0x263)](new Map()),this[_0x58a321(0x182)][_0x58a321(0x23f)](),this['_roomMembers$'][_0x58a321(0x263)]([]),this[_0x58a321(0x240)][_0x58a321(0x23f)]();}['init'](){const _0x330d6c=_0x57a27c;this[_0x330d6c(0x15a)]||(this[_0x330d6c(0x15a)]=!0x0,this['_session']['sessionStatus$'][_0x330d6c(0x11b)](_0x289a68[_0x330d6c(0x8d)](this[_0x330d6c(0x204)]))[_0x330d6c(0x137)](_0x1c93aa=>{const _0x4d538a=_0x330d6c;_0x1c93aa===_0x2aa44c[_0x4d538a(0x2c2)][_0x4d538a(0x111)]?this[_0x4d538a(0xee)]():this[_0x4d538a(0x228)]();}),this[_0x330d6c(0x136)][_0x330d6c(0x153)]['pipe'](_0x289a68[_0x330d6c(0x8d)](this[_0x330d6c(0x204)]))[_0x330d6c(0x137)](_0x8b9b84=>{const _0x2e1769=_0x330d6c,_0x4e52d6=_0x8b9b84[_0x2e1769(0x262)];_0x4e52d6===_0x645262[_0x2e1769(0x12e)][_0x2e1769(0x190)]&&this[_0x2e1769(0xe1)](_0x8b9b84),_0x4e52d6===_0x645262['CollaborationEvent'][_0x2e1769(0x2a2)]&&this[_0x2e1769(0x1bc)](_0x8b9b84);}),this[_0x330d6c(0x138)](this[_0x330d6c(0x1c7)][_0x330d6c(0x2b2)](_0x19f920=>{const _0xb558a8=_0x330d6c,_0x439c63=_0x19f920['params'];_0x439c63!=null&&this[_0xb558a8(0xf1)]&&_0x19f920['id']===_0x40d000[_0xb558a8(0xf9)]['id']&&_0x439c63[_0xb558a8(0x311)]===this[_0xb558a8(0xe5)]&&_0x439c63['isEditing']===!0x1&&_0x439c63[_0xb558a8(0x20f)][_0xb558a8(0x25b)]>0x0&&this[_0xb558a8(0x29c)](_0x439c63[_0xb558a8(0x20f)]);})),this[_0x330d6c(0x92)]['collabCursorState$'][_0x330d6c(0x11b)](_0x289a68[_0x330d6c(0x8d)](this[_0x330d6c(0x204)]))['subscribe'](_0x38d79f=>{const _0x3da9f8=_0x330d6c;if((_0x38d79f==null?void 0x0:_0x38d79f[_0x3da9f8(0xe5)])!==this[_0x3da9f8(0xe5)])return;const _0x47162f={'eventID':_0x645262[_0x3da9f8(0x12e)][_0x3da9f8(0x190)],'data':_0x38d79f};this[_0x3da9f8(0xe1)](_0x47162f);}),this['disposeWithMe'](this[_0x330d6c(0x1c7)]['onCommandExecuted'](_0x27472e=>{const _0x4fb20d=_0x330d6c;if(_0x27472e[_0x4fb20d(0x2c0)]==null)return;const _0xaf0400=_0x27472e[_0x4fb20d(0x2c0)];if(_0x27472e['id']!==_0x40d000['RichTextEditingMutation']['id']||_0xaf0400[_0x4fb20d(0x311)]!==this[_0x4fb20d(0xe5)])return;const _0x23f6af={'id':_0x4fb20d(0x10f),'params':_0xaf0400},_0x4a21c7=this['cursorInfo'];for(const [_0x12ddbe,_0x51070d]of _0x4a21c7){const _0x3e5267={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4fb20d(0xe5)],'actions':null,'textRanges':_0x51070d[_0x4fb20d(0x20f)]}},_0x288b67=this[_0x4fb20d(0x30f)][_0x4fb20d(0x149)](_0x23f6af,_0x3e5267,!0x1);if(_0x645262[_0x4fb20d(0x1fc)](_0x288b67))throw _0x288b67['error'];_0x4a21c7['set'](_0x12ddbe,{..._0x51070d,'ranges':_0x288b67[_0x4fb20d(0x100)][_0x4fb20d(0x2c0)][_0x4fb20d(0x11c)]});}queueMicrotask(()=>{const _0x3cde12=_0x4fb20d;this[_0x3cde12(0x182)][_0x3cde12(0x263)](_0x4a21c7);});})));}[_0x57a27c(0xe1)](_0x4abfce){const _0x359e8c=_0x57a27c;var _0x2e2453,_0xf4eb6f;const {memberID:_0x3df0a9,selection:_0x1560e8}=_0x4abfce[_0x359e8c(0x114)],_0x27e8e1=_0xbaccfb(_0x1560e8),_0x1731f7=(_0xf4eb6f=(_0x2e2453=this[_0x359e8c(0x23e)]['getMember'](this[_0x359e8c(0xe5)],_0x3df0a9))==null?void 0x0:_0x2e2453[_0x359e8c(0xb6)])!=null?_0xf4eb6f:_0x359e8c(0x1f3),_0x5c301f={'color':this[_0x359e8c(0xa8)][_0x359e8c(0x144)](_0x3df0a9),'name':_0x1731f7,'ranges':_0x27e8e1},_0x5e04c6=this['cursorInfo'];_0x5e04c6[_0x359e8c(0x15c)](_0x3df0a9,_0x5c301f),this['_cursorInfo$'][_0x359e8c(0x263)](_0x5e04c6);}[_0x57a27c(0x1bc)](_0x4073ce){const _0x2ba182=_0x57a27c,{memberID:_0x2a9092}=_0x4073ce['data'],_0x43ecb2=this[_0x2ba182(0xc8)];_0x43ecb2[_0x2ba182(0x198)](_0x2a9092),this['_cursorInfo$'][_0x2ba182(0x263)](_0x43ecb2);}[_0x57a27c(0xee)](){const _0x3c68e6=_0x57a27c;var _0x4481e2;if(this[_0x3c68e6(0xf1)]=!0x0,((_0x4481e2=this[_0x3c68e6(0x127)][_0x3c68e6(0x273)]())==null?void 0x0:_0x4481e2[_0x3c68e6(0x1ba)]())!==this[_0x3c68e6(0xe5)])return;const _0x4232c2=this[_0x3c68e6(0x31f)]['get'](_0x40d000[_0x3c68e6(0x247)])[_0x3c68e6(0xc3)]();Array[_0x3c68e6(0x279)](_0x4232c2)&&_0x4232c2[_0x3c68e6(0x25b)]>0x0&&this[_0x3c68e6(0x29c)](_0x4232c2);}[_0x57a27c(0x228)](){const _0x4216ee=_0x57a27c;this[_0x4216ee(0xf1)]=!0x1;}};_0x15efd5=_0x1c5779([_0x3a7078(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x3a7078(0x3,_0x1a23cd[_0x57a27c(0x222)](_0x416df7)),_0x3a7078(0x4,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c[_0x57a27c(0x1a2)])),_0x3a7078(0x5,_0x1a23cd[_0x57a27c(0x222)](_0x5ed781)),_0x3a7078(0x6,_0x645262[_0x57a27c(0x26d)]),_0x3a7078(0x7,_0x1a23cd[_0x57a27c(0x21c)]),_0x3a7078(0x8,_0x1a23cd['ICommandService'])],_0x15efd5);var _0x3aa084=Object[_0x57a27c(0x1f2)],_0x2de6dd=(_0x471914,_0xd53020,_0x38c6ce,_0x45bc50)=>{const _0x2b18bf=_0x57a27c;for(var _0x5b4c39=_0x45bc50>0x1?void 0x0:_0x45bc50?_0x3aa084(_0xd53020,_0x38c6ce):_0xd53020,_0x74bb0d=_0x471914[_0x2b18bf(0x25b)]-0x1,_0x268ce9;_0x74bb0d>=0x0;_0x74bb0d--)(_0x268ce9=_0x471914[_0x74bb0d])&&(_0x5b4c39=_0x268ce9(_0x5b4c39)||_0x5b4c39);return _0x5b4c39;},_0x1c60c2=(_0x5e8105,_0x1e62e8)=>(_0x372448,_0x245583)=>_0x1e62e8(_0x372448,_0x245583,_0x5e8105);const _0x435af4=0x12c,_0x5698d9=0x64,_0x428076=()=>{let _0xcecb84=[],_0x526340=!0x1;return _0x31e2f1=>{const _0x24d197=_0x4087;_0xcecb84[_0x24d197(0x97)](_0x31e2f1),_0x526340||(_0x526340=!0x0,setTimeout(()=>{_0xcecb84['forEach'](_0x46e24f=>_0x46e24f()),_0xcecb84=[],_0x526340=!0x1;}));};};let _0x5ade6f=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0xbac1e8,_0x36ccac,_0xd16c47,_0x598cbf,_0x3e7e71,_0x225acb,_0x5229ae,_0x33e9ca){const _0x14f9f3=_0x57a27c;super(),_0x201443(this,'_online',!0x1),_0x201443(this,'_init',!0x1),_0x201443(this,_0x14f9f3(0x182),new _0x289a68[(_0x14f9f3(0x12d))](new Map())),_0x201443(this,_0x14f9f3(0x291),this[_0x14f9f3(0x182)][_0x14f9f3(0xcf)]()),_0x201443(this,_0x14f9f3(0x240),new _0x289a68[(_0x14f9f3(0x12d))]([])),_0x201443(this,_0x14f9f3(0x208),this[_0x14f9f3(0x240)][_0x14f9f3(0x11b)](_0x289a68['debounceTime'](_0x435af4))),_0x201443(this,_0x14f9f3(0x29c),_0x1a23cd[_0x14f9f3(0xa7)]((_0xa692c5,_0x287744)=>{const _0x4e118c=_0x14f9f3,_0x1aaad3={'eventID':_0x645262[_0x4e118c(0x12e)][_0x4e118c(0x190)],'data':{'unitID':this[_0x4e118c(0xe5)],'memberID':this[_0x4e118c(0x136)]['getMemberID'](),'selection':_0x2dd659[_0x4e118c(0x299)](_0xa692c5,_0x287744[_0x4e118c(0x1df)])}};this[_0x4e118c(0x136)]['send'](_0x1aaad3,this['unitID']);},_0x5698d9)),(this[_0x14f9f3(0xe5)]=_0xbac1e8,this[_0x14f9f3(0x136)]=_0x36ccac,this[_0x14f9f3(0x31f)]=_0xd16c47,this['_colorAssignService']=_0x598cbf,this[_0x14f9f3(0x23e)]=_0x3e7e71,this[_0x14f9f3(0x127)]=_0x225acb,this['_commandService']=_0x5229ae,this[_0x14f9f3(0x26a)]=_0x33e9ca);}get[_0x57a27c(0xc8)](){const _0xf072c8=_0x57a27c;return this['_cursorInfo$'][_0xf072c8(0x28e)]();}get[_0x57a27c(0x131)](){const _0x441341=_0x57a27c;return this[_0x441341(0x240)][_0x441341(0x28e)]();}['dispose'](){const _0x3ef13c=_0x57a27c;super[_0x3ef13c(0x16b)](),this[_0x3ef13c(0x182)][_0x3ef13c(0x263)](new Map()),this[_0x3ef13c(0x182)][_0x3ef13c(0x23f)](),this[_0x3ef13c(0x240)][_0x3ef13c(0x263)]([]),this[_0x3ef13c(0x240)][_0x3ef13c(0x23f)]();}[_0x57a27c(0x10e)](){const _0x5c29b4=_0x57a27c;this[_0x5c29b4(0x15a)]||(this['_init']=!0x0,this[_0x5c29b4(0x136)][_0x5c29b4(0x243)]['pipe'](_0x289a68['takeUntil'](this[_0x5c29b4(0x204)]))[_0x5c29b4(0x137)](_0x20148e=>{const _0x4c721d=_0x5c29b4;_0x20148e===_0x2aa44c['SessionStatus']['ONLINE']?this[_0x4c721d(0xee)]():this[_0x4c721d(0x228)]();}),this[_0x5c29b4(0x136)]['event$'][_0x5c29b4(0x11b)](_0x289a68['takeUntil'](this['dispose$']))[_0x5c29b4(0x137)](_0x2415c5=>{const _0x2904a9=_0x5c29b4,_0x2f9590=_0x2415c5[_0x2904a9(0x262)];_0x2f9590===_0x645262['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2904a9(0xe1)](_0x2415c5),_0x2f9590===_0x645262[_0x2904a9(0x12e)][_0x2904a9(0x2a2)]&&this[_0x2904a9(0x1bc)](_0x2415c5);}),this['_onRefRangeChange'](),this[_0x5c29b4(0x138)](this[_0x5c29b4(0x1c7)][_0x5c29b4(0x2b2)](_0x1259e7=>{const _0x4655e1=_0x5c29b4;if(this[_0x4655e1(0xf1)]&&_0x1259e7['id']===_0x41a04b[_0x4655e1(0xab)]['id']&&_0x1259e7[_0x4655e1(0x2c0)][_0x4655e1(0x311)]===this['unitID']){const _0x2f61e1=_0x1259e7['params'];this[_0x4655e1(0x29c)](_0x2f61e1['subUnitId'],_0x2f61e1[_0x4655e1(0x18d)][0x0]);}})));}[_0x57a27c(0xe1)](_0x48eceb){const _0x2fb5cb=_0x57a27c;var _0x4e7b97,_0x38f73e;const {memberID:_0x190ac9,selection:_0x473621}=_0x48eceb[_0x2fb5cb(0x114)],{sheetName:_0x20910c,range:_0x21297b}=_0x2dd659[_0x2fb5cb(0x11a)](_0x473621),_0x2a92fa={'name':(_0x38f73e=(_0x4e7b97=this[_0x2fb5cb(0x23e)][_0x2fb5cb(0x2cc)](this[_0x2fb5cb(0xe5)],_0x190ac9))==null?void 0x0:_0x4e7b97[_0x2fb5cb(0xb6)])!=null?_0x38f73e:'Unknown\x20user','range':this[_0x2fb5cb(0x261)](_0x20910c,_0x21297b),'sheetID':_0x20910c,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x190ac9),'selection':_0x473621},_0x577062=this[_0x2fb5cb(0xc8)];_0x577062['set'](_0x190ac9,_0x2a92fa),this[_0x2fb5cb(0x182)]['next'](_0x577062);}[_0x57a27c(0x1bc)](_0x571c97){const _0x1be2c1=_0x57a27c,{memberID:_0x23c87b}=_0x571c97['data'],_0x567ec6=this[_0x1be2c1(0xc8)];_0x567ec6['delete'](_0x23c87b),this[_0x1be2c1(0x182)][_0x1be2c1(0x263)](_0x567ec6);}[_0x57a27c(0x261)](_0x4548ab,_0x5c60f6){const _0x46cb77=_0x57a27c;var _0x58f042,_0x125338;const _0x29d866=(_0x125338=(_0x58f042=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x46cb77(0xe5)]))==null?void 0x0:_0x58f042[_0x46cb77(0x2e2)](_0x4548ab))==null?void 0x0:_0x125338['getMergeData']();return(_0x29d866==null?void 0x0:_0x29d866[_0x46cb77(0x295)](_0x45bd22=>_0x1a23cd[_0x46cb77(0xb9)][_0x46cb77(0xfb)](_0x45bd22,_0x5c60f6)))||_0x5c60f6;}['_onRefRangeChange'](){const _0x51f608=_0x57a27c,_0x12df8f=new _0x1a23cd[(_0x51f608(0x1b9))](),_0x4e8094=_0x428076(),_0x1cb294=()=>{const _0x4bde80=_0x51f608;_0x12df8f['dispose']();const _0x53f651=(_0x2a7a8b,_0x5e1d97,_0x31db26,_0x27cf59)=>{const _0x1c17f3=_0x4087;let _0x1191fc=[];switch(_0x2a7a8b['id']){case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0xb1)]:{_0x1191fc=_0x41a04b[_0x1c17f3(0x27d)](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)]['DeleteRangeMoveUpCommandId']:{_0x1191fc=_0x41a04b['handleDeleteRangeMoveUp'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b['EffectRefRangId']['InsertColCommandId']:{_0x1191fc=_0x41a04b['handleInsertCol'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)]['InsertRangeMoveDownCommandId']:{_0x1191fc=_0x41a04b['handleInsertRangeMoveDown'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0x19a)]:{_0x1191fc=_0x41a04b[_0x1c17f3(0xea)](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0x160)]:{_0x1191fc=_0x41a04b['handleInsertRow'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0xd8)]:{_0x1191fc=_0x41a04b['handleMoveRange'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b['EffectRefRangId'][_0x1c17f3(0xa2)]:{_0x1191fc=_0x41a04b['handleIRemoveCol'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0xed)]:{_0x1191fc=_0x41a04b[_0x1c17f3(0x24b)](_0x2a7a8b,_0x27cf59);break;}}const _0x181ee9=_0x41a04b['runRefRangeMutations'](_0x1191fc,_0x27cf59),_0x540634=this['cursorInfo'][_0x1c17f3(0x18f)](_0x5e1d97);if(_0x540634&&_0x181ee9){const _0x518dde={..._0x540634,'range':_0x181ee9};this[_0x1c17f3(0xc8)]['set'](_0x5e1d97,_0x518dde),_0x4e8094(()=>{const _0x3accb2=_0x1c17f3,_0x3157f1=this[_0x3accb2(0x26a)][_0x3accb2(0x2bf)](_0x181ee9,_0xe4487f=>(_0x3157f1['dispose'](),_0x53f651(_0xe4487f,_0x5e1d97,_0x31db26,_0x181ee9)));_0x12df8f[_0x3accb2(0x19f)](_0x3157f1);});}return{'redos':[],'undos':[]};};this[_0x4bde80(0xc8)][_0x4bde80(0x2d8)]((_0x1f0ef0,_0x476146)=>{const _0x1124ef=_0x4bde80,{range:_0x561c9f,sheetID:_0x2c2465}=_0x1f0ef0,_0x3b350d=this[_0x1124ef(0x26a)][_0x1124ef(0x2bf)](_0x561c9f,_0x5bdab1=>(_0x3b350d[_0x1124ef(0x16b)](),_0x53f651(_0x5bdab1,_0x476146,_0x2c2465,_0x561c9f)));_0x12df8f[_0x1124ef(0x19f)](_0x3b350d);});};this['disposeWithMe'](_0x1a23cd[_0x51f608(0x121)](this['_cursorInfo$'][_0x51f608(0x137)](()=>{_0x1cb294();})));}[_0x57a27c(0xee)](){const _0x4adc6c=_0x57a27c;var _0x39b358,_0x476b6a;if(this[_0x4adc6c(0xf1)]=!0x0,((_0x39b358=this[_0x4adc6c(0x127)]['getFocusedUnit']())==null?void 0x0:_0x39b358[_0x4adc6c(0x1ba)]())!==this['unitID'])return;const _0x11e8fe=(_0x476b6a=this[_0x4adc6c(0x31f)]['get'](_0x41a04b[_0x4adc6c(0x2fa)])[_0x4adc6c(0x20a)]())==null?void 0x0:_0x476b6a[0x0],_0x2701ca=this[_0x4adc6c(0x127)][_0x4adc6c(0x13a)](_0x1a23cd[_0x4adc6c(0x1a3)][_0x4adc6c(0x2e5)])[_0x4adc6c(0x87)]();_0x11e8fe&&_0x2701ca&&this['_updateLocalCursor'](_0x2701ca[_0x4adc6c(0x242)](),_0x11e8fe);}[_0x57a27c(0x228)](){const _0x5996ee=_0x57a27c;this[_0x5996ee(0xf1)]=!0x1;}};_0x5ade6f=_0x2de6dd([_0x1c60c2(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x1c60c2(0x3,_0x1a23cd[_0x57a27c(0x222)](_0x416df7)),_0x1c60c2(0x4,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c[_0x57a27c(0x1a2)])),_0x1c60c2(0x5,_0x1a23cd[_0x57a27c(0x21c)]),_0x1c60c2(0x6,_0x1a23cd[_0x57a27c(0x28c)]),_0x1c60c2(0x7,_0x1a23cd[_0x57a27c(0x222)](_0x41a04b['RefRangeService']))],_0x5ade6f);var _0x66d713=Object[_0x57a27c(0x1f2)],_0x201d73=(_0x14cc05,_0x45d30e,_0x3d6d8d,_0x3b1e7e)=>{const _0x191a2c=_0x57a27c;for(var _0x3eda5b=_0x3b1e7e>0x1?void 0x0:_0x3b1e7e?_0x66d713(_0x45d30e,_0x3d6d8d):_0x45d30e,_0x468214=_0x14cc05[_0x191a2c(0x25b)]-0x1,_0x2ab9d7;_0x468214>=0x0;_0x468214--)(_0x2ab9d7=_0x14cc05[_0x468214])&&(_0x3eda5b=_0x2ab9d7(_0x3eda5b)||_0x3eda5b);return _0x3eda5b;},_0x1a1afa=(_0x142872,_0x5f31a3)=>(_0x3e4a5d,_0x14132d)=>_0x5f31a3(_0x3e4a5d,_0x14132d,_0x142872);let _0x503296=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0x59b4e4,_0x594f3c,_0x1a5c7d){const _0x59eb66=_0x57a27c;super(),_0x201443(this,_0x59eb66(0x27f),new Map()),_0x201443(this,_0x59eb66(0x1d9),new _0x289a68[(_0x59eb66(0x2bd))]()),(this['_univerInstanceService']=_0x59b4e4,this[_0x59eb66(0x31f)]=_0x594f3c,this[_0x59eb66(0x2f0)]=_0x1a5c7d,this[_0x59eb66(0x15a)]());}['dispose'](){const _0xf8aa3c=_0x57a27c;super[_0xf8aa3c(0x16b)](),this[_0xf8aa3c(0x1d9)]['complete'](),this[_0xf8aa3c(0x27f)]['forEach'](_0x324753=>_0x324753[_0xf8aa3c(0x16b)]());}[_0x57a27c(0x2a7)](_0x273718){const _0x4c3c73=_0x57a27c;return this['_entities'][_0x4c3c73(0x1d3)](_0x273718)?this[_0x4c3c73(0x27f)][_0x4c3c73(0x18f)](_0x273718)[_0x4c3c73(0x291)]:this[_0x4c3c73(0x1d9)][_0x4c3c73(0x11b)](_0x289a68['filter'](_0x493b3c=>_0x493b3c[_0x4c3c73(0xe5)]===_0x273718),_0x289a68[_0x4c3c73(0x125)](_0x5ed5d7=>_0x5ed5d7[_0x4c3c73(0x291)]));}[_0x57a27c(0x15a)](){const _0x21e2ca=_0x57a27c;this[_0x21e2ca(0x127)]['getTypeOfUnitAdded$'](_0x1a23cd[_0x21e2ca(0x1a3)][_0x21e2ca(0x2e5)])['pipe'](_0x289a68[_0x21e2ca(0x8d)](this[_0x21e2ca(0x204)]))['subscribe'](async _0x361aa9=>{const _0x16c03e=_0x21e2ca,_0x4fcb69=_0x361aa9[_0x16c03e(0x1ba)](),_0x256b07=await this[_0x16c03e(0x115)](_0x4fcb69);this['_entityInit$'][_0x16c03e(0x263)](_0x256b07),this[_0x16c03e(0x27f)][_0x16c03e(0x15c)](_0x4fcb69,_0x256b07);}),this[_0x21e2ca(0x127)][_0x21e2ca(0x2ae)](_0x1a23cd[_0x21e2ca(0x1a3)][_0x21e2ca(0x14c)])['pipe'](_0x289a68[_0x21e2ca(0x8d)](this[_0x21e2ca(0x204)]))[_0x21e2ca(0x11b)](_0x289a68['filter'](_0x128588=>!_0x128588[_0x21e2ca(0x1ba)]()[_0x21e2ca(0x1ea)]('__')))[_0x21e2ca(0x137)](async _0x25ecd5=>{const _0x4f5c35=_0x21e2ca,_0x2c6633=_0x25ecd5[_0x4f5c35(0x1ba)](),_0x2561ab=await this['_startDocCollabCursor'](_0x2c6633);this[_0x4f5c35(0x1d9)][_0x4f5c35(0x263)](_0x2561ab),this[_0x4f5c35(0x27f)][_0x4f5c35(0x15c)](_0x2c6633,_0x2561ab);}),_0x289a68[_0x21e2ca(0x213)](this[_0x21e2ca(0x127)][_0x21e2ca(0x324)](_0x1a23cd[_0x21e2ca(0x1a3)][_0x21e2ca(0x14c)]),this[_0x21e2ca(0x127)][_0x21e2ca(0x324)](_0x1a23cd['UniverInstanceType'][_0x21e2ca(0x2e5)]))['pipe'](_0x289a68['takeUntil'](this[_0x21e2ca(0x204)]))[_0x21e2ca(0x137)](_0x19f70a=>{const _0x4d2ad2=_0x21e2ca,_0x597744=_0x19f70a['getUnitId'](),_0xd52e48=this[_0x4d2ad2(0x27f)][_0x4d2ad2(0x18f)](_0x597744);_0xd52e48&&(_0xd52e48[_0x4d2ad2(0x16b)](),this[_0x4d2ad2(0x27f)][_0x4d2ad2(0x198)](_0x597744));});}async[_0x57a27c(0x115)](_0x23726c){const _0x524fa8=_0x57a27c,_0x52e8cc=await this[_0x524fa8(0x2f0)]['requireSession'](_0x23726c),_0x5db7d9=this[_0x524fa8(0x31f)][_0x524fa8(0x31e)](_0x5ade6f,_0x23726c,_0x52e8cc);return _0x5db7d9[_0x524fa8(0x10e)](),_0x5db7d9;}async['_startDocCollabCursor'](_0x1e5c75){const _0x1334ab=_0x57a27c,_0x3d7621=await this[_0x1334ab(0x2f0)][_0x1334ab(0x21d)](_0x1e5c75),_0x59987f=this[_0x1334ab(0x31f)][_0x1334ab(0x31e)](_0x15efd5,_0x1e5c75,_0x3d7621);return _0x59987f[_0x1334ab(0x10e)](),_0x59987f;}};_0x503296=_0x201d73([_0x1a1afa(0x0,_0x1a23cd[_0x57a27c(0x21c)]),_0x1a1afa(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x1a1afa(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c['CollaborationSessionService']))],_0x503296);const _0xf8646c=0x14,_0x416ee5=0xc8,_0x478f45=0x4,_0x2cb2f6=0x5;function _0x5515d4(_0x585625,_0x5cef0a){const _0x54e66c=_0x57a27c;let {radius:_0xf102fc,width:_0x393e9c,height:_0x502884}=_0x5cef0a;_0xf102fc=_0xf102fc!=null?_0xf102fc:0x0,_0x393e9c=_0x393e9c!=null?_0x393e9c:0x1e,_0x502884=_0x502884!=null?_0x502884:0x1e;let _0x9c7a55=0x0,_0x584ab4=0x0,_0x3d1f39=0x0;_0x9c7a55=_0x584ab4=_0x3d1f39=Math[_0x54e66c(0x157)](_0xf102fc,_0x393e9c/0x2,_0x502884/0x2),_0x585625[_0x54e66c(0x282)](),_0x585625[_0x54e66c(0x112)](_0x9c7a55,0x0),_0x585625[_0x54e66c(0x1ce)](_0x393e9c-_0x584ab4,0x0),_0x585625[_0x54e66c(0x272)](_0x393e9c-_0x584ab4,_0x584ab4,_0x584ab4,Math['PI']*0x3/0x2,0x0,!0x1),_0x585625[_0x54e66c(0x1ce)](_0x393e9c,_0x502884-_0x3d1f39),_0x585625[_0x54e66c(0x272)](_0x393e9c-_0x3d1f39,_0x502884-_0x3d1f39,_0x3d1f39,0x0,Math['PI']/0x2,!0x1),_0x585625['lineTo'](0x0,_0x502884),_0x585625[_0x54e66c(0x1ce)](0x0,_0x9c7a55),_0x585625[_0x54e66c(0x272)](_0x9c7a55,_0x9c7a55,_0x9c7a55,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x585625[_0x54e66c(0x28d)](),_0x5cef0a['fill']&&(_0x585625[_0x54e66c(0x221)](),_0x585625[_0x54e66c(0x21e)]=_0x5cef0a[_0x54e66c(0xc9)],_0x5cef0a[_0x54e66c(0x250)]==='evenodd'?_0x585625[_0x54e66c(0xc9)](_0x54e66c(0x2c7)):_0x585625['fill'](),_0x585625[_0x54e66c(0x1cc)]());}class _0x5c9bc9 extends _0x5e65d8[_0x57a27c(0xb7)]{constructor(_0x52a193,_0x5ab57b){const _0x3598e2=_0x57a27c;super(_0x52a193,_0x5ab57b),_0x201443(this,_0x3598e2(0x1f7)),_0x201443(this,_0x3598e2(0x1be)),(this[_0x3598e2(0x1f7)]=_0x5ab57b==null?void 0x0:_0x5ab57b[_0x3598e2(0x1f7)],this[_0x3598e2(0x1be)]=_0x5ab57b==null?void 0x0:_0x5ab57b[_0x3598e2(0x1be)]);}static[_0x57a27c(0xba)](_0x1feff7,_0x2f498d){const _0x5c44d9=_0x57a27c,{text:_0x229205,color:_0x4ef8a2}=_0x2f498d;_0x1feff7[_0x5c44d9(0x221)](),_0x1feff7['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x125b44=_0x1feff7[_0x5c44d9(0x219)](_0x229205)['width'],_0x2d2e25=Math['min'](_0x125b44+0x2*_0x478f45,_0x416ee5);_0x5515d4(_0x1feff7,{'height':_0xf8646c,'radius':0x4,'width':_0x2d2e25,'fill':_0x4ef8a2}),_0x1feff7[_0x5c44d9(0x21e)]=_0x5c44d9(0x2df);const _0x12f4fa=_0x478f45,_0x119264=_0xf8646c-_0x2cb2f6,_0x38f3e1=_0x416ee5-0x2*_0x478f45;if(_0x125b44>_0x38f3e1){let _0x5f28f3='',_0x61efd4=0x0;for(const _0x551170 of _0x229205){const _0x5a9ceb=_0x1feff7[_0x5c44d9(0x219)](_0x551170)[_0x5c44d9(0x210)];if(_0x61efd4+_0x5a9ceb<=_0x38f3e1-_0x1feff7['measureText'](_0x5c44d9(0x129))['width'])_0x5f28f3+=_0x551170,_0x61efd4+=_0x5a9ceb;else{_0x5f28f3+=_0x5c44d9(0x129);break;}}_0x1feff7['fillText'](_0x5f28f3,_0x12f4fa,_0x119264);}else _0x1feff7[_0x5c44d9(0x1ad)](_0x229205,_0x12f4fa,_0x119264);_0x1feff7[_0x5c44d9(0x1cc)]();}[_0x57a27c(0x323)](_0x518597){const _0x50bb2e=_0x57a27c;_0x5c9bc9[_0x50bb2e(0xba)](_0x518597,this);}}const _0x60250b=_0x57a27c(0x27c),_0x119cc0=_0x57a27c(0x1a1),_0x280bae=_0x57a27c(0x1e3),_0x2c6109=0x6,_0x399403=1.5,_0x49a49f=0x4,_0x2b1c61=1.5,_0x577088=_0x57a27c(0xcb);class _0x190fa8{constructor(_0x388cf5,_0x426d74,_0x5edbdd,_0x216262){const _0xc6ac71=_0x57a27c;_0x201443(this,_0xc6ac71(0x2c4),[]),_0x201443(this,'_anchor',null),_0x201443(this,'_textBubble',null),_0x201443(this,'_anchorDot',null),_0x201443(this,_0xc6ac71(0x148),null),_0x201443(this,'_eventUnsubscribe',null),(this[_0xc6ac71(0x1b8)]=_0x388cf5,this['_scene']=_0x426d74,this[_0xc6ac71(0x14f)]=_0x5edbdd,this[_0xc6ac71(0x2a4)]=_0x216262,this[_0xc6ac71(0xe4)]());}set[_0x57a27c(0x29a)](_0x4b7080){const _0x2b9b49=_0x57a27c;_0x4b7080?(this['_anchorDot']&&this[_0x2b9b49(0xf7)][_0x2b9b49(0x1b6)](),this['_textBubble']&&this['_textBubble'][_0x2b9b49(0x24e)]()):(this[_0x2b9b49(0xf7)]&&this[_0x2b9b49(0xf7)][_0x2b9b49(0x24e)](),this['_textBubble']&&this[_0x2b9b49(0x297)][_0x2b9b49(0x1b6)]());}[_0x57a27c(0x16b)](){const _0x282f36=_0x57a27c;for(const _0x1320f5 of this['_shapes'])_0x1320f5[_0x282f36(0x16b)]();this[_0x282f36(0x297)]&&this['_textBubble'][_0x282f36(0x16b)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x282f36(0x197)]&&this[_0x282f36(0x197)][_0x282f36(0x16b)](),this[_0x282f36(0x1cf)]&&this[_0x282f36(0x1cf)]();}[_0x57a27c(0xe4)](){const _0x13df25=_0x57a27c;var _0x1faafb;const {_docSkeleton:_0x344f4b,_document:_0x15418d}=this,{color:_0x15d9c4,name:_0x5cf211,ranges:_0x1469af}=this[_0x13df25(0x1b8)],_0x179545=_0x15418d[_0x13df25(0x2ef)](),{docsLeft:_0x1d43a2,docsTop:_0x5fc72b}=_0x179545,_0x24120c=new _0xbf3303['NodePositionConvertToCursor'](_0x179545,_0x344f4b);for(const {startOffset:_0x8564bd,endOffset:_0x24bb0a,rangeType:_0x3bfbcb,segmentId:_0x46c036,segmentPage:_0x142f0b,collapsed:_0x5f3e71,isActive:_0x2aa32a}of _0x1469af){const _0x3db1fb=_0x344f4b[_0x13df25(0x189)](_0x8564bd,!0x0,_0x46c036,_0x142f0b);let _0x3f615b=_0x344f4b['findNodePositionByCharIndex'](_0x24bb0a,!0x0,_0x46c036,_0x142f0b);if(_0x3f615b==null&&(_0x3f615b=_0x344f4b[_0x13df25(0x189)](_0x24bb0a-0x1,!0x1,_0x46c036,_0x142f0b)),_0x2aa32a){const {contentBoxPointGroup:_0x1a5b6a}=_0x24120c['getRangePointData'](_0x3f615b,_0x3f615b);if(_0x1a5b6a[_0x13df25(0x25b)]===0x0)continue;this[_0x13df25(0x9b)](_0x15d9c4,_0x1a5b6a,_0x1d43a2,_0x5fc72b,_0x5cf211),this[_0x13df25(0x1cf)]=this[_0x13df25(0x154)]();}if(_0x3db1fb&&_0x3f615b){if(_0x3bfbcb===_0x1a23cd['DOC_RANGE_TYPE'][_0x13df25(0x2f5)]){const _0x1cadd7=new _0xbf3303[(_0x13df25(0x1f5))](_0x179545,_0x344f4b),{pointGroup:_0x57a22b}=(_0x1faafb=_0x1cadd7[_0x13df25(0xca)](_0x3db1fb,_0x3f615b))!=null?_0x1faafb:{};if(_0x57a22b==null||_0x57a22b[_0x13df25(0x25b)]===0x0)continue;this['_drawRectRange'](_0x15d9c4,_0x57a22b,_0x1d43a2,_0x5fc72b);}else{if(!_0x5f3e71){const {borderBoxPointGroup:_0x27a61e}=_0x24120c[_0x13df25(0xca)](_0x3db1fb,_0x3f615b);if(_0x27a61e['length']===0x0)continue;this[_0x13df25(0x2a3)](_0x15d9c4,_0x27a61e,_0x1d43a2,_0x5fc72b);}}}}}[_0x57a27c(0x9b)](_0x194ae7,_0x463f43,_0x49d979,_0x1f6537,_0x39909d){const _0x49dad5=_0x57a27c,_0x3dea1f=this[_0x49dad5(0x170)](_0x463f43),{left:_0x244ca6,top:_0x142b8f,height:_0x36d11a}=_0x3dea1f,_0x3d6865=this[_0x49dad5(0x1ca)](),_0x38bb51=_0x2b1c61/_0x3d6865,_0xb13c2c=new _0x5e65d8[(_0x49dad5(0x251))](_0x60250b+_0x1a23cd['Tools'][_0x49dad5(0x1c9)](_0x2c6109),{'left':_0x244ca6+_0x49d979-_0x38bb51,'top':_0x142b8f+_0x1f6537,'height':_0x36d11a,'width':_0x399403,'fill':_0x194ae7||_0x5e65d8[_0x49dad5(0x199)](_0x1a23cd[_0x49dad5(0x169)][_0x49dad5(0x158)],0x0),'strokeWidth':_0x38bb51,'stroke':_0x577088,'evented':!0x0});this[_0x49dad5(0x197)]=_0xb13c2c,this[_0x49dad5(0x20e)][_0x49dad5(0xfc)](_0xb13c2c,_0xbf3303[_0x49dad5(0x21f)]);const _0x1f1d3e=new _0x5e65d8[(_0x49dad5(0x251))](_0x60250b+_0x1a23cd[_0x49dad5(0x31a)][_0x49dad5(0x1c9)](_0x2c6109),{'left':_0x244ca6+_0x49d979-_0x38bb51,'top':_0x142b8f+_0x1f6537-_0x49a49f/0x2,'height':_0x49a49f,'width':_0x49a49f,'fill':_0x194ae7||_0x5e65d8[_0x49dad5(0x199)](_0x1a23cd[_0x49dad5(0x169)][_0x49dad5(0x158)],0x0),'strokeWidth':0x0,'stroke':_0x194ae7||_0x5e65d8[_0x49dad5(0x199)](_0x1a23cd['COLORS'][_0x49dad5(0x158)],0x0),'evented':!0x1});this[_0x49dad5(0xf7)]=_0x1f1d3e,this[_0x49dad5(0x20e)][_0x49dad5(0xfc)](_0x1f1d3e,_0xbf3303[_0x49dad5(0x21f)]);const _0x655686=new _0x5c9bc9(_0x60250b+_0x1a23cd['Tools'][_0x49dad5(0x1c9)](_0x2c6109),{'left':_0x244ca6+_0x49d979-_0x38bb51,'top':_0x142b8f+_0x1f6537-_0xf8646c,'text':_0x39909d,'color':_0x194ae7});this['_textBubble']=_0x655686,this[_0x49dad5(0x20e)][_0x49dad5(0xfc)](_0x655686,_0xbf3303[_0x49dad5(0x21f)]),this[_0x49dad5(0x29a)]=!0x1;}['_handleHover'](){const _0x219c73=_0x57a27c,_0x2e31df=this[_0x219c73(0x197)][_0x219c73(0x30a)][_0x219c73(0x104)](()=>{const _0x136e54=_0x219c73;this[_0x136e54(0x29a)]=!0x0;}),_0x185765=this['_anchor'][_0x219c73(0x173)][_0x219c73(0x104)](()=>{const _0x225f0a=_0x219c73;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x225f0a(0x148)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x38d6c9=_0x219c73;_0x2e31df['unsubscribe'](),_0x185765[_0x38d6c9(0x9e)]();};}[_0x57a27c(0x2a3)](_0x53d0e9,_0x180c6f,_0x53f975,_0x1f92b3){const _0x396107=_0x57a27c,_0x61d0d0=new _0x1a23cd[(_0x396107(0x117))](_0x53d0e9)['setAlpha'](0.2)[_0x396107(0xce)](),_0xf16932=new _0x5e65d8[(_0x396107(0x2de))](_0x119cc0+_0x1a23cd[_0x396107(0x31a)][_0x396107(0x1c9)](_0x2c6109),{'pointsGroup':_0x180c6f,'fill':_0x61d0d0||_0x5e65d8[_0x396107(0x199)](_0x1a23cd[_0x396107(0x169)][_0x396107(0x158)],0.2),'left':_0x53f975,'top':_0x1f92b3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x396107(0x97)](_0xf16932),this[_0x396107(0x20e)][_0x396107(0xfc)](_0xf16932,_0xbf3303[_0x396107(0x21f)]);}[_0x57a27c(0x13f)](_0x4c09df,_0x2028ba,_0xef3dca,_0x55a1c5){const _0x2df4e8=_0x57a27c,_0x5907b3=new _0x1a23cd[(_0x2df4e8(0x117))](_0x4c09df)[_0x2df4e8(0x2f6)](0.2)[_0x2df4e8(0xce)](),_0x251266=new _0x5e65d8[(_0x2df4e8(0x2de))](_0x280bae+_0x1a23cd[_0x2df4e8(0x31a)][_0x2df4e8(0x1c9)](_0x2c6109),{'pointsGroup':_0x2028ba,'fill':_0x5907b3||_0x5e65d8['getColor'](_0x1a23cd['COLORS'][_0x2df4e8(0x158)],0.2),'left':_0xef3dca,'top':_0x55a1c5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2df4e8(0x2c4)][_0x2df4e8(0x97)](_0x251266),this['_scene'][_0x2df4e8(0xfc)](_0x251266,_0xbf3303[_0x2df4e8(0x21f)]);}[_0x57a27c(0x170)](_0x54981d){const _0xed93b4=_0x54981d[0x0],_0x158c66=_0xed93b4[0x0],_0x54ca9c=_0xed93b4[0x2],{x:_0x29d155,y:_0x34e169}=_0x158c66,{x:_0x61f735,y:_0x319d44}=_0x54ca9c;return{'left':_0x29d155,'top':_0x34e169,'width':_0x61f735-_0x29d155,'height':_0x319d44-_0x34e169};}[_0x57a27c(0x1ca)](){const _0x4f4149=_0x57a27c,{scaleX:_0x5bf850,scaleY:_0x485437}=this['_scene'][_0x4f4149(0x128)]();return Math[_0x4f4149(0x2d6)](_0x5bf850,_0x485437);}}var _0x134f86=Object[_0x57a27c(0x1f2)],_0x4e149a=(_0x2827c3,_0x44c4a4,_0x1eb812,_0x3e43e5)=>{for(var _0x54669f=_0x3e43e5>0x1?void 0x0:_0x3e43e5?_0x134f86(_0x44c4a4,_0x1eb812):_0x44c4a4,_0x20c642=_0x2827c3['length']-0x1,_0x351abf;_0x20c642>=0x0;_0x20c642--)(_0x351abf=_0x2827c3[_0x20c642])&&(_0x54669f=_0x351abf(_0x54669f)||_0x54669f);return _0x54669f;},_0x1a33b8=(_0x4b6e3c,_0x1c4508)=>(_0x487bce,_0x358c1f)=>_0x1c4508(_0x487bce,_0x358c1f,_0x4b6e3c);let _0x334652=class extends _0x1a23cd['RxDisposable']{constructor(_0x53c559,_0x256672,_0x38ba1e,_0x75e162,_0xa1bb6f){const _0x174a60=_0x57a27c;super(),_0x201443(this,_0x174a60(0xfa),[]),_0x201443(this,_0x174a60(0xc2),[]),(this[_0x174a60(0x12a)]=_0x53c559,this[_0x174a60(0x23a)]=_0x256672,this[_0x174a60(0x287)]=_0x38ba1e,this[_0x174a60(0x1c7)]=_0x75e162,this['_themeService']=_0xa1bb6f,this[_0x174a60(0x15a)]());}[_0x57a27c(0x15a)](){const _0x16e6b6=_0x57a27c,_0x2507ac=this[_0x16e6b6(0x12a)]['unitId'],_0x190be6=this[_0x16e6b6(0x23a)];this[_0x16e6b6(0x138)](_0x289a68[_0x16e6b6(0x8a)]([this['_collabCursorController'][_0x16e6b6(0x2a7)](_0x2507ac),this[_0x16e6b6(0xc0)][_0x16e6b6(0xc5)]])['pipe'](_0x3ffaea[_0x16e6b6(0x17c)](([_0x3ecb35,_0x5cdec4])=>({'skeleton':_0x190be6['getSkeleton'](),'cursors':[..._0x3ecb35['values']()][_0x16e6b6(0xde)](_0x47ef80=>({..._0x47ef80,'color':this['_themeService'][_0x16e6b6(0x220)](_0x47ef80[_0x16e6b6(0x1f7)])}))})))['subscribe'](_0x371068=>{const _0x510a8b=_0x16e6b6;if(this['_removeCollabCursors'](),_0x371068){const {skeleton:_0x579cc5,cursors:_0x20839c}=_0x371068;this[_0x510a8b(0x28f)](_0x579cc5,_0x20839c);}})),this[_0x16e6b6(0x1fa)](),this['_initCommandExecutedListener']();}[_0x57a27c(0x28f)](_0x4c55e9,_0x4f5da7){const _0x3752d6=_0x57a27c,{scene:_0x3f19df,mainComponent:_0x315415}=this[_0x3752d6(0x12a)],_0x2732e9=_0x4f5da7['map'](_0x37fa9c=>new _0x190fa8(_0x37fa9c,_0x3f19df,_0x4c55e9,_0x315415));this[_0x3752d6(0xfa)]=_0x2732e9,this[_0x3752d6(0xc2)]=_0x4f5da7;}['_refreshCollabCursors'](){const _0x18fb15=_0x57a27c;this[_0x18fb15(0x2b4)]();const {scene:_0x551b14,mainComponent:_0x207c19}=this[_0x18fb15(0x12a)],_0x38e3de=this[_0x18fb15(0x23a)][_0x18fb15(0x1eb)](),_0xf2e632=this[_0x18fb15(0xc2)][_0x18fb15(0x17c)](_0x242c6d=>new _0x190fa8(_0x242c6d,_0x551b14,_0x38e3de,_0x207c19));this[_0x18fb15(0xfa)]=_0xf2e632;}[_0x57a27c(0x2b4)](){const _0x8492d0=_0x57a27c;this[_0x8492d0(0xfa)][_0x8492d0(0x2d8)](_0x196221=>_0x196221['dispose']()),this[_0x8492d0(0xfa)]=[];}[_0x57a27c(0x167)](){const _0x18f8d6=_0x57a27c,_0x263b5e=[_0xbf3303[_0x18f8d6(0x14a)]['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x4a8b2a=>{const _0x28bdf3=_0x18f8d6;_0x263b5e[_0x28bdf3(0x214)](_0x4a8b2a['id'])&&_0x4a8b2a['params'][_0x28bdf3(0x311)]===this[_0x28bdf3(0x12a)][_0x28bdf3(0x311)]&&this['_refreshCollabCursors']();}));}[_0x57a27c(0x1fa)](){const _0x910f39=_0x57a27c;this[_0x910f39(0x138)](_0x1a23cd[_0x910f39(0x2d0)](this[_0x910f39(0x12a)][_0x910f39(0x178)][_0x910f39(0x146)])[_0x910f39(0x11b)](_0x3ffaea[_0x910f39(0x1bb)](_0xd2ee1c=>_0xd2ee1c['type']===_0x5e65d8[_0x910f39(0x30b)][_0x910f39(0x225)]),_0x3ffaea['throttleTime'](0x10))['subscribe'](()=>{const _0x4edbcf=_0x910f39;this[_0x4edbcf(0x1a5)]();}));}};_0x334652=_0x4e149a([_0x1a33b8(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x40d000[_0x57a27c(0x2eb)])),_0x1a33b8(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x503296)),_0x1a33b8(0x3,_0x1a23cd['ICommandService']),_0x1a33b8(0x4,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x17e)]))],_0x334652);const _0x384c0f=0x1,_0x20caa8=1.5;class _0x8d5e3c extends _0x5e65d8[_0x57a27c(0xb7)]{constructor(_0x347cfd,_0x5c96ce){const _0x503e9e=_0x57a27c;super(_0x347cfd,_0x5c96ce),_0x201443(this,_0x503e9e(0x217)),_0x201443(this,'_hovered',!0x1),_0x201443(this,_0x503e9e(0x237)),_0x201443(this,_0x503e9e(0x21a),''),_0x201443(this,'_labelPosition','top'),_0x201443(this,'_backgroundColor'),(_0x5c96ce&&this['setShapeProps'](_0x5c96ce),this[_0x503e9e(0x30a)][_0x503e9e(0x104)](()=>this[_0x503e9e(0x2da)]({'hovered':!0x0})),this[_0x503e9e(0x173)][_0x503e9e(0x104)](()=>this[_0x503e9e(0x2da)]({'hovered':!0x1})));}[_0x57a27c(0x2da)](_0x2ad41e){const _0x9defcf=_0x57a27c;var _0x4fb514,_0x254ad8,_0x1cc044,_0x1d2760,_0xecac50,_0xd7e576;this[_0x9defcf(0x217)]=(_0x4fb514=_0x2ad41e['color'])!=null?_0x4fb514:this[_0x9defcf(0x217)],this['_hovered']=(_0x254ad8=_0x2ad41e[_0x9defcf(0x245)])!=null?_0x254ad8:this[_0x9defcf(0x1f6)],this[_0x9defcf(0x237)]=(_0x1cc044=_0x2ad41e[_0x9defcf(0x1df)])!=null?_0x1cc044:this[_0x9defcf(0x237)],this[_0x9defcf(0x21a)]=(_0x1d2760=_0x2ad41e[_0x9defcf(0xb6)])!=null?_0x1d2760:this['_name'],this[_0x9defcf(0x2e3)]=(_0xecac50=_0x2ad41e['labelPosition'])!=null?_0xecac50:this['_labelPosition'],this[_0x9defcf(0x12b)]=(_0xd7e576=_0x2ad41e[_0x9defcf(0x229)])!=null?_0xd7e576:this[_0x9defcf(0x12b)],this[_0x9defcf(0x294)]({'width':_0x2ad41e[_0x9defcf(0x210)],'height':_0x2ad41e[_0x9defcf(0x162)]});}[_0x57a27c(0x88)](_0x2229d8){const _0x463d52=_0x57a27c,{row:_0x53b538,column:_0x104036}=_0x2229d8;if(_0x53b538>=this[_0x463d52(0x237)][_0x463d52(0x10b)]&&_0x53b538<=this[_0x463d52(0x237)][_0x463d52(0x19d)]&&_0x104036>=this['_range'][_0x463d52(0x2a6)]&&_0x104036<=this['_range'][_0x463d52(0x147)]){this[_0x463d52(0x2da)]({'hovered':!0x0});return;}this[_0x463d52(0x2da)]({'hovered':!0x1});}[_0x57a27c(0xda)](_0x464e66){return!0x1;}['_draw'](_0x41dee5){const _0x211e86=_0x57a27c;_0x5e65d8[_0x211e86(0x251)][_0x211e86(0xba)](_0x41dee5,{'width':this[_0x211e86(0x210)],'height':this[_0x211e86(0x162)],'strokeWidth':_0x20caa8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x211e86(0x12b)]}),this[_0x211e86(0x1f6)]&&(_0x41dee5['save'](),_0x41dee5[_0x211e86(0x179)](0x1,0x0,0x0,0x1,this[_0x211e86(0x210)],this[_0x211e86(0x2e3)]===_0x211e86(0x2f4)?0x0:-0x14),_0x5c9bc9[_0x211e86(0xba)](_0x41dee5,{'text':this[_0x211e86(0x21a)],'color':this['_color']}),_0x41dee5[_0x211e86(0x1cc)]());}}var _0x58a521=Object[_0x57a27c(0x1f2)],_0x59f5d0=(_0xb75aab,_0x23b364,_0x12aa06,_0x383299)=>{const _0x3669dc=_0x57a27c;for(var _0x42d74c=_0x383299>0x1?void 0x0:_0x383299?_0x58a521(_0x23b364,_0x12aa06):_0x23b364,_0x4bc5dd=_0xb75aab[_0x3669dc(0x25b)]-0x1,_0x31cbe7;_0x4bc5dd>=0x0;_0x4bc5dd--)(_0x31cbe7=_0xb75aab[_0x4bc5dd])&&(_0x42d74c=_0x31cbe7(_0x42d74c)||_0x42d74c);return _0x42d74c;},_0x5e0f5b=(_0x57b93b,_0xd306e2)=>(_0x1d42fa,_0x3ed59d)=>_0xd306e2(_0x1d42fa,_0x3ed59d,_0x57b93b);const _0x17f131=0x1389;let _0x2b14b8=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0x580486,_0x570140,_0x25ee10,_0x26dfab){const _0x493801=_0x57a27c;super(),_0x201443(this,_0x493801(0xc2),new Set()),_0x201443(this,_0x493801(0x2d7),null),(this[_0x493801(0x12a)]=_0x580486,this[_0x493801(0x22b)]=_0x570140,this[_0x493801(0x287)]=_0x25ee10,this[_0x493801(0xc0)]=_0x26dfab,this[_0x493801(0x15a)]());}[_0x57a27c(0x15a)](){const _0xba2486=_0x57a27c;this[_0xba2486(0x22b)][_0xba2486(0x11e)][_0xba2486(0x11b)](_0x3ffaea[_0xba2486(0x8d)](this[_0xba2486(0x204)]),_0x3ffaea[_0xba2486(0x125)](_0x28bdd1=>{const _0x2c9954=_0xba2486;if(_0x28bdd1){const _0x225ab1=_0x28bdd1[_0x2c9954(0x16d)];return _0x289a68[_0x2c9954(0x8a)](this[_0x2c9954(0x287)]['getCollabCursors$'](this[_0x2c9954(0x12a)][_0x2c9954(0x311)]),this['_themeService'][_0x2c9954(0xc5)])[_0x2c9954(0x11b)](_0x3ffaea[_0x2c9954(0x17c)](([_0xa00a3b,_0x5ee6b0])=>{const _0x501708=_0x2c9954,_0x696bd8=new Map();return _0xa00a3b[_0x501708(0x2d8)]((_0x8b7137,_0x5804f3)=>{const _0x316cd2=_0x501708;if(_0x8b7137['sheetID']===_0x225ab1){const _0xc7ad53={..._0x8b7137};_0xc7ad53['color']=this[_0x316cd2(0xc0)][_0x316cd2(0x220)](_0x8b7137['color']),_0x696bd8['set'](_0x5804f3,_0xc7ad53);}}),{'skeleton':_0x28bdd1,'cursors':_0x696bd8};}));}return _0x289a68['of']({'skeleton':null,'cursors':new Map()});}))[_0xba2486(0x137)](({skeleton:_0xbbe260,cursors:_0x4ec73c})=>{const _0x5b2803=_0xba2486;this[_0x5b2803(0x2b4)](),_0xbbe260&&this[_0x5b2803(0x28f)](_0xbbe260,_0x4ec73c);}),this[_0xba2486(0x22b)][_0xba2486(0x11e)][_0xba2486(0x137)](_0x4f021c=>{const _0x5770fa=_0xba2486;if(_0x4f021c==null)return;const {skeleton:_0x4559ff}=_0x4f021c,{scene:_0x5d3cd6}=this[_0x5770fa(0x12a)];_0x5d3cd6['onPointerMove$'][_0x5770fa(0x104)](_0x1a23cd[_0x5770fa(0xa7)](_0x1d4cb5=>{const _0x5154ef=_0x5770fa;var _0x335025,_0x5096d7;const {offsetX:_0x5e2a5c,offsetY:_0x1a8bb1}=_0x1d4cb5,{x:_0x40bf80,y:_0x2f6f6c}=_0x5d3cd6['getRelativeToViewportCoord'](_0x5e65d8[_0x5154ef(0x161)][_0x5154ef(0x132)]([_0x5e2a5c,_0x1a8bb1])),{scaleX:_0x53e3b2,scaleY:_0x4b1c74}=_0x5d3cd6['getAncestorScale'](),_0x5bbaed=_0x5d3cd6[_0x5154ef(0xb2)](_0x5e65d8[_0x5154ef(0x1ae)][_0x5154ef(0xd1)]),_0x298723=_0x5d3cd6['getVpScrollXYInfoByPosToVp'](_0x5e65d8[_0x5154ef(0x161)][_0x5154ef(0x132)]([_0x40bf80,_0x2f6f6c]),_0x5bbaed),_0x239ed3=_0x4559ff[_0x5154ef(0x30c)](_0x5e2a5c,_0x1a8bb1,_0x53e3b2,_0x4b1c74,_0x298723);((_0x335025=this[_0x5154ef(0x2d7)])==null?void 0x0:_0x335025['column'])===_0x239ed3[_0x5154ef(0x301)]&&((_0x5096d7=this[_0x5154ef(0x2d7)])==null?void 0x0:_0x5096d7[_0x5154ef(0x8c)])===_0x239ed3[_0x5154ef(0x8c)]||this[_0x5154ef(0xc2)]['forEach'](_0x1e1ae5=>{const _0x297efc=_0x5154ef;_0x1e1ae5[_0x297efc(0x88)](_0x239ed3);});},0x64));});}[_0x57a27c(0x28f)](_0x5dcbd8,_0x2f8e99){const _0x29a429=_0x57a27c;var _0x3e644b;const _0x31f55d=(_0x3e644b=this[_0x29a429(0x22b)]['getCurrent']())==null?void 0x0:_0x3e644b['skeleton'];if(!_0x31f55d)return;const _0x325068=this[_0x29a429(0x8b)]();if(!_0x325068)return;this[_0x29a429(0xc2)][_0x29a429(0x2d8)](_0x1eebcd=>{const _0x25925d=_0x29a429;_0x1eebcd[_0x25925d(0x2ab)]();});const {scene:_0x132401}=_0x325068,_0x56b120=_0x5b28aa(Array[_0x29a429(0x267)](_0x2f8e99[_0x29a429(0x24d)]()))[_0x29a429(0x17c)](_0x4c97d0=>{const _0xd4f63c=_0x29a429,{color:_0x4e26cb,range:_0x516489,name:_0x391228,selection:_0x5c105e,sheetID:_0x54a326}=_0x4c97d0,{startColumn:_0x43491e,startRow:_0x3ec86d,endColumn:_0x5bd60a,endRow:_0x5980c0}=_0x516489,_0x34fca0=_0x32a1d7[_0xd4f63c(0x2aa)](_0x3ec86d,_0x43491e,_0x132401,_0x31f55d),_0x4d9ec9=_0x32a1d7[_0xd4f63c(0x2aa)](_0x5980c0,_0x5bd60a,_0x132401,_0x31f55d),{columnHeaderHeightAndMarginTop:_0x4d90d8}=_0x31f55d,{startX:_0xad7d72,startY:_0x511016}=_0x34fca0,{endX:_0x3b3deb,endY:_0x359c54}=_0x4d9ec9,_0x5f4fc0=_0x3b3deb-_0xad7d72,_0x44e8fb=_0x359c54-_0x511016,_0x4916dd={'labelPosition':_0x511016-_0x4d90d8>=_0xf8646c?_0xd4f63c(0xae):'bottom','sheetID':_0x54a326,'range':_0x516489,'color':_0x4e26cb,'name':_0x391228,'selection':_0x5c105e,'left':_0xad7d72,'top':_0x511016,'width':_0x5f4fc0,'height':_0x44e8fb,'evented':!0x1,'zIndex':_0x17f131};return new _0x8d5e3c(_0x391228,_0x4916dd);});_0x132401[_0x29a429(0x310)](_0x56b120,_0x384c0f),this[_0x29a429(0xc2)]=new Set(_0x56b120);}[_0x57a27c(0x2b4)](){const _0x2273cd=_0x57a27c;var _0x237886;(_0x237886=this['_cursors'])==null||_0x237886[_0x2273cd(0x2d8)](_0x56960f=>_0x56960f['dispose']());}['_getSheetObject'](){const _0x3835f1=_0x57a27c;return _0x32a1d7[_0x3835f1(0x14b)](this[_0x3835f1(0x12a)]['unit'],this[_0x3835f1(0x12a)]);}};_0x2b14b8=_0x59f5d0([_0x5e0f5b(0x1,_0x1a23cd['Inject'](_0x32a1d7[_0x57a27c(0xcc)])),_0x5e0f5b(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x503296)),_0x5e0f5b(0x3,_0x1a23cd['Inject'](_0x1a23cd[_0x57a27c(0x17e)]))],_0x2b14b8);function _0x5b28aa(_0x49bfee){const _0x2f2541=_0x57a27c,_0x1df9c5=new Map();return _0x49bfee['forEach'](_0x428ca4=>{const _0x2815b5=_0x4087;if(_0x1df9c5[_0x2815b5(0x1d3)](_0x428ca4[_0x2815b5(0x271)])){const _0x5f0ba4=_0x1df9c5[_0x2815b5(0x18f)](_0x428ca4[_0x2815b5(0x271)]);_0x5f0ba4[_0x2815b5(0xb6)]+=',\x20'+_0x428ca4[_0x2815b5(0xb6)];}else _0x1df9c5['set'](_0x428ca4['selection'],_0x428ca4);}),Array[_0x2f2541(0x267)](_0x1df9c5[_0x2f2541(0x24d)]());}var _0x599d31=function(){const _0x2d25ea=_0x57a27c;return _0x599d31=Object['assign']||function(_0x2c9f64){const _0x6e2ebf=_0x4087;for(var _0x35b4e8,_0x3979c2=0x1,_0x5e2eb3=arguments[_0x6e2ebf(0x25b)];_0x3979c2<_0x5e2eb3;_0x3979c2++){_0x35b4e8=arguments[_0x3979c2];for(var _0xfc6344 in _0x35b4e8)Object[_0x6e2ebf(0x1fe)][_0x6e2ebf(0x246)][_0x6e2ebf(0xc6)](_0x35b4e8,_0xfc6344)&&(_0x2c9f64[_0xfc6344]=_0x35b4e8[_0xfc6344]);}return _0x2c9f64;},_0x599d31[_0x2d25ea(0x232)](this,arguments);},_0x1853fb=function(_0x24763e,_0x125017){const _0x2d8ce3=_0x57a27c;var _0x15fe1d={};for(var _0x1cf451 in _0x24763e)Object['prototype'][_0x2d8ce3(0x246)][_0x2d8ce3(0xc6)](_0x24763e,_0x1cf451)&&_0x125017[_0x2d8ce3(0x30e)](_0x1cf451)<0x0&&(_0x15fe1d[_0x1cf451]=_0x24763e[_0x1cf451]);if(_0x24763e!=null&&typeof Object['getOwnPropertySymbols']==_0x2d8ce3(0x123)){for(var _0x11d624=0x0,_0x1cf451=Object['getOwnPropertySymbols'](_0x24763e);_0x11d624<_0x1cf451[_0x2d8ce3(0x25b)];_0x11d624++)_0x125017['indexOf'](_0x1cf451[_0x11d624])<0x0&&Object[_0x2d8ce3(0x1fe)][_0x2d8ce3(0x135)][_0x2d8ce3(0xc6)](_0x24763e,_0x1cf451[_0x11d624])&&(_0x15fe1d[_0x1cf451[_0x11d624]]=_0x24763e[_0x1cf451[_0x11d624]]);}return _0x15fe1d;},_0x363641=_0x5fca6e['forwardRef'](function(_0x1438ca,_0x4f6042){const _0x502ba3=_0x57a27c;var _0x2b990e=_0x1438ca[_0x502ba3(0x9d)],_0x3009da=_0x1438ca['id'],_0x3a8b9f=_0x1438ca[_0x502ba3(0x1e7)],_0x3f5fe2=_0x1438ca[_0x502ba3(0x166)],_0x4a9e78=_0x1853fb(_0x1438ca,[_0x502ba3(0x9d),'id','className',_0x502ba3(0x166)]),_0x320d58=_0x502ba3(0x194)[_0x502ba3(0x171)](_0x3009da,'\x20')[_0x502ba3(0x171)](_0x3a8b9f||'')['trim'](),_0x44a9e6=_0x5fca6e[_0x502ba3(0x233)]('_'[_0x502ba3(0x171)](_0x1646ec()));return _0x2e1a3d(_0x2b990e,''[_0x502ba3(0x171)](_0x3009da),{'defIds':_0x2b990e[_0x502ba3(0x2a5)],'idSuffix':_0x44a9e6[_0x502ba3(0x1e6)]},_0x599d31({'ref':_0x4f6042,'className':_0x320d58},_0x4a9e78),_0x3f5fe2);});function _0x2e1a3d(_0x460b1f,_0x585232,_0x1f82f3,_0x2f87ac,_0x1caab5){const _0x3b91de=_0x57a27c;return _0x5fca6e[_0x3b91de(0x22f)](_0x460b1f[_0x3b91de(0x258)],_0x599d31(_0x599d31({'key':_0x585232},_0x45e9a8(_0x460b1f,_0x1f82f3,_0x1caab5)),_0x2f87ac),(_0x213b0a(_0x460b1f,_0x1f82f3)[_0x3b91de(0x284)]||[])[_0x3b91de(0x17c)](function(_0x577ad8,_0x538c18){const _0x395569=_0x3b91de;return _0x2e1a3d(_0x577ad8,''[_0x395569(0x171)](_0x585232,'-')[_0x395569(0x171)](_0x460b1f[_0x395569(0x258)],'-')[_0x395569(0x171)](_0x538c18),_0x1f82f3,void 0x0,_0x1caab5);}));}function _0x45e9a8(_0x382fc7,_0x135e90,_0x3178d6){const _0xea2773=_0x57a27c;var _0x3642b8=_0x599d31({},_0x382fc7['attrs']);_0x3178d6!=null&&_0x3178d6[_0xea2773(0x19c)]&&_0x3642b8[_0xea2773(0xc9)]==='colorChannel1'&&(_0x3642b8[_0xea2773(0xc9)]=_0x3178d6[_0xea2773(0x19c)]),_0x382fc7[_0xea2773(0x258)]===_0xea2773(0x281)&&_0x3642b8['id']&&(_0x3642b8['id']=_0x3642b8['id']+_0x135e90[_0xea2773(0xc4)]),Object[_0xea2773(0x151)](_0x3642b8)['forEach'](function(_0x12aa50){const _0x125731=_0xea2773;var _0x76b4a0=_0x12aa50[0x0],_0x5ddb9e=_0x12aa50[0x1];_0x76b4a0===_0x125731(0x281)&&typeof _0x5ddb9e==_0x125731(0x1e5)&&(_0x3642b8[_0x76b4a0]=_0x5ddb9e[_0x125731(0x2fc)](/url\(#(.*)\)/,_0x125731(0x2af)[_0x125731(0x171)](_0x135e90[_0x125731(0xc4)],')')));});var _0x3b6f99=_0x135e90['defIds'];return!_0x3b6f99||_0x3b6f99[_0xea2773(0x25b)]===0x0||(_0x382fc7[_0xea2773(0x258)]===_0xea2773(0x2cd)&&_0x3642b8[_0xea2773(0x1e8)]&&(_0x3642b8[_0xea2773(0x1e8)]=_0x3642b8[_0xea2773(0x1e8)]+_0x135e90['idSuffix']),Object[_0xea2773(0x151)](_0x3642b8)[_0xea2773(0x2d8)](function(_0x2b323e){const _0x2b1251=_0xea2773;var _0xdbac58=_0x2b323e[0x0],_0x423001=_0x2b323e[0x1];typeof _0x423001=='string'&&(_0x3642b8[_0xdbac58]=_0x423001[_0x2b1251(0x2fc)](/url\(#(.*)\)/,_0x2b1251(0x2af)[_0x2b1251(0x171)](_0x135e90['idSuffix'],')')));})),_0x3642b8;}function _0x213b0a(_0x1bdf20,_0x538de8){const _0x14d3c6=_0x57a27c;var _0x5bda94,_0x587832=_0x538de8[_0x14d3c6(0x2a5)];return!_0x587832||_0x587832['length']===0x0?_0x1bdf20:_0x1bdf20[_0x14d3c6(0x258)]===_0x14d3c6(0x18c)&&(!((_0x5bda94=_0x1bdf20['children'])===null||_0x5bda94===void 0x0)&&_0x5bda94['length'])?_0x599d31(_0x599d31({},_0x1bdf20),{'children':_0x1bdf20['children'][_0x14d3c6(0x17c)](function(_0x28212d){const _0x3671c3=_0x14d3c6;return typeof _0x28212d['attrs']['id']==_0x3671c3(0x1e5)&&_0x587832&&_0x587832['indexOf'](_0x28212d[_0x3671c3(0x1d0)]['id'])>-0x1?_0x599d31(_0x599d31({},_0x28212d),{'attrs':_0x599d31(_0x599d31({},_0x28212d[_0x3671c3(0x1d0)]),{'id':_0x28212d['attrs']['id']+_0x538de8[_0x3671c3(0xc4)]})}):_0x28212d;})}):_0x1bdf20;}function _0x1646ec(){const _0x51eed3=_0x57a27c;return Math[_0x51eed3(0x238)]()[_0x51eed3(0x24a)](0x24)['substring'](0x2,0x8);}_0x363641['displayName']=_0x57a27c(0x9c);var _0x1cf0d6={'tag':_0x57a27c(0x2e0),'attrs':{'fill':_0x57a27c(0xd6),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x57a27c(0x143),'attrs':{'stroke':_0x57a27c(0x1ee),'d':_0x57a27c(0x293),'strokeLinecap':_0x57a27c(0x27b),'strokeLinejoin':_0x57a27c(0x27b),'strokeWidth':1.2}}]},{'tag':_0x57a27c(0x18c),'attrs':{},'children':[{'tag':_0x57a27c(0x25f),'attrs':{'id':_0x57a27c(0x211)},'children':[{'tag':_0x57a27c(0x143),'attrs':{'fill':_0x57a27c(0x192),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x150ab2=_0x5fca6e[_0x57a27c(0x2a1)](function(_0x50b23b,_0x1e7dd4){const _0xa33abf=_0x57a27c;return _0x5fca6e[_0xa33abf(0x22f)](_0x363641,Object['assign']({},_0x50b23b,{'id':'off-line-single','ref':_0x1e7dd4,'icon':_0x1cf0d6}));});_0x150ab2[_0x57a27c(0x17a)]=_0x57a27c(0x168);var _0x1a8149={'tag':'svg','attrs':{'fill':'none','viewBox':_0x57a27c(0x1d6),'width':_0x57a27c(0x10d),'height':_0x57a27c(0x10d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x57a27c(0x143),'attrs':{'stroke':_0x57a27c(0x1ee),'d':_0x57a27c(0xdc),'strokeLinecap':_0x57a27c(0x27b),'strokeLinejoin':_0x57a27c(0x27b),'strokeWidth':1.2}}]},{'tag':_0x57a27c(0x18c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x57a27c(0x223)},'children':[{'tag':_0x57a27c(0x143),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x57a27c(0x2c5)}}]}]}],'defIds':[_0x57a27c(0x223)]},_0x333677=_0x5fca6e[_0x57a27c(0x2a1)](function(_0x497b7b,_0x2419c9){const _0x23d1f8=_0x57a27c;return _0x5fca6e[_0x23d1f8(0x22f)](_0x363641,Object[_0x23d1f8(0x102)]({},_0x497b7b,{'id':'on-line-single','ref':_0x2419c9,'icon':_0x1a8149}));});_0x333677['displayName']='OnLineSingle';function _0x6c33c2(_0x5d116d){const _0x371b35=_0x57a27c;switch(_0x5d116d){case _0x2aa44c[_0x371b35(0x224)][_0x371b35(0xbe)]:return _0x371b35(0x13e);case _0x2aa44c['CollaborationStatus'][_0x371b35(0x269)]:return _0x371b35(0x126);case _0x2aa44c[_0x371b35(0x224)][_0x371b35(0x201)]:return _0x371b35(0x29b);case _0x2aa44c[_0x371b35(0x224)][_0x371b35(0x188)]:return _0x371b35(0x16c);case _0x2aa44c[_0x371b35(0x224)][_0x371b35(0x2f2)]:case _0x2aa44c[_0x371b35(0x224)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2aa44c[_0x371b35(0x224)]['SYNCED']:case _0x2aa44c['CollaborationStatus'][_0x371b35(0xe2)]:return _0x371b35(0x26f);}}function _0x5566bb(_0x46c045){const _0xd1597=_0x57a27c,{status$:_0x47a9e4}=_0x46c045,_0x801506=_0x2cc018[_0xd1597(0x26c)](_0x47a9e4,_0x2aa44c[_0xd1597(0x224)]['NOT_COLLAB']),_0x378c27=_0x2cc018['useDependency'](_0x1a23cd['LocaleService']),_0x4d445d=_0x2cc018[_0xd1597(0x191)](_0x2aa44c[_0xd1597(0x17b)]),_0x983f27=_0x801506!==_0x2aa44c['CollaborationStatus']['OFFLINE'],_0x3f9134=_0x378c27['t'](_0x6c33c2(_0x801506)),_0x5d11f4=_0x983f27?_0xb49986[_0xd1597(0x18e)](_0x333677,{}):_0xb49986['jsx'](_0x150ab2,{}),_0x470917=_0x5fca6e[_0xd1597(0x315)](()=>{const _0x270a1c=_0xd1597;_0x983f27||_0x4d445d[_0x270a1c(0x1ab)]();},[_0x983f27,_0x4d445d]);function _0x47a6d8(){const _0x4d42bf=_0xd1597;return _0xb49986[_0x4d42bf(0xe9)](_0x4d42bf(0x141),{'className':_0x4d42bf(0x1aa),'onClick':_0x470917,'children':[_0xb49986[_0x4d42bf(0x18e)](_0x4d42bf(0x141),{'className':_0x14adf2[_0x4d42bf(0x1c5)](_0x4d42bf(0x1c2),_0x983f27?'univer-text-green-500':_0x4d42bf(0x2ee)),'children':_0x5d11f4}),_0xb49986[_0x4d42bf(0x18e)]('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x3f9134})]});}return _0x983f27?_0x47a6d8():_0xb49986[_0xd1597(0x18e)](_0x14adf2['Tooltip'],{'title':_0x378c27['t'](_0xd1597(0x227)),'children':_0x47a6d8()});}var _0x470cbd=Object['getOwnPropertyDescriptor'],_0x6a859d=(_0x34c887,_0xebde91,_0x772699,_0x3a9b8f)=>{const _0x3973cf=_0x57a27c;for(var _0x25ee6c=_0x3a9b8f>0x1?void 0x0:_0x3a9b8f?_0x470cbd(_0xebde91,_0x772699):_0xebde91,_0x3fdefd=_0x34c887[_0x3973cf(0x25b)]-0x1,_0x45b895;_0x3fdefd>=0x0;_0x3fdefd--)(_0x45b895=_0x34c887[_0x3fdefd])&&(_0x25ee6c=_0x45b895(_0x25ee6c)||_0x25ee6c);return _0x25ee6c;},_0x3aaf0c=(_0x4b29bb,_0x641940)=>(_0x5529bd,_0x58c5a7)=>_0x641940(_0x5529bd,_0x58c5a7,_0x4b29bb);_0x44eef8['DesktopCollaborationStatusDisplayController']=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x76b745,_0x38414a,_0x4d4bce,_0x53f91c){const _0x95328b=_0x57a27c;super(),_0x201443(this,_0x95328b(0x304),new _0x289a68['BehaviorSubject'](_0x2aa44c[_0x95328b(0x224)][_0x95328b(0x188)])),(this[_0x95328b(0x127)]=_0x76b745,this['_injector']=_0x38414a,this[_0x95328b(0x206)]=_0x4d4bce,this[_0x95328b(0x1e0)]=_0x53f91c,this[_0x95328b(0x9a)](),this[_0x95328b(0x99)]());}[_0x57a27c(0x99)](){const _0x42dda6=_0x57a27c;this[_0x42dda6(0x138)](this[_0x42dda6(0x127)][_0x42dda6(0x2a0)]['pipe'](_0x289a68[_0x42dda6(0x125)](()=>{const _0x3db263=_0x42dda6,_0x3f3e45=this[_0x3db263(0x127)][_0x3db263(0x273)]();return _0x3f3e45?this['_collaborationController'][_0x3db263(0x187)](_0x3f3e45['getUnitId']()):_0x289a68['of'](null);}),_0x289a68[_0x42dda6(0x125)](_0x4006e5=>_0x4006e5?_0x4006e5[_0x42dda6(0x96)]:_0x289a68['of'](_0x2aa44c[_0x42dda6(0x224)]['NOT_COLLAB'])))['subscribe'](_0x311411=>{const _0x1552b3=_0x42dda6;this['_status$'][_0x1552b3(0x263)](_0x311411);}));}[_0x57a27c(0x9a)](){const _0x4f08e2=_0x57a27c;this['disposeWithMe'](this['_uiPartsService'][_0x4f08e2(0xdd)](_0x2cc018[_0x4f08e2(0x20b)]['HEADER_MENU'],()=>_0x2cc018[_0x4f08e2(0x17d)](_0x25401e({'status$':this[_0x4f08e2(0x304)][_0x4f08e2(0xcf)]()}),this['_injector'])));}},_0x44eef8[_0x57a27c(0x31d)]=_0x6a859d([_0x3aaf0c(0x0,_0x1a23cd[_0x57a27c(0x21c)]),_0x3aaf0c(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x3aaf0c(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c[_0x57a27c(0x209)])),_0x3aaf0c(0x3,_0x2cc018['IUIPartsService'])],_0x44eef8['DesktopCollaborationStatusDisplayController']);function _0x25401e(_0x3146c6){const {status$:_0x16fb04}=_0x3146c6;return function(){return _0xb49986['jsx'](_0x5566bb,{'status$':_0x16fb04});};}var _0x45397d=Object[_0x57a27c(0x1f2)],_0x14e9e7=(_0x1af558,_0x125c45,_0x268c1a,_0x396ad7)=>{for(var _0x4fb98f=_0x396ad7>0x1?void 0x0:_0x396ad7?_0x45397d(_0x125c45,_0x268c1a):_0x125c45,_0x4f7816=_0x1af558['length']-0x1,_0x38d322;_0x4f7816>=0x0;_0x4f7816--)(_0x38d322=_0x1af558[_0x4f7816])&&(_0x4fb98f=_0x38d322(_0x4fb98f)||_0x4fb98f);return _0x4fb98f;},_0x41e22c=(_0x5f1b8e,_0x495e40)=>(_0xd898e,_0x247f3e)=>_0x495e40(_0xd898e,_0x247f3e,_0x5f1b8e);let _0x5d0ba5=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x4f6f85,_0x5e7211,_0x15ba24,_0x251809,_0x3db170,_0x1ace42){const _0x2cadb4=_0x57a27c;super(),this[_0x2cadb4(0x23d)]=_0x4f6f85,this['_localCacheService']=_0x5e7211,this[_0x2cadb4(0x286)]=_0x15ba24,this[_0x2cadb4(0xf4)]=_0x251809,this[_0x2cadb4(0x10c)]=_0x3db170,this[_0x2cadb4(0xaf)]=_0x1ace42,this[_0x2cadb4(0x2bc)](),this[_0x2cadb4(0x93)]();}[_0x57a27c(0x2bc)](){const _0x473a85=_0x57a27c;this['disposeWithMe'](this[_0x473a85(0x23d)][_0x473a85(0x9f)](()=>{const _0x4547a1=_0x473a85;if(this[_0x4547a1(0x215)][_0x4547a1(0xf6)][_0x4547a1(0x2fd)])return this[_0x4547a1(0xaf)]['t'](_0x4547a1(0x142));}));}[_0x57a27c(0x93)](){const _0x18c8f1=_0x57a27c;this[_0x18c8f1(0x138)](this[_0x18c8f1(0x286)][_0x18c8f1(0x153)][_0x18c8f1(0x137)](_0x3ec99f=>{const _0x23f9ab=_0x18c8f1;_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0xd4)]&&this[_0x23f9ab(0xf4)][_0x23f9ab(0x24e)]({'type':_0x14adf2[_0x23f9ab(0xe8)][_0x23f9ab(0x12c)],'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x2c6))}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0x17f)]&&this['_messageService']['show']({'type':_0x14adf2[_0x23f9ab(0xe8)][_0x23f9ab(0x12c)],'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x25d))}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)]['PERMISSION_DENIED']&&this['_notificationService'][_0x23f9ab(0x24e)]({'title':this['_localeService']['t'](_0x23f9ab(0x150)),'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x26e)),'type':_0x23f9ab(0x1e1),'duration':0x0}),_0x3ec99f['id']===_0x2aa44c['CollaborationUIEventId'][_0x23f9ab(0x269)]&&this[_0x23f9ab(0xf4)][_0x23f9ab(0x24e)]({'type':_0x14adf2['MessageType']['Error'],'content':this['_localeService']['t'](_0x23f9ab(0x25d))+'('+_0x3ec99f[_0x23f9ab(0x114)]+')'}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0x152)]&&this[_0x23f9ab(0xf4)]['show']({'type':_0x14adf2['MessageType'][_0x23f9ab(0x12c)],'content':this[_0x23f9ab(0xaf)]['t'](_0x3ec99f[_0x23f9ab(0x114)]||'')}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0x207)]&&this['_messageService'][_0x23f9ab(0x24e)]({'type':_0x14adf2[_0x23f9ab(0xe8)][_0x23f9ab(0x12c)],'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x24c))}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0xa3)]&&this[_0x23f9ab(0xf4)][_0x23f9ab(0x24e)]({'type':_0x14adf2[_0x23f9ab(0xe8)][_0x23f9ab(0x257)],'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x305))}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x23f9ab(0x24e)]({'type':_0x14adf2['MessageType'][_0x23f9ab(0x257)],'content':this['_localeService']['t'](_0x23f9ab(0x1c1))});}));}};_0x5d0ba5=_0x14e9e7([_0x41e22c(0x0,_0x2cc018[_0x57a27c(0x195)]),_0x41e22c(0x1,_0x2aa44c[_0x57a27c(0x200)]),_0x41e22c(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c[_0x57a27c(0xa6)])),_0x41e22c(0x3,_0x2cc018[_0x57a27c(0x159)]),_0x41e22c(0x4,_0x2cc018['INotificationService']),_0x41e22c(0x5,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x186)]))],_0x5d0ba5);const _0x129ee8=_0x57a27c(0xf0),_0x280d21={},_0x2081f5=_0x1a23cd['createIdentifier'](_0x57a27c(0x27a));var _0x36ba0=Object[_0x57a27c(0x1f2)],_0x11ef85=(_0x1b54d3,_0x1cfd89,_0x65debc,_0x161fc0)=>{const _0x1ef302=_0x57a27c;for(var _0x1357ab=_0x161fc0>0x1?void 0x0:_0x161fc0?_0x36ba0(_0x1cfd89,_0x65debc):_0x1cfd89,_0x121a1a=_0x1b54d3[_0x1ef302(0x25b)]-0x1,_0x3769ca;_0x121a1a>=0x0;_0x121a1a--)(_0x3769ca=_0x1b54d3[_0x121a1a])&&(_0x1357ab=_0x3769ca(_0x1357ab)||_0x1357ab);return _0x1357ab;},_0x4e51d9=(_0xcae474,_0x3412bf)=>(_0x5b2b62,_0x3a0290)=>_0x3412bf(_0x5b2b62,_0x3a0290,_0xcae474);_0x44eef8['CollaborationDataLoaderController']=class extends _0x1a23cd['RxDisposable']{constructor(_0xc3dbc1,_0x4d9cac,_0x224b31,_0x2c4d0c,_0x3b4933){const _0x13a16f=_0x57a27c;super(),this['_urlService']=_0xc3dbc1,this[_0x13a16f(0x196)]=_0x4d9cac,this['_commandService']=_0x224b31,this['_dataLoaderService']=_0x2c4d0c,_0x3b4933?_0x3b4933==null||_0x3b4933[_0x13a16f(0x2c1)]()[_0x13a16f(0x113)](()=>this[_0x13a16f(0x15a)]()):(this[_0x13a16f(0x196)][_0x13a16f(0x2f7)](_0x13a16f(0x155),_0x13a16f(0x2e1)),this[_0x13a16f(0x15a)]());}async['_init'](){const _0x3e4858=_0x57a27c,_0x141886=this[_0x3e4858(0x321)][_0x3e4858(0x28a)]('unit'),_0x30790c=this[_0x3e4858(0x321)][_0x3e4858(0x28a)](_0x3e4858(0x288)),_0x588ecb=this[_0x3e4858(0x321)][_0x3e4858(0x28a)]('subunit');if(!_0x141886||!_0x30790c){this[_0x3e4858(0x196)][_0x3e4858(0x2f7)](_0x3e4858(0x155),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x21c9cd=await this[_0x3e4858(0x2ba)][_0x3e4858(0x1c3)](_0x141886,Number(_0x30790c),_0x588ecb);_0x21c9cd&&_0x21c9cd instanceof _0x1a23cd[_0x3e4858(0x122)]&&this[_0x3e4858(0x1f8)](_0x21c9cd);}async[_0x57a27c(0x1f8)](_0x339e63){const _0x50e928=_0x57a27c;await this['_updateSubUnitFromURLParams'](_0x339e63),_0x339e63[_0x50e928(0x134)]['pipe'](_0x289a68['takeUntil'](this[_0x50e928(0x204)]))[_0x50e928(0x137)](_0x367bfe=>{const _0x348deb=_0x50e928;_0x367bfe&&this[_0x348deb(0x312)](_0x367bfe);}),this[_0x50e928(0x321)][_0x50e928(0x285)][_0x50e928(0x11b)](_0x289a68[_0x50e928(0x8d)](this[_0x50e928(0x204)]))[_0x50e928(0x137)](()=>this[_0x50e928(0xdb)](_0x339e63));}[_0x57a27c(0x312)](_0xdd2b23,_0x5e8531=!0x1){const _0x321917=_0x57a27c,_0x48ef03=this[_0x321917(0x321)][_0x321917(0x28a)](_0x321917(0x105));_0xdd2b23[_0x321917(0x242)]()!==_0x48ef03&&this['_urlService'][_0x321917(0x2d2)](_0x321917(0x105),_0xdd2b23[_0x321917(0x242)](),_0x5e8531);}async[_0x57a27c(0xdb)](_0x16d00b){const _0x5292db=_0x57a27c;var _0x1cbde2;const _0x59c6b8=this['_urlService'][_0x5292db(0x28a)](_0x5292db(0x105));if(!_0x59c6b8||!_0x16d00b[_0x5292db(0x2e2)](_0x59c6b8)){const _0x36b1a1=_0x16d00b[_0x5292db(0x1dc)]()[0x0],_0x2f9daf=_0x16d00b[_0x5292db(0x2e2)](_0x36b1a1);if(!_0x2f9daf)return;this[_0x5292db(0x312)](_0x2f9daf,!0x0),await this['_commandService']['executeCommand'](_0x41a04b[_0x5292db(0x165)]['id'],{'unitId':_0x16d00b[_0x5292db(0x1ba)](),'subUnitId':_0x36b1a1});return;}((_0x1cbde2=_0x16d00b[_0x5292db(0x87)]())==null?void 0x0:_0x1cbde2['getSheetId']())!==_0x59c6b8&&await this[_0x5292db(0x1c7)][_0x5292db(0x1e2)](_0x41a04b['SetWorksheetActivateCommand']['id'],{'unitId':_0x16d00b[_0x5292db(0x1ba)](),'subUnitId':_0x59c6b8});}},_0x44eef8[_0x57a27c(0x1e9)]=_0x11ef85([_0x4e51d9(0x0,_0x2081f5),_0x4e51d9(0x1,_0x1a23cd[_0x57a27c(0x109)]),_0x4e51d9(0x2,_0x1a23cd[_0x57a27c(0x28c)]),_0x4e51d9(0x3,_0x1a23cd['Inject'](_0x2aa44c[_0x57a27c(0xa0)])),_0x4e51d9(0x4,_0x1a23cd[_0x57a27c(0x1b7)](_0x3e9542[_0x57a27c(0x156)]))],_0x44eef8[_0x57a27c(0x1e9)]);var _0x2be078=Object[_0x57a27c(0x1f2)],_0x3f11f3=(_0x7a782d,_0x35d428,_0x527093,_0x1e8d86)=>{const _0x19f17f=_0x57a27c;for(var _0x253b54=_0x1e8d86>0x1?void 0x0:_0x1e8d86?_0x2be078(_0x35d428,_0x527093):_0x35d428,_0xd4958=_0x7a782d[_0x19f17f(0x25b)]-0x1,_0x45d628;_0xd4958>=0x0;_0xd4958--)(_0x45d628=_0x7a782d[_0xd4958])&&(_0x253b54=_0x45d628(_0x253b54)||_0x253b54);return _0x253b54;},_0x520067=(_0x5bc2a8,_0x36b1e7)=>(_0x3143bd,_0x10f3cc)=>_0x36b1e7(_0x3143bd,_0x10f3cc,_0x5bc2a8);let _0x1cfb21=class{constructor(_0x1bdf84,_0x4440c9,_0x4c2507){const _0x5e0e36=_0x57a27c;this[_0x5e0e36(0x31f)]=_0x1bdf84,this[_0x5e0e36(0x30f)]=_0x4440c9,this[_0x5e0e36(0x193)]=_0x4c2507;}[_0x57a27c(0x289)](_0x40c459){const _0x20c3db=_0x57a27c;this[_0x20c3db(0x118)](_0x40c459),this[_0x20c3db(0x22d)](_0x40c459);}['transformRemoteChangeset'](_0x39c926){const _0x22d76c=_0x57a27c,{unitID:_0x481659}=_0x39c926,_0x16b672=this[_0x22d76c(0x193)]['getRenderById'](_0x481659)[_0x22d76c(0x164)](_0xbf3303[_0x22d76c(0x95)]),{redoCache:_0x569527}=_0x16b672['getUndoRedoMutationParamsCache']();if(_0x569527[_0x22d76c(0x25b)]===0x0)return _0x39c926;let _0x443f14=_0x1a23cd['Tools'][_0x22d76c(0xd2)](_0x39c926[_0x22d76c(0xb8)][0x0]);for(let _0x23048d=0x0;_0x23048d<_0x569527['length'];_0x23048d++){const _0x1557ff={'id':_0x22d76c(0x10f),'params':{..._0x569527[_0x23048d]}},_0xd2bc78=this[_0x22d76c(0x30f)][_0x22d76c(0x149)](_0x443f14,_0x1557ff,!0x1);if(_0x645262['isTransformMutationFailure'](_0xd2bc78))throw _0xd2bc78[_0x22d76c(0x1e1)];_0x443f14=_0xd2bc78[_0x22d76c(0x12f)];}return{..._0x1a23cd['Tools'][_0x22d76c(0xd2)](_0x39c926),'mutations':[_0x443f14]};}[_0x57a27c(0x118)](_0x195773){const _0xa3fd6f=_0x57a27c,{unitID:_0x358923}=_0x195773,_0x12188a=this['_renderManagerService'][_0xa3fd6f(0x2b6)](_0x358923)['with'](_0xbf3303[_0xa3fd6f(0x95)]),{undoCache:_0x43209b,redoCache:_0x4748e2}=_0x12188a[_0xa3fd6f(0x252)]();if(_0x43209b['length']===0x0||_0x4748e2[_0xa3fd6f(0x25b)]===0x0)return;const _0x419788=[],_0x2793c7=[];let _0x26c3d4=_0x1a23cd[_0xa3fd6f(0x31a)][_0xa3fd6f(0xd2)](_0x195773['mutations'][0x0]),_0x1a9179=_0x1a23cd[_0xa3fd6f(0x31a)][_0xa3fd6f(0xd2)](_0x195773[_0xa3fd6f(0xb8)][0x0]);for(let _0x37e24e=_0x43209b[_0xa3fd6f(0x25b)]-0x1;_0x37e24e>=0x0;_0x37e24e--){const _0x5d65d4={'id':_0xa3fd6f(0x10f),'params':{..._0x43209b[_0x37e24e]}},_0x4f470a={'id':_0xa3fd6f(0x10f),'params':{..._0x4748e2[_0x37e24e]}},_0x3db50f=this[_0xa3fd6f(0x30f)][_0xa3fd6f(0x149)](_0x26c3d4,_0x5d65d4,!0x1),_0x12a962=this[_0xa3fd6f(0x30f)][_0xa3fd6f(0x149)](_0x1a9179,_0x4f470a,!0x1);if(_0x645262['isTransformMutationFailure'](_0x3db50f))throw _0x3db50f['error'];if(_0x645262['isTransformMutationFailure'](_0x12a962))throw _0x12a962['error'];_0x419788[_0xa3fd6f(0x1c0)](_0x3db50f[_0xa3fd6f(0x100)][_0xa3fd6f(0x2c0)]),_0x2793c7[_0xa3fd6f(0x1c0)](_0x12a962[_0xa3fd6f(0x100)]['params']),_0x26c3d4=_0x3db50f[_0xa3fd6f(0x12f)],_0x1a9179=_0x12a962[_0xa3fd6f(0x12f)];}_0x12188a[_0xa3fd6f(0xf2)]({'undoCache':_0x419788,'redoCache':_0x2793c7});}[_0x57a27c(0x22d)](_0xce3fc4){const _0x3015d9=_0x57a27c,{unitID:_0x21a3b9}=_0xce3fc4,_0x400541=this[_0x3015d9(0x193)]['getRenderById'](_0x21a3b9)['with'](_0xbf3303[_0x3015d9(0x95)]),_0x1d24f=_0x400541['getActiveRange']();if(_0x1d24f==null)return;const _0x522738=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xce3fc4[_0x3015d9(0xe5)],'actions':null,'textRanges':[_0x1d24f]}}],_0x2d7f93=this['_transformService'][_0x3015d9(0x116)](_0xce3fc4,_0x522738);if(!_0x645262[_0x3015d9(0x120)](_0x2d7f93))throw _0x2d7f93[_0x3015d9(0x1e1)];const _0xa11f14=_0x2d7f93[_0x3015d9(0x100)][0x0]['params'][_0x3015d9(0x11c)];Array[_0x3015d9(0x279)](_0xa11f14)&&_0xa11f14[_0x3015d9(0x25b)]&&_0x400541[_0x3015d9(0x1d7)](_0xa11f14[0x0]);}};_0x1cfb21=_0x3f11f3([_0x520067(0x0,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x520067(0x1,_0x645262[_0x57a27c(0x26d)]),_0x520067(0x2,_0x5e65d8[_0x57a27c(0xeb)])],_0x1cfb21);var _0x5f0ec8=Object['getOwnPropertyDescriptor'],_0x24bde7=(_0x4e95d5,_0x1baa39,_0x4bbeaa,_0x500b47)=>{const _0xcb2348=_0x57a27c;for(var _0x31e427=_0x500b47>0x1?void 0x0:_0x500b47?_0x5f0ec8(_0x1baa39,_0x4bbeaa):_0x1baa39,_0x5b8449=_0x4e95d5[_0xcb2348(0x25b)]-0x1,_0x3949a4;_0x5b8449>=0x0;_0x5b8449--)(_0x3949a4=_0x4e95d5[_0x5b8449])&&(_0x31e427=_0x3949a4(_0x31e427)||_0x31e427);return _0x31e427;},_0x541057=(_0x1894f4,_0x4bca42)=>(_0x5ec7e9,_0x19d527)=>_0x4bca42(_0x5ec7e9,_0x19d527,_0x1894f4);let _0x2e8f1a=class{constructor(_0xfb06b3,_0xcd4b6,_0x27d1e1){const _0x3d45c1=_0x57a27c;this[_0x3d45c1(0x31f)]=_0xfb06b3,this[_0x3d45c1(0x30f)]=_0xcd4b6,this[_0x3d45c1(0x13d)]=_0x27d1e1;}['transformStateCache'](_0x2a61d9){const _0x236a23=_0x57a27c;this[_0x236a23(0x2c9)](_0x2a61d9);}[_0x57a27c(0x2ad)](_0x54d311){const _0x39dbde=_0x57a27c,{unitID:_0x11aee1}=_0x54d311,{collaboration:_0x4bb2c8}=this[_0x39dbde(0x13d)]['getStateCache'](_0x11aee1);if(_0x4bb2c8[_0x39dbde(0x25b)]===0x0)return _0x54d311;let _0x1cb53a=_0x1a23cd['Tools'][_0x39dbde(0xd2)](_0x54d311[_0x39dbde(0xb8)][0x0]);for(let _0x5a7151=0x0;_0x5a7151<_0x4bb2c8[_0x39dbde(0x25b)];_0x5a7151++){const _0x15f808={'id':_0x39dbde(0x10f),'params':{'unitId':_0x4bb2c8[_0x5a7151][_0x39dbde(0x311)],..._0x4bb2c8[_0x5a7151][_0x39dbde(0x1da)]}},_0x33fcad=this['_transformService'][_0x39dbde(0x149)](_0x1cb53a,_0x15f808,!0x1);if(_0x645262['isTransformMutationFailure'](_0x33fcad))throw _0x33fcad['error'];_0x1cb53a=_0x33fcad[_0x39dbde(0x12f)];}return{..._0x1a23cd[_0x39dbde(0x31a)][_0x39dbde(0xd2)](_0x54d311),'mutations':[_0x1cb53a]};}[_0x57a27c(0x2c9)](_0x550d37){const _0x18aba1=_0x57a27c,{unitID:_0x36dec3}=_0x550d37,{history:_0xf57cb,collaboration:_0x570e20}=this[_0x18aba1(0x13d)][_0x18aba1(0x1fb)](_0x36dec3);if(_0xf57cb[_0x18aba1(0x25b)]===0x0&&_0x570e20[_0x18aba1(0x25b)]===0x0)return;const _0x24443b=[],_0x233dcf=[];let _0x48a9e0=_0x1a23cd[_0x18aba1(0x31a)]['deepClone'](_0x550d37[_0x18aba1(0xb8)][0x0]),_0x1e8020=_0x1a23cd[_0x18aba1(0x31a)][_0x18aba1(0xd2)](_0x550d37[_0x18aba1(0xb8)][0x0]);for(let _0x343b9a=_0xf57cb['length']-0x1;_0x343b9a>=0x0;_0x343b9a--){const _0x2bec4e={'id':_0x18aba1(0x10f),'params':{'unitId':_0xf57cb[_0x343b9a]['unitId'],..._0xf57cb[_0x343b9a]['undoState']}},_0x14e129={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf57cb[_0x343b9a]['unitId'],..._0xf57cb[_0x343b9a][_0x18aba1(0x1da)]}},_0x561b95=this[_0x18aba1(0x30f)][_0x18aba1(0x149)](_0x48a9e0,_0x2bec4e,!0x1),_0xbefca1=this[_0x18aba1(0x30f)][_0x18aba1(0x149)](_0x1e8020,_0x14e129,!0x1);if(_0x645262['isTransformMutationFailure'](_0x561b95))throw _0x561b95[_0x18aba1(0x1e1)];if(_0x645262[_0x18aba1(0x1fc)](_0xbefca1))throw _0xbefca1[_0x18aba1(0x1e1)];_0x24443b[_0x18aba1(0x1c0)]({..._0xf57cb[_0x343b9a],'undoState':_0x561b95[_0x18aba1(0x100)][_0x18aba1(0x2c0)],'redoState':_0xbefca1[_0x18aba1(0x100)][_0x18aba1(0x2c0)]}),_0x48a9e0=_0x561b95[_0x18aba1(0x12f)],_0x1e8020=_0xbefca1['m1Prime'];}_0x48a9e0=_0x1a23cd[_0x18aba1(0x31a)][_0x18aba1(0xd2)](_0x550d37[_0x18aba1(0xb8)][0x0]),_0x1e8020=_0x1a23cd[_0x18aba1(0x31a)][_0x18aba1(0xd2)](_0x550d37[_0x18aba1(0xb8)][0x0]);for(let _0x32edde=_0x570e20[_0x18aba1(0x25b)]-0x1;_0x32edde>=0x0;_0x32edde--){const _0xbc647f={'id':_0x18aba1(0x10f),'params':{'unitId':_0x570e20[_0x32edde][_0x18aba1(0x311)],..._0x570e20[_0x32edde][_0x18aba1(0x89)]}},_0x1db092={'id':_0x18aba1(0x10f),'params':{'unitId':_0x570e20[_0x32edde][_0x18aba1(0x311)],..._0x570e20[_0x32edde]['redoState']}},_0x1e6467=this[_0x18aba1(0x30f)][_0x18aba1(0x149)](_0x48a9e0,_0xbc647f,!0x1),_0x3c08cd=this[_0x18aba1(0x30f)][_0x18aba1(0x149)](_0x1e8020,_0x1db092,!0x1);if(_0x645262[_0x18aba1(0x1fc)](_0x1e6467))throw _0x1e6467[_0x18aba1(0x1e1)];if(_0x645262[_0x18aba1(0x1fc)](_0x3c08cd))throw _0x3c08cd[_0x18aba1(0x1e1)];_0x233dcf[_0x18aba1(0x1c0)]({..._0x570e20[_0x32edde],'undoState':_0x1e6467['m2Prime'][_0x18aba1(0x2c0)],'redoState':_0x3c08cd[_0x18aba1(0x100)]['params']}),_0x48a9e0=_0x1e6467[_0x18aba1(0x12f)],_0x1e8020=_0x3c08cd[_0x18aba1(0x12f)];}this['_docStateChangeManagerService'][_0x18aba1(0x1fd)](_0x36dec3,{'history':_0x24443b,'collaboration':_0x233dcf});}};_0x2e8f1a=_0x24bde7([_0x541057(0x0,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x541057(0x1,_0x645262[_0x57a27c(0x26d)]),_0x541057(0x2,_0x1a23cd[_0x57a27c(0x222)](_0xbf3303['DocStateChangeManagerService']))],_0x2e8f1a);var _0x8ca574=Object[_0x57a27c(0x1f2)],_0x1ff8b6=(_0x1d3702,_0x34ec79,_0x24f0c2,_0x5b7e28)=>{for(var _0x1d908e=_0x5b7e28>0x1?void 0x0:_0x5b7e28?_0x8ca574(_0x34ec79,_0x24f0c2):_0x34ec79,_0x394af4=_0x1d3702['length']-0x1,_0x332da9;_0x394af4>=0x0;_0x394af4--)(_0x332da9=_0x1d3702[_0x394af4])&&(_0x1d908e=_0x332da9(_0x1d908e)||_0x1d908e);return _0x1d908e;},_0x4a9f26=(_0x51821f,_0x3c9daf)=>(_0x3e9664,_0x30182e)=>_0x3c9daf(_0x3e9664,_0x30182e,_0x51821f);let _0x3e6511=class{constructor(_0xda1a93,_0x2ac2d5){const _0x5cee61=_0x57a27c;this[_0x5cee61(0x31f)]=_0xda1a93,this[_0x5cee61(0x30f)]=_0x2ac2d5;}[_0x57a27c(0xf5)](_0x186d0e){const _0x4d6777=_0x57a27c;var _0x597321;const _0x359d8d=this[_0x4d6777(0x31f)]['get'](_0x40d000[_0x4d6777(0x247)]),_0x48517a=(_0x597321=_0x359d8d[_0x4d6777(0xc3)]())!=null?_0x597321:[];if(_0x48517a[_0x4d6777(0x25b)]===0x0)return;const _0xdc3546=_0x186d0e[_0x4d6777(0xe5)],_0x473be7=[{'id':_0x4d6777(0x10f),'params':{'unitId':_0xdc3546,'actions':null,'textRanges':_0x48517a}}],_0x5adfaa=this[_0x4d6777(0x30f)][_0x4d6777(0x116)](_0x186d0e,_0x473be7);if(!_0x645262[_0x4d6777(0x120)](_0x5adfaa))throw _0x5adfaa[_0x4d6777(0x1e1)];const _0x18cf47=_0x5adfaa[_0x4d6777(0x100)][0x0][_0x4d6777(0x2c0)][_0x4d6777(0x11c)];Array[_0x4d6777(0x279)](_0x18cf47)&&_0x18cf47[_0x4d6777(0x25b)]&&_0x359d8d[_0x4d6777(0x1cd)](_0x18cf47,{'unitId':_0xdc3546,'subUnitId':_0xdc3546},!0x1);}};_0x3e6511=_0x1ff8b6([_0x4a9f26(0x0,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x4a9f26(0x1,_0x645262[_0x57a27c(0x26d)])],_0x3e6511);var _0x28d059=Object['getOwnPropertyDescriptor'],_0x588dee=(_0x439b60,_0x2bd780,_0x244c57,_0x332ee6)=>{for(var _0x2fe735=_0x332ee6>0x1?void 0x0:_0x332ee6?_0x28d059(_0x2bd780,_0x244c57):_0x2bd780,_0x28bd24=_0x439b60['length']-0x1,_0xb7f2a3;_0x28bd24>=0x0;_0x28bd24--)(_0xb7f2a3=_0x439b60[_0x28bd24])&&(_0x2fe735=_0xb7f2a3(_0x2fe735)||_0x2fe735);return _0x2fe735;},_0x59afa4=(_0x1f7096,_0x4565c8)=>(_0x1eac83,_0x10a56e)=>_0x4565c8(_0x1eac83,_0x10a56e,_0x1f7096);let _0x9b86ba=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x5e356f,_0x34f55e,_0x2770b8,_0x124709,_0x24e5f2,_0x55d5ab,_0x142407,_0x434713){const _0x457489=_0x57a27c;super(),_0x201443(this,_0x457489(0x304),new _0x289a68[(_0x457489(0x12d))](_0x2aa44c['CollaborationStatus'][_0x457489(0x188)])),(this[_0x457489(0x13d)]=_0x5e356f,this[_0x457489(0x206)]=_0x34f55e,this[_0x457489(0x8e)]=_0x2770b8,this['_docTransformStateCacheService']=_0x124709,this['_docTransformSelectionsService']=_0x24e5f2,this['_docSyncEditingCollabCursorService']=_0x55d5ab,this[_0x457489(0xf4)]=_0x142407,this[_0x457489(0xaf)]=_0x434713,this[_0x457489(0xbd)]());}[_0x57a27c(0xbd)](){const _0x19b1a7=_0x57a27c;this['disposeWithMe'](this[_0x19b1a7(0x206)]['entityInit$'][_0x19b1a7(0x137)](_0x4e1a51=>{const _0x544879=_0x19b1a7,_0x169c87=this['_docStateChangeManagerService'][_0x544879(0x1f0)][_0x544879(0x137)](_0x28b314=>{const _0xd30db2=_0x544879;if(_0x28b314==null)return;const {unitId:_0x544b85,redoState:_0x109b6e,commandId:_0x433c73}=_0x28b314;if(_0x544b85!==_0x4e1a51[_0xd30db2(0xe5)])return;const _0x41ac0b={'id':_0x433c73,'type':_0x1a23cd[_0xd30db2(0x19b)][_0xd30db2(0xbf)],'params':{'unitId':_0x544b85,'actions':_0x109b6e['actions'],'textRanges':null}};_0x4e1a51[_0xd30db2(0x18a)](_0x41ac0b);});if(_0x4e1a51[_0x544879(0x138)](_0x169c87),_0x4e1a51 instanceof _0x2aa44c[_0x544879(0x11d)]){const _0x5e9fb4={'onTransformIME':_0x45c1dc=>this['_docTransformIMECacheService'][_0x544879(0x289)](_0x45c1dc),'onTransformState':_0x107dad=>this[_0x544879(0x31b)][_0x544879(0x300)](_0x107dad),'onTransformSelections':_0x5d212a=>this['_docTransformSelectionsService'][_0x544879(0xf5)](_0x5d212a),'onSyncEditingCollabCursor':_0x478335=>this['_docSyncEditingCollabCursorService'][_0x544879(0x274)](_0x478335),'onTransformRemoteChangesetByIMECache':_0x18e6f0=>this[_0x544879(0x8e)][_0x544879(0x2ad)](_0x18e6f0),'onTransformRemoteChangesetByStateCache':_0x21a1f9=>this[_0x544879(0x31b)][_0x544879(0x2ad)](_0x21a1f9)};_0x4e1a51[_0x544879(0x13b)](_0x5e9fb4);}}));}};_0x9b86ba=_0x588dee([_0x59afa4(0x0,_0x1a23cd[_0x57a27c(0x222)](_0xbf3303[_0x57a27c(0x140)])),_0x59afa4(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c['CollaborationController'])),_0x59afa4(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x1cfb21)),_0x59afa4(0x3,_0x1a23cd[_0x57a27c(0x222)](_0x2e8f1a)),_0x59afa4(0x4,_0x1a23cd[_0x57a27c(0x222)](_0x3e6511)),_0x59afa4(0x5,_0x1a23cd[_0x57a27c(0x222)](_0x5ed781)),_0x59afa4(0x6,_0x2cc018[_0x57a27c(0x159)]),_0x59afa4(0x7,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd['LocaleService']))],_0x9b86ba);var _0xfa3f05=Object[_0x57a27c(0x1f2)],_0x3940df=(_0x4de456,_0x3e4e78,_0x31c93a,_0x141260)=>{const _0x47ec38=_0x57a27c;for(var _0x5bec90=_0x141260>0x1?void 0x0:_0x141260?_0xfa3f05(_0x3e4e78,_0x31c93a):_0x3e4e78,_0x4f3f15=_0x4de456[_0x47ec38(0x25b)]-0x1,_0x14b600;_0x4f3f15>=0x0;_0x4f3f15--)(_0x14b600=_0x4de456[_0x4f3f15])&&(_0x5bec90=_0x14b600(_0x5bec90)||_0x5bec90);return _0x5bec90;},_0x2fc5f9=(_0x5f3904,_0x4c87ab)=>(_0x2a3541,_0x23fc90)=>_0x4c87ab(_0x2a3541,_0x23fc90,_0x5f3904);let _0x254ef9=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x16fa02,_0x5460dd,_0x547482){const _0x3acf70=_0x57a27c;super(),_0x201443(this,_0x3acf70(0x2f1),new Map()),_0x201443(this,_0x3acf70(0xd3),new Map()),_0x201443(this,'_disabled',!0x1),(this['_configService']=_0x16fa02,this[_0x3acf70(0x1b1)]=_0x5460dd,this['_revisionService']=_0x547482);}[_0x57a27c(0xfe)](){const _0x468cf1=_0x57a27c;this[_0x468cf1(0x268)]=!0x0;}[_0x57a27c(0x19e)](){const _0x241367=_0x57a27c;this[_0x241367(0x268)]=!0x1;}get[_0x57a27c(0xf6)](){const _0x475a95=_0x57a27c;return this[_0x475a95(0xd3)];}[_0x57a27c(0x16b)](){const _0x3642fa=_0x57a27c;this[_0x3642fa(0x2db)]()[_0x3642fa(0x113)](()=>super[_0x3642fa(0x16b)]());}async['loadOfflineData'](_0x2e5b0b){const _0x555c4c=_0x57a27c;return this['_disabled']?null:this[_0x555c4c(0x1b1)][_0x555c4c(0x174)](_0x2aa44c[_0x555c4c(0x318)](_0x2e5b0b));}async[_0x57a27c(0x2f9)](_0x189c1a,_0x430de7){const _0x5aebb5=_0x57a27c;return!!this[_0x5aebb5(0x1b1)][_0x5aebb5(0x1f1)](_0x189c1a,_0x430de7);}[_0x57a27c(0x85)](_0x45fcc8,_0x265ace,_0x2d958b,_0x254db8){const _0xeb0f75=_0x57a27c,_0x520695=this[_0xeb0f75(0xd0)][_0xeb0f75(0x16f)](_0x45fcc8);this['_cachedData'][_0xeb0f75(0x15c)](_0x45fcc8,{'unitID':_0x45fcc8,'type':_0x265ace,'awaitingChangeset':_0x2d958b,'mutations':_0x254db8,'rev':_0x520695}),this[_0xeb0f75(0xd3)][_0xeb0f75(0x1d3)](_0x45fcc8)||this['_scheduleSaving'](_0x45fcc8);}[_0x57a27c(0x2d9)](_0x308f6c){const _0xea2c55=_0x57a27c,_0x3a09fb=this[_0xea2c55(0x25c)]();_0x3a09fb===0x0?this[_0xea2c55(0x2b9)](_0x308f6c):this[_0xea2c55(0xd3)][_0xea2c55(0x15c)](_0x308f6c,setTimeout(()=>this['_saveCache'](_0x308f6c),_0x3a09fb));}[_0x57a27c(0x25c)](){const _0x44c822=_0x57a27c;var _0x167fac;return(_0x167fac=this[_0x44c822(0xbc)][_0x44c822(0x2ed)](_0x2aa44c[_0x44c822(0x1d2)]))!=null?_0x167fac:_0x2aa44c[_0x44c822(0x119)];}['_saveCache'](_0x2e3113){const _0x7d0b22=_0x57a27c,_0x3173ee=this[_0x7d0b22(0xd3)][_0x7d0b22(0x18f)](_0x2e3113);return _0x3173ee!==void 0x0&&window['clearTimeout'](_0x3173ee),this[_0x7d0b22(0x1b1)][_0x7d0b22(0x1f1)](_0x2aa44c[_0x7d0b22(0x318)](_0x2e3113),this[_0x7d0b22(0x2f1)][_0x7d0b22(0x18f)](_0x2e3113))[_0x7d0b22(0x113)](()=>this[_0x7d0b22(0xd3)][_0x7d0b22(0x198)](_0x2e3113));}async[_0x57a27c(0x2db)](){const _0x4c4e46=_0x57a27c,_0x44e479=[];this[_0x4c4e46(0xd3)][_0x4c4e46(0x2d8)]((_0x1df54d,_0x53261b)=>{const _0x320fad=_0x4c4e46;window[_0x320fad(0x29f)](_0x1df54d),_0x44e479[_0x320fad(0x97)](this['_saveCache'](_0x53261b)[_0x320fad(0x113)](()=>{const _0x226a8d=_0x320fad;this['_saveTaskMap'][_0x226a8d(0x198)](_0x53261b);}));}),await Promise[_0x4c4e46(0x2be)](_0x44e479);}};_0x254ef9=_0x3940df([_0x2fc5f9(0x0,_0x1a23cd['IConfigService']),_0x2fc5f9(0x1,_0x1a23cd[_0x57a27c(0xf8)]),_0x2fc5f9(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x645262['RevisionService']))],_0x254ef9);class _0x28691b extends _0x1a23cd[_0x57a27c(0x249)]{constructor(){const _0x59cee2=_0x57a27c;super(),_0x201443(this,'urlChange$'),this[_0x59cee2(0x285)]=_0x289a68[_0x59cee2(0x1db)](window,_0x59cee2(0x1f9))[_0x59cee2(0x11b)](_0x289a68[_0x59cee2(0x8d)](this[_0x59cee2(0x204)]),_0x289a68[_0x59cee2(0xaa)](0x1),_0x289a68['mapTo'](void 0x0));}[_0x57a27c(0x2d2)](_0x5cd871,_0x1f5713,_0x55f7d2=!0x1){const _0x3e313b=_0x57a27c,_0x29189=new URL(window[_0x3e313b(0x2e8)][_0x3e313b(0x265)]);_0x29189['searchParams'][_0x3e313b(0x15c)](_0x5cd871,_0x1f5713),_0x55f7d2?window[_0x3e313b(0x1f4)][_0x3e313b(0x2f3)]('','',_0x29189['toString']()):window[_0x3e313b(0x1f4)][_0x3e313b(0x309)]('','',_0x29189[_0x3e313b(0x24a)]());}[_0x57a27c(0x234)](_0x23d6d0,_0x4c85fd=!0x1){const _0x23014c=_0x57a27c,_0x1f29bb=new URL(window[_0x23014c(0x2e8)]['href']);_0x1f29bb['searchParams'][_0x23014c(0x198)](_0x23d6d0),_0x4c85fd?window[_0x23014c(0x1f4)][_0x23014c(0x2f3)]('','',_0x1f29bb[_0x23014c(0x24a)]()):window['history'][_0x23014c(0x309)]('','',_0x1f29bb[_0x23014c(0x24a)]());}[_0x57a27c(0x28a)](_0x426d23){const _0x989b7e=_0x57a27c;var _0x580990;return(_0x580990=new URL(window['location'][_0x989b7e(0x265)])[_0x989b7e(0x22c)][_0x989b7e(0x18f)](_0x426d23))!=null?_0x580990:void 0x0;}}var _0x39b771=Object['defineProperty'],_0x468ea7=Object[_0x57a27c(0x1f2)],_0x24a792=(_0x44d0d9,_0xbc0bae,_0x18f260)=>_0xbc0bae in _0x44d0d9?_0x39b771(_0x44d0d9,_0xbc0bae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18f260}):_0x44d0d9[_0xbc0bae]=_0x18f260,_0x1e65df=(_0x5ef207,_0x4a3680,_0xe0a691,_0x3d5e45)=>{const _0x1b549a=_0x57a27c;for(var _0x22d013=_0x3d5e45>0x1?void 0x0:_0x3d5e45?_0x468ea7(_0x4a3680,_0xe0a691):_0x4a3680,_0x7f7ec6=_0x5ef207[_0x1b549a(0x25b)]-0x1,_0x2558ef;_0x7f7ec6>=0x0;_0x7f7ec6--)(_0x2558ef=_0x5ef207[_0x7f7ec6])&&(_0x22d013=_0x2558ef(_0x22d013)||_0x22d013);return _0x22d013;},_0x3b2242=(_0x1fa35a,_0x5421ee)=>(_0x1683bd,_0x78ba1b)=>_0x5421ee(_0x1683bd,_0x78ba1b,_0x1fa35a),_0x27e564=(_0x347647,_0x4b7a6f,_0x1afd2e)=>_0x24a792(_0x347647,_0x4b7a6f+'',_0x1afd2e);const _0x1b85b5='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x44eef8[_0x57a27c(0xf3)]=class extends _0x1a23cd[_0x57a27c(0x2d4)]{constructor(_0x15ab31=_0x280d21,_0x27059b,_0x4507df,_0x224a44){const _0x2d3d84=_0x57a27c;super(),this[_0x2d3d84(0x15f)]=_0x15ab31,this['_renderManagerService']=_0x27059b,this['_injector']=_0x4507df,this[_0x2d3d84(0xbc)]=_0x224a44;const {..._0x6375eb}=_0x1a23cd[_0x2d3d84(0x213)]({},_0x280d21,this[_0x2d3d84(0x15f)]);this['_configService'][_0x2d3d84(0x2bb)](_0x129ee8,_0x6375eb);}[_0x57a27c(0x25e)](){const _0x531822=_0x57a27c;this[_0x531822(0x2ac)](),this[_0x531822(0x264)]();}[_0x57a27c(0xb4)](){this['_registerRenderDependencies']();}[_0x57a27c(0x2ac)](){const _0x109ad2=_0x57a27c;var _0x1499c4;const _0x1c18ed=[[_0x416df7],[_0x3e6511],[_0x1cfb21],[_0x2e8f1a],[_0x5ed781],[_0x2081f5,{'useClass':_0x28691b}],[_0x3033d9[_0x109ad2(0x1de)],{'useClass':_0x3033d9['WebSocketService']}],[_0x2aa44c['ILocalCacheService'],{'useClass':_0x254ef9}],[_0x44eef8[_0x109ad2(0x31d)]],[_0x9b86ba],[_0x5d0ba5],[_0x503296],[_0x4e359b],[_0x44eef8[_0x109ad2(0x1e9)]]];_0x1a23cd['registerDependencies'](this[_0x109ad2(0x31f)],_0x1a23cd[_0x109ad2(0x2fe)](_0x1c18ed,(_0x1499c4=this[_0x109ad2(0x15f)])==null?void 0x0:_0x1499c4[_0x109ad2(0xb0)]));}[_0x57a27c(0x296)](){const _0x54aaab=_0x57a27c;this[_0x54aaab(0x138)](this[_0x54aaab(0x193)]['registerRenderModule'](_0x1a23cd[_0x54aaab(0x1a3)]['UNIVER_DOC'],[_0x334652])),this[_0x54aaab(0x138)](this['_renderManagerService']['registerRenderModule'](_0x1a23cd[_0x54aaab(0x1a3)][_0x54aaab(0x2e5)],[_0x2b14b8]));}[_0x57a27c(0x264)](){const _0x1ec01e=_0x57a27c;_0x1a23cd[_0x1ec01e(0x244)](this[_0x1ec01e(0x31f)],[[_0x503296],[_0x44eef8[_0x1ec01e(0x31d)]],[_0x9b86ba],[_0x5d0ba5],[_0x44eef8[_0x1ec01e(0x1e9)]]]);}},_0x27e564(_0x44eef8[_0x57a27c(0xf3)],_0x57a27c(0x275),_0x1b85b5),_0x44eef8[_0x57a27c(0xf3)]=_0x1e65df([_0x1a23cd[_0x57a27c(0x1c6)](_0x2aa44c[_0x57a27c(0xec)]),_0x3b2242(0x1,_0x5e65d8[_0x57a27c(0xeb)]),_0x3b2242(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x3b2242(0x3,_0x1a23cd[_0x57a27c(0x283)])],_0x44eef8[_0x57a27c(0xf3)]);var _0x4fde6e=Object[_0x57a27c(0x1f2)],_0x135f42=(_0x5d7238,_0x436801,_0x556618,_0x274ab2)=>{const _0x394be1=_0x57a27c;for(var _0x50d947=_0x274ab2>0x1?void 0x0:_0x274ab2?_0x4fde6e(_0x436801,_0x556618):_0x436801,_0x2bba3c=_0x5d7238[_0x394be1(0x25b)]-0x1,_0x18acfc;_0x2bba3c>=0x0;_0x2bba3c--)(_0x18acfc=_0x5d7238[_0x2bba3c])&&(_0x50d947=_0x18acfc(_0x50d947)||_0x50d947);return _0x50d947;},_0x1eec4d=(_0x398f98,_0x4b0c36)=>(_0x146955,_0x32b7ee)=>_0x4b0c36(_0x146955,_0x32b7ee,_0x398f98);_0x44eef8[_0x57a27c(0x1b2)]=class extends _0x2aa44c[_0x57a27c(0x2b1)]{constructor(_0x13c644,_0x29d93e,_0x123adc,_0x1558b0,_0x4a6649){super(_0x13c644,_0x29d93e,_0x123adc,_0x1558b0,_0x4a6649);}async['createSocket'](_0x36430c){const _0xe10aaf=_0x57a27c,_0x4b3888=await this['_getSessionTicket'](),_0x3ec5ad=this[_0xe10aaf(0x1c8)](_0x36430c,_0x4b3888);return this[_0xe10aaf(0xc7)](_0x3ec5ad);}['_createSocketURL'](_0x3ad3e0,_0xaac104){const _0x586040=_0x57a27c,_0x59653a=typeof window>'u'?new URL(_0x3ad3e0):new URL(_0x3ad3e0,window[_0x586040(0x2e8)]['origin']);_0x59653a[_0x586040(0x22c)][_0x586040(0x15c)](_0x586040(0x1bd),_0xaac104);const _0x9c419a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x586040(0x2e8)][_0x586040(0x259)]);return _0x9c419a[_0x586040(0x18f)]('runId')&&_0x59653a[_0x586040(0x22c)][_0x586040(0x15c)](_0x586040(0x254),_0x9c419a['get'](_0x586040(0x254))),_0x59653a[_0x586040(0x24a)]();}async['_getSessionTicket'](){const _0x5dffe1=_0x57a27c;var _0x2ea3fd,_0x45260c,_0x513bac;const _0x3ba355=this[_0x5dffe1(0xbc)][_0x5dffe1(0x2ed)](_0x2aa44c[_0x5dffe1(0x2ec)]),_0x1df355=(_0x2ea3fd=_0x3ba355==null?void 0x0:_0x3ba355['wsSessionTicketUrl'])!=null?_0x2ea3fd:_0x2aa44c[_0x5dffe1(0x94)];return(_0x513bac=(_0x45260c=(await this['_httpService']['get'](_0x1df355,{'headers':{'Content-Type':_0x5dffe1(0x2e7)}}))[_0x5dffe1(0x2fb)])==null?void 0x0:_0x45260c[_0x5dffe1(0x16e)])!=null?_0x513bac:'';}},_0x44eef8[_0x57a27c(0x1b2)]=_0x135f42([_0x1eec4d(0x0,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x1eec4d(0x1,_0x1a23cd['Inject'](_0x3033d9[_0x57a27c(0x1af)])),_0x1eec4d(0x2,_0x1a23cd[_0x57a27c(0x283)]),_0x1eec4d(0x3,_0x1a23cd[_0x57a27c(0x109)]),_0x1eec4d(0x4,_0x645262[_0x57a27c(0x298)])],_0x44eef8[_0x57a27c(0x1b2)]);const _0x13454a=0x7530,_0xf108b2=_0x57a27c(0x1c4);class _0x42ce2f extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(){const _0x2c0f10=_0x57a27c;super(),_0x201443(this,_0x2c0f10(0x8f),_0x1a23cd[_0x2c0f10(0x1c9)]()),_0x201443(this,'_selfUnitIDs',new Set()),_0x201443(this,_0x2c0f10(0x2ea),new Map()),_0x201443(this,_0x2c0f10(0x31c),null),_0x201443(this,_0x2c0f10(0x15e),new Map()),_0x201443(this,_0x2c0f10(0xff),new Map()),this['_init']();}[_0x57a27c(0x16b)](){const _0xe26885=_0x57a27c;super[_0xe26885(0x16b)](),this[_0xe26885(0x15e)][_0xe26885(0x2d8)]((_0x33544f,_0x5dc857)=>this[_0xe26885(0x103)](_0x5dc857)),this[_0xe26885(0x31c)]&&window[_0xe26885(0x2dd)](this['_heartbeatTimer']);}[_0x57a27c(0x20c)](_0x37554a){const _0x31aab7=_0x57a27c;return this[_0x31aab7(0x29e)](_0x37554a)['pipe'](_0x289a68['distinctUntilChanged']());}['editingUnit'](_0x43d792){const _0x35919c=_0x57a27c;this[_0x35919c(0x2d1)][_0x35919c(0x2fd)]===0x0&&this[_0x35919c(0xb3)](),this[_0x35919c(0x2d1)][_0x35919c(0x19f)](_0x43d792),this[_0x35919c(0x176)]({'type':0x0,'memberID':this[_0x35919c(0x8f)],'unitIDs':[_0x43d792],'isForwarded':!0x1});}['disposeUnit'](_0x145c55){const _0x214ffa=_0x57a27c;this[_0x214ffa(0x2d1)][_0x214ffa(0x198)](_0x145c55),this['_selfUnitIDs'][_0x214ffa(0x2fd)]===0x0&&this[_0x214ffa(0x31c)]&&window['clearInterval'](this[_0x214ffa(0x31c)]);}[_0x57a27c(0x15a)](){const _0x4586af=_0x57a27c;this[_0x4586af(0x138)](_0x1a23cd['toDisposable'](_0x289a68[_0x4586af(0x1db)](window,_0x4586af(0x270))[_0x4586af(0x137)](_0x577692=>{const _0x142ca4=_0x4586af;if(_0x577692[_0x142ca4(0xd5)]!==_0xf108b2||!_0x577692[_0x142ca4(0xd9)])return;const _0x45952c=JSON['parse'](_0x577692[_0x142ca4(0xd9)]);this['_handleEvent'](_0x45952c);}))),window[_0x4586af(0x91)](_0x4586af(0x20d),()=>this['_send']({'type':0x1,'memberID':this[_0x4586af(0x8f)],'unitIDs':Array[_0x4586af(0x267)](this[_0x4586af(0x2d1)])}));}[_0x57a27c(0x241)](_0x889d18){const _0x474e72=_0x57a27c;switch(_0x889d18[_0x474e72(0x288)]){case 0x0:this[_0x474e72(0x23c)](_0x889d18);break;case 0x1:this[_0x474e72(0x2b7)](_0x889d18);break;case 0x2:this[_0x474e72(0x1e4)](_0x889d18);break;}}[_0x57a27c(0x23c)](_0x4275cf){const _0x5680c7=_0x57a27c,{unitIDs:_0x42bf0f,memberID:_0x435475,isForwarded:_0x1f46d7}=_0x4275cf;_0x42bf0f[_0x5680c7(0x2d8)](_0x3fe7c0=>{const _0x1eadf2=_0x5680c7;if(!_0x1f46d7&&this['_unitOnClients'][_0x1eadf2(0x1d3)](_0x3fe7c0)&&this[_0x1eadf2(0x29e)](_0x3fe7c0)[_0x1eadf2(0x263)](_0x2aa44c[_0x1eadf2(0x322)][_0x1eadf2(0x308)]),!this[_0x1eadf2(0x2ea)][_0x1eadf2(0x1d3)](_0x3fe7c0)||!this[_0x1eadf2(0x2ea)][_0x1eadf2(0x18f)](_0x3fe7c0)[_0x1eadf2(0x1d3)](_0x435475)){const _0x46f3cb=this[_0x1eadf2(0x2ea)]['get'](_0x3fe7c0)||new Set();_0x46f3cb[_0x1eadf2(0x19f)](_0x435475),this[_0x1eadf2(0x2ea)][_0x1eadf2(0x15c)](_0x3fe7c0,_0x46f3cb),this['_scheduleClearOtherTimer'](_0x435475);}}),_0x1f46d7||this['_send']({'type':0x0,'memberID':this[_0x5680c7(0x8f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x57a27c(0x216)](_0x2aca4c){const _0x1025ef=_0x57a27c;this['_removeClearOtherTimer'](_0x2aca4c);const _0x3152d5=window[_0x1025ef(0x15d)](()=>{const _0x2b1ec3=_0x1025ef;this[_0x2b1ec3(0x2ea)][_0x2b1ec3(0x2d8)](_0x339c44=>{_0x339c44['delete'](_0x2aca4c);});},_0x13454a*0x2);this[_0x1025ef(0x15e)][_0x1025ef(0x15c)](_0x2aca4c,_0x3152d5);}[_0x57a27c(0x103)](_0x55acef){const _0x46650a=_0x57a27c;if(this[_0x46650a(0x15e)]['has'](_0x55acef)){const _0x253909=this['_clearOtherTimers'][_0x46650a(0x18f)](_0x55acef);_0x253909&&window['clearTimeout'](_0x253909),this[_0x46650a(0x15e)][_0x46650a(0x15c)](_0x55acef,null);}}[_0x57a27c(0x2b7)](_0x46fe88){const _0x348860=_0x57a27c,{memberID:_0x1f1079,unitIDs:_0xf158c0}=_0x46fe88;_0xf158c0[_0x348860(0x2d8)](_0x572b28=>{const _0x52e436=_0x348860;var _0x44e803;const _0x2804ef=this[_0x52e436(0x2ea)][_0x52e436(0x18f)](_0x572b28);_0x2804ef&&(_0x2804ef[_0x52e436(0x198)](_0x1f1079),(_0x44e803=this[_0x52e436(0x29e)](_0x572b28))==null||_0x44e803[_0x52e436(0x263)](_0x2804ef[_0x52e436(0x2fd)]===0x0?_0x2aa44c[_0x52e436(0x322)][_0x52e436(0xa9)]:_0x2aa44c[_0x52e436(0x322)][_0x52e436(0x308)]));}),this[_0x348860(0x103)](_0x1f1079);}[_0x57a27c(0x1e4)](_0x5e292a){const _0x50f294=_0x57a27c;this[_0x50f294(0x216)](_0x5e292a[_0x50f294(0xe7)]);}[_0x57a27c(0x176)](_0x8bdcd5){const _0x5a7aec=_0x57a27c;localStorage[_0x5a7aec(0x1f1)](_0xf108b2,JSON[_0x5a7aec(0x1b3)](_0x8bdcd5));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x3c4947=_0x4087;this['_send']({'type':0x2,'memberID':this[_0x3c4947(0x8f)]});},_0x13454a);}[_0x57a27c(0x29e)](_0x501736){const _0x4eec5b=_0x57a27c;return this[_0x4eec5b(0xff)][_0x4eec5b(0x1d3)](_0x501736)||this['_unitStatus'][_0x4eec5b(0x15c)](_0x501736,new _0x289a68[(_0x4eec5b(0x12d))](_0x2aa44c[_0x4eec5b(0x322)][_0x4eec5b(0xa9)])),this[_0x4eec5b(0xff)]['get'](_0x501736);}}var _0x931db0=(_0x36ebea=>(_0x36ebea[_0x36ebea[_0x57a27c(0x302)]=0x0]=_0x57a27c(0x302),_0x36ebea[_0x36ebea['OK']=0x1]='OK',_0x36ebea[_0x36ebea['INTERNAL_ERROR']=0x2]=_0x57a27c(0x25a),_0x36ebea[_0x36ebea['PERMISSION_DENIED']=0x3]=_0x57a27c(0x1a4),_0x36ebea[_0x36ebea[_0x57a27c(0x2f8)]=0x4]=_0x57a27c(0x2f8),_0x36ebea[_0x36ebea[_0x57a27c(0x29d)]=0x5]='UNAUTHENTICATED',_0x36ebea[_0x36ebea[_0x57a27c(0x1ef)]=0x6]=_0x57a27c(0x1ef),_0x36ebea[_0x36ebea[_0x57a27c(0x124)]=0x7]=_0x57a27c(0x124),_0x36ebea[_0x36ebea[_0x57a27c(0x1a7)]=0x8]='TOO_MANY_REQUESTS',_0x36ebea[_0x36ebea[_0x57a27c(0x1b0)]=0x9]='COMPLETION_FINISHED',_0x36ebea[_0x36ebea[_0x57a27c(0x230)]=0xa]=_0x57a27c(0x230),_0x36ebea[_0x36ebea[_0x57a27c(0x1cb)]=0x1389]=_0x57a27c(0x1cb),_0x36ebea[_0x36ebea['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x57a27c(0x2e6),_0x36ebea[_0x36ebea['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x57a27c(0x86),_0x36ebea[_0x36ebea['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x57a27c(0x1a9),_0x36ebea[_0x36ebea[_0x57a27c(0x180)]=0x1b59]=_0x57a27c(0x180),_0x36ebea[_0x36ebea[_0x57a27c(0x256)]=0x1b5a]=_0x57a27c(0x256),_0x36ebea[_0x36ebea[_0x57a27c(0x2dc)]=0x1b5b]=_0x57a27c(0x2dc),_0x36ebea[_0x36ebea[_0x57a27c(0xe6)]=0x1b5c]=_0x57a27c(0xe6),_0x36ebea[_0x36ebea[_0x57a27c(0xa1)]=0x1b5d]=_0x57a27c(0xa1),_0x36ebea[_0x36ebea['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x57a27c(0xd7),_0x36ebea[_0x36ebea[_0x57a27c(0x108)]=0x2329]=_0x57a27c(0x108),_0x36ebea[_0x36ebea['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x57a27c(0x2d5),_0x36ebea[_0x36ebea[_0x57a27c(0x101)]=0x232b]=_0x57a27c(0x101),_0x36ebea[_0x36ebea[_0x57a27c(0x205)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x36ebea[_0x36ebea[_0x57a27c(0xa5)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x36ebea[_0x36ebea[_0x57a27c(0x1d5)]=0x2711]=_0x57a27c(0x1d5),_0x36ebea[_0x36ebea[_0x57a27c(0x10a)]=0x2712]=_0x57a27c(0x10a),_0x36ebea[_0x36ebea[_0x57a27c(0x28b)]=0x2713]=_0x57a27c(0x28b),_0x36ebea[_0x36ebea[_0x57a27c(0x2a9)]=0x2714]=_0x57a27c(0x2a9),_0x36ebea[_0x36ebea[_0x57a27c(0x2e9)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x36ebea[_0x36ebea[_0x57a27c(0x2ca)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x36ebea[_0x36ebea['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x57a27c(0x2b5),_0x36ebea[_0x36ebea[_0x57a27c(0x24f)]=0x271d]=_0x57a27c(0x24f),_0x36ebea[_0x36ebea[_0x57a27c(0x30d)]=0x271e]=_0x57a27c(0x30d),_0x36ebea[_0x36ebea[_0x57a27c(0x320)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x36ebea[_0x36ebea[_0x57a27c(0x317)]=0x2af9]=_0x57a27c(0x317),_0x36ebea[_0x36ebea['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x36ebea[_0x36ebea['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x36ebea[_0x36ebea[_0x57a27c(0x266)]=0x2ee3]=_0x57a27c(0x266),_0x36ebea[_0x36ebea[_0x57a27c(0x2b0)]=0x2ee4]=_0x57a27c(0x2b0),_0x36ebea[_0x36ebea[_0x57a27c(0x15b)]=0x2ee5]=_0x57a27c(0x15b),_0x36ebea[_0x36ebea[_0x57a27c(0x231)]=0x32c9]=_0x57a27c(0x231),_0x36ebea[_0x36ebea[_0x57a27c(0x235)]=0x32ca]=_0x57a27c(0x235),_0x36ebea[_0x36ebea[_0x57a27c(0x107)]=0x32cb]=_0x57a27c(0x107),_0x36ebea[_0x36ebea[_0x57a27c(0xfd)]=-0x1]=_0x57a27c(0xfd),_0x36ebea))(_0x931db0||{}),_0x40ff73=Object[_0x57a27c(0x1f2)],_0x3c2c25=(_0x376e35,_0x378c41,_0x2e23d9,_0x3dcfa8)=>{const _0x45f43e=_0x57a27c;for(var _0x447191=_0x3dcfa8>0x1?void 0x0:_0x3dcfa8?_0x40ff73(_0x378c41,_0x2e23d9):_0x378c41,_0x456149=_0x376e35[_0x45f43e(0x25b)]-0x1,_0x22f49d;_0x456149>=0x0;_0x456149--)(_0x22f49d=_0x376e35[_0x456149])&&(_0x447191=_0x22f49d(_0x447191)||_0x447191);return _0x447191;},_0xf77223=(_0x1c2db6,_0x5c082b)=>(_0x25d3eb,_0x31ce17)=>_0x5c082b(_0x25d3eb,_0x31ce17,_0x1c2db6);_0x44eef8[_0x57a27c(0x11f)]=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x3e66f4,_0x6b0230,_0x2848fb){const _0x185de6=_0x57a27c;super(),this['_instanceService']=_0x3e66f4,this['_httpService']=_0x6b0230,this[_0x185de6(0xbc)]=_0x2848fb;}async['runOnServer'](_0x5644af,_0x576655,_0xd41b46,..._0x5bcfb8){const _0x503e6d=_0x57a27c;var _0x52e536,_0x4a9f9d,_0x903b1f,_0x467fc2;const _0x21c022=this[_0x503e6d(0x2cf)][_0x503e6d(0x273)]();if(!_0x21c022)throw new Error(_0x503e6d(0x130));const _0x26a856=((_0x52e536=this[_0x503e6d(0xbc)][_0x503e6d(0x2ed)](_0x2aa44c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x52e536:_0x2aa44c[_0x503e6d(0x184)])+'/'+_0x5644af+'/run/'+_0x576655,_0x34d692=new URL(window['location']['href']),_0x2217e7={'scriptId':_0x5644af,'runId':(_0x4a9f9d=_0x34d692['searchParams'][_0x503e6d(0x18f)](_0x503e6d(0x254)))!=null?_0x4a9f9d:'','function':_0x576655,'unitId':_0x21c022[_0x503e6d(0x1ba)](),'argsOfFunction':JSON[_0x503e6d(0x1b3)](_0x5bcfb8),'invokeId':(_0x903b1f=_0xd41b46['invokeId'])!=null?_0x903b1f:'','executionId':(_0x467fc2=_0xd41b46[_0x503e6d(0x98)])!=null?_0x467fc2:''};try{const _0x4edea1=await this[_0x503e6d(0x2ce)][_0x503e6d(0x22a)](_0x26a856,{'body':_0x2217e7});return _0x4edea1[_0x503e6d(0x2fb)][_0x503e6d(0x1e1)]&&_0x4edea1[_0x503e6d(0x2fb)][_0x503e6d(0x1e1)][_0x503e6d(0xdf)]!==_0x931db0['OK']?_0x503e6d(0x14d):_0x4edea1[_0x503e6d(0x2fb)][_0x503e6d(0x163)];}catch{return'Failed';}}},_0x44eef8['RemoteUniscriptService']=_0x3c2c25([_0xf77223(0x0,_0x1a23cd[_0x57a27c(0x21c)]),_0xf77223(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x3033d9[_0x57a27c(0x1af)])),_0xf77223(0x2,_0x1a23cd[_0x57a27c(0x283)])],_0x44eef8['RemoteUniscriptService']),_0x44eef8['CollaborationStatusDisplay']=_0x5566bb,_0x44eef8[_0x57a27c(0x277)]=_0x2081f5,_0x44eef8[_0x57a27c(0x106)]=_0x8d5e3c,_0x44eef8[_0x57a27c(0x22e)]=_0x42ce2f,_0x44eef8[_0x57a27c(0x280)]=_0x28691b,Object[_0x57a27c(0x139)](_0x44eef8,Symbol[_0x57a27c(0x306)],{'value':_0x57a27c(0x90)});}));function _0x4087(_0x49e8e2,_0x5eea04){const _0x37b6cc=_0x37b6();return _0x4087=function(_0x40877e,_0x1f9e84){_0x40877e=_0x40877e-0x85;let _0x3e194b=_0x37b6cc[_0x40877e];return _0x3e194b;},_0x4087(_0x49e8e2,_0x5eea04);}function _0x37b6(){const _0x3d79f3=['_docStateChangeManagerService','collabStatus.offline','_drawRectRange','DocStateChangeManagerService','div','collaboration-client.offline-data-not-saved','path','assignAColorForMemberID','UniverDocs','onTransformChange$','endColumn','_hideTimer','transformMutation','SetDocZoomRatioOperation','getSheetObject','UNIVER_DOC','Failed','react/jsx-runtime','_docSkeleton','permission.title','entries','JOIN_ROOM_FAILED','event$','_handleHover','[CollaborationDataLoaderController]','IRemoteInstanceService','min','black','IMessageService','_init','INVITE_CODE_ALREADY_BOUND','set','setTimeout','_clearOtherTimers','_config','InsertRowCommandId','Vector2','height','result','with','SetWorksheetActivateCommand','extend','_initCommandExecutedListener','OffLineSingle','COLORS','@univerjs/engine-render','dispose','collabStatus.notCollab','sheetId','ticket','getCurrentRevOfUnit','_getAnchorBounding','concat','UniverDocsUi','onPointerLeave$','getItem','_assignedColors','_send','UniverEngineRender','engine','transform','displayName','CollaborationSessionService','map','connectInjector','ThemeService','CLOSE_ROOM','APPLY_REJECT','exports','_cursorInfo$','1296478wnLAtY','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','react','LocaleService','getCollabEntity$','NOT_COLLAB','findNodePositionByCharIndex','onLocalMutation','UniverRpc','defs','selections','jsx','get','UPDATE_CURSOR','useDependency','#fff','_renderManagerService','univerjs-icon\x20univerjs-icon-','IBeforeCloseService','_logService','_anchor','delete','getColor','InsertRangeMoveRightCommandId','CommandType','colorChannel1','endRow','enableLocalCache','add','UniverDesign','collab-text-range-','MemberService','UniverInstanceType','PERMISSION_DENIED','_refreshCollabCursors','object','TOO_MANY_REQUESTS','Injector','ENSURE_SNAPSHOT_EXECUTION','univer-flex\x20univer-items-center','reconnect','7203ldDaMS','fillText','SHEET_VIEWPORT_KEY','HTTPService','COMPLETION_FINISHED','_localStorageService','BrowserCollaborationSocketService','stringify','isActive','UniverProCollaboration','hide','Optional','_cursor','DisposableCollection','getUnitId','filter','_onCursorDelete','sessionTicket','text','yellow.400','unshift','session.collaboration-timeout','univer-flex\x20univer-mr-2\x20univer-text-xl','loadUnit','ACTIVE_UNIT_EVENT_CHANNEL','clsx','DependentOn','_commandService','_createSocketURL','generateRandomId','_getScale','CHANGESET_REVISION_CONFILICT','restore','replaceDocRanges','lineTo','_eventUnsubscribe','attrs','20tqpmTU','LOCAL_CACHE_INTERVAL_KEY','has','_imageIoService','YUUMI_UNABLE_LOAD_URL','0\x200\x2017\x2016','setActiveRange','1388775KXsnNM','_entityInit$','redoState','fromEvent','getUnhiddenWorksheets','Disposable','ISocketService','range','_uiPartsService','error','executeCommand','collab-rect-range-','_handleHeartbeatEvent','string','current','className','xlink:href','CollaborationDataLoaderController','startsWith','getSkeleton','TEXT','@univerjs/network','currentColor','ALREADY_EXISTS','docStateChange$','setItem','getOwnPropertyDescriptor','Unknown\x20user','history','NodePositionConvertToRectRange','_hovered','color','_setupSubUnitSync','popstate','_initResize','getStateCache','isTransformMutationFailure','setStateCache','prototype','EffectRefRangId','ILocalCacheService','FETCH_MISS','6ZLAHgD','UniverEngineFormula','dispose$','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationController','SOCKET_FAILED_RETRY','roomMembers$','CollaborationController','getCurrentSelections','BuiltInUIPart','getUnitStatus$','unload','_scene','ranges','width','off-line-single_clip0_910_343','debounceTime','merge','includes','_localCacheService','_scheduleClearOtherTimer','_color','UniverProCollaborationClient','measureText','_name','_collabCursorState$','IUniverInstanceService','requireSession','fillStyle','TEXT_RANGE_LAYER_INDEX','getColorFromTheme','save','Inject','on-line-single_clip0_910_349','CollaborationStatus','resize','CollaborationUIEventId','collab-client.tooltip.reconnect','_toggleOffline','backgroundColor','post','_sheetSkeletonManagerService','searchParams','_transformPreviousActiveRange','WebBrowserSingleActiveUnitService','createElement','LOGIN_FAILED','WECHAT_HAS_BEEN_BOUND','apply','useRef','removeParam','MOBILE_HAS_BEEN_BOUND','@univerjs/core','_range','random','@univerjs/ui','_docSkeletonManagerService','UniverSheets','_handleJoinEvent','_beforeCloseService','_memberService','complete','_roomMembers$','_handleEvent','getSheetId','sessionStatus$','touchDependencies','hovered','hasOwnProperty','DocSelectionManagerService','@univerjs/sheets-ui','RxDisposable','toString','handleIRemoveRow','session.will-retry','values','show','YUUMI_ALL_TABLES_IS_INVALID','fillRule','Rect','getUndoRedoMutationParamsCache','@univerjs-pro/collaboration-client','runId','@univerjs-pro/collaboration','APPLY_NON_SEQUENTIAL_REVISION','Error','tag','search','INTERNAL_ERROR','length','_getSaveTimeout','collaboration.closeRoom','onStarting','clipPath','5609660MAeXtu','_getMergeRange','eventID','next','_initDependencies','href','INVITE_CODE_REQUIRED','from','_disabled','CONFLICT','_refRangeService','getMemberID','useObservable','ITransformService','permission.content','collabStatus.synced','storage','selection','arc','getFocusedUnit','syncEditingCollabCursor','pluginName','addClipboardHook','IURLService','929591toTcRn','isArray','uni.network.url-service','round','collab-text-anchor-','handleDeleteRangeMoveLeft','symbol','_entities','WebURLService','mask','beginPath','IConfigService','children','urlChange$','_collaborationUIEventService','_collabCursorController','type','transformIMECache','getParam','YUUMI_RATE_OVER_LIMIT','ICommandService','closePath','getValue','_updateCollabCursors','DOC_RANGE_TYPE','cursorInfo$','@univerjs/docs-ui','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','transformByState','find','_registerRenderDependencies','_textBubble','ISnapshotServerService','serializeRangeWithSheet','_hover','collabStatus.fetchMiss','_updateLocalCursor','UNAUTHENTICATED','_ensureSubject','clearTimeout','focused$','forwardRef','USERS_LEAVE','_drawTextRange','_document','defIds','startColumn','getCollabCursors$','split','YUUMI_SUBSCRIPTION_NOT_FOUND','getCoordByCell','makeDirty','_registerDependencies','transformRemoteChangeset','getTypeOfUnitAdded$','url(#$1','USER_NOT_INVITED_CODE','CollaborationSocketService','onCommandExecuted','React','_removeCollabCursors','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRenderById','_handleLeaveEvent','@univerjs/design','_saveCache','_dataLoaderService','setConfig','_setupBeforeClosingHandler','Subject','all','registerRefRange','params','whenReady','SessionStatus','UniverCore','_shapes','translate(.97)','collaboration.single-unit.warning','evenodd','collabCursorState$','_transformHistoryAndStateStack','YUUMI_ASYNCIO_CANCELLED','8OIcedv','getMember','use','_httpService','_instanceService','fromEventSubject','_selfUnitIDs','setParam','@univerjs/sheets','Plugin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','max','_lastPointer','forEach','_scheduleSaving','setShapeProps','exhaustSavingTask','APPLY_REVISION_CONFILICT','clearInterval','RegularPolygon','#FFF','svg','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetBySheetId','_labelPosition','send','UNIVER_SHEET','SNAPSHOT_INVALID_SNAPSHOT','application/json','location','YUUMI_NO_CUBOID_FOR_QUESTION','_unitOnClients','DocSkeletonManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getConfig','univer-text-red-500','getOffsetConfig','_collabSessionService','_cachedData','AWAITING','replaceState','bottom','RECT','setAlpha','debug','NOT_FOUND','saveOfflineData','SheetsSelectionsService','body','replace','size','mergeOverrideWithDependencies','@univerjs/engine-formula','transformStateCache','column','UNDEFINED','@univerjs/docs','_status$','session.connection-failed','toStringTag','source','OTHER_CLIENTS_EDITING','pushState','onPointerEnter$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getCellPositionByOffset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','indexOf','_transformService','addObjects','unitId','_updateURLWithCurrentState','green.600','jiqing.500','useCallback','_docClipboardService','PY_RUNTIME_SCRIPT_ERROR','getLocalCacheKey','IDocClipboardService','Tools','_docTransformStateCacheService','_heartbeatTimer','DesktopCollaborationStatusDisplayController','createInstance','_injector','YUUMI_AI_RUN_FAILED','_urlService','UnitStatus','_draw','getTypeOfUnitDisposed$','UniverUi','updateOfflineData','SNAPSHOT_HAS_BEEN_REMOVED','getActiveSheet','onMouseMove','undoState','combineLatest','_getSheetObject','row','takeUntil','_docTransformIMECacheService','_id','Module','addEventListener','_syncEditingCollabCursorService','_initEvent','DEFAULT_WS_SESSION_TICKET_URL','DocIMEInputManagerService','status$','push','executionId','_initStatusListener','_initStatusComponent','_drawAnchor','UniverIcon','icon','unsubscribe','registerBeforeClose','DataLoaderService','APPLY_DUPLICATED','RemoveColCommandId','SOCKET_FAILED','some','LICENSE_DISTRO_REJECTED','CollaborationUIEventService','debounce','_colorAssignService','NO_OTHER_CLIENTS_EDITING','shareReplay','SetSelectionsOperation','UniverNetwork','@univerjs/rpc','top','_localeService','override','DeleteRangeMoveLeftCommandId','getViewport','_scheduleHeartbeat','onRendered','rxjs','name','Shape','mutations','Rectangle','drawWith','7989957XiUYMX','_configService','_initEntityListener','OFFLINE','MUTATION','_themeService','purple.300','_cursors','getDocRanges','idSuffix','currentTheme$','call','_doCreateSocket','cursorInfo','fill','getRangePointData','rgba(255,\x20255,\x20255,\x200.01)','SheetSkeletonManagerService','UniverProCollaborationClientUi','toRgbString','asObservable','_revisionService','VIEW_MAIN','deepClone','_saveTaskMap','OTHER_CLIENT_EDITING','key','none','CONNECTOR_DATA_TOO_LARGE','MoveRangeCommandId','newValue','triggerDblclick','_updateSubUnitFromURLParams','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','registerComponent','flatMap','code','IImageIoService','_onCursorUpdate','PENDING','@univerjs/drawing','_render','unitID','APPLY_PERMISSION_DENIED','memberID','MessageType','jsxs','handleInsertRangeMoveRight','IRenderManagerService','UniverCollaborationClientPlugin','RemoveRowCommandId','_toggleOnline','572NosWkZ','collaboration-client-ui.config','_online','setUndoRedoMutationParamsCache','UniverCollaborationClientUIPlugin','_messageService','transformSelections','saveTaskMap','_anchorDot','ILocalStorageService','SetTextSelectionsOperation','_cursorShapes','contains','addObject','UNRECOGNIZED','disableLocalCache','_unitStatus','m2Prime','LICENSE_IMPORT_SIZE_EXCEEDED','assign','_removeClearOtherTimer','subscribeEvent','subunit','SheetCollabCursorShape','EMAIL_HAS_BEEN_BOUND','LICENSE_MAX_UNITS_EXCEEDED','ILogService','YUUMI_URL_COL_OUT_OF_RANGE','startRow','_notificationService','1em','init','doc.mutation.rich-text-editing','_colorIndex','ONLINE','moveTo','then','data','_startSheetCollabCursor','transformMutationsWithChangeset','ColorKit','_transformUndoRedoStack','LOCAL_CACHE_INTERVAL','deserializeRangeWithSheet','pipe','textRanges','DocCollaborationEntity','currentSkeleton$','RemoteUniscriptService','isTransformMutationsWithChangesetSuccess','toDisposable','Workbook','function','INVALID_ARGUMENT','switchMap','collabStatus.conflict','_univerInstanceService','getAncestorScale','...','_context','_backgroundColor','Warning','BehaviorSubject','CollaborationEvent','m1Prime','[RemoteUniscriptService]:\x20no\x20focused\x20unit','roomMembers','FromArray','blue.400','activeSheet$','propertyIsEnumerable','_session','subscribe','disposeWithMe','defineProperty','getCurrentUnitForType','addHandlerCallback','4158847haCDQz'];_0x37b6=function(){return _0x3d79f3;};return _0x37b6();}
1
+ function _0x2584(_0x436197,_0x42ddeb){const _0x19364f=_0x1936();return _0x2584=function(_0x2584ea,_0x56c21b){_0x2584ea=_0x2584ea-0x124;let _0x19aed3=_0x19364f[_0x2584ea];return _0x19aed3;},_0x2584(_0x436197,_0x42ddeb);}(function(_0x9fb1c,_0x4fa484){const _0xe91f63=_0x2584,_0x4f3e5f=_0x9fb1c();while(!![]){try{const _0x317ade=parseInt(_0xe91f63(0x1bb))/0x1*(parseInt(_0xe91f63(0x3b7))/0x2)+parseInt(_0xe91f63(0x3bb))/0x3*(parseInt(_0xe91f63(0x169))/0x4)+-parseInt(_0xe91f63(0x192))/0x5*(parseInt(_0xe91f63(0x2de))/0x6)+parseInt(_0xe91f63(0x26a))/0x7+-parseInt(_0xe91f63(0x16f))/0x8*(-parseInt(_0xe91f63(0x258))/0x9)+parseInt(_0xe91f63(0x29f))/0xa+-parseInt(_0xe91f63(0x3b0))/0xb;if(_0x317ade===_0x4fa484)break;else _0x4f3e5f['push'](_0x4f3e5f['shift']());}catch(_0x597aff){_0x4f3e5f['push'](_0x4f3e5f['shift']());}}}(_0x1936,0x4ee3e),function(_0x480d71,_0x21079e){const _0x54e9de=_0x2584;typeof exports==_0x54e9de(0x38e)&&typeof module<'u'?_0x21079e(exports,require('@univerjs-pro/collaboration-client'),require(_0x54e9de(0x221)),require(_0x54e9de(0x1f0)),require('@univerjs/network'),require(_0x54e9de(0x3ab)),require('@univerjs/drawing'),require(_0x54e9de(0x2c1)),require(_0x54e9de(0x184)),require('@univerjs-pro/collaboration'),require(_0x54e9de(0x1d4)),require(_0x54e9de(0x3b9)),require(_0x54e9de(0x245)),require(_0x54e9de(0x226)),require(_0x54e9de(0x2d1)),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require(_0x54e9de(0x360))):typeof define=='function'&&define[_0x54e9de(0x16e)]?define(['exports',_0x54e9de(0x1eb),_0x54e9de(0x221),_0x54e9de(0x1f0),_0x54e9de(0x2e1),_0x54e9de(0x3ab),_0x54e9de(0x3a9),_0x54e9de(0x2c1),_0x54e9de(0x184),_0x54e9de(0x21a),'@univerjs/engine-formula',_0x54e9de(0x3b9),_0x54e9de(0x245),'@univerjs/sheets-ui',_0x54e9de(0x2d1),_0x54e9de(0x14b),_0x54e9de(0x2fb),_0x54e9de(0x1e4),'@univerjs/rpc'],_0x21079e):(_0x480d71=typeof globalThis<'u'?globalThis:_0x480d71||self,_0x21079e(_0x480d71['UniverProCollaborationClientUi']={},_0x480d71[_0x54e9de(0x2f1)],_0x480d71[_0x54e9de(0x25a)],_0x480d71['UniverEngineRender'],_0x480d71[_0x54e9de(0x308)],_0x480d71[_0x54e9de(0x3b2)],_0x480d71[_0x54e9de(0x170)],_0x480d71[_0x54e9de(0x2c1)],_0x480d71[_0x54e9de(0x2bb)],_0x480d71['UniverProCollaboration'],_0x480d71[_0x54e9de(0x232)],_0x480d71[_0x54e9de(0x373)],_0x480d71[_0x54e9de(0x2c1)][_0x54e9de(0x24c)],_0x480d71[_0x54e9de(0x18a)],_0x480d71[_0x54e9de(0x396)],_0x480d71[_0x54e9de(0x15a)],_0x480d71[_0x54e9de(0x1fe)],_0x480d71['React'],_0x480d71[_0x54e9de(0x34d)]));}(this,function(_0x4cc1af,_0x3d13ea,_0x321c93,_0x3f844e,_0x1401f5,_0x21bba4,_0x5ebfa3,_0x5072b9,_0x266d28,_0x2daa7a,_0x4416e2,_0x16544f,_0x4898c1,_0x4526fb,_0x1c0b83,_0x3d72cc,_0x5db293,_0x8848fe,_0x1912b6){'use strict';const _0x51cbaf=_0x2584;var _0xc361fc=Object[_0x51cbaf(0x3bc)],_0x8e2dea=(_0x4ebbbf,_0x64e3d0,_0x23153e)=>_0x64e3d0 in _0x4ebbbf?_0xc361fc(_0x4ebbbf,_0x64e3d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23153e}):_0x4ebbbf[_0x64e3d0]=_0x23153e,_0x34d45d=(_0x1cdf55,_0x326cf1,_0x3436d4)=>_0x8e2dea(_0x1cdf55,typeof _0x326cf1!='symbol'?_0x326cf1+'':_0x326cf1,_0x3436d4),_0x37e025=Object[_0x51cbaf(0x202)],_0x20732b=(_0x115f77,_0x29c578,_0x10ecc0,_0x11f2b7)=>{const _0x2dd58b=_0x51cbaf;for(var _0x4397cc=_0x11f2b7>0x1?void 0x0:_0x11f2b7?_0x37e025(_0x29c578,_0x10ecc0):_0x29c578,_0x43cfa9=_0x115f77[_0x2dd58b(0x367)]-0x1,_0x39f9cc;_0x43cfa9>=0x0;_0x43cfa9--)(_0x39f9cc=_0x115f77[_0x43cfa9])&&(_0x4397cc=_0x39f9cc(_0x4397cc)||_0x4397cc);return _0x4397cc;},_0x25c425=(_0x3dc0e6,_0x4f8819)=>(_0x156755,_0x2ab44e)=>_0x4f8819(_0x156755,_0x2ab44e,_0x3dc0e6);let _0x32a18d=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x32f24a,_0x2b7b52){const _0x22f364=_0x51cbaf;super(),this[_0x22f364(0x325)]=_0x32f24a,this['_imageIoService']=_0x2b7b52,this[_0x22f364(0x3a5)]();}[_0x51cbaf(0x3a5)](){const _0x4778fd=_0x51cbaf,_0xa70ac1=this;this[_0x4778fd(0x28d)](this[_0x4778fd(0x325)][_0x4778fd(0x29a)]({'onBeforePasteImage':async _0x58f6bd=>{const _0x4e1dc7=_0x4778fd,_0x46ce4f=await _0xa70ac1[_0x4e1dc7(0x176)][_0x4e1dc7(0x374)](_0x58f6bd);return _0x46ce4f?{'source':_0x46ce4f[_0x4e1dc7(0x1a0)],'imageSourceType':_0x46ce4f[_0x4e1dc7(0x34c)]}:null;}}));}};_0x32a18d=_0x20732b([_0x25c425(0x0,_0x21bba4['IDocClipboardService']),_0x25c425(0x1,_0x5ebfa3[_0x51cbaf(0x128)])],_0x32a18d);const _0x5361c5=[_0x51cbaf(0x384),'jiqing.500',_0x51cbaf(0x29c),'red.300',_0x51cbaf(0x38c),_0x51cbaf(0x160)];class _0x4e47bc extends _0x321c93[_0x51cbaf(0x18d)]{constructor(){super(...arguments),_0x34d45d(this,'_assignedColors',new Map()),_0x34d45d(this,'_colorIndex',0x0);}[_0x51cbaf(0x205)](_0x513ed7){const _0x2f535c=_0x51cbaf;if(this[_0x2f535c(0x142)][_0x2f535c(0x1f4)](_0x513ed7))return this['_assignedColors'][_0x2f535c(0x228)](_0x513ed7);const _0x1b9a85=_0x5361c5[this[_0x2f535c(0x1f2)]];return this[_0x2f535c(0x1f2)]=(this[_0x2f535c(0x1f2)]+0x1)%_0x5361c5[_0x2f535c(0x367)],this[_0x2f535c(0x142)][_0x2f535c(0x24d)](_0x513ed7,_0x1b9a85),_0x1b9a85;}}function _0x1caf2b(_0x5246e7){let _0xac4de4='';for(const _0x48003a of _0x5246e7){const {startOffset:_0x4f084d,endOffset:_0x5797f3,isActive:_0x3a63f7,rangeType:_0x5e7fa7,segmentId:_0x55c3b6,segmentPage:_0x580fb0}=_0x48003a;_0xac4de4['length']&&(_0xac4de4+=','),_0xac4de4+=_0x4f084d+':'+_0x5797f3+':'+(_0x3a63f7?'1':'0')+':'+_0x5e7fa7+':'+_0x55c3b6+':'+_0x580fb0;}return _0xac4de4;}function _0x30ba65(_0x3086ce){const _0x1f97bd=_0x51cbaf,_0x42aaa7=_0x3086ce[_0x1f97bd(0x365)](','),_0x28b41f=[];for(const _0x5db29c of _0x42aaa7){const [_0x5b7191,_0x39e9dd,_0x3ab33e,_0x46854b,_0x32488f,_0x5dcf6c]=_0x5db29c[_0x1f97bd(0x365)](':');_0x28b41f[_0x1f97bd(0x207)]({'startOffset':Number(_0x5b7191),'endOffset':Number(_0x39e9dd),'collapsed':_0x5b7191===_0x39e9dd,'isActive':_0x3ab33e==='1','rangeType':_0x46854b===_0x321c93[_0x1f97bd(0x150)][_0x1f97bd(0x28c)]?_0x321c93[_0x1f97bd(0x150)][_0x1f97bd(0x28c)]:_0x321c93[_0x1f97bd(0x150)]['RECT'],'segmentId':typeof _0x32488f==_0x1f97bd(0x289)?String(_0x32488f):'','segmentPage':Number(_0x5dcf6c!=null?_0x5dcf6c:-0x1)});}return _0x28b41f['some'](_0x1a49d8=>_0x1a49d8[_0x1f97bd(0x30c)])||(_0x28b41f[0x0][_0x1f97bd(0x30c)]=!0x0),_0x28b41f;}class _0x6d5009 extends _0x321c93[_0x51cbaf(0x37f)]{constructor(){const _0x113811=_0x51cbaf;super(...arguments),_0x34d45d(this,_0x113811(0x201),new _0x5072b9[(_0x113811(0x190))](null)),_0x34d45d(this,_0x113811(0x164),this['_collabCursorState$'][_0x113811(0x337)]());}['syncEditingCollabCursor'](_0x5cb60c){const _0x1909da=_0x51cbaf,{unitID:_0x4a67de,memberID:_0x3d8c46,textRanges:_0xf8fec}=_0x5cb60c,_0x5da5aa=_0x1caf2b(_0xf8fec);if(_0x5da5aa==='')return;const _0x55416b={'unitID':_0x4a67de,'memberID':_0x3d8c46,'selection':_0x5da5aa};this[_0x1909da(0x201)][_0x1909da(0x15b)](_0x55416b);}}var _0x584c79=Object['getOwnPropertyDescriptor'],_0x185205=(_0x2a9f27,_0xf3b62d,_0x2c1aa6,_0x516570)=>{const _0x3cc7c8=_0x51cbaf;for(var _0xd908b7=_0x516570>0x1?void 0x0:_0x516570?_0x584c79(_0xf3b62d,_0x2c1aa6):_0xf3b62d,_0x33d9e3=_0x2a9f27[_0x3cc7c8(0x367)]-0x1,_0x1e76fa;_0x33d9e3>=0x0;_0x33d9e3--)(_0x1e76fa=_0x2a9f27[_0x33d9e3])&&(_0xd908b7=_0x1e76fa(_0xd908b7)||_0xd908b7);return _0xd908b7;},_0x65ba02=(_0x571a55,_0x509dc0)=>(_0x35bfdb,_0xf516bf)=>_0x509dc0(_0x35bfdb,_0xf516bf,_0x571a55);const _0x2888e4=0x12c,_0x33ee95=0x64;let _0x45010c=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x3c23d6,_0x23d0fb,_0x5f4ab3,_0x27cdb8,_0x3b5885,_0x100b2c,_0x4e79ee,_0x3ed5ce,_0x4e6293){const _0x333b4b=_0x51cbaf;super(),_0x34d45d(this,'_online',!0x1),_0x34d45d(this,_0x333b4b(0x3a5),!0x1),_0x34d45d(this,_0x333b4b(0x304),new _0x5072b9[(_0x333b4b(0x190))](new Map())),_0x34d45d(this,'cursorInfo$',this['_cursorInfo$'][_0x333b4b(0x337)]()),_0x34d45d(this,_0x333b4b(0x274),new _0x5072b9['BehaviorSubject']([])),_0x34d45d(this,'roomMembers$',this[_0x333b4b(0x274)]['pipe'](_0x5072b9[_0x333b4b(0x284)](_0x2888e4))),_0x34d45d(this,_0x333b4b(0x1ce),_0x321c93[_0x333b4b(0x1c5)](_0x2587a9=>{const _0x44e89b=_0x333b4b,_0x5edf67={'eventID':_0x2daa7a[_0x44e89b(0x348)][_0x44e89b(0x1f9)],'data':{'unitID':this[_0x44e89b(0x2f6)],'memberID':this[_0x44e89b(0x24f)][_0x44e89b(0x154)](),'selection':_0x1caf2b(_0x2587a9)}};this['_session']['send'](_0x5edf67,this['unitID']);},_0x33ee95)),(this['unitID']=_0x3c23d6,this[_0x333b4b(0x24f)]=_0x23d0fb,this[_0x333b4b(0x393)]=_0x5f4ab3,this[_0x333b4b(0x168)]=_0x27cdb8,this[_0x333b4b(0x206)]=_0x3b5885,this['_syncEditingCollabCursorService']=_0x100b2c,this[_0x333b4b(0x1de)]=_0x4e79ee,this[_0x333b4b(0x297)]=_0x3ed5ce,this['_commandService']=_0x4e6293);}get[_0x51cbaf(0x26b)](){const _0x1aa0af=_0x51cbaf;return this['_cursorInfo$'][_0x1aa0af(0x260)]();}get[_0x51cbaf(0x1d1)](){const _0xe22033=_0x51cbaf;return this[_0xe22033(0x274)][_0xe22033(0x260)]();}[_0x51cbaf(0x256)](){const _0x838930=_0x51cbaf;super[_0x838930(0x256)](),this[_0x838930(0x304)][_0x838930(0x15b)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x838930(0x15b)]([]),this[_0x838930(0x274)]['complete']();}[_0x51cbaf(0x322)](){const _0x2071fb=_0x51cbaf;this[_0x2071fb(0x3a5)]||(this[_0x2071fb(0x3a5)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x5072b9[_0x2071fb(0x236)](this[_0x2071fb(0x1df)]))[_0x2071fb(0x12f)](_0x52033e=>{const _0x5d8dd3=_0x2071fb;_0x52033e===_0x3d13ea[_0x5d8dd3(0x242)][_0x5d8dd3(0x2d8)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x2071fb(0x2dd)](_0x5072b9[_0x2071fb(0x236)](this[_0x2071fb(0x1df)]))[_0x2071fb(0x12f)](_0x3b6bb6=>{const _0x4dabf9=_0x2071fb,_0x67fde2=_0x3b6bb6[_0x4dabf9(0x369)];_0x67fde2===_0x2daa7a['CollaborationEvent'][_0x4dabf9(0x1f9)]&&this['_onCursorUpdate'](_0x3b6bb6),_0x67fde2===_0x2daa7a[_0x4dabf9(0x348)]['USERS_LEAVE']&&this[_0x4dabf9(0x283)](_0x3b6bb6);}),this[_0x2071fb(0x28d)](this[_0x2071fb(0x1f8)]['onCommandExecuted'](_0x576d1f=>{const _0x42a006=_0x2071fb,_0x1ca251=_0x576d1f[_0x42a006(0x1ca)];_0x1ca251!=null&&this[_0x42a006(0x334)]&&_0x576d1f['id']===_0x266d28['SetTextSelectionsOperation']['id']&&_0x1ca251[_0x42a006(0x254)]===this[_0x42a006(0x2f6)]&&_0x1ca251['isEditing']===!0x1&&_0x1ca251[_0x42a006(0x27a)]['length']>0x0&&this[_0x42a006(0x1ce)](_0x1ca251[_0x42a006(0x27a)]);})),this[_0x2071fb(0x2cd)][_0x2071fb(0x164)][_0x2071fb(0x2dd)](_0x5072b9[_0x2071fb(0x236)](this[_0x2071fb(0x1df)]))[_0x2071fb(0x12f)](_0x39f104=>{const _0x5e4acb=_0x2071fb;if((_0x39f104==null?void 0x0:_0x39f104[_0x5e4acb(0x2f6)])!==this[_0x5e4acb(0x2f6)])return;const _0x345420={'eventID':_0x2daa7a['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x39f104};this[_0x5e4acb(0x30f)](_0x345420);}),this['disposeWithMe'](this[_0x2071fb(0x1f8)][_0x2071fb(0x3a8)](_0x445d79=>{const _0x122fca=_0x2071fb;if(_0x445d79['params']==null)return;const _0x220071=_0x445d79['params'];if(_0x445d79['id']!==_0x266d28[_0x122fca(0x2d7)]['id']||_0x220071[_0x122fca(0x254)]!==this[_0x122fca(0x2f6)])return;const _0x221478={'id':_0x122fca(0x350),'params':_0x220071},_0x5a9f32=this['cursorInfo'];for(const [_0x4f1734,_0x23e630]of _0x5a9f32){const _0x1294b8={'id':_0x122fca(0x350),'params':{'unitId':this[_0x122fca(0x2f6)],'actions':null,'textRanges':_0x23e630[_0x122fca(0x27a)]}},_0x2f6a35=this['_transformService'][_0x122fca(0x136)](_0x221478,_0x1294b8,!0x1);if(_0x2daa7a[_0x122fca(0x1d3)](_0x2f6a35))throw _0x2f6a35['error'];_0x5a9f32[_0x122fca(0x24d)](_0x4f1734,{..._0x23e630,'ranges':_0x2f6a35[_0x122fca(0x285)][_0x122fca(0x1ca)][_0x122fca(0x157)]});}queueMicrotask(()=>{const _0x255696=_0x122fca;this[_0x255696(0x304)]['next'](_0x5a9f32);});})));}[_0x51cbaf(0x30f)](_0x4a7b7d){const _0x405d33=_0x51cbaf;var _0x4627c0,_0x52d9cd;const {memberID:_0x2c187,selection:_0x305f31}=_0x4a7b7d[_0x405d33(0x2aa)],_0x5c1856=_0x30ba65(_0x305f31),_0x36c8c3=(_0x52d9cd=(_0x4627c0=this[_0x405d33(0x206)][_0x405d33(0x31c)](this['unitID'],_0x2c187))==null?void 0x0:_0x4627c0[_0x405d33(0x2a3)])!=null?_0x52d9cd:'Unknown\x20user',_0x3adf56={'color':this[_0x405d33(0x168)][_0x405d33(0x205)](_0x2c187),'name':_0x36c8c3,'ranges':_0x5c1856},_0xd44490=this[_0x405d33(0x26b)];_0xd44490[_0x405d33(0x24d)](_0x2c187,_0x3adf56),this[_0x405d33(0x304)][_0x405d33(0x15b)](_0xd44490);}['_onCursorDelete'](_0x535d36){const _0x5e4f0d=_0x51cbaf,{memberID:_0x31182d}=_0x535d36[_0x5e4f0d(0x2aa)],_0xd22d89=this[_0x5e4f0d(0x26b)];_0xd22d89[_0x5e4f0d(0x215)](_0x31182d),this[_0x5e4f0d(0x304)][_0x5e4f0d(0x15b)](_0xd22d89);}[_0x51cbaf(0x174)](){const _0x5c3715=_0x51cbaf;var _0x5ae514;if(this['_online']=!0x0,((_0x5ae514=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5ae514[_0x5c3715(0x198)]())!==this[_0x5c3715(0x2f6)])return;const _0x45db3f=this[_0x5c3715(0x393)][_0x5c3715(0x228)](_0x266d28[_0x5c3715(0x1c2)])['getDocRanges']();Array['isArray'](_0x45db3f)&&_0x45db3f[_0x5c3715(0x367)]>0x0&&this['_updateLocalCursor'](_0x45db3f);}[_0x51cbaf(0x351)](){const _0x27fdb6=_0x51cbaf;this[_0x27fdb6(0x334)]=!0x1;}};_0x45010c=_0x185205([_0x65ba02(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0x65ba02(0x3,_0x321c93['Inject'](_0x4e47bc)),_0x65ba02(0x4,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea[_0x51cbaf(0x26f)])),_0x65ba02(0x5,_0x321c93[_0x51cbaf(0x2d6)](_0x6d5009)),_0x65ba02(0x6,_0x2daa7a[_0x51cbaf(0x33f)]),_0x65ba02(0x7,_0x321c93[_0x51cbaf(0x39d)]),_0x65ba02(0x8,_0x321c93[_0x51cbaf(0x25c)])],_0x45010c);var _0x15a6a0=Object['getOwnPropertyDescriptor'],_0x3dc6f6=(_0x5c4830,_0x38e677,_0x39de3b,_0x310a48)=>{const _0x59bee8=_0x51cbaf;for(var _0x350f6a=_0x310a48>0x1?void 0x0:_0x310a48?_0x15a6a0(_0x38e677,_0x39de3b):_0x38e677,_0x448d68=_0x5c4830[_0x59bee8(0x367)]-0x1,_0x2ed50c;_0x448d68>=0x0;_0x448d68--)(_0x2ed50c=_0x5c4830[_0x448d68])&&(_0x350f6a=_0x2ed50c(_0x350f6a)||_0x350f6a);return _0x350f6a;},_0x186fd4=(_0x40bb0f,_0x38091a)=>(_0x1794c0,_0x4ee253)=>_0x38091a(_0x1794c0,_0x4ee253,_0x40bb0f);const _0x55596c=0x12c,_0x14e637=0x64,_0x3ded86=()=>{let _0x5604c8=[],_0x1e5aa3=!0x1;return _0x4fcd0b=>{_0x5604c8['push'](_0x4fcd0b),_0x1e5aa3||(_0x1e5aa3=!0x0,setTimeout(()=>{const _0x172d0e=_0x2584;_0x5604c8[_0x172d0e(0x124)](_0x50f549=>_0x50f549()),_0x5604c8=[],_0x1e5aa3=!0x1;}));};};let _0x1cdbae=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x3597d8,_0x479d66,_0x5e1b39,_0x39c847,_0xd02543,_0x3073c5,_0x5272b9,_0x3291f8){const _0x402e0e=_0x51cbaf;super(),_0x34d45d(this,'_online',!0x1),_0x34d45d(this,'_init',!0x1),_0x34d45d(this,_0x402e0e(0x304),new _0x5072b9[(_0x402e0e(0x190))](new Map())),_0x34d45d(this,'cursorInfo$',this[_0x402e0e(0x304)]['asObservable']()),_0x34d45d(this,_0x402e0e(0x274),new _0x5072b9[(_0x402e0e(0x190))]([])),_0x34d45d(this,'roomMembers$',this[_0x402e0e(0x274)]['pipe'](_0x5072b9[_0x402e0e(0x284)](_0x55596c))),_0x34d45d(this,_0x402e0e(0x1ce),_0x321c93[_0x402e0e(0x1c5)]((_0x4351e4,_0x1d0d31)=>{const _0x5ec4ff=_0x402e0e,_0xbfe438={'eventID':_0x2daa7a[_0x5ec4ff(0x348)][_0x5ec4ff(0x1f9)],'data':{'unitID':this[_0x5ec4ff(0x2f6)],'memberID':this['_session']['getMemberID'](),'selection':_0x4416e2[_0x5ec4ff(0x30a)](_0x4351e4,_0x1d0d31[_0x5ec4ff(0x199)])}};this['_session'][_0x5ec4ff(0x31b)](_0xbfe438,this['unitID']);},_0x14e637)),(this[_0x402e0e(0x2f6)]=_0x3597d8,this[_0x402e0e(0x24f)]=_0x479d66,this[_0x402e0e(0x393)]=_0x5e1b39,this['_colorAssignService']=_0x39c847,this[_0x402e0e(0x206)]=_0xd02543,this['_univerInstanceService']=_0x3073c5,this[_0x402e0e(0x1f8)]=_0x5272b9,this['_refRangeService']=_0x3291f8);}get[_0x51cbaf(0x26b)](){const _0x1e7e29=_0x51cbaf;return this[_0x1e7e29(0x304)][_0x1e7e29(0x260)]();}get[_0x51cbaf(0x1d1)](){const _0x5738c0=_0x51cbaf;return this[_0x5738c0(0x274)][_0x5738c0(0x260)]();}[_0x51cbaf(0x256)](){const _0x16b430=_0x51cbaf;super[_0x16b430(0x256)](),this[_0x16b430(0x304)][_0x16b430(0x15b)](new Map()),this['_cursorInfo$'][_0x16b430(0x2bc)](),this[_0x16b430(0x274)][_0x16b430(0x15b)]([]),this['_roomMembers$'][_0x16b430(0x2bc)]();}[_0x51cbaf(0x322)](){const _0x1db711=_0x51cbaf;this[_0x1db711(0x3a5)]||(this['_init']=!0x0,this['_session'][_0x1db711(0x147)][_0x1db711(0x2dd)](_0x5072b9[_0x1db711(0x236)](this[_0x1db711(0x1df)]))[_0x1db711(0x12f)](_0x50bdb1=>{const _0x4fa736=_0x1db711;_0x50bdb1===_0x3d13ea[_0x4fa736(0x242)][_0x4fa736(0x2d8)]?this[_0x4fa736(0x174)]():this['_toggleOffline']();}),this['_session'][_0x1db711(0x1c8)][_0x1db711(0x2dd)](_0x5072b9[_0x1db711(0x236)](this['dispose$']))['subscribe'](_0x1130eb=>{const _0x4e6f5b=_0x1db711,_0x38339d=_0x1130eb[_0x4e6f5b(0x369)];_0x38339d===_0x2daa7a[_0x4e6f5b(0x348)][_0x4e6f5b(0x1f9)]&&this[_0x4e6f5b(0x30f)](_0x1130eb),_0x38339d===_0x2daa7a[_0x4e6f5b(0x348)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x1130eb);}),this['_onRefRangeChange'](),this[_0x1db711(0x28d)](this[_0x1db711(0x1f8)][_0x1db711(0x3a8)](_0x370214=>{const _0x1fcb45=_0x1db711;if(this[_0x1fcb45(0x334)]&&_0x370214['id']===_0x16544f[_0x1fcb45(0x25b)]['id']&&_0x370214[_0x1fcb45(0x1ca)][_0x1fcb45(0x254)]===this[_0x1fcb45(0x2f6)]){const _0xde25ad=_0x370214['params'];this[_0x1fcb45(0x1ce)](_0xde25ad['subUnitId'],_0xde25ad['selections'][0x0]);}})));}[_0x51cbaf(0x30f)](_0x56807c){const _0x355c03=_0x51cbaf;var _0x5dd436,_0x136348;const {memberID:_0x3642fd,selection:_0x46df5e}=_0x56807c['data'],{sheetName:_0x1c8c3e,range:_0x2506e0}=_0x4416e2[_0x355c03(0x385)](_0x46df5e),_0x4a3191={'name':(_0x136348=(_0x5dd436=this['_memberService'][_0x355c03(0x31c)](this[_0x355c03(0x2f6)],_0x3642fd))==null?void 0x0:_0x5dd436[_0x355c03(0x2a3)])!=null?_0x136348:_0x355c03(0x255),'range':this[_0x355c03(0x352)](_0x1c8c3e,_0x2506e0),'sheetID':_0x1c8c3e,'color':this[_0x355c03(0x168)][_0x355c03(0x205)](_0x3642fd),'selection':_0x46df5e},_0x57488c=this[_0x355c03(0x26b)];_0x57488c['set'](_0x3642fd,_0x4a3191),this[_0x355c03(0x304)]['next'](_0x57488c);}[_0x51cbaf(0x283)](_0x58a3ce){const _0x194d38=_0x51cbaf,{memberID:_0x57d77d}=_0x58a3ce[_0x194d38(0x2aa)],_0x3eee64=this['cursorInfo'];_0x3eee64[_0x194d38(0x215)](_0x57d77d),this['_cursorInfo$'][_0x194d38(0x15b)](_0x3eee64);}['_getMergeRange'](_0x41f7f2,_0x2db090){const _0x3d4e8d=_0x51cbaf;var _0x17ab63,_0x1b558e;const _0xe6c79c=(_0x1b558e=(_0x17ab63=this[_0x3d4e8d(0x297)]['getUniverSheetInstance'](this[_0x3d4e8d(0x2f6)]))==null?void 0x0:_0x17ab63['getSheetBySheetId'](_0x41f7f2))==null?void 0x0:_0x1b558e[_0x3d4e8d(0x2c0)]();return(_0xe6c79c==null?void 0x0:_0xe6c79c[_0x3d4e8d(0x29e)](_0x322cdb=>_0x321c93[_0x3d4e8d(0x392)][_0x3d4e8d(0x2c5)](_0x322cdb,_0x2db090)))||_0x2db090;}[_0x51cbaf(0x17a)](){const _0x59678f=_0x51cbaf,_0x15f9df=new _0x321c93['DisposableCollection'](),_0x484a33=_0x3ded86(),_0x24e73c=()=>{const _0x5d9a82=_0x2584;_0x15f9df[_0x5d9a82(0x256)]();const _0x1a2f2f=(_0x486052,_0x927af9,_0x2c932b,_0x51c58f)=>{const _0x4aa8a6=_0x5d9a82;let _0x4fe8f4=[];switch(_0x486052['id']){case _0x16544f['EffectRefRangId'][_0x4aa8a6(0x16a)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x1e2)](_0x486052,_0x51c58f);break;}case _0x16544f['EffectRefRangId'][_0x4aa8a6(0x156)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x37c)](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)][_0x4aa8a6(0x17b)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x1b6)](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)]['InsertRangeMoveDownCommandId']:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x397)](_0x486052,_0x51c58f);break;}case _0x16544f['EffectRefRangId'][_0x4aa8a6(0x2a8)]:{_0x4fe8f4=_0x16544f['handleInsertRangeMoveRight'](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)]['InsertRowCommandId']:{_0x4fe8f4=_0x16544f['handleInsertRow'](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)][_0x4aa8a6(0x1c7)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x252)](_0x486052,_0x51c58f);break;}case _0x16544f['EffectRefRangId'][_0x4aa8a6(0x338)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x178)](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)][_0x4aa8a6(0x1bc)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x34b)](_0x486052,_0x51c58f);break;}}const _0x1451a3=_0x16544f['runRefRangeMutations'](_0x4fe8f4,_0x51c58f),_0x45b98b=this['cursorInfo'][_0x4aa8a6(0x228)](_0x927af9);if(_0x45b98b&&_0x1451a3){const _0x20e45c={..._0x45b98b,'range':_0x1451a3};this['cursorInfo'][_0x4aa8a6(0x24d)](_0x927af9,_0x20e45c),_0x484a33(()=>{const _0x432245=_0x4aa8a6,_0x515995=this[_0x432245(0x35e)]['registerRefRange'](_0x1451a3,_0x447cca=>(_0x515995[_0x432245(0x256)](),_0x1a2f2f(_0x447cca,_0x927af9,_0x2c932b,_0x1451a3)));_0x15f9df[_0x432245(0x317)](_0x515995);});}return{'redos':[],'undos':[]};};this[_0x5d9a82(0x26b)][_0x5d9a82(0x124)]((_0x2ae62a,_0x47bfc5)=>{const _0x33c940=_0x5d9a82,{range:_0x39ce58,sheetID:_0x47a0e2}=_0x2ae62a,_0x4a08f4=this[_0x33c940(0x35e)][_0x33c940(0x319)](_0x39ce58,_0x5bac9a=>(_0x4a08f4[_0x33c940(0x256)](),_0x1a2f2f(_0x5bac9a,_0x47bfc5,_0x47a0e2,_0x39ce58)));_0x15f9df['add'](_0x4a08f4);});};this[_0x59678f(0x28d)](_0x321c93['toDisposable'](this[_0x59678f(0x304)]['subscribe'](()=>{_0x24e73c();})));}[_0x51cbaf(0x174)](){const _0x3d5976=_0x51cbaf;var _0x58d6e7,_0x5d440e;if(this[_0x3d5976(0x334)]=!0x0,((_0x58d6e7=this[_0x3d5976(0x297)][_0x3d5976(0x20f)]())==null?void 0x0:_0x58d6e7[_0x3d5976(0x198)]())!==this[_0x3d5976(0x2f6)])return;const _0x38b099=(_0x5d440e=this[_0x3d5976(0x393)]['get'](_0x16544f[_0x3d5976(0x171)])['getCurrentSelections']())==null?void 0x0:_0x5d440e[0x0],_0x4f6c86=this['_univerInstanceService']['getCurrentUnitForType'](_0x321c93['UniverInstanceType'][_0x3d5976(0x35a)])['getActiveSheet']();_0x38b099&&_0x4f6c86&&this[_0x3d5976(0x1ce)](_0x4f6c86['getSheetId'](),_0x38b099);}[_0x51cbaf(0x351)](){const _0x446958=_0x51cbaf;this[_0x446958(0x334)]=!0x1;}};_0x1cdbae=_0x3dc6f6([_0x186fd4(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93['Injector'])),_0x186fd4(0x3,_0x321c93[_0x51cbaf(0x2d6)](_0x4e47bc)),_0x186fd4(0x4,_0x321c93['Inject'](_0x3d13ea[_0x51cbaf(0x26f)])),_0x186fd4(0x5,_0x321c93[_0x51cbaf(0x39d)]),_0x186fd4(0x6,_0x321c93['ICommandService']),_0x186fd4(0x7,_0x321c93[_0x51cbaf(0x2d6)](_0x16544f['RefRangeService']))],_0x1cdbae);var _0x2e7d37=Object[_0x51cbaf(0x202)],_0x4c0fff=(_0x35526f,_0x404f5a,_0x3d2ec6,_0x2a6f41)=>{const _0x27fc23=_0x51cbaf;for(var _0x18620f=_0x2a6f41>0x1?void 0x0:_0x2a6f41?_0x2e7d37(_0x404f5a,_0x3d2ec6):_0x404f5a,_0x133e49=_0x35526f[_0x27fc23(0x367)]-0x1,_0x764196;_0x133e49>=0x0;_0x133e49--)(_0x764196=_0x35526f[_0x133e49])&&(_0x18620f=_0x764196(_0x18620f)||_0x18620f);return _0x18620f;},_0x18394b=(_0x4e0931,_0x23246a)=>(_0x55f25e,_0x29ae0b)=>_0x23246a(_0x55f25e,_0x29ae0b,_0x4e0931);let _0x31bd2a=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x3c6792,_0x5e4010,_0x3ebbce){const _0xe30b8e=_0x51cbaf;super(),_0x34d45d(this,_0xe30b8e(0x2d9),new Map()),_0x34d45d(this,_0xe30b8e(0x208),new _0x5072b9[(_0xe30b8e(0x137))]()),(this[_0xe30b8e(0x297)]=_0x3c6792,this['_injector']=_0x5e4010,this[_0xe30b8e(0x211)]=_0x3ebbce,this[_0xe30b8e(0x3a5)]());}[_0x51cbaf(0x256)](){const _0x184cdf=_0x51cbaf;super[_0x184cdf(0x256)](),this[_0x184cdf(0x208)][_0x184cdf(0x2bc)](),this[_0x184cdf(0x2d9)][_0x184cdf(0x124)](_0x4b95a2=>_0x4b95a2[_0x184cdf(0x256)]());}[_0x51cbaf(0x2c9)](_0x4fc66a){const _0x2177d5=_0x51cbaf;return this['_entities'][_0x2177d5(0x1f4)](_0x4fc66a)?this[_0x2177d5(0x2d9)][_0x2177d5(0x228)](_0x4fc66a)['cursorInfo$']:this[_0x2177d5(0x208)][_0x2177d5(0x2dd)](_0x5072b9[_0x2177d5(0x18e)](_0x5118e4=>_0x5118e4[_0x2177d5(0x2f6)]===_0x4fc66a),_0x5072b9[_0x2177d5(0x14a)](_0x19de87=>_0x19de87[_0x2177d5(0x191)]));}[_0x51cbaf(0x3a5)](){const _0x930e6c=_0x51cbaf;this[_0x930e6c(0x297)][_0x930e6c(0x26d)](_0x321c93[_0x930e6c(0x2f3)][_0x930e6c(0x35a)])[_0x930e6c(0x2dd)](_0x5072b9['takeUntil'](this[_0x930e6c(0x1df)]))[_0x930e6c(0x12f)](async _0x1b7c97=>{const _0x3c4367=_0x930e6c,_0x5b44e7=_0x1b7c97[_0x3c4367(0x198)](),_0xda61d4=await this[_0x3c4367(0x34a)](_0x5b44e7);this['_entityInit$'][_0x3c4367(0x15b)](_0xda61d4),this[_0x3c4367(0x2d9)][_0x3c4367(0x24d)](_0x5b44e7,_0xda61d4);}),this[_0x930e6c(0x297)][_0x930e6c(0x26d)](_0x321c93[_0x930e6c(0x2f3)][_0x930e6c(0x28e)])['pipe'](_0x5072b9['takeUntil'](this[_0x930e6c(0x1df)]))['pipe'](_0x5072b9[_0x930e6c(0x18e)](_0x1dadf9=>!_0x1dadf9[_0x930e6c(0x198)]()[_0x930e6c(0x345)]('__')))['subscribe'](async _0xbd9136=>{const _0xa15657=_0x930e6c,_0x53334b=_0xbd9136['getUnitId'](),_0x338405=await this[_0xa15657(0x127)](_0x53334b);this['_entityInit$'][_0xa15657(0x15b)](_0x338405),this[_0xa15657(0x2d9)]['set'](_0x53334b,_0x338405);}),_0x5072b9['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x321c93[_0x930e6c(0x2f3)][_0x930e6c(0x28e)]),this[_0x930e6c(0x297)][_0x930e6c(0x161)](_0x321c93[_0x930e6c(0x2f3)][_0x930e6c(0x35a)]))[_0x930e6c(0x2dd)](_0x5072b9[_0x930e6c(0x236)](this[_0x930e6c(0x1df)]))[_0x930e6c(0x12f)](_0x4826cb=>{const _0x54db17=_0x930e6c,_0x43cf96=_0x4826cb[_0x54db17(0x198)](),_0x11f180=this['_entities'][_0x54db17(0x228)](_0x43cf96);_0x11f180&&(_0x11f180['dispose'](),this[_0x54db17(0x2d9)]['delete'](_0x43cf96));});}async['_startSheetCollabCursor'](_0x24d373){const _0x36ab4b=_0x51cbaf,_0x47990a=await this[_0x36ab4b(0x211)][_0x36ab4b(0x3b1)](_0x24d373),_0x336664=this[_0x36ab4b(0x393)][_0x36ab4b(0x172)](_0x1cdbae,_0x24d373,_0x47990a);return _0x336664[_0x36ab4b(0x322)](),_0x336664;}async[_0x51cbaf(0x127)](_0xe87270){const _0xc992d6=_0x51cbaf,_0x2b8751=await this['_collabSessionService'][_0xc992d6(0x3b1)](_0xe87270),_0x5e29b6=this[_0xc992d6(0x393)]['createInstance'](_0x45010c,_0xe87270,_0x2b8751);return _0x5e29b6[_0xc992d6(0x322)](),_0x5e29b6;}};_0x31bd2a=_0x4c0fff([_0x18394b(0x0,_0x321c93['IUniverInstanceService']),_0x18394b(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0x18394b(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea[_0x51cbaf(0x3a3)]))],_0x31bd2a);const _0x47bdd1=0x14,_0x45acfd=0xc8,_0x5dcafb=0x4,_0x18c81b=0x5;function _0x545058(_0xfe9d3b,_0x1db9f2){const _0x1202dc=_0x51cbaf;let {radius:_0x5437d5,width:_0x261649,height:_0x2eb673}=_0x1db9f2;_0x5437d5=_0x5437d5!=null?_0x5437d5:0x0,_0x261649=_0x261649!=null?_0x261649:0x1e,_0x2eb673=_0x2eb673!=null?_0x2eb673:0x1e;let _0x490ecd=0x0,_0x316a72=0x0,_0x177346=0x0;_0x490ecd=_0x316a72=_0x177346=Math[_0x1202dc(0x2b7)](_0x5437d5,_0x261649/0x2,_0x2eb673/0x2),_0xfe9d3b['beginPath'](),_0xfe9d3b[_0x1202dc(0x220)](_0x490ecd,0x0),_0xfe9d3b[_0x1202dc(0x389)](_0x261649-_0x316a72,0x0),_0xfe9d3b[_0x1202dc(0x23d)](_0x261649-_0x316a72,_0x316a72,_0x316a72,Math['PI']*0x3/0x2,0x0,!0x1),_0xfe9d3b['lineTo'](_0x261649,_0x2eb673-_0x177346),_0xfe9d3b[_0x1202dc(0x23d)](_0x261649-_0x177346,_0x2eb673-_0x177346,_0x177346,0x0,Math['PI']/0x2,!0x1),_0xfe9d3b[_0x1202dc(0x389)](0x0,_0x2eb673),_0xfe9d3b[_0x1202dc(0x389)](0x0,_0x490ecd),_0xfe9d3b[_0x1202dc(0x23d)](_0x490ecd,_0x490ecd,_0x490ecd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xfe9d3b['closePath'](),_0x1db9f2[_0x1202dc(0x130)]&&(_0xfe9d3b[_0x1202dc(0x3ad)](),_0xfe9d3b['fillStyle']=_0x1db9f2[_0x1202dc(0x130)],_0x1db9f2[_0x1202dc(0x159)]==='evenodd'?_0xfe9d3b['fill'](_0x1202dc(0x188)):_0xfe9d3b[_0x1202dc(0x130)](),_0xfe9d3b[_0x1202dc(0x32c)]());}class _0x43b7eb extends _0x3f844e[_0x51cbaf(0x13e)]{constructor(_0xb89a30,_0x1057df){const _0x4be6ab=_0x51cbaf;super(_0xb89a30,_0x1057df),_0x34d45d(this,_0x4be6ab(0x2a1)),_0x34d45d(this,_0x4be6ab(0x2d2)),(this[_0x4be6ab(0x2a1)]=_0x1057df==null?void 0x0:_0x1057df[_0x4be6ab(0x2a1)],this[_0x4be6ab(0x2d2)]=_0x1057df==null?void 0x0:_0x1057df[_0x4be6ab(0x2d2)]);}static['drawWith'](_0x18771,_0x222b1b){const _0x2b20b1=_0x51cbaf,{text:_0x1d06bc,color:_0x283d87}=_0x222b1b;_0x18771['save'](),_0x18771[_0x2b20b1(0x32a)]=_0x2b20b1(0x1ef);const _0x5be540=_0x18771[_0x2b20b1(0x1cc)](_0x1d06bc)[_0x2b20b1(0x14d)],_0x5e8ee1=Math['min'](_0x5be540+0x2*_0x5dcafb,_0x45acfd);_0x545058(_0x18771,{'height':_0x47bdd1,'radius':0x4,'width':_0x5e8ee1,'fill':_0x283d87}),_0x18771['fillStyle']='#FFF';const _0x30b910=_0x5dcafb,_0x330a81=_0x47bdd1-_0x18c81b,_0x2d15a8=_0x45acfd-0x2*_0x5dcafb;if(_0x5be540>_0x2d15a8){let _0x22f37c='',_0x1b8d35=0x0;for(const _0x234348 of _0x1d06bc){const _0x47ee92=_0x18771[_0x2b20b1(0x1cc)](_0x234348)[_0x2b20b1(0x14d)];if(_0x1b8d35+_0x47ee92<=_0x2d15a8-_0x18771[_0x2b20b1(0x1cc)](_0x2b20b1(0x163))['width'])_0x22f37c+=_0x234348,_0x1b8d35+=_0x47ee92;else{_0x22f37c+=_0x2b20b1(0x163);break;}}_0x18771[_0x2b20b1(0x12e)](_0x22f37c,_0x30b910,_0x330a81);}else _0x18771[_0x2b20b1(0x12e)](_0x1d06bc,_0x30b910,_0x330a81);_0x18771[_0x2b20b1(0x32c)]();}[_0x51cbaf(0x2b3)](_0x37268d){const _0xe073e7=_0x51cbaf;_0x43b7eb[_0xe073e7(0x39a)](_0x37268d,this);}}const _0x5e348e=_0x51cbaf(0x375),_0x13cb1f='collab-text-range-',_0x563cdf=_0x51cbaf(0x20d),_0x63c89c=0x6,_0x401789=1.5,_0x3fdb8c=0x4,_0x3cde6a=1.5,_0x505b94=_0x51cbaf(0x1ae);class _0x10cce7{constructor(_0x4119ae,_0x556a04,_0xaaf7db,_0x361bd8){const _0x4dcd50=_0x51cbaf;_0x34d45d(this,_0x4dcd50(0x140),[]),_0x34d45d(this,'_anchor',null),_0x34d45d(this,'_textBubble',null),_0x34d45d(this,_0x4dcd50(0x38f),null),_0x34d45d(this,_0x4dcd50(0x27f),null),_0x34d45d(this,_0x4dcd50(0x39c),null),(this[_0x4dcd50(0x2b5)]=_0x4119ae,this[_0x4dcd50(0x1a8)]=_0x556a04,this['_docSkeleton']=_0xaaf7db,this[_0x4dcd50(0x22e)]=_0x361bd8,this[_0x4dcd50(0x230)]());}set[_0x51cbaf(0x1b0)](_0x48f2fa){const _0x329635=_0x51cbaf;_0x48f2fa?(this[_0x329635(0x38f)]&&this['_anchorDot'][_0x329635(0x28b)](),this[_0x329635(0x3ae)]&&this[_0x329635(0x3ae)][_0x329635(0x31f)]()):(this[_0x329635(0x38f)]&&this[_0x329635(0x38f)]['show'](),this[_0x329635(0x3ae)]&&this['_textBubble'][_0x329635(0x28b)]());}['dispose'](){const _0x463ba4=_0x51cbaf;for(const _0x6fc495 of this['_shapes'])_0x6fc495['dispose']();this[_0x463ba4(0x3ae)]&&this[_0x463ba4(0x3ae)][_0x463ba4(0x256)](),this[_0x463ba4(0x38f)]&&this[_0x463ba4(0x38f)]['dispose'](),this[_0x463ba4(0x148)]&&this[_0x463ba4(0x148)][_0x463ba4(0x256)](),this['_eventUnsubscribe']&&this[_0x463ba4(0x39c)]();}[_0x51cbaf(0x230)](){const _0x3c04ad=_0x51cbaf;var _0x27286b;const {_docSkeleton:_0x161c61,_document:_0x4a9140}=this,{color:_0x139eab,name:_0x48eb02,ranges:_0x19a446}=this['_cursor'],_0x12fe13=_0x4a9140[_0x3c04ad(0x257)](),{docsLeft:_0x3eae75,docsTop:_0x37ed6f}=_0x12fe13,_0xc27bb4=new _0x21bba4[(_0x3c04ad(0x2ae))](_0x12fe13,_0x161c61);for(const {startOffset:_0x127801,endOffset:_0x9d04bd,rangeType:_0x2b1e70,segmentId:_0x17eea0,segmentPage:_0x12148e,collapsed:_0x9eb9e5,isActive:_0x155c09}of _0x19a446){const _0x4e29ac=_0x161c61[_0x3c04ad(0x368)](_0x127801,!0x0,_0x17eea0,_0x12148e);let _0x523db4=_0x161c61[_0x3c04ad(0x368)](_0x9d04bd,!0x0,_0x17eea0,_0x12148e);if(_0x523db4==null&&(_0x523db4=_0x161c61[_0x3c04ad(0x368)](_0x9d04bd-0x1,!0x1,_0x17eea0,_0x12148e)),_0x155c09){const {contentBoxPointGroup:_0x43817e}=_0xc27bb4['getRangePointData'](_0x523db4,_0x523db4);if(_0x43817e[_0x3c04ad(0x367)]===0x0)continue;this['_drawAnchor'](_0x139eab,_0x43817e,_0x3eae75,_0x37ed6f,_0x48eb02),this[_0x3c04ad(0x39c)]=this[_0x3c04ad(0x39f)]();}if(_0x4e29ac&&_0x523db4){if(_0x2b1e70===_0x321c93[_0x3c04ad(0x150)]['RECT']){const _0x2742f6=new _0x21bba4[(_0x3c04ad(0x2e3))](_0x12fe13,_0x161c61),{pointGroup:_0xd78495}=(_0x27286b=_0x2742f6[_0x3c04ad(0x167)](_0x4e29ac,_0x523db4))!=null?_0x27286b:{};if(_0xd78495==null||_0xd78495['length']===0x0)continue;this[_0x3c04ad(0x177)](_0x139eab,_0xd78495,_0x3eae75,_0x37ed6f);}else{if(!_0x9eb9e5){const {borderBoxPointGroup:_0x3b4938}=_0xc27bb4[_0x3c04ad(0x167)](_0x4e29ac,_0x523db4);if(_0x3b4938[_0x3c04ad(0x367)]===0x0)continue;this[_0x3c04ad(0x23a)](_0x139eab,_0x3b4938,_0x3eae75,_0x37ed6f);}}}}}[_0x51cbaf(0x2d0)](_0x4e525b,_0x254256,_0x1f7737,_0x5502b1,_0x74fa6d){const _0x4fd310=_0x51cbaf,_0x2738a9=this[_0x4fd310(0x2ce)](_0x254256),{left:_0x58f138,top:_0x1821e2,height:_0x1110f9}=_0x2738a9,_0x2dd490=this[_0x4fd310(0x314)](),_0x451cb6=_0x3cde6a/_0x2dd490,_0x28cd1c=new _0x3f844e[(_0x4fd310(0x323))](_0x5e348e+_0x321c93[_0x4fd310(0x2f5)][_0x4fd310(0x151)](_0x63c89c),{'left':_0x58f138+_0x1f7737-_0x451cb6,'top':_0x1821e2+_0x5502b1,'height':_0x1110f9,'width':_0x401789,'fill':_0x4e525b||_0x3f844e[_0x4fd310(0x15f)](_0x321c93['COLORS'][_0x4fd310(0x29d)],0x0),'strokeWidth':_0x451cb6,'stroke':_0x505b94,'evented':!0x0});this[_0x4fd310(0x148)]=_0x28cd1c,this[_0x4fd310(0x1a8)][_0x4fd310(0x32f)](_0x28cd1c,_0x21bba4[_0x4fd310(0x1c3)]);const _0x27fbe1=new _0x3f844e[(_0x4fd310(0x323))](_0x5e348e+_0x321c93[_0x4fd310(0x2f5)]['generateRandomId'](_0x63c89c),{'left':_0x58f138+_0x1f7737-_0x451cb6,'top':_0x1821e2+_0x5502b1-_0x3fdb8c/0x2,'height':_0x3fdb8c,'width':_0x3fdb8c,'fill':_0x4e525b||_0x3f844e[_0x4fd310(0x15f)](_0x321c93[_0x4fd310(0x363)][_0x4fd310(0x29d)],0x0),'strokeWidth':0x0,'stroke':_0x4e525b||_0x3f844e['getColor'](_0x321c93['COLORS']['black'],0x0),'evented':!0x1});this[_0x4fd310(0x38f)]=_0x27fbe1,this[_0x4fd310(0x1a8)][_0x4fd310(0x32f)](_0x27fbe1,_0x21bba4[_0x4fd310(0x1c3)]);const _0x1312d2=new _0x43b7eb(_0x5e348e+_0x321c93[_0x4fd310(0x2f5)]['generateRandomId'](_0x63c89c),{'left':_0x58f138+_0x1f7737-_0x451cb6,'top':_0x1821e2+_0x5502b1-_0x47bdd1,'text':_0x74fa6d,'color':_0x4e525b});this[_0x4fd310(0x3ae)]=_0x1312d2,this['_scene']['addObject'](_0x1312d2,_0x21bba4['TEXT_RANGE_LAYER_INDEX']),this[_0x4fd310(0x1b0)]=!0x1;}[_0x51cbaf(0x39f)](){const _0x47b523=_0x51cbaf,_0x1c46db=this['_anchor'][_0x47b523(0x28a)][_0x47b523(0x214)](()=>{const _0x48b63d=_0x47b523;this[_0x48b63d(0x1b0)]=!0x0;}),_0x3a7d79=this[_0x47b523(0x148)]['onPointerLeave$'][_0x47b523(0x214)](()=>{const _0x5320b0=_0x47b523;this['_hideTimer']&&clearTimeout(this[_0x5320b0(0x27f)]),this[_0x5320b0(0x27f)]=setTimeout(()=>{const _0x39363e=_0x5320b0;this[_0x39363e(0x1b0)]=!0x1;},0x7d0);});return()=>{const _0x3a552e=_0x47b523;_0x1c46db[_0x3a552e(0x387)](),_0x3a7d79[_0x3a552e(0x387)]();};}['_drawTextRange'](_0x5b8add,_0x1944f6,_0x4bac01,_0x1b8167){const _0x547351=_0x51cbaf,_0x55d5ff=new _0x321c93[(_0x547351(0x380))](_0x5b8add)[_0x547351(0x300)](0.2)[_0x547351(0x311)](),_0x559a89=new _0x3f844e['RegularPolygon'](_0x13cb1f+_0x321c93[_0x547351(0x2f5)][_0x547351(0x151)](_0x63c89c),{'pointsGroup':_0x1944f6,'fill':_0x55d5ff||_0x3f844e['getColor'](_0x321c93[_0x547351(0x363)][_0x547351(0x29d)],0.2),'left':_0x4bac01,'top':_0x1b8167,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x547351(0x140)][_0x547351(0x207)](_0x559a89),this[_0x547351(0x1a8)][_0x547351(0x32f)](_0x559a89,_0x21bba4['TEXT_RANGE_LAYER_INDEX']);}[_0x51cbaf(0x177)](_0x23e764,_0x31bc44,_0x1d0741,_0x5aa774){const _0x23f8ab=_0x51cbaf,_0x4a9ace=new _0x321c93[(_0x23f8ab(0x380))](_0x23e764)['setAlpha'](0.2)[_0x23f8ab(0x311)](),_0x383303=new _0x3f844e[(_0x23f8ab(0x303))](_0x563cdf+_0x321c93[_0x23f8ab(0x2f5)][_0x23f8ab(0x151)](_0x63c89c),{'pointsGroup':_0x31bc44,'fill':_0x4a9ace||_0x3f844e[_0x23f8ab(0x15f)](_0x321c93[_0x23f8ab(0x363)][_0x23f8ab(0x29d)],0.2),'left':_0x1d0741,'top':_0x5aa774,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x383303),this[_0x23f8ab(0x1a8)][_0x23f8ab(0x32f)](_0x383303,_0x21bba4[_0x23f8ab(0x1c3)]);}[_0x51cbaf(0x2ce)](_0x44ff46){const _0x124fe4=_0x44ff46[0x0],_0x33a7ca=_0x124fe4[0x0],_0x221ade=_0x124fe4[0x2],{x:_0x3e6416,y:_0x20e461}=_0x33a7ca,{x:_0x2ef84d,y:_0x28e335}=_0x221ade;return{'left':_0x3e6416,'top':_0x20e461,'width':_0x2ef84d-_0x3e6416,'height':_0x28e335-_0x20e461};}[_0x51cbaf(0x314)](){const _0x5809eb=_0x51cbaf,{scaleX:_0x201e56,scaleY:_0x1c4881}=this[_0x5809eb(0x1a8)][_0x5809eb(0x278)]();return Math[_0x5809eb(0x153)](_0x201e56,_0x1c4881);}}var _0x5f00bf=Object['getOwnPropertyDescriptor'],_0x3018ff=(_0x1ea8db,_0x4a1fbb,_0x28e96d,_0x5a8c13)=>{const _0x555e06=_0x51cbaf;for(var _0x5a1d34=_0x5a8c13>0x1?void 0x0:_0x5a8c13?_0x5f00bf(_0x4a1fbb,_0x28e96d):_0x4a1fbb,_0x197bc8=_0x1ea8db[_0x555e06(0x367)]-0x1,_0x43657a;_0x197bc8>=0x0;_0x197bc8--)(_0x43657a=_0x1ea8db[_0x197bc8])&&(_0x5a1d34=_0x43657a(_0x5a1d34)||_0x5a1d34);return _0x5a1d34;},_0x484863=(_0x3e3c66,_0x1f338a)=>(_0x52bac1,_0x2630c1)=>_0x1f338a(_0x52bac1,_0x2630c1,_0x3e3c66);let _0x48292d=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x1437d5,_0x2c2ebe,_0x5cf80a,_0x232745,_0x33abe6){const _0x6f916f=_0x51cbaf;super(),_0x34d45d(this,_0x6f916f(0x1c1),[]),_0x34d45d(this,_0x6f916f(0x1e7),[]),(this[_0x6f916f(0x131)]=_0x1437d5,this[_0x6f916f(0x341)]=_0x2c2ebe,this[_0x6f916f(0x200)]=_0x5cf80a,this[_0x6f916f(0x1f8)]=_0x232745,this['_themeService']=_0x33abe6,this[_0x6f916f(0x3a5)]());}[_0x51cbaf(0x3a5)](){const _0x4d974b=_0x51cbaf,_0x31fda1=this['_context'][_0x4d974b(0x254)],_0x222ded=this[_0x4d974b(0x341)];this['disposeWithMe'](_0x5072b9[_0x4d974b(0x379)]([this[_0x4d974b(0x200)][_0x4d974b(0x2c9)](_0x31fda1),this[_0x4d974b(0x13f)]['currentTheme$']])['pipe'](_0x4898c1[_0x4d974b(0x193)](([_0x247ac0,_0x48c19a])=>({'skeleton':_0x222ded[_0x4d974b(0x152)](),'cursors':[..._0x247ac0['values']()][_0x4d974b(0x189)](_0x48118d=>({..._0x48118d,'color':this[_0x4d974b(0x13f)][_0x4d974b(0x1f6)](_0x48118d[_0x4d974b(0x2a1)])}))})))[_0x4d974b(0x12f)](_0x520357=>{const _0x373399=_0x4d974b;if(this[_0x373399(0x32b)](),_0x520357){const {skeleton:_0x292500,cursors:_0x4893f7}=_0x520357;this[_0x373399(0x237)](_0x292500,_0x4893f7);}})),this['_initResize'](),this[_0x4d974b(0x307)]();}['_updateCollabCursors'](_0x3c3846,_0x4375c4){const _0x54c396=_0x51cbaf,{scene:_0x26d811,mainComponent:_0xd258ab}=this['_context'],_0x41c651=_0x4375c4['map'](_0x39606c=>new _0x10cce7(_0x39606c,_0x26d811,_0x3c3846,_0xd258ab));this[_0x54c396(0x1c1)]=_0x41c651,this['_cursors']=_0x4375c4;}['_refreshCollabCursors'](){const _0x7bc579=_0x51cbaf;this[_0x7bc579(0x32b)]();const {scene:_0x3b3bb3,mainComponent:_0x1aadf4}=this[_0x7bc579(0x131)],_0x52c0bf=this[_0x7bc579(0x341)][_0x7bc579(0x152)](),_0x2783a8=this[_0x7bc579(0x1e7)]['map'](_0x4e7494=>new _0x10cce7(_0x4e7494,_0x3b3bb3,_0x52c0bf,_0x1aadf4));this['_cursorShapes']=_0x2783a8;}['_removeCollabCursors'](){const _0x327308=_0x51cbaf;this[_0x327308(0x1c1)]['forEach'](_0x21af23=>_0x21af23['dispose']()),this['_cursorShapes']=[];}[_0x51cbaf(0x307)](){const _0x1bcb58=_0x51cbaf,_0x3fd2bd=[_0x21bba4[_0x1bcb58(0x241)]['id']];this[_0x1bcb58(0x28d)](this[_0x1bcb58(0x1f8)][_0x1bcb58(0x3a8)](_0xfdbca0=>{const _0x574b45=_0x1bcb58;_0x3fd2bd[_0x574b45(0x251)](_0xfdbca0['id'])&&_0xfdbca0[_0x574b45(0x1ca)]['unitId']===this['_context'][_0x574b45(0x254)]&&this[_0x574b45(0x35f)]();}));}[_0x51cbaf(0x1e5)](){const _0x42587a=_0x51cbaf;this['disposeWithMe'](_0x321c93['fromEventSubject'](this[_0x42587a(0x131)][_0x42587a(0x13a)][_0x42587a(0x28f)])['pipe'](_0x4898c1[_0x42587a(0x18e)](_0x5997b3=>_0x5997b3[_0x42587a(0x1ad)]===_0x3f844e[_0x42587a(0x1a3)][_0x42587a(0x2c8)]),_0x4898c1[_0x42587a(0x1fd)](0x10))[_0x42587a(0x12f)](()=>{this['_refreshCollabCursors']();}));}};_0x48292d=_0x3018ff([_0x484863(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x266d28[_0x51cbaf(0x29b)])),_0x484863(0x2,_0x321c93['Inject'](_0x31bd2a)),_0x484863(0x3,_0x321c93['ICommandService']),_0x484863(0x4,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93['ThemeService']))],_0x48292d);const _0x55eeda=0x1,_0x1c3925=1.5;class _0x2c9bd8 extends _0x3f844e[_0x51cbaf(0x13e)]{constructor(_0x5e1886,_0x44d9e8){const _0x201e64=_0x51cbaf;super(_0x5e1886,_0x44d9e8),_0x34d45d(this,_0x201e64(0x3af)),_0x34d45d(this,_0x201e64(0x33d),!0x1),_0x34d45d(this,'_range'),_0x34d45d(this,_0x201e64(0x3ba),''),_0x34d45d(this,_0x201e64(0x223),_0x201e64(0x2e7)),_0x34d45d(this,_0x201e64(0x355)),(_0x44d9e8&&this['setShapeProps'](_0x44d9e8),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x201e64(0x364)]['subscribeEvent'](()=>this[_0x201e64(0x2c3)]({'hovered':!0x1})));}[_0x51cbaf(0x2c3)](_0x4970cc){const _0x4c3425=_0x51cbaf;var _0x4f2e44,_0x5cf1bb,_0x515d16,_0x5f0d37,_0x40141f,_0x4adcbe;this['_color']=(_0x4f2e44=_0x4970cc[_0x4c3425(0x2a1)])!=null?_0x4f2e44:this[_0x4c3425(0x3af)],this[_0x4c3425(0x33d)]=(_0x5cf1bb=_0x4970cc['hovered'])!=null?_0x5cf1bb:this['_hovered'],this['_range']=(_0x515d16=_0x4970cc[_0x4c3425(0x199)])!=null?_0x515d16:this[_0x4c3425(0x2c4)],this['_name']=(_0x5f0d37=_0x4970cc[_0x4c3425(0x2a3)])!=null?_0x5f0d37:this[_0x4c3425(0x3ba)],this['_labelPosition']=(_0x40141f=_0x4970cc[_0x4c3425(0x1ab)])!=null?_0x40141f:this[_0x4c3425(0x223)],this[_0x4c3425(0x355)]=(_0x4adcbe=_0x4970cc[_0x4c3425(0x1a6)])!=null?_0x4adcbe:this[_0x4c3425(0x355)],this[_0x4c3425(0x3b5)]({'width':_0x4970cc[_0x4c3425(0x14d)],'height':_0x4970cc[_0x4c3425(0x27b)]});}['onMouseMove'](_0x1c557b){const _0x2f43e1=_0x51cbaf,{row:_0x140ec7,column:_0x5d631a}=_0x1c557b;if(_0x140ec7>=this[_0x2f43e1(0x2c4)][_0x2f43e1(0x344)]&&_0x140ec7<=this[_0x2f43e1(0x2c4)][_0x2f43e1(0x390)]&&_0x5d631a>=this[_0x2f43e1(0x2c4)]['startColumn']&&_0x5d631a<=this[_0x2f43e1(0x2c4)][_0x2f43e1(0x209)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x51cbaf(0x353)](_0x3a064c){return!0x1;}[_0x51cbaf(0x2b3)](_0x4880b4){const _0x3eddba=_0x51cbaf;_0x3f844e[_0x3eddba(0x323)][_0x3eddba(0x39a)](_0x4880b4,{'width':this['width'],'height':this[_0x3eddba(0x27b)],'strokeWidth':_0x1c3925,'stroke':this[_0x3eddba(0x3af)],'evented':!0x1,'fill':this[_0x3eddba(0x355)]}),this[_0x3eddba(0x33d)]&&(_0x4880b4[_0x3eddba(0x3ad)](),_0x4880b4['transform'](0x1,0x0,0x0,0x1,this[_0x3eddba(0x14d)],this[_0x3eddba(0x223)]===_0x3eddba(0x1d9)?0x0:-0x14),_0x43b7eb[_0x3eddba(0x39a)](_0x4880b4,{'text':this[_0x3eddba(0x3ba)],'color':this[_0x3eddba(0x3af)]}),_0x4880b4[_0x3eddba(0x32c)]());}}var _0x5d35fc=Object[_0x51cbaf(0x202)],_0x167882=(_0x20ec49,_0x470822,_0x31d1df,_0x5d8145)=>{const _0x26ffd3=_0x51cbaf;for(var _0x43414f=_0x5d8145>0x1?void 0x0:_0x5d8145?_0x5d35fc(_0x470822,_0x31d1df):_0x470822,_0x49c974=_0x20ec49[_0x26ffd3(0x367)]-0x1,_0x4f9e21;_0x49c974>=0x0;_0x49c974--)(_0x4f9e21=_0x20ec49[_0x49c974])&&(_0x43414f=_0x4f9e21(_0x43414f)||_0x43414f);return _0x43414f;},_0x1f3ecb=(_0x43ba6e,_0x59ff28)=>(_0xf98100,_0x77f594)=>_0x59ff28(_0xf98100,_0x77f594,_0x43ba6e);const _0x413efd=0x1389;let _0x451cff=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0xd1013e,_0x40aaa9,_0x2bd019,_0x28d48c){const _0x144a4b=_0x51cbaf;super(),_0x34d45d(this,'_cursors',new Set()),_0x34d45d(this,_0x144a4b(0x187),null),(this[_0x144a4b(0x131)]=_0xd1013e,this[_0x144a4b(0x2df)]=_0x40aaa9,this[_0x144a4b(0x200)]=_0x2bd019,this[_0x144a4b(0x13f)]=_0x28d48c,this[_0x144a4b(0x3a5)]());}['_init'](){const _0x35d22d=_0x51cbaf;this[_0x35d22d(0x2df)][_0x35d22d(0x17d)][_0x35d22d(0x2dd)](_0x4898c1[_0x35d22d(0x236)](this['dispose$']),_0x4898c1[_0x35d22d(0x14a)](_0x12b044=>{const _0x939d8e=_0x35d22d;if(_0x12b044){const _0x175fbd=_0x12b044['sheetId'];return _0x5072b9[_0x939d8e(0x379)](this[_0x939d8e(0x200)][_0x939d8e(0x2c9)](this[_0x939d8e(0x131)][_0x939d8e(0x254)]),this[_0x939d8e(0x13f)]['currentTheme$'])[_0x939d8e(0x2dd)](_0x4898c1[_0x939d8e(0x193)](([_0x5d948a,_0x557e5c])=>{const _0x423824=_0x939d8e,_0x4cdfef=new Map();return _0x5d948a[_0x423824(0x124)]((_0xe22dbd,_0x3ce231)=>{const _0x4588a8=_0x423824;if(_0xe22dbd[_0x4588a8(0x27d)]===_0x175fbd){const _0x14ea7a={..._0xe22dbd};_0x14ea7a[_0x4588a8(0x2a1)]=this[_0x4588a8(0x13f)][_0x4588a8(0x1f6)](_0xe22dbd['color']),_0x4cdfef[_0x4588a8(0x24d)](_0x3ce231,_0x14ea7a);}}),{'skeleton':_0x12b044,'cursors':_0x4cdfef};}));}return _0x5072b9['of']({'skeleton':null,'cursors':new Map()});}))[_0x35d22d(0x12f)](({skeleton:_0x35905d,cursors:_0xd351a7})=>{const _0x58dd4b=_0x35d22d;this[_0x58dd4b(0x32b)](),_0x35905d&&this[_0x58dd4b(0x237)](_0x35905d,_0xd351a7);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x35d22d(0x12f)](_0x47ae70=>{const _0x199683=_0x35d22d;if(_0x47ae70==null)return;const {skeleton:_0x369f20}=_0x47ae70,{scene:_0x37faed}=this[_0x199683(0x131)];_0x37faed[_0x199683(0x239)][_0x199683(0x214)](_0x321c93[_0x199683(0x1c5)](_0x22ab50=>{const _0x9d998a=_0x199683;var _0x3e0815,_0x531a32;const {offsetX:_0xefc802,offsetY:_0x372b39}=_0x22ab50,{x:_0x51e534,y:_0x706d77}=_0x37faed[_0x9d998a(0x231)](_0x3f844e[_0x9d998a(0x2eb)]['FromArray']([_0xefc802,_0x372b39])),{scaleX:_0x26f630,scaleY:_0x422641}=_0x37faed[_0x9d998a(0x278)](),_0x5eba0e=_0x37faed[_0x9d998a(0x1cb)](_0x3f844e['SHEET_VIEWPORT_KEY'][_0x9d998a(0x36c)]),_0x59d091=_0x37faed['getVpScrollXYInfoByPosToVp'](_0x3f844e[_0x9d998a(0x2eb)]['FromArray']([_0x51e534,_0x706d77]),_0x5eba0e),_0x1d170b=_0x369f20[_0x9d998a(0x324)](_0xefc802,_0x372b39,_0x26f630,_0x422641,_0x59d091);((_0x3e0815=this[_0x9d998a(0x187)])==null?void 0x0:_0x3e0815['column'])===_0x1d170b[_0x9d998a(0x197)]&&((_0x531a32=this[_0x9d998a(0x187)])==null?void 0x0:_0x531a32[_0x9d998a(0x262)])===_0x1d170b[_0x9d998a(0x262)]||this['_cursors']['forEach'](_0x49f8a2=>{const _0x1c4182=_0x9d998a;_0x49f8a2[_0x1c4182(0x1f1)](_0x1d170b);});},0x64));});}[_0x51cbaf(0x237)](_0x15be74,_0x2c0ebb){const _0x274da3=_0x51cbaf;var _0x25288e;const _0xa985b1=(_0x25288e=this[_0x274da3(0x2df)][_0x274da3(0x35c)]())==null?void 0x0:_0x25288e[_0x274da3(0x321)];if(!_0xa985b1)return;const _0x4c5ee2=this['_getSheetObject']();if(!_0x4c5ee2)return;this[_0x274da3(0x1e7)]['forEach'](_0x23c703=>{const _0x8fed88=_0x274da3;_0x23c703[_0x8fed88(0x3b4)]();});const {scene:_0x78ba05}=_0x4c5ee2,_0x4218ba=_0x1dca82(Array[_0x274da3(0x19e)](_0x2c0ebb[_0x274da3(0x2ac)]()))[_0x274da3(0x193)](_0x11c306=>{const _0x2ccf8d=_0x274da3,{color:_0x57ea70,range:_0x15ff5e,name:_0x31cd5c,selection:_0x1c71db,sheetID:_0x1a72de}=_0x11c306,{startColumn:_0xba2032,startRow:_0x136e9c,endColumn:_0x36f21c,endRow:_0x453217}=_0x15ff5e,_0x3311e5=_0x4526fb[_0x2ccf8d(0x1f5)](_0x136e9c,_0xba2032,_0x78ba05,_0xa985b1),_0xcd21a5=_0x4526fb[_0x2ccf8d(0x1f5)](_0x453217,_0x36f21c,_0x78ba05,_0xa985b1),{columnHeaderHeightAndMarginTop:_0x45979a}=_0xa985b1,{startX:_0x1ea05d,startY:_0x21b11e}=_0x3311e5,{endX:_0x423f28,endY:_0x53072f}=_0xcd21a5,_0x4df321=_0x423f28-_0x1ea05d,_0x1308b9=_0x53072f-_0x21b11e,_0x13c344={'labelPosition':_0x21b11e-_0x45979a>=_0x47bdd1?'top':_0x2ccf8d(0x1d9),'sheetID':_0x1a72de,'range':_0x15ff5e,'color':_0x57ea70,'name':_0x31cd5c,'selection':_0x1c71db,'left':_0x1ea05d,'top':_0x21b11e,'width':_0x4df321,'height':_0x1308b9,'evented':!0x1,'zIndex':_0x413efd};return new _0x2c9bd8(_0x31cd5c,_0x13c344);});_0x78ba05[_0x274da3(0x286)](_0x4218ba,_0x55eeda),this['_cursors']=new Set(_0x4218ba);}['_removeCollabCursors'](){const _0x2f42cb=_0x51cbaf;var _0x590e28;(_0x590e28=this['_cursors'])==null||_0x590e28[_0x2f42cb(0x124)](_0x7a0919=>_0x7a0919['dispose']());}[_0x51cbaf(0x21d)](){const _0x57b305=_0x51cbaf;return _0x4526fb[_0x57b305(0x1c4)](this['_context']['unit'],this[_0x57b305(0x131)]);}};_0x451cff=_0x167882([_0x1f3ecb(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x4526fb[_0x51cbaf(0x293)])),_0x1f3ecb(0x2,_0x321c93['Inject'](_0x31bd2a)),_0x1f3ecb(0x3,_0x321c93['Inject'](_0x321c93[_0x51cbaf(0x17e)]))],_0x451cff);function _0x1dca82(_0x318c49){const _0x1d2702=_0x51cbaf,_0x61fe56=new Map();return _0x318c49[_0x1d2702(0x124)](_0xb97f1=>{const _0x122944=_0x1d2702;if(_0x61fe56['has'](_0xb97f1['selection'])){const _0x1d6bf1=_0x61fe56['get'](_0xb97f1[_0x122944(0x25d)]);_0x1d6bf1['name']+=',\x20'+_0xb97f1[_0x122944(0x2a3)];}else _0x61fe56[_0x122944(0x24d)](_0xb97f1['selection'],_0xb97f1);}),Array[_0x1d2702(0x19e)](_0x61fe56[_0x1d2702(0x2ac)]());}var _0x21577b=function(){const _0x384a78=_0x51cbaf;return _0x21577b=Object[_0x384a78(0x1ac)]||function(_0x376a10){const _0x4fe6f1=_0x384a78;for(var _0xa2928,_0x3b3fa9=0x1,_0x407322=arguments[_0x4fe6f1(0x367)];_0x3b3fa9<_0x407322;_0x3b3fa9++){_0xa2928=arguments[_0x3b3fa9];for(var _0x5727ed in _0xa2928)Object[_0x4fe6f1(0x2b8)][_0x4fe6f1(0x272)][_0x4fe6f1(0x235)](_0xa2928,_0x5727ed)&&(_0x376a10[_0x5727ed]=_0xa2928[_0x5727ed]);}return _0x376a10;},_0x21577b['apply'](this,arguments);},_0x587a90=function(_0x2d8693,_0x563c72){const _0x1b9e17=_0x51cbaf;var _0x22b730={};for(var _0x66e12b in _0x2d8693)Object[_0x1b9e17(0x2b8)][_0x1b9e17(0x272)][_0x1b9e17(0x235)](_0x2d8693,_0x66e12b)&&_0x563c72['indexOf'](_0x66e12b)<0x0&&(_0x22b730[_0x66e12b]=_0x2d8693[_0x66e12b]);if(_0x2d8693!=null&&typeof Object[_0x1b9e17(0x3a2)]==_0x1b9e17(0x1a2)){for(var _0x2684c4=0x0,_0x66e12b=Object[_0x1b9e17(0x3a2)](_0x2d8693);_0x2684c4<_0x66e12b[_0x1b9e17(0x367)];_0x2684c4++)_0x563c72[_0x1b9e17(0x2a6)](_0x66e12b[_0x2684c4])<0x0&&Object[_0x1b9e17(0x2b8)]['propertyIsEnumerable']['call'](_0x2d8693,_0x66e12b[_0x2684c4])&&(_0x22b730[_0x66e12b[_0x2684c4]]=_0x2d8693[_0x66e12b[_0x2684c4]]);}return _0x22b730;},_0x37fd8e=_0x8848fe[_0x51cbaf(0x23e)](function(_0x3d0426,_0x72decc){const _0x3a19d0=_0x51cbaf;var _0x2bd0fe=_0x3d0426['icon'],_0x16f46f=_0x3d0426['id'],_0x52341a=_0x3d0426[_0x3a19d0(0x195)],_0x4062fd=_0x3d0426[_0x3a19d0(0x20c)],_0x48c23b=_0x587a90(_0x3d0426,[_0x3a19d0(0x36f),'id',_0x3a19d0(0x195),_0x3a19d0(0x20c)]),_0x569c54=_0x3a19d0(0x2be)['concat'](_0x16f46f,'\x20')['concat'](_0x52341a||'')[_0x3a19d0(0x21b)](),_0x2802ce=_0x8848fe[_0x3a19d0(0x330)]('_'[_0x3a19d0(0x31d)](_0x5d315b()));return _0xc4e7ce(_0x2bd0fe,''['concat'](_0x16f46f),{'defIds':_0x2bd0fe[_0x3a19d0(0x182)],'idSuffix':_0x2802ce[_0x3a19d0(0x1ff)]},_0x21577b({'ref':_0x72decc,'className':_0x569c54},_0x48c23b),_0x4062fd);});function _0xc4e7ce(_0xa837ed,_0x53aa58,_0x34f8f7,_0x5b6418,_0x46a6fc){const _0x108f2e=_0x51cbaf;return _0x8848fe[_0x108f2e(0x2a0)](_0xa837ed[_0x108f2e(0x216)],_0x21577b(_0x21577b({'key':_0x53aa58},_0x3c9aa4(_0xa837ed,_0x34f8f7,_0x46a6fc)),_0x5b6418),(_0x2ca92d(_0xa837ed,_0x34f8f7)['children']||[])[_0x108f2e(0x193)](function(_0x20dc88,_0x4461d5){const _0x5a2d8b=_0x108f2e;return _0xc4e7ce(_0x20dc88,''[_0x5a2d8b(0x31d)](_0x53aa58,'-')[_0x5a2d8b(0x31d)](_0xa837ed[_0x5a2d8b(0x216)],'-')[_0x5a2d8b(0x31d)](_0x4461d5),_0x34f8f7,void 0x0,_0x46a6fc);}));}function _0x3c9aa4(_0x269196,_0x13e0a2,_0x38b257){const _0x5ed736=_0x51cbaf;var _0x4df244=_0x21577b({},_0x269196['attrs']);_0x38b257!=null&&_0x38b257['colorChannel1']&&_0x4df244[_0x5ed736(0x130)]===_0x5ed736(0x250)&&(_0x4df244['fill']=_0x38b257[_0x5ed736(0x250)]),_0x269196['tag']===_0x5ed736(0x2b2)&&_0x4df244['id']&&(_0x4df244['id']=_0x4df244['id']+_0x13e0a2[_0x5ed736(0x2dc)]),Object['entries'](_0x4df244)[_0x5ed736(0x124)](function(_0x57aca3){const _0x32ca34=_0x5ed736;var _0x2f5ca0=_0x57aca3[0x0],_0x285385=_0x57aca3[0x1];_0x2f5ca0===_0x32ca34(0x2b2)&&typeof _0x285385==_0x32ca34(0x289)&&(_0x4df244[_0x2f5ca0]=_0x285385['replace'](/url\(#(.*)\)/,_0x32ca34(0x243)[_0x32ca34(0x31d)](_0x13e0a2[_0x32ca34(0x2dc)],')')));});var _0x47b6c3=_0x13e0a2[_0x5ed736(0x182)];return!_0x47b6c3||_0x47b6c3['length']===0x0||(_0x269196[_0x5ed736(0x216)]==='use'&&_0x4df244[_0x5ed736(0x3a6)]&&(_0x4df244[_0x5ed736(0x3a6)]=_0x4df244[_0x5ed736(0x3a6)]+_0x13e0a2[_0x5ed736(0x2dc)]),Object[_0x5ed736(0x263)](_0x4df244)[_0x5ed736(0x124)](function(_0x51a46b){const _0x976858=_0x5ed736;var _0xc7b292=_0x51a46b[0x0],_0x5b6830=_0x51a46b[0x1];typeof _0x5b6830==_0x976858(0x289)&&(_0x4df244[_0xc7b292]=_0x5b6830[_0x976858(0x2ee)](/url\(#(.*)\)/,_0x976858(0x243)[_0x976858(0x31d)](_0x13e0a2['idSuffix'],')')));})),_0x4df244;}function _0x2ca92d(_0x3bb482,_0x302b4f){const _0x277bf8=_0x51cbaf;var _0x177a74,_0x34519e=_0x302b4f[_0x277bf8(0x182)];return!_0x34519e||_0x34519e['length']===0x0?_0x3bb482:_0x3bb482[_0x277bf8(0x216)]===_0x277bf8(0x2b1)&&(!((_0x177a74=_0x3bb482['children'])===null||_0x177a74===void 0x0)&&_0x177a74[_0x277bf8(0x367)])?_0x21577b(_0x21577b({},_0x3bb482),{'children':_0x3bb482[_0x277bf8(0x2c2)][_0x277bf8(0x193)](function(_0x47addf){const _0x1d3740=_0x277bf8;return typeof _0x47addf[_0x1d3740(0x1af)]['id']==_0x1d3740(0x289)&&_0x34519e&&_0x34519e[_0x1d3740(0x2a6)](_0x47addf[_0x1d3740(0x1af)]['id'])>-0x1?_0x21577b(_0x21577b({},_0x47addf),{'attrs':_0x21577b(_0x21577b({},_0x47addf[_0x1d3740(0x1af)]),{'id':_0x47addf[_0x1d3740(0x1af)]['id']+_0x302b4f['idSuffix']})}):_0x47addf;})}):_0x3bb482;}function _0x5d315b(){const _0x213337=_0x51cbaf;return Math[_0x213337(0x31e)]()[_0x213337(0x1c0)](0x24)[_0x213337(0x225)](0x2,0x8);}_0x37fd8e[_0x51cbaf(0x22b)]='UniverIcon';var _0x1cd7ca={'tag':'svg','attrs':{'fill':'none','viewBox':_0x51cbaf(0x370),'width':'1em','height':_0x51cbaf(0x143)},'children':[{'tag':'g','attrs':{'clipPath':_0x51cbaf(0x22a)},'children':[{'tag':_0x51cbaf(0x1d0),'attrs':{'stroke':_0x51cbaf(0x126),'d':_0x51cbaf(0x382),'strokeLinecap':_0x51cbaf(0x3a4),'strokeLinejoin':_0x51cbaf(0x3a4),'strokeWidth':1.2}}]},{'tag':_0x51cbaf(0x2b1),'attrs':{},'children':[{'tag':_0x51cbaf(0x266),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x51cbaf(0x1fb),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x51cbaf(0x2d5)]},_0x361015=_0x8848fe['forwardRef'](function(_0x285a48,_0x4915c4){const _0x5c30e4=_0x51cbaf;return _0x8848fe[_0x5c30e4(0x2a0)](_0x37fd8e,Object[_0x5c30e4(0x1ac)]({},_0x285a48,{'id':'off-line-single','ref':_0x4915c4,'icon':_0x1cd7ca}));});_0x361015['displayName']=_0x51cbaf(0x165);var _0x31bc57={'tag':_0x51cbaf(0x1d2),'attrs':{'fill':_0x51cbaf(0x356),'viewBox':_0x51cbaf(0x1ba),'width':_0x51cbaf(0x143),'height':_0x51cbaf(0x143)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x51cbaf(0x1d0),'attrs':{'stroke':_0x51cbaf(0x126),'d':_0x51cbaf(0x18c),'strokeLinecap':_0x51cbaf(0x3a4),'strokeLinejoin':_0x51cbaf(0x3a4),'strokeWidth':1.2}}]},{'tag':_0x51cbaf(0x2b1),'attrs':{},'children':[{'tag':_0x51cbaf(0x266),'attrs':{'id':_0x51cbaf(0x149)},'children':[{'tag':_0x51cbaf(0x1d0),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x51cbaf(0x2af)}}]}]}],'defIds':[_0x51cbaf(0x149)]},_0x33766d=_0x8848fe['forwardRef'](function(_0x33c629,_0x2046e7){const _0x38fab0=_0x51cbaf;return _0x8848fe[_0x38fab0(0x2a0)](_0x37fd8e,Object[_0x38fab0(0x1ac)]({},_0x33c629,{'id':_0x38fab0(0x1b9),'ref':_0x2046e7,'icon':_0x31bc57}));});_0x33766d[_0x51cbaf(0x22b)]=_0x51cbaf(0x331);function _0x1415ca(_0x1b6297){const _0x111e14=_0x51cbaf;switch(_0x1b6297){case _0x3d13ea['CollaborationStatus'][_0x111e14(0x249)]:return'collabStatus.offline';case _0x3d13ea[_0x111e14(0x36a)]['CONFLICT']:return _0x111e14(0x2e5);case _0x3d13ea[_0x111e14(0x36a)][_0x111e14(0x377)]:return _0x111e14(0x312);case _0x3d13ea[_0x111e14(0x36a)][_0x111e14(0x267)]:return'collabStatus.notCollab';case _0x3d13ea[_0x111e14(0x36a)]['AWAITING']:case _0x3d13ea[_0x111e14(0x36a)]['AWAITING_WITH_PENDING']:return _0x111e14(0x12c);case _0x3d13ea[_0x111e14(0x36a)]['SYNCED']:case _0x3d13ea[_0x111e14(0x36a)][_0x111e14(0x2a2)]:return'collabStatus.synced';}}function _0x5a94a0(_0x932898){const _0x270f3c=_0x51cbaf,{status$:_0x5de3e3}=_0x932898,_0x54cd50=_0x3d72cc[_0x270f3c(0x275)](_0x5de3e3,_0x3d13ea[_0x270f3c(0x36a)][_0x270f3c(0x267)]),_0x32cecd=_0x3d72cc[_0x270f3c(0x1b1)](_0x321c93[_0x270f3c(0x13b)]),_0x18e472=_0x3d72cc['useDependency'](_0x3d13ea['CollaborationSessionService']),_0x5bf4ca=_0x54cd50!==_0x3d13ea['CollaborationStatus']['OFFLINE'],_0x4b047f=_0x32cecd['t'](_0x1415ca(_0x54cd50)),_0x13516e=_0x5bf4ca?_0x1c0b83[_0x270f3c(0x333)](_0x33766d,{}):_0x1c0b83['jsx'](_0x361015,{}),_0x3647aa=_0x8848fe[_0x270f3c(0x1db)](()=>{const _0x2d331b=_0x270f3c;_0x5bf4ca||_0x18e472[_0x2d331b(0x335)]();},[_0x5bf4ca,_0x18e472]);function _0x2e5d53(){const _0x421e97=_0x270f3c;return _0x1c0b83[_0x421e97(0x1e9)](_0x421e97(0x20e),{'className':'univer-flex\x20univer-items-center','onClick':_0x3647aa,'children':[_0x1c0b83[_0x421e97(0x333)](_0x421e97(0x20e),{'className':_0x5db293[_0x421e97(0x2d4)](_0x421e97(0x16d),{'univer-text-green-500':_0x5bf4ca,'univer-text-red-500':!_0x5bf4ca}),'children':_0x13516e}),_0x1c0b83['jsx'](_0x421e97(0x20e),{'className':_0x421e97(0x398),'children':_0x4b047f})]});}return _0x5bf4ca?_0x2e5d53():_0x1c0b83[_0x270f3c(0x333)](_0x5db293[_0x270f3c(0x1d8)],{'title':_0x32cecd['t'](_0x270f3c(0x1e0)),'children':_0x2e5d53()});}var _0x42b029=Object[_0x51cbaf(0x202)],_0x170816=(_0xc7ea6b,_0x4c3d0,_0x49c7e1,_0x3c1cef)=>{for(var _0x51f11c=_0x3c1cef>0x1?void 0x0:_0x3c1cef?_0x42b029(_0x4c3d0,_0x49c7e1):_0x4c3d0,_0x135805=_0xc7ea6b['length']-0x1,_0x152d3d;_0x135805>=0x0;_0x135805--)(_0x152d3d=_0xc7ea6b[_0x135805])&&(_0x51f11c=_0x152d3d(_0x51f11c)||_0x51f11c);return _0x51f11c;},_0x3b8db8=(_0x9005c2,_0x2e3e35)=>(_0x10c1b6,_0x18358)=>_0x2e3e35(_0x10c1b6,_0x18358,_0x9005c2);_0x4cc1af['DesktopCollaborationStatusDisplayController']=class extends _0x321c93[_0x51cbaf(0x18d)]{constructor(_0x16fc3d,_0xd5366f,_0x34540a,_0x3d0038){const _0x2534e6=_0x51cbaf;super(),_0x34d45d(this,'_status$',new _0x5072b9['BehaviorSubject'](_0x3d13ea[_0x2534e6(0x36a)][_0x2534e6(0x267)])),(this[_0x2534e6(0x297)]=_0x16fc3d,this[_0x2534e6(0x393)]=_0xd5366f,this['_collaborationController']=_0x34540a,this['_uiPartsService']=_0x3d0038,this[_0x2534e6(0x2ca)](),this[_0x2534e6(0x21f)]());}['_initStatusListener'](){const _0x48b303=_0x51cbaf;this[_0x48b303(0x28d)](this['_univerInstanceService'][_0x48b303(0x1e1)]['pipe'](_0x5072b9[_0x48b303(0x14a)](()=>{const _0x4a7b66=_0x48b303,_0x491a56=this[_0x4a7b66(0x297)][_0x4a7b66(0x20f)]();return _0x491a56?this['_collaborationController'][_0x4a7b66(0x2d3)](_0x491a56[_0x4a7b66(0x198)]()):_0x5072b9['of'](null);}),_0x5072b9[_0x48b303(0x14a)](_0x1f1c65=>_0x1f1c65?_0x1f1c65[_0x48b303(0x306)]:_0x5072b9['of'](_0x3d13ea[_0x48b303(0x36a)][_0x48b303(0x267)])))[_0x48b303(0x12f)](_0x2c3691=>{const _0x6277c5=_0x48b303;this[_0x6277c5(0x12b)][_0x6277c5(0x15b)](_0x2c3691);}));}[_0x51cbaf(0x2ca)](){const _0x350561=_0x51cbaf;this[_0x350561(0x28d)](this[_0x350561(0x282)][_0x350561(0x342)](_0x3d72cc[_0x350561(0x15c)][_0x350561(0x13c)],()=>_0x3d72cc[_0x350561(0x227)](_0x5d81cb({'status$':this[_0x350561(0x12b)][_0x350561(0x337)]()}),this[_0x350561(0x393)])));}},_0x4cc1af[_0x51cbaf(0x305)]=_0x170816([_0x3b8db8(0x0,_0x321c93['IUniverInstanceService']),_0x3b8db8(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93['Injector'])),_0x3b8db8(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea[_0x51cbaf(0x3aa)])),_0x3b8db8(0x3,_0x3d72cc[_0x51cbaf(0x19a)])],_0x4cc1af[_0x51cbaf(0x305)]);function _0x5d81cb(_0x429cb8){const {status$:_0x509a08}=_0x429cb8;return function(){const _0x26b1a6=_0x2584;return _0x1c0b83[_0x26b1a6(0x333)](_0x5a94a0,{'status$':_0x509a08});};}var _0xb123e4=Object[_0x51cbaf(0x202)],_0x49c9c7=(_0x261791,_0x5ac968,_0x4e2946,_0x162d3a)=>{const _0x48a62b=_0x51cbaf;for(var _0x1ded9f=_0x162d3a>0x1?void 0x0:_0x162d3a?_0xb123e4(_0x5ac968,_0x4e2946):_0x5ac968,_0x3d8fee=_0x261791[_0x48a62b(0x367)]-0x1,_0x5e2233;_0x3d8fee>=0x0;_0x3d8fee--)(_0x5e2233=_0x261791[_0x3d8fee])&&(_0x1ded9f=_0x5e2233(_0x1ded9f)||_0x1ded9f);return _0x1ded9f;},_0x2bb60a=(_0x8ae459,_0x566c33)=>(_0x3a7ad4,_0x50608b)=>_0x566c33(_0x3a7ad4,_0x50608b,_0x8ae459);let _0x37dd51=class extends _0x321c93[_0x51cbaf(0x18d)]{constructor(_0xf8bd48,_0x351547,_0x1f7897,_0x1d2594,_0x87e1a1,_0x30b3ef){const _0x40a581=_0x51cbaf;super(),this[_0x40a581(0x173)]=_0xf8bd48,this[_0x40a581(0x2ab)]=_0x351547,this[_0x40a581(0x1f3)]=_0x1f7897,this[_0x40a581(0x1a4)]=_0x1d2594,this[_0x40a581(0x2ef)]=_0x87e1a1,this[_0x40a581(0x1ee)]=_0x30b3ef,this[_0x40a581(0x1fc)](),this[_0x40a581(0x2ec)]();}[_0x51cbaf(0x1fc)](){const _0x2fae10=_0x51cbaf;this['disposeWithMe'](this[_0x2fae10(0x173)][_0x2fae10(0x2ea)](()=>{const _0x575c72=_0x2fae10;if(this[_0x575c72(0x2ab)][_0x575c72(0x33a)][_0x575c72(0x30e)])return this[_0x575c72(0x1ee)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x51cbaf(0x2ec)](){const _0x45d5fc=_0x51cbaf;this[_0x45d5fc(0x28d)](this[_0x45d5fc(0x1f3)][_0x45d5fc(0x1c8)][_0x45d5fc(0x12f)](_0x403c3d=>{const _0x18e127=_0x45d5fc;_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x291)]&&this[_0x18e127(0x1a4)]['show']({'type':_0x5db293[_0x18e127(0x2f4)][_0x18e127(0x36b)],'content':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x175))}),_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x31a)]&&this['_messageService']['show']({'type':_0x5db293[_0x18e127(0x2f4)]['Warning'],'content':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x19d))}),_0x403c3d['id']===_0x3d13ea['CollaborationUIEventId'][_0x18e127(0x219)]&&this[_0x18e127(0x2ef)][_0x18e127(0x31f)]({'title':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x349)),'content':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x38b)),'type':'error','duration':0x0}),_0x403c3d['id']===_0x3d13ea['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x18e127(0x31f)]({'type':_0x5db293['MessageType'][_0x18e127(0x2c6)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x403c3d[_0x18e127(0x2aa)]+')'}),_0x403c3d['id']===_0x3d13ea['CollaborationUIEventId'][_0x18e127(0x2fd)]&&this[_0x18e127(0x1a4)][_0x18e127(0x31f)]({'type':_0x5db293['MessageType'][_0x18e127(0x36b)],'content':this[_0x18e127(0x1ee)]['t'](_0x403c3d[_0x18e127(0x2aa)]||'')}),_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x277)]&&this[_0x18e127(0x1a4)]['show']({'type':_0x5db293[_0x18e127(0x2f4)][_0x18e127(0x36b)],'content':this[_0x18e127(0x1ee)]['t']('session.will-retry')}),_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x37e)]&&this[_0x18e127(0x1a4)][_0x18e127(0x31f)]({'type':_0x5db293['MessageType'][_0x18e127(0x2c6)],'content':this['_localeService']['t'](_0x18e127(0x37a))}),_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x138)]&&this[_0x18e127(0x1a4)][_0x18e127(0x31f)]({'type':_0x5db293[_0x18e127(0x2f4)][_0x18e127(0x2c6)],'content':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x1a7))});}));}};_0x37dd51=_0x49c9c7([_0x2bb60a(0x0,_0x3d72cc[_0x51cbaf(0x2b9)]),_0x2bb60a(0x1,_0x3d13ea['ILocalCacheService']),_0x2bb60a(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea[_0x51cbaf(0x162)])),_0x2bb60a(0x3,_0x3d72cc[_0x51cbaf(0x269)]),_0x2bb60a(0x4,_0x3d72cc['INotificationService']),_0x2bb60a(0x5,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x13b)]))],_0x37dd51);const _0x9182b5=_0x51cbaf(0x24b),_0x5c5637={},_0x227084=_0x321c93['createIdentifier'](_0x51cbaf(0x240));var _0x297890=Object[_0x51cbaf(0x202)],_0x13a474=(_0x449c66,_0x1bc07b,_0x1bbdf2,_0x5a63d0)=>{const _0x1e7f76=_0x51cbaf;for(var _0x38b2f2=_0x5a63d0>0x1?void 0x0:_0x5a63d0?_0x297890(_0x1bc07b,_0x1bbdf2):_0x1bc07b,_0x502bd6=_0x449c66[_0x1e7f76(0x367)]-0x1,_0x35a9cd;_0x502bd6>=0x0;_0x502bd6--)(_0x35a9cd=_0x449c66[_0x502bd6])&&(_0x38b2f2=_0x35a9cd(_0x38b2f2)||_0x38b2f2);return _0x38b2f2;},_0x4abd8d=(_0x41708c,_0x49522c)=>(_0x1a0dd3,_0x2555fc)=>_0x49522c(_0x1a0dd3,_0x2555fc,_0x41708c);_0x4cc1af[_0x51cbaf(0x2da)]=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x134c55,_0x13cead,_0x8fe42a,_0x5e3980,_0x43d165){const _0x188258=_0x51cbaf;super(),this[_0x188258(0x203)]=_0x134c55,this['_logService']=_0x13cead,this[_0x188258(0x1f8)]=_0x8fe42a,this['_dataLoaderService']=_0x5e3980,_0x43d165?_0x43d165==null||_0x43d165[_0x188258(0x22f)]()[_0x188258(0x134)](()=>this[_0x188258(0x3a5)]()):(this['_logService'][_0x188258(0x24a)](_0x188258(0x273),_0x188258(0x1b2)),this['_init']());}async[_0x51cbaf(0x3a5)](){const _0x195cea=_0x51cbaf,_0x8126a3=this[_0x195cea(0x203)][_0x195cea(0x2f2)](_0x195cea(0x23f)),_0x3a5185=this[_0x195cea(0x203)][_0x195cea(0x2f2)]('type'),_0x13da1a=this[_0x195cea(0x203)][_0x195cea(0x2f2)]('subunit');if(!_0x8126a3||!_0x3a5185){this[_0x195cea(0x19c)]['debug'](_0x195cea(0x273),_0x195cea(0x2ed));return;}const _0x213312=await this[_0x195cea(0x354)]['loadUnit'](_0x8126a3,Number(_0x3a5185),_0x13da1a);_0x213312&&_0x213312 instanceof _0x321c93[_0x195cea(0x1c9)]&&this[_0x195cea(0x1b7)](_0x213312);}async[_0x51cbaf(0x1b7)](_0x13ca28){const _0x2a8e81=_0x51cbaf;await this[_0x2a8e81(0x21c)](_0x13ca28),_0x13ca28[_0x2a8e81(0x302)][_0x2a8e81(0x2dd)](_0x5072b9['takeUntil'](this['dispose$']))[_0x2a8e81(0x12f)](_0x48dd39=>{_0x48dd39&&this['_updateURLWithCurrentState'](_0x48dd39);}),this[_0x2a8e81(0x203)][_0x2a8e81(0x2e6)][_0x2a8e81(0x2dd)](_0x5072b9['takeUntil'](this[_0x2a8e81(0x1df)]))[_0x2a8e81(0x12f)](()=>this[_0x2a8e81(0x21c)](_0x13ca28));}[_0x51cbaf(0x357)](_0x443bda,_0xe6403b=!0x1){const _0x274b82=_0x51cbaf,_0x5a3944=this[_0x274b82(0x203)][_0x274b82(0x2f2)]('subunit');_0x443bda[_0x274b82(0x1a9)]()!==_0x5a3944&&this[_0x274b82(0x203)]['setParam'](_0x274b82(0x2e9),_0x443bda[_0x274b82(0x1a9)](),_0xe6403b);}async[_0x51cbaf(0x21c)](_0x10fe49){const _0x249e5f=_0x51cbaf;var _0x1eccd7;const _0x38027b=this['_urlService'][_0x249e5f(0x2f2)](_0x249e5f(0x2e9));if(!_0x38027b||!_0x10fe49['getSheetBySheetId'](_0x38027b)){const _0x25480f=_0x10fe49['getUnhiddenWorksheets']()[0x0],_0x16dc3d=_0x10fe49[_0x249e5f(0x2bd)](_0x25480f);if(!_0x16dc3d)return;this[_0x249e5f(0x357)](_0x16dc3d,!0x0),await this['_commandService'][_0x249e5f(0x1bd)](_0x16544f[_0x249e5f(0x332)]['id'],{'unitId':_0x10fe49[_0x249e5f(0x198)](),'subUnitId':_0x25480f});return;}((_0x1eccd7=_0x10fe49['getActiveSheet']())==null?void 0x0:_0x1eccd7[_0x249e5f(0x1a9)]())!==_0x38027b&&await this[_0x249e5f(0x1f8)]['executeCommand'](_0x16544f['SetWorksheetActivateCommand']['id'],{'unitId':_0x10fe49['getUnitId'](),'subUnitId':_0x38027b});}},_0x4cc1af[_0x51cbaf(0x2da)]=_0x13a474([_0x4abd8d(0x0,_0x227084),_0x4abd8d(0x1,_0x321c93[_0x51cbaf(0x313)]),_0x4abd8d(0x2,_0x321c93[_0x51cbaf(0x25c)]),_0x4abd8d(0x3,_0x321c93['Inject'](_0x3d13ea[_0x51cbaf(0x32d)])),_0x4abd8d(0x4,_0x321c93[_0x51cbaf(0x346)](_0x1912b6['IRemoteInstanceService']))],_0x4cc1af[_0x51cbaf(0x2da)]);var _0x4fc03e=Object[_0x51cbaf(0x202)],_0x446360=(_0x294aad,_0x21a278,_0x23405a,_0x4c384f)=>{const _0x22d6cb=_0x51cbaf;for(var _0x3ab338=_0x4c384f>0x1?void 0x0:_0x4c384f?_0x4fc03e(_0x21a278,_0x23405a):_0x21a278,_0x594892=_0x294aad[_0x22d6cb(0x367)]-0x1,_0x1fc795;_0x594892>=0x0;_0x594892--)(_0x1fc795=_0x294aad[_0x594892])&&(_0x3ab338=_0x1fc795(_0x3ab338)||_0x3ab338);return _0x3ab338;},_0xa5960e=(_0x517138,_0x124881)=>(_0x5e04a9,_0x3e19e9)=>_0x124881(_0x5e04a9,_0x3e19e9,_0x517138);let _0x366734=class{constructor(_0x2569cc,_0x4daaf3,_0x5ca6e6){const _0xe0a8ab=_0x51cbaf;this[_0xe0a8ab(0x393)]=_0x2569cc,this[_0xe0a8ab(0x1de)]=_0x4daaf3,this[_0xe0a8ab(0x32e)]=_0x5ca6e6;}[_0x51cbaf(0x185)](_0x2c9887){const _0x1f3c64=_0x51cbaf;this[_0x1f3c64(0x33e)](_0x2c9887),this[_0x1f3c64(0x280)](_0x2c9887);}[_0x51cbaf(0x328)](_0x2263a0){const _0xbcd70e=_0x51cbaf,{unitID:_0x29fa03}=_0x2263a0,_0x5d9606=this[_0xbcd70e(0x32e)]['getRenderById'](_0x29fa03)[_0xbcd70e(0x2b4)](_0x21bba4[_0xbcd70e(0x1e8)]),{redoCache:_0x341966}=_0x5d9606[_0xbcd70e(0x299)]();if(_0x341966[_0xbcd70e(0x367)]===0x0)return _0x2263a0;let _0x478a13=_0x321c93[_0xbcd70e(0x2f5)][_0xbcd70e(0x222)](_0x2263a0[_0xbcd70e(0x213)][0x0]);for(let _0x29d460=0x0;_0x29d460<_0x341966[_0xbcd70e(0x367)];_0x29d460++){const _0x2d14ba={'id':_0xbcd70e(0x350),'params':{..._0x341966[_0x29d460]}},_0x5ea1b3=this[_0xbcd70e(0x1de)][_0xbcd70e(0x136)](_0x478a13,_0x2d14ba,!0x1);if(_0x2daa7a[_0xbcd70e(0x1d3)](_0x5ea1b3))throw _0x5ea1b3[_0xbcd70e(0x327)];_0x478a13=_0x5ea1b3['m1Prime'];}return{..._0x321c93['Tools'][_0xbcd70e(0x222)](_0x2263a0),'mutations':[_0x478a13]};}['_transformUndoRedoStack'](_0x182974){const _0x1a32ab=_0x51cbaf,{unitID:_0x1d7797}=_0x182974,_0x1b987a=this[_0x1a32ab(0x32e)][_0x1a32ab(0x1b8)](_0x1d7797)[_0x1a32ab(0x2b4)](_0x21bba4[_0x1a32ab(0x1e8)]),{undoCache:_0x16f7ff,redoCache:_0x2cb2ff}=_0x1b987a[_0x1a32ab(0x299)]();if(_0x16f7ff[_0x1a32ab(0x367)]===0x0||_0x2cb2ff[_0x1a32ab(0x367)]===0x0)return;const _0xac8b61=[],_0x74fb25=[];let _0x30d869=_0x321c93[_0x1a32ab(0x2f5)]['deepClone'](_0x182974['mutations'][0x0]),_0x17838a=_0x321c93['Tools']['deepClone'](_0x182974[_0x1a32ab(0x213)][0x0]);for(let _0x55bf6d=_0x16f7ff['length']-0x1;_0x55bf6d>=0x0;_0x55bf6d--){const _0x1cc7c5={'id':_0x1a32ab(0x350),'params':{..._0x16f7ff[_0x55bf6d]}},_0x10b4a4={'id':_0x1a32ab(0x350),'params':{..._0x2cb2ff[_0x55bf6d]}},_0x4fa348=this[_0x1a32ab(0x1de)]['transformMutation'](_0x30d869,_0x1cc7c5,!0x1),_0x52ac74=this[_0x1a32ab(0x1de)][_0x1a32ab(0x136)](_0x17838a,_0x10b4a4,!0x1);if(_0x2daa7a['isTransformMutationFailure'](_0x4fa348))throw _0x4fa348[_0x1a32ab(0x327)];if(_0x2daa7a[_0x1a32ab(0x1d3)](_0x52ac74))throw _0x52ac74['error'];_0xac8b61['unshift'](_0x4fa348[_0x1a32ab(0x285)][_0x1a32ab(0x1ca)]),_0x74fb25[_0x1a32ab(0x36e)](_0x52ac74['m2Prime']['params']),_0x30d869=_0x4fa348['m1Prime'],_0x17838a=_0x52ac74[_0x1a32ab(0x194)];}_0x1b987a['setUndoRedoMutationParamsCache']({'undoCache':_0xac8b61,'redoCache':_0x74fb25});}['_transformPreviousActiveRange'](_0x91b377){const _0x35f0db=_0x51cbaf,{unitID:_0x31f307}=_0x91b377,_0x1d9bbb=this[_0x35f0db(0x32e)]['getRenderById'](_0x31f307)['with'](_0x21bba4['DocIMEInputManagerService']),_0x19285d=_0x1d9bbb[_0x35f0db(0x2e4)]();if(_0x19285d==null)return;const _0x2c92d4=[{'id':_0x35f0db(0x350),'params':{'unitId':_0x91b377[_0x35f0db(0x2f6)],'actions':null,'textRanges':[_0x19285d]}}],_0x1748a6=this[_0x35f0db(0x1de)][_0x35f0db(0x2a9)](_0x91b377,_0x2c92d4);if(!_0x2daa7a[_0x35f0db(0x2e0)](_0x1748a6))throw _0x1748a6['error'];const _0x51603f=_0x1748a6[_0x35f0db(0x285)][0x0][_0x35f0db(0x1ca)][_0x35f0db(0x157)];Array[_0x35f0db(0x1b5)](_0x51603f)&&_0x51603f[_0x35f0db(0x367)]&&_0x1d9bbb[_0x35f0db(0x361)](_0x51603f[0x0]);}};_0x366734=_0x446360([_0xa5960e(0x0,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0xa5960e(0x1,_0x2daa7a['ITransformService']),_0xa5960e(0x2,_0x3f844e[_0x51cbaf(0x3bd)])],_0x366734);var _0x23b778=Object[_0x51cbaf(0x202)],_0x321401=(_0x27a916,_0x2a29c3,_0x268cd3,_0x131259)=>{const _0x59f1b0=_0x51cbaf;for(var _0x1d0319=_0x131259>0x1?void 0x0:_0x131259?_0x23b778(_0x2a29c3,_0x268cd3):_0x2a29c3,_0x14798b=_0x27a916[_0x59f1b0(0x367)]-0x1,_0xb1988;_0x14798b>=0x0;_0x14798b--)(_0xb1988=_0x27a916[_0x14798b])&&(_0x1d0319=_0xb1988(_0x1d0319)||_0x1d0319);return _0x1d0319;},_0x5483e2=(_0xc176ac,_0xedcc20)=>(_0x3ab059,_0x46d6fc)=>_0xedcc20(_0x3ab059,_0x46d6fc,_0xc176ac);let _0x5c86ae=class{constructor(_0x9e6aa4,_0x381c70,_0x53a5d3){const _0x14e130=_0x51cbaf;this['_injector']=_0x9e6aa4,this[_0x14e130(0x1de)]=_0x381c70,this[_0x14e130(0x247)]=_0x53a5d3;}[_0x51cbaf(0x371)](_0x49d1fe){const _0x5d04a9=_0x51cbaf;this[_0x5d04a9(0x359)](_0x49d1fe);}['transformRemoteChangeset'](_0x28a0b6){const _0x3c6441=_0x51cbaf,{unitID:_0x181f9a}=_0x28a0b6,{collaboration:_0x3d0b57}=this['_docStateChangeManagerService'][_0x3c6441(0x376)](_0x181f9a);if(_0x3d0b57[_0x3c6441(0x367)]===0x0)return _0x28a0b6;let _0x37d826=_0x321c93[_0x3c6441(0x2f5)][_0x3c6441(0x222)](_0x28a0b6[_0x3c6441(0x213)][0x0]);for(let _0x335fd4=0x0;_0x335fd4<_0x3d0b57[_0x3c6441(0x367)];_0x335fd4++){const _0x1c0b21={'id':_0x3c6441(0x350),'params':{'unitId':_0x3d0b57[_0x335fd4][_0x3c6441(0x254)],..._0x3d0b57[_0x335fd4][_0x3c6441(0x135)]}},_0x167afc=this[_0x3c6441(0x1de)][_0x3c6441(0x136)](_0x37d826,_0x1c0b21,!0x1);if(_0x2daa7a['isTransformMutationFailure'](_0x167afc))throw _0x167afc[_0x3c6441(0x327)];_0x37d826=_0x167afc[_0x3c6441(0x194)];}return{..._0x321c93[_0x3c6441(0x2f5)][_0x3c6441(0x222)](_0x28a0b6),'mutations':[_0x37d826]};}[_0x51cbaf(0x359)](_0x339406){const _0x58e5d4=_0x51cbaf,{unitID:_0x24e093}=_0x339406,{history:_0x3b99b0,collaboration:_0x3c3c4a}=this[_0x58e5d4(0x247)][_0x58e5d4(0x376)](_0x24e093);if(_0x3b99b0[_0x58e5d4(0x367)]===0x0&&_0x3c3c4a[_0x58e5d4(0x367)]===0x0)return;const _0x13004b=[],_0x355392=[];let _0x1a9a22=_0x321c93[_0x58e5d4(0x2f5)][_0x58e5d4(0x222)](_0x339406[_0x58e5d4(0x213)][0x0]),_0x12bb79=_0x321c93['Tools']['deepClone'](_0x339406[_0x58e5d4(0x213)][0x0]);for(let _0x692089=_0x3b99b0[_0x58e5d4(0x367)]-0x1;_0x692089>=0x0;_0x692089--){const _0x1984dd={'id':_0x58e5d4(0x350),'params':{'unitId':_0x3b99b0[_0x692089][_0x58e5d4(0x254)],..._0x3b99b0[_0x692089][_0x58e5d4(0x1b3)]}},_0x453f12={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b99b0[_0x692089][_0x58e5d4(0x254)],..._0x3b99b0[_0x692089][_0x58e5d4(0x135)]}},_0x13b8b1=this[_0x58e5d4(0x1de)][_0x58e5d4(0x136)](_0x1a9a22,_0x1984dd,!0x1),_0x5e5d8e=this[_0x58e5d4(0x1de)]['transformMutation'](_0x12bb79,_0x453f12,!0x1);if(_0x2daa7a['isTransformMutationFailure'](_0x13b8b1))throw _0x13b8b1['error'];if(_0x2daa7a['isTransformMutationFailure'](_0x5e5d8e))throw _0x5e5d8e['error'];_0x13004b[_0x58e5d4(0x36e)]({..._0x3b99b0[_0x692089],'undoState':_0x13b8b1[_0x58e5d4(0x285)][_0x58e5d4(0x1ca)],'redoState':_0x5e5d8e[_0x58e5d4(0x285)][_0x58e5d4(0x1ca)]}),_0x1a9a22=_0x13b8b1[_0x58e5d4(0x194)],_0x12bb79=_0x5e5d8e[_0x58e5d4(0x194)];}_0x1a9a22=_0x321c93['Tools']['deepClone'](_0x339406[_0x58e5d4(0x213)][0x0]),_0x12bb79=_0x321c93[_0x58e5d4(0x2f5)]['deepClone'](_0x339406['mutations'][0x0]);for(let _0x15be7a=_0x3c3c4a['length']-0x1;_0x15be7a>=0x0;_0x15be7a--){const _0x9dcfad={'id':_0x58e5d4(0x350),'params':{'unitId':_0x3c3c4a[_0x15be7a][_0x58e5d4(0x254)],..._0x3c3c4a[_0x15be7a][_0x58e5d4(0x1b3)]}},_0x34ab9a={'id':_0x58e5d4(0x350),'params':{'unitId':_0x3c3c4a[_0x15be7a][_0x58e5d4(0x254)],..._0x3c3c4a[_0x15be7a][_0x58e5d4(0x135)]}},_0x51bba2=this[_0x58e5d4(0x1de)]['transformMutation'](_0x1a9a22,_0x9dcfad,!0x1),_0xedea65=this[_0x58e5d4(0x1de)][_0x58e5d4(0x136)](_0x12bb79,_0x34ab9a,!0x1);if(_0x2daa7a[_0x58e5d4(0x1d3)](_0x51bba2))throw _0x51bba2[_0x58e5d4(0x327)];if(_0x2daa7a[_0x58e5d4(0x1d3)](_0xedea65))throw _0xedea65['error'];_0x355392['unshift']({..._0x3c3c4a[_0x15be7a],'undoState':_0x51bba2[_0x58e5d4(0x285)][_0x58e5d4(0x1ca)],'redoState':_0xedea65['m2Prime'][_0x58e5d4(0x1ca)]}),_0x1a9a22=_0x51bba2[_0x58e5d4(0x194)],_0x12bb79=_0xedea65[_0x58e5d4(0x194)];}this['_docStateChangeManagerService'][_0x58e5d4(0x292)](_0x24e093,{'history':_0x13004b,'collaboration':_0x355392});}};_0x5c86ae=_0x321401([_0x5483e2(0x0,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0x5483e2(0x1,_0x2daa7a[_0x51cbaf(0x33f)]),_0x5483e2(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x21bba4[_0x51cbaf(0x378)]))],_0x5c86ae);var _0x452eb7=Object[_0x51cbaf(0x202)],_0x3715f2=(_0x33308b,_0x2674ce,_0x5067b9,_0x6f14ed)=>{const _0x4a47dc=_0x51cbaf;for(var _0x563b96=_0x6f14ed>0x1?void 0x0:_0x6f14ed?_0x452eb7(_0x2674ce,_0x5067b9):_0x2674ce,_0x19c919=_0x33308b[_0x4a47dc(0x367)]-0x1,_0x182512;_0x19c919>=0x0;_0x19c919--)(_0x182512=_0x33308b[_0x19c919])&&(_0x563b96=_0x182512(_0x563b96)||_0x563b96);return _0x563b96;},_0x4e8789=(_0x57e4a3,_0xe25c4b)=>(_0x231c53,_0x1bf232)=>_0xe25c4b(_0x231c53,_0x1bf232,_0x57e4a3);let _0x15054a=class{constructor(_0x3dfef3,_0x5c3d71){const _0x81b5d4=_0x51cbaf;this[_0x81b5d4(0x393)]=_0x3dfef3,this[_0x81b5d4(0x1de)]=_0x5c3d71;}[_0x51cbaf(0x21e)](_0xe3b4b6){const _0x20738d=_0x51cbaf;var _0x224489;const _0x24a788=this[_0x20738d(0x393)][_0x20738d(0x228)](_0x266d28[_0x20738d(0x1c2)]),_0x177a2e=(_0x224489=_0x24a788[_0x20738d(0x38a)]())!=null?_0x224489:[];if(_0x177a2e[_0x20738d(0x367)]===0x0)return;const _0x1203bc=_0xe3b4b6[_0x20738d(0x2f6)],_0x1e4b49=[{'id':_0x20738d(0x350),'params':{'unitId':_0x1203bc,'actions':null,'textRanges':_0x177a2e}}],_0x438828=this[_0x20738d(0x1de)][_0x20738d(0x2a9)](_0xe3b4b6,_0x1e4b49);if(!_0x2daa7a[_0x20738d(0x2e0)](_0x438828))throw _0x438828[_0x20738d(0x327)];const _0xda6386=_0x438828[_0x20738d(0x285)][0x0][_0x20738d(0x1ca)][_0x20738d(0x157)];Array[_0x20738d(0x1b5)](_0xda6386)&&_0xda6386[_0x20738d(0x367)]&&_0x24a788['replaceDocRanges'](_0xda6386,{'unitId':_0x1203bc,'subUnitId':_0x1203bc},!0x1);}};_0x15054a=_0x3715f2([_0x4e8789(0x0,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0x4e8789(0x1,_0x2daa7a[_0x51cbaf(0x33f)])],_0x15054a);var _0x4fcb8b=Object[_0x51cbaf(0x202)],_0x5c882d=(_0x61e456,_0x509c40,_0x52bd97,_0x50d269)=>{const _0x457f38=_0x51cbaf;for(var _0x11b77a=_0x50d269>0x1?void 0x0:_0x50d269?_0x4fcb8b(_0x509c40,_0x52bd97):_0x509c40,_0x500ae4=_0x61e456[_0x457f38(0x367)]-0x1,_0x38888e;_0x500ae4>=0x0;_0x500ae4--)(_0x38888e=_0x61e456[_0x500ae4])&&(_0x11b77a=_0x38888e(_0x11b77a)||_0x11b77a);return _0x11b77a;},_0x19e156=(_0x51b17d,_0x4963a8)=>(_0x2caf69,_0x33208f)=>_0x4963a8(_0x2caf69,_0x33208f,_0x51b17d);let _0x25cc06=class extends _0x321c93[_0x51cbaf(0x18d)]{constructor(_0x41a3f2,_0x575c4f,_0xabfb21,_0x328a02,_0x5d9767,_0x1f2e66,_0x2b44ea,_0x36002e){const _0x1e3309=_0x51cbaf;super(),_0x34d45d(this,_0x1e3309(0x12b),new _0x5072b9['BehaviorSubject'](_0x3d13ea[_0x1e3309(0x36a)][_0x1e3309(0x267)])),(this[_0x1e3309(0x247)]=_0x41a3f2,this[_0x1e3309(0x248)]=_0x575c4f,this[_0x1e3309(0x3ac)]=_0xabfb21,this[_0x1e3309(0x261)]=_0x328a02,this['_docTransformSelectionsService']=_0x5d9767,this[_0x1e3309(0x347)]=_0x1f2e66,this[_0x1e3309(0x1a4)]=_0x2b44ea,this[_0x1e3309(0x1ee)]=_0x36002e,this['_initEntityListener']());}[_0x51cbaf(0x15e)](){const _0x3b4a42=_0x51cbaf;this[_0x3b4a42(0x28d)](this[_0x3b4a42(0x248)][_0x3b4a42(0x1d7)][_0x3b4a42(0x12f)](_0x41b873=>{const _0x52196a=_0x3b4a42,_0x41450f=this['_docStateChangeManagerService'][_0x52196a(0x1c6)][_0x52196a(0x12f)](_0xc04c50=>{const _0x2d3c0c=_0x52196a;if(_0xc04c50==null)return;const {unitId:_0x364f36,redoState:_0x18743a,commandId:_0x5e0601}=_0xc04c50;if(_0x364f36!==_0x41b873['unitID'])return;const _0x3394c7={'id':_0x5e0601,'type':_0x321c93[_0x2d3c0c(0x17f)]['MUTATION'],'params':{'unitId':_0x364f36,'actions':_0x18743a['actions'],'textRanges':null}};_0x41b873[_0x2d3c0c(0x38d)](_0x3394c7);});if(_0x41b873[_0x52196a(0x28d)](_0x41450f),_0x41b873 instanceof _0x3d13ea['DocCollaborationEntity']){const _0x4f8a32={'onTransformIME':_0x5a18f6=>this[_0x52196a(0x3ac)][_0x52196a(0x185)](_0x5a18f6),'onTransformState':_0x3c79af=>this['_docTransformStateCacheService']['transformStateCache'](_0x3c79af),'onTransformSelections':_0x59d11e=>this[_0x52196a(0x1aa)]['transformSelections'](_0x59d11e),'onSyncEditingCollabCursor':_0x44b64e=>this[_0x52196a(0x347)][_0x52196a(0x155)](_0x44b64e),'onTransformRemoteChangesetByIMECache':_0x349e33=>this[_0x52196a(0x3ac)]['transformRemoteChangeset'](_0x349e33),'onTransformRemoteChangesetByStateCache':_0x2631e3=>this[_0x52196a(0x261)][_0x52196a(0x328)](_0x2631e3)};_0x41b873[_0x52196a(0x2bf)](_0x4f8a32);}}));}};_0x25cc06=_0x5c882d([_0x19e156(0x0,_0x321c93['Inject'](_0x21bba4[_0x51cbaf(0x378)])),_0x19e156(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea['CollaborationController'])),_0x19e156(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x366734)),_0x19e156(0x3,_0x321c93[_0x51cbaf(0x2d6)](_0x5c86ae)),_0x19e156(0x4,_0x321c93[_0x51cbaf(0x2d6)](_0x15054a)),_0x19e156(0x5,_0x321c93[_0x51cbaf(0x2d6)](_0x6d5009)),_0x19e156(0x6,_0x3d72cc[_0x51cbaf(0x269)]),_0x19e156(0x7,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x13b)]))],_0x25cc06);var _0x11450f=Object['getOwnPropertyDescriptor'],_0x52c528=(_0x2dcf55,_0x1b1b94,_0x286494,_0x1bd6d9)=>{const _0x4fa370=_0x51cbaf;for(var _0x22c210=_0x1bd6d9>0x1?void 0x0:_0x1bd6d9?_0x11450f(_0x1b1b94,_0x286494):_0x1b1b94,_0x5a8ae7=_0x2dcf55[_0x4fa370(0x367)]-0x1,_0x27ff8b;_0x5a8ae7>=0x0;_0x5a8ae7--)(_0x27ff8b=_0x2dcf55[_0x5a8ae7])&&(_0x22c210=_0x27ff8b(_0x22c210)||_0x22c210);return _0x22c210;},_0x2e5257=(_0x381070,_0x5bbdc4)=>(_0x1f9a14,_0x33ea79)=>_0x5bbdc4(_0x1f9a14,_0x33ea79,_0x381070);let _0x3f6d52=class extends _0x321c93[_0x51cbaf(0x18d)]{constructor(_0x3f415a,_0x31ba68,_0x2640f3){const _0x11c07f=_0x51cbaf;super(),_0x34d45d(this,'_cachedData',new Map()),_0x34d45d(this,_0x11c07f(0x144),new Map()),_0x34d45d(this,_0x11c07f(0x1e3),!0x1),(this[_0x11c07f(0x383)]=_0x3f415a,this[_0x11c07f(0x271)]=_0x31ba68,this['_revisionService']=_0x2640f3);}['disableLocalCache'](){const _0x150448=_0x51cbaf;this[_0x150448(0x1e3)]=!0x0;}['enableLocalCache'](){const _0x1f28d1=_0x51cbaf;this[_0x1f28d1(0x1e3)]=!0x1;}get[_0x51cbaf(0x33a)](){const _0x2f907b=_0x51cbaf;return this[_0x2f907b(0x144)];}[_0x51cbaf(0x256)](){const _0x4db87c=_0x51cbaf;this[_0x4db87c(0x244)]()[_0x4db87c(0x134)](()=>super['dispose']());}async[_0x51cbaf(0x320)](_0x12c2dc){const _0x3f09f=_0x51cbaf;return this[_0x3f09f(0x1e3)]?null:this['_localStorageService'][_0x3f09f(0x141)](_0x3d13ea[_0x3f09f(0x3a7)](_0x12c2dc));}async[_0x51cbaf(0x310)](_0x4cd171,_0x2c9866){const _0x55e706=_0x51cbaf;return!!this[_0x55e706(0x271)][_0x55e706(0x139)](_0x4cd171,_0x2c9866);}[_0x51cbaf(0x2ff)](_0x49a7eb,_0x3db451,_0x57eda0,_0x2f6d54){const _0x689b37=_0x51cbaf,_0x173acb=this['_revisionService']['getCurrentRevOfUnit'](_0x49a7eb);this[_0x689b37(0x298)][_0x689b37(0x24d)](_0x49a7eb,{'unitID':_0x49a7eb,'type':_0x3db451,'awaitingChangeset':_0x57eda0,'mutations':_0x2f6d54,'rev':_0x173acb}),this[_0x689b37(0x144)][_0x689b37(0x1f4)](_0x49a7eb)||this[_0x689b37(0x1fa)](_0x49a7eb);}['_scheduleSaving'](_0x26d749){const _0x811591=_0x51cbaf,_0x27591b=this['_getSaveTimeout']();_0x27591b===0x0?this[_0x811591(0x145)](_0x26d749):this[_0x811591(0x144)][_0x811591(0x24d)](_0x26d749,setTimeout(()=>this[_0x811591(0x145)](_0x26d749),_0x27591b));}[_0x51cbaf(0x358)](){const _0x1f38ff=_0x51cbaf;var _0x439fc5;return(_0x439fc5=this[_0x1f38ff(0x383)][_0x1f38ff(0x1bf)](_0x3d13ea[_0x1f38ff(0x18b)]))!=null?_0x439fc5:_0x3d13ea['LOCAL_CACHE_INTERVAL'];}[_0x51cbaf(0x145)](_0x594f3e){const _0x50b870=_0x51cbaf,_0x55fa64=this[_0x50b870(0x144)][_0x50b870(0x228)](_0x594f3e);return _0x55fa64!==void 0x0&&window[_0x50b870(0x34f)](_0x55fa64),this[_0x50b870(0x271)][_0x50b870(0x139)](_0x3d13ea[_0x50b870(0x3a7)](_0x594f3e),this[_0x50b870(0x298)][_0x50b870(0x228)](_0x594f3e))[_0x50b870(0x134)](()=>this[_0x50b870(0x144)][_0x50b870(0x215)](_0x594f3e));}async['exhaustSavingTask'](){const _0x46bdb6=_0x51cbaf,_0x5677a2=[];this[_0x46bdb6(0x144)]['forEach']((_0x44f5b7,_0x434601)=>{const _0x40efbb=_0x46bdb6;window[_0x40efbb(0x34f)](_0x44f5b7),_0x5677a2[_0x40efbb(0x207)](this[_0x40efbb(0x145)](_0x434601)[_0x40efbb(0x134)](()=>{const _0x2e01d8=_0x40efbb;this[_0x2e01d8(0x144)][_0x2e01d8(0x215)](_0x434601);}));}),await Promise['all'](_0x5677a2);}};_0x3f6d52=_0x52c528([_0x2e5257(0x0,_0x321c93[_0x51cbaf(0x30d)]),_0x2e5257(0x1,_0x321c93[_0x51cbaf(0x2c7)]),_0x2e5257(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x2daa7a['RevisionService']))],_0x3f6d52);class _0x30c19c extends _0x321c93[_0x51cbaf(0x37f)]{constructor(){const _0x1d4e57=_0x51cbaf;super(),_0x34d45d(this,'urlChange$'),this[_0x1d4e57(0x2e6)]=_0x5072b9['fromEvent'](window,_0x1d4e57(0x1d6))[_0x1d4e57(0x2dd)](_0x5072b9[_0x1d4e57(0x236)](this[_0x1d4e57(0x1df)]),_0x5072b9[_0x1d4e57(0x1dc)](0x1),_0x5072b9['mapTo'](void 0x0));}[_0x51cbaf(0x326)](_0x3a7919,_0x158d60,_0xa0a8b4=!0x1){const _0x153529=_0x51cbaf,_0x294d84=new URL(window[_0x153529(0x12a)][_0x153529(0x133)]);_0x294d84[_0x153529(0x26c)]['set'](_0x3a7919,_0x158d60),_0xa0a8b4?window[_0x153529(0x27c)]['replaceState']('','',_0x294d84[_0x153529(0x1c0)]()):window[_0x153529(0x27c)][_0x153529(0x336)]('','',_0x294d84[_0x153529(0x1c0)]());}[_0x51cbaf(0x290)](_0x3e0fa5,_0x9da1b7=!0x1){const _0x591fd0=_0x51cbaf,_0x16fcd8=new URL(window[_0x591fd0(0x12a)]['href']);_0x16fcd8['searchParams'][_0x591fd0(0x215)](_0x3e0fa5),_0x9da1b7?window[_0x591fd0(0x27c)][_0x591fd0(0x132)]('','',_0x16fcd8[_0x591fd0(0x1c0)]()):window[_0x591fd0(0x27c)][_0x591fd0(0x336)]('','',_0x16fcd8[_0x591fd0(0x1c0)]());}['getParam'](_0xa3368d){const _0xdb05c3=_0x51cbaf;var _0x2f2421;return(_0x2f2421=new URL(window[_0xdb05c3(0x12a)][_0xdb05c3(0x133)])['searchParams'][_0xdb05c3(0x228)](_0xa3368d))!=null?_0x2f2421:void 0x0;}}var _0x23d844=Object[_0x51cbaf(0x3bc)],_0x1415ce=Object[_0x51cbaf(0x202)],_0x992753=(_0x195325,_0xb135f,_0x170ddf)=>_0xb135f in _0x195325?_0x23d844(_0x195325,_0xb135f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x170ddf}):_0x195325[_0xb135f]=_0x170ddf,_0x571583=(_0x16f357,_0x489796,_0x199f2d,_0x3b428b)=>{const _0x52cdb6=_0x51cbaf;for(var _0x299a4b=_0x3b428b>0x1?void 0x0:_0x3b428b?_0x1415ce(_0x489796,_0x199f2d):_0x489796,_0x259a3a=_0x16f357[_0x52cdb6(0x367)]-0x1,_0x4a23d6;_0x259a3a>=0x0;_0x259a3a--)(_0x4a23d6=_0x16f357[_0x259a3a])&&(_0x299a4b=_0x4a23d6(_0x299a4b)||_0x299a4b);return _0x299a4b;},_0x2985d2=(_0x401080,_0x50681)=>(_0xb68b27,_0x1eea10)=>_0x50681(_0xb68b27,_0x1eea10,_0x401080),_0x12a779=(_0x4f05e0,_0x6e7844,_0xbc9da7)=>_0x992753(_0x4f05e0,_0x6e7844+'',_0xbc9da7);const _0x43b403=_0x51cbaf(0x158);_0x4cc1af[_0x51cbaf(0x25f)]=class extends _0x321c93[_0x51cbaf(0x179)]{constructor(_0x4f4d4a=_0x5c5637,_0x1fce89,_0x576ace,_0x2f2a70){const _0x5b5656=_0x51cbaf;super(),this['_config']=_0x4f4d4a,this[_0x5b5656(0x32e)]=_0x1fce89,this[_0x5b5656(0x393)]=_0x576ace,this[_0x5b5656(0x383)]=_0x2f2a70;const {..._0x48a3a8}=_0x321c93['merge']({},_0x5c5637,this[_0x5b5656(0x181)]);this[_0x5b5656(0x383)][_0x5b5656(0x1ea)](_0x9182b5,_0x48a3a8);}['onStarting'](){const _0x4c4647=_0x51cbaf;this[_0x4c4647(0x372)](),this[_0x4c4647(0x1be)]();}[_0x51cbaf(0x16c)](){const _0x4ab127=_0x51cbaf;this[_0x4ab127(0x2f8)]();}['_registerDependencies'](){const _0x390f2a=_0x51cbaf;var _0x21c38c;const _0x2e42f1=[[_0x4e47bc],[_0x15054a],[_0x366734],[_0x5c86ae],[_0x6d5009],[_0x227084,{'useClass':_0x30c19c}],[_0x1401f5[_0x390f2a(0x381)],{'useClass':_0x1401f5[_0x390f2a(0x2ba)]}],[_0x3d13ea['ILocalCacheService'],{'useClass':_0x3f6d52}],[_0x4cc1af['DesktopCollaborationStatusDisplayController']],[_0x25cc06],[_0x37dd51],[_0x31bd2a],[_0x32a18d],[_0x4cc1af[_0x390f2a(0x2da)]]];_0x321c93['registerDependencies'](this[_0x390f2a(0x393)],_0x321c93[_0x390f2a(0x26e)](_0x2e42f1,(_0x21c38c=this['_config'])==null?void 0x0:_0x21c38c[_0x390f2a(0x210)]));}[_0x51cbaf(0x2f8)](){const _0x3e6695=_0x51cbaf;this[_0x3e6695(0x28d)](this[_0x3e6695(0x32e)][_0x3e6695(0x394)](_0x321c93[_0x3e6695(0x2f3)][_0x3e6695(0x28e)],[_0x48292d])),this[_0x3e6695(0x28d)](this[_0x3e6695(0x32e)][_0x3e6695(0x394)](_0x321c93['UniverInstanceType'][_0x3e6695(0x35a)],[_0x451cff]));}[_0x51cbaf(0x1be)](){const _0x4ff1ee=_0x51cbaf;_0x321c93[_0x4ff1ee(0x287)](this[_0x4ff1ee(0x393)],[[_0x31bd2a],[_0x4cc1af[_0x4ff1ee(0x305)]],[_0x25cc06],[_0x37dd51],[_0x4cc1af[_0x4ff1ee(0x2da)]]]);}},_0x12a779(_0x4cc1af[_0x51cbaf(0x25f)],_0x51cbaf(0x33b),_0x43b403),_0x4cc1af[_0x51cbaf(0x25f)]=_0x571583([_0x321c93[_0x51cbaf(0x268)](_0x3d13ea[_0x51cbaf(0x316)]),_0x2985d2(0x1,_0x3f844e[_0x51cbaf(0x3bd)]),_0x2985d2(0x2,_0x321c93['Inject'](_0x321c93['Injector'])),_0x2985d2(0x3,_0x321c93[_0x51cbaf(0x30d)])],_0x4cc1af['UniverCollaborationClientUIPlugin']);var _0x78a9ff=Object[_0x51cbaf(0x202)],_0x5ec48f=(_0x49d21f,_0x45b7ae,_0x59ea20,_0x106ce8)=>{const _0x4af0dd=_0x51cbaf;for(var _0x561136=_0x106ce8>0x1?void 0x0:_0x106ce8?_0x78a9ff(_0x45b7ae,_0x59ea20):_0x45b7ae,_0xd8df09=_0x49d21f[_0x4af0dd(0x367)]-0x1,_0x56ab3a;_0xd8df09>=0x0;_0xd8df09--)(_0x56ab3a=_0x49d21f[_0xd8df09])&&(_0x561136=_0x56ab3a(_0x561136)||_0x561136);return _0x561136;},_0x2b008c=(_0x45aa41,_0x1ae890)=>(_0x56ab56,_0x5a4e4e)=>_0x1ae890(_0x56ab56,_0x5a4e4e,_0x45aa41);_0x4cc1af[_0x51cbaf(0x186)]=class extends _0x3d13ea[_0x51cbaf(0x315)]{constructor(_0x40eb86,_0x139953,_0x59e85e,_0x5d73ec,_0x1a8f2a){super(_0x40eb86,_0x139953,_0x59e85e,_0x5d73ec,_0x1a8f2a);}async[_0x51cbaf(0x2fe)](_0x201e68){const _0x5c6d5a=_0x51cbaf,_0x57d9b0=await this[_0x5c6d5a(0x129)](),_0x1ab101=this['_createSocketURL'](_0x201e68,_0x57d9b0);return this[_0x5c6d5a(0x39b)](_0x1ab101);}['_createSocketURL'](_0x774f6d,_0x3a14b7){const _0x73c563=_0x51cbaf,_0x166180=typeof window>'u'?new URL(_0x774f6d):new URL(_0x774f6d,window[_0x73c563(0x12a)][_0x73c563(0x35b)]);_0x166180[_0x73c563(0x26c)][_0x73c563(0x24d)](_0x73c563(0x288),_0x3a14b7);const _0x3417b1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x73c563(0x12a)][_0x73c563(0x2fc)]);return _0x3417b1[_0x73c563(0x228)](_0x73c563(0x1a5))&&_0x166180[_0x73c563(0x26c)][_0x73c563(0x24d)](_0x73c563(0x1a5),_0x3417b1[_0x73c563(0x228)]('runId')),_0x166180[_0x73c563(0x1c0)]();}async['_getSessionTicket'](){const _0x1047e1=_0x51cbaf;var _0xa8043e,_0xd39c30,_0x22748c;const _0x3767f3=this[_0x1047e1(0x383)][_0x1047e1(0x1bf)](_0x3d13ea[_0x1047e1(0x1b4)]),_0x4e2533=(_0xa8043e=_0x3767f3==null?void 0x0:_0x3767f3[_0x1047e1(0x1e6)])!=null?_0xa8043e:_0x3d13ea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x22748c=(_0xd39c30=(await this[_0x1047e1(0x37d)][_0x1047e1(0x228)](_0x4e2533,{'headers':{'Content-Type':_0x1047e1(0x34e)}}))[_0x1047e1(0x343)])==null?void 0x0:_0xd39c30[_0x1047e1(0x259)])!=null?_0x22748c:'';}},_0x4cc1af[_0x51cbaf(0x186)]=_0x5ec48f([_0x2b008c(0x0,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93['Injector'])),_0x2b008c(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x1401f5[_0x51cbaf(0x366)])),_0x2b008c(0x2,_0x321c93[_0x51cbaf(0x30d)]),_0x2b008c(0x3,_0x321c93['ILogService']),_0x2b008c(0x4,_0x2daa7a[_0x51cbaf(0x2cc)])],_0x4cc1af['BrowserCollaborationSocketService']);const _0x337784=0x7530,_0x42b243=_0x51cbaf(0x33c);class _0x537dc5 extends _0x321c93[_0x51cbaf(0x18d)]{constructor(){const _0x3ff756=_0x51cbaf;super(),_0x34d45d(this,_0x3ff756(0x2db),_0x321c93[_0x3ff756(0x151)]()),_0x34d45d(this,'_selfUnitIDs',new Set()),_0x34d45d(this,'_unitOnClients',new Map()),_0x34d45d(this,_0x3ff756(0x294),null),_0x34d45d(this,_0x3ff756(0x17c),new Map()),_0x34d45d(this,_0x3ff756(0x20a),new Map()),this[_0x3ff756(0x3a5)]();}['dispose'](){const _0x1d203f=_0x51cbaf;super[_0x1d203f(0x256)](),this[_0x1d203f(0x17c)][_0x1d203f(0x124)]((_0xdfe208,_0x2ca3e6)=>this[_0x1d203f(0x196)](_0x2ca3e6)),this[_0x1d203f(0x294)]&&window['clearInterval'](this[_0x1d203f(0x294)]);}['getUnitStatus$'](_0x1d8477){const _0x4739b7=_0x51cbaf;return this['_ensureSubject'](_0x1d8477)[_0x4739b7(0x2dd)](_0x5072b9['distinctUntilChanged']());}[_0x51cbaf(0x25e)](_0x34cc34){const _0x1c2796=_0x51cbaf;this[_0x1c2796(0x1f7)][_0x1c2796(0x30e)]===0x0&&this[_0x1c2796(0x1a1)](),this[_0x1c2796(0x1f7)]['add'](_0x34cc34),this[_0x1c2796(0x212)]({'type':0x0,'memberID':this[_0x1c2796(0x2db)],'unitIDs':[_0x34cc34],'isForwarded':!0x1});}[_0x51cbaf(0x23c)](_0xb3dc){const _0x2618e6=_0x51cbaf;this['_selfUnitIDs'][_0x2618e6(0x215)](_0xb3dc),this['_selfUnitIDs']['size']===0x0&&this[_0x2618e6(0x294)]&&window[_0x2618e6(0x22c)](this['_heartbeatTimer']);}[_0x51cbaf(0x3a5)](){const _0x1b9d43=_0x51cbaf;this['disposeWithMe'](_0x321c93[_0x1b9d43(0x253)](_0x5072b9['fromEvent'](window,_0x1b9d43(0x362))[_0x1b9d43(0x12f)](_0x306697=>{const _0x336942=_0x1b9d43;if(_0x306697[_0x336942(0x3b8)]!==_0x42b243||!_0x306697[_0x336942(0x329)])return;const _0x2c06bb=JSON[_0x336942(0x12d)](_0x306697[_0x336942(0x329)]);this['_handleEvent'](_0x2c06bb);}))),window[_0x1b9d43(0x2e8)](_0x1b9d43(0x14e),()=>this[_0x1b9d43(0x212)]({'type':0x1,'memberID':this[_0x1b9d43(0x2db)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x51cbaf(0x1d5)](_0x33d685){const _0x3a3d23=_0x51cbaf;switch(_0x33d685[_0x3a3d23(0x1ad)]){case 0x0:this[_0x3a3d23(0x2fa)](_0x33d685);break;case 0x1:this[_0x3a3d23(0x270)](_0x33d685);break;case 0x2:this[_0x3a3d23(0x218)](_0x33d685);break;}}[_0x51cbaf(0x2fa)](_0x490a04){const _0x2f6db4=_0x51cbaf,{unitIDs:_0x268d4f,memberID:_0x1ef688,isForwarded:_0x232ef3}=_0x490a04;_0x268d4f[_0x2f6db4(0x124)](_0xc1488e=>{const _0x33743a=_0x2f6db4;if(!_0x232ef3&&this[_0x33743a(0x36d)]['has'](_0xc1488e)&&this[_0x33743a(0x2f0)](_0xc1488e)['next'](_0x3d13ea['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0xc1488e)||!this['_unitOnClients'][_0x33743a(0x228)](_0xc1488e)['has'](_0x1ef688)){const _0x5bf5ba=this[_0x33743a(0x36d)][_0x33743a(0x228)](_0xc1488e)||new Set();_0x5bf5ba[_0x33743a(0x317)](_0x1ef688),this[_0x33743a(0x36d)][_0x33743a(0x24d)](_0xc1488e,_0x5bf5ba),this['_scheduleClearOtherTimer'](_0x1ef688);}}),_0x232ef3||this['_send']({'type':0x0,'memberID':this[_0x2f6db4(0x2db)],'unitIDs':[...this[_0x2f6db4(0x1f7)]],'isForwarded':!0x0});}[_0x51cbaf(0x309)](_0x55da6e){const _0x3921d0=_0x51cbaf;this[_0x3921d0(0x196)](_0x55da6e);const _0x44d323=window[_0x3921d0(0x18f)](()=>{const _0x58c362=_0x3921d0;this[_0x58c362(0x36d)]['forEach'](_0x56e646=>{const _0x556893=_0x58c362;_0x56e646[_0x556893(0x215)](_0x55da6e);});},_0x337784*0x2);this[_0x3921d0(0x17c)][_0x3921d0(0x24d)](_0x55da6e,_0x44d323);}[_0x51cbaf(0x196)](_0x40ac6f){const _0xeb3685=_0x51cbaf;if(this[_0xeb3685(0x17c)]['has'](_0x40ac6f)){const _0x2df5ad=this[_0xeb3685(0x17c)][_0xeb3685(0x228)](_0x40ac6f);_0x2df5ad&&window[_0xeb3685(0x34f)](_0x2df5ad),this[_0xeb3685(0x17c)][_0xeb3685(0x24d)](_0x40ac6f,null);}}[_0x51cbaf(0x270)](_0x4b58d5){const _0x1a0957=_0x51cbaf,{memberID:_0x3ec8dd,unitIDs:_0x2a7dfc}=_0x4b58d5;_0x2a7dfc['forEach'](_0x3f66e7=>{const _0x5bb0f9=_0x2584;var _0xf1abd4;const _0x4e5325=this[_0x5bb0f9(0x36d)]['get'](_0x3f66e7);_0x4e5325&&(_0x4e5325['delete'](_0x3ec8dd),(_0xf1abd4=this[_0x5bb0f9(0x2f0)](_0x3f66e7))==null||_0xf1abd4[_0x5bb0f9(0x15b)](_0x4e5325[_0x5bb0f9(0x30e)]===0x0?_0x3d13ea[_0x5bb0f9(0x3a1)][_0x5bb0f9(0x296)]:_0x3d13ea['UnitStatus'][_0x5bb0f9(0x386)]));}),this[_0x1a0957(0x196)](_0x3ec8dd);}[_0x51cbaf(0x218)](_0x2df3b1){const _0x523e9e=_0x51cbaf;this[_0x523e9e(0x309)](_0x2df3b1[_0x523e9e(0x340)]);}[_0x51cbaf(0x212)](_0x40e39e){const _0xe76d9d=_0x51cbaf;localStorage[_0xe76d9d(0x139)](_0x42b243,JSON[_0xe76d9d(0x2a5)](_0x40e39e));}[_0x51cbaf(0x1a1)](){const _0x3648ef=_0x51cbaf;this[_0x3648ef(0x294)]=window[_0x3648ef(0x19b)](()=>{const _0x12ef05=_0x3648ef;this[_0x12ef05(0x212)]({'type':0x2,'memberID':this[_0x12ef05(0x2db)]});},_0x337784);}[_0x51cbaf(0x2f0)](_0x18e894){const _0x49b5bf=_0x51cbaf;return this['_unitStatus'][_0x49b5bf(0x1f4)](_0x18e894)||this[_0x49b5bf(0x20a)][_0x49b5bf(0x24d)](_0x18e894,new _0x5072b9[(_0x49b5bf(0x190))](_0x3d13ea[_0x49b5bf(0x3a1)][_0x49b5bf(0x296)])),this[_0x49b5bf(0x20a)]['get'](_0x18e894);}}var _0x17a9cd=(_0x15f944=>(_0x15f944[_0x15f944[_0x51cbaf(0x14c)]=0x0]=_0x51cbaf(0x14c),_0x15f944[_0x15f944['OK']=0x1]='OK',_0x15f944[_0x15f944[_0x51cbaf(0x166)]=0x2]=_0x51cbaf(0x166),_0x15f944[_0x15f944[_0x51cbaf(0x219)]=0x3]=_0x51cbaf(0x219),_0x15f944[_0x15f944['NOT_FOUND']=0x4]=_0x51cbaf(0x2cb),_0x15f944[_0x15f944[_0x51cbaf(0x276)]=0x5]=_0x51cbaf(0x276),_0x15f944[_0x15f944['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x15f944[_0x15f944[_0x51cbaf(0x15d)]=0x7]=_0x51cbaf(0x15d),_0x15f944[_0x15f944[_0x51cbaf(0x217)]=0x8]=_0x51cbaf(0x217),_0x15f944[_0x15f944[_0x51cbaf(0x24e)]=0x9]=_0x51cbaf(0x24e),_0x15f944[_0x15f944[_0x51cbaf(0x2a4)]=0xa]=_0x51cbaf(0x2a4),_0x15f944[_0x15f944[_0x51cbaf(0x39e)]=0x1389]=_0x51cbaf(0x39e),_0x15f944[_0x15f944['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x51cbaf(0x234),_0x15f944[_0x15f944[_0x51cbaf(0x264)]=0x1772]=_0x51cbaf(0x264),_0x15f944[_0x15f944[_0x51cbaf(0x1da)]=0x1773]=_0x51cbaf(0x1da),_0x15f944[_0x15f944[_0x51cbaf(0x2f7)]=0x1b59]=_0x51cbaf(0x2f7),_0x15f944[_0x15f944['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x51cbaf(0x2e2),_0x15f944[_0x15f944[_0x51cbaf(0x14f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x15f944[_0x15f944['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x51cbaf(0x183),_0x15f944[_0x15f944['APPLY_DUPLICATED']=0x1b5d]=_0x51cbaf(0x229),_0x15f944[_0x15f944[_0x51cbaf(0x2b0)]=0x1f41]=_0x51cbaf(0x2b0),_0x15f944[_0x15f944[_0x51cbaf(0x2f9)]=0x2329]=_0x51cbaf(0x2f9),_0x15f944[_0x15f944['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x51cbaf(0x339),_0x15f944[_0x15f944[_0x51cbaf(0x279)]=0x232b]=_0x51cbaf(0x279),_0x15f944[_0x15f944[_0x51cbaf(0x2a7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x15f944[_0x15f944['LICENSE_DISTRO_REJECTED']=0x232d]=_0x51cbaf(0x35d),_0x15f944[_0x15f944[_0x51cbaf(0x3a0)]=0x2711]=_0x51cbaf(0x3a0),_0x15f944[_0x15f944[_0x51cbaf(0x318)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15f944[_0x15f944[_0x51cbaf(0x204)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15f944[_0x15f944[_0x51cbaf(0x27e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x15f944[_0x15f944['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x51cbaf(0x180),_0x15f944[_0x15f944[_0x51cbaf(0x23b)]=0x271b]=_0x51cbaf(0x23b),_0x15f944[_0x15f944[_0x51cbaf(0x224)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x15f944[_0x15f944[_0x51cbaf(0x1ed)]=0x271d]=_0x51cbaf(0x1ed),_0x15f944[_0x15f944[_0x51cbaf(0x1cf)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x15f944[_0x15f944[_0x51cbaf(0x19f)]=0x271f]=_0x51cbaf(0x19f),_0x15f944[_0x15f944[_0x51cbaf(0x295)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x15f944[_0x15f944['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x51cbaf(0x399),_0x15f944[_0x15f944[_0x51cbaf(0x281)]=0x2ee2]='INVALID_INVITE_CODE',_0x15f944[_0x15f944[_0x51cbaf(0x125)]=0x2ee3]=_0x51cbaf(0x125),_0x15f944[_0x15f944['USER_NOT_INVITED_CODE']=0x2ee4]=_0x51cbaf(0x2cf),_0x15f944[_0x15f944[_0x51cbaf(0x395)]=0x2ee5]=_0x51cbaf(0x395),_0x15f944[_0x15f944['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x51cbaf(0x13d),_0x15f944[_0x15f944['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x51cbaf(0x146),_0x15f944[_0x15f944[_0x51cbaf(0x301)]=0x32cb]=_0x51cbaf(0x301),_0x15f944[_0x15f944[_0x51cbaf(0x1ec)]=-0x1]=_0x51cbaf(0x1ec),_0x15f944))(_0x17a9cd||{}),_0xa1aca2=Object[_0x51cbaf(0x202)],_0x17c6bf=(_0x3d8701,_0x3eb032,_0x5f146d,_0x44aaab)=>{for(var _0x38da04=_0x44aaab>0x1?void 0x0:_0x44aaab?_0xa1aca2(_0x3eb032,_0x5f146d):_0x3eb032,_0x1046be=_0x3d8701['length']-0x1,_0x450de7;_0x1046be>=0x0;_0x1046be--)(_0x450de7=_0x3d8701[_0x1046be])&&(_0x38da04=_0x450de7(_0x38da04)||_0x38da04);return _0x38da04;},_0x3659b1=(_0x5a6d12,_0x48527d)=>(_0x592132,_0x3686d0)=>_0x48527d(_0x592132,_0x3686d0,_0x5a6d12);_0x4cc1af[_0x51cbaf(0x2ad)]=class extends _0x321c93['Disposable']{constructor(_0x30184b,_0x23f8e5,_0x3bc636){const _0x59dbce=_0x51cbaf;super(),this['_instanceService']=_0x30184b,this[_0x59dbce(0x37d)]=_0x23f8e5,this[_0x59dbce(0x383)]=_0x3bc636;}async[_0x51cbaf(0x238)](_0x3c2e46,_0x52dbec,_0x8cd101,..._0x152d9b){const _0x405073=_0x51cbaf;var _0x565533,_0xd01b99,_0x2fc94e,_0x5e469f;const _0x343d31=this[_0x405073(0x3b6)][_0x405073(0x20f)]();if(!_0x343d31)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d8232=((_0x565533=this[_0x405073(0x383)][_0x405073(0x1bf)](_0x3d13ea[_0x405073(0x20b)]))!=null?_0x565533:_0x3d13ea[_0x405073(0x16b)])+'/'+_0x3c2e46+_0x405073(0x233)+_0x52dbec,_0x310df0=new URL(window['location'][_0x405073(0x133)]),_0x30a9c2={'scriptId':_0x3c2e46,'runId':(_0xd01b99=_0x310df0['searchParams'][_0x405073(0x228)](_0x405073(0x1a5)))!=null?_0xd01b99:'','function':_0x52dbec,'unitId':_0x343d31[_0x405073(0x198)](),'argsOfFunction':JSON[_0x405073(0x2a5)](_0x152d9b),'invokeId':(_0x2fc94e=_0x8cd101['invokeId'])!=null?_0x2fc94e:'','executionId':(_0x5e469f=_0x8cd101['executionId'])!=null?_0x5e469f:''};try{const _0x5d8077=await this[_0x405073(0x37d)]['post'](_0x5d8232,{'body':_0x30a9c2});return _0x5d8077[_0x405073(0x343)][_0x405073(0x327)]&&_0x5d8077[_0x405073(0x343)][_0x405073(0x327)][_0x405073(0x30b)]!==_0x17a9cd['OK']?'Failed':_0x5d8077[_0x405073(0x343)][_0x405073(0x1dd)];}catch{return _0x405073(0x388);}}},_0x4cc1af[_0x51cbaf(0x2ad)]=_0x17c6bf([_0x3659b1(0x0,_0x321c93[_0x51cbaf(0x39d)]),_0x3659b1(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x1401f5[_0x51cbaf(0x366)])),_0x3659b1(0x2,_0x321c93[_0x51cbaf(0x30d)])],_0x4cc1af['RemoteUniscriptService']),_0x4cc1af[_0x51cbaf(0x246)]=_0x5a94a0,_0x4cc1af[_0x51cbaf(0x3b3)]=_0x227084,_0x4cc1af[_0x51cbaf(0x2b6)]=_0x2c9bd8,_0x4cc1af['WebBrowserSingleActiveUnitService']=_0x537dc5,_0x4cc1af[_0x51cbaf(0x22d)]=_0x30c19c,Object['defineProperty'](_0x4cc1af,Symbol[_0x51cbaf(0x265)],{'value':'Module'});}));function _0x1936(){const _0x5611fe=['_toggleOffline','_getMergeRange','triggerDblclick','_dataLoaderService','_backgroundColor','none','_updateURLWithCurrentState','_getSaveTimeout','_transformHistoryAndStateStack','UNIVER_SHEET','origin','getCurrent','LICENSE_DISTRO_REJECTED','_refRangeService','_refreshCollabCursors','@univerjs/rpc','setActiveRange','storage','COLORS','onPointerLeave$','split','HTTPService','length','findNodePositionByCharIndex','eventID','CollaborationStatus','Warning','VIEW_MAIN','_unitOnClients','unshift','icon','0\x200\x2016\x2016','transformStateCache','_registerDependencies','UniverSheets','saveImage','collab-text-anchor-','getStateCache','FETCH_MISS','DocStateChangeManagerService','combineLatest','session.connection-failed','CollaborationUIEventId','handleDeleteRangeMoveUp','_httpService','SOCKET_FAILED','RxDisposable','ColorKit','ISocketService','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','_configService','purple.300','deserializeRangeWithSheet','OTHER_CLIENTS_EDITING','unsubscribe','Failed','lineTo','getDocRanges','permission.content','blue.400','onLocalMutation','object','_anchorDot','endRow','Injector','Rectangle','_injector','registerRenderModule','INVITE_CODE_ALREADY_BOUND','React','handleInsertRangeMoveDown','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','INVITE_CODE_HAS_BEEN_UES','drawWith','_doCreateSocket','_eventUnsubscribe','IUniverInstanceService','CHANGESET_REVISION_CONFILICT','_handleHover','YUUMI_UNABLE_LOAD_URL','UnitStatus','getOwnPropertySymbols','CollaborationSessionService','round','_init','xlink:href','getLocalCacheKey','onCommandExecuted','@univerjs/drawing','CollaborationController','@univerjs/docs-ui','_docTransformIMECacheService','save','_textBubble','_color','12229063pHMogp','requireSession','UniverDocsUi','IURLService','makeDirty','transformByState','_instanceService','2ygADMq','key','@univerjs/sheets','_name','3XRtVWF','defineProperty','IRenderManagerService','forEach','INVITE_CODE_REQUIRED','currentColor','_startDocCollabCursor','IImageIoService','_getSessionTicket','location','_status$','collabStatus.syncing','parse','fillText','subscribe','fill','_context','replaceState','href','then','redoState','transformMutation','Subject','SUBMIT_CHANGESET_TIMEOUT','setItem','engine','LocaleService','HEADER_MENU','WECHAT_HAS_BEEN_BOUND','Shape','_themeService','_shapes','getItem','_assignedColors','1em','_saveTaskMap','_saveCache','MOBILE_HAS_BEEN_BOUND','sessionStatus$','_anchor','on-line-single_clip0_910_349','switchMap','@univerjs/ui','UNDEFINED','width','unload','APPLY_REVISION_CONFILICT','DOC_RANGE_TYPE','generateRandomId','getSkeleton','max','getMemberID','syncEditingCollabCursor','DeleteRangeMoveUpCommandId','textRanges','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','fillRule','UniverUi','next','BuiltInUIPart','INVALID_ARGUMENT','_initEntityListener','getColor','yellow.400','getTypeOfUnitDisposed$','CollaborationUIEventService','...','collabCursorState$','OffLineSingle','INTERNAL_ERROR','getRangePointData','_colorAssignService','676532gkkJFe','DeleteRangeMoveLeftCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onRendered','univer-flex\x20univer-mr-2\x20univer-text-xl','amd','64inEvcJ','UniverDrawing','SheetsSelectionsService','createInstance','_beforeCloseService','_toggleOnline','collaboration.single-unit.warning','_imageIoService','_drawRectRange','handleIRemoveCol','Plugin','_onRefRangeChange','InsertColCommandId','_clearOtherTimers','currentSkeleton$','ThemeService','CommandType','YUUMI_NO_CUBOID_FOR_QUESTION','_config','defIds','APPLY_PERMISSION_DENIED','@univerjs/docs','transformIMECache','BrowserCollaborationSocketService','_lastPointer','evenodd','flatMap','UniverSheetsUi','LOCAL_CACHE_INTERVAL_KEY','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','Disposable','filter','setTimeout','BehaviorSubject','cursorInfo$','335ldBhJj','map','m1Prime','className','_removeClearOtherTimer','column','getUnitId','range','IUIPartsService','setInterval','_logService','collaboration.closeRoom','from','YUUMI_AI_RUN_FAILED','source','_scheduleHeartbeat','function','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_messageService','runId','backgroundColor','session.collaboration-timeout','_scene','getSheetId','_docTransformSelectionsService','labelPosition','assign','type','rgba(255,\x20255,\x20255,\x200.01)','attrs','_hover','useDependency','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','undoState','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isArray','handleInsertCol','_setupSubUnitSync','getRenderById','on-line-single','0\x200\x2017\x2016','634873kckaZn','RemoveRowCommandId','executeCommand','_initDependencies','getConfig','toString','_cursorShapes','DocSelectionManagerService','TEXT_RANGE_LAYER_INDEX','getSheetObject','debounce','docStateChange$','MoveRangeCommandId','event$','Workbook','params','getViewport','measureText','EffectRefRangId','_updateLocalCursor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','path','roomMembers','svg','isTransformMutationFailure','@univerjs/engine-formula','_handleEvent','popstate','entityInit$','Tooltip','bottom','ENSURE_SNAPSHOT_EXECUTION','useCallback','shareReplay','result','_transformService','dispose$','collab-client.tooltip.reconnect','focused$','handleDeleteRangeMoveLeft','_disabled','react','_initResize','wsSessionTicketUrl','_cursors','DocIMEInputManagerService','jsxs','setConfig','@univerjs-pro/collaboration-client','UNRECOGNIZED','YUUMI_ALL_TABLES_IS_INVALID','_localeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/engine-render','onMouseMove','_colorIndex','_collaborationUIEventService','has','getCoordByCell','getColorFromTheme','_selfUnitIDs','_commandService','UPDATE_CURSOR','_scheduleSaving','#fff','_setupBeforeClosingHandler','throttleTime','UniverDesign','current','_collabCursorController','_collabCursorState$','getOwnPropertyDescriptor','_urlService','YUUMI_RATE_OVER_LIMIT','assignAColorForMemberID','_memberService','push','_entityInit$','endColumn','_unitStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','extend','collab-rect-range-','div','getFocusedUnit','override','_collabSessionService','_send','mutations','subscribeEvent','delete','tag','TOO_MANY_REQUESTS','_handleHeartbeatEvent','PERMISSION_DENIED','@univerjs-pro/collaboration','trim','_updateSubUnitFromURLParams','_getSheetObject','transformSelections','_initStatusListener','moveTo','@univerjs/core','deepClone','_labelPosition','YUUMI_TABLE_NOT_FOUND_IN_UNIT','substring','@univerjs/sheets-ui','connectInjector','get','APPLY_DUPLICATED','url(#off-line-single_clip0_910_343)','displayName','clearInterval','WebURLService','_document','whenReady','_render','getRelativeToViewportCoord','UniverEngineFormula','/run/','SNAPSHOT_INVALID_SNAPSHOT','call','takeUntil','_updateCollabCursors','runOnServer','onPointerMove$','_drawTextRange','YUUMI_ASYNCIO_CANCELLED','disposeUnit','arc','forwardRef','unit','uni.network.url-service','SetDocZoomRatioOperation','SessionStatus','url(#$1','exhaustSavingTask','rxjs/operators','CollaborationStatusDisplay','_docStateChangeManagerService','_collaborationController','OFFLINE','debug','collaboration-client-ui.config','operators','set','COMPLETION_FINISHED','_session','colorChannel1','includes','handleMoveRange','toDisposable','unitId','Unknown\x20user','dispose','getOffsetConfig','344835GsYtuq','ticket','UniverCore','SetSelectionsOperation','ICommandService','selection','editingUnit','UniverCollaborationClientUIPlugin','getValue','_docTransformStateCacheService','row','entries','SNAPSHOT_HAS_BEEN_REMOVED','toStringTag','clipPath','NOT_COLLAB','DependentOn','IMessageService','961660FMbuhU','cursorInfo','searchParams','getTypeOfUnitAdded$','mergeOverrideWithDependencies','MemberService','_handleLeaveEvent','_localStorageService','hasOwnProperty','[CollaborationDataLoaderController]','_roomMembers$','useObservable','UNAUTHENTICATED','SOCKET_FAILED_RETRY','getAncestorScale','LICENSE_IMPORT_SIZE_EXCEEDED','ranges','height','history','sheetID','YUUMI_SUBSCRIPTION_NOT_FOUND','_hideTimer','_transformPreviousActiveRange','INVALID_INVITE_CODE','_uiPartsService','_onCursorDelete','debounceTime','m2Prime','addObjects','touchDependencies','sessionTicket','string','onPointerEnter$','hide','TEXT','disposeWithMe','UNIVER_DOC','onTransformChange$','removeParam','OTHER_CLIENT_EDITING','setStateCache','SheetSkeletonManagerService','_heartbeatTimer','PY_RUNTIME_SCRIPT_ERROR','NO_OTHER_CLIENTS_EDITING','_univerInstanceService','_cachedData','getUndoRedoMutationParamsCache','addClipboardHook','DocSkeletonManagerService','green.600','black','find','5047420WvbMje','createElement','color','PENDING','name','LOGIN_FAILED','stringify','indexOf','LICENSE_EXPORT_SIZE_EXCEEDED','InsertRangeMoveRightCommandId','transformMutationsWithChangeset','data','_localCacheService','values','RemoteUniscriptService','NodePositionConvertToCursor','translate(.97)','CONNECTOR_DATA_TOO_LARGE','defs','mask','_draw','with','_cursor','SheetCollabCursorShape','min','prototype','IBeforeCloseService','WebSocketService','UniverDocs','complete','getSheetBySheetId','univerjs-icon\x20univerjs-icon-','addHandlerCallback','getMergeData','rxjs','children','setShapeProps','_range','contains','Error','ILocalStorageService','resize','getCollabCursors$','_initStatusComponent','NOT_FOUND','ISnapshotServerService','_syncEditingCollabCursorService','_getAnchorBounding','USER_NOT_INVITED_CODE','_drawAnchor','react/jsx-runtime','text','getCollabEntity$','clsx','off-line-single_clip0_910_343','Inject','RichTextEditingMutation','ONLINE','_entities','CollaborationDataLoaderController','_id','idSuffix','pipe','28458ZMBpfn','_sheetSkeletonManagerService','isTransformMutationsWithChangesetSuccess','@univerjs/network','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToRectRange','getActiveRange','collabStatus.conflict','urlChange$','top','addEventListener','subunit','registerBeforeClose','Vector2','_initEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','replace','_notificationService','_ensureSubject','UniverProCollaborationClient','getParam','UniverInstanceType','MessageType','Tools','unitID','APPLY_REJECT','_registerRenderDependencies','LICENSE_MAX_UNITS_EXCEEDED','_handleJoinEvent','@univerjs/design','search','JOIN_ROOM_FAILED','createSocket','updateOfflineData','setAlpha','EMAIL_HAS_BEEN_BOUND','activeSheet$','RegularPolygon','_cursorInfo$','DesktopCollaborationStatusDisplayController','status$','_initCommandExecutedListener','UniverNetwork','_scheduleClearOtherTimer','serializeRangeWithSheet','code','isActive','IConfigService','size','_onCursorUpdate','saveOfflineData','toRgbString','collabStatus.fetchMiss','ILogService','_getScale','CollaborationSocketService','UniverCollaborationClientPlugin','add','YUUMI_URL_COL_OUT_OF_RANGE','registerRefRange','CLOSE_ROOM','send','getMember','concat','random','show','loadOfflineData','skeleton','init','Rect','getCellPositionByOffset','_docClipboardService','setParam','error','transformRemoteChangeset','newValue','font','_removeCollabCursors','restore','DataLoaderService','_renderManagerService','addObject','useRef','OnLineSingle','SetWorksheetActivateCommand','jsx','_online','reconnect','pushState','asObservable','RemoveColCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','saveTaskMap','pluginName','ACTIVE_UNIT_EVENT_CHANNEL','_hovered','_transformUndoRedoStack','ITransformService','memberID','_docSkeletonManagerService','registerComponent','body','startRow','startsWith','Optional','_docSyncEditingCollabCursorService','CollaborationEvent','permission.title','_startSheetCollabCursor','handleIRemoveRow','imageSourceType','UniverRpc','application/json','clearTimeout','doc.mutation.rich-text-editing'];_0x1936=function(){return _0x5611fe;};return _0x1936();}