@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506101607 → 0.8.0-nightly.202506111607

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(_0x282fde,_0x55a950){const _0x51e926=_0x44a6,_0x5a620c=_0x282fde();while(!![]){try{const _0x329831=-parseInt(_0x51e926(0x3f1))/0x1+-parseInt(_0x51e926(0x2d8))/0x2*(-parseInt(_0x51e926(0x45a))/0x3)+-parseInt(_0x51e926(0x25d))/0x4*(-parseInt(_0x51e926(0x21f))/0x5)+parseInt(_0x51e926(0x24e))/0x6*(-parseInt(_0x51e926(0x38d))/0x7)+-parseInt(_0x51e926(0x303))/0x8+-parseInt(_0x51e926(0x376))/0x9*(-parseInt(_0x51e926(0x3bc))/0xa)+-parseInt(_0x51e926(0x2a3))/0xb*(-parseInt(_0x51e926(0x428))/0xc);if(_0x329831===_0x55a950)break;else _0x5a620c['push'](_0x5a620c['shift']());}catch(_0x3e94eb){_0x5a620c['push'](_0x5a620c['shift']());}}}(_0x567f,0x95a6d),function(_0xa74403,_0x1ed216){const _0x351b7c=_0x44a6;typeof exports==_0x351b7c(0x483)&&typeof module<'u'?_0x1ed216(exports,require(_0x351b7c(0x3d2)),require(_0x351b7c(0x271)),require(_0x351b7c(0x3fe)),require(_0x351b7c(0x2ca)),require(_0x351b7c(0x3c3)),require(_0x351b7c(0x477)),require(_0x351b7c(0x246)),require(_0x351b7c(0x3df)),require('@univerjs-pro/collaboration'),require(_0x351b7c(0x2b2)),require(_0x351b7c(0x348)),require(_0x351b7c(0x387)),require(_0x351b7c(0x22e)),require(_0x351b7c(0x21c)),require(_0x351b7c(0x3c0)),require(_0x351b7c(0x3ab)),require(_0x351b7c(0x479)),require(_0x351b7c(0x27a))):typeof define==_0x351b7c(0x319)&&define[_0x351b7c(0x448)]?define(['exports',_0x351b7c(0x3d2),_0x351b7c(0x271),'@univerjs/engine-render',_0x351b7c(0x2ca),'@univerjs/docs-ui',_0x351b7c(0x477),'rxjs',_0x351b7c(0x3df),'@univerjs-pro/collaboration',_0x351b7c(0x2b2),_0x351b7c(0x348),'rxjs/operators',_0x351b7c(0x22e),'react/jsx-runtime','@univerjs/ui',_0x351b7c(0x3ab),_0x351b7c(0x479),_0x351b7c(0x27a)],_0x1ed216):(_0xa74403=typeof globalThis<'u'?globalThis:_0xa74403||self,_0x1ed216(_0xa74403[_0x351b7c(0x3e3)]={},_0xa74403[_0x351b7c(0x305)],_0xa74403['UniverCore'],_0xa74403[_0x351b7c(0x20b)],_0xa74403[_0x351b7c(0x2c9)],_0xa74403[_0x351b7c(0x2f7)],_0xa74403['UniverDrawing'],_0xa74403['rxjs'],_0xa74403[_0x351b7c(0x335)],_0xa74403[_0x351b7c(0x1f8)],_0xa74403[_0x351b7c(0x2f3)],_0xa74403[_0x351b7c(0x221)],_0xa74403[_0x351b7c(0x246)][_0x351b7c(0x418)],_0xa74403[_0x351b7c(0x26d)],_0xa74403[_0x351b7c(0x384)],_0xa74403[_0x351b7c(0x349)],_0xa74403['UniverDesign'],_0xa74403[_0x351b7c(0x384)],_0xa74403[_0x351b7c(0x375)]));}(this,function(_0x2b6d0b,_0x57d487,_0x468931,_0x5d71b0,_0x10caf6,_0x13c110,_0x28266e,_0x946ff9,_0x3b619f,_0x1042b5,_0x3d45f6,_0x35f756,_0x2e4f52,_0x1c415a,_0x50b559,_0x5a4aac,_0x498b76,_0x50701b,_0x4bc5c4){'use strict';const _0x912252=_0x44a6;var _0x595368=Object[_0x912252(0x2c3)],_0x2b7b0c=(_0x47dfd7,_0x253471,_0x358399)=>_0x253471 in _0x47dfd7?_0x595368(_0x47dfd7,_0x253471,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x358399}):_0x47dfd7[_0x253471]=_0x358399,_0x52c450=(_0xec9786,_0x2321a4,_0x2df21f)=>_0x2b7b0c(_0xec9786,typeof _0x2321a4!='symbol'?_0x2321a4+'':_0x2321a4,_0x2df21f),_0x3c0a19=Object[_0x912252(0x289)],_0x4928e1=(_0x4604a9,_0x2566be,_0x2dae70,_0xe42880)=>{const _0x32a90f=_0x912252;for(var _0x114eb6=_0xe42880>0x1?void 0x0:_0xe42880?_0x3c0a19(_0x2566be,_0x2dae70):_0x2566be,_0x1f8afa=_0x4604a9[_0x32a90f(0x414)]-0x1,_0x2e0ca2;_0x1f8afa>=0x0;_0x1f8afa--)(_0x2e0ca2=_0x4604a9[_0x1f8afa])&&(_0x114eb6=_0x2e0ca2(_0x114eb6)||_0x114eb6);return _0x114eb6;},_0x48c637=(_0xeec06c,_0x5235ff)=>(_0xa4328,_0x2dd73b)=>_0x5235ff(_0xa4328,_0x2dd73b,_0xeec06c);let _0xf1d0fc=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xf2f90d,_0x12074f){const _0x31ffe1=_0x912252;super(),this[_0x31ffe1(0x3e9)]=_0xf2f90d,this[_0x31ffe1(0x311)]=_0x12074f,this[_0x31ffe1(0x48e)]();}[_0x912252(0x48e)](){const _0x3ce2ce=_0x912252,_0x184e55=this;this[_0x3ce2ce(0x3d8)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x17851c=>{const _0x2a1555=_0x3ce2ce,_0x1ecae0=await _0x184e55[_0x2a1555(0x311)]['saveImage'](_0x17851c);return _0x1ecae0?{'source':_0x1ecae0[_0x2a1555(0x2a1)],'imageSourceType':_0x1ecae0[_0x2a1555(0x35d)]}:null;}}));}};_0xf1d0fc=_0x4928e1([_0x48c637(0x0,_0x13c110['IDocClipboardService']),_0x48c637(0x1,_0x28266e['IImageIoService'])],_0xf1d0fc);const _0x364c1b=['purple.300',_0x912252(0x253),_0x912252(0x482),_0x912252(0x36c),_0x912252(0x344),_0x912252(0x247)];class _0xb034cf extends _0x468931[_0x912252(0x3dc)]{constructor(){const _0x460eb1=_0x912252;super(...arguments),_0x52c450(this,'_assignedColors',new Map()),_0x52c450(this,_0x460eb1(0x32f),0x0);}[_0x912252(0x430)](_0x552a59){const _0xc87a54=_0x912252;if(this[_0xc87a54(0x374)][_0xc87a54(0x2a7)](_0x552a59))return this['_assignedColors'][_0xc87a54(0x2ae)](_0x552a59);const _0x3567a8=_0x364c1b[this[_0xc87a54(0x32f)]];return this[_0xc87a54(0x32f)]=(this['_colorIndex']+0x1)%_0x364c1b[_0xc87a54(0x414)],this['_assignedColors'][_0xc87a54(0x382)](_0x552a59,_0x3567a8),_0x3567a8;}}function _0xe385ba(_0x4c6a08){const _0x1fcc96=_0x912252;let _0x47a97f='';for(const _0x2afc9e of _0x4c6a08){const {startOffset:_0x4182ce,endOffset:_0x2d6856,isActive:_0x88b820,rangeType:_0x5d95e1,segmentId:_0x5d675b,segmentPage:_0x469f18}=_0x2afc9e;_0x47a97f[_0x1fcc96(0x414)]&&(_0x47a97f+=','),_0x47a97f+=_0x4182ce+':'+_0x2d6856+':'+(_0x88b820?'1':'0')+':'+_0x5d95e1+':'+_0x5d675b+':'+_0x469f18;}return _0x47a97f;}function _0x586af6(_0x3aae6d){const _0x5ea92b=_0x912252,_0x131715=_0x3aae6d[_0x5ea92b(0x267)](','),_0x221cee=[];for(const _0x236d5f of _0x131715){const [_0x3d9c2d,_0x240a15,_0x1387b4,_0x28c067,_0x354b1b,_0x40634c]=_0x236d5f[_0x5ea92b(0x267)](':');_0x221cee[_0x5ea92b(0x381)]({'startOffset':Number(_0x3d9c2d),'endOffset':Number(_0x240a15),'collapsed':_0x3d9c2d===_0x240a15,'isActive':_0x1387b4==='1','rangeType':_0x28c067===_0x468931[_0x5ea92b(0x34a)][_0x5ea92b(0x449)]?_0x468931['DOC_RANGE_TYPE'][_0x5ea92b(0x449)]:_0x468931[_0x5ea92b(0x34a)][_0x5ea92b(0x42b)],'segmentId':typeof _0x354b1b==_0x5ea92b(0x2d0)?String(_0x354b1b):'','segmentPage':Number(_0x40634c!=null?_0x40634c:-0x1)});}return _0x221cee['some'](_0x50ff40=>_0x50ff40[_0x5ea92b(0x3d5)])||(_0x221cee[0x0]['isActive']=!0x0),_0x221cee;}class _0x360d85 extends _0x468931['RxDisposable']{constructor(){const _0x103eb4=_0x912252;super(...arguments),_0x52c450(this,_0x103eb4(0x28d),new _0x946ff9[(_0x103eb4(0x239))](null)),_0x52c450(this,_0x103eb4(0x42c),this[_0x103eb4(0x28d)][_0x103eb4(0x3ac)]());}[_0x912252(0x1fa)](_0x1bcae4){const _0x53f64c=_0x912252,{unitID:_0x4a9ab7,memberID:_0x38d98c,textRanges:_0x44c07b}=_0x1bcae4,_0x502d42=_0xe385ba(_0x44c07b);if(_0x502d42==='')return;const _0x39aa8f={'unitID':_0x4a9ab7,'memberID':_0x38d98c,'selection':_0x502d42};this[_0x53f64c(0x28d)][_0x53f64c(0x44f)](_0x39aa8f);}}var _0x3b85a8=Object['getOwnPropertyDescriptor'],_0x4a2d88=(_0x64656a,_0x5133f5,_0x23e368,_0x4e186b)=>{const _0x1a07f2=_0x912252;for(var _0x262cd2=_0x4e186b>0x1?void 0x0:_0x4e186b?_0x3b85a8(_0x5133f5,_0x23e368):_0x5133f5,_0x28852e=_0x64656a[_0x1a07f2(0x414)]-0x1,_0x4917d1;_0x28852e>=0x0;_0x28852e--)(_0x4917d1=_0x64656a[_0x28852e])&&(_0x262cd2=_0x4917d1(_0x262cd2)||_0x262cd2);return _0x262cd2;},_0x12eb0e=(_0x18d6c0,_0x4a3b98)=>(_0x32f5fb,_0x55fec4)=>_0x4a3b98(_0x32f5fb,_0x55fec4,_0x18d6c0);const _0x2ec19f=0x12c,_0x367c83=0x64;let _0x55254e=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x495b08,_0x5a0df4,_0x2acc33,_0x557476,_0x1aa3ac,_0x41f8ac,_0x57aedc,_0x1d9ba1,_0x38df07){const _0x4cdd93=_0x912252;super(),_0x52c450(this,_0x4cdd93(0x30f),!0x1),_0x52c450(this,_0x4cdd93(0x48e),!0x1),_0x52c450(this,'_cursorInfo$',new _0x946ff9[(_0x4cdd93(0x239))](new Map())),_0x52c450(this,_0x4cdd93(0x397),this[_0x4cdd93(0x211)]['asObservable']()),_0x52c450(this,_0x4cdd93(0x37d),new _0x946ff9[(_0x4cdd93(0x239))]([])),_0x52c450(this,_0x4cdd93(0x3d0),this[_0x4cdd93(0x37d)]['pipe'](_0x946ff9['debounceTime'](_0x2ec19f))),_0x52c450(this,_0x4cdd93(0x447),_0x468931['debounce'](_0x1b5710=>{const _0x3a08dc=_0x4cdd93,_0x3d02f1={'eventID':_0x1042b5[_0x3a08dc(0x202)][_0x3a08dc(0x23d)],'data':{'unitID':this[_0x3a08dc(0x2ac)],'memberID':this[_0x3a08dc(0x472)][_0x3a08dc(0x322)](),'selection':_0xe385ba(_0x1b5710)}};this[_0x3a08dc(0x472)][_0x3a08dc(0x3ec)](_0x3d02f1,this[_0x3a08dc(0x2ac)]);},_0x367c83)),(this[_0x4cdd93(0x2ac)]=_0x495b08,this[_0x4cdd93(0x472)]=_0x5a0df4,this[_0x4cdd93(0x457)]=_0x2acc33,this[_0x4cdd93(0x292)]=_0x557476,this[_0x4cdd93(0x330)]=_0x1aa3ac,this['_syncEditingCollabCursorService']=_0x41f8ac,this[_0x4cdd93(0x318)]=_0x57aedc,this[_0x4cdd93(0x31b)]=_0x1d9ba1,this[_0x4cdd93(0x391)]=_0x38df07);}get[_0x912252(0x3f0)](){return this['_cursorInfo$']['getValue']();}get[_0x912252(0x3c1)](){const _0x34de9f=_0x912252;return this[_0x34de9f(0x37d)]['getValue']();}[_0x912252(0x3ae)](){const _0x4fe5b4=_0x912252;super['dispose'](),this[_0x4fe5b4(0x211)][_0x4fe5b4(0x44f)](new Map()),this[_0x4fe5b4(0x211)]['complete'](),this[_0x4fe5b4(0x37d)][_0x4fe5b4(0x44f)]([]),this['_roomMembers$'][_0x4fe5b4(0x336)]();}[_0x912252(0x2e9)](){const _0x41b34a=_0x912252;this[_0x41b34a(0x48e)]||(this['_init']=!0x0,this[_0x41b34a(0x472)][_0x41b34a(0x463)][_0x41b34a(0x252)](_0x946ff9[_0x41b34a(0x3a7)](this[_0x41b34a(0x41b)]))[_0x41b34a(0x38c)](_0x2f7fcd=>{const _0x27ffb4=_0x41b34a;_0x2f7fcd===_0x57d487[_0x27ffb4(0x3e1)][_0x27ffb4(0x276)]?this[_0x27ffb4(0x23f)]():this['_toggleOffline']();}),this[_0x41b34a(0x472)][_0x41b34a(0x44c)][_0x41b34a(0x252)](_0x946ff9['takeUntil'](this['dispose$']))[_0x41b34a(0x38c)](_0x181238=>{const _0x5263b5=_0x41b34a,_0x3abe95=_0x181238[_0x5263b5(0x48a)];_0x3abe95===_0x1042b5['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x5263b5(0x443)](_0x181238),_0x3abe95===_0x1042b5['CollaborationEvent'][_0x5263b5(0x261)]&&this[_0x5263b5(0x399)](_0x181238);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5e6718=>{const _0x1eca81=_0x41b34a,_0x177350=_0x5e6718['params'];_0x177350!=null&&this['_online']&&_0x5e6718['id']===_0x3b619f[_0x1eca81(0x234)]['id']&&_0x177350['unitId']===this[_0x1eca81(0x2ac)]&&_0x177350['isEditing']===!0x1&&_0x177350[_0x1eca81(0x26a)][_0x1eca81(0x414)]>0x0&&this['_updateLocalCursor'](_0x177350[_0x1eca81(0x26a)]);})),this[_0x41b34a(0x3d7)][_0x41b34a(0x42c)][_0x41b34a(0x252)](_0x946ff9[_0x41b34a(0x3a7)](this['dispose$']))[_0x41b34a(0x38c)](_0xa598c2=>{const _0x429f90=_0x41b34a;if((_0xa598c2==null?void 0x0:_0xa598c2[_0x429f90(0x2ac)])!==this['unitID'])return;const _0x10f3a9={'eventID':_0x1042b5[_0x429f90(0x202)][_0x429f90(0x23d)],'data':_0xa598c2};this[_0x429f90(0x443)](_0x10f3a9);}),this[_0x41b34a(0x3d8)](this[_0x41b34a(0x391)][_0x41b34a(0x3f7)](_0x5450aa=>{const _0x1b5f76=_0x41b34a;if(_0x5450aa[_0x1b5f76(0x43d)]==null)return;const _0x5aa760=_0x5450aa[_0x1b5f76(0x43d)];if(_0x5450aa['id']!==_0x3b619f[_0x1b5f76(0x453)]['id']||_0x5aa760[_0x1b5f76(0x25e)]!==this[_0x1b5f76(0x2ac)])return;const _0x5e14b6={'id':'doc.mutation.rich-text-editing','params':_0x5aa760},_0x34897d=this[_0x1b5f76(0x3f0)];for(const [_0x4dba95,_0x3ee099]of _0x34897d){const _0x3fe806={'id':_0x1b5f76(0x46d),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3ee099[_0x1b5f76(0x26a)]}},_0x1ebbae=this[_0x1b5f76(0x318)][_0x1b5f76(0x314)](_0x5e14b6,_0x3fe806,!0x1);if(_0x1042b5[_0x1b5f76(0x337)](_0x1ebbae))throw _0x1ebbae[_0x1b5f76(0x2b4)];_0x34897d[_0x1b5f76(0x382)](_0x4dba95,{..._0x3ee099,'ranges':_0x1ebbae['m2Prime'][_0x1b5f76(0x43d)][_0x1b5f76(0x407)]});}queueMicrotask(()=>{const _0x5b1bc6=_0x1b5f76;this[_0x5b1bc6(0x211)][_0x5b1bc6(0x44f)](_0x34897d);});})));}[_0x912252(0x443)](_0x573579){const _0xd5d1f5=_0x912252;var _0x311c41,_0x59ffdf;const {memberID:_0x145e9f,selection:_0x437253}=_0x573579[_0xd5d1f5(0x293)],_0x151f9f=_0x586af6(_0x437253),_0x2d4812=(_0x59ffdf=(_0x311c41=this[_0xd5d1f5(0x330)][_0xd5d1f5(0x48f)](this[_0xd5d1f5(0x2ac)],_0x145e9f))==null?void 0x0:_0x311c41[_0xd5d1f5(0x3b9)])!=null?_0x59ffdf:_0xd5d1f5(0x34e),_0x2b88cf={'color':this[_0xd5d1f5(0x292)]['assignAColorForMemberID'](_0x145e9f),'name':_0x2d4812,'ranges':_0x151f9f},_0x34d2e5=this[_0xd5d1f5(0x3f0)];_0x34d2e5[_0xd5d1f5(0x382)](_0x145e9f,_0x2b88cf),this[_0xd5d1f5(0x211)][_0xd5d1f5(0x44f)](_0x34d2e5);}[_0x912252(0x399)](_0x51ad72){const _0x1eb5dc=_0x912252,{memberID:_0x4fe612}=_0x51ad72['data'],_0x22261f=this['cursorInfo'];_0x22261f[_0x1eb5dc(0x1f9)](_0x4fe612),this[_0x1eb5dc(0x211)][_0x1eb5dc(0x44f)](_0x22261f);}[_0x912252(0x23f)](){const _0x25fca5=_0x912252;var _0x598fd0;if(this[_0x25fca5(0x30f)]=!0x0,((_0x598fd0=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x598fd0[_0x25fca5(0x2e8)]())!==this[_0x25fca5(0x2ac)])return;const _0x23fa12=this[_0x25fca5(0x457)][_0x25fca5(0x2ae)](_0x3b619f[_0x25fca5(0x409)])['getDocRanges']();Array[_0x25fca5(0x2d5)](_0x23fa12)&&_0x23fa12['length']>0x0&&this[_0x25fca5(0x447)](_0x23fa12);}[_0x912252(0x302)](){const _0x43e64f=_0x912252;this[_0x43e64f(0x30f)]=!0x1;}};_0x55254e=_0x4a2d88([_0x12eb0e(0x2,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x12eb0e(0x3,_0x468931[_0x912252(0x37e)](_0xb034cf)),_0x12eb0e(0x4,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x393)])),_0x12eb0e(0x5,_0x468931[_0x912252(0x37e)](_0x360d85)),_0x12eb0e(0x6,_0x1042b5[_0x912252(0x3f3)]),_0x12eb0e(0x7,_0x468931['IUniverInstanceService']),_0x12eb0e(0x8,_0x468931[_0x912252(0x3fa)])],_0x55254e);var _0x296e75=Object['getOwnPropertyDescriptor'],_0x1cacd5=(_0x4a1ce3,_0x36f9b2,_0x18d429,_0x4a89a5)=>{for(var _0x2a5fe2=_0x4a89a5>0x1?void 0x0:_0x4a89a5?_0x296e75(_0x36f9b2,_0x18d429):_0x36f9b2,_0x16cba5=_0x4a1ce3['length']-0x1,_0x5dc95f;_0x16cba5>=0x0;_0x16cba5--)(_0x5dc95f=_0x4a1ce3[_0x16cba5])&&(_0x2a5fe2=_0x5dc95f(_0x2a5fe2)||_0x2a5fe2);return _0x2a5fe2;},_0x3aac02=(_0x50f4d4,_0x5699ba)=>(_0xf74920,_0x37f350)=>_0x5699ba(_0xf74920,_0x37f350,_0x50f4d4);const _0x47e8b1=0x12c,_0x104ff9=0x64,_0x598ce9=()=>{let _0x7a01cb=[],_0x19f71f=!0x1;return _0x6e32ff=>{_0x7a01cb['push'](_0x6e32ff),_0x19f71f||(_0x19f71f=!0x0,setTimeout(()=>{const _0x5af3dc=_0x44a6;_0x7a01cb[_0x5af3dc(0x2fc)](_0x2f0625=>_0x2f0625()),_0x7a01cb=[],_0x19f71f=!0x1;}));};};let _0xe6db79=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x31d7b5,_0x951a8,_0x29f28f,_0x508471,_0x1b3d22,_0x24ec51,_0x59f8ac,_0x3719bb){const _0x262a21=_0x912252;super(),_0x52c450(this,'_online',!0x1),_0x52c450(this,'_init',!0x1),_0x52c450(this,'_cursorInfo$',new _0x946ff9['BehaviorSubject'](new Map())),_0x52c450(this,'cursorInfo$',this['_cursorInfo$'][_0x262a21(0x3ac)]()),_0x52c450(this,_0x262a21(0x37d),new _0x946ff9[(_0x262a21(0x239))]([])),_0x52c450(this,'roomMembers$',this['_roomMembers$'][_0x262a21(0x252)](_0x946ff9['debounceTime'](_0x47e8b1))),_0x52c450(this,_0x262a21(0x447),_0x468931[_0x262a21(0x343)]((_0x163b0c,_0x3ecb61)=>{const _0x36406f=_0x262a21,_0x542886={'eventID':_0x1042b5[_0x36406f(0x202)][_0x36406f(0x23d)],'data':{'unitID':this[_0x36406f(0x2ac)],'memberID':this[_0x36406f(0x472)][_0x36406f(0x322)](),'selection':_0x3d45f6['serializeRangeWithSheet'](_0x163b0c,_0x3ecb61[_0x36406f(0x464)])}};this[_0x36406f(0x472)]['send'](_0x542886,this[_0x36406f(0x2ac)]);},_0x104ff9)),(this['unitID']=_0x31d7b5,this[_0x262a21(0x472)]=_0x951a8,this[_0x262a21(0x457)]=_0x29f28f,this[_0x262a21(0x292)]=_0x508471,this[_0x262a21(0x330)]=_0x1b3d22,this[_0x262a21(0x31b)]=_0x24ec51,this['_commandService']=_0x59f8ac,this[_0x262a21(0x2d3)]=_0x3719bb);}get[_0x912252(0x3f0)](){const _0x2064e5=_0x912252;return this[_0x2064e5(0x211)]['getValue']();}get[_0x912252(0x3c1)](){const _0x2e072d=_0x912252;return this['_roomMembers$'][_0x2e072d(0x31a)]();}['dispose'](){const _0x58803b=_0x912252;super[_0x58803b(0x3ae)](),this['_cursorInfo$'][_0x58803b(0x44f)](new Map()),this['_cursorInfo$'][_0x58803b(0x336)](),this[_0x58803b(0x37d)][_0x58803b(0x44f)]([]),this[_0x58803b(0x37d)][_0x58803b(0x336)]();}[_0x912252(0x2e9)](){const _0x374728=_0x912252;this[_0x374728(0x48e)]||(this[_0x374728(0x48e)]=!0x0,this[_0x374728(0x472)][_0x374728(0x463)][_0x374728(0x252)](_0x946ff9[_0x374728(0x3a7)](this[_0x374728(0x41b)]))['subscribe'](_0x28e210=>{const _0x176d95=_0x374728;_0x28e210===_0x57d487[_0x176d95(0x3e1)][_0x176d95(0x276)]?this['_toggleOnline']():this[_0x176d95(0x302)]();}),this[_0x374728(0x472)][_0x374728(0x44c)][_0x374728(0x252)](_0x946ff9[_0x374728(0x3a7)](this['dispose$']))[_0x374728(0x38c)](_0x1bbab2=>{const _0x172420=_0x374728,_0x1293d6=_0x1bbab2[_0x172420(0x48a)];_0x1293d6===_0x1042b5[_0x172420(0x202)][_0x172420(0x23d)]&&this[_0x172420(0x443)](_0x1bbab2),_0x1293d6===_0x1042b5[_0x172420(0x202)][_0x172420(0x261)]&&this[_0x172420(0x399)](_0x1bbab2);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x374728(0x391)]['onCommandExecuted'](_0x58b9ae=>{const _0x37553d=_0x374728;if(this[_0x37553d(0x30f)]&&_0x58b9ae['id']===_0x35f756[_0x37553d(0x32b)]['id']&&_0x58b9ae[_0x37553d(0x43d)][_0x37553d(0x25e)]===this[_0x37553d(0x2ac)]){const _0x437998=_0x58b9ae[_0x37553d(0x43d)];this[_0x37553d(0x447)](_0x437998['subUnitId'],_0x437998[_0x37553d(0x250)][0x0]);}})));}[_0x912252(0x443)](_0x1eefb5){const _0x535432=_0x912252;var _0x3e08bf,_0x159f22;const {memberID:_0xccb2b8,selection:_0x38f9ca}=_0x1eefb5['data'],{sheetName:_0x2efcc6,range:_0x27b868}=_0x3d45f6[_0x535432(0x2f0)](_0x38f9ca),_0x5a466d={'name':(_0x159f22=(_0x3e08bf=this[_0x535432(0x330)]['getMember'](this[_0x535432(0x2ac)],_0xccb2b8))==null?void 0x0:_0x3e08bf[_0x535432(0x3b9)])!=null?_0x159f22:_0x535432(0x34e),'range':this['_getMergeRange'](_0x2efcc6,_0x27b868),'sheetID':_0x2efcc6,'color':this['_colorAssignService'][_0x535432(0x430)](_0xccb2b8),'selection':_0x38f9ca},_0xf94cab=this['cursorInfo'];_0xf94cab[_0x535432(0x382)](_0xccb2b8,_0x5a466d),this[_0x535432(0x211)][_0x535432(0x44f)](_0xf94cab);}['_onCursorDelete'](_0x5bf146){const _0x351004=_0x912252,{memberID:_0x36827a}=_0x5bf146[_0x351004(0x293)],_0x37c02f=this['cursorInfo'];_0x37c02f[_0x351004(0x1f9)](_0x36827a),this[_0x351004(0x211)]['next'](_0x37c02f);}[_0x912252(0x40c)](_0x1af691,_0x1696a0){const _0x3a3fde=_0x912252;var _0x1f0d6d,_0x2b006b;const _0x1da9b6=(_0x2b006b=(_0x1f0d6d=this['_univerInstanceService'][_0x3a3fde(0x326)](this['unitID']))==null?void 0x0:_0x1f0d6d['getSheetBySheetId'](_0x1af691))==null?void 0x0:_0x2b006b[_0x3a3fde(0x408)]();return(_0x1da9b6==null?void 0x0:_0x1da9b6[_0x3a3fde(0x29e)](_0x3b7ee8=>_0x468931[_0x3a3fde(0x301)][_0x3a3fde(0x2da)](_0x3b7ee8,_0x1696a0)))||_0x1696a0;}[_0x912252(0x38f)](){const _0x675b78=_0x912252,_0x16777d=new _0x468931[(_0x675b78(0x350))](),_0x24cc64=_0x598ce9(),_0x4e3690=()=>{const _0x16e006=_0x675b78;_0x16777d['dispose']();const _0x1dce77=(_0x1d3c56,_0x1482a8,_0x5e56a8,_0x4a6633)=>{const _0x14de29=_0x44a6;let _0x4d8353=[];switch(_0x1d3c56['id']){case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x22b)]:{_0x4d8353=_0x35f756[_0x14de29(0x21b)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x207)]:{_0x4d8353=_0x35f756[_0x14de29(0x2b1)](_0x1d3c56,_0x4a6633);break;}case _0x35f756['EffectRefRangId'][_0x14de29(0x37a)]:{_0x4d8353=_0x35f756[_0x14de29(0x254)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x258)]:{_0x4d8353=_0x35f756[_0x14de29(0x2f8)](_0x1d3c56,_0x4a6633);break;}case _0x35f756['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x4d8353=_0x35f756[_0x14de29(0x327)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x27b)]:{_0x4d8353=_0x35f756[_0x14de29(0x3ea)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x425)]:{_0x4d8353=_0x35f756[_0x14de29(0x2df)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x283)]:{_0x4d8353=_0x35f756[_0x14de29(0x296)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x441)]:{_0x4d8353=_0x35f756[_0x14de29(0x424)](_0x1d3c56,_0x4a6633);break;}}const _0x238def=_0x35f756[_0x14de29(0x3cd)](_0x4d8353,_0x4a6633),_0x2e9ee1=this[_0x14de29(0x3f0)][_0x14de29(0x2ae)](_0x1482a8);if(_0x2e9ee1&&_0x238def){const _0x276c9f={..._0x2e9ee1,'range':_0x238def};this['cursorInfo']['set'](_0x1482a8,_0x276c9f),_0x24cc64(()=>{const _0x1a4985=_0x14de29,_0x4ffbac=this[_0x1a4985(0x2d3)]['registerRefRange'](_0x238def,_0x486209=>(_0x4ffbac['dispose'](),_0x1dce77(_0x486209,_0x1482a8,_0x5e56a8,_0x238def)));_0x16777d[_0x1a4985(0x3d4)](_0x4ffbac);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x16e006(0x2fc)]((_0x5f4c84,_0x3d0654)=>{const _0x34eef8=_0x16e006,{range:_0x12ee15,sheetID:_0x742ffb}=_0x5f4c84,_0x5b91d7=this[_0x34eef8(0x2d3)][_0x34eef8(0x1fe)](_0x12ee15,_0xc229e2=>(_0x5b91d7[_0x34eef8(0x3ae)](),_0x1dce77(_0xc229e2,_0x3d0654,_0x742ffb,_0x12ee15)));_0x16777d[_0x34eef8(0x3d4)](_0x5b91d7);});};this[_0x675b78(0x3d8)](_0x468931[_0x675b78(0x42d)](this['_cursorInfo$'][_0x675b78(0x38c)](()=>{_0x4e3690();})));}[_0x912252(0x23f)](){const _0x4399c4=_0x912252;var _0x4ec783,_0x535e28;if(this['_online']=!0x0,((_0x4ec783=this['_univerInstanceService'][_0x4399c4(0x29c)]())==null?void 0x0:_0x4ec783['getUnitId']())!==this[_0x4399c4(0x2ac)])return;const _0x3bf46b=(_0x535e28=this[_0x4399c4(0x457)][_0x4399c4(0x2ae)](_0x35f756[_0x4399c4(0x3c8)])[_0x4399c4(0x452)]())==null?void 0x0:_0x535e28[0x0],_0x4343a1=this['_univerInstanceService']['getCurrentUnitForType'](_0x468931[_0x4399c4(0x329)]['UNIVER_SHEET'])[_0x4399c4(0x23c)]();_0x3bf46b&&_0x4343a1&&this[_0x4399c4(0x447)](_0x4343a1['getSheetId'](),_0x3bf46b);}['_toggleOffline'](){this['_online']=!0x1;}};_0xe6db79=_0x1cacd5([_0x3aac02(0x2,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x3aac02(0x3,_0x468931[_0x912252(0x37e)](_0xb034cf)),_0x3aac02(0x4,_0x468931['Inject'](_0x57d487[_0x912252(0x393)])),_0x3aac02(0x5,_0x468931[_0x912252(0x47c)]),_0x3aac02(0x6,_0x468931[_0x912252(0x3fa)]),_0x3aac02(0x7,_0x468931[_0x912252(0x37e)](_0x35f756[_0x912252(0x3c2)]))],_0xe6db79);var _0x5a0afe=Object['getOwnPropertyDescriptor'],_0x5f142d=(_0x153bd6,_0x51ea02,_0x479645,_0x365051)=>{const _0xd6cace=_0x912252;for(var _0x2eff32=_0x365051>0x1?void 0x0:_0x365051?_0x5a0afe(_0x51ea02,_0x479645):_0x51ea02,_0x385938=_0x153bd6[_0xd6cace(0x414)]-0x1,_0x35aff3;_0x385938>=0x0;_0x385938--)(_0x35aff3=_0x153bd6[_0x385938])&&(_0x2eff32=_0x35aff3(_0x2eff32)||_0x2eff32);return _0x2eff32;},_0xc9e39e=(_0x1863e5,_0x3b41eb)=>(_0x48ead2,_0x1196dd)=>_0x3b41eb(_0x48ead2,_0x1196dd,_0x1863e5);let _0x59a198=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x3791a3,_0x310907,_0x57629e){const _0x5d40a8=_0x912252;super(),_0x52c450(this,_0x5d40a8(0x200),new Map()),_0x52c450(this,_0x5d40a8(0x338),new _0x946ff9['Subject']()),(this[_0x5d40a8(0x31b)]=_0x3791a3,this['_injector']=_0x310907,this[_0x5d40a8(0x355)]=_0x57629e,this[_0x5d40a8(0x48e)]());}[_0x912252(0x3ae)](){const _0x2b3238=_0x912252;super['dispose'](),this[_0x2b3238(0x338)][_0x2b3238(0x336)](),this[_0x2b3238(0x200)][_0x2b3238(0x2fc)](_0x317d71=>_0x317d71[_0x2b3238(0x3ae)]());}[_0x912252(0x3a6)](_0x5bdcaa){const _0x2e0907=_0x912252;return this[_0x2e0907(0x200)]['has'](_0x5bdcaa)?this[_0x2e0907(0x200)][_0x2e0907(0x2ae)](_0x5bdcaa)[_0x2e0907(0x397)]:this['_entityInit$']['pipe'](_0x946ff9[_0x2e0907(0x28a)](_0x288852=>_0x288852[_0x2e0907(0x2ac)]===_0x5bdcaa),_0x946ff9[_0x2e0907(0x461)](_0x5a50a1=>_0x5a50a1['cursorInfo$']));}[_0x912252(0x48e)](){const _0x367f37=_0x912252;this['_univerInstanceService'][_0x367f37(0x2e5)](_0x468931[_0x367f37(0x329)]['UNIVER_SHEET'])[_0x367f37(0x252)](_0x946ff9['takeUntil'](this[_0x367f37(0x41b)]))['subscribe'](async _0x4ada1f=>{const _0x5b5aa1=_0x367f37,_0x5c89ac=_0x4ada1f['getUnitId'](),_0x2cc1a1=await this[_0x5b5aa1(0x351)](_0x5c89ac);this['_entityInit$'][_0x5b5aa1(0x44f)](_0x2cc1a1),this[_0x5b5aa1(0x200)][_0x5b5aa1(0x382)](_0x5c89ac,_0x2cc1a1);}),this[_0x367f37(0x31b)]['getTypeOfUnitAdded$'](_0x468931['UniverInstanceType'][_0x367f37(0x475)])[_0x367f37(0x252)](_0x946ff9[_0x367f37(0x3a7)](this[_0x367f37(0x41b)]))['pipe'](_0x946ff9[_0x367f37(0x28a)](_0x389f79=>!_0x389f79['getUnitId']()['startsWith']('__')))[_0x367f37(0x38c)](async _0x5e2d6c=>{const _0x153881=_0x367f37,_0x496717=_0x5e2d6c[_0x153881(0x2e8)](),_0x5bb0d6=await this[_0x153881(0x272)](_0x496717);this[_0x153881(0x338)][_0x153881(0x44f)](_0x5bb0d6),this[_0x153881(0x200)][_0x153881(0x382)](_0x496717,_0x5bb0d6);}),_0x946ff9[_0x367f37(0x24a)](this[_0x367f37(0x31b)]['getTypeOfUnitDisposed$'](_0x468931['UniverInstanceType'][_0x367f37(0x475)]),this[_0x367f37(0x31b)]['getTypeOfUnitDisposed$'](_0x468931[_0x367f37(0x329)][_0x367f37(0x1ff)]))[_0x367f37(0x252)](_0x946ff9['takeUntil'](this['dispose$']))[_0x367f37(0x38c)](_0x227e30=>{const _0x82f8a4=_0x367f37,_0x2d0d62=_0x227e30['getUnitId'](),_0x2de947=this['_entities'][_0x82f8a4(0x2ae)](_0x2d0d62);_0x2de947&&(_0x2de947['dispose'](),this['_entities'][_0x82f8a4(0x1f9)](_0x2d0d62));});}async[_0x912252(0x351)](_0x240504){const _0x4544b1=_0x912252,_0x440bb5=await this['_collabSessionService'][_0x4544b1(0x251)](_0x240504),_0x364c33=this['_injector']['createInstance'](_0xe6db79,_0x240504,_0x440bb5);return _0x364c33[_0x4544b1(0x2e9)](),_0x364c33;}async[_0x912252(0x272)](_0x4649a3){const _0x3cb95f=_0x912252,_0xa9c58=await this[_0x3cb95f(0x355)][_0x3cb95f(0x251)](_0x4649a3),_0x218a43=this['_injector'][_0x3cb95f(0x233)](_0x55254e,_0x4649a3,_0xa9c58);return _0x218a43[_0x3cb95f(0x2e9)](),_0x218a43;}};_0x59a198=_0x5f142d([_0xc9e39e(0x0,_0x468931['IUniverInstanceService']),_0xc9e39e(0x1,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0xc9e39e(0x2,_0x468931['Inject'](_0x57d487[_0x912252(0x476)]))],_0x59a198);const _0x244c9d=0x14,_0x2286a2=0xc8,_0x1bed4f=0x4,_0x50e1fb=0x5;function _0x3ddb88(_0xf84ce9,_0x4e8e6e){const _0x473b32=_0x912252;let {radius:_0x27d86c,width:_0x22d128,height:_0x1b2a10}=_0x4e8e6e;_0x27d86c=_0x27d86c!=null?_0x27d86c:0x0,_0x22d128=_0x22d128!=null?_0x22d128:0x1e,_0x1b2a10=_0x1b2a10!=null?_0x1b2a10:0x1e;let _0x4cc060=0x0,_0x29449b=0x0,_0x58ce97=0x0;_0x4cc060=_0x29449b=_0x58ce97=Math['min'](_0x27d86c,_0x22d128/0x2,_0x1b2a10/0x2),_0xf84ce9['beginPath'](),_0xf84ce9[_0x473b32(0x411)](_0x4cc060,0x0),_0xf84ce9[_0x473b32(0x3be)](_0x22d128-_0x29449b,0x0),_0xf84ce9[_0x473b32(0x23e)](_0x22d128-_0x29449b,_0x29449b,_0x29449b,Math['PI']*0x3/0x2,0x0,!0x1),_0xf84ce9[_0x473b32(0x3be)](_0x22d128,_0x1b2a10-_0x58ce97),_0xf84ce9[_0x473b32(0x23e)](_0x22d128-_0x58ce97,_0x1b2a10-_0x58ce97,_0x58ce97,0x0,Math['PI']/0x2,!0x1),_0xf84ce9[_0x473b32(0x3be)](0x0,_0x1b2a10),_0xf84ce9[_0x473b32(0x3be)](0x0,_0x4cc060),_0xf84ce9[_0x473b32(0x23e)](_0x4cc060,_0x4cc060,_0x4cc060,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf84ce9[_0x473b32(0x3a9)](),_0x4e8e6e[_0x473b32(0x3f2)]&&(_0xf84ce9[_0x473b32(0x262)](),_0xf84ce9[_0x473b32(0x3a8)]=_0x4e8e6e[_0x473b32(0x3f2)],_0x4e8e6e[_0x473b32(0x450)]===_0x473b32(0x41a)?_0xf84ce9['fill'](_0x473b32(0x41a)):_0xf84ce9[_0x473b32(0x3f2)](),_0xf84ce9['restore']());}class _0x39d77d extends _0x5d71b0['Shape']{constructor(_0xab7d25,_0x1503ae){const _0x421a84=_0x912252;super(_0xab7d25,_0x1503ae),_0x52c450(this,_0x421a84(0x2f1)),_0x52c450(this,_0x421a84(0x35f)),(this[_0x421a84(0x2f1)]=_0x1503ae==null?void 0x0:_0x1503ae[_0x421a84(0x2f1)],this[_0x421a84(0x35f)]=_0x1503ae==null?void 0x0:_0x1503ae[_0x421a84(0x35f)]);}static['drawWith'](_0x5282e2,_0x171149){const _0x537368=_0x912252,{text:_0x9dc943,color:_0x177756}=_0x171149;_0x5282e2[_0x537368(0x262)](),_0x5282e2[_0x537368(0x365)]=_0x537368(0x46c);const _0x3e2dfc=_0x5282e2[_0x537368(0x3fc)](_0x9dc943)[_0x537368(0x3fd)],_0x385da7=Math[_0x537368(0x334)](_0x3e2dfc+0x2*_0x1bed4f,_0x2286a2);_0x3ddb88(_0x5282e2,{'height':_0x244c9d,'radius':0x4,'width':_0x385da7,'fill':_0x177756}),_0x5282e2['fillStyle']=_0x537368(0x41e);const _0xbc5fc3=_0x1bed4f,_0xd8ed68=_0x244c9d-_0x50e1fb,_0xf4dbcc=_0x2286a2-0x2*_0x1bed4f;if(_0x3e2dfc>_0xf4dbcc){let _0x3cbe2d='',_0x5c39a3=0x0;for(const _0x4488e9 of _0x9dc943){const _0x2229a1=_0x5282e2[_0x537368(0x3fc)](_0x4488e9)['width'];if(_0x5c39a3+_0x2229a1<=_0xf4dbcc-_0x5282e2[_0x537368(0x3fc)](_0x537368(0x487))[_0x537368(0x3fd)])_0x3cbe2d+=_0x4488e9,_0x5c39a3+=_0x2229a1;else{_0x3cbe2d+=_0x537368(0x487);break;}}_0x5282e2[_0x537368(0x2ed)](_0x3cbe2d,_0xbc5fc3,_0xd8ed68);}else _0x5282e2['fillText'](_0x9dc943,_0xbc5fc3,_0xd8ed68);_0x5282e2[_0x537368(0x20f)]();}[_0x912252(0x312)](_0x267a4f){const _0x5b58ce=_0x912252;_0x39d77d[_0x5b58ce(0x33f)](_0x267a4f,this);}}const _0x14c62e=_0x912252(0x2e3),_0x51f42f=_0x912252(0x29b),_0x2bf035=_0x912252(0x41c),_0x160e53=0x6,_0x5d769b=1.5,_0x18c05a=0x4,_0x278160=1.5,_0x4741bf=_0x912252(0x3ed);class _0x344ce8{constructor(_0x180bd0,_0x3262ee,_0x35e211,_0x595712){const _0x23bb66=_0x912252;_0x52c450(this,_0x23bb66(0x325),[]),_0x52c450(this,_0x23bb66(0x2e0),null),_0x52c450(this,'_textBubble',null),_0x52c450(this,_0x23bb66(0x275),null),_0x52c450(this,_0x23bb66(0x372),null),_0x52c450(this,_0x23bb66(0x346),null),(this[_0x23bb66(0x2b8)]=_0x180bd0,this['_scene']=_0x3262ee,this[_0x23bb66(0x227)]=_0x35e211,this[_0x23bb66(0x240)]=_0x595712,this[_0x23bb66(0x26e)]());}set[_0x912252(0x360)](_0x2c0699){const _0x676fdc=_0x912252;_0x2c0699?(this[_0x676fdc(0x275)]&&this[_0x676fdc(0x275)][_0x676fdc(0x235)](),this['_textBubble']&&this[_0x676fdc(0x30a)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x676fdc(0x32d)](),this['_textBubble']&&this[_0x676fdc(0x30a)][_0x676fdc(0x235)]());}[_0x912252(0x3ae)](){const _0x5926b9=_0x912252;for(const _0x3dc489 of this[_0x5926b9(0x325)])_0x3dc489[_0x5926b9(0x3ae)]();this[_0x5926b9(0x30a)]&&this[_0x5926b9(0x30a)][_0x5926b9(0x3ae)](),this[_0x5926b9(0x275)]&&this[_0x5926b9(0x275)]['dispose'](),this[_0x5926b9(0x2e0)]&&this[_0x5926b9(0x2e0)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x912252(0x26e)](){const _0x107eb7=_0x912252;var _0x534816;const {_docSkeleton:_0x48bb71,_document:_0x382e00}=this,{color:_0x5126ce,name:_0x35f8f5,ranges:_0x119383}=this[_0x107eb7(0x2b8)],_0x3f3a04=_0x382e00['getOffsetConfig'](),{docsLeft:_0x428b06,docsTop:_0x5137d9}=_0x3f3a04,_0x4a5bc9=new _0x13c110['NodePositionConvertToCursor'](_0x3f3a04,_0x48bb71);for(const {startOffset:_0x236e8c,endOffset:_0x87a3c7,rangeType:_0x4296ca,segmentId:_0xeeb505,segmentPage:_0x402466,collapsed:_0x45c053,isActive:_0xa6dd33}of _0x119383){const _0x371051=_0x48bb71[_0x107eb7(0x333)](_0x236e8c,!0x0,_0xeeb505,_0x402466);let _0x48fae9=_0x48bb71['findNodePositionByCharIndex'](_0x87a3c7,!0x0,_0xeeb505,_0x402466);if(_0x48fae9==null&&(_0x48fae9=_0x48bb71['findNodePositionByCharIndex'](_0x87a3c7-0x1,!0x1,_0xeeb505,_0x402466)),_0xa6dd33){const {contentBoxPointGroup:_0xac1b7c}=_0x4a5bc9[_0x107eb7(0x3d1)](_0x48fae9,_0x48fae9);if(_0xac1b7c[_0x107eb7(0x414)]===0x0)continue;this['_drawAnchor'](_0x5126ce,_0xac1b7c,_0x428b06,_0x5137d9,_0x35f8f5),this[_0x107eb7(0x346)]=this['_handleHover']();}if(_0x371051&&_0x48fae9){if(_0x4296ca===_0x468931['DOC_RANGE_TYPE'][_0x107eb7(0x42b)]){const _0x12e3fa=new _0x13c110[(_0x107eb7(0x28e))](_0x3f3a04,_0x48bb71),{pointGroup:_0x537cca}=(_0x534816=_0x12e3fa[_0x107eb7(0x3d1)](_0x371051,_0x48fae9))!=null?_0x534816:{};if(_0x537cca==null||_0x537cca[_0x107eb7(0x414)]===0x0)continue;this[_0x107eb7(0x48c)](_0x5126ce,_0x537cca,_0x428b06,_0x5137d9);}else{if(!_0x45c053){const {borderBoxPointGroup:_0x546964}=_0x4a5bc9[_0x107eb7(0x3d1)](_0x371051,_0x48fae9);if(_0x546964[_0x107eb7(0x414)]===0x0)continue;this[_0x107eb7(0x3a3)](_0x5126ce,_0x546964,_0x428b06,_0x5137d9);}}}}}['_drawAnchor'](_0x2bcd06,_0x27f046,_0x498cfb,_0x29eba6,_0x30faa6){const _0x4282e2=_0x912252,_0x5dbdda=this[_0x4282e2(0x26b)](_0x27f046),{left:_0x3b7e2c,top:_0x2ce4a5,height:_0x49619e}=_0x5dbdda,_0x467517=this['_getScale'](),_0x1c84cc=_0x278160/_0x467517,_0x372a76=new _0x5d71b0[(_0x4282e2(0x440))](_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6,'height':_0x49619e,'width':_0x5d769b,'fill':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931[_0x4282e2(0x2ce)][_0x4282e2(0x415)],0x0),'strokeWidth':_0x1c84cc,'stroke':_0x4741bf,'evented':!0x0});this[_0x4282e2(0x2e0)]=_0x372a76,this['_scene'][_0x4282e2(0x31e)](_0x372a76,_0x13c110[_0x4282e2(0x460)]);const _0x40bfb8=new _0x5d71b0[(_0x4282e2(0x440))](_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6-_0x18c05a/0x2,'height':_0x18c05a,'width':_0x18c05a,'fill':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931['COLORS'][_0x4282e2(0x415)],0x0),'strokeWidth':0x0,'stroke':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931['COLORS']['black'],0x0),'evented':!0x1});this[_0x4282e2(0x275)]=_0x40bfb8,this[_0x4282e2(0x3bb)]['addObject'](_0x40bfb8,_0x13c110[_0x4282e2(0x460)]);const _0x3a1380=new _0x39d77d(_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6-_0x244c9d,'text':_0x30faa6,'color':_0x2bcd06});this[_0x4282e2(0x30a)]=_0x3a1380,this['_scene'][_0x4282e2(0x31e)](_0x3a1380,_0x13c110[_0x4282e2(0x460)]),this['_hover']=!0x1;}[_0x912252(0x455)](){const _0x4ee5d0=_0x912252,_0x32678f=this[_0x4ee5d0(0x2e0)][_0x4ee5d0(0x359)][_0x4ee5d0(0x41d)](()=>{const _0x1e59c0=_0x4ee5d0;this[_0x1e59c0(0x360)]=!0x0;}),_0x3fc8ae=this['_anchor']['onPointerLeave$'][_0x4ee5d0(0x41d)](()=>{const _0x16abf3=_0x4ee5d0;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x16abf3(0x372)]=setTimeout(()=>{const _0x5949c5=_0x16abf3;this[_0x5949c5(0x360)]=!0x1;},0x7d0);});return()=>{const _0x53f202=_0x4ee5d0;_0x32678f[_0x53f202(0x3a0)](),_0x3fc8ae[_0x53f202(0x3a0)]();};}[_0x912252(0x3a3)](_0x5347be,_0x5d29d9,_0x580489,_0x42235e){const _0x63ef3f=_0x912252,_0x1a9b37=new _0x468931[(_0x63ef3f(0x45d))](_0x5347be)[_0x63ef3f(0x3f5)](0.2)['toRgbString'](),_0x3ee7ce=new _0x5d71b0[(_0x63ef3f(0x216))](_0x51f42f+_0x468931[_0x63ef3f(0x24d)][_0x63ef3f(0x2b7)](_0x160e53),{'pointsGroup':_0x5d29d9,'fill':_0x1a9b37||_0x5d71b0['getColor'](_0x468931[_0x63ef3f(0x2ce)][_0x63ef3f(0x415)],0.2),'left':_0x580489,'top':_0x42235e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x63ef3f(0x381)](_0x3ee7ce),this[_0x63ef3f(0x3bb)][_0x63ef3f(0x31e)](_0x3ee7ce,_0x13c110[_0x63ef3f(0x460)]);}['_drawRectRange'](_0x1eb97f,_0x242b1e,_0x7a5999,_0xd3456e){const _0x2ddb07=_0x912252,_0x313449=new _0x468931[(_0x2ddb07(0x45d))](_0x1eb97f)[_0x2ddb07(0x3f5)](0.2)['toRgbString'](),_0x34bbc1=new _0x5d71b0[(_0x2ddb07(0x216))](_0x2bf035+_0x468931[_0x2ddb07(0x24d)]['generateRandomId'](_0x160e53),{'pointsGroup':_0x242b1e,'fill':_0x313449||_0x5d71b0[_0x2ddb07(0x2e7)](_0x468931['COLORS']['black'],0.2),'left':_0x7a5999,'top':_0xd3456e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2ddb07(0x325)][_0x2ddb07(0x381)](_0x34bbc1),this[_0x2ddb07(0x3bb)]['addObject'](_0x34bbc1,_0x13c110[_0x2ddb07(0x460)]);}['_getAnchorBounding'](_0x37a342){const _0x3510ce=_0x37a342[0x0],_0x51c42b=_0x3510ce[0x0],_0x513efc=_0x3510ce[0x2],{x:_0x2144c6,y:_0x3f296d}=_0x51c42b,{x:_0x13d82f,y:_0x31de09}=_0x513efc;return{'left':_0x2144c6,'top':_0x3f296d,'width':_0x13d82f-_0x2144c6,'height':_0x31de09-_0x3f296d};}[_0x912252(0x3ee)](){const _0xdec9d2=_0x912252,{scaleX:_0x58a783,scaleY:_0x47ba5b}=this[_0xdec9d2(0x3bb)][_0xdec9d2(0x3c9)]();return Math[_0xdec9d2(0x270)](_0x58a783,_0x47ba5b);}}var _0x332780=Object['getOwnPropertyDescriptor'],_0x4a6376=(_0x4a1fd3,_0x1815da,_0x2ceea3,_0x19cacf)=>{for(var _0x2f8193=_0x19cacf>0x1?void 0x0:_0x19cacf?_0x332780(_0x1815da,_0x2ceea3):_0x1815da,_0x72242d=_0x4a1fd3['length']-0x1,_0x2d6549;_0x72242d>=0x0;_0x72242d--)(_0x2d6549=_0x4a1fd3[_0x72242d])&&(_0x2f8193=_0x2d6549(_0x2f8193)||_0x2f8193);return _0x2f8193;},_0x1189dd=(_0x42d191,_0x150a06)=>(_0x1f44af,_0x1ce755)=>_0x150a06(_0x1f44af,_0x1ce755,_0x42d191);let _0x2735fe=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xb13c36,_0x445ec4,_0x167915,_0x2f5dde,_0x4970d7){const _0x421037=_0x912252;super(),_0x52c450(this,_0x421037(0x27c),[]),_0x52c450(this,_0x421037(0x2a9),[]),(this[_0x421037(0x3e2)]=_0xb13c36,this[_0x421037(0x37c)]=_0x445ec4,this[_0x421037(0x24b)]=_0x167915,this['_commandService']=_0x2f5dde,this[_0x421037(0x28b)]=_0x4970d7,this[_0x421037(0x48e)]());}[_0x912252(0x48e)](){const _0x3203a=_0x912252,_0x2008ba=this[_0x3203a(0x3e2)][_0x3203a(0x25e)],_0x1c7708=this[_0x3203a(0x37c)];this['disposeWithMe'](_0x946ff9['combineLatest']([this[_0x3203a(0x24b)][_0x3203a(0x3a6)](_0x2008ba),this[_0x3203a(0x28b)]['currentTheme$']])[_0x3203a(0x252)](_0x2e4f52[_0x3203a(0x284)](([_0xc4d013,_0x40b54c])=>({'skeleton':_0x1c7708[_0x3203a(0x377)](),'cursors':[..._0xc4d013[_0x3203a(0x40d)]()][_0x3203a(0x34c)](_0x427eec=>({..._0x427eec,'color':this[_0x3203a(0x28b)][_0x3203a(0x3b6)](_0x427eec[_0x3203a(0x2f1)])}))})))[_0x3203a(0x38c)](_0x4e247e=>{const _0x1ea2d6=_0x3203a;if(this[_0x1ea2d6(0x474)](),_0x4e247e){const {skeleton:_0x4d3f64,cursors:_0x259fba}=_0x4e247e;this[_0x1ea2d6(0x32c)](_0x4d3f64,_0x259fba);}})),this[_0x3203a(0x33a)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x168788,_0x2188f0){const _0x28d437=_0x912252,{scene:_0x9621df,mainComponent:_0x439984}=this[_0x28d437(0x3e2)],_0x112c7b=_0x2188f0[_0x28d437(0x284)](_0x5568ed=>new _0x344ce8(_0x5568ed,_0x9621df,_0x168788,_0x439984));this[_0x28d437(0x27c)]=_0x112c7b,this[_0x28d437(0x2a9)]=_0x2188f0;}[_0x912252(0x43b)](){const _0x5828f9=_0x912252;this[_0x5828f9(0x474)]();const {scene:_0x4deca9,mainComponent:_0xea021a}=this['_context'],_0x4e0dd5=this[_0x5828f9(0x37c)][_0x5828f9(0x377)](),_0x35a3e8=this[_0x5828f9(0x2a9)][_0x5828f9(0x284)](_0x40cca6=>new _0x344ce8(_0x40cca6,_0x4deca9,_0x4e0dd5,_0xea021a));this[_0x5828f9(0x27c)]=_0x35a3e8;}[_0x912252(0x474)](){const _0x5ebbb8=_0x912252;this[_0x5ebbb8(0x27c)][_0x5ebbb8(0x2fc)](_0x5e6fd0=>_0x5e6fd0[_0x5ebbb8(0x3ae)]()),this[_0x5ebbb8(0x27c)]=[];}['_initCommandExecutedListener'](){const _0x89be6b=_0x912252,_0x4c687c=[_0x13c110[_0x89be6b(0x2aa)]['id']];this[_0x89be6b(0x3d8)](this['_commandService']['onCommandExecuted'](_0x37de19=>{const _0x2d3a63=_0x89be6b;_0x4c687c[_0x2d3a63(0x3ad)](_0x37de19['id'])&&_0x37de19[_0x2d3a63(0x43d)][_0x2d3a63(0x25e)]===this[_0x2d3a63(0x3e2)]['unitId']&&this[_0x2d3a63(0x43b)]();}));}[_0x912252(0x33a)](){const _0x3b207f=_0x912252;this[_0x3b207f(0x3d8)](_0x468931[_0x3b207f(0x42f)](this[_0x3b207f(0x3e2)][_0x3b207f(0x3aa)][_0x3b207f(0x380)])[_0x3b207f(0x252)](_0x2e4f52[_0x3b207f(0x28a)](_0x1a701b=>_0x1a701b[_0x3b207f(0x468)]===_0x5d71b0[_0x3b207f(0x2cf)][_0x3b207f(0x2e2)]),_0x2e4f52['throttleTime'](0x10))[_0x3b207f(0x38c)](()=>{const _0x448ca3=_0x3b207f;this[_0x448ca3(0x43b)]();}));}};_0x2735fe=_0x4a6376([_0x1189dd(0x1,_0x468931[_0x912252(0x37e)](_0x3b619f['DocSkeletonManagerService'])),_0x1189dd(0x2,_0x468931[_0x912252(0x37e)](_0x59a198)),_0x1189dd(0x3,_0x468931[_0x912252(0x3fa)]),_0x1189dd(0x4,_0x468931['Inject'](_0x468931[_0x912252(0x3a4)]))],_0x2735fe);const _0x45d45c=0x1,_0x12200e=1.5;class _0x2b188b extends _0x5d71b0['Shape']{constructor(_0x440051,_0xd9dd0a){const _0x5ef279=_0x912252;super(_0x440051,_0xd9dd0a),_0x52c450(this,_0x5ef279(0x291)),_0x52c450(this,'_hovered',!0x1),_0x52c450(this,_0x5ef279(0x385)),_0x52c450(this,_0x5ef279(0x413),''),_0x52c450(this,_0x5ef279(0x458),_0x5ef279(0x219)),_0x52c450(this,_0x5ef279(0x2fa)),(_0xd9dd0a&&this[_0x5ef279(0x299)](_0xd9dd0a),this[_0x5ef279(0x359)][_0x5ef279(0x41d)](()=>this[_0x5ef279(0x299)]({'hovered':!0x0})),this[_0x5ef279(0x43e)][_0x5ef279(0x41d)](()=>this[_0x5ef279(0x299)]({'hovered':!0x1})));}[_0x912252(0x299)](_0xd1cc47){const _0x48ff4b=_0x912252;var _0x21de83,_0xecbad9,_0x1493db,_0x10f6a1,_0x516265,_0x595a57;this[_0x48ff4b(0x291)]=(_0x21de83=_0xd1cc47[_0x48ff4b(0x2f1)])!=null?_0x21de83:this[_0x48ff4b(0x291)],this['_hovered']=(_0xecbad9=_0xd1cc47[_0x48ff4b(0x3dd)])!=null?_0xecbad9:this[_0x48ff4b(0x1f4)],this[_0x48ff4b(0x385)]=(_0x1493db=_0xd1cc47[_0x48ff4b(0x464)])!=null?_0x1493db:this[_0x48ff4b(0x385)],this[_0x48ff4b(0x413)]=(_0x10f6a1=_0xd1cc47[_0x48ff4b(0x3b9)])!=null?_0x10f6a1:this[_0x48ff4b(0x413)],this[_0x48ff4b(0x458)]=(_0x516265=_0xd1cc47['labelPosition'])!=null?_0x516265:this[_0x48ff4b(0x458)],this['_backgroundColor']=(_0x595a57=_0xd1cc47[_0x48ff4b(0x213)])!=null?_0x595a57:this[_0x48ff4b(0x2fa)],this[_0x48ff4b(0x419)]({'width':_0xd1cc47['width'],'height':_0xd1cc47[_0x48ff4b(0x3de)]});}[_0x912252(0x433)](_0x475a2f){const _0x1d6464=_0x912252,{row:_0x4c5269,column:_0x38d0bc}=_0x475a2f;if(_0x4c5269>=this[_0x1d6464(0x385)][_0x1d6464(0x307)]&&_0x4c5269<=this['_range']['endRow']&&_0x38d0bc>=this[_0x1d6464(0x385)][_0x1d6464(0x38a)]&&_0x38d0bc<=this[_0x1d6464(0x385)]['endColumn']){this[_0x1d6464(0x299)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x912252(0x31f)](_0xb88fc3){return!0x1;}[_0x912252(0x312)](_0x5055aa){const _0x510c13=_0x912252;_0x5d71b0['Rect'][_0x510c13(0x33f)](_0x5055aa,{'width':this[_0x510c13(0x3fd)],'height':this[_0x510c13(0x3de)],'strokeWidth':_0x12200e,'stroke':this[_0x510c13(0x291)],'evented':!0x1,'fill':this[_0x510c13(0x2fa)]}),this['_hovered']&&(_0x5055aa['save'](),_0x5055aa[_0x510c13(0x423)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x510c13(0x228)?0x0:-0x14),_0x39d77d[_0x510c13(0x33f)](_0x5055aa,{'text':this['_name'],'color':this['_color']}),_0x5055aa['restore']());}}var _0xf2a4f2=Object[_0x912252(0x289)],_0x18e4b3=(_0x27053f,_0x53f993,_0x30bd81,_0x5c2bea)=>{const _0x4e9b9b=_0x912252;for(var _0x3025ff=_0x5c2bea>0x1?void 0x0:_0x5c2bea?_0xf2a4f2(_0x53f993,_0x30bd81):_0x53f993,_0x491652=_0x27053f[_0x4e9b9b(0x414)]-0x1,_0x54f01e;_0x491652>=0x0;_0x491652--)(_0x54f01e=_0x27053f[_0x491652])&&(_0x3025ff=_0x54f01e(_0x3025ff)||_0x3025ff);return _0x3025ff;},_0xbb08b1=(_0x38cd9e,_0x423135)=>(_0x174431,_0x28622a)=>_0x423135(_0x174431,_0x28622a,_0x38cd9e);const _0x347c13=0x1389;let _0x58f27b=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xe9820f,_0x3c2f3e,_0x50ced1,_0x1ac648){const _0x3a4089=_0x912252;super(),_0x52c450(this,_0x3a4089(0x2a9),new Set()),_0x52c450(this,_0x3a4089(0x347),null),(this[_0x3a4089(0x3e2)]=_0xe9820f,this[_0x3a4089(0x2e6)]=_0x3c2f3e,this[_0x3a4089(0x24b)]=_0x50ced1,this[_0x3a4089(0x28b)]=_0x1ac648,this['_init']());}['_init'](){const _0x3f6a77=_0x912252;this[_0x3f6a77(0x2e6)][_0x3f6a77(0x209)][_0x3f6a77(0x252)](_0x2e4f52[_0x3f6a77(0x3a7)](this['dispose$']),_0x2e4f52[_0x3f6a77(0x461)](_0x5240b8=>{const _0x49cbc3=_0x3f6a77;if(_0x5240b8){const _0x5d2a36=_0x5240b8['sheetId'];return _0x946ff9[_0x49cbc3(0x3fb)](this[_0x49cbc3(0x24b)][_0x49cbc3(0x3a6)](this[_0x49cbc3(0x3e2)][_0x49cbc3(0x25e)]),this[_0x49cbc3(0x28b)][_0x49cbc3(0x295)])[_0x49cbc3(0x252)](_0x2e4f52[_0x49cbc3(0x284)](([_0x1e2ae4,_0xbc899c])=>{const _0x3c9496=_0x49cbc3,_0x3b2644=new Map();return _0x1e2ae4[_0x3c9496(0x2fc)]((_0x349241,_0x39024d)=>{const _0x4535e2=_0x3c9496;if(_0x349241[_0x4535e2(0x481)]===_0x5d2a36){const _0x1a919b={..._0x349241};_0x1a919b[_0x4535e2(0x2f1)]=this[_0x4535e2(0x28b)]['getColorFromTheme'](_0x349241[_0x4535e2(0x2f1)]),_0x3b2644[_0x4535e2(0x382)](_0x39024d,_0x1a919b);}}),{'skeleton':_0x5240b8,'cursors':_0x3b2644};}));}return _0x946ff9['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x13e098,cursors:_0x301337})=>{const _0x2906f5=_0x3f6a77;this[_0x2906f5(0x474)](),_0x13e098&&this[_0x2906f5(0x32c)](_0x13e098,_0x301337);}),this[_0x3f6a77(0x2e6)][_0x3f6a77(0x209)][_0x3f6a77(0x38c)](_0x3f064d=>{const _0x1e63b4=_0x3f6a77;if(_0x3f064d==null)return;const {skeleton:_0x4a5181}=_0x3f064d,{scene:_0x344f3a}=this[_0x1e63b4(0x3e2)];_0x344f3a[_0x1e63b4(0x2ec)][_0x1e63b4(0x41d)](_0x468931[_0x1e63b4(0x343)](_0x45f062=>{const _0x2697e2=_0x1e63b4;var _0x3eb523,_0x2a0e27;const {offsetX:_0x24881b,offsetY:_0x216972}=_0x45f062,{x:_0x2ce504,y:_0x37fa92}=_0x344f3a[_0x2697e2(0x208)](_0x5d71b0[_0x2697e2(0x2db)]['FromArray']([_0x24881b,_0x216972])),{scaleX:_0x4165e2,scaleY:_0x12fed5}=_0x344f3a[_0x2697e2(0x3c9)](),_0x501bb8=_0x344f3a[_0x2697e2(0x2be)](_0x5d71b0[_0x2697e2(0x33b)][_0x2697e2(0x265)]),_0x391d90=_0x344f3a[_0x2697e2(0x260)](_0x5d71b0['Vector2'][_0x2697e2(0x320)]([_0x2ce504,_0x37fa92]),_0x501bb8),_0x7b478c=_0x4a5181[_0x2697e2(0x203)](_0x24881b,_0x216972,_0x4165e2,_0x12fed5,_0x391d90);((_0x3eb523=this['_lastPointer'])==null?void 0x0:_0x3eb523['column'])===_0x7b478c[_0x2697e2(0x323)]&&((_0x2a0e27=this[_0x2697e2(0x347)])==null?void 0x0:_0x2a0e27[_0x2697e2(0x3d3)])===_0x7b478c['row']||this['_cursors'][_0x2697e2(0x2fc)](_0x5e0b32=>{_0x5e0b32['onMouseMove'](_0x7b478c);});},0x64));});}['_updateCollabCursors'](_0x3a3514,_0x511b18){const _0x3008a0=_0x912252;var _0x73be36;const _0x1e43ac=(_0x73be36=this['_sheetSkeletonManagerService'][_0x3008a0(0x45c)]())==null?void 0x0:_0x73be36[_0x3008a0(0x2c4)];if(!_0x1e43ac)return;const _0x7c86f3=this[_0x3008a0(0x268)]();if(!_0x7c86f3)return;this[_0x3008a0(0x2a9)][_0x3008a0(0x2fc)](_0x52037d=>{const _0x539cb6=_0x3008a0;_0x52037d[_0x539cb6(0x2dc)]();});const {scene:_0x103bc7}=_0x7c86f3,_0x338971=_0x4461ad(Array[_0x3008a0(0x3f9)](_0x511b18['values']()))[_0x3008a0(0x284)](_0x40bf4d=>{const _0x3c888e=_0x3008a0,{color:_0x1f998b,range:_0x4b9bb5,name:_0x307bab,selection:_0x146f62,sheetID:_0x5d7ee5}=_0x40bf4d,{startColumn:_0x56aba0,startRow:_0x160db7,endColumn:_0x5db1a3,endRow:_0x14e287}=_0x4b9bb5,_0x3af442=_0x1c415a[_0x3c888e(0x41f)](_0x160db7,_0x56aba0,_0x103bc7,_0x1e43ac),_0x50d1fe=_0x1c415a[_0x3c888e(0x41f)](_0x14e287,_0x5db1a3,_0x103bc7,_0x1e43ac),{columnHeaderHeightAndMarginTop:_0x530e49}=_0x1e43ac,{startX:_0x31d33f,startY:_0x469417}=_0x3af442,{endX:_0x9ea201,endY:_0x1ff4d0}=_0x50d1fe,_0x39ee7a=_0x9ea201-_0x31d33f,_0x436f42=_0x1ff4d0-_0x469417,_0x2eb906={'labelPosition':_0x469417-_0x530e49>=_0x244c9d?_0x3c888e(0x219):'bottom','sheetID':_0x5d7ee5,'range':_0x4b9bb5,'color':_0x1f998b,'name':_0x307bab,'selection':_0x146f62,'left':_0x31d33f,'top':_0x469417,'width':_0x39ee7a,'height':_0x436f42,'evented':!0x1,'zIndex':_0x347c13};return new _0x2b188b(_0x307bab,_0x2eb906);});_0x103bc7[_0x3008a0(0x40a)](_0x338971,_0x45d45c),this['_cursors']=new Set(_0x338971);}['_removeCollabCursors'](){const _0x1c111c=_0x912252;var _0x5f5632;(_0x5f5632=this[_0x1c111c(0x2a9)])==null||_0x5f5632[_0x1c111c(0x2fc)](_0x4c3ef9=>_0x4c3ef9[_0x1c111c(0x3ae)]());}['_getSheetObject'](){const _0x399d29=_0x912252;return _0x1c415a[_0x399d29(0x31d)](this[_0x399d29(0x3e2)]['unit'],this[_0x399d29(0x3e2)]);}};_0x58f27b=_0x18e4b3([_0xbb08b1(0x1,_0x468931[_0x912252(0x37e)](_0x1c415a['SheetSkeletonManagerService'])),_0xbb08b1(0x2,_0x468931[_0x912252(0x37e)](_0x59a198)),_0xbb08b1(0x3,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x3a4)]))],_0x58f27b);function _0x4461ad(_0x116214){const _0x2258fa=_0x912252,_0x2db6e0=new Map();return _0x116214[_0x2258fa(0x2fc)](_0x3580c8=>{const _0x5675d7=_0x2258fa;if(_0x2db6e0[_0x5675d7(0x2a7)](_0x3580c8['selection'])){const _0x579b46=_0x2db6e0['get'](_0x3580c8[_0x5675d7(0x3ca)]);_0x579b46[_0x5675d7(0x3b9)]+=',\x20'+_0x3580c8[_0x5675d7(0x3b9)];}else _0x2db6e0['set'](_0x3580c8[_0x5675d7(0x3ca)],_0x3580c8);}),Array['from'](_0x2db6e0[_0x2258fa(0x40d)]());}var _0xfd89b7=function(){const _0x2ee51a=_0x912252;return _0xfd89b7=Object[_0x2ee51a(0x3cb)]||function(_0x3b50a5){const _0x46f4dc=_0x2ee51a;for(var _0x6d27a5,_0x1334a7=0x1,_0x2a8412=arguments[_0x46f4dc(0x414)];_0x1334a7<_0x2a8412;_0x1334a7++){_0x6d27a5=arguments[_0x1334a7];for(var _0x556f6a in _0x6d27a5)Object[_0x46f4dc(0x3eb)]['hasOwnProperty'][_0x46f4dc(0x390)](_0x6d27a5,_0x556f6a)&&(_0x3b50a5[_0x556f6a]=_0x6d27a5[_0x556f6a]);}return _0x3b50a5;},_0xfd89b7['apply'](this,arguments);},_0x4d8446=function(_0x1af742,_0x473706){const _0x290909=_0x912252;var _0x5db3fa={};for(var _0x5350cd in _0x1af742)Object[_0x290909(0x3eb)][_0x290909(0x309)][_0x290909(0x390)](_0x1af742,_0x5350cd)&&_0x473706[_0x290909(0x2d9)](_0x5350cd)<0x0&&(_0x5db3fa[_0x5350cd]=_0x1af742[_0x5350cd]);if(_0x1af742!=null&&typeof Object['getOwnPropertySymbols']==_0x290909(0x319)){for(var _0x57bb1e=0x0,_0x5350cd=Object[_0x290909(0x236)](_0x1af742);_0x57bb1e<_0x5350cd['length'];_0x57bb1e++)_0x473706['indexOf'](_0x5350cd[_0x57bb1e])<0x0&&Object[_0x290909(0x3eb)][_0x290909(0x37b)]['call'](_0x1af742,_0x5350cd[_0x57bb1e])&&(_0x5db3fa[_0x5350cd[_0x57bb1e]]=_0x1af742[_0x5350cd[_0x57bb1e]]);}return _0x5db3fa;},_0x58b9e5=_0x50701b[_0x912252(0x400)](function(_0x1cae35,_0x5d4376){const _0xa11d14=_0x912252;var _0x3f6c2a=_0x1cae35[_0xa11d14(0x2bd)],_0x476129=_0x1cae35['id'],_0x3d48b1=_0x1cae35[_0xa11d14(0x308)],_0x1916df=_0x1cae35['extend'],_0x4b96e0=_0x4d8446(_0x1cae35,[_0xa11d14(0x2bd),'id',_0xa11d14(0x308),'extend']),_0x36792f=_0xa11d14(0x467)['concat'](_0x476129,'\x20')['concat'](_0x3d48b1||'')[_0xa11d14(0x2e4)](),_0x325508=_0x50701b[_0xa11d14(0x28c)]('_'['concat'](_0x28c161()));return _0x43e8a3(_0x3f6c2a,''[_0xa11d14(0x3f8)](_0x476129),{'defIds':_0x3f6c2a[_0xa11d14(0x3d9)],'idSuffix':_0x325508['current']},_0xfd89b7({'ref':_0x5d4376,'className':_0x36792f},_0x4b96e0),_0x1916df);});function _0x43e8a3(_0x206638,_0x5dc712,_0x2e3fc2,_0x3c195f,_0x207ba2){const _0x14168f=_0x912252;return _0x50701b[_0x14168f(0x21d)](_0x206638['tag'],_0xfd89b7(_0xfd89b7({'key':_0x5dc712},_0x23a1e8(_0x206638,_0x2e3fc2,_0x207ba2)),_0x3c195f),(_0x5f57bc(_0x206638,_0x2e3fc2)[_0x14168f(0x3b7)]||[])[_0x14168f(0x284)](function(_0xb05b9c,_0x341e6c){const _0x55ba5b=_0x14168f;return _0x43e8a3(_0xb05b9c,''[_0x55ba5b(0x3f8)](_0x5dc712,'-')['concat'](_0x206638['tag'],'-')[_0x55ba5b(0x3f8)](_0x341e6c),_0x2e3fc2,void 0x0,_0x207ba2);}));}function _0x23a1e8(_0xb420e9,_0x2d1618,_0x31dc8c){const _0x62929e=_0x912252;var _0x3b5530=_0xfd89b7({},_0xb420e9[_0x62929e(0x466)]);_0x31dc8c!=null&&_0x31dc8c['colorChannel1']&&_0x3b5530[_0x62929e(0x3f2)]===_0x62929e(0x485)&&(_0x3b5530[_0x62929e(0x3f2)]=_0x31dc8c[_0x62929e(0x485)]),_0xb420e9[_0x62929e(0x3c4)]===_0x62929e(0x206)&&_0x3b5530['id']&&(_0x3b5530['id']=_0x3b5530['id']+_0x2d1618[_0x62929e(0x370)]),Object['entries'](_0x3b5530)[_0x62929e(0x2fc)](function(_0x35bcfd){const _0x44a9c6=_0x62929e;var _0x403b3d=_0x35bcfd[0x0],_0x16bdb8=_0x35bcfd[0x1];_0x403b3d===_0x44a9c6(0x206)&&typeof _0x16bdb8==_0x44a9c6(0x2d0)&&(_0x3b5530[_0x403b3d]=_0x16bdb8[_0x44a9c6(0x42e)](/url\(#(.*)\)/,_0x44a9c6(0x2f9)['concat'](_0x2d1618['idSuffix'],')')));});var _0x43998e=_0x2d1618[_0x62929e(0x3d9)];return!_0x43998e||_0x43998e[_0x62929e(0x414)]===0x0||(_0xb420e9['tag']==='use'&&_0x3b5530[_0x62929e(0x300)]&&(_0x3b5530[_0x62929e(0x300)]=_0x3b5530['xlink:href']+_0x2d1618[_0x62929e(0x370)]),Object['entries'](_0x3b5530)['forEach'](function(_0x37dd16){const _0x50d111=_0x62929e;var _0x4ad304=_0x37dd16[0x0],_0x587054=_0x37dd16[0x1];typeof _0x587054=='string'&&(_0x3b5530[_0x4ad304]=_0x587054[_0x50d111(0x42e)](/url\(#(.*)\)/,_0x50d111(0x2f9)[_0x50d111(0x3f8)](_0x2d1618['idSuffix'],')')));})),_0x3b5530;}function _0x5f57bc(_0x40802f,_0x389c99){const _0x34d58d=_0x912252;var _0x556322,_0x8ff366=_0x389c99[_0x34d58d(0x3d9)];return!_0x8ff366||_0x8ff366[_0x34d58d(0x414)]===0x0?_0x40802f:_0x40802f[_0x34d58d(0x3c4)]===_0x34d58d(0x263)&&(!((_0x556322=_0x40802f['children'])===null||_0x556322===void 0x0)&&_0x556322['length'])?_0xfd89b7(_0xfd89b7({},_0x40802f),{'children':_0x40802f[_0x34d58d(0x3b7)][_0x34d58d(0x284)](function(_0x26e40f){const _0x3a76de=_0x34d58d;return typeof _0x26e40f[_0x3a76de(0x466)]['id']==_0x3a76de(0x2d0)&&_0x8ff366&&_0x8ff366[_0x3a76de(0x3ad)](_0x26e40f[_0x3a76de(0x466)]['id'])?_0xfd89b7(_0xfd89b7({},_0x26e40f),{'attrs':_0xfd89b7(_0xfd89b7({},_0x26e40f[_0x3a76de(0x466)]),{'id':_0x26e40f[_0x3a76de(0x466)]['id']+_0x389c99[_0x3a76de(0x370)]})}):_0x26e40f;})}):_0x40802f;}function _0x28c161(){const _0x145144=_0x912252;return Math['random']()[_0x145144(0x324)](0x24)[_0x145144(0x362)](0x2,0x8);}_0x58b9e5[_0x912252(0x45f)]=_0x912252(0x484);var _0x5263f5={'tag':_0x912252(0x2a5),'attrs':{'xmlns':_0x912252(0x237),'fill':_0x912252(0x215),'viewBox':_0x912252(0x2ad),'width':_0x912252(0x3da),'height':_0x912252(0x3da)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x912252(0x386),'attrs':{'stroke':'currentColor','d':_0x912252(0x45e),'strokeLinecap':_0x912252(0x243),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x912252(0x444),'attrs':{'id':_0x912252(0x439)},'children':[{'tag':_0x912252(0x386),'attrs':{'fill':_0x912252(0x367),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x912252(0x439)]},_0x11cf1f=_0x50701b[_0x912252(0x400)](function(_0x32f455,_0x407f54){const _0x215897=_0x912252;return _0x50701b[_0x215897(0x21d)](_0x58b9e5,Object[_0x215897(0x3cb)]({},_0x32f455,{'id':'off-line-icon','ref':_0x407f54,'icon':_0x5263f5}));});_0x11cf1f[_0x912252(0x45f)]='OffLineIcon';var _0x574e1e={'tag':_0x912252(0x2a5),'attrs':{'xmlns':_0x912252(0x237),'fill':_0x912252(0x215),'viewBox':'0\x200\x2017\x2016','width':_0x912252(0x3da),'height':_0x912252(0x3da)},'children':[{'tag':'g','attrs':{'clipPath':_0x912252(0x22d)},'children':[{'tag':_0x912252(0x386),'attrs':{'stroke':_0x912252(0x30e),'d':_0x912252(0x352),'strokeLinecap':_0x912252(0x243),'strokeLinejoin':_0x912252(0x243),'strokeWidth':1.2}}]},{'tag':_0x912252(0x263),'attrs':{},'children':[{'tag':_0x912252(0x444),'attrs':{'id':_0x912252(0x366)},'children':[{'tag':_0x912252(0x386),'attrs':{'fill':_0x912252(0x367),'d':_0x912252(0x2c0),'transform':'translate(.97)'}}]}]}],'defIds':[_0x912252(0x366)]},_0x4f8f11=_0x50701b[_0x912252(0x400)](function(_0x354290,_0xe703e6){const _0x568bb3=_0x912252;return _0x50701b[_0x568bb3(0x21d)](_0x58b9e5,Object[_0x568bb3(0x3cb)]({},_0x354290,{'id':_0x568bb3(0x3af),'ref':_0xe703e6,'icon':_0x574e1e}));});_0x4f8f11[_0x912252(0x45f)]='OnLineIcon';function _0xfb600e(_0x550971){const _0x320a08=_0x912252;switch(_0x550971){case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x451)]:return _0x320a08(0x3b1);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x2e1)]:return _0x320a08(0x222);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x321)]:return _0x320a08(0x356);case _0x57d487['CollaborationStatus']['NOT_COLLAB']:return _0x320a08(0x373);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x486)]:case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x35b)]:return'collabStatus.syncing';case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x294)]:case _0x57d487[_0x320a08(0x40f)]['PENDING']:return'collabStatus.synced';}}function _0x3ce189(_0x3c2317){const _0x34d2da=_0x912252,{status$:_0x4f0f2}=_0x3c2317,_0x4773bb=_0x5a4aac['useObservable'](_0x4f0f2,_0x57d487[_0x34d2da(0x40f)][_0x34d2da(0x22a)]),_0x5849aa=_0x5a4aac[_0x34d2da(0x402)](_0x468931[_0x34d2da(0x2bb)]),_0x4d68f1=_0x5a4aac['useDependency'](_0x57d487['CollaborationSessionService']),_0x546eab=_0x4773bb!==_0x57d487['CollaborationStatus'][_0x34d2da(0x451)],_0x718834=_0x5849aa['t'](_0xfb600e(_0x4773bb)),_0x3723cb=_0x546eab?_0x50b559[_0x34d2da(0x21a)](_0x4f8f11,{}):_0x50b559[_0x34d2da(0x21a)](_0x11cf1f,{}),_0x30625c=_0x50701b['useCallback'](()=>{const _0x471aa0=_0x34d2da;_0x546eab||_0x4d68f1[_0x471aa0(0x47f)]();},[_0x546eab,_0x4d68f1]);function _0x56b60d(){const _0x20d747=_0x34d2da;return _0x50b559[_0x20d747(0x2a2)](_0x20d747(0x2a4),{'className':_0x20d747(0x437),'onClick':_0x30625c,'children':[_0x50b559[_0x20d747(0x21a)](_0x20d747(0x2a4),{'className':_0x498b76['clsx'](_0x20d747(0x3ce),{'univer-text-green-500':_0x546eab,'univer-text-red-500':!_0x546eab}),'children':_0x3723cb}),_0x50b559[_0x20d747(0x21a)](_0x20d747(0x2a4),{'className':_0x20d747(0x35e),'children':_0x718834})]});}return _0x546eab?_0x56b60d():_0x50b559[_0x34d2da(0x21a)](_0x498b76['Tooltip'],{'title':_0x5849aa['t'](_0x34d2da(0x281)),'children':_0x56b60d()});}var _0x520529=Object[_0x912252(0x289)],_0x2f20d1=(_0x386163,_0x1fc5f8,_0x3112d3,_0x333e7e)=>{const _0x4905c5=_0x912252;for(var _0x71be73=_0x333e7e>0x1?void 0x0:_0x333e7e?_0x520529(_0x1fc5f8,_0x3112d3):_0x1fc5f8,_0x486e67=_0x386163[_0x4905c5(0x414)]-0x1,_0x3c055;_0x486e67>=0x0;_0x486e67--)(_0x3c055=_0x386163[_0x486e67])&&(_0x71be73=_0x3c055(_0x71be73)||_0x71be73);return _0x71be73;},_0x5f0800=(_0x8f20d2,_0xd37740)=>(_0x1bbffe,_0x1fb59b)=>_0xd37740(_0x1bbffe,_0x1fb59b,_0x8f20d2);_0x2b6d0b[_0x912252(0x36d)]=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x3e943c,_0x1e3809,_0x3e4088,_0x588cf7){const _0x246efe=_0x912252;super(),_0x52c450(this,'_status$',new _0x946ff9[(_0x246efe(0x239))](_0x57d487[_0x246efe(0x40f)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x3e943c,this[_0x246efe(0x457)]=_0x1e3809,this[_0x246efe(0x29f)]=_0x3e4088,this[_0x246efe(0x2c6)]=_0x588cf7,this[_0x246efe(0x201)](),this[_0x246efe(0x3db)]());}[_0x912252(0x3db)](){const _0x244166=_0x912252;this[_0x244166(0x3d8)](this[_0x244166(0x31b)][_0x244166(0x2cb)][_0x244166(0x252)](_0x946ff9[_0x244166(0x461)](()=>{const _0x3d13ed=_0x244166,_0x2c530c=this[_0x3d13ed(0x31b)]['getFocusedUnit']();return _0x2c530c?this['_collaborationController'][_0x3d13ed(0x361)](_0x2c530c[_0x3d13ed(0x2e8)]()):_0x946ff9['of'](null);}),_0x946ff9[_0x244166(0x461)](_0x447493=>_0x447493?_0x447493['status$']:_0x946ff9['of'](_0x57d487['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x4119d9=>{const _0x5f5cac=_0x244166;this[_0x5f5cac(0x39f)][_0x5f5cac(0x44f)](_0x4119d9);}));}[_0x912252(0x201)](){const _0x45eb32=_0x912252;this[_0x45eb32(0x3d8)](this[_0x45eb32(0x2c6)][_0x45eb32(0x223)](_0x5a4aac['BuiltInUIPart']['HEADER_MENU'],()=>_0x5a4aac['connectInjector'](_0x4434af({'status$':this['_status$'][_0x45eb32(0x3ac)]()}),this[_0x45eb32(0x457)])));}},_0x2b6d0b[_0x912252(0x36d)]=_0x2f20d1([_0x5f0800(0x0,_0x468931['IUniverInstanceService']),_0x5f0800(0x1,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x5f0800(0x2,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x404)])),_0x5f0800(0x3,_0x5a4aac[_0x912252(0x435)])],_0x2b6d0b[_0x912252(0x36d)]);function _0x4434af(_0x3fa67f){const {status$:_0x384e3f}=_0x3fa67f;return function(){const _0xc3ed47=_0x44a6;return _0x50b559[_0xc3ed47(0x21a)](_0x3ce189,{'status$':_0x384e3f});};}var _0x2be27e=Object[_0x912252(0x289)],_0x1b0276=(_0x3475d3,_0xc32da4,_0x1e78d1,_0xc9097c)=>{const _0x342e0c=_0x912252;for(var _0x5e932f=_0xc9097c>0x1?void 0x0:_0xc9097c?_0x2be27e(_0xc32da4,_0x1e78d1):_0xc32da4,_0x501643=_0x3475d3[_0x342e0c(0x414)]-0x1,_0x48deba;_0x501643>=0x0;_0x501643--)(_0x48deba=_0x3475d3[_0x501643])&&(_0x5e932f=_0x48deba(_0x5e932f)||_0x5e932f);return _0x5e932f;},_0x45258d=(_0x228cf1,_0x2a13ec)=>(_0x1acaaa,_0x513c66)=>_0x2a13ec(_0x1acaaa,_0x513c66,_0x228cf1);let _0xe29bcd=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x4bf27e,_0x424eb8,_0xffd98,_0x53af5d,_0x4792d4,_0x1e7023){const _0x29d87f=_0x912252;super(),this[_0x29d87f(0x427)]=_0x4bf27e,this[_0x29d87f(0x249)]=_0x424eb8,this[_0x29d87f(0x217)]=_0xffd98,this['_messageService']=_0x53af5d,this[_0x29d87f(0x231)]=_0x4792d4,this['_localeService']=_0x1e7023,this[_0x29d87f(0x3b4)](),this[_0x29d87f(0x25a)]();}[_0x912252(0x3b4)](){const _0x3d5c2a=_0x912252;this[_0x3d5c2a(0x3d8)](this[_0x3d5c2a(0x427)][_0x3d5c2a(0x256)](()=>{const _0x187963=_0x3d5c2a;if(this['_localCacheService'][_0x187963(0x20e)]['size'])return this[_0x187963(0x2bf)]['t'](_0x187963(0x306));}));}[_0x912252(0x25a)](){const _0x1854b5=_0x912252;this[_0x1854b5(0x3d8)](this['_collaborationUIEventService'][_0x1854b5(0x44c)][_0x1854b5(0x38c)](_0x532e98=>{const _0x36cfc9=_0x1854b5;_0x532e98['id']===_0x57d487['CollaborationUIEventId'][_0x36cfc9(0x3a1)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType'][_0x36cfc9(0x282)],'content':this[_0x36cfc9(0x2bf)]['t']('collaboration.single-unit.warning')}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x371)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType']['Warning'],'content':this['_localeService']['t'](_0x36cfc9(0x368))}),_0x532e98['id']===_0x57d487['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x36cfc9(0x231)]['show']({'title':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x25f)),'content':this[_0x36cfc9(0x2bf)]['t']('permission.content'),'type':'error','duration':0x0}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x2e1)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x286)],'content':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x368))+'('+_0x532e98['data']+')'}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x422)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x282)],'content':this['_localeService']['t'](_0x532e98[_0x36cfc9(0x293)]||'')}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x3e5)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x282)],'content':this['_localeService']['t'](_0x36cfc9(0x39e))}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)]['SOCKET_FAILED']&&this['_messageService'][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)]['Error'],'content':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x2f2))}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x470)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType']['Error'],'content':this[_0x36cfc9(0x2bf)]['t']('session.collaboration-timeout')});}));}};_0xe29bcd=_0x1b0276([_0x45258d(0x0,_0x5a4aac[_0x912252(0x2c2)]),_0x45258d(0x1,_0x57d487[_0x912252(0x421)]),_0x45258d(0x2,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x20a)])),_0x45258d(0x3,_0x5a4aac[_0x912252(0x2c1)]),_0x45258d(0x4,_0x5a4aac['INotificationService']),_0x45258d(0x5,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x2bb)]))],_0xe29bcd);const _0xe01fb2=_0x912252(0x3c7),_0x1a3a24={},_0x36a885=_0x468931['createIdentifier'](_0x912252(0x490));var _0x18c01c=Object[_0x912252(0x289)],_0x97b297=(_0x5aa47e,_0x4c6907,_0xfc2603,_0x4390f7)=>{for(var _0x1c8502=_0x4390f7>0x1?void 0x0:_0x4390f7?_0x18c01c(_0x4c6907,_0xfc2603):_0x4c6907,_0x12bc3f=_0x5aa47e['length']-0x1,_0x92383;_0x12bc3f>=0x0;_0x12bc3f--)(_0x92383=_0x5aa47e[_0x12bc3f])&&(_0x1c8502=_0x92383(_0x1c8502)||_0x1c8502);return _0x1c8502;},_0x12fea4=(_0x4d5c61,_0x21c541)=>(_0x1bf9ad,_0x250527)=>_0x21c541(_0x1bf9ad,_0x250527,_0x4d5c61);_0x2b6d0b[_0x912252(0x26c)]=class extends _0x468931['RxDisposable']{constructor(_0x5ed53a,_0x4260f5,_0x50edbc,_0x479fc5,_0x1afb92){const _0x48d6e6=_0x912252;super(),this[_0x48d6e6(0x269)]=_0x5ed53a,this[_0x48d6e6(0x396)]=_0x4260f5,this['_commandService']=_0x50edbc,this[_0x48d6e6(0x332)]=_0x479fc5,_0x1afb92?_0x1afb92==null||_0x1afb92['whenReady']()[_0x48d6e6(0x341)](()=>this[_0x48d6e6(0x48e)]()):(this[_0x48d6e6(0x396)][_0x48d6e6(0x37f)](_0x48d6e6(0x44b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x912252(0x48e)](){const _0x5fc34e=_0x912252,_0x356895=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('unit'),_0x211f57=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('type'),_0x32031c=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('subunit');if(!_0x356895||!_0x211f57){this[_0x5fc34e(0x396)][_0x5fc34e(0x37f)](_0x5fc34e(0x44b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x75adfe=await this[_0x5fc34e(0x332)][_0x5fc34e(0x392)](_0x356895,Number(_0x211f57),_0x32031c);_0x75adfe&&_0x75adfe instanceof _0x468931['Workbook']&&this[_0x5fc34e(0x266)](_0x75adfe);}async[_0x912252(0x266)](_0x37959d){const _0x5b67d9=_0x912252;await this[_0x5b67d9(0x2a6)](_0x37959d),_0x37959d[_0x5b67d9(0x2d6)][_0x5b67d9(0x252)](_0x946ff9['takeUntil'](this[_0x5b67d9(0x41b)]))[_0x5b67d9(0x38c)](_0x43fac5=>{const _0x1a5376=_0x5b67d9;_0x43fac5&&this[_0x1a5376(0x432)](_0x43fac5);}),this['_urlService'][_0x5b67d9(0x2bc)][_0x5b67d9(0x252)](_0x946ff9[_0x5b67d9(0x3a7)](this[_0x5b67d9(0x41b)]))['subscribe'](()=>this[_0x5b67d9(0x2a6)](_0x37959d));}[_0x912252(0x432)](_0x1abca8,_0x206fa1=!0x1){const _0x285d49=_0x912252,_0x23f03e=this[_0x285d49(0x269)][_0x285d49(0x30b)](_0x285d49(0x22c));_0x1abca8[_0x285d49(0x2fe)]()!==_0x23f03e&&this['_urlService']['setParam'](_0x285d49(0x22c),_0x1abca8['getSheetId'](),_0x206fa1);}async['_updateSubUnitFromURLParams'](_0x567c90){const _0x4851fa=_0x912252;var _0x9b4565;const _0x54a846=this['_urlService'][_0x4851fa(0x30b)](_0x4851fa(0x22c));if(!_0x54a846||!_0x567c90[_0x4851fa(0x1f3)](_0x54a846)){const _0x1a8744=_0x567c90['getUnhiddenWorksheets']()[0x0],_0x5f419a=_0x567c90[_0x4851fa(0x1f3)](_0x1a8744);if(!_0x5f419a)return;this[_0x4851fa(0x432)](_0x5f419a,!0x0),await this[_0x4851fa(0x391)][_0x4851fa(0x46b)](_0x35f756[_0x4851fa(0x405)]['id'],{'unitId':_0x567c90[_0x4851fa(0x2e8)](),'subUnitId':_0x1a8744});return;}((_0x9b4565=_0x567c90[_0x4851fa(0x23c)]())==null?void 0x0:_0x9b4565[_0x4851fa(0x2fe)]())!==_0x54a846&&await this[_0x4851fa(0x391)][_0x4851fa(0x46b)](_0x35f756[_0x4851fa(0x405)]['id'],{'unitId':_0x567c90[_0x4851fa(0x2e8)](),'subUnitId':_0x54a846});}},_0x2b6d0b[_0x912252(0x26c)]=_0x97b297([_0x12fea4(0x0,_0x36a885),_0x12fea4(0x1,_0x468931[_0x912252(0x35a)]),_0x12fea4(0x2,_0x468931[_0x912252(0x3fa)]),_0x12fea4(0x3,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x328)])),_0x12fea4(0x4,_0x468931[_0x912252(0x471)](_0x4bc5c4[_0x912252(0x340)]))],_0x2b6d0b[_0x912252(0x26c)]);var _0x10d98e=Object[_0x912252(0x289)],_0x20a0d2=(_0x197401,_0xda5221,_0x256a0c,_0x58b26a)=>{const _0x1078b8=_0x912252;for(var _0x48df49=_0x58b26a>0x1?void 0x0:_0x58b26a?_0x10d98e(_0xda5221,_0x256a0c):_0xda5221,_0x326943=_0x197401[_0x1078b8(0x414)]-0x1,_0x441be2;_0x326943>=0x0;_0x326943--)(_0x441be2=_0x197401[_0x326943])&&(_0x48df49=_0x441be2(_0x48df49)||_0x48df49);return _0x48df49;},_0x37923a=(_0xa66830,_0x1f44fe)=>(_0x46b4c3,_0x1b0306)=>_0x1f44fe(_0x46b4c3,_0x1b0306,_0xa66830);let _0x52e565=class{constructor(_0x354ad8,_0x532edc,_0x215222){const _0x35a2d5=_0x912252;this[_0x35a2d5(0x457)]=_0x354ad8,this[_0x35a2d5(0x318)]=_0x532edc,this['_renderManagerService']=_0x215222;}[_0x912252(0x20d)](_0x25edc0){const _0x12cb7e=_0x912252;this[_0x12cb7e(0x2d1)](_0x25edc0),this[_0x12cb7e(0x2dd)](_0x25edc0);}[_0x912252(0x280)](_0x540731){const _0x33f34c=_0x912252,{unitID:_0x1a35d2}=_0x540731,_0x3eb669=this[_0x33f34c(0x26f)][_0x33f34c(0x39a)](_0x1a35d2)[_0x33f34c(0x442)](_0x13c110[_0x33f34c(0x226)]),{redoCache:_0x59932a}=_0x3eb669[_0x33f34c(0x39c)]();if(_0x59932a['length']===0x0)return _0x540731;let _0x9444f1=_0x468931['Tools']['deepClone'](_0x540731[_0x33f34c(0x47e)][0x0]);for(let _0x3a2bcf=0x0;_0x3a2bcf<_0x59932a[_0x33f34c(0x414)];_0x3a2bcf++){const _0x36a798={'id':'doc.mutation.rich-text-editing','params':{..._0x59932a[_0x3a2bcf]}},_0x182f36=this[_0x33f34c(0x318)][_0x33f34c(0x314)](_0x9444f1,_0x36a798,!0x1);if(_0x1042b5[_0x33f34c(0x337)](_0x182f36))throw _0x182f36['error'];_0x9444f1=_0x182f36[_0x33f34c(0x298)];}return{..._0x468931[_0x33f34c(0x24d)][_0x33f34c(0x241)](_0x540731),'mutations':[_0x9444f1]};}['_transformUndoRedoStack'](_0x30439f){const _0x1b2e50=_0x912252,{unitID:_0x16140f}=_0x30439f,_0x5b8c9a=this[_0x1b2e50(0x26f)][_0x1b2e50(0x39a)](_0x16140f)[_0x1b2e50(0x442)](_0x13c110[_0x1b2e50(0x226)]),{undoCache:_0x2720df,redoCache:_0x2a84b8}=_0x5b8c9a['getUndoRedoMutationParamsCache']();if(_0x2720df['length']===0x0||_0x2a84b8[_0x1b2e50(0x414)]===0x0)return;const _0x1b0f37=[],_0x3b28c5=[];let _0x4c7bc9=_0x468931[_0x1b2e50(0x24d)][_0x1b2e50(0x241)](_0x30439f['mutations'][0x0]),_0x5b9e15=_0x468931[_0x1b2e50(0x24d)][_0x1b2e50(0x241)](_0x30439f[_0x1b2e50(0x47e)][0x0]);for(let _0x405f62=_0x2720df['length']-0x1;_0x405f62>=0x0;_0x405f62--){const _0x1154ef={'id':_0x1b2e50(0x46d),'params':{..._0x2720df[_0x405f62]}},_0x240475={'id':_0x1b2e50(0x46d),'params':{..._0x2a84b8[_0x405f62]}},_0x30e238=this['_transformService'][_0x1b2e50(0x314)](_0x4c7bc9,_0x1154ef,!0x1),_0x550e1c=this['_transformService'][_0x1b2e50(0x314)](_0x5b9e15,_0x240475,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x30e238))throw _0x30e238[_0x1b2e50(0x2b4)];if(_0x1042b5[_0x1b2e50(0x337)](_0x550e1c))throw _0x550e1c[_0x1b2e50(0x2b4)];_0x1b0f37['unshift'](_0x30e238[_0x1b2e50(0x438)][_0x1b2e50(0x43d)]),_0x3b28c5[_0x1b2e50(0x353)](_0x550e1c[_0x1b2e50(0x438)]['params']),_0x4c7bc9=_0x30e238['m1Prime'],_0x5b9e15=_0x550e1c[_0x1b2e50(0x298)];}_0x5b8c9a[_0x1b2e50(0x3cf)]({'undoCache':_0x1b0f37,'redoCache':_0x3b28c5});}[_0x912252(0x2dd)](_0x1a52a9){const _0x1199ae=_0x912252,{unitID:_0x30d5bc}=_0x1a52a9,_0x25fb40=this[_0x1199ae(0x26f)]['getRenderById'](_0x30d5bc)[_0x1199ae(0x442)](_0x13c110[_0x1199ae(0x226)]),_0x4440b8=_0x25fb40['getActiveRange']();if(_0x4440b8==null)return;const _0x1436c8=[{'id':_0x1199ae(0x46d),'params':{'unitId':_0x1a52a9[_0x1199ae(0x2ac)],'actions':null,'textRanges':[_0x4440b8]}}],_0x506654=this[_0x1199ae(0x318)][_0x1199ae(0x43c)](_0x1a52a9,_0x1436c8);if(!_0x1042b5[_0x1199ae(0x32e)](_0x506654))throw _0x506654[_0x1199ae(0x2b4)];const _0x2573ca=_0x506654['m2Prime'][0x0][_0x1199ae(0x43d)][_0x1199ae(0x407)];Array['isArray'](_0x2573ca)&&_0x2573ca[_0x1199ae(0x414)]&&_0x25fb40['setActiveRange'](_0x2573ca[0x0]);}};_0x52e565=_0x20a0d2([_0x37923a(0x0,_0x468931['Inject'](_0x468931[_0x912252(0x1fd)])),_0x37923a(0x1,_0x1042b5[_0x912252(0x3f3)]),_0x37923a(0x2,_0x5d71b0[_0x912252(0x38b)])],_0x52e565);var _0x3136e3=Object[_0x912252(0x289)],_0x34dc3c=(_0x483166,_0x59fc39,_0x521511,_0x1cfd68)=>{const _0x422c14=_0x912252;for(var _0xded792=_0x1cfd68>0x1?void 0x0:_0x1cfd68?_0x3136e3(_0x59fc39,_0x521511):_0x59fc39,_0x22522a=_0x483166[_0x422c14(0x414)]-0x1,_0x101a3c;_0x22522a>=0x0;_0x22522a--)(_0x101a3c=_0x483166[_0x22522a])&&(_0xded792=_0x101a3c(_0xded792)||_0xded792);return _0xded792;},_0x2f48b1=(_0xf98ba3,_0x91dc8c)=>(_0x4d74a9,_0xeb224a)=>_0x91dc8c(_0x4d74a9,_0xeb224a,_0xf98ba3);let _0x35f102=class{constructor(_0x1b7cd7,_0x173799,_0x38606a){const _0x26e620=_0x912252;this[_0x26e620(0x457)]=_0x1b7cd7,this[_0x26e620(0x318)]=_0x173799,this['_docStateChangeManagerService']=_0x38606a;}[_0x912252(0x277)](_0x3aa9ba){const _0x1f198f=_0x912252;this[_0x1f198f(0x2cd)](_0x3aa9ba);}[_0x912252(0x280)](_0x4238ac){const _0x360a4c=_0x912252,{unitID:_0x34091d}=_0x4238ac,{collaboration:_0x2edfac}=this[_0x360a4c(0x2b0)][_0x360a4c(0x420)](_0x34091d);if(_0x2edfac[_0x360a4c(0x414)]===0x0)return _0x4238ac;let _0x545567=_0x468931['Tools'][_0x360a4c(0x241)](_0x4238ac[_0x360a4c(0x47e)][0x0]);for(let _0x47a429=0x0;_0x47a429<_0x2edfac[_0x360a4c(0x414)];_0x47a429++){const _0x407049={'id':_0x360a4c(0x46d),'params':{'unitId':_0x2edfac[_0x47a429][_0x360a4c(0x25e)],..._0x2edfac[_0x47a429][_0x360a4c(0x473)]}},_0x50cbc8=this['_transformService'][_0x360a4c(0x314)](_0x545567,_0x407049,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x50cbc8))throw _0x50cbc8[_0x360a4c(0x2b4)];_0x545567=_0x50cbc8['m1Prime'];}return{..._0x468931[_0x360a4c(0x24d)]['deepClone'](_0x4238ac),'mutations':[_0x545567]};}[_0x912252(0x2cd)](_0x1aba90){const _0x573c46=_0x912252,{unitID:_0x2b804c}=_0x1aba90,{history:_0x26d2dc,collaboration:_0x369333}=this[_0x573c46(0x2b0)]['getStateCache'](_0x2b804c);if(_0x26d2dc[_0x573c46(0x414)]===0x0&&_0x369333[_0x573c46(0x414)]===0x0)return;const _0x26c847=[],_0x5cc237=[];let _0x34b558=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]),_0x26df13=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]);for(let _0x55ba58=_0x26d2dc[_0x573c46(0x414)]-0x1;_0x55ba58>=0x0;_0x55ba58--){const _0x52c96d={'id':_0x573c46(0x46d),'params':{'unitId':_0x26d2dc[_0x55ba58]['unitId'],..._0x26d2dc[_0x55ba58][_0x573c46(0x27d)]}},_0x5a0748={'id':_0x573c46(0x46d),'params':{'unitId':_0x26d2dc[_0x55ba58]['unitId'],..._0x26d2dc[_0x55ba58]['redoState']}},_0x1f4024=this['_transformService'][_0x573c46(0x314)](_0x34b558,_0x52c96d,!0x1),_0x55440d=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x26df13,_0x5a0748,!0x1);if(_0x1042b5[_0x573c46(0x337)](_0x1f4024))throw _0x1f4024['error'];if(_0x1042b5[_0x573c46(0x337)](_0x55440d))throw _0x55440d[_0x573c46(0x2b4)];_0x26c847['unshift']({..._0x26d2dc[_0x55ba58],'undoState':_0x1f4024[_0x573c46(0x438)]['params'],'redoState':_0x55440d[_0x573c46(0x438)][_0x573c46(0x43d)]}),_0x34b558=_0x1f4024[_0x573c46(0x298)],_0x26df13=_0x55440d[_0x573c46(0x298)];}_0x34b558=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90['mutations'][0x0]),_0x26df13=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]);for(let _0x54b491=_0x369333[_0x573c46(0x414)]-0x1;_0x54b491>=0x0;_0x54b491--){const _0x362d0b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x369333[_0x54b491][_0x573c46(0x25e)],..._0x369333[_0x54b491]['undoState']}},_0x211ab4={'id':_0x573c46(0x46d),'params':{'unitId':_0x369333[_0x54b491][_0x573c46(0x25e)],..._0x369333[_0x54b491][_0x573c46(0x473)]}},_0x5f2f0a=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x34b558,_0x362d0b,!0x1),_0xd5c684=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x26df13,_0x211ab4,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x5f2f0a))throw _0x5f2f0a[_0x573c46(0x2b4)];if(_0x1042b5['isTransformMutationFailure'](_0xd5c684))throw _0xd5c684[_0x573c46(0x2b4)];_0x5cc237[_0x573c46(0x353)]({..._0x369333[_0x54b491],'undoState':_0x5f2f0a[_0x573c46(0x438)][_0x573c46(0x43d)],'redoState':_0xd5c684[_0x573c46(0x438)][_0x573c46(0x43d)]}),_0x34b558=_0x5f2f0a['m1Prime'],_0x26df13=_0xd5c684[_0x573c46(0x298)];}this[_0x573c46(0x2b0)][_0x573c46(0x21e)](_0x2b804c,{'history':_0x26c847,'collaboration':_0x5cc237});}};_0x35f102=_0x34dc3c([_0x2f48b1(0x0,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x2f48b1(0x1,_0x1042b5[_0x912252(0x3f3)]),_0x2f48b1(0x2,_0x468931[_0x912252(0x37e)](_0x13c110[_0x912252(0x212)]))],_0x35f102);var _0x23e08e=Object[_0x912252(0x289)],_0x490802=(_0x547cc6,_0x10cdcd,_0x3e2a0b,_0x35000b)=>{const _0x3ba0fa=_0x912252;for(var _0x339251=_0x35000b>0x1?void 0x0:_0x35000b?_0x23e08e(_0x10cdcd,_0x3e2a0b):_0x10cdcd,_0x35e6c5=_0x547cc6[_0x3ba0fa(0x414)]-0x1,_0x5c74c6;_0x35e6c5>=0x0;_0x35e6c5--)(_0x5c74c6=_0x547cc6[_0x35e6c5])&&(_0x339251=_0x5c74c6(_0x339251)||_0x339251);return _0x339251;},_0x20df2d=(_0x29e388,_0x2dc3c3)=>(_0x3d37ab,_0x3968fe)=>_0x2dc3c3(_0x3d37ab,_0x3968fe,_0x29e388);let _0x26ea7d=class{constructor(_0x28dcc5,_0x46d234){const _0x324da4=_0x912252;this['_injector']=_0x28dcc5,this[_0x324da4(0x318)]=_0x46d234;}[_0x912252(0x43f)](_0x2c55c2){const _0x2f5d3f=_0x912252;var _0x4c37e3;const _0x5db188=this['_injector'][_0x2f5d3f(0x2ae)](_0x3b619f[_0x2f5d3f(0x409)]),_0x10e67f=(_0x4c37e3=_0x5db188[_0x2f5d3f(0x3ef)]())!=null?_0x4c37e3:[];if(_0x10e67f['length']===0x0)return;const _0x5e9c75=_0x2c55c2[_0x2f5d3f(0x2ac)],_0x33a219=[{'id':_0x2f5d3f(0x46d),'params':{'unitId':_0x5e9c75,'actions':null,'textRanges':_0x10e67f}}],_0x538866=this['_transformService'][_0x2f5d3f(0x43c)](_0x2c55c2,_0x33a219);if(!_0x1042b5[_0x2f5d3f(0x32e)](_0x538866))throw _0x538866[_0x2f5d3f(0x2b4)];const _0x491ee0=_0x538866[_0x2f5d3f(0x438)][0x0][_0x2f5d3f(0x43d)][_0x2f5d3f(0x407)];Array[_0x2f5d3f(0x2d5)](_0x491ee0)&&_0x491ee0[_0x2f5d3f(0x414)]&&_0x5db188[_0x2f5d3f(0x242)](_0x491ee0,{'unitId':_0x5e9c75,'subUnitId':_0x5e9c75},!0x1);}};_0x26ea7d=_0x490802([_0x20df2d(0x0,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x20df2d(0x1,_0x1042b5[_0x912252(0x3f3)])],_0x26ea7d);var _0x1dafc6=Object['getOwnPropertyDescriptor'],_0x20b1f1=(_0x9651e4,_0x3e9101,_0x2519b8,_0x345884)=>{const _0x2d9594=_0x912252;for(var _0x273444=_0x345884>0x1?void 0x0:_0x345884?_0x1dafc6(_0x3e9101,_0x2519b8):_0x3e9101,_0x27cb22=_0x9651e4[_0x2d9594(0x414)]-0x1,_0x26c3d9;_0x27cb22>=0x0;_0x27cb22--)(_0x26c3d9=_0x9651e4[_0x27cb22])&&(_0x273444=_0x26c3d9(_0x273444)||_0x273444);return _0x273444;},_0x5db33d=(_0x216a7b,_0x44d419)=>(_0x32f547,_0x5960d2)=>_0x44d419(_0x32f547,_0x5960d2,_0x216a7b);let _0x32f1f1=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0xba9065,_0x101f6d,_0x142593,_0x9b059a,_0xad2360,_0x39c1f9,_0x192354,_0x45c0d3){const _0x430945=_0x912252;super(),_0x52c450(this,_0x430945(0x39f),new _0x946ff9[(_0x430945(0x239))](_0x57d487['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xba9065,this[_0x430945(0x29f)]=_0x101f6d,this[_0x430945(0x40e)]=_0x142593,this[_0x430945(0x23a)]=_0x9b059a,this[_0x430945(0x255)]=_0xad2360,this['_docSyncEditingCollabCursorService']=_0x39c1f9,this[_0x430945(0x23b)]=_0x192354,this['_localeService']=_0x45c0d3,this[_0x430945(0x48d)]());}['_initEntityListener'](){const _0x4e0344=_0x912252;this[_0x4e0344(0x3d8)](this['_collaborationController'][_0x4e0344(0x230)][_0x4e0344(0x38c)](_0x3b7361=>{const _0x6d2056=_0x4e0344,_0x30e17f=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x118de5=>{const _0xc06903=_0x44a6;if(_0x118de5==null)return;const {unitId:_0x67d9db,redoState:_0x3ceda0,commandId:_0x33b4e2}=_0x118de5;if(_0x67d9db!==_0x3b7361[_0xc06903(0x2ac)])return;const _0x45aab5={'id':_0x33b4e2,'type':_0x468931[_0xc06903(0x2c7)][_0xc06903(0x24c)],'params':{'unitId':_0x67d9db,'actions':_0x3ceda0[_0xc06903(0x429)],'textRanges':null}};_0x3b7361[_0xc06903(0x410)](_0x45aab5);});if(_0x3b7361[_0x6d2056(0x3d8)](_0x30e17f),_0x3b7361 instanceof _0x57d487[_0x6d2056(0x30d)]){const _0xae8da0={'onTransformIME':_0x5d4d32=>this[_0x6d2056(0x40e)][_0x6d2056(0x20d)](_0x5d4d32),'onTransformState':_0x54a180=>this[_0x6d2056(0x23a)][_0x6d2056(0x277)](_0x54a180),'onTransformSelections':_0x120954=>this[_0x6d2056(0x255)][_0x6d2056(0x43f)](_0x120954),'onSyncEditingCollabCursor':_0x21f392=>this[_0x6d2056(0x2c5)]['syncEditingCollabCursor'](_0x21f392),'onTransformRemoteChangesetByIMECache':_0x13dff4=>this[_0x6d2056(0x40e)]['transformRemoteChangeset'](_0x13dff4),'onTransformRemoteChangesetByStateCache':_0x52d2c8=>this[_0x6d2056(0x23a)]['transformRemoteChangeset'](_0x52d2c8)};_0x3b7361['addHandlerCallback'](_0xae8da0);}}));}};_0x32f1f1=_0x20b1f1([_0x5db33d(0x0,_0x468931[_0x912252(0x37e)](_0x13c110[_0x912252(0x212)])),_0x5db33d(0x1,_0x468931['Inject'](_0x57d487['CollaborationController'])),_0x5db33d(0x2,_0x468931[_0x912252(0x37e)](_0x52e565)),_0x5db33d(0x3,_0x468931[_0x912252(0x37e)](_0x35f102)),_0x5db33d(0x4,_0x468931[_0x912252(0x37e)](_0x26ea7d)),_0x5db33d(0x5,_0x468931[_0x912252(0x37e)](_0x360d85)),_0x5db33d(0x6,_0x5a4aac[_0x912252(0x2c1)]),_0x5db33d(0x7,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x2bb)]))],_0x32f1f1);var _0x5db896=Object[_0x912252(0x289)],_0x4cf9c9=(_0x540fff,_0x4b016f,_0xdc8211,_0x42d7be)=>{for(var _0x2b9c47=_0x42d7be>0x1?void 0x0:_0x42d7be?_0x5db896(_0x4b016f,_0xdc8211):_0x4b016f,_0xdf7952=_0x540fff['length']-0x1,_0x244398;_0xdf7952>=0x0;_0xdf7952--)(_0x244398=_0x540fff[_0xdf7952])&&(_0x2b9c47=_0x244398(_0x2b9c47)||_0x2b9c47);return _0x2b9c47;},_0xb0c52b=(_0x1a79f1,_0xa34ec4)=>(_0x246131,_0x7dc34d)=>_0xa34ec4(_0x246131,_0x7dc34d,_0x1a79f1);let _0x3a7379=class extends _0x468931['Disposable']{constructor(_0x468d56,_0x472205,_0x4ce285){const _0x1feb84=_0x912252;super(),_0x52c450(this,_0x1feb84(0x232),new Map()),_0x52c450(this,_0x1feb84(0x363),new Map()),_0x52c450(this,_0x1feb84(0x36e),!0x1),(this[_0x1feb84(0x357)]=_0x468d56,this['_localStorageService']=_0x472205,this[_0x1feb84(0x31c)]=_0x4ce285);}[_0x912252(0x446)](){const _0x15ca31=_0x912252;this[_0x15ca31(0x36e)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x912252(0x20e)](){const _0x7c6f3e=_0x912252;return this[_0x7c6f3e(0x363)];}[_0x912252(0x3ae)](){const _0x9c3187=_0x912252;this[_0x9c3187(0x229)]()['then'](()=>super[_0x9c3187(0x3ae)]());}async[_0x912252(0x3cc)](_0x8d2986){const _0x18c39b=_0x912252;return this[_0x18c39b(0x36e)]?null:this[_0x18c39b(0x3c5)][_0x18c39b(0x1fb)](_0x57d487['getLocalCacheKey'](_0x8d2986));}async[_0x912252(0x313)](_0xd37a10,_0x265114){const _0x11ae6a=_0x912252;return!!this[_0x11ae6a(0x3c5)][_0x11ae6a(0x403)](_0xd37a10,_0x265114);}[_0x912252(0x2cc)](_0x1abb6a,_0xcd240b,_0x46b6a0,_0x1124d0){const _0x417964=_0x912252,_0x53efc3=this['_revisionService'][_0x417964(0x285)](_0x1abb6a);this[_0x417964(0x232)][_0x417964(0x382)](_0x1abb6a,{'unitID':_0x1abb6a,'type':_0xcd240b,'awaitingChangeset':_0x46b6a0,'mutations':_0x1124d0,'rev':_0x53efc3}),this[_0x417964(0x363)][_0x417964(0x2a7)](_0x1abb6a)||this[_0x417964(0x22f)](_0x1abb6a);}[_0x912252(0x22f)](_0xfabae3){const _0x3b7573=_0x912252,_0x5d30f1=this['_getSaveTimeout']();_0x5d30f1===0x0?this[_0x3b7573(0x20c)](_0xfabae3):this[_0x3b7573(0x363)][_0x3b7573(0x382)](_0xfabae3,setTimeout(()=>this[_0x3b7573(0x20c)](_0xfabae3),_0x5d30f1));}[_0x912252(0x27f)](){const _0x251010=_0x912252;var _0x42bce8;return(_0x42bce8=this['_configService'][_0x251010(0x3b5)](_0x57d487[_0x251010(0x3bf)]))!=null?_0x42bce8:_0x57d487['LOCAL_CACHE_INTERVAL'];}[_0x912252(0x20c)](_0x2512f4){const _0x2bf9c7=_0x912252,_0x317bb3=this['_saveTaskMap']['get'](_0x2512f4);return _0x317bb3!==void 0x0&&window[_0x2bf9c7(0x1f5)](_0x317bb3),this[_0x2bf9c7(0x3c5)]['setItem'](_0x57d487[_0x2bf9c7(0x1f7)](_0x2512f4),this[_0x2bf9c7(0x232)][_0x2bf9c7(0x2ae)](_0x2512f4))[_0x2bf9c7(0x341)](()=>this[_0x2bf9c7(0x363)][_0x2bf9c7(0x1f9)](_0x2512f4));}async[_0x912252(0x229)](){const _0xedfd97=_0x912252,_0x10a595=[];this[_0xedfd97(0x363)][_0xedfd97(0x2fc)]((_0x5ce0a1,_0x24e7e5)=>{const _0x3df68c=_0xedfd97;window[_0x3df68c(0x1f5)](_0x5ce0a1),_0x10a595[_0x3df68c(0x381)](this['_saveCache'](_0x24e7e5)[_0x3df68c(0x341)](()=>{const _0x4d4d05=_0x3df68c;this[_0x4d4d05(0x363)][_0x4d4d05(0x1f9)](_0x24e7e5);}));}),await Promise[_0xedfd97(0x369)](_0x10a595);}};_0x3a7379=_0x4cf9c9([_0xb0c52b(0x0,_0x468931[_0x912252(0x25c)]),_0xb0c52b(0x1,_0x468931['ILocalStorageService']),_0xb0c52b(0x2,_0x468931[_0x912252(0x37e)](_0x1042b5[_0x912252(0x2a8)]))],_0x3a7379);class _0x27a589 extends _0x468931[_0x912252(0x3ba)]{constructor(){const _0xdc1312=_0x912252;super(),_0x52c450(this,_0xdc1312(0x2bc)),this[_0xdc1312(0x2bc)]=_0x946ff9[_0xdc1312(0x34b)](window,_0xdc1312(0x2f6))['pipe'](_0x946ff9[_0xdc1312(0x3a7)](this[_0xdc1312(0x41b)]),_0x946ff9[_0xdc1312(0x33c)](0x1),_0x946ff9[_0xdc1312(0x3ff)](void 0x0));}['setParam'](_0x46c403,_0xd0b2e9,_0x185df1=!0x1){const _0x133f38=_0x912252,_0xd12178=new URL(window[_0x133f38(0x220)][_0x133f38(0x316)]);_0xd12178[_0x133f38(0x36f)][_0x133f38(0x382)](_0x46c403,_0xd0b2e9),_0x185df1?window[_0x133f38(0x2c8)][_0x133f38(0x43a)]('','',_0xd12178['toString']()):window['history']['pushState']('','',_0xd12178[_0x133f38(0x324)]());}[_0x912252(0x279)](_0x3aadfb,_0x1ba5b1=!0x1){const _0x5aafe6=_0x912252,_0x2e5a82=new URL(window['location'][_0x5aafe6(0x316)]);_0x2e5a82[_0x5aafe6(0x36f)][_0x5aafe6(0x1f9)](_0x3aadfb),_0x1ba5b1?window['history'][_0x5aafe6(0x43a)]('','',_0x2e5a82[_0x5aafe6(0x324)]()):window['history'][_0x5aafe6(0x47a)]('','',_0x2e5a82[_0x5aafe6(0x324)]());}['getParam'](_0x3ebe4c){const _0x1a627d=_0x912252;var _0x5f097f;return(_0x5f097f=new URL(window[_0x1a627d(0x220)][_0x1a627d(0x316)])[_0x1a627d(0x36f)][_0x1a627d(0x2ae)](_0x3ebe4c))!=null?_0x5f097f:void 0x0;}}var _0x559faa=Object[_0x912252(0x2c3)],_0x5e0bcf=Object['getOwnPropertyDescriptor'],_0x382b18=(_0x4d3925,_0x3d1faf,_0xc7880c)=>_0x3d1faf in _0x4d3925?_0x559faa(_0x4d3925,_0x3d1faf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc7880c}):_0x4d3925[_0x3d1faf]=_0xc7880c,_0x464552=(_0xd249d7,_0xde9e2a,_0x3a3083,_0x312077)=>{const _0x17b390=_0x912252;for(var _0x2f2a48=_0x312077>0x1?void 0x0:_0x312077?_0x5e0bcf(_0xde9e2a,_0x3a3083):_0xde9e2a,_0x25e014=_0xd249d7[_0x17b390(0x414)]-0x1,_0x10f425;_0x25e014>=0x0;_0x25e014--)(_0x10f425=_0xd249d7[_0x25e014])&&(_0x2f2a48=_0x10f425(_0x2f2a48)||_0x2f2a48);return _0x2f2a48;},_0x363d09=(_0x301cd5,_0x4cbada)=>(_0xc2fcb2,_0x24e2e6)=>_0x4cbada(_0xc2fcb2,_0x24e2e6,_0x301cd5),_0xc2563=(_0x1e33ff,_0x418075,_0xc30846)=>_0x382b18(_0x1e33ff,_0x418075+'',_0xc30846);const _0x900d92='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2b6d0b[_0x912252(0x3f6)]=class extends _0x468931[_0x912252(0x288)]{constructor(_0x3bbfbc=_0x1a3a24,_0x483bab,_0x10c133,_0x11def7){const _0x3a2c43=_0x912252;super(),this[_0x3a2c43(0x331)]=_0x3bbfbc,this['_renderManagerService']=_0x483bab,this[_0x3a2c43(0x457)]=_0x10c133,this[_0x3a2c43(0x357)]=_0x11def7;const {..._0x264deb}=_0x468931[_0x3a2c43(0x24a)]({},_0x1a3a24,this[_0x3a2c43(0x331)]);this[_0x3a2c43(0x357)][_0x3a2c43(0x406)](_0xe01fb2,_0x264deb);}['onStarting'](){const _0x2cbec5=_0x912252;this[_0x2cbec5(0x2ab)](),this[_0x2cbec5(0x2ee)]();}[_0x912252(0x459)](){const _0x4545ae=_0x912252;this[_0x4545ae(0x25b)]();}[_0x912252(0x2ab)](){const _0xcad8ee=_0x912252;var _0x9b1998;const _0x9a4f8=[[_0xb034cf],[_0x26ea7d],[_0x52e565],[_0x35f102],[_0x360d85],[_0x36a885,{'useClass':_0x27a589}],[_0x10caf6[_0xcad8ee(0x32a)],{'useClass':_0x10caf6[_0xcad8ee(0x46e)]}],[_0x57d487[_0xcad8ee(0x421)],{'useClass':_0x3a7379}],[_0x2b6d0b[_0xcad8ee(0x36d)]],[_0x32f1f1],[_0xe29bcd],[_0x59a198],[_0xf1d0fc],[_0x2b6d0b['CollaborationDataLoaderController']]];_0x468931['registerDependencies'](this[_0xcad8ee(0x457)],_0x468931['mergeOverrideWithDependencies'](_0x9a4f8,(_0x9b1998=this[_0xcad8ee(0x331)])==null?void 0x0:_0x9b1998[_0xcad8ee(0x395)]));}[_0x912252(0x25b)](){const _0x37c879=_0x912252;this[_0x37c879(0x3d8)](this[_0x37c879(0x26f)][_0x37c879(0x389)](_0x468931['UniverInstanceType']['UNIVER_DOC'],[_0x2735fe])),this[_0x37c879(0x3d8)](this[_0x37c879(0x26f)][_0x37c879(0x389)](_0x468931['UniverInstanceType'][_0x37c879(0x1ff)],[_0x58f27b]));}['_initDependencies'](){const _0x2a17d9=_0x912252;_0x468931[_0x2a17d9(0x489)](this[_0x2a17d9(0x457)],[[_0x59a198],[_0x2b6d0b[_0x2a17d9(0x36d)]],[_0x32f1f1],[_0xe29bcd],[_0x2b6d0b[_0x2a17d9(0x26c)]]]);}},_0xc2563(_0x2b6d0b[_0x912252(0x3f6)],_0x912252(0x34d),_0x900d92),_0x2b6d0b[_0x912252(0x3f6)]=_0x464552([_0x468931[_0x912252(0x35c)](_0x57d487[_0x912252(0x2b3)]),_0x363d09(0x1,_0x5d71b0[_0x912252(0x38b)]),_0x363d09(0x2,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x363d09(0x3,_0x468931[_0x912252(0x25c)])],_0x2b6d0b[_0x912252(0x3f6)]);var _0x28461b=Object[_0x912252(0x289)],_0x3400ed=(_0x5da3a8,_0x36b0a1,_0x55614f,_0x358e53)=>{const _0x1302f5=_0x912252;for(var _0x4e0536=_0x358e53>0x1?void 0x0:_0x358e53?_0x28461b(_0x36b0a1,_0x55614f):_0x36b0a1,_0x4679e4=_0x5da3a8[_0x1302f5(0x414)]-0x1,_0x1be0d7;_0x4679e4>=0x0;_0x4679e4--)(_0x1be0d7=_0x5da3a8[_0x4679e4])&&(_0x4e0536=_0x1be0d7(_0x4e0536)||_0x4e0536);return _0x4e0536;},_0x2560b9=(_0xfa2084,_0xccb8b6)=>(_0x37c163,_0x2d4981)=>_0xccb8b6(_0x37c163,_0x2d4981,_0xfa2084);_0x2b6d0b['BrowserCollaborationSocketService']=class extends _0x57d487['CollaborationSocketService']{constructor(_0x4a5c5f,_0x3144e4,_0x1cb4cd,_0x4eb718,_0x161efb){super(_0x4a5c5f,_0x3144e4,_0x1cb4cd,_0x4eb718,_0x161efb);}async['createSocket'](_0x47f95d){const _0x55d881=_0x912252,_0x3bedef=await this[_0x55d881(0x2f4)](),_0x10a528=this[_0x55d881(0x3c6)](_0x47f95d,_0x3bedef);return this['_doCreateSocket'](_0x10a528);}[_0x912252(0x3c6)](_0x166fe0,_0x24f644){const _0x21743e=_0x912252,_0x2f833b=typeof window>'u'?new URL(_0x166fe0):new URL(_0x166fe0,window['location'][_0x21743e(0x1fc)]);_0x2f833b[_0x21743e(0x36f)]['set'](_0x21743e(0x416),_0x24f644);const _0x3183c6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x21743e(0x220)][_0x21743e(0x310)]);return _0x3183c6['get']('runId')&&_0x2f833b[_0x21743e(0x36f)][_0x21743e(0x382)](_0x21743e(0x345),_0x3183c6[_0x21743e(0x2ae)]('runId')),_0x2f833b[_0x21743e(0x324)]();}async['_getSessionTicket'](){const _0x942ad6=_0x912252;var _0x30b131,_0x4113df,_0x807f30;const _0x54acd1=this[_0x942ad6(0x357)][_0x942ad6(0x3b5)](_0x57d487[_0x942ad6(0x2a0)]),_0x3e03cc=(_0x30b131=_0x54acd1==null?void 0x0:_0x54acd1[_0x942ad6(0x2fb)])!=null?_0x30b131:_0x57d487[_0x942ad6(0x48b)];return(_0x807f30=(_0x4113df=(await this[_0x942ad6(0x28f)][_0x942ad6(0x2ae)](_0x3e03cc,{'headers':{'Content-Type':_0x942ad6(0x3d6)}}))[_0x942ad6(0x2b9)])==null?void 0x0:_0x4113df[_0x942ad6(0x42a)])!=null?_0x807f30:'';}},_0x2b6d0b['BrowserCollaborationSocketService']=_0x3400ed([_0x2560b9(0x0,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x2560b9(0x1,_0x468931[_0x912252(0x37e)](_0x10caf6[_0x912252(0x225)])),_0x2560b9(0x2,_0x468931[_0x912252(0x25c)]),_0x2560b9(0x3,_0x468931[_0x912252(0x35a)]),_0x2560b9(0x4,_0x1042b5[_0x912252(0x315)])],_0x2b6d0b[_0x912252(0x33d)]);const _0x234fd8=0x7530,_0x185079=_0x912252(0x364);class _0x14e0a4 extends _0x468931[_0x912252(0x3dc)]{constructor(){const _0x35aa40=_0x912252;super(),_0x52c450(this,_0x35aa40(0x39d),_0x468931[_0x35aa40(0x2b7)]()),_0x52c450(this,_0x35aa40(0x2ff),new Set()),_0x52c450(this,_0x35aa40(0x45b),new Map()),_0x52c450(this,_0x35aa40(0x2b5),null),_0x52c450(this,_0x35aa40(0x354),new Map()),_0x52c450(this,_0x35aa40(0x29d),new Map()),this[_0x35aa40(0x48e)]();}[_0x912252(0x3ae)](){const _0xc50cc=_0x912252;super[_0xc50cc(0x3ae)](),this[_0xc50cc(0x354)][_0xc50cc(0x2fc)]((_0x3ef775,_0x21fb26)=>this[_0xc50cc(0x2d2)](_0x21fb26)),this[_0xc50cc(0x2b5)]&&window[_0xc50cc(0x245)](this[_0xc50cc(0x2b5)]);}['getUnitStatus$'](_0x22908e){const _0x39cb30=_0x912252;return this[_0x39cb30(0x273)](_0x22908e)['pipe'](_0x946ff9[_0x39cb30(0x394)]());}[_0x912252(0x210)](_0x44cdde){const _0x1df739=_0x912252;this[_0x1df739(0x2ff)][_0x1df739(0x3bd)]===0x0&&this[_0x1df739(0x2de)](),this[_0x1df739(0x2ff)]['add'](_0x44cdde),this[_0x1df739(0x488)]({'type':0x0,'memberID':this[_0x1df739(0x39d)],'unitIDs':[_0x44cdde],'isForwarded':!0x1});}[_0x912252(0x278)](_0x4caa55){const _0x7d4382=_0x912252;this[_0x7d4382(0x2ff)][_0x7d4382(0x1f9)](_0x4caa55),this[_0x7d4382(0x2ff)][_0x7d4382(0x3bd)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x7d4382(0x2b5)]);}[_0x912252(0x48e)](){const _0x280eae=_0x912252;this[_0x280eae(0x3d8)](_0x468931['toDisposable'](_0x946ff9['fromEvent'](window,'storage')['subscribe'](_0x812369=>{const _0x47a902=_0x280eae;if(_0x812369[_0x47a902(0x274)]!==_0x185079||!_0x812369[_0x47a902(0x465)])return;const _0x327a9f=JSON[_0x47a902(0x3e6)](_0x812369[_0x47a902(0x465)]);this[_0x47a902(0x401)](_0x327a9f);}))),window['addEventListener'](_0x280eae(0x436),()=>this[_0x280eae(0x488)]({'type':0x1,'memberID':this[_0x280eae(0x39d)],'unitIDs':Array['from'](this[_0x280eae(0x2ff)])}));}['_handleEvent'](_0x87474b){const _0x3c61bb=_0x912252;switch(_0x87474b[_0x3c61bb(0x468)]){case 0x0:this[_0x3c61bb(0x478)](_0x87474b);break;case 0x1:this[_0x3c61bb(0x29a)](_0x87474b);break;case 0x2:this[_0x3c61bb(0x388)](_0x87474b);break;}}['_handleJoinEvent'](_0x31f7d5){const _0x285cff=_0x912252,{unitIDs:_0x483770,memberID:_0x188785,isForwarded:_0xf06458}=_0x31f7d5;_0x483770[_0x285cff(0x2fc)](_0x4ba9de=>{const _0x2c9d24=_0x285cff;if(!_0xf06458&&this[_0x2c9d24(0x45b)][_0x2c9d24(0x2a7)](_0x4ba9de)&&this[_0x2c9d24(0x273)](_0x4ba9de)[_0x2c9d24(0x44f)](_0x57d487[_0x2c9d24(0x412)][_0x2c9d24(0x297)]),!this[_0x2c9d24(0x45b)][_0x2c9d24(0x2a7)](_0x4ba9de)||!this['_unitOnClients'][_0x2c9d24(0x2ae)](_0x4ba9de)[_0x2c9d24(0x2a7)](_0x188785)){const _0xf49b84=this[_0x2c9d24(0x45b)][_0x2c9d24(0x2ae)](_0x4ba9de)||new Set();_0xf49b84[_0x2c9d24(0x3d4)](_0x188785),this[_0x2c9d24(0x45b)][_0x2c9d24(0x382)](_0x4ba9de,_0xf49b84),this['_scheduleClearOtherTimer'](_0x188785);}}),_0xf06458||this[_0x285cff(0x488)]({'type':0x0,'memberID':this[_0x285cff(0x39d)],'unitIDs':[...this[_0x285cff(0x2ff)]],'isForwarded':!0x0});}[_0x912252(0x224)](_0x537e39){const _0xd8df72=_0x912252;this[_0xd8df72(0x2d2)](_0x537e39);const _0x44c4ee=window[_0xd8df72(0x287)](()=>{const _0x34a7d5=_0xd8df72;this[_0x34a7d5(0x45b)][_0x34a7d5(0x2fc)](_0x34f34d=>{const _0x32367e=_0x34a7d5;_0x34f34d[_0x32367e(0x1f9)](_0x537e39);});},_0x234fd8*0x2);this[_0xd8df72(0x354)][_0xd8df72(0x382)](_0x537e39,_0x44c4ee);}['_removeClearOtherTimer'](_0x53b4fa){const _0x4a3f15=_0x912252;if(this['_clearOtherTimers'][_0x4a3f15(0x2a7)](_0x53b4fa)){const _0x22f3c1=this[_0x4a3f15(0x354)][_0x4a3f15(0x2ae)](_0x53b4fa);_0x22f3c1&&window[_0x4a3f15(0x1f5)](_0x22f3c1),this[_0x4a3f15(0x354)][_0x4a3f15(0x382)](_0x53b4fa,null);}}['_handleLeaveEvent'](_0x59e015){const _0x1ddc3e=_0x912252,{memberID:_0x17fc73,unitIDs:_0x2eb628}=_0x59e015;_0x2eb628[_0x1ddc3e(0x2fc)](_0x38a113=>{const _0xdb5962=_0x1ddc3e;var _0x4b0a34;const _0x38920e=this[_0xdb5962(0x45b)][_0xdb5962(0x2ae)](_0x38a113);_0x38920e&&(_0x38920e[_0xdb5962(0x1f9)](_0x17fc73),(_0x4b0a34=this['_ensureSubject'](_0x38a113))==null||_0x4b0a34['next'](_0x38920e[_0xdb5962(0x3bd)]===0x0?_0x57d487[_0xdb5962(0x412)][_0xdb5962(0x248)]:_0x57d487[_0xdb5962(0x412)][_0xdb5962(0x297)]));}),this[_0x1ddc3e(0x2d2)](_0x17fc73);}[_0x912252(0x388)](_0x5e3bad){const _0x46d90b=_0x912252;this[_0x46d90b(0x224)](_0x5e3bad['memberID']);}[_0x912252(0x488)](_0x7332b1){const _0xb5e6c1=_0x912252;localStorage['setItem'](_0x185079,JSON[_0xb5e6c1(0x40b)](_0x7332b1));}['_scheduleHeartbeat'](){const _0x2a03cf=_0x912252;this['_heartbeatTimer']=window[_0x2a03cf(0x3b3)](()=>{const _0x2c8a74=_0x2a03cf;this[_0x2c8a74(0x488)]({'type':0x2,'memberID':this[_0x2c8a74(0x39d)]});},_0x234fd8);}[_0x912252(0x273)](_0x5c52c5){const _0x1f73fc=_0x912252;return this['_unitStatus'][_0x1f73fc(0x2a7)](_0x5c52c5)||this[_0x1f73fc(0x29d)][_0x1f73fc(0x382)](_0x5c52c5,new _0x946ff9['BehaviorSubject'](_0x57d487[_0x1f73fc(0x412)][_0x1f73fc(0x248)])),this[_0x1f73fc(0x29d)][_0x1f73fc(0x2ae)](_0x5c52c5);}}var _0x36c03d=(_0x6dad8b=>(_0x6dad8b[_0x6dad8b[_0x912252(0x38e)]=0x0]=_0x912252(0x38e),_0x6dad8b[_0x6dad8b['OK']=0x1]='OK',_0x6dad8b[_0x6dad8b[_0x912252(0x454)]=0x2]=_0x912252(0x454),_0x6dad8b[_0x6dad8b[_0x912252(0x2eb)]=0x3]='PERMISSION_DENIED',_0x6dad8b[_0x6dad8b[_0x912252(0x2ea)]=0x4]=_0x912252(0x2ea),_0x6dad8b[_0x6dad8b[_0x912252(0x480)]=0x5]='UNAUTHENTICATED',_0x6dad8b[_0x6dad8b[_0x912252(0x3b8)]=0x6]=_0x912252(0x3b8),_0x6dad8b[_0x6dad8b[_0x912252(0x2d7)]=0x7]=_0x912252(0x2d7),_0x6dad8b[_0x6dad8b[_0x912252(0x3b0)]=0x8]=_0x912252(0x3b0),_0x6dad8b[_0x6dad8b[_0x912252(0x383)]=0x9]=_0x912252(0x383),_0x6dad8b[_0x6dad8b[_0x912252(0x36a)]=0xa]='LOGIN_FAILED',_0x6dad8b[_0x6dad8b[_0x912252(0x456)]=0x1389]=_0x912252(0x456),_0x6dad8b[_0x6dad8b[_0x912252(0x358)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x6dad8b[_0x6dad8b[_0x912252(0x39b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x6dad8b[_0x6dad8b[_0x912252(0x259)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x6dad8b[_0x6dad8b[_0x912252(0x3a2)]=0x1b59]=_0x912252(0x3a2),_0x6dad8b[_0x6dad8b[_0x912252(0x257)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x6dad8b[_0x6dad8b[_0x912252(0x205)]=0x1b5b]=_0x912252(0x205),_0x6dad8b[_0x6dad8b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x912252(0x2af),_0x6dad8b[_0x6dad8b['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x6dad8b[_0x6dad8b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x912252(0x3b2),_0x6dad8b[_0x6dad8b[_0x912252(0x244)]=0x2329]=_0x912252(0x244),_0x6dad8b[_0x6dad8b[_0x912252(0x24f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6dad8b[_0x6dad8b[_0x912252(0x469)]=0x232b]=_0x912252(0x469),_0x6dad8b[_0x6dad8b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x912252(0x44e),_0x6dad8b[_0x6dad8b[_0x912252(0x238)]=0x232d]=_0x912252(0x238),_0x6dad8b[_0x6dad8b[_0x912252(0x3f4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x6dad8b[_0x6dad8b[_0x912252(0x46f)]=0x2712]=_0x912252(0x46f),_0x6dad8b[_0x6dad8b[_0x912252(0x3a5)]=0x2713]=_0x912252(0x3a5),_0x6dad8b[_0x6dad8b[_0x912252(0x33e)]=0x2714]=_0x912252(0x33e),_0x6dad8b[_0x6dad8b[_0x912252(0x3e4)]=0x271a]=_0x912252(0x3e4),_0x6dad8b[_0x6dad8b[_0x912252(0x398)]=0x271b]=_0x912252(0x398),_0x6dad8b[_0x6dad8b[_0x912252(0x417)]=0x271c]=_0x912252(0x417),_0x6dad8b[_0x6dad8b[_0x912252(0x342)]=0x271d]=_0x912252(0x342),_0x6dad8b[_0x6dad8b['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x912252(0x36b),_0x6dad8b[_0x6dad8b[_0x912252(0x46a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x6dad8b[_0x6dad8b[_0x912252(0x426)]=0x2af9]=_0x912252(0x426),_0x6dad8b[_0x6dad8b[_0x912252(0x2fd)]=0x2ee1]=_0x912252(0x2fd),_0x6dad8b[_0x6dad8b[_0x912252(0x218)]=0x2ee2]='INVALID_INVITE_CODE',_0x6dad8b[_0x6dad8b[_0x912252(0x2b6)]=0x2ee3]=_0x912252(0x2b6),_0x6dad8b[_0x6dad8b[_0x912252(0x379)]=0x2ee4]=_0x912252(0x379),_0x6dad8b[_0x6dad8b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x912252(0x2d4),_0x6dad8b[_0x6dad8b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x912252(0x3e8),_0x6dad8b[_0x6dad8b[_0x912252(0x47d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x6dad8b[_0x6dad8b[_0x912252(0x431)]=0x32cb]=_0x912252(0x431),_0x6dad8b[_0x6dad8b[_0x912252(0x339)]=-0x1]=_0x912252(0x339),_0x6dad8b))(_0x36c03d||{}),_0x1c4288=Object['getOwnPropertyDescriptor'],_0x45861c=(_0x3eced6,_0x43dac7,_0x35340e,_0x2450cf)=>{const _0x44533e=_0x912252;for(var _0x3194a9=_0x2450cf>0x1?void 0x0:_0x2450cf?_0x1c4288(_0x43dac7,_0x35340e):_0x43dac7,_0xc00c58=_0x3eced6[_0x44533e(0x414)]-0x1,_0x59acf0;_0xc00c58>=0x0;_0xc00c58--)(_0x59acf0=_0x3eced6[_0xc00c58])&&(_0x3194a9=_0x59acf0(_0x3194a9)||_0x3194a9);return _0x3194a9;},_0x4ec22a=(_0x20adbd,_0x63fcf8)=>(_0xf9cc9a,_0x40af2c)=>_0x63fcf8(_0xf9cc9a,_0x40af2c,_0x20adbd);_0x2b6d0b[_0x912252(0x27e)]=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x466eb0,_0x398f14,_0x4a3fa9){const _0x2da755=_0x912252;super(),this[_0x2da755(0x462)]=_0x466eb0,this[_0x2da755(0x28f)]=_0x398f14,this['_configService']=_0x4a3fa9;}async[_0x912252(0x264)](_0x4512fc,_0x3cc769,_0x598455,..._0x207e52){const _0x1924eb=_0x912252;var _0x5786dd,_0x3067cf,_0x58a1dc,_0x357dcd;const _0x3ed4e8=this['_instanceService'][_0x1924eb(0x29c)]();if(!_0x3ed4e8)throw new Error(_0x1924eb(0x378));const _0x2b3050=((_0x5786dd=this['_configService'][_0x1924eb(0x3b5)](_0x57d487[_0x1924eb(0x30c)]))!=null?_0x5786dd:_0x57d487[_0x1924eb(0x304)])+'/'+_0x4512fc+_0x1924eb(0x44a)+_0x3cc769,_0x1911e5=new URL(window['location'][_0x1924eb(0x316)]),_0x4a371a={'scriptId':_0x4512fc,'runId':(_0x3067cf=_0x1911e5['searchParams'][_0x1924eb(0x2ae)](_0x1924eb(0x345)))!=null?_0x3067cf:'','function':_0x3cc769,'unitId':_0x3ed4e8[_0x1924eb(0x2e8)](),'argsOfFunction':JSON[_0x1924eb(0x40b)](_0x207e52),'invokeId':(_0x58a1dc=_0x598455[_0x1924eb(0x214)])!=null?_0x58a1dc:'','executionId':(_0x357dcd=_0x598455[_0x1924eb(0x47b)])!=null?_0x357dcd:''};try{const _0x180f07=await this[_0x1924eb(0x28f)][_0x1924eb(0x445)](_0x2b3050,{'body':_0x4a371a});return _0x180f07['body'][_0x1924eb(0x2b4)]&&_0x180f07['body'][_0x1924eb(0x2b4)][_0x1924eb(0x44d)]!==_0x36c03d['OK']?'Failed':_0x180f07['body'][_0x1924eb(0x204)];}catch{return _0x1924eb(0x2f5);}}},_0x2b6d0b['RemoteUniscriptService']=_0x45861c([_0x4ec22a(0x0,_0x468931['IUniverInstanceService']),_0x4ec22a(0x1,_0x468931[_0x912252(0x37e)](_0x10caf6['HTTPService'])),_0x4ec22a(0x2,_0x468931['IConfigService'])],_0x2b6d0b[_0x912252(0x27e)]),_0x2b6d0b[_0x912252(0x2ef)]=_0x3ce189,_0x2b6d0b[_0x912252(0x2ba)]=_0x36a885,_0x2b6d0b['SheetCollabCursorShape']=_0x2b188b,_0x2b6d0b[_0x912252(0x317)]=_0x14e0a4,_0x2b6d0b[_0x912252(0x290)]=_0x27a589,Object[_0x912252(0x2c3)](_0x2b6d0b,Symbol[_0x912252(0x3e0)],{'value':_0x912252(0x34f)});}));function _0x44a6(_0x1f82fe,_0x5c8979){const _0x567f03=_0x567f();return _0x44a6=function(_0x44a656,_0x5825ee){_0x44a656=_0x44a656-0x1f3;let _0xcbe6b9=_0x567f03[_0x44a656];return _0xcbe6b9;},_0x44a6(_0x1f82fe,_0x5c8979);}function _0x567f(){const _0x20ab16=['_handleEvent','useDependency','setItem','CollaborationController','SetWorksheetActivateCommand','setConfig','textRanges','getMergeData','DocSelectionManagerService','addObjects','stringify','_getMergeRange','values','_docTransformIMECacheService','CollaborationStatus','onLocalMutation','moveTo','UnitStatus','_name','length','black','sessionTicket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','operators','transformByState','evenodd','dispose$','collab-rect-range-','subscribeEvent','#FFF','getCoordByCell','getStateCache','ILocalCacheService','JOIN_ROOM_FAILED','transform','handleIRemoveRow','MoveRangeCommandId','PY_RUNTIME_SCRIPT_ERROR','_beforeCloseService','131916AbZQEo','actions','ticket','RECT','collabCursorState$','toDisposable','replace','fromEventSubject','assignAColorForMemberID','EMAIL_HAS_BEEN_BOUND','_updateURLWithCurrentState','onMouseMove','CollaborationUIEventId','IUIPartsService','unload','univer-flex\x20univer-items-center','m2Prime','off-line-icon_clip0_910_343','replaceState','_refreshCollabCursors','transformMutationsWithChangeset','params','onPointerLeave$','transformSelections','Rect','RemoveRowCommandId','with','_onCursorUpdate','clipPath','post','disableLocalCache','_updateLocalCursor','amd','TEXT','/run/','[CollaborationDataLoaderController]','event$','code','LICENSE_EXPORT_SIZE_EXCEEDED','next','fillRule','OFFLINE','getCurrentSelections','RichTextEditingMutation','INTERNAL_ERROR','_handleHover','CHANGESET_REVISION_CONFILICT','_injector','_labelPosition','onRendered','6CMzNjd','_unitOnClients','getCurrent','ColorKit','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','displayName','TEXT_RANGE_LAYER_INDEX','switchMap','_instanceService','sessionStatus$','range','newValue','attrs','univerjs-icon\x20univerjs-icon-','type','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_AI_RUN_FAILED','executeCommand','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','doc.mutation.rich-text-editing','WebSocketService','YUUMI_URL_COL_OUT_OF_RANGE','SUBMIT_CHANGESET_TIMEOUT','Optional','_session','redoState','_removeCollabCursors','UNIVER_DOC','CollaborationSessionService','@univerjs/drawing','_handleJoinEvent','react','pushState','executionId','IUniverInstanceService','MOBILE_HAS_BEEN_BOUND','mutations','reconnect','UNAUTHENTICATED','sheetID','green.600','object','UniverIcon','colorChannel1','AWAITING','...','_send','touchDependencies','eventID','DEFAULT_WS_SESSION_TICKET_URL','_drawRectRange','_initEntityListener','_init','getMember','uni.network.url-service','getSheetBySheetId','_hovered','clearTimeout','MessageType','getLocalCacheKey','UniverProCollaboration','delete','syncEditingCollabCursor','getItem','origin','Injector','registerRefRange','UNIVER_SHEET','_entities','_initStatusComponent','CollaborationEvent','getCellPositionByOffset','result','APPLY_REVISION_CONFILICT','mask','DeleteRangeMoveUpCommandId','getRelativeToViewportCoord','currentSkeleton$','CollaborationUIEventService','UniverEngineRender','_saveCache','transformIMECache','saveTaskMap','restore','editingUnit','_cursorInfo$','DocStateChangeManagerService','backgroundColor','invokeId','none','RegularPolygon','_collaborationUIEventService','INVALID_INVITE_CODE','top','jsx','handleDeleteRangeMoveLeft','react/jsx-runtime','createElement','setStateCache','30LJKaOG','location','UniverSheets','collabStatus.conflict','registerComponent','_scheduleClearOtherTimer','HTTPService','DocIMEInputManagerService','_docSkeleton','bottom','exhaustSavingTask','NOT_COLLAB','DeleteRangeMoveLeftCommandId','subunit','url(#on-line-icon_clip0_910_349)','@univerjs/sheets-ui','_scheduleSaving','entityInit$','_notificationService','_cachedData','createInstance','SetTextSelectionsOperation','hide','getOwnPropertySymbols','http://www.w3.org/2000/svg','LICENSE_DISTRO_REJECTED','BehaviorSubject','_docTransformStateCacheService','_messageService','getActiveSheet','UPDATE_CURSOR','arc','_toggleOnline','_document','deepClone','replaceDocRanges','round','LICENSE_MAX_UNITS_EXCEEDED','clearInterval','rxjs','yellow.400','NO_OTHER_CLIENTS_EDITING','_localCacheService','merge','_collabCursorController','MUTATION','Tools','18JxzhwP','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','selections','requireSession','pipe','jiqing.500','handleInsertCol','_docTransformSelectionsService','registerBeforeClose','APPLY_NON_SEQUENTIAL_REVISION','InsertRangeMoveDownCommandId','ENSURE_SNAPSHOT_EXECUTION','_initEvent','_registerRenderDependencies','IConfigService','640456dLWMZq','unitId','permission.title','getVpScrollXYInfoByPosToVp','USERS_LEAVE','save','defs','runOnServer','VIEW_MAIN','_setupSubUnitSync','split','_getSheetObject','_urlService','ranges','_getAnchorBounding','CollaborationDataLoaderController','UniverSheetsUi','_render','_renderManagerService','max','@univerjs/core','_startDocCollabCursor','_ensureSubject','key','_anchorDot','ONLINE','transformStateCache','disposeUnit','removeParam','@univerjs/rpc','InsertRowCommandId','_cursorShapes','undoState','RemoteUniscriptService','_getSaveTimeout','transformRemoteChangeset','collab-client.tooltip.reconnect','Warning','RemoveColCommandId','map','getCurrentRevOfUnit','Error','setTimeout','Plugin','getOwnPropertyDescriptor','filter','_themeService','useRef','_collabCursorState$','NodePositionConvertToRectRange','_httpService','WebURLService','_color','_colorAssignService','data','SYNCED','currentTheme$','handleIRemoveCol','OTHER_CLIENTS_EDITING','m1Prime','setShapeProps','_handleLeaveEvent','collab-text-range-','getFocusedUnit','_unitStatus','find','_collaborationController','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','source','jsxs','242BtrMmS','div','svg','_updateSubUnitFromURLParams','has','RevisionService','_cursors','SetDocZoomRatioOperation','_registerDependencies','unitID','0\x200\x2016\x2016','get','APPLY_PERMISSION_DENIED','_docStateChangeManagerService','handleDeleteRangeMoveUp','@univerjs/engine-formula','UniverCollaborationClientPlugin','error','_heartbeatTimer','INVITE_CODE_REQUIRED','generateRandomId','_cursor','body','IURLService','LocaleService','urlChange$','icon','getViewport','_localeService','M0\x200H16V16H0z','IMessageService','IBeforeCloseService','defineProperty','skeleton','_docSyncEditingCollabCursorService','_uiPartsService','CommandType','history','UniverNetwork','@univerjs/network','focused$','updateOfflineData','_transformHistoryAndStateStack','COLORS','TRANSFORM_CHANGE_OBSERVABLE_TYPE','string','_transformUndoRedoStack','_removeClearOtherTimer','_refRangeService','INVITE_CODE_ALREADY_BOUND','isArray','activeSheet$','INVALID_ARGUMENT','483010WDNomD','indexOf','contains','Vector2','makeDirty','_transformPreviousActiveRange','_scheduleHeartbeat','handleMoveRange','_anchor','CONFLICT','resize','collab-text-anchor-','trim','getTypeOfUnitAdded$','_sheetSkeletonManagerService','getColor','getUnitId','init','NOT_FOUND','PERMISSION_DENIED','onPointerMove$','fillText','_initDependencies','CollaborationStatusDisplay','deserializeRangeWithSheet','color','session.connection-failed','UniverEngineFormula','_getSessionTicket','Failed','popstate','UniverDocsUi','handleInsertRangeMoveDown','url(#$1','_backgroundColor','wsSessionTicketUrl','forEach','INVITE_CODE_HAS_BEEN_UES','getSheetId','_selfUnitIDs','xlink:href','Rectangle','_toggleOffline','3621272fBaSsM','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverProCollaborationClient','collaboration-client.offline-data-not-saved','startRow','className','hasOwnProperty','_textBubble','getParam','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocCollaborationEntity','currentColor','_online','search','_imageIoService','_draw','saveOfflineData','transformMutation','ISnapshotServerService','href','WebBrowserSingleActiveUnitService','_transformService','function','getValue','_univerInstanceService','_revisionService','getSheetObject','addObject','triggerDblclick','FromArray','FETCH_MISS','getMemberID','column','toString','_shapes','getUniverSheetInstance','handleInsertRangeMoveRight','DataLoaderService','UniverInstanceType','ISocketService','SetSelectionsOperation','_updateCollabCursors','show','isTransformMutationsWithChangesetSuccess','_colorIndex','_memberService','_config','_dataLoaderService','findNodePositionByCharIndex','min','UniverDocs','complete','isTransformMutationFailure','_entityInit$','UNRECOGNIZED','_initResize','SHEET_VIEWPORT_KEY','shareReplay','BrowserCollaborationSocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','drawWith','IRemoteInstanceService','then','YUUMI_ALL_TABLES_IS_INVALID','debounce','blue.400','runId','_eventUnsubscribe','_lastPointer','@univerjs/sheets','UniverUi','DOC_RANGE_TYPE','fromEvent','flatMap','pluginName','Unknown\x20user','Module','DisposableCollection','_startSheetCollabCursor','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','unshift','_clearOtherTimers','_collabSessionService','collabStatus.fetchMiss','_configService','SNAPSHOT_INVALID_SNAPSHOT','onPointerEnter$','ILogService','AWAITING_WITH_PENDING','DependentOn','imageSourceType','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','text','_hover','getCollabEntity$','substring','_saveTaskMap','ACTIVE_UNIT_EVENT_CHANNEL','font','on-line-icon_clip0_910_349','white','collaboration.closeRoom','all','LOGIN_FAILED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','red.300','DesktopCollaborationStatusDisplayController','_disabled','searchParams','idSuffix','CLOSE_ROOM','_hideTimer','collabStatus.notCollab','_assignedColors','UniverRpc','660537IVgvQO','getSkeleton','[RemoteUniscriptService]:\x20no\x20focused\x20unit','USER_NOT_INVITED_CODE','InsertColCommandId','propertyIsEnumerable','_docSkeletonManagerService','_roomMembers$','Inject','debug','onTransformChange$','push','set','COMPLETION_FINISHED','React','_range','path','rxjs/operators','_handleHeartbeatEvent','registerRenderModule','startColumn','IRenderManagerService','subscribe','1491105NpimeH','UNDEFINED','_onRefRangeChange','call','_commandService','loadUnit','MemberService','distinctUntilChanged','override','_logService','cursorInfo$','YUUMI_ASYNCIO_CANCELLED','_onCursorDelete','getRenderById','SNAPSHOT_HAS_BEEN_REMOVED','getUndoRedoMutationParamsCache','_id','session.will-retry','_status$','unsubscribe','OTHER_CLIENT_EDITING','APPLY_REJECT','_drawTextRange','ThemeService','YUUMI_RATE_OVER_LIMIT','getCollabCursors$','takeUntil','fillStyle','closePath','engine','@univerjs/design','asObservable','includes','dispose','on-line-icon','TOO_MANY_REQUESTS','collabStatus.offline','CONNECTOR_DATA_TOO_LARGE','setInterval','_setupBeforeClosingHandler','getConfig','getColorFromTheme','children','ALREADY_EXISTS','name','RxDisposable','_scene','130LpUngO','size','lineTo','LOCAL_CACHE_INTERVAL_KEY','@univerjs/ui','roomMembers','RefRangeService','@univerjs/docs-ui','tag','_localStorageService','_createSocketURL','collaboration-client-ui.config','SheetsSelectionsService','getAncestorScale','selection','assign','loadOfflineData','runRefRangeMutations','univer-flex\x20univer-mr-2\x20univer-text-xl','setUndoRedoMutationParamsCache','roomMembers$','getRangePointData','@univerjs-pro/collaboration-client','row','add','isActive','application/json','_syncEditingCollabCursorService','disposeWithMe','defIds','1em','_initStatusListener','Disposable','hovered','height','@univerjs/docs','toStringTag','SessionStatus','_context','UniverProCollaborationClientUi','YUUMI_NO_CUBOID_FOR_QUESTION','SOCKET_FAILED_RETRY','parse','EffectRefRangId','WECHAT_HAS_BEEN_BOUND','_docClipboardService','handleInsertRow','prototype','send','rgba(255,\x20255,\x20255,\x200.01)','_getScale','getDocRanges','cursorInfo','934972WOvYYg','fill','ITransformService','YUUMI_UNABLE_LOAD_URL','setAlpha','UniverCollaborationClientUIPlugin','onCommandExecuted','concat','from','ICommandService','combineLatest','measureText','width','@univerjs/engine-render','mapTo','forwardRef'];_0x567f=function(){return _0x20ab16;};return _0x567f();}
1
+ (function(_0x125f85,_0x4a3a5a){const _0x48d32b=_0x3464,_0x10457c=_0x125f85();while(!![]){try{const _0x332fba=parseInt(_0x48d32b(0x315))/0x1*(parseInt(_0x48d32b(0x259))/0x2)+-parseInt(_0x48d32b(0x1f1))/0x3+parseInt(_0x48d32b(0x20b))/0x4+-parseInt(_0x48d32b(0x1fc))/0x5*(-parseInt(_0x48d32b(0x1df))/0x6)+parseInt(_0x48d32b(0x448))/0x7+parseInt(_0x48d32b(0x2af))/0x8+parseInt(_0x48d32b(0x21f))/0x9*(-parseInt(_0x48d32b(0x34c))/0xa);if(_0x332fba===_0x4a3a5a)break;else _0x10457c['push'](_0x10457c['shift']());}catch(_0x55731b){_0x10457c['push'](_0x10457c['shift']());}}}(_0x3d7f,0x53cd2),function(_0x478224,_0x86795a){const _0x51f3e5=_0x3464;typeof exports==_0x51f3e5(0x34e)&&typeof module<'u'?_0x86795a(exports,require(_0x51f3e5(0x3d8)),require(_0x51f3e5(0x1cb)),require(_0x51f3e5(0x279)),require(_0x51f3e5(0x310)),require(_0x51f3e5(0x35c)),require('@univerjs/drawing'),require(_0x51f3e5(0x3b0)),require('@univerjs/docs'),require(_0x51f3e5(0x351)),require(_0x51f3e5(0x247)),require(_0x51f3e5(0x331)),require(_0x51f3e5(0x25a)),require(_0x51f3e5(0x2bd)),require('react/jsx-runtime'),require(_0x51f3e5(0x1f9)),require(_0x51f3e5(0x2e1)),require(_0x51f3e5(0x1fb)),require(_0x51f3e5(0x44d))):typeof define==_0x51f3e5(0x301)&&define[_0x51f3e5(0x1d1)]?define([_0x51f3e5(0x457),_0x51f3e5(0x3d8),_0x51f3e5(0x1cb),_0x51f3e5(0x279),_0x51f3e5(0x310),_0x51f3e5(0x35c),_0x51f3e5(0x360),'rxjs',_0x51f3e5(0x23a),_0x51f3e5(0x351),_0x51f3e5(0x247),_0x51f3e5(0x331),_0x51f3e5(0x25a),_0x51f3e5(0x2bd),_0x51f3e5(0x33f),'@univerjs/ui',_0x51f3e5(0x2e1),_0x51f3e5(0x1fb),_0x51f3e5(0x44d)],_0x86795a):(_0x478224=typeof globalThis<'u'?globalThis:_0x478224||self,_0x86795a(_0x478224[_0x51f3e5(0x261)]={},_0x478224[_0x51f3e5(0x444)],_0x478224[_0x51f3e5(0x1dd)],_0x478224['UniverEngineRender'],_0x478224['UniverNetwork'],_0x478224['UniverDocsUi'],_0x478224['UniverDrawing'],_0x478224[_0x51f3e5(0x3b0)],_0x478224[_0x51f3e5(0x3e3)],_0x478224[_0x51f3e5(0x2a5)],_0x478224['UniverEngineFormula'],_0x478224[_0x51f3e5(0x283)],_0x478224['rxjs']['operators'],_0x478224[_0x51f3e5(0x2a7)],_0x478224[_0x51f3e5(0x273)],_0x478224[_0x51f3e5(0x3a0)],_0x478224[_0x51f3e5(0x2ce)],_0x478224[_0x51f3e5(0x273)],_0x478224[_0x51f3e5(0x42f)]));}(this,function(_0x4cf9f1,_0x51ae97,_0x23cfa0,_0x188338,_0x99d8d6,_0x27e66a,_0x3ef818,_0x1425de,_0x3bc28d,_0x46d1ab,_0x1ef071,_0x28fbd1,_0x209049,_0x270a77,_0x561a21,_0x30ac71,_0x306647,_0x5c9659,_0x154a8a){'use strict';const _0xf94d15=_0x3464;var _0x41f11c=Object['defineProperty'],_0x72ead0=(_0x7dfb98,_0x3d5321,_0xc91231)=>_0x3d5321 in _0x7dfb98?_0x41f11c(_0x7dfb98,_0x3d5321,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc91231}):_0x7dfb98[_0x3d5321]=_0xc91231,_0x6a5a04=(_0x3f6eed,_0x309b3d,_0x31cf8e)=>_0x72ead0(_0x3f6eed,typeof _0x309b3d!=_0xf94d15(0x348)?_0x309b3d+'':_0x309b3d,_0x31cf8e),_0x2d329e=Object['getOwnPropertyDescriptor'],_0x11a73e=(_0x2bb6a3,_0x557e45,_0x410f3f,_0x4bf477)=>{const _0x1aea61=_0xf94d15;for(var _0x2977e4=_0x4bf477>0x1?void 0x0:_0x4bf477?_0x2d329e(_0x557e45,_0x410f3f):_0x557e45,_0x22c1a3=_0x2bb6a3[_0x1aea61(0x354)]-0x1,_0x498c0b;_0x22c1a3>=0x0;_0x22c1a3--)(_0x498c0b=_0x2bb6a3[_0x22c1a3])&&(_0x2977e4=_0x498c0b(_0x2977e4)||_0x2977e4);return _0x2977e4;},_0x1f82a7=(_0x49352e,_0x353f72)=>(_0x599062,_0x3bd3e8)=>_0x353f72(_0x599062,_0x3bd3e8,_0x49352e);let _0x34fb25=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x287546,_0x1f02e4){const _0x57646d=_0xf94d15;super(),this[_0x57646d(0x208)]=_0x287546,this['_imageIoService']=_0x1f02e4,this[_0x57646d(0x32b)]();}[_0xf94d15(0x32b)](){const _0x5e9ca9=_0xf94d15,_0x399a83=this;this['disposeWithMe'](this[_0x5e9ca9(0x208)]['addClipboardHook']({'onBeforePasteImage':async _0x41a02c=>{const _0x56b1a3=_0x5e9ca9,_0x4338b3=await _0x399a83[_0x56b1a3(0x418)][_0x56b1a3(0x379)](_0x41a02c);return _0x4338b3?{'source':_0x4338b3[_0x56b1a3(0x29c)],'imageSourceType':_0x4338b3[_0x56b1a3(0x330)]}:null;}}));}};_0x34fb25=_0x11a73e([_0x1f82a7(0x0,_0x27e66a[_0xf94d15(0x302)]),_0x1f82a7(0x1,_0x3ef818[_0xf94d15(0x2b1)])],_0x34fb25);const _0x1b153d=[_0xf94d15(0x41a),_0xf94d15(0x311),_0xf94d15(0x2ab),_0xf94d15(0x447),_0xf94d15(0x43c),_0xf94d15(0x440)];class _0x78b02d extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(){const _0x51ccae=_0xf94d15;super(...arguments),_0x6a5a04(this,_0x51ccae(0x213),new Map()),_0x6a5a04(this,'_colorIndex',0x0);}[_0xf94d15(0x280)](_0x4539ff){const _0x59d6fa=_0xf94d15;if(this['_assignedColors'][_0x59d6fa(0x3a2)](_0x4539ff))return this['_assignedColors'][_0x59d6fa(0x417)](_0x4539ff);const _0x455edb=_0x1b153d[this[_0x59d6fa(0x35b)]];return this[_0x59d6fa(0x35b)]=(this['_colorIndex']+0x1)%_0x1b153d[_0x59d6fa(0x354)],this[_0x59d6fa(0x213)]['set'](_0x4539ff,_0x455edb),_0x455edb;}}function _0x2487c9(_0x18daa4){const _0x3d7e10=_0xf94d15;let _0x4114dd='';for(const _0x28f4de of _0x18daa4){const {startOffset:_0x393f03,endOffset:_0x53250e,isActive:_0x2464f2,rangeType:_0x56ec66,segmentId:_0x165e3b,segmentPage:_0x1f16c4}=_0x28f4de;_0x4114dd[_0x3d7e10(0x354)]&&(_0x4114dd+=','),_0x4114dd+=_0x393f03+':'+_0x53250e+':'+(_0x2464f2?'1':'0')+':'+_0x56ec66+':'+_0x165e3b+':'+_0x1f16c4;}return _0x4114dd;}function _0x4eef5e(_0x46656a){const _0x625147=_0xf94d15,_0x583690=_0x46656a['split'](','),_0x183b3a=[];for(const _0x4b2070 of _0x583690){const [_0x155860,_0x24a2ed,_0x3354dd,_0x1ad351,_0x3dadbd,_0x251740]=_0x4b2070[_0x625147(0x438)](':');_0x183b3a['push']({'startOffset':Number(_0x155860),'endOffset':Number(_0x24a2ed),'collapsed':_0x155860===_0x24a2ed,'isActive':_0x3354dd==='1','rangeType':_0x1ad351===_0x23cfa0['DOC_RANGE_TYPE'][_0x625147(0x3e6)]?_0x23cfa0[_0x625147(0x26b)][_0x625147(0x3e6)]:_0x23cfa0[_0x625147(0x26b)][_0x625147(0x456)],'segmentId':typeof _0x3dadbd==_0x625147(0x230)?String(_0x3dadbd):'','segmentPage':Number(_0x251740!=null?_0x251740:-0x1)});}return _0x183b3a['some'](_0x5d071b=>_0x5d071b[_0x625147(0x392)])||(_0x183b3a[0x0][_0x625147(0x392)]=!0x0),_0x183b3a;}class _0x47f3a0 extends _0x23cfa0['RxDisposable']{constructor(){const _0x1c0088=_0xf94d15;super(...arguments),_0x6a5a04(this,'_collabCursorState$',new _0x1425de[(_0x1c0088(0x41c))](null)),_0x6a5a04(this,'collabCursorState$',this[_0x1c0088(0x2fa)][_0x1c0088(0x27c)]());}[_0xf94d15(0x35e)](_0x42b10b){const _0x5946fb=_0xf94d15,{unitID:_0x3a009f,memberID:_0x569b2c,textRanges:_0x12421}=_0x42b10b,_0x4fabd1=_0x2487c9(_0x12421);if(_0x4fabd1==='')return;const _0x5ac587={'unitID':_0x3a009f,'memberID':_0x569b2c,'selection':_0x4fabd1};this[_0x5946fb(0x2fa)][_0x5946fb(0x3d9)](_0x5ac587);}}var _0x406aad=Object[_0xf94d15(0x1e6)],_0x346119=(_0x57f122,_0x483377,_0x44a6a7,_0xbbbff6)=>{const _0x1040da=_0xf94d15;for(var _0x23b1f3=_0xbbbff6>0x1?void 0x0:_0xbbbff6?_0x406aad(_0x483377,_0x44a6a7):_0x483377,_0x504b22=_0x57f122[_0x1040da(0x354)]-0x1,_0x1efaf3;_0x504b22>=0x0;_0x504b22--)(_0x1efaf3=_0x57f122[_0x504b22])&&(_0x23b1f3=_0x1efaf3(_0x23b1f3)||_0x23b1f3);return _0x23b1f3;},_0x541ae8=(_0x5bfb60,_0x4988a6)=>(_0x5063f0,_0x45639d)=>_0x4988a6(_0x5063f0,_0x45639d,_0x5bfb60);const _0x1baf7c=0x12c,_0x5c3af7=0x64;let _0x233c95=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x2af58a,_0x34e74c,_0x59c80d,_0xb5e8eb,_0x56b919,_0x21bc6c,_0x1eafe0,_0x4ea1b8,_0x3688b6){const _0x443c3b=_0xf94d15;super(),_0x6a5a04(this,_0x443c3b(0x365),!0x1),_0x6a5a04(this,_0x443c3b(0x32b),!0x1),_0x6a5a04(this,_0x443c3b(0x381),new _0x1425de[(_0x443c3b(0x41c))](new Map())),_0x6a5a04(this,_0x443c3b(0x27a),this[_0x443c3b(0x381)][_0x443c3b(0x27c)]()),_0x6a5a04(this,_0x443c3b(0x27e),new _0x1425de['BehaviorSubject']([])),_0x6a5a04(this,_0x443c3b(0x377),this[_0x443c3b(0x27e)]['pipe'](_0x1425de[_0x443c3b(0x40c)](_0x1baf7c))),_0x6a5a04(this,_0x443c3b(0x2ed),_0x23cfa0[_0x443c3b(0x24d)](_0x47920f=>{const _0x4f5f04=_0x443c3b,_0xb927a3={'eventID':_0x46d1ab[_0x4f5f04(0x452)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x2487c9(_0x47920f)}};this[_0x4f5f04(0x36d)]['send'](_0xb927a3,this[_0x4f5f04(0x2de)]);},_0x5c3af7)),(this[_0x443c3b(0x2de)]=_0x2af58a,this[_0x443c3b(0x36d)]=_0x34e74c,this[_0x443c3b(0x443)]=_0x59c80d,this['_colorAssignService']=_0xb5e8eb,this['_memberService']=_0x56b919,this['_syncEditingCollabCursorService']=_0x21bc6c,this[_0x443c3b(0x40d)]=_0x1eafe0,this[_0x443c3b(0x30c)]=_0x4ea1b8,this['_commandService']=_0x3688b6);}get['cursorInfo'](){const _0x263b38=_0xf94d15;return this[_0x263b38(0x381)][_0x263b38(0x389)]();}get['roomMembers'](){const _0x3ee497=_0xf94d15;return this[_0x3ee497(0x27e)][_0x3ee497(0x389)]();}[_0xf94d15(0x38a)](){const _0x507a94=_0xf94d15;super[_0x507a94(0x38a)](),this[_0x507a94(0x381)][_0x507a94(0x3d9)](new Map()),this[_0x507a94(0x381)][_0x507a94(0x2a6)](),this[_0x507a94(0x27e)][_0x507a94(0x3d9)]([]),this[_0x507a94(0x27e)][_0x507a94(0x2a6)]();}[_0xf94d15(0x1f3)](){const _0x158b43=_0xf94d15;this['_init']||(this[_0x158b43(0x32b)]=!0x0,this['_session'][_0x158b43(0x1ca)][_0x158b43(0x41e)](_0x1425de[_0x158b43(0x3e4)](this[_0x158b43(0x391)]))[_0x158b43(0x2a8)](_0x3ed690=>{const _0x494615=_0x158b43;_0x3ed690===_0x51ae97[_0x494615(0x1da)]['ONLINE']?this[_0x494615(0x299)]():this[_0x494615(0x251)]();}),this[_0x158b43(0x36d)]['event$']['pipe'](_0x1425de[_0x158b43(0x3e4)](this[_0x158b43(0x391)]))[_0x158b43(0x2a8)](_0x55c5d1=>{const _0x23b667=_0x158b43,_0x55711d=_0x55c5d1[_0x23b667(0x262)];_0x55711d===_0x46d1ab[_0x23b667(0x452)]['UPDATE_CURSOR']&&this[_0x23b667(0x295)](_0x55c5d1),_0x55711d===_0x46d1ab['CollaborationEvent']['USERS_LEAVE']&&this[_0x23b667(0x421)](_0x55c5d1);}),this[_0x158b43(0x340)](this[_0x158b43(0x1cd)]['onCommandExecuted'](_0x12d3fb=>{const _0x542fcc=_0x158b43,_0x3d152c=_0x12d3fb[_0x542fcc(0x41f)];_0x3d152c!=null&&this['_online']&&_0x12d3fb['id']===_0x3bc28d[_0x542fcc(0x339)]['id']&&_0x3d152c[_0x542fcc(0x2b0)]===this[_0x542fcc(0x2de)]&&_0x3d152c[_0x542fcc(0x1d7)]===!0x1&&_0x3d152c[_0x542fcc(0x32a)][_0x542fcc(0x354)]>0x0&&this['_updateLocalCursor'](_0x3d152c[_0x542fcc(0x32a)]);})),this[_0x158b43(0x453)][_0x158b43(0x33d)][_0x158b43(0x41e)](_0x1425de[_0x158b43(0x3e4)](this['dispose$']))[_0x158b43(0x2a8)](_0x80e8b0=>{const _0x581efa=_0x158b43;if((_0x80e8b0==null?void 0x0:_0x80e8b0['unitID'])!==this[_0x581efa(0x2de)])return;const _0x1ad25b={'eventID':_0x46d1ab['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x80e8b0};this['_onCursorUpdate'](_0x1ad25b);}),this[_0x158b43(0x340)](this[_0x158b43(0x1cd)][_0x158b43(0x43e)](_0x29b6b1=>{const _0x47fb74=_0x158b43;if(_0x29b6b1[_0x47fb74(0x41f)]==null)return;const _0x5b4512=_0x29b6b1[_0x47fb74(0x41f)];if(_0x29b6b1['id']!==_0x3bc28d[_0x47fb74(0x3fd)]['id']||_0x5b4512['unitId']!==this[_0x47fb74(0x2de)])return;const _0x5e700e={'id':_0x47fb74(0x33b),'params':_0x5b4512},_0x22fdc7=this['cursorInfo'];for(const [_0x4543d1,_0x46926f]of _0x22fdc7){const _0x1a82b9={'id':_0x47fb74(0x33b),'params':{'unitId':this[_0x47fb74(0x2de)],'actions':null,'textRanges':_0x46926f['ranges']}},_0x5b1110=this[_0x47fb74(0x40d)][_0x47fb74(0x238)](_0x5e700e,_0x1a82b9,!0x1);if(_0x46d1ab['isTransformMutationFailure'](_0x5b1110))throw _0x5b1110[_0x47fb74(0x393)];_0x22fdc7['set'](_0x4543d1,{..._0x46926f,'ranges':_0x5b1110[_0x47fb74(0x246)][_0x47fb74(0x41f)][_0x47fb74(0x426)]});}queueMicrotask(()=>{const _0x29c4c8=_0x47fb74;this[_0x29c4c8(0x381)]['next'](_0x22fdc7);});})));}[_0xf94d15(0x295)](_0x6d6413){const _0x1e8403=_0xf94d15;var _0x1689d3,_0x17e49e;const {memberID:_0xf93ffe,selection:_0x43652f}=_0x6d6413[_0x1e8403(0x316)],_0x1f22c2=_0x4eef5e(_0x43652f),_0x56e3cd=(_0x17e49e=(_0x1689d3=this[_0x1e8403(0x31e)][_0x1e8403(0x222)](this[_0x1e8403(0x2de)],_0xf93ffe))==null?void 0x0:_0x1689d3['name'])!=null?_0x17e49e:_0x1e8403(0x2e8),_0x15f08c={'color':this[_0x1e8403(0x432)][_0x1e8403(0x280)](_0xf93ffe),'name':_0x56e3cd,'ranges':_0x1f22c2},_0x2e45c7=this[_0x1e8403(0x1f2)];_0x2e45c7[_0x1e8403(0x429)](_0xf93ffe,_0x15f08c),this[_0x1e8403(0x381)][_0x1e8403(0x3d9)](_0x2e45c7);}[_0xf94d15(0x421)](_0x3541ee){const _0x24d450=_0xf94d15,{memberID:_0x5a652d}=_0x3541ee[_0x24d450(0x316)],_0x215255=this[_0x24d450(0x1f2)];_0x215255[_0x24d450(0x2e7)](_0x5a652d),this[_0x24d450(0x381)]['next'](_0x215255);}[_0xf94d15(0x299)](){const _0x386649=_0xf94d15;var _0x6f3092;if(this[_0x386649(0x365)]=!0x0,((_0x6f3092=this[_0x386649(0x30c)][_0x386649(0x200)]())==null?void 0x0:_0x6f3092['getUnitId']())!==this[_0x386649(0x2de)])return;const _0x47e020=this[_0x386649(0x443)][_0x386649(0x417)](_0x3bc28d['DocSelectionManagerService'])[_0x386649(0x3c1)]();Array[_0x386649(0x2c7)](_0x47e020)&&_0x47e020['length']>0x0&&this['_updateLocalCursor'](_0x47e020);}[_0xf94d15(0x251)](){const _0x5156f1=_0xf94d15;this[_0x5156f1(0x365)]=!0x1;}};_0x233c95=_0x346119([_0x541ae8(0x2,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x1e4)])),_0x541ae8(0x3,_0x23cfa0['Inject'](_0x78b02d)),_0x541ae8(0x4,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x1f7)])),_0x541ae8(0x5,_0x23cfa0[_0xf94d15(0x24b)](_0x47f3a0)),_0x541ae8(0x6,_0x46d1ab[_0xf94d15(0x420)]),_0x541ae8(0x7,_0x23cfa0[_0xf94d15(0x1e2)]),_0x541ae8(0x8,_0x23cfa0['ICommandService'])],_0x233c95);var _0x471e52=Object['getOwnPropertyDescriptor'],_0x580c93=(_0x3aa0df,_0x488fe1,_0x521b34,_0x23dd94)=>{const _0x3fd074=_0xf94d15;for(var _0x29aece=_0x23dd94>0x1?void 0x0:_0x23dd94?_0x471e52(_0x488fe1,_0x521b34):_0x488fe1,_0x46305b=_0x3aa0df[_0x3fd074(0x354)]-0x1,_0x5a1018;_0x46305b>=0x0;_0x46305b--)(_0x5a1018=_0x3aa0df[_0x46305b])&&(_0x29aece=_0x5a1018(_0x29aece)||_0x29aece);return _0x29aece;},_0x5bff3b=(_0xc9ea2a,_0x3f83bc)=>(_0x493045,_0x289a52)=>_0x3f83bc(_0x493045,_0x289a52,_0xc9ea2a);const _0x337fd6=0x12c,_0x3e9e08=0x64,_0x4450b7=()=>{let _0x566a99=[],_0x204bb4=!0x1;return _0x280157=>{_0x566a99['push'](_0x280157),_0x204bb4||(_0x204bb4=!0x0,setTimeout(()=>{_0x566a99['forEach'](_0x535ab8=>_0x535ab8()),_0x566a99=[],_0x204bb4=!0x1;}));};};let _0x33f836=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x5bd581,_0x105f8c,_0x44eca2,_0x272e73,_0x13e53e,_0x3bfcfa,_0xb96d4d,_0x2634a4){const _0x65fcda=_0xf94d15;super(),_0x6a5a04(this,_0x65fcda(0x365),!0x1),_0x6a5a04(this,_0x65fcda(0x32b),!0x1),_0x6a5a04(this,_0x65fcda(0x381),new _0x1425de['BehaviorSubject'](new Map())),_0x6a5a04(this,_0x65fcda(0x27a),this[_0x65fcda(0x381)][_0x65fcda(0x27c)]()),_0x6a5a04(this,_0x65fcda(0x27e),new _0x1425de['BehaviorSubject']([])),_0x6a5a04(this,'roomMembers$',this[_0x65fcda(0x27e)][_0x65fcda(0x41e)](_0x1425de[_0x65fcda(0x40c)](_0x337fd6))),_0x6a5a04(this,_0x65fcda(0x2ed),_0x23cfa0['debounce']((_0x414acd,_0x5c9577)=>{const _0x5a91f7=_0x65fcda,_0x110534={'eventID':_0x46d1ab[_0x5a91f7(0x452)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x5a91f7(0x36d)][_0x5a91f7(0x394)](),'selection':_0x1ef071[_0x5a91f7(0x3c8)](_0x414acd,_0x5c9577[_0x5a91f7(0x225)])}};this[_0x5a91f7(0x36d)][_0x5a91f7(0x25d)](_0x110534,this[_0x5a91f7(0x2de)]);},_0x3e9e08)),(this[_0x65fcda(0x2de)]=_0x5bd581,this[_0x65fcda(0x36d)]=_0x105f8c,this[_0x65fcda(0x443)]=_0x44eca2,this['_colorAssignService']=_0x272e73,this[_0x65fcda(0x31e)]=_0x13e53e,this['_univerInstanceService']=_0x3bfcfa,this['_commandService']=_0xb96d4d,this[_0x65fcda(0x419)]=_0x2634a4);}get[_0xf94d15(0x1f2)](){const _0x419084=_0xf94d15;return this[_0x419084(0x381)][_0x419084(0x389)]();}get[_0xf94d15(0x224)](){const _0x31f1a8=_0xf94d15;return this['_roomMembers$'][_0x31f1a8(0x389)]();}[_0xf94d15(0x38a)](){const _0x4740ce=_0xf94d15;super[_0x4740ce(0x38a)](),this[_0x4740ce(0x381)][_0x4740ce(0x3d9)](new Map()),this[_0x4740ce(0x381)][_0x4740ce(0x2a6)](),this[_0x4740ce(0x27e)]['next']([]),this['_roomMembers$']['complete']();}[_0xf94d15(0x1f3)](){const _0x53528e=_0xf94d15;this[_0x53528e(0x32b)]||(this['_init']=!0x0,this[_0x53528e(0x36d)][_0x53528e(0x1ca)]['pipe'](_0x1425de[_0x53528e(0x3e4)](this['dispose$']))[_0x53528e(0x2a8)](_0x16554b=>{const _0x56ae97=_0x53528e;_0x16554b===_0x51ae97['SessionStatus'][_0x56ae97(0x2f4)]?this[_0x56ae97(0x299)]():this[_0x56ae97(0x251)]();}),this[_0x53528e(0x36d)][_0x53528e(0x2dc)][_0x53528e(0x41e)](_0x1425de['takeUntil'](this['dispose$']))[_0x53528e(0x2a8)](_0xca0e7a=>{const _0x4f8070=_0x53528e,_0x31becf=_0xca0e7a['eventID'];_0x31becf===_0x46d1ab[_0x4f8070(0x452)][_0x4f8070(0x304)]&&this[_0x4f8070(0x295)](_0xca0e7a),_0x31becf===_0x46d1ab['CollaborationEvent'][_0x4f8070(0x34f)]&&this[_0x4f8070(0x421)](_0xca0e7a);}),this[_0x53528e(0x2d6)](),this['disposeWithMe'](this[_0x53528e(0x1cd)]['onCommandExecuted'](_0x2a375d=>{const _0x3f6a0f=_0x53528e;if(this['_online']&&_0x2a375d['id']===_0x28fbd1[_0x3f6a0f(0x3c4)]['id']&&_0x2a375d[_0x3f6a0f(0x41f)][_0x3f6a0f(0x2b0)]===this[_0x3f6a0f(0x2de)]){const _0x5b0606=_0x2a375d[_0x3f6a0f(0x41f)];this['_updateLocalCursor'](_0x5b0606[_0x3f6a0f(0x249)],_0x5b0606[_0x3f6a0f(0x28e)][0x0]);}})));}[_0xf94d15(0x295)](_0x5e9a1a){const _0x3054b8=_0xf94d15;var _0x50b61f,_0xd5bc48;const {memberID:_0x3da700,selection:_0x19e2d6}=_0x5e9a1a[_0x3054b8(0x316)],{sheetName:_0x53138c,range:_0x268079}=_0x1ef071[_0x3054b8(0x1e1)](_0x19e2d6),_0xcb4826={'name':(_0xd5bc48=(_0x50b61f=this['_memberService'][_0x3054b8(0x222)](this['unitID'],_0x3da700))==null?void 0x0:_0x50b61f['name'])!=null?_0xd5bc48:_0x3054b8(0x2e8),'range':this[_0x3054b8(0x220)](_0x53138c,_0x268079),'sheetID':_0x53138c,'color':this[_0x3054b8(0x432)][_0x3054b8(0x280)](_0x3da700),'selection':_0x19e2d6},_0x257d3e=this[_0x3054b8(0x1f2)];_0x257d3e[_0x3054b8(0x429)](_0x3da700,_0xcb4826),this[_0x3054b8(0x381)][_0x3054b8(0x3d9)](_0x257d3e);}[_0xf94d15(0x421)](_0x22c441){const _0x4f71b6=_0xf94d15,{memberID:_0x555166}=_0x22c441['data'],_0x5daa8b=this[_0x4f71b6(0x1f2)];_0x5daa8b[_0x4f71b6(0x2e7)](_0x555166),this[_0x4f71b6(0x381)][_0x4f71b6(0x3d9)](_0x5daa8b);}[_0xf94d15(0x220)](_0x1bff2c,_0x5be98e){const _0x25c690=_0xf94d15;var _0x171afd,_0x11d9eb;const _0x7ae6d8=(_0x11d9eb=(_0x171afd=this['_univerInstanceService'][_0x25c690(0x300)](this['unitID']))==null?void 0x0:_0x171afd[_0x25c690(0x44c)](_0x1bff2c))==null?void 0x0:_0x11d9eb['getMergeData']();return(_0x7ae6d8==null?void 0x0:_0x7ae6d8['find'](_0x406ff5=>_0x23cfa0[_0x25c690(0x423)][_0x25c690(0x2e3)](_0x406ff5,_0x5be98e)))||_0x5be98e;}[_0xf94d15(0x2d6)](){const _0x4c990e=_0xf94d15,_0x261375=new _0x23cfa0['DisposableCollection'](),_0x566b14=_0x4450b7(),_0x571e6d=()=>{const _0x86d7a6=_0x3464;_0x261375[_0x86d7a6(0x38a)]();const _0xfe56d=(_0x42fd66,_0x2f2fc6,_0x376954,_0x1e64c0)=>{const _0xb8020b=_0x86d7a6;let _0x476019=[];switch(_0x42fd66['id']){case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x410)]:{_0x476019=_0x28fbd1[_0xb8020b(0x2a4)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x2ca)]:{_0x476019=_0x28fbd1['handleDeleteRangeMoveUp'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1['EffectRefRangId']['InsertColCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x243)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x38d)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x3db)]:{_0x476019=_0x28fbd1['handleInsertRangeMoveRight'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x2f6)]:{_0x476019=_0x28fbd1[_0xb8020b(0x29f)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x37d)]:{_0x476019=_0x28fbd1['handleMoveRange'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x202)]:{_0x476019=_0x28fbd1[_0xb8020b(0x363)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)]['RemoveRowCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x24c)](_0x42fd66,_0x1e64c0);break;}}const _0x567e43=_0x28fbd1[_0xb8020b(0x2f2)](_0x476019,_0x1e64c0),_0x4d252e=this[_0xb8020b(0x1f2)]['get'](_0x2f2fc6);if(_0x4d252e&&_0x567e43){const _0x1ae8dd={..._0x4d252e,'range':_0x567e43};this[_0xb8020b(0x1f2)][_0xb8020b(0x429)](_0x2f2fc6,_0x1ae8dd),_0x566b14(()=>{const _0x85b908=_0xb8020b,_0x119ee5=this[_0x85b908(0x419)]['registerRefRange'](_0x567e43,_0x513b0e=>(_0x119ee5['dispose'](),_0xfe56d(_0x513b0e,_0x2f2fc6,_0x376954,_0x567e43)));_0x261375[_0x85b908(0x241)](_0x119ee5);});}return{'redos':[],'undos':[]};};this[_0x86d7a6(0x1f2)][_0x86d7a6(0x403)]((_0xbba185,_0x1c7dad)=>{const _0x58718b=_0x86d7a6,{range:_0x2004b4,sheetID:_0x21cfb2}=_0xbba185,_0x3fd7bf=this[_0x58718b(0x419)][_0x58718b(0x328)](_0x2004b4,_0x412948=>(_0x3fd7bf[_0x58718b(0x38a)](),_0xfe56d(_0x412948,_0x1c7dad,_0x21cfb2,_0x2004b4)));_0x261375['add'](_0x3fd7bf);});};this[_0x4c990e(0x340)](_0x23cfa0[_0x4c990e(0x357)](this['_cursorInfo$'][_0x4c990e(0x2a8)](()=>{_0x571e6d();})));}[_0xf94d15(0x299)](){const _0xeb8452=_0xf94d15;var _0x952fe0,_0x4931da;if(this[_0xeb8452(0x365)]=!0x0,((_0x952fe0=this['_univerInstanceService'][_0xeb8452(0x200)]())==null?void 0x0:_0x952fe0['getUnitId']())!==this['unitID'])return;const _0x2f9e7f=(_0x4931da=this[_0xeb8452(0x443)][_0xeb8452(0x417)](_0x28fbd1[_0xeb8452(0x332)])[_0xeb8452(0x3bd)]())==null?void 0x0:_0x4931da[0x0],_0x1ea31b=this[_0xeb8452(0x30c)][_0xeb8452(0x43b)](_0x23cfa0[_0xeb8452(0x40e)]['UNIVER_SHEET'])[_0xeb8452(0x37a)]();_0x2f9e7f&&_0x1ea31b&&this['_updateLocalCursor'](_0x1ea31b[_0xeb8452(0x2c8)](),_0x2f9e7f);}[_0xf94d15(0x251)](){const _0x5bc3c7=_0xf94d15;this[_0x5bc3c7(0x365)]=!0x1;}};_0x33f836=_0x580c93([_0x5bff3b(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['Injector'])),_0x5bff3b(0x3,_0x23cfa0['Inject'](_0x78b02d)),_0x5bff3b(0x4,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x1f7)])),_0x5bff3b(0x5,_0x23cfa0['IUniverInstanceService']),_0x5bff3b(0x6,_0x23cfa0[_0xf94d15(0x1e7)]),_0x5bff3b(0x7,_0x23cfa0[_0xf94d15(0x24b)](_0x28fbd1['RefRangeService']))],_0x33f836);var _0x1f9eb7=Object[_0xf94d15(0x1e6)],_0x741a0=(_0x1b9b39,_0xa6c936,_0x52c03d,_0x4ffc03)=>{for(var _0x460e65=_0x4ffc03>0x1?void 0x0:_0x4ffc03?_0x1f9eb7(_0xa6c936,_0x52c03d):_0xa6c936,_0x463b94=_0x1b9b39['length']-0x1,_0x3e7844;_0x463b94>=0x0;_0x463b94--)(_0x3e7844=_0x1b9b39[_0x463b94])&&(_0x460e65=_0x3e7844(_0x460e65)||_0x460e65);return _0x460e65;},_0x37c6f8=(_0x547673,_0x5a47fb)=>(_0x5cb99d,_0xd8abd7)=>_0x5a47fb(_0x5cb99d,_0xd8abd7,_0x547673);let _0x25f318=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x94a0ed,_0xe3439d,_0x5a042a){const _0x40af46=_0xf94d15;super(),_0x6a5a04(this,'_entities',new Map()),_0x6a5a04(this,_0x40af46(0x233),new _0x1425de[(_0x40af46(0x375))]()),(this[_0x40af46(0x30c)]=_0x94a0ed,this[_0x40af46(0x443)]=_0xe3439d,this[_0x40af46(0x3b5)]=_0x5a042a,this['_init']());}[_0xf94d15(0x38a)](){const _0x518206=_0xf94d15;super[_0x518206(0x38a)](),this[_0x518206(0x233)]['complete'](),this[_0x518206(0x3b6)][_0x518206(0x403)](_0x1ece90=>_0x1ece90[_0x518206(0x38a)]());}[_0xf94d15(0x287)](_0x3f3aaf){const _0x4a572c=_0xf94d15;return this[_0x4a572c(0x3b6)]['has'](_0x3f3aaf)?this[_0x4a572c(0x3b6)][_0x4a572c(0x417)](_0x3f3aaf)[_0x4a572c(0x27a)]:this[_0x4a572c(0x233)][_0x4a572c(0x41e)](_0x1425de[_0x4a572c(0x3f6)](_0x23a91e=>_0x23a91e[_0x4a572c(0x2de)]===_0x3f3aaf),_0x1425de['switchMap'](_0x56ff43=>_0x56ff43[_0x4a572c(0x27a)]));}['_init'](){const _0x3ef10d=_0xf94d15;this[_0x3ef10d(0x30c)][_0x3ef10d(0x25f)](_0x23cfa0[_0x3ef10d(0x40e)][_0x3ef10d(0x272)])[_0x3ef10d(0x41e)](_0x1425de[_0x3ef10d(0x3e4)](this[_0x3ef10d(0x391)]))[_0x3ef10d(0x2a8)](async _0xafe91c=>{const _0xb86d18=_0x3ef10d,_0x53d2dc=_0xafe91c[_0xb86d18(0x289)](),_0x3b43ba=await this[_0xb86d18(0x3e8)](_0x53d2dc);this[_0xb86d18(0x233)]['next'](_0x3b43ba),this['_entities'][_0xb86d18(0x429)](_0x53d2dc,_0x3b43ba);}),this[_0x3ef10d(0x30c)][_0x3ef10d(0x25f)](_0x23cfa0[_0x3ef10d(0x40e)]['UNIVER_DOC'])[_0x3ef10d(0x41e)](_0x1425de[_0x3ef10d(0x3e4)](this['dispose$']))['pipe'](_0x1425de['filter'](_0x2654da=>!_0x2654da[_0x3ef10d(0x289)]()[_0x3ef10d(0x42c)]('__')))[_0x3ef10d(0x2a8)](async _0x182b47=>{const _0x61c289=_0x3ef10d,_0x324433=_0x182b47[_0x61c289(0x289)](),_0x2657b4=await this[_0x61c289(0x44a)](_0x324433);this[_0x61c289(0x233)][_0x61c289(0x3d9)](_0x2657b4),this[_0x61c289(0x3b6)][_0x61c289(0x429)](_0x324433,_0x2657b4);}),_0x1425de['merge'](this['_univerInstanceService'][_0x3ef10d(0x3dc)](_0x23cfa0[_0x3ef10d(0x40e)][_0x3ef10d(0x2ea)]),this[_0x3ef10d(0x30c)]['getTypeOfUnitDisposed$'](_0x23cfa0['UniverInstanceType'][_0x3ef10d(0x272)]))['pipe'](_0x1425de['takeUntil'](this[_0x3ef10d(0x391)]))[_0x3ef10d(0x2a8)](_0x2f79f1=>{const _0x5e801e=_0x3ef10d,_0x3f58b6=_0x2f79f1[_0x5e801e(0x289)](),_0x2fa8f1=this['_entities'][_0x5e801e(0x417)](_0x3f58b6);_0x2fa8f1&&(_0x2fa8f1[_0x5e801e(0x38a)](),this[_0x5e801e(0x3b6)][_0x5e801e(0x2e7)](_0x3f58b6));});}async[_0xf94d15(0x3e8)](_0x1fc008){const _0x3e0d2f=_0xf94d15,_0x45d03f=await this[_0x3e0d2f(0x3b5)][_0x3e0d2f(0x235)](_0x1fc008),_0x209baa=this['_injector'][_0x3e0d2f(0x3b1)](_0x33f836,_0x1fc008,_0x45d03f);return _0x209baa['init'](),_0x209baa;}async[_0xf94d15(0x44a)](_0x2991f8){const _0x9fb1af=_0xf94d15,_0x2a1418=await this['_collabSessionService'][_0x9fb1af(0x235)](_0x2991f8),_0x40f9b5=this[_0x9fb1af(0x443)]['createInstance'](_0x233c95,_0x2991f8,_0x2a1418);return _0x40f9b5['init'](),_0x40f9b5;}};_0x25f318=_0x741a0([_0x37c6f8(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x37c6f8(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x37c6f8(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97[_0xf94d15(0x290)]))],_0x25f318);const _0x1f4157=0x14,_0x45b288=0xc8,_0x41c6c8=0x4,_0x148599=0x5;function _0x25eedc(_0x3a693c,_0x36851c){const _0x1d09a6=_0xf94d15;let {radius:_0x3c8276,width:_0x4887ad,height:_0x3a2951}=_0x36851c;_0x3c8276=_0x3c8276!=null?_0x3c8276:0x0,_0x4887ad=_0x4887ad!=null?_0x4887ad:0x1e,_0x3a2951=_0x3a2951!=null?_0x3a2951:0x1e;let _0x1fa135=0x0,_0x56886b=0x0,_0x135e54=0x0;_0x1fa135=_0x56886b=_0x135e54=Math[_0x1d09a6(0x3a3)](_0x3c8276,_0x4887ad/0x2,_0x3a2951/0x2),_0x3a693c['beginPath'](),_0x3a693c[_0x1d09a6(0x278)](_0x1fa135,0x0),_0x3a693c[_0x1d09a6(0x237)](_0x4887ad-_0x56886b,0x0),_0x3a693c[_0x1d09a6(0x342)](_0x4887ad-_0x56886b,_0x56886b,_0x56886b,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a693c[_0x1d09a6(0x237)](_0x4887ad,_0x3a2951-_0x135e54),_0x3a693c[_0x1d09a6(0x342)](_0x4887ad-_0x135e54,_0x3a2951-_0x135e54,_0x135e54,0x0,Math['PI']/0x2,!0x1),_0x3a693c[_0x1d09a6(0x237)](0x0,_0x3a2951),_0x3a693c[_0x1d09a6(0x237)](0x0,_0x1fa135),_0x3a693c[_0x1d09a6(0x342)](_0x1fa135,_0x1fa135,_0x1fa135,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a693c[_0x1d09a6(0x321)](),_0x36851c[_0x1d09a6(0x44f)]&&(_0x3a693c['save'](),_0x3a693c['fillStyle']=_0x36851c['fill'],_0x36851c[_0x1d09a6(0x3fe)]==='evenodd'?_0x3a693c[_0x1d09a6(0x44f)]('evenodd'):_0x3a693c[_0x1d09a6(0x44f)](),_0x3a693c[_0x1d09a6(0x2e9)]());}class _0xecd232 extends _0x188338[_0xf94d15(0x35f)]{constructor(_0x223cf5,_0x22d82b){const _0x24e115=_0xf94d15;super(_0x223cf5,_0x22d82b),_0x6a5a04(this,_0x24e115(0x3c5)),_0x6a5a04(this,_0x24e115(0x269)),(this['color']=_0x22d82b==null?void 0x0:_0x22d82b['color'],this['text']=_0x22d82b==null?void 0x0:_0x22d82b[_0x24e115(0x269)]);}static[_0xf94d15(0x2cc)](_0x187364,_0x48980a){const _0x5f4597=_0xf94d15,{text:_0xd3e9cb,color:_0x1f3a8e}=_0x48980a;_0x187364['save'](),_0x187364['font']=_0x5f4597(0x3a5);const _0x5b62f7=_0x187364['measureText'](_0xd3e9cb)[_0x5f4597(0x253)],_0x4a48ae=Math[_0x5f4597(0x3a3)](_0x5b62f7+0x2*_0x41c6c8,_0x45b288);_0x25eedc(_0x187364,{'height':_0x1f4157,'radius':0x4,'width':_0x4a48ae,'fill':_0x1f3a8e}),_0x187364[_0x5f4597(0x2eb)]=_0x5f4597(0x3af);const _0x1a2623=_0x41c6c8,_0x55b623=_0x1f4157-_0x148599,_0x51cfca=_0x45b288-0x2*_0x41c6c8;if(_0x5b62f7>_0x51cfca){let _0x2c59fd='',_0x1d12c6=0x0;for(const _0xa54bb4 of _0xd3e9cb){const _0x46d05c=_0x187364[_0x5f4597(0x32e)](_0xa54bb4)[_0x5f4597(0x253)];if(_0x1d12c6+_0x46d05c<=_0x51cfca-_0x187364[_0x5f4597(0x32e)](_0x5f4597(0x2c3))[_0x5f4597(0x253)])_0x2c59fd+=_0xa54bb4,_0x1d12c6+=_0x46d05c;else{_0x2c59fd+=_0x5f4597(0x2c3);break;}}_0x187364[_0x5f4597(0x2ef)](_0x2c59fd,_0x1a2623,_0x55b623);}else _0x187364[_0x5f4597(0x2ef)](_0xd3e9cb,_0x1a2623,_0x55b623);_0x187364['restore']();}['_draw'](_0x2c7fb0){const _0x5601a8=_0xf94d15;_0xecd232[_0x5601a8(0x2cc)](_0x2c7fb0,this);}}const _0x4e0bd1=_0xf94d15(0x298),_0x1a4fed='collab-text-range-',_0x1a9971=_0xf94d15(0x3b4),_0x159b71=0x6,_0x322e75=1.5,_0x5a4397=0x4,_0x524ec0=1.5,_0x158bc8=_0xf94d15(0x271);class _0x1fb9e2{constructor(_0x470c7f,_0x3a49ba,_0x18397e,_0x39bc3a){const _0x5380c3=_0xf94d15;_0x6a5a04(this,'_shapes',[]),_0x6a5a04(this,_0x5380c3(0x24f),null),_0x6a5a04(this,_0x5380c3(0x1db),null),_0x6a5a04(this,_0x5380c3(0x42d),null),_0x6a5a04(this,_0x5380c3(0x26a),null),_0x6a5a04(this,_0x5380c3(0x2fd),null),(this['_cursor']=_0x470c7f,this[_0x5380c3(0x373)]=_0x3a49ba,this[_0x5380c3(0x2b2)]=_0x18397e,this[_0x5380c3(0x404)]=_0x39bc3a,this[_0x5380c3(0x308)]());}set[_0xf94d15(0x3c6)](_0x1aed78){const _0x1f28c2=_0xf94d15;_0x1aed78?(this['_anchorDot']&&this['_anchorDot'][_0x1f28c2(0x380)](),this[_0x1f28c2(0x1db)]&&this[_0x1f28c2(0x1db)][_0x1f28c2(0x358)]()):(this[_0x1f28c2(0x42d)]&&this[_0x1f28c2(0x42d)][_0x1f28c2(0x358)](),this['_textBubble']&&this['_textBubble'][_0x1f28c2(0x380)]());}[_0xf94d15(0x38a)](){const _0x3ae447=_0xf94d15;for(const _0x4cef29 of this[_0x3ae447(0x217)])_0x4cef29['dispose']();this[_0x3ae447(0x1db)]&&this['_textBubble'][_0x3ae447(0x38a)](),this[_0x3ae447(0x42d)]&&this[_0x3ae447(0x42d)][_0x3ae447(0x38a)](),this[_0x3ae447(0x24f)]&&this[_0x3ae447(0x24f)][_0x3ae447(0x38a)](),this['_eventUnsubscribe']&&this[_0x3ae447(0x2fd)]();}[_0xf94d15(0x308)](){const _0x3e4159=_0xf94d15;var _0x1d735f;const {_docSkeleton:_0xe79ce,_document:_0x26e264}=this,{color:_0x169af4,name:_0x4a32a0,ranges:_0x147fe3}=this[_0x3e4159(0x2d9)],_0x1c2b4c=_0x26e264[_0x3e4159(0x33e)](),{docsLeft:_0x1f1e91,docsTop:_0x7d6c3a}=_0x1c2b4c,_0x5f200b=new _0x27e66a[(_0x3e4159(0x445))](_0x1c2b4c,_0xe79ce);for(const {startOffset:_0x1759fd,endOffset:_0x61d842,rangeType:_0x57c390,segmentId:_0x4110de,segmentPage:_0x38b9d3,collapsed:_0x3f02e3,isActive:_0x4aedae}of _0x147fe3){const _0x2cc1ae=_0xe79ce[_0x3e4159(0x24a)](_0x1759fd,!0x0,_0x4110de,_0x38b9d3);let _0x3e5d86=_0xe79ce[_0x3e4159(0x24a)](_0x61d842,!0x0,_0x4110de,_0x38b9d3);if(_0x3e5d86==null&&(_0x3e5d86=_0xe79ce[_0x3e4159(0x24a)](_0x61d842-0x1,!0x1,_0x4110de,_0x38b9d3)),_0x4aedae){const {contentBoxPointGroup:_0x5459f4}=_0x5f200b[_0x3e4159(0x36e)](_0x3e5d86,_0x3e5d86);if(_0x5459f4[_0x3e4159(0x354)]===0x0)continue;this['_drawAnchor'](_0x169af4,_0x5459f4,_0x1f1e91,_0x7d6c3a,_0x4a32a0),this[_0x3e4159(0x2fd)]=this['_handleHover']();}if(_0x2cc1ae&&_0x3e5d86){if(_0x57c390===_0x23cfa0[_0x3e4159(0x26b)][_0x3e4159(0x456)]){const _0x40c239=new _0x27e66a[(_0x3e4159(0x1f6))](_0x1c2b4c,_0xe79ce),{pointGroup:_0x1be639}=(_0x1d735f=_0x40c239[_0x3e4159(0x36e)](_0x2cc1ae,_0x3e5d86))!=null?_0x1d735f:{};if(_0x1be639==null||_0x1be639[_0x3e4159(0x354)]===0x0)continue;this[_0x3e4159(0x306)](_0x169af4,_0x1be639,_0x1f1e91,_0x7d6c3a);}else{if(!_0x3f02e3){const {borderBoxPointGroup:_0x5aff83}=_0x5f200b[_0x3e4159(0x36e)](_0x2cc1ae,_0x3e5d86);if(_0x5aff83[_0x3e4159(0x354)]===0x0)continue;this[_0x3e4159(0x333)](_0x169af4,_0x5aff83,_0x1f1e91,_0x7d6c3a);}}}}}[_0xf94d15(0x25e)](_0x31e46c,_0x15c0b7,_0x22a981,_0x5d003f,_0x53604d){const _0x4c64ba=_0xf94d15,_0x49b47c=this['_getAnchorBounding'](_0x15c0b7),{left:_0xd84be6,top:_0x55e8eb,height:_0x2624c9}=_0x49b47c,_0x140aad=this['_getScale'](),_0x1ed493=_0x524ec0/_0x140aad,_0x2c3b86=new _0x188338[(_0x4c64ba(0x232))](_0x4e0bd1+_0x23cfa0[_0x4c64ba(0x292)][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f,'height':_0x2624c9,'width':_0x322e75,'fill':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)][_0x4c64ba(0x326)],0x0),'strokeWidth':_0x1ed493,'stroke':_0x158bc8,'evented':!0x0});this[_0x4c64ba(0x24f)]=_0x2c3b86,this[_0x4c64ba(0x373)][_0x4c64ba(0x282)](_0x2c3b86,_0x27e66a[_0x4c64ba(0x3d7)]);const _0x1a432b=new _0x188338['Rect'](_0x4e0bd1+_0x23cfa0['Tools'][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f-_0x5a4397/0x2,'height':_0x5a4397,'width':_0x5a4397,'fill':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)][_0x4c64ba(0x326)],0x0),'strokeWidth':0x0,'stroke':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x1a432b,this[_0x4c64ba(0x373)]['addObject'](_0x1a432b,_0x27e66a[_0x4c64ba(0x3d7)]);const _0x13acb4=new _0xecd232(_0x4e0bd1+_0x23cfa0['Tools'][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f-_0x1f4157,'text':_0x53604d,'color':_0x31e46c});this[_0x4c64ba(0x1db)]=_0x13acb4,this[_0x4c64ba(0x373)][_0x4c64ba(0x282)](_0x13acb4,_0x27e66a[_0x4c64ba(0x3d7)]),this['_hover']=!0x1;}[_0xf94d15(0x353)](){const _0x2f0d97=_0xf94d15,_0x3a4b50=this[_0x2f0d97(0x24f)][_0x2f0d97(0x42a)][_0x2f0d97(0x36b)](()=>{const _0x24c731=_0x2f0d97;this[_0x24c731(0x3c6)]=!0x0;}),_0x546f3e=this[_0x2f0d97(0x24f)][_0x2f0d97(0x434)][_0x2f0d97(0x36b)](()=>{const _0x114369=_0x2f0d97;this[_0x114369(0x26a)]&&clearTimeout(this['_hideTimer']),this[_0x114369(0x26a)]=setTimeout(()=>{const _0x30110c=_0x114369;this[_0x30110c(0x3c6)]=!0x1;},0x7d0);});return()=>{const _0x34b7fc=_0x2f0d97;_0x3a4b50[_0x34b7fc(0x2e0)](),_0x546f3e['unsubscribe']();};}['_drawTextRange'](_0x4c2338,_0x5b839b,_0x567092,_0x3b5320){const _0x116d89=_0xf94d15,_0x453c5d=new _0x23cfa0['ColorKit'](_0x4c2338)['setAlpha'](0.2)[_0x116d89(0x37b)](),_0x3d74ad=new _0x188338[(_0x116d89(0x3ff))](_0x1a4fed+_0x23cfa0[_0x116d89(0x292)]['generateRandomId'](_0x159b71),{'pointsGroup':_0x5b839b,'fill':_0x453c5d||_0x188338[_0x116d89(0x2c0)](_0x23cfa0[_0x116d89(0x346)][_0x116d89(0x326)],0.2),'left':_0x567092,'top':_0x3b5320,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x116d89(0x217)][_0x116d89(0x3f2)](_0x3d74ad),this['_scene'][_0x116d89(0x282)](_0x3d74ad,_0x27e66a[_0x116d89(0x3d7)]);}[_0xf94d15(0x306)](_0x125046,_0x44ea59,_0x34732d,_0x34810a){const _0x3c26b=_0xf94d15,_0x2cdd71=new _0x23cfa0[(_0x3c26b(0x374))](_0x125046)['setAlpha'](0.2)['toRgbString'](),_0xb39310=new _0x188338['RegularPolygon'](_0x1a9971+_0x23cfa0[_0x3c26b(0x292)][_0x3c26b(0x1d0)](_0x159b71),{'pointsGroup':_0x44ea59,'fill':_0x2cdd71||_0x188338[_0x3c26b(0x2c0)](_0x23cfa0['COLORS'][_0x3c26b(0x326)],0.2),'left':_0x34732d,'top':_0x34810a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c26b(0x217)][_0x3c26b(0x3f2)](_0xb39310),this[_0x3c26b(0x373)]['addObject'](_0xb39310,_0x27e66a[_0x3c26b(0x3d7)]);}['_getAnchorBounding'](_0x51eb7b){const _0x47798c=_0x51eb7b[0x0],_0x1cd65f=_0x47798c[0x0],_0x2ac5ca=_0x47798c[0x2],{x:_0x24be0b,y:_0x369d4d}=_0x1cd65f,{x:_0x3bbf73,y:_0x3c80f3}=_0x2ac5ca;return{'left':_0x24be0b,'top':_0x369d4d,'width':_0x3bbf73-_0x24be0b,'height':_0x3c80f3-_0x369d4d};}[_0xf94d15(0x398)](){const _0x2dfc90=_0xf94d15,{scaleX:_0x2821af,scaleY:_0x44a808}=this[_0x2dfc90(0x373)][_0x2dfc90(0x1ee)]();return Math[_0x2dfc90(0x3cc)](_0x2821af,_0x44a808);}}var _0x4cdce1=Object[_0xf94d15(0x1e6)],_0x404b2e=(_0x3b82c6,_0x58576a,_0x4c2632,_0x8aab46)=>{const _0x5e727b=_0xf94d15;for(var _0x52d9e7=_0x8aab46>0x1?void 0x0:_0x8aab46?_0x4cdce1(_0x58576a,_0x4c2632):_0x58576a,_0x105a51=_0x3b82c6[_0x5e727b(0x354)]-0x1,_0x2b8a16;_0x105a51>=0x0;_0x105a51--)(_0x2b8a16=_0x3b82c6[_0x105a51])&&(_0x52d9e7=_0x2b8a16(_0x52d9e7)||_0x52d9e7);return _0x52d9e7;},_0x54c413=(_0x3d1290,_0x337afd)=>(_0x5d1596,_0x4ef8b6)=>_0x337afd(_0x5d1596,_0x4ef8b6,_0x3d1290);let _0x2cdf34=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x5895ec,_0x16dfb8,_0x59ef41,_0x5c656a,_0x22354c){const _0x3e07b0=_0xf94d15;super(),_0x6a5a04(this,_0x3e07b0(0x3cf),[]),_0x6a5a04(this,_0x3e07b0(0x1d3),[]),(this[_0x3e07b0(0x26c)]=_0x5895ec,this[_0x3e07b0(0x21b)]=_0x16dfb8,this[_0x3e07b0(0x428)]=_0x59ef41,this['_commandService']=_0x5c656a,this[_0x3e07b0(0x3e9)]=_0x22354c,this[_0x3e07b0(0x32b)]());}['_init'](){const _0x30bbac=_0xf94d15,_0x4126ca=this[_0x30bbac(0x26c)]['unitId'],_0x3f30ea=this[_0x30bbac(0x21b)];this[_0x30bbac(0x340)](_0x1425de['combineLatest']([this[_0x30bbac(0x428)][_0x30bbac(0x287)](_0x4126ca),this[_0x30bbac(0x3e9)][_0x30bbac(0x368)]])[_0x30bbac(0x41e)](_0x209049[_0x30bbac(0x2c9)](([_0x3b0ce0,_0x491391])=>({'skeleton':_0x3f30ea[_0x30bbac(0x256)](),'cursors':[..._0x3b0ce0[_0x30bbac(0x2cb)]()][_0x30bbac(0x305)](_0x22b647=>({..._0x22b647,'color':this[_0x30bbac(0x3e9)][_0x30bbac(0x355)](_0x22b647[_0x30bbac(0x3c5)])}))})))[_0x30bbac(0x2a8)](_0x923b88=>{const _0xad3a6f=_0x30bbac;if(this[_0xad3a6f(0x252)](),_0x923b88){const {skeleton:_0x36d95a,cursors:_0x4349ff}=_0x923b88;this[_0xad3a6f(0x3df)](_0x36d95a,_0x4349ff);}})),this[_0x30bbac(0x24e)](),this[_0x30bbac(0x406)]();}[_0xf94d15(0x3df)](_0x5ea4ed,_0x1dcdba){const _0x2086bc=_0xf94d15,{scene:_0xaa52e8,mainComponent:_0x3ac5d0}=this[_0x2086bc(0x26c)],_0x5113d4=_0x1dcdba[_0x2086bc(0x2c9)](_0x577ba9=>new _0x1fb9e2(_0x577ba9,_0xaa52e8,_0x5ea4ed,_0x3ac5d0));this['_cursorShapes']=_0x5113d4,this['_cursors']=_0x1dcdba;}['_refreshCollabCursors'](){const _0x29345d=_0xf94d15;this[_0x29345d(0x252)]();const {scene:_0x482b2d,mainComponent:_0x289c27}=this['_context'],_0xbe612a=this[_0x29345d(0x21b)][_0x29345d(0x256)](),_0x4223a9=this[_0x29345d(0x1d3)]['map'](_0x1e5130=>new _0x1fb9e2(_0x1e5130,_0x482b2d,_0xbe612a,_0x289c27));this[_0x29345d(0x3cf)]=_0x4223a9;}['_removeCollabCursors'](){const _0x41f21f=_0xf94d15;this[_0x41f21f(0x3cf)][_0x41f21f(0x403)](_0x36d722=>_0x36d722[_0x41f21f(0x38a)]()),this[_0x41f21f(0x3cf)]=[];}[_0xf94d15(0x406)](){const _0x16cb1e=_0xf94d15,_0xe2ba60=[_0x27e66a[_0x16cb1e(0x352)]['id']];this[_0x16cb1e(0x340)](this[_0x16cb1e(0x1cd)][_0x16cb1e(0x43e)](_0x48cc44=>{const _0x33618e=_0x16cb1e;_0xe2ba60[_0x33618e(0x36f)](_0x48cc44['id'])&&_0x48cc44[_0x33618e(0x41f)][_0x33618e(0x2b0)]===this[_0x33618e(0x26c)][_0x33618e(0x2b0)]&&this[_0x33618e(0x37f)]();}));}['_initResize'](){const _0x30b182=_0xf94d15;this[_0x30b182(0x340)](_0x23cfa0[_0x30b182(0x3c2)](this[_0x30b182(0x26c)]['engine'][_0x30b182(0x204)])[_0x30b182(0x41e)](_0x209049[_0x30b182(0x3f6)](_0x49844c=>_0x49844c['type']===_0x188338['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x209049[_0x30b182(0x32d)](0x10))[_0x30b182(0x2a8)](()=>{this['_refreshCollabCursors']();}));}};_0x2cdf34=_0x404b2e([_0x54c413(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x3bc28d['DocSkeletonManagerService'])),_0x54c413(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x25f318)),_0x54c413(0x3,_0x23cfa0[_0xf94d15(0x1e7)]),_0x54c413(0x4,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['ThemeService']))],_0x2cdf34);const _0x18c963=0x1,_0x43d030=1.5;class _0xc78d6d extends _0x188338['Shape']{constructor(_0x45f962,_0x443167){const _0x491350=_0xf94d15;super(_0x45f962,_0x443167),_0x6a5a04(this,_0x491350(0x397)),_0x6a5a04(this,_0x491350(0x409),!0x1),_0x6a5a04(this,_0x491350(0x437)),_0x6a5a04(this,_0x491350(0x3a8),''),_0x6a5a04(this,_0x491350(0x39b),_0x491350(0x1fe)),_0x6a5a04(this,'_backgroundColor'),(_0x443167&&this[_0x491350(0x30e)](_0x443167),this[_0x491350(0x42a)][_0x491350(0x36b)](()=>this[_0x491350(0x30e)]({'hovered':!0x0})),this[_0x491350(0x434)][_0x491350(0x36b)](()=>this[_0x491350(0x30e)]({'hovered':!0x1})));}[_0xf94d15(0x30e)](_0x32b2b0){const _0x52ad3a=_0xf94d15;var _0x5734a7,_0x584a87,_0x329346,_0x247ebe,_0x5060aa,_0x2b5b11;this[_0x52ad3a(0x397)]=(_0x5734a7=_0x32b2b0[_0x52ad3a(0x3c5)])!=null?_0x5734a7:this[_0x52ad3a(0x397)],this[_0x52ad3a(0x409)]=(_0x584a87=_0x32b2b0['hovered'])!=null?_0x584a87:this['_hovered'],this[_0x52ad3a(0x437)]=(_0x329346=_0x32b2b0['range'])!=null?_0x329346:this['_range'],this[_0x52ad3a(0x3a8)]=(_0x247ebe=_0x32b2b0[_0x52ad3a(0x320)])!=null?_0x247ebe:this[_0x52ad3a(0x3a8)],this['_labelPosition']=(_0x5060aa=_0x32b2b0[_0x52ad3a(0x343)])!=null?_0x5060aa:this[_0x52ad3a(0x39b)],this[_0x52ad3a(0x1cc)]=(_0x2b5b11=_0x32b2b0[_0x52ad3a(0x205)])!=null?_0x2b5b11:this[_0x52ad3a(0x1cc)],this['transformByState']({'width':_0x32b2b0['width'],'height':_0x32b2b0[_0x52ad3a(0x3ed)]});}['onMouseMove'](_0x5300a1){const _0x3880b2=_0xf94d15,{row:_0xeab663,column:_0x354853}=_0x5300a1;if(_0xeab663>=this[_0x3880b2(0x437)][_0x3880b2(0x1e0)]&&_0xeab663<=this['_range']['endRow']&&_0x354853>=this[_0x3880b2(0x437)][_0x3880b2(0x2a1)]&&_0x354853<=this['_range']['endColumn']){this[_0x3880b2(0x30e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x49897b){return!0x1;}[_0xf94d15(0x286)](_0x4b05f1){const _0x57644f=_0xf94d15;_0x188338[_0x57644f(0x232)][_0x57644f(0x2cc)](_0x4b05f1,{'width':this[_0x57644f(0x253)],'height':this[_0x57644f(0x3ed)],'strokeWidth':_0x43d030,'stroke':this[_0x57644f(0x397)],'evented':!0x1,'fill':this[_0x57644f(0x1cc)]}),this[_0x57644f(0x409)]&&(_0x4b05f1[_0x57644f(0x1cf)](),_0x4b05f1[_0x57644f(0x2ee)](0x1,0x0,0x0,0x1,this['width'],this[_0x57644f(0x39b)]==='bottom'?0x0:-0x14),_0xecd232[_0x57644f(0x2cc)](_0x4b05f1,{'text':this[_0x57644f(0x3a8)],'color':this[_0x57644f(0x397)]}),_0x4b05f1['restore']());}}var _0x19305e=Object[_0xf94d15(0x1e6)],_0x17d1cb=(_0x2f0598,_0x24a2cd,_0x47a20b,_0x38abbd)=>{for(var _0x116a86=_0x38abbd>0x1?void 0x0:_0x38abbd?_0x19305e(_0x24a2cd,_0x47a20b):_0x24a2cd,_0x5a4b72=_0x2f0598['length']-0x1,_0x45b8a4;_0x5a4b72>=0x0;_0x5a4b72--)(_0x45b8a4=_0x2f0598[_0x5a4b72])&&(_0x116a86=_0x45b8a4(_0x116a86)||_0x116a86);return _0x116a86;},_0x4e06da=(_0x29681e,_0x26273f)=>(_0x2b0f2f,_0x4ea98d)=>_0x26273f(_0x2b0f2f,_0x4ea98d,_0x29681e);const _0x1459d4=0x1389;let _0x52df86=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x33870b,_0x39b44b,_0x2ce899,_0x405d46){const _0x2f7e50=_0xf94d15;super(),_0x6a5a04(this,_0x2f7e50(0x1d3),new Set()),_0x6a5a04(this,_0x2f7e50(0x3aa),null),(this[_0x2f7e50(0x26c)]=_0x33870b,this[_0x2f7e50(0x3e1)]=_0x39b44b,this[_0x2f7e50(0x428)]=_0x2ce899,this[_0x2f7e50(0x3e9)]=_0x405d46,this['_init']());}[_0xf94d15(0x32b)](){const _0x319b9e=_0xf94d15;this['_sheetSkeletonManagerService'][_0x319b9e(0x356)][_0x319b9e(0x41e)](_0x209049[_0x319b9e(0x3e4)](this['dispose$']),_0x209049[_0x319b9e(0x31f)](_0x1664bc=>{const _0x3cf3a1=_0x319b9e;if(_0x1664bc){const _0x51c4be=_0x1664bc[_0x3cf3a1(0x3d1)];return _0x1425de[_0x3cf3a1(0x242)](this[_0x3cf3a1(0x428)]['getCollabCursors$'](this[_0x3cf3a1(0x26c)][_0x3cf3a1(0x2b0)]),this[_0x3cf3a1(0x3e9)][_0x3cf3a1(0x368)])['pipe'](_0x209049[_0x3cf3a1(0x2c9)](([_0xdd719c,_0x3e229a])=>{const _0x3f4174=_0x3cf3a1,_0x1af66c=new Map();return _0xdd719c[_0x3f4174(0x403)]((_0x3b93dd,_0xe94e25)=>{const _0x54a86f=_0x3f4174;if(_0x3b93dd[_0x54a86f(0x335)]===_0x51c4be){const _0x35eef5={..._0x3b93dd};_0x35eef5[_0x54a86f(0x3c5)]=this['_themeService'][_0x54a86f(0x355)](_0x3b93dd['color']),_0x1af66c[_0x54a86f(0x429)](_0xe94e25,_0x35eef5);}}),{'skeleton':_0x1664bc,'cursors':_0x1af66c};}));}return _0x1425de['of']({'skeleton':null,'cursors':new Map()});}))[_0x319b9e(0x2a8)](({skeleton:_0x2c9884,cursors:_0x245a31})=>{const _0x54daaf=_0x319b9e;this[_0x54daaf(0x252)](),_0x2c9884&&this[_0x54daaf(0x3df)](_0x2c9884,_0x245a31);}),this[_0x319b9e(0x3e1)]['currentSkeleton$'][_0x319b9e(0x2a8)](_0x22ef2c=>{const _0x51e597=_0x319b9e;if(_0x22ef2c==null)return;const {skeleton:_0x1c4d0c}=_0x22ef2c,{scene:_0x26c5f1}=this[_0x51e597(0x26c)];_0x26c5f1[_0x51e597(0x3d6)][_0x51e597(0x36b)](_0x23cfa0[_0x51e597(0x24d)](_0x12fa83=>{const _0x28242f=_0x51e597;var _0x36e479,_0x26c567;const {offsetX:_0xdd4a1,offsetY:_0x34bc7a}=_0x12fa83,{x:_0x4c28bb,y:_0x53e367}=_0x26c5f1['getRelativeToViewportCoord'](_0x188338[_0x28242f(0x3ef)]['FromArray']([_0xdd4a1,_0x34bc7a])),{scaleX:_0x291fe3,scaleY:_0x2e3abb}=_0x26c5f1['getAncestorScale'](),_0x4a0419=_0x26c5f1[_0x28242f(0x33a)](_0x188338[_0x28242f(0x28a)]['VIEW_MAIN']),_0x41f126=_0x26c5f1[_0x28242f(0x2a9)](_0x188338[_0x28242f(0x3ef)][_0x28242f(0x21e)]([_0x4c28bb,_0x53e367]),_0x4a0419),_0x5e08cd=_0x1c4d0c[_0x28242f(0x2b3)](_0xdd4a1,_0x34bc7a,_0x291fe3,_0x2e3abb,_0x41f126);((_0x36e479=this[_0x28242f(0x3aa)])==null?void 0x0:_0x36e479['column'])===_0x5e08cd[_0x28242f(0x2d5)]&&((_0x26c567=this[_0x28242f(0x3aa)])==null?void 0x0:_0x26c567[_0x28242f(0x383)])===_0x5e08cd[_0x28242f(0x383)]||this[_0x28242f(0x1d3)]['forEach'](_0x484f83=>{const _0x59f5f4=_0x28242f;_0x484f83[_0x59f5f4(0x206)](_0x5e08cd);});},0x64));});}[_0xf94d15(0x3df)](_0x40f333,_0x1d090d){const _0x4bf322=_0xf94d15;var _0x3efc7f;const _0x31cad4=(_0x3efc7f=this[_0x4bf322(0x3e1)][_0x4bf322(0x3ce)]())==null?void 0x0:_0x3efc7f[_0x4bf322(0x3ca)];if(!_0x31cad4)return;const _0x21fba0=this[_0x4bf322(0x324)]();if(!_0x21fba0)return;this[_0x4bf322(0x1d3)][_0x4bf322(0x403)](_0x2227b8=>{const _0xd25706=_0x4bf322;_0x2227b8[_0xd25706(0x34b)]();});const {scene:_0x4d3eb6}=_0x21fba0,_0x50ad3d=_0x125353(Array[_0x4bf322(0x2d0)](_0x1d090d[_0x4bf322(0x2cb)]()))[_0x4bf322(0x2c9)](_0x1ceb38=>{const _0x5f4b87=_0x4bf322,{color:_0x114f67,range:_0x3d503c,name:_0x4ceca5,selection:_0x58a6e5,sheetID:_0x7ceef7}=_0x1ceb38,{startColumn:_0x565063,startRow:_0x149634,endColumn:_0x364f62,endRow:_0x28003c}=_0x3d503c,_0xab949b=_0x270a77[_0x5f4b87(0x35d)](_0x149634,_0x565063,_0x4d3eb6,_0x31cad4),_0x45d1ea=_0x270a77['getCoordByCell'](_0x28003c,_0x364f62,_0x4d3eb6,_0x31cad4),{columnHeaderHeightAndMarginTop:_0x231624}=_0x31cad4,{startX:_0x4f3fa0,startY:_0x29fb16}=_0xab949b,{endX:_0x98c5b1,endY:_0x1dbb12}=_0x45d1ea,_0x1f23b5=_0x98c5b1-_0x4f3fa0,_0x5b678b=_0x1dbb12-_0x29fb16,_0x2b226d={'labelPosition':_0x29fb16-_0x231624>=_0x1f4157?'top':_0x5f4b87(0x454),'sheetID':_0x7ceef7,'range':_0x3d503c,'color':_0x114f67,'name':_0x4ceca5,'selection':_0x58a6e5,'left':_0x4f3fa0,'top':_0x29fb16,'width':_0x1f23b5,'height':_0x5b678b,'evented':!0x1,'zIndex':_0x1459d4};return new _0xc78d6d(_0x4ceca5,_0x2b226d);});_0x4d3eb6[_0x4bf322(0x210)](_0x50ad3d,_0x18c963),this[_0x4bf322(0x1d3)]=new Set(_0x50ad3d);}[_0xf94d15(0x252)](){const _0x3f7d88=_0xf94d15;var _0x3decf5;(_0x3decf5=this[_0x3f7d88(0x1d3)])==null||_0x3decf5[_0x3f7d88(0x403)](_0x62825a=>_0x62825a[_0x3f7d88(0x38a)]());}[_0xf94d15(0x324)](){const _0x2c7833=_0xf94d15;return _0x270a77['getSheetObject'](this[_0x2c7833(0x26c)]['unit'],this['_context']);}};_0x52df86=_0x17d1cb([_0x4e06da(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x270a77[_0xf94d15(0x2ad)])),_0x4e06da(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x25f318)),_0x4e06da(0x3,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x3be)]))],_0x52df86);function _0x125353(_0xfd6f08){const _0x3b5fb1=_0xf94d15,_0x3a6e38=new Map();return _0xfd6f08['forEach'](_0x5d10c2=>{const _0x2b2d4d=_0x3464;if(_0x3a6e38[_0x2b2d4d(0x3a2)](_0x5d10c2['selection'])){const _0x43ff14=_0x3a6e38[_0x2b2d4d(0x417)](_0x5d10c2[_0x2b2d4d(0x37e)]);_0x43ff14[_0x2b2d4d(0x320)]+=',\x20'+_0x5d10c2[_0x2b2d4d(0x320)];}else _0x3a6e38[_0x2b2d4d(0x429)](_0x5d10c2['selection'],_0x5d10c2);}),Array[_0x3b5fb1(0x2d0)](_0x3a6e38[_0x3b5fb1(0x2cb)]());}var _0x583c7e=function(){const _0x50a864=_0xf94d15;return _0x583c7e=Object[_0x50a864(0x267)]||function(_0x32c16c){const _0x524a5c=_0x50a864;for(var _0x5e3e50,_0xec1648=0x1,_0x5b0a81=arguments['length'];_0xec1648<_0x5b0a81;_0xec1648++){_0x5e3e50=arguments[_0xec1648];for(var _0x2bf859 in _0x5e3e50)Object[_0x524a5c(0x376)][_0x524a5c(0x413)]['call'](_0x5e3e50,_0x2bf859)&&(_0x32c16c[_0x2bf859]=_0x5e3e50[_0x2bf859]);}return _0x32c16c;},_0x583c7e[_0x50a864(0x362)](this,arguments);},_0x53520e=function(_0x4e7a62,_0x52a7ad){const _0x360d69=_0xf94d15;var _0x30c017={};for(var _0x394c22 in _0x4e7a62)Object['prototype'][_0x360d69(0x413)][_0x360d69(0x1d6)](_0x4e7a62,_0x394c22)&&_0x52a7ad['indexOf'](_0x394c22)<0x0&&(_0x30c017[_0x394c22]=_0x4e7a62[_0x394c22]);if(_0x4e7a62!=null&&typeof Object[_0x360d69(0x254)]==_0x360d69(0x301)){for(var _0x2becbf=0x0,_0x394c22=Object[_0x360d69(0x254)](_0x4e7a62);_0x2becbf<_0x394c22[_0x360d69(0x354)];_0x2becbf++)_0x52a7ad['indexOf'](_0x394c22[_0x2becbf])<0x0&&Object[_0x360d69(0x376)][_0x360d69(0x3f3)]['call'](_0x4e7a62,_0x394c22[_0x2becbf])&&(_0x30c017[_0x394c22[_0x2becbf]]=_0x4e7a62[_0x394c22[_0x2becbf]]);}return _0x30c017;},_0x2fefef=_0x5c9659[_0xf94d15(0x35a)](function(_0x123ab7,_0x1ad9e1){const _0x356905=_0xf94d15;var _0x2f6353=_0x123ab7[_0x356905(0x25c)],_0x2f85af=_0x123ab7['id'],_0x7502e=_0x123ab7[_0x356905(0x2b4)],_0x38c11c=_0x123ab7['extend'],_0x5c04fa=_0x53520e(_0x123ab7,[_0x356905(0x25c),'id','className',_0x356905(0x2c4)]),_0x17b13d=_0x356905(0x21a)[_0x356905(0x344)](_0x2f85af,'\x20')[_0x356905(0x344)](_0x7502e||'')[_0x356905(0x40a)](),_0x95e816=_0x5c9659[_0x356905(0x337)]('_'['concat'](_0x518d95()));return _0x458c67(_0x2f6353,''['concat'](_0x2f85af),{'defIds':_0x2f6353['defIds'],'idSuffix':_0x95e816['current']},_0x583c7e({'ref':_0x1ad9e1,'className':_0x17b13d},_0x5c04fa),_0x38c11c);});function _0x458c67(_0x4aaef4,_0x566bff,_0x3572a2,_0x82c970,_0x5926b2){const _0x28560b=_0xf94d15;return _0x5c9659[_0x28560b(0x3ad)](_0x4aaef4[_0x28560b(0x203)],_0x583c7e(_0x583c7e({'key':_0x566bff},_0xfe14ea(_0x4aaef4,_0x3572a2,_0x5926b2)),_0x82c970),(_0x3d670a(_0x4aaef4,_0x3572a2)['children']||[])[_0x28560b(0x2c9)](function(_0x3ab1ad,_0x39ee3c){const _0x5f1af1=_0x28560b;return _0x458c67(_0x3ab1ad,''[_0x5f1af1(0x344)](_0x566bff,'-')[_0x5f1af1(0x344)](_0x4aaef4[_0x5f1af1(0x203)],'-')[_0x5f1af1(0x344)](_0x39ee3c),_0x3572a2,void 0x0,_0x5926b2);}));}function _0xfe14ea(_0xe1cb0,_0x6a961c,_0x3d8222){const _0x50615d=_0xf94d15;var _0x54db4c=_0x583c7e({},_0xe1cb0[_0x50615d(0x3eb)]);_0x3d8222!=null&&_0x3d8222['colorChannel1']&&_0x54db4c[_0x50615d(0x44f)]===_0x50615d(0x3b3)&&(_0x54db4c[_0x50615d(0x44f)]=_0x3d8222[_0x50615d(0x3b3)]),_0xe1cb0[_0x50615d(0x203)]==='mask'&&_0x54db4c['id']&&(_0x54db4c['id']=_0x54db4c['id']+_0x6a961c[_0x50615d(0x281)]),Object[_0x50615d(0x44b)](_0x54db4c)[_0x50615d(0x403)](function(_0x416d2e){const _0x153ee3=_0x50615d;var _0x4fe5b9=_0x416d2e[0x0],_0x453ea2=_0x416d2e[0x1];_0x4fe5b9===_0x153ee3(0x239)&&typeof _0x453ea2==_0x153ee3(0x230)&&(_0x54db4c[_0x4fe5b9]=_0x453ea2[_0x153ee3(0x3a7)](/url\(#(.*)\)/,_0x153ee3(0x1eb)[_0x153ee3(0x344)](_0x6a961c['idSuffix'],')')));});var _0x4bb5c0=_0x6a961c[_0x50615d(0x2c1)];return!_0x4bb5c0||_0x4bb5c0[_0x50615d(0x354)]===0x0||(_0xe1cb0[_0x50615d(0x203)]==='use'&&_0x54db4c[_0x50615d(0x3a9)]&&(_0x54db4c[_0x50615d(0x3a9)]=_0x54db4c[_0x50615d(0x3a9)]+_0x6a961c[_0x50615d(0x281)]),Object[_0x50615d(0x44b)](_0x54db4c)['forEach'](function(_0x161ff3){const _0x5c0983=_0x50615d;var _0xc0850e=_0x161ff3[0x0],_0x9c8957=_0x161ff3[0x1];typeof _0x9c8957==_0x5c0983(0x230)&&(_0x54db4c[_0xc0850e]=_0x9c8957[_0x5c0983(0x3a7)](/url\(#(.*)\)/,_0x5c0983(0x1eb)[_0x5c0983(0x344)](_0x6a961c[_0x5c0983(0x281)],')')));})),_0x54db4c;}function _0x3d670a(_0x3569e3,_0xff54d8){const _0x3fa596=_0xf94d15;var _0x3a334d,_0x5f22f5=_0xff54d8[_0x3fa596(0x2c1)];return!_0x5f22f5||_0x5f22f5['length']===0x0?_0x3569e3:_0x3569e3[_0x3fa596(0x203)]===_0x3fa596(0x33c)&&(!((_0x3a334d=_0x3569e3['children'])===null||_0x3a334d===void 0x0)&&_0x3a334d[_0x3fa596(0x354)])?_0x583c7e(_0x583c7e({},_0x3569e3),{'children':_0x3569e3[_0x3fa596(0x23b)][_0x3fa596(0x2c9)](function(_0x3eea02){const _0x3331d3=_0x3fa596;return typeof _0x3eea02[_0x3331d3(0x3eb)]['id']=='string'&&_0x5f22f5&&_0x5f22f5[_0x3331d3(0x36f)](_0x3eea02[_0x3331d3(0x3eb)]['id'])?_0x583c7e(_0x583c7e({},_0x3eea02),{'attrs':_0x583c7e(_0x583c7e({},_0x3eea02[_0x3331d3(0x3eb)]),{'id':_0x3eea02[_0x3331d3(0x3eb)]['id']+_0xff54d8[_0x3331d3(0x281)]})}):_0x3eea02;})}):_0x3569e3;}function _0x518d95(){const _0x24840d=_0xf94d15;return Math[_0x24840d(0x3f9)]()[_0x24840d(0x29b)](0x24)[_0x24840d(0x1e8)](0x2,0x8);}_0x2fefef['displayName']=_0xf94d15(0x30d);var _0x1a66ea={'tag':'svg','attrs':{'xmlns':_0xf94d15(0x284),'fill':_0xf94d15(0x1ef),'viewBox':_0xf94d15(0x248),'width':'1em','height':_0xf94d15(0x3d0)},'children':[{'tag':'g','attrs':{'clipPath':_0xf94d15(0x427)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'stroke':_0xf94d15(0x407),'d':_0xf94d15(0x2ec),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xf94d15(0x33c),'attrs':{},'children':[{'tag':_0xf94d15(0x1d9),'attrs':{'id':_0xf94d15(0x2bf)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'fill':_0xf94d15(0x236),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xf94d15(0x2bf)]},_0x5619c8=_0x5c9659[_0xf94d15(0x35a)](function(_0x405195,_0xc4a747){const _0x3ce182=_0xf94d15;return _0x5c9659[_0x3ce182(0x3ad)](_0x2fefef,Object[_0x3ce182(0x267)]({},_0x405195,{'id':'off-line-icon','ref':_0xc4a747,'icon':_0x1a66ea}));});_0x5619c8[_0xf94d15(0x3f4)]='OffLineIcon';var _0x9acae7={'tag':_0xf94d15(0x22a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xf94d15(0x1ef),'viewBox':_0xf94d15(0x458),'width':_0xf94d15(0x3d0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xf94d15(0x369)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'stroke':_0xf94d15(0x407),'d':_0xf94d15(0x38c),'strokeLinecap':_0xf94d15(0x3d3),'strokeLinejoin':_0xf94d15(0x3d3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xf94d15(0x412),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0xf94d15(0x3ee)}}]}]}],'defIds':[_0xf94d15(0x37c)]},_0x59910e=_0x5c9659[_0xf94d15(0x35a)](function(_0x22f919,_0x141b48){const _0x2a7dbd=_0xf94d15;return _0x5c9659[_0x2a7dbd(0x3ad)](_0x2fefef,Object[_0x2a7dbd(0x267)]({},_0x22f919,{'id':_0x2a7dbd(0x359),'ref':_0x141b48,'icon':_0x9acae7}));});_0x59910e[_0xf94d15(0x3f4)]=_0xf94d15(0x40f);function _0x10cca3(_0x9b94e1){const _0x82ab13=_0xf94d15;switch(_0x9b94e1){case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x431)]:return _0x82ab13(0x2f1);case _0x51ae97['CollaborationStatus'][_0x82ab13(0x2f0)]:return'collabStatus.conflict';case _0x51ae97['CollaborationStatus'][_0x82ab13(0x44e)]:return'collabStatus.fetchMiss';case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x390)]:return _0x82ab13(0x250);case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x22b)]:case _0x51ae97[_0x82ab13(0x29a)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x3b7)]:case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x2d2)]:return'collabStatus.synced';}}function _0x2e9e93(_0x3f17fc){const _0x46a52f=_0xf94d15,{status$:_0x127d63}=_0x3f17fc,_0x3bf810=_0x30ac71['useObservable'](_0x127d63,_0x51ae97['CollaborationStatus'][_0x46a52f(0x390)]),_0x12a675=_0x30ac71[_0x46a52f(0x388)](_0x23cfa0['LocaleService']),_0x92a82f=_0x30ac71[_0x46a52f(0x388)](_0x51ae97['CollaborationSessionService']),_0x41b17c=_0x3bf810!==_0x51ae97['CollaborationStatus'][_0x46a52f(0x431)],_0x500c43=_0x12a675['t'](_0x10cca3(_0x3bf810)),_0x2be410=_0x41b17c?_0x561a21[_0x46a52f(0x3ea)](_0x59910e,{}):_0x561a21[_0x46a52f(0x3ea)](_0x5619c8,{}),_0x8d876f=_0x5c9659['useCallback'](()=>{const _0x449aaf=_0x46a52f;_0x41b17c||_0x92a82f[_0x449aaf(0x2e5)]();},[_0x41b17c,_0x92a82f]);function _0x274c73(){const _0x5f4c60=_0x46a52f;return _0x561a21[_0x5f4c60(0x313)](_0x5f4c60(0x3f8),{'className':_0x5f4c60(0x433),'onClick':_0x8d876f,'children':[_0x561a21[_0x5f4c60(0x3ea)](_0x5f4c60(0x3f8),{'className':_0x306647[_0x5f4c60(0x323)](_0x5f4c60(0x36c),{'univer-text-green-500':_0x41b17c,'univer-text-red-500':!_0x41b17c}),'children':_0x2be410}),_0x561a21[_0x5f4c60(0x3ea)](_0x5f4c60(0x3f8),{'className':_0x5f4c60(0x2aa),'children':_0x500c43})]});}return _0x41b17c?_0x274c73():_0x561a21['jsx'](_0x306647[_0x46a52f(0x215)],{'title':_0x12a675['t'](_0x46a52f(0x1de)),'children':_0x274c73()});}var _0x40ceb2=Object[_0xf94d15(0x1e6)],_0x1472d7=(_0x3cdb47,_0xe87add,_0x3f6f03,_0x1bbd96)=>{for(var _0x33bf18=_0x1bbd96>0x1?void 0x0:_0x1bbd96?_0x40ceb2(_0xe87add,_0x3f6f03):_0xe87add,_0x38beb4=_0x3cdb47['length']-0x1,_0x10816e;_0x38beb4>=0x0;_0x38beb4--)(_0x10816e=_0x3cdb47[_0x38beb4])&&(_0x33bf18=_0x10816e(_0x33bf18)||_0x33bf18);return _0x33bf18;},_0x139792=(_0x2ec350,_0x370504)=>(_0x3732a3,_0x1f3075)=>_0x370504(_0x3732a3,_0x1f3075,_0x2ec350);_0x4cf9f1['DesktopCollaborationStatusDisplayController']=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0xd609b5,_0x308ffc,_0x4a01c5,_0x15590b){const _0x69da9e=_0xf94d15;super(),_0x6a5a04(this,'_status$',new _0x1425de[(_0x69da9e(0x41c))](_0x51ae97[_0x69da9e(0x29a)]['NOT_COLLAB'])),(this[_0x69da9e(0x30c)]=_0xd609b5,this[_0x69da9e(0x443)]=_0x308ffc,this[_0x69da9e(0x2a3)]=_0x4a01c5,this[_0x69da9e(0x2d4)]=_0x15590b,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xf94d15(0x318)](){const _0x12f556=_0xf94d15;this[_0x12f556(0x340)](this[_0x12f556(0x30c)][_0x12f556(0x276)]['pipe'](_0x1425de['switchMap'](()=>{const _0x337996=_0x12f556,_0x206751=this['_univerInstanceService'][_0x337996(0x200)]();return _0x206751?this[_0x337996(0x2a3)]['getCollabEntity$'](_0x206751['getUnitId']()):_0x1425de['of'](null);}),_0x1425de['switchMap'](_0x558e24=>_0x558e24?_0x558e24[_0x12f556(0x425)]:_0x1425de['of'](_0x51ae97[_0x12f556(0x29a)][_0x12f556(0x390)])))[_0x12f556(0x2a8)](_0x3a542c=>{const _0x12152c=_0x12f556;this[_0x12152c(0x3c0)]['next'](_0x3a542c);}));}[_0xf94d15(0x277)](){const _0x38603a=_0xf94d15;this[_0x38603a(0x340)](this[_0x38603a(0x2d4)][_0x38603a(0x39c)](_0x30ac71['BuiltInUIPart'][_0x38603a(0x451)],()=>_0x30ac71[_0x38603a(0x364)](_0x28a571({'status$':this[_0x38603a(0x3c0)][_0x38603a(0x27c)]()}),this[_0x38603a(0x443)])));}},_0x4cf9f1[_0xf94d15(0x2d7)]=_0x1472d7([_0x139792(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x139792(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x139792(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97[_0xf94d15(0x29d)])),_0x139792(0x3,_0x30ac71[_0xf94d15(0x400)])],_0x4cf9f1[_0xf94d15(0x2d7)]);function _0x28a571(_0x2e39c4){const {status$:_0x13961c}=_0x2e39c4;return function(){const _0x1de963=_0x3464;return _0x561a21[_0x1de963(0x3ea)](_0x2e9e93,{'status$':_0x13961c});};}var _0x4dcd49=Object[_0xf94d15(0x1e6)],_0x389a6d=(_0x15b53c,_0x24b926,_0x58a32d,_0x9c531)=>{for(var _0x17dedb=_0x9c531>0x1?void 0x0:_0x9c531?_0x4dcd49(_0x24b926,_0x58a32d):_0x24b926,_0xd3fecc=_0x15b53c['length']-0x1,_0x599114;_0xd3fecc>=0x0;_0xd3fecc--)(_0x599114=_0x15b53c[_0xd3fecc])&&(_0x17dedb=_0x599114(_0x17dedb)||_0x17dedb);return _0x17dedb;},_0x155c50=(_0x388d65,_0x15253f)=>(_0x3e586a,_0x2d4c4b)=>_0x15253f(_0x3e586a,_0x2d4c4b,_0x388d65);let _0x322e8c=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x1fd2b7,_0x35262b,_0x5a962f,_0x5a668a,_0x1e9048,_0x1d8b52){const _0x4037d7=_0xf94d15;super(),this['_beforeCloseService']=_0x1fd2b7,this[_0x4037d7(0x3d5)]=_0x35262b,this[_0x4037d7(0x2d8)]=_0x5a962f,this[_0x4037d7(0x1f5)]=_0x5a668a,this[_0x4037d7(0x3bf)]=_0x1e9048,this[_0x4037d7(0x1fd)]=_0x1d8b52,this[_0x4037d7(0x395)](),this[_0x4037d7(0x291)]();}[_0xf94d15(0x395)](){const _0x45fc13=_0xf94d15;this['disposeWithMe'](this[_0x45fc13(0x30b)][_0x45fc13(0x265)](()=>{const _0x2b8844=_0x45fc13;if(this[_0x2b8844(0x3d5)][_0x2b8844(0x2cf)][_0x2b8844(0x2f8)])return this[_0x2b8844(0x1fd)]['t'](_0x2b8844(0x2ba));}));}[_0xf94d15(0x291)](){const _0x145835=_0xf94d15;this[_0x145835(0x340)](this[_0x145835(0x2d8)][_0x145835(0x2dc)]['subscribe'](_0x181425=>{const _0x1bfd99=_0x145835;_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x3cd)]&&this[_0x1bfd99(0x1f5)]['show']({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x2db)],'content':this['_localeService']['t'](_0x1bfd99(0x1ce))}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x26d)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x2db)],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x3fb))}),_0x181425['id']===_0x51ae97['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x1bfd99(0x358)]({'title':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x2c5)),'content':this['_localeService']['t'](_0x1bfd99(0x442)),'type':_0x1bfd99(0x393),'duration':0x0}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2f0)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647['MessageType']['Error'],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x3fb))+'('+_0x181425[_0x1bfd99(0x316)]+')'}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2b6)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647['MessageType'][_0x1bfd99(0x2db)],'content':this['_localeService']['t'](_0x181425[_0x1bfd99(0x316)]||'')}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2b9)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)]['Warning'],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x371))}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x370)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)]['Error'],'content':this[_0x1bfd99(0x1fd)]['t']('session.connection-failed')}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x367)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x1f4)],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x2ac))});}));}};_0x322e8c=_0x389a6d([_0x155c50(0x0,_0x30ac71['IBeforeCloseService']),_0x155c50(0x1,_0x51ae97[_0xf94d15(0x214)]),_0x155c50(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97['CollaborationUIEventService'])),_0x155c50(0x3,_0x30ac71['IMessageService']),_0x155c50(0x4,_0x30ac71['INotificationService']),_0x155c50(0x5,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x41b)]))],_0x322e8c);const _0x1ae88d='collaboration-client-ui.config',_0x16cbb7={},_0x307def=_0x23cfa0['createIdentifier'](_0xf94d15(0x378));var _0x1e8bc1=Object[_0xf94d15(0x1e6)],_0x4cfb6c=(_0x108aa6,_0x550866,_0x1cb024,_0x1f551d)=>{const _0x564dba=_0xf94d15;for(var _0x5c95ab=_0x1f551d>0x1?void 0x0:_0x1f551d?_0x1e8bc1(_0x550866,_0x1cb024):_0x550866,_0x4525ac=_0x108aa6[_0x564dba(0x354)]-0x1,_0x4f9ed8;_0x4525ac>=0x0;_0x4525ac--)(_0x4f9ed8=_0x108aa6[_0x4525ac])&&(_0x5c95ab=_0x4f9ed8(_0x5c95ab)||_0x5c95ab);return _0x5c95ab;},_0x165c3e=(_0x4ea75a,_0x36ef66)=>(_0x1f83b7,_0x1e65ef)=>_0x36ef66(_0x1f83b7,_0x1e65ef,_0x4ea75a);_0x4cf9f1['CollaborationDataLoaderController']=class extends _0x23cfa0['RxDisposable']{constructor(_0x372698,_0x2cafe3,_0x5cee29,_0x2a4c48,_0x47052b){const _0x1b14af=_0xf94d15;super(),this[_0x1b14af(0x2b7)]=_0x372698,this[_0x1b14af(0x3d4)]=_0x2cafe3,this[_0x1b14af(0x1cd)]=_0x5cee29,this[_0x1b14af(0x31d)]=_0x2a4c48,_0x47052b?_0x47052b==null||_0x47052b[_0x1b14af(0x2ae)]()[_0x1b14af(0x31a)](()=>this[_0x1b14af(0x32b)]()):(this['_logService']['debug'](_0x1b14af(0x29e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x3274ee=_0xf94d15,_0x574afa=this[_0x3274ee(0x2b7)][_0x3274ee(0x3ae)]('unit'),_0x2a4f92=this[_0x3274ee(0x2b7)]['getParam']('type'),_0x3c65c2=this[_0x3274ee(0x2b7)][_0x3274ee(0x3ae)](_0x3274ee(0x1ff));if(!_0x574afa||!_0x2a4f92){this['_logService']['debug'](_0x3274ee(0x29e),_0x3274ee(0x2fb));return;}const _0x187686=await this[_0x3274ee(0x31d)]['loadUnit'](_0x574afa,Number(_0x2a4f92),_0x3c65c2);_0x187686&&_0x187686 instanceof _0x23cfa0[_0x3274ee(0x2da)]&&this[_0x3274ee(0x3f5)](_0x187686);}async['_setupSubUnitSync'](_0x14bf30){const _0x3db290=_0xf94d15;await this[_0x3db290(0x227)](_0x14bf30),_0x14bf30[_0x3db290(0x2b8)][_0x3db290(0x41e)](_0x1425de['takeUntil'](this[_0x3db290(0x391)]))['subscribe'](_0x1ea9ec=>{_0x1ea9ec&&this['_updateURLWithCurrentState'](_0x1ea9ec);}),this[_0x3db290(0x2b7)][_0x3db290(0x3ba)][_0x3db290(0x41e)](_0x1425de[_0x3db290(0x3e4)](this[_0x3db290(0x391)]))['subscribe'](()=>this[_0x3db290(0x227)](_0x14bf30));}[_0xf94d15(0x21d)](_0x459a55,_0x5b000e=!0x1){const _0x163ef0=_0xf94d15,_0x3b5dcf=this[_0x163ef0(0x2b7)][_0x163ef0(0x3ae)](_0x163ef0(0x1ff));_0x459a55['getSheetId']()!==_0x3b5dcf&&this['_urlService']['setParam'](_0x163ef0(0x1ff),_0x459a55[_0x163ef0(0x2c8)](),_0x5b000e);}async[_0xf94d15(0x227)](_0x478c0b){const _0x538a6c=_0xf94d15;var _0x430038;const _0x3417bc=this[_0x538a6c(0x2b7)][_0x538a6c(0x3ae)](_0x538a6c(0x1ff));if(!_0x3417bc||!_0x478c0b[_0x538a6c(0x44c)](_0x3417bc)){const _0x3e858c=_0x478c0b['getUnhiddenWorksheets']()[0x0],_0x3145ce=_0x478c0b[_0x538a6c(0x44c)](_0x3e858c);if(!_0x3145ce)return;this[_0x538a6c(0x21d)](_0x3145ce,!0x0),await this[_0x538a6c(0x1cd)][_0x538a6c(0x234)](_0x28fbd1['SetWorksheetActivateCommand']['id'],{'unitId':_0x478c0b[_0x538a6c(0x289)](),'subUnitId':_0x3e858c});return;}((_0x430038=_0x478c0b[_0x538a6c(0x37a)]())==null?void 0x0:_0x430038[_0x538a6c(0x2c8)]())!==_0x3417bc&&await this[_0x538a6c(0x1cd)]['executeCommand'](_0x28fbd1[_0x538a6c(0x1d2)]['id'],{'unitId':_0x478c0b['getUnitId'](),'subUnitId':_0x3417bc});}},_0x4cf9f1[_0xf94d15(0x338)]=_0x4cfb6c([_0x165c3e(0x0,_0x307def),_0x165c3e(0x1,_0x23cfa0[_0xf94d15(0x245)]),_0x165c3e(0x2,_0x23cfa0[_0xf94d15(0x1e7)]),_0x165c3e(0x3,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x439)])),_0x165c3e(0x4,_0x23cfa0[_0xf94d15(0x275)](_0x154a8a[_0xf94d15(0x2f7)]))],_0x4cf9f1[_0xf94d15(0x338)]);var _0x4816da=Object['getOwnPropertyDescriptor'],_0x159fda=(_0x9d146a,_0x5cec33,_0x50e753,_0x159743)=>{const _0x429643=_0xf94d15;for(var _0x3fd686=_0x159743>0x1?void 0x0:_0x159743?_0x4816da(_0x5cec33,_0x50e753):_0x5cec33,_0x1b2073=_0x9d146a[_0x429643(0x354)]-0x1,_0x4291c8;_0x1b2073>=0x0;_0x1b2073--)(_0x4291c8=_0x9d146a[_0x1b2073])&&(_0x3fd686=_0x4291c8(_0x3fd686)||_0x3fd686);return _0x3fd686;},_0x527490=(_0x4221f6,_0xb3d0cf)=>(_0x2c9533,_0x3c236b)=>_0xb3d0cf(_0x2c9533,_0x3c236b,_0x4221f6);let _0x2701d5=class{constructor(_0x38b273,_0x2a9fac,_0x24e4cb){const _0x5e0fa4=_0xf94d15;this['_injector']=_0x38b273,this[_0x5e0fa4(0x40d)]=_0x2a9fac,this[_0x5e0fa4(0x441)]=_0x24e4cb;}[_0xf94d15(0x3b2)](_0x4000d6){const _0x21c07a=_0xf94d15;this[_0x21c07a(0x28c)](_0x4000d6),this[_0x21c07a(0x1e3)](_0x4000d6);}[_0xf94d15(0x285)](_0x264cc3){const _0xba0330=_0xf94d15,{unitID:_0x164d51}=_0x264cc3,_0x94ae5d=this[_0xba0330(0x441)][_0xba0330(0x1d5)](_0x164d51)[_0xba0330(0x2e6)](_0x27e66a['DocIMEInputManagerService']),{redoCache:_0x17283d}=_0x94ae5d[_0xba0330(0x361)]();if(_0x17283d['length']===0x0)return _0x264cc3;let _0x2d9bd2=_0x23cfa0['Tools'][_0xba0330(0x28d)](_0x264cc3[_0xba0330(0x218)][0x0]);for(let _0x42f78c=0x0;_0x42f78c<_0x17283d[_0xba0330(0x354)];_0x42f78c++){const _0x409068={'id':_0xba0330(0x33b),'params':{..._0x17283d[_0x42f78c]}},_0x29e5f6=this['_transformService'][_0xba0330(0x238)](_0x2d9bd2,_0x409068,!0x1);if(_0x46d1ab['isTransformMutationFailure'](_0x29e5f6))throw _0x29e5f6[_0xba0330(0x393)];_0x2d9bd2=_0x29e5f6['m1Prime'];}return{..._0x23cfa0[_0xba0330(0x292)][_0xba0330(0x28d)](_0x264cc3),'mutations':[_0x2d9bd2]};}[_0xf94d15(0x28c)](_0x1f6754){const _0x46b389=_0xf94d15,{unitID:_0x57cd1e}=_0x1f6754,_0x2c483d=this[_0x46b389(0x441)]['getRenderById'](_0x57cd1e)[_0x46b389(0x2e6)](_0x27e66a['DocIMEInputManagerService']),{undoCache:_0x4bced1,redoCache:_0x28837a}=_0x2c483d[_0x46b389(0x361)]();if(_0x4bced1[_0x46b389(0x354)]===0x0||_0x28837a['length']===0x0)return;const _0x3efd78=[],_0x16ccf0=[];let _0x12155c=_0x23cfa0['Tools'][_0x46b389(0x28d)](_0x1f6754[_0x46b389(0x218)][0x0]),_0x56475c=_0x23cfa0[_0x46b389(0x292)][_0x46b389(0x28d)](_0x1f6754['mutations'][0x0]);for(let _0x16604a=_0x4bced1[_0x46b389(0x354)]-0x1;_0x16604a>=0x0;_0x16604a--){const _0x5e5e42={'id':'doc.mutation.rich-text-editing','params':{..._0x4bced1[_0x16604a]}},_0x4fda6e={'id':_0x46b389(0x33b),'params':{..._0x28837a[_0x16604a]}},_0x38ef12=this['_transformService'][_0x46b389(0x238)](_0x12155c,_0x5e5e42,!0x1),_0x2cecfa=this[_0x46b389(0x40d)][_0x46b389(0x238)](_0x56475c,_0x4fda6e,!0x1);if(_0x46d1ab[_0x46b389(0x274)](_0x38ef12))throw _0x38ef12[_0x46b389(0x393)];if(_0x46d1ab['isTransformMutationFailure'](_0x2cecfa))throw _0x2cecfa['error'];_0x3efd78[_0x46b389(0x23d)](_0x38ef12['m2Prime'][_0x46b389(0x41f)]),_0x16ccf0[_0x46b389(0x23d)](_0x2cecfa[_0x46b389(0x246)][_0x46b389(0x41f)]),_0x12155c=_0x38ef12[_0x46b389(0x3a1)],_0x56475c=_0x2cecfa[_0x46b389(0x3a1)];}_0x2c483d[_0x46b389(0x3fa)]({'undoCache':_0x3efd78,'redoCache':_0x16ccf0});}['_transformPreviousActiveRange'](_0x19dc64){const _0x34d12b=_0xf94d15,{unitID:_0x290336}=_0x19dc64,_0x17828e=this[_0x34d12b(0x441)]['getRenderById'](_0x290336)[_0x34d12b(0x2e6)](_0x27e66a['DocIMEInputManagerService']),_0x28a717=_0x17828e[_0x34d12b(0x3ab)]();if(_0x28a717==null)return;const _0x3ba826=[{'id':_0x34d12b(0x33b),'params':{'unitId':_0x19dc64['unitID'],'actions':null,'textRanges':[_0x28a717]}}],_0x2fd7b9=this['_transformService']['transformMutationsWithChangeset'](_0x19dc64,_0x3ba826);if(!_0x46d1ab[_0x34d12b(0x329)](_0x2fd7b9))throw _0x2fd7b9[_0x34d12b(0x393)];const _0x59b275=_0x2fd7b9[_0x34d12b(0x246)][0x0][_0x34d12b(0x41f)][_0x34d12b(0x426)];Array[_0x34d12b(0x2c7)](_0x59b275)&&_0x59b275['length']&&_0x17828e['setActiveRange'](_0x59b275[0x0]);}};_0x2701d5=_0x159fda([_0x527490(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x527490(0x1,_0x46d1ab[_0xf94d15(0x420)]),_0x527490(0x2,_0x188338[_0xf94d15(0x20e)])],_0x2701d5);var _0x39f317=Object['getOwnPropertyDescriptor'],_0x4792f5=(_0xf89f20,_0x58987b,_0x25aa0a,_0x4e1f61)=>{const _0x2796cb=_0xf94d15;for(var _0x33d3a4=_0x4e1f61>0x1?void 0x0:_0x4e1f61?_0x39f317(_0x58987b,_0x25aa0a):_0x58987b,_0x4acf1d=_0xf89f20[_0x2796cb(0x354)]-0x1,_0x577ad2;_0x4acf1d>=0x0;_0x4acf1d--)(_0x577ad2=_0xf89f20[_0x4acf1d])&&(_0x33d3a4=_0x577ad2(_0x33d3a4)||_0x33d3a4);return _0x33d3a4;},_0x2e690a=(_0x2e3581,_0x4510d0)=>(_0x27690a,_0x699640)=>_0x4510d0(_0x27690a,_0x699640,_0x2e3581);let _0x1fdefc=class{constructor(_0x2b9b64,_0x5ab722,_0x486abb){const _0x1061dc=_0xf94d15;this['_injector']=_0x2b9b64,this[_0x1061dc(0x40d)]=_0x5ab722,this[_0x1061dc(0x216)]=_0x486abb;}[_0xf94d15(0x32c)](_0x3a7bd8){const _0x186eaa=_0xf94d15;this[_0x186eaa(0x3f7)](_0x3a7bd8);}[_0xf94d15(0x285)](_0x1d9bb8){const _0x459914=_0xf94d15,{unitID:_0x23ce38}=_0x1d9bb8,{collaboration:_0x3b127a}=this[_0x459914(0x216)][_0x459914(0x41d)](_0x23ce38);if(_0x3b127a[_0x459914(0x354)]===0x0)return _0x1d9bb8;let _0x15d67c=_0x23cfa0['Tools'][_0x459914(0x28d)](_0x1d9bb8[_0x459914(0x218)][0x0]);for(let _0x49aacb=0x0;_0x49aacb<_0x3b127a['length'];_0x49aacb++){const _0x42c806={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b127a[_0x49aacb]['unitId'],..._0x3b127a[_0x49aacb][_0x459914(0x2dd)]}},_0x2808f2=this[_0x459914(0x40d)][_0x459914(0x238)](_0x15d67c,_0x42c806,!0x1);if(_0x46d1ab[_0x459914(0x274)](_0x2808f2))throw _0x2808f2['error'];_0x15d67c=_0x2808f2['m1Prime'];}return{..._0x23cfa0[_0x459914(0x292)][_0x459914(0x28d)](_0x1d9bb8),'mutations':[_0x15d67c]};}[_0xf94d15(0x3f7)](_0x24a8b8){const _0x4a5b9f=_0xf94d15,{unitID:_0x903dc8}=_0x24a8b8,{history:_0x54ae2d,collaboration:_0x53bf94}=this[_0x4a5b9f(0x216)][_0x4a5b9f(0x41d)](_0x903dc8);if(_0x54ae2d[_0x4a5b9f(0x354)]===0x0&&_0x53bf94['length']===0x0)return;const _0x6e24e8=[],_0x2d2eca=[];let _0x204d33=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]),_0x5f176b=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]);for(let _0x321de0=_0x54ae2d[_0x4a5b9f(0x354)]-0x1;_0x321de0>=0x0;_0x321de0--){const _0x2a0246={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x54ae2d[_0x321de0][_0x4a5b9f(0x2b0)],..._0x54ae2d[_0x321de0][_0x4a5b9f(0x34a)]}},_0x1c325e={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x54ae2d[_0x321de0]['unitId'],..._0x54ae2d[_0x321de0][_0x4a5b9f(0x2dd)]}},_0x52cfb7=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x204d33,_0x2a0246,!0x1),_0x5ce5ae=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x5f176b,_0x1c325e,!0x1);if(_0x46d1ab[_0x4a5b9f(0x274)](_0x52cfb7))throw _0x52cfb7['error'];if(_0x46d1ab[_0x4a5b9f(0x274)](_0x5ce5ae))throw _0x5ce5ae[_0x4a5b9f(0x393)];_0x6e24e8['unshift']({..._0x54ae2d[_0x321de0],'undoState':_0x52cfb7[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)],'redoState':_0x5ce5ae[_0x4a5b9f(0x246)]['params']}),_0x204d33=_0x52cfb7[_0x4a5b9f(0x3a1)],_0x5f176b=_0x5ce5ae[_0x4a5b9f(0x3a1)];}_0x204d33=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]),_0x5f176b=_0x23cfa0[_0x4a5b9f(0x292)][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]);for(let _0x15d85d=_0x53bf94['length']-0x1;_0x15d85d>=0x0;_0x15d85d--){const _0x315bae={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x53bf94[_0x15d85d][_0x4a5b9f(0x2b0)],..._0x53bf94[_0x15d85d][_0x4a5b9f(0x34a)]}},_0x2996b7={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x53bf94[_0x15d85d]['unitId'],..._0x53bf94[_0x15d85d][_0x4a5b9f(0x2dd)]}},_0x7946e9=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x204d33,_0x315bae,!0x1),_0x163f32=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x5f176b,_0x2996b7,!0x1);if(_0x46d1ab[_0x4a5b9f(0x274)](_0x7946e9))throw _0x7946e9[_0x4a5b9f(0x393)];if(_0x46d1ab[_0x4a5b9f(0x274)](_0x163f32))throw _0x163f32['error'];_0x2d2eca['unshift']({..._0x53bf94[_0x15d85d],'undoState':_0x7946e9[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)],'redoState':_0x163f32[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)]}),_0x204d33=_0x7946e9[_0x4a5b9f(0x3a1)],_0x5f176b=_0x163f32[_0x4a5b9f(0x3a1)];}this['_docStateChangeManagerService'][_0x4a5b9f(0x1dc)](_0x903dc8,{'history':_0x6e24e8,'collaboration':_0x2d2eca});}};_0x1fdefc=_0x4792f5([_0x2e690a(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x2e690a(0x1,_0x46d1ab['ITransformService']),_0x2e690a(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x27e66a['DocStateChangeManagerService']))],_0x1fdefc);var _0x1b7ba1=Object[_0xf94d15(0x1e6)],_0x328533=(_0x80f7d6,_0x3b1b35,_0x5a8361,_0x2678dd)=>{const _0x382eec=_0xf94d15;for(var _0x333d68=_0x2678dd>0x1?void 0x0:_0x2678dd?_0x1b7ba1(_0x3b1b35,_0x5a8361):_0x3b1b35,_0x193eaa=_0x80f7d6[_0x382eec(0x354)]-0x1,_0x21abbe;_0x193eaa>=0x0;_0x193eaa--)(_0x21abbe=_0x80f7d6[_0x193eaa])&&(_0x333d68=_0x21abbe(_0x333d68)||_0x333d68);return _0x333d68;},_0x21e168=(_0x1b8d0a,_0x38f5dc)=>(_0x2835af,_0x3d61e1)=>_0x38f5dc(_0x2835af,_0x3d61e1,_0x1b8d0a);let _0x382263=class{constructor(_0x38eb47,_0x40e8de){const _0x3c8d88=_0xf94d15;this['_injector']=_0x38eb47,this[_0x3c8d88(0x40d)]=_0x40e8de;}[_0xf94d15(0x32f)](_0x3e87f4){const _0x51f545=_0xf94d15;var _0x397c98;const _0x3facfb=this['_injector'][_0x51f545(0x417)](_0x3bc28d[_0x51f545(0x211)]),_0x56eb7d=(_0x397c98=_0x3facfb['getDocRanges']())!=null?_0x397c98:[];if(_0x56eb7d['length']===0x0)return;const _0x4d108c=_0x3e87f4[_0x51f545(0x2de)],_0x5b66ac=[{'id':_0x51f545(0x33b),'params':{'unitId':_0x4d108c,'actions':null,'textRanges':_0x56eb7d}}],_0x34ec12=this['_transformService'][_0x51f545(0x20a)](_0x3e87f4,_0x5b66ac);if(!_0x46d1ab[_0x51f545(0x329)](_0x34ec12))throw _0x34ec12['error'];const _0x373f66=_0x34ec12[_0x51f545(0x246)][0x0]['params'][_0x51f545(0x426)];Array[_0x51f545(0x2c7)](_0x373f66)&&_0x373f66[_0x51f545(0x354)]&&_0x3facfb['replaceDocRanges'](_0x373f66,{'unitId':_0x4d108c,'subUnitId':_0x4d108c},!0x1);}};_0x382263=_0x328533([_0x21e168(0x0,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x1e4)])),_0x21e168(0x1,_0x46d1ab[_0xf94d15(0x420)])],_0x382263);var _0x4b1031=Object[_0xf94d15(0x1e6)],_0x5c5688=(_0x20f55e,_0x3ce5e2,_0x34d910,_0x49b70f)=>{const _0x2b84a3=_0xf94d15;for(var _0x3fe50d=_0x49b70f>0x1?void 0x0:_0x49b70f?_0x4b1031(_0x3ce5e2,_0x34d910):_0x3ce5e2,_0x857f25=_0x20f55e[_0x2b84a3(0x354)]-0x1,_0x3fc861;_0x857f25>=0x0;_0x857f25--)(_0x3fc861=_0x20f55e[_0x857f25])&&(_0x3fe50d=_0x3fc861(_0x3fe50d)||_0x3fe50d);return _0x3fe50d;},_0x840ff9=(_0x34a391,_0x465ebf)=>(_0x314bc7,_0x290256)=>_0x465ebf(_0x314bc7,_0x290256,_0x34a391);let _0x16862c=class extends _0x23cfa0['Disposable']{constructor(_0x42d4b2,_0x45f6b9,_0x513b41,_0x50286d,_0x38c073,_0x28c9ce,_0x55bb3d,_0x4e7d0f){const _0x1135f5=_0xf94d15;super(),_0x6a5a04(this,_0x1135f5(0x3c0),new _0x1425de[(_0x1135f5(0x41c))](_0x51ae97['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x42d4b2,this[_0x1135f5(0x2a3)]=_0x45f6b9,this[_0x1135f5(0x26f)]=_0x513b41,this[_0x1135f5(0x20f)]=_0x50286d,this[_0x1135f5(0x22d)]=_0x38c073,this['_docSyncEditingCollabCursorService']=_0x28c9ce,this[_0x1135f5(0x1f5)]=_0x55bb3d,this[_0x1135f5(0x1fd)]=_0x4e7d0f,this[_0x1135f5(0x209)]());}[_0xf94d15(0x209)](){const _0x2df144=_0xf94d15;this[_0x2df144(0x340)](this[_0x2df144(0x2a3)][_0x2df144(0x436)][_0x2df144(0x2a8)](_0x4bb661=>{const _0xb93b44=_0x2df144,_0x20b718=this[_0xb93b44(0x216)]['docStateChange$']['subscribe'](_0x2d5776=>{const _0x2f9bd6=_0xb93b44;if(_0x2d5776==null)return;const {unitId:_0x5035fe,redoState:_0x277dd4,commandId:_0x43e7a7}=_0x2d5776;if(_0x5035fe!==_0x4bb661[_0x2f9bd6(0x2de)])return;const _0x162e93={'id':_0x43e7a7,'type':_0x23cfa0[_0x2f9bd6(0x325)]['MUTATION'],'params':{'unitId':_0x5035fe,'actions':_0x277dd4[_0x2f9bd6(0x3b9)],'textRanges':null}};_0x4bb661['onLocalMutation'](_0x162e93);});if(_0x4bb661[_0xb93b44(0x340)](_0x20b718),_0x4bb661 instanceof _0x51ae97['DocCollaborationEntity']){const _0x564821={'onTransformIME':_0x3237d1=>this[_0xb93b44(0x26f)][_0xb93b44(0x3b2)](_0x3237d1),'onTransformState':_0x50a99a=>this[_0xb93b44(0x20f)][_0xb93b44(0x32c)](_0x50a99a),'onTransformSelections':_0x5729d7=>this[_0xb93b44(0x22d)]['transformSelections'](_0x5729d7),'onSyncEditingCollabCursor':_0x8fae11=>this[_0xb93b44(0x39f)][_0xb93b44(0x35e)](_0x8fae11),'onTransformRemoteChangesetByIMECache':_0x22eb7d=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x22eb7d),'onTransformRemoteChangesetByStateCache':_0x42528c=>this[_0xb93b44(0x20f)]['transformRemoteChangeset'](_0x42528c)};_0x4bb661[_0xb93b44(0x408)](_0x564821);}}));}};_0x16862c=_0x5c5688([_0x840ff9(0x0,_0x23cfa0['Inject'](_0x27e66a[_0xf94d15(0x2c6)])),_0x840ff9(0x1,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x29d)])),_0x840ff9(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x2701d5)),_0x840ff9(0x3,_0x23cfa0[_0xf94d15(0x24b)](_0x1fdefc)),_0x840ff9(0x4,_0x23cfa0[_0xf94d15(0x24b)](_0x382263)),_0x840ff9(0x5,_0x23cfa0[_0xf94d15(0x24b)](_0x47f3a0)),_0x840ff9(0x6,_0x30ac71['IMessageService']),_0x840ff9(0x7,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['LocaleService']))],_0x16862c);var _0x4709cf=Object[_0xf94d15(0x1e6)],_0x126641=(_0x43da4f,_0x26a36f,_0x52084d,_0x3412a5)=>{for(var _0x96dc3f=_0x3412a5>0x1?void 0x0:_0x3412a5?_0x4709cf(_0x26a36f,_0x52084d):_0x26a36f,_0x3fae67=_0x43da4f['length']-0x1,_0x15b711;_0x3fae67>=0x0;_0x3fae67--)(_0x15b711=_0x43da4f[_0x3fae67])&&(_0x96dc3f=_0x15b711(_0x96dc3f)||_0x96dc3f);return _0x96dc3f;},_0x36759e=(_0x36f161,_0x332dea)=>(_0x11f016,_0x98721a)=>_0x332dea(_0x11f016,_0x98721a,_0x36f161);let _0x54dd19=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x4ac714,_0x4971d1,_0x3d1905){const _0x420e6e=_0xf94d15;super(),_0x6a5a04(this,_0x420e6e(0x3bc),new Map()),_0x6a5a04(this,_0x420e6e(0x314),new Map()),_0x6a5a04(this,'_disabled',!0x1),(this['_configService']=_0x4ac714,this['_localStorageService']=_0x4971d1,this['_revisionService']=_0x3d1905);}['disableLocalCache'](){const _0x4f1c97=_0xf94d15;this[_0x4f1c97(0x2d1)]=!0x0;}[_0xf94d15(0x2df)](){const _0x1b503c=_0xf94d15;this[_0x1b503c(0x2d1)]=!0x1;}get['saveTaskMap'](){const _0x4c05a7=_0xf94d15;return this[_0x4c05a7(0x314)];}['dispose'](){const _0x22b959=_0xf94d15;this[_0x22b959(0x385)]()[_0x22b959(0x31a)](()=>super[_0x22b959(0x38a)]());}async[_0xf94d15(0x2f5)](_0x3e20d5){const _0x4c1ee0=_0xf94d15;return this[_0x4c1ee0(0x2d1)]?null:this[_0x4c1ee0(0x293)][_0x4c1ee0(0x219)](_0x51ae97[_0x4c1ee0(0x382)](_0x3e20d5));}async[_0xf94d15(0x2bc)](_0x4ac79d,_0x2da92b){const _0x89f01c=_0xf94d15;return!!this[_0x89f01c(0x293)][_0x89f01c(0x3c9)](_0x4ac79d,_0x2da92b);}[_0xf94d15(0x3d2)](_0x882285,_0x5c7f74,_0x5a9ba9,_0x3c298d){const _0x464338=_0xf94d15,_0x4e44c8=this[_0x464338(0x1f0)][_0x464338(0x372)](_0x882285);this[_0x464338(0x3bc)][_0x464338(0x429)](_0x882285,{'unitID':_0x882285,'type':_0x5c7f74,'awaitingChangeset':_0x5a9ba9,'mutations':_0x3c298d,'rev':_0x4e44c8}),this['_saveTaskMap'][_0x464338(0x3a2)](_0x882285)||this[_0x464338(0x43f)](_0x882285);}[_0xf94d15(0x43f)](_0x1564fe){const _0x204901=_0xf94d15,_0x193cc8=this['_getSaveTimeout']();_0x193cc8===0x0?this['_saveCache'](_0x1564fe):this[_0x204901(0x314)][_0x204901(0x429)](_0x1564fe,setTimeout(()=>this[_0x204901(0x387)](_0x1564fe),_0x193cc8));}[_0xf94d15(0x207)](){const _0x4fa624=_0xf94d15;var _0x42dc1b;return(_0x42dc1b=this[_0x4fa624(0x20c)][_0x4fa624(0x255)](_0x51ae97['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x42dc1b:_0x51ae97['LOCAL_CACHE_INTERVAL'];}[_0xf94d15(0x387)](_0x33a777){const _0x197bc9=_0xf94d15,_0x5827f8=this['_saveTaskMap']['get'](_0x33a777);return _0x5827f8!==void 0x0&&window[_0x197bc9(0x266)](_0x5827f8),this['_localStorageService'][_0x197bc9(0x3c9)](_0x51ae97['getLocalCacheKey'](_0x33a777),this['_cachedData'][_0x197bc9(0x417)](_0x33a777))[_0x197bc9(0x31a)](()=>this[_0x197bc9(0x314)][_0x197bc9(0x2e7)](_0x33a777));}async[_0xf94d15(0x385)](){const _0x85ccb4=_0xf94d15,_0x4da8dd=[];this[_0x85ccb4(0x314)]['forEach']((_0x21bf70,_0x41566c)=>{const _0x3cc7da=_0x85ccb4;window['clearTimeout'](_0x21bf70),_0x4da8dd[_0x3cc7da(0x3f2)](this['_saveCache'](_0x41566c)['then'](()=>{const _0x2280d0=_0x3cc7da;this[_0x2280d0(0x314)]['delete'](_0x41566c);}));}),await Promise['all'](_0x4da8dd);}};_0x54dd19=_0x126641([_0x36759e(0x0,_0x23cfa0[_0xf94d15(0x231)]),_0x36759e(0x1,_0x23cfa0[_0xf94d15(0x2cd)]),_0x36759e(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x46d1ab[_0xf94d15(0x226)]))],_0x54dd19);class _0x69d05e extends _0x23cfa0[_0xf94d15(0x341)]{constructor(){const _0x42b27a=_0xf94d15;super(),_0x6a5a04(this,'urlChange$'),this[_0x42b27a(0x3ba)]=_0x1425de[_0x42b27a(0x455)](window,_0x42b27a(0x2a2))[_0x42b27a(0x41e)](_0x1425de['takeUntil'](this[_0x42b27a(0x391)]),_0x1425de[_0x42b27a(0x2f3)](0x1),_0x1425de['mapTo'](void 0x0));}[_0xf94d15(0x3fc)](_0x3ea0a3,_0x2dcc49,_0x37a4d0=!0x1){const _0x1322a5=_0xf94d15,_0x436d06=new URL(window[_0x1322a5(0x3dd)][_0x1322a5(0x3e5)]);_0x436d06[_0x1322a5(0x347)][_0x1322a5(0x429)](_0x3ea0a3,_0x2dcc49),_0x37a4d0?window[_0x1322a5(0x405)][_0x1322a5(0x2fc)]('','',_0x436d06[_0x1322a5(0x29b)]()):window[_0x1322a5(0x405)]['pushState']('','',_0x436d06['toString']());}['removeParam'](_0xc825f6,_0xb0ee08=!0x1){const _0x850c1=_0xf94d15,_0x7ac8f5=new URL(window[_0x850c1(0x3dd)]['href']);_0x7ac8f5[_0x850c1(0x347)][_0x850c1(0x2e7)](_0xc825f6),_0xb0ee08?window['history'][_0x850c1(0x2fc)]('','',_0x7ac8f5[_0x850c1(0x29b)]()):window[_0x850c1(0x405)][_0x850c1(0x39e)]('','',_0x7ac8f5['toString']());}[_0xf94d15(0x3ae)](_0x173653){const _0x472d00=_0xf94d15;var _0x22afe9;return(_0x22afe9=new URL(window[_0x472d00(0x3dd)][_0x472d00(0x3e5)])[_0x472d00(0x347)]['get'](_0x173653))!=null?_0x22afe9:void 0x0;}}var _0x5419a9=Object[_0xf94d15(0x20d)],_0x388939=Object['getOwnPropertyDescriptor'],_0x5dd2d5=(_0x168951,_0x5783ba,_0x595324)=>_0x5783ba in _0x168951?_0x5419a9(_0x168951,_0x5783ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x595324}):_0x168951[_0x5783ba]=_0x595324,_0x94d1b=(_0x55e9d7,_0x2fcb00,_0x107819,_0x2e7047)=>{const _0x162131=_0xf94d15;for(var _0x15de3e=_0x2e7047>0x1?void 0x0:_0x2e7047?_0x388939(_0x2fcb00,_0x107819):_0x2fcb00,_0x3bc168=_0x55e9d7[_0x162131(0x354)]-0x1,_0x49be34;_0x3bc168>=0x0;_0x3bc168--)(_0x49be34=_0x55e9d7[_0x3bc168])&&(_0x15de3e=_0x49be34(_0x15de3e)||_0x15de3e);return _0x15de3e;},_0x58e405=(_0x3372c8,_0x3023d5)=>(_0x3207d1,_0x15b760)=>_0x3023d5(_0x3207d1,_0x15b760,_0x3372c8),_0xbce476=(_0x54626e,_0x2f4482,_0x133bf9)=>_0x5dd2d5(_0x54626e,_0x2f4482+'',_0x133bf9);const _0x4bee47=_0xf94d15(0x244);_0x4cf9f1[_0xf94d15(0x30f)]=class extends _0x23cfa0[_0xf94d15(0x319)]{constructor(_0x44f4b6=_0x16cbb7,_0x57e908,_0x1eeb6f,_0x4baa77){const _0x565ad5=_0xf94d15;super(),this[_0x565ad5(0x23c)]=_0x44f4b6,this[_0x565ad5(0x441)]=_0x57e908,this['_injector']=_0x1eeb6f,this[_0x565ad5(0x20c)]=_0x4baa77;const {..._0x4e19f6}=_0x23cfa0[_0x565ad5(0x23e)]({},_0x16cbb7,this[_0x565ad5(0x23c)]);this[_0x565ad5(0x20c)][_0x565ad5(0x43d)](_0x1ae88d,_0x4e19f6);}[_0xf94d15(0x22f)](){const _0xf32c4a=_0xf94d15;this[_0xf32c4a(0x40b)](),this[_0xf32c4a(0x312)]();}[_0xf94d15(0x27b)](){const _0x45ad23=_0xf94d15;this[_0x45ad23(0x30a)]();}['_registerDependencies'](){const _0x57ac34=_0xf94d15;var _0x339e24;const _0x2f0964=[[_0x78b02d],[_0x382263],[_0x2701d5],[_0x1fdefc],[_0x47f3a0],[_0x307def,{'useClass':_0x69d05e}],[_0x99d8d6[_0x57ac34(0x240)],{'useClass':_0x99d8d6['WebSocketService']}],[_0x51ae97[_0x57ac34(0x214)],{'useClass':_0x54dd19}],[_0x4cf9f1[_0x57ac34(0x2d7)]],[_0x16862c],[_0x322e8c],[_0x25f318],[_0x34fb25],[_0x4cf9f1[_0x57ac34(0x338)]]];_0x23cfa0[_0x57ac34(0x1ed)](this[_0x57ac34(0x443)],_0x23cfa0[_0x57ac34(0x322)](_0x2f0964,(_0x339e24=this['_config'])==null?void 0x0:_0x339e24['override']));}[_0xf94d15(0x30a)](){const _0x3009b7=_0xf94d15;this[_0x3009b7(0x340)](this[_0x3009b7(0x441)][_0x3009b7(0x288)](_0x23cfa0[_0x3009b7(0x40e)][_0x3009b7(0x2ea)],[_0x2cdf34])),this['disposeWithMe'](this[_0x3009b7(0x441)][_0x3009b7(0x288)](_0x23cfa0[_0x3009b7(0x40e)][_0x3009b7(0x272)],[_0x52df86]));}[_0xf94d15(0x312)](){const _0x280041=_0xf94d15;_0x23cfa0[_0x280041(0x1c8)](this['_injector'],[[_0x25f318],[_0x4cf9f1[_0x280041(0x2d7)]],[_0x16862c],[_0x322e8c],[_0x4cf9f1['CollaborationDataLoaderController']]]);}},_0xbce476(_0x4cf9f1[_0xf94d15(0x30f)],_0xf94d15(0x309),_0x4bee47),_0x4cf9f1[_0xf94d15(0x30f)]=_0x94d1b([_0x23cfa0[_0xf94d15(0x350)](_0x51ae97[_0xf94d15(0x21c)]),_0x58e405(0x1,_0x188338[_0xf94d15(0x20e)]),_0x58e405(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['Injector'])),_0x58e405(0x3,_0x23cfa0[_0xf94d15(0x231)])],_0x4cf9f1['UniverCollaborationClientUIPlugin']);var _0x4ca1b1=Object[_0xf94d15(0x1e6)],_0x47dbb2=(_0x4a0272,_0x500eba,_0x1e2e73,_0x5d63bc)=>{const _0x199d2f=_0xf94d15;for(var _0x1c9c81=_0x5d63bc>0x1?void 0x0:_0x5d63bc?_0x4ca1b1(_0x500eba,_0x1e2e73):_0x500eba,_0x30d287=_0x4a0272[_0x199d2f(0x354)]-0x1,_0xf808c9;_0x30d287>=0x0;_0x30d287--)(_0xf808c9=_0x4a0272[_0x30d287])&&(_0x1c9c81=_0xf808c9(_0x1c9c81)||_0x1c9c81);return _0x1c9c81;},_0x5dc473=(_0x46d602,_0x1404b9)=>(_0x27cb2a,_0x487ff3)=>_0x1404b9(_0x27cb2a,_0x487ff3,_0x46d602);_0x4cf9f1[_0xf94d15(0x449)]=class extends _0x51ae97['CollaborationSocketService']{constructor(_0x1f98c4,_0x462486,_0x4f36cc,_0x451f40,_0x35234c){super(_0x1f98c4,_0x462486,_0x4f36cc,_0x451f40,_0x35234c);}async['createSocket'](_0xf676cf){const _0x825020=_0xf94d15,_0x58d09f=await this['_getSessionTicket'](),_0x52f92a=this[_0x825020(0x399)](_0xf676cf,_0x58d09f);return this['_doCreateSocket'](_0x52f92a);}[_0xf94d15(0x399)](_0x1e5178,_0x1f564f){const _0x3b87b2=_0xf94d15,_0x17d7d9=typeof window>'u'?new URL(_0x1e5178):new URL(_0x1e5178,window[_0x3b87b2(0x3dd)][_0x3b87b2(0x1e5)]);_0x17d7d9[_0x3b87b2(0x347)][_0x3b87b2(0x429)](_0x3b87b2(0x201),_0x1f564f);const _0x264d19=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x264d19[_0x3b87b2(0x417)](_0x3b87b2(0x349))&&_0x17d7d9[_0x3b87b2(0x347)]['set']('runId',_0x264d19[_0x3b87b2(0x417)](_0x3b87b2(0x349))),_0x17d7d9[_0x3b87b2(0x29b)]();}async[_0xf94d15(0x294)](){const _0x5a1f6f=_0xf94d15;var _0x59f290,_0x29dc02,_0x35b7b4;const _0x4c26e3=this[_0x5a1f6f(0x20c)][_0x5a1f6f(0x255)](_0x51ae97[_0x5a1f6f(0x3ec)]),_0x43c886=(_0x59f290=_0x4c26e3==null?void 0x0:_0x4c26e3[_0x5a1f6f(0x268)])!=null?_0x59f290:_0x51ae97['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x35b7b4=(_0x29dc02=(await this[_0x5a1f6f(0x36a)]['get'](_0x43c886,{'headers':{'Content-Type':'application/json'}}))[_0x5a1f6f(0x2b5)])==null?void 0x0:_0x29dc02[_0x5a1f6f(0x38f)])!=null?_0x35b7b4:'';}},_0x4cf9f1['BrowserCollaborationSocketService']=_0x47dbb2([_0x5dc473(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x5dc473(0x1,_0x23cfa0['Inject'](_0x99d8d6[_0xf94d15(0x401)])),_0x5dc473(0x2,_0x23cfa0[_0xf94d15(0x231)]),_0x5dc473(0x3,_0x23cfa0[_0xf94d15(0x245)]),_0x5dc473(0x4,_0x46d1ab[_0xf94d15(0x39a)])],_0x4cf9f1[_0xf94d15(0x449)]);const _0x364734=0x7530,_0x2bbc4c=_0xf94d15(0x221);class _0xce475 extends _0x23cfa0['Disposable']{constructor(){const _0x50ddfd=_0xf94d15;super(),_0x6a5a04(this,_0x50ddfd(0x459),_0x23cfa0[_0x50ddfd(0x1d0)]()),_0x6a5a04(this,_0x50ddfd(0x3f1),new Set()),_0x6a5a04(this,_0x50ddfd(0x45a),new Map()),_0x6a5a04(this,_0x50ddfd(0x1d4),null),_0x6a5a04(this,'_clearOtherTimers',new Map()),_0x6a5a04(this,_0x50ddfd(0x3f0),new Map()),this[_0x50ddfd(0x32b)]();}['dispose'](){const _0x4f1543=_0xf94d15;super[_0x4f1543(0x38a)](),this[_0x4f1543(0x26e)][_0x4f1543(0x403)]((_0xb95a08,_0x1cae45)=>this[_0x4f1543(0x3b8)](_0x1cae45)),this[_0x4f1543(0x1d4)]&&window[_0x4f1543(0x307)](this['_heartbeatTimer']);}[_0xf94d15(0x2f9)](_0x2df92d){const _0x1477c4=_0xf94d15;return this[_0x1477c4(0x1d8)](_0x2df92d)[_0x1477c4(0x41e)](_0x1425de[_0x1477c4(0x414)]());}['editingUnit'](_0x212d1f){const _0x5f3d5d=_0xf94d15;this[_0x5f3d5d(0x3f1)]['size']===0x0&&this[_0x5f3d5d(0x27d)](),this['_selfUnitIDs'][_0x5f3d5d(0x241)](_0x212d1f),this[_0x5f3d5d(0x396)]({'type':0x0,'memberID':this[_0x5f3d5d(0x459)],'unitIDs':[_0x212d1f],'isForwarded':!0x1});}[_0xf94d15(0x422)](_0x519e6e){const _0x1540fa=_0xf94d15;this[_0x1540fa(0x3f1)][_0x1540fa(0x2e7)](_0x519e6e),this[_0x1540fa(0x3f1)][_0x1540fa(0x2f8)]===0x0&&this[_0x1540fa(0x1d4)]&&window['clearInterval'](this[_0x1540fa(0x1d4)]);}[_0xf94d15(0x32b)](){const _0x2baa44=_0xf94d15;this[_0x2baa44(0x340)](_0x23cfa0[_0x2baa44(0x357)](_0x1425de[_0x2baa44(0x455)](window,'storage')[_0x2baa44(0x2a8)](_0x2bd9ba=>{const _0x4324f0=_0x2baa44;if(_0x2bd9ba[_0x4324f0(0x1f8)]!==_0x2bbc4c||!_0x2bd9ba[_0x4324f0(0x25b)])return;const _0x129d94=JSON[_0x4324f0(0x411)](_0x2bd9ba[_0x4324f0(0x25b)]);this['_handleEvent'](_0x129d94);}))),window[_0x2baa44(0x1e9)]('unload',()=>this[_0x2baa44(0x396)]({'type':0x1,'memberID':this[_0x2baa44(0x459)],'unitIDs':Array[_0x2baa44(0x2d0)](this['_selfUnitIDs'])}));}[_0xf94d15(0x31c)](_0x117cf0){const _0x326ca3=_0xf94d15;switch(_0x117cf0[_0x326ca3(0x3de)]){case 0x0:this[_0x326ca3(0x2fe)](_0x117cf0);break;case 0x1:this[_0x326ca3(0x3bb)](_0x117cf0);break;case 0x2:this[_0x326ca3(0x2e4)](_0x117cf0);break;}}[_0xf94d15(0x2fe)](_0x4f82fc){const _0x3b0bc8=_0xf94d15,{unitIDs:_0x3e37ca,memberID:_0x4e598d,isForwarded:_0x564b64}=_0x4f82fc;_0x3e37ca['forEach'](_0x4a74d2=>{const _0x75bc5f=_0x3464;if(!_0x564b64&&this[_0x75bc5f(0x45a)]['has'](_0x4a74d2)&&this['_ensureSubject'](_0x4a74d2)[_0x75bc5f(0x3d9)](_0x51ae97[_0x75bc5f(0x424)]['OTHER_CLIENTS_EDITING']),!this[_0x75bc5f(0x45a)][_0x75bc5f(0x3a2)](_0x4a74d2)||!this[_0x75bc5f(0x45a)][_0x75bc5f(0x417)](_0x4a74d2)[_0x75bc5f(0x3a2)](_0x4e598d)){const _0x18f0db=this[_0x75bc5f(0x45a)]['get'](_0x4a74d2)||new Set();_0x18f0db[_0x75bc5f(0x241)](_0x4e598d),this[_0x75bc5f(0x45a)]['set'](_0x4a74d2,_0x18f0db),this[_0x75bc5f(0x22c)](_0x4e598d);}}),_0x564b64||this[_0x3b0bc8(0x396)]({'type':0x0,'memberID':this[_0x3b0bc8(0x459)],'unitIDs':[...this[_0x3b0bc8(0x3f1)]],'isForwarded':!0x0});}[_0xf94d15(0x22c)](_0x3d045c){const _0x12bde7=_0xf94d15;this[_0x12bde7(0x3b8)](_0x3d045c);const _0x58db51=window['setTimeout'](()=>{const _0x5a7bda=_0x12bde7;this[_0x5a7bda(0x45a)][_0x5a7bda(0x403)](_0x45a9a0=>{_0x45a9a0['delete'](_0x3d045c);});},_0x364734*0x2);this[_0x12bde7(0x26e)][_0x12bde7(0x429)](_0x3d045c,_0x58db51);}['_removeClearOtherTimer'](_0xe80954){const _0x54b109=_0xf94d15;if(this['_clearOtherTimers'][_0x54b109(0x3a2)](_0xe80954)){const _0x58ca10=this[_0x54b109(0x26e)][_0x54b109(0x417)](_0xe80954);_0x58ca10&&window['clearTimeout'](_0x58ca10),this[_0x54b109(0x26e)][_0x54b109(0x429)](_0xe80954,null);}}[_0xf94d15(0x3bb)](_0x591dc2){const _0x44a09d=_0xf94d15,{memberID:_0x64913b,unitIDs:_0x3c75dd}=_0x591dc2;_0x3c75dd[_0x44a09d(0x403)](_0x12db6d=>{const _0x2cd176=_0x44a09d;var _0x28a8e4;const _0x10f8dc=this[_0x2cd176(0x45a)][_0x2cd176(0x417)](_0x12db6d);_0x10f8dc&&(_0x10f8dc[_0x2cd176(0x2e7)](_0x64913b),(_0x28a8e4=this[_0x2cd176(0x1d8)](_0x12db6d))==null||_0x28a8e4[_0x2cd176(0x3d9)](_0x10f8dc[_0x2cd176(0x2f8)]===0x0?_0x51ae97[_0x2cd176(0x424)][_0x2cd176(0x257)]:_0x51ae97['UnitStatus'][_0x2cd176(0x3cb)]));}),this[_0x44a09d(0x3b8)](_0x64913b);}['_handleHeartbeatEvent'](_0x48a95e){const _0x1aecca=_0xf94d15;this['_scheduleClearOtherTimer'](_0x48a95e[_0x1aecca(0x258)]);}[_0xf94d15(0x396)](_0xca34b1){const _0x1eb39c=_0xf94d15;localStorage[_0x1eb39c(0x3c9)](_0x2bbc4c,JSON[_0x1eb39c(0x1c9)](_0xca34b1));}[_0xf94d15(0x27d)](){const _0x19208d=_0xf94d15;this[_0x19208d(0x1d4)]=window['setInterval'](()=>{const _0xbff4a1=_0x19208d;this[_0xbff4a1(0x396)]({'type':0x2,'memberID':this[_0xbff4a1(0x459)]});},_0x364734);}[_0xf94d15(0x1d8)](_0x3117d2){const _0x4bc5e3=_0xf94d15;return this[_0x4bc5e3(0x3f0)][_0x4bc5e3(0x3a2)](_0x3117d2)||this[_0x4bc5e3(0x3f0)]['set'](_0x3117d2,new _0x1425de[(_0x4bc5e3(0x41c))](_0x51ae97[_0x4bc5e3(0x424)][_0x4bc5e3(0x257)])),this['_unitStatus'][_0x4bc5e3(0x417)](_0x3117d2);}}var _0x40abde=(_0x36a50b=>(_0x36a50b[_0x36a50b['UNDEFINED']=0x0]='UNDEFINED',_0x36a50b[_0x36a50b['OK']=0x1]='OK',_0x36a50b[_0x36a50b[_0xf94d15(0x296)]=0x2]=_0xf94d15(0x296),_0x36a50b[_0x36a50b[_0xf94d15(0x317)]=0x3]='PERMISSION_DENIED',_0x36a50b[_0x36a50b[_0xf94d15(0x264)]=0x4]='NOT_FOUND',_0x36a50b[_0x36a50b['UNAUTHENTICATED']=0x5]=_0xf94d15(0x3e0),_0x36a50b[_0x36a50b[_0xf94d15(0x327)]=0x6]=_0xf94d15(0x327),_0x36a50b[_0x36a50b['INVALID_ARGUMENT']=0x7]=_0xf94d15(0x229),_0x36a50b[_0x36a50b['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x36a50b[_0x36a50b[_0xf94d15(0x297)]=0x9]=_0xf94d15(0x297),_0x36a50b[_0x36a50b[_0xf94d15(0x39d)]=0xa]=_0xf94d15(0x39d),_0x36a50b[_0x36a50b[_0xf94d15(0x3a6)]=0x1389]=_0xf94d15(0x3a6),_0x36a50b[_0x36a50b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x36a50b[_0x36a50b[_0xf94d15(0x28f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x36a50b[_0x36a50b[_0xf94d15(0x3e2)]=0x1773]=_0xf94d15(0x3e2),_0x36a50b[_0x36a50b[_0xf94d15(0x2e2)]=0x1b59]=_0xf94d15(0x2e2),_0x36a50b[_0x36a50b[_0xf94d15(0x3c7)]=0x1b5a]=_0xf94d15(0x3c7),_0x36a50b[_0x36a50b[_0xf94d15(0x38b)]=0x1b5b]=_0xf94d15(0x38b),_0x36a50b[_0x36a50b[_0xf94d15(0x260)]=0x1b5c]=_0xf94d15(0x260),_0x36a50b[_0x36a50b[_0xf94d15(0x42b)]=0x1b5d]=_0xf94d15(0x42b),_0x36a50b[_0x36a50b[_0xf94d15(0x1ec)]=0x1f41]=_0xf94d15(0x1ec),_0x36a50b[_0x36a50b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xf94d15(0x31b),_0x36a50b[_0x36a50b[_0xf94d15(0x3c3)]=0x232a]=_0xf94d15(0x3c3),_0x36a50b[_0x36a50b[_0xf94d15(0x2ff)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x1fa)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x22e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x36a50b[_0x36a50b[_0xf94d15(0x263)]=0x2711]=_0xf94d15(0x263),_0x36a50b[_0x36a50b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x36a50b[_0x36a50b['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x36a50b[_0x36a50b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xf94d15(0x386),_0x36a50b[_0x36a50b[_0xf94d15(0x3e7)]=0x271a]=_0xf94d15(0x3e7),_0x36a50b[_0x36a50b[_0xf94d15(0x3a4)]=0x271b]=_0xf94d15(0x3a4),_0x36a50b[_0x36a50b[_0xf94d15(0x270)]=0x271c]=_0xf94d15(0x270),_0x36a50b[_0x36a50b[_0xf94d15(0x334)]=0x271d]=_0xf94d15(0x334),_0x36a50b[_0x36a50b[_0xf94d15(0x430)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x43a)]=0x271f]=_0xf94d15(0x43a),_0x36a50b[_0x36a50b[_0xf94d15(0x2a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x36a50b[_0x36a50b['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xf94d15(0x345),_0x36a50b[_0x36a50b[_0xf94d15(0x38e)]=0x2ee2]=_0xf94d15(0x38e),_0x36a50b[_0x36a50b[_0xf94d15(0x402)]=0x2ee3]=_0xf94d15(0x402),_0x36a50b[_0x36a50b[_0xf94d15(0x384)]=0x2ee4]=_0xf94d15(0x384),_0x36a50b[_0x36a50b[_0xf94d15(0x28b)]=0x2ee5]=_0xf94d15(0x28b),_0x36a50b[_0x36a50b[_0xf94d15(0x3ac)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x36a50b[_0x36a50b[_0xf94d15(0x450)]=0x32ca]=_0xf94d15(0x450),_0x36a50b[_0x36a50b[_0xf94d15(0x2c2)]=0x32cb]=_0xf94d15(0x2c2),_0x36a50b[_0x36a50b[_0xf94d15(0x212)]=-0x1]=_0xf94d15(0x212),_0x36a50b))(_0x40abde||{}),_0x3a9ef0=Object[_0xf94d15(0x1e6)],_0x2f3b87=(_0x1152db,_0x4ff8fe,_0x106fc3,_0x4fb2c6)=>{const _0x1401fe=_0xf94d15;for(var _0x57f5c7=_0x4fb2c6>0x1?void 0x0:_0x4fb2c6?_0x3a9ef0(_0x4ff8fe,_0x106fc3):_0x4ff8fe,_0x271ab1=_0x1152db[_0x1401fe(0x354)]-0x1,_0x3b5778;_0x271ab1>=0x0;_0x271ab1--)(_0x3b5778=_0x1152db[_0x271ab1])&&(_0x57f5c7=_0x3b5778(_0x57f5c7)||_0x57f5c7);return _0x57f5c7;},_0x556b18=(_0x10de97,_0x220614)=>(_0x2208c2,_0x4763ff)=>_0x220614(_0x2208c2,_0x4763ff,_0x10de97);_0x4cf9f1['RemoteUniscriptService']=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x285e74,_0x18e9ef,_0x2f325c){const _0x3413e8=_0xf94d15;super(),this[_0x3413e8(0x228)]=_0x285e74,this['_httpService']=_0x18e9ef,this[_0x3413e8(0x20c)]=_0x2f325c;}async[_0xf94d15(0x366)](_0x41e3e0,_0x29ec8e,_0x140a9c,..._0x2880a7){const _0x273bf7=_0xf94d15;var _0x4ec788,_0x31df69,_0x1b031f,_0x51a221;const _0x332b6b=this[_0x273bf7(0x228)][_0x273bf7(0x200)]();if(!_0x332b6b)throw new Error(_0x273bf7(0x303));const _0x500537=((_0x4ec788=this['_configService'][_0x273bf7(0x255)](_0x51ae97[_0x273bf7(0x2d3)]))!=null?_0x4ec788:_0x51ae97[_0x273bf7(0x416)])+'/'+_0x41e3e0+'/run/'+_0x29ec8e,_0x25b799=new URL(window[_0x273bf7(0x3dd)]['href']),_0xf18e5d={'scriptId':_0x41e3e0,'runId':(_0x31df69=_0x25b799[_0x273bf7(0x347)][_0x273bf7(0x417)](_0x273bf7(0x349)))!=null?_0x31df69:'','function':_0x29ec8e,'unitId':_0x332b6b[_0x273bf7(0x289)](),'argsOfFunction':JSON[_0x273bf7(0x1c9)](_0x2880a7),'invokeId':(_0x1b031f=_0x140a9c[_0x273bf7(0x415)])!=null?_0x1b031f:'','executionId':(_0x51a221=_0x140a9c[_0x273bf7(0x34d)])!=null?_0x51a221:''};try{const _0xb9699d=await this[_0x273bf7(0x36a)][_0x273bf7(0x336)](_0x500537,{'body':_0xf18e5d});return _0xb9699d['body'][_0x273bf7(0x393)]&&_0xb9699d[_0x273bf7(0x2b5)]['error']['code']!==_0x40abde['OK']?'Failed':_0xb9699d[_0x273bf7(0x2b5)][_0x273bf7(0x2bb)];}catch{return'Failed';}}},_0x4cf9f1[_0xf94d15(0x23f)]=_0x2f3b87([_0x556b18(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x556b18(0x1,_0x23cfa0['Inject'](_0x99d8d6[_0xf94d15(0x401)])),_0x556b18(0x2,_0x23cfa0[_0xf94d15(0x231)])],_0x4cf9f1['RemoteUniscriptService']),_0x4cf9f1[_0xf94d15(0x435)]=_0x2e9e93,_0x4cf9f1[_0xf94d15(0x42e)]=_0x307def,_0x4cf9f1['SheetCollabCursorShape']=_0xc78d6d,_0x4cf9f1[_0xf94d15(0x446)]=_0xce475,_0x4cf9f1[_0xf94d15(0x223)]=_0x69d05e,Object['defineProperty'](_0x4cf9f1,Symbol['toStringTag'],{'value':'Module'});}));function _0x3464(_0x1731ae,_0x47ebbc){const _0x3d7fc1=_0x3d7f();return _0x3464=function(_0x34648b,_0x315fea){_0x34648b=_0x34648b-0x1c8;let _0x5bdf11=_0x3d7fc1[_0x34648b];return _0x5bdf11;},_0x3464(_0x1731ae,_0x47ebbc);}function _0x3d7f(){const _0xbf78a7=['dispose$','isActive','error','getMemberID','_setupBeforeClosingHandler','_send','_color','_getScale','_createSocketURL','ISnapshotServerService','_labelPosition','registerComponent','LOGIN_FAILED','pushState','_docSyncEditingCollabCursorService','UniverUi','m1Prime','has','min','YUUMI_ASYNCIO_CANCELLED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','CHANGESET_REVISION_CONFILICT','replace','_name','xlink:href','_lastPointer','getActiveRange','WECHAT_HAS_BEEN_BOUND','createElement','getParam','#FFF','rxjs','createInstance','transformIMECache','colorChannel1','collab-rect-range-','_collabSessionService','_entities','SYNCED','_removeClearOtherTimer','actions','urlChange$','_handleLeaveEvent','_cachedData','getCurrentSelections','ThemeService','_notificationService','_status$','getDocRanges','fromEventSubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SetSelectionsOperation','color','_hover','APPLY_NON_SEQUENTIAL_REVISION','serializeRangeWithSheet','setItem','skeleton','OTHER_CLIENTS_EDITING','max','OTHER_CLIENT_EDITING','getCurrent','_cursorShapes','1em','sheetId','updateOfflineData','round','_logService','_localCacheService','onPointerMove$','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','next','Disposable','InsertRangeMoveRightCommandId','getTypeOfUnitDisposed$','location','type','_updateCollabCursors','UNAUTHENTICATED','_sheetSkeletonManagerService','ENSURE_SNAPSHOT_EXECUTION','UniverDocs','takeUntil','href','TEXT','YUUMI_NO_CUBOID_FOR_QUESTION','_startSheetCollabCursor','_themeService','jsx','attrs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','height','translate(.97)','Vector2','_unitStatus','_selfUnitIDs','push','propertyIsEnumerable','displayName','_setupSubUnitSync','filter','_transformHistoryAndStateStack','div','random','setUndoRedoMutationParamsCache','collaboration.closeRoom','setParam','RichTextEditingMutation','fillRule','RegularPolygon','IUIPartsService','HTTPService','INVITE_CODE_REQUIRED','forEach','_document','history','_initCommandExecutedListener','currentColor','addHandlerCallback','_hovered','trim','_registerDependencies','debounceTime','_transformService','UniverInstanceType','OnLineIcon','DeleteRangeMoveLeftCommandId','parse','path','hasOwnProperty','distinctUntilChanged','invokeId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','get','_imageIoService','_refRangeService','purple.300','LocaleService','BehaviorSubject','getStateCache','pipe','params','ITransformService','_onCursorDelete','disposeUnit','Rectangle','UnitStatus','status$','textRanges','url(#off-line-icon_clip0_910_343)','_collabCursorController','set','onPointerEnter$','APPLY_DUPLICATED','startsWith','_anchorDot','IURLService','UniverRpc','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OFFLINE','_colorAssignService','univer-flex\x20univer-items-center','onPointerLeave$','CollaborationStatusDisplay','entityInit$','_range','split','DataLoaderService','YUUMI_AI_RUN_FAILED','getCurrentUnitForType','blue.400','setConfig','onCommandExecuted','_scheduleSaving','yellow.400','_renderManagerService','permission.content','_injector','UniverProCollaborationClient','NodePositionConvertToCursor','WebBrowserSingleActiveUnitService','red.300','821261StzRCM','BrowserCollaborationSocketService','_startDocCollabCursor','entries','getSheetBySheetId','@univerjs/rpc','FETCH_MISS','fill','MOBILE_HAS_BEEN_BOUND','HEADER_MENU','CollaborationEvent','_syncEditingCollabCursorService','bottom','fromEvent','RECT','exports','0\x200\x2017\x2016','_id','_unitOnClients','touchDependencies','stringify','sessionStatus$','@univerjs/core','_backgroundColor','_commandService','collaboration.single-unit.warning','save','generateRandomId','amd','SetWorksheetActivateCommand','_cursors','_heartbeatTimer','getRenderById','call','isEditing','_ensureSubject','clipPath','SessionStatus','_textBubble','setStateCache','UniverCore','collab-client.tooltip.reconnect','30ImsddR','startRow','deserializeRangeWithSheet','IUniverInstanceService','_transformPreviousActiveRange','Injector','origin','getOwnPropertyDescriptor','ICommandService','substring','addEventListener','EffectRefRangId','url(#$1','CONNECTOR_DATA_TOO_LARGE','registerDependencies','getAncestorScale','none','_revisionService','1679109GCkdrF','cursorInfo','init','Error','_messageService','NodePositionConvertToRectRange','MemberService','key','@univerjs/ui','LICENSE_EXPORT_SIZE_EXCEEDED','react','468890nqRthU','_localeService','top','subunit','getFocusedUnit','sessionTicket','RemoveColCommandId','tag','onTransformChange$','backgroundColor','onMouseMove','_getSaveTimeout','_docClipboardService','_initEntityListener','transformMutationsWithChangeset','347924HyVhnm','_configService','defineProperty','IRenderManagerService','_docTransformStateCacheService','addObjects','DocSelectionManagerService','UNRECOGNIZED','_assignedColors','ILocalCacheService','Tooltip','_docStateChangeManagerService','_shapes','mutations','getItem','univerjs-icon\x20univerjs-icon-','_docSkeletonManagerService','UniverCollaborationClientPlugin','_updateURLWithCurrentState','FromArray','468KuzXPy','_getMergeRange','ACTIVE_UNIT_EVENT_CHANNEL','getMember','WebURLService','roomMembers','range','RevisionService','_updateSubUnitFromURLParams','_instanceService','INVALID_ARGUMENT','svg','AWAITING','_scheduleClearOtherTimer','_docTransformSelectionsService','LICENSE_DISTRO_REJECTED','onStarting','string','IConfigService','Rect','_entityInit$','executeCommand','requireSession','white','lineTo','transformMutation','mask','@univerjs/docs','children','_config','unshift','merge','RemoteUniscriptService','ISocketService','add','combineLatest','handleInsertCol','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ILogService','m2Prime','@univerjs/engine-formula','0\x200\x2016\x2016','subUnitId','findNodePositionByCharIndex','Inject','handleIRemoveRow','debounce','_initResize','_anchor','collabStatus.notCollab','_toggleOffline','_removeCollabCursors','width','getOwnPropertySymbols','getConfig','getSkeleton','NO_OTHER_CLIENTS_EDITING','memberID','20vxhqZR','rxjs/operators','newValue','icon','send','_drawAnchor','getTypeOfUnitAdded$','APPLY_PERMISSION_DENIED','UniverProCollaborationClientUi','eventID','YUUMI_UNABLE_LOAD_URL','NOT_FOUND','registerBeforeClose','clearTimeout','assign','wsSessionTicketUrl','text','_hideTimer','DOC_RANGE_TYPE','_context','CLOSE_ROOM','_clearOtherTimers','_docTransformIMECacheService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','rgba(255,\x20255,\x20255,\x200.01)','UNIVER_SHEET','React','isTransformMutationFailure','Optional','focused$','_initStatusComponent','moveTo','@univerjs/engine-render','cursorInfo$','onRendered','asObservable','_scheduleHeartbeat','_roomMembers$','MessageType','assignAColorForMemberID','idSuffix','addObject','UniverSheets','http://www.w3.org/2000/svg','transformRemoteChangeset','_draw','getCollabCursors$','registerRenderModule','getUnitId','SHEET_VIEWPORT_KEY','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','deepClone','selections','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSessionService','_initEvent','Tools','_localStorageService','_getSessionTicket','_onCursorUpdate','INTERNAL_ERROR','COMPLETION_FINISHED','collab-text-anchor-','_toggleOnline','CollaborationStatus','toString','source','CollaborationController','[CollaborationDataLoaderController]','handleInsertRow','PY_RUNTIME_SCRIPT_ERROR','startColumn','popstate','_collaborationController','handleDeleteRangeMoveLeft','UniverProCollaboration','complete','UniverSheetsUi','subscribe','getVpScrollXYInfoByPosToVp','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','green.600','session.collaboration-timeout','SheetSkeletonManagerService','whenReady','4301528mYmzqV','unitId','IImageIoService','_docSkeleton','getCellPositionByOffset','className','body','JOIN_ROOM_FAILED','_urlService','activeSheet$','SOCKET_FAILED_RETRY','collaboration-client.offline-data-not-saved','result','saveOfflineData','@univerjs/sheets-ui','CollaborationUIEventId','off-line-icon_clip0_910_343','getColor','defIds','EMAIL_HAS_BEEN_BOUND','...','extend','permission.title','DocStateChangeManagerService','isArray','getSheetId','map','DeleteRangeMoveUpCommandId','values','drawWith','ILocalStorageService','UniverDesign','saveTaskMap','from','_disabled','PENDING','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_uiPartsService','column','_onRefRangeChange','DesktopCollaborationStatusDisplayController','_collaborationUIEventService','_cursor','Workbook','Warning','event$','redoState','unitID','enableLocalCache','unsubscribe','@univerjs/design','APPLY_REJECT','contains','_handleHeartbeatEvent','reconnect','with','delete','Unknown\x20user','restore','UNIVER_DOC','fillStyle','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','_updateLocalCursor','transform','fillText','CONFLICT','collabStatus.offline','runRefRangeMutations','shareReplay','ONLINE','loadOfflineData','InsertRowCommandId','IRemoteInstanceService','size','getUnitStatus$','_collabCursorState$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','replaceState','_eventUnsubscribe','_handleJoinEvent','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','function','IDocClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UPDATE_CURSOR','flatMap','_drawRectRange','clearInterval','_render','pluginName','_registerRenderDependencies','_beforeCloseService','_univerInstanceService','UniverIcon','setShapeProps','UniverCollaborationClientUIPlugin','@univerjs/network','jiqing.500','_initDependencies','jsxs','_saveTaskMap','22148ZuyTBH','data','PERMISSION_DENIED','_initStatusListener','Plugin','then','LICENSE_MAX_UNITS_EXCEEDED','_handleEvent','_dataLoaderService','_memberService','switchMap','name','closePath','mergeOverrideWithDependencies','clsx','_getSheetObject','CommandType','black','ALREADY_EXISTS','registerRefRange','isTransformMutationsWithChangesetSuccess','ranges','_init','transformStateCache','throttleTime','measureText','transformSelections','imageSourceType','@univerjs/sheets','SheetsSelectionsService','_drawTextRange','YUUMI_ALL_TABLES_IS_INVALID','sheetID','post','useRef','CollaborationDataLoaderController','SetTextSelectionsOperation','getViewport','doc.mutation.rich-text-editing','defs','collabCursorState$','getOffsetConfig','react/jsx-runtime','disposeWithMe','RxDisposable','arc','labelPosition','concat','INVITE_CODE_HAS_BEEN_UES','COLORS','searchParams','symbol','runId','undoState','makeDirty','101810PPBtMk','executionId','object','USERS_LEAVE','DependentOn','@univerjs-pro/collaboration','SetDocZoomRatioOperation','_handleHover','length','getColorFromTheme','currentSkeleton$','toDisposable','show','on-line-icon','forwardRef','_colorIndex','@univerjs/docs-ui','getCoordByCell','syncEditingCollabCursor','Shape','@univerjs/drawing','getUndoRedoMutationParamsCache','apply','handleIRemoveCol','connectInjector','_online','runOnServer','SUBMIT_CHANGESET_TIMEOUT','currentTheme$','url(#on-line-icon_clip0_910_349)','_httpService','subscribeEvent','univer-mr-2\x20univer-flex\x20univer-text-xl','_session','getRangePointData','includes','SOCKET_FAILED','session.will-retry','getCurrentRevOfUnit','_scene','ColorKit','Subject','prototype','roomMembers$','uni.network.url-service','saveImage','getActiveSheet','toRgbString','on-line-icon_clip0_910_349','MoveRangeCommandId','selection','_refreshCollabCursors','hide','_cursorInfo$','getLocalCacheKey','row','USER_NOT_INVITED_CODE','exhaustSavingTask','YUUMI_SUBSCRIPTION_NOT_FOUND','_saveCache','useDependency','getValue','dispose','APPLY_REVISION_CONFILICT','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','handleInsertRangeMoveDown','INVALID_INVITE_CODE','ticket','NOT_COLLAB'];_0x3d7f=function(){return _0xbf78a7;};return _0x3d7f();}