@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506011606 → 0.8.0-nightly.202506021607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x49416b,_0x267d16){const _0xbdff5f=_0x2785,_0x3bccb2=_0x49416b();while(!![]){try{const _0x46f8a3=-parseInt(_0xbdff5f(0x369))/0x1*(-parseInt(_0xbdff5f(0x313))/0x2)+-parseInt(_0xbdff5f(0x436))/0x3+parseInt(_0xbdff5f(0x30b))/0x4+parseInt(_0xbdff5f(0x23d))/0x5+parseInt(_0xbdff5f(0x2c9))/0x6+parseInt(_0xbdff5f(0x408))/0x7*(parseInt(_0xbdff5f(0x231))/0x8)+-parseInt(_0xbdff5f(0x35c))/0x9;if(_0x46f8a3===_0x267d16)break;else _0x3bccb2['push'](_0x3bccb2['shift']());}catch(_0x4be68c){_0x3bccb2['push'](_0x3bccb2['shift']());}}}(_0x375c,0xe073d),function(_0x6d4f61,_0x5d7ef7){const _0x3f10fe=_0x2785;typeof exports==_0x3f10fe(0x2c5)&&typeof module<'u'?_0x5d7ef7(exports,require(_0x3f10fe(0x2e7)),require(_0x3f10fe(0x435)),require(_0x3f10fe(0x200)),require(_0x3f10fe(0x41f)),require(_0x3f10fe(0x34b)),require('@univerjs/drawing'),require(_0x3f10fe(0x3ab)),require(_0x3f10fe(0x35b)),require(_0x3f10fe(0x28d)),require(_0x3f10fe(0x2e2)),require('@univerjs/sheets'),require(_0x3f10fe(0x1f1)),require(_0x3f10fe(0x25d)),require(_0x3f10fe(0x208)),require('@univerjs/ui'),require(_0x3f10fe(0x3af)),require('react'),require(_0x3f10fe(0x28b))):typeof define==_0x3f10fe(0x201)&&define[_0x3f10fe(0x355)]?define([_0x3f10fe(0x38f),_0x3f10fe(0x2e7),_0x3f10fe(0x435),_0x3f10fe(0x200),_0x3f10fe(0x41f),_0x3f10fe(0x34b),'@univerjs/drawing','rxjs',_0x3f10fe(0x35b),_0x3f10fe(0x28d),'@univerjs/engine-formula','@univerjs/sheets',_0x3f10fe(0x1f1),'@univerjs/sheets-ui',_0x3f10fe(0x208),_0x3f10fe(0x356),'@univerjs/design',_0x3f10fe(0x351),_0x3f10fe(0x28b)],_0x5d7ef7):(_0x6d4f61=typeof globalThis<'u'?globalThis:_0x6d4f61||self,_0x5d7ef7(_0x6d4f61[_0x3f10fe(0x1b5)]={},_0x6d4f61[_0x3f10fe(0x1d3)],_0x6d4f61[_0x3f10fe(0x352)],_0x6d4f61[_0x3f10fe(0x2b8)],_0x6d4f61['UniverNetwork'],_0x6d4f61[_0x3f10fe(0x42a)],_0x6d4f61[_0x3f10fe(0x1e2)],_0x6d4f61['rxjs'],_0x6d4f61[_0x3f10fe(0x301)],_0x6d4f61[_0x3f10fe(0x19c)],_0x6d4f61[_0x3f10fe(0x1aa)],_0x6d4f61[_0x3f10fe(0x40d)],_0x6d4f61['rxjs']['operators'],_0x6d4f61[_0x3f10fe(0x1ac)],_0x6d4f61['React'],_0x6d4f61[_0x3f10fe(0x32c)],_0x6d4f61[_0x3f10fe(0x2da)],_0x6d4f61[_0x3f10fe(0x32a)],_0x6d4f61['UniverRpc']));}(this,function(_0x2f60c5,_0xfdd47c,_0x45454d,_0x17a4de,_0x4cb81d,_0x1b66a1,_0x25f2aa,_0x481401,_0x1af111,_0x368b75,_0x3ca4e0,_0x518da4,_0x382509,_0x3497ae,_0x135d70,_0x933c1a,_0x4402cc,_0x54e81b,_0x1c6948){'use strict';const _0x2273bc=_0x2785;var _0x1576c9=Object[_0x2273bc(0x2ee)],_0x4f9554=(_0x542d1e,_0x25aa57,_0x4dc99d)=>_0x25aa57 in _0x542d1e?_0x1576c9(_0x542d1e,_0x25aa57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dc99d}):_0x542d1e[_0x25aa57]=_0x4dc99d,_0x394afd=(_0x1a8acf,_0x1257e3,_0x47c58a)=>_0x4f9554(_0x1a8acf,typeof _0x1257e3!='symbol'?_0x1257e3+'':_0x1257e3,_0x47c58a),_0x40a020=Object['getOwnPropertyDescriptor'],_0x40f308=(_0x1a1725,_0x50bac8,_0x538c55,_0x138de3)=>{for(var _0x333fbf=_0x138de3>0x1?void 0x0:_0x138de3?_0x40a020(_0x50bac8,_0x538c55):_0x50bac8,_0x297c11=_0x1a1725['length']-0x1,_0x14f72c;_0x297c11>=0x0;_0x297c11--)(_0x14f72c=_0x1a1725[_0x297c11])&&(_0x333fbf=_0x14f72c(_0x333fbf)||_0x333fbf);return _0x333fbf;},_0x1091e=(_0x1ba126,_0x43f520)=>(_0x39f774,_0x603361)=>_0x43f520(_0x39f774,_0x603361,_0x1ba126);let _0x4604dc=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x4f2c05,_0x483565){const _0x1693c2=_0x2273bc;super(),this[_0x1693c2(0x2b4)]=_0x4f2c05,this[_0x1693c2(0x38c)]=_0x483565,this[_0x1693c2(0x27f)]();}[_0x2273bc(0x27f)](){const _0x500241=_0x2273bc,_0x468edf=this;this['disposeWithMe'](this[_0x500241(0x2b4)][_0x500241(0x37e)]({'onBeforePasteImage':async _0x5110c5=>{const _0x37a465=_0x500241,_0xeb9b68=await _0x468edf[_0x37a465(0x38c)][_0x37a465(0x40c)](_0x5110c5);return _0xeb9b68?{'source':_0xeb9b68[_0x37a465(0x2f2)],'imageSourceType':_0xeb9b68[_0x37a465(0x3ee)]}:null;}}));}};_0x4604dc=_0x40f308([_0x1091e(0x0,_0x1b66a1[_0x2273bc(0x3ba)]),_0x1091e(0x1,_0x25f2aa['IImageIoService'])],_0x4604dc);const _0x5c65c5=['purple.300',_0x2273bc(0x1e5),_0x2273bc(0x212),_0x2273bc(0x36e),_0x2273bc(0x393),_0x2273bc(0x26b)];class _0x308b95 extends _0x45454d[_0x2273bc(0x359)]{constructor(){const _0x5cd927=_0x2273bc;super(...arguments),_0x394afd(this,_0x5cd927(0x390),new Map()),_0x394afd(this,_0x5cd927(0x3f3),0x0);}[_0x2273bc(0x247)](_0x526e87){const _0x1cdde3=_0x2273bc;if(this[_0x1cdde3(0x390)][_0x1cdde3(0x385)](_0x526e87))return this[_0x1cdde3(0x390)][_0x1cdde3(0x1ef)](_0x526e87);const _0x20b589=_0x5c65c5[this[_0x1cdde3(0x3f3)]];return this[_0x1cdde3(0x3f3)]=(this[_0x1cdde3(0x3f3)]+0x1)%_0x5c65c5['length'],this[_0x1cdde3(0x390)][_0x1cdde3(0x2e8)](_0x526e87,_0x20b589),_0x20b589;}}function _0x4e0fd4(_0xd366cf){let _0x4be75e='';for(const _0x130a32 of _0xd366cf){const {startOffset:_0x237d86,endOffset:_0x17cf3a,isActive:_0x3f825a,rangeType:_0x1649b1,segmentId:_0x2efb00,segmentPage:_0x482d6a}=_0x130a32;_0x4be75e['length']&&(_0x4be75e+=','),_0x4be75e+=_0x237d86+':'+_0x17cf3a+':'+(_0x3f825a?'1':'0')+':'+_0x1649b1+':'+_0x2efb00+':'+_0x482d6a;}return _0x4be75e;}function _0x2af1b0(_0x35a5fe){const _0x1480ad=_0x2273bc,_0x2d9c17=_0x35a5fe[_0x1480ad(0x3b9)](','),_0x4c2bbb=[];for(const _0x478e57 of _0x2d9c17){const [_0x253361,_0x79b540,_0x30f222,_0x5008fc,_0x48e7a7,_0x5b38ea]=_0x478e57[_0x1480ad(0x3b9)](':');_0x4c2bbb[_0x1480ad(0x273)]({'startOffset':Number(_0x253361),'endOffset':Number(_0x79b540),'collapsed':_0x253361===_0x79b540,'isActive':_0x30f222==='1','rangeType':_0x5008fc===_0x45454d[_0x1480ad(0x287)][_0x1480ad(0x3e2)]?_0x45454d[_0x1480ad(0x287)][_0x1480ad(0x3e2)]:_0x45454d['DOC_RANGE_TYPE'][_0x1480ad(0x317)],'segmentId':typeof _0x48e7a7=='string'?String(_0x48e7a7):'','segmentPage':Number(_0x5b38ea!=null?_0x5b38ea:-0x1)});}return _0x4c2bbb[_0x1480ad(0x1eb)](_0x353b22=>_0x353b22[_0x1480ad(0x404)])||(_0x4c2bbb[0x0][_0x1480ad(0x404)]=!0x0),_0x4c2bbb;}class _0x43f1e3 extends _0x45454d['RxDisposable']{constructor(){const _0x590c1f=_0x2273bc;super(...arguments),_0x394afd(this,'_collabCursorState$',new _0x481401[(_0x590c1f(0x2e4))](null)),_0x394afd(this,_0x590c1f(0x3e7),this[_0x590c1f(0x392)][_0x590c1f(0x39f)]());}[_0x2273bc(0x31d)](_0x3a3da9){const _0x28c2d9=_0x2273bc,{unitID:_0x573a15,memberID:_0x33fc7f,textRanges:_0x515ff7}=_0x3a3da9,_0x253124=_0x4e0fd4(_0x515ff7);if(_0x253124==='')return;const _0x3b25e8={'unitID':_0x573a15,'memberID':_0x33fc7f,'selection':_0x253124};this[_0x28c2d9(0x392)][_0x28c2d9(0x33c)](_0x3b25e8);}}var _0x44f65a=Object[_0x2273bc(0x43a)],_0x640358=(_0x271976,_0x354db5,_0x124465,_0x30c43b)=>{const _0x438080=_0x2273bc;for(var _0x3b8703=_0x30c43b>0x1?void 0x0:_0x30c43b?_0x44f65a(_0x354db5,_0x124465):_0x354db5,_0x366981=_0x271976[_0x438080(0x1cb)]-0x1,_0x54bc0e;_0x366981>=0x0;_0x366981--)(_0x54bc0e=_0x271976[_0x366981])&&(_0x3b8703=_0x54bc0e(_0x3b8703)||_0x3b8703);return _0x3b8703;},_0x256a26=(_0x4ad8cc,_0x1fac5d)=>(_0x40f36e,_0x1fa816)=>_0x1fac5d(_0x40f36e,_0x1fa816,_0x4ad8cc);const _0xb0d87=0x12c,_0x3dcffa=0x64;let _0xe2085d=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x4f3614,_0x34c502,_0x293b9e,_0x423510,_0x2dfe3c,_0x59dabd,_0x263c59,_0x1ee1d8,_0x57f1cb){const _0x5c2e65=_0x2273bc;super(),_0x394afd(this,_0x5c2e65(0x36b),!0x1),_0x394afd(this,'_init',!0x1),_0x394afd(this,_0x5c2e65(0x37c),new _0x481401[(_0x5c2e65(0x2e4))](new Map())),_0x394afd(this,_0x5c2e65(0x20e),this[_0x5c2e65(0x37c)][_0x5c2e65(0x39f)]()),_0x394afd(this,'_roomMembers$',new _0x481401[(_0x5c2e65(0x2e4))]([])),_0x394afd(this,'roomMembers$',this[_0x5c2e65(0x363)][_0x5c2e65(0x262)](_0x481401['debounceTime'](_0xb0d87))),_0x394afd(this,'_updateLocalCursor',_0x45454d[_0x5c2e65(0x29d)](_0x55e3ea=>{const _0x2fb3dd=_0x5c2e65,_0x3db762={'eventID':_0x368b75['CollaborationEvent'][_0x2fb3dd(0x34c)],'data':{'unitID':this[_0x2fb3dd(0x2cb)],'memberID':this[_0x2fb3dd(0x33b)][_0x2fb3dd(0x2ea)](),'selection':_0x4e0fd4(_0x55e3ea)}};this[_0x2fb3dd(0x33b)][_0x2fb3dd(0x401)](_0x3db762,this[_0x2fb3dd(0x2cb)]);},_0x3dcffa)),(this[_0x5c2e65(0x2cb)]=_0x4f3614,this[_0x5c2e65(0x33b)]=_0x34c502,this['_injector']=_0x293b9e,this[_0x5c2e65(0x237)]=_0x423510,this[_0x5c2e65(0x3f8)]=_0x2dfe3c,this['_syncEditingCollabCursorService']=_0x59dabd,this[_0x5c2e65(0x333)]=_0x263c59,this[_0x5c2e65(0x383)]=_0x1ee1d8,this[_0x5c2e65(0x1c1)]=_0x57f1cb);}get[_0x2273bc(0x2f9)](){const _0x99ab42=_0x2273bc;return this['_cursorInfo$'][_0x99ab42(0x3f5)]();}get[_0x2273bc(0x3cf)](){const _0x1e672e=_0x2273bc;return this[_0x1e672e(0x363)][_0x1e672e(0x3f5)]();}['dispose'](){const _0x4d45ba=_0x2273bc;super[_0x4d45ba(0x3b5)](),this[_0x4d45ba(0x37c)]['next'](new Map()),this[_0x4d45ba(0x37c)][_0x4d45ba(0x417)](),this['_roomMembers$'][_0x4d45ba(0x33c)]([]),this[_0x4d45ba(0x363)][_0x4d45ba(0x417)]();}[_0x2273bc(0x3db)](){const _0x267c88=_0x2273bc;this[_0x267c88(0x27f)]||(this['_init']=!0x0,this[_0x267c88(0x33b)][_0x267c88(0x25c)]['pipe'](_0x481401[_0x267c88(0x2f3)](this['dispose$']))[_0x267c88(0x2b7)](_0x11af30=>{const _0x498009=_0x267c88;_0x11af30===_0xfdd47c[_0x498009(0x332)][_0x498009(0x425)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x267c88(0x262)](_0x481401[_0x267c88(0x2f3)](this[_0x267c88(0x1ad)]))['subscribe'](_0x14bb67=>{const _0x330811=_0x267c88,_0x1f3c2c=_0x14bb67[_0x330811(0x1b4)];_0x1f3c2c===_0x368b75[_0x330811(0x43b)][_0x330811(0x34c)]&&this[_0x330811(0x421)](_0x14bb67),_0x1f3c2c===_0x368b75[_0x330811(0x43b)][_0x330811(0x343)]&&this[_0x330811(0x23a)](_0x14bb67);}),this[_0x267c88(0x36f)](this[_0x267c88(0x1c1)][_0x267c88(0x353)](_0x51f354=>{const _0x5559a6=_0x267c88,_0x11b55f=_0x51f354['params'];_0x11b55f!=null&&this['_online']&&_0x51f354['id']===_0x1af111[_0x5559a6(0x3f9)]['id']&&_0x11b55f[_0x5559a6(0x338)]===this[_0x5559a6(0x2cb)]&&_0x11b55f['isEditing']===!0x1&&_0x11b55f[_0x5559a6(0x41c)][_0x5559a6(0x1cb)]>0x0&&this[_0x5559a6(0x35e)](_0x11b55f['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x267c88(0x262)](_0x481401['takeUntil'](this['dispose$']))[_0x267c88(0x2b7)](_0x59ec19=>{const _0x4ca96=_0x267c88;if((_0x59ec19==null?void 0x0:_0x59ec19[_0x4ca96(0x2cb)])!==this[_0x4ca96(0x2cb)])return;const _0x5a6a8b={'eventID':_0x368b75[_0x4ca96(0x43b)]['UPDATE_CURSOR'],'data':_0x59ec19};this[_0x4ca96(0x421)](_0x5a6a8b);}),this[_0x267c88(0x36f)](this[_0x267c88(0x1c1)][_0x267c88(0x353)](_0x23eb9e=>{const _0x3565e0=_0x267c88;if(_0x23eb9e[_0x3565e0(0x399)]==null)return;const _0x224a49=_0x23eb9e[_0x3565e0(0x399)];if(_0x23eb9e['id']!==_0x1af111[_0x3565e0(0x39e)]['id']||_0x224a49[_0x3565e0(0x338)]!==this['unitID'])return;const _0x5dc16f={'id':_0x3565e0(0x2b5),'params':_0x224a49},_0x377beb=this[_0x3565e0(0x2f9)];for(const [_0x38beaa,_0x30a7fb]of _0x377beb){const _0x12bb11={'id':_0x3565e0(0x2b5),'params':{'unitId':this[_0x3565e0(0x2cb)],'actions':null,'textRanges':_0x30a7fb['ranges']}},_0x54aeea=this[_0x3565e0(0x333)][_0x3565e0(0x2cc)](_0x5dc16f,_0x12bb11,!0x1);if(_0x368b75[_0x3565e0(0x31e)](_0x54aeea))throw _0x54aeea[_0x3565e0(0x372)];_0x377beb['set'](_0x38beaa,{..._0x30a7fb,'ranges':_0x54aeea[_0x3565e0(0x248)][_0x3565e0(0x399)]['textRanges']});}queueMicrotask(()=>{const _0x33ed7f=_0x3565e0;this[_0x33ed7f(0x37c)]['next'](_0x377beb);});})));}[_0x2273bc(0x421)](_0x4597ef){const _0x40f5e4=_0x2273bc;var _0x4814ad,_0x1c212d;const {memberID:_0x1dbe99,selection:_0x3d7ed8}=_0x4597ef[_0x40f5e4(0x3be)],_0x13b93b=_0x2af1b0(_0x3d7ed8),_0x360089=(_0x1c212d=(_0x4814ad=this[_0x40f5e4(0x3f8)][_0x40f5e4(0x3a7)](this[_0x40f5e4(0x2cb)],_0x1dbe99))==null?void 0x0:_0x4814ad[_0x40f5e4(0x2c8)])!=null?_0x1c212d:_0x40f5e4(0x202),_0x2559af={'color':this[_0x40f5e4(0x237)]['assignAColorForMemberID'](_0x1dbe99),'name':_0x360089,'ranges':_0x13b93b},_0x13f7a0=this[_0x40f5e4(0x2f9)];_0x13f7a0[_0x40f5e4(0x2e8)](_0x1dbe99,_0x2559af),this[_0x40f5e4(0x37c)][_0x40f5e4(0x33c)](_0x13f7a0);}[_0x2273bc(0x23a)](_0x2c40be){const _0x283f03=_0x2273bc,{memberID:_0xdd5014}=_0x2c40be[_0x283f03(0x3be)],_0x4c68ae=this[_0x283f03(0x2f9)];_0x4c68ae[_0x283f03(0x43c)](_0xdd5014),this[_0x283f03(0x37c)]['next'](_0x4c68ae);}[_0x2273bc(0x431)](){const _0x23fa89=_0x2273bc;var _0x17b857;if(this[_0x23fa89(0x36b)]=!0x0,((_0x17b857=this[_0x23fa89(0x383)][_0x23fa89(0x3d2)]())==null?void 0x0:_0x17b857[_0x23fa89(0x318)]())!==this['unitID'])return;const _0x1338fa=this[_0x23fa89(0x3ca)][_0x23fa89(0x1ef)](_0x1af111['DocSelectionManagerService'])[_0x23fa89(0x21f)]();Array[_0x23fa89(0x387)](_0x1338fa)&&_0x1338fa[_0x23fa89(0x1cb)]>0x0&&this[_0x23fa89(0x35e)](_0x1338fa);}[_0x2273bc(0x1c2)](){const _0x2bc11c=_0x2273bc;this[_0x2bc11c(0x36b)]=!0x1;}};_0xe2085d=_0x640358([_0x256a26(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x256a26(0x3,_0x45454d['Inject'](_0x308b95)),_0x256a26(0x4,_0x45454d['Inject'](_0xfdd47c[_0x2273bc(0x294)])),_0x256a26(0x5,_0x45454d[_0x2273bc(0x37f)](_0x43f1e3)),_0x256a26(0x6,_0x368b75['ITransformService']),_0x256a26(0x7,_0x45454d[_0x2273bc(0x1b1)]),_0x256a26(0x8,_0x45454d[_0x2273bc(0x3d0)])],_0xe2085d);var _0x5b3e29=Object[_0x2273bc(0x43a)],_0x1c0493=(_0x3662ca,_0x1dce5a,_0x2ba60f,_0x1e484c)=>{const _0x36a778=_0x2273bc;for(var _0x2f234b=_0x1e484c>0x1?void 0x0:_0x1e484c?_0x5b3e29(_0x1dce5a,_0x2ba60f):_0x1dce5a,_0x515046=_0x3662ca[_0x36a778(0x1cb)]-0x1,_0x229a51;_0x515046>=0x0;_0x515046--)(_0x229a51=_0x3662ca[_0x515046])&&(_0x2f234b=_0x229a51(_0x2f234b)||_0x2f234b);return _0x2f234b;},_0x33ca4f=(_0x48dda8,_0x4828e9)=>(_0x433ca5,_0x49462d)=>_0x4828e9(_0x433ca5,_0x49462d,_0x48dda8);const _0x2fa893=0x12c,_0x3d468d=0x64,_0x533d0d=()=>{let _0x8118d1=[],_0x3202e5=!0x1;return _0x40c667=>{const _0x514e45=_0x2785;_0x8118d1[_0x514e45(0x273)](_0x40c667),_0x3202e5||(_0x3202e5=!0x0,setTimeout(()=>{const _0x59a416=_0x514e45;_0x8118d1[_0x59a416(0x213)](_0x21024e=>_0x21024e()),_0x8118d1=[],_0x3202e5=!0x1;}));};};let _0x3b6a78=class extends _0x45454d['RxDisposable']{constructor(_0x104901,_0x414fc9,_0x8eba51,_0x2c0a57,_0x257a7e,_0x1b6c1c,_0x382fe2,_0x13d106){const _0x292cd3=_0x2273bc;super(),_0x394afd(this,_0x292cd3(0x36b),!0x1),_0x394afd(this,'_init',!0x1),_0x394afd(this,_0x292cd3(0x37c),new _0x481401[(_0x292cd3(0x2e4))](new Map())),_0x394afd(this,'cursorInfo$',this[_0x292cd3(0x37c)][_0x292cd3(0x39f)]()),_0x394afd(this,_0x292cd3(0x363),new _0x481401['BehaviorSubject']([])),_0x394afd(this,_0x292cd3(0x1bb),this[_0x292cd3(0x363)][_0x292cd3(0x262)](_0x481401['debounceTime'](_0x2fa893))),_0x394afd(this,_0x292cd3(0x35e),_0x45454d[_0x292cd3(0x29d)]((_0x4ac853,_0x32549d)=>{const _0x53dec7=_0x292cd3,_0x41a43f={'eventID':_0x368b75[_0x53dec7(0x43b)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x53dec7(0x33b)]['getMemberID'](),'selection':_0x3ca4e0['serializeRangeWithSheet'](_0x4ac853,_0x32549d[_0x53dec7(0x3c8)])}};this[_0x53dec7(0x33b)][_0x53dec7(0x401)](_0x41a43f,this[_0x53dec7(0x2cb)]);},_0x3d468d)),(this[_0x292cd3(0x2cb)]=_0x104901,this['_session']=_0x414fc9,this['_injector']=_0x8eba51,this['_colorAssignService']=_0x2c0a57,this['_memberService']=_0x257a7e,this[_0x292cd3(0x383)]=_0x1b6c1c,this[_0x292cd3(0x1c1)]=_0x382fe2,this[_0x292cd3(0x382)]=_0x13d106);}get['cursorInfo'](){const _0x6fb14=_0x2273bc;return this[_0x6fb14(0x37c)][_0x6fb14(0x3f5)]();}get[_0x2273bc(0x3cf)](){const _0x801dae=_0x2273bc;return this[_0x801dae(0x363)][_0x801dae(0x3f5)]();}[_0x2273bc(0x3b5)](){const _0xa18340=_0x2273bc;super['dispose'](),this[_0xa18340(0x37c)][_0xa18340(0x33c)](new Map()),this[_0xa18340(0x37c)][_0xa18340(0x417)](),this['_roomMembers$'][_0xa18340(0x33c)]([]),this[_0xa18340(0x363)][_0xa18340(0x417)]();}[_0x2273bc(0x3db)](){const _0x1135d9=_0x2273bc;this[_0x1135d9(0x27f)]||(this[_0x1135d9(0x27f)]=!0x0,this[_0x1135d9(0x33b)][_0x1135d9(0x25c)][_0x1135d9(0x262)](_0x481401['takeUntil'](this['dispose$']))['subscribe'](_0x1c5eb4=>{const _0x15e8ae=_0x1135d9;_0x1c5eb4===_0xfdd47c['SessionStatus']['ONLINE']?this[_0x15e8ae(0x431)]():this[_0x15e8ae(0x1c2)]();}),this[_0x1135d9(0x33b)][_0x1135d9(0x241)]['pipe'](_0x481401[_0x1135d9(0x2f3)](this[_0x1135d9(0x1ad)]))[_0x1135d9(0x2b7)](_0x2ef17b=>{const _0x545d52=_0x1135d9,_0x25740a=_0x2ef17b['eventID'];_0x25740a===_0x368b75['CollaborationEvent'][_0x545d52(0x34c)]&&this[_0x545d52(0x421)](_0x2ef17b),_0x25740a===_0x368b75[_0x545d52(0x43b)][_0x545d52(0x343)]&&this[_0x545d52(0x23a)](_0x2ef17b);}),this[_0x1135d9(0x315)](),this[_0x1135d9(0x36f)](this[_0x1135d9(0x1c1)][_0x1135d9(0x353)](_0x4dc2f3=>{const _0x5d81e1=_0x1135d9;if(this['_online']&&_0x4dc2f3['id']===_0x518da4[_0x5d81e1(0x398)]['id']&&_0x4dc2f3[_0x5d81e1(0x399)][_0x5d81e1(0x338)]===this[_0x5d81e1(0x2cb)]){const _0x2aced9=_0x4dc2f3[_0x5d81e1(0x399)];this['_updateLocalCursor'](_0x2aced9[_0x5d81e1(0x3c4)],_0x2aced9[_0x5d81e1(0x1ca)][0x0]);}})));}[_0x2273bc(0x421)](_0x241be0){const _0x58256c=_0x2273bc;var _0x2b208c,_0x299dc6;const {memberID:_0x4b4b3e,selection:_0x30c48d}=_0x241be0['data'],{sheetName:_0x2453b7,range:_0x17d488}=_0x3ca4e0[_0x58256c(0x319)](_0x30c48d),_0x50d76b={'name':(_0x299dc6=(_0x2b208c=this['_memberService'][_0x58256c(0x3a7)](this[_0x58256c(0x2cb)],_0x4b4b3e))==null?void 0x0:_0x2b208c['name'])!=null?_0x299dc6:_0x58256c(0x202),'range':this[_0x58256c(0x2dc)](_0x2453b7,_0x17d488),'sheetID':_0x2453b7,'color':this[_0x58256c(0x237)][_0x58256c(0x247)](_0x4b4b3e),'selection':_0x30c48d},_0x1706cb=this[_0x58256c(0x2f9)];_0x1706cb['set'](_0x4b4b3e,_0x50d76b),this['_cursorInfo$'][_0x58256c(0x33c)](_0x1706cb);}[_0x2273bc(0x23a)](_0xb660bf){const _0x399aca=_0x2273bc,{memberID:_0x4d4901}=_0xb660bf[_0x399aca(0x3be)],_0x12de01=this['cursorInfo'];_0x12de01[_0x399aca(0x43c)](_0x4d4901),this[_0x399aca(0x37c)]['next'](_0x12de01);}[_0x2273bc(0x2dc)](_0x101671,_0x564b49){const _0x547439=_0x2273bc;var _0x45b573,_0x21216b;const _0x6e875c=(_0x21216b=(_0x45b573=this[_0x547439(0x383)][_0x547439(0x3bc)](this[_0x547439(0x2cb)]))==null?void 0x0:_0x45b573[_0x547439(0x2ca)](_0x101671))==null?void 0x0:_0x21216b[_0x547439(0x39c)]();return(_0x6e875c==null?void 0x0:_0x6e875c['find'](_0x2caacd=>_0x45454d[_0x547439(0x285)]['contains'](_0x2caacd,_0x564b49)))||_0x564b49;}[_0x2273bc(0x315)](){const _0x3bc66d=_0x2273bc,_0x133e4f=new _0x45454d['DisposableCollection'](),_0x783d93=_0x533d0d(),_0x2a2b16=()=>{const _0x2a410c=_0x2785;_0x133e4f[_0x2a410c(0x3b5)]();const _0x3d9061=(_0x5d10f5,_0x9cbaf8,_0x1c39ad,_0x2ca478)=>{const _0x5e816b=_0x2a410c;let _0x7a87e=[];switch(_0x5d10f5['id']){case _0x518da4[_0x5e816b(0x3d9)]['DeleteRangeMoveLeftCommandId']:{_0x7a87e=_0x518da4[_0x5e816b(0x28f)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x2c0)]:{_0x7a87e=_0x518da4[_0x5e816b(0x3ec)](_0x5d10f5,_0x2ca478);break;}case _0x518da4['EffectRefRangId'][_0x5e816b(0x344)]:{_0x7a87e=_0x518da4[_0x5e816b(0x2c4)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1a6)]:{_0x7a87e=_0x518da4['handleInsertRangeMoveDown'](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x345)]:{_0x7a87e=_0x518da4[_0x5e816b(0x378)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x22f)]:{_0x7a87e=_0x518da4[_0x5e816b(0x386)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1f6)]:{_0x7a87e=_0x518da4[_0x5e816b(0x26c)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1e1)]:{_0x7a87e=_0x518da4[_0x5e816b(0x2bf)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x207)]:{_0x7a87e=_0x518da4[_0x5e816b(0x1c7)](_0x5d10f5,_0x2ca478);break;}}const _0xa3a0f2=_0x518da4[_0x5e816b(0x3e6)](_0x7a87e,_0x2ca478),_0x93f9f7=this['cursorInfo'][_0x5e816b(0x1ef)](_0x9cbaf8);if(_0x93f9f7&&_0xa3a0f2){const _0x264500={..._0x93f9f7,'range':_0xa3a0f2};this[_0x5e816b(0x2f9)][_0x5e816b(0x2e8)](_0x9cbaf8,_0x264500),_0x783d93(()=>{const _0x94584c=_0x5e816b,_0x16c5cf=this[_0x94584c(0x382)][_0x94584c(0x419)](_0xa3a0f2,_0xda2086=>(_0x16c5cf['dispose'](),_0x3d9061(_0xda2086,_0x9cbaf8,_0x1c39ad,_0xa3a0f2)));_0x133e4f['add'](_0x16c5cf);});}return{'redos':[],'undos':[]};};this[_0x2a410c(0x2f9)][_0x2a410c(0x213)]((_0x4bdcdd,_0x123b5b)=>{const _0x5243b1=_0x2a410c,{range:_0x5b43fe,sheetID:_0x1fd018}=_0x4bdcdd,_0x587bf3=this[_0x5243b1(0x382)]['registerRefRange'](_0x5b43fe,_0x4ae2e8=>(_0x587bf3[_0x5243b1(0x3b5)](),_0x3d9061(_0x4ae2e8,_0x123b5b,_0x1fd018,_0x5b43fe)));_0x133e4f[_0x5243b1(0x1ee)](_0x587bf3);});};this[_0x3bc66d(0x36f)](_0x45454d[_0x3bc66d(0x1c0)](this[_0x3bc66d(0x37c)][_0x3bc66d(0x2b7)](()=>{_0x2a2b16();})));}[_0x2273bc(0x431)](){const _0x509bb0=_0x2273bc;var _0x81a2fa,_0x3e2c13;if(this['_online']=!0x0,((_0x81a2fa=this[_0x509bb0(0x383)][_0x509bb0(0x3d2)]())==null?void 0x0:_0x81a2fa['getUnitId']())!==this['unitID'])return;const _0x29dc6d=(_0x3e2c13=this['_injector']['get'](_0x518da4['SheetsSelectionsService'])[_0x509bb0(0x3b4)]())==null?void 0x0:_0x3e2c13[0x0],_0x467d73=this['_univerInstanceService'][_0x509bb0(0x429)](_0x45454d[_0x509bb0(0x307)]['UNIVER_SHEET'])['getActiveSheet']();_0x29dc6d&&_0x467d73&&this[_0x509bb0(0x35e)](_0x467d73[_0x509bb0(0x1be)](),_0x29dc6d);}[_0x2273bc(0x1c2)](){const _0x13f5f5=_0x2273bc;this[_0x13f5f5(0x36b)]=!0x1;}};_0x3b6a78=_0x1c0493([_0x33ca4f(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x33ca4f(0x3,_0x45454d[_0x2273bc(0x37f)](_0x308b95)),_0x33ca4f(0x4,_0x45454d['Inject'](_0xfdd47c[_0x2273bc(0x294)])),_0x33ca4f(0x5,_0x45454d[_0x2273bc(0x1b1)]),_0x33ca4f(0x6,_0x45454d[_0x2273bc(0x3d0)]),_0x33ca4f(0x7,_0x45454d['Inject'](_0x518da4['RefRangeService']))],_0x3b6a78);var _0x3425eb=Object[_0x2273bc(0x43a)],_0x3a0eda=(_0x4d70ad,_0x39a054,_0xf23cde,_0x5d8019)=>{const _0x4824fc=_0x2273bc;for(var _0x35a5e8=_0x5d8019>0x1?void 0x0:_0x5d8019?_0x3425eb(_0x39a054,_0xf23cde):_0x39a054,_0x52c1bf=_0x4d70ad[_0x4824fc(0x1cb)]-0x1,_0x3f4f15;_0x52c1bf>=0x0;_0x52c1bf--)(_0x3f4f15=_0x4d70ad[_0x52c1bf])&&(_0x35a5e8=_0x3f4f15(_0x35a5e8)||_0x35a5e8);return _0x35a5e8;},_0x129d3b=(_0x9f0e54,_0x2583e2)=>(_0x240a39,_0x1b397)=>_0x2583e2(_0x240a39,_0x1b397,_0x9f0e54);let _0x344c8e=class extends _0x45454d['RxDisposable']{constructor(_0x500624,_0xc18da3,_0x5d7217){const _0x3e8590=_0x2273bc;super(),_0x394afd(this,_0x3e8590(0x28c),new Map()),_0x394afd(this,_0x3e8590(0x411),new _0x481401[(_0x3e8590(0x438))]()),(this[_0x3e8590(0x383)]=_0x500624,this[_0x3e8590(0x3ca)]=_0xc18da3,this[_0x3e8590(0x38d)]=_0x5d7217,this[_0x3e8590(0x27f)]());}[_0x2273bc(0x3b5)](){const _0x275f00=_0x2273bc;super[_0x275f00(0x3b5)](),this[_0x275f00(0x411)][_0x275f00(0x417)](),this[_0x275f00(0x28c)][_0x275f00(0x213)](_0x1c7fcc=>_0x1c7fcc['dispose']());}[_0x2273bc(0x249)](_0x13fcc5){const _0x3cfd47=_0x2273bc;return this[_0x3cfd47(0x28c)][_0x3cfd47(0x385)](_0x13fcc5)?this['_entities'][_0x3cfd47(0x1ef)](_0x13fcc5)['cursorInfo$']:this['_entityInit$'][_0x3cfd47(0x262)](_0x481401['filter'](_0x176080=>_0x176080['unitID']===_0x13fcc5),_0x481401[_0x3cfd47(0x275)](_0x588d0a=>_0x588d0a['cursorInfo$']));}[_0x2273bc(0x27f)](){const _0x283163=_0x2273bc;this[_0x283163(0x383)]['getTypeOfUnitAdded$'](_0x45454d['UniverInstanceType']['UNIVER_SHEET'])[_0x283163(0x262)](_0x481401['takeUntil'](this[_0x283163(0x1ad)]))[_0x283163(0x2b7)](async _0x1ef958=>{const _0x13e682=_0x283163,_0x5dc70b=_0x1ef958[_0x13e682(0x318)](),_0x8198b=await this[_0x13e682(0x3c7)](_0x5dc70b);this[_0x13e682(0x411)][_0x13e682(0x33c)](_0x8198b),this[_0x13e682(0x28c)][_0x13e682(0x2e8)](_0x5dc70b,_0x8198b);}),this[_0x283163(0x383)][_0x283163(0x38e)](_0x45454d[_0x283163(0x307)][_0x283163(0x27c)])[_0x283163(0x262)](_0x481401[_0x283163(0x2f3)](this[_0x283163(0x1ad)]))[_0x283163(0x262)](_0x481401[_0x283163(0x334)](_0x16aff4=>!_0x16aff4[_0x283163(0x318)]()[_0x283163(0x42f)]('__')))[_0x283163(0x2b7)](async _0x79ce5e=>{const _0x4518d3=_0x283163,_0x4dddcc=_0x79ce5e[_0x4518d3(0x318)](),_0x4611a5=await this[_0x4518d3(0x304)](_0x4dddcc);this['_entityInit$'][_0x4518d3(0x33c)](_0x4611a5),this['_entities']['set'](_0x4dddcc,_0x4611a5);}),_0x481401['merge'](this[_0x283163(0x383)][_0x283163(0x420)](_0x45454d['UniverInstanceType'][_0x283163(0x27c)]),this[_0x283163(0x383)][_0x283163(0x420)](_0x45454d[_0x283163(0x307)]['UNIVER_SHEET']))[_0x283163(0x262)](_0x481401['takeUntil'](this[_0x283163(0x1ad)]))[_0x283163(0x2b7)](_0x294024=>{const _0x366837=_0x283163,_0x1df501=_0x294024['getUnitId'](),_0x2529dd=this['_entities'][_0x366837(0x1ef)](_0x1df501);_0x2529dd&&(_0x2529dd[_0x366837(0x3b5)](),this['_entities'][_0x366837(0x43c)](_0x1df501));});}async[_0x2273bc(0x3c7)](_0x1937c3){const _0x18c5da=_0x2273bc,_0x2fc7e7=await this[_0x18c5da(0x38d)]['requireSession'](_0x1937c3),_0xf0daa3=this[_0x18c5da(0x3ca)][_0x18c5da(0x250)](_0x3b6a78,_0x1937c3,_0x2fc7e7);return _0xf0daa3[_0x18c5da(0x3db)](),_0xf0daa3;}async['_startDocCollabCursor'](_0x4e5d4b){const _0x3f3b0b=_0x2273bc,_0x54f6d9=await this[_0x3f3b0b(0x38d)][_0x3f3b0b(0x1ed)](_0x4e5d4b),_0x41800b=this[_0x3f3b0b(0x3ca)]['createInstance'](_0xe2085d,_0x4e5d4b,_0x54f6d9);return _0x41800b[_0x3f3b0b(0x3db)](),_0x41800b;}};_0x344c8e=_0x3a0eda([_0x129d3b(0x0,_0x45454d[_0x2273bc(0x1b1)]),_0x129d3b(0x1,_0x45454d['Inject'](_0x45454d[_0x2273bc(0x3b2)])),_0x129d3b(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x1a0)]))],_0x344c8e);const _0x12fb24=0x14,_0x458ef9=0xc8,_0xf971df=0x4,_0x1efc0e=0x5;function _0x19c1b2(_0x1f604a,_0x30f341){const _0x10bdbf=_0x2273bc;let {radius:_0x5abf26,width:_0x2f2c6c,height:_0x4e8c46}=_0x30f341;_0x5abf26=_0x5abf26!=null?_0x5abf26:0x0,_0x2f2c6c=_0x2f2c6c!=null?_0x2f2c6c:0x1e,_0x4e8c46=_0x4e8c46!=null?_0x4e8c46:0x1e;let _0x216f2d=0x0,_0x14f6d2=0x0,_0x194acf=0x0;_0x216f2d=_0x14f6d2=_0x194acf=Math[_0x10bdbf(0x3bd)](_0x5abf26,_0x2f2c6c/0x2,_0x4e8c46/0x2),_0x1f604a['beginPath'](),_0x1f604a[_0x10bdbf(0x303)](_0x216f2d,0x0),_0x1f604a[_0x10bdbf(0x368)](_0x2f2c6c-_0x14f6d2,0x0),_0x1f604a[_0x10bdbf(0x310)](_0x2f2c6c-_0x14f6d2,_0x14f6d2,_0x14f6d2,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f604a[_0x10bdbf(0x368)](_0x2f2c6c,_0x4e8c46-_0x194acf),_0x1f604a[_0x10bdbf(0x310)](_0x2f2c6c-_0x194acf,_0x4e8c46-_0x194acf,_0x194acf,0x0,Math['PI']/0x2,!0x1),_0x1f604a[_0x10bdbf(0x368)](0x0,_0x4e8c46),_0x1f604a[_0x10bdbf(0x368)](0x0,_0x216f2d),_0x1f604a[_0x10bdbf(0x310)](_0x216f2d,_0x216f2d,_0x216f2d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f604a['closePath'](),_0x30f341['fill']&&(_0x1f604a[_0x10bdbf(0x24a)](),_0x1f604a[_0x10bdbf(0x367)]=_0x30f341[_0x10bdbf(0x297)],_0x30f341[_0x10bdbf(0x22d)]===_0x10bdbf(0x1b3)?_0x1f604a[_0x10bdbf(0x297)](_0x10bdbf(0x1b3)):_0x1f604a['fill'](),_0x1f604a[_0x10bdbf(0x2a5)]());}class _0x399458 extends _0x17a4de['Shape']{constructor(_0x4e680a,_0x3fa2ad){const _0x52621e=_0x2273bc;super(_0x4e680a,_0x3fa2ad),_0x394afd(this,'color'),_0x394afd(this,_0x52621e(0x35d)),(this[_0x52621e(0x2df)]=_0x3fa2ad==null?void 0x0:_0x3fa2ad[_0x52621e(0x2df)],this[_0x52621e(0x35d)]=_0x3fa2ad==null?void 0x0:_0x3fa2ad[_0x52621e(0x35d)]);}static['drawWith'](_0x301279,_0x468535){const _0x20fc73=_0x2273bc,{text:_0x2e1cf3,color:_0x5944a4}=_0x468535;_0x301279[_0x20fc73(0x24a)](),_0x301279[_0x20fc73(0x40a)]=_0x20fc73(0x3c0);const _0x45a93c=_0x301279['measureText'](_0x2e1cf3)[_0x20fc73(0x2fb)],_0x18d95a=Math['min'](_0x45a93c+0x2*_0xf971df,_0x458ef9);_0x19c1b2(_0x301279,{'height':_0x12fb24,'radius':0x4,'width':_0x18d95a,'fill':_0x5944a4}),_0x301279['fillStyle']=_0x20fc73(0x1d8);const _0x463440=_0xf971df,_0x2e82df=_0x12fb24-_0x1efc0e,_0xf0c620=_0x458ef9-0x2*_0xf971df;if(_0x45a93c>_0xf0c620){let _0x48a757='',_0x57740a=0x0;for(const _0x49f735 of _0x2e1cf3){const _0x186495=_0x301279[_0x20fc73(0x3c9)](_0x49f735)['width'];if(_0x57740a+_0x186495<=_0xf0c620-_0x301279[_0x20fc73(0x3c9)](_0x20fc73(0x366))[_0x20fc73(0x2fb)])_0x48a757+=_0x49f735,_0x57740a+=_0x186495;else{_0x48a757+=_0x20fc73(0x366);break;}}_0x301279[_0x20fc73(0x1fe)](_0x48a757,_0x463440,_0x2e82df);}else _0x301279['fillText'](_0x2e1cf3,_0x463440,_0x2e82df);_0x301279[_0x20fc73(0x2a5)]();}[_0x2273bc(0x33f)](_0x59f7f4){const _0x3bd5e8=_0x2273bc;_0x399458[_0x3bd5e8(0x2ce)](_0x59f7f4,this);}}const _0x55cfd8=_0x2273bc(0x406),_0xd18c9f=_0x2273bc(0x26f),_0x435355=_0x2273bc(0x21d),_0x2fefc3=0x6,_0x5316e5=1.5,_0x5b7271=0x4,_0x2dade2=1.5,_0x182343=_0x2273bc(0x36a);class _0x4e5939{constructor(_0x41e24a,_0x22ea3f,_0x9d4eae,_0x268a95){const _0xc3523a=_0x2273bc;_0x394afd(this,_0xc3523a(0x2f6),[]),_0x394afd(this,_0xc3523a(0x38b),null),_0x394afd(this,_0xc3523a(0x246),null),_0x394afd(this,_0xc3523a(0x27a),null),_0x394afd(this,_0xc3523a(0x2de),null),_0x394afd(this,_0xc3523a(0x37b),null),(this['_cursor']=_0x41e24a,this[_0xc3523a(0x1fa)]=_0x22ea3f,this[_0xc3523a(0x339)]=_0x9d4eae,this['_document']=_0x268a95,this['_render']());}set['_hover'](_0x468f56){const _0x1f1d5d=_0x2273bc;_0x468f56?(this[_0x1f1d5d(0x27a)]&&this[_0x1f1d5d(0x27a)][_0x1f1d5d(0x1ce)](),this['_textBubble']&&this[_0x1f1d5d(0x246)][_0x1f1d5d(0x3dd)]()):(this[_0x1f1d5d(0x27a)]&&this[_0x1f1d5d(0x27a)][_0x1f1d5d(0x3dd)](),this['_textBubble']&&this[_0x1f1d5d(0x246)]['hide']());}['dispose'](){const _0x42ff2f=_0x2273bc;for(const _0xbea4ff of this['_shapes'])_0xbea4ff[_0x42ff2f(0x3b5)]();this['_textBubble']&&this['_textBubble'][_0x42ff2f(0x3b5)](),this[_0x42ff2f(0x27a)]&&this[_0x42ff2f(0x27a)][_0x42ff2f(0x3b5)](),this[_0x42ff2f(0x38b)]&&this[_0x42ff2f(0x38b)][_0x42ff2f(0x3b5)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2273bc(0x300)](){const _0x290725=_0x2273bc;var _0x16979e;const {_docSkeleton:_0x36d55d,_document:_0x21c6a8}=this,{color:_0x46ef35,name:_0x4dc8ca,ranges:_0x1a1c9c}=this[_0x290725(0x347)],_0x43ccc0=_0x21c6a8[_0x290725(0x381)](),{docsLeft:_0x3d11c8,docsTop:_0x33c4bb}=_0x43ccc0,_0x5d2245=new _0x1b66a1[(_0x290725(0x2d7))](_0x43ccc0,_0x36d55d);for(const {startOffset:_0x16798b,endOffset:_0x54f893,rangeType:_0xed3904,segmentId:_0x536a8e,segmentPage:_0x21c05e,collapsed:_0x3b464e,isActive:_0x36fc16}of _0x1a1c9c){const _0x57d7de=_0x36d55d[_0x290725(0x1cd)](_0x16798b,!0x0,_0x536a8e,_0x21c05e);let _0x30a4ca=_0x36d55d[_0x290725(0x1cd)](_0x54f893,!0x0,_0x536a8e,_0x21c05e);if(_0x30a4ca==null&&(_0x30a4ca=_0x36d55d[_0x290725(0x1cd)](_0x54f893-0x1,!0x1,_0x536a8e,_0x21c05e)),_0x36fc16){const {contentBoxPointGroup:_0x2b14bc}=_0x5d2245[_0x290725(0x39a)](_0x30a4ca,_0x30a4ca);if(_0x2b14bc[_0x290725(0x1cb)]===0x0)continue;this[_0x290725(0x29b)](_0x46ef35,_0x2b14bc,_0x3d11c8,_0x33c4bb,_0x4dc8ca),this[_0x290725(0x37b)]=this['_handleHover']();}if(_0x57d7de&&_0x30a4ca){if(_0xed3904===_0x45454d[_0x290725(0x287)][_0x290725(0x317)]){const _0x4e8870=new _0x1b66a1[(_0x290725(0x2a9))](_0x43ccc0,_0x36d55d),{pointGroup:_0x5de268}=(_0x16979e=_0x4e8870[_0x290725(0x39a)](_0x57d7de,_0x30a4ca))!=null?_0x16979e:{};if(_0x5de268==null||_0x5de268[_0x290725(0x1cb)]===0x0)continue;this['_drawRectRange'](_0x46ef35,_0x5de268,_0x3d11c8,_0x33c4bb);}else{if(!_0x3b464e){const {borderBoxPointGroup:_0x1809ee}=_0x5d2245[_0x290725(0x39a)](_0x57d7de,_0x30a4ca);if(_0x1809ee[_0x290725(0x1cb)]===0x0)continue;this['_drawTextRange'](_0x46ef35,_0x1809ee,_0x3d11c8,_0x33c4bb);}}}}}[_0x2273bc(0x29b)](_0x2a38c5,_0x249f81,_0x417f5b,_0x30ac43,_0x1e4f51){const _0x353638=_0x2273bc,_0x543746=this['_getAnchorBounding'](_0x249f81),{left:_0x439073,top:_0x3ae2b5,height:_0xad94b8}=_0x543746,_0xe5ff5d=this[_0x353638(0x25b)](),_0x511fd0=_0x2dade2/_0xe5ff5d,_0x4ce70d=new _0x17a4de[(_0x353638(0x256))](_0x55cfd8+_0x45454d[_0x353638(0x400)]['generateRandomId'](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43,'height':_0xad94b8,'width':_0x5316e5,'fill':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d['COLORS'][_0x353638(0x1bf)],0x0),'strokeWidth':_0x511fd0,'stroke':_0x182343,'evented':!0x0});this['_anchor']=_0x4ce70d,this['_scene'][_0x353638(0x2c3)](_0x4ce70d,_0x1b66a1[_0x353638(0x2c7)]);const _0x1749ed=new _0x17a4de[(_0x353638(0x256))](_0x55cfd8+_0x45454d[_0x353638(0x400)]['generateRandomId'](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43-_0x5b7271/0x2,'height':_0x5b7271,'width':_0x5b7271,'fill':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d['COLORS'][_0x353638(0x1bf)],0x0),'strokeWidth':0x0,'stroke':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d[_0x353638(0x35f)]['black'],0x0),'evented':!0x1});this[_0x353638(0x27a)]=_0x1749ed,this[_0x353638(0x1fa)]['addObject'](_0x1749ed,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);const _0x3b4ce1=new _0x399458(_0x55cfd8+_0x45454d['Tools'][_0x353638(0x3b0)](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43-_0x12fb24,'text':_0x1e4f51,'color':_0x2a38c5});this[_0x353638(0x246)]=_0x3b4ce1,this['_scene'][_0x353638(0x2c3)](_0x3b4ce1,_0x1b66a1[_0x353638(0x2c7)]),this[_0x353638(0x1ae)]=!0x1;}[_0x2273bc(0x321)](){const _0x4f00cf=_0x2273bc,_0x585e64=this[_0x4f00cf(0x38b)][_0x4f00cf(0x412)][_0x4f00cf(0x1c6)](()=>{const _0xe59b7f=_0x4f00cf;this[_0xe59b7f(0x1ae)]=!0x0;}),_0x20a9f6=this['_anchor']['onPointerLeave$'][_0x4f00cf(0x1c6)](()=>{const _0x5d90cb=_0x4f00cf;this[_0x5d90cb(0x2de)]&&clearTimeout(this[_0x5d90cb(0x2de)]),this[_0x5d90cb(0x2de)]=setTimeout(()=>{const _0x45eccd=_0x5d90cb;this[_0x45eccd(0x1ae)]=!0x1;},0x7d0);});return()=>{const _0x168b37=_0x4f00cf;_0x585e64[_0x168b37(0x19a)](),_0x20a9f6['unsubscribe']();};}[_0x2273bc(0x288)](_0x5af3b2,_0x58de59,_0x2e3d0e,_0x23f55b){const _0x214aae=_0x2273bc,_0x286ced=new _0x45454d[(_0x214aae(0x3fb))](_0x5af3b2)['setAlpha'](0.2)[_0x214aae(0x20c)](),_0x2c8b00=new _0x17a4de[(_0x214aae(0x1bc))](_0xd18c9f+_0x45454d[_0x214aae(0x400)][_0x214aae(0x3b0)](_0x2fefc3),{'pointsGroup':_0x58de59,'fill':_0x286ced||_0x17a4de[_0x214aae(0x328)](_0x45454d[_0x214aae(0x35f)][_0x214aae(0x1bf)],0.2),'left':_0x2e3d0e,'top':_0x23f55b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x214aae(0x2f6)][_0x214aae(0x273)](_0x2c8b00),this[_0x214aae(0x1fa)][_0x214aae(0x2c3)](_0x2c8b00,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);}[_0x2273bc(0x25e)](_0x1fdace,_0x64baa7,_0x2cf832,_0x5b6f40){const _0x1b71d4=_0x2273bc,_0x1eca0b=new _0x45454d[(_0x1b71d4(0x3fb))](_0x1fdace)[_0x1b71d4(0x2fa)](0.2)[_0x1b71d4(0x20c)](),_0x35ba4a=new _0x17a4de[(_0x1b71d4(0x1bc))](_0x435355+_0x45454d[_0x1b71d4(0x400)][_0x1b71d4(0x3b0)](_0x2fefc3),{'pointsGroup':_0x64baa7,'fill':_0x1eca0b||_0x17a4de[_0x1b71d4(0x328)](_0x45454d[_0x1b71d4(0x35f)][_0x1b71d4(0x1bf)],0.2),'left':_0x2cf832,'top':_0x5b6f40,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b71d4(0x2f6)][_0x1b71d4(0x273)](_0x35ba4a),this[_0x1b71d4(0x1fa)][_0x1b71d4(0x2c3)](_0x35ba4a,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x17dd41){const _0xc60e8f=_0x17dd41[0x0],_0x117c7f=_0xc60e8f[0x0],_0x16eb9a=_0xc60e8f[0x2],{x:_0x2a3658,y:_0x302214}=_0x117c7f,{x:_0x36a9fe,y:_0x58268c}=_0x16eb9a;return{'left':_0x2a3658,'top':_0x302214,'width':_0x36a9fe-_0x2a3658,'height':_0x58268c-_0x302214};}[_0x2273bc(0x25b)](){const _0x118d81=_0x2273bc,{scaleX:_0x4659f7,scaleY:_0x3cac78}=this[_0x118d81(0x1fa)][_0x118d81(0x206)]();return Math[_0x118d81(0x29f)](_0x4659f7,_0x3cac78);}}var _0x340a65=Object[_0x2273bc(0x43a)],_0x2365a7=(_0x4a950e,_0x432b95,_0x57c43a,_0x5bce56)=>{const _0x5e9b3c=_0x2273bc;for(var _0x3a7ae9=_0x5bce56>0x1?void 0x0:_0x5bce56?_0x340a65(_0x432b95,_0x57c43a):_0x432b95,_0x35bf8f=_0x4a950e[_0x5e9b3c(0x1cb)]-0x1,_0x472b10;_0x35bf8f>=0x0;_0x35bf8f--)(_0x472b10=_0x4a950e[_0x35bf8f])&&(_0x3a7ae9=_0x472b10(_0x3a7ae9)||_0x3a7ae9);return _0x3a7ae9;},_0x37d464=(_0x13ec61,_0x147aae)=>(_0x249f06,_0x337869)=>_0x147aae(_0x249f06,_0x337869,_0x13ec61);let _0xd126a4=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x419c01,_0x526719,_0x4ce503,_0x45f82b,_0x2d5d72){const _0x41cc52=_0x2273bc;super(),_0x394afd(this,'_cursorShapes',[]),_0x394afd(this,_0x41cc52(0x225),[]),(this['_context']=_0x419c01,this[_0x41cc52(0x324)]=_0x526719,this['_collabCursorController']=_0x4ce503,this['_commandService']=_0x45f82b,this[_0x41cc52(0x204)]=_0x2d5d72,this['_init']());}['_init'](){const _0x41b59f=_0x2273bc,_0xc2db2b=this[_0x41b59f(0x3b7)][_0x41b59f(0x338)],_0x26c754=this['_docSkeletonManagerService'];this[_0x41b59f(0x36f)](_0x481401['combineLatest']([this[_0x41b59f(0x405)][_0x41b59f(0x249)](_0xc2db2b),this[_0x41b59f(0x204)][_0x41b59f(0x19f)]])[_0x41b59f(0x262)](_0x382509[_0x41b59f(0x2ef)](([_0x45e539,_0x283a5b])=>({'skeleton':_0x26c754[_0x41b59f(0x1e6)](),'cursors':[..._0x45e539['values']()]['flatMap'](_0x4d8b25=>({..._0x4d8b25,'color':this['_themeService']['getColorFromTheme'](_0x4d8b25['color'])}))})))['subscribe'](_0x1a0c6c=>{const _0x578245=_0x41b59f;if(this[_0x578245(0x41d)](),_0x1a0c6c){const {skeleton:_0x4c9b3d,cursors:_0x3c939e}=_0x1a0c6c;this[_0x578245(0x1c9)](_0x4c9b3d,_0x3c939e);}})),this[_0x41b59f(0x26a)](),this[_0x41b59f(0x1ec)]();}[_0x2273bc(0x1c9)](_0x47199c,_0x25c74c){const _0x49a8d6=_0x2273bc,{scene:_0x52fc8e,mainComponent:_0x71106}=this['_context'],_0x4c9322=_0x25c74c[_0x49a8d6(0x2ef)](_0x466dac=>new _0x4e5939(_0x466dac,_0x52fc8e,_0x47199c,_0x71106));this[_0x49a8d6(0x342)]=_0x4c9322,this[_0x49a8d6(0x225)]=_0x25c74c;}[_0x2273bc(0x1a9)](){const _0x4cd9ac=_0x2273bc;this['_removeCollabCursors']();const {scene:_0x329d54,mainComponent:_0x361eda}=this[_0x4cd9ac(0x3b7)],_0x35c5f8=this['_docSkeletonManagerService'][_0x4cd9ac(0x1e6)](),_0x36e61e=this[_0x4cd9ac(0x225)]['map'](_0x57f74e=>new _0x4e5939(_0x57f74e,_0x329d54,_0x35c5f8,_0x361eda));this['_cursorShapes']=_0x36e61e;}['_removeCollabCursors'](){const _0x2bf6c1=_0x2273bc;this[_0x2bf6c1(0x342)]['forEach'](_0x326817=>_0x326817[_0x2bf6c1(0x3b5)]()),this[_0x2bf6c1(0x342)]=[];}[_0x2273bc(0x1ec)](){const _0x1173e3=_0x2273bc,_0x14c54b=[_0x1b66a1[_0x1173e3(0x1fc)]['id']];this['disposeWithMe'](this[_0x1173e3(0x1c1)]['onCommandExecuted'](_0x2f9ef4=>{const _0x3a0c11=_0x1173e3;_0x14c54b[_0x3a0c11(0x3ea)](_0x2f9ef4['id'])&&_0x2f9ef4[_0x3a0c11(0x399)][_0x3a0c11(0x338)]===this['_context'][_0x3a0c11(0x338)]&&this[_0x3a0c11(0x1a9)]();}));}[_0x2273bc(0x26a)](){const _0x79bb5f=_0x2273bc;this[_0x79bb5f(0x36f)](_0x45454d[_0x79bb5f(0x3d3)](this[_0x79bb5f(0x3b7)]['engine']['onTransformChange$'])[_0x79bb5f(0x262)](_0x382509[_0x79bb5f(0x334)](_0x3a9999=>_0x3a9999[_0x79bb5f(0x28e)]===_0x17a4de['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x79bb5f(0x2be)]),_0x382509[_0x79bb5f(0x1df)](0x10))[_0x79bb5f(0x2b7)](()=>{const _0x3413ac=_0x79bb5f;this[_0x3413ac(0x1a9)]();}));}};_0xd126a4=_0x2365a7([_0x37d464(0x1,_0x45454d[_0x2273bc(0x37f)](_0x1af111['DocSkeletonManagerService'])),_0x37d464(0x2,_0x45454d[_0x2273bc(0x37f)](_0x344c8e)),_0x37d464(0x3,_0x45454d[_0x2273bc(0x3d0)]),_0x37d464(0x4,_0x45454d[_0x2273bc(0x37f)](_0x45454d['ThemeService']))],_0xd126a4);const _0x4faee9=0x1,_0x173b07=1.5;class _0x1ce661 extends _0x17a4de[_0x2273bc(0x325)]{constructor(_0x19e91a,_0x500833){const _0x3adbea=_0x2273bc;super(_0x19e91a,_0x500833),_0x394afd(this,_0x3adbea(0x40e)),_0x394afd(this,_0x3adbea(0x3b1),!0x1),_0x394afd(this,'_range'),_0x394afd(this,_0x3adbea(0x365),''),_0x394afd(this,_0x3adbea(0x32f),_0x3adbea(0x31a)),_0x394afd(this,_0x3adbea(0x1da)),(_0x500833&&this[_0x3adbea(0x24c)](_0x500833),this[_0x3adbea(0x412)][_0x3adbea(0x1c6)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3adbea(0x1c6)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2273bc(0x24c)](_0x4b0140){const _0x4635d6=_0x2273bc;var _0x917070,_0x54d1ff,_0x3b448c,_0x5b6949,_0x1ed02e,_0x5008ea;this[_0x4635d6(0x40e)]=(_0x917070=_0x4b0140[_0x4635d6(0x2df)])!=null?_0x917070:this[_0x4635d6(0x40e)],this[_0x4635d6(0x3b1)]=(_0x54d1ff=_0x4b0140[_0x4635d6(0x33d)])!=null?_0x54d1ff:this[_0x4635d6(0x3b1)],this[_0x4635d6(0x3f1)]=(_0x3b448c=_0x4b0140[_0x4635d6(0x3c8)])!=null?_0x3b448c:this[_0x4635d6(0x3f1)],this[_0x4635d6(0x365)]=(_0x5b6949=_0x4b0140[_0x4635d6(0x2c8)])!=null?_0x5b6949:this[_0x4635d6(0x365)],this[_0x4635d6(0x32f)]=(_0x1ed02e=_0x4b0140['labelPosition'])!=null?_0x1ed02e:this[_0x4635d6(0x32f)],this['_backgroundColor']=(_0x5008ea=_0x4b0140['backgroundColor'])!=null?_0x5008ea:this[_0x4635d6(0x1da)],this[_0x4635d6(0x23b)]({'width':_0x4b0140[_0x4635d6(0x2fb)],'height':_0x4b0140[_0x4635d6(0x2a8)]});}[_0x2273bc(0x24d)](_0x1389e4){const _0x1ea53a=_0x2273bc,{row:_0x824b3f,column:_0x27a707}=_0x1389e4;if(_0x824b3f>=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x23f)]&&_0x824b3f<=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x3d7)]&&_0x27a707>=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x1b2)]&&_0x27a707<=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x222)]){this[_0x1ea53a(0x24c)]({'hovered':!0x0});return;}this[_0x1ea53a(0x24c)]({'hovered':!0x1});}[_0x2273bc(0x2ab)](_0x261f3f){return!0x1;}[_0x2273bc(0x33f)](_0x1fe1d7){const _0x25c034=_0x2273bc;_0x17a4de[_0x25c034(0x256)][_0x25c034(0x2ce)](_0x1fe1d7,{'width':this[_0x25c034(0x2fb)],'height':this[_0x25c034(0x2a8)],'strokeWidth':_0x173b07,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x25c034(0x1da)]}),this[_0x25c034(0x3b1)]&&(_0x1fe1d7[_0x25c034(0x24a)](),_0x1fe1d7[_0x25c034(0x23e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x25c034(0x1f4)?0x0:-0x14),_0x399458[_0x25c034(0x2ce)](_0x1fe1d7,{'text':this[_0x25c034(0x365)],'color':this[_0x25c034(0x40e)]}),_0x1fe1d7[_0x25c034(0x2a5)]());}}var _0x5c5a0a=Object[_0x2273bc(0x43a)],_0x2abcd1=(_0x4370b9,_0x4d510e,_0x2507b4,_0x549ded)=>{const _0x420c6c=_0x2273bc;for(var _0x144ffd=_0x549ded>0x1?void 0x0:_0x549ded?_0x5c5a0a(_0x4d510e,_0x2507b4):_0x4d510e,_0x5d00b4=_0x4370b9[_0x420c6c(0x1cb)]-0x1,_0x2098d4;_0x5d00b4>=0x0;_0x5d00b4--)(_0x2098d4=_0x4370b9[_0x5d00b4])&&(_0x144ffd=_0x2098d4(_0x144ffd)||_0x144ffd);return _0x144ffd;},_0x4e35ad=(_0x25179f,_0x1be003)=>(_0x44ac95,_0x3f80a7)=>_0x1be003(_0x44ac95,_0x3f80a7,_0x25179f);const _0x934b23=0x1389;let _0x4549a0=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x114de2,_0x39fa90,_0x1bc824,_0x251c1e){const _0x50a55d=_0x2273bc;super(),_0x394afd(this,_0x50a55d(0x225),new Set()),_0x394afd(this,_0x50a55d(0x239),null),(this[_0x50a55d(0x3b7)]=_0x114de2,this[_0x50a55d(0x293)]=_0x39fa90,this[_0x50a55d(0x405)]=_0x1bc824,this[_0x50a55d(0x204)]=_0x251c1e,this[_0x50a55d(0x27f)]());}['_init'](){const _0x271e5a=_0x2273bc;this[_0x271e5a(0x293)][_0x271e5a(0x2e6)][_0x271e5a(0x262)](_0x382509[_0x271e5a(0x2f3)](this['dispose$']),_0x382509['switchMap'](_0x5ba84d=>{const _0x1abba2=_0x271e5a;if(_0x5ba84d){const _0x38561c=_0x5ba84d[_0x1abba2(0x263)];return _0x481401['combineLatest'](this['_collabCursorController'][_0x1abba2(0x249)](this[_0x1abba2(0x3b7)][_0x1abba2(0x338)]),this[_0x1abba2(0x204)][_0x1abba2(0x19f)])[_0x1abba2(0x262)](_0x382509[_0x1abba2(0x2ef)](([_0x55d29a,_0x1a33b8])=>{const _0x4a9ab0=_0x1abba2,_0x20f243=new Map();return _0x55d29a[_0x4a9ab0(0x213)]((_0x25cc16,_0x357cf7)=>{const _0x4a058b=_0x4a9ab0;if(_0x25cc16[_0x4a058b(0x3df)]===_0x38561c){const _0x284424={..._0x25cc16};_0x284424[_0x4a058b(0x2df)]=this[_0x4a058b(0x204)][_0x4a058b(0x24b)](_0x25cc16[_0x4a058b(0x2df)]),_0x20f243['set'](_0x357cf7,_0x284424);}}),{'skeleton':_0x5ba84d,'cursors':_0x20f243};}));}return _0x481401['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4fba66,cursors:_0x290692})=>{const _0x2b03e3=_0x271e5a;this[_0x2b03e3(0x41d)](),_0x4fba66&&this[_0x2b03e3(0x1c9)](_0x4fba66,_0x290692);}),this[_0x271e5a(0x293)][_0x271e5a(0x2e6)][_0x271e5a(0x2b7)](_0x1ea948=>{const _0x3237a0=_0x271e5a;if(_0x1ea948==null)return;const {skeleton:_0x4def76}=_0x1ea948,{scene:_0x1774cf}=this['_context'];_0x1774cf[_0x3237a0(0x3c3)][_0x3237a0(0x1c6)](_0x45454d[_0x3237a0(0x29d)](_0x209a66=>{const _0x53fc2a=_0x3237a0;var _0x1b8909,_0x5cfd35;const {offsetX:_0x254ff5,offsetY:_0x5beb53}=_0x209a66,{x:_0x1bfc6e,y:_0x3a4e80}=_0x1774cf[_0x53fc2a(0x2f0)](_0x17a4de['Vector2'][_0x53fc2a(0x215)]([_0x254ff5,_0x5beb53])),{scaleX:_0x37e5ce,scaleY:_0xe29ce1}=_0x1774cf[_0x53fc2a(0x206)](),_0xd57072=_0x1774cf[_0x53fc2a(0x427)](_0x17a4de['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x1be1b6=_0x1774cf['getVpScrollXYInfoByPosToVp'](_0x17a4de[_0x53fc2a(0x2ba)][_0x53fc2a(0x215)]([_0x1bfc6e,_0x3a4e80]),_0xd57072),_0x278e69=_0x4def76[_0x53fc2a(0x1e9)](_0x254ff5,_0x5beb53,_0x37e5ce,_0xe29ce1,_0x1be1b6);((_0x1b8909=this[_0x53fc2a(0x239)])==null?void 0x0:_0x1b8909[_0x53fc2a(0x20a)])===_0x278e69['column']&&((_0x5cfd35=this[_0x53fc2a(0x239)])==null?void 0x0:_0x5cfd35[_0x53fc2a(0x354)])===_0x278e69['row']||this[_0x53fc2a(0x225)][_0x53fc2a(0x213)](_0xfc7580=>{const _0x42acbf=_0x53fc2a;_0xfc7580[_0x42acbf(0x24d)](_0x278e69);});},0x64));});}[_0x2273bc(0x1c9)](_0x4f29ea,_0x124dfc){const _0x421980=_0x2273bc;var _0x472a3c;const _0x15cdf5=(_0x472a3c=this[_0x421980(0x293)][_0x421980(0x1a5)]())==null?void 0x0:_0x472a3c[_0x421980(0x35a)];if(!_0x15cdf5)return;const _0x28e826=this[_0x421980(0x422)]();if(!_0x28e826)return;this[_0x421980(0x225)]['forEach'](_0x4b35c1=>{const _0x1e7c7f=_0x421980;_0x4b35c1[_0x1e7c7f(0x299)]();});const {scene:_0xa666be}=_0x28e826,_0x8a6ff2=_0x507bfd(Array[_0x421980(0x320)](_0x124dfc['values']()))[_0x421980(0x2ef)](_0x374323=>{const _0x267324=_0x421980,{color:_0xb3830d,range:_0x2d6c02,name:_0x4c7a7f,selection:_0x158185,sheetID:_0x1ed0fc}=_0x374323,{startColumn:_0x109b3b,startRow:_0x22b970,endColumn:_0x2922c9,endRow:_0x3d0b5b}=_0x2d6c02,_0x428ad6=_0x3497ae['getCoordByCell'](_0x22b970,_0x109b3b,_0xa666be,_0x15cdf5),_0x58516b=_0x3497ae[_0x267324(0x3e1)](_0x3d0b5b,_0x2922c9,_0xa666be,_0x15cdf5),{columnHeaderHeightAndMarginTop:_0x1d51cb}=_0x15cdf5,{startX:_0x69354f,startY:_0x2dac4e}=_0x428ad6,{endX:_0x5b8deb,endY:_0x24d85c}=_0x58516b,_0xad5006=_0x5b8deb-_0x69354f,_0x55dd11=_0x24d85c-_0x2dac4e,_0x2bec5b={'labelPosition':_0x2dac4e-_0x1d51cb>=_0x12fb24?_0x267324(0x31a):_0x267324(0x1f4),'sheetID':_0x1ed0fc,'range':_0x2d6c02,'color':_0xb3830d,'name':_0x4c7a7f,'selection':_0x158185,'left':_0x69354f,'top':_0x2dac4e,'width':_0xad5006,'height':_0x55dd11,'evented':!0x1,'zIndex':_0x934b23};return new _0x1ce661(_0x4c7a7f,_0x2bec5b);});_0xa666be[_0x421980(0x3aa)](_0x8a6ff2,_0x4faee9),this[_0x421980(0x225)]=new Set(_0x8a6ff2);}[_0x2273bc(0x41d)](){const _0x46bc17=_0x2273bc;var _0x4618b1;(_0x4618b1=this[_0x46bc17(0x225)])==null||_0x4618b1['forEach'](_0x3d640b=>_0x3d640b[_0x46bc17(0x3b5)]());}[_0x2273bc(0x422)](){const _0x44ff12=_0x2273bc;return _0x3497ae[_0x44ff12(0x423)](this[_0x44ff12(0x3b7)]['unit'],this['_context']);}};_0x4549a0=_0x2abcd1([_0x4e35ad(0x1,_0x45454d[_0x2273bc(0x37f)](_0x3497ae[_0x2273bc(0x272)])),_0x4e35ad(0x2,_0x45454d[_0x2273bc(0x37f)](_0x344c8e)),_0x4e35ad(0x3,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x388)]))],_0x4549a0);function _0x507bfd(_0x2185fd){const _0x5e2138=_0x2273bc,_0x1a06bc=new Map();return _0x2185fd[_0x5e2138(0x213)](_0x29d759=>{const _0x38632d=_0x5e2138;if(_0x1a06bc[_0x38632d(0x385)](_0x29d759[_0x38632d(0x20d)])){const _0xf8948e=_0x1a06bc[_0x38632d(0x1ef)](_0x29d759[_0x38632d(0x20d)]);_0xf8948e[_0x38632d(0x2c8)]+=',\x20'+_0x29d759[_0x38632d(0x2c8)];}else _0x1a06bc[_0x38632d(0x2e8)](_0x29d759[_0x38632d(0x20d)],_0x29d759);}),Array['from'](_0x1a06bc[_0x5e2138(0x2db)]());}var _0x23332e=function(){const _0x3fd0df=_0x2273bc;return _0x23332e=Object[_0x3fd0df(0x252)]||function(_0x411734){const _0x4b1d0b=_0x3fd0df;for(var _0x6e6ac6,_0x17783d=0x1,_0x24cae1=arguments[_0x4b1d0b(0x1cb)];_0x17783d<_0x24cae1;_0x17783d++){_0x6e6ac6=arguments[_0x17783d];for(var _0x33b1d9 in _0x6e6ac6)Object[_0x4b1d0b(0x267)][_0x4b1d0b(0x296)][_0x4b1d0b(0x240)](_0x6e6ac6,_0x33b1d9)&&(_0x411734[_0x33b1d9]=_0x6e6ac6[_0x33b1d9]);}return _0x411734;},_0x23332e['apply'](this,arguments);},_0x2a822d=function(_0x479b67,_0x5e717b){const _0x39c3dc=_0x2273bc;var _0x4fcf5c={};for(var _0x34a7fc in _0x479b67)Object[_0x39c3dc(0x267)][_0x39c3dc(0x296)][_0x39c3dc(0x240)](_0x479b67,_0x34a7fc)&&_0x5e717b[_0x39c3dc(0x279)](_0x34a7fc)<0x0&&(_0x4fcf5c[_0x34a7fc]=_0x479b67[_0x34a7fc]);if(_0x479b67!=null&&typeof Object[_0x39c3dc(0x22c)]==_0x39c3dc(0x201)){for(var _0x531a6c=0x0,_0x34a7fc=Object['getOwnPropertySymbols'](_0x479b67);_0x531a6c<_0x34a7fc[_0x39c3dc(0x1cb)];_0x531a6c++)_0x5e717b[_0x39c3dc(0x279)](_0x34a7fc[_0x531a6c])<0x0&&Object[_0x39c3dc(0x267)][_0x39c3dc(0x1cf)][_0x39c3dc(0x240)](_0x479b67,_0x34a7fc[_0x531a6c])&&(_0x4fcf5c[_0x34a7fc[_0x531a6c]]=_0x479b67[_0x34a7fc[_0x531a6c]]);}return _0x4fcf5c;},_0x55d344=_0x54e81b['forwardRef'](function(_0x3e1ce9,_0x26556d){const _0x1ba26d=_0x2273bc;var _0x5a4a80=_0x3e1ce9['icon'],_0x3a8db1=_0x3e1ce9['id'],_0x59caf9=_0x3e1ce9[_0x1ba26d(0x371)],_0x26712f=_0x3e1ce9[_0x1ba26d(0x28a)],_0x3f516d=_0x2a822d(_0x3e1ce9,[_0x1ba26d(0x27b),'id',_0x1ba26d(0x371),'extend']),_0x44964c=_0x1ba26d(0x2d2)['concat'](_0x3a8db1,'\x20')[_0x1ba26d(0x311)](_0x59caf9||'')[_0x1ba26d(0x220)](),_0x2015ec=_0x54e81b[_0x1ba26d(0x3cb)]('_'[_0x1ba26d(0x311)](_0x189850()));return _0x1b8856(_0x5a4a80,''[_0x1ba26d(0x311)](_0x3a8db1),{'defIds':_0x5a4a80['defIds'],'idSuffix':_0x2015ec[_0x1ba26d(0x3e8)]},_0x23332e({'ref':_0x26556d,'className':_0x44964c},_0x3f516d),_0x26712f);});function _0x1b8856(_0x2bd0cb,_0x2e5e7c,_0x2d673c,_0x51023d,_0x44ea77){const _0x1fb805=_0x2273bc;return _0x54e81b[_0x1fb805(0x2a7)](_0x2bd0cb['tag'],_0x23332e(_0x23332e({'key':_0x2e5e7c},_0x1e4294(_0x2bd0cb,_0x2d673c,_0x44ea77)),_0x51023d),(_0xe717a1(_0x2bd0cb,_0x2d673c)['children']||[])[_0x1fb805(0x2ef)](function(_0x2acd7a,_0x33f6c0){const _0x1818f4=_0x1fb805;return _0x1b8856(_0x2acd7a,''['concat'](_0x2e5e7c,'-')[_0x1818f4(0x311)](_0x2bd0cb['tag'],'-')[_0x1818f4(0x311)](_0x33f6c0),_0x2d673c,void 0x0,_0x44ea77);}));}function _0x1e4294(_0x34be68,_0x14cc05,_0x43cb90){const _0x5359cd=_0x2273bc;var _0x25dd49=_0x23332e({},_0x34be68['attrs']);_0x43cb90!=null&&_0x43cb90[_0x5359cd(0x21e)]&&_0x25dd49[_0x5359cd(0x297)]===_0x5359cd(0x21e)&&(_0x25dd49['fill']=_0x43cb90[_0x5359cd(0x21e)]),_0x34be68[_0x5359cd(0x2f4)]===_0x5359cd(0x281)&&_0x25dd49['id']&&(_0x25dd49['id']=_0x25dd49['id']+_0x14cc05[_0x5359cd(0x397)]),Object[_0x5359cd(0x2e3)](_0x25dd49)[_0x5359cd(0x213)](function(_0x157a05){const _0xb932f9=_0x5359cd;var _0x425144=_0x157a05[0x0],_0x48a2e6=_0x157a05[0x1];_0x425144==='mask'&&typeof _0x48a2e6==_0xb932f9(0x326)&&(_0x25dd49[_0x425144]=_0x48a2e6[_0xb932f9(0x234)](/url\(#(.*)\)/,'url(#$1'[_0xb932f9(0x311)](_0x14cc05[_0xb932f9(0x397)],')')));});var _0x2dd7b8=_0x14cc05[_0x5359cd(0x416)];return!_0x2dd7b8||_0x2dd7b8[_0x5359cd(0x1cb)]===0x0||(_0x34be68[_0x5359cd(0x2f4)]===_0x5359cd(0x396)&&_0x25dd49[_0x5359cd(0x2a6)]&&(_0x25dd49[_0x5359cd(0x2a6)]=_0x25dd49[_0x5359cd(0x2a6)]+_0x14cc05[_0x5359cd(0x397)]),Object[_0x5359cd(0x2e3)](_0x25dd49)[_0x5359cd(0x213)](function(_0x5950f1){const _0x5d6bd9=_0x5359cd;var _0x5ab7e0=_0x5950f1[0x0],_0x1f57bf=_0x5950f1[0x1];typeof _0x1f57bf==_0x5d6bd9(0x326)&&(_0x25dd49[_0x5ab7e0]=_0x1f57bf[_0x5d6bd9(0x234)](/url\(#(.*)\)/,_0x5d6bd9(0x2bc)[_0x5d6bd9(0x311)](_0x14cc05[_0x5d6bd9(0x397)],')')));})),_0x25dd49;}function _0xe717a1(_0x177628,_0xdf730){const _0x32fc27=_0x2273bc;var _0x1ce5f4,_0x16d427=_0xdf730['defIds'];return!_0x16d427||_0x16d427[_0x32fc27(0x1cb)]===0x0?_0x177628:_0x177628[_0x32fc27(0x2f4)]===_0x32fc27(0x2b2)&&(!((_0x1ce5f4=_0x177628[_0x32fc27(0x3d4)])===null||_0x1ce5f4===void 0x0)&&_0x1ce5f4['length'])?_0x23332e(_0x23332e({},_0x177628),{'children':_0x177628[_0x32fc27(0x3d4)][_0x32fc27(0x2ef)](function(_0x10030e){const _0x45cf39=_0x32fc27;return typeof _0x10030e[_0x45cf39(0x286)]['id']==_0x45cf39(0x326)&&_0x16d427&&_0x16d427['includes'](_0x10030e[_0x45cf39(0x286)]['id'])?_0x23332e(_0x23332e({},_0x10030e),{'attrs':_0x23332e(_0x23332e({},_0x10030e[_0x45cf39(0x286)]),{'id':_0x10030e[_0x45cf39(0x286)]['id']+_0xdf730[_0x45cf39(0x397)]})}):_0x10030e;})}):_0x177628;}function _0x189850(){const _0x1c9833=_0x2273bc;return Math[_0x1c9833(0x1de)]()[_0x1c9833(0x439)](0x24)['substring'](0x2,0x8);}_0x55d344[_0x2273bc(0x1d1)]=_0x2273bc(0x3c5);var _0x40f3a8={'tag':'svg','attrs':{'xmlns':_0x2273bc(0x1e3),'fill':_0x2273bc(0x2d1),'viewBox':_0x2273bc(0x3a1),'width':_0x2273bc(0x348),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2273bc(0x1dd)},'children':[{'tag':_0x2273bc(0x437),'attrs':{'stroke':_0x2273bc(0x3dc),'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':_0x2273bc(0x3f2),'strokeLinejoin':_0x2273bc(0x3f2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2273bc(0x205),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2273bc(0x2a0),'d':_0x2273bc(0x214)}}]}]}],'defIds':[_0x2273bc(0x27e)]},_0x3bdc49=_0x54e81b['forwardRef'](function(_0x1d481b,_0x420fb2){const _0x53b3a1=_0x2273bc;return _0x54e81b['createElement'](_0x55d344,Object[_0x53b3a1(0x252)]({},_0x1d481b,{'id':_0x53b3a1(0x229),'ref':_0x420fb2,'icon':_0x40f3a8}));});_0x3bdc49[_0x2273bc(0x1d1)]=_0x2273bc(0x2ae);var _0x4b810d={'tag':_0x2273bc(0x37d),'attrs':{'xmlns':_0x2273bc(0x1e3),'fill':_0x2273bc(0x2d1),'viewBox':'0\x200\x2017\x2016','width':_0x2273bc(0x348),'height':_0x2273bc(0x348)},'children':[{'tag':'g','attrs':{'clipPath':_0x2273bc(0x266)},'children':[{'tag':_0x2273bc(0x437),'attrs':{'stroke':_0x2273bc(0x3dc),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2273bc(0x2b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2273bc(0x437),'attrs':{'fill':_0x2273bc(0x2a0),'d':'M0\x200H16V16H0z','transform':_0x2273bc(0x3c2)}}]}]}],'defIds':[_0x2273bc(0x1cc)]},_0x598470=_0x54e81b['forwardRef'](function(_0x332fc7,_0x261a57){const _0xcf0991=_0x2273bc;return _0x54e81b[_0xcf0991(0x2a7)](_0x55d344,Object['assign']({},_0x332fc7,{'id':_0xcf0991(0x1a3),'ref':_0x261a57,'icon':_0x4b810d}));});_0x598470[_0x2273bc(0x1d1)]='OnLineIcon';function _0x4c276e(_0x4b49ac){const _0x476ced=_0x2273bc;switch(_0x4b49ac){case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x3a9)]:return'collabStatus.offline';case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x2c1)]:return _0x476ced(0x276);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x323)]:return _0x476ced(0x2b6);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x2ad)]:return _0x476ced(0x2a3);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x1f8)]:case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x265)]:return _0x476ced(0x433);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x3fa)]:case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x394)]:return _0x476ced(0x242);}}function _0x3b257c(_0x32186b){const _0x39ee6e=_0x2273bc,{status$:_0x575431}=_0x32186b,_0x252c94=_0x933c1a['useObservable'](_0x575431,_0xfdd47c[_0x39ee6e(0x336)][_0x39ee6e(0x2ad)]),_0x4422d1=_0x933c1a[_0x39ee6e(0x37a)](_0x45454d['LocaleService']),_0x2fd44a=_0x933c1a[_0x39ee6e(0x37a)](_0xfdd47c[_0x39ee6e(0x1a0)]),_0x18bc9b=_0x252c94!==_0xfdd47c[_0x39ee6e(0x336)]['OFFLINE'],_0x1b3180=_0x4422d1['t'](_0x4c276e(_0x252c94)),_0x43271b=_0x18bc9b?_0x135d70['jsx'](_0x598470,{}):_0x135d70[_0x39ee6e(0x2cf)](_0x3bdc49,{}),_0x182884=_0x54e81b[_0x39ee6e(0x3f4)](()=>{const _0x554207=_0x39ee6e;_0x18bc9b||_0x2fd44a[_0x554207(0x264)]();},[_0x18bc9b,_0x2fd44a]);function _0x585965(){const _0x394a2f=_0x39ee6e;return _0x135d70[_0x394a2f(0x3f0)]('div',{'className':_0x394a2f(0x271),'onClick':_0x182884,'children':[_0x135d70['jsx']('div',{'className':_0x4402cc[_0x394a2f(0x1f7)](_0x394a2f(0x32b),{'univer-text-green-500':_0x18bc9b,'univer-text-red-500':!_0x18bc9b}),'children':_0x43271b}),_0x135d70[_0x394a2f(0x2cf)]('div',{'className':_0x394a2f(0x259),'children':_0x1b3180})]});}return _0x18bc9b?_0x585965():_0x135d70[_0x39ee6e(0x2cf)](_0x4402cc[_0x39ee6e(0x3ad)],{'title':_0x4422d1['t'](_0x39ee6e(0x413)),'children':_0x585965()});}var _0x2cbb1a=Object['getOwnPropertyDescriptor'],_0x33b08d=(_0x6eb057,_0x17def1,_0x3a875b,_0x589f5f)=>{const _0x463c25=_0x2273bc;for(var _0x4909a0=_0x589f5f>0x1?void 0x0:_0x589f5f?_0x2cbb1a(_0x17def1,_0x3a875b):_0x17def1,_0x4ff184=_0x6eb057[_0x463c25(0x1cb)]-0x1,_0x1b7634;_0x4ff184>=0x0;_0x4ff184--)(_0x1b7634=_0x6eb057[_0x4ff184])&&(_0x4909a0=_0x1b7634(_0x4909a0)||_0x4909a0);return _0x4909a0;},_0x42a49e=(_0x16ee96,_0x7ce236)=>(_0x1e1148,_0x495059)=>_0x7ce236(_0x1e1148,_0x495059,_0x16ee96);_0x2f60c5[_0x2273bc(0x3f7)]=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x56d744,_0x1ee484,_0x3372fb,_0x1109f0){const _0x5208dc=_0x2273bc;super(),_0x394afd(this,_0x5208dc(0x292),new _0x481401[(_0x5208dc(0x2e4))](_0xfdd47c[_0x5208dc(0x336)][_0x5208dc(0x2ad)])),(this[_0x5208dc(0x383)]=_0x56d744,this[_0x5208dc(0x3ca)]=_0x1ee484,this[_0x5208dc(0x305)]=_0x3372fb,this[_0x5208dc(0x3fc)]=_0x1109f0,this[_0x5208dc(0x2b3)](),this[_0x5208dc(0x284)]());}[_0x2273bc(0x284)](){const _0x4221d7=_0x2273bc;this['disposeWithMe'](this[_0x4221d7(0x383)][_0x4221d7(0x2ec)][_0x4221d7(0x262)](_0x481401[_0x4221d7(0x275)](()=>{const _0x43af43=_0x4221d7,_0x51e43e=this[_0x43af43(0x383)][_0x43af43(0x3d2)]();return _0x51e43e?this[_0x43af43(0x305)][_0x43af43(0x39d)](_0x51e43e['getUnitId']()):_0x481401['of'](null);}),_0x481401['switchMap'](_0x1c0ee4=>_0x1c0ee4?_0x1c0ee4['status$']:_0x481401['of'](_0xfdd47c['CollaborationStatus'][_0x4221d7(0x2ad)])))[_0x4221d7(0x2b7)](_0x29ec8f=>{const _0x356188=_0x4221d7;this['_status$'][_0x356188(0x33c)](_0x29ec8f);}));}[_0x2273bc(0x2b3)](){const _0x4f9e88=_0x2273bc;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x933c1a[_0x4f9e88(0x216)][_0x4f9e88(0x19b)],()=>_0x933c1a['connectInjector'](_0x192f4f({'status$':this[_0x4f9e88(0x292)][_0x4f9e88(0x39f)]()}),this[_0x4f9e88(0x3ca)])));}},_0x2f60c5[_0x2273bc(0x3f7)]=_0x33b08d([_0x42a49e(0x0,_0x45454d[_0x2273bc(0x1b1)]),_0x42a49e(0x1,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x42a49e(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c['CollaborationController'])),_0x42a49e(0x3,_0x933c1a[_0x2273bc(0x244)])],_0x2f60c5[_0x2273bc(0x3f7)]);function _0x192f4f(_0x4e25ea){const {status$:_0x36da8c}=_0x4e25ea;return function(){return _0x135d70['jsx'](_0x3b257c,{'status$':_0x36da8c});};}var _0x2f35c6=Object[_0x2273bc(0x43a)],_0x54f4e8=(_0x2a5aa7,_0x109392,_0x53fa06,_0x4fa624)=>{for(var _0x14d941=_0x4fa624>0x1?void 0x0:_0x4fa624?_0x2f35c6(_0x109392,_0x53fa06):_0x109392,_0x379423=_0x2a5aa7['length']-0x1,_0x2304f6;_0x379423>=0x0;_0x379423--)(_0x2304f6=_0x2a5aa7[_0x379423])&&(_0x14d941=_0x2304f6(_0x14d941)||_0x14d941);return _0x14d941;},_0x1bc95c=(_0x29a769,_0x546397)=>(_0x296f3b,_0x44d3e2)=>_0x546397(_0x296f3b,_0x44d3e2,_0x29a769);let _0x32a402=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x44e800,_0xe1a0a6,_0x27bf9d,_0x38d5e4,_0x45e253,_0x1fd025){const _0x3db505=_0x2273bc;super(),this[_0x3db505(0x337)]=_0x44e800,this['_localCacheService']=_0xe1a0a6,this[_0x3db505(0x361)]=_0x27bf9d,this[_0x3db505(0x1d7)]=_0x38d5e4,this['_notificationService']=_0x45e253,this['_localeService']=_0x1fd025,this['_setupBeforeClosingHandler'](),this[_0x3db505(0x350)]();}['_setupBeforeClosingHandler'](){const _0x49ad30=_0x2273bc;this[_0x49ad30(0x36f)](this[_0x49ad30(0x337)][_0x49ad30(0x3c6)](()=>{const _0x227c58=_0x49ad30;if(this[_0x227c58(0x257)]['saveTaskMap'][_0x227c58(0x379)])return this[_0x227c58(0x3e9)]['t'](_0x227c58(0x38a));}));}['_initEvent'](){const _0x269779=_0x2273bc;this[_0x269779(0x36f)](this[_0x269779(0x361)][_0x269779(0x241)]['subscribe'](_0x262b2f=>{const _0x496a20=_0x269779;_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x291)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this['_localeService']['t'](_0x496a20(0x2e5))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x295)]&&this[_0x496a20(0x1d7)][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x40f))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x341)]&&this['_notificationService']['show']({'title':this['_localeService']['t'](_0x496a20(0x2bb)),'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x233)),'type':'error','duration':0x0}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x2c1)]&&this['_messageService'][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t']('collaboration.closeRoom')+'('+_0x262b2f[_0x496a20(0x3be)]+')'}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x1d9)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this['_localeService']['t'](_0x262b2f[_0x496a20(0x3be)]||'')}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)]['SOCKET_FAILED_RETRY']&&this[_0x496a20(0x1d7)][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x33a))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)]['SOCKET_FAILED']&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x32d))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x29e)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x32e))});}));}};_0x32a402=_0x54f4e8([_0x1bc95c(0x0,_0x933c1a[_0x2273bc(0x24f)]),_0x1bc95c(0x1,_0xfdd47c[_0x2273bc(0x415)]),_0x1bc95c(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c['CollaborationUIEventService'])),_0x1bc95c(0x3,_0x933c1a[_0x2273bc(0x1ff)]),_0x1bc95c(0x4,_0x933c1a[_0x2273bc(0x243)]),_0x1bc95c(0x5,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x1ba)]))],_0x32a402);const _0x523261=_0x2273bc(0x2dd),_0x217a89={},_0x3f856f=_0x45454d[_0x2273bc(0x36d)](_0x2273bc(0x19e));var _0x1cd880=Object[_0x2273bc(0x43a)],_0x4548e5=(_0xce3f43,_0x23a8c2,_0x448e3b,_0xdfc7b4)=>{const _0x27691b=_0x2273bc;for(var _0xc06539=_0xdfc7b4>0x1?void 0x0:_0xdfc7b4?_0x1cd880(_0x23a8c2,_0x448e3b):_0x23a8c2,_0x15d0ec=_0xce3f43[_0x27691b(0x1cb)]-0x1,_0x59328a;_0x15d0ec>=0x0;_0x15d0ec--)(_0x59328a=_0xce3f43[_0x15d0ec])&&(_0xc06539=_0x59328a(_0xc06539)||_0xc06539);return _0xc06539;},_0x1facf8=(_0x1d1d2e,_0x5abc50)=>(_0x28bfa3,_0x36595e)=>_0x5abc50(_0x28bfa3,_0x36595e,_0x1d1d2e);_0x2f60c5[_0x2273bc(0x3ed)]=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x3be5a3,_0x39a383,_0x4496bd,_0x2ecbdb,_0x4de41a){const _0x314dae=_0x2273bc;super(),this['_urlService']=_0x3be5a3,this[_0x314dae(0x1a2)]=_0x39a383,this['_commandService']=_0x4496bd,this[_0x314dae(0x309)]=_0x2ecbdb,_0x4de41a?_0x4de41a==null||_0x4de41a[_0x314dae(0x364)]()[_0x314dae(0x2d5)](()=>this[_0x314dae(0x27f)]()):(this[_0x314dae(0x1a2)]['debug'](_0x314dae(0x1d6),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x314dae(0x27f)]());}async[_0x2273bc(0x27f)](){const _0x5d24a1=_0x2273bc,_0xcc7577=this[_0x5d24a1(0x22b)]['getParam'](_0x5d24a1(0x3a2)),_0x34b3c0=this[_0x5d24a1(0x22b)][_0x5d24a1(0x330)](_0x5d24a1(0x28e)),_0x38471f=this['_urlService'][_0x5d24a1(0x330)]('subunit');if(!_0xcc7577||!_0x34b3c0){this[_0x5d24a1(0x1a2)][_0x5d24a1(0x219)]('[CollaborationDataLoaderController]',_0x5d24a1(0x1e7));return;}const _0xc22207=await this[_0x5d24a1(0x309)][_0x5d24a1(0x1f2)](_0xcc7577,Number(_0x34b3c0),_0x38471f);_0xc22207&&_0xc22207 instanceof _0x45454d[_0x5d24a1(0x1e0)]&&this['_setupSubUnitSync'](_0xc22207);}async[_0x2273bc(0x370)](_0x4e0c63){const _0x1a87be=_0x2273bc;await this[_0x1a87be(0x34f)](_0x4e0c63),_0x4e0c63['activeSheet$'][_0x1a87be(0x262)](_0x481401[_0x1a87be(0x2f3)](this['dispose$']))['subscribe'](_0x375d69=>{const _0x6e95ef=_0x1a87be;_0x375d69&&this[_0x6e95ef(0x3e3)](_0x375d69);}),this[_0x1a87be(0x22b)][_0x1a87be(0x1d5)][_0x1a87be(0x262)](_0x481401[_0x1a87be(0x2f3)](this['dispose$']))[_0x1a87be(0x2b7)](()=>this['_updateSubUnitFromURLParams'](_0x4e0c63));}[_0x2273bc(0x3e3)](_0x320e35,_0x502eaf=!0x1){const _0x43e0f4=_0x2273bc,_0x51bb69=this[_0x43e0f4(0x22b)][_0x43e0f4(0x330)](_0x43e0f4(0x2d3));_0x320e35['getSheetId']()!==_0x51bb69&&this[_0x43e0f4(0x22b)][_0x43e0f4(0x221)](_0x43e0f4(0x2d3),_0x320e35[_0x43e0f4(0x1be)](),_0x502eaf);}async[_0x2273bc(0x34f)](_0x5668cd){const _0x1552ec=_0x2273bc;var _0x4cb0d5;const _0x5e2d12=this['_urlService']['getParam'](_0x1552ec(0x2d3));if(!_0x5e2d12||!_0x5668cd[_0x1552ec(0x2ca)](_0x5e2d12)){const _0x3a5467=_0x5668cd[_0x1552ec(0x349)]()[0x0],_0x1c93a0=_0x5668cd[_0x1552ec(0x2ca)](_0x3a5467);if(!_0x1c93a0)return;this[_0x1552ec(0x3e3)](_0x1c93a0,!0x0),await this['_commandService'][_0x1552ec(0x238)](_0x518da4[_0x1552ec(0x2a4)]['id'],{'unitId':_0x5668cd[_0x1552ec(0x318)](),'subUnitId':_0x3a5467});return;}((_0x4cb0d5=_0x5668cd[_0x1552ec(0x2f1)]())==null?void 0x0:_0x4cb0d5[_0x1552ec(0x1be)]())!==_0x5e2d12&&await this[_0x1552ec(0x1c1)][_0x1552ec(0x238)](_0x518da4['SetWorksheetActivateCommand']['id'],{'unitId':_0x5668cd[_0x1552ec(0x318)](),'subUnitId':_0x5e2d12});}},_0x2f60c5[_0x2273bc(0x3ed)]=_0x4548e5([_0x1facf8(0x0,_0x3f856f),_0x1facf8(0x1,_0x45454d[_0x2273bc(0x254)]),_0x1facf8(0x2,_0x45454d[_0x2273bc(0x3d0)]),_0x1facf8(0x3,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x42c)])),_0x1facf8(0x4,_0x45454d[_0x2273bc(0x362)](_0x1c6948['IRemoteInstanceService']))],_0x2f60c5[_0x2273bc(0x3ed)]);var _0x2a5c9b=Object[_0x2273bc(0x43a)],_0x5a3827=(_0x52c887,_0x56da02,_0x14f43a,_0x14720a)=>{const _0x2ff166=_0x2273bc;for(var _0x40efac=_0x14720a>0x1?void 0x0:_0x14720a?_0x2a5c9b(_0x56da02,_0x14f43a):_0x56da02,_0x30e2c1=_0x52c887[_0x2ff166(0x1cb)]-0x1,_0x91d48d;_0x30e2c1>=0x0;_0x30e2c1--)(_0x91d48d=_0x52c887[_0x30e2c1])&&(_0x40efac=_0x91d48d(_0x40efac)||_0x40efac);return _0x40efac;},_0x1731e2=(_0x30bf50,_0x4295d1)=>(_0x1ce35f,_0x2e9c71)=>_0x4295d1(_0x1ce35f,_0x2e9c71,_0x30bf50);let _0x54f8ab=class{constructor(_0x8c7b4a,_0x24a46b,_0x339833){const _0x4fcc4e=_0x2273bc;this['_injector']=_0x8c7b4a,this[_0x4fcc4e(0x333)]=_0x24a46b,this[_0x4fcc4e(0x3da)]=_0x339833;}[_0x2273bc(0x316)](_0x5abaa8){const _0xcaf42c=_0x2273bc;this[_0xcaf42c(0x357)](_0x5abaa8),this[_0xcaf42c(0x314)](_0x5abaa8);}[_0x2273bc(0x2fc)](_0x410936){const _0x1201d2=_0x2273bc,{unitID:_0x1ff1a3}=_0x410936,_0x3c9c68=this['_renderManagerService'][_0x1201d2(0x270)](_0x1ff1a3)['with'](_0x1b66a1[_0x1201d2(0x430)]),{redoCache:_0x593c73}=_0x3c9c68[_0x1201d2(0x3a8)]();if(_0x593c73[_0x1201d2(0x1cb)]===0x0)return _0x410936;let _0x38013a=_0x45454d[_0x1201d2(0x400)]['deepClone'](_0x410936[_0x1201d2(0x2d4)][0x0]);for(let _0x3af561=0x0;_0x3af561<_0x593c73[_0x1201d2(0x1cb)];_0x3af561++){const _0x3431dc={'id':_0x1201d2(0x2b5),'params':{..._0x593c73[_0x3af561]}},_0x407021=this['_transformService'][_0x1201d2(0x2cc)](_0x38013a,_0x3431dc,!0x1);if(_0x368b75[_0x1201d2(0x31e)](_0x407021))throw _0x407021['error'];_0x38013a=_0x407021[_0x1201d2(0x283)];}return{..._0x45454d['Tools'][_0x1201d2(0x1c3)](_0x410936),'mutations':[_0x38013a]};}[_0x2273bc(0x357)](_0xd15e33){const _0x1b71ef=_0x2273bc,{unitID:_0xbf5ff1}=_0xd15e33,_0x294dc5=this[_0x1b71ef(0x3da)][_0x1b71ef(0x270)](_0xbf5ff1)[_0x1b71ef(0x22e)](_0x1b66a1[_0x1b71ef(0x430)]),{undoCache:_0x4b32fc,redoCache:_0x3b6b8c}=_0x294dc5[_0x1b71ef(0x3a8)]();if(_0x4b32fc[_0x1b71ef(0x1cb)]===0x0||_0x3b6b8c[_0x1b71ef(0x1cb)]===0x0)return;const _0x59a58f=[],_0xcd08a5=[];let _0x19fa17=_0x45454d[_0x1b71ef(0x400)]['deepClone'](_0xd15e33['mutations'][0x0]),_0x5db532=_0x45454d[_0x1b71ef(0x400)]['deepClone'](_0xd15e33['mutations'][0x0]);for(let _0x84ce8b=_0x4b32fc[_0x1b71ef(0x1cb)]-0x1;_0x84ce8b>=0x0;_0x84ce8b--){const _0xe601d2={'id':_0x1b71ef(0x2b5),'params':{..._0x4b32fc[_0x84ce8b]}},_0xe0a785={'id':_0x1b71ef(0x2b5),'params':{..._0x3b6b8c[_0x84ce8b]}},_0x3b165f=this[_0x1b71ef(0x333)]['transformMutation'](_0x19fa17,_0xe601d2,!0x1),_0x15385c=this[_0x1b71ef(0x333)][_0x1b71ef(0x2cc)](_0x5db532,_0xe0a785,!0x1);if(_0x368b75[_0x1b71ef(0x31e)](_0x3b165f))throw _0x3b165f[_0x1b71ef(0x372)];if(_0x368b75[_0x1b71ef(0x31e)](_0x15385c))throw _0x15385c['error'];_0x59a58f[_0x1b71ef(0x3a3)](_0x3b165f['m2Prime'][_0x1b71ef(0x399)]),_0xcd08a5[_0x1b71ef(0x3a3)](_0x15385c[_0x1b71ef(0x248)][_0x1b71ef(0x399)]),_0x19fa17=_0x3b165f[_0x1b71ef(0x283)],_0x5db532=_0x15385c['m1Prime'];}_0x294dc5[_0x1b71ef(0x2f8)]({'undoCache':_0x59a58f,'redoCache':_0xcd08a5});}[_0x2273bc(0x314)](_0x4ec90a){const _0xc2a5df=_0x2273bc,{unitID:_0x14fc38}=_0x4ec90a,_0x3dd27f=this[_0xc2a5df(0x3da)][_0xc2a5df(0x270)](_0x14fc38)[_0xc2a5df(0x22e)](_0x1b66a1['DocIMEInputManagerService']),_0x49c3f3=_0x3dd27f[_0xc2a5df(0x2b0)]();if(_0x49c3f3==null)return;const _0x344e8f=[{'id':_0xc2a5df(0x2b5),'params':{'unitId':_0x4ec90a['unitID'],'actions':null,'textRanges':[_0x49c3f3]}}],_0x50177e=this['_transformService'][_0xc2a5df(0x30c)](_0x4ec90a,_0x344e8f);if(!_0x368b75['isTransformMutationsWithChangesetSuccess'](_0x50177e))throw _0x50177e['error'];const _0x33d436=_0x50177e['m2Prime'][0x0][_0xc2a5df(0x399)]['textRanges'];Array[_0xc2a5df(0x387)](_0x33d436)&&_0x33d436['length']&&_0x3dd27f['setActiveRange'](_0x33d436[0x0]);}};_0x54f8ab=_0x5a3827([_0x1731e2(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d['Injector'])),_0x1731e2(0x1,_0x368b75['ITransformService']),_0x1731e2(0x2,_0x17a4de[_0x2273bc(0x19d)])],_0x54f8ab);var _0x16b4af=Object['getOwnPropertyDescriptor'],_0x2c3c09=(_0x36a61f,_0x5887ae,_0x54c79d,_0x191bf8)=>{const _0x5f3365=_0x2273bc;for(var _0x2213a2=_0x191bf8>0x1?void 0x0:_0x191bf8?_0x16b4af(_0x5887ae,_0x54c79d):_0x5887ae,_0x55b8f8=_0x36a61f[_0x5f3365(0x1cb)]-0x1,_0x373b9f;_0x55b8f8>=0x0;_0x55b8f8--)(_0x373b9f=_0x36a61f[_0x55b8f8])&&(_0x2213a2=_0x373b9f(_0x2213a2)||_0x2213a2);return _0x2213a2;},_0x21e813=(_0x5291e2,_0x5c9fa0)=>(_0x7f0d63,_0x5307ed)=>_0x5c9fa0(_0x7f0d63,_0x5307ed,_0x5291e2);let _0x5bc7a6=class{constructor(_0x52b86e,_0x2cc737,_0x3c6628){const _0x553243=_0x2273bc;this[_0x553243(0x3ca)]=_0x52b86e,this[_0x553243(0x333)]=_0x2cc737,this['_docStateChangeManagerService']=_0x3c6628;}[_0x2273bc(0x217)](_0xf46380){const _0x9c85e8=_0x2273bc;this[_0x9c85e8(0x30a)](_0xf46380);}[_0x2273bc(0x2fc)](_0xe6e2a8){const _0x14ed2f=_0x2273bc,{unitID:_0x51f1af}=_0xe6e2a8,{collaboration:_0xa952f2}=this[_0x14ed2f(0x2d9)][_0x14ed2f(0x373)](_0x51f1af);if(_0xa952f2[_0x14ed2f(0x1cb)]===0x0)return _0xe6e2a8;let _0x4be24d=_0x45454d[_0x14ed2f(0x400)][_0x14ed2f(0x1c3)](_0xe6e2a8[_0x14ed2f(0x2d4)][0x0]);for(let _0x127935=0x0;_0x127935<_0xa952f2[_0x14ed2f(0x1cb)];_0x127935++){const _0x5f30fd={'id':_0x14ed2f(0x2b5),'params':{'unitId':_0xa952f2[_0x127935][_0x14ed2f(0x338)],..._0xa952f2[_0x127935][_0x14ed2f(0x25f)]}},_0x6285c5=this[_0x14ed2f(0x333)][_0x14ed2f(0x2cc)](_0x4be24d,_0x5f30fd,!0x1);if(_0x368b75['isTransformMutationFailure'](_0x6285c5))throw _0x6285c5[_0x14ed2f(0x372)];_0x4be24d=_0x6285c5[_0x14ed2f(0x283)];}return{..._0x45454d[_0x14ed2f(0x400)][_0x14ed2f(0x1c3)](_0xe6e2a8),'mutations':[_0x4be24d]};}[_0x2273bc(0x30a)](_0x410b23){const _0x3327ce=_0x2273bc,{unitID:_0x5b950e}=_0x410b23,{history:_0x3f73c1,collaboration:_0x474bf7}=this[_0x3327ce(0x2d9)][_0x3327ce(0x373)](_0x5b950e);if(_0x3f73c1['length']===0x0&&_0x474bf7['length']===0x0)return;const _0x59a43f=[],_0x750fa=[];let _0x2d581d=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23[_0x3327ce(0x2d4)][0x0]),_0x55e4b5=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]);for(let _0x5bf6d6=_0x3f73c1[_0x3327ce(0x1cb)]-0x1;_0x5bf6d6>=0x0;_0x5bf6d6--){const _0x512145={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f73c1[_0x5bf6d6][_0x3327ce(0x338)],..._0x3f73c1[_0x5bf6d6][_0x3327ce(0x3d6)]}},_0x36e42={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x3f73c1[_0x5bf6d6][_0x3327ce(0x338)],..._0x3f73c1[_0x5bf6d6][_0x3327ce(0x25f)]}},_0x5caf61=this['_transformService'][_0x3327ce(0x2cc)](_0x2d581d,_0x512145,!0x1),_0x4cfac0=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x55e4b5,_0x36e42,!0x1);if(_0x368b75[_0x3327ce(0x31e)](_0x5caf61))throw _0x5caf61['error'];if(_0x368b75[_0x3327ce(0x31e)](_0x4cfac0))throw _0x4cfac0[_0x3327ce(0x372)];_0x59a43f[_0x3327ce(0x3a3)]({..._0x3f73c1[_0x5bf6d6],'undoState':_0x5caf61[_0x3327ce(0x248)][_0x3327ce(0x399)],'redoState':_0x4cfac0[_0x3327ce(0x248)][_0x3327ce(0x399)]}),_0x2d581d=_0x5caf61[_0x3327ce(0x283)],_0x55e4b5=_0x4cfac0[_0x3327ce(0x283)];}_0x2d581d=_0x45454d['Tools'][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]),_0x55e4b5=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]);for(let _0x56e3e7=_0x474bf7['length']-0x1;_0x56e3e7>=0x0;_0x56e3e7--){const _0x1afc34={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x474bf7[_0x56e3e7][_0x3327ce(0x338)],..._0x474bf7[_0x56e3e7][_0x3327ce(0x3d6)]}},_0x4c8d2f={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x474bf7[_0x56e3e7][_0x3327ce(0x338)],..._0x474bf7[_0x56e3e7][_0x3327ce(0x25f)]}},_0x4addf7=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x2d581d,_0x1afc34,!0x1),_0x4e98c0=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x55e4b5,_0x4c8d2f,!0x1);if(_0x368b75[_0x3327ce(0x31e)](_0x4addf7))throw _0x4addf7[_0x3327ce(0x372)];if(_0x368b75[_0x3327ce(0x31e)](_0x4e98c0))throw _0x4e98c0['error'];_0x750fa[_0x3327ce(0x3a3)]({..._0x474bf7[_0x56e3e7],'undoState':_0x4addf7['m2Prime']['params'],'redoState':_0x4e98c0[_0x3327ce(0x248)][_0x3327ce(0x399)]}),_0x2d581d=_0x4addf7[_0x3327ce(0x283)],_0x55e4b5=_0x4e98c0[_0x3327ce(0x283)];}this['_docStateChangeManagerService'][_0x3327ce(0x3e0)](_0x5b950e,{'history':_0x59a43f,'collaboration':_0x750fa});}};_0x5bc7a6=_0x2c3c09([_0x21e813(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x21e813(0x1,_0x368b75['ITransformService']),_0x21e813(0x2,_0x45454d[_0x2273bc(0x37f)](_0x1b66a1[_0x2273bc(0x2d6)]))],_0x5bc7a6);var _0x3db08e=Object['getOwnPropertyDescriptor'],_0x5bef3b=(_0x48deb7,_0x4606f2,_0x5d9912,_0x115b76)=>{const _0x2288c6=_0x2273bc;for(var _0xeb89b6=_0x115b76>0x1?void 0x0:_0x115b76?_0x3db08e(_0x4606f2,_0x5d9912):_0x4606f2,_0x57220c=_0x48deb7[_0x2288c6(0x1cb)]-0x1,_0x349f0f;_0x57220c>=0x0;_0x57220c--)(_0x349f0f=_0x48deb7[_0x57220c])&&(_0xeb89b6=_0x349f0f(_0xeb89b6)||_0xeb89b6);return _0xeb89b6;},_0x2c1376=(_0x39f6a8,_0x19e1dd)=>(_0x30f082,_0x36934d)=>_0x19e1dd(_0x30f082,_0x36934d,_0x39f6a8);let _0x1a6bea=class{constructor(_0x4ce9bd,_0x415f79){const _0x269664=_0x2273bc;this[_0x269664(0x3ca)]=_0x4ce9bd,this[_0x269664(0x333)]=_0x415f79;}[_0x2273bc(0x2bd)](_0x489cb5){const _0x57c2b5=_0x2273bc;var _0x43b1a4;const _0x42943a=this[_0x57c2b5(0x3ca)]['get'](_0x1af111[_0x57c2b5(0x41a)]),_0x57af41=(_0x43b1a4=_0x42943a[_0x57c2b5(0x21f)]())!=null?_0x43b1a4:[];if(_0x57af41[_0x57c2b5(0x1cb)]===0x0)return;const _0x5c7ce0=_0x489cb5['unitID'],_0x50c08e=[{'id':_0x57c2b5(0x2b5),'params':{'unitId':_0x5c7ce0,'actions':null,'textRanges':_0x57af41}}],_0x48b9ef=this[_0x57c2b5(0x333)][_0x57c2b5(0x30c)](_0x489cb5,_0x50c08e);if(!_0x368b75[_0x57c2b5(0x2a1)](_0x48b9ef))throw _0x48b9ef[_0x57c2b5(0x372)];const _0x585c1c=_0x48b9ef[_0x57c2b5(0x248)][0x0][_0x57c2b5(0x399)][_0x57c2b5(0x24e)];Array['isArray'](_0x585c1c)&&_0x585c1c['length']&&_0x42943a[_0x57c2b5(0x255)](_0x585c1c,{'unitId':_0x5c7ce0,'subUnitId':_0x5c7ce0},!0x1);}};_0x1a6bea=_0x5bef3b([_0x2c1376(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x2c1376(0x1,_0x368b75[_0x2273bc(0x432)])],_0x1a6bea);var _0x2c1a5d=Object['getOwnPropertyDescriptor'],_0x4bea5b=(_0x3b1a49,_0x3f6d36,_0x3fa60b,_0x10c689)=>{const _0x1744d2=_0x2273bc;for(var _0x4d3048=_0x10c689>0x1?void 0x0:_0x10c689?_0x2c1a5d(_0x3f6d36,_0x3fa60b):_0x3f6d36,_0x4354a3=_0x3b1a49[_0x1744d2(0x1cb)]-0x1,_0x3c38f1;_0x4354a3>=0x0;_0x4354a3--)(_0x3c38f1=_0x3b1a49[_0x4354a3])&&(_0x4d3048=_0x3c38f1(_0x4d3048)||_0x4d3048);return _0x4d3048;},_0xfec4a4=(_0x2b79f9,_0x58454b)=>(_0x580eec,_0x2d0ce1)=>_0x58454b(_0x580eec,_0x2d0ce1,_0x2b79f9);let _0x3bf269=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x48ad9c,_0x2fb01e,_0x27dc27,_0x669534,_0x38594d,_0x507b97,_0x375395,_0x5173e2){const _0x2788cd=_0x2273bc;super(),_0x394afd(this,'_status$',new _0x481401[(_0x2788cd(0x2e4))](_0xfdd47c[_0x2788cd(0x336)]['NOT_COLLAB'])),(this[_0x2788cd(0x2d9)]=_0x48ad9c,this[_0x2788cd(0x305)]=_0x2fb01e,this[_0x2788cd(0x258)]=_0x27dc27,this[_0x2788cd(0x322)]=_0x669534,this[_0x2788cd(0x235)]=_0x38594d,this[_0x2788cd(0x2c2)]=_0x507b97,this[_0x2788cd(0x1d7)]=_0x375395,this[_0x2788cd(0x3e9)]=_0x5173e2,this[_0x2788cd(0x2e1)]());}[_0x2273bc(0x2e1)](){const _0x38e3e7=_0x2273bc;this[_0x38e3e7(0x36f)](this[_0x38e3e7(0x305)][_0x38e3e7(0x2f5)][_0x38e3e7(0x2b7)](_0xf26b9d=>{const _0x5d351a=_0x38e3e7,_0x402aa5=this[_0x5d351a(0x2d9)][_0x5d351a(0x2c6)][_0x5d351a(0x2b7)](_0x298d3c=>{const _0x4d5344=_0x5d351a;if(_0x298d3c==null)return;const {unitId:_0x31ec13,redoState:_0x315108,commandId:_0x4e291d}=_0x298d3c;if(_0x31ec13!==_0xf26b9d[_0x4d5344(0x2cb)])return;const _0x13d97e={'id':_0x4e291d,'type':_0x45454d[_0x4d5344(0x376)][_0x4d5344(0x375)],'params':{'unitId':_0x31ec13,'actions':_0x315108[_0x4d5344(0x33e)],'textRanges':null}};_0xf26b9d[_0x4d5344(0x1b0)](_0x13d97e);});if(_0xf26b9d['disposeWithMe'](_0x402aa5),_0xf26b9d instanceof _0xfdd47c[_0x5d351a(0x3e4)]){const _0x3b1dbe={'onTransformIME':_0x2290bd=>this[_0x5d351a(0x258)][_0x5d351a(0x316)](_0x2290bd),'onTransformState':_0x489d2e=>this[_0x5d351a(0x322)][_0x5d351a(0x217)](_0x489d2e),'onTransformSelections':_0x29eb43=>this[_0x5d351a(0x235)]['transformSelections'](_0x29eb43),'onSyncEditingCollabCursor':_0x2f1d11=>this[_0x5d351a(0x2c2)]['syncEditingCollabCursor'](_0x2f1d11),'onTransformRemoteChangesetByIMECache':_0x20f154=>this['_docTransformIMECacheService'][_0x5d351a(0x2fc)](_0x20f154),'onTransformRemoteChangesetByStateCache':_0x37e197=>this[_0x5d351a(0x322)][_0x5d351a(0x2fc)](_0x37e197)};_0xf26b9d[_0x5d351a(0x1c5)](_0x3b1dbe);}}));}};_0x3bf269=_0x4bea5b([_0xfec4a4(0x0,_0x45454d['Inject'](_0x1b66a1['DocStateChangeManagerService'])),_0xfec4a4(0x1,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x391)])),_0xfec4a4(0x2,_0x45454d[_0x2273bc(0x37f)](_0x54f8ab)),_0xfec4a4(0x3,_0x45454d[_0x2273bc(0x37f)](_0x5bc7a6)),_0xfec4a4(0x4,_0x45454d[_0x2273bc(0x37f)](_0x1a6bea)),_0xfec4a4(0x5,_0x45454d['Inject'](_0x43f1e3)),_0xfec4a4(0x6,_0x933c1a[_0x2273bc(0x1ff)]),_0xfec4a4(0x7,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x1ba)]))],_0x3bf269);var _0x8be958=Object[_0x2273bc(0x43a)],_0x365e70=(_0xd62fb8,_0xd85428,_0x4bd220,_0x36f1eb)=>{const _0x2f6c2c=_0x2273bc;for(var _0x58fbd6=_0x36f1eb>0x1?void 0x0:_0x36f1eb?_0x8be958(_0xd85428,_0x4bd220):_0xd85428,_0x3341a2=_0xd62fb8[_0x2f6c2c(0x1cb)]-0x1,_0x2d170d;_0x3341a2>=0x0;_0x3341a2--)(_0x2d170d=_0xd62fb8[_0x3341a2])&&(_0x58fbd6=_0x2d170d(_0x58fbd6)||_0x58fbd6);return _0x58fbd6;},_0x5d978f=(_0x1f4084,_0x4664a6)=>(_0xe37140,_0x1e9889)=>_0x4664a6(_0xe37140,_0x1e9889,_0x1f4084);let _0x2bc1fb=class extends _0x45454d['Disposable']{constructor(_0x2daa27,_0x1fd503,_0x40cd14){const _0x5c836f=_0x2273bc;super(),_0x394afd(this,_0x5c836f(0x428),new Map()),_0x394afd(this,_0x5c836f(0x226),new Map()),_0x394afd(this,_0x5c836f(0x20f),!0x1),(this[_0x5c836f(0x289)]=_0x2daa27,this['_localStorageService']=_0x1fd503,this['_revisionService']=_0x40cd14);}[_0x2273bc(0x302)](){const _0x41f50e=_0x2273bc;this[_0x41f50e(0x20f)]=!0x0;}['enableLocalCache'](){const _0x1883f1=_0x2273bc;this[_0x1883f1(0x20f)]=!0x1;}get['saveTaskMap'](){const _0x1b4b0b=_0x2273bc;return this[_0x1b4b0b(0x226)];}['dispose'](){const _0x148ab5=_0x2273bc;this['exhaustSavingTask']()['then'](()=>super[_0x148ab5(0x3b5)]());}async[_0x2273bc(0x1b8)](_0x1203fb){const _0x4fb99b=_0x2273bc;return this[_0x4fb99b(0x20f)]?null:this[_0x4fb99b(0x34e)][_0x4fb99b(0x1a7)](_0xfdd47c[_0x4fb99b(0x3ac)](_0x1203fb));}async[_0x2273bc(0x3a0)](_0x5a60a1,_0x372a24){const _0x4e8d0d=_0x2273bc;return!!this[_0x4e8d0d(0x34e)][_0x4e8d0d(0x251)](_0x5a60a1,_0x372a24);}['updateOfflineData'](_0x49bfe1,_0x2a2de6,_0x202512,_0x1c8f59){const _0x45d07d=_0x2273bc,_0x91ad76=this[_0x45d07d(0x3fe)][_0x45d07d(0x2d8)](_0x49bfe1);this['_cachedData']['set'](_0x49bfe1,{'unitID':_0x49bfe1,'type':_0x2a2de6,'awaitingChangeset':_0x202512,'mutations':_0x1c8f59,'rev':_0x91ad76}),this[_0x45d07d(0x226)]['has'](_0x49bfe1)||this[_0x45d07d(0x2aa)](_0x49bfe1);}[_0x2273bc(0x2aa)](_0x5702d3){const _0x3db7f1=_0x2273bc,_0x10f059=this['_getSaveTimeout']();_0x10f059===0x0?this[_0x3db7f1(0x360)](_0x5702d3):this[_0x3db7f1(0x226)][_0x3db7f1(0x2e8)](_0x5702d3,setTimeout(()=>this[_0x3db7f1(0x360)](_0x5702d3),_0x10f059));}['_getSaveTimeout'](){const _0x5890ed=_0x2273bc;var _0x48e4f0;return(_0x48e4f0=this[_0x5890ed(0x289)][_0x5890ed(0x2d0)](_0xfdd47c[_0x5890ed(0x402)]))!=null?_0x48e4f0:_0xfdd47c[_0x5890ed(0x380)];}[_0x2273bc(0x360)](_0x529c85){const _0x49396c=_0x2273bc,_0xac4e91=this[_0x49396c(0x226)]['get'](_0x529c85);return _0xac4e91!==void 0x0&&window[_0x49396c(0x3de)](_0xac4e91),this[_0x49396c(0x34e)][_0x49396c(0x251)](_0xfdd47c[_0x49396c(0x3ac)](_0x529c85),this[_0x49396c(0x428)][_0x49396c(0x1ef)](_0x529c85))[_0x49396c(0x2d5)](()=>this[_0x49396c(0x226)]['delete'](_0x529c85));}async['exhaustSavingTask'](){const _0x24c5fa=_0x2273bc,_0x3671a4=[];this[_0x24c5fa(0x226)][_0x24c5fa(0x213)]((_0x3bda65,_0x2e756b)=>{const _0x2653bf=_0x24c5fa;window[_0x2653bf(0x3de)](_0x3bda65),_0x3671a4[_0x2653bf(0x273)](this['_saveCache'](_0x2e756b)[_0x2653bf(0x2d5)](()=>{const _0x475e7c=_0x2653bf;this[_0x475e7c(0x226)]['delete'](_0x2e756b);}));}),await Promise[_0x24c5fa(0x1d0)](_0x3671a4);}};_0x2bc1fb=_0x365e70([_0x5d978f(0x0,_0x45454d['IConfigService']),_0x5d978f(0x1,_0x45454d['ILocalStorageService']),_0x5d978f(0x2,_0x45454d[_0x2273bc(0x37f)](_0x368b75[_0x2273bc(0x1c4)]))],_0x2bc1fb);class _0x2cdbea extends _0x45454d[_0x2273bc(0x42d)]{constructor(){const _0xde6741=_0x2273bc;super(),_0x394afd(this,_0xde6741(0x1d5)),this[_0xde6741(0x1d5)]=_0x481401[_0xde6741(0x224)](window,_0xde6741(0x1f0))['pipe'](_0x481401[_0xde6741(0x2f3)](this[_0xde6741(0x1ad)]),_0x481401[_0xde6741(0x2ed)](0x1),_0x481401[_0xde6741(0x3d8)](void 0x0));}['setParam'](_0x6b0421,_0x3eeba8,_0x5322d3=!0x1){const _0x2164a0=_0x2273bc,_0x5bd3fa=new URL(window[_0x2164a0(0x269)][_0x2164a0(0x3cd)]);_0x5bd3fa[_0x2164a0(0x31c)][_0x2164a0(0x2e8)](_0x6b0421,_0x3eeba8),_0x5322d3?window[_0x2164a0(0x418)]['replaceState']('','',_0x5bd3fa[_0x2164a0(0x439)]()):window['history']['pushState']('','',_0x5bd3fa[_0x2164a0(0x439)]());}[_0x2273bc(0x209)](_0x51ae49,_0x2035b9=!0x1){const _0x2682ff=_0x2273bc,_0x10715b=new URL(window[_0x2682ff(0x269)]['href']);_0x10715b[_0x2682ff(0x31c)][_0x2682ff(0x43c)](_0x51ae49),_0x2035b9?window['history']['replaceState']('','',_0x10715b[_0x2682ff(0x439)]()):window['history']['pushState']('','',_0x10715b['toString']());}[_0x2273bc(0x330)](_0x2973f1){const _0x20bba8=_0x2273bc;var _0x48601;return(_0x48601=new URL(window[_0x20bba8(0x269)]['href'])[_0x20bba8(0x31c)][_0x20bba8(0x1ef)](_0x2973f1))!=null?_0x48601:void 0x0;}}var _0x3f707d=Object[_0x2273bc(0x2ee)],_0x219225=Object[_0x2273bc(0x43a)],_0x3fb5a9=(_0x46ea45,_0x41b5d4,_0x591fbb)=>_0x41b5d4 in _0x46ea45?_0x3f707d(_0x46ea45,_0x41b5d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x591fbb}):_0x46ea45[_0x41b5d4]=_0x591fbb,_0x227552=(_0x23ab93,_0x3001a8,_0x57713a,_0x3e3712)=>{const _0x8720df=_0x2273bc;for(var _0x716dd0=_0x3e3712>0x1?void 0x0:_0x3e3712?_0x219225(_0x3001a8,_0x57713a):_0x3001a8,_0xb4060c=_0x23ab93[_0x8720df(0x1cb)]-0x1,_0x17d53b;_0xb4060c>=0x0;_0xb4060c--)(_0x17d53b=_0x23ab93[_0xb4060c])&&(_0x716dd0=_0x17d53b(_0x716dd0)||_0x716dd0);return _0x716dd0;},_0x464ea7=(_0x531f2a,_0x39cc6f)=>(_0x364aec,_0x11a5fc)=>_0x39cc6f(_0x364aec,_0x11a5fc,_0x531f2a),_0x175cee=(_0x52383e,_0x3d39c7,_0x2f57d8)=>_0x3fb5a9(_0x52383e,_0x3d39c7+'',_0x2f57d8);const _0x15639c='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2f60c5[_0x2273bc(0x1bd)]=class extends _0x45454d['Plugin']{constructor(_0x2e7460=_0x217a89,_0x2fd60a,_0x5408c5,_0x47cc27){const _0x551a13=_0x2273bc;super(),this[_0x551a13(0x223)]=_0x2e7460,this['_renderManagerService']=_0x2fd60a,this[_0x551a13(0x3ca)]=_0x5408c5,this['_configService']=_0x47cc27;const {..._0xd03fc8}=_0x45454d[_0x551a13(0x340)]({},_0x217a89,this['_config']);this[_0x551a13(0x289)]['setConfig'](_0x523261,_0xd03fc8);}[_0x2273bc(0x1a8)](){const _0x4a6833=_0x2273bc;this[_0x4a6833(0x1dc)](),this[_0x4a6833(0x1b6)]();}['onRendered'](){const _0x406f89=_0x2273bc;this[_0x406f89(0x26e)]();}[_0x2273bc(0x1dc)](){const _0xcdbf1e=_0x2273bc;var _0x59f265;const _0xe77379=[[_0x308b95],[_0x1a6bea],[_0x54f8ab],[_0x5bc7a6],[_0x43f1e3],[_0x3f856f,{'useClass':_0x2cdbea}],[_0x4cb81d[_0xcdbf1e(0x228)],{'useClass':_0x4cb81d[_0xcdbf1e(0x377)]}],[_0xfdd47c[_0xcdbf1e(0x415)],{'useClass':_0x2bc1fb}],[_0x2f60c5[_0xcdbf1e(0x3f7)]],[_0x3bf269],[_0x32a402],[_0x344c8e],[_0x4604dc],[_0x2f60c5[_0xcdbf1e(0x3ed)]]];_0x45454d[_0xcdbf1e(0x1db)](this[_0xcdbf1e(0x3ca)],_0x45454d[_0xcdbf1e(0x2a2)](_0xe77379,(_0x59f265=this[_0xcdbf1e(0x223)])==null?void 0x0:_0x59f265[_0xcdbf1e(0x34d)]));}[_0x2273bc(0x26e)](){const _0x31fe94=_0x2273bc;this['disposeWithMe'](this[_0x31fe94(0x3da)][_0x31fe94(0x2f7)](_0x45454d['UniverInstanceType'][_0x31fe94(0x27c)],[_0xd126a4])),this[_0x31fe94(0x36f)](this[_0x31fe94(0x3da)][_0x31fe94(0x2f7)](_0x45454d[_0x31fe94(0x307)][_0x31fe94(0x41e)],[_0x4549a0]));}[_0x2273bc(0x1b6)](){const _0x4de3f1=_0x2273bc;_0x45454d['touchDependencies'](this['_injector'],[[_0x344c8e],[_0x2f60c5[_0x4de3f1(0x3f7)]],[_0x3bf269],[_0x32a402],[_0x2f60c5['CollaborationDataLoaderController']]]);}},_0x175cee(_0x2f60c5['UniverCollaborationClientUIPlugin'],_0x2273bc(0x1fd),_0x15639c),_0x2f60c5[_0x2273bc(0x1bd)]=_0x227552([_0x45454d[_0x2273bc(0x3d1)](_0xfdd47c[_0x2273bc(0x39b)]),_0x464ea7(0x1,_0x17a4de[_0x2273bc(0x19d)]),_0x464ea7(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x464ea7(0x3,_0x45454d[_0x2273bc(0x3b8)])],_0x2f60c5[_0x2273bc(0x1bd)]);var _0x594e5f=Object[_0x2273bc(0x43a)],_0x2f0b52=(_0x4f692b,_0x2227c9,_0x10c5ec,_0x3fd949)=>{const _0x52bd42=_0x2273bc;for(var _0x487886=_0x3fd949>0x1?void 0x0:_0x3fd949?_0x594e5f(_0x2227c9,_0x10c5ec):_0x2227c9,_0x1145bd=_0x4f692b[_0x52bd42(0x1cb)]-0x1,_0x4b7bb6;_0x1145bd>=0x0;_0x1145bd--)(_0x4b7bb6=_0x4f692b[_0x1145bd])&&(_0x487886=_0x4b7bb6(_0x487886)||_0x487886);return _0x487886;},_0x2506ac=(_0x55235d,_0x45f405)=>(_0x3ff8d4,_0x1df549)=>_0x45f405(_0x3ff8d4,_0x1df549,_0x55235d);_0x2f60c5[_0x2273bc(0x3ef)]=class extends _0xfdd47c[_0x2273bc(0x1b7)]{constructor(_0xa6ed53,_0x306bde,_0x1f3d3c,_0x368125,_0x41845c){super(_0xa6ed53,_0x306bde,_0x1f3d3c,_0x368125,_0x41845c);}async['createSocket'](_0x24d5ce){const _0x4cd7b2=_0x2273bc,_0x5da434=await this['_getSessionTicket'](),_0xa96eea=this['_createSocketURL'](_0x24d5ce,_0x5da434);return this[_0x4cd7b2(0x1ab)](_0xa96eea);}[_0x2273bc(0x3bf)](_0x5564af,_0x40cdf8){const _0xa07490=_0x2273bc,_0x18abef=typeof window>'u'?new URL(_0x5564af):new URL(_0x5564af,window['location'][_0xa07490(0x3d5)]);_0x18abef[_0xa07490(0x31c)][_0xa07490(0x2e8)](_0xa07490(0x227),_0x40cdf8);const _0x3af352=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xa07490(0x230)]);return _0x3af352[_0xa07490(0x1ef)](_0xa07490(0x1b9))&&_0x18abef[_0xa07490(0x31c)][_0xa07490(0x2e8)]('runId',_0x3af352[_0xa07490(0x1ef)](_0xa07490(0x1b9))),_0x18abef[_0xa07490(0x439)]();}async[_0x2273bc(0x30d)](){const _0x5c3882=_0x2273bc;var _0x26b579,_0x471785,_0x1014ac;const _0x1d62c5=this['_configService']['getConfig'](_0xfdd47c[_0x5c3882(0x1e8)]),_0x4a0ec0=(_0x26b579=_0x1d62c5==null?void 0x0:_0x1d62c5[_0x5c3882(0x1e4)])!=null?_0x26b579:_0xfdd47c[_0x5c3882(0x312)];return(_0x1014ac=(_0x471785=(await this['_httpService'][_0x5c3882(0x1ef)](_0x4a0ec0,{'headers':{'Content-Type':_0x5c3882(0x410)}}))['body'])==null?void 0x0:_0x471785[_0x5c3882(0x2eb)])!=null?_0x1014ac:'';}},_0x2f60c5[_0x2273bc(0x3ef)]=_0x2f0b52([_0x2506ac(0x0,_0x45454d['Inject'](_0x45454d[_0x2273bc(0x3b2)])),_0x2506ac(0x1,_0x45454d[_0x2273bc(0x37f)](_0x4cb81d[_0x2273bc(0x232)])),_0x2506ac(0x2,_0x45454d['IConfigService']),_0x2506ac(0x3,_0x45454d[_0x2273bc(0x254)]),_0x2506ac(0x4,_0x368b75[_0x2273bc(0x298)])],_0x2f60c5[_0x2273bc(0x3ef)]);const _0x268e66=0x7530,_0x40b229='ACTIVE_UNIT_EVENT_CHANNEL';class _0x34ffca extends _0x45454d['Disposable']{constructor(){const _0x467d20=_0x2273bc;super(),_0x394afd(this,_0x467d20(0x2fd),_0x45454d[_0x467d20(0x3b0)]()),_0x394afd(this,_0x467d20(0x3a4),new Set()),_0x394afd(this,_0x467d20(0x274),new Map()),_0x394afd(this,_0x467d20(0x3cc),null),_0x394afd(this,_0x467d20(0x335),new Map()),_0x394afd(this,_0x467d20(0x2e9),new Map()),this[_0x467d20(0x27f)]();}['dispose'](){const _0x2d2fba=_0x2273bc;super['dispose'](),this[_0x2d2fba(0x335)][_0x2d2fba(0x213)]((_0x214cb1,_0x4ec6a)=>this['_removeClearOtherTimer'](_0x4ec6a)),this['_heartbeatTimer']&&window[_0x2d2fba(0x1d4)](this[_0x2d2fba(0x3cc)]);}[_0x2273bc(0x218)](_0x1f4609){const _0x7a40be=_0x2273bc;return this['_ensureSubject'](_0x1f4609)['pipe'](_0x481401[_0x7a40be(0x1c8)]());}['editingUnit'](_0x1629ae){const _0x4ec8bf=_0x2273bc;this['_selfUnitIDs']['size']===0x0&&this[_0x4ec8bf(0x245)](),this[_0x4ec8bf(0x3a4)]['add'](_0x1629ae),this[_0x4ec8bf(0x261)]({'type':0x0,'memberID':this[_0x4ec8bf(0x2fd)],'unitIDs':[_0x1629ae],'isForwarded':!0x1});}[_0x2273bc(0x290)](_0x57b2da){const _0x33c54f=_0x2273bc;this[_0x33c54f(0x3a4)]['delete'](_0x57b2da),this['_selfUnitIDs'][_0x33c54f(0x379)]===0x0&&this[_0x33c54f(0x3cc)]&&window[_0x33c54f(0x1d4)](this[_0x33c54f(0x3cc)]);}['_init'](){const _0x2752e7=_0x2273bc;this[_0x2752e7(0x36f)](_0x45454d['toDisposable'](_0x481401[_0x2752e7(0x224)](window,_0x2752e7(0x2b1))['subscribe'](_0x10405c=>{const _0x2be4c5=_0x2752e7;if(_0x10405c[_0x2be4c5(0x30e)]!==_0x40b229||!_0x10405c[_0x2be4c5(0x306)])return;const _0xb322f6=JSON['parse'](_0x10405c[_0x2be4c5(0x306)]);this[_0x2be4c5(0x260)](_0xb322f6);}))),window[_0x2752e7(0x20b)](_0x2752e7(0x331),()=>this[_0x2752e7(0x261)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2752e7(0x320)](this[_0x2752e7(0x3a4)])}));}[_0x2273bc(0x260)](_0x56c446){const _0x5248b5=_0x2273bc;switch(_0x56c446[_0x5248b5(0x28e)]){case 0x0:this['_handleJoinEvent'](_0x56c446);break;case 0x1:this[_0x5248b5(0x42b)](_0x56c446);break;case 0x2:this[_0x5248b5(0x282)](_0x56c446);break;}}['_handleJoinEvent'](_0x41bc1c){const _0x536cdf=_0x2273bc,{unitIDs:_0x2fd064,memberID:_0x29c627,isForwarded:_0x451d55}=_0x41bc1c;_0x2fd064[_0x536cdf(0x213)](_0x583d47=>{const _0x429fa5=_0x536cdf;if(!_0x451d55&&this[_0x429fa5(0x274)][_0x429fa5(0x385)](_0x583d47)&&this[_0x429fa5(0x407)](_0x583d47)['next'](_0xfdd47c[_0x429fa5(0x3bb)][_0x429fa5(0x424)]),!this[_0x429fa5(0x274)]['has'](_0x583d47)||!this['_unitOnClients']['get'](_0x583d47)[_0x429fa5(0x385)](_0x29c627)){const _0x338088=this[_0x429fa5(0x274)][_0x429fa5(0x1ef)](_0x583d47)||new Set();_0x338088[_0x429fa5(0x1ee)](_0x29c627),this[_0x429fa5(0x274)][_0x429fa5(0x2e8)](_0x583d47,_0x338088),this[_0x429fa5(0x41b)](_0x29c627);}}),_0x451d55||this[_0x536cdf(0x261)]({'type':0x0,'memberID':this[_0x536cdf(0x2fd)],'unitIDs':[...this[_0x536cdf(0x3a4)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x316419){const _0x21bd66=_0x2273bc;this[_0x21bd66(0x3eb)](_0x316419);const _0x650ed=window[_0x21bd66(0x26d)](()=>{const _0x1de0ee=_0x21bd66;this[_0x1de0ee(0x274)][_0x1de0ee(0x213)](_0x71ac3e=>{const _0x1d9989=_0x1de0ee;_0x71ac3e[_0x1d9989(0x43c)](_0x316419);});},_0x268e66*0x2);this[_0x21bd66(0x335)][_0x21bd66(0x2e8)](_0x316419,_0x650ed);}[_0x2273bc(0x3eb)](_0x5d9f2a){const _0x176f25=_0x2273bc;if(this['_clearOtherTimers']['has'](_0x5d9f2a)){const _0x591185=this['_clearOtherTimers'][_0x176f25(0x1ef)](_0x5d9f2a);_0x591185&&window[_0x176f25(0x3de)](_0x591185),this[_0x176f25(0x335)][_0x176f25(0x2e8)](_0x5d9f2a,null);}}['_handleLeaveEvent'](_0x5f1944){const _0x37bc60=_0x2273bc,{memberID:_0x1ca5cc,unitIDs:_0x21f580}=_0x5f1944;_0x21f580[_0x37bc60(0x213)](_0x4451f6=>{const _0x2bb4f6=_0x37bc60;var _0x2ae748;const _0x1e934c=this[_0x2bb4f6(0x274)][_0x2bb4f6(0x1ef)](_0x4451f6);_0x1e934c&&(_0x1e934c[_0x2bb4f6(0x43c)](_0x1ca5cc),(_0x2ae748=this[_0x2bb4f6(0x407)](_0x4451f6))==null||_0x2ae748['next'](_0x1e934c['size']===0x0?_0xfdd47c[_0x2bb4f6(0x3bb)]['NO_OTHER_CLIENTS_EDITING']:_0xfdd47c[_0x2bb4f6(0x3bb)][_0x2bb4f6(0x424)]));}),this[_0x37bc60(0x3eb)](_0x1ca5cc);}[_0x2273bc(0x282)](_0x36a518){const _0x1800ec=_0x2273bc;this['_scheduleClearOtherTimer'](_0x36a518[_0x1800ec(0x2ff)]);}[_0x2273bc(0x261)](_0x377a2b){const _0x20df45=_0x2273bc;localStorage[_0x20df45(0x251)](_0x40b229,JSON[_0x20df45(0x3b3)](_0x377a2b));}['_scheduleHeartbeat'](){const _0x2bea1e=_0x2273bc;this[_0x2bea1e(0x3cc)]=window['setInterval'](()=>{const _0x4f6632=_0x2bea1e;this[_0x4f6632(0x261)]({'type':0x2,'memberID':this[_0x4f6632(0x2fd)]});},_0x268e66);}[_0x2273bc(0x407)](_0xe1086e){const _0x4ede41=_0x2273bc;return this[_0x4ede41(0x2e9)][_0x4ede41(0x385)](_0xe1086e)||this[_0x4ede41(0x2e9)][_0x4ede41(0x2e8)](_0xe1086e,new _0x481401[(_0x4ede41(0x2e4))](_0xfdd47c[_0x4ede41(0x3bb)][_0x4ede41(0x346)])),this[_0x4ede41(0x2e9)]['get'](_0xe1086e);}}var _0x2e13d2=(_0x53a168=>(_0x53a168[_0x53a168['UNDEFINED']=0x0]=_0x2273bc(0x211),_0x53a168[_0x53a168['OK']=0x1]='OK',_0x53a168[_0x53a168[_0x2273bc(0x2af)]=0x2]=_0x2273bc(0x2af),_0x53a168[_0x53a168[_0x2273bc(0x341)]=0x3]=_0x2273bc(0x341),_0x53a168[_0x53a168[_0x2273bc(0x3f6)]=0x4]='NOT_FOUND',_0x53a168[_0x53a168[_0x2273bc(0x29a)]=0x5]=_0x2273bc(0x29a),_0x53a168[_0x53a168[_0x2273bc(0x22a)]=0x6]=_0x2273bc(0x22a),_0x53a168[_0x53a168['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x53a168[_0x53a168[_0x2273bc(0x268)]=0x8]=_0x2273bc(0x268),_0x53a168[_0x53a168[_0x2273bc(0x1ea)]=0x9]=_0x2273bc(0x1ea),_0x53a168[_0x53a168[_0x2273bc(0x358)]=0xa]=_0x2273bc(0x358),_0x53a168[_0x53a168[_0x2273bc(0x426)]=0x1389]=_0x2273bc(0x426),_0x53a168[_0x53a168[_0x2273bc(0x203)]=0x1771]=_0x2273bc(0x203),_0x53a168[_0x53a168[_0x2273bc(0x1a1)]=0x1772]=_0x2273bc(0x1a1),_0x53a168[_0x53a168['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2273bc(0x1fb),_0x53a168[_0x53a168[_0x2273bc(0x3a6)]=0x1b59]=_0x2273bc(0x3a6),_0x53a168[_0x53a168[_0x2273bc(0x25a)]=0x1b5a]=_0x2273bc(0x25a),_0x53a168[_0x53a168[_0x2273bc(0x1f5)]=0x1b5b]=_0x2273bc(0x1f5),_0x53a168[_0x53a168['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2273bc(0x21a),_0x53a168[_0x53a168[_0x2273bc(0x21c)]=0x1b5d]=_0x2273bc(0x21c),_0x53a168[_0x53a168[_0x2273bc(0x1a4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x53a168[_0x53a168['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2273bc(0x3ff),_0x53a168[_0x53a168[_0x2273bc(0x1d2)]=0x232a]=_0x2273bc(0x1d2),_0x53a168[_0x53a168['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2273bc(0x3c1),_0x53a168[_0x53a168[_0x2273bc(0x2ac)]=0x232c]=_0x2273bc(0x2ac),_0x53a168[_0x53a168[_0x2273bc(0x21b)]=0x232d]=_0x2273bc(0x21b),_0x53a168[_0x53a168[_0x2273bc(0x3b6)]=0x2711]=_0x2273bc(0x3b6),_0x53a168[_0x53a168[_0x2273bc(0x34a)]=0x2712]=_0x2273bc(0x34a),_0x53a168[_0x53a168['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53a168[_0x53a168[_0x2273bc(0x31f)]=0x2714]=_0x2273bc(0x31f),_0x53a168[_0x53a168[_0x2273bc(0x3a5)]=0x271a]=_0x2273bc(0x3a5),_0x53a168[_0x53a168[_0x2273bc(0x3e5)]=0x271b]=_0x2273bc(0x3e5),_0x53a168[_0x53a168[_0x2273bc(0x434)]=0x271c]=_0x2273bc(0x434),_0x53a168[_0x53a168[_0x2273bc(0x3ce)]=0x271d]=_0x2273bc(0x3ce),_0x53a168[_0x53a168[_0x2273bc(0x277)]=0x271e]=_0x2273bc(0x277),_0x53a168[_0x53a168[_0x2273bc(0x374)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x53a168[_0x53a168[_0x2273bc(0x327)]=0x2af9]=_0x2273bc(0x327),_0x53a168[_0x53a168[_0x2273bc(0x3fd)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x53a168[_0x53a168[_0x2273bc(0x42e)]=0x2ee2]=_0x2273bc(0x42e),_0x53a168[_0x53a168[_0x2273bc(0x253)]=0x2ee3]=_0x2273bc(0x253),_0x53a168[_0x53a168[_0x2273bc(0x2cd)]=0x2ee4]=_0x2273bc(0x2cd),_0x53a168[_0x53a168['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x53a168[_0x53a168[_0x2273bc(0x30f)]=0x32c9]=_0x2273bc(0x30f),_0x53a168[_0x53a168[_0x2273bc(0x236)]=0x32ca]=_0x2273bc(0x236),_0x53a168[_0x53a168['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2273bc(0x384),_0x53a168[_0x53a168[_0x2273bc(0x2b9)]=-0x1]='UNRECOGNIZED',_0x53a168))(_0x2e13d2||{}),_0x3db398=Object[_0x2273bc(0x43a)],_0x5831f4=(_0x1b3ebd,_0x48e16d,_0x1f72ca,_0x28423e)=>{for(var _0x2f2902=_0x28423e>0x1?void 0x0:_0x28423e?_0x3db398(_0x48e16d,_0x1f72ca):_0x48e16d,_0x6b2ae=_0x1b3ebd['length']-0x1,_0x2b485c;_0x6b2ae>=0x0;_0x6b2ae--)(_0x2b485c=_0x1b3ebd[_0x6b2ae])&&(_0x2f2902=_0x2b485c(_0x2f2902)||_0x2f2902);return _0x2f2902;},_0x386288=(_0x712917,_0x176842)=>(_0x592fc1,_0x133874)=>_0x176842(_0x592fc1,_0x133874,_0x712917);_0x2f60c5[_0x2273bc(0x395)]=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x35e790,_0x28c305,_0xe54dd1){const _0x142e33=_0x2273bc;super(),this[_0x142e33(0x308)]=_0x35e790,this[_0x142e33(0x210)]=_0x28c305,this[_0x142e33(0x289)]=_0xe54dd1;}async[_0x2273bc(0x1f3)](_0x2255ea,_0xf20350,_0x554315,..._0x59fd4c){const _0x471f3e=_0x2273bc;var _0x49c141,_0x3a4561,_0x3fd3a8,_0x196792;const _0x4fbebb=this[_0x471f3e(0x308)][_0x471f3e(0x3d2)]();if(!_0x4fbebb)throw new Error(_0x471f3e(0x1f9));const _0x4b7617=((_0x49c141=this['_configService'][_0x471f3e(0x2d0)](_0xfdd47c[_0x471f3e(0x278)]))!=null?_0x49c141:_0xfdd47c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2255ea+_0x471f3e(0x389)+_0xf20350,_0x537023=new URL(window[_0x471f3e(0x269)][_0x471f3e(0x3cd)]),_0x43556b={'scriptId':_0x2255ea,'runId':(_0x3a4561=_0x537023['searchParams']['get'](_0x471f3e(0x1b9)))!=null?_0x3a4561:'','function':_0xf20350,'unitId':_0x4fbebb[_0x471f3e(0x318)](),'argsOfFunction':JSON[_0x471f3e(0x3b3)](_0x59fd4c),'invokeId':(_0x3fd3a8=_0x554315[_0x471f3e(0x403)])!=null?_0x3fd3a8:'','executionId':(_0x196792=_0x554315[_0x471f3e(0x29c)])!=null?_0x196792:''};try{const _0x5506d3=await this[_0x471f3e(0x210)][_0x471f3e(0x280)](_0x4b7617,{'body':_0x43556b});return _0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x372)]&&_0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x372)][_0x471f3e(0x1af)]!==_0x2e13d2['OK']?'Failed':_0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x40b)];}catch{return _0x471f3e(0x31b);}}},_0x2f60c5[_0x2273bc(0x395)]=_0x5831f4([_0x386288(0x0,_0x45454d['IUniverInstanceService']),_0x386288(0x1,_0x45454d[_0x2273bc(0x37f)](_0x4cb81d[_0x2273bc(0x232)])),_0x386288(0x2,_0x45454d[_0x2273bc(0x3b8)])],_0x2f60c5[_0x2273bc(0x395)]),_0x2f60c5[_0x2273bc(0x2e0)]=_0x3b257c,_0x2f60c5[_0x2273bc(0x2fe)]=_0x3f856f,_0x2f60c5['SheetCollabCursorShape']=_0x1ce661,_0x2f60c5[_0x2273bc(0x36c)]=_0x34ffca,_0x2f60c5['WebURLService']=_0x2cdbea,Object['defineProperty'](_0x2f60c5,Symbol['toStringTag'],{'value':_0x2273bc(0x27d)});}));function _0x2785(_0x1ee551,_0x7c5cb2){const _0x375cfc=_0x375c();return _0x2785=function(_0x2785fe,_0x1fab15){_0x2785fe=_0x2785fe-0x19a;let _0x176f19=_0x375cfc[_0x2785fe];return _0x176f19;},_0x2785(_0x1ee551,_0x7c5cb2);}function _0x375c(){const _0x1d173d=['react','UniverCore','onCommandExecuted','row','amd','@univerjs/ui','_transformUndoRedoStack','LOGIN_FAILED','Disposable','skeleton','@univerjs/docs','5479416iZgobi','text','_updateLocalCursor','COLORS','_saveCache','_collaborationUIEventService','Optional','_roomMembers$','whenReady','_name','...','fillStyle','lineTo','29GTlrQh','rgba(255,\x20255,\x20255,\x200.01)','_online','WebBrowserSingleActiveUnitService','createIdentifier','red.300','disposeWithMe','_setupSubUnitSync','className','error','getStateCache','YUUMI_AI_RUN_FAILED','MUTATION','CommandType','WebSocketService','handleInsertRangeMoveRight','size','useDependency','_eventUnsubscribe','_cursorInfo$','svg','addClipboardHook','Inject','LOCAL_CACHE_INTERVAL','getOffsetConfig','_refRangeService','_univerInstanceService','EMAIL_HAS_BEEN_BOUND','has','handleInsertRow','isArray','ThemeService','/run/','collaboration-client.offline-data-not-saved','_anchor','_imageIoService','_collabSessionService','getTypeOfUnitAdded$','exports','_assignedColors','CollaborationController','_collabCursorState$','blue.400','PENDING','RemoteUniscriptService','use','idSuffix','SetSelectionsOperation','params','getRangePointData','UniverCollaborationClientPlugin','getMergeData','getCollabEntity$','RichTextEditingMutation','asObservable','saveOfflineData','0\x200\x2016\x2016','unit','unshift','_selfUnitIDs','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_REJECT','getMember','getUndoRedoMutationParamsCache','OFFLINE','addObjects','rxjs','getLocalCacheKey','Tooltip','body','@univerjs/design','generateRandomId','_hovered','Injector','stringify','getCurrentSelections','dispose','YUUMI_UNABLE_LOAD_URL','_context','IConfigService','split','IDocClipboardService','UnitStatus','getUniverSheetInstance','min','data','_createSocketURL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_IMPORT_SIZE_EXCEEDED','translate(.97)','onPointerMove$','subUnitId','UniverIcon','registerBeforeClose','_startSheetCollabCursor','range','measureText','_injector','useRef','_heartbeatTimer','href','YUUMI_ALL_TABLES_IS_INVALID','roomMembers','ICommandService','DependentOn','getFocusedUnit','fromEventSubject','children','origin','undoState','endRow','mapTo','EffectRefRangId','_renderManagerService','init','currentColor','show','clearTimeout','sheetID','setStateCache','getCoordByCell','TEXT','_updateURLWithCurrentState','DocCollaborationEntity','YUUMI_ASYNCIO_CANCELLED','runRefRangeMutations','collabCursorState$','current','_localeService','includes','_removeClearOtherTimer','handleDeleteRangeMoveUp','CollaborationDataLoaderController','imageSourceType','BrowserCollaborationSocketService','jsxs','_range','round','_colorIndex','useCallback','getValue','NOT_FOUND','DesktopCollaborationStatusDisplayController','_memberService','SetTextSelectionsOperation','SYNCED','ColorKit','_uiPartsService','INVITE_CODE_HAS_BEEN_UES','_revisionService','LICENSE_MAX_UNITS_EXCEEDED','Tools','send','LOCAL_CACHE_INTERVAL_KEY','invokeId','isActive','_collabCursorController','collab-text-anchor-','_ensureSubject','175yhaHPB','MessageType','font','result','saveImage','UniverSheets','_color','collaboration.closeRoom','application/json','_entityInit$','onPointerEnter$','collab-client.tooltip.reconnect','CollaborationUIEventId','ILocalCacheService','defIds','complete','history','registerRefRange','DocSelectionManagerService','_scheduleClearOtherTimer','ranges','_removeCollabCursors','UNIVER_SHEET','@univerjs/network','getTypeOfUnitDisposed$','_onCursorUpdate','_getSheetObject','getSheetObject','OTHER_CLIENTS_EDITING','ONLINE','CHANGESET_REVISION_CONFILICT','getViewport','_cachedData','getCurrentUnitForType','UniverDocsUi','_handleLeaveEvent','DataLoaderService','RxDisposable','INVALID_INVITE_CODE','startsWith','DocIMEInputManagerService','_toggleOnline','ITransformService','collabStatus.syncing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/core','3814869Gipcln','path','Subject','toString','getOwnPropertyDescriptor','CollaborationEvent','delete','unsubscribe','HEADER_MENU','UniverProCollaboration','IRenderManagerService','uni.network.url-service','currentTheme$','CollaborationSessionService','SNAPSHOT_HAS_BEEN_REMOVED','_logService','on-line-icon','CONNECTOR_DATA_TOO_LARGE','getCurrent','InsertRangeMoveDownCommandId','getItem','onStarting','_refreshCollabCursors','UniverEngineFormula','_doCreateSocket','UniverSheetsUi','dispose$','_hover','code','onLocalMutation','IUniverInstanceService','startColumn','evenodd','eventID','UniverProCollaborationClientUi','_initDependencies','CollaborationSocketService','loadOfflineData','runId','LocaleService','roomMembers$','RegularPolygon','UniverCollaborationClientUIPlugin','getSheetId','black','toDisposable','_commandService','_toggleOffline','deepClone','RevisionService','addHandlerCallback','subscribeEvent','handleIRemoveRow','distinctUntilChanged','_updateCollabCursors','selections','length','on-line-icon_clip0_910_349','findNodePositionByCharIndex','hide','propertyIsEnumerable','all','displayName','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UniverProCollaborationClient','clearInterval','urlChange$','[CollaborationDataLoaderController]','_messageService','#FFF','JOIN_ROOM_FAILED','_backgroundColor','registerDependencies','_registerDependencies','url(#off-line-icon_clip0_910_343)','random','throttleTime','Workbook','RemoveColCommandId','UniverDrawing','http://www.w3.org/2000/svg','wsSessionTicketUrl','jiqing.500','getSkeleton','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getCellPositionByOffset','COMPLETION_FINISHED','some','_initCommandExecutedListener','requireSession','add','get','popstate','rxjs/operators','loadUnit','runOnServer','bottom','APPLY_REVISION_CONFILICT','MoveRangeCommandId','clsx','AWAITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_scene','ENSURE_SNAPSHOT_EXECUTION','SetDocZoomRatioOperation','pluginName','fillText','IMessageService','@univerjs/engine-render','function','Unknown\x20user','SNAPSHOT_INVALID_SNAPSHOT','_themeService','clipPath','getAncestorScale','RemoveRowCommandId','react/jsx-runtime','removeParam','column','addEventListener','toRgbString','selection','cursorInfo$','_disabled','_httpService','UNDEFINED','green.600','forEach','M0\x200H16V16H0z','FromArray','BuiltInUIPart','transformStateCache','getUnitStatus$','debug','APPLY_PERMISSION_DENIED','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','collab-rect-range-','colorChannel1','getDocRanges','trim','setParam','endColumn','_config','fromEvent','_cursors','_saveTaskMap','sessionTicket','ISocketService','off-line-icon','ALREADY_EXISTS','_urlService','getOwnPropertySymbols','fillRule','with','InsertRowCommandId','search','512072IXgPQI','HTTPService','permission.content','replace','_docTransformSelectionsService','MOBILE_HAS_BEEN_BOUND','_colorAssignService','executeCommand','_lastPointer','_onCursorDelete','transformByState','Warning','2236810lvDACR','transform','startRow','call','event$','collabStatus.synced','INotificationService','IUIPartsService','_scheduleHeartbeat','_textBubble','assignAColorForMemberID','m2Prime','getCollabCursors$','save','getColorFromTheme','setShapeProps','onMouseMove','textRanges','IBeforeCloseService','createInstance','setItem','assign','INVITE_CODE_REQUIRED','ILogService','replaceDocRanges','Rect','_localCacheService','_docTransformIMECacheService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','_getScale','sessionStatus$','@univerjs/sheets-ui','_drawRectRange','redoState','_handleEvent','_send','pipe','sheetId','reconnect','AWAITING_WITH_PENDING','url(#on-line-icon_clip0_910_349)','prototype','TOO_MANY_REQUESTS','location','_initResize','yellow.400','handleMoveRange','setTimeout','_registerRenderDependencies','collab-text-range-','getRenderById','univer-flex\x20univer-items-center','SheetSkeletonManagerService','push','_unitOnClients','switchMap','collabStatus.conflict','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','indexOf','_anchorDot','icon','UNIVER_DOC','Module','off-line-icon_clip0_910_343','_init','post','mask','_handleHeartbeatEvent','m1Prime','_initStatusListener','Rectangle','attrs','DOC_RANGE_TYPE','_drawTextRange','_configService','extend','@univerjs/rpc','_entities','@univerjs-pro/collaboration','type','handleDeleteRangeMoveLeft','disposeUnit','OTHER_CLIENT_EDITING','_status$','_sheetSkeletonManagerService','MemberService','CLOSE_ROOM','hasOwnProperty','fill','ISnapshotServerService','makeDirty','UNAUTHENTICATED','_drawAnchor','executionId','debounce','SUBMIT_CHANGESET_TIMEOUT','max','white','isTransformMutationsWithChangesetSuccess','mergeOverrideWithDependencies','collabStatus.notCollab','SetWorksheetActivateCommand','restore','xlink:href','createElement','height','NodePositionConvertToRectRange','_scheduleSaving','triggerDblclick','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_COLLAB','OffLineIcon','INTERNAL_ERROR','getActiveRange','storage','defs','_initStatusComponent','_docClipboardService','doc.mutation.rich-text-editing','collabStatus.fetchMiss','subscribe','UniverEngineRender','UNRECOGNIZED','Vector2','permission.title','url(#$1','transformSelections','resize','handleIRemoveCol','DeleteRangeMoveUpCommandId','CONFLICT','_docSyncEditingCollabCursorService','addObject','handleInsertCol','object','docStateChange$','TEXT_RANGE_LAYER_INDEX','name','170742zuDZNY','getSheetBySheetId','unitID','transformMutation','USER_NOT_INVITED_CODE','drawWith','jsx','getConfig','none','univerjs-icon\x20univerjs-icon-','subunit','mutations','then','DocStateChangeManagerService','NodePositionConvertToCursor','getCurrentRevOfUnit','_docStateChangeManagerService','UniverDesign','values','_getMergeRange','collaboration-client-ui.config','_hideTimer','color','CollaborationStatusDisplay','_initEntityListener','@univerjs/engine-formula','entries','BehaviorSubject','collaboration.single-unit.warning','currentSkeleton$','@univerjs-pro/collaboration-client','set','_unitStatus','getMemberID','ticket','focused$','shareReplay','defineProperty','map','getRelativeToViewportCoord','getActiveSheet','source','takeUntil','tag','entityInit$','_shapes','registerRenderModule','setUndoRedoMutationParamsCache','cursorInfo','setAlpha','width','transformRemoteChangeset','_id','IURLService','memberID','_render','UniverDocs','disableLocalCache','moveTo','_startDocCollabCursor','_collaborationController','newValue','UniverInstanceType','_instanceService','_dataLoaderService','_transformHistoryAndStateStack','2282908MHSwJL','transformMutationsWithChangeset','_getSessionTicket','key','WECHAT_HAS_BEEN_BOUND','arc','concat','DEFAULT_WS_SESSION_TICKET_URL','10554jHOVco','_transformPreviousActiveRange','_onRefRangeChange','transformIMECache','RECT','getUnitId','deserializeRangeWithSheet','top','Failed','searchParams','syncEditingCollabCursor','isTransformMutationFailure','YUUMI_SUBSCRIPTION_NOT_FOUND','from','_handleHover','_docTransformStateCacheService','FETCH_MISS','_docSkeletonManagerService','Shape','string','PY_RUNTIME_SCRIPT_ERROR','getColor','Error','React','univer-flex\x20univer-mr-2\x20univer-text-xl','UniverUi','session.connection-failed','session.collaboration-timeout','_labelPosition','getParam','unload','SessionStatus','_transformService','filter','_clearOtherTimers','CollaborationStatus','_beforeCloseService','unitId','_docSkeleton','session.will-retry','_session','next','hovered','actions','_draw','merge','PERMISSION_DENIED','_cursorShapes','USERS_LEAVE','InsertColCommandId','InsertRangeMoveRightCommandId','NO_OTHER_CLIENTS_EDITING','_cursor','1em','getUnhiddenWorksheets','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/docs-ui','UPDATE_CURSOR','override','_localStorageService','_updateSubUnitFromURLParams','_initEvent'];_0x375c=function(){return _0x1d173d;};return _0x375c();}
1
+ function _0x130e(){const _0x12e936=['_collabSessionService','children','UniverRpc','getSheetId','@univerjs/ui','closePath','getMergeData','Injector','UniverDesign','_docStateChangeManagerService','TEXT','restore','width','CollaborationStatusDisplay','selections','fromEvent','getCurrent','idSuffix','_initResize','3802359IFLuLE','_render','getCurrentSelections','dispose$','sheetID','jsx','font','_docClipboardService','setShapeProps','_backgroundColor','key','getMember','operators','_heartbeatTimer','_refreshCollabCursors','235tToGPU','trim','params','_collaborationController','_instanceService','CHANGESET_REVISION_CONFILICT','hovered','15OrpraS','UniverProCollaborationClientUi','unload','handleInsertRangeMoveDown','show','_configService','eventID','InsertRangeMoveRightCommandId','CollaborationStatus','_syncEditingCollabCursorService','subscribe','20wDjfrZ','_initStatusComponent','_initEntityListener','getCurrentUnitForType','DocCollaborationEntity','HEADER_MENU','Module','off-line-icon','getActiveRange','saveOfflineData','LocaleService','urlChange$','IRenderManagerService','_scheduleHeartbeat','APPLY_REJECT','TEXT_RANGE_LAYER_INDEX','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initStatusListener','clsx','assignAColorForMemberID','clipPath','CollaborationSessionService','symbol','textRanges','_getSessionTicket','_textBubble','runOnServer','_anchorDot','currentColor','href','_hover','DOC_RANGE_TYPE','assign','APPLY_NON_SEQUENTIAL_REVISION','session.will-retry','RemoveRowCommandId','shareReplay','UNAUTHENTICATED','getRenderById','IUIPartsService','APPLY_DUPLICATED','...','transformMutation','text','SUBMIT_CHANGESET_TIMEOUT','post','skeleton','PERMISSION_DENIED','_messageService','_registerDependencies','InsertRangeMoveDownCommandId','DocStateChangeManagerService','EffectRefRangId','PY_RUNTIME_SCRIPT_ERROR','collabStatus.offline','APPLY_REVISION_CONFILICT','_getMergeRange','isTransformMutationFailure','SOCKET_FAILED','SheetsSelectionsService','ONLINE','evenodd','_removeCollabCursors','throttleTime','NOT_FOUND','NOT_COLLAB','_onCursorDelete','takeUntil','ACTIVE_UNIT_EVENT_CHANNEL','debug','WECHAT_HAS_BEEN_BOUND','_updateSubUnitFromURLParams','black','247455LpjFNM','search','moveTo','runId','_notificationService','url(#on-line-icon_clip0_910_349)','redoState','@univerjs/sheets','labelPosition','getCollabCursors$','_cursor','invokeId','0\x200\x2017\x2016','addClipboardHook','HTTPService','INTERNAL_ERROR','http://www.w3.org/2000/svg','LICENSE_MAX_UNITS_EXCEEDED','disposeUnit','getOwnPropertySymbols','sheetId','_ensureSubject','mergeOverrideWithDependencies','registerRenderModule','_saveCache','path','fillText','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getLocalCacheKey','_startDocCollabCursor','LOCAL_CACHE_INTERVAL','registerBeforeClose','getUnitId','focused$','connectInjector','editingUnit','_transformService','min','CONFLICT','getVpScrollXYInfoByPosToVp','ICommandService','94OwTpeZ','UniverCore','1542632BFsuMV','MOBILE_HAS_BEEN_BOUND','ITransformService','IUniverInstanceService','_imageIoService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getOwnPropertyDescriptor','INVITE_CODE_HAS_BEEN_UES','IDocClipboardService','measureText','extend','_dataLoaderService','beginPath','onPointerLeave$','IConfigService','addHandlerCallback','send','_range','collab-text-range-','_assignedColors','LICENSE_DISTRO_REJECTED','_draw','none','WebSocketService','_toggleOffline','combineLatest','_localCacheService','_shapes','color','@univerjs/docs-ui','YUUMI_NO_CUBOID_FOR_QUESTION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','lineTo','defIds','createElement','getUndoRedoMutationParamsCache','displayName','useDependency','call','find','_roomMembers$','RemoteUniscriptService','ALREADY_EXISTS','findNodePositionByCharIndex','AWAITING','getStateCache','addObject','setItem','_scheduleClearOtherTimer','CollaborationSocketService','_handleLeaveEvent','NO_OTHER_CLIENTS_EDITING','_cursorInfo$','_cachedData','_collabCursorState$','registerRefRange','apply','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','DeleteRangeMoveUpCommandId','reconnect','IRemoteInstanceService','_scheduleSaving','_sheetSkeletonManagerService','BrowserCollaborationSocketService','NodePositionConvertToCursor','_disabled','@univerjs/core','onPointerEnter$','204KTiNod','206440BOfhkf','random','history','RemoveColCommandId','unshift','DEFAULT_WS_SESSION_TICKET_URL','popstate','setAlpha','complete','event$','onMouseMove','transformRemoteChangeset','_cursorShapes','_setupBeforeClosingHandler','_renderManagerService','error','deserializeRangeWithSheet','collaboration.closeRoom','addEventListener','selection','subscribeEvent','_toggleOnline','getCollabEntity$','Disposable','toDisposable','OffLineIcon','handleIRemoveCol','unsubscribe','ColorKit','icon','addObjects','SOCKET_FAILED_RETRY','_document','result','object','UniverEngineRender','replaceDocRanges','type','YUUMI_URL_COL_OUT_OF_RANGE','m1Prime','activeSheet$','FETCH_MISS','_transformPreviousActiveRange','UnitStatus','forEach','collabCursorState$','defs','_docTransformIMECacheService','collaboration.single-unit.warning','_saveTaskMap','ticket','_context','COMPLETION_FINISHED','SheetCollabCursorShape','LOGIN_FAILED','transformSelections','length','round','SetSelectionsOperation','xlink:href','startsWith','Workbook','sessionTicket','UniverCollaborationClientPlugin','forwardRef','generateRandomId','white','attrs','unitId','propertyIsEnumerable','delete','registerDependencies','div','undoState','handleInsertCol','UNIVER_SHEET','makeDirty','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_commandService','endColumn','_online','_drawAnchor','setActiveRange','IImageIoService','_removeClearOtherTimer','disposeWithMe','arc','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers$','tag','_hovered','resize','_send','Inject','map','replaceState','updateOfflineData','_initCommandExecutedListener','univer-flex\x20univer-items-center','mapTo','SetTextSelectionsOperation','includes','collab-client.tooltip.reconnect','[CollaborationDataLoaderController]','SNAPSHOT_HAS_BEEN_REMOVED','switchMap','Shape','18oKCFAr','CONNECTOR_DATA_TOO_LARGE','react','setStateCache','OnLineIcon','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','getMemberID','createIdentifier','pluginName','on-line-icon_clip0_910_349','transformStateCache','_handleHover','concat','docStateChange$','hasOwnProperty','exhaustSavingTask','getParam','_labelPosition','getSheetBySheetId','_urlService','_eventUnsubscribe','YUUMI_UNABLE_LOAD_URL','_clearOtherTimers','transformMutationsWithChangeset','collabStatus.syncing','_colorIndex','_transformUndoRedoStack','fill','DataLoaderService','UniverDocs','debounce','_themeService','deepClone','USERS_LEAVE','dispose','transformIMECache','OFFLINE','location','Rect','cursorInfo$','UniverDrawing','add','getTypeOfUnitAdded$','startColumn','_getSaveTimeout','@univerjs/design','uni.network.url-service','onTransformChange$','defineProperty','_init','searchParams','/run/','roomMembers','_updateURLWithCurrentState','session.collaboration-timeout','SYNCED','collab-rect-range-','Warning','getFocusedUnit','Unknown\x20user','row','DesktopCollaborationStatusDisplayController','permission.title','currentSkeleton$','merge','range','backgroundColor','getTypeOfUnitDisposed$','top','values','CollaborationEvent','get','UniverInstanceType','ILocalCacheService','_cursors','_config','sessionStatus$','_unitOnClients','COLORS','INVALID_ARGUMENT','max','SNAPSHOT_INVALID_SNAPSHOT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IBeforeCloseService','Tools','className','SheetSkeletonManagerService','getValue','RECT','bottom','svg','isTransformMutationsWithChangesetSuccess','red.300','UNIVER_DOC','_hideTimer','APPLY_PERMISSION_DENIED','createSocket','collabStatus.fetchMiss','push','_getScale','from','colorChannel1','_status$','substring','getCoordByCell','React','collaboration-client.offline-data-not-saved','_doCreateSocket','_entities','_logService','_revisionService','name','filter','_createSocketURL','SessionStatus','imageSourceType','getOffsetConfig','@univerjs/engine-formula','_scene','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INVALID_INVITE_CODE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_uiPartsService','onCommandExecuted','asObservable','function','_localStorageService','column','@univerjs/drawing','setConfig','handleDeleteRangeMoveUp','10310Krtemp','_beforeCloseService','override','_session','_id','unit','createInstance','stringify','prototype','INVITE_CODE_REQUIRED','source','_memberService','YUUMI_ALL_TABLES_IS_INVALID','SetWorksheetActivateCommand','UNRECOGNIZED','subunit','handleIRemoveRow','UniverSheets','_localeService','MessageType','url(#$1','doc.mutation.rich-text-editing','_anchor','split','UniverDocsUi','mutations','RichTextEditingMutation','_unitStatus','InsertColCommandId','isArray','YUUMI_TABLE_NOT_FOUND_IN_UNIT','useCallback','syncEditingCollabCursor','_injector','_updateCollabCursors','YUUMI_ASYNCIO_CANCELLED','UniverIcon','#FFF','248776lHUGti','@univerjs/sheets-ui','height','BehaviorSubject','m2Prime','_name','toString','url(#off-line-icon_clip0_910_343)','collaboration-client-ui.config','WebBrowserSingleActiveUnitService','@univerjs/rpc','UniverProCollaboration','getAncestorScale','setTimeout','Plugin','Vector2','with','loadUnit','NodePositionConvertToRectRange','IMessageService','fillRule','getItem','string','replace','getColorFromTheme','size','getCellPositionByOffset','handleDeleteRangeMoveLeft','TOO_MANY_REQUESTS','ILocalStorageService','getViewport','body','_onCursorUpdate','clearTimeout','purple.300','entries','JOIN_ROOM_FAILED','@univerjs-pro/collaboration-client','_selfUnitIDs','univerjs-icon\x20univerjs-icon-','debounceTime','handleInsertRangeMoveRight','UniverUi','CommandType','ISocketService','next','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','AWAITING_WITH_PENDING','amd','clearInterval','_handleEvent','pushState','CollaborationUIEventService','_entityInit$','CollaborationController','YUUMI_RATE_OVER_LIMIT','CollaborationDataLoaderController','off-line-icon_clip0_910_343','wsSessionTicketUrl','endRow','fillStyle','@univerjs/engine-render','getActiveSheet','Rectangle','loadOfflineData','use','UniverCollaborationClientUIPlugin','registerComponent','disableLocalCache','session.connection-failed','DocSelectionManagerService','executeCommand','USER_NOT_INVITED_CODE','Optional','application/json','react/jsx-runtime','data','blue.400','init','has','DocIMEInputManagerService','rxjs','_httpService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_registerRenderDependencies','unitID','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','newValue','@univerjs/docs','collabStatus.synced','MemberService','ILogService','origin','hide','INVITE_CODE_ALREADY_BOUND','then','UniverEngineFormula','CLOSE_ROOM','81138aTOalq','SHEET_VIEWPORT_KEY','UPDATE_CURSOR','getSkeleton','ranges','set','_refRangeService','status$','_docTransformStateCacheService','onLocalMutation','useObservable','save','drawWith','DeleteRangeMoveLeftCommandId','onStarting','contains','_docTransformSelectionsService','LICENSE_IMPORT_SIZE_EXCEEDED','requireSession','distinctUntilChanged','currentTheme$','cursorInfo','getRangePointData','setParam','_handleJoinEvent','_lastPointer','_updateLocalCursor','BuiltInUIPart','_univerInstanceService','getUnhiddenWorksheets','_onRefRangeChange','fromEventSubject','_startSheetCollabCursor','indexOf','serializeRangeWithSheet','rgba(255,\x20255,\x20255,\x200.01)','1em','isActive','getConfig','_collabCursorController','Failed','getColor','YUUMI_SUBSCRIPTION_NOT_FOUND','runRefRangeMutations','_transformHistoryAndStateStack','_color','_drawTextRange','_initDependencies','_drawRectRange','jiqing.500','onRendered','M0\x200H16V16H0z','handleInsertRow','UNDEFINED','_collaborationUIEventService','pipe','_colorAssignService','DependentOn','YUUMI_AI_RUN_FAILED','CollaborationUIEventId','exports','OTHER_CLIENTS_EDITING','RxDisposable','EMAIL_HAS_BEEN_BOUND','@univerjs/network','Error','_docSyncEditingCollabCursorService','_getAnchorBounding','_docSkeletonManagerService','getDocRanges','getUnitStatus$','ThemeService','yellow.400'];_0x130e=function(){return _0x12e936;};return _0x130e();}function _0x2147(_0xd26b7,_0x5d2d89){const _0x130ef4=_0x130e();return _0x2147=function(_0x2147ca,_0x45ca88){_0x2147ca=_0x2147ca-0xc6;let _0x1492a3=_0x130ef4[_0x2147ca];return _0x1492a3;},_0x2147(_0xd26b7,_0x5d2d89);}(function(_0x1eccca,_0xf21fd6){const _0x1e20fa=_0x2147,_0xd1e565=_0x1eccca();while(!![]){try{const _0x15ffa4=-parseInt(_0x1e20fa(0x31a))/0x1*(parseInt(_0x1e20fa(0x1a3))/0x2)+parseInt(_0x1e20fa(0x29d))/0x3*(parseInt(_0x1e20fa(0x1c9))/0x4)+parseInt(_0x1e20fa(0x296))/0x5*(parseInt(_0x1e20fa(0x22b))/0x6)+parseInt(_0x1e20fa(0x31c))/0x7+-parseInt(_0x1e20fa(0x361))/0x8*(-parseInt(_0x1e20fa(0x120))/0x9)+parseInt(_0x1e20fa(0x2a8))/0xa*(-parseInt(_0x1e20fa(0x287))/0xb)+parseInt(_0x1e20fa(0x360))/0xc*(parseInt(_0x1e20fa(0x2f1))/0xd);if(_0x15ffa4===_0xf21fd6)break;else _0xd1e565['push'](_0xd1e565['shift']());}catch(_0x2d6118){_0xd1e565['push'](_0xd1e565['shift']());}}}(_0x130e,0x59690),function(_0x17023a,_0x1a0e4e){const _0x3ea881=_0x2147;typeof exports==_0x3ea881(0xd7)&&typeof module<'u'?_0x1a0e4e(exports,require('@univerjs-pro/collaboration-client'),require(_0x3ea881(0x35e)),require(_0x3ea881(0x206)),require(_0x3ea881(0x26b)),require(_0x3ea881(0x339)),require(_0x3ea881(0x1a0)),require(_0x3ea881(0x21a)),require(_0x3ea881(0x221)),require('@univerjs-pro/collaboration'),require(_0x3ea881(0x195)),require(_0x3ea881(0x2f8)),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x3ea881(0x214)),require('@univerjs/ui'),require('@univerjs/design'),require(_0x3ea881(0x122)),require(_0x3ea881(0x1d3))):typeof define==_0x3ea881(0x19d)&&define[_0x3ea881(0x1f9)]?define([_0x3ea881(0x267),_0x3ea881(0x1ee),_0x3ea881(0x35e),_0x3ea881(0x206),_0x3ea881(0x26b),'@univerjs/docs-ui',_0x3ea881(0x1a0),_0x3ea881(0x21a),'@univerjs/docs','@univerjs-pro/collaboration',_0x3ea881(0x195),_0x3ea881(0x2f8),'rxjs/operators',_0x3ea881(0x1ca),_0x3ea881(0x214),_0x3ea881(0x278),_0x3ea881(0x14d),_0x3ea881(0x122),_0x3ea881(0x1d3)],_0x1a0e4e):(_0x17023a=typeof globalThis<'u'?globalThis:_0x17023a||self,_0x1a0e4e(_0x17023a[_0x3ea881(0x29e)]={},_0x17023a['UniverProCollaborationClient'],_0x17023a[_0x3ea881(0x31b)],_0x17023a[_0x3ea881(0xd8)],_0x17023a['UniverNetwork'],_0x17023a[_0x3ea881(0x1bb)],_0x17023a[_0x3ea881(0x148)],_0x17023a[_0x3ea881(0x21a)],_0x17023a[_0x3ea881(0x13d)],_0x17023a[_0x3ea881(0x1d4)],_0x17023a[_0x3ea881(0x229)],_0x17023a[_0x3ea881(0x1b4)],_0x17023a[_0x3ea881(0x21a)][_0x3ea881(0x293)],_0x17023a['UniverSheetsUi'],_0x17023a['React'],_0x17023a[_0x3ea881(0x1f3)],_0x17023a[_0x3ea881(0x27c)],_0x17023a[_0x3ea881(0x189)],_0x17023a[_0x3ea881(0x276)]));}(this,function(_0x397186,_0x9092af,_0x23a58e,_0x379bf1,_0x5b8233,_0x5805c3,_0x59f0fa,_0x26f8cf,_0x1495f4,_0x341ea9,_0x81183,_0x520e17,_0x5378ac,_0x2176b9,_0xa5785,_0x41f03c,_0x443a49,_0x1eeeec,_0x133260){'use strict';const _0x101803=_0x2147;var _0xa3ce9f=Object[_0x101803(0x150)],_0x342ed2=(_0x4e979f,_0x305f9a,_0x886f88)=>_0x305f9a in _0x4e979f?_0xa3ce9f(_0x4e979f,_0x305f9a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x886f88}):_0x4e979f[_0x305f9a]=_0x886f88,_0x4e1a2b=(_0x105f3a,_0x2127c0,_0x170fc1)=>_0x342ed2(_0x105f3a,typeof _0x2127c0!=_0x101803(0x2be)?_0x2127c0+'':_0x2127c0,_0x170fc1),_0x2ea53d=Object['getOwnPropertyDescriptor'],_0x56696e=(_0x56f076,_0xcc2e1a,_0x230fa4,_0xf1d5d0)=>{const _0x5ea36a=_0x101803;for(var _0x59e0e5=_0xf1d5d0>0x1?void 0x0:_0xf1d5d0?_0x2ea53d(_0xcc2e1a,_0x230fa4):_0xcc2e1a,_0xa643f3=_0x56f076[_0x5ea36a(0xed)]-0x1,_0x2027b5;_0xa643f3>=0x0;_0xa643f3--)(_0x2027b5=_0x56f076[_0xa643f3])&&(_0x59e0e5=_0x2027b5(_0x59e0e5)||_0x59e0e5);return _0x59e0e5;},_0x2c6215=(_0x277105,_0x596a24)=>(_0x2b9a24,_0x227c44)=>_0x596a24(_0x2b9a24,_0x227c44,_0x277105);let _0x2ed336=class extends _0x23a58e['RxDisposable']{constructor(_0x592d00,_0x2c8355){const _0x30c78c=_0x101803;super(),this[_0x30c78c(0x28e)]=_0x592d00,this[_0x30c78c(0x320)]=_0x2c8355,this[_0x30c78c(0x151)]();}[_0x101803(0x151)](){const _0x2150c9=_0x101803,_0x2c596d=this;this[_0x2150c9(0x10a)](this[_0x2150c9(0x28e)][_0x2150c9(0x2fe)]({'onBeforePasteImage':async _0x56ea6d=>{const _0x204c06=_0x2150c9,_0x489826=await _0x2c596d[_0x204c06(0x320)]['saveImage'](_0x56ea6d);return _0x489826?{'source':_0x489826[_0x204c06(0x1ad)],'imageSourceType':_0x489826[_0x204c06(0x193)]}:null;}}));}};_0x2ed336=_0x56696e([_0x2c6215(0x0,_0x5805c3[_0x101803(0x324)]),_0x2c6215(0x1,_0x59f0fa[_0x101803(0x108)])],_0x2ed336);const _0x4a7601=[_0x101803(0x1eb),_0x101803(0x25c),'green.600',_0x101803(0x17c),_0x101803(0x216),_0x101803(0x273)];class _0x10f9a5 extends _0x23a58e['Disposable']{constructor(){const _0x571487=_0x101803;super(...arguments),_0x4e1a2b(this,'_assignedColors',new Map()),_0x4e1a2b(this,_0x571487(0x139),0x0);}[_0x101803(0x2bb)](_0x5ecd04){const _0x2f2cdb=_0x101803;if(this['_assignedColors'][_0x2f2cdb(0x218)](_0x5ecd04))return this['_assignedColors']['get'](_0x5ecd04);const _0x41c433=_0x4a7601[this[_0x2f2cdb(0x139)]];return this[_0x2f2cdb(0x139)]=(this[_0x2f2cdb(0x139)]+0x1)%_0x4a7601[_0x2f2cdb(0xed)],this[_0x2f2cdb(0x32f)][_0x2f2cdb(0x230)](_0x5ecd04,_0x41c433),_0x41c433;}}function _0x1587ad(_0xb0ccef){const _0x52eb1b=_0x101803;let _0x474bb0='';for(const _0x71c5c0 of _0xb0ccef){const {startOffset:_0x248145,endOffset:_0x26687b,isActive:_0x5e0332,rangeType:_0x3715f9,segmentId:_0x2c4dd5,segmentPage:_0x3fdefc}=_0x71c5c0;_0x474bb0[_0x52eb1b(0xed)]&&(_0x474bb0+=','),_0x474bb0+=_0x248145+':'+_0x26687b+':'+(_0x5e0332?'1':'0')+':'+_0x3715f9+':'+_0x2c4dd5+':'+_0x3fdefc;}return _0x474bb0;}function _0x1480ad(_0x238ad4){const _0x53cab1=_0x101803,_0x5d5909=_0x238ad4['split'](','),_0x3c7e96=[];for(const _0x3b01e3 of _0x5d5909){const [_0x4b9341,_0xf592e6,_0x1afcff,_0x2229a2,_0x48e66a,_0x256712]=_0x3b01e3[_0x53cab1(0x1ba)](':');_0x3c7e96[_0x53cab1(0x182)]({'startOffset':Number(_0x4b9341),'endOffset':Number(_0xf592e6),'collapsed':_0x4b9341===_0xf592e6,'isActive':_0x1afcff==='1','rangeType':_0x2229a2===_0x23a58e[_0x53cab1(0x2c7)][_0x53cab1(0x27e)]?_0x23a58e['DOC_RANGE_TYPE'][_0x53cab1(0x27e)]:_0x23a58e[_0x53cab1(0x2c7)][_0x53cab1(0x178)],'segmentId':typeof _0x48e66a=='string'?String(_0x48e66a):'','segmentPage':Number(_0x256712!=null?_0x256712:-0x1)});}return _0x3c7e96['some'](_0x7732e1=>_0x7732e1['isActive'])||(_0x3c7e96[0x0][_0x53cab1(0x250)]=!0x0),_0x3c7e96;}class _0x381ca0 extends _0x23a58e['RxDisposable']{constructor(){const _0x31adc7=_0x101803;super(...arguments),_0x4e1a2b(this,_0x31adc7(0x352),new _0x26f8cf[(_0x31adc7(0x1cc))](null)),_0x4e1a2b(this,_0x31adc7(0xe2),this[_0x31adc7(0x352)][_0x31adc7(0x19c)]());}[_0x101803(0x1c3)](_0x3c7362){const _0x59d7a8=_0x101803,{unitID:_0x168636,memberID:_0x45f3dc,textRanges:_0x8f20b2}=_0x3c7362,_0x320558=_0x1587ad(_0x8f20b2);if(_0x320558==='')return;const _0x2c7dba={'unitID':_0x168636,'memberID':_0x45f3dc,'selection':_0x320558};this[_0x59d7a8(0x352)][_0x59d7a8(0x1f6)](_0x2c7dba);}}var _0x23879b=Object[_0x101803(0x322)],_0x4331fd=(_0x3eb6dc,_0x38e9dc,_0x4151b1,_0x44029c)=>{for(var _0x1c3b5a=_0x44029c>0x1?void 0x0:_0x44029c?_0x23879b(_0x38e9dc,_0x4151b1):_0x38e9dc,_0x199c0d=_0x3eb6dc['length']-0x1,_0x2d5f4e;_0x199c0d>=0x0;_0x199c0d--)(_0x2d5f4e=_0x3eb6dc[_0x199c0d])&&(_0x1c3b5a=_0x2d5f4e(_0x1c3b5a)||_0x1c3b5a);return _0x1c3b5a;},_0x4fd8b0=(_0x208c4b,_0x361e9e)=>(_0xab4483,_0x4f7510)=>_0x361e9e(_0xab4483,_0x4f7510,_0x208c4b);const _0x266ed3=0x12c,_0x3a82ad=0x64;let _0x2f9a37=class extends _0x23a58e[_0x101803(0x269)]{constructor(_0x4e0a21,_0x5e687a,_0x3b658c,_0x920ab7,_0x17febf,_0xb2a53,_0x325eab,_0x26e422,_0x37a995){const _0x51df38=_0x101803;super(),_0x4e1a2b(this,_0x51df38(0x105),!0x1),_0x4e1a2b(this,_0x51df38(0x151),!0x1),_0x4e1a2b(this,_0x51df38(0x350),new _0x26f8cf[(_0x51df38(0x1cc))](new Map())),_0x4e1a2b(this,'cursorInfo$',this[_0x51df38(0x350)][_0x51df38(0x19c)]()),_0x4e1a2b(this,'_roomMembers$',new _0x26f8cf['BehaviorSubject']([])),_0x4e1a2b(this,'roomMembers$',this[_0x51df38(0x344)][_0x51df38(0x262)](_0x26f8cf[_0x51df38(0x1f1)](_0x266ed3))),_0x4e1a2b(this,'_updateLocalCursor',_0x23a58e['debounce'](_0x32c8a8=>{const _0x92028e=_0x51df38,_0x128de2={'eventID':_0x341ea9[_0x92028e(0x166)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x92028e(0x21e)],'memberID':this[_0x92028e(0x1a6)]['getMemberID'](),'selection':_0x1587ad(_0x32c8a8)}};this['_session'][_0x92028e(0x32c)](_0x128de2,this[_0x92028e(0x21e)]);},_0x3a82ad)),(this['unitID']=_0x4e0a21,this['_session']=_0x5e687a,this[_0x51df38(0x1c4)]=_0x3b658c,this[_0x51df38(0x263)]=_0x920ab7,this['_memberService']=_0x17febf,this[_0x51df38(0x2a6)]=_0xb2a53,this['_transformService']=_0x325eab,this[_0x51df38(0x247)]=_0x26e422,this[_0x51df38(0x103)]=_0x37a995);}get[_0x101803(0x240)](){const _0x259407=_0x101803;return this[_0x259407(0x350)][_0x259407(0x177)]();}get[_0x101803(0x154)](){const _0x18df82=_0x101803;return this[_0x18df82(0x344)]['getValue']();}[_0x101803(0x142)](){const _0x35ddf9=_0x101803;super[_0x35ddf9(0x142)](),this[_0x35ddf9(0x350)][_0x35ddf9(0x1f6)](new Map()),this[_0x35ddf9(0x350)][_0x35ddf9(0x369)](),this['_roomMembers$'][_0x35ddf9(0x1f6)]([]),this['_roomMembers$'][_0x35ddf9(0x369)]();}[_0x101803(0x217)](){const _0x322e2c=_0x101803;this[_0x322e2c(0x151)]||(this[_0x322e2c(0x151)]=!0x0,this[_0x322e2c(0x1a6)][_0x322e2c(0x16c)]['pipe'](_0x26f8cf['takeUntil'](this['dispose$']))[_0x322e2c(0x2a7)](_0x5e2951=>{const _0x476e70=_0x322e2c;_0x5e2951===_0x9092af[_0x476e70(0x192)]['ONLINE']?this[_0x476e70(0xca)]():this[_0x476e70(0x334)]();}),this['_session'][_0x322e2c(0x36a)][_0x322e2c(0x262)](_0x26f8cf[_0x322e2c(0x2eb)](this[_0x322e2c(0x28a)]))[_0x322e2c(0x2a7)](_0x526c33=>{const _0x2000d5=_0x322e2c,_0x41e944=_0x526c33[_0x2000d5(0x2a3)];_0x41e944===_0x341ea9[_0x2000d5(0x166)][_0x2000d5(0x22d)]&&this[_0x2000d5(0x1e9)](_0x526c33),_0x41e944===_0x341ea9[_0x2000d5(0x166)]['USERS_LEAVE']&&this[_0x2000d5(0x2ea)](_0x526c33);}),this[_0x322e2c(0x10a)](this[_0x322e2c(0x103)][_0x322e2c(0x19b)](_0x226557=>{const _0x573812=_0x322e2c,_0x21db16=_0x226557[_0x573812(0x298)];_0x21db16!=null&&this[_0x573812(0x105)]&&_0x226557['id']===_0x1495f4[_0x573812(0x119)]['id']&&_0x21db16[_0x573812(0xf9)]===this[_0x573812(0x21e)]&&_0x21db16['isEditing']===!0x1&&_0x21db16[_0x573812(0x22f)][_0x573812(0xed)]>0x0&&this['_updateLocalCursor'](_0x21db16[_0x573812(0x22f)]);})),this[_0x322e2c(0x2a6)][_0x322e2c(0xe2)][_0x322e2c(0x262)](_0x26f8cf['takeUntil'](this[_0x322e2c(0x28a)]))[_0x322e2c(0x2a7)](_0x168339=>{const _0xbf6766=_0x322e2c;if((_0x168339==null?void 0x0:_0x168339['unitID'])!==this['unitID'])return;const _0x28d3b5={'eventID':_0x341ea9['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x168339};this[_0xbf6766(0x1e9)](_0x28d3b5);}),this[_0x322e2c(0x10a)](this['_commandService'][_0x322e2c(0x19b)](_0x5e77ee=>{const _0x1eb021=_0x322e2c;if(_0x5e77ee[_0x1eb021(0x298)]==null)return;const _0x52d958=_0x5e77ee['params'];if(_0x5e77ee['id']!==_0x1495f4[_0x1eb021(0x1bd)]['id']||_0x52d958[_0x1eb021(0xf9)]!==this[_0x1eb021(0x21e)])return;const _0x26c593={'id':_0x1eb021(0x1b8),'params':_0x52d958},_0x451614=this[_0x1eb021(0x240)];for(const [_0x524b31,_0x5771b7]of _0x451614){const _0x31ad83={'id':_0x1eb021(0x1b8),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5771b7['ranges']}},_0x201bf8=this[_0x1eb021(0x315)][_0x1eb021(0x2d2)](_0x26c593,_0x31ad83,!0x1);if(_0x341ea9[_0x1eb021(0x2e1)](_0x201bf8))throw _0x201bf8[_0x1eb021(0x370)];_0x451614[_0x1eb021(0x230)](_0x524b31,{..._0x5771b7,'ranges':_0x201bf8[_0x1eb021(0x1cd)][_0x1eb021(0x298)][_0x1eb021(0x2bf)]});}queueMicrotask(()=>{const _0x5340b4=_0x1eb021;this[_0x5340b4(0x350)][_0x5340b4(0x1f6)](_0x451614);});})));}[_0x101803(0x1e9)](_0x13d4b6){const _0x336016=_0x101803;var _0xfa6cf,_0x1c2bb5;const {memberID:_0x2e8073,selection:_0x5bb495}=_0x13d4b6[_0x336016(0x215)],_0x3317bb=_0x1480ad(_0x5bb495),_0x411df7=(_0x1c2bb5=(_0xfa6cf=this['_memberService']['getMember'](this[_0x336016(0x21e)],_0x2e8073))==null?void 0x0:_0xfa6cf[_0x336016(0x18f)])!=null?_0x1c2bb5:_0x336016(0x15b),_0x2f965b={'color':this[_0x336016(0x263)][_0x336016(0x2bb)](_0x2e8073),'name':_0x411df7,'ranges':_0x3317bb},_0x4d669b=this[_0x336016(0x240)];_0x4d669b[_0x336016(0x230)](_0x2e8073,_0x2f965b),this[_0x336016(0x350)][_0x336016(0x1f6)](_0x4d669b);}[_0x101803(0x2ea)](_0x26a349){const _0x54afb7=_0x101803,{memberID:_0x43cffa}=_0x26a349[_0x54afb7(0x215)],_0x59466d=this[_0x54afb7(0x240)];_0x59466d['delete'](_0x43cffa),this[_0x54afb7(0x350)][_0x54afb7(0x1f6)](_0x59466d);}[_0x101803(0xca)](){const _0xfa4744=_0x101803;var _0x31d321;if(this['_online']=!0x0,((_0x31d321=this[_0xfa4744(0x247)][_0xfa4744(0x15a)]())==null?void 0x0:_0x31d321[_0xfa4744(0x311)]())!==this[_0xfa4744(0x21e)])return;const _0x2f363e=this[_0xfa4744(0x1c4)][_0xfa4744(0x167)](_0x1495f4[_0xfa4744(0x20f)])[_0xfa4744(0x270)]();Array[_0xfa4744(0x1c0)](_0x2f363e)&&_0x2f363e[_0xfa4744(0xed)]>0x0&&this[_0xfa4744(0x245)](_0x2f363e);}[_0x101803(0x334)](){const _0x33c04c=_0x101803;this[_0x33c04c(0x105)]=!0x1;}};_0x2f9a37=_0x4331fd([_0x4fd8b0(0x2,_0x23a58e['Inject'](_0x23a58e[_0x101803(0x27b)])),_0x4fd8b0(0x3,_0x23a58e[_0x101803(0x112)](_0x10f9a5)),_0x4fd8b0(0x4,_0x23a58e[_0x101803(0x112)](_0x9092af[_0x101803(0x223)])),_0x4fd8b0(0x5,_0x23a58e['Inject'](_0x381ca0)),_0x4fd8b0(0x6,_0x341ea9[_0x101803(0x31e)]),_0x4fd8b0(0x7,_0x23a58e[_0x101803(0x31f)]),_0x4fd8b0(0x8,_0x23a58e['ICommandService'])],_0x2f9a37);var _0x5e4327=Object['getOwnPropertyDescriptor'],_0x37b031=(_0x24c87d,_0x50a5bf,_0x3f0ff1,_0x110f93)=>{const _0x49a26b=_0x101803;for(var _0x40e693=_0x110f93>0x1?void 0x0:_0x110f93?_0x5e4327(_0x50a5bf,_0x3f0ff1):_0x50a5bf,_0x176622=_0x24c87d[_0x49a26b(0xed)]-0x1,_0x2bb55f;_0x176622>=0x0;_0x176622--)(_0x2bb55f=_0x24c87d[_0x176622])&&(_0x40e693=_0x2bb55f(_0x40e693)||_0x40e693);return _0x40e693;},_0x270df6=(_0x2e9f46,_0x1abbef)=>(_0x4fb326,_0x35f1c2)=>_0x1abbef(_0x4fb326,_0x35f1c2,_0x2e9f46);const _0x4eb65e=0x12c,_0x5855d9=0x64,_0x5c7e3a=()=>{let _0x22b6ed=[],_0x42b8b1=!0x1;return _0x17f951=>{const _0x4c4684=_0x2147;_0x22b6ed[_0x4c4684(0x182)](_0x17f951),_0x42b8b1||(_0x42b8b1=!0x0,setTimeout(()=>{const _0x2d6076=_0x4c4684;_0x22b6ed[_0x2d6076(0xe1)](_0x5e009e=>_0x5e009e()),_0x22b6ed=[],_0x42b8b1=!0x1;}));};};let _0x4254e6=class extends _0x23a58e[_0x101803(0x269)]{constructor(_0xeebf75,_0x3edf37,_0x2d4d8f,_0x3396e0,_0xe9f6b5,_0x25168c,_0x41a86a,_0x3d492a){const _0x4c6ee4=_0x101803;super(),_0x4e1a2b(this,_0x4c6ee4(0x105),!0x1),_0x4e1a2b(this,'_init',!0x1),_0x4e1a2b(this,_0x4c6ee4(0x350),new _0x26f8cf[(_0x4c6ee4(0x1cc))](new Map())),_0x4e1a2b(this,_0x4c6ee4(0x147),this[_0x4c6ee4(0x350)]['asObservable']()),_0x4e1a2b(this,_0x4c6ee4(0x344),new _0x26f8cf[(_0x4c6ee4(0x1cc))]([])),_0x4e1a2b(this,_0x4c6ee4(0x10d),this['_roomMembers$'][_0x4c6ee4(0x262)](_0x26f8cf['debounceTime'](_0x4eb65e))),_0x4e1a2b(this,'_updateLocalCursor',_0x23a58e[_0x4c6ee4(0x13e)]((_0x1ff8a8,_0xf099bd)=>{const _0x13fa6f=_0x4c6ee4,_0x404fba={'eventID':_0x341ea9[_0x13fa6f(0x166)][_0x13fa6f(0x22d)],'data':{'unitID':this[_0x13fa6f(0x21e)],'memberID':this[_0x13fa6f(0x1a6)][_0x13fa6f(0x126)](),'selection':_0x81183[_0x13fa6f(0x24d)](_0x1ff8a8,_0xf099bd[_0x13fa6f(0x161)])}};this['_session']['send'](_0x404fba,this[_0x13fa6f(0x21e)]);},_0x5855d9)),(this[_0x4c6ee4(0x21e)]=_0xeebf75,this[_0x4c6ee4(0x1a6)]=_0x3edf37,this[_0x4c6ee4(0x1c4)]=_0x2d4d8f,this['_colorAssignService']=_0x3396e0,this[_0x4c6ee4(0x1ae)]=_0xe9f6b5,this[_0x4c6ee4(0x247)]=_0x25168c,this[_0x4c6ee4(0x103)]=_0x41a86a,this[_0x4c6ee4(0x231)]=_0x3d492a);}get[_0x101803(0x240)](){const _0x95bb56=_0x101803;return this[_0x95bb56(0x350)][_0x95bb56(0x177)]();}get['roomMembers'](){const _0x5bddcf=_0x101803;return this[_0x5bddcf(0x344)][_0x5bddcf(0x177)]();}[_0x101803(0x142)](){const _0x4ad6ad=_0x101803;super[_0x4ad6ad(0x142)](),this[_0x4ad6ad(0x350)]['next'](new Map()),this[_0x4ad6ad(0x350)][_0x4ad6ad(0x369)](),this[_0x4ad6ad(0x344)][_0x4ad6ad(0x1f6)]([]),this[_0x4ad6ad(0x344)]['complete']();}[_0x101803(0x217)](){const _0x3b6fac=_0x101803;this['_init']||(this['_init']=!0x0,this['_session'][_0x3b6fac(0x16c)][_0x3b6fac(0x262)](_0x26f8cf[_0x3b6fac(0x2eb)](this['dispose$']))['subscribe'](_0x45b2b2=>{const _0x17ccf5=_0x3b6fac;_0x45b2b2===_0x9092af[_0x17ccf5(0x192)][_0x17ccf5(0x2e4)]?this[_0x17ccf5(0xca)]():this[_0x17ccf5(0x334)]();}),this[_0x3b6fac(0x1a6)][_0x3b6fac(0x36a)][_0x3b6fac(0x262)](_0x26f8cf[_0x3b6fac(0x2eb)](this['dispose$']))['subscribe'](_0x5028d8=>{const _0x460448=_0x3b6fac,_0x2e3349=_0x5028d8[_0x460448(0x2a3)];_0x2e3349===_0x341ea9[_0x460448(0x166)][_0x460448(0x22d)]&&this[_0x460448(0x1e9)](_0x5028d8),_0x2e3349===_0x341ea9[_0x460448(0x166)][_0x460448(0x141)]&&this['_onCursorDelete'](_0x5028d8);}),this[_0x3b6fac(0x249)](),this[_0x3b6fac(0x10a)](this[_0x3b6fac(0x103)][_0x3b6fac(0x19b)](_0x2e0880=>{const _0xcc2e1b=_0x3b6fac;if(this[_0xcc2e1b(0x105)]&&_0x2e0880['id']===_0x520e17[_0xcc2e1b(0xef)]['id']&&_0x2e0880['params']['unitId']===this[_0xcc2e1b(0x21e)]){const _0x41dea2=_0x2e0880['params'];this['_updateLocalCursor'](_0x41dea2['subUnitId'],_0x41dea2[_0xcc2e1b(0x282)][0x0]);}})));}[_0x101803(0x1e9)](_0x30e573){const _0x23b556=_0x101803;var _0x274ca5,_0xa40e2;const {memberID:_0x4d026e,selection:_0xcbcad8}=_0x30e573[_0x23b556(0x215)],{sheetName:_0x1de645,range:_0xf0a99}=_0x81183[_0x23b556(0x371)](_0xcbcad8),_0x17ab5a={'name':(_0xa40e2=(_0x274ca5=this[_0x23b556(0x1ae)][_0x23b556(0x292)](this[_0x23b556(0x21e)],_0x4d026e))==null?void 0x0:_0x274ca5[_0x23b556(0x18f)])!=null?_0xa40e2:_0x23b556(0x15b),'range':this[_0x23b556(0x2e0)](_0x1de645,_0xf0a99),'sheetID':_0x1de645,'color':this['_colorAssignService'][_0x23b556(0x2bb)](_0x4d026e),'selection':_0xcbcad8},_0xec18dd=this[_0x23b556(0x240)];_0xec18dd['set'](_0x4d026e,_0x17ab5a),this[_0x23b556(0x350)][_0x23b556(0x1f6)](_0xec18dd);}[_0x101803(0x2ea)](_0x312e71){const _0x3002ce=_0x101803,{memberID:_0x2b2c96}=_0x312e71[_0x3002ce(0x215)],_0x1763ef=this[_0x3002ce(0x240)];_0x1763ef[_0x3002ce(0xfb)](_0x2b2c96),this['_cursorInfo$'][_0x3002ce(0x1f6)](_0x1763ef);}['_getMergeRange'](_0x5091b1,_0x3228ae){const _0x29f7de=_0x101803;var _0x16a7d5,_0x1c8708;const _0x3f1ab3=(_0x1c8708=(_0x16a7d5=this[_0x29f7de(0x247)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x16a7d5['getSheetBySheetId'](_0x5091b1))==null?void 0x0:_0x1c8708[_0x29f7de(0x27a)]();return(_0x3f1ab3==null?void 0x0:_0x3f1ab3[_0x29f7de(0x343)](_0x198921=>_0x23a58e[_0x29f7de(0x208)][_0x29f7de(0x23a)](_0x198921,_0x3228ae)))||_0x3228ae;}[_0x101803(0x249)](){const _0x5a6c96=_0x101803,_0x14f97f=new _0x23a58e['DisposableCollection'](),_0xc24ca8=_0x5c7e3a(),_0x69774c=()=>{const _0x16b450=_0x2147;_0x14f97f[_0x16b450(0x142)]();const _0x512983=(_0x2e6b14,_0x221d2f,_0x2dbe16,_0x349290)=>{const _0x56bdca=_0x16b450;let _0x3a95d3=[];switch(_0x2e6b14['id']){case _0x520e17[_0x56bdca(0x2dc)][_0x56bdca(0x238)]:{_0x3a95d3=_0x520e17[_0x56bdca(0x1e4)](_0x2e6b14,_0x349290);break;}case _0x520e17['EffectRefRangId'][_0x56bdca(0x356)]:{_0x3a95d3=_0x520e17[_0x56bdca(0x1a2)](_0x2e6b14,_0x349290);break;}case _0x520e17[_0x56bdca(0x2dc)][_0x56bdca(0x1bf)]:{_0x3a95d3=_0x520e17[_0x56bdca(0xff)](_0x2e6b14,_0x349290);break;}case _0x520e17['EffectRefRangId'][_0x56bdca(0x2da)]:{_0x3a95d3=_0x520e17[_0x56bdca(0x2a0)](_0x2e6b14,_0x349290);break;}case _0x520e17['EffectRefRangId'][_0x56bdca(0x2a4)]:{_0x3a95d3=_0x520e17[_0x56bdca(0x1f2)](_0x2e6b14,_0x349290);break;}case _0x520e17[_0x56bdca(0x2dc)]['InsertRowCommandId']:{_0x3a95d3=_0x520e17[_0x56bdca(0x25f)](_0x2e6b14,_0x349290);break;}case _0x520e17[_0x56bdca(0x2dc)]['MoveRangeCommandId']:{_0x3a95d3=_0x520e17['handleMoveRange'](_0x2e6b14,_0x349290);break;}case _0x520e17[_0x56bdca(0x2dc)][_0x56bdca(0x364)]:{_0x3a95d3=_0x520e17[_0x56bdca(0xcf)](_0x2e6b14,_0x349290);break;}case _0x520e17[_0x56bdca(0x2dc)][_0x56bdca(0x2cb)]:{_0x3a95d3=_0x520e17[_0x56bdca(0x1b3)](_0x2e6b14,_0x349290);break;}}const _0x5793ae=_0x520e17[_0x56bdca(0x256)](_0x3a95d3,_0x349290),_0x1ec246=this[_0x56bdca(0x240)]['get'](_0x221d2f);if(_0x1ec246&&_0x5793ae){const _0x3232f1={..._0x1ec246,'range':_0x5793ae};this[_0x56bdca(0x240)][_0x56bdca(0x230)](_0x221d2f,_0x3232f1),_0xc24ca8(()=>{const _0x159cce=_0x56bdca,_0xecac18=this['_refRangeService'][_0x159cce(0x353)](_0x5793ae,_0x959071=>(_0xecac18[_0x159cce(0x142)](),_0x512983(_0x959071,_0x221d2f,_0x2dbe16,_0x5793ae)));_0x14f97f[_0x159cce(0x149)](_0xecac18);});}return{'redos':[],'undos':[]};};this[_0x16b450(0x240)]['forEach']((_0x46d44d,_0x5dd3c2)=>{const _0x184ac3=_0x16b450,{range:_0x1cda16,sheetID:_0x254651}=_0x46d44d,_0xaa5838=this['_refRangeService'][_0x184ac3(0x353)](_0x1cda16,_0xfdf035=>(_0xaa5838[_0x184ac3(0x142)](),_0x512983(_0xfdf035,_0x5dd3c2,_0x254651,_0x1cda16)));_0x14f97f[_0x184ac3(0x149)](_0xaa5838);});};this['disposeWithMe'](_0x23a58e['toDisposable'](this[_0x5a6c96(0x350)][_0x5a6c96(0x2a7)](()=>{_0x69774c();})));}[_0x101803(0xca)](){const _0x3bd3da=_0x101803;var _0x5c7362,_0x3915ce;if(this[_0x3bd3da(0x105)]=!0x0,((_0x5c7362=this[_0x3bd3da(0x247)][_0x3bd3da(0x15a)]())==null?void 0x0:_0x5c7362['getUnitId']())!==this['unitID'])return;const _0x3a0617=(_0x3915ce=this[_0x3bd3da(0x1c4)][_0x3bd3da(0x167)](_0x520e17[_0x3bd3da(0x2e3)])[_0x3bd3da(0x289)]())==null?void 0x0:_0x3915ce[0x0],_0xfa85b8=this[_0x3bd3da(0x247)][_0x3bd3da(0x2ab)](_0x23a58e[_0x3bd3da(0x168)]['UNIVER_SHEET'])[_0x3bd3da(0x207)]();_0x3a0617&&_0xfa85b8&&this[_0x3bd3da(0x245)](_0xfa85b8[_0x3bd3da(0x277)](),_0x3a0617);}[_0x101803(0x334)](){this['_online']=!0x1;}};_0x4254e6=_0x37b031([_0x270df6(0x2,_0x23a58e['Inject'](_0x23a58e[_0x101803(0x27b)])),_0x270df6(0x3,_0x23a58e[_0x101803(0x112)](_0x10f9a5)),_0x270df6(0x4,_0x23a58e[_0x101803(0x112)](_0x9092af[_0x101803(0x223)])),_0x270df6(0x5,_0x23a58e[_0x101803(0x31f)]),_0x270df6(0x6,_0x23a58e[_0x101803(0x319)]),_0x270df6(0x7,_0x23a58e[_0x101803(0x112)](_0x520e17['RefRangeService']))],_0x4254e6);var _0x5ac7b6=Object[_0x101803(0x322)],_0x2b80d6=(_0x546663,_0x154323,_0x366203,_0x55e783)=>{const _0xced58b=_0x101803;for(var _0x2156cd=_0x55e783>0x1?void 0x0:_0x55e783?_0x5ac7b6(_0x154323,_0x366203):_0x154323,_0x4a3ede=_0x546663[_0xced58b(0xed)]-0x1,_0x3d329b;_0x4a3ede>=0x0;_0x4a3ede--)(_0x3d329b=_0x546663[_0x4a3ede])&&(_0x2156cd=_0x3d329b(_0x2156cd)||_0x2156cd);return _0x2156cd;},_0x9b17df=(_0x5d7ccb,_0xe52afd)=>(_0x4452b0,_0xdecbf6)=>_0xe52afd(_0x4452b0,_0xdecbf6,_0x5d7ccb);let _0x1b9c1f=class extends _0x23a58e['RxDisposable']{constructor(_0x24e680,_0xd1c1dc,_0x472f5a){const _0x255cd8=_0x101803;super(),_0x4e1a2b(this,_0x255cd8(0x18c),new Map()),_0x4e1a2b(this,'_entityInit$',new _0x26f8cf['Subject']()),(this[_0x255cd8(0x247)]=_0x24e680,this[_0x255cd8(0x1c4)]=_0xd1c1dc,this[_0x255cd8(0x274)]=_0x472f5a,this[_0x255cd8(0x151)]());}[_0x101803(0x142)](){const _0x1804c6=_0x101803;super[_0x1804c6(0x142)](),this[_0x1804c6(0x1fe)][_0x1804c6(0x369)](),this['_entities'][_0x1804c6(0xe1)](_0xf22f7a=>_0xf22f7a['dispose']());}[_0x101803(0x2fa)](_0x227892){const _0x28cb86=_0x101803;return this[_0x28cb86(0x18c)][_0x28cb86(0x218)](_0x227892)?this[_0x28cb86(0x18c)]['get'](_0x227892)['cursorInfo$']:this[_0x28cb86(0x1fe)]['pipe'](_0x26f8cf[_0x28cb86(0x190)](_0x46ba26=>_0x46ba26[_0x28cb86(0x21e)]===_0x227892),_0x26f8cf[_0x28cb86(0x11e)](_0x5a27a5=>_0x5a27a5['cursorInfo$']));}[_0x101803(0x151)](){const _0x3d5048=_0x101803;this[_0x3d5048(0x247)][_0x3d5048(0x14a)](_0x23a58e[_0x3d5048(0x168)][_0x3d5048(0x100)])[_0x3d5048(0x262)](_0x26f8cf[_0x3d5048(0x2eb)](this[_0x3d5048(0x28a)]))['subscribe'](async _0x3181ac=>{const _0x3939ef=_0x3d5048,_0x5b4b34=_0x3181ac[_0x3939ef(0x311)](),_0x2830ee=await this[_0x3939ef(0x24b)](_0x5b4b34);this[_0x3939ef(0x1fe)][_0x3939ef(0x1f6)](_0x2830ee),this[_0x3939ef(0x18c)]['set'](_0x5b4b34,_0x2830ee);}),this[_0x3d5048(0x247)][_0x3d5048(0x14a)](_0x23a58e['UniverInstanceType'][_0x3d5048(0x17d)])[_0x3d5048(0x262)](_0x26f8cf[_0x3d5048(0x2eb)](this[_0x3d5048(0x28a)]))['pipe'](_0x26f8cf[_0x3d5048(0x190)](_0x181812=>!_0x181812[_0x3d5048(0x311)]()[_0x3d5048(0xf1)]('__')))[_0x3d5048(0x2a7)](async _0x37d23e=>{const _0x30ab15=_0x3d5048,_0x554bd7=_0x37d23e[_0x30ab15(0x311)](),_0x2d7d3e=await this[_0x30ab15(0x30e)](_0x554bd7);this['_entityInit$']['next'](_0x2d7d3e),this[_0x30ab15(0x18c)][_0x30ab15(0x230)](_0x554bd7,_0x2d7d3e);}),_0x26f8cf[_0x3d5048(0x160)](this[_0x3d5048(0x247)][_0x3d5048(0x163)](_0x23a58e[_0x3d5048(0x168)][_0x3d5048(0x17d)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x23a58e[_0x3d5048(0x168)][_0x3d5048(0x100)]))[_0x3d5048(0x262)](_0x26f8cf['takeUntil'](this['dispose$']))[_0x3d5048(0x2a7)](_0x49eb90=>{const _0x3870d1=_0x3d5048,_0x3b8930=_0x49eb90['getUnitId'](),_0x3c7905=this[_0x3870d1(0x18c)][_0x3870d1(0x167)](_0x3b8930);_0x3c7905&&(_0x3c7905[_0x3870d1(0x142)](),this['_entities'][_0x3870d1(0xfb)](_0x3b8930));});}async[_0x101803(0x24b)](_0x28ae01){const _0x2549e9=_0x101803,_0xebf8b9=await this['_collabSessionService'][_0x2549e9(0x23d)](_0x28ae01),_0x1759ae=this[_0x2549e9(0x1c4)][_0x2549e9(0x1a9)](_0x4254e6,_0x28ae01,_0xebf8b9);return _0x1759ae[_0x2549e9(0x217)](),_0x1759ae;}async[_0x101803(0x30e)](_0x2b6689){const _0x4bfd95=_0x101803,_0x5d548e=await this[_0x4bfd95(0x274)][_0x4bfd95(0x23d)](_0x2b6689),_0x161431=this[_0x4bfd95(0x1c4)][_0x4bfd95(0x1a9)](_0x2f9a37,_0x2b6689,_0x5d548e);return _0x161431[_0x4bfd95(0x217)](),_0x161431;}};_0x1b9c1f=_0x2b80d6([_0x9b17df(0x0,_0x23a58e[_0x101803(0x31f)]),_0x9b17df(0x1,_0x23a58e[_0x101803(0x112)](_0x23a58e[_0x101803(0x27b)])),_0x9b17df(0x2,_0x23a58e[_0x101803(0x112)](_0x9092af['CollaborationSessionService']))],_0x1b9c1f);const _0x546034=0x14,_0x22d824=0xc8,_0xfd9fdf=0x4,_0xca7077=0x5;function _0x15c21c(_0x2bf6d8,_0x277939){const _0x3540f7=_0x101803;let {radius:_0x34c3a1,width:_0xec3809,height:_0x463689}=_0x277939;_0x34c3a1=_0x34c3a1!=null?_0x34c3a1:0x0,_0xec3809=_0xec3809!=null?_0xec3809:0x1e,_0x463689=_0x463689!=null?_0x463689:0x1e;let _0x705675=0x0,_0x495def=0x0,_0x3e39d8=0x0;_0x705675=_0x495def=_0x3e39d8=Math['min'](_0x34c3a1,_0xec3809/0x2,_0x463689/0x2),_0x2bf6d8[_0x3540f7(0x328)](),_0x2bf6d8[_0x3540f7(0x2f3)](_0x705675,0x0),_0x2bf6d8[_0x3540f7(0x33c)](_0xec3809-_0x495def,0x0),_0x2bf6d8[_0x3540f7(0x10b)](_0xec3809-_0x495def,_0x495def,_0x495def,Math['PI']*0x3/0x2,0x0,!0x1),_0x2bf6d8[_0x3540f7(0x33c)](_0xec3809,_0x463689-_0x3e39d8),_0x2bf6d8[_0x3540f7(0x10b)](_0xec3809-_0x3e39d8,_0x463689-_0x3e39d8,_0x3e39d8,0x0,Math['PI']/0x2,!0x1),_0x2bf6d8[_0x3540f7(0x33c)](0x0,_0x463689),_0x2bf6d8[_0x3540f7(0x33c)](0x0,_0x705675),_0x2bf6d8['arc'](_0x705675,_0x705675,_0x705675,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2bf6d8[_0x3540f7(0x279)](),_0x277939[_0x3540f7(0x13b)]&&(_0x2bf6d8[_0x3540f7(0x236)](),_0x2bf6d8['fillStyle']=_0x277939[_0x3540f7(0x13b)],_0x277939[_0x3540f7(0x1dd)]===_0x3540f7(0x2e5)?_0x2bf6d8[_0x3540f7(0x13b)](_0x3540f7(0x2e5)):_0x2bf6d8[_0x3540f7(0x13b)](),_0x2bf6d8[_0x3540f7(0x27f)]());}class _0x3bc499 extends _0x379bf1[_0x101803(0x11f)]{constructor(_0x373c65,_0x328e62){const _0x3f7e71=_0x101803;super(_0x373c65,_0x328e62),_0x4e1a2b(this,_0x3f7e71(0x338)),_0x4e1a2b(this,_0x3f7e71(0x2d3)),(this['color']=_0x328e62==null?void 0x0:_0x328e62['color'],this[_0x3f7e71(0x2d3)]=_0x328e62==null?void 0x0:_0x328e62[_0x3f7e71(0x2d3)]);}static[_0x101803(0x237)](_0x3b3ff1,_0x58c89f){const _0x95aa7e=_0x101803,{text:_0x547b4d,color:_0x99f33a}=_0x58c89f;_0x3b3ff1[_0x95aa7e(0x236)](),_0x3b3ff1[_0x95aa7e(0x28d)]=_0x95aa7e(0x197);const _0x295796=_0x3b3ff1['measureText'](_0x547b4d)[_0x95aa7e(0x280)],_0x3e7655=Math[_0x95aa7e(0x316)](_0x295796+0x2*_0xfd9fdf,_0x22d824);_0x15c21c(_0x3b3ff1,{'height':_0x546034,'radius':0x4,'width':_0x3e7655,'fill':_0x99f33a}),_0x3b3ff1[_0x95aa7e(0x205)]=_0x95aa7e(0x1c8);const _0x38423a=_0xfd9fdf,_0x592109=_0x546034-_0xca7077,_0x5584e7=_0x22d824-0x2*_0xfd9fdf;if(_0x295796>_0x5584e7){let _0x3b858d='',_0xf58f9f=0x0;for(const _0x48d308 of _0x547b4d){const _0x5be179=_0x3b3ff1[_0x95aa7e(0x325)](_0x48d308)[_0x95aa7e(0x280)];if(_0xf58f9f+_0x5be179<=_0x5584e7-_0x3b3ff1[_0x95aa7e(0x325)]('...')['width'])_0x3b858d+=_0x48d308,_0xf58f9f+=_0x5be179;else{_0x3b858d+=_0x95aa7e(0x2d1);break;}}_0x3b3ff1['fillText'](_0x3b858d,_0x38423a,_0x592109);}else _0x3b3ff1[_0x95aa7e(0x30b)](_0x547b4d,_0x38423a,_0x592109);_0x3b3ff1[_0x95aa7e(0x27f)]();}[_0x101803(0x331)](_0x3b5d4e){const _0xfa2da6=_0x101803;_0x3bc499[_0xfa2da6(0x237)](_0x3b5d4e,this);}}const _0x29b89d='collab-text-anchor-',_0x2b5c82=_0x101803(0x32e),_0x30aad3=_0x101803(0x158),_0x34dc6b=0x6,_0x37e631=1.5,_0x287f33=0x4,_0x3f3c27=1.5,_0x579c0b=_0x101803(0x24e);class _0xcea39{constructor(_0x2682aa,_0x543302,_0xa471f8,_0xbda3b8){const _0x1b15c2=_0x101803;_0x4e1a2b(this,_0x1b15c2(0x337),[]),_0x4e1a2b(this,_0x1b15c2(0x1b9),null),_0x4e1a2b(this,_0x1b15c2(0x2c1),null),_0x4e1a2b(this,_0x1b15c2(0x2c3),null),_0x4e1a2b(this,'_hideTimer',null),_0x4e1a2b(this,_0x1b15c2(0x134),null),(this[_0x1b15c2(0x2fb)]=_0x2682aa,this['_scene']=_0x543302,this['_docSkeleton']=_0xa471f8,this[_0x1b15c2(0xd5)]=_0xbda3b8,this[_0x1b15c2(0x288)]());}set['_hover'](_0x218fd6){const _0x40906a=_0x101803;_0x218fd6?(this[_0x40906a(0x2c3)]&&this[_0x40906a(0x2c3)][_0x40906a(0x226)](),this[_0x40906a(0x2c1)]&&this[_0x40906a(0x2c1)][_0x40906a(0x2a1)]()):(this[_0x40906a(0x2c3)]&&this[_0x40906a(0x2c3)][_0x40906a(0x2a1)](),this[_0x40906a(0x2c1)]&&this[_0x40906a(0x2c1)][_0x40906a(0x226)]());}[_0x101803(0x142)](){const _0x105099=_0x101803;for(const _0x5c432a of this[_0x105099(0x337)])_0x5c432a[_0x105099(0x142)]();this[_0x105099(0x2c1)]&&this[_0x105099(0x2c1)]['dispose'](),this['_anchorDot']&&this[_0x105099(0x2c3)]['dispose'](),this[_0x105099(0x1b9)]&&this['_anchor'][_0x105099(0x142)](),this[_0x105099(0x134)]&&this[_0x105099(0x134)]();}['_render'](){const _0x2b7517=_0x101803;var _0x2aaddc;const {_docSkeleton:_0x2fcb5f,_document:_0x17ae5a}=this,{color:_0x5a6f93,name:_0x4de950,ranges:_0x53ec98}=this['_cursor'],_0x317c5c=_0x17ae5a[_0x2b7517(0x194)](),{docsLeft:_0x522dc3,docsTop:_0x3b6a04}=_0x317c5c,_0x48d2d4=new _0x5805c3[(_0x2b7517(0x35c))](_0x317c5c,_0x2fcb5f);for(const {startOffset:_0x432c40,endOffset:_0x150ae8,rangeType:_0x2e3d8e,segmentId:_0x333b4f,segmentPage:_0x1dd9bf,collapsed:_0x23f4f9,isActive:_0x20fd72}of _0x53ec98){const _0x1cf539=_0x2fcb5f[_0x2b7517(0x347)](_0x432c40,!0x0,_0x333b4f,_0x1dd9bf);let _0x2dd73d=_0x2fcb5f[_0x2b7517(0x347)](_0x150ae8,!0x0,_0x333b4f,_0x1dd9bf);if(_0x2dd73d==null&&(_0x2dd73d=_0x2fcb5f['findNodePositionByCharIndex'](_0x150ae8-0x1,!0x1,_0x333b4f,_0x1dd9bf)),_0x20fd72){const {contentBoxPointGroup:_0x1e7e0c}=_0x48d2d4[_0x2b7517(0x241)](_0x2dd73d,_0x2dd73d);if(_0x1e7e0c[_0x2b7517(0xed)]===0x0)continue;this[_0x2b7517(0x106)](_0x5a6f93,_0x1e7e0c,_0x522dc3,_0x3b6a04,_0x4de950),this['_eventUnsubscribe']=this[_0x2b7517(0x12b)]();}if(_0x1cf539&&_0x2dd73d){if(_0x2e3d8e===_0x23a58e['DOC_RANGE_TYPE'][_0x2b7517(0x178)]){const _0x423fdc=new _0x5805c3[(_0x2b7517(0x1db))](_0x317c5c,_0x2fcb5f),{pointGroup:_0x466466}=(_0x2aaddc=_0x423fdc[_0x2b7517(0x241)](_0x1cf539,_0x2dd73d))!=null?_0x2aaddc:{};if(_0x466466==null||_0x466466[_0x2b7517(0xed)]===0x0)continue;this[_0x2b7517(0x25b)](_0x5a6f93,_0x466466,_0x522dc3,_0x3b6a04);}else{if(!_0x23f4f9){const {borderBoxPointGroup:_0x5eed53}=_0x48d2d4['getRangePointData'](_0x1cf539,_0x2dd73d);if(_0x5eed53[_0x2b7517(0xed)]===0x0)continue;this[_0x2b7517(0x259)](_0x5a6f93,_0x5eed53,_0x522dc3,_0x3b6a04);}}}}}[_0x101803(0x106)](_0x59fda7,_0xf814b9,_0x4c9c24,_0x2055d5,_0x318044){const _0x3d50de=_0x101803,_0x3c7038=this[_0x3d50de(0x26e)](_0xf814b9),{left:_0x4ea9f5,top:_0x4ce61e,height:_0x504712}=_0x3c7038,_0x2ebc60=this[_0x3d50de(0x183)](),_0x1d624d=_0x3f3c27/_0x2ebc60,_0x47d6fa=new _0x379bf1[(_0x3d50de(0x146))](_0x29b89d+_0x23a58e[_0x3d50de(0x174)][_0x3d50de(0xf6)](_0x34dc6b),{'left':_0x4ea9f5+_0x4c9c24-_0x1d624d,'top':_0x4ce61e+_0x2055d5,'height':_0x504712,'width':_0x37e631,'fill':_0x59fda7||_0x379bf1['getColor'](_0x23a58e[_0x3d50de(0x16e)][_0x3d50de(0x2f0)],0x0),'strokeWidth':_0x1d624d,'stroke':_0x579c0b,'evented':!0x0});this[_0x3d50de(0x1b9)]=_0x47d6fa,this[_0x3d50de(0x196)][_0x3d50de(0x34a)](_0x47d6fa,_0x5805c3[_0x3d50de(0x2b7)]);const _0x4712bc=new _0x379bf1[(_0x3d50de(0x146))](_0x29b89d+_0x23a58e[_0x3d50de(0x174)][_0x3d50de(0xf6)](_0x34dc6b),{'left':_0x4ea9f5+_0x4c9c24-_0x1d624d,'top':_0x4ce61e+_0x2055d5-_0x287f33/0x2,'height':_0x287f33,'width':_0x287f33,'fill':_0x59fda7||_0x379bf1[_0x3d50de(0x254)](_0x23a58e[_0x3d50de(0x16e)][_0x3d50de(0x2f0)],0x0),'strokeWidth':0x0,'stroke':_0x59fda7||_0x379bf1[_0x3d50de(0x254)](_0x23a58e['COLORS'][_0x3d50de(0x2f0)],0x0),'evented':!0x1});this[_0x3d50de(0x2c3)]=_0x4712bc,this[_0x3d50de(0x196)][_0x3d50de(0x34a)](_0x4712bc,_0x5805c3[_0x3d50de(0x2b7)]);const _0x3824c3=new _0x3bc499(_0x29b89d+_0x23a58e[_0x3d50de(0x174)]['generateRandomId'](_0x34dc6b),{'left':_0x4ea9f5+_0x4c9c24-_0x1d624d,'top':_0x4ce61e+_0x2055d5-_0x546034,'text':_0x318044,'color':_0x59fda7});this[_0x3d50de(0x2c1)]=_0x3824c3,this[_0x3d50de(0x196)][_0x3d50de(0x34a)](_0x3824c3,_0x5805c3[_0x3d50de(0x2b7)]),this[_0x3d50de(0x2c6)]=!0x1;}['_handleHover'](){const _0x58c9ea=_0x101803,_0x35e03b=this[_0x58c9ea(0x1b9)][_0x58c9ea(0x35f)][_0x58c9ea(0xc9)](()=>{const _0x8ea0f1=_0x58c9ea;this[_0x8ea0f1(0x2c6)]=!0x0;}),_0x5ad06a=this[_0x58c9ea(0x1b9)][_0x58c9ea(0x329)][_0x58c9ea(0xc9)](()=>{const _0x59fa9d=_0x58c9ea;this[_0x59fa9d(0x17e)]&&clearTimeout(this[_0x59fa9d(0x17e)]),this[_0x59fa9d(0x17e)]=setTimeout(()=>{const _0x159ddd=_0x59fa9d;this[_0x159ddd(0x2c6)]=!0x1;},0x7d0);});return()=>{const _0x25134b=_0x58c9ea;_0x35e03b[_0x25134b(0xd0)](),_0x5ad06a[_0x25134b(0xd0)]();};}[_0x101803(0x259)](_0x1d69ec,_0x120a06,_0x368ecd,_0x449145){const _0x4e7833=_0x101803,_0x244b3f=new _0x23a58e[(_0x4e7833(0xd1))](_0x1d69ec)[_0x4e7833(0x368)](0.2)['toRgbString'](),_0x2f0cd0=new _0x379bf1['RegularPolygon'](_0x2b5c82+_0x23a58e[_0x4e7833(0x174)]['generateRandomId'](_0x34dc6b),{'pointsGroup':_0x120a06,'fill':_0x244b3f||_0x379bf1['getColor'](_0x23a58e['COLORS'][_0x4e7833(0x2f0)],0.2),'left':_0x368ecd,'top':_0x449145,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e7833(0x337)]['push'](_0x2f0cd0),this['_scene'][_0x4e7833(0x34a)](_0x2f0cd0,_0x5805c3['TEXT_RANGE_LAYER_INDEX']);}[_0x101803(0x25b)](_0x4b8736,_0x198928,_0x214ff7,_0x2d06c2){const _0x37b945=_0x101803,_0x349593=new _0x23a58e[(_0x37b945(0xd1))](_0x4b8736)[_0x37b945(0x368)](0.2)['toRgbString'](),_0x323766=new _0x379bf1['RegularPolygon'](_0x30aad3+_0x23a58e[_0x37b945(0x174)][_0x37b945(0xf6)](_0x34dc6b),{'pointsGroup':_0x198928,'fill':_0x349593||_0x379bf1[_0x37b945(0x254)](_0x23a58e[_0x37b945(0x16e)]['black'],0.2),'left':_0x214ff7,'top':_0x2d06c2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x37b945(0x182)](_0x323766),this['_scene'][_0x37b945(0x34a)](_0x323766,_0x5805c3[_0x37b945(0x2b7)]);}[_0x101803(0x26e)](_0x1ef1b8){const _0x2aa1a6=_0x1ef1b8[0x0],_0x8651ca=_0x2aa1a6[0x0],_0x2a4a5a=_0x2aa1a6[0x2],{x:_0x12d406,y:_0x32175d}=_0x8651ca,{x:_0x184460,y:_0x4bf93d}=_0x2a4a5a;return{'left':_0x12d406,'top':_0x32175d,'width':_0x184460-_0x12d406,'height':_0x4bf93d-_0x32175d};}[_0x101803(0x183)](){const _0x5c31ee=_0x101803,{scaleX:_0xd9d55,scaleY:_0x5f482c}=this[_0x5c31ee(0x196)]['getAncestorScale']();return Math[_0x5c31ee(0x170)](_0xd9d55,_0x5f482c);}}var _0x46663e=Object['getOwnPropertyDescriptor'],_0x568095=(_0x2ecbf5,_0x4cf082,_0x49818b,_0x2afa47)=>{const _0x40796d=_0x101803;for(var _0x30c83c=_0x2afa47>0x1?void 0x0:_0x2afa47?_0x46663e(_0x4cf082,_0x49818b):_0x4cf082,_0x398b8f=_0x2ecbf5[_0x40796d(0xed)]-0x1,_0x1969a1;_0x398b8f>=0x0;_0x398b8f--)(_0x1969a1=_0x2ecbf5[_0x398b8f])&&(_0x30c83c=_0x1969a1(_0x30c83c)||_0x30c83c);return _0x30c83c;},_0x47cfe1=(_0x194c9c,_0x494cb5)=>(_0x2ca265,_0x27f7a9)=>_0x494cb5(_0x2ca265,_0x27f7a9,_0x194c9c);let _0x229a5d=class extends _0x23a58e[_0x101803(0x269)]{constructor(_0x2d56d6,_0x26ad89,_0x5d5a47,_0x48845b,_0x167c5b){const _0x1319b2=_0x101803;super(),_0x4e1a2b(this,'_cursorShapes',[]),_0x4e1a2b(this,'_cursors',[]),(this[_0x1319b2(0xe8)]=_0x2d56d6,this[_0x1319b2(0x26f)]=_0x26ad89,this[_0x1319b2(0x252)]=_0x5d5a47,this['_commandService']=_0x48845b,this['_themeService']=_0x167c5b,this[_0x1319b2(0x151)]());}[_0x101803(0x151)](){const _0x5b7802=_0x101803,_0x18949c=this[_0x5b7802(0xe8)][_0x5b7802(0xf9)],_0x4a294e=this[_0x5b7802(0x26f)];this[_0x5b7802(0x10a)](_0x26f8cf[_0x5b7802(0x335)]([this['_collabCursorController']['getCollabCursors$'](_0x18949c),this[_0x5b7802(0x13f)][_0x5b7802(0x23f)]])['pipe'](_0x5378ac[_0x5b7802(0x113)](([_0x4fde15,_0x550d20])=>({'skeleton':_0x4a294e[_0x5b7802(0x22e)](),'cursors':[..._0x4fde15[_0x5b7802(0x165)]()]['flatMap'](_0x51e7ea=>({..._0x51e7ea,'color':this[_0x5b7802(0x13f)][_0x5b7802(0x1e1)](_0x51e7ea[_0x5b7802(0x338)])}))})))['subscribe'](_0x1f3cbc=>{const _0x13aadc=_0x5b7802;if(this[_0x13aadc(0x2e6)](),_0x1f3cbc){const {skeleton:_0x5d0c0f,cursors:_0x219f1d}=_0x1f3cbc;this[_0x13aadc(0x1c5)](_0x5d0c0f,_0x219f1d);}})),this[_0x5b7802(0x286)](),this[_0x5b7802(0x116)]();}['_updateCollabCursors'](_0x170ccc,_0x327f97){const _0x96145f=_0x101803,{scene:_0x1f9897,mainComponent:_0x3c3e7b}=this['_context'],_0x487876=_0x327f97['map'](_0x4081c8=>new _0xcea39(_0x4081c8,_0x1f9897,_0x170ccc,_0x3c3e7b));this[_0x96145f(0x36d)]=_0x487876,this['_cursors']=_0x327f97;}[_0x101803(0x295)](){const _0x235a53=_0x101803;this[_0x235a53(0x2e6)]();const {scene:_0x478dda,mainComponent:_0xafc0fd}=this[_0x235a53(0xe8)],_0x45f418=this[_0x235a53(0x26f)][_0x235a53(0x22e)](),_0x468b36=this[_0x235a53(0x16a)][_0x235a53(0x113)](_0x1c4064=>new _0xcea39(_0x1c4064,_0x478dda,_0x45f418,_0xafc0fd));this['_cursorShapes']=_0x468b36;}[_0x101803(0x2e6)](){const _0x476d31=_0x101803;this[_0x476d31(0x36d)]['forEach'](_0x771db=>_0x771db['dispose']()),this[_0x476d31(0x36d)]=[];}['_initCommandExecutedListener'](){const _0x40a6e2=_0x101803,_0x59a3d6=[_0x5805c3['SetDocZoomRatioOperation']['id']];this[_0x40a6e2(0x10a)](this['_commandService'][_0x40a6e2(0x19b)](_0x30308d=>{const _0x1151e9=_0x40a6e2;_0x59a3d6[_0x1151e9(0x11a)](_0x30308d['id'])&&_0x30308d[_0x1151e9(0x298)][_0x1151e9(0xf9)]===this[_0x1151e9(0xe8)][_0x1151e9(0xf9)]&&this[_0x1151e9(0x295)]();}));}['_initResize'](){const _0x28208b=_0x101803;this[_0x28208b(0x10a)](_0x23a58e[_0x28208b(0x24a)](this[_0x28208b(0xe8)]['engine'][_0x28208b(0x14f)])[_0x28208b(0x262)](_0x5378ac[_0x28208b(0x190)](_0x3003fa=>_0x3003fa['type']===_0x379bf1['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x28208b(0x110)]),_0x5378ac[_0x28208b(0x2e7)](0x10))['subscribe'](()=>{const _0x3b415c=_0x28208b;this[_0x3b415c(0x295)]();}));}};_0x229a5d=_0x568095([_0x47cfe1(0x1,_0x23a58e[_0x101803(0x112)](_0x1495f4['DocSkeletonManagerService'])),_0x47cfe1(0x2,_0x23a58e[_0x101803(0x112)](_0x1b9c1f)),_0x47cfe1(0x3,_0x23a58e[_0x101803(0x319)]),_0x47cfe1(0x4,_0x23a58e[_0x101803(0x112)](_0x23a58e['ThemeService']))],_0x229a5d);const _0xa6dffd=0x1,_0x3d6725=1.5;class _0x40c543 extends _0x379bf1[_0x101803(0x11f)]{constructor(_0x563b97,_0xa61d76){const _0x5a8a85=_0x101803;super(_0x563b97,_0xa61d76),_0x4e1a2b(this,_0x5a8a85(0x258)),_0x4e1a2b(this,_0x5a8a85(0x10f),!0x1),_0x4e1a2b(this,'_range'),_0x4e1a2b(this,_0x5a8a85(0x1ce),''),_0x4e1a2b(this,_0x5a8a85(0x131),'top'),_0x4e1a2b(this,_0x5a8a85(0x290)),(_0xa61d76&&this[_0x5a8a85(0x28f)](_0xa61d76),this[_0x5a8a85(0x35f)][_0x5a8a85(0xc9)](()=>this[_0x5a8a85(0x28f)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5a8a85(0xc9)](()=>this[_0x5a8a85(0x28f)]({'hovered':!0x1})));}[_0x101803(0x28f)](_0x210361){const _0x50df22=_0x101803;var _0x1c82a8,_0xd84b7f,_0x2c8cbe,_0x8cac1d,_0x140fad,_0x3050a6;this['_color']=(_0x1c82a8=_0x210361[_0x50df22(0x338)])!=null?_0x1c82a8:this[_0x50df22(0x258)],this[_0x50df22(0x10f)]=(_0xd84b7f=_0x210361[_0x50df22(0x29c)])!=null?_0xd84b7f:this[_0x50df22(0x10f)],this[_0x50df22(0x32d)]=(_0x2c8cbe=_0x210361[_0x50df22(0x161)])!=null?_0x2c8cbe:this[_0x50df22(0x32d)],this[_0x50df22(0x1ce)]=(_0x8cac1d=_0x210361[_0x50df22(0x18f)])!=null?_0x8cac1d:this[_0x50df22(0x1ce)],this['_labelPosition']=(_0x140fad=_0x210361[_0x50df22(0x2f9)])!=null?_0x140fad:this['_labelPosition'],this[_0x50df22(0x290)]=(_0x3050a6=_0x210361[_0x50df22(0x162)])!=null?_0x3050a6:this[_0x50df22(0x290)],this['transformByState']({'width':_0x210361[_0x50df22(0x280)],'height':_0x210361[_0x50df22(0x1cb)]});}[_0x101803(0x36b)](_0xb5c2da){const _0xb4a755=_0x101803,{row:_0x4767fe,column:_0x322e16}=_0xb5c2da;if(_0x4767fe>=this[_0xb4a755(0x32d)]['startRow']&&_0x4767fe<=this[_0xb4a755(0x32d)][_0xb4a755(0x204)]&&_0x322e16>=this[_0xb4a755(0x32d)][_0xb4a755(0x14b)]&&_0x322e16<=this[_0xb4a755(0x32d)][_0xb4a755(0x104)]){this[_0xb4a755(0x28f)]({'hovered':!0x0});return;}this[_0xb4a755(0x28f)]({'hovered':!0x1});}['triggerDblclick'](_0x2c388c){return!0x1;}[_0x101803(0x331)](_0x3a5f2c){const _0x336465=_0x101803;_0x379bf1['Rect'][_0x336465(0x237)](_0x3a5f2c,{'width':this['width'],'height':this[_0x336465(0x1cb)],'strokeWidth':_0x3d6725,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x336465(0x290)]}),this[_0x336465(0x10f)]&&(_0x3a5f2c[_0x336465(0x236)](),_0x3a5f2c['transform'](0x1,0x0,0x0,0x1,this[_0x336465(0x280)],this['_labelPosition']===_0x336465(0x179)?0x0:-0x14),_0x3bc499[_0x336465(0x237)](_0x3a5f2c,{'text':this[_0x336465(0x1ce)],'color':this[_0x336465(0x258)]}),_0x3a5f2c[_0x336465(0x27f)]());}}var _0x2a6422=Object[_0x101803(0x322)],_0x2e3d9b=(_0x20af75,_0x2190e5,_0x418874,_0x274821)=>{const _0x5c4007=_0x101803;for(var _0x43fe62=_0x274821>0x1?void 0x0:_0x274821?_0x2a6422(_0x2190e5,_0x418874):_0x2190e5,_0x3dc6a6=_0x20af75[_0x5c4007(0xed)]-0x1,_0x2d0c54;_0x3dc6a6>=0x0;_0x3dc6a6--)(_0x2d0c54=_0x20af75[_0x3dc6a6])&&(_0x43fe62=_0x2d0c54(_0x43fe62)||_0x43fe62);return _0x43fe62;},_0x24570e=(_0x1ac1a0,_0x225ce7)=>(_0x415d92,_0x26cf46)=>_0x225ce7(_0x415d92,_0x26cf46,_0x1ac1a0);const _0x49bcb3=0x1389;let _0x4400ef=class extends _0x23a58e[_0x101803(0x269)]{constructor(_0x255633,_0x5e2473,_0x37d4ba,_0x44f24e){const _0x33f395=_0x101803;super(),_0x4e1a2b(this,_0x33f395(0x16a),new Set()),_0x4e1a2b(this,_0x33f395(0x244),null),(this[_0x33f395(0xe8)]=_0x255633,this[_0x33f395(0x35a)]=_0x5e2473,this[_0x33f395(0x252)]=_0x37d4ba,this['_themeService']=_0x44f24e,this[_0x33f395(0x151)]());}[_0x101803(0x151)](){const _0x4f00b9=_0x101803;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x5378ac['takeUntil'](this[_0x4f00b9(0x28a)]),_0x5378ac['switchMap'](_0x3c3f22=>{const _0x5578bd=_0x4f00b9;if(_0x3c3f22){const _0x504d2d=_0x3c3f22[_0x5578bd(0x305)];return _0x26f8cf[_0x5578bd(0x335)](this[_0x5578bd(0x252)][_0x5578bd(0x2fa)](this['_context'][_0x5578bd(0xf9)]),this[_0x5578bd(0x13f)][_0x5578bd(0x23f)])[_0x5578bd(0x262)](_0x5378ac['map'](([_0x12f9f1,_0x43a4de])=>{const _0xc916f4=_0x5578bd,_0x1cc6d9=new Map();return _0x12f9f1[_0xc916f4(0xe1)]((_0x7789dd,_0x1c9c1f)=>{const _0x5235a7=_0xc916f4;if(_0x7789dd[_0x5235a7(0x28b)]===_0x504d2d){const _0xc3aaa6={..._0x7789dd};_0xc3aaa6[_0x5235a7(0x338)]=this[_0x5235a7(0x13f)][_0x5235a7(0x1e1)](_0x7789dd['color']),_0x1cc6d9[_0x5235a7(0x230)](_0x1c9c1f,_0xc3aaa6);}}),{'skeleton':_0x3c3f22,'cursors':_0x1cc6d9};}));}return _0x26f8cf['of']({'skeleton':null,'cursors':new Map()});}))[_0x4f00b9(0x2a7)](({skeleton:_0x428f2c,cursors:_0x4352d9})=>{const _0x511fc6=_0x4f00b9;this[_0x511fc6(0x2e6)](),_0x428f2c&&this['_updateCollabCursors'](_0x428f2c,_0x4352d9);}),this[_0x4f00b9(0x35a)][_0x4f00b9(0x15f)][_0x4f00b9(0x2a7)](_0x161473=>{const _0x4340c8=_0x4f00b9;if(_0x161473==null)return;const {skeleton:_0x578e8b}=_0x161473,{scene:_0x3f5993}=this[_0x4340c8(0xe8)];_0x3f5993['onPointerMove$']['subscribeEvent'](_0x23a58e[_0x4340c8(0x13e)](_0x5b71a0=>{const _0x1aa404=_0x4340c8;var _0x4a693b,_0x32de34;const {offsetX:_0x2311a4,offsetY:_0x447326}=_0x5b71a0,{x:_0x507712,y:_0x55414e}=_0x3f5993['getRelativeToViewportCoord'](_0x379bf1[_0x1aa404(0x1d8)]['FromArray']([_0x2311a4,_0x447326])),{scaleX:_0x504af8,scaleY:_0x411a41}=_0x3f5993[_0x1aa404(0x1d5)](),_0x1a0370=_0x3f5993[_0x1aa404(0x1e7)](_0x379bf1[_0x1aa404(0x22c)]['VIEW_MAIN']),_0x144956=_0x3f5993[_0x1aa404(0x318)](_0x379bf1[_0x1aa404(0x1d8)]['FromArray']([_0x507712,_0x55414e]),_0x1a0370),_0x2f606c=_0x578e8b[_0x1aa404(0x1e3)](_0x2311a4,_0x447326,_0x504af8,_0x411a41,_0x144956);((_0x4a693b=this[_0x1aa404(0x244)])==null?void 0x0:_0x4a693b[_0x1aa404(0x19f)])===_0x2f606c[_0x1aa404(0x19f)]&&((_0x32de34=this[_0x1aa404(0x244)])==null?void 0x0:_0x32de34[_0x1aa404(0x15c)])===_0x2f606c[_0x1aa404(0x15c)]||this['_cursors']['forEach'](_0x3a7822=>{const _0x480d30=_0x1aa404;_0x3a7822[_0x480d30(0x36b)](_0x2f606c);});},0x64));});}[_0x101803(0x1c5)](_0x1ec14b,_0x8e2ef){const _0x130f85=_0x101803;var _0x4f1e9c;const _0xbd5b45=(_0x4f1e9c=this[_0x130f85(0x35a)][_0x130f85(0x284)]())==null?void 0x0:_0x4f1e9c[_0x130f85(0x2d6)];if(!_0xbd5b45)return;const _0x5d40d2=this['_getSheetObject']();if(!_0x5d40d2)return;this['_cursors'][_0x130f85(0xe1)](_0x3abd82=>{const _0x472127=_0x130f85;_0x3abd82[_0x472127(0x101)]();});const {scene:_0x592edd}=_0x5d40d2,_0x41c070=_0x1161f2(Array[_0x130f85(0x184)](_0x8e2ef[_0x130f85(0x165)]()))[_0x130f85(0x113)](_0x3fcf0b=>{const _0x58d225=_0x130f85,{color:_0x2029e6,range:_0x390c5a,name:_0x2bec7d,selection:_0x21d5ac,sheetID:_0x563aea}=_0x3fcf0b,{startColumn:_0x2039a3,startRow:_0xe0c98d,endColumn:_0x14a772,endRow:_0x4b95c6}=_0x390c5a,_0x57a4c0=_0x2176b9[_0x58d225(0x188)](_0xe0c98d,_0x2039a3,_0x592edd,_0xbd5b45),_0x13e83c=_0x2176b9[_0x58d225(0x188)](_0x4b95c6,_0x14a772,_0x592edd,_0xbd5b45),{columnHeaderHeightAndMarginTop:_0x356e16}=_0xbd5b45,{startX:_0x3c56f8,startY:_0x5b42e1}=_0x57a4c0,{endX:_0x4c5518,endY:_0x6f4e0c}=_0x13e83c,_0x4e3d40=_0x4c5518-_0x3c56f8,_0x3fffea=_0x6f4e0c-_0x5b42e1,_0x1f941d={'labelPosition':_0x5b42e1-_0x356e16>=_0x546034?_0x58d225(0x164):_0x58d225(0x179),'sheetID':_0x563aea,'range':_0x390c5a,'color':_0x2029e6,'name':_0x2bec7d,'selection':_0x21d5ac,'left':_0x3c56f8,'top':_0x5b42e1,'width':_0x4e3d40,'height':_0x3fffea,'evented':!0x1,'zIndex':_0x49bcb3};return new _0x40c543(_0x2bec7d,_0x1f941d);});_0x592edd[_0x130f85(0xd3)](_0x41c070,_0xa6dffd),this[_0x130f85(0x16a)]=new Set(_0x41c070);}['_removeCollabCursors'](){const _0x36e36e=_0x101803;var _0x4cd74a;(_0x4cd74a=this[_0x36e36e(0x16a)])==null||_0x4cd74a['forEach'](_0x595391=>_0x595391[_0x36e36e(0x142)]());}['_getSheetObject'](){const _0x3c0941=_0x101803;return _0x2176b9['getSheetObject'](this[_0x3c0941(0xe8)][_0x3c0941(0x1a8)],this[_0x3c0941(0xe8)]);}};_0x4400ef=_0x2e3d9b([_0x24570e(0x1,_0x23a58e[_0x101803(0x112)](_0x2176b9[_0x101803(0x176)])),_0x24570e(0x2,_0x23a58e[_0x101803(0x112)](_0x1b9c1f)),_0x24570e(0x3,_0x23a58e[_0x101803(0x112)](_0x23a58e[_0x101803(0x272)]))],_0x4400ef);function _0x1161f2(_0x5377be){const _0x91d949=_0x101803,_0x4ee1a9=new Map();return _0x5377be[_0x91d949(0xe1)](_0x4d29a1=>{const _0x223270=_0x91d949;if(_0x4ee1a9[_0x223270(0x218)](_0x4d29a1[_0x223270(0xc8)])){const _0x471a4e=_0x4ee1a9[_0x223270(0x167)](_0x4d29a1['selection']);_0x471a4e[_0x223270(0x18f)]+=',\x20'+_0x4d29a1['name'];}else _0x4ee1a9['set'](_0x4d29a1['selection'],_0x4d29a1);}),Array[_0x91d949(0x184)](_0x4ee1a9['values']());}var _0x302d9e=function(){const _0x1b2996=_0x101803;return _0x302d9e=Object[_0x1b2996(0x2c8)]||function(_0x9c7c32){const _0x5278d3=_0x1b2996;for(var _0x97afaa,_0x21f7d9=0x1,_0x4e0edb=arguments[_0x5278d3(0xed)];_0x21f7d9<_0x4e0edb;_0x21f7d9++){_0x97afaa=arguments[_0x21f7d9];for(var _0x44e75e in _0x97afaa)Object[_0x5278d3(0x1ab)][_0x5278d3(0x12e)][_0x5278d3(0x342)](_0x97afaa,_0x44e75e)&&(_0x9c7c32[_0x44e75e]=_0x97afaa[_0x44e75e]);}return _0x9c7c32;},_0x302d9e[_0x1b2996(0x354)](this,arguments);},_0x385c08=function(_0x2ca0db,_0x1b8272){const _0x16820d=_0x101803;var _0x5a2980={};for(var _0x1069cd in _0x2ca0db)Object['prototype']['hasOwnProperty'][_0x16820d(0x342)](_0x2ca0db,_0x1069cd)&&_0x1b8272[_0x16820d(0x24c)](_0x1069cd)<0x0&&(_0x5a2980[_0x1069cd]=_0x2ca0db[_0x1069cd]);if(_0x2ca0db!=null&&typeof Object['getOwnPropertySymbols']==_0x16820d(0x19d)){for(var _0x482514=0x0,_0x1069cd=Object[_0x16820d(0x304)](_0x2ca0db);_0x482514<_0x1069cd['length'];_0x482514++)_0x1b8272['indexOf'](_0x1069cd[_0x482514])<0x0&&Object[_0x16820d(0x1ab)][_0x16820d(0xfa)][_0x16820d(0x342)](_0x2ca0db,_0x1069cd[_0x482514])&&(_0x5a2980[_0x1069cd[_0x482514]]=_0x2ca0db[_0x1069cd[_0x482514]]);}return _0x5a2980;},_0x57eccf=_0x1eeeec[_0x101803(0xf5)](function(_0x4c5b4e,_0x503f35){const _0x54ddd8=_0x101803;var _0x4e5771=_0x4c5b4e[_0x54ddd8(0xd2)],_0x488448=_0x4c5b4e['id'],_0x258a10=_0x4c5b4e['className'],_0x18a4f2=_0x4c5b4e['extend'],_0x395a93=_0x385c08(_0x4c5b4e,['icon','id',_0x54ddd8(0x175),_0x54ddd8(0x326)]),_0x4e99aa=_0x54ddd8(0x1f0)[_0x54ddd8(0x12c)](_0x488448,'\x20')[_0x54ddd8(0x12c)](_0x258a10||'')[_0x54ddd8(0x297)](),_0x7feee8=_0x1eeeec['useRef']('_'[_0x54ddd8(0x12c)](_0x9586f0()));return _0x1e3e8b(_0x4e5771,''[_0x54ddd8(0x12c)](_0x488448),{'defIds':_0x4e5771[_0x54ddd8(0x33d)],'idSuffix':_0x7feee8['current']},_0x302d9e({'ref':_0x503f35,'className':_0x4e99aa},_0x395a93),_0x18a4f2);});function _0x1e3e8b(_0x1dc79e,_0x1a0ce4,_0x26b6d7,_0x679c73,_0xa21b75){const _0x453728=_0x101803;return _0x1eeeec['createElement'](_0x1dc79e['tag'],_0x302d9e(_0x302d9e({'key':_0x1a0ce4},_0x3caf5f(_0x1dc79e,_0x26b6d7,_0xa21b75)),_0x679c73),(_0x1a3b3c(_0x1dc79e,_0x26b6d7)[_0x453728(0x275)]||[])[_0x453728(0x113)](function(_0x3761f6,_0x224447){const _0xc65792=_0x453728;return _0x1e3e8b(_0x3761f6,''['concat'](_0x1a0ce4,'-')[_0xc65792(0x12c)](_0x1dc79e[_0xc65792(0x10e)],'-')['concat'](_0x224447),_0x26b6d7,void 0x0,_0xa21b75);}));}function _0x3caf5f(_0x4fdb5f,_0x461702,_0x3abe05){const _0x40c2bb=_0x101803;var _0x1c7c5f=_0x302d9e({},_0x4fdb5f[_0x40c2bb(0xf8)]);_0x3abe05!=null&&_0x3abe05[_0x40c2bb(0x185)]&&_0x1c7c5f['fill']==='colorChannel1'&&(_0x1c7c5f[_0x40c2bb(0x13b)]=_0x3abe05[_0x40c2bb(0x185)]),_0x4fdb5f['tag']==='mask'&&_0x1c7c5f['id']&&(_0x1c7c5f['id']=_0x1c7c5f['id']+_0x461702[_0x40c2bb(0x285)]),Object[_0x40c2bb(0x1ec)](_0x1c7c5f)[_0x40c2bb(0xe1)](function(_0xc543bf){const _0x341e3b=_0x40c2bb;var _0x3f63f4=_0xc543bf[0x0],_0x4262ce=_0xc543bf[0x1];_0x3f63f4==='mask'&&typeof _0x4262ce==_0x341e3b(0x1df)&&(_0x1c7c5f[_0x3f63f4]=_0x4262ce[_0x341e3b(0x1e0)](/url\(#(.*)\)/,_0x341e3b(0x1b7)['concat'](_0x461702['idSuffix'],')')));});var _0x808781=_0x461702[_0x40c2bb(0x33d)];return!_0x808781||_0x808781['length']===0x0||(_0x4fdb5f[_0x40c2bb(0x10e)]===_0x40c2bb(0x20a)&&_0x1c7c5f['xlink:href']&&(_0x1c7c5f['xlink:href']=_0x1c7c5f[_0x40c2bb(0xf0)]+_0x461702[_0x40c2bb(0x285)]),Object[_0x40c2bb(0x1ec)](_0x1c7c5f)[_0x40c2bb(0xe1)](function(_0x5d3359){const _0x1e2633=_0x40c2bb;var _0x42102d=_0x5d3359[0x0],_0x320c5e=_0x5d3359[0x1];typeof _0x320c5e==_0x1e2633(0x1df)&&(_0x1c7c5f[_0x42102d]=_0x320c5e['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1e2633(0x12c)](_0x461702[_0x1e2633(0x285)],')')));})),_0x1c7c5f;}function _0x1a3b3c(_0x64ef9e,_0x412db0){const _0x387dd5=_0x101803;var _0x5a391a,_0xd6dbea=_0x412db0['defIds'];return!_0xd6dbea||_0xd6dbea[_0x387dd5(0xed)]===0x0?_0x64ef9e:_0x64ef9e[_0x387dd5(0x10e)]===_0x387dd5(0xe3)&&(!((_0x5a391a=_0x64ef9e[_0x387dd5(0x275)])===null||_0x5a391a===void 0x0)&&_0x5a391a['length'])?_0x302d9e(_0x302d9e({},_0x64ef9e),{'children':_0x64ef9e[_0x387dd5(0x275)][_0x387dd5(0x113)](function(_0x388516){const _0xf2ba2d=_0x387dd5;return typeof _0x388516[_0xf2ba2d(0xf8)]['id']==_0xf2ba2d(0x1df)&&_0xd6dbea&&_0xd6dbea['includes'](_0x388516[_0xf2ba2d(0xf8)]['id'])?_0x302d9e(_0x302d9e({},_0x388516),{'attrs':_0x302d9e(_0x302d9e({},_0x388516[_0xf2ba2d(0xf8)]),{'id':_0x388516[_0xf2ba2d(0xf8)]['id']+_0x412db0['idSuffix']})}):_0x388516;})}):_0x64ef9e;}function _0x9586f0(){const _0x2e52c3=_0x101803;return Math[_0x2e52c3(0x362)]()[_0x2e52c3(0x1cf)](0x24)[_0x2e52c3(0x187)](0x2,0x8);}_0x57eccf['displayName']=_0x101803(0x1c7);var _0x23ffe2={'tag':_0x101803(0x17a),'attrs':{'xmlns':_0x101803(0x301),'fill':_0x101803(0x332),'viewBox':'0\x200\x2016\x2016','width':_0x101803(0x24f),'height':_0x101803(0x24f)},'children':[{'tag':'g','attrs':{'clipPath':_0x101803(0x1d0)},'children':[{'tag':_0x101803(0x30a),'attrs':{'stroke':_0x101803(0x2c4),'d':_0x101803(0x355),'strokeLinecap':_0x101803(0xee),'strokeLinejoin':_0x101803(0xee),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x101803(0x2bc),'attrs':{'id':_0x101803(0x202)},'children':[{'tag':'path','attrs':{'fill':_0x101803(0xf7),'d':_0x101803(0x25e)}}]}]}],'defIds':[_0x101803(0x202)]},_0x39d489=_0x1eeeec[_0x101803(0xf5)](function(_0x2de47a,_0x4223d7){const _0x32fc49=_0x101803;return _0x1eeeec['createElement'](_0x57eccf,Object[_0x32fc49(0x2c8)]({},_0x2de47a,{'id':_0x32fc49(0x2af),'ref':_0x4223d7,'icon':_0x23ffe2}));});_0x39d489[_0x101803(0x340)]=_0x101803(0xce);var _0x4acf38={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x101803(0x332),'viewBox':_0x101803(0x2fd),'width':_0x101803(0x24f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x101803(0x2f6)},'children':[{'tag':_0x101803(0x30a),'attrs':{'stroke':_0x101803(0x2c4),'d':_0x101803(0x125),'strokeLinecap':_0x101803(0xee),'strokeLinejoin':_0x101803(0xee),'strokeWidth':1.2}}]},{'tag':_0x101803(0xe3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x101803(0x129)},'children':[{'tag':'path','attrs':{'fill':_0x101803(0xf7),'d':_0x101803(0x25e),'transform':'translate(.97)'}}]}]}],'defIds':[_0x101803(0x129)]},_0x2d8c0f=_0x1eeeec[_0x101803(0xf5)](function(_0x18bcef,_0xc06188){const _0x4c2ec8=_0x101803;return _0x1eeeec[_0x4c2ec8(0x33e)](_0x57eccf,Object[_0x4c2ec8(0x2c8)]({},_0x18bcef,{'id':'on-line-icon','ref':_0xc06188,'icon':_0x4acf38}));});_0x2d8c0f[_0x101803(0x340)]=_0x101803(0x124);function _0x59d850(_0x3f6934){const _0xb9d49f=_0x101803;switch(_0x3f6934){case _0x9092af[_0xb9d49f(0x2a5)]['OFFLINE']:return _0xb9d49f(0x2de);case _0x9092af[_0xb9d49f(0x2a5)][_0xb9d49f(0x317)]:return'collabStatus.conflict';case _0x9092af[_0xb9d49f(0x2a5)][_0xb9d49f(0xde)]:return _0xb9d49f(0x181);case _0x9092af[_0xb9d49f(0x2a5)][_0xb9d49f(0x2e9)]:return'collabStatus.notCollab';case _0x9092af[_0xb9d49f(0x2a5)][_0xb9d49f(0x348)]:case _0x9092af[_0xb9d49f(0x2a5)][_0xb9d49f(0x1f8)]:return _0xb9d49f(0x138);case _0x9092af[_0xb9d49f(0x2a5)][_0xb9d49f(0x157)]:case _0x9092af['CollaborationStatus']['PENDING']:return _0xb9d49f(0x222);}}function _0x181297(_0x481eb5){const _0xe6f8e=_0x101803,{status$:_0x3c5a0c}=_0x481eb5,_0x38dafd=_0x41f03c[_0xe6f8e(0x235)](_0x3c5a0c,_0x9092af[_0xe6f8e(0x2a5)][_0xe6f8e(0x2e9)]),_0x5c8b3c=_0x41f03c[_0xe6f8e(0x341)](_0x23a58e[_0xe6f8e(0x2b2)]),_0x4c78f6=_0x41f03c['useDependency'](_0x9092af[_0xe6f8e(0x2bd)]),_0x11c363=_0x38dafd!==_0x9092af[_0xe6f8e(0x2a5)][_0xe6f8e(0x144)],_0xd0a75=_0x5c8b3c['t'](_0x59d850(_0x38dafd)),_0x1a0c21=_0x11c363?_0xa5785['jsx'](_0x2d8c0f,{}):_0xa5785[_0xe6f8e(0x28c)](_0x39d489,{}),_0x34fd60=_0x1eeeec[_0xe6f8e(0x1c2)](()=>{const _0x536542=_0xe6f8e;_0x11c363||_0x4c78f6[_0x536542(0x357)]();},[_0x11c363,_0x4c78f6]);function _0x11b337(){const _0x4058ae=_0xe6f8e;return _0xa5785['jsxs'](_0x4058ae(0xfd),{'className':_0x4058ae(0x117),'onClick':_0x34fd60,'children':[_0xa5785['jsx']('div',{'className':_0x443a49[_0x4058ae(0x2ba)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x11c363,'univer-text-red-500':!_0x11c363}),'children':_0x1a0c21}),_0xa5785[_0x4058ae(0x28c)](_0x4058ae(0xfd),{'className':_0x4058ae(0x1f7),'children':_0xd0a75})]});}return _0x11c363?_0x11b337():_0xa5785['jsx'](_0x443a49['Tooltip'],{'title':_0x5c8b3c['t'](_0xe6f8e(0x11b)),'children':_0x11b337()});}var _0x1d202c=Object[_0x101803(0x322)],_0x326c8b=(_0x3ce2f9,_0x52125d,_0x2d8562,_0x5d5d98)=>{const _0x46c951=_0x101803;for(var _0x33ff13=_0x5d5d98>0x1?void 0x0:_0x5d5d98?_0x1d202c(_0x52125d,_0x2d8562):_0x52125d,_0x40f790=_0x3ce2f9[_0x46c951(0xed)]-0x1,_0x492a99;_0x40f790>=0x0;_0x40f790--)(_0x492a99=_0x3ce2f9[_0x40f790])&&(_0x33ff13=_0x492a99(_0x33ff13)||_0x33ff13);return _0x33ff13;},_0x3c3fd6=(_0x560892,_0x3e151a)=>(_0x48444f,_0x6db75e)=>_0x3e151a(_0x48444f,_0x6db75e,_0x560892);_0x397186['DesktopCollaborationStatusDisplayController']=class extends _0x23a58e[_0x101803(0xcc)]{constructor(_0x3805e0,_0x3e914f,_0x549f0a,_0x7ebec5){const _0x57110e=_0x101803;super(),_0x4e1a2b(this,_0x57110e(0x186),new _0x26f8cf[(_0x57110e(0x1cc))](_0x9092af[_0x57110e(0x2a5)][_0x57110e(0x2e9)])),(this[_0x57110e(0x247)]=_0x3805e0,this[_0x57110e(0x1c4)]=_0x3e914f,this[_0x57110e(0x299)]=_0x549f0a,this[_0x57110e(0x19a)]=_0x7ebec5,this[_0x57110e(0x2a9)](),this[_0x57110e(0x2b9)]());}[_0x101803(0x2b9)](){const _0x30d777=_0x101803;this[_0x30d777(0x10a)](this[_0x30d777(0x247)][_0x30d777(0x312)][_0x30d777(0x262)](_0x26f8cf[_0x30d777(0x11e)](()=>{const _0x314a42=_0x30d777,_0x1da348=this['_univerInstanceService'][_0x314a42(0x15a)]();return _0x1da348?this[_0x314a42(0x299)][_0x314a42(0xcb)](_0x1da348[_0x314a42(0x311)]()):_0x26f8cf['of'](null);}),_0x26f8cf['switchMap'](_0x363e75=>_0x363e75?_0x363e75[_0x30d777(0x232)]:_0x26f8cf['of'](_0x9092af[_0x30d777(0x2a5)][_0x30d777(0x2e9)])))[_0x30d777(0x2a7)](_0x169ad3=>{const _0x4cebad=_0x30d777;this[_0x4cebad(0x186)][_0x4cebad(0x1f6)](_0x169ad3);}));}[_0x101803(0x2a9)](){const _0x6f0a06=_0x101803;this[_0x6f0a06(0x10a)](this[_0x6f0a06(0x19a)][_0x6f0a06(0x20c)](_0x41f03c[_0x6f0a06(0x246)][_0x6f0a06(0x2ad)],()=>_0x41f03c[_0x6f0a06(0x313)](_0x29cb32({'status$':this[_0x6f0a06(0x186)][_0x6f0a06(0x19c)]()}),this['_injector'])));}},_0x397186[_0x101803(0x15d)]=_0x326c8b([_0x3c3fd6(0x0,_0x23a58e[_0x101803(0x31f)]),_0x3c3fd6(0x1,_0x23a58e[_0x101803(0x112)](_0x23a58e['Injector'])),_0x3c3fd6(0x2,_0x23a58e[_0x101803(0x112)](_0x9092af[_0x101803(0x1ff)])),_0x3c3fd6(0x3,_0x41f03c[_0x101803(0x2cf)])],_0x397186['DesktopCollaborationStatusDisplayController']);function _0x29cb32(_0x3d77e4){const {status$:_0x4bd1d2}=_0x3d77e4;return function(){const _0x1e7f98=_0x2147;return _0xa5785[_0x1e7f98(0x28c)](_0x181297,{'status$':_0x4bd1d2});};}var _0x605d1c=Object[_0x101803(0x322)],_0x422bcc=(_0x2fd52f,_0x15ed95,_0xb8d295,_0x4aaab4)=>{const _0x1ed613=_0x101803;for(var _0x5c2997=_0x4aaab4>0x1?void 0x0:_0x4aaab4?_0x605d1c(_0x15ed95,_0xb8d295):_0x15ed95,_0x50d7c1=_0x2fd52f[_0x1ed613(0xed)]-0x1,_0x28d797;_0x50d7c1>=0x0;_0x50d7c1--)(_0x28d797=_0x2fd52f[_0x50d7c1])&&(_0x5c2997=_0x28d797(_0x5c2997)||_0x5c2997);return _0x5c2997;},_0x26453c=(_0xa2c6cb,_0x21fc44)=>(_0x2ed88a,_0x2b2185)=>_0x21fc44(_0x2ed88a,_0x2b2185,_0xa2c6cb);let _0x285f58=class extends _0x23a58e[_0x101803(0xcc)]{constructor(_0x1eec2a,_0x3398f5,_0xd978bf,_0x422483,_0xb12d93,_0x9d4b7e){const _0x1a43b7=_0x101803;super(),this[_0x1a43b7(0x1a4)]=_0x1eec2a,this['_localCacheService']=_0x3398f5,this[_0x1a43b7(0x261)]=_0xd978bf,this[_0x1a43b7(0x2d8)]=_0x422483,this[_0x1a43b7(0x2f5)]=_0xb12d93,this[_0x1a43b7(0x1b5)]=_0x9d4b7e,this[_0x1a43b7(0x36e)](),this['_initEvent']();}[_0x101803(0x36e)](){const _0x20af4b=_0x101803;this['disposeWithMe'](this[_0x20af4b(0x1a4)][_0x20af4b(0x310)](()=>{const _0x176e68=_0x20af4b;if(this[_0x176e68(0x336)]['saveTaskMap']['size'])return this['_localeService']['t'](_0x176e68(0x18a));}));}['_initEvent'](){const _0x227b5e=_0x101803;this[_0x227b5e(0x10a)](this['_collaborationUIEventService'][_0x227b5e(0x36a)][_0x227b5e(0x2a7)](_0x577e44=>{const _0x488a80=_0x227b5e;_0x577e44['id']===_0x9092af[_0x488a80(0x266)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x488a80(0x2a1)]({'type':_0x443a49['MessageType'][_0x488a80(0x159)],'content':this[_0x488a80(0x1b5)]['t'](_0x488a80(0xe5))}),_0x577e44['id']===_0x9092af[_0x488a80(0x266)][_0x488a80(0x22a)]&&this['_messageService']['show']({'type':_0x443a49[_0x488a80(0x1b6)][_0x488a80(0x159)],'content':this[_0x488a80(0x1b5)]['t'](_0x488a80(0xc6))}),_0x577e44['id']===_0x9092af[_0x488a80(0x266)][_0x488a80(0x2d7)]&&this['_notificationService'][_0x488a80(0x2a1)]({'title':this[_0x488a80(0x1b5)]['t'](_0x488a80(0x15e)),'content':this[_0x488a80(0x1b5)]['t']('permission.content'),'type':_0x488a80(0x370),'duration':0x0}),_0x577e44['id']===_0x9092af['CollaborationUIEventId'][_0x488a80(0x317)]&&this['_messageService'][_0x488a80(0x2a1)]({'type':_0x443a49[_0x488a80(0x1b6)][_0x488a80(0x26c)],'content':this['_localeService']['t'](_0x488a80(0xc6))+'('+_0x577e44[_0x488a80(0x215)]+')'}),_0x577e44['id']===_0x9092af[_0x488a80(0x266)][_0x488a80(0x1ed)]&&this['_messageService'][_0x488a80(0x2a1)]({'type':_0x443a49[_0x488a80(0x1b6)][_0x488a80(0x159)],'content':this[_0x488a80(0x1b5)]['t'](_0x577e44[_0x488a80(0x215)]||'')}),_0x577e44['id']===_0x9092af[_0x488a80(0x266)][_0x488a80(0xd4)]&&this[_0x488a80(0x2d8)][_0x488a80(0x2a1)]({'type':_0x443a49[_0x488a80(0x1b6)][_0x488a80(0x159)],'content':this[_0x488a80(0x1b5)]['t'](_0x488a80(0x2ca))}),_0x577e44['id']===_0x9092af[_0x488a80(0x266)][_0x488a80(0x2e2)]&&this[_0x488a80(0x2d8)][_0x488a80(0x2a1)]({'type':_0x443a49[_0x488a80(0x1b6)]['Error'],'content':this['_localeService']['t'](_0x488a80(0x20e))}),_0x577e44['id']===_0x9092af[_0x488a80(0x266)][_0x488a80(0x2d4)]&&this[_0x488a80(0x2d8)]['show']({'type':_0x443a49[_0x488a80(0x1b6)][_0x488a80(0x26c)],'content':this[_0x488a80(0x1b5)]['t'](_0x488a80(0x156))});}));}};_0x285f58=_0x422bcc([_0x26453c(0x0,_0x41f03c[_0x101803(0x173)]),_0x26453c(0x1,_0x9092af[_0x101803(0x169)]),_0x26453c(0x2,_0x23a58e[_0x101803(0x112)](_0x9092af[_0x101803(0x1fd)])),_0x26453c(0x3,_0x41f03c['IMessageService']),_0x26453c(0x4,_0x41f03c['INotificationService']),_0x26453c(0x5,_0x23a58e[_0x101803(0x112)](_0x23a58e[_0x101803(0x2b2)]))],_0x285f58);const _0x4e5211=_0x101803(0x1d1),_0xbc1600={},_0x4eff34=_0x23a58e[_0x101803(0x127)](_0x101803(0x14e));var _0x2f9de3=Object['getOwnPropertyDescriptor'],_0x32359=(_0x3c3e62,_0x561f66,_0x4b7942,_0x26901b)=>{for(var _0x43d99a=_0x26901b>0x1?void 0x0:_0x26901b?_0x2f9de3(_0x561f66,_0x4b7942):_0x561f66,_0x3acfa0=_0x3c3e62['length']-0x1,_0x25cd5f;_0x3acfa0>=0x0;_0x3acfa0--)(_0x25cd5f=_0x3c3e62[_0x3acfa0])&&(_0x43d99a=_0x25cd5f(_0x43d99a)||_0x43d99a);return _0x43d99a;},_0x3aa6e6=(_0x412860,_0x2208aa)=>(_0x1d893f,_0x5dd3a4)=>_0x2208aa(_0x1d893f,_0x5dd3a4,_0x412860);_0x397186[_0x101803(0x201)]=class extends _0x23a58e[_0x101803(0x269)]{constructor(_0x3a3568,_0x286f5f,_0x4411bb,_0x1c04d6,_0x45c7ce){const _0x4cb156=_0x101803;super(),this['_urlService']=_0x3a3568,this['_logService']=_0x286f5f,this[_0x4cb156(0x103)]=_0x4411bb,this['_dataLoaderService']=_0x1c04d6,_0x45c7ce?_0x45c7ce==null||_0x45c7ce['whenReady']()[_0x4cb156(0x228)](()=>this[_0x4cb156(0x151)]()):(this[_0x4cb156(0x18d)]['debug'](_0x4cb156(0x11c),_0x4cb156(0x33b)),this['_init']());}async[_0x101803(0x151)](){const _0x1152ba=_0x101803,_0x365591=this[_0x1152ba(0x133)][_0x1152ba(0x130)](_0x1152ba(0x1a8)),_0x302b27=this[_0x1152ba(0x133)][_0x1152ba(0x130)](_0x1152ba(0xda)),_0x5a6820=this[_0x1152ba(0x133)]['getParam']('subunit');if(!_0x365591||!_0x302b27){this[_0x1152ba(0x18d)][_0x1152ba(0x2ed)](_0x1152ba(0x11c),_0x1152ba(0x172));return;}const _0x21e26d=await this[_0x1152ba(0x327)][_0x1152ba(0x1da)](_0x365591,Number(_0x302b27),_0x5a6820);_0x21e26d&&_0x21e26d instanceof _0x23a58e[_0x1152ba(0xf2)]&&this['_setupSubUnitSync'](_0x21e26d);}async['_setupSubUnitSync'](_0x43d29f){const _0xc210e1=_0x101803;await this[_0xc210e1(0x2ef)](_0x43d29f),_0x43d29f[_0xc210e1(0xdd)]['pipe'](_0x26f8cf[_0xc210e1(0x2eb)](this['dispose$']))['subscribe'](_0x5d1e88=>{const _0x29a3d7=_0xc210e1;_0x5d1e88&&this[_0x29a3d7(0x155)](_0x5d1e88);}),this[_0xc210e1(0x133)][_0xc210e1(0x2b3)][_0xc210e1(0x262)](_0x26f8cf[_0xc210e1(0x2eb)](this['dispose$']))[_0xc210e1(0x2a7)](()=>this['_updateSubUnitFromURLParams'](_0x43d29f));}[_0x101803(0x155)](_0x46dee1,_0x3f011d=!0x1){const _0x44f615=_0x101803,_0x2fc7e2=this[_0x44f615(0x133)][_0x44f615(0x130)](_0x44f615(0x1b2));_0x46dee1[_0x44f615(0x277)]()!==_0x2fc7e2&&this[_0x44f615(0x133)][_0x44f615(0x242)]('subunit',_0x46dee1[_0x44f615(0x277)](),_0x3f011d);}async[_0x101803(0x2ef)](_0x11a4ac){const _0x192bdd=_0x101803;var _0x2adb5e;const _0x9c308d=this[_0x192bdd(0x133)][_0x192bdd(0x130)](_0x192bdd(0x1b2));if(!_0x9c308d||!_0x11a4ac[_0x192bdd(0x132)](_0x9c308d)){const _0x274080=_0x11a4ac[_0x192bdd(0x248)]()[0x0],_0x8c197a=_0x11a4ac[_0x192bdd(0x132)](_0x274080);if(!_0x8c197a)return;this[_0x192bdd(0x155)](_0x8c197a,!0x0),await this[_0x192bdd(0x103)]['executeCommand'](_0x520e17[_0x192bdd(0x1b0)]['id'],{'unitId':_0x11a4ac[_0x192bdd(0x311)](),'subUnitId':_0x274080});return;}((_0x2adb5e=_0x11a4ac[_0x192bdd(0x207)]())==null?void 0x0:_0x2adb5e[_0x192bdd(0x277)]())!==_0x9c308d&&await this[_0x192bdd(0x103)][_0x192bdd(0x210)](_0x520e17[_0x192bdd(0x1b0)]['id'],{'unitId':_0x11a4ac['getUnitId'](),'subUnitId':_0x9c308d});}},_0x397186[_0x101803(0x201)]=_0x32359([_0x3aa6e6(0x0,_0x4eff34),_0x3aa6e6(0x1,_0x23a58e[_0x101803(0x224)]),_0x3aa6e6(0x2,_0x23a58e[_0x101803(0x319)]),_0x3aa6e6(0x3,_0x23a58e[_0x101803(0x112)](_0x9092af[_0x101803(0x13c)])),_0x3aa6e6(0x4,_0x23a58e[_0x101803(0x212)](_0x133260[_0x101803(0x358)]))],_0x397186[_0x101803(0x201)]);var _0x2a3493=Object[_0x101803(0x322)],_0x82036b=(_0x488803,_0xab29be,_0x354303,_0x234f6b)=>{const _0x1c5f10=_0x101803;for(var _0x134039=_0x234f6b>0x1?void 0x0:_0x234f6b?_0x2a3493(_0xab29be,_0x354303):_0xab29be,_0x449941=_0x488803[_0x1c5f10(0xed)]-0x1,_0x3e7457;_0x449941>=0x0;_0x449941--)(_0x3e7457=_0x488803[_0x449941])&&(_0x134039=_0x3e7457(_0x134039)||_0x134039);return _0x134039;},_0xaf28f4=(_0x1db434,_0x504f42)=>(_0x4177c6,_0x1fa45c)=>_0x504f42(_0x4177c6,_0x1fa45c,_0x1db434);let _0x590d11=class{constructor(_0x593aa5,_0x1f5240,_0x215707){const _0x4602d4=_0x101803;this[_0x4602d4(0x1c4)]=_0x593aa5,this[_0x4602d4(0x315)]=_0x1f5240,this[_0x4602d4(0x36f)]=_0x215707;}[_0x101803(0x143)](_0x21fbd3){const _0x4cc1de=_0x101803;this[_0x4cc1de(0x13a)](_0x21fbd3),this[_0x4cc1de(0xdf)](_0x21fbd3);}['transformRemoteChangeset'](_0x2de71c){const _0xe1984e=_0x101803,{unitID:_0x4cd26d}=_0x2de71c,_0x4d7514=this[_0xe1984e(0x36f)][_0xe1984e(0x2ce)](_0x4cd26d)['with'](_0x5805c3[_0xe1984e(0x219)]),{redoCache:_0x3d3f6f}=_0x4d7514['getUndoRedoMutationParamsCache']();if(_0x3d3f6f[_0xe1984e(0xed)]===0x0)return _0x2de71c;let _0x55cf29=_0x23a58e[_0xe1984e(0x174)][_0xe1984e(0x140)](_0x2de71c[_0xe1984e(0x1bc)][0x0]);for(let _0x47b806=0x0;_0x47b806<_0x3d3f6f[_0xe1984e(0xed)];_0x47b806++){const _0x432b6d={'id':_0xe1984e(0x1b8),'params':{..._0x3d3f6f[_0x47b806]}},_0x4fd823=this[_0xe1984e(0x315)]['transformMutation'](_0x55cf29,_0x432b6d,!0x1);if(_0x341ea9[_0xe1984e(0x2e1)](_0x4fd823))throw _0x4fd823['error'];_0x55cf29=_0x4fd823[_0xe1984e(0xdc)];}return{..._0x23a58e['Tools']['deepClone'](_0x2de71c),'mutations':[_0x55cf29]};}[_0x101803(0x13a)](_0x4cc47c){const _0x543384=_0x101803,{unitID:_0x1c54f4}=_0x4cc47c,_0x461e90=this[_0x543384(0x36f)][_0x543384(0x2ce)](_0x1c54f4)['with'](_0x5805c3[_0x543384(0x219)]),{undoCache:_0x2bf48d,redoCache:_0x5c0c81}=_0x461e90[_0x543384(0x33f)]();if(_0x2bf48d[_0x543384(0xed)]===0x0||_0x5c0c81[_0x543384(0xed)]===0x0)return;const _0x18cf42=[],_0x178e87=[];let _0x25537d=_0x23a58e[_0x543384(0x174)][_0x543384(0x140)](_0x4cc47c[_0x543384(0x1bc)][0x0]),_0x528d4b=_0x23a58e[_0x543384(0x174)][_0x543384(0x140)](_0x4cc47c[_0x543384(0x1bc)][0x0]);for(let _0x5a3a01=_0x2bf48d[_0x543384(0xed)]-0x1;_0x5a3a01>=0x0;_0x5a3a01--){const _0x36a7a2={'id':_0x543384(0x1b8),'params':{..._0x2bf48d[_0x5a3a01]}},_0x505587={'id':'doc.mutation.rich-text-editing','params':{..._0x5c0c81[_0x5a3a01]}},_0x21bf23=this[_0x543384(0x315)][_0x543384(0x2d2)](_0x25537d,_0x36a7a2,!0x1),_0x42262d=this[_0x543384(0x315)]['transformMutation'](_0x528d4b,_0x505587,!0x1);if(_0x341ea9[_0x543384(0x2e1)](_0x21bf23))throw _0x21bf23[_0x543384(0x370)];if(_0x341ea9[_0x543384(0x2e1)](_0x42262d))throw _0x42262d[_0x543384(0x370)];_0x18cf42['unshift'](_0x21bf23['m2Prime']['params']),_0x178e87['unshift'](_0x42262d[_0x543384(0x1cd)]['params']),_0x25537d=_0x21bf23[_0x543384(0xdc)],_0x528d4b=_0x42262d[_0x543384(0xdc)];}_0x461e90['setUndoRedoMutationParamsCache']({'undoCache':_0x18cf42,'redoCache':_0x178e87});}[_0x101803(0xdf)](_0x105da9){const _0x4c500f=_0x101803,{unitID:_0x35632a}=_0x105da9,_0x1eb3b5=this[_0x4c500f(0x36f)][_0x4c500f(0x2ce)](_0x35632a)[_0x4c500f(0x1d9)](_0x5805c3['DocIMEInputManagerService']),_0x302dd1=_0x1eb3b5[_0x4c500f(0x2b0)]();if(_0x302dd1==null)return;const _0x49bc87=[{'id':_0x4c500f(0x1b8),'params':{'unitId':_0x105da9['unitID'],'actions':null,'textRanges':[_0x302dd1]}}],_0x56702f=this[_0x4c500f(0x315)]['transformMutationsWithChangeset'](_0x105da9,_0x49bc87);if(!_0x341ea9[_0x4c500f(0x17b)](_0x56702f))throw _0x56702f[_0x4c500f(0x370)];const _0x290300=_0x56702f[_0x4c500f(0x1cd)][0x0]['params'][_0x4c500f(0x2bf)];Array[_0x4c500f(0x1c0)](_0x290300)&&_0x290300[_0x4c500f(0xed)]&&_0x1eb3b5[_0x4c500f(0x107)](_0x290300[0x0]);}};_0x590d11=_0x82036b([_0xaf28f4(0x0,_0x23a58e[_0x101803(0x112)](_0x23a58e[_0x101803(0x27b)])),_0xaf28f4(0x1,_0x341ea9[_0x101803(0x31e)]),_0xaf28f4(0x2,_0x379bf1[_0x101803(0x2b4)])],_0x590d11);var _0x4097b0=Object[_0x101803(0x322)],_0x5eae55=(_0x28b177,_0x346b53,_0x20d9e9,_0x6bd199)=>{const _0x45ada7=_0x101803;for(var _0x25aeef=_0x6bd199>0x1?void 0x0:_0x6bd199?_0x4097b0(_0x346b53,_0x20d9e9):_0x346b53,_0x492a40=_0x28b177[_0x45ada7(0xed)]-0x1,_0x37609e;_0x492a40>=0x0;_0x492a40--)(_0x37609e=_0x28b177[_0x492a40])&&(_0x25aeef=_0x37609e(_0x25aeef)||_0x25aeef);return _0x25aeef;},_0x1eaa37=(_0x33e9bf,_0x1fb77f)=>(_0xc558de,_0x551f75)=>_0x1fb77f(_0xc558de,_0x551f75,_0x33e9bf);let _0x5cec26=class{constructor(_0x29aff0,_0x258d0e,_0x2f5eaf){const _0x56d6e4=_0x101803;this[_0x56d6e4(0x1c4)]=_0x29aff0,this[_0x56d6e4(0x315)]=_0x258d0e,this['_docStateChangeManagerService']=_0x2f5eaf;}[_0x101803(0x12a)](_0x5b06a3){const _0xee0586=_0x101803;this[_0xee0586(0x257)](_0x5b06a3);}[_0x101803(0x36c)](_0xf1c579){const _0x17a330=_0x101803,{unitID:_0x5b8e60}=_0xf1c579,{collaboration:_0x364f74}=this[_0x17a330(0x27d)][_0x17a330(0x349)](_0x5b8e60);if(_0x364f74[_0x17a330(0xed)]===0x0)return _0xf1c579;let _0x436df5=_0x23a58e[_0x17a330(0x174)][_0x17a330(0x140)](_0xf1c579['mutations'][0x0]);for(let _0x25ad0c=0x0;_0x25ad0c<_0x364f74[_0x17a330(0xed)];_0x25ad0c++){const _0x32090f={'id':_0x17a330(0x1b8),'params':{'unitId':_0x364f74[_0x25ad0c][_0x17a330(0xf9)],..._0x364f74[_0x25ad0c][_0x17a330(0x2f7)]}},_0x2f634c=this[_0x17a330(0x315)][_0x17a330(0x2d2)](_0x436df5,_0x32090f,!0x1);if(_0x341ea9['isTransformMutationFailure'](_0x2f634c))throw _0x2f634c[_0x17a330(0x370)];_0x436df5=_0x2f634c[_0x17a330(0xdc)];}return{..._0x23a58e[_0x17a330(0x174)][_0x17a330(0x140)](_0xf1c579),'mutations':[_0x436df5]};}['_transformHistoryAndStateStack'](_0x37f2c5){const _0x774c25=_0x101803,{unitID:_0x43395b}=_0x37f2c5,{history:_0x3ee229,collaboration:_0x5a2f4e}=this[_0x774c25(0x27d)][_0x774c25(0x349)](_0x43395b);if(_0x3ee229[_0x774c25(0xed)]===0x0&&_0x5a2f4e[_0x774c25(0xed)]===0x0)return;const _0x31aff1=[],_0x25973f=[];let _0x539e11=_0x23a58e['Tools'][_0x774c25(0x140)](_0x37f2c5[_0x774c25(0x1bc)][0x0]),_0x540371=_0x23a58e['Tools'][_0x774c25(0x140)](_0x37f2c5['mutations'][0x0]);for(let _0x5a26df=_0x3ee229['length']-0x1;_0x5a26df>=0x0;_0x5a26df--){const _0x6e76f2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ee229[_0x5a26df]['unitId'],..._0x3ee229[_0x5a26df]['undoState']}},_0xb4e6a0={'id':_0x774c25(0x1b8),'params':{'unitId':_0x3ee229[_0x5a26df]['unitId'],..._0x3ee229[_0x5a26df][_0x774c25(0x2f7)]}},_0x4a9e86=this['_transformService'][_0x774c25(0x2d2)](_0x539e11,_0x6e76f2,!0x1),_0x5ec47c=this[_0x774c25(0x315)][_0x774c25(0x2d2)](_0x540371,_0xb4e6a0,!0x1);if(_0x341ea9[_0x774c25(0x2e1)](_0x4a9e86))throw _0x4a9e86['error'];if(_0x341ea9[_0x774c25(0x2e1)](_0x5ec47c))throw _0x5ec47c[_0x774c25(0x370)];_0x31aff1[_0x774c25(0x365)]({..._0x3ee229[_0x5a26df],'undoState':_0x4a9e86[_0x774c25(0x1cd)]['params'],'redoState':_0x5ec47c['m2Prime'][_0x774c25(0x298)]}),_0x539e11=_0x4a9e86['m1Prime'],_0x540371=_0x5ec47c['m1Prime'];}_0x539e11=_0x23a58e[_0x774c25(0x174)][_0x774c25(0x140)](_0x37f2c5['mutations'][0x0]),_0x540371=_0x23a58e[_0x774c25(0x174)][_0x774c25(0x140)](_0x37f2c5[_0x774c25(0x1bc)][0x0]);for(let _0x4deece=_0x5a2f4e[_0x774c25(0xed)]-0x1;_0x4deece>=0x0;_0x4deece--){const _0x3576d9={'id':_0x774c25(0x1b8),'params':{'unitId':_0x5a2f4e[_0x4deece][_0x774c25(0xf9)],..._0x5a2f4e[_0x4deece][_0x774c25(0xfe)]}},_0x53694e={'id':_0x774c25(0x1b8),'params':{'unitId':_0x5a2f4e[_0x4deece][_0x774c25(0xf9)],..._0x5a2f4e[_0x4deece][_0x774c25(0x2f7)]}},_0x4b5c53=this[_0x774c25(0x315)]['transformMutation'](_0x539e11,_0x3576d9,!0x1),_0x2e8b4c=this['_transformService'][_0x774c25(0x2d2)](_0x540371,_0x53694e,!0x1);if(_0x341ea9['isTransformMutationFailure'](_0x4b5c53))throw _0x4b5c53[_0x774c25(0x370)];if(_0x341ea9[_0x774c25(0x2e1)](_0x2e8b4c))throw _0x2e8b4c[_0x774c25(0x370)];_0x25973f[_0x774c25(0x365)]({..._0x5a2f4e[_0x4deece],'undoState':_0x4b5c53[_0x774c25(0x1cd)][_0x774c25(0x298)],'redoState':_0x2e8b4c[_0x774c25(0x1cd)]['params']}),_0x539e11=_0x4b5c53[_0x774c25(0xdc)],_0x540371=_0x2e8b4c[_0x774c25(0xdc)];}this['_docStateChangeManagerService'][_0x774c25(0x123)](_0x43395b,{'history':_0x31aff1,'collaboration':_0x25973f});}};_0x5cec26=_0x5eae55([_0x1eaa37(0x0,_0x23a58e[_0x101803(0x112)](_0x23a58e['Injector'])),_0x1eaa37(0x1,_0x341ea9[_0x101803(0x31e)]),_0x1eaa37(0x2,_0x23a58e[_0x101803(0x112)](_0x5805c3['DocStateChangeManagerService']))],_0x5cec26);var _0x290238=Object['getOwnPropertyDescriptor'],_0x2eedf1=(_0x19ad9f,_0x308417,_0x44a3c5,_0x3f1f55)=>{for(var _0x4fb0a4=_0x3f1f55>0x1?void 0x0:_0x3f1f55?_0x290238(_0x308417,_0x44a3c5):_0x308417,_0x23a74b=_0x19ad9f['length']-0x1,_0x315794;_0x23a74b>=0x0;_0x23a74b--)(_0x315794=_0x19ad9f[_0x23a74b])&&(_0x4fb0a4=_0x315794(_0x4fb0a4)||_0x4fb0a4);return _0x4fb0a4;},_0x31b2c3=(_0x246940,_0x145bce)=>(_0x2effe9,_0xa1edb9)=>_0x145bce(_0x2effe9,_0xa1edb9,_0x246940);let _0x59e542=class{constructor(_0x508fa6,_0x164063){const _0x514561=_0x101803;this['_injector']=_0x508fa6,this[_0x514561(0x315)]=_0x164063;}['transformSelections'](_0x2dec11){const _0x805eec=_0x101803;var _0x5c39f6;const _0x483694=this[_0x805eec(0x1c4)][_0x805eec(0x167)](_0x1495f4[_0x805eec(0x20f)]),_0xbf0265=(_0x5c39f6=_0x483694[_0x805eec(0x270)]())!=null?_0x5c39f6:[];if(_0xbf0265[_0x805eec(0xed)]===0x0)return;const _0x3d6e1e=_0x2dec11['unitID'],_0x57bbbb=[{'id':_0x805eec(0x1b8),'params':{'unitId':_0x3d6e1e,'actions':null,'textRanges':_0xbf0265}}],_0x37cfe3=this[_0x805eec(0x315)][_0x805eec(0x137)](_0x2dec11,_0x57bbbb);if(!_0x341ea9['isTransformMutationsWithChangesetSuccess'](_0x37cfe3))throw _0x37cfe3['error'];const _0x15cfbd=_0x37cfe3['m2Prime'][0x0][_0x805eec(0x298)][_0x805eec(0x2bf)];Array['isArray'](_0x15cfbd)&&_0x15cfbd[_0x805eec(0xed)]&&_0x483694[_0x805eec(0xd9)](_0x15cfbd,{'unitId':_0x3d6e1e,'subUnitId':_0x3d6e1e},!0x1);}};_0x59e542=_0x2eedf1([_0x31b2c3(0x0,_0x23a58e[_0x101803(0x112)](_0x23a58e[_0x101803(0x27b)])),_0x31b2c3(0x1,_0x341ea9[_0x101803(0x31e)])],_0x59e542);var _0x3546ba=Object[_0x101803(0x322)],_0x3277fd=(_0x740da7,_0x4fe42b,_0x4a5b89,_0x4e23e2)=>{const _0x43bea7=_0x101803;for(var _0x536d67=_0x4e23e2>0x1?void 0x0:_0x4e23e2?_0x3546ba(_0x4fe42b,_0x4a5b89):_0x4fe42b,_0x12bd45=_0x740da7[_0x43bea7(0xed)]-0x1,_0x2a7e6b;_0x12bd45>=0x0;_0x12bd45--)(_0x2a7e6b=_0x740da7[_0x12bd45])&&(_0x536d67=_0x2a7e6b(_0x536d67)||_0x536d67);return _0x536d67;},_0x56a82b=(_0x255a8e,_0x38f2de)=>(_0x15f64a,_0x4d09ad)=>_0x38f2de(_0x15f64a,_0x4d09ad,_0x255a8e);let _0x50ff71=class extends _0x23a58e[_0x101803(0xcc)]{constructor(_0x52b85a,_0x29847a,_0x187c1,_0x23ad23,_0x5284aa,_0xa518bc,_0x5b69b4,_0x2ca7d5){const _0x134e35=_0x101803;super(),_0x4e1a2b(this,'_status$',new _0x26f8cf[(_0x134e35(0x1cc))](_0x9092af['CollaborationStatus'][_0x134e35(0x2e9)])),(this[_0x134e35(0x27d)]=_0x52b85a,this[_0x134e35(0x299)]=_0x29847a,this['_docTransformIMECacheService']=_0x187c1,this[_0x134e35(0x233)]=_0x23ad23,this[_0x134e35(0x23b)]=_0x5284aa,this[_0x134e35(0x26d)]=_0xa518bc,this[_0x134e35(0x2d8)]=_0x5b69b4,this['_localeService']=_0x2ca7d5,this[_0x134e35(0x2aa)]());}['_initEntityListener'](){const _0x3ed19d=_0x101803;this[_0x3ed19d(0x10a)](this['_collaborationController']['entityInit$'][_0x3ed19d(0x2a7)](_0x14541c=>{const _0x5adfe0=_0x3ed19d,_0x1da00d=this[_0x5adfe0(0x27d)][_0x5adfe0(0x12d)]['subscribe'](_0xc3e5cf=>{const _0x55cc13=_0x5adfe0;if(_0xc3e5cf==null)return;const {unitId:_0xb6af61,redoState:_0x4ad6da,commandId:_0x37349c}=_0xc3e5cf;if(_0xb6af61!==_0x14541c[_0x55cc13(0x21e)])return;const _0x5a023d={'id':_0x37349c,'type':_0x23a58e[_0x55cc13(0x1f4)]['MUTATION'],'params':{'unitId':_0xb6af61,'actions':_0x4ad6da['actions'],'textRanges':null}};_0x14541c[_0x55cc13(0x234)](_0x5a023d);});if(_0x14541c[_0x5adfe0(0x10a)](_0x1da00d),_0x14541c instanceof _0x9092af[_0x5adfe0(0x2ac)]){const _0x4dbe78={'onTransformIME':_0x4335c5=>this[_0x5adfe0(0xe4)][_0x5adfe0(0x143)](_0x4335c5),'onTransformState':_0x21df0b=>this[_0x5adfe0(0x233)][_0x5adfe0(0x12a)](_0x21df0b),'onTransformSelections':_0x116898=>this['_docTransformSelectionsService'][_0x5adfe0(0xec)](_0x116898),'onSyncEditingCollabCursor':_0x709f64=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x709f64),'onTransformRemoteChangesetByIMECache':_0x5693b4=>this['_docTransformIMECacheService'][_0x5adfe0(0x36c)](_0x5693b4),'onTransformRemoteChangesetByStateCache':_0x19e0c3=>this['_docTransformStateCacheService'][_0x5adfe0(0x36c)](_0x19e0c3)};_0x14541c[_0x5adfe0(0x32b)](_0x4dbe78);}}));}};_0x50ff71=_0x3277fd([_0x56a82b(0x0,_0x23a58e[_0x101803(0x112)](_0x5805c3[_0x101803(0x2db)])),_0x56a82b(0x1,_0x23a58e[_0x101803(0x112)](_0x9092af[_0x101803(0x1ff)])),_0x56a82b(0x2,_0x23a58e[_0x101803(0x112)](_0x590d11)),_0x56a82b(0x3,_0x23a58e[_0x101803(0x112)](_0x5cec26)),_0x56a82b(0x4,_0x23a58e[_0x101803(0x112)](_0x59e542)),_0x56a82b(0x5,_0x23a58e[_0x101803(0x112)](_0x381ca0)),_0x56a82b(0x6,_0x41f03c[_0x101803(0x1dc)]),_0x56a82b(0x7,_0x23a58e['Inject'](_0x23a58e[_0x101803(0x2b2)]))],_0x50ff71);var _0x444d88=Object[_0x101803(0x322)],_0x1c5a73=(_0x4466cd,_0x2822f1,_0x146720,_0x1c4460)=>{const _0x3677cb=_0x101803;for(var _0x3cd5df=_0x1c4460>0x1?void 0x0:_0x1c4460?_0x444d88(_0x2822f1,_0x146720):_0x2822f1,_0x89f09d=_0x4466cd[_0x3677cb(0xed)]-0x1,_0x372d3b;_0x89f09d>=0x0;_0x89f09d--)(_0x372d3b=_0x4466cd[_0x89f09d])&&(_0x3cd5df=_0x372d3b(_0x3cd5df)||_0x3cd5df);return _0x3cd5df;},_0x4f3d45=(_0x1a92e7,_0x51600a)=>(_0x19ebbb,_0x337d7f)=>_0x51600a(_0x19ebbb,_0x337d7f,_0x1a92e7);let _0x12f2b5=class extends _0x23a58e['Disposable']{constructor(_0x18939e,_0x507cbf,_0xb9159a){const _0x16ae17=_0x101803;super(),_0x4e1a2b(this,_0x16ae17(0x351),new Map()),_0x4e1a2b(this,_0x16ae17(0xe6),new Map()),_0x4e1a2b(this,_0x16ae17(0x35d),!0x1),(this[_0x16ae17(0x2a2)]=_0x18939e,this[_0x16ae17(0x19e)]=_0x507cbf,this['_revisionService']=_0xb9159a);}[_0x101803(0x20d)](){const _0x31988d=_0x101803;this[_0x31988d(0x35d)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x2ffcac=_0x101803;return this[_0x2ffcac(0xe6)];}[_0x101803(0x142)](){const _0x4d8df1=_0x101803;this[_0x4d8df1(0x12f)]()[_0x4d8df1(0x228)](()=>super['dispose']());}async[_0x101803(0x209)](_0x24c8c2){const _0x606f43=_0x101803;return this[_0x606f43(0x35d)]?null:this[_0x606f43(0x19e)][_0x606f43(0x1de)](_0x9092af['getLocalCacheKey'](_0x24c8c2));}async[_0x101803(0x2b1)](_0x384fcb,_0x90adfc){const _0x156a38=_0x101803;return!!this[_0x156a38(0x19e)][_0x156a38(0x34b)](_0x384fcb,_0x90adfc);}[_0x101803(0x115)](_0x4e8885,_0xabc352,_0x259291,_0x61b9c1){const _0x50eac1=_0x101803,_0x4e76a6=this[_0x50eac1(0x18e)]['getCurrentRevOfUnit'](_0x4e8885);this[_0x50eac1(0x351)][_0x50eac1(0x230)](_0x4e8885,{'unitID':_0x4e8885,'type':_0xabc352,'awaitingChangeset':_0x259291,'mutations':_0x61b9c1,'rev':_0x4e76a6}),this[_0x50eac1(0xe6)][_0x50eac1(0x218)](_0x4e8885)||this[_0x50eac1(0x359)](_0x4e8885);}['_scheduleSaving'](_0x56bc63){const _0x311ebc=_0x101803,_0x9f93d=this['_getSaveTimeout']();_0x9f93d===0x0?this[_0x311ebc(0x309)](_0x56bc63):this[_0x311ebc(0xe6)][_0x311ebc(0x230)](_0x56bc63,setTimeout(()=>this[_0x311ebc(0x309)](_0x56bc63),_0x9f93d));}[_0x101803(0x14c)](){const _0x2728=_0x101803;var _0x15754d;return(_0x15754d=this[_0x2728(0x2a2)][_0x2728(0x251)](_0x9092af['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x15754d:_0x9092af[_0x2728(0x30f)];}['_saveCache'](_0x4716ab){const _0x5324dd=_0x101803,_0x1fc7d8=this[_0x5324dd(0xe6)][_0x5324dd(0x167)](_0x4716ab);return _0x1fc7d8!==void 0x0&&window['clearTimeout'](_0x1fc7d8),this[_0x5324dd(0x19e)][_0x5324dd(0x34b)](_0x9092af[_0x5324dd(0x30d)](_0x4716ab),this['_cachedData'][_0x5324dd(0x167)](_0x4716ab))['then'](()=>this[_0x5324dd(0xe6)]['delete'](_0x4716ab));}async[_0x101803(0x12f)](){const _0xb455a5=_0x101803,_0x40bb16=[];this['_saveTaskMap'][_0xb455a5(0xe1)]((_0x345871,_0x2b3307)=>{const _0x5225e0=_0xb455a5;window[_0x5225e0(0x1ea)](_0x345871),_0x40bb16['push'](this['_saveCache'](_0x2b3307)['then'](()=>{const _0x198fdd=_0x5225e0;this[_0x198fdd(0xe6)]['delete'](_0x2b3307);}));}),await Promise['all'](_0x40bb16);}};_0x12f2b5=_0x1c5a73([_0x4f3d45(0x0,_0x23a58e[_0x101803(0x32a)]),_0x4f3d45(0x1,_0x23a58e[_0x101803(0x1e6)]),_0x4f3d45(0x2,_0x23a58e[_0x101803(0x112)](_0x341ea9['RevisionService']))],_0x12f2b5);class _0x274da2 extends _0x23a58e['RxDisposable']{constructor(){const _0x5e0071=_0x101803;super(),_0x4e1a2b(this,_0x5e0071(0x2b3)),this[_0x5e0071(0x2b3)]=_0x26f8cf[_0x5e0071(0x283)](window,_0x5e0071(0x367))['pipe'](_0x26f8cf[_0x5e0071(0x2eb)](this['dispose$']),_0x26f8cf[_0x5e0071(0x2cc)](0x1),_0x26f8cf[_0x5e0071(0x118)](void 0x0));}[_0x101803(0x242)](_0xe3e687,_0x5f2383,_0x219f1e=!0x1){const _0x1b2b77=_0x101803,_0x1ed835=new URL(window[_0x1b2b77(0x145)][_0x1b2b77(0x2c5)]);_0x1ed835[_0x1b2b77(0x152)][_0x1b2b77(0x230)](_0xe3e687,_0x5f2383),_0x219f1e?window[_0x1b2b77(0x363)][_0x1b2b77(0x114)]('','',_0x1ed835[_0x1b2b77(0x1cf)]()):window[_0x1b2b77(0x363)][_0x1b2b77(0x1fc)]('','',_0x1ed835[_0x1b2b77(0x1cf)]());}['removeParam'](_0x2d2a88,_0x17496e=!0x1){const _0x3a1a2c=_0x101803,_0x20e20d=new URL(window[_0x3a1a2c(0x145)][_0x3a1a2c(0x2c5)]);_0x20e20d[_0x3a1a2c(0x152)]['delete'](_0x2d2a88),_0x17496e?window[_0x3a1a2c(0x363)][_0x3a1a2c(0x114)]('','',_0x20e20d[_0x3a1a2c(0x1cf)]()):window['history']['pushState']('','',_0x20e20d[_0x3a1a2c(0x1cf)]());}[_0x101803(0x130)](_0x558be6){const _0x3106ac=_0x101803;var _0x10b432;return(_0x10b432=new URL(window['location'][_0x3106ac(0x2c5)])['searchParams'][_0x3106ac(0x167)](_0x558be6))!=null?_0x10b432:void 0x0;}}var _0x5897e2=Object[_0x101803(0x150)],_0x38e8b3=Object['getOwnPropertyDescriptor'],_0x5261ff=(_0x3624cb,_0xd61647,_0x221622)=>_0xd61647 in _0x3624cb?_0x5897e2(_0x3624cb,_0xd61647,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x221622}):_0x3624cb[_0xd61647]=_0x221622,_0x217dfa=(_0x12f389,_0x47e4ea,_0x313bdb,_0x45b4a2)=>{const _0x58a73d=_0x101803;for(var _0x2fcdc6=_0x45b4a2>0x1?void 0x0:_0x45b4a2?_0x38e8b3(_0x47e4ea,_0x313bdb):_0x47e4ea,_0x43cb21=_0x12f389[_0x58a73d(0xed)]-0x1,_0x5443ad;_0x43cb21>=0x0;_0x43cb21--)(_0x5443ad=_0x12f389[_0x43cb21])&&(_0x2fcdc6=_0x5443ad(_0x2fcdc6)||_0x2fcdc6);return _0x2fcdc6;},_0x48505b=(_0x563143,_0x417b05)=>(_0x2c3af7,_0x473296)=>_0x417b05(_0x2c3af7,_0x473296,_0x563143),_0xe14013=(_0x35eab2,_0x15f81c,_0x4e0eb5)=>_0x5261ff(_0x35eab2,_0x15f81c+'',_0x4e0eb5);const _0x21cabc=_0x101803(0x102);_0x397186[_0x101803(0x20b)]=class extends _0x23a58e[_0x101803(0x1d7)]{constructor(_0x4f6f5e=_0xbc1600,_0x8799bc,_0x50681c,_0x3cc388){const _0x12d819=_0x101803;super(),this[_0x12d819(0x16b)]=_0x4f6f5e,this[_0x12d819(0x36f)]=_0x8799bc,this[_0x12d819(0x1c4)]=_0x50681c,this[_0x12d819(0x2a2)]=_0x3cc388;const {..._0x3c6e44}=_0x23a58e[_0x12d819(0x160)]({},_0xbc1600,this[_0x12d819(0x16b)]);this[_0x12d819(0x2a2)][_0x12d819(0x1a1)](_0x4e5211,_0x3c6e44);}[_0x101803(0x239)](){const _0x192b53=_0x101803;this[_0x192b53(0x2d9)](),this[_0x192b53(0x25a)]();}[_0x101803(0x25d)](){this['_registerRenderDependencies']();}[_0x101803(0x2d9)](){const _0x40709=_0x101803;var _0x5a9c3b;const _0x12c868=[[_0x10f9a5],[_0x59e542],[_0x590d11],[_0x5cec26],[_0x381ca0],[_0x4eff34,{'useClass':_0x274da2}],[_0x5b8233[_0x40709(0x1f5)],{'useClass':_0x5b8233[_0x40709(0x333)]}],[_0x9092af[_0x40709(0x169)],{'useClass':_0x12f2b5}],[_0x397186[_0x40709(0x15d)]],[_0x50ff71],[_0x285f58],[_0x1b9c1f],[_0x2ed336],[_0x397186[_0x40709(0x201)]]];_0x23a58e[_0x40709(0xfc)](this['_injector'],_0x23a58e[_0x40709(0x307)](_0x12c868,(_0x5a9c3b=this[_0x40709(0x16b)])==null?void 0x0:_0x5a9c3b[_0x40709(0x1a5)]));}[_0x101803(0x21d)](){const _0x1a623a=_0x101803;this[_0x1a623a(0x10a)](this[_0x1a623a(0x36f)][_0x1a623a(0x308)](_0x23a58e[_0x1a623a(0x168)][_0x1a623a(0x17d)],[_0x229a5d])),this[_0x1a623a(0x10a)](this[_0x1a623a(0x36f)][_0x1a623a(0x308)](_0x23a58e[_0x1a623a(0x168)]['UNIVER_SHEET'],[_0x4400ef]));}['_initDependencies'](){const _0x4c41b1=_0x101803;_0x23a58e['touchDependencies'](this[_0x4c41b1(0x1c4)],[[_0x1b9c1f],[_0x397186['DesktopCollaborationStatusDisplayController']],[_0x50ff71],[_0x285f58],[_0x397186[_0x4c41b1(0x201)]]]);}},_0xe14013(_0x397186['UniverCollaborationClientUIPlugin'],_0x101803(0x128),_0x21cabc),_0x397186[_0x101803(0x20b)]=_0x217dfa([_0x23a58e[_0x101803(0x264)](_0x9092af[_0x101803(0xf4)]),_0x48505b(0x1,_0x379bf1[_0x101803(0x2b4)]),_0x48505b(0x2,_0x23a58e[_0x101803(0x112)](_0x23a58e['Injector'])),_0x48505b(0x3,_0x23a58e[_0x101803(0x32a)])],_0x397186[_0x101803(0x20b)]);var _0x3c02b0=Object[_0x101803(0x322)],_0x2217c0=(_0x33c9ab,_0x327490,_0x58d160,_0x41c09b)=>{const _0x3118e3=_0x101803;for(var _0x37f100=_0x41c09b>0x1?void 0x0:_0x41c09b?_0x3c02b0(_0x327490,_0x58d160):_0x327490,_0x2dee7b=_0x33c9ab[_0x3118e3(0xed)]-0x1,_0x118032;_0x2dee7b>=0x0;_0x2dee7b--)(_0x118032=_0x33c9ab[_0x2dee7b])&&(_0x37f100=_0x118032(_0x37f100)||_0x37f100);return _0x37f100;},_0xe2b58e=(_0x217a3f,_0x4838cb)=>(_0x31a648,_0x1fc26b)=>_0x4838cb(_0x31a648,_0x1fc26b,_0x217a3f);_0x397186['BrowserCollaborationSocketService']=class extends _0x9092af[_0x101803(0x34d)]{constructor(_0x190172,_0x553c83,_0x440e1d,_0x101219,_0x17ef73){super(_0x190172,_0x553c83,_0x440e1d,_0x101219,_0x17ef73);}async[_0x101803(0x180)](_0x2db2de){const _0x26a1ed=_0x101803,_0x1558be=await this[_0x26a1ed(0x2c0)](),_0x5cec62=this['_createSocketURL'](_0x2db2de,_0x1558be);return this[_0x26a1ed(0x18b)](_0x5cec62);}[_0x101803(0x191)](_0x1791fa,_0x65efb8){const _0x55e988=_0x101803,_0x4918cd=typeof window>'u'?new URL(_0x1791fa):new URL(_0x1791fa,window[_0x55e988(0x145)][_0x55e988(0x225)]);_0x4918cd[_0x55e988(0x152)][_0x55e988(0x230)](_0x55e988(0xf3),_0x65efb8);const _0xe259c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x55e988(0x145)][_0x55e988(0x2f2)]);return _0xe259c7['get'](_0x55e988(0x2f4))&&_0x4918cd[_0x55e988(0x152)][_0x55e988(0x230)](_0x55e988(0x2f4),_0xe259c7[_0x55e988(0x167)](_0x55e988(0x2f4))),_0x4918cd[_0x55e988(0x1cf)]();}async[_0x101803(0x2c0)](){const _0x4ea544=_0x101803;var _0x3f0262,_0x381a7e,_0x4dada5;const _0x90c31f=this[_0x4ea544(0x2a2)][_0x4ea544(0x251)](_0x9092af[_0x4ea544(0x21f)]),_0x3f4024=(_0x3f0262=_0x90c31f==null?void 0x0:_0x90c31f[_0x4ea544(0x203)])!=null?_0x3f0262:_0x9092af[_0x4ea544(0x366)];return(_0x4dada5=(_0x381a7e=(await this[_0x4ea544(0x21b)][_0x4ea544(0x167)](_0x3f4024,{'headers':{'Content-Type':_0x4ea544(0x213)}}))['body'])==null?void 0x0:_0x381a7e[_0x4ea544(0xe7)])!=null?_0x4dada5:'';}},_0x397186[_0x101803(0x35b)]=_0x2217c0([_0xe2b58e(0x0,_0x23a58e[_0x101803(0x112)](_0x23a58e[_0x101803(0x27b)])),_0xe2b58e(0x1,_0x23a58e['Inject'](_0x5b8233[_0x101803(0x2ff)])),_0xe2b58e(0x2,_0x23a58e[_0x101803(0x32a)]),_0xe2b58e(0x3,_0x23a58e['ILogService']),_0xe2b58e(0x4,_0x341ea9['ISnapshotServerService'])],_0x397186[_0x101803(0x35b)]);const _0x15aa2e=0x7530,_0x5aa283=_0x101803(0x2ec);class _0x3f9899 extends _0x23a58e[_0x101803(0xcc)]{constructor(){const _0x2e5af8=_0x101803;super(),_0x4e1a2b(this,_0x2e5af8(0x1a7),_0x23a58e[_0x2e5af8(0xf6)]()),_0x4e1a2b(this,_0x2e5af8(0x1ef),new Set()),_0x4e1a2b(this,_0x2e5af8(0x16d),new Map()),_0x4e1a2b(this,'_heartbeatTimer',null),_0x4e1a2b(this,_0x2e5af8(0x136),new Map()),_0x4e1a2b(this,'_unitStatus',new Map()),this[_0x2e5af8(0x151)]();}['dispose'](){const _0x32f1cc=_0x101803;super[_0x32f1cc(0x142)](),this['_clearOtherTimers'][_0x32f1cc(0xe1)]((_0x225123,_0x248919)=>this[_0x32f1cc(0x109)](_0x248919)),this[_0x32f1cc(0x294)]&&window[_0x32f1cc(0x1fa)](this[_0x32f1cc(0x294)]);}[_0x101803(0x271)](_0x39c614){const _0x4d451d=_0x101803;return this[_0x4d451d(0x306)](_0x39c614)['pipe'](_0x26f8cf[_0x4d451d(0x23e)]());}[_0x101803(0x314)](_0x3dc171){const _0x36c917=_0x101803;this['_selfUnitIDs'][_0x36c917(0x1e2)]===0x0&&this[_0x36c917(0x2b5)](),this['_selfUnitIDs']['add'](_0x3dc171),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3dc171],'isForwarded':!0x1});}[_0x101803(0x303)](_0x429f54){const _0xc1d95f=_0x101803;this[_0xc1d95f(0x1ef)]['delete'](_0x429f54),this[_0xc1d95f(0x1ef)][_0xc1d95f(0x1e2)]===0x0&&this[_0xc1d95f(0x294)]&&window[_0xc1d95f(0x1fa)](this[_0xc1d95f(0x294)]);}['_init'](){const _0x29a8a2=_0x101803;this[_0x29a8a2(0x10a)](_0x23a58e[_0x29a8a2(0xcd)](_0x26f8cf[_0x29a8a2(0x283)](window,'storage')[_0x29a8a2(0x2a7)](_0x3ca43d=>{const _0x2826d0=_0x29a8a2;if(_0x3ca43d[_0x2826d0(0x291)]!==_0x5aa283||!_0x3ca43d[_0x2826d0(0x220)])return;const _0x457eea=JSON['parse'](_0x3ca43d[_0x2826d0(0x220)]);this[_0x2826d0(0x1fb)](_0x457eea);}))),window[_0x29a8a2(0xc7)](_0x29a8a2(0x29f),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x29a8a2(0x184)](this[_0x29a8a2(0x1ef)])}));}[_0x101803(0x1fb)](_0x434c76){const _0x1ef205=_0x101803;switch(_0x434c76[_0x1ef205(0xda)]){case 0x0:this[_0x1ef205(0x243)](_0x434c76);break;case 0x1:this[_0x1ef205(0x34e)](_0x434c76);break;case 0x2:this['_handleHeartbeatEvent'](_0x434c76);break;}}['_handleJoinEvent'](_0x4201b2){const _0x476d6b=_0x101803,{unitIDs:_0x297027,memberID:_0x430a45,isForwarded:_0x2c9bf3}=_0x4201b2;_0x297027['forEach'](_0x13c369=>{const _0x47c83f=_0x2147;if(!_0x2c9bf3&&this['_unitOnClients'][_0x47c83f(0x218)](_0x13c369)&&this[_0x47c83f(0x306)](_0x13c369)[_0x47c83f(0x1f6)](_0x9092af['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x47c83f(0x16d)][_0x47c83f(0x218)](_0x13c369)||!this[_0x47c83f(0x16d)]['get'](_0x13c369)[_0x47c83f(0x218)](_0x430a45)){const _0x2b60d1=this[_0x47c83f(0x16d)][_0x47c83f(0x167)](_0x13c369)||new Set();_0x2b60d1['add'](_0x430a45),this[_0x47c83f(0x16d)]['set'](_0x13c369,_0x2b60d1),this[_0x47c83f(0x34c)](_0x430a45);}}),_0x2c9bf3||this[_0x476d6b(0x111)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x476d6b(0x1ef)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3593d2){const _0x183a5a=_0x101803;this[_0x183a5a(0x109)](_0x3593d2);const _0x3a61ea=window[_0x183a5a(0x1d6)](()=>{const _0x301dc1=_0x183a5a;this['_unitOnClients'][_0x301dc1(0xe1)](_0x5d540e=>{const _0x30b38f=_0x301dc1;_0x5d540e[_0x30b38f(0xfb)](_0x3593d2);});},_0x15aa2e*0x2);this[_0x183a5a(0x136)]['set'](_0x3593d2,_0x3a61ea);}[_0x101803(0x109)](_0x37ed31){const _0x176348=_0x101803;if(this[_0x176348(0x136)][_0x176348(0x218)](_0x37ed31)){const _0x40753a=this[_0x176348(0x136)]['get'](_0x37ed31);_0x40753a&&window['clearTimeout'](_0x40753a),this[_0x176348(0x136)][_0x176348(0x230)](_0x37ed31,null);}}[_0x101803(0x34e)](_0x12e525){const _0x2254e2=_0x101803,{memberID:_0x7b91a6,unitIDs:_0x3a84da}=_0x12e525;_0x3a84da[_0x2254e2(0xe1)](_0x5c78ac=>{const _0x583ef1=_0x2254e2;var _0x52e93c;const _0x5eb578=this[_0x583ef1(0x16d)][_0x583ef1(0x167)](_0x5c78ac);_0x5eb578&&(_0x5eb578[_0x583ef1(0xfb)](_0x7b91a6),(_0x52e93c=this[_0x583ef1(0x306)](_0x5c78ac))==null||_0x52e93c[_0x583ef1(0x1f6)](_0x5eb578['size']===0x0?_0x9092af['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x9092af[_0x583ef1(0xe0)][_0x583ef1(0x268)]));}),this['_removeClearOtherTimer'](_0x7b91a6);}['_handleHeartbeatEvent'](_0x133334){const _0x30dbb4=_0x101803;this[_0x30dbb4(0x34c)](_0x133334['memberID']);}[_0x101803(0x111)](_0x5059cf){const _0xb6c95d=_0x101803;localStorage[_0xb6c95d(0x34b)](_0x5aa283,JSON[_0xb6c95d(0x1aa)](_0x5059cf));}['_scheduleHeartbeat'](){const _0xf636bd=_0x101803;this[_0xf636bd(0x294)]=window['setInterval'](()=>{const _0x1cae29=_0xf636bd;this[_0x1cae29(0x111)]({'type':0x2,'memberID':this['_id']});},_0x15aa2e);}['_ensureSubject'](_0x30bbcf){const _0x1ef5c7=_0x101803;return this[_0x1ef5c7(0x1be)][_0x1ef5c7(0x218)](_0x30bbcf)||this[_0x1ef5c7(0x1be)]['set'](_0x30bbcf,new _0x26f8cf[(_0x1ef5c7(0x1cc))](_0x9092af[_0x1ef5c7(0xe0)][_0x1ef5c7(0x34f)])),this[_0x1ef5c7(0x1be)][_0x1ef5c7(0x167)](_0x30bbcf);}}var _0x5aa3e4=(_0x34834a=>(_0x34834a[_0x34834a[_0x101803(0x260)]=0x0]=_0x101803(0x260),_0x34834a[_0x34834a['OK']=0x1]='OK',_0x34834a[_0x34834a[_0x101803(0x300)]=0x2]=_0x101803(0x300),_0x34834a[_0x34834a[_0x101803(0x2d7)]=0x3]='PERMISSION_DENIED',_0x34834a[_0x34834a[_0x101803(0x2e8)]=0x4]=_0x101803(0x2e8),_0x34834a[_0x34834a[_0x101803(0x2cd)]=0x5]=_0x101803(0x2cd),_0x34834a[_0x34834a[_0x101803(0x346)]=0x6]=_0x101803(0x346),_0x34834a[_0x34834a['INVALID_ARGUMENT']=0x7]=_0x101803(0x16f),_0x34834a[_0x34834a[_0x101803(0x1e5)]=0x8]=_0x101803(0x1e5),_0x34834a[_0x34834a[_0x101803(0xe9)]=0x9]=_0x101803(0xe9),_0x34834a[_0x34834a[_0x101803(0xeb)]=0xa]=_0x101803(0xeb),_0x34834a[_0x34834a[_0x101803(0x29b)]=0x1389]=_0x101803(0x29b),_0x34834a[_0x34834a[_0x101803(0x171)]=0x1771]=_0x101803(0x171),_0x34834a[_0x34834a[_0x101803(0x11d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x34834a[_0x34834a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x34834a[_0x34834a['APPLY_REJECT']=0x1b59]=_0x101803(0x2b6),_0x34834a[_0x34834a[_0x101803(0x2c9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x34834a[_0x34834a[_0x101803(0x2df)]=0x1b5b]=_0x101803(0x2df),_0x34834a[_0x34834a[_0x101803(0x17f)]=0x1b5c]=_0x101803(0x17f),_0x34834a[_0x34834a[_0x101803(0x2d0)]=0x1b5d]=_0x101803(0x2d0),_0x34834a[_0x34834a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x101803(0x121),_0x34834a[_0x34834a[_0x101803(0x302)]=0x2329]=_0x101803(0x302),_0x34834a[_0x34834a[_0x101803(0x21c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x34834a[_0x34834a[_0x101803(0x23c)]=0x232b]=_0x101803(0x23c),_0x34834a[_0x34834a[_0x101803(0x10c)]=0x232c]=_0x101803(0x10c),_0x34834a[_0x34834a[_0x101803(0x330)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x34834a[_0x34834a[_0x101803(0x135)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x34834a[_0x34834a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x101803(0xdb),_0x34834a[_0x34834a[_0x101803(0x200)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x34834a[_0x34834a[_0x101803(0x255)]=0x2714]=_0x101803(0x255),_0x34834a[_0x34834a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x101803(0x33a),_0x34834a[_0x34834a[_0x101803(0x1c6)]=0x271b]=_0x101803(0x1c6),_0x34834a[_0x34834a[_0x101803(0x1c1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x34834a[_0x34834a[_0x101803(0x1af)]=0x271d]=_0x101803(0x1af),_0x34834a[_0x34834a[_0x101803(0x199)]=0x271e]=_0x101803(0x199),_0x34834a[_0x34834a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x101803(0x265),_0x34834a[_0x34834a[_0x101803(0x2dd)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x34834a[_0x34834a[_0x101803(0x323)]=0x2ee1]=_0x101803(0x323),_0x34834a[_0x34834a['INVALID_INVITE_CODE']=0x2ee2]=_0x101803(0x198),_0x34834a[_0x34834a[_0x101803(0x1ac)]=0x2ee3]=_0x101803(0x1ac),_0x34834a[_0x34834a[_0x101803(0x211)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x34834a[_0x34834a['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x101803(0x227),_0x34834a[_0x34834a[_0x101803(0x2ee)]=0x32c9]=_0x101803(0x2ee),_0x34834a[_0x34834a[_0x101803(0x31d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x34834a[_0x34834a[_0x101803(0x26a)]=0x32cb]=_0x101803(0x26a),_0x34834a[_0x34834a[_0x101803(0x1b1)]=-0x1]='UNRECOGNIZED',_0x34834a))(_0x5aa3e4||{}),_0x2dd15a=Object[_0x101803(0x322)],_0x4451aa=(_0x2dd2f9,_0x342fdd,_0x3e0f9b,_0x194f82)=>{const _0x287f36=_0x101803;for(var _0x106bf3=_0x194f82>0x1?void 0x0:_0x194f82?_0x2dd15a(_0x342fdd,_0x3e0f9b):_0x342fdd,_0x15403b=_0x2dd2f9[_0x287f36(0xed)]-0x1,_0x1d7de5;_0x15403b>=0x0;_0x15403b--)(_0x1d7de5=_0x2dd2f9[_0x15403b])&&(_0x106bf3=_0x1d7de5(_0x106bf3)||_0x106bf3);return _0x106bf3;},_0x2f3b4e=(_0x4ba2df,_0xb10a29)=>(_0xcc9d16,_0x65936d)=>_0xb10a29(_0xcc9d16,_0x65936d,_0x4ba2df);_0x397186[_0x101803(0x345)]=class extends _0x23a58e[_0x101803(0xcc)]{constructor(_0x1dc65c,_0x541786,_0x1269d5){const _0x4edd19=_0x101803;super(),this[_0x4edd19(0x29a)]=_0x1dc65c,this[_0x4edd19(0x21b)]=_0x541786,this['_configService']=_0x1269d5;}async[_0x101803(0x2c2)](_0x206948,_0xb89e8e,_0x5d53a3,..._0x2cbcf4){const _0x339614=_0x101803;var _0x2cc424,_0x31d8d1,_0x31a8f4,_0x5682bb;const _0x712122=this[_0x339614(0x29a)]['getFocusedUnit']();if(!_0x712122)throw new Error(_0x339614(0x2b8));const _0x5d8a85=((_0x2cc424=this[_0x339614(0x2a2)][_0x339614(0x251)](_0x9092af[_0x339614(0x30c)]))!=null?_0x2cc424:_0x9092af[_0x339614(0x321)])+'/'+_0x206948+_0x339614(0x153)+_0xb89e8e,_0x935c45=new URL(window[_0x339614(0x145)]['href']),_0x55e513={'scriptId':_0x206948,'runId':(_0x31d8d1=_0x935c45[_0x339614(0x152)][_0x339614(0x167)](_0x339614(0x2f4)))!=null?_0x31d8d1:'','function':_0xb89e8e,'unitId':_0x712122[_0x339614(0x311)](),'argsOfFunction':JSON[_0x339614(0x1aa)](_0x2cbcf4),'invokeId':(_0x31a8f4=_0x5d53a3[_0x339614(0x2fc)])!=null?_0x31a8f4:'','executionId':(_0x5682bb=_0x5d53a3['executionId'])!=null?_0x5682bb:''};try{const _0x527770=await this[_0x339614(0x21b)][_0x339614(0x2d5)](_0x5d8a85,{'body':_0x55e513});return _0x527770[_0x339614(0x1e8)][_0x339614(0x370)]&&_0x527770['body'][_0x339614(0x370)]['code']!==_0x5aa3e4['OK']?_0x339614(0x253):_0x527770['body'][_0x339614(0xd6)];}catch{return _0x339614(0x253);}}},_0x397186[_0x101803(0x345)]=_0x4451aa([_0x2f3b4e(0x0,_0x23a58e[_0x101803(0x31f)]),_0x2f3b4e(0x1,_0x23a58e[_0x101803(0x112)](_0x5b8233[_0x101803(0x2ff)])),_0x2f3b4e(0x2,_0x23a58e[_0x101803(0x32a)])],_0x397186[_0x101803(0x345)]),_0x397186[_0x101803(0x281)]=_0x181297,_0x397186['IURLService']=_0x4eff34,_0x397186[_0x101803(0xea)]=_0x40c543,_0x397186[_0x101803(0x1d2)]=_0x3f9899,_0x397186['WebURLService']=_0x274da2,Object[_0x101803(0x150)](_0x397186,Symbol['toStringTag'],{'value':_0x101803(0x2ae)});}));