@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504131606 → 0.6.10-nightly.202504151606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4a60(_0x5d7da2,_0x16be45){const _0x313f96=_0x313f();return _0x4a60=function(_0x4a6005,_0x1e1ee9){_0x4a6005=_0x4a6005-0x13c;let _0x336302=_0x313f96[_0x4a6005];return _0x336302;},_0x4a60(_0x5d7da2,_0x16be45);}(function(_0x2c44ba,_0x5854a3){const _0x3b8bcb=_0x4a60,_0x3e615e=_0x2c44ba();while(!![]){try{const _0x42e9b5=parseInt(_0x3b8bcb(0x314))/0x1+-parseInt(_0x3b8bcb(0x156))/0x2*(-parseInt(_0x3b8bcb(0x3c2))/0x3)+parseInt(_0x3b8bcb(0x2bc))/0x4+parseInt(_0x3b8bcb(0x28a))/0x5+parseInt(_0x3b8bcb(0x33b))/0x6*(parseInt(_0x3b8bcb(0x317))/0x7)+-parseInt(_0x3b8bcb(0x3bc))/0x8+-parseInt(_0x3b8bcb(0x14c))/0x9*(parseInt(_0x3b8bcb(0x197))/0xa);if(_0x42e9b5===_0x5854a3)break;else _0x3e615e['push'](_0x3e615e['shift']());}catch(_0x74f830){_0x3e615e['push'](_0x3e615e['shift']());}}}(_0x313f,0x9e718),function(_0x3a0b01,_0x6f44f9){const _0x374d76=_0x4a60;typeof exports==_0x374d76(0x19f)&&typeof module<'u'?_0x6f44f9(exports,require(_0x374d76(0x3de)),require(_0x374d76(0x16d)),require(_0x374d76(0x2f9)),require(_0x374d76(0x335)),require(_0x374d76(0x33d)),require(_0x374d76(0x23a)),require(_0x374d76(0x24e)),require(_0x374d76(0x2fb)),require('@univerjs-pro/collaboration'),require(_0x374d76(0x329)),require(_0x374d76(0x187)),require(_0x374d76(0x206)),require(_0x374d76(0x256)),require('react/jsx-runtime'),require(_0x374d76(0x2cd)),require(_0x374d76(0x1b9)),require(_0x374d76(0x2aa)),require(_0x374d76(0x372))):typeof define==_0x374d76(0x3b9)&&define[_0x374d76(0x217)]?define([_0x374d76(0x39e),_0x374d76(0x3de),'@univerjs/core',_0x374d76(0x2f9),_0x374d76(0x335),_0x374d76(0x33d),'@univerjs/drawing','rxjs','@univerjs/docs',_0x374d76(0x19b),_0x374d76(0x329),'@univerjs/sheets',_0x374d76(0x206),'@univerjs/sheets-ui',_0x374d76(0x19c),_0x374d76(0x2cd),_0x374d76(0x1b9),_0x374d76(0x2aa),_0x374d76(0x372)],_0x6f44f9):(_0x3a0b01=typeof globalThis<'u'?globalThis:_0x3a0b01||self,_0x6f44f9(_0x3a0b01[_0x374d76(0x1a3)]={},_0x3a0b01['UniverProCollaborationClient'],_0x3a0b01[_0x374d76(0x24d)],_0x3a0b01[_0x374d76(0x378)],_0x3a0b01['UniverNetwork'],_0x3a0b01[_0x374d76(0x303)],_0x3a0b01[_0x374d76(0x347)],_0x3a0b01[_0x374d76(0x24e)],_0x3a0b01['UniverDocs'],_0x3a0b01[_0x374d76(0x35e)],_0x3a0b01[_0x374d76(0x354)],_0x3a0b01[_0x374d76(0x1ff)],_0x3a0b01[_0x374d76(0x24e)]['operators'],_0x3a0b01['UniverSheetsUi'],_0x3a0b01[_0x374d76(0x2ff)],_0x3a0b01[_0x374d76(0x158)],_0x3a0b01[_0x374d76(0x373)],_0x3a0b01[_0x374d76(0x2ff)],_0x3a0b01[_0x374d76(0x205)]));}(this,function(_0x7e2117,_0x126ab5,_0x453419,_0x32283b,_0x54c300,_0x57d79a,_0x3a36df,_0xa78be3,_0x106a95,_0x567d4a,_0x46bdbf,_0x395bb3,_0x358e23,_0x4e23ac,_0x20e4b4,_0x2d6b6f,_0x38209c,_0x1ee08f,_0xd2a7de){'use strict';const _0x1c5799=_0x4a60;var _0x13ba27=Object[_0x1c5799(0x189)],_0x2fe920=(_0x5c99c4,_0x103d02,_0x1687d7)=>_0x103d02 in _0x5c99c4?_0x13ba27(_0x5c99c4,_0x103d02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1687d7}):_0x5c99c4[_0x103d02]=_0x1687d7,_0x1be09e=(_0x465cb7,_0x44899a,_0x58c9b1)=>_0x2fe920(_0x465cb7,typeof _0x44899a!=_0x1c5799(0x2b1)?_0x44899a+'':_0x44899a,_0x58c9b1),_0x1ad0a5=Object[_0x1c5799(0x231)],_0x238114=(_0x35f043,_0xbd3ee8,_0xa8adf,_0xb15467)=>{const _0x5ca2f0=_0x1c5799;for(var _0x52af37=_0xb15467>0x1?void 0x0:_0xb15467?_0x1ad0a5(_0xbd3ee8,_0xa8adf):_0xbd3ee8,_0x33a5e2=_0x35f043[_0x5ca2f0(0x1f0)]-0x1,_0x190431;_0x33a5e2>=0x0;_0x33a5e2--)(_0x190431=_0x35f043[_0x33a5e2])&&(_0x52af37=_0x190431(_0x52af37)||_0x52af37);return _0x52af37;},_0x1cca42=(_0x2276ea,_0x5e6ed8)=>(_0x210dcd,_0x6b303c)=>_0x5e6ed8(_0x210dcd,_0x6b303c,_0x2276ea);let _0x58ae56=class extends _0x453419['RxDisposable']{constructor(_0x13ed89,_0x4d8e26){const _0x709483=_0x1c5799;super(),this[_0x709483(0x194)]=_0x13ed89,this['_imageIoService']=_0x4d8e26,this['_init']();}[_0x1c5799(0x1fc)](){const _0xab4df9=_0x1c5799,_0x23b0e8=this;this[_0xab4df9(0x38e)](this[_0xab4df9(0x194)][_0xab4df9(0x29c)]({'onBeforePasteImage':async _0x5a354d=>{const _0x59d5ba=_0xab4df9,_0x213baa=await _0x23b0e8[_0x59d5ba(0x3d4)][_0x59d5ba(0x1d5)](_0x5a354d);return _0x213baa?{'source':_0x213baa[_0x59d5ba(0x181)],'imageSourceType':_0x213baa['imageSourceType']}:null;}}));}};_0x58ae56=_0x238114([_0x1cca42(0x0,_0x57d79a[_0x1c5799(0x1de)]),_0x1cca42(0x1,_0x3a36df[_0x1c5799(0x2dc)])],_0x58ae56);const _0x5acaa4=[_0x1c5799(0x2ee),_0x1c5799(0x1c3),_0x1c5799(0x2b9),'red300','blue400',_0x1c5799(0x22f)];class _0xc8e7b extends _0x453419[_0x1c5799(0x362)]{constructor(){const _0x225342=_0x1c5799;super(...arguments),_0x1be09e(this,_0x225342(0x278),new Map()),_0x1be09e(this,_0x225342(0x1ee),0x0);}['assignAColorForMemberID'](_0x109143){const _0x2932bf=_0x1c5799;if(this[_0x2932bf(0x278)]['has'](_0x109143))return this['_assignedColors'][_0x2932bf(0x3a2)](_0x109143);const _0x31323d=_0x5acaa4[this[_0x2932bf(0x1ee)]];return this[_0x2932bf(0x1ee)]=(this['_colorIndex']+0x1)%_0x5acaa4[_0x2932bf(0x1f0)],this['_assignedColors'][_0x2932bf(0x19a)](_0x109143,_0x31323d),_0x31323d;}}function _0x3ad10f(_0x576bd9){let _0x145b8f='';for(const _0x232bef of _0x576bd9){const {startOffset:_0x309ce7,endOffset:_0x576222,isActive:_0x3f0052,rangeType:_0x20aa49,segmentId:_0x42d8ef,segmentPage:_0x191ef5}=_0x232bef;_0x145b8f['length']&&(_0x145b8f+=','),_0x145b8f+=_0x309ce7+':'+_0x576222+':'+(_0x3f0052?'1':'0')+':'+_0x20aa49+':'+_0x42d8ef+':'+_0x191ef5;}return _0x145b8f;}function _0x532e4a(_0x1abc63){const _0x1b2d30=_0x1c5799,_0x5e7a5d=_0x1abc63[_0x1b2d30(0x39c)](','),_0x3f40af=[];for(const _0x3e20c7 of _0x5e7a5d){const [_0x2c555f,_0x569e77,_0x489552,_0x414662,_0xdc3cf8,_0x2a387b]=_0x3e20c7[_0x1b2d30(0x39c)](':');_0x3f40af[_0x1b2d30(0x1af)]({'startOffset':Number(_0x2c555f),'endOffset':Number(_0x569e77),'collapsed':_0x2c555f===_0x569e77,'isActive':_0x489552==='1','rangeType':_0x414662===_0x453419[_0x1b2d30(0x264)]['TEXT']?_0x453419['DOC_RANGE_TYPE'][_0x1b2d30(0x252)]:_0x453419[_0x1b2d30(0x264)][_0x1b2d30(0x22e)],'segmentId':typeof _0xdc3cf8==_0x1b2d30(0x1cf)?String(_0xdc3cf8):'','segmentPage':Number(_0x2a387b!=null?_0x2a387b:-0x1)});}return _0x3f40af[_0x1b2d30(0x1aa)](_0x34d1c1=>_0x34d1c1[_0x1b2d30(0x346)])||(_0x3f40af[0x0][_0x1b2d30(0x346)]=!0x0),_0x3f40af;}class _0x13f674 extends _0x453419[_0x1c5799(0x23f)]{constructor(){const _0x5f0752=_0x1c5799;super(...arguments),_0x1be09e(this,'_collabCursorState$',new _0xa78be3[(_0x5f0752(0x1a6))](null)),_0x1be09e(this,_0x5f0752(0x17f),this[_0x5f0752(0x38c)]['asObservable']());}[_0x1c5799(0x2a8)](_0x2ad1b4){const _0x2e74a2=_0x1c5799,{unitID:_0x41e621,memberID:_0x565d54,textRanges:_0x4d301}=_0x2ad1b4,_0x20e853=_0x3ad10f(_0x4d301);if(_0x20e853==='')return;const _0x360bfa={'unitID':_0x41e621,'memberID':_0x565d54,'selection':_0x20e853};this[_0x2e74a2(0x38c)][_0x2e74a2(0x1fd)](_0x360bfa);}}var _0x2976e6=Object[_0x1c5799(0x231)],_0x184fd2=(_0x52f685,_0xe01536,_0x467600,_0x2f689a)=>{for(var _0x1b7d25=_0x2f689a>0x1?void 0x0:_0x2f689a?_0x2976e6(_0xe01536,_0x467600):_0xe01536,_0x4f8366=_0x52f685['length']-0x1,_0x32c9af;_0x4f8366>=0x0;_0x4f8366--)(_0x32c9af=_0x52f685[_0x4f8366])&&(_0x1b7d25=_0x32c9af(_0x1b7d25)||_0x1b7d25);return _0x1b7d25;},_0x37ce68=(_0x1aa44b,_0x36e702)=>(_0x36f03d,_0x4b9795)=>_0x36e702(_0x36f03d,_0x4b9795,_0x1aa44b);const _0x31e101=0x12c,_0x4480b4=0x64;let _0x2df45c=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x444537,_0x3eae8b,_0x25ce3a,_0x464fe2,_0x4334be,_0x5da33a,_0xc7302a,_0x2c0e13,_0x35d0b8){const _0x586963=_0x1c5799;super(),_0x1be09e(this,'_online',!0x1),_0x1be09e(this,_0x586963(0x1fc),!0x1),_0x1be09e(this,_0x586963(0x2c7),new _0xa78be3['BehaviorSubject'](new Map())),_0x1be09e(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x1be09e(this,_0x586963(0x1ab),new _0xa78be3[(_0x586963(0x1a6))]([])),_0x1be09e(this,_0x586963(0x358),this[_0x586963(0x1ab)][_0x586963(0x14d)](_0xa78be3[_0x586963(0x2ac)](_0x31e101))),_0x1be09e(this,'_updateLocalCursor',_0x453419['debounce'](_0xadf9a=>{const _0xcd3744=_0x586963,_0x1f09df={'eventID':_0x567d4a['CollaborationEvent'][_0xcd3744(0x2ef)],'data':{'unitID':this['unitID'],'memberID':this[_0xcd3744(0x1ae)][_0xcd3744(0x33f)](),'selection':_0x3ad10f(_0xadf9a)}};this['_session'][_0xcd3744(0x36e)](_0x1f09df,this['unitID']);},_0x4480b4)),(this[_0x586963(0x257)]=_0x444537,this[_0x586963(0x1ae)]=_0x3eae8b,this[_0x586963(0x336)]=_0x25ce3a,this[_0x586963(0x225)]=_0x464fe2,this['_memberService']=_0x4334be,this['_syncEditingCollabCursorService']=_0x5da33a,this['_transformService']=_0xc7302a,this['_univerInstanceService']=_0x2c0e13,this['_commandService']=_0x35d0b8);}get[_0x1c5799(0x235)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x580804=_0x1c5799;return this[_0x580804(0x1ab)][_0x580804(0x1b1)]();}[_0x1c5799(0x2f8)](){const _0x5d22fa=_0x1c5799;super[_0x5d22fa(0x2f8)](),this['_cursorInfo$'][_0x5d22fa(0x1fd)](new Map()),this[_0x5d22fa(0x2c7)][_0x5d22fa(0x244)](),this[_0x5d22fa(0x1ab)][_0x5d22fa(0x1fd)]([]),this[_0x5d22fa(0x1ab)][_0x5d22fa(0x244)]();}[_0x1c5799(0x15d)](){const _0x1d58ff=_0x1c5799;this['_init']||(this[_0x1d58ff(0x1fc)]=!0x0,this['_session'][_0x1d58ff(0x363)][_0x1d58ff(0x14d)](_0xa78be3[_0x1d58ff(0x1e1)](this[_0x1d58ff(0x155)]))['subscribe'](_0xef7b5e=>{const _0x16dfae=_0x1d58ff;_0xef7b5e===_0x126ab5[_0x16dfae(0x283)][_0x16dfae(0x2c2)]?this[_0x16dfae(0x368)]():this['_toggleOffline']();}),this[_0x1d58ff(0x1ae)][_0x1d58ff(0x2eb)]['pipe'](_0xa78be3[_0x1d58ff(0x1e1)](this['dispose$']))[_0x1d58ff(0x159)](_0x12e84e=>{const _0x1078a4=_0x1d58ff,_0x46c527=_0x12e84e[_0x1078a4(0x340)];_0x46c527===_0x567d4a[_0x1078a4(0x203)][_0x1078a4(0x2ef)]&&this[_0x1078a4(0x31e)](_0x12e84e),_0x46c527===_0x567d4a[_0x1078a4(0x203)][_0x1078a4(0x3d3)]&&this[_0x1078a4(0x32e)](_0x12e84e);}),this[_0x1d58ff(0x38e)](this[_0x1d58ff(0x170)]['onCommandExecuted'](_0x5c0f51=>{const _0x5c762c=_0x1d58ff,_0x398a1c=_0x5c0f51[_0x5c762c(0x3ae)];_0x398a1c!=null&&this[_0x5c762c(0x20d)]&&_0x5c0f51['id']===_0x106a95[_0x5c762c(0x3e0)]['id']&&_0x398a1c['unitId']===this[_0x5c762c(0x257)]&&_0x398a1c[_0x5c762c(0x29b)]===!0x1&&_0x398a1c[_0x5c762c(0x2e4)]['length']>0x0&&this[_0x5c762c(0x3d0)](_0x398a1c[_0x5c762c(0x2e4)]);})),this[_0x1d58ff(0x39a)][_0x1d58ff(0x17f)]['pipe'](_0xa78be3['takeUntil'](this['dispose$']))[_0x1d58ff(0x159)](_0x2e403b=>{const _0x3b17c4=_0x1d58ff;if((_0x2e403b==null?void 0x0:_0x2e403b[_0x3b17c4(0x257)])!==this[_0x3b17c4(0x257)])return;const _0x3d2a15={'eventID':_0x567d4a[_0x3b17c4(0x203)][_0x3b17c4(0x2ef)],'data':_0x2e403b};this['_onCursorUpdate'](_0x3d2a15);}),this[_0x1d58ff(0x38e)](this[_0x1d58ff(0x170)][_0x1d58ff(0x3da)](_0x5621e3=>{const _0x573d6a=_0x1d58ff;if(_0x5621e3[_0x573d6a(0x3ae)]==null)return;const _0x3bfcc7=_0x5621e3[_0x573d6a(0x3ae)];if(_0x5621e3['id']!==_0x106a95['RichTextEditingMutation']['id']||_0x3bfcc7['unitId']!==this[_0x573d6a(0x257)])return;const _0x59ae97={'id':_0x573d6a(0x1b5),'params':_0x3bfcc7},_0x1bc5a9=this[_0x573d6a(0x235)];for(const [_0x513db1,_0xdc31f4]of _0x1bc5a9){const _0x258798={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x573d6a(0x257)],'actions':null,'textRanges':_0xdc31f4[_0x573d6a(0x2e4)]}},_0x30ab53=this[_0x573d6a(0x24c)][_0x573d6a(0x3c9)](_0x59ae97,_0x258798,!0x1);if(_0x567d4a[_0x573d6a(0x1e3)](_0x30ab53))throw _0x30ab53[_0x573d6a(0x29e)];_0x1bc5a9[_0x573d6a(0x19a)](_0x513db1,{..._0xdc31f4,'ranges':_0x30ab53[_0x573d6a(0x3bd)][_0x573d6a(0x3ae)]['textRanges']});}queueMicrotask(()=>{const _0x4eb577=_0x573d6a;this['_cursorInfo$'][_0x4eb577(0x1fd)](_0x1bc5a9);});})));}[_0x1c5799(0x31e)](_0x56082b){const _0x20269e=_0x1c5799;var _0x29c66d,_0x24e4bf;const {memberID:_0x470f60,selection:_0x213974}=_0x56082b[_0x20269e(0x287)],_0x438478=_0x532e4a(_0x213974),_0x6bb936=(_0x24e4bf=(_0x29c66d=this['_memberService']['getMember'](this['unitID'],_0x470f60))==null?void 0x0:_0x29c66d['name'])!=null?_0x24e4bf:_0x20269e(0x393),_0x4fb317={'color':this[_0x20269e(0x225)]['assignAColorForMemberID'](_0x470f60),'name':_0x6bb936,'ranges':_0x438478},_0x346a91=this[_0x20269e(0x235)];_0x346a91['set'](_0x470f60,_0x4fb317),this[_0x20269e(0x2c7)][_0x20269e(0x1fd)](_0x346a91);}[_0x1c5799(0x32e)](_0x201834){const _0xc275e0=_0x1c5799,{memberID:_0x5398b3}=_0x201834[_0xc275e0(0x287)],_0x103087=this['cursorInfo'];_0x103087[_0xc275e0(0x1a0)](_0x5398b3),this['_cursorInfo$'][_0xc275e0(0x1fd)](_0x103087);}[_0x1c5799(0x368)](){const _0x243fbe=_0x1c5799;var _0x1d450b;if(this['_online']=!0x0,((_0x1d450b=this[_0x243fbe(0x3cb)]['getFocusedUnit']())==null?void 0x0:_0x1d450b[_0x243fbe(0x2e8)]())!==this['unitID'])return;const _0x17b7b6=this['_injector'][_0x243fbe(0x3a2)](_0x106a95[_0x243fbe(0x1c1)])['getDocRanges']();Array[_0x243fbe(0x29a)](_0x17b7b6)&&_0x17b7b6[_0x243fbe(0x1f0)]>0x0&&this['_updateLocalCursor'](_0x17b7b6);}[_0x1c5799(0x2de)](){const _0x4aba89=_0x1c5799;this[_0x4aba89(0x20d)]=!0x1;}};_0x2df45c=_0x184fd2([_0x37ce68(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x37ce68(0x3,_0x453419[_0x1c5799(0x229)](_0xc8e7b)),_0x37ce68(0x4,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x34b)])),_0x37ce68(0x5,_0x453419[_0x1c5799(0x229)](_0x13f674)),_0x37ce68(0x6,_0x567d4a[_0x1c5799(0x29f)]),_0x37ce68(0x7,_0x453419[_0x1c5799(0x1c8)]),_0x37ce68(0x8,_0x453419['ICommandService'])],_0x2df45c);var _0x4800a3=Object[_0x1c5799(0x231)],_0xb2236a=(_0x402572,_0x1f6560,_0x7d6537,_0x4394e0)=>{const _0x585892=_0x1c5799;for(var _0x5c791a=_0x4394e0>0x1?void 0x0:_0x4394e0?_0x4800a3(_0x1f6560,_0x7d6537):_0x1f6560,_0x3cdb19=_0x402572[_0x585892(0x1f0)]-0x1,_0x5ebc57;_0x3cdb19>=0x0;_0x3cdb19--)(_0x5ebc57=_0x402572[_0x3cdb19])&&(_0x5c791a=_0x5ebc57(_0x5c791a)||_0x5c791a);return _0x5c791a;},_0x1b9551=(_0x3509b8,_0x23617a)=>(_0x1a056d,_0x35a651)=>_0x23617a(_0x1a056d,_0x35a651,_0x3509b8);const _0x29c908=0x12c,_0x15a10b=0x64,_0x3883b0=()=>{let _0x1ae2ba=[],_0x13fb28=!0x1;return _0x565a33=>{const _0xc8957f=_0x4a60;_0x1ae2ba[_0xc8957f(0x1af)](_0x565a33),_0x13fb28||(_0x13fb28=!0x0,setTimeout(()=>{const _0x4d5c58=_0xc8957f;_0x1ae2ba[_0x4d5c58(0x177)](_0x57ec5d=>_0x57ec5d()),_0x1ae2ba=[],_0x13fb28=!0x1;}));};};let _0x57b0de=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x2c7594,_0x15f2b6,_0x3222f2,_0x31e17e,_0x39d6f9,_0x30fca5,_0x2a1db5,_0x1114bb){const _0x5d300d=_0x1c5799;super(),_0x1be09e(this,'_online',!0x1),_0x1be09e(this,_0x5d300d(0x1fc),!0x1),_0x1be09e(this,_0x5d300d(0x2c7),new _0xa78be3[(_0x5d300d(0x1a6))](new Map())),_0x1be09e(this,_0x5d300d(0x3dd),this[_0x5d300d(0x2c7)][_0x5d300d(0x208)]()),_0x1be09e(this,_0x5d300d(0x1ab),new _0xa78be3[(_0x5d300d(0x1a6))]([])),_0x1be09e(this,_0x5d300d(0x358),this[_0x5d300d(0x1ab)][_0x5d300d(0x14d)](_0xa78be3[_0x5d300d(0x2ac)](_0x29c908))),_0x1be09e(this,'_updateLocalCursor',_0x453419[_0x5d300d(0x22c)]((_0x61263e,_0x500a9e)=>{const _0x3d9c58=_0x5d300d,_0x187d78={'eventID':_0x567d4a[_0x3d9c58(0x203)][_0x3d9c58(0x2ef)],'data':{'unitID':this[_0x3d9c58(0x257)],'memberID':this[_0x3d9c58(0x1ae)]['getMemberID'](),'selection':_0x46bdbf[_0x3d9c58(0x1e8)](_0x61263e,_0x500a9e[_0x3d9c58(0x168)])}};this[_0x3d9c58(0x1ae)][_0x3d9c58(0x36e)](_0x187d78,this[_0x3d9c58(0x257)]);},_0x15a10b)),(this[_0x5d300d(0x257)]=_0x2c7594,this['_session']=_0x15f2b6,this['_injector']=_0x3222f2,this['_colorAssignService']=_0x31e17e,this[_0x5d300d(0x236)]=_0x39d6f9,this[_0x5d300d(0x3cb)]=_0x30fca5,this[_0x5d300d(0x170)]=_0x2a1db5,this[_0x5d300d(0x2e9)]=_0x1114bb);}get[_0x1c5799(0x235)](){const _0x13d63b=_0x1c5799;return this[_0x13d63b(0x2c7)][_0x13d63b(0x1b1)]();}get[_0x1c5799(0x291)](){const _0x2b071d=_0x1c5799;return this[_0x2b071d(0x1ab)]['getValue']();}[_0x1c5799(0x2f8)](){const _0xf8c676=_0x1c5799;super[_0xf8c676(0x2f8)](),this[_0xf8c676(0x2c7)]['next'](new Map()),this[_0xf8c676(0x2c7)]['complete'](),this['_roomMembers$'][_0xf8c676(0x1fd)]([]),this[_0xf8c676(0x1ab)][_0xf8c676(0x244)]();}[_0x1c5799(0x15d)](){const _0x3fc0df=_0x1c5799;this[_0x3fc0df(0x1fc)]||(this['_init']=!0x0,this[_0x3fc0df(0x1ae)][_0x3fc0df(0x363)][_0x3fc0df(0x14d)](_0xa78be3[_0x3fc0df(0x1e1)](this['dispose$']))[_0x3fc0df(0x159)](_0x184d63=>{const _0x4a9fdd=_0x3fc0df;_0x184d63===_0x126ab5[_0x4a9fdd(0x283)][_0x4a9fdd(0x2c2)]?this['_toggleOnline']():this[_0x4a9fdd(0x2de)]();}),this['_session']['event$']['pipe'](_0xa78be3['takeUntil'](this[_0x3fc0df(0x155)]))['subscribe'](_0x322072=>{const _0x4cd145=_0x3fc0df,_0x38f741=_0x322072[_0x4cd145(0x340)];_0x38f741===_0x567d4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4cd145(0x31e)](_0x322072),_0x38f741===_0x567d4a[_0x4cd145(0x203)][_0x4cd145(0x3d3)]&&this[_0x4cd145(0x32e)](_0x322072);}),this[_0x3fc0df(0x174)](),this['disposeWithMe'](this[_0x3fc0df(0x170)][_0x3fc0df(0x3da)](_0x594416=>{const _0x1ef81d=_0x3fc0df;if(this['_online']&&_0x594416['id']===_0x395bb3['SetSelectionsOperation']['id']&&_0x594416['params'][_0x1ef81d(0x2e7)]===this[_0x1ef81d(0x257)]){const _0x48480d=_0x594416[_0x1ef81d(0x3ae)];this[_0x1ef81d(0x3d0)](_0x48480d[_0x1ef81d(0x1a7)],_0x48480d[_0x1ef81d(0x1d6)][0x0]);}})));}[_0x1c5799(0x31e)](_0x2ef999){const _0x1d8a76=_0x1c5799;var _0x113745,_0x23d1c2;const {memberID:_0x46703d,selection:_0x25a5a2}=_0x2ef999['data'],{sheetName:_0x551f98,range:_0x396b28}=_0x46bdbf[_0x1d8a76(0x152)](_0x25a5a2),_0xb957d={'name':(_0x23d1c2=(_0x113745=this[_0x1d8a76(0x236)][_0x1d8a76(0x250)](this[_0x1d8a76(0x257)],_0x46703d))==null?void 0x0:_0x113745[_0x1d8a76(0x299)])!=null?_0x23d1c2:_0x1d8a76(0x393),'range':this['_getMergeRange'](_0x551f98,_0x396b28),'sheetID':_0x551f98,'color':this[_0x1d8a76(0x225)][_0x1d8a76(0x243)](_0x46703d),'selection':_0x25a5a2},_0x80b488=this[_0x1d8a76(0x235)];_0x80b488[_0x1d8a76(0x19a)](_0x46703d,_0xb957d),this['_cursorInfo$']['next'](_0x80b488);}['_onCursorDelete'](_0x13a76e){const _0x3a00df=_0x1c5799,{memberID:_0x259f56}=_0x13a76e[_0x3a00df(0x287)],_0x291d0e=this[_0x3a00df(0x235)];_0x291d0e['delete'](_0x259f56),this[_0x3a00df(0x2c7)][_0x3a00df(0x1fd)](_0x291d0e);}['_getMergeRange'](_0x5e4a07,_0x4267d0){const _0x1de9f1=_0x1c5799;var _0x222176,_0x5c694a;const _0x2b5af7=(_0x5c694a=(_0x222176=this[_0x1de9f1(0x3cb)][_0x1de9f1(0x2ed)](this['unitID']))==null?void 0x0:_0x222176[_0x1de9f1(0x3db)](_0x5e4a07))==null?void 0x0:_0x5c694a[_0x1de9f1(0x2f6)]();return(_0x2b5af7==null?void 0x0:_0x2b5af7[_0x1de9f1(0x1a2)](_0x303536=>_0x453419[_0x1de9f1(0x360)][_0x1de9f1(0x36b)](_0x303536,_0x4267d0)))||_0x4267d0;}[_0x1c5799(0x174)](){const _0x4d218a=_0x1c5799,_0x2a8166=new _0x453419[(_0x4d218a(0x33c))](),_0x5966f6=_0x3883b0(),_0x1e244d=()=>{const _0x1d4060=_0x4d218a;_0x2a8166[_0x1d4060(0x2f8)]();const _0x554f5d=(_0x5a9ff7,_0x2e3800,_0x149804,_0x128e1c)=>{const _0x3b92df=_0x1d4060;let _0x57a826=[];switch(_0x5a9ff7['id']){case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x249)]:{_0x57a826=_0x395bb3['handleDeleteRangeMoveLeft'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3['EffectRefRangId'][_0x3b92df(0x1d4)]:{_0x57a826=_0x395bb3['handleDeleteRangeMoveUp'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3['EffectRefRangId'][_0x3b92df(0x1ec)]:{_0x57a826=_0x395bb3[_0x3b92df(0x27f)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x36f)]:{_0x57a826=_0x395bb3['handleInsertRangeMoveDown'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x3ad)]:{_0x57a826=_0x395bb3[_0x3b92df(0x2e1)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x23e)]:{_0x57a826=_0x395bb3[_0x3b92df(0x301)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x3df)]:{_0x57a826=_0x395bb3[_0x3b92df(0x13c)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x282)]:{_0x57a826=_0x395bb3[_0x3b92df(0x38a)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)]['RemoveRowCommandId']:{_0x57a826=_0x395bb3['handleIRemoveRow'](_0x5a9ff7,_0x128e1c);break;}}const _0x5ef578=_0x395bb3[_0x3b92df(0x308)](_0x57a826,_0x128e1c),_0x3dc445=this[_0x3b92df(0x235)][_0x3b92df(0x3a2)](_0x2e3800);if(_0x3dc445&&_0x5ef578){const _0x423939={..._0x3dc445,'range':_0x5ef578};this[_0x3b92df(0x235)]['set'](_0x2e3800,_0x423939),_0x5966f6(()=>{const _0x399fc6=_0x3b92df,_0x153257=this[_0x399fc6(0x2e9)][_0x399fc6(0x300)](_0x5ef578,_0x11ec64=>(_0x153257[_0x399fc6(0x2f8)](),_0x554f5d(_0x11ec64,_0x2e3800,_0x149804,_0x5ef578)));_0x2a8166[_0x399fc6(0x16a)](_0x153257);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1d4060(0x177)]((_0x44d672,_0x5bc8d4)=>{const _0x557d00=_0x1d4060,{range:_0x54ffad,sheetID:_0x4c3518}=_0x44d672,_0x1b8045=this['_refRangeService']['registerRefRange'](_0x54ffad,_0x138d9e=>(_0x1b8045[_0x557d00(0x2f8)](),_0x554f5d(_0x138d9e,_0x5bc8d4,_0x4c3518,_0x54ffad)));_0x2a8166['add'](_0x1b8045);});};this['disposeWithMe'](_0x453419[_0x4d218a(0x1c9)](this['_cursorInfo$'][_0x4d218a(0x159)](()=>{_0x1e244d();})));}[_0x1c5799(0x368)](){const _0xd1bee8=_0x1c5799;var _0x4a5b53,_0x2bc235;if(this[_0xd1bee8(0x20d)]=!0x0,((_0x4a5b53=this[_0xd1bee8(0x3cb)][_0xd1bee8(0x2fd)]())==null?void 0x0:_0x4a5b53[_0xd1bee8(0x2e8)]())!==this[_0xd1bee8(0x257)])return;const _0x41900b=(_0x2bc235=this['_injector'][_0xd1bee8(0x3a2)](_0x395bb3[_0xd1bee8(0x232)])[_0xd1bee8(0x1fa)]())==null?void 0x0:_0x2bc235[0x0],_0x317cd4=this['_univerInstanceService']['getCurrentUnitForType'](_0x453419[_0xd1bee8(0x247)][_0xd1bee8(0x2fc)])[_0xd1bee8(0x284)]();_0x41900b&&_0x317cd4&&this[_0xd1bee8(0x3d0)](_0x317cd4['getSheetId'](),_0x41900b);}['_toggleOffline'](){const _0x3a26e0=_0x1c5799;this[_0x3a26e0(0x20d)]=!0x1;}};_0x57b0de=_0xb2236a([_0x1b9551(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x1b9551(0x3,_0x453419[_0x1c5799(0x229)](_0xc8e7b)),_0x1b9551(0x4,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x34b)])),_0x1b9551(0x5,_0x453419[_0x1c5799(0x1c8)]),_0x1b9551(0x6,_0x453419[_0x1c5799(0x2a6)]),_0x1b9551(0x7,_0x453419[_0x1c5799(0x229)](_0x395bb3[_0x1c5799(0x21d)]))],_0x57b0de);var _0x5226cd=Object['getOwnPropertyDescriptor'],_0x4e9112=(_0x18cb7b,_0x489195,_0x20f05d,_0x4e144a)=>{for(var _0x301008=_0x4e144a>0x1?void 0x0:_0x4e144a?_0x5226cd(_0x489195,_0x20f05d):_0x489195,_0x3c4b7b=_0x18cb7b['length']-0x1,_0xf7ab6f;_0x3c4b7b>=0x0;_0x3c4b7b--)(_0xf7ab6f=_0x18cb7b[_0x3c4b7b])&&(_0x301008=_0xf7ab6f(_0x301008)||_0x301008);return _0x301008;},_0x1490b3=(_0x24c147,_0x43c9eb)=>(_0x282d1d,_0x3ccacc)=>_0x43c9eb(_0x282d1d,_0x3ccacc,_0x24c147);let _0x23e436=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x477ac7,_0x50bb8e,_0x20a6d3){const _0x585c86=_0x1c5799;super(),_0x1be09e(this,'_entities',new Map()),_0x1be09e(this,'_entityInit$',new _0xa78be3[(_0x585c86(0x395))]()),(this['_univerInstanceService']=_0x477ac7,this[_0x585c86(0x336)]=_0x50bb8e,this['_collabSessionService']=_0x20a6d3,this['_init']());}[_0x1c5799(0x2f8)](){const _0x629c9a=_0x1c5799;super[_0x629c9a(0x2f8)](),this[_0x629c9a(0x355)][_0x629c9a(0x244)](),this['_entities'][_0x629c9a(0x177)](_0x8b34c=>_0x8b34c['dispose']());}[_0x1c5799(0x248)](_0x39f658){const _0x469d4e=_0x1c5799;return this[_0x469d4e(0x2ad)]['has'](_0x39f658)?this[_0x469d4e(0x2ad)][_0x469d4e(0x3a2)](_0x39f658)[_0x469d4e(0x3dd)]:this[_0x469d4e(0x355)][_0x469d4e(0x14d)](_0xa78be3[_0x469d4e(0x2e0)](_0x191a83=>_0x191a83['unitID']===_0x39f658),_0xa78be3[_0x469d4e(0x15b)](_0x374f50=>_0x374f50[_0x469d4e(0x3dd)]));}['_init'](){const _0x1ccfa3=_0x1c5799;this['_univerInstanceService'][_0x1ccfa3(0x3ba)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x2fc)])[_0x1ccfa3(0x14d)](_0xa78be3['takeUntil'](this[_0x1ccfa3(0x155)]))[_0x1ccfa3(0x159)](async _0x1ddbc9=>{const _0xd0f75f=_0x1ccfa3,_0x586224=_0x1ddbc9[_0xd0f75f(0x2e8)](),_0x40e182=await this[_0xd0f75f(0x311)](_0x586224);this[_0xd0f75f(0x355)][_0xd0f75f(0x1fd)](_0x40e182),this[_0xd0f75f(0x2ad)][_0xd0f75f(0x19a)](_0x586224,_0x40e182);}),this[_0x1ccfa3(0x3cb)][_0x1ccfa3(0x3ba)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x3ac)])['pipe'](_0xa78be3['takeUntil'](this[_0x1ccfa3(0x155)]))[_0x1ccfa3(0x14d)](_0xa78be3['filter'](_0x316598=>!_0x316598[_0x1ccfa3(0x2e8)]()[_0x1ccfa3(0x349)]('__')))[_0x1ccfa3(0x159)](async _0x3014db=>{const _0x186503=_0x1ccfa3,_0x422885=_0x3014db[_0x186503(0x2e8)](),_0x27399e=await this['_startDocCollabCursor'](_0x422885);this[_0x186503(0x355)][_0x186503(0x1fd)](_0x27399e),this[_0x186503(0x2ad)][_0x186503(0x19a)](_0x422885,_0x27399e);}),_0xa78be3[_0x1ccfa3(0x1da)](this[_0x1ccfa3(0x3cb)][_0x1ccfa3(0x3d5)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x3ac)]),this[_0x1ccfa3(0x3cb)]['getTypeOfUnitDisposed$'](_0x453419['UniverInstanceType'][_0x1ccfa3(0x2fc)]))['pipe'](_0xa78be3['takeUntil'](this['dispose$']))['subscribe'](_0x2283df=>{const _0x3fd8d6=_0x1ccfa3,_0x534bd8=_0x2283df[_0x3fd8d6(0x2e8)](),_0xc4a319=this['_entities'][_0x3fd8d6(0x3a2)](_0x534bd8);_0xc4a319&&(_0xc4a319[_0x3fd8d6(0x2f8)](),this[_0x3fd8d6(0x2ad)][_0x3fd8d6(0x1a0)](_0x534bd8));});}async['_startSheetCollabCursor'](_0x2534d1){const _0x1c5da8=_0x1c5799,_0x3d8ec0=await this[_0x1c5da8(0x35f)][_0x1c5da8(0x2e6)](_0x2534d1),_0x57e996=this[_0x1c5da8(0x336)][_0x1c5da8(0x32f)](_0x57b0de,_0x2534d1,_0x3d8ec0);return _0x57e996[_0x1c5da8(0x15d)](),_0x57e996;}async[_0x1c5799(0x146)](_0x52f846){const _0x224335=_0x1c5799,_0x1772b3=await this[_0x224335(0x35f)][_0x224335(0x2e6)](_0x52f846),_0x5986d0=this[_0x224335(0x336)][_0x224335(0x32f)](_0x2df45c,_0x52f846,_0x1772b3);return _0x5986d0[_0x224335(0x15d)](),_0x5986d0;}};_0x23e436=_0x4e9112([_0x1490b3(0x0,_0x453419['IUniverInstanceService']),_0x1490b3(0x1,_0x453419['Inject'](_0x453419['Injector'])),_0x1490b3(0x2,_0x453419['Inject'](_0x126ab5['CollaborationSessionService']))],_0x23e436);const _0x32cd44=0x14,_0x549f1f=0xc8,_0x4e80cb=0x4,_0x18dcaf=0x5;function _0x2c134d(_0x8e635d,_0x853739){const _0x5e7b73=_0x1c5799;let {radius:_0x303055,width:_0x24ee34,height:_0x4059a3}=_0x853739;_0x303055=_0x303055!=null?_0x303055:0x0,_0x24ee34=_0x24ee34!=null?_0x24ee34:0x1e,_0x4059a3=_0x4059a3!=null?_0x4059a3:0x1e;let _0x121bf2=0x0,_0x592c25=0x0,_0x3beaec=0x0;_0x121bf2=_0x592c25=_0x3beaec=Math[_0x5e7b73(0x20f)](_0x303055,_0x24ee34/0x2,_0x4059a3/0x2),_0x8e635d[_0x5e7b73(0x141)](),_0x8e635d['moveTo'](_0x121bf2,0x0),_0x8e635d['lineTo'](_0x24ee34-_0x592c25,0x0),_0x8e635d[_0x5e7b73(0x26c)](_0x24ee34-_0x592c25,_0x592c25,_0x592c25,Math['PI']*0x3/0x2,0x0,!0x1),_0x8e635d[_0x5e7b73(0x14f)](_0x24ee34,_0x4059a3-_0x3beaec),_0x8e635d['arc'](_0x24ee34-_0x3beaec,_0x4059a3-_0x3beaec,_0x3beaec,0x0,Math['PI']/0x2,!0x1),_0x8e635d['lineTo'](0x0,_0x4059a3),_0x8e635d[_0x5e7b73(0x14f)](0x0,_0x121bf2),_0x8e635d['arc'](_0x121bf2,_0x121bf2,_0x121bf2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8e635d[_0x5e7b73(0x30f)](),_0x853739[_0x5e7b73(0x304)]&&(_0x8e635d[_0x5e7b73(0x3c5)](),_0x8e635d[_0x5e7b73(0x298)]=_0x853739[_0x5e7b73(0x304)],_0x853739['fillRule']===_0x5e7b73(0x2b7)?_0x8e635d[_0x5e7b73(0x304)]('evenodd'):_0x8e635d['fill'](),_0x8e635d['restore']());}class _0x403e07 extends _0x32283b[_0x1c5799(0x39f)]{constructor(_0x406678,_0x45ec23){const _0x206376=_0x1c5799;super(_0x406678,_0x45ec23),_0x1be09e(this,_0x206376(0x277)),_0x1be09e(this,_0x206376(0x13d)),(this[_0x206376(0x277)]=_0x45ec23==null?void 0x0:_0x45ec23[_0x206376(0x277)],this['text']=_0x45ec23==null?void 0x0:_0x45ec23[_0x206376(0x13d)]);}static[_0x1c5799(0x1e9)](_0x405f8f,_0x2151a5){const _0xa89d7b=_0x1c5799,{text:_0x3904a6,color:_0x174dd9}=_0x2151a5;_0x405f8f['save'](),_0x405f8f[_0xa89d7b(0x1bc)]=_0xa89d7b(0x396);const _0x33c249=_0x405f8f[_0xa89d7b(0x2a7)](_0x3904a6)['width'],_0x2a2bf1=Math['min'](_0x33c249+0x2*_0x4e80cb,_0x549f1f);_0x2c134d(_0x405f8f,{'height':_0x32cd44,'radius':0x4,'width':_0x2a2bf1,'fill':_0x174dd9}),_0x405f8f[_0xa89d7b(0x298)]='#FFF';const _0x560f81=_0x4e80cb,_0x17ba44=_0x32cd44-_0x18dcaf,_0x58ae2e=_0x549f1f-0x2*_0x4e80cb;if(_0x33c249>_0x58ae2e){let _0x331acc='',_0xdafc6=0x0;for(const _0x1a40fe of _0x3904a6){const _0x2eabcf=_0x405f8f[_0xa89d7b(0x2a7)](_0x1a40fe)[_0xa89d7b(0x183)];if(_0xdafc6+_0x2eabcf<=_0x58ae2e-_0x405f8f['measureText'](_0xa89d7b(0x1ba))[_0xa89d7b(0x183)])_0x331acc+=_0x1a40fe,_0xdafc6+=_0x2eabcf;else{_0x331acc+=_0xa89d7b(0x1ba);break;}}_0x405f8f[_0xa89d7b(0x399)](_0x331acc,_0x560f81,_0x17ba44);}else _0x405f8f[_0xa89d7b(0x399)](_0x3904a6,_0x560f81,_0x17ba44);_0x405f8f['restore']();}[_0x1c5799(0x263)](_0x2852fd){const _0x473463=_0x1c5799;_0x403e07[_0x473463(0x1e9)](_0x2852fd,this);}}const _0x5b49a2=_0x1c5799(0x21f),_0x52bccf=_0x1c5799(0x30b),_0x502a96=_0x1c5799(0x3b8),_0x16a415=0x6,_0x5c9a92=1.5,_0xf49071=0x4,_0x3b845a=1.5,_0x251a64=_0x1c5799(0x3ab);class _0x283a6b{constructor(_0x384049,_0x57b8e9,_0x38648e,_0x1250d6){const _0x924bdf=_0x1c5799;_0x1be09e(this,_0x924bdf(0x2ab),[]),_0x1be09e(this,_0x924bdf(0x2da),null),_0x1be09e(this,'_textBubble',null),_0x1be09e(this,'_anchorDot',null),_0x1be09e(this,_0x924bdf(0x154),null),_0x1be09e(this,_0x924bdf(0x2a2),null),(this['_cursor']=_0x384049,this['_scene']=_0x57b8e9,this[_0x924bdf(0x1c0)]=_0x38648e,this['_document']=_0x1250d6,this[_0x924bdf(0x22d)]());}set['_hover'](_0x1bcf3d){const _0x5e84d2=_0x1c5799;_0x1bcf3d?(this[_0x5e84d2(0x202)]&&this[_0x5e84d2(0x202)][_0x5e84d2(0x367)](),this[_0x5e84d2(0x1f2)]&&this['_textBubble'][_0x5e84d2(0x27c)]()):(this['_anchorDot']&&this['_anchorDot'][_0x5e84d2(0x27c)](),this[_0x5e84d2(0x1f2)]&&this[_0x5e84d2(0x1f2)][_0x5e84d2(0x367)]());}[_0x1c5799(0x2f8)](){const _0x1d08b5=_0x1c5799;for(const _0x323f0a of this[_0x1d08b5(0x2ab)])_0x323f0a[_0x1d08b5(0x2f8)]();this[_0x1d08b5(0x1f2)]&&this['_textBubble'][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x202)]&&this[_0x1d08b5(0x202)][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x2da)]&&this[_0x1d08b5(0x2da)][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x2a2)]&&this['_eventUnsubscribe']();}[_0x1c5799(0x22d)](){const _0x4cdcb3=_0x1c5799;var _0x4f4f68;const {_docSkeleton:_0x24adff,_document:_0x4eb66d}=this,{color:_0x27b25f,name:_0x23afd7,ranges:_0x15eaa8}=this[_0x4cdcb3(0x221)],_0x23f6d2=_0x4eb66d[_0x4cdcb3(0x3c1)](),{docsLeft:_0x2e89ee,docsTop:_0x531db7}=_0x23f6d2,_0x237b44=new _0x57d79a['NodePositionConvertToCursor'](_0x23f6d2,_0x24adff);for(const {startOffset:_0x439206,endOffset:_0x54be18,rangeType:_0x4bcfa4,segmentId:_0x4f05c9,segmentPage:_0x42dc04,collapsed:_0xa1767d,isActive:_0x1cb3fd}of _0x15eaa8){const _0x370265=_0x24adff['findNodePositionByCharIndex'](_0x439206,!0x0,_0x4f05c9,_0x42dc04);let _0x5a0fac=_0x24adff[_0x4cdcb3(0x31b)](_0x54be18,!0x0,_0x4f05c9,_0x42dc04);if(_0x5a0fac==null&&(_0x5a0fac=_0x24adff[_0x4cdcb3(0x31b)](_0x54be18-0x1,!0x1,_0x4f05c9,_0x42dc04)),_0x1cb3fd){const {contentBoxPointGroup:_0x37750c}=_0x237b44[_0x4cdcb3(0x1fe)](_0x5a0fac,_0x5a0fac);if(_0x37750c[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x2ce)](_0x27b25f,_0x37750c,_0x2e89ee,_0x531db7,_0x23afd7),this[_0x4cdcb3(0x2a2)]=this[_0x4cdcb3(0x1c7)]();}if(_0x370265&&_0x5a0fac){if(_0x4bcfa4===_0x453419[_0x4cdcb3(0x264)][_0x4cdcb3(0x22e)]){const _0x57d6b5=new _0x57d79a['NodePositionConvertToRectRange'](_0x23f6d2,_0x24adff),{pointGroup:_0x3efe0f}=(_0x4f4f68=_0x57d6b5[_0x4cdcb3(0x1fe)](_0x370265,_0x5a0fac))!=null?_0x4f4f68:{};if(_0x3efe0f==null||_0x3efe0f[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x151)](_0x27b25f,_0x3efe0f,_0x2e89ee,_0x531db7);}else{if(!_0xa1767d){const {borderBoxPointGroup:_0x437d67}=_0x237b44[_0x4cdcb3(0x1fe)](_0x370265,_0x5a0fac);if(_0x437d67[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x333)](_0x27b25f,_0x437d67,_0x2e89ee,_0x531db7);}}}}}[_0x1c5799(0x2ce)](_0x60bb48,_0x5e443b,_0x35b26c,_0x3a858c,_0x58ad24){const _0x28afc8=_0x1c5799,_0x9bf018=this[_0x28afc8(0x30a)](_0x5e443b),{left:_0x36b73a,top:_0xe38e7b,height:_0x1d5c85}=_0x9bf018,_0x59cecf=this[_0x28afc8(0x1cd)](),_0x3c677e=_0x3b845a/_0x59cecf,_0xa39258=new _0x32283b[(_0x28afc8(0x382))](_0x5b49a2+_0x453419[_0x28afc8(0x20e)][_0x28afc8(0x38b)](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c,'height':_0x1d5c85,'width':_0x5c9a92,'fill':_0x60bb48||_0x32283b[_0x28afc8(0x274)](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'strokeWidth':_0x3c677e,'stroke':_0x251a64,'evented':!0x0});this['_anchor']=_0xa39258,this[_0x28afc8(0x258)][_0x28afc8(0x17a)](_0xa39258,_0x57d79a['TEXT_RANGE_LAYER_INDEX']);const _0x3cbb33=new _0x32283b['Rect'](_0x5b49a2+_0x453419[_0x28afc8(0x20e)][_0x28afc8(0x38b)](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c-_0xf49071/0x2,'height':_0xf49071,'width':_0xf49071,'fill':_0x60bb48||_0x32283b[_0x28afc8(0x274)](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'strokeWidth':0x0,'stroke':_0x60bb48||_0x32283b['getColor'](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'evented':!0x1});this[_0x28afc8(0x202)]=_0x3cbb33,this[_0x28afc8(0x258)][_0x28afc8(0x17a)](_0x3cbb33,_0x57d79a['TEXT_RANGE_LAYER_INDEX']);const _0x2bbea8=new _0x403e07(_0x5b49a2+_0x453419['Tools']['generateRandomId'](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c-_0x32cd44,'text':_0x58ad24,'color':_0x60bb48});this[_0x28afc8(0x1f2)]=_0x2bbea8,this['_scene']['addObject'](_0x2bbea8,_0x57d79a[_0x28afc8(0x19d)]),this['_hover']=!0x1;}[_0x1c5799(0x1c7)](){const _0x3ab858=_0x1c5799,_0x16fd46=this[_0x3ab858(0x2da)][_0x3ab858(0x176)]['subscribeEvent'](()=>{const _0x1f3ce6=_0x3ab858;this[_0x1f3ce6(0x207)]=!0x0;}),_0x328a24=this[_0x3ab858(0x2da)][_0x3ab858(0x30e)][_0x3ab858(0x1e6)](()=>{const _0x2de472=_0x3ab858;this[_0x2de472(0x154)]&&clearTimeout(this[_0x2de472(0x154)]),this[_0x2de472(0x154)]=setTimeout(()=>{const _0xaac99=_0x2de472;this[_0xaac99(0x207)]=!0x1;},0x7d0);});return()=>{const _0x42d5f1=_0x3ab858;_0x16fd46[_0x42d5f1(0x1d9)](),_0x328a24[_0x42d5f1(0x1d9)]();};}[_0x1c5799(0x333)](_0x271053,_0x49474f,_0x1c8442,_0x4fbc2f){const _0x149321=_0x1c5799,_0x47f8cb=new _0x453419[(_0x149321(0x343))](_0x271053)[_0x149321(0x324)](0.2)[_0x149321(0x27e)](),_0x3ef389=new _0x32283b[(_0x149321(0x35a))](_0x52bccf+_0x453419['Tools'][_0x149321(0x38b)](_0x16a415),{'pointsGroup':_0x49474f,'fill':_0x47f8cb||_0x32283b[_0x149321(0x274)](_0x453419[_0x149321(0x3a1)][_0x149321(0x28d)],0.2),'left':_0x1c8442,'top':_0x4fbc2f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x149321(0x2ab)][_0x149321(0x1af)](_0x3ef389),this['_scene'][_0x149321(0x17a)](_0x3ef389,_0x57d79a[_0x149321(0x19d)]);}[_0x1c5799(0x151)](_0x40c6e5,_0x28285e,_0x5772e0,_0x245eaf){const _0x5bc66d=_0x1c5799,_0x50a689=new _0x453419[(_0x5bc66d(0x343))](_0x40c6e5)[_0x5bc66d(0x324)](0.2)[_0x5bc66d(0x27e)](),_0x2ef2c7=new _0x32283b[(_0x5bc66d(0x35a))](_0x502a96+_0x453419[_0x5bc66d(0x20e)][_0x5bc66d(0x38b)](_0x16a415),{'pointsGroup':_0x28285e,'fill':_0x50a689||_0x32283b[_0x5bc66d(0x274)](_0x453419['COLORS'][_0x5bc66d(0x28d)],0.2),'left':_0x5772e0,'top':_0x245eaf,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5bc66d(0x1af)](_0x2ef2c7),this[_0x5bc66d(0x258)][_0x5bc66d(0x17a)](_0x2ef2c7,_0x57d79a[_0x5bc66d(0x19d)]);}[_0x1c5799(0x30a)](_0x4ff45e){const _0x23dbfd=_0x4ff45e[0x0],_0x436d1e=_0x23dbfd[0x0],_0x50ad35=_0x23dbfd[0x2],{x:_0x55423c,y:_0x2d0140}=_0x436d1e,{x:_0x4fd1de,y:_0x22156b}=_0x50ad35;return{'left':_0x55423c,'top':_0x2d0140,'width':_0x4fd1de-_0x55423c,'height':_0x22156b-_0x2d0140};}['_getScale'](){const _0x440a79=_0x1c5799,{scaleX:_0x426eb6,scaleY:_0x14329c}=this['_scene'][_0x440a79(0x32b)]();return Math['max'](_0x426eb6,_0x14329c);}}var _0x175ab4=Object[_0x1c5799(0x231)],_0x51acea=(_0x43d817,_0xd6c209,_0x780cb5,_0x5a3042)=>{const _0x491753=_0x1c5799;for(var _0x40cbba=_0x5a3042>0x1?void 0x0:_0x5a3042?_0x175ab4(_0xd6c209,_0x780cb5):_0xd6c209,_0x566e33=_0x43d817[_0x491753(0x1f0)]-0x1,_0xbe217a;_0x566e33>=0x0;_0x566e33--)(_0xbe217a=_0x43d817[_0x566e33])&&(_0x40cbba=_0xbe217a(_0x40cbba)||_0x40cbba);return _0x40cbba;},_0x226852=(_0x3fed29,_0x13162d)=>(_0x412011,_0x22a2d8)=>_0x13162d(_0x412011,_0x22a2d8,_0x3fed29);let _0x177251=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x52e8a9,_0x2a8279,_0xf2485,_0x562718,_0x49cda0){const _0x549bd8=_0x1c5799;super(),_0x1be09e(this,_0x549bd8(0x245),[]),_0x1be09e(this,_0x549bd8(0x2ec),[]),(this['_context']=_0x52e8a9,this[_0x549bd8(0x180)]=_0x2a8279,this[_0x549bd8(0x1f7)]=_0xf2485,this[_0x549bd8(0x170)]=_0x562718,this[_0x549bd8(0x320)]=_0x49cda0,this[_0x549bd8(0x1fc)]());}[_0x1c5799(0x1fc)](){const _0x29d972=_0x1c5799,_0x4f6601=this[_0x29d972(0x242)][_0x29d972(0x2e7)],_0x29c233=this[_0x29d972(0x180)];this[_0x29d972(0x38e)](_0xa78be3[_0x29d972(0x2b4)]([this[_0x29d972(0x1f7)][_0x29d972(0x248)](_0x4f6601),this[_0x29d972(0x320)]['currentTheme$']])[_0x29d972(0x14d)](_0x358e23[_0x29d972(0x37c)](([_0x2ae088,_0x434a39])=>({'skeleton':_0x29c233[_0x29d972(0x32c)](),'cursors':[..._0x2ae088[_0x29d972(0x322)]()]['flatMap'](_0x5ac904=>({..._0x5ac904,'color':_0x434a39[_0x5ac904[_0x29d972(0x277)]]}))})))[_0x29d972(0x159)](_0x345699=>{const _0x2f6879=_0x29d972;if(this['_removeCollabCursors'](),_0x345699){const {skeleton:_0x1169c0,cursors:_0x37ebe3}=_0x345699;this[_0x2f6879(0x21c)](_0x1169c0,_0x37ebe3);}})),this['_initResize'](),this[_0x29d972(0x353)]();}['_updateCollabCursors'](_0xe2fc23,_0x5329ab){const _0x4c832c=_0x1c5799,{scene:_0x4cf73c,mainComponent:_0x215f52}=this[_0x4c832c(0x242)],_0x45dce4=_0x5329ab[_0x4c832c(0x37c)](_0x14787a=>new _0x283a6b(_0x14787a,_0x4cf73c,_0xe2fc23,_0x215f52));this[_0x4c832c(0x245)]=_0x45dce4,this[_0x4c832c(0x2ec)]=_0x5329ab;}['_refreshCollabCursors'](){const _0x515b69=_0x1c5799;this['_removeCollabCursors']();const {scene:_0x2409d6,mainComponent:_0x36044e}=this[_0x515b69(0x242)],_0xdb883b=this[_0x515b69(0x180)]['getSkeleton'](),_0x13587b=this[_0x515b69(0x2ec)][_0x515b69(0x37c)](_0x5bd5f5=>new _0x283a6b(_0x5bd5f5,_0x2409d6,_0xdb883b,_0x36044e));this['_cursorShapes']=_0x13587b;}['_removeCollabCursors'](){const _0x4fe48c=_0x1c5799;this[_0x4fe48c(0x245)]['forEach'](_0x13c825=>_0x13c825[_0x4fe48c(0x2f8)]()),this[_0x4fe48c(0x245)]=[];}[_0x1c5799(0x353)](){const _0x5725a1=_0x1c5799,_0x45f111=[_0x57d79a['SetDocZoomRatioOperation']['id']];this[_0x5725a1(0x38e)](this[_0x5725a1(0x170)]['onCommandExecuted'](_0x185a82=>{const _0x312d3c=_0x5725a1;_0x45f111[_0x312d3c(0x293)](_0x185a82['id'])&&_0x185a82[_0x312d3c(0x3ae)][_0x312d3c(0x2e7)]===this[_0x312d3c(0x242)]['unitId']&&this[_0x312d3c(0x3b4)]();}));}['_initResize'](){const _0x13b159=_0x1c5799;this[_0x13b159(0x38e)](_0x453419[_0x13b159(0x1f5)](this[_0x13b159(0x242)][_0x13b159(0x216)][_0x13b159(0x213)])[_0x13b159(0x14d)](_0x358e23[_0x13b159(0x2e0)](_0x1c8ecb=>_0x1c8ecb[_0x13b159(0x186)]===_0x32283b[_0x13b159(0x1c4)]['resize']),_0x358e23[_0x13b159(0x31d)](0x10))[_0x13b159(0x159)](()=>{const _0x113150=_0x13b159;this[_0x113150(0x3b4)]();}));}};_0x177251=_0x51acea([_0x226852(0x1,_0x453419[_0x1c5799(0x229)](_0x106a95[_0x1c5799(0x371)])),_0x226852(0x2,_0x453419[_0x1c5799(0x229)](_0x23e436)),_0x226852(0x3,_0x453419[_0x1c5799(0x2a6)]),_0x226852(0x4,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x2d8)]))],_0x177251);const _0x2a8249=0x1,_0x2af56b=1.5;class _0x2a871a extends _0x32283b[_0x1c5799(0x39f)]{constructor(_0x584eef,_0x33ce22){const _0x3a2916=_0x1c5799;super(_0x584eef,_0x33ce22),_0x1be09e(this,_0x3a2916(0x2c0)),_0x1be09e(this,_0x3a2916(0x334),!0x1),_0x1be09e(this,_0x3a2916(0x2f3)),_0x1be09e(this,_0x3a2916(0x1e7),''),_0x1be09e(this,_0x3a2916(0x39b),'top'),_0x1be09e(this,'_backgroundColor'),(_0x33ce22&&this['setShapeProps'](_0x33ce22),this[_0x3a2916(0x176)][_0x3a2916(0x1e6)](()=>this[_0x3a2916(0x27d)]({'hovered':!0x0})),this[_0x3a2916(0x30e)][_0x3a2916(0x1e6)](()=>this[_0x3a2916(0x27d)]({'hovered':!0x1})));}[_0x1c5799(0x27d)](_0x14e5ff){const _0x8b7e48=_0x1c5799;var _0x16cf9e,_0x30e886,_0x53041a,_0x738e98,_0x28c5b9,_0x1a6333;this['_color']=(_0x16cf9e=_0x14e5ff[_0x8b7e48(0x277)])!=null?_0x16cf9e:this[_0x8b7e48(0x2c0)],this[_0x8b7e48(0x334)]=(_0x30e886=_0x14e5ff[_0x8b7e48(0x339)])!=null?_0x30e886:this[_0x8b7e48(0x334)],this[_0x8b7e48(0x2f3)]=(_0x53041a=_0x14e5ff[_0x8b7e48(0x168)])!=null?_0x53041a:this['_range'],this[_0x8b7e48(0x1e7)]=(_0x738e98=_0x14e5ff[_0x8b7e48(0x299)])!=null?_0x738e98:this['_name'],this[_0x8b7e48(0x39b)]=(_0x28c5b9=_0x14e5ff[_0x8b7e48(0x388)])!=null?_0x28c5b9:this[_0x8b7e48(0x39b)],this[_0x8b7e48(0x173)]=(_0x1a6333=_0x14e5ff[_0x8b7e48(0x2cc)])!=null?_0x1a6333:this[_0x8b7e48(0x173)],this[_0x8b7e48(0x392)]({'width':_0x14e5ff[_0x8b7e48(0x183)],'height':_0x14e5ff['height']});}[_0x1c5799(0x33e)](_0x48bed9){const _0x5658c2=_0x1c5799,{row:_0x19a97d,column:_0x11daa3}=_0x48bed9;if(_0x19a97d>=this[_0x5658c2(0x2f3)][_0x5658c2(0x164)]&&_0x19a97d<=this[_0x5658c2(0x2f3)][_0x5658c2(0x37b)]&&_0x11daa3>=this['_range']['startColumn']&&_0x11daa3<=this[_0x5658c2(0x2f3)][_0x5658c2(0x1db)]){this[_0x5658c2(0x27d)]({'hovered':!0x0});return;}this[_0x5658c2(0x27d)]({'hovered':!0x1});}[_0x1c5799(0x1ed)](_0x2cda8f){return!0x1;}['_draw'](_0x1b4ce7){const _0x1e9336=_0x1c5799;_0x32283b[_0x1e9336(0x382)][_0x1e9336(0x1e9)](_0x1b4ce7,{'width':this[_0x1e9336(0x183)],'height':this['height'],'strokeWidth':_0x2af56b,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1e9336(0x173)]}),this['_hovered']&&(_0x1b4ce7[_0x1e9336(0x3c5)](),_0x1b4ce7[_0x1e9336(0x198)](0x1,0x0,0x0,0x1,this[_0x1e9336(0x183)],this[_0x1e9336(0x39b)]===_0x1e9336(0x260)?0x0:-0x14),_0x403e07[_0x1e9336(0x1e9)](_0x1b4ce7,{'text':this[_0x1e9336(0x1e7)],'color':this[_0x1e9336(0x2c0)]}),_0x1b4ce7[_0x1e9336(0x1dc)]());}}var _0xf5cbf=Object[_0x1c5799(0x231)],_0x5eff5d=(_0x3162a3,_0xc6f484,_0x4e29a2,_0x199cc0)=>{const _0x2adc12=_0x1c5799;for(var _0x219ed=_0x199cc0>0x1?void 0x0:_0x199cc0?_0xf5cbf(_0xc6f484,_0x4e29a2):_0xc6f484,_0xe60f55=_0x3162a3[_0x2adc12(0x1f0)]-0x1,_0x1ff226;_0xe60f55>=0x0;_0xe60f55--)(_0x1ff226=_0x3162a3[_0xe60f55])&&(_0x219ed=_0x1ff226(_0x219ed)||_0x219ed);return _0x219ed;},_0x5e7949=(_0x4d071f,_0x6a4845)=>(_0x279ccd,_0x5ea690)=>_0x6a4845(_0x279ccd,_0x5ea690,_0x4d071f);const _0x17746e=0x1389;let _0x53ff49=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x3f6b7f,_0x36d2f1,_0x18ec59,_0x1b8fc1){const _0x20cdf2=_0x1c5799;super(),_0x1be09e(this,_0x20cdf2(0x2ec),new Set()),_0x1be09e(this,_0x20cdf2(0x3c6),null),(this['_context']=_0x3f6b7f,this[_0x20cdf2(0x348)]=_0x36d2f1,this[_0x20cdf2(0x1f7)]=_0x18ec59,this[_0x20cdf2(0x320)]=_0x1b8fc1,this[_0x20cdf2(0x1fc)]());}['_init'](){const _0x6fe85e=_0x1c5799;this[_0x6fe85e(0x348)][_0x6fe85e(0x2be)][_0x6fe85e(0x14d)](_0x358e23['takeUntil'](this['dispose$']),_0x358e23[_0x6fe85e(0x15b)](_0x3b43a3=>{const _0x3ff9cd=_0x6fe85e;if(_0x3b43a3){const _0x454946=_0x3b43a3[_0x3ff9cd(0x240)];return _0xa78be3[_0x3ff9cd(0x2b4)](this['_collabCursorController'][_0x3ff9cd(0x248)](this[_0x3ff9cd(0x242)][_0x3ff9cd(0x2e7)]),this[_0x3ff9cd(0x320)][_0x3ff9cd(0x3ca)])['pipe'](_0x358e23['map'](([_0x2f6bbe,_0x5eba7c])=>{const _0x169669=_0x3ff9cd,_0x3dfb84=new Map();return _0x2f6bbe[_0x169669(0x177)]((_0x4c6713,_0x2258ac)=>{const _0x2cfb8b=_0x169669;if(_0x4c6713['sheetID']===_0x454946){const _0x29ae0e={..._0x4c6713};_0x29ae0e['color']=_0x5eba7c[_0x4c6713[_0x2cfb8b(0x277)]],_0x3dfb84[_0x2cfb8b(0x19a)](_0x2258ac,_0x29ae0e);}}),{'skeleton':_0x3b43a3,'cursors':_0x3dfb84};}));}return _0xa78be3['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3829a0,cursors:_0x3be2f5})=>{const _0x48c2bd=_0x6fe85e;this['_removeCollabCursors'](),_0x3829a0&&this[_0x48c2bd(0x21c)](_0x3829a0,_0x3be2f5);}),this['_sheetSkeletonManagerService'][_0x6fe85e(0x2be)][_0x6fe85e(0x159)](_0x340226=>{const _0x9c9744=_0x6fe85e;if(_0x340226==null)return;const {skeleton:_0x3dbfd4}=_0x340226,{scene:_0x221eef}=this[_0x9c9744(0x242)];_0x221eef[_0x9c9744(0x37a)][_0x9c9744(0x1e6)](_0x453419[_0x9c9744(0x22c)](_0x42e119=>{const _0x5e80dd=_0x9c9744;var _0x5cb892,_0x20c045;const {offsetX:_0x398e61,offsetY:_0x22752e}=_0x42e119,{x:_0x159e3e,y:_0x4eeece}=_0x221eef[_0x5e80dd(0x268)](_0x32283b['Vector2'][_0x5e80dd(0x20c)]([_0x398e61,_0x22752e])),{scaleX:_0x5c0178,scaleY:_0x16cf01}=_0x221eef['getAncestorScale'](),_0x128036=_0x221eef[_0x5e80dd(0x325)](_0x32283b[_0x5e80dd(0x163)][_0x5e80dd(0x3a3)]),_0xbe2c64=_0x221eef[_0x5e80dd(0x28c)](_0x32283b[_0x5e80dd(0x387)][_0x5e80dd(0x20c)]([_0x159e3e,_0x4eeece]),_0x128036),_0x55903a=_0x3dbfd4['getCellPositionByOffset'](_0x398e61,_0x22752e,_0x5c0178,_0x16cf01,_0xbe2c64);((_0x5cb892=this[_0x5e80dd(0x3c6)])==null?void 0x0:_0x5cb892[_0x5e80dd(0x1e4)])===_0x55903a['column']&&((_0x20c045=this[_0x5e80dd(0x3c6)])==null?void 0x0:_0x20c045[_0x5e80dd(0x37e)])===_0x55903a['row']||this[_0x5e80dd(0x2ec)][_0x5e80dd(0x177)](_0xc271dd=>{const _0x32b3b1=_0x5e80dd;_0xc271dd[_0x32b3b1(0x33e)](_0x55903a);});},0x64));});}[_0x1c5799(0x21c)](_0x7a8055,_0x284c59){const _0x257bc3=_0x1c5799;var _0x7482c2;const _0x2f66bc=(_0x7482c2=this['_sheetSkeletonManagerService'][_0x257bc3(0x2c8)]())==null?void 0x0:_0x7482c2[_0x257bc3(0x2f2)];if(!_0x2f66bc)return;const _0x12d8cc=this[_0x257bc3(0x2a5)]();if(!_0x12d8cc)return;this[_0x257bc3(0x2ec)][_0x257bc3(0x177)](_0x4457cb=>{const _0x23b553=_0x257bc3;_0x4457cb[_0x23b553(0x185)]();});const {scene:_0x44fc44}=_0x12d8cc,_0x56f6fa=_0x5d8602(Array[_0x257bc3(0x172)](_0x284c59[_0x257bc3(0x322)]()))['map'](_0x3ff0e=>{const _0x3c3dd4=_0x257bc3,{color:_0x4e3534,range:_0x3b9171,name:_0x72fb71,selection:_0x53ca01,sheetID:_0x3471ab}=_0x3ff0e,{startColumn:_0x2c136b,startRow:_0x470bf5,endColumn:_0xf502ea,endRow:_0x40de81}=_0x3b9171,_0x316330=_0x4e23ac[_0x3c3dd4(0x23d)](_0x470bf5,_0x2c136b,_0x44fc44,_0x2f66bc),_0x99c46=_0x4e23ac[_0x3c3dd4(0x23d)](_0x40de81,_0xf502ea,_0x44fc44,_0x2f66bc),{columnHeaderHeightAndMarginTop:_0x32ee4d}=_0x2f66bc,{startX:_0x2f4f0c,startY:_0x57eb36}=_0x316330,{endX:_0x644ec6,endY:_0xb63340}=_0x99c46,_0x1c2f3e=_0x644ec6-_0x2f4f0c,_0x2f27d5=_0xb63340-_0x57eb36,_0x2bc8b4={'labelPosition':_0x57eb36-_0x32ee4d>=_0x32cd44?_0x3c3dd4(0x222):'bottom','sheetID':_0x3471ab,'range':_0x3b9171,'color':_0x4e3534,'name':_0x72fb71,'selection':_0x53ca01,'left':_0x2f4f0c,'top':_0x57eb36,'width':_0x1c2f3e,'height':_0x2f27d5,'evented':!0x1,'zIndex':_0x17746e};return new _0x2a871a(_0x72fb71,_0x2bc8b4);});_0x44fc44[_0x257bc3(0x35d)](_0x56f6fa,_0x2a8249),this[_0x257bc3(0x2ec)]=new Set(_0x56f6fa);}[_0x1c5799(0x3b6)](){const _0x2fdc7e=_0x1c5799;var _0x1e4d0d;(_0x1e4d0d=this[_0x2fdc7e(0x2ec)])==null||_0x1e4d0d['forEach'](_0x29a5bd=>_0x29a5bd['dispose']());}[_0x1c5799(0x2a5)](){const _0x42d637=_0x1c5799;return _0x4e23ac[_0x42d637(0x3d1)](this[_0x42d637(0x242)]['unit'],this[_0x42d637(0x242)]);}};_0x53ff49=_0x5eff5d([_0x5e7949(0x1,_0x453419[_0x1c5799(0x229)](_0x4e23ac[_0x1c5799(0x224)])),_0x5e7949(0x2,_0x453419[_0x1c5799(0x229)](_0x23e436)),_0x5e7949(0x3,_0x453419[_0x1c5799(0x229)](_0x453419['ThemeService']))],_0x53ff49);function _0x5d8602(_0x4c71d4){const _0x427e50=_0x1c5799,_0x2977f8=new Map();return _0x4c71d4[_0x427e50(0x177)](_0x3ba090=>{const _0x453ab6=_0x427e50;if(_0x2977f8[_0x453ab6(0x212)](_0x3ba090[_0x453ab6(0x3dc)])){const _0x1d2d40=_0x2977f8[_0x453ab6(0x3a2)](_0x3ba090[_0x453ab6(0x3dc)]);_0x1d2d40['name']+=',\x20'+_0x3ba090[_0x453ab6(0x299)];}else _0x2977f8[_0x453ab6(0x19a)](_0x3ba090[_0x453ab6(0x3dc)],_0x3ba090);}),Array[_0x427e50(0x172)](_0x2977f8[_0x427e50(0x322)]());}var _0x28a9cd=function(){const _0x1290b7=_0x1c5799;return _0x28a9cd=Object[_0x1290b7(0x1a5)]||function(_0x478f0e){const _0x172f3f=_0x1290b7;for(var _0x7772b1,_0xd2d0c9=0x1,_0x14ac84=arguments['length'];_0xd2d0c9<_0x14ac84;_0xd2d0c9++){_0x7772b1=arguments[_0xd2d0c9];for(var _0xd2342 in _0x7772b1)Object[_0x172f3f(0x239)][_0x172f3f(0x2f0)]['call'](_0x7772b1,_0xd2342)&&(_0x478f0e[_0xd2342]=_0x7772b1[_0xd2342]);}return _0x478f0e;},_0x28a9cd[_0x1290b7(0x182)](this,arguments);},_0x5496f3=function(_0x3e5f80,_0x54f189){const _0x3619d0=_0x1c5799;var _0x3923d6={};for(var _0x5a2b34 in _0x3e5f80)Object[_0x3619d0(0x239)][_0x3619d0(0x2f0)][_0x3619d0(0x31f)](_0x3e5f80,_0x5a2b34)&&_0x54f189[_0x3619d0(0x266)](_0x5a2b34)<0x0&&(_0x3923d6[_0x5a2b34]=_0x3e5f80[_0x5a2b34]);if(_0x3e5f80!=null&&typeof Object[_0x3619d0(0x2a3)]=='function'){for(var _0x279334=0x0,_0x5a2b34=Object['getOwnPropertySymbols'](_0x3e5f80);_0x279334<_0x5a2b34[_0x3619d0(0x1f0)];_0x279334++)_0x54f189[_0x3619d0(0x266)](_0x5a2b34[_0x279334])<0x0&&Object[_0x3619d0(0x239)]['propertyIsEnumerable'][_0x3619d0(0x31f)](_0x3e5f80,_0x5a2b34[_0x279334])&&(_0x3923d6[_0x5a2b34[_0x279334]]=_0x3e5f80[_0x5a2b34[_0x279334]]);}return _0x3923d6;},_0x496112=_0x1ee08f[_0x1c5799(0x17d)](function(_0x508025,_0x5d0d56){const _0x599cc2=_0x1c5799;var _0x1ad3e0=_0x508025[_0x599cc2(0x3bf)],_0x1ce7cb=_0x508025['id'],_0x3729d0=_0x508025[_0x599cc2(0x270)],_0x5cd62c=_0x508025[_0x599cc2(0x34f)],_0xf12159=_0x5496f3(_0x508025,[_0x599cc2(0x3bf),'id','className','extend']),_0x4e211f='univerjs-icon\x20univerjs-icon-'[_0x599cc2(0x2cf)](_0x1ce7cb,'\x20')[_0x599cc2(0x2cf)](_0x3729d0||'')[_0x599cc2(0x34a)](),_0x1e99f3=_0x1ee08f[_0x599cc2(0x1ea)]('_'[_0x599cc2(0x2cf)](_0x508077()));return _0x207727(_0x1ad3e0,''['concat'](_0x1ce7cb),{'defIds':_0x1ad3e0[_0x599cc2(0x157)],'idSuffix':_0x1e99f3[_0x599cc2(0x209)]},_0x28a9cd({'ref':_0x5d0d56,'className':_0x4e211f},_0xf12159),_0x5cd62c);});function _0x207727(_0x15748f,_0x4baeae,_0x532f7d,_0x3ebb35,_0x151fab){const _0x165f11=_0x1c5799;return _0x1ee08f['createElement'](_0x15748f[_0x165f11(0x230)],_0x28a9cd(_0x28a9cd({'key':_0x4baeae},_0x38d45c(_0x15748f,_0x532f7d,_0x151fab)),_0x3ebb35),(_0x4c1a38(_0x15748f,_0x532f7d)[_0x165f11(0x1f9)]||[])[_0x165f11(0x37c)](function(_0x1e6b04,_0x3cb8de){const _0x7a34c=_0x165f11;return _0x207727(_0x1e6b04,''[_0x7a34c(0x2cf)](_0x4baeae,'-')[_0x7a34c(0x2cf)](_0x15748f[_0x7a34c(0x230)],'-')[_0x7a34c(0x2cf)](_0x3cb8de),_0x532f7d,void 0x0,_0x151fab);}));}function _0x38d45c(_0x58587f,_0x3b9f4f,_0x42fcd3){const _0x434b3d=_0x1c5799;var _0x43b6b6=_0x28a9cd({},_0x58587f['attrs']);_0x42fcd3!=null&&_0x42fcd3[_0x434b3d(0x15f)]&&_0x43b6b6[_0x434b3d(0x304)]==='colorChannel1'&&(_0x43b6b6['fill']=_0x42fcd3[_0x434b3d(0x15f)]),_0x58587f[_0x434b3d(0x230)]==='mask'&&_0x43b6b6['id']&&(_0x43b6b6['id']=_0x43b6b6['id']+_0x3b9f4f[_0x434b3d(0x357)]),Object[_0x434b3d(0x3b0)](_0x43b6b6)[_0x434b3d(0x177)](function(_0x5ab38f){const _0x50bb04=_0x434b3d;var _0x4708a5=_0x5ab38f[0x0],_0x2e0f8c=_0x5ab38f[0x1];_0x4708a5===_0x50bb04(0x22a)&&typeof _0x2e0f8c==_0x50bb04(0x1cf)&&(_0x43b6b6[_0x4708a5]=_0x2e0f8c[_0x50bb04(0x1d1)](/url\(#(.*)\)/,_0x50bb04(0x380)['concat'](_0x3b9f4f['idSuffix'],')')));});var _0x1f26f3=_0x3b9f4f[_0x434b3d(0x157)];return!_0x1f26f3||_0x1f26f3[_0x434b3d(0x1f0)]===0x0||(_0x58587f[_0x434b3d(0x230)]===_0x434b3d(0x167)&&_0x43b6b6['xlink:href']&&(_0x43b6b6[_0x434b3d(0x226)]=_0x43b6b6[_0x434b3d(0x226)]+_0x3b9f4f['idSuffix']),Object[_0x434b3d(0x3b0)](_0x43b6b6)['forEach'](function(_0x1f7f38){const _0x37268c=_0x434b3d;var _0x16a2e9=_0x1f7f38[0x0],_0x2efcc8=_0x1f7f38[0x1];typeof _0x2efcc8==_0x37268c(0x1cf)&&(_0x43b6b6[_0x16a2e9]=_0x2efcc8[_0x37268c(0x1d1)](/url\(#(.*)\)/,_0x37268c(0x380)[_0x37268c(0x2cf)](_0x3b9f4f['idSuffix'],')')));})),_0x43b6b6;}function _0x4c1a38(_0x79ce8d,_0x5607d9){const _0x33b683=_0x1c5799;var _0x204486,_0x4d4881=_0x5607d9['defIds'];return!_0x4d4881||_0x4d4881['length']===0x0?_0x79ce8d:_0x79ce8d[_0x33b683(0x230)]==='defs'&&(!((_0x204486=_0x79ce8d[_0x33b683(0x1f9)])===null||_0x204486===void 0x0)&&_0x204486[_0x33b683(0x1f0)])?_0x28a9cd(_0x28a9cd({},_0x79ce8d),{'children':_0x79ce8d['children'][_0x33b683(0x37c)](function(_0x4a64cf){const _0x18b8c3=_0x33b683;return typeof _0x4a64cf['attrs']['id']=='string'&&_0x4d4881&&_0x4d4881[_0x18b8c3(0x266)](_0x4a64cf[_0x18b8c3(0x2d4)]['id'])>-0x1?_0x28a9cd(_0x28a9cd({},_0x4a64cf),{'attrs':_0x28a9cd(_0x28a9cd({},_0x4a64cf[_0x18b8c3(0x2d4)]),{'id':_0x4a64cf[_0x18b8c3(0x2d4)]['id']+_0x5607d9['idSuffix']})}):_0x4a64cf;})}):_0x79ce8d;}function _0x508077(){const _0x1790d0=_0x1c5799;return Math[_0x1790d0(0x2f7)]()[_0x1790d0(0x3aa)](0x24)[_0x1790d0(0x3a9)](0x2,0x8);}_0x496112['displayName']=_0x1c5799(0x2fa);var _0x12345b={'tag':'svg','attrs':{'fill':_0x1c5799(0x273),'viewBox':'0\x200\x2016\x2016','width':_0x1c5799(0x318),'height':_0x1c5799(0x318)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1c5799(0x381),'d':_0x1c5799(0x3b5),'strokeLinecap':_0x1c5799(0x356),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1c5799(0x2a1),'attrs':{'id':_0x1c5799(0x184)},'children':[{'tag':_0x1c5799(0x366),'attrs':{'fill':_0x1c5799(0x32a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1c5799(0x184)]},_0x172dec=_0x1ee08f[_0x1c5799(0x17d)](function(_0x318373,_0x23743c){const _0x103abc=_0x1c5799;return _0x1ee08f[_0x103abc(0x2b3)](_0x496112,Object['assign']({},_0x318373,{'id':_0x103abc(0x17c),'ref':_0x23743c,'icon':_0x12345b}));});_0x172dec[_0x1c5799(0x195)]=_0x1c5799(0x178);var _0x21788a={'tag':_0x1c5799(0x227),'attrs':{'fill':_0x1c5799(0x273),'viewBox':'0\x200\x2017\x2016','width':_0x1c5799(0x318),'height':_0x1c5799(0x318)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c5799(0x200)},'children':[{'tag':'path','attrs':{'stroke':_0x1c5799(0x381),'d':_0x1c5799(0x350),'strokeLinecap':_0x1c5799(0x356),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1c5799(0x3b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1c5799(0x366),'attrs':{'fill':_0x1c5799(0x32a),'d':_0x1c5799(0x215),'transform':_0x1c5799(0x220)}}]}]}],'defIds':[_0x1c5799(0x379)]},_0x413315=_0x1ee08f[_0x1c5799(0x17d)](function(_0x5efb88,_0x28b5cc){const _0x3bb5d6=_0x1c5799;return _0x1ee08f[_0x3bb5d6(0x2b3)](_0x496112,Object[_0x3bb5d6(0x1a5)]({},_0x5efb88,{'id':_0x3bb5d6(0x171),'ref':_0x28b5cc,'icon':_0x21788a}));});_0x413315[_0x1c5799(0x195)]=_0x1c5799(0x147);const _0x1d1798={'onlineStatusIcon':_0x1c5799(0x2d5),'onlineStatusTitle':_0x1c5799(0x1b6),'onlineStatus':'univer-online-status','online':_0x1c5799(0x2df),'offline':_0x1c5799(0x313)};function _0x1ed3b7(_0x432fe3){const _0x446517=_0x1c5799;switch(_0x432fe3){case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x15a)]:return _0x446517(0x188);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x2ba)]:return _0x446517(0x3cf);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x24b)]:return _0x446517(0x3d6);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x338)]:return _0x446517(0x179);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x259)]:case _0x126ab5[_0x446517(0x1d0)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x126ab5[_0x446517(0x1d0)]['SYNCED']:case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x1b8)]:return _0x446517(0x29d);}}function _0x186b3c(_0x131784){const _0x5e3353=_0x1c5799,{status$:_0x9856da}=_0x131784,_0x1cbccf=_0x2d6b6f[_0x5e3353(0x1be)](_0x9856da,_0x126ab5[_0x5e3353(0x1d0)]['NOT_COLLAB']),_0x4dbd44=_0x2d6b6f['useDependency'](_0x453419[_0x5e3353(0x3a4)]),_0x82c5a4=_0x2d6b6f[_0x5e3353(0x25a)](_0x126ab5['CollaborationSessionService']),_0x51f5a0=_0x1cbccf!==_0x126ab5[_0x5e3353(0x1d0)][_0x5e3353(0x15a)],_0x2e871d=_0x4dbd44['t'](_0x1ed3b7(_0x1cbccf)),_0x11d3d2=_0x38209c[_0x5e3353(0x214)](_0x1d1798[_0x5e3353(0x285)],{[_0x1d1798[_0x5e3353(0x3a0)]]:_0x51f5a0,[_0x1d1798[_0x5e3353(0x369)]]:!_0x51f5a0}),_0x28d1e1=_0x51f5a0?_0x20e4b4[_0x5e3353(0x3b1)](_0x413315,{}):_0x20e4b4['jsx'](_0x172dec,{}),_0x33d7d2=_0x1ee08f[_0x5e3353(0x238)](()=>{_0x51f5a0||_0x82c5a4['reconnect']();},[_0x51f5a0,_0x82c5a4]);function _0x575a3d(){const _0x25460d=_0x5e3353;return _0x20e4b4[_0x25460d(0x142)](_0x25460d(0x211),{'className':_0x38209c[_0x25460d(0x214)](_0x11d3d2,_0x25460d(0x2c1)),'onClick':_0x33d7d2,'children':[_0x20e4b4[_0x25460d(0x3b1)](_0x25460d(0x211),{'className':_0x1d1798[_0x25460d(0x289)],'children':_0x28d1e1}),_0x20e4b4[_0x25460d(0x3b1)]('div',{'className':_0x1d1798[_0x25460d(0x24a)],'children':_0x2e871d})]});}return _0x51f5a0?_0x575a3d():_0x20e4b4[_0x5e3353(0x3b1)](_0x38209c[_0x5e3353(0x23b)],{'title':_0x4dbd44['t'](_0x5e3353(0x365)),'children':_0x575a3d()});}var _0x496b55=Object[_0x1c5799(0x231)],_0x52fc47=(_0x23552a,_0x190b47,_0x5dfc02,_0x114d06)=>{const _0x3f6832=_0x1c5799;for(var _0x4a9707=_0x114d06>0x1?void 0x0:_0x114d06?_0x496b55(_0x190b47,_0x5dfc02):_0x190b47,_0x938ba2=_0x23552a[_0x3f6832(0x1f0)]-0x1,_0x7d5aa0;_0x938ba2>=0x0;_0x938ba2--)(_0x7d5aa0=_0x23552a[_0x938ba2])&&(_0x4a9707=_0x7d5aa0(_0x4a9707)||_0x4a9707);return _0x4a9707;},_0x1e6005=(_0x6b635b,_0x55abfe)=>(_0x57922a,_0x216016)=>_0x55abfe(_0x57922a,_0x216016,_0x6b635b);_0x7e2117[_0x1c5799(0x17e)]=class extends _0x453419['Disposable']{constructor(_0x31ce26,_0x350929,_0x20aa71,_0xb7e5d7){const _0x3b6bcd=_0x1c5799;super(),_0x1be09e(this,_0x3b6bcd(0x2f4),new _0xa78be3[(_0x3b6bcd(0x1a6))](_0x126ab5['CollaborationStatus'][_0x3b6bcd(0x338)])),(this[_0x3b6bcd(0x3cb)]=_0x31ce26,this[_0x3b6bcd(0x336)]=_0x350929,this['_collaborationController']=_0x20aa71,this[_0x3b6bcd(0x2ea)]=_0xb7e5d7,this[_0x3b6bcd(0x2f5)](),this[_0x3b6bcd(0x25d)]());}['_initStatusListener'](){const _0x5ded14=_0x1c5799;this[_0x5ded14(0x38e)](this[_0x5ded14(0x3cb)][_0x5ded14(0x2b5)]['pipe'](_0xa78be3[_0x5ded14(0x15b)](()=>{const _0x453d42=_0x5ded14,_0xba220b=this[_0x453d42(0x3cb)][_0x453d42(0x2fd)]();return _0xba220b?this[_0x453d42(0x150)][_0x453d42(0x1f3)](_0xba220b['getUnitId']()):_0xa78be3['of'](null);}),_0xa78be3[_0x5ded14(0x15b)](_0x1e2cf9=>_0x1e2cf9?_0x1e2cf9[_0x5ded14(0x28b)]:_0xa78be3['of'](_0x126ab5[_0x5ded14(0x1d0)][_0x5ded14(0x338)])))[_0x5ded14(0x159)](_0x382cc3=>{const _0x2edd9=_0x5ded14;this[_0x2edd9(0x2f4)][_0x2edd9(0x1fd)](_0x382cc3);}));}[_0x1c5799(0x2f5)](){const _0x287f68=_0x1c5799;this[_0x287f68(0x38e)](this[_0x287f68(0x2ea)][_0x287f68(0x36c)](_0x2d6b6f[_0x287f68(0x3a6)][_0x287f68(0x24f)],()=>_0x2d6b6f[_0x287f68(0x3a8)](_0x2caef7({'status$':this[_0x287f68(0x2f4)][_0x287f68(0x208)]()}),this['_injector'])));}},_0x7e2117[_0x1c5799(0x17e)]=_0x52fc47([_0x1e6005(0x0,_0x453419[_0x1c5799(0x1c8)]),_0x1e6005(0x1,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x1e6005(0x2,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x1a9)])),_0x1e6005(0x3,_0x2d6b6f[_0x1c5799(0x204)])],_0x7e2117['DesktopCollaborationStatusDisplayController']);function _0x2caef7(_0x551f42){const {status$:_0x460175}=_0x551f42;return function(){const _0x2f1ee9=_0x4a60;return _0x20e4b4[_0x2f1ee9(0x3b1)](_0x186b3c,{'status$':_0x460175});};}var _0x4b47f0=Object[_0x1c5799(0x231)],_0x1867c3=(_0x248c94,_0x434f80,_0x4e1246,_0x52d527)=>{const _0x10caee=_0x1c5799;for(var _0xb544d1=_0x52d527>0x1?void 0x0:_0x52d527?_0x4b47f0(_0x434f80,_0x4e1246):_0x434f80,_0x40fac4=_0x248c94[_0x10caee(0x1f0)]-0x1,_0x5b5aeb;_0x40fac4>=0x0;_0x40fac4--)(_0x5b5aeb=_0x248c94[_0x40fac4])&&(_0xb544d1=_0x5b5aeb(_0xb544d1)||_0xb544d1);return _0xb544d1;},_0xd4d207=(_0x138e1b,_0x577ba2)=>(_0x2176a3,_0x91076b)=>_0x577ba2(_0x2176a3,_0x91076b,_0x138e1b);let _0x3cc05a=class extends _0x453419[_0x1c5799(0x362)]{constructor(_0x176936,_0x5aab8b,_0x4ab757,_0x4e41a0,_0x3d0822,_0x2d43f0){const _0x46f3b9=_0x1c5799;super(),this[_0x46f3b9(0x3bb)]=_0x176936,this[_0x46f3b9(0x390)]=_0x5aab8b,this[_0x46f3b9(0x35c)]=_0x4ab757,this[_0x46f3b9(0x3b7)]=_0x4e41a0,this[_0x46f3b9(0x26b)]=_0x3d0822,this[_0x46f3b9(0x3a7)]=_0x2d43f0,this[_0x46f3b9(0x26e)](),this[_0x46f3b9(0x295)]();}[_0x1c5799(0x26e)](){const _0x39e96c=_0x1c5799;this[_0x39e96c(0x38e)](this['_beforeCloseService'][_0x39e96c(0x160)](()=>{const _0x122122=_0x39e96c;if(this[_0x122122(0x390)][_0x122122(0x391)][_0x122122(0x262)])return this[_0x122122(0x3a7)]['t'](_0x122122(0x1ef));}));}[_0x1c5799(0x295)](){const _0x8425c8=_0x1c5799;this['disposeWithMe'](this[_0x8425c8(0x35c)][_0x8425c8(0x2eb)][_0x8425c8(0x159)](_0x2b01c0=>{const _0x4fb238=_0x8425c8;_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['OTHER_CLIENT_EDITING']&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x4fb238(0x149))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x302)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x4fb238(0x321))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x375)]&&this[_0x4fb238(0x26b)][_0x4fb238(0x27c)]({'title':this[_0x4fb238(0x3a7)]['t']('permission.title'),'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x332)),'type':_0x4fb238(0x29e),'duration':0x0}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['CONFLICT']&&this['_messageService'][_0x4fb238(0x27c)]({'type':_0x38209c[_0x4fb238(0x1c2)][_0x4fb238(0x1bd)],'content':this[_0x4fb238(0x3a7)]['t']('collaboration.closeRoom')+'('+_0x2b01c0[_0x4fb238(0x287)]+')'}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x3be)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x2b01c0[_0x4fb238(0x287)]||'')}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['SOCKET_FAILED_RETRY']&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c[_0x4fb238(0x1c2)]['Warning'],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x3d2))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['SOCKET_FAILED']&&this[_0x4fb238(0x3b7)]['show']({'type':_0x38209c[_0x4fb238(0x1c2)][_0x4fb238(0x1bd)],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x2d9))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x1fb)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType']['Error'],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x1b3))});}));}};_0x3cc05a=_0x1867c3([_0xd4d207(0x0,_0x2d6b6f[_0x1c5799(0x37d)]),_0xd4d207(0x1,_0x126ab5[_0x1c5799(0x352)]),_0xd4d207(0x2,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x20b)])),_0xd4d207(0x3,_0x2d6b6f['IMessageService']),_0xd4d207(0x4,_0x2d6b6f[_0x1c5799(0x34c)]),_0xd4d207(0x5,_0x453419[_0x1c5799(0x229)](_0x453419['LocaleService']))],_0x3cc05a);const _0x54fac5=_0x1c5799(0x2db),_0x585330={},_0x2c04a8=_0x453419[_0x1c5799(0x161)](_0x1c5799(0x15e));var _0x1c76a2=Object[_0x1c5799(0x231)],_0x430341=(_0x4761b2,_0x27e1a,_0x5e9359,_0x2737e5)=>{const _0x5302e9=_0x1c5799;for(var _0x209acc=_0x2737e5>0x1?void 0x0:_0x2737e5?_0x1c76a2(_0x27e1a,_0x5e9359):_0x27e1a,_0x325888=_0x4761b2[_0x5302e9(0x1f0)]-0x1,_0x4a8eef;_0x325888>=0x0;_0x325888--)(_0x4a8eef=_0x4761b2[_0x325888])&&(_0x209acc=_0x4a8eef(_0x209acc)||_0x209acc);return _0x209acc;},_0x4b5f34=(_0x47fde9,_0x3b1287)=>(_0x16b39d,_0x137540)=>_0x3b1287(_0x16b39d,_0x137540,_0x47fde9);_0x7e2117['CollaborationDataLoaderController']=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x3e261c,_0x4f5cee,_0x4abddd,_0x19a74a,_0x58580c){const _0x4e285a=_0x1c5799;super(),this['_urlService']=_0x3e261c,this[_0x4e285a(0x288)]=_0x4f5cee,this[_0x4e285a(0x170)]=_0x4abddd,this['_dataLoaderService']=_0x19a74a,_0x58580c?_0x58580c==null||_0x58580c[_0x4e285a(0x193)]()[_0x4e285a(0x364)](()=>this[_0x4e285a(0x1fc)]()):(this[_0x4e285a(0x288)][_0x4e285a(0x251)](_0x4e285a(0x3ce),_0x4e285a(0x3cd)),this[_0x4e285a(0x1fc)]());}async['_init'](){const _0x3c7c68=_0x1c5799,_0x3745ce=this[_0x3c7c68(0x25c)][_0x3c7c68(0x153)]('unit'),_0x2c2bcb=this[_0x3c7c68(0x25c)][_0x3c7c68(0x153)](_0x3c7c68(0x186)),_0xb5d9c1=this[_0x3c7c68(0x25c)]['getParam'](_0x3c7c68(0x279));if(!_0x3745ce||!_0x2c2bcb){this[_0x3c7c68(0x288)][_0x3c7c68(0x251)](_0x3c7c68(0x3ce),_0x3c7c68(0x234));return;}const _0x2a4227=await this[_0x3c7c68(0x199)]['loadUnit'](_0x3745ce,Number(_0x2c2bcb),_0xb5d9c1);_0x2a4227&&_0x2a4227 instanceof _0x453419['Workbook']&&this['_setupSubUnitSync'](_0x2a4227);}async[_0x1c5799(0x246)](_0x1548ad){const _0x2ebff8=_0x1c5799;await this[_0x2ebff8(0x2c6)](_0x1548ad),_0x1548ad[_0x2ebff8(0x1c6)][_0x2ebff8(0x14d)](_0xa78be3[_0x2ebff8(0x1e1)](this[_0x2ebff8(0x155)]))[_0x2ebff8(0x159)](_0x164f8e=>{_0x164f8e&&this['_updateURLWithCurrentState'](_0x164f8e);}),this['_urlService'][_0x2ebff8(0x1a1)]['pipe'](_0xa78be3[_0x2ebff8(0x1e1)](this[_0x2ebff8(0x155)]))[_0x2ebff8(0x159)](()=>this[_0x2ebff8(0x2c6)](_0x1548ad));}[_0x1c5799(0x1a4)](_0x203c91,_0x583efa=!0x1){const _0x49d36b=_0x1c5799,_0x106f13=this[_0x49d36b(0x25c)]['getParam'](_0x49d36b(0x279));_0x203c91[_0x49d36b(0x210)]()!==_0x106f13&&this[_0x49d36b(0x25c)][_0x49d36b(0x3cc)](_0x49d36b(0x279),_0x203c91['getSheetId'](),_0x583efa);}async[_0x1c5799(0x2c6)](_0x2a78a1){const _0x57ebc9=_0x1c5799;var _0x1e413b;const _0x3ecb2b=this[_0x57ebc9(0x25c)][_0x57ebc9(0x153)]('subunit');if(!_0x3ecb2b||!_0x2a78a1[_0x57ebc9(0x3db)](_0x3ecb2b)){const _0x34bb04=_0x2a78a1['getUnhiddenWorksheets']()[0x0],_0x2df2aa=_0x2a78a1[_0x57ebc9(0x3db)](_0x34bb04);if(!_0x2df2aa)return;this[_0x57ebc9(0x1a4)](_0x2df2aa,!0x0),await this[_0x57ebc9(0x170)][_0x57ebc9(0x315)](_0x395bb3[_0x57ebc9(0x18f)]['id'],{'unitId':_0x2a78a1['getUnitId'](),'subUnitId':_0x34bb04});return;}((_0x1e413b=_0x2a78a1['getActiveSheet']())==null?void 0x0:_0x1e413b[_0x57ebc9(0x210)]())!==_0x3ecb2b&&await this['_commandService'][_0x57ebc9(0x315)](_0x395bb3[_0x57ebc9(0x18f)]['id'],{'unitId':_0x2a78a1[_0x57ebc9(0x2e8)](),'subUnitId':_0x3ecb2b});}},_0x7e2117[_0x1c5799(0x297)]=_0x430341([_0x4b5f34(0x0,_0x2c04a8),_0x4b5f34(0x1,_0x453419[_0x1c5799(0x2e5)]),_0x4b5f34(0x2,_0x453419[_0x1c5799(0x2a6)]),_0x4b5f34(0x3,_0x453419[_0x1c5799(0x229)](_0x126ab5['DataLoaderService'])),_0x4b5f34(0x4,_0x453419[_0x1c5799(0x191)](_0xd2a7de[_0x1c5799(0x2c3)]))],_0x7e2117[_0x1c5799(0x297)]);var _0x36e90f=Object[_0x1c5799(0x231)],_0x10c98e=(_0x4ae8b7,_0x112192,_0x113db5,_0xc5dcfa)=>{const _0x448cd0=_0x1c5799;for(var _0x2e7661=_0xc5dcfa>0x1?void 0x0:_0xc5dcfa?_0x36e90f(_0x112192,_0x113db5):_0x112192,_0x13c4f6=_0x4ae8b7[_0x448cd0(0x1f0)]-0x1,_0x1273a2;_0x13c4f6>=0x0;_0x13c4f6--)(_0x1273a2=_0x4ae8b7[_0x13c4f6])&&(_0x2e7661=_0x1273a2(_0x2e7661)||_0x2e7661);return _0x2e7661;},_0x547831=(_0x1d891c,_0x4a59ac)=>(_0x412a2c,_0xb432f1)=>_0x4a59ac(_0x412a2c,_0xb432f1,_0x1d891c);let _0x506b0f=class{constructor(_0x375e13,_0x3cb100,_0x558e64){const _0x2daad3=_0x1c5799;this['_injector']=_0x375e13,this[_0x2daad3(0x24c)]=_0x3cb100,this[_0x2daad3(0x276)]=_0x558e64;}[_0x1c5799(0x2cb)](_0x139d04){const _0x3918bd=_0x1c5799;this[_0x3918bd(0x1df)](_0x139d04),this[_0x3918bd(0x223)](_0x139d04);}['transformRemoteChangeset'](_0x3b756d){const _0x44ca61=_0x1c5799,{unitID:_0x9d6cf2}=_0x3b756d,_0x186117=this['_renderManagerService'][_0x44ca61(0x162)](_0x9d6cf2)['with'](_0x57d79a[_0x44ca61(0x2d1)]),{redoCache:_0x351b17}=_0x186117['getUndoRedoMutationParamsCache']();if(_0x351b17[_0x44ca61(0x1f0)]===0x0)return _0x3b756d;let _0x2ed21b=_0x453419['Tools'][_0x44ca61(0x1ac)](_0x3b756d[_0x44ca61(0x305)][0x0]);for(let _0x24eb74=0x0;_0x24eb74<_0x351b17[_0x44ca61(0x1f0)];_0x24eb74++){const _0x579ab1={'id':_0x44ca61(0x1b5),'params':{..._0x351b17[_0x24eb74]}},_0x26cc98=this[_0x44ca61(0x24c)][_0x44ca61(0x3c9)](_0x2ed21b,_0x579ab1,!0x1);if(_0x567d4a[_0x44ca61(0x1e3)](_0x26cc98))throw _0x26cc98[_0x44ca61(0x29e)];_0x2ed21b=_0x26cc98['m1Prime'];}return{..._0x453419['Tools'][_0x44ca61(0x1ac)](_0x3b756d),'mutations':[_0x2ed21b]};}[_0x1c5799(0x1df)](_0x3b3b87){const _0x48d043=_0x1c5799,{unitID:_0xce0631}=_0x3b3b87,_0x2d923c=this[_0x48d043(0x276)][_0x48d043(0x162)](_0xce0631)[_0x48d043(0x2d0)](_0x57d79a[_0x48d043(0x2d1)]),{undoCache:_0x1a4f50,redoCache:_0x1c3fd7}=_0x2d923c[_0x48d043(0x1bb)]();if(_0x1a4f50[_0x48d043(0x1f0)]===0x0||_0x1c3fd7['length']===0x0)return;const _0x578776=[],_0x287967=[];let _0x438955=_0x453419[_0x48d043(0x20e)][_0x48d043(0x1ac)](_0x3b3b87['mutations'][0x0]),_0x155817=_0x453419[_0x48d043(0x20e)][_0x48d043(0x1ac)](_0x3b3b87['mutations'][0x0]);for(let _0x556526=_0x1a4f50['length']-0x1;_0x556526>=0x0;_0x556526--){const _0x15aecd={'id':_0x48d043(0x1b5),'params':{..._0x1a4f50[_0x556526]}},_0x4f1d9c={'id':_0x48d043(0x1b5),'params':{..._0x1c3fd7[_0x556526]}},_0x40352e=this[_0x48d043(0x24c)][_0x48d043(0x3c9)](_0x438955,_0x15aecd,!0x1),_0x19515e=this[_0x48d043(0x24c)]['transformMutation'](_0x155817,_0x4f1d9c,!0x1);if(_0x567d4a['isTransformMutationFailure'](_0x40352e))throw _0x40352e[_0x48d043(0x29e)];if(_0x567d4a[_0x48d043(0x1e3)](_0x19515e))throw _0x19515e[_0x48d043(0x29e)];_0x578776['unshift'](_0x40352e[_0x48d043(0x3bd)][_0x48d043(0x3ae)]),_0x287967[_0x48d043(0x26f)](_0x19515e['m2Prime'][_0x48d043(0x3ae)]),_0x438955=_0x40352e[_0x48d043(0x327)],_0x155817=_0x19515e[_0x48d043(0x327)];}_0x2d923c[_0x48d043(0x341)]({'undoCache':_0x578776,'redoCache':_0x287967});}[_0x1c5799(0x223)](_0x22a87a){const _0x24a2d0=_0x1c5799,{unitID:_0x3e7200}=_0x22a87a,_0x38860b=this[_0x24a2d0(0x276)]['getRenderById'](_0x3e7200)['with'](_0x57d79a[_0x24a2d0(0x2d1)]),_0x229664=_0x38860b['getActiveRange']();if(_0x229664==null)return;const _0x34e16d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22a87a[_0x24a2d0(0x257)],'actions':null,'textRanges':[_0x229664]}}],_0x1a58dd=this[_0x24a2d0(0x24c)][_0x24a2d0(0x2b8)](_0x22a87a,_0x34e16d);if(!_0x567d4a['isTransformMutationsWithChangesetSuccess'](_0x1a58dd))throw _0x1a58dd[_0x24a2d0(0x29e)];const _0x4c459e=_0x1a58dd['m2Prime'][0x0]['params']['textRanges'];Array[_0x24a2d0(0x29a)](_0x4c459e)&&_0x4c459e[_0x24a2d0(0x1f0)]&&_0x38860b[_0x24a2d0(0x27a)](_0x4c459e[0x0]);}};_0x506b0f=_0x10c98e([_0x547831(0x0,_0x453419['Inject'](_0x453419[_0x1c5799(0x38d)])),_0x547831(0x1,_0x567d4a['ITransformService']),_0x547831(0x2,_0x32283b['IRenderManagerService'])],_0x506b0f);var _0x1c43fb=Object['getOwnPropertyDescriptor'],_0x4100db=(_0x315370,_0x50de17,_0x38fc6b,_0xf3e8fa)=>{const _0xe53391=_0x1c5799;for(var _0x5d6ed7=_0xf3e8fa>0x1?void 0x0:_0xf3e8fa?_0x1c43fb(_0x50de17,_0x38fc6b):_0x50de17,_0x3b2239=_0x315370[_0xe53391(0x1f0)]-0x1,_0x3eb297;_0x3b2239>=0x0;_0x3b2239--)(_0x3eb297=_0x315370[_0x3b2239])&&(_0x5d6ed7=_0x3eb297(_0x5d6ed7)||_0x5d6ed7);return _0x5d6ed7;},_0x3f7fac=(_0x2ea491,_0x34ade9)=>(_0x141127,_0x1a7129)=>_0x34ade9(_0x141127,_0x1a7129,_0x2ea491);let _0x142a90=class{constructor(_0x4b4f43,_0x5a4b0e,_0x40fe4c){const _0x55693f=_0x1c5799;this['_injector']=_0x4b4f43,this['_transformService']=_0x5a4b0e,this[_0x55693f(0x344)]=_0x40fe4c;}['transformStateCache'](_0x2aef9a){const _0x2b3b10=_0x1c5799;this[_0x2b3b10(0x389)](_0x2aef9a);}[_0x1c5799(0x31c)](_0x5aab5b){const _0x3c4eec=_0x1c5799,{unitID:_0x517b18}=_0x5aab5b,{collaboration:_0x2bf303}=this[_0x3c4eec(0x344)][_0x3c4eec(0x2b0)](_0x517b18);if(_0x2bf303[_0x3c4eec(0x1f0)]===0x0)return _0x5aab5b;let _0x889b3f=_0x453419[_0x3c4eec(0x20e)][_0x3c4eec(0x1ac)](_0x5aab5b[_0x3c4eec(0x305)][0x0]);for(let _0x7b51db=0x0;_0x7b51db<_0x2bf303['length'];_0x7b51db++){const _0x39cc0d={'id':_0x3c4eec(0x1b5),'params':{'unitId':_0x2bf303[_0x7b51db][_0x3c4eec(0x2e7)],..._0x2bf303[_0x7b51db][_0x3c4eec(0x2a0)]}},_0x98b8c4=this['_transformService'][_0x3c4eec(0x3c9)](_0x889b3f,_0x39cc0d,!0x1);if(_0x567d4a['isTransformMutationFailure'](_0x98b8c4))throw _0x98b8c4[_0x3c4eec(0x29e)];_0x889b3f=_0x98b8c4[_0x3c4eec(0x327)];}return{..._0x453419[_0x3c4eec(0x20e)][_0x3c4eec(0x1ac)](_0x5aab5b),'mutations':[_0x889b3f]};}[_0x1c5799(0x389)](_0x3d1d5e){const _0x4e576a=_0x1c5799,{unitID:_0x5cb9d9}=_0x3d1d5e,{history:_0x4c128c,collaboration:_0x5c0a70}=this[_0x4e576a(0x344)][_0x4e576a(0x2b0)](_0x5cb9d9);if(_0x4c128c[_0x4e576a(0x1f0)]===0x0&&_0x5c0a70[_0x4e576a(0x1f0)]===0x0)return;const _0x38b90e=[],_0xa555f8=[];let _0x448e6f=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]),_0x245f1c=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]);for(let _0x5b7f60=_0x4c128c[_0x4e576a(0x1f0)]-0x1;_0x5b7f60>=0x0;_0x5b7f60--){const _0x683a6f={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x4c128c[_0x5b7f60][_0x4e576a(0x2e7)],..._0x4c128c[_0x5b7f60]['undoState']}},_0x468aa9={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x4c128c[_0x5b7f60]['unitId'],..._0x4c128c[_0x5b7f60][_0x4e576a(0x2a0)]}},_0x267fd4=this['_transformService'][_0x4e576a(0x3c9)](_0x448e6f,_0x683a6f,!0x1),_0x25c3f0=this[_0x4e576a(0x24c)][_0x4e576a(0x3c9)](_0x245f1c,_0x468aa9,!0x1);if(_0x567d4a[_0x4e576a(0x1e3)](_0x267fd4))throw _0x267fd4[_0x4e576a(0x29e)];if(_0x567d4a['isTransformMutationFailure'](_0x25c3f0))throw _0x25c3f0[_0x4e576a(0x29e)];_0x38b90e['unshift']({..._0x4c128c[_0x5b7f60],'undoState':_0x267fd4[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)],'redoState':_0x25c3f0['m2Prime']['params']}),_0x448e6f=_0x267fd4[_0x4e576a(0x327)],_0x245f1c=_0x25c3f0['m1Prime'];}_0x448e6f=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e['mutations'][0x0]),_0x245f1c=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]);for(let _0xcf8735=_0x5c0a70[_0x4e576a(0x1f0)]-0x1;_0xcf8735>=0x0;_0xcf8735--){const _0x19d7b2={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x5c0a70[_0xcf8735][_0x4e576a(0x2e7)],..._0x5c0a70[_0xcf8735][_0x4e576a(0x18d)]}},_0x6f71fe={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x5c0a70[_0xcf8735][_0x4e576a(0x2e7)],..._0x5c0a70[_0xcf8735][_0x4e576a(0x2a0)]}},_0x330dcc=this[_0x4e576a(0x24c)][_0x4e576a(0x3c9)](_0x448e6f,_0x19d7b2,!0x1),_0x114650=this[_0x4e576a(0x24c)]['transformMutation'](_0x245f1c,_0x6f71fe,!0x1);if(_0x567d4a[_0x4e576a(0x1e3)](_0x330dcc))throw _0x330dcc[_0x4e576a(0x29e)];if(_0x567d4a[_0x4e576a(0x1e3)](_0x114650))throw _0x114650['error'];_0xa555f8[_0x4e576a(0x26f)]({..._0x5c0a70[_0xcf8735],'undoState':_0x330dcc[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)],'redoState':_0x114650[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)]}),_0x448e6f=_0x330dcc['m1Prime'],_0x245f1c=_0x114650[_0x4e576a(0x327)];}this[_0x4e576a(0x344)]['setStateCache'](_0x5cb9d9,{'history':_0x38b90e,'collaboration':_0xa555f8});}};_0x142a90=_0x4100db([_0x3f7fac(0x0,_0x453419[_0x1c5799(0x229)](_0x453419['Injector'])),_0x3f7fac(0x1,_0x567d4a['ITransformService']),_0x3f7fac(0x2,_0x453419[_0x1c5799(0x229)](_0x57d79a[_0x1c5799(0x32d)]))],_0x142a90);var _0x37b983=Object[_0x1c5799(0x231)],_0x1cbdcf=(_0x5ec886,_0x40564d,_0x2a7ebc,_0x497e4e)=>{const _0x336310=_0x1c5799;for(var _0x2f563b=_0x497e4e>0x1?void 0x0:_0x497e4e?_0x37b983(_0x40564d,_0x2a7ebc):_0x40564d,_0x5e1ddc=_0x5ec886[_0x336310(0x1f0)]-0x1,_0x38275b;_0x5e1ddc>=0x0;_0x5e1ddc--)(_0x38275b=_0x5ec886[_0x5e1ddc])&&(_0x2f563b=_0x38275b(_0x2f563b)||_0x2f563b);return _0x2f563b;},_0x349b2c=(_0x17dd32,_0x39433b)=>(_0x2040fe,_0x227518)=>_0x39433b(_0x2040fe,_0x227518,_0x17dd32);let _0x3c4732=class{constructor(_0x148879,_0x346ee0){const _0x15393d=_0x1c5799;this[_0x15393d(0x336)]=_0x148879,this[_0x15393d(0x24c)]=_0x346ee0;}[_0x1c5799(0x1b7)](_0x22640d){const _0x598ad0=_0x1c5799;var _0xb31f0;const _0x2cd7f3=this[_0x598ad0(0x336)][_0x598ad0(0x3a2)](_0x106a95['DocSelectionManagerService']),_0x295ab1=(_0xb31f0=_0x2cd7f3['getDocRanges']())!=null?_0xb31f0:[];if(_0x295ab1[_0x598ad0(0x1f0)]===0x0)return;const _0x20e8c0=_0x22640d[_0x598ad0(0x257)],_0x17b80f=[{'id':_0x598ad0(0x1b5),'params':{'unitId':_0x20e8c0,'actions':null,'textRanges':_0x295ab1}}],_0x286bb5=this[_0x598ad0(0x24c)][_0x598ad0(0x2b8)](_0x22640d,_0x17b80f);if(!_0x567d4a['isTransformMutationsWithChangesetSuccess'](_0x286bb5))throw _0x286bb5[_0x598ad0(0x29e)];const _0x4c835d=_0x286bb5['m2Prime'][0x0][_0x598ad0(0x3ae)]['textRanges'];Array[_0x598ad0(0x29a)](_0x4c835d)&&_0x4c835d[_0x598ad0(0x1f0)]&&_0x2cd7f3['replaceDocRanges'](_0x4c835d,{'unitId':_0x20e8c0,'subUnitId':_0x20e8c0},!0x1);}};_0x3c4732=_0x1cbdcf([_0x349b2c(0x0,_0x453419[_0x1c5799(0x229)](_0x453419['Injector'])),_0x349b2c(0x1,_0x567d4a[_0x1c5799(0x29f)])],_0x3c4732);var _0x5bf2a8=Object[_0x1c5799(0x231)],_0x159b0d=(_0x53eec4,_0x28e5c0,_0x2951f3,_0x20190)=>{const _0x2ad64d=_0x1c5799;for(var _0x56169a=_0x20190>0x1?void 0x0:_0x20190?_0x5bf2a8(_0x28e5c0,_0x2951f3):_0x28e5c0,_0x3c3235=_0x53eec4[_0x2ad64d(0x1f0)]-0x1,_0x101bba;_0x3c3235>=0x0;_0x3c3235--)(_0x101bba=_0x53eec4[_0x3c3235])&&(_0x56169a=_0x101bba(_0x56169a)||_0x56169a);return _0x56169a;},_0x7bd0d8=(_0x5f01c5,_0x3600ef)=>(_0xb90f4c,_0x331081)=>_0x3600ef(_0xb90f4c,_0x331081,_0x5f01c5);let _0x38b82a=class extends _0x453419[_0x1c5799(0x362)]{constructor(_0x4e91f3,_0x5ec6a6,_0x4c7ab8,_0x5cf42e,_0x3e005f,_0x2b7a7d,_0x23a708,_0x3b7851){const _0x252049=_0x1c5799;super(),_0x1be09e(this,_0x252049(0x2f4),new _0xa78be3[(_0x252049(0x1a6))](_0x126ab5[_0x252049(0x1d0)][_0x252049(0x338)])),(this[_0x252049(0x344)]=_0x4e91f3,this['_collaborationController']=_0x5ec6a6,this[_0x252049(0x13f)]=_0x4c7ab8,this['_docTransformStateCacheService']=_0x5cf42e,this[_0x252049(0x26a)]=_0x3e005f,this[_0x252049(0x2bf)]=_0x2b7a7d,this['_messageService']=_0x23a708,this[_0x252049(0x3a7)]=_0x3b7851,this[_0x252049(0x286)]());}[_0x1c5799(0x286)](){const _0x4d4c3b=_0x1c5799;this[_0x4d4c3b(0x38e)](this['_collaborationController'][_0x4d4c3b(0x169)][_0x4d4c3b(0x159)](_0x519f74=>{const _0x2d0a86=_0x4d4c3b,_0x5264e5=this[_0x2d0a86(0x344)][_0x2d0a86(0x2a9)]['subscribe'](_0x22a70b=>{const _0x5864bd=_0x2d0a86;if(_0x22a70b==null)return;const {unitId:_0x3e9c14,redoState:_0x499b76,commandId:_0x338ebc}=_0x22a70b;if(_0x3e9c14!==_0x519f74[_0x5864bd(0x257)])return;const _0x9fa653={'id':_0x338ebc,'type':_0x453419[_0x5864bd(0x201)][_0x5864bd(0x376)],'params':{'unitId':_0x3e9c14,'actions':_0x499b76[_0x5864bd(0x233)],'textRanges':null}};_0x519f74[_0x5864bd(0x272)](_0x9fa653);});if(_0x519f74[_0x2d0a86(0x38e)](_0x5264e5),_0x519f74 instanceof _0x126ab5[_0x2d0a86(0x326)]){const _0x20263d={'onTransformIME':_0x1bb5ab=>this[_0x2d0a86(0x13f)][_0x2d0a86(0x2cb)](_0x1bb5ab),'onTransformState':_0x51bab5=>this[_0x2d0a86(0x2d2)][_0x2d0a86(0x3a5)](_0x51bab5),'onTransformSelections':_0xcdeb3b=>this[_0x2d0a86(0x26a)][_0x2d0a86(0x1b7)](_0xcdeb3b),'onSyncEditingCollabCursor':_0x1146d9=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1146d9),'onTransformRemoteChangesetByIMECache':_0x207831=>this[_0x2d0a86(0x13f)][_0x2d0a86(0x31c)](_0x207831),'onTransformRemoteChangesetByStateCache':_0x24d793=>this['_docTransformStateCacheService'][_0x2d0a86(0x31c)](_0x24d793)};_0x519f74['addHandlerCallback'](_0x20263d);}}));}};_0x38b82a=_0x159b0d([_0x7bd0d8(0x0,_0x453419[_0x1c5799(0x229)](_0x57d79a['DocStateChangeManagerService'])),_0x7bd0d8(0x1,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x1a9)])),_0x7bd0d8(0x2,_0x453419['Inject'](_0x506b0f)),_0x7bd0d8(0x3,_0x453419[_0x1c5799(0x229)](_0x142a90)),_0x7bd0d8(0x4,_0x453419[_0x1c5799(0x229)](_0x3c4732)),_0x7bd0d8(0x5,_0x453419[_0x1c5799(0x229)](_0x13f674)),_0x7bd0d8(0x6,_0x2d6b6f[_0x1c5799(0x1ce)]),_0x7bd0d8(0x7,_0x453419['Inject'](_0x453419['LocaleService']))],_0x38b82a);var _0x23f2e0=Object[_0x1c5799(0x231)],_0x50a1d0=(_0x3069a4,_0x5741f0,_0x201a06,_0x2956a4)=>{for(var _0x2d95f6=_0x2956a4>0x1?void 0x0:_0x2956a4?_0x23f2e0(_0x5741f0,_0x201a06):_0x5741f0,_0x12c902=_0x3069a4['length']-0x1,_0x301bf8;_0x12c902>=0x0;_0x12c902--)(_0x301bf8=_0x3069a4[_0x12c902])&&(_0x2d95f6=_0x301bf8(_0x2d95f6)||_0x2d95f6);return _0x2d95f6;},_0x12f880=(_0x57ccd,_0x2e558b)=>(_0x3da0d9,_0x8c2b19)=>_0x2e558b(_0x3da0d9,_0x8c2b19,_0x57ccd);let _0x413026=class extends _0x453419['Disposable']{constructor(_0x1f73f4,_0x31baa9,_0x46ae91){const _0x594020=_0x1c5799;super(),_0x1be09e(this,'_cachedData',new Map()),_0x1be09e(this,_0x594020(0x323),new Map()),_0x1be09e(this,_0x594020(0x36a),!0x1),(this[_0x594020(0x17b)]=_0x1f73f4,this[_0x594020(0x1b4)]=_0x31baa9,this[_0x594020(0x265)]=_0x46ae91);}[_0x1c5799(0x337)](){const _0x48e40f=_0x1c5799;this[_0x48e40f(0x36a)]=!0x0;}[_0x1c5799(0x35b)](){const _0x488abe=_0x1c5799;this[_0x488abe(0x36a)]=!0x1;}get[_0x1c5799(0x391)](){const _0x402091=_0x1c5799;return this[_0x402091(0x323)];}[_0x1c5799(0x2f8)](){const _0x5281d4=_0x1c5799;this['exhaustSavingTask']()[_0x5281d4(0x364)](()=>super[_0x5281d4(0x2f8)]());}async[_0x1c5799(0x190)](_0x3723e9){const _0x1c5371=_0x1c5799;return this[_0x1c5371(0x36a)]?null:this[_0x1c5371(0x1b4)][_0x1c5371(0x19e)](_0x126ab5['getLocalCacheKey'](_0x3723e9));}async[_0x1c5799(0x2b2)](_0x1cf61b,_0x47e4c9){const _0x19a736=_0x1c5799;return!!this[_0x19a736(0x1b4)]['setItem'](_0x1cf61b,_0x47e4c9);}['updateOfflineData'](_0x540dce,_0x5da712,_0xc81f42,_0x2c7590){const _0x2057f0=_0x1c5799,_0x3e32d5=this[_0x2057f0(0x265)][_0x2057f0(0x218)](_0x540dce);this[_0x2057f0(0x16f)][_0x2057f0(0x19a)](_0x540dce,{'unitID':_0x540dce,'type':_0x5da712,'awaitingChangeset':_0xc81f42,'mutations':_0x2c7590,'rev':_0x3e32d5}),this[_0x2057f0(0x323)][_0x2057f0(0x212)](_0x540dce)||this['_scheduleSaving'](_0x540dce);}[_0x1c5799(0x1b2)](_0x40d25d){const _0x375932=_0x1c5799,_0x347e65=this[_0x375932(0x21b)]();_0x347e65===0x0?this[_0x375932(0x3b3)](_0x40d25d):this[_0x375932(0x323)][_0x375932(0x19a)](_0x40d25d,setTimeout(()=>this['_saveCache'](_0x40d25d),_0x347e65));}[_0x1c5799(0x21b)](){const _0x431769=_0x1c5799;var _0x1b0d0c;return(_0x1b0d0c=this[_0x431769(0x17b)]['getConfig'](_0x126ab5[_0x431769(0x312)]))!=null?_0x1b0d0c:_0x126ab5[_0x431769(0x398)];}[_0x1c5799(0x3b3)](_0x423ae7){const _0x2329e6=_0x1c5799,_0x3ff427=this[_0x2329e6(0x323)][_0x2329e6(0x3a2)](_0x423ae7);return _0x3ff427!==void 0x0&&window[_0x2329e6(0x1cc)](_0x3ff427),this[_0x2329e6(0x1b4)][_0x2329e6(0x296)](_0x126ab5['getLocalCacheKey'](_0x423ae7),this[_0x2329e6(0x16f)][_0x2329e6(0x3a2)](_0x423ae7))[_0x2329e6(0x364)](()=>this['_saveTaskMap'][_0x2329e6(0x1a0)](_0x423ae7));}async[_0x1c5799(0x16e)](){const _0x14995e=_0x1c5799,_0x26ef95=[];this[_0x14995e(0x323)][_0x14995e(0x177)]((_0x34a440,_0x25b71f)=>{const _0x4c849e=_0x14995e;window[_0x4c849e(0x1cc)](_0x34a440),_0x26ef95[_0x4c849e(0x1af)](this[_0x4c849e(0x3b3)](_0x25b71f)[_0x4c849e(0x364)](()=>{const _0xd2eaad=_0x4c849e;this[_0xd2eaad(0x323)][_0xd2eaad(0x1a0)](_0x25b71f);}));}),await Promise[_0x14995e(0x14a)](_0x26ef95);}};_0x413026=_0x50a1d0([_0x12f880(0x0,_0x453419[_0x1c5799(0x144)]),_0x12f880(0x1,_0x453419[_0x1c5799(0x1e0)]),_0x12f880(0x2,_0x453419[_0x1c5799(0x229)](_0x567d4a['RevisionService']))],_0x413026);class _0x1ef983 extends _0x453419[_0x1c5799(0x23f)]{constructor(){const _0x15602c=_0x1c5799;super(),_0x1be09e(this,'urlChange$'),this[_0x15602c(0x1a1)]=_0xa78be3[_0x15602c(0x3c3)](window,_0x15602c(0x3c4))['pipe'](_0xa78be3[_0x15602c(0x1e1)](this[_0x15602c(0x155)]),_0xa78be3[_0x15602c(0x2fe)](0x1),_0xa78be3[_0x15602c(0x27b)](void 0x0));}[_0x1c5799(0x3cc)](_0x30bd7e,_0x13b4c4,_0x43fe23=!0x1){const _0x3f2985=_0x1c5799,_0x34493e=new URL(window[_0x3f2985(0x1ca)][_0x3f2985(0x342)]);_0x34493e[_0x3f2985(0x196)][_0x3f2985(0x19a)](_0x30bd7e,_0x13b4c4),_0x43fe23?window[_0x3f2985(0x3c0)][_0x3f2985(0x25b)]('','',_0x34493e[_0x3f2985(0x3aa)]()):window[_0x3f2985(0x3c0)][_0x3f2985(0x330)]('','',_0x34493e['toString']());}[_0x1c5799(0x370)](_0x1a6e0e,_0x411e58=!0x1){const _0x1acb37=_0x1c5799,_0x3d2fe3=new URL(window['location']['href']);_0x3d2fe3[_0x1acb37(0x196)][_0x1acb37(0x1a0)](_0x1a6e0e),_0x411e58?window[_0x1acb37(0x3c0)]['replaceState']('','',_0x3d2fe3[_0x1acb37(0x3aa)]()):window[_0x1acb37(0x3c0)][_0x1acb37(0x330)]('','',_0x3d2fe3[_0x1acb37(0x3aa)]());}[_0x1c5799(0x153)](_0x47fb4f){const _0x9e9327=_0x1c5799;var _0xf0cdf;return(_0xf0cdf=new URL(window['location'][_0x9e9327(0x342)])['searchParams'][_0x9e9327(0x3a2)](_0x47fb4f))!=null?_0xf0cdf:void 0x0;}}var _0x466d46=Object[_0x1c5799(0x189)],_0x565f09=Object[_0x1c5799(0x231)],_0x2a1ca3=(_0x354c4a,_0x2d0436,_0x4a5dad)=>_0x2d0436 in _0x354c4a?_0x466d46(_0x354c4a,_0x2d0436,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a5dad}):_0x354c4a[_0x2d0436]=_0x4a5dad,_0xc8fed2=(_0x22b947,_0x52df73,_0x220fcb,_0x388989)=>{const _0x4077f6=_0x1c5799;for(var _0x59dca6=_0x388989>0x1?void 0x0:_0x388989?_0x565f09(_0x52df73,_0x220fcb):_0x52df73,_0x342c30=_0x22b947[_0x4077f6(0x1f0)]-0x1,_0x165d38;_0x342c30>=0x0;_0x342c30--)(_0x165d38=_0x22b947[_0x342c30])&&(_0x59dca6=_0x165d38(_0x59dca6)||_0x59dca6);return _0x59dca6;},_0x2036f5=(_0x257522,_0x16f0a9)=>(_0x944f0a,_0x111ae7)=>_0x16f0a9(_0x944f0a,_0x111ae7,_0x257522),_0x1b4341=(_0x40407e,_0x5e3484,_0x4aa143)=>_0x2a1ca3(_0x40407e,_0x5e3484+'',_0x4aa143);const _0x78d069=_0x1c5799(0x1b0);_0x7e2117[_0x1c5799(0x34e)]=class extends _0x453419[_0x1c5799(0x228)]{constructor(_0x374435=_0x585330,_0x1ec993,_0x3f498b,_0x4766b9){const _0x1b02b9=_0x1c5799;super(),this[_0x1b02b9(0x310)]=_0x374435,this[_0x1b02b9(0x276)]=_0x1ec993,this[_0x1b02b9(0x336)]=_0x3f498b,this[_0x1b02b9(0x17b)]=_0x4766b9;const {..._0x4a81e4}=_0x453419['merge']({},_0x585330,this[_0x1b02b9(0x310)]);this[_0x1b02b9(0x17b)][_0x1b02b9(0x374)](_0x54fac5,_0x4a81e4);}['onStarting'](){const _0x3abd3a=_0x1c5799;this[_0x3abd3a(0x386)](),this[_0x3abd3a(0x39d)]();}[_0x1c5799(0x2ae)](){const _0x72fbf6=_0x1c5799;this[_0x72fbf6(0x3c7)]();}[_0x1c5799(0x386)](){const _0x4cf30f=_0x1c5799;var _0x1d0b38;const _0x12c7df=[[_0xc8e7b],[_0x3c4732],[_0x506b0f],[_0x142a90],[_0x13f674],[_0x2c04a8,{'useClass':_0x1ef983}],[_0x54c300[_0x4cf30f(0x2d3)],{'useClass':_0x54c300[_0x4cf30f(0x165)]}],[_0x126ab5['ILocalCacheService'],{'useClass':_0x413026}],[_0x7e2117[_0x4cf30f(0x17e)]],[_0x38b82a],[_0x3cc05a],[_0x23e436],[_0x58ae56],[_0x7e2117[_0x4cf30f(0x297)]]];_0x453419['registerDependencies'](this['_injector'],_0x453419['mergeOverrideWithDependencies'](_0x12c7df,(_0x1d0b38=this['_config'])==null?void 0x0:_0x1d0b38[_0x4cf30f(0x28f)]));}[_0x1c5799(0x3c7)](){const _0x25541a=_0x1c5799;this[_0x25541a(0x38e)](this['_renderManagerService'][_0x25541a(0x22b)](_0x453419['UniverInstanceType'][_0x25541a(0x3ac)],[_0x177251])),this[_0x25541a(0x38e)](this['_renderManagerService'][_0x25541a(0x22b)](_0x453419[_0x25541a(0x247)][_0x25541a(0x2fc)],[_0x53ff49]));}[_0x1c5799(0x39d)](){const _0x8207bf=_0x1c5799;_0x453419['touchDependencies'](this['_injector'],[[_0x23e436],[_0x7e2117[_0x8207bf(0x17e)]],[_0x38b82a],[_0x3cc05a],[_0x7e2117['CollaborationDataLoaderController']]]);}},_0x1b4341(_0x7e2117[_0x1c5799(0x34e)],_0x1c5799(0x361),_0x78d069),_0x7e2117[_0x1c5799(0x34e)]=_0xc8fed2([_0x453419[_0x1c5799(0x383)](_0x126ab5[_0x1c5799(0x2d7)]),_0x2036f5(0x1,_0x32283b[_0x1c5799(0x255)]),_0x2036f5(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x2036f5(0x3,_0x453419[_0x1c5799(0x144)])],_0x7e2117[_0x1c5799(0x34e)]);var _0x1a8190=Object[_0x1c5799(0x231)],_0x33acd5=(_0x21efa1,_0x5b4285,_0x2acedc,_0x3fa89b)=>{const _0x4b5499=_0x1c5799;for(var _0x396d60=_0x3fa89b>0x1?void 0x0:_0x3fa89b?_0x1a8190(_0x5b4285,_0x2acedc):_0x5b4285,_0x5a5410=_0x21efa1[_0x4b5499(0x1f0)]-0x1,_0xb3a7fc;_0x5a5410>=0x0;_0x5a5410--)(_0xb3a7fc=_0x21efa1[_0x5a5410])&&(_0x396d60=_0xb3a7fc(_0x396d60)||_0x396d60);return _0x396d60;},_0x2cf855=(_0x3115a0,_0x1a47a1)=>(_0x352f6f,_0xde84fe)=>_0x1a47a1(_0x352f6f,_0xde84fe,_0x3115a0);_0x7e2117[_0x1c5799(0x2c5)]=class extends _0x126ab5[_0x1c5799(0x14e)]{constructor(_0x3d797b,_0x3ecb2e,_0xbcbecd,_0x33024,_0x21fb15){super(_0x3d797b,_0x3ecb2e,_0xbcbecd,_0x33024,_0x21fb15);}async[_0x1c5799(0x290)](_0x20e357){const _0x313883=_0x1c5799,_0x107dfc=await this['_getSessionTicket'](),_0x5d2a94=this[_0x313883(0x219)](_0x20e357,_0x107dfc);return this[_0x313883(0x26d)](_0x5d2a94);}[_0x1c5799(0x219)](_0x5cc4fd,_0x434f2b){const _0x34b589=_0x1c5799,_0x5f09dc=typeof window>'u'?new URL(_0x5cc4fd):new URL(_0x5cc4fd,window['location'][_0x34b589(0x292)]);_0x5f09dc[_0x34b589(0x196)][_0x34b589(0x19a)](_0x34b589(0x2ca),_0x434f2b);const _0x2ca658=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34b589(0x1ca)][_0x34b589(0x31a)]);return _0x2ca658[_0x34b589(0x3a2)](_0x34b589(0x175))&&_0x5f09dc[_0x34b589(0x196)][_0x34b589(0x19a)](_0x34b589(0x175),_0x2ca658[_0x34b589(0x3a2)]('runId')),_0x5f09dc[_0x34b589(0x3aa)]();}async[_0x1c5799(0x377)](){const _0x221bb2=_0x1c5799;var _0x488941,_0x308cdb,_0x451c20;const _0x28cba0=this[_0x221bb2(0x17b)][_0x221bb2(0x20a)](_0x126ab5['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x71d0e7=(_0x488941=_0x28cba0==null?void 0x0:_0x28cba0['wsSessionTicketUrl'])!=null?_0x488941:_0x126ab5[_0x221bb2(0x241)];return(_0x451c20=(_0x308cdb=(await this[_0x221bb2(0x145)][_0x221bb2(0x3a2)](_0x71d0e7,{'headers':{'Content-Type':_0x221bb2(0x18c)}}))[_0x221bb2(0x1e2)])==null?void 0x0:_0x308cdb[_0x221bb2(0x3d7)])!=null?_0x451c20:'';}},_0x7e2117['BrowserCollaborationSocketService']=_0x33acd5([_0x2cf855(0x0,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x2cf855(0x1,_0x453419[_0x1c5799(0x229)](_0x54c300[_0x1c5799(0x38f)])),_0x2cf855(0x2,_0x453419['IConfigService']),_0x2cf855(0x3,_0x453419['ILogService']),_0x2cf855(0x4,_0x567d4a[_0x1c5799(0x3d9)])],_0x7e2117[_0x1c5799(0x2c5)]);const _0x24fb08=0x7530,_0x273ced='ACTIVE_UNIT_EVENT_CHANNEL';class _0x526cfd extends _0x453419['Disposable']{constructor(){const _0x30eb13=_0x1c5799;super(),_0x1be09e(this,'_id',_0x453419['generateRandomId']()),_0x1be09e(this,'_selfUnitIDs',new Set()),_0x1be09e(this,_0x30eb13(0x385),new Map()),_0x1be09e(this,_0x30eb13(0x16b),null),_0x1be09e(this,_0x30eb13(0x3d8),new Map()),_0x1be09e(this,'_unitStatus',new Map()),this['_init']();}[_0x1c5799(0x2f8)](){const _0x3909f1=_0x1c5799;super[_0x3909f1(0x2f8)](),this['_clearOtherTimers']['forEach']((_0x2a0db2,_0x2ed085)=>this[_0x3909f1(0x1f1)](_0x2ed085)),this[_0x3909f1(0x16b)]&&window[_0x3909f1(0x13e)](this['_heartbeatTimer']);}[_0x1c5799(0x275)](_0x11fc1e){const _0x581e22=_0x1c5799;return this[_0x581e22(0x316)](_0x11fc1e)[_0x581e22(0x14d)](_0xa78be3[_0x581e22(0x1f4)]());}[_0x1c5799(0x33a)](_0x381c65){const _0xbe4312=_0x1c5799;this[_0xbe4312(0x351)]['size']===0x0&&this[_0xbe4312(0x294)](),this[_0xbe4312(0x351)]['add'](_0x381c65),this[_0xbe4312(0x36d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x381c65],'isForwarded':!0x1});}[_0x1c5799(0x1a8)](_0x24d810){const _0x5319e4=_0x1c5799;this[_0x5319e4(0x351)][_0x5319e4(0x1a0)](_0x24d810),this[_0x5319e4(0x351)]['size']===0x0&&this[_0x5319e4(0x16b)]&&window[_0x5319e4(0x13e)](this[_0x5319e4(0x16b)]);}[_0x1c5799(0x1fc)](){const _0xea2a32=_0x1c5799;this[_0xea2a32(0x38e)](_0x453419['toDisposable'](_0xa78be3[_0xea2a32(0x3c3)](window,_0xea2a32(0x15c))[_0xea2a32(0x159)](_0x5e717a=>{const _0x44f26d=_0xea2a32;if(_0x5e717a[_0x44f26d(0x397)]!==_0x273ced||!_0x5e717a[_0x44f26d(0x261)])return;const _0x35e1a5=JSON[_0x44f26d(0x34d)](_0x5e717a[_0x44f26d(0x261)]);this[_0x44f26d(0x18e)](_0x35e1a5);}))),window[_0xea2a32(0x1cb)](_0xea2a32(0x2c9),()=>this[_0xea2a32(0x36d)]({'type':0x1,'memberID':this[_0xea2a32(0x2c4)],'unitIDs':Array[_0xea2a32(0x172)](this[_0xea2a32(0x351)])}));}[_0x1c5799(0x18e)](_0x434e5d){const _0x1e7016=_0x1c5799;switch(_0x434e5d[_0x1e7016(0x186)]){case 0x0:this[_0x1e7016(0x1bf)](_0x434e5d);break;case 0x1:this[_0x1e7016(0x1d2)](_0x434e5d);break;case 0x2:this['_handleHeartbeatEvent'](_0x434e5d);break;}}[_0x1c5799(0x1bf)](_0x751951){const _0x4b3df0=_0x1c5799,{unitIDs:_0x404950,memberID:_0xb4f2a6,isForwarded:_0x2f132a}=_0x751951;_0x404950['forEach'](_0xf661fe=>{const _0x33ae8b=_0x4a60;if(!_0x2f132a&&this[_0x33ae8b(0x385)][_0x33ae8b(0x212)](_0xf661fe)&&this['_ensureSubject'](_0xf661fe)[_0x33ae8b(0x1fd)](_0x126ab5['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x33ae8b(0x385)]['has'](_0xf661fe)||!this[_0x33ae8b(0x385)][_0x33ae8b(0x3a2)](_0xf661fe)[_0x33ae8b(0x212)](_0xb4f2a6)){const _0x2acf23=this[_0x33ae8b(0x385)]['get'](_0xf661fe)||new Set();_0x2acf23[_0x33ae8b(0x16a)](_0xb4f2a6),this[_0x33ae8b(0x385)][_0x33ae8b(0x19a)](_0xf661fe,_0x2acf23),this[_0x33ae8b(0x166)](_0xb4f2a6);}}),_0x2f132a||this[_0x4b3df0(0x36d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4b3df0(0x351)]],'isForwarded':!0x0});}[_0x1c5799(0x166)](_0x181132){const _0x20dd6b=_0x1c5799;this[_0x20dd6b(0x1f1)](_0x181132);const _0x20995f=window[_0x20dd6b(0x280)](()=>{const _0x376c52=_0x20dd6b;this[_0x376c52(0x385)][_0x376c52(0x177)](_0x3c2153=>{const _0x35aeba=_0x376c52;_0x3c2153[_0x35aeba(0x1a0)](_0x181132);});},_0x24fb08*0x2);this[_0x20dd6b(0x3d8)][_0x20dd6b(0x19a)](_0x181132,_0x20995f);}['_removeClearOtherTimer'](_0x135161){const _0x3b96a9=_0x1c5799;if(this['_clearOtherTimers'][_0x3b96a9(0x212)](_0x135161)){const _0x4896ed=this[_0x3b96a9(0x3d8)][_0x3b96a9(0x3a2)](_0x135161);_0x4896ed&&window[_0x3b96a9(0x1cc)](_0x4896ed),this[_0x3b96a9(0x3d8)][_0x3b96a9(0x19a)](_0x135161,null);}}[_0x1c5799(0x1d2)](_0x4b95d3){const _0x424c8f=_0x1c5799,{memberID:_0x39e970,unitIDs:_0x471a7b}=_0x4b95d3;_0x471a7b[_0x424c8f(0x177)](_0xdbf627=>{const _0x8915bc=_0x424c8f;var _0xdc7eec;const _0x57550b=this['_unitOnClients'][_0x8915bc(0x3a2)](_0xdbf627);_0x57550b&&(_0x57550b['delete'](_0x39e970),(_0xdc7eec=this['_ensureSubject'](_0xdbf627))==null||_0xdc7eec[_0x8915bc(0x1fd)](_0x57550b[_0x8915bc(0x262)]===0x0?_0x126ab5[_0x8915bc(0x319)][_0x8915bc(0x267)]:_0x126ab5[_0x8915bc(0x319)][_0x8915bc(0x3c8)]));}),this['_removeClearOtherTimer'](_0x39e970);}[_0x1c5799(0x1d3)](_0x4d0217){const _0x5b579e=_0x1c5799;this['_scheduleClearOtherTimer'](_0x4d0217[_0x5b579e(0x384)]);}[_0x1c5799(0x36d)](_0x167533){const _0x511498=_0x1c5799;localStorage[_0x511498(0x296)](_0x273ced,JSON['stringify'](_0x167533));}[_0x1c5799(0x294)](){const _0x35337b=_0x1c5799;this[_0x35337b(0x16b)]=window[_0x35337b(0x2b6)](()=>{const _0x4a86a7=_0x35337b;this['_send']({'type':0x2,'memberID':this[_0x4a86a7(0x2c4)]});},_0x24fb08);}[_0x1c5799(0x316)](_0x186fbd){const _0x55cb4b=_0x1c5799;return this['_unitStatus'][_0x55cb4b(0x212)](_0x186fbd)||this[_0x55cb4b(0x1c5)][_0x55cb4b(0x19a)](_0x186fbd,new _0xa78be3['BehaviorSubject'](_0x126ab5['UnitStatus'][_0x55cb4b(0x267)])),this[_0x55cb4b(0x1c5)]['get'](_0x186fbd);}}var _0x38bcdf=(_0x1274b9=>(_0x1274b9[_0x1274b9[_0x1c5799(0x30c)]=0x0]=_0x1c5799(0x30c),_0x1274b9[_0x1274b9['OK']=0x1]='OK',_0x1274b9[_0x1274b9['INTERNAL_ERROR']=0x2]=_0x1c5799(0x1d8),_0x1274b9[_0x1274b9[_0x1c5799(0x375)]=0x3]=_0x1c5799(0x375),_0x1274b9[_0x1274b9[_0x1c5799(0x345)]=0x4]=_0x1c5799(0x345),_0x1274b9[_0x1274b9[_0x1c5799(0x359)]=0x5]=_0x1c5799(0x359),_0x1274b9[_0x1274b9['ALREADY_EXISTS']=0x6]=_0x1c5799(0x28e),_0x1274b9[_0x1274b9[_0x1c5799(0x237)]=0x7]=_0x1c5799(0x237),_0x1274b9[_0x1274b9[_0x1c5799(0x309)]=0x8]=_0x1c5799(0x309),_0x1274b9[_0x1274b9[_0x1c5799(0x281)]=0x9]='COMPLETION_FINISHED',_0x1274b9[_0x1274b9[_0x1c5799(0x271)]=0xa]=_0x1c5799(0x271),_0x1274b9[_0x1274b9[_0x1c5799(0x25e)]=0x1389]=_0x1c5799(0x25e),_0x1274b9[_0x1274b9[_0x1c5799(0x2e3)]=0x1771]=_0x1c5799(0x2e3),_0x1274b9[_0x1274b9[_0x1c5799(0x25f)]=0x1772]=_0x1c5799(0x25f),_0x1274b9[_0x1274b9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c5799(0x1f6),_0x1274b9[_0x1274b9['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1274b9[_0x1274b9[_0x1c5799(0x307)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1274b9[_0x1274b9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1c5799(0x37f),_0x1274b9[_0x1274b9['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1274b9[_0x1274b9[_0x1c5799(0x2dd)]=0x1b5d]=_0x1c5799(0x2dd),_0x1274b9[_0x1274b9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1c5799(0x394),_0x1274b9[_0x1274b9[_0x1c5799(0x306)]=0x2329]=_0x1c5799(0x306),_0x1274b9[_0x1274b9[_0x1c5799(0x254)]=0x232a]=_0x1c5799(0x254),_0x1274b9[_0x1274b9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1c5799(0x2bb),_0x1274b9[_0x1274b9['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1274b9[_0x1274b9[_0x1c5799(0x1eb)]=0x232d]=_0x1c5799(0x1eb),_0x1274b9[_0x1274b9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1274b9[_0x1274b9[_0x1c5799(0x3af)]=0x2712]=_0x1c5799(0x3af),_0x1274b9[_0x1274b9[_0x1c5799(0x2bd)]=0x2713]=_0x1c5799(0x2bd),_0x1274b9[_0x1274b9[_0x1c5799(0x269)]=0x2714]=_0x1c5799(0x269),_0x1274b9[_0x1274b9[_0x1c5799(0x2a4)]=0x2af9]=_0x1c5799(0x2a4),_0x1274b9[_0x1274b9['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1c5799(0x23c),_0x1274b9[_0x1274b9[_0x1c5799(0x331)]=0x2ee2]=_0x1c5799(0x331),_0x1274b9[_0x1274b9[_0x1c5799(0x192)]=0x2ee3]=_0x1c5799(0x192),_0x1274b9[_0x1274b9[_0x1c5799(0x148)]=0x2ee4]=_0x1c5799(0x148),_0x1274b9[_0x1274b9[_0x1c5799(0x18b)]=0x2ee5]=_0x1c5799(0x18b),_0x1274b9[_0x1274b9[_0x1c5799(0x2af)]=0x32c9]=_0x1c5799(0x2af),_0x1274b9[_0x1274b9[_0x1c5799(0x21e)]=0x32ca]=_0x1c5799(0x21e),_0x1274b9[_0x1274b9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1c5799(0x16c),_0x1274b9[_0x1274b9['UNRECOGNIZED']=-0x1]=_0x1c5799(0x2f1),_0x1274b9))(_0x38bcdf||{}),_0x443584=Object[_0x1c5799(0x231)],_0x17b2f2=(_0x2dd211,_0x4fdf65,_0x6e5a0b,_0x2b35b3)=>{for(var _0xb0ed57=_0x2b35b3>0x1?void 0x0:_0x2b35b3?_0x443584(_0x4fdf65,_0x6e5a0b):_0x4fdf65,_0x259ba1=_0x2dd211['length']-0x1,_0x85eb96;_0x259ba1>=0x0;_0x259ba1--)(_0x85eb96=_0x2dd211[_0x259ba1])&&(_0xb0ed57=_0x85eb96(_0xb0ed57)||_0xb0ed57);return _0xb0ed57;},_0x1a454b=(_0x7c26bd,_0x3f858c)=>(_0x238751,_0x2e255d)=>_0x3f858c(_0x238751,_0x2e255d,_0x7c26bd);_0x7e2117[_0x1c5799(0x2d6)]=class extends _0x453419['Disposable']{constructor(_0x5089d8,_0x1d4d5a,_0x25630c){const _0x4d3431=_0x1c5799;super(),this['_instanceService']=_0x5089d8,this['_httpService']=_0x1d4d5a,this[_0x4d3431(0x17b)]=_0x25630c;}async[_0x1c5799(0x14b)](_0x8e34bd,_0x3ed367,_0x46a6d2,..._0x2b7186){const _0x119742=_0x1c5799;var _0x3f2b05,_0x4a5f45,_0x5ead2f,_0x454967;const _0x4bbae2=this[_0x119742(0x1dd)][_0x119742(0x2fd)]();if(!_0x4bbae2)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x54092e=((_0x3f2b05=this[_0x119742(0x17b)][_0x119742(0x20a)](_0x126ab5[_0x119742(0x18a)]))!=null?_0x3f2b05:_0x126ab5[_0x119742(0x140)])+'/'+_0x8e34bd+'/run/'+_0x3ed367,_0x23641c=new URL(window[_0x119742(0x1ca)][_0x119742(0x342)]),_0x4221a3={'scriptId':_0x8e34bd,'runId':(_0x4a5f45=_0x23641c['searchParams'][_0x119742(0x3a2)](_0x119742(0x175)))!=null?_0x4a5f45:'','function':_0x3ed367,'unitId':_0x4bbae2['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x2b7186),'invokeId':(_0x5ead2f=_0x46a6d2[_0x119742(0x1e5)])!=null?_0x5ead2f:'','executionId':(_0x454967=_0x46a6d2['executionId'])!=null?_0x454967:''};try{const _0x5843dd=await this[_0x119742(0x145)][_0x119742(0x2e2)](_0x54092e,{'body':_0x4221a3});return _0x5843dd[_0x119742(0x1e2)][_0x119742(0x29e)]&&_0x5843dd['body'][_0x119742(0x29e)]['code']!==_0x38bcdf['OK']?'Failed':_0x5843dd[_0x119742(0x1e2)]['result'];}catch{return'Failed';}}},_0x7e2117[_0x1c5799(0x2d6)]=_0x17b2f2([_0x1a454b(0x0,_0x453419[_0x1c5799(0x1c8)]),_0x1a454b(0x1,_0x453419[_0x1c5799(0x229)](_0x54c300['HTTPService'])),_0x1a454b(0x2,_0x453419[_0x1c5799(0x144)])],_0x7e2117['RemoteUniscriptService']),_0x7e2117[_0x1c5799(0x1ad)]=_0x186b3c,_0x7e2117[_0x1c5799(0x253)]=_0x2c04a8,_0x7e2117[_0x1c5799(0x1f8)]=_0x2a871a,_0x7e2117[_0x1c5799(0x21a)]=_0x526cfd,_0x7e2117['WebURLService']=_0x1ef983,Object['defineProperty'](_0x7e2117,Symbol['toStringTag'],{'value':_0x1c5799(0x328)});}));function _0x313f(){const _0x431223=['unitId','getUnitId','_refRangeService','_uiPartsService','event$','_cursors','getUniverSheetInstance','purple300','UPDATE_CURSOR','hasOwnProperty','UNRECOGNIZED','skeleton','_range','_status$','_initStatusComponent','getMergeData','random','dispose','@univerjs/engine-render','UniverIcon','@univerjs/docs','UNIVER_SHEET','getFocusedUnit','shareReplay','React','registerRefRange','handleInsertRow','CLOSE_ROOM','UniverDocsUi','fill','mutations','LICENSE_MAX_UNITS_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','runRefRangeMutations','TOO_MANY_REQUESTS','_getAnchorBounding','collab-text-range-','UNDEFINED','EffectRefRangId','onPointerLeave$','closePath','_config','_startSheetCollabCursor','LOCAL_CACHE_INTERVAL_KEY','univer-offline','741466jruBfG','executeCommand','_ensureSubject','35Ldjvys','1em','UnitStatus','search','findNodePositionByCharIndex','transformRemoteChangeset','throttleTime','_onCursorUpdate','call','_themeService','collaboration.closeRoom','values','_saveTaskMap','setAlpha','getViewport','DocCollaborationEntity','m1Prime','Module','@univerjs/engine-formula','#fff','getAncestorScale','getSkeleton','DocStateChangeManagerService','_onCursorDelete','createInstance','pushState','INVALID_INVITE_CODE','permission.content','_drawTextRange','_hovered','@univerjs/network','_injector','disableLocalCache','NOT_COLLAB','hovered','editingUnit','308436oXWPDL','DisposableCollection','@univerjs/docs-ui','onMouseMove','getMemberID','eventID','setUndoRedoMutationParamsCache','href','ColorKit','_docStateChangeManagerService','NOT_FOUND','isActive','UniverDrawing','_sheetSkeletonManagerService','startsWith','trim','MemberService','INotificationService','parse','UniverCollaborationClientUIPlugin','extend','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','_selfUnitIDs','ILocalCacheService','_initCommandExecutedListener','UniverEngineFormula','_entityInit$','round','idSuffix','roomMembers$','UNAUTHENTICATED','RegularPolygon','enableLocalCache','_collaborationUIEventService','addObjects','UniverProCollaboration','_collabSessionService','Rectangle','pluginName','Disposable','sessionStatus$','then','collab-client.tooltip.reconnect','path','hide','_toggleOnline','offline','_disabled','contains','registerComponent','_send','send','InsertRangeMoveDownCommandId','removeParam','DocSkeletonManagerService','@univerjs/rpc','UniverDesign','setConfig','PERMISSION_DENIED','MUTATION','_getSessionTicket','UniverEngineRender','on-line-single_clip0_910_349','onPointerMove$','endRow','map','IBeforeCloseService','row','APPLY_REVISION_CONFILICT','url(#$1','currentColor','Rect','DependentOn','memberID','_unitOnClients','_registerDependencies','Vector2','labelPosition','_transformHistoryAndStateStack','handleIRemoveCol','generateRandomId','_collabCursorState$','Injector','disposeWithMe','HTTPService','_localCacheService','saveTaskMap','transformByState','Unknown\x20user','CONNECTOR_DATA_TOO_LARGE','Subject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','key','LOCAL_CACHE_INTERVAL','fillText','_syncEditingCollabCursorService','_labelPosition','split','_initDependencies','exports','Shape','online','COLORS','get','VIEW_MAIN','LocaleService','transformStateCache','BuiltInUIPart','_localeService','connectInjector','substring','toString','rgba(255,\x20255,\x20255,\x200.01)','UNIVER_DOC','InsertRangeMoveRightCommandId','params','YUUMI_URL_COL_OUT_OF_RANGE','entries','jsx','defs','_saveCache','_refreshCollabCursors','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','_removeCollabCursors','_messageService','collab-rect-range-','function','getTypeOfUnitAdded$','_beforeCloseService','7485768pJrlSW','m2Prime','JOIN_ROOM_FAILED','icon','history','getOffsetConfig','3QSqaOY','fromEvent','popstate','save','_lastPointer','_registerRenderDependencies','OTHER_CLIENTS_EDITING','transformMutation','currentTheme$','_univerInstanceService','setParam','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[CollaborationDataLoaderController]','collabStatus.conflict','_updateLocalCursor','getSheetObject','session.will-retry','USERS_LEAVE','_imageIoService','getTypeOfUnitDisposed$','collabStatus.fetchMiss','ticket','_clearOtherTimers','ISnapshotServerService','onCommandExecuted','getSheetBySheetId','selection','cursorInfo$','@univerjs-pro/collaboration-client','MoveRangeCommandId','SetTextSelectionsOperation','handleMoveRange','text','clearInterval','_docTransformIMECacheService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','beginPath','jsxs','CollaborationUIEventId','IConfigService','_httpService','_startDocCollabCursor','OnLineSingle','USER_NOT_INVITED_CODE','collaboration.single-unit.warning','all','runOnServer','9eobfdg','pipe','CollaborationSocketService','lineTo','_collaborationController','_drawRectRange','deserializeRangeWithSheet','getParam','_hideTimer','dispose$','1882358gbZmcZ','defIds','UniverUi','subscribe','OFFLINE','switchMap','storage','init','uni.network.url-service','colorChannel1','registerBeforeClose','createIdentifier','getRenderById','SHEET_VIEWPORT_KEY','startRow','WebSocketService','_scheduleClearOtherTimer','use','range','entityInit$','add','_heartbeatTimer','EMAIL_HAS_BEEN_BOUND','@univerjs/core','exhaustSavingTask','_cachedData','_commandService','on-line-single','from','_backgroundColor','_onRefRangeChange','runId','onPointerEnter$','forEach','OffLineSingle','collabStatus.notCollab','addObject','_configService','off-line-single','forwardRef','DesktopCollaborationStatusDisplayController','collabCursorState$','_docSkeletonManagerService','source','apply','width','off-line-single_clip0_910_343','makeDirty','type','@univerjs/sheets','collabStatus.offline','defineProperty','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','INVITE_CODE_ALREADY_BOUND','application/json','undoState','_handleEvent','SetWorksheetActivateCommand','loadOfflineData','Optional','INVITE_CODE_REQUIRED','whenReady','_docClipboardService','displayName','searchParams','16361270HaZzmG','transform','_dataLoaderService','set','@univerjs-pro/collaboration','react/jsx-runtime','TEXT_RANGE_LAYER_INDEX','getItem','object','delete','urlChange$','find','UniverProCollaborationClientUi','_updateURLWithCurrentState','assign','BehaviorSubject','subUnitId','disposeUnit','CollaborationController','some','_roomMembers$','deepClone','CollaborationStatusDisplay','_session','push','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getValue','_scheduleSaving','session.collaboration-timeout','_localStorageService','doc.mutation.rich-text-editing','univer-online-status-title','transformSelections','PENDING','@univerjs/design','...','getUndoRedoMutationParamsCache','font','Error','useObservable','_handleJoinEvent','_docSkeleton','DocSelectionManagerService','MessageType','jiqing500','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_unitStatus','activeSheet$','_handleHover','IUniverInstanceService','toDisposable','location','addEventListener','clearTimeout','_getScale','IMessageService','string','CollaborationStatus','replace','_handleLeaveEvent','_handleHeartbeatEvent','DeleteRangeMoveUpCommandId','saveImage','selections','Warning','INTERNAL_ERROR','unsubscribe','merge','endColumn','restore','_instanceService','IDocClipboardService','_transformUndoRedoStack','ILocalStorageService','takeUntil','body','isTransformMutationFailure','column','invokeId','subscribeEvent','_name','serializeRangeWithSheet','drawWith','useRef','LICENSE_DISTRO_REJECTED','InsertColCommandId','triggerDblclick','_colorIndex','collaboration-client.offline-data-not-saved','length','_removeClearOtherTimer','_textBubble','getCollabEntity$','distinctUntilChanged','fromEventSubject','ENSURE_SNAPSHOT_EXECUTION','_collabCursorController','SheetCollabCursorShape','children','getCurrentSelections','SUBMIT_CHANGESET_TIMEOUT','_init','next','getRangePointData','UniverSheets','url(#on-line-single_clip0_910_349)','CommandType','_anchorDot','CollaborationEvent','IUIPartsService','UniverRpc','rxjs/operators','_hover','asObservable','current','getConfig','CollaborationUIEventService','FromArray','_online','Tools','min','getSheetId','div','has','onTransformChange$','clsx','M0\x200H16V16H0z','engine','amd','getCurrentRevOfUnit','_createSocketURL','WebBrowserSingleActiveUnitService','_getSaveTimeout','_updateCollabCursors','RefRangeService','MOBILE_HAS_BEEN_BOUND','collab-text-anchor-','translate(.97)','_cursor','top','_transformPreviousActiveRange','SheetSkeletonManagerService','_colorAssignService','xlink:href','svg','Plugin','Inject','mask','registerRenderModule','debounce','_render','RECT','gold400','tag','getOwnPropertyDescriptor','SheetsSelectionsService','actions','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','cursorInfo','_memberService','INVALID_ARGUMENT','useCallback','prototype','@univerjs/drawing','Tooltip','INVITE_CODE_HAS_BEEN_UES','getCoordByCell','InsertRowCommandId','RxDisposable','sheetId','DEFAULT_WS_SESSION_TICKET_URL','_context','assignAColorForMemberID','complete','_cursorShapes','_setupSubUnitSync','UniverInstanceType','getCollabCursors$','DeleteRangeMoveLeftCommandId','onlineStatusTitle','FETCH_MISS','_transformService','UniverCore','rxjs','HEADER_MENU','getMember','debug','TEXT','IURLService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRenderManagerService','@univerjs/sheets-ui','unitID','_scene','AWAITING','useDependency','replaceState','_urlService','_initStatusListener','CHANGESET_REVISION_CONFILICT','SNAPSHOT_HAS_BEEN_REMOVED','bottom','newValue','size','_draw','DOC_RANGE_TYPE','_revisionService','indexOf','NO_OTHER_CLIENTS_EDITING','getRelativeToViewportCoord','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','_notificationService','arc','_doCreateSocket','_setupBeforeClosingHandler','unshift','className','LOGIN_FAILED','onLocalMutation','none','getColor','getUnitStatus$','_renderManagerService','color','_assignedColors','subunit','setActiveRange','mapTo','show','setShapeProps','toRgbString','handleInsertCol','setTimeout','COMPLETION_FINISHED','RemoveColCommandId','SessionStatus','getActiveSheet','onlineStatus','_initEntityListener','data','_logService','onlineStatusIcon','2223890GcwjtP','status$','getVpScrollXYInfoByPosToVp','black','ALREADY_EXISTS','override','createSocket','roomMembers','origin','includes','_scheduleHeartbeat','_initEvent','setItem','CollaborationDataLoaderController','fillStyle','name','isArray','isEditing','addClipboardHook','collabStatus.synced','error','ITransformService','redoState','clipPath','_eventUnsubscribe','getOwnPropertySymbols','PY_RUNTIME_SCRIPT_ERROR','_getSheetObject','ICommandService','measureText','syncEditingCollabCursor','docStateChange$','react','_shapes','debounceTime','_entities','onRendered','WECHAT_HAS_BEEN_BOUND','getStateCache','symbol','saveOfflineData','createElement','combineLatest','focused$','setInterval','evenodd','transformMutationsWithChangeset','verdancy600','CONFLICT','LICENSE_IMPORT_SIZE_EXCEEDED','3345516MFdIMO','YUUMI_RATE_OVER_LIMIT','currentSkeleton$','_docSyncEditingCollabCursorService','_color','univer-flex\x20univer-items-center','ONLINE','IRemoteInstanceService','_id','BrowserCollaborationSocketService','_updateSubUnitFromURLParams','_cursorInfo$','getCurrent','unload','sessionTicket','transformIMECache','backgroundColor','@univerjs/ui','_drawAnchor','concat','with','DocIMEInputManagerService','_docTransformStateCacheService','ISocketService','attrs','univer-online-status-icon','RemoteUniscriptService','UniverCollaborationClientPlugin','ThemeService','session.connection-failed','_anchor','collaboration-client-ui.config','IImageIoService','APPLY_DUPLICATED','_toggleOffline','univer-online','filter','handleInsertRangeMoveRight','post','SNAPSHOT_INVALID_SNAPSHOT','ranges','ILogService','requireSession'];_0x313f=function(){return _0x431223;};return _0x313f();}
|
|
1
|
+
(function(_0xf49c37,_0x4be8e1){const _0x5b0583=_0x25fd,_0x1bcd8a=_0xf49c37();while(!![]){try{const _0x14f75c=parseInt(_0x5b0583(0x3bc))/0x1*(-parseInt(_0x5b0583(0x265))/0x2)+-parseInt(_0x5b0583(0x389))/0x3+parseInt(_0x5b0583(0x294))/0x4+parseInt(_0x5b0583(0x2d0))/0x5+parseInt(_0x5b0583(0x253))/0x6*(-parseInt(_0x5b0583(0x3c9))/0x7)+-parseInt(_0x5b0583(0x388))/0x8+parseInt(_0x5b0583(0x42c))/0x9*(parseInt(_0x5b0583(0x22c))/0xa);if(_0x14f75c===_0x4be8e1)break;else _0x1bcd8a['push'](_0x1bcd8a['shift']());}catch(_0xc08884){_0x1bcd8a['push'](_0x1bcd8a['shift']());}}}(_0x50ca,0xe78b9),function(_0x55201a,_0x5e095d){const _0x2ed610=_0x25fd;typeof exports==_0x2ed610(0x299)&&typeof module<'u'?_0x5e095d(exports,require(_0x2ed610(0x3f7)),require(_0x2ed610(0x394)),require(_0x2ed610(0x3a4)),require(_0x2ed610(0x3cf)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x2ed610(0x3bf)),require(_0x2ed610(0x2f0)),require(_0x2ed610(0x22a)),require(_0x2ed610(0x24e)),require(_0x2ed610(0x2a7)),require('rxjs/operators'),require(_0x2ed610(0x212)),require(_0x2ed610(0x2f6)),require(_0x2ed610(0x24a)),require(_0x2ed610(0x33e)),require(_0x2ed610(0x3d2)),require(_0x2ed610(0x447))):typeof define==_0x2ed610(0x327)&&define[_0x2ed610(0x2fc)]?define([_0x2ed610(0x370),'@univerjs-pro/collaboration-client',_0x2ed610(0x394),_0x2ed610(0x3a4),'@univerjs/network','@univerjs/docs-ui','@univerjs/drawing',_0x2ed610(0x3bf),_0x2ed610(0x2f0),_0x2ed610(0x22a),_0x2ed610(0x24e),_0x2ed610(0x2a7),_0x2ed610(0x45c),_0x2ed610(0x212),_0x2ed610(0x2f6),_0x2ed610(0x24a),_0x2ed610(0x33e),_0x2ed610(0x3d2),'@univerjs/rpc'],_0x5e095d):(_0x55201a=typeof globalThis<'u'?globalThis:_0x55201a||self,_0x5e095d(_0x55201a[_0x2ed610(0x237)]={},_0x55201a[_0x2ed610(0x274)],_0x55201a[_0x2ed610(0x3cc)],_0x55201a['UniverEngineRender'],_0x55201a[_0x2ed610(0x204)],_0x55201a[_0x2ed610(0x231)],_0x55201a[_0x2ed610(0x339)],_0x55201a['rxjs'],_0x55201a[_0x2ed610(0x316)],_0x55201a[_0x2ed610(0x476)],_0x55201a['UniverEngineFormula'],_0x55201a[_0x2ed610(0x239)],_0x55201a[_0x2ed610(0x3bf)][_0x2ed610(0x26d)],_0x55201a[_0x2ed610(0x3fa)],_0x55201a[_0x2ed610(0x2b2)],_0x55201a[_0x2ed610(0x458)],_0x55201a[_0x2ed610(0x44b)],_0x55201a[_0x2ed610(0x2b2)],_0x55201a['UniverRpc']));}(this,function(_0x4cceb3,_0xcd8db,_0x7d7395,_0x1335eb,_0x45113e,_0x5eb1d8,_0x16e36f,_0x24af31,_0x1525c3,_0x2fc10,_0x3bff30,_0x578427,_0x22fa0e,_0x82f1f,_0x5ac202,_0x273ccb,_0x4c907b,_0xcaba45,_0x1b65ca){'use strict';const _0x4f4524=_0x25fd;var _0x44bde5=Object[_0x4f4524(0x390)],_0x2687c8=(_0x25102d,_0x1c5a75,_0x1ab45a)=>_0x1c5a75 in _0x25102d?_0x44bde5(_0x25102d,_0x1c5a75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ab45a}):_0x25102d[_0x1c5a75]=_0x1ab45a,_0x4535fa=(_0x4c3fa4,_0x5c37ed,_0x102013)=>_0x2687c8(_0x4c3fa4,typeof _0x5c37ed!=_0x4f4524(0x3ca)?_0x5c37ed+'':_0x5c37ed,_0x102013),_0x51e095=Object[_0x4f4524(0x44d)],_0x238ac4=(_0x2d5a65,_0x158e13,_0x5bcbcf,_0x1c6f08)=>{const _0x2a0f9b=_0x4f4524;for(var _0x5f25c1=_0x1c6f08>0x1?void 0x0:_0x1c6f08?_0x51e095(_0x158e13,_0x5bcbcf):_0x158e13,_0x31cb7f=_0x2d5a65[_0x2a0f9b(0x332)]-0x1,_0x4ae4b5;_0x31cb7f>=0x0;_0x31cb7f--)(_0x4ae4b5=_0x2d5a65[_0x31cb7f])&&(_0x5f25c1=_0x4ae4b5(_0x5f25c1)||_0x5f25c1);return _0x5f25c1;},_0x3c4924=(_0x58b46a,_0x4564ac)=>(_0x42b2d4,_0x58f0a0)=>_0x4564ac(_0x42b2d4,_0x58f0a0,_0x58b46a);let _0x270b59=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x530fc1,_0x3ed17d){const _0x43b19a=_0x4f4524;super(),this[_0x43b19a(0x409)]=_0x530fc1,this[_0x43b19a(0x28f)]=_0x3ed17d,this[_0x43b19a(0x1e4)]();}[_0x4f4524(0x1e4)](){const _0x188e85=_0x4f4524,_0x1f848b=this;this[_0x188e85(0x38e)](this[_0x188e85(0x409)][_0x188e85(0x337)]({'onBeforePasteImage':async _0x4b296b=>{const _0x2c3e53=_0x188e85,_0x229f71=await _0x1f848b['_imageIoService'][_0x2c3e53(0x30b)](_0x4b296b);return _0x229f71?{'source':_0x229f71[_0x2c3e53(0x24b)],'imageSourceType':_0x229f71['imageSourceType']}:null;}}));}};_0x270b59=_0x238ac4([_0x3c4924(0x0,_0x5eb1d8[_0x4f4524(0x39b)]),_0x3c4924(0x1,_0x16e36f['IImageIoService'])],_0x270b59);const _0x129673=[_0x4f4524(0x407),'jiqing500','verdancy600',_0x4f4524(0x324),_0x4f4524(0x445),_0x4f4524(0x1e1)];class _0x1cb796 extends _0x7d7395[_0x4f4524(0x36c)]{constructor(){const _0x285723=_0x4f4524;super(...arguments),_0x4535fa(this,_0x285723(0x311),new Map()),_0x4535fa(this,_0x285723(0x411),0x0);}[_0x4f4524(0x1ee)](_0x411509){const _0x490294=_0x4f4524;if(this[_0x490294(0x311)][_0x490294(0x3d4)](_0x411509))return this[_0x490294(0x311)][_0x490294(0x455)](_0x411509);const _0x38422c=_0x129673[this[_0x490294(0x411)]];return this[_0x490294(0x411)]=(this['_colorIndex']+0x1)%_0x129673[_0x490294(0x332)],this[_0x490294(0x311)]['set'](_0x411509,_0x38422c),_0x38422c;}}function _0x4089f0(_0xe69054){const _0x4e3334=_0x4f4524;let _0x2e99b8='';for(const _0x2627b2 of _0xe69054){const {startOffset:_0x4afd8c,endOffset:_0x135a3a,isActive:_0x47bee0,rangeType:_0x48b960,segmentId:_0x4522c3,segmentPage:_0x49ad26}=_0x2627b2;_0x2e99b8[_0x4e3334(0x332)]&&(_0x2e99b8+=','),_0x2e99b8+=_0x4afd8c+':'+_0x135a3a+':'+(_0x47bee0?'1':'0')+':'+_0x48b960+':'+_0x4522c3+':'+_0x49ad26;}return _0x2e99b8;}function _0x5a29c8(_0x3b3fc1){const _0x4ea3d0=_0x4f4524,_0x19fafa=_0x3b3fc1[_0x4ea3d0(0x398)](','),_0x436d8d=[];for(const _0x13c353 of _0x19fafa){const [_0x1b0f51,_0x435b96,_0x5c327c,_0x4d0d03,_0x1c4d8f,_0x4ef76e]=_0x13c353['split'](':');_0x436d8d[_0x4ea3d0(0x250)]({'startOffset':Number(_0x1b0f51),'endOffset':Number(_0x435b96),'collapsed':_0x1b0f51===_0x435b96,'isActive':_0x5c327c==='1','rangeType':_0x4d0d03===_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x375)]?_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x375)]:_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x3ad)],'segmentId':typeof _0x1c4d8f==_0x4ea3d0(0x205)?String(_0x1c4d8f):'','segmentPage':Number(_0x4ef76e!=null?_0x4ef76e:-0x1)});}return _0x436d8d[_0x4ea3d0(0x221)](_0x30b6ed=>_0x30b6ed['isActive'])||(_0x436d8d[0x0]['isActive']=!0x0),_0x436d8d;}class _0x4e81cb extends _0x7d7395['RxDisposable']{constructor(){const _0x1d878f=_0x4f4524;super(...arguments),_0x4535fa(this,'_collabCursorState$',new _0x24af31[(_0x1d878f(0x42f))](null)),_0x4535fa(this,'collabCursorState$',this[_0x1d878f(0x3b6)][_0x1d878f(0x301)]());}[_0x4f4524(0x40a)](_0x40eac5){const _0x2edf1f=_0x4f4524,{unitID:_0x2c8ade,memberID:_0x45f6a8,textRanges:_0x596c50}=_0x40eac5,_0x12cbfc=_0x4089f0(_0x596c50);if(_0x12cbfc==='')return;const _0x291a0={'unitID':_0x2c8ade,'memberID':_0x45f6a8,'selection':_0x12cbfc};this[_0x2edf1f(0x3b6)]['next'](_0x291a0);}}var _0x1984d5=Object[_0x4f4524(0x44d)],_0x473f51=(_0x3cfb21,_0xbbae05,_0x1f0b7e,_0x3c9b6b)=>{for(var _0x4727e1=_0x3c9b6b>0x1?void 0x0:_0x3c9b6b?_0x1984d5(_0xbbae05,_0x1f0b7e):_0xbbae05,_0x1cd11a=_0x3cfb21['length']-0x1,_0x55c33d;_0x1cd11a>=0x0;_0x1cd11a--)(_0x55c33d=_0x3cfb21[_0x1cd11a])&&(_0x4727e1=_0x55c33d(_0x4727e1)||_0x4727e1);return _0x4727e1;},_0x306eed=(_0x2d5451,_0x10e219)=>(_0xfe1860,_0xf1a87b)=>_0x10e219(_0xfe1860,_0xf1a87b,_0x2d5451);const _0x41889d=0x12c,_0x1399ab=0x64;let _0x53c664=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x39668a,_0x33e139,_0x32184f,_0x1fa6df,_0x27f8b8,_0x392535,_0x3f305c,_0x183c43,_0x368566){const _0x6ea98b=_0x4f4524;super(),_0x4535fa(this,_0x6ea98b(0x278),!0x1),_0x4535fa(this,'_init',!0x1),_0x4535fa(this,_0x6ea98b(0x264),new _0x24af31[(_0x6ea98b(0x42f))](new Map())),_0x4535fa(this,_0x6ea98b(0x330),this[_0x6ea98b(0x264)][_0x6ea98b(0x301)]()),_0x4535fa(this,_0x6ea98b(0x329),new _0x24af31[(_0x6ea98b(0x42f))]([])),_0x4535fa(this,_0x6ea98b(0x312),this[_0x6ea98b(0x329)][_0x6ea98b(0x475)](_0x24af31[_0x6ea98b(0x2e0)](_0x41889d))),_0x4535fa(this,_0x6ea98b(0x2a1),_0x7d7395[_0x6ea98b(0x40e)](_0x662080=>{const _0x4d66c4=_0x6ea98b,_0x57645b={'eventID':_0x2fc10[_0x4d66c4(0x2eb)][_0x4d66c4(0x45e)],'data':{'unitID':this['unitID'],'memberID':this[_0x4d66c4(0x39a)]['getMemberID'](),'selection':_0x4089f0(_0x662080)}};this[_0x4d66c4(0x39a)][_0x4d66c4(0x30d)](_0x57645b,this['unitID']);},_0x1399ab)),(this[_0x6ea98b(0x3ef)]=_0x39668a,this[_0x6ea98b(0x39a)]=_0x33e139,this[_0x6ea98b(0x40b)]=_0x32184f,this[_0x6ea98b(0x306)]=_0x1fa6df,this[_0x6ea98b(0x43b)]=_0x27f8b8,this[_0x6ea98b(0x334)]=_0x392535,this['_transformService']=_0x3f305c,this[_0x6ea98b(0x236)]=_0x183c43,this['_commandService']=_0x368566);}get[_0x4f4524(0x3cd)](){const _0x282efa=_0x4f4524;return this[_0x282efa(0x264)][_0x282efa(0x3ec)]();}get[_0x4f4524(0x279)](){const _0x30efcf=_0x4f4524;return this[_0x30efcf(0x329)][_0x30efcf(0x3ec)]();}[_0x4f4524(0x347)](){const _0x125746=_0x4f4524;super[_0x125746(0x347)](),this[_0x125746(0x264)][_0x125746(0x1e8)](new Map()),this[_0x125746(0x264)][_0x125746(0x27d)](),this[_0x125746(0x329)][_0x125746(0x1e8)]([]),this[_0x125746(0x329)][_0x125746(0x27d)]();}['init'](){const _0x129d71=_0x4f4524;this[_0x129d71(0x1e4)]||(this[_0x129d71(0x1e4)]=!0x0,this[_0x129d71(0x39a)]['sessionStatus$'][_0x129d71(0x475)](_0x24af31[_0x129d71(0x41d)](this[_0x129d71(0x3b9)]))['subscribe'](_0x3fe03e=>{const _0x883043=_0x129d71;_0x3fe03e===_0xcd8db[_0x883043(0x429)]['ONLINE']?this[_0x883043(0x200)]():this[_0x883043(0x210)]();}),this[_0x129d71(0x39a)][_0x129d71(0x2e9)][_0x129d71(0x475)](_0x24af31[_0x129d71(0x41d)](this[_0x129d71(0x3b9)]))['subscribe'](_0x12c2e1=>{const _0x267df9=_0x129d71,_0x209103=_0x12c2e1[_0x267df9(0x38c)];_0x209103===_0x2fc10['CollaborationEvent'][_0x267df9(0x45e)]&&this[_0x267df9(0x232)](_0x12c2e1),_0x209103===_0x2fc10[_0x267df9(0x2eb)][_0x267df9(0x290)]&&this['_onCursorDelete'](_0x12c2e1);}),this['disposeWithMe'](this[_0x129d71(0x2e6)][_0x129d71(0x3df)](_0x33f34b=>{const _0x5ce5f9=_0x129d71,_0x2d8870=_0x33f34b[_0x5ce5f9(0x222)];_0x2d8870!=null&&this[_0x5ce5f9(0x278)]&&_0x33f34b['id']===_0x1525c3['SetTextSelectionsOperation']['id']&&_0x2d8870[_0x5ce5f9(0x410)]===this[_0x5ce5f9(0x3ef)]&&_0x2d8870['isEditing']===!0x1&&_0x2d8870[_0x5ce5f9(0x470)][_0x5ce5f9(0x332)]>0x0&&this[_0x5ce5f9(0x2a1)](_0x2d8870[_0x5ce5f9(0x470)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x24af31[_0x129d71(0x41d)](this['dispose$']))[_0x129d71(0x2ef)](_0xb88733=>{const _0x317eac=_0x129d71;if((_0xb88733==null?void 0x0:_0xb88733[_0x317eac(0x3ef)])!==this[_0x317eac(0x3ef)])return;const _0x536c70={'eventID':_0x2fc10['CollaborationEvent'][_0x317eac(0x45e)],'data':_0xb88733};this[_0x317eac(0x232)](_0x536c70);}),this[_0x129d71(0x38e)](this[_0x129d71(0x2e6)][_0x129d71(0x3df)](_0x5cb548=>{const _0x20d2c2=_0x129d71;if(_0x5cb548[_0x20d2c2(0x222)]==null)return;const _0x5ad8eb=_0x5cb548[_0x20d2c2(0x222)];if(_0x5cb548['id']!==_0x1525c3[_0x20d2c2(0x22e)]['id']||_0x5ad8eb['unitId']!==this['unitID'])return;const _0x522a1f={'id':_0x20d2c2(0x307),'params':_0x5ad8eb},_0x16dcf1=this[_0x20d2c2(0x3cd)];for(const [_0x499bce,_0x36b2ab]of _0x16dcf1){const _0x548209={'id':_0x20d2c2(0x307),'params':{'unitId':this[_0x20d2c2(0x3ef)],'actions':null,'textRanges':_0x36b2ab[_0x20d2c2(0x470)]}},_0x21c625=this[_0x20d2c2(0x33a)][_0x20d2c2(0x24c)](_0x522a1f,_0x548209,!0x1);if(_0x2fc10[_0x20d2c2(0x426)](_0x21c625))throw _0x21c625['error'];_0x16dcf1[_0x20d2c2(0x32e)](_0x499bce,{..._0x36b2ab,'ranges':_0x21c625['m2Prime'][_0x20d2c2(0x222)]['textRanges']});}queueMicrotask(()=>{const _0x5d8b7e=_0x20d2c2;this[_0x5d8b7e(0x264)][_0x5d8b7e(0x1e8)](_0x16dcf1);});})));}['_onCursorUpdate'](_0x49df64){const _0x36cce1=_0x4f4524;var _0x2e45e8,_0x19ab41;const {memberID:_0x5e6b15,selection:_0x4e7718}=_0x49df64[_0x36cce1(0x1fc)],_0x1e1045=_0x5a29c8(_0x4e7718),_0x5d7971=(_0x19ab41=(_0x2e45e8=this[_0x36cce1(0x43b)][_0x36cce1(0x3c4)](this[_0x36cce1(0x3ef)],_0x5e6b15))==null?void 0x0:_0x2e45e8[_0x36cce1(0x43d)])!=null?_0x19ab41:'Unknown\x20user',_0x10f8cb={'color':this[_0x36cce1(0x306)][_0x36cce1(0x1ee)](_0x5e6b15),'name':_0x5d7971,'ranges':_0x1e1045},_0x5ebade=this[_0x36cce1(0x3cd)];_0x5ebade['set'](_0x5e6b15,_0x10f8cb),this[_0x36cce1(0x264)][_0x36cce1(0x1e8)](_0x5ebade);}['_onCursorDelete'](_0x5b61fb){const _0x5c6d18=_0x4f4524,{memberID:_0x3bfe9e}=_0x5b61fb[_0x5c6d18(0x1fc)],_0x2b653f=this[_0x5c6d18(0x3cd)];_0x2b653f['delete'](_0x3bfe9e),this['_cursorInfo$'][_0x5c6d18(0x1e8)](_0x2b653f);}[_0x4f4524(0x200)](){const _0x27aca5=_0x4f4524;var _0x262e0f;if(this[_0x27aca5(0x278)]=!0x0,((_0x262e0f=this[_0x27aca5(0x236)][_0x27aca5(0x2bc)]())==null?void 0x0:_0x262e0f[_0x27aca5(0x36d)]())!==this[_0x27aca5(0x3ef)])return;const _0xf807bd=this['_injector']['get'](_0x1525c3[_0x27aca5(0x31c)])[_0x27aca5(0x348)]();Array['isArray'](_0xf807bd)&&_0xf807bd[_0x27aca5(0x332)]>0x0&&this[_0x27aca5(0x2a1)](_0xf807bd);}[_0x4f4524(0x210)](){this['_online']=!0x1;}};_0x53c664=_0x473f51([_0x306eed(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x306eed(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x1cb796)),_0x306eed(0x4,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db['MemberService'])),_0x306eed(0x5,_0x7d7395[_0x4f4524(0x40d)](_0x4e81cb)),_0x306eed(0x6,_0x2fc10['ITransformService']),_0x306eed(0x7,_0x7d7395['IUniverInstanceService']),_0x306eed(0x8,_0x7d7395[_0x4f4524(0x226)])],_0x53c664);var _0x16470e=Object[_0x4f4524(0x44d)],_0x36f9cb=(_0xe77451,_0x220c74,_0x7d22da,_0xb7e5ea)=>{const _0x21116c=_0x4f4524;for(var _0xd50f68=_0xb7e5ea>0x1?void 0x0:_0xb7e5ea?_0x16470e(_0x220c74,_0x7d22da):_0x220c74,_0x5af747=_0xe77451[_0x21116c(0x332)]-0x1,_0x55d066;_0x5af747>=0x0;_0x5af747--)(_0x55d066=_0xe77451[_0x5af747])&&(_0xd50f68=_0x55d066(_0xd50f68)||_0xd50f68);return _0xd50f68;},_0x43b4db=(_0x323595,_0x538595)=>(_0xe50cec,_0x1c6990)=>_0x538595(_0xe50cec,_0x1c6990,_0x323595);const _0x5909df=0x12c,_0x5a15fc=0x64,_0x1c8276=()=>{let _0xe22a04=[],_0x2d3668=!0x1;return _0xf1c468=>{const _0x317928=_0x25fd;_0xe22a04[_0x317928(0x250)](_0xf1c468),_0x2d3668||(_0x2d3668=!0x0,setTimeout(()=>{const _0x156571=_0x317928;_0xe22a04[_0x156571(0x23f)](_0x10b0c4=>_0x10b0c4()),_0xe22a04=[],_0x2d3668=!0x1;}));};};let _0xae350f=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x2f18ff,_0x15fc6a,_0x486915,_0x4d8bff,_0x5dabd2,_0x1b7102,_0xb00fa7,_0x1ef36f){const _0x1af546=_0x4f4524;super(),_0x4535fa(this,_0x1af546(0x278),!0x1),_0x4535fa(this,_0x1af546(0x1e4),!0x1),_0x4535fa(this,_0x1af546(0x264),new _0x24af31['BehaviorSubject'](new Map())),_0x4535fa(this,_0x1af546(0x330),this['_cursorInfo$'][_0x1af546(0x301)]()),_0x4535fa(this,_0x1af546(0x329),new _0x24af31[(_0x1af546(0x42f))]([])),_0x4535fa(this,_0x1af546(0x312),this[_0x1af546(0x329)][_0x1af546(0x475)](_0x24af31[_0x1af546(0x2e0)](_0x5909df))),_0x4535fa(this,_0x1af546(0x2a1),_0x7d7395[_0x1af546(0x40e)]((_0x1b8efd,_0x4d3a8f)=>{const _0x363342=_0x1af546,_0x406b14={'eventID':_0x2fc10[_0x363342(0x2eb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x363342(0x3ef)],'memberID':this[_0x363342(0x39a)][_0x363342(0x2d1)](),'selection':_0x3bff30[_0x363342(0x2e3)](_0x1b8efd,_0x4d3a8f[_0x363342(0x243)])}};this[_0x363342(0x39a)][_0x363342(0x30d)](_0x406b14,this['unitID']);},_0x5a15fc)),(this[_0x1af546(0x3ef)]=_0x2f18ff,this['_session']=_0x15fc6a,this[_0x1af546(0x40b)]=_0x486915,this[_0x1af546(0x306)]=_0x4d8bff,this[_0x1af546(0x43b)]=_0x5dabd2,this[_0x1af546(0x236)]=_0x1b7102,this[_0x1af546(0x2e6)]=_0xb00fa7,this[_0x1af546(0x436)]=_0x1ef36f);}get[_0x4f4524(0x3cd)](){const _0x48e075=_0x4f4524;return this[_0x48e075(0x264)][_0x48e075(0x3ec)]();}get[_0x4f4524(0x279)](){const _0x409375=_0x4f4524;return this[_0x409375(0x329)][_0x409375(0x3ec)]();}[_0x4f4524(0x347)](){const _0x14f478=_0x4f4524;super[_0x14f478(0x347)](),this[_0x14f478(0x264)][_0x14f478(0x1e8)](new Map()),this[_0x14f478(0x264)]['complete'](),this[_0x14f478(0x329)][_0x14f478(0x1e8)]([]),this[_0x14f478(0x329)][_0x14f478(0x27d)]();}[_0x4f4524(0x34c)](){const _0x13be52=_0x4f4524;this[_0x13be52(0x1e4)]||(this['_init']=!0x0,this['_session'][_0x13be52(0x34d)][_0x13be52(0x475)](_0x24af31[_0x13be52(0x41d)](this[_0x13be52(0x3b9)]))[_0x13be52(0x2ef)](_0x5dd96c=>{const _0x5acd76=_0x13be52;_0x5dd96c===_0xcd8db[_0x5acd76(0x429)]['ONLINE']?this['_toggleOnline']():this[_0x5acd76(0x210)]();}),this[_0x13be52(0x39a)][_0x13be52(0x2e9)]['pipe'](_0x24af31[_0x13be52(0x41d)](this[_0x13be52(0x3b9)]))[_0x13be52(0x2ef)](_0x2be4bc=>{const _0x24b851=_0x13be52,_0x36ad06=_0x2be4bc['eventID'];_0x36ad06===_0x2fc10['CollaborationEvent'][_0x24b851(0x45e)]&&this['_onCursorUpdate'](_0x2be4bc),_0x36ad06===_0x2fc10['CollaborationEvent'][_0x24b851(0x290)]&&this['_onCursorDelete'](_0x2be4bc);}),this[_0x13be52(0x323)](),this[_0x13be52(0x38e)](this['_commandService']['onCommandExecuted'](_0x22f2ed=>{const _0x47122d=_0x13be52;if(this[_0x47122d(0x278)]&&_0x22f2ed['id']===_0x578427[_0x47122d(0x393)]['id']&&_0x22f2ed[_0x47122d(0x222)][_0x47122d(0x410)]===this[_0x47122d(0x3ef)]){const _0xcc1f3e=_0x22f2ed[_0x47122d(0x222)];this[_0x47122d(0x2a1)](_0xcc1f3e[_0x47122d(0x25c)],_0xcc1f3e[_0x47122d(0x2c3)][0x0]);}})));}[_0x4f4524(0x232)](_0x55576e){const _0x283e02=_0x4f4524;var _0x29db7e,_0x28a045;const {memberID:_0x1381f4,selection:_0x56d96d}=_0x55576e[_0x283e02(0x1fc)],{sheetName:_0x44ad13,range:_0xfd97a2}=_0x3bff30[_0x283e02(0x30f)](_0x56d96d),_0x4f445a={'name':(_0x28a045=(_0x29db7e=this[_0x283e02(0x43b)][_0x283e02(0x3c4)](this[_0x283e02(0x3ef)],_0x1381f4))==null?void 0x0:_0x29db7e['name'])!=null?_0x28a045:_0x283e02(0x289),'range':this[_0x283e02(0x28d)](_0x44ad13,_0xfd97a2),'sheetID':_0x44ad13,'color':this[_0x283e02(0x306)]['assignAColorForMemberID'](_0x1381f4),'selection':_0x56d96d},_0x3b1f90=this['cursorInfo'];_0x3b1f90['set'](_0x1381f4,_0x4f445a),this[_0x283e02(0x264)][_0x283e02(0x1e8)](_0x3b1f90);}[_0x4f4524(0x2e7)](_0x294d48){const _0x42a02a=_0x4f4524,{memberID:_0x332edb}=_0x294d48[_0x42a02a(0x1fc)],_0x34c451=this['cursorInfo'];_0x34c451[_0x42a02a(0x421)](_0x332edb),this['_cursorInfo$']['next'](_0x34c451);}[_0x4f4524(0x28d)](_0xbe7383,_0x1f831e){const _0x46d34d=_0x4f4524;var _0x3f0e41,_0x535315;const _0x282c02=(_0x535315=(_0x3f0e41=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3f0e41[_0x46d34d(0x2fd)](_0xbe7383))==null?void 0x0:_0x535315[_0x46d34d(0x43f)]();return(_0x282c02==null?void 0x0:_0x282c02[_0x46d34d(0x33b)](_0x1120a3=>_0x7d7395[_0x46d34d(0x305)][_0x46d34d(0x27e)](_0x1120a3,_0x1f831e)))||_0x1f831e;}[_0x4f4524(0x323)](){const _0x671217=_0x4f4524,_0x885e6c=new _0x7d7395[(_0x671217(0x384))](),_0x5eaadc=_0x1c8276(),_0x228a9f=()=>{const _0x16d7ca=_0x671217;_0x885e6c['dispose']();const _0x1c5372=(_0x5e8637,_0x108344,_0x4c5c5c,_0xb1cf3e)=>{const _0x17c698=_0x25fd;let _0x3c9a8c=[];switch(_0x5e8637['id']){case _0x578427[_0x17c698(0x22f)][_0x17c698(0x466)]:{_0x3c9a8c=_0x578427[_0x17c698(0x3ce)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)]['DeleteRangeMoveUpCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x1e2)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x33f)]:{_0x3c9a8c=_0x578427[_0x17c698(0x349)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x2f2)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId'][_0x17c698(0x3a7)]:{_0x3c9a8c=_0x578427[_0x17c698(0x340)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x3f8)]:{_0x3c9a8c=_0x578427[_0x17c698(0x27c)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)]['MoveRangeCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x366)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x3c8)]:{_0x3c9a8c=_0x578427[_0x17c698(0x468)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId'][_0x17c698(0x3d0)]:{_0x3c9a8c=_0x578427[_0x17c698(0x3e0)](_0x5e8637,_0xb1cf3e);break;}}const _0x21360c=_0x578427[_0x17c698(0x252)](_0x3c9a8c,_0xb1cf3e),_0x1b9ed3=this[_0x17c698(0x3cd)][_0x17c698(0x455)](_0x108344);if(_0x1b9ed3&&_0x21360c){const _0x10b20b={..._0x1b9ed3,'range':_0x21360c};this[_0x17c698(0x3cd)][_0x17c698(0x32e)](_0x108344,_0x10b20b),_0x5eaadc(()=>{const _0x28e68d=_0x17c698,_0x294695=this['_refRangeService'][_0x28e68d(0x288)](_0x21360c,_0x345068=>(_0x294695[_0x28e68d(0x347)](),_0x1c5372(_0x345068,_0x108344,_0x4c5c5c,_0x21360c)));_0x885e6c['add'](_0x294695);});}return{'redos':[],'undos':[]};};this[_0x16d7ca(0x3cd)]['forEach']((_0x3a04de,_0x4d8ca4)=>{const _0x612c15=_0x16d7ca,{range:_0x351466,sheetID:_0x1752fd}=_0x3a04de,_0x1c577d=this['_refRangeService'][_0x612c15(0x288)](_0x351466,_0x3d9edd=>(_0x1c577d[_0x612c15(0x347)](),_0x1c5372(_0x3d9edd,_0x4d8ca4,_0x1752fd,_0x351466)));_0x885e6c[_0x612c15(0x203)](_0x1c577d);});};this[_0x671217(0x38e)](_0x7d7395['toDisposable'](this[_0x671217(0x264)][_0x671217(0x2ef)](()=>{_0x228a9f();})));}[_0x4f4524(0x200)](){const _0x383141=_0x4f4524;var _0x6307f5,_0x1a580f;if(this['_online']=!0x0,((_0x6307f5=this['_univerInstanceService'][_0x383141(0x2bc)]())==null?void 0x0:_0x6307f5[_0x383141(0x36d)]())!==this['unitID'])return;const _0x5c2766=(_0x1a580f=this[_0x383141(0x40b)][_0x383141(0x455)](_0x578427[_0x383141(0x3a3)])[_0x383141(0x246)]())==null?void 0x0:_0x1a580f[0x0],_0x4fc171=this['_univerInstanceService'][_0x383141(0x267)](_0x7d7395[_0x383141(0x342)][_0x383141(0x295)])[_0x383141(0x338)]();_0x5c2766&&_0x4fc171&&this[_0x383141(0x2a1)](_0x4fc171[_0x383141(0x39d)](),_0x5c2766);}[_0x4f4524(0x210)](){const _0x3d8ca4=_0x4f4524;this[_0x3d8ca4(0x278)]=!0x1;}};_0xae350f=_0x36f9cb([_0x43b4db(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x43b4db(0x3,_0x7d7395['Inject'](_0x1cb796)),_0x43b4db(0x4,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x434)])),_0x43b4db(0x5,_0x7d7395[_0x4f4524(0x2ea)]),_0x43b4db(0x6,_0x7d7395[_0x4f4524(0x226)]),_0x43b4db(0x7,_0x7d7395[_0x4f4524(0x40d)](_0x578427[_0x4f4524(0x3e2)]))],_0xae350f);var _0x19fd08=Object[_0x4f4524(0x44d)],_0xef3e13=(_0x2031a3,_0xd41242,_0x10b7e4,_0x213ec1)=>{const _0x208c69=_0x4f4524;for(var _0x1382ee=_0x213ec1>0x1?void 0x0:_0x213ec1?_0x19fd08(_0xd41242,_0x10b7e4):_0xd41242,_0x3621bd=_0x2031a3[_0x208c69(0x332)]-0x1,_0x37f6cf;_0x3621bd>=0x0;_0x3621bd--)(_0x37f6cf=_0x2031a3[_0x3621bd])&&(_0x1382ee=_0x37f6cf(_0x1382ee)||_0x1382ee);return _0x1382ee;},_0x1e1752=(_0x4dd05e,_0xb30d4f)=>(_0x5c41de,_0x4c3dbf)=>_0xb30d4f(_0x5c41de,_0x4c3dbf,_0x4dd05e);let _0x42f641=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x556858,_0xfb0e60,_0x24cc98){const _0x83e354=_0x4f4524;super(),_0x4535fa(this,'_entities',new Map()),_0x4535fa(this,_0x83e354(0x23c),new _0x24af31[(_0x83e354(0x37a))]()),(this[_0x83e354(0x236)]=_0x556858,this[_0x83e354(0x40b)]=_0xfb0e60,this[_0x83e354(0x284)]=_0x24cc98,this[_0x83e354(0x1e4)]());}[_0x4f4524(0x347)](){const _0x5c99a5=_0x4f4524;super[_0x5c99a5(0x347)](),this[_0x5c99a5(0x23c)][_0x5c99a5(0x27d)](),this[_0x5c99a5(0x3d7)][_0x5c99a5(0x23f)](_0x38e1a5=>_0x38e1a5['dispose']());}['getCollabCursors$'](_0x580205){const _0x18f29b=_0x4f4524;return this[_0x18f29b(0x3d7)]['has'](_0x580205)?this[_0x18f29b(0x3d7)][_0x18f29b(0x455)](_0x580205)[_0x18f29b(0x330)]:this[_0x18f29b(0x23c)][_0x18f29b(0x475)](_0x24af31[_0x18f29b(0x2b3)](_0x23d82f=>_0x23d82f['unitID']===_0x580205),_0x24af31[_0x18f29b(0x2ab)](_0xd12715=>_0xd12715[_0x18f29b(0x330)]));}[_0x4f4524(0x1e4)](){const _0x419c13=_0x4f4524;this[_0x419c13(0x236)][_0x419c13(0x365)](_0x7d7395[_0x419c13(0x342)][_0x419c13(0x295)])[_0x419c13(0x475)](_0x24af31[_0x419c13(0x41d)](this['dispose$']))[_0x419c13(0x2ef)](async _0x2895a8=>{const _0x8c472=_0x419c13,_0x3ba22d=_0x2895a8[_0x8c472(0x36d)](),_0x303976=await this[_0x8c472(0x2ff)](_0x3ba22d);this[_0x8c472(0x23c)][_0x8c472(0x1e8)](_0x303976),this['_entities'][_0x8c472(0x32e)](_0x3ba22d,_0x303976);}),this[_0x419c13(0x236)][_0x419c13(0x365)](_0x7d7395[_0x419c13(0x342)]['UNIVER_DOC'])['pipe'](_0x24af31[_0x419c13(0x41d)](this[_0x419c13(0x3b9)]))['pipe'](_0x24af31[_0x419c13(0x2b3)](_0x27d71b=>!_0x27d71b[_0x419c13(0x36d)]()[_0x419c13(0x42b)]('__')))['subscribe'](async _0x98700c=>{const _0x3f3fc6=_0x419c13,_0x315be4=_0x98700c['getUnitId'](),_0x3b85e3=await this[_0x3f3fc6(0x3e6)](_0x315be4);this[_0x3f3fc6(0x23c)][_0x3f3fc6(0x1e8)](_0x3b85e3),this[_0x3f3fc6(0x3d7)]['set'](_0x315be4,_0x3b85e3);}),_0x24af31['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7d7395['UniverInstanceType'][_0x419c13(0x38b)]),this['_univerInstanceService'][_0x419c13(0x3a9)](_0x7d7395[_0x419c13(0x342)][_0x419c13(0x295)]))[_0x419c13(0x475)](_0x24af31[_0x419c13(0x41d)](this[_0x419c13(0x3b9)]))[_0x419c13(0x2ef)](_0x527114=>{const _0x4badf7=_0x419c13,_0x2fdaad=_0x527114[_0x4badf7(0x36d)](),_0x2849f7=this[_0x4badf7(0x3d7)]['get'](_0x2fdaad);_0x2849f7&&(_0x2849f7[_0x4badf7(0x347)](),this['_entities']['delete'](_0x2fdaad));});}async['_startSheetCollabCursor'](_0x1d05fe){const _0xebc66=_0x4f4524,_0xb8f855=await this[_0xebc66(0x284)]['requireSession'](_0x1d05fe),_0x34c605=this[_0xebc66(0x40b)][_0xebc66(0x2fe)](_0xae350f,_0x1d05fe,_0xb8f855);return _0x34c605[_0xebc66(0x34c)](),_0x34c605;}async[_0x4f4524(0x3e6)](_0x1dc68d){const _0x398911=_0x4f4524,_0x1f5d9c=await this[_0x398911(0x284)][_0x398911(0x343)](_0x1dc68d),_0x19d4a1=this['_injector'][_0x398911(0x2fe)](_0x53c664,_0x1dc68d,_0x1f5d9c);return _0x19d4a1[_0x398911(0x34c)](),_0x19d4a1;}};_0x42f641=_0xef3e13([_0x1e1752(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x1e1752(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x1e1752(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x473)]))],_0x42f641);const _0x7d455f=0x14,_0x27549c=0xc8,_0x2d479f=0x4,_0x27f15d=0x5;function _0x4eaec5(_0x28dfd7,_0x17c71b){const _0x4de0b4=_0x4f4524;let {radius:_0x4498ae,width:_0x5ddcdc,height:_0x10a03b}=_0x17c71b;_0x4498ae=_0x4498ae!=null?_0x4498ae:0x0,_0x5ddcdc=_0x5ddcdc!=null?_0x5ddcdc:0x1e,_0x10a03b=_0x10a03b!=null?_0x10a03b:0x1e;let _0x51e8e9=0x0,_0x447a70=0x0,_0x52408d=0x0;_0x51e8e9=_0x447a70=_0x52408d=Math['min'](_0x4498ae,_0x5ddcdc/0x2,_0x10a03b/0x2),_0x28dfd7[_0x4de0b4(0x249)](),_0x28dfd7[_0x4de0b4(0x420)](_0x51e8e9,0x0),_0x28dfd7[_0x4de0b4(0x396)](_0x5ddcdc-_0x447a70,0x0),_0x28dfd7[_0x4de0b4(0x44e)](_0x5ddcdc-_0x447a70,_0x447a70,_0x447a70,Math['PI']*0x3/0x2,0x0,!0x1),_0x28dfd7[_0x4de0b4(0x396)](_0x5ddcdc,_0x10a03b-_0x52408d),_0x28dfd7[_0x4de0b4(0x44e)](_0x5ddcdc-_0x52408d,_0x10a03b-_0x52408d,_0x52408d,0x0,Math['PI']/0x2,!0x1),_0x28dfd7[_0x4de0b4(0x396)](0x0,_0x10a03b),_0x28dfd7[_0x4de0b4(0x396)](0x0,_0x51e8e9),_0x28dfd7[_0x4de0b4(0x44e)](_0x51e8e9,_0x51e8e9,_0x51e8e9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28dfd7[_0x4de0b4(0x28a)](),_0x17c71b[_0x4de0b4(0x1f0)]&&(_0x28dfd7['save'](),_0x28dfd7['fillStyle']=_0x17c71b['fill'],_0x17c71b['fillRule']==='evenodd'?_0x28dfd7[_0x4de0b4(0x1f0)]('evenodd'):_0x28dfd7[_0x4de0b4(0x1f0)](),_0x28dfd7[_0x4de0b4(0x25e)]());}class _0x2e02ff extends _0x1335eb[_0x4f4524(0x27f)]{constructor(_0x231ae3,_0x252a00){const _0x504dd3=_0x4f4524;super(_0x231ae3,_0x252a00),_0x4535fa(this,_0x504dd3(0x25d)),_0x4535fa(this,'text'),(this[_0x504dd3(0x25d)]=_0x252a00==null?void 0x0:_0x252a00[_0x504dd3(0x25d)],this[_0x504dd3(0x29e)]=_0x252a00==null?void 0x0:_0x252a00['text']);}static['drawWith'](_0x2d1d6e,_0x13e943){const _0x23dc23=_0x4f4524,{text:_0x1725a6,color:_0x13a720}=_0x13e943;_0x2d1d6e[_0x23dc23(0x2d9)](),_0x2d1d6e[_0x23dc23(0x3fe)]=_0x23dc23(0x32a);const _0x1778f0=_0x2d1d6e[_0x23dc23(0x3a8)](_0x1725a6)['width'],_0x48dc36=Math[_0x23dc23(0x386)](_0x1778f0+0x2*_0x2d479f,_0x27549c);_0x4eaec5(_0x2d1d6e,{'height':_0x7d455f,'radius':0x4,'width':_0x48dc36,'fill':_0x13a720}),_0x2d1d6e[_0x23dc23(0x269)]=_0x23dc23(0x2d3);const _0x4a7c7d=_0x2d479f,_0x615bd3=_0x7d455f-_0x27f15d,_0x418b68=_0x27549c-0x2*_0x2d479f;if(_0x1778f0>_0x418b68){let _0x38f2f6='',_0x454f70=0x0;for(const _0x20f66f of _0x1725a6){const _0x338486=_0x2d1d6e[_0x23dc23(0x3a8)](_0x20f66f)[_0x23dc23(0x308)];if(_0x454f70+_0x338486<=_0x418b68-_0x2d1d6e[_0x23dc23(0x3a8)](_0x23dc23(0x2b6))[_0x23dc23(0x308)])_0x38f2f6+=_0x20f66f,_0x454f70+=_0x338486;else{_0x38f2f6+=_0x23dc23(0x2b6);break;}}_0x2d1d6e['fillText'](_0x38f2f6,_0x4a7c7d,_0x615bd3);}else _0x2d1d6e[_0x23dc23(0x25b)](_0x1725a6,_0x4a7c7d,_0x615bd3);_0x2d1d6e[_0x23dc23(0x25e)]();}[_0x4f4524(0x405)](_0xee85ff){const _0xacc68d=_0x4f4524;_0x2e02ff[_0xacc68d(0x336)](_0xee85ff,this);}}const _0x246a8=_0x4f4524(0x21e),_0x4a1fd3='collab-text-range-',_0x290c41=_0x4f4524(0x3c5),_0x23177a=0x6,_0x536e01=1.5,_0x37f5a9=0x4,_0x2342b4=1.5,_0x4aa7c5=_0x4f4524(0x435);class _0x565c2c{constructor(_0x3c1e4b,_0xf3206c,_0x15a0f5,_0x18b7b4){const _0x51636c=_0x4f4524;_0x4535fa(this,_0x51636c(0x2a0),[]),_0x4535fa(this,_0x51636c(0x352),null),_0x4535fa(this,_0x51636c(0x2af),null),_0x4535fa(this,_0x51636c(0x272),null),_0x4535fa(this,'_hideTimer',null),_0x4535fa(this,_0x51636c(0x251),null),(this[_0x51636c(0x21f)]=_0x3c1e4b,this[_0x51636c(0x2c4)]=_0xf3206c,this[_0x51636c(0x302)]=_0x15a0f5,this[_0x51636c(0x437)]=_0x18b7b4,this[_0x51636c(0x372)]());}set['_hover'](_0x3a7ee9){const _0x16d517=_0x4f4524;_0x3a7ee9?(this[_0x16d517(0x272)]&&this[_0x16d517(0x272)]['hide'](),this[_0x16d517(0x2af)]&&this[_0x16d517(0x2af)][_0x16d517(0x3fd)]()):(this[_0x16d517(0x272)]&&this[_0x16d517(0x272)][_0x16d517(0x3fd)](),this[_0x16d517(0x2af)]&&this['_textBubble'][_0x16d517(0x454)]());}['dispose'](){const _0x3ab693=_0x4f4524;for(const _0x50d025 of this['_shapes'])_0x50d025[_0x3ab693(0x347)]();this['_textBubble']&&this['_textBubble'][_0x3ab693(0x347)](),this[_0x3ab693(0x272)]&&this['_anchorDot'][_0x3ab693(0x347)](),this[_0x3ab693(0x352)]&&this[_0x3ab693(0x352)][_0x3ab693(0x347)](),this[_0x3ab693(0x251)]&&this[_0x3ab693(0x251)]();}[_0x4f4524(0x372)](){const _0x284c92=_0x4f4524;var _0x5d36c2;const {_docSkeleton:_0x3a6202,_document:_0x1048c7}=this,{color:_0x515300,name:_0x271458,ranges:_0x28c92a}=this['_cursor'],_0x8450cf=_0x1048c7['getOffsetConfig'](),{docsLeft:_0x506f95,docsTop:_0x44cfa2}=_0x8450cf,_0x5bbc71=new _0x5eb1d8['NodePositionConvertToCursor'](_0x8450cf,_0x3a6202);for(const {startOffset:_0x240d88,endOffset:_0x5a57f5,rangeType:_0x1a4df5,segmentId:_0x51429b,segmentPage:_0x515271,collapsed:_0x4faa56,isActive:_0x2bac24}of _0x28c92a){const _0x34217f=_0x3a6202[_0x284c92(0x230)](_0x240d88,!0x0,_0x51429b,_0x515271);let _0xc4cab5=_0x3a6202[_0x284c92(0x230)](_0x5a57f5,!0x0,_0x51429b,_0x515271);if(_0xc4cab5==null&&(_0xc4cab5=_0x3a6202[_0x284c92(0x230)](_0x5a57f5-0x1,!0x1,_0x51429b,_0x515271)),_0x2bac24){const {contentBoxPointGroup:_0x507d39}=_0x5bbc71[_0x284c92(0x315)](_0xc4cab5,_0xc4cab5);if(_0x507d39[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x2ca)](_0x515300,_0x507d39,_0x506f95,_0x44cfa2,_0x271458),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x34217f&&_0xc4cab5){if(_0x1a4df5===_0x7d7395[_0x284c92(0x449)]['RECT']){const _0x38d520=new _0x5eb1d8[(_0x284c92(0x3af))](_0x8450cf,_0x3a6202),{pointGroup:_0x341e16}=(_0x5d36c2=_0x38d520[_0x284c92(0x315)](_0x34217f,_0xc4cab5))!=null?_0x5d36c2:{};if(_0x341e16==null||_0x341e16[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x46e)](_0x515300,_0x341e16,_0x506f95,_0x44cfa2);}else{if(!_0x4faa56){const {borderBoxPointGroup:_0x499727}=_0x5bbc71[_0x284c92(0x315)](_0x34217f,_0xc4cab5);if(_0x499727[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x209)](_0x515300,_0x499727,_0x506f95,_0x44cfa2);}}}}}[_0x4f4524(0x2ca)](_0x56787c,_0x151c4c,_0x12dc5a,_0x4498d7,_0x53a0fb){const _0x5ce671=_0x4f4524,_0x17afb3=this[_0x5ce671(0x20e)](_0x151c4c),{left:_0x2df158,top:_0x4153b0,height:_0x30f502}=_0x17afb3,_0x14eed5=this[_0x5ce671(0x3d5)](),_0x529330=_0x2342b4/_0x14eed5,_0x29f568=new _0x1335eb[(_0x5ce671(0x3ba))](_0x246a8+_0x7d7395['Tools'][_0x5ce671(0x462)](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7,'height':_0x30f502,'width':_0x536e01,'fill':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395['COLORS'][_0x5ce671(0x254)],0x0),'strokeWidth':_0x529330,'stroke':_0x4aa7c5,'evented':!0x0});this['_anchor']=_0x29f568,this['_scene']['addObject'](_0x29f568,_0x5eb1d8[_0x5ce671(0x34b)]);const _0x57cf21=new _0x1335eb[(_0x5ce671(0x3ba))](_0x246a8+_0x7d7395[_0x5ce671(0x202)][_0x5ce671(0x462)](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7-_0x37f5a9/0x2,'height':_0x37f5a9,'width':_0x37f5a9,'fill':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395[_0x5ce671(0x3de)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395['COLORS'][_0x5ce671(0x254)],0x0),'evented':!0x1});this[_0x5ce671(0x272)]=_0x57cf21,this['_scene'][_0x5ce671(0x238)](_0x57cf21,_0x5eb1d8[_0x5ce671(0x34b)]);const _0x579b64=new _0x2e02ff(_0x246a8+_0x7d7395['Tools']['generateRandomId'](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7-_0x7d455f,'text':_0x53a0fb,'color':_0x56787c});this[_0x5ce671(0x2af)]=_0x579b64,this[_0x5ce671(0x2c4)][_0x5ce671(0x238)](_0x579b64,_0x5eb1d8['TEXT_RANGE_LAYER_INDEX']),this[_0x5ce671(0x2c9)]=!0x1;}['_handleHover'](){const _0x50cb95=_0x4f4524,_0x313e68=this[_0x50cb95(0x352)][_0x50cb95(0x2a4)][_0x50cb95(0x3dd)](()=>{const _0x3bd3cd=_0x50cb95;this[_0x3bd3cd(0x2c9)]=!0x0;}),_0xad2020=this[_0x50cb95(0x352)]['onPointerLeave$'][_0x50cb95(0x3dd)](()=>{const _0x5e3b6c=_0x50cb95;this[_0x5e3b6c(0x2d7)]&&clearTimeout(this[_0x5e3b6c(0x2d7)]),this[_0x5e3b6c(0x2d7)]=setTimeout(()=>{const _0x5ece97=_0x5e3b6c;this[_0x5ece97(0x2c9)]=!0x1;},0x7d0);});return()=>{const _0x6f23b=_0x50cb95;_0x313e68[_0x6f23b(0x2b7)](),_0xad2020[_0x6f23b(0x2b7)]();};}[_0x4f4524(0x209)](_0x3e3ccc,_0x523f5f,_0x5469cc,_0xcb6976){const _0x3a214a=_0x4f4524,_0x2b3423=new _0x7d7395['ColorKit'](_0x3e3ccc)[_0x3a214a(0x20d)](0.2)[_0x3a214a(0x2ae)](),_0xe47e93=new _0x1335eb[(_0x3a214a(0x385))](_0x4a1fd3+_0x7d7395[_0x3a214a(0x202)][_0x3a214a(0x462)](_0x23177a),{'pointsGroup':_0x523f5f,'fill':_0x2b3423||_0x1335eb[_0x3a214a(0x3f0)](_0x7d7395[_0x3a214a(0x3de)][_0x3a214a(0x254)],0.2),'left':_0x5469cc,'top':_0xcb6976,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3a214a(0x250)](_0xe47e93),this[_0x3a214a(0x2c4)][_0x3a214a(0x238)](_0xe47e93,_0x5eb1d8[_0x3a214a(0x34b)]);}[_0x4f4524(0x46e)](_0x3e4cf8,_0x2d25d5,_0x1d4818,_0x4d9bf7){const _0x553c4c=_0x4f4524,_0x185a2f=new _0x7d7395[(_0x553c4c(0x37e))](_0x3e4cf8)[_0x553c4c(0x20d)](0.2)[_0x553c4c(0x2ae)](),_0x288c20=new _0x1335eb[(_0x553c4c(0x385))](_0x290c41+_0x7d7395['Tools'][_0x553c4c(0x462)](_0x23177a),{'pointsGroup':_0x2d25d5,'fill':_0x185a2f||_0x1335eb[_0x553c4c(0x3f0)](_0x7d7395[_0x553c4c(0x3de)][_0x553c4c(0x254)],0.2),'left':_0x1d4818,'top':_0x4d9bf7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x553c4c(0x2a0)][_0x553c4c(0x250)](_0x288c20),this['_scene']['addObject'](_0x288c20,_0x5eb1d8[_0x553c4c(0x34b)]);}[_0x4f4524(0x20e)](_0x435b79){const _0x1fea0b=_0x435b79[0x0],_0x46aad3=_0x1fea0b[0x0],_0x56e9ee=_0x1fea0b[0x2],{x:_0x30bc8a,y:_0x5ace12}=_0x46aad3,{x:_0x5c4088,y:_0x32a0a3}=_0x56e9ee;return{'left':_0x30bc8a,'top':_0x5ace12,'width':_0x5c4088-_0x30bc8a,'height':_0x32a0a3-_0x5ace12};}[_0x4f4524(0x3d5)](){const _0x73f1ff=_0x4f4524,{scaleX:_0x521a2c,scaleY:_0x4509f8}=this['_scene']['getAncestorScale']();return Math[_0x73f1ff(0x46f)](_0x521a2c,_0x4509f8);}}var _0x3f50d8=Object['getOwnPropertyDescriptor'],_0x447dfc=(_0x2613e0,_0x4f5901,_0x5cd415,_0x59a60c)=>{const _0x4c4fce=_0x4f4524;for(var _0x31213d=_0x59a60c>0x1?void 0x0:_0x59a60c?_0x3f50d8(_0x4f5901,_0x5cd415):_0x4f5901,_0x284003=_0x2613e0[_0x4c4fce(0x332)]-0x1,_0x39cc00;_0x284003>=0x0;_0x284003--)(_0x39cc00=_0x2613e0[_0x284003])&&(_0x31213d=_0x39cc00(_0x31213d)||_0x31213d);return _0x31213d;},_0x256999=(_0x513d4a,_0x1cc39d)=>(_0x589fff,_0x1605ad)=>_0x1cc39d(_0x589fff,_0x1605ad,_0x513d4a);let _0xcd79ae=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x12d35e,_0x496818,_0x328f9a,_0x292d54,_0x4eb634){const _0x2dfeda=_0x4f4524;super(),_0x4535fa(this,_0x2dfeda(0x425),[]),_0x4535fa(this,_0x2dfeda(0x292),[]),(this[_0x2dfeda(0x364)]=_0x12d35e,this[_0x2dfeda(0x1f6)]=_0x496818,this[_0x2dfeda(0x2d6)]=_0x328f9a,this['_commandService']=_0x292d54,this[_0x2dfeda(0x326)]=_0x4eb634,this[_0x2dfeda(0x1e4)]());}[_0x4f4524(0x1e4)](){const _0x20d043=_0x4f4524,_0x54e520=this['_context']['unitId'],_0x3b4860=this[_0x20d043(0x1f6)];this[_0x20d043(0x38e)](_0x24af31[_0x20d043(0x465)]([this[_0x20d043(0x2d6)]['getCollabCursors$'](_0x54e520),this[_0x20d043(0x326)]['currentTheme$']])[_0x20d043(0x475)](_0x22fa0e[_0x20d043(0x3c7)](([_0x33bbeb,_0x24fa11])=>({'skeleton':_0x3b4860[_0x20d043(0x286)](),'cursors':[..._0x33bbeb['values']()][_0x20d043(0x37b)](_0x32f0fb=>({..._0x32f0fb,'color':_0x24fa11[_0x32f0fb[_0x20d043(0x25d)]]}))})))[_0x20d043(0x2ef)](_0x2a8d46=>{const _0x4d5840=_0x20d043;if(this[_0x4d5840(0x20a)](),_0x2a8d46){const {skeleton:_0x20d09a,cursors:_0x39ebfa}=_0x2a8d46;this[_0x4d5840(0x35b)](_0x20d09a,_0x39ebfa);}})),this[_0x20d043(0x424)](),this[_0x20d043(0x42e)]();}[_0x4f4524(0x35b)](_0x36ee29,_0x594c31){const _0x4d2cbc=_0x4f4524,{scene:_0x3b72fc,mainComponent:_0x395107}=this['_context'],_0x5a1f7e=_0x594c31['map'](_0x2bb9ef=>new _0x565c2c(_0x2bb9ef,_0x3b72fc,_0x36ee29,_0x395107));this[_0x4d2cbc(0x425)]=_0x5a1f7e,this[_0x4d2cbc(0x292)]=_0x594c31;}[_0x4f4524(0x38d)](){const _0x2f8aa0=_0x4f4524;this['_removeCollabCursors']();const {scene:_0x4a2768,mainComponent:_0xe41d9b}=this[_0x2f8aa0(0x364)],_0x473cb4=this[_0x2f8aa0(0x1f6)][_0x2f8aa0(0x286)](),_0x48e13d=this[_0x2f8aa0(0x292)]['map'](_0x400ff4=>new _0x565c2c(_0x400ff4,_0x4a2768,_0x473cb4,_0xe41d9b));this[_0x2f8aa0(0x425)]=_0x48e13d;}[_0x4f4524(0x20a)](){const _0x225907=_0x4f4524;this[_0x225907(0x425)][_0x225907(0x23f)](_0x5143bf=>_0x5143bf[_0x225907(0x347)]()),this[_0x225907(0x425)]=[];}[_0x4f4524(0x42e)](){const _0x328056=_0x4f4524,_0xd19c1f=[_0x5eb1d8[_0x328056(0x260)]['id']];this[_0x328056(0x38e)](this[_0x328056(0x2e6)][_0x328056(0x3df)](_0xe87d4a=>{const _0x4c6ab6=_0x328056;_0xd19c1f['includes'](_0xe87d4a['id'])&&_0xe87d4a[_0x4c6ab6(0x222)]['unitId']===this[_0x4c6ab6(0x364)][_0x4c6ab6(0x410)]&&this[_0x4c6ab6(0x38d)]();}));}['_initResize'](){const _0x24a8f4=_0x4f4524;this[_0x24a8f4(0x38e)](_0x7d7395[_0x24a8f4(0x2db)](this[_0x24a8f4(0x364)]['engine'][_0x24a8f4(0x287)])[_0x24a8f4(0x475)](_0x22fa0e['filter'](_0x14c461=>_0x14c461['type']===_0x1335eb['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x24a8f4(0x36b)]),_0x22fa0e['throttleTime'](0x10))[_0x24a8f4(0x2ef)](()=>{const _0x429373=_0x24a8f4;this[_0x429373(0x38d)]();}));}};_0xcd79ae=_0x447dfc([_0x256999(0x1,_0x7d7395['Inject'](_0x1525c3['DocSkeletonManagerService'])),_0x256999(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x42f641)),_0x256999(0x3,_0x7d7395[_0x4f4524(0x226)]),_0x256999(0x4,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x2bf)]))],_0xcd79ae);const _0x3ea5c6=0x1,_0x4ecd80=1.5;class _0x5cd145 extends _0x1335eb[_0x4f4524(0x27f)]{constructor(_0x40e1d0,_0x32b193){const _0xb44b29=_0x4f4524;super(_0x40e1d0,_0x32b193),_0x4535fa(this,_0xb44b29(0x26f)),_0x4535fa(this,'_hovered',!0x1),_0x4535fa(this,_0xb44b29(0x23e)),_0x4535fa(this,_0xb44b29(0x2f9),''),_0x4535fa(this,'_labelPosition',_0xb44b29(0x346)),_0x4535fa(this,_0xb44b29(0x2f7)),(_0x32b193&&this[_0xb44b29(0x2b5)](_0x32b193),this[_0xb44b29(0x2a4)][_0xb44b29(0x3dd)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0xb44b29(0x363)][_0xb44b29(0x3dd)](()=>this[_0xb44b29(0x2b5)]({'hovered':!0x1})));}[_0x4f4524(0x2b5)](_0x4b0dd4){const _0xb3bc84=_0x4f4524;var _0x27dc30,_0xdedaeb,_0x40f4bf,_0x5239a7,_0x5a19b8,_0x53a6a8;this['_color']=(_0x27dc30=_0x4b0dd4[_0xb3bc84(0x25d)])!=null?_0x27dc30:this[_0xb3bc84(0x26f)],this[_0xb3bc84(0x266)]=(_0xdedaeb=_0x4b0dd4[_0xb3bc84(0x261)])!=null?_0xdedaeb:this['_hovered'],this[_0xb3bc84(0x23e)]=(_0x40f4bf=_0x4b0dd4['range'])!=null?_0x40f4bf:this['_range'],this[_0xb3bc84(0x2f9)]=(_0x5239a7=_0x4b0dd4['name'])!=null?_0x5239a7:this[_0xb3bc84(0x2f9)],this[_0xb3bc84(0x34e)]=(_0x5a19b8=_0x4b0dd4[_0xb3bc84(0x298)])!=null?_0x5a19b8:this[_0xb3bc84(0x34e)],this[_0xb3bc84(0x2f7)]=(_0x53a6a8=_0x4b0dd4[_0xb3bc84(0x3d1)])!=null?_0x53a6a8:this['_backgroundColor'],this['transformByState']({'width':_0x4b0dd4[_0xb3bc84(0x308)],'height':_0x4b0dd4[_0xb3bc84(0x28b)]});}[_0x4f4524(0x2f8)](_0x3d8ae6){const _0x38fa31=_0x4f4524,{row:_0x484894,column:_0x113748}=_0x3d8ae6;if(_0x484894>=this[_0x38fa31(0x23e)][_0x38fa31(0x241)]&&_0x484894<=this['_range'][_0x38fa31(0x220)]&&_0x113748>=this['_range']['startColumn']&&_0x113748<=this[_0x38fa31(0x23e)][_0x38fa31(0x3e1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x38fa31(0x2b5)]({'hovered':!0x1});}['triggerDblclick'](_0xfde98a){return!0x1;}[_0x4f4524(0x405)](_0x5e25c9){const _0x506949=_0x4f4524;_0x1335eb[_0x506949(0x3ba)]['drawWith'](_0x5e25c9,{'width':this['width'],'height':this['height'],'strokeWidth':_0x4ecd80,'stroke':this[_0x506949(0x26f)],'evented':!0x1,'fill':this[_0x506949(0x2f7)]}),this[_0x506949(0x266)]&&(_0x5e25c9['save'](),_0x5e25c9['transform'](0x1,0x0,0x0,0x1,this[_0x506949(0x308)],this[_0x506949(0x34e)]===_0x506949(0x215)?0x0:-0x14),_0x2e02ff[_0x506949(0x336)](_0x5e25c9,{'text':this[_0x506949(0x2f9)],'color':this[_0x506949(0x26f)]}),_0x5e25c9[_0x506949(0x25e)]());}}var _0x330d05=Object[_0x4f4524(0x44d)],_0x4eb626=(_0x555d32,_0xa8aca5,_0x2bf500,_0x5275c2)=>{const _0x2c6cf7=_0x4f4524;for(var _0x491e5b=_0x5275c2>0x1?void 0x0:_0x5275c2?_0x330d05(_0xa8aca5,_0x2bf500):_0xa8aca5,_0x1f645d=_0x555d32[_0x2c6cf7(0x332)]-0x1,_0x5d5df1;_0x1f645d>=0x0;_0x1f645d--)(_0x5d5df1=_0x555d32[_0x1f645d])&&(_0x491e5b=_0x5d5df1(_0x491e5b)||_0x491e5b);return _0x491e5b;},_0x2b19f0=(_0xd3f6c,_0x4541de)=>(_0x32c7a0,_0x12728e)=>_0x4541de(_0x32c7a0,_0x12728e,_0xd3f6c);const _0x21db89=0x1389;let _0x46a2ee=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x5de95b,_0x569184,_0x4745f5,_0x48300d){const _0x249e98=_0x4f4524;super(),_0x4535fa(this,_0x249e98(0x292),new Set()),_0x4535fa(this,_0x249e98(0x304),null),(this[_0x249e98(0x364)]=_0x5de95b,this[_0x249e98(0x255)]=_0x569184,this[_0x249e98(0x2d6)]=_0x4745f5,this[_0x249e98(0x326)]=_0x48300d,this[_0x249e98(0x1e4)]());}[_0x4f4524(0x1e4)](){const _0x521790=_0x4f4524;this[_0x521790(0x255)]['currentSkeleton$'][_0x521790(0x475)](_0x22fa0e['takeUntil'](this[_0x521790(0x3b9)]),_0x22fa0e[_0x521790(0x2ab)](_0x1187bf=>{const _0xb788cb=_0x521790;if(_0x1187bf){const _0x5d0356=_0x1187bf['sheetId'];return _0x24af31[_0xb788cb(0x465)](this[_0xb788cb(0x2d6)]['getCollabCursors$'](this[_0xb788cb(0x364)][_0xb788cb(0x410)]),this[_0xb788cb(0x326)][_0xb788cb(0x318)])[_0xb788cb(0x475)](_0x22fa0e[_0xb788cb(0x3c7)](([_0x2ae089,_0x12ad53])=>{const _0x62a803=_0xb788cb,_0x49c0e1=new Map();return _0x2ae089[_0x62a803(0x23f)]((_0x42ab14,_0x3ce94b)=>{const _0x330c4c=_0x62a803;if(_0x42ab14[_0x330c4c(0x355)]===_0x5d0356){const _0x5bd62f={..._0x42ab14};_0x5bd62f[_0x330c4c(0x25d)]=_0x12ad53[_0x42ab14['color']],_0x49c0e1['set'](_0x3ce94b,_0x5bd62f);}}),{'skeleton':_0x1187bf,'cursors':_0x49c0e1};}));}return _0x24af31['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x45b44e,cursors:_0xef7c07})=>{const _0x3c3fb8=_0x521790;this[_0x3c3fb8(0x20a)](),_0x45b44e&&this[_0x3c3fb8(0x35b)](_0x45b44e,_0xef7c07);}),this[_0x521790(0x255)]['currentSkeleton$']['subscribe'](_0x4b751e=>{const _0x5c4226=_0x521790;if(_0x4b751e==null)return;const {skeleton:_0x22e894}=_0x4b751e,{scene:_0x2a5853}=this[_0x5c4226(0x364)];_0x2a5853[_0x5c4226(0x206)][_0x5c4226(0x3dd)](_0x7d7395[_0x5c4226(0x40e)](_0x3f4581=>{const _0x4118d1=_0x5c4226;var _0x454029,_0x3c1a28;const {offsetX:_0x1b41d5,offsetY:_0x3b466a}=_0x3f4581,{x:_0x48deae,y:_0x12a75c}=_0x2a5853[_0x4118d1(0x3e7)](_0x1335eb['Vector2']['FromArray']([_0x1b41d5,_0x3b466a])),{scaleX:_0x13402b,scaleY:_0x44ac0e}=_0x2a5853['getAncestorScale'](),_0x5d5b50=_0x2a5853[_0x4118d1(0x214)](_0x1335eb[_0x4118d1(0x41a)][_0x4118d1(0x2c7)]),_0x2cae06=_0x2a5853[_0x4118d1(0x453)](_0x1335eb[_0x4118d1(0x3f2)][_0x4118d1(0x441)]([_0x48deae,_0x12a75c]),_0x5d5b50),_0x525c1e=_0x22e894['getCellPositionByOffset'](_0x1b41d5,_0x3b466a,_0x13402b,_0x44ac0e,_0x2cae06);((_0x454029=this[_0x4118d1(0x304)])==null?void 0x0:_0x454029[_0x4118d1(0x46d)])===_0x525c1e[_0x4118d1(0x46d)]&&((_0x3c1a28=this[_0x4118d1(0x304)])==null?void 0x0:_0x3c1a28['row'])===_0x525c1e[_0x4118d1(0x1f7)]||this[_0x4118d1(0x292)][_0x4118d1(0x23f)](_0x447fca=>{const _0x3a1d85=_0x4118d1;_0x447fca[_0x3a1d85(0x2f8)](_0x525c1e);});},0x64));});}[_0x4f4524(0x35b)](_0x2d6ab9,_0x2e3c03){const _0x243fa0=_0x4f4524;var _0x503a53;const _0x368c8b=(_0x503a53=this[_0x243fa0(0x255)][_0x243fa0(0x1ed)]())==null?void 0x0:_0x503a53['skeleton'];if(!_0x368c8b)return;const _0x25254e=this[_0x243fa0(0x452)]();if(!_0x25254e)return;this[_0x243fa0(0x292)][_0x243fa0(0x23f)](_0x25a725=>{_0x25a725['makeDirty']();});const {scene:_0x5ad609}=_0x25254e,_0x3d9676=_0xb7530a(Array['from'](_0x2e3c03['values']()))[_0x243fa0(0x3c7)](_0x3a7ec8=>{const _0x1560fb=_0x243fa0,{color:_0x1e22cc,range:_0x5636cc,name:_0xd8f248,selection:_0x223409,sheetID:_0x3248d8}=_0x3a7ec8,{startColumn:_0x72b27e,startRow:_0x5bf624,endColumn:_0x17c363,endRow:_0x23901d}=_0x5636cc,_0x571d24=_0x82f1f[_0x1560fb(0x1fb)](_0x5bf624,_0x72b27e,_0x5ad609,_0x368c8b),_0x4ef496=_0x82f1f[_0x1560fb(0x1fb)](_0x23901d,_0x17c363,_0x5ad609,_0x368c8b),{columnHeaderHeightAndMarginTop:_0xac444c}=_0x368c8b,{startX:_0x328bcb,startY:_0x75b880}=_0x571d24,{endX:_0x950c4a,endY:_0x304493}=_0x4ef496,_0xa34058=_0x950c4a-_0x328bcb,_0x9ffe84=_0x304493-_0x75b880,_0x27bb3d={'labelPosition':_0x75b880-_0xac444c>=_0x7d455f?'top':'bottom','sheetID':_0x3248d8,'range':_0x5636cc,'color':_0x1e22cc,'name':_0xd8f248,'selection':_0x223409,'left':_0x328bcb,'top':_0x75b880,'width':_0xa34058,'height':_0x9ffe84,'evented':!0x1,'zIndex':_0x21db89};return new _0x5cd145(_0xd8f248,_0x27bb3d);});_0x5ad609[_0x243fa0(0x400)](_0x3d9676,_0x3ea5c6),this[_0x243fa0(0x292)]=new Set(_0x3d9676);}[_0x4f4524(0x20a)](){const _0x2bab42=_0x4f4524;var _0x40c5a1;(_0x40c5a1=this['_cursors'])==null||_0x40c5a1[_0x2bab42(0x23f)](_0x16e4d5=>_0x16e4d5[_0x2bab42(0x347)]());}[_0x4f4524(0x452)](){const _0x31b458=_0x4f4524;return _0x82f1f[_0x31b458(0x208)](this['_context']['unit'],this[_0x31b458(0x364)]);}};_0x46a2ee=_0x4eb626([_0x2b19f0(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x82f1f[_0x4f4524(0x440)])),_0x2b19f0(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x42f641)),_0x2b19f0(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x2bf)]))],_0x46a2ee);function _0xb7530a(_0x4f76f9){const _0x16a768=_0x4f4524,_0x1ecde7=new Map();return _0x4f76f9['forEach'](_0x5a3132=>{const _0x1328ce=_0x25fd;if(_0x1ecde7[_0x1328ce(0x3d4)](_0x5a3132[_0x1328ce(0x2ec)])){const _0x22377a=_0x1ecde7['get'](_0x5a3132[_0x1328ce(0x2ec)]);_0x22377a['name']+=',\x20'+_0x5a3132['name'];}else _0x1ecde7[_0x1328ce(0x32e)](_0x5a3132['selection'],_0x5a3132);}),Array[_0x16a768(0x3f3)](_0x1ecde7[_0x16a768(0x457)]());}var _0x5137d7=function(){const _0x2a56ae=_0x4f4524;return _0x5137d7=Object[_0x2a56ae(0x27a)]||function(_0x337d1d){const _0x2e6b76=_0x2a56ae;for(var _0x52b476,_0x31a230=0x1,_0x214ed8=arguments[_0x2e6b76(0x332)];_0x31a230<_0x214ed8;_0x31a230++){_0x52b476=arguments[_0x31a230];for(var _0x4f215e in _0x52b476)Object[_0x2e6b76(0x32c)][_0x2e6b76(0x430)][_0x2e6b76(0x240)](_0x52b476,_0x4f215e)&&(_0x337d1d[_0x4f215e]=_0x52b476[_0x4f215e]);}return _0x337d1d;},_0x5137d7['apply'](this,arguments);},_0x28991b=function(_0x1c63ef,_0x1ce757){const _0x5762a1=_0x4f4524;var _0x40d4ae={};for(var _0x3d6742 in _0x1c63ef)Object['prototype'][_0x5762a1(0x430)][_0x5762a1(0x240)](_0x1c63ef,_0x3d6742)&&_0x1ce757['indexOf'](_0x3d6742)<0x0&&(_0x40d4ae[_0x3d6742]=_0x1c63ef[_0x3d6742]);if(_0x1c63ef!=null&&typeof Object[_0x5762a1(0x20f)]==_0x5762a1(0x327)){for(var _0x190c5c=0x0,_0x3d6742=Object[_0x5762a1(0x20f)](_0x1c63ef);_0x190c5c<_0x3d6742[_0x5762a1(0x332)];_0x190c5c++)_0x1ce757[_0x5762a1(0x1e6)](_0x3d6742[_0x190c5c])<0x0&&Object['prototype'][_0x5762a1(0x3ff)][_0x5762a1(0x240)](_0x1c63ef,_0x3d6742[_0x190c5c])&&(_0x40d4ae[_0x3d6742[_0x190c5c]]=_0x1c63ef[_0x3d6742[_0x190c5c]]);}return _0x40d4ae;},_0x20b43a=_0xcaba45['forwardRef'](function(_0x1c4668,_0x3bf744){const _0x5b902d=_0x4f4524;var _0x25c50a=_0x1c4668[_0x5b902d(0x383)],_0x267fcb=_0x1c4668['id'],_0x383b03=_0x1c4668[_0x5b902d(0x26a)],_0x4d1abb=_0x1c4668[_0x5b902d(0x31e)],_0x265f45=_0x28991b(_0x1c4668,[_0x5b902d(0x383),'id',_0x5b902d(0x26a),'extend']),_0x4c7de2='univerjs-icon\x20univerjs-icon-'['concat'](_0x267fcb,'\x20')['concat'](_0x383b03||'')['trim'](),_0x2b9a13=_0xcaba45[_0x5b902d(0x391)]('_'[_0x5b902d(0x450)](_0x26a3e0()));return _0x50a808(_0x25c50a,''[_0x5b902d(0x450)](_0x267fcb),{'defIds':_0x25c50a[_0x5b902d(0x219)],'idSuffix':_0x2b9a13[_0x5b902d(0x39f)]},_0x5137d7({'ref':_0x3bf744,'className':_0x4c7de2},_0x265f45),_0x4d1abb);});function _0x50a808(_0x574e91,_0x2bd38e,_0x48ae75,_0x1299fd,_0x22532c){const _0x44500c=_0x4f4524;return _0xcaba45[_0x44500c(0x1fd)](_0x574e91[_0x44500c(0x29b)],_0x5137d7(_0x5137d7({'key':_0x2bd38e},_0x25fe81(_0x574e91,_0x48ae75,_0x22532c)),_0x1299fd),(_0x1cbc91(_0x574e91,_0x48ae75)['children']||[])[_0x44500c(0x3c7)](function(_0x5c7632,_0xe9f62c){const _0x386acd=_0x44500c;return _0x50a808(_0x5c7632,''[_0x386acd(0x450)](_0x2bd38e,'-')[_0x386acd(0x450)](_0x574e91[_0x386acd(0x29b)],'-')[_0x386acd(0x450)](_0xe9f62c),_0x48ae75,void 0x0,_0x22532c);}));}function _0x25fe81(_0x18ba88,_0x59af2a,_0x54ce48){const _0x1b7e78=_0x4f4524;var _0x5df6ee=_0x5137d7({},_0x18ba88[_0x1b7e78(0x361)]);_0x54ce48!=null&&_0x54ce48[_0x1b7e78(0x244)]&&_0x5df6ee[_0x1b7e78(0x1f0)]===_0x1b7e78(0x244)&&(_0x5df6ee['fill']=_0x54ce48[_0x1b7e78(0x244)]),_0x18ba88[_0x1b7e78(0x29b)]===_0x1b7e78(0x3be)&&_0x5df6ee['id']&&(_0x5df6ee['id']=_0x5df6ee['id']+_0x59af2a[_0x1b7e78(0x3c1)]),Object['entries'](_0x5df6ee)[_0x1b7e78(0x23f)](function(_0x43c17d){const _0xc4f2a7=_0x1b7e78;var _0x3146f5=_0x43c17d[0x0],_0x12b36e=_0x43c17d[0x1];_0x3146f5===_0xc4f2a7(0x3be)&&typeof _0x12b36e==_0xc4f2a7(0x205)&&(_0x5df6ee[_0x3146f5]=_0x12b36e[_0xc4f2a7(0x3e9)](/url\(#(.*)\)/,_0xc4f2a7(0x1f9)['concat'](_0x59af2a[_0xc4f2a7(0x3c1)],')')));});var _0x4773ac=_0x59af2a['defIds'];return!_0x4773ac||_0x4773ac[_0x1b7e78(0x332)]===0x0||(_0x18ba88[_0x1b7e78(0x29b)]===_0x1b7e78(0x293)&&_0x5df6ee['xlink:href']&&(_0x5df6ee['xlink:href']=_0x5df6ee[_0x1b7e78(0x451)]+_0x59af2a[_0x1b7e78(0x3c1)]),Object[_0x1b7e78(0x2a3)](_0x5df6ee)[_0x1b7e78(0x23f)](function(_0xba106f){const _0x1ef773=_0x1b7e78;var _0x351bb0=_0xba106f[0x0],_0x33d50e=_0xba106f[0x1];typeof _0x33d50e=='string'&&(_0x5df6ee[_0x351bb0]=_0x33d50e['replace'](/url\(#(.*)\)/,_0x1ef773(0x1f9)[_0x1ef773(0x450)](_0x59af2a[_0x1ef773(0x3c1)],')')));})),_0x5df6ee;}function _0x1cbc91(_0x461600,_0x4aeef5){const _0x44175f=_0x4f4524;var _0x8252c7,_0x5a1d28=_0x4aeef5[_0x44175f(0x219)];return!_0x5a1d28||_0x5a1d28['length']===0x0?_0x461600:_0x461600[_0x44175f(0x29b)]===_0x44175f(0x282)&&(!((_0x8252c7=_0x461600['children'])===null||_0x8252c7===void 0x0)&&_0x8252c7['length'])?_0x5137d7(_0x5137d7({},_0x461600),{'children':_0x461600[_0x44175f(0x21d)][_0x44175f(0x3c7)](function(_0x1cbb7d){const _0x4830ca=_0x44175f;return typeof _0x1cbb7d['attrs']['id']==_0x4830ca(0x205)&&_0x5a1d28&&_0x5a1d28['indexOf'](_0x1cbb7d[_0x4830ca(0x361)]['id'])>-0x1?_0x5137d7(_0x5137d7({},_0x1cbb7d),{'attrs':_0x5137d7(_0x5137d7({},_0x1cbb7d[_0x4830ca(0x361)]),{'id':_0x1cbb7d[_0x4830ca(0x361)]['id']+_0x4aeef5[_0x4830ca(0x3c1)]})}):_0x1cbb7d;})}):_0x461600;}function _0x26a3e0(){const _0x364225=_0x4f4524;return Math[_0x364225(0x224)]()[_0x364225(0x3dc)](0x24)[_0x364225(0x34a)](0x2,0x8);}_0x20b43a[_0x4f4524(0x3f6)]=_0x4f4524(0x320);var _0x96ec74={'tag':_0x4f4524(0x2e8),'attrs':{'fill':_0x4f4524(0x419),'viewBox':_0x4f4524(0x2d2),'width':_0x4f4524(0x235),'height':_0x4f4524(0x235)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4f4524(0x377),'attrs':{'stroke':_0x4f4524(0x28e),'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':_0x4f4524(0x3b5),'strokeLinejoin':_0x4f4524(0x3b5),'strokeWidth':1.2}}]},{'tag':_0x4f4524(0x282),'attrs':{},'children':[{'tag':_0x4f4524(0x381),'attrs':{'id':_0x4f4524(0x412)},'children':[{'tag':_0x4f4524(0x377),'attrs':{'fill':_0x4f4524(0x2e1),'d':_0x4f4524(0x1f3)}}]}]}],'defIds':[_0x4f4524(0x412)]},_0x39fd71=_0xcaba45['forwardRef'](function(_0x372e90,_0x8a437b){const _0x493241=_0x4f4524;return _0xcaba45[_0x493241(0x1fd)](_0x20b43a,Object[_0x493241(0x27a)]({},_0x372e90,{'id':_0x493241(0x3a5),'ref':_0x8a437b,'icon':_0x96ec74}));});_0x39fd71[_0x4f4524(0x3f6)]='OffLineSingle';var _0x25bb27={'tag':_0x4f4524(0x2e8),'attrs':{'fill':_0x4f4524(0x419),'viewBox':_0x4f4524(0x3b8),'width':_0x4f4524(0x235),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4f4524(0x22d)},'children':[{'tag':'path','attrs':{'stroke':_0x4f4524(0x28e),'d':_0x4f4524(0x1eb),'strokeLinecap':'round','strokeLinejoin':_0x4f4524(0x3b5),'strokeWidth':1.2}}]},{'tag':_0x4f4524(0x282),'attrs':{},'children':[{'tag':_0x4f4524(0x381),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4f4524(0x377),'attrs':{'fill':_0x4f4524(0x2e1),'d':_0x4f4524(0x1f3),'transform':_0x4f4524(0x20b)}}]}]}],'defIds':[_0x4f4524(0x21a)]},_0x508354=_0xcaba45[_0x4f4524(0x234)](function(_0x1aef40,_0x2e4106){const _0x2b3857=_0x4f4524;return _0xcaba45[_0x2b3857(0x1fd)](_0x20b43a,Object[_0x2b3857(0x27a)]({},_0x1aef40,{'id':'on-line-single','ref':_0x2e4106,'icon':_0x25bb27}));});_0x508354[_0x4f4524(0x3f6)]='OnLineSingle';const _0x15e542={'onlineStatusIcon':_0x4f4524(0x3da),'onlineStatusTitle':_0x4f4524(0x427),'onlineStatus':'univer-online-status','online':_0x4f4524(0x3a1),'offline':_0x4f4524(0x242)};function _0x348103(_0x32bc7c){const _0x13a090=_0x4f4524;switch(_0x32bc7c){case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x258)]:return _0x13a090(0x1f4);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x2bd)]:return _0x13a090(0x379);case _0xcd8db['CollaborationStatus'][_0x13a090(0x3ae)]:return _0x13a090(0x362);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x3c3)]:return _0x13a090(0x1e9);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x325)]:case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x2df)]:return _0x13a090(0x3ee);case _0xcd8db['CollaborationStatus'][_0x13a090(0x2ba)]:case _0xcd8db['CollaborationStatus'][_0x13a090(0x36a)]:return'collabStatus.synced';}}function _0x13fcf2(_0x1ed334){const _0x396c09=_0x4f4524,{status$:_0x3a450e}=_0x1ed334,_0x312106=_0x273ccb[_0x396c09(0x408)](_0x3a450e,_0xcd8db[_0x396c09(0x369)][_0x396c09(0x3c3)]),_0x1e3612=_0x273ccb['useDependency'](_0x7d7395['LocaleService']),_0x41e020=_0x273ccb[_0x396c09(0x303)](_0xcd8db[_0x396c09(0x473)]),_0x24e969=_0x312106!==_0xcd8db[_0x396c09(0x369)][_0x396c09(0x258)],_0x489a31=_0x1e3612['t'](_0x348103(_0x312106)),_0xe61dd1=_0x4c907b[_0x396c09(0x29c)](_0x15e542['onlineStatus'],{[_0x15e542[_0x396c09(0x37d)]]:_0x24e969,[_0x15e542['offline']]:!_0x24e969}),_0x2fd521=_0x24e969?_0x5ac202[_0x396c09(0x256)](_0x508354,{}):_0x5ac202[_0x396c09(0x256)](_0x39fd71,{}),_0x5db8e7=_0xcaba45[_0x396c09(0x3e4)](()=>{const _0x21bf6c=_0x396c09;_0x24e969||_0x41e020[_0x21bf6c(0x2be)]();},[_0x24e969,_0x41e020]);function _0x12a868(){const _0x3fc51d=_0x396c09;return _0x5ac202[_0x3fc51d(0x438)](_0x3fc51d(0x1fa),{'className':_0x4c907b[_0x3fc51d(0x29c)](_0xe61dd1,_0x3fc51d(0x3fb)),'onClick':_0x5db8e7,'children':[_0x5ac202[_0x3fc51d(0x256)](_0x3fc51d(0x1fa),{'className':_0x15e542[_0x3fc51d(0x23d)],'children':_0x2fd521}),_0x5ac202[_0x3fc51d(0x256)]('div',{'className':_0x15e542['onlineStatusTitle'],'children':_0x489a31})]});}return _0x24e969?_0x12a868():_0x5ac202[_0x396c09(0x256)](_0x4c907b['Tooltip'],{'title':_0x1e3612['t'](_0x396c09(0x218)),'children':_0x12a868()});}var _0xf89f14=Object[_0x4f4524(0x44d)],_0x40afad=(_0x118e18,_0x463587,_0x8a4764,_0x5997b3)=>{for(var _0x279bb8=_0x5997b3>0x1?void 0x0:_0x5997b3?_0xf89f14(_0x463587,_0x8a4764):_0x463587,_0xeb4d12=_0x118e18['length']-0x1,_0xf0046d;_0xeb4d12>=0x0;_0xeb4d12--)(_0xf0046d=_0x118e18[_0xeb4d12])&&(_0x279bb8=_0xf0046d(_0x279bb8)||_0x279bb8);return _0x279bb8;},_0x4420dc=(_0x187f6d,_0x567cc5)=>(_0x19f3f8,_0x1bb38f)=>_0x567cc5(_0x19f3f8,_0x1bb38f,_0x187f6d);_0x4cceb3['DesktopCollaborationStatusDisplayController']=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x4bff94,_0x34667c,_0x1efc4b,_0xb62626){const _0x485e2f=_0x4f4524;super(),_0x4535fa(this,_0x485e2f(0x24f),new _0x24af31[(_0x485e2f(0x42f))](_0xcd8db['CollaborationStatus'][_0x485e2f(0x3c3)])),(this['_univerInstanceService']=_0x4bff94,this['_injector']=_0x34667c,this[_0x485e2f(0x21c)]=_0x1efc4b,this[_0x485e2f(0x3db)]=_0xb62626,this[_0x485e2f(0x2e2)](),this[_0x485e2f(0x3f5)]());}[_0x4f4524(0x3f5)](){const _0x1d75e3=_0x4f4524;this[_0x1d75e3(0x38e)](this[_0x1d75e3(0x236)]['focused$'][_0x1d75e3(0x475)](_0x24af31[_0x1d75e3(0x2ab)](()=>{const _0x2a655f=_0x1d75e3,_0x302601=this[_0x2a655f(0x236)][_0x2a655f(0x2bc)]();return _0x302601?this[_0x2a655f(0x21c)][_0x2a655f(0x331)](_0x302601[_0x2a655f(0x36d)]()):_0x24af31['of'](null);}),_0x24af31[_0x1d75e3(0x2ab)](_0x4b5c46=>_0x4b5c46?_0x4b5c46[_0x1d75e3(0x1fe)]:_0x24af31['of'](_0xcd8db['CollaborationStatus'][_0x1d75e3(0x3c3)])))[_0x1d75e3(0x2ef)](_0x21a746=>{const _0xeef5cc=_0x1d75e3;this[_0xeef5cc(0x24f)][_0xeef5cc(0x1e8)](_0x21a746);}));}['_initStatusComponent'](){const _0x4cee1c=_0x4f4524;this['disposeWithMe'](this[_0x4cee1c(0x3db)][_0x4cee1c(0x29d)](_0x273ccb[_0x4cee1c(0x39c)]['HEADER_MENU'],()=>_0x273ccb[_0x4cee1c(0x34f)](_0x1034f1({'status$':this[_0x4cee1c(0x24f)][_0x4cee1c(0x301)]()}),this[_0x4cee1c(0x40b)])));}},_0x4cceb3[_0x4f4524(0x2e4)]=_0x40afad([_0x4420dc(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x4420dc(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x4420dc(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db['CollaborationController'])),_0x4420dc(0x3,_0x273ccb['IUIPartsService'])],_0x4cceb3['DesktopCollaborationStatusDisplayController']);function _0x1034f1(_0x279402){const {status$:_0x131c82}=_0x279402;return function(){const _0x4e6858=_0x25fd;return _0x5ac202[_0x4e6858(0x256)](_0x13fcf2,{'status$':_0x131c82});};}var _0x30214e=Object[_0x4f4524(0x44d)],_0x586f5c=(_0xebf72a,_0x1ba7d9,_0x34ed45,_0xf17669)=>{for(var _0x210e84=_0xf17669>0x1?void 0x0:_0xf17669?_0x30214e(_0x1ba7d9,_0x34ed45):_0x1ba7d9,_0x2c21f0=_0xebf72a['length']-0x1,_0x3783d0;_0x2c21f0>=0x0;_0x2c21f0--)(_0x3783d0=_0xebf72a[_0x2c21f0])&&(_0x210e84=_0x3783d0(_0x210e84)||_0x210e84);return _0x210e84;},_0x2c3953=(_0x5d87c3,_0x8cdeb0)=>(_0x365077,_0x2bc34b)=>_0x8cdeb0(_0x365077,_0x2bc34b,_0x5d87c3);let _0x3f6263=class extends _0x7d7395['Disposable']{constructor(_0x49fb76,_0x334e93,_0x128841,_0x496230,_0x40cf76,_0x209205){const _0x2a305a=_0x4f4524;super(),this['_beforeCloseService']=_0x49fb76,this[_0x2a305a(0x46a)]=_0x334e93,this['_collaborationUIEventService']=_0x128841,this[_0x2a305a(0x268)]=_0x496230,this[_0x2a305a(0x37c)]=_0x40cf76,this[_0x2a305a(0x456)]=_0x209205,this[_0x2a305a(0x2c8)](),this[_0x2a305a(0x2bb)]();}[_0x4f4524(0x2c8)](){const _0x1be39f=_0x4f4524;this['disposeWithMe'](this[_0x1be39f(0x270)][_0x1be39f(0x207)](()=>{const _0x42d47a=_0x1be39f;if(this[_0x42d47a(0x46a)][_0x42d47a(0x314)]['size'])return this[_0x42d47a(0x456)]['t'](_0x42d47a(0x1e3));}));}['_initEvent'](){const _0x131559=_0x4f4524;this[_0x131559(0x38e)](this[_0x131559(0x371)][_0x131559(0x2e9)]['subscribe'](_0x58dbc5=>{const _0x27ef60=_0x131559;_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x43c)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)][_0x27ef60(0x280)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x418))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x3e5)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b['MessageType'][_0x27ef60(0x280)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x1ec))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['PERMISSION_DENIED']&&this[_0x27ef60(0x37c)]['show']({'title':this[_0x27ef60(0x456)]['t']('permission.title'),'content':this['_localeService']['t'](_0x27ef60(0x3a6)),'type':_0x27ef60(0x46c),'duration':0x0}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['CONFLICT']&&this[_0x27ef60(0x268)]['show']({'type':_0x4c907b['MessageType'][_0x27ef60(0x467)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x1ec))+'('+_0x58dbc5['data']+')'}),_0x58dbc5['id']===_0xcd8db['CollaborationUIEventId'][_0x27ef60(0x2c2)]&&this[_0x27ef60(0x268)]['show']({'type':_0x4c907b[_0x27ef60(0x356)]['Warning'],'content':this[_0x27ef60(0x456)]['t'](_0x58dbc5[_0x27ef60(0x1fc)]||'')}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x36f)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)]['Warning'],'content':this['_localeService']['t'](_0x27ef60(0x296))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['SOCKET_FAILED']&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)]['Error'],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x297))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x317)]&&this['_messageService'][_0x27ef60(0x3fd)]({'type':_0x4c907b['MessageType'][_0x27ef60(0x467)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x414))});}));}};_0x3f6263=_0x586f5c([_0x2c3953(0x0,_0x273ccb[_0x4f4524(0x3ac)]),_0x2c3953(0x1,_0xcd8db[_0x4f4524(0x443)]),_0x2c3953(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x3c0)])),_0x2c3953(0x3,_0x273ccb[_0x4f4524(0x41c)]),_0x2c3953(0x4,_0x273ccb['INotificationService']),_0x2c3953(0x5,_0x7d7395['Inject'](_0x7d7395[_0x4f4524(0x2a2)]))],_0x3f6263);const _0x542c2f=_0x4f4524(0x38a),_0x40ad9b={},_0x557455=_0x7d7395[_0x4f4524(0x40f)](_0x4f4524(0x33d));var _0x56fada=Object[_0x4f4524(0x44d)],_0x387123=(_0x273041,_0x4ae2cc,_0x457876,_0x3bfe10)=>{for(var _0x292910=_0x3bfe10>0x1?void 0x0:_0x3bfe10?_0x56fada(_0x4ae2cc,_0x457876):_0x4ae2cc,_0x14f1f7=_0x273041['length']-0x1,_0x136699;_0x14f1f7>=0x0;_0x14f1f7--)(_0x136699=_0x273041[_0x14f1f7])&&(_0x292910=_0x136699(_0x292910)||_0x292910);return _0x292910;},_0x5e4f0b=(_0x144f95,_0x4d0ed4)=>(_0x235ab8,_0x132b22)=>_0x4d0ed4(_0x235ab8,_0x132b22,_0x144f95);_0x4cceb3['CollaborationDataLoaderController']=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x1053fa,_0x320130,_0x2be1a9,_0x341632,_0x802a81){const _0x242300=_0x4f4524;super(),this[_0x242300(0x3b4)]=_0x1053fa,this[_0x242300(0x27b)]=_0x320130,this[_0x242300(0x2e6)]=_0x2be1a9,this[_0x242300(0x2c0)]=_0x341632,_0x802a81?_0x802a81==null||_0x802a81[_0x242300(0x367)]()['then'](()=>this['_init']()):(this[_0x242300(0x27b)]['debug'](_0x242300(0x1ef),_0x242300(0x3c2)),this[_0x242300(0x1e4)]());}async[_0x4f4524(0x1e4)](){const _0x29cbfb=_0x4f4524,_0x5214ea=this[_0x29cbfb(0x3b4)][_0x29cbfb(0x442)]('unit'),_0x56aefd=this[_0x29cbfb(0x3b4)][_0x29cbfb(0x442)](_0x29cbfb(0x213)),_0x6ba6fc=this['_urlService'][_0x29cbfb(0x442)](_0x29cbfb(0x35c));if(!_0x5214ea||!_0x56aefd){this['_logService']['debug'](_0x29cbfb(0x1ef),_0x29cbfb(0x43a));return;}const _0x5ec31f=await this[_0x29cbfb(0x2c0)]['loadUnit'](_0x5214ea,Number(_0x56aefd),_0x6ba6fc);_0x5ec31f&&_0x5ec31f instanceof _0x7d7395[_0x29cbfb(0x31d)]&&this[_0x29cbfb(0x20c)](_0x5ec31f);}async[_0x4f4524(0x20c)](_0x3c3568){const _0x1722d7=_0x4f4524;await this[_0x1722d7(0x1e5)](_0x3c3568),_0x3c3568[_0x1722d7(0x387)][_0x1722d7(0x475)](_0x24af31[_0x1722d7(0x41d)](this[_0x1722d7(0x3b9)]))['subscribe'](_0x222632=>{_0x222632&&this['_updateURLWithCurrentState'](_0x222632);}),this['_urlService'][_0x1722d7(0x31b)]['pipe'](_0x24af31[_0x1722d7(0x41d)](this[_0x1722d7(0x3b9)]))[_0x1722d7(0x2ef)](()=>this[_0x1722d7(0x1e5)](_0x3c3568));}[_0x4f4524(0x273)](_0x4ed0f6,_0x40d7bb=!0x1){const _0x15a224=_0x4f4524,_0x21ddfa=this[_0x15a224(0x3b4)]['getParam'](_0x15a224(0x35c));_0x4ed0f6[_0x15a224(0x39d)]()!==_0x21ddfa&&this[_0x15a224(0x3b4)][_0x15a224(0x313)](_0x15a224(0x35c),_0x4ed0f6[_0x15a224(0x39d)](),_0x40d7bb);}async[_0x4f4524(0x1e5)](_0x4cfe4b){const _0x1edfaa=_0x4f4524;var _0x529665;const _0x2f7fc5=this['_urlService'][_0x1edfaa(0x442)](_0x1edfaa(0x35c));if(!_0x2f7fc5||!_0x4cfe4b[_0x1edfaa(0x2fd)](_0x2f7fc5)){const _0x8b93f6=_0x4cfe4b[_0x1edfaa(0x223)]()[0x0],_0x11fca7=_0x4cfe4b['getSheetBySheetId'](_0x8b93f6);if(!_0x11fca7)return;this[_0x1edfaa(0x273)](_0x11fca7,!0x0),await this[_0x1edfaa(0x2e6)][_0x1edfaa(0x328)](_0x578427[_0x1edfaa(0x227)]['id'],{'unitId':_0x4cfe4b[_0x1edfaa(0x36d)](),'subUnitId':_0x8b93f6});return;}((_0x529665=_0x4cfe4b[_0x1edfaa(0x338)]())==null?void 0x0:_0x529665[_0x1edfaa(0x39d)]())!==_0x2f7fc5&&await this[_0x1edfaa(0x2e6)][_0x1edfaa(0x328)](_0x578427[_0x1edfaa(0x227)]['id'],{'unitId':_0x4cfe4b['getUnitId'](),'subUnitId':_0x2f7fc5});}},_0x4cceb3[_0x4f4524(0x322)]=_0x387123([_0x5e4f0b(0x0,_0x557455),_0x5e4f0b(0x1,_0x7d7395[_0x4f4524(0x333)]),_0x5e4f0b(0x2,_0x7d7395[_0x4f4524(0x226)]),_0x5e4f0b(0x3,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x262)])),_0x5e4f0b(0x4,_0x7d7395['Optional'](_0x1b65ca['IRemoteInstanceService']))],_0x4cceb3[_0x4f4524(0x322)]);var _0x21105f=Object[_0x4f4524(0x44d)],_0x1b15ed=(_0x420783,_0x57c205,_0x25071e,_0x4d4739)=>{for(var _0x1f33fa=_0x4d4739>0x1?void 0x0:_0x4d4739?_0x21105f(_0x57c205,_0x25071e):_0x57c205,_0x2b69a9=_0x420783['length']-0x1,_0x4f8c04;_0x2b69a9>=0x0;_0x2b69a9--)(_0x4f8c04=_0x420783[_0x2b69a9])&&(_0x1f33fa=_0x4f8c04(_0x1f33fa)||_0x1f33fa);return _0x1f33fa;},_0x3a2cb0=(_0x1def26,_0x28be39)=>(_0x35ea34,_0x41f89c)=>_0x28be39(_0x35ea34,_0x41f89c,_0x1def26);let _0x3bd767=class{constructor(_0x34a237,_0x30a5f7,_0xa52d63){const _0x497ea1=_0x4f4524;this['_injector']=_0x34a237,this['_transformService']=_0x30a5f7,this[_0x497ea1(0x360)]=_0xa52d63;}['transformIMECache'](_0x142f33){const _0x385344=_0x4f4524;this['_transformUndoRedoStack'](_0x142f33),this[_0x385344(0x217)](_0x142f33);}[_0x4f4524(0x402)](_0x4f9cb2){const _0x429e47=_0x4f4524,{unitID:_0x273104}=_0x4f9cb2,_0x3e7b9b=this[_0x429e47(0x360)][_0x429e47(0x401)](_0x273104)[_0x429e47(0x2b0)](_0x5eb1d8[_0x429e47(0x461)]),{redoCache:_0x105a61}=_0x3e7b9b['getUndoRedoMutationParamsCache']();if(_0x105a61[_0x429e47(0x332)]===0x0)return _0x4f9cb2;let _0x53ae53=_0x7d7395[_0x429e47(0x202)][_0x429e47(0x2a5)](_0x4f9cb2[_0x429e47(0x3ab)][0x0]);for(let _0x1854a8=0x0;_0x1854a8<_0x105a61['length'];_0x1854a8++){const _0x4991={'id':_0x429e47(0x307),'params':{..._0x105a61[_0x1854a8]}},_0x40a233=this[_0x429e47(0x33a)][_0x429e47(0x24c)](_0x53ae53,_0x4991,!0x1);if(_0x2fc10[_0x429e47(0x426)](_0x40a233))throw _0x40a233[_0x429e47(0x46c)];_0x53ae53=_0x40a233['m1Prime'];}return{..._0x7d7395[_0x429e47(0x202)][_0x429e47(0x2a5)](_0x4f9cb2),'mutations':[_0x53ae53]};}[_0x4f4524(0x2aa)](_0x544383){const _0x1ef13d=_0x4f4524,{unitID:_0x5cc2e1}=_0x544383,_0x15f4a3=this['_renderManagerService']['getRenderById'](_0x5cc2e1)[_0x1ef13d(0x2b0)](_0x5eb1d8[_0x1ef13d(0x461)]),{undoCache:_0x2881ef,redoCache:_0x401780}=_0x15f4a3['getUndoRedoMutationParamsCache']();if(_0x2881ef[_0x1ef13d(0x332)]===0x0||_0x401780[_0x1ef13d(0x332)]===0x0)return;const _0x42c153=[],_0x45476d=[];let _0x1ec519=_0x7d7395['Tools'][_0x1ef13d(0x2a5)](_0x544383[_0x1ef13d(0x3ab)][0x0]),_0x303190=_0x7d7395['Tools'][_0x1ef13d(0x2a5)](_0x544383[_0x1ef13d(0x3ab)][0x0]);for(let _0xd136d=_0x2881ef[_0x1ef13d(0x332)]-0x1;_0xd136d>=0x0;_0xd136d--){const _0xbbf899={'id':_0x1ef13d(0x307),'params':{..._0x2881ef[_0xd136d]}},_0x63e2fa={'id':_0x1ef13d(0x307),'params':{..._0x401780[_0xd136d]}},_0x7a4ce6=this[_0x1ef13d(0x33a)][_0x1ef13d(0x24c)](_0x1ec519,_0xbbf899,!0x1),_0x2cc016=this[_0x1ef13d(0x33a)][_0x1ef13d(0x24c)](_0x303190,_0x63e2fa,!0x1);if(_0x2fc10[_0x1ef13d(0x426)](_0x7a4ce6))throw _0x7a4ce6[_0x1ef13d(0x46c)];if(_0x2fc10[_0x1ef13d(0x426)](_0x2cc016))throw _0x2cc016[_0x1ef13d(0x46c)];_0x42c153[_0x1ef13d(0x45a)](_0x7a4ce6[_0x1ef13d(0x228)][_0x1ef13d(0x222)]),_0x45476d[_0x1ef13d(0x45a)](_0x2cc016[_0x1ef13d(0x228)][_0x1ef13d(0x222)]),_0x1ec519=_0x7a4ce6[_0x1ef13d(0x1f2)],_0x303190=_0x2cc016[_0x1ef13d(0x1f2)];}_0x15f4a3['setUndoRedoMutationParamsCache']({'undoCache':_0x42c153,'redoCache':_0x45476d});}['_transformPreviousActiveRange'](_0x60c806){const _0x28b984=_0x4f4524,{unitID:_0x11cbf2}=_0x60c806,_0x202c59=this[_0x28b984(0x360)][_0x28b984(0x401)](_0x11cbf2)['with'](_0x5eb1d8[_0x28b984(0x461)]),_0x1389ff=_0x202c59[_0x28b984(0x416)]();if(_0x1389ff==null)return;const _0x9d81a5=[{'id':_0x28b984(0x307),'params':{'unitId':_0x60c806[_0x28b984(0x3ef)],'actions':null,'textRanges':[_0x1389ff]}}],_0x23682=this[_0x28b984(0x33a)][_0x28b984(0x463)](_0x60c806,_0x9d81a5);if(!_0x2fc10['isTransformMutationsWithChangesetSuccess'](_0x23682))throw _0x23682['error'];const _0x2f4b00=_0x23682['m2Prime'][0x0][_0x28b984(0x222)][_0x28b984(0x2ed)];Array['isArray'](_0x2f4b00)&&_0x2f4b00['length']&&_0x202c59[_0x28b984(0x309)](_0x2f4b00[0x0]);}};_0x3bd767=_0x1b15ed([_0x3a2cb0(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x3a2cb0(0x1,_0x2fc10['ITransformService']),_0x3a2cb0(0x2,_0x1335eb[_0x4f4524(0x40c)])],_0x3bd767);var _0x4b83bd=Object['getOwnPropertyDescriptor'],_0x392b70=(_0xdc9c03,_0xc8e6c6,_0x44e7ed,_0x3f6f9c)=>{const _0x399193=_0x4f4524;for(var _0x5dfd2f=_0x3f6f9c>0x1?void 0x0:_0x3f6f9c?_0x4b83bd(_0xc8e6c6,_0x44e7ed):_0xc8e6c6,_0x5208b5=_0xdc9c03[_0x399193(0x332)]-0x1,_0x4888aa;_0x5208b5>=0x0;_0x5208b5--)(_0x4888aa=_0xdc9c03[_0x5208b5])&&(_0x5dfd2f=_0x4888aa(_0x5dfd2f)||_0x5dfd2f);return _0x5dfd2f;},_0x261303=(_0x18ebb8,_0x47cc43)=>(_0x59b988,_0xe5c738)=>_0x47cc43(_0x59b988,_0xe5c738,_0x18ebb8);let _0x8f5da2=class{constructor(_0x3b0bcd,_0xaedfa4,_0x1431c3){const _0x3fbab9=_0x4f4524;this[_0x3fbab9(0x40b)]=_0x3b0bcd,this[_0x3fbab9(0x33a)]=_0xaedfa4,this[_0x3fbab9(0x2cd)]=_0x1431c3;}['transformStateCache'](_0xd7baad){this['_transformHistoryAndStateStack'](_0xd7baad);}[_0x4f4524(0x402)](_0xa93c26){const _0x14332f=_0x4f4524,{unitID:_0x4874d3}=_0xa93c26,{collaboration:_0x2b3eb9}=this[_0x14332f(0x2cd)][_0x14332f(0x2b1)](_0x4874d3);if(_0x2b3eb9['length']===0x0)return _0xa93c26;let _0x448b38=_0x7d7395[_0x14332f(0x202)]['deepClone'](_0xa93c26[_0x14332f(0x3ab)][0x0]);for(let _0x15a4b2=0x0;_0x15a4b2<_0x2b3eb9['length'];_0x15a4b2++){const _0x150ee1={'id':_0x14332f(0x307),'params':{'unitId':_0x2b3eb9[_0x15a4b2][_0x14332f(0x410)],..._0x2b3eb9[_0x15a4b2][_0x14332f(0x277)]}},_0x2f61ce=this[_0x14332f(0x33a)][_0x14332f(0x24c)](_0x448b38,_0x150ee1,!0x1);if(_0x2fc10['isTransformMutationFailure'](_0x2f61ce))throw _0x2f61ce[_0x14332f(0x46c)];_0x448b38=_0x2f61ce[_0x14332f(0x1f2)];}return{..._0x7d7395[_0x14332f(0x202)][_0x14332f(0x2a5)](_0xa93c26),'mutations':[_0x448b38]};}[_0x4f4524(0x24d)](_0x545806){const _0x137f0c=_0x4f4524,{unitID:_0x3de8db}=_0x545806,{history:_0x15a57a,collaboration:_0x1e2a09}=this['_docStateChangeManagerService'][_0x137f0c(0x2b1)](_0x3de8db);if(_0x15a57a[_0x137f0c(0x332)]===0x0&&_0x1e2a09['length']===0x0)return;const _0x5e505b=[],_0x2a9ff9=[];let _0x5c7e1b=_0x7d7395['Tools'][_0x137f0c(0x2a5)](_0x545806['mutations'][0x0]),_0x7bc52e=_0x7d7395[_0x137f0c(0x202)][_0x137f0c(0x2a5)](_0x545806['mutations'][0x0]);for(let _0x5cc424=_0x15a57a[_0x137f0c(0x332)]-0x1;_0x5cc424>=0x0;_0x5cc424--){const _0x291d5f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15a57a[_0x5cc424]['unitId'],..._0x15a57a[_0x5cc424][_0x137f0c(0x225)]}},_0x45c2ba={'id':_0x137f0c(0x307),'params':{'unitId':_0x15a57a[_0x5cc424][_0x137f0c(0x410)],..._0x15a57a[_0x5cc424][_0x137f0c(0x277)]}},_0x264f2b=this[_0x137f0c(0x33a)][_0x137f0c(0x24c)](_0x5c7e1b,_0x291d5f,!0x1),_0x4146c3=this['_transformService'][_0x137f0c(0x24c)](_0x7bc52e,_0x45c2ba,!0x1);if(_0x2fc10[_0x137f0c(0x426)](_0x264f2b))throw _0x264f2b[_0x137f0c(0x46c)];if(_0x2fc10[_0x137f0c(0x426)](_0x4146c3))throw _0x4146c3[_0x137f0c(0x46c)];_0x5e505b[_0x137f0c(0x45a)]({..._0x15a57a[_0x5cc424],'undoState':_0x264f2b[_0x137f0c(0x228)][_0x137f0c(0x222)],'redoState':_0x4146c3[_0x137f0c(0x228)][_0x137f0c(0x222)]}),_0x5c7e1b=_0x264f2b[_0x137f0c(0x1f2)],_0x7bc52e=_0x4146c3['m1Prime'];}_0x5c7e1b=_0x7d7395['Tools'][_0x137f0c(0x2a5)](_0x545806[_0x137f0c(0x3ab)][0x0]),_0x7bc52e=_0x7d7395[_0x137f0c(0x202)][_0x137f0c(0x2a5)](_0x545806[_0x137f0c(0x3ab)][0x0]);for(let _0x2e97e3=_0x1e2a09['length']-0x1;_0x2e97e3>=0x0;_0x2e97e3--){const _0x74c163={'id':_0x137f0c(0x307),'params':{'unitId':_0x1e2a09[_0x2e97e3][_0x137f0c(0x410)],..._0x1e2a09[_0x2e97e3][_0x137f0c(0x225)]}},_0xa8e916={'id':_0x137f0c(0x307),'params':{'unitId':_0x1e2a09[_0x2e97e3][_0x137f0c(0x410)],..._0x1e2a09[_0x2e97e3]['redoState']}},_0x5e0347=this[_0x137f0c(0x33a)]['transformMutation'](_0x5c7e1b,_0x74c163,!0x1),_0x3a24f2=this['_transformService']['transformMutation'](_0x7bc52e,_0xa8e916,!0x1);if(_0x2fc10[_0x137f0c(0x426)](_0x5e0347))throw _0x5e0347['error'];if(_0x2fc10['isTransformMutationFailure'](_0x3a24f2))throw _0x3a24f2[_0x137f0c(0x46c)];_0x2a9ff9[_0x137f0c(0x45a)]({..._0x1e2a09[_0x2e97e3],'undoState':_0x5e0347['m2Prime'][_0x137f0c(0x222)],'redoState':_0x3a24f2[_0x137f0c(0x228)]['params']}),_0x5c7e1b=_0x5e0347[_0x137f0c(0x1f2)],_0x7bc52e=_0x3a24f2[_0x137f0c(0x1f2)];}this['_docStateChangeManagerService']['setStateCache'](_0x3de8db,{'history':_0x5e505b,'collaboration':_0x2a9ff9});}};_0x8f5da2=_0x392b70([_0x261303(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x261303(0x1,_0x2fc10[_0x4f4524(0x44f)]),_0x261303(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x5eb1d8['DocStateChangeManagerService']))],_0x8f5da2);var _0x3a902a=Object[_0x4f4524(0x44d)],_0x571edb=(_0xb253cc,_0x17e817,_0x515ac4,_0x43b217)=>{const _0x4e051a=_0x4f4524;for(var _0x5047ff=_0x43b217>0x1?void 0x0:_0x43b217?_0x3a902a(_0x17e817,_0x515ac4):_0x17e817,_0x1a4695=_0xb253cc[_0x4e051a(0x332)]-0x1,_0x3296ae;_0x1a4695>=0x0;_0x1a4695--)(_0x3296ae=_0xb253cc[_0x1a4695])&&(_0x5047ff=_0x3296ae(_0x5047ff)||_0x5047ff);return _0x5047ff;},_0x3e6aff=(_0x4c0851,_0x197d2e)=>(_0x357127,_0xc38aec)=>_0x197d2e(_0x357127,_0xc38aec,_0x4c0851);let _0x2c1383=class{constructor(_0x28a717,_0xd90296){const _0x56617d=_0x4f4524;this[_0x56617d(0x40b)]=_0x28a717,this[_0x56617d(0x33a)]=_0xd90296;}[_0x4f4524(0x382)](_0x10467c){const _0x5764cb=_0x4f4524;var _0x421583;const _0x45d5d7=this[_0x5764cb(0x40b)]['get'](_0x1525c3[_0x5764cb(0x31c)]),_0x2855a8=(_0x421583=_0x45d5d7[_0x5764cb(0x348)]())!=null?_0x421583:[];if(_0x2855a8['length']===0x0)return;const _0x14add4=_0x10467c[_0x5764cb(0x3ef)],_0x4ebbc2=[{'id':_0x5764cb(0x307),'params':{'unitId':_0x14add4,'actions':null,'textRanges':_0x2855a8}}],_0x4a8c70=this['_transformService'][_0x5764cb(0x463)](_0x10467c,_0x4ebbc2);if(!_0x2fc10[_0x5764cb(0x3e8)](_0x4a8c70))throw _0x4a8c70[_0x5764cb(0x46c)];const _0x56de68=_0x4a8c70[_0x5764cb(0x228)][0x0][_0x5764cb(0x222)][_0x5764cb(0x2ed)];Array[_0x5764cb(0x3eb)](_0x56de68)&&_0x56de68[_0x5764cb(0x332)]&&_0x45d5d7[_0x5764cb(0x41e)](_0x56de68,{'unitId':_0x14add4,'subUnitId':_0x14add4},!0x1);}};_0x2c1383=_0x571edb([_0x3e6aff(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x3e6aff(0x1,_0x2fc10[_0x4f4524(0x44f)])],_0x2c1383);var _0x3972e2=Object['getOwnPropertyDescriptor'],_0x441a36=(_0x5c32d3,_0x4a05bd,_0x5856cc,_0x2432f5)=>{const _0x2c6dcf=_0x4f4524;for(var _0xff6bfc=_0x2432f5>0x1?void 0x0:_0x2432f5?_0x3972e2(_0x4a05bd,_0x5856cc):_0x4a05bd,_0x41f8c0=_0x5c32d3[_0x2c6dcf(0x332)]-0x1,_0x1463ee;_0x41f8c0>=0x0;_0x41f8c0--)(_0x1463ee=_0x5c32d3[_0x41f8c0])&&(_0xff6bfc=_0x1463ee(_0xff6bfc)||_0xff6bfc);return _0xff6bfc;},_0x54071b=(_0x5dce70,_0x17e300)=>(_0x29d1b7,_0x3358f2)=>_0x17e300(_0x29d1b7,_0x3358f2,_0x5dce70);let _0xa24eca=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x246613,_0x3ccbae,_0x24a5e1,_0x4ccf04,_0x254411,_0x492f64,_0x4dcac6,_0x16a2b3){const _0x3040b8=_0x4f4524;super(),_0x4535fa(this,_0x3040b8(0x24f),new _0x24af31[(_0x3040b8(0x42f))](_0xcd8db['CollaborationStatus'][_0x3040b8(0x3c3)])),(this['_docStateChangeManagerService']=_0x246613,this[_0x3040b8(0x21c)]=_0x3ccbae,this['_docTransformIMECacheService']=_0x24a5e1,this[_0x3040b8(0x2dd)]=_0x4ccf04,this[_0x3040b8(0x460)]=_0x254411,this[_0x3040b8(0x23a)]=_0x492f64,this[_0x3040b8(0x268)]=_0x4dcac6,this[_0x3040b8(0x456)]=_0x16a2b3,this[_0x3040b8(0x358)]());}[_0x4f4524(0x358)](){const _0x4371e2=_0x4f4524;this[_0x4371e2(0x38e)](this[_0x4371e2(0x21c)][_0x4371e2(0x1ff)][_0x4371e2(0x2ef)](_0x1c8303=>{const _0x337c7f=_0x4371e2,_0x3eb369=this[_0x337c7f(0x2cd)][_0x337c7f(0x417)]['subscribe'](_0x1bc108=>{const _0x397a4f=_0x337c7f;if(_0x1bc108==null)return;const {unitId:_0xea65eb,redoState:_0x280693,commandId:_0x438050}=_0x1bc108;if(_0xea65eb!==_0x1c8303[_0x397a4f(0x3ef)])return;const _0x447e67={'id':_0x438050,'type':_0x7d7395[_0x397a4f(0x432)][_0x397a4f(0x341)],'params':{'unitId':_0xea65eb,'actions':_0x280693[_0x397a4f(0x2de)],'textRanges':null}};_0x1c8303['onLocalMutation'](_0x447e67);});if(_0x1c8303['disposeWithMe'](_0x3eb369),_0x1c8303 instanceof _0xcd8db[_0x337c7f(0x2ce)]){const _0x4b03e0={'onTransformIME':_0xeeccac=>this['_docTransformIMECacheService'][_0x337c7f(0x2f3)](_0xeeccac),'onTransformState':_0x239c6d=>this[_0x337c7f(0x2dd)]['transformStateCache'](_0x239c6d),'onTransformSelections':_0xc91651=>this[_0x337c7f(0x460)][_0x337c7f(0x382)](_0xc91651),'onSyncEditingCollabCursor':_0x3fe72b=>this[_0x337c7f(0x23a)][_0x337c7f(0x40a)](_0x3fe72b),'onTransformRemoteChangesetByIMECache':_0x34e0bc=>this['_docTransformIMECacheService'][_0x337c7f(0x402)](_0x34e0bc),'onTransformRemoteChangesetByStateCache':_0x174dfa=>this[_0x337c7f(0x2dd)][_0x337c7f(0x402)](_0x174dfa)};_0x1c8303['addHandlerCallback'](_0x4b03e0);}}));}};_0xa24eca=_0x441a36([_0x54071b(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x5eb1d8[_0x4f4524(0x2cc)])),_0x54071b(0x1,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x32f)])),_0x54071b(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x3bd767)),_0x54071b(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x8f5da2)),_0x54071b(0x4,_0x7d7395[_0x4f4524(0x40d)](_0x2c1383)),_0x54071b(0x5,_0x7d7395[_0x4f4524(0x40d)](_0x4e81cb)),_0x54071b(0x6,_0x273ccb[_0x4f4524(0x41c)]),_0x54071b(0x7,_0x7d7395['Inject'](_0x7d7395[_0x4f4524(0x2a2)]))],_0xa24eca);var _0x5ea21f=Object[_0x4f4524(0x44d)],_0x5f2269=(_0x20bd5a,_0x31f388,_0x4dfd2f,_0x3ac0f3)=>{const _0x297c5a=_0x4f4524;for(var _0x3bdeba=_0x3ac0f3>0x1?void 0x0:_0x3ac0f3?_0x5ea21f(_0x31f388,_0x4dfd2f):_0x31f388,_0x412e6d=_0x20bd5a[_0x297c5a(0x332)]-0x1,_0x4fcfb6;_0x412e6d>=0x0;_0x412e6d--)(_0x4fcfb6=_0x20bd5a[_0x412e6d])&&(_0x3bdeba=_0x4fcfb6(_0x3bdeba)||_0x3bdeba);return _0x3bdeba;},_0x5d439a=(_0x4bca08,_0x586a74)=>(_0x5e001d,_0x14476f)=>_0x586a74(_0x5e001d,_0x14476f,_0x4bca08);let _0x2cc7cc=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x57316e,_0x3b4f2d,_0x4ff49d){const _0xa5cdc3=_0x4f4524;super(),_0x4535fa(this,_0xa5cdc3(0x404),new Map()),_0x4535fa(this,_0xa5cdc3(0x257),new Map()),_0x4535fa(this,_0xa5cdc3(0x376),!0x1),(this['_configService']=_0x57316e,this[_0xa5cdc3(0x433)]=_0x3b4f2d,this[_0xa5cdc3(0x35e)]=_0x4ff49d);}[_0x4f4524(0x35d)](){this['_disabled']=!0x0;}[_0x4f4524(0x38f)](){const _0x2fb744=_0x4f4524;this[_0x2fb744(0x376)]=!0x1;}get[_0x4f4524(0x314)](){const _0x261aed=_0x4f4524;return this[_0x261aed(0x257)];}['dispose'](){const _0xa27dae=_0x4f4524;this[_0xa27dae(0x30a)]()['then'](()=>super[_0xa27dae(0x347)]());}async['loadOfflineData'](_0x2e7bf2){const _0x3e8af3=_0x4f4524;return this[_0x3e8af3(0x376)]?null:this[_0x3e8af3(0x433)][_0x3e8af3(0x464)](_0xcd8db[_0x3e8af3(0x469)](_0x2e7bf2));}async[_0x4f4524(0x459)](_0x5b99b1,_0x4a49ef){const _0x4cf847=_0x4f4524;return!!this['_localStorageService'][_0x4cf847(0x216)](_0x5b99b1,_0x4a49ef);}['updateOfflineData'](_0x14fc02,_0x27b824,_0x13cf29,_0x3de4ea){const _0x84ff92=_0x4f4524,_0x43b4cc=this[_0x84ff92(0x35e)][_0x84ff92(0x2cf)](_0x14fc02);this[_0x84ff92(0x404)][_0x84ff92(0x32e)](_0x14fc02,{'unitID':_0x14fc02,'type':_0x27b824,'awaitingChangeset':_0x13cf29,'mutations':_0x3de4ea,'rev':_0x43b4cc}),this['_saveTaskMap'][_0x84ff92(0x3d4)](_0x14fc02)||this['_scheduleSaving'](_0x14fc02);}[_0x4f4524(0x25f)](_0x4140d5){const _0x3e8d1c=_0x4f4524,_0x1fc1de=this['_getSaveTimeout']();_0x1fc1de===0x0?this[_0x3e8d1c(0x3b1)](_0x4140d5):this[_0x3e8d1c(0x257)][_0x3e8d1c(0x32e)](_0x4140d5,setTimeout(()=>this['_saveCache'](_0x4140d5),_0x1fc1de));}['_getSaveTimeout'](){const _0x56761f=_0x4f4524;var _0x17f01a;return(_0x17f01a=this[_0x56761f(0x42d)]['getConfig'](_0xcd8db['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x17f01a:_0xcd8db['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x566d6d){const _0x2e485=_0x4f4524,_0x47358f=this[_0x2e485(0x257)][_0x2e485(0x455)](_0x566d6d);return _0x47358f!==void 0x0&&window['clearTimeout'](_0x47358f),this['_localStorageService']['setItem'](_0xcd8db['getLocalCacheKey'](_0x566d6d),this['_cachedData']['get'](_0x566d6d))['then'](()=>this[_0x2e485(0x257)]['delete'](_0x566d6d));}async['exhaustSavingTask'](){const _0x807609=_0x4f4524,_0x33a32f=[];this[_0x807609(0x257)]['forEach']((_0x153cb2,_0x438d20)=>{const _0xedf3a3=_0x807609;window[_0xedf3a3(0x285)](_0x153cb2),_0x33a32f[_0xedf3a3(0x250)](this[_0xedf3a3(0x3b1)](_0x438d20)['then'](()=>{const _0x59bdca=_0xedf3a3;this[_0x59bdca(0x257)]['delete'](_0x438d20);}));}),await Promise[_0x807609(0x26e)](_0x33a32f);}};_0x2cc7cc=_0x5f2269([_0x5d439a(0x0,_0x7d7395[_0x4f4524(0x345)]),_0x5d439a(0x1,_0x7d7395[_0x4f4524(0x233)]),_0x5d439a(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x2fc10[_0x4f4524(0x42a)]))],_0x2cc7cc);class _0x17a93b extends _0x7d7395[_0x4f4524(0x36e)]{constructor(){const _0x4fdba7=_0x4f4524;super(),_0x4535fa(this,_0x4fdba7(0x31b)),this['urlChange$']=_0x24af31[_0x4fdba7(0x3bd)](window,_0x4fdba7(0x2d5))[_0x4fdba7(0x475)](_0x24af31[_0x4fdba7(0x41d)](this[_0x4fdba7(0x3b9)]),_0x24af31[_0x4fdba7(0x32d)](0x1),_0x24af31[_0x4fdba7(0x446)](void 0x0));}[_0x4f4524(0x313)](_0x1d914e,_0x327acf,_0x3072a0=!0x1){const _0x5961ef=_0x4f4524,_0x244f2f=new URL(window['location'][_0x5961ef(0x276)]);_0x244f2f[_0x5961ef(0x423)][_0x5961ef(0x32e)](_0x1d914e,_0x327acf),_0x3072a0?window[_0x5961ef(0x2a9)][_0x5961ef(0x259)]('','',_0x244f2f[_0x5961ef(0x3dc)]()):window[_0x5961ef(0x2a9)][_0x5961ef(0x3f1)]('','',_0x244f2f['toString']());}[_0x4f4524(0x35a)](_0x23f469,_0x220901=!0x1){const _0x86dc7a=_0x4f4524,_0x17fc26=new URL(window[_0x86dc7a(0x2a6)][_0x86dc7a(0x276)]);_0x17fc26['searchParams']['delete'](_0x23f469),_0x220901?window[_0x86dc7a(0x2a9)]['replaceState']('','',_0x17fc26[_0x86dc7a(0x3dc)]()):window['history'][_0x86dc7a(0x3f1)]('','',_0x17fc26[_0x86dc7a(0x3dc)]());}[_0x4f4524(0x442)](_0x5bcf2a){const _0x49f231=_0x4f4524;var _0x1e716b;return(_0x1e716b=new URL(window[_0x49f231(0x2a6)][_0x49f231(0x276)])[_0x49f231(0x423)][_0x49f231(0x455)](_0x5bcf2a))!=null?_0x1e716b:void 0x0;}}var _0x221a07=Object['defineProperty'],_0x5829f5=Object[_0x4f4524(0x44d)],_0x26e757=(_0x25962e,_0x219e79,_0x4eddf7)=>_0x219e79 in _0x25962e?_0x221a07(_0x25962e,_0x219e79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4eddf7}):_0x25962e[_0x219e79]=_0x4eddf7,_0x51b230=(_0x22f347,_0x30ca28,_0x49892d,_0x22c897)=>{for(var _0x55391d=_0x22c897>0x1?void 0x0:_0x22c897?_0x5829f5(_0x30ca28,_0x49892d):_0x30ca28,_0x259bf0=_0x22f347['length']-0x1,_0x8b9840;_0x259bf0>=0x0;_0x259bf0--)(_0x8b9840=_0x22f347[_0x259bf0])&&(_0x55391d=_0x8b9840(_0x55391d)||_0x55391d);return _0x55391d;},_0x2a6c60=(_0x276cf7,_0x1de66a)=>(_0x13ddde,_0xabf45c)=>_0x1de66a(_0x13ddde,_0xabf45c,_0x276cf7),_0x3c984a=(_0x582444,_0x525443,_0x2c3704)=>_0x26e757(_0x582444,_0x525443+'',_0x2c3704);const _0x46d493=_0x4f4524(0x291);_0x4cceb3[_0x4f4524(0x2f4)]=class extends _0x7d7395[_0x4f4524(0x1f1)]{constructor(_0x34410a=_0x40ad9b,_0x1e8443,_0x5571f9,_0x543032){const _0x407058=_0x4f4524;super(),this[_0x407058(0x431)]=_0x34410a,this[_0x407058(0x360)]=_0x1e8443,this[_0x407058(0x40b)]=_0x5571f9,this['_configService']=_0x543032;const {..._0x3bb1c5}=_0x7d7395[_0x407058(0x3e3)]({},_0x40ad9b,this[_0x407058(0x431)]);this[_0x407058(0x42d)][_0x407058(0x2c1)](_0x542c2f,_0x3bb1c5);}[_0x4f4524(0x45f)](){const _0x15ebf0=_0x4f4524;this[_0x15ebf0(0x2d4)](),this[_0x15ebf0(0x344)]();}['onRendered'](){const _0x232d6b=_0x4f4524;this[_0x232d6b(0x3ed)]();}[_0x4f4524(0x2d4)](){const _0x521118=_0x4f4524;var _0x18865b;const _0x1b9c37=[[_0x1cb796],[_0x2c1383],[_0x3bd767],[_0x8f5da2],[_0x4e81cb],[_0x557455,{'useClass':_0x17a93b}],[_0x45113e[_0x521118(0x378)],{'useClass':_0x45113e[_0x521118(0x211)]}],[_0xcd8db[_0x521118(0x443)],{'useClass':_0x2cc7cc}],[_0x4cceb3['DesktopCollaborationStatusDisplayController']],[_0xa24eca],[_0x3f6263],[_0x42f641],[_0x270b59],[_0x4cceb3[_0x521118(0x322)]]];_0x7d7395[_0x521118(0x30c)](this['_injector'],_0x7d7395[_0x521118(0x2c5)](_0x1b9c37,(_0x18865b=this['_config'])==null?void 0x0:_0x18865b[_0x521118(0x3d6)]));}[_0x4f4524(0x3ed)](){const _0x3aa9dd=_0x4f4524;this[_0x3aa9dd(0x38e)](this[_0x3aa9dd(0x360)][_0x3aa9dd(0x1e7)](_0x7d7395['UniverInstanceType'][_0x3aa9dd(0x38b)],[_0xcd79ae])),this[_0x3aa9dd(0x38e)](this['_renderManagerService'][_0x3aa9dd(0x1e7)](_0x7d7395[_0x3aa9dd(0x342)]['UNIVER_SHEET'],[_0x46a2ee]));}[_0x4f4524(0x344)](){const _0x2093d4=_0x4f4524;_0x7d7395[_0x2093d4(0x26b)](this['_injector'],[[_0x42f641],[_0x4cceb3['DesktopCollaborationStatusDisplayController']],[_0xa24eca],[_0x3f6263],[_0x4cceb3['CollaborationDataLoaderController']]]);}},_0x3c984a(_0x4cceb3[_0x4f4524(0x2f4)],'pluginName',_0x46d493),_0x4cceb3[_0x4f4524(0x2f4)]=_0x51b230([_0x7d7395[_0x4f4524(0x3d8)](_0xcd8db[_0x4f4524(0x37f)]),_0x2a6c60(0x1,_0x1335eb[_0x4f4524(0x40c)]),_0x2a6c60(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x2a6c60(0x3,_0x7d7395[_0x4f4524(0x345)])],_0x4cceb3[_0x4f4524(0x2f4)]);var _0x10f49c=Object[_0x4f4524(0x44d)],_0x4ac7e4=(_0x16dcb7,_0x10502f,_0x34c2df,_0x4ea905)=>{const _0x30ffa3=_0x4f4524;for(var _0x4194e8=_0x4ea905>0x1?void 0x0:_0x4ea905?_0x10f49c(_0x10502f,_0x34c2df):_0x10502f,_0x525db3=_0x16dcb7[_0x30ffa3(0x332)]-0x1,_0x4b4e9b;_0x525db3>=0x0;_0x525db3--)(_0x4b4e9b=_0x16dcb7[_0x525db3])&&(_0x4194e8=_0x4b4e9b(_0x4194e8)||_0x4194e8);return _0x4194e8;},_0x4bbe04=(_0x3de84e,_0x55ac59)=>(_0x510a99,_0x435e57)=>_0x55ac59(_0x510a99,_0x435e57,_0x3de84e);_0x4cceb3['BrowserCollaborationSocketService']=class extends _0xcd8db['CollaborationSocketService']{constructor(_0x4514e7,_0x1240b1,_0x75e652,_0x2f70ac,_0x37c9e0){super(_0x4514e7,_0x1240b1,_0x75e652,_0x2f70ac,_0x37c9e0);}async['createSocket'](_0x2f4ce5){const _0x1b2471=_0x4f4524,_0x4982e1=await this[_0x1b2471(0x248)](),_0x4c3585=this[_0x1b2471(0x300)](_0x2f4ce5,_0x4982e1);return this[_0x1b2471(0x3b2)](_0x4c3585);}[_0x4f4524(0x300)](_0x14b108,_0x230d36){const _0x4e7473=_0x4f4524,_0x2cd1a2=typeof window>'u'?new URL(_0x14b108):new URL(_0x14b108,window[_0x4e7473(0x2a6)][_0x4e7473(0x374)]);_0x2cd1a2[_0x4e7473(0x423)]['set']('sessionTicket',_0x230d36);const _0x199198=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4e7473(0x357)]);return _0x199198['get']('runId')&&_0x2cd1a2[_0x4e7473(0x423)][_0x4e7473(0x32e)](_0x4e7473(0x247),_0x199198['get'](_0x4e7473(0x247))),_0x2cd1a2[_0x4e7473(0x3dc)]();}async[_0x4f4524(0x248)](){const _0x329579=_0x4f4524;var _0x3a6484,_0x47ccb8,_0x2f5326;const _0x44c076=this[_0x329579(0x42d)][_0x329579(0x245)](_0xcd8db[_0x329579(0x45d)]),_0x1e6852=(_0x3a6484=_0x44c076==null?void 0x0:_0x44c076['wsSessionTicketUrl'])!=null?_0x3a6484:_0xcd8db[_0x329579(0x353)];return(_0x2f5326=(_0x47ccb8=(await this[_0x329579(0x25a)][_0x329579(0x455)](_0x1e6852,{'headers':{'Content-Type':_0x329579(0x2fa)}}))[_0x329579(0x46b)])==null?void 0x0:_0x47ccb8['ticket'])!=null?_0x2f5326:'';}},_0x4cceb3[_0x4f4524(0x350)]=_0x4ac7e4([_0x4bbe04(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x4bbe04(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x45113e['HTTPService'])),_0x4bbe04(0x2,_0x7d7395[_0x4f4524(0x345)]),_0x4bbe04(0x3,_0x7d7395[_0x4f4524(0x333)]),_0x4bbe04(0x4,_0x2fc10[_0x4f4524(0x439)])],_0x4cceb3['BrowserCollaborationSocketService']);const _0x4d1820=0x7530,_0x4205e1=_0x4f4524(0x3b0);class _0x3fefdb extends _0x7d7395[_0x4f4524(0x36c)]{constructor(){const _0x4c25c3=_0x4f4524;super(),_0x4535fa(this,_0x4c25c3(0x271),_0x7d7395['generateRandomId']()),_0x4535fa(this,'_selfUnitIDs',new Set()),_0x4535fa(this,_0x4c25c3(0x373),new Map()),_0x4535fa(this,_0x4c25c3(0x29a),null),_0x4535fa(this,_0x4c25c3(0x201),new Map()),_0x4535fa(this,_0x4c25c3(0x2da),new Map()),this[_0x4c25c3(0x1e4)]();}[_0x4f4524(0x347)](){const _0x271bfb=_0x4f4524;super[_0x271bfb(0x347)](),this[_0x271bfb(0x201)][_0x271bfb(0x23f)]((_0x4fb076,_0x3d396f)=>this[_0x271bfb(0x3c6)](_0x3d396f)),this[_0x271bfb(0x29a)]&&window['clearInterval'](this[_0x271bfb(0x29a)]);}[_0x4f4524(0x2e5)](_0x2e9532){const _0x584150=_0x4f4524;return this[_0x584150(0x2ac)](_0x2e9532)['pipe'](_0x24af31[_0x584150(0x319)]());}[_0x4f4524(0x413)](_0x118c90){const _0x517ff3=_0x4f4524;this[_0x517ff3(0x3d3)][_0x517ff3(0x41b)]===0x0&&this[_0x517ff3(0x2f1)](),this[_0x517ff3(0x3d3)][_0x517ff3(0x203)](_0x118c90),this[_0x517ff3(0x43e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x118c90],'isForwarded':!0x1});}[_0x4f4524(0x26c)](_0x5aff06){const _0x23675b=_0x4f4524;this[_0x23675b(0x3d3)][_0x23675b(0x421)](_0x5aff06),this['_selfUnitIDs']['size']===0x0&&this[_0x23675b(0x29a)]&&window[_0x23675b(0x395)](this['_heartbeatTimer']);}['_init'](){const _0x455b71=_0x4f4524;this[_0x455b71(0x38e)](_0x7d7395['toDisposable'](_0x24af31[_0x455b71(0x3bd)](window,_0x455b71(0x3b7))[_0x455b71(0x2ef)](_0x1ee220=>{const _0x510d37=_0x455b71;if(_0x1ee220['key']!==_0x4205e1||!_0x1ee220[_0x510d37(0x45b)])return;const _0x2a4e5d=JSON[_0x510d37(0x380)](_0x1ee220[_0x510d37(0x45b)]);this[_0x510d37(0x444)](_0x2a4e5d);}))),window['addEventListener']('unload',()=>this[_0x455b71(0x43e)]({'type':0x1,'memberID':this[_0x455b71(0x271)],'unitIDs':Array[_0x455b71(0x3f3)](this[_0x455b71(0x3d3)])}));}['_handleEvent'](_0x17ff6b){const _0x1f6520=_0x4f4524;switch(_0x17ff6b[_0x1f6520(0x213)]){case 0x0:this[_0x1f6520(0x2ee)](_0x17ff6b);break;case 0x1:this[_0x1f6520(0x39e)](_0x17ff6b);break;case 0x2:this[_0x1f6520(0x1f5)](_0x17ff6b);break;}}['_handleJoinEvent'](_0xf2edbb){const _0x45fc78=_0x4f4524,{unitIDs:_0x185661,memberID:_0x985d2c,isForwarded:_0x41b573}=_0xf2edbb;_0x185661[_0x45fc78(0x23f)](_0x379a1b=>{const _0x30adcb=_0x45fc78;if(!_0x41b573&&this[_0x30adcb(0x373)][_0x30adcb(0x3d4)](_0x379a1b)&&this[_0x30adcb(0x2ac)](_0x379a1b)[_0x30adcb(0x1e8)](_0xcd8db[_0x30adcb(0x2dc)][_0x30adcb(0x275)]),!this[_0x30adcb(0x373)][_0x30adcb(0x3d4)](_0x379a1b)||!this['_unitOnClients']['get'](_0x379a1b)[_0x30adcb(0x3d4)](_0x985d2c)){const _0x472827=this[_0x30adcb(0x373)][_0x30adcb(0x455)](_0x379a1b)||new Set();_0x472827[_0x30adcb(0x203)](_0x985d2c),this['_unitOnClients'][_0x30adcb(0x32e)](_0x379a1b,_0x472827),this[_0x30adcb(0x44c)](_0x985d2c);}}),_0x41b573||this[_0x45fc78(0x43e)]({'type':0x0,'memberID':this[_0x45fc78(0x271)],'unitIDs':[...this[_0x45fc78(0x3d3)]],'isForwarded':!0x0});}[_0x4f4524(0x44c)](_0xcc2b7){const _0x1d8039=_0x4f4524;this[_0x1d8039(0x3c6)](_0xcc2b7);const _0x5400b6=window['setTimeout'](()=>{const _0x4719d0=_0x1d8039;this[_0x4719d0(0x373)]['forEach'](_0x1c1a7e=>{const _0x4f368f=_0x4719d0;_0x1c1a7e[_0x4f368f(0x421)](_0xcc2b7);});},_0x4d1820*0x2);this['_clearOtherTimers'][_0x1d8039(0x32e)](_0xcc2b7,_0x5400b6);}[_0x4f4524(0x3c6)](_0x526e13){const _0x1ad046=_0x4f4524;if(this[_0x1ad046(0x201)][_0x1ad046(0x3d4)](_0x526e13)){const _0x4bba3b=this[_0x1ad046(0x201)]['get'](_0x526e13);_0x4bba3b&&window[_0x1ad046(0x285)](_0x4bba3b),this[_0x1ad046(0x201)][_0x1ad046(0x32e)](_0x526e13,null);}}[_0x4f4524(0x39e)](_0x38dac7){const _0x5abcaa=_0x4f4524,{memberID:_0x16d994,unitIDs:_0x4cf391}=_0x38dac7;_0x4cf391[_0x5abcaa(0x23f)](_0x382368=>{const _0xfc48b=_0x5abcaa;var _0x506b09;const _0x10e612=this[_0xfc48b(0x373)]['get'](_0x382368);_0x10e612&&(_0x10e612[_0xfc48b(0x421)](_0x16d994),(_0x506b09=this[_0xfc48b(0x2ac)](_0x382368))==null||_0x506b09[_0xfc48b(0x1e8)](_0x10e612[_0xfc48b(0x41b)]===0x0?_0xcd8db['UnitStatus'][_0xfc48b(0x422)]:_0xcd8db[_0xfc48b(0x2dc)][_0xfc48b(0x275)]));}),this[_0x5abcaa(0x3c6)](_0x16d994);}['_handleHeartbeatEvent'](_0x2b8d7e){const _0x4f3356=_0x4f4524;this[_0x4f3356(0x44c)](_0x2b8d7e[_0x4f3356(0x2cb)]);}[_0x4f4524(0x43e)](_0x2ef71b){const _0x492371=_0x4f4524;localStorage[_0x492371(0x216)](_0x4205e1,JSON[_0x492371(0x3a2)](_0x2ef71b));}[_0x4f4524(0x2f1)](){const _0x5981af=_0x4f4524;this['_heartbeatTimer']=window[_0x5981af(0x1f8)](()=>{const _0x2dac78=_0x5981af;this[_0x2dac78(0x43e)]({'type':0x2,'memberID':this['_id']});},_0x4d1820);}['_ensureSubject'](_0x365b3d){const _0x2f3f60=_0x4f4524;return this[_0x2f3f60(0x2da)][_0x2f3f60(0x3d4)](_0x365b3d)||this[_0x2f3f60(0x2da)][_0x2f3f60(0x32e)](_0x365b3d,new _0x24af31[(_0x2f3f60(0x42f))](_0xcd8db[_0x2f3f60(0x2dc)][_0x2f3f60(0x422)])),this['_unitStatus'][_0x2f3f60(0x455)](_0x365b3d);}}var _0x237c88=(_0x431918=>(_0x431918[_0x431918[_0x4f4524(0x2a8)]=0x0]=_0x4f4524(0x2a8),_0x431918[_0x431918['OK']=0x1]='OK',_0x431918[_0x431918[_0x4f4524(0x354)]=0x2]=_0x4f4524(0x354),_0x431918[_0x431918[_0x4f4524(0x2b4)]=0x3]=_0x4f4524(0x2b4),_0x431918[_0x431918[_0x4f4524(0x3bb)]=0x4]='NOT_FOUND',_0x431918[_0x431918[_0x4f4524(0x263)]=0x5]=_0x4f4524(0x263),_0x431918[_0x431918[_0x4f4524(0x310)]=0x6]=_0x4f4524(0x310),_0x431918[_0x431918[_0x4f4524(0x29f)]=0x7]='INVALID_ARGUMENT',_0x431918[_0x431918[_0x4f4524(0x41f)]=0x8]=_0x4f4524(0x41f),_0x431918[_0x431918[_0x4f4524(0x2b8)]=0x9]=_0x4f4524(0x2b8),_0x431918[_0x431918[_0x4f4524(0x35f)]=0xa]=_0x4f4524(0x35f),_0x431918[_0x431918[_0x4f4524(0x33c)]=0x1389]=_0x4f4524(0x33c),_0x431918[_0x431918['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x431918[_0x431918[_0x4f4524(0x3fc)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x431918[_0x431918[_0x4f4524(0x22b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x431918[_0x431918['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x431918[_0x431918['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4f4524(0x1ea),_0x431918[_0x431918[_0x4f4524(0x44a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x431918[_0x431918['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4f4524(0x3b3),_0x431918[_0x431918[_0x4f4524(0x2b9)]=0x1b5d]=_0x4f4524(0x2b9),_0x431918[_0x431918[_0x4f4524(0x472)]=0x1f41]=_0x4f4524(0x472),_0x431918[_0x431918[_0x4f4524(0x428)]=0x2329]=_0x4f4524(0x428),_0x431918[_0x431918['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x431918[_0x431918['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x431918[_0x431918[_0x4f4524(0x31a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x431918[_0x431918['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4f4524(0x3cb),_0x431918[_0x431918[_0x4f4524(0x28c)]=0x2711]=_0x4f4524(0x28c),_0x431918[_0x431918[_0x4f4524(0x3aa)]=0x2712]=_0x4f4524(0x3aa),_0x431918[_0x431918[_0x4f4524(0x30e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x431918[_0x431918[_0x4f4524(0x397)]=0x2714]=_0x4f4524(0x397),_0x431918[_0x431918[_0x4f4524(0x21b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x431918[_0x431918['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4f4524(0x368),_0x431918[_0x431918[_0x4f4524(0x283)]=0x2ee2]=_0x4f4524(0x283),_0x431918[_0x431918[_0x4f4524(0x3a0)]=0x2ee3]=_0x4f4524(0x3a0),_0x431918[_0x431918['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x431918[_0x431918[_0x4f4524(0x31f)]=0x2ee5]=_0x4f4524(0x31f),_0x431918[_0x431918['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4f4524(0x335),_0x431918[_0x431918[_0x4f4524(0x2fb)]=0x32ca]=_0x4f4524(0x2fb),_0x431918[_0x431918[_0x4f4524(0x399)]=0x32cb]=_0x4f4524(0x399),_0x431918[_0x431918[_0x4f4524(0x23b)]=-0x1]=_0x4f4524(0x23b),_0x431918))(_0x237c88||{}),_0x2c1845=Object['getOwnPropertyDescriptor'],_0x1046fb=(_0xedd4bc,_0x30faf7,_0x3fa659,_0x328ec8)=>{const _0x85f96e=_0x4f4524;for(var _0xf17cd4=_0x328ec8>0x1?void 0x0:_0x328ec8?_0x2c1845(_0x30faf7,_0x3fa659):_0x30faf7,_0x1d361e=_0xedd4bc[_0x85f96e(0x332)]-0x1,_0x423e93;_0x1d361e>=0x0;_0x1d361e--)(_0x423e93=_0xedd4bc[_0x1d361e])&&(_0xf17cd4=_0x423e93(_0xf17cd4)||_0xf17cd4);return _0xf17cd4;},_0x4c0ad6=(_0x3fe15d,_0x5279b2)=>(_0x43aec7,_0x7c5d31)=>_0x5279b2(_0x43aec7,_0x7c5d31,_0x3fe15d);_0x4cceb3['RemoteUniscriptService']=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x2d5dbb,_0x218b46,_0x4484d4){const _0x545ae7=_0x4f4524;super(),this[_0x545ae7(0x32b)]=_0x2d5dbb,this[_0x545ae7(0x25a)]=_0x218b46,this[_0x545ae7(0x42d)]=_0x4484d4;}async[_0x4f4524(0x281)](_0x4ea4ec,_0x38783f,_0x27f64f,..._0x232ac9){const _0x3d5d5d=_0x4f4524;var _0x5d0f55,_0x4ef0c1,_0x4ab502,_0x5383b1;const _0x5a02c=this[_0x3d5d5d(0x32b)][_0x3d5d5d(0x2bc)]();if(!_0x5a02c)throw new Error(_0x3d5d5d(0x3f9));const _0x5aa95c=((_0x5d0f55=this[_0x3d5d5d(0x42d)][_0x3d5d5d(0x245)](_0xcd8db[_0x3d5d5d(0x3d9)]))!=null?_0x5d0f55:_0xcd8db[_0x3d5d5d(0x229)])+'/'+_0x4ea4ec+'/run/'+_0x38783f,_0x2ce0dd=new URL(window[_0x3d5d5d(0x2a6)]['href']),_0xe95da8={'scriptId':_0x4ea4ec,'runId':(_0x4ef0c1=_0x2ce0dd[_0x3d5d5d(0x423)]['get'](_0x3d5d5d(0x247)))!=null?_0x4ef0c1:'','function':_0x38783f,'unitId':_0x5a02c[_0x3d5d5d(0x36d)](),'argsOfFunction':JSON[_0x3d5d5d(0x3a2)](_0x232ac9),'invokeId':(_0x4ab502=_0x27f64f[_0x3d5d5d(0x321)])!=null?_0x4ab502:'','executionId':(_0x5383b1=_0x27f64f[_0x3d5d5d(0x2ad)])!=null?_0x5383b1:''};try{const _0x506bc9=await this[_0x3d5d5d(0x25a)][_0x3d5d5d(0x403)](_0x5aa95c,{'body':_0xe95da8});return _0x506bc9['body'][_0x3d5d5d(0x46c)]&&_0x506bc9[_0x3d5d5d(0x46b)]['error'][_0x3d5d5d(0x2c6)]!==_0x237c88['OK']?_0x3d5d5d(0x3ea):_0x506bc9['body']['result'];}catch{return _0x3d5d5d(0x3ea);}}},_0x4cceb3[_0x4f4524(0x351)]=_0x1046fb([_0x4c0ad6(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x4c0ad6(0x1,_0x7d7395['Inject'](_0x45113e[_0x4f4524(0x392)])),_0x4c0ad6(0x2,_0x7d7395[_0x4f4524(0x345)])],_0x4cceb3[_0x4f4524(0x351)]),_0x4cceb3[_0x4f4524(0x474)]=_0x13fcf2,_0x4cceb3[_0x4f4524(0x415)]=_0x557455,_0x4cceb3[_0x4f4524(0x471)]=_0x5cd145,_0x4cceb3[_0x4f4524(0x3f4)]=_0x3fefdb,_0x4cceb3[_0x4f4524(0x2d8)]=_0x17a93b,Object[_0x4f4524(0x390)](_0x4cceb3,Symbol[_0x4f4524(0x359)],{'value':_0x4f4524(0x448)});}));function _0x25fd(_0x542a67,_0x2cb157){const _0x50cafb=_0x50ca();return _0x25fd=function(_0x25fda3,_0x4cc820){_0x25fda3=_0x25fda3-0x1e1;let _0x16805e=_0x50cafb[_0x25fda3];return _0x16805e;},_0x25fd(_0x542a67,_0x2cb157);}function _0x50ca(){const _0x297aad=['SUBMIT_CHANGESET_TIMEOUT','currentTheme$','distinctUntilChanged','LICENSE_EXPORT_SIZE_EXCEEDED','urlChange$','DocSelectionManagerService','Workbook','extend','INVITE_CODE_ALREADY_BOUND','UniverIcon','invokeId','CollaborationDataLoaderController','_onRefRangeChange','red300','AWAITING','_themeService','function','executeCommand','_roomMembers$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_instanceService','prototype','shareReplay','set','CollaborationController','cursorInfo$','getCollabEntity$','length','ILogService','_syncEditingCollabCursorService','WECHAT_HAS_BEEN_BOUND','drawWith','addClipboardHook','getActiveSheet','UniverDrawing','_transformService','find','CHANGESET_REVISION_CONFILICT','uni.network.url-service','@univerjs/design','InsertColCommandId','handleInsertRangeMoveRight','MUTATION','UniverInstanceType','requireSession','_initDependencies','IConfigService','top','dispose','getDocRanges','handleInsertCol','substring','TEXT_RANGE_LAYER_INDEX','init','sessionStatus$','_labelPosition','connectInjector','BrowserCollaborationSocketService','RemoteUniscriptService','_anchor','DEFAULT_WS_SESSION_TICKET_URL','INTERNAL_ERROR','sheetID','MessageType','search','_initEntityListener','toStringTag','removeParam','_updateCollabCursors','subunit','disableLocalCache','_revisionService','LOGIN_FAILED','_renderManagerService','attrs','collabStatus.fetchMiss','onPointerLeave$','_context','getTypeOfUnitAdded$','handleMoveRange','whenReady','INVITE_CODE_HAS_BEEN_UES','CollaborationStatus','PENDING','resize','Disposable','getUnitId','RxDisposable','SOCKET_FAILED_RETRY','exports','_collaborationUIEventService','_render','_unitOnClients','origin','TEXT','_disabled','path','ISocketService','collabStatus.conflict','Subject','flatMap','_notificationService','online','ColorKit','UniverCollaborationClientPlugin','parse','clipPath','transformSelections','icon','DisposableCollection','RegularPolygon','min','activeSheet$','11461920oLICth','5172681shxMOg','collaboration-client-ui.config','UNIVER_DOC','eventID','_refreshCollabCursors','disposeWithMe','enableLocalCache','defineProperty','useRef','HTTPService','SetSelectionsOperation','@univerjs/core','clearInterval','lineTo','YUUMI_SUBSCRIPTION_NOT_FOUND','split','EMAIL_HAS_BEEN_BOUND','_session','IDocClipboardService','BuiltInUIPart','getSheetId','_handleLeaveEvent','current','INVITE_CODE_REQUIRED','univer-online','stringify','SheetsSelectionsService','@univerjs/engine-render','off-line-single','permission.content','InsertRangeMoveRightCommandId','measureText','getTypeOfUnitDisposed$','YUUMI_URL_COL_OUT_OF_RANGE','mutations','IBeforeCloseService','RECT','FETCH_MISS','NodePositionConvertToRectRange','ACTIVE_UNIT_EVENT_CHANNEL','_saveCache','_doCreateSocket','APPLY_PERMISSION_DENIED','_urlService','round','_collabCursorState$','storage','0\x200\x2017\x2016','dispose$','Rect','NOT_FOUND','582433LEkaYu','fromEvent','mask','rxjs','CollaborationUIEventService','idSuffix','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','NOT_COLLAB','getMember','collab-rect-range-','_removeClearOtherTimer','map','RemoveColCommandId','13155541eRDCPg','symbol','LICENSE_DISTRO_REJECTED','UniverCore','cursorInfo','handleDeleteRangeMoveLeft','@univerjs/network','RemoveRowCommandId','backgroundColor','react','_selfUnitIDs','has','_getScale','override','_entities','DependentOn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','univer-online-status-icon','_uiPartsService','toString','subscribeEvent','COLORS','onCommandExecuted','handleIRemoveRow','endColumn','RefRangeService','merge','useCallback','CLOSE_ROOM','_startDocCollabCursor','getRelativeToViewportCoord','isTransformMutationsWithChangesetSuccess','replace','Failed','isArray','getValue','_registerRenderDependencies','collabStatus.syncing','unitID','getColor','pushState','Vector2','from','WebBrowserSingleActiveUnitService','_initStatusListener','displayName','@univerjs-pro/collaboration-client','InsertRowCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UniverSheetsUi','univer-flex\x20univer-items-center','SNAPSHOT_HAS_BEEN_REMOVED','show','font','propertyIsEnumerable','addObjects','getRenderById','transformRemoteChangeset','post','_cachedData','_draw','Injector','purple300','useObservable','_docClipboardService','syncEditingCollabCursor','_injector','IRenderManagerService','Inject','debounce','createIdentifier','unitId','_colorIndex','off-line-single_clip0_910_343','editingUnit','session.collaboration-timeout','IURLService','getActiveRange','docStateChange$','collaboration.single-unit.warning','none','SHEET_VIEWPORT_KEY','size','IMessageService','takeUntil','replaceDocRanges','TOO_MANY_REQUESTS','moveTo','delete','NO_OTHER_CLIENTS_EDITING','searchParams','_initResize','_cursorShapes','isTransformMutationFailure','univer-online-status-title','LICENSE_MAX_UNITS_EXCEEDED','SessionStatus','RevisionService','startsWith','58242609jrtlFS','_configService','_initCommandExecutedListener','BehaviorSubject','hasOwnProperty','_config','CommandType','_localStorageService','MemberService','rgba(255,\x20255,\x20255,\x200.01)','_refRangeService','_document','jsxs','ISnapshotServerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_memberService','OTHER_CLIENT_EDITING','name','_send','getMergeData','SheetSkeletonManagerService','FromArray','getParam','ILocalCacheService','_handleEvent','blue400','mapTo','@univerjs/rpc','Module','DOC_RANGE_TYPE','APPLY_REVISION_CONFILICT','UniverDesign','_scheduleClearOtherTimer','getOwnPropertyDescriptor','arc','ITransformService','concat','xlink:href','_getSheetObject','getVpScrollXYInfoByPosToVp','hide','get','_localeService','values','UniverUi','saveOfflineData','unshift','newValue','rxjs/operators','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UPDATE_CURSOR','onStarting','_docTransformSelectionsService','DocIMEInputManagerService','generateRandomId','transformMutationsWithChangeset','getItem','combineLatest','DeleteRangeMoveLeftCommandId','Error','handleIRemoveCol','getLocalCacheKey','_localCacheService','body','error','column','_drawRectRange','max','ranges','SheetCollabCursorShape','CONNECTOR_DATA_TOO_LARGE','CollaborationSessionService','CollaborationStatusDisplay','pipe','UniverProCollaboration','gold400','handleDeleteRangeMoveUp','collaboration-client.offline-data-not-saved','_init','_updateSubUnitFromURLParams','indexOf','registerRenderModule','next','collabStatus.notCollab','APPLY_NON_SEQUENTIAL_REVISION','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','collaboration.closeRoom','getCurrent','assignAColorForMemberID','[CollaborationDataLoaderController]','fill','Plugin','m1Prime','M0\x200H16V16H0z','collabStatus.offline','_handleHeartbeatEvent','_docSkeletonManagerService','row','setInterval','url(#$1','div','getCoordByCell','data','createElement','status$','entityInit$','_toggleOnline','_clearOtherTimers','Tools','add','UniverNetwork','string','onPointerMove$','registerBeforeClose','getSheetObject','_drawTextRange','_removeCollabCursors','translate(.97)','_setupSubUnitSync','setAlpha','_getAnchorBounding','getOwnPropertySymbols','_toggleOffline','WebSocketService','@univerjs/sheets-ui','type','getViewport','bottom','setItem','_transformPreviousActiveRange','collab-client.tooltip.reconnect','defIds','on-line-single_clip0_910_349','PY_RUNTIME_SCRIPT_ERROR','_collaborationController','children','collab-text-anchor-','_cursor','endRow','some','params','getUnhiddenWorksheets','random','undoState','ICommandService','SetWorksheetActivateCommand','m2Prime','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs-pro/collaboration','ENSURE_SNAPSHOT_EXECUTION','10WtNBjv','url(#on-line-single_clip0_910_349)','RichTextEditingMutation','EffectRefRangId','findNodePositionByCharIndex','UniverDocsUi','_onCursorUpdate','ILocalStorageService','forwardRef','1em','_univerInstanceService','UniverProCollaborationClientUi','addObject','UniverSheets','_docSyncEditingCollabCursorService','UNRECOGNIZED','_entityInit$','onlineStatusIcon','_range','forEach','call','startRow','univer-offline','range','colorChannel1','getConfig','getCurrentSelections','runId','_getSessionTicket','beginPath','@univerjs/ui','source','transformMutation','_transformHistoryAndStateStack','@univerjs/engine-formula','_status$','push','_eventUnsubscribe','runRefRangeMutations','6vQfNAA','black','_sheetSkeletonManagerService','jsx','_saveTaskMap','OFFLINE','replaceState','_httpService','fillText','subUnitId','color','restore','_scheduleSaving','SetDocZoomRatioOperation','hovered','DataLoaderService','UNAUTHENTICATED','_cursorInfo$','4UjkzcM','_hovered','getCurrentUnitForType','_messageService','fillStyle','className','touchDependencies','disposeUnit','operators','all','_color','_beforeCloseService','_id','_anchorDot','_updateURLWithCurrentState','UniverProCollaborationClient','OTHER_CLIENTS_EDITING','href','redoState','_online','roomMembers','assign','_logService','handleInsertRow','complete','contains','Shape','Warning','runOnServer','defs','INVALID_INVITE_CODE','_collabSessionService','clearTimeout','getSkeleton','onTransformChange$','registerRefRange','Unknown\x20user','closePath','height','YUUMI_UNABLE_LOAD_URL','_getMergeRange','currentColor','_imageIoService','USERS_LEAVE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursors','use','1001912OwIgGz','UNIVER_SHEET','session.will-retry','session.connection-failed','labelPosition','object','_heartbeatTimer','tag','clsx','registerComponent','text','INVALID_ARGUMENT','_shapes','_updateLocalCursor','LocaleService','entries','onPointerEnter$','deepClone','location','@univerjs/sheets','UNDEFINED','history','_transformUndoRedoStack','switchMap','_ensureSubject','executionId','toRgbString','_textBubble','with','getStateCache','React','filter','PERMISSION_DENIED','setShapeProps','...','unsubscribe','COMPLETION_FINISHED','APPLY_DUPLICATED','SYNCED','_initEvent','getFocusedUnit','CONFLICT','reconnect','ThemeService','_dataLoaderService','setConfig','JOIN_ROOM_FAILED','selections','_scene','mergeOverrideWithDependencies','code','VIEW_MAIN','_setupBeforeClosingHandler','_hover','_drawAnchor','memberID','DocStateChangeManagerService','_docStateChangeManagerService','DocCollaborationEntity','getCurrentRevOfUnit','2138630IohQru','getMemberID','0\x200\x2016\x2016','#FFF','_registerDependencies','popstate','_collabCursorController','_hideTimer','WebURLService','save','_unitStatus','fromEventSubject','UnitStatus','_docTransformStateCacheService','actions','AWAITING_WITH_PENDING','debounceTime','#fff','_initStatusComponent','serializeRangeWithSheet','DesktopCollaborationStatusDisplayController','getUnitStatus$','_commandService','_onCursorDelete','svg','event$','IUniverInstanceService','CollaborationEvent','selection','textRanges','_handleJoinEvent','subscribe','@univerjs/docs','_scheduleHeartbeat','handleInsertRangeMoveDown','transformIMECache','UniverCollaborationClientUIPlugin','CollaborationUIEventId','react/jsx-runtime','_backgroundColor','onMouseMove','_name','application/json','MOBILE_HAS_BEEN_BOUND','amd','getSheetBySheetId','createInstance','_startSheetCollabCursor','_createSocketURL','asObservable','_docSkeleton','useDependency','_lastPointer','Rectangle','_colorAssignService','doc.mutation.rich-text-editing','width','setActiveRange','exhaustSavingTask','saveImage','registerDependencies','send','YUUMI_RATE_OVER_LIMIT','deserializeRangeWithSheet','ALREADY_EXISTS','_assignedColors','roomMembers$','setParam','saveTaskMap','getRangePointData','UniverDocs'];_0x50ca=function(){return _0x297aad;};return _0x50ca();}
|