@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505251606 → 0.8.0-beta.0
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 +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x965377=_0x18ab;(function(_0x44c21c,_0xd5d218){const _0x18c3ea=_0x18ab,_0x13158d=_0x44c21c();while(!![]){try{const _0x28e2b4=-parseInt(_0x18c3ea(0x17d))/0x1+-parseInt(_0x18c3ea(0x174))/0x2+parseInt(_0x18c3ea(0x17c))/0x3*(-parseInt(_0x18c3ea(0x178))/0x4)+parseInt(_0x18c3ea(0x17b))/0x5*(parseInt(_0x18c3ea(0x171))/0x6)+-parseInt(_0x18c3ea(0x170))/0x7*(-parseInt(_0x18c3ea(0x172))/0x8)+-parseInt(_0x18c3ea(0x175))/0x9+parseInt(_0x18c3ea(0x176))/0xa;if(_0x28e2b4===_0xd5d218)break;else _0x13158d['push'](_0x13158d['shift']());}catch(_0x27c3d8){_0x13158d['push'](_0x13158d['shift']());}}}(_0x19cf,0x3bb03));function _0x18ab(_0x487a4d,_0x51a106){const _0x19cfe5=_0x19cf();return _0x18ab=function(_0x18aba6,_0x352130){_0x18aba6=_0x18aba6-0x170;let _0x2f456f=_0x19cfe5[_0x18aba6];return _0x2f456f;},_0x18ab(_0x487a4d,_0x51a106);}function _0x19cf(){const _0x5b4d07=['2024496VUiKtP','6246200MUCsha','extend','50928JDXTmP','FUniver','@univerjs-pro/collaboration-client-ui','886715ZEYPmj','3gcKoHV','243191GnhQnp','51947hChupe','6lMZQRy','440XrWVds','_injector','969536RQBdDC'];_0x19cf=function(){return _0x5b4d07;};return _0x19cf();}const t=require(_0x965377(0x17a)),e=require('@univerjs/core/facade');class c extends e['FUniver']{['runOnServer'](_0x4d8661,_0x4b3b8a,..._0x258199){const _0x383f24=_0x965377;return this[_0x383f24(0x173)]['get'](t['RemoteUniscriptService'])['runOnServer'](_0x4d8661,_0x4b3b8a,{},..._0x258199);}}e[_0x965377(0x179)][_0x965377(0x177)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x49162d=_0x1009;(function(_0x364ad0,_0x599e31){const _0x557d8f=_0x1009,_0x2fceef=_0x364ad0();while(!![]){try{const _0x233a28=parseInt(_0x557d8f(0xd4))/0x1+parseInt(_0x557d8f(0x226))/0x2+parseInt(_0x557d8f(0x130))/0x3*(parseInt(_0x557d8f(0xf8))/0x4)+-parseInt(_0x557d8f(0x1a7))/0x5*(parseInt(_0x557d8f(0x1d7))/0x6)+parseInt(_0x557d8f(0x1b6))/0x7+parseInt(_0x557d8f(0x294))/0x8+-parseInt(_0x557d8f(0x21e))/0x9;if(_0x233a28===_0x599e31)break;else _0x2fceef['push'](_0x2fceef['shift']());}catch(_0x21ef06){_0x2fceef['push'](_0x2fceef['shift']());}}}(_0x4fda,0x57053));var Ve=Object[_0x49162d(0x7f)],Xe=(_0xcc1a90,_0x577ae3,_0x5c8812)=>_0x577ae3 in _0xcc1a90?Ve(_0xcc1a90,_0x577ae3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c8812}):_0xcc1a90[_0x577ae3]=_0x5c8812,h=(_0x5bee23,_0x241924,_0x1bdfbd)=>Xe(_0x5bee23,typeof _0x241924!='symbol'?_0x241924+'':_0x241924,_0x1bdfbd);Object[_0x49162d(0x7f)](exports,Symbol[_0x49162d(0xb4)],{'value':'Module'});const u=require(_0x49162d(0x84)),a=require('@univerjs/core'),p=require(_0x49162d(0x16e)),G=require('@univerjs/network'),b=require(_0x49162d(0x1c9)),Ge=require(_0x49162d(0x28e)),d=require('rxjs'),Y=require(_0x49162d(0x1bb)),m=require(_0x49162d(0x27a)),Ee=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require(_0x49162d(0x16f)),P=require('react/jsx-runtime'),T=require('@univerjs/ui'),D=require(_0x49162d(0x1eb)),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object[_0x49162d(0x20a)],ze=(_0x8a1b1,_0x552072,_0x3fbe0b,_0x5f5093)=>{for(var _0x5d9a06=_0x5f5093>0x1?void 0x0:_0x5f5093?qe(_0x552072,_0x3fbe0b):_0x552072,_0x49dd13=_0x8a1b1['length']-0x1,_0x39d770;_0x49dd13>=0x0;_0x49dd13--)(_0x39d770=_0x8a1b1[_0x49dd13])&&(_0x5d9a06=_0x39d770(_0x5d9a06)||_0x5d9a06);return _0x5d9a06;},Te=(_0x4a6bcc,_0xf1b2a9)=>(_0x1c687f,_0x4a7286)=>_0xf1b2a9(_0x1c687f,_0x4a7286,_0x4a6bcc);let de=class extends a[_0x49162d(0xe0)]{constructor(_0x1da3ab,_0x112292){const _0xf24e62=_0x49162d;super(),this[_0xf24e62(0x28d)]=_0x1da3ab,this[_0xf24e62(0x194)]=_0x112292,this[_0xf24e62(0x258)]();}['_init'](){const _0x404bc1=_0x49162d,_0x2df214=this;this['disposeWithMe'](this[_0x404bc1(0x28d)][_0x404bc1(0x298)]({'onBeforePasteImage':async _0x41e15c=>{const _0x50839d=_0x404bc1,_0x4b6086=await _0x2df214[_0x50839d(0x194)][_0x50839d(0x11d)](_0x41e15c);return _0x4b6086?{'source':_0x4b6086[_0x50839d(0x14e)],'imageSourceType':_0x4b6086[_0x50839d(0x181)]}:null;}}));}};de=ze([Te(0x0,b[_0x49162d(0x247)]),Te(0x1,Ge['IImageIoService'])],de);const Oe=[_0x49162d(0x23d),'jiqing.500',_0x49162d(0x2f2),_0x49162d(0x1f8),_0x49162d(0x2e3),_0x49162d(0x179)];class me extends a[_0x49162d(0x1ad)]{constructor(){const _0x81d3f0=_0x49162d;super(...arguments),h(this,_0x81d3f0(0x114),new Map()),h(this,_0x81d3f0(0x282),0x0);}['assignAColorForMemberID'](_0x2e8636){const _0x6eb1da=_0x49162d;if(this[_0x6eb1da(0x114)][_0x6eb1da(0x17c)](_0x2e8636))return this[_0x6eb1da(0x114)][_0x6eb1da(0x150)](_0x2e8636);const _0x1a87e7=Oe[this['_colorIndex']];return this['_colorIndex']=(this[_0x6eb1da(0x282)]+0x1)%Oe[_0x6eb1da(0x2b1)],this['_assignedColors'][_0x6eb1da(0x15a)](_0x2e8636,_0x1a87e7),_0x1a87e7;}}function Pe(_0x48f68e){const _0x2493ac=_0x49162d;let _0x243ab3='';for(const _0x37db00 of _0x48f68e){const {startOffset:_0x539079,endOffset:_0x24e4c8,isActive:_0x1bee8f,rangeType:_0xce8f66,segmentId:_0x4e58fb,segmentPage:_0x8255da}=_0x37db00;_0x243ab3[_0x2493ac(0x2b1)]&&(_0x243ab3+=','),_0x243ab3+=_0x539079+':'+_0x24e4c8+':'+(_0x1bee8f?'1':'0')+':'+_0xce8f66+':'+_0x4e58fb+':'+_0x8255da;}return _0x243ab3;}function Je(_0x9eb104){const _0x1fb76a=_0x49162d,_0xef8780=_0x9eb104[_0x1fb76a(0x13f)](','),_0x141e9c=[];for(const _0x5ee43c of _0xef8780){const [_0x4f179b,_0x547887,_0x426362,_0x43ca4a,_0x1fce36,_0x38b0dd]=_0x5ee43c[_0x1fb76a(0x13f)](':');_0x141e9c[_0x1fb76a(0x2aa)]({'startOffset':Number(_0x4f179b),'endOffset':Number(_0x547887),'collapsed':_0x4f179b===_0x547887,'isActive':_0x426362==='1','rangeType':_0x43ca4a===a[_0x1fb76a(0x100)][_0x1fb76a(0x124)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x1fb76a(0x100)]['RECT'],'segmentId':typeof _0x1fce36=='string'?String(_0x1fce36):'','segmentPage':Number(_0x38b0dd!=null?_0x38b0dd:-0x1)});}return _0x141e9c[_0x1fb76a(0x17b)](_0x151aa4=>_0x151aa4[_0x1fb76a(0x29a)])||(_0x141e9c[0x0][_0x1fb76a(0x29a)]=!0x0),_0x141e9c;}class Ce extends a[_0x49162d(0xe0)]{constructor(){const _0x5197ba=_0x49162d;super(...arguments),h(this,_0x5197ba(0x8c),new d['BehaviorSubject'](null)),h(this,_0x5197ba(0x106),this[_0x5197ba(0x8c)][_0x5197ba(0x10f)]());}['syncEditingCollabCursor'](_0x58fed4){const _0xef0873=_0x49162d,{unitID:_0x40456b,memberID:_0x12ec36,textRanges:_0x57e390}=_0x58fed4,_0x8d7288=Pe(_0x57e390);if(_0x8d7288==='')return;const _0x1c516a={'unitID':_0x40456b,'memberID':_0x12ec36,'selection':_0x8d7288};this[_0xef0873(0x8c)][_0xef0873(0x151)](_0x1c516a);}}var Ze=Object[_0x49162d(0x20a)],Qe=(_0x2afa09,_0x3b6a71,_0x31732f,_0x2fc871)=>{const _0xa9d32=_0x49162d;for(var _0xba07b4=_0x2fc871>0x1?void 0x0:_0x2fc871?Ze(_0x3b6a71,_0x31732f):_0x3b6a71,_0x2da377=_0x2afa09[_0xa9d32(0x2b1)]-0x1,_0x1f2bde;_0x2da377>=0x0;_0x2da377--)(_0x1f2bde=_0x2afa09[_0x2da377])&&(_0xba07b4=_0x1f2bde(_0xba07b4)||_0xba07b4);return _0xba07b4;},L=(_0x4b2bde,_0x11d31b)=>(_0x3c7e47,_0x2bc3c6)=>_0x11d31b(_0x3c7e47,_0x2bc3c6,_0x4b2bde);const et=0x12c,tt=0x64;let fe=class extends a[_0x49162d(0xe0)]{constructor(_0x3d4cb6,_0x151c6d,_0x4f0992,_0x4e94ce,_0x5a9954,_0x9def9b,_0x3c7997,_0x4d0711,_0x181bd7){const _0xc3a89b=_0x49162d;super(),h(this,_0xc3a89b(0x213),!0x1),h(this,_0xc3a89b(0x258),!0x1),h(this,_0xc3a89b(0x7d),new d[(_0xc3a89b(0xf7))](new Map())),h(this,_0xc3a89b(0x2ee),this['_cursorInfo$']['asObservable']()),h(this,_0xc3a89b(0x236),new d[(_0xc3a89b(0xf7))]([])),h(this,_0xc3a89b(0x18a),this[_0xc3a89b(0x236)][_0xc3a89b(0x1b3)](d[_0xc3a89b(0x80)](et))),h(this,'_updateLocalCursor',a[_0xc3a89b(0x2f6)](_0x36a17b=>{const _0x2ac55b=_0xc3a89b,_0x346265={'eventID':m[_0x2ac55b(0x192)][_0x2ac55b(0x223)],'data':{'unitID':this[_0x2ac55b(0x143)],'memberID':this[_0x2ac55b(0x293)][_0x2ac55b(0x14c)](),'selection':Pe(_0x36a17b)}};this[_0x2ac55b(0x293)][_0x2ac55b(0x190)](_0x346265,this['unitID']);},tt)),(this[_0xc3a89b(0x143)]=_0x3d4cb6,this[_0xc3a89b(0x293)]=_0x151c6d,this[_0xc3a89b(0xd5)]=_0x4f0992,this['_colorAssignService']=_0x4e94ce,this['_memberService']=_0x5a9954,this['_syncEditingCollabCursorService']=_0x9def9b,this[_0xc3a89b(0x172)]=_0x3c7997,this[_0xc3a89b(0x19f)]=_0x4d0711,this[_0xc3a89b(0x2b8)]=_0x181bd7);}get[_0x49162d(0xe4)](){const _0x2fb9e4=_0x49162d;return this[_0x2fb9e4(0x7d)][_0x2fb9e4(0xd1)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x49162d(0x205)](){const _0xd7df15=_0x49162d;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0xd7df15(0x10c)](),this[_0xd7df15(0x236)][_0xd7df15(0x151)]([]),this[_0xd7df15(0x236)][_0xd7df15(0x10c)]();}[_0x49162d(0x21c)](){const _0x444d9f=_0x49162d;this['_init']||(this[_0x444d9f(0x258)]=!0x0,this[_0x444d9f(0x293)][_0x444d9f(0x1f5)]['pipe'](d[_0x444d9f(0x21f)](this[_0x444d9f(0x9d)]))[_0x444d9f(0x168)](_0x3b5f99=>{const _0xae8d1a=_0x444d9f;_0x3b5f99===u[_0xae8d1a(0xef)][_0xae8d1a(0x268)]?this[_0xae8d1a(0x233)]():this[_0xae8d1a(0x306)]();}),this['_session'][_0x444d9f(0x169)][_0x444d9f(0x1b3)](d[_0x444d9f(0x21f)](this[_0x444d9f(0x9d)]))['subscribe'](_0x3afd3e=>{const _0x3392d4=_0x444d9f,_0x383421=_0x3afd3e[_0x3392d4(0xea)];_0x383421===m['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3392d4(0x131)](_0x3afd3e),_0x383421===m[_0x3392d4(0x192)][_0x3392d4(0x2ed)]&&this[_0x3392d4(0x2ae)](_0x3afd3e);}),this[_0x444d9f(0x287)](this[_0x444d9f(0x2b8)][_0x444d9f(0xf6)](_0x4fcc05=>{const _0x517f7c=_0x444d9f,_0x27faf8=_0x4fcc05[_0x517f7c(0x2d4)];_0x27faf8!=null&&this[_0x517f7c(0x213)]&&_0x4fcc05['id']===Y[_0x517f7c(0xbd)]['id']&&_0x27faf8[_0x517f7c(0xd6)]===this[_0x517f7c(0x143)]&&_0x27faf8['isEditing']===!0x1&&_0x27faf8[_0x517f7c(0x95)][_0x517f7c(0x2b1)]>0x0&&this[_0x517f7c(0xa7)](_0x27faf8['ranges']);})),this[_0x444d9f(0x2bb)][_0x444d9f(0x106)]['pipe'](d['takeUntil'](this[_0x444d9f(0x9d)]))[_0x444d9f(0x168)](_0x2ddfa9=>{const _0x3c8de2=_0x444d9f;if((_0x2ddfa9==null?void 0x0:_0x2ddfa9['unitID'])!==this[_0x3c8de2(0x143)])return;const _0x4d5e2b={'eventID':m['CollaborationEvent'][_0x3c8de2(0x223)],'data':_0x2ddfa9};this[_0x3c8de2(0x131)](_0x4d5e2b);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x47b2f3=>{const _0x16cd2e=_0x444d9f;if(_0x47b2f3[_0x16cd2e(0x2d4)]==null)return;const _0x503d4a=_0x47b2f3['params'];if(_0x47b2f3['id']!==Y[_0x16cd2e(0x2db)]['id']||_0x503d4a[_0x16cd2e(0xd6)]!==this[_0x16cd2e(0x143)])return;const _0x498b73={'id':_0x16cd2e(0xb3),'params':_0x503d4a},_0x42b789=this[_0x16cd2e(0xe4)];for(const [_0x599f1c,_0x418d15]of _0x42b789){const _0x4cbc5c={'id':_0x16cd2e(0xb3),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x418d15[_0x16cd2e(0x95)]}},_0xd16aa9=this['_transformService']['transformMutation'](_0x498b73,_0x4cbc5c,!0x1);if(m[_0x16cd2e(0xa0)](_0xd16aa9))throw _0xd16aa9[_0x16cd2e(0x252)];_0x42b789[_0x16cd2e(0x15a)](_0x599f1c,{..._0x418d15,'ranges':_0xd16aa9[_0x16cd2e(0x203)][_0x16cd2e(0x2d4)][_0x16cd2e(0x2b7)]});}queueMicrotask(()=>{const _0x4fb1ff=_0x16cd2e;this[_0x4fb1ff(0x7d)][_0x4fb1ff(0x151)](_0x42b789);});})));}[_0x49162d(0x131)](_0x1ccd14){const _0x39b819=_0x49162d;var _0x409b55,_0x12341b;const {memberID:_0x27e6be,selection:_0x56a911}=_0x1ccd14['data'],_0x3ea785=Je(_0x56a911),_0x24fa86=(_0x12341b=(_0x409b55=this[_0x39b819(0x178)][_0x39b819(0x1c6)](this[_0x39b819(0x143)],_0x27e6be))==null?void 0x0:_0x409b55['name'])!=null?_0x12341b:'Unknown\x20user',_0x49de1c={'color':this[_0x39b819(0xe9)][_0x39b819(0x2fe)](_0x27e6be),'name':_0x24fa86,'ranges':_0x3ea785},_0x57e96a=this[_0x39b819(0xe4)];_0x57e96a[_0x39b819(0x15a)](_0x27e6be,_0x49de1c),this[_0x39b819(0x7d)]['next'](_0x57e96a);}['_onCursorDelete'](_0x2fbbad){const _0x6692ec=_0x49162d,{memberID:_0x28da7f}=_0x2fbbad[_0x6692ec(0x24d)],_0x2b9e55=this['cursorInfo'];_0x2b9e55[_0x6692ec(0x16c)](_0x28da7f),this[_0x6692ec(0x7d)][_0x6692ec(0x151)](_0x2b9e55);}[_0x49162d(0x233)](){const _0x487f3c=_0x49162d;var _0x1097e0;if(this[_0x487f3c(0x213)]=!0x0,((_0x1097e0=this[_0x487f3c(0x19f)][_0x487f3c(0x1fc)]())==null?void 0x0:_0x1097e0[_0x487f3c(0x2e9)]())!==this[_0x487f3c(0x143)])return;const _0x5d1170=this[_0x487f3c(0xd5)][_0x487f3c(0x150)](Y[_0x487f3c(0x186)])[_0x487f3c(0x2e1)]();Array['isArray'](_0x5d1170)&&_0x5d1170[_0x487f3c(0x2b1)]>0x0&&this[_0x487f3c(0xa7)](_0x5d1170);}['_toggleOffline'](){const _0x246df3=_0x49162d;this[_0x246df3(0x213)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a[_0x49162d(0x87)])),L(0x3,a[_0x49162d(0xad)](me)),L(0x4,a[_0x49162d(0xad)](u[_0x49162d(0x296)])),L(0x5,a[_0x49162d(0xad)](Ce)),L(0x6,m[_0x49162d(0x273)]),L(0x7,a[_0x49162d(0x280)]),L(0x8,a[_0x49162d(0x21a)])],fe);var st=Object[_0x49162d(0x20a)],it=(_0x243bfe,_0x459190,_0xf264ec,_0x3e8728)=>{for(var _0x4b2ed3=_0x3e8728>0x1?void 0x0:_0x3e8728?st(_0x459190,_0xf264ec):_0x459190,_0x39eeac=_0x243bfe['length']-0x1,_0x5a5ee9;_0x39eeac>=0x0;_0x39eeac--)(_0x5a5ee9=_0x243bfe[_0x39eeac])&&(_0x4b2ed3=_0x5a5ee9(_0x4b2ed3)||_0x4b2ed3);return _0x4b2ed3;},w=(_0x29109f,_0x311bda)=>(_0x524a14,_0x5797c5)=>_0x311bda(_0x524a14,_0x5797c5,_0x29109f);const nt=0x12c,rt=0x64,ot=()=>{let _0xa0a39f=[],_0x1a9a23=!0x1;return _0x464b7a=>{const _0x44c74e=_0x1009;_0xa0a39f[_0x44c74e(0x2aa)](_0x464b7a),_0x1a9a23||(_0x1a9a23=!0x0,setTimeout(()=>{const _0x384e5f=_0x44c74e;_0xa0a39f[_0x384e5f(0x207)](_0x267a7a=>_0x267a7a()),_0xa0a39f=[],_0x1a9a23=!0x1;}));};};let Se=class extends a[_0x49162d(0xe0)]{constructor(_0x19c070,_0x54d987,_0x12230e,_0x2fc14a,_0x34c723,_0x3c83e5,_0x3d042f,_0x5ad0b9){const _0x39802b=_0x49162d;super(),h(this,_0x39802b(0x213),!0x1),h(this,_0x39802b(0x258),!0x1),h(this,_0x39802b(0x7d),new d[(_0x39802b(0xf7))](new Map())),h(this,'cursorInfo$',this['_cursorInfo$'][_0x39802b(0x10f)]()),h(this,_0x39802b(0x236),new d[(_0x39802b(0xf7))]([])),h(this,_0x39802b(0x18a),this[_0x39802b(0x236)][_0x39802b(0x1b3)](d[_0x39802b(0x80)](nt))),h(this,_0x39802b(0xa7),a[_0x39802b(0x2f6)]((_0x2c8e1a,_0xde114f)=>{const _0x5b494c=_0x39802b,_0x2b3147={'eventID':m[_0x5b494c(0x192)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5b494c(0x143)],'memberID':this[_0x5b494c(0x293)][_0x5b494c(0x14c)](),'selection':Ee[_0x5b494c(0x20b)](_0x2c8e1a,_0xde114f[_0x5b494c(0x201)])}};this['_session'][_0x5b494c(0x190)](_0x2b3147,this[_0x5b494c(0x143)]);},rt)),(this['unitID']=_0x19c070,this[_0x39802b(0x293)]=_0x54d987,this[_0x39802b(0xd5)]=_0x12230e,this[_0x39802b(0xe9)]=_0x2fc14a,this[_0x39802b(0x178)]=_0x34c723,this[_0x39802b(0x19f)]=_0x3c83e5,this[_0x39802b(0x2b8)]=_0x3d042f,this[_0x39802b(0x145)]=_0x5ad0b9);}get[_0x49162d(0xe4)](){const _0x1b1eef=_0x49162d;return this[_0x1b1eef(0x7d)][_0x1b1eef(0xd1)]();}get[_0x49162d(0x155)](){const _0x29bff6=_0x49162d;return this[_0x29bff6(0x236)]['getValue']();}[_0x49162d(0x205)](){const _0x8adafa=_0x49162d;super['dispose'](),this[_0x8adafa(0x7d)][_0x8adafa(0x151)](new Map()),this[_0x8adafa(0x7d)][_0x8adafa(0x10c)](),this['_roomMembers$'][_0x8adafa(0x151)]([]),this[_0x8adafa(0x236)][_0x8adafa(0x10c)]();}[_0x49162d(0x21c)](){const _0x299631=_0x49162d;this[_0x299631(0x258)]||(this[_0x299631(0x258)]=!0x0,this[_0x299631(0x293)][_0x299631(0x1f5)][_0x299631(0x1b3)](d[_0x299631(0x21f)](this['dispose$']))[_0x299631(0x168)](_0x46bf35=>{const _0x1ac1c=_0x299631;_0x46bf35===u[_0x1ac1c(0xef)][_0x1ac1c(0x268)]?this[_0x1ac1c(0x233)]():this[_0x1ac1c(0x306)]();}),this[_0x299631(0x293)][_0x299631(0x169)][_0x299631(0x1b3)](d[_0x299631(0x21f)](this['dispose$']))[_0x299631(0x168)](_0x2574ba=>{const _0x205a55=_0x299631,_0x3fd703=_0x2574ba[_0x205a55(0xea)];_0x3fd703===m[_0x205a55(0x192)][_0x205a55(0x223)]&&this[_0x205a55(0x131)](_0x2574ba),_0x3fd703===m[_0x205a55(0x192)]['USERS_LEAVE']&&this[_0x205a55(0x2ae)](_0x2574ba);}),this[_0x299631(0x1e9)](),this[_0x299631(0x287)](this[_0x299631(0x2b8)][_0x299631(0xf6)](_0x120404=>{const _0x2c6f98=_0x299631;if(this[_0x2c6f98(0x213)]&&_0x120404['id']===g[_0x2c6f98(0x86)]['id']&&_0x120404['params'][_0x2c6f98(0xd6)]===this['unitID']){const _0x59a80d=_0x120404[_0x2c6f98(0x2d4)];this[_0x2c6f98(0xa7)](_0x59a80d[_0x2c6f98(0xcf)],_0x59a80d[_0x2c6f98(0x253)][0x0]);}})));}[_0x49162d(0x131)](_0x2cef5e){const _0x27a104=_0x49162d;var _0x1f3ca6,_0x2b5470;const {memberID:_0x25061a,selection:_0x5ae814}=_0x2cef5e[_0x27a104(0x24d)],{sheetName:_0x43a769,range:_0x1927ed}=Ee[_0x27a104(0x141)](_0x5ae814),_0x5a6273={'name':(_0x2b5470=(_0x1f3ca6=this[_0x27a104(0x178)][_0x27a104(0x1c6)](this[_0x27a104(0x143)],_0x25061a))==null?void 0x0:_0x1f3ca6['name'])!=null?_0x2b5470:_0x27a104(0x12c),'range':this[_0x27a104(0x2e4)](_0x43a769,_0x1927ed),'sheetID':_0x43a769,'color':this[_0x27a104(0xe9)][_0x27a104(0x2fe)](_0x25061a),'selection':_0x5ae814},_0x5724c0=this[_0x27a104(0xe4)];_0x5724c0[_0x27a104(0x15a)](_0x25061a,_0x5a6273),this[_0x27a104(0x7d)][_0x27a104(0x151)](_0x5724c0);}[_0x49162d(0x2ae)](_0xdebb9a){const _0x25989=_0x49162d,{memberID:_0x4c460f}=_0xdebb9a[_0x25989(0x24d)],_0x8c2170=this['cursorInfo'];_0x8c2170[_0x25989(0x16c)](_0x4c460f),this['_cursorInfo$'][_0x25989(0x151)](_0x8c2170);}['_getMergeRange'](_0x35c18d,_0x3766a5){const _0x14a706=_0x49162d;var _0x35dada,_0x33dca8;const _0x4d72c4=(_0x33dca8=(_0x35dada=this[_0x14a706(0x19f)][_0x14a706(0x259)](this[_0x14a706(0x143)]))==null?void 0x0:_0x35dada[_0x14a706(0xa4)](_0x35c18d))==null?void 0x0:_0x33dca8[_0x14a706(0x1b4)]();return(_0x4d72c4==null?void 0x0:_0x4d72c4['find'](_0x2b72b1=>a[_0x14a706(0x1da)][_0x14a706(0x216)](_0x2b72b1,_0x3766a5)))||_0x3766a5;}['_onRefRangeChange'](){const _0x16b630=_0x49162d,_0xb04fb4=new a[(_0x16b630(0x11a))](),_0x2f2456=ot(),_0x118d94=()=>{const _0x40377a=_0x16b630;_0xb04fb4[_0x40377a(0x205)]();const _0x55778b=(_0x44fcb7,_0x2036f0,_0x28f2bc,_0x4ada08)=>{const _0x509ff2=_0x40377a;let _0xc8df75=[];switch(_0x44fcb7['id']){case g[_0x509ff2(0xc7)][_0x509ff2(0xc9)]:{_0xc8df75=g[_0x509ff2(0xbe)](_0x44fcb7,_0x4ada08);break;}case g[_0x509ff2(0xc7)][_0x509ff2(0x2ba)]:{_0xc8df75=g['handleDeleteRangeMoveUp'](_0x44fcb7,_0x4ada08);break;}case g['EffectRefRangId'][_0x509ff2(0x290)]:{_0xc8df75=g[_0x509ff2(0x1d3)](_0x44fcb7,_0x4ada08);break;}case g[_0x509ff2(0xc7)][_0x509ff2(0x24e)]:{_0xc8df75=g['handleInsertRangeMoveDown'](_0x44fcb7,_0x4ada08);break;}case g[_0x509ff2(0xc7)][_0x509ff2(0x7e)]:{_0xc8df75=g[_0x509ff2(0x2e0)](_0x44fcb7,_0x4ada08);break;}case g[_0x509ff2(0xc7)][_0x509ff2(0x231)]:{_0xc8df75=g[_0x509ff2(0x222)](_0x44fcb7,_0x4ada08);break;}case g[_0x509ff2(0xc7)]['MoveRangeCommandId']:{_0xc8df75=g['handleMoveRange'](_0x44fcb7,_0x4ada08);break;}case g[_0x509ff2(0xc7)]['RemoveColCommandId']:{_0xc8df75=g['handleIRemoveCol'](_0x44fcb7,_0x4ada08);break;}case g[_0x509ff2(0xc7)][_0x509ff2(0x7c)]:{_0xc8df75=g['handleIRemoveRow'](_0x44fcb7,_0x4ada08);break;}}const _0x3b7f14=g[_0x509ff2(0x1d2)](_0xc8df75,_0x4ada08),_0x29a37c=this[_0x509ff2(0xe4)]['get'](_0x2036f0);if(_0x29a37c&&_0x3b7f14){const _0x1fd400={..._0x29a37c,'range':_0x3b7f14};this[_0x509ff2(0xe4)][_0x509ff2(0x15a)](_0x2036f0,_0x1fd400),_0x2f2456(()=>{const _0x8f1e28=_0x509ff2,_0xb38c75=this['_refRangeService'][_0x8f1e28(0xb7)](_0x3b7f14,_0x277b29=>(_0xb38c75[_0x8f1e28(0x205)](),_0x55778b(_0x277b29,_0x2036f0,_0x28f2bc,_0x3b7f14)));_0xb04fb4[_0x8f1e28(0x23f)](_0xb38c75);});}return{'redos':[],'undos':[]};};this[_0x40377a(0xe4)][_0x40377a(0x207)]((_0x44f239,_0x567fc7)=>{const _0x157259=_0x40377a,{range:_0x1e95c4,sheetID:_0x2af4df}=_0x44f239,_0x504345=this['_refRangeService'][_0x157259(0xb7)](_0x1e95c4,_0x1d1888=>(_0x504345[_0x157259(0x205)](),_0x55778b(_0x1d1888,_0x567fc7,_0x2af4df,_0x1e95c4)));_0xb04fb4['add'](_0x504345);});};this[_0x16b630(0x287)](a[_0x16b630(0x182)](this[_0x16b630(0x7d)]['subscribe'](()=>{_0x118d94();})));}[_0x49162d(0x233)](){const _0x569fc6=_0x49162d;var _0x2651c4,_0x5ba0e2;if(this[_0x569fc6(0x213)]=!0x0,((_0x2651c4=this['_univerInstanceService'][_0x569fc6(0x1fc)]())==null?void 0x0:_0x2651c4[_0x569fc6(0x2e9)]())!==this[_0x569fc6(0x143)])return;const _0x45f33d=(_0x5ba0e2=this[_0x569fc6(0xd5)]['get'](g[_0x569fc6(0x2b6)])[_0x569fc6(0x111)]())==null?void 0x0:_0x5ba0e2[0x0],_0x32c3e2=this[_0x569fc6(0x19f)]['getCurrentUnitForType'](a[_0x569fc6(0x2e7)][_0x569fc6(0x160)])['getActiveSheet']();_0x45f33d&&_0x32c3e2&&this[_0x569fc6(0xa7)](_0x32c3e2[_0x569fc6(0x2fa)](),_0x45f33d);}[_0x49162d(0x306)](){this['_online']=!0x1;}};Se=it([w(0x2,a[_0x49162d(0xad)](a[_0x49162d(0x87)])),w(0x3,a[_0x49162d(0xad)](me)),w(0x4,a['Inject'](u[_0x49162d(0x296)])),w(0x5,a['IUniverInstanceService']),w(0x6,a[_0x49162d(0x21a)]),w(0x7,a[_0x49162d(0xad)](g[_0x49162d(0x1e3)]))],Se);var at=Object[_0x49162d(0x20a)],ct=(_0x4132b5,_0x5b64b0,_0x3a9346,_0x5352dc)=>{for(var _0x2f45f4=_0x5352dc>0x1?void 0x0:_0x5352dc?at(_0x5b64b0,_0x3a9346):_0x5b64b0,_0x236dda=_0x4132b5['length']-0x1,_0xfbb68a;_0x236dda>=0x0;_0x236dda--)(_0xfbb68a=_0x4132b5[_0x236dda])&&(_0x2f45f4=_0xfbb68a(_0x2f45f4)||_0x2f45f4);return _0x2f45f4;},ie=(_0x4f6bee,_0x4995da)=>(_0x3a12b7,_0x47462c)=>_0x4995da(_0x3a12b7,_0x47462c,_0x4f6bee);let x=class extends a[_0x49162d(0xe0)]{constructor(_0x5cd5e1,_0x379e81,_0x2d0f87){const _0x2bdae5=_0x49162d;super(),h(this,_0x2bdae5(0x88),new Map()),h(this,_0x2bdae5(0x1c0),new d['Subject']()),(this[_0x2bdae5(0x19f)]=_0x5cd5e1,this[_0x2bdae5(0xd5)]=_0x379e81,this[_0x2bdae5(0xa5)]=_0x2d0f87,this['_init']());}[_0x49162d(0x205)](){const _0x1962ce=_0x49162d;super[_0x1962ce(0x205)](),this[_0x1962ce(0x1c0)][_0x1962ce(0x10c)](),this[_0x1962ce(0x88)][_0x1962ce(0x207)](_0x4dd03e=>_0x4dd03e[_0x1962ce(0x205)]());}[_0x49162d(0x20d)](_0x27801f){const _0x213104=_0x49162d;return this['_entities'][_0x213104(0x17c)](_0x27801f)?this['_entities'][_0x213104(0x150)](_0x27801f)[_0x213104(0x2ee)]:this[_0x213104(0x1c0)][_0x213104(0x1b3)](d[_0x213104(0x1ed)](_0x56cf5a=>_0x56cf5a[_0x213104(0x143)]===_0x27801f),d[_0x213104(0x109)](_0x55a467=>_0x55a467[_0x213104(0x2ee)]));}['_init'](){const _0x5e149f=_0x49162d;this['_univerInstanceService'][_0x5e149f(0x23a)](a[_0x5e149f(0x2e7)][_0x5e149f(0x160)])[_0x5e149f(0x1b3)](d['takeUntil'](this[_0x5e149f(0x9d)]))['subscribe'](async _0x139d65=>{const _0x3a0b38=_0x5e149f,_0x56bb8a=_0x139d65[_0x3a0b38(0x2e9)](),_0x3a1355=await this[_0x3a0b38(0x1e0)](_0x56bb8a);this['_entityInit$']['next'](_0x3a1355),this['_entities']['set'](_0x56bb8a,_0x3a1355);}),this[_0x5e149f(0x19f)][_0x5e149f(0x23a)](a[_0x5e149f(0x2e7)][_0x5e149f(0x7a)])[_0x5e149f(0x1b3)](d['takeUntil'](this[_0x5e149f(0x9d)]))[_0x5e149f(0x1b3)](d[_0x5e149f(0x1ed)](_0x2ca75f=>!_0x2ca75f['getUnitId']()[_0x5e149f(0x1bd)]('__')))['subscribe'](async _0x7d373e=>{const _0x294e6d=_0x5e149f,_0x5682d1=_0x7d373e[_0x294e6d(0x2e9)](),_0x21cfb0=await this[_0x294e6d(0x116)](_0x5682d1);this['_entityInit$'][_0x294e6d(0x151)](_0x21cfb0),this[_0x294e6d(0x88)]['set'](_0x5682d1,_0x21cfb0);}),d['merge'](this[_0x5e149f(0x19f)][_0x5e149f(0x2cf)](a[_0x5e149f(0x2e7)][_0x5e149f(0x7a)]),this[_0x5e149f(0x19f)][_0x5e149f(0x2cf)](a[_0x5e149f(0x2e7)][_0x5e149f(0x160)]))[_0x5e149f(0x1b3)](d[_0x5e149f(0x21f)](this[_0x5e149f(0x9d)]))[_0x5e149f(0x168)](_0x11fcb8=>{const _0xb6e49b=_0x5e149f,_0x17cd1e=_0x11fcb8[_0xb6e49b(0x2e9)](),_0x58c224=this[_0xb6e49b(0x88)][_0xb6e49b(0x150)](_0x17cd1e);_0x58c224&&(_0x58c224[_0xb6e49b(0x205)](),this[_0xb6e49b(0x88)][_0xb6e49b(0x16c)](_0x17cd1e));});}async['_startSheetCollabCursor'](_0xce0382){const _0x250dc2=_0x49162d,_0x254bd2=await this[_0x250dc2(0xa5)][_0x250dc2(0xc1)](_0xce0382),_0x15c5b2=this['_injector'][_0x250dc2(0x2d1)](Se,_0xce0382,_0x254bd2);return _0x15c5b2[_0x250dc2(0x21c)](),_0x15c5b2;}async[_0x49162d(0x116)](_0xd46a81){const _0x3493d9=_0x49162d,_0x449973=await this['_collabSessionService']['requireSession'](_0xd46a81),_0x565be1=this[_0x3493d9(0xd5)]['createInstance'](fe,_0xd46a81,_0x449973);return _0x565be1[_0x3493d9(0x21c)](),_0x565be1;}};x=ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x49162d(0xad)](a[_0x49162d(0x87)])),ie(0x2,a[_0x49162d(0xad)](u[_0x49162d(0x2dd)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x245ef1,_0x17452d){const _0x5efb8b=_0x49162d;let {radius:_0x3ea79b,width:_0x2dd46f,height:_0x4e0854}=_0x17452d;_0x3ea79b=_0x3ea79b!=null?_0x3ea79b:0x0,_0x2dd46f=_0x2dd46f!=null?_0x2dd46f:0x1e,_0x4e0854=_0x4e0854!=null?_0x4e0854:0x1e;let _0x6def59=0x0,_0xb5d2a9=0x0,_0xc1d165=0x0;_0x6def59=_0xb5d2a9=_0xc1d165=Math[_0x5efb8b(0x1d0)](_0x3ea79b,_0x2dd46f/0x2,_0x4e0854/0x2),_0x245ef1[_0x5efb8b(0x27d)](),_0x245ef1[_0x5efb8b(0x11c)](_0x6def59,0x0),_0x245ef1[_0x5efb8b(0x15d)](_0x2dd46f-_0xb5d2a9,0x0),_0x245ef1[_0x5efb8b(0x2cc)](_0x2dd46f-_0xb5d2a9,_0xb5d2a9,_0xb5d2a9,Math['PI']*0x3/0x2,0x0,!0x1),_0x245ef1[_0x5efb8b(0x15d)](_0x2dd46f,_0x4e0854-_0xc1d165),_0x245ef1[_0x5efb8b(0x2cc)](_0x2dd46f-_0xc1d165,_0x4e0854-_0xc1d165,_0xc1d165,0x0,Math['PI']/0x2,!0x1),_0x245ef1['lineTo'](0x0,_0x4e0854),_0x245ef1[_0x5efb8b(0x15d)](0x0,_0x6def59),_0x245ef1[_0x5efb8b(0x2cc)](_0x6def59,_0x6def59,_0x6def59,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x245ef1[_0x5efb8b(0x89)](),_0x17452d[_0x5efb8b(0x177)]&&(_0x245ef1[_0x5efb8b(0x1cb)](),_0x245ef1[_0x5efb8b(0x206)]=_0x17452d[_0x5efb8b(0x177)],_0x17452d[_0x5efb8b(0x232)]==='evenodd'?_0x245ef1[_0x5efb8b(0x177)](_0x5efb8b(0x23c)):_0x245ef1['fill'](),_0x245ef1[_0x5efb8b(0x2b3)]());}class ee extends p['Shape']{constructor(_0x39b0af,_0x151998){const _0x26bea0=_0x49162d;super(_0x39b0af,_0x151998),h(this,_0x26bea0(0x16a)),h(this,_0x26bea0(0x26f)),(this[_0x26bea0(0x16a)]=_0x151998==null?void 0x0:_0x151998[_0x26bea0(0x16a)],this[_0x26bea0(0x26f)]=_0x151998==null?void 0x0:_0x151998['text']);}static[_0x49162d(0x99)](_0x3ca42a,_0x4a321a){const _0x3efa48=_0x49162d,{text:_0x177f8f,color:_0x180612}=_0x4a321a;_0x3ca42a[_0x3efa48(0x1cb)](),_0x3ca42a[_0x3efa48(0x2c3)]=_0x3efa48(0xec);const _0x3c3b68=_0x3ca42a[_0x3efa48(0x9f)](_0x177f8f)['width'],_0x22c936=Math[_0x3efa48(0x1d0)](_0x3c3b68+0x2*ne,Re);_t(_0x3ca42a,{'height':K,'radius':0x4,'width':_0x22c936,'fill':_0x180612}),_0x3ca42a[_0x3efa48(0x206)]='#FFF';const _0x3083d8=ne,_0x4bb995=K-lt,_0x2ce027=Re-0x2*ne;if(_0x3c3b68>_0x2ce027){let _0x276290='',_0x364713=0x0;for(const _0x2f779e of _0x177f8f){const _0x1b8710=_0x3ca42a['measureText'](_0x2f779e)[_0x3efa48(0x171)];if(_0x364713+_0x1b8710<=_0x2ce027-_0x3ca42a[_0x3efa48(0x9f)](_0x3efa48(0x1f0))['width'])_0x276290+=_0x2f779e,_0x364713+=_0x1b8710;else{_0x276290+=_0x3efa48(0x1f0);break;}}_0x3ca42a['fillText'](_0x276290,_0x3083d8,_0x4bb995);}else _0x3ca42a['fillText'](_0x177f8f,_0x3083d8,_0x4bb995);_0x3ca42a[_0x3efa48(0x2b3)]();}[_0x49162d(0x117)](_0x7e4be8){const _0x1f1822=_0x49162d;ee[_0x1f1822(0x99)](_0x7e4be8,this);}}const re=_0x49162d(0x136),ht=_0x49162d(0x15b),ut=_0x49162d(0x2b0),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x49162d(0x9a);class De{constructor(_0x3bc2ec,_0x37e4cd,_0x514178,_0x2cad3a){const _0x47294d=_0x49162d;h(this,_0x47294d(0x2c2),[]),h(this,_0x47294d(0x28a),null),h(this,_0x47294d(0x13b),null),h(this,_0x47294d(0x157),null),h(this,_0x47294d(0x183),null),h(this,_0x47294d(0x24f),null),(this['_cursor']=_0x3bc2ec,this[_0x47294d(0x10b)]=_0x37e4cd,this[_0x47294d(0xaa)]=_0x514178,this['_document']=_0x2cad3a,this[_0x47294d(0xe6)]());}set[_0x49162d(0x12a)](_0x5a22f0){const _0x1d7814=_0x49162d;_0x5a22f0?(this[_0x1d7814(0x157)]&&this[_0x1d7814(0x157)][_0x1d7814(0xa8)](),this[_0x1d7814(0x13b)]&&this[_0x1d7814(0x13b)][_0x1d7814(0x1f1)]()):(this[_0x1d7814(0x157)]&&this[_0x1d7814(0x157)][_0x1d7814(0x1f1)](),this['_textBubble']&&this['_textBubble'][_0x1d7814(0xa8)]());}[_0x49162d(0x205)](){const _0x52a570=_0x49162d;for(const _0x35da9c of this['_shapes'])_0x35da9c[_0x52a570(0x205)]();this[_0x52a570(0x13b)]&&this[_0x52a570(0x13b)][_0x52a570(0x205)](),this[_0x52a570(0x157)]&&this['_anchorDot'][_0x52a570(0x205)](),this[_0x52a570(0x28a)]&&this[_0x52a570(0x28a)][_0x52a570(0x205)](),this[_0x52a570(0x24f)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4623b1=_0x49162d;var _0x273d14;const {_docSkeleton:_0x17535f,_document:_0x434650}=this,{color:_0x28b52a,name:_0x3f7362,ranges:_0x202a84}=this[_0x4623b1(0x25e)],_0x7b076e=_0x434650['getOffsetConfig'](),{docsLeft:_0x42652c,docsTop:_0x12d4a4}=_0x7b076e,_0x1788a6=new b[(_0x4623b1(0x24c))](_0x7b076e,_0x17535f);for(const {startOffset:_0x4609fd,endOffset:_0x5b6961,rangeType:_0x249d01,segmentId:_0x44d621,segmentPage:_0x142dd7,collapsed:_0x3d6892,isActive:_0x1ef174}of _0x202a84){const _0x3d7e3e=_0x17535f[_0x4623b1(0x221)](_0x4609fd,!0x0,_0x44d621,_0x142dd7);let _0x5ed0c5=_0x17535f['findNodePositionByCharIndex'](_0x5b6961,!0x0,_0x44d621,_0x142dd7);if(_0x5ed0c5==null&&(_0x5ed0c5=_0x17535f[_0x4623b1(0x221)](_0x5b6961-0x1,!0x1,_0x44d621,_0x142dd7)),_0x1ef174){const {contentBoxPointGroup:_0x17e250}=_0x1788a6['getRangePointData'](_0x5ed0c5,_0x5ed0c5);if(_0x17e250[_0x4623b1(0x2b1)]===0x0)continue;this[_0x4623b1(0xf9)](_0x28b52a,_0x17e250,_0x42652c,_0x12d4a4,_0x3f7362),this[_0x4623b1(0x24f)]=this[_0x4623b1(0x289)]();}if(_0x3d7e3e&&_0x5ed0c5){if(_0x249d01===a[_0x4623b1(0x100)][_0x4623b1(0x1e8)]){const _0x2d855e=new b[(_0x4623b1(0x2da))](_0x7b076e,_0x17535f),{pointGroup:_0x39aeea}=(_0x273d14=_0x2d855e[_0x4623b1(0x180)](_0x3d7e3e,_0x5ed0c5))!=null?_0x273d14:{};if(_0x39aeea==null||_0x39aeea['length']===0x0)continue;this[_0x4623b1(0x218)](_0x28b52a,_0x39aeea,_0x42652c,_0x12d4a4);}else{if(!_0x3d6892){const {borderBoxPointGroup:_0x41ce8a}=_0x1788a6[_0x4623b1(0x180)](_0x3d7e3e,_0x5ed0c5);if(_0x41ce8a['length']===0x0)continue;this[_0x4623b1(0xb0)](_0x28b52a,_0x41ce8a,_0x42652c,_0x12d4a4);}}}}}[_0x49162d(0xf9)](_0x22f631,_0x3bcf17,_0x18eacb,_0x2e1cd9,_0x2ac4af){const _0x55b288=_0x49162d,_0xa867ad=this[_0x55b288(0x25c)](_0x3bcf17),{left:_0x562cdd,top:_0x2ef5dc,height:_0x55e6ab}=_0xa867ad,_0x5c91e2=this[_0x55b288(0x2bc)](),_0xbda77a=ft/_0x5c91e2,_0x4cf902=new p[(_0x55b288(0x241))](re+a[_0x55b288(0xac)][_0x55b288(0x101)](k),{'left':_0x562cdd+_0x18eacb-_0xbda77a,'top':_0x2ef5dc+_0x2e1cd9,'height':_0x55e6ab,'width':dt,'fill':_0x22f631||p['getColor'](a[_0x55b288(0x1b1)][_0x55b288(0x217)],0x0),'strokeWidth':_0xbda77a,'stroke':St,'evented':!0x0});this[_0x55b288(0x28a)]=_0x4cf902,this[_0x55b288(0x10b)][_0x55b288(0x128)](_0x4cf902,b[_0x55b288(0x2e6)]);const _0x3572b6=new p[(_0x55b288(0x241))](re+a[_0x55b288(0xac)]['generateRandomId'](k),{'left':_0x562cdd+_0x18eacb-_0xbda77a,'top':_0x2ef5dc+_0x2e1cd9-oe/0x2,'height':oe,'width':oe,'fill':_0x22f631||p[_0x55b288(0xa2)](a['COLORS'][_0x55b288(0x217)],0x0),'strokeWidth':0x0,'stroke':_0x22f631||p['getColor'](a['COLORS'][_0x55b288(0x217)],0x0),'evented':!0x1});this['_anchorDot']=_0x3572b6,this[_0x55b288(0x10b)][_0x55b288(0x128)](_0x3572b6,b[_0x55b288(0x2e6)]);const _0xba0f84=new ee(re+a[_0x55b288(0xac)][_0x55b288(0x101)](k),{'left':_0x562cdd+_0x18eacb-_0xbda77a,'top':_0x2ef5dc+_0x2e1cd9-K,'text':_0x2ac4af,'color':_0x22f631});this[_0x55b288(0x13b)]=_0xba0f84,this[_0x55b288(0x10b)][_0x55b288(0x128)](_0xba0f84,b[_0x55b288(0x2e6)]),this[_0x55b288(0x12a)]=!0x1;}[_0x49162d(0x289)](){const _0x3c8f63=_0x49162d,_0x5caca6=this['_anchor'][_0x3c8f63(0x265)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0xf5e560=this[_0x3c8f63(0x28a)][_0x3c8f63(0x24b)][_0x3c8f63(0x1bf)](()=>{const _0x27d2af=_0x3c8f63;this[_0x27d2af(0x183)]&&clearTimeout(this[_0x27d2af(0x183)]),this[_0x27d2af(0x183)]=setTimeout(()=>{const _0x3e2e5a=_0x27d2af;this[_0x3e2e5a(0x12a)]=!0x1;},0x7d0);});return()=>{_0x5caca6['unsubscribe'](),_0xf5e560['unsubscribe']();};}['_drawTextRange'](_0x2c820a,_0x4ee443,_0x2dde9f,_0x22ba86){const _0x3d3854=_0x49162d,_0x480b6e=new a[(_0x3d3854(0x10a))](_0x2c820a)['setAlpha'](0.2)[_0x3d3854(0x211)](),_0x3caa5c=new p[(_0x3d3854(0x96))](ht+a[_0x3d3854(0xac)][_0x3d3854(0x101)](k),{'pointsGroup':_0x4ee443,'fill':_0x480b6e||p[_0x3d3854(0xa2)](a[_0x3d3854(0x1b1)][_0x3d3854(0x217)],0.2),'left':_0x2dde9f,'top':_0x22ba86,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d3854(0x2c2)][_0x3d3854(0x2aa)](_0x3caa5c),this[_0x3d3854(0x10b)][_0x3d3854(0x128)](_0x3caa5c,b[_0x3d3854(0x2e6)]);}[_0x49162d(0x218)](_0x93aa46,_0x1b13f6,_0x4efa16,_0xe02b16){const _0x30042b=_0x49162d,_0x5a0d4c=new a['ColorKit'](_0x93aa46)[_0x30042b(0x2ec)](0.2)[_0x30042b(0x211)](),_0x1488d6=new p['RegularPolygon'](ut+a['Tools'][_0x30042b(0x101)](k),{'pointsGroup':_0x1b13f6,'fill':_0x5a0d4c||p['getColor'](a[_0x30042b(0x1b1)][_0x30042b(0x217)],0.2),'left':_0x4efa16,'top':_0xe02b16,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30042b(0x2c2)]['push'](_0x1488d6),this[_0x30042b(0x10b)][_0x30042b(0x128)](_0x1488d6,b['TEXT_RANGE_LAYER_INDEX']);}[_0x49162d(0x25c)](_0x247cfd){const _0x3a6fb2=_0x247cfd[0x0],_0x101b3e=_0x3a6fb2[0x0],_0x38ef07=_0x3a6fb2[0x2],{x:_0x177897,y:_0x48f2eb}=_0x101b3e,{x:_0x1f030b,y:_0x311227}=_0x38ef07;return{'left':_0x177897,'top':_0x48f2eb,'width':_0x1f030b-_0x177897,'height':_0x311227-_0x48f2eb};}[_0x49162d(0x2bc)](){const _0x209c27=_0x49162d,{scaleX:_0x83eb4b,scaleY:_0x2a5aed}=this[_0x209c27(0x10b)][_0x209c27(0x245)]();return Math['max'](_0x83eb4b,_0x2a5aed);}}var It=Object[_0x49162d(0x20a)],vt=(_0x16c448,_0x149ca4,_0xb04138,_0x29c315)=>{for(var _0xc5ee4d=_0x29c315>0x1?void 0x0:_0x29c315?It(_0x149ca4,_0xb04138):_0x149ca4,_0x3510fd=_0x16c448['length']-0x1,_0x3938f0;_0x3510fd>=0x0;_0x3510fd--)(_0x3938f0=_0x16c448[_0x3510fd])&&(_0xc5ee4d=_0x3938f0(_0xc5ee4d)||_0xc5ee4d);return _0xc5ee4d;},W=(_0x525c21,_0x10f9e5)=>(_0x432c10,_0x1dd588)=>_0x10f9e5(_0x432c10,_0x1dd588,_0x525c21);let Ie=class extends a['RxDisposable']{constructor(_0x50f5f9,_0x1691f9,_0x1862e2,_0x58e7f4,_0xc80374){const _0x44bfca=_0x49162d;super(),h(this,_0x44bfca(0xda),[]),h(this,'_cursors',[]),(this[_0x44bfca(0x1c2)]=_0x50f5f9,this[_0x44bfca(0x142)]=_0x1691f9,this[_0x44bfca(0x283)]=_0x1862e2,this['_commandService']=_0x58e7f4,this[_0x44bfca(0x1db)]=_0xc80374,this['_init']());}['_init'](){const _0x3ae644=_0x49162d,_0x127cd0=this[_0x3ae644(0x1c2)][_0x3ae644(0xd6)],_0x4b013a=this[_0x3ae644(0x142)];this[_0x3ae644(0x287)](d['combineLatest']([this['_collabCursorController'][_0x3ae644(0x20d)](_0x127cd0),this[_0x3ae644(0x1db)][_0x3ae644(0xe8)]])['pipe']($[_0x3ae644(0x1ca)](([_0x1b5ed7,_0x505eef])=>({'skeleton':_0x4b013a[_0x3ae644(0x20f)](),'cursors':[..._0x1b5ed7[_0x3ae644(0x10e)]()][_0x3ae644(0x276)](_0x2e0776=>({..._0x2e0776,'color':this[_0x3ae644(0x1db)][_0x3ae644(0x278)](_0x2e0776[_0x3ae644(0x16a)])}))})))[_0x3ae644(0x168)](_0x3861a5=>{const _0x48d9f2=_0x3ae644;if(this[_0x48d9f2(0xc4)](),_0x3861a5){const {skeleton:_0x2f69ab,cursors:_0x4daf8d}=_0x3861a5;this[_0x48d9f2(0x19a)](_0x2f69ab,_0x4daf8d);}})),this[_0x3ae644(0x1d1)](),this[_0x3ae644(0x22c)]();}[_0x49162d(0x19a)](_0x64ab46,_0x3b9778){const _0x371357=_0x49162d,{scene:_0x1169c0,mainComponent:_0x357838}=this[_0x371357(0x1c2)],_0x1b3e1c=_0x3b9778['map'](_0x4c8017=>new De(_0x4c8017,_0x1169c0,_0x64ab46,_0x357838));this[_0x371357(0xda)]=_0x1b3e1c,this['_cursors']=_0x3b9778;}[_0x49162d(0x1b2)](){const _0x21eb7e=_0x49162d;this[_0x21eb7e(0xc4)]();const {scene:_0xd81c0e,mainComponent:_0x4e9644}=this[_0x21eb7e(0x1c2)],_0x4f3700=this['_docSkeletonManagerService'][_0x21eb7e(0x20f)](),_0x2937e2=this[_0x21eb7e(0x219)][_0x21eb7e(0x1ca)](_0x598cd6=>new De(_0x598cd6,_0xd81c0e,_0x4f3700,_0x4e9644));this['_cursorShapes']=_0x2937e2;}['_removeCollabCursors'](){const _0x104f42=_0x49162d;this[_0x104f42(0xda)][_0x104f42(0x207)](_0x422f05=>_0x422f05[_0x104f42(0x205)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x1d0e29=_0x49162d,_0x3dda5f=[b[_0x1d0e29(0x102)]['id']];this['disposeWithMe'](this['_commandService'][_0x1d0e29(0xf6)](_0x5c3632=>{const _0x31446f=_0x1d0e29;_0x3dda5f[_0x31446f(0xd8)](_0x5c3632['id'])&&_0x5c3632[_0x31446f(0x2d4)][_0x31446f(0xd6)]===this[_0x31446f(0x1c2)][_0x31446f(0xd6)]&&this[_0x31446f(0x1b2)]();}));}[_0x49162d(0x1d1)](){const _0x4baaad=_0x49162d;this[_0x4baaad(0x287)](a[_0x4baaad(0x277)](this[_0x4baaad(0x1c2)][_0x4baaad(0x18d)][_0x4baaad(0x22b)])['pipe']($[_0x4baaad(0x1ed)](_0x4c7feb=>_0x4c7feb['type']===p[_0x4baaad(0x17a)][_0x4baaad(0x1c4)]),$[_0x4baaad(0x17e)](0x10))[_0x4baaad(0x168)](()=>{const _0x3f6a08=_0x4baaad;this[_0x3f6a08(0x1b2)]();}));}};Ie=vt([W(0x1,a['Inject'](Y[_0x49162d(0x2a9)])),W(0x2,a[_0x49162d(0xad)](x)),W(0x3,a[_0x49162d(0x21a)]),W(0x4,a[_0x49162d(0xad)](a[_0x49162d(0x2af)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p[_0x49162d(0x26b)]{constructor(_0x101029,_0x59e752){const _0x299934=_0x49162d;super(_0x101029,_0x59e752),h(this,_0x299934(0xcb)),h(this,'_hovered',!0x1),h(this,_0x299934(0x291)),h(this,_0x299934(0x264),''),h(this,_0x299934(0x1a9),_0x299934(0x19e)),h(this,'_backgroundColor'),(_0x59e752&&this['setShapeProps'](_0x59e752),this[_0x299934(0x265)][_0x299934(0x1bf)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x299934(0x24b)][_0x299934(0x1bf)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x49162d(0x1be)](_0x588e79){const _0x2be8c7=_0x49162d;var _0xed6092,_0xbb8122,_0x402082,_0x207a19,_0x4e6e3d,_0x18abb9;this[_0x2be8c7(0xcb)]=(_0xed6092=_0x588e79[_0x2be8c7(0x16a)])!=null?_0xed6092:this['_color'],this[_0x2be8c7(0x15c)]=(_0xbb8122=_0x588e79[_0x2be8c7(0x2a0)])!=null?_0xbb8122:this[_0x2be8c7(0x15c)],this['_range']=(_0x402082=_0x588e79['range'])!=null?_0x402082:this[_0x2be8c7(0x291)],this[_0x2be8c7(0x264)]=(_0x207a19=_0x588e79['name'])!=null?_0x207a19:this[_0x2be8c7(0x264)],this[_0x2be8c7(0x1a9)]=(_0x4e6e3d=_0x588e79[_0x2be8c7(0x29b)])!=null?_0x4e6e3d:this[_0x2be8c7(0x1a9)],this[_0x2be8c7(0x158)]=(_0x18abb9=_0x588e79[_0x2be8c7(0x82)])!=null?_0x18abb9:this['_backgroundColor'],this[_0x2be8c7(0x173)]({'width':_0x588e79[_0x2be8c7(0x171)],'height':_0x588e79[_0x2be8c7(0x9b)]});}['onMouseMove'](_0x20cc1c){const _0x3621cd=_0x49162d,{row:_0x140bf7,column:_0x39165a}=_0x20cc1c;if(_0x140bf7>=this[_0x3621cd(0x291)]['startRow']&&_0x140bf7<=this[_0x3621cd(0x291)][_0x3621cd(0x163)]&&_0x39165a>=this[_0x3621cd(0x291)][_0x3621cd(0xd3)]&&_0x39165a<=this[_0x3621cd(0x291)][_0x3621cd(0x1d9)]){this[_0x3621cd(0x1be)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x49162d(0xa3)](_0x53e010){return!0x1;}[_0x49162d(0x117)](_0xef20a7){const _0xc974da=_0x49162d;p['Rect']['drawWith'](_0xef20a7,{'width':this[_0xc974da(0x171)],'height':this['height'],'strokeWidth':mt,'stroke':this[_0xc974da(0xcb)],'evented':!0x1,'fill':this[_0xc974da(0x158)]}),this[_0xc974da(0x15c)]&&(_0xef20a7[_0xc974da(0x1cb)](),_0xef20a7[_0xc974da(0x8e)](0x1,0x0,0x0,0x1,this[_0xc974da(0x171)],this['_labelPosition']===_0xc974da(0x166)?0x0:-0x14),ee['drawWith'](_0xef20a7,{'text':this[_0xc974da(0x264)],'color':this[_0xc974da(0xcb)]}),_0xef20a7['restore']());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x587e9c,_0x1cb8f5,_0x4c90cd,_0x1477b5)=>{for(var _0x13104a=_0x1477b5>0x1?void 0x0:_0x1477b5?Ct(_0x1cb8f5,_0x4c90cd):_0x1cb8f5,_0xd582e5=_0x587e9c['length']-0x1,_0x890812;_0xd582e5>=0x0;_0xd582e5--)(_0x890812=_0x587e9c[_0xd582e5])&&(_0x13104a=_0x890812(_0x13104a)||_0x13104a);return _0x13104a;},ae=(_0x2895d1,_0x22712d)=>(_0x2bf895,_0x3af2ab)=>_0x22712d(_0x2bf895,_0x3af2ab,_0x2895d1);const bt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x1b4de7,_0x820173,_0x26f44d,_0x47f34c){const _0x222159=_0x49162d;super(),h(this,'_cursors',new Set()),h(this,_0x222159(0x189),null),(this['_context']=_0x1b4de7,this[_0x222159(0x2f1)]=_0x820173,this['_collabCursorController']=_0x26f44d,this[_0x222159(0x1db)]=_0x47f34c,this[_0x222159(0x258)]());}[_0x49162d(0x258)](){const _0x190c7f=_0x49162d;this[_0x190c7f(0x2f1)][_0x190c7f(0xe1)][_0x190c7f(0x1b3)]($[_0x190c7f(0x21f)](this[_0x190c7f(0x9d)]),$[_0x190c7f(0x109)](_0x296dfb=>{const _0x5a16bd=_0x190c7f;if(_0x296dfb){const _0x265883=_0x296dfb['sheetId'];return d[_0x5a16bd(0x250)](this[_0x5a16bd(0x283)]['getCollabCursors$'](this[_0x5a16bd(0x1c2)]['unitId']),this[_0x5a16bd(0x1db)]['currentTheme$'])[_0x5a16bd(0x1b3)]($[_0x5a16bd(0x1ca)](([_0xf0565,_0x30f34e])=>{const _0x55968e=new Map();return _0xf0565['forEach']((_0x579972,_0x3c33b5)=>{const _0x1513c9=_0x1009;if(_0x579972['sheetID']===_0x265883){const _0x5d9f87={..._0x579972};_0x5d9f87[_0x1513c9(0x16a)]=this[_0x1513c9(0x1db)][_0x1513c9(0x278)](_0x579972[_0x1513c9(0x16a)]),_0x55968e[_0x1513c9(0x15a)](_0x3c33b5,_0x5d9f87);}}),{'skeleton':_0x296dfb,'cursors':_0x55968e};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x190c7f(0x168)](({skeleton:_0x2ddd56,cursors:_0x2518e7})=>{const _0x5049b7=_0x190c7f;this[_0x5049b7(0xc4)](),_0x2ddd56&&this[_0x5049b7(0x19a)](_0x2ddd56,_0x2518e7);}),this[_0x190c7f(0x2f1)][_0x190c7f(0xe1)][_0x190c7f(0x168)](_0x2f0057=>{const _0x46b106=_0x190c7f;if(_0x2f0057==null)return;const {skeleton:_0x2c9fe6}=_0x2f0057,{scene:_0x5f326c}=this[_0x46b106(0x1c2)];_0x5f326c['onPointerMove$'][_0x46b106(0x1bf)](a['debounce'](_0x2bb3b2=>{const _0x56427f=_0x46b106;var _0x209b4a,_0x4ce229;const {offsetX:_0x190d3d,offsetY:_0x1c91fc}=_0x2bb3b2,{x:_0x2ac5c3,y:_0x5c2b52}=_0x5f326c[_0x56427f(0x2f8)](p['Vector2']['FromArray']([_0x190d3d,_0x1c91fc])),{scaleX:_0x54721b,scaleY:_0x341457}=_0x5f326c['getAncestorScale'](),_0x233e58=_0x5f326c['getViewport'](p[_0x56427f(0xb5)][_0x56427f(0x1c3)]),_0x3892de=_0x5f326c[_0x56427f(0x2c9)](p[_0x56427f(0x2a6)]['FromArray']([_0x2ac5c3,_0x5c2b52]),_0x233e58),_0x4a974b=_0x2c9fe6[_0x56427f(0xc5)](_0x190d3d,_0x1c91fc,_0x54721b,_0x341457,_0x3892de);((_0x209b4a=this[_0x56427f(0x189)])==null?void 0x0:_0x209b4a[_0x56427f(0x2ef)])===_0x4a974b['column']&&((_0x4ce229=this['_lastPointer'])==null?void 0x0:_0x4ce229[_0x56427f(0x26c)])===_0x4a974b[_0x56427f(0x26c)]||this[_0x56427f(0x219)]['forEach'](_0xa34db5=>{const _0x2dc55a=_0x56427f;_0xa34db5[_0x2dc55a(0x144)](_0x4a974b);});},0x64));});}['_updateCollabCursors'](_0x5537de,_0x1b3957){const _0xff43d=_0x49162d;var _0x595abc;const _0xa28ece=(_0x595abc=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x595abc[_0xff43d(0x225)];if(!_0xa28ece)return;const _0x7ebb1c=this['_getSheetObject']();if(!_0x7ebb1c)return;this['_cursors'][_0xff43d(0x207)](_0x37c09d=>{const _0x319a21=_0xff43d;_0x37c09d[_0x319a21(0xbf)]();});const {scene:_0x2e24c6}=_0x7ebb1c,_0x3f305a=Et(Array['from'](_0x1b3957[_0xff43d(0x10e)]()))[_0xff43d(0x1ca)](_0x49226f=>{const _0x4916dd=_0xff43d,{color:_0xee77ee,range:_0x5b9b00,name:_0x4d8b7d,selection:_0x156ba7,sheetID:_0x491204}=_0x49226f,{startColumn:_0x47e2f3,startRow:_0x2895e4,endColumn:_0x48b51e,endRow:_0x34245d}=_0x5b9b00,_0x34c9ea=X[_0x4916dd(0x108)](_0x2895e4,_0x47e2f3,_0x2e24c6,_0xa28ece),_0x48d0e7=X['getCoordByCell'](_0x34245d,_0x48b51e,_0x2e24c6,_0xa28ece),{columnHeaderHeightAndMarginTop:_0x201635}=_0xa28ece,{startX:_0x5b6fd0,startY:_0x1dccf8}=_0x34c9ea,{endX:_0x2e324c,endY:_0x46a960}=_0x48d0e7,_0xf0b8f5=_0x2e324c-_0x5b6fd0,_0x495270=_0x46a960-_0x1dccf8,_0x436cf6={'labelPosition':_0x1dccf8-_0x201635>=K?_0x4916dd(0x19e):'bottom','sheetID':_0x491204,'range':_0x5b9b00,'color':_0xee77ee,'name':_0x4d8b7d,'selection':_0x156ba7,'left':_0x5b6fd0,'top':_0x1dccf8,'width':_0xf0b8f5,'height':_0x495270,'evented':!0x1,'zIndex':bt};return new Ae(_0x4d8b7d,_0x436cf6);});_0x2e24c6['addObjects'](_0x3f305a,gt),this[_0xff43d(0x219)]=new Set(_0x3f305a);}[_0x49162d(0xc4)](){const _0xbea91=_0x49162d;var _0x1c4f7e;(_0x1c4f7e=this['_cursors'])==null||_0x1c4f7e[_0xbea91(0x207)](_0x363c19=>_0x363c19[_0xbea91(0x205)]());}[_0x49162d(0x214)](){const _0x39c6ed=_0x49162d;return X[_0x39c6ed(0xbc)](this[_0x39c6ed(0x1c2)][_0x39c6ed(0x257)],this[_0x39c6ed(0x1c2)]);}};ve=pt([ae(0x1,a[_0x49162d(0xad)](X[_0x49162d(0x9c)])),ae(0x2,a[_0x49162d(0xad)](x)),ae(0x3,a[_0x49162d(0xad)](a[_0x49162d(0x2af)]))],ve);function Et(_0x3d515c){const _0x58bed2=_0x49162d,_0x3de098=new Map();return _0x3d515c[_0x58bed2(0x207)](_0x2420c5=>{const _0x2e72d3=_0x58bed2;if(_0x3de098[_0x2e72d3(0x17c)](_0x2420c5[_0x2e72d3(0x107)])){const _0x26a533=_0x3de098[_0x2e72d3(0x150)](_0x2420c5['selection']);_0x26a533['name']+=',\x20'+_0x2420c5[_0x2e72d3(0x1bc)];}else _0x3de098[_0x2e72d3(0x15a)](_0x2420c5[_0x2e72d3(0x107)],_0x2420c5);}),Array[_0x58bed2(0x26d)](_0x3de098['values']());}var E=function(){const _0x4d06c9=_0x49162d;return E=Object[_0x4d06c9(0xaf)]||function(_0x3f59c3){const _0x56e000=_0x4d06c9;for(var _0x4ca073,_0x3127a5=0x1,_0x12edc2=arguments['length'];_0x3127a5<_0x12edc2;_0x3127a5++){_0x4ca073=arguments[_0x3127a5];for(var _0x55314c in _0x4ca073)Object[_0x56e000(0x1d4)][_0x56e000(0x19d)][_0x56e000(0x269)](_0x4ca073,_0x55314c)&&(_0x3f59c3[_0x55314c]=_0x4ca073[_0x55314c]);}return _0x3f59c3;},E['apply'](this,arguments);},Tt=function(_0x4dd47e,_0x4935fe){const _0x3f4e33=_0x49162d;var _0x4a46bb={};for(var _0xa6c3c4 in _0x4dd47e)Object[_0x3f4e33(0x1d4)][_0x3f4e33(0x19d)][_0x3f4e33(0x269)](_0x4dd47e,_0xa6c3c4)&&_0x4935fe['indexOf'](_0xa6c3c4)<0x0&&(_0x4a46bb[_0xa6c3c4]=_0x4dd47e[_0xa6c3c4]);if(_0x4dd47e!=null&&typeof Object[_0x3f4e33(0x1a1)]=='function'){for(var _0x36ec3c=0x0,_0xa6c3c4=Object[_0x3f4e33(0x1a1)](_0x4dd47e);_0x36ec3c<_0xa6c3c4[_0x3f4e33(0x2b1)];_0x36ec3c++)_0x4935fe['indexOf'](_0xa6c3c4[_0x36ec3c])<0x0&&Object[_0x3f4e33(0x1d4)][_0x3f4e33(0x199)][_0x3f4e33(0x269)](_0x4dd47e,_0xa6c3c4[_0x36ec3c])&&(_0x4a46bb[_0xa6c3c4[_0x36ec3c]]=_0x4dd47e[_0xa6c3c4[_0x36ec3c]]);}return _0x4a46bb;},pe=M[_0x49162d(0x105)](function(_0x28414c,_0x34463e){const _0x554ba9=_0x49162d;var _0x49a030=_0x28414c['icon'],_0x430126=_0x28414c['id'],_0x313a35=_0x28414c[_0x554ba9(0x2ca)],_0x2d1cb6=_0x28414c[_0x554ba9(0x256)],_0x4a244f=Tt(_0x28414c,[_0x554ba9(0x202),'id',_0x554ba9(0x2ca),_0x554ba9(0x256)]),_0x57bd0d=_0x554ba9(0x147)['concat'](_0x430126,'\x20')['concat'](_0x313a35||'')[_0x554ba9(0x1f2)](),_0x368502=M[_0x554ba9(0x1b9)]('_'[_0x554ba9(0x29d)](Dt()));return we(_0x49a030,''[_0x554ba9(0x29d)](_0x430126),{'defIds':_0x49a030['defIds'],'idSuffix':_0x368502[_0x554ba9(0xba)]},E({'ref':_0x34463e,'className':_0x57bd0d},_0x4a244f),_0x2d1cb6);});function we(_0x7db8d6,_0x107c40,_0x495531,_0x3a4700,_0x26aa3e){const _0x7ec4cc=_0x49162d;return M['createElement'](_0x7db8d6[_0x7ec4cc(0x8f)],E(E({'key':_0x107c40},Ot(_0x7db8d6,_0x495531,_0x26aa3e)),_0x3a4700),(Rt(_0x7db8d6,_0x495531)['children']||[])[_0x7ec4cc(0x1ca)](function(_0xd15b59,_0x344bee){const _0xd026d8=_0x7ec4cc;return we(_0xd15b59,''[_0xd026d8(0x29d)](_0x107c40,'-')[_0xd026d8(0x29d)](_0x7db8d6[_0xd026d8(0x8f)],'-')[_0xd026d8(0x29d)](_0x344bee),_0x495531,void 0x0,_0x26aa3e);}));}function Ot(_0x4afce8,_0x507f56,_0x215c43){const _0x1a9f3c=_0x49162d;var _0x511a89=E({},_0x4afce8[_0x1a9f3c(0x8b)]);_0x215c43!=null&&_0x215c43[_0x1a9f3c(0x1e1)]&&_0x511a89['fill']==='colorChannel1'&&(_0x511a89[_0x1a9f3c(0x177)]=_0x215c43[_0x1a9f3c(0x1e1)]),_0x4afce8[_0x1a9f3c(0x8f)]===_0x1a9f3c(0x1ec)&&_0x511a89['id']&&(_0x511a89['id']=_0x511a89['id']+_0x507f56[_0x1a9f3c(0xa1)]),Object[_0x1a9f3c(0x129)](_0x511a89)['forEach'](function(_0x580306){const _0x2b5ced=_0x1a9f3c;var _0x3fb495=_0x580306[0x0],_0x51c842=_0x580306[0x1];_0x3fb495==='mask'&&typeof _0x51c842==_0x2b5ced(0x2bf)&&(_0x511a89[_0x3fb495]=_0x51c842[_0x2b5ced(0x227)](/url\(#(.*)\)/,_0x2b5ced(0x251)[_0x2b5ced(0x29d)](_0x507f56[_0x2b5ced(0xa1)],')')));});var _0x1ca55d=_0x507f56[_0x1a9f3c(0xa6)];return!_0x1ca55d||_0x1ca55d[_0x1a9f3c(0x2b1)]===0x0||(_0x4afce8['tag']===_0x1a9f3c(0x2e5)&&_0x511a89[_0x1a9f3c(0x242)]&&(_0x511a89[_0x1a9f3c(0x242)]=_0x511a89['xlink:href']+_0x507f56[_0x1a9f3c(0xa1)]),Object[_0x1a9f3c(0x129)](_0x511a89)[_0x1a9f3c(0x207)](function(_0x5098a6){const _0x187c78=_0x1a9f3c;var _0xccea79=_0x5098a6[0x0],_0x1c6d9e=_0x5098a6[0x1];typeof _0x1c6d9e=='string'&&(_0x511a89[_0xccea79]=_0x1c6d9e['replace'](/url\(#(.*)\)/,_0x187c78(0x251)[_0x187c78(0x29d)](_0x507f56['idSuffix'],')')));})),_0x511a89;}function Rt(_0x29ddeb,_0x37dbe0){const _0x54c768=_0x49162d;var _0x14d151,_0x587025=_0x37dbe0['defIds'];return!_0x587025||_0x587025['length']===0x0?_0x29ddeb:_0x29ddeb['tag']==='defs'&&(!((_0x14d151=_0x29ddeb[_0x54c768(0x25a)])===null||_0x14d151===void 0x0)&&_0x14d151[_0x54c768(0x2b1)])?E(E({},_0x29ddeb),{'children':_0x29ddeb[_0x54c768(0x25a)][_0x54c768(0x1ca)](function(_0x1e53b4){const _0x43aea4=_0x54c768;return typeof _0x1e53b4[_0x43aea4(0x8b)]['id']=='string'&&_0x587025&&_0x587025[_0x43aea4(0x23b)](_0x1e53b4[_0x43aea4(0x8b)]['id'])>-0x1?E(E({},_0x1e53b4),{'attrs':E(E({},_0x1e53b4[_0x43aea4(0x8b)]),{'id':_0x1e53b4['attrs']['id']+_0x37dbe0[_0x43aea4(0xa1)]})}):_0x1e53b4;})}):_0x29ddeb;}function _0x4fda(){const _0x523cb6=['INVALID_ARGUMENT','@univerjs/docs','name','startsWith','setShapeProps','subscribeEvent','_entityInit$','CollaborationDataLoaderController','_context','VIEW_MAIN','resize','LocaleService','getMember','INVALID_INVITE_CODE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','@univerjs/docs-ui','map','save','LICENSE_DISTRO_REJECTED','replaceState','transformRemoteChangeset','storage','min','_initResize','runRefRangeMutations','handleInsertCol','prototype','IUIPartsService','getActiveRange','45726ZSYhoO','_initDependencies','endColumn','Rectangle','_themeService','SetWorksheetActivateCommand','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localeService','YUUMI_ALL_TABLES_IS_INVALID','_startSheetCollabCursor','colorChannel1','_logService','RefRangeService','DocIMEInputManagerService','INTERNAL_ERROR','PERMISSION_DENIED','YUUMI_URL_COL_OUT_OF_RANGE','RECT','_onRefRangeChange','OFFLINE','@univerjs/design','mask','filter','invokeId','PY_RUNTIME_SCRIPT_ERROR','...','show','trim','mapTo','url(#on-line-single_clip0_910_349)','sessionStatus$','ISnapshotServerService','1em','red.300','_revisionService','IURLService','_instanceService','getFocusedUnit','SYNCED','pluginName','_beforeCloseService','LICENSE_MAX_UNITS_EXCEEDED','range','icon','m2Prime','m1Prime','dispose','fillStyle','forEach','TOO_MANY_REQUESTS','subunit','getOwnPropertyDescriptor','serializeRangeWithSheet','_collaborationController','getCollabCursors$','memberID','getSkeleton','NOT_FOUND','toRgbString','useCallback','_online','_getSheetObject','distinctUntilChanged','contains','black','_drawRectRange','_cursors','ICommandService','CommandType','init','displayName','8354934ZjqnFw','takeUntil','jsx','findNodePositionByCharIndex','handleInsertRow','UPDATE_CURSOR','INVITE_CODE_REQUIRED','skeleton','959310jasAXh','replace','off-line-single_clip0_910_343','useObservable','path','onTransformChange$','_initCommandExecutedListener','_config','currentColor','override','ILocalCacheService','InsertRowCommandId','fillRule','_toggleOnline','APPLY_DUPLICATED','M0\x200H16V16H0z','_roomMembers$','permission.title','MUTATION','BrowserCollaborationSocketService','getTypeOfUnitAdded$','indexOf','evenodd','purple.300','sessionTicket','add','_handleJoinEvent','Rect','xlink:href','fromEvent','setStateCache','getAncestorScale','Plugin','IDocClipboardService','executionId','SheetCollabCursorShape','LOCAL_CACHE_INTERVAL','onPointerLeave$','NodePositionConvertToCursor','data','InsertRangeMoveDownCommandId','_eventUnsubscribe','combineLatest','url(#$1','error','selections','CHANGESET_REVISION_CONFILICT','jsxs','extend','unit','_init','getUniverSheetInstance','children','whenReady','_getAnchorBounding','Failed','_cursor','code','docStateChange$','AWAITING','UNAUTHENTICATED','INVITE_CODE_HAS_BEEN_UES','_name','onPointerEnter$','_transformHistoryAndStateStack','saveOfflineData','ONLINE','call','getCurrentRevOfUnit','Shape','row','from','removeParam','text','addHandlerCallback','SOCKET_FAILED_RETRY','parse','ITransformService','_getSaveTimeout','CollaborationSocketService','flatMap','fromEventSubject','getColorFromTheme','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs-pro/collaboration','CLOSE_ROOM','0\x200\x2016\x2016','beginPath','USER_NOT_INVITED_CODE','_send','IUniverInstanceService','_unitStatus','_colorIndex','_collabCursorController','mutations','MessageType','_notificationService','disposeWithMe','_docStateChangeManagerService','_handleHover','_anchor','isTransformMutationsWithChangesetSuccess','OTHER_CLIENTS_EDITING','_docClipboardService','@univerjs/drawing','origin','InsertColCommandId','_range','_scheduleHeartbeat','_session','3839112HTpiBo','YUUMI_RATE_OVER_LIMIT','MemberService','href','addClipboardHook','random','isActive','labelPosition','Optional','concat','DataLoaderService','YUUMI_SUBSCRIPTION_NOT_FOUND','hovered','_docSyncEditingCollabCursorService','DependentOn','exhaustSavingTask','_doCreateSocket','UnitStatus','Vector2','onRendered','RevisionService','DocSkeletonManagerService','push','stringify','_status$','DesktopCollaborationStatusDisplayController','_onCursorDelete','ThemeService','collab-rect-range-','length','LOCAL_CACHE_INTERVAL_KEY','restore','_removeClearOtherTimer','_urlService','SheetsSelectionsService','textRanges','_commandService','createElement','DeleteRangeMoveUpCommandId','_syncEditingCollabCursorService','_getScale','_initEntityListener','_initStatusListener','string','collab-client.tooltip.reconnect','createSocket','_shapes','font','_docTransformSelectionsService','_httpService','unload','AWAITING_WITH_PENDING','wsSessionTicketUrl','getVpScrollXYInfoByPosToVp','className','mergeOverrideWithDependencies','arc','runId','location','getTypeOfUnitDisposed$','size','createInstance','IConfigService','_ensureSubject','params','executeCommand','toString','BuiltInUIPart','ILogService','FETCH_MISS','NodePositionConvertToRectRange','RichTextEditingMutation','APPLY_REJECT','CollaborationSessionService','COMPLETION_FINISHED','search','handleInsertRangeMoveRight','getDocRanges','_selfUnitIDs','blue.400','_getMergeRange','use','TEXT_RANGE_LAYER_INDEX','UniverInstanceType','_docTransformIMECacheService','getUnitId','#fff','_registerDependencies','setAlpha','USERS_LEAVE','cursorInfo$','column','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','_sheetSkeletonManagerService','green.600','setConfig','registerRenderModule','getLocalCacheKey','debounce','off-line-single','getRelativeToViewportCoord','collabStatus.syncing','getSheetId','_handleEvent','setInterval','_messageService','assignAColorForMemberID','clearTimeout','YUUMI_AI_RUN_FAILED','uni.network.url-service','_updateURLWithCurrentState','_registerRenderDependencies','_handleLeaveEvent','transformIMECache','_toggleOffline','UNIVER_DOC','collaboration.single-unit.warning','RemoveRowCommandId','_cursorInfo$','InsertRangeMoveRightCommandId','defineProperty','debounceTime','CollaborationUIEventService','backgroundColor','[CollaborationDataLoaderController]','@univerjs-pro/collaboration-client','DocStateChangeManagerService','SetSelectionsOperation','Injector','_entities','closePath','_configService','attrs','_collabCursorState$','isArray','transform','tag','deepClone','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','IRenderManagerService','_disabled','status$','ranges','RegularPolygon','transformStateCache','LICENSE_IMPORT_SIZE_EXCEEDED','drawWith','rgba(255,\x20255,\x20255,\x200.01)','height','SheetSkeletonManagerService','dispose$','redoState','measureText','isTransformMutationFailure','idSuffix','getColor','triggerDblclick','getSheetBySheetId','_collabSessionService','defIds','_updateLocalCursor','hide','searchParams','_docSkeleton','_docTransformStateCacheService','Tools','Inject','_initStatusComponent','assign','_drawTextRange','url(#off-line-single_clip0_910_343)','ticket','doc.mutation.rich-text-editing','toStringTag','SHEET_VIEWPORT_KEY','_collaborationUIEventService','registerRefRange','undoState','collabStatus.conflict','current','CollaborationStatus','getSheetObject','SetTextSelectionsOperation','handleDeleteRangeMoveLeft','makeDirty','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','requireSession','shareReplay','body','_removeCollabCursors','getCellPositionByOffset','replaceDocRanges','EffectRefRangId','NOT_COLLAB','DeleteRangeMoveLeftCommandId','_saveTaskMap','_color','_localStorageService','SNAPSHOT_INVALID_SNAPSHOT','_renderManagerService','subUnitId','EMAIL_HAS_BEEN_BOUND','getValue','Error','startColumn','362360glZQjz','_injector','unitId','_heartbeatTimer','includes','_uiPartsService','_cursorShapes','urlChange$','debug','defs','RemoteUniscriptService','INotificationService','RxDisposable','currentSkeleton$','MOBILE_HAS_BEEN_BOUND','registerDependencies','cursorInfo','UniverIcon','_render','onLocalMutation','currentTheme$','_colorAssignService','eventID','univer-flex\x20univer-items-center','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','touchDependencies','UNDEFINED','SessionStatus','svg','collabStatus.synced','NO_OTHER_CLIENTS_EDITING','on-line-single_clip0_910_349','UNRECOGNIZED','WebBrowserSingleActiveUnitService','onCommandExecuted','BehaviorSubject','5884zINQxe','_drawAnchor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CONFLICT','collabStatus.fetchMiss','IBeforeCloseService','APPLY_PERMISSION_DENIED','_createSocketURL','DOC_RANGE_TYPE','generateRandomId','SetDocZoomRatioOperation','setTimeout','ILocalStorageService','forwardRef','collabCursorState$','selection','getCoordByCell','switchMap','ColorKit','_scene','complete','ENSURE_SNAPSHOT_EXECUTION','values','asObservable','getUnitStatus$','getCurrentSelections','_setupBeforeClosingHandler','LICENSE_EXPORT_SIZE_EXCEEDED','_assignedColors','loadUnit','_startDocCollabCursor','_draw','_unitOnClients','IMessageService','DisposableCollection','univer-flex\x20univer-mr-2\x20univer-text-xl','moveTo','saveImage','_id','WebURLService','CollaborationController','INVITE_CODE_ALREADY_BOUND','_scheduleClearOtherTimer','registerBeforeClose','TEXT','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_UNABLE_LOAD_URL','PENDING','addObject','entries','_hover','permission.content','Unknown\x20user','ACTIVE_UNIT_EVENT_CHANNEL','pushState','on-line-single','294uZqivK','_onCursorUpdate','activeSheet$','YUUMI_ASYNCIO_CANCELLED','_clearOtherTimers','getItem','collab-text-anchor-','round','getParam','translate(.97)','_cachedData','_textBubble','JOIN_ROOM_FAILED','collaboration-client.offline-data-not-saved','enableLocalCache','split','DocCollaborationEntity','deserializeRangeWithSheet','_docSkeletonManagerService','unitID','onMouseMove','_refRangeService','substring','univerjs-icon\x20univerjs-icon-','_initEvent','transformMutation','CollaborationUIEventId','CONNECTOR_DATA_TOO_LARGE','getMemberID','getStateCache','source','setItem','get','next','loadOfflineData','setParam','_localCacheService','roomMembers','post','_anchorDot','_backgroundColor','collaboration.closeRoom','set','collab-text-range-','_hovered','lineTo','session.will-retry','connectInjector','UNIVER_SHEET','actions','Warning','endRow','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_scheduleSaving','bottom','useDependency','subscribe','event$','color','HTTPService','delete','ALREADY_EXISTS','@univerjs/engine-render','@univerjs/sheets-ui','result','width','_transformService','transformByState','popstate','getConfig','then','fill','_memberService','yellow.400','TRANSFORM_CHANGE_OBSERVABLE_TYPE','some','has','_setupSubUnitSync','throttleTime','session.collaboration-timeout','getRangePointData','imageSourceType','toDisposable','_hideTimer','_transformPreviousActiveRange','clearInterval','DocSelectionManagerService','APPLY_NON_SEQUENTIAL_REVISION','syncEditingCollabCursor','_lastPointer','roomMembers$','unshift','_saveCache','engine','history','runOnServer','send','LOGIN_FAILED','CollaborationEvent','with','_imageIoService','collaboration-client-ui.config','_updateSubUnitFromURLParams','disposeUnit','clipPath','propertyIsEnumerable','_updateCollabCursors','YUUMI_TABLE_NOT_FOUND_IN_UNIT','WebSocketService','hasOwnProperty','top','_univerInstanceService','getUndoRedoMutationParamsCache','getOwnPropertySymbols','UniverCollaborationClientUIPlugin','ISocketService','_getSessionTicket','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','saveTaskMap','385mYKVLu','_handleHeartbeatEvent','_labelPosition','updateOfflineData','onStarting','getRenderById','Disposable','none','focused$','entityInit$','COLORS','_refreshCollabCursors','pipe','getMergeData','application/json','2838612lhkuUp','editingUnit','getUnhiddenWorksheets','useRef'];_0x4fda=function(){return _0x523cb6;};return _0x4fda();}function Dt(){const _0x4bce66=_0x49162d;return Math[_0x4bce66(0x299)]()[_0x4bce66(0x2d6)](0x24)[_0x4bce66(0x146)](0x2,0x8);}pe['displayName']=_0x49162d(0xe5);var Ut={'tag':_0x49162d(0xf0),'attrs':{'fill':_0x49162d(0x1ae),'viewBox':_0x49162d(0x27c),'width':'1em','height':_0x49162d(0x1f7)},'children':[{'tag':'g','attrs':{'clipPath':_0x49162d(0xb1)},'children':[{'tag':'path','attrs':{'stroke':_0x49162d(0x22e),'d':_0x49162d(0x2f0),'strokeLinecap':_0x49162d(0x137),'strokeLinejoin':_0x49162d(0x137),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x49162d(0x198),'attrs':{'id':_0x49162d(0x228)},'children':[{'tag':_0x49162d(0x22a),'attrs':{'fill':_0x49162d(0x2ea),'d':_0x49162d(0x235)}}]}]}],'defIds':[_0x49162d(0x228)]},ye=M[_0x49162d(0x105)](function(_0x3dd05b,_0x41d3fb){const _0x5da217=_0x49162d;return M[_0x5da217(0x2b9)](pe,Object[_0x5da217(0xaf)]({},_0x3dd05b,{'id':_0x5da217(0x2f7),'ref':_0x41d3fb,'icon':Ut}));});ye[_0x49162d(0x21d)]='OffLineSingle';var Nt={'tag':_0x49162d(0xf0),'attrs':{'fill':_0x49162d(0x1ae),'viewBox':'0\x200\x2017\x2016','width':_0x49162d(0x1f7),'height':_0x49162d(0x1f7)},'children':[{'tag':'g','attrs':{'clipPath':_0x49162d(0x1f4)},'children':[{'tag':'path','attrs':{'stroke':_0x49162d(0x22e),'d':_0x49162d(0x1a5),'strokeLinecap':_0x49162d(0x137),'strokeLinejoin':_0x49162d(0x137),'strokeWidth':1.2}}]},{'tag':_0x49162d(0xdd),'attrs':{},'children':[{'tag':_0x49162d(0x198),'attrs':{'id':_0x49162d(0xf3)},'children':[{'tag':_0x49162d(0x22a),'attrs':{'fill':_0x49162d(0x2ea),'d':_0x49162d(0x235),'transform':_0x49162d(0x139)}}]}]}],'defIds':[_0x49162d(0xf3)]},$e=M[_0x49162d(0x105)](function(_0x31ede9,_0x29b9c3){const _0x25d55f=_0x49162d;return M[_0x25d55f(0x2b9)](pe,Object['assign']({},_0x31ede9,{'id':_0x25d55f(0x12f),'ref':_0x29b9c3,'icon':Nt}));});$e[_0x49162d(0x21d)]='OnLineSingle';function Mt(_0x18963b){const _0x21df61=_0x49162d;switch(_0x18963b){case u[_0x21df61(0xbb)]['OFFLINE']:return'collabStatus.offline';case u['CollaborationStatus'][_0x21df61(0xfb)]:return _0x21df61(0xb9);case u['CollaborationStatus'][_0x21df61(0x2d9)]:return _0x21df61(0xfc);case u['CollaborationStatus'][_0x21df61(0xc8)]:return'collabStatus.notCollab';case u[_0x21df61(0xbb)][_0x21df61(0x261)]:case u[_0x21df61(0xbb)][_0x21df61(0x2c7)]:return _0x21df61(0x2f9);case u['CollaborationStatus'][_0x21df61(0x1fd)]:case u[_0x21df61(0xbb)][_0x21df61(0x127)]:return _0x21df61(0xf1);}}function xe(_0x326e2f){const _0x3e3400=_0x49162d,{status$:_0x63ee86}=_0x326e2f,_0x460a8c=T[_0x3e3400(0x229)](_0x63ee86,u[_0x3e3400(0xbb)][_0x3e3400(0xc8)]),_0x3a9bdf=T['useDependency'](a[_0x3e3400(0x1c5)]),_0x46bea0=T[_0x3e3400(0x167)](u['CollaborationSessionService']),_0x2c6d26=_0x460a8c!==u[_0x3e3400(0xbb)][_0x3e3400(0x1ea)],_0x1c619e=_0x3a9bdf['t'](Mt(_0x460a8c)),_0x577951=_0x2c6d26?P[_0x3e3400(0x220)]($e,{}):P[_0x3e3400(0x220)](ye,{}),_0x4f84b7=M[_0x3e3400(0x212)](()=>{_0x2c6d26||_0x46bea0['reconnect']();},[_0x2c6d26,_0x46bea0]);function _0x50286b(){const _0x4b6624=_0x3e3400;return P[_0x4b6624(0x255)]('div',{'className':_0x4b6624(0xeb),'onClick':_0x4f84b7,'children':[P[_0x4b6624(0x220)]('div',{'className':D['clsx'](_0x4b6624(0x11b),{'univer-text-green-500':_0x2c6d26,'univer-text-red-500':!_0x2c6d26}),'children':_0x577951}),P[_0x4b6624(0x220)]('div',{'className':_0x4b6624(0x164),'children':_0x1c619e})]});}return _0x2c6d26?_0x50286b():P[_0x3e3400(0x220)](D['Tooltip'],{'title':_0x3a9bdf['t'](_0x3e3400(0x2c0)),'children':_0x50286b()});}var Lt=Object['getOwnPropertyDescriptor'],Pt=(_0x1d0ca0,_0xd2d488,_0x780d9b,_0x463ea8)=>{const _0x1eb609=_0x49162d;for(var _0x3cf9ab=_0x463ea8>0x1?void 0x0:_0x463ea8?Lt(_0xd2d488,_0x780d9b):_0xd2d488,_0x8726ae=_0x1d0ca0[_0x1eb609(0x2b1)]-0x1,_0x1c1abd;_0x8726ae>=0x0;_0x8726ae--)(_0x1c1abd=_0x1d0ca0[_0x8726ae])&&(_0x3cf9ab=_0x1c1abd(_0x3cf9ab)||_0x3cf9ab);return _0x3cf9ab;},V=(_0x51d190,_0x540d40)=>(_0x9ed99b,_0x5d8ada)=>_0x540d40(_0x9ed99b,_0x5d8ada,_0x51d190);exports[_0x49162d(0x2ad)]=class extends a[_0x49162d(0x1ad)]{constructor(_0x2d6b3f,_0x3f0f20,_0x4a749f,_0x582931){const _0x3ae587=_0x49162d;super(),h(this,_0x3ae587(0x2ac),new d['BehaviorSubject'](u[_0x3ae587(0xbb)]['NOT_COLLAB'])),(this[_0x3ae587(0x19f)]=_0x2d6b3f,this[_0x3ae587(0xd5)]=_0x3f0f20,this[_0x3ae587(0x20c)]=_0x4a749f,this[_0x3ae587(0xd9)]=_0x582931,this[_0x3ae587(0xae)](),this['_initStatusListener']());}[_0x49162d(0x2be)](){const _0x4f5d90=_0x49162d;this[_0x4f5d90(0x287)](this[_0x4f5d90(0x19f)][_0x4f5d90(0x1af)][_0x4f5d90(0x1b3)](d[_0x4f5d90(0x109)](()=>{const _0x5a7d4d=_0x4f5d90,_0x1a7e61=this[_0x5a7d4d(0x19f)][_0x5a7d4d(0x1fc)]();return _0x1a7e61?this['_collaborationController']['getCollabEntity$'](_0x1a7e61[_0x5a7d4d(0x2e9)]()):d['of'](null);}),d[_0x4f5d90(0x109)](_0x501f8a=>_0x501f8a?_0x501f8a[_0x4f5d90(0x94)]:d['of'](u['CollaborationStatus'][_0x4f5d90(0xc8)])))['subscribe'](_0x7f8106=>{const _0x26fcd7=_0x4f5d90;this[_0x26fcd7(0x2ac)][_0x26fcd7(0x151)](_0x7f8106);}));}[_0x49162d(0xae)](){const _0x57b754=_0x49162d;this[_0x57b754(0x287)](this[_0x57b754(0xd9)]['registerComponent'](T[_0x57b754(0x2d7)]['HEADER_MENU'],()=>T[_0x57b754(0x15f)](At({'status$':this[_0x57b754(0x2ac)]['asObservable']()}),this[_0x57b754(0xd5)])));}},exports[_0x49162d(0x2ad)]=Pt([V(0x0,a[_0x49162d(0x280)]),V(0x1,a[_0x49162d(0xad)](a[_0x49162d(0x87)])),V(0x2,a[_0x49162d(0xad)](u['CollaborationController'])),V(0x3,T[_0x49162d(0x1d5)])],exports[_0x49162d(0x2ad)]);function At(_0x164cc1){const {status$:_0x20bce1}=_0x164cc1;return function(){return P['jsx'](xe,{'status$':_0x20bce1});};}var wt=Object['getOwnPropertyDescriptor'],yt=(_0x36c3df,_0x21daf3,_0x184102,_0x5c370c)=>{const _0x34705d=_0x49162d;for(var _0x3b4007=_0x5c370c>0x1?void 0x0:_0x5c370c?wt(_0x21daf3,_0x184102):_0x21daf3,_0xbd1ad3=_0x36c3df[_0x34705d(0x2b1)]-0x1,_0x308591;_0xbd1ad3>=0x0;_0xbd1ad3--)(_0x308591=_0x36c3df[_0xbd1ad3])&&(_0x3b4007=_0x308591(_0x3b4007)||_0x3b4007);return _0x3b4007;},y=(_0x269b86,_0x2929a2)=>(_0x1fbf5e,_0x9b019c)=>_0x2929a2(_0x1fbf5e,_0x9b019c,_0x269b86);let q=class extends a[_0x49162d(0x1ad)]{constructor(_0x2834bc,_0x541a1d,_0x389639,_0x336428,_0x322498,_0x159fd6){const _0x424e0f=_0x49162d;super(),this[_0x424e0f(0x1ff)]=_0x2834bc,this[_0x424e0f(0x154)]=_0x541a1d,this[_0x424e0f(0xb6)]=_0x389639,this['_messageService']=_0x336428,this['_notificationService']=_0x322498,this[_0x424e0f(0x1de)]=_0x159fd6,this[_0x424e0f(0x112)](),this[_0x424e0f(0x148)]();}[_0x49162d(0x112)](){const _0x1f15a8=_0x49162d;this[_0x1f15a8(0x287)](this[_0x1f15a8(0x1ff)][_0x1f15a8(0x123)](()=>{const _0x503a22=_0x1f15a8;if(this[_0x503a22(0x154)][_0x503a22(0x1a6)]['size'])return this['_localeService']['t'](_0x503a22(0x13d));}));}[_0x49162d(0x148)](){const _0x4d4d8a=_0x49162d;this[_0x4d4d8a(0x287)](this[_0x4d4d8a(0xb6)]['event$'][_0x4d4d8a(0x168)](_0x1ff55e=>{const _0x43d238=_0x4d4d8a;_0x1ff55e['id']===u['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x43d238(0x2fd)][_0x43d238(0x1f1)]({'type':D[_0x43d238(0x285)][_0x43d238(0x162)],'content':this[_0x43d238(0x1de)]['t'](_0x43d238(0x7b))}),_0x1ff55e['id']===u[_0x43d238(0x14a)][_0x43d238(0x27b)]&&this[_0x43d238(0x2fd)]['show']({'type':D['MessageType']['Warning'],'content':this[_0x43d238(0x1de)]['t'](_0x43d238(0x159))}),_0x1ff55e['id']===u[_0x43d238(0x14a)][_0x43d238(0x1e6)]&&this[_0x43d238(0x286)][_0x43d238(0x1f1)]({'title':this[_0x43d238(0x1de)]['t'](_0x43d238(0x237)),'content':this[_0x43d238(0x1de)]['t'](_0x43d238(0x12b)),'type':'error','duration':0x0}),_0x1ff55e['id']===u[_0x43d238(0x14a)][_0x43d238(0xfb)]&&this['_messageService'][_0x43d238(0x1f1)]({'type':D[_0x43d238(0x285)][_0x43d238(0xd2)],'content':this[_0x43d238(0x1de)]['t']('collaboration.closeRoom')+'('+_0x1ff55e[_0x43d238(0x24d)]+')'}),_0x1ff55e['id']===u[_0x43d238(0x14a)][_0x43d238(0x13c)]&&this[_0x43d238(0x2fd)][_0x43d238(0x1f1)]({'type':D[_0x43d238(0x285)]['Warning'],'content':this[_0x43d238(0x1de)]['t'](_0x1ff55e[_0x43d238(0x24d)]||'')}),_0x1ff55e['id']===u[_0x43d238(0x14a)][_0x43d238(0x271)]&&this['_messageService'][_0x43d238(0x1f1)]({'type':D[_0x43d238(0x285)][_0x43d238(0x162)],'content':this['_localeService']['t'](_0x43d238(0x15e))}),_0x1ff55e['id']===u[_0x43d238(0x14a)]['SOCKET_FAILED']&&this[_0x43d238(0x2fd)][_0x43d238(0x1f1)]({'type':D['MessageType']['Error'],'content':this[_0x43d238(0x1de)]['t']('session.connection-failed')}),_0x1ff55e['id']===u['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x43d238(0x2fd)]['show']({'type':D['MessageType'][_0x43d238(0xd2)],'content':this['_localeService']['t'](_0x43d238(0x17f))});}));}};q=yt([y(0x0,T[_0x49162d(0xfd)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x49162d(0xad)](u[_0x49162d(0x81)])),y(0x3,T[_0x49162d(0x119)]),y(0x4,T[_0x49162d(0xdf)]),y(0x5,a[_0x49162d(0xad)](a[_0x49162d(0x1c5)]))],q);const $t=_0x49162d(0x195),Ue={},be=a['createIdentifier'](_0x49162d(0x301));var xt=Object[_0x49162d(0x20a)],jt=(_0xb265f2,_0x4382ee,_0x68b290,_0x5468fc)=>{const _0x50425b=_0x49162d;for(var _0x48347d=_0x5468fc>0x1?void 0x0:_0x5468fc?xt(_0x4382ee,_0x68b290):_0x4382ee,_0x2afc0c=_0xb265f2[_0x50425b(0x2b1)]-0x1,_0x5874c2;_0x2afc0c>=0x0;_0x2afc0c--)(_0x5874c2=_0xb265f2[_0x2afc0c])&&(_0x48347d=_0x5874c2(_0x48347d)||_0x48347d);return _0x48347d;},H=(_0x1f62f6,_0x4238ff)=>(_0x4cecc1,_0x4050c7)=>_0x4238ff(_0x4cecc1,_0x4050c7,_0x1f62f6);exports[_0x49162d(0x1c1)]=class extends a[_0x49162d(0xe0)]{constructor(_0x208d31,_0x4753c8,_0x2308c0,_0x33e144,_0x54c738){const _0x241b6b=_0x49162d;super(),this['_urlService']=_0x208d31,this[_0x241b6b(0x1e2)]=_0x4753c8,this[_0x241b6b(0x2b8)]=_0x2308c0,this['_dataLoaderService']=_0x33e144,_0x54c738?_0x54c738==null||_0x54c738[_0x241b6b(0x25b)]()[_0x241b6b(0x176)](()=>this[_0x241b6b(0x258)]()):(this[_0x241b6b(0x1e2)][_0x241b6b(0xdc)](_0x241b6b(0x83),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x49162d(0x258)](){const _0xb287f7=_0x49162d,_0x4bfb65=this[_0xb287f7(0x2b5)][_0xb287f7(0x138)](_0xb287f7(0x257)),_0x49bb7a=this[_0xb287f7(0x2b5)][_0xb287f7(0x138)]('type'),_0x49eeeb=this['_urlService'][_0xb287f7(0x138)](_0xb287f7(0x209));if(!_0x4bfb65||!_0x49bb7a){this['_logService'][_0xb287f7(0xdc)]('[CollaborationDataLoaderController]',_0xb287f7(0x1c8));return;}const _0x926eb6=await this['_dataLoaderService'][_0xb287f7(0x115)](_0x4bfb65,Number(_0x49bb7a),_0x49eeeb);_0x926eb6&&_0x926eb6 instanceof a['Workbook']&&this[_0xb287f7(0x17d)](_0x926eb6);}async['_setupSubUnitSync'](_0x485af1){const _0xa91080=_0x49162d;await this[_0xa91080(0x196)](_0x485af1),_0x485af1[_0xa91080(0x132)][_0xa91080(0x1b3)](d['takeUntil'](this[_0xa91080(0x9d)]))[_0xa91080(0x168)](_0x5d02ae=>{const _0x4e7b3f=_0xa91080;_0x5d02ae&&this[_0x4e7b3f(0x302)](_0x5d02ae);}),this[_0xa91080(0x2b5)][_0xa91080(0xdb)][_0xa91080(0x1b3)](d[_0xa91080(0x21f)](this[_0xa91080(0x9d)]))[_0xa91080(0x168)](()=>this[_0xa91080(0x196)](_0x485af1));}[_0x49162d(0x302)](_0x2d6e9b,_0xa6d618=!0x1){const _0x1e2cc8=_0x49162d,_0x5ee695=this['_urlService'][_0x1e2cc8(0x138)](_0x1e2cc8(0x209));_0x2d6e9b['getSheetId']()!==_0x5ee695&&this[_0x1e2cc8(0x2b5)][_0x1e2cc8(0x153)](_0x1e2cc8(0x209),_0x2d6e9b[_0x1e2cc8(0x2fa)](),_0xa6d618);}async[_0x49162d(0x196)](_0x48ee74){const _0x11bbfd=_0x49162d;var _0x56c72b;const _0x17eac6=this[_0x11bbfd(0x2b5)][_0x11bbfd(0x138)](_0x11bbfd(0x209));if(!_0x17eac6||!_0x48ee74[_0x11bbfd(0xa4)](_0x17eac6)){const _0x4cb177=_0x48ee74[_0x11bbfd(0x1b8)]()[0x0],_0x4673b9=_0x48ee74[_0x11bbfd(0xa4)](_0x4cb177);if(!_0x4673b9)return;this['_updateURLWithCurrentState'](_0x4673b9,!0x0),await this[_0x11bbfd(0x2b8)]['executeCommand'](g[_0x11bbfd(0x1dc)]['id'],{'unitId':_0x48ee74[_0x11bbfd(0x2e9)](),'subUnitId':_0x4cb177});return;}((_0x56c72b=_0x48ee74['getActiveSheet']())==null?void 0x0:_0x56c72b['getSheetId']())!==_0x17eac6&&await this[_0x11bbfd(0x2b8)][_0x11bbfd(0x2d5)](g[_0x11bbfd(0x1dc)]['id'],{'unitId':_0x48ee74['getUnitId'](),'subUnitId':_0x17eac6});}},exports[_0x49162d(0x1c1)]=jt([H(0x0,be),H(0x1,a[_0x49162d(0x2d8)]),H(0x2,a[_0x49162d(0x21a)]),H(0x3,a[_0x49162d(0xad)](u[_0x49162d(0x29e)])),H(0x4,a[_0x49162d(0x29c)](Ke['IRemoteInstanceService']))],exports[_0x49162d(0x1c1)]);var Bt=Object[_0x49162d(0x20a)],kt=(_0x2e837f,_0x124fce,_0x42157a,_0x1e35ef)=>{const _0xd11fc8=_0x49162d;for(var _0xc08a11=_0x1e35ef>0x1?void 0x0:_0x1e35ef?Bt(_0x124fce,_0x42157a):_0x124fce,_0x585fdf=_0x2e837f[_0xd11fc8(0x2b1)]-0x1,_0x4fa43b;_0x585fdf>=0x0;_0x585fdf--)(_0x4fa43b=_0x2e837f[_0x585fdf])&&(_0xc08a11=_0x4fa43b(_0xc08a11)||_0xc08a11);return _0xc08a11;},ce=(_0x103a08,_0x10a775)=>(_0x5266a4,_0x3eb30c)=>_0x10a775(_0x5266a4,_0x3eb30c,_0x103a08);let z=class{constructor(_0x2f755c,_0x1b31c7,_0x1a6c78){const _0x3dc130=_0x49162d;this[_0x3dc130(0xd5)]=_0x2f755c,this['_transformService']=_0x1b31c7,this['_renderManagerService']=_0x1a6c78;}[_0x49162d(0x305)](_0x5747b7){const _0x2f8f66=_0x49162d;this['_transformUndoRedoStack'](_0x5747b7),this[_0x2f8f66(0x184)](_0x5747b7);}[_0x49162d(0x1ce)](_0x12162c){const _0x40359b=_0x49162d,{unitID:_0x3be278}=_0x12162c,_0xe1edb7=this[_0x40359b(0xce)][_0x40359b(0x1ac)](_0x3be278)[_0x40359b(0x193)](b['DocIMEInputManagerService']),{redoCache:_0x4f8021}=_0xe1edb7[_0x40359b(0x1a0)]();if(_0x4f8021[_0x40359b(0x2b1)]===0x0)return _0x12162c;let _0x1aceab=a['Tools'][_0x40359b(0x90)](_0x12162c[_0x40359b(0x284)][0x0]);for(let _0x43ac88=0x0;_0x43ac88<_0x4f8021[_0x40359b(0x2b1)];_0x43ac88++){const _0x5792e7={'id':'doc.mutation.rich-text-editing','params':{..._0x4f8021[_0x43ac88]}},_0x2fcf04=this[_0x40359b(0x172)][_0x40359b(0x149)](_0x1aceab,_0x5792e7,!0x1);if(m[_0x40359b(0xa0)](_0x2fcf04))throw _0x2fcf04[_0x40359b(0x252)];_0x1aceab=_0x2fcf04[_0x40359b(0x204)];}return{...a[_0x40359b(0xac)][_0x40359b(0x90)](_0x12162c),'mutations':[_0x1aceab]};}['_transformUndoRedoStack'](_0xdfcccf){const _0x1fb54c=_0x49162d,{unitID:_0x360736}=_0xdfcccf,_0x420281=this[_0x1fb54c(0xce)][_0x1fb54c(0x1ac)](_0x360736)[_0x1fb54c(0x193)](b[_0x1fb54c(0x1e4)]),{undoCache:_0x13489f,redoCache:_0x14d9f3}=_0x420281[_0x1fb54c(0x1a0)]();if(_0x13489f[_0x1fb54c(0x2b1)]===0x0||_0x14d9f3[_0x1fb54c(0x2b1)]===0x0)return;const _0x3bd4bf=[],_0x14ba68=[];let _0x5bd61d=a['Tools']['deepClone'](_0xdfcccf[_0x1fb54c(0x284)][0x0]),_0x28e3f2=a['Tools'][_0x1fb54c(0x90)](_0xdfcccf[_0x1fb54c(0x284)][0x0]);for(let _0x4e403e=_0x13489f[_0x1fb54c(0x2b1)]-0x1;_0x4e403e>=0x0;_0x4e403e--){const _0x3d8035={'id':_0x1fb54c(0xb3),'params':{..._0x13489f[_0x4e403e]}},_0x255f52={'id':'doc.mutation.rich-text-editing','params':{..._0x14d9f3[_0x4e403e]}},_0x3704a3=this[_0x1fb54c(0x172)][_0x1fb54c(0x149)](_0x5bd61d,_0x3d8035,!0x1),_0x530359=this[_0x1fb54c(0x172)][_0x1fb54c(0x149)](_0x28e3f2,_0x255f52,!0x1);if(m['isTransformMutationFailure'](_0x3704a3))throw _0x3704a3[_0x1fb54c(0x252)];if(m[_0x1fb54c(0xa0)](_0x530359))throw _0x530359[_0x1fb54c(0x252)];_0x3bd4bf[_0x1fb54c(0x18b)](_0x3704a3[_0x1fb54c(0x203)][_0x1fb54c(0x2d4)]),_0x14ba68[_0x1fb54c(0x18b)](_0x530359[_0x1fb54c(0x203)][_0x1fb54c(0x2d4)]),_0x5bd61d=_0x3704a3[_0x1fb54c(0x204)],_0x28e3f2=_0x530359['m1Prime'];}_0x420281['setUndoRedoMutationParamsCache']({'undoCache':_0x3bd4bf,'redoCache':_0x14ba68});}[_0x49162d(0x184)](_0x323140){const _0x3ccc83=_0x49162d,{unitID:_0x309299}=_0x323140,_0x4e33dc=this['_renderManagerService']['getRenderById'](_0x309299)[_0x3ccc83(0x193)](b[_0x3ccc83(0x1e4)]),_0x5a9086=_0x4e33dc[_0x3ccc83(0x1d6)]();if(_0x5a9086==null)return;const _0x1f749b=[{'id':_0x3ccc83(0xb3),'params':{'unitId':_0x323140[_0x3ccc83(0x143)],'actions':null,'textRanges':[_0x5a9086]}}],_0x2d7b61=this['_transformService']['transformMutationsWithChangeset'](_0x323140,_0x1f749b);if(!m[_0x3ccc83(0x28b)](_0x2d7b61))throw _0x2d7b61[_0x3ccc83(0x252)];const _0x2802eb=_0x2d7b61[_0x3ccc83(0x203)][0x0][_0x3ccc83(0x2d4)][_0x3ccc83(0x2b7)];Array[_0x3ccc83(0x8d)](_0x2802eb)&&_0x2802eb['length']&&_0x4e33dc['setActiveRange'](_0x2802eb[0x0]);}};z=kt([ce(0x0,a[_0x49162d(0xad)](a['Injector'])),ce(0x1,m[_0x49162d(0x273)]),ce(0x2,p[_0x49162d(0x92)])],z);var Ht=Object[_0x49162d(0x20a)],Ft=(_0x342ac6,_0x1d90c0,_0x251323,_0x932757)=>{const _0x94a3ce=_0x49162d;for(var _0x3f89cb=_0x932757>0x1?void 0x0:_0x932757?Ht(_0x1d90c0,_0x251323):_0x1d90c0,_0x526c55=_0x342ac6[_0x94a3ce(0x2b1)]-0x1,_0x3655d7;_0x526c55>=0x0;_0x526c55--)(_0x3655d7=_0x342ac6[_0x526c55])&&(_0x3f89cb=_0x3655d7(_0x3f89cb)||_0x3f89cb);return _0x3f89cb;},le=(_0x6aa5c5,_0x4fad02)=>(_0x385433,_0x1f4774)=>_0x4fad02(_0x385433,_0x1f4774,_0x6aa5c5);let J=class{constructor(_0x23887b,_0x58e567,_0x2c80bc){const _0x349d80=_0x49162d;this[_0x349d80(0xd5)]=_0x23887b,this[_0x349d80(0x172)]=_0x58e567,this[_0x349d80(0x288)]=_0x2c80bc;}[_0x49162d(0x97)](_0x322d9c){const _0x195739=_0x49162d;this[_0x195739(0x266)](_0x322d9c);}[_0x49162d(0x1ce)](_0x1484ff){const _0x4d20ba=_0x49162d,{unitID:_0x54b494}=_0x1484ff,{collaboration:_0x25d303}=this[_0x4d20ba(0x288)][_0x4d20ba(0x14d)](_0x54b494);if(_0x25d303['length']===0x0)return _0x1484ff;let _0x7fcf36=a[_0x4d20ba(0xac)]['deepClone'](_0x1484ff[_0x4d20ba(0x284)][0x0]);for(let _0xc2457d=0x0;_0xc2457d<_0x25d303[_0x4d20ba(0x2b1)];_0xc2457d++){const _0x5d5440={'id':_0x4d20ba(0xb3),'params':{'unitId':_0x25d303[_0xc2457d][_0x4d20ba(0xd6)],..._0x25d303[_0xc2457d][_0x4d20ba(0x9e)]}},_0xbb347c=this[_0x4d20ba(0x172)][_0x4d20ba(0x149)](_0x7fcf36,_0x5d5440,!0x1);if(m['isTransformMutationFailure'](_0xbb347c))throw _0xbb347c['error'];_0x7fcf36=_0xbb347c[_0x4d20ba(0x204)];}return{...a[_0x4d20ba(0xac)][_0x4d20ba(0x90)](_0x1484ff),'mutations':[_0x7fcf36]};}['_transformHistoryAndStateStack'](_0x44b0e0){const _0xd1a9d9=_0x49162d,{unitID:_0x5cb93d}=_0x44b0e0,{history:_0x129de4,collaboration:_0x487713}=this[_0xd1a9d9(0x288)][_0xd1a9d9(0x14d)](_0x5cb93d);if(_0x129de4[_0xd1a9d9(0x2b1)]===0x0&&_0x487713[_0xd1a9d9(0x2b1)]===0x0)return;const _0x217efe=[],_0x1aba37=[];let _0x1697eb=a[_0xd1a9d9(0xac)]['deepClone'](_0x44b0e0[_0xd1a9d9(0x284)][0x0]),_0x429b55=a['Tools'][_0xd1a9d9(0x90)](_0x44b0e0['mutations'][0x0]);for(let _0xe4e27d=_0x129de4[_0xd1a9d9(0x2b1)]-0x1;_0xe4e27d>=0x0;_0xe4e27d--){const _0x5eb259={'id':_0xd1a9d9(0xb3),'params':{'unitId':_0x129de4[_0xe4e27d][_0xd1a9d9(0xd6)],..._0x129de4[_0xe4e27d][_0xd1a9d9(0xb8)]}},_0x5d803d={'id':_0xd1a9d9(0xb3),'params':{'unitId':_0x129de4[_0xe4e27d]['unitId'],..._0x129de4[_0xe4e27d][_0xd1a9d9(0x9e)]}},_0x587ffd=this[_0xd1a9d9(0x172)][_0xd1a9d9(0x149)](_0x1697eb,_0x5eb259,!0x1),_0x5921d3=this['_transformService']['transformMutation'](_0x429b55,_0x5d803d,!0x1);if(m[_0xd1a9d9(0xa0)](_0x587ffd))throw _0x587ffd[_0xd1a9d9(0x252)];if(m[_0xd1a9d9(0xa0)](_0x5921d3))throw _0x5921d3[_0xd1a9d9(0x252)];_0x217efe[_0xd1a9d9(0x18b)]({..._0x129de4[_0xe4e27d],'undoState':_0x587ffd[_0xd1a9d9(0x203)][_0xd1a9d9(0x2d4)],'redoState':_0x5921d3['m2Prime']['params']}),_0x1697eb=_0x587ffd['m1Prime'],_0x429b55=_0x5921d3[_0xd1a9d9(0x204)];}_0x1697eb=a[_0xd1a9d9(0xac)][_0xd1a9d9(0x90)](_0x44b0e0[_0xd1a9d9(0x284)][0x0]),_0x429b55=a[_0xd1a9d9(0xac)][_0xd1a9d9(0x90)](_0x44b0e0['mutations'][0x0]);for(let _0xe0a49a=_0x487713['length']-0x1;_0xe0a49a>=0x0;_0xe0a49a--){const _0x464bfc={'id':_0xd1a9d9(0xb3),'params':{'unitId':_0x487713[_0xe0a49a][_0xd1a9d9(0xd6)],..._0x487713[_0xe0a49a][_0xd1a9d9(0xb8)]}},_0x8b42ea={'id':_0xd1a9d9(0xb3),'params':{'unitId':_0x487713[_0xe0a49a][_0xd1a9d9(0xd6)],..._0x487713[_0xe0a49a]['redoState']}},_0x211bbc=this['_transformService'][_0xd1a9d9(0x149)](_0x1697eb,_0x464bfc,!0x1),_0x18f94d=this['_transformService'][_0xd1a9d9(0x149)](_0x429b55,_0x8b42ea,!0x1);if(m[_0xd1a9d9(0xa0)](_0x211bbc))throw _0x211bbc['error'];if(m[_0xd1a9d9(0xa0)](_0x18f94d))throw _0x18f94d[_0xd1a9d9(0x252)];_0x1aba37[_0xd1a9d9(0x18b)]({..._0x487713[_0xe0a49a],'undoState':_0x211bbc['m2Prime'][_0xd1a9d9(0x2d4)],'redoState':_0x18f94d[_0xd1a9d9(0x203)][_0xd1a9d9(0x2d4)]}),_0x1697eb=_0x211bbc['m1Prime'],_0x429b55=_0x18f94d[_0xd1a9d9(0x204)];}this['_docStateChangeManagerService'][_0xd1a9d9(0x244)](_0x5cb93d,{'history':_0x217efe,'collaboration':_0x1aba37});}};J=Ft([le(0x0,a[_0x49162d(0xad)](a[_0x49162d(0x87)])),le(0x1,m[_0x49162d(0x273)]),le(0x2,a[_0x49162d(0xad)](b[_0x49162d(0x85)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0x52b257,_0x2f358f,_0x46010d,_0x309280)=>{const _0x321f6a=_0x49162d;for(var _0x2ea99a=_0x309280>0x1?void 0x0:_0x309280?Yt(_0x2f358f,_0x46010d):_0x2f358f,_0x1cc320=_0x52b257[_0x321f6a(0x2b1)]-0x1,_0x204cd2;_0x1cc320>=0x0;_0x1cc320--)(_0x204cd2=_0x52b257[_0x1cc320])&&(_0x2ea99a=_0x204cd2(_0x2ea99a)||_0x2ea99a);return _0x2ea99a;},Ne=(_0x50b0bd,_0xf2a1fc)=>(_0x2b6528,_0x1c7941)=>_0xf2a1fc(_0x2b6528,_0x1c7941,_0x50b0bd);let Z=class{constructor(_0x3b922c,_0xa0bc3e){this['_injector']=_0x3b922c,this['_transformService']=_0xa0bc3e;}['transformSelections'](_0x235fd7){const _0x3de0cc=_0x49162d;var _0x320766;const _0x3cfad1=this['_injector'][_0x3de0cc(0x150)](Y[_0x3de0cc(0x186)]),_0x5958b8=(_0x320766=_0x3cfad1[_0x3de0cc(0x2e1)]())!=null?_0x320766:[];if(_0x5958b8[_0x3de0cc(0x2b1)]===0x0)return;const _0x557325=_0x235fd7[_0x3de0cc(0x143)],_0x2875fc=[{'id':_0x3de0cc(0xb3),'params':{'unitId':_0x557325,'actions':null,'textRanges':_0x5958b8}}],_0x3f1194=this['_transformService']['transformMutationsWithChangeset'](_0x235fd7,_0x2875fc);if(!m[_0x3de0cc(0x28b)](_0x3f1194))throw _0x3f1194[_0x3de0cc(0x252)];const _0x122bae=_0x3f1194['m2Prime'][0x0][_0x3de0cc(0x2d4)][_0x3de0cc(0x2b7)];Array['isArray'](_0x122bae)&&_0x122bae['length']&&_0x3cfad1[_0x3de0cc(0xc6)](_0x122bae,{'unitId':_0x557325,'subUnitId':_0x557325},!0x1);}};Z=Wt([Ne(0x0,a[_0x49162d(0xad)](a[_0x49162d(0x87)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x369a97,_0x91798f,_0x5dd0c9,_0x5b6758)=>{for(var _0x4234e9=_0x5b6758>0x1?void 0x0:_0x5b6758?Vt(_0x91798f,_0x5dd0c9):_0x91798f,_0x1ec51b=_0x369a97['length']-0x1,_0x34b909;_0x1ec51b>=0x0;_0x1ec51b--)(_0x34b909=_0x369a97[_0x1ec51b])&&(_0x4234e9=_0x34b909(_0x4234e9)||_0x4234e9);return _0x4234e9;},N=(_0x3ae220,_0x56479e)=>(_0x1a6eac,_0x69a583)=>_0x56479e(_0x1a6eac,_0x69a583,_0x3ae220);let Q=class extends a[_0x49162d(0x1ad)]{constructor(_0x21225b,_0x33a8d9,_0x1a2411,_0x400c83,_0xd05ede,_0x3f863f,_0x32e95e,_0x411d20){const _0x423513=_0x49162d;super(),h(this,_0x423513(0x2ac),new d[(_0x423513(0xf7))](u['CollaborationStatus'][_0x423513(0xc8)])),(this[_0x423513(0x288)]=_0x21225b,this['_collaborationController']=_0x33a8d9,this[_0x423513(0x2e8)]=_0x1a2411,this[_0x423513(0xab)]=_0x400c83,this[_0x423513(0x2c4)]=_0xd05ede,this['_docSyncEditingCollabCursorService']=_0x3f863f,this[_0x423513(0x2fd)]=_0x32e95e,this[_0x423513(0x1de)]=_0x411d20,this[_0x423513(0x2bd)]());}[_0x49162d(0x2bd)](){const _0x290723=_0x49162d;this['disposeWithMe'](this[_0x290723(0x20c)][_0x290723(0x1b0)][_0x290723(0x168)](_0x4f0820=>{const _0x4bf849=_0x290723,_0x8e4ad5=this[_0x4bf849(0x288)][_0x4bf849(0x260)][_0x4bf849(0x168)](_0x538c15=>{const _0x372a67=_0x4bf849;if(_0x538c15==null)return;const {unitId:_0x2e46af,redoState:_0x28dcb5,commandId:_0x69453d}=_0x538c15;if(_0x2e46af!==_0x4f0820[_0x372a67(0x143)])return;const _0x4cc032={'id':_0x69453d,'type':a[_0x372a67(0x21b)][_0x372a67(0x238)],'params':{'unitId':_0x2e46af,'actions':_0x28dcb5[_0x372a67(0x161)],'textRanges':null}};_0x4f0820[_0x372a67(0xe7)](_0x4cc032);});if(_0x4f0820[_0x4bf849(0x287)](_0x8e4ad5),_0x4f0820 instanceof u[_0x4bf849(0x140)]){const _0x16bcc5={'onTransformIME':_0x741a=>this[_0x4bf849(0x2e8)]['transformIMECache'](_0x741a),'onTransformState':_0x3f26ad=>this[_0x4bf849(0xab)]['transformStateCache'](_0x3f26ad),'onTransformSelections':_0x43e171=>this[_0x4bf849(0x2c4)]['transformSelections'](_0x43e171),'onSyncEditingCollabCursor':_0x8a0f9b=>this[_0x4bf849(0x2a1)][_0x4bf849(0x188)](_0x8a0f9b),'onTransformRemoteChangesetByIMECache':_0x3a71a8=>this[_0x4bf849(0x2e8)][_0x4bf849(0x1ce)](_0x3a71a8),'onTransformRemoteChangesetByStateCache':_0x454cf8=>this[_0x4bf849(0xab)]['transformRemoteChangeset'](_0x454cf8)};_0x4f0820[_0x4bf849(0x270)](_0x16bcc5);}}));}};Q=Xt([N(0x0,a[_0x49162d(0xad)](b[_0x49162d(0x85)])),N(0x1,a[_0x49162d(0xad)](u[_0x49162d(0x120)])),N(0x2,a[_0x49162d(0xad)](z)),N(0x3,a['Inject'](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x49162d(0xad)](Ce)),N(0x6,T[_0x49162d(0x119)]),N(0x7,a[_0x49162d(0xad)](a[_0x49162d(0x1c5)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x3dcb6b,_0x587de3,_0x513da1,_0x228583)=>{const _0x4e0188=_0x49162d;for(var _0x19040c=_0x228583>0x1?void 0x0:_0x228583?Gt(_0x587de3,_0x513da1):_0x587de3,_0x24992d=_0x3dcb6b[_0x4e0188(0x2b1)]-0x1,_0xe917ed;_0x24992d>=0x0;_0x24992d--)(_0xe917ed=_0x3dcb6b[_0x24992d])&&(_0x19040c=_0xe917ed(_0x19040c)||_0x19040c);return _0x19040c;},_e=(_0x2ce47b,_0x4de00b)=>(_0x5e04bd,_0x527cca)=>_0x4de00b(_0x5e04bd,_0x527cca,_0x2ce47b);let ge=class extends a['Disposable']{constructor(_0xa8d060,_0x185a35,_0x21c7a5){const _0x5e48bc=_0x49162d;super(),h(this,'_cachedData',new Map()),h(this,_0x5e48bc(0xca),new Map()),h(this,'_disabled',!0x1),(this[_0x5e48bc(0x8a)]=_0xa8d060,this['_localStorageService']=_0x185a35,this[_0x5e48bc(0x1f9)]=_0x21c7a5);}['disableLocalCache'](){const _0x4df9c9=_0x49162d;this[_0x4df9c9(0x93)]=!0x0;}[_0x49162d(0x13e)](){this['_disabled']=!0x1;}get[_0x49162d(0x1a6)](){const _0x98192=_0x49162d;return this[_0x98192(0xca)];}[_0x49162d(0x205)](){const _0x19e331=_0x49162d;this[_0x19e331(0x2a3)]()[_0x19e331(0x176)](()=>super[_0x19e331(0x205)]());}async[_0x49162d(0x152)](_0xebcaec){const _0x1d4c6d=_0x49162d;return this['_disabled']?null:this[_0x1d4c6d(0xcc)][_0x1d4c6d(0x135)](u[_0x1d4c6d(0x2f5)](_0xebcaec));}async[_0x49162d(0x267)](_0x29399b,_0x3194e4){const _0x337f7c=_0x49162d;return!!this[_0x337f7c(0xcc)][_0x337f7c(0x14f)](_0x29399b,_0x3194e4);}[_0x49162d(0x1aa)](_0x2c40a2,_0xc16a6a,_0x172335,_0x4a6f2e){const _0x4bf00d=_0x49162d,_0x3d23cc=this[_0x4bf00d(0x1f9)][_0x4bf00d(0x26a)](_0x2c40a2);this[_0x4bf00d(0x13a)][_0x4bf00d(0x15a)](_0x2c40a2,{'unitID':_0x2c40a2,'type':_0xc16a6a,'awaitingChangeset':_0x172335,'mutations':_0x4a6f2e,'rev':_0x3d23cc}),this[_0x4bf00d(0xca)]['has'](_0x2c40a2)||this['_scheduleSaving'](_0x2c40a2);}[_0x49162d(0x165)](_0x53fc8f){const _0x4bad71=_0x49162d,_0x48e092=this[_0x4bad71(0x274)]();_0x48e092===0x0?this[_0x4bad71(0x18c)](_0x53fc8f):this[_0x4bad71(0xca)][_0x4bad71(0x15a)](_0x53fc8f,setTimeout(()=>this[_0x4bad71(0x18c)](_0x53fc8f),_0x48e092));}[_0x49162d(0x274)](){const _0x2f34f0=_0x49162d;var _0x160ea9;return(_0x160ea9=this['_configService'][_0x2f34f0(0x175)](u[_0x2f34f0(0x2b2)]))!=null?_0x160ea9:u[_0x2f34f0(0x24a)];}[_0x49162d(0x18c)](_0x273a2f){const _0x2d8201=_0x49162d,_0x2aaf86=this[_0x2d8201(0xca)][_0x2d8201(0x150)](_0x273a2f);return _0x2aaf86!==void 0x0&&window[_0x2d8201(0x2ff)](_0x2aaf86),this['_localStorageService'][_0x2d8201(0x14f)](u[_0x2d8201(0x2f5)](_0x273a2f),this['_cachedData'][_0x2d8201(0x150)](_0x273a2f))['then'](()=>this[_0x2d8201(0xca)][_0x2d8201(0x16c)](_0x273a2f));}async['exhaustSavingTask'](){const _0x3292df=_0x49162d,_0x24eeb7=[];this[_0x3292df(0xca)][_0x3292df(0x207)]((_0x2c2199,_0x3c8387)=>{const _0x3592e4=_0x3292df;window[_0x3592e4(0x2ff)](_0x2c2199),_0x24eeb7[_0x3592e4(0x2aa)](this[_0x3592e4(0x18c)](_0x3c8387)['then'](()=>{const _0x579fc1=_0x3592e4;this[_0x579fc1(0xca)][_0x579fc1(0x16c)](_0x3c8387);}));}),await Promise['all'](_0x24eeb7);}};ge=Kt([_e(0x0,a[_0x49162d(0x2d2)]),_e(0x1,a[_0x49162d(0x104)]),_e(0x2,a[_0x49162d(0xad)](m[_0x49162d(0x2a8)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x5537e2=_0x49162d;super(),h(this,_0x5537e2(0xdb)),this[_0x5537e2(0xdb)]=d[_0x5537e2(0x243)](window,_0x5537e2(0x174))['pipe'](d[_0x5537e2(0x21f)](this[_0x5537e2(0x9d)]),d[_0x5537e2(0xc2)](0x1),d[_0x5537e2(0x1f3)](void 0x0));}[_0x49162d(0x153)](_0x3b7a0f,_0x219e8a,_0x460a87=!0x1){const _0x40d24d=_0x49162d,_0x52691c=new URL(window[_0x40d24d(0x2ce)]['href']);_0x52691c[_0x40d24d(0xa9)]['set'](_0x3b7a0f,_0x219e8a),_0x460a87?window[_0x40d24d(0x18e)][_0x40d24d(0x1cd)]('','',_0x52691c[_0x40d24d(0x2d6)]()):window['history'][_0x40d24d(0x12e)]('','',_0x52691c[_0x40d24d(0x2d6)]());}[_0x49162d(0x26e)](_0x477374,_0x40748c=!0x1){const _0x440013=_0x49162d,_0x4cf164=new URL(window[_0x440013(0x2ce)]['href']);_0x4cf164[_0x440013(0xa9)][_0x440013(0x16c)](_0x477374),_0x40748c?window[_0x440013(0x18e)][_0x440013(0x1cd)]('','',_0x4cf164[_0x440013(0x2d6)]()):window['history'][_0x440013(0x12e)]('','',_0x4cf164['toString']());}[_0x49162d(0x138)](_0x559d1b){const _0x55a4a6=_0x49162d;var _0x9aa5cc;return(_0x9aa5cc=new URL(window[_0x55a4a6(0x2ce)][_0x55a4a6(0x297)])[_0x55a4a6(0xa9)][_0x55a4a6(0x150)](_0x559d1b))!=null?_0x9aa5cc:void 0x0;}}var qt=Object[_0x49162d(0x7f)],zt=Object[_0x49162d(0x20a)],Jt=(_0x589869,_0x3705be,_0x3763b6)=>_0x3705be in _0x589869?qt(_0x589869,_0x3705be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3763b6}):_0x589869[_0x3705be]=_0x3763b6,Zt=(_0x2ef69a,_0x103155,_0x15c82c,_0x2a5221)=>{const _0x4c22c8=_0x49162d;for(var _0x31f0f8=_0x2a5221>0x1?void 0x0:_0x2a5221?zt(_0x103155,_0x15c82c):_0x103155,_0x16ae50=_0x2ef69a[_0x4c22c8(0x2b1)]-0x1,_0x3e0929;_0x16ae50>=0x0;_0x16ae50--)(_0x3e0929=_0x2ef69a[_0x16ae50])&&(_0x31f0f8=_0x3e0929(_0x31f0f8)||_0x31f0f8);return _0x31f0f8;},he=(_0x254758,_0xec8bbb)=>(_0xecfee8,_0x20a93a)=>_0xec8bbb(_0xecfee8,_0x20a93a,_0x254758),Qt=(_0x5e643e,_0x57dc2a,_0x36a0c0)=>Jt(_0x5e643e,_0x57dc2a+'',_0x36a0c0);const es=_0x49162d(0x91);exports[_0x49162d(0x1a2)]=class extends a[_0x49162d(0x246)]{constructor(_0x1ad3ee=Ue,_0x338166,_0x5f2d97,_0x567a9f){const _0x3c6c03=_0x49162d;super(),this['_config']=_0x1ad3ee,this[_0x3c6c03(0xce)]=_0x338166,this[_0x3c6c03(0xd5)]=_0x5f2d97,this['_configService']=_0x567a9f;const {..._0x3958d9}=a['merge']({},Ue,this[_0x3c6c03(0x22d)]);this[_0x3c6c03(0x8a)][_0x3c6c03(0x2f3)]($t,_0x3958d9);}[_0x49162d(0x1ab)](){const _0x59c801=_0x49162d;this[_0x59c801(0x2eb)](),this[_0x59c801(0x1d8)]();}[_0x49162d(0x2a7)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x5a6405=_0x49162d;var _0x2a15b4;const _0x24ee86=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x5a6405(0x1a3)],{'useClass':G[_0x5a6405(0x19c)]}],[u[_0x5a6405(0x230)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x5a6405(0xe3)](this[_0x5a6405(0xd5)],a[_0x5a6405(0x2cb)](_0x24ee86,(_0x2a15b4=this['_config'])==null?void 0x0:_0x2a15b4[_0x5a6405(0x22f)]));}[_0x49162d(0x303)](){const _0x5cdc1a=_0x49162d;this['disposeWithMe'](this[_0x5cdc1a(0xce)][_0x5cdc1a(0x2f4)](a[_0x5cdc1a(0x2e7)][_0x5cdc1a(0x7a)],[Ie])),this[_0x5cdc1a(0x287)](this[_0x5cdc1a(0xce)]['registerRenderModule'](a[_0x5cdc1a(0x2e7)]['UNIVER_SHEET'],[ve]));}[_0x49162d(0x1d8)](){const _0x3d5171=_0x49162d;a[_0x3d5171(0xed)](this[_0x3d5171(0xd5)],[[x],[exports[_0x3d5171(0x2ad)]],[Q],[q],[exports[_0x3d5171(0x1c1)]]]);}},Qt(exports[_0x49162d(0x1a2)],_0x49162d(0x1fe),es),exports[_0x49162d(0x1a2)]=Zt([a[_0x49162d(0x2a2)](u['UniverCollaborationClientPlugin']),he(0x1,p[_0x49162d(0x92)]),he(0x2,a[_0x49162d(0xad)](a['Injector'])),he(0x3,a[_0x49162d(0x2d2)])],exports[_0x49162d(0x1a2)]);function _0x1009(_0x30466d,_0x4a6452){const _0x4fdac4=_0x4fda();return _0x1009=function(_0x100908,_0xdf2690){_0x100908=_0x100908-0x7a;let _0x2a0c82=_0x4fdac4[_0x100908];return _0x2a0c82;},_0x1009(_0x30466d,_0x4a6452);}var ts=Object[_0x49162d(0x20a)],ss=(_0xe9f8ce,_0x2508a0,_0x359d65,_0x137611)=>{const _0xc55c57=_0x49162d;for(var _0x12111d=_0x137611>0x1?void 0x0:_0x137611?ts(_0x2508a0,_0x359d65):_0x2508a0,_0x43225c=_0xe9f8ce[_0xc55c57(0x2b1)]-0x1,_0x144a64;_0x43225c>=0x0;_0x43225c--)(_0x144a64=_0xe9f8ce[_0x43225c])&&(_0x12111d=_0x144a64(_0x12111d)||_0x12111d);return _0x12111d;},F=(_0x363c7a,_0x47c887)=>(_0xeebbd7,_0x41b6c4)=>_0x47c887(_0xeebbd7,_0x41b6c4,_0x363c7a);exports[_0x49162d(0x239)]=class extends u[_0x49162d(0x275)]{constructor(_0x4b0138,_0x5e8583,_0x2b672e,_0xdb8e77,_0x4ee063){super(_0x4b0138,_0x5e8583,_0x2b672e,_0xdb8e77,_0x4ee063);}async[_0x49162d(0x2c1)](_0x426da7){const _0x41925a=_0x49162d,_0x45a20f=await this[_0x41925a(0x1a4)](),_0x4106b8=this[_0x41925a(0xff)](_0x426da7,_0x45a20f);return this[_0x41925a(0x2a4)](_0x4106b8);}[_0x49162d(0xff)](_0x182740,_0x566c86){const _0x107c6c=_0x49162d,_0x424530=typeof window>'u'?new URL(_0x182740):new URL(_0x182740,window[_0x107c6c(0x2ce)][_0x107c6c(0x28f)]);_0x424530[_0x107c6c(0xa9)][_0x107c6c(0x15a)](_0x107c6c(0x23e),_0x566c86);const _0x27d3a2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x107c6c(0x2ce)][_0x107c6c(0x2df)]);return _0x27d3a2[_0x107c6c(0x150)]('runId')&&_0x424530[_0x107c6c(0xa9)][_0x107c6c(0x15a)]('runId',_0x27d3a2['get']('runId')),_0x424530[_0x107c6c(0x2d6)]();}async[_0x49162d(0x1a4)](){const _0x43ca44=_0x49162d;var _0x428253,_0x52d453,_0x3aa7c8;const _0x313337=this['_configService'][_0x43ca44(0x175)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x16ddf9=(_0x428253=_0x313337==null?void 0x0:_0x313337[_0x43ca44(0x2c8)])!=null?_0x428253:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3aa7c8=(_0x52d453=(await this['_httpService'][_0x43ca44(0x150)](_0x16ddf9,{'headers':{'Content-Type':_0x43ca44(0x1b5)}}))[_0x43ca44(0xc3)])==null?void 0x0:_0x52d453[_0x43ca44(0xb2)])!=null?_0x3aa7c8:'';}},exports[_0x49162d(0x239)]=ss([F(0x0,a[_0x49162d(0xad)](a['Injector'])),F(0x1,a['Inject'](G[_0x49162d(0x16b)])),F(0x2,a['IConfigService']),F(0x3,a[_0x49162d(0x2d8)]),F(0x4,m[_0x49162d(0x1f6)])],exports[_0x49162d(0x239)]);const Me=0x7530,Le=_0x49162d(0x12d);class is extends a[_0x49162d(0x1ad)]{constructor(){const _0x4586ef=_0x49162d;super(),h(this,_0x4586ef(0x11e),a[_0x4586ef(0x101)]()),h(this,_0x4586ef(0x2e2),new Set()),h(this,_0x4586ef(0x118),new Map()),h(this,_0x4586ef(0xd7),null),h(this,_0x4586ef(0x134),new Map()),h(this,'_unitStatus',new Map()),this['_init']();}[_0x49162d(0x205)](){const _0x489e8f=_0x49162d;super[_0x489e8f(0x205)](),this['_clearOtherTimers'][_0x489e8f(0x207)]((_0x501275,_0x5de3e7)=>this[_0x489e8f(0x2b4)](_0x5de3e7)),this[_0x489e8f(0xd7)]&&window[_0x489e8f(0x185)](this['_heartbeatTimer']);}[_0x49162d(0x110)](_0x395483){const _0x58241d=_0x49162d;return this[_0x58241d(0x2d3)](_0x395483)[_0x58241d(0x1b3)](d[_0x58241d(0x215)]());}[_0x49162d(0x1b7)](_0x3da094){const _0x249a44=_0x49162d;this[_0x249a44(0x2e2)][_0x249a44(0x2d0)]===0x0&&this['_scheduleHeartbeat'](),this[_0x249a44(0x2e2)]['add'](_0x3da094),this[_0x249a44(0x27f)]({'type':0x0,'memberID':this[_0x249a44(0x11e)],'unitIDs':[_0x3da094],'isForwarded':!0x1});}[_0x49162d(0x197)](_0x300d48){const _0x54e27c=_0x49162d;this['_selfUnitIDs'][_0x54e27c(0x16c)](_0x300d48),this[_0x54e27c(0x2e2)][_0x54e27c(0x2d0)]===0x0&&this[_0x54e27c(0xd7)]&&window[_0x54e27c(0x185)](this[_0x54e27c(0xd7)]);}['_init'](){const _0x1231a6=_0x49162d;this['disposeWithMe'](a[_0x1231a6(0x182)](d[_0x1231a6(0x243)](window,_0x1231a6(0x1cf))['subscribe'](_0x5f0698=>{const _0x45a043=_0x1231a6;if(_0x5f0698['key']!==Le||!_0x5f0698['newValue'])return;const _0x8f18d=JSON[_0x45a043(0x272)](_0x5f0698['newValue']);this['_handleEvent'](_0x8f18d);}))),window['addEventListener'](_0x1231a6(0x2c6),()=>this['_send']({'type':0x1,'memberID':this[_0x1231a6(0x11e)],'unitIDs':Array[_0x1231a6(0x26d)](this[_0x1231a6(0x2e2)])}));}[_0x49162d(0x2fb)](_0x414521){const _0xe5069a=_0x49162d;switch(_0x414521['type']){case 0x0:this[_0xe5069a(0x240)](_0x414521);break;case 0x1:this['_handleLeaveEvent'](_0x414521);break;case 0x2:this['_handleHeartbeatEvent'](_0x414521);break;}}[_0x49162d(0x240)](_0xcd56f2){const _0x4ba83c=_0x49162d,{unitIDs:_0x1af86c,memberID:_0x39afa1,isForwarded:_0x51ab54}=_0xcd56f2;_0x1af86c['forEach'](_0x5d46c4=>{const _0x116440=_0x1009;if(!_0x51ab54&&this['_unitOnClients'][_0x116440(0x17c)](_0x5d46c4)&&this[_0x116440(0x2d3)](_0x5d46c4)[_0x116440(0x151)](u['UnitStatus'][_0x116440(0x28c)]),!this[_0x116440(0x118)][_0x116440(0x17c)](_0x5d46c4)||!this['_unitOnClients'][_0x116440(0x150)](_0x5d46c4)[_0x116440(0x17c)](_0x39afa1)){const _0x18f7e1=this[_0x116440(0x118)][_0x116440(0x150)](_0x5d46c4)||new Set();_0x18f7e1['add'](_0x39afa1),this[_0x116440(0x118)][_0x116440(0x15a)](_0x5d46c4,_0x18f7e1),this[_0x116440(0x122)](_0x39afa1);}}),_0x51ab54||this[_0x4ba83c(0x27f)]({'type':0x0,'memberID':this[_0x4ba83c(0x11e)],'unitIDs':[...this[_0x4ba83c(0x2e2)]],'isForwarded':!0x0});}[_0x49162d(0x122)](_0xccc234){const _0x272446=_0x49162d;this[_0x272446(0x2b4)](_0xccc234);const _0x2e6210=window[_0x272446(0x103)](()=>{const _0x4e8548=_0x272446;this['_unitOnClients'][_0x4e8548(0x207)](_0x123ec2=>{const _0x3321f9=_0x4e8548;_0x123ec2[_0x3321f9(0x16c)](_0xccc234);});},Me*0x2);this[_0x272446(0x134)][_0x272446(0x15a)](_0xccc234,_0x2e6210);}[_0x49162d(0x2b4)](_0x7b1cf8){const _0x242b80=_0x49162d;if(this['_clearOtherTimers'][_0x242b80(0x17c)](_0x7b1cf8)){const _0x4023f0=this[_0x242b80(0x134)]['get'](_0x7b1cf8);_0x4023f0&&window[_0x242b80(0x2ff)](_0x4023f0),this[_0x242b80(0x134)][_0x242b80(0x15a)](_0x7b1cf8,null);}}[_0x49162d(0x304)](_0x1fd70e){const {memberID:_0x5291d0,unitIDs:_0x12ea71}=_0x1fd70e;_0x12ea71['forEach'](_0x1c3c2d=>{const _0x2e18d2=_0x1009;var _0x571b90;const _0x42666b=this['_unitOnClients'][_0x2e18d2(0x150)](_0x1c3c2d);_0x42666b&&(_0x42666b['delete'](_0x5291d0),(_0x571b90=this['_ensureSubject'](_0x1c3c2d))==null||_0x571b90[_0x2e18d2(0x151)](_0x42666b[_0x2e18d2(0x2d0)]===0x0?u[_0x2e18d2(0x2a5)]['NO_OTHER_CLIENTS_EDITING']:u[_0x2e18d2(0x2a5)][_0x2e18d2(0x28c)]));}),this['_removeClearOtherTimer'](_0x5291d0);}[_0x49162d(0x1a8)](_0x4a1d96){const _0x2becec=_0x49162d;this['_scheduleClearOtherTimer'](_0x4a1d96[_0x2becec(0x20e)]);}[_0x49162d(0x27f)](_0x5260ac){const _0x12ed7f=_0x49162d;localStorage[_0x12ed7f(0x14f)](Le,JSON[_0x12ed7f(0x2ab)](_0x5260ac));}[_0x49162d(0x292)](){const _0x211561=_0x49162d;this[_0x211561(0xd7)]=window[_0x211561(0x2fc)](()=>{const _0x5f1d7d=_0x211561;this[_0x5f1d7d(0x27f)]({'type':0x2,'memberID':this[_0x5f1d7d(0x11e)]});},Me);}[_0x49162d(0x2d3)](_0x163869){const _0x4102d3=_0x49162d;return this[_0x4102d3(0x281)][_0x4102d3(0x17c)](_0x163869)||this[_0x4102d3(0x281)]['set'](_0x163869,new d[(_0x4102d3(0xf7))](u['UnitStatus'][_0x4102d3(0xf2)])),this[_0x4102d3(0x281)][_0x4102d3(0x150)](_0x163869);}}var Be=(_0x477d26=>(_0x477d26[_0x477d26[_0x49162d(0xee)]=0x0]=_0x49162d(0xee),_0x477d26[_0x477d26['OK']=0x1]='OK',_0x477d26[_0x477d26[_0x49162d(0x1e5)]=0x2]=_0x49162d(0x1e5),_0x477d26[_0x477d26[_0x49162d(0x1e6)]=0x3]='PERMISSION_DENIED',_0x477d26[_0x477d26[_0x49162d(0x210)]=0x4]=_0x49162d(0x210),_0x477d26[_0x477d26[_0x49162d(0x262)]=0x5]=_0x49162d(0x262),_0x477d26[_0x477d26[_0x49162d(0x16d)]=0x6]=_0x49162d(0x16d),_0x477d26[_0x477d26['INVALID_ARGUMENT']=0x7]=_0x49162d(0x1ba),_0x477d26[_0x477d26[_0x49162d(0x208)]=0x8]=_0x49162d(0x208),_0x477d26[_0x477d26[_0x49162d(0x2de)]=0x9]=_0x49162d(0x2de),_0x477d26[_0x477d26[_0x49162d(0x191)]=0xa]=_0x49162d(0x191),_0x477d26[_0x477d26[_0x49162d(0x254)]=0x1389]=_0x49162d(0x254),_0x477d26[_0x477d26[_0x49162d(0xcd)]=0x1771]=_0x49162d(0xcd),_0x477d26[_0x477d26[_0x49162d(0x125)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x477d26[_0x477d26[_0x49162d(0x10d)]=0x1773]=_0x49162d(0x10d),_0x477d26[_0x477d26[_0x49162d(0x2dc)]=0x1b59]='APPLY_REJECT',_0x477d26[_0x477d26[_0x49162d(0x187)]=0x1b5a]=_0x49162d(0x187),_0x477d26[_0x477d26['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x477d26[_0x477d26[_0x49162d(0xfe)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x477d26[_0x477d26[_0x49162d(0x234)]=0x1b5d]=_0x49162d(0x234),_0x477d26[_0x477d26[_0x49162d(0x14b)]=0x1f41]=_0x49162d(0x14b),_0x477d26[_0x477d26[_0x49162d(0x200)]=0x2329]=_0x49162d(0x200),_0x477d26[_0x477d26[_0x49162d(0x1dd)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x477d26[_0x477d26[_0x49162d(0x98)]=0x232b]=_0x49162d(0x98),_0x477d26[_0x477d26['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x49162d(0x113),_0x477d26[_0x477d26[_0x49162d(0x1cc)]=0x232d]=_0x49162d(0x1cc),_0x477d26[_0x477d26[_0x49162d(0x126)]=0x2711]=_0x49162d(0x126),_0x477d26[_0x477d26[_0x49162d(0x1e7)]=0x2712]=_0x49162d(0x1e7),_0x477d26[_0x477d26['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x49162d(0x295),_0x477d26[_0x477d26[_0x49162d(0x29f)]=0x2714]=_0x49162d(0x29f),_0x477d26[_0x477d26[_0x49162d(0x279)]=0x271a]=_0x49162d(0x279),_0x477d26[_0x477d26[_0x49162d(0x133)]=0x271b]=_0x49162d(0x133),_0x477d26[_0x477d26[_0x49162d(0x19b)]=0x271c]=_0x49162d(0x19b),_0x477d26[_0x477d26[_0x49162d(0x1df)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x477d26[_0x477d26['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x49162d(0xc0),_0x477d26[_0x477d26['YUUMI_AI_RUN_FAILED']=0x271f]=_0x49162d(0x300),_0x477d26[_0x477d26['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x49162d(0x1ef),_0x477d26[_0x477d26[_0x49162d(0x263)]=0x2ee1]=_0x49162d(0x263),_0x477d26[_0x477d26[_0x49162d(0x1c7)]=0x2ee2]=_0x49162d(0x1c7),_0x477d26[_0x477d26[_0x49162d(0x224)]=0x2ee3]=_0x49162d(0x224),_0x477d26[_0x477d26[_0x49162d(0x27e)]=0x2ee4]=_0x49162d(0x27e),_0x477d26[_0x477d26[_0x49162d(0x121)]=0x2ee5]=_0x49162d(0x121),_0x477d26[_0x477d26['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x477d26[_0x477d26[_0x49162d(0xe2)]=0x32ca]=_0x49162d(0xe2),_0x477d26[_0x477d26[_0x49162d(0xd0)]=0x32cb]=_0x49162d(0xd0),_0x477d26[_0x477d26['UNRECOGNIZED']=-0x1]=_0x49162d(0xf4),_0x477d26))(Be||{}),ns=Object[_0x49162d(0x20a)],rs=(_0x8973a6,_0x4d643f,_0x2d8bcc,_0x483154)=>{for(var _0x77eef4=_0x483154>0x1?void 0x0:_0x483154?ns(_0x4d643f,_0x2d8bcc):_0x4d643f,_0x5dcd2e=_0x8973a6['length']-0x1,_0x15ee78;_0x5dcd2e>=0x0;_0x5dcd2e--)(_0x15ee78=_0x8973a6[_0x5dcd2e])&&(_0x77eef4=_0x15ee78(_0x77eef4)||_0x77eef4);return _0x77eef4;},ue=(_0x3b8166,_0x315e45)=>(_0x572631,_0x865d95)=>_0x315e45(_0x572631,_0x865d95,_0x3b8166);exports[_0x49162d(0xde)]=class extends a['Disposable']{constructor(_0x18e2d8,_0x4f31db,_0x3cf486){const _0x53babf=_0x49162d;super(),this[_0x53babf(0x1fb)]=_0x18e2d8,this[_0x53babf(0x2c5)]=_0x4f31db,this[_0x53babf(0x8a)]=_0x3cf486;}async[_0x49162d(0x18f)](_0x4c6d6c,_0x5c50b5,_0x1b2c6e,..._0x4d6bbf){const _0x5d069a=_0x49162d;var _0x24dc2a,_0x483337,_0x2d00e0,_0x44a3ec;const _0x4ca148=this[_0x5d069a(0x1fb)][_0x5d069a(0x1fc)]();if(!_0x4ca148)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1fa497=((_0x24dc2a=this[_0x5d069a(0x8a)][_0x5d069a(0x175)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x24dc2a:u[_0x5d069a(0xfa)])+'/'+_0x4c6d6c+'/run/'+_0x5c50b5,_0x276d36=new URL(window[_0x5d069a(0x2ce)][_0x5d069a(0x297)]),_0x397cf9={'scriptId':_0x4c6d6c,'runId':(_0x483337=_0x276d36['searchParams'][_0x5d069a(0x150)](_0x5d069a(0x2cd)))!=null?_0x483337:'','function':_0x5c50b5,'unitId':_0x4ca148['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x4d6bbf),'invokeId':(_0x2d00e0=_0x1b2c6e[_0x5d069a(0x1ee)])!=null?_0x2d00e0:'','executionId':(_0x44a3ec=_0x1b2c6e[_0x5d069a(0x248)])!=null?_0x44a3ec:''};try{const _0x2957ec=await this['_httpService'][_0x5d069a(0x156)](_0x1fa497,{'body':_0x397cf9});return _0x2957ec['body'][_0x5d069a(0x252)]&&_0x2957ec[_0x5d069a(0xc3)][_0x5d069a(0x252)][_0x5d069a(0x25f)]!==Be['OK']?_0x5d069a(0x25d):_0x2957ec[_0x5d069a(0xc3)][_0x5d069a(0x170)];}catch{return'Failed';}}},exports[_0x49162d(0xde)]=rs([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x49162d(0xad)](G[_0x49162d(0x16b)])),ue(0x2,a[_0x49162d(0x2d2)])],exports[_0x49162d(0xde)]),exports['CollaborationStatusDisplay']=xe,exports[_0x49162d(0x1fa)]=be,exports[_0x49162d(0x249)]=Ae,exports[_0x49162d(0xf5)]=is,exports[_0x49162d(0x11f)]=je;
|
|
1
|
+
'use strict';const _0x570aba=_0x1acb;(function(_0x37ed1,_0x112b33){const _0x572f7e=_0x1acb,_0x20b642=_0x37ed1();while(!![]){try{const _0x3c0d4e=-parseInt(_0x572f7e(0x34f))/0x1*(-parseInt(_0x572f7e(0x287))/0x2)+-parseInt(_0x572f7e(0x3d3))/0x3*(-parseInt(_0x572f7e(0x2ba))/0x4)+-parseInt(_0x572f7e(0x284))/0x5*(-parseInt(_0x572f7e(0x31d))/0x6)+-parseInt(_0x572f7e(0x1ff))/0x7+-parseInt(_0x572f7e(0x3a0))/0x8*(-parseInt(_0x572f7e(0x225))/0x9)+parseInt(_0x572f7e(0x267))/0xa+-parseInt(_0x572f7e(0x19f))/0xb;if(_0x3c0d4e===_0x112b33)break;else _0x20b642['push'](_0x20b642['shift']());}catch(_0x121519){_0x20b642['push'](_0x20b642['shift']());}}}(_0x25b5,0x961a7));var Ve=Object['defineProperty'],Xe=(_0x361a9b,_0x53a224,_0x228450)=>_0x53a224 in _0x361a9b?Ve(_0x361a9b,_0x53a224,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x228450}):_0x361a9b[_0x53a224]=_0x228450,h=(_0x3ee9b2,_0x50cb1a,_0x2aabf)=>Xe(_0x3ee9b2,typeof _0x50cb1a!='symbol'?_0x50cb1a+'':_0x50cb1a,_0x2aabf);Object['defineProperty'](exports,Symbol[_0x570aba(0x2c5)],{'value':_0x570aba(0x2a0)});const u=require(_0x570aba(0x217)),a=require(_0x570aba(0x3a7)),p=require('@univerjs/engine-render'),G=require(_0x570aba(0x19d)),b=require(_0x570aba(0x3bc)),Ge=require('@univerjs/drawing'),d=require(_0x570aba(0x242)),Y=require(_0x570aba(0x251)),m=require(_0x570aba(0x295)),Ee=require(_0x570aba(0x3ac)),g=require(_0x570aba(0x3ce)),$=require(_0x570aba(0x3ba)),X=require(_0x570aba(0x228)),P=require('react/jsx-runtime'),T=require(_0x570aba(0x24c)),D=require('@univerjs/design'),M=require(_0x570aba(0x1ea)),Ke=require(_0x570aba(0x240));var qe=Object[_0x570aba(0x31c)],ze=(_0x3d1df0,_0x11d486,_0x22c8dc,_0x42429d)=>{const _0x4ae200=_0x570aba;for(var _0x5ba949=_0x42429d>0x1?void 0x0:_0x42429d?qe(_0x11d486,_0x22c8dc):_0x11d486,_0x509180=_0x3d1df0[_0x4ae200(0x214)]-0x1,_0x44c64f;_0x509180>=0x0;_0x509180--)(_0x44c64f=_0x3d1df0[_0x509180])&&(_0x5ba949=_0x44c64f(_0x5ba949)||_0x5ba949);return _0x5ba949;},Te=(_0x258a02,_0x3e0797)=>(_0x4881e5,_0x57ec2c)=>_0x3e0797(_0x4881e5,_0x57ec2c,_0x258a02);let de=class extends a[_0x570aba(0x338)]{constructor(_0x318c76,_0xe3f64a){const _0x1061c9=_0x570aba;super(),this[_0x1061c9(0x374)]=_0x318c76,this[_0x1061c9(0x2db)]=_0xe3f64a,this[_0x1061c9(0x31e)]();}['_init'](){const _0xae34d2=_0x570aba,_0x2be8ef=this;this[_0xae34d2(0x2cc)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x1ed6fb=>{const _0x3f1b47=_0xae34d2,_0x322e85=await _0x2be8ef['_imageIoService'][_0x3f1b47(0x370)](_0x1ed6fb);return _0x322e85?{'source':_0x322e85[_0x3f1b47(0x28e)],'imageSourceType':_0x322e85[_0x3f1b47(0x237)]}:null;}}));}};de=ze([Te(0x0,b[_0x570aba(0x3d1)]),Te(0x1,Ge[_0x570aba(0x2d4)])],de);const Oe=['purple.300','jiqing.500',_0x570aba(0x2c7),_0x570aba(0x2d5),_0x570aba(0x1ef),_0x570aba(0x3e2)];class me extends a[_0x570aba(0x283)]{constructor(){const _0x2473f9=_0x570aba;super(...arguments),h(this,_0x2473f9(0x333),new Map()),h(this,'_colorIndex',0x0);}[_0x570aba(0x292)](_0x45b8e5){const _0xe7d052=_0x570aba;if(this[_0xe7d052(0x333)][_0xe7d052(0x227)](_0x45b8e5))return this[_0xe7d052(0x333)][_0xe7d052(0x398)](_0x45b8e5);const _0x121452=Oe[this[_0xe7d052(0x362)]];return this[_0xe7d052(0x362)]=(this[_0xe7d052(0x362)]+0x1)%Oe[_0xe7d052(0x214)],this[_0xe7d052(0x333)][_0xe7d052(0x1a2)](_0x45b8e5,_0x121452),_0x121452;}}function Pe(_0x59d93a){const _0x483645=_0x570aba;let _0x1a9c9c='';for(const _0xeea57f of _0x59d93a){const {startOffset:_0x45dacb,endOffset:_0x12c2e3,isActive:_0x16f83e,rangeType:_0x15c0bc,segmentId:_0x51b9da,segmentPage:_0x4ccb1c}=_0xeea57f;_0x1a9c9c[_0x483645(0x214)]&&(_0x1a9c9c+=','),_0x1a9c9c+=_0x45dacb+':'+_0x12c2e3+':'+(_0x16f83e?'1':'0')+':'+_0x15c0bc+':'+_0x51b9da+':'+_0x4ccb1c;}return _0x1a9c9c;}function Je(_0x4928cd){const _0x6beec8=_0x570aba,_0x592af0=_0x4928cd[_0x6beec8(0x38c)](','),_0x2a12a7=[];for(const _0x69f21e of _0x592af0){const [_0x464283,_0x5f0ec0,_0x5d8100,_0x2149e7,_0x1b791c,_0x2a5243]=_0x69f21e[_0x6beec8(0x38c)](':');_0x2a12a7[_0x6beec8(0x293)]({'startOffset':Number(_0x464283),'endOffset':Number(_0x5f0ec0),'collapsed':_0x464283===_0x5f0ec0,'isActive':_0x5d8100==='1','rangeType':_0x2149e7===a[_0x6beec8(0x275)][_0x6beec8(0x25d)]?a[_0x6beec8(0x275)]['TEXT']:a[_0x6beec8(0x275)][_0x6beec8(0x1f3)],'segmentId':typeof _0x1b791c==_0x6beec8(0x28d)?String(_0x1b791c):'','segmentPage':Number(_0x2a5243!=null?_0x2a5243:-0x1)});}return _0x2a12a7[_0x6beec8(0x3f2)](_0x15eb9f=>_0x15eb9f['isActive'])||(_0x2a12a7[0x0][_0x6beec8(0x206)]=!0x0),_0x2a12a7;}class Ce extends a[_0x570aba(0x338)]{constructor(){const _0x2b3fa4=_0x570aba;super(...arguments),h(this,'_collabCursorState$',new d[(_0x2b3fa4(0x2bb))](null)),h(this,_0x2b3fa4(0x358),this[_0x2b3fa4(0x24b)][_0x2b3fa4(0x3a5)]());}[_0x570aba(0x3f5)](_0x3f4ddc){const _0x3ec0ac=_0x570aba,{unitID:_0x5a0452,memberID:_0x59ddb9,textRanges:_0x12a643}=_0x3f4ddc,_0x1a5aec=Pe(_0x12a643);if(_0x1a5aec==='')return;const _0x27fd05={'unitID':_0x5a0452,'memberID':_0x59ddb9,'selection':_0x1a5aec};this[_0x3ec0ac(0x24b)][_0x3ec0ac(0x325)](_0x27fd05);}}var Ze=Object[_0x570aba(0x31c)],Qe=(_0x20e15a,_0x8f3be0,_0x3df68f,_0x3dc027)=>{const _0x2e9bf2=_0x570aba;for(var _0x144d83=_0x3dc027>0x1?void 0x0:_0x3dc027?Ze(_0x8f3be0,_0x3df68f):_0x8f3be0,_0x8a6578=_0x20e15a[_0x2e9bf2(0x214)]-0x1,_0x1820ea;_0x8a6578>=0x0;_0x8a6578--)(_0x1820ea=_0x20e15a[_0x8a6578])&&(_0x144d83=_0x1820ea(_0x144d83)||_0x144d83);return _0x144d83;},L=(_0x3e7d16,_0x1001d0)=>(_0x5c0444,_0x5a020d)=>_0x1001d0(_0x5c0444,_0x5a020d,_0x3e7d16);const et=0x12c,tt=0x64;let fe=class extends a[_0x570aba(0x338)]{constructor(_0x4c28fb,_0x269ead,_0x234561,_0x5b39b0,_0x456b89,_0x23476c,_0x58bca4,_0xe37973,_0x7068b4){const _0x2575bd=_0x570aba;super(),h(this,_0x2575bd(0x37d),!0x1),h(this,'_init',!0x1),h(this,_0x2575bd(0x296),new d[(_0x2575bd(0x2bb))](new Map())),h(this,_0x2575bd(0x3fd),this[_0x2575bd(0x296)][_0x2575bd(0x3a5)]()),h(this,'_roomMembers$',new d[(_0x2575bd(0x2bb))]([])),h(this,_0x2575bd(0x19e),this[_0x2575bd(0x306)]['pipe'](d[_0x2575bd(0x265)](et))),h(this,_0x2575bd(0x24f),a['debounce'](_0x173f25=>{const _0x5ae1ca=_0x2575bd,_0x5a3d89={'eventID':m[_0x5ae1ca(0x22b)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x5ae1ca(0x3ff)](),'selection':Pe(_0x173f25)}};this[_0x5ae1ca(0x27e)][_0x5ae1ca(0x313)](_0x5a3d89,this[_0x5ae1ca(0x397)]);},tt)),(this[_0x2575bd(0x397)]=_0x4c28fb,this[_0x2575bd(0x27e)]=_0x269ead,this[_0x2575bd(0x1f7)]=_0x234561,this[_0x2575bd(0x310)]=_0x5b39b0,this[_0x2575bd(0x26d)]=_0x456b89,this[_0x2575bd(0x3f3)]=_0x23476c,this[_0x2575bd(0x23d)]=_0x58bca4,this[_0x2575bd(0x368)]=_0xe37973,this[_0x2575bd(0x204)]=_0x7068b4);}get[_0x570aba(0x3c7)](){const _0x2a7f4b=_0x570aba;return this[_0x2a7f4b(0x296)][_0x2a7f4b(0x2e3)]();}get['roomMembers'](){const _0x210fd8=_0x570aba;return this[_0x210fd8(0x306)][_0x210fd8(0x2e3)]();}['dispose'](){const _0x4d4abc=_0x570aba;super[_0x4d4abc(0x1d4)](),this['_cursorInfo$'][_0x4d4abc(0x325)](new Map()),this['_cursorInfo$'][_0x4d4abc(0x2da)](),this[_0x4d4abc(0x306)][_0x4d4abc(0x325)]([]),this['_roomMembers$']['complete']();}[_0x570aba(0x20f)](){const _0x59d1d1=_0x570aba;this[_0x59d1d1(0x31e)]||(this['_init']=!0x0,this[_0x59d1d1(0x27e)][_0x59d1d1(0x31a)][_0x59d1d1(0x18d)](d[_0x59d1d1(0x25a)](this[_0x59d1d1(0x2ad)]))[_0x59d1d1(0x1d9)](_0x29209c=>{const _0x3bc254=_0x59d1d1;_0x29209c===u[_0x3bc254(0x2b7)][_0x3bc254(0x2a6)]?this[_0x3bc254(0x3b9)]():this[_0x3bc254(0x1f0)]();}),this['_session'][_0x59d1d1(0x318)]['pipe'](d['takeUntil'](this[_0x59d1d1(0x2ad)]))[_0x59d1d1(0x1d9)](_0x52dc10=>{const _0xc0af8a=_0x59d1d1,_0x3460f7=_0x52dc10[_0xc0af8a(0x30e)];_0x3460f7===m[_0xc0af8a(0x22b)]['UPDATE_CURSOR']&&this[_0xc0af8a(0x384)](_0x52dc10),_0x3460f7===m[_0xc0af8a(0x22b)][_0xc0af8a(0x3b8)]&&this['_onCursorDelete'](_0x52dc10);}),this['disposeWithMe'](this[_0x59d1d1(0x204)][_0x59d1d1(0x381)](_0x9d0809=>{const _0x2c3f2f=_0x59d1d1,_0xdd5523=_0x9d0809[_0x2c3f2f(0x2de)];_0xdd5523!=null&&this[_0x2c3f2f(0x37d)]&&_0x9d0809['id']===Y[_0x2c3f2f(0x29b)]['id']&&_0xdd5523[_0x2c3f2f(0x276)]===this['unitID']&&_0xdd5523[_0x2c3f2f(0x2f1)]===!0x1&&_0xdd5523[_0x2c3f2f(0x256)]['length']>0x0&&this[_0x2c3f2f(0x24f)](_0xdd5523[_0x2c3f2f(0x256)]);})),this[_0x59d1d1(0x3f3)]['collabCursorState$'][_0x59d1d1(0x18d)](d[_0x59d1d1(0x25a)](this[_0x59d1d1(0x2ad)]))[_0x59d1d1(0x1d9)](_0x1d7f6e=>{const _0x130cec=_0x59d1d1;if((_0x1d7f6e==null?void 0x0:_0x1d7f6e[_0x130cec(0x397)])!==this[_0x130cec(0x397)])return;const _0x3e3d9e={'eventID':m['CollaborationEvent'][_0x130cec(0x2c8)],'data':_0x1d7f6e};this['_onCursorUpdate'](_0x3e3d9e);}),this['disposeWithMe'](this[_0x59d1d1(0x204)][_0x59d1d1(0x381)](_0x33a487=>{const _0x4907c0=_0x59d1d1;if(_0x33a487[_0x4907c0(0x2de)]==null)return;const _0x404e42=_0x33a487[_0x4907c0(0x2de)];if(_0x33a487['id']!==Y[_0x4907c0(0x3c2)]['id']||_0x404e42[_0x4907c0(0x276)]!==this[_0x4907c0(0x397)])return;const _0x2490b4={'id':_0x4907c0(0x401),'params':_0x404e42},_0x3aa12a=this[_0x4907c0(0x3c7)];for(const [_0x4f4a92,_0x21ce97]of _0x3aa12a){const _0x56711a={'id':_0x4907c0(0x401),'params':{'unitId':this[_0x4907c0(0x397)],'actions':null,'textRanges':_0x21ce97[_0x4907c0(0x256)]}},_0x11cf64=this[_0x4907c0(0x23d)]['transformMutation'](_0x2490b4,_0x56711a,!0x1);if(m[_0x4907c0(0x197)](_0x11cf64))throw _0x11cf64[_0x4907c0(0x2eb)];_0x3aa12a['set'](_0x4f4a92,{..._0x21ce97,'ranges':_0x11cf64[_0x4907c0(0x209)][_0x4907c0(0x2de)][_0x4907c0(0x3bd)]});}queueMicrotask(()=>{const _0x235f06=_0x4907c0;this[_0x235f06(0x296)][_0x235f06(0x325)](_0x3aa12a);});})));}[_0x570aba(0x384)](_0xbda618){const _0x26aae1=_0x570aba;var _0xd3960b,_0x250387;const {memberID:_0x36e643,selection:_0x5ae8a7}=_0xbda618[_0x26aae1(0x28b)],_0x300b10=Je(_0x5ae8a7),_0x2ce297=(_0x250387=(_0xd3960b=this[_0x26aae1(0x26d)][_0x26aae1(0x1bc)](this[_0x26aae1(0x397)],_0x36e643))==null?void 0x0:_0xd3960b[_0x26aae1(0x19b)])!=null?_0x250387:_0x26aae1(0x324),_0x1510a5={'color':this[_0x26aae1(0x310)][_0x26aae1(0x292)](_0x36e643),'name':_0x2ce297,'ranges':_0x300b10},_0x214189=this['cursorInfo'];_0x214189[_0x26aae1(0x1a2)](_0x36e643,_0x1510a5),this['_cursorInfo$'][_0x26aae1(0x325)](_0x214189);}[_0x570aba(0x188)](_0x4f8702){const _0x1d96dd=_0x570aba,{memberID:_0x3c7108}=_0x4f8702[_0x1d96dd(0x28b)],_0x19fa6c=this[_0x1d96dd(0x3c7)];_0x19fa6c[_0x1d96dd(0x28c)](_0x3c7108),this[_0x1d96dd(0x296)][_0x1d96dd(0x325)](_0x19fa6c);}[_0x570aba(0x3b9)](){const _0x24f7e5=_0x570aba;var _0x4c9b2d;if(this[_0x24f7e5(0x37d)]=!0x0,((_0x4c9b2d=this[_0x24f7e5(0x368)]['getFocusedUnit']())==null?void 0x0:_0x4c9b2d[_0x24f7e5(0x2ed)]())!==this[_0x24f7e5(0x397)])return;const _0x10ddf1=this[_0x24f7e5(0x1f7)][_0x24f7e5(0x398)](Y[_0x24f7e5(0x1b2)])[_0x24f7e5(0x200)]();Array[_0x24f7e5(0x18c)](_0x10ddf1)&&_0x10ddf1[_0x24f7e5(0x214)]>0x0&&this[_0x24f7e5(0x24f)](_0x10ddf1);}[_0x570aba(0x1f0)](){const _0x46fa92=_0x570aba;this[_0x46fa92(0x37d)]=!0x1;}};fe=Qe([L(0x2,a[_0x570aba(0x33e)](a['Injector'])),L(0x3,a[_0x570aba(0x33e)](me)),L(0x4,a[_0x570aba(0x33e)](u['MemberService'])),L(0x5,a['Inject'](Ce)),L(0x6,m['ITransformService']),L(0x7,a[_0x570aba(0x1a5)]),L(0x8,a['ICommandService'])],fe);var st=Object[_0x570aba(0x31c)],it=(_0x4dad2e,_0x53cd82,_0x588ad2,_0xa2d883)=>{const _0x433741=_0x570aba;for(var _0x41e0be=_0xa2d883>0x1?void 0x0:_0xa2d883?st(_0x53cd82,_0x588ad2):_0x53cd82,_0x38da12=_0x4dad2e[_0x433741(0x214)]-0x1,_0x5c2feb;_0x38da12>=0x0;_0x38da12--)(_0x5c2feb=_0x4dad2e[_0x38da12])&&(_0x41e0be=_0x5c2feb(_0x41e0be)||_0x41e0be);return _0x41e0be;},w=(_0x2e990c,_0x9070b0)=>(_0x592bad,_0x3931b7)=>_0x9070b0(_0x592bad,_0x3931b7,_0x2e990c);const nt=0x12c,rt=0x64,ot=()=>{let _0x1e471c=[],_0x453210=!0x1;return _0x437fbd=>{const _0x29f088=_0x1acb;_0x1e471c[_0x29f088(0x293)](_0x437fbd),_0x453210||(_0x453210=!0x0,setTimeout(()=>{_0x1e471c['forEach'](_0xb963f3=>_0xb963f3()),_0x1e471c=[],_0x453210=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x1d0bf6,_0x56a57a,_0x496336,_0x265a24,_0x221ada,_0xca1145,_0x460ece,_0x3f996b){const _0x4f66c1=_0x570aba;super(),h(this,_0x4f66c1(0x37d),!0x1),h(this,_0x4f66c1(0x31e),!0x1),h(this,'_cursorInfo$',new d[(_0x4f66c1(0x2bb))](new Map())),h(this,'cursorInfo$',this[_0x4f66c1(0x296)]['asObservable']()),h(this,_0x4f66c1(0x306),new d[(_0x4f66c1(0x2bb))]([])),h(this,'roomMembers$',this[_0x4f66c1(0x306)][_0x4f66c1(0x18d)](d[_0x4f66c1(0x265)](nt))),h(this,_0x4f66c1(0x24f),a[_0x4f66c1(0x329)]((_0x38ddd4,_0x167ca0)=>{const _0x539897=_0x4f66c1,_0x88f28d={'eventID':m['CollaborationEvent'][_0x539897(0x2c8)],'data':{'unitID':this[_0x539897(0x397)],'memberID':this['_session'][_0x539897(0x3ff)](),'selection':Ee[_0x539897(0x25f)](_0x38ddd4,_0x167ca0['range'])}};this[_0x539897(0x27e)][_0x539897(0x313)](_0x88f28d,this[_0x539897(0x397)]);},rt)),(this['unitID']=_0x1d0bf6,this[_0x4f66c1(0x27e)]=_0x56a57a,this[_0x4f66c1(0x1f7)]=_0x496336,this[_0x4f66c1(0x310)]=_0x265a24,this['_memberService']=_0x221ada,this['_univerInstanceService']=_0xca1145,this[_0x4f66c1(0x204)]=_0x460ece,this[_0x4f66c1(0x2a7)]=_0x3f996b);}get[_0x570aba(0x3c7)](){const _0x431cfc=_0x570aba;return this['_cursorInfo$'][_0x431cfc(0x2e3)]();}get[_0x570aba(0x236)](){const _0x23c23f=_0x570aba;return this[_0x23c23f(0x306)][_0x23c23f(0x2e3)]();}[_0x570aba(0x1d4)](){const _0x3090b3=_0x570aba;super[_0x3090b3(0x1d4)](),this[_0x3090b3(0x296)]['next'](new Map()),this[_0x3090b3(0x296)][_0x3090b3(0x2da)](),this[_0x3090b3(0x306)][_0x3090b3(0x325)]([]),this['_roomMembers$'][_0x3090b3(0x2da)]();}[_0x570aba(0x20f)](){const _0x9851e=_0x570aba;this['_init']||(this[_0x9851e(0x31e)]=!0x0,this[_0x9851e(0x27e)][_0x9851e(0x31a)][_0x9851e(0x18d)](d[_0x9851e(0x25a)](this[_0x9851e(0x2ad)]))['subscribe'](_0x114cf8=>{const _0x3e2237=_0x9851e;_0x114cf8===u[_0x3e2237(0x2b7)][_0x3e2237(0x2a6)]?this['_toggleOnline']():this[_0x3e2237(0x1f0)]();}),this[_0x9851e(0x27e)][_0x9851e(0x318)][_0x9851e(0x18d)](d[_0x9851e(0x25a)](this[_0x9851e(0x2ad)]))[_0x9851e(0x1d9)](_0xf81831=>{const _0x1e7aa7=_0x9851e,_0x2b51b1=_0xf81831[_0x1e7aa7(0x30e)];_0x2b51b1===m[_0x1e7aa7(0x22b)][_0x1e7aa7(0x2c8)]&&this[_0x1e7aa7(0x384)](_0xf81831),_0x2b51b1===m[_0x1e7aa7(0x22b)][_0x1e7aa7(0x3b8)]&&this['_onCursorDelete'](_0xf81831);}),this[_0x9851e(0x1ec)](),this[_0x9851e(0x2cc)](this[_0x9851e(0x204)][_0x9851e(0x381)](_0x47952d=>{const _0x1f908f=_0x9851e;if(this[_0x1f908f(0x37d)]&&_0x47952d['id']===g[_0x1f908f(0x29c)]['id']&&_0x47952d[_0x1f908f(0x2de)][_0x1f908f(0x276)]===this['unitID']){const _0x3e4d57=_0x47952d[_0x1f908f(0x2de)];this['_updateLocalCursor'](_0x3e4d57[_0x1f908f(0x328)],_0x3e4d57[_0x1f908f(0x2b3)][0x0]);}})));}['_onCursorUpdate'](_0x40d20c){const _0x237286=_0x570aba;var _0x38afc9,_0x556339;const {memberID:_0x1b4635,selection:_0x5425c4}=_0x40d20c[_0x237286(0x28b)],{sheetName:_0xba15dd,range:_0x36771c}=Ee[_0x237286(0x394)](_0x5425c4),_0x55cfcd={'name':(_0x556339=(_0x38afc9=this['_memberService']['getMember'](this['unitID'],_0x1b4635))==null?void 0x0:_0x38afc9[_0x237286(0x19b)])!=null?_0x556339:_0x237286(0x324),'range':this['_getMergeRange'](_0xba15dd,_0x36771c),'sheetID':_0xba15dd,'color':this[_0x237286(0x310)]['assignAColorForMemberID'](_0x1b4635),'selection':_0x5425c4},_0x5cdb8f=this[_0x237286(0x3c7)];_0x5cdb8f[_0x237286(0x1a2)](_0x1b4635,_0x55cfcd),this[_0x237286(0x296)][_0x237286(0x325)](_0x5cdb8f);}['_onCursorDelete'](_0x5e787f){const _0xdaea6c=_0x570aba,{memberID:_0x352fd1}=_0x5e787f[_0xdaea6c(0x28b)],_0x3a7166=this[_0xdaea6c(0x3c7)];_0x3a7166[_0xdaea6c(0x28c)](_0x352fd1),this['_cursorInfo$'][_0xdaea6c(0x325)](_0x3a7166);}[_0x570aba(0x3d5)](_0x2e4f18,_0x2925cf){const _0x728551=_0x570aba;var _0x2975da,_0x200d80;const _0x46fb19=(_0x200d80=(_0x2975da=this[_0x728551(0x368)][_0x728551(0x408)](this[_0x728551(0x397)]))==null?void 0x0:_0x2975da[_0x728551(0x36d)](_0x2e4f18))==null?void 0x0:_0x200d80[_0x728551(0x298)]();return(_0x46fb19==null?void 0x0:_0x46fb19[_0x728551(0x3e6)](_0x224b64=>a[_0x728551(0x371)][_0x728551(0x248)](_0x224b64,_0x2925cf)))||_0x2925cf;}[_0x570aba(0x1ec)](){const _0x26163a=_0x570aba,_0x177e69=new a['DisposableCollection'](),_0x47d587=ot(),_0x2632af=()=>{const _0x37f241=_0x1acb;_0x177e69[_0x37f241(0x1d4)]();const _0xc0a1ab=(_0x3e9890,_0x5e41a2,_0x50a260,_0x510d33)=>{const _0x3a760f=_0x37f241;let _0x383ab9=[];switch(_0x3e9890['id']){case g[_0x3a760f(0x22f)][_0x3a760f(0x3d4)]:{_0x383ab9=g['handleDeleteRangeMoveLeft'](_0x3e9890,_0x510d33);break;}case g[_0x3a760f(0x22f)]['DeleteRangeMoveUpCommandId']:{_0x383ab9=g[_0x3a760f(0x21e)](_0x3e9890,_0x510d33);break;}case g[_0x3a760f(0x22f)][_0x3a760f(0x1c7)]:{_0x383ab9=g[_0x3a760f(0x1e2)](_0x3e9890,_0x510d33);break;}case g[_0x3a760f(0x22f)][_0x3a760f(0x21c)]:{_0x383ab9=g[_0x3a760f(0x2b4)](_0x3e9890,_0x510d33);break;}case g[_0x3a760f(0x22f)][_0x3a760f(0x1c9)]:{_0x383ab9=g[_0x3a760f(0x3dd)](_0x3e9890,_0x510d33);break;}case g['EffectRefRangId'][_0x3a760f(0x18e)]:{_0x383ab9=g[_0x3a760f(0x22e)](_0x3e9890,_0x510d33);break;}case g[_0x3a760f(0x22f)][_0x3a760f(0x221)]:{_0x383ab9=g['handleMoveRange'](_0x3e9890,_0x510d33);break;}case g[_0x3a760f(0x22f)][_0x3a760f(0x17f)]:{_0x383ab9=g[_0x3a760f(0x407)](_0x3e9890,_0x510d33);break;}case g[_0x3a760f(0x22f)][_0x3a760f(0x383)]:{_0x383ab9=g[_0x3a760f(0x2f9)](_0x3e9890,_0x510d33);break;}}const _0x44efad=g[_0x3a760f(0x2bc)](_0x383ab9,_0x510d33),_0x29d73f=this[_0x3a760f(0x3c7)][_0x3a760f(0x398)](_0x5e41a2);if(_0x29d73f&&_0x44efad){const _0x5ef974={..._0x29d73f,'range':_0x44efad};this[_0x3a760f(0x3c7)]['set'](_0x5e41a2,_0x5ef974),_0x47d587(()=>{const _0x146711=_0x3a760f,_0x4c1e2b=this[_0x146711(0x2a7)][_0x146711(0x3b6)](_0x44efad,_0x489a47=>(_0x4c1e2b[_0x146711(0x1d4)](),_0xc0a1ab(_0x489a47,_0x5e41a2,_0x50a260,_0x44efad)));_0x177e69[_0x146711(0x25e)](_0x4c1e2b);});}return{'redos':[],'undos':[]};};this[_0x37f241(0x3c7)][_0x37f241(0x247)]((_0x38d36e,_0x5eb15d)=>{const _0x81b8e3=_0x37f241,{range:_0x463b91,sheetID:_0x10ab7b}=_0x38d36e,_0x4166c7=this[_0x81b8e3(0x2a7)][_0x81b8e3(0x3b6)](_0x463b91,_0x570db0=>(_0x4166c7[_0x81b8e3(0x1d4)](),_0xc0a1ab(_0x570db0,_0x5eb15d,_0x10ab7b,_0x463b91)));_0x177e69['add'](_0x4166c7);});};this[_0x26163a(0x2cc)](a[_0x26163a(0x3c5)](this[_0x26163a(0x296)][_0x26163a(0x1d9)](()=>{_0x2632af();})));}[_0x570aba(0x3b9)](){const _0x299f5e=_0x570aba;var _0x3f7ae6,_0x7df8fa;if(this[_0x299f5e(0x37d)]=!0x0,((_0x3f7ae6=this[_0x299f5e(0x368)][_0x299f5e(0x21d)]())==null?void 0x0:_0x3f7ae6[_0x299f5e(0x2ed)]())!==this[_0x299f5e(0x397)])return;const _0x495ac6=(_0x7df8fa=this['_injector'][_0x299f5e(0x398)](g[_0x299f5e(0x1fb)])[_0x299f5e(0x303)]())==null?void 0x0:_0x7df8fa[0x0],_0x580376=this[_0x299f5e(0x368)][_0x299f5e(0x189)](a[_0x299f5e(0x18f)]['UNIVER_SHEET'])[_0x299f5e(0x261)]();_0x495ac6&&_0x580376&&this[_0x299f5e(0x24f)](_0x580376[_0x299f5e(0x29a)](),_0x495ac6);}[_0x570aba(0x1f0)](){const _0x3b7d8c=_0x570aba;this[_0x3b7d8c(0x37d)]=!0x1;}};Se=it([w(0x2,a['Inject'](a[_0x570aba(0x39c)])),w(0x3,a[_0x570aba(0x33e)](me)),w(0x4,a[_0x570aba(0x33e)](u[_0x570aba(0x17b)])),w(0x5,a[_0x570aba(0x1a5)]),w(0x6,a[_0x570aba(0x3e4)]),w(0x7,a[_0x570aba(0x33e)](g[_0x570aba(0x224)]))],Se);var at=Object[_0x570aba(0x31c)],ct=(_0x133a6c,_0x464c52,_0x545213,_0xa4ba30)=>{for(var _0x4c179d=_0xa4ba30>0x1?void 0x0:_0xa4ba30?at(_0x464c52,_0x545213):_0x464c52,_0x1b0e07=_0x133a6c['length']-0x1,_0x10fc63;_0x1b0e07>=0x0;_0x1b0e07--)(_0x10fc63=_0x133a6c[_0x1b0e07])&&(_0x4c179d=_0x10fc63(_0x4c179d)||_0x4c179d);return _0x4c179d;},ie=(_0x403c55,_0x3cf51a)=>(_0x2fe5ef,_0x2f93d1)=>_0x3cf51a(_0x2fe5ef,_0x2f93d1,_0x403c55);let x=class extends a[_0x570aba(0x338)]{constructor(_0x135e86,_0x93ef36,_0x40c810){const _0x22a92d=_0x570aba;super(),h(this,_0x22a92d(0x2c0),new Map()),h(this,_0x22a92d(0x3b7),new d[(_0x22a92d(0x203))]()),(this[_0x22a92d(0x368)]=_0x135e86,this[_0x22a92d(0x1f7)]=_0x93ef36,this[_0x22a92d(0x277)]=_0x40c810,this[_0x22a92d(0x31e)]());}[_0x570aba(0x1d4)](){const _0x19e2e2=_0x570aba;super['dispose'](),this[_0x19e2e2(0x3b7)]['complete'](),this[_0x19e2e2(0x2c0)]['forEach'](_0xb58025=>_0xb58025[_0x19e2e2(0x1d4)]());}[_0x570aba(0x403)](_0x252d3e){const _0x140674=_0x570aba;return this['_entities'][_0x140674(0x227)](_0x252d3e)?this[_0x140674(0x2c0)][_0x140674(0x398)](_0x252d3e)[_0x140674(0x3fd)]:this[_0x140674(0x3b7)][_0x140674(0x18d)](d[_0x140674(0x1a9)](_0x18192e=>_0x18192e['unitID']===_0x252d3e),d['switchMap'](_0xfbe247=>_0xfbe247['cursorInfo$']));}[_0x570aba(0x31e)](){const _0x326a63=_0x570aba;this[_0x326a63(0x368)][_0x326a63(0x315)](a[_0x326a63(0x18f)][_0x326a63(0x363)])['pipe'](d[_0x326a63(0x25a)](this[_0x326a63(0x2ad)]))[_0x326a63(0x1d9)](async _0x986106=>{const _0x2d594b=_0x326a63,_0x346ac8=_0x986106[_0x2d594b(0x2ed)](),_0x23feef=await this[_0x2d594b(0x3fe)](_0x346ac8);this['_entityInit$'][_0x2d594b(0x325)](_0x23feef),this[_0x2d594b(0x2c0)][_0x2d594b(0x1a2)](_0x346ac8,_0x23feef);}),this[_0x326a63(0x368)][_0x326a63(0x315)](a[_0x326a63(0x18f)][_0x326a63(0x212)])[_0x326a63(0x18d)](d['takeUntil'](this['dispose$']))[_0x326a63(0x18d)](d[_0x326a63(0x1a9)](_0x1d3c03=>!_0x1d3c03['getUnitId']()[_0x326a63(0x3f1)]('__')))[_0x326a63(0x1d9)](async _0x46131f=>{const _0x1c08b3=_0x326a63,_0x25cc9d=_0x46131f[_0x1c08b3(0x2ed)](),_0x46c528=await this[_0x1c08b3(0x391)](_0x25cc9d);this[_0x1c08b3(0x3b7)][_0x1c08b3(0x325)](_0x46c528),this[_0x1c08b3(0x2c0)]['set'](_0x25cc9d,_0x46c528);}),d[_0x326a63(0x1a7)](this[_0x326a63(0x368)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x326a63(0x212)]),this[_0x326a63(0x368)]['getTypeOfUnitDisposed$'](a[_0x326a63(0x18f)][_0x326a63(0x363)]))['pipe'](d[_0x326a63(0x25a)](this[_0x326a63(0x2ad)]))[_0x326a63(0x1d9)](_0x314edb=>{const _0x1af233=_0x326a63,_0x32abd3=_0x314edb['getUnitId'](),_0x3f2e31=this[_0x1af233(0x2c0)][_0x1af233(0x398)](_0x32abd3);_0x3f2e31&&(_0x3f2e31[_0x1af233(0x1d4)](),this[_0x1af233(0x2c0)][_0x1af233(0x28c)](_0x32abd3));});}async[_0x570aba(0x3fe)](_0x476774){const _0x4332eb=_0x570aba,_0x5eed85=await this[_0x4332eb(0x277)][_0x4332eb(0x1b3)](_0x476774),_0x145067=this[_0x4332eb(0x1f7)]['createInstance'](Se,_0x476774,_0x5eed85);return _0x145067[_0x4332eb(0x20f)](),_0x145067;}async[_0x570aba(0x391)](_0x411f7a){const _0x48611b=_0x570aba,_0x5e000d=await this[_0x48611b(0x277)][_0x48611b(0x1b3)](_0x411f7a),_0xafd45b=this[_0x48611b(0x1f7)][_0x48611b(0x2a9)](fe,_0x411f7a,_0x5e000d);return _0xafd45b['init'](),_0xafd45b;}};x=ct([ie(0x0,a[_0x570aba(0x1a5)]),ie(0x1,a[_0x570aba(0x33e)](a[_0x570aba(0x39c)])),ie(0x2,a['Inject'](u[_0x570aba(0x29d)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x9c58fc,_0x266739){const _0x21bb98=_0x570aba;let {radius:_0x2d6278,width:_0x1dc138,height:_0xf87152}=_0x266739;_0x2d6278=_0x2d6278!=null?_0x2d6278:0x0,_0x1dc138=_0x1dc138!=null?_0x1dc138:0x1e,_0xf87152=_0xf87152!=null?_0xf87152:0x1e;let _0x4bdb17=0x0,_0x1a5a59=0x0,_0x5ce4cb=0x0;_0x4bdb17=_0x1a5a59=_0x5ce4cb=Math[_0x21bb98(0x36b)](_0x2d6278,_0x1dc138/0x2,_0xf87152/0x2),_0x9c58fc[_0x21bb98(0x355)](),_0x9c58fc[_0x21bb98(0x2b2)](_0x4bdb17,0x0),_0x9c58fc[_0x21bb98(0x26f)](_0x1dc138-_0x1a5a59,0x0),_0x9c58fc[_0x21bb98(0x1ad)](_0x1dc138-_0x1a5a59,_0x1a5a59,_0x1a5a59,Math['PI']*0x3/0x2,0x0,!0x1),_0x9c58fc[_0x21bb98(0x26f)](_0x1dc138,_0xf87152-_0x5ce4cb),_0x9c58fc[_0x21bb98(0x1ad)](_0x1dc138-_0x5ce4cb,_0xf87152-_0x5ce4cb,_0x5ce4cb,0x0,Math['PI']/0x2,!0x1),_0x9c58fc[_0x21bb98(0x26f)](0x0,_0xf87152),_0x9c58fc[_0x21bb98(0x26f)](0x0,_0x4bdb17),_0x9c58fc['arc'](_0x4bdb17,_0x4bdb17,_0x4bdb17,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x9c58fc['closePath'](),_0x266739[_0x21bb98(0x40b)]&&(_0x9c58fc[_0x21bb98(0x380)](),_0x9c58fc['fillStyle']=_0x266739['fill'],_0x266739['fillRule']===_0x21bb98(0x342)?_0x9c58fc[_0x21bb98(0x40b)](_0x21bb98(0x342)):_0x9c58fc[_0x21bb98(0x40b)](),_0x9c58fc[_0x21bb98(0x35e)]());}class ee extends p[_0x570aba(0x36e)]{constructor(_0x254f3f,_0x40514c){const _0x5ada1e=_0x570aba;super(_0x254f3f,_0x40514c),h(this,_0x5ada1e(0x24d)),h(this,_0x5ada1e(0x250)),(this[_0x5ada1e(0x24d)]=_0x40514c==null?void 0x0:_0x40514c[_0x5ada1e(0x24d)],this['text']=_0x40514c==null?void 0x0:_0x40514c[_0x5ada1e(0x250)]);}static[_0x570aba(0x1d6)](_0x1c13f0,_0xfb8263){const _0x4c6c05=_0x570aba,{text:_0x580564,color:_0x47a219}=_0xfb8263;_0x1c13f0['save'](),_0x1c13f0[_0x4c6c05(0x3f6)]=_0x4c6c05(0x30c);const _0xd59ef2=_0x1c13f0[_0x4c6c05(0x201)](_0x580564)[_0x4c6c05(0x266)],_0x268fd6=Math[_0x4c6c05(0x36b)](_0xd59ef2+0x2*ne,Re);_t(_0x1c13f0,{'height':K,'radius':0x4,'width':_0x268fd6,'fill':_0x47a219}),_0x1c13f0[_0x4c6c05(0x3f0)]='#FFF';const _0x455f68=ne,_0x3a1c72=K-lt,_0x4979b4=Re-0x2*ne;if(_0xd59ef2>_0x4979b4){let _0xb5a358='',_0x189fa7=0x0;for(const _0x2a41be of _0x580564){const _0x3b5a51=_0x1c13f0[_0x4c6c05(0x201)](_0x2a41be)[_0x4c6c05(0x266)];if(_0x189fa7+_0x3b5a51<=_0x4979b4-_0x1c13f0[_0x4c6c05(0x201)](_0x4c6c05(0x1a4))[_0x4c6c05(0x266)])_0xb5a358+=_0x2a41be,_0x189fa7+=_0x3b5a51;else{_0xb5a358+=_0x4c6c05(0x1a4);break;}}_0x1c13f0['fillText'](_0xb5a358,_0x455f68,_0x3a1c72);}else _0x1c13f0[_0x4c6c05(0x3ea)](_0x580564,_0x455f68,_0x3a1c72);_0x1c13f0[_0x4c6c05(0x35e)]();}['_draw'](_0x52b1f5){const _0x435c2b=_0x570aba;ee[_0x435c2b(0x1d6)](_0x52b1f5,this);}}const re=_0x570aba(0x343),ht='collab-text-range-',ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x570aba(0x2fa);class De{constructor(_0x47f0a2,_0x4062c2,_0x11b276,_0x389d8c){const _0x5c7e11=_0x570aba;h(this,_0x5c7e11(0x2d0),[]),h(this,'_anchor',null),h(this,_0x5c7e11(0x1cb),null),h(this,'_anchorDot',null),h(this,'_hideTimer',null),h(this,_0x5c7e11(0x2fd),null),(this[_0x5c7e11(0x1a6)]=_0x47f0a2,this[_0x5c7e11(0x183)]=_0x4062c2,this['_docSkeleton']=_0x11b276,this[_0x5c7e11(0x347)]=_0x389d8c,this['_render']());}set[_0x570aba(0x244)](_0x292f1d){const _0x5e36e9=_0x570aba;_0x292f1d?(this[_0x5e36e9(0x1a0)]&&this[_0x5e36e9(0x1a0)][_0x5e36e9(0x3a8)](),this[_0x5e36e9(0x1cb)]&&this[_0x5e36e9(0x1cb)][_0x5e36e9(0x335)]()):(this[_0x5e36e9(0x1a0)]&&this[_0x5e36e9(0x1a0)][_0x5e36e9(0x335)](),this[_0x5e36e9(0x1cb)]&&this[_0x5e36e9(0x1cb)][_0x5e36e9(0x3a8)]());}[_0x570aba(0x1d4)](){const _0x24ca96=_0x570aba;for(const _0x10c57f of this[_0x24ca96(0x2d0)])_0x10c57f[_0x24ca96(0x1d4)]();this['_textBubble']&&this[_0x24ca96(0x1cb)][_0x24ca96(0x1d4)](),this[_0x24ca96(0x1a0)]&&this[_0x24ca96(0x1a0)][_0x24ca96(0x1d4)](),this['_anchor']&&this[_0x24ca96(0x3bb)]['dispose'](),this[_0x24ca96(0x2fd)]&&this['_eventUnsubscribe']();}[_0x570aba(0x340)](){const _0x37fd47=_0x570aba;var _0x3943ea;const {_docSkeleton:_0x4d8007,_document:_0x440d77}=this,{color:_0x58c635,name:_0x413f1d,ranges:_0x15dd5b}=this[_0x37fd47(0x1a6)],_0x33ef37=_0x440d77[_0x37fd47(0x1bb)](),{docsLeft:_0xc337d1,docsTop:_0x53d018}=_0x33ef37,_0xbb69e0=new b[(_0x37fd47(0x1d2))](_0x33ef37,_0x4d8007);for(const {startOffset:_0x4d4bf4,endOffset:_0x1ccc2a,rangeType:_0x4a21bb,segmentId:_0x46bff6,segmentPage:_0x2af7ca,collapsed:_0x3b9722,isActive:_0xa3ff4}of _0x15dd5b){const _0x180ed4=_0x4d8007[_0x37fd47(0x319)](_0x4d4bf4,!0x0,_0x46bff6,_0x2af7ca);let _0x254d2f=_0x4d8007[_0x37fd47(0x319)](_0x1ccc2a,!0x0,_0x46bff6,_0x2af7ca);if(_0x254d2f==null&&(_0x254d2f=_0x4d8007[_0x37fd47(0x319)](_0x1ccc2a-0x1,!0x1,_0x46bff6,_0x2af7ca)),_0xa3ff4){const {contentBoxPointGroup:_0x5d9328}=_0xbb69e0[_0x37fd47(0x190)](_0x254d2f,_0x254d2f);if(_0x5d9328['length']===0x0)continue;this['_drawAnchor'](_0x58c635,_0x5d9328,_0xc337d1,_0x53d018,_0x413f1d),this[_0x37fd47(0x2fd)]=this[_0x37fd47(0x2c1)]();}if(_0x180ed4&&_0x254d2f){if(_0x4a21bb===a[_0x37fd47(0x275)][_0x37fd47(0x1f3)]){const _0x33420f=new b[(_0x37fd47(0x297))](_0x33ef37,_0x4d8007),{pointGroup:_0x17a6e7}=(_0x3943ea=_0x33420f[_0x37fd47(0x190)](_0x180ed4,_0x254d2f))!=null?_0x3943ea:{};if(_0x17a6e7==null||_0x17a6e7[_0x37fd47(0x214)]===0x0)continue;this[_0x37fd47(0x2dd)](_0x58c635,_0x17a6e7,_0xc337d1,_0x53d018);}else{if(!_0x3b9722){const {borderBoxPointGroup:_0x3e0bc1}=_0xbb69e0[_0x37fd47(0x190)](_0x180ed4,_0x254d2f);if(_0x3e0bc1['length']===0x0)continue;this[_0x37fd47(0x1d0)](_0x58c635,_0x3e0bc1,_0xc337d1,_0x53d018);}}}}}[_0x570aba(0x2dc)](_0x452665,_0x4b362e,_0x56fdfa,_0x37555c,_0x12bed0){const _0x4e91ac=_0x570aba,_0x2f3031=this['_getAnchorBounding'](_0x4b362e),{left:_0x390445,top:_0x40a7f4,height:_0x301d28}=_0x2f3031,_0x5c97aa=this[_0x4e91ac(0x2e7)](),_0x23fd02=ft/_0x5c97aa,_0x19122a=new p[(_0x4e91ac(0x344))](re+a[_0x4e91ac(0x274)][_0x4e91ac(0x2d3)](k),{'left':_0x390445+_0x56fdfa-_0x23fd02,'top':_0x40a7f4+_0x37555c,'height':_0x301d28,'width':dt,'fill':_0x452665||p['getColor'](a[_0x4e91ac(0x3f9)][_0x4e91ac(0x286)],0x0),'strokeWidth':_0x23fd02,'stroke':St,'evented':!0x0});this['_anchor']=_0x19122a,this[_0x4e91ac(0x183)][_0x4e91ac(0x3cb)](_0x19122a,b[_0x4e91ac(0x3a2)]);const _0x56bb6e=new p['Rect'](re+a[_0x4e91ac(0x274)][_0x4e91ac(0x2d3)](k),{'left':_0x390445+_0x56fdfa-_0x23fd02,'top':_0x40a7f4+_0x37555c-oe/0x2,'height':oe,'width':oe,'fill':_0x452665||p[_0x4e91ac(0x26c)](a[_0x4e91ac(0x3f9)][_0x4e91ac(0x286)],0x0),'strokeWidth':0x0,'stroke':_0x452665||p[_0x4e91ac(0x26c)](a[_0x4e91ac(0x3f9)][_0x4e91ac(0x286)],0x0),'evented':!0x1});this[_0x4e91ac(0x1a0)]=_0x56bb6e,this[_0x4e91ac(0x183)][_0x4e91ac(0x3cb)](_0x56bb6e,b[_0x4e91ac(0x3a2)]);const _0xd5ece9=new ee(re+a[_0x4e91ac(0x274)]['generateRandomId'](k),{'left':_0x390445+_0x56fdfa-_0x23fd02,'top':_0x40a7f4+_0x37555c-K,'text':_0x12bed0,'color':_0x452665});this['_textBubble']=_0xd5ece9,this[_0x4e91ac(0x183)][_0x4e91ac(0x3cb)](_0xd5ece9,b[_0x4e91ac(0x3a2)]),this[_0x4e91ac(0x244)]=!0x1;}['_handleHover'](){const _0x10f352=_0x570aba,_0x489932=this[_0x10f352(0x3bb)][_0x10f352(0x3db)][_0x10f352(0x2b8)](()=>{const _0x1142b3=_0x10f352;this[_0x1142b3(0x244)]=!0x0;}),_0x16e1fc=this[_0x10f352(0x3bb)][_0x10f352(0x406)]['subscribeEvent'](()=>{const _0x3a3afb=_0x10f352;this[_0x3a3afb(0x1a3)]&&clearTimeout(this[_0x3a3afb(0x1a3)]),this['_hideTimer']=setTimeout(()=>{const _0x50b5c8=_0x3a3afb;this[_0x50b5c8(0x244)]=!0x1;},0x7d0);});return()=>{const _0xca9826=_0x10f352;_0x489932[_0xca9826(0x3d2)](),_0x16e1fc[_0xca9826(0x3d2)]();};}[_0x570aba(0x1d0)](_0x4fd861,_0x55e8c7,_0x5094f8,_0x234371){const _0x2b5a41=_0x570aba,_0x25c06c=new a[(_0x2b5a41(0x33d))](_0x4fd861)[_0x2b5a41(0x243)](0.2)[_0x2b5a41(0x30f)](),_0x4a7f5f=new p['RegularPolygon'](ht+a['Tools'][_0x2b5a41(0x2d3)](k),{'pointsGroup':_0x55e8c7,'fill':_0x25c06c||p[_0x2b5a41(0x26c)](a[_0x2b5a41(0x3f9)][_0x2b5a41(0x286)],0.2),'left':_0x5094f8,'top':_0x234371,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b5a41(0x2d0)]['push'](_0x4a7f5f),this[_0x2b5a41(0x183)][_0x2b5a41(0x3cb)](_0x4a7f5f,b['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x430982,_0x5c7b31,_0x4be411,_0x104a32){const _0x505a90=_0x570aba,_0x5ce8e3=new a[(_0x505a90(0x33d))](_0x430982)[_0x505a90(0x243)](0.2)['toRgbString'](),_0x447f01=new p['RegularPolygon'](ut+a['Tools'][_0x505a90(0x2d3)](k),{'pointsGroup':_0x5c7b31,'fill':_0x5ce8e3||p['getColor'](a[_0x505a90(0x3f9)][_0x505a90(0x286)],0.2),'left':_0x4be411,'top':_0x104a32,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x505a90(0x2d0)][_0x505a90(0x293)](_0x447f01),this[_0x505a90(0x183)][_0x505a90(0x3cb)](_0x447f01,b[_0x505a90(0x3a2)]);}[_0x570aba(0x314)](_0xe979e6){const _0x3ff180=_0xe979e6[0x0],_0x21bcca=_0x3ff180[0x0],_0x5b5590=_0x3ff180[0x2],{x:_0x4d140a,y:_0x16cb19}=_0x21bcca,{x:_0x273ff0,y:_0x3dcbba}=_0x5b5590;return{'left':_0x4d140a,'top':_0x16cb19,'width':_0x273ff0-_0x4d140a,'height':_0x3dcbba-_0x16cb19};}[_0x570aba(0x2e7)](){const _0x3ff370=_0x570aba,{scaleX:_0x1d1c5f,scaleY:_0x139735}=this['_scene'][_0x3ff370(0x3e1)]();return Math[_0x3ff370(0x337)](_0x1d1c5f,_0x139735);}}var It=Object[_0x570aba(0x31c)],vt=(_0x5580a3,_0x47f99c,_0xc9c669,_0x5874fd)=>{const _0x232a37=_0x570aba;for(var _0x4542fe=_0x5874fd>0x1?void 0x0:_0x5874fd?It(_0x47f99c,_0xc9c669):_0x47f99c,_0x1d61a0=_0x5580a3[_0x232a37(0x214)]-0x1,_0x5671f1;_0x1d61a0>=0x0;_0x1d61a0--)(_0x5671f1=_0x5580a3[_0x1d61a0])&&(_0x4542fe=_0x5671f1(_0x4542fe)||_0x4542fe);return _0x4542fe;},W=(_0x3f9ea2,_0x394c58)=>(_0x4c9806,_0x4f6a14)=>_0x394c58(_0x4c9806,_0x4f6a14,_0x3f9ea2);let Ie=class extends a[_0x570aba(0x338)]{constructor(_0x36dfc4,_0x186257,_0x340153,_0x2033b4,_0x939ec4){const _0x22b714=_0x570aba;super(),h(this,_0x22b714(0x366),[]),h(this,_0x22b714(0x285),[]),(this['_context']=_0x36dfc4,this['_docSkeletonManagerService']=_0x186257,this[_0x22b714(0x288)]=_0x340153,this[_0x22b714(0x204)]=_0x2033b4,this[_0x22b714(0x1b5)]=_0x939ec4,this[_0x22b714(0x31e)]());}[_0x570aba(0x31e)](){const _0x7e5477=_0x570aba,_0x54d9b7=this[_0x7e5477(0x2f7)][_0x7e5477(0x276)],_0x2d4528=this[_0x7e5477(0x32a)];this[_0x7e5477(0x2cc)](d[_0x7e5477(0x34d)]([this[_0x7e5477(0x288)][_0x7e5477(0x403)](_0x54d9b7),this['_themeService']['currentTheme$']])[_0x7e5477(0x18d)]($[_0x7e5477(0x2fb)](([_0x407380,_0x2852b1])=>({'skeleton':_0x2d4528[_0x7e5477(0x1f8)](),'cursors':[..._0x407380[_0x7e5477(0x279)]()][_0x7e5477(0x1df)](_0x31a38e=>({..._0x31a38e,'color':this[_0x7e5477(0x1b5)][_0x7e5477(0x3f4)](_0x31a38e[_0x7e5477(0x24d)])}))})))[_0x7e5477(0x1d9)](_0x439fca=>{const _0x27f17f=_0x7e5477;if(this[_0x27f17f(0x33c)](),_0x439fca){const {skeleton:_0x52bf18,cursors:_0x59fec9}=_0x439fca;this[_0x27f17f(0x20a)](_0x52bf18,_0x59fec9);}})),this[_0x7e5477(0x345)](),this[_0x7e5477(0x354)]();}[_0x570aba(0x20a)](_0xb9f520,_0x53458a){const _0x9f7ac0=_0x570aba,{scene:_0x2c6820,mainComponent:_0x959aa7}=this[_0x9f7ac0(0x2f7)],_0x915173=_0x53458a[_0x9f7ac0(0x2fb)](_0x511c45=>new De(_0x511c45,_0x2c6820,_0xb9f520,_0x959aa7));this[_0x9f7ac0(0x366)]=_0x915173,this[_0x9f7ac0(0x285)]=_0x53458a;}[_0x570aba(0x37a)](){const _0x30d690=_0x570aba;this[_0x30d690(0x33c)]();const {scene:_0x1c758b,mainComponent:_0x703a98}=this[_0x30d690(0x2f7)],_0x570fdc=this[_0x30d690(0x32a)][_0x30d690(0x1f8)](),_0x53957e=this[_0x30d690(0x285)][_0x30d690(0x2fb)](_0x1ac476=>new De(_0x1ac476,_0x1c758b,_0x570fdc,_0x703a98));this['_cursorShapes']=_0x53957e;}[_0x570aba(0x33c)](){const _0x261e9c=_0x570aba;this[_0x261e9c(0x366)][_0x261e9c(0x247)](_0x2b0aba=>_0x2b0aba[_0x261e9c(0x1d4)]()),this[_0x261e9c(0x366)]=[];}['_initCommandExecutedListener'](){const _0xa0550c=_0x570aba,_0x414c9d=[b[_0xa0550c(0x39e)]['id']];this[_0xa0550c(0x2cc)](this[_0xa0550c(0x204)]['onCommandExecuted'](_0x2c7e48=>{const _0xa32f03=_0xa0550c;_0x414c9d[_0xa32f03(0x34a)](_0x2c7e48['id'])&&_0x2c7e48[_0xa32f03(0x2de)]['unitId']===this[_0xa32f03(0x2f7)][_0xa32f03(0x276)]&&this[_0xa32f03(0x37a)]();}));}[_0x570aba(0x345)](){const _0x4c3b52=_0x570aba;this[_0x4c3b52(0x2cc)](a[_0x4c3b52(0x3af)](this[_0x4c3b52(0x2f7)][_0x4c3b52(0x17e)][_0x4c3b52(0x30a)])[_0x4c3b52(0x18d)]($[_0x4c3b52(0x1a9)](_0x71147b=>_0x71147b[_0x4c3b52(0x385)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4c3b52(0x2ae)]),$[_0x4c3b52(0x3fa)](0x10))[_0x4c3b52(0x1d9)](()=>{const _0x17c87f=_0x4c3b52;this[_0x17c87f(0x37a)]();}));}};Ie=vt([W(0x1,a[_0x570aba(0x33e)](Y[_0x570aba(0x1dc)])),W(0x2,a[_0x570aba(0x33e)](x)),W(0x3,a[_0x570aba(0x3e4)]),W(0x4,a['Inject'](a[_0x570aba(0x1fc)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p['Shape']{constructor(_0x1e9d9c,_0x4571ce){const _0x4194a8=_0x570aba;super(_0x1e9d9c,_0x4571ce),h(this,_0x4194a8(0x1a1)),h(this,_0x4194a8(0x22d),!0x1),h(this,_0x4194a8(0x1c1)),h(this,'_name',''),h(this,_0x4194a8(0x1cf),'top'),h(this,_0x4194a8(0x2b6)),(_0x4571ce&&this[_0x4194a8(0x1f9)](_0x4571ce),this[_0x4194a8(0x3db)][_0x4194a8(0x2b8)](()=>this[_0x4194a8(0x1f9)]({'hovered':!0x0})),this[_0x4194a8(0x406)][_0x4194a8(0x2b8)](()=>this[_0x4194a8(0x1f9)]({'hovered':!0x1})));}[_0x570aba(0x1f9)](_0x53484d){const _0x302ff9=_0x570aba;var _0x55bf5d,_0x37e5a3,_0x4130b6,_0x40b34f,_0x126a1e,_0x22ef0f;this[_0x302ff9(0x1a1)]=(_0x55bf5d=_0x53484d[_0x302ff9(0x24d)])!=null?_0x55bf5d:this[_0x302ff9(0x1a1)],this[_0x302ff9(0x22d)]=(_0x37e5a3=_0x53484d[_0x302ff9(0x1bf)])!=null?_0x37e5a3:this[_0x302ff9(0x22d)],this['_range']=(_0x4130b6=_0x53484d[_0x302ff9(0x1c5)])!=null?_0x4130b6:this['_range'],this['_name']=(_0x40b34f=_0x53484d['name'])!=null?_0x40b34f:this[_0x302ff9(0x349)],this[_0x302ff9(0x1cf)]=(_0x126a1e=_0x53484d['labelPosition'])!=null?_0x126a1e:this[_0x302ff9(0x1cf)],this[_0x302ff9(0x2b6)]=(_0x22ef0f=_0x53484d['backgroundColor'])!=null?_0x22ef0f:this[_0x302ff9(0x2b6)],this[_0x302ff9(0x2c9)]({'width':_0x53484d[_0x302ff9(0x266)],'height':_0x53484d['height']});}[_0x570aba(0x389)](_0x3fb0bd){const _0x4efcf7=_0x570aba,{row:_0x48182e,column:_0x14bc9e}=_0x3fb0bd;if(_0x48182e>=this['_range'][_0x4efcf7(0x3f7)]&&_0x48182e<=this[_0x4efcf7(0x1c1)]['endRow']&&_0x14bc9e>=this[_0x4efcf7(0x1c1)]['startColumn']&&_0x14bc9e<=this[_0x4efcf7(0x1c1)]['endColumn']){this[_0x4efcf7(0x1f9)]({'hovered':!0x0});return;}this[_0x4efcf7(0x1f9)]({'hovered':!0x1});}[_0x570aba(0x1a8)](_0xf83195){return!0x1;}[_0x570aba(0x364)](_0x19b8a0){const _0x7b9b8e=_0x570aba;p[_0x7b9b8e(0x344)][_0x7b9b8e(0x1d6)](_0x19b8a0,{'width':this[_0x7b9b8e(0x266)],'height':this[_0x7b9b8e(0x36c)],'strokeWidth':mt,'stroke':this[_0x7b9b8e(0x1a1)],'evented':!0x1,'fill':this[_0x7b9b8e(0x2b6)]}),this[_0x7b9b8e(0x22d)]&&(_0x19b8a0[_0x7b9b8e(0x380)](),_0x19b8a0['transform'](0x1,0x0,0x0,0x1,this[_0x7b9b8e(0x266)],this[_0x7b9b8e(0x1cf)]===_0x7b9b8e(0x3ab)?0x0:-0x14),ee[_0x7b9b8e(0x1d6)](_0x19b8a0,{'text':this[_0x7b9b8e(0x349)],'color':this[_0x7b9b8e(0x1a1)]}),_0x19b8a0['restore']());}}var Ct=Object[_0x570aba(0x31c)],pt=(_0x2cc634,_0x54ecbb,_0x20bc91,_0xaf07a)=>{for(var _0x5b2b6b=_0xaf07a>0x1?void 0x0:_0xaf07a?Ct(_0x54ecbb,_0x20bc91):_0x54ecbb,_0x51b575=_0x2cc634['length']-0x1,_0x2d7e7c;_0x51b575>=0x0;_0x51b575--)(_0x2d7e7c=_0x2cc634[_0x51b575])&&(_0x5b2b6b=_0x2d7e7c(_0x5b2b6b)||_0x5b2b6b);return _0x5b2b6b;},ae=(_0x54ea3e,_0x125540)=>(_0x10ba05,_0x3cf1a9)=>_0x125540(_0x10ba05,_0x3cf1a9,_0x54ea3e);const bt=0x1389;let ve=class extends a[_0x570aba(0x338)]{constructor(_0x4caaa2,_0x4c2d58,_0x3784b7,_0xa7beda){const _0xe3d57b=_0x570aba;super(),h(this,'_cursors',new Set()),h(this,_0xe3d57b(0x2cb),null),(this[_0xe3d57b(0x2f7)]=_0x4caaa2,this[_0xe3d57b(0x181)]=_0x4c2d58,this[_0xe3d57b(0x288)]=_0x3784b7,this[_0xe3d57b(0x1b5)]=_0xa7beda,this['_init']());}['_init'](){const _0x64672b=_0x570aba;this[_0x64672b(0x181)][_0x64672b(0x37c)][_0x64672b(0x18d)]($[_0x64672b(0x25a)](this[_0x64672b(0x2ad)]),$[_0x64672b(0x1c2)](_0x1899e1=>{const _0x76ed63=_0x64672b;if(_0x1899e1){const _0x5ab0a7=_0x1899e1['sheetId'];return d[_0x76ed63(0x34d)](this['_collabCursorController']['getCollabCursors$'](this[_0x76ed63(0x2f7)]['unitId']),this[_0x76ed63(0x1b5)][_0x76ed63(0x3ee)])['pipe']($['map'](([_0x45be67,_0x5619db])=>{const _0x18f6ea=_0x76ed63,_0x3f05de=new Map();return _0x45be67[_0x18f6ea(0x247)]((_0x1947ce,_0x163568)=>{const _0x2743ba=_0x18f6ea;if(_0x1947ce['sheetID']===_0x5ab0a7){const _0x34141a={..._0x1947ce};_0x34141a[_0x2743ba(0x24d)]=this[_0x2743ba(0x1b5)][_0x2743ba(0x3f4)](_0x1947ce['color']),_0x3f05de['set'](_0x163568,_0x34141a);}}),{'skeleton':_0x1899e1,'cursors':_0x3f05de};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x58ceb4,cursors:_0x264151})=>{const _0x4a1dbc=_0x64672b;this[_0x4a1dbc(0x33c)](),_0x58ceb4&&this['_updateCollabCursors'](_0x58ceb4,_0x264151);}),this[_0x64672b(0x181)][_0x64672b(0x37c)][_0x64672b(0x1d9)](_0x5e92df=>{const _0x43b747=_0x64672b;if(_0x5e92df==null)return;const {skeleton:_0x507ff2}=_0x5e92df,{scene:_0x30f1fb}=this[_0x43b747(0x2f7)];_0x30f1fb[_0x43b747(0x263)][_0x43b747(0x2b8)](a[_0x43b747(0x329)](_0x4412be=>{const _0x3b4433=_0x43b747;var _0x2c153f,_0x5b9fc2;const {offsetX:_0x31943f,offsetY:_0x2c92dd}=_0x4412be,{x:_0x2420eb,y:_0xf9a405}=_0x30f1fb[_0x3b4433(0x2a1)](p[_0x3b4433(0x278)][_0x3b4433(0x26b)]([_0x31943f,_0x2c92dd])),{scaleX:_0x39f2cb,scaleY:_0x50c786}=_0x30f1fb['getAncestorScale'](),_0xa89b1e=_0x30f1fb[_0x3b4433(0x321)](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x261806=_0x30f1fb['getVpScrollXYInfoByPosToVp'](p[_0x3b4433(0x278)][_0x3b4433(0x26b)]([_0x2420eb,_0xf9a405]),_0xa89b1e),_0x4d6694=_0x507ff2['getCellPositionByOffset'](_0x31943f,_0x2c92dd,_0x39f2cb,_0x50c786,_0x261806);((_0x2c153f=this['_lastPointer'])==null?void 0x0:_0x2c153f[_0x3b4433(0x26e)])===_0x4d6694[_0x3b4433(0x26e)]&&((_0x5b9fc2=this[_0x3b4433(0x2cb)])==null?void 0x0:_0x5b9fc2[_0x3b4433(0x2f0)])===_0x4d6694[_0x3b4433(0x2f0)]||this[_0x3b4433(0x285)][_0x3b4433(0x247)](_0x826d6e=>{const _0x51640c=_0x3b4433;_0x826d6e[_0x51640c(0x389)](_0x4d6694);});},0x64));});}[_0x570aba(0x20a)](_0x29e0d2,_0x208b62){const _0x4ea1e9=_0x570aba;var _0x4fbda6;const _0x1f27a0=(_0x4fbda6=this[_0x4ea1e9(0x181)][_0x4ea1e9(0x3cc)]())==null?void 0x0:_0x4fbda6[_0x4ea1e9(0x27c)];if(!_0x1f27a0)return;const _0x2663a5=this[_0x4ea1e9(0x21f)]();if(!_0x2663a5)return;this['_cursors'][_0x4ea1e9(0x247)](_0x5f34ef=>{const _0x36bcf8=_0x4ea1e9;_0x5f34ef[_0x36bcf8(0x3f8)]();});const {scene:_0x1ad430}=_0x2663a5,_0x3e01db=Et(Array['from'](_0x208b62[_0x4ea1e9(0x279)]()))[_0x4ea1e9(0x2fb)](_0x5d65c0=>{const _0x57d11a=_0x4ea1e9,{color:_0xa4a39b,range:_0x1ec1d3,name:_0x241045,selection:_0x58b809,sheetID:_0x204ce7}=_0x5d65c0,{startColumn:_0x5b6ee8,startRow:_0x170422,endColumn:_0xbcd041,endRow:_0xa71976}=_0x1ec1d3,_0x20f7d2=X[_0x57d11a(0x1c3)](_0x170422,_0x5b6ee8,_0x1ad430,_0x1f27a0),_0x3a3bc7=X[_0x57d11a(0x1c3)](_0xa71976,_0xbcd041,_0x1ad430,_0x1f27a0),{columnHeaderHeightAndMarginTop:_0x250570}=_0x1f27a0,{startX:_0x348737,startY:_0x6cb742}=_0x20f7d2,{endX:_0x5b906a,endY:_0x2effaf}=_0x3a3bc7,_0x2a59ad=_0x5b906a-_0x348737,_0x28f684=_0x2effaf-_0x6cb742,_0xe2b983={'labelPosition':_0x6cb742-_0x250570>=K?_0x57d11a(0x40a):_0x57d11a(0x3ab),'sheetID':_0x204ce7,'range':_0x1ec1d3,'color':_0xa4a39b,'name':_0x241045,'selection':_0x58b809,'left':_0x348737,'top':_0x6cb742,'width':_0x2a59ad,'height':_0x28f684,'evented':!0x1,'zIndex':bt};return new Ae(_0x241045,_0xe2b983);});_0x1ad430[_0x4ea1e9(0x22c)](_0x3e01db,gt),this['_cursors']=new Set(_0x3e01db);}[_0x570aba(0x33c)](){const _0x2a7062=_0x570aba;var _0x139022;(_0x139022=this[_0x2a7062(0x285)])==null||_0x139022[_0x2a7062(0x247)](_0x1225b9=>_0x1225b9['dispose']());}[_0x570aba(0x21f)](){const _0x5611cd=_0x570aba;return X[_0x5611cd(0x32d)](this['_context'][_0x5611cd(0x356)],this[_0x5611cd(0x2f7)]);}};ve=pt([ae(0x1,a['Inject'](X[_0x570aba(0x305)])),ae(0x2,a[_0x570aba(0x33e)](x)),ae(0x3,a[_0x570aba(0x33e)](a[_0x570aba(0x1fc)]))],ve);function Et(_0x376719){const _0x30293f=_0x570aba,_0x29b8f0=new Map();return _0x376719[_0x30293f(0x247)](_0x80dafd=>{const _0x13ab43=_0x30293f;if(_0x29b8f0['has'](_0x80dafd[_0x13ab43(0x19c)])){const _0x397795=_0x29b8f0[_0x13ab43(0x398)](_0x80dafd[_0x13ab43(0x19c)]);_0x397795[_0x13ab43(0x19b)]+=',\x20'+_0x80dafd[_0x13ab43(0x19b)];}else _0x29b8f0[_0x13ab43(0x1a2)](_0x80dafd['selection'],_0x80dafd);}),Array[_0x30293f(0x320)](_0x29b8f0[_0x30293f(0x279)]());}var E=function(){const _0x44c8ca=_0x570aba;return E=Object[_0x44c8ca(0x219)]||function(_0x320518){const _0xf7bbdf=_0x44c8ca;for(var _0x48a711,_0x1b9f7b=0x1,_0x3abbd1=arguments[_0xf7bbdf(0x214)];_0x1b9f7b<_0x3abbd1;_0x1b9f7b++){_0x48a711=arguments[_0x1b9f7b];for(var _0x5a6027 in _0x48a711)Object[_0xf7bbdf(0x282)][_0xf7bbdf(0x246)][_0xf7bbdf(0x210)](_0x48a711,_0x5a6027)&&(_0x320518[_0x5a6027]=_0x48a711[_0x5a6027]);}return _0x320518;},E[_0x44c8ca(0x2e9)](this,arguments);},Tt=function(_0x57d7a5,_0x3dfc79){const _0x1995c2=_0x570aba;var _0x414b3f={};for(var _0x1ea616 in _0x57d7a5)Object[_0x1995c2(0x282)][_0x1995c2(0x246)]['call'](_0x57d7a5,_0x1ea616)&&_0x3dfc79[_0x1995c2(0x308)](_0x1ea616)<0x0&&(_0x414b3f[_0x1ea616]=_0x57d7a5[_0x1ea616]);if(_0x57d7a5!=null&&typeof Object['getOwnPropertySymbols']==_0x1995c2(0x249)){for(var _0x338bdd=0x0,_0x1ea616=Object[_0x1995c2(0x2b5)](_0x57d7a5);_0x338bdd<_0x1ea616['length'];_0x338bdd++)_0x3dfc79[_0x1995c2(0x308)](_0x1ea616[_0x338bdd])<0x0&&Object[_0x1995c2(0x282)][_0x1995c2(0x2e0)][_0x1995c2(0x210)](_0x57d7a5,_0x1ea616[_0x338bdd])&&(_0x414b3f[_0x1ea616[_0x338bdd]]=_0x57d7a5[_0x1ea616[_0x338bdd]]);}return _0x414b3f;},pe=M[_0x570aba(0x3d6)](function(_0x515195,_0x2fa4b3){const _0x3483ce=_0x570aba;var _0x414918=_0x515195[_0x3483ce(0x270)],_0x18380c=_0x515195['id'],_0x495b44=_0x515195[_0x3483ce(0x400)],_0x5442cf=_0x515195[_0x3483ce(0x2c3)],_0x5383f0=Tt(_0x515195,['icon','id',_0x3483ce(0x400),_0x3483ce(0x2c3)]),_0x5bddec=_0x3483ce(0x3ef)[_0x3483ce(0x294)](_0x18380c,'\x20')[_0x3483ce(0x294)](_0x495b44||'')[_0x3483ce(0x34b)](),_0x12748b=M[_0x3483ce(0x1db)]('_'[_0x3483ce(0x294)](Dt()));return we(_0x414918,''[_0x3483ce(0x294)](_0x18380c),{'defIds':_0x414918['defIds'],'idSuffix':_0x12748b['current']},E({'ref':_0x2fa4b3,'className':_0x5bddec},_0x5383f0),_0x5442cf);});function we(_0x3f8ae5,_0x54efee,_0x439355,_0x308b3d,_0x21a781){const _0x5366f1=_0x570aba;return M[_0x5366f1(0x272)](_0x3f8ae5[_0x5366f1(0x218)],E(E({'key':_0x54efee},Ot(_0x3f8ae5,_0x439355,_0x21a781)),_0x308b3d),(Rt(_0x3f8ae5,_0x439355)[_0x5366f1(0x399)]||[])[_0x5366f1(0x2fb)](function(_0x47fd33,_0x877f4b){const _0x531060=_0x5366f1;return we(_0x47fd33,''[_0x531060(0x294)](_0x54efee,'-')[_0x531060(0x294)](_0x3f8ae5[_0x531060(0x218)],'-')[_0x531060(0x294)](_0x877f4b),_0x439355,void 0x0,_0x21a781);}));}function Ot(_0x38ac40,_0x579267,_0x5bf1a9){const _0x528688=_0x570aba;var _0x20b1dc=E({},_0x38ac40[_0x528688(0x379)]);_0x5bf1a9!=null&&_0x5bf1a9[_0x528688(0x33b)]&&_0x20b1dc['fill']===_0x528688(0x33b)&&(_0x20b1dc['fill']=_0x5bf1a9['colorChannel1']),_0x38ac40[_0x528688(0x218)]===_0x528688(0x3c3)&&_0x20b1dc['id']&&(_0x20b1dc['id']=_0x20b1dc['id']+_0x579267[_0x528688(0x264)]),Object[_0x528688(0x208)](_0x20b1dc)[_0x528688(0x247)](function(_0x16d417){const _0x2e6be1=_0x528688;var _0x368d91=_0x16d417[0x0],_0x32af19=_0x16d417[0x1];_0x368d91===_0x2e6be1(0x3c3)&&typeof _0x32af19==_0x2e6be1(0x28d)&&(_0x20b1dc[_0x368d91]=_0x32af19[_0x2e6be1(0x2fc)](/url\(#(.*)\)/,_0x2e6be1(0x238)[_0x2e6be1(0x294)](_0x579267[_0x2e6be1(0x264)],')')));});var _0x1695f1=_0x579267['defIds'];return!_0x1695f1||_0x1695f1[_0x528688(0x214)]===0x0||(_0x38ac40[_0x528688(0x218)]===_0x528688(0x2f4)&&_0x20b1dc['xlink:href']&&(_0x20b1dc['xlink:href']=_0x20b1dc['xlink:href']+_0x579267[_0x528688(0x264)]),Object[_0x528688(0x208)](_0x20b1dc)[_0x528688(0x247)](function(_0x406d9c){const _0x4559d1=_0x528688;var _0x3fab1a=_0x406d9c[0x0],_0x3551b9=_0x406d9c[0x1];typeof _0x3551b9==_0x4559d1(0x28d)&&(_0x20b1dc[_0x3fab1a]=_0x3551b9['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x579267[_0x4559d1(0x264)],')')));})),_0x20b1dc;}function Rt(_0x4ba979,_0x5210a9){const _0x58d872=_0x570aba;var _0x482077,_0x511570=_0x5210a9[_0x58d872(0x1be)];return!_0x511570||_0x511570[_0x58d872(0x214)]===0x0?_0x4ba979:_0x4ba979[_0x58d872(0x218)]===_0x58d872(0x32f)&&(!((_0x482077=_0x4ba979['children'])===null||_0x482077===void 0x0)&&_0x482077[_0x58d872(0x214)])?E(E({},_0x4ba979),{'children':_0x4ba979['children'][_0x58d872(0x2fb)](function(_0x36558b){const _0x207a3b=_0x58d872;return typeof _0x36558b[_0x207a3b(0x379)]['id']==_0x207a3b(0x28d)&&_0x511570&&_0x511570[_0x207a3b(0x308)](_0x36558b[_0x207a3b(0x379)]['id'])>-0x1?E(E({},_0x36558b),{'attrs':E(E({},_0x36558b[_0x207a3b(0x379)]),{'id':_0x36558b[_0x207a3b(0x379)]['id']+_0x5210a9[_0x207a3b(0x264)]})}):_0x36558b;})}):_0x4ba979;}function Dt(){const _0x15cea2=_0x570aba;return Math[_0x15cea2(0x334)]()[_0x15cea2(0x1ac)](0x24)[_0x15cea2(0x36f)](0x2,0x8);}pe['displayName']=_0x570aba(0x300);var Ut={'tag':_0x570aba(0x24e),'attrs':{'fill':'none','viewBox':_0x570aba(0x2e1),'width':_0x570aba(0x1eb),'height':_0x570aba(0x1eb)},'children':[{'tag':'g','attrs':{'clipPath':_0x570aba(0x3e9)},'children':[{'tag':_0x570aba(0x24a),'attrs':{'stroke':_0x570aba(0x388),'d':_0x570aba(0x3de),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x570aba(0x32f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x570aba(0x327)},'children':[{'tag':_0x570aba(0x24a),'attrs':{'fill':_0x570aba(0x38d),'d':_0x570aba(0x2ec)}}]}]}],'defIds':[_0x570aba(0x327)]},ye=M[_0x570aba(0x3d6)](function(_0x55e03e,_0x5a5ed7){const _0x3281f9=_0x570aba;return M['createElement'](pe,Object[_0x3281f9(0x219)]({},_0x55e03e,{'id':_0x3281f9(0x25c),'ref':_0x5a5ed7,'icon':Ut}));});ye['displayName']=_0x570aba(0x1cc);var Nt={'tag':'svg','attrs':{'fill':_0x570aba(0x216),'viewBox':_0x570aba(0x2b1),'width':'1em','height':_0x570aba(0x1eb)},'children':[{'tag':'g','attrs':{'clipPath':_0x570aba(0x1b4)},'children':[{'tag':_0x570aba(0x24a),'attrs':{'stroke':_0x570aba(0x388),'d':_0x570aba(0x199),'strokeLinecap':_0x570aba(0x215),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x570aba(0x32f),'attrs':{},'children':[{'tag':_0x570aba(0x3c1),'attrs':{'id':_0x570aba(0x361)},'children':[{'tag':'path','attrs':{'fill':_0x570aba(0x38d),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x570aba(0x361)]},$e=M[_0x570aba(0x3d6)](function(_0x67e37f,_0x10fc43){const _0x4a60a1=_0x570aba;return M[_0x4a60a1(0x272)](pe,Object['assign']({},_0x67e37f,{'id':'on-line-single','ref':_0x10fc43,'icon':Nt}));});$e[_0x570aba(0x372)]=_0x570aba(0x409);function Mt(_0xf3b2fb){const _0x557a86=_0x570aba;switch(_0xf3b2fb){case u[_0x557a86(0x39d)][_0x557a86(0x1ca)]:return _0x557a86(0x1c6);case u['CollaborationStatus']['CONFLICT']:return _0x557a86(0x3e8);case u[_0x557a86(0x39d)][_0x557a86(0x1da)]:return _0x557a86(0x1de);case u[_0x557a86(0x39d)][_0x557a86(0x1e8)]:return _0x557a86(0x2ff);case u['CollaborationStatus']['AWAITING']:case u['CollaborationStatus'][_0x557a86(0x377)]:return _0x557a86(0x23e);case u[_0x557a86(0x39d)][_0x557a86(0x1c4)]:case u['CollaborationStatus']['PENDING']:return _0x557a86(0x39f);}}function _0x25b5(){const _0x1208cb=['_getSheetObject','actions','MoveRangeCommandId','with','saveOfflineData','RefRangeService','99HOXpOV','YUUMI_RATE_OVER_LIMIT','has','@univerjs/sheets-ui','DocStateChangeManagerService','INVALID_INVITE_CODE','CollaborationEvent','addObjects','_hovered','handleInsertRow','EffectRefRangId','COMPLETION_FINISHED','UNRECOGNIZED','all','_docTransformIMECacheService','RemoteUniscriptService','APPLY_NON_SEQUENTIAL_REVISION','roomMembers','imageSourceType','url(#$1','_getSaveTimeout','LOCAL_CACHE_INTERVAL','shareReplay','_cachedData','_transformService','collabStatus.syncing','INTERNAL_ERROR','@univerjs/rpc','_collaborationController','rxjs','setAlpha','_hover','setTimeout','hasOwnProperty','forEach','contains','function','path','_collabCursorState$','@univerjs/ui','color','svg','_updateLocalCursor','text','@univerjs/docs','body','_scheduleHeartbeat','_registerDependencies','_saveTaskMap','ranges','CollaborationUIEventId','_send','LICENSE_IMPORT_SIZE_EXCEEDED','takeUntil','distinctUntilChanged','off-line-single','TEXT','add','serializeRangeWithSheet','_messageService','getActiveSheet','_initEvent','onPointerMove$','idSuffix','debounceTime','width','10459630HUwana','useCallback','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_handleEvent','FromArray','getColor','_memberService','column','lineTo','icon','LICENSE_MAX_UNITS_EXCEEDED','createElement','OTHER_CLIENTS_EDITING','Tools','DOC_RANGE_TYPE','unitId','_collabSessionService','Vector2','values','div','_handleJoinEvent','skeleton','_instanceService','_session','CLOSE_ROOM','pluginName','unshift','prototype','Disposable','5171620QEydhD','_cursors','black','14dcvCCm','_collabCursorController','LOGIN_FAILED','redoState','data','delete','string','source','HTTPService','_registerRenderDependencies','deepClone','assignAColorForMemberID','push','concat','@univerjs-pro/collaboration','_cursorInfo$','NodePositionConvertToRectRange','getMergeData','invokeId','getSheetId','SetTextSelectionsOperation','SetSelectionsOperation','CollaborationSessionService','_unitOnClients','_collaborationUIEventService','Module','getRelativeToViewportCoord','_disabled','_selfUnitIDs','SOCKET_FAILED_RETRY','connectInjector','ONLINE','_refRangeService','LICENSE_DISTRO_REJECTED','createInstance','size','transformRemoteChangeset','then','dispose$','resize','transformMutationsWithChangeset','_transformUndoRedoStack','0\x200\x2017\x2016','moveTo','selections','handleInsertRangeMoveDown','getOwnPropertySymbols','_backgroundColor','SessionStatus','subscribeEvent','INVITE_CODE_REQUIRED','884IOdChC','BehaviorSubject','runRefRangeMutations','transformStateCache','getCurrentRevOfUnit','getRenderById','_entities','_handleHover','exhaustSavingTask','extend','JOIN_ROOM_FAILED','toStringTag','setConfig','green.600','UPDATE_CURSOR','transformByState','SUBMIT_CHANGESET_TIMEOUT','_lastPointer','disposeWithMe','Optional','CollaborationUIEventService','urlChange$','_shapes','INVITE_CODE_HAS_BEEN_UES','APPLY_PERMISSION_DENIED','generateRandomId','IImageIoService','red.300','getStateCache','WebSocketService','clearTimeout','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','complete','_imageIoService','_drawAnchor','_drawRectRange','params','_handleLeaveEvent','propertyIsEnumerable','0\x200\x2016\x2016','collaboration.single-unit.warning','getValue','clearInterval','isTransformMutationsWithChangesetSuccess','session.connection-failed','_getScale','searchParams','apply','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','error','M0\x200H16V16H0z','getUnitId','createIdentifier','MOBILE_HAS_BEEN_BOUND','row','isEditing','UniverCollaborationClientUIPlugin','defineProperty','use','href','mergeOverrideWithDependencies','_context','USER_NOT_INVITED_CODE','handleIRemoveRow','rgba(255,\x20255,\x20255,\x200.01)','map','replace','_eventUnsubscribe','_docStateChangeManagerService','collabStatus.notCollab','UniverIcon','DependentOn','_renderManagerService','getCurrentSelections','_urlService','SheetSkeletonManagerService','_roomMembers$','CollaborationDataLoaderController','indexOf','onRendered','onTransformChange$','_updateURLWithCurrentState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getUndoRedoMutationParamsCache','eventID','toRgbString','_colorAssignService','_saveCache','_initEntityListener','send','_getAnchorBounding','getTypeOfUnitAdded$','sessionTicket','IURLService','event$','findNodePositionByCharIndex','sessionStatus$','getParam','getOwnPropertyDescriptor','6lLHbdR','_init','univer-flex\x20univer-mr-2\x20univer-text-xl','from','getViewport','[CollaborationDataLoaderController]','APPLY_DUPLICATED','Unknown\x20user','next','LICENSE_EXPORT_SIZE_EXCEEDED','off-line-single_clip0_910_343','subUnitId','debounce','_docSkeletonManagerService','YUUMI_URL_COL_OUT_OF_RANGE','CHANGESET_REVISION_CONFILICT','getSheetObject','location','defs','[RemoteUniscriptService]:\x20no\x20focused\x20unit','activeSheet$','Tooltip','_assignedColors','random','show','CollaborationSocketService','max','RxDisposable','Failed','subunit','colorChannel1','_removeCollabCursors','ColorKit','Inject','YUUMI_SUBSCRIPTION_NOT_FOUND','_render','ACTIVE_UNIT_EVENT_CHANNEL','evenodd','collab-text-anchor-','Rect','_initResize','disposeUnit','_document','SetWorksheetActivateCommand','_name','includes','trim','WECHAT_HAS_BEEN_BOUND','combineLatest','m1Prime','118568gBaQUN','MUTATION','_status$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','INVALID_ARGUMENT','_initCommandExecutedListener','beginPath','unit','debug','collabCursorState$','replaceState','ISnapshotServerService','YUUMI_AI_RUN_FAILED','PERMISSION_DENIED','_transformHistoryAndStateStack','restore','IRenderManagerService','executeCommand','on-line-single_clip0_910_349','_colorIndex','UNIVER_SHEET','_draw','IRemoteInstanceService','_cursorShapes','_handleHeartbeatEvent','_univerInstanceService','_heartbeatTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','min','height','getSheetBySheetId','Shape','substring','saveImage','Rectangle','displayName','origin','_docClipboardService','_getSessionTicket','addEventListener','AWAITING_WITH_PENDING','CollaborationController','attrs','_refreshCollabCursors','APPLY_REVISION_CONFILICT','currentSkeleton$','_online','_scheduleClearOtherTimer','NOT_FOUND','save','onCommandExecuted','MessageType','RemoveRowCommandId','_onCursorUpdate','type','_scheduleSaving','setItem','currentColor','onMouseMove','ISocketService','Plugin','split','#fff','CONFLICT','getItem','INotificationService','_startDocCollabCursor','CollaborationStatusDisplay','_localCacheService','deserializeRangeWithSheet','RevisionService','getConfig','unitID','get','children','YUUMI_ASYNCIO_CANCELLED','runId','Injector','CollaborationStatus','SetDocZoomRatioOperation','collabStatus.synced','328056VdlLtd','DocCollaborationEntity','TEXT_RANGE_LAYER_INDEX','permission.content','DEFAULT_WS_SESSION_TICKET_URL','asObservable','_ensureSubject','@univerjs/core','hide','IBeforeCloseService','UNDEFINED','bottom','@univerjs/engine-formula','history','_doCreateSocket','fromEventSubject','transformIMECache','ILocalCacheService','BrowserCollaborationSocketService','uni.network.url-service','editingUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','registerRefRange','_entityInit$','USERS_LEAVE','_toggleOnline','rxjs/operators','_anchor','@univerjs/docs-ui','textRanges','LOCAL_CACHE_INTERVAL_KEY','_initStatusListener','setStateCache','clipPath','RichTextEditingMutation','mask','updateOfflineData','toDisposable','pushState','cursorInfo','removeParam','newValue','createSocket','addObject','getCurrent','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/sheets','LocaleService','YUUMI_UNABLE_LOAD_URL','IDocClipboardService','unsubscribe','7608tCiRDr','DeleteRangeMoveLeftCommandId','_getMergeRange','forwardRef','post','INVITE_CODE_ALREADY_BOUND','docStateChange$','SNAPSHOT_INVALID_SNAPSHOT','onPointerEnter$','_beforeCloseService','handleInsertRangeMoveRight','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','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_unitStatus','getAncestorScale','yellow.400','YUUMI_NO_CUBOID_FOR_QUESTION','ICommandService','mapTo','find','_transformPreviousActiveRange','collabStatus.conflict','url(#off-line-single_clip0_910_343)','fillText','session.collaboration-timeout','getActiveRange','parse','currentTheme$','univerjs-icon\x20univerjs-icon-','fillStyle','startsWith','some','_syncEditingCollabCursorService','getColorFromTheme','syncEditingCollabCursor','font','startRow','makeDirty','COLORS','throttleTime','_docTransformSelectionsService','transformSelections','cursorInfo$','_startSheetCollabCursor','getMemberID','className','doc.mutation.rich-text-editing','transformMutation','getCollabCursors$','_clearOtherTimers','IUIPartsService','onPointerLeave$','handleIRemoveCol','getUniverSheetInstance','OnLineSingle','top','fill','MemberService','useDependency','addHandlerCallback','engine','RemoveColCommandId','YUUMI_ALL_TABLES_IS_INVALID','_sheetSkeletonManagerService','code','_scene','ITransformService','registerRenderModule','_removeClearOtherTimer','setParam','_onCursorDelete','getCurrentUnitForType','SheetCollabCursorShape','search','isArray','pipe','InsertRowCommandId','UniverInstanceType','getRangePointData','ALREADY_EXISTS','wsSessionTicketUrl','ILogService','_setupBeforeClosingHandler','_createSocketURL','_dataLoaderService','isTransformMutationFailure','runOnServer','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','_localeService','name','selection','@univerjs/network','roomMembers$','25217313FqYbmp','_anchorDot','_color','set','_hideTimer','...','IUniverInstanceService','_cursor','merge','triggerDblclick','filter','APPLY_REJECT','_id','toString','arc','permission.title','result','popstate','UnitStatus','DocSelectionManagerService','requireSession','url(#on-line-single_clip0_910_349)','_themeService','_notificationService','saveTaskMap','executionId','ENSURE_SNAPSHOT_EXECUTION','_initDependencies','getOffsetConfig','getMember','override','defIds','hovered','loadOfflineData','_range','switchMap','getCoordByCell','SYNCED','range','collabStatus.offline','InsertColCommandId','_setupSubUnitSync','InsertRangeMoveRightCommandId','OFFLINE','_textBubble','OffLineSingle','EMAIL_HAS_BEEN_BOUND','Error','_labelPosition','_drawTextRange','_httpService','NodePositionConvertToCursor','DataLoaderService','dispose','collaboration.closeRoom','drawWith','CONNECTOR_DATA_TOO_LARGE','_revisionService','subscribe','FETCH_MISS','useRef','DocSkeletonManagerService','mutations','collabStatus.fetchMiss','flatMap','_initStatusComponent','registerDependencies','handleInsertCol','_updateSubUnitFromURLParams','_logService','UNAUTHENTICATED','DesktopCollaborationStatusDisplayController','_docSyncEditingCollabCursorService','NOT_COLLAB','collab-client.tooltip.reconnect','react','1em','_onRefRangeChange','getCollabEntity$','IMessageService','blue.400','_toggleOffline','getLocalCacheKey','jsx','RECT','setInterval','NO_OTHER_CLIENTS_EDITING','_config','_injector','getSkeleton','setShapeProps','entityInit$','SheetsSelectionsService','ThemeService','_configService','DocIMEInputManagerService','7101430JxmXXO','getDocRanges','measureText','_localStorageService','Subject','_commandService','IConfigService','isActive','_docTransformStateCacheService','entries','m2Prime','_updateCollabCursors','TOO_MANY_REQUESTS','key','PY_RUNTIME_SCRIPT_ERROR','stringify','init','call','Warning','UNIVER_DOC','SOCKET_FAILED','length','round','none','@univerjs-pro/collaboration-client','tag','assign','undoState','_uiPartsService','InsertRangeMoveDownCommandId','getFocusedUnit','handleDeleteRangeMoveUp'];_0x25b5=function(){return _0x1208cb;};return _0x25b5();}function xe(_0x54968b){const _0x3f9733=_0x570aba,{status$:_0x5ec8ef}=_0x54968b,_0x44273e=T['useObservable'](_0x5ec8ef,u[_0x3f9733(0x39d)][_0x3f9733(0x1e8)]),_0x4cb653=T[_0x3f9733(0x17c)](a['LocaleService']),_0x3f6916=T[_0x3f9733(0x17c)](u[_0x3f9733(0x29d)]),_0x4ba233=_0x44273e!==u[_0x3f9733(0x39d)][_0x3f9733(0x1ca)],_0xb21115=_0x4cb653['t'](Mt(_0x44273e)),_0xa55363=_0x4ba233?P[_0x3f9733(0x1f2)]($e,{}):P[_0x3f9733(0x1f2)](ye,{}),_0x14e954=M[_0x3f9733(0x268)](()=>{_0x4ba233||_0x3f6916['reconnect']();},[_0x4ba233,_0x3f6916]);function _0xf72760(){const _0x4011e9=_0x3f9733;return P['jsxs'](_0x4011e9(0x27a),{'className':'univer-flex\x20univer-items-center','onClick':_0x14e954,'children':[P[_0x4011e9(0x1f2)]('div',{'className':D['clsx'](_0x4011e9(0x31f),{'univer-text-green-500':_0x4ba233,'univer-text-red-500':!_0x4ba233}),'children':_0xa55363}),P['jsx']('div',{'className':_0x4011e9(0x352),'children':_0xb21115})]});}return _0x4ba233?_0xf72760():P[_0x3f9733(0x1f2)](D[_0x3f9733(0x332)],{'title':_0x4cb653['t'](_0x3f9733(0x1e9)),'children':_0xf72760()});}var Lt=Object[_0x570aba(0x31c)],Pt=(_0x3a5143,_0x4f52b5,_0x3725ae,_0x2debc9)=>{const _0x46e06c=_0x570aba;for(var _0xdb71d6=_0x2debc9>0x1?void 0x0:_0x2debc9?Lt(_0x4f52b5,_0x3725ae):_0x4f52b5,_0x5a123d=_0x3a5143[_0x46e06c(0x214)]-0x1,_0x3803c8;_0x5a123d>=0x0;_0x5a123d--)(_0x3803c8=_0x3a5143[_0x5a123d])&&(_0xdb71d6=_0x3803c8(_0xdb71d6)||_0xdb71d6);return _0xdb71d6;},V=(_0x4d35d8,_0x515dd5)=>(_0x5f114f,_0x3627d9)=>_0x515dd5(_0x5f114f,_0x3627d9,_0x4d35d8);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0xebe146,_0x44cdbf,_0x27e9cb,_0x12117b){const _0x23dc59=_0x570aba;super(),h(this,_0x23dc59(0x351),new d[(_0x23dc59(0x2bb))](u['CollaborationStatus'][_0x23dc59(0x1e8)])),(this[_0x23dc59(0x368)]=_0xebe146,this[_0x23dc59(0x1f7)]=_0x44cdbf,this[_0x23dc59(0x241)]=_0x27e9cb,this['_uiPartsService']=_0x12117b,this['_initStatusComponent'](),this[_0x23dc59(0x3bf)]());}[_0x570aba(0x3bf)](){const _0x2dff4b=_0x570aba;this[_0x2dff4b(0x2cc)](this[_0x2dff4b(0x368)]['focused$'][_0x2dff4b(0x18d)](d[_0x2dff4b(0x1c2)](()=>{const _0x2d84dc=_0x2dff4b,_0x1c78bc=this[_0x2d84dc(0x368)]['getFocusedUnit']();return _0x1c78bc?this['_collaborationController'][_0x2d84dc(0x1ed)](_0x1c78bc[_0x2d84dc(0x2ed)]()):d['of'](null);}),d[_0x2dff4b(0x1c2)](_0x15737e=>_0x15737e?_0x15737e['status$']:d['of'](u[_0x2dff4b(0x39d)]['NOT_COLLAB'])))[_0x2dff4b(0x1d9)](_0x5d11bd=>{this['_status$']['next'](_0x5d11bd);}));}[_0x570aba(0x1e0)](){const _0x156ef8=_0x570aba;this[_0x156ef8(0x2cc)](this[_0x156ef8(0x21b)]['registerComponent'](T['BuiltInUIPart']['HEADER_MENU'],()=>T[_0x156ef8(0x2a5)](At({'status$':this[_0x156ef8(0x351)][_0x156ef8(0x3a5)]()}),this[_0x156ef8(0x1f7)])));}},exports['DesktopCollaborationStatusDisplayController']=Pt([V(0x0,a[_0x570aba(0x1a5)]),V(0x1,a['Inject'](a[_0x570aba(0x39c)])),V(0x2,a[_0x570aba(0x33e)](u[_0x570aba(0x378)])),V(0x3,T[_0x570aba(0x405)])],exports['DesktopCollaborationStatusDisplayController']);function At(_0x3cd8b7){const {status$:_0x4e7b46}=_0x3cd8b7;return function(){return P['jsx'](xe,{'status$':_0x4e7b46});};}var wt=Object[_0x570aba(0x31c)],yt=(_0x4b4fc3,_0xb83c78,_0x4f847b,_0x2da540)=>{for(var _0x149d06=_0x2da540>0x1?void 0x0:_0x2da540?wt(_0xb83c78,_0x4f847b):_0xb83c78,_0x2e3ecd=_0x4b4fc3['length']-0x1,_0x31d074;_0x2e3ecd>=0x0;_0x2e3ecd--)(_0x31d074=_0x4b4fc3[_0x2e3ecd])&&(_0x149d06=_0x31d074(_0x149d06)||_0x149d06);return _0x149d06;},y=(_0x204519,_0xf234a2)=>(_0x10dfab,_0x1b3c16)=>_0xf234a2(_0x10dfab,_0x1b3c16,_0x204519);let q=class extends a[_0x570aba(0x283)]{constructor(_0x111159,_0x1c3181,_0xf6aea3,_0x266b5e,_0x2395a3,_0x758503){const _0x3c1ac3=_0x570aba;super(),this['_beforeCloseService']=_0x111159,this[_0x3c1ac3(0x393)]=_0x1c3181,this[_0x3c1ac3(0x29f)]=_0xf6aea3,this[_0x3c1ac3(0x260)]=_0x266b5e,this[_0x3c1ac3(0x1b6)]=_0x2395a3,this[_0x3c1ac3(0x19a)]=_0x758503,this[_0x3c1ac3(0x194)](),this[_0x3c1ac3(0x262)]();}[_0x570aba(0x194)](){const _0x507811=_0x570aba;this[_0x507811(0x2cc)](this[_0x507811(0x3dc)]['registerBeforeClose'](()=>{const _0x4aab06=_0x507811;if(this[_0x4aab06(0x393)]['saveTaskMap']['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x570aba(0x262)](){const _0x21a9a4=_0x570aba;this[_0x21a9a4(0x2cc)](this[_0x21a9a4(0x29f)][_0x21a9a4(0x318)][_0x21a9a4(0x1d9)](_0x105175=>{const _0x2e26f9=_0x21a9a4;_0x105175['id']===u[_0x2e26f9(0x257)]['OTHER_CLIENT_EDITING']&&this[_0x2e26f9(0x260)][_0x2e26f9(0x335)]({'type':D[_0x2e26f9(0x382)]['Warning'],'content':this[_0x2e26f9(0x19a)]['t'](_0x2e26f9(0x2e2))}),_0x105175['id']===u[_0x2e26f9(0x257)][_0x2e26f9(0x27f)]&&this[_0x2e26f9(0x260)][_0x2e26f9(0x335)]({'type':D[_0x2e26f9(0x382)][_0x2e26f9(0x211)],'content':this[_0x2e26f9(0x19a)]['t'](_0x2e26f9(0x1d5))}),_0x105175['id']===u[_0x2e26f9(0x257)][_0x2e26f9(0x35c)]&&this[_0x2e26f9(0x1b6)][_0x2e26f9(0x335)]({'title':this['_localeService']['t'](_0x2e26f9(0x1ae)),'content':this[_0x2e26f9(0x19a)]['t'](_0x2e26f9(0x3a3)),'type':_0x2e26f9(0x2eb),'duration':0x0}),_0x105175['id']===u[_0x2e26f9(0x257)][_0x2e26f9(0x38e)]&&this[_0x2e26f9(0x260)][_0x2e26f9(0x335)]({'type':D['MessageType'][_0x2e26f9(0x1ce)],'content':this[_0x2e26f9(0x19a)]['t'](_0x2e26f9(0x1d5))+'('+_0x105175[_0x2e26f9(0x28b)]+')'}),_0x105175['id']===u['CollaborationUIEventId'][_0x2e26f9(0x2c4)]&&this[_0x2e26f9(0x260)][_0x2e26f9(0x335)]({'type':D[_0x2e26f9(0x382)][_0x2e26f9(0x211)],'content':this[_0x2e26f9(0x19a)]['t'](_0x105175[_0x2e26f9(0x28b)]||'')}),_0x105175['id']===u[_0x2e26f9(0x257)][_0x2e26f9(0x2a4)]&&this['_messageService']['show']({'type':D[_0x2e26f9(0x382)]['Warning'],'content':this[_0x2e26f9(0x19a)]['t']('session.will-retry')}),_0x105175['id']===u[_0x2e26f9(0x257)][_0x2e26f9(0x213)]&&this['_messageService'][_0x2e26f9(0x335)]({'type':D[_0x2e26f9(0x382)][_0x2e26f9(0x1ce)],'content':this[_0x2e26f9(0x19a)]['t'](_0x2e26f9(0x2e6))}),_0x105175['id']===u[_0x2e26f9(0x257)][_0x2e26f9(0x2ca)]&&this[_0x2e26f9(0x260)][_0x2e26f9(0x335)]({'type':D[_0x2e26f9(0x382)][_0x2e26f9(0x1ce)],'content':this[_0x2e26f9(0x19a)]['t'](_0x2e26f9(0x3eb))});}));}};q=yt([y(0x0,T[_0x570aba(0x3a9)]),y(0x1,u[_0x570aba(0x3b1)]),y(0x2,a['Inject'](u[_0x570aba(0x2ce)])),y(0x3,T[_0x570aba(0x1ee)]),y(0x4,T[_0x570aba(0x390)]),y(0x5,a[_0x570aba(0x33e)](a[_0x570aba(0x3cf)]))],q);const $t='collaboration-client-ui.config',Ue={},be=a[_0x570aba(0x2ee)](_0x570aba(0x3b3));var xt=Object[_0x570aba(0x31c)],jt=(_0x17dac4,_0x13cea0,_0x419c02,_0x3daa5b)=>{const _0x252a9a=_0x570aba;for(var _0x5bdb75=_0x3daa5b>0x1?void 0x0:_0x3daa5b?xt(_0x13cea0,_0x419c02):_0x13cea0,_0x446209=_0x17dac4[_0x252a9a(0x214)]-0x1,_0x523196;_0x446209>=0x0;_0x446209--)(_0x523196=_0x17dac4[_0x446209])&&(_0x5bdb75=_0x523196(_0x5bdb75)||_0x5bdb75);return _0x5bdb75;},H=(_0x1c68ba,_0x284dae)=>(_0x26316a,_0x1f780d)=>_0x284dae(_0x26316a,_0x1f780d,_0x1c68ba);exports['CollaborationDataLoaderController']=class extends a[_0x570aba(0x338)]{constructor(_0x467282,_0x2828b5,_0x2d63ff,_0x5941a9,_0x48790a){const _0xb85e6d=_0x570aba;super(),this['_urlService']=_0x467282,this['_logService']=_0x2828b5,this['_commandService']=_0x2d63ff,this[_0xb85e6d(0x196)]=_0x5941a9,_0x48790a?_0x48790a==null||_0x48790a['whenReady']()['then'](()=>this[_0xb85e6d(0x31e)]()):(this[_0xb85e6d(0x1e4)][_0xb85e6d(0x357)](_0xb85e6d(0x322),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xb85e6d(0x31e)]());}async[_0x570aba(0x31e)](){const _0x417c13=_0x570aba,_0x51101a=this[_0x417c13(0x304)][_0x417c13(0x31b)](_0x417c13(0x356)),_0x1455d6=this[_0x417c13(0x304)][_0x417c13(0x31b)](_0x417c13(0x385)),_0x4bd4fd=this[_0x417c13(0x304)]['getParam'](_0x417c13(0x33a));if(!_0x51101a||!_0x1455d6){this[_0x417c13(0x1e4)][_0x417c13(0x357)](_0x417c13(0x322),_0x417c13(0x36a));return;}const _0x8b2bfb=await this['_dataLoaderService']['loadUnit'](_0x51101a,Number(_0x1455d6),_0x4bd4fd);_0x8b2bfb&&_0x8b2bfb instanceof a['Workbook']&&this[_0x417c13(0x1c8)](_0x8b2bfb);}async['_setupSubUnitSync'](_0x2b44c9){const _0xb58471=_0x570aba;await this['_updateSubUnitFromURLParams'](_0x2b44c9),_0x2b44c9[_0xb58471(0x331)]['pipe'](d[_0xb58471(0x25a)](this[_0xb58471(0x2ad)]))['subscribe'](_0x59f804=>{const _0x4989c7=_0xb58471;_0x59f804&&this[_0x4989c7(0x30b)](_0x59f804);}),this[_0xb58471(0x304)][_0xb58471(0x2cf)][_0xb58471(0x18d)](d['takeUntil'](this[_0xb58471(0x2ad)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x2b44c9));}[_0x570aba(0x30b)](_0x52271a,_0x26a9da=!0x1){const _0x16ea76=_0x570aba,_0x287970=this[_0x16ea76(0x304)][_0x16ea76(0x31b)](_0x16ea76(0x33a));_0x52271a['getSheetId']()!==_0x287970&&this['_urlService']['setParam'](_0x16ea76(0x33a),_0x52271a[_0x16ea76(0x29a)](),_0x26a9da);}async[_0x570aba(0x1e3)](_0x504ec8){const _0x9684a4=_0x570aba;var _0x2509db;const _0x3994c7=this[_0x9684a4(0x304)][_0x9684a4(0x31b)](_0x9684a4(0x33a));if(!_0x3994c7||!_0x504ec8[_0x9684a4(0x36d)](_0x3994c7)){const _0x441983=_0x504ec8['getUnhiddenWorksheets']()[0x0],_0x5b9df9=_0x504ec8[_0x9684a4(0x36d)](_0x441983);if(!_0x5b9df9)return;this[_0x9684a4(0x30b)](_0x5b9df9,!0x0),await this[_0x9684a4(0x204)][_0x9684a4(0x360)](g[_0x9684a4(0x348)]['id'],{'unitId':_0x504ec8[_0x9684a4(0x2ed)](),'subUnitId':_0x441983});return;}((_0x2509db=_0x504ec8[_0x9684a4(0x261)]())==null?void 0x0:_0x2509db[_0x9684a4(0x29a)]())!==_0x3994c7&&await this[_0x9684a4(0x204)][_0x9684a4(0x360)](g[_0x9684a4(0x348)]['id'],{'unitId':_0x504ec8['getUnitId'](),'subUnitId':_0x3994c7});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x570aba(0x193)]),H(0x2,a[_0x570aba(0x3e4)]),H(0x3,a[_0x570aba(0x33e)](u[_0x570aba(0x1d3)])),H(0x4,a[_0x570aba(0x2cd)](Ke[_0x570aba(0x365)]))],exports[_0x570aba(0x307)]);var Bt=Object[_0x570aba(0x31c)],kt=(_0x4d3c03,_0xe0de56,_0x29caa6,_0x45f838)=>{const _0x414877=_0x570aba;for(var _0x1584b9=_0x45f838>0x1?void 0x0:_0x45f838?Bt(_0xe0de56,_0x29caa6):_0xe0de56,_0x39de79=_0x4d3c03[_0x414877(0x214)]-0x1,_0x4d4773;_0x39de79>=0x0;_0x39de79--)(_0x4d4773=_0x4d3c03[_0x39de79])&&(_0x1584b9=_0x4d4773(_0x1584b9)||_0x1584b9);return _0x1584b9;},ce=(_0x18c8d8,_0x157894)=>(_0x298a87,_0x6d0812)=>_0x157894(_0x298a87,_0x6d0812,_0x18c8d8);let z=class{constructor(_0x20cf7b,_0x4f9142,_0x13bd23){const _0x3bb3af=_0x570aba;this[_0x3bb3af(0x1f7)]=_0x20cf7b,this['_transformService']=_0x4f9142,this[_0x3bb3af(0x302)]=_0x13bd23;}[_0x570aba(0x3b0)](_0x1e7013){const _0x942445=_0x570aba;this[_0x942445(0x2b0)](_0x1e7013),this[_0x942445(0x3e7)](_0x1e7013);}[_0x570aba(0x2ab)](_0x406e7b){const _0x4276a3=_0x570aba,{unitID:_0x513037}=_0x406e7b,_0x952d8=this[_0x4276a3(0x302)]['getRenderById'](_0x513037)['with'](b[_0x4276a3(0x1fe)]),{redoCache:_0x4845e8}=_0x952d8[_0x4276a3(0x30d)]();if(_0x4845e8[_0x4276a3(0x214)]===0x0)return _0x406e7b;let _0xe8fe60=a[_0x4276a3(0x274)][_0x4276a3(0x291)](_0x406e7b[_0x4276a3(0x1dd)][0x0]);for(let _0x56be25=0x0;_0x56be25<_0x4845e8[_0x4276a3(0x214)];_0x56be25++){const _0x583ab0={'id':'doc.mutation.rich-text-editing','params':{..._0x4845e8[_0x56be25]}},_0x4e6b94=this['_transformService']['transformMutation'](_0xe8fe60,_0x583ab0,!0x1);if(m[_0x4276a3(0x197)](_0x4e6b94))throw _0x4e6b94['error'];_0xe8fe60=_0x4e6b94[_0x4276a3(0x34e)];}return{...a[_0x4276a3(0x274)][_0x4276a3(0x291)](_0x406e7b),'mutations':[_0xe8fe60]};}[_0x570aba(0x2b0)](_0x3ae709){const _0x1a9da6=_0x570aba,{unitID:_0x3a3091}=_0x3ae709,_0x3611c4=this[_0x1a9da6(0x302)]['getRenderById'](_0x3a3091)[_0x1a9da6(0x222)](b[_0x1a9da6(0x1fe)]),{undoCache:_0x377e84,redoCache:_0x4ab5b0}=_0x3611c4[_0x1a9da6(0x30d)]();if(_0x377e84[_0x1a9da6(0x214)]===0x0||_0x4ab5b0[_0x1a9da6(0x214)]===0x0)return;const _0x5ea2f0=[],_0x285a3b=[];let _0x13bedc=a[_0x1a9da6(0x274)][_0x1a9da6(0x291)](_0x3ae709['mutations'][0x0]),_0x138edb=a[_0x1a9da6(0x274)]['deepClone'](_0x3ae709[_0x1a9da6(0x1dd)][0x0]);for(let _0x422e49=_0x377e84[_0x1a9da6(0x214)]-0x1;_0x422e49>=0x0;_0x422e49--){const _0x5a8047={'id':'doc.mutation.rich-text-editing','params':{..._0x377e84[_0x422e49]}},_0x3ca4c9={'id':'doc.mutation.rich-text-editing','params':{..._0x4ab5b0[_0x422e49]}},_0x2d2a78=this[_0x1a9da6(0x23d)][_0x1a9da6(0x402)](_0x13bedc,_0x5a8047,!0x1),_0x545146=this['_transformService'][_0x1a9da6(0x402)](_0x138edb,_0x3ca4c9,!0x1);if(m[_0x1a9da6(0x197)](_0x2d2a78))throw _0x2d2a78[_0x1a9da6(0x2eb)];if(m[_0x1a9da6(0x197)](_0x545146))throw _0x545146[_0x1a9da6(0x2eb)];_0x5ea2f0['unshift'](_0x2d2a78[_0x1a9da6(0x209)]['params']),_0x285a3b['unshift'](_0x545146[_0x1a9da6(0x209)][_0x1a9da6(0x2de)]),_0x13bedc=_0x2d2a78[_0x1a9da6(0x34e)],_0x138edb=_0x545146[_0x1a9da6(0x34e)];}_0x3611c4['setUndoRedoMutationParamsCache']({'undoCache':_0x5ea2f0,'redoCache':_0x285a3b});}[_0x570aba(0x3e7)](_0x5acaab){const _0x1ee8cc=_0x570aba,{unitID:_0x28339e}=_0x5acaab,_0x4d0ee7=this[_0x1ee8cc(0x302)][_0x1ee8cc(0x2bf)](_0x28339e)[_0x1ee8cc(0x222)](b['DocIMEInputManagerService']),_0x2bf9b3=_0x4d0ee7[_0x1ee8cc(0x3ec)]();if(_0x2bf9b3==null)return;const _0x504e17=[{'id':_0x1ee8cc(0x401),'params':{'unitId':_0x5acaab[_0x1ee8cc(0x397)],'actions':null,'textRanges':[_0x2bf9b3]}}],_0x3c73c7=this['_transformService'][_0x1ee8cc(0x2af)](_0x5acaab,_0x504e17);if(!m[_0x1ee8cc(0x2e5)](_0x3c73c7))throw _0x3c73c7[_0x1ee8cc(0x2eb)];const _0x32cdd6=_0x3c73c7[_0x1ee8cc(0x209)][0x0][_0x1ee8cc(0x2de)][_0x1ee8cc(0x3bd)];Array['isArray'](_0x32cdd6)&&_0x32cdd6[_0x1ee8cc(0x214)]&&_0x4d0ee7['setActiveRange'](_0x32cdd6[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x570aba(0x39c)])),ce(0x1,m[_0x570aba(0x184)]),ce(0x2,p[_0x570aba(0x35f)])],z);var Ht=Object[_0x570aba(0x31c)],Ft=(_0x34fbdf,_0x26fa48,_0x358c8e,_0x4732f7)=>{for(var _0x17a7fd=_0x4732f7>0x1?void 0x0:_0x4732f7?Ht(_0x26fa48,_0x358c8e):_0x26fa48,_0x1a1075=_0x34fbdf['length']-0x1,_0x3ec8f5;_0x1a1075>=0x0;_0x1a1075--)(_0x3ec8f5=_0x34fbdf[_0x1a1075])&&(_0x17a7fd=_0x3ec8f5(_0x17a7fd)||_0x17a7fd);return _0x17a7fd;},le=(_0x577716,_0xe6cd6e)=>(_0x3463bd,_0x501913)=>_0xe6cd6e(_0x3463bd,_0x501913,_0x577716);let J=class{constructor(_0x18d6aa,_0x46391f,_0x43fc7b){const _0x4e1f40=_0x570aba;this[_0x4e1f40(0x1f7)]=_0x18d6aa,this[_0x4e1f40(0x23d)]=_0x46391f,this[_0x4e1f40(0x2fe)]=_0x43fc7b;}[_0x570aba(0x2bd)](_0x324ff4){this['_transformHistoryAndStateStack'](_0x324ff4);}[_0x570aba(0x2ab)](_0x2288bb){const _0x5aedfc=_0x570aba,{unitID:_0x1fb171}=_0x2288bb,{collaboration:_0x1e7767}=this[_0x5aedfc(0x2fe)][_0x5aedfc(0x2d6)](_0x1fb171);if(_0x1e7767['length']===0x0)return _0x2288bb;let _0xf75d2a=a[_0x5aedfc(0x274)][_0x5aedfc(0x291)](_0x2288bb[_0x5aedfc(0x1dd)][0x0]);for(let _0xa072e6=0x0;_0xa072e6<_0x1e7767['length'];_0xa072e6++){const _0x483927={'id':_0x5aedfc(0x401),'params':{'unitId':_0x1e7767[_0xa072e6][_0x5aedfc(0x276)],..._0x1e7767[_0xa072e6]['redoState']}},_0x267b33=this[_0x5aedfc(0x23d)][_0x5aedfc(0x402)](_0xf75d2a,_0x483927,!0x1);if(m[_0x5aedfc(0x197)](_0x267b33))throw _0x267b33[_0x5aedfc(0x2eb)];_0xf75d2a=_0x267b33[_0x5aedfc(0x34e)];}return{...a[_0x5aedfc(0x274)]['deepClone'](_0x2288bb),'mutations':[_0xf75d2a]};}[_0x570aba(0x35d)](_0x314b6a){const _0x365d02=_0x570aba,{unitID:_0x2051b3}=_0x314b6a,{history:_0x2e2751,collaboration:_0x48619c}=this[_0x365d02(0x2fe)]['getStateCache'](_0x2051b3);if(_0x2e2751[_0x365d02(0x214)]===0x0&&_0x48619c[_0x365d02(0x214)]===0x0)return;const _0x3f8685=[],_0x54a65a=[];let _0x530a01=a[_0x365d02(0x274)]['deepClone'](_0x314b6a[_0x365d02(0x1dd)][0x0]),_0x97c988=a[_0x365d02(0x274)]['deepClone'](_0x314b6a[_0x365d02(0x1dd)][0x0]);for(let _0x38d995=_0x2e2751[_0x365d02(0x214)]-0x1;_0x38d995>=0x0;_0x38d995--){const _0x3add2b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e2751[_0x38d995][_0x365d02(0x276)],..._0x2e2751[_0x38d995][_0x365d02(0x21a)]}},_0x32c100={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e2751[_0x38d995][_0x365d02(0x276)],..._0x2e2751[_0x38d995][_0x365d02(0x28a)]}},_0x5ee2eb=this['_transformService'][_0x365d02(0x402)](_0x530a01,_0x3add2b,!0x1),_0x2fedba=this[_0x365d02(0x23d)][_0x365d02(0x402)](_0x97c988,_0x32c100,!0x1);if(m[_0x365d02(0x197)](_0x5ee2eb))throw _0x5ee2eb[_0x365d02(0x2eb)];if(m[_0x365d02(0x197)](_0x2fedba))throw _0x2fedba[_0x365d02(0x2eb)];_0x3f8685[_0x365d02(0x281)]({..._0x2e2751[_0x38d995],'undoState':_0x5ee2eb[_0x365d02(0x209)][_0x365d02(0x2de)],'redoState':_0x2fedba[_0x365d02(0x209)]['params']}),_0x530a01=_0x5ee2eb[_0x365d02(0x34e)],_0x97c988=_0x2fedba[_0x365d02(0x34e)];}_0x530a01=a[_0x365d02(0x274)][_0x365d02(0x291)](_0x314b6a[_0x365d02(0x1dd)][0x0]),_0x97c988=a[_0x365d02(0x274)][_0x365d02(0x291)](_0x314b6a['mutations'][0x0]);for(let _0x277db9=_0x48619c[_0x365d02(0x214)]-0x1;_0x277db9>=0x0;_0x277db9--){const _0x1d3b3f={'id':_0x365d02(0x401),'params':{'unitId':_0x48619c[_0x277db9][_0x365d02(0x276)],..._0x48619c[_0x277db9][_0x365d02(0x21a)]}},_0x53b8b1={'id':_0x365d02(0x401),'params':{'unitId':_0x48619c[_0x277db9][_0x365d02(0x276)],..._0x48619c[_0x277db9][_0x365d02(0x28a)]}},_0x485eb0=this['_transformService']['transformMutation'](_0x530a01,_0x1d3b3f,!0x1),_0x3fce7e=this['_transformService'][_0x365d02(0x402)](_0x97c988,_0x53b8b1,!0x1);if(m[_0x365d02(0x197)](_0x485eb0))throw _0x485eb0[_0x365d02(0x2eb)];if(m[_0x365d02(0x197)](_0x3fce7e))throw _0x3fce7e[_0x365d02(0x2eb)];_0x54a65a['unshift']({..._0x48619c[_0x277db9],'undoState':_0x485eb0[_0x365d02(0x209)][_0x365d02(0x2de)],'redoState':_0x3fce7e['m2Prime'][_0x365d02(0x2de)]}),_0x530a01=_0x485eb0[_0x365d02(0x34e)],_0x97c988=_0x3fce7e[_0x365d02(0x34e)];}this[_0x365d02(0x2fe)][_0x365d02(0x3c0)](_0x2051b3,{'history':_0x3f8685,'collaboration':_0x54a65a});}};J=Ft([le(0x0,a[_0x570aba(0x33e)](a[_0x570aba(0x39c)])),le(0x1,m['ITransformService']),le(0x2,a[_0x570aba(0x33e)](b[_0x570aba(0x229)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0xebb006,_0xc65f45,_0x5489ae,_0x24c2ad)=>{const _0x3d4b80=_0x570aba;for(var _0xeebe2e=_0x24c2ad>0x1?void 0x0:_0x24c2ad?Yt(_0xc65f45,_0x5489ae):_0xc65f45,_0x422135=_0xebb006[_0x3d4b80(0x214)]-0x1,_0x13c4b4;_0x422135>=0x0;_0x422135--)(_0x13c4b4=_0xebb006[_0x422135])&&(_0xeebe2e=_0x13c4b4(_0xeebe2e)||_0xeebe2e);return _0xeebe2e;},Ne=(_0x1ba80f,_0x57da6a)=>(_0x5920f9,_0x1c7c0a)=>_0x57da6a(_0x5920f9,_0x1c7c0a,_0x1ba80f);let Z=class{constructor(_0x2f2fed,_0x26910d){const _0x162b03=_0x570aba;this[_0x162b03(0x1f7)]=_0x2f2fed,this[_0x162b03(0x23d)]=_0x26910d;}[_0x570aba(0x3fc)](_0x4d4841){const _0x1bb88a=_0x570aba;var _0x4ba4fc;const _0x5293ca=this['_injector'][_0x1bb88a(0x398)](Y[_0x1bb88a(0x1b2)]),_0x308972=(_0x4ba4fc=_0x5293ca[_0x1bb88a(0x200)]())!=null?_0x4ba4fc:[];if(_0x308972[_0x1bb88a(0x214)]===0x0)return;const _0x106d3f=_0x4d4841['unitID'],_0x340b3a=[{'id':_0x1bb88a(0x401),'params':{'unitId':_0x106d3f,'actions':null,'textRanges':_0x308972}}],_0x2ec4ba=this[_0x1bb88a(0x23d)][_0x1bb88a(0x2af)](_0x4d4841,_0x340b3a);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2ec4ba))throw _0x2ec4ba[_0x1bb88a(0x2eb)];const _0x3f0d06=_0x2ec4ba[_0x1bb88a(0x209)][0x0][_0x1bb88a(0x2de)]['textRanges'];Array[_0x1bb88a(0x18c)](_0x3f0d06)&&_0x3f0d06[_0x1bb88a(0x214)]&&_0x5293ca['replaceDocRanges'](_0x3f0d06,{'unitId':_0x106d3f,'subUnitId':_0x106d3f},!0x1);}};Z=Wt([Ne(0x0,a[_0x570aba(0x33e)](a[_0x570aba(0x39c)])),Ne(0x1,m[_0x570aba(0x184)])],Z);var Vt=Object[_0x570aba(0x31c)],Xt=(_0x54b3b0,_0x2b613f,_0x51813a,_0x33d81d)=>{const _0x1c46f8=_0x570aba;for(var _0x200e92=_0x33d81d>0x1?void 0x0:_0x33d81d?Vt(_0x2b613f,_0x51813a):_0x2b613f,_0x197101=_0x54b3b0[_0x1c46f8(0x214)]-0x1,_0x831d59;_0x197101>=0x0;_0x197101--)(_0x831d59=_0x54b3b0[_0x197101])&&(_0x200e92=_0x831d59(_0x200e92)||_0x200e92);return _0x200e92;},N=(_0x1caf3d,_0x2289c8)=>(_0xffca16,_0x5e059e)=>_0x2289c8(_0xffca16,_0x5e059e,_0x1caf3d);let Q=class extends a[_0x570aba(0x283)]{constructor(_0x3ded34,_0x17c2d3,_0x4fc684,_0x2f6587,_0x278b7d,_0x248f02,_0x407205,_0x72fb8a){const _0x4280f4=_0x570aba;super(),h(this,_0x4280f4(0x351),new d['BehaviorSubject'](u[_0x4280f4(0x39d)]['NOT_COLLAB'])),(this[_0x4280f4(0x2fe)]=_0x3ded34,this['_collaborationController']=_0x17c2d3,this[_0x4280f4(0x233)]=_0x4fc684,this[_0x4280f4(0x207)]=_0x2f6587,this[_0x4280f4(0x3fb)]=_0x278b7d,this['_docSyncEditingCollabCursorService']=_0x248f02,this[_0x4280f4(0x260)]=_0x407205,this['_localeService']=_0x72fb8a,this[_0x4280f4(0x312)]());}[_0x570aba(0x312)](){const _0x46ec03=_0x570aba;this[_0x46ec03(0x2cc)](this['_collaborationController'][_0x46ec03(0x1fa)][_0x46ec03(0x1d9)](_0x56985e=>{const _0x39db6c=_0x46ec03,_0x250a26=this[_0x39db6c(0x2fe)][_0x39db6c(0x3d9)]['subscribe'](_0x51935d=>{const _0x178d4e=_0x39db6c;if(_0x51935d==null)return;const {unitId:_0x1e4b99,redoState:_0x1dd58e,commandId:_0x24aa23}=_0x51935d;if(_0x1e4b99!==_0x56985e[_0x178d4e(0x397)])return;const _0x41597c={'id':_0x24aa23,'type':a['CommandType'][_0x178d4e(0x350)],'params':{'unitId':_0x1e4b99,'actions':_0x1dd58e[_0x178d4e(0x220)],'textRanges':null}};_0x56985e['onLocalMutation'](_0x41597c);});if(_0x56985e[_0x39db6c(0x2cc)](_0x250a26),_0x56985e instanceof u[_0x39db6c(0x3a1)]){const _0x2ac7b8={'onTransformIME':_0x3df6cf=>this[_0x39db6c(0x233)]['transformIMECache'](_0x3df6cf),'onTransformState':_0x5bdde6=>this['_docTransformStateCacheService']['transformStateCache'](_0x5bdde6),'onTransformSelections':_0x5eccef=>this['_docTransformSelectionsService'][_0x39db6c(0x3fc)](_0x5eccef),'onSyncEditingCollabCursor':_0x4383e7=>this[_0x39db6c(0x1e7)][_0x39db6c(0x3f5)](_0x4383e7),'onTransformRemoteChangesetByIMECache':_0x2f0cc3=>this[_0x39db6c(0x233)][_0x39db6c(0x2ab)](_0x2f0cc3),'onTransformRemoteChangesetByStateCache':_0x2bea2c=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2bea2c)};_0x56985e[_0x39db6c(0x17d)](_0x2ac7b8);}}));}};Q=Xt([N(0x0,a[_0x570aba(0x33e)](b['DocStateChangeManagerService'])),N(0x1,a[_0x570aba(0x33e)](u[_0x570aba(0x378)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x570aba(0x33e)](J)),N(0x4,a[_0x570aba(0x33e)](Z)),N(0x5,a[_0x570aba(0x33e)](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x570aba(0x33e)](a[_0x570aba(0x3cf)]))],Q);function _0x1acb(_0x3cc1c8,_0x2a256d){const _0x25b5b7=_0x25b5();return _0x1acb=function(_0x1acb19,_0x1a6972){_0x1acb19=_0x1acb19-0x17b;let _0xabcb2c=_0x25b5b7[_0x1acb19];return _0xabcb2c;},_0x1acb(_0x3cc1c8,_0x2a256d);}var Gt=Object[_0x570aba(0x31c)],Kt=(_0x73f0cb,_0x210df,_0x1aacfa,_0x30bfd3)=>{const _0x5a14e0=_0x570aba;for(var _0x58f443=_0x30bfd3>0x1?void 0x0:_0x30bfd3?Gt(_0x210df,_0x1aacfa):_0x210df,_0xca264e=_0x73f0cb[_0x5a14e0(0x214)]-0x1,_0x55114a;_0xca264e>=0x0;_0xca264e--)(_0x55114a=_0x73f0cb[_0xca264e])&&(_0x58f443=_0x55114a(_0x58f443)||_0x58f443);return _0x58f443;},_e=(_0x43bd30,_0x48c308)=>(_0x1d31df,_0xefa229)=>_0x48c308(_0x1d31df,_0xefa229,_0x43bd30);let ge=class extends a['Disposable']{constructor(_0x45e307,_0x9907ab,_0x11133b){const _0x3269d2=_0x570aba;super(),h(this,_0x3269d2(0x23c),new Map()),h(this,_0x3269d2(0x255),new Map()),h(this,_0x3269d2(0x2a2),!0x1),(this[_0x3269d2(0x1fd)]=_0x45e307,this[_0x3269d2(0x202)]=_0x9907ab,this[_0x3269d2(0x1d8)]=_0x11133b);}['disableLocalCache'](){const _0x32b535=_0x570aba;this[_0x32b535(0x2a2)]=!0x0;}['enableLocalCache'](){const _0x5930e9=_0x570aba;this[_0x5930e9(0x2a2)]=!0x1;}get[_0x570aba(0x1b7)](){const _0x3a7977=_0x570aba;return this[_0x3a7977(0x255)];}['dispose'](){const _0x478bb4=_0x570aba;this[_0x478bb4(0x2c2)]()['then'](()=>super[_0x478bb4(0x1d4)]());}async[_0x570aba(0x1c0)](_0x39fb23){const _0xe0d697=_0x570aba;return this[_0xe0d697(0x2a2)]?null:this[_0xe0d697(0x202)][_0xe0d697(0x38f)](u[_0xe0d697(0x1f1)](_0x39fb23));}async[_0x570aba(0x223)](_0x3a3618,_0x5bed2f){const _0x284ab4=_0x570aba;return!!this[_0x284ab4(0x202)]['setItem'](_0x3a3618,_0x5bed2f);}[_0x570aba(0x3c4)](_0x317e9a,_0x3722cf,_0x252877,_0x534dfd){const _0x524115=_0x570aba,_0x478d89=this[_0x524115(0x1d8)][_0x524115(0x2be)](_0x317e9a);this['_cachedData'][_0x524115(0x1a2)](_0x317e9a,{'unitID':_0x317e9a,'type':_0x3722cf,'awaitingChangeset':_0x252877,'mutations':_0x534dfd,'rev':_0x478d89}),this[_0x524115(0x255)][_0x524115(0x227)](_0x317e9a)||this[_0x524115(0x386)](_0x317e9a);}[_0x570aba(0x386)](_0x2527f3){const _0x404039=_0x570aba,_0x4d32b9=this[_0x404039(0x239)]();_0x4d32b9===0x0?this[_0x404039(0x311)](_0x2527f3):this[_0x404039(0x255)][_0x404039(0x1a2)](_0x2527f3,setTimeout(()=>this[_0x404039(0x311)](_0x2527f3),_0x4d32b9));}[_0x570aba(0x239)](){const _0x39d576=_0x570aba;var _0x3e9828;return(_0x3e9828=this[_0x39d576(0x1fd)]['getConfig'](u[_0x39d576(0x3be)]))!=null?_0x3e9828:u[_0x39d576(0x23a)];}[_0x570aba(0x311)](_0x54559b){const _0xf94ecc=_0x570aba,_0x2902ab=this[_0xf94ecc(0x255)][_0xf94ecc(0x398)](_0x54559b);return _0x2902ab!==void 0x0&&window[_0xf94ecc(0x2d8)](_0x2902ab),this[_0xf94ecc(0x202)][_0xf94ecc(0x387)](u[_0xf94ecc(0x1f1)](_0x54559b),this['_cachedData'][_0xf94ecc(0x398)](_0x54559b))[_0xf94ecc(0x2ac)](()=>this[_0xf94ecc(0x255)][_0xf94ecc(0x28c)](_0x54559b));}async[_0x570aba(0x2c2)](){const _0x5af780=_0x570aba,_0x36fe8a=[];this[_0x5af780(0x255)][_0x5af780(0x247)]((_0x1d032e,_0x5143c1)=>{const _0x1921e3=_0x5af780;window['clearTimeout'](_0x1d032e),_0x36fe8a['push'](this[_0x1921e3(0x311)](_0x5143c1)[_0x1921e3(0x2ac)](()=>{const _0x3dbde4=_0x1921e3;this[_0x3dbde4(0x255)][_0x3dbde4(0x28c)](_0x5143c1);}));}),await Promise[_0x5af780(0x232)](_0x36fe8a);}};ge=Kt([_e(0x0,a[_0x570aba(0x205)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a['Inject'](m[_0x570aba(0x395)]))],ge);class je extends a[_0x570aba(0x338)]{constructor(){const _0x2834e8=_0x570aba;super(),h(this,_0x2834e8(0x2cf)),this['urlChange$']=d['fromEvent'](window,_0x2834e8(0x1b0))[_0x2834e8(0x18d)](d[_0x2834e8(0x25a)](this[_0x2834e8(0x2ad)]),d[_0x2834e8(0x23b)](0x1),d[_0x2834e8(0x3e5)](void 0x0));}[_0x570aba(0x187)](_0x19d79e,_0x5735e1,_0x1da03d=!0x1){const _0x355305=_0x570aba,_0x9c1e6a=new URL(window[_0x355305(0x32e)][_0x355305(0x2f5)]);_0x9c1e6a[_0x355305(0x2e8)]['set'](_0x19d79e,_0x5735e1),_0x1da03d?window[_0x355305(0x3ad)][_0x355305(0x359)]('','',_0x9c1e6a['toString']()):window[_0x355305(0x3ad)][_0x355305(0x3c6)]('','',_0x9c1e6a[_0x355305(0x1ac)]());}[_0x570aba(0x3c8)](_0x1f2330,_0x4bd060=!0x1){const _0x500b9c=_0x570aba,_0x332e18=new URL(window[_0x500b9c(0x32e)][_0x500b9c(0x2f5)]);_0x332e18[_0x500b9c(0x2e8)]['delete'](_0x1f2330),_0x4bd060?window[_0x500b9c(0x3ad)][_0x500b9c(0x359)]('','',_0x332e18['toString']()):window[_0x500b9c(0x3ad)]['pushState']('','',_0x332e18['toString']());}[_0x570aba(0x31b)](_0x350ad2){const _0x39032c=_0x570aba;var _0x46c685;return(_0x46c685=new URL(window['location'][_0x39032c(0x2f5)])[_0x39032c(0x2e8)][_0x39032c(0x398)](_0x350ad2))!=null?_0x46c685:void 0x0;}}var qt=Object[_0x570aba(0x2f3)],zt=Object[_0x570aba(0x31c)],Jt=(_0x54e02c,_0x2c1bdb,_0x730615)=>_0x2c1bdb in _0x54e02c?qt(_0x54e02c,_0x2c1bdb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x730615}):_0x54e02c[_0x2c1bdb]=_0x730615,Zt=(_0x66512c,_0x2bbd98,_0x138383,_0x56cc4c)=>{const _0x2110be=_0x570aba;for(var _0x1acfb5=_0x56cc4c>0x1?void 0x0:_0x56cc4c?zt(_0x2bbd98,_0x138383):_0x2bbd98,_0x2bf86e=_0x66512c[_0x2110be(0x214)]-0x1,_0x15f096;_0x2bf86e>=0x0;_0x2bf86e--)(_0x15f096=_0x66512c[_0x2bf86e])&&(_0x1acfb5=_0x15f096(_0x1acfb5)||_0x1acfb5);return _0x1acfb5;},he=(_0x3d3b35,_0x105468)=>(_0x426b79,_0x439a37)=>_0x105468(_0x426b79,_0x439a37,_0x3d3b35),Qt=(_0x574850,_0x56d6a2,_0x11029b)=>Jt(_0x574850,_0x56d6a2+'',_0x11029b);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x570aba(0x2f2)]=class extends a[_0x570aba(0x38b)]{constructor(_0x412973=Ue,_0x165795,_0x4a98af,_0x2a5fa4){const _0x1f03c8=_0x570aba;super(),this[_0x1f03c8(0x1f6)]=_0x412973,this[_0x1f03c8(0x302)]=_0x165795,this['_injector']=_0x4a98af,this[_0x1f03c8(0x1fd)]=_0x2a5fa4;const {..._0x21e004}=a['merge']({},Ue,this[_0x1f03c8(0x1f6)]);this[_0x1f03c8(0x1fd)][_0x1f03c8(0x2c6)]($t,_0x21e004);}['onStarting'](){const _0x54dedc=_0x570aba;this[_0x54dedc(0x254)](),this['_initDependencies']();}[_0x570aba(0x309)](){const _0x2ecff9=_0x570aba;this[_0x2ecff9(0x290)]();}[_0x570aba(0x254)](){const _0x5dde55=_0x570aba;var _0x346647;const _0xecd96a=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x5dde55(0x38a)],{'useClass':G[_0x5dde55(0x2d7)]}],[u[_0x5dde55(0x3b1)],{'useClass':ge}],[exports[_0x5dde55(0x1e6)]],[Q],[q],[x],[de],[exports[_0x5dde55(0x307)]]];a[_0x5dde55(0x1e1)](this['_injector'],a[_0x5dde55(0x2f6)](_0xecd96a,(_0x346647=this[_0x5dde55(0x1f6)])==null?void 0x0:_0x346647[_0x5dde55(0x1bd)]));}['_registerRenderDependencies'](){const _0x55eb27=_0x570aba;this[_0x55eb27(0x2cc)](this[_0x55eb27(0x302)][_0x55eb27(0x185)](a['UniverInstanceType'][_0x55eb27(0x212)],[Ie])),this[_0x55eb27(0x2cc)](this[_0x55eb27(0x302)][_0x55eb27(0x185)](a[_0x55eb27(0x18f)][_0x55eb27(0x363)],[ve]));}[_0x570aba(0x1ba)](){const _0x33de3c=_0x570aba;a['touchDependencies'](this[_0x33de3c(0x1f7)],[[x],[exports[_0x33de3c(0x1e6)]],[Q],[q],[exports[_0x33de3c(0x307)]]]);}},Qt(exports[_0x570aba(0x2f2)],_0x570aba(0x280),es),exports[_0x570aba(0x2f2)]=Zt([a[_0x570aba(0x301)](u['UniverCollaborationClientPlugin']),he(0x1,p[_0x570aba(0x35f)]),he(0x2,a[_0x570aba(0x33e)](a['Injector'])),he(0x3,a[_0x570aba(0x205)])],exports[_0x570aba(0x2f2)]);var ts=Object[_0x570aba(0x31c)],ss=(_0x49abf5,_0x158a9c,_0x27fd0a,_0x200a49)=>{const _0x19f97b=_0x570aba;for(var _0x4f03db=_0x200a49>0x1?void 0x0:_0x200a49?ts(_0x158a9c,_0x27fd0a):_0x158a9c,_0x169c16=_0x49abf5[_0x19f97b(0x214)]-0x1,_0x23145b;_0x169c16>=0x0;_0x169c16--)(_0x23145b=_0x49abf5[_0x169c16])&&(_0x4f03db=_0x23145b(_0x4f03db)||_0x4f03db);return _0x4f03db;},F=(_0x929678,_0x2d6177)=>(_0x61d0ef,_0xd8c452)=>_0x2d6177(_0x61d0ef,_0xd8c452,_0x929678);exports['BrowserCollaborationSocketService']=class extends u[_0x570aba(0x336)]{constructor(_0x2d107f,_0x102d39,_0x49b5ac,_0x4d9784,_0x50e983){super(_0x2d107f,_0x102d39,_0x49b5ac,_0x4d9784,_0x50e983);}async[_0x570aba(0x3ca)](_0x54d738){const _0x14d50d=_0x570aba,_0x14fa54=await this[_0x14d50d(0x375)](),_0x21feac=this['_createSocketURL'](_0x54d738,_0x14fa54);return this[_0x14d50d(0x3ae)](_0x21feac);}[_0x570aba(0x195)](_0x5a4ea1,_0x282e2e){const _0x589033=_0x570aba,_0x542ef9=typeof window>'u'?new URL(_0x5a4ea1):new URL(_0x5a4ea1,window[_0x589033(0x32e)][_0x589033(0x373)]);_0x542ef9['searchParams'][_0x589033(0x1a2)](_0x589033(0x316),_0x282e2e);const _0x55d7c0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x589033(0x32e)][_0x589033(0x18b)]);return _0x55d7c0[_0x589033(0x398)](_0x589033(0x39b))&&_0x542ef9['searchParams']['set'](_0x589033(0x39b),_0x55d7c0[_0x589033(0x398)](_0x589033(0x39b))),_0x542ef9[_0x589033(0x1ac)]();}async[_0x570aba(0x375)](){const _0x4492fa=_0x570aba;var _0x5d05f9,_0x52a3f4,_0xa6040;const _0xc46826=this[_0x4492fa(0x1fd)][_0x4492fa(0x396)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x327510=(_0x5d05f9=_0xc46826==null?void 0x0:_0xc46826[_0x4492fa(0x192)])!=null?_0x5d05f9:u[_0x4492fa(0x3a4)];return(_0xa6040=(_0x52a3f4=(await this['_httpService'][_0x4492fa(0x398)](_0x327510,{'headers':{'Content-Type':'application/json'}}))[_0x4492fa(0x252)])==null?void 0x0:_0x52a3f4['ticket'])!=null?_0xa6040:'';}},exports[_0x570aba(0x3b2)]=ss([F(0x0,a[_0x570aba(0x33e)](a['Injector'])),F(0x1,a['Inject'](G[_0x570aba(0x28f)])),F(0x2,a['IConfigService']),F(0x3,a[_0x570aba(0x193)]),F(0x4,m[_0x570aba(0x35a)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x570aba(0x341);class is extends a[_0x570aba(0x283)]{constructor(){const _0x47701b=_0x570aba;super(),h(this,_0x47701b(0x1ab),a[_0x47701b(0x2d3)]()),h(this,_0x47701b(0x2a3),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x47701b(0x369),null),h(this,_0x47701b(0x404),new Map()),h(this,'_unitStatus',new Map()),this[_0x47701b(0x31e)]();}[_0x570aba(0x1d4)](){const _0x20aca4=_0x570aba;super[_0x20aca4(0x1d4)](),this[_0x20aca4(0x404)]['forEach']((_0x4d2789,_0x934a57)=>this[_0x20aca4(0x186)](_0x934a57)),this[_0x20aca4(0x369)]&&window[_0x20aca4(0x2e4)](this[_0x20aca4(0x369)]);}['getUnitStatus$'](_0x30e70f){const _0x31103c=_0x570aba;return this[_0x31103c(0x3a6)](_0x30e70f)[_0x31103c(0x18d)](d[_0x31103c(0x25b)]());}[_0x570aba(0x3b4)](_0x31f0f2){const _0x53f0f4=_0x570aba;this[_0x53f0f4(0x2a3)][_0x53f0f4(0x2aa)]===0x0&&this[_0x53f0f4(0x253)](),this[_0x53f0f4(0x2a3)][_0x53f0f4(0x25e)](_0x31f0f2),this[_0x53f0f4(0x258)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x31f0f2],'isForwarded':!0x1});}[_0x570aba(0x346)](_0xec244d){const _0x11f13b=_0x570aba;this['_selfUnitIDs'][_0x11f13b(0x28c)](_0xec244d),this['_selfUnitIDs'][_0x11f13b(0x2aa)]===0x0&&this['_heartbeatTimer']&&window[_0x11f13b(0x2e4)](this[_0x11f13b(0x369)]);}[_0x570aba(0x31e)](){const _0x15c4cb=_0x570aba;this[_0x15c4cb(0x2cc)](a[_0x15c4cb(0x3c5)](d['fromEvent'](window,'storage')[_0x15c4cb(0x1d9)](_0x43515f=>{const _0x4fefed=_0x15c4cb;if(_0x43515f[_0x4fefed(0x20c)]!==Le||!_0x43515f[_0x4fefed(0x3c9)])return;const _0x454c47=JSON[_0x4fefed(0x3ed)](_0x43515f['newValue']);this[_0x4fefed(0x26a)](_0x454c47);}))),window[_0x15c4cb(0x376)]('unload',()=>this[_0x15c4cb(0x258)]({'type':0x1,'memberID':this[_0x15c4cb(0x1ab)],'unitIDs':Array[_0x15c4cb(0x320)](this[_0x15c4cb(0x2a3)])}));}['_handleEvent'](_0x4b191b){const _0x11eded=_0x570aba;switch(_0x4b191b[_0x11eded(0x385)]){case 0x0:this['_handleJoinEvent'](_0x4b191b);break;case 0x1:this[_0x11eded(0x2df)](_0x4b191b);break;case 0x2:this['_handleHeartbeatEvent'](_0x4b191b);break;}}[_0x570aba(0x27b)](_0x369df6){const _0x306c99=_0x570aba,{unitIDs:_0x35ab4e,memberID:_0x31949b,isForwarded:_0x535b2b}=_0x369df6;_0x35ab4e[_0x306c99(0x247)](_0xe8c95c=>{const _0x98b709=_0x306c99;if(!_0x535b2b&&this[_0x98b709(0x29e)][_0x98b709(0x227)](_0xe8c95c)&&this['_ensureSubject'](_0xe8c95c)[_0x98b709(0x325)](u[_0x98b709(0x1b1)][_0x98b709(0x273)]),!this[_0x98b709(0x29e)][_0x98b709(0x227)](_0xe8c95c)||!this[_0x98b709(0x29e)][_0x98b709(0x398)](_0xe8c95c)[_0x98b709(0x227)](_0x31949b)){const _0x56116b=this['_unitOnClients'][_0x98b709(0x398)](_0xe8c95c)||new Set();_0x56116b['add'](_0x31949b),this[_0x98b709(0x29e)][_0x98b709(0x1a2)](_0xe8c95c,_0x56116b),this[_0x98b709(0x37e)](_0x31949b);}}),_0x535b2b||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x306c99(0x2a3)]],'isForwarded':!0x0});}[_0x570aba(0x37e)](_0x1bcdf6){const _0x340852=_0x570aba;this[_0x340852(0x186)](_0x1bcdf6);const _0x3e996f=window[_0x340852(0x245)](()=>{const _0x2f88ce=_0x340852;this[_0x2f88ce(0x29e)][_0x2f88ce(0x247)](_0x32994e=>{const _0x552a0c=_0x2f88ce;_0x32994e[_0x552a0c(0x28c)](_0x1bcdf6);});},Me*0x2);this[_0x340852(0x404)][_0x340852(0x1a2)](_0x1bcdf6,_0x3e996f);}[_0x570aba(0x186)](_0x27e4b0){const _0x946f51=_0x570aba;if(this[_0x946f51(0x404)][_0x946f51(0x227)](_0x27e4b0)){const _0xbb0941=this[_0x946f51(0x404)]['get'](_0x27e4b0);_0xbb0941&&window[_0x946f51(0x2d8)](_0xbb0941),this['_clearOtherTimers'][_0x946f51(0x1a2)](_0x27e4b0,null);}}[_0x570aba(0x2df)](_0x4eb1a8){const _0x4fed32=_0x570aba,{memberID:_0x361930,unitIDs:_0x2eb758}=_0x4eb1a8;_0x2eb758[_0x4fed32(0x247)](_0xc3f34c=>{const _0x2e001b=_0x4fed32;var _0x3a1015;const _0x3823b5=this['_unitOnClients'][_0x2e001b(0x398)](_0xc3f34c);_0x3823b5&&(_0x3823b5[_0x2e001b(0x28c)](_0x361930),(_0x3a1015=this[_0x2e001b(0x3a6)](_0xc3f34c))==null||_0x3a1015[_0x2e001b(0x325)](_0x3823b5[_0x2e001b(0x2aa)]===0x0?u[_0x2e001b(0x1b1)][_0x2e001b(0x1f5)]:u['UnitStatus'][_0x2e001b(0x273)]));}),this[_0x4fed32(0x186)](_0x361930);}[_0x570aba(0x367)](_0x4a3734){const _0x45ec82=_0x570aba;this[_0x45ec82(0x37e)](_0x4a3734['memberID']);}[_0x570aba(0x258)](_0xa18aa3){const _0x4206be=_0x570aba;localStorage[_0x4206be(0x387)](Le,JSON[_0x4206be(0x20e)](_0xa18aa3));}[_0x570aba(0x253)](){const _0x5edfe6=_0x570aba;this[_0x5edfe6(0x369)]=window[_0x5edfe6(0x1f4)](()=>{const _0x4cd018=_0x5edfe6;this[_0x4cd018(0x258)]({'type':0x2,'memberID':this[_0x4cd018(0x1ab)]});},Me);}[_0x570aba(0x3a6)](_0x5b792b){const _0x1d3a61=_0x570aba;return this['_unitStatus']['has'](_0x5b792b)||this[_0x1d3a61(0x3e0)][_0x1d3a61(0x1a2)](_0x5b792b,new d[(_0x1d3a61(0x2bb))](u[_0x1d3a61(0x1b1)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1d3a61(0x3e0)][_0x1d3a61(0x398)](_0x5b792b);}}var Be=(_0x548fcc=>(_0x548fcc[_0x548fcc[_0x570aba(0x3aa)]=0x0]=_0x570aba(0x3aa),_0x548fcc[_0x548fcc['OK']=0x1]='OK',_0x548fcc[_0x548fcc[_0x570aba(0x23f)]=0x2]=_0x570aba(0x23f),_0x548fcc[_0x548fcc[_0x570aba(0x35c)]=0x3]=_0x570aba(0x35c),_0x548fcc[_0x548fcc[_0x570aba(0x37f)]=0x4]=_0x570aba(0x37f),_0x548fcc[_0x548fcc[_0x570aba(0x1e5)]=0x5]='UNAUTHENTICATED',_0x548fcc[_0x548fcc['ALREADY_EXISTS']=0x6]=_0x570aba(0x191),_0x548fcc[_0x548fcc[_0x570aba(0x353)]=0x7]=_0x570aba(0x353),_0x548fcc[_0x548fcc[_0x570aba(0x20b)]=0x8]=_0x570aba(0x20b),_0x548fcc[_0x548fcc[_0x570aba(0x230)]=0x9]='COMPLETION_FINISHED',_0x548fcc[_0x548fcc['LOGIN_FAILED']=0xa]=_0x570aba(0x289),_0x548fcc[_0x548fcc[_0x570aba(0x32c)]=0x1389]=_0x570aba(0x32c),_0x548fcc[_0x548fcc[_0x570aba(0x3da)]=0x1771]=_0x570aba(0x3da),_0x548fcc[_0x548fcc[_0x570aba(0x3cd)]=0x1772]=_0x570aba(0x3cd),_0x548fcc[_0x548fcc['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x570aba(0x1b9),_0x548fcc[_0x548fcc[_0x570aba(0x1aa)]=0x1b59]=_0x570aba(0x1aa),_0x548fcc[_0x548fcc[_0x570aba(0x235)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x548fcc[_0x548fcc[_0x570aba(0x37b)]=0x1b5b]=_0x570aba(0x37b),_0x548fcc[_0x548fcc[_0x570aba(0x2d2)]=0x1b5c]=_0x570aba(0x2d2),_0x548fcc[_0x548fcc[_0x570aba(0x323)]=0x1b5d]='APPLY_DUPLICATED',_0x548fcc[_0x548fcc[_0x570aba(0x1d7)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x548fcc[_0x548fcc[_0x570aba(0x271)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x548fcc[_0x548fcc[_0x570aba(0x3b5)]=0x232a]=_0x570aba(0x3b5),_0x548fcc[_0x548fcc[_0x570aba(0x259)]=0x232b]=_0x570aba(0x259),_0x548fcc[_0x548fcc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x570aba(0x326),_0x548fcc[_0x548fcc[_0x570aba(0x2a8)]=0x232d]=_0x570aba(0x2a8),_0x548fcc[_0x548fcc[_0x570aba(0x3d0)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x548fcc[_0x548fcc[_0x570aba(0x32b)]=0x2712]=_0x570aba(0x32b),_0x548fcc[_0x548fcc[_0x570aba(0x226)]=0x2713]=_0x570aba(0x226),_0x548fcc[_0x548fcc[_0x570aba(0x33f)]=0x2714]=_0x570aba(0x33f),_0x548fcc[_0x548fcc[_0x570aba(0x3e3)]=0x271a]=_0x570aba(0x3e3),_0x548fcc[_0x548fcc[_0x570aba(0x39a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x548fcc[_0x548fcc[_0x570aba(0x3df)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x548fcc[_0x548fcc[_0x570aba(0x180)]=0x271d]=_0x570aba(0x180),_0x548fcc[_0x548fcc[_0x570aba(0x2ea)]=0x271e]=_0x570aba(0x2ea),_0x548fcc[_0x548fcc[_0x570aba(0x35b)]=0x271f]=_0x570aba(0x35b),_0x548fcc[_0x548fcc['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x570aba(0x20d),_0x548fcc[_0x548fcc['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x570aba(0x2d1),_0x548fcc[_0x548fcc[_0x570aba(0x22a)]=0x2ee2]=_0x570aba(0x22a),_0x548fcc[_0x548fcc[_0x570aba(0x2b9)]=0x2ee3]=_0x570aba(0x2b9),_0x548fcc[_0x548fcc[_0x570aba(0x2f8)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x548fcc[_0x548fcc[_0x570aba(0x3d8)]=0x2ee5]=_0x570aba(0x3d8),_0x548fcc[_0x548fcc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x570aba(0x34c),_0x548fcc[_0x548fcc[_0x570aba(0x2ef)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x548fcc[_0x548fcc[_0x570aba(0x1cd)]=0x32cb]=_0x570aba(0x1cd),_0x548fcc[_0x548fcc[_0x570aba(0x231)]=-0x1]='UNRECOGNIZED',_0x548fcc))(Be||{}),ns=Object[_0x570aba(0x31c)],rs=(_0x2657a9,_0x1f775f,_0x4e7d51,_0x4b1af0)=>{const _0x4e4ea8=_0x570aba;for(var _0x3fa838=_0x4b1af0>0x1?void 0x0:_0x4b1af0?ns(_0x1f775f,_0x4e7d51):_0x1f775f,_0x18e1a0=_0x2657a9[_0x4e4ea8(0x214)]-0x1,_0x3f2e7d;_0x18e1a0>=0x0;_0x18e1a0--)(_0x3f2e7d=_0x2657a9[_0x18e1a0])&&(_0x3fa838=_0x3f2e7d(_0x3fa838)||_0x3fa838);return _0x3fa838;},ue=(_0x290a40,_0x511021)=>(_0x38720e,_0x589ecb)=>_0x511021(_0x38720e,_0x589ecb,_0x290a40);exports[_0x570aba(0x234)]=class extends a[_0x570aba(0x283)]{constructor(_0x3c2f37,_0x5cf054,_0x27f172){const _0x106dcb=_0x570aba;super(),this[_0x106dcb(0x27d)]=_0x3c2f37,this['_httpService']=_0x5cf054,this[_0x106dcb(0x1fd)]=_0x27f172;}async[_0x570aba(0x198)](_0x29abcf,_0x590b84,_0x1e686b,..._0x1b66d9){const _0x4775c3=_0x570aba;var _0x49bf92,_0x1c44de,_0x2010cd,_0x2b23c7;const _0x1792f7=this[_0x4775c3(0x27d)]['getFocusedUnit']();if(!_0x1792f7)throw new Error(_0x4775c3(0x330));const _0x5b0e70=((_0x49bf92=this[_0x4775c3(0x1fd)]['getConfig'](u[_0x4775c3(0x269)]))!=null?_0x49bf92:u[_0x4775c3(0x2d9)])+'/'+_0x29abcf+'/run/'+_0x590b84,_0x1b8a5e=new URL(window['location'][_0x4775c3(0x2f5)]),_0x2d8017={'scriptId':_0x29abcf,'runId':(_0x1c44de=_0x1b8a5e[_0x4775c3(0x2e8)]['get'](_0x4775c3(0x39b)))!=null?_0x1c44de:'','function':_0x590b84,'unitId':_0x1792f7[_0x4775c3(0x2ed)](),'argsOfFunction':JSON[_0x4775c3(0x20e)](_0x1b66d9),'invokeId':(_0x2010cd=_0x1e686b[_0x4775c3(0x299)])!=null?_0x2010cd:'','executionId':(_0x2b23c7=_0x1e686b[_0x4775c3(0x1b8)])!=null?_0x2b23c7:''};try{const _0x1d6ce4=await this[_0x4775c3(0x1d1)][_0x4775c3(0x3d7)](_0x5b0e70,{'body':_0x2d8017});return _0x1d6ce4[_0x4775c3(0x252)][_0x4775c3(0x2eb)]&&_0x1d6ce4[_0x4775c3(0x252)][_0x4775c3(0x2eb)][_0x4775c3(0x182)]!==Be['OK']?_0x4775c3(0x339):_0x1d6ce4[_0x4775c3(0x252)][_0x4775c3(0x1af)];}catch{return'Failed';}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x570aba(0x1a5)]),ue(0x1,a[_0x570aba(0x33e)](G[_0x570aba(0x28f)])),ue(0x2,a[_0x570aba(0x205)])],exports[_0x570aba(0x234)]),exports[_0x570aba(0x392)]=xe,exports[_0x570aba(0x317)]=be,exports[_0x570aba(0x18a)]=Ae,exports['WebBrowserSingleActiveUnitService']=is,exports['WebURLService']=je;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x436a(_0x2c3591,_0x261845){const _0x35dce6=_0x35dc();return _0x436a=function(_0x436afd,_0x273b11){_0x436afd=_0x436afd-0x1d4;let _0x4ecd95=_0x35dce6[_0x436afd];return _0x4ecd95;},_0x436a(_0x2c3591,_0x261845);}function _0x35dc(){const _0x806137=['Edit\x20conflicts','Local\x20file','614UnWexW','30oahytQ','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','2952216SLpEwU','55WXrtar','exports','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','155075dYipmv','90KpVJba','95096WlAnlw','67812UIBHXn','Syncing...','116nhukrZ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','475NEVMnl','Collaboration\x20Conflict','2009931fKcGDR','6753690gHghoQ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced'];_0x35dc=function(){return _0x806137;};return _0x35dc();}const _0x4fd294=_0x436a;(function(_0x29c3d7,_0x4c9fff){const _0x26dd83=_0x436a,_0xd4892f=_0x29c3d7();while(!![]){try{const _0x4c8396=-parseInt(_0x26dd83(0x1d6))/0x1*(-parseInt(_0x26dd83(0x1de))/0x2)+parseInt(_0x26dd83(0x1eb))/0x3*(parseInt(_0x26dd83(0x1ed))/0x4)+parseInt(_0x26dd83(0x1e8))/0x5*(-parseInt(_0x26dd83(0x1df))/0x6)+parseInt(_0x26dd83(0x1d8))/0x7+-parseInt(_0x26dd83(0x1ea))/0x8*(-parseInt(_0x26dd83(0x1e9))/0x9)+parseInt(_0x26dd83(0x1d9))/0xa+-parseInt(_0x26dd83(0x1e3))/0xb*(parseInt(_0x26dd83(0x1e2))/0xc);if(_0x4c8396===_0x4c9fff)break;else _0xd4892f['push'](_0xd4892f['shift']());}catch(_0x1d8751){_0xd4892f['push'](_0xd4892f['shift']());}}}(_0x35dc,0x7978c));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4fd294(0x1e6),'conflict':_0x4fd294(0x1dc),'notCollab':_0x4fd294(0x1dd),'synced':_0x4fd294(0x1db),'syncing':_0x4fd294(0x1ec),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x4fd294(0x1e1),'will-retry':_0x4fd294(0x1e5),'room-full':_0x4fd294(0x1e0),'collaboration-timeout':_0x4fd294(0x1da)},'conflict':{'title':_0x4fd294(0x1d7),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x4fd294(0x1e7)},'collaboration':{'single-unit':{'warning':_0x4fd294(0x1d5)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x4fd294(0x1d4)}};module[_0x4fd294(0x1e4)]=e;
|