@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250410-b7c4a5b → 0.6.10-nightly.202504101607

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 _0x2bd3(_0x38c55a,_0x45bfe8){const _0x4c8e47=_0x4c8e();return _0x2bd3=function(_0x2bd356,_0x36c270){_0x2bd356=_0x2bd356-0x1a0;let _0x5b90af=_0x4c8e47[_0x2bd356];return _0x5b90af;},_0x2bd3(_0x38c55a,_0x45bfe8);}(function(_0x7f22c3,_0x25bab4){const _0xde08ee=_0x2bd3,_0xacda23=_0x7f22c3();while(!![]){try{const _0x49ac8=-parseInt(_0xde08ee(0x38d))/0x1*(parseInt(_0xde08ee(0x1d2))/0x2)+-parseInt(_0xde08ee(0x256))/0x3+-parseInt(_0xde08ee(0x333))/0x4+-parseInt(_0xde08ee(0x40a))/0x5*(-parseInt(_0xde08ee(0x307))/0x6)+parseInt(_0xde08ee(0x33f))/0x7*(-parseInt(_0xde08ee(0x3f7))/0x8)+-parseInt(_0xde08ee(0x276))/0x9+parseInt(_0xde08ee(0x298))/0xa;if(_0x49ac8===_0x25bab4)break;else _0xacda23['push'](_0xacda23['shift']());}catch(_0x581c02){_0xacda23['push'](_0xacda23['shift']());}}}(_0x4c8e,0xb1c1c),function(_0x48ea5e,_0x1416b5){const _0x3458fd=_0x2bd3;typeof exports=='object'&&typeof module<'u'?_0x1416b5(exports,require(_0x3458fd(0x230)),require('@univerjs/core'),require(_0x3458fd(0x3b6)),require(_0x3458fd(0x3d4)),require(_0x3458fd(0x2e0)),require('@univerjs/drawing'),require(_0x3458fd(0x2c9)),require(_0x3458fd(0x374)),require(_0x3458fd(0x2a6)),require(_0x3458fd(0x365)),require(_0x3458fd(0x209)),require('rxjs/operators'),require(_0x3458fd(0x353)),require(_0x3458fd(0x258)),require(_0x3458fd(0x384)),require(_0x3458fd(0x31d)),require(_0x3458fd(0x429)),require(_0x3458fd(0x2da))):typeof define==_0x3458fd(0x338)&&define['amd']?define([_0x3458fd(0x2ce),_0x3458fd(0x230),_0x3458fd(0x334),_0x3458fd(0x3b6),_0x3458fd(0x3d4),_0x3458fd(0x2e0),_0x3458fd(0x24d),'rxjs',_0x3458fd(0x374),'@univerjs-pro/collaboration',_0x3458fd(0x365),_0x3458fd(0x209),'rxjs/operators',_0x3458fd(0x353),_0x3458fd(0x258),_0x3458fd(0x384),_0x3458fd(0x31d),_0x3458fd(0x429),_0x3458fd(0x2da)],_0x1416b5):(_0x48ea5e=typeof globalThis<'u'?globalThis:_0x48ea5e||self,_0x1416b5(_0x48ea5e['UniverProCollaborationClientUi']={},_0x48ea5e[_0x3458fd(0x1d3)],_0x48ea5e[_0x3458fd(0x42f)],_0x48ea5e[_0x3458fd(0x1d8)],_0x48ea5e[_0x3458fd(0x21e)],_0x48ea5e['UniverDocsUi'],_0x48ea5e[_0x3458fd(0x3e8)],_0x48ea5e[_0x3458fd(0x2c9)],_0x48ea5e[_0x3458fd(0x25e)],_0x48ea5e['UniverProCollaboration'],_0x48ea5e[_0x3458fd(0x311)],_0x48ea5e['UniverSheets'],_0x48ea5e[_0x3458fd(0x2c9)][_0x3458fd(0x300)],_0x48ea5e['UniverSheetsUi'],_0x48ea5e[_0x3458fd(0x352)],_0x48ea5e[_0x3458fd(0x1f5)],_0x48ea5e['UniverDesign'],_0x48ea5e[_0x3458fd(0x352)],_0x48ea5e[_0x3458fd(0x227)]));}(this,function(_0x233897,_0x3cd4b3,_0x2f047f,_0x228785,_0x25af06,_0x35f299,_0x4f12b8,_0x5c56d7,_0x220baf,_0x10f325,_0x4afa7e,_0xafcc68,_0x9aeac,_0x472d06,_0x41d205,_0x598c76,_0x128cbd,_0x2525f4,_0x53afa0){'use strict';const _0x57234b=_0x2bd3;var _0x110295=Object['defineProperty'],_0x2eed13=(_0x1ddce1,_0x3f45cd,_0x83d0e5)=>_0x3f45cd in _0x1ddce1?_0x110295(_0x1ddce1,_0x3f45cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x83d0e5}):_0x1ddce1[_0x3f45cd]=_0x83d0e5,_0x2a7ff2=(_0xd46c8d,_0x5c1cff,_0x41eea3)=>_0x2eed13(_0xd46c8d,typeof _0x5c1cff!='symbol'?_0x5c1cff+'':_0x5c1cff,_0x41eea3),_0x1ba4c6=Object[_0x57234b(0x32c)],_0x5d57d5=(_0x5757bc,_0x1fbdb7,_0xd571a8,_0x257dd3)=>{const _0x595fc8=_0x57234b;for(var _0x5b76b4=_0x257dd3>0x1?void 0x0:_0x257dd3?_0x1ba4c6(_0x1fbdb7,_0xd571a8):_0x1fbdb7,_0x595934=_0x5757bc[_0x595fc8(0x394)]-0x1,_0x1ae614;_0x595934>=0x0;_0x595934--)(_0x1ae614=_0x5757bc[_0x595934])&&(_0x5b76b4=_0x1ae614(_0x5b76b4)||_0x5b76b4);return _0x5b76b4;},_0x3e892a=(_0x8557bc,_0x42ecd6)=>(_0x2558d5,_0x116100)=>_0x42ecd6(_0x2558d5,_0x116100,_0x8557bc);let _0x3d6cb5=class extends _0x2f047f['RxDisposable']{constructor(_0x421587,_0x29be59){const _0xc1423a=_0x57234b;super(),this['_docClipboardService']=_0x421587,this[_0xc1423a(0x1c4)]=_0x29be59,this['_init']();}[_0x57234b(0x1b3)](){const _0xa83912=_0x57234b,_0x3f0bf8=this;this[_0xa83912(0x3aa)](this[_0xa83912(0x37d)][_0xa83912(0x343)]({'onBeforePasteImage':async _0x1edd05=>{const _0x5e593f=_0xa83912,_0x536349=await _0x3f0bf8['_imageIoService'][_0x5e593f(0x275)](_0x1edd05);return _0x536349?{'source':_0x536349['source'],'imageSourceType':_0x536349[_0x5e593f(0x2b3)]}:null;}}));}};_0x3d6cb5=_0x5d57d5([_0x3e892a(0x0,_0x35f299['IDocClipboardService']),_0x3e892a(0x1,_0x4f12b8[_0x57234b(0x312)])],_0x3d6cb5);const _0x1bd2d9=[_0x57234b(0x2f6),_0x57234b(0x234),_0x57234b(0x390),_0x57234b(0x335),'blue400',_0x57234b(0x2f7)];class _0x45519b extends _0x2f047f[_0x57234b(0x387)]{constructor(){const _0xd4cabb=_0x57234b;super(...arguments),_0x2a7ff2(this,'_assignedColors',new Map()),_0x2a7ff2(this,_0xd4cabb(0x267),0x0);}[_0x57234b(0x371)](_0xd0f7d6){const _0x342747=_0x57234b;if(this[_0x342747(0x326)][_0x342747(0x2de)](_0xd0f7d6))return this['_assignedColors']['get'](_0xd0f7d6);const _0x295c62=_0x1bd2d9[this[_0x342747(0x267)]];return this[_0x342747(0x267)]=(this[_0x342747(0x267)]+0x1)%_0x1bd2d9[_0x342747(0x394)],this[_0x342747(0x326)]['set'](_0xd0f7d6,_0x295c62),_0x295c62;}}function _0x2539fe(_0x2fb848){const _0x4955b3=_0x57234b;let _0x2291cc='';for(const _0x4b4c04 of _0x2fb848){const {startOffset:_0x4ddfa6,endOffset:_0x151129,isActive:_0x1d5bae,rangeType:_0x280981,segmentId:_0x3e9fab,segmentPage:_0x3a024e}=_0x4b4c04;_0x2291cc[_0x4955b3(0x394)]&&(_0x2291cc+=','),_0x2291cc+=_0x4ddfa6+':'+_0x151129+':'+(_0x1d5bae?'1':'0')+':'+_0x280981+':'+_0x3e9fab+':'+_0x3a024e;}return _0x2291cc;}function _0x5814c9(_0x4a4ee7){const _0x312374=_0x57234b,_0x12c492=_0x4a4ee7['split'](','),_0x5b9a68=[];for(const _0x193675 of _0x12c492){const [_0x3c3895,_0x1e5ed9,_0x45b536,_0xaef3d8,_0x2b07e2,_0x1061ca]=_0x193675[_0x312374(0x323)](':');_0x5b9a68[_0x312374(0x34b)]({'startOffset':Number(_0x3c3895),'endOffset':Number(_0x1e5ed9),'collapsed':_0x3c3895===_0x1e5ed9,'isActive':_0x45b536==='1','rangeType':_0xaef3d8===_0x2f047f[_0x312374(0x380)][_0x312374(0x419)]?_0x2f047f[_0x312374(0x380)]['TEXT']:_0x2f047f[_0x312374(0x380)][_0x312374(0x3c5)],'segmentId':typeof _0x2b07e2==_0x312374(0x210)?String(_0x2b07e2):'','segmentPage':Number(_0x1061ca!=null?_0x1061ca:-0x1)});}return _0x5b9a68[_0x312374(0x218)](_0x1d8ef2=>_0x1d8ef2[_0x312374(0x233)])||(_0x5b9a68[0x0]['isActive']=!0x0),_0x5b9a68;}class _0x2dfd39 extends _0x2f047f[_0x57234b(0x1e7)]{constructor(){const _0x207b6f=_0x57234b;super(...arguments),_0x2a7ff2(this,_0x207b6f(0x3e7),new _0x5c56d7[(_0x207b6f(0x284))](null)),_0x2a7ff2(this,_0x207b6f(0x295),this[_0x207b6f(0x3e7)][_0x207b6f(0x1a1)]());}[_0x57234b(0x288)](_0x58baeb){const _0x107856=_0x57234b,{unitID:_0x62cefa,memberID:_0x27523f,textRanges:_0x288536}=_0x58baeb,_0x4aefb4=_0x2539fe(_0x288536);if(_0x4aefb4==='')return;const _0xd3f4c5={'unitID':_0x62cefa,'memberID':_0x27523f,'selection':_0x4aefb4};this['_collabCursorState$'][_0x107856(0x273)](_0xd3f4c5);}}var _0x57fe33=Object['getOwnPropertyDescriptor'],_0x10111d=(_0x1b5cd9,_0x2c5ab5,_0x524a7f,_0xa5c8ff)=>{const _0x5e9d44=_0x57234b;for(var _0x2409de=_0xa5c8ff>0x1?void 0x0:_0xa5c8ff?_0x57fe33(_0x2c5ab5,_0x524a7f):_0x2c5ab5,_0x29e0c1=_0x1b5cd9[_0x5e9d44(0x394)]-0x1,_0x5eb40d;_0x29e0c1>=0x0;_0x29e0c1--)(_0x5eb40d=_0x1b5cd9[_0x29e0c1])&&(_0x2409de=_0x5eb40d(_0x2409de)||_0x2409de);return _0x2409de;},_0x13763e=(_0x1ae576,_0x291e8f)=>(_0x34df9e,_0x563397)=>_0x291e8f(_0x34df9e,_0x563397,_0x1ae576);const _0x75d48b=0x12c,_0x26f21f=0x64;let _0x1331e4=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x22d4b2,_0x59760e,_0x19d0e3,_0x430b5d,_0x50bde5,_0x556aba,_0x12c4bd,_0x35ce63,_0x18d8bf){const _0x2ab22d=_0x57234b;super(),_0x2a7ff2(this,'_online',!0x1),_0x2a7ff2(this,_0x2ab22d(0x1b3),!0x1),_0x2a7ff2(this,'_cursorInfo$',new _0x5c56d7[(_0x2ab22d(0x284))](new Map())),_0x2a7ff2(this,'cursorInfo$',this[_0x2ab22d(0x293)]['asObservable']()),_0x2a7ff2(this,'_roomMembers$',new _0x5c56d7['BehaviorSubject']([])),_0x2a7ff2(this,_0x2ab22d(0x27f),this[_0x2ab22d(0x232)]['pipe'](_0x5c56d7[_0x2ab22d(0x1cb)](_0x75d48b))),_0x2a7ff2(this,'_updateLocalCursor',_0x2f047f[_0x2ab22d(0x2cd)](_0x109096=>{const _0x5a0b89=_0x2ab22d,_0x36e953={'eventID':_0x10f325[_0x5a0b89(0x279)][_0x5a0b89(0x1ca)],'data':{'unitID':this[_0x5a0b89(0x21f)],'memberID':this[_0x5a0b89(0x37e)][_0x5a0b89(0x2fa)](),'selection':_0x2539fe(_0x109096)}};this[_0x5a0b89(0x37e)]['send'](_0x36e953,this[_0x5a0b89(0x21f)]);},_0x26f21f)),(this[_0x2ab22d(0x21f)]=_0x22d4b2,this['_session']=_0x59760e,this[_0x2ab22d(0x2b8)]=_0x19d0e3,this['_colorAssignService']=_0x430b5d,this[_0x2ab22d(0x3b2)]=_0x50bde5,this['_syncEditingCollabCursorService']=_0x556aba,this[_0x2ab22d(0x2a0)]=_0x12c4bd,this[_0x2ab22d(0x3d5)]=_0x35ce63,this[_0x2ab22d(0x3c2)]=_0x18d8bf);}get[_0x57234b(0x421)](){const _0x2f2224=_0x57234b;return this[_0x2f2224(0x293)][_0x2f2224(0x229)]();}get[_0x57234b(0x33a)](){const _0x22abf9=_0x57234b;return this[_0x22abf9(0x232)][_0x22abf9(0x229)]();}[_0x57234b(0x2e6)](){const _0x58141b=_0x57234b;super[_0x58141b(0x2e6)](),this[_0x58141b(0x293)]['next'](new Map()),this['_cursorInfo$'][_0x58141b(0x2ae)](),this['_roomMembers$'][_0x58141b(0x273)]([]),this[_0x58141b(0x232)][_0x58141b(0x2ae)]();}[_0x57234b(0x3a9)](){const _0x3dc7eb=_0x57234b;this[_0x3dc7eb(0x1b3)]||(this[_0x3dc7eb(0x1b3)]=!0x0,this[_0x3dc7eb(0x37e)][_0x3dc7eb(0x2d0)]['pipe'](_0x5c56d7[_0x3dc7eb(0x399)](this[_0x3dc7eb(0x314)]))['subscribe'](_0x17a147=>{const _0x2c297b=_0x3dc7eb;_0x17a147===_0x3cd4b3[_0x2c297b(0x265)]['ONLINE']?this[_0x2c297b(0x264)]():this[_0x2c297b(0x1b8)]();}),this[_0x3dc7eb(0x37e)]['event$']['pipe'](_0x5c56d7['takeUntil'](this[_0x3dc7eb(0x314)]))[_0x3dc7eb(0x2d2)](_0x183c2a=>{const _0x2a2d64=_0x3dc7eb,_0x566856=_0x183c2a['eventID'];_0x566856===_0x10f325[_0x2a2d64(0x279)]['UPDATE_CURSOR']&&this[_0x2a2d64(0x2f5)](_0x183c2a),_0x566856===_0x10f325[_0x2a2d64(0x279)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x183c2a);}),this['disposeWithMe'](this[_0x3dc7eb(0x3c2)][_0x3dc7eb(0x321)](_0x2126f0=>{const _0x55cb76=_0x3dc7eb,_0x170bd9=_0x2126f0['params'];_0x170bd9!=null&&this[_0x55cb76(0x1db)]&&_0x2126f0['id']===_0x220baf['SetTextSelectionsOperation']['id']&&_0x170bd9[_0x55cb76(0x3ac)]===this[_0x55cb76(0x21f)]&&_0x170bd9[_0x55cb76(0x40b)]===!0x1&&_0x170bd9[_0x55cb76(0x408)][_0x55cb76(0x394)]>0x0&&this[_0x55cb76(0x2b6)](_0x170bd9[_0x55cb76(0x408)]);})),this[_0x3dc7eb(0x242)][_0x3dc7eb(0x295)][_0x3dc7eb(0x297)](_0x5c56d7[_0x3dc7eb(0x399)](this[_0x3dc7eb(0x314)]))[_0x3dc7eb(0x2d2)](_0x308abc=>{const _0x4b357b=_0x3dc7eb;if((_0x308abc==null?void 0x0:_0x308abc['unitID'])!==this[_0x4b357b(0x21f)])return;const _0x40f3f0={'eventID':_0x10f325[_0x4b357b(0x279)][_0x4b357b(0x1ca)],'data':_0x308abc};this[_0x4b357b(0x2f5)](_0x40f3f0);}),this[_0x3dc7eb(0x3aa)](this[_0x3dc7eb(0x3c2)][_0x3dc7eb(0x321)](_0xd05062=>{const _0x59c6be=_0x3dc7eb;if(_0xd05062[_0x59c6be(0x31b)]==null)return;const _0x43bbcc=_0xd05062[_0x59c6be(0x31b)];if(_0xd05062['id']!==_0x220baf['RichTextEditingMutation']['id']||_0x43bbcc[_0x59c6be(0x3ac)]!==this[_0x59c6be(0x21f)])return;const _0x1b4f55={'id':_0x59c6be(0x253),'params':_0x43bbcc},_0x835248=this['cursorInfo'];for(const [_0x308210,_0x2a5f32]of _0x835248){const _0x3aacbd={'id':_0x59c6be(0x253),'params':{'unitId':this[_0x59c6be(0x21f)],'actions':null,'textRanges':_0x2a5f32[_0x59c6be(0x408)]}},_0x5b776d=this[_0x59c6be(0x2a0)][_0x59c6be(0x42a)](_0x1b4f55,_0x3aacbd,!0x1);if(_0x10f325['isTransformMutationFailure'](_0x5b776d))throw _0x5b776d['error'];_0x835248[_0x59c6be(0x3cf)](_0x308210,{..._0x2a5f32,'ranges':_0x5b776d['m2Prime'][_0x59c6be(0x31b)][_0x59c6be(0x304)]});}queueMicrotask(()=>{const _0x59d6f0=_0x59c6be;this[_0x59d6f0(0x293)][_0x59d6f0(0x273)](_0x835248);});})));}[_0x57234b(0x2f5)](_0x3ef0cf){const _0x187055=_0x57234b;var _0xa4bb70,_0x15b572;const {memberID:_0x375842,selection:_0x73e2d9}=_0x3ef0cf['data'],_0x530302=_0x5814c9(_0x73e2d9),_0x56ff57=(_0x15b572=(_0xa4bb70=this[_0x187055(0x3b2)]['getMember'](this[_0x187055(0x21f)],_0x375842))==null?void 0x0:_0xa4bb70[_0x187055(0x350)])!=null?_0x15b572:_0x187055(0x34f),_0x4d246b={'color':this['_colorAssignService'][_0x187055(0x371)](_0x375842),'name':_0x56ff57,'ranges':_0x530302},_0x35ee89=this['cursorInfo'];_0x35ee89[_0x187055(0x3cf)](_0x375842,_0x4d246b),this[_0x187055(0x293)][_0x187055(0x273)](_0x35ee89);}[_0x57234b(0x3fd)](_0x173389){const _0x56518d=_0x57234b,{memberID:_0x44aeea}=_0x173389[_0x56518d(0x318)],_0x2cdfb3=this[_0x56518d(0x421)];_0x2cdfb3[_0x56518d(0x39a)](_0x44aeea),this[_0x56518d(0x293)][_0x56518d(0x273)](_0x2cdfb3);}[_0x57234b(0x264)](){const _0x442f65=_0x57234b;var _0x4a5ffd;if(this[_0x442f65(0x1db)]=!0x0,((_0x4a5ffd=this[_0x442f65(0x3d5)]['getFocusedUnit']())==null?void 0x0:_0x4a5ffd[_0x442f65(0x3a6)]())!==this['unitID'])return;const _0x588e4b=this[_0x442f65(0x2b8)]['get'](_0x220baf[_0x442f65(0x302)])[_0x442f65(0x1ac)]();Array[_0x442f65(0x3a5)](_0x588e4b)&&_0x588e4b[_0x442f65(0x394)]>0x0&&this[_0x442f65(0x2b6)](_0x588e4b);}[_0x57234b(0x1b8)](){this['_online']=!0x1;}};_0x1331e4=_0x10111d([_0x13763e(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3fb)])),_0x13763e(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x45519b)),_0x13763e(0x4,_0x2f047f['Inject'](_0x3cd4b3[_0x57234b(0x201)])),_0x13763e(0x5,_0x2f047f[_0x57234b(0x2b9)](_0x2dfd39)),_0x13763e(0x6,_0x10f325[_0x57234b(0x407)]),_0x13763e(0x7,_0x2f047f[_0x57234b(0x309)]),_0x13763e(0x8,_0x2f047f[_0x57234b(0x283)])],_0x1331e4);var _0x31a2ec=Object['getOwnPropertyDescriptor'],_0xaa4b3b=(_0x1b3b3f,_0x138e1f,_0x1e3cbc,_0x4ebef9)=>{const _0x5f133a=_0x57234b;for(var _0x56151f=_0x4ebef9>0x1?void 0x0:_0x4ebef9?_0x31a2ec(_0x138e1f,_0x1e3cbc):_0x138e1f,_0xcb381e=_0x1b3b3f[_0x5f133a(0x394)]-0x1,_0x54e671;_0xcb381e>=0x0;_0xcb381e--)(_0x54e671=_0x1b3b3f[_0xcb381e])&&(_0x56151f=_0x54e671(_0x56151f)||_0x56151f);return _0x56151f;},_0x477542=(_0x48ecc0,_0xb8b427)=>(_0x592573,_0x421e89)=>_0xb8b427(_0x592573,_0x421e89,_0x48ecc0);const _0x13f565=0x12c,_0x4eecce=0x64,_0xebd5ff=()=>{let _0x5363ee=[],_0x20a9bc=!0x1;return _0x3a2fca=>{const _0x5e4b9d=_0x2bd3;_0x5363ee[_0x5e4b9d(0x34b)](_0x3a2fca),_0x20a9bc||(_0x20a9bc=!0x0,setTimeout(()=>{const _0x3f3e72=_0x5e4b9d;_0x5363ee[_0x3f3e72(0x410)](_0x53736b=>_0x53736b()),_0x5363ee=[],_0x20a9bc=!0x1;}));};};let _0x1b973a=class extends _0x2f047f['RxDisposable']{constructor(_0x249a2a,_0x3ca3f9,_0x4807f6,_0x3fc548,_0x723022,_0x37b97a,_0x168bcb,_0x5b8591){const _0x33c127=_0x57234b;super(),_0x2a7ff2(this,_0x33c127(0x1db),!0x1),_0x2a7ff2(this,_0x33c127(0x1b3),!0x1),_0x2a7ff2(this,_0x33c127(0x293),new _0x5c56d7[(_0x33c127(0x284))](new Map())),_0x2a7ff2(this,_0x33c127(0x2bb),this[_0x33c127(0x293)][_0x33c127(0x1a1)]()),_0x2a7ff2(this,_0x33c127(0x232),new _0x5c56d7[(_0x33c127(0x284))]([])),_0x2a7ff2(this,_0x33c127(0x27f),this[_0x33c127(0x232)]['pipe'](_0x5c56d7['debounceTime'](_0x13f565))),_0x2a7ff2(this,_0x33c127(0x2b6),_0x2f047f[_0x33c127(0x2cd)]((_0x1c6889,_0x4ac322)=>{const _0x13b5f4=_0x33c127,_0x531f76={'eventID':_0x10f325['CollaborationEvent'][_0x13b5f4(0x1ca)],'data':{'unitID':this[_0x13b5f4(0x21f)],'memberID':this['_session']['getMemberID'](),'selection':_0x4afa7e[_0x13b5f4(0x2c5)](_0x1c6889,_0x4ac322[_0x13b5f4(0x3eb)])}};this['_session']['send'](_0x531f76,this[_0x13b5f4(0x21f)]);},_0x4eecce)),(this[_0x33c127(0x21f)]=_0x249a2a,this[_0x33c127(0x37e)]=_0x3ca3f9,this['_injector']=_0x4807f6,this[_0x33c127(0x355)]=_0x3fc548,this[_0x33c127(0x3b2)]=_0x723022,this[_0x33c127(0x3d5)]=_0x37b97a,this[_0x33c127(0x3c2)]=_0x168bcb,this[_0x33c127(0x1fb)]=_0x5b8591);}get[_0x57234b(0x421)](){const _0x4d2200=_0x57234b;return this[_0x4d2200(0x293)]['getValue']();}get[_0x57234b(0x33a)](){const _0x5559d7=_0x57234b;return this[_0x5559d7(0x232)][_0x5559d7(0x229)]();}['dispose'](){const _0xffd7cd=_0x57234b;super['dispose'](),this[_0xffd7cd(0x293)][_0xffd7cd(0x273)](new Map()),this['_cursorInfo$'][_0xffd7cd(0x2ae)](),this[_0xffd7cd(0x232)][_0xffd7cd(0x273)]([]),this['_roomMembers$']['complete']();}[_0x57234b(0x3a9)](){const _0x1c80a9=_0x57234b;this[_0x1c80a9(0x1b3)]||(this['_init']=!0x0,this['_session'][_0x1c80a9(0x2d0)][_0x1c80a9(0x297)](_0x5c56d7[_0x1c80a9(0x399)](this[_0x1c80a9(0x314)]))['subscribe'](_0x4fdd8b=>{const _0x5f58f3=_0x1c80a9;_0x4fdd8b===_0x3cd4b3['SessionStatus'][_0x5f58f3(0x30d)]?this['_toggleOnline']():this[_0x5f58f3(0x1b8)]();}),this[_0x1c80a9(0x37e)][_0x1c80a9(0x1f1)][_0x1c80a9(0x297)](_0x5c56d7['takeUntil'](this['dispose$']))[_0x1c80a9(0x2d2)](_0x884192=>{const _0x37576f=_0x1c80a9,_0x2e1296=_0x884192[_0x37576f(0x250)];_0x2e1296===_0x10f325[_0x37576f(0x279)][_0x37576f(0x1ca)]&&this[_0x37576f(0x2f5)](_0x884192),_0x2e1296===_0x10f325['CollaborationEvent']['USERS_LEAVE']&&this[_0x37576f(0x3fd)](_0x884192);}),this[_0x1c80a9(0x1d5)](),this['disposeWithMe'](this['_commandService'][_0x1c80a9(0x321)](_0x4f83ee=>{const _0x2a55f8=_0x1c80a9;if(this['_online']&&_0x4f83ee['id']===_0xafcc68[_0x2a55f8(0x2a5)]['id']&&_0x4f83ee[_0x2a55f8(0x31b)]['unitId']===this[_0x2a55f8(0x21f)]){const _0x415c2f=_0x4f83ee[_0x2a55f8(0x31b)];this[_0x2a55f8(0x2b6)](_0x415c2f['subUnitId'],_0x415c2f[_0x2a55f8(0x392)][0x0]);}})));}[_0x57234b(0x2f5)](_0x1052b6){const _0x1ea314=_0x57234b;var _0xb49d49,_0x43aeba;const {memberID:_0x114fd6,selection:_0x591f8b}=_0x1052b6[_0x1ea314(0x318)],{sheetName:_0x5f4c9a,range:_0x5d101e}=_0x4afa7e['deserializeRangeWithSheet'](_0x591f8b),_0x57195d={'name':(_0x43aeba=(_0xb49d49=this[_0x1ea314(0x3b2)][_0x1ea314(0x2bf)](this[_0x1ea314(0x21f)],_0x114fd6))==null?void 0x0:_0xb49d49[_0x1ea314(0x350)])!=null?_0x43aeba:_0x1ea314(0x34f),'range':this[_0x1ea314(0x25d)](_0x5f4c9a,_0x5d101e),'sheetID':_0x5f4c9a,'color':this[_0x1ea314(0x355)]['assignAColorForMemberID'](_0x114fd6),'selection':_0x591f8b},_0x36d79a=this[_0x1ea314(0x421)];_0x36d79a[_0x1ea314(0x3cf)](_0x114fd6,_0x57195d),this[_0x1ea314(0x293)][_0x1ea314(0x273)](_0x36d79a);}[_0x57234b(0x3fd)](_0x50d4b1){const _0x581759=_0x57234b,{memberID:_0x411920}=_0x50d4b1[_0x581759(0x318)],_0x256980=this[_0x581759(0x421)];_0x256980[_0x581759(0x39a)](_0x411920),this[_0x581759(0x293)][_0x581759(0x273)](_0x256980);}[_0x57234b(0x25d)](_0x158166,_0x44f813){const _0xda265f=_0x57234b;var _0x468cb6,_0x53fea4;const _0x27630b=(_0x53fea4=(_0x468cb6=this[_0xda265f(0x3d5)]['getUniverSheetInstance'](this[_0xda265f(0x21f)]))==null?void 0x0:_0x468cb6['getSheetBySheetId'](_0x158166))==null?void 0x0:_0x53fea4[_0xda265f(0x1fd)]();return(_0x27630b==null?void 0x0:_0x27630b[_0xda265f(0x3cc)](_0x691cf5=>_0x2f047f[_0xda265f(0x3a4)]['contains'](_0x691cf5,_0x44f813)))||_0x44f813;}[_0x57234b(0x1d5)](){const _0x5a36af=_0x57234b,_0x21b64c=new _0x2f047f[(_0x5a36af(0x370))](),_0x34d32d=_0xebd5ff(),_0x6c3f06=()=>{const _0x1681be=_0x5a36af;_0x21b64c[_0x1681be(0x2e6)]();const _0x3b1756=(_0xef9e36,_0xc4492,_0xcdd9ac,_0x19d049)=>{const _0x5b336c=_0x1681be;let _0x4a11a3=[];switch(_0xef9e36['id']){case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x251)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x24a)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)]['DeleteRangeMoveUpCommandId']:{_0x4a11a3=_0xafcc68[_0x5b336c(0x401)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x383)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x3a1)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x2c2)]:{_0x4a11a3=_0xafcc68['handleInsertRangeMoveDown'](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x25f)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x32a)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x362)]:{_0x4a11a3=_0xafcc68['handleInsertRow'](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x361)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x431)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)]['RemoveColCommandId']:{_0x4a11a3=_0xafcc68[_0x5b336c(0x306)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x303)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x1c5)](_0xef9e36,_0x19d049);break;}}const _0x7bab29=_0xafcc68['runRefRangeMutations'](_0x4a11a3,_0x19d049),_0x5e29c4=this['cursorInfo']['get'](_0xc4492);if(_0x5e29c4&&_0x7bab29){const _0x578adb={..._0x5e29c4,'range':_0x7bab29};this['cursorInfo'][_0x5b336c(0x3cf)](_0xc4492,_0x578adb),_0x34d32d(()=>{const _0x3db8cb=_0x5b336c,_0xdb6359=this[_0x3db8cb(0x1fb)][_0x3db8cb(0x22d)](_0x7bab29,_0x174023=>(_0xdb6359[_0x3db8cb(0x2e6)](),_0x3b1756(_0x174023,_0xc4492,_0xcdd9ac,_0x7bab29)));_0x21b64c[_0x3db8cb(0x2bd)](_0xdb6359);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1681be(0x410)]((_0x2202ae,_0x2c25f1)=>{const _0x5f139e=_0x1681be,{range:_0x2b74ca,sheetID:_0x5ef12c}=_0x2202ae,_0x13ca62=this['_refRangeService'][_0x5f139e(0x22d)](_0x2b74ca,_0x1490ec=>(_0x13ca62[_0x5f139e(0x2e6)](),_0x3b1756(_0x1490ec,_0x2c25f1,_0x5ef12c,_0x2b74ca)));_0x21b64c['add'](_0x13ca62);});};this['disposeWithMe'](_0x2f047f[_0x5a36af(0x299)](this[_0x5a36af(0x293)][_0x5a36af(0x2d2)](()=>{_0x6c3f06();})));}['_toggleOnline'](){const _0x1580b4=_0x57234b;var _0x331365,_0x10b3c2;if(this[_0x1580b4(0x1db)]=!0x0,((_0x331365=this[_0x1580b4(0x3d5)][_0x1580b4(0x2ef)]())==null?void 0x0:_0x331365['getUnitId']())!==this['unitID'])return;const _0x2348a8=(_0x10b3c2=this['_injector']['get'](_0xafcc68[_0x1580b4(0x373)])['getCurrentSelections']())==null?void 0x0:_0x10b3c2[0x0],_0xb4692b=this[_0x1580b4(0x3d5)][_0x1580b4(0x2d8)](_0x2f047f[_0x1580b4(0x320)][_0x1580b4(0x2f4)])[_0x1580b4(0x3e4)]();_0x2348a8&&_0xb4692b&&this[_0x1580b4(0x2b6)](_0xb4692b[_0x1580b4(0x336)](),_0x2348a8);}[_0x57234b(0x1b8)](){const _0x332729=_0x57234b;this[_0x332729(0x1db)]=!0x1;}};_0x1b973a=_0xaa4b3b([_0x477542(0x2,_0x2f047f['Inject'](_0x2f047f[_0x57234b(0x3fb)])),_0x477542(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x45519b)),_0x477542(0x4,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3[_0x57234b(0x201)])),_0x477542(0x5,_0x2f047f[_0x57234b(0x309)]),_0x477542(0x6,_0x2f047f[_0x57234b(0x283)]),_0x477542(0x7,_0x2f047f['Inject'](_0xafcc68[_0x57234b(0x248)]))],_0x1b973a);var _0x29e752=Object['getOwnPropertyDescriptor'],_0x3c8ee2=(_0x1da834,_0x5ba698,_0x1baa39,_0x54fda8)=>{const _0x45f0d2=_0x57234b;for(var _0x556d94=_0x54fda8>0x1?void 0x0:_0x54fda8?_0x29e752(_0x5ba698,_0x1baa39):_0x5ba698,_0x4fe8bc=_0x1da834[_0x45f0d2(0x394)]-0x1,_0x2b2436;_0x4fe8bc>=0x0;_0x4fe8bc--)(_0x2b2436=_0x1da834[_0x4fe8bc])&&(_0x556d94=_0x2b2436(_0x556d94)||_0x556d94);return _0x556d94;},_0x5bb288=(_0x4e7817,_0x30d14e)=>(_0x136dd6,_0x45d470)=>_0x30d14e(_0x136dd6,_0x45d470,_0x4e7817);let _0x2b7c6d=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x4dcb77,_0x13e58a,_0x3d643d){const _0x4d4978=_0x57234b;super(),_0x2a7ff2(this,_0x4d4978(0x1e1),new Map()),_0x2a7ff2(this,_0x4d4978(0x39c),new _0x5c56d7[(_0x4d4978(0x214))]()),(this[_0x4d4978(0x3d5)]=_0x4dcb77,this[_0x4d4978(0x2b8)]=_0x13e58a,this[_0x4d4978(0x28d)]=_0x3d643d,this[_0x4d4978(0x1b3)]());}['dispose'](){const _0x44b6c4=_0x57234b;super[_0x44b6c4(0x2e6)](),this[_0x44b6c4(0x39c)][_0x44b6c4(0x2ae)](),this[_0x44b6c4(0x1e1)][_0x44b6c4(0x410)](_0x11d498=>_0x11d498[_0x44b6c4(0x2e6)]());}[_0x57234b(0x418)](_0x5a2de4){const _0x505e13=_0x57234b;return this['_entities']['has'](_0x5a2de4)?this[_0x505e13(0x1e1)][_0x505e13(0x1f3)](_0x5a2de4)[_0x505e13(0x2bb)]:this[_0x505e13(0x39c)]['pipe'](_0x5c56d7[_0x505e13(0x3ec)](_0x33b139=>_0x33b139[_0x505e13(0x21f)]===_0x5a2de4),_0x5c56d7['switchMap'](_0x1ae39d=>_0x1ae39d[_0x505e13(0x2bb)]));}[_0x57234b(0x1b3)](){const _0x2b426e=_0x57234b;this[_0x2b426e(0x3d5)][_0x2b426e(0x257)](_0x2f047f['UniverInstanceType'][_0x2b426e(0x2f4)])[_0x2b426e(0x297)](_0x5c56d7[_0x2b426e(0x399)](this[_0x2b426e(0x314)]))[_0x2b426e(0x2d2)](async _0x3dc8b0=>{const _0x4097f9=_0x2b426e,_0x41f81b=_0x3dc8b0['getUnitId'](),_0x3582ea=await this[_0x4097f9(0x1dc)](_0x41f81b);this[_0x4097f9(0x39c)][_0x4097f9(0x273)](_0x3582ea),this['_entities'][_0x4097f9(0x3cf)](_0x41f81b,_0x3582ea);}),this['_univerInstanceService'][_0x2b426e(0x257)](_0x2f047f[_0x2b426e(0x320)][_0x2b426e(0x391)])[_0x2b426e(0x297)](_0x5c56d7[_0x2b426e(0x399)](this['dispose$']))[_0x2b426e(0x297)](_0x5c56d7[_0x2b426e(0x3ec)](_0x53fa48=>!_0x53fa48[_0x2b426e(0x3a6)]()[_0x2b426e(0x30b)]('__')))[_0x2b426e(0x2d2)](async _0x41c795=>{const _0x52e2f7=_0x2b426e,_0x55f648=_0x41c795[_0x52e2f7(0x3a6)](),_0x5da55f=await this[_0x52e2f7(0x38b)](_0x55f648);this[_0x52e2f7(0x39c)][_0x52e2f7(0x273)](_0x5da55f),this['_entities'][_0x52e2f7(0x3cf)](_0x55f648,_0x5da55f);}),_0x5c56d7[_0x2b426e(0x2ab)](this[_0x2b426e(0x3d5)][_0x2b426e(0x1be)](_0x2f047f[_0x2b426e(0x320)][_0x2b426e(0x391)]),this[_0x2b426e(0x3d5)][_0x2b426e(0x1be)](_0x2f047f[_0x2b426e(0x320)][_0x2b426e(0x2f4)]))['pipe'](_0x5c56d7[_0x2b426e(0x399)](this['dispose$']))['subscribe'](_0x2fb92e=>{const _0x112278=_0x2b426e,_0x3d0042=_0x2fb92e[_0x112278(0x3a6)](),_0x3a48bf=this[_0x112278(0x1e1)]['get'](_0x3d0042);_0x3a48bf&&(_0x3a48bf[_0x112278(0x2e6)](),this['_entities'][_0x112278(0x39a)](_0x3d0042));});}async[_0x57234b(0x1dc)](_0x1eb6e1){const _0x368a18=_0x57234b,_0x40274e=await this[_0x368a18(0x28d)][_0x368a18(0x3f1)](_0x1eb6e1),_0x1a3e44=this[_0x368a18(0x2b8)][_0x368a18(0x2a8)](_0x1b973a,_0x1eb6e1,_0x40274e);return _0x1a3e44['init'](),_0x1a3e44;}async[_0x57234b(0x38b)](_0x71930e){const _0x252f41=_0x57234b,_0x1cce5e=await this[_0x252f41(0x28d)]['requireSession'](_0x71930e),_0x57a19f=this['_injector'][_0x252f41(0x2a8)](_0x1331e4,_0x71930e,_0x1cce5e);return _0x57a19f['init'](),_0x57a19f;}};_0x2b7c6d=_0x3c8ee2([_0x5bb288(0x0,_0x2f047f['IUniverInstanceService']),_0x5bb288(0x1,_0x2f047f['Inject'](_0x2f047f[_0x57234b(0x3fb)])),_0x5bb288(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3[_0x57234b(0x3d2)]))],_0x2b7c6d);const _0x4cdd05=0x14,_0x591c42=0xc8,_0x481d88=0x4,_0x454bd9=0x5;function _0x423da2(_0x48e751,_0x5bd42a){const _0x49579f=_0x57234b;let {radius:_0x50bf32,width:_0x198c63,height:_0x58a747}=_0x5bd42a;_0x50bf32=_0x50bf32!=null?_0x50bf32:0x0,_0x198c63=_0x198c63!=null?_0x198c63:0x1e,_0x58a747=_0x58a747!=null?_0x58a747:0x1e;let _0x365521=0x0,_0x25d609=0x0,_0x278466=0x0;_0x365521=_0x25d609=_0x278466=Math[_0x49579f(0x37c)](_0x50bf32,_0x198c63/0x2,_0x58a747/0x2),_0x48e751['beginPath'](),_0x48e751[_0x49579f(0x2c6)](_0x365521,0x0),_0x48e751[_0x49579f(0x262)](_0x198c63-_0x25d609,0x0),_0x48e751[_0x49579f(0x1b6)](_0x198c63-_0x25d609,_0x25d609,_0x25d609,Math['PI']*0x3/0x2,0x0,!0x1),_0x48e751[_0x49579f(0x262)](_0x198c63,_0x58a747-_0x278466),_0x48e751[_0x49579f(0x1b6)](_0x198c63-_0x278466,_0x58a747-_0x278466,_0x278466,0x0,Math['PI']/0x2,!0x1),_0x48e751[_0x49579f(0x262)](0x0,_0x58a747),_0x48e751[_0x49579f(0x262)](0x0,_0x365521),_0x48e751[_0x49579f(0x1b6)](_0x365521,_0x365521,_0x365521,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48e751[_0x49579f(0x202)](),_0x5bd42a[_0x49579f(0x255)]&&(_0x48e751['save'](),_0x48e751[_0x49579f(0x2e3)]=_0x5bd42a[_0x49579f(0x255)],_0x5bd42a['fillRule']===_0x49579f(0x22f)?_0x48e751['fill']('evenodd'):_0x48e751[_0x49579f(0x255)](),_0x48e751['restore']());}class _0x5ba144 extends _0x228785[_0x57234b(0x2ea)]{constructor(_0xc4c6a3,_0x310887){const _0x2b17dc=_0x57234b;super(_0xc4c6a3,_0x310887),_0x2a7ff2(this,_0x2b17dc(0x236)),_0x2a7ff2(this,'text'),(this[_0x2b17dc(0x236)]=_0x310887==null?void 0x0:_0x310887[_0x2b17dc(0x236)],this[_0x2b17dc(0x1c6)]=_0x310887==null?void 0x0:_0x310887['text']);}static[_0x57234b(0x28e)](_0x14306e,_0x4b1f1f){const _0x3dfa25=_0x57234b,{text:_0x45af54,color:_0x3168e9}=_0x4b1f1f;_0x14306e[_0x3dfa25(0x3ea)](),_0x14306e['font']=_0x3dfa25(0x23f);const _0x2a29fb=_0x14306e[_0x3dfa25(0x1b1)](_0x45af54)[_0x3dfa25(0x226)],_0x257357=Math[_0x3dfa25(0x37c)](_0x2a29fb+0x2*_0x481d88,_0x591c42);_0x423da2(_0x14306e,{'height':_0x4cdd05,'radius':0x4,'width':_0x257357,'fill':_0x3168e9}),_0x14306e[_0x3dfa25(0x2e3)]=_0x3dfa25(0x313);const _0x24a67e=_0x481d88,_0x4cec59=_0x4cdd05-_0x454bd9,_0x2b5205=_0x591c42-0x2*_0x481d88;if(_0x2a29fb>_0x2b5205){let _0x2cd98e='',_0x2482e2=0x0;for(const _0x349092 of _0x45af54){const _0x4b90ce=_0x14306e[_0x3dfa25(0x1b1)](_0x349092)[_0x3dfa25(0x226)];if(_0x2482e2+_0x4b90ce<=_0x2b5205-_0x14306e['measureText'](_0x3dfa25(0x27e))[_0x3dfa25(0x226)])_0x2cd98e+=_0x349092,_0x2482e2+=_0x4b90ce;else{_0x2cd98e+='...';break;}}_0x14306e[_0x3dfa25(0x3cd)](_0x2cd98e,_0x24a67e,_0x4cec59);}else _0x14306e[_0x3dfa25(0x3cd)](_0x45af54,_0x24a67e,_0x4cec59);_0x14306e[_0x3dfa25(0x3df)]();}[_0x57234b(0x28b)](_0xa2ef3c){const _0x1b9c62=_0x57234b;_0x5ba144[_0x1b9c62(0x28e)](_0xa2ef3c,this);}}const _0x1a81bd=_0x57234b(0x372),_0x1d141a='collab-text-range-',_0x22bc68=_0x57234b(0x3af),_0x532f29=0x6,_0x12f6b7=1.5,_0x4612f4=0x4,_0x2d1273=1.5,_0x1360f2='rgba(255,\x20255,\x20255,\x200.01)';class _0x4578c0{constructor(_0x3e3923,_0x179f5b,_0x523645,_0x4ef4e1){const _0x34adc3=_0x57234b;_0x2a7ff2(this,_0x34adc3(0x3dd),[]),_0x2a7ff2(this,_0x34adc3(0x2a1),null),_0x2a7ff2(this,_0x34adc3(0x428),null),_0x2a7ff2(this,_0x34adc3(0x3ff),null),_0x2a7ff2(this,_0x34adc3(0x24f),null),_0x2a7ff2(this,_0x34adc3(0x1e2),null),(this['_cursor']=_0x3e3923,this[_0x34adc3(0x38e)]=_0x179f5b,this[_0x34adc3(0x2ff)]=_0x523645,this[_0x34adc3(0x2b0)]=_0x4ef4e1,this['_render']());}set[_0x57234b(0x42d)](_0x4ffa5a){const _0x2faeb5=_0x57234b;_0x4ffa5a?(this[_0x2faeb5(0x3ff)]&&this[_0x2faeb5(0x3ff)][_0x2faeb5(0x30e)](),this['_textBubble']&&this[_0x2faeb5(0x428)][_0x2faeb5(0x420)]()):(this[_0x2faeb5(0x3ff)]&&this['_anchorDot'][_0x2faeb5(0x420)](),this[_0x2faeb5(0x428)]&&this[_0x2faeb5(0x428)][_0x2faeb5(0x30e)]());}['dispose'](){const _0x582852=_0x57234b;for(const _0x544308 of this[_0x582852(0x3dd)])_0x544308['dispose']();this['_textBubble']&&this[_0x582852(0x428)][_0x582852(0x2e6)](),this[_0x582852(0x3ff)]&&this[_0x582852(0x3ff)][_0x582852(0x2e6)](),this[_0x582852(0x2a1)]&&this[_0x582852(0x2a1)]['dispose'](),this['_eventUnsubscribe']&&this[_0x582852(0x1e2)]();}['_render'](){const _0x34fb9d=_0x57234b;var _0x220186;const {_docSkeleton:_0x4ed27f,_document:_0x206dcf}=this,{color:_0x1904ec,name:_0x414721,ranges:_0x2a486d}=this[_0x34fb9d(0x2b5)],_0x1af929=_0x206dcf[_0x34fb9d(0x3ab)](),{docsLeft:_0x4bd51e,docsTop:_0x15ca5c}=_0x1af929,_0x2675ff=new _0x35f299['NodePositionConvertToCursor'](_0x1af929,_0x4ed27f);for(const {startOffset:_0x57a9ed,endOffset:_0x15c611,rangeType:_0x254a25,segmentId:_0x580b3b,segmentPage:_0x2960d0,collapsed:_0x523891,isActive:_0xbbda94}of _0x2a486d){const _0x41d106=_0x4ed27f['findNodePositionByCharIndex'](_0x57a9ed,!0x0,_0x580b3b,_0x2960d0);let _0x59e6fc=_0x4ed27f[_0x34fb9d(0x20d)](_0x15c611,!0x0,_0x580b3b,_0x2960d0);if(_0x59e6fc==null&&(_0x59e6fc=_0x4ed27f[_0x34fb9d(0x20d)](_0x15c611-0x1,!0x1,_0x580b3b,_0x2960d0)),_0xbbda94){const {contentBoxPointGroup:_0x5ad739}=_0x2675ff[_0x34fb9d(0x327)](_0x59e6fc,_0x59e6fc);if(_0x5ad739['length']===0x0)continue;this[_0x34fb9d(0x2b7)](_0x1904ec,_0x5ad739,_0x4bd51e,_0x15ca5c,_0x414721),this[_0x34fb9d(0x1e2)]=this[_0x34fb9d(0x2b1)]();}if(_0x41d106&&_0x59e6fc){if(_0x254a25===_0x2f047f[_0x34fb9d(0x380)][_0x34fb9d(0x3c5)]){const _0x3afe4a=new _0x35f299[(_0x34fb9d(0x1b0))](_0x1af929,_0x4ed27f),{pointGroup:_0x276f6d}=(_0x220186=_0x3afe4a['getRangePointData'](_0x41d106,_0x59e6fc))!=null?_0x220186:{};if(_0x276f6d==null||_0x276f6d[_0x34fb9d(0x394)]===0x0)continue;this[_0x34fb9d(0x1d9)](_0x1904ec,_0x276f6d,_0x4bd51e,_0x15ca5c);}else{if(!_0x523891){const {borderBoxPointGroup:_0x9b6f73}=_0x2675ff[_0x34fb9d(0x327)](_0x41d106,_0x59e6fc);if(_0x9b6f73[_0x34fb9d(0x394)]===0x0)continue;this[_0x34fb9d(0x423)](_0x1904ec,_0x9b6f73,_0x4bd51e,_0x15ca5c);}}}}}[_0x57234b(0x2b7)](_0x4fbbad,_0x367a25,_0x12d219,_0x49abea,_0x47a7d8){const _0x292476=_0x57234b,_0x4d6951=this[_0x292476(0x2af)](_0x367a25),{left:_0x244b13,top:_0x47dff7,height:_0x294a5f}=_0x4d6951,_0x128bfe=this[_0x292476(0x1d0)](),_0x52e218=_0x2d1273/_0x128bfe,_0x109838=new _0x228785[(_0x292476(0x1a9))](_0x1a81bd+_0x2f047f['Tools'][_0x292476(0x237)](_0x532f29),{'left':_0x244b13+_0x12d219-_0x52e218,'top':_0x47dff7+_0x49abea,'height':_0x294a5f,'width':_0x12f6b7,'fill':_0x4fbbad||_0x228785[_0x292476(0x274)](_0x2f047f[_0x292476(0x3a8)][_0x292476(0x41d)],0x0),'strokeWidth':_0x52e218,'stroke':_0x1360f2,'evented':!0x0});this[_0x292476(0x2a1)]=_0x109838,this[_0x292476(0x38e)]['addObject'](_0x109838,_0x35f299[_0x292476(0x26e)]);const _0x36a12b=new _0x228785['Rect'](_0x1a81bd+_0x2f047f[_0x292476(0x1e6)][_0x292476(0x237)](_0x532f29),{'left':_0x244b13+_0x12d219-_0x52e218,'top':_0x47dff7+_0x49abea-_0x4612f4/0x2,'height':_0x4612f4,'width':_0x4612f4,'fill':_0x4fbbad||_0x228785['getColor'](_0x2f047f[_0x292476(0x3a8)][_0x292476(0x41d)],0x0),'strokeWidth':0x0,'stroke':_0x4fbbad||_0x228785[_0x292476(0x274)](_0x2f047f[_0x292476(0x3a8)][_0x292476(0x41d)],0x0),'evented':!0x1});this[_0x292476(0x3ff)]=_0x36a12b,this['_scene'][_0x292476(0x1f0)](_0x36a12b,_0x35f299[_0x292476(0x26e)]);const _0x385d2d=new _0x5ba144(_0x1a81bd+_0x2f047f[_0x292476(0x1e6)][_0x292476(0x237)](_0x532f29),{'left':_0x244b13+_0x12d219-_0x52e218,'top':_0x47dff7+_0x49abea-_0x4cdd05,'text':_0x47a7d8,'color':_0x4fbbad});this['_textBubble']=_0x385d2d,this[_0x292476(0x38e)][_0x292476(0x1f0)](_0x385d2d,_0x35f299[_0x292476(0x26e)]),this[_0x292476(0x42d)]=!0x1;}[_0x57234b(0x2b1)](){const _0x233a09=_0x57234b,_0xdb0131=this['_anchor'][_0x233a09(0x217)][_0x233a09(0x3be)](()=>{this['_hover']=!0x0;}),_0x386da1=this[_0x233a09(0x2a1)]['onPointerLeave$'][_0x233a09(0x3be)](()=>{const _0x31dab7=_0x233a09;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x31dab7(0x24f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4263b0=_0x233a09;_0xdb0131[_0x4263b0(0x348)](),_0x386da1[_0x4263b0(0x348)]();};}[_0x57234b(0x423)](_0x2a1449,_0xa0c25b,_0x39d1b4,_0x20820b){const _0x28cea=_0x57234b,_0x23b1d1=new _0x2f047f[(_0x28cea(0x1af))](_0x2a1449)[_0x28cea(0x32f)](0.2)[_0x28cea(0x400)](),_0x14f2ea=new _0x228785[(_0x28cea(0x26d))](_0x1d141a+_0x2f047f[_0x28cea(0x1e6)][_0x28cea(0x237)](_0x532f29),{'pointsGroup':_0xa0c25b,'fill':_0x23b1d1||_0x228785[_0x28cea(0x274)](_0x2f047f[_0x28cea(0x3a8)][_0x28cea(0x41d)],0.2),'left':_0x39d1b4,'top':_0x20820b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28cea(0x34b)](_0x14f2ea),this[_0x28cea(0x38e)][_0x28cea(0x1f0)](_0x14f2ea,_0x35f299[_0x28cea(0x26e)]);}['_drawRectRange'](_0x44b99b,_0x28a511,_0x2abf02,_0x5b951f){const _0x412d6d=_0x57234b,_0x5db3af=new _0x2f047f[(_0x412d6d(0x1af))](_0x44b99b)[_0x412d6d(0x32f)](0.2)[_0x412d6d(0x400)](),_0x4bb7f2=new _0x228785[(_0x412d6d(0x26d))](_0x22bc68+_0x2f047f[_0x412d6d(0x1e6)][_0x412d6d(0x237)](_0x532f29),{'pointsGroup':_0x28a511,'fill':_0x5db3af||_0x228785[_0x412d6d(0x274)](_0x2f047f[_0x412d6d(0x3a8)][_0x412d6d(0x41d)],0.2),'left':_0x2abf02,'top':_0x5b951f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x412d6d(0x3dd)][_0x412d6d(0x34b)](_0x4bb7f2),this[_0x412d6d(0x38e)][_0x412d6d(0x1f0)](_0x4bb7f2,_0x35f299[_0x412d6d(0x26e)]);}[_0x57234b(0x2af)](_0x3538e2){const _0x5c7762=_0x3538e2[0x0],_0x970378=_0x5c7762[0x0],_0x146f6b=_0x5c7762[0x2],{x:_0x41bc84,y:_0x18dfba}=_0x970378,{x:_0x50d95b,y:_0x307a1f}=_0x146f6b;return{'left':_0x41bc84,'top':_0x18dfba,'width':_0x50d95b-_0x41bc84,'height':_0x307a1f-_0x18dfba};}[_0x57234b(0x1d0)](){const _0x40da9f=_0x57234b,{scaleX:_0x4ba6c4,scaleY:_0x5e80de}=this[_0x40da9f(0x38e)][_0x40da9f(0x24c)]();return Math['max'](_0x4ba6c4,_0x5e80de);}}var _0x27e553=Object[_0x57234b(0x32c)],_0x14be66=(_0x4c24c0,_0x55d009,_0x22f765,_0x14f211)=>{const _0x5e5e05=_0x57234b;for(var _0x1da040=_0x14f211>0x1?void 0x0:_0x14f211?_0x27e553(_0x55d009,_0x22f765):_0x55d009,_0x502619=_0x4c24c0[_0x5e5e05(0x394)]-0x1,_0x5dba57;_0x502619>=0x0;_0x502619--)(_0x5dba57=_0x4c24c0[_0x502619])&&(_0x1da040=_0x5dba57(_0x1da040)||_0x1da040);return _0x1da040;},_0x404dee=(_0x590908,_0x2710ea)=>(_0x196db9,_0x3a4d88)=>_0x2710ea(_0x196db9,_0x3a4d88,_0x590908);let _0x15fd95=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x225fa5,_0x2ea7d4,_0x193996,_0x54ebe2,_0xd3ec58){const _0x2f706d=_0x57234b;super(),_0x2a7ff2(this,_0x2f706d(0x25a),[]),_0x2a7ff2(this,_0x2f706d(0x1ec),[]),(this[_0x2f706d(0x2b2)]=_0x225fa5,this[_0x2f706d(0x26b)]=_0x2ea7d4,this[_0x2f706d(0x238)]=_0x193996,this[_0x2f706d(0x3c2)]=_0x54ebe2,this[_0x2f706d(0x252)]=_0xd3ec58,this[_0x2f706d(0x1b3)]());}[_0x57234b(0x1b3)](){const _0x21c393=_0x57234b,_0x16bb3c=this['_context'][_0x21c393(0x3ac)],_0x293062=this[_0x21c393(0x26b)];this[_0x21c393(0x3aa)](_0x5c56d7['combineLatest']([this[_0x21c393(0x238)][_0x21c393(0x418)](_0x16bb3c),this[_0x21c393(0x252)][_0x21c393(0x1a0)]])[_0x21c393(0x297)](_0x9aeac[_0x21c393(0x2fb)](([_0x2d1f2e,_0x54046f])=>({'skeleton':_0x293062[_0x21c393(0x3d1)](),'cursors':[..._0x2d1f2e['values']()][_0x21c393(0x3bb)](_0x1848fb=>({..._0x1848fb,'color':_0x54046f[_0x1848fb[_0x21c393(0x236)]]}))})))[_0x21c393(0x2d2)](_0x11d792=>{const _0x24d999=_0x21c393;if(this[_0x24d999(0x1ed)](),_0x11d792){const {skeleton:_0x324124,cursors:_0x11305b}=_0x11d792;this[_0x24d999(0x2fd)](_0x324124,_0x11305b);}})),this[_0x21c393(0x1ae)](),this[_0x21c393(0x1d1)]();}[_0x57234b(0x2fd)](_0x2e1aab,_0x17c6b7){const _0xa5cfcc=_0x57234b,{scene:_0xef98e8,mainComponent:_0x217341}=this[_0xa5cfcc(0x2b2)],_0x4d0fc2=_0x17c6b7[_0xa5cfcc(0x2fb)](_0x4bafbc=>new _0x4578c0(_0x4bafbc,_0xef98e8,_0x2e1aab,_0x217341));this['_cursorShapes']=_0x4d0fc2,this[_0xa5cfcc(0x1ec)]=_0x17c6b7;}[_0x57234b(0x2e5)](){const _0x35c28b=_0x57234b;this[_0x35c28b(0x1ed)]();const {scene:_0x4de9e9,mainComponent:_0x49aa4a}=this['_context'],_0x336a14=this[_0x35c28b(0x26b)][_0x35c28b(0x3d1)](),_0x5e7908=this[_0x35c28b(0x1ec)][_0x35c28b(0x2fb)](_0x5a1cfe=>new _0x4578c0(_0x5a1cfe,_0x4de9e9,_0x336a14,_0x49aa4a));this[_0x35c28b(0x25a)]=_0x5e7908;}[_0x57234b(0x1ed)](){const _0x785f58=_0x57234b;this[_0x785f58(0x25a)][_0x785f58(0x410)](_0x561b20=>_0x561b20[_0x785f58(0x2e6)]()),this['_cursorShapes']=[];}[_0x57234b(0x1d1)](){const _0x22e3eb=_0x57234b,_0x4a4cf8=[_0x35f299['SetDocZoomRatioOperation']['id']];this[_0x22e3eb(0x3aa)](this[_0x22e3eb(0x3c2)][_0x22e3eb(0x321)](_0x4baab2=>{const _0x43d0bf=_0x22e3eb;_0x4a4cf8[_0x43d0bf(0x2f1)](_0x4baab2['id'])&&_0x4baab2[_0x43d0bf(0x31b)][_0x43d0bf(0x3ac)]===this[_0x43d0bf(0x2b2)][_0x43d0bf(0x3ac)]&&this['_refreshCollabCursors']();}));}[_0x57234b(0x1ae)](){const _0x30c465=_0x57234b;this[_0x30c465(0x3aa)](_0x2f047f[_0x30c465(0x35b)](this[_0x30c465(0x2b2)]['engine'][_0x30c465(0x3b9)])[_0x30c465(0x297)](_0x9aeac['filter'](_0x54f98d=>_0x54f98d[_0x30c465(0x23d)]===_0x228785[_0x30c465(0x367)][_0x30c465(0x363)]),_0x9aeac['throttleTime'](0x10))['subscribe'](()=>{const _0x5c6f58=_0x30c465;this[_0x5c6f58(0x2e5)]();}));}};_0x15fd95=_0x14be66([_0x404dee(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x220baf[_0x57234b(0x35f)])),_0x404dee(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x2b7c6d)),_0x404dee(0x3,_0x2f047f[_0x57234b(0x283)]),_0x404dee(0x4,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x41c)]))],_0x15fd95);const _0x2486e0=0x1,_0x2c76be=1.5;class _0x758a7d extends _0x228785[_0x57234b(0x2ea)]{constructor(_0xd200ef,_0x102f7b){const _0x54bd09=_0x57234b;super(_0xd200ef,_0x102f7b),_0x2a7ff2(this,_0x54bd09(0x349)),_0x2a7ff2(this,_0x54bd09(0x2c0),!0x1),_0x2a7ff2(this,_0x54bd09(0x39b)),_0x2a7ff2(this,'_name',''),_0x2a7ff2(this,'_labelPosition',_0x54bd09(0x3ee)),_0x2a7ff2(this,_0x54bd09(0x3da)),(_0x102f7b&&this[_0x54bd09(0x38c)](_0x102f7b),this['onPointerEnter$'][_0x54bd09(0x3be)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x54bd09(0x3b4)][_0x54bd09(0x3be)](()=>this[_0x54bd09(0x38c)]({'hovered':!0x1})));}[_0x57234b(0x38c)](_0x7e5e0c){const _0x1ba819=_0x57234b;var _0x478f1b,_0x15b216,_0x39fb11,_0x592827,_0x253388,_0x3f6b26;this[_0x1ba819(0x349)]=(_0x478f1b=_0x7e5e0c[_0x1ba819(0x236)])!=null?_0x478f1b:this[_0x1ba819(0x349)],this['_hovered']=(_0x15b216=_0x7e5e0c[_0x1ba819(0x3ae)])!=null?_0x15b216:this[_0x1ba819(0x2c0)],this['_range']=(_0x39fb11=_0x7e5e0c[_0x1ba819(0x3eb)])!=null?_0x39fb11:this['_range'],this[_0x1ba819(0x31f)]=(_0x592827=_0x7e5e0c['name'])!=null?_0x592827:this[_0x1ba819(0x31f)],this['_labelPosition']=(_0x253388=_0x7e5e0c[_0x1ba819(0x207)])!=null?_0x253388:this[_0x1ba819(0x29c)],this[_0x1ba819(0x3da)]=(_0x3f6b26=_0x7e5e0c[_0x1ba819(0x377)])!=null?_0x3f6b26:this[_0x1ba819(0x3da)],this[_0x1ba819(0x1bd)]({'width':_0x7e5e0c['width'],'height':_0x7e5e0c['height']});}['onMouseMove'](_0x4cd4c6){const _0x212036=_0x57234b,{row:_0x4cae88,column:_0x5c215b}=_0x4cd4c6;if(_0x4cae88>=this['_range'][_0x212036(0x2c8)]&&_0x4cae88<=this[_0x212036(0x39b)][_0x212036(0x3ad)]&&_0x5c215b>=this[_0x212036(0x39b)][_0x212036(0x33e)]&&_0x5c215b<=this['_range']['endColumn']){this[_0x212036(0x38c)]({'hovered':!0x0});return;}this[_0x212036(0x38c)]({'hovered':!0x1});}[_0x57234b(0x426)](_0x5a7214){return!0x1;}[_0x57234b(0x28b)](_0x305732){const _0x1f6934=_0x57234b;_0x228785[_0x1f6934(0x1a9)][_0x1f6934(0x28e)](_0x305732,{'width':this[_0x1f6934(0x226)],'height':this[_0x1f6934(0x20e)],'strokeWidth':_0x2c76be,'stroke':this[_0x1f6934(0x349)],'evented':!0x1,'fill':this[_0x1f6934(0x3da)]}),this[_0x1f6934(0x2c0)]&&(_0x305732[_0x1f6934(0x3ea)](),_0x305732[_0x1f6934(0x1fe)](0x1,0x0,0x0,0x1,this[_0x1f6934(0x226)],this[_0x1f6934(0x29c)]===_0x1f6934(0x35e)?0x0:-0x14),_0x5ba144[_0x1f6934(0x28e)](_0x305732,{'text':this['_name'],'color':this[_0x1f6934(0x349)]}),_0x305732['restore']());}}var _0x57b06d=Object[_0x57234b(0x32c)],_0x184808=(_0x329593,_0x1031b4,_0x48d7fb,_0x111ec3)=>{const _0x9daff1=_0x57234b;for(var _0x3fff44=_0x111ec3>0x1?void 0x0:_0x111ec3?_0x57b06d(_0x1031b4,_0x48d7fb):_0x1031b4,_0x29f3d2=_0x329593[_0x9daff1(0x394)]-0x1,_0x3bb2f1;_0x29f3d2>=0x0;_0x29f3d2--)(_0x3bb2f1=_0x329593[_0x29f3d2])&&(_0x3fff44=_0x3bb2f1(_0x3fff44)||_0x3fff44);return _0x3fff44;},_0x1593a2=(_0x457dc5,_0x1402b3)=>(_0x1b7b80,_0x1a7de7)=>_0x1402b3(_0x1b7b80,_0x1a7de7,_0x457dc5);const _0x894b5c=0x1389;let _0x4f4543=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x38e367,_0x249677,_0x24da14,_0x262e38){const _0x5b0f63=_0x57234b;super(),_0x2a7ff2(this,_0x5b0f63(0x1ec),new Set()),_0x2a7ff2(this,_0x5b0f63(0x36a),null),(this[_0x5b0f63(0x2b2)]=_0x38e367,this[_0x5b0f63(0x398)]=_0x249677,this[_0x5b0f63(0x238)]=_0x24da14,this[_0x5b0f63(0x252)]=_0x262e38,this[_0x5b0f63(0x1b3)]());}[_0x57234b(0x1b3)](){const _0x4083c7=_0x57234b;this[_0x4083c7(0x398)][_0x4083c7(0x3de)]['pipe'](_0x9aeac[_0x4083c7(0x399)](this[_0x4083c7(0x314)]),_0x9aeac[_0x4083c7(0x427)](_0x3e0ec9=>{const _0xa1cd0a=_0x4083c7;if(_0x3e0ec9){const _0x197cd0=_0x3e0ec9[_0xa1cd0a(0x1ea)];return _0x5c56d7['combineLatest'](this['_collabCursorController'][_0xa1cd0a(0x418)](this[_0xa1cd0a(0x2b2)]['unitId']),this[_0xa1cd0a(0x252)][_0xa1cd0a(0x1a0)])['pipe'](_0x9aeac[_0xa1cd0a(0x2fb)](([_0x22cde7,_0x1b445f])=>{const _0x1f4306=_0xa1cd0a,_0x1111b4=new Map();return _0x22cde7[_0x1f4306(0x410)]((_0x292b50,_0x3e6475)=>{const _0x435752=_0x1f4306;if(_0x292b50[_0x435752(0x332)]===_0x197cd0){const _0x398893={..._0x292b50};_0x398893[_0x435752(0x236)]=_0x1b445f[_0x292b50[_0x435752(0x236)]],_0x1111b4[_0x435752(0x3cf)](_0x3e6475,_0x398893);}}),{'skeleton':_0x3e0ec9,'cursors':_0x1111b4};}));}return _0x5c56d7['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2a5944,cursors:_0x59f7f4})=>{const _0x5b208d=_0x4083c7;this[_0x5b208d(0x1ed)](),_0x2a5944&&this['_updateCollabCursors'](_0x2a5944,_0x59f7f4);}),this[_0x4083c7(0x398)][_0x4083c7(0x3de)][_0x4083c7(0x2d2)](_0x2e1b9b=>{const _0x346ea2=_0x4083c7;if(_0x2e1b9b==null)return;const {skeleton:_0x20e51f}=_0x2e1b9b,{scene:_0x23fde7}=this[_0x346ea2(0x2b2)];_0x23fde7['onPointerMove$'][_0x346ea2(0x3be)](_0x2f047f[_0x346ea2(0x2cd)](_0xf361a9=>{const _0x50c62b=_0x346ea2;var _0xcc5888,_0x321d70;const {offsetX:_0x30fb4d,offsetY:_0x270c9b}=_0xf361a9,{x:_0x4801dc,y:_0x481703}=_0x23fde7[_0x50c62b(0x42b)](_0x228785[_0x50c62b(0x3f8)][_0x50c62b(0x416)]([_0x30fb4d,_0x270c9b])),{scaleX:_0x496659,scaleY:_0x3bf4a8}=_0x23fde7[_0x50c62b(0x24c)](),_0x3c274a=_0x23fde7['getViewport'](_0x228785[_0x50c62b(0x328)][_0x50c62b(0x379)]),_0x42826c=_0x23fde7['getVpScrollXYInfoByPosToVp'](_0x228785[_0x50c62b(0x3f8)]['FromArray']([_0x4801dc,_0x481703]),_0x3c274a),_0x35912d=_0x20e51f[_0x50c62b(0x2d6)](_0x30fb4d,_0x270c9b,_0x496659,_0x3bf4a8,_0x42826c);((_0xcc5888=this[_0x50c62b(0x36a)])==null?void 0x0:_0xcc5888[_0x50c62b(0x36d)])===_0x35912d['column']&&((_0x321d70=this[_0x50c62b(0x36a)])==null?void 0x0:_0x321d70[_0x50c62b(0x356)])===_0x35912d[_0x50c62b(0x356)]||this[_0x50c62b(0x1ec)][_0x50c62b(0x410)](_0x35a7db=>{const _0x571fe5=_0x50c62b;_0x35a7db[_0x571fe5(0x27a)](_0x35912d);});},0x64));});}[_0x57234b(0x2fd)](_0x58450d,_0x2cb4b7){const _0x1005e5=_0x57234b;var _0x1e8712;const _0x3337c6=(_0x1e8712=this[_0x1005e5(0x398)]['getCurrent']())==null?void 0x0:_0x1e8712[_0x1005e5(0x41a)];if(!_0x3337c6)return;const _0x30df33=this['_getSheetObject']();if(!_0x30df33)return;this[_0x1005e5(0x1ec)][_0x1005e5(0x410)](_0x1824f6=>{const _0x3cf273=_0x1005e5;_0x1824f6[_0x3cf273(0x244)]();});const {scene:_0x441fc1}=_0x30df33,_0x4b6dd2=_0x58b803(Array[_0x1005e5(0x223)](_0x2cb4b7['values']()))[_0x1005e5(0x2fb)](_0xd484e9=>{const _0x36098a=_0x1005e5,{color:_0x2ca104,range:_0xb9f9b3,name:_0x286a49,selection:_0x3a57db,sheetID:_0x4beddd}=_0xd484e9,{startColumn:_0x40eaad,startRow:_0x4992ed,endColumn:_0x3b950e,endRow:_0x42dd94}=_0xb9f9b3,_0x418f8e=_0x472d06[_0x36098a(0x381)](_0x4992ed,_0x40eaad,_0x441fc1,_0x3337c6),_0x32db17=_0x472d06['getCoordByCell'](_0x42dd94,_0x3b950e,_0x441fc1,_0x3337c6),{columnHeaderHeightAndMarginTop:_0x8a96d}=_0x3337c6,{startX:_0x2245be,startY:_0x468e18}=_0x418f8e,{endX:_0x3a247c,endY:_0x54925e}=_0x32db17,_0x1f762a=_0x3a247c-_0x2245be,_0x4280e8=_0x54925e-_0x468e18,_0x4e1e61={'labelPosition':_0x468e18-_0x8a96d>=_0x4cdd05?_0x36098a(0x3ee):'bottom','sheetID':_0x4beddd,'range':_0xb9f9b3,'color':_0x2ca104,'name':_0x286a49,'selection':_0x3a57db,'left':_0x2245be,'top':_0x468e18,'width':_0x1f762a,'height':_0x4280e8,'evented':!0x1,'zIndex':_0x894b5c};return new _0x758a7d(_0x286a49,_0x4e1e61);});_0x441fc1[_0x1005e5(0x310)](_0x4b6dd2,_0x2486e0),this['_cursors']=new Set(_0x4b6dd2);}[_0x57234b(0x1ed)](){const _0xd922e8=_0x57234b;var _0x13ac2a;(_0x13ac2a=this[_0xd922e8(0x1ec)])==null||_0x13ac2a[_0xd922e8(0x410)](_0x565f67=>_0x565f67['dispose']());}[_0x57234b(0x389)](){const _0x4b45d3=_0x57234b;return _0x472d06[_0x4b45d3(0x3c4)](this[_0x4b45d3(0x2b2)]['unit'],this[_0x4b45d3(0x2b2)]);}};_0x4f4543=_0x184808([_0x1593a2(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x472d06[_0x57234b(0x2e1)])),_0x1593a2(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x2b7c6d)),_0x1593a2(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x41c)]))],_0x4f4543);function _0x58b803(_0x4b0546){const _0x3ba0b3=_0x57234b,_0x46c929=new Map();return _0x4b0546['forEach'](_0x52a550=>{const _0x3cadaf=_0x2bd3;if(_0x46c929[_0x3cadaf(0x2de)](_0x52a550[_0x3cadaf(0x26f)])){const _0x4b080c=_0x46c929[_0x3cadaf(0x1f3)](_0x52a550[_0x3cadaf(0x26f)]);_0x4b080c[_0x3cadaf(0x350)]+=',\x20'+_0x52a550[_0x3cadaf(0x350)];}else _0x46c929[_0x3cadaf(0x3cf)](_0x52a550[_0x3cadaf(0x26f)],_0x52a550);}),Array[_0x3ba0b3(0x223)](_0x46c929[_0x3ba0b3(0x3ba)]());}var _0x3c0b41=function(){const _0x259459=_0x57234b;return _0x3c0b41=Object['assign']||function(_0x3854ec){const _0x1473c0=_0x2bd3;for(var _0x3bd2b5,_0x5f3cea=0x1,_0x417b13=arguments[_0x1473c0(0x394)];_0x5f3cea<_0x417b13;_0x5f3cea++){_0x3bd2b5=arguments[_0x5f3cea];for(var _0x5994d2 in _0x3bd2b5)Object[_0x1473c0(0x29a)][_0x1473c0(0x40f)][_0x1473c0(0x36e)](_0x3bd2b5,_0x5994d2)&&(_0x3854ec[_0x5994d2]=_0x3bd2b5[_0x5994d2]);}return _0x3854ec;},_0x3c0b41[_0x259459(0x277)](this,arguments);},_0x2d6a06=function(_0x469c14,_0x26b662){const _0x28e929=_0x57234b;var _0xf1f880={};for(var _0x47eb36 in _0x469c14)Object['prototype'][_0x28e929(0x40f)][_0x28e929(0x36e)](_0x469c14,_0x47eb36)&&_0x26b662['indexOf'](_0x47eb36)<0x0&&(_0xf1f880[_0x47eb36]=_0x469c14[_0x47eb36]);if(_0x469c14!=null&&typeof Object[_0x28e929(0x20f)]==_0x28e929(0x338)){for(var _0x546855=0x0,_0x47eb36=Object[_0x28e929(0x20f)](_0x469c14);_0x546855<_0x47eb36[_0x28e929(0x394)];_0x546855++)_0x26b662[_0x28e929(0x245)](_0x47eb36[_0x546855])<0x0&&Object[_0x28e929(0x29a)][_0x28e929(0x2dd)][_0x28e929(0x36e)](_0x469c14,_0x47eb36[_0x546855])&&(_0xf1f880[_0x47eb36[_0x546855]]=_0x469c14[_0x47eb36[_0x546855]]);}return _0xf1f880;},_0x41d49e=_0x2525f4[_0x57234b(0x2ad)](function(_0x1e403f,_0x1f2e68){const _0x2f5a6e=_0x57234b;var _0x2db887=_0x1e403f[_0x2f5a6e(0x215)],_0x1097e0=_0x1e403f['id'],_0x1c4f0e=_0x1e403f[_0x2f5a6e(0x213)],_0x1145ae=_0x1e403f['extend'],_0x564464=_0x2d6a06(_0x1e403f,[_0x2f5a6e(0x215),'id',_0x2f5a6e(0x213),_0x2f5a6e(0x1f8)]),_0x42c018='univerjs-icon\x20univerjs-icon-'[_0x2f5a6e(0x3e3)](_0x1097e0,'\x20')[_0x2f5a6e(0x3e3)](_0x1c4f0e||'')[_0x2f5a6e(0x35a)](),_0x4227f0=_0x2525f4['useRef']('_'[_0x2f5a6e(0x3e3)](_0x3083d7()));return _0x2bdeaf(_0x2db887,''[_0x2f5a6e(0x3e3)](_0x1097e0),{'defIds':_0x2db887[_0x2f5a6e(0x1cc)],'idSuffix':_0x4227f0['current']},_0x3c0b41({'ref':_0x1f2e68,'className':_0x42c018},_0x564464),_0x1145ae);});function _0x2bdeaf(_0x299da8,_0x3a58b5,_0x62f257,_0x204603,_0x29b913){const _0x5dec26=_0x57234b;return _0x2525f4[_0x5dec26(0x2f8)](_0x299da8['tag'],_0x3c0b41(_0x3c0b41({'key':_0x3a58b5},_0x354363(_0x299da8,_0x62f257,_0x29b913)),_0x204603),(_0x326975(_0x299da8,_0x62f257)[_0x5dec26(0x3bd)]||[])[_0x5dec26(0x2fb)](function(_0x5a545a,_0x3be186){const _0x2f6a76=_0x5dec26;return _0x2bdeaf(_0x5a545a,''[_0x2f6a76(0x3e3)](_0x3a58b5,'-')[_0x2f6a76(0x3e3)](_0x299da8[_0x2f6a76(0x315)],'-')[_0x2f6a76(0x3e3)](_0x3be186),_0x62f257,void 0x0,_0x29b913);}));}function _0x354363(_0x5947c6,_0x68df6b,_0x184146){const _0x543115=_0x57234b;var _0x8357eb=_0x3c0b41({},_0x5947c6['attrs']);_0x184146!=null&&_0x184146[_0x543115(0x3fe)]&&_0x8357eb['fill']===_0x543115(0x3fe)&&(_0x8357eb[_0x543115(0x255)]=_0x184146['colorChannel1']),_0x5947c6[_0x543115(0x315)]===_0x543115(0x2d1)&&_0x8357eb['id']&&(_0x8357eb['id']=_0x8357eb['id']+_0x68df6b[_0x543115(0x2a3)]),Object[_0x543115(0x2cc)](_0x8357eb)[_0x543115(0x410)](function(_0x4fbb24){const _0x755ec1=_0x543115;var _0x43a8ee=_0x4fbb24[0x0],_0x10a5a3=_0x4fbb24[0x1];_0x43a8ee===_0x755ec1(0x2d1)&&typeof _0x10a5a3==_0x755ec1(0x210)&&(_0x8357eb[_0x43a8ee]=_0x10a5a3[_0x755ec1(0x325)](/url\(#(.*)\)/,'url(#$1'[_0x755ec1(0x3e3)](_0x68df6b[_0x755ec1(0x2a3)],')')));});var _0x27c60f=_0x68df6b[_0x543115(0x1cc)];return!_0x27c60f||_0x27c60f[_0x543115(0x394)]===0x0||(_0x5947c6[_0x543115(0x315)]==='use'&&_0x8357eb[_0x543115(0x301)]&&(_0x8357eb['xlink:href']=_0x8357eb[_0x543115(0x301)]+_0x68df6b[_0x543115(0x2a3)]),Object[_0x543115(0x2cc)](_0x8357eb)[_0x543115(0x410)](function(_0x245f0b){const _0x75264d=_0x543115;var _0xfa8c45=_0x245f0b[0x0],_0xdd1f5c=_0x245f0b[0x1];typeof _0xdd1f5c==_0x75264d(0x210)&&(_0x8357eb[_0xfa8c45]=_0xdd1f5c[_0x75264d(0x325)](/url\(#(.*)\)/,_0x75264d(0x359)['concat'](_0x68df6b['idSuffix'],')')));})),_0x8357eb;}function _0x326975(_0x58e9fd,_0x1a5579){const _0x32ab49=_0x57234b;var _0x1d707b,_0x3c71e9=_0x1a5579[_0x32ab49(0x1cc)];return!_0x3c71e9||_0x3c71e9[_0x32ab49(0x394)]===0x0?_0x58e9fd:_0x58e9fd['tag']===_0x32ab49(0x2f3)&&(!((_0x1d707b=_0x58e9fd[_0x32ab49(0x3bd)])===null||_0x1d707b===void 0x0)&&_0x1d707b[_0x32ab49(0x394)])?_0x3c0b41(_0x3c0b41({},_0x58e9fd),{'children':_0x58e9fd['children'][_0x32ab49(0x2fb)](function(_0x45472b){const _0x3f67a2=_0x32ab49;return typeof _0x45472b[_0x3f67a2(0x40d)]['id']==_0x3f67a2(0x210)&&_0x3c71e9&&_0x3c71e9[_0x3f67a2(0x245)](_0x45472b[_0x3f67a2(0x40d)]['id'])>-0x1?_0x3c0b41(_0x3c0b41({},_0x45472b),{'attrs':_0x3c0b41(_0x3c0b41({},_0x45472b[_0x3f67a2(0x40d)]),{'id':_0x45472b[_0x3f67a2(0x40d)]['id']+_0x1a5579[_0x3f67a2(0x2a3)]})}):_0x45472b;})}):_0x58e9fd;}function _0x3083d7(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x41d49e['displayName']=_0x57234b(0x23b);var _0x5d5f2e={'tag':_0x57234b(0x3bf),'attrs':{'fill':_0x57234b(0x422),'viewBox':_0x57234b(0x3cb),'width':_0x57234b(0x1b9),'height':_0x57234b(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x57234b(0x417)},'children':[{'tag':'path','attrs':{'stroke':_0x57234b(0x224),'d':_0x57234b(0x2c3),'strokeLinecap':_0x57234b(0x28f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x57234b(0x2f3),'attrs':{},'children':[{'tag':_0x57234b(0x34d),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x57234b(0x3a2),'attrs':{'fill':_0x57234b(0x3b3),'d':_0x57234b(0x3f6)}}]}]}],'defIds':[_0x57234b(0x2f0)]},_0x4beac1=_0x2525f4[_0x57234b(0x2ad)](function(_0x10c4a4,_0x13cc8e){const _0x1ee1e4=_0x57234b;return _0x2525f4[_0x1ee1e4(0x2f8)](_0x41d49e,Object[_0x1ee1e4(0x3f0)]({},_0x10c4a4,{'id':_0x1ee1e4(0x3c8),'ref':_0x13cc8e,'icon':_0x5d5f2e}));});_0x4beac1[_0x57234b(0x261)]=_0x57234b(0x263);var _0x59c649={'tag':'svg','attrs':{'fill':_0x57234b(0x422),'viewBox':_0x57234b(0x22a),'width':'1em','height':_0x57234b(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x57234b(0x375)},'children':[{'tag':'path','attrs':{'stroke':_0x57234b(0x224),'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':_0x57234b(0x28f),'strokeLinejoin':_0x57234b(0x28f),'strokeWidth':1.2}}]},{'tag':_0x57234b(0x2f3),'attrs':{},'children':[{'tag':_0x57234b(0x34d),'attrs':{'id':_0x57234b(0x281)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x57234b(0x3f6),'transform':_0x57234b(0x294)}}]}]}],'defIds':[_0x57234b(0x281)]},_0x472ed5=_0x2525f4[_0x57234b(0x2ad)](function(_0x228f10,_0x291fda){const _0x4028c4=_0x57234b;return _0x2525f4['createElement'](_0x41d49e,Object[_0x4028c4(0x3f0)]({},_0x228f10,{'id':_0x4028c4(0x2ac),'ref':_0x291fda,'icon':_0x59c649}));});_0x472ed5[_0x57234b(0x261)]=_0x57234b(0x235);const _0x38d63a={'onlineStatusIcon':_0x57234b(0x3f2),'onlineStatusTitle':_0x57234b(0x41e),'onlineStatus':_0x57234b(0x395),'online':_0x57234b(0x386),'offline':_0x57234b(0x2fe)};function _0x5ac118(_0x3d727b){const _0x14abec=_0x57234b;switch(_0x3d727b){case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x2d9)]:return _0x14abec(0x3f5);case _0x3cd4b3['CollaborationStatus'][_0x14abec(0x21a)]:return _0x14abec(0x3c9);case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x282)]:return'collabStatus.fetchMiss';case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x414)]:return _0x14abec(0x2aa);case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x2e4)]:case _0x3cd4b3['CollaborationStatus'][_0x14abec(0x364)]:return _0x14abec(0x1a2);case _0x3cd4b3[_0x14abec(0x25c)]['SYNCED']:case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x40c)]:return _0x14abec(0x21c);}}function _0x5b4741(_0x3c415b){const _0x2178bf=_0x57234b,{status$:_0x1d96fb}=_0x3c415b,_0x20d8e5=_0x598c76[_0x2178bf(0x354)](_0x1d96fb,_0x3cd4b3[_0x2178bf(0x25c)][_0x2178bf(0x414)]),_0x58efd0=_0x598c76[_0x2178bf(0x3c3)](_0x2f047f[_0x2178bf(0x3a0)]),_0x52623a=_0x598c76[_0x2178bf(0x3c3)](_0x3cd4b3[_0x2178bf(0x3d2)]),_0x5d0a53=_0x20d8e5!==_0x3cd4b3[_0x2178bf(0x25c)][_0x2178bf(0x2d9)],_0x135f60=_0x58efd0['t'](_0x5ac118(_0x20d8e5)),_0xc66e05=_0x128cbd[_0x2178bf(0x1f6)](_0x38d63a[_0x2178bf(0x3e0)],{[_0x38d63a[_0x2178bf(0x37b)]]:_0x5d0a53,[_0x38d63a['offline']]:!_0x5d0a53}),_0x127b42=_0x5d0a53?_0x41d205[_0x2178bf(0x1b5)](_0x472ed5,{}):_0x41d205[_0x2178bf(0x1b5)](_0x4beac1,{}),_0x36badb=_0x2525f4['useCallback'](()=>{const _0x3300de=_0x2178bf;_0x5d0a53||_0x52623a[_0x3300de(0x342)]();},[_0x5d0a53,_0x52623a]);function _0x1a937d(){const _0x20a76f=_0x2178bf;return _0x41d205['jsxs'](_0x20a76f(0x1e3),{'className':_0x128cbd[_0x20a76f(0x1f6)](_0xc66e05,_0x20a76f(0x2a4)),'onClick':_0x36badb,'children':[_0x41d205[_0x20a76f(0x1b5)]('div',{'className':_0x38d63a[_0x20a76f(0x208)],'children':_0x127b42}),_0x41d205['jsx'](_0x20a76f(0x1e3),{'className':_0x38d63a[_0x20a76f(0x404)],'children':_0x135f60})]});}return _0x5d0a53?_0x1a937d():_0x41d205[_0x2178bf(0x1b5)](_0x128cbd[_0x2178bf(0x2df)],{'title':_0x58efd0['t']('collab-client.tooltip.reconnect'),'children':_0x1a937d()});}var _0x4a5272=Object[_0x57234b(0x32c)],_0x3d6723=(_0x65fef5,_0x4800f1,_0x5e0ebc,_0x5ef07d)=>{for(var _0x1a7d81=_0x5ef07d>0x1?void 0x0:_0x5ef07d?_0x4a5272(_0x4800f1,_0x5e0ebc):_0x4800f1,_0xa4b5b0=_0x65fef5['length']-0x1,_0x25e900;_0xa4b5b0>=0x0;_0xa4b5b0--)(_0x25e900=_0x65fef5[_0xa4b5b0])&&(_0x1a7d81=_0x25e900(_0x1a7d81)||_0x1a7d81);return _0x1a7d81;},_0x1e0b6b=(_0x5d1593,_0x41eaea)=>(_0x155031,_0x59fb72)=>_0x41eaea(_0x155031,_0x59fb72,_0x5d1593);_0x233897[_0x57234b(0x41f)]=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x368d02,_0x577427,_0x237d41,_0x3e0b0a){const _0x117be2=_0x57234b;super(),_0x2a7ff2(this,_0x117be2(0x38f),new _0x5c56d7['BehaviorSubject'](_0x3cd4b3[_0x117be2(0x25c)][_0x117be2(0x414)])),(this[_0x117be2(0x3d5)]=_0x368d02,this[_0x117be2(0x2b8)]=_0x577427,this['_collaborationController']=_0x237d41,this['_uiPartsService']=_0x3e0b0a,this['_initStatusComponent'](),this[_0x117be2(0x388)]());}[_0x57234b(0x388)](){const _0x354828=_0x57234b;this['disposeWithMe'](this[_0x354828(0x3d5)][_0x354828(0x322)]['pipe'](_0x5c56d7[_0x354828(0x427)](()=>{const _0x3ddf9a=_0x354828,_0x1a1887=this[_0x3ddf9a(0x3d5)][_0x3ddf9a(0x2ef)]();return _0x1a1887?this['_collaborationController'][_0x3ddf9a(0x1e0)](_0x1a1887[_0x3ddf9a(0x3a6)]()):_0x5c56d7['of'](null);}),_0x5c56d7[_0x354828(0x427)](_0x3bd3b0=>_0x3bd3b0?_0x3bd3b0[_0x354828(0x3d6)]:_0x5c56d7['of'](_0x3cd4b3['CollaborationStatus'][_0x354828(0x414)])))[_0x354828(0x2d2)](_0x5d0c18=>{const _0x3f2df9=_0x354828;this[_0x3f2df9(0x38f)][_0x3f2df9(0x273)](_0x5d0c18);}));}['_initStatusComponent'](){const _0xf6e202=_0x57234b;this[_0xf6e202(0x3aa)](this[_0xf6e202(0x1f4)][_0xf6e202(0x35d)](_0x598c76['BuiltInUIPart']['HEADER_MENU'],()=>_0x598c76[_0xf6e202(0x29f)](_0x3a84e0({'status$':this[_0xf6e202(0x38f)][_0xf6e202(0x1a1)]()}),this[_0xf6e202(0x2b8)])));}},_0x233897['DesktopCollaborationStatusDisplayController']=_0x3d6723([_0x1e0b6b(0x0,_0x2f047f[_0x57234b(0x309)]),_0x1e0b6b(0x1,_0x2f047f['Inject'](_0x2f047f['Injector'])),_0x1e0b6b(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3[_0x57234b(0x27d)])),_0x1e0b6b(0x3,_0x598c76['IUIPartsService'])],_0x233897[_0x57234b(0x41f)]);function _0x3a84e0(_0x379ad8){const {status$:_0x335a2a}=_0x379ad8;return function(){const _0x440059=_0x2bd3;return _0x41d205[_0x440059(0x1b5)](_0x5b4741,{'status$':_0x335a2a});};}var _0x319b1c=Object[_0x57234b(0x32c)],_0xd722ce=(_0x48f79f,_0x21f822,_0x20b9ae,_0x17cb70)=>{const _0x1df393=_0x57234b;for(var _0x74bef9=_0x17cb70>0x1?void 0x0:_0x17cb70?_0x319b1c(_0x21f822,_0x20b9ae):_0x21f822,_0xb5e5a2=_0x48f79f[_0x1df393(0x394)]-0x1,_0x23e5ec;_0xb5e5a2>=0x0;_0xb5e5a2--)(_0x23e5ec=_0x48f79f[_0xb5e5a2])&&(_0x74bef9=_0x23e5ec(_0x74bef9)||_0x74bef9);return _0x74bef9;},_0x4135e6=(_0x57a356,_0x1bed40)=>(_0x44aff2,_0x48a1b6)=>_0x1bed40(_0x44aff2,_0x48a1b6,_0x57a356);let _0x138e1d=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x5af8a0,_0x46acc4,_0x4d929e,_0x20fbbb,_0x4f175e,_0x23de6e){const _0x46095b=_0x57234b;super(),this[_0x46095b(0x319)]=_0x5af8a0,this[_0x46095b(0x1fa)]=_0x46acc4,this[_0x46095b(0x34c)]=_0x4d929e,this[_0x46095b(0x34e)]=_0x20fbbb,this[_0x46095b(0x2c4)]=_0x4f175e,this[_0x46095b(0x368)]=_0x23de6e,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x5ec1fd=_0x57234b;this[_0x5ec1fd(0x3aa)](this['_beforeCloseService'][_0x5ec1fd(0x3f3)](()=>{const _0x39444a=_0x5ec1fd;if(this[_0x39444a(0x1fa)][_0x39444a(0x415)]['size'])return this['_localeService']['t'](_0x39444a(0x2e7));}));}[_0x57234b(0x2e8)](){const _0x2ca7ee=_0x57234b;this[_0x2ca7ee(0x3aa)](this[_0x2ca7ee(0x34c)][_0x2ca7ee(0x1f1)][_0x2ca7ee(0x2d2)](_0x13329b=>{const _0x17a611=_0x2ca7ee;_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)][_0x17a611(0x2ee)]&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd[_0x17a611(0x1fc)][_0x17a611(0x32e)],'content':this[_0x17a611(0x368)]['t']('collaboration.single-unit.warning')}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)]['CLOSE_ROOM']&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd['MessageType'][_0x17a611(0x32e)],'content':this[_0x17a611(0x368)]['t'](_0x17a611(0x31c))}),_0x13329b['id']===_0x3cd4b3['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x17a611(0x2c4)][_0x17a611(0x420)]({'title':this[_0x17a611(0x368)]['t'](_0x17a611(0x20a)),'content':this[_0x17a611(0x368)]['t'](_0x17a611(0x1f7)),'type':_0x17a611(0x289),'duration':0x0}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)]['CONFLICT']&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd['MessageType'][_0x17a611(0x1a8)],'content':this['_localeService']['t'](_0x17a611(0x31c))+'('+_0x13329b[_0x17a611(0x318)]+')'}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)]['JOIN_ROOM_FAILED']&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd[_0x17a611(0x1fc)]['Warning'],'content':this['_localeService']['t'](_0x13329b[_0x17a611(0x318)]||'')}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)][_0x17a611(0x28c)]&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd['MessageType']['Warning'],'content':this[_0x17a611(0x368)]['t'](_0x17a611(0x357))}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)][_0x17a611(0x42e)]&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd[_0x17a611(0x1fc)]['Error'],'content':this[_0x17a611(0x368)]['t']('session.connection-failed')}),_0x13329b['id']===_0x3cd4b3['CollaborationUIEventId'][_0x17a611(0x3fa)]&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd[_0x17a611(0x1fc)][_0x17a611(0x1a8)],'content':this[_0x17a611(0x368)]['t']('session.collaboration-timeout')});}));}};_0x138e1d=_0xd722ce([_0x4135e6(0x0,_0x598c76[_0x57234b(0x221)]),_0x4135e6(0x1,_0x3cd4b3['ILocalCacheService']),_0x4135e6(0x2,_0x2f047f['Inject'](_0x3cd4b3[_0x57234b(0x3ef)])),_0x4135e6(0x3,_0x598c76[_0x57234b(0x35c)]),_0x4135e6(0x4,_0x598c76[_0x57234b(0x1eb)]),_0x4135e6(0x5,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3a0)]))],_0x138e1d);const _0x1257be=_0x57234b(0x24b),_0x1236dd={},_0x416e69=_0x2f047f[_0x57234b(0x291)]('uni.network.url-service');var _0x2fc4e1=Object[_0x57234b(0x32c)],_0x2ec698=(_0x29d15b,_0x3637bb,_0x4e7793,_0x13fab7)=>{const _0x968cdd=_0x57234b;for(var _0x5b15fb=_0x13fab7>0x1?void 0x0:_0x13fab7?_0x2fc4e1(_0x3637bb,_0x4e7793):_0x3637bb,_0x3526cc=_0x29d15b[_0x968cdd(0x394)]-0x1,_0x1ce9b9;_0x3526cc>=0x0;_0x3526cc--)(_0x1ce9b9=_0x29d15b[_0x3526cc])&&(_0x5b15fb=_0x1ce9b9(_0x5b15fb)||_0x5b15fb);return _0x5b15fb;},_0x30b003=(_0x1b571a,_0x5aff7c)=>(_0xb74147,_0x419fa8)=>_0x5aff7c(_0xb74147,_0x419fa8,_0x1b571a);_0x233897[_0x57234b(0x23a)]=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x1967ef,_0x1c1292,_0x3964d2,_0x206607,_0x205432){const _0x313ab5=_0x57234b;super(),this[_0x313ab5(0x278)]=_0x1967ef,this[_0x313ab5(0x2e2)]=_0x1c1292,this[_0x313ab5(0x3c2)]=_0x3964d2,this[_0x313ab5(0x3f9)]=_0x206607,_0x205432?_0x205432==null||_0x205432['whenReady']()['then'](()=>this[_0x313ab5(0x1b3)]()):(this[_0x313ab5(0x2e2)]['debug']('[CollaborationDataLoaderController]',_0x313ab5(0x1c7)),this[_0x313ab5(0x1b3)]());}async['_init'](){const _0x171caf=_0x57234b,_0x42abc7=this[_0x171caf(0x278)]['getParam'](_0x171caf(0x21d)),_0x2f50ca=this[_0x171caf(0x278)]['getParam']('type'),_0x1230a9=this[_0x171caf(0x278)][_0x171caf(0x42c)]('subunit');if(!_0x42abc7||!_0x2f50ca){this[_0x171caf(0x2e2)][_0x171caf(0x231)](_0x171caf(0x1bf),_0x171caf(0x211));return;}const _0x593eaa=await this['_dataLoaderService']['loadUnit'](_0x42abc7,Number(_0x2f50ca),_0x1230a9);_0x593eaa&&_0x593eaa instanceof _0x2f047f[_0x171caf(0x3d0)]&&this[_0x171caf(0x2d5)](_0x593eaa);}async[_0x57234b(0x2d5)](_0x228b60){const _0x1b5d6c=_0x57234b;await this['_updateSubUnitFromURLParams'](_0x228b60),_0x228b60[_0x1b5d6c(0x402)][_0x1b5d6c(0x297)](_0x5c56d7[_0x1b5d6c(0x399)](this[_0x1b5d6c(0x314)]))[_0x1b5d6c(0x2d2)](_0x30d53c=>{const _0x2f8117=_0x1b5d6c;_0x30d53c&&this[_0x2f8117(0x32d)](_0x30d53c);}),this[_0x1b5d6c(0x278)][_0x1b5d6c(0x30a)][_0x1b5d6c(0x297)](_0x5c56d7[_0x1b5d6c(0x399)](this[_0x1b5d6c(0x314)]))[_0x1b5d6c(0x2d2)](()=>this[_0x1b5d6c(0x413)](_0x228b60));}[_0x57234b(0x32d)](_0x500e3c,_0x138ebc=!0x1){const _0x40ba6b=_0x57234b,_0x91de77=this[_0x40ba6b(0x278)][_0x40ba6b(0x42c)](_0x40ba6b(0x2fc));_0x500e3c[_0x40ba6b(0x336)]()!==_0x91de77&&this[_0x40ba6b(0x278)][_0x40ba6b(0x1b4)](_0x40ba6b(0x2fc),_0x500e3c[_0x40ba6b(0x336)](),_0x138ebc);}async['_updateSubUnitFromURLParams'](_0x48f33f){const _0x35e4f6=_0x57234b;var _0x4d7e28;const _0x2f2149=this['_urlService'][_0x35e4f6(0x42c)](_0x35e4f6(0x2fc));if(!_0x2f2149||!_0x48f33f[_0x35e4f6(0x200)](_0x2f2149)){const _0xf9f956=_0x48f33f[_0x35e4f6(0x1ef)]()[0x0],_0x477a79=_0x48f33f[_0x35e4f6(0x200)](_0xf9f956);if(!_0x477a79)return;this['_updateURLWithCurrentState'](_0x477a79,!0x0),await this[_0x35e4f6(0x3c2)]['executeCommand'](_0xafcc68['SetWorksheetActivateCommand']['id'],{'unitId':_0x48f33f[_0x35e4f6(0x3a6)](),'subUnitId':_0xf9f956});return;}((_0x4d7e28=_0x48f33f[_0x35e4f6(0x3e4)]())==null?void 0x0:_0x4d7e28[_0x35e4f6(0x336)]())!==_0x2f2149&&await this[_0x35e4f6(0x3c2)][_0x35e4f6(0x31e)](_0xafcc68[_0x35e4f6(0x351)]['id'],{'unitId':_0x48f33f['getUnitId'](),'subUnitId':_0x2f2149});}},_0x233897[_0x57234b(0x23a)]=_0x2ec698([_0x30b003(0x0,_0x416e69),_0x30b003(0x1,_0x2f047f['ILogService']),_0x30b003(0x2,_0x2f047f[_0x57234b(0x283)]),_0x30b003(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3['DataLoaderService'])),_0x30b003(0x4,_0x2f047f[_0x57234b(0x39d)](_0x53afa0[_0x57234b(0x2d4)]))],_0x233897[_0x57234b(0x23a)]);var _0x5d5a2b=Object[_0x57234b(0x32c)],_0x4d8edf=(_0x1ebed7,_0x2bf3be,_0x503e56,_0x514f7a)=>{const _0x5e8d54=_0x57234b;for(var _0x3fbb8f=_0x514f7a>0x1?void 0x0:_0x514f7a?_0x5d5a2b(_0x2bf3be,_0x503e56):_0x2bf3be,_0x10176a=_0x1ebed7[_0x5e8d54(0x394)]-0x1,_0x455efc;_0x10176a>=0x0;_0x10176a--)(_0x455efc=_0x1ebed7[_0x10176a])&&(_0x3fbb8f=_0x455efc(_0x3fbb8f)||_0x3fbb8f);return _0x3fbb8f;},_0x5cff86=(_0x5f5ae3,_0xbe9cda)=>(_0x5710dd,_0x141119)=>_0xbe9cda(_0x5710dd,_0x141119,_0x5f5ae3);let _0x195350=class{constructor(_0x57f6c8,_0x1967b8,_0x5a35be){const _0x1c3ad0=_0x57234b;this[_0x1c3ad0(0x2b8)]=_0x57f6c8,this[_0x1c3ad0(0x2a0)]=_0x1967b8,this[_0x1c3ad0(0x259)]=_0x5a35be;}['transformIMECache'](_0x14d4bb){this['_transformUndoRedoStack'](_0x14d4bb),this['_transformPreviousActiveRange'](_0x14d4bb);}[_0x57234b(0x1d7)](_0x1b8872){const _0x432b6e=_0x57234b,{unitID:_0x56bdd1}=_0x1b8872,_0x240039=this[_0x432b6e(0x259)]['getRenderById'](_0x56bdd1)[_0x432b6e(0x1c2)](_0x35f299[_0x432b6e(0x22e)]),{redoCache:_0x1706c7}=_0x240039[_0x432b6e(0x430)]();if(_0x1706c7[_0x432b6e(0x394)]===0x0)return _0x1b8872;let _0x1b5afd=_0x2f047f['Tools'][_0x432b6e(0x3dc)](_0x1b8872[_0x432b6e(0x1f2)][0x0]);for(let _0x576941=0x0;_0x576941<_0x1706c7[_0x432b6e(0x394)];_0x576941++){const _0x1ecc2={'id':_0x432b6e(0x253),'params':{..._0x1706c7[_0x576941]}},_0xee519d=this[_0x432b6e(0x2a0)][_0x432b6e(0x42a)](_0x1b5afd,_0x1ecc2,!0x1);if(_0x10f325['isTransformMutationFailure'](_0xee519d))throw _0xee519d['error'];_0x1b5afd=_0xee519d[_0x432b6e(0x269)];}return{..._0x2f047f[_0x432b6e(0x1e6)][_0x432b6e(0x3dc)](_0x1b8872),'mutations':[_0x1b5afd]};}[_0x57234b(0x2f2)](_0x59467e){const _0x4c8ab5=_0x57234b,{unitID:_0x1d87d5}=_0x59467e,_0x415428=this['_renderManagerService'][_0x4c8ab5(0x33d)](_0x1d87d5)['with'](_0x35f299[_0x4c8ab5(0x22e)]),{undoCache:_0x333687,redoCache:_0x21d96b}=_0x415428[_0x4c8ab5(0x430)]();if(_0x333687[_0x4c8ab5(0x394)]===0x0||_0x21d96b[_0x4c8ab5(0x394)]===0x0)return;const _0x2eb28c=[],_0x1dc611=[];let _0x3f4e89=_0x2f047f[_0x4c8ab5(0x1e6)][_0x4c8ab5(0x3dc)](_0x59467e[_0x4c8ab5(0x1f2)][0x0]),_0x578ce9=_0x2f047f['Tools']['deepClone'](_0x59467e[_0x4c8ab5(0x1f2)][0x0]);for(let _0x4f1726=_0x333687[_0x4c8ab5(0x394)]-0x1;_0x4f1726>=0x0;_0x4f1726--){const _0x4509b9={'id':'doc.mutation.rich-text-editing','params':{..._0x333687[_0x4f1726]}},_0x5b9d2a={'id':_0x4c8ab5(0x253),'params':{..._0x21d96b[_0x4f1726]}},_0x1efdbe=this[_0x4c8ab5(0x2a0)][_0x4c8ab5(0x42a)](_0x3f4e89,_0x4509b9,!0x1),_0x426b52=this['_transformService'][_0x4c8ab5(0x42a)](_0x578ce9,_0x5b9d2a,!0x1);if(_0x10f325[_0x4c8ab5(0x1a5)](_0x1efdbe))throw _0x1efdbe[_0x4c8ab5(0x289)];if(_0x10f325[_0x4c8ab5(0x1a5)](_0x426b52))throw _0x426b52[_0x4c8ab5(0x289)];_0x2eb28c[_0x4c8ab5(0x308)](_0x1efdbe[_0x4c8ab5(0x2e9)][_0x4c8ab5(0x31b)]),_0x1dc611[_0x4c8ab5(0x308)](_0x426b52['m2Prime']['params']),_0x3f4e89=_0x1efdbe[_0x4c8ab5(0x269)],_0x578ce9=_0x426b52['m1Prime'];}_0x415428['setUndoRedoMutationParamsCache']({'undoCache':_0x2eb28c,'redoCache':_0x1dc611});}[_0x57234b(0x3f4)](_0x5a0f4e){const _0x13dde2=_0x57234b,{unitID:_0x8bedd2}=_0x5a0f4e,_0x28bf8e=this[_0x13dde2(0x259)][_0x13dde2(0x33d)](_0x8bedd2)[_0x13dde2(0x1c2)](_0x35f299[_0x13dde2(0x22e)]),_0x44985b=_0x28bf8e[_0x13dde2(0x2be)]();if(_0x44985b==null)return;const _0x1f3cd2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a0f4e[_0x13dde2(0x21f)],'actions':null,'textRanges':[_0x44985b]}}],_0x5062dc=this[_0x13dde2(0x2a0)][_0x13dde2(0x347)](_0x5a0f4e,_0x1f3cd2);if(!_0x10f325['isTransformMutationsWithChangesetSuccess'](_0x5062dc))throw _0x5062dc[_0x13dde2(0x289)];const _0x3d82d5=_0x5062dc[_0x13dde2(0x2e9)][0x0][_0x13dde2(0x31b)][_0x13dde2(0x304)];Array[_0x13dde2(0x3a5)](_0x3d82d5)&&_0x3d82d5[_0x13dde2(0x394)]&&_0x28bf8e['setActiveRange'](_0x3d82d5[0x0]);}};_0x195350=_0x4d8edf([_0x5cff86(0x0,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3fb)])),_0x5cff86(0x1,_0x10f325[_0x57234b(0x407)]),_0x5cff86(0x2,_0x228785[_0x57234b(0x23c)])],_0x195350);var _0x3f0f87=Object[_0x57234b(0x32c)],_0x5b30f3=(_0x309255,_0x4caa77,_0x75eec8,_0x246d3c)=>{const _0x1ce058=_0x57234b;for(var _0x9c6d73=_0x246d3c>0x1?void 0x0:_0x246d3c?_0x3f0f87(_0x4caa77,_0x75eec8):_0x4caa77,_0x5cb0ca=_0x309255[_0x1ce058(0x394)]-0x1,_0x46871a;_0x5cb0ca>=0x0;_0x5cb0ca--)(_0x46871a=_0x309255[_0x5cb0ca])&&(_0x9c6d73=_0x46871a(_0x9c6d73)||_0x9c6d73);return _0x9c6d73;},_0x4cb718=(_0x14edd0,_0xb6274d)=>(_0x4bbe3f,_0x2d4304)=>_0xb6274d(_0x4bbe3f,_0x2d4304,_0x14edd0);let _0x357abb=class{constructor(_0x51415a,_0x3d3c0d,_0x19ec51){const _0x1a5ecc=_0x57234b;this[_0x1a5ecc(0x2b8)]=_0x51415a,this['_transformService']=_0x3d3c0d,this[_0x1a5ecc(0x1f9)]=_0x19ec51;}[_0x57234b(0x212)](_0x5e8b08){const _0x87cb2c=_0x57234b;this[_0x87cb2c(0x240)](_0x5e8b08);}[_0x57234b(0x1d7)](_0x2116d5){const _0x3efc06=_0x57234b,{unitID:_0x44d31f}=_0x2116d5,{collaboration:_0x138433}=this['_docStateChangeManagerService'][_0x3efc06(0x2ba)](_0x44d31f);if(_0x138433[_0x3efc06(0x394)]===0x0)return _0x2116d5;let _0x5ed798=_0x2f047f[_0x3efc06(0x1e6)][_0x3efc06(0x3dc)](_0x2116d5[_0x3efc06(0x1f2)][0x0]);for(let _0x9714a2=0x0;_0x9714a2<_0x138433[_0x3efc06(0x394)];_0x9714a2++){const _0x4bf869={'id':_0x3efc06(0x253),'params':{'unitId':_0x138433[_0x9714a2][_0x3efc06(0x3ac)],..._0x138433[_0x9714a2]['redoState']}},_0x269aac=this[_0x3efc06(0x2a0)]['transformMutation'](_0x5ed798,_0x4bf869,!0x1);if(_0x10f325[_0x3efc06(0x1a5)](_0x269aac))throw _0x269aac['error'];_0x5ed798=_0x269aac[_0x3efc06(0x269)];}return{..._0x2f047f['Tools'][_0x3efc06(0x3dc)](_0x2116d5),'mutations':[_0x5ed798]};}[_0x57234b(0x240)](_0x32d4ae){const _0x37fae2=_0x57234b,{unitID:_0x2379fb}=_0x32d4ae,{history:_0x57bcb2,collaboration:_0x3dfc4b}=this['_docStateChangeManagerService'][_0x37fae2(0x2ba)](_0x2379fb);if(_0x57bcb2[_0x37fae2(0x394)]===0x0&&_0x3dfc4b[_0x37fae2(0x394)]===0x0)return;const _0x41403a=[],_0x1e0fd1=[];let _0x4631a7=_0x2f047f[_0x37fae2(0x1e6)][_0x37fae2(0x3dc)](_0x32d4ae['mutations'][0x0]),_0x4b91dc=_0x2f047f[_0x37fae2(0x1e6)]['deepClone'](_0x32d4ae[_0x37fae2(0x1f2)][0x0]);for(let _0x491ca7=_0x57bcb2['length']-0x1;_0x491ca7>=0x0;_0x491ca7--){const _0x4a9d74={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57bcb2[_0x491ca7][_0x37fae2(0x3ac)],..._0x57bcb2[_0x491ca7]['undoState']}},_0xff751e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57bcb2[_0x491ca7]['unitId'],..._0x57bcb2[_0x491ca7]['redoState']}},_0x570f59=this[_0x37fae2(0x2a0)][_0x37fae2(0x42a)](_0x4631a7,_0x4a9d74,!0x1),_0x2ecaa5=this[_0x37fae2(0x2a0)][_0x37fae2(0x42a)](_0x4b91dc,_0xff751e,!0x1);if(_0x10f325[_0x37fae2(0x1a5)](_0x570f59))throw _0x570f59[_0x37fae2(0x289)];if(_0x10f325[_0x37fae2(0x1a5)](_0x2ecaa5))throw _0x2ecaa5['error'];_0x41403a['unshift']({..._0x57bcb2[_0x491ca7],'undoState':_0x570f59[_0x37fae2(0x2e9)][_0x37fae2(0x31b)],'redoState':_0x2ecaa5['m2Prime'][_0x37fae2(0x31b)]}),_0x4631a7=_0x570f59[_0x37fae2(0x269)],_0x4b91dc=_0x2ecaa5['m1Prime'];}_0x4631a7=_0x2f047f[_0x37fae2(0x1e6)][_0x37fae2(0x3dc)](_0x32d4ae['mutations'][0x0]),_0x4b91dc=_0x2f047f[_0x37fae2(0x1e6)][_0x37fae2(0x3dc)](_0x32d4ae['mutations'][0x0]);for(let _0x605974=_0x3dfc4b[_0x37fae2(0x394)]-0x1;_0x605974>=0x0;_0x605974--){const _0x3d4894={'id':_0x37fae2(0x253),'params':{'unitId':_0x3dfc4b[_0x605974][_0x37fae2(0x3ac)],..._0x3dfc4b[_0x605974]['undoState']}},_0x74cc63={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3dfc4b[_0x605974][_0x37fae2(0x3ac)],..._0x3dfc4b[_0x605974][_0x37fae2(0x33b)]}},_0x362d98=this[_0x37fae2(0x2a0)][_0x37fae2(0x42a)](_0x4631a7,_0x3d4894,!0x1),_0x499560=this[_0x37fae2(0x2a0)][_0x37fae2(0x42a)](_0x4b91dc,_0x74cc63,!0x1);if(_0x10f325['isTransformMutationFailure'](_0x362d98))throw _0x362d98[_0x37fae2(0x289)];if(_0x10f325[_0x37fae2(0x1a5)](_0x499560))throw _0x499560[_0x37fae2(0x289)];_0x1e0fd1['unshift']({..._0x3dfc4b[_0x605974],'undoState':_0x362d98[_0x37fae2(0x2e9)][_0x37fae2(0x31b)],'redoState':_0x499560['m2Prime'][_0x37fae2(0x31b)]}),_0x4631a7=_0x362d98[_0x37fae2(0x269)],_0x4b91dc=_0x499560[_0x37fae2(0x269)];}this['_docStateChangeManagerService'][_0x37fae2(0x3fc)](_0x2379fb,{'history':_0x41403a,'collaboration':_0x1e0fd1});}};_0x357abb=_0x5b30f3([_0x4cb718(0x0,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3fb)])),_0x4cb718(0x1,_0x10f325[_0x57234b(0x407)]),_0x4cb718(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x35f299[_0x57234b(0x3ce)]))],_0x357abb);var _0x1c2af1=Object[_0x57234b(0x32c)],_0x4a47ab=(_0x31673d,_0x5eb0f2,_0x3e7bbb,_0x38fdb4)=>{for(var _0x500767=_0x38fdb4>0x1?void 0x0:_0x38fdb4?_0x1c2af1(_0x5eb0f2,_0x3e7bbb):_0x5eb0f2,_0x109bea=_0x31673d['length']-0x1,_0x79a5bd;_0x109bea>=0x0;_0x109bea--)(_0x79a5bd=_0x31673d[_0x109bea])&&(_0x500767=_0x79a5bd(_0x500767)||_0x500767);return _0x500767;},_0x2064bf=(_0x2c08c3,_0x871dfc)=>(_0x2a49fa,_0x3fb131)=>_0x871dfc(_0x2a49fa,_0x3fb131,_0x2c08c3);let _0x27a1be=class{constructor(_0x282577,_0x2734b8){const _0x38f348=_0x57234b;this[_0x38f348(0x2b8)]=_0x282577,this[_0x38f348(0x2a0)]=_0x2734b8;}[_0x57234b(0x239)](_0x521cbb){const _0x226ba0=_0x57234b;var _0x17aa97;const _0x1dbce5=this[_0x226ba0(0x2b8)]['get'](_0x220baf[_0x226ba0(0x302)]),_0x27e14b=(_0x17aa97=_0x1dbce5[_0x226ba0(0x1ac)]())!=null?_0x17aa97:[];if(_0x27e14b[_0x226ba0(0x394)]===0x0)return;const _0x5d6fb4=_0x521cbb['unitID'],_0x1a7a42=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d6fb4,'actions':null,'textRanges':_0x27e14b}}],_0x459172=this[_0x226ba0(0x2a0)][_0x226ba0(0x347)](_0x521cbb,_0x1a7a42);if(!_0x10f325[_0x226ba0(0x1e5)](_0x459172))throw _0x459172[_0x226ba0(0x289)];const _0x45d8d2=_0x459172[_0x226ba0(0x2e9)][0x0][_0x226ba0(0x31b)][_0x226ba0(0x304)];Array[_0x226ba0(0x3a5)](_0x45d8d2)&&_0x45d8d2[_0x226ba0(0x394)]&&_0x1dbce5[_0x226ba0(0x25b)](_0x45d8d2,{'unitId':_0x5d6fb4,'subUnitId':_0x5d6fb4},!0x1);}};_0x27a1be=_0x4a47ab([_0x2064bf(0x0,_0x2f047f['Inject'](_0x2f047f[_0x57234b(0x3fb)])),_0x2064bf(0x1,_0x10f325[_0x57234b(0x407)])],_0x27a1be);var _0x3bfa48=Object[_0x57234b(0x32c)],_0xb6f0a3=(_0x1f92ed,_0x7ee191,_0x28a2f9,_0x29a261)=>{const _0x5e531c=_0x57234b;for(var _0x35cbdf=_0x29a261>0x1?void 0x0:_0x29a261?_0x3bfa48(_0x7ee191,_0x28a2f9):_0x7ee191,_0x1b1876=_0x1f92ed[_0x5e531c(0x394)]-0x1,_0x5836fa;_0x1b1876>=0x0;_0x1b1876--)(_0x5836fa=_0x1f92ed[_0x1b1876])&&(_0x35cbdf=_0x5836fa(_0x35cbdf)||_0x35cbdf);return _0x35cbdf;},_0x334b8b=(_0x780d76,_0x39d9a6)=>(_0x34484e,_0x4a8f36)=>_0x39d9a6(_0x34484e,_0x4a8f36,_0x780d76);let _0x232050=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x5be21f,_0x49e9a8,_0x5b19ed,_0x52d968,_0x4823f7,_0x56b8c7,_0x38ae91,_0x190479){const _0x38ccb8=_0x57234b;super(),_0x2a7ff2(this,_0x38ccb8(0x38f),new _0x5c56d7[(_0x38ccb8(0x284))](_0x3cd4b3['CollaborationStatus'][_0x38ccb8(0x414)])),(this['_docStateChangeManagerService']=_0x5be21f,this[_0x38ccb8(0x3d8)]=_0x49e9a8,this['_docTransformIMECacheService']=_0x5b19ed,this[_0x38ccb8(0x3c0)]=_0x52d968,this[_0x38ccb8(0x3ca)]=_0x4823f7,this[_0x38ccb8(0x243)]=_0x56b8c7,this['_messageService']=_0x38ae91,this[_0x38ccb8(0x368)]=_0x190479,this[_0x38ccb8(0x249)]());}[_0x57234b(0x249)](){const _0x8eeb0d=_0x57234b;this[_0x8eeb0d(0x3aa)](this[_0x8eeb0d(0x3d8)][_0x8eeb0d(0x20c)][_0x8eeb0d(0x2d2)](_0x5f2956=>{const _0x58421a=_0x8eeb0d,_0x17b635=this[_0x58421a(0x1f9)][_0x58421a(0x31a)][_0x58421a(0x2d2)](_0xdf5dd8=>{const _0x2b58c8=_0x58421a;if(_0xdf5dd8==null)return;const {unitId:_0x5029c1,redoState:_0x626177,commandId:_0x4ee229}=_0xdf5dd8;if(_0x5029c1!==_0x5f2956[_0x2b58c8(0x21f)])return;const _0x2f9884={'id':_0x4ee229,'type':_0x2f047f['CommandType']['MUTATION'],'params':{'unitId':_0x5029c1,'actions':_0x626177[_0x2b58c8(0x28a)],'textRanges':null}};_0x5f2956[_0x2b58c8(0x329)](_0x2f9884);});if(_0x5f2956[_0x58421a(0x3aa)](_0x17b635),_0x5f2956 instanceof _0x3cd4b3[_0x58421a(0x222)]){const _0x592251={'onTransformIME':_0x538c84=>this['_docTransformIMECacheService'][_0x58421a(0x271)](_0x538c84),'onTransformState':_0x5b7d61=>this[_0x58421a(0x3c0)][_0x58421a(0x212)](_0x5b7d61),'onTransformSelections':_0x2ce87e=>this[_0x58421a(0x3ca)][_0x58421a(0x239)](_0x2ce87e),'onSyncEditingCollabCursor':_0x387a22=>this['_docSyncEditingCollabCursorService'][_0x58421a(0x288)](_0x387a22),'onTransformRemoteChangesetByIMECache':_0x24301e=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x24301e),'onTransformRemoteChangesetByStateCache':_0x1685d6=>this[_0x58421a(0x3c0)][_0x58421a(0x1d7)](_0x1685d6)};_0x5f2956['addHandlerCallback'](_0x592251);}}));}};_0x232050=_0xb6f0a3([_0x334b8b(0x0,_0x2f047f['Inject'](_0x35f299[_0x57234b(0x3ce)])),_0x334b8b(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3['CollaborationController'])),_0x334b8b(0x2,_0x2f047f['Inject'](_0x195350)),_0x334b8b(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x357abb)),_0x334b8b(0x4,_0x2f047f[_0x57234b(0x2b9)](_0x27a1be)),_0x334b8b(0x5,_0x2f047f['Inject'](_0x2dfd39)),_0x334b8b(0x6,_0x598c76[_0x57234b(0x35c)]),_0x334b8b(0x7,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f['LocaleService']))],_0x232050);var _0x1599fa=Object[_0x57234b(0x32c)],_0x9f803e=(_0x4b81b2,_0x2794a2,_0xb6d24d,_0x32eeb3)=>{const _0x5c0860=_0x57234b;for(var _0x13f412=_0x32eeb3>0x1?void 0x0:_0x32eeb3?_0x1599fa(_0x2794a2,_0xb6d24d):_0x2794a2,_0x484fa5=_0x4b81b2[_0x5c0860(0x394)]-0x1,_0x192b86;_0x484fa5>=0x0;_0x484fa5--)(_0x192b86=_0x4b81b2[_0x484fa5])&&(_0x13f412=_0x192b86(_0x13f412)||_0x13f412);return _0x13f412;},_0x44135d=(_0x4b8f9e,_0x25059e)=>(_0x128d24,_0x2a974b)=>_0x25059e(_0x128d24,_0x2a974b,_0x4b8f9e);let _0x4efea7=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x3403d6,_0x311ffc,_0x3adad0){const _0x1c2d67=_0x57234b;super(),_0x2a7ff2(this,_0x1c2d67(0x296),new Map()),_0x2a7ff2(this,_0x1c2d67(0x220),new Map()),_0x2a7ff2(this,_0x1c2d67(0x1b2),!0x1),(this[_0x1c2d67(0x2cb)]=_0x3403d6,this[_0x1c2d67(0x2a2)]=_0x311ffc,this[_0x1c2d67(0x1cd)]=_0x3adad0);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x57234b(0x287)](){const _0x58a712=_0x57234b;this[_0x58a712(0x1b2)]=!0x1;}get[_0x57234b(0x415)](){const _0x445e85=_0x57234b;return this[_0x445e85(0x220)];}[_0x57234b(0x2e6)](){const _0x365abf=_0x57234b;this['exhaustSavingTask']()[_0x365abf(0x341)](()=>super[_0x365abf(0x2e6)]());}async[_0x57234b(0x29e)](_0x1c7d66){const _0x2b7522=_0x57234b;return this[_0x2b7522(0x1b2)]?null:this[_0x2b7522(0x2a2)][_0x2b7522(0x1e4)](_0x3cd4b3[_0x2b7522(0x27b)](_0x1c7d66));}async[_0x57234b(0x286)](_0x401583,_0x1b52d2){const _0x5972a9=_0x57234b;return!!this[_0x5972a9(0x2a2)][_0x5972a9(0x369)](_0x401583,_0x1b52d2);}['updateOfflineData'](_0x1ca0b2,_0x311f65,_0x197395,_0x80ba43){const _0x2d1f5c=_0x57234b,_0x32a7f2=this[_0x2d1f5c(0x1cd)]['getCurrentRevOfUnit'](_0x1ca0b2);this[_0x2d1f5c(0x296)][_0x2d1f5c(0x3cf)](_0x1ca0b2,{'unitID':_0x1ca0b2,'type':_0x311f65,'awaitingChangeset':_0x197395,'mutations':_0x80ba43,'rev':_0x32a7f2}),this[_0x2d1f5c(0x220)][_0x2d1f5c(0x2de)](_0x1ca0b2)||this['_scheduleSaving'](_0x1ca0b2);}[_0x57234b(0x228)](_0xbdff26){const _0x526eea=_0x57234b,_0x27d885=this[_0x526eea(0x2ed)]();_0x27d885===0x0?this[_0x526eea(0x396)](_0xbdff26):this[_0x526eea(0x220)][_0x526eea(0x3cf)](_0xbdff26,setTimeout(()=>this[_0x526eea(0x396)](_0xbdff26),_0x27d885));}[_0x57234b(0x2ed)](){const _0x18d368=_0x57234b;var _0x33f495;return(_0x33f495=this['_configService'][_0x18d368(0x21b)](_0x3cd4b3['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x33f495:_0x3cd4b3[_0x18d368(0x254)];}['_saveCache'](_0x2c40ef){const _0x3bd8b4=_0x57234b,_0x3b5e34=this[_0x3bd8b4(0x220)][_0x3bd8b4(0x1f3)](_0x2c40ef);return _0x3b5e34!==void 0x0&&window['clearTimeout'](_0x3b5e34),this[_0x3bd8b4(0x2a2)][_0x3bd8b4(0x369)](_0x3cd4b3['getLocalCacheKey'](_0x2c40ef),this[_0x3bd8b4(0x296)][_0x3bd8b4(0x1f3)](_0x2c40ef))[_0x3bd8b4(0x341)](()=>this['_saveTaskMap']['delete'](_0x2c40ef));}async[_0x57234b(0x376)](){const _0x2f26ed=_0x57234b,_0x2e2c4c=[];this[_0x2f26ed(0x220)][_0x2f26ed(0x410)]((_0x20f7b3,_0x232f40)=>{const _0x1474c1=_0x2f26ed;window[_0x1474c1(0x2eb)](_0x20f7b3),_0x2e2c4c[_0x1474c1(0x34b)](this[_0x1474c1(0x396)](_0x232f40)[_0x1474c1(0x341)](()=>{const _0x6fb28f=_0x1474c1;this[_0x6fb28f(0x220)][_0x6fb28f(0x39a)](_0x232f40);}));}),await Promise['all'](_0x2e2c4c);}};_0x4efea7=_0x9f803e([_0x44135d(0x0,_0x2f047f[_0x57234b(0x3bc)]),_0x44135d(0x1,_0x2f047f[_0x57234b(0x241)]),_0x44135d(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x10f325['RevisionService']))],_0x4efea7);class _0x198408 extends _0x2f047f[_0x57234b(0x1e7)]{constructor(){const _0x1eecf8=_0x57234b;super(),_0x2a7ff2(this,_0x1eecf8(0x30a)),this[_0x1eecf8(0x30a)]=_0x5c56d7[_0x1eecf8(0x27c)](window,_0x1eecf8(0x37f))[_0x1eecf8(0x297)](_0x5c56d7[_0x1eecf8(0x399)](this[_0x1eecf8(0x314)]),_0x5c56d7[_0x1eecf8(0x38a)](0x1),_0x5c56d7['mapTo'](void 0x0));}[_0x57234b(0x1b4)](_0x35e4ae,_0x41dfc7,_0x2ae509=!0x1){const _0x3f6f87=_0x57234b,_0x2c5161=new URL(window[_0x3f6f87(0x37a)]['href']);_0x2c5161[_0x3f6f87(0x3e5)][_0x3f6f87(0x3cf)](_0x35e4ae,_0x41dfc7),_0x2ae509?window[_0x3f6f87(0x409)][_0x3f6f87(0x266)]('','',_0x2c5161[_0x3f6f87(0x2d7)]()):window[_0x3f6f87(0x409)][_0x3f6f87(0x36b)]('','',_0x2c5161[_0x3f6f87(0x2d7)]());}[_0x57234b(0x2a7)](_0x4705af,_0x203d4b=!0x1){const _0x226be1=_0x57234b,_0x5d4891=new URL(window[_0x226be1(0x37a)][_0x226be1(0x358)]);_0x5d4891[_0x226be1(0x3e5)][_0x226be1(0x39a)](_0x4705af),_0x203d4b?window['history'][_0x226be1(0x266)]('','',_0x5d4891[_0x226be1(0x2d7)]()):window[_0x226be1(0x409)][_0x226be1(0x36b)]('','',_0x5d4891['toString']());}[_0x57234b(0x42c)](_0x1a769a){const _0x173d52=_0x57234b;var _0x3f6743;return(_0x3f6743=new URL(window[_0x173d52(0x37a)][_0x173d52(0x358)])[_0x173d52(0x3e5)][_0x173d52(0x1f3)](_0x1a769a))!=null?_0x3f6743:void 0x0;}}var _0x407cdf=Object[_0x57234b(0x1de)],_0x3eb75d=Object[_0x57234b(0x32c)],_0x15e99f=(_0x16ccab,_0x59778a,_0x9a33c8)=>_0x59778a in _0x16ccab?_0x407cdf(_0x16ccab,_0x59778a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9a33c8}):_0x16ccab[_0x59778a]=_0x9a33c8,_0x4c1b3b=(_0x22042f,_0x3db1fc,_0x324fd2,_0x1e5af5)=>{const _0x3b03b1=_0x57234b;for(var _0x331c95=_0x1e5af5>0x1?void 0x0:_0x1e5af5?_0x3eb75d(_0x3db1fc,_0x324fd2):_0x3db1fc,_0x26be6b=_0x22042f[_0x3b03b1(0x394)]-0x1,_0x8263b1;_0x26be6b>=0x0;_0x26be6b--)(_0x8263b1=_0x22042f[_0x26be6b])&&(_0x331c95=_0x8263b1(_0x331c95)||_0x331c95);return _0x331c95;},_0x44dcf9=(_0x32c667,_0x40d3b9)=>(_0x3372f9,_0x46e911)=>_0x40d3b9(_0x3372f9,_0x46e911,_0x32c667),_0x3da576=(_0xd1d97f,_0x22df8e,_0xe0bc47)=>_0x15e99f(_0xd1d97f,_0x22df8e+'',_0xe0bc47);const _0x136dcb=_0x57234b(0x1bc);_0x233897[_0x57234b(0x382)]=class extends _0x2f047f['Plugin']{constructor(_0x164660=_0x1236dd,_0x1198e5,_0x28d6bd,_0x357648){const _0x2afe16=_0x57234b;super(),this[_0x2afe16(0x385)]=_0x164660,this[_0x2afe16(0x259)]=_0x1198e5,this[_0x2afe16(0x2b8)]=_0x28d6bd,this['_configService']=_0x357648;const {..._0x334186}=_0x2f047f[_0x2afe16(0x2ab)]({},_0x1236dd,this[_0x2afe16(0x385)]);this[_0x2afe16(0x2cb)][_0x2afe16(0x2c7)](_0x1257be,_0x334186);}[_0x57234b(0x3ed)](){const _0x2a4cbe=_0x57234b;this[_0x2a4cbe(0x337)](),this[_0x2a4cbe(0x1e9)]();}[_0x57234b(0x3d7)](){const _0x1f90c1=_0x57234b;this[_0x1f90c1(0x1ce)]();}[_0x57234b(0x337)](){const _0x2ee266=_0x57234b;var _0x56e842;const _0x474eaf=[[_0x45519b],[_0x27a1be],[_0x195350],[_0x357abb],[_0x2dfd39],[_0x416e69,{'useClass':_0x198408}],[_0x25af06[_0x2ee266(0x2ca)],{'useClass':_0x25af06[_0x2ee266(0x1ff)]}],[_0x3cd4b3[_0x2ee266(0x2db)],{'useClass':_0x4efea7}],[_0x233897[_0x2ee266(0x41f)]],[_0x232050],[_0x138e1d],[_0x2b7c6d],[_0x3d6cb5],[_0x233897['CollaborationDataLoaderController']]];_0x2f047f['registerDependencies'](this[_0x2ee266(0x2b8)],_0x2f047f['mergeOverrideWithDependencies'](_0x474eaf,(_0x56e842=this[_0x2ee266(0x385)])==null?void 0x0:_0x56e842['override']));}[_0x57234b(0x1ce)](){const _0xe5032a=_0x57234b;this[_0xe5032a(0x3aa)](this[_0xe5032a(0x259)][_0xe5032a(0x3b7)](_0x2f047f[_0xe5032a(0x320)][_0xe5032a(0x391)],[_0x15fd95])),this[_0xe5032a(0x3aa)](this['_renderManagerService'][_0xe5032a(0x3b7)](_0x2f047f[_0xe5032a(0x320)][_0xe5032a(0x2f4)],[_0x4f4543]));}[_0x57234b(0x1e9)](){const _0x31734d=_0x57234b;_0x2f047f[_0x31734d(0x403)](this['_injector'],[[_0x2b7c6d],[_0x233897['DesktopCollaborationStatusDisplayController']],[_0x232050],[_0x138e1d],[_0x233897[_0x31734d(0x23a)]]]);}},_0x3da576(_0x233897[_0x57234b(0x382)],_0x57234b(0x29d),_0x136dcb),_0x233897[_0x57234b(0x382)]=_0x4c1b3b([_0x2f047f[_0x57234b(0x366)](_0x3cd4b3[_0x57234b(0x30c)]),_0x44dcf9(0x1,_0x228785['IRenderManagerService']),_0x44dcf9(0x2,_0x2f047f['Inject'](_0x2f047f[_0x57234b(0x3fb)])),_0x44dcf9(0x3,_0x2f047f[_0x57234b(0x3bc)])],_0x233897[_0x57234b(0x382)]);var _0x518537=Object[_0x57234b(0x32c)],_0x370c49=(_0x1d6491,_0x24d8e4,_0x134778,_0x1d1b5c)=>{for(var _0x55a3d3=_0x1d1b5c>0x1?void 0x0:_0x1d1b5c?_0x518537(_0x24d8e4,_0x134778):_0x24d8e4,_0x8a8d03=_0x1d6491['length']-0x1,_0x5c4eb3;_0x8a8d03>=0x0;_0x8a8d03--)(_0x5c4eb3=_0x1d6491[_0x8a8d03])&&(_0x55a3d3=_0x5c4eb3(_0x55a3d3)||_0x55a3d3);return _0x55a3d3;},_0x308608=(_0x444af9,_0x1414f9)=>(_0x3bd53b,_0x3f16f9)=>_0x1414f9(_0x3bd53b,_0x3f16f9,_0x444af9);_0x233897[_0x57234b(0x26a)]=class extends _0x3cd4b3[_0x57234b(0x26c)]{constructor(_0xf392d,_0x4edc5c,_0x5a02c3,_0x673844,_0xcff3e7){super(_0xf392d,_0x4edc5c,_0x5a02c3,_0x673844,_0xcff3e7);}async[_0x57234b(0x340)](_0x13f215){const _0x387579=_0x57234b,_0x3ff482=await this[_0x387579(0x3a3)](),_0x27cb46=this[_0x387579(0x317)](_0x13f215,_0x3ff482);return this[_0x387579(0x346)](_0x27cb46);}['_createSocketURL'](_0x2545f6,_0xd83725){const _0x1c4c89=_0x57234b,_0x441b24=typeof window>'u'?new URL(_0x2545f6):new URL(_0x2545f6,window['location'][_0x1c4c89(0x268)]);_0x441b24[_0x1c4c89(0x3e5)][_0x1c4c89(0x3cf)](_0x1c4c89(0x39e),_0xd83725);const _0x3cb9ec=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1c4c89(0x37a)][_0x1c4c89(0x41b)]);return _0x3cb9ec[_0x1c4c89(0x1f3)](_0x1c4c89(0x285))&&_0x441b24[_0x1c4c89(0x3e5)][_0x1c4c89(0x3cf)](_0x1c4c89(0x285),_0x3cb9ec['get'](_0x1c4c89(0x285))),_0x441b24['toString']();}async['_getSessionTicket'](){const _0x12a7c2=_0x57234b;var _0x5c6356,_0x25f1aa,_0x1b0cca;const _0x5e1688=this[_0x12a7c2(0x2cb)][_0x12a7c2(0x21b)](_0x3cd4b3[_0x12a7c2(0x1d6)]),_0x1bdab7=(_0x5c6356=_0x5e1688==null?void 0x0:_0x5e1688['wsSessionTicketUrl'])!=null?_0x5c6356:_0x3cd4b3[_0x12a7c2(0x3c6)];return(_0x1b0cca=(_0x25f1aa=(await this['_httpService']['get'](_0x1bdab7,{'headers':{'Content-Type':_0x12a7c2(0x219)}}))[_0x12a7c2(0x2b4)])==null?void 0x0:_0x25f1aa[_0x12a7c2(0x216)])!=null?_0x1b0cca:'';}},_0x233897[_0x57234b(0x26a)]=_0x370c49([_0x308608(0x0,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3fb)])),_0x308608(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x25af06['HTTPService'])),_0x308608(0x2,_0x2f047f[_0x57234b(0x3bc)]),_0x308608(0x3,_0x2f047f[_0x57234b(0x34a)]),_0x308608(0x4,_0x10f325[_0x57234b(0x2f9)])],_0x233897[_0x57234b(0x26a)]);const _0x815c96=0x7530,_0x5953c5=_0x57234b(0x22c);class _0x3b52f6 extends _0x2f047f['Disposable']{constructor(){const _0x337ea5=_0x57234b;super(),_0x2a7ff2(this,_0x337ea5(0x339),_0x2f047f[_0x337ea5(0x237)]()),_0x2a7ff2(this,'_selfUnitIDs',new Set()),_0x2a7ff2(this,_0x337ea5(0x331),new Map()),_0x2a7ff2(this,'_heartbeatTimer',null),_0x2a7ff2(this,_0x337ea5(0x3a7),new Map()),_0x2a7ff2(this,_0x337ea5(0x3e9),new Map()),this[_0x337ea5(0x1b3)]();}[_0x57234b(0x2e6)](){const _0x4cb939=_0x57234b;super[_0x4cb939(0x2e6)](),this['_clearOtherTimers'][_0x4cb939(0x410)]((_0x9ea3d,_0x5a5347)=>this[_0x4cb939(0x1b7)](_0x5a5347)),this[_0x4cb939(0x2d3)]&&window[_0x4cb939(0x203)](this[_0x4cb939(0x2d3)]);}[_0x57234b(0x425)](_0x5e5084){const _0x23cae3=_0x57234b;return this[_0x23cae3(0x3b0)](_0x5e5084)[_0x23cae3(0x297)](_0x5c56d7[_0x23cae3(0x272)]());}[_0x57234b(0x1a4)](_0x5efdba){const _0xe6a1cd=_0x57234b;this[_0xe6a1cd(0x360)][_0xe6a1cd(0x23e)]===0x0&&this[_0xe6a1cd(0x3b1)](),this['_selfUnitIDs'][_0xe6a1cd(0x2bd)](_0x5efdba),this[_0xe6a1cd(0x3d3)]({'type':0x0,'memberID':this[_0xe6a1cd(0x339)],'unitIDs':[_0x5efdba],'isForwarded':!0x1});}['disposeUnit'](_0x5411cc){const _0x52d2b8=_0x57234b;this[_0x52d2b8(0x360)][_0x52d2b8(0x39a)](_0x5411cc),this[_0x52d2b8(0x360)][_0x52d2b8(0x23e)]===0x0&&this['_heartbeatTimer']&&window[_0x52d2b8(0x203)](this[_0x52d2b8(0x2d3)]);}['_init'](){const _0x290acc=_0x57234b;this[_0x290acc(0x3aa)](_0x2f047f['toDisposable'](_0x5c56d7['fromEvent'](window,_0x290acc(0x29b))[_0x290acc(0x2d2)](_0xb213c5=>{const _0x97f151=_0x290acc;if(_0xb213c5[_0x97f151(0x1aa)]!==_0x5953c5||!_0xb213c5[_0x97f151(0x1ad)])return;const _0x218e41=JSON['parse'](_0xb213c5['newValue']);this[_0x97f151(0x3e1)](_0x218e41);}))),window['addEventListener'](_0x290acc(0x330),()=>this[_0x290acc(0x3d3)]({'type':0x1,'memberID':this[_0x290acc(0x339)],'unitIDs':Array[_0x290acc(0x223)](this[_0x290acc(0x360)])}));}[_0x57234b(0x3e1)](_0x1b7d94){const _0x193b82=_0x57234b;switch(_0x1b7d94[_0x193b82(0x23d)]){case 0x0:this[_0x193b82(0x3c1)](_0x1b7d94);break;case 0x1:this[_0x193b82(0x405)](_0x1b7d94);break;case 0x2:this['_handleHeartbeatEvent'](_0x1b7d94);break;}}['_handleJoinEvent'](_0x471e60){const _0x398a77=_0x57234b,{unitIDs:_0x14c185,memberID:_0x2d053b,isForwarded:_0x4d9211}=_0x471e60;_0x14c185[_0x398a77(0x410)](_0x21115b=>{const _0x490e14=_0x398a77;if(!_0x4d9211&&this[_0x490e14(0x331)][_0x490e14(0x2de)](_0x21115b)&&this[_0x490e14(0x3b0)](_0x21115b)[_0x490e14(0x273)](_0x3cd4b3['UnitStatus'][_0x490e14(0x1bb)]),!this['_unitOnClients'][_0x490e14(0x2de)](_0x21115b)||!this[_0x490e14(0x331)][_0x490e14(0x1f3)](_0x21115b)[_0x490e14(0x2de)](_0x2d053b)){const _0x32c342=this['_unitOnClients'][_0x490e14(0x1f3)](_0x21115b)||new Set();_0x32c342[_0x490e14(0x2bd)](_0x2d053b),this[_0x490e14(0x331)][_0x490e14(0x3cf)](_0x21115b,_0x32c342),this[_0x490e14(0x32b)](_0x2d053b);}}),_0x4d9211||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x57234b(0x32b)](_0x2bcc04){const _0x329f63=_0x57234b;this[_0x329f63(0x1b7)](_0x2bcc04);const _0x5523a5=window[_0x329f63(0x1ab)](()=>{const _0x1fdbc2=_0x329f63;this[_0x1fdbc2(0x331)][_0x1fdbc2(0x410)](_0x49bad7=>{const _0x2506db=_0x1fdbc2;_0x49bad7[_0x2506db(0x39a)](_0x2bcc04);});},_0x815c96*0x2);this[_0x329f63(0x3a7)][_0x329f63(0x3cf)](_0x2bcc04,_0x5523a5);}[_0x57234b(0x1b7)](_0x6cff8b){const _0x5903cf=_0x57234b;if(this[_0x5903cf(0x3a7)]['has'](_0x6cff8b)){const _0x1b75b9=this[_0x5903cf(0x3a7)][_0x5903cf(0x1f3)](_0x6cff8b);_0x1b75b9&&window[_0x5903cf(0x2eb)](_0x1b75b9),this[_0x5903cf(0x3a7)][_0x5903cf(0x3cf)](_0x6cff8b,null);}}['_handleLeaveEvent'](_0x140ac5){const _0x3d4071=_0x57234b,{memberID:_0x1f77e6,unitIDs:_0x5699b2}=_0x140ac5;_0x5699b2[_0x3d4071(0x410)](_0x3cbc06=>{const _0x51219d=_0x3d4071;var _0x208bd5;const _0x1f1d00=this[_0x51219d(0x331)][_0x51219d(0x1f3)](_0x3cbc06);_0x1f1d00&&(_0x1f1d00[_0x51219d(0x39a)](_0x1f77e6),(_0x208bd5=this[_0x51219d(0x3b0)](_0x3cbc06))==null||_0x208bd5[_0x51219d(0x273)](_0x1f1d00[_0x51219d(0x23e)]===0x0?_0x3cd4b3[_0x51219d(0x1da)][_0x51219d(0x40e)]:_0x3cd4b3[_0x51219d(0x1da)][_0x51219d(0x1bb)]));}),this[_0x3d4071(0x1b7)](_0x1f77e6);}[_0x57234b(0x3db)](_0xa9fa71){const _0x8dd3eb=_0x57234b;this['_scheduleClearOtherTimer'](_0xa9fa71[_0x8dd3eb(0x2cf)]);}['_send'](_0x5bd45c){const _0x25cc06=_0x57234b;localStorage[_0x25cc06(0x369)](_0x5953c5,JSON['stringify'](_0x5bd45c));}[_0x57234b(0x3b1)](){const _0x17f0e8=_0x57234b;this[_0x17f0e8(0x2d3)]=window[_0x17f0e8(0x397)](()=>{const _0x10e600=_0x17f0e8;this[_0x10e600(0x3d3)]({'type':0x2,'memberID':this[_0x10e600(0x339)]});},_0x815c96);}[_0x57234b(0x3b0)](_0x297822){const _0x1cf6ff=_0x57234b;return this[_0x1cf6ff(0x3e9)][_0x1cf6ff(0x2de)](_0x297822)||this[_0x1cf6ff(0x3e9)][_0x1cf6ff(0x3cf)](_0x297822,new _0x5c56d7[(_0x1cf6ff(0x284))](_0x3cd4b3[_0x1cf6ff(0x1da)][_0x1cf6ff(0x40e)])),this[_0x1cf6ff(0x3e9)][_0x1cf6ff(0x1f3)](_0x297822);}}var _0x266925=(_0x1ed625=>(_0x1ed625[_0x1ed625['UNDEFINED']=0x0]=_0x57234b(0x316),_0x1ed625[_0x1ed625['OK']=0x1]='OK',_0x1ed625[_0x1ed625[_0x57234b(0x393)]=0x2]=_0x57234b(0x393),_0x1ed625[_0x1ed625[_0x57234b(0x1ba)]=0x3]=_0x57234b(0x1ba),_0x1ed625[_0x1ed625['NOT_FOUND']=0x4]='NOT_FOUND',_0x1ed625[_0x1ed625[_0x57234b(0x2a9)]=0x5]=_0x57234b(0x2a9),_0x1ed625[_0x1ed625[_0x57234b(0x20b)]=0x6]=_0x57234b(0x20b),_0x1ed625[_0x1ed625[_0x57234b(0x1c0)]=0x7]=_0x57234b(0x1c0),_0x1ed625[_0x1ed625[_0x57234b(0x3b5)]=0x8]=_0x57234b(0x3b5),_0x1ed625[_0x1ed625[_0x57234b(0x24e)]=0x9]=_0x57234b(0x24e),_0x1ed625[_0x1ed625[_0x57234b(0x3b8)]=0xa]=_0x57234b(0x3b8),_0x1ed625[_0x1ed625['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x57234b(0x324),_0x1ed625[_0x1ed625[_0x57234b(0x3e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1ed625[_0x1ed625[_0x57234b(0x1d4)]=0x1772]=_0x57234b(0x1d4),_0x1ed625[_0x1ed625[_0x57234b(0x2dc)]=0x1773]=_0x57234b(0x2dc),_0x1ed625[_0x1ed625[_0x57234b(0x1ee)]=0x1b59]=_0x57234b(0x1ee),_0x1ed625[_0x1ed625[_0x57234b(0x2ec)]=0x1b5a]=_0x57234b(0x2ec),_0x1ed625[_0x1ed625['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1ed625[_0x1ed625[_0x57234b(0x270)]=0x1b5c]=_0x57234b(0x270),_0x1ed625[_0x1ed625[_0x57234b(0x206)]=0x1b5d]=_0x57234b(0x206),_0x1ed625[_0x1ed625[_0x57234b(0x292)]=0x1f41]=_0x57234b(0x292),_0x1ed625[_0x1ed625[_0x57234b(0x1c9)]=0x2329]=_0x57234b(0x1c9),_0x1ed625[_0x1ed625[_0x57234b(0x345)]=0x232a]=_0x57234b(0x345),_0x1ed625[_0x1ed625['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1ed625[_0x1ed625[_0x57234b(0x290)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1ed625[_0x1ed625[_0x57234b(0x3d9)]=0x232d]=_0x57234b(0x3d9),_0x1ed625[_0x1ed625['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x57234b(0x1e8),_0x1ed625[_0x1ed625[_0x57234b(0x36c)]=0x2712]=_0x57234b(0x36c),_0x1ed625[_0x1ed625['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x57234b(0x1a7),_0x1ed625[_0x1ed625[_0x57234b(0x412)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1ed625[_0x1ed625[_0x57234b(0x424)]=0x2af9]=_0x57234b(0x424),_0x1ed625[_0x1ed625[_0x57234b(0x247)]=0x2ee1]=_0x57234b(0x247),_0x1ed625[_0x1ed625['INVALID_INVITE_CODE']=0x2ee2]=_0x57234b(0x1a3),_0x1ed625[_0x1ed625[_0x57234b(0x260)]=0x2ee3]=_0x57234b(0x260),_0x1ed625[_0x1ed625[_0x57234b(0x411)]=0x2ee4]=_0x57234b(0x411),_0x1ed625[_0x1ed625[_0x57234b(0x3c7)]=0x2ee5]=_0x57234b(0x3c7),_0x1ed625[_0x1ed625['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1ed625[_0x1ed625[_0x57234b(0x36f)]=0x32ca]=_0x57234b(0x36f),_0x1ed625[_0x1ed625[_0x57234b(0x1c1)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1ed625[_0x1ed625[_0x57234b(0x1c3)]=-0x1]=_0x57234b(0x1c3),_0x1ed625))(_0x266925||{}),_0x288fca=Object[_0x57234b(0x32c)],_0x77654f=(_0x46ff2f,_0x3dba29,_0xc862bf,_0x3cc02b)=>{const _0x2acae6=_0x57234b;for(var _0xc0b708=_0x3cc02b>0x1?void 0x0:_0x3cc02b?_0x288fca(_0x3dba29,_0xc862bf):_0x3dba29,_0x304594=_0x46ff2f[_0x2acae6(0x394)]-0x1,_0x5ae457;_0x304594>=0x0;_0x304594--)(_0x5ae457=_0x46ff2f[_0x304594])&&(_0xc0b708=_0x5ae457(_0xc0b708)||_0xc0b708);return _0xc0b708;},_0x5181d4=(_0x1c58cd,_0x4f48b6)=>(_0x245473,_0x37f2cd)=>_0x4f48b6(_0x245473,_0x37f2cd,_0x1c58cd);_0x233897['RemoteUniscriptService']=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x356e86,_0x31f05d,_0xa745e4){const _0x3cd275=_0x57234b;super(),this[_0x3cd275(0x3e6)]=_0x356e86,this[_0x3cd275(0x225)]=_0x31f05d,this[_0x3cd275(0x2cb)]=_0xa745e4;}async['runOnServer'](_0x1bce14,_0x4d03fa,_0x359331,..._0x41a6ab){const _0x1aecdb=_0x57234b;var _0x386929,_0x459185,_0x3fe91e,_0x34fc3e;const _0x341967=this['_instanceService']['getFocusedUnit']();if(!_0x341967)throw new Error(_0x1aecdb(0x205));const _0x5740bf=((_0x386929=this[_0x1aecdb(0x2cb)][_0x1aecdb(0x21b)](_0x3cd4b3[_0x1aecdb(0x344)]))!=null?_0x386929:_0x3cd4b3[_0x1aecdb(0x39f)])+'/'+_0x1bce14+_0x1aecdb(0x2c1)+_0x4d03fa,_0x4e02fb=new URL(window[_0x1aecdb(0x37a)][_0x1aecdb(0x358)]),_0x1903e9={'scriptId':_0x1bce14,'runId':(_0x459185=_0x4e02fb[_0x1aecdb(0x3e5)][_0x1aecdb(0x1f3)]('runId'))!=null?_0x459185:'','function':_0x4d03fa,'unitId':_0x341967[_0x1aecdb(0x3a6)](),'argsOfFunction':JSON[_0x1aecdb(0x305)](_0x41a6ab),'invokeId':(_0x3fe91e=_0x359331[_0x1aecdb(0x1dd)])!=null?_0x3fe91e:'','executionId':(_0x34fc3e=_0x359331[_0x1aecdb(0x1a6)])!=null?_0x34fc3e:''};try{const _0x1ce280=await this['_httpService']['post'](_0x5740bf,{'body':_0x1903e9});return _0x1ce280[_0x1aecdb(0x2b4)][_0x1aecdb(0x289)]&&_0x1ce280['body'][_0x1aecdb(0x289)][_0x1aecdb(0x2bc)]!==_0x266925['OK']?_0x1aecdb(0x406):_0x1ce280['body']['result'];}catch{return _0x1aecdb(0x406);}}},_0x233897[_0x57234b(0x1c8)]=_0x77654f([_0x5181d4(0x0,_0x2f047f[_0x57234b(0x309)]),_0x5181d4(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x25af06['HTTPService'])),_0x5181d4(0x2,_0x2f047f['IConfigService'])],_0x233897['RemoteUniscriptService']),_0x233897[_0x57234b(0x22b)]=_0x5b4741,_0x233897[_0x57234b(0x30f)]=_0x416e69,_0x233897[_0x57234b(0x378)]=_0x758a7d,_0x233897[_0x57234b(0x1cf)]=_0x3b52f6,_0x233897[_0x57234b(0x280)]=_0x198408,Object[_0x57234b(0x1de)](_0x233897,Symbol[_0x57234b(0x1df)],{'value':_0x57234b(0x204)});}));function _0x4c8e(){const _0x3f25dc=['shareReplay','_startDocCollabCursor','setShapeProps','1zqAPak','_scene','_status$','verdancy600','UNIVER_DOC','selections','INTERNAL_ERROR','length','univer-online-status','_saveCache','setInterval','_sheetSkeletonManagerService','takeUntil','delete','_range','_entityInit$','Optional','sessionTicket','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LocaleService','handleInsertCol','path','_getSessionTicket','Rectangle','isArray','getUnitId','_clearOtherTimers','COLORS','init','disposeWithMe','getOffsetConfig','unitId','endRow','hovered','collab-rect-range-','_ensureSubject','_scheduleHeartbeat','_memberService','#fff','onPointerLeave$','TOO_MANY_REQUESTS','@univerjs/engine-render','registerRenderModule','LOGIN_FAILED','onTransformChange$','values','flatMap','IConfigService','children','subscribeEvent','svg','_docTransformStateCacheService','_handleJoinEvent','_commandService','useDependency','getSheetObject','RECT','DEFAULT_WS_SESSION_TICKET_URL','INVITE_CODE_ALREADY_BOUND','off-line-single','collabStatus.conflict','_docTransformSelectionsService','0\x200\x2016\x2016','find','fillText','DocStateChangeManagerService','set','Workbook','getSkeleton','CollaborationSessionService','_send','@univerjs/network','_univerInstanceService','status$','onRendered','_collaborationController','LICENSE_DISTRO_REJECTED','_backgroundColor','_handleHeartbeatEvent','deepClone','_shapes','currentSkeleton$','restore','onlineStatus','_handleEvent','SNAPSHOT_INVALID_SNAPSHOT','concat','getActiveSheet','searchParams','_instanceService','_collabCursorState$','UniverDrawing','_unitStatus','save','range','filter','onStarting','top','CollaborationUIEventService','assign','requireSession','univer-online-status-icon','registerBeforeClose','_transformPreviousActiveRange','collabStatus.offline','M0\x200H16V16H0z','41096aVPVPN','Vector2','_dataLoaderService','SUBMIT_CHANGESET_TIMEOUT','Injector','setStateCache','_onCursorDelete','colorChannel1','_anchorDot','toRgbString','handleDeleteRangeMoveUp','activeSheet$','touchDependencies','onlineStatusTitle','_handleLeaveEvent','Failed','ITransformService','ranges','history','1716800XpbBAC','isEditing','PENDING','attrs','NO_OTHER_CLIENTS_EDITING','hasOwnProperty','forEach','USER_NOT_INVITED_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','_updateSubUnitFromURLParams','NOT_COLLAB','saveTaskMap','FromArray','url(#off-line-single_clip0_910_343)','getCollabCursors$','TEXT','skeleton','search','ThemeService','black','univer-online-status-title','DesktopCollaborationStatusDisplayController','show','cursorInfo','none','_drawTextRange','PY_RUNTIME_SCRIPT_ERROR','getUnitStatus$','triggerDblclick','switchMap','_textBubble','react','transformMutation','getRelativeToViewportCoord','getParam','_hover','SOCKET_FAILED','UniverCore','getUndoRedoMutationParamsCache','handleMoveRange','currentTheme$','asObservable','collabStatus.syncing','INVALID_INVITE_CODE','editingUnit','isTransformMutationFailure','executionId','YUUMI_RATE_OVER_LIMIT','Error','Rect','key','setTimeout','getDocRanges','newValue','_initResize','ColorKit','NodePositionConvertToRectRange','measureText','_disabled','_init','setParam','jsx','arc','_removeClearOtherTimer','_toggleOffline','1em','PERMISSION_DENIED','OTHER_CLIENTS_EDITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformByState','getTypeOfUnitDisposed$','[CollaborationDataLoaderController]','INVALID_ARGUMENT','EMAIL_HAS_BEEN_BOUND','with','UNRECOGNIZED','_imageIoService','handleIRemoveRow','text','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','RemoteUniscriptService','LICENSE_MAX_UNITS_EXCEEDED','UPDATE_CURSOR','debounceTime','defIds','_revisionService','_registerRenderDependencies','WebBrowserSingleActiveUnitService','_getScale','_initCommandExecutedListener','889624kwdFLd','UniverProCollaborationClient','SNAPSHOT_HAS_BEEN_REMOVED','_onRefRangeChange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','transformRemoteChangeset','UniverEngineRender','_drawRectRange','UnitStatus','_online','_startSheetCollabCursor','invokeId','defineProperty','toStringTag','getCollabEntity$','_entities','_eventUnsubscribe','div','getItem','isTransformMutationsWithChangesetSuccess','Tools','RxDisposable','YUUMI_UNABLE_LOAD_URL','_initDependencies','sheetId','INotificationService','_cursors','_removeCollabCursors','APPLY_REJECT','getUnhiddenWorksheets','addObject','event$','mutations','get','_uiPartsService','UniverUi','clsx','permission.content','extend','_docStateChangeManagerService','_localCacheService','_refRangeService','MessageType','getMergeData','transform','WebSocketService','getSheetBySheetId','MemberService','closePath','clearInterval','Module','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_DUPLICATED','labelPosition','onlineStatusIcon','@univerjs/sheets','permission.title','ALREADY_EXISTS','entityInit$','findNodePositionByCharIndex','height','getOwnPropertySymbols','string','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformStateCache','className','Subject','icon','ticket','onPointerEnter$','some','application/json','CONFLICT','getConfig','collabStatus.synced','unit','UniverNetwork','unitID','_saveTaskMap','IBeforeCloseService','DocCollaborationEntity','from','currentColor','_httpService','width','UniverRpc','_scheduleSaving','getValue','0\x200\x2017\x2016','CollaborationStatusDisplay','ACTIVE_UNIT_EVENT_CHANNEL','registerRefRange','DocIMEInputManagerService','evenodd','@univerjs-pro/collaboration-client','debug','_roomMembers$','isActive','jiqing500','OnLineSingle','color','generateRandomId','_collabCursorController','transformSelections','CollaborationDataLoaderController','UniverIcon','IRenderManagerService','type','size','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformHistoryAndStateStack','ILocalStorageService','_syncEditingCollabCursorService','_docSyncEditingCollabCursorService','makeDirty','indexOf','EffectRefRangId','INVITE_CODE_HAS_BEEN_UES','RefRangeService','_initEntityListener','handleDeleteRangeMoveLeft','collaboration-client-ui.config','getAncestorScale','@univerjs/drawing','COMPLETION_FINISHED','_hideTimer','eventID','DeleteRangeMoveLeftCommandId','_themeService','doc.mutation.rich-text-editing','LOCAL_CACHE_INTERVAL','fill','503385ciLJdq','getTypeOfUnitAdded$','react/jsx-runtime','_renderManagerService','_cursorShapes','replaceDocRanges','CollaborationStatus','_getMergeRange','UniverDocs','InsertRangeMoveRightCommandId','INVITE_CODE_REQUIRED','displayName','lineTo','OffLineSingle','_toggleOnline','SessionStatus','replaceState','_colorIndex','origin','m1Prime','BrowserCollaborationSocketService','_docSkeletonManagerService','CollaborationSocketService','RegularPolygon','TEXT_RANGE_LAYER_INDEX','selection','APPLY_PERMISSION_DENIED','transformIMECache','distinctUntilChanged','next','getColor','saveImage','5204709qWNYIC','apply','_urlService','CollaborationEvent','onMouseMove','getLocalCacheKey','fromEvent','CollaborationController','...','roomMembers$','WebURLService','on-line-single_clip0_910_349','FETCH_MISS','ICommandService','BehaviorSubject','runId','saveOfflineData','enableLocalCache','syncEditingCollabCursor','error','actions','_draw','SOCKET_FAILED_RETRY','_collabSessionService','drawWith','round','LICENSE_EXPORT_SIZE_EXCEEDED','createIdentifier','CONNECTOR_DATA_TOO_LARGE','_cursorInfo$','translate(.97)','collabCursorState$','_cachedData','pipe','12694710lZyeMd','toDisposable','prototype','storage','_labelPosition','pluginName','loadOfflineData','connectInjector','_transformService','_anchor','_localStorageService','idSuffix','univer-flex\x20univer-items-center','SetSelectionsOperation','@univerjs-pro/collaboration','removeParam','createInstance','UNAUTHENTICATED','collabStatus.notCollab','merge','on-line-single','forwardRef','complete','_getAnchorBounding','_document','_handleHover','_context','imageSourceType','body','_cursor','_updateLocalCursor','_drawAnchor','_injector','Inject','getStateCache','cursorInfo$','code','add','getActiveRange','getMember','_hovered','/run/','InsertRangeMoveDownCommandId','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','_notificationService','serializeRangeWithSheet','moveTo','setConfig','startRow','rxjs','ISocketService','_configService','entries','debounce','exports','memberID','sessionStatus$','mask','subscribe','_heartbeatTimer','IRemoteInstanceService','_setupSubUnitSync','getCellPositionByOffset','toString','getCurrentUnitForType','OFFLINE','@univerjs/rpc','ILocalCacheService','ENSURE_SNAPSHOT_EXECUTION','propertyIsEnumerable','has','Tooltip','@univerjs/docs-ui','SheetSkeletonManagerService','_logService','fillStyle','AWAITING','_refreshCollabCursors','dispose','collaboration-client.offline-data-not-saved','_initEvent','m2Prime','Shape','clearTimeout','APPLY_NON_SEQUENTIAL_REVISION','_getSaveTimeout','OTHER_CLIENT_EDITING','getFocusedUnit','off-line-single_clip0_910_343','includes','_transformUndoRedoStack','defs','UNIVER_SHEET','_onCursorUpdate','purple300','gold400','createElement','ISnapshotServerService','getMemberID','map','subunit','_updateCollabCursors','univer-offline','_docSkeleton','operators','xlink:href','DocSelectionManagerService','RemoveRowCommandId','textRanges','stringify','handleIRemoveCol','24BuxiYJ','unshift','IUniverInstanceService','urlChange$','startsWith','UniverCollaborationClientPlugin','ONLINE','hide','IURLService','addObjects','UniverEngineFormula','IImageIoService','#FFF','dispose$','tag','UNDEFINED','_createSocketURL','data','_beforeCloseService','docStateChange$','params','collaboration.closeRoom','@univerjs/design','executeCommand','_name','UniverInstanceType','onCommandExecuted','focused$','split','CHANGESET_REVISION_CONFILICT','replace','_assignedColors','getRangePointData','SHEET_VIEWPORT_KEY','onLocalMutation','handleInsertRangeMoveRight','_scheduleClearOtherTimer','getOwnPropertyDescriptor','_updateURLWithCurrentState','Warning','setAlpha','unload','_unitOnClients','sheetID','738104OxRAJy','@univerjs/core','red300','getSheetId','_registerDependencies','function','_id','roomMembers','redoState','CollaborationUIEventId','getRenderById','startColumn','735VsvvkP','createSocket','then','reconnect','addClipboardHook','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_doCreateSocket','transformMutationsWithChangeset','unsubscribe','_color','ILogService','push','_collaborationUIEventService','clipPath','_messageService','Unknown\x20user','name','SetWorksheetActivateCommand','React','@univerjs/sheets-ui','useObservable','_colorAssignService','row','session.will-retry','href','url(#$1','trim','fromEventSubject','IMessageService','registerComponent','bottom','DocSkeletonManagerService','_selfUnitIDs','MoveRangeCommandId','InsertRowCommandId','resize','AWAITING_WITH_PENDING','@univerjs/engine-formula','DependentOn','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_localeService','setItem','_lastPointer','pushState','YUUMI_URL_COL_OUT_OF_RANGE','column','call','MOBILE_HAS_BEEN_BOUND','DisposableCollection','assignAColorForMemberID','collab-text-anchor-','SheetsSelectionsService','@univerjs/docs','url(#on-line-single_clip0_910_349)','exhaustSavingTask','backgroundColor','SheetCollabCursorShape','VIEW_MAIN','location','online','min','_docClipboardService','_session','popstate','DOC_RANGE_TYPE','getCoordByCell','UniverCollaborationClientUIPlugin','InsertColCommandId','@univerjs/ui','_config','univer-online','Disposable','_initStatusListener','_getSheetObject'];_0x4c8e=function(){return _0x3f25dc;};return _0x4c8e();}
1
+ function _0x112f(_0x2d0fab,_0x54d825){const _0x407378=_0x4073();return _0x112f=function(_0x112f36,_0x5a7100){_0x112f36=_0x112f36-0xe6;let _0xd75fca=_0x407378[_0x112f36];return _0xd75fca;},_0x112f(_0x2d0fab,_0x54d825);}function _0x4073(){const _0x551f7f=['doc.mutation.rich-text-editing','@univerjs/rpc','delete','offline','@univerjs-pro/collaboration-client','div','closePath','fill','executeCommand','replaceState','propertyIsEnumerable','TOO_MANY_REQUESTS','_backgroundColor','toRgbString','setActiveRange','FETCH_MISS','top','string','univer-flex\x20univer-items-center','_initStatusComponent','pluginName','registerRefRange','setItem','uni.network.url-service','UniverDocsUi','getActiveRange','isEditing','getActiveSheet','amd','@univerjs/engine-formula','Rectangle','IUniverInstanceService','height','getUnhiddenWorksheets','_collabCursorController','SNAPSHOT_HAS_BEEN_REMOVED','parse','CollaborationController','loadUnit','setUndoRedoMutationParamsCache','mapTo','indexOf','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Disposable','subscribe','DesktopCollaborationStatusDisplayController','redoState','OTHER_CLIENT_EDITING','unshift','APPLY_NON_SEQUENTIAL_REVISION','handleInsertRangeMoveDown','UniverProCollaboration','_localeService','save','cursorInfo','includes','type','CollaborationUIEventId','@univerjs/core','_removeClearOtherTimer','CollaborationStatusDisplay','hasOwnProperty','_collaborationUIEventService','MessageType','registerComponent','NOT_FOUND','override','collabStatus.syncing','_eventUnsubscribe','_send','MOBILE_HAS_BEEN_BOUND','from','_injector','242Chasty','result','getSkeleton','makeDirty','init','DocStateChangeManagerService','EMAIL_HAS_BEEN_BOUND','findNodePositionByCharIndex','handleInsertRangeMoveRight','CollaborationSocketService','60lxVyQw','NodePositionConvertToRectRange','onlineStatusIcon','OnLineSingle','_online','_scheduleSaving','Tools','cursorInfo$','getParam','moveTo','_getAnchorBounding','NodePositionConvertToCursor','_setupSubUnitSync','send','@univerjs/docs-ui','getCurrentRevOfUnit','_cursor','onMouseMove','deserializeRangeWithSheet','trim','MUTATION','_commandService','UniverCore','children','EffectRefRangId','_render','lineTo','_disabled','PERMISSION_DENIED','eventID','setStateCache','_ensureSubject','onCommandExecuted','toString','event$','min','LOGIN_FAILED','getColor','_doCreateSocket','_localStorageService','currentSkeleton$','replace','function','shareReplay','black','_logService','_id','1MtppCX','HTTPService','ACTIVE_UNIT_EVENT_CHANNEL','_cursorShapes','createElement','USER_NOT_INVITED_CODE','svg','collabStatus.offline','Rect','combineLatest','0\x200\x2017\x2016','UniverUi','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','clearTimeout','LOCAL_CACHE_INTERVAL_KEY','_onCursorUpdate','collab-text-range-','fillRule','key','_updateCollabCursors','search','operators','split','_unitOnClients','InsertRangeMoveDownCommandId','getUnitId','rxjs','_updateURLWithCurrentState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initResize','assign','_getSheetObject','IBeforeCloseService','_dataLoaderService','_setupBeforeClosingHandler','filter','toStringTag','hovered','all','getStateCache','UniverDesign','_colorIndex','contains','saveTaskMap','InsertRangeMoveRightCommandId','@univerjs/design','_docSkeleton','_roomMembers$','concat','UniverSheets','UniverInstanceType','CommandType','collabStatus.conflict','1em','requireSession','debounceTime','_heartbeatTimer','@univerjs/sheets-ui','error','getCollabEntity$','UniverRpc','IMessageService','CLOSE_ROOM','_status$','session.connection-failed','purple300','blue400','_renderManagerService','getRangePointData','mergeOverrideWithDependencies','runRefRangeMutations','setShapeProps','INVITE_CODE_HAS_BEEN_UES','VIEW_MAIN','_instanceService','@univerjs/drawing','_docClipboardService','subscribeEvent','pushState','fillText','_updateSubUnitFromURLParams','activeSheet$','UNIVER_DOC','_getSessionTicket','saveImage','forEach','hide','MemberService','_uiPartsService','univer-offline','1601852cdUrTF','memberID','transformStateCache','LICENSE_MAX_UNITS_EXCEEDED','getSheetObject','textRanges','DeleteRangeMoveLeftCommandId','_transformUndoRedoStack','_localCacheService','_hover','setParam','prototype','call','addClipboardHook','xlink:href','INTERNAL_ERROR','0\x200\x2016\x2016','_handleHover','transformIMECache','_drawRectRange','CONFLICT','_cursors','add','Warning','tag','dispose$','collabStatus.synced','getSheetId','transformRemoteChangeset','symbol','collaboration-client.offline-data-not-saved','_scheduleClearOtherTimer','next','useRef','endRow','_drawTextRange','updateOfflineData','JOIN_ROOM_FAILED','_startDocCollabCursor','clearInterval','_sheetSkeletonManagerService','_drawAnchor','_themeService','clipPath','handleDeleteRangeMoveLeft','unload','LICENSE_DISTRO_REJECTED','_createSocketURL','599952gLNBrH','size','Vector2','getCoordByCell','range','unitId','createSocket','params','row','#fff','_document','HEADER_MENU','Workbook','RegularPolygon','UniverNetwork','ThemeService','_cachedData','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initDependencies','useDependency','loadOfflineData','@univerjs-pro/collaboration','InsertColCommandId','path','createInstance','_collaborationController','_transformHistoryAndStateStack','_textBubble','reconnect','getRenderById','_toggleOnline','Inject','ITransformService','432850ptXIrz','color','UnitStatus','defineProperty','TEXT_RANGE_LAYER_INDEX','body','none','transformSelections','_saveCache','ALREADY_EXISTS','show','_initEntityListener','[CollaborationDataLoaderController]','WebURLService','4743LsjJAO','getUndoRedoMutationParamsCache','name','CollaborationEvent','FromArray','RxDisposable','length','href','online','m1Prime','...','_handleHeartbeatEvent','getCurrentUnitForType','OTHER_CLIENTS_EDITING','_context','jsx','_notificationService','LICENSE_IMPORT_SIZE_EXCEEDED','defs','defIds','Module','entityInit$','merge','_beforeCloseService','onPointerLeave$','_selfUnitIDs','subunit','setAlpha','UniverIcon','UPDATE_CURSOR','undoState','invokeId','_session','getCellPositionByOffset','DependentOn','_univerInstanceService','touchDependencies','OFFLINE','_transformPreviousActiveRange','BrowserCollaborationSocketService','DocSkeletonManagerService','setInterval','engine','SHEET_VIEWPORT_KEY','SYNCED','unitID','getDocRanges','urlChange$','attrs','getTypeOfUnitAdded$','M0\x200H16V16H0z','set','debug','_clearOtherTimers','saveOfflineData','useCallback','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','#FFF','@univerjs/sheets','_registerDependencies','collaboration.closeRoom','session.will-retry','actions','UNIVER_SHEET','setTimeout','object','univer-online-status-icon','currentColor','roomMembers','pipe','COLORS','_anchor','APPLY_REVISION_CONFILICT','81IwcyXW','_handleEvent','CollaborationSessionService','@univerjs/network','_assignedColors','exports','393744GWjUxR','className','TEXT','_entityInit$','forwardRef','onStarting','getOffsetConfig','SheetsSelectionsService','ICommandService','_labelPosition','apply','dispose','history','@univerjs/engine-render','map','_docTransformStateCacheService','USERS_LEAVE','getMergeData','collaboration.single-unit.warning','width','RemoveColCommandId','YUUMI_RATE_OVER_LIMIT','ISocketService','font','whenReady','searchParams','getConfig','replaceDocRanges','react','transformMutation','getOwnPropertySymbols','BuiltInUIPart','switchMap','transformMutationsWithChangeset','_lastPointer','current','_syncEditingCollabCursorService','then','InsertRowCommandId','round','getAncestorScale','BehaviorSubject','LICENSE_EXPORT_SIZE_EXCEEDED','_registerRenderDependencies','handleDeleteRangeMoveUp','wsSessionTicketUrl','collabStatus.notCollab','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','sheetID','SetWorksheetActivateCommand','handleInsertCol','_configService','clsx','registerDependencies','addObject','onLocalMutation','getCollabCursors$','sessionStatus$','_refreshCollabCursors','_docStateChangeManagerService','debounce','getCurrentSelections','CONNECTOR_DATA_TOO_LARGE','IRenderManagerService','complete','ColorKit','DocCollaborationEntity','_colorAssignService','collaboration-client-ui.config','Error','_refRangeService','_urlService','INVITE_CODE_ALREADY_BOUND','ONLINE','useObservable','column','UniverEngineRender','_removeCollabCursors','DataLoaderService','getSheetBySheetId','labelPosition','selection','RemoteUniscriptService','getItem','getViewport','YUUMI_UNABLE_LOAD_URL','disposeWithMe','IConfigService','post','WECHAT_HAS_BEEN_BOUND','_initCommandExecutedListener','CHANGESET_REVISION_CONFILICT','univer-online','getFocusedUnit','transformByState','colorChannel1','_revisionService','syncEditingCollabCursor','MoveRangeCommandId','mask','fillStyle','getOwnPropertyDescriptor','find','LocaleService','focused$','UniverProCollaborationClientUi','CollaborationStatus','APPLY_REJECT','getCurrent','_saveTaskMap','drawWith','exhaustSavingTask','runOnServer','ENSURE_SNAPSHOT_EXECUTION','Injector','YUUMI_URL_COL_OUT_OF_RANGE','_collabCursorState$','@univerjs/docs','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','_collabSessionService','entries','getValue','ILogService','APPLY_DUPLICATED','takeUntil','SetTextSelectionsOperation','addObjects','extend','collab-text-anchor-','_handleLeaveEvent','_docSyncEditingCollabCursorService','AWAITING_WITH_PENDING','UniverEngineFormula','with','AWAITING','_updateLocalCursor','docStateChange$','isArray','fromEvent','runId','_scheduleHeartbeat','_cursorInfo$','unit','_imageIoService','_color','_name','CollaborationDataLoaderController','univer-online-status','_memberService','evenodd','asObservable','_handleJoinEvent','restore','translate(.97)','_hovered','url(#$1','onlineStatusTitle','_scene','roomMembers$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UNAUTHENTICATED','getTypeOfUnitDisposed$','DocSelectionManagerService','substring','generateRandomId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SetSelectionsOperation','has','_docSkeletonManagerService','registerBeforeClose','univer-online-status-title','onPointerMove$','React','disposeUnit','209136uZSJzQ','idSuffix','@univerjs/ui','beginPath','UniverDrawing','UniverProCollaborationClient','_messageService','NOT_COLLAB','values','off-line-single_clip0_910_343','DocIMEInputManagerService','_init','_initStatusListener','INVALID_INVITE_CODE','SNAPSHOT_INVALID_SNAPSHOT','resize','_entities','UNRECOGNIZED','_httpService','RichTextEditingMutation','DOC_RANGE_TYPE','157086PewmwA','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','_shapes','assignAColorForMemberID','_transformService','collab-rect-range-','bottom','Unknown\x20user','SUBMIT_CHANGESET_TIMEOUT','isTransformMutationFailure','ranges','onPointerEnter$','UniverSheetsUi','handleMoveRange','collabCursorState$','DeleteRangeMoveUpCommandId','SheetSkeletonManagerService','push','_unitStatus','sessionTicket','_anchorDot','_initEvent','_hideTimer','displayName','enableLocalCache','some','gold400','deepClone','mutations','get','m2Prime','getMemberID','ticket','jsxs','Shape','currentTheme$','NO_OTHER_CLIENTS_EDITING','react/jsx-runtime','getMember','handleInsertRow','arc','_range','_toggleOffline','jiqing500','_config','INVALID_ARGUMENT','60WwOGEP','max','registerRenderModule','use','APPLY_PERMISSION_DENIED','INVITE_CODE_REQUIRED','YUUMI_SUBSCRIPTION_NOT_FOUND','ILocalCacheService','location','_docTransformSelectionsService','isTransformMutationsWithChangesetSuccess','getVpScrollXYInfoByPosToVp','connectInjector','IURLService','newValue','measureText','_docTransformIMECacheService','data','UniverCollaborationClientUIPlugin','rxjs/operators','IImageIoService','_onCursorDelete','onlineStatus','stringify','SOCKET_FAILED_RETRY','unsubscribe','_draw'];_0x4073=function(){return _0x551f7f;};return _0x4073();}(function(_0x4cfc55,_0x42179b){const _0x4a7a11=_0x112f,_0x4d19f1=_0x4cfc55();while(!![]){try{const _0x5bc763=-parseInt(_0x4a7a11(0x364))/0x1*(-parseInt(_0x4a7a11(0x157))/0x2)+-parseInt(_0x4a7a11(0x186))/0x3*(-parseInt(_0x4a7a11(0x335))/0x4)+-parseInt(_0x4a7a11(0x2c7))/0x5*(parseInt(_0x4a7a11(0x299))/0x6)+parseInt(_0x4a7a11(0x127))/0x7+-parseInt(_0x4a7a11(0x1d6))/0x8+parseInt(_0x4a7a11(0x1d0))/0x9*(parseInt(_0x4a7a11(0x178))/0xa)+parseInt(_0x4a7a11(0x32b))/0xb*(-parseInt(_0x4a7a11(0x284))/0xc);if(_0x5bc763===_0x42179b)break;else _0x4d19f1['push'](_0x4d19f1['shift']());}catch(_0x5d20c0){_0x4d19f1['push'](_0x4d19f1['shift']());}}}(_0x4073,0x2fad6),function(_0x5ad091,_0x8f9459){const _0x352c92=_0x112f;typeof exports==_0x352c92(0x1c8)&&typeof module<'u'?_0x8f9459(exports,require(_0x352c92(0x2e6)),require(_0x352c92(0x31c)),require(_0x352c92(0x1e3)),require(_0x352c92(0x1d3)),require('@univerjs/docs-ui'),require(_0x352c92(0x118)),require('rxjs'),require(_0x352c92(0x24b)),require(_0x352c92(0x16c)),require(_0x352c92(0x2ff)),require(_0x352c92(0x1c1)),require(_0x352c92(0x2da)),require(_0x352c92(0x106)),require(_0x352c92(0x2be)),require(_0x352c92(0x286)),require(_0x352c92(0xfa)),require(_0x352c92(0x1f2)),require(_0x352c92(0x2e3))):typeof define==_0x352c92(0x35f)&&define[_0x352c92(0x2fe)]?define([_0x352c92(0x1d5),_0x352c92(0x2e6),_0x352c92(0x31c),_0x352c92(0x1e3),'@univerjs/network',_0x352c92(0x343),_0x352c92(0x118),_0x352c92(0xe7),_0x352c92(0x24b),_0x352c92(0x16c),'@univerjs/engine-formula',_0x352c92(0x1c1),_0x352c92(0x2da),_0x352c92(0x106),_0x352c92(0x2be),_0x352c92(0x286),_0x352c92(0xfa),'react','@univerjs/rpc'],_0x8f9459):(_0x5ad091=typeof globalThis<'u'?globalThis:_0x5ad091||self,_0x8f9459(_0x5ad091[_0x352c92(0x23f)]={},_0x5ad091[_0x352c92(0x289)],_0x5ad091[_0x352c92(0x34b)],_0x5ad091[_0x352c92(0x222)],_0x5ad091[_0x352c92(0x165)],_0x5ad091[_0x352c92(0x2fa)],_0x5ad091[_0x352c92(0x288)],_0x5ad091['rxjs'],_0x5ad091['UniverDocs'],_0x5ad091[_0x352c92(0x315)],_0x5ad091[_0x352c92(0x25a)],_0x5ad091[_0x352c92(0xfe)],_0x5ad091[_0x352c92(0xe7)][_0x352c92(0x379)],_0x5ad091[_0x352c92(0x2a5)],_0x5ad091[_0x352c92(0x282)],_0x5ad091[_0x352c92(0x36f)],_0x5ad091[_0x352c92(0xf5)],_0x5ad091['React'],_0x5ad091[_0x352c92(0x109)]));}(this,function(_0x342240,_0x2fd730,_0x1e0609,_0x8660e4,_0x1e4e91,_0x189013,_0x4a81a8,_0x94d9ab,_0x1aadfd,_0xcfb5d3,_0xf78882,_0x4b47a4,_0xecbc95,_0x5b5571,_0x4e444a,_0x43b760,_0x4fc34b,_0x283846,_0x4b767c){'use strict';const _0x3894d5=_0x112f;var _0x564b75=Object[_0x3894d5(0x17b)],_0x20f8ff=(_0x2265f9,_0x52b9fa,_0xf1c38)=>_0x52b9fa in _0x2265f9?_0x564b75(_0x2265f9,_0x52b9fa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf1c38}):_0x2265f9[_0x52b9fa]=_0xf1c38,_0x552ea8=(_0x2f21b6,_0x31d4d4,_0x31a056)=>_0x20f8ff(_0x2f21b6,typeof _0x31d4d4!=_0x3894d5(0x144)?_0x31d4d4+'':_0x31d4d4,_0x31a056),_0x68d2a1=Object[_0x3894d5(0x23b)],_0x495092=(_0x168134,_0x3754d1,_0x419747,_0xf106ec)=>{const _0x3dc77f=_0x3894d5;for(var _0x557571=_0xf106ec>0x1?void 0x0:_0xf106ec?_0x68d2a1(_0x3754d1,_0x419747):_0x3754d1,_0x5b91bb=_0x168134[_0x3dc77f(0x18c)]-0x1,_0x261021;_0x5b91bb>=0x0;_0x5b91bb--)(_0x261021=_0x168134[_0x5b91bb])&&(_0x557571=_0x261021(_0x557571)||_0x557571);return _0x557571;},_0xeb1686=(_0x5c1f8f,_0x4b05cf)=>(_0x71ca13,_0x29c427)=>_0x4b05cf(_0x71ca13,_0x29c427,_0x5c1f8f);let _0x561448=class extends _0x1e0609['RxDisposable']{constructor(_0x33c058,_0x3ddd09){const _0x191667=_0x3894d5;super(),this[_0x191667(0x119)]=_0x33c058,this['_imageIoService']=_0x3ddd09,this[_0x191667(0x28f)]();}['_init'](){const _0x3bdc21=_0x3894d5,_0x1938a9=this;this[_0x3bdc21(0x22c)](this[_0x3bdc21(0x119)][_0x3bdc21(0x134)]({'onBeforePasteImage':async _0x440d45=>{const _0x353a96=_0x3bdc21,_0x2536c4=await _0x1938a9[_0x353a96(0x265)][_0x353a96(0x121)](_0x440d45);return _0x2536c4?{'source':_0x2536c4['source'],'imageSourceType':_0x2536c4['imageSourceType']}:null;}}));}};_0x561448=_0x495092([_0xeb1686(0x0,_0x189013['IDocClipboardService']),_0xeb1686(0x1,_0x4a81a8[_0x3894d5(0x2db)])],_0x561448);const _0xe8abb1=[_0x3894d5(0x10e),_0x3894d5(0x2c4),'verdancy600','red300',_0x3894d5(0x10f),_0x3894d5(0x2b3)];class _0x57aed3 extends _0x1e0609[_0x3894d5(0x30d)]{constructor(){const _0xdd3c26=_0x3894d5;super(...arguments),_0x552ea8(this,_0xdd3c26(0x1d4),new Map()),_0x552ea8(this,_0xdd3c26(0xf6),0x0);}['assignAColorForMemberID'](_0x3ec7cf){const _0x121b4e=_0x3894d5;if(this[_0x121b4e(0x1d4)]['has'](_0x3ec7cf))return this[_0x121b4e(0x1d4)][_0x121b4e(0x2b6)](_0x3ec7cf);const _0x3ab0c6=_0xe8abb1[this['_colorIndex']];return this[_0x121b4e(0xf6)]=(this[_0x121b4e(0xf6)]+0x1)%_0xe8abb1[_0x121b4e(0x18c)],this['_assignedColors'][_0x121b4e(0x1b9)](_0x3ec7cf,_0x3ab0c6),_0x3ab0c6;}}function _0x4e6471(_0x53e445){const _0x4b74df=_0x3894d5;let _0x1e795f='';for(const _0x23431c of _0x53e445){const {startOffset:_0x12de8f,endOffset:_0x572b13,isActive:_0x5e7534,rangeType:_0x3e1f44,segmentId:_0x4c8498,segmentPage:_0x3bf592}=_0x23431c;_0x1e795f[_0x4b74df(0x18c)]&&(_0x1e795f+=','),_0x1e795f+=_0x12de8f+':'+_0x572b13+':'+(_0x5e7534?'1':'0')+':'+_0x3e1f44+':'+_0x4c8498+':'+_0x3bf592;}return _0x1e795f;}function _0x17fcbd(_0x133712){const _0x9c4ccf=_0x3894d5,_0x2841e2=_0x133712['split'](','),_0x476a7f=[];for(const _0x5ad36d of _0x2841e2){const [_0x257e7a,_0x342aa8,_0x380b00,_0x2204d9,_0x2f7df5,_0x22770e]=_0x5ad36d[_0x9c4ccf(0x37a)](':');_0x476a7f[_0x9c4ccf(0x2aa)]({'startOffset':Number(_0x257e7a),'endOffset':Number(_0x342aa8),'collapsed':_0x257e7a===_0x342aa8,'isActive':_0x380b00==='1','rangeType':_0x2204d9===_0x1e0609['DOC_RANGE_TYPE'][_0x9c4ccf(0x1d8)]?_0x1e0609[_0x9c4ccf(0x298)][_0x9c4ccf(0x1d8)]:_0x1e0609[_0x9c4ccf(0x298)]['RECT'],'segmentId':typeof _0x2f7df5==_0x9c4ccf(0x2f3)?String(_0x2f7df5):'','segmentPage':Number(_0x22770e!=null?_0x22770e:-0x1)});}return _0x476a7f[_0x9c4ccf(0x2b2)](_0x2759e5=>_0x2759e5['isActive'])||(_0x476a7f[0x0]['isActive']=!0x0),_0x476a7f;}class _0x55262d extends _0x1e0609[_0x3894d5(0x18b)]{constructor(){const _0x91ccd0=_0x3894d5;super(...arguments),_0x552ea8(this,_0x91ccd0(0x24a),new _0x94d9ab[(_0x91ccd0(0x1ff))](null)),_0x552ea8(this,_0x91ccd0(0x2a7),this[_0x91ccd0(0x24a)][_0x91ccd0(0x26c)]());}[_0x3894d5(0x237)](_0x429c03){const _0x4fa6dc=_0x3894d5,{unitID:_0x3180f3,memberID:_0x1b7949,textRanges:_0x406987}=_0x429c03,_0x596315=_0x4e6471(_0x406987);if(_0x596315==='')return;const _0x3e8ffd={'unitID':_0x3180f3,'memberID':_0x1b7949,'selection':_0x596315};this[_0x4fa6dc(0x24a)]['next'](_0x3e8ffd);}}var _0x373b7f=Object['getOwnPropertyDescriptor'],_0x7085=(_0x5d067a,_0x3bae7a,_0x3533e7,_0x4ff056)=>{for(var _0x450433=_0x4ff056>0x1?void 0x0:_0x4ff056?_0x373b7f(_0x3bae7a,_0x3533e7):_0x3bae7a,_0x47c5b7=_0x5d067a['length']-0x1,_0x4332f9;_0x47c5b7>=0x0;_0x47c5b7--)(_0x4332f9=_0x5d067a[_0x47c5b7])&&(_0x450433=_0x4332f9(_0x450433)||_0x450433);return _0x450433;},_0x34bd19=(_0x4a7172,_0x160548)=>(_0x514a0a,_0x452705)=>_0x160548(_0x514a0a,_0x452705,_0x4a7172);const _0x57c7f6=0x12c,_0x51524a=0x64;let _0x4c854f=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x4597ff,_0x3b9f15,_0x4a37f9,_0x3de393,_0x11cde0,_0x2a84cb,_0x2b662d,_0x469b7a,_0x2de2bb){const _0x1b6744=_0x3894d5;super(),_0x552ea8(this,'_online',!0x1),_0x552ea8(this,_0x1b6744(0x28f),!0x1),_0x552ea8(this,_0x1b6744(0x263),new _0x94d9ab[(_0x1b6744(0x1ff))](new Map())),_0x552ea8(this,_0x1b6744(0x33c),this[_0x1b6744(0x263)][_0x1b6744(0x26c)]()),_0x552ea8(this,'_roomMembers$',new _0x94d9ab[(_0x1b6744(0x1ff))]([])),_0x552ea8(this,_0x1b6744(0x274),this['_roomMembers$'][_0x1b6744(0x1cc)](_0x94d9ab[_0x1b6744(0x104)](_0x57c7f6))),_0x552ea8(this,_0x1b6744(0x25d),_0x1e0609[_0x1b6744(0x212)](_0x26bdc9=>{const _0x2d290c=_0x1b6744,_0x57a562={'eventID':_0xcfb5d3[_0x2d290c(0x189)][_0x2d290c(0x1a3)],'data':{'unitID':this['unitID'],'memberID':this[_0x2d290c(0x1a6)]['getMemberID'](),'selection':_0x4e6471(_0x26bdc9)}};this[_0x2d290c(0x1a6)][_0x2d290c(0x342)](_0x57a562,this[_0x2d290c(0x1b3)]);},_0x51524a)),(this[_0x1b6744(0x1b3)]=_0x4597ff,this[_0x1b6744(0x1a6)]=_0x3b9f15,this[_0x1b6744(0x32a)]=_0x4a37f9,this[_0x1b6744(0x219)]=_0x3de393,this[_0x1b6744(0x26a)]=_0x11cde0,this[_0x1b6744(0x1fa)]=_0x2a84cb,this[_0x1b6744(0x29d)]=_0x2b662d,this[_0x1b6744(0x1a9)]=_0x469b7a,this[_0x1b6744(0x34a)]=_0x2de2bb);}get[_0x3894d5(0x318)](){const _0x1a6eb5=_0x3894d5;return this[_0x1a6eb5(0x263)][_0x1a6eb5(0x24f)]();}get[_0x3894d5(0x1cb)](){return this['_roomMembers$']['getValue']();}[_0x3894d5(0x1e1)](){const _0x30f272=_0x3894d5;super[_0x30f272(0x1e1)](),this[_0x30f272(0x263)][_0x30f272(0x147)](new Map()),this[_0x30f272(0x263)][_0x30f272(0x216)](),this[_0x30f272(0xfc)][_0x30f272(0x147)]([]),this['_roomMembers$']['complete']();}[_0x3894d5(0x32f)](){const _0x1d2638=_0x3894d5;this[_0x1d2638(0x28f)]||(this[_0x1d2638(0x28f)]=!0x0,this[_0x1d2638(0x1a6)]['sessionStatus$'][_0x1d2638(0x1cc)](_0x94d9ab['takeUntil'](this[_0x1d2638(0x140)]))[_0x1d2638(0x30e)](_0x49dfba=>{const _0x53ed4d=_0x1d2638;_0x49dfba===_0x2fd730['SessionStatus']['ONLINE']?this[_0x53ed4d(0x175)]():this[_0x53ed4d(0x2c3)]();}),this[_0x1d2638(0x1a6)][_0x1d2638(0x357)]['pipe'](_0x94d9ab[_0x1d2638(0x252)](this['dispose$']))[_0x1d2638(0x30e)](_0xecb389=>{const _0x272f54=_0x1d2638,_0x49ac26=_0xecb389[_0x272f54(0x352)];_0x49ac26===_0xcfb5d3[_0x272f54(0x189)][_0x272f54(0x1a3)]&&this[_0x272f54(0x373)](_0xecb389),_0x49ac26===_0xcfb5d3[_0x272f54(0x189)][_0x272f54(0x1e6)]&&this[_0x272f54(0x2dc)](_0xecb389);}),this[_0x1d2638(0x22c)](this[_0x1d2638(0x34a)][_0x1d2638(0x355)](_0xd261a5=>{const _0x457a79=_0x1d2638,_0x4f0cb3=_0xd261a5[_0x457a79(0x15e)];_0x4f0cb3!=null&&this[_0x457a79(0x339)]&&_0xd261a5['id']===_0x1aadfd[_0x457a79(0x253)]['id']&&_0x4f0cb3[_0x457a79(0x15c)]===this['unitID']&&_0x4f0cb3[_0x457a79(0x2fc)]===!0x1&&_0x4f0cb3[_0x457a79(0x2a3)][_0x457a79(0x18c)]>0x0&&this[_0x457a79(0x25d)](_0x4f0cb3['ranges']);})),this[_0x1d2638(0x1fa)]['collabCursorState$'][_0x1d2638(0x1cc)](_0x94d9ab[_0x1d2638(0x252)](this[_0x1d2638(0x140)]))[_0x1d2638(0x30e)](_0x2a4ae3=>{const _0x187e38=_0x1d2638;if((_0x2a4ae3==null?void 0x0:_0x2a4ae3[_0x187e38(0x1b3)])!==this[_0x187e38(0x1b3)])return;const _0x213c7a={'eventID':_0xcfb5d3[_0x187e38(0x189)][_0x187e38(0x1a3)],'data':_0x2a4ae3};this[_0x187e38(0x373)](_0x213c7a);}),this['disposeWithMe'](this[_0x1d2638(0x34a)]['onCommandExecuted'](_0x5756f8=>{const _0x5c5e49=_0x1d2638;if(_0x5756f8['params']==null)return;const _0x34e43d=_0x5756f8[_0x5c5e49(0x15e)];if(_0x5756f8['id']!==_0x1aadfd[_0x5c5e49(0x297)]['id']||_0x34e43d['unitId']!==this['unitID'])return;const _0x588b4f={'id':_0x5c5e49(0x2e2),'params':_0x34e43d},_0x437693=this[_0x5c5e49(0x318)];for(const [_0x9c7ebf,_0x29a0e1]of _0x437693){const _0x34c63c={'id':_0x5c5e49(0x2e2),'params':{'unitId':this[_0x5c5e49(0x1b3)],'actions':null,'textRanges':_0x29a0e1[_0x5c5e49(0x2a3)]}},_0x1eda08=this[_0x5c5e49(0x29d)][_0x5c5e49(0x1f3)](_0x588b4f,_0x34c63c,!0x1);if(_0xcfb5d3['isTransformMutationFailure'](_0x1eda08))throw _0x1eda08[_0x5c5e49(0x107)];_0x437693[_0x5c5e49(0x1b9)](_0x9c7ebf,{..._0x29a0e1,'ranges':_0x1eda08[_0x5c5e49(0x2b7)][_0x5c5e49(0x15e)][_0x5c5e49(0x12c)]});}queueMicrotask(()=>{const _0x2ce0c9=_0x5c5e49;this[_0x2ce0c9(0x263)]['next'](_0x437693);});})));}[_0x3894d5(0x373)](_0x1a3383){const _0x327f5a=_0x3894d5;var _0x533328,_0x35745d;const {memberID:_0x287b0a,selection:_0x18b1a6}=_0x1a3383['data'],_0x11b359=_0x17fcbd(_0x18b1a6),_0x2fc3e6=(_0x35745d=(_0x533328=this[_0x327f5a(0x26a)]['getMember'](this[_0x327f5a(0x1b3)],_0x287b0a))==null?void 0x0:_0x533328[_0x327f5a(0x188)])!=null?_0x35745d:'Unknown\x20user',_0x993972={'color':this[_0x327f5a(0x219)]['assignAColorForMemberID'](_0x287b0a),'name':_0x2fc3e6,'ranges':_0x11b359},_0x2c421d=this[_0x327f5a(0x318)];_0x2c421d[_0x327f5a(0x1b9)](_0x287b0a,_0x993972),this[_0x327f5a(0x263)][_0x327f5a(0x147)](_0x2c421d);}[_0x3894d5(0x2dc)](_0xb14d2d){const _0x774b13=_0x3894d5,{memberID:_0x3e9a08}=_0xb14d2d[_0x774b13(0x2d8)],_0x368475=this[_0x774b13(0x318)];_0x368475[_0x774b13(0x2e4)](_0x3e9a08),this[_0x774b13(0x263)][_0x774b13(0x147)](_0x368475);}[_0x3894d5(0x175)](){const _0xc7873e=_0x3894d5;var _0x594b8a;if(this[_0xc7873e(0x339)]=!0x0,((_0x594b8a=this[_0xc7873e(0x1a9)][_0xc7873e(0x233)]())==null?void 0x0:_0x594b8a['getUnitId']())!==this['unitID'])return;const _0x3ed547=this[_0xc7873e(0x32a)]['get'](_0x1aadfd[_0xc7873e(0x278)])[_0xc7873e(0x1b4)]();Array['isArray'](_0x3ed547)&&_0x3ed547['length']>0x0&&this['_updateLocalCursor'](_0x3ed547);}[_0x3894d5(0x2c3)](){const _0x34bce8=_0x3894d5;this[_0x34bce8(0x339)]=!0x1;}};_0x4c854f=_0x7085([_0x34bd19(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x34bd19(0x3,_0x1e0609[_0x3894d5(0x176)](_0x57aed3)),_0x34bd19(0x4,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x124)])),_0x34bd19(0x5,_0x1e0609[_0x3894d5(0x176)](_0x55262d)),_0x34bd19(0x6,_0xcfb5d3[_0x3894d5(0x177)]),_0x34bd19(0x7,_0x1e0609[_0x3894d5(0x301)]),_0x34bd19(0x8,_0x1e0609[_0x3894d5(0x1de)])],_0x4c854f);var _0x35936b=Object[_0x3894d5(0x23b)],_0x10772f=(_0x32572b,_0x35c312,_0x468b14,_0x5428a2)=>{const _0x57c094=_0x3894d5;for(var _0x5ee1e5=_0x5428a2>0x1?void 0x0:_0x5428a2?_0x35936b(_0x35c312,_0x468b14):_0x35c312,_0x186bf1=_0x32572b[_0x57c094(0x18c)]-0x1,_0x6a354f;_0x186bf1>=0x0;_0x186bf1--)(_0x6a354f=_0x32572b[_0x186bf1])&&(_0x5ee1e5=_0x6a354f(_0x5ee1e5)||_0x5ee1e5);return _0x5ee1e5;},_0x11db61=(_0x3bbc58,_0x5d0409)=>(_0x1613ad,_0x13025c)=>_0x5d0409(_0x1613ad,_0x13025c,_0x3bbc58);const _0x7d068f=0x12c,_0x480bca=0x64,_0x37ec3d=()=>{let _0x26ad93=[],_0x34b26e=!0x1;return _0x28ed17=>{const _0x3b7a18=_0x112f;_0x26ad93[_0x3b7a18(0x2aa)](_0x28ed17),_0x34b26e||(_0x34b26e=!0x0,setTimeout(()=>{const _0x36fa8c=_0x3b7a18;_0x26ad93[_0x36fa8c(0x122)](_0x2f9b64=>_0x2f9b64()),_0x26ad93=[],_0x34b26e=!0x1;}));};};let _0x12997a=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x399f35,_0x112653,_0x34dde2,_0x5f5660,_0x167532,_0x815253,_0x44a709,_0x1610b5){const _0x1ba7bd=_0x3894d5;super(),_0x552ea8(this,_0x1ba7bd(0x339),!0x1),_0x552ea8(this,'_init',!0x1),_0x552ea8(this,_0x1ba7bd(0x263),new _0x94d9ab[(_0x1ba7bd(0x1ff))](new Map())),_0x552ea8(this,_0x1ba7bd(0x33c),this[_0x1ba7bd(0x263)]['asObservable']()),_0x552ea8(this,'_roomMembers$',new _0x94d9ab[(_0x1ba7bd(0x1ff))]([])),_0x552ea8(this,_0x1ba7bd(0x274),this['_roomMembers$'][_0x1ba7bd(0x1cc)](_0x94d9ab[_0x1ba7bd(0x104)](_0x7d068f))),_0x552ea8(this,_0x1ba7bd(0x25d),_0x1e0609['debounce']((_0x3bc266,_0x1fd0ad)=>{const _0x5598dc=_0x1ba7bd,_0x3a3caa={'eventID':_0xcfb5d3[_0x5598dc(0x189)][_0x5598dc(0x1a3)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x5598dc(0x2b8)](),'selection':_0xf78882['serializeRangeWithSheet'](_0x3bc266,_0x1fd0ad[_0x5598dc(0x15b)])}};this[_0x5598dc(0x1a6)][_0x5598dc(0x342)](_0x3a3caa,this['unitID']);},_0x480bca)),(this[_0x1ba7bd(0x1b3)]=_0x399f35,this[_0x1ba7bd(0x1a6)]=_0x112653,this[_0x1ba7bd(0x32a)]=_0x34dde2,this[_0x1ba7bd(0x219)]=_0x5f5660,this['_memberService']=_0x167532,this[_0x1ba7bd(0x1a9)]=_0x815253,this[_0x1ba7bd(0x34a)]=_0x44a709,this['_refRangeService']=_0x1610b5);}get[_0x3894d5(0x318)](){const _0x494a29=_0x3894d5;return this[_0x494a29(0x263)][_0x494a29(0x24f)]();}get[_0x3894d5(0x1cb)](){const _0x564130=_0x3894d5;return this[_0x564130(0xfc)][_0x564130(0x24f)]();}[_0x3894d5(0x1e1)](){const _0x4cd588=_0x3894d5;super[_0x4cd588(0x1e1)](),this[_0x4cd588(0x263)][_0x4cd588(0x147)](new Map()),this[_0x4cd588(0x263)]['complete'](),this[_0x4cd588(0xfc)][_0x4cd588(0x147)]([]),this[_0x4cd588(0xfc)][_0x4cd588(0x216)]();}[_0x3894d5(0x32f)](){const _0x5dba4d=_0x3894d5;this[_0x5dba4d(0x28f)]||(this[_0x5dba4d(0x28f)]=!0x0,this[_0x5dba4d(0x1a6)][_0x5dba4d(0x20f)]['pipe'](_0x94d9ab[_0x5dba4d(0x252)](this[_0x5dba4d(0x140)]))['subscribe'](_0x209de8=>{const _0x2a1c6b=_0x5dba4d;_0x209de8===_0x2fd730['SessionStatus'][_0x2a1c6b(0x21f)]?this[_0x2a1c6b(0x175)]():this[_0x2a1c6b(0x2c3)]();}),this[_0x5dba4d(0x1a6)][_0x5dba4d(0x357)][_0x5dba4d(0x1cc)](_0x94d9ab[_0x5dba4d(0x252)](this[_0x5dba4d(0x140)]))[_0x5dba4d(0x30e)](_0x22f552=>{const _0x2266e5=_0x5dba4d,_0x2cd3c2=_0x22f552['eventID'];_0x2cd3c2===_0xcfb5d3[_0x2266e5(0x189)][_0x2266e5(0x1a3)]&&this[_0x2266e5(0x373)](_0x22f552),_0x2cd3c2===_0xcfb5d3[_0x2266e5(0x189)][_0x2266e5(0x1e6)]&&this['_onCursorDelete'](_0x22f552);}),this['_onRefRangeChange'](),this[_0x5dba4d(0x22c)](this[_0x5dba4d(0x34a)][_0x5dba4d(0x355)](_0x127fd2=>{const _0x276913=_0x5dba4d;if(this[_0x276913(0x339)]&&_0x127fd2['id']===_0x4b47a4[_0x276913(0x27c)]['id']&&_0x127fd2['params']['unitId']===this[_0x276913(0x1b3)]){const _0x106cf3=_0x127fd2[_0x276913(0x15e)];this[_0x276913(0x25d)](_0x106cf3['subUnitId'],_0x106cf3['selections'][0x0]);}})));}[_0x3894d5(0x373)](_0x1896ca){const _0x14c32a=_0x3894d5;var _0x10cec5,_0x4a0338;const {memberID:_0x510be3,selection:_0x4f996d}=_0x1896ca[_0x14c32a(0x2d8)],{sheetName:_0x49205e,range:_0x2d2e57}=_0xf78882[_0x14c32a(0x347)](_0x4f996d),_0x3c1d65={'name':(_0x4a0338=(_0x10cec5=this[_0x14c32a(0x26a)][_0x14c32a(0x2bf)](this[_0x14c32a(0x1b3)],_0x510be3))==null?void 0x0:_0x10cec5[_0x14c32a(0x188)])!=null?_0x4a0338:_0x14c32a(0x2a0),'range':this['_getMergeRange'](_0x49205e,_0x2d2e57),'sheetID':_0x49205e,'color':this[_0x14c32a(0x219)][_0x14c32a(0x29c)](_0x510be3),'selection':_0x4f996d},_0x21732e=this['cursorInfo'];_0x21732e[_0x14c32a(0x1b9)](_0x510be3,_0x3c1d65),this[_0x14c32a(0x263)][_0x14c32a(0x147)](_0x21732e);}[_0x3894d5(0x2dc)](_0xb7e0c5){const _0x422cf9=_0x3894d5,{memberID:_0x27e369}=_0xb7e0c5['data'],_0x1c8896=this[_0x422cf9(0x318)];_0x1c8896[_0x422cf9(0x2e4)](_0x27e369),this[_0x422cf9(0x263)][_0x422cf9(0x147)](_0x1c8896);}['_getMergeRange'](_0x1253a8,_0x4185a8){const _0x259d2e=_0x3894d5;var _0x17e7ad,_0x402ff2;const _0x58070b=(_0x402ff2=(_0x17e7ad=this[_0x259d2e(0x1a9)]['getUniverSheetInstance'](this[_0x259d2e(0x1b3)]))==null?void 0x0:_0x17e7ad[_0x259d2e(0x225)](_0x1253a8))==null?void 0x0:_0x402ff2[_0x259d2e(0x1e7)]();return(_0x58070b==null?void 0x0:_0x58070b[_0x259d2e(0x23c)](_0x1c1041=>_0x1e0609[_0x259d2e(0x300)][_0x259d2e(0xf7)](_0x1c1041,_0x4185a8)))||_0x4185a8;}['_onRefRangeChange'](){const _0x5c7737=_0x3894d5,_0x5f049c=new _0x1e0609['DisposableCollection'](),_0x5aea58=_0x37ec3d(),_0x2c9152=()=>{const _0x5946dd=_0x112f;_0x5f049c[_0x5946dd(0x1e1)]();const _0x3066de=(_0x5a72d5,_0x55ce2e,_0x2312ac,_0x1098fd)=>{const _0x5e05c8=_0x5946dd;let _0x387204=[];switch(_0x5a72d5['id']){case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x12d)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x153)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x2a8)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x202)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x16d)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x208)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x37c)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x314)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0xf9)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x333)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x1fc)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x2c0)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x238)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x2a6)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4['EffectRefRangId'][_0x5e05c8(0x1ea)]:{_0x387204=_0x4b47a4['handleIRemoveCol'](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)]['RemoveRowCommandId']:{_0x387204=_0x4b47a4['handleIRemoveRow'](_0x5a72d5,_0x1098fd);break;}}const _0x3f54e8=_0x4b47a4[_0x5e05c8(0x113)](_0x387204,_0x1098fd),_0x2efeda=this[_0x5e05c8(0x318)][_0x5e05c8(0x2b6)](_0x55ce2e);if(_0x2efeda&&_0x3f54e8){const _0x244015={..._0x2efeda,'range':_0x3f54e8};this[_0x5e05c8(0x318)][_0x5e05c8(0x1b9)](_0x55ce2e,_0x244015),_0x5aea58(()=>{const _0x299e13=_0x5e05c8,_0x1bd64e=this['_refRangeService']['registerRefRange'](_0x3f54e8,_0x16b26e=>(_0x1bd64e[_0x299e13(0x1e1)](),_0x3066de(_0x16b26e,_0x55ce2e,_0x2312ac,_0x3f54e8)));_0x5f049c[_0x299e13(0x13d)](_0x1bd64e);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5946dd(0x122)]((_0x37fd40,_0x5aa3f0)=>{const _0x2bddc5=_0x5946dd,{range:_0x43ac73,sheetID:_0x1a8f45}=_0x37fd40,_0x19fb36=this[_0x2bddc5(0x21c)][_0x2bddc5(0x2f7)](_0x43ac73,_0x5992a2=>(_0x19fb36[_0x2bddc5(0x1e1)](),_0x3066de(_0x5992a2,_0x5aa3f0,_0x1a8f45,_0x43ac73)));_0x5f049c[_0x2bddc5(0x13d)](_0x19fb36);});};this[_0x5c7737(0x22c)](_0x1e0609['toDisposable'](this[_0x5c7737(0x263)][_0x5c7737(0x30e)](()=>{_0x2c9152();})));}[_0x3894d5(0x175)](){const _0x200bca=_0x3894d5;var _0x34af7f,_0x4732ab;if(this[_0x200bca(0x339)]=!0x0,((_0x34af7f=this[_0x200bca(0x1a9)][_0x200bca(0x233)]())==null?void 0x0:_0x34af7f[_0x200bca(0xe6)]())!==this[_0x200bca(0x1b3)])return;const _0x1876a5=(_0x4732ab=this['_injector']['get'](_0x4b47a4[_0x200bca(0x1dd)])[_0x200bca(0x213)]())==null?void 0x0:_0x4732ab[0x0],_0x51728e=this[_0x200bca(0x1a9)][_0x200bca(0x192)](_0x1e0609['UniverInstanceType'][_0x200bca(0x1c6)])[_0x200bca(0x2fd)]();_0x1876a5&&_0x51728e&&this[_0x200bca(0x25d)](_0x51728e[_0x200bca(0x142)](),_0x1876a5);}[_0x3894d5(0x2c3)](){const _0x26ab5a=_0x3894d5;this[_0x26ab5a(0x339)]=!0x1;}};_0x12997a=_0x10772f([_0x11db61(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x11db61(0x3,_0x1e0609['Inject'](_0x57aed3)),_0x11db61(0x4,_0x1e0609['Inject'](_0x2fd730[_0x3894d5(0x124)])),_0x11db61(0x5,_0x1e0609['IUniverInstanceService']),_0x11db61(0x6,_0x1e0609[_0x3894d5(0x1de)]),_0x11db61(0x7,_0x1e0609['Inject'](_0x4b47a4['RefRangeService']))],_0x12997a);var _0x3730eb=Object['getOwnPropertyDescriptor'],_0x5c1e9b=(_0x361cbb,_0xd6c68a,_0x534855,_0x510e90)=>{const _0x44e506=_0x3894d5;for(var _0x5c82e3=_0x510e90>0x1?void 0x0:_0x510e90?_0x3730eb(_0xd6c68a,_0x534855):_0xd6c68a,_0x4aa1f9=_0x361cbb[_0x44e506(0x18c)]-0x1,_0xd167eb;_0x4aa1f9>=0x0;_0x4aa1f9--)(_0xd167eb=_0x361cbb[_0x4aa1f9])&&(_0x5c82e3=_0xd167eb(_0x5c82e3)||_0x5c82e3);return _0x5c82e3;},_0xa3d3bc=(_0x4a2548,_0x5b3c53)=>(_0x5b3053,_0x5d8c10)=>_0x5b3c53(_0x5b3053,_0x5d8c10,_0x4a2548);let _0x3766ca=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x5182f0,_0x18850a,_0x3e03f6){const _0xfeb5c6=_0x3894d5;super(),_0x552ea8(this,_0xfeb5c6(0x294),new Map()),_0x552ea8(this,'_entityInit$',new _0x94d9ab['Subject']()),(this[_0xfeb5c6(0x1a9)]=_0x5182f0,this[_0xfeb5c6(0x32a)]=_0x18850a,this[_0xfeb5c6(0x24d)]=_0x3e03f6,this['_init']());}['dispose'](){const _0x5b319e=_0x3894d5;super[_0x5b319e(0x1e1)](),this[_0x5b319e(0x1d9)][_0x5b319e(0x216)](),this[_0x5b319e(0x294)][_0x5b319e(0x122)](_0x53ec7a=>_0x53ec7a[_0x5b319e(0x1e1)]());}[_0x3894d5(0x20e)](_0x2cbc13){const _0x2f93e7=_0x3894d5;return this[_0x2f93e7(0x294)][_0x2f93e7(0x27d)](_0x2cbc13)?this[_0x2f93e7(0x294)][_0x2f93e7(0x2b6)](_0x2cbc13)[_0x2f93e7(0x33c)]:this[_0x2f93e7(0x1d9)]['pipe'](_0x94d9ab[_0x2f93e7(0xf0)](_0x28ebdb=>_0x28ebdb[_0x2f93e7(0x1b3)]===_0x2cbc13),_0x94d9ab[_0x2f93e7(0x1f6)](_0x2c54ba=>_0x2c54ba[_0x2f93e7(0x33c)]));}[_0x3894d5(0x28f)](){const _0x4f0046=_0x3894d5;this[_0x4f0046(0x1a9)][_0x4f0046(0x1b7)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x1c6)])['pipe'](_0x94d9ab[_0x4f0046(0x252)](this[_0x4f0046(0x140)]))[_0x4f0046(0x30e)](async _0x4a3ea5=>{const _0x1110bb=_0x4f0046,_0x2675d1=_0x4a3ea5[_0x1110bb(0xe6)](),_0x401254=await this['_startSheetCollabCursor'](_0x2675d1);this['_entityInit$'][_0x1110bb(0x147)](_0x401254),this[_0x1110bb(0x294)][_0x1110bb(0x1b9)](_0x2675d1,_0x401254);}),this[_0x4f0046(0x1a9)][_0x4f0046(0x1b7)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x11f)])[_0x4f0046(0x1cc)](_0x94d9ab[_0x4f0046(0x252)](this['dispose$']))['pipe'](_0x94d9ab[_0x4f0046(0xf0)](_0x42e343=>!_0x42e343[_0x4f0046(0xe6)]()['startsWith']('__')))[_0x4f0046(0x30e)](async _0x1eebfc=>{const _0x41c1f5=_0x4f0046,_0x4056a6=_0x1eebfc[_0x41c1f5(0xe6)](),_0x6be9f0=await this[_0x41c1f5(0x14d)](_0x4056a6);this[_0x41c1f5(0x1d9)][_0x41c1f5(0x147)](_0x6be9f0),this[_0x41c1f5(0x294)][_0x41c1f5(0x1b9)](_0x4056a6,_0x6be9f0);}),_0x94d9ab[_0x4f0046(0x19c)](this['_univerInstanceService'][_0x4f0046(0x277)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x11f)]),this[_0x4f0046(0x1a9)][_0x4f0046(0x277)](_0x1e0609['UniverInstanceType']['UNIVER_SHEET']))[_0x4f0046(0x1cc)](_0x94d9ab[_0x4f0046(0x252)](this[_0x4f0046(0x140)]))['subscribe'](_0x24251d=>{const _0x10a2a5=_0x4f0046,_0x26546c=_0x24251d['getUnitId'](),_0x989868=this[_0x10a2a5(0x294)]['get'](_0x26546c);_0x989868&&(_0x989868[_0x10a2a5(0x1e1)](),this['_entities']['delete'](_0x26546c));});}async['_startSheetCollabCursor'](_0x2c14ff){const _0x22f97e=_0x3894d5,_0x407397=await this[_0x22f97e(0x24d)][_0x22f97e(0x103)](_0x2c14ff),_0xd95f0b=this[_0x22f97e(0x32a)][_0x22f97e(0x16f)](_0x12997a,_0x2c14ff,_0x407397);return _0xd95f0b[_0x22f97e(0x32f)](),_0xd95f0b;}async['_startDocCollabCursor'](_0xaa4fe1){const _0x5db7bd=_0x3894d5,_0x566bb3=await this[_0x5db7bd(0x24d)][_0x5db7bd(0x103)](_0xaa4fe1),_0x581be2=this[_0x5db7bd(0x32a)][_0x5db7bd(0x16f)](_0x4c854f,_0xaa4fe1,_0x566bb3);return _0x581be2[_0x5db7bd(0x32f)](),_0x581be2;}};_0x3766ca=_0x5c1e9b([_0xa3d3bc(0x0,_0x1e0609[_0x3894d5(0x301)]),_0xa3d3bc(0x1,_0x1e0609['Inject'](_0x1e0609['Injector'])),_0xa3d3bc(0x2,_0x1e0609['Inject'](_0x2fd730[_0x3894d5(0x1d2)]))],_0x3766ca);const _0x57f764=0x14,_0x4790ee=0xc8,_0x9e742=0x4,_0xbf4c7d=0x5;function _0x21408a(_0x527f8f,_0x3bb20e){const _0x4bd93c=_0x3894d5;let {radius:_0x4f7268,width:_0x3b54a6,height:_0x53b77e}=_0x3bb20e;_0x4f7268=_0x4f7268!=null?_0x4f7268:0x0,_0x3b54a6=_0x3b54a6!=null?_0x3b54a6:0x1e,_0x53b77e=_0x53b77e!=null?_0x53b77e:0x1e;let _0x580c94=0x0,_0xd4dd77=0x0,_0x26e5b8=0x0;_0x580c94=_0xd4dd77=_0x26e5b8=Math[_0x4bd93c(0x358)](_0x4f7268,_0x3b54a6/0x2,_0x53b77e/0x2),_0x527f8f[_0x4bd93c(0x287)](),_0x527f8f[_0x4bd93c(0x33e)](_0x580c94,0x0),_0x527f8f[_0x4bd93c(0x34f)](_0x3b54a6-_0xd4dd77,0x0),_0x527f8f[_0x4bd93c(0x2c1)](_0x3b54a6-_0xd4dd77,_0xd4dd77,_0xd4dd77,Math['PI']*0x3/0x2,0x0,!0x1),_0x527f8f['lineTo'](_0x3b54a6,_0x53b77e-_0x26e5b8),_0x527f8f['arc'](_0x3b54a6-_0x26e5b8,_0x53b77e-_0x26e5b8,_0x26e5b8,0x0,Math['PI']/0x2,!0x1),_0x527f8f[_0x4bd93c(0x34f)](0x0,_0x53b77e),_0x527f8f[_0x4bd93c(0x34f)](0x0,_0x580c94),_0x527f8f[_0x4bd93c(0x2c1)](_0x580c94,_0x580c94,_0x580c94,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x527f8f[_0x4bd93c(0x2e8)](),_0x3bb20e[_0x4bd93c(0x2e9)]&&(_0x527f8f['save'](),_0x527f8f[_0x4bd93c(0x23a)]=_0x3bb20e[_0x4bd93c(0x2e9)],_0x3bb20e[_0x4bd93c(0x375)]==='evenodd'?_0x527f8f['fill'](_0x4bd93c(0x26b)):_0x527f8f[_0x4bd93c(0x2e9)](),_0x527f8f[_0x4bd93c(0x26e)]());}class _0x14178e extends _0x8660e4[_0x3894d5(0x2bb)]{constructor(_0x5d6326,_0x104c67){const _0x5268e4=_0x3894d5;super(_0x5d6326,_0x104c67),_0x552ea8(this,'color'),_0x552ea8(this,'text'),(this['color']=_0x104c67==null?void 0x0:_0x104c67[_0x5268e4(0x179)],this['text']=_0x104c67==null?void 0x0:_0x104c67['text']);}static['drawWith'](_0x482c58,_0x3f977d){const _0x1b05ab=_0x3894d5,{text:_0x256625,color:_0x2edf6d}=_0x3f977d;_0x482c58['save'](),_0x482c58[_0x1b05ab(0x1ed)]=_0x1b05ab(0xe9);const _0x4a1d2d=_0x482c58[_0x1b05ab(0x2d6)](_0x256625)[_0x1b05ab(0x1e9)],_0x11a657=Math[_0x1b05ab(0x358)](_0x4a1d2d+0x2*_0x9e742,_0x4790ee);_0x21408a(_0x482c58,{'height':_0x57f764,'radius':0x4,'width':_0x11a657,'fill':_0x2edf6d}),_0x482c58[_0x1b05ab(0x23a)]=_0x1b05ab(0x1c0);const _0x26ed4d=_0x9e742,_0x24016e=_0x57f764-_0xbf4c7d,_0x4fd4ee=_0x4790ee-0x2*_0x9e742;if(_0x4a1d2d>_0x4fd4ee){let _0x470b48='',_0x2edf18=0x0;for(const _0x4c405d of _0x256625){const _0x23703e=_0x482c58['measureText'](_0x4c405d)[_0x1b05ab(0x1e9)];if(_0x2edf18+_0x23703e<=_0x4fd4ee-_0x482c58[_0x1b05ab(0x2d6)](_0x1b05ab(0x190))['width'])_0x470b48+=_0x4c405d,_0x2edf18+=_0x23703e;else{_0x470b48+='...';break;}}_0x482c58[_0x1b05ab(0x11c)](_0x470b48,_0x26ed4d,_0x24016e);}else _0x482c58['fillText'](_0x256625,_0x26ed4d,_0x24016e);_0x482c58[_0x1b05ab(0x26e)]();}['_draw'](_0x497bd8){const _0x476f8e=_0x3894d5;_0x14178e[_0x476f8e(0x244)](_0x497bd8,this);}}const _0x518849=_0x3894d5(0x256),_0x4878d3=_0x3894d5(0x374),_0x4148e5=_0x3894d5(0x29e),_0x3b5385=0x6,_0x3a4f7d=1.5,_0x33e095=0x4,_0x4315e2=1.5,_0x31b9a1='rgba(255,\x20255,\x20255,\x200.01)';class _0xcdf02e{constructor(_0x305f61,_0x254ef4,_0x40c5f2,_0x1eab38){const _0x1c21fb=_0x3894d5;_0x552ea8(this,'_shapes',[]),_0x552ea8(this,_0x1c21fb(0x1ce),null),_0x552ea8(this,'_textBubble',null),_0x552ea8(this,_0x1c21fb(0x2ad),null),_0x552ea8(this,_0x1c21fb(0x2af),null),_0x552ea8(this,_0x1c21fb(0x326),null),(this[_0x1c21fb(0x345)]=_0x305f61,this['_scene']=_0x254ef4,this[_0x1c21fb(0xfb)]=_0x40c5f2,this[_0x1c21fb(0x161)]=_0x1eab38,this[_0x1c21fb(0x34e)]());}set[_0x3894d5(0x130)](_0x46262d){const _0x54118a=_0x3894d5;_0x46262d?(this[_0x54118a(0x2ad)]&&this['_anchorDot'][_0x54118a(0x123)](),this[_0x54118a(0x172)]&&this[_0x54118a(0x172)][_0x54118a(0x182)]()):(this[_0x54118a(0x2ad)]&&this[_0x54118a(0x2ad)][_0x54118a(0x182)](),this[_0x54118a(0x172)]&&this[_0x54118a(0x172)][_0x54118a(0x123)]());}[_0x3894d5(0x1e1)](){const _0x25e854=_0x3894d5;for(const _0x579300 of this[_0x25e854(0x29b)])_0x579300[_0x25e854(0x1e1)]();this[_0x25e854(0x172)]&&this[_0x25e854(0x172)][_0x25e854(0x1e1)](),this[_0x25e854(0x2ad)]&&this[_0x25e854(0x2ad)][_0x25e854(0x1e1)](),this[_0x25e854(0x1ce)]&&this['_anchor'][_0x25e854(0x1e1)](),this[_0x25e854(0x326)]&&this['_eventUnsubscribe']();}[_0x3894d5(0x34e)](){const _0x36c319=_0x3894d5;var _0xaf637b;const {_docSkeleton:_0x10b0dc,_document:_0x48d39b}=this,{color:_0xfdec52,name:_0x44aafe,ranges:_0x22ead3}=this[_0x36c319(0x345)],_0x427129=_0x48d39b[_0x36c319(0x1dc)](),{docsLeft:_0x38d4ef,docsTop:_0x3cc063}=_0x427129,_0x1dffb5=new _0x189013[(_0x36c319(0x340))](_0x427129,_0x10b0dc);for(const {startOffset:_0x3a8f6f,endOffset:_0x5a9e87,rangeType:_0x3dd06c,segmentId:_0x2a1871,segmentPage:_0x5e3998,collapsed:_0x2e2af5,isActive:_0xa54e4e}of _0x22ead3){const _0x161438=_0x10b0dc[_0x36c319(0x332)](_0x3a8f6f,!0x0,_0x2a1871,_0x5e3998);let _0x38b119=_0x10b0dc['findNodePositionByCharIndex'](_0x5a9e87,!0x0,_0x2a1871,_0x5e3998);if(_0x38b119==null&&(_0x38b119=_0x10b0dc[_0x36c319(0x332)](_0x5a9e87-0x1,!0x1,_0x2a1871,_0x5e3998)),_0xa54e4e){const {contentBoxPointGroup:_0x3dcb05}=_0x1dffb5[_0x36c319(0x111)](_0x38b119,_0x38b119);if(_0x3dcb05[_0x36c319(0x18c)]===0x0)continue;this[_0x36c319(0x150)](_0xfdec52,_0x3dcb05,_0x38d4ef,_0x3cc063,_0x44aafe),this['_eventUnsubscribe']=this[_0x36c319(0x138)]();}if(_0x161438&&_0x38b119){if(_0x3dd06c===_0x1e0609[_0x36c319(0x298)]['RECT']){const _0x59da9e=new _0x189013[(_0x36c319(0x336))](_0x427129,_0x10b0dc),{pointGroup:_0x141134}=(_0xaf637b=_0x59da9e[_0x36c319(0x111)](_0x161438,_0x38b119))!=null?_0xaf637b:{};if(_0x141134==null||_0x141134['length']===0x0)continue;this[_0x36c319(0x13a)](_0xfdec52,_0x141134,_0x38d4ef,_0x3cc063);}else{if(!_0x2e2af5){const {borderBoxPointGroup:_0x306478}=_0x1dffb5[_0x36c319(0x111)](_0x161438,_0x38b119);if(_0x306478[_0x36c319(0x18c)]===0x0)continue;this[_0x36c319(0x14a)](_0xfdec52,_0x306478,_0x38d4ef,_0x3cc063);}}}}}[_0x3894d5(0x150)](_0x367790,_0x33c0b0,_0x404955,_0x458a8a,_0x38c11d){const _0x2b50c3=_0x3894d5,_0x4dc682=this['_getAnchorBounding'](_0x33c0b0),{left:_0x19a819,top:_0x1b1e7f,height:_0x1a8532}=_0x4dc682,_0x39e01d=this['_getScale'](),_0x1a7b58=_0x4315e2/_0x39e01d,_0x19808f=new _0x8660e4[(_0x2b50c3(0x36c))](_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a,'height':_0x1a8532,'width':_0x3a4f7d,'fill':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609[_0x2b50c3(0x1cd)][_0x2b50c3(0x361)],0x0),'strokeWidth':_0x1a7b58,'stroke':_0x31b9a1,'evented':!0x0});this[_0x2b50c3(0x1ce)]=_0x19808f,this[_0x2b50c3(0x273)][_0x2b50c3(0x20c)](_0x19808f,_0x189013[_0x2b50c3(0x17c)]);const _0x904760=new _0x8660e4[(_0x2b50c3(0x36c))](_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a-_0x33e095/0x2,'height':_0x33e095,'width':_0x33e095,'fill':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609[_0x2b50c3(0x1cd)][_0x2b50c3(0x361)],0x0),'strokeWidth':0x0,'stroke':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609['COLORS']['black'],0x0),'evented':!0x1});this[_0x2b50c3(0x2ad)]=_0x904760,this['_scene'][_0x2b50c3(0x20c)](_0x904760,_0x189013['TEXT_RANGE_LAYER_INDEX']);const _0x404523=new _0x14178e(_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a-_0x57f764,'text':_0x38c11d,'color':_0x367790});this[_0x2b50c3(0x172)]=_0x404523,this[_0x2b50c3(0x273)][_0x2b50c3(0x20c)](_0x404523,_0x189013[_0x2b50c3(0x17c)]),this[_0x2b50c3(0x130)]=!0x1;}[_0x3894d5(0x138)](){const _0x480a6a=_0x3894d5,_0x55fba1=this[_0x480a6a(0x1ce)][_0x480a6a(0x2a4)][_0x480a6a(0x11a)](()=>{const _0x26016e=_0x480a6a;this[_0x26016e(0x130)]=!0x0;}),_0x23e666=this['_anchor'][_0x480a6a(0x19e)][_0x480a6a(0x11a)](()=>{const _0x21a83c=_0x480a6a;this[_0x21a83c(0x2af)]&&clearTimeout(this[_0x21a83c(0x2af)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2e2e2b=_0x480a6a;_0x55fba1[_0x2e2e2b(0x2e0)](),_0x23e666[_0x2e2e2b(0x2e0)]();};}[_0x3894d5(0x14a)](_0xdaeff7,_0x4fc6e7,_0x213378,_0x13a895){const _0x26c3e4=_0x3894d5,_0xf1a500=new _0x1e0609[(_0x26c3e4(0x217))](_0xdaeff7)[_0x26c3e4(0x1a1)](0.2)[_0x26c3e4(0x2ef)](),_0x3d7742=new _0x8660e4[(_0x26c3e4(0x164))](_0x4878d3+_0x1e0609[_0x26c3e4(0x33b)]['generateRandomId'](_0x3b5385),{'pointsGroup':_0x4fc6e7,'fill':_0xf1a500||_0x8660e4[_0x26c3e4(0x35a)](_0x1e0609[_0x26c3e4(0x1cd)][_0x26c3e4(0x361)],0.2),'left':_0x213378,'top':_0x13a895,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26c3e4(0x29b)][_0x26c3e4(0x2aa)](_0x3d7742),this[_0x26c3e4(0x273)][_0x26c3e4(0x20c)](_0x3d7742,_0x189013[_0x26c3e4(0x17c)]);}['_drawRectRange'](_0x5d5c47,_0x57ed33,_0x42a012,_0x234920){const _0x5bbe1c=_0x3894d5,_0x2fc69f=new _0x1e0609[(_0x5bbe1c(0x217))](_0x5d5c47)[_0x5bbe1c(0x1a1)](0.2)[_0x5bbe1c(0x2ef)](),_0x58f811=new _0x8660e4[(_0x5bbe1c(0x164))](_0x4148e5+_0x1e0609[_0x5bbe1c(0x33b)]['generateRandomId'](_0x3b5385),{'pointsGroup':_0x57ed33,'fill':_0x2fc69f||_0x8660e4[_0x5bbe1c(0x35a)](_0x1e0609['COLORS'][_0x5bbe1c(0x361)],0.2),'left':_0x42a012,'top':_0x234920,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bbe1c(0x29b)]['push'](_0x58f811),this[_0x5bbe1c(0x273)][_0x5bbe1c(0x20c)](_0x58f811,_0x189013[_0x5bbe1c(0x17c)]);}[_0x3894d5(0x33f)](_0x423e7e){const _0x26e2c4=_0x423e7e[0x0],_0x325fdc=_0x26e2c4[0x0],_0x103a91=_0x26e2c4[0x2],{x:_0x10b817,y:_0x883722}=_0x325fdc,{x:_0x1755b5,y:_0x171e1f}=_0x103a91;return{'left':_0x10b817,'top':_0x883722,'width':_0x1755b5-_0x10b817,'height':_0x171e1f-_0x883722};}['_getScale'](){const _0x416694=_0x3894d5,{scaleX:_0x1e2946,scaleY:_0x5c768f}=this[_0x416694(0x273)][_0x416694(0x1fe)]();return Math[_0x416694(0x2c8)](_0x1e2946,_0x5c768f);}}var _0xe6f1b6=Object[_0x3894d5(0x23b)],_0x52b942=(_0x45a0c5,_0xc712f7,_0x273c26,_0x88bcb)=>{const _0x1c8f63=_0x3894d5;for(var _0xae52d4=_0x88bcb>0x1?void 0x0:_0x88bcb?_0xe6f1b6(_0xc712f7,_0x273c26):_0xc712f7,_0x235508=_0x45a0c5[_0x1c8f63(0x18c)]-0x1,_0x2d1d08;_0x235508>=0x0;_0x235508--)(_0x2d1d08=_0x45a0c5[_0x235508])&&(_0xae52d4=_0x2d1d08(_0xae52d4)||_0xae52d4);return _0xae52d4;},_0x4c402e=(_0x533bfd,_0x2f450b)=>(_0x5b3b40,_0x21eb31)=>_0x2f450b(_0x5b3b40,_0x21eb31,_0x533bfd);let _0x30bcfd=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x35b2b1,_0x339f64,_0x701c12,_0x366480,_0x4a0449){const _0x3a50b7=_0x3894d5;super(),_0x552ea8(this,'_cursorShapes',[]),_0x552ea8(this,_0x3a50b7(0x13c),[]),(this['_context']=_0x35b2b1,this[_0x3a50b7(0x27e)]=_0x339f64,this['_collabCursorController']=_0x701c12,this[_0x3a50b7(0x34a)]=_0x366480,this['_themeService']=_0x4a0449,this[_0x3a50b7(0x28f)]());}[_0x3894d5(0x28f)](){const _0xd46ad6=_0x3894d5,_0x3a787e=this['_context'][_0xd46ad6(0x15c)],_0x5d69e1=this[_0xd46ad6(0x27e)];this['disposeWithMe'](_0x94d9ab[_0xd46ad6(0x36d)]([this[_0xd46ad6(0x304)][_0xd46ad6(0x20e)](_0x3a787e),this[_0xd46ad6(0x151)]['currentTheme$']])[_0xd46ad6(0x1cc)](_0xecbc95[_0xd46ad6(0x1e4)](([_0x2c5987,_0x404881])=>({'skeleton':_0x5d69e1[_0xd46ad6(0x32d)](),'cursors':[..._0x2c5987[_0xd46ad6(0x28c)]()]['flatMap'](_0x5dc980=>({..._0x5dc980,'color':_0x404881[_0x5dc980[_0xd46ad6(0x179)]]}))})))[_0xd46ad6(0x30e)](_0xc3e798=>{const _0x2d6648=_0xd46ad6;if(this[_0x2d6648(0x223)](),_0xc3e798){const {skeleton:_0x4eb0f0,cursors:_0x5c6dd2}=_0xc3e798;this[_0x2d6648(0x377)](_0x4eb0f0,_0x5c6dd2);}})),this[_0xd46ad6(0xea)](),this['_initCommandExecutedListener']();}[_0x3894d5(0x377)](_0x4c4d74,_0x2a4d30){const _0x1cc825=_0x3894d5,{scene:_0x22cfad,mainComponent:_0x4999e1}=this[_0x1cc825(0x194)],_0x239beb=_0x2a4d30[_0x1cc825(0x1e4)](_0x45803a=>new _0xcdf02e(_0x45803a,_0x22cfad,_0x4c4d74,_0x4999e1));this['_cursorShapes']=_0x239beb,this[_0x1cc825(0x13c)]=_0x2a4d30;}['_refreshCollabCursors'](){const _0x740fd=_0x3894d5;this[_0x740fd(0x223)]();const {scene:_0x10877b,mainComponent:_0x4619f6}=this[_0x740fd(0x194)],_0x388c18=this[_0x740fd(0x27e)][_0x740fd(0x32d)](),_0x5501ac=this[_0x740fd(0x13c)][_0x740fd(0x1e4)](_0x295e95=>new _0xcdf02e(_0x295e95,_0x10877b,_0x388c18,_0x4619f6));this['_cursorShapes']=_0x5501ac;}['_removeCollabCursors'](){const _0x3b050e=_0x3894d5;this[_0x3b050e(0x367)][_0x3b050e(0x122)](_0x4ec894=>_0x4ec894[_0x3b050e(0x1e1)]()),this['_cursorShapes']=[];}[_0x3894d5(0x230)](){const _0x5d3c2d=_0x3894d5,_0x2b407b=[_0x189013['SetDocZoomRatioOperation']['id']];this[_0x5d3c2d(0x22c)](this['_commandService'][_0x5d3c2d(0x355)](_0xd85aa3=>{const _0x384e88=_0x5d3c2d;_0x2b407b[_0x384e88(0x319)](_0xd85aa3['id'])&&_0xd85aa3[_0x384e88(0x15e)][_0x384e88(0x15c)]===this['_context'][_0x384e88(0x15c)]&&this['_refreshCollabCursors']();}));}[_0x3894d5(0xea)](){const _0x1ca57b=_0x3894d5;this[_0x1ca57b(0x22c)](_0x1e0609['fromEventSubject'](this[_0x1ca57b(0x194)][_0x1ca57b(0x1b0)]['onTransformChange$'])[_0x1ca57b(0x1cc)](_0xecbc95['filter'](_0x51d010=>_0x51d010[_0x1ca57b(0x31a)]===_0x8660e4[_0x1ca57b(0x30c)][_0x1ca57b(0x293)]),_0xecbc95['throttleTime'](0x10))[_0x1ca57b(0x30e)](()=>{const _0x2582ee=_0x1ca57b;this[_0x2582ee(0x210)]();}));}};_0x30bcfd=_0x52b942([_0x4c402e(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1aadfd[_0x3894d5(0x1ae)])),_0x4c402e(0x2,_0x1e0609['Inject'](_0x3766ca)),_0x4c402e(0x3,_0x1e0609[_0x3894d5(0x1de)]),_0x4c402e(0x4,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x166)]))],_0x30bcfd);const _0x14bcd3=0x1,_0x3bd920=1.5;class _0xd0ee36 extends _0x8660e4['Shape']{constructor(_0x49d26f,_0x1f1998){const _0x1bdc5a=_0x3894d5;super(_0x49d26f,_0x1f1998),_0x552ea8(this,_0x1bdc5a(0x266)),_0x552ea8(this,_0x1bdc5a(0x270),!0x1),_0x552ea8(this,'_range'),_0x552ea8(this,_0x1bdc5a(0x267),''),_0x552ea8(this,_0x1bdc5a(0x1df),'top'),_0x552ea8(this,_0x1bdc5a(0x2ee)),(_0x1f1998&&this['setShapeProps'](_0x1f1998),this[_0x1bdc5a(0x2a4)][_0x1bdc5a(0x11a)](()=>this[_0x1bdc5a(0x114)]({'hovered':!0x0})),this[_0x1bdc5a(0x19e)][_0x1bdc5a(0x11a)](()=>this[_0x1bdc5a(0x114)]({'hovered':!0x1})));}[_0x3894d5(0x114)](_0x3c7444){const _0x2ddad2=_0x3894d5;var _0x3847bd,_0x484d87,_0x518cf3,_0x56ff24,_0x1a0a38,_0xccbc87;this[_0x2ddad2(0x266)]=(_0x3847bd=_0x3c7444[_0x2ddad2(0x179)])!=null?_0x3847bd:this[_0x2ddad2(0x266)],this['_hovered']=(_0x484d87=_0x3c7444[_0x2ddad2(0xf2)])!=null?_0x484d87:this['_hovered'],this[_0x2ddad2(0x2c2)]=(_0x518cf3=_0x3c7444['range'])!=null?_0x518cf3:this[_0x2ddad2(0x2c2)],this[_0x2ddad2(0x267)]=(_0x56ff24=_0x3c7444[_0x2ddad2(0x188)])!=null?_0x56ff24:this[_0x2ddad2(0x267)],this[_0x2ddad2(0x1df)]=(_0x1a0a38=_0x3c7444[_0x2ddad2(0x226)])!=null?_0x1a0a38:this['_labelPosition'],this[_0x2ddad2(0x2ee)]=(_0xccbc87=_0x3c7444['backgroundColor'])!=null?_0xccbc87:this[_0x2ddad2(0x2ee)],this[_0x2ddad2(0x234)]({'width':_0x3c7444[_0x2ddad2(0x1e9)],'height':_0x3c7444['height']});}[_0x3894d5(0x346)](_0x1d8d57){const _0x24658a=_0x3894d5,{row:_0x473dbb,column:_0x2717c1}=_0x1d8d57;if(_0x473dbb>=this['_range']['startRow']&&_0x473dbb<=this['_range'][_0x24658a(0x149)]&&_0x2717c1>=this[_0x24658a(0x2c2)]['startColumn']&&_0x2717c1<=this[_0x24658a(0x2c2)]['endColumn']){this[_0x24658a(0x114)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2de287){return!0x1;}[_0x3894d5(0x2e1)](_0xc58c9a){const _0x7a114f=_0x3894d5;_0x8660e4[_0x7a114f(0x36c)][_0x7a114f(0x244)](_0xc58c9a,{'width':this[_0x7a114f(0x1e9)],'height':this[_0x7a114f(0x302)],'strokeWidth':_0x3bd920,'stroke':this[_0x7a114f(0x266)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0xc58c9a[_0x7a114f(0x317)](),_0xc58c9a['transform'](0x1,0x0,0x0,0x1,this[_0x7a114f(0x1e9)],this[_0x7a114f(0x1df)]===_0x7a114f(0x29f)?0x0:-0x14),_0x14178e[_0x7a114f(0x244)](_0xc58c9a,{'text':this['_name'],'color':this[_0x7a114f(0x266)]}),_0xc58c9a[_0x7a114f(0x26e)]());}}var _0x22969f=Object[_0x3894d5(0x23b)],_0x4db5ff=(_0x5e1c31,_0x4aa8a,_0x62ab60,_0x1c8ca7)=>{const _0x25368d=_0x3894d5;for(var _0x1d4ca6=_0x1c8ca7>0x1?void 0x0:_0x1c8ca7?_0x22969f(_0x4aa8a,_0x62ab60):_0x4aa8a,_0xa982c2=_0x5e1c31[_0x25368d(0x18c)]-0x1,_0x27908a;_0xa982c2>=0x0;_0xa982c2--)(_0x27908a=_0x5e1c31[_0xa982c2])&&(_0x1d4ca6=_0x27908a(_0x1d4ca6)||_0x1d4ca6);return _0x1d4ca6;},_0x36744a=(_0x9695e1,_0x343ab9)=>(_0x1eab69,_0x4ac439)=>_0x343ab9(_0x1eab69,_0x4ac439,_0x9695e1);const _0x52eedf=0x1389;let _0x41413e=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x435c51,_0x38f829,_0x3a918a,_0x22ab32){const _0x2dd7fb=_0x3894d5;super(),_0x552ea8(this,_0x2dd7fb(0x13c),new Set()),_0x552ea8(this,_0x2dd7fb(0x1f8),null),(this[_0x2dd7fb(0x194)]=_0x435c51,this['_sheetSkeletonManagerService']=_0x38f829,this['_collabCursorController']=_0x3a918a,this[_0x2dd7fb(0x151)]=_0x22ab32,this['_init']());}[_0x3894d5(0x28f)](){const _0x165aa1=_0x3894d5;this[_0x165aa1(0x14f)][_0x165aa1(0x35d)]['pipe'](_0xecbc95[_0x165aa1(0x252)](this[_0x165aa1(0x140)]),_0xecbc95[_0x165aa1(0x1f6)](_0x3c5866=>{const _0xc7ef81=_0x165aa1;if(_0x3c5866){const _0x29ac2e=_0x3c5866['sheetId'];return _0x94d9ab[_0xc7ef81(0x36d)](this[_0xc7ef81(0x304)][_0xc7ef81(0x20e)](this[_0xc7ef81(0x194)]['unitId']),this['_themeService'][_0xc7ef81(0x2bc)])[_0xc7ef81(0x1cc)](_0xecbc95[_0xc7ef81(0x1e4)](([_0x27fe63,_0x3065e1])=>{const _0x13cc5f=_0xc7ef81,_0x1e8201=new Map();return _0x27fe63[_0x13cc5f(0x122)]((_0x5ccf4a,_0xf3a930)=>{const _0x445727=_0x13cc5f;if(_0x5ccf4a[_0x445727(0x206)]===_0x29ac2e){const _0x192362={..._0x5ccf4a};_0x192362[_0x445727(0x179)]=_0x3065e1[_0x5ccf4a[_0x445727(0x179)]],_0x1e8201[_0x445727(0x1b9)](_0xf3a930,_0x192362);}}),{'skeleton':_0x3c5866,'cursors':_0x1e8201};}));}return _0x94d9ab['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x426457,cursors:_0x2258dd})=>{const _0x1375fc=_0x165aa1;this[_0x1375fc(0x223)](),_0x426457&&this[_0x1375fc(0x377)](_0x426457,_0x2258dd);}),this[_0x165aa1(0x14f)][_0x165aa1(0x35d)][_0x165aa1(0x30e)](_0x2012c4=>{const _0x5ef557=_0x165aa1;if(_0x2012c4==null)return;const {skeleton:_0x4d36bf}=_0x2012c4,{scene:_0x2efed1}=this[_0x5ef557(0x194)];_0x2efed1[_0x5ef557(0x281)][_0x5ef557(0x11a)](_0x1e0609[_0x5ef557(0x212)](_0x40c6b7=>{const _0x30cb62=_0x5ef557;var _0x3f5a67,_0x20bfc8;const {offsetX:_0x351bfd,offsetY:_0x21499a}=_0x40c6b7,{x:_0x173dc5,y:_0x2c02b9}=_0x2efed1['getRelativeToViewportCoord'](_0x8660e4[_0x30cb62(0x159)][_0x30cb62(0x18a)]([_0x351bfd,_0x21499a])),{scaleX:_0x5e890a,scaleY:_0x1b5913}=_0x2efed1[_0x30cb62(0x1fe)](),_0x61313b=_0x2efed1[_0x30cb62(0x22a)](_0x8660e4[_0x30cb62(0x1b1)][_0x30cb62(0x116)]),_0x3bcb55=_0x2efed1[_0x30cb62(0x2d2)](_0x8660e4[_0x30cb62(0x159)][_0x30cb62(0x18a)]([_0x173dc5,_0x2c02b9]),_0x61313b),_0x2280c4=_0x4d36bf[_0x30cb62(0x1a7)](_0x351bfd,_0x21499a,_0x5e890a,_0x1b5913,_0x3bcb55);((_0x3f5a67=this[_0x30cb62(0x1f8)])==null?void 0x0:_0x3f5a67[_0x30cb62(0x221)])===_0x2280c4[_0x30cb62(0x221)]&&((_0x20bfc8=this[_0x30cb62(0x1f8)])==null?void 0x0:_0x20bfc8[_0x30cb62(0x15f)])===_0x2280c4[_0x30cb62(0x15f)]||this[_0x30cb62(0x13c)][_0x30cb62(0x122)](_0x1804e0=>{_0x1804e0['onMouseMove'](_0x2280c4);});},0x64));});}[_0x3894d5(0x377)](_0x387d24,_0x3ddb1e){const _0x41e9b7=_0x3894d5;var _0x354010;const _0x314585=(_0x354010=this[_0x41e9b7(0x14f)][_0x41e9b7(0x242)]())==null?void 0x0:_0x354010['skeleton'];if(!_0x314585)return;const _0x50cb9e=this[_0x41e9b7(0xec)]();if(!_0x50cb9e)return;this[_0x41e9b7(0x13c)][_0x41e9b7(0x122)](_0x18aec4=>{const _0xc4e412=_0x41e9b7;_0x18aec4[_0xc4e412(0x32e)]();});const {scene:_0x1d8d76}=_0x50cb9e,_0x1eda89=_0x5bfed8(Array[_0x41e9b7(0x329)](_0x3ddb1e['values']()))[_0x41e9b7(0x1e4)](_0x2f74b8=>{const _0x426852=_0x41e9b7,{color:_0x3f4f99,range:_0x22b16d,name:_0xfba25d,selection:_0x208f8e,sheetID:_0x5478b3}=_0x2f74b8,{startColumn:_0x3af748,startRow:_0x311335,endColumn:_0x3d823a,endRow:_0x1a0186}=_0x22b16d,_0x1b2527=_0x5b5571[_0x426852(0x15a)](_0x311335,_0x3af748,_0x1d8d76,_0x314585),_0x2337c1=_0x5b5571[_0x426852(0x15a)](_0x1a0186,_0x3d823a,_0x1d8d76,_0x314585),{columnHeaderHeightAndMarginTop:_0x1fd7c5}=_0x314585,{startX:_0x2f1fb1,startY:_0x3cd300}=_0x1b2527,{endX:_0x2bdfb7,endY:_0x2abcbd}=_0x2337c1,_0x405f11=_0x2bdfb7-_0x2f1fb1,_0x315c72=_0x2abcbd-_0x3cd300,_0x547897={'labelPosition':_0x3cd300-_0x1fd7c5>=_0x57f764?_0x426852(0x2f2):_0x426852(0x29f),'sheetID':_0x5478b3,'range':_0x22b16d,'color':_0x3f4f99,'name':_0xfba25d,'selection':_0x208f8e,'left':_0x2f1fb1,'top':_0x3cd300,'width':_0x405f11,'height':_0x315c72,'evented':!0x1,'zIndex':_0x52eedf};return new _0xd0ee36(_0xfba25d,_0x547897);});_0x1d8d76[_0x41e9b7(0x254)](_0x1eda89,_0x14bcd3),this['_cursors']=new Set(_0x1eda89);}[_0x3894d5(0x223)](){const _0x3091d8=_0x3894d5;var _0x44bfe5;(_0x44bfe5=this[_0x3091d8(0x13c)])==null||_0x44bfe5['forEach'](_0xc5d717=>_0xc5d717[_0x3091d8(0x1e1)]());}[_0x3894d5(0xec)](){const _0x34ce6f=_0x3894d5;return _0x5b5571[_0x34ce6f(0x12b)](this['_context']['unit'],this[_0x34ce6f(0x194)]);}};_0x41413e=_0x4db5ff([_0x36744a(0x1,_0x1e0609[_0x3894d5(0x176)](_0x5b5571[_0x3894d5(0x2a9)])),_0x36744a(0x2,_0x1e0609[_0x3894d5(0x176)](_0x3766ca)),_0x36744a(0x3,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x166)]))],_0x41413e);function _0x5bfed8(_0x4b9705){const _0x5050c9=_0x3894d5,_0x5368df=new Map();return _0x4b9705['forEach'](_0x1d88c4=>{const _0x38f830=_0x112f;if(_0x5368df['has'](_0x1d88c4[_0x38f830(0x227)])){const _0x43bffa=_0x5368df[_0x38f830(0x2b6)](_0x1d88c4['selection']);_0x43bffa['name']+=',\x20'+_0x1d88c4[_0x38f830(0x188)];}else _0x5368df['set'](_0x1d88c4[_0x38f830(0x227)],_0x1d88c4);}),Array[_0x5050c9(0x329)](_0x5368df[_0x5050c9(0x28c)]());}var _0x44b173=function(){const _0x36e69e=_0x3894d5;return _0x44b173=Object[_0x36e69e(0xeb)]||function(_0x525d11){const _0x39b0f3=_0x36e69e;for(var _0x354b36,_0x241075=0x1,_0x3e1d9c=arguments[_0x39b0f3(0x18c)];_0x241075<_0x3e1d9c;_0x241075++){_0x354b36=arguments[_0x241075];for(var _0x367689 in _0x354b36)Object[_0x39b0f3(0x132)]['hasOwnProperty'][_0x39b0f3(0x133)](_0x354b36,_0x367689)&&(_0x525d11[_0x367689]=_0x354b36[_0x367689]);}return _0x525d11;},_0x44b173[_0x36e69e(0x1e0)](this,arguments);},_0x43db54=function(_0x57485b,_0x395e59){const _0x429f19=_0x3894d5;var _0x34fcb9={};for(var _0xe1dd05 in _0x57485b)Object[_0x429f19(0x132)][_0x429f19(0x31f)][_0x429f19(0x133)](_0x57485b,_0xe1dd05)&&_0x395e59[_0x429f19(0x30b)](_0xe1dd05)<0x0&&(_0x34fcb9[_0xe1dd05]=_0x57485b[_0xe1dd05]);if(_0x57485b!=null&&typeof Object[_0x429f19(0x1f4)]=='function'){for(var _0x2e7d9a=0x0,_0xe1dd05=Object[_0x429f19(0x1f4)](_0x57485b);_0x2e7d9a<_0xe1dd05[_0x429f19(0x18c)];_0x2e7d9a++)_0x395e59[_0x429f19(0x30b)](_0xe1dd05[_0x2e7d9a])<0x0&&Object[_0x429f19(0x132)][_0x429f19(0x2ec)][_0x429f19(0x133)](_0x57485b,_0xe1dd05[_0x2e7d9a])&&(_0x34fcb9[_0xe1dd05[_0x2e7d9a]]=_0x57485b[_0xe1dd05[_0x2e7d9a]]);}return _0x34fcb9;},_0x57cf35=_0x283846[_0x3894d5(0x1da)](function(_0x1a35fb,_0x19c48e){const _0x5415e5=_0x3894d5;var _0x4b5204=_0x1a35fb['icon'],_0xe6457=_0x1a35fb['id'],_0x73a093=_0x1a35fb[_0x5415e5(0x1d7)],_0x2e15de=_0x1a35fb[_0x5415e5(0x255)],_0x28dbb7=_0x43db54(_0x1a35fb,['icon','id','className',_0x5415e5(0x255)]),_0x2378da='univerjs-icon\x20univerjs-icon-'[_0x5415e5(0xfd)](_0xe6457,'\x20')[_0x5415e5(0xfd)](_0x73a093||'')[_0x5415e5(0x348)](),_0x1ab020=_0x283846[_0x5415e5(0x148)]('_'[_0x5415e5(0xfd)](_0x337959()));return _0x16510f(_0x4b5204,''['concat'](_0xe6457),{'defIds':_0x4b5204[_0x5415e5(0x199)],'idSuffix':_0x1ab020[_0x5415e5(0x1f9)]},_0x44b173({'ref':_0x19c48e,'className':_0x2378da},_0x28dbb7),_0x2e15de);});function _0x16510f(_0x3f3429,_0x423697,_0x8c8e59,_0x37012f,_0x21e7d9){const _0x478dd1=_0x3894d5;return _0x283846[_0x478dd1(0x368)](_0x3f3429[_0x478dd1(0x13f)],_0x44b173(_0x44b173({'key':_0x423697},_0x47fd95(_0x3f3429,_0x8c8e59,_0x21e7d9)),_0x37012f),(_0x7678e5(_0x3f3429,_0x8c8e59)['children']||[])[_0x478dd1(0x1e4)](function(_0x1e8d14,_0x396db7){const _0x2b8f16=_0x478dd1;return _0x16510f(_0x1e8d14,''['concat'](_0x423697,'-')[_0x2b8f16(0xfd)](_0x3f3429[_0x2b8f16(0x13f)],'-')['concat'](_0x396db7),_0x8c8e59,void 0x0,_0x21e7d9);}));}function _0x47fd95(_0x3472cf,_0x1bb2e8,_0x4c344a){const _0x49f870=_0x3894d5;var _0x5dcfce=_0x44b173({},_0x3472cf['attrs']);_0x4c344a!=null&&_0x4c344a[_0x49f870(0x235)]&&_0x5dcfce['fill']===_0x49f870(0x235)&&(_0x5dcfce[_0x49f870(0x2e9)]=_0x4c344a[_0x49f870(0x235)]),_0x3472cf[_0x49f870(0x13f)]===_0x49f870(0x239)&&_0x5dcfce['id']&&(_0x5dcfce['id']=_0x5dcfce['id']+_0x1bb2e8[_0x49f870(0x285)]),Object[_0x49f870(0x24e)](_0x5dcfce)[_0x49f870(0x122)](function(_0x4f6167){const _0x1131f8=_0x49f870;var _0x381a23=_0x4f6167[0x0],_0x1e9a2f=_0x4f6167[0x1];_0x381a23===_0x1131f8(0x239)&&typeof _0x1e9a2f==_0x1131f8(0x2f3)&&(_0x5dcfce[_0x381a23]=_0x1e9a2f[_0x1131f8(0x35e)](/url\(#(.*)\)/,_0x1131f8(0x271)['concat'](_0x1bb2e8[_0x1131f8(0x285)],')')));});var _0x5c876e=_0x1bb2e8[_0x49f870(0x199)];return!_0x5c876e||_0x5c876e[_0x49f870(0x18c)]===0x0||(_0x3472cf[_0x49f870(0x13f)]===_0x49f870(0x2ca)&&_0x5dcfce['xlink:href']&&(_0x5dcfce[_0x49f870(0x135)]=_0x5dcfce['xlink:href']+_0x1bb2e8[_0x49f870(0x285)]),Object['entries'](_0x5dcfce)[_0x49f870(0x122)](function(_0xd86c01){const _0x5cdea2=_0x49f870;var _0x335cdb=_0xd86c01[0x0],_0x3e95fb=_0xd86c01[0x1];typeof _0x3e95fb==_0x5cdea2(0x2f3)&&(_0x5dcfce[_0x335cdb]=_0x3e95fb[_0x5cdea2(0x35e)](/url\(#(.*)\)/,_0x5cdea2(0x271)['concat'](_0x1bb2e8[_0x5cdea2(0x285)],')')));})),_0x5dcfce;}function _0x7678e5(_0x30ae28,_0x11c52b){const _0x1522d2=_0x3894d5;var _0x4cf4e5,_0x2c369a=_0x11c52b[_0x1522d2(0x199)];return!_0x2c369a||_0x2c369a[_0x1522d2(0x18c)]===0x0?_0x30ae28:_0x30ae28[_0x1522d2(0x13f)]===_0x1522d2(0x198)&&(!((_0x4cf4e5=_0x30ae28[_0x1522d2(0x34c)])===null||_0x4cf4e5===void 0x0)&&_0x4cf4e5[_0x1522d2(0x18c)])?_0x44b173(_0x44b173({},_0x30ae28),{'children':_0x30ae28['children'][_0x1522d2(0x1e4)](function(_0x11caef){const _0x55f032=_0x1522d2;return typeof _0x11caef[_0x55f032(0x1b6)]['id']=='string'&&_0x2c369a&&_0x2c369a['indexOf'](_0x11caef[_0x55f032(0x1b6)]['id'])>-0x1?_0x44b173(_0x44b173({},_0x11caef),{'attrs':_0x44b173(_0x44b173({},_0x11caef[_0x55f032(0x1b6)]),{'id':_0x11caef[_0x55f032(0x1b6)]['id']+_0x11c52b[_0x55f032(0x285)]})}):_0x11caef;})}):_0x30ae28;}function _0x337959(){const _0xf7d4ef=_0x3894d5;return Math['random']()['toString'](0x24)[_0xf7d4ef(0x279)](0x2,0x8);}_0x57cf35[_0x3894d5(0x2b0)]=_0x3894d5(0x1a2);var _0x1f2323={'tag':'svg','attrs':{'fill':_0x3894d5(0x17e),'viewBox':_0x3894d5(0x137),'width':_0x3894d5(0x102),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x3894d5(0x1ca),'d':_0x3894d5(0x29a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3894d5(0x198),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3894d5(0x28d)},'children':[{'tag':_0x3894d5(0x16e),'attrs':{'fill':_0x3894d5(0x160),'d':_0x3894d5(0x1b8)}}]}]}],'defIds':[_0x3894d5(0x28d)]},_0x33a1f8=_0x283846[_0x3894d5(0x1da)](function(_0x2b7fc5,_0x2332bc){const _0x5ed291=_0x3894d5;return _0x283846['createElement'](_0x57cf35,Object[_0x5ed291(0xeb)]({},_0x2b7fc5,{'id':'off-line-single','ref':_0x2332bc,'icon':_0x1f2323}));});_0x33a1f8['displayName']='OffLineSingle';var _0x6b7ed3={'tag':_0x3894d5(0x36a),'attrs':{'fill':'none','viewBox':_0x3894d5(0x36e),'width':_0x3894d5(0x102),'height':_0x3894d5(0x102)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3894d5(0x16e),'attrs':{'stroke':_0x3894d5(0x1ca),'d':_0x3894d5(0x24c),'strokeLinecap':_0x3894d5(0x1fd),'strokeLinejoin':_0x3894d5(0x1fd),'strokeWidth':1.2}}]},{'tag':_0x3894d5(0x198),'attrs':{},'children':[{'tag':_0x3894d5(0x152),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3894d5(0x160),'d':_0x3894d5(0x1b8),'transform':_0x3894d5(0x26f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1eb8de=_0x283846['forwardRef'](function(_0x4b5b55,_0x17733a){const _0x46b2c9=_0x3894d5;return _0x283846['createElement'](_0x57cf35,Object[_0x46b2c9(0xeb)]({},_0x4b5b55,{'id':'on-line-single','ref':_0x17733a,'icon':_0x6b7ed3}));});_0x1eb8de[_0x3894d5(0x2b0)]=_0x3894d5(0x338);const _0x371087={'onlineStatusIcon':_0x3894d5(0x1c9),'onlineStatusTitle':_0x3894d5(0x280),'onlineStatus':_0x3894d5(0x269),'online':_0x3894d5(0x232),'offline':_0x3894d5(0x126)};function _0x4a96f6(_0x4de315){const _0x4fd31f=_0x3894d5;switch(_0x4de315){case _0x2fd730[_0x4fd31f(0x240)]['OFFLINE']:return _0x4fd31f(0x36b);case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x13b)]:return _0x4fd31f(0x101);case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x2f1)]:return'collabStatus.fetchMiss';case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x28b)]:return _0x4fd31f(0x204);case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x25c)]:case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x259)]:return _0x4fd31f(0x325);case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x1b2)]:case _0x2fd730[_0x4fd31f(0x240)]['PENDING']:return _0x4fd31f(0x141);}}function _0x2352fd(_0x30c738){const _0x53e5f8=_0x3894d5,{status$:_0x2fa0f1}=_0x30c738,_0x16b558=_0x43b760[_0x53e5f8(0x220)](_0x2fa0f1,_0x2fd730['CollaborationStatus'][_0x53e5f8(0x28b)]),_0x309028=_0x43b760[_0x53e5f8(0x16a)](_0x1e0609[_0x53e5f8(0x23d)]),_0x22b26e=_0x43b760[_0x53e5f8(0x16a)](_0x2fd730[_0x53e5f8(0x1d2)]),_0x5cd093=_0x16b558!==_0x2fd730[_0x53e5f8(0x240)][_0x53e5f8(0x1ab)],_0x47471a=_0x309028['t'](_0x4a96f6(_0x16b558)),_0x102d09=_0x4fc34b[_0x53e5f8(0x20a)](_0x371087[_0x53e5f8(0x2dd)],{[_0x371087[_0x53e5f8(0x18e)]]:_0x5cd093,[_0x371087[_0x53e5f8(0x2e5)]]:!_0x5cd093}),_0x816388=_0x5cd093?_0x4e444a['jsx'](_0x1eb8de,{}):_0x4e444a[_0x53e5f8(0x195)](_0x33a1f8,{}),_0x2a07bf=_0x283846[_0x53e5f8(0x1bd)](()=>{const _0x2a152f=_0x53e5f8;_0x5cd093||_0x22b26e[_0x2a152f(0x173)]();},[_0x5cd093,_0x22b26e]);function _0x17577c(){const _0x25820c=_0x53e5f8;return _0x4e444a[_0x25820c(0x2ba)](_0x25820c(0x2e7),{'className':_0x4fc34b[_0x25820c(0x20a)](_0x102d09,_0x25820c(0x2f4)),'onClick':_0x2a07bf,'children':[_0x4e444a[_0x25820c(0x195)]('div',{'className':_0x371087[_0x25820c(0x337)],'children':_0x816388}),_0x4e444a['jsx']('div',{'className':_0x371087[_0x25820c(0x272)],'children':_0x47471a})]});}return _0x5cd093?_0x17577c():_0x4e444a[_0x53e5f8(0x195)](_0x4fc34b['Tooltip'],{'title':_0x309028['t']('collab-client.tooltip.reconnect'),'children':_0x17577c()});}var _0x3104ba=Object[_0x3894d5(0x23b)],_0x5c0e5a=(_0x59375f,_0x53e696,_0x5bb1d1,_0x2db874)=>{const _0x18a9ef=_0x3894d5;for(var _0x5105f8=_0x2db874>0x1?void 0x0:_0x2db874?_0x3104ba(_0x53e696,_0x5bb1d1):_0x53e696,_0x30502d=_0x59375f[_0x18a9ef(0x18c)]-0x1,_0xe606a7;_0x30502d>=0x0;_0x30502d--)(_0xe606a7=_0x59375f[_0x30502d])&&(_0x5105f8=_0xe606a7(_0x5105f8)||_0x5105f8);return _0x5105f8;},_0x3361b5=(_0x31c1c8,_0x5d4211)=>(_0x3c63d2,_0x18d181)=>_0x5d4211(_0x3c63d2,_0x18d181,_0x31c1c8);_0x342240[_0x3894d5(0x30f)]=class extends _0x1e0609[_0x3894d5(0x30d)]{constructor(_0x4d2694,_0x3abbb2,_0x3c6945,_0x37f660){const _0x55ee9b=_0x3894d5;super(),_0x552ea8(this,'_status$',new _0x94d9ab[(_0x55ee9b(0x1ff))](_0x2fd730[_0x55ee9b(0x240)][_0x55ee9b(0x28b)])),(this[_0x55ee9b(0x1a9)]=_0x4d2694,this[_0x55ee9b(0x32a)]=_0x3abbb2,this[_0x55ee9b(0x170)]=_0x3c6945,this[_0x55ee9b(0x125)]=_0x37f660,this[_0x55ee9b(0x2f5)](),this['_initStatusListener']());}[_0x3894d5(0x290)](){const _0x41d179=_0x3894d5;this[_0x41d179(0x22c)](this[_0x41d179(0x1a9)][_0x41d179(0x23e)][_0x41d179(0x1cc)](_0x94d9ab[_0x41d179(0x1f6)](()=>{const _0x28c7a1=_0x41d179,_0x113912=this[_0x28c7a1(0x1a9)][_0x28c7a1(0x233)]();return _0x113912?this[_0x28c7a1(0x170)][_0x28c7a1(0x108)](_0x113912['getUnitId']()):_0x94d9ab['of'](null);}),_0x94d9ab[_0x41d179(0x1f6)](_0x3a8329=>_0x3a8329?_0x3a8329['status$']:_0x94d9ab['of'](_0x2fd730['CollaborationStatus'][_0x41d179(0x28b)])))[_0x41d179(0x30e)](_0x31afa2=>{const _0x224509=_0x41d179;this['_status$'][_0x224509(0x147)](_0x31afa2);}));}[_0x3894d5(0x2f5)](){const _0x268ea8=_0x3894d5;this[_0x268ea8(0x22c)](this[_0x268ea8(0x125)][_0x268ea8(0x322)](_0x43b760[_0x268ea8(0x1f5)][_0x268ea8(0x162)],()=>_0x43b760[_0x268ea8(0x2d3)](_0x108322({'status$':this[_0x268ea8(0x10c)][_0x268ea8(0x26c)]()}),this[_0x268ea8(0x32a)])));}},_0x342240[_0x3894d5(0x30f)]=_0x5c0e5a([_0x3361b5(0x0,_0x1e0609['IUniverInstanceService']),_0x3361b5(0x1,_0x1e0609['Inject'](_0x1e0609['Injector'])),_0x3361b5(0x2,_0x1e0609[_0x3894d5(0x176)](_0x2fd730['CollaborationController'])),_0x3361b5(0x3,_0x43b760['IUIPartsService'])],_0x342240[_0x3894d5(0x30f)]);function _0x108322(_0x4a44c0){const {status$:_0x2e4fe0}=_0x4a44c0;return function(){const _0x5d18df=_0x112f;return _0x4e444a[_0x5d18df(0x195)](_0x2352fd,{'status$':_0x2e4fe0});};}var _0x3fd5e1=Object[_0x3894d5(0x23b)],_0x2913f6=(_0x318956,_0x3df290,_0x4a2d2e,_0x30fe2c)=>{const _0x15944e=_0x3894d5;for(var _0x2a7f6b=_0x30fe2c>0x1?void 0x0:_0x30fe2c?_0x3fd5e1(_0x3df290,_0x4a2d2e):_0x3df290,_0x1db7cf=_0x318956[_0x15944e(0x18c)]-0x1,_0x4827bf;_0x1db7cf>=0x0;_0x1db7cf--)(_0x4827bf=_0x318956[_0x1db7cf])&&(_0x2a7f6b=_0x4827bf(_0x2a7f6b)||_0x2a7f6b);return _0x2a7f6b;},_0x36090d=(_0x45f4ce,_0x508489)=>(_0x5ea72c,_0x1a20ba)=>_0x508489(_0x5ea72c,_0x1a20ba,_0x45f4ce);let _0x4cc335=class extends _0x1e0609['Disposable']{constructor(_0x3b8233,_0x2d6eb1,_0x23c439,_0x5de431,_0x2089f6,_0x5448c3){const _0x20536f=_0x3894d5;super(),this[_0x20536f(0x19d)]=_0x3b8233,this[_0x20536f(0x12f)]=_0x2d6eb1,this[_0x20536f(0x320)]=_0x23c439,this[_0x20536f(0x28a)]=_0x5de431,this[_0x20536f(0x196)]=_0x2089f6,this[_0x20536f(0x316)]=_0x5448c3,this[_0x20536f(0xef)](),this[_0x20536f(0x2ae)]();}[_0x3894d5(0xef)](){const _0x5802d4=_0x3894d5;this[_0x5802d4(0x22c)](this[_0x5802d4(0x19d)][_0x5802d4(0x27f)](()=>{const _0x5d63bd=_0x5802d4;if(this['_localCacheService'][_0x5d63bd(0xf8)]['size'])return this[_0x5d63bd(0x316)]['t'](_0x5d63bd(0x145));}));}['_initEvent'](){const _0x129464=_0x3894d5;this['disposeWithMe'](this[_0x129464(0x320)][_0x129464(0x357)][_0x129464(0x30e)](_0x1307fc=>{const _0x38a091=_0x129464;_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)][_0x38a091(0x311)]&&this['_messageService'][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this['_localeService']['t'](_0x38a091(0x1e8))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x10b)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c3))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x351)]&&this[_0x38a091(0x196)][_0x38a091(0x182)]({'title':this[_0x38a091(0x316)]['t']('permission.title'),'content':this[_0x38a091(0x316)]['t']('permission.content'),'type':'error','duration':0x0}),_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)][_0x38a091(0x13b)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x21b)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c3))+'('+_0x1307fc['data']+')'}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x14c)]&&this['_messageService'][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)]['Warning'],'content':this[_0x38a091(0x316)]['t'](_0x1307fc[_0x38a091(0x2d8)]||'')}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x2df)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c4))}),_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)]['SOCKET_FAILED']&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)]['Error'],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x10d))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x2a1)]&&this['_messageService']['show']({'type':_0x4fc34b['MessageType'][_0x38a091(0x21b)],'content':this[_0x38a091(0x316)]['t']('session.collaboration-timeout')});}));}};_0x4cc335=_0x2913f6([_0x36090d(0x0,_0x43b760[_0x3894d5(0xed)]),_0x36090d(0x1,_0x2fd730[_0x3894d5(0x2ce)]),_0x36090d(0x2,_0x1e0609[_0x3894d5(0x176)](_0x2fd730['CollaborationUIEventService'])),_0x36090d(0x3,_0x43b760[_0x3894d5(0x10a)]),_0x36090d(0x4,_0x43b760['INotificationService']),_0x36090d(0x5,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x23d)]))],_0x4cc335);const _0x6c376=_0x3894d5(0x21a),_0x5a525b={},_0x1d6363=_0x1e0609['createIdentifier'](_0x3894d5(0x2f9));var _0x392b15=Object['getOwnPropertyDescriptor'],_0x1418cc=(_0x5c2cb7,_0x414958,_0x34b534,_0x1d7220)=>{for(var _0x49a0e2=_0x1d7220>0x1?void 0x0:_0x1d7220?_0x392b15(_0x414958,_0x34b534):_0x414958,_0x261dc0=_0x5c2cb7['length']-0x1,_0x32d2a0;_0x261dc0>=0x0;_0x261dc0--)(_0x32d2a0=_0x5c2cb7[_0x261dc0])&&(_0x49a0e2=_0x32d2a0(_0x49a0e2)||_0x49a0e2);return _0x49a0e2;},_0xa24e63=(_0x4d83e5,_0x429f1b)=>(_0x3eef47,_0x359708)=>_0x429f1b(_0x3eef47,_0x359708,_0x4d83e5);_0x342240[_0x3894d5(0x268)]=class extends _0x1e0609['RxDisposable']{constructor(_0x35c0b1,_0x2d9178,_0x55970c,_0x4318ca,_0x3879e7){const _0x5454b8=_0x3894d5;super(),this['_urlService']=_0x35c0b1,this[_0x5454b8(0x362)]=_0x2d9178,this[_0x5454b8(0x34a)]=_0x55970c,this[_0x5454b8(0xee)]=_0x4318ca,_0x3879e7?_0x3879e7==null||_0x3879e7[_0x5454b8(0x1ee)]()[_0x5454b8(0x1fb)](()=>this[_0x5454b8(0x28f)]()):(this[_0x5454b8(0x362)][_0x5454b8(0x1ba)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5454b8(0x28f)]());}async['_init'](){const _0x3828ae=_0x3894d5,_0x1f3867=this['_urlService'][_0x3828ae(0x33d)](_0x3828ae(0x264)),_0x39c0f8=this[_0x3828ae(0x21d)]['getParam']('type'),_0x1f0152=this['_urlService'][_0x3828ae(0x33d)](_0x3828ae(0x1a0));if(!_0x1f3867||!_0x39c0f8){this['_logService'][_0x3828ae(0x1ba)](_0x3828ae(0x184),_0x3828ae(0x275));return;}const _0x45f44d=await this['_dataLoaderService'][_0x3828ae(0x308)](_0x1f3867,Number(_0x39c0f8),_0x1f0152);_0x45f44d&&_0x45f44d instanceof _0x1e0609[_0x3828ae(0x163)]&&this['_setupSubUnitSync'](_0x45f44d);}async[_0x3894d5(0x341)](_0x1ba5eb){const _0x153e5a=_0x3894d5;await this[_0x153e5a(0x11d)](_0x1ba5eb),_0x1ba5eb[_0x153e5a(0x11e)][_0x153e5a(0x1cc)](_0x94d9ab['takeUntil'](this[_0x153e5a(0x140)]))[_0x153e5a(0x30e)](_0x151c7a=>{const _0x43944e=_0x153e5a;_0x151c7a&&this[_0x43944e(0xe8)](_0x151c7a);}),this[_0x153e5a(0x21d)][_0x153e5a(0x1b5)][_0x153e5a(0x1cc)](_0x94d9ab[_0x153e5a(0x252)](this[_0x153e5a(0x140)]))[_0x153e5a(0x30e)](()=>this[_0x153e5a(0x11d)](_0x1ba5eb));}['_updateURLWithCurrentState'](_0x16bd56,_0x43f1ab=!0x1){const _0x5c980c=_0x3894d5,_0x3d21d5=this[_0x5c980c(0x21d)][_0x5c980c(0x33d)]('subunit');_0x16bd56['getSheetId']()!==_0x3d21d5&&this[_0x5c980c(0x21d)][_0x5c980c(0x131)](_0x5c980c(0x1a0),_0x16bd56[_0x5c980c(0x142)](),_0x43f1ab);}async[_0x3894d5(0x11d)](_0x394755){const _0x35e8af=_0x3894d5;var _0x599c4a;const _0x2c3117=this['_urlService'][_0x35e8af(0x33d)](_0x35e8af(0x1a0));if(!_0x2c3117||!_0x394755[_0x35e8af(0x225)](_0x2c3117)){const _0x130f80=_0x394755[_0x35e8af(0x303)]()[0x0],_0x2e7754=_0x394755[_0x35e8af(0x225)](_0x130f80);if(!_0x2e7754)return;this[_0x35e8af(0xe8)](_0x2e7754,!0x0),await this[_0x35e8af(0x34a)][_0x35e8af(0x2ea)](_0x4b47a4['SetWorksheetActivateCommand']['id'],{'unitId':_0x394755[_0x35e8af(0xe6)](),'subUnitId':_0x130f80});return;}((_0x599c4a=_0x394755['getActiveSheet']())==null?void 0x0:_0x599c4a[_0x35e8af(0x142)]())!==_0x2c3117&&await this[_0x35e8af(0x34a)][_0x35e8af(0x2ea)](_0x4b47a4[_0x35e8af(0x207)]['id'],{'unitId':_0x394755[_0x35e8af(0xe6)](),'subUnitId':_0x2c3117});}},_0x342240[_0x3894d5(0x268)]=_0x1418cc([_0xa24e63(0x0,_0x1d6363),_0xa24e63(0x1,_0x1e0609[_0x3894d5(0x250)]),_0xa24e63(0x2,_0x1e0609['ICommandService']),_0xa24e63(0x3,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x224)])),_0xa24e63(0x4,_0x1e0609['Optional'](_0x4b767c['IRemoteInstanceService']))],_0x342240[_0x3894d5(0x268)]);var _0x1586a2=Object[_0x3894d5(0x23b)],_0x93c370=(_0x28e957,_0x401715,_0x51f437,_0x50f128)=>{for(var _0x51c713=_0x50f128>0x1?void 0x0:_0x50f128?_0x1586a2(_0x401715,_0x51f437):_0x401715,_0xdd9a45=_0x28e957['length']-0x1,_0x53d3f3;_0xdd9a45>=0x0;_0xdd9a45--)(_0x53d3f3=_0x28e957[_0xdd9a45])&&(_0x51c713=_0x53d3f3(_0x51c713)||_0x51c713);return _0x51c713;},_0x168cc1=(_0x4cd36d,_0x182e4c)=>(_0x13e4d5,_0x4b5134)=>_0x182e4c(_0x13e4d5,_0x4b5134,_0x4cd36d);let _0x28c5eb=class{constructor(_0x47d431,_0x254e90,_0x5c6c13){const _0x3f4a46=_0x3894d5;this[_0x3f4a46(0x32a)]=_0x47d431,this['_transformService']=_0x254e90,this['_renderManagerService']=_0x5c6c13;}[_0x3894d5(0x139)](_0x2549d7){const _0x1f5f0a=_0x3894d5;this[_0x1f5f0a(0x12e)](_0x2549d7),this[_0x1f5f0a(0x1ac)](_0x2549d7);}[_0x3894d5(0x143)](_0x4f1510){const _0x46ba5c=_0x3894d5,{unitID:_0x34e168}=_0x4f1510,_0x4beb47=this[_0x46ba5c(0x110)][_0x46ba5c(0x174)](_0x34e168)[_0x46ba5c(0x25b)](_0x189013[_0x46ba5c(0x28e)]),{redoCache:_0x4c7d02}=_0x4beb47['getUndoRedoMutationParamsCache']();if(_0x4c7d02[_0x46ba5c(0x18c)]===0x0)return _0x4f1510;let _0x1fbdb5=_0x1e0609[_0x46ba5c(0x33b)]['deepClone'](_0x4f1510['mutations'][0x0]);for(let _0x486943=0x0;_0x486943<_0x4c7d02[_0x46ba5c(0x18c)];_0x486943++){const _0x74642c={'id':'doc.mutation.rich-text-editing','params':{..._0x4c7d02[_0x486943]}},_0x10009b=this[_0x46ba5c(0x29d)][_0x46ba5c(0x1f3)](_0x1fbdb5,_0x74642c,!0x1);if(_0xcfb5d3[_0x46ba5c(0x2a2)](_0x10009b))throw _0x10009b[_0x46ba5c(0x107)];_0x1fbdb5=_0x10009b[_0x46ba5c(0x18f)];}return{..._0x1e0609['Tools'][_0x46ba5c(0x2b4)](_0x4f1510),'mutations':[_0x1fbdb5]};}['_transformUndoRedoStack'](_0x2c4879){const _0x31e022=_0x3894d5,{unitID:_0x1c27e0}=_0x2c4879,_0x5f3d97=this['_renderManagerService'][_0x31e022(0x174)](_0x1c27e0)[_0x31e022(0x25b)](_0x189013[_0x31e022(0x28e)]),{undoCache:_0x2cc4dd,redoCache:_0x64f2c1}=_0x5f3d97[_0x31e022(0x187)]();if(_0x2cc4dd[_0x31e022(0x18c)]===0x0||_0x64f2c1[_0x31e022(0x18c)]===0x0)return;const _0x30f5fd=[],_0x2d93da=[];let _0x58229d=_0x1e0609[_0x31e022(0x33b)][_0x31e022(0x2b4)](_0x2c4879[_0x31e022(0x2b5)][0x0]),_0x49fa7d=_0x1e0609[_0x31e022(0x33b)][_0x31e022(0x2b4)](_0x2c4879['mutations'][0x0]);for(let _0xa6cf95=_0x2cc4dd[_0x31e022(0x18c)]-0x1;_0xa6cf95>=0x0;_0xa6cf95--){const _0x5a1c58={'id':_0x31e022(0x2e2),'params':{..._0x2cc4dd[_0xa6cf95]}},_0x23bf5d={'id':'doc.mutation.rich-text-editing','params':{..._0x64f2c1[_0xa6cf95]}},_0x343552=this['_transformService'][_0x31e022(0x1f3)](_0x58229d,_0x5a1c58,!0x1),_0x415669=this['_transformService'][_0x31e022(0x1f3)](_0x49fa7d,_0x23bf5d,!0x1);if(_0xcfb5d3[_0x31e022(0x2a2)](_0x343552))throw _0x343552[_0x31e022(0x107)];if(_0xcfb5d3[_0x31e022(0x2a2)](_0x415669))throw _0x415669['error'];_0x30f5fd[_0x31e022(0x312)](_0x343552[_0x31e022(0x2b7)][_0x31e022(0x15e)]),_0x2d93da['unshift'](_0x415669[_0x31e022(0x2b7)][_0x31e022(0x15e)]),_0x58229d=_0x343552['m1Prime'],_0x49fa7d=_0x415669[_0x31e022(0x18f)];}_0x5f3d97[_0x31e022(0x309)]({'undoCache':_0x30f5fd,'redoCache':_0x2d93da});}[_0x3894d5(0x1ac)](_0x5a71d4){const _0xf18784=_0x3894d5,{unitID:_0x172c98}=_0x5a71d4,_0x196b3b=this[_0xf18784(0x110)][_0xf18784(0x174)](_0x172c98)[_0xf18784(0x25b)](_0x189013[_0xf18784(0x28e)]),_0x219971=_0x196b3b[_0xf18784(0x2fb)]();if(_0x219971==null)return;const _0x29be07=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a71d4[_0xf18784(0x1b3)],'actions':null,'textRanges':[_0x219971]}}],_0x2efced=this['_transformService'][_0xf18784(0x1f7)](_0x5a71d4,_0x29be07);if(!_0xcfb5d3[_0xf18784(0x2d1)](_0x2efced))throw _0x2efced['error'];const _0x20ed7d=_0x2efced['m2Prime'][0x0][_0xf18784(0x15e)][_0xf18784(0x12c)];Array[_0xf18784(0x25f)](_0x20ed7d)&&_0x20ed7d[_0xf18784(0x18c)]&&_0x196b3b[_0xf18784(0x2f0)](_0x20ed7d[0x0]);}};_0x28c5eb=_0x93c370([_0x168cc1(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609['Injector'])),_0x168cc1(0x1,_0xcfb5d3['ITransformService']),_0x168cc1(0x2,_0x8660e4['IRenderManagerService'])],_0x28c5eb);var _0x23cea9=Object[_0x3894d5(0x23b)],_0x46116c=(_0x1561a2,_0x51f75f,_0x1957ae,_0x4b2da0)=>{for(var _0x3a55e0=_0x4b2da0>0x1?void 0x0:_0x4b2da0?_0x23cea9(_0x51f75f,_0x1957ae):_0x51f75f,_0x55bbfd=_0x1561a2['length']-0x1,_0x22e522;_0x55bbfd>=0x0;_0x55bbfd--)(_0x22e522=_0x1561a2[_0x55bbfd])&&(_0x3a55e0=_0x22e522(_0x3a55e0)||_0x3a55e0);return _0x3a55e0;},_0x21cacd=(_0x1b5117,_0x31d9b9)=>(_0x38ff75,_0xe762c2)=>_0x31d9b9(_0x38ff75,_0xe762c2,_0x1b5117);let _0x4670a8=class{constructor(_0x43f114,_0x24db4d,_0x22aa2c){const _0x51c3eb=_0x3894d5;this[_0x51c3eb(0x32a)]=_0x43f114,this[_0x51c3eb(0x29d)]=_0x24db4d,this[_0x51c3eb(0x211)]=_0x22aa2c;}['transformStateCache'](_0x216e33){const _0x43452b=_0x3894d5;this[_0x43452b(0x171)](_0x216e33);}['transformRemoteChangeset'](_0x152a11){const _0x5a903a=_0x3894d5,{unitID:_0x3b6dd8}=_0x152a11,{collaboration:_0x3bd903}=this[_0x5a903a(0x211)][_0x5a903a(0xf4)](_0x3b6dd8);if(_0x3bd903[_0x5a903a(0x18c)]===0x0)return _0x152a11;let _0x3cba00=_0x1e0609['Tools'][_0x5a903a(0x2b4)](_0x152a11[_0x5a903a(0x2b5)][0x0]);for(let _0x58b5eb=0x0;_0x58b5eb<_0x3bd903[_0x5a903a(0x18c)];_0x58b5eb++){const _0x31b9e2={'id':_0x5a903a(0x2e2),'params':{'unitId':_0x3bd903[_0x58b5eb][_0x5a903a(0x15c)],..._0x3bd903[_0x58b5eb][_0x5a903a(0x310)]}},_0x185fb0=this[_0x5a903a(0x29d)]['transformMutation'](_0x3cba00,_0x31b9e2,!0x1);if(_0xcfb5d3[_0x5a903a(0x2a2)](_0x185fb0))throw _0x185fb0[_0x5a903a(0x107)];_0x3cba00=_0x185fb0[_0x5a903a(0x18f)];}return{..._0x1e0609['Tools'][_0x5a903a(0x2b4)](_0x152a11),'mutations':[_0x3cba00]};}[_0x3894d5(0x171)](_0x322344){const _0x91cfde=_0x3894d5,{unitID:_0x4bc499}=_0x322344,{history:_0x523df3,collaboration:_0x1d3483}=this[_0x91cfde(0x211)]['getStateCache'](_0x4bc499);if(_0x523df3['length']===0x0&&_0x1d3483[_0x91cfde(0x18c)]===0x0)return;const _0x1ec585=[],_0x18f4f8=[];let _0x4f82bf=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]),_0x11c36f=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]);for(let _0x20816f=_0x523df3[_0x91cfde(0x18c)]-0x1;_0x20816f>=0x0;_0x20816f--){const _0x18baa5={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x523df3[_0x20816f][_0x91cfde(0x15c)],..._0x523df3[_0x20816f][_0x91cfde(0x1a4)]}},_0x462a8d={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x523df3[_0x20816f][_0x91cfde(0x15c)],..._0x523df3[_0x20816f][_0x91cfde(0x310)]}},_0x9ebfcd=this[_0x91cfde(0x29d)]['transformMutation'](_0x4f82bf,_0x18baa5,!0x1),_0x188d79=this[_0x91cfde(0x29d)][_0x91cfde(0x1f3)](_0x11c36f,_0x462a8d,!0x1);if(_0xcfb5d3['isTransformMutationFailure'](_0x9ebfcd))throw _0x9ebfcd[_0x91cfde(0x107)];if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x188d79))throw _0x188d79[_0x91cfde(0x107)];_0x1ec585[_0x91cfde(0x312)]({..._0x523df3[_0x20816f],'undoState':_0x9ebfcd[_0x91cfde(0x2b7)][_0x91cfde(0x15e)],'redoState':_0x188d79['m2Prime']['params']}),_0x4f82bf=_0x9ebfcd['m1Prime'],_0x11c36f=_0x188d79[_0x91cfde(0x18f)];}_0x4f82bf=_0x1e0609[_0x91cfde(0x33b)]['deepClone'](_0x322344[_0x91cfde(0x2b5)][0x0]),_0x11c36f=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]);for(let _0x2518fe=_0x1d3483[_0x91cfde(0x18c)]-0x1;_0x2518fe>=0x0;_0x2518fe--){const _0x4b8e0a={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x1d3483[_0x2518fe]['unitId'],..._0x1d3483[_0x2518fe]['undoState']}},_0x39eced={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x1d3483[_0x2518fe][_0x91cfde(0x15c)],..._0x1d3483[_0x2518fe][_0x91cfde(0x310)]}},_0x24c26f=this[_0x91cfde(0x29d)][_0x91cfde(0x1f3)](_0x4f82bf,_0x4b8e0a,!0x1),_0x54732b=this['_transformService'][_0x91cfde(0x1f3)](_0x11c36f,_0x39eced,!0x1);if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x24c26f))throw _0x24c26f[_0x91cfde(0x107)];if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x54732b))throw _0x54732b[_0x91cfde(0x107)];_0x18f4f8[_0x91cfde(0x312)]({..._0x1d3483[_0x2518fe],'undoState':_0x24c26f['m2Prime'][_0x91cfde(0x15e)],'redoState':_0x54732b[_0x91cfde(0x2b7)]['params']}),_0x4f82bf=_0x24c26f[_0x91cfde(0x18f)],_0x11c36f=_0x54732b[_0x91cfde(0x18f)];}this['_docStateChangeManagerService'][_0x91cfde(0x353)](_0x4bc499,{'history':_0x1ec585,'collaboration':_0x18f4f8});}};_0x4670a8=_0x46116c([_0x21cacd(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x21cacd(0x1,_0xcfb5d3[_0x3894d5(0x177)]),_0x21cacd(0x2,_0x1e0609[_0x3894d5(0x176)](_0x189013[_0x3894d5(0x330)]))],_0x4670a8);var _0x37e9b6=Object[_0x3894d5(0x23b)],_0x1dc981=(_0x1ef9bd,_0xc4c96e,_0x26c3a7,_0x291fd8)=>{for(var _0x202332=_0x291fd8>0x1?void 0x0:_0x291fd8?_0x37e9b6(_0xc4c96e,_0x26c3a7):_0xc4c96e,_0x2f85bb=_0x1ef9bd['length']-0x1,_0x1e7b14;_0x2f85bb>=0x0;_0x2f85bb--)(_0x1e7b14=_0x1ef9bd[_0x2f85bb])&&(_0x202332=_0x1e7b14(_0x202332)||_0x202332);return _0x202332;},_0x4795d4=(_0x251ae9,_0x2760ce)=>(_0x3a24d9,_0x2c2d84)=>_0x2760ce(_0x3a24d9,_0x2c2d84,_0x251ae9);let _0x8cf5bb=class{constructor(_0x59386d,_0x1e20b4){const _0x5cd072=_0x3894d5;this[_0x5cd072(0x32a)]=_0x59386d,this['_transformService']=_0x1e20b4;}['transformSelections'](_0x32b5d7){const _0x21930b=_0x3894d5;var _0x1fb659;const _0x1fceaa=this['_injector'][_0x21930b(0x2b6)](_0x1aadfd[_0x21930b(0x278)]),_0x134179=(_0x1fb659=_0x1fceaa[_0x21930b(0x1b4)]())!=null?_0x1fb659:[];if(_0x134179['length']===0x0)return;const _0x208d1e=_0x32b5d7[_0x21930b(0x1b3)],_0x12ea47=[{'id':_0x21930b(0x2e2),'params':{'unitId':_0x208d1e,'actions':null,'textRanges':_0x134179}}],_0x11ea5e=this[_0x21930b(0x29d)][_0x21930b(0x1f7)](_0x32b5d7,_0x12ea47);if(!_0xcfb5d3[_0x21930b(0x2d1)](_0x11ea5e))throw _0x11ea5e[_0x21930b(0x107)];const _0x2748b7=_0x11ea5e[_0x21930b(0x2b7)][0x0][_0x21930b(0x15e)][_0x21930b(0x12c)];Array[_0x21930b(0x25f)](_0x2748b7)&&_0x2748b7['length']&&_0x1fceaa[_0x21930b(0x1f1)](_0x2748b7,{'unitId':_0x208d1e,'subUnitId':_0x208d1e},!0x1);}};_0x8cf5bb=_0x1dc981([_0x4795d4(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x4795d4(0x1,_0xcfb5d3[_0x3894d5(0x177)])],_0x8cf5bb);var _0x2b4507=Object[_0x3894d5(0x23b)],_0x3cb3f8=(_0x5c08af,_0x597428,_0x5ebb8c,_0x54f4f9)=>{const _0x149e82=_0x3894d5;for(var _0x36e9be=_0x54f4f9>0x1?void 0x0:_0x54f4f9?_0x2b4507(_0x597428,_0x5ebb8c):_0x597428,_0x5eb31e=_0x5c08af[_0x149e82(0x18c)]-0x1,_0x334a30;_0x5eb31e>=0x0;_0x5eb31e--)(_0x334a30=_0x5c08af[_0x5eb31e])&&(_0x36e9be=_0x334a30(_0x36e9be)||_0x36e9be);return _0x36e9be;},_0x236a86=(_0x25ae80,_0x597c92)=>(_0x4c424f,_0x50a82a)=>_0x597c92(_0x4c424f,_0x50a82a,_0x25ae80);let _0x10406f=class extends _0x1e0609['Disposable']{constructor(_0x585e6e,_0x3ff458,_0x5712ce,_0x216073,_0x4cfe51,_0xd85233,_0x4b98a8,_0x233abf){const _0x35e037=_0x3894d5;super(),_0x552ea8(this,_0x35e037(0x10c),new _0x94d9ab[(_0x35e037(0x1ff))](_0x2fd730['CollaborationStatus']['NOT_COLLAB'])),(this[_0x35e037(0x211)]=_0x585e6e,this['_collaborationController']=_0x3ff458,this[_0x35e037(0x2d7)]=_0x5712ce,this[_0x35e037(0x1e5)]=_0x216073,this[_0x35e037(0x2d0)]=_0x4cfe51,this['_docSyncEditingCollabCursorService']=_0xd85233,this['_messageService']=_0x4b98a8,this[_0x35e037(0x316)]=_0x233abf,this['_initEntityListener']());}[_0x3894d5(0x183)](){const _0x29d14f=_0x3894d5;this[_0x29d14f(0x22c)](this['_collaborationController'][_0x29d14f(0x19b)][_0x29d14f(0x30e)](_0x141a0f=>{const _0x5d9226=_0x29d14f,_0x38703b=this[_0x5d9226(0x211)][_0x5d9226(0x25e)][_0x5d9226(0x30e)](_0x778b14=>{const _0x5b53b4=_0x5d9226;if(_0x778b14==null)return;const {unitId:_0x11cba0,redoState:_0x136dc5,commandId:_0x478fc7}=_0x778b14;if(_0x11cba0!==_0x141a0f[_0x5b53b4(0x1b3)])return;const _0x31cfb8={'id':_0x478fc7,'type':_0x1e0609[_0x5b53b4(0x100)][_0x5b53b4(0x349)],'params':{'unitId':_0x11cba0,'actions':_0x136dc5[_0x5b53b4(0x1c5)],'textRanges':null}};_0x141a0f[_0x5b53b4(0x20d)](_0x31cfb8);});if(_0x141a0f['disposeWithMe'](_0x38703b),_0x141a0f instanceof _0x2fd730[_0x5d9226(0x218)]){const _0xb2015={'onTransformIME':_0x5b5357=>this[_0x5d9226(0x2d7)][_0x5d9226(0x139)](_0x5b5357),'onTransformState':_0x9f0b82=>this[_0x5d9226(0x1e5)][_0x5d9226(0x129)](_0x9f0b82),'onTransformSelections':_0x1b488f=>this[_0x5d9226(0x2d0)][_0x5d9226(0x17f)](_0x1b488f),'onSyncEditingCollabCursor':_0x1abdee=>this[_0x5d9226(0x258)][_0x5d9226(0x237)](_0x1abdee),'onTransformRemoteChangesetByIMECache':_0x1eaaf6=>this[_0x5d9226(0x2d7)]['transformRemoteChangeset'](_0x1eaaf6),'onTransformRemoteChangesetByStateCache':_0x9730f=>this[_0x5d9226(0x1e5)][_0x5d9226(0x143)](_0x9730f)};_0x141a0f['addHandlerCallback'](_0xb2015);}}));}};_0x10406f=_0x3cb3f8([_0x236a86(0x0,_0x1e0609[_0x3894d5(0x176)](_0x189013[_0x3894d5(0x330)])),_0x236a86(0x1,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x307)])),_0x236a86(0x2,_0x1e0609[_0x3894d5(0x176)](_0x28c5eb)),_0x236a86(0x3,_0x1e0609[_0x3894d5(0x176)](_0x4670a8)),_0x236a86(0x4,_0x1e0609[_0x3894d5(0x176)](_0x8cf5bb)),_0x236a86(0x5,_0x1e0609[_0x3894d5(0x176)](_0x55262d)),_0x236a86(0x6,_0x43b760[_0x3894d5(0x10a)]),_0x236a86(0x7,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x23d)]))],_0x10406f);var _0x54af1a=Object['getOwnPropertyDescriptor'],_0x26bcf1=(_0x27fdb9,_0x3468e0,_0x53cdb8,_0x4e099c)=>{const _0x446059=_0x3894d5;for(var _0xeae700=_0x4e099c>0x1?void 0x0:_0x4e099c?_0x54af1a(_0x3468e0,_0x53cdb8):_0x3468e0,_0x5f5635=_0x27fdb9[_0x446059(0x18c)]-0x1,_0x347bc3;_0x5f5635>=0x0;_0x5f5635--)(_0x347bc3=_0x27fdb9[_0x5f5635])&&(_0xeae700=_0x347bc3(_0xeae700)||_0xeae700);return _0xeae700;},_0x512a8b=(_0x3824c2,_0x1c13cb)=>(_0x27ecdd,_0x368866)=>_0x1c13cb(_0x27ecdd,_0x368866,_0x3824c2);let _0x500381=class extends _0x1e0609['Disposable']{constructor(_0x50a8f9,_0x116d79,_0x50484d){const _0x39d27f=_0x3894d5;super(),_0x552ea8(this,_0x39d27f(0x167),new Map()),_0x552ea8(this,'_saveTaskMap',new Map()),_0x552ea8(this,_0x39d27f(0x350),!0x1),(this[_0x39d27f(0x209)]=_0x50a8f9,this[_0x39d27f(0x35c)]=_0x116d79,this[_0x39d27f(0x236)]=_0x50484d);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3894d5(0x2b1)](){const _0x396be6=_0x3894d5;this[_0x396be6(0x350)]=!0x1;}get[_0x3894d5(0xf8)](){const _0x171583=_0x3894d5;return this[_0x171583(0x243)];}['dispose'](){const _0x377f80=_0x3894d5;this[_0x377f80(0x245)]()[_0x377f80(0x1fb)](()=>super[_0x377f80(0x1e1)]());}async[_0x3894d5(0x16b)](_0x3ca5e4){const _0x10b049=_0x3894d5;return this[_0x10b049(0x350)]?null:this[_0x10b049(0x35c)][_0x10b049(0x229)](_0x2fd730['getLocalCacheKey'](_0x3ca5e4));}async[_0x3894d5(0x1bc)](_0x39290c,_0x4e0e95){return!!this['_localStorageService']['setItem'](_0x39290c,_0x4e0e95);}[_0x3894d5(0x14b)](_0x437ba3,_0x310f86,_0x2cbefc,_0x250523){const _0x4f84cb=_0x3894d5,_0x3b7ee=this[_0x4f84cb(0x236)][_0x4f84cb(0x344)](_0x437ba3);this[_0x4f84cb(0x167)][_0x4f84cb(0x1b9)](_0x437ba3,{'unitID':_0x437ba3,'type':_0x310f86,'awaitingChangeset':_0x2cbefc,'mutations':_0x250523,'rev':_0x3b7ee}),this[_0x4f84cb(0x243)][_0x4f84cb(0x27d)](_0x437ba3)||this[_0x4f84cb(0x33a)](_0x437ba3);}[_0x3894d5(0x33a)](_0x461c93){const _0x2b84a2=_0x3894d5,_0x53fd85=this[_0x2b84a2(0x1bf)]();_0x53fd85===0x0?this['_saveCache'](_0x461c93):this[_0x2b84a2(0x243)][_0x2b84a2(0x1b9)](_0x461c93,setTimeout(()=>this[_0x2b84a2(0x180)](_0x461c93),_0x53fd85));}[_0x3894d5(0x1bf)](){const _0x198b6d=_0x3894d5;var _0x49d215;return(_0x49d215=this['_configService']['getConfig'](_0x2fd730[_0x198b6d(0x372)]))!=null?_0x49d215:_0x2fd730['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x43d3e6){const _0xb7df5e=_0x3894d5,_0x376fb9=this[_0xb7df5e(0x243)][_0xb7df5e(0x2b6)](_0x43d3e6);return _0x376fb9!==void 0x0&&window[_0xb7df5e(0x371)](_0x376fb9),this[_0xb7df5e(0x35c)][_0xb7df5e(0x2f8)](_0x2fd730['getLocalCacheKey'](_0x43d3e6),this[_0xb7df5e(0x167)][_0xb7df5e(0x2b6)](_0x43d3e6))[_0xb7df5e(0x1fb)](()=>this[_0xb7df5e(0x243)]['delete'](_0x43d3e6));}async[_0x3894d5(0x245)](){const _0x4e5376=_0x3894d5,_0xbd8bcd=[];this['_saveTaskMap'][_0x4e5376(0x122)]((_0x3264c6,_0x3d88de)=>{const _0x1145c1=_0x4e5376;window[_0x1145c1(0x371)](_0x3264c6),_0xbd8bcd[_0x1145c1(0x2aa)](this[_0x1145c1(0x180)](_0x3d88de)[_0x1145c1(0x1fb)](()=>{const _0x3e5773=_0x1145c1;this[_0x3e5773(0x243)][_0x3e5773(0x2e4)](_0x3d88de);}));}),await Promise[_0x4e5376(0xf3)](_0xbd8bcd);}};_0x500381=_0x26bcf1([_0x512a8b(0x0,_0x1e0609[_0x3894d5(0x22d)]),_0x512a8b(0x1,_0x1e0609['ILocalStorageService']),_0x512a8b(0x2,_0x1e0609['Inject'](_0xcfb5d3['RevisionService']))],_0x500381);class _0x53cffe extends _0x1e0609[_0x3894d5(0x18b)]{constructor(){const _0x578b74=_0x3894d5;super(),_0x552ea8(this,_0x578b74(0x1b5)),this[_0x578b74(0x1b5)]=_0x94d9ab['fromEvent'](window,'popstate')[_0x578b74(0x1cc)](_0x94d9ab['takeUntil'](this[_0x578b74(0x140)]),_0x94d9ab[_0x578b74(0x360)](0x1),_0x94d9ab[_0x578b74(0x30a)](void 0x0));}['setParam'](_0x39a13c,_0x5e4877,_0x72b370=!0x1){const _0x425e41=_0x3894d5,_0x4a9c9d=new URL(window[_0x425e41(0x2cf)][_0x425e41(0x18d)]);_0x4a9c9d[_0x425e41(0x1ef)][_0x425e41(0x1b9)](_0x39a13c,_0x5e4877),_0x72b370?window[_0x425e41(0x1e2)][_0x425e41(0x2eb)]('','',_0x4a9c9d[_0x425e41(0x356)]()):window[_0x425e41(0x1e2)][_0x425e41(0x11b)]('','',_0x4a9c9d['toString']());}['removeParam'](_0x56cc,_0x194f23=!0x1){const _0x460ff8=_0x3894d5,_0xd514c1=new URL(window['location'][_0x460ff8(0x18d)]);_0xd514c1[_0x460ff8(0x1ef)][_0x460ff8(0x2e4)](_0x56cc),_0x194f23?window[_0x460ff8(0x1e2)][_0x460ff8(0x2eb)]('','',_0xd514c1[_0x460ff8(0x356)]()):window[_0x460ff8(0x1e2)][_0x460ff8(0x11b)]('','',_0xd514c1[_0x460ff8(0x356)]());}['getParam'](_0x3b4e60){const _0x4c7891=_0x3894d5;var _0x10bd5d;return(_0x10bd5d=new URL(window[_0x4c7891(0x2cf)][_0x4c7891(0x18d)])[_0x4c7891(0x1ef)][_0x4c7891(0x2b6)](_0x3b4e60))!=null?_0x10bd5d:void 0x0;}}var _0x2cb866=Object[_0x3894d5(0x17b)],_0x3619da=Object[_0x3894d5(0x23b)],_0x54b429=(_0x1c03e7,_0x324f21,_0x362446)=>_0x324f21 in _0x1c03e7?_0x2cb866(_0x1c03e7,_0x324f21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x362446}):_0x1c03e7[_0x324f21]=_0x362446,_0x68666d=(_0x539c2f,_0x5e8938,_0x398004,_0x321615)=>{const _0x296754=_0x3894d5;for(var _0x23995c=_0x321615>0x1?void 0x0:_0x321615?_0x3619da(_0x5e8938,_0x398004):_0x5e8938,_0x412785=_0x539c2f[_0x296754(0x18c)]-0x1,_0x191c35;_0x412785>=0x0;_0x412785--)(_0x191c35=_0x539c2f[_0x412785])&&(_0x23995c=_0x191c35(_0x23995c)||_0x23995c);return _0x23995c;},_0x16b83f=(_0xadf7ac,_0xbe6a87)=>(_0x85c847,_0x1c4485)=>_0xbe6a87(_0x85c847,_0x1c4485,_0xadf7ac),_0x19874f=(_0x36f53e,_0x279276,_0x49a90a)=>_0x54b429(_0x36f53e,_0x279276+'',_0x49a90a);const _0x7eaac4=_0x3894d5(0x168);_0x342240[_0x3894d5(0x2d9)]=class extends _0x1e0609['Plugin']{constructor(_0x1fb58d=_0x5a525b,_0x4cf0d4,_0x7eb1d3,_0x2ff8b1){const _0x3b0349=_0x3894d5;super(),this[_0x3b0349(0x2c5)]=_0x1fb58d,this[_0x3b0349(0x110)]=_0x4cf0d4,this['_injector']=_0x7eb1d3,this['_configService']=_0x2ff8b1;const {..._0x11fc77}=_0x1e0609['merge']({},_0x5a525b,this['_config']);this[_0x3b0349(0x209)]['setConfig'](_0x6c376,_0x11fc77);}[_0x3894d5(0x1db)](){const _0x55c504=_0x3894d5;this[_0x55c504(0x1c2)](),this['_initDependencies']();}['onRendered'](){const _0x5ad501=_0x3894d5;this[_0x5ad501(0x201)]();}[_0x3894d5(0x1c2)](){const _0x3230c2=_0x3894d5;var _0x149278;const _0x324cd6=[[_0x57aed3],[_0x8cf5bb],[_0x28c5eb],[_0x4670a8],[_0x55262d],[_0x1d6363,{'useClass':_0x53cffe}],[_0x1e4e91[_0x3230c2(0x1ec)],{'useClass':_0x1e4e91['WebSocketService']}],[_0x2fd730['ILocalCacheService'],{'useClass':_0x500381}],[_0x342240[_0x3230c2(0x30f)]],[_0x10406f],[_0x4cc335],[_0x3766ca],[_0x561448],[_0x342240[_0x3230c2(0x268)]]];_0x1e0609[_0x3230c2(0x20b)](this[_0x3230c2(0x32a)],_0x1e0609[_0x3230c2(0x112)](_0x324cd6,(_0x149278=this[_0x3230c2(0x2c5)])==null?void 0x0:_0x149278[_0x3230c2(0x324)]));}[_0x3894d5(0x201)](){const _0x1ba6e6=_0x3894d5;this[_0x1ba6e6(0x22c)](this['_renderManagerService'][_0x1ba6e6(0x2c9)](_0x1e0609['UniverInstanceType']['UNIVER_DOC'],[_0x30bcfd])),this[_0x1ba6e6(0x22c)](this[_0x1ba6e6(0x110)][_0x1ba6e6(0x2c9)](_0x1e0609[_0x1ba6e6(0xff)][_0x1ba6e6(0x1c6)],[_0x41413e]));}[_0x3894d5(0x169)](){const _0x517d06=_0x3894d5;_0x1e0609[_0x517d06(0x1aa)](this[_0x517d06(0x32a)],[[_0x3766ca],[_0x342240[_0x517d06(0x30f)]],[_0x10406f],[_0x4cc335],[_0x342240[_0x517d06(0x268)]]]);}},_0x19874f(_0x342240[_0x3894d5(0x2d9)],_0x3894d5(0x2f6),_0x7eaac4),_0x342240[_0x3894d5(0x2d9)]=_0x68666d([_0x1e0609[_0x3894d5(0x1a8)](_0x2fd730['UniverCollaborationClientPlugin']),_0x16b83f(0x1,_0x8660e4[_0x3894d5(0x215)]),_0x16b83f(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x16b83f(0x3,_0x1e0609[_0x3894d5(0x22d)])],_0x342240[_0x3894d5(0x2d9)]);var _0x20b29e=Object[_0x3894d5(0x23b)],_0x4a7337=(_0x201f2e,_0x434f06,_0x11cbdf,_0x3fe694)=>{const _0x42fab2=_0x3894d5;for(var _0x427d01=_0x3fe694>0x1?void 0x0:_0x3fe694?_0x20b29e(_0x434f06,_0x11cbdf):_0x434f06,_0x445376=_0x201f2e[_0x42fab2(0x18c)]-0x1,_0x30444e;_0x445376>=0x0;_0x445376--)(_0x30444e=_0x201f2e[_0x445376])&&(_0x427d01=_0x30444e(_0x427d01)||_0x427d01);return _0x427d01;},_0x1c2e4b=(_0x3070d4,_0x2b7d34)=>(_0x549795,_0x255829)=>_0x2b7d34(_0x549795,_0x255829,_0x3070d4);_0x342240[_0x3894d5(0x1ad)]=class extends _0x2fd730[_0x3894d5(0x334)]{constructor(_0x2d4d23,_0x5cae2f,_0x41f247,_0x492f9e,_0x15d4f8){super(_0x2d4d23,_0x5cae2f,_0x41f247,_0x492f9e,_0x15d4f8);}async[_0x3894d5(0x15d)](_0xd9d48c){const _0x29f5ea=_0x3894d5,_0x118d20=await this[_0x29f5ea(0x120)](),_0x24aa07=this[_0x29f5ea(0x156)](_0xd9d48c,_0x118d20);return this[_0x29f5ea(0x35b)](_0x24aa07);}[_0x3894d5(0x156)](_0x45ef3e,_0x482329){const _0x1d3c91=_0x3894d5,_0xb64d13=typeof window>'u'?new URL(_0x45ef3e):new URL(_0x45ef3e,window['location']['origin']);_0xb64d13['searchParams'][_0x1d3c91(0x1b9)](_0x1d3c91(0x2ac),_0x482329);const _0x3452d9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1d3c91(0x2cf)][_0x1d3c91(0x378)]);return _0x3452d9[_0x1d3c91(0x2b6)](_0x1d3c91(0x261))&&_0xb64d13[_0x1d3c91(0x1ef)][_0x1d3c91(0x1b9)](_0x1d3c91(0x261),_0x3452d9[_0x1d3c91(0x2b6)]('runId')),_0xb64d13[_0x1d3c91(0x356)]();}async['_getSessionTicket'](){const _0x16efe3=_0x3894d5;var _0x1b7ce1,_0x4474c4,_0x4ab4b4;const _0x1ec166=this[_0x16efe3(0x209)][_0x16efe3(0x1f0)](_0x2fd730[_0x16efe3(0x205)]),_0x1c9e31=(_0x1b7ce1=_0x1ec166==null?void 0x0:_0x1ec166[_0x16efe3(0x203)])!=null?_0x1b7ce1:_0x2fd730['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4ab4b4=(_0x4474c4=(await this[_0x16efe3(0x296)][_0x16efe3(0x2b6)](_0x1c9e31,{'headers':{'Content-Type':'application/json'}}))[_0x16efe3(0x17d)])==null?void 0x0:_0x4474c4[_0x16efe3(0x2b9)])!=null?_0x4ab4b4:'';}},_0x342240['BrowserCollaborationSocketService']=_0x4a7337([_0x1c2e4b(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x1c2e4b(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1e4e91[_0x3894d5(0x365)])),_0x1c2e4b(0x2,_0x1e0609[_0x3894d5(0x22d)]),_0x1c2e4b(0x3,_0x1e0609[_0x3894d5(0x250)]),_0x1c2e4b(0x4,_0xcfb5d3['ISnapshotServerService'])],_0x342240[_0x3894d5(0x1ad)]);const _0x173a1c=0x7530,_0x237888=_0x3894d5(0x366);class _0x5379f1 extends _0x1e0609['Disposable']{constructor(){const _0x152118=_0x3894d5;super(),_0x552ea8(this,_0x152118(0x363),_0x1e0609[_0x152118(0x27a)]()),_0x552ea8(this,_0x152118(0x19f),new Set()),_0x552ea8(this,_0x152118(0x37b),new Map()),_0x552ea8(this,'_heartbeatTimer',null),_0x552ea8(this,'_clearOtherTimers',new Map()),_0x552ea8(this,'_unitStatus',new Map()),this['_init']();}[_0x3894d5(0x1e1)](){const _0x10c566=_0x3894d5;super[_0x10c566(0x1e1)](),this['_clearOtherTimers'][_0x10c566(0x122)]((_0x318368,_0x19f0ff)=>this['_removeClearOtherTimer'](_0x19f0ff)),this['_heartbeatTimer']&&window[_0x10c566(0x14e)](this[_0x10c566(0x105)]);}['getUnitStatus$'](_0x22f83b){const _0x185c65=_0x3894d5;return this[_0x185c65(0x354)](_0x22f83b)[_0x185c65(0x1cc)](_0x94d9ab['distinctUntilChanged']());}['editingUnit'](_0x5172bb){const _0x13a22a=_0x3894d5;this[_0x13a22a(0x19f)][_0x13a22a(0x158)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x5172bb),this[_0x13a22a(0x327)]({'type':0x0,'memberID':this[_0x13a22a(0x363)],'unitIDs':[_0x5172bb],'isForwarded':!0x1});}[_0x3894d5(0x283)](_0x55a67a){const _0x4262b0=_0x3894d5;this[_0x4262b0(0x19f)][_0x4262b0(0x2e4)](_0x55a67a),this[_0x4262b0(0x19f)][_0x4262b0(0x158)]===0x0&&this['_heartbeatTimer']&&window[_0x4262b0(0x14e)](this[_0x4262b0(0x105)]);}[_0x3894d5(0x28f)](){const _0x249f8c=_0x3894d5;this['disposeWithMe'](_0x1e0609['toDisposable'](_0x94d9ab[_0x249f8c(0x260)](window,'storage')[_0x249f8c(0x30e)](_0x4547eb=>{const _0x73b9e0=_0x249f8c;if(_0x4547eb[_0x73b9e0(0x376)]!==_0x237888||!_0x4547eb[_0x73b9e0(0x2d5)])return;const _0x352c1d=JSON[_0x73b9e0(0x306)](_0x4547eb[_0x73b9e0(0x2d5)]);this[_0x73b9e0(0x1d1)](_0x352c1d);}))),window['addEventListener'](_0x249f8c(0x154),()=>this[_0x249f8c(0x327)]({'type':0x1,'memberID':this[_0x249f8c(0x363)],'unitIDs':Array[_0x249f8c(0x329)](this[_0x249f8c(0x19f)])}));}[_0x3894d5(0x1d1)](_0x64e0e3){const _0x9927e6=_0x3894d5;switch(_0x64e0e3[_0x9927e6(0x31a)]){case 0x0:this[_0x9927e6(0x26d)](_0x64e0e3);break;case 0x1:this[_0x9927e6(0x257)](_0x64e0e3);break;case 0x2:this[_0x9927e6(0x191)](_0x64e0e3);break;}}[_0x3894d5(0x26d)](_0x3a3f10){const _0x3db5b4=_0x3894d5,{unitIDs:_0x130762,memberID:_0x90b931,isForwarded:_0x574db4}=_0x3a3f10;_0x130762[_0x3db5b4(0x122)](_0x2de360=>{const _0xc74326=_0x3db5b4;if(!_0x574db4&&this[_0xc74326(0x37b)][_0xc74326(0x27d)](_0x2de360)&&this[_0xc74326(0x354)](_0x2de360)[_0xc74326(0x147)](_0x2fd730[_0xc74326(0x17a)][_0xc74326(0x193)]),!this[_0xc74326(0x37b)][_0xc74326(0x27d)](_0x2de360)||!this[_0xc74326(0x37b)][_0xc74326(0x2b6)](_0x2de360)[_0xc74326(0x27d)](_0x90b931)){const _0x1c2068=this[_0xc74326(0x37b)][_0xc74326(0x2b6)](_0x2de360)||new Set();_0x1c2068[_0xc74326(0x13d)](_0x90b931),this[_0xc74326(0x37b)][_0xc74326(0x1b9)](_0x2de360,_0x1c2068),this[_0xc74326(0x146)](_0x90b931);}}),_0x574db4||this[_0x3db5b4(0x327)]({'type':0x0,'memberID':this[_0x3db5b4(0x363)],'unitIDs':[...this[_0x3db5b4(0x19f)]],'isForwarded':!0x0});}[_0x3894d5(0x146)](_0x1175ad){const _0x33f630=_0x3894d5;this[_0x33f630(0x31d)](_0x1175ad);const _0x171688=window[_0x33f630(0x1c7)](()=>{const _0x4df4bc=_0x33f630;this['_unitOnClients'][_0x4df4bc(0x122)](_0x7fccf0=>{_0x7fccf0['delete'](_0x1175ad);});},_0x173a1c*0x2);this['_clearOtherTimers'][_0x33f630(0x1b9)](_0x1175ad,_0x171688);}['_removeClearOtherTimer'](_0x44c8b6){const _0x3f3f2e=_0x3894d5;if(this[_0x3f3f2e(0x1bb)][_0x3f3f2e(0x27d)](_0x44c8b6)){const _0x1cbe23=this[_0x3f3f2e(0x1bb)]['get'](_0x44c8b6);_0x1cbe23&&window[_0x3f3f2e(0x371)](_0x1cbe23),this['_clearOtherTimers']['set'](_0x44c8b6,null);}}[_0x3894d5(0x257)](_0x13c1da){const _0x2e9496=_0x3894d5,{memberID:_0x2fa158,unitIDs:_0x46efa8}=_0x13c1da;_0x46efa8[_0x2e9496(0x122)](_0xa17543=>{const _0x307bbe=_0x2e9496;var _0x1d3443;const _0x38a08f=this[_0x307bbe(0x37b)]['get'](_0xa17543);_0x38a08f&&(_0x38a08f[_0x307bbe(0x2e4)](_0x2fa158),(_0x1d3443=this['_ensureSubject'](_0xa17543))==null||_0x1d3443[_0x307bbe(0x147)](_0x38a08f[_0x307bbe(0x158)]===0x0?_0x2fd730['UnitStatus'][_0x307bbe(0x2bd)]:_0x2fd730['UnitStatus'][_0x307bbe(0x193)]));}),this[_0x2e9496(0x31d)](_0x2fa158);}[_0x3894d5(0x191)](_0x3a848e){const _0x3c3202=_0x3894d5;this[_0x3c3202(0x146)](_0x3a848e[_0x3c3202(0x128)]);}[_0x3894d5(0x327)](_0xbda3dd){const _0x311a4b=_0x3894d5;localStorage[_0x311a4b(0x2f8)](_0x237888,JSON[_0x311a4b(0x2de)](_0xbda3dd));}[_0x3894d5(0x262)](){const _0x228587=_0x3894d5;this['_heartbeatTimer']=window[_0x228587(0x1af)](()=>{const _0x3daf19=_0x228587;this[_0x3daf19(0x327)]({'type':0x2,'memberID':this['_id']});},_0x173a1c);}[_0x3894d5(0x354)](_0x24847f){const _0x2f7463=_0x3894d5;return this[_0x2f7463(0x2ab)][_0x2f7463(0x27d)](_0x24847f)||this[_0x2f7463(0x2ab)]['set'](_0x24847f,new _0x94d9ab[(_0x2f7463(0x1ff))](_0x2fd730[_0x2f7463(0x17a)][_0x2f7463(0x2bd)])),this[_0x2f7463(0x2ab)]['get'](_0x24847f);}}var _0x3ebc0d=(_0x560f11=>(_0x560f11[_0x560f11['UNDEFINED']=0x0]='UNDEFINED',_0x560f11[_0x560f11['OK']=0x1]='OK',_0x560f11[_0x560f11[_0x3894d5(0x136)]=0x2]=_0x3894d5(0x136),_0x560f11[_0x560f11['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x560f11[_0x560f11[_0x3894d5(0x323)]=0x4]=_0x3894d5(0x323),_0x560f11[_0x560f11['UNAUTHENTICATED']=0x5]=_0x3894d5(0x276),_0x560f11[_0x560f11[_0x3894d5(0x181)]=0x6]=_0x3894d5(0x181),_0x560f11[_0x560f11[_0x3894d5(0x2c6)]=0x7]=_0x3894d5(0x2c6),_0x560f11[_0x560f11[_0x3894d5(0x2ed)]=0x8]=_0x3894d5(0x2ed),_0x560f11[_0x560f11['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x560f11[_0x560f11[_0x3894d5(0x359)]=0xa]=_0x3894d5(0x359),_0x560f11[_0x560f11[_0x3894d5(0x231)]=0x1389]=_0x3894d5(0x231),_0x560f11[_0x560f11[_0x3894d5(0x292)]=0x1771]=_0x3894d5(0x292),_0x560f11[_0x560f11['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3894d5(0x305),_0x560f11[_0x560f11['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3894d5(0x247),_0x560f11[_0x560f11[_0x3894d5(0x241)]=0x1b59]=_0x3894d5(0x241),_0x560f11[_0x560f11[_0x3894d5(0x313)]=0x1b5a]=_0x3894d5(0x313),_0x560f11[_0x560f11[_0x3894d5(0x1cf)]=0x1b5b]=_0x3894d5(0x1cf),_0x560f11[_0x560f11[_0x3894d5(0x2cb)]=0x1b5c]=_0x3894d5(0x2cb),_0x560f11[_0x560f11['APPLY_DUPLICATED']=0x1b5d]=_0x3894d5(0x251),_0x560f11[_0x560f11[_0x3894d5(0x214)]=0x1f41]=_0x3894d5(0x214),_0x560f11[_0x560f11['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3894d5(0x12a),_0x560f11[_0x560f11[_0x3894d5(0x27b)]=0x232a]=_0x3894d5(0x27b),_0x560f11[_0x560f11[_0x3894d5(0x197)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x560f11[_0x560f11['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3894d5(0x200),_0x560f11[_0x560f11[_0x3894d5(0x155)]=0x232d]=_0x3894d5(0x155),_0x560f11[_0x560f11[_0x3894d5(0x22b)]=0x2711]=_0x3894d5(0x22b),_0x560f11[_0x560f11[_0x3894d5(0x249)]=0x2712]=_0x3894d5(0x249),_0x560f11[_0x560f11[_0x3894d5(0x1eb)]=0x2713]=_0x3894d5(0x1eb),_0x560f11[_0x560f11[_0x3894d5(0x2cd)]=0x2714]=_0x3894d5(0x2cd),_0x560f11[_0x560f11['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x560f11[_0x560f11[_0x3894d5(0x115)]=0x2ee1]=_0x3894d5(0x115),_0x560f11[_0x560f11['INVALID_INVITE_CODE']=0x2ee2]=_0x3894d5(0x291),_0x560f11[_0x560f11[_0x3894d5(0x2cc)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x560f11[_0x560f11[_0x3894d5(0x369)]=0x2ee4]=_0x3894d5(0x369),_0x560f11[_0x560f11[_0x3894d5(0x21e)]=0x2ee5]=_0x3894d5(0x21e),_0x560f11[_0x560f11[_0x3894d5(0x22f)]=0x32c9]=_0x3894d5(0x22f),_0x560f11[_0x560f11[_0x3894d5(0x328)]=0x32ca]=_0x3894d5(0x328),_0x560f11[_0x560f11[_0x3894d5(0x331)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x560f11[_0x560f11['UNRECOGNIZED']=-0x1]=_0x3894d5(0x295),_0x560f11))(_0x3ebc0d||{}),_0x3477e7=Object[_0x3894d5(0x23b)],_0x55464b=(_0x21d325,_0x2da0ba,_0x10fefa,_0x2228a2)=>{const _0x17fd08=_0x3894d5;for(var _0x15e066=_0x2228a2>0x1?void 0x0:_0x2228a2?_0x3477e7(_0x2da0ba,_0x10fefa):_0x2da0ba,_0x77f36e=_0x21d325[_0x17fd08(0x18c)]-0x1,_0xd0bb23;_0x77f36e>=0x0;_0x77f36e--)(_0xd0bb23=_0x21d325[_0x77f36e])&&(_0x15e066=_0xd0bb23(_0x15e066)||_0x15e066);return _0x15e066;},_0x4dc52b=(_0x3bc7c9,_0x311a18)=>(_0x480913,_0x44d16d)=>_0x311a18(_0x480913,_0x44d16d,_0x3bc7c9);_0x342240[_0x3894d5(0x228)]=class extends _0x1e0609[_0x3894d5(0x30d)]{constructor(_0x1bc377,_0x82431c,_0x4157e4){const _0x3a3a60=_0x3894d5;super(),this[_0x3a3a60(0x117)]=_0x1bc377,this['_httpService']=_0x82431c,this[_0x3a3a60(0x209)]=_0x4157e4;}async[_0x3894d5(0x246)](_0x307e54,_0x18c5c0,_0x1766b9,..._0x2c4529){const _0x45b050=_0x3894d5;var _0x3c5eb1,_0x1db30f,_0x276b08,_0x328b12;const _0x46fed9=this[_0x45b050(0x117)][_0x45b050(0x233)]();if(!_0x46fed9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x28e653=((_0x3c5eb1=this[_0x45b050(0x209)]['getConfig'](_0x2fd730[_0x45b050(0x1be)]))!=null?_0x3c5eb1:_0x2fd730[_0x45b050(0x370)])+'/'+_0x307e54+'/run/'+_0x18c5c0,_0x2e31a9=new URL(window['location'][_0x45b050(0x18d)]),_0x481553={'scriptId':_0x307e54,'runId':(_0x1db30f=_0x2e31a9[_0x45b050(0x1ef)][_0x45b050(0x2b6)]('runId'))!=null?_0x1db30f:'','function':_0x18c5c0,'unitId':_0x46fed9[_0x45b050(0xe6)](),'argsOfFunction':JSON[_0x45b050(0x2de)](_0x2c4529),'invokeId':(_0x276b08=_0x1766b9[_0x45b050(0x1a5)])!=null?_0x276b08:'','executionId':(_0x328b12=_0x1766b9['executionId'])!=null?_0x328b12:''};try{const _0x38f4ad=await this['_httpService'][_0x45b050(0x22e)](_0x28e653,{'body':_0x481553});return _0x38f4ad['body'][_0x45b050(0x107)]&&_0x38f4ad[_0x45b050(0x17d)][_0x45b050(0x107)]['code']!==_0x3ebc0d['OK']?'Failed':_0x38f4ad[_0x45b050(0x17d)][_0x45b050(0x32c)];}catch{return'Failed';}}},_0x342240[_0x3894d5(0x228)]=_0x55464b([_0x4dc52b(0x0,_0x1e0609[_0x3894d5(0x301)]),_0x4dc52b(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1e4e91[_0x3894d5(0x365)])),_0x4dc52b(0x2,_0x1e0609['IConfigService'])],_0x342240[_0x3894d5(0x228)]),_0x342240[_0x3894d5(0x31e)]=_0x2352fd,_0x342240[_0x3894d5(0x2d4)]=_0x1d6363,_0x342240['SheetCollabCursorShape']=_0xd0ee36,_0x342240['WebBrowserSingleActiveUnitService']=_0x5379f1,_0x342240[_0x3894d5(0x185)]=_0x53cffe,Object[_0x3894d5(0x17b)](_0x342240,Symbol[_0x3894d5(0xf1)],{'value':_0x3894d5(0x19a)});}));