@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-ab93895 → 0.6.10-experimental.20250428-2b6408c

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 _0x1eaa(_0x4948ed,_0x2fa136){const _0x39ec75=_0x39ec();return _0x1eaa=function(_0x1eaace,_0x517aa7){_0x1eaace=_0x1eaace-0x6a;let _0x5d2fe2=_0x39ec75[_0x1eaace];return _0x5d2fe2;},_0x1eaa(_0x4948ed,_0x2fa136);}(function(_0x53f3ee,_0x4def73){const _0x4876cd=_0x1eaa,_0x3f57ba=_0x53f3ee();while(!![]){try{const _0x39f074=-parseInt(_0x4876cd(0x198))/0x1*(parseInt(_0x4876cd(0x194))/0x2)+parseInt(_0x4876cd(0xb2))/0x3*(-parseInt(_0x4876cd(0x2c5))/0x4)+parseInt(_0x4876cd(0x139))/0x5*(-parseInt(_0x4876cd(0x2d2))/0x6)+-parseInt(_0x4876cd(0x120))/0x7*(parseInt(_0x4876cd(0x2b8))/0x8)+parseInt(_0x4876cd(0x265))/0x9*(parseInt(_0x4876cd(0x70))/0xa)+parseInt(_0x4876cd(0xaa))/0xb+parseInt(_0x4876cd(0xbf))/0xc;if(_0x39f074===_0x4def73)break;else _0x3f57ba['push'](_0x3f57ba['shift']());}catch(_0x8b8f67){_0x3f57ba['push'](_0x3f57ba['shift']());}}}(_0x39ec,0xf1e49),function(_0x4652f7,_0x27c63f){const _0x2308a1=_0x1eaa;typeof exports==_0x2308a1(0xf2)&&typeof module<'u'?_0x27c63f(exports,require(_0x2308a1(0x249)),require(_0x2308a1(0xe3)),require('@univerjs/engine-render'),require(_0x2308a1(0x2fc)),require('@univerjs/docs-ui'),require(_0x2308a1(0x10a)),require(_0x2308a1(0x14a)),require(_0x2308a1(0x14c)),require('@univerjs-pro/collaboration'),require(_0x2308a1(0x1ed)),require('@univerjs/sheets'),require(_0x2308a1(0x25e)),require('@univerjs/sheets-ui'),require(_0x2308a1(0x228)),require(_0x2308a1(0x2a5)),require(_0x2308a1(0x2ac)),require(_0x2308a1(0x140)),require('@univerjs/rpc')):typeof define==_0x2308a1(0x73)&&define['amd']?define([_0x2308a1(0x298),_0x2308a1(0x249),'@univerjs/core',_0x2308a1(0x15e),_0x2308a1(0x2fc),'@univerjs/docs-ui',_0x2308a1(0x10a),_0x2308a1(0x14a),_0x2308a1(0x14c),'@univerjs-pro/collaboration',_0x2308a1(0x1ed),_0x2308a1(0x71),_0x2308a1(0x25e),_0x2308a1(0x2e1),_0x2308a1(0x228),'@univerjs/ui',_0x2308a1(0x2ac),_0x2308a1(0x140),_0x2308a1(0x294)],_0x27c63f):(_0x4652f7=typeof globalThis<'u'?globalThis:_0x4652f7||self,_0x27c63f(_0x4652f7['UniverProCollaborationClientUi']={},_0x4652f7[_0x2308a1(0x22c)],_0x4652f7[_0x2308a1(0x278)],_0x4652f7[_0x2308a1(0x2c4)],_0x4652f7[_0x2308a1(0x24e)],_0x4652f7['UniverDocsUi'],_0x4652f7[_0x2308a1(0x237)],_0x4652f7['rxjs'],_0x4652f7['UniverDocs'],_0x4652f7[_0x2308a1(0x179)],_0x4652f7['UniverEngineFormula'],_0x4652f7[_0x2308a1(0xcf)],_0x4652f7[_0x2308a1(0x14a)]['operators'],_0x4652f7['UniverSheetsUi'],_0x4652f7['React'],_0x4652f7['UniverUi'],_0x4652f7[_0x2308a1(0x24c)],_0x4652f7['React'],_0x4652f7['UniverRpc']));}(this,function(_0x1a6cab,_0x3d05ed,_0x4d006c,_0x3ce196,_0x651cbe,_0x5051a5,_0xb0693b,_0x424996,_0x2b2a28,_0x12f559,_0x1371df,_0x231e9c,_0x4e626c,_0x4a87b2,_0x4ce13b,_0x1b6316,_0x1f5fc2,_0x3fb4d0,_0x5adf1e){'use strict';const _0x125ea8=_0x1eaa;var _0x2fd6c2=Object['defineProperty'],_0x342b02=(_0x5aaf5d,_0x55de50,_0x1751f8)=>_0x55de50 in _0x5aaf5d?_0x2fd6c2(_0x5aaf5d,_0x55de50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1751f8}):_0x5aaf5d[_0x55de50]=_0x1751f8,_0x321a93=(_0x3eb722,_0x5f1712,_0x507c30)=>_0x342b02(_0x3eb722,typeof _0x5f1712!=_0x125ea8(0x245)?_0x5f1712+'':_0x5f1712,_0x507c30),_0x171bef=Object[_0x125ea8(0x209)],_0x3e0f6a=(_0x194f7f,_0x329c11,_0x37c7d5,_0x5a7137)=>{const _0x555ac1=_0x125ea8;for(var _0x2225f4=_0x5a7137>0x1?void 0x0:_0x5a7137?_0x171bef(_0x329c11,_0x37c7d5):_0x329c11,_0x45626f=_0x194f7f[_0x555ac1(0xb7)]-0x1,_0x8f6085;_0x45626f>=0x0;_0x45626f--)(_0x8f6085=_0x194f7f[_0x45626f])&&(_0x2225f4=_0x8f6085(_0x2225f4)||_0x2225f4);return _0x2225f4;},_0x11af32=(_0x2e7fca,_0x275c4b)=>(_0x5e3722,_0x58d1b2)=>_0x275c4b(_0x5e3722,_0x58d1b2,_0x2e7fca);let _0x22fe1a=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x13b101,_0x2b3e93){const _0x5353fc=_0x125ea8;super(),this[_0x5353fc(0x7d)]=_0x13b101,this[_0x5353fc(0x1fe)]=_0x2b3e93,this[_0x5353fc(0x2c1)]();}[_0x125ea8(0x2c1)](){const _0x2883b1=_0x125ea8,_0x12d94c=this;this[_0x2883b1(0xd9)](this[_0x2883b1(0x7d)][_0x2883b1(0xe1)]({'onBeforePasteImage':async _0xd2b883=>{const _0x232fde=_0x2883b1,_0x28e298=await _0x12d94c[_0x232fde(0x1fe)][_0x232fde(0xed)](_0xd2b883);return _0x28e298?{'source':_0x28e298[_0x232fde(0x79)],'imageSourceType':_0x28e298[_0x232fde(0xef)]}:null;}}));}};_0x22fe1a=_0x3e0f6a([_0x11af32(0x0,_0x5051a5[_0x125ea8(0xde)]),_0x11af32(0x1,_0xb0693b[_0x125ea8(0x1ab)])],_0x22fe1a);const _0x34f80e=[_0x125ea8(0x145),_0x125ea8(0x7b),_0x125ea8(0x2f6),_0x125ea8(0x2bc),'blue400','gold400'];class _0x1bdb8f extends _0x4d006c['Disposable']{constructor(){const _0x18825c=_0x125ea8;super(...arguments),_0x321a93(this,_0x18825c(0x182),new Map()),_0x321a93(this,'_colorIndex',0x0);}[_0x125ea8(0x257)](_0x2e1502){const _0xc3d5b8=_0x125ea8;if(this[_0xc3d5b8(0x182)][_0xc3d5b8(0x2e7)](_0x2e1502))return this[_0xc3d5b8(0x182)][_0xc3d5b8(0x205)](_0x2e1502);const _0x4b5727=_0x34f80e[this[_0xc3d5b8(0x2fa)]];return this[_0xc3d5b8(0x2fa)]=(this[_0xc3d5b8(0x2fa)]+0x1)%_0x34f80e[_0xc3d5b8(0xb7)],this[_0xc3d5b8(0x182)]['set'](_0x2e1502,_0x4b5727),_0x4b5727;}}function _0x141f60(_0x46fc3d){let _0x152c9a='';for(const _0x291652 of _0x46fc3d){const {startOffset:_0x4b8f0e,endOffset:_0x28d9b7,isActive:_0x166b29,rangeType:_0x204da,segmentId:_0x3f291a,segmentPage:_0x35550d}=_0x291652;_0x152c9a['length']&&(_0x152c9a+=','),_0x152c9a+=_0x4b8f0e+':'+_0x28d9b7+':'+(_0x166b29?'1':'0')+':'+_0x204da+':'+_0x3f291a+':'+_0x35550d;}return _0x152c9a;}function _0x4c1c82(_0x5cd4a2){const _0x2cec34=_0x125ea8,_0x3b8916=_0x5cd4a2[_0x2cec34(0xb0)](','),_0x3eb0f5=[];for(const _0x3ecb64 of _0x3b8916){const [_0x402021,_0x4f9bab,_0x47ffd8,_0x36e09e,_0x2716c4,_0x20b6d4]=_0x3ecb64[_0x2cec34(0xb0)](':');_0x3eb0f5[_0x2cec34(0x2e4)]({'startOffset':Number(_0x402021),'endOffset':Number(_0x4f9bab),'collapsed':_0x402021===_0x4f9bab,'isActive':_0x47ffd8==='1','rangeType':_0x36e09e===_0x4d006c['DOC_RANGE_TYPE'][_0x2cec34(0x22e)]?_0x4d006c[_0x2cec34(0x25c)][_0x2cec34(0x22e)]:_0x4d006c[_0x2cec34(0x25c)][_0x2cec34(0xee)],'segmentId':typeof _0x2716c4=='string'?String(_0x2716c4):'','segmentPage':Number(_0x20b6d4!=null?_0x20b6d4:-0x1)});}return _0x3eb0f5['some'](_0x511a40=>_0x511a40[_0x2cec34(0x100)])||(_0x3eb0f5[0x0][_0x2cec34(0x100)]=!0x0),_0x3eb0f5;}class _0x167556 extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(){const _0x284065=_0x125ea8;super(...arguments),_0x321a93(this,_0x284065(0x26e),new _0x424996['BehaviorSubject'](null)),_0x321a93(this,_0x284065(0x7e),this[_0x284065(0x26e)]['asObservable']());}[_0x125ea8(0x1a4)](_0x4bafdb){const _0x330d68=_0x125ea8,{unitID:_0x55b1e6,memberID:_0x553f29,textRanges:_0xa9b14}=_0x4bafdb,_0x5b1a32=_0x141f60(_0xa9b14);if(_0x5b1a32==='')return;const _0x5c4fd7={'unitID':_0x55b1e6,'memberID':_0x553f29,'selection':_0x5b1a32};this[_0x330d68(0x26e)][_0x330d68(0xa3)](_0x5c4fd7);}}var _0x4b7ddf=Object[_0x125ea8(0x209)],_0x1081c5=(_0x55d458,_0x26d532,_0x155906,_0x13807b)=>{const _0x3bdd7a=_0x125ea8;for(var _0x38d416=_0x13807b>0x1?void 0x0:_0x13807b?_0x4b7ddf(_0x26d532,_0x155906):_0x26d532,_0x2a4484=_0x55d458[_0x3bdd7a(0xb7)]-0x1,_0x2e65fd;_0x2a4484>=0x0;_0x2a4484--)(_0x2e65fd=_0x55d458[_0x2a4484])&&(_0x38d416=_0x2e65fd(_0x38d416)||_0x38d416);return _0x38d416;},_0x487bf2=(_0x4ff345,_0x52a4e6)=>(_0x271d55,_0x2e3311)=>_0x52a4e6(_0x271d55,_0x2e3311,_0x4ff345);const _0x467c21=0x12c,_0x45daee=0x64;let _0x1fe332=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x443ca0,_0xb8d697,_0x3a7571,_0x18eaf9,_0x400ce9,_0x404f27,_0x2ef8f4,_0x242048,_0x18cb63){const _0x1213f4=_0x125ea8;super(),_0x321a93(this,'_online',!0x1),_0x321a93(this,_0x1213f4(0x2c1),!0x1),_0x321a93(this,'_cursorInfo$',new _0x424996[(_0x1213f4(0x170))](new Map())),_0x321a93(this,_0x1213f4(0x1a0),this['_cursorInfo$']['asObservable']()),_0x321a93(this,_0x1213f4(0x20a),new _0x424996[(_0x1213f4(0x170))]([])),_0x321a93(this,_0x1213f4(0x1b0),this[_0x1213f4(0x20a)][_0x1213f4(0x2c2)](_0x424996[_0x1213f4(0x267)](_0x467c21))),_0x321a93(this,_0x1213f4(0x13a),_0x4d006c[_0x1213f4(0x7f)](_0xae959d=>{const _0x53014d=_0x1213f4,_0x4d1b27={'eventID':_0x12f559[_0x53014d(0x254)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x53014d(0xae)],'memberID':this[_0x53014d(0x280)][_0x53014d(0x11d)](),'selection':_0x141f60(_0xae959d)}};this[_0x53014d(0x280)][_0x53014d(0x1a6)](_0x4d1b27,this['unitID']);},_0x45daee)),(this[_0x1213f4(0xae)]=_0x443ca0,this[_0x1213f4(0x280)]=_0xb8d697,this['_injector']=_0x3a7571,this[_0x1213f4(0xbb)]=_0x18eaf9,this['_memberService']=_0x400ce9,this[_0x1213f4(0x1f1)]=_0x404f27,this[_0x1213f4(0xdb)]=_0x2ef8f4,this[_0x1213f4(0x1af)]=_0x242048,this[_0x1213f4(0xe8)]=_0x18cb63);}get[_0x125ea8(0x241)](){const _0x14c3a4=_0x125ea8;return this[_0x14c3a4(0x144)][_0x14c3a4(0x1ac)]();}get[_0x125ea8(0x107)](){const _0x4f1b89=_0x125ea8;return this[_0x4f1b89(0x20a)][_0x4f1b89(0x1ac)]();}[_0x125ea8(0x23f)](){const _0x5d7746=_0x125ea8;super[_0x5d7746(0x23f)](),this[_0x5d7746(0x144)][_0x5d7746(0xa3)](new Map()),this['_cursorInfo$'][_0x5d7746(0x2a2)](),this[_0x5d7746(0x20a)]['next']([]),this[_0x5d7746(0x20a)][_0x5d7746(0x2a2)]();}[_0x125ea8(0x101)](){const _0x57bd33=_0x125ea8;this[_0x57bd33(0x2c1)]||(this[_0x57bd33(0x2c1)]=!0x0,this[_0x57bd33(0x280)]['sessionStatus$'][_0x57bd33(0x2c2)](_0x424996['takeUntil'](this[_0x57bd33(0x281)]))[_0x57bd33(0x2fb)](_0x2065be=>{const _0x413d4b=_0x57bd33;_0x2065be===_0x3d05ed['SessionStatus'][_0x413d4b(0xc5)]?this[_0x413d4b(0x169)]():this[_0x413d4b(0x1d2)]();}),this[_0x57bd33(0x280)][_0x57bd33(0x2bb)]['pipe'](_0x424996[_0x57bd33(0x2b2)](this[_0x57bd33(0x281)]))['subscribe'](_0x14a45a=>{const _0x5a0f44=_0x57bd33,_0x44cbeb=_0x14a45a[_0x5a0f44(0x29e)];_0x44cbeb===_0x12f559[_0x5a0f44(0x254)][_0x5a0f44(0x16a)]&&this['_onCursorUpdate'](_0x14a45a),_0x44cbeb===_0x12f559[_0x5a0f44(0x254)][_0x5a0f44(0x295)]&&this['_onCursorDelete'](_0x14a45a);}),this[_0x57bd33(0xd9)](this[_0x57bd33(0xe8)]['onCommandExecuted'](_0x551635=>{const _0x539dc5=_0x57bd33,_0x3c947f=_0x551635['params'];_0x3c947f!=null&&this['_online']&&_0x551635['id']===_0x2b2a28['SetTextSelectionsOperation']['id']&&_0x3c947f[_0x539dc5(0x224)]===this[_0x539dc5(0xae)]&&_0x3c947f['isEditing']===!0x1&&_0x3c947f[_0x539dc5(0x1c0)][_0x539dc5(0xb7)]>0x0&&this[_0x539dc5(0x13a)](_0x3c947f[_0x539dc5(0x1c0)]);})),this['_syncEditingCollabCursorService'][_0x57bd33(0x7e)][_0x57bd33(0x2c2)](_0x424996[_0x57bd33(0x2b2)](this['dispose$']))[_0x57bd33(0x2fb)](_0x35da37=>{const _0x114217=_0x57bd33;if((_0x35da37==null?void 0x0:_0x35da37[_0x114217(0xae)])!==this[_0x114217(0xae)])return;const _0x2aebad={'eventID':_0x12f559['CollaborationEvent'][_0x114217(0x16a)],'data':_0x35da37};this[_0x114217(0x1bb)](_0x2aebad);}),this[_0x57bd33(0xd9)](this[_0x57bd33(0xe8)][_0x57bd33(0x1ca)](_0x20a9e8=>{const _0x5128f5=_0x57bd33;if(_0x20a9e8['params']==null)return;const _0x1301df=_0x20a9e8[_0x5128f5(0x2fd)];if(_0x20a9e8['id']!==_0x2b2a28[_0x5128f5(0x18e)]['id']||_0x1301df[_0x5128f5(0x224)]!==this[_0x5128f5(0xae)])return;const _0x1715e3={'id':_0x5128f5(0x12e),'params':_0x1301df},_0x58e448=this[_0x5128f5(0x241)];for(const [_0x5b3c90,_0x190751]of _0x58e448){const _0x4c018b={'id':_0x5128f5(0x12e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x190751[_0x5128f5(0x1c0)]}},_0x48fd3c=this[_0x5128f5(0xdb)][_0x5128f5(0x1d1)](_0x1715e3,_0x4c018b,!0x1);if(_0x12f559[_0x5128f5(0xcb)](_0x48fd3c))throw _0x48fd3c[_0x5128f5(0x2bd)];_0x58e448[_0x5128f5(0x21a)](_0x5b3c90,{..._0x190751,'ranges':_0x48fd3c[_0x5128f5(0x250)]['params'][_0x5128f5(0xa2)]});}queueMicrotask(()=>{const _0x3d993b=_0x5128f5;this[_0x3d993b(0x144)][_0x3d993b(0xa3)](_0x58e448);});})));}['_onCursorUpdate'](_0x2c8be1){const _0x366d62=_0x125ea8;var _0x5952a2,_0x667801;const {memberID:_0x417f10,selection:_0x3f03bd}=_0x2c8be1[_0x366d62(0x22d)],_0x43624b=_0x4c1c82(_0x3f03bd),_0x9c6b6b=(_0x667801=(_0x5952a2=this[_0x366d62(0x1ef)][_0x366d62(0x2d0)](this[_0x366d62(0xae)],_0x417f10))==null?void 0x0:_0x5952a2[_0x366d62(0x277)])!=null?_0x667801:_0x366d62(0xd6),_0x1790fc={'color':this[_0x366d62(0xbb)][_0x366d62(0x257)](_0x417f10),'name':_0x9c6b6b,'ranges':_0x43624b},_0x41fdbc=this[_0x366d62(0x241)];_0x41fdbc[_0x366d62(0x21a)](_0x417f10,_0x1790fc),this[_0x366d62(0x144)][_0x366d62(0xa3)](_0x41fdbc);}[_0x125ea8(0x166)](_0x1dc42d){const _0x5e0f33=_0x125ea8,{memberID:_0xe3de9d}=_0x1dc42d[_0x5e0f33(0x22d)],_0x3008c8=this[_0x5e0f33(0x241)];_0x3008c8[_0x5e0f33(0x22b)](_0xe3de9d),this[_0x5e0f33(0x144)][_0x5e0f33(0xa3)](_0x3008c8);}[_0x125ea8(0x169)](){const _0x5d1a27=_0x125ea8;var _0x4650f5;if(this[_0x5d1a27(0x258)]=!0x0,((_0x4650f5=this['_univerInstanceService'][_0x5d1a27(0x297)]())==null?void 0x0:_0x4650f5['getUnitId']())!==this[_0x5d1a27(0xae)])return;const _0x2fe037=this['_injector'][_0x5d1a27(0x205)](_0x2b2a28[_0x5d1a27(0xb5)])[_0x5d1a27(0x135)]();Array[_0x5d1a27(0x177)](_0x2fe037)&&_0x2fe037[_0x5d1a27(0xb7)]>0x0&&this[_0x5d1a27(0x13a)](_0x2fe037);}[_0x125ea8(0x1d2)](){const _0x239fea=_0x125ea8;this[_0x239fea(0x258)]=!0x1;}};_0x1fe332=_0x1081c5([_0x487bf2(0x2,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x8d)])),_0x487bf2(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x1bdb8f)),_0x487bf2(0x4,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x26c)])),_0x487bf2(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x167556)),_0x487bf2(0x6,_0x12f559['ITransformService']),_0x487bf2(0x7,_0x4d006c['IUniverInstanceService']),_0x487bf2(0x8,_0x4d006c[_0x125ea8(0x1a7)])],_0x1fe332);var _0x2d4727=Object[_0x125ea8(0x209)],_0x14fd81=(_0x4cc102,_0x2a391f,_0x57128d,_0x2ebfa3)=>{const _0x3bfe60=_0x125ea8;for(var _0xda4429=_0x2ebfa3>0x1?void 0x0:_0x2ebfa3?_0x2d4727(_0x2a391f,_0x57128d):_0x2a391f,_0x50b831=_0x4cc102[_0x3bfe60(0xb7)]-0x1,_0x2b43ad;_0x50b831>=0x0;_0x50b831--)(_0x2b43ad=_0x4cc102[_0x50b831])&&(_0xda4429=_0x2b43ad(_0xda4429)||_0xda4429);return _0xda4429;},_0x5d144d=(_0x54e046,_0x173abe)=>(_0x3fce87,_0x369b4c)=>_0x173abe(_0x3fce87,_0x369b4c,_0x54e046);const _0x1738be=0x12c,_0xd08119=0x64,_0x41b37c=()=>{let _0x1a7d48=[],_0x30fd52=!0x1;return _0x3d2224=>{const _0x564ce2=_0x1eaa;_0x1a7d48[_0x564ce2(0x2e4)](_0x3d2224),_0x30fd52||(_0x30fd52=!0x0,setTimeout(()=>{const _0x48872a=_0x564ce2;_0x1a7d48[_0x48872a(0x1fa)](_0x400f0b=>_0x400f0b()),_0x1a7d48=[],_0x30fd52=!0x1;}));};};let _0x95cd17=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x5d52ba,_0x276aa4,_0x151dcf,_0x10d9c5,_0x5aac27,_0x4a3432,_0x27d03e,_0x25c4c0){const _0x38d539=_0x125ea8;super(),_0x321a93(this,_0x38d539(0x258),!0x1),_0x321a93(this,_0x38d539(0x2c1),!0x1),_0x321a93(this,_0x38d539(0x144),new _0x424996['BehaviorSubject'](new Map())),_0x321a93(this,_0x38d539(0x1a0),this['_cursorInfo$'][_0x38d539(0x147)]()),_0x321a93(this,_0x38d539(0x20a),new _0x424996[(_0x38d539(0x170))]([])),_0x321a93(this,_0x38d539(0x1b0),this['_roomMembers$']['pipe'](_0x424996['debounceTime'](_0x1738be))),_0x321a93(this,'_updateLocalCursor',_0x4d006c[_0x38d539(0x7f)]((_0x492bb1,_0x4ea429)=>{const _0x23bad7=_0x38d539,_0x1cbc53={'eventID':_0x12f559[_0x23bad7(0x254)][_0x23bad7(0x16a)],'data':{'unitID':this[_0x23bad7(0xae)],'memberID':this[_0x23bad7(0x280)][_0x23bad7(0x11d)](),'selection':_0x1371df[_0x23bad7(0x2d4)](_0x492bb1,_0x4ea429[_0x23bad7(0x2e9)])}};this[_0x23bad7(0x280)][_0x23bad7(0x1a6)](_0x1cbc53,this['unitID']);},_0xd08119)),(this[_0x38d539(0xae)]=_0x5d52ba,this[_0x38d539(0x280)]=_0x276aa4,this['_injector']=_0x151dcf,this['_colorAssignService']=_0x10d9c5,this['_memberService']=_0x5aac27,this[_0x38d539(0x1af)]=_0x4a3432,this[_0x38d539(0xe8)]=_0x27d03e,this[_0x38d539(0xec)]=_0x25c4c0);}get[_0x125ea8(0x241)](){const _0x55de5e=_0x125ea8;return this[_0x55de5e(0x144)][_0x55de5e(0x1ac)]();}get[_0x125ea8(0x107)](){const _0x10ddd9=_0x125ea8;return this['_roomMembers$'][_0x10ddd9(0x1ac)]();}[_0x125ea8(0x23f)](){const _0x27c921=_0x125ea8;super[_0x27c921(0x23f)](),this[_0x27c921(0x144)]['next'](new Map()),this['_cursorInfo$'][_0x27c921(0x2a2)](),this[_0x27c921(0x20a)][_0x27c921(0xa3)]([]),this[_0x27c921(0x20a)][_0x27c921(0x2a2)]();}[_0x125ea8(0x101)](){const _0xa44346=_0x125ea8;this[_0xa44346(0x2c1)]||(this[_0xa44346(0x2c1)]=!0x0,this[_0xa44346(0x280)]['sessionStatus$'][_0xa44346(0x2c2)](_0x424996[_0xa44346(0x2b2)](this[_0xa44346(0x281)]))['subscribe'](_0x4fbd39=>{const _0x41cad5=_0xa44346;_0x4fbd39===_0x3d05ed[_0x41cad5(0x138)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xa44346(0x280)][_0xa44346(0x2bb)][_0xa44346(0x2c2)](_0x424996[_0xa44346(0x2b2)](this['dispose$']))['subscribe'](_0x5ceae9=>{const _0x378a7f=_0xa44346,_0x3fcdbc=_0x5ceae9[_0x378a7f(0x29e)];_0x3fcdbc===_0x12f559[_0x378a7f(0x254)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x5ceae9),_0x3fcdbc===_0x12f559[_0x378a7f(0x254)][_0x378a7f(0x295)]&&this[_0x378a7f(0x166)](_0x5ceae9);}),this[_0xa44346(0x1a1)](),this[_0xa44346(0xd9)](this[_0xa44346(0xe8)][_0xa44346(0x1ca)](_0x4bc19e=>{const _0x40a270=_0xa44346;if(this[_0x40a270(0x258)]&&_0x4bc19e['id']===_0x231e9c[_0x40a270(0x1ff)]['id']&&_0x4bc19e[_0x40a270(0x2fd)]['unitId']===this[_0x40a270(0xae)]){const _0x14febd=_0x4bc19e[_0x40a270(0x2fd)];this[_0x40a270(0x13a)](_0x14febd[_0x40a270(0x92)],_0x14febd[_0x40a270(0x29f)][0x0]);}})));}['_onCursorUpdate'](_0x330014){const _0x1fe0c8=_0x125ea8;var _0x2e2682,_0x52c656;const {memberID:_0x2968dd,selection:_0x3dc1a2}=_0x330014[_0x1fe0c8(0x22d)],{sheetName:_0x70321c,range:_0x2792d1}=_0x1371df[_0x1fe0c8(0xa8)](_0x3dc1a2),_0x388595={'name':(_0x52c656=(_0x2e2682=this[_0x1fe0c8(0x1ef)][_0x1fe0c8(0x2d0)](this[_0x1fe0c8(0xae)],_0x2968dd))==null?void 0x0:_0x2e2682[_0x1fe0c8(0x277)])!=null?_0x52c656:_0x1fe0c8(0xd6),'range':this[_0x1fe0c8(0x17e)](_0x70321c,_0x2792d1),'sheetID':_0x70321c,'color':this['_colorAssignService'][_0x1fe0c8(0x257)](_0x2968dd),'selection':_0x3dc1a2},_0x2e3739=this[_0x1fe0c8(0x241)];_0x2e3739['set'](_0x2968dd,_0x388595),this[_0x1fe0c8(0x144)]['next'](_0x2e3739);}[_0x125ea8(0x166)](_0x3c8fd0){const _0x4d1f99=_0x125ea8,{memberID:_0x4c66f6}=_0x3c8fd0[_0x4d1f99(0x22d)],_0x164892=this[_0x4d1f99(0x241)];_0x164892[_0x4d1f99(0x22b)](_0x4c66f6),this[_0x4d1f99(0x144)]['next'](_0x164892);}[_0x125ea8(0x17e)](_0x26d15b,_0x2cd19e){const _0x38688b=_0x125ea8;var _0x33afec,_0x46da57;const _0x1c1f29=(_0x46da57=(_0x33afec=this[_0x38688b(0x1af)]['getUniverSheetInstance'](this[_0x38688b(0xae)]))==null?void 0x0:_0x33afec[_0x38688b(0x17f)](_0x26d15b))==null?void 0x0:_0x46da57[_0x38688b(0x7c)]();return(_0x1c1f29==null?void 0x0:_0x1c1f29['find'](_0x4b21b3=>_0x4d006c[_0x38688b(0x10c)]['contains'](_0x4b21b3,_0x2cd19e)))||_0x2cd19e;}[_0x125ea8(0x1a1)](){const _0x47bc72=_0x125ea8,_0x4ce641=new _0x4d006c['DisposableCollection'](),_0x1a75bb=_0x41b37c(),_0x50f6dc=()=>{const _0x4c772e=_0x1eaa;_0x4ce641[_0x4c772e(0x23f)]();const _0x294b64=(_0x425cd1,_0x1aa268,_0x12b7fc,_0x6d12f5)=>{const _0x3897ce=_0x4c772e;let _0xb9c2c8=[];switch(_0x425cd1['id']){case _0x231e9c[_0x3897ce(0x1e7)]['DeleteRangeMoveLeftCommandId']:{_0xb9c2c8=_0x231e9c['handleDeleteRangeMoveLeft'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x2db)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId'][_0x3897ce(0x29b)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x21f)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2cf)]:{_0xb9c2c8=_0x231e9c['handleInsertRangeMoveDown'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId'][_0x3897ce(0x158)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x1fd)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x184)]:{_0xb9c2c8=_0x231e9c['handleInsertRow'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId']['MoveRangeCommandId']:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x242)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2cc)]:{_0xb9c2c8=_0x231e9c['handleIRemoveCol'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2d7)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x1f7)](_0x425cd1,_0x6d12f5);break;}}const _0x21f1e1=_0x231e9c[_0x3897ce(0x2f1)](_0xb9c2c8,_0x6d12f5),_0x254933=this[_0x3897ce(0x241)][_0x3897ce(0x205)](_0x1aa268);if(_0x254933&&_0x21f1e1){const _0x16fdbe={..._0x254933,'range':_0x21f1e1};this[_0x3897ce(0x241)][_0x3897ce(0x21a)](_0x1aa268,_0x16fdbe),_0x1a75bb(()=>{const _0xa40955=_0x3897ce,_0x153949=this[_0xa40955(0xec)][_0xa40955(0x213)](_0x21f1e1,_0x1944d4=>(_0x153949[_0xa40955(0x23f)](),_0x294b64(_0x1944d4,_0x1aa268,_0x12b7fc,_0x21f1e1)));_0x4ce641[_0xa40955(0x208)](_0x153949);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4c772e(0x1fa)]((_0x3482f4,_0x2fbb4a)=>{const _0xa00375=_0x4c772e,{range:_0x29976c,sheetID:_0x551e22}=_0x3482f4,_0x273d95=this[_0xa00375(0xec)][_0xa00375(0x213)](_0x29976c,_0x1e51d=>(_0x273d95['dispose'](),_0x294b64(_0x1e51d,_0x2fbb4a,_0x551e22,_0x29976c)));_0x4ce641['add'](_0x273d95);});};this[_0x47bc72(0xd9)](_0x4d006c[_0x47bc72(0x109)](this[_0x47bc72(0x144)][_0x47bc72(0x2fb)](()=>{_0x50f6dc();})));}[_0x125ea8(0x169)](){const _0x172c00=_0x125ea8;var _0x2c4caf,_0x2bf1b1;if(this[_0x172c00(0x258)]=!0x0,((_0x2c4caf=this[_0x172c00(0x1af)]['getFocusedUnit']())==null?void 0x0:_0x2c4caf[_0x172c00(0x1d0)]())!==this[_0x172c00(0xae)])return;const _0x197b63=(_0x2bf1b1=this[_0x172c00(0x9f)]['get'](_0x231e9c[_0x172c00(0x94)])[_0x172c00(0x95)]())==null?void 0x0:_0x2bf1b1[0x0],_0x542ddf=this[_0x172c00(0x1af)][_0x172c00(0x1cc)](_0x4d006c[_0x172c00(0xd3)][_0x172c00(0x141)])['getActiveSheet']();_0x197b63&&_0x542ddf&&this['_updateLocalCursor'](_0x542ddf[_0x172c00(0xff)](),_0x197b63);}[_0x125ea8(0x1d2)](){const _0x4eef90=_0x125ea8;this[_0x4eef90(0x258)]=!0x1;}};_0x95cd17=_0x14fd81([_0x5d144d(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['Injector'])),_0x5d144d(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x1bdb8f)),_0x5d144d(0x4,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x26c)])),_0x5d144d(0x5,_0x4d006c[_0x125ea8(0x2ec)]),_0x5d144d(0x6,_0x4d006c[_0x125ea8(0x1a7)]),_0x5d144d(0x7,_0x4d006c[_0x125ea8(0xa0)](_0x231e9c[_0x125ea8(0x128)]))],_0x95cd17);var _0x47f7f0=Object[_0x125ea8(0x209)],_0x731459=(_0x5763bb,_0xab9581,_0x43c7a1,_0x51a394)=>{const _0x24aada=_0x125ea8;for(var _0x238095=_0x51a394>0x1?void 0x0:_0x51a394?_0x47f7f0(_0xab9581,_0x43c7a1):_0xab9581,_0x167875=_0x5763bb[_0x24aada(0xb7)]-0x1,_0x420700;_0x167875>=0x0;_0x167875--)(_0x420700=_0x5763bb[_0x167875])&&(_0x238095=_0x420700(_0x238095)||_0x238095);return _0x238095;},_0x3dee12=(_0x47d296,_0x2fb704)=>(_0x1819a2,_0x52cdba)=>_0x2fb704(_0x1819a2,_0x52cdba,_0x47d296);let _0x55a692=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x1161fc,_0x4d0282,_0x2c4703){const _0x39e99a=_0x125ea8;super(),_0x321a93(this,_0x39e99a(0x13b),new Map()),_0x321a93(this,'_entityInit$',new _0x424996[(_0x39e99a(0x23c))]()),(this[_0x39e99a(0x1af)]=_0x1161fc,this[_0x39e99a(0x9f)]=_0x4d0282,this[_0x39e99a(0x204)]=_0x2c4703,this[_0x39e99a(0x2c1)]());}[_0x125ea8(0x23f)](){const _0x3db488=_0x125ea8;super[_0x3db488(0x23f)](),this[_0x3db488(0x20f)][_0x3db488(0x2a2)](),this['_entities'][_0x3db488(0x1fa)](_0x4e9f08=>_0x4e9f08[_0x3db488(0x23f)]());}[_0x125ea8(0x78)](_0x4d7f23){const _0x230cf9=_0x125ea8;return this[_0x230cf9(0x13b)][_0x230cf9(0x2e7)](_0x4d7f23)?this[_0x230cf9(0x13b)][_0x230cf9(0x205)](_0x4d7f23)[_0x230cf9(0x1a0)]:this['_entityInit$'][_0x230cf9(0x2c2)](_0x424996['filter'](_0x1eb975=>_0x1eb975[_0x230cf9(0xae)]===_0x4d7f23),_0x424996[_0x230cf9(0x263)](_0x503ab0=>_0x503ab0[_0x230cf9(0x1a0)]));}[_0x125ea8(0x2c1)](){const _0x20f871=_0x125ea8;this[_0x20f871(0x1af)]['getTypeOfUnitAdded$'](_0x4d006c[_0x20f871(0xd3)][_0x20f871(0x141)])['pipe'](_0x424996[_0x20f871(0x2b2)](this['dispose$']))[_0x20f871(0x2fb)](async _0x580069=>{const _0x171310=_0x20f871,_0x5479e2=_0x580069['getUnitId'](),_0x999818=await this[_0x171310(0x20b)](_0x5479e2);this['_entityInit$'][_0x171310(0xa3)](_0x999818),this[_0x171310(0x13b)][_0x171310(0x21a)](_0x5479e2,_0x999818);}),this[_0x20f871(0x1af)][_0x20f871(0x76)](_0x4d006c[_0x20f871(0xd3)]['UNIVER_DOC'])[_0x20f871(0x2c2)](_0x424996[_0x20f871(0x2b2)](this[_0x20f871(0x281)]))['pipe'](_0x424996['filter'](_0x343d12=>!_0x343d12[_0x20f871(0x1d0)]()[_0x20f871(0x1c6)]('__')))[_0x20f871(0x2fb)](async _0x48f678=>{const _0x1ecee8=_0x20f871,_0x3bee40=_0x48f678[_0x1ecee8(0x1d0)](),_0x327ae1=await this[_0x1ecee8(0xd1)](_0x3bee40);this[_0x1ecee8(0x20f)][_0x1ecee8(0xa3)](_0x327ae1),this[_0x1ecee8(0x13b)][_0x1ecee8(0x21a)](_0x3bee40,_0x327ae1);}),_0x424996[_0x20f871(0xfe)](this[_0x20f871(0x1af)][_0x20f871(0x212)](_0x4d006c[_0x20f871(0xd3)][_0x20f871(0x220)]),this[_0x20f871(0x1af)][_0x20f871(0x212)](_0x4d006c[_0x20f871(0xd3)]['UNIVER_SHEET']))[_0x20f871(0x2c2)](_0x424996[_0x20f871(0x2b2)](this[_0x20f871(0x281)]))[_0x20f871(0x2fb)](_0x12dec9=>{const _0x1cbc4e=_0x20f871,_0x4285d9=_0x12dec9['getUnitId'](),_0xe8da3a=this['_entities'][_0x1cbc4e(0x205)](_0x4285d9);_0xe8da3a&&(_0xe8da3a[_0x1cbc4e(0x23f)](),this['_entities'][_0x1cbc4e(0x22b)](_0x4285d9));});}async[_0x125ea8(0x20b)](_0x1d0ad9){const _0x3f1e62=_0x125ea8,_0x62d5de=await this[_0x3f1e62(0x204)]['requireSession'](_0x1d0ad9),_0x57f18b=this[_0x3f1e62(0x9f)][_0x3f1e62(0x19b)](_0x95cd17,_0x1d0ad9,_0x62d5de);return _0x57f18b[_0x3f1e62(0x101)](),_0x57f18b;}async[_0x125ea8(0xd1)](_0x38b3b5){const _0x3b5080=_0x125ea8,_0x36747b=await this[_0x3b5080(0x204)][_0x3b5080(0xf0)](_0x38b3b5),_0x4f4147=this[_0x3b5080(0x9f)]['createInstance'](_0x1fe332,_0x38b3b5,_0x36747b);return _0x4f4147['init'](),_0x4f4147;}};_0x55a692=_0x731459([_0x3dee12(0x0,_0x4d006c[_0x125ea8(0x2ec)]),_0x3dee12(0x1,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x8d)])),_0x3dee12(0x2,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x1d5)]))],_0x55a692);const _0x260e0f=0x14,_0x4dfe11=0xc8,_0x31133a=0x4,_0x4fa4ce=0x5;function _0x240879(_0x2e8691,_0x32f447){const _0x2573c1=_0x125ea8;let {radius:_0x48143a,width:_0x3a2647,height:_0x37e8c7}=_0x32f447;_0x48143a=_0x48143a!=null?_0x48143a:0x0,_0x3a2647=_0x3a2647!=null?_0x3a2647:0x1e,_0x37e8c7=_0x37e8c7!=null?_0x37e8c7:0x1e;let _0x58bf9a=0x0,_0x263452=0x0,_0x17127b=0x0;_0x58bf9a=_0x263452=_0x17127b=Math[_0x2573c1(0x28f)](_0x48143a,_0x3a2647/0x2,_0x37e8c7/0x2),_0x2e8691['beginPath'](),_0x2e8691[_0x2573c1(0x1de)](_0x58bf9a,0x0),_0x2e8691[_0x2573c1(0x7a)](_0x3a2647-_0x263452,0x0),_0x2e8691['arc'](_0x3a2647-_0x263452,_0x263452,_0x263452,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e8691['lineTo'](_0x3a2647,_0x37e8c7-_0x17127b),_0x2e8691[_0x2573c1(0x25a)](_0x3a2647-_0x17127b,_0x37e8c7-_0x17127b,_0x17127b,0x0,Math['PI']/0x2,!0x1),_0x2e8691[_0x2573c1(0x7a)](0x0,_0x37e8c7),_0x2e8691[_0x2573c1(0x7a)](0x0,_0x58bf9a),_0x2e8691[_0x2573c1(0x25a)](_0x58bf9a,_0x58bf9a,_0x58bf9a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e8691[_0x2573c1(0xbd)](),_0x32f447[_0x2573c1(0x1d4)]&&(_0x2e8691[_0x2573c1(0xd7)](),_0x2e8691[_0x2573c1(0x125)]=_0x32f447[_0x2573c1(0x1d4)],_0x32f447['fillRule']===_0x2573c1(0x1eb)?_0x2e8691[_0x2573c1(0x1d4)](_0x2573c1(0x1eb)):_0x2e8691[_0x2573c1(0x1d4)](),_0x2e8691[_0x2573c1(0x21c)]());}class _0x5e0250 extends _0x3ce196[_0x125ea8(0xc9)]{constructor(_0x337ea7,_0x1ffb7b){const _0x5cb762=_0x125ea8;super(_0x337ea7,_0x1ffb7b),_0x321a93(this,'color'),_0x321a93(this,'text'),(this[_0x5cb762(0xd0)]=_0x1ffb7b==null?void 0x0:_0x1ffb7b[_0x5cb762(0xd0)],this[_0x5cb762(0x159)]=_0x1ffb7b==null?void 0x0:_0x1ffb7b['text']);}static['drawWith'](_0x5b251d,_0xfbb19){const _0x1427be=_0x125ea8,{text:_0x129737,color:_0x2df314}=_0xfbb19;_0x5b251d['save'](),_0x5b251d[_0x1427be(0x105)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x17003b=_0x5b251d['measureText'](_0x129737)[_0x1427be(0x20d)],_0x55d925=Math['min'](_0x17003b+0x2*_0x31133a,_0x4dfe11);_0x240879(_0x5b251d,{'height':_0x260e0f,'radius':0x4,'width':_0x55d925,'fill':_0x2df314}),_0x5b251d[_0x1427be(0x125)]=_0x1427be(0x74);const _0x12651d=_0x31133a,_0x382d16=_0x260e0f-_0x4fa4ce,_0x618729=_0x4dfe11-0x2*_0x31133a;if(_0x17003b>_0x618729){let _0x46b489='',_0x469bc4=0x0;for(const _0x147820 of _0x129737){const _0x2ca20d=_0x5b251d[_0x1427be(0x299)](_0x147820)[_0x1427be(0x20d)];if(_0x469bc4+_0x2ca20d<=_0x618729-_0x5b251d[_0x1427be(0x299)](_0x1427be(0x1f0))[_0x1427be(0x20d)])_0x46b489+=_0x147820,_0x469bc4+=_0x2ca20d;else{_0x46b489+=_0x1427be(0x1f0);break;}}_0x5b251d[_0x1427be(0x1c7)](_0x46b489,_0x12651d,_0x382d16);}else _0x5b251d[_0x1427be(0x1c7)](_0x129737,_0x12651d,_0x382d16);_0x5b251d[_0x1427be(0x21c)]();}[_0x125ea8(0x275)](_0x53c93f){const _0x487ca5=_0x125ea8;_0x5e0250[_0x487ca5(0x2a4)](_0x53c93f,this);}}const _0x27bee1=_0x125ea8(0x282),_0x3145a7=_0x125ea8(0xab),_0x262063='collab-rect-range-',_0x2053ea=0x6,_0x389923=1.5,_0x100a90=0x4,_0x2d7857=1.5,_0x440953=_0x125ea8(0x218);class _0x5931b9{constructor(_0x18fa2d,_0x3d0c24,_0x8eac85,_0x135e08){const _0x4bdeff=_0x125ea8;_0x321a93(this,_0x4bdeff(0x171),[]),_0x321a93(this,_0x4bdeff(0x13c),null),_0x321a93(this,_0x4bdeff(0x2be),null),_0x321a93(this,_0x4bdeff(0x2eb),null),_0x321a93(this,_0x4bdeff(0x1cd),null),_0x321a93(this,'_eventUnsubscribe',null),(this['_cursor']=_0x18fa2d,this[_0x4bdeff(0x195)]=_0x3d0c24,this[_0x4bdeff(0x18a)]=_0x8eac85,this['_document']=_0x135e08,this[_0x4bdeff(0xa7)]());}set[_0x125ea8(0x233)](_0x24294f){const _0x1f5610=_0x125ea8;_0x24294f?(this[_0x1f5610(0x2eb)]&&this[_0x1f5610(0x2eb)][_0x1f5610(0x8f)](),this[_0x1f5610(0x2be)]&&this['_textBubble'][_0x1f5610(0x2ab)]()):(this['_anchorDot']&&this[_0x1f5610(0x2eb)][_0x1f5610(0x2ab)](),this[_0x1f5610(0x2be)]&&this['_textBubble'][_0x1f5610(0x8f)]());}[_0x125ea8(0x23f)](){const _0x4bb5a3=_0x125ea8;for(const _0x1a19c2 of this['_shapes'])_0x1a19c2[_0x4bb5a3(0x23f)]();this[_0x4bb5a3(0x2be)]&&this[_0x4bb5a3(0x2be)][_0x4bb5a3(0x23f)](),this[_0x4bb5a3(0x2eb)]&&this[_0x4bb5a3(0x2eb)]['dispose'](),this['_anchor']&&this[_0x4bb5a3(0x13c)][_0x4bb5a3(0x23f)](),this[_0x4bb5a3(0x11b)]&&this['_eventUnsubscribe']();}[_0x125ea8(0xa7)](){const _0x20473f=_0x125ea8;var _0x39c5b9;const {_docSkeleton:_0x3cd27b,_document:_0x1de1c3}=this,{color:_0x4ad29e,name:_0x594e52,ranges:_0x33c3d9}=this[_0x20473f(0x285)],_0x26ccf2=_0x1de1c3[_0x20473f(0x1bf)](),{docsLeft:_0x3fe292,docsTop:_0x6ffa53}=_0x26ccf2,_0x1043f5=new _0x5051a5[(_0x20473f(0x24f))](_0x26ccf2,_0x3cd27b);for(const {startOffset:_0x187e02,endOffset:_0x1ce27b,rangeType:_0xe6ebf,segmentId:_0x29bd7f,segmentPage:_0x3be249,collapsed:_0x2a582f,isActive:_0x274ab2}of _0x33c3d9){const _0x2f1dd6=_0x3cd27b[_0x20473f(0x2cb)](_0x187e02,!0x0,_0x29bd7f,_0x3be249);let _0x2cf534=_0x3cd27b['findNodePositionByCharIndex'](_0x1ce27b,!0x0,_0x29bd7f,_0x3be249);if(_0x2cf534==null&&(_0x2cf534=_0x3cd27b['findNodePositionByCharIndex'](_0x1ce27b-0x1,!0x1,_0x29bd7f,_0x3be249)),_0x274ab2){const {contentBoxPointGroup:_0x5ea432}=_0x1043f5[_0x20473f(0x252)](_0x2cf534,_0x2cf534);if(_0x5ea432[_0x20473f(0xb7)]===0x0)continue;this[_0x20473f(0x2e6)](_0x4ad29e,_0x5ea432,_0x3fe292,_0x6ffa53,_0x594e52),this[_0x20473f(0x11b)]=this[_0x20473f(0x168)]();}if(_0x2f1dd6&&_0x2cf534){if(_0xe6ebf===_0x4d006c['DOC_RANGE_TYPE'][_0x20473f(0xee)]){const _0x535362=new _0x5051a5['NodePositionConvertToRectRange'](_0x26ccf2,_0x3cd27b),{pointGroup:_0x409f79}=(_0x39c5b9=_0x535362[_0x20473f(0x252)](_0x2f1dd6,_0x2cf534))!=null?_0x39c5b9:{};if(_0x409f79==null||_0x409f79[_0x20473f(0xb7)]===0x0)continue;this['_drawRectRange'](_0x4ad29e,_0x409f79,_0x3fe292,_0x6ffa53);}else{if(!_0x2a582f){const {borderBoxPointGroup:_0x56ba56}=_0x1043f5[_0x20473f(0x252)](_0x2f1dd6,_0x2cf534);if(_0x56ba56[_0x20473f(0xb7)]===0x0)continue;this[_0x20473f(0x24b)](_0x4ad29e,_0x56ba56,_0x3fe292,_0x6ffa53);}}}}}['_drawAnchor'](_0x53a757,_0x5aa7ab,_0x32625e,_0x4dfc86,_0x4469ac){const _0x22bc24=_0x125ea8,_0x12bd60=this[_0x22bc24(0xe0)](_0x5aa7ab),{left:_0x305b86,top:_0x49a6ed,height:_0x20ac5}=_0x12bd60,_0x3f6be3=this[_0x22bc24(0x13e)](),_0xbad854=_0x2d7857/_0x3f6be3,_0x5d4805=new _0x3ce196[(_0x22bc24(0x1c3))](_0x27bee1+_0x4d006c[_0x22bc24(0x1b5)]['generateRandomId'](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86,'height':_0x20ac5,'width':_0x389923,'fill':_0x53a757||_0x3ce196[_0x22bc24(0x151)](_0x4d006c[_0x22bc24(0x124)][_0x22bc24(0x6b)],0x0),'strokeWidth':_0xbad854,'stroke':_0x440953,'evented':!0x0});this[_0x22bc24(0x13c)]=_0x5d4805,this['_scene']['addObject'](_0x5d4805,_0x5051a5[_0x22bc24(0xd8)]);const _0x576f9a=new _0x3ce196[(_0x22bc24(0x1c3))](_0x27bee1+_0x4d006c['Tools'][_0x22bc24(0xcd)](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86-_0x100a90/0x2,'height':_0x100a90,'width':_0x100a90,'fill':_0x53a757||_0x3ce196[_0x22bc24(0x151)](_0x4d006c[_0x22bc24(0x124)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x53a757||_0x3ce196['getColor'](_0x4d006c[_0x22bc24(0x124)][_0x22bc24(0x6b)],0x0),'evented':!0x1});this[_0x22bc24(0x2eb)]=_0x576f9a,this[_0x22bc24(0x195)][_0x22bc24(0x9d)](_0x576f9a,_0x5051a5[_0x22bc24(0xd8)]);const _0x3b5665=new _0x5e0250(_0x27bee1+_0x4d006c['Tools'][_0x22bc24(0xcd)](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86-_0x260e0f,'text':_0x4469ac,'color':_0x53a757});this[_0x22bc24(0x2be)]=_0x3b5665,this[_0x22bc24(0x195)][_0x22bc24(0x9d)](_0x3b5665,_0x5051a5['TEXT_RANGE_LAYER_INDEX']),this[_0x22bc24(0x233)]=!0x1;}[_0x125ea8(0x168)](){const _0x2b29f5=_0x125ea8,_0x5856f5=this['_anchor']['onPointerEnter$'][_0x2b29f5(0xc6)](()=>{const _0xa6d969=_0x2b29f5;this[_0xa6d969(0x233)]=!0x0;}),_0x3e3415=this[_0x2b29f5(0x13c)][_0x2b29f5(0x19c)][_0x2b29f5(0xc6)](()=>{const _0x4b31c4=_0x2b29f5;this[_0x4b31c4(0x1cd)]&&clearTimeout(this['_hideTimer']),this[_0x4b31c4(0x1cd)]=setTimeout(()=>{const _0x4424fc=_0x4b31c4;this[_0x4424fc(0x233)]=!0x1;},0x7d0);});return()=>{const _0x416ac3=_0x2b29f5;_0x5856f5[_0x416ac3(0x99)](),_0x3e3415[_0x416ac3(0x99)]();};}[_0x125ea8(0x24b)](_0x42c6b0,_0x25f26c,_0x1cb032,_0x10faab){const _0x5f3aef=_0x125ea8,_0x31733b=new _0x4d006c[(_0x5f3aef(0xfd))](_0x42c6b0)[_0x5f3aef(0x273)](0.2)[_0x5f3aef(0x292)](),_0x33dd70=new _0x3ce196[(_0x5f3aef(0x15b))](_0x3145a7+_0x4d006c[_0x5f3aef(0x1b5)]['generateRandomId'](_0x2053ea),{'pointsGroup':_0x25f26c,'fill':_0x31733b||_0x3ce196[_0x5f3aef(0x151)](_0x4d006c[_0x5f3aef(0x124)][_0x5f3aef(0x6b)],0.2),'left':_0x1cb032,'top':_0x10faab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f3aef(0x171)][_0x5f3aef(0x2e4)](_0x33dd70),this['_scene']['addObject'](_0x33dd70,_0x5051a5['TEXT_RANGE_LAYER_INDEX']);}[_0x125ea8(0x1f5)](_0x664e62,_0xc61803,_0x5590b7,_0x1b8d61){const _0x41fc19=_0x125ea8,_0x2c5aa2=new _0x4d006c[(_0x41fc19(0xfd))](_0x664e62)[_0x41fc19(0x273)](0.2)[_0x41fc19(0x292)](),_0x558085=new _0x3ce196['RegularPolygon'](_0x262063+_0x4d006c['Tools'][_0x41fc19(0xcd)](_0x2053ea),{'pointsGroup':_0xc61803,'fill':_0x2c5aa2||_0x3ce196[_0x41fc19(0x151)](_0x4d006c[_0x41fc19(0x124)][_0x41fc19(0x6b)],0.2),'left':_0x5590b7,'top':_0x1b8d61,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41fc19(0x171)]['push'](_0x558085),this[_0x41fc19(0x195)][_0x41fc19(0x9d)](_0x558085,_0x5051a5[_0x41fc19(0xd8)]);}[_0x125ea8(0xe0)](_0x4eb0b1){const _0x14ea66=_0x4eb0b1[0x0],_0x319545=_0x14ea66[0x0],_0x333d30=_0x14ea66[0x2],{x:_0x31e480,y:_0xca433e}=_0x319545,{x:_0x33ef70,y:_0x54a5a4}=_0x333d30;return{'left':_0x31e480,'top':_0xca433e,'width':_0x33ef70-_0x31e480,'height':_0x54a5a4-_0xca433e};}[_0x125ea8(0x13e)](){const _0x6def8d=_0x125ea8,{scaleX:_0x1e392b,scaleY:_0x344596}=this['_scene']['getAncestorScale']();return Math[_0x6def8d(0x186)](_0x1e392b,_0x344596);}}var _0x9407ad=Object[_0x125ea8(0x209)],_0x319cec=(_0x1a997b,_0x29408b,_0x1e175e,_0x1882cd)=>{for(var _0x4131d5=_0x1882cd>0x1?void 0x0:_0x1882cd?_0x9407ad(_0x29408b,_0x1e175e):_0x29408b,_0x4f542e=_0x1a997b['length']-0x1,_0x5d2ad1;_0x4f542e>=0x0;_0x4f542e--)(_0x5d2ad1=_0x1a997b[_0x4f542e])&&(_0x4131d5=_0x5d2ad1(_0x4131d5)||_0x4131d5);return _0x4131d5;},_0xe68bed=(_0x452c00,_0x2bfd56)=>(_0x24eb8e,_0x8c1966)=>_0x2bfd56(_0x24eb8e,_0x8c1966,_0x452c00);let _0x49880d=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x28761e,_0x72af24,_0x19651d,_0x496dc6,_0x1a53a8){const _0xb196ff=_0x125ea8;super(),_0x321a93(this,'_cursorShapes',[]),_0x321a93(this,'_cursors',[]),(this[_0xb196ff(0x10d)]=_0x28761e,this[_0xb196ff(0x113)]=_0x72af24,this[_0xb196ff(0x211)]=_0x19651d,this['_commandService']=_0x496dc6,this[_0xb196ff(0x1c8)]=_0x1a53a8,this[_0xb196ff(0x2c1)]());}[_0x125ea8(0x2c1)](){const _0x44ac1f=_0x125ea8,_0x22a741=this['_context'][_0x44ac1f(0x224)],_0x3e896b=this[_0x44ac1f(0x113)];this[_0x44ac1f(0xd9)](_0x424996['combineLatest']([this['_collabCursorController'][_0x44ac1f(0x78)](_0x22a741),this[_0x44ac1f(0x1c8)]['currentTheme$']])[_0x44ac1f(0x2c2)](_0x4e626c[_0x44ac1f(0x16f)](([_0x5c1c51,_0x40c7aa])=>({'skeleton':_0x3e896b[_0x44ac1f(0x1b3)](),'cursors':[..._0x5c1c51[_0x44ac1f(0x1f3)]()][_0x44ac1f(0x28d)](_0x2960b0=>({..._0x2960b0,'color':_0x40c7aa[_0x2960b0[_0x44ac1f(0xd0)]]}))})))[_0x44ac1f(0x2fb)](_0x24a11e=>{const _0x52be4a=_0x44ac1f;if(this[_0x52be4a(0x1a5)](),_0x24a11e){const {skeleton:_0x14ae24,cursors:_0x773bb}=_0x24a11e;this[_0x52be4a(0x231)](_0x14ae24,_0x773bb);}})),this[_0x44ac1f(0x190)](),this[_0x44ac1f(0x2c6)]();}['_updateCollabCursors'](_0xa9690,_0x23905a){const _0x42e4e1=_0x125ea8,{scene:_0x51119d,mainComponent:_0x55e3f9}=this['_context'],_0x348b9d=_0x23905a['map'](_0x2afdd5=>new _0x5931b9(_0x2afdd5,_0x51119d,_0xa9690,_0x55e3f9));this[_0x42e4e1(0x2ad)]=_0x348b9d,this['_cursors']=_0x23905a;}[_0x125ea8(0x1db)](){const _0x8d595e=_0x125ea8;this['_removeCollabCursors']();const {scene:_0x48f7c8,mainComponent:_0x44970f}=this[_0x8d595e(0x10d)],_0xa769bb=this[_0x8d595e(0x113)][_0x8d595e(0x1b3)](),_0x2258a5=this[_0x8d595e(0x2f2)][_0x8d595e(0x16f)](_0x1fd693=>new _0x5931b9(_0x1fd693,_0x48f7c8,_0xa769bb,_0x44970f));this[_0x8d595e(0x2ad)]=_0x2258a5;}[_0x125ea8(0x1a5)](){const _0x4edc83=_0x125ea8;this[_0x4edc83(0x2ad)][_0x4edc83(0x1fa)](_0x2333e1=>_0x2333e1[_0x4edc83(0x23f)]()),this[_0x4edc83(0x2ad)]=[];}[_0x125ea8(0x2c6)](){const _0x228839=_0x125ea8,_0x1af8da=[_0x5051a5[_0x228839(0x215)]['id']];this[_0x228839(0xd9)](this['_commandService'][_0x228839(0x1ca)](_0x3b0b00=>{const _0x5b1024=_0x228839;_0x1af8da[_0x5b1024(0x84)](_0x3b0b00['id'])&&_0x3b0b00[_0x5b1024(0x2fd)][_0x5b1024(0x224)]===this[_0x5b1024(0x10d)][_0x5b1024(0x224)]&&this[_0x5b1024(0x1db)]();}));}[_0x125ea8(0x190)](){const _0x496015=_0x125ea8;this[_0x496015(0xd9)](_0x4d006c[_0x496015(0xf3)](this[_0x496015(0x10d)][_0x496015(0x1a3)][_0x496015(0x160)])[_0x496015(0x2c2)](_0x4e626c[_0x496015(0x2f5)](_0x154a06=>_0x154a06[_0x496015(0xd4)]===_0x3ce196[_0x496015(0x127)][_0x496015(0xb3)]),_0x4e626c['throttleTime'](0x10))[_0x496015(0x2fb)](()=>{this['_refreshCollabCursors']();}));}};_0x49880d=_0x319cec([_0xe68bed(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x2b2a28[_0x125ea8(0x81)])),_0xe68bed(0x2,_0x4d006c['Inject'](_0x55a692)),_0xe68bed(0x3,_0x4d006c[_0x125ea8(0x1a7)]),_0xe68bed(0x4,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x126)]))],_0x49880d);const _0x2c5595=0x1,_0x5243f7=1.5;class _0x415e6b extends _0x3ce196[_0x125ea8(0xc9)]{constructor(_0x3bb2cf,_0x5cbdab){const _0x412812=_0x125ea8;super(_0x3bb2cf,_0x5cbdab),_0x321a93(this,_0x412812(0x2d1)),_0x321a93(this,_0x412812(0x223),!0x1),_0x321a93(this,_0x412812(0x183)),_0x321a93(this,'_name',''),_0x321a93(this,'_labelPosition','top'),_0x321a93(this,'_backgroundColor'),(_0x5cbdab&&this[_0x412812(0x16d)](_0x5cbdab),this[_0x412812(0x146)][_0x412812(0xc6)](()=>this[_0x412812(0x16d)]({'hovered':!0x0})),this[_0x412812(0x19c)]['subscribeEvent'](()=>this[_0x412812(0x16d)]({'hovered':!0x1})));}[_0x125ea8(0x16d)](_0x30b592){const _0xa5e97=_0x125ea8;var _0x18fa34,_0x25f1f8,_0x5b1c14,_0x50f5fb,_0x1a9aa6,_0x42ddc0;this[_0xa5e97(0x2d1)]=(_0x18fa34=_0x30b592[_0xa5e97(0xd0)])!=null?_0x18fa34:this[_0xa5e97(0x2d1)],this[_0xa5e97(0x223)]=(_0x25f1f8=_0x30b592['hovered'])!=null?_0x25f1f8:this[_0xa5e97(0x223)],this[_0xa5e97(0x183)]=(_0x5b1c14=_0x30b592[_0xa5e97(0x2e9)])!=null?_0x5b1c14:this['_range'],this[_0xa5e97(0xfb)]=(_0x50f5fb=_0x30b592[_0xa5e97(0x277)])!=null?_0x50f5fb:this[_0xa5e97(0xfb)],this[_0xa5e97(0x132)]=(_0x1a9aa6=_0x30b592[_0xa5e97(0xc8)])!=null?_0x1a9aa6:this[_0xa5e97(0x132)],this[_0xa5e97(0xf8)]=(_0x42ddc0=_0x30b592[_0xa5e97(0x28c)])!=null?_0x42ddc0:this[_0xa5e97(0xf8)],this[_0xa5e97(0x1f6)]({'width':_0x30b592[_0xa5e97(0x20d)],'height':_0x30b592[_0xa5e97(0x156)]});}[_0x125ea8(0x1bd)](_0x556400){const _0x293c13=_0x125ea8,{row:_0x2821fa,column:_0x250d19}=_0x556400;if(_0x2821fa>=this[_0x293c13(0x183)][_0x293c13(0x2e0)]&&_0x2821fa<=this[_0x293c13(0x183)][_0x293c13(0x19a)]&&_0x250d19>=this[_0x293c13(0x183)][_0x293c13(0xdc)]&&_0x250d19<=this[_0x293c13(0x183)]['endColumn']){this[_0x293c13(0x16d)]({'hovered':!0x0});return;}this[_0x293c13(0x16d)]({'hovered':!0x1});}[_0x125ea8(0x2de)](_0x5f1729){return!0x1;}['_draw'](_0x5befd4){const _0x3c5159=_0x125ea8;_0x3ce196[_0x3c5159(0x1c3)][_0x3c5159(0x2a4)](_0x5befd4,{'width':this[_0x3c5159(0x20d)],'height':this[_0x3c5159(0x156)],'strokeWidth':_0x5243f7,'stroke':this[_0x3c5159(0x2d1)],'evented':!0x1,'fill':this[_0x3c5159(0xf8)]}),this['_hovered']&&(_0x5befd4[_0x3c5159(0xd7)](),_0x5befd4[_0x3c5159(0xa6)](0x1,0x0,0x0,0x1,this[_0x3c5159(0x20d)],this[_0x3c5159(0x132)]===_0x3c5159(0x1b6)?0x0:-0x14),_0x5e0250[_0x3c5159(0x2a4)](_0x5befd4,{'text':this[_0x3c5159(0xfb)],'color':this[_0x3c5159(0x2d1)]}),_0x5befd4[_0x3c5159(0x21c)]());}}var _0x3c63=Object[_0x125ea8(0x209)],_0x469407=(_0x4c5e01,_0x28d040,_0x5ddc69,_0x5e92b4)=>{for(var _0xc2974f=_0x5e92b4>0x1?void 0x0:_0x5e92b4?_0x3c63(_0x28d040,_0x5ddc69):_0x28d040,_0x282808=_0x4c5e01['length']-0x1,_0x1e05e2;_0x282808>=0x0;_0x282808--)(_0x1e05e2=_0x4c5e01[_0x282808])&&(_0xc2974f=_0x1e05e2(_0xc2974f)||_0xc2974f);return _0xc2974f;},_0x15c691=(_0x1ce40b,_0x162632)=>(_0x2ccb99,_0x42320c)=>_0x162632(_0x2ccb99,_0x42320c,_0x1ce40b);const _0x1e278c=0x1389;let _0x46ea4f=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x4b26fd,_0xde0931,_0x243ec2,_0x43faa4){const _0x164cfb=_0x125ea8;super(),_0x321a93(this,_0x164cfb(0x2f2),new Set()),_0x321a93(this,_0x164cfb(0x98),null),(this[_0x164cfb(0x10d)]=_0x4b26fd,this[_0x164cfb(0x1e6)]=_0xde0931,this[_0x164cfb(0x211)]=_0x243ec2,this[_0x164cfb(0x1c8)]=_0x43faa4,this['_init']());}[_0x125ea8(0x2c1)](){const _0x4fb612=_0x125ea8;this[_0x4fb612(0x1e6)][_0x4fb612(0xe9)]['pipe'](_0x4e626c['takeUntil'](this[_0x4fb612(0x281)]),_0x4e626c['switchMap'](_0x34caa5=>{const _0x22cc94=_0x4fb612;if(_0x34caa5){const _0x3348d3=_0x34caa5[_0x22cc94(0x1b7)];return _0x424996[_0x22cc94(0x26a)](this['_collabCursorController'][_0x22cc94(0x78)](this[_0x22cc94(0x10d)]['unitId']),this[_0x22cc94(0x1c8)][_0x22cc94(0x2e3)])[_0x22cc94(0x2c2)](_0x4e626c[_0x22cc94(0x16f)](([_0x44c049,_0x20b443])=>{const _0x37bada=_0x22cc94,_0x27c255=new Map();return _0x44c049[_0x37bada(0x1fa)]((_0x3ecdca,_0x5404c2)=>{const _0x569dae=_0x37bada;if(_0x3ecdca[_0x569dae(0x165)]===_0x3348d3){const _0x13844c={..._0x3ecdca};_0x13844c[_0x569dae(0xd0)]=_0x20b443[_0x3ecdca[_0x569dae(0xd0)]],_0x27c255['set'](_0x5404c2,_0x13844c);}}),{'skeleton':_0x34caa5,'cursors':_0x27c255};}));}return _0x424996['of']({'skeleton':null,'cursors':new Map()});}))[_0x4fb612(0x2fb)](({skeleton:_0x5322e7,cursors:_0x13ddc5})=>{const _0x26337e=_0x4fb612;this['_removeCollabCursors'](),_0x5322e7&&this[_0x26337e(0x231)](_0x5322e7,_0x13ddc5);}),this[_0x4fb612(0x1e6)]['currentSkeleton$'][_0x4fb612(0x2fb)](_0x50fd62=>{const _0x1f737d=_0x4fb612;if(_0x50fd62==null)return;const {skeleton:_0x276d3a}=_0x50fd62,{scene:_0x413c0d}=this[_0x1f737d(0x10d)];_0x413c0d[_0x1f737d(0x80)]['subscribeEvent'](_0x4d006c['debounce'](_0x300a4b=>{const _0x1addcd=_0x1f737d;var _0x30b10a,_0x167faf;const {offsetX:_0x22adaa,offsetY:_0x430c43}=_0x300a4b,{x:_0x2f9773,y:_0x1f415b}=_0x413c0d[_0x1addcd(0xe2)](_0x3ce196[_0x1addcd(0x1ad)][_0x1addcd(0x216)]([_0x22adaa,_0x430c43])),{scaleX:_0x132a4f,scaleY:_0xb8a57b}=_0x413c0d[_0x1addcd(0x253)](),_0x583f4a=_0x413c0d[_0x1addcd(0x22a)](_0x3ce196[_0x1addcd(0x1e0)]['VIEW_MAIN']),_0xcc9805=_0x413c0d[_0x1addcd(0x10e)](_0x3ce196[_0x1addcd(0x1ad)][_0x1addcd(0x216)]([_0x2f9773,_0x1f415b]),_0x583f4a),_0x3e9349=_0x276d3a[_0x1addcd(0x279)](_0x22adaa,_0x430c43,_0x132a4f,_0xb8a57b,_0xcc9805);((_0x30b10a=this[_0x1addcd(0x98)])==null?void 0x0:_0x30b10a[_0x1addcd(0x2a8)])===_0x3e9349[_0x1addcd(0x2a8)]&&((_0x167faf=this[_0x1addcd(0x98)])==null?void 0x0:_0x167faf[_0x1addcd(0x290)])===_0x3e9349['row']||this['_cursors'][_0x1addcd(0x1fa)](_0x3d42b8=>{const _0x522dc5=_0x1addcd;_0x3d42b8[_0x522dc5(0x1bd)](_0x3e9349);});},0x64));});}[_0x125ea8(0x231)](_0x1e1a95,_0x48a2fd){const _0x35dfd0=_0x125ea8;var _0x7026fb;const _0x216563=(_0x7026fb=this[_0x35dfd0(0x1e6)][_0x35dfd0(0xdd)]())==null?void 0x0:_0x7026fb[_0x35dfd0(0x244)];if(!_0x216563)return;const _0x8b8bc3=this['_getSheetObject']();if(!_0x8b8bc3)return;this['_cursors']['forEach'](_0x8459c=>{_0x8459c['makeDirty']();});const {scene:_0x111778}=_0x8b8bc3,_0x181d84=_0x4f5916(Array[_0x35dfd0(0x18f)](_0x48a2fd['values']()))[_0x35dfd0(0x16f)](_0x3aef04=>{const _0x3405d7=_0x35dfd0,{color:_0x3af984,range:_0x441926,name:_0x33b869,selection:_0x1f60e6,sheetID:_0x23cdc8}=_0x3aef04,{startColumn:_0x4d9562,startRow:_0x2c83a8,endColumn:_0x1ceeb,endRow:_0x64fa85}=_0x441926,_0x40a599=_0x4a87b2[_0x3405d7(0xa9)](_0x2c83a8,_0x4d9562,_0x111778,_0x216563),_0x379c13=_0x4a87b2[_0x3405d7(0xa9)](_0x64fa85,_0x1ceeb,_0x111778,_0x216563),{columnHeaderHeightAndMarginTop:_0x2ace49}=_0x216563,{startX:_0x6274f2,startY:_0x3019b3}=_0x40a599,{endX:_0x355e50,endY:_0x18d158}=_0x379c13,_0x54473c=_0x355e50-_0x6274f2,_0x36ef1d=_0x18d158-_0x3019b3,_0x5842a7={'labelPosition':_0x3019b3-_0x2ace49>=_0x260e0f?_0x3405d7(0x286):_0x3405d7(0x1b6),'sheetID':_0x23cdc8,'range':_0x441926,'color':_0x3af984,'name':_0x33b869,'selection':_0x1f60e6,'left':_0x6274f2,'top':_0x3019b3,'width':_0x54473c,'height':_0x36ef1d,'evented':!0x1,'zIndex':_0x1e278c};return new _0x415e6b(_0x33b869,_0x5842a7);});_0x111778['addObjects'](_0x181d84,_0x2c5595),this['_cursors']=new Set(_0x181d84);}[_0x125ea8(0x1a5)](){const _0x5d5002=_0x125ea8;var _0x2c1ade;(_0x2c1ade=this['_cursors'])==null||_0x2c1ade[_0x5d5002(0x1fa)](_0x541da8=>_0x541da8[_0x5d5002(0x23f)]());}['_getSheetObject'](){const _0x3d52f3=_0x125ea8;return _0x4a87b2[_0x3d52f3(0x1f4)](this[_0x3d52f3(0x10d)]['unit'],this[_0x3d52f3(0x10d)]);}};_0x46ea4f=_0x469407([_0x15c691(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x4a87b2[_0x125ea8(0x1b1)])),_0x15c691(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x55a692)),_0x15c691(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x126)]))],_0x46ea4f);function _0x4f5916(_0x47c780){const _0x316e34=_0x125ea8,_0x13efa5=new Map();return _0x47c780[_0x316e34(0x1fa)](_0xb6c4d1=>{const _0x2c9748=_0x316e34;if(_0x13efa5[_0x2c9748(0x2e7)](_0xb6c4d1['selection'])){const _0x1b49e2=_0x13efa5[_0x2c9748(0x205)](_0xb6c4d1[_0x2c9748(0x18c)]);_0x1b49e2[_0x2c9748(0x277)]+=',\x20'+_0xb6c4d1[_0x2c9748(0x277)];}else _0x13efa5[_0x2c9748(0x21a)](_0xb6c4d1[_0x2c9748(0x18c)],_0xb6c4d1);}),Array['from'](_0x13efa5[_0x316e34(0x1f3)]());}var _0x5b9bc2=function(){const _0x4b97c1=_0x125ea8;return _0x5b9bc2=Object[_0x4b97c1(0x1cb)]||function(_0x15a3d4){const _0x1e96bc=_0x4b97c1;for(var _0x5a5d8c,_0x50fcbf=0x1,_0x2d354a=arguments['length'];_0x50fcbf<_0x2d354a;_0x50fcbf++){_0x5a5d8c=arguments[_0x50fcbf];for(var _0x40fb83 in _0x5a5d8c)Object['prototype'][_0x1e96bc(0xe5)][_0x1e96bc(0x1bc)](_0x5a5d8c,_0x40fb83)&&(_0x15a3d4[_0x40fb83]=_0x5a5d8c[_0x40fb83]);}return _0x15a3d4;},_0x5b9bc2['apply'](this,arguments);},_0x1e235a=function(_0x32498b,_0xd39dfa){const _0x4579b6=_0x125ea8;var _0x3aa1f2={};for(var _0xba0c07 in _0x32498b)Object[_0x4579b6(0x26f)][_0x4579b6(0xe5)]['call'](_0x32498b,_0xba0c07)&&_0xd39dfa[_0x4579b6(0x20e)](_0xba0c07)<0x0&&(_0x3aa1f2[_0xba0c07]=_0x32498b[_0xba0c07]);if(_0x32498b!=null&&typeof Object[_0x4579b6(0x288)]=='function'){for(var _0xbc5c71=0x0,_0xba0c07=Object['getOwnPropertySymbols'](_0x32498b);_0xbc5c71<_0xba0c07[_0x4579b6(0xb7)];_0xbc5c71++)_0xd39dfa[_0x4579b6(0x20e)](_0xba0c07[_0xbc5c71])<0x0&&Object[_0x4579b6(0x26f)][_0x4579b6(0x11a)][_0x4579b6(0x1bc)](_0x32498b,_0xba0c07[_0xbc5c71])&&(_0x3aa1f2[_0xba0c07[_0xbc5c71]]=_0x32498b[_0xba0c07[_0xbc5c71]]);}return _0x3aa1f2;},_0x514b25=_0x3fb4d0[_0x125ea8(0xf5)](function(_0x53c8b5,_0x3248f2){const _0x3c27ac=_0x125ea8;var _0x19b5dc=_0x53c8b5[_0x3c27ac(0x1b9)],_0xd2bb97=_0x53c8b5['id'],_0x20ab5f=_0x53c8b5['className'],_0x279b3a=_0x53c8b5[_0x3c27ac(0x8b)],_0x2dd8b2=_0x1e235a(_0x53c8b5,[_0x3c27ac(0x1b9),'id',_0x3c27ac(0x88),_0x3c27ac(0x8b)]),_0x56855c=_0x3c27ac(0xb1)[_0x3c27ac(0x234)](_0xd2bb97,'\x20')[_0x3c27ac(0x234)](_0x20ab5f||'')[_0x3c27ac(0x6d)](),_0x201bd1=_0x3fb4d0['useRef']('_'[_0x3c27ac(0x234)](_0x164c34()));return _0x1ce9e5(_0x19b5dc,''[_0x3c27ac(0x234)](_0xd2bb97),{'defIds':_0x19b5dc[_0x3c27ac(0x197)],'idSuffix':_0x201bd1['current']},_0x5b9bc2({'ref':_0x3248f2,'className':_0x56855c},_0x2dd8b2),_0x279b3a);});function _0x1ce9e5(_0x45dd1d,_0x48a963,_0x5e475e,_0x35062c,_0x4856cd){const _0x1f614e=_0x125ea8;return _0x3fb4d0['createElement'](_0x45dd1d[_0x1f614e(0x97)],_0x5b9bc2(_0x5b9bc2({'key':_0x48a963},_0x248e02(_0x45dd1d,_0x5e475e,_0x4856cd)),_0x35062c),(_0x2d5efa(_0x45dd1d,_0x5e475e)[_0x1f614e(0x18d)]||[])[_0x1f614e(0x16f)](function(_0x33c2a0,_0x4cc232){const _0x4bc465=_0x1f614e;return _0x1ce9e5(_0x33c2a0,''[_0x4bc465(0x234)](_0x48a963,'-')['concat'](_0x45dd1d[_0x4bc465(0x97)],'-')[_0x4bc465(0x234)](_0x4cc232),_0x5e475e,void 0x0,_0x4856cd);}));}function _0x248e02(_0x169c8a,_0x5add02,_0xca788b){const _0x49270f=_0x125ea8;var _0x361bca=_0x5b9bc2({},_0x169c8a[_0x49270f(0xe6)]);_0xca788b!=null&&_0xca788b[_0x49270f(0x118)]&&_0x361bca['fill']===_0x49270f(0x118)&&(_0x361bca['fill']=_0xca788b['colorChannel1']),_0x169c8a[_0x49270f(0x97)]===_0x49270f(0xc4)&&_0x361bca['id']&&(_0x361bca['id']=_0x361bca['id']+_0x5add02[_0x49270f(0x1b4)]),Object['entries'](_0x361bca)[_0x49270f(0x1fa)](function(_0x37a085){const _0x1d1902=_0x49270f;var _0x24a070=_0x37a085[0x0],_0x46cc63=_0x37a085[0x1];_0x24a070===_0x1d1902(0xc4)&&typeof _0x46cc63==_0x1d1902(0x82)&&(_0x361bca[_0x24a070]=_0x46cc63[_0x1d1902(0x1ba)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5add02[_0x1d1902(0x1b4)],')')));});var _0x1ab8bb=_0x5add02['defIds'];return!_0x1ab8bb||_0x1ab8bb[_0x49270f(0xb7)]===0x0||(_0x169c8a[_0x49270f(0x97)]==='use'&&_0x361bca[_0x49270f(0x28e)]&&(_0x361bca[_0x49270f(0x28e)]=_0x361bca[_0x49270f(0x28e)]+_0x5add02[_0x49270f(0x1b4)]),Object['entries'](_0x361bca)[_0x49270f(0x1fa)](function(_0x2eca6b){const _0x48f77c=_0x49270f;var _0x50f5ad=_0x2eca6b[0x0],_0x55c4a7=_0x2eca6b[0x1];typeof _0x55c4a7==_0x48f77c(0x82)&&(_0x361bca[_0x50f5ad]=_0x55c4a7['replace'](/url\(#(.*)\)/,'url(#$1'[_0x48f77c(0x234)](_0x5add02[_0x48f77c(0x1b4)],')')));})),_0x361bca;}function _0x2d5efa(_0x461fb6,_0x57a911){const _0x47c3c7=_0x125ea8;var _0x11b7dc,_0x4984a0=_0x57a911[_0x47c3c7(0x197)];return!_0x4984a0||_0x4984a0['length']===0x0?_0x461fb6:_0x461fb6[_0x47c3c7(0x97)]===_0x47c3c7(0x1e4)&&(!((_0x11b7dc=_0x461fb6[_0x47c3c7(0x18d)])===null||_0x11b7dc===void 0x0)&&_0x11b7dc[_0x47c3c7(0xb7)])?_0x5b9bc2(_0x5b9bc2({},_0x461fb6),{'children':_0x461fb6[_0x47c3c7(0x18d)][_0x47c3c7(0x16f)](function(_0x2e868b){const _0x5cc16c=_0x47c3c7;return typeof _0x2e868b[_0x5cc16c(0xe6)]['id']=='string'&&_0x4984a0&&_0x4984a0[_0x5cc16c(0x20e)](_0x2e868b[_0x5cc16c(0xe6)]['id'])>-0x1?_0x5b9bc2(_0x5b9bc2({},_0x2e868b),{'attrs':_0x5b9bc2(_0x5b9bc2({},_0x2e868b[_0x5cc16c(0xe6)]),{'id':_0x2e868b[_0x5cc16c(0xe6)]['id']+_0x57a911[_0x5cc16c(0x1b4)]})}):_0x2e868b;})}):_0x461fb6;}function _0x164c34(){const _0x4b4c95=_0x125ea8;return Math[_0x4b4c95(0x287)]()['toString'](0x24)[_0x4b4c95(0x23d)](0x2,0x8);}_0x514b25[_0x125ea8(0x219)]='UniverIcon';var _0x190964={'tag':_0x125ea8(0x268),'attrs':{'fill':_0x125ea8(0x2d5),'viewBox':_0x125ea8(0x2a6),'width':'1em','height':_0x125ea8(0x19e)},'children':[{'tag':'g','attrs':{'clipPath':_0x125ea8(0x176)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'stroke':_0x125ea8(0xb8),'d':_0x125ea8(0x27f),'strokeLinecap':_0x125ea8(0x2ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x125ea8(0x137),'attrs':{'id':_0x125ea8(0x2a9)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'fill':'#fff','d':_0x125ea8(0x178)}}]}]}],'defIds':[_0x125ea8(0x2a9)]},_0x15262d=_0x3fb4d0[_0x125ea8(0xf5)](function(_0x238b5b,_0x221fd3){const _0x5e3278=_0x125ea8;return _0x3fb4d0[_0x5e3278(0x1be)](_0x514b25,Object[_0x5e3278(0x1cb)]({},_0x238b5b,{'id':_0x5e3278(0x17c),'ref':_0x221fd3,'icon':_0x190964}));});_0x15262d['displayName']='OffLineSingle';var _0x2d33f2={'tag':_0x125ea8(0x268),'attrs':{'fill':_0x125ea8(0x2d5),'viewBox':_0x125ea8(0x1e2),'width':_0x125ea8(0x19e),'height':_0x125ea8(0x19e)},'children':[{'tag':'g','attrs':{'clipPath':_0x125ea8(0xc1)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'stroke':_0x125ea8(0xb8),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x125ea8(0x2ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x125ea8(0x1e4),'attrs':{},'children':[{'tag':_0x125ea8(0x137),'attrs':{'id':_0x125ea8(0x2ba)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x125ea8(0x178),'transform':_0x125ea8(0x16c)}}]}]}],'defIds':[_0x125ea8(0x2ba)]},_0x4109ad=_0x3fb4d0['forwardRef'](function(_0x3c0941,_0x314abe){const _0x54c3b3=_0x125ea8;return _0x3fb4d0[_0x54c3b3(0x1be)](_0x514b25,Object[_0x54c3b3(0x1cb)]({},_0x3c0941,{'id':_0x54c3b3(0x174),'ref':_0x314abe,'icon':_0x2d33f2}));});_0x4109ad[_0x125ea8(0x219)]=_0x125ea8(0x243);function _0x11a1ba(_0x3e97b7){const _0x34d753=_0x125ea8;switch(_0x3e97b7){case _0x3d05ed[_0x34d753(0x129)]['OFFLINE']:return _0x34d753(0x115);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x236)]:return _0x34d753(0x122);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x2f0)]:return _0x34d753(0x25f);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x14f)]:return _0x34d753(0x2b0);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x29c)]:case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x27a)]:return _0x34d753(0xb6);case _0x3d05ed[_0x34d753(0x129)]['SYNCED']:case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x12a)]:return _0x34d753(0x1dc);}}function _0x22772b(_0xd961d0){const _0x4688e2=_0x125ea8,{status$:_0x4eecbf}=_0xd961d0,_0x56cf85=_0x1b6316[_0x4688e2(0xf1)](_0x4eecbf,_0x3d05ed[_0x4688e2(0x129)]['NOT_COLLAB']),_0x25fba6=_0x1b6316[_0x4688e2(0x143)](_0x4d006c[_0x4688e2(0x83)]),_0x5f17ae=_0x1b6316[_0x4688e2(0x143)](_0x3d05ed[_0x4688e2(0x1d5)]),_0x3f1a41=_0x56cf85!==_0x3d05ed['CollaborationStatus'][_0x4688e2(0x27c)],_0x45ebf8=_0x25fba6['t'](_0x11a1ba(_0x56cf85)),_0x146c0d=_0x3f1a41?_0x4ce13b[_0x4688e2(0x149)](_0x4109ad,{}):_0x4ce13b[_0x4688e2(0x149)](_0x15262d,{}),_0x472d18=_0x3fb4d0[_0x4688e2(0x229)](()=>{_0x3f1a41||_0x5f17ae['reconnect']();},[_0x3f1a41,_0x5f17ae]);function _0x5e7237(){const _0x1ec91a=_0x4688e2;return _0x4ce13b[_0x1ec91a(0x230)](_0x1ec91a(0xce),{'className':'univer-flex\x20univer-items-center','onClick':_0x472d18,'children':[_0x4ce13b[_0x1ec91a(0x149)](_0x1ec91a(0xce),{'className':_0x1f5fc2[_0x1ec91a(0x6a)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x3f1a41?_0x1ec91a(0x2af):_0x1ec91a(0x2df)),'children':_0x146c0d}),_0x4ce13b[_0x1ec91a(0x149)](_0x1ec91a(0xce),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x45ebf8})]});}return _0x3f1a41?_0x5e7237():_0x4ce13b[_0x4688e2(0x149)](_0x1f5fc2[_0x4688e2(0x93)],{'title':_0x25fba6['t'](_0x4688e2(0xa5)),'children':_0x5e7237()});}var _0x24a3a5=Object[_0x125ea8(0x209)],_0x16b6f5=(_0x1ed99a,_0x12d44e,_0x52423a,_0x4fad8f)=>{const _0x207c7e=_0x125ea8;for(var _0x3399a4=_0x4fad8f>0x1?void 0x0:_0x4fad8f?_0x24a3a5(_0x12d44e,_0x52423a):_0x12d44e,_0x46abb1=_0x1ed99a[_0x207c7e(0xb7)]-0x1,_0x5e0747;_0x46abb1>=0x0;_0x46abb1--)(_0x5e0747=_0x1ed99a[_0x46abb1])&&(_0x3399a4=_0x5e0747(_0x3399a4)||_0x3399a4);return _0x3399a4;},_0x5d3fc2=(_0x8fa462,_0x4f14d6)=>(_0x39e0f2,_0x4689a7)=>_0x4f14d6(_0x39e0f2,_0x4689a7,_0x8fa462);_0x1a6cab[_0x125ea8(0x14d)]=class extends _0x4d006c['Disposable']{constructor(_0xa2d155,_0x48d930,_0x2f2c34,_0x474031){const _0x2341e1=_0x125ea8;super(),_0x321a93(this,_0x2341e1(0x2dc),new _0x424996[(_0x2341e1(0x170))](_0x3d05ed['CollaborationStatus']['NOT_COLLAB'])),(this[_0x2341e1(0x1af)]=_0xa2d155,this[_0x2341e1(0x9f)]=_0x48d930,this[_0x2341e1(0x262)]=_0x2f2c34,this[_0x2341e1(0x28b)]=_0x474031,this[_0x2341e1(0x2b5)](),this[_0x2341e1(0x152)]());}[_0x125ea8(0x152)](){const _0x3263d2=_0x125ea8;this[_0x3263d2(0xd9)](this[_0x3263d2(0x1af)][_0x3263d2(0x21d)][_0x3263d2(0x2c2)](_0x424996['switchMap'](()=>{const _0x24821b=_0x3263d2,_0x11e682=this[_0x24821b(0x1af)][_0x24821b(0x297)]();return _0x11e682?this['_collaborationController'][_0x24821b(0x10f)](_0x11e682[_0x24821b(0x1d0)]()):_0x424996['of'](null);}),_0x424996[_0x3263d2(0x263)](_0x21e0d9=>_0x21e0d9?_0x21e0d9[_0x3263d2(0x266)]:_0x424996['of'](_0x3d05ed[_0x3263d2(0x129)][_0x3263d2(0x14f)])))[_0x3263d2(0x2fb)](_0x45f191=>{const _0x4bcad1=_0x3263d2;this[_0x4bcad1(0x2dc)][_0x4bcad1(0xa3)](_0x45f191);}));}[_0x125ea8(0x2b5)](){const _0x361b16=_0x125ea8;this['disposeWithMe'](this[_0x361b16(0x28b)][_0x361b16(0x271)](_0x1b6316[_0x361b16(0x1ee)][_0x361b16(0x15c)],()=>_0x1b6316[_0x361b16(0x23e)](_0x5ef5d2({'status$':this[_0x361b16(0x2dc)][_0x361b16(0x147)]()}),this[_0x361b16(0x9f)])));}},_0x1a6cab[_0x125ea8(0x14d)]=_0x16b6f5([_0x5d3fc2(0x0,_0x4d006c[_0x125ea8(0x2ec)]),_0x5d3fc2(0x1,_0x4d006c['Inject'](_0x4d006c['Injector'])),_0x5d3fc2(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x150)])),_0x5d3fc2(0x3,_0x1b6316[_0x125ea8(0x225)])],_0x1a6cab[_0x125ea8(0x14d)]);function _0x5ef5d2(_0x4e2077){const {status$:_0x4a0c9d}=_0x4e2077;return function(){return _0x4ce13b['jsx'](_0x22772b,{'status$':_0x4a0c9d});};}var _0x37904c=Object[_0x125ea8(0x209)],_0x58cc96=(_0x5ede38,_0x242d29,_0x5789b8,_0x31c9b2)=>{for(var _0x3f247d=_0x31c9b2>0x1?void 0x0:_0x31c9b2?_0x37904c(_0x242d29,_0x5789b8):_0x242d29,_0xfa8de7=_0x5ede38['length']-0x1,_0x7f0c00;_0xfa8de7>=0x0;_0xfa8de7--)(_0x7f0c00=_0x5ede38[_0xfa8de7])&&(_0x3f247d=_0x7f0c00(_0x3f247d)||_0x3f247d);return _0x3f247d;},_0x1c1d7d=(_0x1ac9eb,_0x34b5ea)=>(_0x44bd23,_0x4ea1ee)=>_0x34b5ea(_0x44bd23,_0x4ea1ee,_0x1ac9eb);let _0x412a08=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x574081,_0x115b59,_0xc22381,_0x592594,_0x90da61,_0x8f8645){const _0x443d38=_0x125ea8;super(),this[_0x443d38(0x276)]=_0x574081,this[_0x443d38(0x1df)]=_0x115b59,this[_0x443d38(0x17b)]=_0xc22381,this[_0x443d38(0x226)]=_0x592594,this[_0x443d38(0x27d)]=_0x90da61,this[_0x443d38(0x85)]=_0x8f8645,this[_0x443d38(0x13f)](),this['_initEvent']();}[_0x125ea8(0x13f)](){const _0x415f0a=_0x125ea8;this[_0x415f0a(0xd9)](this[_0x415f0a(0x276)][_0x415f0a(0xfc)](()=>{const _0x15baed=_0x415f0a;if(this[_0x15baed(0x1df)][_0x15baed(0x114)]['size'])return this[_0x15baed(0x85)]['t'](_0x15baed(0x8a));}));}[_0x125ea8(0x16e)](){const _0x78c963=_0x125ea8;this['disposeWithMe'](this[_0x78c963(0x17b)][_0x78c963(0x2bb)][_0x78c963(0x2fb)](_0x78a9fd=>{const _0x45e9be=_0x78c963;_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)]['OTHER_CLIENT_EDITING']&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x189)],'content':this[_0x45e9be(0x85)]['t'](_0x45e9be(0x22f))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x25d)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)]['Warning'],'content':this[_0x45e9be(0x85)]['t']('collaboration.closeRoom')}),_0x78a9fd['id']===_0x3d05ed['CollaborationUIEventId'][_0x45e9be(0x2f7)]&&this[_0x45e9be(0x27d)][_0x45e9be(0x2ab)]({'title':this[_0x45e9be(0x85)]['t']('permission.title'),'content':this[_0x45e9be(0x85)]['t']('permission.content'),'type':_0x45e9be(0x2bd),'duration':0x0}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x236)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this['_localeService']['t'](_0x45e9be(0x164))+'('+_0x78a9fd[_0x45e9be(0x22d)]+')'}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x15a)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2['MessageType']['Warning'],'content':this[_0x45e9be(0x85)]['t'](_0x78a9fd['data']||'')}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x2e8)]&&this['_messageService'][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x189)],'content':this[_0x45e9be(0x85)]['t'](_0x45e9be(0x221))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)]['SOCKET_FAILED']&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this['_localeService']['t'](_0x45e9be(0xa1))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x284)]&&this['_messageService']['show']({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this[_0x45e9be(0x85)]['t']('session.collaboration-timeout')});}));}};_0x412a08=_0x58cc96([_0x1c1d7d(0x0,_0x1b6316['IBeforeCloseService']),_0x1c1d7d(0x1,_0x3d05ed[_0x125ea8(0x2b3)]),_0x1c1d7d(0x2,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x2aa)])),_0x1c1d7d(0x3,_0x1b6316[_0x125ea8(0x251)]),_0x1c1d7d(0x4,_0x1b6316[_0x125ea8(0x153)]),_0x1c1d7d(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['LocaleService']))],_0x412a08);const _0x23abbe=_0x125ea8(0x1ce),_0x2b1b44={},_0xade62c=_0x4d006c[_0x125ea8(0x1ae)](_0x125ea8(0x102));var _0x46649e=Object['getOwnPropertyDescriptor'],_0x562aae=(_0x1b9abe,_0x4a15ba,_0x2d0640,_0x57a925)=>{const _0x3e1752=_0x125ea8;for(var _0x949621=_0x57a925>0x1?void 0x0:_0x57a925?_0x46649e(_0x4a15ba,_0x2d0640):_0x4a15ba,_0x59d855=_0x1b9abe[_0x3e1752(0xb7)]-0x1,_0x34036d;_0x59d855>=0x0;_0x59d855--)(_0x34036d=_0x1b9abe[_0x59d855])&&(_0x949621=_0x34036d(_0x949621)||_0x949621);return _0x949621;},_0x4da828=(_0x5b105f,_0x2a43d0)=>(_0x3a36ca,_0xcc5a2c)=>_0x2a43d0(_0x3a36ca,_0xcc5a2c,_0x5b105f);_0x1a6cab[_0x125ea8(0x15d)]=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x2fdd05,_0x29d4be,_0x4e465a,_0x107564,_0x527568){const _0x4d95b1=_0x125ea8;super(),this[_0x4d95b1(0x26b)]=_0x2fdd05,this['_logService']=_0x29d4be,this['_commandService']=_0x4e465a,this[_0x4d95b1(0xfa)]=_0x107564,_0x527568?_0x527568==null||_0x527568[_0x4d95b1(0x173)]()[_0x4d95b1(0x87)](()=>this[_0x4d95b1(0x2c1)]()):(this[_0x4d95b1(0x17d)][_0x4d95b1(0x136)](_0x4d95b1(0xb9),_0x4d95b1(0xe4)),this['_init']());}async[_0x125ea8(0x2c1)](){const _0x3c88d8=_0x125ea8,_0x1ec450=this[_0x3c88d8(0x26b)][_0x3c88d8(0x27b)](_0x3c88d8(0x12d)),_0x2eb9c8=this[_0x3c88d8(0x26b)][_0x3c88d8(0x27b)](_0x3c88d8(0xd4)),_0x378850=this['_urlService'][_0x3c88d8(0x27b)](_0x3c88d8(0x1c4));if(!_0x1ec450||!_0x2eb9c8){this['_logService'][_0x3c88d8(0x136)](_0x3c88d8(0xb9),_0x3c88d8(0x206));return;}const _0x16a0a7=await this[_0x3c88d8(0xfa)][_0x3c88d8(0x19d)](_0x1ec450,Number(_0x2eb9c8),_0x378850);_0x16a0a7&&_0x16a0a7 instanceof _0x4d006c['Workbook']&&this[_0x3c88d8(0xc2)](_0x16a0a7);}async[_0x125ea8(0xc2)](_0x400a9a){const _0xdd2c50=_0x125ea8;await this[_0xdd2c50(0x17a)](_0x400a9a),_0x400a9a[_0xdd2c50(0x2d3)][_0xdd2c50(0x2c2)](_0x424996[_0xdd2c50(0x2b2)](this[_0xdd2c50(0x281)]))[_0xdd2c50(0x2fb)](_0x252fd4=>{_0x252fd4&&this['_updateURLWithCurrentState'](_0x252fd4);}),this['_urlService'][_0xdd2c50(0x1e1)][_0xdd2c50(0x2c2)](_0x424996[_0xdd2c50(0x2b2)](this[_0xdd2c50(0x281)]))['subscribe'](()=>this[_0xdd2c50(0x17a)](_0x400a9a));}[_0x125ea8(0xf4)](_0x19f230,_0x293189=!0x1){const _0x5aaed1=_0x125ea8,_0x128913=this['_urlService'][_0x5aaed1(0x27b)](_0x5aaed1(0x1c4));_0x19f230[_0x5aaed1(0xff)]()!==_0x128913&&this[_0x5aaed1(0x26b)][_0x5aaed1(0x1a8)](_0x5aaed1(0x1c4),_0x19f230['getSheetId'](),_0x293189);}async[_0x125ea8(0x17a)](_0x209640){const _0x12563b=_0x125ea8;var _0x22a849;const _0x2c33ab=this[_0x12563b(0x26b)][_0x12563b(0x27b)]('subunit');if(!_0x2c33ab||!_0x209640[_0x12563b(0x17f)](_0x2c33ab)){const _0x55fd7a=_0x209640[_0x12563b(0x10b)]()[0x0],_0x2f6f5e=_0x209640[_0x12563b(0x17f)](_0x55fd7a);if(!_0x2f6f5e)return;this[_0x12563b(0xf4)](_0x2f6f5e,!0x0),await this[_0x12563b(0xe8)][_0x12563b(0x21b)](_0x231e9c[_0x12563b(0xc0)]['id'],{'unitId':_0x209640[_0x12563b(0x1d0)](),'subUnitId':_0x55fd7a});return;}((_0x22a849=_0x209640['getActiveSheet']())==null?void 0x0:_0x22a849[_0x12563b(0xff)]())!==_0x2c33ab&&await this[_0x12563b(0xe8)][_0x12563b(0x21b)](_0x231e9c['SetWorksheetActivateCommand']['id'],{'unitId':_0x209640[_0x12563b(0x1d0)](),'subUnitId':_0x2c33ab});}},_0x1a6cab[_0x125ea8(0x15d)]=_0x562aae([_0x4da828(0x0,_0xade62c),_0x4da828(0x1,_0x4d006c['ILogService']),_0x4da828(0x2,_0x4d006c['ICommandService']),_0x4da828(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x1da)])),_0x4da828(0x4,_0x4d006c['Optional'](_0x5adf1e['IRemoteInstanceService']))],_0x1a6cab['CollaborationDataLoaderController']);var _0x2ec213=Object['getOwnPropertyDescriptor'],_0x7f7a1f=(_0x5326f0,_0x3a0494,_0x1ebebe,_0x4788d0)=>{for(var _0x43c873=_0x4788d0>0x1?void 0x0:_0x4788d0?_0x2ec213(_0x3a0494,_0x1ebebe):_0x3a0494,_0x230d42=_0x5326f0['length']-0x1,_0x22ccaa;_0x230d42>=0x0;_0x230d42--)(_0x22ccaa=_0x5326f0[_0x230d42])&&(_0x43c873=_0x22ccaa(_0x43c873)||_0x43c873);return _0x43c873;},_0x5d946a=(_0x1291bf,_0x3c501a)=>(_0x2e7f65,_0x53d576)=>_0x3c501a(_0x2e7f65,_0x53d576,_0x1291bf);let _0x27c614=class{constructor(_0x3c4918,_0x597b9c,_0x4299b0){const _0x21e182=_0x125ea8;this[_0x21e182(0x9f)]=_0x3c4918,this[_0x21e182(0xdb)]=_0x597b9c,this[_0x21e182(0x2a7)]=_0x4299b0;}['transformIMECache'](_0x972471){const _0x1415c8=_0x125ea8;this[_0x1415c8(0x1d8)](_0x972471),this[_0x1415c8(0x15f)](_0x972471);}[_0x125ea8(0x185)](_0x1afa18){const _0x192e94=_0x125ea8,{unitID:_0x3e5c9c}=_0x1afa18,_0x52474c=this[_0x192e94(0x2a7)][_0x192e94(0x203)](_0x3e5c9c)[_0x192e94(0x28a)](_0x5051a5['DocIMEInputManagerService']),{redoCache:_0x3c07ba}=_0x52474c[_0x192e94(0x1e9)]();if(_0x3c07ba[_0x192e94(0xb7)]===0x0)return _0x1afa18;let _0x13d0e7=_0x4d006c[_0x192e94(0x1b5)]['deepClone'](_0x1afa18['mutations'][0x0]);for(let _0x12a110=0x0;_0x12a110<_0x3c07ba[_0x192e94(0xb7)];_0x12a110++){const _0x2e9693={'id':_0x192e94(0x12e),'params':{..._0x3c07ba[_0x12a110]}},_0x240999=this['_transformService'][_0x192e94(0x1d1)](_0x13d0e7,_0x2e9693,!0x1);if(_0x12f559[_0x192e94(0xcb)](_0x240999))throw _0x240999['error'];_0x13d0e7=_0x240999[_0x192e94(0x77)];}return{..._0x4d006c[_0x192e94(0x1b5)][_0x192e94(0xc3)](_0x1afa18),'mutations':[_0x13d0e7]};}['_transformUndoRedoStack'](_0x12694c){const _0x4610bc=_0x125ea8,{unitID:_0x5abdab}=_0x12694c,_0x12bafc=this[_0x4610bc(0x2a7)][_0x4610bc(0x203)](_0x5abdab)[_0x4610bc(0x28a)](_0x5051a5[_0x4610bc(0x180)]),{undoCache:_0x17ed83,redoCache:_0x52ea5f}=_0x12bafc[_0x4610bc(0x1e9)]();if(_0x17ed83[_0x4610bc(0xb7)]===0x0||_0x52ea5f[_0x4610bc(0xb7)]===0x0)return;const _0x43375b=[],_0x653381=[];let _0x160021=_0x4d006c['Tools'][_0x4610bc(0xc3)](_0x12694c['mutations'][0x0]),_0x319045=_0x4d006c[_0x4610bc(0x1b5)][_0x4610bc(0xc3)](_0x12694c[_0x4610bc(0x6c)][0x0]);for(let _0x174e28=_0x17ed83['length']-0x1;_0x174e28>=0x0;_0x174e28--){const _0x317627={'id':_0x4610bc(0x12e),'params':{..._0x17ed83[_0x174e28]}},_0x39d1bc={'id':_0x4610bc(0x12e),'params':{..._0x52ea5f[_0x174e28]}},_0x5a99de=this[_0x4610bc(0xdb)][_0x4610bc(0x1d1)](_0x160021,_0x317627,!0x1),_0x8822ac=this['_transformService'][_0x4610bc(0x1d1)](_0x319045,_0x39d1bc,!0x1);if(_0x12f559[_0x4610bc(0xcb)](_0x5a99de))throw _0x5a99de['error'];if(_0x12f559[_0x4610bc(0xcb)](_0x8822ac))throw _0x8822ac[_0x4610bc(0x2bd)];_0x43375b[_0x4610bc(0x2ef)](_0x5a99de['m2Prime'][_0x4610bc(0x2fd)]),_0x653381[_0x4610bc(0x2ef)](_0x8822ac[_0x4610bc(0x250)][_0x4610bc(0x2fd)]),_0x160021=_0x5a99de['m1Prime'],_0x319045=_0x8822ac[_0x4610bc(0x77)];}_0x12bafc['setUndoRedoMutationParamsCache']({'undoCache':_0x43375b,'redoCache':_0x653381});}[_0x125ea8(0x15f)](_0x59d9d6){const _0x58580b=_0x125ea8,{unitID:_0x58da44}=_0x59d9d6,_0x2135bf=this[_0x58580b(0x2a7)][_0x58580b(0x203)](_0x58da44)[_0x58580b(0x28a)](_0x5051a5[_0x58580b(0x180)]),_0x2cb760=_0x2135bf[_0x58580b(0x1c9)]();if(_0x2cb760==null)return;const _0x48d529=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59d9d6['unitID'],'actions':null,'textRanges':[_0x2cb760]}}],_0x59b818=this['_transformService'][_0x58580b(0x238)](_0x59d9d6,_0x48d529);if(!_0x12f559[_0x58580b(0x167)](_0x59b818))throw _0x59b818[_0x58580b(0x2bd)];const _0x1be267=_0x59b818['m2Prime'][0x0][_0x58580b(0x2fd)][_0x58580b(0xa2)];Array[_0x58580b(0x177)](_0x1be267)&&_0x1be267[_0x58580b(0xb7)]&&_0x2135bf[_0x58580b(0x2c7)](_0x1be267[0x0]);}};_0x27c614=_0x7f7a1f([_0x5d946a(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['Injector'])),_0x5d946a(0x1,_0x12f559['ITransformService']),_0x5d946a(0x2,_0x3ce196['IRenderManagerService'])],_0x27c614);var _0x43e871=Object[_0x125ea8(0x209)],_0x208020=(_0x2781ae,_0x5ba4eb,_0x474902,_0x2df645)=>{const _0x6a77f6=_0x125ea8;for(var _0x75d50c=_0x2df645>0x1?void 0x0:_0x2df645?_0x43e871(_0x5ba4eb,_0x474902):_0x5ba4eb,_0x24f1d6=_0x2781ae[_0x6a77f6(0xb7)]-0x1,_0x47b5c8;_0x24f1d6>=0x0;_0x24f1d6--)(_0x47b5c8=_0x2781ae[_0x24f1d6])&&(_0x75d50c=_0x47b5c8(_0x75d50c)||_0x75d50c);return _0x75d50c;},_0x4f294f=(_0x2e424d,_0x3e37f5)=>(_0x4ebc48,_0x1f9e62)=>_0x3e37f5(_0x4ebc48,_0x1f9e62,_0x2e424d);let _0x55d5ce=class{constructor(_0x291fe9,_0x20407a,_0x4c0a26){const _0x4e6c63=_0x125ea8;this[_0x4e6c63(0x9f)]=_0x291fe9,this['_transformService']=_0x20407a,this[_0x4e6c63(0x163)]=_0x4c0a26;}[_0x125ea8(0x272)](_0x30e236){const _0xfff505=_0x125ea8;this[_0xfff505(0x192)](_0x30e236);}[_0x125ea8(0x185)](_0x1f8246){const _0xf92c4c=_0x125ea8,{unitID:_0x2b30cd}=_0x1f8246,{collaboration:_0x1fad7e}=this[_0xf92c4c(0x163)][_0xf92c4c(0xdf)](_0x2b30cd);if(_0x1fad7e[_0xf92c4c(0xb7)]===0x0)return _0x1f8246;let _0x148ec4=_0x4d006c[_0xf92c4c(0x1b5)][_0xf92c4c(0xc3)](_0x1f8246[_0xf92c4c(0x6c)][0x0]);for(let _0x5b33b7=0x0;_0x5b33b7<_0x1fad7e[_0xf92c4c(0xb7)];_0x5b33b7++){const _0x4c0b86={'id':_0xf92c4c(0x12e),'params':{'unitId':_0x1fad7e[_0x5b33b7][_0xf92c4c(0x224)],..._0x1fad7e[_0x5b33b7][_0xf92c4c(0x11f)]}},_0x780107=this[_0xf92c4c(0xdb)][_0xf92c4c(0x1d1)](_0x148ec4,_0x4c0b86,!0x1);if(_0x12f559['isTransformMutationFailure'](_0x780107))throw _0x780107[_0xf92c4c(0x2bd)];_0x148ec4=_0x780107['m1Prime'];}return{..._0x4d006c['Tools'][_0xf92c4c(0xc3)](_0x1f8246),'mutations':[_0x148ec4]};}[_0x125ea8(0x192)](_0x3e4357){const _0x1885ae=_0x125ea8,{unitID:_0x587503}=_0x3e4357,{history:_0x50d9e0,collaboration:_0x1d316b}=this['_docStateChangeManagerService']['getStateCache'](_0x587503);if(_0x50d9e0[_0x1885ae(0xb7)]===0x0&&_0x1d316b[_0x1885ae(0xb7)]===0x0)return;const _0x284b21=[],_0x47b940=[];let _0x10c309=_0x4d006c['Tools']['deepClone'](_0x3e4357[_0x1885ae(0x6c)][0x0]),_0x3034f6=_0x4d006c['Tools']['deepClone'](_0x3e4357[_0x1885ae(0x6c)][0x0]);for(let _0x6fc3f4=_0x50d9e0[_0x1885ae(0xb7)]-0x1;_0x6fc3f4>=0x0;_0x6fc3f4--){const _0x18c441={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50d9e0[_0x6fc3f4][_0x1885ae(0x224)],..._0x50d9e0[_0x6fc3f4][_0x1885ae(0x2d8)]}},_0x90bff5={'id':_0x1885ae(0x12e),'params':{'unitId':_0x50d9e0[_0x6fc3f4][_0x1885ae(0x224)],..._0x50d9e0[_0x6fc3f4][_0x1885ae(0x11f)]}},_0x4a72b0=this[_0x1885ae(0xdb)][_0x1885ae(0x1d1)](_0x10c309,_0x18c441,!0x1),_0x5f3018=this[_0x1885ae(0xdb)]['transformMutation'](_0x3034f6,_0x90bff5,!0x1);if(_0x12f559[_0x1885ae(0xcb)](_0x4a72b0))throw _0x4a72b0[_0x1885ae(0x2bd)];if(_0x12f559[_0x1885ae(0xcb)](_0x5f3018))throw _0x5f3018['error'];_0x284b21[_0x1885ae(0x2ef)]({..._0x50d9e0[_0x6fc3f4],'undoState':_0x4a72b0[_0x1885ae(0x250)]['params'],'redoState':_0x5f3018['m2Prime'][_0x1885ae(0x2fd)]}),_0x10c309=_0x4a72b0['m1Prime'],_0x3034f6=_0x5f3018[_0x1885ae(0x77)];}_0x10c309=_0x4d006c[_0x1885ae(0x1b5)][_0x1885ae(0xc3)](_0x3e4357[_0x1885ae(0x6c)][0x0]),_0x3034f6=_0x4d006c[_0x1885ae(0x1b5)][_0x1885ae(0xc3)](_0x3e4357[_0x1885ae(0x6c)][0x0]);for(let _0x113254=_0x1d316b[_0x1885ae(0xb7)]-0x1;_0x113254>=0x0;_0x113254--){const _0x29cbfa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d316b[_0x113254][_0x1885ae(0x224)],..._0x1d316b[_0x113254][_0x1885ae(0x2d8)]}},_0x2db619={'id':_0x1885ae(0x12e),'params':{'unitId':_0x1d316b[_0x113254][_0x1885ae(0x224)],..._0x1d316b[_0x113254][_0x1885ae(0x11f)]}},_0x4f194e=this[_0x1885ae(0xdb)][_0x1885ae(0x1d1)](_0x10c309,_0x29cbfa,!0x1),_0x39f461=this[_0x1885ae(0xdb)]['transformMutation'](_0x3034f6,_0x2db619,!0x1);if(_0x12f559[_0x1885ae(0xcb)](_0x4f194e))throw _0x4f194e[_0x1885ae(0x2bd)];if(_0x12f559[_0x1885ae(0xcb)](_0x39f461))throw _0x39f461[_0x1885ae(0x2bd)];_0x47b940[_0x1885ae(0x2ef)]({..._0x1d316b[_0x113254],'undoState':_0x4f194e[_0x1885ae(0x250)][_0x1885ae(0x2fd)],'redoState':_0x39f461[_0x1885ae(0x250)][_0x1885ae(0x2fd)]}),_0x10c309=_0x4f194e[_0x1885ae(0x77)],_0x3034f6=_0x39f461[_0x1885ae(0x77)];}this[_0x1885ae(0x163)][_0x1885ae(0x2da)](_0x587503,{'history':_0x284b21,'collaboration':_0x47b940});}};_0x55d5ce=_0x208020([_0x4f294f(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x4f294f(0x1,_0x12f559['ITransformService']),_0x4f294f(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x5051a5[_0x125ea8(0x2a1)]))],_0x55d5ce);var _0x55f156=Object[_0x125ea8(0x209)],_0x1cbab1=(_0x1afcae,_0x4b39c5,_0x190f60,_0x9e1079)=>{const _0x3f3105=_0x125ea8;for(var _0x261a4a=_0x9e1079>0x1?void 0x0:_0x9e1079?_0x55f156(_0x4b39c5,_0x190f60):_0x4b39c5,_0x54a317=_0x1afcae[_0x3f3105(0xb7)]-0x1,_0xbc1940;_0x54a317>=0x0;_0x54a317--)(_0xbc1940=_0x1afcae[_0x54a317])&&(_0x261a4a=_0xbc1940(_0x261a4a)||_0x261a4a);return _0x261a4a;},_0x3c3f19=(_0x101865,_0x17f825)=>(_0x2959aa,_0x454611)=>_0x17f825(_0x2959aa,_0x454611,_0x101865);let _0x685fad=class{constructor(_0x3c16a5,_0x4d406b){this['_injector']=_0x3c16a5,this['_transformService']=_0x4d406b;}['transformSelections'](_0x4feaab){const _0x10c62b=_0x125ea8;var _0x3b4308;const _0xa7b4ac=this[_0x10c62b(0x9f)][_0x10c62b(0x205)](_0x2b2a28[_0x10c62b(0xb5)]),_0x48e447=(_0x3b4308=_0xa7b4ac[_0x10c62b(0x135)]())!=null?_0x3b4308:[];if(_0x48e447[_0x10c62b(0xb7)]===0x0)return;const _0x4c38f9=_0x4feaab['unitID'],_0x22fee4=[{'id':_0x10c62b(0x12e),'params':{'unitId':_0x4c38f9,'actions':null,'textRanges':_0x48e447}}],_0x4730ed=this['_transformService'][_0x10c62b(0x238)](_0x4feaab,_0x22fee4);if(!_0x12f559[_0x10c62b(0x167)](_0x4730ed))throw _0x4730ed[_0x10c62b(0x2bd)];const _0x1ebcc3=_0x4730ed[_0x10c62b(0x250)][0x0][_0x10c62b(0x2fd)][_0x10c62b(0xa2)];Array[_0x10c62b(0x177)](_0x1ebcc3)&&_0x1ebcc3['length']&&_0xa7b4ac[_0x10c62b(0x1c5)](_0x1ebcc3,{'unitId':_0x4c38f9,'subUnitId':_0x4c38f9},!0x1);}};_0x685fad=_0x1cbab1([_0x3c3f19(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x3c3f19(0x1,_0x12f559[_0x125ea8(0x2c3)])],_0x685fad);var _0x5302c6=Object['getOwnPropertyDescriptor'],_0x27721b=(_0x1a3187,_0x1d428c,_0x1b4060,_0x498f38)=>{const _0x124c20=_0x125ea8;for(var _0x51f53f=_0x498f38>0x1?void 0x0:_0x498f38?_0x5302c6(_0x1d428c,_0x1b4060):_0x1d428c,_0x371a5e=_0x1a3187[_0x124c20(0xb7)]-0x1,_0x544be5;_0x371a5e>=0x0;_0x371a5e--)(_0x544be5=_0x1a3187[_0x371a5e])&&(_0x51f53f=_0x544be5(_0x51f53f)||_0x51f53f);return _0x51f53f;},_0x96d203=(_0x3512f1,_0x32ff47)=>(_0x455d04,_0x2fa671)=>_0x32ff47(_0x455d04,_0x2fa671,_0x3512f1);let _0x1cabee=class extends _0x4d006c['Disposable']{constructor(_0x9526e7,_0x2d4e62,_0x2901c6,_0x274fb7,_0x2a4ba4,_0x4f7826,_0x2d7592,_0x75abee){const _0x52c6c2=_0x125ea8;super(),_0x321a93(this,'_status$',new _0x424996[(_0x52c6c2(0x170))](_0x3d05ed['CollaborationStatus'][_0x52c6c2(0x14f)])),(this[_0x52c6c2(0x163)]=_0x9526e7,this[_0x52c6c2(0x262)]=_0x2d4e62,this['_docTransformIMECacheService']=_0x2901c6,this[_0x52c6c2(0xd5)]=_0x274fb7,this['_docTransformSelectionsService']=_0x2a4ba4,this[_0x52c6c2(0x142)]=_0x4f7826,this[_0x52c6c2(0x226)]=_0x2d7592,this['_localeService']=_0x75abee,this[_0x52c6c2(0xac)]());}[_0x125ea8(0xac)](){const _0x3e521b=_0x125ea8;this[_0x3e521b(0xd9)](this[_0x3e521b(0x262)][_0x3e521b(0x222)][_0x3e521b(0x2fb)](_0x287bb3=>{const _0x28028a=_0x3e521b,_0x1f5b99=this[_0x28028a(0x163)][_0x28028a(0xcc)][_0x28028a(0x2fb)](_0x4a877d=>{const _0x30567c=_0x28028a;if(_0x4a877d==null)return;const {unitId:_0x4753ef,redoState:_0x4dffa0,commandId:_0x5ab66a}=_0x4a877d;if(_0x4753ef!==_0x287bb3['unitID'])return;const _0x456434={'id':_0x5ab66a,'type':_0x4d006c[_0x30567c(0x1dd)]['MUTATION'],'params':{'unitId':_0x4753ef,'actions':_0x4dffa0[_0x30567c(0x270)],'textRanges':null}};_0x287bb3[_0x30567c(0x202)](_0x456434);});if(_0x287bb3[_0x28028a(0xd9)](_0x1f5b99),_0x287bb3 instanceof _0x3d05ed[_0x28028a(0xbe)]){const _0x8237be={'onTransformIME':_0x5b7b73=>this[_0x28028a(0x2c0)][_0x28028a(0x14b)](_0x5b7b73),'onTransformState':_0x349833=>this[_0x28028a(0xd5)][_0x28028a(0x272)](_0x349833),'onTransformSelections':_0x3ebc96=>this[_0x28028a(0x188)][_0x28028a(0x201)](_0x3ebc96),'onSyncEditingCollabCursor':_0x59e7c3=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x59e7c3),'onTransformRemoteChangesetByIMECache':_0x12f45c=>this[_0x28028a(0x2c0)][_0x28028a(0x185)](_0x12f45c),'onTransformRemoteChangesetByStateCache':_0x1ef2b4=>this[_0x28028a(0xd5)][_0x28028a(0x185)](_0x1ef2b4)};_0x287bb3['addHandlerCallback'](_0x8237be);}}));}};_0x1cabee=_0x27721b([_0x96d203(0x0,_0x4d006c['Inject'](_0x5051a5[_0x125ea8(0x2a1)])),_0x96d203(0x1,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x150)])),_0x96d203(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x27c614)),_0x96d203(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x55d5ce)),_0x96d203(0x4,_0x4d006c[_0x125ea8(0xa0)](_0x685fad)),_0x96d203(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x167556)),_0x96d203(0x6,_0x1b6316[_0x125ea8(0x251)]),_0x96d203(0x7,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x83)]))],_0x1cabee);var _0x169802=Object[_0x125ea8(0x209)],_0xaa1c6a=(_0x544209,_0x2d402e,_0x668883,_0x53a6e4)=>{const _0x40c9c8=_0x125ea8;for(var _0x19801d=_0x53a6e4>0x1?void 0x0:_0x53a6e4?_0x169802(_0x2d402e,_0x668883):_0x2d402e,_0x1d7044=_0x544209[_0x40c9c8(0xb7)]-0x1,_0x4817ee;_0x1d7044>=0x0;_0x1d7044--)(_0x4817ee=_0x544209[_0x1d7044])&&(_0x19801d=_0x4817ee(_0x19801d)||_0x19801d);return _0x19801d;},_0x126761=(_0x3aa2c8,_0x1526dc)=>(_0x29b9f8,_0x37bc13)=>_0x1526dc(_0x29b9f8,_0x37bc13,_0x3aa2c8);let _0x42251d=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x4df13a,_0x1e9a30,_0x2fa30c){const _0x5ace5a=_0x125ea8;super(),_0x321a93(this,_0x5ace5a(0x2b1),new Map()),_0x321a93(this,_0x5ace5a(0xea),new Map()),_0x321a93(this,'_disabled',!0x1),(this[_0x5ace5a(0x2c9)]=_0x4df13a,this[_0x5ace5a(0x1b2)]=_0x1e9a30,this[_0x5ace5a(0x2d6)]=_0x2fa30c);}['disableLocalCache'](){const _0x3b1db8=_0x125ea8;this[_0x3b1db8(0x2b7)]=!0x0;}['enableLocalCache'](){const _0x3ec7c7=_0x125ea8;this[_0x3ec7c7(0x2b7)]=!0x1;}get[_0x125ea8(0x114)](){const _0x539c6b=_0x125ea8;return this[_0x539c6b(0xea)];}[_0x125ea8(0x23f)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x125ea8(0x191)](_0x4697a4){const _0x5e4524=_0x125ea8;return this[_0x5e4524(0x2b7)]?null:this[_0x5e4524(0x1b2)]['getItem'](_0x3d05ed[_0x5e4524(0x2c8)](_0x4697a4));}async[_0x125ea8(0x227)](_0x1289e5,_0x55f526){return!!this['_localStorageService']['setItem'](_0x1289e5,_0x55f526);}['updateOfflineData'](_0x4092df,_0x4a7472,_0x950ed8,_0x9b9c9b){const _0x230e9e=_0x125ea8,_0x3de0c8=this[_0x230e9e(0x2d6)][_0x230e9e(0x181)](_0x4092df);this[_0x230e9e(0x2b1)][_0x230e9e(0x21a)](_0x4092df,{'unitID':_0x4092df,'type':_0x4a7472,'awaitingChangeset':_0x950ed8,'mutations':_0x9b9c9b,'rev':_0x3de0c8}),this[_0x230e9e(0xea)][_0x230e9e(0x2e7)](_0x4092df)||this[_0x230e9e(0x235)](_0x4092df);}[_0x125ea8(0x235)](_0x44785c){const _0x41f000=_0x125ea8,_0x402c5a=this[_0x41f000(0x239)]();_0x402c5a===0x0?this[_0x41f000(0x154)](_0x44785c):this[_0x41f000(0xea)][_0x41f000(0x21a)](_0x44785c,setTimeout(()=>this['_saveCache'](_0x44785c),_0x402c5a));}['_getSaveTimeout'](){const _0x59da0a=_0x125ea8;var _0x243545;return(_0x243545=this[_0x59da0a(0x2c9)][_0x59da0a(0x9c)](_0x3d05ed['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x243545:_0x3d05ed[_0x59da0a(0x256)];}['_saveCache'](_0x2b144e){const _0x582d19=_0x125ea8,_0x59f0d3=this[_0x582d19(0xea)]['get'](_0x2b144e);return _0x59f0d3!==void 0x0&&window[_0x582d19(0xda)](_0x59f0d3),this[_0x582d19(0x1b2)][_0x582d19(0xaf)](_0x3d05ed[_0x582d19(0x2c8)](_0x2b144e),this['_cachedData'][_0x582d19(0x205)](_0x2b144e))[_0x582d19(0x87)](()=>this[_0x582d19(0xea)][_0x582d19(0x22b)](_0x2b144e));}async[_0x125ea8(0x9b)](){const _0x58772e=_0x125ea8,_0x23efd4=[];this[_0x58772e(0xea)][_0x58772e(0x1fa)]((_0xc4eea2,_0x41bea7)=>{const _0x1fc258=_0x58772e;window[_0x1fc258(0xda)](_0xc4eea2),_0x23efd4[_0x1fc258(0x2e4)](this[_0x1fc258(0x154)](_0x41bea7)[_0x1fc258(0x87)](()=>{const _0x1b2edc=_0x1fc258;this[_0x1b2edc(0xea)][_0x1b2edc(0x22b)](_0x41bea7);}));}),await Promise[_0x58772e(0x2ce)](_0x23efd4);}};_0x42251d=_0xaa1c6a([_0x126761(0x0,_0x4d006c[_0x125ea8(0x24d)]),_0x126761(0x1,_0x4d006c['ILocalStorageService']),_0x126761(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x12f559['RevisionService']))],_0x42251d);class _0x2d18ad extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(){const _0x16dc6e=_0x125ea8;super(),_0x321a93(this,_0x16dc6e(0x1e1)),this['urlChange$']=_0x424996['fromEvent'](window,_0x16dc6e(0x269))['pipe'](_0x424996[_0x16dc6e(0x2b2)](this[_0x16dc6e(0x281)]),_0x424996[_0x16dc6e(0x12c)](0x1),_0x424996[_0x16dc6e(0x2e2)](void 0x0));}[_0x125ea8(0x1a8)](_0x2e3105,_0x1cb3e9,_0x5f409f=!0x1){const _0x6629ef=_0x125ea8,_0x37446d=new URL(window['location']['href']);_0x37446d[_0x6629ef(0x14e)][_0x6629ef(0x21a)](_0x2e3105,_0x1cb3e9),_0x5f409f?window[_0x6629ef(0x255)][_0x6629ef(0x1f2)]('','',_0x37446d[_0x6629ef(0x72)]()):window['history'][_0x6629ef(0x29d)]('','',_0x37446d[_0x6629ef(0x72)]());}[_0x125ea8(0x103)](_0x3b72ae,_0x4f6aab=!0x1){const _0x42ffce=_0x125ea8,_0x12f00d=new URL(window['location'][_0x42ffce(0x1b8)]);_0x12f00d[_0x42ffce(0x14e)][_0x42ffce(0x22b)](_0x3b72ae),_0x4f6aab?window[_0x42ffce(0x255)][_0x42ffce(0x1f2)]('','',_0x12f00d[_0x42ffce(0x72)]()):window['history'][_0x42ffce(0x29d)]('','',_0x12f00d[_0x42ffce(0x72)]());}[_0x125ea8(0x27b)](_0x2973e2){const _0x4bd256=_0x125ea8;var _0x4675b9;return(_0x4675b9=new URL(window[_0x4bd256(0x130)]['href'])['searchParams'][_0x4bd256(0x205)](_0x2973e2))!=null?_0x4675b9:void 0x0;}}var _0x53224c=Object[_0x125ea8(0x2f8)],_0x370b99=Object[_0x125ea8(0x209)],_0x27b1a7=(_0x1193fd,_0x2a8dd1,_0x33c66c)=>_0x2a8dd1 in _0x1193fd?_0x53224c(_0x1193fd,_0x2a8dd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33c66c}):_0x1193fd[_0x2a8dd1]=_0x33c66c,_0x25789f=(_0x445aa1,_0x1b6b91,_0x8dcb12,_0x1412f5)=>{const _0x2096f7=_0x125ea8;for(var _0x5c92b6=_0x1412f5>0x1?void 0x0:_0x1412f5?_0x370b99(_0x1b6b91,_0x8dcb12):_0x1b6b91,_0x26d8f0=_0x445aa1[_0x2096f7(0xb7)]-0x1,_0x3d74e4;_0x26d8f0>=0x0;_0x26d8f0--)(_0x3d74e4=_0x445aa1[_0x26d8f0])&&(_0x5c92b6=_0x3d74e4(_0x5c92b6)||_0x5c92b6);return _0x5c92b6;},_0x300d57=(_0x303e10,_0xc14701)=>(_0x5ba0ad,_0x3f8eaf)=>_0xc14701(_0x5ba0ad,_0x3f8eaf,_0x303e10),_0x1d53a3=(_0x2789d5,_0x3745da,_0x5473cc)=>_0x27b1a7(_0x2789d5,_0x3745da+'',_0x5473cc);const _0x12890b='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1a6cab['UniverCollaborationClientUIPlugin']=class extends _0x4d006c[_0x125ea8(0x104)]{constructor(_0x22e71e=_0x2b1b44,_0x243192,_0x1f7aa1,_0x5233c8){const _0x21659e=_0x125ea8;super(),this['_config']=_0x22e71e,this[_0x21659e(0x2a7)]=_0x243192,this[_0x21659e(0x9f)]=_0x1f7aa1,this[_0x21659e(0x2c9)]=_0x5233c8;const {..._0x15b9d2}=_0x4d006c['merge']({},_0x2b1b44,this[_0x21659e(0x264)]);this[_0x21659e(0x2c9)][_0x21659e(0x1fc)](_0x23abbe,_0x15b9d2);}['onStarting'](){const _0x333f95=_0x125ea8;this[_0x333f95(0x133)](),this[_0x333f95(0x1ec)]();}[_0x125ea8(0x9a)](){const _0x352c96=_0x125ea8;this[_0x352c96(0x2f4)]();}['_registerDependencies'](){const _0x4cf5bc=_0x125ea8;var _0x10dc73;const _0x23fc68=[[_0x1bdb8f],[_0x685fad],[_0x27c614],[_0x55d5ce],[_0x167556],[_0xade62c,{'useClass':_0x2d18ad}],[_0x651cbe[_0x4cf5bc(0x296)],{'useClass':_0x651cbe['WebSocketService']}],[_0x3d05ed['ILocalCacheService'],{'useClass':_0x42251d}],[_0x1a6cab[_0x4cf5bc(0x14d)]],[_0x1cabee],[_0x412a08],[_0x55a692],[_0x22fe1a],[_0x1a6cab[_0x4cf5bc(0x15d)]]];_0x4d006c[_0x4cf5bc(0x24a)](this[_0x4cf5bc(0x9f)],_0x4d006c[_0x4cf5bc(0xa4)](_0x23fc68,(_0x10dc73=this[_0x4cf5bc(0x264)])==null?void 0x0:_0x10dc73['override']));}[_0x125ea8(0x2f4)](){const _0x342719=_0x125ea8;this[_0x342719(0xd9)](this[_0x342719(0x2a7)][_0x342719(0x27e)](_0x4d006c[_0x342719(0xd3)]['UNIVER_DOC'],[_0x49880d])),this[_0x342719(0xd9)](this[_0x342719(0x2a7)]['registerRenderModule'](_0x4d006c['UniverInstanceType']['UNIVER_SHEET'],[_0x46ea4f]));}[_0x125ea8(0x1ec)](){const _0x957cb6=_0x125ea8;_0x4d006c[_0x957cb6(0x246)](this[_0x957cb6(0x9f)],[[_0x55a692],[_0x1a6cab[_0x957cb6(0x14d)]],[_0x1cabee],[_0x412a08],[_0x1a6cab[_0x957cb6(0x15d)]]]);}},_0x1d53a3(_0x1a6cab[_0x125ea8(0x119)],_0x125ea8(0x161),_0x12890b),_0x1a6cab[_0x125ea8(0x119)]=_0x25789f([_0x4d006c[_0x125ea8(0x11c)](_0x3d05ed['UniverCollaborationClientPlugin']),_0x300d57(0x1,_0x3ce196[_0x125ea8(0x187)]),_0x300d57(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x300d57(0x3,_0x4d006c[_0x125ea8(0x24d)])],_0x1a6cab['UniverCollaborationClientUIPlugin']);var _0x1f26e2=Object[_0x125ea8(0x209)],_0x23a6b0=(_0x5ae13d,_0x1663cf,_0x4d51c9,_0xa1e124)=>{for(var _0x5820f0=_0xa1e124>0x1?void 0x0:_0xa1e124?_0x1f26e2(_0x1663cf,_0x4d51c9):_0x1663cf,_0x119868=_0x5ae13d['length']-0x1,_0x32d2f4;_0x119868>=0x0;_0x119868--)(_0x32d2f4=_0x5ae13d[_0x119868])&&(_0x5820f0=_0x32d2f4(_0x5820f0)||_0x5820f0);return _0x5820f0;},_0x512a71=(_0x52c22e,_0x292525)=>(_0x8fd54,_0x266fe7)=>_0x292525(_0x8fd54,_0x266fe7,_0x52c22e);_0x1a6cab['BrowserCollaborationSocketService']=class extends _0x3d05ed[_0x125ea8(0x13d)]{constructor(_0x148ca8,_0x5c6554,_0x437f48,_0x302744,_0x478523){super(_0x148ca8,_0x5c6554,_0x437f48,_0x302744,_0x478523);}async['createSocket'](_0x348055){const _0x488a32=_0x125ea8,_0x34ed53=await this['_getSessionTicket'](),_0x125480=this[_0x488a32(0x2ee)](_0x348055,_0x34ed53);return this[_0x488a32(0x1ea)](_0x125480);}[_0x125ea8(0x2ee)](_0x17e925,_0x499722){const _0x2c1421=_0x125ea8,_0x2f4b68=typeof window>'u'?new URL(_0x17e925):new URL(_0x17e925,window[_0x2c1421(0x130)][_0x2c1421(0x2b9)]);_0x2f4b68['searchParams'][_0x2c1421(0x21a)]('sessionTicket',_0x499722);const _0x2ef366=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2c1421(0x130)][_0x2c1421(0xc7)]);return _0x2ef366[_0x2c1421(0x205)](_0x2c1421(0x9e))&&_0x2f4b68[_0x2c1421(0x14e)][_0x2c1421(0x21a)](_0x2c1421(0x9e),_0x2ef366[_0x2c1421(0x205)](_0x2c1421(0x9e))),_0x2f4b68[_0x2c1421(0x72)]();}async[_0x125ea8(0x75)](){const _0xdffdbe=_0x125ea8;var _0xdb8922,_0x218412,_0x514e40;const _0x3c74eb=this[_0xdffdbe(0x2c9)][_0xdffdbe(0x9c)](_0x3d05ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5861be=(_0xdb8922=_0x3c74eb==null?void 0x0:_0x3c74eb[_0xdffdbe(0x1d9)])!=null?_0xdb8922:_0x3d05ed[_0xdffdbe(0x1c1)];return(_0x514e40=(_0x218412=(await this[_0xdffdbe(0x210)][_0xdffdbe(0x205)](_0x5861be,{'headers':{'Content-Type':_0xdffdbe(0x199)}}))[_0xdffdbe(0x2a0)])==null?void 0x0:_0x218412[_0xdffdbe(0x261)])!=null?_0x514e40:'';}},_0x1a6cab[_0x125ea8(0x12b)]=_0x23a6b0([_0x512a71(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x512a71(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x651cbe[_0x125ea8(0x2f3)])),_0x512a71(0x2,_0x4d006c[_0x125ea8(0x24d)]),_0x512a71(0x3,_0x4d006c[_0x125ea8(0x19f)]),_0x512a71(0x4,_0x12f559[_0x125ea8(0x23b)])],_0x1a6cab[_0x125ea8(0x12b)]);const _0x3d73c5=0x7530,_0x4d458c=_0x125ea8(0x260);class _0x3d5db7 extends _0x4d006c[_0x125ea8(0x96)]{constructor(){const _0x35d878=_0x125ea8;super(),_0x321a93(this,_0x35d878(0x2f9),_0x4d006c[_0x35d878(0xcd)]()),_0x321a93(this,_0x35d878(0x175),new Set()),_0x321a93(this,_0x35d878(0x2e5),new Map()),_0x321a93(this,'_heartbeatTimer',null),_0x321a93(this,_0x35d878(0x6e),new Map()),_0x321a93(this,_0x35d878(0xf6),new Map()),this['_init']();}[_0x125ea8(0x23f)](){const _0xb247f3=_0x125ea8;super[_0xb247f3(0x23f)](),this['_clearOtherTimers'][_0xb247f3(0x1fa)]((_0x44fd58,_0x3dc0f8)=>this[_0xb247f3(0x108)](_0x3dc0f8)),this[_0xb247f3(0x8c)]&&window[_0xb247f3(0x1f8)](this[_0xb247f3(0x8c)]);}[_0x125ea8(0x106)](_0x4391b6){const _0x177c16=_0x125ea8;return this['_ensureSubject'](_0x4391b6)[_0x177c16(0x2c2)](_0x424996[_0x177c16(0x2ae)]());}['editingUnit'](_0x4beba8){const _0x12e818=_0x125ea8;this['_selfUnitIDs']['size']===0x0&&this[_0x12e818(0xba)](),this['_selfUnitIDs'][_0x12e818(0x208)](_0x4beba8),this[_0x12e818(0xbc)]({'type':0x0,'memberID':this[_0x12e818(0x2f9)],'unitIDs':[_0x4beba8],'isForwarded':!0x1});}['disposeUnit'](_0x146d09){const _0x43d358=_0x125ea8;this['_selfUnitIDs'][_0x43d358(0x22b)](_0x146d09),this['_selfUnitIDs']['size']===0x0&&this[_0x43d358(0x8c)]&&window[_0x43d358(0x1f8)](this[_0x43d358(0x8c)]);}[_0x125ea8(0x2c1)](){const _0x57ff79=_0x125ea8;this[_0x57ff79(0xd9)](_0x4d006c['toDisposable'](_0x424996[_0x57ff79(0x247)](window,_0x57ff79(0x2d9))['subscribe'](_0x3cc57e=>{const _0x44ec08=_0x57ff79;if(_0x3cc57e[_0x44ec08(0x111)]!==_0x4d458c||!_0x3cc57e[_0x44ec08(0x248)])return;const _0x1d1371=JSON[_0x44ec08(0x11e)](_0x3cc57e[_0x44ec08(0x248)]);this[_0x44ec08(0xeb)](_0x1d1371);}))),window[_0x57ff79(0x8e)](_0x57ff79(0x2ea),()=>this[_0x57ff79(0xbc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57ff79(0x18f)](this[_0x57ff79(0x175)])}));}[_0x125ea8(0xeb)](_0x11e758){const _0x353f60=_0x125ea8;switch(_0x11e758[_0x353f60(0xd4)]){case 0x0:this['_handleJoinEvent'](_0x11e758);break;case 0x1:this['_handleLeaveEvent'](_0x11e758);break;case 0x2:this[_0x353f60(0x1aa)](_0x11e758);break;}}[_0x125ea8(0x110)](_0x1775b8){const _0x4036d6=_0x125ea8,{unitIDs:_0xb1c24f,memberID:_0x44e438,isForwarded:_0x1b9692}=_0x1775b8;_0xb1c24f['forEach'](_0x125e55=>{const _0xb388bd=_0x1eaa;if(!_0x1b9692&&this[_0xb388bd(0x2e5)][_0xb388bd(0x2e7)](_0x125e55)&&this['_ensureSubject'](_0x125e55)[_0xb388bd(0xa3)](_0x3d05ed[_0xb388bd(0x6f)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0xb388bd(0x2e7)](_0x125e55)||!this[_0xb388bd(0x2e5)][_0xb388bd(0x205)](_0x125e55)['has'](_0x44e438)){const _0x499d04=this[_0xb388bd(0x2e5)]['get'](_0x125e55)||new Set();_0x499d04['add'](_0x44e438),this[_0xb388bd(0x2e5)]['set'](_0x125e55,_0x499d04),this['_scheduleClearOtherTimer'](_0x44e438);}}),_0x1b9692||this[_0x4036d6(0xbc)]({'type':0x0,'memberID':this[_0x4036d6(0x2f9)],'unitIDs':[...this[_0x4036d6(0x175)]],'isForwarded':!0x0});}[_0x125ea8(0x207)](_0xac9a78){const _0x1840fc=_0x125ea8;this[_0x1840fc(0x108)](_0xac9a78);const _0x401047=window[_0x1840fc(0x117)](()=>{const _0x33334b=_0x1840fc;this[_0x33334b(0x2e5)][_0x33334b(0x1fa)](_0x1bd0c8=>{const _0x14a99d=_0x33334b;_0x1bd0c8[_0x14a99d(0x22b)](_0xac9a78);});},_0x3d73c5*0x2);this[_0x1840fc(0x6e)]['set'](_0xac9a78,_0x401047);}[_0x125ea8(0x108)](_0x3b2a10){const _0x38c666=_0x125ea8;if(this[_0x38c666(0x6e)][_0x38c666(0x2e7)](_0x3b2a10)){const _0x130845=this[_0x38c666(0x6e)]['get'](_0x3b2a10);_0x130845&&window[_0x38c666(0xda)](_0x130845),this['_clearOtherTimers'][_0x38c666(0x21a)](_0x3b2a10,null);}}['_handleLeaveEvent'](_0x1efc4e){const _0x979112=_0x125ea8,{memberID:_0x20acca,unitIDs:_0x297dee}=_0x1efc4e;_0x297dee[_0x979112(0x1fa)](_0x5dd49c=>{const _0x294e79=_0x979112;var _0x384c95;const _0x24a0e8=this[_0x294e79(0x2e5)]['get'](_0x5dd49c);_0x24a0e8&&(_0x24a0e8['delete'](_0x20acca),(_0x384c95=this[_0x294e79(0x123)](_0x5dd49c))==null||_0x384c95[_0x294e79(0xa3)](_0x24a0e8[_0x294e79(0x232)]===0x0?_0x3d05ed[_0x294e79(0x6f)][_0x294e79(0x1e8)]:_0x3d05ed['UnitStatus'][_0x294e79(0x2dd)]));}),this[_0x979112(0x108)](_0x20acca);}[_0x125ea8(0x1aa)](_0xa06da3){const _0x5b38f3=_0x125ea8;this[_0x5b38f3(0x207)](_0xa06da3['memberID']);}[_0x125ea8(0xbc)](_0x511b81){const _0x3e7329=_0x125ea8;localStorage[_0x3e7329(0xaf)](_0x4d458c,JSON[_0x3e7329(0x214)](_0x511b81));}[_0x125ea8(0xba)](){const _0x2c4219=_0x125ea8;this[_0x2c4219(0x8c)]=window[_0x2c4219(0x291)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3d73c5);}[_0x125ea8(0x123)](_0x27d01e){const _0x3d782c=_0x125ea8;return this[_0x3d782c(0xf6)][_0x3d782c(0x2e7)](_0x27d01e)||this[_0x3d782c(0xf6)][_0x3d782c(0x21a)](_0x27d01e,new _0x424996[(_0x3d782c(0x170))](_0x3d05ed[_0x3d782c(0x6f)][_0x3d782c(0x1e8)])),this[_0x3d782c(0xf6)][_0x3d782c(0x205)](_0x27d01e);}}var _0x3ddc83=(_0x12e3ff=>(_0x12e3ff[_0x12e3ff[_0x125ea8(0x240)]=0x0]=_0x125ea8(0x240),_0x12e3ff[_0x12e3ff['OK']=0x1]='OK',_0x12e3ff[_0x12e3ff[_0x125ea8(0x289)]=0x2]=_0x125ea8(0x289),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2f7)]=0x3]=_0x125ea8(0x2f7),_0x12e3ff[_0x12e3ff['NOT_FOUND']=0x4]='NOT_FOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0x1f9)]=0x5]=_0x125ea8(0x1f9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x23a)]=0x6]=_0x125ea8(0x23a),_0x12e3ff[_0x12e3ff[_0x125ea8(0x12f)]=0x7]=_0x125ea8(0x12f),_0x12e3ff[_0x12e3ff[_0x125ea8(0x26d)]=0x8]='TOO_MANY_REQUESTS',_0x12e3ff[_0x12e3ff[_0x125ea8(0x112)]=0x9]='COMPLETION_FINISHED',_0x12e3ff[_0x12e3ff['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x12e3ff[_0x12e3ff['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x125ea8(0x148),_0x12e3ff[_0x12e3ff[_0x125ea8(0x157)]=0x1771]=_0x125ea8(0x157),_0x12e3ff[_0x12e3ff[_0x125ea8(0xd2)]=0x1772]=_0x125ea8(0xd2),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1c2)]=0x1773]=_0x125ea8(0x1c2),_0x12e3ff[_0x12e3ff[_0x125ea8(0x90)]=0x1b59]=_0x125ea8(0x90),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2a3)]=0x1b5a]=_0x125ea8(0x2a3),_0x12e3ff[_0x12e3ff[_0x125ea8(0x155)]=0x1b5b]=_0x125ea8(0x155),_0x12e3ff[_0x12e3ff[_0x125ea8(0x18b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x12e3ff[_0x12e3ff[_0x125ea8(0x193)]=0x1b5d]=_0x125ea8(0x193),_0x12e3ff[_0x12e3ff[_0x125ea8(0x16b)]=0x1f41]=_0x125ea8(0x16b),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1d6)]=0x2329]=_0x125ea8(0x1d6),_0x12e3ff[_0x12e3ff[_0x125ea8(0x217)]=0x232a]=_0x125ea8(0x217),_0x12e3ff[_0x12e3ff['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x12e3ff[_0x12e3ff[_0x125ea8(0x283)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x12e3ff[_0x12e3ff['LICENSE_DISTRO_REJECTED']=0x232d]=_0x125ea8(0xad),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1a9)]=0x2711]=_0x125ea8(0x1a9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x293)]=0x2712]=_0x125ea8(0x293),_0x12e3ff[_0x12e3ff[_0x125ea8(0x91)]=0x2713]=_0x125ea8(0x91),_0x12e3ff[_0x12e3ff[_0x125ea8(0x259)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0xf9)]=0x271a]=_0x125ea8(0xf9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1d3)]=0x271b]=_0x125ea8(0x1d3),_0x12e3ff[_0x12e3ff[_0x125ea8(0x162)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x12e3ff[_0x12e3ff[_0x125ea8(0x1e5)]=0x2ee1]=_0x125ea8(0x1e5),_0x12e3ff[_0x12e3ff['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x12e3ff[_0x12e3ff[_0x125ea8(0xf7)]=0x2ee3]=_0x125ea8(0xf7),_0x12e3ff[_0x12e3ff[_0x125ea8(0x116)]=0x2ee4]=_0x125ea8(0x116),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2b4)]=0x2ee5]=_0x125ea8(0x2b4),_0x12e3ff[_0x12e3ff[_0x125ea8(0xca)]=0x32c9]=_0x125ea8(0xca),_0x12e3ff[_0x12e3ff[_0x125ea8(0xb4)]=0x32ca]=_0x125ea8(0xb4),_0x12e3ff[_0x12e3ff[_0x125ea8(0x25b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0x196)]=-0x1]=_0x125ea8(0x196),_0x12e3ff))(_0x3ddc83||{}),_0x1f93b7=Object[_0x125ea8(0x209)],_0x2977b6=(_0x34b960,_0x5e0e11,_0x413c00,_0x1f75a8)=>{const _0x38766b=_0x125ea8;for(var _0x1e90f7=_0x1f75a8>0x1?void 0x0:_0x1f75a8?_0x1f93b7(_0x5e0e11,_0x413c00):_0x5e0e11,_0x3f597f=_0x34b960[_0x38766b(0xb7)]-0x1,_0x1e097c;_0x3f597f>=0x0;_0x3f597f--)(_0x1e097c=_0x34b960[_0x3f597f])&&(_0x1e90f7=_0x1e097c(_0x1e90f7)||_0x1e90f7);return _0x1e90f7;},_0x9c16f0=(_0x315a71,_0x172044)=>(_0x316106,_0x31bb98)=>_0x172044(_0x316106,_0x31bb98,_0x315a71);_0x1a6cab[_0x125ea8(0x1cf)]=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x2cb40c,_0x587068,_0x10d6a0){const _0x2f6662=_0x125ea8;super(),this['_instanceService']=_0x2cb40c,this[_0x2f6662(0x210)]=_0x587068,this['_configService']=_0x10d6a0;}async[_0x125ea8(0x21e)](_0x14e443,_0x3dc6e8,_0x25b9b1,..._0x18de95){const _0x3a26f9=_0x125ea8;var _0x124b78,_0x2d0ef0,_0x3840bc,_0x5e5968;const _0x2659d0=this[_0x3a26f9(0x86)][_0x3a26f9(0x297)]();if(!_0x2659d0)throw new Error(_0x3a26f9(0x1d7));const _0x3b1a6f=((_0x124b78=this[_0x3a26f9(0x2c9)][_0x3a26f9(0x9c)](_0x3d05ed[_0x3a26f9(0x1a2)]))!=null?_0x124b78:_0x3d05ed[_0x3a26f9(0x121)])+'/'+_0x14e443+_0x3a26f9(0x172)+_0x3dc6e8,_0x544b22=new URL(window[_0x3a26f9(0x130)][_0x3a26f9(0x1b8)]),_0x99a540={'scriptId':_0x14e443,'runId':(_0x2d0ef0=_0x544b22[_0x3a26f9(0x14e)]['get'](_0x3a26f9(0x9e)))!=null?_0x2d0ef0:'','function':_0x3dc6e8,'unitId':_0x2659d0[_0x3a26f9(0x1d0)](),'argsOfFunction':JSON['stringify'](_0x18de95),'invokeId':(_0x3840bc=_0x25b9b1['invokeId'])!=null?_0x3840bc:'','executionId':(_0x5e5968=_0x25b9b1[_0x3a26f9(0x274)])!=null?_0x5e5968:''};try{const _0x35b9b4=await this[_0x3a26f9(0x210)]['post'](_0x3b1a6f,{'body':_0x99a540});return _0x35b9b4['body'][_0x3a26f9(0x2bd)]&&_0x35b9b4[_0x3a26f9(0x2a0)][_0x3a26f9(0x2bd)][_0x3a26f9(0x200)]!==_0x3ddc83['OK']?_0x3a26f9(0x134):_0x35b9b4['body'][_0x3a26f9(0xe7)];}catch{return _0x3a26f9(0x134);}}},_0x1a6cab['RemoteUniscriptService']=_0x2977b6([_0x9c16f0(0x0,_0x4d006c['IUniverInstanceService']),_0x9c16f0(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x651cbe[_0x125ea8(0x2f3)])),_0x9c16f0(0x2,_0x4d006c[_0x125ea8(0x24d)])],_0x1a6cab[_0x125ea8(0x1cf)]),_0x1a6cab['CollaborationStatusDisplay']=_0x22772b,_0x1a6cab['IURLService']=_0xade62c,_0x1a6cab[_0x125ea8(0x2bf)]=_0x415e6b,_0x1a6cab[_0x125ea8(0x131)]=_0x3d5db7,_0x1a6cab[_0x125ea8(0x2cd)]=_0x2d18ad,Object[_0x125ea8(0x2f8)](_0x1a6cab,Symbol[_0x125ea8(0x1fb)],{'value':_0x125ea8(0x2ca)});}));function _0x39ec(){const _0x7d86ad=['getUnhiddenWorksheets','Rectangle','_context','getVpScrollXYInfoByPosToVp','getCollabEntity$','_handleJoinEvent','key','COMPLETION_FINISHED','_docSkeletonManagerService','saveTaskMap','collabStatus.offline','USER_NOT_INVITED_CODE','setTimeout','colorChannel1','UniverCollaborationClientUIPlugin','propertyIsEnumerable','_eventUnsubscribe','DependentOn','getMemberID','parse','redoState','63cCUCfW','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collabStatus.conflict','_ensureSubject','COLORS','fillStyle','ThemeService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','RefRangeService','CollaborationStatus','PENDING','BrowserCollaborationSocketService','shareReplay','unit','doc.mutation.rich-text-editing','INVALID_ARGUMENT','location','WebBrowserSingleActiveUnitService','_labelPosition','_registerDependencies','Failed','getDocRanges','debug','clipPath','SessionStatus','71915OHgkAl','_updateLocalCursor','_entities','_anchor','CollaborationSocketService','_getScale','_setupBeforeClosingHandler','react','UNIVER_SHEET','_docSyncEditingCollabCursorService','useDependency','_cursorInfo$','purple300','onPointerEnter$','asObservable','CHANGESET_REVISION_CONFILICT','jsx','rxjs','transformIMECache','@univerjs/docs','DesktopCollaborationStatusDisplayController','searchParams','NOT_COLLAB','CollaborationController','getColor','_initStatusListener','INotificationService','_saveCache','APPLY_REVISION_CONFILICT','height','SNAPSHOT_INVALID_SNAPSHOT','InsertRangeMoveRightCommandId','text','JOIN_ROOM_FAILED','RegularPolygon','HEADER_MENU','CollaborationDataLoaderController','@univerjs/engine-render','_transformPreviousActiveRange','onTransformChange$','pluginName','PY_RUNTIME_SCRIPT_ERROR','_docStateChangeManagerService','collaboration.closeRoom','sheetID','_onCursorDelete','isTransformMutationsWithChangesetSuccess','_handleHover','_toggleOnline','UPDATE_CURSOR','CONNECTOR_DATA_TOO_LARGE','translate(.97)','setShapeProps','_initEvent','map','BehaviorSubject','_shapes','/run/','whenReady','on-line-single','_selfUnitIDs','url(#off-line-single_clip0_910_343)','isArray','M0\x200H16V16H0z','UniverProCollaboration','_updateSubUnitFromURLParams','_collaborationUIEventService','off-line-single','_logService','_getMergeRange','getSheetBySheetId','DocIMEInputManagerService','getCurrentRevOfUnit','_assignedColors','_range','InsertRowCommandId','transformRemoteChangeset','max','IRenderManagerService','_docTransformSelectionsService','Warning','_docSkeleton','APPLY_PERMISSION_DENIED','selection','children','RichTextEditingMutation','from','_initResize','loadOfflineData','_transformHistoryAndStateStack','APPLY_DUPLICATED','2700CSPxjC','_scene','UNRECOGNIZED','defIds','861uHPLuC','application/json','endRow','createInstance','onPointerLeave$','loadUnit','1em','ILogService','cursorInfo$','_onRefRangeChange','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','engine','syncEditingCollabCursor','_removeCollabCursors','send','ICommandService','setParam','YUUMI_UNABLE_LOAD_URL','_handleHeartbeatEvent','IImageIoService','getValue','Vector2','createIdentifier','_univerInstanceService','roomMembers$','SheetSkeletonManagerService','_localStorageService','getSkeleton','idSuffix','Tools','bottom','sheetId','href','icon','replace','_onCursorUpdate','call','onMouseMove','createElement','getOffsetConfig','ranges','DEFAULT_WS_SESSION_TICKET_URL','ENSURE_SNAPSHOT_EXECUTION','Rect','subunit','replaceDocRanges','startsWith','fillText','_themeService','getActiveRange','onCommandExecuted','assign','getCurrentUnitForType','_hideTimer','collaboration-client-ui.config','RemoteUniscriptService','getUnitId','transformMutation','_toggleOffline','YUUMI_ASYNCIO_CANCELLED','fill','CollaborationSessionService','LICENSE_MAX_UNITS_EXCEEDED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformUndoRedoStack','wsSessionTicketUrl','DataLoaderService','_refreshCollabCursors','collabStatus.synced','CommandType','moveTo','_localCacheService','SHEET_VIEWPORT_KEY','urlChange$','0\x200\x2017\x2016','MessageType','defs','INVITE_CODE_HAS_BEEN_UES','_sheetSkeletonManagerService','EffectRefRangId','NO_OTHER_CLIENTS_EDITING','getUndoRedoMutationParamsCache','_doCreateSocket','evenodd','_initDependencies','@univerjs/engine-formula','BuiltInUIPart','_memberService','...','_syncEditingCollabCursorService','replaceState','values','getSheetObject','_drawRectRange','transformByState','handleIRemoveRow','clearInterval','UNAUTHENTICATED','forEach','toStringTag','setConfig','handleInsertRangeMoveRight','_imageIoService','SetSelectionsOperation','code','transformSelections','onLocalMutation','getRenderById','_collabSessionService','get','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scheduleClearOtherTimer','add','getOwnPropertyDescriptor','_roomMembers$','_startSheetCollabCursor','CollaborationUIEventId','width','indexOf','_entityInit$','_httpService','_collabCursorController','getTypeOfUnitDisposed$','registerRefRange','stringify','SetDocZoomRatioOperation','FromArray','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','displayName','set','executeCommand','restore','focused$','runOnServer','handleInsertCol','UNIVER_DOC','session.will-retry','entityInit$','_hovered','unitId','IUIPartsService','_messageService','saveOfflineData','react/jsx-runtime','useCallback','getViewport','delete','UniverProCollaborationClient','data','TEXT','collaboration.single-unit.warning','jsxs','_updateCollabCursors','size','_hover','concat','_scheduleSaving','CONFLICT','UniverDrawing','transformMutationsWithChangeset','_getSaveTimeout','ALREADY_EXISTS','ISnapshotServerService','Subject','substring','connectInjector','dispose','UNDEFINED','cursorInfo','handleMoveRange','OnLineSingle','skeleton','symbol','touchDependencies','fromEvent','newValue','@univerjs-pro/collaboration-client','registerDependencies','_drawTextRange','UniverDesign','IConfigService','UniverNetwork','NodePositionConvertToCursor','m2Prime','IMessageService','getRangePointData','getAncestorScale','CollaborationEvent','history','LOCAL_CACHE_INTERVAL','assignAColorForMemberID','_online','YUUMI_SUBSCRIPTION_NOT_FOUND','arc','EMAIL_HAS_BEEN_BOUND','DOC_RANGE_TYPE','CLOSE_ROOM','rxjs/operators','collabStatus.fetchMiss','ACTIVE_UNIT_EVENT_CHANNEL','ticket','_collaborationController','switchMap','_config','736353EDLxSZ','status$','debounceTime','svg','popstate','combineLatest','_urlService','MemberService','TOO_MANY_REQUESTS','_collabCursorState$','prototype','actions','registerComponent','transformStateCache','setAlpha','executionId','_draw','_beforeCloseService','name','UniverCore','getCellPositionByOffset','AWAITING_WITH_PENDING','getParam','OFFLINE','_notificationService','registerRenderModule','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','_session','dispose$','collab-text-anchor-','LICENSE_EXPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','_cursor','top','random','getOwnPropertySymbols','INTERNAL_ERROR','with','_uiPartsService','backgroundColor','flatMap','xlink:href','min','row','setInterval','toRgbString','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/rpc','USERS_LEAVE','ISocketService','getFocusedUnit','exports','measureText','path','InsertColCommandId','AWAITING','pushState','eventID','selections','body','DocStateChangeManagerService','complete','APPLY_NON_SEQUENTIAL_REVISION','drawWith','@univerjs/ui','0\x200\x2016\x2016','_renderManagerService','column','off-line-single_clip0_910_343','CollaborationUIEventService','show','@univerjs/design','_cursorShapes','distinctUntilChanged','univer-text-green-500','collabStatus.notCollab','_cachedData','takeUntil','ILocalCacheService','INVITE_CODE_ALREADY_BOUND','_initStatusComponent','RxDisposable','_disabled','984392EfDMWz','origin','on-line-single_clip0_910_349','event$','red300','error','_textBubble','SheetCollabCursorShape','_docTransformIMECacheService','_init','pipe','ITransformService','UniverEngineRender','16lQdAFM','_initCommandExecutedListener','setActiveRange','getLocalCacheKey','_configService','Module','findNodePositionByCharIndex','RemoveColCommandId','WebURLService','all','InsertRangeMoveDownCommandId','getMember','_color','300BNZlTy','activeSheet$','serializeRangeWithSheet','none','_revisionService','RemoveRowCommandId','undoState','storage','setStateCache','handleDeleteRangeMoveUp','_status$','OTHER_CLIENTS_EDITING','triggerDblclick','univer-text-red-500','startRow','@univerjs/sheets-ui','mapTo','currentTheme$','push','_unitOnClients','_drawAnchor','has','SOCKET_FAILED_RETRY','range','unload','_anchorDot','IUniverInstanceService','round','_createSocketURL','unshift','FETCH_MISS','runRefRangeMutations','_cursors','HTTPService','_registerRenderDependencies','filter','verdancy600','PERMISSION_DENIED','defineProperty','_id','_colorIndex','subscribe','@univerjs/network','params','clsx','black','mutations','trim','_clearOtherTimers','UnitStatus','210VdekOw','@univerjs/sheets','toString','function','#FFF','_getSessionTicket','getTypeOfUnitAdded$','m1Prime','getCollabCursors$','source','lineTo','jiqing500','getMergeData','_docClipboardService','collabCursorState$','debounce','onPointerMove$','DocSkeletonManagerService','string','LocaleService','includes','_localeService','_instanceService','then','className','Error','collaboration-client.offline-data-not-saved','extend','_heartbeatTimer','Injector','addEventListener','hide','APPLY_REJECT','YUUMI_RATE_OVER_LIMIT','subUnitId','Tooltip','SheetsSelectionsService','getCurrentSelections','Disposable','tag','_lastPointer','unsubscribe','onRendered','exhaustSavingTask','getConfig','addObject','runId','_injector','Inject','session.connection-failed','textRanges','next','mergeOverrideWithDependencies','collab-client.tooltip.reconnect','transform','_render','deserializeRangeWithSheet','getCoordByCell','12619255EPPbQj','collab-text-range-','_initEntityListener','LICENSE_DISTRO_REJECTED','unitID','setItem','split','univerjs-icon\x20univerjs-icon-','771918DIXtBf','resize','MOBILE_HAS_BEEN_BOUND','DocSelectionManagerService','collabStatus.syncing','length','currentColor','[CollaborationDataLoaderController]','_scheduleHeartbeat','_colorAssignService','_send','closePath','DocCollaborationEntity','25723152jqxUKX','SetWorksheetActivateCommand','url(#on-line-single_clip0_910_349)','_setupSubUnitSync','deepClone','mask','ONLINE','subscribeEvent','search','labelPosition','Shape','WECHAT_HAS_BEEN_BOUND','isTransformMutationFailure','docStateChange$','generateRandomId','div','UniverSheets','color','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','UniverInstanceType','type','_docTransformStateCacheService','Unknown\x20user','save','TEXT_RANGE_LAYER_INDEX','disposeWithMe','clearTimeout','_transformService','startColumn','getCurrent','IDocClipboardService','getStateCache','_getAnchorBounding','addClipboardHook','getRelativeToViewportCoord','@univerjs/core','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','hasOwnProperty','attrs','result','_commandService','currentSkeleton$','_saveTaskMap','_handleEvent','_refRangeService','saveImage','RECT','imageSourceType','requireSession','useObservable','object','fromEventSubject','_updateURLWithCurrentState','forwardRef','_unitStatus','INVITE_CODE_REQUIRED','_backgroundColor','YUUMI_NO_CUBOID_FOR_QUESTION','_dataLoaderService','_name','registerBeforeClose','ColorKit','merge','getSheetId','isActive','init','uni.network.url-service','removeParam','Plugin','font','getUnitStatus$','roomMembers','_removeClearOtherTimer','toDisposable','@univerjs/drawing'];_0x39ec=function(){return _0x7d86ad;};return _0x39ec();}
1
+ function _0x1918(){const _0xfeb26f=['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationDataLoaderController','UniverNetwork','storage','ENSURE_SNAPSHOT_EXECUTION','setParam','_notificationService','...','ITransformService','replaceDocRanges','Optional','MessageType','1526656IYoZQe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateLocalCursor','disableLocalCache','CollaborationUIEventId','textRanges','getActiveSheet','event$','getUndoRedoMutationParamsCache','_unitStatus','push','history','_startDocCollabCursor','AWAITING','collab-client.tooltip.reconnect','_unitOnClients','UniverEngineRender','WECHAT_HAS_BEEN_BOUND','session.connection-failed','Injector','collabStatus.notCollab','currentColor','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','_initEvent','3414303aFwmMG','location','CollaborationStatusDisplay','DocSkeletonManagerService','then','_docSkeletonManagerService','@univerjs/drawing','subscribeEvent','SYNCED','YUUMI_ASYNCIO_CANCELLED','isTransformMutationsWithChangesetSuccess','EffectRefRangId','closePath','imageSourceType','univer-flex\x20univer-mr-2\x20univer-text-[20px]','xlink:href','DocSelectionManagerService','@univerjs/core','replaceState','concat','_dataLoaderService','attrs','_localStorageService','UniverRpc','RemoteUniscriptService','WebURLService','IRemoteInstanceService','_imageIoService','_ensureSubject','_injector','UNAUTHENTICATED','onLocalMutation','undoState','Disposable','@univerjs/sheets','_selfUnitIDs','LICENSE_DISTRO_REJECTED','height','LOGIN_FAILED','mapTo','_render','restore','Plugin','icon','shareReplay','range','show','collabCursorState$','parse','focused$','_updateURLWithCurrentState','IMessageService','Tools','clsx','subUnitId','isActive','UniverIcon','_logService','_handleHover','object','SheetCollabCursorShape','_context','indexOf','_toggleOffline','UniverProCollaboration','UNIVER_SHEET','DOC_RANGE_TYPE','SessionStatus','takeUntil','saveOfflineData','hide','color','NOT_FOUND','Rect','_docTransformSelectionsService','length','_transformHistoryAndStateStack','getOwnPropertySymbols','118265UsFtvp','PY_RUNTIME_SCRIPT_ERROR','search','addObject','runId','getCoordByCell','setTimeout','stringify','_drawRectRange','random','colorChannel1','@univerjs/sheets-ui','getFocusedUnit','with','body','Rectangle','_messageService','AWAITING_WITH_PENDING','_httpService','split','PERMISSION_DENIED','executionId','CollaborationStatus','#fff','SNAPSHOT_HAS_BEEN_REMOVED','amd','addHandlerCallback','url(#off-line-single_clip0_910_343)','complete','collab-text-anchor-','ACTIVE_UNIT_EVENT_CHANNEL','entries','INVITE_CODE_REQUIRED','save','_cursorInfo$','UniverCollaborationClientPlugin','generateRandomId','@univerjs-pro/collaboration-client','use','_removeClearOtherTimer','params','unitID','getVpScrollXYInfoByPosToVp','getCollabCursors$','getSheetId','_textBubble','activeSheet$','YUUMI_RATE_OVER_LIMIT','runRefRangeMutations','_name','whenReady','@univerjs/docs','purple300','_clearOtherTimers','addObjects','makeDirty','tag','collaboration.closeRoom','_setupBeforeClosingHandler','handleInsertCol','runOnServer','getMemberID','_setupSubUnitSync','text','_sheetSkeletonManagerService','send','some','_transformService','collab-text-range-','ticket','univer-text-red-500','InsertRowCommandId','urlChange$','ranges','actions','@univerjs/docs-ui','doc.mutation.rich-text-editing','trim','onStarting','result','univerjs-icon\x20univerjs-icon-','RevisionService','_saveTaskMap','setActiveRange','deepClone','isEditing','m1Prime','_scene','_lastPointer','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_refRangeService','Error','data','_getSessionTicket','YUUMI_SUBSCRIPTION_NOT_FOUND','setAlpha','blue400','status$','_initStatusListener','createIdentifier','_collabCursorController','3lBSzIS','exhaustSavingTask','React','unit','handleInsertRangeMoveRight','transformIMECache','UPDATE_CURSOR','_removeCollabCursors','registerBeforeClose','pipe','_scheduleClearOtherTimer','_renderManagerService','YUUMI_UNABLE_LOAD_URL','black','defs','SetDocZoomRatioOperation','session.collaboration-timeout','Tooltip','_commandService','UniverSheets','getUnitId','merge','syncEditingCollabCursor','_revisionService','getCurrentSelections','uni.network.url-service','_initEntityListener','_updateSubUnitFromURLParams','max','collaboration-client.offline-data-not-saved','font','url(#$1','Vector2','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','children','_collabCursorState$','@univerjs/engine-render','off-line-single','IUIPartsService','RefRangeService','loadOfflineData','getCollabEntity$','includes','YUUMI_NO_CUBOID_FOR_QUESTION','from','DisposableCollection','registerDependencies','backgroundColor','_drawAnchor','_hideTimer','getDocRanges','onPointerEnter$','USERS_LEAVE','HTTPService','getValue','_range','assign','COLORS','CHANGESET_REVISION_CONFILICT','_cursorShapes','INVALID_INVITE_CODE','pushState','values','_hover','permission.content','rgba(255,\x20255,\x20255,\x200.01)','searchParams','filter','href','UniverProCollaborationClient','_handleEvent','createElement','IConfigService','selections','forEach','_session','measureText','size','Unknown\x20user','1516974THGUeG','_draw','column','ILocalCacheService','MOBILE_HAS_BEEN_BOUND','source','idSuffix','entityInit$','transformRemoteChangeset','CONFLICT','unsubscribe','getStateCache','_initStatusComponent','LOCAL_CACHE_INTERVAL','1em','Inject','fillStyle','CollaborationEvent','5yUGtYG','_init','assignAColorForMemberID','triggerDblclick','replace','DocCollaborationEntity','editingUnit','off-line-single_clip0_910_343','_collaborationUIEventService','enableLocalCache','transformStateCache','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','combineLatest','CollaborationController','_initCommandExecutedListener','cursorInfo','_backgroundColor','APPLY_NON_SEQUENTIAL_REVISION','init','_send','_shapes','clearTimeout','_docSkeleton','TOO_MANY_REQUESTS','toRgbString','_localeService','VIEW_MAIN','handleIRemoveCol','memberID','on-line-single_clip0_910_349','CollaborationUIEventService','collabStatus.synced','158443aWyFvr','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getSheetObject','startsWith','_handleLeaveEvent','_assignedColors','registerRenderModule','_createSocketURL','_disabled','getRenderById','SOCKET_FAILED_RETRY','eventID','_startSheetCollabCursor','transformMutationsWithChangeset','toString','_getMergeRange','addEventListener','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','popstate','_handleHeartbeatEvent','defineProperty','M0\x200H16V16H0z','onPointerLeave$','IRenderManagerService','code','ALREADY_EXISTS','_handleJoinEvent','IDocClipboardService','type','_hovered','substring','collab-rect-range-','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','findNodePositionByCharIndex','@univerjs-pro/collaboration','_refreshCollabCursors','react','className','switchMap','Shape','apply','getTypeOfUnitAdded$','_getSaveTimeout','distinctUntilChanged','_onCursorUpdate','IImageIoService','setStateCache','asObservable','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveRange','handleInsertRangeMoveDown','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','transformMutation','LOCAL_CACHE_INTERVAL_KEY','getConfig','getSkeleton','SetSelectionsOperation','fillRule','_anchor','requireSession','DependentOn','univer-flex\x20univer-items-center','transformSelections','handleMoveRange','jsx','_docTransformIMECacheService','toDisposable','_color','_scheduleSaving','hovered','setShapeProps','_roomMembers$','DeleteRangeMoveLeftCommandId','name','arc','_collabSessionService','ThemeService','CONNECTOR_DATA_TOO_LARGE','set','getColor','_updateCollabCursors','IUniverInstanceService','RichTextEditingMutation','_entityInit$','_heartbeatTimer','DocStateChangeManagerService','getCurrentUnitForType','LICENSE_EXPORT_SIZE_EXCEEDED','prototype','ISnapshotServerService','hasOwnProperty','_cursor','UniverDesign','getCellPositionByOffset','string','unitId','rxjs','UniverEngineFormula','getUnitStatus$','jsxs','MemberService','NodePositionConvertToRectRange','mask','_status$','BrowserCollaborationSocketService','debounce','OTHER_CLIENT_EDITING','_uiPartsService','CollaborationSocketService','loadUnit','error','_online','ColorKit','onRendered','RemoveColCommandId','call','isArray','_configService','_transformPreviousActiveRange','DataLoaderService','dispose$','bottom','evenodd','_urlService','cursorInfo$','subunit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getSheetObject','LocaleService','RegularPolygon','red300','ILocalStorageService','getTypeOfUnitDisposed$','INTERNAL_ERROR','rxjs/operators','useCallback','_onRefRangeChange','_labelPosition','UniverDocs','UNRECOGNIZED','min','top','SHEET_VIEWPORT_KEY','translate(.97)','_instanceService','BehaviorSubject','collabStatus.conflict','OFFLINE','UniverProCollaborationClientUi','sheetID','_memberService','getMergeData','getRangePointData','_getAnchorBounding','UniverInstanceType','ICommandService','m2Prime','TEXT_RANGE_LAYER_INDEX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','deserializeRangeWithSheet','DocIMEInputManagerService','_cachedData','1104600HiHWAu','_colorIndex','FromArray','onCommandExecuted','_docClipboardService','current','beginPath','permission.title','handleInsertRow','redoState','_docTransformStateCacheService','serializeRangeWithSheet','_themeService','labelPosition','lineTo','useDependency','_univerInstanceService','selection','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SheetsSelectionsService','round','_saveCache','ONLINE','getAncestorScale','ILogService','_colorAssignService','onMouseMove','handleDeleteRangeMoveLeft','all','0\x200\x2016\x2016','roomMembers','post','getUniverSheetInstance','svg','none','getUnhiddenWorksheets','INotificationService','map','getSheetBySheetId','has','updateOfflineData','moveTo','currentSkeleton$','path','setUndoRedoMutationParamsCache','currentTheme$','USER_NOT_INVITED_CODE','sessionStatus$','_anchorDot','_id','DEFAULT_WS_SESSION_TICKET_URL','_eventUnsubscribe','roomMembers$','NOT_COLLAB','get','dispose','gold400','NO_OTHER_CLIENTS_EDITING','UNIVER_DOC','url(#on-line-single_clip0_910_349)','debug','getMember','_localCacheService','_onCursorDelete','CollaborationSessionService','react/jsx-runtime','delete','useRef','MoveRangeCommandId','getLocalCacheKey','1146198HhVMqK','collabStatus.fetchMiss','div','saveTaskMap','InsertColCommandId','INVITE_CODE_HAS_BEEN_UES','extend','skeleton','exports','clearInterval','fromEventSubject','row','contains','subscribe','_docSyncEditingCollabCursorService','_docStateChangeManagerService','defIds','SetTextSelectionsOperation','next','COMPLETION_FINISHED','_config','_collaborationController','@univerjs/ui','RemoveRowCommandId','width','function','add','_beforeCloseService','TEXT','startColumn','reconnect','setItem','CLOSE_ROOM','INVITE_CODE_ALREADY_BOUND','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','fromEvent','@univerjs/network','RECT','createInstance','UniverUi','@univerjs/rpc','getRelativeToViewportCoord','ISocketService','PENDING','UniverCollaborationClientUIPlugin','fill','debounceTime','_initResize','[CollaborationDataLoaderController]','APPLY_PERMISSION_DENIED','_registerRenderDependencies','IURLService','displayName','SNAPSHOT_INVALID_SNAPSHOT','UNDEFINED','_toggleOnline','getParam','invokeId','_registerDependencies','@univerjs/engine-formula','Failed','getItem','UnitStatus','docStateChange$','RxDisposable','forwardRef','_doCreateSocket','DesktopCollaborationStatusDisplayController','getCurrent','mutations','INVALID_ARGUMENT','APPLY_REJECT','Warning','#FFF','isTransformMutationFailure','MUTATION','removeParam','_cursors','transform','handleDeleteRangeMoveUp','_syncEditingCollabCursorService','_entities','_getScale','InsertRangeMoveDownCommandId','drawWith','getOffsetConfig','disposeWithMe','resize','_drawTextRange','unshift','onPointerMove$','_transformUndoRedoStack','fillText'];_0x1918=function(){return _0xfeb26f;};return _0x1918();}function _0x4c0a(_0x47ddfb,_0x5d3338){const _0x19186a=_0x1918();return _0x4c0a=function(_0x4c0a16,_0x3a7790){_0x4c0a16=_0x4c0a16-0x1a8;let _0x5f0868=_0x19186a[_0x4c0a16];return _0x5f0868;},_0x4c0a(_0x47ddfb,_0x5d3338);}(function(_0x92917,_0x533afe){const _0x52ea09=_0x4c0a,_0x5b744e=_0x92917();while(!![]){try{const _0x133a40=-parseInt(_0x52ea09(0x432))/0x1+parseInt(_0x52ea09(0x27c))/0x2*(parseInt(_0x52ea09(0x3b1))/0x3)+-parseInt(_0x52ea09(0x2e5))/0x4+parseInt(_0x52ea09(0x412))/0x5*(-parseInt(_0x52ea09(0x400))/0x6)+parseInt(_0x52ea09(0x34c))/0x7+parseInt(_0x52ea09(0x236))/0x8+parseInt(_0x52ea09(0x2fe))/0x9;if(_0x133a40===_0x533afe)break;else _0x5b744e['push'](_0x5b744e['shift']());}catch(_0x2c962f){_0x5b744e['push'](_0x5b744e['shift']());}}}(_0x1918,0x4cc84),function(_0x3d8748,_0x33af46){const _0x2faeaf=_0x4c0a;typeof exports==_0x2faeaf(0x339)&&typeof module<'u'?_0x33af46(exports,require('@univerjs-pro/collaboration-client'),require(_0x2faeaf(0x30f)),require(_0x2faeaf(0x3d5)),require(_0x2faeaf(0x2a0)),require(_0x2faeaf(0x397)),require(_0x2faeaf(0x304)),require(_0x2faeaf(0x1f4)),require(_0x2faeaf(0x37f)),require(_0x2faeaf(0x1b5)),require('@univerjs/engine-formula'),require(_0x2faeaf(0x320)),require('rxjs/operators'),require(_0x2faeaf(0x357)),require(_0x2faeaf(0x277)),require(_0x2faeaf(0x292)),require('@univerjs/design'),require(_0x2faeaf(0x1b7)),require('@univerjs/rpc')):typeof define==_0x2faeaf(0x295)&&define[_0x2faeaf(0x365)]?define([_0x2faeaf(0x284),_0x2faeaf(0x371),_0x2faeaf(0x30f),'@univerjs/engine-render',_0x2faeaf(0x2a0),_0x2faeaf(0x397),'@univerjs/drawing',_0x2faeaf(0x1f4),_0x2faeaf(0x37f),_0x2faeaf(0x1b5),_0x2faeaf(0x2b7),'@univerjs/sheets',_0x2faeaf(0x21a),_0x2faeaf(0x357),'react/jsx-runtime',_0x2faeaf(0x292),'@univerjs/design',_0x2faeaf(0x1b7),_0x2faeaf(0x2a4)],_0x33af46):(_0x3d8748=typeof globalThis<'u'?globalThis:_0x3d8748||self,_0x33af46(_0x3d8748[_0x2faeaf(0x228)]={},_0x3d8748[_0x2faeaf(0x3f6)],_0x3d8748['UniverCore'],_0x3d8748[_0x2faeaf(0x2f5)],_0x3d8748[_0x2faeaf(0x2db)],_0x3d8748['UniverDocsUi'],_0x3d8748['UniverDrawing'],_0x3d8748[_0x2faeaf(0x1f4)],_0x3d8748[_0x2faeaf(0x21e)],_0x3d8748[_0x2faeaf(0x33e)],_0x3d8748[_0x2faeaf(0x1f5)],_0x3d8748[_0x2faeaf(0x3c4)],_0x3d8748[_0x2faeaf(0x1f4)]['operators'],_0x3d8748['UniverSheetsUi'],_0x3d8748[_0x2faeaf(0x3b3)],_0x3d8748[_0x2faeaf(0x2a3)],_0x3d8748[_0x2faeaf(0x1f0)],_0x3d8748[_0x2faeaf(0x3b3)],_0x3d8748[_0x2faeaf(0x315)]));}(this,function(_0x41c194,_0x41dc5f,_0x42b304,_0x409358,_0x43144b,_0x16bb92,_0x187cfb,_0x34f1d4,_0x4e9cff,_0x30bf61,_0x18abe9,_0x29d4a1,_0x18aa85,_0x58ab2b,_0x4d12c8,_0x264d8f,_0x2e5ccb,_0x295c09,_0x3b97e1){'use strict';const _0x540b42=_0x4c0a;var _0x22bf67=Object['defineProperty'],_0x464290=(_0x157ae7,_0x381660,_0x2ed048)=>_0x381660 in _0x157ae7?_0x22bf67(_0x157ae7,_0x381660,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ed048}):_0x157ae7[_0x381660]=_0x2ed048,_0x432cc5=(_0x5d969f,_0x1ac878,_0xddc146)=>_0x464290(_0x5d969f,typeof _0x1ac878!='symbol'?_0x1ac878+'':_0x1ac878,_0xddc146),_0x291583=Object[_0x540b42(0x2fc)],_0x278c3f=(_0x51ee06,_0x46b794,_0x266719,_0x559cf7)=>{const _0x331131=_0x540b42;for(var _0x26a961=_0x559cf7>0x1?void 0x0:_0x559cf7?_0x291583(_0x46b794,_0x266719):_0x46b794,_0x24116a=_0x51ee06[_0x331131(0x349)]-0x1,_0x204ffc;_0x24116a>=0x0;_0x24116a--)(_0x204ffc=_0x51ee06[_0x24116a])&&(_0x26a961=_0x204ffc(_0x26a961)||_0x26a961);return _0x26a961;},_0x457059=(_0x384d19,_0x3fb87c)=>(_0x21315c,_0xd9ecad)=>_0x3fb87c(_0x21315c,_0xd9ecad,_0x384d19);let _0x55be9f=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x197b6d,_0x26121a){const _0x4f78a9=_0x540b42;super(),this['_docClipboardService']=_0x197b6d,this[_0x4f78a9(0x319)]=_0x26121a,this['_init']();}[_0x540b42(0x413)](){const _0x5de0b6=_0x540b42,_0x9530f=this;this[_0x5de0b6(0x2d2)](this[_0x5de0b6(0x23a)]['addClipboardHook']({'onBeforePasteImage':async _0x1c4a58=>{const _0xb7b935=_0x5de0b6,_0x598bed=await _0x9530f[_0xb7b935(0x319)]['saveImage'](_0x1c4a58);return _0x598bed?{'source':_0x598bed[_0xb7b935(0x405)],'imageSourceType':_0x598bed[_0xb7b935(0x30b)]}:null;}}));}};_0x55be9f=_0x278c3f([_0x457059(0x0,_0x16bb92[_0x540b42(0x1ae)]),_0x457059(0x1,_0x187cfb[_0x540b42(0x1c0)])],_0x55be9f);const _0x5d91df=[_0x540b42(0x380),'jiqing500','verdancy600',_0x540b42(0x216),_0x540b42(0x3ac),_0x540b42(0x26e)];class _0x4fb46b extends _0x42b304[_0x540b42(0x31f)]{constructor(){const _0x29ebc1=_0x540b42;super(...arguments),_0x432cc5(this,_0x29ebc1(0x437),new Map()),_0x432cc5(this,_0x29ebc1(0x237),0x0);}['assignAColorForMemberID'](_0x21ca4c){const _0x66e344=_0x540b42;if(this[_0x66e344(0x437)]['has'](_0x21ca4c))return this[_0x66e344(0x437)][_0x66e344(0x26c)](_0x21ca4c);const _0x25d0bb=_0x5d91df[this[_0x66e344(0x237)]];return this['_colorIndex']=(this[_0x66e344(0x237)]+0x1)%_0x5d91df['length'],this[_0x66e344(0x437)]['set'](_0x21ca4c,_0x25d0bb),_0x25d0bb;}}function _0x35765b(_0x340fab){const _0x3575e0=_0x540b42;let _0x58f685='';for(const _0x2d01b4 of _0x340fab){const {startOffset:_0x132d7a,endOffset:_0x5bf86b,isActive:_0x167266,rangeType:_0x5e9e7b,segmentId:_0x4c7890,segmentPage:_0x1ea898}=_0x2d01b4;_0x58f685[_0x3575e0(0x349)]&&(_0x58f685+=','),_0x58f685+=_0x132d7a+':'+_0x5bf86b+':'+(_0x167266?'1':'0')+':'+_0x5e9e7b+':'+_0x4c7890+':'+_0x1ea898;}return _0x58f685;}function _0x47a7cc(_0x4e8388){const _0x3bc84f=_0x540b42,_0x314756=_0x4e8388[_0x3bc84f(0x35f)](','),_0x22b4ac=[];for(const _0x598564 of _0x314756){const [_0x29ed57,_0x313046,_0x1dc7b1,_0x4eee4b,_0x22ebfc,_0x1928aa]=_0x598564['split'](':');_0x22b4ac[_0x3bc84f(0x2ef)]({'startOffset':Number(_0x29ed57),'endOffset':Number(_0x313046),'collapsed':_0x29ed57===_0x313046,'isActive':_0x1dc7b1==='1','rangeType':_0x4eee4b===_0x42b304['DOC_RANGE_TYPE'][_0x3bc84f(0x298)]?_0x42b304[_0x3bc84f(0x340)][_0x3bc84f(0x298)]:_0x42b304[_0x3bc84f(0x340)]['RECT'],'segmentId':typeof _0x22ebfc==_0x3bc84f(0x1f2)?String(_0x22ebfc):'','segmentPage':Number(_0x1928aa!=null?_0x1928aa:-0x1)});}return _0x22b4ac[_0x3bc84f(0x38e)](_0x29b7b3=>_0x29b7b3[_0x3bc84f(0x335)])||(_0x22b4ac[0x0][_0x3bc84f(0x335)]=!0x0),_0x22b4ac;}class _0x42f10f extends _0x42b304[_0x540b42(0x2bc)]{constructor(){const _0x3634e4=_0x540b42;super(...arguments),_0x432cc5(this,_0x3634e4(0x3d4),new _0x34f1d4[(_0x3634e4(0x225))](null)),_0x432cc5(this,_0x3634e4(0x32d),this[_0x3634e4(0x3d4)]['asObservable']());}[_0x540b42(0x3c7)](_0x3a700e){const _0x244b48=_0x540b42,{unitID:_0x1db647,memberID:_0x3fc32f,textRanges:_0x294bfb}=_0x3a700e,_0x3d91c6=_0x35765b(_0x294bfb);if(_0x3d91c6==='')return;const _0x13e624={'unitID':_0x1db647,'memberID':_0x3fc32f,'selection':_0x3d91c6};this[_0x244b48(0x3d4)][_0x244b48(0x28e)](_0x13e624);}}var _0x501578=Object[_0x540b42(0x2fc)],_0x52d4fe=(_0x2f3c58,_0x2d9c82,_0x57ca3f,_0x56ac17)=>{for(var _0x2f09fe=_0x56ac17>0x1?void 0x0:_0x56ac17?_0x501578(_0x2d9c82,_0x57ca3f):_0x2d9c82,_0x299a7e=_0x2f3c58['length']-0x1,_0x31a8d8;_0x299a7e>=0x0;_0x299a7e--)(_0x31a8d8=_0x2f3c58[_0x299a7e])&&(_0x2f09fe=_0x31a8d8(_0x2f09fe)||_0x2f09fe);return _0x2f09fe;},_0xe09db3=(_0x1f55d,_0x2857fd)=>(_0x4131e1,_0x35c4db)=>_0x2857fd(_0x4131e1,_0x35c4db,_0x1f55d);const _0xfb8d78=0x12c,_0x2b19dd=0x64;let _0x39645a=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x427994,_0x2e1245,_0x5eee58,_0x164a73,_0x300537,_0x5943ec,_0x1871a8,_0x40affd,_0x4838c9){const _0x38244=_0x540b42;super(),_0x432cc5(this,_0x38244(0x203),!0x1),_0x432cc5(this,_0x38244(0x413),!0x1),_0x432cc5(this,_0x38244(0x36e),new _0x34f1d4[(_0x38244(0x225))](new Map())),_0x432cc5(this,_0x38244(0x210),this[_0x38244(0x36e)]['asObservable']()),_0x432cc5(this,_0x38244(0x1db),new _0x34f1d4[(_0x38244(0x225))]([])),_0x432cc5(this,_0x38244(0x26a),this[_0x38244(0x1db)][_0x38244(0x3ba)](_0x34f1d4[_0x38244(0x2aa)](_0xfb8d78))),_0x432cc5(this,'_updateLocalCursor',_0x42b304[_0x38244(0x1fd)](_0x453fe5=>{const _0x2a2eba=_0x38244,_0x39e2c9={'eventID':_0x30bf61['CollaborationEvent'][_0x2a2eba(0x3b7)],'data':{'unitID':this[_0x2a2eba(0x375)],'memberID':this[_0x2a2eba(0x3fc)][_0x2a2eba(0x389)](),'selection':_0x35765b(_0x453fe5)}};this[_0x2a2eba(0x3fc)][_0x2a2eba(0x38d)](_0x39e2c9,this[_0x2a2eba(0x375)]);},_0x2b19dd)),(this['unitID']=_0x427994,this[_0x38244(0x3fc)]=_0x2e1245,this[_0x38244(0x31b)]=_0x5eee58,this[_0x38244(0x24f)]=_0x164a73,this[_0x38244(0x22a)]=_0x300537,this[_0x38244(0x2cc)]=_0x5943ec,this[_0x38244(0x38f)]=_0x1871a8,this['_univerInstanceService']=_0x40affd,this['_commandService']=_0x4838c9);}get[_0x540b42(0x421)](){const _0x273319=_0x540b42;return this[_0x273319(0x36e)][_0x273319(0x3e7)]();}get['roomMembers'](){const _0x28edc=_0x540b42;return this[_0x28edc(0x1db)]['getValue']();}['dispose'](){const _0x3c8702=_0x540b42;super[_0x3c8702(0x26d)](),this[_0x3c8702(0x36e)][_0x3c8702(0x28e)](new Map()),this[_0x3c8702(0x36e)]['complete'](),this['_roomMembers$'][_0x3c8702(0x28e)]([]),this[_0x3c8702(0x1db)]['complete']();}[_0x540b42(0x424)](){const _0x52fa17=_0x540b42;this[_0x52fa17(0x413)]||(this[_0x52fa17(0x413)]=!0x0,this[_0x52fa17(0x3fc)]['sessionStatus$'][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this['dispose$']))['subscribe'](_0x5cdfc7=>{const _0x408821=_0x52fa17;_0x5cdfc7===_0x41dc5f[_0x408821(0x341)]['ONLINE']?this[_0x408821(0x2b3)]():this[_0x408821(0x33d)]();}),this[_0x52fa17(0x3fc)]['event$'][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this[_0x52fa17(0x20c)]))[_0x52fa17(0x289)](_0x34119a=>{const _0x5aa72f=_0x52fa17,_0x56a9a5=_0x34119a[_0x5aa72f(0x43d)];_0x56a9a5===_0x30bf61[_0x5aa72f(0x411)][_0x5aa72f(0x3b7)]&&this[_0x5aa72f(0x1bf)](_0x34119a),_0x56a9a5===_0x30bf61[_0x5aa72f(0x411)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x34119a);}),this['disposeWithMe'](this[_0x52fa17(0x3c3)]['onCommandExecuted'](_0x1860b2=>{const _0x25afaa=_0x52fa17,_0x546d10=_0x1860b2['params'];_0x546d10!=null&&this[_0x25afaa(0x203)]&&_0x1860b2['id']===_0x4e9cff[_0x25afaa(0x28d)]['id']&&_0x546d10[_0x25afaa(0x1f3)]===this[_0x25afaa(0x375)]&&_0x546d10[_0x25afaa(0x3a1)]===!0x1&&_0x546d10[_0x25afaa(0x395)][_0x25afaa(0x349)]>0x0&&this[_0x25afaa(0x2e7)](_0x546d10[_0x25afaa(0x395)]);})),this[_0x52fa17(0x2cc)][_0x52fa17(0x32d)][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this[_0x52fa17(0x20c)]))['subscribe'](_0x5104ff=>{const _0x512589=_0x52fa17;if((_0x5104ff==null?void 0x0:_0x5104ff[_0x512589(0x375)])!==this[_0x512589(0x375)])return;const _0x235675={'eventID':_0x30bf61['CollaborationEvent'][_0x512589(0x3b7)],'data':_0x5104ff};this[_0x512589(0x1bf)](_0x235675);}),this[_0x52fa17(0x2d2)](this[_0x52fa17(0x3c3)]['onCommandExecuted'](_0x3c0550=>{const _0x81246b=_0x52fa17;if(_0x3c0550[_0x81246b(0x374)]==null)return;const _0x264df1=_0x3c0550['params'];if(_0x3c0550['id']!==_0x4e9cff[_0x81246b(0x1e6)]['id']||_0x264df1['unitId']!==this[_0x81246b(0x375)])return;const _0x30bffc={'id':_0x81246b(0x398),'params':_0x264df1},_0x33f12a=this[_0x81246b(0x421)];for(const [_0x2d83be,_0x4c5b12]of _0x33f12a){const _0x4db4c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x81246b(0x375)],'actions':null,'textRanges':_0x4c5b12[_0x81246b(0x395)]}},_0x1e64e9=this[_0x81246b(0x38f)][_0x81246b(0x1c8)](_0x30bffc,_0x4db4c2,!0x1);if(_0x30bf61[_0x81246b(0x2c6)](_0x1e64e9))throw _0x1e64e9[_0x81246b(0x202)];_0x33f12a['set'](_0x2d83be,{..._0x4c5b12,'ranges':_0x1e64e9[_0x81246b(0x230)][_0x81246b(0x374)][_0x81246b(0x2ea)]});}queueMicrotask(()=>{const _0x38b8cd=_0x81246b;this[_0x38b8cd(0x36e)]['next'](_0x33f12a);});})));}[_0x540b42(0x1bf)](_0x3788e4){const _0x18027c=_0x540b42;var _0x380c88,_0x42b578;const {memberID:_0x284a46,selection:_0x3e0740}=_0x3788e4[_0x18027c(0x3a8)],_0x27326a=_0x47a7cc(_0x3e0740),_0x4cbd9b=(_0x42b578=(_0x380c88=this[_0x18027c(0x22a)][_0x18027c(0x273)](this[_0x18027c(0x375)],_0x284a46))==null?void 0x0:_0x380c88[_0x18027c(0x1dd)])!=null?_0x42b578:_0x18027c(0x3ff),_0x5e9731={'color':this['_colorAssignService'][_0x18027c(0x414)](_0x284a46),'name':_0x4cbd9b,'ranges':_0x27326a},_0x408de8=this[_0x18027c(0x421)];_0x408de8[_0x18027c(0x1e2)](_0x284a46,_0x5e9731),this[_0x18027c(0x36e)][_0x18027c(0x28e)](_0x408de8);}[_0x540b42(0x275)](_0x19925a){const _0x4db940=_0x540b42,{memberID:_0x490a48}=_0x19925a['data'],_0x59dd8e=this['cursorInfo'];_0x59dd8e[_0x4db940(0x278)](_0x490a48),this[_0x4db940(0x36e)][_0x4db940(0x28e)](_0x59dd8e);}[_0x540b42(0x2b3)](){const _0x5e24ce=_0x540b42;var _0x381081;if(this['_online']=!0x0,((_0x381081=this[_0x5e24ce(0x246)][_0x5e24ce(0x358)]())==null?void 0x0:_0x381081['getUnitId']())!==this[_0x5e24ce(0x375)])return;const _0x29ff16=this[_0x5e24ce(0x31b)][_0x5e24ce(0x26c)](_0x4e9cff[_0x5e24ce(0x30e)])[_0x5e24ce(0x3e3)]();Array[_0x5e24ce(0x208)](_0x29ff16)&&_0x29ff16['length']>0x0&&this['_updateLocalCursor'](_0x29ff16);}[_0x540b42(0x33d)](){this['_online']=!0x1;}};_0x39645a=_0x52d4fe([_0xe09db3(0x2,_0x42b304[_0x540b42(0x40f)](_0x42b304['Injector'])),_0xe09db3(0x3,_0x42b304[_0x540b42(0x40f)](_0x4fb46b)),_0xe09db3(0x4,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x1f8)])),_0xe09db3(0x5,_0x42b304['Inject'](_0x42f10f)),_0xe09db3(0x6,_0x30bf61['ITransformService']),_0xe09db3(0x7,_0x42b304[_0x540b42(0x1e5)]),_0xe09db3(0x8,_0x42b304[_0x540b42(0x22f)])],_0x39645a);var _0x4a6ed8=Object['getOwnPropertyDescriptor'],_0x3a3fa4=(_0x9169f,_0xf5af16,_0x22dfcf,_0x2c4ec0)=>{const _0x41266a=_0x540b42;for(var _0x4276d0=_0x2c4ec0>0x1?void 0x0:_0x2c4ec0?_0x4a6ed8(_0xf5af16,_0x22dfcf):_0xf5af16,_0x101439=_0x9169f[_0x41266a(0x349)]-0x1,_0x2841fd;_0x101439>=0x0;_0x101439--)(_0x2841fd=_0x9169f[_0x101439])&&(_0x4276d0=_0x2841fd(_0x4276d0)||_0x4276d0);return _0x4276d0;},_0x249718=(_0x2d603b,_0x3a9de8)=>(_0x1de72d,_0x31000a)=>_0x3a9de8(_0x1de72d,_0x31000a,_0x2d603b);const _0x4b3414=0x12c,_0x186d0f=0x64,_0x415fc3=()=>{let _0x5ed298=[],_0xf6e759=!0x1;return _0x2693e3=>{const _0x1d8ad6=_0x4c0a;_0x5ed298[_0x1d8ad6(0x2ef)](_0x2693e3),_0xf6e759||(_0xf6e759=!0x0,setTimeout(()=>{_0x5ed298['forEach'](_0x31685c=>_0x31685c()),_0x5ed298=[],_0xf6e759=!0x1;}));};};let _0x4c605a=class extends _0x42b304['RxDisposable']{constructor(_0x2c0d58,_0x517218,_0x434bd1,_0x1265e6,_0x44c38b,_0x19eee0,_0x1926f9,_0x2ed14c){const _0x59b2a7=_0x540b42;super(),_0x432cc5(this,'_online',!0x1),_0x432cc5(this,_0x59b2a7(0x413),!0x1),_0x432cc5(this,_0x59b2a7(0x36e),new _0x34f1d4['BehaviorSubject'](new Map())),_0x432cc5(this,_0x59b2a7(0x210),this[_0x59b2a7(0x36e)]['asObservable']()),_0x432cc5(this,_0x59b2a7(0x1db),new _0x34f1d4[(_0x59b2a7(0x225))]([])),_0x432cc5(this,_0x59b2a7(0x26a),this[_0x59b2a7(0x1db)][_0x59b2a7(0x3ba)](_0x34f1d4[_0x59b2a7(0x2aa)](_0x4b3414))),_0x432cc5(this,_0x59b2a7(0x2e7),_0x42b304['debounce']((_0x33d568,_0x3982fa)=>{const _0x567e95=_0x59b2a7,_0x162af1={'eventID':_0x30bf61[_0x567e95(0x411)][_0x567e95(0x3b7)],'data':{'unitID':this[_0x567e95(0x375)],'memberID':this[_0x567e95(0x3fc)][_0x567e95(0x389)](),'selection':_0x18abe9[_0x567e95(0x241)](_0x33d568,_0x3982fa[_0x567e95(0x32b)])}};this[_0x567e95(0x3fc)][_0x567e95(0x38d)](_0x162af1,this[_0x567e95(0x375)]);},_0x186d0f)),(this[_0x59b2a7(0x375)]=_0x2c0d58,this[_0x59b2a7(0x3fc)]=_0x517218,this[_0x59b2a7(0x31b)]=_0x434bd1,this[_0x59b2a7(0x24f)]=_0x1265e6,this[_0x59b2a7(0x22a)]=_0x44c38b,this[_0x59b2a7(0x246)]=_0x19eee0,this[_0x59b2a7(0x3c3)]=_0x1926f9,this['_refRangeService']=_0x2ed14c);}get[_0x540b42(0x421)](){const _0x5e87bc=_0x540b42;return this[_0x5e87bc(0x36e)][_0x5e87bc(0x3e7)]();}get[_0x540b42(0x254)](){const _0x1a9aa4=_0x540b42;return this[_0x1a9aa4(0x1db)]['getValue']();}['dispose'](){const _0x2445be=_0x540b42;super[_0x2445be(0x26d)](),this[_0x2445be(0x36e)][_0x2445be(0x28e)](new Map()),this[_0x2445be(0x36e)][_0x2445be(0x368)](),this[_0x2445be(0x1db)]['next']([]),this['_roomMembers$']['complete']();}[_0x540b42(0x424)](){const _0xc56704=_0x540b42;this[_0xc56704(0x413)]||(this[_0xc56704(0x413)]=!0x0,this[_0xc56704(0x3fc)][_0xc56704(0x265)][_0xc56704(0x3ba)](_0x34f1d4[_0xc56704(0x342)](this[_0xc56704(0x20c)]))[_0xc56704(0x289)](_0xdbd3af=>{const _0x7f7f12=_0xc56704;_0xdbd3af===_0x41dc5f['SessionStatus'][_0x7f7f12(0x24c)]?this[_0x7f7f12(0x2b3)]():this['_toggleOffline']();}),this[_0xc56704(0x3fc)][_0xc56704(0x2ec)][_0xc56704(0x3ba)](_0x34f1d4[_0xc56704(0x342)](this[_0xc56704(0x20c)]))['subscribe'](_0x143680=>{const _0x419a28=_0xc56704,_0x8748d5=_0x143680['eventID'];_0x8748d5===_0x30bf61[_0x419a28(0x411)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x143680),_0x8748d5===_0x30bf61[_0x419a28(0x411)][_0x419a28(0x3e5)]&&this[_0x419a28(0x275)](_0x143680);}),this[_0xc56704(0x21c)](),this[_0xc56704(0x2d2)](this[_0xc56704(0x3c3)]['onCommandExecuted'](_0x1d8404=>{const _0x2d2ea9=_0xc56704;if(this['_online']&&_0x1d8404['id']===_0x29d4a1[_0x2d2ea9(0x1cc)]['id']&&_0x1d8404[_0x2d2ea9(0x374)][_0x2d2ea9(0x1f3)]===this[_0x2d2ea9(0x375)]){const _0xbe1d20=_0x1d8404[_0x2d2ea9(0x374)];this[_0x2d2ea9(0x2e7)](_0xbe1d20[_0x2d2ea9(0x334)],_0xbe1d20[_0x2d2ea9(0x3fa)][0x0]);}})));}[_0x540b42(0x1bf)](_0x3b3d5d){const _0x1dc1a2=_0x540b42;var _0x33780c,_0x18bda8;const {memberID:_0x3f997d,selection:_0x4613a4}=_0x3b3d5d[_0x1dc1a2(0x3a8)],{sheetName:_0x3650f6,range:_0x79544a}=_0x18abe9[_0x1dc1a2(0x233)](_0x4613a4),_0x5a0193={'name':(_0x18bda8=(_0x33780c=this[_0x1dc1a2(0x22a)][_0x1dc1a2(0x273)](this[_0x1dc1a2(0x375)],_0x3f997d))==null?void 0x0:_0x33780c['name'])!=null?_0x18bda8:'Unknown\x20user','range':this[_0x1dc1a2(0x441)](_0x3650f6,_0x79544a),'sheetID':_0x3650f6,'color':this['_colorAssignService'][_0x1dc1a2(0x414)](_0x3f997d),'selection':_0x4613a4},_0x41debb=this['cursorInfo'];_0x41debb[_0x1dc1a2(0x1e2)](_0x3f997d,_0x5a0193),this[_0x1dc1a2(0x36e)]['next'](_0x41debb);}[_0x540b42(0x275)](_0x4ad40d){const _0x20ae4e=_0x540b42,{memberID:_0x30a8ea}=_0x4ad40d[_0x20ae4e(0x3a8)],_0x4d75fb=this['cursorInfo'];_0x4d75fb[_0x20ae4e(0x278)](_0x30a8ea),this[_0x20ae4e(0x36e)][_0x20ae4e(0x28e)](_0x4d75fb);}[_0x540b42(0x441)](_0x119265,_0x2093f1){const _0x53953a=_0x540b42;var _0x50cc99,_0x5d0044;const _0x488e6a=(_0x5d0044=(_0x50cc99=this[_0x53953a(0x246)][_0x53953a(0x256)](this[_0x53953a(0x375)]))==null?void 0x0:_0x50cc99[_0x53953a(0x25c)](_0x119265))==null?void 0x0:_0x5d0044[_0x53953a(0x22b)]();return(_0x488e6a==null?void 0x0:_0x488e6a['find'](_0x5c374a=>_0x42b304[_0x53953a(0x35b)][_0x53953a(0x288)](_0x5c374a,_0x2093f1)))||_0x2093f1;}['_onRefRangeChange'](){const _0x5a11f5=_0x540b42,_0x1f2511=new _0x42b304[(_0x5a11f5(0x3de))](),_0x2320f2=_0x415fc3(),_0x4ab144=()=>{const _0x5eed97=_0x5a11f5;_0x1f2511[_0x5eed97(0x26d)]();const _0x16916f=(_0x4dd387,_0x4723ed,_0x4fbddb,_0x38012c)=>{const _0x315d0e=_0x5eed97;let _0x5f10cb=[];switch(_0x4dd387['id']){case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x1dc)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x251)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)]['DeleteRangeMoveUpCommandId']:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x2cb)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x280)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x387)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x2cf)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x1c5)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x3b5)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x393)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x23e)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x27a)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x1d3)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x206)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x42d)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x293)]:{_0x5f10cb=_0x29d4a1['handleIRemoveRow'](_0x4dd387,_0x38012c);break;}}const _0x33c354=_0x29d4a1[_0x315d0e(0x37c)](_0x5f10cb,_0x38012c),_0x15f884=this[_0x315d0e(0x421)][_0x315d0e(0x26c)](_0x4723ed);if(_0x15f884&&_0x33c354){const _0x5aac38={..._0x15f884,'range':_0x33c354};this['cursorInfo'][_0x315d0e(0x1e2)](_0x4723ed,_0x5aac38),_0x2320f2(()=>{const _0xbe6dd8=_0x315d0e,_0x36294b=this[_0xbe6dd8(0x3a6)]['registerRefRange'](_0x33c354,_0x5ce7f0=>(_0x36294b['dispose'](),_0x16916f(_0x5ce7f0,_0x4723ed,_0x4fbddb,_0x33c354)));_0x1f2511[_0xbe6dd8(0x296)](_0x36294b);});}return{'redos':[],'undos':[]};};this[_0x5eed97(0x421)][_0x5eed97(0x3fb)]((_0x1b1cf5,_0xd85b40)=>{const _0x74206a=_0x5eed97,{range:_0x510c57,sheetID:_0xf59ff8}=_0x1b1cf5,_0x829908=this[_0x74206a(0x3a6)]['registerRefRange'](_0x510c57,_0x4ff24a=>(_0x829908[_0x74206a(0x26d)](),_0x16916f(_0x4ff24a,_0xd85b40,_0xf59ff8,_0x510c57)));_0x1f2511[_0x74206a(0x296)](_0x829908);});};this[_0x5a11f5(0x2d2)](_0x42b304[_0x5a11f5(0x1d6)](this[_0x5a11f5(0x36e)][_0x5a11f5(0x289)](()=>{_0x4ab144();})));}['_toggleOnline'](){const _0x6fd007=_0x540b42;var _0x4e4a8d,_0x14ad40;if(this[_0x6fd007(0x203)]=!0x0,((_0x4e4a8d=this[_0x6fd007(0x246)][_0x6fd007(0x358)]())==null?void 0x0:_0x4e4a8d[_0x6fd007(0x3c5)]())!==this[_0x6fd007(0x375)])return;const _0x42077d=(_0x14ad40=this[_0x6fd007(0x31b)]['get'](_0x29d4a1[_0x6fd007(0x249)])[_0x6fd007(0x3c9)]())==null?void 0x0:_0x14ad40[0x0],_0x269d64=this['_univerInstanceService'][_0x6fd007(0x1ea)](_0x42b304[_0x6fd007(0x22e)][_0x6fd007(0x33f)])[_0x6fd007(0x2eb)]();_0x42077d&&_0x269d64&&this[_0x6fd007(0x2e7)](_0x269d64[_0x6fd007(0x378)](),_0x42077d);}[_0x540b42(0x33d)](){const _0x3cb9b9=_0x540b42;this[_0x3cb9b9(0x203)]=!0x1;}};_0x4c605a=_0x3a3fa4([_0x249718(0x2,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x249718(0x3,_0x42b304['Inject'](_0x4fb46b)),_0x249718(0x4,_0x42b304[_0x540b42(0x40f)](_0x41dc5f['MemberService'])),_0x249718(0x5,_0x42b304[_0x540b42(0x1e5)]),_0x249718(0x6,_0x42b304['ICommandService']),_0x249718(0x7,_0x42b304[_0x540b42(0x40f)](_0x29d4a1[_0x540b42(0x3d8)]))],_0x4c605a);var _0x41c86b=Object[_0x540b42(0x2fc)],_0x165ca3=(_0x8a9ec7,_0x9eb40f,_0x2a401b,_0x4d2d0c)=>{for(var _0x27df4a=_0x4d2d0c>0x1?void 0x0:_0x4d2d0c?_0x41c86b(_0x9eb40f,_0x2a401b):_0x9eb40f,_0x3189b9=_0x8a9ec7['length']-0x1,_0x5b73d1;_0x3189b9>=0x0;_0x3189b9--)(_0x5b73d1=_0x8a9ec7[_0x3189b9])&&(_0x27df4a=_0x5b73d1(_0x27df4a)||_0x27df4a);return _0x27df4a;},_0x4805ec=(_0x3fc046,_0xfc4e5a)=>(_0x4738b5,_0x513a45)=>_0xfc4e5a(_0x4738b5,_0x513a45,_0x3fc046);let _0x1283a0=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x4aec8b,_0x3ea187,_0x265c08){const _0x39e73a=_0x540b42;super(),_0x432cc5(this,_0x39e73a(0x2cd),new Map()),_0x432cc5(this,_0x39e73a(0x1e7),new _0x34f1d4['Subject']()),(this[_0x39e73a(0x246)]=_0x4aec8b,this['_injector']=_0x3ea187,this[_0x39e73a(0x1df)]=_0x265c08,this[_0x39e73a(0x413)]());}['dispose'](){const _0x237ae3=_0x540b42;super[_0x237ae3(0x26d)](),this[_0x237ae3(0x1e7)][_0x237ae3(0x368)](),this[_0x237ae3(0x2cd)][_0x237ae3(0x3fb)](_0x508c8f=>_0x508c8f[_0x237ae3(0x26d)]());}[_0x540b42(0x377)](_0x320e6d){const _0x1a2bef=_0x540b42;return this['_entities']['has'](_0x320e6d)?this[_0x1a2bef(0x2cd)][_0x1a2bef(0x26c)](_0x320e6d)[_0x1a2bef(0x210)]:this[_0x1a2bef(0x1e7)]['pipe'](_0x34f1d4[_0x1a2bef(0x3f4)](_0x91c1fe=>_0x91c1fe['unitID']===_0x320e6d),_0x34f1d4[_0x1a2bef(0x1b9)](_0x4787ea=>_0x4787ea[_0x1a2bef(0x210)]));}[_0x540b42(0x413)](){const _0x5c7d7b=_0x540b42;this['_univerInstanceService'][_0x5c7d7b(0x1bc)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x33f)])['pipe'](_0x34f1d4['takeUntil'](this[_0x5c7d7b(0x20c)]))['subscribe'](async _0x7d76af=>{const _0x5aac7f=_0x5c7d7b,_0x354d46=_0x7d76af['getUnitId'](),_0x27f200=await this[_0x5aac7f(0x43e)](_0x354d46);this[_0x5aac7f(0x1e7)][_0x5aac7f(0x28e)](_0x27f200),this[_0x5aac7f(0x2cd)]['set'](_0x354d46,_0x27f200);}),this[_0x5c7d7b(0x246)][_0x5c7d7b(0x1bc)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x270)])[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x342)](this[_0x5c7d7b(0x20c)]))[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x3f4)](_0x28902a=>!_0x28902a['getUnitId']()[_0x5c7d7b(0x435)]('__')))[_0x5c7d7b(0x289)](async _0x338ae4=>{const _0x2e8056=_0x5c7d7b,_0x124283=_0x338ae4['getUnitId'](),_0x5c5f0a=await this[_0x2e8056(0x2f1)](_0x124283);this[_0x2e8056(0x1e7)][_0x2e8056(0x28e)](_0x5c5f0a),this[_0x2e8056(0x2cd)]['set'](_0x124283,_0x5c5f0a);}),_0x34f1d4['merge'](this[_0x5c7d7b(0x246)][_0x5c7d7b(0x218)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x270)]),this[_0x5c7d7b(0x246)][_0x5c7d7b(0x218)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x33f)]))[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x342)](this['dispose$']))[_0x5c7d7b(0x289)](_0x83c762=>{const _0x396048=_0x5c7d7b,_0x506f03=_0x83c762[_0x396048(0x3c5)](),_0x7c0b64=this['_entities'][_0x396048(0x26c)](_0x506f03);_0x7c0b64&&(_0x7c0b64[_0x396048(0x26d)](),this['_entities']['delete'](_0x506f03));});}async[_0x540b42(0x43e)](_0x2ce6ac){const _0x25801e=_0x540b42,_0xf4ba8c=await this['_collabSessionService'][_0x25801e(0x1cf)](_0x2ce6ac),_0x581fff=this[_0x25801e(0x31b)][_0x25801e(0x2a2)](_0x4c605a,_0x2ce6ac,_0xf4ba8c);return _0x581fff[_0x25801e(0x424)](),_0x581fff;}async[_0x540b42(0x2f1)](_0x4b5ed){const _0x19d4a4=_0x540b42,_0x18d7cc=await this[_0x19d4a4(0x1df)][_0x19d4a4(0x1cf)](_0x4b5ed),_0x4b10c1=this[_0x19d4a4(0x31b)]['createInstance'](_0x39645a,_0x4b5ed,_0x18d7cc);return _0x4b10c1['init'](),_0x4b10c1;}};_0x1283a0=_0x165ca3([_0x4805ec(0x0,_0x42b304[_0x540b42(0x1e5)]),_0x4805ec(0x1,_0x42b304['Inject'](_0x42b304[_0x540b42(0x2f8)])),_0x4805ec(0x2,_0x42b304['Inject'](_0x41dc5f[_0x540b42(0x276)]))],_0x1283a0);const _0x13f46c=0x14,_0x56c37c=0xc8,_0x443213=0x4,_0xd989f=0x5;function _0x199333(_0xf16bef,_0x479ac0){const _0x4f0152=_0x540b42;let {radius:_0x107fe6,width:_0x3f9072,height:_0x25ad93}=_0x479ac0;_0x107fe6=_0x107fe6!=null?_0x107fe6:0x0,_0x3f9072=_0x3f9072!=null?_0x3f9072:0x1e,_0x25ad93=_0x25ad93!=null?_0x25ad93:0x1e;let _0x1866cb=0x0,_0x215a2a=0x0,_0x57632b=0x0;_0x1866cb=_0x215a2a=_0x57632b=Math[_0x4f0152(0x220)](_0x107fe6,_0x3f9072/0x2,_0x25ad93/0x2),_0xf16bef[_0x4f0152(0x23c)](),_0xf16bef[_0x4f0152(0x25f)](_0x1866cb,0x0),_0xf16bef[_0x4f0152(0x244)](_0x3f9072-_0x215a2a,0x0),_0xf16bef[_0x4f0152(0x1de)](_0x3f9072-_0x215a2a,_0x215a2a,_0x215a2a,Math['PI']*0x3/0x2,0x0,!0x1),_0xf16bef[_0x4f0152(0x244)](_0x3f9072,_0x25ad93-_0x57632b),_0xf16bef[_0x4f0152(0x1de)](_0x3f9072-_0x57632b,_0x25ad93-_0x57632b,_0x57632b,0x0,Math['PI']/0x2,!0x1),_0xf16bef['lineTo'](0x0,_0x25ad93),_0xf16bef[_0x4f0152(0x244)](0x0,_0x1866cb),_0xf16bef[_0x4f0152(0x1de)](_0x1866cb,_0x1866cb,_0x1866cb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf16bef[_0x4f0152(0x30a)](),_0x479ac0['fill']&&(_0xf16bef[_0x4f0152(0x36d)](),_0xf16bef[_0x4f0152(0x410)]=_0x479ac0[_0x4f0152(0x2a9)],_0x479ac0[_0x4f0152(0x1cd)]==='evenodd'?_0xf16bef['fill'](_0x4f0152(0x20e)):_0xf16bef[_0x4f0152(0x2a9)](),_0xf16bef[_0x4f0152(0x327)]());}class _0x1f5103 extends _0x409358[_0x540b42(0x1ba)]{constructor(_0x17d2ff,_0x58f2dd){const _0x870c2f=_0x540b42;super(_0x17d2ff,_0x58f2dd),_0x432cc5(this,_0x870c2f(0x345)),_0x432cc5(this,_0x870c2f(0x38b)),(this['color']=_0x58f2dd==null?void 0x0:_0x58f2dd[_0x870c2f(0x345)],this['text']=_0x58f2dd==null?void 0x0:_0x58f2dd['text']);}static[_0x540b42(0x2d0)](_0x22f8f1,_0x14d5dc){const _0x4a98ee=_0x540b42,{text:_0x597cab,color:_0x3580a7}=_0x14d5dc;_0x22f8f1[_0x4a98ee(0x36d)](),_0x22f8f1[_0x4a98ee(0x3cf)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a046e=_0x22f8f1[_0x4a98ee(0x3fd)](_0x597cab)[_0x4a98ee(0x294)],_0x3430de=Math[_0x4a98ee(0x220)](_0x3a046e+0x2*_0x443213,_0x56c37c);_0x199333(_0x22f8f1,{'height':_0x13f46c,'radius':0x4,'width':_0x3430de,'fill':_0x3580a7}),_0x22f8f1[_0x4a98ee(0x410)]=_0x4a98ee(0x2c5);const _0x3e85dc=_0x443213,_0x182a59=_0x13f46c-_0xd989f,_0x48adf9=_0x56c37c-0x2*_0x443213;if(_0x3a046e>_0x48adf9){let _0x421c7b='',_0x35e22a=0x0;for(const _0x2a15d2 of _0x597cab){const _0x10aba8=_0x22f8f1['measureText'](_0x2a15d2)[_0x4a98ee(0x294)];if(_0x35e22a+_0x10aba8<=_0x48adf9-_0x22f8f1[_0x4a98ee(0x3fd)](_0x4a98ee(0x2e0))['width'])_0x421c7b+=_0x2a15d2,_0x35e22a+=_0x10aba8;else{_0x421c7b+=_0x4a98ee(0x2e0);break;}}_0x22f8f1[_0x4a98ee(0x2d8)](_0x421c7b,_0x3e85dc,_0x182a59);}else _0x22f8f1['fillText'](_0x597cab,_0x3e85dc,_0x182a59);_0x22f8f1[_0x4a98ee(0x327)]();}['_draw'](_0x48beba){const _0x3ea130=_0x540b42;_0x1f5103[_0x3ea130(0x2d0)](_0x48beba,this);}}const _0x3d3f7e=_0x540b42(0x369),_0x26b8ce=_0x540b42(0x390),_0x2c949e=_0x540b42(0x1b2),_0x459003=0x6,_0x3f6915=1.5,_0x499257=0x4,_0xde2a7c=1.5,_0x16081c=_0x540b42(0x3f2);class _0x26fd2c{constructor(_0x450f54,_0x563318,_0xf5bb57,_0x28ddcc){const _0x1a0244=_0x540b42;_0x432cc5(this,'_shapes',[]),_0x432cc5(this,_0x1a0244(0x1ce),null),_0x432cc5(this,'_textBubble',null),_0x432cc5(this,'_anchorDot',null),_0x432cc5(this,_0x1a0244(0x3e2),null),_0x432cc5(this,_0x1a0244(0x269),null),(this[_0x1a0244(0x1ef)]=_0x450f54,this['_scene']=_0x563318,this[_0x1a0244(0x428)]=_0xf5bb57,this['_document']=_0x28ddcc,this['_render']());}set[_0x540b42(0x3f0)](_0x49ae1a){const _0x3a668e=_0x540b42;_0x49ae1a?(this[_0x3a668e(0x266)]&&this[_0x3a668e(0x266)]['hide'](),this['_textBubble']&&this[_0x3a668e(0x379)][_0x3a668e(0x32c)]()):(this[_0x3a668e(0x266)]&&this[_0x3a668e(0x266)][_0x3a668e(0x32c)](),this[_0x3a668e(0x379)]&&this[_0x3a668e(0x379)][_0x3a668e(0x344)]());}['dispose'](){const _0x5d8828=_0x540b42;for(const _0x165d9a of this['_shapes'])_0x165d9a[_0x5d8828(0x26d)]();this[_0x5d8828(0x379)]&&this[_0x5d8828(0x379)][_0x5d8828(0x26d)](),this[_0x5d8828(0x266)]&&this[_0x5d8828(0x266)][_0x5d8828(0x26d)](),this[_0x5d8828(0x1ce)]&&this['_anchor'][_0x5d8828(0x26d)](),this[_0x5d8828(0x269)]&&this[_0x5d8828(0x269)]();}[_0x540b42(0x326)](){const _0x45d71d=_0x540b42;var _0x25ee11;const {_docSkeleton:_0x3e816f,_document:_0x2a236c}=this,{color:_0x16f172,name:_0x3b4dee,ranges:_0x128073}=this[_0x45d71d(0x1ef)],_0x370de4=_0x2a236c[_0x45d71d(0x2d1)](),{docsLeft:_0x32b273,docsTop:_0x3cf9a1}=_0x370de4,_0x6972b8=new _0x16bb92['NodePositionConvertToCursor'](_0x370de4,_0x3e816f);for(const {startOffset:_0x1cd9ff,endOffset:_0x23a317,rangeType:_0x427ed2,segmentId:_0x545164,segmentPage:_0x445859,collapsed:_0x5b0a09,isActive:_0x3756d7}of _0x128073){const _0x2058f7=_0x3e816f[_0x45d71d(0x1b4)](_0x1cd9ff,!0x0,_0x545164,_0x445859);let _0x491c1e=_0x3e816f['findNodePositionByCharIndex'](_0x23a317,!0x0,_0x545164,_0x445859);if(_0x491c1e==null&&(_0x491c1e=_0x3e816f[_0x45d71d(0x1b4)](_0x23a317-0x1,!0x1,_0x545164,_0x445859)),_0x3756d7){const {contentBoxPointGroup:_0x1c3a5f}=_0x6972b8[_0x45d71d(0x22c)](_0x491c1e,_0x491c1e);if(_0x1c3a5f[_0x45d71d(0x349)]===0x0)continue;this[_0x45d71d(0x3e1)](_0x16f172,_0x1c3a5f,_0x32b273,_0x3cf9a1,_0x3b4dee),this[_0x45d71d(0x269)]=this[_0x45d71d(0x338)]();}if(_0x2058f7&&_0x491c1e){if(_0x427ed2===_0x42b304[_0x45d71d(0x340)][_0x45d71d(0x2a1)]){const _0x4e0bf3=new _0x16bb92[(_0x45d71d(0x1f9))](_0x370de4,_0x3e816f),{pointGroup:_0x43d1f3}=(_0x25ee11=_0x4e0bf3[_0x45d71d(0x22c)](_0x2058f7,_0x491c1e))!=null?_0x25ee11:{};if(_0x43d1f3==null||_0x43d1f3[_0x45d71d(0x349)]===0x0)continue;this[_0x45d71d(0x354)](_0x16f172,_0x43d1f3,_0x32b273,_0x3cf9a1);}else{if(!_0x5b0a09){const {borderBoxPointGroup:_0x148dee}=_0x6972b8[_0x45d71d(0x22c)](_0x2058f7,_0x491c1e);if(_0x148dee['length']===0x0)continue;this['_drawTextRange'](_0x16f172,_0x148dee,_0x32b273,_0x3cf9a1);}}}}}[_0x540b42(0x3e1)](_0x2a907f,_0x145f1b,_0x12810d,_0xff7c89,_0xc5b7ff){const _0x539307=_0x540b42,_0xb7331f=this[_0x539307(0x22d)](_0x145f1b),{left:_0x56c26e,top:_0x4dbb27,height:_0x120716}=_0xb7331f,_0x3bf0a8=this[_0x539307(0x2ce)](),_0x203647=_0xde2a7c/_0x3bf0a8,_0x3b0531=new _0x409358[(_0x539307(0x347))](_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89,'height':_0x120716,'width':_0x3f6915,'fill':_0x2a907f||_0x409358['getColor'](_0x42b304[_0x539307(0x3ea)][_0x539307(0x3be)],0x0),'strokeWidth':_0x203647,'stroke':_0x16081c,'evented':!0x0});this[_0x539307(0x1ce)]=_0x3b0531,this[_0x539307(0x3a3)][_0x539307(0x34f)](_0x3b0531,_0x16bb92[_0x539307(0x231)]);const _0x48ee68=new _0x409358[(_0x539307(0x347))](_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89-_0x499257/0x2,'height':_0x499257,'width':_0x499257,'fill':_0x2a907f||_0x409358[_0x539307(0x1e3)](_0x42b304[_0x539307(0x3ea)][_0x539307(0x3be)],0x0),'strokeWidth':0x0,'stroke':_0x2a907f||_0x409358[_0x539307(0x1e3)](_0x42b304['COLORS'][_0x539307(0x3be)],0x0),'evented':!0x1});this[_0x539307(0x266)]=_0x48ee68,this[_0x539307(0x3a3)][_0x539307(0x34f)](_0x48ee68,_0x16bb92['TEXT_RANGE_LAYER_INDEX']);const _0x1aa23c=new _0x1f5103(_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89-_0x13f46c,'text':_0xc5b7ff,'color':_0x2a907f});this[_0x539307(0x379)]=_0x1aa23c,this[_0x539307(0x3a3)]['addObject'](_0x1aa23c,_0x16bb92['TEXT_RANGE_LAYER_INDEX']),this[_0x539307(0x3f0)]=!0x1;}[_0x540b42(0x338)](){const _0x362cb3=_0x540b42,_0x2d693b=this[_0x362cb3(0x1ce)][_0x362cb3(0x3e4)][_0x362cb3(0x305)](()=>{const _0x47bd48=_0x362cb3;this[_0x47bd48(0x3f0)]=!0x0;}),_0x5aa62b=this[_0x362cb3(0x1ce)][_0x362cb3(0x1a9)][_0x362cb3(0x305)](()=>{const _0x49a89d=_0x362cb3;this[_0x49a89d(0x3e2)]&&clearTimeout(this[_0x49a89d(0x3e2)]),this[_0x49a89d(0x3e2)]=setTimeout(()=>{const _0x1897d9=_0x49a89d;this[_0x1897d9(0x3f0)]=!0x1;},0x7d0);});return()=>{const _0x2db34e=_0x362cb3;_0x2d693b[_0x2db34e(0x40a)](),_0x5aa62b[_0x2db34e(0x40a)]();};}[_0x540b42(0x2d4)](_0x4ebaf3,_0x39df20,_0x523b9f,_0xd8245a){const _0x4474e5=_0x540b42,_0x9bc295=new _0x42b304[(_0x4474e5(0x204))](_0x4ebaf3)[_0x4474e5(0x3ab)](0.2)[_0x4474e5(0x42a)](),_0x4441c2=new _0x409358[(_0x4474e5(0x215))](_0x26b8ce+_0x42b304[_0x4474e5(0x332)][_0x4474e5(0x370)](_0x459003),{'pointsGroup':_0x39df20,'fill':_0x9bc295||_0x409358[_0x4474e5(0x1e3)](_0x42b304[_0x4474e5(0x3ea)][_0x4474e5(0x3be)],0.2),'left':_0x523b9f,'top':_0xd8245a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4474e5(0x426)]['push'](_0x4441c2),this[_0x4474e5(0x3a3)][_0x4474e5(0x34f)](_0x4441c2,_0x16bb92[_0x4474e5(0x231)]);}[_0x540b42(0x354)](_0x333f83,_0x20f05b,_0x18369c,_0x5070c8){const _0x28a63d=_0x540b42,_0x45bce0=new _0x42b304[(_0x28a63d(0x204))](_0x333f83)['setAlpha'](0.2)['toRgbString'](),_0x54c32e=new _0x409358[(_0x28a63d(0x215))](_0x2c949e+_0x42b304[_0x28a63d(0x332)]['generateRandomId'](_0x459003),{'pointsGroup':_0x20f05b,'fill':_0x45bce0||_0x409358[_0x28a63d(0x1e3)](_0x42b304[_0x28a63d(0x3ea)]['black'],0.2),'left':_0x18369c,'top':_0x5070c8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28a63d(0x426)][_0x28a63d(0x2ef)](_0x54c32e),this[_0x28a63d(0x3a3)][_0x28a63d(0x34f)](_0x54c32e,_0x16bb92[_0x28a63d(0x231)]);}['_getAnchorBounding'](_0x32a2a3){const _0x2bd4d9=_0x32a2a3[0x0],_0x78cbbd=_0x2bd4d9[0x0],_0x514353=_0x2bd4d9[0x2],{x:_0x1a0fab,y:_0x2e95c2}=_0x78cbbd,{x:_0x2bcdf2,y:_0x56050e}=_0x514353;return{'left':_0x1a0fab,'top':_0x2e95c2,'width':_0x2bcdf2-_0x1a0fab,'height':_0x56050e-_0x2e95c2};}[_0x540b42(0x2ce)](){const _0x370f50=_0x540b42,{scaleX:_0x8bf2b,scaleY:_0x358c7f}=this['_scene'][_0x370f50(0x24d)]();return Math[_0x370f50(0x3cd)](_0x8bf2b,_0x358c7f);}}var _0x1ded05=Object[_0x540b42(0x2fc)],_0x2aae77=(_0x290ee,_0x4eb9de,_0x7ddb0d,_0x239771)=>{const _0x34c59c=_0x540b42;for(var _0x284cd4=_0x239771>0x1?void 0x0:_0x239771?_0x1ded05(_0x4eb9de,_0x7ddb0d):_0x4eb9de,_0x17db62=_0x290ee[_0x34c59c(0x349)]-0x1,_0x1fcfbb;_0x17db62>=0x0;_0x17db62--)(_0x1fcfbb=_0x290ee[_0x17db62])&&(_0x284cd4=_0x1fcfbb(_0x284cd4)||_0x284cd4);return _0x284cd4;},_0x4ad5e0=(_0x18bfd6,_0x25ef8e)=>(_0x232840,_0x4e2178)=>_0x25ef8e(_0x232840,_0x4e2178,_0x18bfd6);let _0x50cbf7=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x928961,_0x302c3b,_0x3a1f41,_0x5917b1,_0xc4bb79){const _0xe05ad=_0x540b42;super(),_0x432cc5(this,'_cursorShapes',[]),_0x432cc5(this,_0xe05ad(0x2c9),[]),(this[_0xe05ad(0x33b)]=_0x928961,this[_0xe05ad(0x303)]=_0x302c3b,this[_0xe05ad(0x3b0)]=_0x3a1f41,this[_0xe05ad(0x3c3)]=_0x5917b1,this['_themeService']=_0xc4bb79,this[_0xe05ad(0x413)]());}[_0x540b42(0x413)](){const _0x4cddc1=_0x540b42,_0x248589=this['_context'][_0x4cddc1(0x1f3)],_0x350220=this[_0x4cddc1(0x303)];this[_0x4cddc1(0x2d2)](_0x34f1d4[_0x4cddc1(0x41e)]([this[_0x4cddc1(0x3b0)][_0x4cddc1(0x377)](_0x248589),this['_themeService'][_0x4cddc1(0x263)]])[_0x4cddc1(0x3ba)](_0x18aa85[_0x4cddc1(0x25b)](([_0x2e7273,_0x2046e1])=>({'skeleton':_0x350220['getSkeleton'](),'cursors':[..._0x2e7273[_0x4cddc1(0x3ef)]()]['flatMap'](_0x20e47d=>({..._0x20e47d,'color':_0x2046e1[_0x20e47d['color']]}))})))[_0x4cddc1(0x289)](_0x5a0144=>{const _0x98a0dc=_0x4cddc1;if(this[_0x98a0dc(0x3b8)](),_0x5a0144){const {skeleton:_0x807e9d,cursors:_0x38441e}=_0x5a0144;this[_0x98a0dc(0x1e4)](_0x807e9d,_0x38441e);}})),this['_initResize'](),this[_0x4cddc1(0x420)]();}[_0x540b42(0x1e4)](_0x18f443,_0x4cd413){const _0x3ef50d=_0x540b42,{scene:_0x52e771,mainComponent:_0x5c54d8}=this['_context'],_0x273d67=_0x4cd413[_0x3ef50d(0x25b)](_0x46acbd=>new _0x26fd2c(_0x46acbd,_0x52e771,_0x18f443,_0x5c54d8));this['_cursorShapes']=_0x273d67,this[_0x3ef50d(0x2c9)]=_0x4cd413;}[_0x540b42(0x1b6)](){const _0x1e1c22=_0x540b42;this[_0x1e1c22(0x3b8)]();const {scene:_0x3d2a5d,mainComponent:_0x3eea5a}=this[_0x1e1c22(0x33b)],_0x130e97=this[_0x1e1c22(0x303)][_0x1e1c22(0x1cb)](),_0x4326b1=this['_cursors'][_0x1e1c22(0x25b)](_0x3295b0=>new _0x26fd2c(_0x3295b0,_0x3d2a5d,_0x130e97,_0x3eea5a));this['_cursorShapes']=_0x4326b1;}[_0x540b42(0x3b8)](){const _0x421241=_0x540b42;this[_0x421241(0x3ec)][_0x421241(0x3fb)](_0x4d7f7c=>_0x4d7f7c[_0x421241(0x26d)]()),this[_0x421241(0x3ec)]=[];}['_initCommandExecutedListener'](){const _0x298a1a=_0x540b42,_0x4273b6=[_0x16bb92[_0x298a1a(0x3c0)]['id']];this[_0x298a1a(0x2d2)](this[_0x298a1a(0x3c3)][_0x298a1a(0x239)](_0x4017c7=>{const _0x4a4cca=_0x298a1a;_0x4273b6[_0x4a4cca(0x3db)](_0x4017c7['id'])&&_0x4017c7['params'][_0x4a4cca(0x1f3)]===this[_0x4a4cca(0x33b)][_0x4a4cca(0x1f3)]&&this[_0x4a4cca(0x1b6)]();}));}[_0x540b42(0x2ab)](){const _0x42dec8=_0x540b42;this['disposeWithMe'](_0x42b304[_0x42dec8(0x286)](this[_0x42dec8(0x33b)]['engine']['onTransformChange$'])['pipe'](_0x18aa85['filter'](_0x4baa51=>_0x4baa51[_0x42dec8(0x1af)]===_0x409358[_0x42dec8(0x248)][_0x42dec8(0x2d3)]),_0x18aa85['throttleTime'](0x10))[_0x42dec8(0x289)](()=>{const _0x300f60=_0x42dec8;this[_0x300f60(0x1b6)]();}));}};_0x50cbf7=_0x2aae77([_0x4ad5e0(0x1,_0x42b304[_0x540b42(0x40f)](_0x4e9cff[_0x540b42(0x301)])),_0x4ad5e0(0x2,_0x42b304[_0x540b42(0x40f)](_0x1283a0)),_0x4ad5e0(0x3,_0x42b304[_0x540b42(0x22f)]),_0x4ad5e0(0x4,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x1e0)]))],_0x50cbf7);const _0xc6f7ea=0x1,_0x5b6387=1.5;class _0x41d68b extends _0x409358[_0x540b42(0x1ba)]{constructor(_0x572b54,_0x3a76bd){const _0x307302=_0x540b42;super(_0x572b54,_0x3a76bd),_0x432cc5(this,'_color'),_0x432cc5(this,_0x307302(0x1b0),!0x1),_0x432cc5(this,_0x307302(0x3e8)),_0x432cc5(this,_0x307302(0x37d),''),_0x432cc5(this,_0x307302(0x21d),_0x307302(0x221)),_0x432cc5(this,'_backgroundColor'),(_0x3a76bd&&this[_0x307302(0x1da)](_0x3a76bd),this[_0x307302(0x3e4)]['subscribeEvent'](()=>this[_0x307302(0x1da)]({'hovered':!0x0})),this[_0x307302(0x1a9)]['subscribeEvent'](()=>this[_0x307302(0x1da)]({'hovered':!0x1})));}[_0x540b42(0x1da)](_0x473f3f){const _0x1ee945=_0x540b42;var _0x639206,_0x1fbe83,_0x1156e4,_0x384817,_0x78598f,_0x34b2c6;this[_0x1ee945(0x1d7)]=(_0x639206=_0x473f3f[_0x1ee945(0x345)])!=null?_0x639206:this[_0x1ee945(0x1d7)],this[_0x1ee945(0x1b0)]=(_0x1fbe83=_0x473f3f[_0x1ee945(0x1d9)])!=null?_0x1fbe83:this[_0x1ee945(0x1b0)],this[_0x1ee945(0x3e8)]=(_0x1156e4=_0x473f3f[_0x1ee945(0x32b)])!=null?_0x1156e4:this[_0x1ee945(0x3e8)],this['_name']=(_0x384817=_0x473f3f['name'])!=null?_0x384817:this[_0x1ee945(0x37d)],this[_0x1ee945(0x21d)]=(_0x78598f=_0x473f3f[_0x1ee945(0x243)])!=null?_0x78598f:this[_0x1ee945(0x21d)],this['_backgroundColor']=(_0x34b2c6=_0x473f3f[_0x1ee945(0x3e0)])!=null?_0x34b2c6:this[_0x1ee945(0x422)],this['transformByState']({'width':_0x473f3f[_0x1ee945(0x294)],'height':_0x473f3f[_0x1ee945(0x323)]});}[_0x540b42(0x250)](_0x3b416a){const _0x24a1a5=_0x540b42,{row:_0x5e311b,column:_0x46948a}=_0x3b416a;if(_0x5e311b>=this[_0x24a1a5(0x3e8)]['startRow']&&_0x5e311b<=this[_0x24a1a5(0x3e8)]['endRow']&&_0x46948a>=this[_0x24a1a5(0x3e8)][_0x24a1a5(0x299)]&&_0x46948a<=this[_0x24a1a5(0x3e8)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x24a1a5(0x1da)]({'hovered':!0x1});}[_0x540b42(0x415)](_0x3aec45){return!0x1;}[_0x540b42(0x401)](_0x3fdfb0){const _0xe84c2e=_0x540b42;_0x409358[_0xe84c2e(0x347)]['drawWith'](_0x3fdfb0,{'width':this[_0xe84c2e(0x294)],'height':this[_0xe84c2e(0x323)],'strokeWidth':_0x5b6387,'stroke':this[_0xe84c2e(0x1d7)],'evented':!0x1,'fill':this[_0xe84c2e(0x422)]}),this[_0xe84c2e(0x1b0)]&&(_0x3fdfb0[_0xe84c2e(0x36d)](),_0x3fdfb0[_0xe84c2e(0x2ca)](0x1,0x0,0x0,0x1,this[_0xe84c2e(0x294)],this[_0xe84c2e(0x21d)]===_0xe84c2e(0x20d)?0x0:-0x14),_0x1f5103[_0xe84c2e(0x2d0)](_0x3fdfb0,{'text':this['_name'],'color':this[_0xe84c2e(0x1d7)]}),_0x3fdfb0[_0xe84c2e(0x327)]());}}var _0x58f444=Object[_0x540b42(0x2fc)],_0x4fa104=(_0x3194e7,_0x432479,_0x3e53bb,_0x40f247)=>{const _0x342c78=_0x540b42;for(var _0x318019=_0x40f247>0x1?void 0x0:_0x40f247?_0x58f444(_0x432479,_0x3e53bb):_0x432479,_0x5d2c54=_0x3194e7[_0x342c78(0x349)]-0x1,_0x5e4c3e;_0x5d2c54>=0x0;_0x5d2c54--)(_0x5e4c3e=_0x3194e7[_0x5d2c54])&&(_0x318019=_0x5e4c3e(_0x318019)||_0x318019);return _0x318019;},_0x58b83d=(_0x236405,_0x583e5b)=>(_0x3c0c87,_0x16d860)=>_0x583e5b(_0x3c0c87,_0x16d860,_0x236405);const _0x279c16=0x1389;let _0x50b460=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x184fbc,_0x3c4cd1,_0x5dcb51,_0x3482e2){const _0x3fa4e3=_0x540b42;super(),_0x432cc5(this,_0x3fa4e3(0x2c9),new Set()),_0x432cc5(this,_0x3fa4e3(0x3a4),null),(this[_0x3fa4e3(0x33b)]=_0x184fbc,this[_0x3fa4e3(0x38c)]=_0x3c4cd1,this[_0x3fa4e3(0x3b0)]=_0x5dcb51,this[_0x3fa4e3(0x242)]=_0x3482e2,this[_0x3fa4e3(0x413)]());}[_0x540b42(0x413)](){const _0x272383=_0x540b42;this[_0x272383(0x38c)][_0x272383(0x260)][_0x272383(0x3ba)](_0x18aa85['takeUntil'](this['dispose$']),_0x18aa85[_0x272383(0x1b9)](_0x21a784=>{const _0x57a6cc=_0x272383;if(_0x21a784){const _0xff8368=_0x21a784['sheetId'];return _0x34f1d4[_0x57a6cc(0x41e)](this[_0x57a6cc(0x3b0)][_0x57a6cc(0x377)](this[_0x57a6cc(0x33b)][_0x57a6cc(0x1f3)]),this['_themeService'][_0x57a6cc(0x263)])[_0x57a6cc(0x3ba)](_0x18aa85['map'](([_0x11467e,_0x5c2b1c])=>{const _0x678870=_0x57a6cc,_0x1e3076=new Map();return _0x11467e[_0x678870(0x3fb)]((_0xeeafdc,_0x272840)=>{const _0x6af535=_0x678870;if(_0xeeafdc[_0x6af535(0x229)]===_0xff8368){const _0x4ff907={..._0xeeafdc};_0x4ff907[_0x6af535(0x345)]=_0x5c2b1c[_0xeeafdc['color']],_0x1e3076[_0x6af535(0x1e2)](_0x272840,_0x4ff907);}}),{'skeleton':_0x21a784,'cursors':_0x1e3076};}));}return _0x34f1d4['of']({'skeleton':null,'cursors':new Map()});}))[_0x272383(0x289)](({skeleton:_0x1f0ff6,cursors:_0x1b4a64})=>{const _0x1c51b0=_0x272383;this[_0x1c51b0(0x3b8)](),_0x1f0ff6&&this['_updateCollabCursors'](_0x1f0ff6,_0x1b4a64);}),this[_0x272383(0x38c)][_0x272383(0x260)][_0x272383(0x289)](_0x52ec04=>{const _0x444395=_0x272383;if(_0x52ec04==null)return;const {skeleton:_0x5e5769}=_0x52ec04,{scene:_0x1404d9}=this[_0x444395(0x33b)];_0x1404d9[_0x444395(0x2d6)]['subscribeEvent'](_0x42b304[_0x444395(0x1fd)](_0x198333=>{const _0x4520f9=_0x444395;var _0x1556e9,_0x4fc1bb;const {offsetX:_0x5a300b,offsetY:_0x361356}=_0x198333,{x:_0x21baab,y:_0x44e3d2}=_0x1404d9[_0x4520f9(0x2a5)](_0x409358['Vector2'][_0x4520f9(0x238)]([_0x5a300b,_0x361356])),{scaleX:_0x78773e,scaleY:_0x45c09f}=_0x1404d9['getAncestorScale'](),_0x1f3190=_0x1404d9['getViewport'](_0x409358[_0x4520f9(0x222)][_0x4520f9(0x42c)]),_0x2c1968=_0x1404d9[_0x4520f9(0x376)](_0x409358[_0x4520f9(0x3d1)]['FromArray']([_0x21baab,_0x44e3d2]),_0x1f3190),_0x11b5fd=_0x5e5769[_0x4520f9(0x1f1)](_0x5a300b,_0x361356,_0x78773e,_0x45c09f,_0x2c1968);((_0x1556e9=this[_0x4520f9(0x3a4)])==null?void 0x0:_0x1556e9[_0x4520f9(0x402)])===_0x11b5fd[_0x4520f9(0x402)]&&((_0x4fc1bb=this[_0x4520f9(0x3a4)])==null?void 0x0:_0x4fc1bb[_0x4520f9(0x287)])===_0x11b5fd['row']||this[_0x4520f9(0x2c9)][_0x4520f9(0x3fb)](_0x454221=>{const _0x5468ce=_0x4520f9;_0x454221[_0x5468ce(0x250)](_0x11b5fd);});},0x64));});}['_updateCollabCursors'](_0x245de2,_0x504158){const _0x47eea3=_0x540b42;var _0x5db6f6;const _0x3edbeb=(_0x5db6f6=this[_0x47eea3(0x38c)][_0x47eea3(0x2c0)]())==null?void 0x0:_0x5db6f6[_0x47eea3(0x283)];if(!_0x3edbeb)return;const _0x1cf4e3=this['_getSheetObject']();if(!_0x1cf4e3)return;this[_0x47eea3(0x2c9)][_0x47eea3(0x3fb)](_0x26e799=>{const _0x251c61=_0x47eea3;_0x26e799[_0x251c61(0x383)]();});const {scene:_0x1d07c}=_0x1cf4e3,_0x18e15e=_0x4d8525(Array[_0x47eea3(0x3dd)](_0x504158['values']()))['map'](_0x43d2a4=>{const _0xcdf9c2=_0x47eea3,{color:_0x1a1311,range:_0x2beb0b,name:_0x11d109,selection:_0x446b2e,sheetID:_0x4f0e98}=_0x43d2a4,{startColumn:_0x3cf27b,startRow:_0x4835c2,endColumn:_0x55f111,endRow:_0x36644c}=_0x2beb0b,_0x2d3c9d=_0x58ab2b[_0xcdf9c2(0x351)](_0x4835c2,_0x3cf27b,_0x1d07c,_0x3edbeb),_0x140493=_0x58ab2b[_0xcdf9c2(0x351)](_0x36644c,_0x55f111,_0x1d07c,_0x3edbeb),{columnHeaderHeightAndMarginTop:_0x4e3c05}=_0x3edbeb,{startX:_0x417512,startY:_0x25a04d}=_0x2d3c9d,{endX:_0x500187,endY:_0x3a02cb}=_0x140493,_0x3c9241=_0x500187-_0x417512,_0x1dca4a=_0x3a02cb-_0x25a04d,_0x2acd5e={'labelPosition':_0x25a04d-_0x4e3c05>=_0x13f46c?'top':_0xcdf9c2(0x20d),'sheetID':_0x4f0e98,'range':_0x2beb0b,'color':_0x1a1311,'name':_0x11d109,'selection':_0x446b2e,'left':_0x417512,'top':_0x25a04d,'width':_0x3c9241,'height':_0x1dca4a,'evented':!0x1,'zIndex':_0x279c16};return new _0x41d68b(_0x11d109,_0x2acd5e);});_0x1d07c[_0x47eea3(0x382)](_0x18e15e,_0xc6f7ea),this[_0x47eea3(0x2c9)]=new Set(_0x18e15e);}['_removeCollabCursors'](){const _0x475c48=_0x540b42;var _0x4a6319;(_0x4a6319=this['_cursors'])==null||_0x4a6319[_0x475c48(0x3fb)](_0x6a0de=>_0x6a0de[_0x475c48(0x26d)]());}[_0x540b42(0x213)](){const _0x13d7c6=_0x540b42;return _0x58ab2b[_0x13d7c6(0x434)](this[_0x13d7c6(0x33b)][_0x13d7c6(0x3b4)],this[_0x13d7c6(0x33b)]);}};_0x50b460=_0x4fa104([_0x58b83d(0x1,_0x42b304[_0x540b42(0x40f)](_0x58ab2b['SheetSkeletonManagerService'])),_0x58b83d(0x2,_0x42b304[_0x540b42(0x40f)](_0x1283a0)),_0x58b83d(0x3,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x1e0)]))],_0x50b460);function _0x4d8525(_0x2021ec){const _0x8f5be1=_0x540b42,_0x43f657=new Map();return _0x2021ec[_0x8f5be1(0x3fb)](_0x408672=>{const _0x52bd99=_0x8f5be1;if(_0x43f657['has'](_0x408672[_0x52bd99(0x247)])){const _0x560187=_0x43f657[_0x52bd99(0x26c)](_0x408672[_0x52bd99(0x247)]);_0x560187[_0x52bd99(0x1dd)]+=',\x20'+_0x408672[_0x52bd99(0x1dd)];}else _0x43f657[_0x52bd99(0x1e2)](_0x408672[_0x52bd99(0x247)],_0x408672);}),Array[_0x8f5be1(0x3dd)](_0x43f657['values']());}var _0x2409fc=function(){const _0x1c2e53=_0x540b42;return _0x2409fc=Object[_0x1c2e53(0x3e9)]||function(_0x44e068){const _0x3307ea=_0x1c2e53;for(var _0x41d914,_0x30fafd=0x1,_0x3a081a=arguments[_0x3307ea(0x349)];_0x30fafd<_0x3a081a;_0x30fafd++){_0x41d914=arguments[_0x30fafd];for(var _0x41100f in _0x41d914)Object['prototype'][_0x3307ea(0x1ee)]['call'](_0x41d914,_0x41100f)&&(_0x44e068[_0x41100f]=_0x41d914[_0x41100f]);}return _0x44e068;},_0x2409fc[_0x1c2e53(0x1bb)](this,arguments);},_0xe507d4=function(_0x4b6109,_0x45fb00){const _0x230eb4=_0x540b42;var _0x500bec={};for(var _0x739d55 in _0x4b6109)Object[_0x230eb4(0x1ec)][_0x230eb4(0x1ee)][_0x230eb4(0x207)](_0x4b6109,_0x739d55)&&_0x45fb00[_0x230eb4(0x33c)](_0x739d55)<0x0&&(_0x500bec[_0x739d55]=_0x4b6109[_0x739d55]);if(_0x4b6109!=null&&typeof Object[_0x230eb4(0x34b)]==_0x230eb4(0x295)){for(var _0x55c66c=0x0,_0x739d55=Object[_0x230eb4(0x34b)](_0x4b6109);_0x55c66c<_0x739d55[_0x230eb4(0x349)];_0x55c66c++)_0x45fb00[_0x230eb4(0x33c)](_0x739d55[_0x55c66c])<0x0&&Object[_0x230eb4(0x1ec)]['propertyIsEnumerable'][_0x230eb4(0x207)](_0x4b6109,_0x739d55[_0x55c66c])&&(_0x500bec[_0x739d55[_0x55c66c]]=_0x4b6109[_0x739d55[_0x55c66c]]);}return _0x500bec;},_0x9f109f=_0x295c09[_0x540b42(0x2bd)](function(_0x9ed686,_0x454f66){const _0x17abc5=_0x540b42;var _0x45eeac=_0x9ed686[_0x17abc5(0x329)],_0x2a0184=_0x9ed686['id'],_0x4c187b=_0x9ed686[_0x17abc5(0x1b8)],_0x2b8703=_0x9ed686[_0x17abc5(0x282)],_0x5bdc91=_0xe507d4(_0x9ed686,[_0x17abc5(0x329),'id',_0x17abc5(0x1b8),_0x17abc5(0x282)]),_0x349f02=_0x17abc5(0x39c)[_0x17abc5(0x311)](_0x2a0184,'\x20')[_0x17abc5(0x311)](_0x4c187b||'')[_0x17abc5(0x399)](),_0x12eda6=_0x295c09[_0x17abc5(0x279)]('_'[_0x17abc5(0x311)](_0x1af5d4()));return _0x36042a(_0x45eeac,''[_0x17abc5(0x311)](_0x2a0184),{'defIds':_0x45eeac['defIds'],'idSuffix':_0x12eda6[_0x17abc5(0x23b)]},_0x2409fc({'ref':_0x454f66,'className':_0x349f02},_0x5bdc91),_0x2b8703);});function _0x36042a(_0x4631e7,_0x5220ec,_0x592756,_0x1c036a,_0x10344f){const _0x47735a=_0x540b42;return _0x295c09[_0x47735a(0x3f8)](_0x4631e7[_0x47735a(0x384)],_0x2409fc(_0x2409fc({'key':_0x5220ec},_0x56749f(_0x4631e7,_0x592756,_0x10344f)),_0x1c036a),(_0x690a48(_0x4631e7,_0x592756)['children']||[])['map'](function(_0x9c04f2,_0x1585bb){const _0x3b79ee=_0x47735a;return _0x36042a(_0x9c04f2,''['concat'](_0x5220ec,'-')[_0x3b79ee(0x311)](_0x4631e7['tag'],'-')[_0x3b79ee(0x311)](_0x1585bb),_0x592756,void 0x0,_0x10344f);}));}function _0x56749f(_0x1923b8,_0x5073e2,_0x51d919){const _0x3bbf84=_0x540b42;var _0x326d8a=_0x2409fc({},_0x1923b8[_0x3bbf84(0x313)]);_0x51d919!=null&&_0x51d919['colorChannel1']&&_0x326d8a[_0x3bbf84(0x2a9)]==='colorChannel1'&&(_0x326d8a[_0x3bbf84(0x2a9)]=_0x51d919[_0x3bbf84(0x356)]),_0x1923b8[_0x3bbf84(0x384)]===_0x3bbf84(0x1fa)&&_0x326d8a['id']&&(_0x326d8a['id']=_0x326d8a['id']+_0x5073e2[_0x3bbf84(0x406)]),Object['entries'](_0x326d8a)[_0x3bbf84(0x3fb)](function(_0x5db902){const _0x187b34=_0x3bbf84;var _0x4c954f=_0x5db902[0x0],_0x39adf9=_0x5db902[0x1];_0x4c954f===_0x187b34(0x1fa)&&typeof _0x39adf9==_0x187b34(0x1f2)&&(_0x326d8a[_0x4c954f]=_0x39adf9[_0x187b34(0x416)](/url\(#(.*)\)/,'url(#$1'[_0x187b34(0x311)](_0x5073e2[_0x187b34(0x406)],')')));});var _0x3e8dba=_0x5073e2[_0x3bbf84(0x28c)];return!_0x3e8dba||_0x3e8dba[_0x3bbf84(0x349)]===0x0||(_0x1923b8[_0x3bbf84(0x384)]===_0x3bbf84(0x372)&&_0x326d8a[_0x3bbf84(0x30d)]&&(_0x326d8a[_0x3bbf84(0x30d)]=_0x326d8a['xlink:href']+_0x5073e2[_0x3bbf84(0x406)]),Object[_0x3bbf84(0x36b)](_0x326d8a)[_0x3bbf84(0x3fb)](function(_0x31f10d){const _0x5caa52=_0x3bbf84;var _0x5a8c37=_0x31f10d[0x0],_0x5ee3ac=_0x31f10d[0x1];typeof _0x5ee3ac==_0x5caa52(0x1f2)&&(_0x326d8a[_0x5a8c37]=_0x5ee3ac['replace'](/url\(#(.*)\)/,_0x5caa52(0x3d0)[_0x5caa52(0x311)](_0x5073e2[_0x5caa52(0x406)],')')));})),_0x326d8a;}function _0x690a48(_0x52d4f3,_0x63a2e8){const _0x556f56=_0x540b42;var _0x172037,_0x95e4cb=_0x63a2e8[_0x556f56(0x28c)];return!_0x95e4cb||_0x95e4cb[_0x556f56(0x349)]===0x0?_0x52d4f3:_0x52d4f3[_0x556f56(0x384)]==='defs'&&(!((_0x172037=_0x52d4f3[_0x556f56(0x3d3)])===null||_0x172037===void 0x0)&&_0x172037[_0x556f56(0x349)])?_0x2409fc(_0x2409fc({},_0x52d4f3),{'children':_0x52d4f3[_0x556f56(0x3d3)][_0x556f56(0x25b)](function(_0x4eb766){const _0x472f25=_0x556f56;return typeof _0x4eb766['attrs']['id']==_0x472f25(0x1f2)&&_0x95e4cb&&_0x95e4cb['indexOf'](_0x4eb766['attrs']['id'])>-0x1?_0x2409fc(_0x2409fc({},_0x4eb766),{'attrs':_0x2409fc(_0x2409fc({},_0x4eb766[_0x472f25(0x313)]),{'id':_0x4eb766[_0x472f25(0x313)]['id']+_0x63a2e8[_0x472f25(0x406)]})}):_0x4eb766;})}):_0x52d4f3;}function _0x1af5d4(){const _0x59b6cd=_0x540b42;return Math[_0x59b6cd(0x355)]()[_0x59b6cd(0x440)](0x24)[_0x59b6cd(0x1b1)](0x2,0x8);}_0x9f109f[_0x540b42(0x2b0)]=_0x540b42(0x336);var _0x14a6a3={'tag':_0x540b42(0x257),'attrs':{'fill':_0x540b42(0x258),'viewBox':_0x540b42(0x253),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x540b42(0x367)},'children':[{'tag':_0x540b42(0x261),'attrs':{'stroke':_0x540b42(0x2fa),'d':_0x540b42(0x443),'strokeLinecap':'round','strokeLinejoin':_0x540b42(0x24a),'strokeWidth':1.2}}]},{'tag':_0x540b42(0x3bf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x540b42(0x261),'attrs':{'fill':_0x540b42(0x363),'d':_0x540b42(0x1a8)}}]}]}],'defIds':[_0x540b42(0x419)]},_0x3caf0b=_0x295c09[_0x540b42(0x2bd)](function(_0x7e2efd,_0x43d69d){const _0x1d874a=_0x540b42;return _0x295c09['createElement'](_0x9f109f,Object[_0x1d874a(0x3e9)]({},_0x7e2efd,{'id':_0x1d874a(0x3d6),'ref':_0x43d69d,'icon':_0x14a6a3}));});_0x3caf0b[_0x540b42(0x2b0)]='OffLineSingle';var _0x492342={'tag':_0x540b42(0x257),'attrs':{'fill':_0x540b42(0x258),'viewBox':'0\x200\x2017\x2016','width':_0x540b42(0x40e),'height':_0x540b42(0x40e)},'children':[{'tag':'g','attrs':{'clipPath':_0x540b42(0x271)},'children':[{'tag':_0x540b42(0x261),'attrs':{'stroke':_0x540b42(0x2fa),'d':_0x540b42(0x3d2),'strokeLinecap':_0x540b42(0x24a),'strokeLinejoin':_0x540b42(0x24a),'strokeWidth':1.2}}]},{'tag':_0x540b42(0x3bf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x540b42(0x42f)},'children':[{'tag':_0x540b42(0x261),'attrs':{'fill':'#fff','d':_0x540b42(0x1a8),'transform':_0x540b42(0x223)}}]}]}],'defIds':[_0x540b42(0x42f)]},_0x1f5772=_0x295c09[_0x540b42(0x2bd)](function(_0x5bfe79,_0x4ec227){const _0x2c93ce=_0x540b42;return _0x295c09[_0x2c93ce(0x3f8)](_0x9f109f,Object[_0x2c93ce(0x3e9)]({},_0x5bfe79,{'id':'on-line-single','ref':_0x4ec227,'icon':_0x492342}));});_0x1f5772[_0x540b42(0x2b0)]='OnLineSingle';function _0x3c0fdf(_0x14c372){const _0x576735=_0x540b42;switch(_0x14c372){case _0x41dc5f[_0x576735(0x362)][_0x576735(0x227)]:return'collabStatus.offline';case _0x41dc5f[_0x576735(0x362)][_0x576735(0x409)]:return _0x576735(0x226);case _0x41dc5f[_0x576735(0x362)]['FETCH_MISS']:return _0x576735(0x27d);case _0x41dc5f[_0x576735(0x362)][_0x576735(0x26b)]:return _0x576735(0x2f9);case _0x41dc5f['CollaborationStatus'][_0x576735(0x2f2)]:case _0x41dc5f[_0x576735(0x362)][_0x576735(0x35d)]:return'collabStatus.syncing';case _0x41dc5f[_0x576735(0x362)][_0x576735(0x306)]:case _0x41dc5f[_0x576735(0x362)][_0x576735(0x2a7)]:return _0x576735(0x431);}}function _0x57b7f0(_0x4be8fb){const _0x56abb1=_0x540b42,{status$:_0x2f39bc}=_0x4be8fb,_0x2e91d4=_0x264d8f['useObservable'](_0x2f39bc,_0x41dc5f[_0x56abb1(0x362)][_0x56abb1(0x26b)]),_0x173266=_0x264d8f[_0x56abb1(0x245)](_0x42b304[_0x56abb1(0x214)]),_0x21a74a=_0x264d8f[_0x56abb1(0x245)](_0x41dc5f[_0x56abb1(0x276)]),_0x21bc6c=_0x2e91d4!==_0x41dc5f[_0x56abb1(0x362)][_0x56abb1(0x227)],_0x5d5555=_0x173266['t'](_0x3c0fdf(_0x2e91d4)),_0x944cbd=_0x21bc6c?_0x4d12c8[_0x56abb1(0x1d4)](_0x1f5772,{}):_0x4d12c8[_0x56abb1(0x1d4)](_0x3caf0b,{}),_0xb68fb3=_0x295c09[_0x56abb1(0x21b)](()=>{const _0x5c83a8=_0x56abb1;_0x21bc6c||_0x21a74a[_0x5c83a8(0x29a)]();},[_0x21bc6c,_0x21a74a]);function _0x38b2fb(){const _0x5b4886=_0x56abb1;return _0x4d12c8[_0x5b4886(0x1f7)](_0x5b4886(0x27e),{'className':_0x5b4886(0x1d1),'onClick':_0xb68fb3,'children':[_0x4d12c8[_0x5b4886(0x1d4)](_0x5b4886(0x27e),{'className':_0x2e5ccb[_0x5b4886(0x333)](_0x5b4886(0x30c),_0x21bc6c?'univer-text-green-500':_0x5b4886(0x392)),'children':_0x944cbd}),_0x4d12c8[_0x5b4886(0x1d4)]('div',{'className':_0x5b4886(0x29e),'children':_0x5d5555})]});}return _0x21bc6c?_0x38b2fb():_0x4d12c8[_0x56abb1(0x1d4)](_0x2e5ccb[_0x56abb1(0x3c2)],{'title':_0x173266['t'](_0x56abb1(0x2f3)),'children':_0x38b2fb()});}var _0x3360ec=Object['getOwnPropertyDescriptor'],_0x5b5135=(_0x6333bc,_0x21054f,_0x2aa315,_0x3edc34)=>{const _0x4c1e56=_0x540b42;for(var _0x45ff5f=_0x3edc34>0x1?void 0x0:_0x3edc34?_0x3360ec(_0x21054f,_0x2aa315):_0x21054f,_0x37abab=_0x6333bc[_0x4c1e56(0x349)]-0x1,_0x500d17;_0x37abab>=0x0;_0x37abab--)(_0x500d17=_0x6333bc[_0x37abab])&&(_0x45ff5f=_0x500d17(_0x45ff5f)||_0x45ff5f);return _0x45ff5f;},_0x3bfd2d=(_0x365a2a,_0x462b8d)=>(_0x50d1a5,_0x3f3feb)=>_0x462b8d(_0x50d1a5,_0x3f3feb,_0x365a2a);_0x41c194['DesktopCollaborationStatusDisplayController']=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x590b6d,_0x358c26,_0x3b8f60,_0x2951a9){const _0x2a6c43=_0x540b42;super(),_0x432cc5(this,_0x2a6c43(0x1fb),new _0x34f1d4['BehaviorSubject'](_0x41dc5f[_0x2a6c43(0x362)][_0x2a6c43(0x26b)])),(this[_0x2a6c43(0x246)]=_0x590b6d,this[_0x2a6c43(0x31b)]=_0x358c26,this['_collaborationController']=_0x3b8f60,this[_0x2a6c43(0x1ff)]=_0x2951a9,this[_0x2a6c43(0x40c)](),this['_initStatusListener']());}[_0x540b42(0x3ae)](){const _0x34d616=_0x540b42;this[_0x34d616(0x2d2)](this[_0x34d616(0x246)][_0x34d616(0x32f)]['pipe'](_0x34f1d4[_0x34d616(0x1b9)](()=>{const _0x441b07=_0x34d616,_0x48e3c9=this[_0x441b07(0x246)][_0x441b07(0x358)]();return _0x48e3c9?this[_0x441b07(0x291)][_0x441b07(0x3da)](_0x48e3c9[_0x441b07(0x3c5)]()):_0x34f1d4['of'](null);}),_0x34f1d4[_0x34d616(0x1b9)](_0x4c2ccb=>_0x4c2ccb?_0x4c2ccb[_0x34d616(0x3ad)]:_0x34f1d4['of'](_0x41dc5f['CollaborationStatus'][_0x34d616(0x26b)])))['subscribe'](_0x204325=>{const _0x580960=_0x34d616;this[_0x580960(0x1fb)][_0x580960(0x28e)](_0x204325);}));}[_0x540b42(0x40c)](){const _0x47d096=_0x540b42;this['disposeWithMe'](this[_0x47d096(0x1ff)]['registerComponent'](_0x264d8f['BuiltInUIPart']['HEADER_MENU'],()=>_0x264d8f['connectInjector'](_0x4bee60({'status$':this[_0x47d096(0x1fb)][_0x47d096(0x1c2)]()}),this[_0x47d096(0x31b)])));}},_0x41c194['DesktopCollaborationStatusDisplayController']=_0x5b5135([_0x3bfd2d(0x0,_0x42b304[_0x540b42(0x1e5)]),_0x3bfd2d(0x1,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x3bfd2d(0x2,_0x42b304[_0x540b42(0x40f)](_0x41dc5f['CollaborationController'])),_0x3bfd2d(0x3,_0x264d8f[_0x540b42(0x3d7)])],_0x41c194[_0x540b42(0x2bf)]);function _0x4bee60(_0x43d20f){const {status$:_0x5adcb0}=_0x43d20f;return function(){const _0x5f13cb=_0x4c0a;return _0x4d12c8[_0x5f13cb(0x1d4)](_0x57b7f0,{'status$':_0x5adcb0});};}var _0x116ab4=Object[_0x540b42(0x2fc)],_0x2f8b8d=(_0x282243,_0x4ec255,_0x3a3358,_0x20db3f)=>{for(var _0x3c1419=_0x20db3f>0x1?void 0x0:_0x20db3f?_0x116ab4(_0x4ec255,_0x3a3358):_0x4ec255,_0x2dcd1f=_0x282243['length']-0x1,_0x5050f8;_0x2dcd1f>=0x0;_0x2dcd1f--)(_0x5050f8=_0x282243[_0x2dcd1f])&&(_0x3c1419=_0x5050f8(_0x3c1419)||_0x3c1419);return _0x3c1419;},_0x2aa075=(_0x271cb3,_0x308610)=>(_0x2e33cf,_0x20f227)=>_0x308610(_0x2e33cf,_0x20f227,_0x271cb3);let _0x5824b5=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x29b65a,_0x58f69f,_0x4bf8a3,_0xf87ab9,_0x5d6962,_0x217cff){const _0x1f95d2=_0x540b42;super(),this[_0x1f95d2(0x297)]=_0x29b65a,this[_0x1f95d2(0x274)]=_0x58f69f,this[_0x1f95d2(0x41a)]=_0x4bf8a3,this['_messageService']=_0xf87ab9,this[_0x1f95d2(0x2df)]=_0x5d6962,this[_0x1f95d2(0x42b)]=_0x217cff,this[_0x1f95d2(0x386)](),this[_0x1f95d2(0x2fd)]();}[_0x540b42(0x386)](){const _0x1b49b7=_0x540b42;this[_0x1b49b7(0x2d2)](this[_0x1b49b7(0x297)][_0x1b49b7(0x3b9)](()=>{const _0x3d4533=_0x1b49b7;if(this[_0x3d4533(0x274)][_0x3d4533(0x27f)][_0x3d4533(0x3fe)])return this[_0x3d4533(0x42b)]['t'](_0x3d4533(0x3ce));}));}[_0x540b42(0x2fd)](){const _0xe32067=_0x540b42;this[_0xe32067(0x2d2)](this[_0xe32067(0x41a)][_0xe32067(0x2ec)][_0xe32067(0x289)](_0x56fdb7=>{const _0x12f577=_0xe32067;_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId'][_0x12f577(0x1fe)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)]['Warning'],'content':this[_0x12f577(0x42b)]['t']('collaboration.single-unit.warning')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x29c)]&&this['_messageService']['show']({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x2c4)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x385))}),_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId'][_0x12f577(0x360)]&&this['_notificationService'][_0x12f577(0x32c)]({'title':this[_0x12f577(0x42b)]['t'](_0x12f577(0x23d)),'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x3f1)),'type':_0x12f577(0x202),'duration':0x0}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x409)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x385))+'('+_0x56fdb7['data']+')'}),_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x2c4)],'content':this[_0x12f577(0x42b)]['t'](_0x56fdb7[_0x12f577(0x3a8)]||'')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x43c)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)]['Warning'],'content':this[_0x12f577(0x42b)]['t']('session.will-retry')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)]['SOCKET_FAILED']&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x2f7))}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x12f577(0x32c)]({'type':_0x2e5ccb['MessageType'][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x3c1))});}));}};_0x5824b5=_0x2f8b8d([_0x2aa075(0x0,_0x264d8f['IBeforeCloseService']),_0x2aa075(0x1,_0x41dc5f['ILocalCacheService']),_0x2aa075(0x2,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x430)])),_0x2aa075(0x3,_0x264d8f[_0x540b42(0x331)]),_0x2aa075(0x4,_0x264d8f[_0x540b42(0x25a)]),_0x2aa075(0x5,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x214)]))],_0x5824b5);const _0x13ce90='collaboration-client-ui.config',_0x374ffe={},_0x3867b1=_0x42b304[_0x540b42(0x3af)](_0x540b42(0x3ca));var _0x4c7f7e=Object[_0x540b42(0x2fc)],_0x2147d4=(_0x568630,_0x3c7c28,_0x5a6cf0,_0x43f068)=>{const _0x325e06=_0x540b42;for(var _0x546f2c=_0x43f068>0x1?void 0x0:_0x43f068?_0x4c7f7e(_0x3c7c28,_0x5a6cf0):_0x3c7c28,_0x18205b=_0x568630[_0x325e06(0x349)]-0x1,_0x2df727;_0x18205b>=0x0;_0x18205b--)(_0x2df727=_0x568630[_0x18205b])&&(_0x546f2c=_0x2df727(_0x546f2c)||_0x546f2c);return _0x546f2c;},_0x3e5462=(_0x939ebc,_0x5421d0)=>(_0x589109,_0x45d5c0)=>_0x5421d0(_0x589109,_0x45d5c0,_0x939ebc);_0x41c194[_0x540b42(0x2da)]=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x41f34d,_0x16c73b,_0x232370,_0x45e97b,_0x47ae5c){const _0x24077e=_0x540b42;super(),this[_0x24077e(0x20f)]=_0x41f34d,this[_0x24077e(0x337)]=_0x16c73b,this['_commandService']=_0x232370,this[_0x24077e(0x312)]=_0x45e97b,_0x47ae5c?_0x47ae5c==null||_0x47ae5c[_0x24077e(0x37e)]()[_0x24077e(0x302)](()=>this[_0x24077e(0x413)]()):(this[_0x24077e(0x337)]['debug']('[CollaborationDataLoaderController]',_0x24077e(0x3a5)),this[_0x24077e(0x413)]());}async[_0x540b42(0x413)](){const _0x122245=_0x540b42,_0x27f5b7=this[_0x122245(0x20f)][_0x122245(0x2b4)](_0x122245(0x3b4)),_0x534af1=this[_0x122245(0x20f)]['getParam'](_0x122245(0x1af)),_0x23419b=this[_0x122245(0x20f)][_0x122245(0x2b4)](_0x122245(0x211));if(!_0x27f5b7||!_0x534af1){this[_0x122245(0x337)][_0x122245(0x272)](_0x122245(0x2ac),_0x122245(0x212));return;}const _0x1bd005=await this[_0x122245(0x312)][_0x122245(0x201)](_0x27f5b7,Number(_0x534af1),_0x23419b);_0x1bd005&&_0x1bd005 instanceof _0x42b304['Workbook']&&this[_0x122245(0x38a)](_0x1bd005);}async['_setupSubUnitSync'](_0x1a3c11){const _0x5c0011=_0x540b42;await this[_0x5c0011(0x3cc)](_0x1a3c11),_0x1a3c11[_0x5c0011(0x37a)][_0x5c0011(0x3ba)](_0x34f1d4[_0x5c0011(0x342)](this[_0x5c0011(0x20c)]))[_0x5c0011(0x289)](_0xcbecc9=>{const _0x2af07f=_0x5c0011;_0xcbecc9&&this[_0x2af07f(0x330)](_0xcbecc9);}),this[_0x5c0011(0x20f)]['urlChange$'][_0x5c0011(0x3ba)](_0x34f1d4[_0x5c0011(0x342)](this[_0x5c0011(0x20c)]))[_0x5c0011(0x289)](()=>this[_0x5c0011(0x3cc)](_0x1a3c11));}[_0x540b42(0x330)](_0x594738,_0x5b6d40=!0x1){const _0x167277=_0x540b42,_0x1483dd=this[_0x167277(0x20f)][_0x167277(0x2b4)](_0x167277(0x211));_0x594738[_0x167277(0x378)]()!==_0x1483dd&&this[_0x167277(0x20f)][_0x167277(0x2de)](_0x167277(0x211),_0x594738['getSheetId'](),_0x5b6d40);}async[_0x540b42(0x3cc)](_0x22ce6a){const _0x4a6e03=_0x540b42;var _0x2c15e2;const _0x160e51=this[_0x4a6e03(0x20f)][_0x4a6e03(0x2b4)](_0x4a6e03(0x211));if(!_0x160e51||!_0x22ce6a[_0x4a6e03(0x25c)](_0x160e51)){const _0x48ee83=_0x22ce6a[_0x4a6e03(0x259)]()[0x0],_0x50549e=_0x22ce6a[_0x4a6e03(0x25c)](_0x48ee83);if(!_0x50549e)return;this['_updateURLWithCurrentState'](_0x50549e,!0x0),await this['_commandService']['executeCommand'](_0x29d4a1['SetWorksheetActivateCommand']['id'],{'unitId':_0x22ce6a[_0x4a6e03(0x3c5)](),'subUnitId':_0x48ee83});return;}((_0x2c15e2=_0x22ce6a['getActiveSheet']())==null?void 0x0:_0x2c15e2[_0x4a6e03(0x378)]())!==_0x160e51&&await this[_0x4a6e03(0x3c3)]['executeCommand'](_0x29d4a1['SetWorksheetActivateCommand']['id'],{'unitId':_0x22ce6a[_0x4a6e03(0x3c5)](),'subUnitId':_0x160e51});}},_0x41c194[_0x540b42(0x2da)]=_0x2147d4([_0x3e5462(0x0,_0x3867b1),_0x3e5462(0x1,_0x42b304['ILogService']),_0x3e5462(0x2,_0x42b304[_0x540b42(0x22f)]),_0x3e5462(0x3,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x20b)])),_0x3e5462(0x4,_0x42b304[_0x540b42(0x2e3)](_0x3b97e1[_0x540b42(0x318)]))],_0x41c194['CollaborationDataLoaderController']);var _0x1ee84f=Object[_0x540b42(0x2fc)],_0x5b82c1=(_0xfeb13d,_0x50ab95,_0x3e99d7,_0x2e4c98)=>{for(var _0x580311=_0x2e4c98>0x1?void 0x0:_0x2e4c98?_0x1ee84f(_0x50ab95,_0x3e99d7):_0x50ab95,_0x569b76=_0xfeb13d['length']-0x1,_0x21c06e;_0x569b76>=0x0;_0x569b76--)(_0x21c06e=_0xfeb13d[_0x569b76])&&(_0x580311=_0x21c06e(_0x580311)||_0x580311);return _0x580311;},_0x253865=(_0x4bb888,_0x5e8602)=>(_0x1b40df,_0x957b76)=>_0x5e8602(_0x1b40df,_0x957b76,_0x4bb888);let _0x456090=class{constructor(_0x1fd617,_0x1c5adb,_0x571a2e){const _0x3b07c2=_0x540b42;this[_0x3b07c2(0x31b)]=_0x1fd617,this[_0x3b07c2(0x38f)]=_0x1c5adb,this[_0x3b07c2(0x3bc)]=_0x571a2e;}[_0x540b42(0x3b6)](_0x47f459){const _0x5e587b=_0x540b42;this[_0x5e587b(0x2d7)](_0x47f459),this[_0x5e587b(0x20a)](_0x47f459);}['transformRemoteChangeset'](_0x1e8504){const _0x3b5f48=_0x540b42,{unitID:_0x5a519c}=_0x1e8504,_0x443791=this[_0x3b5f48(0x3bc)][_0x3b5f48(0x43b)](_0x5a519c)[_0x3b5f48(0x359)](_0x16bb92[_0x3b5f48(0x234)]),{redoCache:_0x1350e8}=_0x443791[_0x3b5f48(0x2ed)]();if(_0x1350e8['length']===0x0)return _0x1e8504;let _0x452490=_0x42b304['Tools'][_0x3b5f48(0x3a0)](_0x1e8504['mutations'][0x0]);for(let _0x190d6b=0x0;_0x190d6b<_0x1350e8[_0x3b5f48(0x349)];_0x190d6b++){const _0x4d78b1={'id':'doc.mutation.rich-text-editing','params':{..._0x1350e8[_0x190d6b]}},_0xeada4=this[_0x3b5f48(0x38f)][_0x3b5f48(0x1c8)](_0x452490,_0x4d78b1,!0x1);if(_0x30bf61[_0x3b5f48(0x2c6)](_0xeada4))throw _0xeada4[_0x3b5f48(0x202)];_0x452490=_0xeada4[_0x3b5f48(0x3a2)];}return{..._0x42b304[_0x3b5f48(0x332)][_0x3b5f48(0x3a0)](_0x1e8504),'mutations':[_0x452490]};}[_0x540b42(0x2d7)](_0x694b62){const _0x53bcb5=_0x540b42,{unitID:_0x7ed5ce}=_0x694b62,_0x300de8=this[_0x53bcb5(0x3bc)][_0x53bcb5(0x43b)](_0x7ed5ce)['with'](_0x16bb92[_0x53bcb5(0x234)]),{undoCache:_0x449718,redoCache:_0x337343}=_0x300de8[_0x53bcb5(0x2ed)]();if(_0x449718[_0x53bcb5(0x349)]===0x0||_0x337343[_0x53bcb5(0x349)]===0x0)return;const _0x41c0dc=[],_0x2d309a=[];let _0x585f8d=_0x42b304[_0x53bcb5(0x332)][_0x53bcb5(0x3a0)](_0x694b62['mutations'][0x0]),_0x22102c=_0x42b304['Tools']['deepClone'](_0x694b62[_0x53bcb5(0x2c1)][0x0]);for(let _0x26e7df=_0x449718[_0x53bcb5(0x349)]-0x1;_0x26e7df>=0x0;_0x26e7df--){const _0x29f928={'id':_0x53bcb5(0x398),'params':{..._0x449718[_0x26e7df]}},_0x540d09={'id':_0x53bcb5(0x398),'params':{..._0x337343[_0x26e7df]}},_0x1ca799=this[_0x53bcb5(0x38f)][_0x53bcb5(0x1c8)](_0x585f8d,_0x29f928,!0x1),_0x55a7ec=this[_0x53bcb5(0x38f)][_0x53bcb5(0x1c8)](_0x22102c,_0x540d09,!0x1);if(_0x30bf61[_0x53bcb5(0x2c6)](_0x1ca799))throw _0x1ca799[_0x53bcb5(0x202)];if(_0x30bf61[_0x53bcb5(0x2c6)](_0x55a7ec))throw _0x55a7ec[_0x53bcb5(0x202)];_0x41c0dc[_0x53bcb5(0x2d5)](_0x1ca799[_0x53bcb5(0x230)][_0x53bcb5(0x374)]),_0x2d309a[_0x53bcb5(0x2d5)](_0x55a7ec[_0x53bcb5(0x230)][_0x53bcb5(0x374)]),_0x585f8d=_0x1ca799[_0x53bcb5(0x3a2)],_0x22102c=_0x55a7ec[_0x53bcb5(0x3a2)];}_0x300de8[_0x53bcb5(0x262)]({'undoCache':_0x41c0dc,'redoCache':_0x2d309a});}[_0x540b42(0x20a)](_0x17e07b){const _0x2eaf19=_0x540b42,{unitID:_0x61b625}=_0x17e07b,_0x5e1269=this[_0x2eaf19(0x3bc)][_0x2eaf19(0x43b)](_0x61b625)[_0x2eaf19(0x359)](_0x16bb92[_0x2eaf19(0x234)]),_0x5b6900=_0x5e1269[_0x2eaf19(0x1c4)]();if(_0x5b6900==null)return;const _0x4dd1a4=[{'id':_0x2eaf19(0x398),'params':{'unitId':_0x17e07b[_0x2eaf19(0x375)],'actions':null,'textRanges':[_0x5b6900]}}],_0x363b0f=this['_transformService'][_0x2eaf19(0x43f)](_0x17e07b,_0x4dd1a4);if(!_0x30bf61[_0x2eaf19(0x308)](_0x363b0f))throw _0x363b0f[_0x2eaf19(0x202)];const _0x325e3d=_0x363b0f[_0x2eaf19(0x230)][0x0][_0x2eaf19(0x374)][_0x2eaf19(0x2ea)];Array['isArray'](_0x325e3d)&&_0x325e3d[_0x2eaf19(0x349)]&&_0x5e1269[_0x2eaf19(0x39f)](_0x325e3d[0x0]);}};_0x456090=_0x5b82c1([_0x253865(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x253865(0x1,_0x30bf61['ITransformService']),_0x253865(0x2,_0x409358[_0x540b42(0x1aa)])],_0x456090);var _0x3274f4=Object[_0x540b42(0x2fc)],_0x57de3b=(_0x383e33,_0x4ae0b5,_0x3d9051,_0x346ef6)=>{const _0x207677=_0x540b42;for(var _0x4e0cfd=_0x346ef6>0x1?void 0x0:_0x346ef6?_0x3274f4(_0x4ae0b5,_0x3d9051):_0x4ae0b5,_0xb6cbe6=_0x383e33[_0x207677(0x349)]-0x1,_0x250b69;_0xb6cbe6>=0x0;_0xb6cbe6--)(_0x250b69=_0x383e33[_0xb6cbe6])&&(_0x4e0cfd=_0x250b69(_0x4e0cfd)||_0x4e0cfd);return _0x4e0cfd;},_0x306648=(_0x297471,_0x4efb3d)=>(_0x321c6c,_0x559cc3)=>_0x4efb3d(_0x321c6c,_0x559cc3,_0x297471);let _0x412db4=class{constructor(_0x4624a1,_0x5092c6,_0x1ab7a3){const _0x1b3f21=_0x540b42;this[_0x1b3f21(0x31b)]=_0x4624a1,this[_0x1b3f21(0x38f)]=_0x5092c6,this[_0x1b3f21(0x28b)]=_0x1ab7a3;}[_0x540b42(0x41c)](_0x36ca81){const _0x4cb39b=_0x540b42;this[_0x4cb39b(0x34a)](_0x36ca81);}[_0x540b42(0x408)](_0xd3e272){const _0x23b33b=_0x540b42,{unitID:_0x2df32e}=_0xd3e272,{collaboration:_0x230f20}=this[_0x23b33b(0x28b)][_0x23b33b(0x40b)](_0x2df32e);if(_0x230f20[_0x23b33b(0x349)]===0x0)return _0xd3e272;let _0x19c2b5=_0x42b304[_0x23b33b(0x332)][_0x23b33b(0x3a0)](_0xd3e272[_0x23b33b(0x2c1)][0x0]);for(let _0x30f4a4=0x0;_0x30f4a4<_0x230f20['length'];_0x30f4a4++){const _0x2b292f={'id':_0x23b33b(0x398),'params':{'unitId':_0x230f20[_0x30f4a4][_0x23b33b(0x1f3)],..._0x230f20[_0x30f4a4][_0x23b33b(0x23f)]}},_0x217b32=this['_transformService'][_0x23b33b(0x1c8)](_0x19c2b5,_0x2b292f,!0x1);if(_0x30bf61[_0x23b33b(0x2c6)](_0x217b32))throw _0x217b32[_0x23b33b(0x202)];_0x19c2b5=_0x217b32[_0x23b33b(0x3a2)];}return{..._0x42b304[_0x23b33b(0x332)][_0x23b33b(0x3a0)](_0xd3e272),'mutations':[_0x19c2b5]};}[_0x540b42(0x34a)](_0x3f6768){const _0x4fe874=_0x540b42,{unitID:_0x3e40c4}=_0x3f6768,{history:_0x52e5f4,collaboration:_0xb319bb}=this[_0x4fe874(0x28b)][_0x4fe874(0x40b)](_0x3e40c4);if(_0x52e5f4[_0x4fe874(0x349)]===0x0&&_0xb319bb['length']===0x0)return;const _0x42395c=[],_0x950c87=[];let _0x2573d4=_0x42b304[_0x4fe874(0x332)]['deepClone'](_0x3f6768[_0x4fe874(0x2c1)][0x0]),_0x29790b=_0x42b304['Tools'][_0x4fe874(0x3a0)](_0x3f6768['mutations'][0x0]);for(let _0x2fa32d=_0x52e5f4[_0x4fe874(0x349)]-0x1;_0x2fa32d>=0x0;_0x2fa32d--){const _0x2c5be0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52e5f4[_0x2fa32d][_0x4fe874(0x1f3)],..._0x52e5f4[_0x2fa32d][_0x4fe874(0x31e)]}},_0x2d2e9e={'id':_0x4fe874(0x398),'params':{'unitId':_0x52e5f4[_0x2fa32d][_0x4fe874(0x1f3)],..._0x52e5f4[_0x2fa32d][_0x4fe874(0x23f)]}},_0x54a774=this[_0x4fe874(0x38f)][_0x4fe874(0x1c8)](_0x2573d4,_0x2c5be0,!0x1),_0x43aff7=this['_transformService']['transformMutation'](_0x29790b,_0x2d2e9e,!0x1);if(_0x30bf61[_0x4fe874(0x2c6)](_0x54a774))throw _0x54a774[_0x4fe874(0x202)];if(_0x30bf61[_0x4fe874(0x2c6)](_0x43aff7))throw _0x43aff7[_0x4fe874(0x202)];_0x42395c['unshift']({..._0x52e5f4[_0x2fa32d],'undoState':_0x54a774[_0x4fe874(0x230)][_0x4fe874(0x374)],'redoState':_0x43aff7['m2Prime'][_0x4fe874(0x374)]}),_0x2573d4=_0x54a774[_0x4fe874(0x3a2)],_0x29790b=_0x43aff7[_0x4fe874(0x3a2)];}_0x2573d4=_0x42b304[_0x4fe874(0x332)][_0x4fe874(0x3a0)](_0x3f6768['mutations'][0x0]),_0x29790b=_0x42b304['Tools'][_0x4fe874(0x3a0)](_0x3f6768[_0x4fe874(0x2c1)][0x0]);for(let _0x502961=_0xb319bb[_0x4fe874(0x349)]-0x1;_0x502961>=0x0;_0x502961--){const _0x507674={'id':_0x4fe874(0x398),'params':{'unitId':_0xb319bb[_0x502961][_0x4fe874(0x1f3)],..._0xb319bb[_0x502961]['undoState']}},_0x2b20a9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb319bb[_0x502961][_0x4fe874(0x1f3)],..._0xb319bb[_0x502961][_0x4fe874(0x23f)]}},_0x56fbce=this[_0x4fe874(0x38f)][_0x4fe874(0x1c8)](_0x2573d4,_0x507674,!0x1),_0x576f2f=this[_0x4fe874(0x38f)]['transformMutation'](_0x29790b,_0x2b20a9,!0x1);if(_0x30bf61[_0x4fe874(0x2c6)](_0x56fbce))throw _0x56fbce[_0x4fe874(0x202)];if(_0x30bf61['isTransformMutationFailure'](_0x576f2f))throw _0x576f2f[_0x4fe874(0x202)];_0x950c87[_0x4fe874(0x2d5)]({..._0xb319bb[_0x502961],'undoState':_0x56fbce[_0x4fe874(0x230)][_0x4fe874(0x374)],'redoState':_0x576f2f[_0x4fe874(0x230)][_0x4fe874(0x374)]}),_0x2573d4=_0x56fbce[_0x4fe874(0x3a2)],_0x29790b=_0x576f2f['m1Prime'];}this[_0x4fe874(0x28b)][_0x4fe874(0x1c1)](_0x3e40c4,{'history':_0x42395c,'collaboration':_0x950c87});}};_0x412db4=_0x57de3b([_0x306648(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x306648(0x1,_0x30bf61[_0x540b42(0x2e1)]),_0x306648(0x2,_0x42b304[_0x540b42(0x40f)](_0x16bb92[_0x540b42(0x1e9)]))],_0x412db4);var _0x418016=Object[_0x540b42(0x2fc)],_0x49dc57=(_0x455757,_0x3273e0,_0x496d6b,_0x40e9e2)=>{const _0x4fa1cf=_0x540b42;for(var _0x3aa1b7=_0x40e9e2>0x1?void 0x0:_0x40e9e2?_0x418016(_0x3273e0,_0x496d6b):_0x3273e0,_0x26e1c4=_0x455757[_0x4fa1cf(0x349)]-0x1,_0x2ab93c;_0x26e1c4>=0x0;_0x26e1c4--)(_0x2ab93c=_0x455757[_0x26e1c4])&&(_0x3aa1b7=_0x2ab93c(_0x3aa1b7)||_0x3aa1b7);return _0x3aa1b7;},_0x3719ec=(_0x474e5c,_0x2cc503)=>(_0x3082e3,_0x220c55)=>_0x2cc503(_0x3082e3,_0x220c55,_0x474e5c);let _0x554bd6=class{constructor(_0x7a1edb,_0x12ab9c){const _0x38121f=_0x540b42;this[_0x38121f(0x31b)]=_0x7a1edb,this[_0x38121f(0x38f)]=_0x12ab9c;}['transformSelections'](_0x4ab075){const _0x2b21e2=_0x540b42;var _0x2e5277;const _0x400c9a=this[_0x2b21e2(0x31b)][_0x2b21e2(0x26c)](_0x4e9cff['DocSelectionManagerService']),_0x28e53f=(_0x2e5277=_0x400c9a[_0x2b21e2(0x3e3)]())!=null?_0x2e5277:[];if(_0x28e53f[_0x2b21e2(0x349)]===0x0)return;const _0x377649=_0x4ab075[_0x2b21e2(0x375)],_0x3f1111=[{'id':_0x2b21e2(0x398),'params':{'unitId':_0x377649,'actions':null,'textRanges':_0x28e53f}}],_0x2b9ce2=this[_0x2b21e2(0x38f)][_0x2b21e2(0x43f)](_0x4ab075,_0x3f1111);if(!_0x30bf61[_0x2b21e2(0x308)](_0x2b9ce2))throw _0x2b9ce2[_0x2b21e2(0x202)];const _0x3107e6=_0x2b9ce2[_0x2b21e2(0x230)][0x0][_0x2b21e2(0x374)][_0x2b21e2(0x2ea)];Array[_0x2b21e2(0x208)](_0x3107e6)&&_0x3107e6[_0x2b21e2(0x349)]&&_0x400c9a[_0x2b21e2(0x2e2)](_0x3107e6,{'unitId':_0x377649,'subUnitId':_0x377649},!0x1);}};_0x554bd6=_0x49dc57([_0x3719ec(0x0,_0x42b304['Inject'](_0x42b304[_0x540b42(0x2f8)])),_0x3719ec(0x1,_0x30bf61['ITransformService'])],_0x554bd6);var _0x301bb6=Object[_0x540b42(0x2fc)],_0x477528=(_0x5daf6a,_0x5d4b20,_0x167256,_0x261b96)=>{for(var _0x28628f=_0x261b96>0x1?void 0x0:_0x261b96?_0x301bb6(_0x5d4b20,_0x167256):_0x5d4b20,_0x299993=_0x5daf6a['length']-0x1,_0x441b4a;_0x299993>=0x0;_0x299993--)(_0x441b4a=_0x5daf6a[_0x299993])&&(_0x28628f=_0x441b4a(_0x28628f)||_0x28628f);return _0x28628f;},_0x148473=(_0x10703b,_0x2a2b09)=>(_0x4401f5,_0x5e1f91)=>_0x2a2b09(_0x4401f5,_0x5e1f91,_0x10703b);let _0x11670f=class extends _0x42b304['Disposable']{constructor(_0x41c2e,_0x19a143,_0x462daa,_0x424033,_0x236eb6,_0x5b4003,_0x1ec236,_0x22c36b){const _0x7caba4=_0x540b42;super(),_0x432cc5(this,_0x7caba4(0x1fb),new _0x34f1d4[(_0x7caba4(0x225))](_0x41dc5f[_0x7caba4(0x362)]['NOT_COLLAB'])),(this[_0x7caba4(0x28b)]=_0x41c2e,this[_0x7caba4(0x291)]=_0x19a143,this[_0x7caba4(0x1d5)]=_0x462daa,this[_0x7caba4(0x240)]=_0x424033,this[_0x7caba4(0x348)]=_0x236eb6,this['_docSyncEditingCollabCursorService']=_0x5b4003,this[_0x7caba4(0x35c)]=_0x1ec236,this[_0x7caba4(0x42b)]=_0x22c36b,this[_0x7caba4(0x3cb)]());}[_0x540b42(0x3cb)](){const _0x41b5fb=_0x540b42;this[_0x41b5fb(0x2d2)](this[_0x41b5fb(0x291)][_0x41b5fb(0x407)][_0x41b5fb(0x289)](_0x512568=>{const _0x96b13f=_0x41b5fb,_0x2c9322=this[_0x96b13f(0x28b)][_0x96b13f(0x2bb)][_0x96b13f(0x289)](_0x3294bc=>{const _0xa714be=_0x96b13f;if(_0x3294bc==null)return;const {unitId:_0x43944f,redoState:_0x53761c,commandId:_0x13187d}=_0x3294bc;if(_0x43944f!==_0x512568[_0xa714be(0x375)])return;const _0x671af={'id':_0x13187d,'type':_0x42b304['CommandType'][_0xa714be(0x2c7)],'params':{'unitId':_0x43944f,'actions':_0x53761c[_0xa714be(0x396)],'textRanges':null}};_0x512568[_0xa714be(0x31d)](_0x671af);});if(_0x512568['disposeWithMe'](_0x2c9322),_0x512568 instanceof _0x41dc5f[_0x96b13f(0x417)]){const _0x27344c={'onTransformIME':_0x2bfdd2=>this[_0x96b13f(0x1d5)][_0x96b13f(0x3b6)](_0x2bfdd2),'onTransformState':_0x3bd0a2=>this[_0x96b13f(0x240)][_0x96b13f(0x41c)](_0x3bd0a2),'onTransformSelections':_0x116a54=>this['_docTransformSelectionsService'][_0x96b13f(0x1d2)](_0x116a54),'onSyncEditingCollabCursor':_0x19be96=>this[_0x96b13f(0x28a)][_0x96b13f(0x3c7)](_0x19be96),'onTransformRemoteChangesetByIMECache':_0x7acb86=>this[_0x96b13f(0x1d5)][_0x96b13f(0x408)](_0x7acb86),'onTransformRemoteChangesetByStateCache':_0x4f7f90=>this[_0x96b13f(0x240)][_0x96b13f(0x408)](_0x4f7f90)};_0x512568[_0x96b13f(0x366)](_0x27344c);}}));}};_0x11670f=_0x477528([_0x148473(0x0,_0x42b304['Inject'](_0x16bb92[_0x540b42(0x1e9)])),_0x148473(0x1,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x41f)])),_0x148473(0x2,_0x42b304[_0x540b42(0x40f)](_0x456090)),_0x148473(0x3,_0x42b304['Inject'](_0x412db4)),_0x148473(0x4,_0x42b304['Inject'](_0x554bd6)),_0x148473(0x5,_0x42b304[_0x540b42(0x40f)](_0x42f10f)),_0x148473(0x6,_0x264d8f[_0x540b42(0x331)]),_0x148473(0x7,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x214)]))],_0x11670f);var _0x53cb2b=Object['getOwnPropertyDescriptor'],_0x3bfaa3=(_0x24bfcb,_0x13ae76,_0x530b32,_0xaf4e29)=>{for(var _0x493dea=_0xaf4e29>0x1?void 0x0:_0xaf4e29?_0x53cb2b(_0x13ae76,_0x530b32):_0x13ae76,_0x3b22d5=_0x24bfcb['length']-0x1,_0x2f9704;_0x3b22d5>=0x0;_0x3b22d5--)(_0x2f9704=_0x24bfcb[_0x3b22d5])&&(_0x493dea=_0x2f9704(_0x493dea)||_0x493dea);return _0x493dea;},_0x215d82=(_0x1e6e27,_0x291bcc)=>(_0x45825c,_0x1aa32f)=>_0x291bcc(_0x45825c,_0x1aa32f,_0x1e6e27);let _0x338c4b=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x4a3c0d,_0x55f493,_0xf688b2){const _0x753b5f=_0x540b42;super(),_0x432cc5(this,'_cachedData',new Map()),_0x432cc5(this,_0x753b5f(0x39e),new Map()),_0x432cc5(this,_0x753b5f(0x43a),!0x1),(this['_configService']=_0x4a3c0d,this[_0x753b5f(0x314)]=_0x55f493,this[_0x753b5f(0x3c8)]=_0xf688b2);}[_0x540b42(0x2e8)](){const _0x8083f1=_0x540b42;this[_0x8083f1(0x43a)]=!0x0;}[_0x540b42(0x41b)](){this['_disabled']=!0x1;}get[_0x540b42(0x27f)](){const _0x1563bc=_0x540b42;return this[_0x1563bc(0x39e)];}['dispose'](){const _0x22cd28=_0x540b42;this[_0x22cd28(0x3b2)]()[_0x22cd28(0x302)](()=>super[_0x22cd28(0x26d)]());}async[_0x540b42(0x3d9)](_0x167614){const _0x36e948=_0x540b42;return this[_0x36e948(0x43a)]?null:this[_0x36e948(0x314)][_0x36e948(0x2b9)](_0x41dc5f[_0x36e948(0x27b)](_0x167614));}async[_0x540b42(0x343)](_0x47ddb5,_0x561385){const _0x42dfed=_0x540b42;return!!this[_0x42dfed(0x314)][_0x42dfed(0x29b)](_0x47ddb5,_0x561385);}[_0x540b42(0x25e)](_0x26e2ad,_0x17021f,_0x1015fd,_0x21aeaf){const _0x14f67f=_0x540b42,_0x490c06=this[_0x14f67f(0x3c8)]['getCurrentRevOfUnit'](_0x26e2ad);this[_0x14f67f(0x235)][_0x14f67f(0x1e2)](_0x26e2ad,{'unitID':_0x26e2ad,'type':_0x17021f,'awaitingChangeset':_0x1015fd,'mutations':_0x21aeaf,'rev':_0x490c06}),this[_0x14f67f(0x39e)][_0x14f67f(0x25d)](_0x26e2ad)||this[_0x14f67f(0x1d8)](_0x26e2ad);}[_0x540b42(0x1d8)](_0x2a660e){const _0x4b301d=_0x540b42,_0x1239df=this[_0x4b301d(0x1bd)]();_0x1239df===0x0?this[_0x4b301d(0x24b)](_0x2a660e):this['_saveTaskMap']['set'](_0x2a660e,setTimeout(()=>this[_0x4b301d(0x24b)](_0x2a660e),_0x1239df));}[_0x540b42(0x1bd)](){const _0x1018b5=_0x540b42;var _0x5a2350;return(_0x5a2350=this[_0x1018b5(0x209)][_0x1018b5(0x1ca)](_0x41dc5f[_0x1018b5(0x1c9)]))!=null?_0x5a2350:_0x41dc5f[_0x1018b5(0x40d)];}[_0x540b42(0x24b)](_0x4210e0){const _0x30e818=_0x540b42,_0x107449=this[_0x30e818(0x39e)][_0x30e818(0x26c)](_0x4210e0);return _0x107449!==void 0x0&&window[_0x30e818(0x427)](_0x107449),this['_localStorageService']['setItem'](_0x41dc5f[_0x30e818(0x27b)](_0x4210e0),this[_0x30e818(0x235)]['get'](_0x4210e0))[_0x30e818(0x302)](()=>this['_saveTaskMap']['delete'](_0x4210e0));}async['exhaustSavingTask'](){const _0x2e8286=_0x540b42,_0x44fd40=[];this[_0x2e8286(0x39e)][_0x2e8286(0x3fb)]((_0x4c79d3,_0x2bc5d0)=>{const _0x5a961e=_0x2e8286;window[_0x5a961e(0x427)](_0x4c79d3),_0x44fd40[_0x5a961e(0x2ef)](this['_saveCache'](_0x2bc5d0)[_0x5a961e(0x302)](()=>{const _0x2abfaa=_0x5a961e;this[_0x2abfaa(0x39e)][_0x2abfaa(0x278)](_0x2bc5d0);}));}),await Promise[_0x2e8286(0x252)](_0x44fd40);}};_0x338c4b=_0x3bfaa3([_0x215d82(0x0,_0x42b304[_0x540b42(0x3f9)]),_0x215d82(0x1,_0x42b304[_0x540b42(0x217)]),_0x215d82(0x2,_0x42b304['Inject'](_0x30bf61[_0x540b42(0x39d)]))],_0x338c4b);class _0x3f58ef extends _0x42b304['RxDisposable']{constructor(){const _0xb9765=_0x540b42;super(),_0x432cc5(this,'urlChange$'),this[_0xb9765(0x394)]=_0x34f1d4[_0xb9765(0x29f)](window,_0xb9765(0x444))[_0xb9765(0x3ba)](_0x34f1d4[_0xb9765(0x342)](this[_0xb9765(0x20c)]),_0x34f1d4[_0xb9765(0x32a)](0x1),_0x34f1d4[_0xb9765(0x325)](void 0x0));}['setParam'](_0x4d4ad3,_0x21dde9,_0x51afc2=!0x1){const _0x3441a2=_0x540b42,_0x38f85b=new URL(window[_0x3441a2(0x2ff)][_0x3441a2(0x3f5)]);_0x38f85b[_0x3441a2(0x3f3)]['set'](_0x4d4ad3,_0x21dde9),_0x51afc2?window[_0x3441a2(0x2f0)][_0x3441a2(0x310)]('','',_0x38f85b['toString']()):window[_0x3441a2(0x2f0)][_0x3441a2(0x3ee)]('','',_0x38f85b[_0x3441a2(0x440)]());}[_0x540b42(0x2c8)](_0x4009b6,_0x5b1315=!0x1){const _0xed1617=_0x540b42,_0x56e3af=new URL(window['location'][_0xed1617(0x3f5)]);_0x56e3af[_0xed1617(0x3f3)][_0xed1617(0x278)](_0x4009b6),_0x5b1315?window['history'][_0xed1617(0x310)]('','',_0x56e3af[_0xed1617(0x440)]()):window[_0xed1617(0x2f0)][_0xed1617(0x3ee)]('','',_0x56e3af['toString']());}[_0x540b42(0x2b4)](_0x18c400){const _0x3ac5b6=_0x540b42;var _0x5a5c08;return(_0x5a5c08=new URL(window[_0x3ac5b6(0x2ff)][_0x3ac5b6(0x3f5)])[_0x3ac5b6(0x3f3)][_0x3ac5b6(0x26c)](_0x18c400))!=null?_0x5a5c08:void 0x0;}}var _0x46e4da=Object[_0x540b42(0x446)],_0x1f8801=Object[_0x540b42(0x2fc)],_0x2ec6a8=(_0x38ee64,_0x435eb2,_0x59f6ce)=>_0x435eb2 in _0x38ee64?_0x46e4da(_0x38ee64,_0x435eb2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f6ce}):_0x38ee64[_0x435eb2]=_0x59f6ce,_0x432493=(_0x433276,_0x198a9b,_0xbe8d6b,_0x3529bf)=>{const _0x51345e=_0x540b42;for(var _0x17f2d5=_0x3529bf>0x1?void 0x0:_0x3529bf?_0x1f8801(_0x198a9b,_0xbe8d6b):_0x198a9b,_0x5863c5=_0x433276[_0x51345e(0x349)]-0x1,_0x16b792;_0x5863c5>=0x0;_0x5863c5--)(_0x16b792=_0x433276[_0x5863c5])&&(_0x17f2d5=_0x16b792(_0x17f2d5)||_0x17f2d5);return _0x17f2d5;},_0x39a37c=(_0x1d8f0c,_0x9c9cb6)=>(_0x3e6708,_0x580444)=>_0x9c9cb6(_0x3e6708,_0x580444,_0x1d8f0c),_0xe622b6=(_0x513077,_0x824cc3,_0x24bd47)=>_0x2ec6a8(_0x513077,_0x824cc3+'',_0x24bd47);const _0x5da211=_0x540b42(0x2e6);_0x41c194[_0x540b42(0x2a8)]=class extends _0x42b304[_0x540b42(0x328)]{constructor(_0x59d305=_0x374ffe,_0x17e4dd,_0x5ad4b6,_0x344d5d){const _0x16d352=_0x540b42;super(),this['_config']=_0x59d305,this[_0x16d352(0x3bc)]=_0x17e4dd,this['_injector']=_0x5ad4b6,this[_0x16d352(0x209)]=_0x344d5d;const {..._0x24fda7}=_0x42b304[_0x16d352(0x3c6)]({},_0x374ffe,this[_0x16d352(0x290)]);this['_configService']['setConfig'](_0x13ce90,_0x24fda7);}[_0x540b42(0x39a)](){const _0x57b2bc=_0x540b42;this[_0x57b2bc(0x2b6)](),this['_initDependencies']();}[_0x540b42(0x205)](){const _0x5a96fe=_0x540b42;this[_0x5a96fe(0x2ae)]();}[_0x540b42(0x2b6)](){const _0x18d307=_0x540b42;var _0x4f83ae;const _0x407f24=[[_0x4fb46b],[_0x554bd6],[_0x456090],[_0x412db4],[_0x42f10f],[_0x3867b1,{'useClass':_0x3f58ef}],[_0x43144b[_0x18d307(0x2a6)],{'useClass':_0x43144b['WebSocketService']}],[_0x41dc5f[_0x18d307(0x403)],{'useClass':_0x338c4b}],[_0x41c194[_0x18d307(0x2bf)]],[_0x11670f],[_0x5824b5],[_0x1283a0],[_0x55be9f],[_0x41c194[_0x18d307(0x2da)]]];_0x42b304[_0x18d307(0x3df)](this[_0x18d307(0x31b)],_0x42b304['mergeOverrideWithDependencies'](_0x407f24,(_0x4f83ae=this['_config'])==null?void 0x0:_0x4f83ae['override']));}[_0x540b42(0x2ae)](){const _0x123761=_0x540b42;this[_0x123761(0x2d2)](this[_0x123761(0x3bc)][_0x123761(0x438)](_0x42b304[_0x123761(0x22e)][_0x123761(0x270)],[_0x50cbf7])),this[_0x123761(0x2d2)](this['_renderManagerService']['registerRenderModule'](_0x42b304[_0x123761(0x22e)][_0x123761(0x33f)],[_0x50b460]));}['_initDependencies'](){const _0x419d84=_0x540b42;_0x42b304['touchDependencies'](this[_0x419d84(0x31b)],[[_0x1283a0],[_0x41c194[_0x419d84(0x2bf)]],[_0x11670f],[_0x5824b5],[_0x41c194[_0x419d84(0x2da)]]]);}},_0xe622b6(_0x41c194[_0x540b42(0x2a8)],'pluginName',_0x5da211),_0x41c194['UniverCollaborationClientUIPlugin']=_0x432493([_0x42b304[_0x540b42(0x1d0)](_0x41dc5f[_0x540b42(0x36f)]),_0x39a37c(0x1,_0x409358[_0x540b42(0x1aa)]),_0x39a37c(0x2,_0x42b304['Inject'](_0x42b304['Injector'])),_0x39a37c(0x3,_0x42b304[_0x540b42(0x3f9)])],_0x41c194['UniverCollaborationClientUIPlugin']);var _0xb7a0ab=Object['getOwnPropertyDescriptor'],_0x50a037=(_0x585d85,_0x3ede2b,_0x53d232,_0x27fcb7)=>{const _0x240f2c=_0x540b42;for(var _0xe54788=_0x27fcb7>0x1?void 0x0:_0x27fcb7?_0xb7a0ab(_0x3ede2b,_0x53d232):_0x3ede2b,_0x133579=_0x585d85[_0x240f2c(0x349)]-0x1,_0x61772f;_0x133579>=0x0;_0x133579--)(_0x61772f=_0x585d85[_0x133579])&&(_0xe54788=_0x61772f(_0xe54788)||_0xe54788);return _0xe54788;},_0x3648c7=(_0x3782d3,_0xcab2a8)=>(_0x2ec708,_0x44b227)=>_0xcab2a8(_0x2ec708,_0x44b227,_0x3782d3);_0x41c194[_0x540b42(0x1fc)]=class extends _0x41dc5f[_0x540b42(0x200)]{constructor(_0xae7b77,_0xa1e454,_0x1a36c3,_0x595e93,_0x543c82){super(_0xae7b77,_0xa1e454,_0x1a36c3,_0x595e93,_0x543c82);}async['createSocket'](_0x252202){const _0xeac686=_0x540b42,_0x271fbd=await this[_0xeac686(0x3a9)](),_0x71fe4=this[_0xeac686(0x439)](_0x252202,_0x271fbd);return this[_0xeac686(0x2be)](_0x71fe4);}[_0x540b42(0x439)](_0x7d7c66,_0x2bb4b8){const _0x26eff3=_0x540b42,_0x5d56d8=typeof window>'u'?new URL(_0x7d7c66):new URL(_0x7d7c66,window['location']['origin']);_0x5d56d8['searchParams']['set']('sessionTicket',_0x2bb4b8);const _0x2485e5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x26eff3(0x34e)]);return _0x2485e5[_0x26eff3(0x26c)](_0x26eff3(0x350))&&_0x5d56d8[_0x26eff3(0x3f3)]['set'](_0x26eff3(0x350),_0x2485e5['get'](_0x26eff3(0x350))),_0x5d56d8[_0x26eff3(0x440)]();}async[_0x540b42(0x3a9)](){const _0x40eb33=_0x540b42;var _0x32f723,_0xdd251b,_0x4b2d1e;const _0x5860dd=this[_0x40eb33(0x209)][_0x40eb33(0x1ca)](_0x41dc5f[_0x40eb33(0x232)]),_0x4caf26=(_0x32f723=_0x5860dd==null?void 0x0:_0x5860dd['wsSessionTicketUrl'])!=null?_0x32f723:_0x41dc5f[_0x40eb33(0x268)];return(_0x4b2d1e=(_0xdd251b=(await this[_0x40eb33(0x35e)][_0x40eb33(0x26c)](_0x4caf26,{'headers':{'Content-Type':'application/json'}}))[_0x40eb33(0x35a)])==null?void 0x0:_0xdd251b[_0x40eb33(0x391)])!=null?_0x4b2d1e:'';}},_0x41c194[_0x540b42(0x1fc)]=_0x50a037([_0x3648c7(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x3648c7(0x1,_0x42b304['Inject'](_0x43144b[_0x540b42(0x3e6)])),_0x3648c7(0x2,_0x42b304['IConfigService']),_0x3648c7(0x3,_0x42b304[_0x540b42(0x24e)]),_0x3648c7(0x4,_0x30bf61[_0x540b42(0x1ed)])],_0x41c194[_0x540b42(0x1fc)]);const _0x12f7ba=0x7530,_0x3c342c=_0x540b42(0x36a);class _0x59ff3a extends _0x42b304[_0x540b42(0x31f)]{constructor(){const _0x1078bb=_0x540b42;super(),_0x432cc5(this,'_id',_0x42b304['generateRandomId']()),_0x432cc5(this,_0x1078bb(0x321),new Set()),_0x432cc5(this,'_unitOnClients',new Map()),_0x432cc5(this,_0x1078bb(0x1e8),null),_0x432cc5(this,_0x1078bb(0x381),new Map()),_0x432cc5(this,_0x1078bb(0x2ee),new Map()),this[_0x1078bb(0x413)]();}[_0x540b42(0x26d)](){const _0x315a04=_0x540b42;super[_0x315a04(0x26d)](),this['_clearOtherTimers'][_0x315a04(0x3fb)]((_0x1135d4,_0x5c56c7)=>this[_0x315a04(0x373)](_0x5c56c7)),this[_0x315a04(0x1e8)]&&window[_0x315a04(0x285)](this[_0x315a04(0x1e8)]);}[_0x540b42(0x1f6)](_0x48d997){const _0x33381f=_0x540b42;return this['_ensureSubject'](_0x48d997)[_0x33381f(0x3ba)](_0x34f1d4[_0x33381f(0x1be)]());}[_0x540b42(0x418)](_0x2bc80d){const _0x4c17b7=_0x540b42;this[_0x4c17b7(0x321)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x4c17b7(0x321)][_0x4c17b7(0x296)](_0x2bc80d),this[_0x4c17b7(0x425)]({'type':0x0,'memberID':this[_0x4c17b7(0x267)],'unitIDs':[_0x2bc80d],'isForwarded':!0x1});}['disposeUnit'](_0x467676){const _0x392400=_0x540b42;this[_0x392400(0x321)][_0x392400(0x278)](_0x467676),this['_selfUnitIDs'][_0x392400(0x3fe)]===0x0&&this[_0x392400(0x1e8)]&&window[_0x392400(0x285)](this['_heartbeatTimer']);}[_0x540b42(0x413)](){const _0x5277b5=_0x540b42;this[_0x5277b5(0x2d2)](_0x42b304['toDisposable'](_0x34f1d4[_0x5277b5(0x29f)](window,_0x5277b5(0x2dc))[_0x5277b5(0x289)](_0x24d67a=>{const _0x1316db=_0x5277b5;if(_0x24d67a['key']!==_0x3c342c||!_0x24d67a['newValue'])return;const _0x4b07d8=JSON[_0x1316db(0x32e)](_0x24d67a['newValue']);this[_0x1316db(0x3f7)](_0x4b07d8);}))),window[_0x5277b5(0x442)]('unload',()=>this[_0x5277b5(0x425)]({'type':0x1,'memberID':this[_0x5277b5(0x267)],'unitIDs':Array[_0x5277b5(0x3dd)](this[_0x5277b5(0x321)])}));}['_handleEvent'](_0x3d2e74){const _0x1de61e=_0x540b42;switch(_0x3d2e74[_0x1de61e(0x1af)]){case 0x0:this[_0x1de61e(0x1ad)](_0x3d2e74);break;case 0x1:this[_0x1de61e(0x436)](_0x3d2e74);break;case 0x2:this[_0x1de61e(0x445)](_0x3d2e74);break;}}[_0x540b42(0x1ad)](_0x4f71f4){const _0x309d75=_0x540b42,{unitIDs:_0x32304d,memberID:_0x2cef76,isForwarded:_0x29f039}=_0x4f71f4;_0x32304d[_0x309d75(0x3fb)](_0x4edd90=>{const _0x2a00ba=_0x309d75;if(!_0x29f039&&this[_0x2a00ba(0x2f4)][_0x2a00ba(0x25d)](_0x4edd90)&&this[_0x2a00ba(0x31a)](_0x4edd90)[_0x2a00ba(0x28e)](_0x41dc5f[_0x2a00ba(0x2ba)]['OTHER_CLIENTS_EDITING']),!this[_0x2a00ba(0x2f4)]['has'](_0x4edd90)||!this['_unitOnClients']['get'](_0x4edd90)[_0x2a00ba(0x25d)](_0x2cef76)){const _0x12c194=this[_0x2a00ba(0x2f4)][_0x2a00ba(0x26c)](_0x4edd90)||new Set();_0x12c194[_0x2a00ba(0x296)](_0x2cef76),this[_0x2a00ba(0x2f4)][_0x2a00ba(0x1e2)](_0x4edd90,_0x12c194),this[_0x2a00ba(0x3bb)](_0x2cef76);}}),_0x29f039||this[_0x309d75(0x425)]({'type':0x0,'memberID':this[_0x309d75(0x267)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x540b42(0x3bb)](_0x254571){const _0x3c55a3=_0x540b42;this[_0x3c55a3(0x373)](_0x254571);const _0x48a4ce=window[_0x3c55a3(0x352)](()=>{const _0x1938e1=_0x3c55a3;this[_0x1938e1(0x2f4)][_0x1938e1(0x3fb)](_0x4378f7=>{const _0x3d86fb=_0x1938e1;_0x4378f7[_0x3d86fb(0x278)](_0x254571);});},_0x12f7ba*0x2);this[_0x3c55a3(0x381)]['set'](_0x254571,_0x48a4ce);}[_0x540b42(0x373)](_0x26dca2){const _0x1ffa31=_0x540b42;if(this['_clearOtherTimers'][_0x1ffa31(0x25d)](_0x26dca2)){const _0x4e2045=this[_0x1ffa31(0x381)]['get'](_0x26dca2);_0x4e2045&&window[_0x1ffa31(0x427)](_0x4e2045),this[_0x1ffa31(0x381)][_0x1ffa31(0x1e2)](_0x26dca2,null);}}[_0x540b42(0x436)](_0x36181c){const _0x527a33=_0x540b42,{memberID:_0x44d327,unitIDs:_0x228173}=_0x36181c;_0x228173[_0x527a33(0x3fb)](_0x4c81c1=>{const _0x18e749=_0x527a33;var _0x473186;const _0x3d16ab=this[_0x18e749(0x2f4)]['get'](_0x4c81c1);_0x3d16ab&&(_0x3d16ab[_0x18e749(0x278)](_0x44d327),(_0x473186=this['_ensureSubject'](_0x4c81c1))==null||_0x473186['next'](_0x3d16ab[_0x18e749(0x3fe)]===0x0?_0x41dc5f[_0x18e749(0x2ba)][_0x18e749(0x26f)]:_0x41dc5f[_0x18e749(0x2ba)]['OTHER_CLIENTS_EDITING']));}),this[_0x527a33(0x373)](_0x44d327);}['_handleHeartbeatEvent'](_0x1e870d){const _0x300fbe=_0x540b42;this[_0x300fbe(0x3bb)](_0x1e870d[_0x300fbe(0x42e)]);}[_0x540b42(0x425)](_0x98f9bd){const _0x40a925=_0x540b42;localStorage['setItem'](_0x3c342c,JSON[_0x40a925(0x353)](_0x98f9bd));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x12f7ba);}[_0x540b42(0x31a)](_0x3672ac){const _0x10e4bb=_0x540b42;return this[_0x10e4bb(0x2ee)][_0x10e4bb(0x25d)](_0x3672ac)||this[_0x10e4bb(0x2ee)]['set'](_0x3672ac,new _0x34f1d4[(_0x10e4bb(0x225))](_0x41dc5f['UnitStatus'][_0x10e4bb(0x26f)])),this[_0x10e4bb(0x2ee)][_0x10e4bb(0x26c)](_0x3672ac);}}var _0x178dda=(_0xc38c51=>(_0xc38c51[_0xc38c51[_0x540b42(0x2b2)]=0x0]=_0x540b42(0x2b2),_0xc38c51[_0xc38c51['OK']=0x1]='OK',_0xc38c51[_0xc38c51[_0x540b42(0x219)]=0x2]=_0x540b42(0x219),_0xc38c51[_0xc38c51[_0x540b42(0x360)]=0x3]=_0x540b42(0x360),_0xc38c51[_0xc38c51[_0x540b42(0x346)]=0x4]=_0x540b42(0x346),_0xc38c51[_0xc38c51['UNAUTHENTICATED']=0x5]=_0x540b42(0x31c),_0xc38c51[_0xc38c51[_0x540b42(0x1ac)]=0x6]=_0x540b42(0x1ac),_0xc38c51[_0xc38c51[_0x540b42(0x2c2)]=0x7]=_0x540b42(0x2c2),_0xc38c51[_0xc38c51[_0x540b42(0x429)]=0x8]=_0x540b42(0x429),_0xc38c51[_0xc38c51[_0x540b42(0x28f)]=0x9]=_0x540b42(0x28f),_0xc38c51[_0xc38c51[_0x540b42(0x324)]=0xa]='LOGIN_FAILED',_0xc38c51[_0xc38c51[_0x540b42(0x3eb)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xc38c51[_0xc38c51[_0x540b42(0x2b1)]=0x1771]=_0x540b42(0x2b1),_0xc38c51[_0xc38c51[_0x540b42(0x364)]=0x1772]=_0x540b42(0x364),_0xc38c51[_0xc38c51[_0x540b42(0x2dd)]=0x1773]=_0x540b42(0x2dd),_0xc38c51[_0xc38c51['APPLY_REJECT']=0x1b59]=_0x540b42(0x2c3),_0xc38c51[_0xc38c51[_0x540b42(0x423)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc38c51[_0xc38c51['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xc38c51[_0xc38c51[_0x540b42(0x2ad)]=0x1b5c]=_0x540b42(0x2ad),_0xc38c51[_0xc38c51['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xc38c51[_0xc38c51['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x540b42(0x1e1),_0xc38c51[_0xc38c51[_0x540b42(0x1c6)]=0x2329]=_0x540b42(0x1c6),_0xc38c51[_0xc38c51['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x540b42(0x2d9),_0xc38c51[_0xc38c51['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x540b42(0x1c3),_0xc38c51[_0xc38c51[_0x540b42(0x1eb)]=0x232c]=_0x540b42(0x1eb),_0xc38c51[_0xc38c51['LICENSE_DISTRO_REJECTED']=0x232d]=_0x540b42(0x322),_0xc38c51[_0xc38c51[_0x540b42(0x3bd)]=0x2711]=_0x540b42(0x3bd),_0xc38c51[_0xc38c51[_0x540b42(0x1c7)]=0x2712]=_0x540b42(0x1c7),_0xc38c51[_0xc38c51[_0x540b42(0x37b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc38c51[_0xc38c51[_0x540b42(0x3aa)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc38c51[_0xc38c51[_0x540b42(0x3dc)]=0x271a]=_0x540b42(0x3dc),_0xc38c51[_0xc38c51[_0x540b42(0x307)]=0x271b]=_0x540b42(0x307),_0xc38c51[_0xc38c51[_0x540b42(0x34d)]=0x2af9]=_0x540b42(0x34d),_0xc38c51[_0xc38c51[_0x540b42(0x281)]=0x2ee1]=_0x540b42(0x281),_0xc38c51[_0xc38c51[_0x540b42(0x3ed)]=0x2ee2]='INVALID_INVITE_CODE',_0xc38c51[_0xc38c51['INVITE_CODE_REQUIRED']=0x2ee3]=_0x540b42(0x36c),_0xc38c51[_0xc38c51[_0x540b42(0x264)]=0x2ee4]=_0x540b42(0x264),_0xc38c51[_0xc38c51['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x540b42(0x29d),_0xc38c51[_0xc38c51[_0x540b42(0x2f6)]=0x32c9]=_0x540b42(0x2f6),_0xc38c51[_0xc38c51[_0x540b42(0x404)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc38c51[_0xc38c51['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x540b42(0x2fb),_0xc38c51[_0xc38c51['UNRECOGNIZED']=-0x1]=_0x540b42(0x21f),_0xc38c51))(_0x178dda||{}),_0x1bed8a=Object[_0x540b42(0x2fc)],_0x41a32d=(_0x3c9a30,_0x34eefc,_0x1384ae,_0x53f64f)=>{const _0x560239=_0x540b42;for(var _0x35fbe4=_0x53f64f>0x1?void 0x0:_0x53f64f?_0x1bed8a(_0x34eefc,_0x1384ae):_0x34eefc,_0x21aa8d=_0x3c9a30[_0x560239(0x349)]-0x1,_0x3d8e30;_0x21aa8d>=0x0;_0x21aa8d--)(_0x3d8e30=_0x3c9a30[_0x21aa8d])&&(_0x35fbe4=_0x3d8e30(_0x35fbe4)||_0x35fbe4);return _0x35fbe4;},_0x37a20d=(_0x14e517,_0x35d815)=>(_0x5bb545,_0x1615be)=>_0x35d815(_0x5bb545,_0x1615be,_0x14e517);_0x41c194['RemoteUniscriptService']=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x52eae7,_0x5987a9,_0x71027b){const _0x579710=_0x540b42;super(),this[_0x579710(0x224)]=_0x52eae7,this[_0x579710(0x35e)]=_0x5987a9,this[_0x579710(0x209)]=_0x71027b;}async[_0x540b42(0x388)](_0x59c133,_0x3c6b63,_0x35fb69,..._0x1c8289){const _0x306f38=_0x540b42;var _0x5bb8e4,_0x37cff9,_0x1a0afd,_0x1992be;const _0x55ef0e=this[_0x306f38(0x224)]['getFocusedUnit']();if(!_0x55ef0e)throw new Error(_0x306f38(0x433));const _0x4713c5=((_0x5bb8e4=this['_configService'][_0x306f38(0x1ca)](_0x41dc5f[_0x306f38(0x1b3)]))!=null?_0x5bb8e4:_0x41dc5f[_0x306f38(0x41d)])+'/'+_0x59c133+'/run/'+_0x3c6b63,_0x4ccc82=new URL(window[_0x306f38(0x2ff)][_0x306f38(0x3f5)]),_0x129ca1={'scriptId':_0x59c133,'runId':(_0x37cff9=_0x4ccc82[_0x306f38(0x3f3)]['get']('runId'))!=null?_0x37cff9:'','function':_0x3c6b63,'unitId':_0x55ef0e[_0x306f38(0x3c5)](),'argsOfFunction':JSON[_0x306f38(0x353)](_0x1c8289),'invokeId':(_0x1a0afd=_0x35fb69[_0x306f38(0x2b5)])!=null?_0x1a0afd:'','executionId':(_0x1992be=_0x35fb69[_0x306f38(0x361)])!=null?_0x1992be:''};try{const _0x4193b2=await this[_0x306f38(0x35e)][_0x306f38(0x255)](_0x4713c5,{'body':_0x129ca1});return _0x4193b2[_0x306f38(0x35a)][_0x306f38(0x202)]&&_0x4193b2[_0x306f38(0x35a)]['error'][_0x306f38(0x1ab)]!==_0x178dda['OK']?_0x306f38(0x2b8):_0x4193b2[_0x306f38(0x35a)][_0x306f38(0x39b)];}catch{return _0x306f38(0x2b8);}}},_0x41c194[_0x540b42(0x316)]=_0x41a32d([_0x37a20d(0x0,_0x42b304['IUniverInstanceService']),_0x37a20d(0x1,_0x42b304[_0x540b42(0x40f)](_0x43144b['HTTPService'])),_0x37a20d(0x2,_0x42b304[_0x540b42(0x3f9)])],_0x41c194[_0x540b42(0x316)]),_0x41c194[_0x540b42(0x300)]=_0x57b7f0,_0x41c194[_0x540b42(0x2af)]=_0x3867b1,_0x41c194[_0x540b42(0x33a)]=_0x41d68b,_0x41c194['WebBrowserSingleActiveUnitService']=_0x59ff3a,_0x41c194[_0x540b42(0x317)]=_0x3f58ef,Object[_0x540b42(0x446)](_0x41c194,Symbol['toStringTag'],{'value':'Module'});}));