@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-825ae55 → 0.6.10-experimental.20250428-ab93895
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4ea607,_0x1190ea){const _0x3f3a9a=_0x316b,_0x3c64b2=_0x4ea607();while(!![]){try{const _0x372473=parseInt(_0x3f3a9a(0x3d9))/0x1+-parseInt(_0x3f3a9a(0x310))/0x2+parseInt(_0x3f3a9a(0x1d2))/0x3*(-parseInt(_0x3f3a9a(0x2ae))/0x4)+parseInt(_0x3f3a9a(0x33e))/0x5*(parseInt(_0x3f3a9a(0x416))/0x6)+-parseInt(_0x3f3a9a(0x2e0))/0x7+-parseInt(_0x3f3a9a(0x3a5))/0x8*(parseInt(_0x3f3a9a(0x280))/0x9)+parseInt(_0x3f3a9a(0x2df))/0xa;if(_0x372473===_0x1190ea)break;else _0x3c64b2['push'](_0x3c64b2['shift']());}catch(_0x1c84d4){_0x3c64b2['push'](_0x3c64b2['shift']());}}}(_0x2b51,0x880ac),function(_0x7f2edd,_0x221f12){const _0x4bfff4=_0x316b;typeof exports==_0x4bfff4(0x207)&&typeof module<'u'?_0x221f12(exports,require(_0x4bfff4(0x413)),require(_0x4bfff4(0x25b)),require(_0x4bfff4(0x2ff)),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x4bfff4(0x213)),require(_0x4bfff4(0x1b6)),require(_0x4bfff4(0x232)),require(_0x4bfff4(0x220)),require('@univerjs/sheets'),require(_0x4bfff4(0x231)),require(_0x4bfff4(0x30a)),require('react/jsx-runtime'),require(_0x4bfff4(0x2d4)),require(_0x4bfff4(0x1d7)),require(_0x4bfff4(0x420)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4bfff4(0x1f6)]?define([_0x4bfff4(0x1ac),'@univerjs-pro/collaboration-client',_0x4bfff4(0x25b),_0x4bfff4(0x2ff),_0x4bfff4(0x1ce),_0x4bfff4(0x41d),_0x4bfff4(0x1c7),_0x4bfff4(0x213),_0x4bfff4(0x1b6),_0x4bfff4(0x232),_0x4bfff4(0x220),'@univerjs/sheets',_0x4bfff4(0x231),_0x4bfff4(0x30a),_0x4bfff4(0x1a4),'@univerjs/ui','@univerjs/design',_0x4bfff4(0x420),'@univerjs/rpc'],_0x221f12):(_0x7f2edd=typeof globalThis<'u'?globalThis:_0x7f2edd||self,_0x221f12(_0x7f2edd[_0x4bfff4(0x259)]={},_0x7f2edd['UniverProCollaborationClient'],_0x7f2edd[_0x4bfff4(0x333)],_0x7f2edd[_0x4bfff4(0x23e)],_0x7f2edd['UniverNetwork'],_0x7f2edd[_0x4bfff4(0x335)],_0x7f2edd[_0x4bfff4(0x37f)],_0x7f2edd[_0x4bfff4(0x213)],_0x7f2edd[_0x4bfff4(0x2cb)],_0x7f2edd[_0x4bfff4(0x257)],_0x7f2edd['UniverEngineFormula'],_0x7f2edd[_0x4bfff4(0x393)],_0x7f2edd[_0x4bfff4(0x213)][_0x4bfff4(0x36f)],_0x7f2edd[_0x4bfff4(0x32d)],_0x7f2edd[_0x4bfff4(0x2b0)],_0x7f2edd[_0x4bfff4(0x2fd)],_0x7f2edd[_0x4bfff4(0x39e)],_0x7f2edd[_0x4bfff4(0x2b0)],_0x7f2edd[_0x4bfff4(0x2db)]));}(this,function(_0x4394f4,_0x25172a,_0x380f2c,_0x562cf5,_0x54dd82,_0x245556,_0x540d16,_0x309759,_0x1bf15b,_0x4946eb,_0x44c5f6,_0x5434f9,_0x1c9dc1,_0x1f7bce,_0x5bcf77,_0x26ee6d,_0x4cdd5d,_0x4a2e64,_0x1bf57e){'use strict';const _0x223248=_0x316b;var _0x49a913=Object[_0x223248(0x40a)],_0x1d2e7c=(_0x303a7c,_0x233ea4,_0x4a349b)=>_0x233ea4 in _0x303a7c?_0x49a913(_0x303a7c,_0x233ea4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a349b}):_0x303a7c[_0x233ea4]=_0x4a349b,_0x44255b=(_0x9dfd94,_0x5b624d,_0x51b162)=>_0x1d2e7c(_0x9dfd94,typeof _0x5b624d!=_0x223248(0x378)?_0x5b624d+'':_0x5b624d,_0x51b162),_0x22671b=Object['getOwnPropertyDescriptor'],_0x1a1917=(_0x37fc8e,_0x389413,_0x22b0c0,_0x24a6a7)=>{const _0x4be3c2=_0x223248;for(var _0x3ff821=_0x24a6a7>0x1?void 0x0:_0x24a6a7?_0x22671b(_0x389413,_0x22b0c0):_0x389413,_0x5f23c2=_0x37fc8e[_0x4be3c2(0x25a)]-0x1,_0x3614e9;_0x5f23c2>=0x0;_0x5f23c2--)(_0x3614e9=_0x37fc8e[_0x5f23c2])&&(_0x3ff821=_0x3614e9(_0x3ff821)||_0x3ff821);return _0x3ff821;},_0x30af99=(_0x59269f,_0xfcd4d1)=>(_0x29c290,_0x183dfd)=>_0xfcd4d1(_0x29c290,_0x183dfd,_0x59269f);let _0x287dac=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x19fcd5,_0x4ba7a5){const _0xc5d3b5=_0x223248;super(),this[_0xc5d3b5(0x19e)]=_0x19fcd5,this['_imageIoService']=_0x4ba7a5,this['_init']();}[_0x223248(0x18f)](){const _0x4c3135=_0x223248,_0x254e15=this;this[_0x4c3135(0x1e9)](this[_0x4c3135(0x19e)]['addClipboardHook']({'onBeforePasteImage':async _0x4e2ffe=>{const _0x371ef4=_0x4c3135,_0x1276a5=await _0x254e15[_0x371ef4(0x1f5)]['saveImage'](_0x4e2ffe);return _0x1276a5?{'source':_0x1276a5[_0x371ef4(0x28c)],'imageSourceType':_0x1276a5[_0x371ef4(0x275)]}:null;}}));}};_0x287dac=_0x1a1917([_0x30af99(0x0,_0x245556[_0x223248(0x1e1)]),_0x30af99(0x1,_0x540d16[_0x223248(0x252)])],_0x287dac);const _0x1583ae=[_0x223248(0x362),_0x223248(0x197),_0x223248(0x2eb),_0x223248(0x1ae),_0x223248(0x35a),_0x223248(0x39b)];class _0xd7751 extends _0x380f2c['Disposable']{constructor(){const _0x843ffb=_0x223248;super(...arguments),_0x44255b(this,'_assignedColors',new Map()),_0x44255b(this,_0x843ffb(0x2ef),0x0);}['assignAColorForMemberID'](_0x248e6a){const _0x2db18b=_0x223248;if(this['_assignedColors'][_0x2db18b(0x2e5)](_0x248e6a))return this[_0x2db18b(0x39f)][_0x2db18b(0x3cf)](_0x248e6a);const _0x29df85=_0x1583ae[this[_0x2db18b(0x2ef)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x1583ae['length'],this[_0x2db18b(0x39f)][_0x2db18b(0x269)](_0x248e6a,_0x29df85),_0x29df85;}}function _0x1ecaf2(_0x163ce2){const _0x180989=_0x223248;let _0x4a9dd7='';for(const _0x3a2931 of _0x163ce2){const {startOffset:_0x175fed,endOffset:_0x3c3856,isActive:_0x127253,rangeType:_0x172a15,segmentId:_0x341f71,segmentPage:_0x37f649}=_0x3a2931;_0x4a9dd7[_0x180989(0x25a)]&&(_0x4a9dd7+=','),_0x4a9dd7+=_0x175fed+':'+_0x3c3856+':'+(_0x127253?'1':'0')+':'+_0x172a15+':'+_0x341f71+':'+_0x37f649;}return _0x4a9dd7;}function _0x155a17(_0x3c474c){const _0x3dc023=_0x223248,_0x2dc777=_0x3c474c[_0x3dc023(0x2e3)](','),_0x214960=[];for(const _0x176a4a of _0x2dc777){const [_0x4025bc,_0x3b5562,_0x593622,_0xe5dc28,_0x535a0c,_0x5ac5fc]=_0x176a4a['split'](':');_0x214960[_0x3dc023(0x30d)]({'startOffset':Number(_0x4025bc),'endOffset':Number(_0x3b5562),'collapsed':_0x4025bc===_0x3b5562,'isActive':_0x593622==='1','rangeType':_0xe5dc28===_0x380f2c[_0x3dc023(0x276)]['TEXT']?_0x380f2c['DOC_RANGE_TYPE'][_0x3dc023(0x282)]:_0x380f2c[_0x3dc023(0x276)]['RECT'],'segmentId':typeof _0x535a0c=='string'?String(_0x535a0c):'','segmentPage':Number(_0x5ac5fc!=null?_0x5ac5fc:-0x1)});}return _0x214960[_0x3dc023(0x1a5)](_0x2c0b01=>_0x2c0b01['isActive'])||(_0x214960[0x0]['isActive']=!0x0),_0x214960;}class _0x19792d extends _0x380f2c['RxDisposable']{constructor(){const _0x141904=_0x223248;super(...arguments),_0x44255b(this,_0x141904(0x253),new _0x309759[(_0x141904(0x3e2))](null)),_0x44255b(this,_0x141904(0x3be),this[_0x141904(0x253)][_0x141904(0x3ca)]());}[_0x223248(0x3b5)](_0x548a4a){const _0x539c12=_0x223248,{unitID:_0x1deffe,memberID:_0x5b462b,textRanges:_0x2e617e}=_0x548a4a,_0x4955e7=_0x1ecaf2(_0x2e617e);if(_0x4955e7==='')return;const _0xc89dcc={'unitID':_0x1deffe,'memberID':_0x5b462b,'selection':_0x4955e7};this['_collabCursorState$'][_0x539c12(0x428)](_0xc89dcc);}}var _0x519411=Object[_0x223248(0x265)],_0x54b3bb=(_0x5e0c88,_0x4b737b,_0x25a37f,_0x2e6af7)=>{const _0x18da3a=_0x223248;for(var _0x1ed5c2=_0x2e6af7>0x1?void 0x0:_0x2e6af7?_0x519411(_0x4b737b,_0x25a37f):_0x4b737b,_0x43279a=_0x5e0c88[_0x18da3a(0x25a)]-0x1,_0x54ca01;_0x43279a>=0x0;_0x43279a--)(_0x54ca01=_0x5e0c88[_0x43279a])&&(_0x1ed5c2=_0x54ca01(_0x1ed5c2)||_0x1ed5c2);return _0x1ed5c2;},_0x5cbd4e=(_0x11940e,_0x21328d)=>(_0x5decf2,_0x3c962a)=>_0x21328d(_0x5decf2,_0x3c962a,_0x11940e);const _0xac0a6d=0x12c,_0x24efb3=0x64;let _0x2c3801=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x536144,_0x104a28,_0x4f5087,_0x23f9f7,_0x1f80de,_0x2d6066,_0x5445e5,_0x282406,_0x3b8113){const _0x818a00=_0x223248;super(),_0x44255b(this,_0x818a00(0x3bb),!0x1),_0x44255b(this,_0x818a00(0x18f),!0x1),_0x44255b(this,_0x818a00(0x3b4),new _0x309759['BehaviorSubject'](new Map())),_0x44255b(this,_0x818a00(0x230),this[_0x818a00(0x3b4)]['asObservable']()),_0x44255b(this,_0x818a00(0x32c),new _0x309759[(_0x818a00(0x3e2))]([])),_0x44255b(this,_0x818a00(0x2d9),this[_0x818a00(0x32c)][_0x818a00(0x278)](_0x309759[_0x818a00(0x3ec)](_0xac0a6d))),_0x44255b(this,'_updateLocalCursor',_0x380f2c[_0x818a00(0x288)](_0x2cc5b8=>{const _0x3d7e4d=_0x818a00,_0x41736e={'eventID':_0x4946eb[_0x3d7e4d(0x1dc)][_0x3d7e4d(0x273)],'data':{'unitID':this[_0x3d7e4d(0x293)],'memberID':this['_session'][_0x3d7e4d(0x3d5)](),'selection':_0x1ecaf2(_0x2cc5b8)}};this[_0x3d7e4d(0x285)]['send'](_0x41736e,this[_0x3d7e4d(0x293)]);},_0x24efb3)),(this[_0x818a00(0x293)]=_0x536144,this['_session']=_0x104a28,this[_0x818a00(0x1d3)]=_0x4f5087,this[_0x818a00(0x34e)]=_0x23f9f7,this[_0x818a00(0x365)]=_0x1f80de,this[_0x818a00(0x401)]=_0x2d6066,this[_0x818a00(0x329)]=_0x5445e5,this[_0x818a00(0x33f)]=_0x282406,this[_0x818a00(0x1f1)]=_0x3b8113);}get[_0x223248(0x3b0)](){const _0x43d268=_0x223248;return this['_cursorInfo$'][_0x43d268(0x2f6)]();}get['roomMembers'](){const _0x52e557=_0x223248;return this[_0x52e557(0x32c)]['getValue']();}[_0x223248(0x1d8)](){const _0x4f64a3=_0x223248;super[_0x4f64a3(0x1d8)](),this[_0x4f64a3(0x3b4)][_0x4f64a3(0x428)](new Map()),this[_0x4f64a3(0x3b4)]['complete'](),this[_0x4f64a3(0x32c)][_0x4f64a3(0x428)]([]),this[_0x4f64a3(0x32c)][_0x4f64a3(0x3d6)]();}[_0x223248(0x22e)](){const _0x3b58cd=_0x223248;this[_0x3b58cd(0x18f)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x3b58cd(0x278)](_0x309759[_0x3b58cd(0x40b)](this['dispose$']))['subscribe'](_0x3b8780=>{const _0x465abf=_0x3b58cd;_0x3b8780===_0x25172a[_0x465abf(0x3c8)][_0x465abf(0x3a9)]?this[_0x465abf(0x1b2)]():this[_0x465abf(0x328)]();}),this[_0x3b58cd(0x285)][_0x3b58cd(0x294)][_0x3b58cd(0x278)](_0x309759['takeUntil'](this[_0x3b58cd(0x41a)]))[_0x3b58cd(0x1d9)](_0x544f25=>{const _0x10a244=_0x3b58cd,_0x43beec=_0x544f25['eventID'];_0x43beec===_0x4946eb[_0x10a244(0x1dc)][_0x10a244(0x273)]&&this['_onCursorUpdate'](_0x544f25),_0x43beec===_0x4946eb[_0x10a244(0x1dc)][_0x10a244(0x30b)]&&this[_0x10a244(0x20d)](_0x544f25);}),this['disposeWithMe'](this[_0x3b58cd(0x1f1)][_0x3b58cd(0x37d)](_0x468cc8=>{const _0x5ae7b4=_0x3b58cd,_0x308ea7=_0x468cc8[_0x5ae7b4(0x28f)];_0x308ea7!=null&&this[_0x5ae7b4(0x3bb)]&&_0x468cc8['id']===_0x1bf15b[_0x5ae7b4(0x3d0)]['id']&&_0x308ea7[_0x5ae7b4(0x341)]===this[_0x5ae7b4(0x293)]&&_0x308ea7[_0x5ae7b4(0x20f)]===!0x1&&_0x308ea7['ranges']['length']>0x0&&this[_0x5ae7b4(0x368)](_0x308ea7[_0x5ae7b4(0x349)]);})),this[_0x3b58cd(0x401)][_0x3b58cd(0x3be)][_0x3b58cd(0x278)](_0x309759[_0x3b58cd(0x40b)](this['dispose$']))[_0x3b58cd(0x1d9)](_0x5f41e5=>{const _0x478a82=_0x3b58cd;if((_0x5f41e5==null?void 0x0:_0x5f41e5[_0x478a82(0x293)])!==this['unitID'])return;const _0x1a5121={'eventID':_0x4946eb[_0x478a82(0x1dc)][_0x478a82(0x273)],'data':_0x5f41e5};this[_0x478a82(0x3fa)](_0x1a5121);}),this[_0x3b58cd(0x1e9)](this[_0x3b58cd(0x1f1)]['onCommandExecuted'](_0x1520da=>{const _0x16bad0=_0x3b58cd;if(_0x1520da[_0x16bad0(0x28f)]==null)return;const _0x1a5c4b=_0x1520da['params'];if(_0x1520da['id']!==_0x1bf15b[_0x16bad0(0x34a)]['id']||_0x1a5c4b['unitId']!==this[_0x16bad0(0x293)])return;const _0x6b3dc9={'id':_0x16bad0(0x3f5),'params':_0x1a5c4b},_0x4cdb9a=this['cursorInfo'];for(const [_0x471ac5,_0xb88bb1]of _0x4cdb9a){const _0x20ea30={'id':_0x16bad0(0x3f5),'params':{'unitId':this[_0x16bad0(0x293)],'actions':null,'textRanges':_0xb88bb1[_0x16bad0(0x349)]}},_0x458df9=this[_0x16bad0(0x329)][_0x16bad0(0x240)](_0x6b3dc9,_0x20ea30,!0x1);if(_0x4946eb[_0x16bad0(0x1b1)](_0x458df9))throw _0x458df9[_0x16bad0(0x3cb)];_0x4cdb9a[_0x16bad0(0x269)](_0x471ac5,{..._0xb88bb1,'ranges':_0x458df9[_0x16bad0(0x353)][_0x16bad0(0x28f)][_0x16bad0(0x3d3)]});}queueMicrotask(()=>{const _0x573152=_0x16bad0;this[_0x573152(0x3b4)][_0x573152(0x428)](_0x4cdb9a);});})));}[_0x223248(0x3fa)](_0x1a30f1){const _0x56f145=_0x223248;var _0x500f9f,_0x344ea5;const {memberID:_0x4c25a9,selection:_0x378746}=_0x1a30f1[_0x56f145(0x2a1)],_0x1d216c=_0x155a17(_0x378746),_0x2eb159=(_0x344ea5=(_0x500f9f=this[_0x56f145(0x365)]['getMember'](this[_0x56f145(0x293)],_0x4c25a9))==null?void 0x0:_0x500f9f[_0x56f145(0x2b5)])!=null?_0x344ea5:_0x56f145(0x3dc),_0xf99e4a={'color':this[_0x56f145(0x34e)][_0x56f145(0x2e1)](_0x4c25a9),'name':_0x2eb159,'ranges':_0x1d216c},_0x2f11d6=this[_0x56f145(0x3b0)];_0x2f11d6[_0x56f145(0x269)](_0x4c25a9,_0xf99e4a),this[_0x56f145(0x3b4)][_0x56f145(0x428)](_0x2f11d6);}[_0x223248(0x20d)](_0x594bed){const _0x4980a4=_0x223248,{memberID:_0x275c93}=_0x594bed[_0x4980a4(0x2a1)],_0x229d7a=this[_0x4980a4(0x3b0)];_0x229d7a['delete'](_0x275c93),this[_0x4980a4(0x3b4)][_0x4980a4(0x428)](_0x229d7a);}[_0x223248(0x1b2)](){const _0x5e2386=_0x223248;var _0x15af80;if(this[_0x5e2386(0x3bb)]=!0x0,((_0x15af80=this[_0x5e2386(0x33f)]['getFocusedUnit']())==null?void 0x0:_0x15af80[_0x5e2386(0x302)]())!==this[_0x5e2386(0x293)])return;const _0x532c0a=this['_injector'][_0x5e2386(0x3cf)](_0x1bf15b['DocSelectionManagerService'])[_0x5e2386(0x322)]();Array[_0x5e2386(0x1c5)](_0x532c0a)&&_0x532c0a['length']>0x0&&this['_updateLocalCursor'](_0x532c0a);}['_toggleOffline'](){const _0x105440=_0x223248;this[_0x105440(0x3bb)]=!0x1;}};_0x2c3801=_0x54b3bb([_0x5cbd4e(0x2,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x5cbd4e(0x3,_0x380f2c[_0x223248(0x352)](_0xd7751)),_0x5cbd4e(0x4,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x22c)])),_0x5cbd4e(0x5,_0x380f2c[_0x223248(0x352)](_0x19792d)),_0x5cbd4e(0x6,_0x4946eb[_0x223248(0x382)]),_0x5cbd4e(0x7,_0x380f2c[_0x223248(0x3fe)]),_0x5cbd4e(0x8,_0x380f2c[_0x223248(0x36e)])],_0x2c3801);var _0x3dd977=Object[_0x223248(0x265)],_0x454dfc=(_0x54f586,_0x1dda5f,_0x5bb031,_0x5a411c)=>{for(var _0x13c5ea=_0x5a411c>0x1?void 0x0:_0x5a411c?_0x3dd977(_0x1dda5f,_0x5bb031):_0x1dda5f,_0xef400f=_0x54f586['length']-0x1,_0x31db7f;_0xef400f>=0x0;_0xef400f--)(_0x31db7f=_0x54f586[_0xef400f])&&(_0x13c5ea=_0x31db7f(_0x13c5ea)||_0x13c5ea);return _0x13c5ea;},_0x31a8db=(_0x414575,_0x669576)=>(_0x122e41,_0x44c2c6)=>_0x669576(_0x122e41,_0x44c2c6,_0x414575);const _0x38e497=0x12c,_0x2c40c5=0x64,_0x40bac4=()=>{let _0x190e92=[],_0x53fa9f=!0x1;return _0x49c136=>{_0x190e92['push'](_0x49c136),_0x53fa9f||(_0x53fa9f=!0x0,setTimeout(()=>{const _0x4e9320=_0x316b;_0x190e92[_0x4e9320(0x258)](_0x5dd638=>_0x5dd638()),_0x190e92=[],_0x53fa9f=!0x1;}));};};let _0x127971=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x482865,_0x20ba6a,_0x19e8c3,_0x147ae9,_0x51177a,_0x4a9575,_0x1ee190,_0x58ea39){const _0x28b609=_0x223248;super(),_0x44255b(this,_0x28b609(0x3bb),!0x1),_0x44255b(this,'_init',!0x1),_0x44255b(this,_0x28b609(0x3b4),new _0x309759['BehaviorSubject'](new Map())),_0x44255b(this,'cursorInfo$',this[_0x28b609(0x3b4)]['asObservable']()),_0x44255b(this,'_roomMembers$',new _0x309759[(_0x28b609(0x3e2))]([])),_0x44255b(this,_0x28b609(0x2d9),this[_0x28b609(0x32c)]['pipe'](_0x309759[_0x28b609(0x3ec)](_0x38e497))),_0x44255b(this,_0x28b609(0x368),_0x380f2c['debounce']((_0x28f45a,_0x4c3a64)=>{const _0x4b0336=_0x28b609,_0x2197c8={'eventID':_0x4946eb['CollaborationEvent'][_0x4b0336(0x273)],'data':{'unitID':this[_0x4b0336(0x293)],'memberID':this['_session'][_0x4b0336(0x3d5)](),'selection':_0x44c5f6[_0x4b0336(0x291)](_0x28f45a,_0x4c3a64['range'])}};this['_session'][_0x4b0336(0x36c)](_0x2197c8,this[_0x4b0336(0x293)]);},_0x2c40c5)),(this[_0x28b609(0x293)]=_0x482865,this[_0x28b609(0x285)]=_0x20ba6a,this[_0x28b609(0x1d3)]=_0x19e8c3,this[_0x28b609(0x34e)]=_0x147ae9,this[_0x28b609(0x365)]=_0x51177a,this[_0x28b609(0x33f)]=_0x4a9575,this[_0x28b609(0x1f1)]=_0x1ee190,this[_0x28b609(0x24e)]=_0x58ea39);}get[_0x223248(0x3b0)](){const _0x712b8e=_0x223248;return this[_0x712b8e(0x3b4)][_0x712b8e(0x2f6)]();}get[_0x223248(0x2d5)](){const _0xd87c2a=_0x223248;return this[_0xd87c2a(0x32c)][_0xd87c2a(0x2f6)]();}['dispose'](){const _0x4adfd5=_0x223248;super[_0x4adfd5(0x1d8)](),this[_0x4adfd5(0x3b4)]['next'](new Map()),this[_0x4adfd5(0x3b4)][_0x4adfd5(0x3d6)](),this[_0x4adfd5(0x32c)][_0x4adfd5(0x428)]([]),this[_0x4adfd5(0x32c)]['complete']();}[_0x223248(0x22e)](){const _0x192ce9=_0x223248;this[_0x192ce9(0x18f)]||(this['_init']=!0x0,this[_0x192ce9(0x285)][_0x192ce9(0x2ea)][_0x192ce9(0x278)](_0x309759[_0x192ce9(0x40b)](this[_0x192ce9(0x41a)]))[_0x192ce9(0x1d9)](_0x5daf68=>{const _0x20a19f=_0x192ce9;_0x5daf68===_0x25172a[_0x20a19f(0x3c8)][_0x20a19f(0x3a9)]?this['_toggleOnline']():this[_0x20a19f(0x328)]();}),this[_0x192ce9(0x285)]['event$'][_0x192ce9(0x278)](_0x309759[_0x192ce9(0x40b)](this[_0x192ce9(0x41a)]))[_0x192ce9(0x1d9)](_0x1a47e9=>{const _0x2be2fc=_0x192ce9,_0x3a2b6d=_0x1a47e9[_0x2be2fc(0x388)];_0x3a2b6d===_0x4946eb['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2be2fc(0x3fa)](_0x1a47e9),_0x3a2b6d===_0x4946eb[_0x2be2fc(0x1dc)][_0x2be2fc(0x30b)]&&this[_0x2be2fc(0x20d)](_0x1a47e9);}),this[_0x192ce9(0x2f5)](),this[_0x192ce9(0x1e9)](this[_0x192ce9(0x1f1)][_0x192ce9(0x37d)](_0x3bc6e2=>{const _0x1988dc=_0x192ce9;if(this[_0x1988dc(0x3bb)]&&_0x3bc6e2['id']===_0x5434f9['SetSelectionsOperation']['id']&&_0x3bc6e2[_0x1988dc(0x28f)][_0x1988dc(0x341)]===this[_0x1988dc(0x293)]){const _0x53d166=_0x3bc6e2[_0x1988dc(0x28f)];this[_0x1988dc(0x368)](_0x53d166[_0x1988dc(0x28a)],_0x53d166[_0x1988dc(0x367)][0x0]);}})));}[_0x223248(0x3fa)](_0xd0b76d){const _0x5c5cf8=_0x223248;var _0x18cffc,_0x3cfeba;const {memberID:_0x32a3b0,selection:_0xe7488a}=_0xd0b76d[_0x5c5cf8(0x2a1)],{sheetName:_0x3002bc,range:_0x410a2d}=_0x44c5f6[_0x5c5cf8(0x23b)](_0xe7488a),_0x59b0d6={'name':(_0x3cfeba=(_0x18cffc=this[_0x5c5cf8(0x365)]['getMember'](this[_0x5c5cf8(0x293)],_0x32a3b0))==null?void 0x0:_0x18cffc[_0x5c5cf8(0x2b5)])!=null?_0x3cfeba:_0x5c5cf8(0x3dc),'range':this[_0x5c5cf8(0x255)](_0x3002bc,_0x410a2d),'sheetID':_0x3002bc,'color':this[_0x5c5cf8(0x34e)]['assignAColorForMemberID'](_0x32a3b0),'selection':_0xe7488a},_0x4fa0bf=this[_0x5c5cf8(0x3b0)];_0x4fa0bf[_0x5c5cf8(0x269)](_0x32a3b0,_0x59b0d6),this['_cursorInfo$'][_0x5c5cf8(0x428)](_0x4fa0bf);}[_0x223248(0x20d)](_0x53bf41){const _0x1ffadd=_0x223248,{memberID:_0x442222}=_0x53bf41['data'],_0x1345d9=this[_0x1ffadd(0x3b0)];_0x1345d9['delete'](_0x442222),this[_0x1ffadd(0x3b4)][_0x1ffadd(0x428)](_0x1345d9);}[_0x223248(0x255)](_0xf462aa,_0x18b3be){const _0x12910e=_0x223248;var _0x46686a,_0x41849c;const _0x390de2=(_0x41849c=(_0x46686a=this[_0x12910e(0x33f)][_0x12910e(0x208)](this[_0x12910e(0x293)]))==null?void 0x0:_0x46686a[_0x12910e(0x399)](_0xf462aa))==null?void 0x0:_0x41849c['getMergeData']();return(_0x390de2==null?void 0x0:_0x390de2[_0x12910e(0x1f8)](_0xc3f800=>_0x380f2c[_0x12910e(0x2f7)][_0x12910e(0x419)](_0xc3f800,_0x18b3be)))||_0x18b3be;}[_0x223248(0x2f5)](){const _0xca66d6=_0x223248,_0x4085aa=new _0x380f2c[(_0xca66d6(0x330))](),_0x3cbf4f=_0x40bac4(),_0x539cfc=()=>{const _0x5c9150=_0xca66d6;_0x4085aa[_0x5c9150(0x1d8)]();const _0x20b9b9=(_0x4cb4fb,_0x313eac,_0x5c99ea,_0x1ac1db)=>{const _0x47a27a=_0x5c9150;let _0xe15f02=[];switch(_0x4cb4fb['id']){case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x1a2)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x1db)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x397)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x1f4)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId'][_0x47a27a(0x3ce)]:{_0xe15f02=_0x5434f9['handleInsertCol'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x24a)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x371)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)]['InsertRangeMoveRightCommandId']:{_0xe15f02=_0x5434f9[_0x47a27a(0x3ba)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)]['InsertRowCommandId']:{_0xe15f02=_0x5434f9['handleInsertRow'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x191)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x190)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId']['RemoveColCommandId']:{_0xe15f02=_0x5434f9['handleIRemoveCol'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId'][_0x47a27a(0x1cf)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x35e)](_0x4cb4fb,_0x1ac1db);break;}}const _0x5c5593=_0x5434f9[_0x47a27a(0x3b2)](_0xe15f02,_0x1ac1db),_0x102268=this[_0x47a27a(0x3b0)][_0x47a27a(0x3cf)](_0x313eac);if(_0x102268&&_0x5c5593){const _0x5eb5b7={..._0x102268,'range':_0x5c5593};this[_0x47a27a(0x3b0)][_0x47a27a(0x269)](_0x313eac,_0x5eb5b7),_0x3cbf4f(()=>{const _0x1d5001=_0x47a27a,_0x169c49=this[_0x1d5001(0x24e)][_0x1d5001(0x32f)](_0x5c5593,_0x52b66e=>(_0x169c49['dispose'](),_0x20b9b9(_0x52b66e,_0x313eac,_0x5c99ea,_0x5c5593)));_0x4085aa['add'](_0x169c49);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5c9150(0x258)]((_0x1f9f47,_0x1c1c81)=>{const _0x17a456=_0x5c9150,{range:_0x57e2ea,sheetID:_0xe64cf5}=_0x1f9f47,_0xc7bf85=this[_0x17a456(0x24e)][_0x17a456(0x32f)](_0x57e2ea,_0x730350=>(_0xc7bf85[_0x17a456(0x1d8)](),_0x20b9b9(_0x730350,_0x1c1c81,_0xe64cf5,_0x57e2ea)));_0x4085aa[_0x17a456(0x23c)](_0xc7bf85);});};this[_0xca66d6(0x1e9)](_0x380f2c[_0xca66d6(0x242)](this['_cursorInfo$'][_0xca66d6(0x1d9)](()=>{_0x539cfc();})));}[_0x223248(0x1b2)](){const _0x22a586=_0x223248;var _0x1394a2,_0x3261e6;if(this['_online']=!0x0,((_0x1394a2=this[_0x22a586(0x33f)][_0x22a586(0x2f1)]())==null?void 0x0:_0x1394a2['getUnitId']())!==this[_0x22a586(0x293)])return;const _0x3d4b26=(_0x3261e6=this[_0x22a586(0x1d3)]['get'](_0x5434f9['SheetsSelectionsService'])[_0x22a586(0x34f)]())==null?void 0x0:_0x3261e6[0x0],_0x96bef1=this[_0x22a586(0x33f)][_0x22a586(0x404)](_0x380f2c[_0x22a586(0x1a9)][_0x22a586(0x22a)])[_0x22a586(0x1c4)]();_0x3d4b26&&_0x96bef1&&this['_updateLocalCursor'](_0x96bef1[_0x22a586(0x3aa)](),_0x3d4b26);}[_0x223248(0x328)](){const _0x3bdffb=_0x223248;this[_0x3bdffb(0x3bb)]=!0x1;}};_0x127971=_0x454dfc([_0x31a8db(0x2,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x31a8db(0x3,_0x380f2c[_0x223248(0x352)](_0xd7751)),_0x31a8db(0x4,_0x380f2c['Inject'](_0x25172a[_0x223248(0x22c)])),_0x31a8db(0x5,_0x380f2c[_0x223248(0x3fe)]),_0x31a8db(0x6,_0x380f2c[_0x223248(0x36e)]),_0x31a8db(0x7,_0x380f2c['Inject'](_0x5434f9['RefRangeService']))],_0x127971);var _0x4781e3=Object[_0x223248(0x265)],_0x4aa8f5=(_0x2be2dd,_0x30be14,_0x4d73c0,_0x59297f)=>{const _0x3b63b5=_0x223248;for(var _0x3386c1=_0x59297f>0x1?void 0x0:_0x59297f?_0x4781e3(_0x30be14,_0x4d73c0):_0x30be14,_0x26c96e=_0x2be2dd[_0x3b63b5(0x25a)]-0x1,_0x3eb36e;_0x26c96e>=0x0;_0x26c96e--)(_0x3eb36e=_0x2be2dd[_0x26c96e])&&(_0x3386c1=_0x3eb36e(_0x3386c1)||_0x3386c1);return _0x3386c1;},_0x2bf9ed=(_0x1fc2f1,_0x5e6386)=>(_0x29d63b,_0x466a0c)=>_0x5e6386(_0x29d63b,_0x466a0c,_0x1fc2f1);let _0x4f3310=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x23a427,_0x349e90,_0x40eccd){const _0x4eca5e=_0x223248;super(),_0x44255b(this,_0x4eca5e(0x2f8),new Map()),_0x44255b(this,_0x4eca5e(0x354),new _0x309759[(_0x4eca5e(0x1c3))]()),(this[_0x4eca5e(0x33f)]=_0x23a427,this[_0x4eca5e(0x1d3)]=_0x349e90,this['_collabSessionService']=_0x40eccd,this[_0x4eca5e(0x18f)]());}[_0x223248(0x1d8)](){const _0x1d3489=_0x223248;super['dispose'](),this[_0x1d3489(0x354)][_0x1d3489(0x3d6)](),this[_0x1d3489(0x2f8)][_0x1d3489(0x258)](_0x4f9327=>_0x4f9327[_0x1d3489(0x1d8)]());}[_0x223248(0x321)](_0x23f4a7){const _0x31cea1=_0x223248;return this[_0x31cea1(0x2f8)]['has'](_0x23f4a7)?this['_entities'][_0x31cea1(0x3cf)](_0x23f4a7)[_0x31cea1(0x230)]:this[_0x31cea1(0x354)][_0x31cea1(0x278)](_0x309759[_0x31cea1(0x3a0)](_0x101aae=>_0x101aae[_0x31cea1(0x293)]===_0x23f4a7),_0x309759['switchMap'](_0x4efb59=>_0x4efb59[_0x31cea1(0x230)]));}[_0x223248(0x18f)](){const _0x3d2320=_0x223248;this['_univerInstanceService'][_0x3d2320(0x327)](_0x380f2c[_0x3d2320(0x1a9)]['UNIVER_SHEET'])[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this['dispose$']))[_0x3d2320(0x1d9)](async _0x15a26e=>{const _0xa7f5ae=_0x3d2320,_0x58489a=_0x15a26e['getUnitId'](),_0x197cd9=await this[_0xa7f5ae(0x1c1)](_0x58489a);this[_0xa7f5ae(0x354)][_0xa7f5ae(0x428)](_0x197cd9),this[_0xa7f5ae(0x2f8)]['set'](_0x58489a,_0x197cd9);}),this[_0x3d2320(0x33f)]['getTypeOfUnitAdded$'](_0x380f2c[_0x3d2320(0x1a9)][_0x3d2320(0x30f)])[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this[_0x3d2320(0x41a)]))[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x3a0)](_0x3f6388=>!_0x3f6388[_0x3d2320(0x302)]()[_0x3d2320(0x199)]('__')))[_0x3d2320(0x1d9)](async _0xa87c0a=>{const _0x299a68=_0x3d2320,_0xa317b8=_0xa87c0a['getUnitId'](),_0x38e3ff=await this[_0x299a68(0x1d1)](_0xa317b8);this[_0x299a68(0x354)]['next'](_0x38e3ff),this[_0x299a68(0x2f8)][_0x299a68(0x269)](_0xa317b8,_0x38e3ff);}),_0x309759['merge'](this['_univerInstanceService'][_0x3d2320(0x3ea)](_0x380f2c[_0x3d2320(0x1a9)]['UNIVER_DOC']),this[_0x3d2320(0x33f)][_0x3d2320(0x3ea)](_0x380f2c[_0x3d2320(0x1a9)][_0x3d2320(0x22a)]))[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this[_0x3d2320(0x41a)]))[_0x3d2320(0x1d9)](_0xe0137f=>{const _0x3a9716=_0x3d2320,_0xf58bf=_0xe0137f[_0x3a9716(0x302)](),_0x5c4179=this[_0x3a9716(0x2f8)][_0x3a9716(0x3cf)](_0xf58bf);_0x5c4179&&(_0x5c4179[_0x3a9716(0x1d8)](),this[_0x3a9716(0x2f8)][_0x3a9716(0x344)](_0xf58bf));});}async[_0x223248(0x1c1)](_0x12d653){const _0x12dcdf=await this['_collabSessionService']['requireSession'](_0x12d653),_0x5a1af6=this['_injector']['createInstance'](_0x127971,_0x12d653,_0x12dcdf);return _0x5a1af6['init'](),_0x5a1af6;}async[_0x223248(0x1d1)](_0x19a497){const _0x331f28=_0x223248,_0x3639b0=await this['_collabSessionService'][_0x331f28(0x2d3)](_0x19a497),_0x47a3c7=this[_0x331f28(0x1d3)][_0x331f28(0x2da)](_0x2c3801,_0x19a497,_0x3639b0);return _0x47a3c7['init'](),_0x47a3c7;}};_0x4f3310=_0x4aa8f5([_0x2bf9ed(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x2bf9ed(0x1,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x2bf9ed(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x406)]))],_0x4f3310);const _0x120bab=0x14,_0x479208=0xc8,_0x370294=0x4,_0xcc261d=0x5;function _0x35edd1(_0x48423f,_0xa006ed){const _0x4d6470=_0x223248;let {radius:_0x223fdb,width:_0x3a0b2e,height:_0x753c0d}=_0xa006ed;_0x223fdb=_0x223fdb!=null?_0x223fdb:0x0,_0x3a0b2e=_0x3a0b2e!=null?_0x3a0b2e:0x1e,_0x753c0d=_0x753c0d!=null?_0x753c0d:0x1e;let _0x31aa3d=0x0,_0x58520e=0x0,_0x2202cd=0x0;_0x31aa3d=_0x58520e=_0x2202cd=Math[_0x4d6470(0x1eb)](_0x223fdb,_0x3a0b2e/0x2,_0x753c0d/0x2),_0x48423f[_0x4d6470(0x2fc)](),_0x48423f[_0x4d6470(0x3ed)](_0x31aa3d,0x0),_0x48423f[_0x4d6470(0x3ff)](_0x3a0b2e-_0x58520e,0x0),_0x48423f[_0x4d6470(0x1bf)](_0x3a0b2e-_0x58520e,_0x58520e,_0x58520e,Math['PI']*0x3/0x2,0x0,!0x1),_0x48423f[_0x4d6470(0x3ff)](_0x3a0b2e,_0x753c0d-_0x2202cd),_0x48423f[_0x4d6470(0x1bf)](_0x3a0b2e-_0x2202cd,_0x753c0d-_0x2202cd,_0x2202cd,0x0,Math['PI']/0x2,!0x1),_0x48423f[_0x4d6470(0x3ff)](0x0,_0x753c0d),_0x48423f[_0x4d6470(0x3ff)](0x0,_0x31aa3d),_0x48423f[_0x4d6470(0x1bf)](_0x31aa3d,_0x31aa3d,_0x31aa3d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48423f[_0x4d6470(0x407)](),_0xa006ed[_0x4d6470(0x2ca)]&&(_0x48423f[_0x4d6470(0x398)](),_0x48423f[_0x4d6470(0x2a3)]=_0xa006ed['fill'],_0xa006ed[_0x4d6470(0x41f)]===_0x4d6470(0x2a6)?_0x48423f[_0x4d6470(0x2ca)](_0x4d6470(0x2a6)):_0x48423f[_0x4d6470(0x2ca)](),_0x48423f[_0x4d6470(0x3b9)]());}class _0x5738fc extends _0x562cf5['Shape']{constructor(_0x59b16e,_0x1ff07e){const _0x2ee3e8=_0x223248;super(_0x59b16e,_0x1ff07e),_0x44255b(this,_0x2ee3e8(0x19a)),_0x44255b(this,_0x2ee3e8(0x247)),(this[_0x2ee3e8(0x19a)]=_0x1ff07e==null?void 0x0:_0x1ff07e['color'],this[_0x2ee3e8(0x247)]=_0x1ff07e==null?void 0x0:_0x1ff07e[_0x2ee3e8(0x247)]);}static[_0x223248(0x1b3)](_0x3f2e5f,_0x39b82a){const _0xcc6c9c=_0x223248,{text:_0x171dcb,color:_0x6c78e5}=_0x39b82a;_0x3f2e5f[_0xcc6c9c(0x398)](),_0x3f2e5f[_0xcc6c9c(0x2b1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x720e01=_0x3f2e5f[_0xcc6c9c(0x331)](_0x171dcb)['width'],_0x143403=Math[_0xcc6c9c(0x1eb)](_0x720e01+0x2*_0x370294,_0x479208);_0x35edd1(_0x3f2e5f,{'height':_0x120bab,'radius':0x4,'width':_0x143403,'fill':_0x6c78e5}),_0x3f2e5f[_0xcc6c9c(0x2a3)]=_0xcc6c9c(0x1c9);const _0xfcd797=_0x370294,_0x2b35e9=_0x120bab-_0xcc261d,_0x477787=_0x479208-0x2*_0x370294;if(_0x720e01>_0x477787){let _0x199f55='',_0x3f9854=0x0;for(const _0x285ae0 of _0x171dcb){const _0x567da1=_0x3f2e5f['measureText'](_0x285ae0)[_0xcc6c9c(0x2bc)];if(_0x3f9854+_0x567da1<=_0x477787-_0x3f2e5f[_0xcc6c9c(0x331)](_0xcc6c9c(0x312))['width'])_0x199f55+=_0x285ae0,_0x3f9854+=_0x567da1;else{_0x199f55+=_0xcc6c9c(0x312);break;}}_0x3f2e5f[_0xcc6c9c(0x2c6)](_0x199f55,_0xfcd797,_0x2b35e9);}else _0x3f2e5f[_0xcc6c9c(0x2c6)](_0x171dcb,_0xfcd797,_0x2b35e9);_0x3f2e5f['restore']();}['_draw'](_0x13fff4){const _0x20b5cb=_0x223248;_0x5738fc[_0x20b5cb(0x1b3)](_0x13fff4,this);}}const _0x17641a=_0x223248(0x3c3),_0x586420='collab-text-range-',_0xc5b9b3='collab-rect-range-',_0x356757=0x6,_0x437072=1.5,_0x4016d4=0x4,_0x51f730=1.5,_0x10f691=_0x223248(0x1ee);class _0x3b12b2{constructor(_0x750ca2,_0x4abffa,_0x1f78c2,_0x213a9c){const _0x57bc62=_0x223248;_0x44255b(this,'_shapes',[]),_0x44255b(this,_0x57bc62(0x20e),null),_0x44255b(this,_0x57bc62(0x39a),null),_0x44255b(this,_0x57bc62(0x3e7),null),_0x44255b(this,_0x57bc62(0x3c7),null),_0x44255b(this,'_eventUnsubscribe',null),(this[_0x57bc62(0x2b4)]=_0x750ca2,this[_0x57bc62(0x201)]=_0x4abffa,this['_docSkeleton']=_0x1f78c2,this[_0x57bc62(0x1b8)]=_0x213a9c,this[_0x57bc62(0x408)]());}set['_hover'](_0x397fc2){const _0x3766c8=_0x223248;_0x397fc2?(this[_0x3766c8(0x3e7)]&&this[_0x3766c8(0x3e7)]['hide'](),this['_textBubble']&&this[_0x3766c8(0x39a)]['show']()):(this[_0x3766c8(0x3e7)]&&this[_0x3766c8(0x3e7)][_0x3766c8(0x3a7)](),this[_0x3766c8(0x39a)]&&this['_textBubble']['hide']());}['dispose'](){const _0x43fc0c=_0x223248;for(const _0x1d410a of this['_shapes'])_0x1d410a[_0x43fc0c(0x1d8)]();this[_0x43fc0c(0x39a)]&&this[_0x43fc0c(0x39a)]['dispose'](),this[_0x43fc0c(0x3e7)]&&this['_anchorDot'][_0x43fc0c(0x1d8)](),this[_0x43fc0c(0x20e)]&&this['_anchor']['dispose'](),this[_0x43fc0c(0x295)]&&this['_eventUnsubscribe']();}[_0x223248(0x408)](){const _0xda2204=_0x223248;var _0x5104e6;const {_docSkeleton:_0x4e6f6c,_document:_0x4750bc}=this,{color:_0x542cd4,name:_0x18276d,ranges:_0x307d3c}=this[_0xda2204(0x2b4)],_0x47cb84=_0x4750bc[_0xda2204(0x305)](),{docsLeft:_0x305cc0,docsTop:_0x42aa7c}=_0x47cb84,_0x580d02=new _0x245556[(_0xda2204(0x27b))](_0x47cb84,_0x4e6f6c);for(const {startOffset:_0x189fd0,endOffset:_0x317388,rangeType:_0x4f6f8a,segmentId:_0x538281,segmentPage:_0x4befb5,collapsed:_0x88099b,isActive:_0x581a24}of _0x307d3c){const _0x16b632=_0x4e6f6c[_0xda2204(0x2dd)](_0x189fd0,!0x0,_0x538281,_0x4befb5);let _0x225269=_0x4e6f6c[_0xda2204(0x2dd)](_0x317388,!0x0,_0x538281,_0x4befb5);if(_0x225269==null&&(_0x225269=_0x4e6f6c['findNodePositionByCharIndex'](_0x317388-0x1,!0x1,_0x538281,_0x4befb5)),_0x581a24){const {contentBoxPointGroup:_0x47209f}=_0x580d02[_0xda2204(0x2f4)](_0x225269,_0x225269);if(_0x47209f[_0xda2204(0x25a)]===0x0)continue;this['_drawAnchor'](_0x542cd4,_0x47209f,_0x305cc0,_0x42aa7c,_0x18276d),this[_0xda2204(0x295)]=this[_0xda2204(0x229)]();}if(_0x16b632&&_0x225269){if(_0x4f6f8a===_0x380f2c[_0xda2204(0x276)]['RECT']){const _0x2c9904=new _0x245556[(_0xda2204(0x38d))](_0x47cb84,_0x4e6f6c),{pointGroup:_0x404b9f}=(_0x5104e6=_0x2c9904[_0xda2204(0x2f4)](_0x16b632,_0x225269))!=null?_0x5104e6:{};if(_0x404b9f==null||_0x404b9f[_0xda2204(0x25a)]===0x0)continue;this[_0xda2204(0x2b7)](_0x542cd4,_0x404b9f,_0x305cc0,_0x42aa7c);}else{if(!_0x88099b){const {borderBoxPointGroup:_0x50c920}=_0x580d02[_0xda2204(0x2f4)](_0x16b632,_0x225269);if(_0x50c920[_0xda2204(0x25a)]===0x0)continue;this[_0xda2204(0x326)](_0x542cd4,_0x50c920,_0x305cc0,_0x42aa7c);}}}}}[_0x223248(0x23f)](_0x18f213,_0x128503,_0x2e64c9,_0x27858b,_0x4caace){const _0x49b7a5=_0x223248,_0x112af0=this[_0x49b7a5(0x235)](_0x128503),{left:_0x1d5162,top:_0x45d40a,height:_0x25971c}=_0x112af0,_0x36ece3=this['_getScale'](),_0x4e697d=_0x51f730/_0x36ece3,_0x4ad23e=new _0x562cf5[(_0x49b7a5(0x25c))](_0x17641a+_0x380f2c[_0x49b7a5(0x31c)][_0x49b7a5(0x314)](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b,'height':_0x25971c,'width':_0x437072,'fill':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)]['black'],0x0),'strokeWidth':_0x4e697d,'stroke':_0x10f691,'evented':!0x0});this['_anchor']=_0x4ad23e,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x4ad23e,_0x245556[_0x49b7a5(0x358)]);const _0x5ab973=new _0x562cf5[(_0x49b7a5(0x25c))](_0x17641a+_0x380f2c['Tools']['generateRandomId'](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b-_0x4016d4/0x2,'height':_0x4016d4,'width':_0x4016d4,'fill':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)][_0x49b7a5(0x427)],0x0),'strokeWidth':0x0,'stroke':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)]['black'],0x0),'evented':!0x1});this[_0x49b7a5(0x3e7)]=_0x5ab973,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x5ab973,_0x245556['TEXT_RANGE_LAYER_INDEX']);const _0x3dc6d6=new _0x5738fc(_0x17641a+_0x380f2c[_0x49b7a5(0x31c)]['generateRandomId'](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b-_0x120bab,'text':_0x4caace,'color':_0x18f213});this['_textBubble']=_0x3dc6d6,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x3dc6d6,_0x245556[_0x49b7a5(0x358)]),this[_0x49b7a5(0x31f)]=!0x1;}[_0x223248(0x229)](){const _0xd5fe0=_0x223248,_0x2d1b80=this[_0xd5fe0(0x20e)][_0xd5fe0(0x2a5)][_0xd5fe0(0x380)](()=>{const _0x30fb9a=_0xd5fe0;this[_0x30fb9a(0x31f)]=!0x0;}),_0x4b0fe2=this[_0xd5fe0(0x20e)][_0xd5fe0(0x27e)][_0xd5fe0(0x380)](()=>{const _0x1ebf50=_0xd5fe0;this[_0x1ebf50(0x3c7)]&&clearTimeout(this[_0x1ebf50(0x3c7)]),this[_0x1ebf50(0x3c7)]=setTimeout(()=>{const _0x364cc1=_0x1ebf50;this[_0x364cc1(0x31f)]=!0x1;},0x7d0);});return()=>{const _0x2b0d12=_0xd5fe0;_0x2d1b80[_0x2b0d12(0x192)](),_0x4b0fe2[_0x2b0d12(0x192)]();};}[_0x223248(0x326)](_0x9b25c0,_0x257638,_0x2e318a,_0x5859e3){const _0x58f588=_0x223248,_0x451c91=new _0x380f2c[(_0x58f588(0x38f))](_0x9b25c0)[_0x58f588(0x2bf)](0.2)[_0x58f588(0x33c)](),_0x411596=new _0x562cf5[(_0x58f588(0x319))](_0x586420+_0x380f2c['Tools'][_0x58f588(0x314)](_0x356757),{'pointsGroup':_0x257638,'fill':_0x451c91||_0x562cf5['getColor'](_0x380f2c[_0x58f588(0x2ba)][_0x58f588(0x427)],0.2),'left':_0x2e318a,'top':_0x5859e3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58f588(0x383)]['push'](_0x411596),this['_scene'][_0x58f588(0x217)](_0x411596,_0x245556['TEXT_RANGE_LAYER_INDEX']);}[_0x223248(0x2b7)](_0x51f845,_0x42a4e3,_0xf94e0d,_0x175342){const _0x250ffb=_0x223248,_0x1a8432=new _0x380f2c[(_0x250ffb(0x38f))](_0x51f845)[_0x250ffb(0x2bf)](0.2)[_0x250ffb(0x33c)](),_0xc4fcc8=new _0x562cf5[(_0x250ffb(0x319))](_0xc5b9b3+_0x380f2c[_0x250ffb(0x31c)]['generateRandomId'](_0x356757),{'pointsGroup':_0x42a4e3,'fill':_0x1a8432||_0x562cf5['getColor'](_0x380f2c['COLORS'][_0x250ffb(0x427)],0.2),'left':_0xf94e0d,'top':_0x175342,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x250ffb(0x383)]['push'](_0xc4fcc8),this[_0x250ffb(0x201)][_0x250ffb(0x217)](_0xc4fcc8,_0x245556[_0x250ffb(0x358)]);}[_0x223248(0x235)](_0x4a0267){const _0x239526=_0x4a0267[0x0],_0x14b75c=_0x239526[0x0],_0x22f774=_0x239526[0x2],{x:_0x3e97fb,y:_0x167c2a}=_0x14b75c,{x:_0x3e8c29,y:_0x2cc6ca}=_0x22f774;return{'left':_0x3e97fb,'top':_0x167c2a,'width':_0x3e8c29-_0x3e97fb,'height':_0x2cc6ca-_0x167c2a};}[_0x223248(0x389)](){const _0x542ff4=_0x223248,{scaleX:_0x39735a,scaleY:_0x300a4e}=this['_scene'][_0x542ff4(0x40c)]();return Math['max'](_0x39735a,_0x300a4e);}}var _0x7fce1d=Object[_0x223248(0x265)],_0x7271a8=(_0x45be8c,_0x307fdc,_0x4907ca,_0x350aea)=>{const _0x30414d=_0x223248;for(var _0x1c737a=_0x350aea>0x1?void 0x0:_0x350aea?_0x7fce1d(_0x307fdc,_0x4907ca):_0x307fdc,_0xa971c2=_0x45be8c[_0x30414d(0x25a)]-0x1,_0x44da02;_0xa971c2>=0x0;_0xa971c2--)(_0x44da02=_0x45be8c[_0xa971c2])&&(_0x1c737a=_0x44da02(_0x1c737a)||_0x1c737a);return _0x1c737a;},_0xe786d8=(_0x15c7d1,_0x35baab)=>(_0x326bb4,_0x5d6b76)=>_0x35baab(_0x326bb4,_0x5d6b76,_0x15c7d1);let _0x5dbc37=class extends _0x380f2c['RxDisposable']{constructor(_0x29e81a,_0x599e29,_0x50dd93,_0x354931,_0x43b220){const _0x139503=_0x223248;super(),_0x44255b(this,_0x139503(0x1f9),[]),_0x44255b(this,_0x139503(0x395),[]),(this[_0x139503(0x3dd)]=_0x29e81a,this['_docSkeletonManagerService']=_0x599e29,this[_0x139503(0x1e0)]=_0x50dd93,this['_commandService']=_0x354931,this[_0x139503(0x381)]=_0x43b220,this[_0x139503(0x18f)]());}[_0x223248(0x18f)](){const _0x2eac35=_0x223248,_0x556354=this['_context'][_0x2eac35(0x341)],_0x56385c=this[_0x2eac35(0x3eb)];this[_0x2eac35(0x1e9)](_0x309759[_0x2eac35(0x289)]([this[_0x2eac35(0x1e0)][_0x2eac35(0x321)](_0x556354),this[_0x2eac35(0x381)][_0x2eac35(0x35d)]])[_0x2eac35(0x278)](_0x1c9dc1[_0x2eac35(0x287)](([_0x335a68,_0x38084f])=>({'skeleton':_0x56385c[_0x2eac35(0x3c6)](),'cursors':[..._0x335a68['values']()]['flatMap'](_0x5d18f4=>({..._0x5d18f4,'color':_0x38084f[_0x5d18f4[_0x2eac35(0x19a)]]}))})))[_0x2eac35(0x1d9)](_0x380173=>{const _0x1e5ec3=_0x2eac35;if(this[_0x1e5ec3(0x3f7)](),_0x380173){const {skeleton:_0x31f8a9,cursors:_0xd26e28}=_0x380173;this[_0x1e5ec3(0x1f3)](_0x31f8a9,_0xd26e28);}})),this[_0x2eac35(0x316)](),this[_0x2eac35(0x2e7)]();}[_0x223248(0x1f3)](_0x48ddf9,_0x19d406){const _0x5eee32=_0x223248,{scene:_0x30a1a2,mainComponent:_0x3c4e05}=this['_context'],_0x5a0d7f=_0x19d406[_0x5eee32(0x287)](_0x4da067=>new _0x3b12b2(_0x4da067,_0x30a1a2,_0x48ddf9,_0x3c4e05));this[_0x5eee32(0x1f9)]=_0x5a0d7f,this[_0x5eee32(0x395)]=_0x19d406;}[_0x223248(0x415)](){const _0x272a68=_0x223248;this[_0x272a68(0x3f7)]();const {scene:_0x8b332e,mainComponent:_0x5a8ef9}=this[_0x272a68(0x3dd)],_0x35ee57=this[_0x272a68(0x3eb)][_0x272a68(0x3c6)](),_0x4eaf0a=this[_0x272a68(0x395)][_0x272a68(0x287)](_0x211ad8=>new _0x3b12b2(_0x211ad8,_0x8b332e,_0x35ee57,_0x5a8ef9));this[_0x272a68(0x1f9)]=_0x4eaf0a;}[_0x223248(0x3f7)](){const _0xf49c09=_0x223248;this[_0xf49c09(0x1f9)][_0xf49c09(0x258)](_0x413ee0=>_0x413ee0[_0xf49c09(0x1d8)]()),this[_0xf49c09(0x1f9)]=[];}[_0x223248(0x2e7)](){const _0x5d3388=_0x223248,_0x3c6013=[_0x245556[_0x5d3388(0x37c)]['id']];this[_0x5d3388(0x1e9)](this[_0x5d3388(0x1f1)][_0x5d3388(0x37d)](_0x267fae=>{const _0x397247=_0x5d3388;_0x3c6013[_0x397247(0x297)](_0x267fae['id'])&&_0x267fae['params'][_0x397247(0x341)]===this[_0x397247(0x3dd)][_0x397247(0x341)]&&this[_0x397247(0x415)]();}));}[_0x223248(0x316)](){const _0x298c6f=_0x223248;this[_0x298c6f(0x1e9)](_0x380f2c[_0x298c6f(0x339)](this[_0x298c6f(0x3dd)]['engine']['onTransformChange$'])[_0x298c6f(0x278)](_0x1c9dc1[_0x298c6f(0x3a0)](_0x149ea5=>_0x149ea5['type']===_0x562cf5['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x1c9dc1[_0x298c6f(0x296)](0x10))[_0x298c6f(0x1d9)](()=>{this['_refreshCollabCursors']();}));}};_0x5dbc37=_0x7271a8([_0xe786d8(0x1,_0x380f2c[_0x223248(0x352)](_0x1bf15b[_0x223248(0x2c4)])),_0xe786d8(0x2,_0x380f2c[_0x223248(0x352)](_0x4f3310)),_0xe786d8(0x3,_0x380f2c['ICommandService']),_0xe786d8(0x4,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x426)]))],_0x5dbc37);const _0x117d2d=0x1,_0x30ea48=1.5;class _0x337b75 extends _0x562cf5[_0x223248(0x320)]{constructor(_0x570444,_0x3dbf1f){const _0x37e108=_0x223248;super(_0x570444,_0x3dbf1f),_0x44255b(this,_0x37e108(0x233)),_0x44255b(this,'_hovered',!0x1),_0x44255b(this,_0x37e108(0x410)),_0x44255b(this,_0x37e108(0x239),''),_0x44255b(this,_0x37e108(0x2ec),_0x37e108(0x2ee)),_0x44255b(this,_0x37e108(0x18e)),(_0x3dbf1f&&this['setShapeProps'](_0x3dbf1f),this[_0x37e108(0x2a5)][_0x37e108(0x380)](()=>this[_0x37e108(0x209)]({'hovered':!0x0})),this['onPointerLeave$'][_0x37e108(0x380)](()=>this[_0x37e108(0x209)]({'hovered':!0x1})));}[_0x223248(0x209)](_0x2fcecb){const _0x12de55=_0x223248;var _0x3df6f6,_0x50533a,_0x3886db,_0x1f62dc,_0x53f8ce,_0x5d6c94;this[_0x12de55(0x233)]=(_0x3df6f6=_0x2fcecb[_0x12de55(0x19a)])!=null?_0x3df6f6:this[_0x12de55(0x233)],this[_0x12de55(0x2c1)]=(_0x50533a=_0x2fcecb['hovered'])!=null?_0x50533a:this[_0x12de55(0x2c1)],this[_0x12de55(0x410)]=(_0x3886db=_0x2fcecb['range'])!=null?_0x3886db:this[_0x12de55(0x410)],this[_0x12de55(0x239)]=(_0x1f62dc=_0x2fcecb['name'])!=null?_0x1f62dc:this[_0x12de55(0x239)],this[_0x12de55(0x2ec)]=(_0x53f8ce=_0x2fcecb[_0x12de55(0x2a4)])!=null?_0x53f8ce:this[_0x12de55(0x2ec)],this[_0x12de55(0x18e)]=(_0x5d6c94=_0x2fcecb['backgroundColor'])!=null?_0x5d6c94:this[_0x12de55(0x18e)],this[_0x12de55(0x1d0)]({'width':_0x2fcecb[_0x12de55(0x2bc)],'height':_0x2fcecb['height']});}[_0x223248(0x24c)](_0x2d5681){const _0x1b85ac=_0x223248,{row:_0x51c852,column:_0xa0ec07}=_0x2d5681;if(_0x51c852>=this[_0x1b85ac(0x410)][_0x1b85ac(0x3e4)]&&_0x51c852<=this[_0x1b85ac(0x410)][_0x1b85ac(0x3c4)]&&_0xa0ec07>=this['_range'][_0x1b85ac(0x3c2)]&&_0xa0ec07<=this[_0x1b85ac(0x410)][_0x1b85ac(0x36d)]){this[_0x1b85ac(0x209)]({'hovered':!0x0});return;}this[_0x1b85ac(0x209)]({'hovered':!0x1});}['triggerDblclick'](_0xea0fb3){return!0x1;}[_0x223248(0x31d)](_0xb6c615){const _0x391461=_0x223248;_0x562cf5[_0x391461(0x25c)][_0x391461(0x1b3)](_0xb6c615,{'width':this[_0x391461(0x2bc)],'height':this[_0x391461(0x337)],'strokeWidth':_0x30ea48,'stroke':this[_0x391461(0x233)],'evented':!0x1,'fill':this[_0x391461(0x18e)]}),this['_hovered']&&(_0xb6c615['save'](),_0xb6c615[_0x391461(0x1b0)](0x1,0x0,0x0,0x1,this[_0x391461(0x2bc)],this[_0x391461(0x2ec)]===_0x391461(0x1a0)?0x0:-0x14),_0x5738fc[_0x391461(0x1b3)](_0xb6c615,{'text':this[_0x391461(0x239)],'color':this[_0x391461(0x233)]}),_0xb6c615['restore']());}}var _0x58ab8b=Object[_0x223248(0x265)],_0x2a5fdb=(_0x2c48b6,_0x47b75c,_0x238099,_0x5eb0db)=>{for(var _0x59386e=_0x5eb0db>0x1?void 0x0:_0x5eb0db?_0x58ab8b(_0x47b75c,_0x238099):_0x47b75c,_0x4358ca=_0x2c48b6['length']-0x1,_0x1922ec;_0x4358ca>=0x0;_0x4358ca--)(_0x1922ec=_0x2c48b6[_0x4358ca])&&(_0x59386e=_0x1922ec(_0x59386e)||_0x59386e);return _0x59386e;},_0x18b007=(_0x425521,_0x41f112)=>(_0x4fb5b1,_0x329e46)=>_0x41f112(_0x4fb5b1,_0x329e46,_0x425521);const _0xbdb9c2=0x1389;let _0x15d7ee=class extends _0x380f2c['RxDisposable']{constructor(_0x13fb01,_0x51f91f,_0x32cc61,_0xe1835){const _0x1a594f=_0x223248;super(),_0x44255b(this,'_cursors',new Set()),_0x44255b(this,_0x1a594f(0x402),null),(this[_0x1a594f(0x3dd)]=_0x13fb01,this['_sheetSkeletonManagerService']=_0x51f91f,this[_0x1a594f(0x1e0)]=_0x32cc61,this[_0x1a594f(0x381)]=_0xe1835,this[_0x1a594f(0x18f)]());}['_init'](){const _0x16c1e2=_0x223248;this['_sheetSkeletonManagerService'][_0x16c1e2(0x356)][_0x16c1e2(0x278)](_0x1c9dc1[_0x16c1e2(0x40b)](this[_0x16c1e2(0x41a)]),_0x1c9dc1[_0x16c1e2(0x21a)](_0x115796=>{const _0x285c9a=_0x16c1e2;if(_0x115796){const _0x2d9e81=_0x115796[_0x285c9a(0x374)];return _0x309759[_0x285c9a(0x289)](this[_0x285c9a(0x1e0)][_0x285c9a(0x321)](this[_0x285c9a(0x3dd)][_0x285c9a(0x341)]),this[_0x285c9a(0x381)]['currentTheme$'])[_0x285c9a(0x278)](_0x1c9dc1[_0x285c9a(0x287)](([_0x124f96,_0x50271f])=>{const _0x2d234a=_0x285c9a,_0x26593c=new Map();return _0x124f96[_0x2d234a(0x258)]((_0xc0861f,_0x374e80)=>{const _0x7363=_0x2d234a;if(_0xc0861f[_0x7363(0x286)]===_0x2d9e81){const _0x4dde91={..._0xc0861f};_0x4dde91[_0x7363(0x19a)]=_0x50271f[_0xc0861f[_0x7363(0x19a)]],_0x26593c[_0x7363(0x269)](_0x374e80,_0x4dde91);}}),{'skeleton':_0x115796,'cursors':_0x26593c};}));}return _0x309759['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1ad597,cursors:_0x4a526d})=>{const _0x51935c=_0x16c1e2;this['_removeCollabCursors'](),_0x1ad597&&this[_0x51935c(0x1f3)](_0x1ad597,_0x4a526d);}),this[_0x16c1e2(0x3a6)]['currentSkeleton$'][_0x16c1e2(0x1d9)](_0x2cb8e2=>{const _0xd75fd=_0x16c1e2;if(_0x2cb8e2==null)return;const {skeleton:_0x2221d0}=_0x2cb8e2,{scene:_0x967e5f}=this['_context'];_0x967e5f[_0xd75fd(0x3d8)][_0xd75fd(0x380)](_0x380f2c['debounce'](_0x4919c6=>{const _0x2afeaa=_0xd75fd;var _0x163235,_0x1880b3;const {offsetX:_0x2f67d1,offsetY:_0x491207}=_0x4919c6,{x:_0x3f91d8,y:_0x3400b8}=_0x967e5f[_0x2afeaa(0x2cd)](_0x562cf5[_0x2afeaa(0x35b)][_0x2afeaa(0x2d7)]([_0x2f67d1,_0x491207])),{scaleX:_0x4b7c97,scaleY:_0x904861}=_0x967e5f[_0x2afeaa(0x40c)](),_0x44aba2=_0x967e5f[_0x2afeaa(0x1fc)](_0x562cf5[_0x2afeaa(0x1c6)][_0x2afeaa(0x2e9)]),_0xb36fb7=_0x967e5f['getVpScrollXYInfoByPosToVp'](_0x562cf5[_0x2afeaa(0x35b)][_0x2afeaa(0x2d7)]([_0x3f91d8,_0x3400b8]),_0x44aba2),_0x26dd48=_0x2221d0[_0x2afeaa(0x284)](_0x2f67d1,_0x491207,_0x4b7c97,_0x904861,_0xb36fb7);((_0x163235=this[_0x2afeaa(0x402)])==null?void 0x0:_0x163235[_0x2afeaa(0x214)])===_0x26dd48['column']&&((_0x1880b3=this[_0x2afeaa(0x402)])==null?void 0x0:_0x1880b3[_0x2afeaa(0x3e0)])===_0x26dd48[_0x2afeaa(0x3e0)]||this[_0x2afeaa(0x395)][_0x2afeaa(0x258)](_0x44b1da=>{const _0x2122f7=_0x2afeaa;_0x44b1da[_0x2122f7(0x24c)](_0x26dd48);});},0x64));});}[_0x223248(0x1f3)](_0x3ae999,_0xc86bf2){const _0xcc79de=_0x223248;var _0x54a566;const _0xfb5445=(_0x54a566=this[_0xcc79de(0x3a6)][_0xcc79de(0x342)]())==null?void 0x0:_0x54a566[_0xcc79de(0x21c)];if(!_0xfb5445)return;const _0x4bd58b=this[_0xcc79de(0x40f)]();if(!_0x4bd58b)return;this[_0xcc79de(0x395)][_0xcc79de(0x258)](_0x14a6c2=>{const _0x192ae9=_0xcc79de;_0x14a6c2[_0x192ae9(0x2c3)]();});const {scene:_0x2910de}=_0x4bd58b,_0x158cf8=_0x426ff1(Array[_0xcc79de(0x2de)](_0xc86bf2[_0xcc79de(0x215)]()))[_0xcc79de(0x287)](_0x3500b8=>{const _0x1de1b6=_0xcc79de,{color:_0x5ae35b,range:_0x4c6cf0,name:_0x2f98a9,selection:_0x4b006e,sheetID:_0x1a7292}=_0x3500b8,{startColumn:_0x2b8c11,startRow:_0xc76de1,endColumn:_0x1f4ed4,endRow:_0x4be8ff}=_0x4c6cf0,_0xdbece8=_0x1f7bce[_0x1de1b6(0x1e3)](_0xc76de1,_0x2b8c11,_0x2910de,_0xfb5445),_0x3d4ecb=_0x1f7bce[_0x1de1b6(0x1e3)](_0x4be8ff,_0x1f4ed4,_0x2910de,_0xfb5445),{columnHeaderHeightAndMarginTop:_0x2b7f87}=_0xfb5445,{startX:_0x38f9de,startY:_0x15554e}=_0xdbece8,{endX:_0x57b007,endY:_0x2c4762}=_0x3d4ecb,_0x38f0fe=_0x57b007-_0x38f9de,_0x184a66=_0x2c4762-_0x15554e,_0x40d80a={'labelPosition':_0x15554e-_0x2b7f87>=_0x120bab?_0x1de1b6(0x2ee):_0x1de1b6(0x1a0),'sheetID':_0x1a7292,'range':_0x4c6cf0,'color':_0x5ae35b,'name':_0x2f98a9,'selection':_0x4b006e,'left':_0x38f9de,'top':_0x15554e,'width':_0x38f0fe,'height':_0x184a66,'evented':!0x1,'zIndex':_0xbdb9c2};return new _0x337b75(_0x2f98a9,_0x40d80a);});_0x2910de[_0xcc79de(0x1aa)](_0x158cf8,_0x117d2d),this['_cursors']=new Set(_0x158cf8);}['_removeCollabCursors'](){const _0x1fe30e=_0x223248;var _0xf5fc56;(_0xf5fc56=this['_cursors'])==null||_0xf5fc56['forEach'](_0x747be6=>_0x747be6[_0x1fe30e(0x1d8)]());}[_0x223248(0x40f)](){const _0x2235ff=_0x223248;return _0x1f7bce[_0x2235ff(0x3db)](this[_0x2235ff(0x3dd)][_0x2235ff(0x3f3)],this[_0x2235ff(0x3dd)]);}};_0x15d7ee=_0x2a5fdb([_0x18b007(0x1,_0x380f2c[_0x223248(0x352)](_0x1f7bce[_0x223248(0x343)])),_0x18b007(0x2,_0x380f2c[_0x223248(0x352)](_0x4f3310)),_0x18b007(0x3,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x426)]))],_0x15d7ee);function _0x426ff1(_0x44c859){const _0x47da44=_0x223248,_0x498079=new Map();return _0x44c859[_0x47da44(0x258)](_0x2c5fde=>{const _0x31f40c=_0x47da44;if(_0x498079['has'](_0x2c5fde[_0x31f40c(0x400)])){const _0x476f36=_0x498079['get'](_0x2c5fde[_0x31f40c(0x400)]);_0x476f36['name']+=',\x20'+_0x2c5fde[_0x31f40c(0x2b5)];}else _0x498079[_0x31f40c(0x269)](_0x2c5fde[_0x31f40c(0x400)],_0x2c5fde);}),Array[_0x47da44(0x2de)](_0x498079['values']());}var _0x4e7b9b=function(){const _0x268c69=_0x223248;return _0x4e7b9b=Object[_0x268c69(0x245)]||function(_0x470bcd){const _0x202b47=_0x268c69;for(var _0x428e19,_0x4210ef=0x1,_0x24397d=arguments[_0x202b47(0x25a)];_0x4210ef<_0x24397d;_0x4210ef++){_0x428e19=arguments[_0x4210ef];for(var _0x956626 in _0x428e19)Object[_0x202b47(0x40d)][_0x202b47(0x2fa)][_0x202b47(0x2a8)](_0x428e19,_0x956626)&&(_0x470bcd[_0x956626]=_0x428e19[_0x956626]);}return _0x470bcd;},_0x4e7b9b[_0x268c69(0x35c)](this,arguments);},_0x1b2e40=function(_0x28670d,_0x14131c){const _0x139546=_0x223248;var _0x11194b={};for(var _0x3e8809 in _0x28670d)Object['prototype'][_0x139546(0x2fa)]['call'](_0x28670d,_0x3e8809)&&_0x14131c['indexOf'](_0x3e8809)<0x0&&(_0x11194b[_0x3e8809]=_0x28670d[_0x3e8809]);if(_0x28670d!=null&&typeof Object[_0x139546(0x3de)]==_0x139546(0x1ca)){for(var _0xc209b5=0x0,_0x3e8809=Object[_0x139546(0x3de)](_0x28670d);_0xc209b5<_0x3e8809[_0x139546(0x25a)];_0xc209b5++)_0x14131c[_0x139546(0x3a4)](_0x3e8809[_0xc209b5])<0x0&&Object[_0x139546(0x40d)]['propertyIsEnumerable'][_0x139546(0x2a8)](_0x28670d,_0x3e8809[_0xc209b5])&&(_0x11194b[_0x3e8809[_0xc209b5]]=_0x28670d[_0x3e8809[_0xc209b5]]);}return _0x11194b;},_0x2966a1=_0x4a2e64['forwardRef'](function(_0x45d314,_0x3575e1){const _0x1ef882=_0x223248;var _0x1248a5=_0x45d314['icon'],_0x311e69=_0x45d314['id'],_0x117104=_0x45d314['className'],_0x12e246=_0x45d314[_0x1ef882(0x363)],_0xec009d=_0x1b2e40(_0x45d314,[_0x1ef882(0x3d2),'id','className',_0x1ef882(0x363)]),_0x14792a=_0x1ef882(0x221)['concat'](_0x311e69,'\x20')[_0x1ef882(0x1cb)](_0x117104||'')['trim'](),_0x54832a=_0x4a2e64[_0x1ef882(0x3f4)]('_'['concat'](_0x306b9d()));return _0x4dc9b5(_0x1248a5,''[_0x1ef882(0x1cb)](_0x311e69),{'defIds':_0x1248a5[_0x1ef882(0x2ab)],'idSuffix':_0x54832a[_0x1ef882(0x212)]},_0x4e7b9b({'ref':_0x3575e1,'className':_0x14792a},_0xec009d),_0x12e246);});function _0x4dc9b5(_0x554443,_0x182222,_0x2ecccd,_0x4f540f,_0x11799a){const _0x191b61=_0x223248;return _0x4a2e64['createElement'](_0x554443[_0x191b61(0x1b7)],_0x4e7b9b(_0x4e7b9b({'key':_0x182222},_0xfed504(_0x554443,_0x2ecccd,_0x11799a)),_0x4f540f),(_0x5c4118(_0x554443,_0x2ecccd)[_0x191b61(0x396)]||[])[_0x191b61(0x287)](function(_0x2abdf6,_0x116efb){const _0x2cb337=_0x191b61;return _0x4dc9b5(_0x2abdf6,''[_0x2cb337(0x1cb)](_0x182222,'-')[_0x2cb337(0x1cb)](_0x554443[_0x2cb337(0x1b7)],'-')[_0x2cb337(0x1cb)](_0x116efb),_0x2ecccd,void 0x0,_0x11799a);}));}function _0xfed504(_0x50986a,_0x3434a5,_0x23f7f6){const _0x4eaf0d=_0x223248;var _0x256e36=_0x4e7b9b({},_0x50986a[_0x4eaf0d(0x246)]);_0x23f7f6!=null&&_0x23f7f6['colorChannel1']&&_0x256e36['fill']==='colorChannel1'&&(_0x256e36[_0x4eaf0d(0x2ca)]=_0x23f7f6[_0x4eaf0d(0x200)]),_0x50986a[_0x4eaf0d(0x1b7)]==='mask'&&_0x256e36['id']&&(_0x256e36['id']=_0x256e36['id']+_0x3434a5['idSuffix']),Object[_0x4eaf0d(0x1ed)](_0x256e36)['forEach'](function(_0x253742){const _0x4a481e=_0x4eaf0d;var _0x4700e8=_0x253742[0x0],_0x396a15=_0x253742[0x1];_0x4700e8==='mask'&&typeof _0x396a15==_0x4a481e(0x3f2)&&(_0x256e36[_0x4700e8]=_0x396a15['replace'](/url\(#(.*)\)/,_0x4a481e(0x1bd)[_0x4a481e(0x1cb)](_0x3434a5[_0x4a481e(0x1f7)],')')));});var _0x3b46c8=_0x3434a5[_0x4eaf0d(0x2ab)];return!_0x3b46c8||_0x3b46c8['length']===0x0||(_0x50986a['tag']===_0x4eaf0d(0x3f9)&&_0x256e36[_0x4eaf0d(0x26b)]&&(_0x256e36['xlink:href']=_0x256e36['xlink:href']+_0x3434a5[_0x4eaf0d(0x1f7)]),Object[_0x4eaf0d(0x1ed)](_0x256e36)['forEach'](function(_0x4690c0){const _0xca1a6=_0x4eaf0d;var _0x190cc7=_0x4690c0[0x0],_0x2a51f2=_0x4690c0[0x1];typeof _0x2a51f2==_0xca1a6(0x3f2)&&(_0x256e36[_0x190cc7]=_0x2a51f2['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3434a5[_0xca1a6(0x1f7)],')')));})),_0x256e36;}function _0x5c4118(_0x3a6d6b,_0x2f90f3){const _0x53254d=_0x223248;var _0x3bba4e,_0x337405=_0x2f90f3[_0x53254d(0x2ab)];return!_0x337405||_0x337405[_0x53254d(0x25a)]===0x0?_0x3a6d6b:_0x3a6d6b[_0x53254d(0x1b7)]==='defs'&&(!((_0x3bba4e=_0x3a6d6b[_0x53254d(0x396)])===null||_0x3bba4e===void 0x0)&&_0x3bba4e[_0x53254d(0x25a)])?_0x4e7b9b(_0x4e7b9b({},_0x3a6d6b),{'children':_0x3a6d6b['children'][_0x53254d(0x287)](function(_0x555c8a){const _0x38bd1e=_0x53254d;return typeof _0x555c8a['attrs']['id']=='string'&&_0x337405&&_0x337405[_0x38bd1e(0x3a4)](_0x555c8a[_0x38bd1e(0x246)]['id'])>-0x1?_0x4e7b9b(_0x4e7b9b({},_0x555c8a),{'attrs':_0x4e7b9b(_0x4e7b9b({},_0x555c8a[_0x38bd1e(0x246)]),{'id':_0x555c8a['attrs']['id']+_0x2f90f3['idSuffix']})}):_0x555c8a;})}):_0x3a6d6b;}function _0x306b9d(){const _0x3cd4e8=_0x223248;return Math[_0x3cd4e8(0x1ef)]()['toString'](0x24)['substring'](0x2,0x8);}_0x2966a1['displayName']=_0x223248(0x224);var _0x1f761d={'tag':'svg','attrs':{'fill':_0x223248(0x292),'viewBox':_0x223248(0x2a2),'width':_0x223248(0x248),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x223248(0x394)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x223248(0x193),'strokeLinejoin':_0x223248(0x193),'strokeWidth':1.2}}]},{'tag':_0x223248(0x2c8),'attrs':{},'children':[{'tag':_0x223248(0x2bb),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x223248(0x1fa),'attrs':{'fill':_0x223248(0x19c),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x223248(0x369)]},_0x444a0a=_0x4a2e64['forwardRef'](function(_0x52406b,_0x4f231c){const _0x56a3a8=_0x223248;return _0x4a2e64[_0x56a3a8(0x1cd)](_0x2966a1,Object[_0x56a3a8(0x245)]({},_0x52406b,{'id':'off-line-single','ref':_0x4f231c,'icon':_0x1f761d}));});_0x444a0a[_0x223248(0x1e4)]='OffLineSingle';var _0x231d50={'tag':_0x223248(0x227),'attrs':{'fill':'none','viewBox':_0x223248(0x1da),'width':_0x223248(0x248),'height':_0x223248(0x248)},'children':[{'tag':'g','attrs':{'clipPath':_0x223248(0x2e4)},'children':[{'tag':_0x223248(0x1fa),'attrs':{'stroke':_0x223248(0x1a8),'d':_0x223248(0x25f),'strokeLinecap':_0x223248(0x193),'strokeLinejoin':_0x223248(0x193),'strokeWidth':1.2}}]},{'tag':_0x223248(0x2c8),'attrs':{},'children':[{'tag':_0x223248(0x2bb),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x223248(0x1fa),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x223248(0x3c1)}}]}]}],'defIds':[_0x223248(0x2d2)]},_0x444e24=_0x4a2e64[_0x223248(0x27c)](function(_0x36a7e1,_0x1798fd){const _0x2d30ef=_0x223248;return _0x4a2e64['createElement'](_0x2966a1,Object[_0x2d30ef(0x245)]({},_0x36a7e1,{'id':_0x2d30ef(0x324),'ref':_0x1798fd,'icon':_0x231d50}));});_0x444e24['displayName']=_0x223248(0x225);function _0x218869(_0x25e04a){const _0xc6292=_0x223248;switch(_0x25e04a){case _0x25172a['CollaborationStatus']['OFFLINE']:return _0xc6292(0x28d);case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x262)]:return _0xc6292(0x35f);case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x421)]:return _0xc6292(0x1e8);case _0x25172a['CollaborationStatus'][_0xc6292(0x1cc)]:return _0xc6292(0x1ba);case _0x25172a['CollaborationStatus'][_0xc6292(0x301)]:case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x3e3)]:return _0xc6292(0x249);case _0x25172a[_0xc6292(0x1de)]['SYNCED']:case _0x25172a['CollaborationStatus'][_0xc6292(0x3ee)]:return _0xc6292(0x2bd);}}function _0xd9adf4(_0x49400e){const _0x1539be=_0x223248,{status$:_0x294456}=_0x49400e,_0x221217=_0x26ee6d['useObservable'](_0x294456,_0x25172a[_0x1539be(0x1de)][_0x1539be(0x1cc)]),_0x1f4213=_0x26ee6d[_0x1539be(0x29f)](_0x380f2c[_0x1539be(0x1fd)]),_0x2c51e2=_0x26ee6d[_0x1539be(0x29f)](_0x25172a[_0x1539be(0x406)]),_0x2c4444=_0x221217!==_0x25172a['CollaborationStatus'][_0x1539be(0x387)],_0x68b17d=_0x1f4213['t'](_0x218869(_0x221217)),_0xbe29e8=_0x2c4444?_0x5bcf77[_0x1539be(0x32a)](_0x444e24,{}):_0x5bcf77[_0x1539be(0x32a)](_0x444a0a,{}),_0x5ae8e0=_0x4a2e64[_0x1539be(0x31e)](()=>{const _0x228553=_0x1539be;_0x2c4444||_0x2c51e2[_0x228553(0x2c2)]();},[_0x2c4444,_0x2c51e2]);function _0x8273d1(){const _0xe9d892=_0x1539be;return _0x5bcf77[_0xe9d892(0x3e5)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x5ae8e0,'children':[_0x5bcf77[_0xe9d892(0x32a)](_0xe9d892(0x222),{'className':_0x4cdd5d['clsx'](_0xe9d892(0x34c),_0x2c4444?_0xe9d892(0x2cf):_0xe9d892(0x19b)),'children':_0xbe29e8}),_0x5bcf77[_0xe9d892(0x32a)]('div',{'className':_0xe9d892(0x38b),'children':_0x68b17d})]});}return _0x2c4444?_0x8273d1():_0x5bcf77[_0x1539be(0x32a)](_0x4cdd5d['Tooltip'],{'title':_0x1f4213['t']('collab-client.tooltip.reconnect'),'children':_0x8273d1()});}var _0x3b817e=Object[_0x223248(0x265)],_0x44b863=(_0x5ebe07,_0x4f4a49,_0x3c5423,_0x34ecde)=>{const _0x3dcaa9=_0x223248;for(var _0x5df9d1=_0x34ecde>0x1?void 0x0:_0x34ecde?_0x3b817e(_0x4f4a49,_0x3c5423):_0x4f4a49,_0x5847bf=_0x5ebe07[_0x3dcaa9(0x25a)]-0x1,_0x5a4304;_0x5847bf>=0x0;_0x5847bf--)(_0x5a4304=_0x5ebe07[_0x5847bf])&&(_0x5df9d1=_0x5a4304(_0x5df9d1)||_0x5df9d1);return _0x5df9d1;},_0x1db15a=(_0x1f8c40,_0x45686f)=>(_0x302058,_0x2143e7)=>_0x45686f(_0x302058,_0x2143e7,_0x1f8c40);_0x4394f4[_0x223248(0x32e)]=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x446e6a,_0x180e1b,_0x47ec23,_0x167bbf){const _0x3d931c=_0x223248;super(),_0x44255b(this,'_status$',new _0x309759['BehaviorSubject'](_0x25172a[_0x3d931c(0x1de)][_0x3d931c(0x1cc)])),(this[_0x3d931c(0x33f)]=_0x446e6a,this[_0x3d931c(0x1d3)]=_0x180e1b,this[_0x3d931c(0x1b4)]=_0x47ec23,this['_uiPartsService']=_0x167bbf,this[_0x3d931c(0x226)](),this[_0x3d931c(0x2f2)]());}[_0x223248(0x2f2)](){const _0x13da62=_0x223248;this[_0x13da62(0x1e9)](this[_0x13da62(0x33f)][_0x13da62(0x244)][_0x13da62(0x278)](_0x309759['switchMap'](()=>{const _0x5cc1cc=_0x13da62,_0x6a7802=this[_0x5cc1cc(0x33f)][_0x5cc1cc(0x2f1)]();return _0x6a7802?this[_0x5cc1cc(0x1b4)]['getCollabEntity$'](_0x6a7802[_0x5cc1cc(0x302)]()):_0x309759['of'](null);}),_0x309759[_0x13da62(0x21a)](_0x43e3a1=>_0x43e3a1?_0x43e3a1[_0x13da62(0x338)]:_0x309759['of'](_0x25172a[_0x13da62(0x1de)][_0x13da62(0x1cc)])))[_0x13da62(0x1d9)](_0x5cb8ac=>{const _0x32a4d2=_0x13da62;this['_status$'][_0x32a4d2(0x428)](_0x5cb8ac);}));}['_initStatusComponent'](){const _0x1e4813=_0x223248;this[_0x1e4813(0x1e9)](this[_0x1e4813(0x3c0)][_0x1e4813(0x204)](_0x26ee6d[_0x1e4813(0x26e)][_0x1e4813(0x2d0)],()=>_0x26ee6d[_0x1e4813(0x198)](_0x644704({'status$':this[_0x1e4813(0x32b)]['asObservable']()}),this[_0x1e4813(0x1d3)])));}},_0x4394f4[_0x223248(0x32e)]=_0x44b863([_0x1db15a(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x1db15a(0x1,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x1db15a(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x355)])),_0x1db15a(0x3,_0x26ee6d[_0x223248(0x345)])],_0x4394f4[_0x223248(0x32e)]);function _0x644704(_0x2b358f){const {status$:_0x2605b8}=_0x2b358f;return function(){const _0x41d916=_0x316b;return _0x5bcf77[_0x41d916(0x32a)](_0xd9adf4,{'status$':_0x2605b8});};}var _0x48246f=Object[_0x223248(0x265)],_0x53de4f=(_0x220709,_0x4d3cc8,_0x44c15a,_0x341814)=>{const _0x5baab3=_0x223248;for(var _0x33a9c3=_0x341814>0x1?void 0x0:_0x341814?_0x48246f(_0x4d3cc8,_0x44c15a):_0x4d3cc8,_0x2742f7=_0x220709[_0x5baab3(0x25a)]-0x1,_0x30f584;_0x2742f7>=0x0;_0x2742f7--)(_0x30f584=_0x220709[_0x2742f7])&&(_0x33a9c3=_0x30f584(_0x33a9c3)||_0x33a9c3);return _0x33a9c3;},_0x293df1=(_0x2b8a01,_0x2dc577)=>(_0x502d16,_0x101208)=>_0x2dc577(_0x502d16,_0x101208,_0x2b8a01);let _0x1cac79=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x57bb7f,_0x3be8f4,_0x4279c2,_0x3cee2d,_0x3e5ac7,_0x405720){const _0xbcea1=_0x223248;super(),this[_0xbcea1(0x370)]=_0x57bb7f,this[_0xbcea1(0x403)]=_0x3be8f4,this[_0xbcea1(0x19d)]=_0x4279c2,this[_0xbcea1(0x318)]=_0x3cee2d,this[_0xbcea1(0x228)]=_0x3e5ac7,this['_localeService']=_0x405720,this[_0xbcea1(0x264)](),this[_0xbcea1(0x196)]();}[_0x223248(0x264)](){const _0x2a184d=_0x223248;this[_0x2a184d(0x1e9)](this[_0x2a184d(0x370)][_0x2a184d(0x3fd)](()=>{const _0x239a3d=_0x2a184d;if(this['_localCacheService'][_0x239a3d(0x364)][_0x239a3d(0x2c5)])return this['_localeService']['t'](_0x239a3d(0x2ed));}));}[_0x223248(0x196)](){const _0x538ae0=_0x223248;this[_0x538ae0(0x1e9)](this['_collaborationUIEventService'][_0x538ae0(0x294)][_0x538ae0(0x1d9)](_0xfa7478=>{const _0x33c542=_0x538ae0;_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)]['OTHER_CLIENT_EDITING']&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d['MessageType']['Warning'],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x2f0))}),_0xfa7478['id']===_0x25172a['CollaborationUIEventId'][_0x33c542(0x2e8)]&&this['_messageService'][_0x33c542(0x3a7)]({'type':_0x4cdd5d['MessageType'][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x241))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x38e)]&&this['_notificationService'][_0x33c542(0x3a7)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x3ef)),'type':'error','duration':0x0}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)]['CONFLICT']&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)]['Error'],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x241))+'('+_0xfa7478['data']+')'}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x377)]&&this['_messageService']['show']({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0xfa7478[_0x33c542(0x2a1)]||'')}),_0xfa7478['id']===_0x25172a['CollaborationUIEventId'][_0x33c542(0x3b8)]&&this['_messageService']['show']({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x270))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x2fb)]&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x1b9)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x1ad))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x1fb)]&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x1b9)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1cac79=_0x53de4f([_0x293df1(0x0,_0x26ee6d[_0x223248(0x390)]),_0x293df1(0x1,_0x25172a[_0x223248(0x20b)]),_0x293df1(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x376)])),_0x293df1(0x3,_0x26ee6d[_0x223248(0x300)]),_0x293df1(0x4,_0x26ee6d[_0x223248(0x424)]),_0x293df1(0x5,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x1fd)]))],_0x1cac79);const _0x1840e5=_0x223248(0x266),_0xda5603={},_0x51b8d1=_0x380f2c[_0x223248(0x306)]('uni.network.url-service');var _0x2da082=Object[_0x223248(0x265)],_0x46908c=(_0x2ec75e,_0x5f3012,_0x3c5843,_0x35e957)=>{const _0x227029=_0x223248;for(var _0x4ac198=_0x35e957>0x1?void 0x0:_0x35e957?_0x2da082(_0x5f3012,_0x3c5843):_0x5f3012,_0x1354a9=_0x2ec75e[_0x227029(0x25a)]-0x1,_0x3873d8;_0x1354a9>=0x0;_0x1354a9--)(_0x3873d8=_0x2ec75e[_0x1354a9])&&(_0x4ac198=_0x3873d8(_0x4ac198)||_0x4ac198);return _0x4ac198;},_0x4ca138=(_0x14e7fd,_0x1f69d5)=>(_0x1393b5,_0x453830)=>_0x1f69d5(_0x1393b5,_0x453830,_0x14e7fd);_0x4394f4[_0x223248(0x31a)]=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x143a86,_0x21387f,_0x416123,_0x48f529,_0x9c8f6){const _0x1edea6=_0x223248;super(),this[_0x1edea6(0x223)]=_0x143a86,this[_0x1edea6(0x25d)]=_0x21387f,this['_commandService']=_0x416123,this[_0x1edea6(0x236)]=_0x48f529,_0x9c8f6?_0x9c8f6==null||_0x9c8f6[_0x1edea6(0x254)]()[_0x1edea6(0x3f6)](()=>this[_0x1edea6(0x18f)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x1edea6(0x348)),this[_0x1edea6(0x18f)]());}async[_0x223248(0x18f)](){const _0x2762cb=_0x223248,_0x1875ac=this['_urlService'][_0x2762cb(0x313)]('unit'),_0x1e8785=this[_0x2762cb(0x223)][_0x2762cb(0x313)](_0x2762cb(0x33a)),_0x52d860=this['_urlService'][_0x2762cb(0x313)](_0x2762cb(0x317));if(!_0x1875ac||!_0x1e8785){this[_0x2762cb(0x25d)][_0x2762cb(0x3f0)](_0x2762cb(0x3bd),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x47f142=await this['_dataLoaderService'][_0x2762cb(0x3e9)](_0x1875ac,Number(_0x1e8785),_0x52d860);_0x47f142&&_0x47f142 instanceof _0x380f2c[_0x2762cb(0x417)]&&this[_0x2762cb(0x308)](_0x47f142);}async[_0x223248(0x308)](_0xb9cbb5){const _0x54a769=_0x223248;await this[_0x54a769(0x24f)](_0xb9cbb5),_0xb9cbb5[_0x54a769(0x298)]['pipe'](_0x309759['takeUntil'](this['dispose$']))[_0x54a769(0x1d9)](_0x2c50df=>{const _0xbe68cc=_0x54a769;_0x2c50df&&this[_0xbe68cc(0x250)](_0x2c50df);}),this['_urlService'][_0x54a769(0x385)][_0x54a769(0x278)](_0x309759[_0x54a769(0x40b)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xb9cbb5));}[_0x223248(0x250)](_0x42f696,_0x4aa157=!0x1){const _0x4d0419=_0x223248,_0x59167e=this[_0x4d0419(0x223)][_0x4d0419(0x313)](_0x4d0419(0x317));_0x42f696[_0x4d0419(0x3aa)]()!==_0x59167e&&this['_urlService'][_0x4d0419(0x24b)]('subunit',_0x42f696[_0x4d0419(0x3aa)](),_0x4aa157);}async['_updateSubUnitFromURLParams'](_0x313140){const _0x5ed4bb=_0x223248;var _0x2e1b24;const _0x1732d7=this[_0x5ed4bb(0x223)][_0x5ed4bb(0x313)](_0x5ed4bb(0x317));if(!_0x1732d7||!_0x313140[_0x5ed4bb(0x399)](_0x1732d7)){const _0x4de6d8=_0x313140[_0x5ed4bb(0x21f)]()[0x0],_0x3739c3=_0x313140['getSheetBySheetId'](_0x4de6d8);if(!_0x3739c3)return;this[_0x5ed4bb(0x250)](_0x3739c3,!0x0),await this[_0x5ed4bb(0x1f1)][_0x5ed4bb(0x234)](_0x5434f9[_0x5ed4bb(0x1a6)]['id'],{'unitId':_0x313140[_0x5ed4bb(0x302)](),'subUnitId':_0x4de6d8});return;}((_0x2e1b24=_0x313140[_0x5ed4bb(0x1c4)]())==null?void 0x0:_0x2e1b24[_0x5ed4bb(0x3aa)]())!==_0x1732d7&&await this[_0x5ed4bb(0x1f1)]['executeCommand'](_0x5434f9[_0x5ed4bb(0x1a6)]['id'],{'unitId':_0x313140[_0x5ed4bb(0x302)](),'subUnitId':_0x1732d7});}},_0x4394f4[_0x223248(0x31a)]=_0x46908c([_0x4ca138(0x0,_0x51b8d1),_0x4ca138(0x1,_0x380f2c['ILogService']),_0x4ca138(0x2,_0x380f2c[_0x223248(0x36e)]),_0x4ca138(0x3,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x372)])),_0x4ca138(0x4,_0x380f2c['Optional'](_0x1bf57e['IRemoteInstanceService']))],_0x4394f4['CollaborationDataLoaderController']);var _0x57e896=Object[_0x223248(0x265)],_0x56e0cf=(_0x2092ef,_0x2f9b82,_0x5614a6,_0x280260)=>{const _0x4da62f=_0x223248;for(var _0x69b459=_0x280260>0x1?void 0x0:_0x280260?_0x57e896(_0x2f9b82,_0x5614a6):_0x2f9b82,_0x2f390c=_0x2092ef[_0x4da62f(0x25a)]-0x1,_0x29300b;_0x2f390c>=0x0;_0x2f390c--)(_0x29300b=_0x2092ef[_0x2f390c])&&(_0x69b459=_0x29300b(_0x69b459)||_0x69b459);return _0x69b459;},_0x26b2f9=(_0x151a51,_0x1f6d1a)=>(_0x4bdf8b,_0x54d989)=>_0x1f6d1a(_0x4bdf8b,_0x54d989,_0x151a51);let _0x32a844=class{constructor(_0x3daba4,_0x33f31c,_0x329de9){const _0x45257f=_0x223248;this[_0x45257f(0x1d3)]=_0x3daba4,this[_0x45257f(0x329)]=_0x33f31c,this['_renderManagerService']=_0x329de9;}[_0x223248(0x2b9)](_0x101df7){const _0x15deca=_0x223248;this[_0x15deca(0x26f)](_0x101df7),this[_0x15deca(0x3a8)](_0x101df7);}[_0x223248(0x23d)](_0xd6e13a){const _0x482682=_0x223248,{unitID:_0x45d514}=_0xd6e13a,_0x32d92c=this['_renderManagerService'][_0x482682(0x334)](_0x45d514)[_0x482682(0x309)](_0x245556[_0x482682(0x268)]),{redoCache:_0x3d5522}=_0x32d92c[_0x482682(0x267)]();if(_0x3d5522[_0x482682(0x25a)]===0x0)return _0xd6e13a;let _0x12af0e=_0x380f2c[_0x482682(0x31c)][_0x482682(0x256)](_0xd6e13a[_0x482682(0x1d4)][0x0]);for(let _0x5c2d7f=0x0;_0x5c2d7f<_0x3d5522[_0x482682(0x25a)];_0x5c2d7f++){const _0x3d083b={'id':_0x482682(0x3f5),'params':{..._0x3d5522[_0x5c2d7f]}},_0x42f3a9=this[_0x482682(0x329)]['transformMutation'](_0x12af0e,_0x3d083b,!0x1);if(_0x4946eb[_0x482682(0x1b1)](_0x42f3a9))throw _0x42f3a9[_0x482682(0x3cb)];_0x12af0e=_0x42f3a9[_0x482682(0x1f2)];}return{..._0x380f2c[_0x482682(0x31c)][_0x482682(0x256)](_0xd6e13a),'mutations':[_0x12af0e]};}[_0x223248(0x26f)](_0x382b1f){const _0x268f01=_0x223248,{unitID:_0x333811}=_0x382b1f,_0x8d05aa=this[_0x268f01(0x373)][_0x268f01(0x334)](_0x333811)['with'](_0x245556['DocIMEInputManagerService']),{undoCache:_0x599b6f,redoCache:_0x58d804}=_0x8d05aa['getUndoRedoMutationParamsCache']();if(_0x599b6f[_0x268f01(0x25a)]===0x0||_0x58d804[_0x268f01(0x25a)]===0x0)return;const _0x4d80da=[],_0x10695f=[];let _0x5d4d4c=_0x380f2c[_0x268f01(0x31c)][_0x268f01(0x256)](_0x382b1f[_0x268f01(0x1d4)][0x0]),_0x372d43=_0x380f2c['Tools'][_0x268f01(0x256)](_0x382b1f[_0x268f01(0x1d4)][0x0]);for(let _0x148675=_0x599b6f['length']-0x1;_0x148675>=0x0;_0x148675--){const _0x15f805={'id':_0x268f01(0x3f5),'params':{..._0x599b6f[_0x148675]}},_0x29e107={'id':_0x268f01(0x3f5),'params':{..._0x58d804[_0x148675]}},_0x20718d=this[_0x268f01(0x329)][_0x268f01(0x240)](_0x5d4d4c,_0x15f805,!0x1),_0xdf6075=this['_transformService'][_0x268f01(0x240)](_0x372d43,_0x29e107,!0x1);if(_0x4946eb[_0x268f01(0x1b1)](_0x20718d))throw _0x20718d[_0x268f01(0x3cb)];if(_0x4946eb[_0x268f01(0x1b1)](_0xdf6075))throw _0xdf6075[_0x268f01(0x3cb)];_0x4d80da[_0x268f01(0x2a9)](_0x20718d['m2Prime'][_0x268f01(0x28f)]),_0x10695f[_0x268f01(0x2a9)](_0xdf6075[_0x268f01(0x353)][_0x268f01(0x28f)]),_0x5d4d4c=_0x20718d[_0x268f01(0x1f2)],_0x372d43=_0xdf6075['m1Prime'];}_0x8d05aa[_0x268f01(0x29e)]({'undoCache':_0x4d80da,'redoCache':_0x10695f});}['_transformPreviousActiveRange'](_0x27c4c0){const _0x3403c5=_0x223248,{unitID:_0x52af34}=_0x27c4c0,_0xcc4533=this[_0x3403c5(0x373)][_0x3403c5(0x334)](_0x52af34)[_0x3403c5(0x309)](_0x245556[_0x3403c5(0x268)]),_0x3ae3d3=_0xcc4533['getActiveRange']();if(_0x3ae3d3==null)return;const _0x37a414=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x27c4c0['unitID'],'actions':null,'textRanges':[_0x3ae3d3]}}],_0x122dda=this['_transformService'][_0x3403c5(0x263)](_0x27c4c0,_0x37a414);if(!_0x4946eb['isTransformMutationsWithChangesetSuccess'](_0x122dda))throw _0x122dda[_0x3403c5(0x3cb)];const _0x3b55c3=_0x122dda['m2Prime'][0x0][_0x3403c5(0x28f)][_0x3403c5(0x3d3)];Array[_0x3403c5(0x1c5)](_0x3b55c3)&&_0x3b55c3['length']&&_0xcc4533['setActiveRange'](_0x3b55c3[0x0]);}};_0x32a844=_0x56e0cf([_0x26b2f9(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x26b2f9(0x1,_0x4946eb[_0x223248(0x382)]),_0x26b2f9(0x2,_0x562cf5['IRenderManagerService'])],_0x32a844);var _0x25d3cf=Object['getOwnPropertyDescriptor'],_0xf02698=(_0x2cc5b4,_0x59c9b5,_0x5e51a8,_0x23c823)=>{const _0x1dc782=_0x223248;for(var _0x468224=_0x23c823>0x1?void 0x0:_0x23c823?_0x25d3cf(_0x59c9b5,_0x5e51a8):_0x59c9b5,_0x3df313=_0x2cc5b4[_0x1dc782(0x25a)]-0x1,_0xbc8c87;_0x3df313>=0x0;_0x3df313--)(_0xbc8c87=_0x2cc5b4[_0x3df313])&&(_0x468224=_0xbc8c87(_0x468224)||_0x468224);return _0x468224;},_0x2e01d2=(_0x30dcde,_0x229c65)=>(_0x2e60d7,_0xc47a8c)=>_0x229c65(_0x2e60d7,_0xc47a8c,_0x30dcde);let _0x2ef4ce=class{constructor(_0x37c6e8,_0x55fc0a,_0x4e3983){const _0x36b87f=_0x223248;this['_injector']=_0x37c6e8,this[_0x36b87f(0x329)]=_0x55fc0a,this['_docStateChangeManagerService']=_0x4e3983;}[_0x223248(0x34b)](_0x380d44){this['_transformHistoryAndStateStack'](_0x380d44);}[_0x223248(0x23d)](_0x27a926){const _0x880ba1=_0x223248,{unitID:_0x6b3c37}=_0x27a926,{collaboration:_0x226a73}=this[_0x880ba1(0x23a)][_0x880ba1(0x384)](_0x6b3c37);if(_0x226a73[_0x880ba1(0x25a)]===0x0)return _0x27a926;let _0x2d48fc=_0x380f2c['Tools']['deepClone'](_0x27a926[_0x880ba1(0x1d4)][0x0]);for(let _0x15256c=0x0;_0x15256c<_0x226a73[_0x880ba1(0x25a)];_0x15256c++){const _0x3f1b42={'id':_0x880ba1(0x3f5),'params':{'unitId':_0x226a73[_0x15256c]['unitId'],..._0x226a73[_0x15256c][_0x880ba1(0x3f1)]}},_0x38f3b0=this[_0x880ba1(0x329)][_0x880ba1(0x240)](_0x2d48fc,_0x3f1b42,!0x1);if(_0x4946eb[_0x880ba1(0x1b1)](_0x38f3b0))throw _0x38f3b0[_0x880ba1(0x3cb)];_0x2d48fc=_0x38f3b0['m1Prime'];}return{..._0x380f2c['Tools']['deepClone'](_0x27a926),'mutations':[_0x2d48fc]};}[_0x223248(0x1f0)](_0x3579af){const _0x3d9d7d=_0x223248,{unitID:_0x22c4e2}=_0x3579af,{history:_0x38fe9e,collaboration:_0x329158}=this['_docStateChangeManagerService']['getStateCache'](_0x22c4e2);if(_0x38fe9e['length']===0x0&&_0x329158['length']===0x0)return;const _0x35eec0=[],_0x3c8583=[];let _0x305508=_0x380f2c[_0x3d9d7d(0x31c)]['deepClone'](_0x3579af[_0x3d9d7d(0x1d4)][0x0]),_0x13ef13=_0x380f2c['Tools'][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]);for(let _0x4e1d37=_0x38fe9e['length']-0x1;_0x4e1d37>=0x0;_0x4e1d37--){const _0x441fbc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38fe9e[_0x4e1d37][_0x3d9d7d(0x341)],..._0x38fe9e[_0x4e1d37][_0x3d9d7d(0x3b6)]}},_0x5495dd={'id':_0x3d9d7d(0x3f5),'params':{'unitId':_0x38fe9e[_0x4e1d37][_0x3d9d7d(0x341)],..._0x38fe9e[_0x4e1d37][_0x3d9d7d(0x3f1)]}},_0x32571e=this[_0x3d9d7d(0x329)]['transformMutation'](_0x305508,_0x441fbc,!0x1),_0x50b547=this[_0x3d9d7d(0x329)]['transformMutation'](_0x13ef13,_0x5495dd,!0x1);if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x32571e))throw _0x32571e[_0x3d9d7d(0x3cb)];if(_0x4946eb['isTransformMutationFailure'](_0x50b547))throw _0x50b547['error'];_0x35eec0[_0x3d9d7d(0x2a9)]({..._0x38fe9e[_0x4e1d37],'undoState':_0x32571e[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)],'redoState':_0x50b547[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)]}),_0x305508=_0x32571e[_0x3d9d7d(0x1f2)],_0x13ef13=_0x50b547[_0x3d9d7d(0x1f2)];}_0x305508=_0x380f2c['Tools'][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]),_0x13ef13=_0x380f2c[_0x3d9d7d(0x31c)][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]);for(let _0x5ad359=_0x329158[_0x3d9d7d(0x25a)]-0x1;_0x5ad359>=0x0;_0x5ad359--){const _0x241172={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x329158[_0x5ad359]['unitId'],..._0x329158[_0x5ad359][_0x3d9d7d(0x3b6)]}},_0x62cfea={'id':_0x3d9d7d(0x3f5),'params':{'unitId':_0x329158[_0x5ad359][_0x3d9d7d(0x341)],..._0x329158[_0x5ad359][_0x3d9d7d(0x3f1)]}},_0x52d733=this[_0x3d9d7d(0x329)][_0x3d9d7d(0x240)](_0x305508,_0x241172,!0x1),_0x4fe05c=this[_0x3d9d7d(0x329)][_0x3d9d7d(0x240)](_0x13ef13,_0x62cfea,!0x1);if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x52d733))throw _0x52d733[_0x3d9d7d(0x3cb)];if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x4fe05c))throw _0x4fe05c[_0x3d9d7d(0x3cb)];_0x3c8583['unshift']({..._0x329158[_0x5ad359],'undoState':_0x52d733['m2Prime']['params'],'redoState':_0x4fe05c[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)]}),_0x305508=_0x52d733['m1Prime'],_0x13ef13=_0x4fe05c[_0x3d9d7d(0x1f2)];}this[_0x3d9d7d(0x23a)]['setStateCache'](_0x22c4e2,{'history':_0x35eec0,'collaboration':_0x3c8583});}};_0x2ef4ce=_0xf02698([_0x2e01d2(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x2e01d2(0x1,_0x4946eb[_0x223248(0x382)]),_0x2e01d2(0x2,_0x380f2c[_0x223248(0x352)](_0x245556[_0x223248(0x26a)]))],_0x2ef4ce);var _0x2d7dbf=Object['getOwnPropertyDescriptor'],_0x2c6e8e=(_0x5642cd,_0x50db90,_0x325b56,_0x185d79)=>{const _0x50a9e6=_0x223248;for(var _0x5d0c8b=_0x185d79>0x1?void 0x0:_0x185d79?_0x2d7dbf(_0x50db90,_0x325b56):_0x50db90,_0x558658=_0x5642cd[_0x50a9e6(0x25a)]-0x1,_0x5328bb;_0x558658>=0x0;_0x558658--)(_0x5328bb=_0x5642cd[_0x558658])&&(_0x5d0c8b=_0x5328bb(_0x5d0c8b)||_0x5d0c8b);return _0x5d0c8b;},_0x3a5bdf=(_0x259a22,_0x522639)=>(_0x35bcd6,_0x2137bb)=>_0x522639(_0x35bcd6,_0x2137bb,_0x259a22);let _0x1e55c8=class{constructor(_0x326fcf,_0x54a506){const _0xe60b06=_0x223248;this[_0xe60b06(0x1d3)]=_0x326fcf,this[_0xe60b06(0x329)]=_0x54a506;}[_0x223248(0x3ac)](_0xa70327){const _0x79ae46=_0x223248;var _0x53a98d;const _0x19d9fb=this[_0x79ae46(0x1d3)][_0x79ae46(0x3cf)](_0x1bf15b[_0x79ae46(0x279)]),_0xa3b69a=(_0x53a98d=_0x19d9fb['getDocRanges']())!=null?_0x53a98d:[];if(_0xa3b69a['length']===0x0)return;const _0x24895b=_0xa70327[_0x79ae46(0x293)],_0x564b3b=[{'id':_0x79ae46(0x3f5),'params':{'unitId':_0x24895b,'actions':null,'textRanges':_0xa3b69a}}],_0x2c674d=this[_0x79ae46(0x329)]['transformMutationsWithChangeset'](_0xa70327,_0x564b3b);if(!_0x4946eb[_0x79ae46(0x2ac)](_0x2c674d))throw _0x2c674d[_0x79ae46(0x3cb)];const _0xb78b0c=_0x2c674d['m2Prime'][0x0][_0x79ae46(0x28f)][_0x79ae46(0x3d3)];Array[_0x79ae46(0x1c5)](_0xb78b0c)&&_0xb78b0c['length']&&_0x19d9fb[_0x79ae46(0x423)](_0xb78b0c,{'unitId':_0x24895b,'subUnitId':_0x24895b},!0x1);}};_0x1e55c8=_0x2c6e8e([_0x3a5bdf(0x0,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x3a5bdf(0x1,_0x4946eb['ITransformService'])],_0x1e55c8);var _0x3fe5ee=Object[_0x223248(0x265)],_0x134018=(_0x89320d,_0x591e1c,_0x42a0f5,_0x61390f)=>{for(var _0x132a49=_0x61390f>0x1?void 0x0:_0x61390f?_0x3fe5ee(_0x591e1c,_0x42a0f5):_0x591e1c,_0x2818d1=_0x89320d['length']-0x1,_0x57db8f;_0x2818d1>=0x0;_0x2818d1--)(_0x57db8f=_0x89320d[_0x2818d1])&&(_0x132a49=_0x57db8f(_0x132a49)||_0x132a49);return _0x132a49;},_0x360b6a=(_0x2aa3cb,_0xe80aa8)=>(_0x22f098,_0x3ce83d)=>_0xe80aa8(_0x22f098,_0x3ce83d,_0x2aa3cb);let _0x2d6223=class extends _0x380f2c['Disposable']{constructor(_0xaf685c,_0x12f5a1,_0x181172,_0x21c94c,_0x268cc4,_0x16c37b,_0x2f57f3,_0x2e5a1e){const _0x555ff1=_0x223248;super(),_0x44255b(this,_0x555ff1(0x32b),new _0x309759[(_0x555ff1(0x3e2))](_0x25172a['CollaborationStatus'][_0x555ff1(0x1cc)])),(this[_0x555ff1(0x23a)]=_0xaf685c,this[_0x555ff1(0x1b4)]=_0x12f5a1,this[_0x555ff1(0x1bc)]=_0x181172,this[_0x555ff1(0x2d8)]=_0x21c94c,this[_0x555ff1(0x1ff)]=_0x268cc4,this['_docSyncEditingCollabCursorService']=_0x16c37b,this[_0x555ff1(0x318)]=_0x2f57f3,this['_localeService']=_0x2e5a1e,this[_0x555ff1(0x2c7)]());}[_0x223248(0x2c7)](){const _0x445f7c=_0x223248;this[_0x445f7c(0x1e9)](this[_0x445f7c(0x1b4)][_0x445f7c(0x20a)][_0x445f7c(0x1d9)](_0x6efa92=>{const _0x335c75=_0x445f7c,_0x51ae5b=this[_0x335c75(0x23a)][_0x335c75(0x1bb)][_0x335c75(0x1d9)](_0x258650=>{const _0x45cd35=_0x335c75;if(_0x258650==null)return;const {unitId:_0x471cef,redoState:_0x333353,commandId:_0x2ce930}=_0x258650;if(_0x471cef!==_0x6efa92[_0x45cd35(0x293)])return;const _0x4dadf9={'id':_0x2ce930,'type':_0x380f2c[_0x45cd35(0x3d4)][_0x45cd35(0x2d1)],'params':{'unitId':_0x471cef,'actions':_0x333353[_0x45cd35(0x2aa)],'textRanges':null}};_0x6efa92[_0x45cd35(0x1c2)](_0x4dadf9);});if(_0x6efa92[_0x335c75(0x1e9)](_0x51ae5b),_0x6efa92 instanceof _0x25172a[_0x335c75(0x1e5)]){const _0x84c444={'onTransformIME':_0x19cc3f=>this['_docTransformIMECacheService'][_0x335c75(0x2b9)](_0x19cc3f),'onTransformState':_0x54b407=>this[_0x335c75(0x2d8)]['transformStateCache'](_0x54b407),'onTransformSelections':_0x1065f8=>this[_0x335c75(0x1ff)][_0x335c75(0x3ac)](_0x1065f8),'onSyncEditingCollabCursor':_0x2ee3d6=>this[_0x335c75(0x237)][_0x335c75(0x3b5)](_0x2ee3d6),'onTransformRemoteChangesetByIMECache':_0x4fafea=>this[_0x335c75(0x1bc)]['transformRemoteChangeset'](_0x4fafea),'onTransformRemoteChangesetByStateCache':_0x348022=>this[_0x335c75(0x2d8)][_0x335c75(0x23d)](_0x348022)};_0x6efa92['addHandlerCallback'](_0x84c444);}}));}};_0x2d6223=_0x134018([_0x360b6a(0x0,_0x380f2c[_0x223248(0x352)](_0x245556[_0x223248(0x26a)])),_0x360b6a(0x1,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x355)])),_0x360b6a(0x2,_0x380f2c[_0x223248(0x352)](_0x32a844)),_0x360b6a(0x3,_0x380f2c[_0x223248(0x352)](_0x2ef4ce)),_0x360b6a(0x4,_0x380f2c['Inject'](_0x1e55c8)),_0x360b6a(0x5,_0x380f2c[_0x223248(0x352)](_0x19792d)),_0x360b6a(0x6,_0x26ee6d[_0x223248(0x300)]),_0x360b6a(0x7,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x1fd)]))],_0x2d6223);var _0x398512=Object[_0x223248(0x265)],_0x4734bc=(_0xc45cbb,_0x44d3b2,_0x5da003,_0x50a0d7)=>{const _0xb8a5f1=_0x223248;for(var _0x520283=_0x50a0d7>0x1?void 0x0:_0x50a0d7?_0x398512(_0x44d3b2,_0x5da003):_0x44d3b2,_0x5b90f8=_0xc45cbb[_0xb8a5f1(0x25a)]-0x1,_0x3d674b;_0x5b90f8>=0x0;_0x5b90f8--)(_0x3d674b=_0xc45cbb[_0x5b90f8])&&(_0x520283=_0x3d674b(_0x520283)||_0x520283);return _0x520283;},_0x3e534c=(_0x1304ac,_0x5cdd23)=>(_0x3dd40e,_0x3885f4)=>_0x5cdd23(_0x3dd40e,_0x3885f4,_0x1304ac);let _0x98e152=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x47300f,_0x444d8d,_0x2e8598){const _0x3bff94=_0x223248;super(),_0x44255b(this,_0x3bff94(0x422),new Map()),_0x44255b(this,_0x3bff94(0x425),new Map()),_0x44255b(this,_0x3bff94(0x277),!0x1),(this['_configService']=_0x47300f,this[_0x3bff94(0x3e8)]=_0x444d8d,this[_0x3bff94(0x332)]=_0x2e8598);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x223248(0x1e7)](){this['_disabled']=!0x1;}get[_0x223248(0x364)](){return this['_saveTaskMap'];}[_0x223248(0x1d8)](){const _0x5c7f34=_0x223248;this[_0x5c7f34(0x21d)]()[_0x5c7f34(0x3f6)](()=>super[_0x5c7f34(0x1d8)]());}async[_0x223248(0x28e)](_0x180695){const _0xa6cbd3=_0x223248;return this[_0xa6cbd3(0x277)]?null:this[_0xa6cbd3(0x3e8)][_0xa6cbd3(0x272)](_0x25172a[_0xa6cbd3(0x392)](_0x180695));}async[_0x223248(0x271)](_0x4d3816,_0x4232b1){const _0x496037=_0x223248;return!!this[_0x496037(0x3e8)]['setItem'](_0x4d3816,_0x4232b1);}[_0x223248(0x2ce)](_0xd9f7f5,_0x321723,_0x2bf1b5,_0x58dc54){const _0xda390d=_0x223248,_0x2b812f=this[_0xda390d(0x332)][_0xda390d(0x24d)](_0xd9f7f5);this[_0xda390d(0x422)][_0xda390d(0x269)](_0xd9f7f5,{'unitID':_0xd9f7f5,'type':_0x321723,'awaitingChangeset':_0x2bf1b5,'mutations':_0x58dc54,'rev':_0x2b812f}),this['_saveTaskMap'][_0xda390d(0x2e5)](_0xd9f7f5)||this['_scheduleSaving'](_0xd9f7f5);}[_0x223248(0x22f)](_0x413a95){const _0xc20009=_0x223248,_0x5a1037=this[_0xc20009(0x3cc)]();_0x5a1037===0x0?this['_saveCache'](_0x413a95):this[_0xc20009(0x425)][_0xc20009(0x269)](_0x413a95,setTimeout(()=>this[_0xc20009(0x33d)](_0x413a95),_0x5a1037));}[_0x223248(0x3cc)](){const _0x2de0b7=_0x223248;var _0x4c8a39;return(_0x4c8a39=this[_0x2de0b7(0x418)][_0x2de0b7(0x3d1)](_0x25172a[_0x2de0b7(0x21e)]))!=null?_0x4c8a39:_0x25172a['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x171e00){const _0x59e43e=_0x223248,_0x354c37=this['_saveTaskMap'][_0x59e43e(0x3cf)](_0x171e00);return _0x354c37!==void 0x0&&window[_0x59e43e(0x22d)](_0x354c37),this[_0x59e43e(0x3e8)][_0x59e43e(0x260)](_0x25172a['getLocalCacheKey'](_0x171e00),this[_0x59e43e(0x422)]['get'](_0x171e00))[_0x59e43e(0x3f6)](()=>this[_0x59e43e(0x425)][_0x59e43e(0x344)](_0x171e00));}async[_0x223248(0x21d)](){const _0x2bcdd4=_0x223248,_0x21f066=[];this[_0x2bcdd4(0x425)][_0x2bcdd4(0x258)]((_0x188dda,_0x464fcd)=>{const _0x3a0c33=_0x2bcdd4;window[_0x3a0c33(0x22d)](_0x188dda),_0x21f066['push'](this[_0x3a0c33(0x33d)](_0x464fcd)[_0x3a0c33(0x3f6)](()=>{const _0x46d33b=_0x3a0c33;this[_0x46d33b(0x425)]['delete'](_0x464fcd);}));}),await Promise[_0x2bcdd4(0x340)](_0x21f066);}};_0x98e152=_0x4734bc([_0x3e534c(0x0,_0x380f2c['IConfigService']),_0x3e534c(0x1,_0x380f2c[_0x223248(0x41b)]),_0x3e534c(0x2,_0x380f2c[_0x223248(0x352)](_0x4946eb[_0x223248(0x2b6)]))],_0x98e152);class _0x105840 extends _0x380f2c[_0x223248(0x1a7)]{constructor(){const _0x4f9d32=_0x223248;super(),_0x44255b(this,'urlChange$'),this[_0x4f9d32(0x385)]=_0x309759['fromEvent'](window,_0x4f9d32(0x195))[_0x4f9d32(0x278)](_0x309759['takeUntil'](this[_0x4f9d32(0x41a)]),_0x309759[_0x4f9d32(0x411)](0x1),_0x309759[_0x4f9d32(0x2b2)](void 0x0));}[_0x223248(0x24b)](_0x4d92b3,_0x34f5df,_0x4f46aa=!0x1){const _0x13115c=_0x223248,_0x21accb=new URL(window[_0x13115c(0x315)][_0x13115c(0x2f3)]);_0x21accb['searchParams'][_0x13115c(0x269)](_0x4d92b3,_0x34f5df),_0x4f46aa?window[_0x13115c(0x274)][_0x13115c(0x1df)]('','',_0x21accb[_0x13115c(0x3d7)]()):window[_0x13115c(0x274)][_0x13115c(0x357)]('','',_0x21accb[_0x13115c(0x3d7)]());}[_0x223248(0x3f8)](_0x1ba2c2,_0x57bc0b=!0x1){const _0x34ac53=_0x223248,_0x3dc56a=new URL(window[_0x34ac53(0x315)]['href']);_0x3dc56a['searchParams'][_0x34ac53(0x344)](_0x1ba2c2),_0x57bc0b?window['history']['replaceState']('','',_0x3dc56a[_0x34ac53(0x3d7)]()):window[_0x34ac53(0x274)]['pushState']('','',_0x3dc56a[_0x34ac53(0x3d7)]());}[_0x223248(0x313)](_0x53e055){const _0x14ab34=_0x223248;var _0x1b4f7b;return(_0x1b4f7b=new URL(window[_0x14ab34(0x315)][_0x14ab34(0x2f3)])[_0x14ab34(0x205)][_0x14ab34(0x3cf)](_0x53e055))!=null?_0x1b4f7b:void 0x0;}}var _0x2c57d5=Object[_0x223248(0x40a)],_0x42bfa1=Object['getOwnPropertyDescriptor'],_0x2c1d70=(_0x1a8182,_0x4a6bcc,_0x2f47f9)=>_0x4a6bcc in _0x1a8182?_0x2c57d5(_0x1a8182,_0x4a6bcc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f47f9}):_0x1a8182[_0x4a6bcc]=_0x2f47f9,_0x1c60d5=(_0x219a9d,_0x211594,_0x508e65,_0x533ca9)=>{const _0x3f8744=_0x223248;for(var _0x540949=_0x533ca9>0x1?void 0x0:_0x533ca9?_0x42bfa1(_0x211594,_0x508e65):_0x211594,_0x3cffa6=_0x219a9d[_0x3f8744(0x25a)]-0x1,_0x5a91af;_0x3cffa6>=0x0;_0x3cffa6--)(_0x5a91af=_0x219a9d[_0x3cffa6])&&(_0x540949=_0x5a91af(_0x540949)||_0x540949);return _0x540949;},_0x16ee5e=(_0x18e0ea,_0x4ebd84)=>(_0x573503,_0x447c76)=>_0x4ebd84(_0x573503,_0x447c76,_0x18e0ea),_0xaa68f1=(_0x1a259e,_0x535dd4,_0x4098a9)=>_0x2c1d70(_0x1a259e,_0x535dd4+'',_0x4098a9);const _0xdcb9e=_0x223248(0x2a0);_0x4394f4['UniverCollaborationClientUIPlugin']=class extends _0x380f2c[_0x223248(0x409)]{constructor(_0x293e28=_0xda5603,_0x2c7134,_0x313a7e,_0x444bd2){const _0x2ae082=_0x223248;super(),this[_0x2ae082(0x386)]=_0x293e28,this['_renderManagerService']=_0x2c7134,this['_injector']=_0x313a7e,this[_0x2ae082(0x418)]=_0x444bd2;const {..._0x36d59b}=_0x380f2c['merge']({},_0xda5603,this[_0x2ae082(0x386)]);this[_0x2ae082(0x418)]['setConfig'](_0x1840e5,_0x36d59b);}[_0x223248(0x379)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x223248(0x350)](){const _0x527a5a=_0x223248;this[_0x527a5a(0x299)]();}[_0x223248(0x19f)](){const _0x26bead=_0x223248;var _0xcf2d1e;const _0x3a1b3c=[[_0xd7751],[_0x1e55c8],[_0x32a844],[_0x2ef4ce],[_0x19792d],[_0x51b8d1,{'useClass':_0x105840}],[_0x54dd82[_0x26bead(0x206)],{'useClass':_0x54dd82['WebSocketService']}],[_0x25172a[_0x26bead(0x20b)],{'useClass':_0x98e152}],[_0x4394f4[_0x26bead(0x32e)]],[_0x2d6223],[_0x1cac79],[_0x4f3310],[_0x287dac],[_0x4394f4[_0x26bead(0x31a)]]];_0x380f2c[_0x26bead(0x28b)](this[_0x26bead(0x1d3)],_0x380f2c[_0x26bead(0x243)](_0x3a1b3c,(_0xcf2d1e=this['_config'])==null?void 0x0:_0xcf2d1e[_0x26bead(0x336)]));}[_0x223248(0x299)](){const _0x2ada80=_0x223248;this[_0x2ada80(0x1e9)](this[_0x2ada80(0x373)]['registerRenderModule'](_0x380f2c[_0x2ada80(0x1a9)][_0x2ada80(0x30f)],[_0x5dbc37])),this[_0x2ada80(0x1e9)](this[_0x2ada80(0x373)][_0x2ada80(0x2c0)](_0x380f2c['UniverInstanceType'][_0x2ada80(0x22a)],[_0x15d7ee]));}[_0x223248(0x3fc)](){const _0x2625ab=_0x223248;_0x380f2c[_0x2625ab(0x3e6)](this['_injector'],[[_0x4f3310],[_0x4394f4[_0x2625ab(0x32e)]],[_0x2d6223],[_0x1cac79],[_0x4394f4['CollaborationDataLoaderController']]]);}},_0xaa68f1(_0x4394f4[_0x223248(0x2e6)],_0x223248(0x3b3),_0xdcb9e),_0x4394f4[_0x223248(0x2e6)]=_0x1c60d5([_0x380f2c[_0x223248(0x194)](_0x25172a[_0x223248(0x2e2)]),_0x16ee5e(0x1,_0x562cf5['IRenderManagerService']),_0x16ee5e(0x2,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x16ee5e(0x3,_0x380f2c[_0x223248(0x3df)])],_0x4394f4[_0x223248(0x2e6)]);var _0xfe2645=Object[_0x223248(0x265)],_0x319922=(_0x2a3164,_0x19e68f,_0x2abe04,_0x270245)=>{const _0x306f75=_0x223248;for(var _0x10fdf7=_0x270245>0x1?void 0x0:_0x270245?_0xfe2645(_0x19e68f,_0x2abe04):_0x19e68f,_0x2d7e83=_0x2a3164[_0x306f75(0x25a)]-0x1,_0x1dff4b;_0x2d7e83>=0x0;_0x2d7e83--)(_0x1dff4b=_0x2a3164[_0x2d7e83])&&(_0x10fdf7=_0x1dff4b(_0x10fdf7)||_0x10fdf7);return _0x10fdf7;},_0x588dd3=(_0x233b9f,_0x14776f)=>(_0x543bb6,_0x37e3b3)=>_0x14776f(_0x543bb6,_0x37e3b3,_0x233b9f);_0x4394f4['BrowserCollaborationSocketService']=class extends _0x25172a[_0x223248(0x41c)]{constructor(_0x40ee8e,_0x5972b6,_0x5eb0af,_0x6eaeb2,_0x117ea7){super(_0x40ee8e,_0x5972b6,_0x5eb0af,_0x6eaeb2,_0x117ea7);}async[_0x223248(0x38c)](_0x3fba41){const _0x3e79b4=_0x223248,_0x39d21c=await this[_0x3e79b4(0x3ae)](),_0x456e48=this[_0x3e79b4(0x261)](_0x3fba41,_0x39d21c);return this[_0x3e79b4(0x3c9)](_0x456e48);}['_createSocketURL'](_0x27416d,_0x55144a){const _0x5478f9=_0x223248,_0x21567d=typeof window>'u'?new URL(_0x27416d):new URL(_0x27416d,window[_0x5478f9(0x315)][_0x5478f9(0x211)]);_0x21567d[_0x5478f9(0x205)][_0x5478f9(0x269)](_0x5478f9(0x27d),_0x55144a);const _0x4aa143=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5478f9(0x315)][_0x5478f9(0x3a1)]);return _0x4aa143[_0x5478f9(0x3cf)](_0x5478f9(0x1a1))&&_0x21567d[_0x5478f9(0x205)]['set'](_0x5478f9(0x1a1),_0x4aa143['get']('runId')),_0x21567d[_0x5478f9(0x3d7)]();}async[_0x223248(0x3ae)](){const _0x5ee417=_0x223248;var _0x1bc845,_0x3acc2a,_0x45ed13;const _0x2ec832=this[_0x5ee417(0x418)][_0x5ee417(0x3d1)](_0x25172a[_0x5ee417(0x366)]),_0x374487=(_0x1bc845=_0x2ec832==null?void 0x0:_0x2ec832[_0x5ee417(0x216)])!=null?_0x1bc845:_0x25172a[_0x5ee417(0x1dd)];return(_0x45ed13=(_0x3acc2a=(await this[_0x5ee417(0x25e)][_0x5ee417(0x3cf)](_0x374487,{'headers':{'Content-Type':_0x5ee417(0x2b3)}}))[_0x5ee417(0x39c)])==null?void 0x0:_0x3acc2a[_0x5ee417(0x30c)])!=null?_0x45ed13:'';}},_0x4394f4['BrowserCollaborationSocketService']=_0x319922([_0x588dd3(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x588dd3(0x1,_0x380f2c['Inject'](_0x54dd82[_0x223248(0x1c0)])),_0x588dd3(0x2,_0x380f2c[_0x223248(0x3df)]),_0x588dd3(0x3,_0x380f2c[_0x223248(0x325)]),_0x588dd3(0x4,_0x4946eb[_0x223248(0x2fe)])],_0x4394f4[_0x223248(0x18c)]);const _0x4708a1=0x7530,_0x15b1d8=_0x223248(0x21b);class _0x590cb8 extends _0x380f2c[_0x223248(0x203)]{constructor(){const _0x33de8d=_0x223248;super(),_0x44255b(this,_0x33de8d(0x347),_0x380f2c[_0x33de8d(0x314)]()),_0x44255b(this,_0x33de8d(0x30e),new Set()),_0x44255b(this,_0x33de8d(0x391),new Map()),_0x44255b(this,_0x33de8d(0x238),null),_0x44255b(this,_0x33de8d(0x210),new Map()),_0x44255b(this,'_unitStatus',new Map()),this[_0x33de8d(0x18f)]();}[_0x223248(0x1d8)](){const _0x4fac1e=_0x223248;super[_0x4fac1e(0x1d8)](),this[_0x4fac1e(0x210)][_0x4fac1e(0x258)]((_0x1500a2,_0x1c81d5)=>this[_0x4fac1e(0x38a)](_0x1c81d5)),this[_0x4fac1e(0x238)]&&window[_0x4fac1e(0x37b)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x5bf10b){const _0x3f11f9=_0x223248;return this[_0x3f11f9(0x1a3)](_0x5bf10b)['pipe'](_0x309759[_0x3f11f9(0x1d5)]());}[_0x223248(0x405)](_0x221c7f){const _0xdb27ee=_0x223248;this[_0xdb27ee(0x30e)]['size']===0x0&&this[_0xdb27ee(0x3fb)](),this['_selfUnitIDs'][_0xdb27ee(0x23c)](_0x221c7f),this['_send']({'type':0x0,'memberID':this[_0xdb27ee(0x347)],'unitIDs':[_0x221c7f],'isForwarded':!0x1});}['disposeUnit'](_0x178d4d){const _0xe58e05=_0x223248;this[_0xe58e05(0x30e)][_0xe58e05(0x344)](_0x178d4d),this[_0xe58e05(0x30e)][_0xe58e05(0x2c5)]===0x0&&this['_heartbeatTimer']&&window[_0xe58e05(0x37b)](this[_0xe58e05(0x238)]);}[_0x223248(0x18f)](){const _0x1bdde3=_0x223248;this[_0x1bdde3(0x1e9)](_0x380f2c[_0x1bdde3(0x242)](_0x309759['fromEvent'](window,'storage')[_0x1bdde3(0x1d9)](_0x165368=>{const _0x2fc772=_0x1bdde3;if(_0x165368[_0x2fc772(0x1af)]!==_0x15b1d8||!_0x165368[_0x2fc772(0x202)])return;const _0x25a5bb=JSON[_0x2fc772(0x33b)](_0x165368[_0x2fc772(0x202)]);this['_handleEvent'](_0x25a5bb);}))),window[_0x1bdde3(0x1d6)](_0x1bdde3(0x3e1),()=>this[_0x1bdde3(0x39d)]({'type':0x1,'memberID':this[_0x1bdde3(0x347)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x223248(0x303)](_0x55efb9){const _0xbfa116=_0x223248;switch(_0x55efb9[_0xbfa116(0x33a)]){case 0x0:this[_0xbfa116(0x2dc)](_0x55efb9);break;case 0x1:this['_handleLeaveEvent'](_0x55efb9);break;case 0x2:this['_handleHeartbeatEvent'](_0x55efb9);break;}}[_0x223248(0x2dc)](_0x4a10c5){const _0x46ecd5=_0x223248,{unitIDs:_0x1fc6c1,memberID:_0xf40744,isForwarded:_0x2448a9}=_0x4a10c5;_0x1fc6c1[_0x46ecd5(0x258)](_0x568712=>{const _0x16c077=_0x46ecd5;if(!_0x2448a9&&this['_unitOnClients'][_0x16c077(0x2e5)](_0x568712)&&this[_0x16c077(0x1a3)](_0x568712)[_0x16c077(0x428)](_0x25172a[_0x16c077(0x3a3)][_0x16c077(0x3a2)]),!this[_0x16c077(0x391)]['has'](_0x568712)||!this[_0x16c077(0x391)]['get'](_0x568712)['has'](_0xf40744)){const _0xff0a6f=this[_0x16c077(0x391)]['get'](_0x568712)||new Set();_0xff0a6f[_0x16c077(0x23c)](_0xf40744),this[_0x16c077(0x391)]['set'](_0x568712,_0xff0a6f),this[_0x16c077(0x219)](_0xf40744);}}),_0x2448a9||this[_0x46ecd5(0x39d)]({'type':0x0,'memberID':this[_0x46ecd5(0x347)],'unitIDs':[...this[_0x46ecd5(0x30e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xc770e8){const _0x38f14b=_0x223248;this[_0x38f14b(0x38a)](_0xc770e8);const _0x5858d6=window['setTimeout'](()=>{const _0x1d6d33=_0x38f14b;this[_0x1d6d33(0x391)][_0x1d6d33(0x258)](_0x57c37d=>{_0x57c37d['delete'](_0xc770e8);});},_0x4708a1*0x2);this[_0x38f14b(0x210)]['set'](_0xc770e8,_0x5858d6);}[_0x223248(0x38a)](_0x3ad6a5){const _0x8a10a1=_0x223248;if(this[_0x8a10a1(0x210)][_0x8a10a1(0x2e5)](_0x3ad6a5)){const _0x39b826=this[_0x8a10a1(0x210)][_0x8a10a1(0x3cf)](_0x3ad6a5);_0x39b826&&window[_0x8a10a1(0x22d)](_0x39b826),this['_clearOtherTimers'][_0x8a10a1(0x269)](_0x3ad6a5,null);}}['_handleLeaveEvent'](_0x286cb5){const _0x4dd4de=_0x223248,{memberID:_0x182cc0,unitIDs:_0x91939f}=_0x286cb5;_0x91939f['forEach'](_0x1d2409=>{const _0x806e8b=_0x316b;var _0x52e501;const _0x126d8b=this[_0x806e8b(0x391)][_0x806e8b(0x3cf)](_0x1d2409);_0x126d8b&&(_0x126d8b[_0x806e8b(0x344)](_0x182cc0),(_0x52e501=this[_0x806e8b(0x1a3)](_0x1d2409))==null||_0x52e501[_0x806e8b(0x428)](_0x126d8b[_0x806e8b(0x2c5)]===0x0?_0x25172a[_0x806e8b(0x3a3)][_0x806e8b(0x20c)]:_0x25172a[_0x806e8b(0x3a3)][_0x806e8b(0x3a2)]));}),this[_0x4dd4de(0x38a)](_0x182cc0);}[_0x223248(0x2d6)](_0x2eff1e){const _0x34e9e6=_0x223248;this[_0x34e9e6(0x219)](_0x2eff1e['memberID']);}['_send'](_0x3c6c2d){const _0x3e9974=_0x223248;localStorage[_0x3e9974(0x260)](_0x15b1d8,JSON[_0x3e9974(0x26d)](_0x3c6c2d));}[_0x223248(0x3fb)](){const _0x297fc2=_0x223248;this[_0x297fc2(0x238)]=window[_0x297fc2(0x2be)](()=>{const _0x28c8d7=_0x297fc2;this['_send']({'type':0x2,'memberID':this[_0x28c8d7(0x347)]});},_0x4708a1);}['_ensureSubject'](_0x574be2){const _0x330439=_0x223248;return this[_0x330439(0x307)][_0x330439(0x2e5)](_0x574be2)||this[_0x330439(0x307)][_0x330439(0x269)](_0x574be2,new _0x309759[(_0x330439(0x3e2))](_0x25172a[_0x330439(0x3a3)][_0x330439(0x20c)])),this[_0x330439(0x307)][_0x330439(0x3cf)](_0x574be2);}}var _0x44d99f=(_0x572f7a=>(_0x572f7a[_0x572f7a[_0x223248(0x304)]=0x0]=_0x223248(0x304),_0x572f7a[_0x572f7a['OK']=0x1]='OK',_0x572f7a[_0x572f7a[_0x223248(0x351)]=0x2]=_0x223248(0x351),_0x572f7a[_0x572f7a[_0x223248(0x38e)]=0x3]=_0x223248(0x38e),_0x572f7a[_0x572f7a[_0x223248(0x29d)]=0x4]='NOT_FOUND',_0x572f7a[_0x572f7a[_0x223248(0x36a)]=0x5]=_0x223248(0x36a),_0x572f7a[_0x572f7a['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x572f7a[_0x572f7a[_0x223248(0x1be)]=0x7]='INVALID_ARGUMENT',_0x572f7a[_0x572f7a[_0x223248(0x281)]=0x8]=_0x223248(0x281),_0x572f7a[_0x572f7a['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x572f7a[_0x572f7a[_0x223248(0x360)]=0xa]=_0x223248(0x360),_0x572f7a[_0x572f7a[_0x223248(0x2cc)]=0x1389]=_0x223248(0x2cc),_0x572f7a[_0x572f7a[_0x223248(0x2b8)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x572f7a[_0x572f7a[_0x223248(0x2f9)]=0x1772]=_0x223248(0x2f9),_0x572f7a[_0x572f7a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x223248(0x346),_0x572f7a[_0x572f7a[_0x223248(0x3b7)]=0x1b59]=_0x223248(0x3b7),_0x572f7a[_0x572f7a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x223248(0x26c),_0x572f7a[_0x572f7a[_0x223248(0x29c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x572f7a[_0x572f7a[_0x223248(0x3bc)]=0x1b5c]=_0x223248(0x3bc),_0x572f7a[_0x572f7a[_0x223248(0x3b1)]=0x1b5d]=_0x223248(0x3b1),_0x572f7a[_0x572f7a[_0x223248(0x375)]=0x1f41]=_0x223248(0x375),_0x572f7a[_0x572f7a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x572f7a[_0x572f7a[_0x223248(0x361)]=0x232a]=_0x223248(0x361),_0x572f7a[_0x572f7a[_0x223248(0x1ea)]=0x232b]=_0x223248(0x1ea),_0x572f7a[_0x572f7a[_0x223248(0x414)]=0x232c]=_0x223248(0x414),_0x572f7a[_0x572f7a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x223248(0x2af),_0x572f7a[_0x572f7a[_0x223248(0x359)]=0x2711]=_0x223248(0x359),_0x572f7a[_0x572f7a[_0x223248(0x27f)]=0x2712]=_0x223248(0x27f),_0x572f7a[_0x572f7a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x223248(0x29a),_0x572f7a[_0x572f7a[_0x223248(0x1b5)]=0x2714]=_0x223248(0x1b5),_0x572f7a[_0x572f7a[_0x223248(0x2ad)]=0x271a]=_0x223248(0x2ad),_0x572f7a[_0x572f7a['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x223248(0x1e6),_0x572f7a[_0x572f7a[_0x223248(0x2c9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x572f7a[_0x572f7a[_0x223248(0x1e2)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x572f7a[_0x572f7a[_0x223248(0x311)]=0x2ee2]='INVALID_INVITE_CODE',_0x572f7a[_0x572f7a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x223248(0x37e),_0x572f7a[_0x572f7a[_0x223248(0x1fe)]=0x2ee4]=_0x223248(0x1fe),_0x572f7a[_0x572f7a[_0x223248(0x3bf)]=0x2ee5]=_0x223248(0x3bf),_0x572f7a[_0x572f7a[_0x223248(0x3ab)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x572f7a[_0x572f7a[_0x223248(0x218)]=0x32ca]=_0x223248(0x218),_0x572f7a[_0x572f7a[_0x223248(0x34d)]=0x32cb]=_0x223248(0x34d),_0x572f7a[_0x572f7a[_0x223248(0x18d)]=-0x1]=_0x223248(0x18d),_0x572f7a))(_0x44d99f||{}),_0x39d249=Object[_0x223248(0x265)],_0x1abf68=(_0x378231,_0xb9c3f,_0x2cb742,_0xfb7419)=>{const _0x1e588f=_0x223248;for(var _0x2e016a=_0xfb7419>0x1?void 0x0:_0xfb7419?_0x39d249(_0xb9c3f,_0x2cb742):_0xb9c3f,_0x44af41=_0x378231[_0x1e588f(0x25a)]-0x1,_0x2e167a;_0x44af41>=0x0;_0x44af41--)(_0x2e167a=_0x378231[_0x44af41])&&(_0x2e016a=_0x2e167a(_0x2e016a)||_0x2e016a);return _0x2e016a;},_0x2c589b=(_0x1d6f88,_0x1682b2)=>(_0x151c19,_0x486e1d)=>_0x1682b2(_0x151c19,_0x486e1d,_0x1d6f88);_0x4394f4[_0x223248(0x27a)]=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x4ddbec,_0x499a99,_0x4ce6b9){const _0x3342a7=_0x223248;super(),this['_instanceService']=_0x4ddbec,this[_0x3342a7(0x25e)]=_0x499a99,this['_configService']=_0x4ce6b9;}async[_0x223248(0x1ab)](_0x54497e,_0x2bf44c,_0x8d52d5,..._0x345404){const _0x491cfd=_0x223248;var _0x49c4e6,_0x5f2fdd,_0x5b3503,_0x24ec10;const _0x4af7aa=this[_0x491cfd(0x3da)][_0x491cfd(0x2f1)]();if(!_0x4af7aa)throw new Error(_0x491cfd(0x40e));const _0x27d255=((_0x49c4e6=this[_0x491cfd(0x418)][_0x491cfd(0x3d1)](_0x25172a[_0x491cfd(0x31b)]))!=null?_0x49c4e6:_0x25172a[_0x491cfd(0x2a7)])+'/'+_0x54497e+'/run/'+_0x2bf44c,_0x59a1cf=new URL(window['location']['href']),_0xcb2e1a={'scriptId':_0x54497e,'runId':(_0x5f2fdd=_0x59a1cf['searchParams'][_0x491cfd(0x3cf)]('runId'))!=null?_0x5f2fdd:'','function':_0x2bf44c,'unitId':_0x4af7aa[_0x491cfd(0x302)](),'argsOfFunction':JSON[_0x491cfd(0x26d)](_0x345404),'invokeId':(_0x5b3503=_0x8d52d5[_0x491cfd(0x3cd)])!=null?_0x5b3503:'','executionId':(_0x24ec10=_0x8d52d5[_0x491cfd(0x3af)])!=null?_0x24ec10:''};try{const _0x22d40=await this[_0x491cfd(0x25e)][_0x491cfd(0x3ad)](_0x27d255,{'body':_0xcb2e1a});return _0x22d40['body'][_0x491cfd(0x3cb)]&&_0x22d40[_0x491cfd(0x39c)][_0x491cfd(0x3cb)]['code']!==_0x44d99f['OK']?_0x491cfd(0x37a):_0x22d40[_0x491cfd(0x39c)]['result'];}catch{return'Failed';}}},_0x4394f4[_0x223248(0x27a)]=_0x1abf68([_0x2c589b(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x2c589b(0x1,_0x380f2c['Inject'](_0x54dd82[_0x223248(0x1c0)])),_0x2c589b(0x2,_0x380f2c[_0x223248(0x3df)])],_0x4394f4['RemoteUniscriptService']),_0x4394f4[_0x223248(0x1c8)]=_0xd9adf4,_0x4394f4[_0x223248(0x22b)]=_0x51b8d1,_0x4394f4['SheetCollabCursorShape']=_0x337b75,_0x4394f4[_0x223248(0x251)]=_0x590cb8,_0x4394f4['WebURLService']=_0x105840,Object[_0x223248(0x40a)](_0x4394f4,Symbol[_0x223248(0x412)],{'value':_0x223248(0x323)});}));function _0x316b(_0x11ea3b,_0x56939d){const _0x2b511a=_0x2b51();return _0x316b=function(_0x316bd0,_0x4331d4){_0x316bd0=_0x316bd0-0x18c;let _0x1cd7a3=_0x2b511a[_0x316bd0];return _0x1cd7a3;},_0x316b(_0x11ea3b,_0x56939d);}function _0x2b51(){const _0x13a0eb=['ITransformService','_shapes','getStateCache','urlChange$','_config','OFFLINE','eventID','_getScale','_removeClearOtherTimer','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','createSocket','NodePositionConvertToRectRange','PERMISSION_DENIED','ColorKit','IBeforeCloseService','_unitOnClients','getLocalCacheKey','UniverSheets','url(#off-line-single_clip0_910_343)','_cursors','children','DeleteRangeMoveUpCommandId','save','getSheetBySheetId','_textBubble','gold400','body','_send','UniverDesign','_assignedColors','filter','search','OTHER_CLIENTS_EDITING','UnitStatus','indexOf','2116216FkthkC','_sheetSkeletonManagerService','show','_transformPreviousActiveRange','ONLINE','getSheetId','WECHAT_HAS_BEEN_BOUND','transformSelections','post','_getSessionTicket','executionId','cursorInfo','APPLY_DUPLICATED','runRefRangeMutations','pluginName','_cursorInfo$','syncEditingCollabCursor','undoState','APPLY_REJECT','SOCKET_FAILED_RETRY','restore','handleInsertRangeMoveRight','_online','APPLY_PERMISSION_DENIED','[CollaborationDataLoaderController]','collabCursorState$','INVITE_CODE_ALREADY_BOUND','_uiPartsService','translate(.97)','startColumn','collab-text-anchor-','endRow','Warning','getSkeleton','_hideTimer','SessionStatus','_doCreateSocket','asObservable','error','_getSaveTimeout','invokeId','InsertColCommandId','get','SetTextSelectionsOperation','getConfig','icon','textRanges','CommandType','getMemberID','complete','toString','onPointerMove$','637155cbCsit','_instanceService','getSheetObject','Unknown\x20user','_context','getOwnPropertySymbols','IConfigService','row','unload','BehaviorSubject','AWAITING_WITH_PENDING','startRow','jsxs','touchDependencies','_anchorDot','_localStorageService','loadUnit','getTypeOfUnitDisposed$','_docSkeletonManagerService','debounceTime','moveTo','PENDING','permission.content','debug','redoState','string','unit','useRef','doc.mutation.rich-text-editing','then','_removeCollabCursors','removeParam','use','_onCursorUpdate','_scheduleHeartbeat','_initDependencies','registerBeforeClose','IUniverInstanceService','lineTo','selection','_syncEditingCollabCursorService','_lastPointer','_localCacheService','getCurrentUnitForType','editingUnit','CollaborationSessionService','closePath','_render','Plugin','defineProperty','takeUntil','getAncestorScale','prototype','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getSheetObject','_range','shareReplay','toStringTag','@univerjs-pro/collaboration-client','LICENSE_EXPORT_SIZE_EXCEEDED','_refreshCollabCursors','7908lMPlNf','Workbook','_configService','contains','dispose$','ILocalStorageService','CollaborationSocketService','@univerjs/docs-ui','EffectRefRangId','fillRule','react','FETCH_MISS','_cachedData','replaceDocRanges','INotificationService','_saveTaskMap','ThemeService','black','next','BrowserCollaborationSocketService','UNRECOGNIZED','_backgroundColor','_init','handleMoveRange','MoveRangeCommandId','unsubscribe','round','DependentOn','popstate','_initEvent','jiqing500','connectInjector','startsWith','color','univer-text-red-500','#fff','_collaborationUIEventService','_docClipboardService','_registerDependencies','bottom','runId','DeleteRangeMoveLeftCommandId','_ensureSubject','react/jsx-runtime','some','SetWorksheetActivateCommand','RxDisposable','currentColor','UniverInstanceType','addObjects','runOnServer','exports','session.connection-failed','red300','key','transform','isTransformMutationFailure','_toggleOnline','drawWith','_collaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','@univerjs/docs','tag','_document','Error','collabStatus.notCollab','docStateChange$','_docTransformIMECacheService','url(#$1','INVALID_ARGUMENT','arc','HTTPService','_startSheetCollabCursor','onLocalMutation','Subject','getActiveSheet','isArray','SHEET_VIEWPORT_KEY','@univerjs/drawing','CollaborationStatusDisplay','#FFF','function','concat','NOT_COLLAB','createElement','@univerjs/network','RemoveRowCommandId','transformByState','_startDocCollabCursor','29679RFRiwt','_injector','mutations','distinctUntilChanged','addEventListener','@univerjs/design','dispose','subscribe','0\x200\x2017\x2016','handleDeleteRangeMoveLeft','CollaborationEvent','DEFAULT_WS_SESSION_TICKET_URL','CollaborationStatus','replaceState','_collabCursorController','IDocClipboardService','INVITE_CODE_HAS_BEEN_UES','getCoordByCell','displayName','DocCollaborationEntity','YUUMI_ASYNCIO_CANCELLED','enableLocalCache','collabStatus.fetchMiss','disposeWithMe','LICENSE_IMPORT_SIZE_EXCEEDED','min','getColor','entries','rgba(255,\x20255,\x20255,\x200.01)','random','_transformHistoryAndStateStack','_commandService','m1Prime','_updateCollabCursors','handleDeleteRangeMoveUp','_imageIoService','amd','idSuffix','find','_cursorShapes','path','SUBMIT_CHANGESET_TIMEOUT','getViewport','LocaleService','USER_NOT_INVITED_CODE','_docTransformSelectionsService','colorChannel1','_scene','newValue','Disposable','registerComponent','searchParams','ISocketService','object','getUniverSheetInstance','setShapeProps','entityInit$','ILocalCacheService','NO_OTHER_CLIENTS_EDITING','_onCursorDelete','_anchor','isEditing','_clearOtherTimers','origin','current','rxjs','column','values','wsSessionTicketUrl','addObject','MOBILE_HAS_BEEN_BOUND','_scheduleClearOtherTimer','switchMap','ACTIVE_UNIT_EVENT_CHANNEL','skeleton','exhaustSavingTask','LOCAL_CACHE_INTERVAL_KEY','getUnhiddenWorksheets','@univerjs/engine-formula','univerjs-icon\x20univerjs-icon-','div','_urlService','UniverIcon','OnLineSingle','_initStatusComponent','svg','_notificationService','_handleHover','UNIVER_SHEET','IURLService','MemberService','clearTimeout','init','_scheduleSaving','cursorInfo$','rxjs/operators','@univerjs-pro/collaboration','_color','executeCommand','_getAnchorBounding','_dataLoaderService','_docSyncEditingCollabCursorService','_heartbeatTimer','_name','_docStateChangeManagerService','deserializeRangeWithSheet','add','transformRemoteChangeset','UniverEngineRender','_drawAnchor','transformMutation','collaboration.closeRoom','toDisposable','mergeOverrideWithDependencies','focused$','assign','attrs','text','1em','collabStatus.syncing','InsertRangeMoveDownCommandId','setParam','onMouseMove','getCurrentRevOfUnit','_refRangeService','_updateSubUnitFromURLParams','_updateURLWithCurrentState','WebBrowserSingleActiveUnitService','IImageIoService','_collabCursorState$','whenReady','_getMergeRange','deepClone','UniverProCollaboration','forEach','UniverProCollaborationClientUi','length','@univerjs/core','Rect','_logService','_httpService','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','setItem','_createSocketURL','CONFLICT','transformMutationsWithChangeset','_setupBeforeClosingHandler','getOwnPropertyDescriptor','collaboration-client-ui.config','getUndoRedoMutationParamsCache','DocIMEInputManagerService','set','DocStateChangeManagerService','xlink:href','APPLY_NON_SEQUENTIAL_REVISION','stringify','BuiltInUIPart','_transformUndoRedoStack','session.will-retry','saveOfflineData','getItem','UPDATE_CURSOR','history','imageSourceType','DOC_RANGE_TYPE','_disabled','pipe','DocSelectionManagerService','RemoteUniscriptService','NodePositionConvertToCursor','forwardRef','sessionTicket','onPointerLeave$','YUUMI_URL_COL_OUT_OF_RANGE','27LIrkam','TOO_MANY_REQUESTS','TEXT','MessageType','getCellPositionByOffset','_session','sheetID','map','debounce','combineLatest','subUnitId','registerDependencies','source','collabStatus.offline','loadOfflineData','params','Injector','serializeRangeWithSheet','none','unitID','event$','_eventUnsubscribe','throttleTime','includes','activeSheet$','_registerRenderDependencies','YUUMI_RATE_OVER_LIMIT','_localeService','APPLY_REVISION_CONFILICT','NOT_FOUND','setUndoRedoMutationParamsCache','useDependency','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','data','0\x200\x2016\x2016','fillStyle','labelPosition','onPointerEnter$','evenodd','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','call','unshift','actions','defIds','isTransformMutationsWithChangesetSuccess','YUUMI_NO_CUBOID_FOR_QUESTION','368zuEtsG','LICENSE_DISTRO_REJECTED','React','font','mapTo','application/json','_cursor','name','RevisionService','_drawRectRange','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','COLORS','clipPath','width','collabStatus.synced','setInterval','setAlpha','registerRenderModule','_hovered','reconnect','makeDirty','DocSkeletonManagerService','size','fillText','_initEntityListener','defs','PY_RUNTIME_SCRIPT_ERROR','fill','UniverDocs','CHANGESET_REVISION_CONFILICT','getRelativeToViewportCoord','updateOfflineData','univer-text-green-500','HEADER_MENU','MUTATION','on-line-single_clip0_910_349','requireSession','@univerjs/ui','roomMembers','_handleHeartbeatEvent','FromArray','_docTransformStateCacheService','roomMembers$','createInstance','UniverRpc','_handleJoinEvent','findNodePositionByCharIndex','from','25006910FzyTZn','4042339ZeTlCn','assignAColorForMemberID','UniverCollaborationClientPlugin','split','url(#on-line-single_clip0_910_349)','has','UniverCollaborationClientUIPlugin','_initCommandExecutedListener','CLOSE_ROOM','VIEW_MAIN','sessionStatus$','verdancy600','_labelPosition','collaboration-client.offline-data-not-saved','top','_colorIndex','collaboration.single-unit.warning','getFocusedUnit','_initStatusListener','href','getRangePointData','_onRefRangeChange','getValue','Rectangle','_entities','SNAPSHOT_HAS_BEEN_REMOVED','hasOwnProperty','SOCKET_FAILED','beginPath','UniverUi','ISnapshotServerService','@univerjs/engine-render','IMessageService','AWAITING','getUnitId','_handleEvent','UNDEFINED','getOffsetConfig','createIdentifier','_unitStatus','_setupSubUnitSync','with','@univerjs/sheets-ui','USERS_LEAVE','ticket','push','_selfUnitIDs','UNIVER_DOC','1703292JJWRbt','INVALID_INVITE_CODE','...','getParam','generateRandomId','location','_initResize','subunit','_messageService','RegularPolygon','CollaborationDataLoaderController','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Tools','_draw','useCallback','_hover','Shape','getCollabCursors$','getDocRanges','Module','on-line-single','ILogService','_drawTextRange','getTypeOfUnitAdded$','_toggleOffline','_transformService','jsx','_status$','_roomMembers$','UniverSheetsUi','DesktopCollaborationStatusDisplayController','registerRefRange','DisposableCollection','measureText','_revisionService','UniverCore','getRenderById','UniverDocsUi','override','height','status$','fromEventSubject','type','parse','toRgbString','_saveCache','2095glklSU','_univerInstanceService','all','unitId','getCurrent','SheetSkeletonManagerService','delete','IUIPartsService','ENSURE_SNAPSHOT_EXECUTION','_id','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ranges','RichTextEditingMutation','transformStateCache','univer-flex\x20univer-mr-2\x20univer-text-[20px]','EMAIL_HAS_BEEN_BOUND','_colorAssignService','getCurrentSelections','onRendered','INTERNAL_ERROR','Inject','m2Prime','_entityInit$','CollaborationController','currentSkeleton$','pushState','TEXT_RANGE_LAYER_INDEX','YUUMI_UNABLE_LOAD_URL','blue400','Vector2','apply','currentTheme$','handleIRemoveRow','collabStatus.conflict','LOGIN_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','purple300','extend','saveTaskMap','_memberService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','selections','_updateLocalCursor','off-line-single_clip0_910_343','UNAUTHENTICATED','CollaborationUIEventId','send','endColumn','ICommandService','operators','_beforeCloseService','handleInsertRangeMoveDown','DataLoaderService','_renderManagerService','sheetId','CONNECTOR_DATA_TOO_LARGE','CollaborationUIEventService','JOIN_ROOM_FAILED','symbol','onStarting','Failed','clearInterval','SetDocZoomRatioOperation','onCommandExecuted','INVITE_CODE_REQUIRED','UniverDrawing','subscribeEvent','_themeService'];_0x2b51=function(){return _0x13a0eb;};return _0x2b51();}
|
|
1
|
+
function _0x1eaa(_0x4948ed,_0x2fa136){const _0x39ec75=_0x39ec();return _0x1eaa=function(_0x1eaace,_0x517aa7){_0x1eaace=_0x1eaace-0x6a;let _0x5d2fe2=_0x39ec75[_0x1eaace];return _0x5d2fe2;},_0x1eaa(_0x4948ed,_0x2fa136);}(function(_0x53f3ee,_0x4def73){const _0x4876cd=_0x1eaa,_0x3f57ba=_0x53f3ee();while(!![]){try{const _0x39f074=-parseInt(_0x4876cd(0x198))/0x1*(parseInt(_0x4876cd(0x194))/0x2)+parseInt(_0x4876cd(0xb2))/0x3*(-parseInt(_0x4876cd(0x2c5))/0x4)+parseInt(_0x4876cd(0x139))/0x5*(-parseInt(_0x4876cd(0x2d2))/0x6)+-parseInt(_0x4876cd(0x120))/0x7*(parseInt(_0x4876cd(0x2b8))/0x8)+parseInt(_0x4876cd(0x265))/0x9*(parseInt(_0x4876cd(0x70))/0xa)+parseInt(_0x4876cd(0xaa))/0xb+parseInt(_0x4876cd(0xbf))/0xc;if(_0x39f074===_0x4def73)break;else _0x3f57ba['push'](_0x3f57ba['shift']());}catch(_0x8b8f67){_0x3f57ba['push'](_0x3f57ba['shift']());}}}(_0x39ec,0xf1e49),function(_0x4652f7,_0x27c63f){const _0x2308a1=_0x1eaa;typeof exports==_0x2308a1(0xf2)&&typeof module<'u'?_0x27c63f(exports,require(_0x2308a1(0x249)),require(_0x2308a1(0xe3)),require('@univerjs/engine-render'),require(_0x2308a1(0x2fc)),require('@univerjs/docs-ui'),require(_0x2308a1(0x10a)),require(_0x2308a1(0x14a)),require(_0x2308a1(0x14c)),require('@univerjs-pro/collaboration'),require(_0x2308a1(0x1ed)),require('@univerjs/sheets'),require(_0x2308a1(0x25e)),require('@univerjs/sheets-ui'),require(_0x2308a1(0x228)),require(_0x2308a1(0x2a5)),require(_0x2308a1(0x2ac)),require(_0x2308a1(0x140)),require('@univerjs/rpc')):typeof define==_0x2308a1(0x73)&&define['amd']?define([_0x2308a1(0x298),_0x2308a1(0x249),'@univerjs/core',_0x2308a1(0x15e),_0x2308a1(0x2fc),'@univerjs/docs-ui',_0x2308a1(0x10a),_0x2308a1(0x14a),_0x2308a1(0x14c),'@univerjs-pro/collaboration',_0x2308a1(0x1ed),_0x2308a1(0x71),_0x2308a1(0x25e),_0x2308a1(0x2e1),_0x2308a1(0x228),'@univerjs/ui',_0x2308a1(0x2ac),_0x2308a1(0x140),_0x2308a1(0x294)],_0x27c63f):(_0x4652f7=typeof globalThis<'u'?globalThis:_0x4652f7||self,_0x27c63f(_0x4652f7['UniverProCollaborationClientUi']={},_0x4652f7[_0x2308a1(0x22c)],_0x4652f7[_0x2308a1(0x278)],_0x4652f7[_0x2308a1(0x2c4)],_0x4652f7[_0x2308a1(0x24e)],_0x4652f7['UniverDocsUi'],_0x4652f7[_0x2308a1(0x237)],_0x4652f7['rxjs'],_0x4652f7['UniverDocs'],_0x4652f7[_0x2308a1(0x179)],_0x4652f7['UniverEngineFormula'],_0x4652f7[_0x2308a1(0xcf)],_0x4652f7[_0x2308a1(0x14a)]['operators'],_0x4652f7['UniverSheetsUi'],_0x4652f7['React'],_0x4652f7['UniverUi'],_0x4652f7[_0x2308a1(0x24c)],_0x4652f7['React'],_0x4652f7['UniverRpc']));}(this,function(_0x1a6cab,_0x3d05ed,_0x4d006c,_0x3ce196,_0x651cbe,_0x5051a5,_0xb0693b,_0x424996,_0x2b2a28,_0x12f559,_0x1371df,_0x231e9c,_0x4e626c,_0x4a87b2,_0x4ce13b,_0x1b6316,_0x1f5fc2,_0x3fb4d0,_0x5adf1e){'use strict';const _0x125ea8=_0x1eaa;var _0x2fd6c2=Object['defineProperty'],_0x342b02=(_0x5aaf5d,_0x55de50,_0x1751f8)=>_0x55de50 in _0x5aaf5d?_0x2fd6c2(_0x5aaf5d,_0x55de50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1751f8}):_0x5aaf5d[_0x55de50]=_0x1751f8,_0x321a93=(_0x3eb722,_0x5f1712,_0x507c30)=>_0x342b02(_0x3eb722,typeof _0x5f1712!=_0x125ea8(0x245)?_0x5f1712+'':_0x5f1712,_0x507c30),_0x171bef=Object[_0x125ea8(0x209)],_0x3e0f6a=(_0x194f7f,_0x329c11,_0x37c7d5,_0x5a7137)=>{const _0x555ac1=_0x125ea8;for(var _0x2225f4=_0x5a7137>0x1?void 0x0:_0x5a7137?_0x171bef(_0x329c11,_0x37c7d5):_0x329c11,_0x45626f=_0x194f7f[_0x555ac1(0xb7)]-0x1,_0x8f6085;_0x45626f>=0x0;_0x45626f--)(_0x8f6085=_0x194f7f[_0x45626f])&&(_0x2225f4=_0x8f6085(_0x2225f4)||_0x2225f4);return _0x2225f4;},_0x11af32=(_0x2e7fca,_0x275c4b)=>(_0x5e3722,_0x58d1b2)=>_0x275c4b(_0x5e3722,_0x58d1b2,_0x2e7fca);let _0x22fe1a=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x13b101,_0x2b3e93){const _0x5353fc=_0x125ea8;super(),this[_0x5353fc(0x7d)]=_0x13b101,this[_0x5353fc(0x1fe)]=_0x2b3e93,this[_0x5353fc(0x2c1)]();}[_0x125ea8(0x2c1)](){const _0x2883b1=_0x125ea8,_0x12d94c=this;this[_0x2883b1(0xd9)](this[_0x2883b1(0x7d)][_0x2883b1(0xe1)]({'onBeforePasteImage':async _0xd2b883=>{const _0x232fde=_0x2883b1,_0x28e298=await _0x12d94c[_0x232fde(0x1fe)][_0x232fde(0xed)](_0xd2b883);return _0x28e298?{'source':_0x28e298[_0x232fde(0x79)],'imageSourceType':_0x28e298[_0x232fde(0xef)]}:null;}}));}};_0x22fe1a=_0x3e0f6a([_0x11af32(0x0,_0x5051a5[_0x125ea8(0xde)]),_0x11af32(0x1,_0xb0693b[_0x125ea8(0x1ab)])],_0x22fe1a);const _0x34f80e=[_0x125ea8(0x145),_0x125ea8(0x7b),_0x125ea8(0x2f6),_0x125ea8(0x2bc),'blue400','gold400'];class _0x1bdb8f extends _0x4d006c['Disposable']{constructor(){const _0x18825c=_0x125ea8;super(...arguments),_0x321a93(this,_0x18825c(0x182),new Map()),_0x321a93(this,'_colorIndex',0x0);}[_0x125ea8(0x257)](_0x2e1502){const _0xc3d5b8=_0x125ea8;if(this[_0xc3d5b8(0x182)][_0xc3d5b8(0x2e7)](_0x2e1502))return this[_0xc3d5b8(0x182)][_0xc3d5b8(0x205)](_0x2e1502);const _0x4b5727=_0x34f80e[this[_0xc3d5b8(0x2fa)]];return this[_0xc3d5b8(0x2fa)]=(this[_0xc3d5b8(0x2fa)]+0x1)%_0x34f80e[_0xc3d5b8(0xb7)],this[_0xc3d5b8(0x182)]['set'](_0x2e1502,_0x4b5727),_0x4b5727;}}function _0x141f60(_0x46fc3d){let _0x152c9a='';for(const _0x291652 of _0x46fc3d){const {startOffset:_0x4b8f0e,endOffset:_0x28d9b7,isActive:_0x166b29,rangeType:_0x204da,segmentId:_0x3f291a,segmentPage:_0x35550d}=_0x291652;_0x152c9a['length']&&(_0x152c9a+=','),_0x152c9a+=_0x4b8f0e+':'+_0x28d9b7+':'+(_0x166b29?'1':'0')+':'+_0x204da+':'+_0x3f291a+':'+_0x35550d;}return _0x152c9a;}function _0x4c1c82(_0x5cd4a2){const _0x2cec34=_0x125ea8,_0x3b8916=_0x5cd4a2[_0x2cec34(0xb0)](','),_0x3eb0f5=[];for(const _0x3ecb64 of _0x3b8916){const [_0x402021,_0x4f9bab,_0x47ffd8,_0x36e09e,_0x2716c4,_0x20b6d4]=_0x3ecb64[_0x2cec34(0xb0)](':');_0x3eb0f5[_0x2cec34(0x2e4)]({'startOffset':Number(_0x402021),'endOffset':Number(_0x4f9bab),'collapsed':_0x402021===_0x4f9bab,'isActive':_0x47ffd8==='1','rangeType':_0x36e09e===_0x4d006c['DOC_RANGE_TYPE'][_0x2cec34(0x22e)]?_0x4d006c[_0x2cec34(0x25c)][_0x2cec34(0x22e)]:_0x4d006c[_0x2cec34(0x25c)][_0x2cec34(0xee)],'segmentId':typeof _0x2716c4=='string'?String(_0x2716c4):'','segmentPage':Number(_0x20b6d4!=null?_0x20b6d4:-0x1)});}return _0x3eb0f5['some'](_0x511a40=>_0x511a40[_0x2cec34(0x100)])||(_0x3eb0f5[0x0][_0x2cec34(0x100)]=!0x0),_0x3eb0f5;}class _0x167556 extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(){const _0x284065=_0x125ea8;super(...arguments),_0x321a93(this,_0x284065(0x26e),new _0x424996['BehaviorSubject'](null)),_0x321a93(this,_0x284065(0x7e),this[_0x284065(0x26e)]['asObservable']());}[_0x125ea8(0x1a4)](_0x4bafdb){const _0x330d68=_0x125ea8,{unitID:_0x55b1e6,memberID:_0x553f29,textRanges:_0xa9b14}=_0x4bafdb,_0x5b1a32=_0x141f60(_0xa9b14);if(_0x5b1a32==='')return;const _0x5c4fd7={'unitID':_0x55b1e6,'memberID':_0x553f29,'selection':_0x5b1a32};this[_0x330d68(0x26e)][_0x330d68(0xa3)](_0x5c4fd7);}}var _0x4b7ddf=Object[_0x125ea8(0x209)],_0x1081c5=(_0x55d458,_0x26d532,_0x155906,_0x13807b)=>{const _0x3bdd7a=_0x125ea8;for(var _0x38d416=_0x13807b>0x1?void 0x0:_0x13807b?_0x4b7ddf(_0x26d532,_0x155906):_0x26d532,_0x2a4484=_0x55d458[_0x3bdd7a(0xb7)]-0x1,_0x2e65fd;_0x2a4484>=0x0;_0x2a4484--)(_0x2e65fd=_0x55d458[_0x2a4484])&&(_0x38d416=_0x2e65fd(_0x38d416)||_0x38d416);return _0x38d416;},_0x487bf2=(_0x4ff345,_0x52a4e6)=>(_0x271d55,_0x2e3311)=>_0x52a4e6(_0x271d55,_0x2e3311,_0x4ff345);const _0x467c21=0x12c,_0x45daee=0x64;let _0x1fe332=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x443ca0,_0xb8d697,_0x3a7571,_0x18eaf9,_0x400ce9,_0x404f27,_0x2ef8f4,_0x242048,_0x18cb63){const _0x1213f4=_0x125ea8;super(),_0x321a93(this,'_online',!0x1),_0x321a93(this,_0x1213f4(0x2c1),!0x1),_0x321a93(this,'_cursorInfo$',new _0x424996[(_0x1213f4(0x170))](new Map())),_0x321a93(this,_0x1213f4(0x1a0),this['_cursorInfo$']['asObservable']()),_0x321a93(this,_0x1213f4(0x20a),new _0x424996[(_0x1213f4(0x170))]([])),_0x321a93(this,_0x1213f4(0x1b0),this[_0x1213f4(0x20a)][_0x1213f4(0x2c2)](_0x424996[_0x1213f4(0x267)](_0x467c21))),_0x321a93(this,_0x1213f4(0x13a),_0x4d006c[_0x1213f4(0x7f)](_0xae959d=>{const _0x53014d=_0x1213f4,_0x4d1b27={'eventID':_0x12f559[_0x53014d(0x254)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x53014d(0xae)],'memberID':this[_0x53014d(0x280)][_0x53014d(0x11d)](),'selection':_0x141f60(_0xae959d)}};this[_0x53014d(0x280)][_0x53014d(0x1a6)](_0x4d1b27,this['unitID']);},_0x45daee)),(this[_0x1213f4(0xae)]=_0x443ca0,this[_0x1213f4(0x280)]=_0xb8d697,this['_injector']=_0x3a7571,this[_0x1213f4(0xbb)]=_0x18eaf9,this['_memberService']=_0x400ce9,this[_0x1213f4(0x1f1)]=_0x404f27,this[_0x1213f4(0xdb)]=_0x2ef8f4,this[_0x1213f4(0x1af)]=_0x242048,this[_0x1213f4(0xe8)]=_0x18cb63);}get[_0x125ea8(0x241)](){const _0x14c3a4=_0x125ea8;return this[_0x14c3a4(0x144)][_0x14c3a4(0x1ac)]();}get[_0x125ea8(0x107)](){const _0x4f1b89=_0x125ea8;return this[_0x4f1b89(0x20a)][_0x4f1b89(0x1ac)]();}[_0x125ea8(0x23f)](){const _0x5d7746=_0x125ea8;super[_0x5d7746(0x23f)](),this[_0x5d7746(0x144)][_0x5d7746(0xa3)](new Map()),this['_cursorInfo$'][_0x5d7746(0x2a2)](),this[_0x5d7746(0x20a)]['next']([]),this[_0x5d7746(0x20a)][_0x5d7746(0x2a2)]();}[_0x125ea8(0x101)](){const _0x57bd33=_0x125ea8;this[_0x57bd33(0x2c1)]||(this[_0x57bd33(0x2c1)]=!0x0,this[_0x57bd33(0x280)]['sessionStatus$'][_0x57bd33(0x2c2)](_0x424996['takeUntil'](this[_0x57bd33(0x281)]))[_0x57bd33(0x2fb)](_0x2065be=>{const _0x413d4b=_0x57bd33;_0x2065be===_0x3d05ed['SessionStatus'][_0x413d4b(0xc5)]?this[_0x413d4b(0x169)]():this[_0x413d4b(0x1d2)]();}),this[_0x57bd33(0x280)][_0x57bd33(0x2bb)]['pipe'](_0x424996[_0x57bd33(0x2b2)](this[_0x57bd33(0x281)]))['subscribe'](_0x14a45a=>{const _0x5a0f44=_0x57bd33,_0x44cbeb=_0x14a45a[_0x5a0f44(0x29e)];_0x44cbeb===_0x12f559[_0x5a0f44(0x254)][_0x5a0f44(0x16a)]&&this['_onCursorUpdate'](_0x14a45a),_0x44cbeb===_0x12f559[_0x5a0f44(0x254)][_0x5a0f44(0x295)]&&this['_onCursorDelete'](_0x14a45a);}),this[_0x57bd33(0xd9)](this[_0x57bd33(0xe8)]['onCommandExecuted'](_0x551635=>{const _0x539dc5=_0x57bd33,_0x3c947f=_0x551635['params'];_0x3c947f!=null&&this['_online']&&_0x551635['id']===_0x2b2a28['SetTextSelectionsOperation']['id']&&_0x3c947f[_0x539dc5(0x224)]===this[_0x539dc5(0xae)]&&_0x3c947f['isEditing']===!0x1&&_0x3c947f[_0x539dc5(0x1c0)][_0x539dc5(0xb7)]>0x0&&this[_0x539dc5(0x13a)](_0x3c947f[_0x539dc5(0x1c0)]);})),this['_syncEditingCollabCursorService'][_0x57bd33(0x7e)][_0x57bd33(0x2c2)](_0x424996[_0x57bd33(0x2b2)](this['dispose$']))[_0x57bd33(0x2fb)](_0x35da37=>{const _0x114217=_0x57bd33;if((_0x35da37==null?void 0x0:_0x35da37[_0x114217(0xae)])!==this[_0x114217(0xae)])return;const _0x2aebad={'eventID':_0x12f559['CollaborationEvent'][_0x114217(0x16a)],'data':_0x35da37};this[_0x114217(0x1bb)](_0x2aebad);}),this[_0x57bd33(0xd9)](this[_0x57bd33(0xe8)][_0x57bd33(0x1ca)](_0x20a9e8=>{const _0x5128f5=_0x57bd33;if(_0x20a9e8['params']==null)return;const _0x1301df=_0x20a9e8[_0x5128f5(0x2fd)];if(_0x20a9e8['id']!==_0x2b2a28[_0x5128f5(0x18e)]['id']||_0x1301df[_0x5128f5(0x224)]!==this[_0x5128f5(0xae)])return;const _0x1715e3={'id':_0x5128f5(0x12e),'params':_0x1301df},_0x58e448=this[_0x5128f5(0x241)];for(const [_0x5b3c90,_0x190751]of _0x58e448){const _0x4c018b={'id':_0x5128f5(0x12e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x190751[_0x5128f5(0x1c0)]}},_0x48fd3c=this[_0x5128f5(0xdb)][_0x5128f5(0x1d1)](_0x1715e3,_0x4c018b,!0x1);if(_0x12f559[_0x5128f5(0xcb)](_0x48fd3c))throw _0x48fd3c[_0x5128f5(0x2bd)];_0x58e448[_0x5128f5(0x21a)](_0x5b3c90,{..._0x190751,'ranges':_0x48fd3c[_0x5128f5(0x250)]['params'][_0x5128f5(0xa2)]});}queueMicrotask(()=>{const _0x3d993b=_0x5128f5;this[_0x3d993b(0x144)][_0x3d993b(0xa3)](_0x58e448);});})));}['_onCursorUpdate'](_0x2c8be1){const _0x366d62=_0x125ea8;var _0x5952a2,_0x667801;const {memberID:_0x417f10,selection:_0x3f03bd}=_0x2c8be1[_0x366d62(0x22d)],_0x43624b=_0x4c1c82(_0x3f03bd),_0x9c6b6b=(_0x667801=(_0x5952a2=this[_0x366d62(0x1ef)][_0x366d62(0x2d0)](this[_0x366d62(0xae)],_0x417f10))==null?void 0x0:_0x5952a2[_0x366d62(0x277)])!=null?_0x667801:_0x366d62(0xd6),_0x1790fc={'color':this[_0x366d62(0xbb)][_0x366d62(0x257)](_0x417f10),'name':_0x9c6b6b,'ranges':_0x43624b},_0x41fdbc=this[_0x366d62(0x241)];_0x41fdbc[_0x366d62(0x21a)](_0x417f10,_0x1790fc),this[_0x366d62(0x144)][_0x366d62(0xa3)](_0x41fdbc);}[_0x125ea8(0x166)](_0x1dc42d){const _0x5e0f33=_0x125ea8,{memberID:_0xe3de9d}=_0x1dc42d[_0x5e0f33(0x22d)],_0x3008c8=this[_0x5e0f33(0x241)];_0x3008c8[_0x5e0f33(0x22b)](_0xe3de9d),this[_0x5e0f33(0x144)][_0x5e0f33(0xa3)](_0x3008c8);}[_0x125ea8(0x169)](){const _0x5d1a27=_0x125ea8;var _0x4650f5;if(this[_0x5d1a27(0x258)]=!0x0,((_0x4650f5=this['_univerInstanceService'][_0x5d1a27(0x297)]())==null?void 0x0:_0x4650f5['getUnitId']())!==this[_0x5d1a27(0xae)])return;const _0x2fe037=this['_injector'][_0x5d1a27(0x205)](_0x2b2a28[_0x5d1a27(0xb5)])[_0x5d1a27(0x135)]();Array[_0x5d1a27(0x177)](_0x2fe037)&&_0x2fe037[_0x5d1a27(0xb7)]>0x0&&this[_0x5d1a27(0x13a)](_0x2fe037);}[_0x125ea8(0x1d2)](){const _0x239fea=_0x125ea8;this[_0x239fea(0x258)]=!0x1;}};_0x1fe332=_0x1081c5([_0x487bf2(0x2,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x8d)])),_0x487bf2(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x1bdb8f)),_0x487bf2(0x4,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x26c)])),_0x487bf2(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x167556)),_0x487bf2(0x6,_0x12f559['ITransformService']),_0x487bf2(0x7,_0x4d006c['IUniverInstanceService']),_0x487bf2(0x8,_0x4d006c[_0x125ea8(0x1a7)])],_0x1fe332);var _0x2d4727=Object[_0x125ea8(0x209)],_0x14fd81=(_0x4cc102,_0x2a391f,_0x57128d,_0x2ebfa3)=>{const _0x3bfe60=_0x125ea8;for(var _0xda4429=_0x2ebfa3>0x1?void 0x0:_0x2ebfa3?_0x2d4727(_0x2a391f,_0x57128d):_0x2a391f,_0x50b831=_0x4cc102[_0x3bfe60(0xb7)]-0x1,_0x2b43ad;_0x50b831>=0x0;_0x50b831--)(_0x2b43ad=_0x4cc102[_0x50b831])&&(_0xda4429=_0x2b43ad(_0xda4429)||_0xda4429);return _0xda4429;},_0x5d144d=(_0x54e046,_0x173abe)=>(_0x3fce87,_0x369b4c)=>_0x173abe(_0x3fce87,_0x369b4c,_0x54e046);const _0x1738be=0x12c,_0xd08119=0x64,_0x41b37c=()=>{let _0x1a7d48=[],_0x30fd52=!0x1;return _0x3d2224=>{const _0x564ce2=_0x1eaa;_0x1a7d48[_0x564ce2(0x2e4)](_0x3d2224),_0x30fd52||(_0x30fd52=!0x0,setTimeout(()=>{const _0x48872a=_0x564ce2;_0x1a7d48[_0x48872a(0x1fa)](_0x400f0b=>_0x400f0b()),_0x1a7d48=[],_0x30fd52=!0x1;}));};};let _0x95cd17=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x5d52ba,_0x276aa4,_0x151dcf,_0x10d9c5,_0x5aac27,_0x4a3432,_0x27d03e,_0x25c4c0){const _0x38d539=_0x125ea8;super(),_0x321a93(this,_0x38d539(0x258),!0x1),_0x321a93(this,_0x38d539(0x2c1),!0x1),_0x321a93(this,_0x38d539(0x144),new _0x424996['BehaviorSubject'](new Map())),_0x321a93(this,_0x38d539(0x1a0),this['_cursorInfo$'][_0x38d539(0x147)]()),_0x321a93(this,_0x38d539(0x20a),new _0x424996[(_0x38d539(0x170))]([])),_0x321a93(this,_0x38d539(0x1b0),this['_roomMembers$']['pipe'](_0x424996['debounceTime'](_0x1738be))),_0x321a93(this,'_updateLocalCursor',_0x4d006c[_0x38d539(0x7f)]((_0x492bb1,_0x4ea429)=>{const _0x23bad7=_0x38d539,_0x1cbc53={'eventID':_0x12f559[_0x23bad7(0x254)][_0x23bad7(0x16a)],'data':{'unitID':this[_0x23bad7(0xae)],'memberID':this[_0x23bad7(0x280)][_0x23bad7(0x11d)](),'selection':_0x1371df[_0x23bad7(0x2d4)](_0x492bb1,_0x4ea429[_0x23bad7(0x2e9)])}};this[_0x23bad7(0x280)][_0x23bad7(0x1a6)](_0x1cbc53,this['unitID']);},_0xd08119)),(this[_0x38d539(0xae)]=_0x5d52ba,this[_0x38d539(0x280)]=_0x276aa4,this['_injector']=_0x151dcf,this['_colorAssignService']=_0x10d9c5,this['_memberService']=_0x5aac27,this[_0x38d539(0x1af)]=_0x4a3432,this[_0x38d539(0xe8)]=_0x27d03e,this[_0x38d539(0xec)]=_0x25c4c0);}get[_0x125ea8(0x241)](){const _0x55de5e=_0x125ea8;return this[_0x55de5e(0x144)][_0x55de5e(0x1ac)]();}get[_0x125ea8(0x107)](){const _0x10ddd9=_0x125ea8;return this['_roomMembers$'][_0x10ddd9(0x1ac)]();}[_0x125ea8(0x23f)](){const _0x27c921=_0x125ea8;super[_0x27c921(0x23f)](),this[_0x27c921(0x144)]['next'](new Map()),this['_cursorInfo$'][_0x27c921(0x2a2)](),this[_0x27c921(0x20a)][_0x27c921(0xa3)]([]),this[_0x27c921(0x20a)][_0x27c921(0x2a2)]();}[_0x125ea8(0x101)](){const _0xa44346=_0x125ea8;this[_0xa44346(0x2c1)]||(this[_0xa44346(0x2c1)]=!0x0,this[_0xa44346(0x280)]['sessionStatus$'][_0xa44346(0x2c2)](_0x424996[_0xa44346(0x2b2)](this[_0xa44346(0x281)]))['subscribe'](_0x4fbd39=>{const _0x41cad5=_0xa44346;_0x4fbd39===_0x3d05ed[_0x41cad5(0x138)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xa44346(0x280)][_0xa44346(0x2bb)][_0xa44346(0x2c2)](_0x424996[_0xa44346(0x2b2)](this['dispose$']))['subscribe'](_0x5ceae9=>{const _0x378a7f=_0xa44346,_0x3fcdbc=_0x5ceae9[_0x378a7f(0x29e)];_0x3fcdbc===_0x12f559[_0x378a7f(0x254)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x5ceae9),_0x3fcdbc===_0x12f559[_0x378a7f(0x254)][_0x378a7f(0x295)]&&this[_0x378a7f(0x166)](_0x5ceae9);}),this[_0xa44346(0x1a1)](),this[_0xa44346(0xd9)](this[_0xa44346(0xe8)][_0xa44346(0x1ca)](_0x4bc19e=>{const _0x40a270=_0xa44346;if(this[_0x40a270(0x258)]&&_0x4bc19e['id']===_0x231e9c[_0x40a270(0x1ff)]['id']&&_0x4bc19e[_0x40a270(0x2fd)]['unitId']===this[_0x40a270(0xae)]){const _0x14febd=_0x4bc19e[_0x40a270(0x2fd)];this[_0x40a270(0x13a)](_0x14febd[_0x40a270(0x92)],_0x14febd[_0x40a270(0x29f)][0x0]);}})));}['_onCursorUpdate'](_0x330014){const _0x1fe0c8=_0x125ea8;var _0x2e2682,_0x52c656;const {memberID:_0x2968dd,selection:_0x3dc1a2}=_0x330014[_0x1fe0c8(0x22d)],{sheetName:_0x70321c,range:_0x2792d1}=_0x1371df[_0x1fe0c8(0xa8)](_0x3dc1a2),_0x388595={'name':(_0x52c656=(_0x2e2682=this[_0x1fe0c8(0x1ef)][_0x1fe0c8(0x2d0)](this[_0x1fe0c8(0xae)],_0x2968dd))==null?void 0x0:_0x2e2682[_0x1fe0c8(0x277)])!=null?_0x52c656:_0x1fe0c8(0xd6),'range':this[_0x1fe0c8(0x17e)](_0x70321c,_0x2792d1),'sheetID':_0x70321c,'color':this['_colorAssignService'][_0x1fe0c8(0x257)](_0x2968dd),'selection':_0x3dc1a2},_0x2e3739=this[_0x1fe0c8(0x241)];_0x2e3739['set'](_0x2968dd,_0x388595),this[_0x1fe0c8(0x144)]['next'](_0x2e3739);}[_0x125ea8(0x166)](_0x3c8fd0){const _0x4d1f99=_0x125ea8,{memberID:_0x4c66f6}=_0x3c8fd0[_0x4d1f99(0x22d)],_0x164892=this[_0x4d1f99(0x241)];_0x164892[_0x4d1f99(0x22b)](_0x4c66f6),this[_0x4d1f99(0x144)]['next'](_0x164892);}[_0x125ea8(0x17e)](_0x26d15b,_0x2cd19e){const _0x38688b=_0x125ea8;var _0x33afec,_0x46da57;const _0x1c1f29=(_0x46da57=(_0x33afec=this[_0x38688b(0x1af)]['getUniverSheetInstance'](this[_0x38688b(0xae)]))==null?void 0x0:_0x33afec[_0x38688b(0x17f)](_0x26d15b))==null?void 0x0:_0x46da57[_0x38688b(0x7c)]();return(_0x1c1f29==null?void 0x0:_0x1c1f29['find'](_0x4b21b3=>_0x4d006c[_0x38688b(0x10c)]['contains'](_0x4b21b3,_0x2cd19e)))||_0x2cd19e;}[_0x125ea8(0x1a1)](){const _0x47bc72=_0x125ea8,_0x4ce641=new _0x4d006c['DisposableCollection'](),_0x1a75bb=_0x41b37c(),_0x50f6dc=()=>{const _0x4c772e=_0x1eaa;_0x4ce641[_0x4c772e(0x23f)]();const _0x294b64=(_0x425cd1,_0x1aa268,_0x12b7fc,_0x6d12f5)=>{const _0x3897ce=_0x4c772e;let _0xb9c2c8=[];switch(_0x425cd1['id']){case _0x231e9c[_0x3897ce(0x1e7)]['DeleteRangeMoveLeftCommandId']:{_0xb9c2c8=_0x231e9c['handleDeleteRangeMoveLeft'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x2db)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId'][_0x3897ce(0x29b)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x21f)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2cf)]:{_0xb9c2c8=_0x231e9c['handleInsertRangeMoveDown'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId'][_0x3897ce(0x158)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x1fd)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x184)]:{_0xb9c2c8=_0x231e9c['handleInsertRow'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId']['MoveRangeCommandId']:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x242)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2cc)]:{_0xb9c2c8=_0x231e9c['handleIRemoveCol'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2d7)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x1f7)](_0x425cd1,_0x6d12f5);break;}}const _0x21f1e1=_0x231e9c[_0x3897ce(0x2f1)](_0xb9c2c8,_0x6d12f5),_0x254933=this[_0x3897ce(0x241)][_0x3897ce(0x205)](_0x1aa268);if(_0x254933&&_0x21f1e1){const _0x16fdbe={..._0x254933,'range':_0x21f1e1};this[_0x3897ce(0x241)][_0x3897ce(0x21a)](_0x1aa268,_0x16fdbe),_0x1a75bb(()=>{const _0xa40955=_0x3897ce,_0x153949=this[_0xa40955(0xec)][_0xa40955(0x213)](_0x21f1e1,_0x1944d4=>(_0x153949[_0xa40955(0x23f)](),_0x294b64(_0x1944d4,_0x1aa268,_0x12b7fc,_0x21f1e1)));_0x4ce641[_0xa40955(0x208)](_0x153949);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4c772e(0x1fa)]((_0x3482f4,_0x2fbb4a)=>{const _0xa00375=_0x4c772e,{range:_0x29976c,sheetID:_0x551e22}=_0x3482f4,_0x273d95=this[_0xa00375(0xec)][_0xa00375(0x213)](_0x29976c,_0x1e51d=>(_0x273d95['dispose'](),_0x294b64(_0x1e51d,_0x2fbb4a,_0x551e22,_0x29976c)));_0x4ce641['add'](_0x273d95);});};this[_0x47bc72(0xd9)](_0x4d006c[_0x47bc72(0x109)](this[_0x47bc72(0x144)][_0x47bc72(0x2fb)](()=>{_0x50f6dc();})));}[_0x125ea8(0x169)](){const _0x172c00=_0x125ea8;var _0x2c4caf,_0x2bf1b1;if(this[_0x172c00(0x258)]=!0x0,((_0x2c4caf=this[_0x172c00(0x1af)]['getFocusedUnit']())==null?void 0x0:_0x2c4caf[_0x172c00(0x1d0)]())!==this[_0x172c00(0xae)])return;const _0x197b63=(_0x2bf1b1=this[_0x172c00(0x9f)]['get'](_0x231e9c[_0x172c00(0x94)])[_0x172c00(0x95)]())==null?void 0x0:_0x2bf1b1[0x0],_0x542ddf=this[_0x172c00(0x1af)][_0x172c00(0x1cc)](_0x4d006c[_0x172c00(0xd3)][_0x172c00(0x141)])['getActiveSheet']();_0x197b63&&_0x542ddf&&this['_updateLocalCursor'](_0x542ddf[_0x172c00(0xff)](),_0x197b63);}[_0x125ea8(0x1d2)](){const _0x4eef90=_0x125ea8;this[_0x4eef90(0x258)]=!0x1;}};_0x95cd17=_0x14fd81([_0x5d144d(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['Injector'])),_0x5d144d(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x1bdb8f)),_0x5d144d(0x4,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x26c)])),_0x5d144d(0x5,_0x4d006c[_0x125ea8(0x2ec)]),_0x5d144d(0x6,_0x4d006c[_0x125ea8(0x1a7)]),_0x5d144d(0x7,_0x4d006c[_0x125ea8(0xa0)](_0x231e9c[_0x125ea8(0x128)]))],_0x95cd17);var _0x47f7f0=Object[_0x125ea8(0x209)],_0x731459=(_0x5763bb,_0xab9581,_0x43c7a1,_0x51a394)=>{const _0x24aada=_0x125ea8;for(var _0x238095=_0x51a394>0x1?void 0x0:_0x51a394?_0x47f7f0(_0xab9581,_0x43c7a1):_0xab9581,_0x167875=_0x5763bb[_0x24aada(0xb7)]-0x1,_0x420700;_0x167875>=0x0;_0x167875--)(_0x420700=_0x5763bb[_0x167875])&&(_0x238095=_0x420700(_0x238095)||_0x238095);return _0x238095;},_0x3dee12=(_0x47d296,_0x2fb704)=>(_0x1819a2,_0x52cdba)=>_0x2fb704(_0x1819a2,_0x52cdba,_0x47d296);let _0x55a692=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x1161fc,_0x4d0282,_0x2c4703){const _0x39e99a=_0x125ea8;super(),_0x321a93(this,_0x39e99a(0x13b),new Map()),_0x321a93(this,'_entityInit$',new _0x424996[(_0x39e99a(0x23c))]()),(this[_0x39e99a(0x1af)]=_0x1161fc,this[_0x39e99a(0x9f)]=_0x4d0282,this[_0x39e99a(0x204)]=_0x2c4703,this[_0x39e99a(0x2c1)]());}[_0x125ea8(0x23f)](){const _0x3db488=_0x125ea8;super[_0x3db488(0x23f)](),this[_0x3db488(0x20f)][_0x3db488(0x2a2)](),this['_entities'][_0x3db488(0x1fa)](_0x4e9f08=>_0x4e9f08[_0x3db488(0x23f)]());}[_0x125ea8(0x78)](_0x4d7f23){const _0x230cf9=_0x125ea8;return this[_0x230cf9(0x13b)][_0x230cf9(0x2e7)](_0x4d7f23)?this[_0x230cf9(0x13b)][_0x230cf9(0x205)](_0x4d7f23)[_0x230cf9(0x1a0)]:this['_entityInit$'][_0x230cf9(0x2c2)](_0x424996['filter'](_0x1eb975=>_0x1eb975[_0x230cf9(0xae)]===_0x4d7f23),_0x424996[_0x230cf9(0x263)](_0x503ab0=>_0x503ab0[_0x230cf9(0x1a0)]));}[_0x125ea8(0x2c1)](){const _0x20f871=_0x125ea8;this[_0x20f871(0x1af)]['getTypeOfUnitAdded$'](_0x4d006c[_0x20f871(0xd3)][_0x20f871(0x141)])['pipe'](_0x424996[_0x20f871(0x2b2)](this['dispose$']))[_0x20f871(0x2fb)](async _0x580069=>{const _0x171310=_0x20f871,_0x5479e2=_0x580069['getUnitId'](),_0x999818=await this[_0x171310(0x20b)](_0x5479e2);this['_entityInit$'][_0x171310(0xa3)](_0x999818),this[_0x171310(0x13b)][_0x171310(0x21a)](_0x5479e2,_0x999818);}),this[_0x20f871(0x1af)][_0x20f871(0x76)](_0x4d006c[_0x20f871(0xd3)]['UNIVER_DOC'])[_0x20f871(0x2c2)](_0x424996[_0x20f871(0x2b2)](this[_0x20f871(0x281)]))['pipe'](_0x424996['filter'](_0x343d12=>!_0x343d12[_0x20f871(0x1d0)]()[_0x20f871(0x1c6)]('__')))[_0x20f871(0x2fb)](async _0x48f678=>{const _0x1ecee8=_0x20f871,_0x3bee40=_0x48f678[_0x1ecee8(0x1d0)](),_0x327ae1=await this[_0x1ecee8(0xd1)](_0x3bee40);this[_0x1ecee8(0x20f)][_0x1ecee8(0xa3)](_0x327ae1),this[_0x1ecee8(0x13b)][_0x1ecee8(0x21a)](_0x3bee40,_0x327ae1);}),_0x424996[_0x20f871(0xfe)](this[_0x20f871(0x1af)][_0x20f871(0x212)](_0x4d006c[_0x20f871(0xd3)][_0x20f871(0x220)]),this[_0x20f871(0x1af)][_0x20f871(0x212)](_0x4d006c[_0x20f871(0xd3)]['UNIVER_SHEET']))[_0x20f871(0x2c2)](_0x424996[_0x20f871(0x2b2)](this[_0x20f871(0x281)]))[_0x20f871(0x2fb)](_0x12dec9=>{const _0x1cbc4e=_0x20f871,_0x4285d9=_0x12dec9['getUnitId'](),_0xe8da3a=this['_entities'][_0x1cbc4e(0x205)](_0x4285d9);_0xe8da3a&&(_0xe8da3a[_0x1cbc4e(0x23f)](),this['_entities'][_0x1cbc4e(0x22b)](_0x4285d9));});}async[_0x125ea8(0x20b)](_0x1d0ad9){const _0x3f1e62=_0x125ea8,_0x62d5de=await this[_0x3f1e62(0x204)]['requireSession'](_0x1d0ad9),_0x57f18b=this[_0x3f1e62(0x9f)][_0x3f1e62(0x19b)](_0x95cd17,_0x1d0ad9,_0x62d5de);return _0x57f18b[_0x3f1e62(0x101)](),_0x57f18b;}async[_0x125ea8(0xd1)](_0x38b3b5){const _0x3b5080=_0x125ea8,_0x36747b=await this[_0x3b5080(0x204)][_0x3b5080(0xf0)](_0x38b3b5),_0x4f4147=this[_0x3b5080(0x9f)]['createInstance'](_0x1fe332,_0x38b3b5,_0x36747b);return _0x4f4147['init'](),_0x4f4147;}};_0x55a692=_0x731459([_0x3dee12(0x0,_0x4d006c[_0x125ea8(0x2ec)]),_0x3dee12(0x1,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x8d)])),_0x3dee12(0x2,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x1d5)]))],_0x55a692);const _0x260e0f=0x14,_0x4dfe11=0xc8,_0x31133a=0x4,_0x4fa4ce=0x5;function _0x240879(_0x2e8691,_0x32f447){const _0x2573c1=_0x125ea8;let {radius:_0x48143a,width:_0x3a2647,height:_0x37e8c7}=_0x32f447;_0x48143a=_0x48143a!=null?_0x48143a:0x0,_0x3a2647=_0x3a2647!=null?_0x3a2647:0x1e,_0x37e8c7=_0x37e8c7!=null?_0x37e8c7:0x1e;let _0x58bf9a=0x0,_0x263452=0x0,_0x17127b=0x0;_0x58bf9a=_0x263452=_0x17127b=Math[_0x2573c1(0x28f)](_0x48143a,_0x3a2647/0x2,_0x37e8c7/0x2),_0x2e8691['beginPath'](),_0x2e8691[_0x2573c1(0x1de)](_0x58bf9a,0x0),_0x2e8691[_0x2573c1(0x7a)](_0x3a2647-_0x263452,0x0),_0x2e8691['arc'](_0x3a2647-_0x263452,_0x263452,_0x263452,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e8691['lineTo'](_0x3a2647,_0x37e8c7-_0x17127b),_0x2e8691[_0x2573c1(0x25a)](_0x3a2647-_0x17127b,_0x37e8c7-_0x17127b,_0x17127b,0x0,Math['PI']/0x2,!0x1),_0x2e8691[_0x2573c1(0x7a)](0x0,_0x37e8c7),_0x2e8691[_0x2573c1(0x7a)](0x0,_0x58bf9a),_0x2e8691[_0x2573c1(0x25a)](_0x58bf9a,_0x58bf9a,_0x58bf9a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e8691[_0x2573c1(0xbd)](),_0x32f447[_0x2573c1(0x1d4)]&&(_0x2e8691[_0x2573c1(0xd7)](),_0x2e8691[_0x2573c1(0x125)]=_0x32f447[_0x2573c1(0x1d4)],_0x32f447['fillRule']===_0x2573c1(0x1eb)?_0x2e8691[_0x2573c1(0x1d4)](_0x2573c1(0x1eb)):_0x2e8691[_0x2573c1(0x1d4)](),_0x2e8691[_0x2573c1(0x21c)]());}class _0x5e0250 extends _0x3ce196[_0x125ea8(0xc9)]{constructor(_0x337ea7,_0x1ffb7b){const _0x5cb762=_0x125ea8;super(_0x337ea7,_0x1ffb7b),_0x321a93(this,'color'),_0x321a93(this,'text'),(this[_0x5cb762(0xd0)]=_0x1ffb7b==null?void 0x0:_0x1ffb7b[_0x5cb762(0xd0)],this[_0x5cb762(0x159)]=_0x1ffb7b==null?void 0x0:_0x1ffb7b['text']);}static['drawWith'](_0x5b251d,_0xfbb19){const _0x1427be=_0x125ea8,{text:_0x129737,color:_0x2df314}=_0xfbb19;_0x5b251d['save'](),_0x5b251d[_0x1427be(0x105)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x17003b=_0x5b251d['measureText'](_0x129737)[_0x1427be(0x20d)],_0x55d925=Math['min'](_0x17003b+0x2*_0x31133a,_0x4dfe11);_0x240879(_0x5b251d,{'height':_0x260e0f,'radius':0x4,'width':_0x55d925,'fill':_0x2df314}),_0x5b251d[_0x1427be(0x125)]=_0x1427be(0x74);const _0x12651d=_0x31133a,_0x382d16=_0x260e0f-_0x4fa4ce,_0x618729=_0x4dfe11-0x2*_0x31133a;if(_0x17003b>_0x618729){let _0x46b489='',_0x469bc4=0x0;for(const _0x147820 of _0x129737){const _0x2ca20d=_0x5b251d[_0x1427be(0x299)](_0x147820)[_0x1427be(0x20d)];if(_0x469bc4+_0x2ca20d<=_0x618729-_0x5b251d[_0x1427be(0x299)](_0x1427be(0x1f0))[_0x1427be(0x20d)])_0x46b489+=_0x147820,_0x469bc4+=_0x2ca20d;else{_0x46b489+=_0x1427be(0x1f0);break;}}_0x5b251d[_0x1427be(0x1c7)](_0x46b489,_0x12651d,_0x382d16);}else _0x5b251d[_0x1427be(0x1c7)](_0x129737,_0x12651d,_0x382d16);_0x5b251d[_0x1427be(0x21c)]();}[_0x125ea8(0x275)](_0x53c93f){const _0x487ca5=_0x125ea8;_0x5e0250[_0x487ca5(0x2a4)](_0x53c93f,this);}}const _0x27bee1=_0x125ea8(0x282),_0x3145a7=_0x125ea8(0xab),_0x262063='collab-rect-range-',_0x2053ea=0x6,_0x389923=1.5,_0x100a90=0x4,_0x2d7857=1.5,_0x440953=_0x125ea8(0x218);class _0x5931b9{constructor(_0x18fa2d,_0x3d0c24,_0x8eac85,_0x135e08){const _0x4bdeff=_0x125ea8;_0x321a93(this,_0x4bdeff(0x171),[]),_0x321a93(this,_0x4bdeff(0x13c),null),_0x321a93(this,_0x4bdeff(0x2be),null),_0x321a93(this,_0x4bdeff(0x2eb),null),_0x321a93(this,_0x4bdeff(0x1cd),null),_0x321a93(this,'_eventUnsubscribe',null),(this['_cursor']=_0x18fa2d,this[_0x4bdeff(0x195)]=_0x3d0c24,this[_0x4bdeff(0x18a)]=_0x8eac85,this['_document']=_0x135e08,this[_0x4bdeff(0xa7)]());}set[_0x125ea8(0x233)](_0x24294f){const _0x1f5610=_0x125ea8;_0x24294f?(this[_0x1f5610(0x2eb)]&&this[_0x1f5610(0x2eb)][_0x1f5610(0x8f)](),this[_0x1f5610(0x2be)]&&this['_textBubble'][_0x1f5610(0x2ab)]()):(this['_anchorDot']&&this[_0x1f5610(0x2eb)][_0x1f5610(0x2ab)](),this[_0x1f5610(0x2be)]&&this['_textBubble'][_0x1f5610(0x8f)]());}[_0x125ea8(0x23f)](){const _0x4bb5a3=_0x125ea8;for(const _0x1a19c2 of this['_shapes'])_0x1a19c2[_0x4bb5a3(0x23f)]();this[_0x4bb5a3(0x2be)]&&this[_0x4bb5a3(0x2be)][_0x4bb5a3(0x23f)](),this[_0x4bb5a3(0x2eb)]&&this[_0x4bb5a3(0x2eb)]['dispose'](),this['_anchor']&&this[_0x4bb5a3(0x13c)][_0x4bb5a3(0x23f)](),this[_0x4bb5a3(0x11b)]&&this['_eventUnsubscribe']();}[_0x125ea8(0xa7)](){const _0x20473f=_0x125ea8;var _0x39c5b9;const {_docSkeleton:_0x3cd27b,_document:_0x1de1c3}=this,{color:_0x4ad29e,name:_0x594e52,ranges:_0x33c3d9}=this[_0x20473f(0x285)],_0x26ccf2=_0x1de1c3[_0x20473f(0x1bf)](),{docsLeft:_0x3fe292,docsTop:_0x6ffa53}=_0x26ccf2,_0x1043f5=new _0x5051a5[(_0x20473f(0x24f))](_0x26ccf2,_0x3cd27b);for(const {startOffset:_0x187e02,endOffset:_0x1ce27b,rangeType:_0xe6ebf,segmentId:_0x29bd7f,segmentPage:_0x3be249,collapsed:_0x2a582f,isActive:_0x274ab2}of _0x33c3d9){const _0x2f1dd6=_0x3cd27b[_0x20473f(0x2cb)](_0x187e02,!0x0,_0x29bd7f,_0x3be249);let _0x2cf534=_0x3cd27b['findNodePositionByCharIndex'](_0x1ce27b,!0x0,_0x29bd7f,_0x3be249);if(_0x2cf534==null&&(_0x2cf534=_0x3cd27b['findNodePositionByCharIndex'](_0x1ce27b-0x1,!0x1,_0x29bd7f,_0x3be249)),_0x274ab2){const {contentBoxPointGroup:_0x5ea432}=_0x1043f5[_0x20473f(0x252)](_0x2cf534,_0x2cf534);if(_0x5ea432[_0x20473f(0xb7)]===0x0)continue;this[_0x20473f(0x2e6)](_0x4ad29e,_0x5ea432,_0x3fe292,_0x6ffa53,_0x594e52),this[_0x20473f(0x11b)]=this[_0x20473f(0x168)]();}if(_0x2f1dd6&&_0x2cf534){if(_0xe6ebf===_0x4d006c['DOC_RANGE_TYPE'][_0x20473f(0xee)]){const _0x535362=new _0x5051a5['NodePositionConvertToRectRange'](_0x26ccf2,_0x3cd27b),{pointGroup:_0x409f79}=(_0x39c5b9=_0x535362[_0x20473f(0x252)](_0x2f1dd6,_0x2cf534))!=null?_0x39c5b9:{};if(_0x409f79==null||_0x409f79[_0x20473f(0xb7)]===0x0)continue;this['_drawRectRange'](_0x4ad29e,_0x409f79,_0x3fe292,_0x6ffa53);}else{if(!_0x2a582f){const {borderBoxPointGroup:_0x56ba56}=_0x1043f5[_0x20473f(0x252)](_0x2f1dd6,_0x2cf534);if(_0x56ba56[_0x20473f(0xb7)]===0x0)continue;this[_0x20473f(0x24b)](_0x4ad29e,_0x56ba56,_0x3fe292,_0x6ffa53);}}}}}['_drawAnchor'](_0x53a757,_0x5aa7ab,_0x32625e,_0x4dfc86,_0x4469ac){const _0x22bc24=_0x125ea8,_0x12bd60=this[_0x22bc24(0xe0)](_0x5aa7ab),{left:_0x305b86,top:_0x49a6ed,height:_0x20ac5}=_0x12bd60,_0x3f6be3=this[_0x22bc24(0x13e)](),_0xbad854=_0x2d7857/_0x3f6be3,_0x5d4805=new _0x3ce196[(_0x22bc24(0x1c3))](_0x27bee1+_0x4d006c[_0x22bc24(0x1b5)]['generateRandomId'](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86,'height':_0x20ac5,'width':_0x389923,'fill':_0x53a757||_0x3ce196[_0x22bc24(0x151)](_0x4d006c[_0x22bc24(0x124)][_0x22bc24(0x6b)],0x0),'strokeWidth':_0xbad854,'stroke':_0x440953,'evented':!0x0});this[_0x22bc24(0x13c)]=_0x5d4805,this['_scene']['addObject'](_0x5d4805,_0x5051a5[_0x22bc24(0xd8)]);const _0x576f9a=new _0x3ce196[(_0x22bc24(0x1c3))](_0x27bee1+_0x4d006c['Tools'][_0x22bc24(0xcd)](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86-_0x100a90/0x2,'height':_0x100a90,'width':_0x100a90,'fill':_0x53a757||_0x3ce196[_0x22bc24(0x151)](_0x4d006c[_0x22bc24(0x124)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x53a757||_0x3ce196['getColor'](_0x4d006c[_0x22bc24(0x124)][_0x22bc24(0x6b)],0x0),'evented':!0x1});this[_0x22bc24(0x2eb)]=_0x576f9a,this[_0x22bc24(0x195)][_0x22bc24(0x9d)](_0x576f9a,_0x5051a5[_0x22bc24(0xd8)]);const _0x3b5665=new _0x5e0250(_0x27bee1+_0x4d006c['Tools'][_0x22bc24(0xcd)](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86-_0x260e0f,'text':_0x4469ac,'color':_0x53a757});this[_0x22bc24(0x2be)]=_0x3b5665,this[_0x22bc24(0x195)][_0x22bc24(0x9d)](_0x3b5665,_0x5051a5['TEXT_RANGE_LAYER_INDEX']),this[_0x22bc24(0x233)]=!0x1;}[_0x125ea8(0x168)](){const _0x2b29f5=_0x125ea8,_0x5856f5=this['_anchor']['onPointerEnter$'][_0x2b29f5(0xc6)](()=>{const _0xa6d969=_0x2b29f5;this[_0xa6d969(0x233)]=!0x0;}),_0x3e3415=this[_0x2b29f5(0x13c)][_0x2b29f5(0x19c)][_0x2b29f5(0xc6)](()=>{const _0x4b31c4=_0x2b29f5;this[_0x4b31c4(0x1cd)]&&clearTimeout(this['_hideTimer']),this[_0x4b31c4(0x1cd)]=setTimeout(()=>{const _0x4424fc=_0x4b31c4;this[_0x4424fc(0x233)]=!0x1;},0x7d0);});return()=>{const _0x416ac3=_0x2b29f5;_0x5856f5[_0x416ac3(0x99)](),_0x3e3415[_0x416ac3(0x99)]();};}[_0x125ea8(0x24b)](_0x42c6b0,_0x25f26c,_0x1cb032,_0x10faab){const _0x5f3aef=_0x125ea8,_0x31733b=new _0x4d006c[(_0x5f3aef(0xfd))](_0x42c6b0)[_0x5f3aef(0x273)](0.2)[_0x5f3aef(0x292)](),_0x33dd70=new _0x3ce196[(_0x5f3aef(0x15b))](_0x3145a7+_0x4d006c[_0x5f3aef(0x1b5)]['generateRandomId'](_0x2053ea),{'pointsGroup':_0x25f26c,'fill':_0x31733b||_0x3ce196[_0x5f3aef(0x151)](_0x4d006c[_0x5f3aef(0x124)][_0x5f3aef(0x6b)],0.2),'left':_0x1cb032,'top':_0x10faab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f3aef(0x171)][_0x5f3aef(0x2e4)](_0x33dd70),this['_scene']['addObject'](_0x33dd70,_0x5051a5['TEXT_RANGE_LAYER_INDEX']);}[_0x125ea8(0x1f5)](_0x664e62,_0xc61803,_0x5590b7,_0x1b8d61){const _0x41fc19=_0x125ea8,_0x2c5aa2=new _0x4d006c[(_0x41fc19(0xfd))](_0x664e62)[_0x41fc19(0x273)](0.2)[_0x41fc19(0x292)](),_0x558085=new _0x3ce196['RegularPolygon'](_0x262063+_0x4d006c['Tools'][_0x41fc19(0xcd)](_0x2053ea),{'pointsGroup':_0xc61803,'fill':_0x2c5aa2||_0x3ce196[_0x41fc19(0x151)](_0x4d006c[_0x41fc19(0x124)][_0x41fc19(0x6b)],0.2),'left':_0x5590b7,'top':_0x1b8d61,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41fc19(0x171)]['push'](_0x558085),this[_0x41fc19(0x195)][_0x41fc19(0x9d)](_0x558085,_0x5051a5[_0x41fc19(0xd8)]);}[_0x125ea8(0xe0)](_0x4eb0b1){const _0x14ea66=_0x4eb0b1[0x0],_0x319545=_0x14ea66[0x0],_0x333d30=_0x14ea66[0x2],{x:_0x31e480,y:_0xca433e}=_0x319545,{x:_0x33ef70,y:_0x54a5a4}=_0x333d30;return{'left':_0x31e480,'top':_0xca433e,'width':_0x33ef70-_0x31e480,'height':_0x54a5a4-_0xca433e};}[_0x125ea8(0x13e)](){const _0x6def8d=_0x125ea8,{scaleX:_0x1e392b,scaleY:_0x344596}=this['_scene']['getAncestorScale']();return Math[_0x6def8d(0x186)](_0x1e392b,_0x344596);}}var _0x9407ad=Object[_0x125ea8(0x209)],_0x319cec=(_0x1a997b,_0x29408b,_0x1e175e,_0x1882cd)=>{for(var _0x4131d5=_0x1882cd>0x1?void 0x0:_0x1882cd?_0x9407ad(_0x29408b,_0x1e175e):_0x29408b,_0x4f542e=_0x1a997b['length']-0x1,_0x5d2ad1;_0x4f542e>=0x0;_0x4f542e--)(_0x5d2ad1=_0x1a997b[_0x4f542e])&&(_0x4131d5=_0x5d2ad1(_0x4131d5)||_0x4131d5);return _0x4131d5;},_0xe68bed=(_0x452c00,_0x2bfd56)=>(_0x24eb8e,_0x8c1966)=>_0x2bfd56(_0x24eb8e,_0x8c1966,_0x452c00);let _0x49880d=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x28761e,_0x72af24,_0x19651d,_0x496dc6,_0x1a53a8){const _0xb196ff=_0x125ea8;super(),_0x321a93(this,'_cursorShapes',[]),_0x321a93(this,'_cursors',[]),(this[_0xb196ff(0x10d)]=_0x28761e,this[_0xb196ff(0x113)]=_0x72af24,this[_0xb196ff(0x211)]=_0x19651d,this['_commandService']=_0x496dc6,this[_0xb196ff(0x1c8)]=_0x1a53a8,this[_0xb196ff(0x2c1)]());}[_0x125ea8(0x2c1)](){const _0x44ac1f=_0x125ea8,_0x22a741=this['_context'][_0x44ac1f(0x224)],_0x3e896b=this[_0x44ac1f(0x113)];this[_0x44ac1f(0xd9)](_0x424996['combineLatest']([this['_collabCursorController'][_0x44ac1f(0x78)](_0x22a741),this[_0x44ac1f(0x1c8)]['currentTheme$']])[_0x44ac1f(0x2c2)](_0x4e626c[_0x44ac1f(0x16f)](([_0x5c1c51,_0x40c7aa])=>({'skeleton':_0x3e896b[_0x44ac1f(0x1b3)](),'cursors':[..._0x5c1c51[_0x44ac1f(0x1f3)]()][_0x44ac1f(0x28d)](_0x2960b0=>({..._0x2960b0,'color':_0x40c7aa[_0x2960b0[_0x44ac1f(0xd0)]]}))})))[_0x44ac1f(0x2fb)](_0x24a11e=>{const _0x52be4a=_0x44ac1f;if(this[_0x52be4a(0x1a5)](),_0x24a11e){const {skeleton:_0x14ae24,cursors:_0x773bb}=_0x24a11e;this[_0x52be4a(0x231)](_0x14ae24,_0x773bb);}})),this[_0x44ac1f(0x190)](),this[_0x44ac1f(0x2c6)]();}['_updateCollabCursors'](_0xa9690,_0x23905a){const _0x42e4e1=_0x125ea8,{scene:_0x51119d,mainComponent:_0x55e3f9}=this['_context'],_0x348b9d=_0x23905a['map'](_0x2afdd5=>new _0x5931b9(_0x2afdd5,_0x51119d,_0xa9690,_0x55e3f9));this[_0x42e4e1(0x2ad)]=_0x348b9d,this['_cursors']=_0x23905a;}[_0x125ea8(0x1db)](){const _0x8d595e=_0x125ea8;this['_removeCollabCursors']();const {scene:_0x48f7c8,mainComponent:_0x44970f}=this[_0x8d595e(0x10d)],_0xa769bb=this[_0x8d595e(0x113)][_0x8d595e(0x1b3)](),_0x2258a5=this[_0x8d595e(0x2f2)][_0x8d595e(0x16f)](_0x1fd693=>new _0x5931b9(_0x1fd693,_0x48f7c8,_0xa769bb,_0x44970f));this[_0x8d595e(0x2ad)]=_0x2258a5;}[_0x125ea8(0x1a5)](){const _0x4edc83=_0x125ea8;this[_0x4edc83(0x2ad)][_0x4edc83(0x1fa)](_0x2333e1=>_0x2333e1[_0x4edc83(0x23f)]()),this[_0x4edc83(0x2ad)]=[];}[_0x125ea8(0x2c6)](){const _0x228839=_0x125ea8,_0x1af8da=[_0x5051a5[_0x228839(0x215)]['id']];this[_0x228839(0xd9)](this['_commandService'][_0x228839(0x1ca)](_0x3b0b00=>{const _0x5b1024=_0x228839;_0x1af8da[_0x5b1024(0x84)](_0x3b0b00['id'])&&_0x3b0b00[_0x5b1024(0x2fd)][_0x5b1024(0x224)]===this[_0x5b1024(0x10d)][_0x5b1024(0x224)]&&this[_0x5b1024(0x1db)]();}));}[_0x125ea8(0x190)](){const _0x496015=_0x125ea8;this[_0x496015(0xd9)](_0x4d006c[_0x496015(0xf3)](this[_0x496015(0x10d)][_0x496015(0x1a3)][_0x496015(0x160)])[_0x496015(0x2c2)](_0x4e626c[_0x496015(0x2f5)](_0x154a06=>_0x154a06[_0x496015(0xd4)]===_0x3ce196[_0x496015(0x127)][_0x496015(0xb3)]),_0x4e626c['throttleTime'](0x10))[_0x496015(0x2fb)](()=>{this['_refreshCollabCursors']();}));}};_0x49880d=_0x319cec([_0xe68bed(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x2b2a28[_0x125ea8(0x81)])),_0xe68bed(0x2,_0x4d006c['Inject'](_0x55a692)),_0xe68bed(0x3,_0x4d006c[_0x125ea8(0x1a7)]),_0xe68bed(0x4,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x126)]))],_0x49880d);const _0x2c5595=0x1,_0x5243f7=1.5;class _0x415e6b extends _0x3ce196[_0x125ea8(0xc9)]{constructor(_0x3bb2cf,_0x5cbdab){const _0x412812=_0x125ea8;super(_0x3bb2cf,_0x5cbdab),_0x321a93(this,_0x412812(0x2d1)),_0x321a93(this,_0x412812(0x223),!0x1),_0x321a93(this,_0x412812(0x183)),_0x321a93(this,'_name',''),_0x321a93(this,'_labelPosition','top'),_0x321a93(this,'_backgroundColor'),(_0x5cbdab&&this[_0x412812(0x16d)](_0x5cbdab),this[_0x412812(0x146)][_0x412812(0xc6)](()=>this[_0x412812(0x16d)]({'hovered':!0x0})),this[_0x412812(0x19c)]['subscribeEvent'](()=>this[_0x412812(0x16d)]({'hovered':!0x1})));}[_0x125ea8(0x16d)](_0x30b592){const _0xa5e97=_0x125ea8;var _0x18fa34,_0x25f1f8,_0x5b1c14,_0x50f5fb,_0x1a9aa6,_0x42ddc0;this[_0xa5e97(0x2d1)]=(_0x18fa34=_0x30b592[_0xa5e97(0xd0)])!=null?_0x18fa34:this[_0xa5e97(0x2d1)],this[_0xa5e97(0x223)]=(_0x25f1f8=_0x30b592['hovered'])!=null?_0x25f1f8:this[_0xa5e97(0x223)],this[_0xa5e97(0x183)]=(_0x5b1c14=_0x30b592[_0xa5e97(0x2e9)])!=null?_0x5b1c14:this['_range'],this[_0xa5e97(0xfb)]=(_0x50f5fb=_0x30b592[_0xa5e97(0x277)])!=null?_0x50f5fb:this[_0xa5e97(0xfb)],this[_0xa5e97(0x132)]=(_0x1a9aa6=_0x30b592[_0xa5e97(0xc8)])!=null?_0x1a9aa6:this[_0xa5e97(0x132)],this[_0xa5e97(0xf8)]=(_0x42ddc0=_0x30b592[_0xa5e97(0x28c)])!=null?_0x42ddc0:this[_0xa5e97(0xf8)],this[_0xa5e97(0x1f6)]({'width':_0x30b592[_0xa5e97(0x20d)],'height':_0x30b592[_0xa5e97(0x156)]});}[_0x125ea8(0x1bd)](_0x556400){const _0x293c13=_0x125ea8,{row:_0x2821fa,column:_0x250d19}=_0x556400;if(_0x2821fa>=this[_0x293c13(0x183)][_0x293c13(0x2e0)]&&_0x2821fa<=this[_0x293c13(0x183)][_0x293c13(0x19a)]&&_0x250d19>=this[_0x293c13(0x183)][_0x293c13(0xdc)]&&_0x250d19<=this[_0x293c13(0x183)]['endColumn']){this[_0x293c13(0x16d)]({'hovered':!0x0});return;}this[_0x293c13(0x16d)]({'hovered':!0x1});}[_0x125ea8(0x2de)](_0x5f1729){return!0x1;}['_draw'](_0x5befd4){const _0x3c5159=_0x125ea8;_0x3ce196[_0x3c5159(0x1c3)][_0x3c5159(0x2a4)](_0x5befd4,{'width':this[_0x3c5159(0x20d)],'height':this[_0x3c5159(0x156)],'strokeWidth':_0x5243f7,'stroke':this[_0x3c5159(0x2d1)],'evented':!0x1,'fill':this[_0x3c5159(0xf8)]}),this['_hovered']&&(_0x5befd4[_0x3c5159(0xd7)](),_0x5befd4[_0x3c5159(0xa6)](0x1,0x0,0x0,0x1,this[_0x3c5159(0x20d)],this[_0x3c5159(0x132)]===_0x3c5159(0x1b6)?0x0:-0x14),_0x5e0250[_0x3c5159(0x2a4)](_0x5befd4,{'text':this[_0x3c5159(0xfb)],'color':this[_0x3c5159(0x2d1)]}),_0x5befd4[_0x3c5159(0x21c)]());}}var _0x3c63=Object[_0x125ea8(0x209)],_0x469407=(_0x4c5e01,_0x28d040,_0x5ddc69,_0x5e92b4)=>{for(var _0xc2974f=_0x5e92b4>0x1?void 0x0:_0x5e92b4?_0x3c63(_0x28d040,_0x5ddc69):_0x28d040,_0x282808=_0x4c5e01['length']-0x1,_0x1e05e2;_0x282808>=0x0;_0x282808--)(_0x1e05e2=_0x4c5e01[_0x282808])&&(_0xc2974f=_0x1e05e2(_0xc2974f)||_0xc2974f);return _0xc2974f;},_0x15c691=(_0x1ce40b,_0x162632)=>(_0x2ccb99,_0x42320c)=>_0x162632(_0x2ccb99,_0x42320c,_0x1ce40b);const _0x1e278c=0x1389;let _0x46ea4f=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x4b26fd,_0xde0931,_0x243ec2,_0x43faa4){const _0x164cfb=_0x125ea8;super(),_0x321a93(this,_0x164cfb(0x2f2),new Set()),_0x321a93(this,_0x164cfb(0x98),null),(this[_0x164cfb(0x10d)]=_0x4b26fd,this[_0x164cfb(0x1e6)]=_0xde0931,this[_0x164cfb(0x211)]=_0x243ec2,this[_0x164cfb(0x1c8)]=_0x43faa4,this['_init']());}[_0x125ea8(0x2c1)](){const _0x4fb612=_0x125ea8;this[_0x4fb612(0x1e6)][_0x4fb612(0xe9)]['pipe'](_0x4e626c['takeUntil'](this[_0x4fb612(0x281)]),_0x4e626c['switchMap'](_0x34caa5=>{const _0x22cc94=_0x4fb612;if(_0x34caa5){const _0x3348d3=_0x34caa5[_0x22cc94(0x1b7)];return _0x424996[_0x22cc94(0x26a)](this['_collabCursorController'][_0x22cc94(0x78)](this[_0x22cc94(0x10d)]['unitId']),this[_0x22cc94(0x1c8)][_0x22cc94(0x2e3)])[_0x22cc94(0x2c2)](_0x4e626c[_0x22cc94(0x16f)](([_0x44c049,_0x20b443])=>{const _0x37bada=_0x22cc94,_0x27c255=new Map();return _0x44c049[_0x37bada(0x1fa)]((_0x3ecdca,_0x5404c2)=>{const _0x569dae=_0x37bada;if(_0x3ecdca[_0x569dae(0x165)]===_0x3348d3){const _0x13844c={..._0x3ecdca};_0x13844c[_0x569dae(0xd0)]=_0x20b443[_0x3ecdca[_0x569dae(0xd0)]],_0x27c255['set'](_0x5404c2,_0x13844c);}}),{'skeleton':_0x34caa5,'cursors':_0x27c255};}));}return _0x424996['of']({'skeleton':null,'cursors':new Map()});}))[_0x4fb612(0x2fb)](({skeleton:_0x5322e7,cursors:_0x13ddc5})=>{const _0x26337e=_0x4fb612;this['_removeCollabCursors'](),_0x5322e7&&this[_0x26337e(0x231)](_0x5322e7,_0x13ddc5);}),this[_0x4fb612(0x1e6)]['currentSkeleton$'][_0x4fb612(0x2fb)](_0x50fd62=>{const _0x1f737d=_0x4fb612;if(_0x50fd62==null)return;const {skeleton:_0x276d3a}=_0x50fd62,{scene:_0x413c0d}=this[_0x1f737d(0x10d)];_0x413c0d[_0x1f737d(0x80)]['subscribeEvent'](_0x4d006c['debounce'](_0x300a4b=>{const _0x1addcd=_0x1f737d;var _0x30b10a,_0x167faf;const {offsetX:_0x22adaa,offsetY:_0x430c43}=_0x300a4b,{x:_0x2f9773,y:_0x1f415b}=_0x413c0d[_0x1addcd(0xe2)](_0x3ce196[_0x1addcd(0x1ad)][_0x1addcd(0x216)]([_0x22adaa,_0x430c43])),{scaleX:_0x132a4f,scaleY:_0xb8a57b}=_0x413c0d[_0x1addcd(0x253)](),_0x583f4a=_0x413c0d[_0x1addcd(0x22a)](_0x3ce196[_0x1addcd(0x1e0)]['VIEW_MAIN']),_0xcc9805=_0x413c0d[_0x1addcd(0x10e)](_0x3ce196[_0x1addcd(0x1ad)][_0x1addcd(0x216)]([_0x2f9773,_0x1f415b]),_0x583f4a),_0x3e9349=_0x276d3a[_0x1addcd(0x279)](_0x22adaa,_0x430c43,_0x132a4f,_0xb8a57b,_0xcc9805);((_0x30b10a=this[_0x1addcd(0x98)])==null?void 0x0:_0x30b10a[_0x1addcd(0x2a8)])===_0x3e9349[_0x1addcd(0x2a8)]&&((_0x167faf=this[_0x1addcd(0x98)])==null?void 0x0:_0x167faf[_0x1addcd(0x290)])===_0x3e9349['row']||this['_cursors'][_0x1addcd(0x1fa)](_0x3d42b8=>{const _0x522dc5=_0x1addcd;_0x3d42b8[_0x522dc5(0x1bd)](_0x3e9349);});},0x64));});}[_0x125ea8(0x231)](_0x1e1a95,_0x48a2fd){const _0x35dfd0=_0x125ea8;var _0x7026fb;const _0x216563=(_0x7026fb=this[_0x35dfd0(0x1e6)][_0x35dfd0(0xdd)]())==null?void 0x0:_0x7026fb[_0x35dfd0(0x244)];if(!_0x216563)return;const _0x8b8bc3=this['_getSheetObject']();if(!_0x8b8bc3)return;this['_cursors']['forEach'](_0x8459c=>{_0x8459c['makeDirty']();});const {scene:_0x111778}=_0x8b8bc3,_0x181d84=_0x4f5916(Array[_0x35dfd0(0x18f)](_0x48a2fd['values']()))[_0x35dfd0(0x16f)](_0x3aef04=>{const _0x3405d7=_0x35dfd0,{color:_0x3af984,range:_0x441926,name:_0x33b869,selection:_0x1f60e6,sheetID:_0x23cdc8}=_0x3aef04,{startColumn:_0x4d9562,startRow:_0x2c83a8,endColumn:_0x1ceeb,endRow:_0x64fa85}=_0x441926,_0x40a599=_0x4a87b2[_0x3405d7(0xa9)](_0x2c83a8,_0x4d9562,_0x111778,_0x216563),_0x379c13=_0x4a87b2[_0x3405d7(0xa9)](_0x64fa85,_0x1ceeb,_0x111778,_0x216563),{columnHeaderHeightAndMarginTop:_0x2ace49}=_0x216563,{startX:_0x6274f2,startY:_0x3019b3}=_0x40a599,{endX:_0x355e50,endY:_0x18d158}=_0x379c13,_0x54473c=_0x355e50-_0x6274f2,_0x36ef1d=_0x18d158-_0x3019b3,_0x5842a7={'labelPosition':_0x3019b3-_0x2ace49>=_0x260e0f?_0x3405d7(0x286):_0x3405d7(0x1b6),'sheetID':_0x23cdc8,'range':_0x441926,'color':_0x3af984,'name':_0x33b869,'selection':_0x1f60e6,'left':_0x6274f2,'top':_0x3019b3,'width':_0x54473c,'height':_0x36ef1d,'evented':!0x1,'zIndex':_0x1e278c};return new _0x415e6b(_0x33b869,_0x5842a7);});_0x111778['addObjects'](_0x181d84,_0x2c5595),this['_cursors']=new Set(_0x181d84);}[_0x125ea8(0x1a5)](){const _0x5d5002=_0x125ea8;var _0x2c1ade;(_0x2c1ade=this['_cursors'])==null||_0x2c1ade[_0x5d5002(0x1fa)](_0x541da8=>_0x541da8[_0x5d5002(0x23f)]());}['_getSheetObject'](){const _0x3d52f3=_0x125ea8;return _0x4a87b2[_0x3d52f3(0x1f4)](this[_0x3d52f3(0x10d)]['unit'],this[_0x3d52f3(0x10d)]);}};_0x46ea4f=_0x469407([_0x15c691(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x4a87b2[_0x125ea8(0x1b1)])),_0x15c691(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x55a692)),_0x15c691(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x126)]))],_0x46ea4f);function _0x4f5916(_0x47c780){const _0x316e34=_0x125ea8,_0x13efa5=new Map();return _0x47c780[_0x316e34(0x1fa)](_0xb6c4d1=>{const _0x2c9748=_0x316e34;if(_0x13efa5[_0x2c9748(0x2e7)](_0xb6c4d1['selection'])){const _0x1b49e2=_0x13efa5[_0x2c9748(0x205)](_0xb6c4d1[_0x2c9748(0x18c)]);_0x1b49e2[_0x2c9748(0x277)]+=',\x20'+_0xb6c4d1[_0x2c9748(0x277)];}else _0x13efa5[_0x2c9748(0x21a)](_0xb6c4d1[_0x2c9748(0x18c)],_0xb6c4d1);}),Array['from'](_0x13efa5[_0x316e34(0x1f3)]());}var _0x5b9bc2=function(){const _0x4b97c1=_0x125ea8;return _0x5b9bc2=Object[_0x4b97c1(0x1cb)]||function(_0x15a3d4){const _0x1e96bc=_0x4b97c1;for(var _0x5a5d8c,_0x50fcbf=0x1,_0x2d354a=arguments['length'];_0x50fcbf<_0x2d354a;_0x50fcbf++){_0x5a5d8c=arguments[_0x50fcbf];for(var _0x40fb83 in _0x5a5d8c)Object['prototype'][_0x1e96bc(0xe5)][_0x1e96bc(0x1bc)](_0x5a5d8c,_0x40fb83)&&(_0x15a3d4[_0x40fb83]=_0x5a5d8c[_0x40fb83]);}return _0x15a3d4;},_0x5b9bc2['apply'](this,arguments);},_0x1e235a=function(_0x32498b,_0xd39dfa){const _0x4579b6=_0x125ea8;var _0x3aa1f2={};for(var _0xba0c07 in _0x32498b)Object[_0x4579b6(0x26f)][_0x4579b6(0xe5)]['call'](_0x32498b,_0xba0c07)&&_0xd39dfa[_0x4579b6(0x20e)](_0xba0c07)<0x0&&(_0x3aa1f2[_0xba0c07]=_0x32498b[_0xba0c07]);if(_0x32498b!=null&&typeof Object[_0x4579b6(0x288)]=='function'){for(var _0xbc5c71=0x0,_0xba0c07=Object['getOwnPropertySymbols'](_0x32498b);_0xbc5c71<_0xba0c07[_0x4579b6(0xb7)];_0xbc5c71++)_0xd39dfa[_0x4579b6(0x20e)](_0xba0c07[_0xbc5c71])<0x0&&Object[_0x4579b6(0x26f)][_0x4579b6(0x11a)][_0x4579b6(0x1bc)](_0x32498b,_0xba0c07[_0xbc5c71])&&(_0x3aa1f2[_0xba0c07[_0xbc5c71]]=_0x32498b[_0xba0c07[_0xbc5c71]]);}return _0x3aa1f2;},_0x514b25=_0x3fb4d0[_0x125ea8(0xf5)](function(_0x53c8b5,_0x3248f2){const _0x3c27ac=_0x125ea8;var _0x19b5dc=_0x53c8b5[_0x3c27ac(0x1b9)],_0xd2bb97=_0x53c8b5['id'],_0x20ab5f=_0x53c8b5['className'],_0x279b3a=_0x53c8b5[_0x3c27ac(0x8b)],_0x2dd8b2=_0x1e235a(_0x53c8b5,[_0x3c27ac(0x1b9),'id',_0x3c27ac(0x88),_0x3c27ac(0x8b)]),_0x56855c=_0x3c27ac(0xb1)[_0x3c27ac(0x234)](_0xd2bb97,'\x20')[_0x3c27ac(0x234)](_0x20ab5f||'')[_0x3c27ac(0x6d)](),_0x201bd1=_0x3fb4d0['useRef']('_'[_0x3c27ac(0x234)](_0x164c34()));return _0x1ce9e5(_0x19b5dc,''[_0x3c27ac(0x234)](_0xd2bb97),{'defIds':_0x19b5dc[_0x3c27ac(0x197)],'idSuffix':_0x201bd1['current']},_0x5b9bc2({'ref':_0x3248f2,'className':_0x56855c},_0x2dd8b2),_0x279b3a);});function _0x1ce9e5(_0x45dd1d,_0x48a963,_0x5e475e,_0x35062c,_0x4856cd){const _0x1f614e=_0x125ea8;return _0x3fb4d0['createElement'](_0x45dd1d[_0x1f614e(0x97)],_0x5b9bc2(_0x5b9bc2({'key':_0x48a963},_0x248e02(_0x45dd1d,_0x5e475e,_0x4856cd)),_0x35062c),(_0x2d5efa(_0x45dd1d,_0x5e475e)[_0x1f614e(0x18d)]||[])[_0x1f614e(0x16f)](function(_0x33c2a0,_0x4cc232){const _0x4bc465=_0x1f614e;return _0x1ce9e5(_0x33c2a0,''[_0x4bc465(0x234)](_0x48a963,'-')['concat'](_0x45dd1d[_0x4bc465(0x97)],'-')[_0x4bc465(0x234)](_0x4cc232),_0x5e475e,void 0x0,_0x4856cd);}));}function _0x248e02(_0x169c8a,_0x5add02,_0xca788b){const _0x49270f=_0x125ea8;var _0x361bca=_0x5b9bc2({},_0x169c8a[_0x49270f(0xe6)]);_0xca788b!=null&&_0xca788b[_0x49270f(0x118)]&&_0x361bca['fill']===_0x49270f(0x118)&&(_0x361bca['fill']=_0xca788b['colorChannel1']),_0x169c8a[_0x49270f(0x97)]===_0x49270f(0xc4)&&_0x361bca['id']&&(_0x361bca['id']=_0x361bca['id']+_0x5add02[_0x49270f(0x1b4)]),Object['entries'](_0x361bca)[_0x49270f(0x1fa)](function(_0x37a085){const _0x1d1902=_0x49270f;var _0x24a070=_0x37a085[0x0],_0x46cc63=_0x37a085[0x1];_0x24a070===_0x1d1902(0xc4)&&typeof _0x46cc63==_0x1d1902(0x82)&&(_0x361bca[_0x24a070]=_0x46cc63[_0x1d1902(0x1ba)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5add02[_0x1d1902(0x1b4)],')')));});var _0x1ab8bb=_0x5add02['defIds'];return!_0x1ab8bb||_0x1ab8bb[_0x49270f(0xb7)]===0x0||(_0x169c8a[_0x49270f(0x97)]==='use'&&_0x361bca[_0x49270f(0x28e)]&&(_0x361bca[_0x49270f(0x28e)]=_0x361bca[_0x49270f(0x28e)]+_0x5add02[_0x49270f(0x1b4)]),Object['entries'](_0x361bca)[_0x49270f(0x1fa)](function(_0x2eca6b){const _0x48f77c=_0x49270f;var _0x50f5ad=_0x2eca6b[0x0],_0x55c4a7=_0x2eca6b[0x1];typeof _0x55c4a7==_0x48f77c(0x82)&&(_0x361bca[_0x50f5ad]=_0x55c4a7['replace'](/url\(#(.*)\)/,'url(#$1'[_0x48f77c(0x234)](_0x5add02[_0x48f77c(0x1b4)],')')));})),_0x361bca;}function _0x2d5efa(_0x461fb6,_0x57a911){const _0x47c3c7=_0x125ea8;var _0x11b7dc,_0x4984a0=_0x57a911[_0x47c3c7(0x197)];return!_0x4984a0||_0x4984a0['length']===0x0?_0x461fb6:_0x461fb6[_0x47c3c7(0x97)]===_0x47c3c7(0x1e4)&&(!((_0x11b7dc=_0x461fb6[_0x47c3c7(0x18d)])===null||_0x11b7dc===void 0x0)&&_0x11b7dc[_0x47c3c7(0xb7)])?_0x5b9bc2(_0x5b9bc2({},_0x461fb6),{'children':_0x461fb6[_0x47c3c7(0x18d)][_0x47c3c7(0x16f)](function(_0x2e868b){const _0x5cc16c=_0x47c3c7;return typeof _0x2e868b[_0x5cc16c(0xe6)]['id']=='string'&&_0x4984a0&&_0x4984a0[_0x5cc16c(0x20e)](_0x2e868b[_0x5cc16c(0xe6)]['id'])>-0x1?_0x5b9bc2(_0x5b9bc2({},_0x2e868b),{'attrs':_0x5b9bc2(_0x5b9bc2({},_0x2e868b[_0x5cc16c(0xe6)]),{'id':_0x2e868b[_0x5cc16c(0xe6)]['id']+_0x57a911[_0x5cc16c(0x1b4)]})}):_0x2e868b;})}):_0x461fb6;}function _0x164c34(){const _0x4b4c95=_0x125ea8;return Math[_0x4b4c95(0x287)]()['toString'](0x24)[_0x4b4c95(0x23d)](0x2,0x8);}_0x514b25[_0x125ea8(0x219)]='UniverIcon';var _0x190964={'tag':_0x125ea8(0x268),'attrs':{'fill':_0x125ea8(0x2d5),'viewBox':_0x125ea8(0x2a6),'width':'1em','height':_0x125ea8(0x19e)},'children':[{'tag':'g','attrs':{'clipPath':_0x125ea8(0x176)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'stroke':_0x125ea8(0xb8),'d':_0x125ea8(0x27f),'strokeLinecap':_0x125ea8(0x2ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x125ea8(0x137),'attrs':{'id':_0x125ea8(0x2a9)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'fill':'#fff','d':_0x125ea8(0x178)}}]}]}],'defIds':[_0x125ea8(0x2a9)]},_0x15262d=_0x3fb4d0[_0x125ea8(0xf5)](function(_0x238b5b,_0x221fd3){const _0x5e3278=_0x125ea8;return _0x3fb4d0[_0x5e3278(0x1be)](_0x514b25,Object[_0x5e3278(0x1cb)]({},_0x238b5b,{'id':_0x5e3278(0x17c),'ref':_0x221fd3,'icon':_0x190964}));});_0x15262d['displayName']='OffLineSingle';var _0x2d33f2={'tag':_0x125ea8(0x268),'attrs':{'fill':_0x125ea8(0x2d5),'viewBox':_0x125ea8(0x1e2),'width':_0x125ea8(0x19e),'height':_0x125ea8(0x19e)},'children':[{'tag':'g','attrs':{'clipPath':_0x125ea8(0xc1)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'stroke':_0x125ea8(0xb8),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x125ea8(0x2ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x125ea8(0x1e4),'attrs':{},'children':[{'tag':_0x125ea8(0x137),'attrs':{'id':_0x125ea8(0x2ba)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x125ea8(0x178),'transform':_0x125ea8(0x16c)}}]}]}],'defIds':[_0x125ea8(0x2ba)]},_0x4109ad=_0x3fb4d0['forwardRef'](function(_0x3c0941,_0x314abe){const _0x54c3b3=_0x125ea8;return _0x3fb4d0[_0x54c3b3(0x1be)](_0x514b25,Object[_0x54c3b3(0x1cb)]({},_0x3c0941,{'id':_0x54c3b3(0x174),'ref':_0x314abe,'icon':_0x2d33f2}));});_0x4109ad[_0x125ea8(0x219)]=_0x125ea8(0x243);function _0x11a1ba(_0x3e97b7){const _0x34d753=_0x125ea8;switch(_0x3e97b7){case _0x3d05ed[_0x34d753(0x129)]['OFFLINE']:return _0x34d753(0x115);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x236)]:return _0x34d753(0x122);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x2f0)]:return _0x34d753(0x25f);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x14f)]:return _0x34d753(0x2b0);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x29c)]:case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x27a)]:return _0x34d753(0xb6);case _0x3d05ed[_0x34d753(0x129)]['SYNCED']:case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x12a)]:return _0x34d753(0x1dc);}}function _0x22772b(_0xd961d0){const _0x4688e2=_0x125ea8,{status$:_0x4eecbf}=_0xd961d0,_0x56cf85=_0x1b6316[_0x4688e2(0xf1)](_0x4eecbf,_0x3d05ed[_0x4688e2(0x129)]['NOT_COLLAB']),_0x25fba6=_0x1b6316[_0x4688e2(0x143)](_0x4d006c[_0x4688e2(0x83)]),_0x5f17ae=_0x1b6316[_0x4688e2(0x143)](_0x3d05ed[_0x4688e2(0x1d5)]),_0x3f1a41=_0x56cf85!==_0x3d05ed['CollaborationStatus'][_0x4688e2(0x27c)],_0x45ebf8=_0x25fba6['t'](_0x11a1ba(_0x56cf85)),_0x146c0d=_0x3f1a41?_0x4ce13b[_0x4688e2(0x149)](_0x4109ad,{}):_0x4ce13b[_0x4688e2(0x149)](_0x15262d,{}),_0x472d18=_0x3fb4d0[_0x4688e2(0x229)](()=>{_0x3f1a41||_0x5f17ae['reconnect']();},[_0x3f1a41,_0x5f17ae]);function _0x5e7237(){const _0x1ec91a=_0x4688e2;return _0x4ce13b[_0x1ec91a(0x230)](_0x1ec91a(0xce),{'className':'univer-flex\x20univer-items-center','onClick':_0x472d18,'children':[_0x4ce13b[_0x1ec91a(0x149)](_0x1ec91a(0xce),{'className':_0x1f5fc2[_0x1ec91a(0x6a)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x3f1a41?_0x1ec91a(0x2af):_0x1ec91a(0x2df)),'children':_0x146c0d}),_0x4ce13b[_0x1ec91a(0x149)](_0x1ec91a(0xce),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x45ebf8})]});}return _0x3f1a41?_0x5e7237():_0x4ce13b[_0x4688e2(0x149)](_0x1f5fc2[_0x4688e2(0x93)],{'title':_0x25fba6['t'](_0x4688e2(0xa5)),'children':_0x5e7237()});}var _0x24a3a5=Object[_0x125ea8(0x209)],_0x16b6f5=(_0x1ed99a,_0x12d44e,_0x52423a,_0x4fad8f)=>{const _0x207c7e=_0x125ea8;for(var _0x3399a4=_0x4fad8f>0x1?void 0x0:_0x4fad8f?_0x24a3a5(_0x12d44e,_0x52423a):_0x12d44e,_0x46abb1=_0x1ed99a[_0x207c7e(0xb7)]-0x1,_0x5e0747;_0x46abb1>=0x0;_0x46abb1--)(_0x5e0747=_0x1ed99a[_0x46abb1])&&(_0x3399a4=_0x5e0747(_0x3399a4)||_0x3399a4);return _0x3399a4;},_0x5d3fc2=(_0x8fa462,_0x4f14d6)=>(_0x39e0f2,_0x4689a7)=>_0x4f14d6(_0x39e0f2,_0x4689a7,_0x8fa462);_0x1a6cab[_0x125ea8(0x14d)]=class extends _0x4d006c['Disposable']{constructor(_0xa2d155,_0x48d930,_0x2f2c34,_0x474031){const _0x2341e1=_0x125ea8;super(),_0x321a93(this,_0x2341e1(0x2dc),new _0x424996[(_0x2341e1(0x170))](_0x3d05ed['CollaborationStatus']['NOT_COLLAB'])),(this[_0x2341e1(0x1af)]=_0xa2d155,this[_0x2341e1(0x9f)]=_0x48d930,this[_0x2341e1(0x262)]=_0x2f2c34,this[_0x2341e1(0x28b)]=_0x474031,this[_0x2341e1(0x2b5)](),this[_0x2341e1(0x152)]());}[_0x125ea8(0x152)](){const _0x3263d2=_0x125ea8;this[_0x3263d2(0xd9)](this[_0x3263d2(0x1af)][_0x3263d2(0x21d)][_0x3263d2(0x2c2)](_0x424996['switchMap'](()=>{const _0x24821b=_0x3263d2,_0x11e682=this[_0x24821b(0x1af)][_0x24821b(0x297)]();return _0x11e682?this['_collaborationController'][_0x24821b(0x10f)](_0x11e682[_0x24821b(0x1d0)]()):_0x424996['of'](null);}),_0x424996[_0x3263d2(0x263)](_0x21e0d9=>_0x21e0d9?_0x21e0d9[_0x3263d2(0x266)]:_0x424996['of'](_0x3d05ed[_0x3263d2(0x129)][_0x3263d2(0x14f)])))[_0x3263d2(0x2fb)](_0x45f191=>{const _0x4bcad1=_0x3263d2;this[_0x4bcad1(0x2dc)][_0x4bcad1(0xa3)](_0x45f191);}));}[_0x125ea8(0x2b5)](){const _0x361b16=_0x125ea8;this['disposeWithMe'](this[_0x361b16(0x28b)][_0x361b16(0x271)](_0x1b6316[_0x361b16(0x1ee)][_0x361b16(0x15c)],()=>_0x1b6316[_0x361b16(0x23e)](_0x5ef5d2({'status$':this[_0x361b16(0x2dc)][_0x361b16(0x147)]()}),this[_0x361b16(0x9f)])));}},_0x1a6cab[_0x125ea8(0x14d)]=_0x16b6f5([_0x5d3fc2(0x0,_0x4d006c[_0x125ea8(0x2ec)]),_0x5d3fc2(0x1,_0x4d006c['Inject'](_0x4d006c['Injector'])),_0x5d3fc2(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x150)])),_0x5d3fc2(0x3,_0x1b6316[_0x125ea8(0x225)])],_0x1a6cab[_0x125ea8(0x14d)]);function _0x5ef5d2(_0x4e2077){const {status$:_0x4a0c9d}=_0x4e2077;return function(){return _0x4ce13b['jsx'](_0x22772b,{'status$':_0x4a0c9d});};}var _0x37904c=Object[_0x125ea8(0x209)],_0x58cc96=(_0x5ede38,_0x242d29,_0x5789b8,_0x31c9b2)=>{for(var _0x3f247d=_0x31c9b2>0x1?void 0x0:_0x31c9b2?_0x37904c(_0x242d29,_0x5789b8):_0x242d29,_0xfa8de7=_0x5ede38['length']-0x1,_0x7f0c00;_0xfa8de7>=0x0;_0xfa8de7--)(_0x7f0c00=_0x5ede38[_0xfa8de7])&&(_0x3f247d=_0x7f0c00(_0x3f247d)||_0x3f247d);return _0x3f247d;},_0x1c1d7d=(_0x1ac9eb,_0x34b5ea)=>(_0x44bd23,_0x4ea1ee)=>_0x34b5ea(_0x44bd23,_0x4ea1ee,_0x1ac9eb);let _0x412a08=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x574081,_0x115b59,_0xc22381,_0x592594,_0x90da61,_0x8f8645){const _0x443d38=_0x125ea8;super(),this[_0x443d38(0x276)]=_0x574081,this[_0x443d38(0x1df)]=_0x115b59,this[_0x443d38(0x17b)]=_0xc22381,this[_0x443d38(0x226)]=_0x592594,this[_0x443d38(0x27d)]=_0x90da61,this[_0x443d38(0x85)]=_0x8f8645,this[_0x443d38(0x13f)](),this['_initEvent']();}[_0x125ea8(0x13f)](){const _0x415f0a=_0x125ea8;this[_0x415f0a(0xd9)](this[_0x415f0a(0x276)][_0x415f0a(0xfc)](()=>{const _0x15baed=_0x415f0a;if(this[_0x15baed(0x1df)][_0x15baed(0x114)]['size'])return this[_0x15baed(0x85)]['t'](_0x15baed(0x8a));}));}[_0x125ea8(0x16e)](){const _0x78c963=_0x125ea8;this['disposeWithMe'](this[_0x78c963(0x17b)][_0x78c963(0x2bb)][_0x78c963(0x2fb)](_0x78a9fd=>{const _0x45e9be=_0x78c963;_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)]['OTHER_CLIENT_EDITING']&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x189)],'content':this[_0x45e9be(0x85)]['t'](_0x45e9be(0x22f))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x25d)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)]['Warning'],'content':this[_0x45e9be(0x85)]['t']('collaboration.closeRoom')}),_0x78a9fd['id']===_0x3d05ed['CollaborationUIEventId'][_0x45e9be(0x2f7)]&&this[_0x45e9be(0x27d)][_0x45e9be(0x2ab)]({'title':this[_0x45e9be(0x85)]['t']('permission.title'),'content':this[_0x45e9be(0x85)]['t']('permission.content'),'type':_0x45e9be(0x2bd),'duration':0x0}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x236)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this['_localeService']['t'](_0x45e9be(0x164))+'('+_0x78a9fd[_0x45e9be(0x22d)]+')'}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x15a)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2['MessageType']['Warning'],'content':this[_0x45e9be(0x85)]['t'](_0x78a9fd['data']||'')}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x2e8)]&&this['_messageService'][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x189)],'content':this[_0x45e9be(0x85)]['t'](_0x45e9be(0x221))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)]['SOCKET_FAILED']&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this['_localeService']['t'](_0x45e9be(0xa1))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x284)]&&this['_messageService']['show']({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this[_0x45e9be(0x85)]['t']('session.collaboration-timeout')});}));}};_0x412a08=_0x58cc96([_0x1c1d7d(0x0,_0x1b6316['IBeforeCloseService']),_0x1c1d7d(0x1,_0x3d05ed[_0x125ea8(0x2b3)]),_0x1c1d7d(0x2,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x2aa)])),_0x1c1d7d(0x3,_0x1b6316[_0x125ea8(0x251)]),_0x1c1d7d(0x4,_0x1b6316[_0x125ea8(0x153)]),_0x1c1d7d(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['LocaleService']))],_0x412a08);const _0x23abbe=_0x125ea8(0x1ce),_0x2b1b44={},_0xade62c=_0x4d006c[_0x125ea8(0x1ae)](_0x125ea8(0x102));var _0x46649e=Object['getOwnPropertyDescriptor'],_0x562aae=(_0x1b9abe,_0x4a15ba,_0x2d0640,_0x57a925)=>{const _0x3e1752=_0x125ea8;for(var _0x949621=_0x57a925>0x1?void 0x0:_0x57a925?_0x46649e(_0x4a15ba,_0x2d0640):_0x4a15ba,_0x59d855=_0x1b9abe[_0x3e1752(0xb7)]-0x1,_0x34036d;_0x59d855>=0x0;_0x59d855--)(_0x34036d=_0x1b9abe[_0x59d855])&&(_0x949621=_0x34036d(_0x949621)||_0x949621);return _0x949621;},_0x4da828=(_0x5b105f,_0x2a43d0)=>(_0x3a36ca,_0xcc5a2c)=>_0x2a43d0(_0x3a36ca,_0xcc5a2c,_0x5b105f);_0x1a6cab[_0x125ea8(0x15d)]=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x2fdd05,_0x29d4be,_0x4e465a,_0x107564,_0x527568){const _0x4d95b1=_0x125ea8;super(),this[_0x4d95b1(0x26b)]=_0x2fdd05,this['_logService']=_0x29d4be,this['_commandService']=_0x4e465a,this[_0x4d95b1(0xfa)]=_0x107564,_0x527568?_0x527568==null||_0x527568[_0x4d95b1(0x173)]()[_0x4d95b1(0x87)](()=>this[_0x4d95b1(0x2c1)]()):(this[_0x4d95b1(0x17d)][_0x4d95b1(0x136)](_0x4d95b1(0xb9),_0x4d95b1(0xe4)),this['_init']());}async[_0x125ea8(0x2c1)](){const _0x3c88d8=_0x125ea8,_0x1ec450=this[_0x3c88d8(0x26b)][_0x3c88d8(0x27b)](_0x3c88d8(0x12d)),_0x2eb9c8=this[_0x3c88d8(0x26b)][_0x3c88d8(0x27b)](_0x3c88d8(0xd4)),_0x378850=this['_urlService'][_0x3c88d8(0x27b)](_0x3c88d8(0x1c4));if(!_0x1ec450||!_0x2eb9c8){this['_logService'][_0x3c88d8(0x136)](_0x3c88d8(0xb9),_0x3c88d8(0x206));return;}const _0x16a0a7=await this[_0x3c88d8(0xfa)][_0x3c88d8(0x19d)](_0x1ec450,Number(_0x2eb9c8),_0x378850);_0x16a0a7&&_0x16a0a7 instanceof _0x4d006c['Workbook']&&this[_0x3c88d8(0xc2)](_0x16a0a7);}async[_0x125ea8(0xc2)](_0x400a9a){const _0xdd2c50=_0x125ea8;await this[_0xdd2c50(0x17a)](_0x400a9a),_0x400a9a[_0xdd2c50(0x2d3)][_0xdd2c50(0x2c2)](_0x424996[_0xdd2c50(0x2b2)](this[_0xdd2c50(0x281)]))[_0xdd2c50(0x2fb)](_0x252fd4=>{_0x252fd4&&this['_updateURLWithCurrentState'](_0x252fd4);}),this['_urlService'][_0xdd2c50(0x1e1)][_0xdd2c50(0x2c2)](_0x424996[_0xdd2c50(0x2b2)](this[_0xdd2c50(0x281)]))['subscribe'](()=>this[_0xdd2c50(0x17a)](_0x400a9a));}[_0x125ea8(0xf4)](_0x19f230,_0x293189=!0x1){const _0x5aaed1=_0x125ea8,_0x128913=this['_urlService'][_0x5aaed1(0x27b)](_0x5aaed1(0x1c4));_0x19f230[_0x5aaed1(0xff)]()!==_0x128913&&this[_0x5aaed1(0x26b)][_0x5aaed1(0x1a8)](_0x5aaed1(0x1c4),_0x19f230['getSheetId'](),_0x293189);}async[_0x125ea8(0x17a)](_0x209640){const _0x12563b=_0x125ea8;var _0x22a849;const _0x2c33ab=this[_0x12563b(0x26b)][_0x12563b(0x27b)]('subunit');if(!_0x2c33ab||!_0x209640[_0x12563b(0x17f)](_0x2c33ab)){const _0x55fd7a=_0x209640[_0x12563b(0x10b)]()[0x0],_0x2f6f5e=_0x209640[_0x12563b(0x17f)](_0x55fd7a);if(!_0x2f6f5e)return;this[_0x12563b(0xf4)](_0x2f6f5e,!0x0),await this[_0x12563b(0xe8)][_0x12563b(0x21b)](_0x231e9c[_0x12563b(0xc0)]['id'],{'unitId':_0x209640[_0x12563b(0x1d0)](),'subUnitId':_0x55fd7a});return;}((_0x22a849=_0x209640['getActiveSheet']())==null?void 0x0:_0x22a849[_0x12563b(0xff)]())!==_0x2c33ab&&await this[_0x12563b(0xe8)][_0x12563b(0x21b)](_0x231e9c['SetWorksheetActivateCommand']['id'],{'unitId':_0x209640[_0x12563b(0x1d0)](),'subUnitId':_0x2c33ab});}},_0x1a6cab[_0x125ea8(0x15d)]=_0x562aae([_0x4da828(0x0,_0xade62c),_0x4da828(0x1,_0x4d006c['ILogService']),_0x4da828(0x2,_0x4d006c['ICommandService']),_0x4da828(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x1da)])),_0x4da828(0x4,_0x4d006c['Optional'](_0x5adf1e['IRemoteInstanceService']))],_0x1a6cab['CollaborationDataLoaderController']);var _0x2ec213=Object['getOwnPropertyDescriptor'],_0x7f7a1f=(_0x5326f0,_0x3a0494,_0x1ebebe,_0x4788d0)=>{for(var _0x43c873=_0x4788d0>0x1?void 0x0:_0x4788d0?_0x2ec213(_0x3a0494,_0x1ebebe):_0x3a0494,_0x230d42=_0x5326f0['length']-0x1,_0x22ccaa;_0x230d42>=0x0;_0x230d42--)(_0x22ccaa=_0x5326f0[_0x230d42])&&(_0x43c873=_0x22ccaa(_0x43c873)||_0x43c873);return _0x43c873;},_0x5d946a=(_0x1291bf,_0x3c501a)=>(_0x2e7f65,_0x53d576)=>_0x3c501a(_0x2e7f65,_0x53d576,_0x1291bf);let _0x27c614=class{constructor(_0x3c4918,_0x597b9c,_0x4299b0){const _0x21e182=_0x125ea8;this[_0x21e182(0x9f)]=_0x3c4918,this[_0x21e182(0xdb)]=_0x597b9c,this[_0x21e182(0x2a7)]=_0x4299b0;}['transformIMECache'](_0x972471){const _0x1415c8=_0x125ea8;this[_0x1415c8(0x1d8)](_0x972471),this[_0x1415c8(0x15f)](_0x972471);}[_0x125ea8(0x185)](_0x1afa18){const _0x192e94=_0x125ea8,{unitID:_0x3e5c9c}=_0x1afa18,_0x52474c=this[_0x192e94(0x2a7)][_0x192e94(0x203)](_0x3e5c9c)[_0x192e94(0x28a)](_0x5051a5['DocIMEInputManagerService']),{redoCache:_0x3c07ba}=_0x52474c[_0x192e94(0x1e9)]();if(_0x3c07ba[_0x192e94(0xb7)]===0x0)return _0x1afa18;let _0x13d0e7=_0x4d006c[_0x192e94(0x1b5)]['deepClone'](_0x1afa18['mutations'][0x0]);for(let _0x12a110=0x0;_0x12a110<_0x3c07ba[_0x192e94(0xb7)];_0x12a110++){const _0x2e9693={'id':_0x192e94(0x12e),'params':{..._0x3c07ba[_0x12a110]}},_0x240999=this['_transformService'][_0x192e94(0x1d1)](_0x13d0e7,_0x2e9693,!0x1);if(_0x12f559[_0x192e94(0xcb)](_0x240999))throw _0x240999['error'];_0x13d0e7=_0x240999[_0x192e94(0x77)];}return{..._0x4d006c[_0x192e94(0x1b5)][_0x192e94(0xc3)](_0x1afa18),'mutations':[_0x13d0e7]};}['_transformUndoRedoStack'](_0x12694c){const _0x4610bc=_0x125ea8,{unitID:_0x5abdab}=_0x12694c,_0x12bafc=this[_0x4610bc(0x2a7)][_0x4610bc(0x203)](_0x5abdab)[_0x4610bc(0x28a)](_0x5051a5[_0x4610bc(0x180)]),{undoCache:_0x17ed83,redoCache:_0x52ea5f}=_0x12bafc[_0x4610bc(0x1e9)]();if(_0x17ed83[_0x4610bc(0xb7)]===0x0||_0x52ea5f[_0x4610bc(0xb7)]===0x0)return;const _0x43375b=[],_0x653381=[];let _0x160021=_0x4d006c['Tools'][_0x4610bc(0xc3)](_0x12694c['mutations'][0x0]),_0x319045=_0x4d006c[_0x4610bc(0x1b5)][_0x4610bc(0xc3)](_0x12694c[_0x4610bc(0x6c)][0x0]);for(let _0x174e28=_0x17ed83['length']-0x1;_0x174e28>=0x0;_0x174e28--){const _0x317627={'id':_0x4610bc(0x12e),'params':{..._0x17ed83[_0x174e28]}},_0x39d1bc={'id':_0x4610bc(0x12e),'params':{..._0x52ea5f[_0x174e28]}},_0x5a99de=this[_0x4610bc(0xdb)][_0x4610bc(0x1d1)](_0x160021,_0x317627,!0x1),_0x8822ac=this['_transformService'][_0x4610bc(0x1d1)](_0x319045,_0x39d1bc,!0x1);if(_0x12f559[_0x4610bc(0xcb)](_0x5a99de))throw _0x5a99de['error'];if(_0x12f559[_0x4610bc(0xcb)](_0x8822ac))throw _0x8822ac[_0x4610bc(0x2bd)];_0x43375b[_0x4610bc(0x2ef)](_0x5a99de['m2Prime'][_0x4610bc(0x2fd)]),_0x653381[_0x4610bc(0x2ef)](_0x8822ac[_0x4610bc(0x250)][_0x4610bc(0x2fd)]),_0x160021=_0x5a99de['m1Prime'],_0x319045=_0x8822ac[_0x4610bc(0x77)];}_0x12bafc['setUndoRedoMutationParamsCache']({'undoCache':_0x43375b,'redoCache':_0x653381});}[_0x125ea8(0x15f)](_0x59d9d6){const _0x58580b=_0x125ea8,{unitID:_0x58da44}=_0x59d9d6,_0x2135bf=this[_0x58580b(0x2a7)][_0x58580b(0x203)](_0x58da44)[_0x58580b(0x28a)](_0x5051a5[_0x58580b(0x180)]),_0x2cb760=_0x2135bf[_0x58580b(0x1c9)]();if(_0x2cb760==null)return;const _0x48d529=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59d9d6['unitID'],'actions':null,'textRanges':[_0x2cb760]}}],_0x59b818=this['_transformService'][_0x58580b(0x238)](_0x59d9d6,_0x48d529);if(!_0x12f559[_0x58580b(0x167)](_0x59b818))throw _0x59b818[_0x58580b(0x2bd)];const _0x1be267=_0x59b818['m2Prime'][0x0][_0x58580b(0x2fd)][_0x58580b(0xa2)];Array[_0x58580b(0x177)](_0x1be267)&&_0x1be267[_0x58580b(0xb7)]&&_0x2135bf[_0x58580b(0x2c7)](_0x1be267[0x0]);}};_0x27c614=_0x7f7a1f([_0x5d946a(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['Injector'])),_0x5d946a(0x1,_0x12f559['ITransformService']),_0x5d946a(0x2,_0x3ce196['IRenderManagerService'])],_0x27c614);var _0x43e871=Object[_0x125ea8(0x209)],_0x208020=(_0x2781ae,_0x5ba4eb,_0x474902,_0x2df645)=>{const _0x6a77f6=_0x125ea8;for(var _0x75d50c=_0x2df645>0x1?void 0x0:_0x2df645?_0x43e871(_0x5ba4eb,_0x474902):_0x5ba4eb,_0x24f1d6=_0x2781ae[_0x6a77f6(0xb7)]-0x1,_0x47b5c8;_0x24f1d6>=0x0;_0x24f1d6--)(_0x47b5c8=_0x2781ae[_0x24f1d6])&&(_0x75d50c=_0x47b5c8(_0x75d50c)||_0x75d50c);return _0x75d50c;},_0x4f294f=(_0x2e424d,_0x3e37f5)=>(_0x4ebc48,_0x1f9e62)=>_0x3e37f5(_0x4ebc48,_0x1f9e62,_0x2e424d);let _0x55d5ce=class{constructor(_0x291fe9,_0x20407a,_0x4c0a26){const _0x4e6c63=_0x125ea8;this[_0x4e6c63(0x9f)]=_0x291fe9,this['_transformService']=_0x20407a,this[_0x4e6c63(0x163)]=_0x4c0a26;}[_0x125ea8(0x272)](_0x30e236){const _0xfff505=_0x125ea8;this[_0xfff505(0x192)](_0x30e236);}[_0x125ea8(0x185)](_0x1f8246){const _0xf92c4c=_0x125ea8,{unitID:_0x2b30cd}=_0x1f8246,{collaboration:_0x1fad7e}=this[_0xf92c4c(0x163)][_0xf92c4c(0xdf)](_0x2b30cd);if(_0x1fad7e[_0xf92c4c(0xb7)]===0x0)return _0x1f8246;let _0x148ec4=_0x4d006c[_0xf92c4c(0x1b5)][_0xf92c4c(0xc3)](_0x1f8246[_0xf92c4c(0x6c)][0x0]);for(let _0x5b33b7=0x0;_0x5b33b7<_0x1fad7e[_0xf92c4c(0xb7)];_0x5b33b7++){const _0x4c0b86={'id':_0xf92c4c(0x12e),'params':{'unitId':_0x1fad7e[_0x5b33b7][_0xf92c4c(0x224)],..._0x1fad7e[_0x5b33b7][_0xf92c4c(0x11f)]}},_0x780107=this[_0xf92c4c(0xdb)][_0xf92c4c(0x1d1)](_0x148ec4,_0x4c0b86,!0x1);if(_0x12f559['isTransformMutationFailure'](_0x780107))throw _0x780107[_0xf92c4c(0x2bd)];_0x148ec4=_0x780107['m1Prime'];}return{..._0x4d006c['Tools'][_0xf92c4c(0xc3)](_0x1f8246),'mutations':[_0x148ec4]};}[_0x125ea8(0x192)](_0x3e4357){const _0x1885ae=_0x125ea8,{unitID:_0x587503}=_0x3e4357,{history:_0x50d9e0,collaboration:_0x1d316b}=this['_docStateChangeManagerService']['getStateCache'](_0x587503);if(_0x50d9e0[_0x1885ae(0xb7)]===0x0&&_0x1d316b[_0x1885ae(0xb7)]===0x0)return;const _0x284b21=[],_0x47b940=[];let _0x10c309=_0x4d006c['Tools']['deepClone'](_0x3e4357[_0x1885ae(0x6c)][0x0]),_0x3034f6=_0x4d006c['Tools']['deepClone'](_0x3e4357[_0x1885ae(0x6c)][0x0]);for(let _0x6fc3f4=_0x50d9e0[_0x1885ae(0xb7)]-0x1;_0x6fc3f4>=0x0;_0x6fc3f4--){const _0x18c441={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50d9e0[_0x6fc3f4][_0x1885ae(0x224)],..._0x50d9e0[_0x6fc3f4][_0x1885ae(0x2d8)]}},_0x90bff5={'id':_0x1885ae(0x12e),'params':{'unitId':_0x50d9e0[_0x6fc3f4][_0x1885ae(0x224)],..._0x50d9e0[_0x6fc3f4][_0x1885ae(0x11f)]}},_0x4a72b0=this[_0x1885ae(0xdb)][_0x1885ae(0x1d1)](_0x10c309,_0x18c441,!0x1),_0x5f3018=this[_0x1885ae(0xdb)]['transformMutation'](_0x3034f6,_0x90bff5,!0x1);if(_0x12f559[_0x1885ae(0xcb)](_0x4a72b0))throw _0x4a72b0[_0x1885ae(0x2bd)];if(_0x12f559[_0x1885ae(0xcb)](_0x5f3018))throw _0x5f3018['error'];_0x284b21[_0x1885ae(0x2ef)]({..._0x50d9e0[_0x6fc3f4],'undoState':_0x4a72b0[_0x1885ae(0x250)]['params'],'redoState':_0x5f3018['m2Prime'][_0x1885ae(0x2fd)]}),_0x10c309=_0x4a72b0['m1Prime'],_0x3034f6=_0x5f3018[_0x1885ae(0x77)];}_0x10c309=_0x4d006c[_0x1885ae(0x1b5)][_0x1885ae(0xc3)](_0x3e4357[_0x1885ae(0x6c)][0x0]),_0x3034f6=_0x4d006c[_0x1885ae(0x1b5)][_0x1885ae(0xc3)](_0x3e4357[_0x1885ae(0x6c)][0x0]);for(let _0x113254=_0x1d316b[_0x1885ae(0xb7)]-0x1;_0x113254>=0x0;_0x113254--){const _0x29cbfa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d316b[_0x113254][_0x1885ae(0x224)],..._0x1d316b[_0x113254][_0x1885ae(0x2d8)]}},_0x2db619={'id':_0x1885ae(0x12e),'params':{'unitId':_0x1d316b[_0x113254][_0x1885ae(0x224)],..._0x1d316b[_0x113254][_0x1885ae(0x11f)]}},_0x4f194e=this[_0x1885ae(0xdb)][_0x1885ae(0x1d1)](_0x10c309,_0x29cbfa,!0x1),_0x39f461=this[_0x1885ae(0xdb)]['transformMutation'](_0x3034f6,_0x2db619,!0x1);if(_0x12f559[_0x1885ae(0xcb)](_0x4f194e))throw _0x4f194e[_0x1885ae(0x2bd)];if(_0x12f559[_0x1885ae(0xcb)](_0x39f461))throw _0x39f461[_0x1885ae(0x2bd)];_0x47b940[_0x1885ae(0x2ef)]({..._0x1d316b[_0x113254],'undoState':_0x4f194e[_0x1885ae(0x250)][_0x1885ae(0x2fd)],'redoState':_0x39f461[_0x1885ae(0x250)][_0x1885ae(0x2fd)]}),_0x10c309=_0x4f194e[_0x1885ae(0x77)],_0x3034f6=_0x39f461[_0x1885ae(0x77)];}this[_0x1885ae(0x163)][_0x1885ae(0x2da)](_0x587503,{'history':_0x284b21,'collaboration':_0x47b940});}};_0x55d5ce=_0x208020([_0x4f294f(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x4f294f(0x1,_0x12f559['ITransformService']),_0x4f294f(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x5051a5[_0x125ea8(0x2a1)]))],_0x55d5ce);var _0x55f156=Object[_0x125ea8(0x209)],_0x1cbab1=(_0x1afcae,_0x4b39c5,_0x190f60,_0x9e1079)=>{const _0x3f3105=_0x125ea8;for(var _0x261a4a=_0x9e1079>0x1?void 0x0:_0x9e1079?_0x55f156(_0x4b39c5,_0x190f60):_0x4b39c5,_0x54a317=_0x1afcae[_0x3f3105(0xb7)]-0x1,_0xbc1940;_0x54a317>=0x0;_0x54a317--)(_0xbc1940=_0x1afcae[_0x54a317])&&(_0x261a4a=_0xbc1940(_0x261a4a)||_0x261a4a);return _0x261a4a;},_0x3c3f19=(_0x101865,_0x17f825)=>(_0x2959aa,_0x454611)=>_0x17f825(_0x2959aa,_0x454611,_0x101865);let _0x685fad=class{constructor(_0x3c16a5,_0x4d406b){this['_injector']=_0x3c16a5,this['_transformService']=_0x4d406b;}['transformSelections'](_0x4feaab){const _0x10c62b=_0x125ea8;var _0x3b4308;const _0xa7b4ac=this[_0x10c62b(0x9f)][_0x10c62b(0x205)](_0x2b2a28[_0x10c62b(0xb5)]),_0x48e447=(_0x3b4308=_0xa7b4ac[_0x10c62b(0x135)]())!=null?_0x3b4308:[];if(_0x48e447[_0x10c62b(0xb7)]===0x0)return;const _0x4c38f9=_0x4feaab['unitID'],_0x22fee4=[{'id':_0x10c62b(0x12e),'params':{'unitId':_0x4c38f9,'actions':null,'textRanges':_0x48e447}}],_0x4730ed=this['_transformService'][_0x10c62b(0x238)](_0x4feaab,_0x22fee4);if(!_0x12f559[_0x10c62b(0x167)](_0x4730ed))throw _0x4730ed[_0x10c62b(0x2bd)];const _0x1ebcc3=_0x4730ed[_0x10c62b(0x250)][0x0][_0x10c62b(0x2fd)][_0x10c62b(0xa2)];Array[_0x10c62b(0x177)](_0x1ebcc3)&&_0x1ebcc3['length']&&_0xa7b4ac[_0x10c62b(0x1c5)](_0x1ebcc3,{'unitId':_0x4c38f9,'subUnitId':_0x4c38f9},!0x1);}};_0x685fad=_0x1cbab1([_0x3c3f19(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x3c3f19(0x1,_0x12f559[_0x125ea8(0x2c3)])],_0x685fad);var _0x5302c6=Object['getOwnPropertyDescriptor'],_0x27721b=(_0x1a3187,_0x1d428c,_0x1b4060,_0x498f38)=>{const _0x124c20=_0x125ea8;for(var _0x51f53f=_0x498f38>0x1?void 0x0:_0x498f38?_0x5302c6(_0x1d428c,_0x1b4060):_0x1d428c,_0x371a5e=_0x1a3187[_0x124c20(0xb7)]-0x1,_0x544be5;_0x371a5e>=0x0;_0x371a5e--)(_0x544be5=_0x1a3187[_0x371a5e])&&(_0x51f53f=_0x544be5(_0x51f53f)||_0x51f53f);return _0x51f53f;},_0x96d203=(_0x3512f1,_0x32ff47)=>(_0x455d04,_0x2fa671)=>_0x32ff47(_0x455d04,_0x2fa671,_0x3512f1);let _0x1cabee=class extends _0x4d006c['Disposable']{constructor(_0x9526e7,_0x2d4e62,_0x2901c6,_0x274fb7,_0x2a4ba4,_0x4f7826,_0x2d7592,_0x75abee){const _0x52c6c2=_0x125ea8;super(),_0x321a93(this,'_status$',new _0x424996[(_0x52c6c2(0x170))](_0x3d05ed['CollaborationStatus'][_0x52c6c2(0x14f)])),(this[_0x52c6c2(0x163)]=_0x9526e7,this[_0x52c6c2(0x262)]=_0x2d4e62,this['_docTransformIMECacheService']=_0x2901c6,this[_0x52c6c2(0xd5)]=_0x274fb7,this['_docTransformSelectionsService']=_0x2a4ba4,this[_0x52c6c2(0x142)]=_0x4f7826,this[_0x52c6c2(0x226)]=_0x2d7592,this['_localeService']=_0x75abee,this[_0x52c6c2(0xac)]());}[_0x125ea8(0xac)](){const _0x3e521b=_0x125ea8;this[_0x3e521b(0xd9)](this[_0x3e521b(0x262)][_0x3e521b(0x222)][_0x3e521b(0x2fb)](_0x287bb3=>{const _0x28028a=_0x3e521b,_0x1f5b99=this[_0x28028a(0x163)][_0x28028a(0xcc)][_0x28028a(0x2fb)](_0x4a877d=>{const _0x30567c=_0x28028a;if(_0x4a877d==null)return;const {unitId:_0x4753ef,redoState:_0x4dffa0,commandId:_0x5ab66a}=_0x4a877d;if(_0x4753ef!==_0x287bb3['unitID'])return;const _0x456434={'id':_0x5ab66a,'type':_0x4d006c[_0x30567c(0x1dd)]['MUTATION'],'params':{'unitId':_0x4753ef,'actions':_0x4dffa0[_0x30567c(0x270)],'textRanges':null}};_0x287bb3[_0x30567c(0x202)](_0x456434);});if(_0x287bb3[_0x28028a(0xd9)](_0x1f5b99),_0x287bb3 instanceof _0x3d05ed[_0x28028a(0xbe)]){const _0x8237be={'onTransformIME':_0x5b7b73=>this[_0x28028a(0x2c0)][_0x28028a(0x14b)](_0x5b7b73),'onTransformState':_0x349833=>this[_0x28028a(0xd5)][_0x28028a(0x272)](_0x349833),'onTransformSelections':_0x3ebc96=>this[_0x28028a(0x188)][_0x28028a(0x201)](_0x3ebc96),'onSyncEditingCollabCursor':_0x59e7c3=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x59e7c3),'onTransformRemoteChangesetByIMECache':_0x12f45c=>this[_0x28028a(0x2c0)][_0x28028a(0x185)](_0x12f45c),'onTransformRemoteChangesetByStateCache':_0x1ef2b4=>this[_0x28028a(0xd5)][_0x28028a(0x185)](_0x1ef2b4)};_0x287bb3['addHandlerCallback'](_0x8237be);}}));}};_0x1cabee=_0x27721b([_0x96d203(0x0,_0x4d006c['Inject'](_0x5051a5[_0x125ea8(0x2a1)])),_0x96d203(0x1,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x150)])),_0x96d203(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x27c614)),_0x96d203(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x55d5ce)),_0x96d203(0x4,_0x4d006c[_0x125ea8(0xa0)](_0x685fad)),_0x96d203(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x167556)),_0x96d203(0x6,_0x1b6316[_0x125ea8(0x251)]),_0x96d203(0x7,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x83)]))],_0x1cabee);var _0x169802=Object[_0x125ea8(0x209)],_0xaa1c6a=(_0x544209,_0x2d402e,_0x668883,_0x53a6e4)=>{const _0x40c9c8=_0x125ea8;for(var _0x19801d=_0x53a6e4>0x1?void 0x0:_0x53a6e4?_0x169802(_0x2d402e,_0x668883):_0x2d402e,_0x1d7044=_0x544209[_0x40c9c8(0xb7)]-0x1,_0x4817ee;_0x1d7044>=0x0;_0x1d7044--)(_0x4817ee=_0x544209[_0x1d7044])&&(_0x19801d=_0x4817ee(_0x19801d)||_0x19801d);return _0x19801d;},_0x126761=(_0x3aa2c8,_0x1526dc)=>(_0x29b9f8,_0x37bc13)=>_0x1526dc(_0x29b9f8,_0x37bc13,_0x3aa2c8);let _0x42251d=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x4df13a,_0x1e9a30,_0x2fa30c){const _0x5ace5a=_0x125ea8;super(),_0x321a93(this,_0x5ace5a(0x2b1),new Map()),_0x321a93(this,_0x5ace5a(0xea),new Map()),_0x321a93(this,'_disabled',!0x1),(this[_0x5ace5a(0x2c9)]=_0x4df13a,this[_0x5ace5a(0x1b2)]=_0x1e9a30,this[_0x5ace5a(0x2d6)]=_0x2fa30c);}['disableLocalCache'](){const _0x3b1db8=_0x125ea8;this[_0x3b1db8(0x2b7)]=!0x0;}['enableLocalCache'](){const _0x3ec7c7=_0x125ea8;this[_0x3ec7c7(0x2b7)]=!0x1;}get[_0x125ea8(0x114)](){const _0x539c6b=_0x125ea8;return this[_0x539c6b(0xea)];}[_0x125ea8(0x23f)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x125ea8(0x191)](_0x4697a4){const _0x5e4524=_0x125ea8;return this[_0x5e4524(0x2b7)]?null:this[_0x5e4524(0x1b2)]['getItem'](_0x3d05ed[_0x5e4524(0x2c8)](_0x4697a4));}async[_0x125ea8(0x227)](_0x1289e5,_0x55f526){return!!this['_localStorageService']['setItem'](_0x1289e5,_0x55f526);}['updateOfflineData'](_0x4092df,_0x4a7472,_0x950ed8,_0x9b9c9b){const _0x230e9e=_0x125ea8,_0x3de0c8=this[_0x230e9e(0x2d6)][_0x230e9e(0x181)](_0x4092df);this[_0x230e9e(0x2b1)][_0x230e9e(0x21a)](_0x4092df,{'unitID':_0x4092df,'type':_0x4a7472,'awaitingChangeset':_0x950ed8,'mutations':_0x9b9c9b,'rev':_0x3de0c8}),this[_0x230e9e(0xea)][_0x230e9e(0x2e7)](_0x4092df)||this[_0x230e9e(0x235)](_0x4092df);}[_0x125ea8(0x235)](_0x44785c){const _0x41f000=_0x125ea8,_0x402c5a=this[_0x41f000(0x239)]();_0x402c5a===0x0?this[_0x41f000(0x154)](_0x44785c):this[_0x41f000(0xea)][_0x41f000(0x21a)](_0x44785c,setTimeout(()=>this['_saveCache'](_0x44785c),_0x402c5a));}['_getSaveTimeout'](){const _0x59da0a=_0x125ea8;var _0x243545;return(_0x243545=this[_0x59da0a(0x2c9)][_0x59da0a(0x9c)](_0x3d05ed['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x243545:_0x3d05ed[_0x59da0a(0x256)];}['_saveCache'](_0x2b144e){const _0x582d19=_0x125ea8,_0x59f0d3=this[_0x582d19(0xea)]['get'](_0x2b144e);return _0x59f0d3!==void 0x0&&window[_0x582d19(0xda)](_0x59f0d3),this[_0x582d19(0x1b2)][_0x582d19(0xaf)](_0x3d05ed[_0x582d19(0x2c8)](_0x2b144e),this['_cachedData'][_0x582d19(0x205)](_0x2b144e))[_0x582d19(0x87)](()=>this[_0x582d19(0xea)][_0x582d19(0x22b)](_0x2b144e));}async[_0x125ea8(0x9b)](){const _0x58772e=_0x125ea8,_0x23efd4=[];this[_0x58772e(0xea)][_0x58772e(0x1fa)]((_0xc4eea2,_0x41bea7)=>{const _0x1fc258=_0x58772e;window[_0x1fc258(0xda)](_0xc4eea2),_0x23efd4[_0x1fc258(0x2e4)](this[_0x1fc258(0x154)](_0x41bea7)[_0x1fc258(0x87)](()=>{const _0x1b2edc=_0x1fc258;this[_0x1b2edc(0xea)][_0x1b2edc(0x22b)](_0x41bea7);}));}),await Promise[_0x58772e(0x2ce)](_0x23efd4);}};_0x42251d=_0xaa1c6a([_0x126761(0x0,_0x4d006c[_0x125ea8(0x24d)]),_0x126761(0x1,_0x4d006c['ILocalStorageService']),_0x126761(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x12f559['RevisionService']))],_0x42251d);class _0x2d18ad extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(){const _0x16dc6e=_0x125ea8;super(),_0x321a93(this,_0x16dc6e(0x1e1)),this['urlChange$']=_0x424996['fromEvent'](window,_0x16dc6e(0x269))['pipe'](_0x424996[_0x16dc6e(0x2b2)](this[_0x16dc6e(0x281)]),_0x424996[_0x16dc6e(0x12c)](0x1),_0x424996[_0x16dc6e(0x2e2)](void 0x0));}[_0x125ea8(0x1a8)](_0x2e3105,_0x1cb3e9,_0x5f409f=!0x1){const _0x6629ef=_0x125ea8,_0x37446d=new URL(window['location']['href']);_0x37446d[_0x6629ef(0x14e)][_0x6629ef(0x21a)](_0x2e3105,_0x1cb3e9),_0x5f409f?window[_0x6629ef(0x255)][_0x6629ef(0x1f2)]('','',_0x37446d[_0x6629ef(0x72)]()):window['history'][_0x6629ef(0x29d)]('','',_0x37446d[_0x6629ef(0x72)]());}[_0x125ea8(0x103)](_0x3b72ae,_0x4f6aab=!0x1){const _0x42ffce=_0x125ea8,_0x12f00d=new URL(window['location'][_0x42ffce(0x1b8)]);_0x12f00d[_0x42ffce(0x14e)][_0x42ffce(0x22b)](_0x3b72ae),_0x4f6aab?window[_0x42ffce(0x255)][_0x42ffce(0x1f2)]('','',_0x12f00d[_0x42ffce(0x72)]()):window['history'][_0x42ffce(0x29d)]('','',_0x12f00d[_0x42ffce(0x72)]());}[_0x125ea8(0x27b)](_0x2973e2){const _0x4bd256=_0x125ea8;var _0x4675b9;return(_0x4675b9=new URL(window[_0x4bd256(0x130)]['href'])['searchParams'][_0x4bd256(0x205)](_0x2973e2))!=null?_0x4675b9:void 0x0;}}var _0x53224c=Object[_0x125ea8(0x2f8)],_0x370b99=Object[_0x125ea8(0x209)],_0x27b1a7=(_0x1193fd,_0x2a8dd1,_0x33c66c)=>_0x2a8dd1 in _0x1193fd?_0x53224c(_0x1193fd,_0x2a8dd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33c66c}):_0x1193fd[_0x2a8dd1]=_0x33c66c,_0x25789f=(_0x445aa1,_0x1b6b91,_0x8dcb12,_0x1412f5)=>{const _0x2096f7=_0x125ea8;for(var _0x5c92b6=_0x1412f5>0x1?void 0x0:_0x1412f5?_0x370b99(_0x1b6b91,_0x8dcb12):_0x1b6b91,_0x26d8f0=_0x445aa1[_0x2096f7(0xb7)]-0x1,_0x3d74e4;_0x26d8f0>=0x0;_0x26d8f0--)(_0x3d74e4=_0x445aa1[_0x26d8f0])&&(_0x5c92b6=_0x3d74e4(_0x5c92b6)||_0x5c92b6);return _0x5c92b6;},_0x300d57=(_0x303e10,_0xc14701)=>(_0x5ba0ad,_0x3f8eaf)=>_0xc14701(_0x5ba0ad,_0x3f8eaf,_0x303e10),_0x1d53a3=(_0x2789d5,_0x3745da,_0x5473cc)=>_0x27b1a7(_0x2789d5,_0x3745da+'',_0x5473cc);const _0x12890b='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1a6cab['UniverCollaborationClientUIPlugin']=class extends _0x4d006c[_0x125ea8(0x104)]{constructor(_0x22e71e=_0x2b1b44,_0x243192,_0x1f7aa1,_0x5233c8){const _0x21659e=_0x125ea8;super(),this['_config']=_0x22e71e,this[_0x21659e(0x2a7)]=_0x243192,this[_0x21659e(0x9f)]=_0x1f7aa1,this[_0x21659e(0x2c9)]=_0x5233c8;const {..._0x15b9d2}=_0x4d006c['merge']({},_0x2b1b44,this[_0x21659e(0x264)]);this[_0x21659e(0x2c9)][_0x21659e(0x1fc)](_0x23abbe,_0x15b9d2);}['onStarting'](){const _0x333f95=_0x125ea8;this[_0x333f95(0x133)](),this[_0x333f95(0x1ec)]();}[_0x125ea8(0x9a)](){const _0x352c96=_0x125ea8;this[_0x352c96(0x2f4)]();}['_registerDependencies'](){const _0x4cf5bc=_0x125ea8;var _0x10dc73;const _0x23fc68=[[_0x1bdb8f],[_0x685fad],[_0x27c614],[_0x55d5ce],[_0x167556],[_0xade62c,{'useClass':_0x2d18ad}],[_0x651cbe[_0x4cf5bc(0x296)],{'useClass':_0x651cbe['WebSocketService']}],[_0x3d05ed['ILocalCacheService'],{'useClass':_0x42251d}],[_0x1a6cab[_0x4cf5bc(0x14d)]],[_0x1cabee],[_0x412a08],[_0x55a692],[_0x22fe1a],[_0x1a6cab[_0x4cf5bc(0x15d)]]];_0x4d006c[_0x4cf5bc(0x24a)](this[_0x4cf5bc(0x9f)],_0x4d006c[_0x4cf5bc(0xa4)](_0x23fc68,(_0x10dc73=this[_0x4cf5bc(0x264)])==null?void 0x0:_0x10dc73['override']));}[_0x125ea8(0x2f4)](){const _0x342719=_0x125ea8;this[_0x342719(0xd9)](this[_0x342719(0x2a7)][_0x342719(0x27e)](_0x4d006c[_0x342719(0xd3)]['UNIVER_DOC'],[_0x49880d])),this[_0x342719(0xd9)](this[_0x342719(0x2a7)]['registerRenderModule'](_0x4d006c['UniverInstanceType']['UNIVER_SHEET'],[_0x46ea4f]));}[_0x125ea8(0x1ec)](){const _0x957cb6=_0x125ea8;_0x4d006c[_0x957cb6(0x246)](this[_0x957cb6(0x9f)],[[_0x55a692],[_0x1a6cab[_0x957cb6(0x14d)]],[_0x1cabee],[_0x412a08],[_0x1a6cab[_0x957cb6(0x15d)]]]);}},_0x1d53a3(_0x1a6cab[_0x125ea8(0x119)],_0x125ea8(0x161),_0x12890b),_0x1a6cab[_0x125ea8(0x119)]=_0x25789f([_0x4d006c[_0x125ea8(0x11c)](_0x3d05ed['UniverCollaborationClientPlugin']),_0x300d57(0x1,_0x3ce196[_0x125ea8(0x187)]),_0x300d57(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x300d57(0x3,_0x4d006c[_0x125ea8(0x24d)])],_0x1a6cab['UniverCollaborationClientUIPlugin']);var _0x1f26e2=Object[_0x125ea8(0x209)],_0x23a6b0=(_0x5ae13d,_0x1663cf,_0x4d51c9,_0xa1e124)=>{for(var _0x5820f0=_0xa1e124>0x1?void 0x0:_0xa1e124?_0x1f26e2(_0x1663cf,_0x4d51c9):_0x1663cf,_0x119868=_0x5ae13d['length']-0x1,_0x32d2f4;_0x119868>=0x0;_0x119868--)(_0x32d2f4=_0x5ae13d[_0x119868])&&(_0x5820f0=_0x32d2f4(_0x5820f0)||_0x5820f0);return _0x5820f0;},_0x512a71=(_0x52c22e,_0x292525)=>(_0x8fd54,_0x266fe7)=>_0x292525(_0x8fd54,_0x266fe7,_0x52c22e);_0x1a6cab['BrowserCollaborationSocketService']=class extends _0x3d05ed[_0x125ea8(0x13d)]{constructor(_0x148ca8,_0x5c6554,_0x437f48,_0x302744,_0x478523){super(_0x148ca8,_0x5c6554,_0x437f48,_0x302744,_0x478523);}async['createSocket'](_0x348055){const _0x488a32=_0x125ea8,_0x34ed53=await this['_getSessionTicket'](),_0x125480=this[_0x488a32(0x2ee)](_0x348055,_0x34ed53);return this[_0x488a32(0x1ea)](_0x125480);}[_0x125ea8(0x2ee)](_0x17e925,_0x499722){const _0x2c1421=_0x125ea8,_0x2f4b68=typeof window>'u'?new URL(_0x17e925):new URL(_0x17e925,window[_0x2c1421(0x130)][_0x2c1421(0x2b9)]);_0x2f4b68['searchParams'][_0x2c1421(0x21a)]('sessionTicket',_0x499722);const _0x2ef366=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2c1421(0x130)][_0x2c1421(0xc7)]);return _0x2ef366[_0x2c1421(0x205)](_0x2c1421(0x9e))&&_0x2f4b68[_0x2c1421(0x14e)][_0x2c1421(0x21a)](_0x2c1421(0x9e),_0x2ef366[_0x2c1421(0x205)](_0x2c1421(0x9e))),_0x2f4b68[_0x2c1421(0x72)]();}async[_0x125ea8(0x75)](){const _0xdffdbe=_0x125ea8;var _0xdb8922,_0x218412,_0x514e40;const _0x3c74eb=this[_0xdffdbe(0x2c9)][_0xdffdbe(0x9c)](_0x3d05ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5861be=(_0xdb8922=_0x3c74eb==null?void 0x0:_0x3c74eb[_0xdffdbe(0x1d9)])!=null?_0xdb8922:_0x3d05ed[_0xdffdbe(0x1c1)];return(_0x514e40=(_0x218412=(await this[_0xdffdbe(0x210)][_0xdffdbe(0x205)](_0x5861be,{'headers':{'Content-Type':_0xdffdbe(0x199)}}))[_0xdffdbe(0x2a0)])==null?void 0x0:_0x218412[_0xdffdbe(0x261)])!=null?_0x514e40:'';}},_0x1a6cab[_0x125ea8(0x12b)]=_0x23a6b0([_0x512a71(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x512a71(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x651cbe[_0x125ea8(0x2f3)])),_0x512a71(0x2,_0x4d006c[_0x125ea8(0x24d)]),_0x512a71(0x3,_0x4d006c[_0x125ea8(0x19f)]),_0x512a71(0x4,_0x12f559[_0x125ea8(0x23b)])],_0x1a6cab[_0x125ea8(0x12b)]);const _0x3d73c5=0x7530,_0x4d458c=_0x125ea8(0x260);class _0x3d5db7 extends _0x4d006c[_0x125ea8(0x96)]{constructor(){const _0x35d878=_0x125ea8;super(),_0x321a93(this,_0x35d878(0x2f9),_0x4d006c[_0x35d878(0xcd)]()),_0x321a93(this,_0x35d878(0x175),new Set()),_0x321a93(this,_0x35d878(0x2e5),new Map()),_0x321a93(this,'_heartbeatTimer',null),_0x321a93(this,_0x35d878(0x6e),new Map()),_0x321a93(this,_0x35d878(0xf6),new Map()),this['_init']();}[_0x125ea8(0x23f)](){const _0xb247f3=_0x125ea8;super[_0xb247f3(0x23f)](),this['_clearOtherTimers'][_0xb247f3(0x1fa)]((_0x44fd58,_0x3dc0f8)=>this[_0xb247f3(0x108)](_0x3dc0f8)),this[_0xb247f3(0x8c)]&&window[_0xb247f3(0x1f8)](this[_0xb247f3(0x8c)]);}[_0x125ea8(0x106)](_0x4391b6){const _0x177c16=_0x125ea8;return this['_ensureSubject'](_0x4391b6)[_0x177c16(0x2c2)](_0x424996[_0x177c16(0x2ae)]());}['editingUnit'](_0x4beba8){const _0x12e818=_0x125ea8;this['_selfUnitIDs']['size']===0x0&&this[_0x12e818(0xba)](),this['_selfUnitIDs'][_0x12e818(0x208)](_0x4beba8),this[_0x12e818(0xbc)]({'type':0x0,'memberID':this[_0x12e818(0x2f9)],'unitIDs':[_0x4beba8],'isForwarded':!0x1});}['disposeUnit'](_0x146d09){const _0x43d358=_0x125ea8;this['_selfUnitIDs'][_0x43d358(0x22b)](_0x146d09),this['_selfUnitIDs']['size']===0x0&&this[_0x43d358(0x8c)]&&window[_0x43d358(0x1f8)](this[_0x43d358(0x8c)]);}[_0x125ea8(0x2c1)](){const _0x57ff79=_0x125ea8;this[_0x57ff79(0xd9)](_0x4d006c['toDisposable'](_0x424996[_0x57ff79(0x247)](window,_0x57ff79(0x2d9))['subscribe'](_0x3cc57e=>{const _0x44ec08=_0x57ff79;if(_0x3cc57e[_0x44ec08(0x111)]!==_0x4d458c||!_0x3cc57e[_0x44ec08(0x248)])return;const _0x1d1371=JSON[_0x44ec08(0x11e)](_0x3cc57e[_0x44ec08(0x248)]);this[_0x44ec08(0xeb)](_0x1d1371);}))),window[_0x57ff79(0x8e)](_0x57ff79(0x2ea),()=>this[_0x57ff79(0xbc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57ff79(0x18f)](this[_0x57ff79(0x175)])}));}[_0x125ea8(0xeb)](_0x11e758){const _0x353f60=_0x125ea8;switch(_0x11e758[_0x353f60(0xd4)]){case 0x0:this['_handleJoinEvent'](_0x11e758);break;case 0x1:this['_handleLeaveEvent'](_0x11e758);break;case 0x2:this[_0x353f60(0x1aa)](_0x11e758);break;}}[_0x125ea8(0x110)](_0x1775b8){const _0x4036d6=_0x125ea8,{unitIDs:_0xb1c24f,memberID:_0x44e438,isForwarded:_0x1b9692}=_0x1775b8;_0xb1c24f['forEach'](_0x125e55=>{const _0xb388bd=_0x1eaa;if(!_0x1b9692&&this[_0xb388bd(0x2e5)][_0xb388bd(0x2e7)](_0x125e55)&&this['_ensureSubject'](_0x125e55)[_0xb388bd(0xa3)](_0x3d05ed[_0xb388bd(0x6f)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0xb388bd(0x2e7)](_0x125e55)||!this[_0xb388bd(0x2e5)][_0xb388bd(0x205)](_0x125e55)['has'](_0x44e438)){const _0x499d04=this[_0xb388bd(0x2e5)]['get'](_0x125e55)||new Set();_0x499d04['add'](_0x44e438),this[_0xb388bd(0x2e5)]['set'](_0x125e55,_0x499d04),this['_scheduleClearOtherTimer'](_0x44e438);}}),_0x1b9692||this[_0x4036d6(0xbc)]({'type':0x0,'memberID':this[_0x4036d6(0x2f9)],'unitIDs':[...this[_0x4036d6(0x175)]],'isForwarded':!0x0});}[_0x125ea8(0x207)](_0xac9a78){const _0x1840fc=_0x125ea8;this[_0x1840fc(0x108)](_0xac9a78);const _0x401047=window[_0x1840fc(0x117)](()=>{const _0x33334b=_0x1840fc;this[_0x33334b(0x2e5)][_0x33334b(0x1fa)](_0x1bd0c8=>{const _0x14a99d=_0x33334b;_0x1bd0c8[_0x14a99d(0x22b)](_0xac9a78);});},_0x3d73c5*0x2);this[_0x1840fc(0x6e)]['set'](_0xac9a78,_0x401047);}[_0x125ea8(0x108)](_0x3b2a10){const _0x38c666=_0x125ea8;if(this[_0x38c666(0x6e)][_0x38c666(0x2e7)](_0x3b2a10)){const _0x130845=this[_0x38c666(0x6e)]['get'](_0x3b2a10);_0x130845&&window[_0x38c666(0xda)](_0x130845),this['_clearOtherTimers'][_0x38c666(0x21a)](_0x3b2a10,null);}}['_handleLeaveEvent'](_0x1efc4e){const _0x979112=_0x125ea8,{memberID:_0x20acca,unitIDs:_0x297dee}=_0x1efc4e;_0x297dee[_0x979112(0x1fa)](_0x5dd49c=>{const _0x294e79=_0x979112;var _0x384c95;const _0x24a0e8=this[_0x294e79(0x2e5)]['get'](_0x5dd49c);_0x24a0e8&&(_0x24a0e8['delete'](_0x20acca),(_0x384c95=this[_0x294e79(0x123)](_0x5dd49c))==null||_0x384c95[_0x294e79(0xa3)](_0x24a0e8[_0x294e79(0x232)]===0x0?_0x3d05ed[_0x294e79(0x6f)][_0x294e79(0x1e8)]:_0x3d05ed['UnitStatus'][_0x294e79(0x2dd)]));}),this[_0x979112(0x108)](_0x20acca);}[_0x125ea8(0x1aa)](_0xa06da3){const _0x5b38f3=_0x125ea8;this[_0x5b38f3(0x207)](_0xa06da3['memberID']);}[_0x125ea8(0xbc)](_0x511b81){const _0x3e7329=_0x125ea8;localStorage[_0x3e7329(0xaf)](_0x4d458c,JSON[_0x3e7329(0x214)](_0x511b81));}[_0x125ea8(0xba)](){const _0x2c4219=_0x125ea8;this[_0x2c4219(0x8c)]=window[_0x2c4219(0x291)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3d73c5);}[_0x125ea8(0x123)](_0x27d01e){const _0x3d782c=_0x125ea8;return this[_0x3d782c(0xf6)][_0x3d782c(0x2e7)](_0x27d01e)||this[_0x3d782c(0xf6)][_0x3d782c(0x21a)](_0x27d01e,new _0x424996[(_0x3d782c(0x170))](_0x3d05ed[_0x3d782c(0x6f)][_0x3d782c(0x1e8)])),this[_0x3d782c(0xf6)][_0x3d782c(0x205)](_0x27d01e);}}var _0x3ddc83=(_0x12e3ff=>(_0x12e3ff[_0x12e3ff[_0x125ea8(0x240)]=0x0]=_0x125ea8(0x240),_0x12e3ff[_0x12e3ff['OK']=0x1]='OK',_0x12e3ff[_0x12e3ff[_0x125ea8(0x289)]=0x2]=_0x125ea8(0x289),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2f7)]=0x3]=_0x125ea8(0x2f7),_0x12e3ff[_0x12e3ff['NOT_FOUND']=0x4]='NOT_FOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0x1f9)]=0x5]=_0x125ea8(0x1f9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x23a)]=0x6]=_0x125ea8(0x23a),_0x12e3ff[_0x12e3ff[_0x125ea8(0x12f)]=0x7]=_0x125ea8(0x12f),_0x12e3ff[_0x12e3ff[_0x125ea8(0x26d)]=0x8]='TOO_MANY_REQUESTS',_0x12e3ff[_0x12e3ff[_0x125ea8(0x112)]=0x9]='COMPLETION_FINISHED',_0x12e3ff[_0x12e3ff['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x12e3ff[_0x12e3ff['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x125ea8(0x148),_0x12e3ff[_0x12e3ff[_0x125ea8(0x157)]=0x1771]=_0x125ea8(0x157),_0x12e3ff[_0x12e3ff[_0x125ea8(0xd2)]=0x1772]=_0x125ea8(0xd2),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1c2)]=0x1773]=_0x125ea8(0x1c2),_0x12e3ff[_0x12e3ff[_0x125ea8(0x90)]=0x1b59]=_0x125ea8(0x90),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2a3)]=0x1b5a]=_0x125ea8(0x2a3),_0x12e3ff[_0x12e3ff[_0x125ea8(0x155)]=0x1b5b]=_0x125ea8(0x155),_0x12e3ff[_0x12e3ff[_0x125ea8(0x18b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x12e3ff[_0x12e3ff[_0x125ea8(0x193)]=0x1b5d]=_0x125ea8(0x193),_0x12e3ff[_0x12e3ff[_0x125ea8(0x16b)]=0x1f41]=_0x125ea8(0x16b),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1d6)]=0x2329]=_0x125ea8(0x1d6),_0x12e3ff[_0x12e3ff[_0x125ea8(0x217)]=0x232a]=_0x125ea8(0x217),_0x12e3ff[_0x12e3ff['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x12e3ff[_0x12e3ff[_0x125ea8(0x283)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x12e3ff[_0x12e3ff['LICENSE_DISTRO_REJECTED']=0x232d]=_0x125ea8(0xad),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1a9)]=0x2711]=_0x125ea8(0x1a9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x293)]=0x2712]=_0x125ea8(0x293),_0x12e3ff[_0x12e3ff[_0x125ea8(0x91)]=0x2713]=_0x125ea8(0x91),_0x12e3ff[_0x12e3ff[_0x125ea8(0x259)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0xf9)]=0x271a]=_0x125ea8(0xf9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1d3)]=0x271b]=_0x125ea8(0x1d3),_0x12e3ff[_0x12e3ff[_0x125ea8(0x162)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x12e3ff[_0x12e3ff[_0x125ea8(0x1e5)]=0x2ee1]=_0x125ea8(0x1e5),_0x12e3ff[_0x12e3ff['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x12e3ff[_0x12e3ff[_0x125ea8(0xf7)]=0x2ee3]=_0x125ea8(0xf7),_0x12e3ff[_0x12e3ff[_0x125ea8(0x116)]=0x2ee4]=_0x125ea8(0x116),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2b4)]=0x2ee5]=_0x125ea8(0x2b4),_0x12e3ff[_0x12e3ff[_0x125ea8(0xca)]=0x32c9]=_0x125ea8(0xca),_0x12e3ff[_0x12e3ff[_0x125ea8(0xb4)]=0x32ca]=_0x125ea8(0xb4),_0x12e3ff[_0x12e3ff[_0x125ea8(0x25b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0x196)]=-0x1]=_0x125ea8(0x196),_0x12e3ff))(_0x3ddc83||{}),_0x1f93b7=Object[_0x125ea8(0x209)],_0x2977b6=(_0x34b960,_0x5e0e11,_0x413c00,_0x1f75a8)=>{const _0x38766b=_0x125ea8;for(var _0x1e90f7=_0x1f75a8>0x1?void 0x0:_0x1f75a8?_0x1f93b7(_0x5e0e11,_0x413c00):_0x5e0e11,_0x3f597f=_0x34b960[_0x38766b(0xb7)]-0x1,_0x1e097c;_0x3f597f>=0x0;_0x3f597f--)(_0x1e097c=_0x34b960[_0x3f597f])&&(_0x1e90f7=_0x1e097c(_0x1e90f7)||_0x1e90f7);return _0x1e90f7;},_0x9c16f0=(_0x315a71,_0x172044)=>(_0x316106,_0x31bb98)=>_0x172044(_0x316106,_0x31bb98,_0x315a71);_0x1a6cab[_0x125ea8(0x1cf)]=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x2cb40c,_0x587068,_0x10d6a0){const _0x2f6662=_0x125ea8;super(),this['_instanceService']=_0x2cb40c,this[_0x2f6662(0x210)]=_0x587068,this['_configService']=_0x10d6a0;}async[_0x125ea8(0x21e)](_0x14e443,_0x3dc6e8,_0x25b9b1,..._0x18de95){const _0x3a26f9=_0x125ea8;var _0x124b78,_0x2d0ef0,_0x3840bc,_0x5e5968;const _0x2659d0=this[_0x3a26f9(0x86)][_0x3a26f9(0x297)]();if(!_0x2659d0)throw new Error(_0x3a26f9(0x1d7));const _0x3b1a6f=((_0x124b78=this[_0x3a26f9(0x2c9)][_0x3a26f9(0x9c)](_0x3d05ed[_0x3a26f9(0x1a2)]))!=null?_0x124b78:_0x3d05ed[_0x3a26f9(0x121)])+'/'+_0x14e443+_0x3a26f9(0x172)+_0x3dc6e8,_0x544b22=new URL(window[_0x3a26f9(0x130)][_0x3a26f9(0x1b8)]),_0x99a540={'scriptId':_0x14e443,'runId':(_0x2d0ef0=_0x544b22[_0x3a26f9(0x14e)]['get'](_0x3a26f9(0x9e)))!=null?_0x2d0ef0:'','function':_0x3dc6e8,'unitId':_0x2659d0[_0x3a26f9(0x1d0)](),'argsOfFunction':JSON['stringify'](_0x18de95),'invokeId':(_0x3840bc=_0x25b9b1['invokeId'])!=null?_0x3840bc:'','executionId':(_0x5e5968=_0x25b9b1[_0x3a26f9(0x274)])!=null?_0x5e5968:''};try{const _0x35b9b4=await this[_0x3a26f9(0x210)]['post'](_0x3b1a6f,{'body':_0x99a540});return _0x35b9b4['body'][_0x3a26f9(0x2bd)]&&_0x35b9b4[_0x3a26f9(0x2a0)][_0x3a26f9(0x2bd)][_0x3a26f9(0x200)]!==_0x3ddc83['OK']?_0x3a26f9(0x134):_0x35b9b4['body'][_0x3a26f9(0xe7)];}catch{return _0x3a26f9(0x134);}}},_0x1a6cab['RemoteUniscriptService']=_0x2977b6([_0x9c16f0(0x0,_0x4d006c['IUniverInstanceService']),_0x9c16f0(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x651cbe[_0x125ea8(0x2f3)])),_0x9c16f0(0x2,_0x4d006c[_0x125ea8(0x24d)])],_0x1a6cab[_0x125ea8(0x1cf)]),_0x1a6cab['CollaborationStatusDisplay']=_0x22772b,_0x1a6cab['IURLService']=_0xade62c,_0x1a6cab[_0x125ea8(0x2bf)]=_0x415e6b,_0x1a6cab[_0x125ea8(0x131)]=_0x3d5db7,_0x1a6cab[_0x125ea8(0x2cd)]=_0x2d18ad,Object[_0x125ea8(0x2f8)](_0x1a6cab,Symbol[_0x125ea8(0x1fb)],{'value':_0x125ea8(0x2ca)});}));function _0x39ec(){const _0x7d86ad=['getUnhiddenWorksheets','Rectangle','_context','getVpScrollXYInfoByPosToVp','getCollabEntity$','_handleJoinEvent','key','COMPLETION_FINISHED','_docSkeletonManagerService','saveTaskMap','collabStatus.offline','USER_NOT_INVITED_CODE','setTimeout','colorChannel1','UniverCollaborationClientUIPlugin','propertyIsEnumerable','_eventUnsubscribe','DependentOn','getMemberID','parse','redoState','63cCUCfW','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collabStatus.conflict','_ensureSubject','COLORS','fillStyle','ThemeService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','RefRangeService','CollaborationStatus','PENDING','BrowserCollaborationSocketService','shareReplay','unit','doc.mutation.rich-text-editing','INVALID_ARGUMENT','location','WebBrowserSingleActiveUnitService','_labelPosition','_registerDependencies','Failed','getDocRanges','debug','clipPath','SessionStatus','71915OHgkAl','_updateLocalCursor','_entities','_anchor','CollaborationSocketService','_getScale','_setupBeforeClosingHandler','react','UNIVER_SHEET','_docSyncEditingCollabCursorService','useDependency','_cursorInfo$','purple300','onPointerEnter$','asObservable','CHANGESET_REVISION_CONFILICT','jsx','rxjs','transformIMECache','@univerjs/docs','DesktopCollaborationStatusDisplayController','searchParams','NOT_COLLAB','CollaborationController','getColor','_initStatusListener','INotificationService','_saveCache','APPLY_REVISION_CONFILICT','height','SNAPSHOT_INVALID_SNAPSHOT','InsertRangeMoveRightCommandId','text','JOIN_ROOM_FAILED','RegularPolygon','HEADER_MENU','CollaborationDataLoaderController','@univerjs/engine-render','_transformPreviousActiveRange','onTransformChange$','pluginName','PY_RUNTIME_SCRIPT_ERROR','_docStateChangeManagerService','collaboration.closeRoom','sheetID','_onCursorDelete','isTransformMutationsWithChangesetSuccess','_handleHover','_toggleOnline','UPDATE_CURSOR','CONNECTOR_DATA_TOO_LARGE','translate(.97)','setShapeProps','_initEvent','map','BehaviorSubject','_shapes','/run/','whenReady','on-line-single','_selfUnitIDs','url(#off-line-single_clip0_910_343)','isArray','M0\x200H16V16H0z','UniverProCollaboration','_updateSubUnitFromURLParams','_collaborationUIEventService','off-line-single','_logService','_getMergeRange','getSheetBySheetId','DocIMEInputManagerService','getCurrentRevOfUnit','_assignedColors','_range','InsertRowCommandId','transformRemoteChangeset','max','IRenderManagerService','_docTransformSelectionsService','Warning','_docSkeleton','APPLY_PERMISSION_DENIED','selection','children','RichTextEditingMutation','from','_initResize','loadOfflineData','_transformHistoryAndStateStack','APPLY_DUPLICATED','2700CSPxjC','_scene','UNRECOGNIZED','defIds','861uHPLuC','application/json','endRow','createInstance','onPointerLeave$','loadUnit','1em','ILogService','cursorInfo$','_onRefRangeChange','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','engine','syncEditingCollabCursor','_removeCollabCursors','send','ICommandService','setParam','YUUMI_UNABLE_LOAD_URL','_handleHeartbeatEvent','IImageIoService','getValue','Vector2','createIdentifier','_univerInstanceService','roomMembers$','SheetSkeletonManagerService','_localStorageService','getSkeleton','idSuffix','Tools','bottom','sheetId','href','icon','replace','_onCursorUpdate','call','onMouseMove','createElement','getOffsetConfig','ranges','DEFAULT_WS_SESSION_TICKET_URL','ENSURE_SNAPSHOT_EXECUTION','Rect','subunit','replaceDocRanges','startsWith','fillText','_themeService','getActiveRange','onCommandExecuted','assign','getCurrentUnitForType','_hideTimer','collaboration-client-ui.config','RemoteUniscriptService','getUnitId','transformMutation','_toggleOffline','YUUMI_ASYNCIO_CANCELLED','fill','CollaborationSessionService','LICENSE_MAX_UNITS_EXCEEDED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformUndoRedoStack','wsSessionTicketUrl','DataLoaderService','_refreshCollabCursors','collabStatus.synced','CommandType','moveTo','_localCacheService','SHEET_VIEWPORT_KEY','urlChange$','0\x200\x2017\x2016','MessageType','defs','INVITE_CODE_HAS_BEEN_UES','_sheetSkeletonManagerService','EffectRefRangId','NO_OTHER_CLIENTS_EDITING','getUndoRedoMutationParamsCache','_doCreateSocket','evenodd','_initDependencies','@univerjs/engine-formula','BuiltInUIPart','_memberService','...','_syncEditingCollabCursorService','replaceState','values','getSheetObject','_drawRectRange','transformByState','handleIRemoveRow','clearInterval','UNAUTHENTICATED','forEach','toStringTag','setConfig','handleInsertRangeMoveRight','_imageIoService','SetSelectionsOperation','code','transformSelections','onLocalMutation','getRenderById','_collabSessionService','get','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scheduleClearOtherTimer','add','getOwnPropertyDescriptor','_roomMembers$','_startSheetCollabCursor','CollaborationUIEventId','width','indexOf','_entityInit$','_httpService','_collabCursorController','getTypeOfUnitDisposed$','registerRefRange','stringify','SetDocZoomRatioOperation','FromArray','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','displayName','set','executeCommand','restore','focused$','runOnServer','handleInsertCol','UNIVER_DOC','session.will-retry','entityInit$','_hovered','unitId','IUIPartsService','_messageService','saveOfflineData','react/jsx-runtime','useCallback','getViewport','delete','UniverProCollaborationClient','data','TEXT','collaboration.single-unit.warning','jsxs','_updateCollabCursors','size','_hover','concat','_scheduleSaving','CONFLICT','UniverDrawing','transformMutationsWithChangeset','_getSaveTimeout','ALREADY_EXISTS','ISnapshotServerService','Subject','substring','connectInjector','dispose','UNDEFINED','cursorInfo','handleMoveRange','OnLineSingle','skeleton','symbol','touchDependencies','fromEvent','newValue','@univerjs-pro/collaboration-client','registerDependencies','_drawTextRange','UniverDesign','IConfigService','UniverNetwork','NodePositionConvertToCursor','m2Prime','IMessageService','getRangePointData','getAncestorScale','CollaborationEvent','history','LOCAL_CACHE_INTERVAL','assignAColorForMemberID','_online','YUUMI_SUBSCRIPTION_NOT_FOUND','arc','EMAIL_HAS_BEEN_BOUND','DOC_RANGE_TYPE','CLOSE_ROOM','rxjs/operators','collabStatus.fetchMiss','ACTIVE_UNIT_EVENT_CHANNEL','ticket','_collaborationController','switchMap','_config','736353EDLxSZ','status$','debounceTime','svg','popstate','combineLatest','_urlService','MemberService','TOO_MANY_REQUESTS','_collabCursorState$','prototype','actions','registerComponent','transformStateCache','setAlpha','executionId','_draw','_beforeCloseService','name','UniverCore','getCellPositionByOffset','AWAITING_WITH_PENDING','getParam','OFFLINE','_notificationService','registerRenderModule','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_session','dispose$','collab-text-anchor-','LICENSE_EXPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','_cursor','top','random','getOwnPropertySymbols','INTERNAL_ERROR','with','_uiPartsService','backgroundColor','flatMap','xlink:href','min','row','setInterval','toRgbString','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/rpc','USERS_LEAVE','ISocketService','getFocusedUnit','exports','measureText','path','InsertColCommandId','AWAITING','pushState','eventID','selections','body','DocStateChangeManagerService','complete','APPLY_NON_SEQUENTIAL_REVISION','drawWith','@univerjs/ui','0\x200\x2016\x2016','_renderManagerService','column','off-line-single_clip0_910_343','CollaborationUIEventService','show','@univerjs/design','_cursorShapes','distinctUntilChanged','univer-text-green-500','collabStatus.notCollab','_cachedData','takeUntil','ILocalCacheService','INVITE_CODE_ALREADY_BOUND','_initStatusComponent','RxDisposable','_disabled','984392EfDMWz','origin','on-line-single_clip0_910_349','event$','red300','error','_textBubble','SheetCollabCursorShape','_docTransformIMECacheService','_init','pipe','ITransformService','UniverEngineRender','16lQdAFM','_initCommandExecutedListener','setActiveRange','getLocalCacheKey','_configService','Module','findNodePositionByCharIndex','RemoveColCommandId','WebURLService','all','InsertRangeMoveDownCommandId','getMember','_color','300BNZlTy','activeSheet$','serializeRangeWithSheet','none','_revisionService','RemoveRowCommandId','undoState','storage','setStateCache','handleDeleteRangeMoveUp','_status$','OTHER_CLIENTS_EDITING','triggerDblclick','univer-text-red-500','startRow','@univerjs/sheets-ui','mapTo','currentTheme$','push','_unitOnClients','_drawAnchor','has','SOCKET_FAILED_RETRY','range','unload','_anchorDot','IUniverInstanceService','round','_createSocketURL','unshift','FETCH_MISS','runRefRangeMutations','_cursors','HTTPService','_registerRenderDependencies','filter','verdancy600','PERMISSION_DENIED','defineProperty','_id','_colorIndex','subscribe','@univerjs/network','params','clsx','black','mutations','trim','_clearOtherTimers','UnitStatus','210VdekOw','@univerjs/sheets','toString','function','#FFF','_getSessionTicket','getTypeOfUnitAdded$','m1Prime','getCollabCursors$','source','lineTo','jiqing500','getMergeData','_docClipboardService','collabCursorState$','debounce','onPointerMove$','DocSkeletonManagerService','string','LocaleService','includes','_localeService','_instanceService','then','className','Error','collaboration-client.offline-data-not-saved','extend','_heartbeatTimer','Injector','addEventListener','hide','APPLY_REJECT','YUUMI_RATE_OVER_LIMIT','subUnitId','Tooltip','SheetsSelectionsService','getCurrentSelections','Disposable','tag','_lastPointer','unsubscribe','onRendered','exhaustSavingTask','getConfig','addObject','runId','_injector','Inject','session.connection-failed','textRanges','next','mergeOverrideWithDependencies','collab-client.tooltip.reconnect','transform','_render','deserializeRangeWithSheet','getCoordByCell','12619255EPPbQj','collab-text-range-','_initEntityListener','LICENSE_DISTRO_REJECTED','unitID','setItem','split','univerjs-icon\x20univerjs-icon-','771918DIXtBf','resize','MOBILE_HAS_BEEN_BOUND','DocSelectionManagerService','collabStatus.syncing','length','currentColor','[CollaborationDataLoaderController]','_scheduleHeartbeat','_colorAssignService','_send','closePath','DocCollaborationEntity','25723152jqxUKX','SetWorksheetActivateCommand','url(#on-line-single_clip0_910_349)','_setupSubUnitSync','deepClone','mask','ONLINE','subscribeEvent','search','labelPosition','Shape','WECHAT_HAS_BEEN_BOUND','isTransformMutationFailure','docStateChange$','generateRandomId','div','UniverSheets','color','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','UniverInstanceType','type','_docTransformStateCacheService','Unknown\x20user','save','TEXT_RANGE_LAYER_INDEX','disposeWithMe','clearTimeout','_transformService','startColumn','getCurrent','IDocClipboardService','getStateCache','_getAnchorBounding','addClipboardHook','getRelativeToViewportCoord','@univerjs/core','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','hasOwnProperty','attrs','result','_commandService','currentSkeleton$','_saveTaskMap','_handleEvent','_refRangeService','saveImage','RECT','imageSourceType','requireSession','useObservable','object','fromEventSubject','_updateURLWithCurrentState','forwardRef','_unitStatus','INVITE_CODE_REQUIRED','_backgroundColor','YUUMI_NO_CUBOID_FOR_QUESTION','_dataLoaderService','_name','registerBeforeClose','ColorKit','merge','getSheetId','isActive','init','uni.network.url-service','removeParam','Plugin','font','getUnitStatus$','roomMembers','_removeClearOtherTimer','toDisposable','@univerjs/drawing'];_0x39ec=function(){return _0x7d86ad;};return _0x39ec();}
|