@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506121607 → 0.8.1-nightly.202506141606

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(_0x43598f,_0x1ce069){const _0x3c682f=_0x25e4,_0x280911=_0x43598f();while(!![]){try{const _0x558bba=-parseInt(_0x3c682f(0x2b7))/0x1*(-parseInt(_0x3c682f(0x22d))/0x2)+parseInt(_0x3c682f(0x192))/0x3+parseInt(_0x3c682f(0x33b))/0x4+parseInt(_0x3c682f(0x136))/0x5*(-parseInt(_0x3c682f(0x34c))/0x6)+-parseInt(_0x3c682f(0x382))/0x7+parseInt(_0x3c682f(0x1b3))/0x8*(-parseInt(_0x3c682f(0x358))/0x9)+parseInt(_0x3c682f(0x1ed))/0xa*(parseInt(_0x3c682f(0x357))/0xb);if(_0x558bba===_0x1ce069)break;else _0x280911['push'](_0x280911['shift']());}catch(_0x23497c){_0x280911['push'](_0x280911['shift']());}}}(_0x225a,0x9fe35),function(_0x4c90d7,_0x5b5833){const _0x4061aa=_0x25e4;typeof exports==_0x4061aa(0x30e)&&typeof module<'u'?_0x5b5833(exports,require(_0x4061aa(0x2c9)),require(_0x4061aa(0x121)),require(_0x4061aa(0x2a6)),require(_0x4061aa(0x1d0)),require(_0x4061aa(0x256)),require(_0x4061aa(0x111)),require(_0x4061aa(0x114)),require('@univerjs/docs'),require(_0x4061aa(0x269)),require('@univerjs/engine-formula'),require(_0x4061aa(0x2d5)),require(_0x4061aa(0x348)),require(_0x4061aa(0x332)),require('react/jsx-runtime'),require(_0x4061aa(0x265)),require('@univerjs/design'),require(_0x4061aa(0x180)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4061aa(0x1d9)]?define([_0x4061aa(0x37e),_0x4061aa(0x2c9),'@univerjs/core',_0x4061aa(0x2a6),'@univerjs/network',_0x4061aa(0x256),_0x4061aa(0x111),_0x4061aa(0x114),'@univerjs/docs',_0x4061aa(0x269),'@univerjs/engine-formula','@univerjs/sheets',_0x4061aa(0x348),'@univerjs/sheets-ui','react/jsx-runtime',_0x4061aa(0x265),_0x4061aa(0x126),_0x4061aa(0x180),'@univerjs/rpc'],_0x5b5833):(_0x4c90d7=typeof globalThis<'u'?globalThis:_0x4c90d7||self,_0x5b5833(_0x4c90d7[_0x4061aa(0x211)]={},_0x4c90d7[_0x4061aa(0x254)],_0x4c90d7['UniverCore'],_0x4c90d7[_0x4061aa(0x20c)],_0x4c90d7[_0x4061aa(0x35c)],_0x4c90d7[_0x4061aa(0x326)],_0x4c90d7['UniverDrawing'],_0x4c90d7[_0x4061aa(0x114)],_0x4c90d7[_0x4061aa(0x215)],_0x4c90d7['UniverProCollaboration'],_0x4c90d7[_0x4061aa(0x289)],_0x4c90d7[_0x4061aa(0x1f9)],_0x4c90d7['rxjs'][_0x4061aa(0x1b6)],_0x4c90d7[_0x4061aa(0x2bb)],_0x4c90d7[_0x4061aa(0x37c)],_0x4c90d7['UniverUi'],_0x4c90d7[_0x4061aa(0x2dd)],_0x4c90d7['React'],_0x4c90d7[_0x4061aa(0x10f)]));}(this,function(_0x4392a1,_0x3d42b8,_0x20df47,_0x4e3aee,_0x230e9b,_0x8e9d75,_0x1a7423,_0x3396eb,_0xb95e52,_0x3395bd,_0x3bbe9e,_0x3148e7,_0xb9a466,_0x3410d0,_0x58edf1,_0x1229e7,_0x42ee62,_0x14d7ce,_0xdffc4){'use strict';const _0x364fc7=_0x25e4;var _0x24ec4f=Object['defineProperty'],_0x556e58=(_0x4c7413,_0x33b5a9,_0x181759)=>_0x33b5a9 in _0x4c7413?_0x24ec4f(_0x4c7413,_0x33b5a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x181759}):_0x4c7413[_0x33b5a9]=_0x181759,_0x4a92d0=(_0x55a34d,_0x41c959,_0x4087db)=>_0x556e58(_0x55a34d,typeof _0x41c959!=_0x364fc7(0x27e)?_0x41c959+'':_0x41c959,_0x4087db),_0xefbd97=Object[_0x364fc7(0x26c)],_0x1055ec=(_0x5d0c96,_0x1b0171,_0x43fb18,_0x503d5b)=>{for(var _0x500464=_0x503d5b>0x1?void 0x0:_0x503d5b?_0xefbd97(_0x1b0171,_0x43fb18):_0x1b0171,_0x48354c=_0x5d0c96['length']-0x1,_0x3af661;_0x48354c>=0x0;_0x48354c--)(_0x3af661=_0x5d0c96[_0x48354c])&&(_0x500464=_0x3af661(_0x500464)||_0x500464);return _0x500464;},_0xd365e8=(_0xbd8500,_0x55ba99)=>(_0x5bd548,_0x3a6158)=>_0x55ba99(_0x5bd548,_0x3a6158,_0xbd8500);let _0x5ecd54=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x429164,_0x3e8ea3){const _0x5d2c2a=_0x364fc7;super(),this[_0x5d2c2a(0x16e)]=_0x429164,this[_0x5d2c2a(0x24b)]=_0x3e8ea3,this[_0x5d2c2a(0x184)]();}[_0x364fc7(0x184)](){const _0x34ff83=_0x364fc7,_0x4dc90c=this;this[_0x34ff83(0x363)](this[_0x34ff83(0x16e)]['addClipboardHook']({'onBeforePasteImage':async _0xca6de1=>{const _0x3e8a93=_0x34ff83,_0x5bbdbc=await _0x4dc90c[_0x3e8a93(0x24b)]['saveImage'](_0xca6de1);return _0x5bbdbc?{'source':_0x5bbdbc['source'],'imageSourceType':_0x5bbdbc['imageSourceType']}:null;}}));}};_0x5ecd54=_0x1055ec([_0xd365e8(0x0,_0x8e9d75[_0x364fc7(0x17e)]),_0xd365e8(0x1,_0x1a7423[_0x364fc7(0x361)])],_0x5ecd54);const _0x2b4e89=[_0x364fc7(0x199),_0x364fc7(0x127),_0x364fc7(0x1d2),_0x364fc7(0x125),_0x364fc7(0x1e5),'yellow.400'];class _0x5cb8a1 extends _0x20df47['Disposable']{constructor(){const _0x5f0b9b=_0x364fc7;super(...arguments),_0x4a92d0(this,_0x5f0b9b(0x34b),new Map()),_0x4a92d0(this,_0x5f0b9b(0x384),0x0);}[_0x364fc7(0x286)](_0x10c989){const _0x3d163a=_0x364fc7;if(this[_0x3d163a(0x34b)]['has'](_0x10c989))return this[_0x3d163a(0x34b)][_0x3d163a(0x19c)](_0x10c989);const _0x2a4e04=_0x2b4e89[this[_0x3d163a(0x384)]];return this[_0x3d163a(0x384)]=(this['_colorIndex']+0x1)%_0x2b4e89[_0x3d163a(0x18f)],this[_0x3d163a(0x34b)][_0x3d163a(0x394)](_0x10c989,_0x2a4e04),_0x2a4e04;}}function _0x369e08(_0x26d382){const _0x32ecb6=_0x364fc7;let _0x16c485='';for(const _0x2f0e62 of _0x26d382){const {startOffset:_0x38e093,endOffset:_0x21d16c,isActive:_0x5c50a6,rangeType:_0x381761,segmentId:_0x272c90,segmentPage:_0x5b3d63}=_0x2f0e62;_0x16c485[_0x32ecb6(0x18f)]&&(_0x16c485+=','),_0x16c485+=_0x38e093+':'+_0x21d16c+':'+(_0x5c50a6?'1':'0')+':'+_0x381761+':'+_0x272c90+':'+_0x5b3d63;}return _0x16c485;}function _0x4d5903(_0x4cbc66){const _0x2dc81e=_0x364fc7,_0x5186bb=_0x4cbc66[_0x2dc81e(0x297)](','),_0x53972e=[];for(const _0xe46f15 of _0x5186bb){const [_0x542684,_0x27a484,_0x38468e,_0x4a1635,_0x5eda0b,_0x41c1b5]=_0xe46f15[_0x2dc81e(0x297)](':');_0x53972e[_0x2dc81e(0x1a5)]({'startOffset':Number(_0x542684),'endOffset':Number(_0x27a484),'collapsed':_0x542684===_0x27a484,'isActive':_0x38468e==='1','rangeType':_0x4a1635===_0x20df47[_0x2dc81e(0x1d5)]['TEXT']?_0x20df47[_0x2dc81e(0x1d5)][_0x2dc81e(0x279)]:_0x20df47['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x5eda0b=='string'?String(_0x5eda0b):'','segmentPage':Number(_0x41c1b5!=null?_0x41c1b5:-0x1)});}return _0x53972e[_0x2dc81e(0x1f6)](_0x5d1ac0=>_0x5d1ac0['isActive'])||(_0x53972e[0x0][_0x2dc81e(0x22b)]=!0x0),_0x53972e;}class _0x28b84a extends _0x20df47[_0x364fc7(0x36e)]{constructor(){const _0x403cd4=_0x364fc7;super(...arguments),_0x4a92d0(this,_0x403cd4(0x233),new _0x3396eb[(_0x403cd4(0x374))](null)),_0x4a92d0(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x364fc7(0x168)](_0x4f8fa2){const _0x3b1698=_0x364fc7,{unitID:_0x5086ef,memberID:_0x4eae28,textRanges:_0x5e618f}=_0x4f8fa2,_0x449b90=_0x369e08(_0x5e618f);if(_0x449b90==='')return;const _0x520053={'unitID':_0x5086ef,'memberID':_0x4eae28,'selection':_0x449b90};this[_0x3b1698(0x233)]['next'](_0x520053);}}var _0x59a0a5=Object[_0x364fc7(0x26c)],_0x2e8be0=(_0xb0271b,_0x2dbe14,_0x36a3db,_0x553219)=>{for(var _0x5a59fa=_0x553219>0x1?void 0x0:_0x553219?_0x59a0a5(_0x2dbe14,_0x36a3db):_0x2dbe14,_0x420d32=_0xb0271b['length']-0x1,_0x1565a4;_0x420d32>=0x0;_0x420d32--)(_0x1565a4=_0xb0271b[_0x420d32])&&(_0x5a59fa=_0x1565a4(_0x5a59fa)||_0x5a59fa);return _0x5a59fa;},_0x1bae86=(_0x756287,_0x3d3d86)=>(_0x3f8c7b,_0x3cef29)=>_0x3d3d86(_0x3f8c7b,_0x3cef29,_0x756287);const _0xcecaa9=0x12c,_0x776986=0x64;let _0x16045f=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x584166,_0x3405d3,_0xf6a7c3,_0x4338e5,_0x3dce3e,_0x51518a,_0x5bf332,_0x27f2a3,_0x370536){const _0x1f1853=_0x364fc7;super(),_0x4a92d0(this,_0x1f1853(0x2e9),!0x1),_0x4a92d0(this,_0x1f1853(0x184),!0x1),_0x4a92d0(this,_0x1f1853(0x1fc),new _0x3396eb[(_0x1f1853(0x374))](new Map())),_0x4a92d0(this,_0x1f1853(0x2f1),this[_0x1f1853(0x1fc)][_0x1f1853(0x29f)]()),_0x4a92d0(this,'_roomMembers$',new _0x3396eb[(_0x1f1853(0x374))]([])),_0x4a92d0(this,_0x1f1853(0x352),this[_0x1f1853(0x123)]['pipe'](_0x3396eb[_0x1f1853(0x26a)](_0xcecaa9))),_0x4a92d0(this,_0x1f1853(0x33a),_0x20df47[_0x1f1853(0x304)](_0x252319=>{const _0x3673a8=_0x1f1853,_0x388afa={'eventID':_0x3395bd[_0x3673a8(0x16a)][_0x3673a8(0x21a)],'data':{'unitID':this[_0x3673a8(0x25d)],'memberID':this[_0x3673a8(0x15f)][_0x3673a8(0x37b)](),'selection':_0x369e08(_0x252319)}};this[_0x3673a8(0x15f)][_0x3673a8(0x32c)](_0x388afa,this[_0x3673a8(0x25d)]);},_0x776986)),(this[_0x1f1853(0x25d)]=_0x584166,this['_session']=_0x3405d3,this[_0x1f1853(0x1b2)]=_0xf6a7c3,this['_colorAssignService']=_0x4338e5,this['_memberService']=_0x3dce3e,this[_0x1f1853(0x346)]=_0x51518a,this[_0x1f1853(0x1bf)]=_0x5bf332,this[_0x1f1853(0x1c2)]=_0x27f2a3,this[_0x1f1853(0x197)]=_0x370536);}get[_0x364fc7(0x209)](){const _0x5350c7=_0x364fc7;return this[_0x5350c7(0x1fc)]['getValue']();}get[_0x364fc7(0x112)](){const _0x17847=_0x364fc7;return this['_roomMembers$'][_0x17847(0x2c8)]();}[_0x364fc7(0x13f)](){const _0x13feac=_0x364fc7;super[_0x13feac(0x13f)](),this[_0x13feac(0x1fc)][_0x13feac(0x333)](new Map()),this['_cursorInfo$'][_0x13feac(0x2b2)](),this[_0x13feac(0x123)][_0x13feac(0x333)]([]),this[_0x13feac(0x123)][_0x13feac(0x2b2)]();}['init'](){const _0x5d3433=_0x364fc7;this[_0x5d3433(0x184)]||(this[_0x5d3433(0x184)]=!0x0,this[_0x5d3433(0x15f)][_0x5d3433(0x18a)][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))[_0x5d3433(0x276)](_0x5d0dfc=>{const _0x28b22e=_0x5d3433;_0x5d0dfc===_0x3d42b8['SessionStatus'][_0x28b22e(0x306)]?this[_0x28b22e(0x1d6)]():this['_toggleOffline']();}),this[_0x5d3433(0x15f)][_0x5d3433(0x18d)][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))[_0x5d3433(0x276)](_0x2e1b71=>{const _0x136ec2=_0x5d3433,_0x3de0e2=_0x2e1b71['eventID'];_0x3de0e2===_0x3395bd[_0x136ec2(0x16a)][_0x136ec2(0x21a)]&&this['_onCursorUpdate'](_0x2e1b71),_0x3de0e2===_0x3395bd[_0x136ec2(0x16a)][_0x136ec2(0x299)]&&this['_onCursorDelete'](_0x2e1b71);}),this['disposeWithMe'](this[_0x5d3433(0x197)][_0x5d3433(0x33f)](_0x4e3bec=>{const _0x3209b2=_0x5d3433,_0x934762=_0x4e3bec[_0x3209b2(0x1f3)];_0x934762!=null&&this['_online']&&_0x4e3bec['id']===_0xb95e52[_0x3209b2(0x2b5)]['id']&&_0x934762['unitId']===this[_0x3209b2(0x25d)]&&_0x934762[_0x3209b2(0x28c)]===!0x1&&_0x934762['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x934762['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))['subscribe'](_0x10d318=>{const _0x32f785=_0x5d3433;if((_0x10d318==null?void 0x0:_0x10d318[_0x32f785(0x25d)])!==this[_0x32f785(0x25d)])return;const _0x2ef52f={'eventID':_0x3395bd['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x10d318};this[_0x32f785(0x210)](_0x2ef52f);}),this[_0x5d3433(0x363)](this[_0x5d3433(0x197)][_0x5d3433(0x33f)](_0x173d1b=>{const _0x5b3253=_0x5d3433;if(_0x173d1b['params']==null)return;const _0x43e5f8=_0x173d1b[_0x5b3253(0x1f3)];if(_0x173d1b['id']!==_0xb95e52['RichTextEditingMutation']['id']||_0x43e5f8['unitId']!==this[_0x5b3253(0x25d)])return;const _0x3d51e9={'id':_0x5b3253(0x1b1),'params':_0x43e5f8},_0x513ee1=this[_0x5b3253(0x209)];for(const [_0x2454f9,_0x155f89]of _0x513ee1){const _0x5c7440={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5b3253(0x25d)],'actions':null,'textRanges':_0x155f89['ranges']}},_0x477c2b=this['_transformService'][_0x5b3253(0x17a)](_0x3d51e9,_0x5c7440,!0x1);if(_0x3395bd[_0x5b3253(0x271)](_0x477c2b))throw _0x477c2b[_0x5b3253(0x1bb)];_0x513ee1[_0x5b3253(0x394)](_0x2454f9,{..._0x155f89,'ranges':_0x477c2b[_0x5b3253(0x138)][_0x5b3253(0x1f3)]['textRanges']});}queueMicrotask(()=>{const _0x915c77=_0x5b3253;this[_0x915c77(0x1fc)][_0x915c77(0x333)](_0x513ee1);});})));}['_onCursorUpdate'](_0x39a17f){const _0x54bd21=_0x364fc7;var _0xe38ed0,_0x5a5593;const {memberID:_0x30b134,selection:_0x36331b}=_0x39a17f['data'],_0xef241c=_0x4d5903(_0x36331b),_0x1a367b=(_0x5a5593=(_0xe38ed0=this[_0x54bd21(0x2cb)][_0x54bd21(0x28d)](this['unitID'],_0x30b134))==null?void 0x0:_0xe38ed0[_0x54bd21(0x287)])!=null?_0x5a5593:_0x54bd21(0x2d7),_0x2226dd={'color':this[_0x54bd21(0x1b7)][_0x54bd21(0x286)](_0x30b134),'name':_0x1a367b,'ranges':_0xef241c},_0xcab940=this['cursorInfo'];_0xcab940[_0x54bd21(0x394)](_0x30b134,_0x2226dd),this[_0x54bd21(0x1fc)]['next'](_0xcab940);}[_0x364fc7(0x124)](_0x899a5d){const _0x5cade7=_0x364fc7,{memberID:_0xfcf45c}=_0x899a5d[_0x5cade7(0x277)],_0x504cab=this['cursorInfo'];_0x504cab[_0x5cade7(0x1c3)](_0xfcf45c),this[_0x5cade7(0x1fc)]['next'](_0x504cab);}[_0x364fc7(0x1d6)](){const _0x38bfc4=_0x364fc7;var _0x52e9e3;if(this[_0x38bfc4(0x2e9)]=!0x0,((_0x52e9e3=this[_0x38bfc4(0x1c2)][_0x38bfc4(0x238)]())==null?void 0x0:_0x52e9e3[_0x38bfc4(0x191)]())!==this['unitID'])return;const _0x5c9f63=this[_0x38bfc4(0x1b2)][_0x38bfc4(0x19c)](_0xb95e52[_0x38bfc4(0x247)])[_0x38bfc4(0x314)]();Array[_0x38bfc4(0x237)](_0x5c9f63)&&_0x5c9f63[_0x38bfc4(0x18f)]>0x0&&this[_0x38bfc4(0x33a)](_0x5c9f63);}[_0x364fc7(0x2eb)](){this['_online']=!0x1;}};_0x16045f=_0x2e8be0([_0x1bae86(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47['Injector'])),_0x1bae86(0x3,_0x20df47[_0x364fc7(0x28b)](_0x5cb8a1)),_0x1bae86(0x4,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x317)])),_0x1bae86(0x5,_0x20df47[_0x364fc7(0x28b)](_0x28b84a)),_0x1bae86(0x6,_0x3395bd['ITransformService']),_0x1bae86(0x7,_0x20df47[_0x364fc7(0x303)]),_0x1bae86(0x8,_0x20df47[_0x364fc7(0x353)])],_0x16045f);var _0x5b4adc=Object[_0x364fc7(0x26c)],_0x4f057e=(_0x3e09ea,_0x5e0733,_0x4bc323,_0x35ffcd)=>{for(var _0x2b4b48=_0x35ffcd>0x1?void 0x0:_0x35ffcd?_0x5b4adc(_0x5e0733,_0x4bc323):_0x5e0733,_0x5a345a=_0x3e09ea['length']-0x1,_0x21c43c;_0x5a345a>=0x0;_0x5a345a--)(_0x21c43c=_0x3e09ea[_0x5a345a])&&(_0x2b4b48=_0x21c43c(_0x2b4b48)||_0x2b4b48);return _0x2b4b48;},_0x92345a=(_0x53a3e2,_0x4f6f25)=>(_0x34cf3f,_0x568507)=>_0x4f6f25(_0x34cf3f,_0x568507,_0x53a3e2);const _0x187c9f=0x12c,_0x414c39=0x64,_0x3e56df=()=>{let _0x4e25e2=[],_0x5ba84c=!0x1;return _0x5c58fb=>{_0x4e25e2['push'](_0x5c58fb),_0x5ba84c||(_0x5ba84c=!0x0,setTimeout(()=>{_0x4e25e2['forEach'](_0x41dd51=>_0x41dd51()),_0x4e25e2=[],_0x5ba84c=!0x1;}));};};let _0x53f689=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x2bd760,_0x3445ad,_0x17838e,_0x47b82c,_0x53a45a,_0x9191c8,_0xa5d2b5,_0x2b19d7){const _0x1a5096=_0x364fc7;super(),_0x4a92d0(this,_0x1a5096(0x2e9),!0x1),_0x4a92d0(this,_0x1a5096(0x184),!0x1),_0x4a92d0(this,'_cursorInfo$',new _0x3396eb[(_0x1a5096(0x374))](new Map())),_0x4a92d0(this,_0x1a5096(0x2f1),this[_0x1a5096(0x1fc)][_0x1a5096(0x29f)]()),_0x4a92d0(this,_0x1a5096(0x123),new _0x3396eb[(_0x1a5096(0x374))]([])),_0x4a92d0(this,_0x1a5096(0x352),this[_0x1a5096(0x123)]['pipe'](_0x3396eb[_0x1a5096(0x26a)](_0x187c9f))),_0x4a92d0(this,_0x1a5096(0x33a),_0x20df47['debounce']((_0xbb0652,_0x25be08)=>{const _0x581f7e=_0x1a5096,_0x430f2a={'eventID':_0x3395bd[_0x581f7e(0x16a)][_0x581f7e(0x21a)],'data':{'unitID':this[_0x581f7e(0x25d)],'memberID':this[_0x581f7e(0x15f)]['getMemberID'](),'selection':_0x3bbe9e[_0x581f7e(0x2e7)](_0xbb0652,_0x25be08[_0x581f7e(0x208)])}};this['_session'][_0x581f7e(0x32c)](_0x430f2a,this[_0x581f7e(0x25d)]);},_0x414c39)),(this[_0x1a5096(0x25d)]=_0x2bd760,this['_session']=_0x3445ad,this['_injector']=_0x17838e,this[_0x1a5096(0x1b7)]=_0x47b82c,this[_0x1a5096(0x2cb)]=_0x53a45a,this[_0x1a5096(0x1c2)]=_0x9191c8,this[_0x1a5096(0x197)]=_0xa5d2b5,this['_refRangeService']=_0x2b19d7);}get[_0x364fc7(0x209)](){const _0x3688fd=_0x364fc7;return this[_0x3688fd(0x1fc)][_0x3688fd(0x2c8)]();}get[_0x364fc7(0x112)](){const _0x3ccea9=_0x364fc7;return this[_0x3ccea9(0x123)][_0x3ccea9(0x2c8)]();}[_0x364fc7(0x13f)](){const _0x227b0e=_0x364fc7;super[_0x227b0e(0x13f)](),this[_0x227b0e(0x1fc)][_0x227b0e(0x333)](new Map()),this[_0x227b0e(0x1fc)]['complete'](),this['_roomMembers$']['next']([]),this[_0x227b0e(0x123)][_0x227b0e(0x2b2)]();}[_0x364fc7(0x313)](){const _0x221ca7=_0x364fc7;this['_init']||(this[_0x221ca7(0x184)]=!0x0,this['_session'][_0x221ca7(0x18a)]['pipe'](_0x3396eb[_0x221ca7(0x2ad)](this[_0x221ca7(0x365)]))[_0x221ca7(0x276)](_0x5f59f5=>{const _0x23e73a=_0x221ca7;_0x5f59f5===_0x3d42b8[_0x23e73a(0x2b1)][_0x23e73a(0x306)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x221ca7(0x15f)][_0x221ca7(0x18d)][_0x221ca7(0x13a)](_0x3396eb[_0x221ca7(0x2ad)](this[_0x221ca7(0x365)]))['subscribe'](_0x54ee44=>{const _0xfabf3c=_0x221ca7,_0x485c8a=_0x54ee44[_0xfabf3c(0x122)];_0x485c8a===_0x3395bd[_0xfabf3c(0x16a)]['UPDATE_CURSOR']&&this[_0xfabf3c(0x210)](_0x54ee44),_0x485c8a===_0x3395bd[_0xfabf3c(0x16a)][_0xfabf3c(0x299)]&&this[_0xfabf3c(0x124)](_0x54ee44);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x221ca7(0x197)][_0x221ca7(0x33f)](_0x349206=>{const _0x175054=_0x221ca7;if(this['_online']&&_0x349206['id']===_0x3148e7['SetSelectionsOperation']['id']&&_0x349206[_0x175054(0x1f3)][_0x175054(0x220)]===this[_0x175054(0x25d)]){const _0x1c30ad=_0x349206[_0x175054(0x1f3)];this[_0x175054(0x33a)](_0x1c30ad[_0x175054(0x1e6)],_0x1c30ad[_0x175054(0x207)][0x0]);}})));}[_0x364fc7(0x210)](_0x326f5c){const _0x34b6b2=_0x364fc7;var _0x1d0d71,_0xaca925;const {memberID:_0x1be6ca,selection:_0x4768b6}=_0x326f5c[_0x34b6b2(0x277)],{sheetName:_0x5ed9e4,range:_0xb25c80}=_0x3bbe9e[_0x34b6b2(0x283)](_0x4768b6),_0x597e1e={'name':(_0xaca925=(_0x1d0d71=this[_0x34b6b2(0x2cb)]['getMember'](this['unitID'],_0x1be6ca))==null?void 0x0:_0x1d0d71[_0x34b6b2(0x287)])!=null?_0xaca925:_0x34b6b2(0x2d7),'range':this[_0x34b6b2(0x2bd)](_0x5ed9e4,_0xb25c80),'sheetID':_0x5ed9e4,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1be6ca),'selection':_0x4768b6},_0x1a0f52=this[_0x34b6b2(0x209)];_0x1a0f52[_0x34b6b2(0x394)](_0x1be6ca,_0x597e1e),this[_0x34b6b2(0x1fc)][_0x34b6b2(0x333)](_0x1a0f52);}['_onCursorDelete'](_0x1289ce){const _0x1a5592=_0x364fc7,{memberID:_0x34df2f}=_0x1289ce[_0x1a5592(0x277)],_0x26a2da=this[_0x1a5592(0x209)];_0x26a2da[_0x1a5592(0x1c3)](_0x34df2f),this[_0x1a5592(0x1fc)]['next'](_0x26a2da);}[_0x364fc7(0x2bd)](_0x1fec1a,_0x5d14a8){const _0x33f1f5=_0x364fc7;var _0x9dcb60,_0x281c99;const _0x41e712=(_0x281c99=(_0x9dcb60=this[_0x33f1f5(0x1c2)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x9dcb60[_0x33f1f5(0x28f)](_0x1fec1a))==null?void 0x0:_0x281c99['getMergeData']();return(_0x41e712==null?void 0x0:_0x41e712[_0x33f1f5(0x2ff)](_0x3d6f25=>_0x20df47[_0x33f1f5(0x378)][_0x33f1f5(0x203)](_0x3d6f25,_0x5d14a8)))||_0x5d14a8;}[_0x364fc7(0x2c2)](){const _0x46cd3e=_0x364fc7,_0x36961c=new _0x20df47[(_0x46cd3e(0x196))](),_0x33abb0=_0x3e56df(),_0x178605=()=>{const _0x6de95f=_0x46cd3e;_0x36961c[_0x6de95f(0x13f)]();const _0x1a9893=(_0x4c78ab,_0x5cad1e,_0x584a87,_0x132237)=>{const _0x58a730=_0x6de95f;let _0x550dbd=[];switch(_0x4c78ab['id']){case _0x3148e7[_0x58a730(0x1c1)]['DeleteRangeMoveLeftCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x1c7)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x311)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x2fa)]:{_0x550dbd=_0x3148e7[_0x58a730(0x36c)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId'][_0x58a730(0x14f)]:{_0x550dbd=_0x3148e7['handleInsertRangeMoveDown'](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId'][_0x58a730(0x344)]:{_0x550dbd=_0x3148e7[_0x58a730(0x293)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId']['InsertRowCommandId']:{_0x550dbd=_0x3148e7['handleInsertRow'](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x322)]:{_0x550dbd=_0x3148e7[_0x58a730(0x309)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)]['RemoveColCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x305)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x2fc)]:{_0x550dbd=_0x3148e7[_0x58a730(0x195)](_0x4c78ab,_0x132237);break;}}const _0x557ad8=_0x3148e7[_0x58a730(0x1d8)](_0x550dbd,_0x132237),_0x372ef3=this[_0x58a730(0x209)][_0x58a730(0x19c)](_0x5cad1e);if(_0x372ef3&&_0x557ad8){const _0x273ebf={..._0x372ef3,'range':_0x557ad8};this[_0x58a730(0x209)]['set'](_0x5cad1e,_0x273ebf),_0x33abb0(()=>{const _0x3a05bd=_0x58a730,_0x47a099=this[_0x3a05bd(0x1c4)][_0x3a05bd(0x2bf)](_0x557ad8,_0x3e5af8=>(_0x47a099[_0x3a05bd(0x13f)](),_0x1a9893(_0x3e5af8,_0x5cad1e,_0x584a87,_0x557ad8)));_0x36961c[_0x3a05bd(0x370)](_0x47a099);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6de95f(0x24a)]((_0x5415ee,_0x2d798e)=>{const _0x19c772=_0x6de95f,{range:_0x551040,sheetID:_0x4946cb}=_0x5415ee,_0x508579=this[_0x19c772(0x1c4)][_0x19c772(0x2bf)](_0x551040,_0x21e63c=>(_0x508579[_0x19c772(0x13f)](),_0x1a9893(_0x21e63c,_0x2d798e,_0x4946cb,_0x551040)));_0x36961c[_0x19c772(0x370)](_0x508579);});};this[_0x46cd3e(0x363)](_0x20df47[_0x46cd3e(0x222)](this['_cursorInfo$']['subscribe'](()=>{_0x178605();})));}[_0x364fc7(0x1d6)](){const _0x56ae8d=_0x364fc7;var _0x150c80,_0x4398af;if(this['_online']=!0x0,((_0x150c80=this[_0x56ae8d(0x1c2)][_0x56ae8d(0x238)]())==null?void 0x0:_0x150c80[_0x56ae8d(0x191)]())!==this[_0x56ae8d(0x25d)])return;const _0x381581=(_0x4398af=this['_injector'][_0x56ae8d(0x19c)](_0x3148e7[_0x56ae8d(0x150)])[_0x56ae8d(0x1af)]())==null?void 0x0:_0x4398af[0x0],_0x43826b=this[_0x56ae8d(0x1c2)]['getCurrentUnitForType'](_0x20df47[_0x56ae8d(0x386)]['UNIVER_SHEET'])[_0x56ae8d(0x2cc)]();_0x381581&&_0x43826b&&this[_0x56ae8d(0x33a)](_0x43826b[_0x56ae8d(0x33c)](),_0x381581);}['_toggleOffline'](){const _0x33ece5=_0x364fc7;this[_0x33ece5(0x2e9)]=!0x1;}};_0x53f689=_0x4f057e([_0x92345a(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x92345a(0x3,_0x20df47[_0x364fc7(0x28b)](_0x5cb8a1)),_0x92345a(0x4,_0x20df47['Inject'](_0x3d42b8[_0x364fc7(0x317)])),_0x92345a(0x5,_0x20df47[_0x364fc7(0x303)]),_0x92345a(0x6,_0x20df47[_0x364fc7(0x353)]),_0x92345a(0x7,_0x20df47[_0x364fc7(0x28b)](_0x3148e7['RefRangeService']))],_0x53f689);var _0x2759fd=Object[_0x364fc7(0x26c)],_0x42541d=(_0x5427cb,_0x12d1af,_0x23ccab,_0x25c8eb)=>{const _0x217a87=_0x364fc7;for(var _0x15b56d=_0x25c8eb>0x1?void 0x0:_0x25c8eb?_0x2759fd(_0x12d1af,_0x23ccab):_0x12d1af,_0x1a41cc=_0x5427cb[_0x217a87(0x18f)]-0x1,_0x12d219;_0x1a41cc>=0x0;_0x1a41cc--)(_0x12d219=_0x5427cb[_0x1a41cc])&&(_0x15b56d=_0x12d219(_0x15b56d)||_0x15b56d);return _0x15b56d;},_0x335437=(_0x5dcccb,_0x4afed9)=>(_0x3cdfc7,_0x558fd6)=>_0x4afed9(_0x3cdfc7,_0x558fd6,_0x5dcccb);let _0x100640=class extends _0x20df47['RxDisposable']{constructor(_0x250e30,_0x122f5a,_0x1fb054){const _0x50c691=_0x364fc7;super(),_0x4a92d0(this,_0x50c691(0x38f),new Map()),_0x4a92d0(this,_0x50c691(0x35e),new _0x3396eb[(_0x50c691(0x38d))]()),(this['_univerInstanceService']=_0x250e30,this[_0x50c691(0x1b2)]=_0x122f5a,this[_0x50c691(0x1d3)]=_0x1fb054,this[_0x50c691(0x184)]());}['dispose'](){const _0x3f52e1=_0x364fc7;super[_0x3f52e1(0x13f)](),this[_0x3f52e1(0x35e)]['complete'](),this[_0x3f52e1(0x38f)][_0x3f52e1(0x24a)](_0x5c04cc=>_0x5c04cc[_0x3f52e1(0x13f)]());}[_0x364fc7(0x1fe)](_0x49769f){const _0x49b3b7=_0x364fc7;return this[_0x49b3b7(0x38f)][_0x49b3b7(0x1f1)](_0x49769f)?this['_entities'][_0x49b3b7(0x19c)](_0x49769f)['cursorInfo$']:this[_0x49b3b7(0x35e)][_0x49b3b7(0x13a)](_0x3396eb[_0x49b3b7(0x29d)](_0x59196d=>_0x59196d[_0x49b3b7(0x25d)]===_0x49769f),_0x3396eb[_0x49b3b7(0x187)](_0x31b7a0=>_0x31b7a0[_0x49b3b7(0x2f1)]));}[_0x364fc7(0x184)](){const _0x3a578a=_0x364fc7;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x32e)])[_0x3a578a(0x13a)](_0x3396eb['takeUntil'](this[_0x3a578a(0x365)]))['subscribe'](async _0xa9064b=>{const _0x3ccf8b=_0x3a578a,_0x156c81=_0xa9064b[_0x3ccf8b(0x191)](),_0x8b0184=await this[_0x3ccf8b(0x149)](_0x156c81);this[_0x3ccf8b(0x35e)][_0x3ccf8b(0x333)](_0x8b0184),this[_0x3ccf8b(0x38f)][_0x3ccf8b(0x394)](_0x156c81,_0x8b0184);}),this[_0x3a578a(0x1c2)]['getTypeOfUnitAdded$'](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x2d6)])[_0x3a578a(0x13a)](_0x3396eb[_0x3a578a(0x2ad)](this[_0x3a578a(0x365)]))['pipe'](_0x3396eb[_0x3a578a(0x29d)](_0x448916=>!_0x448916[_0x3a578a(0x191)]()['startsWith']('__')))[_0x3a578a(0x276)](async _0x14e431=>{const _0x4fff68=_0x3a578a,_0x1784a9=_0x14e431[_0x4fff68(0x191)](),_0x570a04=await this['_startDocCollabCursor'](_0x1784a9);this[_0x4fff68(0x35e)][_0x4fff68(0x333)](_0x570a04),this[_0x4fff68(0x38f)][_0x4fff68(0x394)](_0x1784a9,_0x570a04);}),_0x3396eb[_0x3a578a(0x146)](this[_0x3a578a(0x1c2)][_0x3a578a(0x174)](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x2d6)]),this[_0x3a578a(0x1c2)]['getTypeOfUnitDisposed$'](_0x20df47['UniverInstanceType'][_0x3a578a(0x32e)]))['pipe'](_0x3396eb[_0x3a578a(0x2ad)](this['dispose$']))[_0x3a578a(0x276)](_0x2c492a=>{const _0x4d7305=_0x3a578a,_0x57e5cb=_0x2c492a['getUnitId'](),_0x2000ec=this['_entities'][_0x4d7305(0x19c)](_0x57e5cb);_0x2000ec&&(_0x2000ec[_0x4d7305(0x13f)](),this[_0x4d7305(0x38f)][_0x4d7305(0x1c3)](_0x57e5cb));});}async[_0x364fc7(0x149)](_0x9b4c18){const _0x51f393=_0x364fc7,_0x4cf94a=await this[_0x51f393(0x1d3)][_0x51f393(0x1e1)](_0x9b4c18),_0x36e3d0=this['_injector'][_0x51f393(0x12a)](_0x53f689,_0x9b4c18,_0x4cf94a);return _0x36e3d0[_0x51f393(0x313)](),_0x36e3d0;}async[_0x364fc7(0x282)](_0x37e88c){const _0x79e5a=_0x364fc7,_0x40af69=await this[_0x79e5a(0x1d3)][_0x79e5a(0x1e1)](_0x37e88c),_0xb1416d=this[_0x79e5a(0x1b2)]['createInstance'](_0x16045f,_0x37e88c,_0x40af69);return _0xb1416d[_0x79e5a(0x313)](),_0xb1416d;}};_0x100640=_0x42541d([_0x335437(0x0,_0x20df47[_0x364fc7(0x303)]),_0x335437(0x1,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x335437(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x383)]))],_0x100640);const _0xa14d99=0x14,_0x1b63c7=0xc8,_0xf51cdb=0x4,_0x16408e=0x5;function _0x5c5729(_0x4c2771,_0x392fc6){const _0x2bca3e=_0x364fc7;let {radius:_0x4758af,width:_0x104562,height:_0x50a934}=_0x392fc6;_0x4758af=_0x4758af!=null?_0x4758af:0x0,_0x104562=_0x104562!=null?_0x104562:0x1e,_0x50a934=_0x50a934!=null?_0x50a934:0x1e;let _0x54901d=0x0,_0x5ca567=0x0,_0x2d28de=0x0;_0x54901d=_0x5ca567=_0x2d28de=Math[_0x2bca3e(0x243)](_0x4758af,_0x104562/0x2,_0x50a934/0x2),_0x4c2771[_0x2bca3e(0x15b)](),_0x4c2771[_0x2bca3e(0x267)](_0x54901d,0x0),_0x4c2771[_0x2bca3e(0x31b)](_0x104562-_0x5ca567,0x0),_0x4c2771[_0x2bca3e(0x31e)](_0x104562-_0x5ca567,_0x5ca567,_0x5ca567,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c2771['lineTo'](_0x104562,_0x50a934-_0x2d28de),_0x4c2771[_0x2bca3e(0x31e)](_0x104562-_0x2d28de,_0x50a934-_0x2d28de,_0x2d28de,0x0,Math['PI']/0x2,!0x1),_0x4c2771[_0x2bca3e(0x31b)](0x0,_0x50a934),_0x4c2771[_0x2bca3e(0x31b)](0x0,_0x54901d),_0x4c2771['arc'](_0x54901d,_0x54901d,_0x54901d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c2771[_0x2bca3e(0x320)](),_0x392fc6['fill']&&(_0x4c2771[_0x2bca3e(0x1ae)](),_0x4c2771[_0x2bca3e(0x2a3)]=_0x392fc6[_0x2bca3e(0x133)],_0x392fc6[_0x2bca3e(0x1a1)]===_0x2bca3e(0x139)?_0x4c2771[_0x2bca3e(0x133)]('evenodd'):_0x4c2771[_0x2bca3e(0x133)](),_0x4c2771[_0x2bca3e(0x110)]());}class _0x5b1836 extends _0x4e3aee[_0x364fc7(0x113)]{constructor(_0x37b817,_0x3c82d2){const _0x4b1783=_0x364fc7;super(_0x37b817,_0x3c82d2),_0x4a92d0(this,_0x4b1783(0x1a4)),_0x4a92d0(this,_0x4b1783(0x173)),(this[_0x4b1783(0x1a4)]=_0x3c82d2==null?void 0x0:_0x3c82d2[_0x4b1783(0x1a4)],this[_0x4b1783(0x173)]=_0x3c82d2==null?void 0x0:_0x3c82d2[_0x4b1783(0x173)]);}static[_0x364fc7(0x338)](_0x229c91,_0x1d1a93){const _0x4652c0=_0x364fc7,{text:_0x15854a,color:_0x390aff}=_0x1d1a93;_0x229c91[_0x4652c0(0x1ae)](),_0x229c91[_0x4652c0(0x36d)]=_0x4652c0(0x10c);const _0x307a4a=_0x229c91[_0x4652c0(0x379)](_0x15854a)[_0x4652c0(0x2c7)],_0x47ac6b=Math['min'](_0x307a4a+0x2*_0xf51cdb,_0x1b63c7);_0x5c5729(_0x229c91,{'height':_0xa14d99,'radius':0x4,'width':_0x47ac6b,'fill':_0x390aff}),_0x229c91[_0x4652c0(0x2a3)]=_0x4652c0(0x145);const _0x553f36=_0xf51cdb,_0x28ef8c=_0xa14d99-_0x16408e,_0x38f743=_0x1b63c7-0x2*_0xf51cdb;if(_0x307a4a>_0x38f743){let _0x585881='',_0x4c0fdc=0x0;for(const _0x345da8 of _0x15854a){const _0x1a7098=_0x229c91[_0x4652c0(0x379)](_0x345da8)[_0x4652c0(0x2c7)];if(_0x4c0fdc+_0x1a7098<=_0x38f743-_0x229c91[_0x4652c0(0x379)](_0x4652c0(0x227))[_0x4652c0(0x2c7)])_0x585881+=_0x345da8,_0x4c0fdc+=_0x1a7098;else{_0x585881+='...';break;}}_0x229c91[_0x4652c0(0x21d)](_0x585881,_0x553f36,_0x28ef8c);}else _0x229c91[_0x4652c0(0x21d)](_0x15854a,_0x553f36,_0x28ef8c);_0x229c91[_0x4652c0(0x110)]();}[_0x364fc7(0x2cd)](_0x2d14dc){const _0x6f212=_0x364fc7;_0x5b1836[_0x6f212(0x338)](_0x2d14dc,this);}}const _0x3c94cf=_0x364fc7(0x2a2),_0x2bdc63=_0x364fc7(0x312),_0x367a8e=_0x364fc7(0x1c0),_0x156cbd=0x6,_0x4569f4=1.5,_0x1026d9=0x4,_0x491806=1.5,_0x1f84cc='rgba(255,\x20255,\x20255,\x200.01)';class _0xb5b1cb{constructor(_0x4956bd,_0x58e318,_0x28d220,_0xe90383){const _0x5a04ed=_0x364fc7;_0x4a92d0(this,_0x5a04ed(0x2ae),[]),_0x4a92d0(this,_0x5a04ed(0x153),null),_0x4a92d0(this,'_textBubble',null),_0x4a92d0(this,'_anchorDot',null),_0x4a92d0(this,_0x5a04ed(0x1bc),null),_0x4a92d0(this,_0x5a04ed(0x169),null),(this[_0x5a04ed(0x2ee)]=_0x4956bd,this[_0x5a04ed(0x16b)]=_0x58e318,this['_docSkeleton']=_0x28d220,this[_0x5a04ed(0x24d)]=_0xe90383,this['_render']());}set[_0x364fc7(0x334)](_0x1ba374){const _0x17c61f=_0x364fc7;_0x1ba374?(this[_0x17c61f(0x183)]&&this[_0x17c61f(0x183)][_0x17c61f(0x35b)](),this[_0x17c61f(0x19e)]&&this[_0x17c61f(0x19e)][_0x17c61f(0x12e)]()):(this[_0x17c61f(0x183)]&&this[_0x17c61f(0x183)][_0x17c61f(0x12e)](),this[_0x17c61f(0x19e)]&&this['_textBubble'][_0x17c61f(0x35b)]());}['dispose'](){const _0x3257b0=_0x364fc7;for(const _0x514913 of this[_0x3257b0(0x2ae)])_0x514913['dispose']();this[_0x3257b0(0x19e)]&&this[_0x3257b0(0x19e)][_0x3257b0(0x13f)](),this[_0x3257b0(0x183)]&&this[_0x3257b0(0x183)][_0x3257b0(0x13f)](),this[_0x3257b0(0x153)]&&this[_0x3257b0(0x153)][_0x3257b0(0x13f)](),this[_0x3257b0(0x169)]&&this[_0x3257b0(0x169)]();}[_0x364fc7(0x18e)](){const _0x3b277a=_0x364fc7;var _0x52a1a1;const {_docSkeleton:_0x323838,_document:_0x4b2d7e}=this,{color:_0x50aad8,name:_0x51f19b,ranges:_0x38cdcc}=this[_0x3b277a(0x2ee)],_0x245f23=_0x4b2d7e[_0x3b277a(0x245)](),{docsLeft:_0x1d86f1,docsTop:_0xee5ca7}=_0x245f23,_0xbdc319=new _0x8e9d75[(_0x3b277a(0x240))](_0x245f23,_0x323838);for(const {startOffset:_0x55edee,endOffset:_0xff65dc,rangeType:_0x204b9c,segmentId:_0x4d705a,segmentPage:_0x385b20,collapsed:_0x4b5fe8,isActive:_0x31a65c}of _0x38cdcc){const _0x8023b4=_0x323838['findNodePositionByCharIndex'](_0x55edee,!0x0,_0x4d705a,_0x385b20);let _0x261d45=_0x323838[_0x3b277a(0x1ec)](_0xff65dc,!0x0,_0x4d705a,_0x385b20);if(_0x261d45==null&&(_0x261d45=_0x323838['findNodePositionByCharIndex'](_0xff65dc-0x1,!0x1,_0x4d705a,_0x385b20)),_0x31a65c){const {contentBoxPointGroup:_0x5391ef}=_0xbdc319[_0x3b277a(0x280)](_0x261d45,_0x261d45);if(_0x5391ef[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x1ce)](_0x50aad8,_0x5391ef,_0x1d86f1,_0xee5ca7,_0x51f19b),this['_eventUnsubscribe']=this[_0x3b277a(0x2b6)]();}if(_0x8023b4&&_0x261d45){if(_0x204b9c===_0x20df47[_0x3b277a(0x1d5)][_0x3b277a(0x15a)]){const _0x3741c1=new _0x8e9d75[(_0x3b277a(0x181))](_0x245f23,_0x323838),{pointGroup:_0x646c2b}=(_0x52a1a1=_0x3741c1[_0x3b277a(0x280)](_0x8023b4,_0x261d45))!=null?_0x52a1a1:{};if(_0x646c2b==null||_0x646c2b[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x391)](_0x50aad8,_0x646c2b,_0x1d86f1,_0xee5ca7);}else{if(!_0x4b5fe8){const {borderBoxPointGroup:_0x55ba12}=_0xbdc319[_0x3b277a(0x280)](_0x8023b4,_0x261d45);if(_0x55ba12[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x166)](_0x50aad8,_0x55ba12,_0x1d86f1,_0xee5ca7);}}}}}[_0x364fc7(0x1ce)](_0xa92540,_0x5525e5,_0x4f9b33,_0x157225,_0xc516e5){const _0x3dddb9=_0x364fc7,_0x3da2e8=this[_0x3dddb9(0x252)](_0x5525e5),{left:_0x5af387,top:_0x5d32a0,height:_0xbcd98e}=_0x3da2e8,_0x2b1f96=this['_getScale'](),_0x1b9858=_0x491806/_0x2b1f96,_0x5421d5=new _0x4e3aee[(_0x3dddb9(0x16d))](_0x3c94cf+_0x20df47[_0x3dddb9(0x19b)][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225,'height':_0xbcd98e,'width':_0x4569f4,'fill':_0xa92540||_0x4e3aee[_0x3dddb9(0x24c)](_0x20df47[_0x3dddb9(0x1e0)]['black'],0x0),'strokeWidth':_0x1b9858,'stroke':_0x1f84cc,'evented':!0x0});this['_anchor']=_0x5421d5,this['_scene'][_0x3dddb9(0x21f)](_0x5421d5,_0x8e9d75[_0x3dddb9(0x239)]);const _0x3559bf=new _0x4e3aee['Rect'](_0x3c94cf+_0x20df47['Tools'][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225-_0x1026d9/0x2,'height':_0x1026d9,'width':_0x1026d9,'fill':_0xa92540||_0x4e3aee['getColor'](_0x20df47['COLORS'][_0x3dddb9(0x186)],0x0),'strokeWidth':0x0,'stroke':_0xa92540||_0x4e3aee[_0x3dddb9(0x24c)](_0x20df47['COLORS']['black'],0x0),'evented':!0x1});this[_0x3dddb9(0x183)]=_0x3559bf,this[_0x3dddb9(0x16b)][_0x3dddb9(0x21f)](_0x3559bf,_0x8e9d75[_0x3dddb9(0x239)]);const _0x3ea1cc=new _0x5b1836(_0x3c94cf+_0x20df47[_0x3dddb9(0x19b)][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225-_0xa14d99,'text':_0xc516e5,'color':_0xa92540});this[_0x3dddb9(0x19e)]=_0x3ea1cc,this[_0x3dddb9(0x16b)][_0x3dddb9(0x21f)](_0x3ea1cc,_0x8e9d75['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x2efe25=_0x364fc7,_0x4c0d3e=this[_0x2efe25(0x153)][_0x2efe25(0x25e)][_0x2efe25(0x2c4)](()=>{const _0x401ea0=_0x2efe25;this[_0x401ea0(0x334)]=!0x0;}),_0x1cd70a=this[_0x2efe25(0x153)][_0x2efe25(0x387)][_0x2efe25(0x2c4)](()=>{const _0xfff252=_0x2efe25;this['_hideTimer']&&clearTimeout(this[_0xfff252(0x1bc)]),this[_0xfff252(0x1bc)]=setTimeout(()=>{const _0x53851b=_0xfff252;this[_0x53851b(0x334)]=!0x1;},0x7d0);});return()=>{const _0x18f15f=_0x2efe25;_0x4c0d3e[_0x18f15f(0x1f0)](),_0x1cd70a[_0x18f15f(0x1f0)]();};}[_0x364fc7(0x166)](_0x2f8ef0,_0x127882,_0x154cd9,_0x44d4f5){const _0xdada28=_0x364fc7,_0x720cc4=new _0x20df47['ColorKit'](_0x2f8ef0)[_0xdada28(0x1a6)](0.2)['toRgbString'](),_0x3bff00=new _0x4e3aee[(_0xdada28(0x28e))](_0x2bdc63+_0x20df47[_0xdada28(0x19b)]['generateRandomId'](_0x156cbd),{'pointsGroup':_0x127882,'fill':_0x720cc4||_0x4e3aee[_0xdada28(0x24c)](_0x20df47[_0xdada28(0x1e0)][_0xdada28(0x186)],0.2),'left':_0x154cd9,'top':_0x44d4f5,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xdada28(0x1a5)](_0x3bff00),this[_0xdada28(0x16b)][_0xdada28(0x21f)](_0x3bff00,_0x8e9d75[_0xdada28(0x239)]);}[_0x364fc7(0x391)](_0x2defe8,_0x5998d0,_0x121fb7,_0x45b4a1){const _0x452697=_0x364fc7,_0x173c00=new _0x20df47[(_0x452697(0x13e))](_0x2defe8)[_0x452697(0x1a6)](0.2)[_0x452697(0x2d1)](),_0x375ab0=new _0x4e3aee[(_0x452697(0x28e))](_0x367a8e+_0x20df47[_0x452697(0x19b)]['generateRandomId'](_0x156cbd),{'pointsGroup':_0x5998d0,'fill':_0x173c00||_0x4e3aee[_0x452697(0x24c)](_0x20df47[_0x452697(0x1e0)][_0x452697(0x186)],0.2),'left':_0x121fb7,'top':_0x45b4a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x452697(0x2ae)]['push'](_0x375ab0),this[_0x452697(0x16b)][_0x452697(0x21f)](_0x375ab0,_0x8e9d75[_0x452697(0x239)]);}[_0x364fc7(0x252)](_0x62ebb5){const _0x106d81=_0x62ebb5[0x0],_0xe5fdd1=_0x106d81[0x0],_0x2e4654=_0x106d81[0x2],{x:_0x5c505b,y:_0x167df5}=_0xe5fdd1,{x:_0x37bb52,y:_0x27b0d1}=_0x2e4654;return{'left':_0x5c505b,'top':_0x167df5,'width':_0x37bb52-_0x5c505b,'height':_0x27b0d1-_0x167df5};}['_getScale'](){const _0x1afb1c=_0x364fc7,{scaleX:_0x5b8d40,scaleY:_0x1e09d1}=this[_0x1afb1c(0x16b)][_0x1afb1c(0x307)]();return Math[_0x1afb1c(0x273)](_0x5b8d40,_0x1e09d1);}}var _0x3660a3=Object[_0x364fc7(0x26c)],_0x89ad33=(_0x3964bc,_0x563b36,_0x42508a,_0x551445)=>{const _0x3ac344=_0x364fc7;for(var _0x1698f6=_0x551445>0x1?void 0x0:_0x551445?_0x3660a3(_0x563b36,_0x42508a):_0x563b36,_0x22c722=_0x3964bc[_0x3ac344(0x18f)]-0x1,_0xedca0c;_0x22c722>=0x0;_0x22c722--)(_0xedca0c=_0x3964bc[_0x22c722])&&(_0x1698f6=_0xedca0c(_0x1698f6)||_0x1698f6);return _0x1698f6;},_0x2f4d18=(_0x4f71c8,_0x391de3)=>(_0xb5a88,_0x2b428d)=>_0x391de3(_0xb5a88,_0x2b428d,_0x4f71c8);let _0x540093=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x2844ba,_0x544995,_0x399e53,_0xf1d5a0,_0x4e908a){const _0xf1e650=_0x364fc7;super(),_0x4a92d0(this,'_cursorShapes',[]),_0x4a92d0(this,'_cursors',[]),(this[_0xf1e650(0x261)]=_0x2844ba,this['_docSkeletonManagerService']=_0x544995,this[_0xf1e650(0x380)]=_0x399e53,this[_0xf1e650(0x197)]=_0xf1d5a0,this['_themeService']=_0x4e908a,this[_0xf1e650(0x184)]());}[_0x364fc7(0x184)](){const _0x558164=_0x364fc7,_0x5dbd46=this[_0x558164(0x261)]['unitId'],_0x33e8a2=this[_0x558164(0x2ca)];this[_0x558164(0x363)](_0x3396eb['combineLatest']([this['_collabCursorController'][_0x558164(0x1fe)](_0x5dbd46),this['_themeService'][_0x558164(0x281)]])['pipe'](_0xb9a466[_0x558164(0x263)](([_0x21bd92,_0x173559])=>({'skeleton':_0x33e8a2[_0x558164(0x1f2)](),'cursors':[..._0x21bd92[_0x558164(0x2a0)]()]['flatMap'](_0x52db01=>({..._0x52db01,'color':this['_themeService']['getColorFromTheme'](_0x52db01[_0x558164(0x1a4)])}))})))['subscribe'](_0x391c77=>{const _0x18dc79=_0x558164;if(this['_removeCollabCursors'](),_0x391c77){const {skeleton:_0x5217b1,cursors:_0x55e0b6}=_0x391c77;this[_0x18dc79(0x32a)](_0x5217b1,_0x55e0b6);}})),this['_initResize'](),this[_0x558164(0x151)]();}[_0x364fc7(0x32a)](_0x50b101,_0x41e330){const _0x16b72b=_0x364fc7,{scene:_0x575500,mainComponent:_0xd513a2}=this[_0x16b72b(0x261)],_0x2b48f8=_0x41e330[_0x16b72b(0x263)](_0x5c4aeb=>new _0xb5b1cb(_0x5c4aeb,_0x575500,_0x50b101,_0xd513a2));this['_cursorShapes']=_0x2b48f8,this[_0x16b72b(0x2d9)]=_0x41e330;}[_0x364fc7(0x296)](){const _0x1a1847=_0x364fc7;this['_removeCollabCursors']();const {scene:_0x7659a2,mainComponent:_0x353ea8}=this[_0x1a1847(0x261)],_0x317d0d=this['_docSkeletonManagerService'][_0x1a1847(0x1f2)](),_0x5f5741=this['_cursors']['map'](_0x2653e9=>new _0xb5b1cb(_0x2653e9,_0x7659a2,_0x317d0d,_0x353ea8));this[_0x1a1847(0x1a3)]=_0x5f5741;}['_removeCollabCursors'](){const _0x2c7a15=_0x364fc7;this[_0x2c7a15(0x1a3)][_0x2c7a15(0x24a)](_0xea2a09=>_0xea2a09[_0x2c7a15(0x13f)]()),this['_cursorShapes']=[];}[_0x364fc7(0x151)](){const _0x2a51ae=_0x364fc7,_0x2b0e07=[_0x8e9d75[_0x2a51ae(0x2ab)]['id']];this[_0x2a51ae(0x363)](this[_0x2a51ae(0x197)][_0x2a51ae(0x33f)](_0x41e048=>{const _0x2884aa=_0x2a51ae;_0x2b0e07[_0x2884aa(0x14a)](_0x41e048['id'])&&_0x41e048[_0x2884aa(0x1f3)][_0x2884aa(0x220)]===this['_context'][_0x2884aa(0x220)]&&this[_0x2884aa(0x296)]();}));}[_0x364fc7(0x266)](){const _0x6f9b8f=_0x364fc7;this[_0x6f9b8f(0x363)](_0x20df47['fromEventSubject'](this[_0x6f9b8f(0x261)][_0x6f9b8f(0x13c)][_0x6f9b8f(0x2f2)])[_0x6f9b8f(0x13a)](_0xb9a466[_0x6f9b8f(0x29d)](_0x27f98b=>_0x27f98b[_0x6f9b8f(0x27b)]===_0x4e3aee[_0x6f9b8f(0x1ea)][_0x6f9b8f(0x21b)]),_0xb9a466['throttleTime'](0x10))[_0x6f9b8f(0x276)](()=>{const _0x2bf25d=_0x6f9b8f;this[_0x2bf25d(0x296)]();}));}};_0x540093=_0x89ad33([_0x2f4d18(0x1,_0x20df47[_0x364fc7(0x28b)](_0xb95e52[_0x364fc7(0x2ef)])),_0x2f4d18(0x2,_0x20df47[_0x364fc7(0x28b)](_0x100640)),_0x2f4d18(0x3,_0x20df47[_0x364fc7(0x353)]),_0x2f4d18(0x4,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x128)]))],_0x540093);const _0x39b069=0x1,_0x207198=1.5;class _0x24d54a extends _0x4e3aee['Shape']{constructor(_0x54a061,_0x3c70ed){const _0x3439fa=_0x364fc7;super(_0x54a061,_0x3c70ed),_0x4a92d0(this,_0x3439fa(0x285)),_0x4a92d0(this,_0x3439fa(0x1a0),!0x1),_0x4a92d0(this,'_range'),_0x4a92d0(this,'_name',''),_0x4a92d0(this,_0x3439fa(0x2a7),_0x3439fa(0x27a)),_0x4a92d0(this,_0x3439fa(0x18c)),(_0x3c70ed&&this[_0x3439fa(0x360)](_0x3c70ed),this[_0x3439fa(0x25e)]['subscribeEvent'](()=>this[_0x3439fa(0x360)]({'hovered':!0x0})),this[_0x3439fa(0x387)]['subscribeEvent'](()=>this[_0x3439fa(0x360)]({'hovered':!0x1})));}[_0x364fc7(0x360)](_0x4a7fcd){const _0x3ec0c6=_0x364fc7;var _0x39bf83,_0x2c52b8,_0x25707a,_0xa42a4a,_0x5dee3e,_0x4aed95;this[_0x3ec0c6(0x285)]=(_0x39bf83=_0x4a7fcd[_0x3ec0c6(0x1a4)])!=null?_0x39bf83:this['_color'],this[_0x3ec0c6(0x1a0)]=(_0x2c52b8=_0x4a7fcd['hovered'])!=null?_0x2c52b8:this[_0x3ec0c6(0x1a0)],this[_0x3ec0c6(0x295)]=(_0x25707a=_0x4a7fcd[_0x3ec0c6(0x208)])!=null?_0x25707a:this[_0x3ec0c6(0x295)],this[_0x3ec0c6(0x388)]=(_0xa42a4a=_0x4a7fcd[_0x3ec0c6(0x287)])!=null?_0xa42a4a:this[_0x3ec0c6(0x388)],this['_labelPosition']=(_0x5dee3e=_0x4a7fcd[_0x3ec0c6(0x2fb)])!=null?_0x5dee3e:this[_0x3ec0c6(0x2a7)],this['_backgroundColor']=(_0x4aed95=_0x4a7fcd[_0x3ec0c6(0x26d)])!=null?_0x4aed95:this[_0x3ec0c6(0x18c)],this[_0x3ec0c6(0x147)]({'width':_0x4a7fcd['width'],'height':_0x4a7fcd['height']});}[_0x364fc7(0x167)](_0x573a91){const _0x4dd7ae=_0x364fc7,{row:_0x57922d,column:_0xa94819}=_0x573a91;if(_0x57922d>=this[_0x4dd7ae(0x295)][_0x4dd7ae(0x115)]&&_0x57922d<=this[_0x4dd7ae(0x295)]['endRow']&&_0xa94819>=this[_0x4dd7ae(0x295)]['startColumn']&&_0xa94819<=this[_0x4dd7ae(0x295)][_0x4dd7ae(0x225)]){this[_0x4dd7ae(0x360)]({'hovered':!0x0});return;}this[_0x4dd7ae(0x360)]({'hovered':!0x1});}[_0x364fc7(0x2d8)](_0x2cc588){return!0x1;}['_draw'](_0x276f8){const _0x392ce6=_0x364fc7;_0x4e3aee['Rect'][_0x392ce6(0x338)](_0x276f8,{'width':this[_0x392ce6(0x2c7)],'height':this['height'],'strokeWidth':_0x207198,'stroke':this[_0x392ce6(0x285)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x276f8[_0x392ce6(0x1ae)](),_0x276f8[_0x392ce6(0x219)](0x1,0x0,0x0,0x1,this['width'],this[_0x392ce6(0x2a7)]===_0x392ce6(0x201)?0x0:-0x14),_0x5b1836['drawWith'](_0x276f8,{'text':this[_0x392ce6(0x388)],'color':this[_0x392ce6(0x285)]}),_0x276f8[_0x392ce6(0x110)]());}}var _0x599754=Object[_0x364fc7(0x26c)],_0x54f5a2=(_0x476b53,_0x4346e6,_0x21e970,_0x3e5dcf)=>{const _0x219ef2=_0x364fc7;for(var _0x51423e=_0x3e5dcf>0x1?void 0x0:_0x3e5dcf?_0x599754(_0x4346e6,_0x21e970):_0x4346e6,_0x1dfff5=_0x476b53[_0x219ef2(0x18f)]-0x1,_0x2c0161;_0x1dfff5>=0x0;_0x1dfff5--)(_0x2c0161=_0x476b53[_0x1dfff5])&&(_0x51423e=_0x2c0161(_0x51423e)||_0x51423e);return _0x51423e;},_0xc3b22d=(_0x528dd8,_0x1580ca)=>(_0xa69d18,_0x313726)=>_0x1580ca(_0xa69d18,_0x313726,_0x528dd8);const _0x6c158=0x1389;let _0x1fd5d1=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x553999,_0x328651,_0x58662e,_0x101311){const _0x7ae9f2=_0x364fc7;super(),_0x4a92d0(this,'_cursors',new Set()),_0x4a92d0(this,'_lastPointer',null),(this[_0x7ae9f2(0x261)]=_0x553999,this[_0x7ae9f2(0x32b)]=_0x328651,this[_0x7ae9f2(0x380)]=_0x58662e,this[_0x7ae9f2(0x230)]=_0x101311,this[_0x7ae9f2(0x184)]());}[_0x364fc7(0x184)](){const _0xd9b44b=_0x364fc7;this[_0xd9b44b(0x32b)][_0xd9b44b(0x2f0)][_0xd9b44b(0x13a)](_0xb9a466['takeUntil'](this['dispose$']),_0xb9a466[_0xd9b44b(0x187)](_0x4b86bb=>{const _0x46110b=_0xd9b44b;if(_0x4b86bb){const _0x3a3f16=_0x4b86bb[_0x46110b(0x232)];return _0x3396eb[_0x46110b(0x26e)](this[_0x46110b(0x380)]['getCollabCursors$'](this['_context'][_0x46110b(0x220)]),this[_0x46110b(0x230)]['currentTheme$'])[_0x46110b(0x13a)](_0xb9a466['map'](([_0x56ad28,_0x45c552])=>{const _0x2831e4=new Map();return _0x56ad28['forEach']((_0x2c32b6,_0x1bab8d)=>{const _0x1d216b=_0x25e4;if(_0x2c32b6[_0x1d216b(0x2a4)]===_0x3a3f16){const _0x465ed2={..._0x2c32b6};_0x465ed2['color']=this[_0x1d216b(0x230)][_0x1d216b(0x377)](_0x2c32b6[_0x1d216b(0x1a4)]),_0x2831e4[_0x1d216b(0x394)](_0x1bab8d,_0x465ed2);}}),{'skeleton':_0x4b86bb,'cursors':_0x2831e4};}));}return _0x3396eb['of']({'skeleton':null,'cursors':new Map()});}))[_0xd9b44b(0x276)](({skeleton:_0x1b81fb,cursors:_0x459b3a})=>{const _0x50d441=_0xd9b44b;this[_0x50d441(0x2e8)](),_0x1b81fb&&this[_0x50d441(0x32a)](_0x1b81fb,_0x459b3a);}),this[_0xd9b44b(0x32b)][_0xd9b44b(0x2f0)][_0xd9b44b(0x276)](_0x24556d=>{const _0x5cb46a=_0xd9b44b;if(_0x24556d==null)return;const {skeleton:_0x1c9ffc}=_0x24556d,{scene:_0x5613c2}=this[_0x5cb46a(0x261)];_0x5613c2[_0x5cb46a(0x10a)][_0x5cb46a(0x2c4)](_0x20df47['debounce'](_0x1207b3=>{const _0x34b255=_0x5cb46a;var _0x53969e,_0x7b69dc;const {offsetX:_0x436cff,offsetY:_0x4b5e09}=_0x1207b3,{x:_0x3e202a,y:_0x20a5ea}=_0x5613c2['getRelativeToViewportCoord'](_0x4e3aee['Vector2'][_0x34b255(0x2c3)]([_0x436cff,_0x4b5e09])),{scaleX:_0x3b9bf6,scaleY:_0x26b3a2}=_0x5613c2[_0x34b255(0x307)](),_0x55c588=_0x5613c2['getViewport'](_0x4e3aee[_0x34b255(0x1cf)][_0x34b255(0x318)]),_0x8dae45=_0x5613c2['getVpScrollXYInfoByPosToVp'](_0x4e3aee[_0x34b255(0x30a)][_0x34b255(0x2c3)]([_0x3e202a,_0x20a5ea]),_0x55c588),_0x514377=_0x1c9ffc['getCellPositionByOffset'](_0x436cff,_0x4b5e09,_0x3b9bf6,_0x26b3a2,_0x8dae45);((_0x53969e=this[_0x34b255(0x37d)])==null?void 0x0:_0x53969e[_0x34b255(0x129)])===_0x514377['column']&&((_0x7b69dc=this[_0x34b255(0x37d)])==null?void 0x0:_0x7b69dc['row'])===_0x514377[_0x34b255(0x1a8)]||this[_0x34b255(0x2d9)][_0x34b255(0x24a)](_0x392466=>{const _0x56ccb8=_0x34b255;_0x392466[_0x56ccb8(0x167)](_0x514377);});},0x64));});}['_updateCollabCursors'](_0xe67377,_0x392469){const _0x5871a7=_0x364fc7;var _0x590caa;const _0x27bd68=(_0x590caa=this[_0x5871a7(0x32b)][_0x5871a7(0x36b)]())==null?void 0x0:_0x590caa['skeleton'];if(!_0x27bd68)return;const _0x5ab1dd=this[_0x5871a7(0x164)]();if(!_0x5ab1dd)return;this['_cursors']['forEach'](_0xa3913c=>{const _0x1d2e70=_0x5871a7;_0xa3913c[_0x1d2e70(0x31f)]();});const {scene:_0x1179e2}=_0x5ab1dd,_0x3e71d9=_0x278995(Array[_0x5871a7(0x1f4)](_0x392469[_0x5871a7(0x2a0)]()))[_0x5871a7(0x263)](_0x3c5f74=>{const _0x80f538=_0x5871a7,{color:_0x2541b3,range:_0x5ed729,name:_0x38f481,selection:_0x1b08d1,sheetID:_0x4d3264}=_0x3c5f74,{startColumn:_0x27460e,startRow:_0x193151,endColumn:_0x2e2428,endRow:_0x83005a}=_0x5ed729,_0x4591c8=_0x3410d0['getCoordByCell'](_0x193151,_0x27460e,_0x1179e2,_0x27bd68),_0x57814d=_0x3410d0['getCoordByCell'](_0x83005a,_0x2e2428,_0x1179e2,_0x27bd68),{columnHeaderHeightAndMarginTop:_0x54dd0e}=_0x27bd68,{startX:_0x11dd96,startY:_0x1ed34e}=_0x4591c8,{endX:_0x2e867a,endY:_0x10ed90}=_0x57814d,_0x3f23a3=_0x2e867a-_0x11dd96,_0x4e5d65=_0x10ed90-_0x1ed34e,_0x86a2a4={'labelPosition':_0x1ed34e-_0x54dd0e>=_0xa14d99?_0x80f538(0x27a):_0x80f538(0x201),'sheetID':_0x4d3264,'range':_0x5ed729,'color':_0x2541b3,'name':_0x38f481,'selection':_0x1b08d1,'left':_0x11dd96,'top':_0x1ed34e,'width':_0x3f23a3,'height':_0x4e5d65,'evented':!0x1,'zIndex':_0x6c158};return new _0x24d54a(_0x38f481,_0x86a2a4);});_0x1179e2['addObjects'](_0x3e71d9,_0x39b069),this[_0x5871a7(0x2d9)]=new Set(_0x3e71d9);}[_0x364fc7(0x2e8)](){const _0x4545dd=_0x364fc7;var _0x45205b;(_0x45205b=this[_0x4545dd(0x2d9)])==null||_0x45205b[_0x4545dd(0x24a)](_0x4e8fd7=>_0x4e8fd7[_0x4545dd(0x13f)]());}['_getSheetObject'](){const _0x506335=_0x364fc7;return _0x3410d0['getSheetObject'](this['_context'][_0x506335(0x2af)],this[_0x506335(0x261)]);}};_0x1fd5d1=_0x54f5a2([_0xc3b22d(0x1,_0x20df47[_0x364fc7(0x28b)](_0x3410d0[_0x364fc7(0x257)])),_0xc3b22d(0x2,_0x20df47['Inject'](_0x100640)),_0xc3b22d(0x3,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x128)]))],_0x1fd5d1);function _0x278995(_0x24fa7b){const _0x28d9fb=_0x364fc7,_0x5dc531=new Map();return _0x24fa7b[_0x28d9fb(0x24a)](_0x21eb2f=>{const _0x44d0ed=_0x28d9fb;if(_0x5dc531[_0x44d0ed(0x1f1)](_0x21eb2f[_0x44d0ed(0x19f)])){const _0x4ba90d=_0x5dc531['get'](_0x21eb2f['selection']);_0x4ba90d[_0x44d0ed(0x287)]+=',\x20'+_0x21eb2f[_0x44d0ed(0x287)];}else _0x5dc531[_0x44d0ed(0x394)](_0x21eb2f[_0x44d0ed(0x19f)],_0x21eb2f);}),Array['from'](_0x5dc531['values']());}var _0x242649=function(){const _0x481888=_0x364fc7;return _0x242649=Object['assign']||function(_0x149be9){const _0xbbbe5d=_0x25e4;for(var _0x4bc577,_0xbe6263=0x1,_0x3bd4aa=arguments['length'];_0xbe6263<_0x3bd4aa;_0xbe6263++){_0x4bc577=arguments[_0xbe6263];for(var _0x2e4034 in _0x4bc577)Object[_0xbbbe5d(0x302)][_0xbbbe5d(0x2db)][_0xbbbe5d(0x1fd)](_0x4bc577,_0x2e4034)&&(_0x149be9[_0x2e4034]=_0x4bc577[_0x2e4034]);}return _0x149be9;},_0x242649[_0x481888(0x16c)](this,arguments);},_0x237f4d=function(_0x25b209,_0x4313e6){const _0x305c52=_0x364fc7;var _0x2055ba={};for(var _0x29ef44 in _0x25b209)Object[_0x305c52(0x302)][_0x305c52(0x2db)][_0x305c52(0x1fd)](_0x25b209,_0x29ef44)&&_0x4313e6[_0x305c52(0x2b3)](_0x29ef44)<0x0&&(_0x2055ba[_0x29ef44]=_0x25b209[_0x29ef44]);if(_0x25b209!=null&&typeof Object[_0x305c52(0x20f)]=='function'){for(var _0x209ef8=0x0,_0x29ef44=Object[_0x305c52(0x20f)](_0x25b209);_0x209ef8<_0x29ef44[_0x305c52(0x18f)];_0x209ef8++)_0x4313e6['indexOf'](_0x29ef44[_0x209ef8])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x305c52(0x1fd)](_0x25b209,_0x29ef44[_0x209ef8])&&(_0x2055ba[_0x29ef44[_0x209ef8]]=_0x25b209[_0x29ef44[_0x209ef8]]);}return _0x2055ba;},_0x1642cb=_0x14d7ce[_0x364fc7(0x131)](function(_0x1836a0,_0x3d5777){const _0x2ef682=_0x364fc7;var _0x504b0c=_0x1836a0[_0x2ef682(0x25c)],_0x39db21=_0x1836a0['id'],_0x27134d=_0x1836a0['className'],_0x4fccf3=_0x1836a0[_0x2ef682(0x140)],_0x3128df=_0x237f4d(_0x1836a0,[_0x2ef682(0x25c),'id',_0x2ef682(0x291),_0x2ef682(0x140)]),_0x21daed=_0x2ef682(0x159)['concat'](_0x39db21,'\x20')['concat'](_0x27134d||'')[_0x2ef682(0x2e5)](),_0x167e05=_0x14d7ce[_0x2ef682(0x1aa)]('_'['concat'](_0x64c5d9()));return _0x4ca8b4(_0x504b0c,''[_0x2ef682(0x340)](_0x39db21),{'defIds':_0x504b0c[_0x2ef682(0x38e)],'idSuffix':_0x167e05[_0x2ef682(0x13d)]},_0x242649({'ref':_0x3d5777,'className':_0x21daed},_0x3128df),_0x4fccf3);});function _0x4ca8b4(_0x7e027,_0x9e3f1f,_0x127f6f,_0x14e40a,_0x12423a){const _0x23133d=_0x364fc7;return _0x14d7ce[_0x23133d(0x20e)](_0x7e027[_0x23133d(0x27d)],_0x242649(_0x242649({'key':_0x9e3f1f},_0x23eccb(_0x7e027,_0x127f6f,_0x12423a)),_0x14e40a),(_0x3c462e(_0x7e027,_0x127f6f)['children']||[])['map'](function(_0x202180,_0x3fe111){const _0x243642=_0x23133d;return _0x4ca8b4(_0x202180,''[_0x243642(0x340)](_0x9e3f1f,'-')['concat'](_0x7e027[_0x243642(0x27d)],'-')[_0x243642(0x340)](_0x3fe111),_0x127f6f,void 0x0,_0x12423a);}));}function _0x23eccb(_0x9d1548,_0x42a523,_0x2be559){const _0x29f4a1=_0x364fc7;var _0x3bd533=_0x242649({},_0x9d1548['attrs']);_0x2be559!=null&&_0x2be559[_0x29f4a1(0x275)]&&_0x3bd533[_0x29f4a1(0x133)]===_0x29f4a1(0x275)&&(_0x3bd533[_0x29f4a1(0x133)]=_0x2be559[_0x29f4a1(0x275)]),_0x9d1548['tag']===_0x29f4a1(0x272)&&_0x3bd533['id']&&(_0x3bd533['id']=_0x3bd533['id']+_0x42a523[_0x29f4a1(0x202)]),Object['entries'](_0x3bd533)['forEach'](function(_0x573166){const _0x516c80=_0x29f4a1;var _0x3670ed=_0x573166[0x0],_0x13431a=_0x573166[0x1];_0x3670ed===_0x516c80(0x272)&&typeof _0x13431a==_0x516c80(0x336)&&(_0x3bd533[_0x3670ed]=_0x13431a[_0x516c80(0x2e6)](/url\(#(.*)\)/,'url(#$1'[_0x516c80(0x340)](_0x42a523[_0x516c80(0x202)],')')));});var _0x43e697=_0x42a523[_0x29f4a1(0x38e)];return!_0x43e697||_0x43e697['length']===0x0||(_0x9d1548['tag']===_0x29f4a1(0x35f)&&_0x3bd533[_0x29f4a1(0x2ea)]&&(_0x3bd533[_0x29f4a1(0x2ea)]=_0x3bd533['xlink:href']+_0x42a523[_0x29f4a1(0x202)]),Object['entries'](_0x3bd533)[_0x29f4a1(0x24a)](function(_0x241193){const _0xa92dcc=_0x29f4a1;var _0x1c12dc=_0x241193[0x0],_0x3e3039=_0x241193[0x1];typeof _0x3e3039==_0xa92dcc(0x336)&&(_0x3bd533[_0x1c12dc]=_0x3e3039[_0xa92dcc(0x2e6)](/url\(#(.*)\)/,_0xa92dcc(0x17d)[_0xa92dcc(0x340)](_0x42a523[_0xa92dcc(0x202)],')')));})),_0x3bd533;}function _0x3c462e(_0x2b3241,_0x45228b){const _0x3b869b=_0x364fc7;var _0x5a5974,_0x5aa99d=_0x45228b['defIds'];return!_0x5aa99d||_0x5aa99d[_0x3b869b(0x18f)]===0x0?_0x2b3241:_0x2b3241['tag']==='defs'&&(!((_0x5a5974=_0x2b3241[_0x3b869b(0x188)])===null||_0x5a5974===void 0x0)&&_0x5a5974[_0x3b869b(0x18f)])?_0x242649(_0x242649({},_0x2b3241),{'children':_0x2b3241[_0x3b869b(0x188)]['map'](function(_0x11fd30){const _0x4f96d0=_0x3b869b;return typeof _0x11fd30[_0x4f96d0(0x2e4)]['id']==_0x4f96d0(0x336)&&_0x5aa99d&&_0x5aa99d[_0x4f96d0(0x14a)](_0x11fd30[_0x4f96d0(0x2e4)]['id'])?_0x242649(_0x242649({},_0x11fd30),{'attrs':_0x242649(_0x242649({},_0x11fd30[_0x4f96d0(0x2e4)]),{'id':_0x11fd30[_0x4f96d0(0x2e4)]['id']+_0x45228b[_0x4f96d0(0x202)]})}):_0x11fd30;})}):_0x2b3241;}function _0x64c5d9(){const _0x2d22ff=_0x364fc7;return Math['random']()[_0x2d22ff(0x217)](0x24)[_0x2d22ff(0x11b)](0x2,0x8);}_0x1642cb[_0x364fc7(0x16f)]=_0x364fc7(0x13b);var _0x3e2eef={'tag':_0x364fc7(0x2e1),'attrs':{'xmlns':_0x364fc7(0x119),'fill':'none','viewBox':_0x364fc7(0x319),'width':_0x364fc7(0x35d),'height':_0x364fc7(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x364fc7(0x161),'attrs':{'stroke':'currentColor','d':_0x364fc7(0x229),'strokeLinecap':_0x364fc7(0x1ee),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x364fc7(0x2b8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x364fc7(0x161),'attrs':{'fill':_0x364fc7(0x170),'d':_0x364fc7(0x25f)}}]}]}],'defIds':[_0x364fc7(0x235)]},_0x28461b=_0x14d7ce[_0x364fc7(0x131)](function(_0x10d859,_0x1f4e3e){const _0x2a0670=_0x364fc7;return _0x14d7ce[_0x2a0670(0x20e)](_0x1642cb,Object['assign']({},_0x10d859,{'id':_0x2a0670(0x24e),'ref':_0x1f4e3e,'icon':_0x3e2eef}));});_0x28461b[_0x364fc7(0x16f)]='OffLineIcon';var _0x3e1596={'tag':'svg','attrs':{'xmlns':_0x364fc7(0x119),'fill':_0x364fc7(0x216),'viewBox':_0x364fc7(0x22e),'width':_0x364fc7(0x35d),'height':_0x364fc7(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x364fc7(0x194)},'children':[{'tag':_0x364fc7(0x161),'attrs':{'stroke':'currentColor','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':'round','strokeLinejoin':_0x364fc7(0x1ee),'strokeWidth':1.2}}]},{'tag':_0x364fc7(0x2b8),'attrs':{},'children':[{'tag':_0x364fc7(0x362),'attrs':{'id':_0x364fc7(0x1f5)},'children':[{'tag':'path','attrs':{'fill':_0x364fc7(0x170),'d':_0x364fc7(0x25f),'transform':_0x364fc7(0x2fe)}}]}]}],'defIds':[_0x364fc7(0x1f5)]},_0x46fef1=_0x14d7ce[_0x364fc7(0x131)](function(_0x4cdb3c,_0x4eef09){return _0x14d7ce['createElement'](_0x1642cb,Object['assign']({},_0x4cdb3c,{'id':'on-line-icon','ref':_0x4eef09,'icon':_0x3e1596}));});_0x46fef1['displayName']=_0x364fc7(0x324);function _0x23269f(_0x38cb91){const _0x2b686e=_0x364fc7;switch(_0x38cb91){case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x345)]:return _0x2b686e(0x175);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x329)]:return _0x2b686e(0x351);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x2dc)]:return _0x2b686e(0x2c6);case _0x3d42b8[_0x2b686e(0x2de)]['NOT_COLLAB']:return _0x2b686e(0x1dd);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x34a)]:case _0x3d42b8[_0x2b686e(0x2de)]['AWAITING_WITH_PENDING']:return _0x2b686e(0x372);case _0x3d42b8[_0x2b686e(0x2de)]['SYNCED']:case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x31d)]:return _0x2b686e(0x253);}}function _0x22caef(_0x5089c9){const _0x165111=_0x364fc7,{status$:_0x5a32e9}=_0x5089c9,_0xddea13=_0x1229e7[_0x165111(0x1c5)](_0x5a32e9,_0x3d42b8[_0x165111(0x2de)][_0x165111(0x154)]),_0x445a26=_0x1229e7[_0x165111(0x1c9)](_0x20df47['LocaleService']),_0x561224=_0x1229e7[_0x165111(0x1c9)](_0x3d42b8[_0x165111(0x383)]),_0x2e28c0=_0xddea13!==_0x3d42b8[_0x165111(0x2de)][_0x165111(0x345)],_0x29a66e=_0x445a26['t'](_0x23269f(_0xddea13)),_0x409c14=_0x2e28c0?_0x58edf1[_0x165111(0x1e3)](_0x46fef1,{}):_0x58edf1['jsx'](_0x28461b,{}),_0x557a1e=_0x14d7ce['useCallback'](()=>{const _0x5a79c7=_0x165111;_0x2e28c0||_0x561224[_0x5a79c7(0x29e)]();},[_0x2e28c0,_0x561224]);function _0x388647(){const _0x4c93e4=_0x165111;return _0x58edf1[_0x4c93e4(0x1cd)](_0x4c93e4(0x343),{'className':_0x4c93e4(0x234),'onClick':_0x557a1e,'children':[_0x58edf1[_0x4c93e4(0x1e3)](_0x4c93e4(0x343),{'className':_0x42ee62[_0x4c93e4(0x255)](_0x4c93e4(0x205),{'univer-text-green-500':_0x2e28c0,'univer-text-red-500':!_0x2e28c0}),'children':_0x409c14}),_0x58edf1[_0x4c93e4(0x1e3)](_0x4c93e4(0x343),{'className':_0x4c93e4(0x270),'children':_0x29a66e})]});}return _0x2e28c0?_0x388647():_0x58edf1[_0x165111(0x1e3)](_0x42ee62[_0x165111(0x37f)],{'title':_0x445a26['t']('collab-client.tooltip.reconnect'),'children':_0x388647()});}var _0x1cf597=Object[_0x364fc7(0x26c)],_0x51c141=(_0x229f4e,_0xa19c03,_0x3d0565,_0x240eab)=>{for(var _0x3eb713=_0x240eab>0x1?void 0x0:_0x240eab?_0x1cf597(_0xa19c03,_0x3d0565):_0xa19c03,_0x1793e8=_0x229f4e['length']-0x1,_0x44adcc;_0x1793e8>=0x0;_0x1793e8--)(_0x44adcc=_0x229f4e[_0x1793e8])&&(_0x3eb713=_0x44adcc(_0x3eb713)||_0x3eb713);return _0x3eb713;},_0x2b7beb=(_0x36d619,_0x28bf06)=>(_0x1bc818,_0x3238b3)=>_0x28bf06(_0x1bc818,_0x3238b3,_0x36d619);_0x4392a1[_0x364fc7(0x116)]=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x942f18,_0x5a585f,_0x17fde9,_0x5d6d61){const _0x5a40fa=_0x364fc7;super(),_0x4a92d0(this,'_status$',new _0x3396eb[(_0x5a40fa(0x374))](_0x3d42b8[_0x5a40fa(0x2de)][_0x5a40fa(0x154)])),(this[_0x5a40fa(0x1c2)]=_0x942f18,this[_0x5a40fa(0x1b2)]=_0x5a585f,this[_0x5a40fa(0x231)]=_0x17fde9,this[_0x5a40fa(0x14d)]=_0x5d6d61,this[_0x5a40fa(0x327)](),this['_initStatusListener']());}[_0x364fc7(0x27c)](){const _0x1bf236=_0x364fc7;this[_0x1bf236(0x363)](this[_0x1bf236(0x1c2)]['focused$'][_0x1bf236(0x13a)](_0x3396eb[_0x1bf236(0x187)](()=>{const _0x1aa5f8=_0x1bf236,_0x5f22be=this[_0x1aa5f8(0x1c2)][_0x1aa5f8(0x238)]();return _0x5f22be?this[_0x1aa5f8(0x231)][_0x1aa5f8(0x30f)](_0x5f22be[_0x1aa5f8(0x191)]()):_0x3396eb['of'](null);}),_0x3396eb[_0x1bf236(0x187)](_0x301a4b=>_0x301a4b?_0x301a4b[_0x1bf236(0x262)]:_0x3396eb['of'](_0x3d42b8[_0x1bf236(0x2de)][_0x1bf236(0x154)])))[_0x1bf236(0x276)](_0x493090=>{this['_status$']['next'](_0x493090);}));}['_initStatusComponent'](){const _0x3c38d3=_0x364fc7;this[_0x3c38d3(0x363)](this['_uiPartsService'][_0x3c38d3(0x37a)](_0x1229e7[_0x3c38d3(0x17b)]['HEADER_MENU'],()=>_0x1229e7[_0x3c38d3(0x137)](_0x9e322c({'status$':this['_status$'][_0x3c38d3(0x29f)]()}),this[_0x3c38d3(0x1b2)])));}},_0x4392a1['DesktopCollaborationStatusDisplayController']=_0x51c141([_0x2b7beb(0x0,_0x20df47['IUniverInstanceService']),_0x2b7beb(0x1,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x2b7beb(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x2b4)])),_0x2b7beb(0x3,_0x1229e7[_0x364fc7(0x2a9)])],_0x4392a1[_0x364fc7(0x116)]);function _0x9e322c(_0x81f8ca){const {status$:_0x30e1fe}=_0x81f8ca;return function(){return _0x58edf1['jsx'](_0x22caef,{'status$':_0x30e1fe});};}var _0x2f8aa3=Object[_0x364fc7(0x26c)],_0x520c54=(_0x1eb79b,_0x4f9cd4,_0x4fed1c,_0x2c4e88)=>{const _0x313a9d=_0x364fc7;for(var _0x1b41d2=_0x2c4e88>0x1?void 0x0:_0x2c4e88?_0x2f8aa3(_0x4f9cd4,_0x4fed1c):_0x4f9cd4,_0x5db9d9=_0x1eb79b[_0x313a9d(0x18f)]-0x1,_0x2b3c47;_0x5db9d9>=0x0;_0x5db9d9--)(_0x2b3c47=_0x1eb79b[_0x5db9d9])&&(_0x1b41d2=_0x2b3c47(_0x1b41d2)||_0x1b41d2);return _0x1b41d2;},_0x3e51c8=(_0x4b4f62,_0x474ef9)=>(_0x473239,_0xe5bb4f)=>_0x474ef9(_0x473239,_0xe5bb4f,_0x4b4f62);let _0x4a1f7a=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x33d522,_0xfd881,_0x1a532c,_0x3f02aa,_0x5305a3,_0x2dc23c){const _0x5e60ed=_0x364fc7;super(),this[_0x5e60ed(0x1ab)]=_0x33d522,this['_localCacheService']=_0xfd881,this[_0x5e60ed(0x160)]=_0x1a532c,this[_0x5e60ed(0x244)]=_0x3f02aa,this['_notificationService']=_0x5305a3,this[_0x5e60ed(0x2a5)]=_0x2dc23c,this[_0x5e60ed(0x268)](),this[_0x5e60ed(0x27f)]();}['_setupBeforeClosingHandler'](){const _0x50e35c=_0x364fc7;this[_0x50e35c(0x363)](this[_0x50e35c(0x1ab)][_0x50e35c(0x117)](()=>{const _0x370cf7=_0x50e35c;if(this['_localCacheService'][_0x370cf7(0x2c1)][_0x370cf7(0x2e2)])return this[_0x370cf7(0x2a5)]['t'](_0x370cf7(0x1cb));}));}[_0x364fc7(0x27f)](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x4900ac=>{const _0x89b3ae=_0x25e4;_0x4900ac['id']===_0x3d42b8['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x89b3ae(0x244)][_0x89b3ae(0x12e)]({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Warning'],'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x260))}),_0x4900ac['id']===_0x3d42b8['CollaborationUIEventId'][_0x89b3ae(0x144)]&&this['_messageService'][_0x89b3ae(0x12e)]({'type':_0x42ee62['MessageType'][_0x89b3ae(0x171)],'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x1bd))}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x301)]&&this[_0x89b3ae(0x1db)]['show']({'title':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x2f3)),'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x130)),'type':_0x89b3ae(0x1bb),'duration':0x0}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x329)]&&this[_0x89b3ae(0x244)]['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Error'],'content':this[_0x89b3ae(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4900ac[_0x89b3ae(0x277)]+')'}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)][_0x89b3ae(0x171)],'content':this[_0x89b3ae(0x2a5)]['t'](_0x4900ac[_0x89b3ae(0x277)]||'')}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['SOCKET_FAILED_RETRY']&&this[_0x89b3ae(0x244)][_0x89b3ae(0x12e)]({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Warning'],'content':this['_localeService']['t'](_0x89b3ae(0x12c))}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['SOCKET_FAILED']&&this[_0x89b3ae(0x244)]['show']({'type':_0x42ee62['MessageType'][_0x89b3ae(0x2ce)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x2be)]&&this['_messageService']['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)][_0x89b3ae(0x2ce)],'content':this[_0x89b3ae(0x2a5)]['t']('session.collaboration-timeout')});}));}};_0x4a1f7a=_0x520c54([_0x3e51c8(0x0,_0x1229e7[_0x364fc7(0x339)]),_0x3e51c8(0x1,_0x3d42b8[_0x364fc7(0x1e7)]),_0x3e51c8(0x2,_0x20df47['Inject'](_0x3d42b8['CollaborationUIEventService'])),_0x3e51c8(0x3,_0x1229e7['IMessageService']),_0x3e51c8(0x4,_0x1229e7[_0x364fc7(0x36a)]),_0x3e51c8(0x5,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x182)]))],_0x4a1f7a);const _0x589226='collaboration-client-ui.config',_0x41294f={},_0x338227=_0x20df47[_0x364fc7(0x23f)](_0x364fc7(0x359));var _0x5d9afc=Object[_0x364fc7(0x26c)],_0x14dd89=(_0x43b49e,_0x29537f,_0xf28b33,_0x1f3210)=>{const _0x4c3e93=_0x364fc7;for(var _0x210d64=_0x1f3210>0x1?void 0x0:_0x1f3210?_0x5d9afc(_0x29537f,_0xf28b33):_0x29537f,_0x2fbc12=_0x43b49e[_0x4c3e93(0x18f)]-0x1,_0x1491e7;_0x2fbc12>=0x0;_0x2fbc12--)(_0x1491e7=_0x43b49e[_0x2fbc12])&&(_0x210d64=_0x1491e7(_0x210d64)||_0x210d64);return _0x210d64;},_0x2da900=(_0x104ad1,_0x36e774)=>(_0x937e32,_0x1f59c9)=>_0x36e774(_0x937e32,_0x1f59c9,_0x104ad1);_0x4392a1[_0x364fc7(0x1df)]=class extends _0x20df47['RxDisposable']{constructor(_0xedb6b8,_0x33b9c8,_0x43684a,_0x3189aa,_0x505f25){const _0x38b872=_0x364fc7;super(),this[_0x38b872(0x1e4)]=_0xedb6b8,this[_0x38b872(0x2da)]=_0x33b9c8,this[_0x38b872(0x197)]=_0x43684a,this['_dataLoaderService']=_0x3189aa,_0x505f25?_0x505f25==null||_0x505f25[_0x38b872(0x31c)]()[_0x38b872(0x274)](()=>this[_0x38b872(0x184)]()):(this[_0x38b872(0x2da)][_0x38b872(0x1da)](_0x38b872(0x32d),_0x38b872(0x1a7)),this[_0x38b872(0x184)]());}async[_0x364fc7(0x184)](){const _0x4ec0b5=_0x364fc7,_0x48e72a=this[_0x4ec0b5(0x1e4)][_0x4ec0b5(0x11e)]('unit'),_0x1869de=this['_urlService'][_0x4ec0b5(0x11e)](_0x4ec0b5(0x27b)),_0x27ee03=this['_urlService'][_0x4ec0b5(0x11e)]('subunit');if(!_0x48e72a||!_0x1869de){this[_0x4ec0b5(0x2da)]['debug'](_0x4ec0b5(0x32d),_0x4ec0b5(0x2e0));return;}const _0x5542bf=await this['_dataLoaderService'][_0x4ec0b5(0x300)](_0x48e72a,Number(_0x1869de),_0x27ee03);_0x5542bf&&_0x5542bf instanceof _0x20df47[_0x4ec0b5(0x17c)]&&this['_setupSubUnitSync'](_0x5542bf);}async[_0x364fc7(0x371)](_0x399e2f){const _0x1bf574=_0x364fc7;await this[_0x1bf574(0x349)](_0x399e2f),_0x399e2f[_0x1bf574(0x179)]['pipe'](_0x3396eb[_0x1bf574(0x2ad)](this['dispose$']))[_0x1bf574(0x276)](_0x4065f0=>{const _0x3187c3=_0x1bf574;_0x4065f0&&this[_0x3187c3(0x316)](_0x4065f0);}),this[_0x1bf574(0x1e4)][_0x1bf574(0x1dc)][_0x1bf574(0x13a)](_0x3396eb[_0x1bf574(0x2ad)](this[_0x1bf574(0x365)]))[_0x1bf574(0x276)](()=>this[_0x1bf574(0x349)](_0x399e2f));}[_0x364fc7(0x316)](_0x2038d5,_0x18683e=!0x1){const _0x4a85d4=_0x364fc7,_0x5c38f3=this[_0x4a85d4(0x1e4)][_0x4a85d4(0x11e)](_0x4a85d4(0x189));_0x2038d5[_0x4a85d4(0x33c)]()!==_0x5c38f3&&this[_0x4a85d4(0x1e4)][_0x4a85d4(0x389)]('subunit',_0x2038d5[_0x4a85d4(0x33c)](),_0x18683e);}async[_0x364fc7(0x349)](_0x1a51fb){const _0x33aac8=_0x364fc7;var _0x21efbf;const _0xaefa36=this['_urlService']['getParam'](_0x33aac8(0x189));if(!_0xaefa36||!_0x1a51fb[_0x33aac8(0x28f)](_0xaefa36)){const _0x3fad82=_0x1a51fb['getUnhiddenWorksheets']()[0x0],_0xf30c2d=_0x1a51fb['getSheetBySheetId'](_0x3fad82);if(!_0xf30c2d)return;this['_updateURLWithCurrentState'](_0xf30c2d,!0x0),await this[_0x33aac8(0x197)][_0x33aac8(0x1d7)](_0x3148e7[_0x33aac8(0x118)]['id'],{'unitId':_0x1a51fb[_0x33aac8(0x191)](),'subUnitId':_0x3fad82});return;}((_0x21efbf=_0x1a51fb[_0x33aac8(0x2cc)]())==null?void 0x0:_0x21efbf['getSheetId']())!==_0xaefa36&&await this['_commandService']['executeCommand'](_0x3148e7['SetWorksheetActivateCommand']['id'],{'unitId':_0x1a51fb['getUnitId'](),'subUnitId':_0xaefa36});}},_0x4392a1['CollaborationDataLoaderController']=_0x14dd89([_0x2da900(0x0,_0x338227),_0x2da900(0x1,_0x20df47[_0x364fc7(0x342)]),_0x2da900(0x2,_0x20df47[_0x364fc7(0x353)]),_0x2da900(0x3,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x1ad)])),_0x2da900(0x4,_0x20df47[_0x364fc7(0x14b)](_0xdffc4[_0x364fc7(0x341)]))],_0x4392a1[_0x364fc7(0x1df)]);var _0x453139=Object[_0x364fc7(0x26c)],_0x3cdb57=(_0x1f2e8d,_0x1f9818,_0x814777,_0x14096e)=>{const _0x228d40=_0x364fc7;for(var _0x6c50b=_0x14096e>0x1?void 0x0:_0x14096e?_0x453139(_0x1f9818,_0x814777):_0x1f9818,_0x5d34c5=_0x1f2e8d[_0x228d40(0x18f)]-0x1,_0x1e5f4a;_0x5d34c5>=0x0;_0x5d34c5--)(_0x1e5f4a=_0x1f2e8d[_0x5d34c5])&&(_0x6c50b=_0x1e5f4a(_0x6c50b)||_0x6c50b);return _0x6c50b;},_0x5f35b7=(_0x40e4bb,_0x7076ed)=>(_0x151fc3,_0x20c88a)=>_0x7076ed(_0x151fc3,_0x20c88a,_0x40e4bb);let _0x204353=class{constructor(_0x4973fa,_0x4b6b5f,_0x528a97){const _0x422920=_0x364fc7;this[_0x422920(0x1b2)]=_0x4973fa,this[_0x422920(0x1bf)]=_0x4b6b5f,this[_0x422920(0x11a)]=_0x528a97;}['transformIMECache'](_0x37f1dd){const _0x2d3334=_0x364fc7;this[_0x2d3334(0x33d)](_0x37f1dd),this[_0x2d3334(0x2ec)](_0x37f1dd);}[_0x364fc7(0x148)](_0x31cd6b){const _0x57772b=_0x364fc7,{unitID:_0x4da28e}=_0x31cd6b,_0x224053=this[_0x57772b(0x11a)][_0x57772b(0x331)](_0x4da28e)['with'](_0x8e9d75[_0x57772b(0x1ba)]),{redoCache:_0xf2a9e7}=_0x224053['getUndoRedoMutationParamsCache']();if(_0xf2a9e7['length']===0x0)return _0x31cd6b;let _0x144141=_0x20df47[_0x57772b(0x19b)][_0x57772b(0x2d0)](_0x31cd6b[_0x57772b(0x258)][0x0]);for(let _0x2ebfa7=0x0;_0x2ebfa7<_0xf2a9e7[_0x57772b(0x18f)];_0x2ebfa7++){const _0x8a6b46={'id':_0x57772b(0x1b1),'params':{..._0xf2a9e7[_0x2ebfa7]}},_0x3e2e0c=this['_transformService'][_0x57772b(0x17a)](_0x144141,_0x8a6b46,!0x1);if(_0x3395bd[_0x57772b(0x271)](_0x3e2e0c))throw _0x3e2e0c[_0x57772b(0x1bb)];_0x144141=_0x3e2e0c['m1Prime'];}return{..._0x20df47['Tools'][_0x57772b(0x2d0)](_0x31cd6b),'mutations':[_0x144141]};}['_transformUndoRedoStack'](_0x51755b){const _0x2d879f=_0x364fc7,{unitID:_0x58b671}=_0x51755b,_0x20da8c=this[_0x2d879f(0x11a)][_0x2d879f(0x331)](_0x58b671)[_0x2d879f(0x212)](_0x8e9d75['DocIMEInputManagerService']),{undoCache:_0x194810,redoCache:_0x4bf192}=_0x20da8c[_0x2d879f(0x2c0)]();if(_0x194810[_0x2d879f(0x18f)]===0x0||_0x4bf192[_0x2d879f(0x18f)]===0x0)return;const _0x154a17=[],_0x359923=[];let _0x198912=_0x20df47[_0x2d879f(0x19b)][_0x2d879f(0x2d0)](_0x51755b[_0x2d879f(0x258)][0x0]),_0x25e8e5=_0x20df47[_0x2d879f(0x19b)][_0x2d879f(0x2d0)](_0x51755b[_0x2d879f(0x258)][0x0]);for(let _0x473a7d=_0x194810['length']-0x1;_0x473a7d>=0x0;_0x473a7d--){const _0x2c9da3={'id':_0x2d879f(0x1b1),'params':{..._0x194810[_0x473a7d]}},_0x5ac6b7={'id':_0x2d879f(0x1b1),'params':{..._0x4bf192[_0x473a7d]}},_0x3b5dd4=this['_transformService'][_0x2d879f(0x17a)](_0x198912,_0x2c9da3,!0x1),_0x120421=this['_transformService'][_0x2d879f(0x17a)](_0x25e8e5,_0x5ac6b7,!0x1);if(_0x3395bd['isTransformMutationFailure'](_0x3b5dd4))throw _0x3b5dd4[_0x2d879f(0x1bb)];if(_0x3395bd['isTransformMutationFailure'](_0x120421))throw _0x120421[_0x2d879f(0x1bb)];_0x154a17[_0x2d879f(0x22f)](_0x3b5dd4[_0x2d879f(0x138)]['params']),_0x359923[_0x2d879f(0x22f)](_0x120421[_0x2d879f(0x138)]['params']),_0x198912=_0x3b5dd4[_0x2d879f(0x1ef)],_0x25e8e5=_0x120421[_0x2d879f(0x1ef)];}_0x20da8c[_0x2d879f(0x259)]({'undoCache':_0x154a17,'redoCache':_0x359923});}[_0x364fc7(0x2ec)](_0x3f7f14){const _0x122249=_0x364fc7,{unitID:_0x3cbff2}=_0x3f7f14,_0x54f3cc=this['_renderManagerService'][_0x122249(0x331)](_0x3cbff2)[_0x122249(0x212)](_0x8e9d75[_0x122249(0x1ba)]),_0x452d87=_0x54f3cc['getActiveRange']();if(_0x452d87==null)return;const _0x422605=[{'id':_0x122249(0x1b1),'params':{'unitId':_0x3f7f14[_0x122249(0x25d)],'actions':null,'textRanges':[_0x452d87]}}],_0x7001fb=this['_transformService'][_0x122249(0x163)](_0x3f7f14,_0x422605);if(!_0x3395bd[_0x122249(0x165)](_0x7001fb))throw _0x7001fb[_0x122249(0x1bb)];const _0x1c3d56=_0x7001fb[_0x122249(0x138)][0x0]['params'][_0x122249(0x2c5)];Array['isArray'](_0x1c3d56)&&_0x1c3d56['length']&&_0x54f3cc[_0x122249(0x2cf)](_0x1c3d56[0x0]);}};_0x204353=_0x3cdb57([_0x5f35b7(0x0,_0x20df47[_0x364fc7(0x28b)](_0x20df47['Injector'])),_0x5f35b7(0x1,_0x3395bd[_0x364fc7(0x20b)]),_0x5f35b7(0x2,_0x4e3aee['IRenderManagerService'])],_0x204353);var _0xdacaca=Object['getOwnPropertyDescriptor'],_0x47fc47=(_0x1bc166,_0x427587,_0x2818bb,_0x4def41)=>{const _0x4196da=_0x364fc7;for(var _0x252ad6=_0x4def41>0x1?void 0x0:_0x4def41?_0xdacaca(_0x427587,_0x2818bb):_0x427587,_0x345333=_0x1bc166[_0x4196da(0x18f)]-0x1,_0x30d46f;_0x345333>=0x0;_0x345333--)(_0x30d46f=_0x1bc166[_0x345333])&&(_0x252ad6=_0x30d46f(_0x252ad6)||_0x252ad6);return _0x252ad6;},_0x2f2c93=(_0x1393db,_0x421b81)=>(_0x2db20a,_0x4ed362)=>_0x421b81(_0x2db20a,_0x4ed362,_0x1393db);let _0x43a28d=class{constructor(_0x4d20e9,_0x30358f,_0x22ace6){const _0x581eab=_0x364fc7;this[_0x581eab(0x1b2)]=_0x4d20e9,this[_0x581eab(0x1bf)]=_0x30358f,this[_0x581eab(0x17f)]=_0x22ace6;}[_0x364fc7(0x368)](_0x406b56){this['_transformHistoryAndStateStack'](_0x406b56);}[_0x364fc7(0x148)](_0x484f22){const _0x326082=_0x364fc7,{unitID:_0xdf3249}=_0x484f22,{collaboration:_0x5f4e2e}=this[_0x326082(0x17f)][_0x326082(0x1d4)](_0xdf3249);if(_0x5f4e2e[_0x326082(0x18f)]===0x0)return _0x484f22;let _0x34ed03=_0x20df47['Tools']['deepClone'](_0x484f22[_0x326082(0x258)][0x0]);for(let _0x130569=0x0;_0x130569<_0x5f4e2e[_0x326082(0x18f)];_0x130569++){const _0x4ec674={'id':_0x326082(0x1b1),'params':{'unitId':_0x5f4e2e[_0x130569][_0x326082(0x220)],..._0x5f4e2e[_0x130569][_0x326082(0x156)]}},_0x76f7b4=this['_transformService'][_0x326082(0x17a)](_0x34ed03,_0x4ec674,!0x1);if(_0x3395bd[_0x326082(0x271)](_0x76f7b4))throw _0x76f7b4[_0x326082(0x1bb)];_0x34ed03=_0x76f7b4['m1Prime'];}return{..._0x20df47[_0x326082(0x19b)]['deepClone'](_0x484f22),'mutations':[_0x34ed03]};}[_0x364fc7(0x141)](_0x3def15){const _0x2d270e=_0x364fc7,{unitID:_0x3c824d}=_0x3def15,{history:_0x528a04,collaboration:_0x8a9386}=this[_0x2d270e(0x17f)]['getStateCache'](_0x3c824d);if(_0x528a04[_0x2d270e(0x18f)]===0x0&&_0x8a9386[_0x2d270e(0x18f)]===0x0)return;const _0x2aa52f=[],_0x37be67=[];let _0x1c0cf0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]),_0x1a32f0=_0x20df47[_0x2d270e(0x19b)]['deepClone'](_0x3def15[_0x2d270e(0x258)][0x0]);for(let _0x493ca2=_0x528a04[_0x2d270e(0x18f)]-0x1;_0x493ca2>=0x0;_0x493ca2--){const _0x5672e2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x528a04[_0x493ca2][_0x2d270e(0x220)],..._0x528a04[_0x493ca2][_0x2d270e(0x28a)]}},_0x5448d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x528a04[_0x493ca2][_0x2d270e(0x220)],..._0x528a04[_0x493ca2][_0x2d270e(0x156)]}},_0x65a9b=this['_transformService'][_0x2d270e(0x17a)](_0x1c0cf0,_0x5672e2,!0x1),_0x255638=this['_transformService'][_0x2d270e(0x17a)](_0x1a32f0,_0x5448d5,!0x1);if(_0x3395bd['isTransformMutationFailure'](_0x65a9b))throw _0x65a9b[_0x2d270e(0x1bb)];if(_0x3395bd[_0x2d270e(0x271)](_0x255638))throw _0x255638['error'];_0x2aa52f['unshift']({..._0x528a04[_0x493ca2],'undoState':_0x65a9b['m2Prime']['params'],'redoState':_0x255638[_0x2d270e(0x138)]['params']}),_0x1c0cf0=_0x65a9b[_0x2d270e(0x1ef)],_0x1a32f0=_0x255638[_0x2d270e(0x1ef)];}_0x1c0cf0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]),_0x1a32f0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]);for(let _0x2a6063=_0x8a9386['length']-0x1;_0x2a6063>=0x0;_0x2a6063--){const _0x1c669c={'id':_0x2d270e(0x1b1),'params':{'unitId':_0x8a9386[_0x2a6063][_0x2d270e(0x220)],..._0x8a9386[_0x2a6063][_0x2d270e(0x28a)]}},_0x5c866c={'id':_0x2d270e(0x1b1),'params':{'unitId':_0x8a9386[_0x2a6063][_0x2d270e(0x220)],..._0x8a9386[_0x2a6063][_0x2d270e(0x156)]}},_0x164b15=this[_0x2d270e(0x1bf)][_0x2d270e(0x17a)](_0x1c0cf0,_0x1c669c,!0x1),_0x403df8=this[_0x2d270e(0x1bf)]['transformMutation'](_0x1a32f0,_0x5c866c,!0x1);if(_0x3395bd[_0x2d270e(0x271)](_0x164b15))throw _0x164b15[_0x2d270e(0x1bb)];if(_0x3395bd['isTransformMutationFailure'](_0x403df8))throw _0x403df8[_0x2d270e(0x1bb)];_0x37be67[_0x2d270e(0x22f)]({..._0x8a9386[_0x2a6063],'undoState':_0x164b15[_0x2d270e(0x138)]['params'],'redoState':_0x403df8[_0x2d270e(0x138)][_0x2d270e(0x1f3)]}),_0x1c0cf0=_0x164b15['m1Prime'],_0x1a32f0=_0x403df8[_0x2d270e(0x1ef)];}this[_0x2d270e(0x17f)][_0x2d270e(0x11f)](_0x3c824d,{'history':_0x2aa52f,'collaboration':_0x37be67});}};_0x43a28d=_0x47fc47([_0x2f2c93(0x0,_0x20df47['Inject'](_0x20df47['Injector'])),_0x2f2c93(0x1,_0x3395bd[_0x364fc7(0x20b)]),_0x2f2c93(0x2,_0x20df47[_0x364fc7(0x28b)](_0x8e9d75[_0x364fc7(0x1f8)]))],_0x43a28d);var _0x183bfb=Object['getOwnPropertyDescriptor'],_0x5265ae=(_0xe84153,_0x491494,_0x22fa7c,_0x311152)=>{const _0x42b20b=_0x364fc7;for(var _0x3a1a56=_0x311152>0x1?void 0x0:_0x311152?_0x183bfb(_0x491494,_0x22fa7c):_0x491494,_0x1a956b=_0xe84153[_0x42b20b(0x18f)]-0x1,_0x99b572;_0x1a956b>=0x0;_0x1a956b--)(_0x99b572=_0xe84153[_0x1a956b])&&(_0x3a1a56=_0x99b572(_0x3a1a56)||_0x3a1a56);return _0x3a1a56;},_0x369f80=(_0x185ace,_0x506fc3)=>(_0xd3f7a0,_0x1e0610)=>_0x506fc3(_0xd3f7a0,_0x1e0610,_0x185ace);let _0x3b2291=class{constructor(_0x2a4373,_0x19d0b1){const _0x3aacef=_0x364fc7;this[_0x3aacef(0x1b2)]=_0x2a4373,this[_0x3aacef(0x1bf)]=_0x19d0b1;}[_0x364fc7(0x381)](_0x552824){const _0x41defc=_0x364fc7;var _0x40b724;const _0x47719b=this[_0x41defc(0x1b2)][_0x41defc(0x19c)](_0xb95e52['DocSelectionManagerService']),_0x6a4707=(_0x40b724=_0x47719b[_0x41defc(0x314)]())!=null?_0x40b724:[];if(_0x6a4707[_0x41defc(0x18f)]===0x0)return;const _0x2db919=_0x552824[_0x41defc(0x25d)],_0x17ac5a=[{'id':_0x41defc(0x1b1),'params':{'unitId':_0x2db919,'actions':null,'textRanges':_0x6a4707}}],_0x5051de=this[_0x41defc(0x1bf)][_0x41defc(0x163)](_0x552824,_0x17ac5a);if(!_0x3395bd[_0x41defc(0x165)](_0x5051de))throw _0x5051de['error'];const _0x3e568f=_0x5051de['m2Prime'][0x0][_0x41defc(0x1f3)][_0x41defc(0x2c5)];Array[_0x41defc(0x237)](_0x3e568f)&&_0x3e568f['length']&&_0x47719b['replaceDocRanges'](_0x3e568f,{'unitId':_0x2db919,'subUnitId':_0x2db919},!0x1);}};_0x3b2291=_0x5265ae([_0x369f80(0x0,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x369f80(0x1,_0x3395bd[_0x364fc7(0x20b)])],_0x3b2291);var _0x4b8da2=Object[_0x364fc7(0x26c)],_0x1943b3=(_0x2a6e44,_0x2c6502,_0x59a9ac,_0x385584)=>{const _0x4c9f8e=_0x364fc7;for(var _0x367fa2=_0x385584>0x1?void 0x0:_0x385584?_0x4b8da2(_0x2c6502,_0x59a9ac):_0x2c6502,_0x4c4661=_0x2a6e44[_0x4c9f8e(0x18f)]-0x1,_0xaa8033;_0x4c4661>=0x0;_0x4c4661--)(_0xaa8033=_0x2a6e44[_0x4c4661])&&(_0x367fa2=_0xaa8033(_0x367fa2)||_0x367fa2);return _0x367fa2;},_0x4b1259=(_0x28146d,_0xfe76d7)=>(_0x5b7a57,_0xe0b119)=>_0xfe76d7(_0x5b7a57,_0xe0b119,_0x28146d);let _0x9e50af=class extends _0x20df47['Disposable']{constructor(_0x25bc30,_0x1fa662,_0x16e871,_0x289c22,_0x48f303,_0x6cb76,_0x45518e,_0x11f711){const _0x3d75a6=_0x364fc7;super(),_0x4a92d0(this,_0x3d75a6(0x190),new _0x3396eb[(_0x3d75a6(0x374))](_0x3d42b8[_0x3d75a6(0x2de)][_0x3d75a6(0x154)])),(this['_docStateChangeManagerService']=_0x25bc30,this['_collaborationController']=_0x1fa662,this[_0x3d75a6(0x2a1)]=_0x16e871,this[_0x3d75a6(0x373)]=_0x289c22,this[_0x3d75a6(0x1ff)]=_0x48f303,this['_docSyncEditingCollabCursorService']=_0x6cb76,this[_0x3d75a6(0x244)]=_0x45518e,this['_localeService']=_0x11f711,this['_initEntityListener']());}['_initEntityListener'](){const _0x2d570d=_0x364fc7;this['disposeWithMe'](this[_0x2d570d(0x231)]['entityInit$'][_0x2d570d(0x276)](_0x54814a=>{const _0x3cf257=_0x2d570d,_0x18af93=this[_0x3cf257(0x17f)][_0x3cf257(0x143)][_0x3cf257(0x276)](_0x5ef897=>{const _0x49fe22=_0x3cf257;if(_0x5ef897==null)return;const {unitId:_0x7aa67c,redoState:_0x1bfd1c,commandId:_0x3cf37a}=_0x5ef897;if(_0x7aa67c!==_0x54814a['unitID'])return;const _0x24cca7={'id':_0x3cf37a,'type':_0x20df47['CommandType'][_0x49fe22(0x152)],'params':{'unitId':_0x7aa67c,'actions':_0x1bfd1c[_0x49fe22(0x2f8)],'textRanges':null}};_0x54814a[_0x49fe22(0x36f)](_0x24cca7);});if(_0x54814a[_0x3cf257(0x363)](_0x18af93),_0x54814a instanceof _0x3d42b8[_0x3cf257(0x2e3)]){const _0x24ad03={'onTransformIME':_0x34f1c8=>this[_0x3cf257(0x2a1)][_0x3cf257(0x2f6)](_0x34f1c8),'onTransformState':_0x386f4b=>this[_0x3cf257(0x373)][_0x3cf257(0x368)](_0x386f4b),'onTransformSelections':_0x17d15c=>this[_0x3cf257(0x1ff)]['transformSelections'](_0x17d15c),'onSyncEditingCollabCursor':_0x14ad74=>this[_0x3cf257(0x15d)][_0x3cf257(0x168)](_0x14ad74),'onTransformRemoteChangesetByIMECache':_0x4e093e=>this['_docTransformIMECacheService'][_0x3cf257(0x148)](_0x4e093e),'onTransformRemoteChangesetByStateCache':_0x2e2904=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2e2904)};_0x54814a['addHandlerCallback'](_0x24ad03);}}));}};_0x9e50af=_0x1943b3([_0x4b1259(0x0,_0x20df47['Inject'](_0x8e9d75[_0x364fc7(0x1f8)])),_0x4b1259(0x1,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x2b4)])),_0x4b1259(0x2,_0x20df47[_0x364fc7(0x28b)](_0x204353)),_0x4b1259(0x3,_0x20df47[_0x364fc7(0x28b)](_0x43a28d)),_0x4b1259(0x4,_0x20df47[_0x364fc7(0x28b)](_0x3b2291)),_0x4b1259(0x5,_0x20df47[_0x364fc7(0x28b)](_0x28b84a)),_0x4b1259(0x6,_0x1229e7['IMessageService']),_0x4b1259(0x7,_0x20df47['Inject'](_0x20df47['LocaleService']))],_0x9e50af);var _0x4e78fb=Object[_0x364fc7(0x26c)],_0x554686=(_0x5efd9f,_0x41fe0f,_0x22324d,_0x2f9076)=>{for(var _0x414311=_0x2f9076>0x1?void 0x0:_0x2f9076?_0x4e78fb(_0x41fe0f,_0x22324d):_0x41fe0f,_0x3ce131=_0x5efd9f['length']-0x1,_0x4e9c8b;_0x3ce131>=0x0;_0x3ce131--)(_0x4e9c8b=_0x5efd9f[_0x3ce131])&&(_0x414311=_0x4e9c8b(_0x414311)||_0x414311);return _0x414311;},_0x551cee=(_0x3a13e9,_0x111cfd)=>(_0x1dd118,_0x36bea8)=>_0x111cfd(_0x1dd118,_0x36bea8,_0x3a13e9);let _0x1da0c8=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x19a27e,_0x518f3b,_0x56200b){const _0x35d992=_0x364fc7;super(),_0x4a92d0(this,_0x35d992(0x10e),new Map()),_0x4a92d0(this,'_saveTaskMap',new Map()),_0x4a92d0(this,_0x35d992(0x325),!0x1),(this[_0x35d992(0x1b8)]=_0x19a27e,this[_0x35d992(0x23e)]=_0x518f3b,this['_revisionService']=_0x56200b);}[_0x364fc7(0x29b)](){const _0x55bbcd=_0x364fc7;this[_0x55bbcd(0x325)]=!0x0;}['enableLocalCache'](){const _0xc17a9=_0x364fc7;this[_0xc17a9(0x325)]=!0x1;}get[_0x364fc7(0x2c1)](){return this['_saveTaskMap'];}['dispose'](){const _0x1f0c90=_0x364fc7;this[_0x1f0c90(0x2fd)]()[_0x1f0c90(0x274)](()=>super[_0x1f0c90(0x13f)]());}async[_0x364fc7(0x11d)](_0x25989a){const _0x1b551d=_0x364fc7;return this[_0x1b551d(0x325)]?null:this['_localStorageService']['getItem'](_0x3d42b8['getLocalCacheKey'](_0x25989a));}async['saveOfflineData'](_0x3618b5,_0x58268a){const _0x54f6b9=_0x364fc7;return!!this[_0x54f6b9(0x23e)][_0x54f6b9(0x25b)](_0x3618b5,_0x58268a);}[_0x364fc7(0x1ac)](_0x5d0d64,_0x5b158f,_0x5a9bb2,_0x12f8dc){const _0x121275=_0x364fc7,_0x4e5d18=this[_0x121275(0x185)][_0x121275(0x34d)](_0x5d0d64);this[_0x121275(0x10e)][_0x121275(0x394)](_0x5d0d64,{'unitID':_0x5d0d64,'type':_0x5b158f,'awaitingChangeset':_0x5a9bb2,'mutations':_0x12f8dc,'rev':_0x4e5d18}),this['_saveTaskMap'][_0x121275(0x1f1)](_0x5d0d64)||this[_0x121275(0x1eb)](_0x5d0d64);}[_0x364fc7(0x1eb)](_0x2ee005){const _0x37b942=_0x364fc7,_0x990d1c=this[_0x37b942(0x310)]();_0x990d1c===0x0?this[_0x37b942(0x249)](_0x2ee005):this['_saveTaskMap'][_0x37b942(0x394)](_0x2ee005,setTimeout(()=>this['_saveCache'](_0x2ee005),_0x990d1c));}[_0x364fc7(0x310)](){const _0x484724=_0x364fc7;var _0x39e182;return(_0x39e182=this[_0x484724(0x1b8)][_0x484724(0x162)](_0x3d42b8[_0x484724(0x1e8)]))!=null?_0x39e182:_0x3d42b8[_0x484724(0x315)];}[_0x364fc7(0x249)](_0xbdb693){const _0x3e990b=_0x364fc7,_0x26feae=this[_0x3e990b(0x2d4)][_0x3e990b(0x19c)](_0xbdb693);return _0x26feae!==void 0x0&&window[_0x3e990b(0x395)](_0x26feae),this[_0x3e990b(0x23e)][_0x3e990b(0x25b)](_0x3d42b8[_0x3e990b(0x33e)](_0xbdb693),this[_0x3e990b(0x10e)][_0x3e990b(0x19c)](_0xbdb693))[_0x3e990b(0x274)](()=>this[_0x3e990b(0x2d4)][_0x3e990b(0x1c3)](_0xbdb693));}async[_0x364fc7(0x2fd)](){const _0x2b5e8f=_0x364fc7,_0x57a096=[];this['_saveTaskMap'][_0x2b5e8f(0x24a)]((_0x2b4a38,_0x53e2e9)=>{const _0x178015=_0x2b5e8f;window['clearTimeout'](_0x2b4a38),_0x57a096[_0x178015(0x1a5)](this['_saveCache'](_0x53e2e9)[_0x178015(0x274)](()=>{const _0x59edea=_0x178015;this[_0x59edea(0x2d4)][_0x59edea(0x1c3)](_0x53e2e9);}));}),await Promise[_0x2b5e8f(0x248)](_0x57a096);}};_0x1da0c8=_0x554686([_0x551cee(0x0,_0x20df47['IConfigService']),_0x551cee(0x1,_0x20df47[_0x364fc7(0x2b9)]),_0x551cee(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3395bd[_0x364fc7(0x19d)]))],_0x1da0c8);class _0x3b85f7 extends _0x20df47[_0x364fc7(0x36e)]{constructor(){const _0x2fb60e=_0x364fc7;super(),_0x4a92d0(this,'urlChange$'),this[_0x2fb60e(0x1dc)]=_0x3396eb['fromEvent'](window,_0x2fb60e(0x224))[_0x2fb60e(0x13a)](_0x3396eb[_0x2fb60e(0x2ad)](this['dispose$']),_0x3396eb[_0x2fb60e(0x14c)](0x1),_0x3396eb[_0x2fb60e(0x155)](void 0x0));}[_0x364fc7(0x389)](_0x3ee893,_0x3e187c,_0x411436=!0x1){const _0x5b3e02=_0x364fc7,_0xee2c29=new URL(window[_0x5b3e02(0x26f)][_0x5b3e02(0x218)]);_0xee2c29[_0x5b3e02(0x158)]['set'](_0x3ee893,_0x3e187c),_0x411436?window[_0x5b3e02(0x337)][_0x5b3e02(0x328)]('','',_0xee2c29[_0x5b3e02(0x217)]()):window['history'][_0x5b3e02(0x200)]('','',_0xee2c29['toString']());}[_0x364fc7(0x228)](_0x3091b8,_0x9eed34=!0x1){const _0x1d4d71=_0x364fc7,_0x289869=new URL(window[_0x1d4d71(0x26f)][_0x1d4d71(0x218)]);_0x289869[_0x1d4d71(0x158)][_0x1d4d71(0x1c3)](_0x3091b8),_0x9eed34?window[_0x1d4d71(0x337)][_0x1d4d71(0x328)]('','',_0x289869[_0x1d4d71(0x217)]()):window[_0x1d4d71(0x337)][_0x1d4d71(0x200)]('','',_0x289869[_0x1d4d71(0x217)]());}[_0x364fc7(0x11e)](_0x211d39){const _0x34608d=_0x364fc7;var _0xe5a10f;return(_0xe5a10f=new URL(window[_0x34608d(0x26f)][_0x34608d(0x218)])[_0x34608d(0x158)]['get'](_0x211d39))!=null?_0xe5a10f:void 0x0;}}var _0x423c81=Object['defineProperty'],_0x289026=Object[_0x364fc7(0x26c)],_0x20c90f=(_0xc5e68d,_0x12a692,_0x53d62b)=>_0x12a692 in _0xc5e68d?_0x423c81(_0xc5e68d,_0x12a692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53d62b}):_0xc5e68d[_0x12a692]=_0x53d62b,_0x38fc9f=(_0x3c2082,_0x587b39,_0x67a8a1,_0x4d0eee)=>{for(var _0x62e578=_0x4d0eee>0x1?void 0x0:_0x4d0eee?_0x289026(_0x587b39,_0x67a8a1):_0x587b39,_0x5b8a26=_0x3c2082['length']-0x1,_0x225b2b;_0x5b8a26>=0x0;_0x5b8a26--)(_0x225b2b=_0x3c2082[_0x5b8a26])&&(_0x62e578=_0x225b2b(_0x62e578)||_0x62e578);return _0x62e578;},_0x2ef859=(_0x265200,_0x34c538)=>(_0x5cabd9,_0x1f52eb)=>_0x34c538(_0x5cabd9,_0x1f52eb,_0x265200),_0x29932d=(_0x40d3f2,_0x45ca5f,_0x110ba3)=>_0x20c90f(_0x40d3f2,_0x45ca5f+'',_0x110ba3);const _0x2ca5bd='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4392a1[_0x364fc7(0x226)]=class extends _0x20df47['Plugin']{constructor(_0x3dc22d=_0x41294f,_0x155510,_0x2d13f6,_0x2077bf){const _0x51de3a=_0x364fc7;super(),this[_0x51de3a(0x38b)]=_0x3dc22d,this[_0x51de3a(0x11a)]=_0x155510,this[_0x51de3a(0x1b2)]=_0x2d13f6,this['_configService']=_0x2077bf;const {..._0x145971}=_0x20df47[_0x51de3a(0x146)]({},_0x41294f,this['_config']);this['_configService'][_0x51de3a(0x172)](_0x589226,_0x145971);}[_0x364fc7(0x11c)](){const _0x3374c3=_0x364fc7;this[_0x3374c3(0x1cc)](),this[_0x3374c3(0x1e9)]();}['onRendered'](){const _0x12708b=_0x364fc7;this[_0x12708b(0x35a)]();}[_0x364fc7(0x1cc)](){const _0x43456c=_0x364fc7;var _0xb6be96;const _0x5e435a=[[_0x5cb8a1],[_0x3b2291],[_0x204353],[_0x43a28d],[_0x28b84a],[_0x338227,{'useClass':_0x3b85f7}],[_0x230e9b[_0x43456c(0x321)],{'useClass':_0x230e9b[_0x43456c(0x1f7)]}],[_0x3d42b8['ILocalCacheService'],{'useClass':_0x1da0c8}],[_0x4392a1[_0x43456c(0x116)]],[_0x9e50af],[_0x4a1f7a],[_0x100640],[_0x5ecd54],[_0x4392a1[_0x43456c(0x1df)]]];_0x20df47[_0x43456c(0x157)](this[_0x43456c(0x1b2)],_0x20df47[_0x43456c(0x204)](_0x5e435a,(_0xb6be96=this[_0x43456c(0x38b)])==null?void 0x0:_0xb6be96[_0x43456c(0x2f7)]));}['_registerRenderDependencies'](){const _0x247155=_0x364fc7;this[_0x247155(0x363)](this[_0x247155(0x11a)][_0x247155(0x193)](_0x20df47[_0x247155(0x386)][_0x247155(0x2d6)],[_0x540093])),this[_0x247155(0x363)](this['_renderManagerService'][_0x247155(0x193)](_0x20df47[_0x247155(0x386)][_0x247155(0x32e)],[_0x1fd5d1]));}['_initDependencies'](){const _0x303610=_0x364fc7;_0x20df47[_0x303610(0x10d)](this[_0x303610(0x1b2)],[[_0x100640],[_0x4392a1[_0x303610(0x116)]],[_0x9e50af],[_0x4a1f7a],[_0x4392a1[_0x303610(0x1df)]]]);}},_0x29932d(_0x4392a1['UniverCollaborationClientUIPlugin'],_0x364fc7(0x1ca),_0x2ca5bd),_0x4392a1[_0x364fc7(0x226)]=_0x38fc9f([_0x20df47['DependentOn'](_0x3d42b8[_0x364fc7(0x1e2)]),_0x2ef859(0x1,_0x4e3aee[_0x364fc7(0x23d)]),_0x2ef859(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x2ef859(0x3,_0x20df47[_0x364fc7(0x298)])],_0x4392a1[_0x364fc7(0x226)]);var _0x1a9329=Object[_0x364fc7(0x26c)],_0x46a000=(_0x22c36e,_0x231e55,_0x1b1f98,_0x155954)=>{const _0x2e2af9=_0x364fc7;for(var _0x4e367a=_0x155954>0x1?void 0x0:_0x155954?_0x1a9329(_0x231e55,_0x1b1f98):_0x231e55,_0x2182c0=_0x22c36e[_0x2e2af9(0x18f)]-0x1,_0x51aa20;_0x2182c0>=0x0;_0x2182c0--)(_0x51aa20=_0x22c36e[_0x2182c0])&&(_0x4e367a=_0x51aa20(_0x4e367a)||_0x4e367a);return _0x4e367a;},_0x39d579=(_0x31d16a,_0x1e6aba)=>(_0x452438,_0x40e554)=>_0x1e6aba(_0x452438,_0x40e554,_0x31d16a);_0x4392a1[_0x364fc7(0x2df)]=class extends _0x3d42b8[_0x364fc7(0x38c)]{constructor(_0x3b2b22,_0x3c6acb,_0x5b437c,_0x56dc93,_0x1709ce){super(_0x3b2b22,_0x3c6acb,_0x5b437c,_0x56dc93,_0x1709ce);}async[_0x364fc7(0x30b)](_0x5ccaba){const _0x43714d=_0x364fc7,_0x2663e=await this[_0x43714d(0x366)](),_0x35340f=this['_createSocketURL'](_0x5ccaba,_0x2663e);return this[_0x43714d(0x375)](_0x35340f);}[_0x364fc7(0x369)](_0x2773e3,_0x1724e9){const _0x364cf9=_0x364fc7,_0x2b65ae=typeof window>'u'?new URL(_0x2773e3):new URL(_0x2773e3,window[_0x364cf9(0x26f)][_0x364cf9(0x2a8)]);_0x2b65ae[_0x364cf9(0x158)][_0x364cf9(0x394)]('sessionTicket',_0x1724e9);const _0x26ba53=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x364cf9(0x26f)][_0x364cf9(0x385)]);return _0x26ba53[_0x364cf9(0x19c)]('runId')&&_0x2b65ae[_0x364cf9(0x158)][_0x364cf9(0x394)]('runId',_0x26ba53[_0x364cf9(0x19c)](_0x364cf9(0x22c))),_0x2b65ae[_0x364cf9(0x217)]();}async['_getSessionTicket'](){const _0x507f3f=_0x364fc7;var _0x58ce06,_0x1b55f0,_0xfc9d52;const _0x51e774=this[_0x507f3f(0x1b8)][_0x507f3f(0x162)](_0x3d42b8[_0x507f3f(0x21c)]),_0x22ff1d=(_0x58ce06=_0x51e774==null?void 0x0:_0x51e774[_0x507f3f(0x350)])!=null?_0x58ce06:_0x3d42b8['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xfc9d52=(_0x1b55f0=(await this[_0x507f3f(0x2ac)]['get'](_0x22ff1d,{'headers':{'Content-Type':'application/json'}}))[_0x507f3f(0x396)])==null?void 0x0:_0x1b55f0[_0x507f3f(0x213)])!=null?_0xfc9d52:'';}},_0x4392a1['BrowserCollaborationSocketService']=_0x46a000([_0x39d579(0x0,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x39d579(0x1,_0x20df47[_0x364fc7(0x28b)](_0x230e9b[_0x364fc7(0x2ba)])),_0x39d579(0x2,_0x20df47[_0x364fc7(0x298)]),_0x39d579(0x3,_0x20df47[_0x364fc7(0x342)]),_0x39d579(0x4,_0x3395bd['ISnapshotServerService'])],_0x4392a1[_0x364fc7(0x2df)]);const _0x4161d9=0x7530,_0x3c1896=_0x364fc7(0x23c);class _0x458c06 extends _0x20df47['Disposable']{constructor(){const _0x2612c5=_0x364fc7;super(),_0x4a92d0(this,_0x2612c5(0x21e),_0x20df47[_0x2612c5(0x30c)]()),_0x4a92d0(this,'_selfUnitIDs',new Set()),_0x4a92d0(this,_0x2612c5(0x330),new Map()),_0x4a92d0(this,_0x2612c5(0x2b0),null),_0x4a92d0(this,'_clearOtherTimers',new Map()),_0x4a92d0(this,_0x2612c5(0x34f),new Map()),this[_0x2612c5(0x184)]();}[_0x364fc7(0x13f)](){const _0x3f6fdc=_0x364fc7;super[_0x3f6fdc(0x13f)](),this['_clearOtherTimers'][_0x3f6fdc(0x24a)]((_0x112e09,_0x2c76d6)=>this[_0x3f6fdc(0x214)](_0x2c76d6)),this['_heartbeatTimer']&&window[_0x3f6fdc(0x376)](this[_0x3f6fdc(0x2b0)]);}[_0x364fc7(0x24f)](_0x26f739){const _0x430719=_0x364fc7;return this[_0x430719(0x134)](_0x26f739)[_0x430719(0x13a)](_0x3396eb[_0x430719(0x241)]());}[_0x364fc7(0x1b4)](_0x348ac8){const _0x10b914=_0x364fc7;this['_selfUnitIDs'][_0x10b914(0x2e2)]===0x0&&this[_0x10b914(0x178)](),this['_selfUnitIDs']['add'](_0x348ac8),this['_send']({'type':0x0,'memberID':this[_0x10b914(0x21e)],'unitIDs':[_0x348ac8],'isForwarded':!0x1});}[_0x364fc7(0x20d)](_0xc9b800){const _0x221467=_0x364fc7;this[_0x221467(0x14e)]['delete'](_0xc9b800),this[_0x221467(0x14e)][_0x221467(0x2e2)]===0x0&&this['_heartbeatTimer']&&window[_0x221467(0x376)](this['_heartbeatTimer']);}['_init'](){const _0x23bc48=_0x364fc7;this[_0x23bc48(0x363)](_0x20df47[_0x23bc48(0x222)](_0x3396eb[_0x23bc48(0x284)](window,_0x23bc48(0x294))[_0x23bc48(0x276)](_0x3472b7=>{const _0x56290d=_0x23bc48;if(_0x3472b7['key']!==_0x3c1896||!_0x3472b7[_0x56290d(0x12b)])return;const _0x1022f6=JSON[_0x56290d(0x2aa)](_0x3472b7['newValue']);this[_0x56290d(0x12f)](_0x1022f6);}))),window[_0x23bc48(0x2d2)]('unload',()=>this[_0x23bc48(0x176)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x23bc48(0x14e)])}));}[_0x364fc7(0x12f)](_0xc57764){const _0x49f0c3=_0x364fc7;switch(_0xc57764[_0x49f0c3(0x27b)]){case 0x0:this[_0x49f0c3(0x15e)](_0xc57764);break;case 0x1:this[_0x49f0c3(0x177)](_0xc57764);break;case 0x2:this[_0x49f0c3(0x1c8)](_0xc57764);break;}}[_0x364fc7(0x15e)](_0x495e8f){const _0x2848f5=_0x364fc7,{unitIDs:_0x590955,memberID:_0xaecfe2,isForwarded:_0x2f0abf}=_0x495e8f;_0x590955[_0x2848f5(0x24a)](_0xa4da4b=>{const _0x220b08=_0x2848f5;if(!_0x2f0abf&&this[_0x220b08(0x330)]['has'](_0xa4da4b)&&this[_0x220b08(0x134)](_0xa4da4b)[_0x220b08(0x333)](_0x3d42b8[_0x220b08(0x335)]['OTHER_CLIENTS_EDITING']),!this[_0x220b08(0x330)][_0x220b08(0x1f1)](_0xa4da4b)||!this[_0x220b08(0x330)]['get'](_0xa4da4b)['has'](_0xaecfe2)){const _0x22a358=this[_0x220b08(0x330)]['get'](_0xa4da4b)||new Set();_0x22a358[_0x220b08(0x370)](_0xaecfe2),this[_0x220b08(0x330)]['set'](_0xa4da4b,_0x22a358),this[_0x220b08(0x1b9)](_0xaecfe2);}}),_0x2f0abf||this[_0x2848f5(0x176)]({'type':0x0,'memberID':this[_0x2848f5(0x21e)],'unitIDs':[...this[_0x2848f5(0x14e)]],'isForwarded':!0x0});}[_0x364fc7(0x1b9)](_0x36732d){const _0x260238=_0x364fc7;this[_0x260238(0x214)](_0x36732d);const _0x2ab13e=window[_0x260238(0x1b5)](()=>{const _0x254bce=_0x260238;this[_0x254bce(0x330)][_0x254bce(0x24a)](_0x428132=>{const _0x3c1728=_0x254bce;_0x428132[_0x3c1728(0x1c3)](_0x36732d);});},_0x4161d9*0x2);this[_0x260238(0x38a)][_0x260238(0x394)](_0x36732d,_0x2ab13e);}[_0x364fc7(0x214)](_0x3ae385){const _0x1690da=_0x364fc7;if(this[_0x1690da(0x38a)]['has'](_0x3ae385)){const _0x3ea6df=this[_0x1690da(0x38a)][_0x1690da(0x19c)](_0x3ae385);_0x3ea6df&&window['clearTimeout'](_0x3ea6df),this[_0x1690da(0x38a)][_0x1690da(0x394)](_0x3ae385,null);}}[_0x364fc7(0x177)](_0x2accf7){const _0x160d5f=_0x364fc7,{memberID:_0x2cb0f8,unitIDs:_0x24c812}=_0x2accf7;_0x24c812['forEach'](_0x368ac6=>{const _0x461359=_0x25e4;var _0x45e26d;const _0xefef7d=this['_unitOnClients']['get'](_0x368ac6);_0xefef7d&&(_0xefef7d[_0x461359(0x1c3)](_0x2cb0f8),(_0x45e26d=this[_0x461359(0x134)](_0x368ac6))==null||_0x45e26d[_0x461359(0x333)](_0xefef7d[_0x461359(0x2e2)]===0x0?_0x3d42b8['UnitStatus'][_0x461359(0x25a)]:_0x3d42b8[_0x461359(0x335)]['OTHER_CLIENTS_EDITING']));}),this[_0x160d5f(0x214)](_0x2cb0f8);}['_handleHeartbeatEvent'](_0x27767f){const _0x26fcb3=_0x364fc7;this['_scheduleClearOtherTimer'](_0x27767f[_0x26fcb3(0x1d1)]);}[_0x364fc7(0x176)](_0x30e92f){const _0x4135f3=_0x364fc7;localStorage[_0x4135f3(0x25b)](_0x3c1896,JSON[_0x4135f3(0x1de)](_0x30e92f));}[_0x364fc7(0x178)](){const _0x2f8a1b=_0x364fc7;this[_0x2f8a1b(0x2b0)]=window[_0x2f8a1b(0x364)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4161d9);}['_ensureSubject'](_0x19f238){const _0x576cc8=_0x364fc7;return this[_0x576cc8(0x34f)][_0x576cc8(0x1f1)](_0x19f238)||this['_unitStatus'][_0x576cc8(0x394)](_0x19f238,new _0x3396eb['BehaviorSubject'](_0x3d42b8[_0x576cc8(0x335)][_0x576cc8(0x25a)])),this['_unitStatus'][_0x576cc8(0x19c)](_0x19f238);}}var _0x397bcc=(_0x11a3e8=>(_0x11a3e8[_0x11a3e8[_0x364fc7(0x2f4)]=0x0]=_0x364fc7(0x2f4),_0x11a3e8[_0x11a3e8['OK']=0x1]='OK',_0x11a3e8[_0x11a3e8[_0x364fc7(0x223)]=0x2]=_0x364fc7(0x223),_0x11a3e8[_0x11a3e8[_0x364fc7(0x301)]=0x3]=_0x364fc7(0x301),_0x11a3e8[_0x11a3e8[_0x364fc7(0x242)]=0x4]=_0x364fc7(0x242),_0x11a3e8[_0x11a3e8['UNAUTHENTICATED']=0x5]=_0x364fc7(0x206),_0x11a3e8[_0x11a3e8['ALREADY_EXISTS']=0x6]=_0x364fc7(0x236),_0x11a3e8[_0x11a3e8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x11a3e8[_0x11a3e8['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x11a3e8[_0x11a3e8[_0x364fc7(0x1fa)]=0x9]='COMPLETION_FINISHED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x290)]=0xa]=_0x364fc7(0x290),_0x11a3e8[_0x11a3e8[_0x364fc7(0x15c)]=0x1389]=_0x364fc7(0x15c),_0x11a3e8[_0x11a3e8[_0x364fc7(0x142)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x10b)]=0x1772]=_0x364fc7(0x10b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x18b)]=0x1773]=_0x364fc7(0x18b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x135)]=0x1b59]='APPLY_REJECT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x288)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x11a3e8[_0x11a3e8[_0x364fc7(0x22a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x198)]=0x1b5c]=_0x364fc7(0x198),_0x11a3e8[_0x11a3e8[_0x364fc7(0x393)]=0x1b5d]=_0x364fc7(0x393),_0x11a3e8[_0x11a3e8[_0x364fc7(0x29a)]=0x1f41]=_0x364fc7(0x29a),_0x11a3e8[_0x11a3e8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x364fc7(0x2f9),_0x11a3e8[_0x11a3e8[_0x364fc7(0x1b0)]=0x232a]=_0x364fc7(0x1b0),_0x11a3e8[_0x11a3e8[_0x364fc7(0x12d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x132)]=0x232c]=_0x364fc7(0x132),_0x11a3e8[_0x11a3e8[_0x364fc7(0x367)]=0x232d]=_0x364fc7(0x367),_0x11a3e8[_0x11a3e8[_0x364fc7(0x246)]=0x2711]=_0x364fc7(0x246),_0x11a3e8[_0x11a3e8[_0x364fc7(0x2d3)]=0x2712]=_0x364fc7(0x2d3),_0x11a3e8[_0x11a3e8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x364fc7(0x278),_0x11a3e8[_0x11a3e8[_0x364fc7(0x2f5)]=0x2714]=_0x364fc7(0x2f5),_0x11a3e8[_0x11a3e8[_0x364fc7(0x29c)]=0x271a]=_0x364fc7(0x29c),_0x11a3e8[_0x11a3e8[_0x364fc7(0x20a)]=0x271b]=_0x364fc7(0x20a),_0x11a3e8[_0x11a3e8['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x364fc7(0x264),_0x11a3e8[_0x11a3e8[_0x364fc7(0x323)]=0x271d]=_0x364fc7(0x323),_0x11a3e8[_0x11a3e8[_0x364fc7(0x355)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x2bc)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x1be)]=0x2af9]=_0x364fc7(0x1be),_0x11a3e8[_0x11a3e8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x364fc7(0x1a9),_0x11a3e8[_0x11a3e8[_0x364fc7(0x392)]=0x2ee2]='INVALID_INVITE_CODE',_0x11a3e8[_0x11a3e8[_0x364fc7(0x397)]=0x2ee3]=_0x364fc7(0x397),_0x11a3e8[_0x11a3e8[_0x364fc7(0x31a)]=0x2ee4]=_0x364fc7(0x31a),_0x11a3e8[_0x11a3e8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x364fc7(0x23b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x1a2)]=0x32c9]=_0x364fc7(0x1a2),_0x11a3e8[_0x11a3e8[_0x364fc7(0x250)]=0x32ca]=_0x364fc7(0x250),_0x11a3e8[_0x11a3e8[_0x364fc7(0x292)]=0x32cb]=_0x364fc7(0x292),_0x11a3e8[_0x11a3e8[_0x364fc7(0x32f)]=-0x1]='UNRECOGNIZED',_0x11a3e8))(_0x397bcc||{}),_0x28efe7=Object[_0x364fc7(0x26c)],_0x4ea583=(_0x221456,_0x5c955b,_0x4b0504,_0x124e77)=>{const _0x11d96f=_0x364fc7;for(var _0x29155d=_0x124e77>0x1?void 0x0:_0x124e77?_0x28efe7(_0x5c955b,_0x4b0504):_0x5c955b,_0x51aaac=_0x221456[_0x11d96f(0x18f)]-0x1,_0x20430e;_0x51aaac>=0x0;_0x51aaac--)(_0x20430e=_0x221456[_0x51aaac])&&(_0x29155d=_0x20430e(_0x29155d)||_0x29155d);return _0x29155d;},_0x68bada=(_0x5ed424,_0x52e70f)=>(_0x20a483,_0x264c9e)=>_0x52e70f(_0x20a483,_0x264c9e,_0x5ed424);_0x4392a1[_0x364fc7(0x356)]=class extends _0x20df47['Disposable']{constructor(_0x14e79e,_0x3db351,_0x47acad){const _0x5b3417=_0x364fc7;super(),this[_0x5b3417(0x26b)]=_0x14e79e,this['_httpService']=_0x3db351,this[_0x5b3417(0x1b8)]=_0x47acad;}async['runOnServer'](_0x2a4cf1,_0x5b9f5e,_0x4150e8,..._0x2e9332){const _0x2e18e6=_0x364fc7;var _0x581bfd,_0x596122,_0x3643cf,_0x110993;const _0x225cc6=this[_0x2e18e6(0x26b)][_0x2e18e6(0x238)]();if(!_0x225cc6)throw new Error(_0x2e18e6(0x251));const _0x4234d7=((_0x581bfd=this[_0x2e18e6(0x1b8)][_0x2e18e6(0x162)](_0x3d42b8[_0x2e18e6(0x34e)]))!=null?_0x581bfd:_0x3d42b8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2a4cf1+_0x2e18e6(0x221)+_0x5b9f5e,_0x48f034=new URL(window[_0x2e18e6(0x26f)][_0x2e18e6(0x218)]),_0x81b1cb={'scriptId':_0x2a4cf1,'runId':(_0x596122=_0x48f034['searchParams'][_0x2e18e6(0x19c)](_0x2e18e6(0x22c)))!=null?_0x596122:'','function':_0x5b9f5e,'unitId':_0x225cc6[_0x2e18e6(0x191)](),'argsOfFunction':JSON[_0x2e18e6(0x1de)](_0x2e9332),'invokeId':(_0x3643cf=_0x4150e8['invokeId'])!=null?_0x3643cf:'','executionId':(_0x110993=_0x4150e8[_0x2e18e6(0x2ed)])!=null?_0x110993:''};try{const _0x352867=await this['_httpService'][_0x2e18e6(0x354)](_0x4234d7,{'body':_0x81b1cb});return _0x352867[_0x2e18e6(0x396)][_0x2e18e6(0x1bb)]&&_0x352867[_0x2e18e6(0x396)][_0x2e18e6(0x1bb)][_0x2e18e6(0x30d)]!==_0x397bcc['OK']?_0x2e18e6(0x308):_0x352867['body'][_0x2e18e6(0x1fb)];}catch{return _0x2e18e6(0x308);}}},_0x4392a1[_0x364fc7(0x356)]=_0x4ea583([_0x68bada(0x0,_0x20df47[_0x364fc7(0x303)]),_0x68bada(0x1,_0x20df47[_0x364fc7(0x28b)](_0x230e9b[_0x364fc7(0x2ba)])),_0x68bada(0x2,_0x20df47['IConfigService'])],_0x4392a1[_0x364fc7(0x356)]),_0x4392a1['CollaborationStatusDisplay']=_0x22caef,_0x4392a1['IURLService']=_0x338227,_0x4392a1[_0x364fc7(0x23a)]=_0x24d54a,_0x4392a1['WebBrowserSingleActiveUnitService']=_0x458c06,_0x4392a1[_0x364fc7(0x19a)]=_0x3b85f7,Object['defineProperty'](_0x4392a1,Symbol['toStringTag'],{'value':'Module'});}));function _0x25e4(_0x44c667,_0xe9271d){const _0x225a7f=_0x225a();return _0x25e4=function(_0x25e407,_0x348d80){_0x25e407=_0x25e407-0x10a;let _0x3ff4fc=_0x225a7f[_0x25e407];return _0x3ff4fc;},_0x25e4(_0x44c667,_0xe9271d);}function _0x225a(){const _0x23ede6=['_colorAssignService','_configService','_scheduleClearOtherTimer','DocIMEInputManagerService','error','_hideTimer','collaboration.closeRoom','PY_RUNTIME_SCRIPT_ERROR','_transformService','collab-rect-range-','EffectRefRangId','_univerInstanceService','delete','_refRangeService','useObservable','MessageType','handleDeleteRangeMoveLeft','_handleHeartbeatEvent','useDependency','pluginName','collaboration-client.offline-data-not-saved','_registerDependencies','jsxs','_drawAnchor','SHEET_VIEWPORT_KEY','@univerjs/network','memberID','green.600','_collabSessionService','getStateCache','DOC_RANGE_TYPE','_toggleOnline','executeCommand','runRefRangeMutations','amd','debug','_notificationService','urlChange$','collabStatus.notCollab','stringify','CollaborationDataLoaderController','COLORS','requireSession','UniverCollaborationClientPlugin','jsx','_urlService','blue.400','subUnitId','ILocalCacheService','LOCAL_CACHE_INTERVAL_KEY','_initDependencies','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_scheduleSaving','findNodePositionByCharIndex','10MgFlzJ','round','m1Prime','unsubscribe','has','getSkeleton','params','from','on-line-icon_clip0_910_349','some','WebSocketService','DocStateChangeManagerService','UniverSheets','COMPLETION_FINISHED','result','_cursorInfo$','call','getCollabCursors$','_docTransformSelectionsService','pushState','bottom','idSuffix','contains','mergeOverrideWithDependencies','univer-mr-2\x20univer-flex\x20univer-text-xl','UNAUTHENTICATED','selections','range','cursorInfo','YUUMI_ASYNCIO_CANCELLED','ITransformService','UniverEngineRender','disposeUnit','createElement','getOwnPropertySymbols','_onCursorUpdate','UniverProCollaborationClientUi','with','ticket','_removeClearOtherTimer','UniverDocs','none','toString','href','transform','UPDATE_CURSOR','resize','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','fillText','_id','addObject','unitId','/run/','toDisposable','INTERNAL_ERROR','popstate','endColumn','UniverCollaborationClientUIPlugin','...','removeParam','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','APPLY_REVISION_CONFILICT','isActive','runId','320hdzaXW','0\x200\x2017\x2016','unshift','_themeService','_collaborationController','sheetId','_collabCursorState$','univer-flex\x20univer-items-center','off-line-icon_clip0_910_343','ALREADY_EXISTS','isArray','getFocusedUnit','TEXT_RANGE_LAYER_INDEX','SheetCollabCursorShape','INVITE_CODE_ALREADY_BOUND','ACTIVE_UNIT_EVENT_CHANNEL','IRenderManagerService','_localStorageService','createIdentifier','NodePositionConvertToCursor','distinctUntilChanged','NOT_FOUND','min','_messageService','getOffsetConfig','YUUMI_UNABLE_LOAD_URL','DocSelectionManagerService','all','_saveCache','forEach','_imageIoService','getColor','_document','off-line-icon','getUnitStatus$','MOBILE_HAS_BEEN_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getAnchorBounding','collabStatus.synced','UniverProCollaborationClient','clsx','@univerjs/docs-ui','SheetSkeletonManagerService','mutations','setUndoRedoMutationParamsCache','NO_OTHER_CLIENTS_EDITING','setItem','icon','unitID','onPointerEnter$','M0\x200H16V16H0z','collaboration.single-unit.warning','_context','status$','map','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/ui','_initResize','moveTo','_setupBeforeClosingHandler','@univerjs-pro/collaboration','debounceTime','_instanceService','getOwnPropertyDescriptor','backgroundColor','combineLatest','location','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','isTransformMutationFailure','mask','max','then','colorChannel1','subscribe','data','YUUMI_RATE_OVER_LIMIT','TEXT','top','type','_initStatusListener','tag','symbol','_initEvent','getRangePointData','currentTheme$','_startDocCollabCursor','deserializeRangeWithSheet','fromEvent','_color','assignAColorForMemberID','name','APPLY_NON_SEQUENTIAL_REVISION','UniverEngineFormula','undoState','Inject','isEditing','getMember','RegularPolygon','getSheetBySheetId','LOGIN_FAILED','className','EMAIL_HAS_BEEN_BOUND','handleInsertRangeMoveRight','storage','_range','_refreshCollabCursors','split','IConfigService','USERS_LEAVE','CONNECTOR_DATA_TOO_LARGE','disableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','filter','reconnect','asObservable','values','_docTransformIMECacheService','collab-text-anchor-','fillStyle','sheetID','_localeService','@univerjs/engine-render','_labelPosition','origin','IUIPartsService','parse','SetDocZoomRatioOperation','_httpService','takeUntil','_shapes','unit','_heartbeatTimer','SessionStatus','complete','indexOf','CollaborationController','SetTextSelectionsOperation','_handleHover','3205RLISvK','defs','ILocalStorageService','HTTPService','UniverSheetsUi','YUUMI_AI_RUN_FAILED','_getMergeRange','SUBMIT_CHANGESET_TIMEOUT','registerRefRange','getUndoRedoMutationParamsCache','saveTaskMap','_onRefRangeChange','FromArray','subscribeEvent','textRanges','collabStatus.fetchMiss','width','getValue','@univerjs-pro/collaboration-client','_docSkeletonManagerService','_memberService','getActiveSheet','_draw','Error','setActiveRange','deepClone','toRgbString','addEventListener','YUUMI_URL_COL_OUT_OF_RANGE','_saveTaskMap','@univerjs/sheets','UNIVER_DOC','Unknown\x20user','triggerDblclick','_cursors','_logService','hasOwnProperty','FETCH_MISS','UniverDesign','CollaborationStatus','BrowserCollaborationSocketService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','svg','size','DocCollaborationEntity','attrs','trim','replace','serializeRangeWithSheet','_removeCollabCursors','_online','xlink:href','_toggleOffline','_transformPreviousActiveRange','executionId','_cursor','DocSkeletonManagerService','currentSkeleton$','cursorInfo$','onTransformChange$','permission.title','UNDEFINED','YUUMI_SUBSCRIPTION_NOT_FOUND','transformIMECache','override','actions','LICENSE_MAX_UNITS_EXCEEDED','InsertColCommandId','labelPosition','RemoveRowCommandId','exhaustSavingTask','translate(.97)','find','loadUnit','PERMISSION_DENIED','prototype','IUniverInstanceService','debounce','handleIRemoveCol','ONLINE','getAncestorScale','Failed','handleMoveRange','Vector2','createSocket','generateRandomId','code','object','getCollabEntity$','_getSaveTimeout','handleDeleteRangeMoveUp','collab-text-range-','init','getDocRanges','LOCAL_CACHE_INTERVAL','_updateURLWithCurrentState','MemberService','VIEW_MAIN','0\x200\x2016\x2016','USER_NOT_INVITED_CODE','lineTo','whenReady','PENDING','arc','makeDirty','closePath','ISocketService','MoveRangeCommandId','YUUMI_ALL_TABLES_IS_INVALID','OnLineIcon','_disabled','UniverDocsUi','_initStatusComponent','replaceState','CONFLICT','_updateCollabCursors','_sheetSkeletonManagerService','send','[CollaborationDataLoaderController]','UNIVER_SHEET','UNRECOGNIZED','_unitOnClients','getRenderById','@univerjs/sheets-ui','next','_hover','UnitStatus','string','history','drawWith','IBeforeCloseService','_updateLocalCursor','3799776icxbnT','getSheetId','_transformUndoRedoStack','getLocalCacheKey','onCommandExecuted','concat','IRemoteInstanceService','ILogService','div','InsertRangeMoveRightCommandId','OFFLINE','_syncEditingCollabCursorService','Disposable','rxjs/operators','_updateSubUnitFromURLParams','AWAITING','_assignedColors','24IGSlvk','getCurrentRevOfUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_unitStatus','wsSessionTicketUrl','collabStatus.conflict','roomMembers$','ICommandService','post','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','RemoteUniscriptService','6303407ZqLlvR','3924ZSxJui','uni.network.url-service','_registerRenderDependencies','hide','UniverNetwork','1em','_entityInit$','use','setShapeProps','IImageIoService','clipPath','disposeWithMe','setInterval','dispose$','_getSessionTicket','LICENSE_DISTRO_REJECTED','transformStateCache','_createSocketURL','INotificationService','getCurrent','handleInsertCol','font','RxDisposable','onLocalMutation','add','_setupSubUnitSync','collabStatus.syncing','_docTransformStateCacheService','BehaviorSubject','_doCreateSocket','clearInterval','getColorFromTheme','Rectangle','measureText','registerComponent','getMemberID','React','_lastPointer','exports','Tooltip','_collabCursorController','transformSelections','3983896rZxiGM','CollaborationSessionService','_colorIndex','search','UniverInstanceType','onPointerLeave$','_name','setParam','_clearOtherTimers','_config','CollaborationSocketService','Subject','defIds','_entities','CollaborationUIEventId','_drawRectRange','INVALID_INVITE_CODE','APPLY_DUPLICATED','set','clearTimeout','body','INVITE_CODE_REQUIRED','onPointerMove$','SNAPSHOT_HAS_BEEN_REMOVED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','touchDependencies','_cachedData','UniverRpc','restore','@univerjs/drawing','roomMembers','Shape','rxjs','startRow','DesktopCollaborationStatusDisplayController','registerBeforeClose','SetWorksheetActivateCommand','http://www.w3.org/2000/svg','_renderManagerService','substring','onStarting','loadOfflineData','getParam','setStateCache','Injector','@univerjs/core','eventID','_roomMembers$','_onCursorDelete','red.300','@univerjs/design','jiqing.500','ThemeService','column','createInstance','newValue','session.will-retry','LICENSE_IMPORT_SIZE_EXCEEDED','show','_handleEvent','permission.content','forwardRef','LICENSE_EXPORT_SIZE_EXCEEDED','fill','_ensureSubject','APPLY_REJECT','206370fxBecB','connectInjector','m2Prime','evenodd','pipe','UniverIcon','engine','current','ColorKit','dispose','extend','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','docStateChange$','CLOSE_ROOM','#FFF','merge','transformByState','transformRemoteChangeset','_startSheetCollabCursor','includes','Optional','shareReplay','_uiPartsService','_selfUnitIDs','InsertRangeMoveDownCommandId','SheetsSelectionsService','_initCommandExecutedListener','MUTATION','_anchor','NOT_COLLAB','mapTo','redoState','registerDependencies','searchParams','univerjs-icon\x20univerjs-icon-','RECT','beginPath','CHANGESET_REVISION_CONFILICT','_docSyncEditingCollabCursorService','_handleJoinEvent','_session','_collaborationUIEventService','path','getConfig','transformMutationsWithChangeset','_getSheetObject','isTransformMutationsWithChangesetSuccess','_drawTextRange','onMouseMove','syncEditingCollabCursor','_eventUnsubscribe','CollaborationEvent','_scene','apply','Rect','_docClipboardService','displayName','white','Warning','setConfig','text','getTypeOfUnitDisposed$','collabStatus.offline','_send','_handleLeaveEvent','_scheduleHeartbeat','activeSheet$','transformMutation','BuiltInUIPart','Workbook','url(#$1','IDocClipboardService','_docStateChangeManagerService','react','NodePositionConvertToRectRange','LocaleService','_anchorDot','_init','_revisionService','black','switchMap','children','subunit','sessionStatus$','ENSURE_SNAPSHOT_EXECUTION','_backgroundColor','event$','_render','length','_status$','getUnitId','757128UKWgND','registerRenderModule','url(#on-line-icon_clip0_910_349)','handleIRemoveRow','DisposableCollection','_commandService','APPLY_PERMISSION_DENIED','purple.300','WebURLService','Tools','get','RevisionService','_textBubble','selection','_hovered','fillRule','WECHAT_HAS_BEEN_BOUND','_cursorShapes','color','push','setAlpha','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','row','INVITE_CODE_HAS_BEEN_UES','useRef','_beforeCloseService','updateOfflineData','DataLoaderService','save','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','doc.mutation.rich-text-editing','_injector','16496ColPsm','editingUnit','setTimeout','operators'];_0x225a=function(){return _0x23ede6;};return _0x225a();}
1
+ (function(_0x565ef3,_0x6f9983){const _0x49a592=_0x14a2,_0x22ed29=_0x565ef3();while(!![]){try{const _0x5828a8=parseInt(_0x49a592(0x267))/0x1+-parseInt(_0x49a592(0x310))/0x2*(-parseInt(_0x49a592(0x23c))/0x3)+-parseInt(_0x49a592(0x3f1))/0x4*(parseInt(_0x49a592(0x255))/0x5)+-parseInt(_0x49a592(0x365))/0x6+-parseInt(_0x49a592(0x430))/0x7+-parseInt(_0x49a592(0x325))/0x8*(parseInt(_0x49a592(0x210))/0x9)+parseInt(_0x49a592(0x31b))/0xa*(parseInt(_0x49a592(0x387))/0xb);if(_0x5828a8===_0x6f9983)break;else _0x22ed29['push'](_0x22ed29['shift']());}catch(_0x3c1f62){_0x22ed29['push'](_0x22ed29['shift']());}}}(_0x10b0,0xe6c5f),function(_0x23a827,_0x509ea3){const _0x4d5be5=_0x14a2;typeof exports==_0x4d5be5(0x223)&&typeof module<'u'?_0x509ea3(exports,require(_0x4d5be5(0x40c)),require(_0x4d5be5(0x343)),require(_0x4d5be5(0x1c4)),require(_0x4d5be5(0x20b)),require('@univerjs/docs-ui'),require(_0x4d5be5(0x1fc)),require(_0x4d5be5(0x3a2)),require('@univerjs/docs'),require(_0x4d5be5(0x1c5)),require(_0x4d5be5(0x327)),require(_0x4d5be5(0x32f)),require('rxjs/operators'),require(_0x4d5be5(0x300)),require(_0x4d5be5(0x286)),require(_0x4d5be5(0x2ed)),require(_0x4d5be5(0x293)),require(_0x4d5be5(0x1ca)),require(_0x4d5be5(0x21b))):typeof define==_0x4d5be5(0x30b)&&define['amd']?define([_0x4d5be5(0x1cd),_0x4d5be5(0x40c),'@univerjs/core',_0x4d5be5(0x1c4),'@univerjs/network',_0x4d5be5(0x1e0),'@univerjs/drawing',_0x4d5be5(0x3a2),'@univerjs/docs',_0x4d5be5(0x1c5),_0x4d5be5(0x327),_0x4d5be5(0x32f),_0x4d5be5(0x40a),_0x4d5be5(0x300),'react/jsx-runtime',_0x4d5be5(0x2ed),_0x4d5be5(0x293),_0x4d5be5(0x1ca),'@univerjs/rpc'],_0x509ea3):(_0x23a827=typeof globalThis<'u'?globalThis:_0x23a827||self,_0x509ea3(_0x23a827[_0x4d5be5(0x413)]={},_0x23a827[_0x4d5be5(0x3db)],_0x23a827[_0x4d5be5(0x23b)],_0x23a827[_0x4d5be5(0x226)],_0x23a827[_0x4d5be5(0x3b0)],_0x23a827[_0x4d5be5(0x37b)],_0x23a827[_0x4d5be5(0x1da)],_0x23a827['rxjs'],_0x23a827[_0x4d5be5(0x217)],_0x23a827[_0x4d5be5(0x3aa)],_0x23a827[_0x4d5be5(0x2c3)],_0x23a827[_0x4d5be5(0x425)],_0x23a827[_0x4d5be5(0x3a2)]['operators'],_0x23a827[_0x4d5be5(0x2a3)],_0x23a827[_0x4d5be5(0x31a)],_0x23a827[_0x4d5be5(0x3ad)],_0x23a827['UniverDesign'],_0x23a827[_0x4d5be5(0x31a)],_0x23a827['UniverRpc']));}(this,function(_0x1bb602,_0x295c2d,_0x54d64a,_0x219175,_0x49f544,_0x29d555,_0xef4d4d,_0x59ff1b,_0x12e053,_0x4491aa,_0x1aaa49,_0x1834a7,_0x1f862b,_0x3ee301,_0x47c70c,_0x22816c,_0x154965,_0x437b2d,_0xb34d2a){'use strict';const _0x4b31f4=_0x14a2;var _0x1a1aae=Object['defineProperty'],_0x46285a=(_0x3756dd,_0x30448b,_0x564afc)=>_0x30448b in _0x3756dd?_0x1a1aae(_0x3756dd,_0x30448b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x564afc}):_0x3756dd[_0x30448b]=_0x564afc,_0xc8c098=(_0xfd53b6,_0x5890c9,_0x3aad87)=>_0x46285a(_0xfd53b6,typeof _0x5890c9!=_0x4b31f4(0x1db)?_0x5890c9+'':_0x5890c9,_0x3aad87),_0x45a4b7=Object[_0x4b31f4(0x2d8)],_0x2157ac=(_0x7feadc,_0xefcc92,_0x233cdb,_0x1db9c1)=>{const _0x179202=_0x4b31f4;for(var _0x15cad9=_0x1db9c1>0x1?void 0x0:_0x1db9c1?_0x45a4b7(_0xefcc92,_0x233cdb):_0xefcc92,_0x31b913=_0x7feadc[_0x179202(0x2ab)]-0x1,_0x3372fd;_0x31b913>=0x0;_0x31b913--)(_0x3372fd=_0x7feadc[_0x31b913])&&(_0x15cad9=_0x3372fd(_0x15cad9)||_0x15cad9);return _0x15cad9;},_0xe336ee=(_0x221b98,_0x175077)=>(_0x3803fb,_0xc39a7b)=>_0x175077(_0x3803fb,_0xc39a7b,_0x221b98);let _0x12ae5b=class extends _0x54d64a[_0x4b31f4(0x42b)]{constructor(_0x149b6d,_0x366b28){const _0x2e8ba6=_0x4b31f4;super(),this[_0x2e8ba6(0x44d)]=_0x149b6d,this[_0x2e8ba6(0x2cd)]=_0x366b28,this[_0x2e8ba6(0x451)]();}['_init'](){const _0x34b8f0=_0x4b31f4,_0x2da48b=this;this[_0x34b8f0(0x204)](this[_0x34b8f0(0x44d)][_0x34b8f0(0x3d2)]({'onBeforePasteImage':async _0x1d7505=>{const _0x385c88=_0x34b8f0,_0x30e271=await _0x2da48b[_0x385c88(0x2cd)][_0x385c88(0x2bf)](_0x1d7505);return _0x30e271?{'source':_0x30e271[_0x385c88(0x28c)],'imageSourceType':_0x30e271[_0x385c88(0x355)]}:null;}}));}};_0x12ae5b=_0x2157ac([_0xe336ee(0x0,_0x29d555[_0x4b31f4(0x3d3)]),_0xe336ee(0x1,_0xef4d4d[_0x4b31f4(0x36d)])],_0x12ae5b);const _0x46fc07=['purple.300',_0x4b31f4(0x2ad),_0x4b31f4(0x206),_0x4b31f4(0x21d),'blue.400',_0x4b31f4(0x31f)];class _0x5f06d2 extends _0x54d64a[_0x4b31f4(0x3be)]{constructor(){const _0x335d04=_0x4b31f4;super(...arguments),_0xc8c098(this,_0x335d04(0x2b8),new Map()),_0xc8c098(this,_0x335d04(0x438),0x0);}[_0x4b31f4(0x247)](_0x587cb9){const _0x15f3b4=_0x4b31f4;if(this[_0x15f3b4(0x2b8)][_0x15f3b4(0x331)](_0x587cb9))return this['_assignedColors'][_0x15f3b4(0x363)](_0x587cb9);const _0x2da84f=_0x46fc07[this['_colorIndex']];return this[_0x15f3b4(0x438)]=(this[_0x15f3b4(0x438)]+0x1)%_0x46fc07[_0x15f3b4(0x2ab)],this[_0x15f3b4(0x2b8)][_0x15f3b4(0x314)](_0x587cb9,_0x2da84f),_0x2da84f;}}function _0x1087c5(_0x9af3bb){const _0x292295=_0x4b31f4;let _0x4a2f6f='';for(const _0x5b870a of _0x9af3bb){const {startOffset:_0x18f06f,endOffset:_0x246603,isActive:_0x58da28,rangeType:_0xb468f1,segmentId:_0xfc5f11,segmentPage:_0x2ae6a1}=_0x5b870a;_0x4a2f6f[_0x292295(0x2ab)]&&(_0x4a2f6f+=','),_0x4a2f6f+=_0x18f06f+':'+_0x246603+':'+(_0x58da28?'1':'0')+':'+_0xb468f1+':'+_0xfc5f11+':'+_0x2ae6a1;}return _0x4a2f6f;}function _0x13b04e(_0x4bfb23){const _0x1594f8=_0x4b31f4,_0x5706f6=_0x4bfb23[_0x1594f8(0x29e)](','),_0x4e6482=[];for(const _0x1a8224 of _0x5706f6){const [_0x3fb12b,_0x3ab15c,_0x4b7d31,_0x3135d9,_0x150109,_0x5aa1dc]=_0x1a8224['split'](':');_0x4e6482[_0x1594f8(0x3e6)]({'startOffset':Number(_0x3fb12b),'endOffset':Number(_0x3ab15c),'collapsed':_0x3fb12b===_0x3ab15c,'isActive':_0x4b7d31==='1','rangeType':_0x3135d9===_0x54d64a[_0x1594f8(0x313)]['TEXT']?_0x54d64a[_0x1594f8(0x313)][_0x1594f8(0x414)]:_0x54d64a[_0x1594f8(0x313)]['RECT'],'segmentId':typeof _0x150109==_0x1594f8(0x25c)?String(_0x150109):'','segmentPage':Number(_0x5aa1dc!=null?_0x5aa1dc:-0x1)});}return _0x4e6482[_0x1594f8(0x389)](_0x442cdf=>_0x442cdf[_0x1594f8(0x35e)])||(_0x4e6482[0x0]['isActive']=!0x0),_0x4e6482;}class _0x116bb1 extends _0x54d64a['RxDisposable']{constructor(){const _0x51f9c2=_0x4b31f4;super(...arguments),_0xc8c098(this,_0x51f9c2(0x2db),new _0x59ff1b[(_0x51f9c2(0x305))](null)),_0xc8c098(this,_0x51f9c2(0x1c3),this[_0x51f9c2(0x2db)][_0x51f9c2(0x3c6)]());}['syncEditingCollabCursor'](_0x51bd03){const _0x21250b=_0x4b31f4,{unitID:_0x22281c,memberID:_0x485e61,textRanges:_0x1c3ea5}=_0x51bd03,_0x1b3ad2=_0x1087c5(_0x1c3ea5);if(_0x1b3ad2==='')return;const _0x3317f4={'unitID':_0x22281c,'memberID':_0x485e61,'selection':_0x1b3ad2};this[_0x21250b(0x2db)][_0x21250b(0x222)](_0x3317f4);}}var _0x51665b=Object[_0x4b31f4(0x2d8)],_0x3573f9=(_0x7e733c,_0x583a95,_0x3b4aac,_0x186572)=>{for(var _0x170468=_0x186572>0x1?void 0x0:_0x186572?_0x51665b(_0x583a95,_0x3b4aac):_0x583a95,_0xa504c5=_0x7e733c['length']-0x1,_0x51e050;_0xa504c5>=0x0;_0xa504c5--)(_0x51e050=_0x7e733c[_0xa504c5])&&(_0x170468=_0x51e050(_0x170468)||_0x170468);return _0x170468;},_0x1d90e6=(_0x9563fd,_0x840caa)=>(_0x1b1cce,_0x4d455a)=>_0x840caa(_0x1b1cce,_0x4d455a,_0x9563fd);const _0x443ecb=0x12c,_0x2467ce=0x64;let _0x5c8366=class extends _0x54d64a[_0x4b31f4(0x42b)]{constructor(_0x5be07f,_0x42c351,_0x38db16,_0x1974d7,_0x3b7a13,_0x4bb17d,_0x593a9d,_0x521c46,_0x59b136){const _0x212e1e=_0x4b31f4;super(),_0xc8c098(this,_0x212e1e(0x2bc),!0x1),_0xc8c098(this,_0x212e1e(0x451),!0x1),_0xc8c098(this,'_cursorInfo$',new _0x59ff1b[(_0x212e1e(0x305))](new Map())),_0xc8c098(this,_0x212e1e(0x3dc),this[_0x212e1e(0x33b)]['asObservable']()),_0xc8c098(this,_0x212e1e(0x39b),new _0x59ff1b['BehaviorSubject']([])),_0xc8c098(this,'roomMembers$',this[_0x212e1e(0x39b)][_0x212e1e(0x3a7)](_0x59ff1b[_0x212e1e(0x2cf)](_0x443ecb))),_0xc8c098(this,_0x212e1e(0x24f),_0x54d64a['debounce'](_0x395b55=>{const _0x5163df=_0x212e1e,_0x44a25a={'eventID':_0x4491aa[_0x5163df(0x237)][_0x5163df(0x3d9)],'data':{'unitID':this[_0x5163df(0x35f)],'memberID':this[_0x5163df(0x345)][_0x5163df(0x291)](),'selection':_0x1087c5(_0x395b55)}};this[_0x5163df(0x345)][_0x5163df(0x334)](_0x44a25a,this[_0x5163df(0x35f)]);},_0x2467ce)),(this[_0x212e1e(0x35f)]=_0x5be07f,this[_0x212e1e(0x345)]=_0x42c351,this[_0x212e1e(0x391)]=_0x38db16,this[_0x212e1e(0x1fa)]=_0x1974d7,this[_0x212e1e(0x1f6)]=_0x3b7a13,this[_0x212e1e(0x264)]=_0x4bb17d,this[_0x212e1e(0x3ed)]=_0x593a9d,this[_0x212e1e(0x3fd)]=_0x521c46,this['_commandService']=_0x59b136);}get['cursorInfo'](){const _0x258da9=_0x4b31f4;return this[_0x258da9(0x33b)]['getValue']();}get[_0x4b31f4(0x43e)](){const _0x1256cf=_0x4b31f4;return this[_0x1256cf(0x39b)][_0x1256cf(0x35b)]();}['dispose'](){const _0x5400ad=_0x4b31f4;super['dispose'](),this[_0x5400ad(0x33b)]['next'](new Map()),this[_0x5400ad(0x33b)][_0x5400ad(0x279)](),this[_0x5400ad(0x39b)][_0x5400ad(0x222)]([]),this[_0x5400ad(0x39b)]['complete']();}['init'](){const _0x18a4d2=_0x4b31f4;this[_0x18a4d2(0x451)]||(this[_0x18a4d2(0x451)]=!0x0,this['_session'][_0x18a4d2(0x41e)][_0x18a4d2(0x3a7)](_0x59ff1b['takeUntil'](this[_0x18a4d2(0x216)]))[_0x18a4d2(0x2fd)](_0x3c527d=>{const _0x207b4f=_0x18a4d2;_0x3c527d===_0x295c2d['SessionStatus'][_0x207b4f(0x2e5)]?this[_0x207b4f(0x22c)]():this['_toggleOffline']();}),this[_0x18a4d2(0x345)][_0x18a4d2(0x241)][_0x18a4d2(0x3a7)](_0x59ff1b[_0x18a4d2(0x450)](this[_0x18a4d2(0x216)]))[_0x18a4d2(0x2fd)](_0x47f89f=>{const _0x252317=_0x18a4d2,_0x176b45=_0x47f89f[_0x252317(0x37c)];_0x176b45===_0x4491aa['CollaborationEvent'][_0x252317(0x3d9)]&&this['_onCursorUpdate'](_0x47f89f),_0x176b45===_0x4491aa[_0x252317(0x237)][_0x252317(0x460)]&&this[_0x252317(0x1d3)](_0x47f89f);}),this[_0x18a4d2(0x204)](this['_commandService'][_0x18a4d2(0x3b8)](_0x3d4dc9=>{const _0x5aba0d=_0x18a4d2,_0x4153d9=_0x3d4dc9['params'];_0x4153d9!=null&&this['_online']&&_0x3d4dc9['id']===_0x12e053[_0x5aba0d(0x1f3)]['id']&&_0x4153d9[_0x5aba0d(0x2d3)]===this['unitID']&&_0x4153d9[_0x5aba0d(0x340)]===!0x1&&_0x4153d9[_0x5aba0d(0x422)][_0x5aba0d(0x2ab)]>0x0&&this[_0x5aba0d(0x24f)](_0x4153d9[_0x5aba0d(0x422)]);})),this[_0x18a4d2(0x264)][_0x18a4d2(0x1c3)][_0x18a4d2(0x3a7)](_0x59ff1b[_0x18a4d2(0x450)](this[_0x18a4d2(0x216)]))[_0x18a4d2(0x2fd)](_0x350613=>{const _0x4a3509=_0x18a4d2;if((_0x350613==null?void 0x0:_0x350613[_0x4a3509(0x35f)])!==this['unitID'])return;const _0x2c9acd={'eventID':_0x4491aa[_0x4a3509(0x237)][_0x4a3509(0x3d9)],'data':_0x350613};this[_0x4a3509(0x3ef)](_0x2c9acd);}),this['disposeWithMe'](this[_0x18a4d2(0x351)]['onCommandExecuted'](_0x1f7423=>{const _0x47f8c8=_0x18a4d2;if(_0x1f7423['params']==null)return;const _0x3e8f4d=_0x1f7423[_0x47f8c8(0x3c8)];if(_0x1f7423['id']!==_0x12e053[_0x47f8c8(0x1d6)]['id']||_0x3e8f4d['unitId']!==this[_0x47f8c8(0x35f)])return;const _0x3c76a2={'id':_0x47f8c8(0x278),'params':_0x3e8f4d},_0x201e90=this[_0x47f8c8(0x2ac)];for(const [_0x1a6e64,_0x386953]of _0x201e90){const _0x51e698={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x47f8c8(0x35f)],'actions':null,'textRanges':_0x386953['ranges']}},_0x37b58b=this['_transformService'][_0x47f8c8(0x28e)](_0x3c76a2,_0x51e698,!0x1);if(_0x4491aa['isTransformMutationFailure'](_0x37b58b))throw _0x37b58b[_0x47f8c8(0x311)];_0x201e90[_0x47f8c8(0x314)](_0x1a6e64,{..._0x386953,'ranges':_0x37b58b[_0x47f8c8(0x295)]['params'][_0x47f8c8(0x2e3)]});}queueMicrotask(()=>{const _0x3b9ebb=_0x47f8c8;this[_0x3b9ebb(0x33b)][_0x3b9ebb(0x222)](_0x201e90);});})));}[_0x4b31f4(0x3ef)](_0x3d9e50){const _0x2679c=_0x4b31f4;var _0x508d45,_0x522975;const {memberID:_0xe12a37,selection:_0x175426}=_0x3d9e50[_0x2679c(0x1dd)],_0x272031=_0x13b04e(_0x175426),_0x5e15fb=(_0x522975=(_0x508d45=this[_0x2679c(0x1f6)][_0x2679c(0x26a)](this[_0x2679c(0x35f)],_0xe12a37))==null?void 0x0:_0x508d45[_0x2679c(0x239)])!=null?_0x522975:_0x2679c(0x257),_0x3a405b={'color':this[_0x2679c(0x1fa)][_0x2679c(0x247)](_0xe12a37),'name':_0x5e15fb,'ranges':_0x272031},_0x18f789=this[_0x2679c(0x2ac)];_0x18f789[_0x2679c(0x314)](_0xe12a37,_0x3a405b),this[_0x2679c(0x33b)][_0x2679c(0x222)](_0x18f789);}[_0x4b31f4(0x1d3)](_0x2f1dfc){const _0x8982bb=_0x4b31f4,{memberID:_0x4310aa}=_0x2f1dfc[_0x8982bb(0x1dd)],_0x10f73f=this['cursorInfo'];_0x10f73f[_0x8982bb(0x22f)](_0x4310aa),this[_0x8982bb(0x33b)][_0x8982bb(0x222)](_0x10f73f);}[_0x4b31f4(0x22c)](){const _0x26093c=_0x4b31f4;var _0x4cd049;if(this[_0x26093c(0x2bc)]=!0x0,((_0x4cd049=this[_0x26093c(0x3fd)][_0x26093c(0x415)]())==null?void 0x0:_0x4cd049['getUnitId']())!==this[_0x26093c(0x35f)])return;const _0x52e37e=this[_0x26093c(0x391)]['get'](_0x12e053[_0x26093c(0x34e)])['getDocRanges']();Array[_0x26093c(0x2a8)](_0x52e37e)&&_0x52e37e[_0x26093c(0x2ab)]>0x0&&this['_updateLocalCursor'](_0x52e37e);}[_0x4b31f4(0x24e)](){this['_online']=!0x1;}};_0x5c8366=_0x3573f9([_0x1d90e6(0x2,_0x54d64a[_0x4b31f4(0x287)](_0x54d64a['Injector'])),_0x1d90e6(0x3,_0x54d64a[_0x4b31f4(0x287)](_0x5f06d2)),_0x1d90e6(0x4,_0x54d64a[_0x4b31f4(0x287)](_0x295c2d[_0x4b31f4(0x243)])),_0x1d90e6(0x5,_0x54d64a['Inject'](_0x116bb1)),_0x1d90e6(0x6,_0x4491aa[_0x4b31f4(0x3a8)]),_0x1d90e6(0x7,_0x54d64a[_0x4b31f4(0x26b)]),_0x1d90e6(0x8,_0x54d64a[_0x4b31f4(0x260)])],_0x5c8366);var _0x467a0d=Object[_0x4b31f4(0x2d8)],_0x50b84e=(_0x2c5347,_0x18b423,_0x4ac518,_0xd9a4fc)=>{const _0x3d76f3=_0x4b31f4;for(var _0x523464=_0xd9a4fc>0x1?void 0x0:_0xd9a4fc?_0x467a0d(_0x18b423,_0x4ac518):_0x18b423,_0x16add6=_0x2c5347[_0x3d76f3(0x2ab)]-0x1,_0x185b6d;_0x16add6>=0x0;_0x16add6--)(_0x185b6d=_0x2c5347[_0x16add6])&&(_0x523464=_0x185b6d(_0x523464)||_0x523464);return _0x523464;},_0x46c5f0=(_0x1a64e5,_0x4c600e)=>(_0x1e6e2a,_0x3a0568)=>_0x4c600e(_0x1e6e2a,_0x3a0568,_0x1a64e5);const _0x4bb6b0=0x12c,_0x325862=0x64,_0x5ce41a=()=>{let _0x34237d=[],_0x224438=!0x1;return _0x5e4124=>{const _0x4d6fc9=_0x14a2;_0x34237d[_0x4d6fc9(0x3e6)](_0x5e4124),_0x224438||(_0x224438=!0x0,setTimeout(()=>{const _0x4fa06e=_0x4d6fc9;_0x34237d[_0x4fa06e(0x377)](_0x64cf54=>_0x64cf54()),_0x34237d=[],_0x224438=!0x1;}));};};let _0x2096e2=class extends _0x54d64a[_0x4b31f4(0x42b)]{constructor(_0x199bf3,_0xe52806,_0x522305,_0x9cb05a,_0x1896ec,_0x2aa674,_0x3331fe,_0x19cc2e){const _0x42c4f8=_0x4b31f4;super(),_0xc8c098(this,_0x42c4f8(0x2bc),!0x1),_0xc8c098(this,_0x42c4f8(0x451),!0x1),_0xc8c098(this,'_cursorInfo$',new _0x59ff1b[(_0x42c4f8(0x305))](new Map())),_0xc8c098(this,_0x42c4f8(0x3dc),this[_0x42c4f8(0x33b)][_0x42c4f8(0x3c6)]()),_0xc8c098(this,_0x42c4f8(0x39b),new _0x59ff1b[(_0x42c4f8(0x305))]([])),_0xc8c098(this,_0x42c4f8(0x3c7),this[_0x42c4f8(0x39b)][_0x42c4f8(0x3a7)](_0x59ff1b['debounceTime'](_0x4bb6b0))),_0xc8c098(this,'_updateLocalCursor',_0x54d64a[_0x42c4f8(0x1d4)]((_0x34ede5,_0x384096)=>{const _0x3e3c28=_0x42c4f8,_0x3b13ce={'eventID':_0x4491aa[_0x3e3c28(0x237)][_0x3e3c28(0x3d9)],'data':{'unitID':this[_0x3e3c28(0x35f)],'memberID':this[_0x3e3c28(0x345)][_0x3e3c28(0x291)](),'selection':_0x1aaa49[_0x3e3c28(0x2b3)](_0x34ede5,_0x384096[_0x3e3c28(0x374)])}};this[_0x3e3c28(0x345)][_0x3e3c28(0x334)](_0x3b13ce,this[_0x3e3c28(0x35f)]);},_0x325862)),(this[_0x42c4f8(0x35f)]=_0x199bf3,this[_0x42c4f8(0x345)]=_0xe52806,this[_0x42c4f8(0x391)]=_0x522305,this[_0x42c4f8(0x1fa)]=_0x9cb05a,this[_0x42c4f8(0x1f6)]=_0x1896ec,this[_0x42c4f8(0x3fd)]=_0x2aa674,this[_0x42c4f8(0x351)]=_0x3331fe,this[_0x42c4f8(0x45f)]=_0x19cc2e);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x368bfb=_0x4b31f4;return this['_roomMembers$'][_0x368bfb(0x35b)]();}[_0x4b31f4(0x32d)](){const _0x58f45=_0x4b31f4;super[_0x58f45(0x32d)](),this[_0x58f45(0x33b)][_0x58f45(0x222)](new Map()),this[_0x58f45(0x33b)][_0x58f45(0x279)](),this[_0x58f45(0x39b)]['next']([]),this[_0x58f45(0x39b)][_0x58f45(0x279)]();}[_0x4b31f4(0x35c)](){const _0x577f28=_0x4b31f4;this[_0x577f28(0x451)]||(this[_0x577f28(0x451)]=!0x0,this['_session'][_0x577f28(0x41e)][_0x577f28(0x3a7)](_0x59ff1b[_0x577f28(0x450)](this[_0x577f28(0x216)]))[_0x577f28(0x2fd)](_0x2151b5=>{const _0x5e6493=_0x577f28;_0x2151b5===_0x295c2d[_0x5e6493(0x3e4)][_0x5e6493(0x2e5)]?this[_0x5e6493(0x22c)]():this[_0x5e6493(0x24e)]();}),this['_session'][_0x577f28(0x241)][_0x577f28(0x3a7)](_0x59ff1b['takeUntil'](this[_0x577f28(0x216)]))[_0x577f28(0x2fd)](_0x4315b9=>{const _0x3d4ec0=_0x577f28,_0x370c54=_0x4315b9[_0x3d4ec0(0x37c)];_0x370c54===_0x4491aa[_0x3d4ec0(0x237)][_0x3d4ec0(0x3d9)]&&this[_0x3d4ec0(0x3ef)](_0x4315b9),_0x370c54===_0x4491aa['CollaborationEvent'][_0x3d4ec0(0x460)]&&this[_0x3d4ec0(0x1d3)](_0x4315b9);}),this[_0x577f28(0x308)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x199816=>{const _0x337e17=_0x577f28;if(this[_0x337e17(0x2bc)]&&_0x199816['id']===_0x1834a7[_0x337e17(0x245)]['id']&&_0x199816['params'][_0x337e17(0x2d3)]===this['unitID']){const _0x62cb82=_0x199816[_0x337e17(0x3c8)];this['_updateLocalCursor'](_0x62cb82[_0x337e17(0x427)],_0x62cb82[_0x337e17(0x284)][0x0]);}})));}[_0x4b31f4(0x3ef)](_0x148a35){const _0x411d89=_0x4b31f4;var _0x25a111,_0x3f57f9;const {memberID:_0x237707,selection:_0x30f94b}=_0x148a35[_0x411d89(0x1dd)],{sheetName:_0x389963,range:_0x4468bc}=_0x1aaa49[_0x411d89(0x289)](_0x30f94b),_0x3351d6={'name':(_0x3f57f9=(_0x25a111=this[_0x411d89(0x1f6)][_0x411d89(0x26a)](this[_0x411d89(0x35f)],_0x237707))==null?void 0x0:_0x25a111[_0x411d89(0x239)])!=null?_0x3f57f9:_0x411d89(0x257),'range':this[_0x411d89(0x37d)](_0x389963,_0x4468bc),'sheetID':_0x389963,'color':this['_colorAssignService'][_0x411d89(0x247)](_0x237707),'selection':_0x30f94b},_0x552df8=this[_0x411d89(0x2ac)];_0x552df8['set'](_0x237707,_0x3351d6),this['_cursorInfo$'][_0x411d89(0x222)](_0x552df8);}['_onCursorDelete'](_0x25c77c){const _0x2c5d74=_0x4b31f4,{memberID:_0xb95396}=_0x25c77c[_0x2c5d74(0x1dd)],_0x195825=this['cursorInfo'];_0x195825[_0x2c5d74(0x22f)](_0xb95396),this[_0x2c5d74(0x33b)][_0x2c5d74(0x222)](_0x195825);}[_0x4b31f4(0x37d)](_0x3ffeef,_0x5bc500){const _0x2fcff2=_0x4b31f4;var _0x41153f,_0x2b71f7;const _0x19347b=(_0x2b71f7=(_0x41153f=this[_0x2fcff2(0x3fd)][_0x2fcff2(0x3c5)](this[_0x2fcff2(0x35f)]))==null?void 0x0:_0x41153f[_0x2fcff2(0x362)](_0x3ffeef))==null?void 0x0:_0x2b71f7['getMergeData']();return(_0x19347b==null?void 0x0:_0x19347b[_0x2fcff2(0x2ae)](_0x5a0860=>_0x54d64a[_0x2fcff2(0x1ea)][_0x2fcff2(0x350)](_0x5a0860,_0x5bc500)))||_0x5bc500;}[_0x4b31f4(0x308)](){const _0x4f4cb3=_0x4b31f4,_0x36c551=new _0x54d64a[(_0x4f4cb3(0x3ab))](),_0xf7f9a1=_0x5ce41a(),_0x356e32=()=>{const _0x3cf146=_0x4f4cb3;_0x36c551[_0x3cf146(0x32d)]();const _0x4e3346=(_0x4208a3,_0xbe5db1,_0x1ee234,_0x18fadc)=>{const _0x484fc8=_0x3cf146;let _0x11e1b5=[];switch(_0x4208a3['id']){case _0x1834a7[_0x484fc8(0x457)][_0x484fc8(0x3c0)]:{_0x11e1b5=_0x1834a7[_0x484fc8(0x454)](_0x4208a3,_0x18fadc);break;}case _0x1834a7[_0x484fc8(0x457)][_0x484fc8(0x22a)]:{_0x11e1b5=_0x1834a7[_0x484fc8(0x335)](_0x4208a3,_0x18fadc);break;}case _0x1834a7['EffectRefRangId']['InsertColCommandId']:{_0x11e1b5=_0x1834a7[_0x484fc8(0x34b)](_0x4208a3,_0x18fadc);break;}case _0x1834a7['EffectRefRangId'][_0x484fc8(0x447)]:{_0x11e1b5=_0x1834a7[_0x484fc8(0x29c)](_0x4208a3,_0x18fadc);break;}case _0x1834a7[_0x484fc8(0x457)][_0x484fc8(0x209)]:{_0x11e1b5=_0x1834a7['handleInsertRangeMoveRight'](_0x4208a3,_0x18fadc);break;}case _0x1834a7[_0x484fc8(0x457)][_0x484fc8(0x2af)]:{_0x11e1b5=_0x1834a7[_0x484fc8(0x253)](_0x4208a3,_0x18fadc);break;}case _0x1834a7[_0x484fc8(0x457)][_0x484fc8(0x42e)]:{_0x11e1b5=_0x1834a7['handleMoveRange'](_0x4208a3,_0x18fadc);break;}case _0x1834a7[_0x484fc8(0x457)]['RemoveColCommandId']:{_0x11e1b5=_0x1834a7[_0x484fc8(0x32a)](_0x4208a3,_0x18fadc);break;}case _0x1834a7['EffectRefRangId'][_0x484fc8(0x202)]:{_0x11e1b5=_0x1834a7[_0x484fc8(0x302)](_0x4208a3,_0x18fadc);break;}}const _0x25e5c9=_0x1834a7[_0x484fc8(0x309)](_0x11e1b5,_0x18fadc),_0x580e56=this['cursorInfo'][_0x484fc8(0x363)](_0xbe5db1);if(_0x580e56&&_0x25e5c9){const _0x2d1536={..._0x580e56,'range':_0x25e5c9};this[_0x484fc8(0x2ac)][_0x484fc8(0x314)](_0xbe5db1,_0x2d1536),_0xf7f9a1(()=>{const _0x13ab5e=_0x484fc8,_0x3f6d78=this['_refRangeService'][_0x13ab5e(0x329)](_0x25e5c9,_0x3dd649=>(_0x3f6d78[_0x13ab5e(0x32d)](),_0x4e3346(_0x3dd649,_0xbe5db1,_0x1ee234,_0x25e5c9)));_0x36c551[_0x13ab5e(0x353)](_0x3f6d78);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3cf146(0x377)]((_0x28d5e7,_0x462ce5)=>{const _0x4004db=_0x3cf146,{range:_0x2bae29,sheetID:_0x4cd8fb}=_0x28d5e7,_0x4282a9=this['_refRangeService'][_0x4004db(0x329)](_0x2bae29,_0x55c5a6=>(_0x4282a9[_0x4004db(0x32d)](),_0x4e3346(_0x55c5a6,_0x462ce5,_0x4cd8fb,_0x2bae29)));_0x36c551[_0x4004db(0x353)](_0x4282a9);});};this[_0x4f4cb3(0x204)](_0x54d64a[_0x4f4cb3(0x32e)](this['_cursorInfo$'][_0x4f4cb3(0x2fd)](()=>{_0x356e32();})));}[_0x4b31f4(0x22c)](){const _0x2edd18=_0x4b31f4;var _0x31f6a3,_0x829e9d;if(this[_0x2edd18(0x2bc)]=!0x0,((_0x31f6a3=this[_0x2edd18(0x3fd)][_0x2edd18(0x415)]())==null?void 0x0:_0x31f6a3[_0x2edd18(0x2ef)]())!==this[_0x2edd18(0x35f)])return;const _0x14a09d=(_0x829e9d=this[_0x2edd18(0x391)][_0x2edd18(0x363)](_0x1834a7['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x829e9d[0x0],_0x4d4afc=this['_univerInstanceService']['getCurrentUnitForType'](_0x54d64a[_0x2edd18(0x1fd)][_0x2edd18(0x41a)])[_0x2edd18(0x380)]();_0x14a09d&&_0x4d4afc&&this[_0x2edd18(0x24f)](_0x4d4afc[_0x2edd18(0x420)](),_0x14a09d);}[_0x4b31f4(0x24e)](){this['_online']=!0x1;}};_0x2096e2=_0x50b84e([_0x46c5f0(0x2,_0x54d64a[_0x4b31f4(0x287)](_0x54d64a[_0x4b31f4(0x317)])),_0x46c5f0(0x3,_0x54d64a[_0x4b31f4(0x287)](_0x5f06d2)),_0x46c5f0(0x4,_0x54d64a[_0x4b31f4(0x287)](_0x295c2d[_0x4b31f4(0x243)])),_0x46c5f0(0x5,_0x54d64a['IUniverInstanceService']),_0x46c5f0(0x6,_0x54d64a[_0x4b31f4(0x260)]),_0x46c5f0(0x7,_0x54d64a[_0x4b31f4(0x287)](_0x1834a7[_0x4b31f4(0x20f)]))],_0x2096e2);var _0x19437f=Object[_0x4b31f4(0x2d8)],_0x5473df=(_0x177c2b,_0x5e96ed,_0x5335d2,_0x1edaf4)=>{const _0x21b50b=_0x4b31f4;for(var _0xfcdbe0=_0x1edaf4>0x1?void 0x0:_0x1edaf4?_0x19437f(_0x5e96ed,_0x5335d2):_0x5e96ed,_0x28b50a=_0x177c2b[_0x21b50b(0x2ab)]-0x1,_0x41f1f5;_0x28b50a>=0x0;_0x28b50a--)(_0x41f1f5=_0x177c2b[_0x28b50a])&&(_0xfcdbe0=_0x41f1f5(_0xfcdbe0)||_0xfcdbe0);return _0xfcdbe0;},_0x417be8=(_0x11928c,_0x331922)=>(_0x20a1ca,_0x1e8b9e)=>_0x331922(_0x20a1ca,_0x1e8b9e,_0x11928c);let _0x5227f6=class extends _0x54d64a['RxDisposable']{constructor(_0x765191,_0x4fae25,_0x39b920){const _0x448ce0=_0x4b31f4;super(),_0xc8c098(this,_0x448ce0(0x1ee),new Map()),_0xc8c098(this,_0x448ce0(0x1d0),new _0x59ff1b[(_0x448ce0(0x231))]()),(this[_0x448ce0(0x3fd)]=_0x765191,this['_injector']=_0x4fae25,this[_0x448ce0(0x3fa)]=_0x39b920,this[_0x448ce0(0x451)]());}[_0x4b31f4(0x32d)](){const _0x525be0=_0x4b31f4;super[_0x525be0(0x32d)](),this[_0x525be0(0x1d0)][_0x525be0(0x279)](),this[_0x525be0(0x1ee)]['forEach'](_0x88a400=>_0x88a400[_0x525be0(0x32d)]());}['getCollabCursors$'](_0x3acf23){const _0x5dd83d=_0x4b31f4;return this['_entities'][_0x5dd83d(0x331)](_0x3acf23)?this[_0x5dd83d(0x1ee)][_0x5dd83d(0x363)](_0x3acf23)[_0x5dd83d(0x3dc)]:this[_0x5dd83d(0x1d0)][_0x5dd83d(0x3a7)](_0x59ff1b[_0x5dd83d(0x423)](_0x535ab8=>_0x535ab8['unitID']===_0x3acf23),_0x59ff1b[_0x5dd83d(0x2da)](_0x107785=>_0x107785['cursorInfo$']));}[_0x4b31f4(0x451)](){const _0x1b04c3=_0x4b31f4;this[_0x1b04c3(0x3fd)][_0x1b04c3(0x307)](_0x54d64a['UniverInstanceType'][_0x1b04c3(0x41a)])['pipe'](_0x59ff1b[_0x1b04c3(0x450)](this[_0x1b04c3(0x216)]))[_0x1b04c3(0x2fd)](async _0x949c96=>{const _0x1b3018=_0x1b04c3,_0x55bc9d=_0x949c96[_0x1b3018(0x2ef)](),_0x573dff=await this[_0x1b3018(0x3fb)](_0x55bc9d);this[_0x1b3018(0x1d0)][_0x1b3018(0x222)](_0x573dff),this[_0x1b3018(0x1ee)]['set'](_0x55bc9d,_0x573dff);}),this[_0x1b04c3(0x3fd)][_0x1b04c3(0x307)](_0x54d64a[_0x1b04c3(0x1fd)][_0x1b04c3(0x298)])[_0x1b04c3(0x3a7)](_0x59ff1b[_0x1b04c3(0x450)](this[_0x1b04c3(0x216)]))[_0x1b04c3(0x3a7)](_0x59ff1b[_0x1b04c3(0x423)](_0x31c7b8=>!_0x31c7b8[_0x1b04c3(0x2ef)]()[_0x1b04c3(0x20d)]('__')))[_0x1b04c3(0x2fd)](async _0x3bed45=>{const _0x150dae=_0x1b04c3,_0x935fa6=_0x3bed45[_0x150dae(0x2ef)](),_0x2272b9=await this[_0x150dae(0x3e3)](_0x935fa6);this['_entityInit$']['next'](_0x2272b9),this[_0x150dae(0x1ee)][_0x150dae(0x314)](_0x935fa6,_0x2272b9);}),_0x59ff1b['merge'](this[_0x1b04c3(0x3fd)][_0x1b04c3(0x316)](_0x54d64a[_0x1b04c3(0x1fd)][_0x1b04c3(0x298)]),this[_0x1b04c3(0x3fd)]['getTypeOfUnitDisposed$'](_0x54d64a[_0x1b04c3(0x1fd)]['UNIVER_SHEET']))['pipe'](_0x59ff1b[_0x1b04c3(0x450)](this['dispose$']))[_0x1b04c3(0x2fd)](_0x59bbd8=>{const _0x3d7efe=_0x1b04c3,_0x19281e=_0x59bbd8[_0x3d7efe(0x2ef)](),_0x44b2b2=this[_0x3d7efe(0x1ee)][_0x3d7efe(0x363)](_0x19281e);_0x44b2b2&&(_0x44b2b2[_0x3d7efe(0x32d)](),this[_0x3d7efe(0x1ee)][_0x3d7efe(0x22f)](_0x19281e));});}async[_0x4b31f4(0x3fb)](_0x4f5c87){const _0x285a65=_0x4b31f4,_0x406a98=await this[_0x285a65(0x3fa)][_0x285a65(0x3ae)](_0x4f5c87),_0x14a883=this[_0x285a65(0x391)][_0x285a65(0x384)](_0x2096e2,_0x4f5c87,_0x406a98);return _0x14a883['init'](),_0x14a883;}async[_0x4b31f4(0x3e3)](_0x26ddce){const _0x506ef9=_0x4b31f4,_0x35aa1e=await this['_collabSessionService'][_0x506ef9(0x3ae)](_0x26ddce),_0x420bde=this['_injector'][_0x506ef9(0x384)](_0x5c8366,_0x26ddce,_0x35aa1e);return _0x420bde['init'](),_0x420bde;}};_0x5227f6=_0x5473df([_0x417be8(0x0,_0x54d64a['IUniverInstanceService']),_0x417be8(0x1,_0x54d64a[_0x4b31f4(0x287)](_0x54d64a[_0x4b31f4(0x317)])),_0x417be8(0x2,_0x54d64a['Inject'](_0x295c2d['CollaborationSessionService']))],_0x5227f6);const _0x41653f=0x14,_0x28352f=0xc8,_0x4ac2fc=0x4,_0x5e4d5f=0x5;function _0xcceeb7(_0x5e621d,_0x295916){const _0x247371=_0x4b31f4;let {radius:_0x3c56c5,width:_0x299f24,height:_0x8960e7}=_0x295916;_0x3c56c5=_0x3c56c5!=null?_0x3c56c5:0x0,_0x299f24=_0x299f24!=null?_0x299f24:0x1e,_0x8960e7=_0x8960e7!=null?_0x8960e7:0x1e;let _0x1fb1f0=0x0,_0x18b77a=0x0,_0x203a8e=0x0;_0x1fb1f0=_0x18b77a=_0x203a8e=Math[_0x247371(0x26c)](_0x3c56c5,_0x299f24/0x2,_0x8960e7/0x2),_0x5e621d[_0x247371(0x2b4)](),_0x5e621d['moveTo'](_0x1fb1f0,0x0),_0x5e621d[_0x247371(0x2a5)](_0x299f24-_0x18b77a,0x0),_0x5e621d[_0x247371(0x3e0)](_0x299f24-_0x18b77a,_0x18b77a,_0x18b77a,Math['PI']*0x3/0x2,0x0,!0x1),_0x5e621d['lineTo'](_0x299f24,_0x8960e7-_0x203a8e),_0x5e621d[_0x247371(0x3e0)](_0x299f24-_0x203a8e,_0x8960e7-_0x203a8e,_0x203a8e,0x0,Math['PI']/0x2,!0x1),_0x5e621d[_0x247371(0x2a5)](0x0,_0x8960e7),_0x5e621d[_0x247371(0x2a5)](0x0,_0x1fb1f0),_0x5e621d[_0x247371(0x3e0)](_0x1fb1f0,_0x1fb1f0,_0x1fb1f0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5e621d[_0x247371(0x3f2)](),_0x295916[_0x247371(0x364)]&&(_0x5e621d[_0x247371(0x256)](),_0x5e621d['fillStyle']=_0x295916[_0x247371(0x364)],_0x295916['fillRule']===_0x247371(0x1d7)?_0x5e621d['fill']('evenodd'):_0x5e621d[_0x247371(0x364)](),_0x5e621d['restore']());}class _0x28ec1e extends _0x219175[_0x4b31f4(0x42c)]{constructor(_0x1348b8,_0x2315fb){const _0x477fe1=_0x4b31f4;super(_0x1348b8,_0x2315fb),_0xc8c098(this,'color'),_0xc8c098(this,'text'),(this[_0x477fe1(0x45b)]=_0x2315fb==null?void 0x0:_0x2315fb[_0x477fe1(0x45b)],this['text']=_0x2315fb==null?void 0x0:_0x2315fb[_0x477fe1(0x31d)]);}static['drawWith'](_0x7638c6,_0x4ac652){const _0x371f36=_0x4b31f4,{text:_0x3a6e32,color:_0x3c0a08}=_0x4ac652;_0x7638c6[_0x371f36(0x256)](),_0x7638c6[_0x371f36(0x1de)]=_0x371f36(0x352);const _0x3c8e1a=_0x7638c6[_0x371f36(0x270)](_0x3a6e32)[_0x371f36(0x43c)],_0x34c6b1=Math[_0x371f36(0x26c)](_0x3c8e1a+0x2*_0x4ac2fc,_0x28352f);_0xcceeb7(_0x7638c6,{'height':_0x41653f,'radius':0x4,'width':_0x34c6b1,'fill':_0x3c0a08}),_0x7638c6[_0x371f36(0x442)]=_0x371f36(0x41f);const _0x1ed330=_0x4ac2fc,_0x4738d7=_0x41653f-_0x5e4d5f,_0x164a3e=_0x28352f-0x2*_0x4ac2fc;if(_0x3c8e1a>_0x164a3e){let _0x591d4a='',_0x12d85c=0x0;for(const _0x11226b of _0x3a6e32){const _0x69f141=_0x7638c6[_0x371f36(0x270)](_0x11226b)[_0x371f36(0x43c)];if(_0x12d85c+_0x69f141<=_0x164a3e-_0x7638c6[_0x371f36(0x270)](_0x371f36(0x3c4))['width'])_0x591d4a+=_0x11226b,_0x12d85c+=_0x69f141;else{_0x591d4a+=_0x371f36(0x3c4);break;}}_0x7638c6[_0x371f36(0x1e1)](_0x591d4a,_0x1ed330,_0x4738d7);}else _0x7638c6[_0x371f36(0x1e1)](_0x3a6e32,_0x1ed330,_0x4738d7);_0x7638c6[_0x371f36(0x1c1)]();}['_draw'](_0x428f95){const _0x30b921=_0x4b31f4;_0x28ec1e[_0x30b921(0x424)](_0x428f95,this);}}const _0x4fad37=_0x4b31f4(0x1e6),_0x16ba36='collab-text-range-',_0x132d3b=_0x4b31f4(0x2e9),_0x4cac63=0x6,_0x3b7990=1.5,_0x41b434=0x4,_0x43f164=1.5,_0x1bc94b=_0x4b31f4(0x45e);class _0x8c9a61{constructor(_0x44eb93,_0x132fc0,_0x1a3d59,_0x49a002){const _0x10706d=_0x4b31f4;_0xc8c098(this,'_shapes',[]),_0xc8c098(this,'_anchor',null),_0xc8c098(this,_0x10706d(0x28a),null),_0xc8c098(this,_0x10706d(0x303),null),_0xc8c098(this,_0x10706d(0x3a0),null),_0xc8c098(this,_0x10706d(0x262),null),(this['_cursor']=_0x44eb93,this[_0x10706d(0x2a4)]=_0x132fc0,this['_docSkeleton']=_0x1a3d59,this[_0x10706d(0x354)]=_0x49a002,this[_0x10706d(0x3d4)]());}set['_hover'](_0x287bd9){const _0x4aa6b6=_0x4b31f4;_0x287bd9?(this[_0x4aa6b6(0x303)]&&this['_anchorDot'][_0x4aa6b6(0x318)](),this[_0x4aa6b6(0x28a)]&&this[_0x4aa6b6(0x28a)][_0x4aa6b6(0x254)]()):(this[_0x4aa6b6(0x303)]&&this[_0x4aa6b6(0x303)][_0x4aa6b6(0x254)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x4b31f4(0x32d)](){const _0x1ba4f3=_0x4b31f4;for(const _0x5d6534 of this[_0x1ba4f3(0x360)])_0x5d6534['dispose']();this[_0x1ba4f3(0x28a)]&&this['_textBubble'][_0x1ba4f3(0x32d)](),this[_0x1ba4f3(0x303)]&&this[_0x1ba4f3(0x303)]['dispose'](),this[_0x1ba4f3(0x403)]&&this[_0x1ba4f3(0x403)]['dispose'](),this[_0x1ba4f3(0x262)]&&this[_0x1ba4f3(0x262)]();}['_render'](){const _0x90c010=_0x4b31f4;var _0x38143b;const {_docSkeleton:_0x19ea7a,_document:_0x5af7db}=this,{color:_0x184436,name:_0x461400,ranges:_0x2b3b64}=this['_cursor'],_0xd76136=_0x5af7db[_0x90c010(0x3d5)](),{docsLeft:_0x2c78e2,docsTop:_0x180b73}=_0xd76136,_0x2148cd=new _0x29d555[(_0x90c010(0x236))](_0xd76136,_0x19ea7a);for(const {startOffset:_0x21f1b0,endOffset:_0x321a3c,rangeType:_0x52f025,segmentId:_0x5da422,segmentPage:_0xdc7e18,collapsed:_0x23243a,isActive:_0x509745}of _0x2b3b64){const _0x3e095b=_0x19ea7a[_0x90c010(0x3f7)](_0x21f1b0,!0x0,_0x5da422,_0xdc7e18);let _0x40ed22=_0x19ea7a[_0x90c010(0x3f7)](_0x321a3c,!0x0,_0x5da422,_0xdc7e18);if(_0x40ed22==null&&(_0x40ed22=_0x19ea7a[_0x90c010(0x3f7)](_0x321a3c-0x1,!0x1,_0x5da422,_0xdc7e18)),_0x509745){const {contentBoxPointGroup:_0xd93f74}=_0x2148cd['getRangePointData'](_0x40ed22,_0x40ed22);if(_0xd93f74[_0x90c010(0x2ab)]===0x0)continue;this[_0x90c010(0x276)](_0x184436,_0xd93f74,_0x2c78e2,_0x180b73,_0x461400),this[_0x90c010(0x262)]=this[_0x90c010(0x409)]();}if(_0x3e095b&&_0x40ed22){if(_0x52f025===_0x54d64a['DOC_RANGE_TYPE'][_0x90c010(0x249)]){const _0x1c6040=new _0x29d555[(_0x90c010(0x372))](_0xd76136,_0x19ea7a),{pointGroup:_0x2de003}=(_0x38143b=_0x1c6040[_0x90c010(0x358)](_0x3e095b,_0x40ed22))!=null?_0x38143b:{};if(_0x2de003==null||_0x2de003[_0x90c010(0x2ab)]===0x0)continue;this[_0x90c010(0x453)](_0x184436,_0x2de003,_0x2c78e2,_0x180b73);}else{if(!_0x23243a){const {borderBoxPointGroup:_0xacaf72}=_0x2148cd[_0x90c010(0x358)](_0x3e095b,_0x40ed22);if(_0xacaf72[_0x90c010(0x2ab)]===0x0)continue;this[_0x90c010(0x2dc)](_0x184436,_0xacaf72,_0x2c78e2,_0x180b73);}}}}}[_0x4b31f4(0x276)](_0x148336,_0x23a7fa,_0x46ef71,_0x483813,_0x54a200){const _0x4fc4c1=_0x4b31f4,_0x324475=this[_0x4fc4c1(0x39c)](_0x23a7fa),{left:_0x529b44,top:_0x94eec6,height:_0x4df574}=_0x324475,_0x1cbc18=this[_0x4fc4c1(0x30d)](),_0x444cbb=_0x43f164/_0x1cbc18,_0x988e0c=new _0x219175[(_0x4fc4c1(0x32c))](_0x4fad37+_0x54d64a['Tools'][_0x4fc4c1(0x44b)](_0x4cac63),{'left':_0x529b44+_0x46ef71-_0x444cbb,'top':_0x94eec6+_0x483813,'height':_0x4df574,'width':_0x3b7990,'fill':_0x148336||_0x219175[_0x4fc4c1(0x2cc)](_0x54d64a[_0x4fc4c1(0x428)][_0x4fc4c1(0x41d)],0x0),'strokeWidth':_0x444cbb,'stroke':_0x1bc94b,'evented':!0x0});this[_0x4fc4c1(0x403)]=_0x988e0c,this[_0x4fc4c1(0x2a4)][_0x4fc4c1(0x3e1)](_0x988e0c,_0x29d555[_0x4fc4c1(0x26e)]);const _0x1ed3d1=new _0x219175[(_0x4fc4c1(0x32c))](_0x4fad37+_0x54d64a[_0x4fc4c1(0x1d8)]['generateRandomId'](_0x4cac63),{'left':_0x529b44+_0x46ef71-_0x444cbb,'top':_0x94eec6+_0x483813-_0x41b434/0x2,'height':_0x41b434,'width':_0x41b434,'fill':_0x148336||_0x219175[_0x4fc4c1(0x2cc)](_0x54d64a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x148336||_0x219175[_0x4fc4c1(0x2cc)](_0x54d64a['COLORS']['black'],0x0),'evented':!0x1});this[_0x4fc4c1(0x303)]=_0x1ed3d1,this['_scene'][_0x4fc4c1(0x3e1)](_0x1ed3d1,_0x29d555[_0x4fc4c1(0x26e)]);const _0x2418bf=new _0x28ec1e(_0x4fad37+_0x54d64a['Tools']['generateRandomId'](_0x4cac63),{'left':_0x529b44+_0x46ef71-_0x444cbb,'top':_0x94eec6+_0x483813-_0x41653f,'text':_0x54a200,'color':_0x148336});this[_0x4fc4c1(0x28a)]=_0x2418bf,this[_0x4fc4c1(0x2a4)]['addObject'](_0x2418bf,_0x29d555[_0x4fc4c1(0x26e)]),this[_0x4fc4c1(0x248)]=!0x1;}[_0x4b31f4(0x409)](){const _0x4ee1f2=_0x4b31f4,_0x5a7d62=this[_0x4ee1f2(0x403)]['onPointerEnter$'][_0x4ee1f2(0x30a)](()=>{const _0x278b07=_0x4ee1f2;this[_0x278b07(0x248)]=!0x0;}),_0x2d0f75=this[_0x4ee1f2(0x403)]['onPointerLeave$'][_0x4ee1f2(0x30a)](()=>{const _0x218e61=_0x4ee1f2;this[_0x218e61(0x3a0)]&&clearTimeout(this['_hideTimer']),this[_0x218e61(0x3a0)]=setTimeout(()=>{const _0x4f2ac0=_0x218e61;this[_0x4f2ac0(0x248)]=!0x1;},0x7d0);});return()=>{const _0x493f13=_0x4ee1f2;_0x5a7d62['unsubscribe'](),_0x2d0f75[_0x493f13(0x27f)]();};}[_0x4b31f4(0x2dc)](_0x1e4a78,_0x1337fe,_0x348caa,_0x24122f){const _0x27f061=_0x4b31f4,_0x3befa2=new _0x54d64a['ColorKit'](_0x1e4a78)[_0x27f061(0x25f)](0.2)['toRgbString'](),_0x2065d5=new _0x219175[(_0x27f061(0x2ca))](_0x16ba36+_0x54d64a['Tools']['generateRandomId'](_0x4cac63),{'pointsGroup':_0x1337fe,'fill':_0x3befa2||_0x219175['getColor'](_0x54d64a[_0x27f061(0x428)]['black'],0.2),'left':_0x348caa,'top':_0x24122f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27f061(0x360)][_0x27f061(0x3e6)](_0x2065d5),this[_0x27f061(0x2a4)]['addObject'](_0x2065d5,_0x29d555[_0x27f061(0x26e)]);}[_0x4b31f4(0x453)](_0x3999fe,_0x1b3e22,_0x119c9b,_0x3a898e){const _0x1b888a=_0x4b31f4,_0xcb3e9c=new _0x54d64a['ColorKit'](_0x3999fe)[_0x1b888a(0x25f)](0.2)[_0x1b888a(0x3ea)](),_0x35be7f=new _0x219175[(_0x1b888a(0x2ca))](_0x132d3b+_0x54d64a['Tools'][_0x1b888a(0x44b)](_0x4cac63),{'pointsGroup':_0x1b3e22,'fill':_0xcb3e9c||_0x219175[_0x1b888a(0x2cc)](_0x54d64a[_0x1b888a(0x428)]['black'],0.2),'left':_0x119c9b,'top':_0x3a898e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b888a(0x360)][_0x1b888a(0x3e6)](_0x35be7f),this['_scene'][_0x1b888a(0x3e1)](_0x35be7f,_0x29d555['TEXT_RANGE_LAYER_INDEX']);}[_0x4b31f4(0x39c)](_0xe42a20){const _0x3ef769=_0xe42a20[0x0],_0x22f889=_0x3ef769[0x0],_0x2cfc4=_0x3ef769[0x2],{x:_0x82c411,y:_0x58fa54}=_0x22f889,{x:_0x45afe1,y:_0x1d7e33}=_0x2cfc4;return{'left':_0x82c411,'top':_0x58fa54,'width':_0x45afe1-_0x82c411,'height':_0x1d7e33-_0x58fa54};}[_0x4b31f4(0x30d)](){const _0xe91bd6=_0x4b31f4,{scaleX:_0x4b0bd7,scaleY:_0x529c49}=this[_0xe91bd6(0x2a4)][_0xe91bd6(0x1fb)]();return Math[_0xe91bd6(0x359)](_0x4b0bd7,_0x529c49);}}var _0x43b179=Object[_0x4b31f4(0x2d8)],_0x3ab704=(_0x410293,_0xd9276b,_0x167767,_0x4d1563)=>{const _0x46b536=_0x4b31f4;for(var _0x3ca5c0=_0x4d1563>0x1?void 0x0:_0x4d1563?_0x43b179(_0xd9276b,_0x167767):_0xd9276b,_0x3bd731=_0x410293[_0x46b536(0x2ab)]-0x1,_0x423ecf;_0x3bd731>=0x0;_0x3bd731--)(_0x423ecf=_0x410293[_0x3bd731])&&(_0x3ca5c0=_0x423ecf(_0x3ca5c0)||_0x3ca5c0);return _0x3ca5c0;},_0x495934=(_0x2afdd6,_0xcbcb4a)=>(_0x4d90e9,_0x5000e9)=>_0xcbcb4a(_0x4d90e9,_0x5000e9,_0x2afdd6);let _0x5227cd=class extends _0x54d64a[_0x4b31f4(0x42b)]{constructor(_0x3d061d,_0x477c12,_0x4dee94,_0x5e79b1,_0x2a9504){const _0xa3c577=_0x4b31f4;super(),_0xc8c098(this,_0xa3c577(0x369),[]),_0xc8c098(this,'_cursors',[]),(this[_0xa3c577(0x24b)]=_0x3d061d,this[_0xa3c577(0x36b)]=_0x477c12,this[_0xa3c577(0x45c)]=_0x4dee94,this[_0xa3c577(0x351)]=_0x5e79b1,this[_0xa3c577(0x3bb)]=_0x2a9504,this[_0xa3c577(0x451)]());}[_0x4b31f4(0x451)](){const _0xb3f06e=_0x4b31f4,_0x5da5bc=this[_0xb3f06e(0x24b)][_0xb3f06e(0x2d3)],_0x3b19c8=this['_docSkeletonManagerService'];this[_0xb3f06e(0x204)](_0x59ff1b[_0xb3f06e(0x416)]([this['_collabCursorController'][_0xb3f06e(0x2a9)](_0x5da5bc),this[_0xb3f06e(0x3bb)][_0xb3f06e(0x3b7)]])[_0xb3f06e(0x3a7)](_0x1f862b['map'](([_0x54ae84,_0x1e1a35])=>({'skeleton':_0x3b19c8[_0xb3f06e(0x3c9)](),'cursors':[..._0x54ae84['values']()][_0xb3f06e(0x23f)](_0x127dca=>({..._0x127dca,'color':this[_0xb3f06e(0x3bb)][_0xb3f06e(0x2e8)](_0x127dca[_0xb3f06e(0x45b)])}))})))[_0xb3f06e(0x2fd)](_0x27aeca=>{const _0x352c9d=_0xb3f06e;if(this['_removeCollabCursors'](),_0x27aeca){const {skeleton:_0x889bef,cursors:_0x3e6102}=_0x27aeca;this[_0x352c9d(0x22b)](_0x889bef,_0x3e6102);}})),this[_0xb3f06e(0x404)](),this[_0xb3f06e(0x397)]();}[_0x4b31f4(0x22b)](_0x3d546e,_0x2192f3){const _0x2fdef9=_0x4b31f4,{scene:_0x435f5c,mainComponent:_0x3e47f7}=this[_0x2fdef9(0x24b)],_0x597688=_0x2192f3[_0x2fdef9(0x215)](_0x2df808=>new _0x8c9a61(_0x2df808,_0x435f5c,_0x3d546e,_0x3e47f7));this[_0x2fdef9(0x369)]=_0x597688,this[_0x2fdef9(0x436)]=_0x2192f3;}[_0x4b31f4(0x37a)](){const _0x159468=_0x4b31f4;this[_0x159468(0x361)]();const {scene:_0x47c95d,mainComponent:_0x1172fe}=this[_0x159468(0x24b)],_0x16fc5f=this['_docSkeletonManagerService'][_0x159468(0x3c9)](),_0x5ebc2f=this[_0x159468(0x436)][_0x159468(0x215)](_0x1240c2=>new _0x8c9a61(_0x1240c2,_0x47c95d,_0x16fc5f,_0x1172fe));this['_cursorShapes']=_0x5ebc2f;}[_0x4b31f4(0x361)](){const _0x5d7df0=_0x4b31f4;this['_cursorShapes'][_0x5d7df0(0x377)](_0x365082=>_0x365082[_0x5d7df0(0x32d)]()),this[_0x5d7df0(0x369)]=[];}[_0x4b31f4(0x397)](){const _0x566341=_0x4b31f4,_0x3faee0=[_0x29d555[_0x566341(0x337)]['id']];this['disposeWithMe'](this[_0x566341(0x351)][_0x566341(0x3b8)](_0x2c6ec9=>{const _0x50cfba=_0x566341;_0x3faee0['includes'](_0x2c6ec9['id'])&&_0x2c6ec9[_0x50cfba(0x3c8)]['unitId']===this[_0x50cfba(0x24b)][_0x50cfba(0x2d3)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x206d6f=_0x4b31f4;this[_0x206d6f(0x204)](_0x54d64a[_0x206d6f(0x357)](this[_0x206d6f(0x24b)][_0x206d6f(0x235)][_0x206d6f(0x417)])[_0x206d6f(0x3a7)](_0x1f862b[_0x206d6f(0x423)](_0x421919=>_0x421919[_0x206d6f(0x34f)]===_0x219175[_0x206d6f(0x3ca)][_0x206d6f(0x2f1)]),_0x1f862b[_0x206d6f(0x3b5)](0x10))['subscribe'](()=>{const _0x1cfcc4=_0x206d6f;this[_0x1cfcc4(0x37a)]();}));}};_0x5227cd=_0x3ab704([_0x495934(0x1,_0x54d64a[_0x4b31f4(0x287)](_0x12e053[_0x4b31f4(0x265)])),_0x495934(0x2,_0x54d64a[_0x4b31f4(0x287)](_0x5227f6)),_0x495934(0x3,_0x54d64a[_0x4b31f4(0x260)]),_0x495934(0x4,_0x54d64a['Inject'](_0x54d64a['ThemeService']))],_0x5227cd);const _0x58c306=0x1,_0x1a670f=1.5;class _0x3aa33d extends _0x219175[_0x4b31f4(0x42c)]{constructor(_0x5a4b95,_0x1b69fe){const _0x5f45f7=_0x4b31f4;super(_0x5a4b95,_0x1b69fe),_0xc8c098(this,_0x5f45f7(0x433)),_0xc8c098(this,'_hovered',!0x1),_0xc8c098(this,'_range'),_0xc8c098(this,_0x5f45f7(0x399),''),_0xc8c098(this,'_labelPosition',_0x5f45f7(0x296)),_0xc8c098(this,_0x5f45f7(0x234)),(_0x1b69fe&&this[_0x5f45f7(0x426)](_0x1b69fe),this[_0x5f45f7(0x33c)]['subscribeEvent'](()=>this[_0x5f45f7(0x426)]({'hovered':!0x0})),this[_0x5f45f7(0x35a)][_0x5f45f7(0x30a)](()=>this[_0x5f45f7(0x426)]({'hovered':!0x1})));}[_0x4b31f4(0x426)](_0x2caac1){const _0x1bf3e1=_0x4b31f4;var _0x4b287d,_0x498b50,_0x426a9f,_0x1623bf,_0x15ecd9,_0x3e293f;this['_color']=(_0x4b287d=_0x2caac1[_0x1bf3e1(0x45b)])!=null?_0x4b287d:this['_color'],this[_0x1bf3e1(0x2bd)]=(_0x498b50=_0x2caac1['hovered'])!=null?_0x498b50:this['_hovered'],this[_0x1bf3e1(0x33f)]=(_0x426a9f=_0x2caac1[_0x1bf3e1(0x374)])!=null?_0x426a9f:this[_0x1bf3e1(0x33f)],this[_0x1bf3e1(0x399)]=(_0x1623bf=_0x2caac1[_0x1bf3e1(0x239)])!=null?_0x1623bf:this['_name'],this[_0x1bf3e1(0x386)]=(_0x15ecd9=_0x2caac1[_0x1bf3e1(0x3ee)])!=null?_0x15ecd9:this['_labelPosition'],this[_0x1bf3e1(0x234)]=(_0x3e293f=_0x2caac1[_0x1bf3e1(0x2b1)])!=null?_0x3e293f:this[_0x1bf3e1(0x234)],this[_0x1bf3e1(0x2c9)]({'width':_0x2caac1['width'],'height':_0x2caac1[_0x1bf3e1(0x285)]});}[_0x4b31f4(0x42d)](_0x1d5fb9){const _0x1095ff=_0x4b31f4,{row:_0x14b3b4,column:_0x3ba283}=_0x1d5fb9;if(_0x14b3b4>=this[_0x1095ff(0x33f)][_0x1095ff(0x312)]&&_0x14b3b4<=this[_0x1095ff(0x33f)]['endRow']&&_0x3ba283>=this['_range'][_0x1095ff(0x225)]&&_0x3ba283<=this['_range']['endColumn']){this[_0x1095ff(0x426)]({'hovered':!0x0});return;}this[_0x1095ff(0x426)]({'hovered':!0x1});}[_0x4b31f4(0x3ac)](_0x38f0eb){return!0x1;}['_draw'](_0x5c7ed2){const _0x1996a7=_0x4b31f4;_0x219175['Rect'][_0x1996a7(0x424)](_0x5c7ed2,{'width':this[_0x1996a7(0x43c)],'height':this[_0x1996a7(0x285)],'strokeWidth':_0x1a670f,'stroke':this[_0x1996a7(0x433)],'evented':!0x1,'fill':this[_0x1996a7(0x234)]}),this[_0x1996a7(0x2bd)]&&(_0x5c7ed2['save'](),_0x5c7ed2['transform'](0x1,0x0,0x0,0x1,this[_0x1996a7(0x43c)],this['_labelPosition']===_0x1996a7(0x3c3)?0x0:-0x14),_0x28ec1e['drawWith'](_0x5c7ed2,{'text':this['_name'],'color':this[_0x1996a7(0x433)]}),_0x5c7ed2[_0x1996a7(0x1c1)]());}}var _0x31b369=Object['getOwnPropertyDescriptor'],_0x65b005=(_0x57c1ee,_0x395ff5,_0x408618,_0x40ba81)=>{const _0x3dce7b=_0x4b31f4;for(var _0x326fe4=_0x40ba81>0x1?void 0x0:_0x40ba81?_0x31b369(_0x395ff5,_0x408618):_0x395ff5,_0x4d3480=_0x57c1ee[_0x3dce7b(0x2ab)]-0x1,_0x35fb50;_0x4d3480>=0x0;_0x4d3480--)(_0x35fb50=_0x57c1ee[_0x4d3480])&&(_0x326fe4=_0x35fb50(_0x326fe4)||_0x326fe4);return _0x326fe4;},_0x1ae4df=(_0x488741,_0x323712)=>(_0x4f9b79,_0x1ebfec)=>_0x323712(_0x4f9b79,_0x1ebfec,_0x488741);const _0x446493=0x1389;let _0x16b5fd=class extends _0x54d64a['RxDisposable']{constructor(_0x2aea7c,_0x502d9a,_0x1a3cb7,_0x5f3de0){const _0x5b941e=_0x4b31f4;super(),_0xc8c098(this,_0x5b941e(0x436),new Set()),_0xc8c098(this,_0x5b941e(0x1c6),null),(this[_0x5b941e(0x24b)]=_0x2aea7c,this[_0x5b941e(0x3b2)]=_0x502d9a,this[_0x5b941e(0x45c)]=_0x1a3cb7,this[_0x5b941e(0x3bb)]=_0x5f3de0,this[_0x5b941e(0x451)]());}[_0x4b31f4(0x451)](){const _0x1b7696=_0x4b31f4;this[_0x1b7696(0x3b2)][_0x1b7696(0x41c)][_0x1b7696(0x3a7)](_0x1f862b[_0x1b7696(0x450)](this[_0x1b7696(0x216)]),_0x1f862b[_0x1b7696(0x2da)](_0x5dea44=>{const _0x464b5b=_0x1b7696;if(_0x5dea44){const _0x360017=_0x5dea44[_0x464b5b(0x401)];return _0x59ff1b[_0x464b5b(0x416)](this[_0x464b5b(0x45c)][_0x464b5b(0x2a9)](this['_context'][_0x464b5b(0x2d3)]),this[_0x464b5b(0x3bb)][_0x464b5b(0x3b7)])[_0x464b5b(0x3a7)](_0x1f862b[_0x464b5b(0x215)](([_0x1dff3c,_0x5f25ae])=>{const _0x2b8ecd=new Map();return _0x1dff3c['forEach']((_0x5d8daf,_0x299755)=>{const _0x13bff7=_0x14a2;if(_0x5d8daf['sheetID']===_0x360017){const _0x13ca7b={..._0x5d8daf};_0x13ca7b['color']=this[_0x13bff7(0x3bb)]['getColorFromTheme'](_0x5d8daf[_0x13bff7(0x45b)]),_0x2b8ecd[_0x13bff7(0x314)](_0x299755,_0x13ca7b);}}),{'skeleton':_0x5dea44,'cursors':_0x2b8ecd};}));}return _0x59ff1b['of']({'skeleton':null,'cursors':new Map()});}))[_0x1b7696(0x2fd)](({skeleton:_0x53ee71,cursors:_0x2556a1})=>{const _0x2b98ea=_0x1b7696;this[_0x2b98ea(0x361)](),_0x53ee71&&this[_0x2b98ea(0x22b)](_0x53ee71,_0x2556a1);}),this['_sheetSkeletonManagerService'][_0x1b7696(0x41c)][_0x1b7696(0x2fd)](_0x292efe=>{const _0x42440a=_0x1b7696;if(_0x292efe==null)return;const {skeleton:_0xae51d9}=_0x292efe,{scene:_0x2880ae}=this[_0x42440a(0x24b)];_0x2880ae[_0x42440a(0x1e9)][_0x42440a(0x30a)](_0x54d64a[_0x42440a(0x1d4)](_0xb7172b=>{const _0xc5d2e4=_0x42440a;var _0x4853f8,_0x395c54;const {offsetX:_0x25e792,offsetY:_0xa824f9}=_0xb7172b,{x:_0x571b72,y:_0x2736ad}=_0x2880ae['getRelativeToViewportCoord'](_0x219175[_0xc5d2e4(0x1e8)]['FromArray']([_0x25e792,_0xa824f9])),{scaleX:_0x4aad46,scaleY:_0x3fb864}=_0x2880ae['getAncestorScale'](),_0x1ef756=_0x2880ae[_0xc5d2e4(0x212)](_0x219175[_0xc5d2e4(0x2a1)]['VIEW_MAIN']),_0x33a07f=_0x2880ae['getVpScrollXYInfoByPosToVp'](_0x219175['Vector2'][_0xc5d2e4(0x322)]([_0x571b72,_0x2736ad]),_0x1ef756),_0x3e2122=_0xae51d9[_0xc5d2e4(0x458)](_0x25e792,_0xa824f9,_0x4aad46,_0x3fb864,_0x33a07f);((_0x4853f8=this[_0xc5d2e4(0x1c6)])==null?void 0x0:_0x4853f8[_0xc5d2e4(0x43f)])===_0x3e2122['column']&&((_0x395c54=this[_0xc5d2e4(0x1c6)])==null?void 0x0:_0x395c54['row'])===_0x3e2122[_0xc5d2e4(0x23e)]||this[_0xc5d2e4(0x436)]['forEach'](_0x4419ef=>{_0x4419ef['onMouseMove'](_0x3e2122);});},0x64));});}['_updateCollabCursors'](_0x3796b0,_0x44a38b){const _0x2a396c=_0x4b31f4;var _0x3804e8;const _0x32b734=(_0x3804e8=this[_0x2a396c(0x3b2)][_0x2a396c(0x394)]())==null?void 0x0:_0x3804e8[_0x2a396c(0x283)];if(!_0x32b734)return;const _0x4123e3=this['_getSheetObject']();if(!_0x4123e3)return;this[_0x2a396c(0x436)][_0x2a396c(0x377)](_0x4982ee=>{_0x4982ee['makeDirty']();});const {scene:_0x3ca3d6}=_0x4123e3,_0x5c2258=_0x2b09ed(Array[_0x2a396c(0x2f4)](_0x44a38b[_0x2a396c(0x356)]()))[_0x2a396c(0x215)](_0x59d942=>{const _0x32c968=_0x2a396c,{color:_0x36d1ba,range:_0x3578b8,name:_0x3b5832,selection:_0x3a427e,sheetID:_0x2a8b29}=_0x59d942,{startColumn:_0x356b4b,startRow:_0x13534e,endColumn:_0x2cbbda,endRow:_0x58035d}=_0x3578b8,_0x3eb99c=_0x3ee301[_0x32c968(0x383)](_0x13534e,_0x356b4b,_0x3ca3d6,_0x32b734),_0xeace73=_0x3ee301[_0x32c968(0x383)](_0x58035d,_0x2cbbda,_0x3ca3d6,_0x32b734),{columnHeaderHeightAndMarginTop:_0x33c53e}=_0x32b734,{startX:_0x114bc9,startY:_0x11b1c1}=_0x3eb99c,{endX:_0x110a54,endY:_0x86c764}=_0xeace73,_0x42ac66=_0x110a54-_0x114bc9,_0xf899f2=_0x86c764-_0x11b1c1,_0x334bf0={'labelPosition':_0x11b1c1-_0x33c53e>=_0x41653f?_0x32c968(0x296):_0x32c968(0x3c3),'sheetID':_0x2a8b29,'range':_0x3578b8,'color':_0x36d1ba,'name':_0x3b5832,'selection':_0x3a427e,'left':_0x114bc9,'top':_0x11b1c1,'width':_0x42ac66,'height':_0xf899f2,'evented':!0x1,'zIndex':_0x446493};return new _0x3aa33d(_0x3b5832,_0x334bf0);});_0x3ca3d6[_0x2a396c(0x2e1)](_0x5c2258,_0x58c306),this[_0x2a396c(0x436)]=new Set(_0x5c2258);}['_removeCollabCursors'](){const _0x3bfd5b=_0x4b31f4;var _0x52d885;(_0x52d885=this[_0x3bfd5b(0x436)])==null||_0x52d885[_0x3bfd5b(0x377)](_0x539fae=>_0x539fae['dispose']());}[_0x4b31f4(0x2c4)](){const _0x2867ff=_0x4b31f4;return _0x3ee301[_0x2867ff(0x2c2)](this[_0x2867ff(0x24b)][_0x2867ff(0x2d0)],this[_0x2867ff(0x24b)]);}};_0x16b5fd=_0x65b005([_0x1ae4df(0x1,_0x54d64a[_0x4b31f4(0x287)](_0x3ee301[_0x4b31f4(0x297)])),_0x1ae4df(0x2,_0x54d64a['Inject'](_0x5227f6)),_0x1ae4df(0x3,_0x54d64a['Inject'](_0x54d64a[_0x4b31f4(0x379)]))],_0x16b5fd);function _0x2b09ed(_0xbfb66a){const _0x4359b8=_0x4b31f4,_0x3d54f3=new Map();return _0xbfb66a[_0x4359b8(0x377)](_0x27a803=>{const _0x2fcae1=_0x4359b8;if(_0x3d54f3[_0x2fcae1(0x331)](_0x27a803[_0x2fcae1(0x440)])){const _0x58d9be=_0x3d54f3[_0x2fcae1(0x363)](_0x27a803[_0x2fcae1(0x440)]);_0x58d9be[_0x2fcae1(0x239)]+=',\x20'+_0x27a803[_0x2fcae1(0x239)];}else _0x3d54f3['set'](_0x27a803[_0x2fcae1(0x440)],_0x27a803);}),Array[_0x4359b8(0x2f4)](_0x3d54f3[_0x4359b8(0x356)]());}var _0x54ad73=function(){const _0x5aef04=_0x4b31f4;return _0x54ad73=Object[_0x5aef04(0x3a4)]||function(_0x3e1fa4){const _0x2e1a7e=_0x5aef04;for(var _0x55fe15,_0x5e29af=0x1,_0x4536c0=arguments[_0x2e1a7e(0x2ab)];_0x5e29af<_0x4536c0;_0x5e29af++){_0x55fe15=arguments[_0x5e29af];for(var _0x34d7f9 in _0x55fe15)Object['prototype'][_0x2e1a7e(0x2ba)][_0x2e1a7e(0x1d9)](_0x55fe15,_0x34d7f9)&&(_0x3e1fa4[_0x34d7f9]=_0x55fe15[_0x34d7f9]);}return _0x3e1fa4;},_0x54ad73[_0x5aef04(0x1ff)](this,arguments);},_0x5c4518=function(_0x3fcd78,_0x501611){const _0x4561fa=_0x4b31f4;var _0x7a436={};for(var _0x1b2ac5 in _0x3fcd78)Object[_0x4561fa(0x3b4)][_0x4561fa(0x2ba)][_0x4561fa(0x1d9)](_0x3fcd78,_0x1b2ac5)&&_0x501611[_0x4561fa(0x45a)](_0x1b2ac5)<0x0&&(_0x7a436[_0x1b2ac5]=_0x3fcd78[_0x1b2ac5]);if(_0x3fcd78!=null&&typeof Object[_0x4561fa(0x1f0)]==_0x4561fa(0x30b)){for(var _0x30e082=0x0,_0x1b2ac5=Object[_0x4561fa(0x1f0)](_0x3fcd78);_0x30e082<_0x1b2ac5[_0x4561fa(0x2ab)];_0x30e082++)_0x501611['indexOf'](_0x1b2ac5[_0x30e082])<0x0&&Object[_0x4561fa(0x3b4)][_0x4561fa(0x261)]['call'](_0x3fcd78,_0x1b2ac5[_0x30e082])&&(_0x7a436[_0x1b2ac5[_0x30e082]]=_0x3fcd78[_0x1b2ac5[_0x30e082]]);}return _0x7a436;},_0x221025=_0x437b2d[_0x4b31f4(0x1ed)](function(_0xa62d04,_0x50130e){const _0x6de75e=_0x4b31f4;var _0xec29ff=_0xa62d04[_0x6de75e(0x341)],_0x5036e5=_0xa62d04['id'],_0x57f253=_0xa62d04[_0x6de75e(0x213)],_0x3b5c12=_0xa62d04['extend'],_0xfff8c5=_0x5c4518(_0xa62d04,[_0x6de75e(0x341),'id','className',_0x6de75e(0x2d4)]),_0x4cd248='univerjs-icon\x20univerjs-icon-'[_0x6de75e(0x385)](_0x5036e5,'\x20')[_0x6de75e(0x385)](_0x57f253||'')[_0x6de75e(0x2dd)](),_0x585e6e=_0x437b2d[_0x6de75e(0x2e2)]('_'[_0x6de75e(0x385)](_0x413ad2()));return _0x3b8c3d(_0xec29ff,''[_0x6de75e(0x385)](_0x5036e5),{'defIds':_0xec29ff[_0x6de75e(0x294)],'idSuffix':_0x585e6e[_0x6de75e(0x395)]},_0x54ad73({'ref':_0x50130e,'className':_0x4cd248},_0xfff8c5),_0x3b5c12);});function _0x3b8c3d(_0x45fb0a,_0x196d94,_0x3ae96d,_0x3cdaa1,_0x393b31){const _0x3514be=_0x4b31f4;return _0x437b2d[_0x3514be(0x2c8)](_0x45fb0a[_0x3514be(0x339)],_0x54ad73(_0x54ad73({'key':_0x196d94},_0x124502(_0x45fb0a,_0x3ae96d,_0x393b31)),_0x3cdaa1),(_0xbd76fe(_0x45fb0a,_0x3ae96d)[_0x3514be(0x205)]||[])['map'](function(_0x2a2421,_0x2b02f8){const _0x512ad7=_0x3514be;return _0x3b8c3d(_0x2a2421,''[_0x512ad7(0x385)](_0x196d94,'-')[_0x512ad7(0x385)](_0x45fb0a[_0x512ad7(0x339)],'-')[_0x512ad7(0x385)](_0x2b02f8),_0x3ae96d,void 0x0,_0x393b31);}));}function _0x124502(_0x40ee1c,_0x3c53d4,_0xeeb54){const _0x2b8596=_0x4b31f4;var _0x3fa504=_0x54ad73({},_0x40ee1c['attrs']);_0xeeb54!=null&&_0xeeb54[_0x2b8596(0x2bb)]&&_0x3fa504[_0x2b8596(0x364)]===_0x2b8596(0x2bb)&&(_0x3fa504[_0x2b8596(0x364)]=_0xeeb54[_0x2b8596(0x2bb)]),_0x40ee1c[_0x2b8596(0x339)]===_0x2b8596(0x30f)&&_0x3fa504['id']&&(_0x3fa504['id']=_0x3fa504['id']+_0x3c53d4[_0x2b8596(0x332)]),Object[_0x2b8596(0x2cb)](_0x3fa504)[_0x2b8596(0x377)](function(_0x28b96a){const _0x3a9e2b=_0x2b8596;var _0x107e10=_0x28b96a[0x0],_0x29be84=_0x28b96a[0x1];_0x107e10===_0x3a9e2b(0x30f)&&typeof _0x29be84==_0x3a9e2b(0x25c)&&(_0x3fa504[_0x107e10]=_0x29be84[_0x3a9e2b(0x432)](/url\(#(.*)\)/,_0x3a9e2b(0x23d)[_0x3a9e2b(0x385)](_0x3c53d4['idSuffix'],')')));});var _0x3e8f99=_0x3c53d4['defIds'];return!_0x3e8f99||_0x3e8f99[_0x2b8596(0x2ab)]===0x0||(_0x40ee1c[_0x2b8596(0x339)]===_0x2b8596(0x3fe)&&_0x3fa504[_0x2b8596(0x240)]&&(_0x3fa504[_0x2b8596(0x240)]=_0x3fa504[_0x2b8596(0x240)]+_0x3c53d4['idSuffix']),Object[_0x2b8596(0x2cb)](_0x3fa504)[_0x2b8596(0x377)](function(_0xcd9cd4){const _0x548277=_0x2b8596;var _0x19f096=_0xcd9cd4[0x0],_0x3a4f5f=_0xcd9cd4[0x1];typeof _0x3a4f5f==_0x548277(0x25c)&&(_0x3fa504[_0x19f096]=_0x3a4f5f[_0x548277(0x432)](/url\(#(.*)\)/,_0x548277(0x23d)['concat'](_0x3c53d4['idSuffix'],')')));})),_0x3fa504;}function _0xbd76fe(_0x1bc6b3,_0x329171){const _0x100a2b=_0x4b31f4;var _0x45a10f,_0x4a5f69=_0x329171[_0x100a2b(0x294)];return!_0x4a5f69||_0x4a5f69[_0x100a2b(0x2ab)]===0x0?_0x1bc6b3:_0x1bc6b3[_0x100a2b(0x339)]===_0x100a2b(0x3ec)&&(!((_0x45a10f=_0x1bc6b3['children'])===null||_0x45a10f===void 0x0)&&_0x45a10f[_0x100a2b(0x2ab)])?_0x54ad73(_0x54ad73({},_0x1bc6b3),{'children':_0x1bc6b3[_0x100a2b(0x205)][_0x100a2b(0x215)](function(_0x32fc0f){const _0x29026b=_0x100a2b;return typeof _0x32fc0f['attrs']['id']=='string'&&_0x4a5f69&&_0x4a5f69[_0x29026b(0x3f9)](_0x32fc0f[_0x29026b(0x2c1)]['id'])?_0x54ad73(_0x54ad73({},_0x32fc0f),{'attrs':_0x54ad73(_0x54ad73({},_0x32fc0f[_0x29026b(0x2c1)]),{'id':_0x32fc0f['attrs']['id']+_0x329171['idSuffix']})}):_0x32fc0f;})}):_0x1bc6b3;}function _0x413ad2(){const _0x208263=_0x4b31f4;return Math[_0x208263(0x25a)]()['toString'](0x24)[_0x208263(0x3bd)](0x2,0x8);}_0x221025['displayName']='UniverIcon';var _0x326537={'tag':'svg','attrs':{'xmlns':_0x4b31f4(0x408),'fill':_0x4b31f4(0x3cb),'viewBox':_0x4b31f4(0x36c),'width':_0x4b31f4(0x246),'height':_0x4b31f4(0x246)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4b31f4(0x2df),'attrs':{'stroke':_0x4b31f4(0x338),'d':_0x4b31f4(0x1f9),'strokeLinecap':_0x4b31f4(0x448),'strokeLinejoin':_0x4b31f4(0x448),'strokeWidth':1.2}}]},{'tag':_0x4b31f4(0x3ec),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4b31f4(0x38d)},'children':[{'tag':_0x4b31f4(0x2df),'attrs':{'fill':_0x4b31f4(0x31e),'d':_0x4b31f4(0x44a)}}]}]}],'defIds':[_0x4b31f4(0x38d)]},_0x124549=_0x437b2d[_0x4b31f4(0x1ed)](function(_0x4b7d46,_0x53bd83){const _0x2bcc6b=_0x4b31f4;return _0x437b2d[_0x2bcc6b(0x2c8)](_0x221025,Object[_0x2bcc6b(0x3a4)]({},_0x4b7d46,{'id':_0x2bcc6b(0x459),'ref':_0x53bd83,'icon':_0x326537}));});_0x124549[_0x4b31f4(0x26d)]='OffLineIcon';var _0x353604={'tag':_0x4b31f4(0x25d),'attrs':{'xmlns':_0x4b31f4(0x408),'fill':_0x4b31f4(0x3cb),'viewBox':'0\x200\x2017\x2016','width':_0x4b31f4(0x246),'height':_0x4b31f4(0x246)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4b31f4(0x2df),'attrs':{'stroke':_0x4b31f4(0x338),'d':_0x4b31f4(0x2e7),'strokeLinecap':_0x4b31f4(0x448),'strokeLinejoin':_0x4b31f4(0x448),'strokeWidth':1.2}}]},{'tag':_0x4b31f4(0x3ec),'attrs':{},'children':[{'tag':_0x4b31f4(0x3e5),'attrs':{'id':_0x4b31f4(0x2e6)},'children':[{'tag':_0x4b31f4(0x2df),'attrs':{'fill':_0x4b31f4(0x31e),'d':_0x4b31f4(0x44a),'transform':_0x4b31f4(0x3eb)}}]}]}],'defIds':[_0x4b31f4(0x2e6)]},_0x16785d=_0x437b2d['forwardRef'](function(_0x4da836,_0x1841e6){const _0x35e8e1=_0x4b31f4;return _0x437b2d[_0x35e8e1(0x2c8)](_0x221025,Object[_0x35e8e1(0x3a4)]({},_0x4da836,{'id':_0x35e8e1(0x41b),'ref':_0x1841e6,'icon':_0x353604}));});_0x16785d[_0x4b31f4(0x26d)]=_0x4b31f4(0x221);function _0x5b70cc(_0x2c68c7){const _0x1137f3=_0x4b31f4;switch(_0x2c68c7){case _0x295c2d[_0x1137f3(0x258)]['OFFLINE']:return _0x1137f3(0x3d1);case _0x295c2d['CollaborationStatus'][_0x1137f3(0x346)]:return _0x1137f3(0x280);case _0x295c2d[_0x1137f3(0x258)][_0x1137f3(0x277)]:return'collabStatus.fetchMiss';case _0x295c2d['CollaborationStatus'][_0x1137f3(0x443)]:return _0x1137f3(0x328);case _0x295c2d[_0x1137f3(0x258)]['AWAITING']:case _0x295c2d['CollaborationStatus'][_0x1137f3(0x371)]:return _0x1137f3(0x367);case _0x295c2d['CollaborationStatus'][_0x1137f3(0x2de)]:case _0x295c2d[_0x1137f3(0x258)][_0x1137f3(0x336)]:return _0x1137f3(0x21e);}}function _0x28d069(_0x3123ed){const _0x3c6a8f=_0x4b31f4,{status$:_0x123569}=_0x3123ed,_0x991d6e=_0x22816c[_0x3c6a8f(0x315)](_0x123569,_0x295c2d['CollaborationStatus'][_0x3c6a8f(0x443)]),_0x16936c=_0x22816c['useDependency'](_0x54d64a[_0x3c6a8f(0x274)]),_0x1f140e=_0x22816c[_0x3c6a8f(0x382)](_0x295c2d[_0x3c6a8f(0x1d2)]),_0x103fa8=_0x991d6e!==_0x295c2d[_0x3c6a8f(0x258)][_0x3c6a8f(0x1cf)],_0x22e757=_0x16936c['t'](_0x5b70cc(_0x991d6e)),_0x44630a=_0x103fa8?_0x47c70c['jsx'](_0x16785d,{}):_0x47c70c[_0x3c6a8f(0x390)](_0x124549,{}),_0x4ee652=_0x437b2d[_0x3c6a8f(0x333)](()=>{_0x103fa8||_0x1f140e['reconnect']();},[_0x103fa8,_0x1f140e]);function _0x428b2c(){const _0x5f5154=_0x3c6a8f;return _0x47c70c[_0x5f5154(0x388)](_0x5f5154(0x21f),{'className':_0x5f5154(0x349),'onClick':_0x4ee652,'children':[_0x47c70c['jsx'](_0x5f5154(0x21f),{'className':_0x154965[_0x5f5154(0x288)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x103fa8,'univer-text-red-500':!_0x103fa8}),'children':_0x44630a}),_0x47c70c[_0x5f5154(0x390)](_0x5f5154(0x21f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x22e757})]});}return _0x103fa8?_0x428b2c():_0x47c70c['jsx'](_0x154965[_0x3c6a8f(0x2d1)],{'title':_0x16936c['t'](_0x3c6a8f(0x449)),'children':_0x428b2c()});}var _0x3aaadc=Object[_0x4b31f4(0x2d8)],_0x4e12fe=(_0x36f654,_0xd9e548,_0x22c195,_0xbead2d)=>{const _0x415f70=_0x4b31f4;for(var _0x91918=_0xbead2d>0x1?void 0x0:_0xbead2d?_0x3aaadc(_0xd9e548,_0x22c195):_0xd9e548,_0x43edeb=_0x36f654[_0x415f70(0x2ab)]-0x1,_0x2bd743;_0x43edeb>=0x0;_0x43edeb--)(_0x2bd743=_0x36f654[_0x43edeb])&&(_0x91918=_0x2bd743(_0x91918)||_0x91918);return _0x91918;},_0x534263=(_0xb9313e,_0x2e454f)=>(_0x6e7eee,_0x3b2c6c)=>_0x2e454f(_0x6e7eee,_0x3b2c6c,_0xb9313e);_0x1bb602[_0x4b31f4(0x219)]=class extends _0x54d64a[_0x4b31f4(0x3be)]{constructor(_0x2103bd,_0x1b0b02,_0x123dca,_0x1f1597){const _0x2d13b8=_0x4b31f4;super(),_0xc8c098(this,'_status$',new _0x59ff1b[(_0x2d13b8(0x305))](_0x295c2d[_0x2d13b8(0x258)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x2103bd,this[_0x2d13b8(0x391)]=_0x1b0b02,this['_collaborationController']=_0x123dca,this['_uiPartsService']=_0x1f1597,this[_0x2d13b8(0x27b)](),this[_0x2d13b8(0x2a0)]());}[_0x4b31f4(0x2a0)](){const _0x22693e=_0x4b31f4;this[_0x22693e(0x204)](this['_univerInstanceService'][_0x22693e(0x431)][_0x22693e(0x3a7)](_0x59ff1b[_0x22693e(0x2da)](()=>{const _0x355e05=_0x22693e,_0x1c7bed=this[_0x355e05(0x3fd)][_0x355e05(0x415)]();return _0x1c7bed?this[_0x355e05(0x273)]['getCollabEntity$'](_0x1c7bed[_0x355e05(0x2ef)]()):_0x59ff1b['of'](null);}),_0x59ff1b['switchMap'](_0x1b3f4d=>_0x1b3f4d?_0x1b3f4d[_0x22693e(0x208)]:_0x59ff1b['of'](_0x295c2d['CollaborationStatus'][_0x22693e(0x443)])))[_0x22693e(0x2fd)](_0x39a562=>{const _0xd5a85=_0x22693e;this[_0xd5a85(0x1f7)][_0xd5a85(0x222)](_0x39a562);}));}[_0x4b31f4(0x27b)](){const _0xdaaea1=_0x4b31f4;this[_0xdaaea1(0x204)](this[_0xdaaea1(0x456)][_0xdaaea1(0x2c7)](_0x22816c[_0xdaaea1(0x24c)][_0xdaaea1(0x21a)],()=>_0x22816c[_0xdaaea1(0x2f5)](_0xfd427b({'status$':this['_status$'][_0xdaaea1(0x3c6)]()}),this[_0xdaaea1(0x391)])));}},_0x1bb602[_0x4b31f4(0x219)]=_0x4e12fe([_0x534263(0x0,_0x54d64a[_0x4b31f4(0x26b)]),_0x534263(0x1,_0x54d64a['Inject'](_0x54d64a[_0x4b31f4(0x317)])),_0x534263(0x2,_0x54d64a[_0x4b31f4(0x287)](_0x295c2d[_0x4b31f4(0x21c)])),_0x534263(0x3,_0x22816c['IUIPartsService'])],_0x1bb602['DesktopCollaborationStatusDisplayController']);function _0xfd427b(_0x509913){const {status$:_0x24fde9}=_0x509913;return function(){const _0x3e83fe=_0x14a2;return _0x47c70c[_0x3e83fe(0x390)](_0x28d069,{'status$':_0x24fde9});};}var _0x5534c0=Object[_0x4b31f4(0x2d8)],_0x302963=(_0x23e826,_0x302ebd,_0x130d45,_0x2a3a15)=>{for(var _0x4bd9a9=_0x2a3a15>0x1?void 0x0:_0x2a3a15?_0x5534c0(_0x302ebd,_0x130d45):_0x302ebd,_0x1d364f=_0x23e826['length']-0x1,_0x11e230;_0x1d364f>=0x0;_0x1d364f--)(_0x11e230=_0x23e826[_0x1d364f])&&(_0x4bd9a9=_0x11e230(_0x4bd9a9)||_0x4bd9a9);return _0x4bd9a9;},_0x2c2227=(_0x313b77,_0x856e1d)=>(_0x26cd38,_0x5ca312)=>_0x856e1d(_0x26cd38,_0x5ca312,_0x313b77);let _0x53f29f=class extends _0x54d64a['Disposable']{constructor(_0x5997f1,_0x38014d,_0x2972f9,_0x3a2138,_0x5613c8,_0x584fa1){const _0x7bb086=_0x4b31f4;super(),this[_0x7bb086(0x38a)]=_0x5997f1,this[_0x7bb086(0x437)]=_0x38014d,this[_0x7bb086(0x326)]=_0x2972f9,this['_messageService']=_0x3a2138,this[_0x7bb086(0x301)]=_0x5613c8,this[_0x7bb086(0x40f)]=_0x584fa1,this[_0x7bb086(0x441)](),this[_0x7bb086(0x368)]();}[_0x4b31f4(0x441)](){const _0x16dfe8=_0x4b31f4;this[_0x16dfe8(0x204)](this[_0x16dfe8(0x38a)][_0x16dfe8(0x3dd)](()=>{const _0x20b906=_0x16dfe8;if(this['_localCacheService'][_0x20b906(0x214)]['size'])return this[_0x20b906(0x40f)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4b31f4(0x368)](){const _0x16a9ea=_0x4b31f4;this[_0x16a9ea(0x204)](this[_0x16a9ea(0x326)][_0x16a9ea(0x241)][_0x16a9ea(0x2fd)](_0x511194=>{const _0x35daa8=_0x16a9ea;_0x511194['id']===_0x295c2d[_0x35daa8(0x2ee)][_0x35daa8(0x1ef)]&&this[_0x35daa8(0x2f3)][_0x35daa8(0x254)]({'type':_0x154965[_0x35daa8(0x1ec)]['Warning'],'content':this[_0x35daa8(0x40f)]['t']('collaboration.single-unit.warning')}),_0x511194['id']===_0x295c2d[_0x35daa8(0x2ee)][_0x35daa8(0x207)]&&this[_0x35daa8(0x2f3)][_0x35daa8(0x254)]({'type':_0x154965[_0x35daa8(0x1ec)][_0x35daa8(0x429)],'content':this[_0x35daa8(0x40f)]['t']('collaboration.closeRoom')}),_0x511194['id']===_0x295c2d[_0x35daa8(0x2ee)]['PERMISSION_DENIED']&&this[_0x35daa8(0x301)][_0x35daa8(0x254)]({'title':this[_0x35daa8(0x40f)]['t'](_0x35daa8(0x324)),'content':this[_0x35daa8(0x40f)]['t'](_0x35daa8(0x3b6)),'type':'error','duration':0x0}),_0x511194['id']===_0x295c2d[_0x35daa8(0x2ee)][_0x35daa8(0x346)]&&this[_0x35daa8(0x2f3)][_0x35daa8(0x254)]({'type':_0x154965['MessageType'][_0x35daa8(0x2b6)],'content':this[_0x35daa8(0x40f)]['t'](_0x35daa8(0x40e))+'('+_0x511194['data']+')'}),_0x511194['id']===_0x295c2d[_0x35daa8(0x2ee)][_0x35daa8(0x43b)]&&this[_0x35daa8(0x2f3)][_0x35daa8(0x254)]({'type':_0x154965[_0x35daa8(0x1ec)]['Warning'],'content':this['_localeService']['t'](_0x511194[_0x35daa8(0x1dd)]||'')}),_0x511194['id']===_0x295c2d[_0x35daa8(0x2ee)][_0x35daa8(0x45d)]&&this[_0x35daa8(0x2f3)][_0x35daa8(0x254)]({'type':_0x154965['MessageType'][_0x35daa8(0x429)],'content':this[_0x35daa8(0x40f)]['t']('session.will-retry')}),_0x511194['id']===_0x295c2d[_0x35daa8(0x2ee)]['SOCKET_FAILED']&&this['_messageService'][_0x35daa8(0x254)]({'type':_0x154965['MessageType'][_0x35daa8(0x2b6)],'content':this['_localeService']['t']('session.connection-failed')}),_0x511194['id']===_0x295c2d[_0x35daa8(0x2ee)][_0x35daa8(0x224)]&&this[_0x35daa8(0x2f3)][_0x35daa8(0x254)]({'type':_0x154965[_0x35daa8(0x1ec)]['Error'],'content':this[_0x35daa8(0x40f)]['t'](_0x35daa8(0x232))});}));}};_0x53f29f=_0x302963([_0x2c2227(0x0,_0x22816c['IBeforeCloseService']),_0x2c2227(0x1,_0x295c2d['ILocalCacheService']),_0x2c2227(0x2,_0x54d64a[_0x4b31f4(0x287)](_0x295c2d[_0x4b31f4(0x330)])),_0x2c2227(0x3,_0x22816c[_0x4b31f4(0x2ff)]),_0x2c2227(0x4,_0x22816c['INotificationService']),_0x2c2227(0x5,_0x54d64a[_0x4b31f4(0x287)](_0x54d64a['LocaleService']))],_0x53f29f);const _0x4a13f3=_0x4b31f4(0x375),_0x281e7f={},_0x5087f2=_0x54d64a['createIdentifier'](_0x4b31f4(0x34a));var _0x5645ad=Object[_0x4b31f4(0x2d8)],_0x48d6f3=(_0x4a97b3,_0x3ef996,_0x1af156,_0x5ac2f8)=>{for(var _0x10454c=_0x5ac2f8>0x1?void 0x0:_0x5ac2f8?_0x5645ad(_0x3ef996,_0x1af156):_0x3ef996,_0x55b07b=_0x4a97b3['length']-0x1,_0xdd6386;_0x55b07b>=0x0;_0x55b07b--)(_0xdd6386=_0x4a97b3[_0x55b07b])&&(_0x10454c=_0xdd6386(_0x10454c)||_0x10454c);return _0x10454c;},_0x4989d8=(_0x153977,_0x10bee4)=>(_0x478183,_0x3e37ab)=>_0x10bee4(_0x478183,_0x3e37ab,_0x153977);_0x1bb602[_0x4b31f4(0x37f)]=class extends _0x54d64a[_0x4b31f4(0x42b)]{constructor(_0x32d426,_0x4c1f4b,_0x2c8a31,_0x4e60ac,_0x37b810){const _0x2be7cc=_0x4b31f4;super(),this[_0x2be7cc(0x227)]=_0x32d426,this[_0x2be7cc(0x3ce)]=_0x4c1f4b,this[_0x2be7cc(0x351)]=_0x2c8a31,this['_dataLoaderService']=_0x4e60ac,_0x37b810?_0x37b810==null||_0x37b810['whenReady']()[_0x2be7cc(0x38f)](()=>this[_0x2be7cc(0x451)]()):(this['_logService'][_0x2be7cc(0x3a1)]('[CollaborationDataLoaderController]',_0x2be7cc(0x2a2)),this[_0x2be7cc(0x451)]());}async[_0x4b31f4(0x451)](){const _0x1ef6ae=_0x4b31f4,_0x12989a=this[_0x1ef6ae(0x227)][_0x1ef6ae(0x2ce)](_0x1ef6ae(0x2d0)),_0x5e6c23=this[_0x1ef6ae(0x227)]['getParam'](_0x1ef6ae(0x34f)),_0x4d2ff7=this['_urlService'][_0x1ef6ae(0x2ce)](_0x1ef6ae(0x271));if(!_0x12989a||!_0x5e6c23){this[_0x1ef6ae(0x3ce)][_0x1ef6ae(0x3a1)](_0x1ef6ae(0x33e),_0x1ef6ae(0x418));return;}const _0x1ce3a7=await this[_0x1ef6ae(0x29b)][_0x1ef6ae(0x306)](_0x12989a,Number(_0x5e6c23),_0x4d2ff7);_0x1ce3a7&&_0x1ce3a7 instanceof _0x54d64a['Workbook']&&this[_0x1ef6ae(0x44e)](_0x1ce3a7);}async[_0x4b31f4(0x44e)](_0x200a29){const _0x223df8=_0x4b31f4;await this[_0x223df8(0x402)](_0x200a29),_0x200a29['activeSheet$']['pipe'](_0x59ff1b[_0x223df8(0x450)](this[_0x223df8(0x216)]))[_0x223df8(0x2fd)](_0x49b218=>{const _0x3bbb24=_0x223df8;_0x49b218&&this[_0x3bbb24(0x3de)](_0x49b218);}),this[_0x223df8(0x227)][_0x223df8(0x1e7)][_0x223df8(0x3a7)](_0x59ff1b[_0x223df8(0x450)](this[_0x223df8(0x216)]))[_0x223df8(0x2fd)](()=>this['_updateSubUnitFromURLParams'](_0x200a29));}[_0x4b31f4(0x3de)](_0x163b3d,_0x3f8f72=!0x1){const _0x66b91a=_0x4b31f4,_0x4c1bca=this[_0x66b91a(0x227)][_0x66b91a(0x2ce)](_0x66b91a(0x271));_0x163b3d[_0x66b91a(0x420)]()!==_0x4c1bca&&this[_0x66b91a(0x227)][_0x66b91a(0x1d5)](_0x66b91a(0x271),_0x163b3d['getSheetId'](),_0x3f8f72);}async[_0x4b31f4(0x402)](_0x559ffa){const _0x1b38b5=_0x4b31f4;var _0x4028c7;const _0x3e1c54=this['_urlService']['getParam'](_0x1b38b5(0x271));if(!_0x3e1c54||!_0x559ffa[_0x1b38b5(0x362)](_0x3e1c54)){const _0x5da689=_0x559ffa[_0x1b38b5(0x3cd)]()[0x0],_0x259ac0=_0x559ffa[_0x1b38b5(0x362)](_0x5da689);if(!_0x259ac0)return;this['_updateURLWithCurrentState'](_0x259ac0,!0x0),await this[_0x1b38b5(0x351)]['executeCommand'](_0x1834a7['SetWorksheetActivateCommand']['id'],{'unitId':_0x559ffa['getUnitId'](),'subUnitId':_0x5da689});return;}((_0x4028c7=_0x559ffa['getActiveSheet']())==null?void 0x0:_0x4028c7['getSheetId']())!==_0x3e1c54&&await this[_0x1b38b5(0x351)][_0x1b38b5(0x2eb)](_0x1834a7[_0x1b38b5(0x3f0)]['id'],{'unitId':_0x559ffa[_0x1b38b5(0x2ef)](),'subUnitId':_0x3e1c54});}},_0x1bb602[_0x4b31f4(0x37f)]=_0x48d6f3([_0x4989d8(0x0,_0x5087f2),_0x4989d8(0x1,_0x54d64a[_0x4b31f4(0x1c7)]),_0x4989d8(0x2,_0x54d64a[_0x4b31f4(0x260)]),_0x4989d8(0x3,_0x54d64a[_0x4b31f4(0x287)](_0x295c2d[_0x4b31f4(0x201)])),_0x4989d8(0x4,_0x54d64a['Optional'](_0xb34d2a[_0x4b31f4(0x2be)]))],_0x1bb602[_0x4b31f4(0x37f)]);var _0xeb6d20=Object[_0x4b31f4(0x2d8)],_0x1ec3a6=(_0x588fcf,_0x5216f0,_0x29a2f0,_0x382587)=>{const _0x55ba77=_0x4b31f4;for(var _0x59693c=_0x382587>0x1?void 0x0:_0x382587?_0xeb6d20(_0x5216f0,_0x29a2f0):_0x5216f0,_0x197290=_0x588fcf[_0x55ba77(0x2ab)]-0x1,_0x360ceb;_0x197290>=0x0;_0x197290--)(_0x360ceb=_0x588fcf[_0x197290])&&(_0x59693c=_0x360ceb(_0x59693c)||_0x59693c);return _0x59693c;},_0x5e9f48=(_0xe4da36,_0x4a6ea0)=>(_0x54be89,_0x56a8f1)=>_0x4a6ea0(_0x54be89,_0x56a8f1,_0xe4da36);let _0x396eec=class{constructor(_0xc493ee,_0x28222d,_0x181bc8){const _0x2db5bb=_0x4b31f4;this[_0x2db5bb(0x391)]=_0xc493ee,this[_0x2db5bb(0x3ed)]=_0x28222d,this[_0x2db5bb(0x1e2)]=_0x181bc8;}['transformIMECache'](_0x2c1c99){const _0xcec31b=_0x4b31f4;this[_0xcec31b(0x381)](_0x2c1c99),this[_0xcec31b(0x392)](_0x2c1c99);}[_0x4b31f4(0x27d)](_0x36ca40){const _0x3a89a5=_0x4b31f4,{unitID:_0x5e4ddc}=_0x36ca40,_0x1e82c5=this[_0x3a89a5(0x1e2)][_0x3a89a5(0x3d6)](_0x5e4ddc)['with'](_0x29d555[_0x3a89a5(0x27e)]),{redoCache:_0x517989}=_0x1e82c5[_0x3a89a5(0x29a)]();if(_0x517989['length']===0x0)return _0x36ca40;let _0x5f3263=_0x54d64a['Tools'][_0x3a89a5(0x3d7)](_0x36ca40[_0x3a89a5(0x410)][0x0]);for(let _0x2529c=0x0;_0x2529c<_0x517989['length'];_0x2529c++){const _0x142d95={'id':_0x3a89a5(0x278),'params':{..._0x517989[_0x2529c]}},_0x2b7da1=this[_0x3a89a5(0x3ed)][_0x3a89a5(0x28e)](_0x5f3263,_0x142d95,!0x1);if(_0x4491aa[_0x3a89a5(0x3da)](_0x2b7da1))throw _0x2b7da1[_0x3a89a5(0x311)];_0x5f3263=_0x2b7da1[_0x3a89a5(0x3e8)];}return{..._0x54d64a[_0x3a89a5(0x1d8)][_0x3a89a5(0x3d7)](_0x36ca40),'mutations':[_0x5f3263]};}[_0x4b31f4(0x381)](_0x106c78){const _0x1ec8d8=_0x4b31f4,{unitID:_0xc1f5aa}=_0x106c78,_0x338884=this[_0x1ec8d8(0x1e2)][_0x1ec8d8(0x3d6)](_0xc1f5aa)['with'](_0x29d555[_0x1ec8d8(0x27e)]),{undoCache:_0x4aaf04,redoCache:_0x34428d}=_0x338884[_0x1ec8d8(0x29a)]();if(_0x4aaf04[_0x1ec8d8(0x2ab)]===0x0||_0x34428d[_0x1ec8d8(0x2ab)]===0x0)return;const _0x57d782=[],_0x434da4=[];let _0x4aa480=_0x54d64a[_0x1ec8d8(0x1d8)][_0x1ec8d8(0x3d7)](_0x106c78[_0x1ec8d8(0x410)][0x0]),_0x3e1f94=_0x54d64a[_0x1ec8d8(0x1d8)][_0x1ec8d8(0x3d7)](_0x106c78['mutations'][0x0]);for(let _0x397b58=_0x4aaf04['length']-0x1;_0x397b58>=0x0;_0x397b58--){const _0x1bc4a6={'id':_0x1ec8d8(0x278),'params':{..._0x4aaf04[_0x397b58]}},_0x36c1b0={'id':_0x1ec8d8(0x278),'params':{..._0x34428d[_0x397b58]}},_0x46ed09=this[_0x1ec8d8(0x3ed)][_0x1ec8d8(0x28e)](_0x4aa480,_0x1bc4a6,!0x1),_0x54536e=this[_0x1ec8d8(0x3ed)][_0x1ec8d8(0x28e)](_0x3e1f94,_0x36c1b0,!0x1);if(_0x4491aa['isTransformMutationFailure'](_0x46ed09))throw _0x46ed09[_0x1ec8d8(0x311)];if(_0x4491aa['isTransformMutationFailure'](_0x54536e))throw _0x54536e[_0x1ec8d8(0x311)];_0x57d782[_0x1ec8d8(0x3d0)](_0x46ed09['m2Prime'][_0x1ec8d8(0x3c8)]),_0x434da4[_0x1ec8d8(0x3d0)](_0x54536e[_0x1ec8d8(0x295)][_0x1ec8d8(0x3c8)]),_0x4aa480=_0x46ed09[_0x1ec8d8(0x3e8)],_0x3e1f94=_0x54536e[_0x1ec8d8(0x3e8)];}_0x338884[_0x1ec8d8(0x2e0)]({'undoCache':_0x57d782,'redoCache':_0x434da4});}[_0x4b31f4(0x392)](_0x22c6ed){const _0x9d79a0=_0x4b31f4,{unitID:_0x4f75a5}=_0x22c6ed,_0x5e733f=this[_0x9d79a0(0x1e2)][_0x9d79a0(0x3d6)](_0x4f75a5)[_0x9d79a0(0x3fc)](_0x29d555['DocIMEInputManagerService']),_0x38da9d=_0x5e733f[_0x9d79a0(0x1cb)]();if(_0x38da9d==null)return;const _0x55e925=[{'id':_0x9d79a0(0x278),'params':{'unitId':_0x22c6ed[_0x9d79a0(0x35f)],'actions':null,'textRanges':[_0x38da9d]}}],_0xbbcc76=this['_transformService'][_0x9d79a0(0x1c9)](_0x22c6ed,_0x55e925);if(!_0x4491aa['isTransformMutationsWithChangesetSuccess'](_0xbbcc76))throw _0xbbcc76['error'];const _0x2d2922=_0xbbcc76[_0x9d79a0(0x295)][0x0][_0x9d79a0(0x3c8)][_0x9d79a0(0x2e3)];Array[_0x9d79a0(0x2a8)](_0x2d2922)&&_0x2d2922[_0x9d79a0(0x2ab)]&&_0x5e733f[_0x9d79a0(0x3ff)](_0x2d2922[0x0]);}};_0x396eec=_0x1ec3a6([_0x5e9f48(0x0,_0x54d64a[_0x4b31f4(0x287)](_0x54d64a[_0x4b31f4(0x317)])),_0x5e9f48(0x1,_0x4491aa[_0x4b31f4(0x3a8)]),_0x5e9f48(0x2,_0x219175[_0x4b31f4(0x3e2)])],_0x396eec);var _0x2a6c4e=Object['getOwnPropertyDescriptor'],_0x44080c=(_0x171ab3,_0x14207a,_0x35b4b3,_0x345f08)=>{const _0x13eced=_0x4b31f4;for(var _0x41b974=_0x345f08>0x1?void 0x0:_0x345f08?_0x2a6c4e(_0x14207a,_0x35b4b3):_0x14207a,_0x32c6fe=_0x171ab3[_0x13eced(0x2ab)]-0x1,_0x1e1174;_0x32c6fe>=0x0;_0x32c6fe--)(_0x1e1174=_0x171ab3[_0x32c6fe])&&(_0x41b974=_0x1e1174(_0x41b974)||_0x41b974);return _0x41b974;},_0x436a47=(_0x42ccf0,_0x36b4b6)=>(_0x47e74b,_0x2f9be9)=>_0x36b4b6(_0x47e74b,_0x2f9be9,_0x42ccf0);let _0x4fe640=class{constructor(_0x2b452e,_0x212cec,_0x3af109){const _0xd0b937=_0x4b31f4;this[_0xd0b937(0x391)]=_0x2b452e,this[_0xd0b937(0x3ed)]=_0x212cec,this[_0xd0b937(0x452)]=_0x3af109;}[_0x4b31f4(0x1e3)](_0x46caf0){const _0x52ded9=_0x4b31f4;this[_0x52ded9(0x398)](_0x46caf0);}['transformRemoteChangeset'](_0x45748e){const _0x3ce565=_0x4b31f4,{unitID:_0x29989d}=_0x45748e,{collaboration:_0x31ba59}=this[_0x3ce565(0x452)][_0x3ce565(0x2f6)](_0x29989d);if(_0x31ba59[_0x3ce565(0x2ab)]===0x0)return _0x45748e;let _0x51737f=_0x54d64a[_0x3ce565(0x1d8)][_0x3ce565(0x3d7)](_0x45748e[_0x3ce565(0x410)][0x0]);for(let _0xa376f8=0x0;_0xa376f8<_0x31ba59[_0x3ce565(0x2ab)];_0xa376f8++){const _0x18e676={'id':_0x3ce565(0x278),'params':{'unitId':_0x31ba59[_0xa376f8][_0x3ce565(0x2d3)],..._0x31ba59[_0xa376f8][_0x3ce565(0x275)]}},_0x32929f=this[_0x3ce565(0x3ed)][_0x3ce565(0x28e)](_0x51737f,_0x18e676,!0x1);if(_0x4491aa[_0x3ce565(0x3da)](_0x32929f))throw _0x32929f['error'];_0x51737f=_0x32929f[_0x3ce565(0x3e8)];}return{..._0x54d64a[_0x3ce565(0x1d8)][_0x3ce565(0x3d7)](_0x45748e),'mutations':[_0x51737f]};}['_transformHistoryAndStateStack'](_0x4f63be){const _0x1cdd30=_0x4b31f4,{unitID:_0x192d19}=_0x4f63be,{history:_0x459b30,collaboration:_0x8c6373}=this[_0x1cdd30(0x452)][_0x1cdd30(0x2f6)](_0x192d19);if(_0x459b30[_0x1cdd30(0x2ab)]===0x0&&_0x8c6373['length']===0x0)return;const _0x5a99d3=[],_0x3ed592=[];let _0x1b0724=_0x54d64a['Tools']['deepClone'](_0x4f63be[_0x1cdd30(0x410)][0x0]),_0xea964=_0x54d64a[_0x1cdd30(0x1d8)]['deepClone'](_0x4f63be[_0x1cdd30(0x410)][0x0]);for(let _0x46d309=_0x459b30['length']-0x1;_0x46d309>=0x0;_0x46d309--){const _0x470800={'id':_0x1cdd30(0x278),'params':{'unitId':_0x459b30[_0x46d309][_0x1cdd30(0x2d3)],..._0x459b30[_0x46d309]['undoState']}},_0x3d70d2={'id':_0x1cdd30(0x278),'params':{'unitId':_0x459b30[_0x46d309][_0x1cdd30(0x2d3)],..._0x459b30[_0x46d309][_0x1cdd30(0x275)]}},_0x586f4a=this[_0x1cdd30(0x3ed)][_0x1cdd30(0x28e)](_0x1b0724,_0x470800,!0x1),_0x590f6c=this[_0x1cdd30(0x3ed)][_0x1cdd30(0x28e)](_0xea964,_0x3d70d2,!0x1);if(_0x4491aa[_0x1cdd30(0x3da)](_0x586f4a))throw _0x586f4a[_0x1cdd30(0x311)];if(_0x4491aa[_0x1cdd30(0x3da)](_0x590f6c))throw _0x590f6c[_0x1cdd30(0x311)];_0x5a99d3[_0x1cdd30(0x3d0)]({..._0x459b30[_0x46d309],'undoState':_0x586f4a[_0x1cdd30(0x295)][_0x1cdd30(0x3c8)],'redoState':_0x590f6c[_0x1cdd30(0x295)]['params']}),_0x1b0724=_0x586f4a[_0x1cdd30(0x3e8)],_0xea964=_0x590f6c[_0x1cdd30(0x3e8)];}_0x1b0724=_0x54d64a[_0x1cdd30(0x1d8)][_0x1cdd30(0x3d7)](_0x4f63be[_0x1cdd30(0x410)][0x0]),_0xea964=_0x54d64a['Tools'][_0x1cdd30(0x3d7)](_0x4f63be[_0x1cdd30(0x410)][0x0]);for(let _0x259c22=_0x8c6373['length']-0x1;_0x259c22>=0x0;_0x259c22--){const _0x528942={'id':_0x1cdd30(0x278),'params':{'unitId':_0x8c6373[_0x259c22]['unitId'],..._0x8c6373[_0x259c22][_0x1cdd30(0x3df)]}},_0x3b80e4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8c6373[_0x259c22][_0x1cdd30(0x2d3)],..._0x8c6373[_0x259c22]['redoState']}},_0x9efe40=this['_transformService'][_0x1cdd30(0x28e)](_0x1b0724,_0x528942,!0x1),_0x545fce=this[_0x1cdd30(0x3ed)][_0x1cdd30(0x28e)](_0xea964,_0x3b80e4,!0x1);if(_0x4491aa[_0x1cdd30(0x3da)](_0x9efe40))throw _0x9efe40[_0x1cdd30(0x311)];if(_0x4491aa[_0x1cdd30(0x3da)](_0x545fce))throw _0x545fce[_0x1cdd30(0x311)];_0x3ed592[_0x1cdd30(0x3d0)]({..._0x8c6373[_0x259c22],'undoState':_0x9efe40['m2Prime']['params'],'redoState':_0x545fce['m2Prime'][_0x1cdd30(0x3c8)]}),_0x1b0724=_0x9efe40['m1Prime'],_0xea964=_0x545fce[_0x1cdd30(0x3e8)];}this['_docStateChangeManagerService']['setStateCache'](_0x192d19,{'history':_0x5a99d3,'collaboration':_0x3ed592});}};_0x4fe640=_0x44080c([_0x436a47(0x0,_0x54d64a['Inject'](_0x54d64a['Injector'])),_0x436a47(0x1,_0x4491aa['ITransformService']),_0x436a47(0x2,_0x54d64a['Inject'](_0x29d555[_0x4b31f4(0x396)]))],_0x4fe640);var _0x2389cd=Object[_0x4b31f4(0x2d8)],_0x18f287=(_0x2ff3f7,_0x4b247f,_0xff9334,_0x214024)=>{const _0x2c0ce2=_0x4b31f4;for(var _0x2f365d=_0x214024>0x1?void 0x0:_0x214024?_0x2389cd(_0x4b247f,_0xff9334):_0x4b247f,_0x384500=_0x2ff3f7[_0x2c0ce2(0x2ab)]-0x1,_0x253142;_0x384500>=0x0;_0x384500--)(_0x253142=_0x2ff3f7[_0x384500])&&(_0x2f365d=_0x253142(_0x2f365d)||_0x2f365d);return _0x2f365d;},_0x1ee845=(_0x74a9c5,_0x223029)=>(_0x20129b,_0x481539)=>_0x223029(_0x20129b,_0x481539,_0x74a9c5);let _0x3ef28f=class{constructor(_0x3aab36,_0x598819){const _0x4c793d=_0x4b31f4;this[_0x4c793d(0x391)]=_0x3aab36,this[_0x4c793d(0x3ed)]=_0x598819;}['transformSelections'](_0xcf4ed5){const _0x339bd0=_0x4b31f4;var _0xcc02de;const _0x154bd2=this[_0x339bd0(0x391)][_0x339bd0(0x363)](_0x12e053[_0x339bd0(0x34e)]),_0x32ef3b=(_0xcc02de=_0x154bd2['getDocRanges']())!=null?_0xcc02de:[];if(_0x32ef3b['length']===0x0)return;const _0x570d3d=_0xcf4ed5['unitID'],_0x21f550=[{'id':_0x339bd0(0x278),'params':{'unitId':_0x570d3d,'actions':null,'textRanges':_0x32ef3b}}],_0x19cf57=this[_0x339bd0(0x3ed)][_0x339bd0(0x1c9)](_0xcf4ed5,_0x21f550);if(!_0x4491aa[_0x339bd0(0x27a)](_0x19cf57))throw _0x19cf57[_0x339bd0(0x311)];const _0x37576a=_0x19cf57['m2Prime'][0x0][_0x339bd0(0x3c8)][_0x339bd0(0x2e3)];Array['isArray'](_0x37576a)&&_0x37576a[_0x339bd0(0x2ab)]&&_0x154bd2['replaceDocRanges'](_0x37576a,{'unitId':_0x570d3d,'subUnitId':_0x570d3d},!0x1);}};_0x3ef28f=_0x18f287([_0x1ee845(0x0,_0x54d64a[_0x4b31f4(0x287)](_0x54d64a[_0x4b31f4(0x317)])),_0x1ee845(0x1,_0x4491aa[_0x4b31f4(0x3a8)])],_0x3ef28f);var _0xdccc48=Object['getOwnPropertyDescriptor'],_0x4ec122=(_0x16e4fa,_0x1e6d1e,_0x3dada5,_0x11ca70)=>{const _0x4a02ac=_0x4b31f4;for(var _0x498bbf=_0x11ca70>0x1?void 0x0:_0x11ca70?_0xdccc48(_0x1e6d1e,_0x3dada5):_0x1e6d1e,_0x126d98=_0x16e4fa[_0x4a02ac(0x2ab)]-0x1,_0x25345d;_0x126d98>=0x0;_0x126d98--)(_0x25345d=_0x16e4fa[_0x126d98])&&(_0x498bbf=_0x25345d(_0x498bbf)||_0x498bbf);return _0x498bbf;},_0x5879a=(_0x3dfdd6,_0x158eab)=>(_0x2e3946,_0x3fcea8)=>_0x158eab(_0x2e3946,_0x3fcea8,_0x3dfdd6);let _0x235f8f=class extends _0x54d64a['Disposable']{constructor(_0x3e6ba3,_0x165374,_0x5da012,_0x2a8ebd,_0x2219a6,_0x234337,_0x35b969,_0x54c221){const _0x24d11b=_0x4b31f4;super(),_0xc8c098(this,_0x24d11b(0x1f7),new _0x59ff1b[(_0x24d11b(0x305))](_0x295c2d[_0x24d11b(0x258)][_0x24d11b(0x443)])),(this[_0x24d11b(0x452)]=_0x3e6ba3,this['_collaborationController']=_0x165374,this[_0x24d11b(0x2f2)]=_0x5da012,this[_0x24d11b(0x28d)]=_0x2a8ebd,this[_0x24d11b(0x282)]=_0x2219a6,this[_0x24d11b(0x2fe)]=_0x234337,this[_0x24d11b(0x2f3)]=_0x35b969,this[_0x24d11b(0x40f)]=_0x54c221,this[_0x24d11b(0x20a)]());}[_0x4b31f4(0x20a)](){const _0x30cf63=_0x4b31f4;this[_0x30cf63(0x204)](this[_0x30cf63(0x273)][_0x30cf63(0x30e)]['subscribe'](_0x3f0ebf=>{const _0x1815f9=_0x30cf63,_0x45885f=this['_docStateChangeManagerService'][_0x1815f9(0x2b7)][_0x1815f9(0x2fd)](_0x47662b=>{const _0xa34d56=_0x1815f9;if(_0x47662b==null)return;const {unitId:_0x354b7e,redoState:_0x1e935e,commandId:_0x38851f}=_0x47662b;if(_0x354b7e!==_0x3f0ebf[_0xa34d56(0x35f)])return;const _0x4e248e={'id':_0x38851f,'type':_0x54d64a['CommandType'][_0xa34d56(0x42a)],'params':{'unitId':_0x354b7e,'actions':_0x1e935e[_0xa34d56(0x1dc)],'textRanges':null}};_0x3f0ebf['onLocalMutation'](_0x4e248e);});if(_0x3f0ebf[_0x1815f9(0x204)](_0x45885f),_0x3f0ebf instanceof _0x295c2d[_0x1815f9(0x2f9)]){const _0x155ca0={'onTransformIME':_0xc3c032=>this[_0x1815f9(0x2f2)][_0x1815f9(0x366)](_0xc3c032),'onTransformState':_0xfabdab=>this[_0x1815f9(0x28d)][_0x1815f9(0x1e3)](_0xfabdab),'onTransformSelections':_0x33d5a1=>this[_0x1815f9(0x282)][_0x1815f9(0x36a)](_0x33d5a1),'onSyncEditingCollabCursor':_0x15aa67=>this[_0x1815f9(0x2fe)]['syncEditingCollabCursor'](_0x15aa67),'onTransformRemoteChangesetByIMECache':_0x59e64f=>this[_0x1815f9(0x2f2)]['transformRemoteChangeset'](_0x59e64f),'onTransformRemoteChangesetByStateCache':_0x5a72db=>this[_0x1815f9(0x28d)][_0x1815f9(0x27d)](_0x5a72db)};_0x3f0ebf['addHandlerCallback'](_0x155ca0);}}));}};_0x235f8f=_0x4ec122([_0x5879a(0x0,_0x54d64a['Inject'](_0x29d555[_0x4b31f4(0x396)])),_0x5879a(0x1,_0x54d64a['Inject'](_0x295c2d[_0x4b31f4(0x21c)])),_0x5879a(0x2,_0x54d64a[_0x4b31f4(0x287)](_0x396eec)),_0x5879a(0x3,_0x54d64a['Inject'](_0x4fe640)),_0x5879a(0x4,_0x54d64a[_0x4b31f4(0x287)](_0x3ef28f)),_0x5879a(0x5,_0x54d64a[_0x4b31f4(0x287)](_0x116bb1)),_0x5879a(0x6,_0x22816c['IMessageService']),_0x5879a(0x7,_0x54d64a['Inject'](_0x54d64a[_0x4b31f4(0x274)]))],_0x235f8f);var _0x267b16=Object[_0x4b31f4(0x2d8)],_0x57190c=(_0x2bb4eb,_0x268d33,_0x16c492,_0x51fd61)=>{for(var _0xa9b8dd=_0x51fd61>0x1?void 0x0:_0x51fd61?_0x267b16(_0x268d33,_0x16c492):_0x268d33,_0x552210=_0x2bb4eb['length']-0x1,_0x503f63;_0x552210>=0x0;_0x552210--)(_0x503f63=_0x2bb4eb[_0x552210])&&(_0xa9b8dd=_0x503f63(_0xa9b8dd)||_0xa9b8dd);return _0xa9b8dd;},_0x2390bf=(_0x3fe5d5,_0xcaf6bb)=>(_0x1e10aa,_0xc93ab1)=>_0xcaf6bb(_0x1e10aa,_0xc93ab1,_0x3fe5d5);let _0x503eec=class extends _0x54d64a[_0x4b31f4(0x3be)]{constructor(_0x35fce0,_0x1142a6,_0x121a3d){const _0x1606d1=_0x4b31f4;super(),_0xc8c098(this,'_cachedData',new Map()),_0xc8c098(this,_0x1606d1(0x40b),new Map()),_0xc8c098(this,'_disabled',!0x1),(this[_0x1606d1(0x2f0)]=_0x35fce0,this[_0x1606d1(0x2a6)]=_0x1142a6,this['_revisionService']=_0x121a3d);}[_0x4b31f4(0x2ea)](){const _0x2da058=_0x4b31f4;this[_0x2da058(0x220)]=!0x0;}[_0x4b31f4(0x444)](){const _0x638272=_0x4b31f4;this[_0x638272(0x220)]=!0x1;}get[_0x4b31f4(0x214)](){const _0x3ec91c=_0x4b31f4;return this[_0x3ec91c(0x40b)];}[_0x4b31f4(0x32d)](){const _0x5d7df4=_0x4b31f4;this['exhaustSavingTask']()[_0x5d7df4(0x38f)](()=>super[_0x5d7df4(0x32d)]());}async[_0x4b31f4(0x347)](_0x1d9718){const _0x2aa2f3=_0x4b31f4;return this[_0x2aa2f3(0x220)]?null:this['_localStorageService'][_0x2aa2f3(0x342)](_0x295c2d[_0x2aa2f3(0x2f7)](_0x1d9718));}async[_0x4b31f4(0x3af)](_0x2fc3cd,_0xf5798b){const _0x47ca07=_0x4b31f4;return!!this[_0x47ca07(0x2a6)][_0x47ca07(0x27c)](_0x2fc3cd,_0xf5798b);}[_0x4b31f4(0x34c)](_0x36210d,_0x51136c,_0x35f89f,_0x402148){const _0x1fa694=_0x4b31f4,_0x3f9a47=this[_0x1fa694(0x42f)][_0x1fa694(0x3a6)](_0x36210d);this[_0x1fa694(0x373)][_0x1fa694(0x314)](_0x36210d,{'unitID':_0x36210d,'type':_0x51136c,'awaitingChangeset':_0x35f89f,'mutations':_0x402148,'rev':_0x3f9a47}),this[_0x1fa694(0x40b)]['has'](_0x36210d)||this[_0x1fa694(0x1f4)](_0x36210d);}['_scheduleSaving'](_0x1b3946){const _0x1c92d9=_0x4b31f4,_0x325ff1=this[_0x1c92d9(0x319)]();_0x325ff1===0x0?this[_0x1c92d9(0x3a9)](_0x1b3946):this[_0x1c92d9(0x40b)]['set'](_0x1b3946,setTimeout(()=>this[_0x1c92d9(0x3a9)](_0x1b3946),_0x325ff1));}['_getSaveTimeout'](){const _0x1567d0=_0x4b31f4;var _0x225c71;return(_0x225c71=this[_0x1567d0(0x2f0)][_0x1567d0(0x268)](_0x295c2d['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x225c71:_0x295c2d[_0x1567d0(0x1f8)];}[_0x4b31f4(0x3a9)](_0x54d7b2){const _0x51e3ae=_0x4b31f4,_0x263829=this[_0x51e3ae(0x40b)]['get'](_0x54d7b2);return _0x263829!==void 0x0&&window[_0x51e3ae(0x370)](_0x263829),this[_0x51e3ae(0x2a6)][_0x51e3ae(0x27c)](_0x295c2d[_0x51e3ae(0x2f7)](_0x54d7b2),this['_cachedData']['get'](_0x54d7b2))[_0x51e3ae(0x38f)](()=>this['_saveTaskMap'][_0x51e3ae(0x22f)](_0x54d7b2));}async[_0x4b31f4(0x3c2)](){const _0x898d26=_0x4b31f4,_0x5194e8=[];this['_saveTaskMap']['forEach']((_0x56d0a6,_0x17ef2f)=>{const _0x49783d=_0x14a2;window[_0x49783d(0x370)](_0x56d0a6),_0x5194e8[_0x49783d(0x3e6)](this['_saveCache'](_0x17ef2f)['then'](()=>{const _0x3e259a=_0x49783d;this[_0x3e259a(0x40b)][_0x3e259a(0x22f)](_0x17ef2f);}));}),await Promise[_0x898d26(0x2b5)](_0x5194e8);}};_0x503eec=_0x57190c([_0x2390bf(0x0,_0x54d64a[_0x4b31f4(0x455)]),_0x2390bf(0x1,_0x54d64a['ILocalStorageService']),_0x2390bf(0x2,_0x54d64a[_0x4b31f4(0x287)](_0x4491aa[_0x4b31f4(0x3b1)]))],_0x503eec);class _0x3903b3 extends _0x54d64a[_0x4b31f4(0x42b)]{constructor(){const _0xab9f5a=_0x4b31f4;super(),_0xc8c098(this,_0xab9f5a(0x1e7)),this[_0xab9f5a(0x1e7)]=_0x59ff1b['fromEvent'](window,_0xab9f5a(0x26f))[_0xab9f5a(0x3a7)](_0x59ff1b['takeUntil'](this['dispose$']),_0x59ff1b[_0xab9f5a(0x2d2)](0x1),_0x59ff1b[_0xab9f5a(0x38e)](void 0x0));}[_0x4b31f4(0x1d5)](_0x208464,_0x52355e,_0x49141e=!0x1){const _0x4a4e4e=_0x4b31f4,_0x342f77=new URL(window[_0x4a4e4e(0x272)][_0x4a4e4e(0x25b)]);_0x342f77[_0x4a4e4e(0x1eb)][_0x4a4e4e(0x314)](_0x208464,_0x52355e),_0x49141e?window[_0x4a4e4e(0x1e5)]['replaceState']('','',_0x342f77[_0x4a4e4e(0x405)]()):window[_0x4a4e4e(0x1e5)][_0x4a4e4e(0x3d8)]('','',_0x342f77[_0x4a4e4e(0x405)]());}['removeParam'](_0x1b018f,_0x509c8a=!0x1){const _0x1e0959=_0x4b31f4,_0x1dd07e=new URL(window['location'][_0x1e0959(0x25b)]);_0x1dd07e['searchParams'][_0x1e0959(0x22f)](_0x1b018f),_0x509c8a?window[_0x1e0959(0x1e5)][_0x1e0959(0x39a)]('','',_0x1dd07e[_0x1e0959(0x405)]()):window[_0x1e0959(0x1e5)][_0x1e0959(0x3d8)]('','',_0x1dd07e[_0x1e0959(0x405)]());}[_0x4b31f4(0x2ce)](_0x3cd336){const _0x295377=_0x4b31f4;var _0x5eaad6;return(_0x5eaad6=new URL(window[_0x295377(0x272)][_0x295377(0x25b)])[_0x295377(0x1eb)][_0x295377(0x363)](_0x3cd336))!=null?_0x5eaad6:void 0x0;}}var _0x153b04=Object[_0x4b31f4(0x30c)],_0x58d40e=Object[_0x4b31f4(0x2d8)],_0x42aaf2=(_0xa57590,_0x2b3e9d,_0x42a25d)=>_0x2b3e9d in _0xa57590?_0x153b04(_0xa57590,_0x2b3e9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42a25d}):_0xa57590[_0x2b3e9d]=_0x42a25d,_0x10c603=(_0x204785,_0x4c7144,_0x3efd7a,_0x40f45c)=>{const _0x162187=_0x4b31f4;for(var _0x596dfb=_0x40f45c>0x1?void 0x0:_0x40f45c?_0x58d40e(_0x4c7144,_0x3efd7a):_0x4c7144,_0x936b89=_0x204785[_0x162187(0x2ab)]-0x1,_0x185dbd;_0x936b89>=0x0;_0x936b89--)(_0x185dbd=_0x204785[_0x936b89])&&(_0x596dfb=_0x185dbd(_0x596dfb)||_0x596dfb);return _0x596dfb;},_0x2af025=(_0x18fc03,_0x12f780)=>(_0x4bf6a8,_0x4aaa2c)=>_0x12f780(_0x4bf6a8,_0x4aaa2c,_0x18fc03),_0x1bb107=(_0x15e7fe,_0x31c6b6,_0x16ff1d)=>_0x42aaf2(_0x15e7fe,_0x31c6b6+'',_0x16ff1d);const _0x3d6866='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1bb602[_0x4b31f4(0x411)]=class extends _0x54d64a['Plugin']{constructor(_0x48824c=_0x281e7f,_0x291731,_0x165d62,_0x140b9c){const _0x9f2fd0=_0x4b31f4;super(),this[_0x9f2fd0(0x38c)]=_0x48824c,this[_0x9f2fd0(0x1e2)]=_0x291731,this[_0x9f2fd0(0x391)]=_0x165d62,this[_0x9f2fd0(0x2f0)]=_0x140b9c;const {..._0xc6a1db}=_0x54d64a['merge']({},_0x281e7f,this[_0x9f2fd0(0x38c)]);this[_0x9f2fd0(0x2f0)][_0x9f2fd0(0x3bf)](_0x4a13f3,_0xc6a1db);}[_0x4b31f4(0x2fc)](){const _0x158448=_0x4b31f4;this[_0x158448(0x2c6)](),this[_0x158448(0x24a)]();}[_0x4b31f4(0x3cf)](){this['_registerRenderDependencies']();}[_0x4b31f4(0x2c6)](){const _0x250d82=_0x4b31f4;var _0x5c0bfc;const _0x1b43b5=[[_0x5f06d2],[_0x3ef28f],[_0x396eec],[_0x4fe640],[_0x116bb1],[_0x5087f2,{'useClass':_0x3903b3}],[_0x49f544[_0x250d82(0x40d)],{'useClass':_0x49f544[_0x250d82(0x3b9)]}],[_0x295c2d[_0x250d82(0x1f1)],{'useClass':_0x503eec}],[_0x1bb602[_0x250d82(0x219)]],[_0x235f8f],[_0x53f29f],[_0x5227f6],[_0x12ae5b],[_0x1bb602[_0x250d82(0x37f)]]];_0x54d64a['registerDependencies'](this[_0x250d82(0x391)],_0x54d64a[_0x250d82(0x445)](_0x1b43b5,(_0x5c0bfc=this[_0x250d82(0x38c)])==null?void 0x0:_0x5c0bfc[_0x250d82(0x228)]));}[_0x4b31f4(0x34d)](){const _0x34b619=_0x4b31f4;this[_0x34b619(0x204)](this[_0x34b619(0x1e2)][_0x34b619(0x2fa)](_0x54d64a[_0x34b619(0x1fd)][_0x34b619(0x298)],[_0x5227cd])),this[_0x34b619(0x204)](this[_0x34b619(0x1e2)][_0x34b619(0x2fa)](_0x54d64a[_0x34b619(0x1fd)][_0x34b619(0x41a)],[_0x16b5fd]));}[_0x4b31f4(0x24a)](){const _0x27c24c=_0x4b31f4;_0x54d64a[_0x27c24c(0x2aa)](this['_injector'],[[_0x5227f6],[_0x1bb602[_0x27c24c(0x219)]],[_0x235f8f],[_0x53f29f],[_0x1bb602[_0x27c24c(0x37f)]]]);}},_0x1bb107(_0x1bb602['UniverCollaborationClientUIPlugin'],_0x4b31f4(0x39e),_0x3d6866),_0x1bb602[_0x4b31f4(0x411)]=_0x10c603([_0x54d64a[_0x4b31f4(0x36f)](_0x295c2d[_0x4b31f4(0x20e)]),_0x2af025(0x1,_0x219175[_0x4b31f4(0x3e2)]),_0x2af025(0x2,_0x54d64a['Inject'](_0x54d64a[_0x4b31f4(0x317)])),_0x2af025(0x3,_0x54d64a[_0x4b31f4(0x455)])],_0x1bb602['UniverCollaborationClientUIPlugin']);var _0x337e84=Object[_0x4b31f4(0x2d8)],_0x2b8219=(_0x48832b,_0x5ee7b3,_0x30869e,_0xc37a)=>{const _0x3e339f=_0x4b31f4;for(var _0x1ddeab=_0xc37a>0x1?void 0x0:_0xc37a?_0x337e84(_0x5ee7b3,_0x30869e):_0x5ee7b3,_0x51267f=_0x48832b[_0x3e339f(0x2ab)]-0x1,_0x389516;_0x51267f>=0x0;_0x51267f--)(_0x389516=_0x48832b[_0x51267f])&&(_0x1ddeab=_0x389516(_0x1ddeab)||_0x1ddeab);return _0x1ddeab;},_0x2128ce=(_0x117031,_0x56b581)=>(_0x45ccbf,_0x2d7a16)=>_0x56b581(_0x45ccbf,_0x2d7a16,_0x117031);_0x1bb602[_0x4b31f4(0x421)]=class extends _0x295c2d['CollaborationSocketService']{constructor(_0x3e7f99,_0x418e5a,_0x242a05,_0x2cac6f,_0x1ece7){super(_0x3e7f99,_0x418e5a,_0x242a05,_0x2cac6f,_0x1ece7);}async['createSocket'](_0x67bd20){const _0x2666fc=_0x4b31f4,_0x4ff142=await this[_0x2666fc(0x1f5)](),_0x6012e3=this[_0x2666fc(0x435)](_0x67bd20,_0x4ff142);return this[_0x2666fc(0x3f4)](_0x6012e3);}[_0x4b31f4(0x435)](_0x5184d5,_0x4495f5){const _0x2d324e=_0x4b31f4,_0x5bb711=typeof window>'u'?new URL(_0x5184d5):new URL(_0x5184d5,window[_0x2d324e(0x272)][_0x2d324e(0x32b)]);_0x5bb711[_0x2d324e(0x1eb)]['set'](_0x2d324e(0x320),_0x4495f5);const _0x457cfe=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d324e(0x272)]['search']);return _0x457cfe[_0x2d324e(0x363)](_0x2d324e(0x33d))&&_0x5bb711[_0x2d324e(0x1eb)][_0x2d324e(0x314)]('runId',_0x457cfe[_0x2d324e(0x363)](_0x2d324e(0x33d))),_0x5bb711[_0x2d324e(0x405)]();}async[_0x4b31f4(0x1f5)](){const _0x4b39ff=_0x4b31f4;var _0xba12f6,_0x512b1b,_0x3fe850;const _0x1a393d=this[_0x4b39ff(0x2f0)][_0x4b39ff(0x268)](_0x295c2d[_0x4b39ff(0x3a3)]),_0x373362=(_0xba12f6=_0x1a393d==null?void 0x0:_0x1a393d[_0x4b39ff(0x2c5)])!=null?_0xba12f6:_0x295c2d['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3fe850=(_0x512b1b=(await this[_0x4b39ff(0x412)][_0x4b39ff(0x363)](_0x373362,{'headers':{'Content-Type':'application/json'}}))[_0x4b39ff(0x230)])==null?void 0x0:_0x512b1b[_0x4b39ff(0x3f8)])!=null?_0x3fe850:'';}},_0x1bb602[_0x4b31f4(0x421)]=_0x2b8219([_0x2128ce(0x0,_0x54d64a[_0x4b31f4(0x287)](_0x54d64a[_0x4b31f4(0x317)])),_0x2128ce(0x1,_0x54d64a[_0x4b31f4(0x287)](_0x49f544[_0x4b31f4(0x233)])),_0x2128ce(0x2,_0x54d64a[_0x4b31f4(0x455)]),_0x2128ce(0x3,_0x54d64a[_0x4b31f4(0x1c7)]),_0x2128ce(0x4,_0x4491aa[_0x4b31f4(0x44f)])],_0x1bb602[_0x4b31f4(0x421)]);const _0x3cf3ae=0x7530,_0x1f8607=_0x4b31f4(0x2d7);class _0x25760f extends _0x54d64a[_0x4b31f4(0x3be)]{constructor(){const _0x2a5de8=_0x4b31f4;super(),_0xc8c098(this,_0x2a5de8(0x400),_0x54d64a['generateRandomId']()),_0xc8c098(this,'_selfUnitIDs',new Set()),_0xc8c098(this,_0x2a5de8(0x203),new Map()),_0xc8c098(this,_0x2a5de8(0x281),null),_0xc8c098(this,'_clearOtherTimers',new Map()),_0xc8c098(this,_0x2a5de8(0x2b0),new Map()),this[_0x2a5de8(0x451)]();}['dispose'](){const _0x377851=_0x4b31f4;super[_0x377851(0x32d)](),this[_0x377851(0x44c)][_0x377851(0x377)]((_0x4ae077,_0x24675b)=>this[_0x377851(0x407)](_0x24675b)),this[_0x377851(0x281)]&&window['clearInterval'](this[_0x377851(0x281)]);}[_0x4b31f4(0x250)](_0xf74171){const _0x13baea=_0x4b31f4;return this[_0x13baea(0x22e)](_0xf74171)[_0x13baea(0x3a7)](_0x59ff1b[_0x13baea(0x3e7)]());}[_0x4b31f4(0x251)](_0x482361){const _0x432836=_0x4b31f4;this[_0x432836(0x3ba)][_0x432836(0x1e4)]===0x0&&this['_scheduleHeartbeat'](),this[_0x432836(0x3ba)][_0x432836(0x353)](_0x482361),this['_send']({'type':0x0,'memberID':this[_0x432836(0x400)],'unitIDs':[_0x482361],'isForwarded':!0x1});}[_0x4b31f4(0x2f8)](_0x4b600f){const _0x3cb520=_0x4b31f4;this[_0x3cb520(0x3ba)]['delete'](_0x4b600f),this[_0x3cb520(0x3ba)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x3cb520(0x36e)](this[_0x3cb520(0x281)]);}[_0x4b31f4(0x451)](){const _0x36eb5c=_0x4b31f4;this[_0x36eb5c(0x204)](_0x54d64a[_0x36eb5c(0x32e)](_0x59ff1b[_0x36eb5c(0x2d9)](window,_0x36eb5c(0x29d))[_0x36eb5c(0x2fd)](_0x23a624=>{const _0x41a380=_0x36eb5c;if(_0x23a624[_0x41a380(0x39f)]!==_0x1f8607||!_0x23a624[_0x41a380(0x31c)])return;const _0x4ec037=JSON[_0x41a380(0x28f)](_0x23a624[_0x41a380(0x31c)]);this[_0x41a380(0x1f2)](_0x4ec037);}))),window['addEventListener']('unload',()=>this[_0x36eb5c(0x3b3)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x36eb5c(0x3ba)])}));}[_0x4b31f4(0x1f2)](_0x682aad){const _0x2f6a20=_0x4b31f4;switch(_0x682aad['type']){case 0x0:this[_0x2f6a20(0x211)](_0x682aad);break;case 0x1:this[_0x2f6a20(0x28b)](_0x682aad);break;case 0x2:this[_0x2f6a20(0x43d)](_0x682aad);break;}}['_handleJoinEvent'](_0x668af5){const _0xf504fe=_0x4b31f4,{unitIDs:_0x4a0bad,memberID:_0x1ed0e9,isForwarded:_0x3a094c}=_0x668af5;_0x4a0bad[_0xf504fe(0x377)](_0x91a679=>{const _0x20eb9f=_0xf504fe;if(!_0x3a094c&&this[_0x20eb9f(0x203)]['has'](_0x91a679)&&this[_0x20eb9f(0x22e)](_0x91a679)['next'](_0x295c2d['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x20eb9f(0x331)](_0x91a679)||!this[_0x20eb9f(0x203)][_0x20eb9f(0x363)](_0x91a679)[_0x20eb9f(0x331)](_0x1ed0e9)){const _0x14911f=this[_0x20eb9f(0x203)][_0x20eb9f(0x363)](_0x91a679)||new Set();_0x14911f[_0x20eb9f(0x353)](_0x1ed0e9),this['_unitOnClients'][_0x20eb9f(0x314)](_0x91a679,_0x14911f),this[_0x20eb9f(0x259)](_0x1ed0e9);}}),_0x3a094c||this[_0xf504fe(0x3b3)]({'type':0x0,'memberID':this[_0xf504fe(0x400)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4b31f4(0x259)](_0x5bde26){const _0x572a8c=_0x4b31f4;this[_0x572a8c(0x407)](_0x5bde26);const _0x3eae5e=window[_0x572a8c(0x266)](()=>{const _0x363d52=_0x572a8c;this[_0x363d52(0x203)][_0x363d52(0x377)](_0x208557=>{const _0xfd2802=_0x363d52;_0x208557[_0xfd2802(0x22f)](_0x5bde26);});},_0x3cf3ae*0x2);this[_0x572a8c(0x44c)]['set'](_0x5bde26,_0x3eae5e);}[_0x4b31f4(0x407)](_0x42f0a8){const _0x196896=_0x4b31f4;if(this[_0x196896(0x44c)][_0x196896(0x331)](_0x42f0a8)){const _0x13639e=this[_0x196896(0x44c)][_0x196896(0x363)](_0x42f0a8);_0x13639e&&window[_0x196896(0x370)](_0x13639e),this[_0x196896(0x44c)][_0x196896(0x314)](_0x42f0a8,null);}}[_0x4b31f4(0x28b)](_0x518e9f){const _0x4ab299=_0x4b31f4,{memberID:_0x4243d5,unitIDs:_0x41d4dd}=_0x518e9f;_0x41d4dd[_0x4ab299(0x377)](_0x2c6d09=>{const _0x5fd38e=_0x4ab299;var _0x18781b;const _0x48fa25=this[_0x5fd38e(0x203)][_0x5fd38e(0x363)](_0x2c6d09);_0x48fa25&&(_0x48fa25['delete'](_0x4243d5),(_0x18781b=this['_ensureSubject'](_0x2c6d09))==null||_0x18781b[_0x5fd38e(0x222)](_0x48fa25[_0x5fd38e(0x1e4)]===0x0?_0x295c2d['UnitStatus'][_0x5fd38e(0x24d)]:_0x295c2d[_0x5fd38e(0x2ec)][_0x5fd38e(0x29f)]));}),this[_0x4ab299(0x407)](_0x4243d5);}[_0x4b31f4(0x43d)](_0x23292c){const _0x4a63d4=_0x4b31f4;this[_0x4a63d4(0x259)](_0x23292c[_0x4a63d4(0x378)]);}[_0x4b31f4(0x3b3)](_0x5a2fa0){const _0x48d4dc=_0x4b31f4;localStorage[_0x48d4dc(0x27c)](_0x1f8607,JSON[_0x48d4dc(0x292)](_0x5a2fa0));}[_0x4b31f4(0x3cc)](){const _0x3fed0a=_0x4b31f4;this[_0x3fed0a(0x281)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3cf3ae);}[_0x4b31f4(0x22e)](_0x407d57){const _0x30e64c=_0x4b31f4;return this[_0x30e64c(0x2b0)][_0x30e64c(0x331)](_0x407d57)||this[_0x30e64c(0x2b0)]['set'](_0x407d57,new _0x59ff1b[(_0x30e64c(0x305))](_0x295c2d[_0x30e64c(0x2ec)][_0x30e64c(0x24d)])),this[_0x30e64c(0x2b0)][_0x30e64c(0x363)](_0x407d57);}}var _0x21b470=(_0x19d4e4=>(_0x19d4e4[_0x19d4e4['UNDEFINED']=0x0]=_0x4b31f4(0x393),_0x19d4e4[_0x19d4e4['OK']=0x1]='OK',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x2fb)]=0x2]=_0x4b31f4(0x2fb),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x299)]=0x3]=_0x4b31f4(0x299),_0x19d4e4[_0x19d4e4['NOT_FOUND']=0x4]=_0x4b31f4(0x25e),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x1c8)]=0x5]=_0x4b31f4(0x1c8),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x2b2)]=0x6]=_0x4b31f4(0x2b2),_0x19d4e4[_0x19d4e4['INVALID_ARGUMENT']=0x7]=_0x4b31f4(0x290),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x3a5)]=0x8]=_0x4b31f4(0x3a5),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x22d)]=0x9]=_0x4b31f4(0x22d),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x3e9)]=0xa]=_0x4b31f4(0x3e9),_0x19d4e4[_0x19d4e4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4b31f4(0x242),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x1cc)]=0x1771]=_0x4b31f4(0x1cc),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x376)]=0x1772]=_0x4b31f4(0x376),_0x19d4e4[_0x19d4e4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x1d1)]=0x1b59]=_0x4b31f4(0x1d1),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x2e4)]=0x1b5a]=_0x4b31f4(0x2e4),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x344)]=0x1b5b]=_0x4b31f4(0x344),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x2c0)]=0x1b5c]=_0x4b31f4(0x2c0),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x446)]=0x1b5d]='APPLY_DUPLICATED',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x2b9)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x43a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x238)]=0x232a]=_0x4b31f4(0x238),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x2d6)]=0x232b]=_0x4b31f4(0x2d6),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x439)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x244)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x229)]=0x2711]=_0x4b31f4(0x229),_0x19d4e4[_0x19d4e4['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4b31f4(0x39d),_0x19d4e4[_0x19d4e4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4b31f4(0x3c1),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x419)]=0x2714]=_0x4b31f4(0x419),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x323)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x1df)]=0x271b]=_0x4b31f4(0x1df),_0x19d4e4[_0x19d4e4['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x2d5)]=0x271d]=_0x4b31f4(0x2d5),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x1c2)]=0x271e]=_0x4b31f4(0x1c2),_0x19d4e4[_0x19d4e4['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x218)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x1fe)]=0x2ee1]=_0x4b31f4(0x1fe),_0x19d4e4[_0x19d4e4['INVALID_INVITE_CODE']=0x2ee2]=_0x4b31f4(0x20c),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x35d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x19d4e4[_0x19d4e4['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x19d4e4[_0x19d4e4[_0x4b31f4(0x1ce)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x19d4e4[_0x19d4e4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4b31f4(0x2a7),_0x19d4e4[_0x19d4e4['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4b31f4(0x406),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x348)]=0x32cb]=_0x4b31f4(0x348),_0x19d4e4[_0x19d4e4[_0x4b31f4(0x3bc)]=-0x1]='UNRECOGNIZED',_0x19d4e4))(_0x21b470||{}),_0x1c7947=Object[_0x4b31f4(0x2d8)],_0x110af3=(_0x300bd1,_0x5edd11,_0x49743b,_0x25d4b8)=>{const _0x51b2bd=_0x4b31f4;for(var _0x37c279=_0x25d4b8>0x1?void 0x0:_0x25d4b8?_0x1c7947(_0x5edd11,_0x49743b):_0x5edd11,_0x1d1b23=_0x300bd1[_0x51b2bd(0x2ab)]-0x1,_0x4be38a;_0x1d1b23>=0x0;_0x1d1b23--)(_0x4be38a=_0x300bd1[_0x1d1b23])&&(_0x37c279=_0x4be38a(_0x37c279)||_0x37c279);return _0x37c279;},_0x20c1b0=(_0xc20d67,_0xd519da)=>(_0x110a4c,_0x1f4b35)=>_0xd519da(_0x110a4c,_0x1f4b35,_0xc20d67);_0x1bb602[_0x4b31f4(0x434)]=class extends _0x54d64a[_0x4b31f4(0x3be)]{constructor(_0x246be5,_0x4fb7f0,_0x457a00){const _0x41f945=_0x4b31f4;super(),this[_0x41f945(0x304)]=_0x246be5,this[_0x41f945(0x412)]=_0x4fb7f0,this[_0x41f945(0x2f0)]=_0x457a00;}async[_0x4b31f4(0x3f6)](_0x108bc6,_0x5540cb,_0x47689d,..._0x1b80b1){const _0x44589d=_0x4b31f4;var _0x12dfcc,_0x43deb4,_0x195c2e,_0x7d561;const _0x41ed71=this[_0x44589d(0x304)][_0x44589d(0x415)]();if(!_0x41ed71)throw new Error(_0x44589d(0x252));const _0x596f67=((_0x12dfcc=this['_configService']['getConfig'](_0x295c2d['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x12dfcc:_0x295c2d[_0x44589d(0x269)])+'/'+_0x108bc6+_0x44589d(0x3f3)+_0x5540cb,_0x4a6386=new URL(window[_0x44589d(0x272)][_0x44589d(0x25b)]),_0x29d073={'scriptId':_0x108bc6,'runId':(_0x43deb4=_0x4a6386[_0x44589d(0x1eb)]['get'](_0x44589d(0x33d)))!=null?_0x43deb4:'','function':_0x5540cb,'unitId':_0x41ed71['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x1b80b1),'invokeId':(_0x195c2e=_0x47689d['invokeId'])!=null?_0x195c2e:'','executionId':(_0x7d561=_0x47689d[_0x44589d(0x37e)])!=null?_0x7d561:''};try{const _0x36eb91=await this[_0x44589d(0x412)]['post'](_0x596f67,{'body':_0x29d073});return _0x36eb91[_0x44589d(0x230)]['error']&&_0x36eb91[_0x44589d(0x230)]['error'][_0x44589d(0x263)]!==_0x21b470['OK']?_0x44589d(0x200):_0x36eb91[_0x44589d(0x230)][_0x44589d(0x321)];}catch{return _0x44589d(0x200);}}},_0x1bb602[_0x4b31f4(0x434)]=_0x110af3([_0x20c1b0(0x0,_0x54d64a[_0x4b31f4(0x26b)]),_0x20c1b0(0x1,_0x54d64a[_0x4b31f4(0x287)](_0x49f544[_0x4b31f4(0x233)])),_0x20c1b0(0x2,_0x54d64a[_0x4b31f4(0x455)])],_0x1bb602[_0x4b31f4(0x434)]),_0x1bb602[_0x4b31f4(0x38b)]=_0x28d069,_0x1bb602[_0x4b31f4(0x23a)]=_0x5087f2,_0x1bb602['SheetCollabCursorShape']=_0x3aa33d,_0x1bb602[_0x4b31f4(0x33a)]=_0x25760f,_0x1bb602['WebURLService']=_0x3903b3,Object[_0x4b31f4(0x30c)](_0x1bb602,Symbol[_0x4b31f4(0x3f5)],{'value':'Module'});}));function _0x14a2(_0x49eac2,_0x4da116){const _0x10b06a=_0x10b0();return _0x14a2=function(_0x14a239,_0xee5c64){_0x14a239=_0x14a239-0x1c1;let _0x50848a=_0x10b06a[_0x14a239];return _0x50848a;},_0x14a2(_0x49eac2,_0x4da116);}function _0x10b0(){const _0x2d5b63=['from','connectInjector','getStateCache','getLocalCacheKey','disposeUnit','DocCollaborationEntity','registerRenderModule','INTERNAL_ERROR','onStarting','subscribe','_docSyncEditingCollabCursorService','IMessageService','@univerjs/sheets-ui','_notificationService','handleIRemoveRow','_anchorDot','_instanceService','BehaviorSubject','loadUnit','getTypeOfUnitAdded$','_onRefRangeChange','runRefRangeMutations','subscribeEvent','function','defineProperty','_getScale','entityInit$','mask','2XoSWbZ','error','startRow','DOC_RANGE_TYPE','set','useObservable','getTypeOfUnitDisposed$','Injector','hide','_getSaveTimeout','React','10odqoJi','newValue','text','white','yellow.400','sessionTicket','result','FromArray','YUUMI_NO_CUBOID_FOR_QUESTION','permission.title','3241928WUDYIK','_collaborationUIEventService','@univerjs/engine-formula','collabStatus.notCollab','registerRefRange','handleIRemoveCol','origin','Rect','dispose','toDisposable','@univerjs/sheets','CollaborationUIEventService','has','idSuffix','useCallback','send','handleDeleteRangeMoveUp','PENDING','SetDocZoomRatioOperation','currentColor','tag','WebBrowserSingleActiveUnitService','_cursorInfo$','onPointerEnter$','runId','[CollaborationDataLoaderController]','_range','isEditing','icon','getItem','@univerjs/core','APPLY_REVISION_CONFILICT','_session','CONFLICT','loadOfflineData','EMAIL_HAS_BEEN_BOUND','univer-flex\x20univer-items-center','uni.network.url-service','handleInsertCol','updateOfflineData','_registerRenderDependencies','DocSelectionManagerService','type','contains','_commandService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','add','_document','imageSourceType','values','fromEventSubject','getRangePointData','max','onPointerLeave$','getValue','init','INVITE_CODE_REQUIRED','isActive','unitID','_shapes','_removeCollabCursors','getSheetBySheetId','get','fill','9525582vKDGHy','transformIMECache','collabStatus.syncing','_initEvent','_cursorShapes','transformSelections','_docSkeletonManagerService','0\x200\x2016\x2016','IImageIoService','clearInterval','DependentOn','clearTimeout','AWAITING_WITH_PENDING','NodePositionConvertToRectRange','_cachedData','range','collaboration-client-ui.config','SNAPSHOT_HAS_BEEN_REMOVED','forEach','memberID','ThemeService','_refreshCollabCursors','UniverDocsUi','eventID','_getMergeRange','executionId','CollaborationDataLoaderController','getActiveSheet','_transformUndoRedoStack','useDependency','getCoordByCell','createInstance','concat','_labelPosition','37518118PEvTfb','jsxs','some','_beforeCloseService','CollaborationStatusDisplay','_config','off-line-icon_clip0_910_343','mapTo','then','jsx','_injector','_transformPreviousActiveRange','UNDEFINED','getCurrent','current','DocStateChangeManagerService','_initCommandExecutedListener','_transformHistoryAndStateStack','_name','replaceState','_roomMembers$','_getAnchorBounding','YUUMI_URL_COL_OUT_OF_RANGE','pluginName','key','_hideTimer','debug','rxjs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','assign','TOO_MANY_REQUESTS','getCurrentRevOfUnit','pipe','ITransformService','_saveCache','UniverProCollaboration','DisposableCollection','triggerDblclick','UniverUi','requireSession','saveOfflineData','UniverNetwork','RevisionService','_sheetSkeletonManagerService','_send','prototype','throttleTime','permission.content','currentTheme$','onCommandExecuted','WebSocketService','_selfUnitIDs','_themeService','UNRECOGNIZED','substring','Disposable','setConfig','DeleteRangeMoveLeftCommandId','YUUMI_RATE_OVER_LIMIT','exhaustSavingTask','bottom','...','getUniverSheetInstance','asObservable','roomMembers$','params','getSkeleton','TRANSFORM_CHANGE_OBSERVABLE_TYPE','none','_scheduleHeartbeat','getUnhiddenWorksheets','_logService','onRendered','unshift','collabStatus.offline','addClipboardHook','IDocClipboardService','_render','getOffsetConfig','getRenderById','deepClone','pushState','UPDATE_CURSOR','isTransformMutationFailure','UniverProCollaborationClient','cursorInfo$','registerBeforeClose','_updateURLWithCurrentState','undoState','arc','addObject','IRenderManagerService','_startDocCollabCursor','SessionStatus','clipPath','push','distinctUntilChanged','m1Prime','LOGIN_FAILED','toRgbString','translate(.97)','defs','_transformService','labelPosition','_onCursorUpdate','SetWorksheetActivateCommand','6641740LwCaDt','closePath','/run/','_doCreateSocket','toStringTag','runOnServer','findNodePositionByCharIndex','ticket','includes','_collabSessionService','_startSheetCollabCursor','with','_univerInstanceService','use','setActiveRange','_id','sheetId','_updateSubUnitFromURLParams','_anchor','_initResize','toString','MOBILE_HAS_BEEN_BOUND','_removeClearOtherTimer','http://www.w3.org/2000/svg','_handleHover','rxjs/operators','_saveTaskMap','@univerjs-pro/collaboration-client','ISocketService','collaboration.closeRoom','_localeService','mutations','UniverCollaborationClientUIPlugin','_httpService','UniverProCollaborationClientUi','TEXT','getFocusedUnit','combineLatest','onTransformChange$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_SHEET','on-line-icon','currentSkeleton$','black','sessionStatus$','#FFF','getSheetId','BrowserCollaborationSocketService','ranges','filter','drawWith','UniverSheets','setShapeProps','subUnitId','COLORS','Warning','MUTATION','RxDisposable','Shape','onMouseMove','MoveRangeCommandId','_revisionService','9682050OBnyns','focused$','replace','_color','RemoteUniscriptService','_createSocketURL','_cursors','_localCacheService','_colorIndex','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_MAX_UNITS_EXCEEDED','JOIN_ROOM_FAILED','width','_handleHeartbeatEvent','roomMembers','column','selection','_setupBeforeClosingHandler','fillStyle','NOT_COLLAB','enableLocalCache','mergeOverrideWithDependencies','APPLY_DUPLICATED','InsertRangeMoveDownCommandId','round','collab-client.tooltip.reconnect','M0\x200H16V16H0z','generateRandomId','_clearOtherTimers','_docClipboardService','_setupSubUnitSync','ISnapshotServerService','takeUntil','_init','_docStateChangeManagerService','_drawRectRange','handleDeleteRangeMoveLeft','IConfigService','_uiPartsService','EffectRefRangId','getCellPositionByOffset','off-line-icon','indexOf','color','_collabCursorController','SOCKET_FAILED_RETRY','rgba(255,\x20255,\x20255,\x200.01)','_refRangeService','USERS_LEAVE','restore','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabCursorState$','@univerjs/engine-render','@univerjs-pro/collaboration','_lastPointer','ILogService','UNAUTHENTICATED','transformMutationsWithChangeset','react','getActiveRange','SNAPSHOT_INVALID_SNAPSHOT','exports','INVITE_CODE_ALREADY_BOUND','OFFLINE','_entityInit$','APPLY_REJECT','CollaborationSessionService','_onCursorDelete','debounce','setParam','RichTextEditingMutation','evenodd','Tools','call','UniverDrawing','symbol','actions','data','font','YUUMI_ASYNCIO_CANCELLED','@univerjs/docs-ui','fillText','_renderManagerService','transformStateCache','size','history','collab-text-anchor-','urlChange$','Vector2','onPointerMove$','Rectangle','searchParams','MessageType','forwardRef','_entities','OTHER_CLIENT_EDITING','getOwnPropertySymbols','ILocalCacheService','_handleEvent','SetTextSelectionsOperation','_scheduleSaving','_getSessionTicket','_memberService','_status$','LOCAL_CACHE_INTERVAL','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','_colorAssignService','getAncestorScale','@univerjs/drawing','UniverInstanceType','INVITE_CODE_HAS_BEEN_UES','apply','Failed','DataLoaderService','RemoveRowCommandId','_unitOnClients','disposeWithMe','children','green.600','CLOSE_ROOM','status$','InsertRangeMoveRightCommandId','_initEntityListener','@univerjs/network','INVALID_INVITE_CODE','startsWith','UniverCollaborationClientPlugin','RefRangeService','9euepVH','_handleJoinEvent','getViewport','className','saveTaskMap','map','dispose$','UniverDocs','PY_RUNTIME_SCRIPT_ERROR','DesktopCollaborationStatusDisplayController','HEADER_MENU','@univerjs/rpc','CollaborationController','red.300','collabStatus.synced','div','_disabled','OnLineIcon','next','object','SUBMIT_CHANGESET_TIMEOUT','startColumn','UniverEngineRender','_urlService','override','YUUMI_UNABLE_LOAD_URL','DeleteRangeMoveUpCommandId','_updateCollabCursors','_toggleOnline','COMPLETION_FINISHED','_ensureSubject','delete','body','Subject','session.collaboration-timeout','HTTPService','_backgroundColor','engine','NodePositionConvertToCursor','CollaborationEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','name','IURLService','UniverCore','3098526flkWIo','url(#$1','row','flatMap','xlink:href','event$','CHANGESET_REVISION_CONFILICT','MemberService','LICENSE_DISTRO_REJECTED','SetSelectionsOperation','1em','assignAColorForMemberID','_hover','RECT','_initDependencies','_context','BuiltInUIPart','NO_OTHER_CLIENTS_EDITING','_toggleOffline','_updateLocalCursor','getUnitStatus$','editingUnit','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleInsertRow','show','5rSzGTc','save','Unknown\x20user','CollaborationStatus','_scheduleClearOtherTimer','random','href','string','svg','NOT_FOUND','setAlpha','ICommandService','propertyIsEnumerable','_eventUnsubscribe','code','_syncEditingCollabCursorService','DocSkeletonManagerService','setTimeout','1538090pixqBs','getConfig','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMember','IUniverInstanceService','min','displayName','TEXT_RANGE_LAYER_INDEX','popstate','measureText','subunit','location','_collaborationController','LocaleService','redoState','_drawAnchor','FETCH_MISS','doc.mutation.rich-text-editing','complete','isTransformMutationsWithChangesetSuccess','_initStatusComponent','setItem','transformRemoteChangeset','DocIMEInputManagerService','unsubscribe','collabStatus.conflict','_heartbeatTimer','_docTransformSelectionsService','skeleton','selections','height','react/jsx-runtime','Inject','clsx','deserializeRangeWithSheet','_textBubble','_handleLeaveEvent','source','_docTransformStateCacheService','transformMutation','parse','INVALID_ARGUMENT','getMemberID','stringify','@univerjs/design','defIds','m2Prime','top','SheetSkeletonManagerService','UNIVER_DOC','PERMISSION_DENIED','getUndoRedoMutationParamsCache','_dataLoaderService','handleInsertRangeMoveDown','storage','split','OTHER_CLIENTS_EDITING','_initStatusListener','SHEET_VIEWPORT_KEY','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverSheetsUi','_scene','lineTo','_localStorageService','WECHAT_HAS_BEEN_BOUND','isArray','getCollabCursors$','touchDependencies','length','cursorInfo','jiqing.500','find','InsertRowCommandId','_unitStatus','backgroundColor','ALREADY_EXISTS','serializeRangeWithSheet','beginPath','all','Error','docStateChange$','_assignedColors','CONNECTOR_DATA_TOO_LARGE','hasOwnProperty','colorChannel1','_online','_hovered','IRemoteInstanceService','saveImage','APPLY_PERMISSION_DENIED','attrs','getSheetObject','UniverEngineFormula','_getSheetObject','wsSessionTicketUrl','_registerDependencies','registerComponent','createElement','transformByState','RegularPolygon','entries','getColor','_imageIoService','getParam','debounceTime','unit','Tooltip','shareReplay','unitId','extend','YUUMI_ALL_TABLES_IS_INVALID','LICENSE_IMPORT_SIZE_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','getOwnPropertyDescriptor','fromEvent','switchMap','_collabCursorState$','_drawTextRange','trim','SYNCED','path','setUndoRedoMutationParamsCache','addObjects','useRef','textRanges','APPLY_NON_SEQUENTIAL_REVISION','ONLINE','on-line-icon_clip0_910_349','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','getColorFromTheme','collab-rect-range-','disableLocalCache','executeCommand','UnitStatus','@univerjs/ui','CollaborationUIEventId','getUnitId','_configService','resize','_docTransformIMECacheService','_messageService'];_0x10b0=function(){return _0x2d5b63;};return _0x10b0();}