@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505191607 → 0.7.0-nightly.202505211607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5029fa=_0x4dbf;(function(_0x12180c,_0x40a057){const _0x27f1c7=_0x4dbf,_0x59e086=_0x12180c();while(!![]){try{const _0x1d570e=-parseInt(_0x27f1c7(0xf2))/0x1+parseInt(_0x27f1c7(0x102))/0x2*(-parseInt(_0x27f1c7(0x100))/0x3)+-parseInt(_0x27f1c7(0xf8))/0x4*(-parseInt(_0x27f1c7(0xf5))/0x5)+-parseInt(_0x27f1c7(0xf3))/0x6*(-parseInt(_0x27f1c7(0xff))/0x7)+parseInt(_0x27f1c7(0xfb))/0x8*(parseInt(_0x27f1c7(0x101))/0x9)+-parseInt(_0x27f1c7(0xfc))/0xa*(-parseInt(_0x27f1c7(0xfe))/0xb)+-parseInt(_0x27f1c7(0xf7))/0xc;if(_0x1d570e===_0x40a057)break;else _0x59e086['push'](_0x59e086['shift']());}catch(_0x39bce2){_0x59e086['push'](_0x59e086['shift']());}}}(_0xb638,0xa0d35));const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0x5029fa(0xf1));function _0x4dbf(_0x249072,_0x24b55d){const _0xb63812=_0xb638();return _0x4dbf=function(_0x4dbf51,_0x45b9b4){_0x4dbf51=_0x4dbf51-0xf1;let _0x37e176=_0xb63812[_0x4dbf51];return _0x37e176;},_0x4dbf(_0x249072,_0x24b55d);}class c extends e[_0x5029fa(0xfa)]{[_0x5029fa(0xf6)](_0x3a85e0,_0xd53dc,..._0x33626f){const _0x1bcc84=_0x5029fa;return this['_injector'][_0x1bcc84(0xf9)](t[_0x1bcc84(0xfd)])[_0x1bcc84(0xf6)](_0x3a85e0,_0xd53dc,{},..._0x33626f);}}function _0xb638(){const _0x57dab2=['FUniver','40eOfnaj','200bpaqQb','RemoteUniscriptService','610544GaeEHp','31178EyGUqK','3CRynaA','299817lPIOMq','1561054CplVcu','@univerjs/core/facade','429290poeMdy','348CzMkmq','extend','4455515kZjChn','runOnServer','6690264nQjKGT','4ARAqGd','get'];_0xb638=function(){return _0x57dab2;};return _0xb638();}e[_0x5029fa(0xfa)][_0x5029fa(0xf4)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x5e93c2=_0x286c;(function(_0x42c542,_0x3f7a36){const _0x2b5e3a=_0x286c,_0x273339=_0x42c542();while(!![]){try{const _0x21be02=parseInt(_0x2b5e3a(0x251))/0x1*(-parseInt(_0x2b5e3a(0x268))/0x2)+parseInt(_0x2b5e3a(0x3a4))/0x3+parseInt(_0x2b5e3a(0x19b))/0x4+-parseInt(_0x2b5e3a(0x37c))/0x5*(parseInt(_0x2b5e3a(0x2d8))/0x6)+parseInt(_0x2b5e3a(0x1a3))/0x7*(-parseInt(_0x2b5e3a(0x384))/0x8)+parseInt(_0x2b5e3a(0x19a))/0x9*(-parseInt(_0x2b5e3a(0x35e))/0xa)+parseInt(_0x2b5e3a(0x3bf))/0xb*(parseInt(_0x2b5e3a(0x1af))/0xc);if(_0x21be02===_0x3f7a36)break;else _0x273339['push'](_0x273339['shift']());}catch(_0x4be1b9){_0x273339['push'](_0x273339['shift']());}}}(_0x2048,0x72d01));var Ve=Object[_0x5e93c2(0x2cd)],Xe=(_0x565928,_0x304d53,_0x5a0764)=>_0x304d53 in _0x565928?Ve(_0x565928,_0x304d53,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a0764}):_0x565928[_0x304d53]=_0x5a0764,h=(_0x1369ee,_0x307845,_0x5ab5b0)=>Xe(_0x1369ee,typeof _0x307845!=_0x5e93c2(0x29c)?_0x307845+'':_0x307845,_0x5ab5b0);Object[_0x5e93c2(0x2cd)](exports,Symbol[_0x5e93c2(0x329)],{'value':_0x5e93c2(0x405)});const u=require(_0x5e93c2(0x24a)),a=require('@univerjs/core'),p=require(_0x5e93c2(0x21d)),G=require(_0x5e93c2(0x41f)),b=require('@univerjs/docs-ui'),Ge=require(_0x5e93c2(0x1c6)),d=require(_0x5e93c2(0x2c9)),Y=require('@univerjs/docs'),m=require(_0x5e93c2(0x2e3)),Ee=require(_0x5e93c2(0x25a)),g=require(_0x5e93c2(0x1cc)),$=require(_0x5e93c2(0x425)),X=require('@univerjs/sheets-ui'),P=require(_0x5e93c2(0x3b6)),T=require(_0x5e93c2(0x30d)),D=require('@univerjs/design'),M=require(_0x5e93c2(0x358)),Ke=require(_0x5e93c2(0x32b));var qe=Object[_0x5e93c2(0x2a8)],ze=(_0x7ed59f,_0xba0fee,_0x45f002,_0x2c6ed4)=>{for(var _0x21400d=_0x2c6ed4>0x1?void 0x0:_0x2c6ed4?qe(_0xba0fee,_0x45f002):_0xba0fee,_0xce6576=_0x7ed59f['length']-0x1,_0x180208;_0xce6576>=0x0;_0xce6576--)(_0x180208=_0x7ed59f[_0xce6576])&&(_0x21400d=_0x180208(_0x21400d)||_0x21400d);return _0x21400d;},Te=(_0x30aa20,_0xe98cfd)=>(_0x175016,_0x40a131)=>_0xe98cfd(_0x175016,_0x40a131,_0x30aa20);let de=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x4aff41,_0x5c24b4){const _0x253f10=_0x5e93c2;super(),this['_docClipboardService']=_0x4aff41,this['_imageIoService']=_0x5c24b4,this[_0x253f10(0x1a5)]();}[_0x5e93c2(0x1a5)](){const _0x13a023=_0x5e93c2,_0x58d714=this;this[_0x13a023(0x303)](this[_0x13a023(0x399)][_0x13a023(0x37d)]({'onBeforePasteImage':async _0x3002aa=>{const _0x30b049=_0x13a023,_0x469d49=await _0x58d714[_0x30b049(0x217)][_0x30b049(0x1a8)](_0x3002aa);return _0x469d49?{'source':_0x469d49[_0x30b049(0x1d0)],'imageSourceType':_0x469d49[_0x30b049(0x29a)]}:null;}}));}};de=ze([Te(0x0,b[_0x5e93c2(0x408)]),Te(0x1,Ge[_0x5e93c2(0x2bd)])],de);const Oe=[_0x5e93c2(0x371),_0x5e93c2(0x203),_0x5e93c2(0x31f),_0x5e93c2(0x3a9),_0x5e93c2(0x257),_0x5e93c2(0x2c7)];class me extends a['Disposable']{constructor(){const _0x4380a4=_0x5e93c2;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x4380a4(0x411),0x0);}[_0x5e93c2(0x35a)](_0x526364){const _0x2fa829=_0x5e93c2;if(this[_0x2fa829(0x21b)][_0x2fa829(0x395)](_0x526364))return this[_0x2fa829(0x21b)]['get'](_0x526364);const _0x51c89a=Oe[this[_0x2fa829(0x411)]];return this['_colorIndex']=(this[_0x2fa829(0x411)]+0x1)%Oe[_0x2fa829(0x293)],this[_0x2fa829(0x21b)][_0x2fa829(0x3f1)](_0x526364,_0x51c89a),_0x51c89a;}}function Pe(_0x3da61b){const _0x5bd4ed=_0x5e93c2;let _0x350494='';for(const _0x2f91b6 of _0x3da61b){const {startOffset:_0x1d742b,endOffset:_0x50752b,isActive:_0x4fce27,rangeType:_0x52ff30,segmentId:_0x16ad5b,segmentPage:_0x4954f4}=_0x2f91b6;_0x350494[_0x5bd4ed(0x293)]&&(_0x350494+=','),_0x350494+=_0x1d742b+':'+_0x50752b+':'+(_0x4fce27?'1':'0')+':'+_0x52ff30+':'+_0x16ad5b+':'+_0x4954f4;}return _0x350494;}function Je(_0x220575){const _0x4a35a7=_0x5e93c2,_0xe9f93f=_0x220575[_0x4a35a7(0x243)](','),_0x123f3d=[];for(const _0x472b86 of _0xe9f93f){const [_0x5b041e,_0x10fe14,_0x33c693,_0x541722,_0x557b40,_0x204097]=_0x472b86[_0x4a35a7(0x243)](':');_0x123f3d[_0x4a35a7(0x298)]({'startOffset':Number(_0x5b041e),'endOffset':Number(_0x10fe14),'collapsed':_0x5b041e===_0x10fe14,'isActive':_0x33c693==='1','rangeType':_0x541722===a['DOC_RANGE_TYPE'][_0x4a35a7(0x40b)]?a[_0x4a35a7(0x3dd)][_0x4a35a7(0x40b)]:a[_0x4a35a7(0x3dd)][_0x4a35a7(0x332)],'segmentId':typeof _0x557b40=='string'?String(_0x557b40):'','segmentPage':Number(_0x204097!=null?_0x204097:-0x1)});}return _0x123f3d[_0x4a35a7(0x412)](_0xab0389=>_0xab0389[_0x4a35a7(0x30b)])||(_0x123f3d[0x0]['isActive']=!0x0),_0x123f3d;}class Ce extends a['RxDisposable']{constructor(){const _0x58172d=_0x5e93c2;super(...arguments),h(this,'_collabCursorState$',new d['BehaviorSubject'](null)),h(this,'collabCursorState$',this[_0x58172d(0x1a0)][_0x58172d(0x38e)]());}[_0x5e93c2(0x30c)](_0x13ba6d){const _0x7cc3a7=_0x5e93c2,{unitID:_0x47979e,memberID:_0x2923d6,textRanges:_0x530ef9}=_0x13ba6d,_0x15876f=Pe(_0x530ef9);if(_0x15876f==='')return;const _0x468166={'unitID':_0x47979e,'memberID':_0x2923d6,'selection':_0x15876f};this[_0x7cc3a7(0x1a0)][_0x7cc3a7(0x374)](_0x468166);}}var Ze=Object[_0x5e93c2(0x2a8)],Qe=(_0x2824d4,_0x384186,_0x4aa465,_0x207d0b)=>{const _0x4a721b=_0x5e93c2;for(var _0x428130=_0x207d0b>0x1?void 0x0:_0x207d0b?Ze(_0x384186,_0x4aa465):_0x384186,_0x53df28=_0x2824d4[_0x4a721b(0x293)]-0x1,_0x15599c;_0x53df28>=0x0;_0x53df28--)(_0x15599c=_0x2824d4[_0x53df28])&&(_0x428130=_0x15599c(_0x428130)||_0x428130);return _0x428130;},L=(_0x263d57,_0x24da99)=>(_0x16d892,_0x30eeac)=>_0x24da99(_0x16d892,_0x30eeac,_0x263d57);const et=0x12c,tt=0x64;let fe=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x1606e8,_0xaeba90,_0xa3bea3,_0x6eaa18,_0x3ac4bb,_0x3581a5,_0x1bd1b8,_0x212637,_0x2c4203){const _0x11bf8a=_0x5e93c2;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x11bf8a(0x2a1),new d['BehaviorSubject'](new Map())),h(this,_0x11bf8a(0x1ca),this['_cursorInfo$']['asObservable']()),h(this,_0x11bf8a(0x263),new d[(_0x11bf8a(0x3bb))]([])),h(this,_0x11bf8a(0x296),this['_roomMembers$'][_0x11bf8a(0x3a8)](d[_0x11bf8a(0x1c5)](et))),h(this,_0x11bf8a(0x3ea),a[_0x11bf8a(0x1f2)](_0x4d65a5=>{const _0x32438f=_0x11bf8a,_0x409e4e={'eventID':m[_0x32438f(0x361)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x32438f(0x21a)],'memberID':this['_session']['getMemberID'](),'selection':Pe(_0x4d65a5)}};this['_session'][_0x32438f(0x31d)](_0x409e4e,this['unitID']);},tt)),(this[_0x11bf8a(0x21a)]=_0x1606e8,this[_0x11bf8a(0x3dc)]=_0xaeba90,this['_injector']=_0xa3bea3,this[_0x11bf8a(0x3af)]=_0x6eaa18,this[_0x11bf8a(0x1ae)]=_0x3ac4bb,this[_0x11bf8a(0x3d9)]=_0x3581a5,this[_0x11bf8a(0x402)]=_0x1bd1b8,this['_univerInstanceService']=_0x212637,this[_0x11bf8a(0x3cd)]=_0x2c4203);}get['cursorInfo'](){const _0x430108=_0x5e93c2;return this[_0x430108(0x2a1)][_0x430108(0x416)]();}get[_0x5e93c2(0x2d2)](){const _0x192c3a=_0x5e93c2;return this[_0x192c3a(0x263)][_0x192c3a(0x416)]();}[_0x5e93c2(0x2f0)](){const _0x5629c5=_0x5e93c2;super[_0x5629c5(0x2f0)](),this['_cursorInfo$']['next'](new Map()),this[_0x5629c5(0x2a1)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5629c5(0x263)]['complete']();}[_0x5e93c2(0x340)](){const _0x2f4c33=_0x5e93c2;this[_0x2f4c33(0x1a5)]||(this[_0x2f4c33(0x1a5)]=!0x0,this[_0x2f4c33(0x3dc)]['sessionStatus$'][_0x2f4c33(0x3a8)](d[_0x2f4c33(0x301)](this['dispose$']))['subscribe'](_0x163f1c=>{const _0xdc904b=_0x2f4c33;_0x163f1c===u[_0xdc904b(0x201)][_0xdc904b(0x344)]?this[_0xdc904b(0x1fe)]():this[_0xdc904b(0x1dd)]();}),this['_session']['event$'][_0x2f4c33(0x3a8)](d[_0x2f4c33(0x301)](this[_0x2f4c33(0x333)]))[_0x2f4c33(0x369)](_0x2feeca=>{const _0x1c9f32=_0x2f4c33,_0x33116f=_0x2feeca['eventID'];_0x33116f===m[_0x1c9f32(0x361)][_0x1c9f32(0x2fd)]&&this['_onCursorUpdate'](_0x2feeca),_0x33116f===m[_0x1c9f32(0x361)][_0x1c9f32(0x35b)]&&this[_0x1c9f32(0x1c9)](_0x2feeca);}),this[_0x2f4c33(0x303)](this['_commandService'][_0x2f4c33(0x409)](_0x1a2a23=>{const _0x4fc0d8=_0x2f4c33,_0x45bc34=_0x1a2a23['params'];_0x45bc34!=null&&this[_0x4fc0d8(0x292)]&&_0x1a2a23['id']===Y[_0x4fc0d8(0x1f5)]['id']&&_0x45bc34[_0x4fc0d8(0x387)]===this[_0x4fc0d8(0x21a)]&&_0x45bc34['isEditing']===!0x1&&_0x45bc34['ranges']['length']>0x0&&this[_0x4fc0d8(0x3ea)](_0x45bc34[_0x4fc0d8(0x282)]);})),this[_0x2f4c33(0x3d9)][_0x2f4c33(0x39b)]['pipe'](d[_0x2f4c33(0x301)](this[_0x2f4c33(0x333)]))[_0x2f4c33(0x369)](_0xd3dbb2=>{const _0x477674=_0x2f4c33;if((_0xd3dbb2==null?void 0x0:_0xd3dbb2[_0x477674(0x21a)])!==this['unitID'])return;const _0x3257bd={'eventID':m[_0x477674(0x361)]['UPDATE_CURSOR'],'data':_0xd3dbb2};this['_onCursorUpdate'](_0x3257bd);}),this[_0x2f4c33(0x303)](this[_0x2f4c33(0x3cd)][_0x2f4c33(0x409)](_0x2d4bbc=>{const _0x5399cb=_0x2f4c33;if(_0x2d4bbc[_0x5399cb(0x2cc)]==null)return;const _0x3a82a7=_0x2d4bbc[_0x5399cb(0x2cc)];if(_0x2d4bbc['id']!==Y[_0x5399cb(0x1b3)]['id']||_0x3a82a7['unitId']!==this['unitID'])return;const _0x5adef9={'id':_0x5399cb(0x2c4),'params':_0x3a82a7},_0x14ec74=this[_0x5399cb(0x22e)];for(const [_0x40aecc,_0x3d244f]of _0x14ec74){const _0x20bea6={'id':_0x5399cb(0x2c4),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3d244f[_0x5399cb(0x282)]}},_0x10fead=this[_0x5399cb(0x402)]['transformMutation'](_0x5adef9,_0x20bea6,!0x1);if(m[_0x5399cb(0x326)](_0x10fead))throw _0x10fead[_0x5399cb(0x360)];_0x14ec74[_0x5399cb(0x3f1)](_0x40aecc,{..._0x3d244f,'ranges':_0x10fead[_0x5399cb(0x23c)]['params'][_0x5399cb(0x1c7)]});}queueMicrotask(()=>{const _0x30ab2a=_0x5399cb;this[_0x30ab2a(0x2a1)][_0x30ab2a(0x374)](_0x14ec74);});})));}['_onCursorUpdate'](_0xb88850){const _0x1b5204=_0x5e93c2;var _0x18d255,_0x2d04f5;const {memberID:_0x5d0588,selection:_0x46d7aa}=_0xb88850['data'],_0x238531=Je(_0x46d7aa),_0x158f75=(_0x2d04f5=(_0x18d255=this[_0x1b5204(0x1ae)][_0x1b5204(0x242)](this[_0x1b5204(0x21a)],_0x5d0588))==null?void 0x0:_0x18d255[_0x1b5204(0x305)])!=null?_0x2d04f5:_0x1b5204(0x343),_0x1ab77c={'color':this['_colorAssignService'][_0x1b5204(0x35a)](_0x5d0588),'name':_0x158f75,'ranges':_0x238531},_0x37fb44=this[_0x1b5204(0x22e)];_0x37fb44[_0x1b5204(0x3f1)](_0x5d0588,_0x1ab77c),this[_0x1b5204(0x2a1)]['next'](_0x37fb44);}[_0x5e93c2(0x1c9)](_0xc5ebb4){const _0xd4fb4c=_0x5e93c2,{memberID:_0x38bef5}=_0xc5ebb4[_0xd4fb4c(0x2d9)],_0x3fc9c8=this[_0xd4fb4c(0x22e)];_0x3fc9c8[_0xd4fb4c(0x334)](_0x38bef5),this[_0xd4fb4c(0x2a1)]['next'](_0x3fc9c8);}[_0x5e93c2(0x1fe)](){const _0x2de080=_0x5e93c2;var _0x4f1b78;if(this[_0x2de080(0x292)]=!0x0,((_0x4f1b78=this[_0x2de080(0x26e)][_0x2de080(0x1d3)]())==null?void 0x0:_0x4f1b78['getUnitId']())!==this[_0x2de080(0x21a)])return;const _0x479af3=this[_0x2de080(0x319)][_0x2de080(0x2a3)](Y[_0x2de080(0x2ea)])[_0x2de080(0x3b8)]();Array[_0x2de080(0x3e0)](_0x479af3)&&_0x479af3[_0x2de080(0x293)]>0x0&&this[_0x2de080(0x3ea)](_0x479af3);}[_0x5e93c2(0x1dd)](){const _0x3a14f2=_0x5e93c2;this[_0x3a14f2(0x292)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a[_0x5e93c2(0x41a)])),L(0x3,a['Inject'](me)),L(0x4,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x35c)])),L(0x5,a['Inject'](Ce)),L(0x6,m['ITransformService']),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],fe);var st=Object[_0x5e93c2(0x2a8)],it=(_0x4e03bb,_0xd1bc63,_0x1360ca,_0x1472cf)=>{const _0x33a4f4=_0x5e93c2;for(var _0x5744d0=_0x1472cf>0x1?void 0x0:_0x1472cf?st(_0xd1bc63,_0x1360ca):_0xd1bc63,_0x31ff27=_0x4e03bb[_0x33a4f4(0x293)]-0x1,_0x20301d;_0x31ff27>=0x0;_0x31ff27--)(_0x20301d=_0x4e03bb[_0x31ff27])&&(_0x5744d0=_0x20301d(_0x5744d0)||_0x5744d0);return _0x5744d0;},w=(_0x3365bb,_0x3cb626)=>(_0x1deb8d,_0x3c3496)=>_0x3cb626(_0x1deb8d,_0x3c3496,_0x3365bb);const nt=0x12c,rt=0x64,ot=()=>{let _0x777f97=[],_0x51df09=!0x1;return _0x482421=>{_0x777f97['push'](_0x482421),_0x51df09||(_0x51df09=!0x0,setTimeout(()=>{const _0x3010a9=_0x286c;_0x777f97[_0x3010a9(0x2a5)](_0x4042f5=>_0x4042f5()),_0x777f97=[],_0x51df09=!0x1;}));};};let Se=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x184a1c,_0x387d34,_0x5218ad,_0x76b015,_0x4a66e2,_0x8a2846,_0x13bdc3,_0x16c0eb){const _0x35773e=_0x5e93c2;super(),h(this,_0x35773e(0x292),!0x1),h(this,_0x35773e(0x1a5),!0x1),h(this,_0x35773e(0x2a1),new d['BehaviorSubject'](new Map())),h(this,_0x35773e(0x1ca),this[_0x35773e(0x2a1)]['asObservable']()),h(this,_0x35773e(0x263),new d[(_0x35773e(0x3bb))]([])),h(this,_0x35773e(0x296),this[_0x35773e(0x263)][_0x35773e(0x3a8)](d[_0x35773e(0x1c5)](nt))),h(this,_0x35773e(0x3ea),a[_0x35773e(0x1f2)]((_0x5b501b,_0x3cd3aa)=>{const _0x32f6b8=_0x35773e,_0xd11884={'eventID':m[_0x32f6b8(0x361)][_0x32f6b8(0x2fd)],'data':{'unitID':this[_0x32f6b8(0x21a)],'memberID':this[_0x32f6b8(0x3dc)][_0x32f6b8(0x21e)](),'selection':Ee[_0x32f6b8(0x385)](_0x5b501b,_0x3cd3aa['range'])}};this[_0x32f6b8(0x3dc)][_0x32f6b8(0x31d)](_0xd11884,this[_0x32f6b8(0x21a)]);},rt)),(this['unitID']=_0x184a1c,this['_session']=_0x387d34,this['_injector']=_0x5218ad,this[_0x35773e(0x3af)]=_0x76b015,this[_0x35773e(0x1ae)]=_0x4a66e2,this[_0x35773e(0x26e)]=_0x8a2846,this[_0x35773e(0x3cd)]=_0x13bdc3,this['_refRangeService']=_0x16c0eb);}get['cursorInfo'](){const _0xc76a44=_0x5e93c2;return this['_cursorInfo$'][_0xc76a44(0x416)]();}get[_0x5e93c2(0x2d2)](){const _0x5b5157=_0x5e93c2;return this[_0x5b5157(0x263)]['getValue']();}[_0x5e93c2(0x2f0)](){const _0x5081e7=_0x5e93c2;super['dispose'](),this['_cursorInfo$'][_0x5081e7(0x374)](new Map()),this[_0x5081e7(0x2a1)][_0x5081e7(0x23a)](),this[_0x5081e7(0x263)][_0x5081e7(0x374)]([]),this[_0x5081e7(0x263)][_0x5081e7(0x23a)]();}[_0x5e93c2(0x340)](){const _0x40d7db=_0x5e93c2;this[_0x40d7db(0x1a5)]||(this['_init']=!0x0,this[_0x40d7db(0x3dc)][_0x40d7db(0x227)][_0x40d7db(0x3a8)](d['takeUntil'](this[_0x40d7db(0x333)]))['subscribe'](_0x5c7f29=>{const _0x2151db=_0x40d7db;_0x5c7f29===u[_0x2151db(0x201)]['ONLINE']?this[_0x2151db(0x1fe)]():this[_0x2151db(0x1dd)]();}),this[_0x40d7db(0x3dc)][_0x40d7db(0x238)]['pipe'](d[_0x40d7db(0x301)](this['dispose$']))[_0x40d7db(0x369)](_0x13af7c=>{const _0x15ace3=_0x40d7db,_0x32fc35=_0x13af7c[_0x15ace3(0x28d)];_0x32fc35===m[_0x15ace3(0x361)]['UPDATE_CURSOR']&&this[_0x15ace3(0x2d6)](_0x13af7c),_0x32fc35===m[_0x15ace3(0x361)][_0x15ace3(0x35b)]&&this[_0x15ace3(0x1c9)](_0x13af7c);}),this[_0x40d7db(0x304)](),this[_0x40d7db(0x303)](this['_commandService'][_0x40d7db(0x409)](_0x31e939=>{const _0x25ae0c=_0x40d7db;if(this['_online']&&_0x31e939['id']===g['SetSelectionsOperation']['id']&&_0x31e939[_0x25ae0c(0x2cc)][_0x25ae0c(0x387)]===this[_0x25ae0c(0x21a)]){const _0x97d229=_0x31e939[_0x25ae0c(0x2cc)];this['_updateLocalCursor'](_0x97d229[_0x25ae0c(0x349)],_0x97d229[_0x25ae0c(0x205)][0x0]);}})));}[_0x5e93c2(0x2d6)](_0x228987){const _0x50962c=_0x5e93c2;var _0x357a66,_0x4f0062;const {memberID:_0x4dcc5e,selection:_0x2fccb4}=_0x228987[_0x50962c(0x2d9)],{sheetName:_0x36f3ee,range:_0x3fb52b}=Ee['deserializeRangeWithSheet'](_0x2fccb4),_0x3c787d={'name':(_0x4f0062=(_0x357a66=this[_0x50962c(0x1ae)][_0x50962c(0x242)](this[_0x50962c(0x21a)],_0x4dcc5e))==null?void 0x0:_0x357a66['name'])!=null?_0x4f0062:_0x50962c(0x343),'range':this['_getMergeRange'](_0x36f3ee,_0x3fb52b),'sheetID':_0x36f3ee,'color':this[_0x50962c(0x3af)][_0x50962c(0x35a)](_0x4dcc5e),'selection':_0x2fccb4},_0x503bdd=this['cursorInfo'];_0x503bdd[_0x50962c(0x3f1)](_0x4dcc5e,_0x3c787d),this[_0x50962c(0x2a1)][_0x50962c(0x374)](_0x503bdd);}[_0x5e93c2(0x1c9)](_0x5b94e7){const _0x4ee887=_0x5e93c2,{memberID:_0x4ded28}=_0x5b94e7[_0x4ee887(0x2d9)],_0xc7722d=this['cursorInfo'];_0xc7722d[_0x4ee887(0x334)](_0x4ded28),this['_cursorInfo$']['next'](_0xc7722d);}[_0x5e93c2(0x2c2)](_0xe6fb82,_0x2a3383){const _0x46959a=_0x5e93c2;var _0x2c3640,_0x2e25f9;const _0xa6fe9d=(_0x2e25f9=(_0x2c3640=this[_0x46959a(0x26e)]['getUniverSheetInstance'](this[_0x46959a(0x21a)]))==null?void 0x0:_0x2c3640['getSheetBySheetId'](_0xe6fb82))==null?void 0x0:_0x2e25f9['getMergeData']();return(_0xa6fe9d==null?void 0x0:_0xa6fe9d['find'](_0x70d9a5=>a['Rectangle'][_0x46959a(0x37a)](_0x70d9a5,_0x2a3383)))||_0x2a3383;}[_0x5e93c2(0x304)](){const _0x53ad29=_0x5e93c2,_0x26dd18=new a[(_0x53ad29(0x2e4))](),_0x119b6b=ot(),_0x11232a=()=>{const _0x5ccf8e=_0x53ad29;_0x26dd18[_0x5ccf8e(0x2f0)]();const _0x4c6e23=(_0x884b9c,_0x25891f,_0x161e3b,_0x205e94)=>{const _0x7ee06b=_0x5ccf8e;let _0x83aeb2=[];switch(_0x884b9c['id']){case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x280)]:{_0x83aeb2=g[_0x7ee06b(0x249)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x2d4)]:{_0x83aeb2=g[_0x7ee06b(0x197)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)]['InsertColCommandId']:{_0x83aeb2=g[_0x7ee06b(0x210)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x198)]:{_0x83aeb2=g[_0x7ee06b(0x24f)](_0x884b9c,_0x205e94);break;}case g['EffectRefRangId'][_0x7ee06b(0x29f)]:{_0x83aeb2=g[_0x7ee06b(0x1cb)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x213)]:{_0x83aeb2=g[_0x7ee06b(0x3e8)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x1ee)]:{_0x83aeb2=g['handleMoveRange'](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)]['RemoveColCommandId']:{_0x83aeb2=g['handleIRemoveCol'](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x415)]:{_0x83aeb2=g[_0x7ee06b(0x3e1)](_0x884b9c,_0x205e94);break;}}const _0x131b84=g[_0x7ee06b(0x218)](_0x83aeb2,_0x205e94),_0x2c850a=this[_0x7ee06b(0x22e)]['get'](_0x25891f);if(_0x2c850a&&_0x131b84){const _0x3607a3={..._0x2c850a,'range':_0x131b84};this[_0x7ee06b(0x22e)][_0x7ee06b(0x3f1)](_0x25891f,_0x3607a3),_0x119b6b(()=>{const _0x40f8d7=_0x7ee06b,_0x332a88=this[_0x40f8d7(0x3e3)][_0x40f8d7(0x3d1)](_0x131b84,_0x524c3e=>(_0x332a88['dispose'](),_0x4c6e23(_0x524c3e,_0x25891f,_0x161e3b,_0x131b84)));_0x26dd18[_0x40f8d7(0x30a)](_0x332a88);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x665316,_0x2e3922)=>{const _0x18af67=_0x5ccf8e,{range:_0x16915b,sheetID:_0x22f4e6}=_0x665316,_0x3be65b=this[_0x18af67(0x3e3)][_0x18af67(0x3d1)](_0x16915b,_0x46861a=>(_0x3be65b[_0x18af67(0x2f0)](),_0x4c6e23(_0x46861a,_0x2e3922,_0x22f4e6,_0x16915b)));_0x26dd18['add'](_0x3be65b);});};this[_0x53ad29(0x303)](a[_0x53ad29(0x230)](this[_0x53ad29(0x2a1)][_0x53ad29(0x369)](()=>{_0x11232a();})));}[_0x5e93c2(0x1fe)](){const _0x5e17c6=_0x5e93c2;var _0x494cc2,_0x5908dd;if(this[_0x5e17c6(0x292)]=!0x0,((_0x494cc2=this[_0x5e17c6(0x26e)]['getFocusedUnit']())==null?void 0x0:_0x494cc2[_0x5e17c6(0x1e8)]())!==this[_0x5e17c6(0x21a)])return;const _0x337bda=(_0x5908dd=this[_0x5e17c6(0x319)][_0x5e17c6(0x2a3)](g[_0x5e17c6(0x34e)])[_0x5e17c6(0x22c)]())==null?void 0x0:_0x5908dd[0x0],_0x3972d5=this[_0x5e17c6(0x26e)]['getCurrentUnitForType'](a[_0x5e17c6(0x2ff)][_0x5e17c6(0x400)])['getActiveSheet']();_0x337bda&&_0x3972d5&&this[_0x5e17c6(0x3ea)](_0x3972d5['getSheetId'](),_0x337bda);}[_0x5e93c2(0x1dd)](){const _0x4e4c12=_0x5e93c2;this[_0x4e4c12(0x292)]=!0x1;}};Se=it([w(0x2,a['Inject'](a[_0x5e93c2(0x41a)])),w(0x3,a['Inject'](me)),w(0x4,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x35c)])),w(0x5,a[_0x5e93c2(0x3e4)]),w(0x6,a[_0x5e93c2(0x410)]),w(0x7,a[_0x5e93c2(0x1c0)](g[_0x5e93c2(0x1bc)]))],Se);var at=Object[_0x5e93c2(0x2a8)],ct=(_0x3454c5,_0x4f4e76,_0x2dc9b1,_0x5e0e72)=>{for(var _0x28074c=_0x5e0e72>0x1?void 0x0:_0x5e0e72?at(_0x4f4e76,_0x2dc9b1):_0x4f4e76,_0x38ece4=_0x3454c5['length']-0x1,_0x1cf91b;_0x38ece4>=0x0;_0x38ece4--)(_0x1cf91b=_0x3454c5[_0x38ece4])&&(_0x28074c=_0x1cf91b(_0x28074c)||_0x28074c);return _0x28074c;},ie=(_0x442510,_0x172888)=>(_0x588b4e,_0x2eff73)=>_0x172888(_0x588b4e,_0x2eff73,_0x442510);let x=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x11e620,_0x222c6c,_0x7f0211){const _0x5fb54a=_0x5e93c2;super(),h(this,_0x5fb54a(0x3b3),new Map()),h(this,_0x5fb54a(0x1fd),new d[(_0x5fb54a(0x1cd))]()),(this[_0x5fb54a(0x26e)]=_0x11e620,this['_injector']=_0x222c6c,this[_0x5fb54a(0x381)]=_0x7f0211,this[_0x5fb54a(0x1a5)]());}[_0x5e93c2(0x2f0)](){const _0x107146=_0x5e93c2;super[_0x107146(0x2f0)](),this[_0x107146(0x1fd)][_0x107146(0x23a)](),this[_0x107146(0x3b3)]['forEach'](_0x167150=>_0x167150[_0x107146(0x2f0)]());}[_0x5e93c2(0x28f)](_0x144d66){const _0x425a01=_0x5e93c2;return this[_0x425a01(0x3b3)][_0x425a01(0x395)](_0x144d66)?this['_entities'][_0x425a01(0x2a3)](_0x144d66)['cursorInfo$']:this[_0x425a01(0x1fd)]['pipe'](d[_0x425a01(0x1db)](_0x530b80=>_0x530b80[_0x425a01(0x21a)]===_0x144d66),d[_0x425a01(0x27e)](_0x468f68=>_0x468f68['cursorInfo$']));}[_0x5e93c2(0x1a5)](){const _0x4cef15=_0x5e93c2;this[_0x4cef15(0x26e)][_0x4cef15(0x40a)](a[_0x4cef15(0x2ff)][_0x4cef15(0x400)])['pipe'](d['takeUntil'](this[_0x4cef15(0x333)]))['subscribe'](async _0x3d488c=>{const _0x4b4c35=_0x4cef15,_0x41fae1=_0x3d488c[_0x4b4c35(0x1e8)](),_0x580f8c=await this[_0x4b4c35(0x1c2)](_0x41fae1);this[_0x4b4c35(0x1fd)][_0x4b4c35(0x374)](_0x580f8c),this[_0x4b4c35(0x3b3)][_0x4b4c35(0x3f1)](_0x41fae1,_0x580f8c);}),this[_0x4cef15(0x26e)][_0x4cef15(0x40a)](a[_0x4cef15(0x2ff)][_0x4cef15(0x270)])['pipe'](d['takeUntil'](this['dispose$']))[_0x4cef15(0x3a8)](d['filter'](_0x56a4e2=>!_0x56a4e2[_0x4cef15(0x1e8)]()['startsWith']('__')))[_0x4cef15(0x369)](async _0x4ba623=>{const _0x220aab=_0x4cef15,_0xa490d8=_0x4ba623['getUnitId'](),_0x586fdb=await this[_0x220aab(0x2ef)](_0xa490d8);this[_0x220aab(0x1fd)]['next'](_0x586fdb),this[_0x220aab(0x3b3)]['set'](_0xa490d8,_0x586fdb);}),d['merge'](this[_0x4cef15(0x26e)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4cef15(0x270)]),this[_0x4cef15(0x26e)][_0x4cef15(0x231)](a['UniverInstanceType'][_0x4cef15(0x400)]))[_0x4cef15(0x3a8)](d[_0x4cef15(0x301)](this['dispose$']))[_0x4cef15(0x369)](_0x3fcfbb=>{const _0x41d19e=_0x4cef15,_0x4cf9ca=_0x3fcfbb[_0x41d19e(0x1e8)](),_0x186756=this[_0x41d19e(0x3b3)][_0x41d19e(0x2a3)](_0x4cf9ca);_0x186756&&(_0x186756['dispose'](),this[_0x41d19e(0x3b3)][_0x41d19e(0x334)](_0x4cf9ca));});}async[_0x5e93c2(0x1c2)](_0x46fb1c){const _0x447fa9=_0x5e93c2,_0x595d8b=await this['_collabSessionService'][_0x447fa9(0x297)](_0x46fb1c),_0x26faeb=this[_0x447fa9(0x319)][_0x447fa9(0x33c)](Se,_0x46fb1c,_0x595d8b);return _0x26faeb[_0x447fa9(0x340)](),_0x26faeb;}async['_startDocCollabCursor'](_0x4ef6c6){const _0x52d89a=_0x5e93c2,_0x4b0723=await this[_0x52d89a(0x381)]['requireSession'](_0x4ef6c6),_0x15b77f=this[_0x52d89a(0x319)]['createInstance'](fe,_0x4ef6c6,_0x4b0723);return _0x15b77f[_0x52d89a(0x340)](),_0x15b77f;}};x=ct([ie(0x0,a[_0x5e93c2(0x3e4)]),ie(0x1,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),ie(0x2,a['Inject'](u[_0x5e93c2(0x1a1)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x16291b,_0x1c3d58){const _0x1d220a=_0x5e93c2;let {radius:_0x5d11f5,width:_0x12564b,height:_0x1bc728}=_0x1c3d58;_0x5d11f5=_0x5d11f5!=null?_0x5d11f5:0x0,_0x12564b=_0x12564b!=null?_0x12564b:0x1e,_0x1bc728=_0x1bc728!=null?_0x1bc728:0x1e;let _0x327057=0x0,_0x310d48=0x0,_0x209b71=0x0;_0x327057=_0x310d48=_0x209b71=Math[_0x1d220a(0x3cb)](_0x5d11f5,_0x12564b/0x2,_0x1bc728/0x2),_0x16291b['beginPath'](),_0x16291b[_0x1d220a(0x362)](_0x327057,0x0),_0x16291b[_0x1d220a(0x2a0)](_0x12564b-_0x310d48,0x0),_0x16291b[_0x1d220a(0x3bd)](_0x12564b-_0x310d48,_0x310d48,_0x310d48,Math['PI']*0x3/0x2,0x0,!0x1),_0x16291b[_0x1d220a(0x2a0)](_0x12564b,_0x1bc728-_0x209b71),_0x16291b[_0x1d220a(0x3bd)](_0x12564b-_0x209b71,_0x1bc728-_0x209b71,_0x209b71,0x0,Math['PI']/0x2,!0x1),_0x16291b[_0x1d220a(0x2a0)](0x0,_0x1bc728),_0x16291b['lineTo'](0x0,_0x327057),_0x16291b['arc'](_0x327057,_0x327057,_0x327057,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16291b['closePath'](),_0x1c3d58['fill']&&(_0x16291b[_0x1d220a(0x35f)](),_0x16291b[_0x1d220a(0x378)]=_0x1c3d58[_0x1d220a(0x41b)],_0x1c3d58[_0x1d220a(0x2b8)]===_0x1d220a(0x3d7)?_0x16291b[_0x1d220a(0x41b)](_0x1d220a(0x3d7)):_0x16291b[_0x1d220a(0x41b)](),_0x16291b[_0x1d220a(0x2ae)]());}class ee extends p[_0x5e93c2(0x3c4)]{constructor(_0x45de5f,_0x4737c5){const _0x318f31=_0x5e93c2;super(_0x45de5f,_0x4737c5),h(this,'color'),h(this,'text'),(this[_0x318f31(0x2bc)]=_0x4737c5==null?void 0x0:_0x4737c5[_0x318f31(0x2bc)],this[_0x318f31(0x275)]=_0x4737c5==null?void 0x0:_0x4737c5[_0x318f31(0x275)]);}static[_0x5e93c2(0x2a9)](_0x5a440b,_0x14d99a){const _0x3bf0b1=_0x5e93c2,{text:_0x2abb84,color:_0x50ea2f}=_0x14d99a;_0x5a440b['save'](),_0x5a440b['font']=_0x3bf0b1(0x2c6);const _0x23ce55=_0x5a440b[_0x3bf0b1(0x32a)](_0x2abb84)[_0x3bf0b1(0x3ac)],_0x2b9c5d=Math[_0x3bf0b1(0x3cb)](_0x23ce55+0x2*ne,Re);_t(_0x5a440b,{'height':K,'radius':0x4,'width':_0x2b9c5d,'fill':_0x50ea2f}),_0x5a440b[_0x3bf0b1(0x378)]=_0x3bf0b1(0x3d6);const _0x17e506=ne,_0x35f381=K-lt,_0x1e23fb=Re-0x2*ne;if(_0x23ce55>_0x1e23fb){let _0x4c635e='',_0x62476b=0x0;for(const _0xd68667 of _0x2abb84){const _0x34e57b=_0x5a440b[_0x3bf0b1(0x32a)](_0xd68667)[_0x3bf0b1(0x3ac)];if(_0x62476b+_0x34e57b<=_0x1e23fb-_0x5a440b[_0x3bf0b1(0x32a)]('...')[_0x3bf0b1(0x3ac)])_0x4c635e+=_0xd68667,_0x62476b+=_0x34e57b;else{_0x4c635e+=_0x3bf0b1(0x2e9);break;}}_0x5a440b[_0x3bf0b1(0x288)](_0x4c635e,_0x17e506,_0x35f381);}else _0x5a440b['fillText'](_0x2abb84,_0x17e506,_0x35f381);_0x5a440b[_0x3bf0b1(0x2ae)]();}[_0x5e93c2(0x236)](_0x436942){ee['drawWith'](_0x436942,this);}}const re=_0x5e93c2(0x2c3),ht=_0x5e93c2(0x25f),ut=_0x5e93c2(0x3c6),k=0x6,dt=1.5,oe=0x4,ft=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class De{constructor(_0x40ab1b,_0x5bd857,_0x142d7c,_0x1be155){const _0xeab0dc=_0x5e93c2;h(this,'_shapes',[]),h(this,_0xeab0dc(0x352),null),h(this,_0xeab0dc(0x20c),null),h(this,_0xeab0dc(0x1d1),null),h(this,_0xeab0dc(0x3aa),null),h(this,_0xeab0dc(0x2b6),null),(this[_0xeab0dc(0x3c8)]=_0x40ab1b,this[_0xeab0dc(0x376)]=_0x5bd857,this[_0xeab0dc(0x28e)]=_0x142d7c,this[_0xeab0dc(0x1e1)]=_0x1be155,this[_0xeab0dc(0x260)]());}set[_0x5e93c2(0x354)](_0xd9093d){const _0x204cf7=_0x5e93c2;_0xd9093d?(this[_0x204cf7(0x1d1)]&&this[_0x204cf7(0x1d1)][_0x204cf7(0x308)](),this[_0x204cf7(0x20c)]&&this['_textBubble'][_0x204cf7(0x1a2)]()):(this[_0x204cf7(0x1d1)]&&this['_anchorDot'][_0x204cf7(0x1a2)](),this[_0x204cf7(0x20c)]&&this[_0x204cf7(0x20c)][_0x204cf7(0x308)]());}[_0x5e93c2(0x2f0)](){const _0x1d0415=_0x5e93c2;for(const _0x2cda31 of this['_shapes'])_0x2cda31[_0x1d0415(0x2f0)]();this[_0x1d0415(0x20c)]&&this[_0x1d0415(0x20c)][_0x1d0415(0x2f0)](),this[_0x1d0415(0x1d1)]&&this['_anchorDot'][_0x1d0415(0x2f0)](),this[_0x1d0415(0x352)]&&this['_anchor']['dispose'](),this[_0x1d0415(0x2b6)]&&this[_0x1d0415(0x2b6)]();}[_0x5e93c2(0x260)](){const _0x4964b8=_0x5e93c2;var _0x20d6dd;const {_docSkeleton:_0x2d344d,_document:_0x131bc0}=this,{color:_0x7d1352,name:_0x54bb8b,ranges:_0x22bd97}=this[_0x4964b8(0x3c8)],_0x431194=_0x131bc0['getOffsetConfig'](),{docsLeft:_0x16c949,docsTop:_0x32402b}=_0x431194,_0x1f614e=new b[(_0x4964b8(0x313))](_0x431194,_0x2d344d);for(const {startOffset:_0x50e771,endOffset:_0x36a39b,rangeType:_0x415e94,segmentId:_0x1d3c82,segmentPage:_0x313ac3,collapsed:_0x573974,isActive:_0x323728}of _0x22bd97){const _0x11244f=_0x2d344d[_0x4964b8(0x35d)](_0x50e771,!0x0,_0x1d3c82,_0x313ac3);let _0x5e7d30=_0x2d344d[_0x4964b8(0x35d)](_0x36a39b,!0x0,_0x1d3c82,_0x313ac3);if(_0x5e7d30==null&&(_0x5e7d30=_0x2d344d[_0x4964b8(0x35d)](_0x36a39b-0x1,!0x1,_0x1d3c82,_0x313ac3)),_0x323728){const {contentBoxPointGroup:_0x2421db}=_0x1f614e[_0x4964b8(0x1be)](_0x5e7d30,_0x5e7d30);if(_0x2421db[_0x4964b8(0x293)]===0x0)continue;this[_0x4964b8(0x3f2)](_0x7d1352,_0x2421db,_0x16c949,_0x32402b,_0x54bb8b),this[_0x4964b8(0x2b6)]=this[_0x4964b8(0x341)]();}if(_0x11244f&&_0x5e7d30){if(_0x415e94===a[_0x4964b8(0x3dd)][_0x4964b8(0x332)]){const _0xd5feec=new b[(_0x4964b8(0x3b1))](_0x431194,_0x2d344d),{pointGroup:_0x5667}=(_0x20d6dd=_0xd5feec[_0x4964b8(0x1be)](_0x11244f,_0x5e7d30))!=null?_0x20d6dd:{};if(_0x5667==null||_0x5667[_0x4964b8(0x293)]===0x0)continue;this[_0x4964b8(0x31e)](_0x7d1352,_0x5667,_0x16c949,_0x32402b);}else{if(!_0x573974){const {borderBoxPointGroup:_0x517a27}=_0x1f614e[_0x4964b8(0x1be)](_0x11244f,_0x5e7d30);if(_0x517a27[_0x4964b8(0x293)]===0x0)continue;this['_drawTextRange'](_0x7d1352,_0x517a27,_0x16c949,_0x32402b);}}}}}[_0x5e93c2(0x3f2)](_0x1cea32,_0x5ec4f9,_0x120545,_0x29555e,_0x206497){const _0x42d5cc=_0x5e93c2,_0x270890=this[_0x42d5cc(0x302)](_0x5ec4f9),{left:_0xedf67b,top:_0x42e14c,height:_0x4aeca6}=_0x270890,_0x3f6ce9=this[_0x42d5cc(0x3ad)](),_0x1e82ec=ft/_0x3f6ce9,_0x547a70=new p[(_0x42d5cc(0x417))](re+a[_0x42d5cc(0x19d)][_0x42d5cc(0x398)](k),{'left':_0xedf67b+_0x120545-_0x1e82ec,'top':_0x42e14c+_0x29555e,'height':_0x4aeca6,'width':dt,'fill':_0x1cea32||p[_0x42d5cc(0x1c1)](a['COLORS'][_0x42d5cc(0x348)],0x0),'strokeWidth':_0x1e82ec,'stroke':St,'evented':!0x0});this['_anchor']=_0x547a70,this[_0x42d5cc(0x376)][_0x42d5cc(0x252)](_0x547a70,b[_0x42d5cc(0x1a9)]);const _0x36e5a9=new p[(_0x42d5cc(0x417))](re+a[_0x42d5cc(0x19d)][_0x42d5cc(0x398)](k),{'left':_0xedf67b+_0x120545-_0x1e82ec,'top':_0x42e14c+_0x29555e-oe/0x2,'height':oe,'width':oe,'fill':_0x1cea32||p[_0x42d5cc(0x1c1)](a['COLORS'][_0x42d5cc(0x348)],0x0),'strokeWidth':0x0,'stroke':_0x1cea32||p[_0x42d5cc(0x1c1)](a['COLORS'][_0x42d5cc(0x348)],0x0),'evented':!0x1});this[_0x42d5cc(0x1d1)]=_0x36e5a9,this[_0x42d5cc(0x376)][_0x42d5cc(0x252)](_0x36e5a9,b[_0x42d5cc(0x1a9)]);const _0x2b01af=new ee(re+a[_0x42d5cc(0x19d)][_0x42d5cc(0x398)](k),{'left':_0xedf67b+_0x120545-_0x1e82ec,'top':_0x42e14c+_0x29555e-K,'text':_0x206497,'color':_0x1cea32});this[_0x42d5cc(0x20c)]=_0x2b01af,this['_scene'][_0x42d5cc(0x252)](_0x2b01af,b[_0x42d5cc(0x1a9)]),this[_0x42d5cc(0x354)]=!0x1;}[_0x5e93c2(0x341)](){const _0x5128c5=_0x5e93c2,_0x2de4ef=this[_0x5128c5(0x352)][_0x5128c5(0x347)][_0x5128c5(0x390)](()=>{const _0x417071=_0x5128c5;this[_0x417071(0x354)]=!0x0;}),_0x44626d=this[_0x5128c5(0x352)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x1f82b7=_0x5128c5;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1f82b7(0x3aa)]=setTimeout(()=>{const _0x43d93b=_0x1f82b7;this[_0x43d93b(0x354)]=!0x1;},0x7d0);});return()=>{const _0x32786d=_0x5128c5;_0x2de4ef[_0x32786d(0x421)](),_0x44626d['unsubscribe']();};}[_0x5e93c2(0x258)](_0x575e4c,_0x3d55e6,_0x2fa8e9,_0x162545){const _0x27f969=_0x5e93c2,_0x3d5069=new a['ColorKit'](_0x575e4c)[_0x27f969(0x1ff)](0.2)[_0x27f969(0x2b7)](),_0x42c700=new p['RegularPolygon'](ht+a[_0x27f969(0x19d)][_0x27f969(0x398)](k),{'pointsGroup':_0x3d55e6,'fill':_0x3d5069||p[_0x27f969(0x1c1)](a[_0x27f969(0x204)][_0x27f969(0x348)],0.2),'left':_0x2fa8e9,'top':_0x162545,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27f969(0x1b2)]['push'](_0x42c700),this[_0x27f969(0x376)][_0x27f969(0x252)](_0x42c700,b[_0x27f969(0x1a9)]);}[_0x5e93c2(0x31e)](_0x455a00,_0x3288cf,_0x5a9210,_0x4e118f){const _0x39a20b=_0x5e93c2,_0x4fdc02=new a[(_0x39a20b(0x3b2))](_0x455a00)[_0x39a20b(0x1ff)](0.2)[_0x39a20b(0x2b7)](),_0x245a08=new p[(_0x39a20b(0x3b4))](ut+a[_0x39a20b(0x19d)][_0x39a20b(0x398)](k),{'pointsGroup':_0x3288cf,'fill':_0x4fdc02||p[_0x39a20b(0x1c1)](a[_0x39a20b(0x204)][_0x39a20b(0x348)],0.2),'left':_0x5a9210,'top':_0x4e118f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x39a20b(0x298)](_0x245a08),this[_0x39a20b(0x376)][_0x39a20b(0x252)](_0x245a08,b[_0x39a20b(0x1a9)]);}['_getAnchorBounding'](_0xd14b2){const _0x1a99f4=_0xd14b2[0x0],_0x4ce1ce=_0x1a99f4[0x0],_0x41f235=_0x1a99f4[0x2],{x:_0x36d412,y:_0x5467f6}=_0x4ce1ce,{x:_0x55e8c3,y:_0x34f3fc}=_0x41f235;return{'left':_0x36d412,'top':_0x5467f6,'width':_0x55e8c3-_0x36d412,'height':_0x34f3fc-_0x5467f6};}[_0x5e93c2(0x3ad)](){const _0x1ac42d=_0x5e93c2,{scaleX:_0x2b4c77,scaleY:_0x73a0b6}=this[_0x1ac42d(0x376)][_0x1ac42d(0x3f3)]();return Math[_0x1ac42d(0x29d)](_0x2b4c77,_0x73a0b6);}}var It=Object[_0x5e93c2(0x2a8)],vt=(_0x396458,_0x23700e,_0x52dea1,_0x110b28)=>{const _0x3d060c=_0x5e93c2;for(var _0x3ccf6c=_0x110b28>0x1?void 0x0:_0x110b28?It(_0x23700e,_0x52dea1):_0x23700e,_0x3ce15c=_0x396458[_0x3d060c(0x293)]-0x1,_0x2fbd23;_0x3ce15c>=0x0;_0x3ce15c--)(_0x2fbd23=_0x396458[_0x3ce15c])&&(_0x3ccf6c=_0x2fbd23(_0x3ccf6c)||_0x3ccf6c);return _0x3ccf6c;},W=(_0x102453,_0x273042)=>(_0x3778ff,_0x375041)=>_0x273042(_0x3778ff,_0x375041,_0x102453);let Ie=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x281610,_0x5eed6b,_0x404378,_0x3d2949,_0x29cb0d){const _0x1e0b5c=_0x5e93c2;super(),h(this,_0x1e0b5c(0x26d),[]),h(this,_0x1e0b5c(0x3f6),[]),(this[_0x1e0b5c(0x401)]=_0x281610,this['_docSkeletonManagerService']=_0x5eed6b,this[_0x1e0b5c(0x316)]=_0x404378,this['_commandService']=_0x3d2949,this['_themeService']=_0x29cb0d,this[_0x1e0b5c(0x1a5)]());}['_init'](){const _0x5eb971=_0x5e93c2,_0x108b37=this[_0x5eb971(0x401)][_0x5eb971(0x387)],_0xead9d=this['_docSkeletonManagerService'];this['disposeWithMe'](d['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0x108b37),this['_themeService'][_0x5eb971(0x3a0)]])['pipe']($[_0x5eb971(0x1e7)](([_0x38b0b5,_0x371a9d])=>({'skeleton':_0xead9d['getSkeleton'](),'cursors':[..._0x38b0b5[_0x5eb971(0x21f)]()][_0x5eb971(0x2ba)](_0x3ed37c=>({..._0x3ed37c,'color':this[_0x5eb971(0x36a)]['getColorFromTheme'](_0x3ed37c[_0x5eb971(0x2bc)])}))})))[_0x5eb971(0x369)](_0x1a590a=>{const _0x11e862=_0x5eb971;if(this[_0x11e862(0x422)](),_0x1a590a){const {skeleton:_0x4a9f3,cursors:_0x4c01d3}=_0x1a590a;this[_0x11e862(0x3da)](_0x4a9f3,_0x4c01d3);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x5e93c2(0x3da)](_0x4f31fd,_0x2d6711){const _0x57cd5b=_0x5e93c2,{scene:_0x160969,mainComponent:_0x123703}=this['_context'],_0x5bb429=_0x2d6711['map'](_0x2c8abb=>new De(_0x2c8abb,_0x160969,_0x4f31fd,_0x123703));this[_0x57cd5b(0x26d)]=_0x5bb429,this[_0x57cd5b(0x3f6)]=_0x2d6711;}[_0x5e93c2(0x403)](){const _0x4f2e78=_0x5e93c2;this['_removeCollabCursors']();const {scene:_0x404172,mainComponent:_0x73816d}=this[_0x4f2e78(0x401)],_0x486941=this[_0x4f2e78(0x355)][_0x4f2e78(0x273)](),_0x389785=this[_0x4f2e78(0x3f6)][_0x4f2e78(0x1e7)](_0x5d1f67=>new De(_0x5d1f67,_0x404172,_0x486941,_0x73816d));this[_0x4f2e78(0x26d)]=_0x389785;}[_0x5e93c2(0x422)](){const _0xf1bc32=_0x5e93c2;this[_0xf1bc32(0x26d)][_0xf1bc32(0x2a5)](_0x4c986a=>_0x4c986a[_0xf1bc32(0x2f0)]()),this['_cursorShapes']=[];}[_0x5e93c2(0x25c)](){const _0x20c9d8=_0x5e93c2,_0x1e3320=[b[_0x20c9d8(0x38b)]['id']];this['disposeWithMe'](this['_commandService'][_0x20c9d8(0x409)](_0x585549=>{const _0x1b85f0=_0x20c9d8;_0x1e3320[_0x1b85f0(0x314)](_0x585549['id'])&&_0x585549[_0x1b85f0(0x2cc)][_0x1b85f0(0x387)]===this['_context'][_0x1b85f0(0x387)]&&this[_0x1b85f0(0x403)]();}));}['_initResize'](){const _0x590db4=_0x5e93c2;this[_0x590db4(0x303)](a['fromEventSubject'](this[_0x590db4(0x401)][_0x590db4(0x3e5)][_0x590db4(0x3e2)])[_0x590db4(0x3a8)]($['filter'](_0x200e84=>_0x200e84[_0x590db4(0x295)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x590db4(0x3f8)]),$[_0x590db4(0x3c7)](0x10))[_0x590db4(0x369)](()=>{const _0x56cb72=_0x590db4;this[_0x56cb72(0x403)]();}));}};Ie=vt([W(0x1,a[_0x5e93c2(0x1c0)](Y[_0x5e93c2(0x24d)])),W(0x2,a['Inject'](x)),W(0x3,a[_0x5e93c2(0x410)]),W(0x4,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x291)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p['Shape']{constructor(_0x59bc6c,_0x4bb918){const _0x2c64a9=_0x5e93c2;super(_0x59bc6c,_0x4bb918),h(this,_0x2c64a9(0x320)),h(this,_0x2c64a9(0x1ed),!0x1),h(this,_0x2c64a9(0x1fa)),h(this,_0x2c64a9(0x394),''),h(this,_0x2c64a9(0x2f8),'top'),h(this,'_backgroundColor'),(_0x4bb918&&this['setShapeProps'](_0x4bb918),this['onPointerEnter$'][_0x2c64a9(0x390)](()=>this[_0x2c64a9(0x1f4)]({'hovered':!0x0})),this[_0x2c64a9(0x1ec)][_0x2c64a9(0x390)](()=>this[_0x2c64a9(0x1f4)]({'hovered':!0x1})));}['setShapeProps'](_0x3f03e2){const _0x38fdc2=_0x5e93c2;var _0x291898,_0x24b356,_0x28465b,_0x22aa26,_0x576011,_0x5d4cd0;this[_0x38fdc2(0x320)]=(_0x291898=_0x3f03e2[_0x38fdc2(0x2bc)])!=null?_0x291898:this[_0x38fdc2(0x320)],this[_0x38fdc2(0x1ed)]=(_0x24b356=_0x3f03e2['hovered'])!=null?_0x24b356:this[_0x38fdc2(0x1ed)],this[_0x38fdc2(0x1fa)]=(_0x28465b=_0x3f03e2[_0x38fdc2(0x2cf)])!=null?_0x28465b:this[_0x38fdc2(0x1fa)],this['_name']=(_0x22aa26=_0x3f03e2[_0x38fdc2(0x305)])!=null?_0x22aa26:this[_0x38fdc2(0x394)],this['_labelPosition']=(_0x576011=_0x3f03e2[_0x38fdc2(0x3ca)])!=null?_0x576011:this['_labelPosition'],this[_0x38fdc2(0x1f6)]=(_0x5d4cd0=_0x3f03e2[_0x38fdc2(0x20a)])!=null?_0x5d4cd0:this[_0x38fdc2(0x1f6)],this[_0x38fdc2(0x41c)]({'width':_0x3f03e2[_0x38fdc2(0x3ac)],'height':_0x3f03e2[_0x38fdc2(0x3ab)]});}['onMouseMove'](_0x3478c2){const _0x533a74=_0x5e93c2,{row:_0x4c9b93,column:_0x434317}=_0x3478c2;if(_0x4c9b93>=this[_0x533a74(0x1fa)][_0x533a74(0x25e)]&&_0x4c9b93<=this[_0x533a74(0x1fa)][_0x533a74(0x39c)]&&_0x434317>=this[_0x533a74(0x1fa)][_0x533a74(0x244)]&&_0x434317<=this[_0x533a74(0x1fa)][_0x533a74(0x1d2)]){this[_0x533a74(0x1f4)]({'hovered':!0x0});return;}this[_0x533a74(0x1f4)]({'hovered':!0x1});}[_0x5e93c2(0x254)](_0x33199c){return!0x1;}['_draw'](_0x455593){const _0x142610=_0x5e93c2;p[_0x142610(0x417)]['drawWith'](_0x455593,{'width':this[_0x142610(0x3ac)],'height':this[_0x142610(0x3ab)],'strokeWidth':mt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x142610(0x1f6)]}),this[_0x142610(0x1ed)]&&(_0x455593['save'](),_0x455593[_0x142610(0x2ac)](0x1,0x0,0x0,0x1,this[_0x142610(0x3ac)],this[_0x142610(0x2f8)]===_0x142610(0x207)?0x0:-0x14),ee[_0x142610(0x2a9)](_0x455593,{'text':this[_0x142610(0x394)],'color':this[_0x142610(0x320)]}),_0x455593[_0x142610(0x2ae)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x1ff117,_0x246c81,_0x164e80,_0x1080a0)=>{for(var _0x3d3a94=_0x1080a0>0x1?void 0x0:_0x1080a0?Ct(_0x246c81,_0x164e80):_0x246c81,_0x366d20=_0x1ff117['length']-0x1,_0x434842;_0x366d20>=0x0;_0x366d20--)(_0x434842=_0x1ff117[_0x366d20])&&(_0x3d3a94=_0x434842(_0x3d3a94)||_0x3d3a94);return _0x3d3a94;},ae=(_0x67e80,_0x4cb89b)=>(_0x1e0137,_0x31d1aa)=>_0x4cb89b(_0x1e0137,_0x31d1aa,_0x67e80);const bt=0x1389;let ve=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x1902ba,_0x201267,_0x86bac1,_0x331331){const _0x4e132a=_0x5e93c2;super(),h(this,_0x4e132a(0x3f6),new Set()),h(this,'_lastPointer',null),(this[_0x4e132a(0x401)]=_0x1902ba,this[_0x4e132a(0x2f7)]=_0x201267,this[_0x4e132a(0x316)]=_0x86bac1,this[_0x4e132a(0x36a)]=_0x331331,this[_0x4e132a(0x1a5)]());}['_init'](){const _0x4a5807=_0x5e93c2;this[_0x4a5807(0x2f7)][_0x4a5807(0x2de)][_0x4a5807(0x3a8)]($[_0x4a5807(0x301)](this[_0x4a5807(0x333)]),$[_0x4a5807(0x27e)](_0x57305a=>{const _0x36de42=_0x4a5807;if(_0x57305a){const _0x4a2582=_0x57305a[_0x36de42(0x367)];return d['combineLatest'](this['_collabCursorController'][_0x36de42(0x28f)](this[_0x36de42(0x401)][_0x36de42(0x387)]),this['_themeService'][_0x36de42(0x3a0)])['pipe']($[_0x36de42(0x1e7)](([_0x3f8cb0,_0x32485a])=>{const _0x5bf372=new Map();return _0x3f8cb0['forEach']((_0x3e8550,_0x9c9952)=>{const _0x3707ab=_0x286c;if(_0x3e8550[_0x3707ab(0x3a7)]===_0x4a2582){const _0x41f27b={..._0x3e8550};_0x41f27b[_0x3707ab(0x2bc)]=this[_0x3707ab(0x36a)][_0x3707ab(0x36f)](_0x3e8550[_0x3707ab(0x2bc)]),_0x5bf372[_0x3707ab(0x3f1)](_0x9c9952,_0x41f27b);}}),{'skeleton':_0x57305a,'cursors':_0x5bf372};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a5807(0x369)](({skeleton:_0x128940,cursors:_0x20fdb9})=>{const _0x56ef0d=_0x4a5807;this[_0x56ef0d(0x422)](),_0x128940&&this[_0x56ef0d(0x3da)](_0x128940,_0x20fdb9);}),this[_0x4a5807(0x2f7)][_0x4a5807(0x2de)][_0x4a5807(0x369)](_0x4ce842=>{const _0x468056=_0x4a5807;if(_0x4ce842==null)return;const {skeleton:_0x27b25d}=_0x4ce842,{scene:_0x2c705f}=this[_0x468056(0x401)];_0x2c705f[_0x468056(0x2bf)][_0x468056(0x390)](a['debounce'](_0x8d6e20=>{const _0x19fe21=_0x468056;var _0x5a7c1a,_0x3f49bb;const {offsetX:_0x2ed6ac,offsetY:_0x53bd76}=_0x8d6e20,{x:_0x1b1cc5,y:_0x13280b}=_0x2c705f[_0x19fe21(0x3a6)](p[_0x19fe21(0x2e1)][_0x19fe21(0x219)]([_0x2ed6ac,_0x53bd76])),{scaleX:_0x1df499,scaleY:_0x1ce4da}=_0x2c705f[_0x19fe21(0x3f3)](),_0x4a311a=_0x2c705f['getViewport'](p[_0x19fe21(0x32f)]['VIEW_MAIN']),_0x131ebd=_0x2c705f['getVpScrollXYInfoByPosToVp'](p[_0x19fe21(0x2e1)][_0x19fe21(0x219)]([_0x1b1cc5,_0x13280b]),_0x4a311a),_0x30064f=_0x27b25d['getCellPositionByOffset'](_0x2ed6ac,_0x53bd76,_0x1df499,_0x1ce4da,_0x131ebd);((_0x5a7c1a=this['_lastPointer'])==null?void 0x0:_0x5a7c1a['column'])===_0x30064f[_0x19fe21(0x1fb)]&&((_0x3f49bb=this[_0x19fe21(0x389)])==null?void 0x0:_0x3f49bb['row'])===_0x30064f[_0x19fe21(0x3cc)]||this[_0x19fe21(0x3f6)][_0x19fe21(0x2a5)](_0x23ac81=>{const _0x16d835=_0x19fe21;_0x23ac81[_0x16d835(0x284)](_0x30064f);});},0x64));});}[_0x5e93c2(0x3da)](_0x3d25c6,_0x11b6a7){const _0x40f08b=_0x5e93c2;var _0x37d009;const _0x12bcac=(_0x37d009=this['_sheetSkeletonManagerService'][_0x40f08b(0x2ab)]())==null?void 0x0:_0x37d009[_0x40f08b(0x3eb)];if(!_0x12bcac)return;const _0x5c21cd=this[_0x40f08b(0x34a)]();if(!_0x5c21cd)return;this[_0x40f08b(0x3f6)][_0x40f08b(0x2a5)](_0x2143f4=>{const _0x3cfff2=_0x40f08b;_0x2143f4[_0x3cfff2(0x289)]();});const {scene:_0x32effa}=_0x5c21cd,_0x33c980=Et(Array[_0x40f08b(0x23e)](_0x11b6a7[_0x40f08b(0x21f)]()))['map'](_0x5dadef=>{const _0xfb3479=_0x40f08b,{color:_0x5569f8,range:_0x7a537e,name:_0x4d91fe,selection:_0x341a7d,sheetID:_0x8cfce5}=_0x5dadef,{startColumn:_0x357dc9,startRow:_0x31616b,endColumn:_0x5c1bdf,endRow:_0x3ebb03}=_0x7a537e,_0x3c36e7=X['getCoordByCell'](_0x31616b,_0x357dc9,_0x32effa,_0x12bcac),_0x5fd070=X['getCoordByCell'](_0x3ebb03,_0x5c1bdf,_0x32effa,_0x12bcac),{columnHeaderHeightAndMarginTop:_0xa2d8cf}=_0x12bcac,{startX:_0x1112ec,startY:_0x4cc9d5}=_0x3c36e7,{endX:_0x143907,endY:_0x352915}=_0x5fd070,_0x49957e=_0x143907-_0x1112ec,_0x95993=_0x352915-_0x4cc9d5,_0x1f2526={'labelPosition':_0x4cc9d5-_0xa2d8cf>=K?_0xfb3479(0x418):_0xfb3479(0x207),'sheetID':_0x8cfce5,'range':_0x7a537e,'color':_0x5569f8,'name':_0x4d91fe,'selection':_0x341a7d,'left':_0x1112ec,'top':_0x4cc9d5,'width':_0x49957e,'height':_0x95993,'evented':!0x1,'zIndex':bt};return new Ae(_0x4d91fe,_0x1f2526);});_0x32effa['addObjects'](_0x33c980,gt),this[_0x40f08b(0x3f6)]=new Set(_0x33c980);}[_0x5e93c2(0x422)](){const _0x3064b5=_0x5e93c2;var _0x56036d;(_0x56036d=this[_0x3064b5(0x3f6)])==null||_0x56036d['forEach'](_0x2dfb32=>_0x2dfb32['dispose']());}[_0x5e93c2(0x34a)](){const _0x42f700=_0x5e93c2;return X[_0x42f700(0x1d8)](this[_0x42f700(0x401)][_0x42f700(0x3ba)],this[_0x42f700(0x401)]);}};ve=pt([ae(0x1,a[_0x5e93c2(0x1c0)](X[_0x5e93c2(0x271)])),ae(0x2,a[_0x5e93c2(0x1c0)](x)),ae(0x3,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x291)]))],ve);function Et(_0x272694){const _0x2cffd5=_0x5e93c2,_0x40ae10=new Map();return _0x272694[_0x2cffd5(0x2a5)](_0x5453f7=>{const _0x16c09e=_0x2cffd5;if(_0x40ae10[_0x16c09e(0x395)](_0x5453f7[_0x16c09e(0x267)])){const _0xb2524e=_0x40ae10[_0x16c09e(0x2a3)](_0x5453f7[_0x16c09e(0x267)]);_0xb2524e[_0x16c09e(0x305)]+=',\x20'+_0x5453f7['name'];}else _0x40ae10['set'](_0x5453f7[_0x16c09e(0x267)],_0x5453f7);}),Array['from'](_0x40ae10[_0x2cffd5(0x21f)]());}var E=function(){const _0x3f8321=_0x5e93c2;return E=Object[_0x3f8321(0x331)]||function(_0x336afe){const _0x2b1cd9=_0x3f8321;for(var _0x14dd43,_0x773d17=0x1,_0x49c5b1=arguments[_0x2b1cd9(0x293)];_0x773d17<_0x49c5b1;_0x773d17++){_0x14dd43=arguments[_0x773d17];for(var _0x4c37bf in _0x14dd43)Object[_0x2b1cd9(0x388)][_0x2b1cd9(0x1b4)][_0x2b1cd9(0x31a)](_0x14dd43,_0x4c37bf)&&(_0x336afe[_0x4c37bf]=_0x14dd43[_0x4c37bf]);}return _0x336afe;},E['apply'](this,arguments);},Tt=function(_0x5cb230,_0x3ce33c){const _0x1c836a=_0x5e93c2;var _0x4a41db={};for(var _0x1377db in _0x5cb230)Object[_0x1c836a(0x388)][_0x1c836a(0x1b4)][_0x1c836a(0x31a)](_0x5cb230,_0x1377db)&&_0x3ce33c['indexOf'](_0x1377db)<0x0&&(_0x4a41db[_0x1377db]=_0x5cb230[_0x1377db]);if(_0x5cb230!=null&&typeof Object[_0x1c836a(0x3f9)]=='function'){for(var _0x5d3e9b=0x0,_0x1377db=Object[_0x1c836a(0x3f9)](_0x5cb230);_0x5d3e9b<_0x1377db[_0x1c836a(0x293)];_0x5d3e9b++)_0x3ce33c[_0x1c836a(0x2c1)](_0x1377db[_0x5d3e9b])<0x0&&Object[_0x1c836a(0x388)][_0x1c836a(0x1e6)]['call'](_0x5cb230,_0x1377db[_0x5d3e9b])&&(_0x4a41db[_0x1377db[_0x5d3e9b]]=_0x5cb230[_0x1377db[_0x5d3e9b]]);}return _0x4a41db;},pe=M[_0x5e93c2(0x33f)](function(_0x33ef4a,_0x51ddf7){const _0x4d615f=_0x5e93c2;var _0x11c678=_0x33ef4a[_0x4d615f(0x2f4)],_0x4e3673=_0x33ef4a['id'],_0x4d5a92=_0x33ef4a[_0x4d615f(0x3ce)],_0x98102a=_0x33ef4a[_0x4d615f(0x328)],_0x7ab911=Tt(_0x33ef4a,[_0x4d615f(0x2f4),'id',_0x4d615f(0x3ce),_0x4d615f(0x328)]),_0x4e39da=_0x4d615f(0x3e7)['concat'](_0x4e3673,'\x20')[_0x4d615f(0x38a)](_0x4d5a92||'')['trim'](),_0x36d205=M['useRef']('_'['concat'](Dt()));return we(_0x11c678,''[_0x4d615f(0x38a)](_0x4e3673),{'defIds':_0x11c678[_0x4d615f(0x3df)],'idSuffix':_0x36d205[_0x4d615f(0x299)]},E({'ref':_0x51ddf7,'className':_0x4e39da},_0x7ab911),_0x98102a);});function we(_0x382d9e,_0x5f1083,_0x5e55e,_0x30a2b2,_0x5313ae){const _0x533f5d=_0x5e93c2;return M[_0x533f5d(0x1cf)](_0x382d9e[_0x533f5d(0x2fc)],E(E({'key':_0x5f1083},Ot(_0x382d9e,_0x5e55e,_0x5313ae)),_0x30a2b2),(Rt(_0x382d9e,_0x5e55e)[_0x533f5d(0x1d6)]||[])[_0x533f5d(0x1e7)](function(_0x2fe021,_0x26519f){const _0x9251b6=_0x533f5d;return we(_0x2fe021,''[_0x9251b6(0x38a)](_0x5f1083,'-')[_0x9251b6(0x38a)](_0x382d9e[_0x9251b6(0x2fc)],'-')[_0x9251b6(0x38a)](_0x26519f),_0x5e55e,void 0x0,_0x5313ae);}));}function Ot(_0x21c4e7,_0x5295cc,_0xad33a2){const _0x1bf52d=_0x5e93c2;var _0x31f20b=E({},_0x21c4e7[_0x1bf52d(0x3a5)]);_0xad33a2!=null&&_0xad33a2[_0x1bf52d(0x346)]&&_0x31f20b[_0x1bf52d(0x41b)]===_0x1bf52d(0x346)&&(_0x31f20b['fill']=_0xad33a2[_0x1bf52d(0x346)]),_0x21c4e7[_0x1bf52d(0x2fc)]==='mask'&&_0x31f20b['id']&&(_0x31f20b['id']=_0x31f20b['id']+_0x5295cc[_0x1bf52d(0x1b7)]),Object[_0x1bf52d(0x3d5)](_0x31f20b)[_0x1bf52d(0x2a5)](function(_0x34235e){const _0x49cebd=_0x1bf52d;var _0x2aec45=_0x34235e[0x0],_0x2d327f=_0x34235e[0x1];_0x2aec45===_0x49cebd(0x1b8)&&typeof _0x2d327f=='string'&&(_0x31f20b[_0x2aec45]=_0x2d327f['replace'](/url\(#(.*)\)/,_0x49cebd(0x279)[_0x49cebd(0x38a)](_0x5295cc[_0x49cebd(0x1b7)],')')));});var _0xe94c9b=_0x5295cc[_0x1bf52d(0x3df)];return!_0xe94c9b||_0xe94c9b[_0x1bf52d(0x293)]===0x0||(_0x21c4e7[_0x1bf52d(0x2fc)]===_0x1bf52d(0x3ec)&&_0x31f20b[_0x1bf52d(0x1bb)]&&(_0x31f20b[_0x1bf52d(0x1bb)]=_0x31f20b[_0x1bf52d(0x1bb)]+_0x5295cc[_0x1bf52d(0x1b7)]),Object[_0x1bf52d(0x3d5)](_0x31f20b)[_0x1bf52d(0x2a5)](function(_0xa999c4){const _0x45fc14=_0x1bf52d;var _0x2b3b9b=_0xa999c4[0x0],_0x3e9df5=_0xa999c4[0x1];typeof _0x3e9df5==_0x45fc14(0x397)&&(_0x31f20b[_0x2b3b9b]=_0x3e9df5[_0x45fc14(0x3ee)](/url\(#(.*)\)/,_0x45fc14(0x279)[_0x45fc14(0x38a)](_0x5295cc['idSuffix'],')')));})),_0x31f20b;}function Rt(_0x1a73f0,_0x589a37){const _0x382f17=_0x5e93c2;var _0x5699f3,_0x3dd26e=_0x589a37['defIds'];return!_0x3dd26e||_0x3dd26e[_0x382f17(0x293)]===0x0?_0x1a73f0:_0x1a73f0[_0x382f17(0x2fc)]===_0x382f17(0x40d)&&(!((_0x5699f3=_0x1a73f0[_0x382f17(0x1d6)])===null||_0x5699f3===void 0x0)&&_0x5699f3[_0x382f17(0x293)])?E(E({},_0x1a73f0),{'children':_0x1a73f0[_0x382f17(0x1d6)][_0x382f17(0x1e7)](function(_0x36c64e){const _0x55e2c0=_0x382f17;return typeof _0x36c64e[_0x55e2c0(0x3a5)]['id']=='string'&&_0x3dd26e&&_0x3dd26e[_0x55e2c0(0x2c1)](_0x36c64e['attrs']['id'])>-0x1?E(E({},_0x36c64e),{'attrs':E(E({},_0x36c64e['attrs']),{'id':_0x36c64e['attrs']['id']+_0x589a37['idSuffix']})}):_0x36c64e;})}):_0x1a73f0;}function Dt(){const _0x10de4a=_0x5e93c2;return Math[_0x10de4a(0x2f3)]()[_0x10de4a(0x1e2)](0x24)['substring'](0x2,0x8);}function _0x2048(){const _0x4761aa=['CLOSE_ROOM','event$','subunit','complete','IConfigService','m2Prime','enableLocalCache','from','runOnServer','session.connection-failed','DependentOn','getMember','split','startColumn','Warning','_setupSubUnitSync','_heartbeatTimer','CollaborationController','handleDeleteRangeMoveLeft','@univerjs-pro/collaboration-client','getConfig','_send','DocSkeletonManagerService','origin','handleInsertRangeMoveDown','uni.network.url-service','8GouBPa','addObject','collabStatus.fetchMiss','triggerDblclick','UniverCollaborationClientUIPlugin','CollaborationUIEventService','blue.400','_drawTextRange','deepClone','@univerjs/engine-formula','body','_initCommandExecutedListener','collaboration.single-unit.warning','startRow','collab-text-range-','_render','Plugin','OTHER_CLIENTS_EDITING','_roomMembers$','AWAITING','APPLY_DUPLICATED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','selection','3776SDEJwk','m1Prime','round','ITransformService','WebBrowserSingleActiveUnitService','_cursorShapes','_univerInstanceService','on-line-single','UNIVER_DOC','SheetSkeletonManagerService','jsxs','getSkeleton','off-line-single','text','connectInjector','currentColor','_handleHeartbeatEvent','url(#$1','APPLY_REVISION_CONFILICT','addEventListener','ENSURE_SNAPSHOT_EXECUTION','div','switchMap','getActiveSheet','DeleteRangeMoveLeftCommandId','DocStateChangeManagerService','ranges','_localCacheService','onMouseMove','disableLocalCache','HEADER_MENU','svg','fillText','makeDirty','newValue','FETCH_MISS','getStateCache','eventID','_docSkeleton','getCollabCursors$','merge','ThemeService','_online','length','activeSheet$','type','roomMembers$','requireSession','push','current','imageSourceType','transformMutation','symbol','max','0\x200\x2016\x2016','InsertRangeMoveRightCommandId','lineTo','_cursorInfo$','IMessageService','get','OnLineSingle','forEach','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SUBMIT_CHANGESET_TIMEOUT','getOwnPropertyDescriptor','drawWith','getActiveRange','getCurrent','transform','YUUMI_NO_CUBOID_FOR_QUESTION','restore','getUnitStatus$','mergeOverrideWithDependencies','collaboration-client-ui.config','with','_handleEvent','location','LocaleService','_eventUnsubscribe','toRgbString','fillRule','then','flatMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','color','IImageIoService','_configService','onPointerMove$','APPLY_NON_SEQUENTIAL_REVISION','indexOf','_getMergeRange','collab-text-anchor-','doc.mutation.rich-text-editing','ILocalCacheService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','yellow.400','_initDependencies','rxjs','LOGIN_FAILED','_messageService','params','defineProperty','_initStatusComponent','range','_updateSubUnitFromURLParams','ILocalStorageService','roomMembers','LICENSE_DISTRO_REJECTED','DeleteRangeMoveUpCommandId','YUUMI_ALL_TABLES_IS_INVALID','_onCursorUpdate','sessionTicket','6EESBGG','data','_initEntityListener','exhaustSavingTask','_uiPartsService','CommandType','currentSkeleton$','TOO_MANY_REQUESTS','MUTATION','Vector2','UNAUTHENTICATED','@univerjs-pro/collaboration','DisposableCollection','[CollaborationDataLoaderController]','COMPLETION_FINISHED','INVITE_CODE_ALREADY_BOUND','PERMISSION_DENIED','...','DocSelectionManagerService','_ensureSubject','SheetCollabCursorShape','IRemoteInstanceService','none','_startDocCollabCursor','dispose','OFFLINE','ALREADY_EXISTS','random','icon','_handleLeaveEvent','_scheduleClearOtherTimer','_sheetSkeletonManagerService','_labelPosition','useObservable','touchDependencies','pushState','tag','UPDATE_CURSOR','DocCollaborationEntity','UniverInstanceType','getParam','takeUntil','_getAnchorBounding','disposeWithMe','_onRefRangeChange','name','LICENSE_IMPORT_SIZE_EXCEEDED','LOCAL_CACHE_INTERVAL','hide','_removeClearOtherTimer','add','isActive','syncEditingCollabCursor','@univerjs/ui','transformMutationsWithChangeset','Workbook','APPLY_PERMISSION_DENIED','Optional','YUUMI_AI_RUN_FAILED','NodePositionConvertToCursor','includes','CollaborationStatusDisplay','_collabCursorController','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collaborationController','_injector','call','replaceState','_config','send','_drawRectRange','green.600','_color','_localStorageService','url(#off-line-single_clip0_910_343)','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ACTIVE_UNIT_EVENT_CHANNEL','Tooltip','isTransformMutationFailure','getLocalCacheKey','extend','toStringTag','measureText','@univerjs/rpc','setConfig','OffLineSingle','1em','SHEET_VIEWPORT_KEY','YUUMI_ASYNCIO_CANCELLED','assign','RECT','dispose$','delete','CollaborationSocketService','MessageType','CollaborationDataLoaderController','pluginName','UniverCollaborationClientPlugin','Disposable','editingUnit','createInstance','_getSaveTimeout','0\x200\x2017\x2016','forwardRef','init','_handleHover','OTHER_CLIENT_EDITING','Unknown\x20user','ONLINE','_scheduleSaving','colorChannel1','onPointerEnter$','black','subUnitId','_getSheetObject','on-line-single_clip0_910_349','registerComponent','onRendered','SheetsSelectionsService','reconnect','getUnhiddenWorksheets','mutations','_anchor','urlChange$','_hover','_docSkeletonManagerService','_selfUnitIDs','PENDING','react','CollaborationUIEventId','assignAColorForMemberID','USERS_LEAVE','MemberService','findNodePositionByCharIndex','1700430pKFLIZ','save','error','CollaborationEvent','moveTo','session.will-retry','saveTaskMap','getUndoRedoMutationParamsCache','APPLY_REJECT','sheetId','_createSocketURL','subscribe','_themeService','_getSessionTicket','off-line-single_clip0_910_343','post','clipPath','getColorFromTheme','debug','purple.300','BrowserCollaborationSocketService','/run/','next','YUUMI_URL_COL_OUT_OF_RANGE','_scene','M0\x200H16V16H0z','fillStyle','path','contains','runId','349780VVvWOT','addClipboardHook','INTERNAL_ERROR','setParam','replaceDocRanges','_collabSessionService','HTTPService','whenReady','5448488FbhkNv','serializeRangeWithSheet','result','unitId','prototype','_lastPointer','concat','SetDocZoomRatioOperation','Error','getRenderById','asObservable','INVITE_CODE_HAS_BEEN_UES','subscribeEvent','_beforeCloseService','ISocketService','_unitStatus','_name','has','UNRECOGNIZED','string','generateRandomId','_docClipboardService','_dataLoaderService','collabCursorState$','endRow','#fff','AWAITING_WITH_PENDING','_id','currentTheme$','distinctUntilChanged','clearInterval','searchParams','2523507KjiIlW','attrs','getRelativeToViewportCoord','sheetID','pipe','red.300','_hideTimer','height','width','_getScale','useCallback','_colorAssignService','IBeforeCloseService','NodePositionConvertToRectRange','ColorKit','_entities','RegularPolygon','focused$','react/jsx-runtime','DesktopCollaborationStatusDisplayController','getDocRanges','redoState','unit','BehaviorSubject','_collaborationUIEventService','arc','_handleJoinEvent','11geBrGE','actions','NOT_COLLAB','registerBeforeClose','setUndoRedoMutationParamsCache','Shape','updateOfflineData','collab-rect-range-','throttleTime','_cursor','wsSessionTicketUrl','labelPosition','min','row','_commandService','className','WebURLService','PY_RUNTIME_SCRIPT_ERROR','registerRefRange','addHandlerCallback','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformIMECache','entries','#FFF','evenodd','LICENSE_MAX_UNITS_EXCEEDED','_syncEditingCollabCursorService','_updateCollabCursors','all','_session','DOC_RANGE_TYPE','_transformUndoRedoStack','defIds','isArray','handleIRemoveRow','onTransformChange$','_refRangeService','IUniverInstanceService','engine','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univerjs-icon\x20univerjs-icon-','handleInsertRow','transformSelections','_updateLocalCursor','skeleton','use','WebSocketService','replace','Failed','CONNECTOR_DATA_TOO_LARGE','set','_drawAnchor','getAncestorScale','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','_cursors','_status$','resize','getOwnPropertySymbols','collab-client.tooltip.reconnect','entityInit$','docStateChange$','executeCommand','getItem','INVITE_CODE_REQUIRED','UNIVER_SHEET','_context','_transformService','_refreshCollabCursors','search','Module','_updateURLWithCurrentState','SNAPSHOT_HAS_BEEN_REMOVED','IDocClipboardService','onCommandExecuted','getTypeOfUnitAdded$','TEXT','setStateCache','defs','RevisionService','CHANGESET_REVISION_CONFILICT','ICommandService','_colorIndex','some','getSheetId','LICENSE_EXPORT_SIZE_EXCEEDED','RemoveRowCommandId','getValue','Rect','top','jsx','Injector','fill','transformByState','getSheetBySheetId','_docSyncEditingCollabCursorService','@univerjs/network','USER_NOT_INVITED_CODE','unsubscribe','_removeCollabCursors','RemoteUniscriptService','NO_OTHER_CLIENTS_EDITING','rxjs/operators','isTransformMutationsWithChangesetSuccess','collabStatus.conflict','loadUnit','stringify','handleDeleteRangeMoveUp','InsertRangeMoveDownCommandId','href','36pBSEOD','1506088pYlqdM','displayName','Tools','DataLoaderService','useDependency','_collabCursorState$','CollaborationSessionService','show','7WsONHd','transformRemoteChangeset','_init','status$','_instanceService','saveImage','TEXT_RANGE_LAYER_INDEX','_logService','_docTransformIMECacheService','setActiveRange','translate(.97)','_memberService','8386500pkQkWH','size','RxDisposable','_shapes','RichTextEditingMutation','hasOwnProperty','setItem','_transformPreviousActiveRange','idSuffix','mask','SNAPSHOT_INVALID_SNAPSHOT','INVALID_INVITE_CODE','xlink:href','RefRangeService','registerRenderModule','getRangePointData','WECHAT_HAS_BEEN_BOUND','Inject','getColor','_startSheetCollabCursor','_httpService','onLocalMutation','debounceTime','@univerjs/drawing','textRanges','unshift','_onCursorDelete','cursorInfo$','handleInsertRangeMoveRight','@univerjs/sheets','Subject','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','createElement','source','_anchorDot','endColumn','getFocusedUnit','_cachedData','_transformHistoryAndStateStack','children','UNDEFINED','getSheetObject','CONFLICT','_disabled','filter','_urlService','_toggleOffline','_localeService','clearTimeout','MOBILE_HAS_BEEN_BOUND','_document','toString','EffectRefRangId','removeParam','SetWorksheetActivateCommand','propertyIsEnumerable','map','getUnitId','code','_doCreateSocket','EMAIL_HAS_BEEN_BOUND','onPointerLeave$','_hovered','MoveRangeCommandId','createIdentifier','SYNCED','_unitOnClients','debounce','JOIN_ROOM_FAILED','setShapeProps','SetTextSelectionsOperation','_backgroundColor','_saveTaskMap','_docStateChangeManagerService','disposeUnit','_range','column','popstate','_entityInit$','_toggleOnline','setAlpha','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SessionStatus','UniverIcon','jiqing.500','COLORS','selections','INVALID_ARGUMENT','bottom','collaboration.closeRoom','ISnapshotServerService','backgroundColor','ticket','_textBubble','executionId','YUUMI_RATE_OVER_LIMIT','_setupBeforeClosingHandler','handleInsertCol','parse','ILogService','InsertRowCommandId','url(#on-line-single_clip0_910_349)','IRenderManagerService','_notificationService','_imageIoService','runRefRangeMutations','FromArray','unitID','_assignedColors','_docTransformSelectionsService','@univerjs/engine-render','getMemberID','values','YUUMI_UNABLE_LOAD_URL','history','IUIPartsService','_registerDependencies','_initStatusListener','_clearOtherTimers','DocIMEInputManagerService','sessionStatus$','NOT_FOUND','CollaborationStatus','_saveCache','UnitStatus','getCurrentSelections','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','cursorInfo','collabStatus.synced','toDisposable','getTypeOfUnitDisposed$','_initEvent','transformStateCache','_revisionService','_renderManagerService','_draw'];_0x2048=function(){return _0x4761aa;};return _0x2048();}pe[_0x5e93c2(0x19c)]=_0x5e93c2(0x202);var Ut={'tag':_0x5e93c2(0x287),'attrs':{'fill':'none','viewBox':_0x5e93c2(0x29e),'width':_0x5e93c2(0x32e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5e93c2(0x322)},'children':[{'tag':_0x5e93c2(0x379),'attrs':{'stroke':_0x5e93c2(0x277),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e93c2(0x40d),'attrs':{},'children':[{'tag':_0x5e93c2(0x36e),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x5e93c2(0x379),'attrs':{'fill':_0x5e93c2(0x39d),'d':_0x5e93c2(0x377)}}]}]}],'defIds':[_0x5e93c2(0x36c)]},ye=M[_0x5e93c2(0x33f)](function(_0x2aea9f,_0x2144e6){const _0x2025ee=_0x5e93c2;return M[_0x2025ee(0x1cf)](pe,Object['assign']({},_0x2aea9f,{'id':_0x2025ee(0x274),'ref':_0x2144e6,'icon':Ut}));});ye[_0x5e93c2(0x19c)]=_0x5e93c2(0x32d);var Nt={'tag':_0x5e93c2(0x287),'attrs':{'fill':_0x5e93c2(0x2ee),'viewBox':_0x5e93c2(0x33e),'width':_0x5e93c2(0x32e),'height':_0x5e93c2(0x32e)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e93c2(0x214)},'children':[{'tag':_0x5e93c2(0x379),'attrs':{'stroke':_0x5e93c2(0x277),'d':_0x5e93c2(0x22d),'strokeLinecap':'round','strokeLinejoin':_0x5e93c2(0x26a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e93c2(0x36e),'attrs':{'id':_0x5e93c2(0x34b)},'children':[{'tag':_0x5e93c2(0x379),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x5e93c2(0x1ad)}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M[_0x5e93c2(0x33f)](function(_0x5e4ebf,_0x3eedbd){const _0x5e8f0a=_0x5e93c2;return M[_0x5e8f0a(0x1cf)](pe,Object['assign']({},_0x5e4ebf,{'id':_0x5e8f0a(0x26f),'ref':_0x3eedbd,'icon':Nt}));});$e[_0x5e93c2(0x19c)]=_0x5e93c2(0x2a4);function Mt(_0x429091){const _0x548d7d=_0x5e93c2;switch(_0x429091){case u['CollaborationStatus'][_0x548d7d(0x2f1)]:return'collabStatus.offline';case u[_0x548d7d(0x229)][_0x548d7d(0x1d9)]:return _0x548d7d(0x194);case u[_0x548d7d(0x229)][_0x548d7d(0x28b)]:return _0x548d7d(0x253);case u['CollaborationStatus'][_0x548d7d(0x3c1)]:return'collabStatus.notCollab';case u['CollaborationStatus'][_0x548d7d(0x264)]:case u[_0x548d7d(0x229)][_0x548d7d(0x39e)]:return'collabStatus.syncing';case u[_0x548d7d(0x229)][_0x548d7d(0x1f0)]:case u[_0x548d7d(0x229)][_0x548d7d(0x357)]:return _0x548d7d(0x22f);}}function xe(_0x36bc34){const _0x3135b=_0x5e93c2,{status$:_0x5944c4}=_0x36bc34,_0x1ec2e8=T[_0x3135b(0x2f9)](_0x5944c4,u[_0x3135b(0x229)][_0x3135b(0x3c1)]),_0x22f8a7=T[_0x3135b(0x19f)](a[_0x3135b(0x2b5)]),_0x56b596=T[_0x3135b(0x19f)](u[_0x3135b(0x1a1)]),_0x2cb888=_0x1ec2e8!==u['CollaborationStatus'][_0x3135b(0x2f1)],_0x1a266c=_0x22f8a7['t'](Mt(_0x1ec2e8)),_0x13b814=_0x2cb888?P[_0x3135b(0x419)]($e,{}):P[_0x3135b(0x419)](ye,{}),_0x4ebb95=M[_0x3135b(0x3ae)](()=>{const _0x374d17=_0x3135b;_0x2cb888||_0x56b596[_0x374d17(0x34f)]();},[_0x2cb888,_0x56b596]);function _0x4b4863(){const _0x2e101e=_0x3135b;return P[_0x2e101e(0x272)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x4ebb95,'children':[P[_0x2e101e(0x419)](_0x2e101e(0x27d),{'className':D['clsx']('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x2cb888,'univer-text-red-500':!_0x2cb888}),'children':_0x13b814}),P[_0x2e101e(0x419)]('div',{'className':_0x2e101e(0x3d3),'children':_0x1a266c})]});}return _0x2cb888?_0x4b4863():P['jsx'](D[_0x3135b(0x325)],{'title':_0x22f8a7['t'](_0x3135b(0x3fa)),'children':_0x4b4863()});}var Lt=Object[_0x5e93c2(0x2a8)],Pt=(_0x13f3f4,_0x19f634,_0x17c93f,_0x91e6c0)=>{const _0xb71dcf=_0x5e93c2;for(var _0x564679=_0x91e6c0>0x1?void 0x0:_0x91e6c0?Lt(_0x19f634,_0x17c93f):_0x19f634,_0x2690ce=_0x13f3f4[_0xb71dcf(0x293)]-0x1,_0x1a9dc7;_0x2690ce>=0x0;_0x2690ce--)(_0x1a9dc7=_0x13f3f4[_0x2690ce])&&(_0x564679=_0x1a9dc7(_0x564679)||_0x564679);return _0x564679;},V=(_0x383297,_0x30c192)=>(_0x4ba33d,_0x259ee5)=>_0x30c192(_0x4ba33d,_0x259ee5,_0x383297);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x52123e,_0x3794d5,_0x2a95d2,_0x6d08a0){const _0x24980a=_0x5e93c2;super(),h(this,_0x24980a(0x3f7),new d['BehaviorSubject'](u[_0x24980a(0x229)][_0x24980a(0x3c1)])),(this['_univerInstanceService']=_0x52123e,this[_0x24980a(0x319)]=_0x3794d5,this[_0x24980a(0x318)]=_0x2a95d2,this[_0x24980a(0x2dc)]=_0x6d08a0,this[_0x24980a(0x2ce)](),this[_0x24980a(0x224)]());}[_0x5e93c2(0x224)](){const _0x9a8efd=_0x5e93c2;this[_0x9a8efd(0x303)](this['_univerInstanceService'][_0x9a8efd(0x3b5)][_0x9a8efd(0x3a8)](d[_0x9a8efd(0x27e)](()=>{const _0x15c367=_0x9a8efd,_0x1a0ff0=this[_0x15c367(0x26e)]['getFocusedUnit']();return _0x1a0ff0?this['_collaborationController']['getCollabEntity$'](_0x1a0ff0[_0x15c367(0x1e8)]()):d['of'](null);}),d[_0x9a8efd(0x27e)](_0x332953=>_0x332953?_0x332953[_0x9a8efd(0x1a6)]:d['of'](u[_0x9a8efd(0x229)][_0x9a8efd(0x3c1)])))[_0x9a8efd(0x369)](_0x4e3c5f=>{const _0x241fdd=_0x9a8efd;this[_0x241fdd(0x3f7)][_0x241fdd(0x374)](_0x4e3c5f);}));}['_initStatusComponent'](){const _0x179d2c=_0x5e93c2;this[_0x179d2c(0x303)](this[_0x179d2c(0x2dc)][_0x179d2c(0x34c)](T['BuiltInUIPart'][_0x179d2c(0x286)],()=>T[_0x179d2c(0x276)](At({'status$':this['_status$'][_0x179d2c(0x38e)]()}),this[_0x179d2c(0x319)])));}},exports[_0x5e93c2(0x3b7)]=Pt([V(0x0,a[_0x5e93c2(0x3e4)]),V(0x1,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),V(0x2,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x248)])),V(0x3,T[_0x5e93c2(0x222)])],exports[_0x5e93c2(0x3b7)]);function At(_0x2bc61b){const {status$:_0x11fe64}=_0x2bc61b;return function(){const _0xeeb093=_0x286c;return P[_0xeeb093(0x419)](xe,{'status$':_0x11fe64});};}var wt=Object[_0x5e93c2(0x2a8)],yt=(_0xfd62e7,_0x431b3c,_0x13c107,_0x1ef92d)=>{const _0x7634f4=_0x5e93c2;for(var _0x4a2b4f=_0x1ef92d>0x1?void 0x0:_0x1ef92d?wt(_0x431b3c,_0x13c107):_0x431b3c,_0x29e4ac=_0xfd62e7[_0x7634f4(0x293)]-0x1,_0x5dbb69;_0x29e4ac>=0x0;_0x29e4ac--)(_0x5dbb69=_0xfd62e7[_0x29e4ac])&&(_0x4a2b4f=_0x5dbb69(_0x4a2b4f)||_0x4a2b4f);return _0x4a2b4f;},y=(_0x28912a,_0x3eca53)=>(_0x136c19,_0x4b1b89)=>_0x3eca53(_0x136c19,_0x4b1b89,_0x28912a);let q=class extends a[_0x5e93c2(0x33a)]{constructor(_0x213d88,_0x3fe093,_0x54e5fb,_0x4fd6f6,_0x5a8863,_0x3c32cb){const _0x237f26=_0x5e93c2;super(),this['_beforeCloseService']=_0x213d88,this[_0x237f26(0x283)]=_0x3fe093,this['_collaborationUIEventService']=_0x54e5fb,this['_messageService']=_0x4fd6f6,this[_0x237f26(0x216)]=_0x5a8863,this[_0x237f26(0x1de)]=_0x3c32cb,this['_setupBeforeClosingHandler'](),this[_0x237f26(0x232)]();}[_0x5e93c2(0x20f)](){const _0x1754ee=_0x5e93c2;this[_0x1754ee(0x303)](this[_0x1754ee(0x391)][_0x1754ee(0x3c2)](()=>{const _0xa9f51d=_0x1754ee;if(this[_0xa9f51d(0x283)][_0xa9f51d(0x364)]['size'])return this[_0xa9f51d(0x1de)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x5e93c2(0x232)](){const _0x40cca3=_0x5e93c2;this[_0x40cca3(0x303)](this[_0x40cca3(0x3bc)][_0x40cca3(0x238)][_0x40cca3(0x369)](_0x2dc08b=>{const _0x35dc79=_0x40cca3;_0x2dc08b['id']===u[_0x35dc79(0x359)][_0x35dc79(0x342)]&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)][_0x35dc79(0x245)],'content':this[_0x35dc79(0x1de)]['t'](_0x35dc79(0x25d))}),_0x2dc08b['id']===u[_0x35dc79(0x359)][_0x35dc79(0x237)]&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D['MessageType']['Warning'],'content':this[_0x35dc79(0x1de)]['t'](_0x35dc79(0x208))}),_0x2dc08b['id']===u[_0x35dc79(0x359)]['PERMISSION_DENIED']&&this['_notificationService'][_0x35dc79(0x1a2)]({'title':this[_0x35dc79(0x1de)]['t']('permission.title'),'content':this[_0x35dc79(0x1de)]['t']('permission.content'),'type':_0x35dc79(0x360),'duration':0x0}),_0x2dc08b['id']===u[_0x35dc79(0x359)][_0x35dc79(0x1d9)]&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D['MessageType']['Error'],'content':this[_0x35dc79(0x1de)]['t'](_0x35dc79(0x208))+'('+_0x2dc08b[_0x35dc79(0x2d9)]+')'}),_0x2dc08b['id']===u['CollaborationUIEventId'][_0x35dc79(0x1f3)]&&this[_0x35dc79(0x2cb)][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)]['Warning'],'content':this[_0x35dc79(0x1de)]['t'](_0x2dc08b['data']||'')}),_0x2dc08b['id']===u[_0x35dc79(0x359)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)][_0x35dc79(0x245)],'content':this['_localeService']['t'](_0x35dc79(0x363))}),_0x2dc08b['id']===u['CollaborationUIEventId']['SOCKET_FAILED']&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)][_0x35dc79(0x38c)],'content':this[_0x35dc79(0x1de)]['t'](_0x35dc79(0x240))}),_0x2dc08b['id']===u[_0x35dc79(0x359)][_0x35dc79(0x2a7)]&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)][_0x35dc79(0x38c)],'content':this[_0x35dc79(0x1de)]['t']('session.collaboration-timeout')});}));}};q=yt([y(0x0,T[_0x5e93c2(0x3b0)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x256)])),y(0x3,T[_0x5e93c2(0x2a2)]),y(0x4,T['INotificationService']),y(0x5,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x2b5)]))],q);const $t=_0x5e93c2(0x2b1),Ue={},be=a[_0x5e93c2(0x1ef)](_0x5e93c2(0x250));var xt=Object[_0x5e93c2(0x2a8)],jt=(_0x5111ec,_0x47f196,_0xafffef,_0x435f9f)=>{for(var _0x499ba9=_0x435f9f>0x1?void 0x0:_0x435f9f?xt(_0x47f196,_0xafffef):_0x47f196,_0x2a73bc=_0x5111ec['length']-0x1,_0x28ab6c;_0x2a73bc>=0x0;_0x2a73bc--)(_0x28ab6c=_0x5111ec[_0x2a73bc])&&(_0x499ba9=_0x28ab6c(_0x499ba9)||_0x499ba9);return _0x499ba9;},H=(_0x5966dd,_0x1600d3)=>(_0x117675,_0xe95505)=>_0x1600d3(_0x117675,_0xe95505,_0x5966dd);exports[_0x5e93c2(0x337)]=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x3bf34a,_0x3f0293,_0x40efb1,_0x17b89a,_0x5f4248){const _0x382258=_0x5e93c2;super(),this['_urlService']=_0x3bf34a,this[_0x382258(0x1aa)]=_0x3f0293,this[_0x382258(0x3cd)]=_0x40efb1,this['_dataLoaderService']=_0x17b89a,_0x5f4248?_0x5f4248==null||_0x5f4248[_0x382258(0x383)]()[_0x382258(0x2b9)](()=>this[_0x382258(0x1a5)]()):(this[_0x382258(0x1aa)][_0x382258(0x370)](_0x382258(0x2e5),_0x382258(0x317)),this[_0x382258(0x1a5)]());}async[_0x5e93c2(0x1a5)](){const _0x257cef=_0x5e93c2,_0x39703c=this[_0x257cef(0x1dc)][_0x257cef(0x300)](_0x257cef(0x3ba)),_0x25bfa2=this['_urlService']['getParam'](_0x257cef(0x295)),_0x4002cb=this[_0x257cef(0x1dc)][_0x257cef(0x300)](_0x257cef(0x239));if(!_0x39703c||!_0x25bfa2){this[_0x257cef(0x1aa)][_0x257cef(0x370)](_0x257cef(0x2e5),_0x257cef(0x3e6));return;}const _0x52f2d4=await this[_0x257cef(0x39a)][_0x257cef(0x195)](_0x39703c,Number(_0x25bfa2),_0x4002cb);_0x52f2d4&&_0x52f2d4 instanceof a[_0x257cef(0x30f)]&&this[_0x257cef(0x246)](_0x52f2d4);}async['_setupSubUnitSync'](_0x3cc3f5){const _0xc64895=_0x5e93c2;await this['_updateSubUnitFromURLParams'](_0x3cc3f5),_0x3cc3f5[_0xc64895(0x294)]['pipe'](d[_0xc64895(0x301)](this[_0xc64895(0x333)]))[_0xc64895(0x369)](_0x19494f=>{const _0x207f61=_0xc64895;_0x19494f&&this[_0x207f61(0x406)](_0x19494f);}),this[_0xc64895(0x1dc)][_0xc64895(0x353)][_0xc64895(0x3a8)](d[_0xc64895(0x301)](this['dispose$']))[_0xc64895(0x369)](()=>this[_0xc64895(0x2d0)](_0x3cc3f5));}['_updateURLWithCurrentState'](_0x99dc81,_0x5b0701=!0x1){const _0x772b7=_0x5e93c2,_0x3779f8=this[_0x772b7(0x1dc)][_0x772b7(0x300)]('subunit');_0x99dc81[_0x772b7(0x413)]()!==_0x3779f8&&this[_0x772b7(0x1dc)][_0x772b7(0x37f)]('subunit',_0x99dc81[_0x772b7(0x413)](),_0x5b0701);}async['_updateSubUnitFromURLParams'](_0x20bea7){const _0x4d5b1a=_0x5e93c2;var _0x32a029;const _0x13cb47=this[_0x4d5b1a(0x1dc)][_0x4d5b1a(0x300)]('subunit');if(!_0x13cb47||!_0x20bea7[_0x4d5b1a(0x41d)](_0x13cb47)){const _0x17d66b=_0x20bea7[_0x4d5b1a(0x350)]()[0x0],_0x29a545=_0x20bea7[_0x4d5b1a(0x41d)](_0x17d66b);if(!_0x29a545)return;this[_0x4d5b1a(0x406)](_0x29a545,!0x0),await this[_0x4d5b1a(0x3cd)][_0x4d5b1a(0x3fd)](g[_0x4d5b1a(0x1e5)]['id'],{'unitId':_0x20bea7[_0x4d5b1a(0x1e8)](),'subUnitId':_0x17d66b});return;}((_0x32a029=_0x20bea7[_0x4d5b1a(0x27f)]())==null?void 0x0:_0x32a029[_0x4d5b1a(0x413)]())!==_0x13cb47&&await this[_0x4d5b1a(0x3cd)][_0x4d5b1a(0x3fd)](g[_0x4d5b1a(0x1e5)]['id'],{'unitId':_0x20bea7[_0x4d5b1a(0x1e8)](),'subUnitId':_0x13cb47});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x5e93c2(0x212)]),H(0x2,a[_0x5e93c2(0x410)]),H(0x3,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x19e)])),H(0x4,a[_0x5e93c2(0x311)](Ke[_0x5e93c2(0x2ed)]))],exports[_0x5e93c2(0x337)]);var Bt=Object[_0x5e93c2(0x2a8)],kt=(_0x49371d,_0x1815df,_0xc0b3a3,_0x411771)=>{const _0x5aaafd=_0x5e93c2;for(var _0x486282=_0x411771>0x1?void 0x0:_0x411771?Bt(_0x1815df,_0xc0b3a3):_0x1815df,_0x12d25d=_0x49371d[_0x5aaafd(0x293)]-0x1,_0x1718a9;_0x12d25d>=0x0;_0x12d25d--)(_0x1718a9=_0x49371d[_0x12d25d])&&(_0x486282=_0x1718a9(_0x486282)||_0x486282);return _0x486282;},ce=(_0x1981b1,_0x48fdd5)=>(_0x25973c,_0x341c98)=>_0x48fdd5(_0x25973c,_0x341c98,_0x1981b1);let z=class{constructor(_0x493434,_0x53f0e0,_0x19c846){const _0x2ad8b=_0x5e93c2;this['_injector']=_0x493434,this[_0x2ad8b(0x402)]=_0x53f0e0,this[_0x2ad8b(0x235)]=_0x19c846;}['transformIMECache'](_0x5a059e){const _0x3b9ffa=_0x5e93c2;this[_0x3b9ffa(0x3de)](_0x5a059e),this[_0x3b9ffa(0x1b6)](_0x5a059e);}[_0x5e93c2(0x1a4)](_0x3ab589){const _0x2625bd=_0x5e93c2,{unitID:_0x113c55}=_0x3ab589,_0x8b1599=this[_0x2625bd(0x235)][_0x2625bd(0x38d)](_0x113c55)[_0x2625bd(0x2b2)](b[_0x2625bd(0x226)]),{redoCache:_0x4438b8}=_0x8b1599[_0x2625bd(0x365)]();if(_0x4438b8[_0x2625bd(0x293)]===0x0)return _0x3ab589;let _0x1daae6=a[_0x2625bd(0x19d)][_0x2625bd(0x259)](_0x3ab589[_0x2625bd(0x351)][0x0]);for(let _0x332023=0x0;_0x332023<_0x4438b8[_0x2625bd(0x293)];_0x332023++){const _0x57394b={'id':'doc.mutation.rich-text-editing','params':{..._0x4438b8[_0x332023]}},_0x28e156=this[_0x2625bd(0x402)][_0x2625bd(0x29b)](_0x1daae6,_0x57394b,!0x1);if(m[_0x2625bd(0x326)](_0x28e156))throw _0x28e156[_0x2625bd(0x360)];_0x1daae6=_0x28e156[_0x2625bd(0x269)];}return{...a[_0x2625bd(0x19d)][_0x2625bd(0x259)](_0x3ab589),'mutations':[_0x1daae6]};}[_0x5e93c2(0x3de)](_0x3bba54){const _0x3b1e6a=_0x5e93c2,{unitID:_0x3d4447}=_0x3bba54,_0x76407a=this[_0x3b1e6a(0x235)][_0x3b1e6a(0x38d)](_0x3d4447)[_0x3b1e6a(0x2b2)](b[_0x3b1e6a(0x226)]),{undoCache:_0x17995a,redoCache:_0x5bb96e}=_0x76407a['getUndoRedoMutationParamsCache']();if(_0x17995a['length']===0x0||_0x5bb96e['length']===0x0)return;const _0x2d730a=[],_0x59829b=[];let _0x245232=a[_0x3b1e6a(0x19d)][_0x3b1e6a(0x259)](_0x3bba54[_0x3b1e6a(0x351)][0x0]),_0x2e9b82=a['Tools'][_0x3b1e6a(0x259)](_0x3bba54[_0x3b1e6a(0x351)][0x0]);for(let _0x870098=_0x17995a[_0x3b1e6a(0x293)]-0x1;_0x870098>=0x0;_0x870098--){const _0x18efaa={'id':_0x3b1e6a(0x2c4),'params':{..._0x17995a[_0x870098]}},_0xadff8a={'id':_0x3b1e6a(0x2c4),'params':{..._0x5bb96e[_0x870098]}},_0xa42b30=this[_0x3b1e6a(0x402)]['transformMutation'](_0x245232,_0x18efaa,!0x1),_0x18913c=this[_0x3b1e6a(0x402)]['transformMutation'](_0x2e9b82,_0xadff8a,!0x1);if(m[_0x3b1e6a(0x326)](_0xa42b30))throw _0xa42b30[_0x3b1e6a(0x360)];if(m['isTransformMutationFailure'](_0x18913c))throw _0x18913c[_0x3b1e6a(0x360)];_0x2d730a['unshift'](_0xa42b30[_0x3b1e6a(0x23c)][_0x3b1e6a(0x2cc)]),_0x59829b[_0x3b1e6a(0x1c8)](_0x18913c[_0x3b1e6a(0x23c)]['params']),_0x245232=_0xa42b30[_0x3b1e6a(0x269)],_0x2e9b82=_0x18913c[_0x3b1e6a(0x269)];}_0x76407a[_0x3b1e6a(0x3c3)]({'undoCache':_0x2d730a,'redoCache':_0x59829b});}[_0x5e93c2(0x1b6)](_0xdf9739){const _0x453d86=_0x5e93c2,{unitID:_0x3c629c}=_0xdf9739,_0xb33601=this[_0x453d86(0x235)][_0x453d86(0x38d)](_0x3c629c)[_0x453d86(0x2b2)](b[_0x453d86(0x226)]),_0x349856=_0xb33601[_0x453d86(0x2aa)]();if(_0x349856==null)return;const _0x53f9bd=[{'id':_0x453d86(0x2c4),'params':{'unitId':_0xdf9739[_0x453d86(0x21a)],'actions':null,'textRanges':[_0x349856]}}],_0x268edc=this[_0x453d86(0x402)]['transformMutationsWithChangeset'](_0xdf9739,_0x53f9bd);if(!m[_0x453d86(0x193)](_0x268edc))throw _0x268edc[_0x453d86(0x360)];const _0x268685=_0x268edc[_0x453d86(0x23c)][0x0]['params'][_0x453d86(0x1c7)];Array[_0x453d86(0x3e0)](_0x268685)&&_0x268685[_0x453d86(0x293)]&&_0xb33601[_0x453d86(0x1ac)](_0x268685[0x0]);}};z=kt([ce(0x0,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),ce(0x1,m['ITransformService']),ce(0x2,p[_0x5e93c2(0x215)])],z);var Ht=Object[_0x5e93c2(0x2a8)],Ft=(_0x3416f5,_0x1fe4ff,_0x4716e5,_0x4a97fd)=>{const _0x52ab28=_0x5e93c2;for(var _0x4a191a=_0x4a97fd>0x1?void 0x0:_0x4a97fd?Ht(_0x1fe4ff,_0x4716e5):_0x1fe4ff,_0x359b00=_0x3416f5[_0x52ab28(0x293)]-0x1,_0x1a0d3f;_0x359b00>=0x0;_0x359b00--)(_0x1a0d3f=_0x3416f5[_0x359b00])&&(_0x4a191a=_0x1a0d3f(_0x4a191a)||_0x4a191a);return _0x4a191a;},le=(_0x3a219b,_0x41c9c8)=>(_0x3db0bd,_0x4c5a68)=>_0x41c9c8(_0x3db0bd,_0x4c5a68,_0x3a219b);let J=class{constructor(_0x152aad,_0x52c548,_0x11bb11){const _0x40f178=_0x5e93c2;this[_0x40f178(0x319)]=_0x152aad,this[_0x40f178(0x402)]=_0x52c548,this[_0x40f178(0x1f8)]=_0x11bb11;}[_0x5e93c2(0x233)](_0x585837){const _0x517643=_0x5e93c2;this[_0x517643(0x1d5)](_0x585837);}[_0x5e93c2(0x1a4)](_0x149a28){const _0x45da13=_0x5e93c2,{unitID:_0xa61712}=_0x149a28,{collaboration:_0x5e5da0}=this[_0x45da13(0x1f8)][_0x45da13(0x28c)](_0xa61712);if(_0x5e5da0[_0x45da13(0x293)]===0x0)return _0x149a28;let _0xb28542=a[_0x45da13(0x19d)][_0x45da13(0x259)](_0x149a28[_0x45da13(0x351)][0x0]);for(let _0x282bcd=0x0;_0x282bcd<_0x5e5da0['length'];_0x282bcd++){const _0x58aaaf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e5da0[_0x282bcd][_0x45da13(0x387)],..._0x5e5da0[_0x282bcd][_0x45da13(0x3b9)]}},_0x4e7ba0=this[_0x45da13(0x402)][_0x45da13(0x29b)](_0xb28542,_0x58aaaf,!0x1);if(m['isTransformMutationFailure'](_0x4e7ba0))throw _0x4e7ba0[_0x45da13(0x360)];_0xb28542=_0x4e7ba0[_0x45da13(0x269)];}return{...a['Tools'][_0x45da13(0x259)](_0x149a28),'mutations':[_0xb28542]};}[_0x5e93c2(0x1d5)](_0x91b7c0){const _0x33c5c5=_0x5e93c2,{unitID:_0x58b373}=_0x91b7c0,{history:_0x3c5d1d,collaboration:_0x56b1a7}=this['_docStateChangeManagerService']['getStateCache'](_0x58b373);if(_0x3c5d1d[_0x33c5c5(0x293)]===0x0&&_0x56b1a7['length']===0x0)return;const _0x3a5ac6=[],_0x313679=[];let _0x1534ba=a['Tools']['deepClone'](_0x91b7c0[_0x33c5c5(0x351)][0x0]),_0x4beec4=a['Tools'][_0x33c5c5(0x259)](_0x91b7c0[_0x33c5c5(0x351)][0x0]);for(let _0xf037e7=_0x3c5d1d[_0x33c5c5(0x293)]-0x1;_0xf037e7>=0x0;_0xf037e7--){const _0x4d52ed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c5d1d[_0xf037e7]['unitId'],..._0x3c5d1d[_0xf037e7]['undoState']}},_0x444998={'id':_0x33c5c5(0x2c4),'params':{'unitId':_0x3c5d1d[_0xf037e7][_0x33c5c5(0x387)],..._0x3c5d1d[_0xf037e7][_0x33c5c5(0x3b9)]}},_0x3917ac=this[_0x33c5c5(0x402)][_0x33c5c5(0x29b)](_0x1534ba,_0x4d52ed,!0x1),_0x13b02a=this[_0x33c5c5(0x402)]['transformMutation'](_0x4beec4,_0x444998,!0x1);if(m[_0x33c5c5(0x326)](_0x3917ac))throw _0x3917ac[_0x33c5c5(0x360)];if(m[_0x33c5c5(0x326)](_0x13b02a))throw _0x13b02a[_0x33c5c5(0x360)];_0x3a5ac6[_0x33c5c5(0x1c8)]({..._0x3c5d1d[_0xf037e7],'undoState':_0x3917ac[_0x33c5c5(0x23c)][_0x33c5c5(0x2cc)],'redoState':_0x13b02a['m2Prime']['params']}),_0x1534ba=_0x3917ac[_0x33c5c5(0x269)],_0x4beec4=_0x13b02a['m1Prime'];}_0x1534ba=a[_0x33c5c5(0x19d)][_0x33c5c5(0x259)](_0x91b7c0[_0x33c5c5(0x351)][0x0]),_0x4beec4=a[_0x33c5c5(0x19d)][_0x33c5c5(0x259)](_0x91b7c0[_0x33c5c5(0x351)][0x0]);for(let _0x30dd32=_0x56b1a7[_0x33c5c5(0x293)]-0x1;_0x30dd32>=0x0;_0x30dd32--){const _0x37a4a0={'id':_0x33c5c5(0x2c4),'params':{'unitId':_0x56b1a7[_0x30dd32]['unitId'],..._0x56b1a7[_0x30dd32]['undoState']}},_0x14a332={'id':_0x33c5c5(0x2c4),'params':{'unitId':_0x56b1a7[_0x30dd32][_0x33c5c5(0x387)],..._0x56b1a7[_0x30dd32][_0x33c5c5(0x3b9)]}},_0x350b30=this[_0x33c5c5(0x402)][_0x33c5c5(0x29b)](_0x1534ba,_0x37a4a0,!0x1),_0x1a659a=this[_0x33c5c5(0x402)][_0x33c5c5(0x29b)](_0x4beec4,_0x14a332,!0x1);if(m[_0x33c5c5(0x326)](_0x350b30))throw _0x350b30[_0x33c5c5(0x360)];if(m[_0x33c5c5(0x326)](_0x1a659a))throw _0x1a659a['error'];_0x313679[_0x33c5c5(0x1c8)]({..._0x56b1a7[_0x30dd32],'undoState':_0x350b30['m2Prime']['params'],'redoState':_0x1a659a[_0x33c5c5(0x23c)]['params']}),_0x1534ba=_0x350b30[_0x33c5c5(0x269)],_0x4beec4=_0x1a659a[_0x33c5c5(0x269)];}this['_docStateChangeManagerService'][_0x33c5c5(0x40c)](_0x58b373,{'history':_0x3a5ac6,'collaboration':_0x313679});}};J=Ft([le(0x0,a['Inject'](a[_0x5e93c2(0x41a)])),le(0x1,m['ITransformService']),le(0x2,a['Inject'](b[_0x5e93c2(0x281)]))],J);var Yt=Object[_0x5e93c2(0x2a8)],Wt=(_0x30ce37,_0x1084aa,_0x243544,_0x365102)=>{const _0x27ab25=_0x5e93c2;for(var _0x49ca46=_0x365102>0x1?void 0x0:_0x365102?Yt(_0x1084aa,_0x243544):_0x1084aa,_0x25f114=_0x30ce37[_0x27ab25(0x293)]-0x1,_0x5a3dd6;_0x25f114>=0x0;_0x25f114--)(_0x5a3dd6=_0x30ce37[_0x25f114])&&(_0x49ca46=_0x5a3dd6(_0x49ca46)||_0x49ca46);return _0x49ca46;},Ne=(_0x2afe53,_0x25fab7)=>(_0x2d6b15,_0x3bee4d)=>_0x25fab7(_0x2d6b15,_0x3bee4d,_0x2afe53);let Z=class{constructor(_0x54ee99,_0x352e52){const _0x4d5016=_0x5e93c2;this[_0x4d5016(0x319)]=_0x54ee99,this['_transformService']=_0x352e52;}[_0x5e93c2(0x3e9)](_0x21c5d1){const _0x1a5a53=_0x5e93c2;var _0x9170ca;const _0x4f355e=this['_injector']['get'](Y['DocSelectionManagerService']),_0x4b16ab=(_0x9170ca=_0x4f355e[_0x1a5a53(0x3b8)]())!=null?_0x9170ca:[];if(_0x4b16ab[_0x1a5a53(0x293)]===0x0)return;const _0x5789ee=_0x21c5d1[_0x1a5a53(0x21a)],_0x1074ea=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5789ee,'actions':null,'textRanges':_0x4b16ab}}],_0x494b52=this['_transformService'][_0x1a5a53(0x30e)](_0x21c5d1,_0x1074ea);if(!m[_0x1a5a53(0x193)](_0x494b52))throw _0x494b52['error'];const _0x3505ad=_0x494b52[_0x1a5a53(0x23c)][0x0]['params'][_0x1a5a53(0x1c7)];Array['isArray'](_0x3505ad)&&_0x3505ad[_0x1a5a53(0x293)]&&_0x4f355e[_0x1a5a53(0x380)](_0x3505ad,{'unitId':_0x5789ee,'subUnitId':_0x5789ee},!0x1);}};Z=Wt([Ne(0x0,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),Ne(0x1,m[_0x5e93c2(0x26b)])],Z);var Vt=Object[_0x5e93c2(0x2a8)],Xt=(_0x5df3ff,_0x9a3ef8,_0x33be66,_0x1da400)=>{const _0x15e72c=_0x5e93c2;for(var _0x23648a=_0x1da400>0x1?void 0x0:_0x1da400?Vt(_0x9a3ef8,_0x33be66):_0x9a3ef8,_0x68ea7=_0x5df3ff[_0x15e72c(0x293)]-0x1,_0x580320;_0x68ea7>=0x0;_0x68ea7--)(_0x580320=_0x5df3ff[_0x68ea7])&&(_0x23648a=_0x580320(_0x23648a)||_0x23648a);return _0x23648a;},N=(_0x554534,_0x18b47c)=>(_0x30a7de,_0xa77869)=>_0x18b47c(_0x30a7de,_0xa77869,_0x554534);let Q=class extends a['Disposable']{constructor(_0xdaeaad,_0x34d6cb,_0x5a4954,_0x323282,_0x5d41a3,_0x440af5,_0x345482,_0x27ecb9){const _0x1a9f14=_0x5e93c2;super(),h(this,_0x1a9f14(0x3f7),new d['BehaviorSubject'](u[_0x1a9f14(0x229)][_0x1a9f14(0x3c1)])),(this['_docStateChangeManagerService']=_0xdaeaad,this[_0x1a9f14(0x318)]=_0x34d6cb,this[_0x1a9f14(0x1ab)]=_0x5a4954,this['_docTransformStateCacheService']=_0x323282,this[_0x1a9f14(0x21c)]=_0x5d41a3,this[_0x1a9f14(0x41e)]=_0x440af5,this['_messageService']=_0x345482,this[_0x1a9f14(0x1de)]=_0x27ecb9,this[_0x1a9f14(0x2da)]());}[_0x5e93c2(0x2da)](){const _0x219e90=_0x5e93c2;this[_0x219e90(0x303)](this[_0x219e90(0x318)][_0x219e90(0x3fb)][_0x219e90(0x369)](_0x2813a2=>{const _0x416fce=_0x219e90,_0x590229=this[_0x416fce(0x1f8)][_0x416fce(0x3fc)]['subscribe'](_0x36808b=>{const _0x1eb406=_0x416fce;if(_0x36808b==null)return;const {unitId:_0x151a6d,redoState:_0x31a89b,commandId:_0x6aace2}=_0x36808b;if(_0x151a6d!==_0x2813a2[_0x1eb406(0x21a)])return;const _0x5d617d={'id':_0x6aace2,'type':a[_0x1eb406(0x2dd)][_0x1eb406(0x2e0)],'params':{'unitId':_0x151a6d,'actions':_0x31a89b[_0x1eb406(0x3c0)],'textRanges':null}};_0x2813a2[_0x1eb406(0x1c4)](_0x5d617d);});if(_0x2813a2[_0x416fce(0x303)](_0x590229),_0x2813a2 instanceof u[_0x416fce(0x2fe)]){const _0x35eee6={'onTransformIME':_0x4d95e2=>this[_0x416fce(0x1ab)][_0x416fce(0x3d4)](_0x4d95e2),'onTransformState':_0x55c1a0=>this['_docTransformStateCacheService'][_0x416fce(0x233)](_0x55c1a0),'onTransformSelections':_0x385764=>this[_0x416fce(0x21c)][_0x416fce(0x3e9)](_0x385764),'onSyncEditingCollabCursor':_0x7a812=>this[_0x416fce(0x41e)]['syncEditingCollabCursor'](_0x7a812),'onTransformRemoteChangesetByIMECache':_0x413236=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x413236),'onTransformRemoteChangesetByStateCache':_0x2a4989=>this['_docTransformStateCacheService'][_0x416fce(0x1a4)](_0x2a4989)};_0x2813a2[_0x416fce(0x3d2)](_0x35eee6);}}));}};Q=Xt([N(0x0,a[_0x5e93c2(0x1c0)](b[_0x5e93c2(0x281)])),N(0x1,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x248)])),N(0x2,a[_0x5e93c2(0x1c0)](z)),N(0x3,a[_0x5e93c2(0x1c0)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x5e93c2(0x1c0)](Ce)),N(0x6,T[_0x5e93c2(0x2a2)]),N(0x7,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x2b5)]))],Q);var Gt=Object[_0x5e93c2(0x2a8)],Kt=(_0xb0cf47,_0x242626,_0x4280c0,_0x3479a3)=>{const _0x4ef259=_0x5e93c2;for(var _0x10c84e=_0x3479a3>0x1?void 0x0:_0x3479a3?Gt(_0x242626,_0x4280c0):_0x242626,_0x481c80=_0xb0cf47[_0x4ef259(0x293)]-0x1,_0x244df1;_0x481c80>=0x0;_0x481c80--)(_0x244df1=_0xb0cf47[_0x481c80])&&(_0x10c84e=_0x244df1(_0x10c84e)||_0x10c84e);return _0x10c84e;},_e=(_0x573231,_0x116758)=>(_0x205a6d,_0x4f2aaa)=>_0x116758(_0x205a6d,_0x4f2aaa,_0x573231);let ge=class extends a[_0x5e93c2(0x33a)]{constructor(_0x1cf06f,_0x5bb9e8,_0xa457cf){const _0x51036d=_0x5e93c2;super(),h(this,_0x51036d(0x1d4),new Map()),h(this,_0x51036d(0x1f7),new Map()),h(this,_0x51036d(0x1da),!0x1),(this[_0x51036d(0x2be)]=_0x1cf06f,this[_0x51036d(0x321)]=_0x5bb9e8,this[_0x51036d(0x234)]=_0xa457cf);}[_0x5e93c2(0x285)](){const _0x2e1e7e=_0x5e93c2;this[_0x2e1e7e(0x1da)]=!0x0;}[_0x5e93c2(0x23d)](){const _0x56af62=_0x5e93c2;this[_0x56af62(0x1da)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x5e93c2(0x2f0)](){const _0x29448e=_0x5e93c2;this[_0x29448e(0x2db)]()['then'](()=>super[_0x29448e(0x2f0)]());}async['loadOfflineData'](_0xb7ee00){const _0x5d392a=_0x5e93c2;return this[_0x5d392a(0x1da)]?null:this[_0x5d392a(0x321)][_0x5d392a(0x3fe)](u[_0x5d392a(0x327)](_0xb7ee00));}async['saveOfflineData'](_0x14390d,_0x957d37){const _0x9e491d=_0x5e93c2;return!!this[_0x9e491d(0x321)][_0x9e491d(0x1b5)](_0x14390d,_0x957d37);}[_0x5e93c2(0x3c5)](_0x4fdc5e,_0x3c235d,_0x2b5c71,_0x505d15){const _0x6167f5=_0x5e93c2,_0xc1fde8=this[_0x6167f5(0x234)]['getCurrentRevOfUnit'](_0x4fdc5e);this[_0x6167f5(0x1d4)][_0x6167f5(0x3f1)](_0x4fdc5e,{'unitID':_0x4fdc5e,'type':_0x3c235d,'awaitingChangeset':_0x2b5c71,'mutations':_0x505d15,'rev':_0xc1fde8}),this['_saveTaskMap'][_0x6167f5(0x395)](_0x4fdc5e)||this[_0x6167f5(0x345)](_0x4fdc5e);}[_0x5e93c2(0x345)](_0x1cac09){const _0x2af72c=_0x5e93c2,_0x300119=this[_0x2af72c(0x33d)]();_0x300119===0x0?this[_0x2af72c(0x22a)](_0x1cac09):this[_0x2af72c(0x1f7)]['set'](_0x1cac09,setTimeout(()=>this['_saveCache'](_0x1cac09),_0x300119));}[_0x5e93c2(0x33d)](){const _0x1ea3df=_0x5e93c2;var _0x4e98eb;return(_0x4e98eb=this[_0x1ea3df(0x2be)][_0x1ea3df(0x24b)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4e98eb:u[_0x1ea3df(0x307)];}[_0x5e93c2(0x22a)](_0xcb3f07){const _0x2a0eb2=_0x5e93c2,_0x1a902d=this[_0x2a0eb2(0x1f7)][_0x2a0eb2(0x2a3)](_0xcb3f07);return _0x1a902d!==void 0x0&&window[_0x2a0eb2(0x1df)](_0x1a902d),this[_0x2a0eb2(0x321)][_0x2a0eb2(0x1b5)](u[_0x2a0eb2(0x327)](_0xcb3f07),this['_cachedData'][_0x2a0eb2(0x2a3)](_0xcb3f07))[_0x2a0eb2(0x2b9)](()=>this[_0x2a0eb2(0x1f7)]['delete'](_0xcb3f07));}async['exhaustSavingTask'](){const _0x4c1a5c=_0x5e93c2,_0xf1c32b=[];this[_0x4c1a5c(0x1f7)][_0x4c1a5c(0x2a5)]((_0x1e1272,_0x3e91ae)=>{const _0x51dee4=_0x4c1a5c;window['clearTimeout'](_0x1e1272),_0xf1c32b[_0x51dee4(0x298)](this[_0x51dee4(0x22a)](_0x3e91ae)['then'](()=>{const _0x1270e9=_0x51dee4;this[_0x1270e9(0x1f7)][_0x1270e9(0x334)](_0x3e91ae);}));}),await Promise[_0x4c1a5c(0x3db)](_0xf1c32b);}};function _0x286c(_0x1c67a2,_0x193943){const _0x204815=_0x2048();return _0x286c=function(_0x286cdb,_0x23f7f2){_0x286cdb=_0x286cdb-0x193;let _0x2ea11c=_0x204815[_0x286cdb];return _0x2ea11c;},_0x286c(_0x1c67a2,_0x193943);}ge=Kt([_e(0x0,a[_0x5e93c2(0x23b)]),_e(0x1,a[_0x5e93c2(0x2d1)]),_e(0x2,a[_0x5e93c2(0x1c0)](m[_0x5e93c2(0x40e)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x29d193=_0x5e93c2;super(),h(this,_0x29d193(0x353)),this[_0x29d193(0x353)]=d['fromEvent'](window,_0x29d193(0x1fc))['pipe'](d[_0x29d193(0x301)](this['dispose$']),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0x5e93c2(0x37f)](_0x435f79,_0x255b61,_0x3166cb=!0x1){const _0x46e6bf=_0x5e93c2,_0x25220a=new URL(window[_0x46e6bf(0x2b4)][_0x46e6bf(0x199)]);_0x25220a['searchParams']['set'](_0x435f79,_0x255b61),_0x3166cb?window['history'][_0x46e6bf(0x31b)]('','',_0x25220a['toString']()):window[_0x46e6bf(0x221)][_0x46e6bf(0x2fb)]('','',_0x25220a[_0x46e6bf(0x1e2)]());}[_0x5e93c2(0x1e4)](_0x10d638,_0x3c0915=!0x1){const _0x264717=_0x5e93c2,_0x5ab8a9=new URL(window['location'][_0x264717(0x199)]);_0x5ab8a9[_0x264717(0x3a3)][_0x264717(0x334)](_0x10d638),_0x3c0915?window[_0x264717(0x221)][_0x264717(0x31b)]('','',_0x5ab8a9[_0x264717(0x1e2)]()):window[_0x264717(0x221)]['pushState']('','',_0x5ab8a9[_0x264717(0x1e2)]());}[_0x5e93c2(0x300)](_0x24eb2b){const _0x3263df=_0x5e93c2;var _0x52b3aa;return(_0x52b3aa=new URL(window[_0x3263df(0x2b4)]['href'])[_0x3263df(0x3a3)][_0x3263df(0x2a3)](_0x24eb2b))!=null?_0x52b3aa:void 0x0;}}var qt=Object['defineProperty'],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x2372e1,_0x5ad8d0,_0x241e34)=>_0x5ad8d0 in _0x2372e1?qt(_0x2372e1,_0x5ad8d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x241e34}):_0x2372e1[_0x5ad8d0]=_0x241e34,Zt=(_0x512c28,_0x36f3d1,_0x42eaa2,_0x3131ad)=>{const _0x5c1020=_0x5e93c2;for(var _0x13177e=_0x3131ad>0x1?void 0x0:_0x3131ad?zt(_0x36f3d1,_0x42eaa2):_0x36f3d1,_0x1ebe97=_0x512c28[_0x5c1020(0x293)]-0x1,_0x5cfa82;_0x1ebe97>=0x0;_0x1ebe97--)(_0x5cfa82=_0x512c28[_0x1ebe97])&&(_0x13177e=_0x5cfa82(_0x13177e)||_0x13177e);return _0x13177e;},he=(_0x132a06,_0x5099c5)=>(_0x50df8d,_0x3e35b5)=>_0x5099c5(_0x50df8d,_0x3e35b5,_0x132a06),Qt=(_0x3a51ff,_0x2fd096,_0x32b4dd)=>Jt(_0x3a51ff,_0x2fd096+'',_0x32b4dd);const es=_0x5e93c2(0x323);exports[_0x5e93c2(0x255)]=class extends a[_0x5e93c2(0x261)]{constructor(_0x354916=Ue,_0x5285e9,_0x3d3f5b,_0x5e5ea5){const _0x2c9567=_0x5e93c2;super(),this[_0x2c9567(0x31c)]=_0x354916,this[_0x2c9567(0x235)]=_0x5285e9,this[_0x2c9567(0x319)]=_0x3d3f5b,this['_configService']=_0x5e5ea5;const {..._0x30d90e}=a[_0x2c9567(0x290)]({},Ue,this['_config']);this[_0x2c9567(0x2be)][_0x2c9567(0x32c)]($t,_0x30d90e);}['onStarting'](){const _0x409bce=_0x5e93c2;this[_0x409bce(0x223)](),this['_initDependencies']();}[_0x5e93c2(0x34d)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x8df05=_0x5e93c2;var _0x24b7fd;const _0x3f07a5=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x8df05(0x392)],{'useClass':G[_0x8df05(0x3ed)]}],[u[_0x8df05(0x2c5)],{'useClass':ge}],[exports[_0x8df05(0x3b7)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a['registerDependencies'](this[_0x8df05(0x319)],a[_0x8df05(0x2b0)](_0x3f07a5,(_0x24b7fd=this[_0x8df05(0x31c)])==null?void 0x0:_0x24b7fd['override']));}['_registerRenderDependencies'](){const _0x462d8d=_0x5e93c2;this['disposeWithMe'](this[_0x462d8d(0x235)]['registerRenderModule'](a[_0x462d8d(0x2ff)][_0x462d8d(0x270)],[Ie])),this[_0x462d8d(0x303)](this['_renderManagerService'][_0x462d8d(0x1bd)](a['UniverInstanceType'][_0x462d8d(0x400)],[ve]));}[_0x5e93c2(0x2c8)](){const _0x594f59=_0x5e93c2;a[_0x594f59(0x2fa)](this[_0x594f59(0x319)],[[x],[exports[_0x594f59(0x3b7)]],[Q],[q],[exports[_0x594f59(0x337)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x5e93c2(0x338),es),exports[_0x5e93c2(0x255)]=Zt([a[_0x5e93c2(0x241)](u[_0x5e93c2(0x339)]),he(0x1,p[_0x5e93c2(0x215)]),he(0x2,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),he(0x3,a[_0x5e93c2(0x23b)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x5e93c2(0x2a8)],ss=(_0x4ac6fb,_0x4425ff,_0x3e8f81,_0x4d24c0)=>{const _0x2f4df4=_0x5e93c2;for(var _0x2bb4d1=_0x4d24c0>0x1?void 0x0:_0x4d24c0?ts(_0x4425ff,_0x3e8f81):_0x4425ff,_0x4c45fd=_0x4ac6fb[_0x2f4df4(0x293)]-0x1,_0x3bd53f;_0x4c45fd>=0x0;_0x4c45fd--)(_0x3bd53f=_0x4ac6fb[_0x4c45fd])&&(_0x2bb4d1=_0x3bd53f(_0x2bb4d1)||_0x2bb4d1);return _0x2bb4d1;},F=(_0x151821,_0x59b7cf)=>(_0x132d81,_0x3a7fe2)=>_0x59b7cf(_0x132d81,_0x3a7fe2,_0x151821);exports[_0x5e93c2(0x372)]=class extends u[_0x5e93c2(0x335)]{constructor(_0x1312ac,_0x4441c5,_0x2633d2,_0x1133fd,_0x37dbca){super(_0x1312ac,_0x4441c5,_0x2633d2,_0x1133fd,_0x37dbca);}async['createSocket'](_0x4f6570){const _0x4a8853=_0x5e93c2,_0x441fc0=await this[_0x4a8853(0x36b)](),_0x2b5441=this[_0x4a8853(0x368)](_0x4f6570,_0x441fc0);return this[_0x4a8853(0x1ea)](_0x2b5441);}[_0x5e93c2(0x368)](_0x42587a,_0xfd8123){const _0x426a0d=_0x5e93c2,_0x80e8e8=typeof window>'u'?new URL(_0x42587a):new URL(_0x42587a,window[_0x426a0d(0x2b4)][_0x426a0d(0x24e)]);_0x80e8e8['searchParams'][_0x426a0d(0x3f1)](_0x426a0d(0x2d7),_0xfd8123);const _0x41b81d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x426a0d(0x404)]);return _0x41b81d[_0x426a0d(0x2a3)](_0x426a0d(0x37b))&&_0x80e8e8['searchParams'][_0x426a0d(0x3f1)](_0x426a0d(0x37b),_0x41b81d[_0x426a0d(0x2a3)](_0x426a0d(0x37b))),_0x80e8e8['toString']();}async[_0x5e93c2(0x36b)](){const _0x13c156=_0x5e93c2;var _0x58c43a,_0x572e01,_0x3232f7;const _0x2cfaa2=this['_configService'][_0x13c156(0x24b)](u[_0x13c156(0x2a6)]),_0x2d34ff=(_0x58c43a=_0x2cfaa2==null?void 0x0:_0x2cfaa2[_0x13c156(0x3c9)])!=null?_0x58c43a:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3232f7=(_0x572e01=(await this[_0x13c156(0x1c3)][_0x13c156(0x2a3)](_0x2d34ff,{'headers':{'Content-Type':'application/json'}}))[_0x13c156(0x25b)])==null?void 0x0:_0x572e01[_0x13c156(0x20b)])!=null?_0x3232f7:'';}},exports[_0x5e93c2(0x372)]=ss([F(0x0,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),F(0x1,a[_0x5e93c2(0x1c0)](G['HTTPService'])),F(0x2,a['IConfigService']),F(0x3,a['ILogService']),F(0x4,m[_0x5e93c2(0x209)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x5e93c2(0x324);class is extends a[_0x5e93c2(0x33a)]{constructor(){const _0x301271=_0x5e93c2;super(),h(this,_0x301271(0x39f),a[_0x301271(0x398)]()),h(this,_0x301271(0x356),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x301271(0x247),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x301271(0x393),new Map()),this[_0x301271(0x1a5)]();}['dispose'](){const _0x128334=_0x5e93c2;super['dispose'](),this[_0x128334(0x225)][_0x128334(0x2a5)]((_0x519db3,_0x314790)=>this[_0x128334(0x309)](_0x314790)),this[_0x128334(0x247)]&&window[_0x128334(0x3a2)](this[_0x128334(0x247)]);}[_0x5e93c2(0x2af)](_0x5e3fbb){const _0x2e4576=_0x5e93c2;return this['_ensureSubject'](_0x5e3fbb)[_0x2e4576(0x3a8)](d[_0x2e4576(0x3a1)]());}[_0x5e93c2(0x33b)](_0x19f7e7){const _0x2fe8df=_0x5e93c2;this[_0x2fe8df(0x356)][_0x2fe8df(0x1b0)]===0x0&&this[_0x2fe8df(0x3f5)](),this[_0x2fe8df(0x356)][_0x2fe8df(0x30a)](_0x19f7e7),this[_0x2fe8df(0x24c)]({'type':0x0,'memberID':this[_0x2fe8df(0x39f)],'unitIDs':[_0x19f7e7],'isForwarded':!0x1});}[_0x5e93c2(0x1f9)](_0x3adfba){const _0xd42e39=_0x5e93c2;this['_selfUnitIDs'][_0xd42e39(0x334)](_0x3adfba),this[_0xd42e39(0x356)]['size']===0x0&&this['_heartbeatTimer']&&window[_0xd42e39(0x3a2)](this[_0xd42e39(0x247)]);}[_0x5e93c2(0x1a5)](){const _0x586b8c=_0x5e93c2;this[_0x586b8c(0x303)](a[_0x586b8c(0x230)](d['fromEvent'](window,'storage')['subscribe'](_0x79e76b=>{const _0x3912a2=_0x586b8c;if(_0x79e76b['key']!==Le||!_0x79e76b[_0x3912a2(0x28a)])return;const _0xf5107b=JSON[_0x3912a2(0x211)](_0x79e76b[_0x3912a2(0x28a)]);this[_0x3912a2(0x2b3)](_0xf5107b);}))),window[_0x586b8c(0x27b)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x586b8c(0x39f)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x5e93c2(0x2b3)](_0x4d7f15){const _0xe2bb52=_0x5e93c2;switch(_0x4d7f15[_0xe2bb52(0x295)]){case 0x0:this[_0xe2bb52(0x3be)](_0x4d7f15);break;case 0x1:this[_0xe2bb52(0x2f5)](_0x4d7f15);break;case 0x2:this[_0xe2bb52(0x278)](_0x4d7f15);break;}}[_0x5e93c2(0x3be)](_0xf0289b){const _0x10b97a=_0x5e93c2,{unitIDs:_0x6c85fb,memberID:_0x3e7a5d,isForwarded:_0x250ea5}=_0xf0289b;_0x6c85fb[_0x10b97a(0x2a5)](_0x371b8e=>{const _0x1d23cc=_0x10b97a;if(!_0x250ea5&&this[_0x1d23cc(0x1f1)][_0x1d23cc(0x395)](_0x371b8e)&&this[_0x1d23cc(0x2eb)](_0x371b8e)['next'](u[_0x1d23cc(0x22b)][_0x1d23cc(0x262)]),!this[_0x1d23cc(0x1f1)][_0x1d23cc(0x395)](_0x371b8e)||!this[_0x1d23cc(0x1f1)][_0x1d23cc(0x2a3)](_0x371b8e)[_0x1d23cc(0x395)](_0x3e7a5d)){const _0x58579a=this[_0x1d23cc(0x1f1)]['get'](_0x371b8e)||new Set();_0x58579a[_0x1d23cc(0x30a)](_0x3e7a5d),this[_0x1d23cc(0x1f1)][_0x1d23cc(0x3f1)](_0x371b8e,_0x58579a),this[_0x1d23cc(0x2f6)](_0x3e7a5d);}}),_0x250ea5||this[_0x10b97a(0x24c)]({'type':0x0,'memberID':this[_0x10b97a(0x39f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5e93c2(0x2f6)](_0x42dd61){const _0x1c744b=_0x5e93c2;this[_0x1c744b(0x309)](_0x42dd61);const _0x524213=window['setTimeout'](()=>{const _0x1df215=_0x1c744b;this[_0x1df215(0x1f1)][_0x1df215(0x2a5)](_0x3c2c35=>{const _0xca16dc=_0x1df215;_0x3c2c35[_0xca16dc(0x334)](_0x42dd61);});},Me*0x2);this[_0x1c744b(0x225)][_0x1c744b(0x3f1)](_0x42dd61,_0x524213);}['_removeClearOtherTimer'](_0x1038cb){const _0x4c4ac2=_0x5e93c2;if(this[_0x4c4ac2(0x225)][_0x4c4ac2(0x395)](_0x1038cb)){const _0x5592fe=this[_0x4c4ac2(0x225)][_0x4c4ac2(0x2a3)](_0x1038cb);_0x5592fe&&window['clearTimeout'](_0x5592fe),this[_0x4c4ac2(0x225)][_0x4c4ac2(0x3f1)](_0x1038cb,null);}}[_0x5e93c2(0x2f5)](_0x458e67){const _0x21ad5b=_0x5e93c2,{memberID:_0x451ed0,unitIDs:_0x1e7c45}=_0x458e67;_0x1e7c45[_0x21ad5b(0x2a5)](_0x77937d=>{const _0x421d22=_0x21ad5b;var _0x54aa60;const _0x87246a=this[_0x421d22(0x1f1)][_0x421d22(0x2a3)](_0x77937d);_0x87246a&&(_0x87246a[_0x421d22(0x334)](_0x451ed0),(_0x54aa60=this[_0x421d22(0x2eb)](_0x77937d))==null||_0x54aa60[_0x421d22(0x374)](_0x87246a[_0x421d22(0x1b0)]===0x0?u[_0x421d22(0x22b)][_0x421d22(0x424)]:u['UnitStatus'][_0x421d22(0x262)]));}),this[_0x21ad5b(0x309)](_0x451ed0);}[_0x5e93c2(0x278)](_0x195925){const _0x444e80=_0x5e93c2;this[_0x444e80(0x2f6)](_0x195925['memberID']);}['_send'](_0x48200a){const _0x4e7d2a=_0x5e93c2;localStorage['setItem'](Le,JSON[_0x4e7d2a(0x196)](_0x48200a));}[_0x5e93c2(0x3f5)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0xeb2ba3=_0x286c;this[_0xeb2ba3(0x24c)]({'type':0x2,'memberID':this[_0xeb2ba3(0x39f)]});},Me);}[_0x5e93c2(0x2eb)](_0x3fb76b){const _0x7ae529=_0x5e93c2;return this[_0x7ae529(0x393)][_0x7ae529(0x395)](_0x3fb76b)||this['_unitStatus'][_0x7ae529(0x3f1)](_0x3fb76b,new d[(_0x7ae529(0x3bb))](u[_0x7ae529(0x22b)][_0x7ae529(0x424)])),this[_0x7ae529(0x393)][_0x7ae529(0x2a3)](_0x3fb76b);}}var Be=(_0x4f70e2=>(_0x4f70e2[_0x4f70e2['UNDEFINED']=0x0]=_0x5e93c2(0x1d7),_0x4f70e2[_0x4f70e2['OK']=0x1]='OK',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x37e)]=0x2]='INTERNAL_ERROR',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2e8)]=0x3]=_0x5e93c2(0x2e8),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x228)]=0x4]=_0x5e93c2(0x228),_0x4f70e2[_0x4f70e2['UNAUTHENTICATED']=0x5]=_0x5e93c2(0x2e2),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2f2)]=0x6]=_0x5e93c2(0x2f2),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x206)]=0x7]=_0x5e93c2(0x206),_0x4f70e2[_0x4f70e2['TOO_MANY_REQUESTS']=0x8]=_0x5e93c2(0x2df),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2e6)]=0x9]='COMPLETION_FINISHED',_0x4f70e2[_0x4f70e2['LOGIN_FAILED']=0xa]=_0x5e93c2(0x2ca),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x40f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1b9)]=0x1771]=_0x5e93c2(0x1b9),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x407)]=0x1772]=_0x5e93c2(0x407),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x27c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x366)]=0x1b59]=_0x5e93c2(0x366),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2c0)]=0x1b5a]=_0x5e93c2(0x2c0),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x27a)]=0x1b5b]=_0x5e93c2(0x27a),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x310)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x265)]=0x1b5d]='APPLY_DUPLICATED',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x3f0)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x3d8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4f70e2[_0x4f70e2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5e93c2(0x266),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x306)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x414)]=0x232c]=_0x5e93c2(0x414),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2d3)]=0x232d]=_0x5e93c2(0x2d3),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x220)]=0x2711]=_0x5e93c2(0x220),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x375)]=0x2712]=_0x5e93c2(0x375),_0x4f70e2[_0x4f70e2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e93c2(0x20e),_0x4f70e2[_0x4f70e2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5e93c2(0x3f4),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2ad)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x330)]=0x271b]=_0x5e93c2(0x330),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x200)]=0x271c]=_0x5e93c2(0x200),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2d5)]=0x271d]=_0x5e93c2(0x2d5),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1ce)]=0x271e]=_0x5e93c2(0x1ce),_0x4f70e2[_0x4f70e2['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5e93c2(0x312),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x3d0)]=0x2af9]=_0x5e93c2(0x3d0),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x38f)]=0x2ee1]=_0x5e93c2(0x38f),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1ba)]=0x2ee2]='INVALID_INVITE_CODE',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x3ff)]=0x2ee3]=_0x5e93c2(0x3ff),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x420)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2e7)]=0x2ee5]=_0x5e93c2(0x2e7),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1bf)]=0x32c9]=_0x5e93c2(0x1bf),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1e0)]=0x32ca]=_0x5e93c2(0x1e0),_0x4f70e2[_0x4f70e2['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5e93c2(0x1eb),_0x4f70e2[_0x4f70e2['UNRECOGNIZED']=-0x1]=_0x5e93c2(0x396),_0x4f70e2))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x399a1b,_0x21e376,_0xb12d08,_0xdd71c9)=>{const _0x5dc097=_0x5e93c2;for(var _0x36cabf=_0xdd71c9>0x1?void 0x0:_0xdd71c9?ns(_0x21e376,_0xb12d08):_0x21e376,_0x236011=_0x399a1b[_0x5dc097(0x293)]-0x1,_0x38c9e9;_0x236011>=0x0;_0x236011--)(_0x38c9e9=_0x399a1b[_0x236011])&&(_0x36cabf=_0x38c9e9(_0x36cabf)||_0x36cabf);return _0x36cabf;},ue=(_0x7de068,_0x1f2082)=>(_0x5a9bda,_0x24cf43)=>_0x1f2082(_0x5a9bda,_0x24cf43,_0x7de068);exports[_0x5e93c2(0x423)]=class extends a[_0x5e93c2(0x33a)]{constructor(_0x34d4da,_0x2f7f90,_0x38dd01){const _0x55aa21=_0x5e93c2;super(),this[_0x55aa21(0x1a7)]=_0x34d4da,this[_0x55aa21(0x1c3)]=_0x2f7f90,this[_0x55aa21(0x2be)]=_0x38dd01;}async[_0x5e93c2(0x23f)](_0x3c902d,_0x1f08de,_0x4260b6,..._0x5bd12c){const _0x2a2ef2=_0x5e93c2;var _0xda024a,_0x5f712,_0x5f51b7,_0x447b10;const _0x3e090a=this['_instanceService'][_0x2a2ef2(0x1d3)]();if(!_0x3e090a)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x18d6bf=((_0xda024a=this[_0x2a2ef2(0x2be)][_0x2a2ef2(0x24b)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xda024a:u[_0x2a2ef2(0x2bb)])+'/'+_0x3c902d+_0x2a2ef2(0x373)+_0x1f08de,_0x58f5b4=new URL(window[_0x2a2ef2(0x2b4)][_0x2a2ef2(0x199)]),_0x14f15e={'scriptId':_0x3c902d,'runId':(_0x5f712=_0x58f5b4[_0x2a2ef2(0x3a3)]['get'](_0x2a2ef2(0x37b)))!=null?_0x5f712:'','function':_0x1f08de,'unitId':_0x3e090a[_0x2a2ef2(0x1e8)](),'argsOfFunction':JSON[_0x2a2ef2(0x196)](_0x5bd12c),'invokeId':(_0x5f51b7=_0x4260b6['invokeId'])!=null?_0x5f51b7:'','executionId':(_0x447b10=_0x4260b6[_0x2a2ef2(0x20d)])!=null?_0x447b10:''};try{const _0x1383f7=await this[_0x2a2ef2(0x1c3)][_0x2a2ef2(0x36d)](_0x18d6bf,{'body':_0x14f15e});return _0x1383f7['body'][_0x2a2ef2(0x360)]&&_0x1383f7[_0x2a2ef2(0x25b)][_0x2a2ef2(0x360)][_0x2a2ef2(0x1e9)]!==Be['OK']?_0x2a2ef2(0x3ef):_0x1383f7['body'][_0x2a2ef2(0x386)];}catch{return'Failed';}}},exports[_0x5e93c2(0x423)]=rs([ue(0x0,a[_0x5e93c2(0x3e4)]),ue(0x1,a[_0x5e93c2(0x1c0)](G[_0x5e93c2(0x382)])),ue(0x2,a[_0x5e93c2(0x23b)])],exports['RemoteUniscriptService']),exports[_0x5e93c2(0x315)]=xe,exports['IURLService']=be,exports[_0x5e93c2(0x2ec)]=Ae,exports[_0x5e93c2(0x26c)]=is,exports[_0x5e93c2(0x3cf)]=je;
|
|
1
|
+
'use strict';const _0xbd72b5=_0x4dae;(function(_0x18bc9d,_0x1aff82){const _0x3a4475=_0x4dae,_0x901ec2=_0x18bc9d();while(!![]){try{const _0x38f962=-parseInt(_0x3a4475(0x246))/0x1+parseInt(_0x3a4475(0x341))/0x2+parseInt(_0x3a4475(0x387))/0x3*(parseInt(_0x3a4475(0x2be))/0x4)+parseInt(_0x3a4475(0x3ba))/0x5*(parseInt(_0x3a4475(0x21b))/0x6)+parseInt(_0x3a4475(0x302))/0x7+parseInt(_0x3a4475(0x349))/0x8*(parseInt(_0x3a4475(0x3d2))/0x9)+parseInt(_0x3a4475(0x334))/0xa*(-parseInt(_0x3a4475(0x19e))/0xb);if(_0x38f962===_0x1aff82)break;else _0x901ec2['push'](_0x901ec2['shift']());}catch(_0x36bf3b){_0x901ec2['push'](_0x901ec2['shift']());}}}(_0x3f5d,0xbc6bb));var Ve=Object[_0xbd72b5(0x377)],Xe=(_0x42c5a7,_0x2dd4f6,_0x296cc3)=>_0x2dd4f6 in _0x42c5a7?Ve(_0x42c5a7,_0x2dd4f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x296cc3}):_0x42c5a7[_0x2dd4f6]=_0x296cc3,h=(_0x40c544,_0x3a363e,_0x4857f4)=>Xe(_0x40c544,typeof _0x3a363e!=_0xbd72b5(0x24d)?_0x3a363e+'':_0x3a363e,_0x4857f4);Object['defineProperty'](exports,Symbol[_0xbd72b5(0x322)],{'value':_0xbd72b5(0x2ca)});const u=require(_0xbd72b5(0x1a0)),a=require(_0xbd72b5(0x1b5)),p=require(_0xbd72b5(0x331)),G=require('@univerjs/network'),b=require('@univerjs/docs-ui'),Ge=require(_0xbd72b5(0x3f3)),d=require(_0xbd72b5(0x1e8)),Y=require('@univerjs/docs'),m=require('@univerjs-pro/collaboration'),Ee=require(_0xbd72b5(0x18e)),g=require('@univerjs/sheets'),$=require(_0xbd72b5(0x332)),X=require(_0xbd72b5(0x339)),P=require(_0xbd72b5(0x2aa)),T=require(_0xbd72b5(0x3ce)),D=require('@univerjs/design'),M=require(_0xbd72b5(0x1d4)),Ke=require('@univerjs/rpc');var qe=Object[_0xbd72b5(0x402)],ze=(_0x24c695,_0x17f63d,_0x2863f0,_0x23da91)=>{const _0x4f47ce=_0xbd72b5;for(var _0x51e3d2=_0x23da91>0x1?void 0x0:_0x23da91?qe(_0x17f63d,_0x2863f0):_0x17f63d,_0x502dde=_0x24c695[_0x4f47ce(0x1cf)]-0x1,_0xda8d79;_0x502dde>=0x0;_0x502dde--)(_0xda8d79=_0x24c695[_0x502dde])&&(_0x51e3d2=_0xda8d79(_0x51e3d2)||_0x51e3d2);return _0x51e3d2;},Te=(_0xc58053,_0x158940)=>(_0x51f059,_0x32d019)=>_0x158940(_0x51f059,_0x32d019,_0xc58053);let de=class extends a[_0xbd72b5(0x283)]{constructor(_0x13f3e4,_0x1fbda3){const _0xe60bd3=_0xbd72b5;super(),this[_0xe60bd3(0x2e4)]=_0x13f3e4,this[_0xe60bd3(0x2fa)]=_0x1fbda3,this[_0xe60bd3(0x1c9)]();}[_0xbd72b5(0x1c9)](){const _0x4e0f1d=_0xbd72b5,_0x48ecab=this;this['disposeWithMe'](this['_docClipboardService'][_0x4e0f1d(0x1c4)]({'onBeforePasteImage':async _0x45d53c=>{const _0x452be0=_0x4e0f1d,_0x47b1a6=await _0x48ecab['_imageIoService'][_0x452be0(0x3c0)](_0x45d53c);return _0x47b1a6?{'source':_0x47b1a6[_0x452be0(0x30e)],'imageSourceType':_0x47b1a6[_0x452be0(0x36f)]}:null;}}));}};de=ze([Te(0x0,b[_0xbd72b5(0x1e6)]),Te(0x1,Ge[_0xbd72b5(0x204)])],de);const Oe=[_0xbd72b5(0x333),_0xbd72b5(0x29f),_0xbd72b5(0x2ea),'red.300',_0xbd72b5(0x303),_0xbd72b5(0x1e7)];class me extends a[_0xbd72b5(0x1b7)]{constructor(){const _0x454ca7=_0xbd72b5;super(...arguments),h(this,_0x454ca7(0x2c5),new Map()),h(this,'_colorIndex',0x0);}[_0xbd72b5(0x35c)](_0x171714){const _0x1fe4d5=_0xbd72b5;if(this[_0x1fe4d5(0x2c5)][_0x1fe4d5(0x3c8)](_0x171714))return this['_assignedColors'][_0x1fe4d5(0x206)](_0x171714);const _0x55dad1=Oe[this[_0x1fe4d5(0x2e7)]];return this[_0x1fe4d5(0x2e7)]=(this['_colorIndex']+0x1)%Oe[_0x1fe4d5(0x1cf)],this[_0x1fe4d5(0x2c5)]['set'](_0x171714,_0x55dad1),_0x55dad1;}}function Pe(_0x31e71a){let _0x52ca4a='';for(const _0x206064 of _0x31e71a){const {startOffset:_0x4225ee,endOffset:_0x28440e,isActive:_0x54c586,rangeType:_0xeeb01b,segmentId:_0x172d60,segmentPage:_0x8463e7}=_0x206064;_0x52ca4a['length']&&(_0x52ca4a+=','),_0x52ca4a+=_0x4225ee+':'+_0x28440e+':'+(_0x54c586?'1':'0')+':'+_0xeeb01b+':'+_0x172d60+':'+_0x8463e7;}return _0x52ca4a;}function Je(_0x5aa4ca){const _0x5b611d=_0xbd72b5,_0x318107=_0x5aa4ca[_0x5b611d(0x27d)](','),_0x29470a=[];for(const _0x172ab1 of _0x318107){const [_0x3b331c,_0x5b0801,_0x4174b4,_0x4c9f3b,_0x3861a0,_0x5010af]=_0x172ab1[_0x5b611d(0x27d)](':');_0x29470a[_0x5b611d(0x2f7)]({'startOffset':Number(_0x3b331c),'endOffset':Number(_0x5b0801),'collapsed':_0x3b331c===_0x5b0801,'isActive':_0x4174b4==='1','rangeType':_0x4c9f3b===a['DOC_RANGE_TYPE']['TEXT']?a[_0x5b611d(0x2dc)][_0x5b611d(0x1cd)]:a[_0x5b611d(0x2dc)]['RECT'],'segmentId':typeof _0x3861a0==_0x5b611d(0x2ce)?String(_0x3861a0):'','segmentPage':Number(_0x5010af!=null?_0x5010af:-0x1)});}return _0x29470a[_0x5b611d(0x1eb)](_0x3141b4=>_0x3141b4[_0x5b611d(0x18f)])||(_0x29470a[0x0]['isActive']=!0x0),_0x29470a;}class Ce extends a[_0xbd72b5(0x283)]{constructor(){const _0x2ca08b=_0xbd72b5;super(...arguments),h(this,_0x2ca08b(0x3b6),new d[(_0x2ca08b(0x257))](null)),h(this,_0x2ca08b(0x38c),this[_0x2ca08b(0x3b6)][_0x2ca08b(0x30a)]());}[_0xbd72b5(0x33c)](_0x2b9770){const _0x162ca0=_0xbd72b5,{unitID:_0x30de81,memberID:_0x42dd11,textRanges:_0x5bc4f8}=_0x2b9770,_0x251247=Pe(_0x5bc4f8);if(_0x251247==='')return;const _0x101004={'unitID':_0x30de81,'memberID':_0x42dd11,'selection':_0x251247};this[_0x162ca0(0x3b6)]['next'](_0x101004);}}var Ze=Object[_0xbd72b5(0x402)],Qe=(_0x9384d2,_0x124d6f,_0x153d28,_0x32708e)=>{const _0x6a2d94=_0xbd72b5;for(var _0x40ed06=_0x32708e>0x1?void 0x0:_0x32708e?Ze(_0x124d6f,_0x153d28):_0x124d6f,_0x4388c3=_0x9384d2[_0x6a2d94(0x1cf)]-0x1,_0x4d42c9;_0x4388c3>=0x0;_0x4388c3--)(_0x4d42c9=_0x9384d2[_0x4388c3])&&(_0x40ed06=_0x4d42c9(_0x40ed06)||_0x40ed06);return _0x40ed06;},L=(_0x1d9bd8,_0x33a386)=>(_0x286cef,_0x410771)=>_0x33a386(_0x286cef,_0x410771,_0x1d9bd8);const et=0x12c,tt=0x64;let fe=class extends a[_0xbd72b5(0x283)]{constructor(_0x515242,_0x36f661,_0x5c21da,_0x74a8cb,_0x458ecc,_0x31e070,_0x4b2e5d,_0x3b6a55,_0x217f02){const _0x1cde42=_0xbd72b5;super(),h(this,_0x1cde42(0x269),!0x1),h(this,_0x1cde42(0x1c9),!0x1),h(this,_0x1cde42(0x238),new d[(_0x1cde42(0x257))](new Map())),h(this,_0x1cde42(0x267),this[_0x1cde42(0x238)][_0x1cde42(0x30a)]()),h(this,'_roomMembers$',new d[(_0x1cde42(0x257))]([])),h(this,'roomMembers$',this[_0x1cde42(0x2fc)]['pipe'](d['debounceTime'](et))),h(this,_0x1cde42(0x32a),a[_0x1cde42(0x33a)](_0x297a3c=>{const _0x36eeea=_0x1cde42,_0x2d0224={'eventID':m['CollaborationEvent'][_0x36eeea(0x254)],'data':{'unitID':this[_0x36eeea(0x22b)],'memberID':this[_0x36eeea(0x3ee)][_0x36eeea(0x3be)](),'selection':Pe(_0x297a3c)}};this[_0x36eeea(0x3ee)][_0x36eeea(0x21c)](_0x2d0224,this[_0x36eeea(0x22b)]);},tt)),(this[_0x1cde42(0x22b)]=_0x515242,this[_0x1cde42(0x3ee)]=_0x36f661,this[_0x1cde42(0x207)]=_0x5c21da,this[_0x1cde42(0x188)]=_0x74a8cb,this['_memberService']=_0x458ecc,this[_0x1cde42(0x3aa)]=_0x31e070,this[_0x1cde42(0x203)]=_0x4b2e5d,this['_univerInstanceService']=_0x3b6a55,this['_commandService']=_0x217f02);}get[_0xbd72b5(0x3a1)](){const _0x3d3344=_0xbd72b5;return this[_0x3d3344(0x238)]['getValue']();}get[_0xbd72b5(0x1a3)](){const _0x4c0d8a=_0xbd72b5;return this[_0x4c0d8a(0x2fc)][_0x4c0d8a(0x3c2)]();}['dispose'](){const _0x3bfbdf=_0xbd72b5;super[_0x3bfbdf(0x32e)](),this[_0x3bfbdf(0x238)]['next'](new Map()),this['_cursorInfo$'][_0x3bfbdf(0x2d8)](),this['_roomMembers$'][_0x3bfbdf(0x2ad)]([]),this[_0x3bfbdf(0x2fc)]['complete']();}[_0xbd72b5(0x3c1)](){const _0x20cf32=_0xbd72b5;this[_0x20cf32(0x1c9)]||(this[_0x20cf32(0x1c9)]=!0x0,this[_0x20cf32(0x3ee)][_0x20cf32(0x3d4)][_0x20cf32(0x1db)](d['takeUntil'](this[_0x20cf32(0x1a2)]))[_0x20cf32(0x1fc)](_0x339431=>{const _0x2fb5c0=_0x20cf32;_0x339431===u[_0x2fb5c0(0x19d)]['ONLINE']?this[_0x2fb5c0(0x294)]():this[_0x2fb5c0(0x21f)]();}),this['_session'][_0x20cf32(0x3cf)][_0x20cf32(0x1db)](d[_0x20cf32(0x310)](this[_0x20cf32(0x1a2)]))[_0x20cf32(0x1fc)](_0x3a74e0=>{const _0x2f4821=_0x20cf32,_0x27f829=_0x3a74e0[_0x2f4821(0x2d7)];_0x27f829===m['CollaborationEvent'][_0x2f4821(0x254)]&&this[_0x2f4821(0x34a)](_0x3a74e0),_0x27f829===m[_0x2f4821(0x297)][_0x2f4821(0x380)]&&this['_onCursorDelete'](_0x3a74e0);}),this[_0x20cf32(0x323)](this[_0x20cf32(0x29d)][_0x20cf32(0x3eb)](_0x419892=>{const _0x52c721=_0x20cf32,_0x5508c2=_0x419892['params'];_0x5508c2!=null&&this[_0x52c721(0x269)]&&_0x419892['id']===Y[_0x52c721(0x20c)]['id']&&_0x5508c2[_0x52c721(0x1f4)]===this[_0x52c721(0x22b)]&&_0x5508c2['isEditing']===!0x1&&_0x5508c2['ranges'][_0x52c721(0x1cf)]>0x0&&this[_0x52c721(0x32a)](_0x5508c2[_0x52c721(0x25e)]);})),this['_syncEditingCollabCursorService'][_0x20cf32(0x38c)]['pipe'](d[_0x20cf32(0x310)](this[_0x20cf32(0x1a2)]))['subscribe'](_0x53a743=>{const _0x435589=_0x20cf32;if((_0x53a743==null?void 0x0:_0x53a743[_0x435589(0x22b)])!==this[_0x435589(0x22b)])return;const _0x451943={'eventID':m[_0x435589(0x297)][_0x435589(0x254)],'data':_0x53a743};this[_0x435589(0x34a)](_0x451943);}),this[_0x20cf32(0x323)](this['_commandService'][_0x20cf32(0x3eb)](_0x15b758=>{const _0x50db49=_0x20cf32;if(_0x15b758[_0x50db49(0x2ed)]==null)return;const _0x2ac60e=_0x15b758['params'];if(_0x15b758['id']!==Y[_0x50db49(0x1cc)]['id']||_0x2ac60e[_0x50db49(0x1f4)]!==this[_0x50db49(0x22b)])return;const _0x2180eb={'id':_0x50db49(0x227),'params':_0x2ac60e},_0x2ed814=this[_0x50db49(0x3a1)];for(const [_0x30b101,_0x2e1059]of _0x2ed814){const _0x31311f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x50db49(0x22b)],'actions':null,'textRanges':_0x2e1059[_0x50db49(0x25e)]}},_0x4c740e=this[_0x50db49(0x203)][_0x50db49(0x28a)](_0x2180eb,_0x31311f,!0x1);if(m[_0x50db49(0x28f)](_0x4c740e))throw _0x4c740e[_0x50db49(0x3ca)];_0x2ed814[_0x50db49(0x3c7)](_0x30b101,{..._0x2e1059,'ranges':_0x4c740e[_0x50db49(0x30f)][_0x50db49(0x2ed)]['textRanges']});}queueMicrotask(()=>{const _0x9e345a=_0x50db49;this['_cursorInfo$'][_0x9e345a(0x2ad)](_0x2ed814);});})));}[_0xbd72b5(0x34a)](_0x4af71b){const _0x5854a2=_0xbd72b5;var _0x243555,_0x693176;const {memberID:_0x1ba471,selection:_0x126689}=_0x4af71b['data'],_0x3d2198=Je(_0x126689),_0x2ccff4=(_0x693176=(_0x243555=this[_0x5854a2(0x24b)]['getMember'](this[_0x5854a2(0x22b)],_0x1ba471))==null?void 0x0:_0x243555[_0x5854a2(0x1dd)])!=null?_0x693176:_0x5854a2(0x2d2),_0x363982={'color':this['_colorAssignService'][_0x5854a2(0x35c)](_0x1ba471),'name':_0x2ccff4,'ranges':_0x3d2198},_0x5040e6=this[_0x5854a2(0x3a1)];_0x5040e6['set'](_0x1ba471,_0x363982),this[_0x5854a2(0x238)]['next'](_0x5040e6);}[_0xbd72b5(0x37f)](_0x5b1909){const _0x329284=_0xbd72b5,{memberID:_0x161bd1}=_0x5b1909[_0x329284(0x2b9)],_0x485d14=this[_0x329284(0x3a1)];_0x485d14[_0x329284(0x200)](_0x161bd1),this['_cursorInfo$'][_0x329284(0x2ad)](_0x485d14);}[_0xbd72b5(0x294)](){const _0x57854f=_0xbd72b5;var _0x80ff50;if(this[_0x57854f(0x269)]=!0x0,((_0x80ff50=this[_0x57854f(0x224)]['getFocusedUnit']())==null?void 0x0:_0x80ff50['getUnitId']())!==this['unitID'])return;const _0xf4c643=this[_0x57854f(0x207)][_0x57854f(0x206)](Y[_0x57854f(0x389)])[_0x57854f(0x2a7)]();Array[_0x57854f(0x1b6)](_0xf4c643)&&_0xf4c643[_0x57854f(0x1cf)]>0x0&&this[_0x57854f(0x32a)](_0xf4c643);}['_toggleOffline'](){this['_online']=!0x1;}};fe=Qe([L(0x2,a[_0xbd72b5(0x1d6)](a[_0xbd72b5(0x338)])),L(0x3,a[_0xbd72b5(0x1d6)](me)),L(0x4,a['Inject'](u[_0xbd72b5(0x241)])),L(0x5,a['Inject'](Ce)),L(0x6,m[_0xbd72b5(0x25b)]),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0x5c7056,_0x3091d5,_0x4a0267,_0x1b76af)=>{const _0x2f1887=_0xbd72b5;for(var _0x5cbb2a=_0x1b76af>0x1?void 0x0:_0x1b76af?st(_0x3091d5,_0x4a0267):_0x3091d5,_0x19d3f6=_0x5c7056[_0x2f1887(0x1cf)]-0x1,_0x41b874;_0x19d3f6>=0x0;_0x19d3f6--)(_0x41b874=_0x5c7056[_0x19d3f6])&&(_0x5cbb2a=_0x41b874(_0x5cbb2a)||_0x5cbb2a);return _0x5cbb2a;},w=(_0x4bafed,_0x476636)=>(_0x3b7883,_0x5cb66e)=>_0x476636(_0x3b7883,_0x5cb66e,_0x4bafed);const nt=0x12c,rt=0x64,ot=()=>{let _0x27a2d0=[],_0x435914=!0x1;return _0x15d072=>{const _0x50e2df=_0x4dae;_0x27a2d0[_0x50e2df(0x2f7)](_0x15d072),_0x435914||(_0x435914=!0x0,setTimeout(()=>{const _0x3b93b2=_0x50e2df;_0x27a2d0[_0x3b93b2(0x276)](_0x43af1e=>_0x43af1e()),_0x27a2d0=[],_0x435914=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x4d4597,_0x411861,_0x4ce397,_0x1bafc0,_0x1c93a6,_0x1e4b9b,_0x3744a8,_0x53be26){const _0x5e5388=_0xbd72b5;super(),h(this,_0x5e5388(0x269),!0x1),h(this,_0x5e5388(0x1c9),!0x1),h(this,_0x5e5388(0x238),new d[(_0x5e5388(0x257))](new Map())),h(this,_0x5e5388(0x267),this[_0x5e5388(0x238)][_0x5e5388(0x30a)]()),h(this,_0x5e5388(0x2fc),new d[(_0x5e5388(0x257))]([])),h(this,_0x5e5388(0x17f),this[_0x5e5388(0x2fc)][_0x5e5388(0x1db)](d[_0x5e5388(0x3d6)](nt))),h(this,_0x5e5388(0x32a),a['debounce']((_0x83a580,_0x312eec)=>{const _0x2a89fd=_0x5e5388,_0x5bd785={'eventID':m[_0x2a89fd(0x297)][_0x2a89fd(0x254)],'data':{'unitID':this[_0x2a89fd(0x22b)],'memberID':this[_0x2a89fd(0x3ee)][_0x2a89fd(0x3be)](),'selection':Ee[_0x2a89fd(0x1b2)](_0x83a580,_0x312eec[_0x2a89fd(0x2c6)])}};this[_0x2a89fd(0x3ee)]['send'](_0x5bd785,this[_0x2a89fd(0x22b)]);},rt)),(this[_0x5e5388(0x22b)]=_0x4d4597,this[_0x5e5388(0x3ee)]=_0x411861,this[_0x5e5388(0x207)]=_0x4ce397,this[_0x5e5388(0x188)]=_0x1bafc0,this[_0x5e5388(0x24b)]=_0x1c93a6,this[_0x5e5388(0x224)]=_0x1e4b9b,this[_0x5e5388(0x29d)]=_0x3744a8,this[_0x5e5388(0x232)]=_0x53be26);}get[_0xbd72b5(0x3a1)](){const _0x2f8984=_0xbd72b5;return this[_0x2f8984(0x238)][_0x2f8984(0x3c2)]();}get[_0xbd72b5(0x1a3)](){const _0x5a500b=_0xbd72b5;return this[_0x5a500b(0x2fc)][_0x5a500b(0x3c2)]();}['dispose'](){const _0x3390ed=_0xbd72b5;super[_0x3390ed(0x32e)](),this[_0x3390ed(0x238)][_0x3390ed(0x2ad)](new Map()),this[_0x3390ed(0x238)]['complete'](),this['_roomMembers$'][_0x3390ed(0x2ad)]([]),this[_0x3390ed(0x2fc)]['complete']();}[_0xbd72b5(0x3c1)](){const _0x432249=_0xbd72b5;this[_0x432249(0x1c9)]||(this[_0x432249(0x1c9)]=!0x0,this[_0x432249(0x3ee)][_0x432249(0x3d4)][_0x432249(0x1db)](d['takeUntil'](this[_0x432249(0x1a2)]))['subscribe'](_0x3697a3=>{const _0x2ff088=_0x432249;_0x3697a3===u['SessionStatus'][_0x2ff088(0x19a)]?this[_0x2ff088(0x294)]():this['_toggleOffline']();}),this['_session']['event$'][_0x432249(0x1db)](d[_0x432249(0x310)](this['dispose$']))['subscribe'](_0x388eb7=>{const _0x58c674=_0x432249,_0x2ac031=_0x388eb7[_0x58c674(0x2d7)];_0x2ac031===m[_0x58c674(0x297)][_0x58c674(0x254)]&&this[_0x58c674(0x34a)](_0x388eb7),_0x2ac031===m[_0x58c674(0x297)][_0x58c674(0x380)]&&this[_0x58c674(0x37f)](_0x388eb7);}),this[_0x432249(0x256)](),this[_0x432249(0x323)](this['_commandService']['onCommandExecuted'](_0x44679a=>{const _0x20c6a0=_0x432249;if(this['_online']&&_0x44679a['id']===g[_0x20c6a0(0x318)]['id']&&_0x44679a[_0x20c6a0(0x2ed)]['unitId']===this[_0x20c6a0(0x22b)]){const _0xb52787=_0x44679a[_0x20c6a0(0x2ed)];this[_0x20c6a0(0x32a)](_0xb52787[_0x20c6a0(0x225)],_0xb52787['selections'][0x0]);}})));}['_onCursorUpdate'](_0x18a7d7){const _0x277638=_0xbd72b5;var _0xd9a50d,_0xa27240;const {memberID:_0x7dcf17,selection:_0x4c11c7}=_0x18a7d7[_0x277638(0x2b9)],{sheetName:_0x1e0aa9,range:_0x5dc5ae}=Ee[_0x277638(0x31d)](_0x4c11c7),_0x388847={'name':(_0xa27240=(_0xd9a50d=this[_0x277638(0x24b)][_0x277638(0x2eb)](this[_0x277638(0x22b)],_0x7dcf17))==null?void 0x0:_0xd9a50d[_0x277638(0x1dd)])!=null?_0xa27240:_0x277638(0x2d2),'range':this['_getMergeRange'](_0x1e0aa9,_0x5dc5ae),'sheetID':_0x1e0aa9,'color':this[_0x277638(0x188)][_0x277638(0x35c)](_0x7dcf17),'selection':_0x4c11c7},_0x5f08a0=this[_0x277638(0x3a1)];_0x5f08a0[_0x277638(0x3c7)](_0x7dcf17,_0x388847),this[_0x277638(0x238)][_0x277638(0x2ad)](_0x5f08a0);}['_onCursorDelete'](_0x865328){const _0x37367b=_0xbd72b5,{memberID:_0x3423ae}=_0x865328['data'],_0x446822=this[_0x37367b(0x3a1)];_0x446822[_0x37367b(0x200)](_0x3423ae),this['_cursorInfo$'][_0x37367b(0x2ad)](_0x446822);}[_0xbd72b5(0x3bd)](_0x1330b4,_0x556b21){const _0x4343da=_0xbd72b5;var _0x3c0b2e,_0x389740;const _0x2daf98=(_0x389740=(_0x3c0b2e=this[_0x4343da(0x224)][_0x4343da(0x36a)](this['unitID']))==null?void 0x0:_0x3c0b2e[_0x4343da(0x306)](_0x1330b4))==null?void 0x0:_0x389740[_0x4343da(0x296)]();return(_0x2daf98==null?void 0x0:_0x2daf98['find'](_0x4a9244=>a['Rectangle'][_0x4343da(0x3cb)](_0x4a9244,_0x556b21)))||_0x556b21;}[_0xbd72b5(0x256)](){const _0x37e45d=_0xbd72b5,_0x4edfdd=new a[(_0x37e45d(0x23a))](),_0x5f531d=ot(),_0x20db2e=()=>{const _0x22a954=_0x37e45d;_0x4edfdd[_0x22a954(0x32e)]();const _0x34f26e=(_0x73a65,_0x3f8f93,_0x236275,_0x50358c)=>{const _0x55b3ad=_0x22a954;let _0x599ccb=[];switch(_0x73a65['id']){case g['EffectRefRangId'][_0x55b3ad(0x35d)]:{_0x599ccb=g['handleDeleteRangeMoveLeft'](_0x73a65,_0x50358c);break;}case g[_0x55b3ad(0x304)][_0x55b3ad(0x340)]:{_0x599ccb=g[_0x55b3ad(0x38e)](_0x73a65,_0x50358c);break;}case g[_0x55b3ad(0x304)][_0x55b3ad(0x21e)]:{_0x599ccb=g[_0x55b3ad(0x1f1)](_0x73a65,_0x50358c);break;}case g['EffectRefRangId'][_0x55b3ad(0x1e0)]:{_0x599ccb=g[_0x55b3ad(0x383)](_0x73a65,_0x50358c);break;}case g[_0x55b3ad(0x304)]['InsertRangeMoveRightCommandId']:{_0x599ccb=g[_0x55b3ad(0x1a6)](_0x73a65,_0x50358c);break;}case g[_0x55b3ad(0x304)]['InsertRowCommandId']:{_0x599ccb=g[_0x55b3ad(0x179)](_0x73a65,_0x50358c);break;}case g['EffectRefRangId'][_0x55b3ad(0x2f3)]:{_0x599ccb=g[_0x55b3ad(0x1d3)](_0x73a65,_0x50358c);break;}case g[_0x55b3ad(0x304)][_0x55b3ad(0x228)]:{_0x599ccb=g[_0x55b3ad(0x24e)](_0x73a65,_0x50358c);break;}case g['EffectRefRangId']['RemoveRowCommandId']:{_0x599ccb=g[_0x55b3ad(0x270)](_0x73a65,_0x50358c);break;}}const _0x228fd8=g[_0x55b3ad(0x23b)](_0x599ccb,_0x50358c),_0x587bd0=this[_0x55b3ad(0x3a1)][_0x55b3ad(0x206)](_0x3f8f93);if(_0x587bd0&&_0x228fd8){const _0x86e8a1={..._0x587bd0,'range':_0x228fd8};this['cursorInfo']['set'](_0x3f8f93,_0x86e8a1),_0x5f531d(()=>{const _0x4ef0ce=_0x55b3ad,_0x1b19c7=this[_0x4ef0ce(0x232)][_0x4ef0ce(0x18a)](_0x228fd8,_0x52a56a=>(_0x1b19c7['dispose'](),_0x34f26e(_0x52a56a,_0x3f8f93,_0x236275,_0x228fd8)));_0x4edfdd[_0x4ef0ce(0x1e5)](_0x1b19c7);});}return{'redos':[],'undos':[]};};this[_0x22a954(0x3a1)]['forEach']((_0x3ed5a8,_0x582f46)=>{const _0x48f4ff=_0x22a954,{range:_0x1015c7,sheetID:_0x5b0fde}=_0x3ed5a8,_0x35b844=this[_0x48f4ff(0x232)][_0x48f4ff(0x18a)](_0x1015c7,_0x1b561e=>(_0x35b844['dispose'](),_0x34f26e(_0x1b561e,_0x582f46,_0x5b0fde,_0x1015c7)));_0x4edfdd['add'](_0x35b844);});};this[_0x37e45d(0x323)](a[_0x37e45d(0x385)](this[_0x37e45d(0x238)]['subscribe'](()=>{_0x20db2e();})));}[_0xbd72b5(0x294)](){const _0x4e223b=_0xbd72b5;var _0x5f0ad9,_0x47e939;if(this[_0x4e223b(0x269)]=!0x0,((_0x5f0ad9=this[_0x4e223b(0x224)][_0x4e223b(0x397)]())==null?void 0x0:_0x5f0ad9[_0x4e223b(0x1e1)]())!==this[_0x4e223b(0x22b)])return;const _0x29e2a4=(_0x47e939=this['_injector'][_0x4e223b(0x206)](g[_0x4e223b(0x372)])[_0x4e223b(0x1ac)]())==null?void 0x0:_0x47e939[0x0],_0x27090e=this[_0x4e223b(0x224)][_0x4e223b(0x35a)](a['UniverInstanceType'][_0x4e223b(0x2c2)])['getActiveSheet']();_0x29e2a4&&_0x27090e&&this[_0x4e223b(0x32a)](_0x27090e[_0x4e223b(0x31e)](),_0x29e2a4);}[_0xbd72b5(0x21f)](){const _0x201fae=_0xbd72b5;this[_0x201fae(0x269)]=!0x1;}};Se=it([w(0x2,a[_0xbd72b5(0x1d6)](a[_0xbd72b5(0x338)])),w(0x3,a[_0xbd72b5(0x1d6)](me)),w(0x4,a['Inject'](u['MemberService'])),w(0x5,a[_0xbd72b5(0x3e7)]),w(0x6,a[_0xbd72b5(0x3ea)]),w(0x7,a[_0xbd72b5(0x1d6)](g['RefRangeService']))],Se);var at=Object[_0xbd72b5(0x402)],ct=(_0x3fe832,_0x3980a4,_0x4a34a4,_0x466f8f)=>{const _0xc23e09=_0xbd72b5;for(var _0x2e7671=_0x466f8f>0x1?void 0x0:_0x466f8f?at(_0x3980a4,_0x4a34a4):_0x3980a4,_0x445039=_0x3fe832[_0xc23e09(0x1cf)]-0x1,_0x22be5c;_0x445039>=0x0;_0x445039--)(_0x22be5c=_0x3fe832[_0x445039])&&(_0x2e7671=_0x22be5c(_0x2e7671)||_0x2e7671);return _0x2e7671;},ie=(_0x5a80e6,_0x4873c7)=>(_0x24a97b,_0x271541)=>_0x4873c7(_0x24a97b,_0x271541,_0x5a80e6);function _0x4dae(_0x179816,_0x4c72b6){const _0x3f5db0=_0x3f5d();return _0x4dae=function(_0x4dae14,_0x5909dd){_0x4dae14=_0x4dae14-0x175;let _0x2abaec=_0x3f5db0[_0x4dae14];return _0x2abaec;},_0x4dae(_0x179816,_0x4c72b6);}let x=class extends a[_0xbd72b5(0x283)]{constructor(_0x36d9d6,_0x2afa9f,_0x6bc408){const _0x730ca6=_0xbd72b5;super(),h(this,_0x730ca6(0x330),new Map()),h(this,_0x730ca6(0x3fe),new d[(_0x730ca6(0x342))]()),(this[_0x730ca6(0x224)]=_0x36d9d6,this[_0x730ca6(0x207)]=_0x2afa9f,this[_0x730ca6(0x248)]=_0x6bc408,this[_0x730ca6(0x1c9)]());}[_0xbd72b5(0x32e)](){const _0x6bc764=_0xbd72b5;super[_0x6bc764(0x32e)](),this[_0x6bc764(0x3fe)][_0x6bc764(0x2d8)](),this[_0x6bc764(0x330)][_0x6bc764(0x276)](_0x51bb35=>_0x51bb35[_0x6bc764(0x32e)]());}[_0xbd72b5(0x24f)](_0x94794b){const _0x3753fd=_0xbd72b5;return this[_0x3753fd(0x330)][_0x3753fd(0x3c8)](_0x94794b)?this[_0x3753fd(0x330)][_0x3753fd(0x206)](_0x94794b)[_0x3753fd(0x267)]:this['_entityInit$'][_0x3753fd(0x1db)](d[_0x3753fd(0x1d2)](_0x12a57e=>_0x12a57e[_0x3753fd(0x22b)]===_0x94794b),d['switchMap'](_0x2c4a12=>_0x2c4a12[_0x3753fd(0x267)]));}[_0xbd72b5(0x1c9)](){const _0x2c49c9=_0xbd72b5;this[_0x2c49c9(0x224)][_0x2c49c9(0x365)](a[_0x2c49c9(0x216)]['UNIVER_SHEET'])[_0x2c49c9(0x1db)](d[_0x2c49c9(0x310)](this[_0x2c49c9(0x1a2)]))[_0x2c49c9(0x1fc)](async _0x3da504=>{const _0x2ea3c6=_0x2c49c9,_0x58026a=_0x3da504[_0x2ea3c6(0x1e1)](),_0x1ad8ff=await this[_0x2ea3c6(0x231)](_0x58026a);this['_entityInit$'][_0x2ea3c6(0x2ad)](_0x1ad8ff),this[_0x2ea3c6(0x330)][_0x2ea3c6(0x3c7)](_0x58026a,_0x1ad8ff);}),this['_univerInstanceService'][_0x2c49c9(0x365)](a[_0x2c49c9(0x216)]['UNIVER_DOC'])['pipe'](d['takeUntil'](this[_0x2c49c9(0x1a2)]))[_0x2c49c9(0x1db)](d[_0x2c49c9(0x1d2)](_0x36cf9b=>!_0x36cf9b[_0x2c49c9(0x1e1)]()['startsWith']('__')))[_0x2c49c9(0x1fc)](async _0x586db4=>{const _0x442529=_0x2c49c9,_0x1373d5=_0x586db4['getUnitId'](),_0x26ca10=await this[_0x442529(0x300)](_0x1373d5);this[_0x442529(0x3fe)][_0x442529(0x2ad)](_0x26ca10),this['_entities'][_0x442529(0x3c7)](_0x1373d5,_0x26ca10);}),d[_0x2c49c9(0x1bc)](this[_0x2c49c9(0x224)][_0x2c49c9(0x30c)](a['UniverInstanceType'][_0x2c49c9(0x211)]),this[_0x2c49c9(0x224)][_0x2c49c9(0x30c)](a['UniverInstanceType'][_0x2c49c9(0x2c2)]))[_0x2c49c9(0x1db)](d[_0x2c49c9(0x310)](this[_0x2c49c9(0x1a2)]))[_0x2c49c9(0x1fc)](_0x2e984f=>{const _0x26a163=_0x2c49c9,_0x6d1dd8=_0x2e984f[_0x26a163(0x1e1)](),_0x20edff=this['_entities'][_0x26a163(0x206)](_0x6d1dd8);_0x20edff&&(_0x20edff['dispose'](),this[_0x26a163(0x330)]['delete'](_0x6d1dd8));});}async[_0xbd72b5(0x231)](_0x1b3863){const _0x280fc7=_0xbd72b5,_0x32dad6=await this[_0x280fc7(0x248)][_0x280fc7(0x2f5)](_0x1b3863),_0x351a78=this['_injector'][_0x280fc7(0x2d3)](Se,_0x1b3863,_0x32dad6);return _0x351a78[_0x280fc7(0x3c1)](),_0x351a78;}async[_0xbd72b5(0x300)](_0x1b297f){const _0x20d794=_0xbd72b5,_0x580fde=await this['_collabSessionService']['requireSession'](_0x1b297f),_0x2af670=this['_injector'][_0x20d794(0x2d3)](fe,_0x1b297f,_0x580fde);return _0x2af670[_0x20d794(0x3c1)](),_0x2af670;}};x=ct([ie(0x0,a[_0xbd72b5(0x3e7)]),ie(0x1,a['Inject'](a[_0xbd72b5(0x338)])),ie(0x2,a['Inject'](u[_0xbd72b5(0x307)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x59b500,_0x503636){const _0xc5c964=_0xbd72b5;let {radius:_0x1a5ba2,width:_0x3edd45,height:_0x3f9989}=_0x503636;_0x1a5ba2=_0x1a5ba2!=null?_0x1a5ba2:0x0,_0x3edd45=_0x3edd45!=null?_0x3edd45:0x1e,_0x3f9989=_0x3f9989!=null?_0x3f9989:0x1e;let _0x1aa05c=0x0,_0x5222ac=0x0,_0x204d04=0x0;_0x1aa05c=_0x5222ac=_0x204d04=Math[_0xc5c964(0x2d4)](_0x1a5ba2,_0x3edd45/0x2,_0x3f9989/0x2),_0x59b500['beginPath'](),_0x59b500['moveTo'](_0x1aa05c,0x0),_0x59b500[_0xc5c964(0x27f)](_0x3edd45-_0x5222ac,0x0),_0x59b500[_0xc5c964(0x193)](_0x3edd45-_0x5222ac,_0x5222ac,_0x5222ac,Math['PI']*0x3/0x2,0x0,!0x1),_0x59b500[_0xc5c964(0x27f)](_0x3edd45,_0x3f9989-_0x204d04),_0x59b500[_0xc5c964(0x193)](_0x3edd45-_0x204d04,_0x3f9989-_0x204d04,_0x204d04,0x0,Math['PI']/0x2,!0x1),_0x59b500[_0xc5c964(0x27f)](0x0,_0x3f9989),_0x59b500[_0xc5c964(0x27f)](0x0,_0x1aa05c),_0x59b500[_0xc5c964(0x193)](_0x1aa05c,_0x1aa05c,_0x1aa05c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59b500['closePath'](),_0x503636['fill']&&(_0x59b500[_0xc5c964(0x400)](),_0x59b500[_0xc5c964(0x346)]=_0x503636[_0xc5c964(0x403)],_0x503636[_0xc5c964(0x20a)]===_0xc5c964(0x326)?_0x59b500[_0xc5c964(0x403)](_0xc5c964(0x326)):_0x59b500[_0xc5c964(0x403)](),_0x59b500['restore']());}class ee extends p[_0xbd72b5(0x3fb)]{constructor(_0x564dc5,_0x3e475a){const _0x259655=_0xbd72b5;super(_0x564dc5,_0x3e475a),h(this,_0x259655(0x329)),h(this,_0x259655(0x363)),(this[_0x259655(0x329)]=_0x3e475a==null?void 0x0:_0x3e475a[_0x259655(0x329)],this[_0x259655(0x363)]=_0x3e475a==null?void 0x0:_0x3e475a['text']);}static[_0xbd72b5(0x31b)](_0x148dea,_0x4982bf){const _0x21ea22=_0xbd72b5,{text:_0x1aa6fc,color:_0x16c853}=_0x4982bf;_0x148dea[_0x21ea22(0x400)](),_0x148dea['font']=_0x21ea22(0x2d6);const _0x3cabca=_0x148dea['measureText'](_0x1aa6fc)[_0x21ea22(0x2d9)],_0x50e772=Math[_0x21ea22(0x2d4)](_0x3cabca+0x2*ne,Re);_t(_0x148dea,{'height':K,'radius':0x4,'width':_0x50e772,'fill':_0x16c853}),_0x148dea[_0x21ea22(0x346)]=_0x21ea22(0x26b);const _0x44989b=ne,_0x1797f4=K-lt,_0x5a9ede=Re-0x2*ne;if(_0x3cabca>_0x5a9ede){let _0x216d3d='',_0x30b8b0=0x0;for(const _0x38df26 of _0x1aa6fc){const _0xa0a15b=_0x148dea[_0x21ea22(0x316)](_0x38df26)[_0x21ea22(0x2d9)];if(_0x30b8b0+_0xa0a15b<=_0x5a9ede-_0x148dea[_0x21ea22(0x316)](_0x21ea22(0x39d))[_0x21ea22(0x2d9)])_0x216d3d+=_0x38df26,_0x30b8b0+=_0xa0a15b;else{_0x216d3d+=_0x21ea22(0x39d);break;}}_0x148dea[_0x21ea22(0x3ab)](_0x216d3d,_0x44989b,_0x1797f4);}else _0x148dea[_0x21ea22(0x3ab)](_0x1aa6fc,_0x44989b,_0x1797f4);_0x148dea[_0x21ea22(0x355)]();}[_0xbd72b5(0x1a4)](_0x301572){const _0x54c667=_0xbd72b5;ee[_0x54c667(0x31b)](_0x301572,this);}}const re=_0xbd72b5(0x35f),ht='collab-text-range-',ut=_0xbd72b5(0x192),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0xbd72b5(0x28d);class De{constructor(_0x39c466,_0x4927c4,_0x1ef832,_0x549467){const _0x2c8969=_0xbd72b5;h(this,'_shapes',[]),h(this,_0x2c8969(0x3e9),null),h(this,_0x2c8969(0x2ac),null),h(this,_0x2c8969(0x2b6),null),h(this,'_hideTimer',null),h(this,_0x2c8969(0x33e),null),(this[_0x2c8969(0x1b8)]=_0x39c466,this[_0x2c8969(0x28e)]=_0x4927c4,this[_0x2c8969(0x2c1)]=_0x1ef832,this[_0x2c8969(0x240)]=_0x549467,this['_render']());}set['_hover'](_0x57daaf){const _0x43b803=_0xbd72b5;_0x57daaf?(this[_0x43b803(0x2b6)]&&this['_anchorDot'][_0x43b803(0x25f)](),this[_0x43b803(0x2ac)]&&this[_0x43b803(0x2ac)][_0x43b803(0x17b)]()):(this[_0x43b803(0x2b6)]&&this[_0x43b803(0x2b6)][_0x43b803(0x17b)](),this[_0x43b803(0x2ac)]&&this[_0x43b803(0x2ac)]['hide']());}[_0xbd72b5(0x32e)](){const _0xf421c9=_0xbd72b5;for(const _0x29f160 of this[_0xf421c9(0x236)])_0x29f160['dispose']();this[_0xf421c9(0x2ac)]&&this['_textBubble'][_0xf421c9(0x32e)](),this[_0xf421c9(0x2b6)]&&this[_0xf421c9(0x2b6)][_0xf421c9(0x32e)](),this[_0xf421c9(0x3e9)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0xf421c9(0x33e)]();}['_render'](){const _0x4c5c9a=_0xbd72b5;var _0x5c16c0;const {_docSkeleton:_0x5dd94d,_document:_0x72ae8f}=this,{color:_0x15f65a,name:_0x1f1aad,ranges:_0x57b2fe}=this['_cursor'],_0x614598=_0x72ae8f[_0x4c5c9a(0x26a)](),{docsLeft:_0x49c75a,docsTop:_0x3285bd}=_0x614598,_0x1497ef=new b['NodePositionConvertToCursor'](_0x614598,_0x5dd94d);for(const {startOffset:_0x14930b,endOffset:_0x34d1a2,rangeType:_0x412881,segmentId:_0x541321,segmentPage:_0x105c86,collapsed:_0x3ae9d6,isActive:_0x564ce5}of _0x57b2fe){const _0x3e532f=_0x5dd94d[_0x4c5c9a(0x26c)](_0x14930b,!0x0,_0x541321,_0x105c86);let _0x30a5be=_0x5dd94d[_0x4c5c9a(0x26c)](_0x34d1a2,!0x0,_0x541321,_0x105c86);if(_0x30a5be==null&&(_0x30a5be=_0x5dd94d['findNodePositionByCharIndex'](_0x34d1a2-0x1,!0x1,_0x541321,_0x105c86)),_0x564ce5){const {contentBoxPointGroup:_0x5bb515}=_0x1497ef[_0x4c5c9a(0x275)](_0x30a5be,_0x30a5be);if(_0x5bb515[_0x4c5c9a(0x1cf)]===0x0)continue;this['_drawAnchor'](_0x15f65a,_0x5bb515,_0x49c75a,_0x3285bd,_0x1f1aad),this[_0x4c5c9a(0x33e)]=this['_handleHover']();}if(_0x3e532f&&_0x30a5be){if(_0x412881===a[_0x4c5c9a(0x2dc)][_0x4c5c9a(0x37a)]){const _0x17228d=new b['NodePositionConvertToRectRange'](_0x614598,_0x5dd94d),{pointGroup:_0x4de92c}=(_0x5c16c0=_0x17228d['getRangePointData'](_0x3e532f,_0x30a5be))!=null?_0x5c16c0:{};if(_0x4de92c==null||_0x4de92c['length']===0x0)continue;this[_0x4c5c9a(0x265)](_0x15f65a,_0x4de92c,_0x49c75a,_0x3285bd);}else{if(!_0x3ae9d6){const {borderBoxPointGroup:_0xe4b42}=_0x1497ef[_0x4c5c9a(0x275)](_0x3e532f,_0x30a5be);if(_0xe4b42[_0x4c5c9a(0x1cf)]===0x0)continue;this['_drawTextRange'](_0x15f65a,_0xe4b42,_0x49c75a,_0x3285bd);}}}}}[_0xbd72b5(0x3e3)](_0x259d60,_0x4c984b,_0x440d67,_0x68464,_0x2365fe){const _0x4cf9f5=_0xbd72b5,_0x6f334c=this[_0x4cf9f5(0x2b3)](_0x4c984b),{left:_0x1c8915,top:_0x135ca6,height:_0x3a7723}=_0x6f334c,_0x3d9e0b=this['_getScale'](),_0x35fa00=ft/_0x3d9e0b,_0x13a059=new p['Rect'](re+a[_0x4cf9f5(0x32f)]['generateRandomId'](k),{'left':_0x1c8915+_0x440d67-_0x35fa00,'top':_0x135ca6+_0x68464,'height':_0x3a7723,'width':dt,'fill':_0x259d60||p[_0x4cf9f5(0x3d8)](a[_0x4cf9f5(0x182)]['black'],0x0),'strokeWidth':_0x35fa00,'stroke':St,'evented':!0x0});this[_0x4cf9f5(0x3e9)]=_0x13a059,this[_0x4cf9f5(0x28e)]['addObject'](_0x13a059,b[_0x4cf9f5(0x2a3)]);const _0x568ba2=new p['Rect'](re+a[_0x4cf9f5(0x32f)][_0x4cf9f5(0x1da)](k),{'left':_0x1c8915+_0x440d67-_0x35fa00,'top':_0x135ca6+_0x68464-oe/0x2,'height':oe,'width':oe,'fill':_0x259d60||p[_0x4cf9f5(0x3d8)](a[_0x4cf9f5(0x182)][_0x4cf9f5(0x2a6)],0x0),'strokeWidth':0x0,'stroke':_0x259d60||p[_0x4cf9f5(0x3d8)](a[_0x4cf9f5(0x182)][_0x4cf9f5(0x2a6)],0x0),'evented':!0x1});this[_0x4cf9f5(0x2b6)]=_0x568ba2,this[_0x4cf9f5(0x28e)][_0x4cf9f5(0x1c0)](_0x568ba2,b['TEXT_RANGE_LAYER_INDEX']);const _0x25bb2c=new ee(re+a['Tools'][_0x4cf9f5(0x1da)](k),{'left':_0x1c8915+_0x440d67-_0x35fa00,'top':_0x135ca6+_0x68464-K,'text':_0x2365fe,'color':_0x259d60});this[_0x4cf9f5(0x2ac)]=_0x25bb2c,this[_0x4cf9f5(0x28e)][_0x4cf9f5(0x1c0)](_0x25bb2c,b[_0x4cf9f5(0x2a3)]),this[_0x4cf9f5(0x281)]=!0x1;}[_0xbd72b5(0x2b8)](){const _0x2f18e9=_0xbd72b5,_0x56421b=this[_0x2f18e9(0x3e9)][_0x2f18e9(0x1f6)][_0x2f18e9(0x209)](()=>{const _0x1ea219=_0x2f18e9;this[_0x1ea219(0x281)]=!0x0;}),_0x27154c=this['_anchor'][_0x2f18e9(0x327)][_0x2f18e9(0x209)](()=>{const _0x56d794=_0x2f18e9;this[_0x56d794(0x201)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x99b3a2=_0x56d794;this[_0x99b3a2(0x281)]=!0x1;},0x7d0);});return()=>{const _0x3d8790=_0x2f18e9;_0x56421b[_0x3d8790(0x2c7)](),_0x27154c['unsubscribe']();};}[_0xbd72b5(0x1c1)](_0x4e07fb,_0x337da1,_0x4dff74,_0xf0f613){const _0x807e8e=_0xbd72b5,_0x4cec70=new a['ColorKit'](_0x4e07fb)['setAlpha'](0.2)[_0x807e8e(0x32b)](),_0x41cf9c=new p[(_0x807e8e(0x39b))](ht+a[_0x807e8e(0x32f)]['generateRandomId'](k),{'pointsGroup':_0x337da1,'fill':_0x4cec70||p['getColor'](a['COLORS'][_0x807e8e(0x2a6)],0.2),'left':_0x4dff74,'top':_0xf0f613,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x807e8e(0x236)]['push'](_0x41cf9c),this[_0x807e8e(0x28e)]['addObject'](_0x41cf9c,b[_0x807e8e(0x2a3)]);}[_0xbd72b5(0x265)](_0x5a1e29,_0x423e8d,_0x30e6b3,_0x2b17f9){const _0x117dba=_0xbd72b5,_0x39f893=new a[(_0x117dba(0x2b7))](_0x5a1e29)[_0x117dba(0x23d)](0.2)[_0x117dba(0x32b)](),_0xa8338e=new p[(_0x117dba(0x39b))](ut+a['Tools'][_0x117dba(0x1da)](k),{'pointsGroup':_0x423e8d,'fill':_0x39f893||p['getColor'](a[_0x117dba(0x182)][_0x117dba(0x2a6)],0.2),'left':_0x30e6b3,'top':_0x2b17f9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x117dba(0x236)]['push'](_0xa8338e),this[_0x117dba(0x28e)][_0x117dba(0x1c0)](_0xa8338e,b['TEXT_RANGE_LAYER_INDEX']);}[_0xbd72b5(0x2b3)](_0x2a3589){const _0x35c0b5=_0x2a3589[0x0],_0xe72882=_0x35c0b5[0x0],_0x19601c=_0x35c0b5[0x2],{x:_0x50c374,y:_0x120d1f}=_0xe72882,{x:_0x2916f9,y:_0x51a108}=_0x19601c;return{'left':_0x50c374,'top':_0x120d1f,'width':_0x2916f9-_0x50c374,'height':_0x51a108-_0x120d1f};}[_0xbd72b5(0x390)](){const _0x467b6c=_0xbd72b5,{scaleX:_0x5a9c7f,scaleY:_0x2433a0}=this[_0x467b6c(0x28e)][_0x467b6c(0x325)]();return Math[_0x467b6c(0x3a8)](_0x5a9c7f,_0x2433a0);}}var It=Object['getOwnPropertyDescriptor'],vt=(_0x347d00,_0x38b7da,_0x38e1ec,_0x4b89e9)=>{for(var _0x5b520f=_0x4b89e9>0x1?void 0x0:_0x4b89e9?It(_0x38b7da,_0x38e1ec):_0x38b7da,_0x5cd882=_0x347d00['length']-0x1,_0x505eb7;_0x5cd882>=0x0;_0x5cd882--)(_0x505eb7=_0x347d00[_0x5cd882])&&(_0x5b520f=_0x505eb7(_0x5b520f)||_0x5b520f);return _0x5b520f;},W=(_0x24d37f,_0x27c669)=>(_0x42ed43,_0x396faf)=>_0x27c669(_0x42ed43,_0x396faf,_0x24d37f);let Ie=class extends a[_0xbd72b5(0x283)]{constructor(_0x33bcb2,_0x597998,_0x39f72c,_0x4d4084,_0x58048b){const _0x4d192a=_0xbd72b5;super(),h(this,_0x4d192a(0x37b),[]),h(this,'_cursors',[]),(this[_0x4d192a(0x33b)]=_0x33bcb2,this[_0x4d192a(0x36e)]=_0x597998,this[_0x4d192a(0x17a)]=_0x39f72c,this[_0x4d192a(0x29d)]=_0x4d4084,this[_0x4d192a(0x398)]=_0x58048b,this[_0x4d192a(0x1c9)]());}[_0xbd72b5(0x1c9)](){const _0x3e798a=_0xbd72b5,_0x2f6d90=this[_0x3e798a(0x33b)][_0x3e798a(0x1f4)],_0x460e0c=this[_0x3e798a(0x36e)];this[_0x3e798a(0x323)](d[_0x3e798a(0x3f7)]([this['_collabCursorController']['getCollabCursors$'](_0x2f6d90),this[_0x3e798a(0x398)][_0x3e798a(0x3cc)]])[_0x3e798a(0x1db)]($[_0x3e798a(0x1de)](([_0xb65bad,_0x30b542])=>({'skeleton':_0x460e0c[_0x3e798a(0x19c)](),'cursors':[..._0xb65bad[_0x3e798a(0x2b1)]()][_0x3e798a(0x31f)](_0x55a3b0=>({..._0x55a3b0,'color':this['_themeService']['getColorFromTheme'](_0x55a3b0['color'])}))})))['subscribe'](_0x7b3369=>{const _0x59a960=_0x3e798a;if(this[_0x59a960(0x37c)](),_0x7b3369){const {skeleton:_0x29e8fb,cursors:_0x163891}=_0x7b3369;this[_0x59a960(0x3fc)](_0x29e8fb,_0x163891);}})),this[_0x3e798a(0x2c8)](),this['_initCommandExecutedListener']();}[_0xbd72b5(0x3fc)](_0x207d1b,_0x4dd06b){const _0x227c86=_0xbd72b5,{scene:_0x3f765a,mainComponent:_0x384c23}=this[_0x227c86(0x33b)],_0x3bfe6c=_0x4dd06b[_0x227c86(0x1de)](_0x36308c=>new De(_0x36308c,_0x3f765a,_0x207d1b,_0x384c23));this[_0x227c86(0x37b)]=_0x3bfe6c,this[_0x227c86(0x382)]=_0x4dd06b;}['_refreshCollabCursors'](){const _0x4912fb=_0xbd72b5;this['_removeCollabCursors']();const {scene:_0x2922fb,mainComponent:_0x45036a}=this['_context'],_0x76cf4c=this['_docSkeletonManagerService']['getSkeleton'](),_0x2f2201=this[_0x4912fb(0x382)]['map'](_0x1d4930=>new De(_0x1d4930,_0x2922fb,_0x76cf4c,_0x45036a));this[_0x4912fb(0x37b)]=_0x2f2201;}[_0xbd72b5(0x37c)](){const _0x1742f7=_0xbd72b5;this['_cursorShapes'][_0x1742f7(0x276)](_0x20d0c1=>_0x20d0c1[_0x1742f7(0x32e)]()),this[_0x1742f7(0x37b)]=[];}[_0xbd72b5(0x18d)](){const _0xae3eb5=_0xbd72b5,_0x274ae9=[b[_0xae3eb5(0x20e)]['id']];this[_0xae3eb5(0x323)](this[_0xae3eb5(0x29d)][_0xae3eb5(0x3eb)](_0x28b873=>{const _0x447884=_0xae3eb5;_0x274ae9[_0x447884(0x214)](_0x28b873['id'])&&_0x28b873['params'][_0x447884(0x1f4)]===this['_context'][_0x447884(0x1f4)]&&this['_refreshCollabCursors']();}));}[_0xbd72b5(0x2c8)](){const _0x3b7f4a=_0xbd72b5;this[_0x3b7f4a(0x323)](a[_0x3b7f4a(0x278)](this[_0x3b7f4a(0x33b)][_0x3b7f4a(0x366)][_0x3b7f4a(0x395)])[_0x3b7f4a(0x1db)]($['filter'](_0x238e0b=>_0x238e0b[_0x3b7f4a(0x1fa)]===p[_0x3b7f4a(0x251)][_0x3b7f4a(0x2f0)]),$[_0x3b7f4a(0x375)](0x10))[_0x3b7f4a(0x1fc)](()=>{this['_refreshCollabCursors']();}));}};Ie=vt([W(0x1,a[_0xbd72b5(0x1d6)](Y[_0xbd72b5(0x1f3)])),W(0x2,a[_0xbd72b5(0x1d6)](x)),W(0x3,a[_0xbd72b5(0x3ea)]),W(0x4,a[_0xbd72b5(0x1d6)](a[_0xbd72b5(0x1e9)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p[_0xbd72b5(0x3fb)]{constructor(_0x1e4110,_0x11aeeb){const _0x10e73d=_0xbd72b5;super(_0x1e4110,_0x11aeeb),h(this,_0x10e73d(0x1c3)),h(this,_0x10e73d(0x191),!0x1),h(this,_0x10e73d(0x28b)),h(this,_0x10e73d(0x358),''),h(this,'_labelPosition',_0x10e73d(0x39c)),h(this,_0x10e73d(0x3a7)),(_0x11aeeb&&this['setShapeProps'](_0x11aeeb),this[_0x10e73d(0x1f6)]['subscribeEvent'](()=>this[_0x10e73d(0x3ff)]({'hovered':!0x0})),this[_0x10e73d(0x327)][_0x10e73d(0x209)](()=>this[_0x10e73d(0x3ff)]({'hovered':!0x1})));}[_0xbd72b5(0x3ff)](_0x4ceca2){const _0x54c72f=_0xbd72b5;var _0x3ca022,_0x87badb,_0x380f53,_0x20df35,_0x3101de,_0x1d364a;this['_color']=(_0x3ca022=_0x4ceca2[_0x54c72f(0x329)])!=null?_0x3ca022:this['_color'],this['_hovered']=(_0x87badb=_0x4ceca2[_0x54c72f(0x2d1)])!=null?_0x87badb:this['_hovered'],this[_0x54c72f(0x28b)]=(_0x380f53=_0x4ceca2[_0x54c72f(0x2c6)])!=null?_0x380f53:this['_range'],this[_0x54c72f(0x358)]=(_0x20df35=_0x4ceca2['name'])!=null?_0x20df35:this[_0x54c72f(0x358)],this[_0x54c72f(0x2e2)]=(_0x3101de=_0x4ceca2['labelPosition'])!=null?_0x3101de:this['_labelPosition'],this['_backgroundColor']=(_0x1d364a=_0x4ceca2[_0x54c72f(0x202)])!=null?_0x1d364a:this[_0x54c72f(0x3a7)],this[_0x54c72f(0x3e6)]({'width':_0x4ceca2['width'],'height':_0x4ceca2[_0x54c72f(0x27e)]});}['onMouseMove'](_0x5e4837){const _0xfa5324=_0xbd72b5,{row:_0x59ca00,column:_0x2a9957}=_0x5e4837;if(_0x59ca00>=this['_range']['startRow']&&_0x59ca00<=this[_0xfa5324(0x28b)]['endRow']&&_0x2a9957>=this[_0xfa5324(0x28b)]['startColumn']&&_0x2a9957<=this['_range']['endColumn']){this[_0xfa5324(0x3ff)]({'hovered':!0x0});return;}this[_0xfa5324(0x3ff)]({'hovered':!0x1});}[_0xbd72b5(0x3b2)](_0x597719){return!0x1;}[_0xbd72b5(0x1a4)](_0x51497d){const _0x221ae9=_0xbd72b5;p[_0x221ae9(0x354)][_0x221ae9(0x31b)](_0x51497d,{'width':this[_0x221ae9(0x2d9)],'height':this['height'],'strokeWidth':mt,'stroke':this[_0x221ae9(0x1c3)],'evented':!0x1,'fill':this[_0x221ae9(0x3a7)]}),this[_0x221ae9(0x191)]&&(_0x51497d[_0x221ae9(0x400)](),_0x51497d[_0x221ae9(0x291)](0x1,0x0,0x0,0x1,this['width'],this[_0x221ae9(0x2e2)]==='bottom'?0x0:-0x14),ee[_0x221ae9(0x31b)](_0x51497d,{'text':this[_0x221ae9(0x358)],'color':this[_0x221ae9(0x1c3)]}),_0x51497d[_0x221ae9(0x355)]());}}var Ct=Object[_0xbd72b5(0x402)],pt=(_0x38ece9,_0x3a4a6b,_0x526db5,_0x1b858f)=>{for(var _0x24baee=_0x1b858f>0x1?void 0x0:_0x1b858f?Ct(_0x3a4a6b,_0x526db5):_0x3a4a6b,_0x385ad2=_0x38ece9['length']-0x1,_0x521acb;_0x385ad2>=0x0;_0x385ad2--)(_0x521acb=_0x38ece9[_0x385ad2])&&(_0x24baee=_0x521acb(_0x24baee)||_0x24baee);return _0x24baee;},ae=(_0x3cf39f,_0x14fa7c)=>(_0x221b65,_0x5b074b)=>_0x14fa7c(_0x221b65,_0x5b074b,_0x3cf39f);const bt=0x1389;let ve=class extends a[_0xbd72b5(0x283)]{constructor(_0x43e2d6,_0x2d355,_0x15eccb,_0x4520ed){const _0x2ed856=_0xbd72b5;super(),h(this,'_cursors',new Set()),h(this,_0x2ed856(0x35e),null),(this[_0x2ed856(0x33b)]=_0x43e2d6,this[_0x2ed856(0x3d5)]=_0x2d355,this['_collabCursorController']=_0x15eccb,this[_0x2ed856(0x398)]=_0x4520ed,this[_0x2ed856(0x1c9)]());}[_0xbd72b5(0x1c9)](){const _0x2cf5ed=_0xbd72b5;this[_0x2cf5ed(0x3d5)][_0x2cf5ed(0x22c)][_0x2cf5ed(0x1db)]($['takeUntil'](this[_0x2cf5ed(0x1a2)]),$[_0x2cf5ed(0x353)](_0x4e14cf=>{const _0x2a2ca3=_0x2cf5ed;if(_0x4e14cf){const _0x3f5d3f=_0x4e14cf['sheetId'];return d['combineLatest'](this[_0x2a2ca3(0x17a)][_0x2a2ca3(0x24f)](this[_0x2a2ca3(0x33b)][_0x2a2ca3(0x1f4)]),this[_0x2a2ca3(0x398)][_0x2a2ca3(0x3cc)])['pipe']($['map'](([_0x2a1ccc,_0x39438c])=>{const _0x42db08=_0x2a2ca3,_0x6df853=new Map();return _0x2a1ccc[_0x42db08(0x276)]((_0x51d086,_0x2658df)=>{const _0x2bc2d9=_0x42db08;if(_0x51d086[_0x2bc2d9(0x2a4)]===_0x3f5d3f){const _0x2d5a36={..._0x51d086};_0x2d5a36[_0x2bc2d9(0x329)]=this[_0x2bc2d9(0x398)][_0x2bc2d9(0x2db)](_0x51d086[_0x2bc2d9(0x329)]),_0x6df853['set'](_0x2658df,_0x2d5a36);}}),{'skeleton':_0x4e14cf,'cursors':_0x6df853};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x2cf5ed(0x1fc)](({skeleton:_0x2c25e5,cursors:_0x3f3ac5})=>{const _0x274334=_0x2cf5ed;this['_removeCollabCursors'](),_0x2c25e5&&this[_0x274334(0x3fc)](_0x2c25e5,_0x3f3ac5);}),this['_sheetSkeletonManagerService'][_0x2cf5ed(0x22c)]['subscribe'](_0x20a22f=>{const _0x43f3b0=_0x2cf5ed;if(_0x20a22f==null)return;const {skeleton:_0x236c77}=_0x20a22f,{scene:_0x4318e9}=this[_0x43f3b0(0x33b)];_0x4318e9[_0x43f3b0(0x180)][_0x43f3b0(0x209)](a[_0x43f3b0(0x33a)](_0x351cf4=>{const _0x234319=_0x43f3b0;var _0x5191eb,_0x4c5980;const {offsetX:_0x5093b9,offsetY:_0x773ff3}=_0x351cf4,{x:_0x335430,y:_0x3175b6}=_0x4318e9[_0x234319(0x288)](p['Vector2'][_0x234319(0x3b9)]([_0x5093b9,_0x773ff3])),{scaleX:_0x205d3b,scaleY:_0x46596f}=_0x4318e9[_0x234319(0x325)](),_0x1c3677=_0x4318e9[_0x234319(0x1e4)](p[_0x234319(0x3db)][_0x234319(0x26e)]),_0x58d4f8=_0x4318e9['getVpScrollXYInfoByPosToVp'](p[_0x234319(0x17c)][_0x234319(0x3b9)]([_0x335430,_0x3175b6]),_0x1c3677),_0x39c605=_0x236c77['getCellPositionByOffset'](_0x5093b9,_0x773ff3,_0x205d3b,_0x46596f,_0x58d4f8);((_0x5191eb=this[_0x234319(0x35e)])==null?void 0x0:_0x5191eb['column'])===_0x39c605[_0x234319(0x264)]&&((_0x4c5980=this[_0x234319(0x35e)])==null?void 0x0:_0x4c5980[_0x234319(0x210)])===_0x39c605[_0x234319(0x210)]||this['_cursors']['forEach'](_0x246333=>{const _0x5998ba=_0x234319;_0x246333[_0x5998ba(0x194)](_0x39c605);});},0x64));});}[_0xbd72b5(0x3fc)](_0x52dc60,_0x501c20){const _0x341313=_0xbd72b5;var _0x6c3aa9;const _0x2c175c=(_0x6c3aa9=this[_0x341313(0x3d5)][_0x341313(0x36d)]())==null?void 0x0:_0x6c3aa9['skeleton'];if(!_0x2c175c)return;const _0x5ce95c=this[_0x341313(0x274)]();if(!_0x5ce95c)return;this[_0x341313(0x382)]['forEach'](_0x22c12c=>{const _0x3c44f9=_0x341313;_0x22c12c[_0x3c44f9(0x286)]();});const {scene:_0x2005b1}=_0x5ce95c,_0x203419=Et(Array[_0x341313(0x20b)](_0x501c20[_0x341313(0x2b1)]()))[_0x341313(0x1de)](_0x47a532=>{const _0x23c22e=_0x341313,{color:_0xf3e76f,range:_0x9f7d1b,name:_0x2ffe95,selection:_0x38ae94,sheetID:_0x29b868}=_0x47a532,{startColumn:_0x5bf495,startRow:_0x419750,endColumn:_0xc7110b,endRow:_0x70b226}=_0x9f7d1b,_0x714fe1=X['getCoordByCell'](_0x419750,_0x5bf495,_0x2005b1,_0x2c175c),_0x4c133a=X[_0x23c22e(0x1d0)](_0x70b226,_0xc7110b,_0x2005b1,_0x2c175c),{columnHeaderHeightAndMarginTop:_0x42e855}=_0x2c175c,{startX:_0x366635,startY:_0xa4460e}=_0x714fe1,{endX:_0x2a217a,endY:_0x513788}=_0x4c133a,_0x1ee8f9=_0x2a217a-_0x366635,_0x1579d5=_0x513788-_0xa4460e,_0x3cebdc={'labelPosition':_0xa4460e-_0x42e855>=K?_0x23c22e(0x39c):_0x23c22e(0x1ce),'sheetID':_0x29b868,'range':_0x9f7d1b,'color':_0xf3e76f,'name':_0x2ffe95,'selection':_0x38ae94,'left':_0x366635,'top':_0xa4460e,'width':_0x1ee8f9,'height':_0x1579d5,'evented':!0x1,'zIndex':bt};return new Ae(_0x2ffe95,_0x3cebdc);});_0x2005b1[_0x341313(0x2cb)](_0x203419,gt),this[_0x341313(0x382)]=new Set(_0x203419);}[_0xbd72b5(0x37c)](){const _0x461b9e=_0xbd72b5;var _0x303b7a;(_0x303b7a=this['_cursors'])==null||_0x303b7a[_0x461b9e(0x276)](_0x468b31=>_0x468b31[_0x461b9e(0x32e)]());}[_0xbd72b5(0x274)](){const _0x200256=_0xbd72b5;return X['getSheetObject'](this[_0x200256(0x33b)][_0x200256(0x292)],this[_0x200256(0x33b)]);}};ve=pt([ae(0x1,a[_0xbd72b5(0x1d6)](X['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0xbd72b5(0x1d6)](a[_0xbd72b5(0x1e9)]))],ve);function Et(_0x18902e){const _0x3d2b33=_0xbd72b5,_0x5df69a=new Map();return _0x18902e[_0x3d2b33(0x276)](_0x4b3af3=>{const _0x3e65c8=_0x3d2b33;if(_0x5df69a[_0x3e65c8(0x3c8)](_0x4b3af3['selection'])){const _0x212e95=_0x5df69a[_0x3e65c8(0x206)](_0x4b3af3[_0x3e65c8(0x391)]);_0x212e95[_0x3e65c8(0x1dd)]+=',\x20'+_0x4b3af3[_0x3e65c8(0x1dd)];}else _0x5df69a['set'](_0x4b3af3[_0x3e65c8(0x391)],_0x4b3af3);}),Array[_0x3d2b33(0x20b)](_0x5df69a[_0x3d2b33(0x2b1)]());}var E=function(){const _0x120a18=_0xbd72b5;return E=Object['assign']||function(_0x434c81){const _0x231345=_0x4dae;for(var _0x340861,_0x5a9f68=0x1,_0x5b7a4a=arguments[_0x231345(0x1cf)];_0x5a9f68<_0x5b7a4a;_0x5a9f68++){_0x340861=arguments[_0x5a9f68];for(var _0x4f05fd in _0x340861)Object['prototype'][_0x231345(0x2e9)]['call'](_0x340861,_0x4f05fd)&&(_0x434c81[_0x4f05fd]=_0x340861[_0x4f05fd]);}return _0x434c81;},E[_0x120a18(0x1d5)](this,arguments);},Tt=function(_0x573f4d,_0x33c2dc){const _0xf5082d=_0xbd72b5;var _0x1b3f1e={};for(var _0x4c1196 in _0x573f4d)Object[_0xf5082d(0x1b0)][_0xf5082d(0x2e9)][_0xf5082d(0x392)](_0x573f4d,_0x4c1196)&&_0x33c2dc[_0xf5082d(0x1c8)](_0x4c1196)<0x0&&(_0x1b3f1e[_0x4c1196]=_0x573f4d[_0x4c1196]);if(_0x573f4d!=null&&typeof Object[_0xf5082d(0x1ed)]==_0xf5082d(0x272)){for(var _0x4f86e9=0x0,_0x4c1196=Object[_0xf5082d(0x1ed)](_0x573f4d);_0x4f86e9<_0x4c1196[_0xf5082d(0x1cf)];_0x4f86e9++)_0x33c2dc[_0xf5082d(0x1c8)](_0x4c1196[_0x4f86e9])<0x0&&Object[_0xf5082d(0x1b0)][_0xf5082d(0x19b)]['call'](_0x573f4d,_0x4c1196[_0x4f86e9])&&(_0x1b3f1e[_0x4c1196[_0x4f86e9]]=_0x573f4d[_0x4c1196[_0x4f86e9]]);}return _0x1b3f1e;},pe=M['forwardRef'](function(_0x212ef7,_0x4c7b1c){const _0x5459bb=_0xbd72b5;var _0x209ca8=_0x212ef7[_0x5459bb(0x34e)],_0x556c98=_0x212ef7['id'],_0x27b6f7=_0x212ef7[_0x5459bb(0x2ba)],_0x31e485=_0x212ef7['extend'],_0x36444e=Tt(_0x212ef7,[_0x5459bb(0x34e),'id','className',_0x5459bb(0x20f)]),_0x3f23ad=_0x5459bb(0x3d7)[_0x5459bb(0x394)](_0x556c98,'\x20')[_0x5459bb(0x394)](_0x27b6f7||'')[_0x5459bb(0x379)](),_0x2381dd=M['useRef']('_'[_0x5459bb(0x394)](Dt()));return we(_0x209ca8,''[_0x5459bb(0x394)](_0x556c98),{'defIds':_0x209ca8['defIds'],'idSuffix':_0x2381dd[_0x5459bb(0x266)]},E({'ref':_0x4c7b1c,'className':_0x3f23ad},_0x36444e),_0x31e485);});function we(_0x26c4a7,_0xf7b250,_0x172c45,_0x4b991e,_0x2520ca){const _0x14d71f=_0xbd72b5;return M[_0x14d71f(0x208)](_0x26c4a7['tag'],E(E({'key':_0xf7b250},Ot(_0x26c4a7,_0x172c45,_0x2520ca)),_0x4b991e),(Rt(_0x26c4a7,_0x172c45)[_0x14d71f(0x313)]||[])[_0x14d71f(0x1de)](function(_0x146967,_0x4589be){const _0x40871e=_0x14d71f;return we(_0x146967,''[_0x40871e(0x394)](_0xf7b250,'-')[_0x40871e(0x394)](_0x26c4a7[_0x40871e(0x3e2)],'-')[_0x40871e(0x394)](_0x4589be),_0x172c45,void 0x0,_0x2520ca);}));}function Ot(_0x3d4a1a,_0x5b12d1,_0x2ad590){const _0x31c82b=_0xbd72b5;var _0xca343=E({},_0x3d4a1a[_0x31c82b(0x356)]);_0x2ad590!=null&&_0x2ad590[_0x31c82b(0x1d8)]&&_0xca343['fill']===_0x31c82b(0x1d8)&&(_0xca343[_0x31c82b(0x403)]=_0x2ad590[_0x31c82b(0x1d8)]),_0x3d4a1a[_0x31c82b(0x3e2)]===_0x31c82b(0x2dd)&&_0xca343['id']&&(_0xca343['id']=_0xca343['id']+_0x5b12d1['idSuffix']),Object[_0x31c82b(0x2bd)](_0xca343)[_0x31c82b(0x276)](function(_0x418125){const _0x1cc1ab=_0x31c82b;var _0x296683=_0x418125[0x0],_0x571be8=_0x418125[0x1];_0x296683===_0x1cc1ab(0x2dd)&&typeof _0x571be8==_0x1cc1ab(0x2ce)&&(_0xca343[_0x296683]=_0x571be8[_0x1cc1ab(0x3b4)](/url\(#(.*)\)/,'url(#$1'[_0x1cc1ab(0x394)](_0x5b12d1[_0x1cc1ab(0x3a3)],')')));});var _0x431888=_0x5b12d1[_0x31c82b(0x260)];return!_0x431888||_0x431888[_0x31c82b(0x1cf)]===0x0||(_0x3d4a1a[_0x31c82b(0x3e2)]===_0x31c82b(0x187)&&_0xca343[_0x31c82b(0x22d)]&&(_0xca343[_0x31c82b(0x22d)]=_0xca343[_0x31c82b(0x22d)]+_0x5b12d1[_0x31c82b(0x3a3)]),Object[_0x31c82b(0x2bd)](_0xca343)[_0x31c82b(0x276)](function(_0xe83910){const _0x2586e1=_0x31c82b;var _0x235a80=_0xe83910[0x0],_0x25b2d6=_0xe83910[0x1];typeof _0x25b2d6=='string'&&(_0xca343[_0x235a80]=_0x25b2d6[_0x2586e1(0x3b4)](/url\(#(.*)\)/,_0x2586e1(0x301)[_0x2586e1(0x394)](_0x5b12d1[_0x2586e1(0x3a3)],')')));})),_0xca343;}function Rt(_0x42b042,_0x10ac38){const _0x653a2d=_0xbd72b5;var _0x2cc150,_0x23b65d=_0x10ac38[_0x653a2d(0x260)];return!_0x23b65d||_0x23b65d[_0x653a2d(0x1cf)]===0x0?_0x42b042:_0x42b042[_0x653a2d(0x3e2)]===_0x653a2d(0x176)&&(!((_0x2cc150=_0x42b042['children'])===null||_0x2cc150===void 0x0)&&_0x2cc150[_0x653a2d(0x1cf)])?E(E({},_0x42b042),{'children':_0x42b042[_0x653a2d(0x313)]['map'](function(_0x4dca02){const _0x512d4f=_0x653a2d;return typeof _0x4dca02[_0x512d4f(0x356)]['id']==_0x512d4f(0x2ce)&&_0x23b65d&&_0x23b65d[_0x512d4f(0x1c8)](_0x4dca02[_0x512d4f(0x356)]['id'])>-0x1?E(E({},_0x4dca02),{'attrs':E(E({},_0x4dca02[_0x512d4f(0x356)]),{'id':_0x4dca02[_0x512d4f(0x356)]['id']+_0x10ac38['idSuffix']})}):_0x4dca02;})}):_0x42b042;}function Dt(){const _0x5275f9=_0xbd72b5;return Math[_0x5275f9(0x3ad)]()[_0x5275f9(0x352)](0x24)[_0x5275f9(0x249)](0x2,0x8);}pe[_0xbd72b5(0x17d)]=_0xbd72b5(0x374);var Ut={'tag':_0xbd72b5(0x262),'attrs':{'fill':_0xbd72b5(0x215),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0xbd72b5(0x197)},'children':[{'tag':'g','attrs':{'clipPath':_0xbd72b5(0x1b4)},'children':[{'tag':_0xbd72b5(0x337),'attrs':{'stroke':_0xbd72b5(0x295),'d':_0xbd72b5(0x3cd),'strokeLinecap':_0xbd72b5(0x27c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xbd72b5(0x176),'attrs':{},'children':[{'tag':_0xbd72b5(0x1e3),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0xbd72b5(0x337),'attrs':{'fill':'#fff','d':_0xbd72b5(0x3c6)}}]}]}],'defIds':[_0xbd72b5(0x321)]},ye=M[_0xbd72b5(0x31a)](function(_0x37738a,_0x14f08d){const _0x5691d2=_0xbd72b5;return M[_0x5691d2(0x208)](pe,Object[_0x5691d2(0x2ff)]({},_0x37738a,{'id':'off-line-single','ref':_0x14f08d,'icon':Ut}));});ye[_0xbd72b5(0x17d)]='OffLineSingle';var Nt={'tag':_0xbd72b5(0x262),'attrs':{'fill':_0xbd72b5(0x215),'viewBox':_0xbd72b5(0x2ee),'width':_0xbd72b5(0x197),'height':_0xbd72b5(0x197)},'children':[{'tag':'g','attrs':{'clipPath':_0xbd72b5(0x37e)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xbd72b5(0x27c),'strokeLinejoin':_0xbd72b5(0x27c),'strokeWidth':1.2}}]},{'tag':_0xbd72b5(0x176),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbd72b5(0x21d)},'children':[{'tag':_0xbd72b5(0x337),'attrs':{'fill':_0xbd72b5(0x3b7),'d':_0xbd72b5(0x3c6),'transform':_0xbd72b5(0x328)}}]}]}],'defIds':[_0xbd72b5(0x21d)]},$e=M[_0xbd72b5(0x31a)](function(_0x35dce7,_0x18d6ff){const _0x4c7e64=_0xbd72b5;return M[_0x4c7e64(0x208)](pe,Object[_0x4c7e64(0x2ff)]({},_0x35dce7,{'id':_0x4c7e64(0x250),'ref':_0x18d6ff,'icon':Nt}));});$e['displayName']=_0xbd72b5(0x3f8);function Mt(_0x304872){const _0x17f7f7=_0xbd72b5;switch(_0x304872){case u[_0x17f7f7(0x1a1)][_0x17f7f7(0x3dd)]:return _0x17f7f7(0x2b5);case u[_0x17f7f7(0x1a1)][_0x17f7f7(0x25a)]:return'collabStatus.conflict';case u[_0x17f7f7(0x1a1)][_0x17f7f7(0x243)]:return _0x17f7f7(0x378);case u[_0x17f7f7(0x1a1)][_0x17f7f7(0x184)]:return _0x17f7f7(0x199);case u[_0x17f7f7(0x1a1)][_0x17f7f7(0x234)]:case u[_0x17f7f7(0x1a1)][_0x17f7f7(0x3da)]:return'collabStatus.syncing';case u[_0x17f7f7(0x1a1)][_0x17f7f7(0x38f)]:case u[_0x17f7f7(0x1a1)]['PENDING']:return _0x17f7f7(0x32c);}}function xe(_0x57aae4){const _0x2d1701=_0xbd72b5,{status$:_0x15b058}=_0x57aae4,_0x4690b0=T[_0x2d1701(0x1ff)](_0x15b058,u[_0x2d1701(0x1a1)]['NOT_COLLAB']),_0x58a989=T['useDependency'](a['LocaleService']),_0x181feb=T['useDependency'](u[_0x2d1701(0x307)]),_0x98b7e1=_0x4690b0!==u[_0x2d1701(0x1a1)][_0x2d1701(0x3dd)],_0x2a3f5b=_0x58a989['t'](Mt(_0x4690b0)),_0x74fb7a=_0x98b7e1?P[_0x2d1701(0x388)]($e,{}):P[_0x2d1701(0x388)](ye,{}),_0x56ce1e=M[_0x2d1701(0x31c)](()=>{const _0x5836b4=_0x2d1701;_0x98b7e1||_0x181feb[_0x5836b4(0x2a1)]();},[_0x98b7e1,_0x181feb]);function _0x154f04(){const _0x1646a4=_0x2d1701;return P[_0x1646a4(0x189)](_0x1646a4(0x2c3),{'className':_0x1646a4(0x23e),'onClick':_0x56ce1e,'children':[P[_0x1646a4(0x388)](_0x1646a4(0x2c3),{'className':D['clsx']('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x98b7e1,'univer-text-red-500':!_0x98b7e1}),'children':_0x74fb7a}),P[_0x1646a4(0x388)](_0x1646a4(0x2c3),{'className':_0x1646a4(0x384),'children':_0x2a3f5b})]});}return _0x98b7e1?_0x154f04():P[_0x2d1701(0x388)](D['Tooltip'],{'title':_0x58a989['t'](_0x2d1701(0x242)),'children':_0x154f04()});}var Lt=Object['getOwnPropertyDescriptor'],Pt=(_0x28ccbf,_0x465938,_0x166a57,_0x13f29d)=>{for(var _0xad1b0d=_0x13f29d>0x1?void 0x0:_0x13f29d?Lt(_0x465938,_0x166a57):_0x465938,_0x1c85f3=_0x28ccbf['length']-0x1,_0x2b61d9;_0x1c85f3>=0x0;_0x1c85f3--)(_0x2b61d9=_0x28ccbf[_0x1c85f3])&&(_0xad1b0d=_0x2b61d9(_0xad1b0d)||_0xad1b0d);return _0xad1b0d;},V=(_0x353d6e,_0x489411)=>(_0x59baa8,_0x5655fa)=>_0x489411(_0x59baa8,_0x5655fa,_0x353d6e);exports[_0xbd72b5(0x3fa)]=class extends a[_0xbd72b5(0x1b7)]{constructor(_0x5b6274,_0x31cc5d,_0x1bdaa9,_0x3b5a57){const _0x6f7e03=_0xbd72b5;super(),h(this,_0x6f7e03(0x3bc),new d['BehaviorSubject'](u[_0x6f7e03(0x1a1)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5b6274,this[_0x6f7e03(0x207)]=_0x31cc5d,this['_collaborationController']=_0x1bdaa9,this['_uiPartsService']=_0x3b5a57,this[_0x6f7e03(0x23f)](),this[_0x6f7e03(0x3c4)]());}[_0xbd72b5(0x3c4)](){const _0x11a000=_0xbd72b5;this[_0x11a000(0x323)](this[_0x11a000(0x224)][_0x11a000(0x218)]['pipe'](d[_0x11a000(0x353)](()=>{const _0xbf1857=_0x11a000,_0x28b51c=this[_0xbf1857(0x224)][_0xbf1857(0x397)]();return _0x28b51c?this['_collaborationController'][_0xbf1857(0x2e6)](_0x28b51c[_0xbf1857(0x1e1)]()):d['of'](null);}),d['switchMap'](_0x63fce0=>_0x63fce0?_0x63fce0['status$']:d['of'](u['CollaborationStatus'][_0x11a000(0x184)])))['subscribe'](_0x3a2ff9=>{const _0x482852=_0x11a000;this['_status$'][_0x482852(0x2ad)](_0x3a2ff9);}));}[_0xbd72b5(0x23f)](){const _0x17e0c1=_0xbd72b5;this[_0x17e0c1(0x323)](this[_0x17e0c1(0x1ba)][_0x17e0c1(0x3b8)](T[_0x17e0c1(0x22e)][_0x17e0c1(0x23c)],()=>T['connectInjector'](At({'status$':this[_0x17e0c1(0x3bc)][_0x17e0c1(0x30a)]()}),this[_0x17e0c1(0x207)])));}},exports[_0xbd72b5(0x3fa)]=Pt([V(0x0,a[_0xbd72b5(0x3e7)]),V(0x1,a[_0xbd72b5(0x1d6)](a[_0xbd72b5(0x338)])),V(0x2,a[_0xbd72b5(0x1d6)](u[_0xbd72b5(0x335)])),V(0x3,T['IUIPartsService'])],exports[_0xbd72b5(0x3fa)]);function At(_0x25835d){const {status$:_0x41d9d2}=_0x25835d;return function(){const _0x3ed237=_0x4dae;return P[_0x3ed237(0x388)](xe,{'status$':_0x41d9d2});};}var wt=Object[_0xbd72b5(0x402)],yt=(_0x3919bd,_0x108394,_0x18ceff,_0x5404c3)=>{for(var _0x1d3689=_0x5404c3>0x1?void 0x0:_0x5404c3?wt(_0x108394,_0x18ceff):_0x108394,_0x2fd311=_0x3919bd['length']-0x1,_0x1cd51d;_0x2fd311>=0x0;_0x2fd311--)(_0x1cd51d=_0x3919bd[_0x2fd311])&&(_0x1d3689=_0x1cd51d(_0x1d3689)||_0x1d3689);return _0x1d3689;},y=(_0x2d9898,_0x282748)=>(_0x2ed767,_0x54dd88)=>_0x282748(_0x2ed767,_0x54dd88,_0x2d9898);let q=class extends a['Disposable']{constructor(_0x96815d,_0x15132f,_0x4c46fa,_0x56a7ea,_0x5d7663,_0x14abfc){const _0x317ddc=_0xbd72b5;super(),this[_0x317ddc(0x282)]=_0x96815d,this['_localCacheService']=_0x15132f,this[_0x317ddc(0x344)]=_0x4c46fa,this[_0x317ddc(0x1b9)]=_0x56a7ea,this[_0x317ddc(0x1cb)]=_0x5d7663,this[_0x317ddc(0x3bf)]=_0x14abfc,this[_0x317ddc(0x293)](),this[_0x317ddc(0x28c)]();}[_0xbd72b5(0x293)](){const _0x2a9201=_0xbd72b5;this[_0x2a9201(0x323)](this[_0x2a9201(0x282)][_0x2a9201(0x362)](()=>{const _0x44d3c6=_0x2a9201;if(this[_0x44d3c6(0x2e1)][_0x44d3c6(0x289)][_0x44d3c6(0x2c9)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0xbd72b5(0x28c)](){const _0xdafa9a=_0xbd72b5;this[_0xdafa9a(0x323)](this[_0xdafa9a(0x344)][_0xdafa9a(0x3cf)]['subscribe'](_0x39ee0d=>{const _0x1348b1=_0xdafa9a;_0x39ee0d['id']===u[_0x1348b1(0x36c)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x1348b1(0x17b)]({'type':D['MessageType'][_0x1348b1(0x3df)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x39ee0d['id']===u[_0x1348b1(0x36c)][_0x1348b1(0x319)]&&this[_0x1348b1(0x1b9)][_0x1348b1(0x17b)]({'type':D['MessageType']['Warning'],'content':this['_localeService']['t'](_0x1348b1(0x25d))}),_0x39ee0d['id']===u[_0x1348b1(0x36c)]['PERMISSION_DENIED']&&this[_0x1348b1(0x1cb)][_0x1348b1(0x17b)]({'title':this['_localeService']['t'](_0x1348b1(0x35b)),'content':this['_localeService']['t'](_0x1348b1(0x261)),'type':_0x1348b1(0x3ca),'duration':0x0}),_0x39ee0d['id']===u[_0x1348b1(0x36c)][_0x1348b1(0x25a)]&&this['_messageService']['show']({'type':D[_0x1348b1(0x3c9)][_0x1348b1(0x3d3)],'content':this[_0x1348b1(0x3bf)]['t'](_0x1348b1(0x25d))+'('+_0x39ee0d[_0x1348b1(0x2b9)]+')'}),_0x39ee0d['id']===u['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x1348b1(0x1b9)]['show']({'type':D[_0x1348b1(0x3c9)]['Warning'],'content':this[_0x1348b1(0x3bf)]['t'](_0x39ee0d[_0x1348b1(0x2b9)]||'')}),_0x39ee0d['id']===u['CollaborationUIEventId'][_0x1348b1(0x1ab)]&&this[_0x1348b1(0x1b9)][_0x1348b1(0x17b)]({'type':D['MessageType']['Warning'],'content':this['_localeService']['t'](_0x1348b1(0x1f9))}),_0x39ee0d['id']===u[_0x1348b1(0x36c)][_0x1348b1(0x393)]&&this[_0x1348b1(0x1b9)][_0x1348b1(0x17b)]({'type':D[_0x1348b1(0x3c9)][_0x1348b1(0x3d3)],'content':this[_0x1348b1(0x3bf)]['t'](_0x1348b1(0x38d))}),_0x39ee0d['id']===u[_0x1348b1(0x36c)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x1348b1(0x1b9)][_0x1348b1(0x17b)]({'type':D[_0x1348b1(0x3c9)][_0x1348b1(0x3d3)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};q=yt([y(0x0,T[_0xbd72b5(0x376)]),y(0x1,u[_0xbd72b5(0x22f)]),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,T[_0xbd72b5(0x2f8)]),y(0x4,T[_0xbd72b5(0x1fd)]),y(0x5,a[_0xbd72b5(0x1d6)](a[_0xbd72b5(0x226)]))],q);const $t=_0xbd72b5(0x369),Ue={},be=a[_0xbd72b5(0x386)](_0xbd72b5(0x1fe));function _0x3f5d(){const _0xf06ba5=['_configService','_cursorInfo$','_updateURLWithCurrentState','DisposableCollection','runRefRangeMutations','HEADER_MENU','setAlpha','univer-flex\x20univer-items-center','_initStatusComponent','_document','MemberService','collab-client.tooltip.reconnect','FETCH_MISS','ILocalStorageService','setConfig','186613qUvmoJ','_scheduleClearOtherTimer','_collabSessionService','substring','IConfigService','_memberService','href','symbol','handleIRemoveCol','getCollabCursors$','on-line-single','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getItem','DocIMEInputManagerService','UPDATE_CURSOR','DocCollaborationEntity','_onRefRangeChange','BehaviorSubject','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WebBrowserSingleActiveUnitService','CONFLICT','ITransformService','_updateSubUnitFromURLParams','collaboration.closeRoom','ranges','hide','defIds','permission.content','svg','undoState','column','_drawRectRange','current','cursorInfo$','ALREADY_EXISTS','_online','getOffsetConfig','#FFF','findNodePositionByCharIndex','textRanges','VIEW_MAIN','search','handleIRemoveRow','with','function','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getSheetObject','getRangePointData','forEach','OTHER_CLIENTS_EDITING','fromEventSubject','USER_NOT_INVITED_CODE','setActiveRange','_saveCache','round','split','height','lineTo','disableLocalCache','_hover','_beforeCloseService','RxDisposable','getUnhiddenWorksheets','exhaustSavingTask','makeDirty','registerRenderModule','getRelativeToViewportCoord','saveTaskMap','transformMutation','_range','_initEvent','rgba(255,\x20255,\x20255,\x200.01)','_scene','isTransformMutationFailure','post','transform','unit','_setupBeforeClosingHandler','_toggleOnline','currentColor','getMergeData','CollaborationEvent','origin','_revisionService','shareReplay','CommandType','INVITE_CODE_REQUIRED','_commandService','_logService','jiqing.500','LOGIN_FAILED','reconnect','APPLY_DUPLICATED','TEXT_RANGE_LAYER_INDEX','sheetID','storage','black','getDocRanges','RevisionService','[CollaborationDataLoaderController]','react/jsx-runtime','editingUnit','_textBubble','next','_cachedData','getCurrentRevOfUnit','APPLY_REVISION_CONFILICT','values','_localStorageService','_getAnchorBounding','distinctUntilChanged','collabStatus.offline','_anchorDot','ColorKit','_handleHover','data','className','executeCommand','pushState','entries','12zONZsl','RemoteUniscriptService','_docStateChangeManagerService','_docSkeleton','UNIVER_SHEET','div','setItem','_assignedColors','range','unsubscribe','_initResize','size','Module','addObjects','actions','CollaborationDataLoaderController','string','wsSessionTicketUrl','transformMutationsWithChangeset','hovered','Unknown\x20user','createInstance','min','loadUnit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','eventID','complete','width','body','getColorFromTheme','DOC_RANGE_TYPE','mask','saveOfflineData','_docTransformIMECacheService','debug','_localCacheService','_labelPosition','getParam','_docClipboardService','key','getCollabEntity$','_colorIndex','activeSheet$','hasOwnProperty','green.600','getMember','invokeId','params','0\x200\x2017\x2016','_initDependencies','resize','unshift','setUndoRedoMutationParamsCache','MoveRangeCommandId','_initEntityListener','requireSession','getLocalCacheKey','push','IMessageService','getActiveRange','_imageIoService','YUUMI_AI_RUN_FAILED','_roomMembers$','clearTimeout','newValue','assign','_startDocCollabCursor','url(#$1','8784391DPTmZW','blue.400','EffectRefRangId','LOCAL_CACHE_INTERVAL','getSheetBySheetId','CollaborationSessionService','CHANGESET_REVISION_CONFILICT','INTERNAL_ERROR','asObservable','EMAIL_HAS_BEEN_BOUND','getTypeOfUnitDisposed$','SNAPSHOT_INVALID_SNAPSHOT','source','m2Prime','takeUntil','getConfig','YUUMI_ALL_TABLES_IS_INVALID','children','WECHAT_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','measureText','setInterval','SetSelectionsOperation','CLOSE_ROOM','forwardRef','drawWith','useCallback','deserializeRangeWithSheet','getSheetId','flatMap','_heartbeatTimer','off-line-single_clip0_910_343','toStringTag','disposeWithMe','history','getAncestorScale','evenodd','onPointerLeave$','translate(.97)','color','_updateLocalCursor','toRgbString','collabStatus.synced','onLocalMutation','dispose','Tools','_entities','@univerjs/engine-render','rxjs/operators','purple.300','543870FJravT','CollaborationController','UNRECOGNIZED','path','Injector','@univerjs/sheets-ui','debounce','_context','syncEditingCollabCursor','getUnitStatus$','_eventUnsubscribe','sessionTicket','DeleteRangeMoveUpCommandId','1317316VYvsRJ','Subject','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationUIEventService','addHandlerCallback','fillStyle','unload','IRemoteInstanceService','10768336NLuDEs','_onCursorUpdate','searchParams','then','HTTPService','icon','_disabled','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_urlService','toString','switchMap','Rect','restore','attrs','setTimeout','_name','_docTransformStateCacheService','getCurrentUnitForType','permission.title','assignAColorForMemberID','DeleteRangeMoveLeftCommandId','_lastPointer','collab-text-anchor-','ILogService','_docSyncEditingCollabCursorService','registerBeforeClose','text','UNAUTHENTICATED','getTypeOfUnitAdded$','engine','_getSaveTimeout','YUUMI_RATE_OVER_LIMIT','collaboration-client-ui.config','getUniverSheetInstance','_collaborationController','CollaborationUIEventId','getCurrent','_docSkeletonManagerService','imageSourceType','parse','Optional','SheetsSelectionsService','_doCreateSocket','UniverIcon','throttleTime','IBeforeCloseService','defineProperty','collabStatus.fetchMiss','trim','RECT','_cursorShapes','_removeCollabCursors','ISnapshotServerService','url(#on-line-single_clip0_910_349)','_onCursorDelete','USERS_LEAVE','subunit','_cursors','handleInsertRangeMoveDown','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','toDisposable','createIdentifier','576579akDiPY','jsx','DocSelectionManagerService','YUUMI_URL_COL_OUT_OF_RANGE','UnitStatus','collabCursorState$','session.connection-failed','handleDeleteRangeMoveUp','SYNCED','_getScale','selection','call','SOCKET_FAILED','concat','onTransformChange$','ticket','getFocusedUnit','_themeService','_transformUndoRedoStack','_handleEvent','RegularPolygon','top','...','_transformHistoryAndStateStack','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onStarting','cursorInfo','mergeOverrideWithDependencies','idSuffix','NO_OTHER_CLIENTS_EDITING','getStateCache','_httpService','_backgroundColor','max','_id','_syncEditingCollabCursorService','fillText','_unitOnClients','random','_scheduleSaving','_registerDependencies','_instanceService','redoState','triggerDblclick','Failed','replace','LICENSE_DISTRO_REJECTED','_collabCursorState$','#fff','registerComponent','FromArray','115rVZuEQ','transformStateCache','_status$','_getMergeRange','getMemberID','_localeService','saveImage','init','getValue','NOT_FOUND','_initStatusListener','SheetCollabCursorShape','M0\x200H16V16H0z','set','has','MessageType','error','contains','currentTheme$','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','@univerjs/ui','event$','getRenderById','CollaborationSocketService','9bBErXg','Error','sessionStatus$','_sheetSkeletonManagerService','debounceTime','univerjs-icon\x20univerjs-icon-','getColor','ISocketService','AWAITING_WITH_PENDING','SHEET_VIEWPORT_KEY','INVITE_CODE_HAS_BEEN_UES','OFFLINE','INVALID_ARGUMENT','Warning','clearInterval','transformIMECache','tag','_drawAnchor','executionId','_registerRenderDependencies','transformByState','IUniverInstanceService','PY_RUNTIME_SCRIPT_ERROR','_anchor','ICommandService','onCommandExecuted','docStateChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_session','ACTIVE_UNIT_EVENT_CHANNEL','_send','urlChange$','pluginName','@univerjs/drawing','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','CONNECTOR_DATA_TOO_LARGE','combineLatest','OnLineSingle','COMPLETION_FINISHED','DesktopCollaborationStatusDisplayController','Shape','_updateCollabCursors','_dataLoaderService','_entityInit$','setShapeProps','save','DependentOn','getOwnPropertyDescriptor','fill','m1Prime','defs','replaceState','UNDEFINED','handleInsertRow','_collabCursorController','show','Vector2','displayName','_handleLeaveEvent','roomMembers$','onPointerMove$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COLORS','runId','NOT_COLLAB','registerDependencies','_unitStatus','use','_colorAssignService','jsxs','registerRefRange','ENSURE_SNAPSHOT_EXECUTION','enableLocalCache','_initCommandExecutedListener','@univerjs/engine-formula','isActive','setStateCache','_hovered','collab-rect-range-','arc','onMouseMove','disposeUnit','_createSocketURL','1em','INVITE_CODE_ALREADY_BOUND','collabStatus.notCollab','ONLINE','propertyIsEnumerable','getSkeleton','SessionStatus','693OIpxgt','IRenderManagerService','@univerjs-pro/collaboration-client','CollaborationStatus','dispose$','roomMembers','_draw','_selfUnitIDs','handleInsertRangeMoveRight','createSocket','_transformPreviousActiveRange','_ensureSubject','YUUMI_ASYNCIO_CANCELLED','SOCKET_FAILED_RETRY','getCurrentSelections','_removeClearOtherTimer','SNAPSHOT_HAS_BEEN_REMOVED','deepClone','prototype','mutations','serializeRangeWithSheet','YUUMI_NO_CUBOID_FOR_QUESTION','url(#off-line-single_clip0_910_343)','@univerjs/core','isArray','Disposable','_cursor','_messageService','_uiPartsService','TOO_MANY_REQUESTS','merge','PERMISSION_DENIED','_config','location','addObject','_drawTextRange','YUUMI_UNABLE_LOAD_URL','_color','addClipboardHook','_handleHeartbeatEvent','Workbook','transformRemoteChangeset','indexOf','_init','fromEvent','_notificationService','RichTextEditingMutation','TEXT','bottom','length','getCoordByCell','INVALID_INVITE_CODE','filter','handleMoveRange','react','apply','Inject','APPLY_REJECT','colorChannel1','MOBILE_HAS_BEEN_BOUND','generateRandomId','pipe','_getSessionTicket','name','map','addEventListener','InsertRangeMoveDownCommandId','getUnitId','transformSelections','clipPath','getViewport','add','IDocClipboardService','yellow.400','rxjs','ThemeService','UniverCollaborationClientUIPlugin','some','getUndoRedoMutationParamsCache','getOwnPropertySymbols','_clearOtherTimers','popstate','_setupSubUnitSync','handleInsertCol','APPLY_PERMISSION_DENIED','DocSkeletonManagerService','unitId','_saveTaskMap','onPointerEnter$','isTransformMutationsWithChangesetSuccess','_docTransformSelectionsService','session.will-retry','type','BrowserCollaborationSocketService','subscribe','INotificationService','uni.network.url-service','useObservable','delete','_hideTimer','backgroundColor','_transformService','IImageIoService','all','get','_injector','createElement','subscribeEvent','fillRule','from','SetTextSelectionsOperation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SetDocZoomRatioOperation','extend','row','UNIVER_DOC','/run/','onRendered','includes','none','UniverInstanceType','code','focused$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_renderManagerService','143106WrSsvZ','send','on-line-single_clip0_910_349','InsertColCommandId','_toggleOffline','setParam','IURLService','touchDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','_univerInstanceService','subUnitId','LocaleService','doc.mutation.rich-text-editing','RemoveColCommandId','DataLoaderService','stringify','unitID','currentSkeleton$','xlink:href','BuiltInUIPart','ILocalCacheService','_scheduleHeartbeat','_startSheetCollabCursor','_refRangeService','_handleJoinEvent','AWAITING','getActiveSheet','_shapes'];_0x3f5d=function(){return _0xf06ba5;};return _0x3f5d();}var xt=Object[_0xbd72b5(0x402)],jt=(_0x277767,_0x4d342a,_0x20c90b,_0x1b50fa)=>{const _0x3942e1=_0xbd72b5;for(var _0x253cea=_0x1b50fa>0x1?void 0x0:_0x1b50fa?xt(_0x4d342a,_0x20c90b):_0x4d342a,_0x3543b5=_0x277767[_0x3942e1(0x1cf)]-0x1,_0x3db2d2;_0x3543b5>=0x0;_0x3543b5--)(_0x3db2d2=_0x277767[_0x3543b5])&&(_0x253cea=_0x3db2d2(_0x253cea)||_0x253cea);return _0x253cea;},H=(_0x170dd3,_0x457358)=>(_0x3641cd,_0x235d2e)=>_0x457358(_0x3641cd,_0x235d2e,_0x170dd3);exports['CollaborationDataLoaderController']=class extends a[_0xbd72b5(0x283)]{constructor(_0x543940,_0x561f71,_0xd1575c,_0x15621f,_0x50534d){const _0x38ff08=_0xbd72b5;super(),this[_0x38ff08(0x351)]=_0x543940,this[_0x38ff08(0x29e)]=_0x561f71,this['_commandService']=_0xd1575c,this[_0x38ff08(0x3fd)]=_0x15621f,_0x50534d?_0x50534d==null||_0x50534d['whenReady']()[_0x38ff08(0x34c)](()=>this['_init']()):(this[_0x38ff08(0x29e)]['debug'](_0x38ff08(0x2a9),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0xbd72b5(0x1c9)](){const _0x342a06=_0xbd72b5,_0x13e363=this['_urlService'][_0x342a06(0x2e3)]('unit'),_0x4c6037=this[_0x342a06(0x351)][_0x342a06(0x2e3)](_0x342a06(0x1fa)),_0x5161d3=this[_0x342a06(0x351)][_0x342a06(0x2e3)](_0x342a06(0x381));if(!_0x13e363||!_0x4c6037){this[_0x342a06(0x29e)][_0x342a06(0x2e0)](_0x342a06(0x2a9),_0x342a06(0x181));return;}const _0x5ca0a5=await this['_dataLoaderService'][_0x342a06(0x2d5)](_0x13e363,Number(_0x4c6037),_0x5161d3);_0x5ca0a5&&_0x5ca0a5 instanceof a[_0x342a06(0x1c6)]&&this[_0x342a06(0x1f0)](_0x5ca0a5);}async[_0xbd72b5(0x1f0)](_0x2de546){const _0x3f0e13=_0xbd72b5;await this['_updateSubUnitFromURLParams'](_0x2de546),_0x2de546[_0x3f0e13(0x2e8)][_0x3f0e13(0x1db)](d[_0x3f0e13(0x310)](this[_0x3f0e13(0x1a2)]))[_0x3f0e13(0x1fc)](_0x1a602e=>{const _0x22dffa=_0x3f0e13;_0x1a602e&&this[_0x22dffa(0x239)](_0x1a602e);}),this[_0x3f0e13(0x351)][_0x3f0e13(0x3f1)][_0x3f0e13(0x1db)](d[_0x3f0e13(0x310)](this[_0x3f0e13(0x1a2)]))['subscribe'](()=>this[_0x3f0e13(0x25c)](_0x2de546));}['_updateURLWithCurrentState'](_0x2b109b,_0x6685c4=!0x1){const _0x2977eb=_0xbd72b5,_0x5a4d97=this['_urlService'][_0x2977eb(0x2e3)]('subunit');_0x2b109b[_0x2977eb(0x31e)]()!==_0x5a4d97&&this[_0x2977eb(0x351)][_0x2977eb(0x220)](_0x2977eb(0x381),_0x2b109b['getSheetId'](),_0x6685c4);}async['_updateSubUnitFromURLParams'](_0xd16c70){const _0x3f07a0=_0xbd72b5;var _0x2db716;const _0x5bb7a1=this[_0x3f07a0(0x351)][_0x3f07a0(0x2e3)](_0x3f07a0(0x381));if(!_0x5bb7a1||!_0xd16c70[_0x3f07a0(0x306)](_0x5bb7a1)){const _0x314f1e=_0xd16c70[_0x3f07a0(0x284)]()[0x0],_0x49a235=_0xd16c70[_0x3f07a0(0x306)](_0x314f1e);if(!_0x49a235)return;this[_0x3f07a0(0x239)](_0x49a235,!0x0),await this[_0x3f07a0(0x29d)][_0x3f07a0(0x2bb)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0xd16c70['getUnitId'](),'subUnitId':_0x314f1e});return;}((_0x2db716=_0xd16c70[_0x3f07a0(0x235)]())==null?void 0x0:_0x2db716[_0x3f07a0(0x31e)]())!==_0x5bb7a1&&await this['_commandService'][_0x3f07a0(0x2bb)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0xd16c70[_0x3f07a0(0x1e1)](),'subUnitId':_0x5bb7a1});}},exports[_0xbd72b5(0x2cd)]=jt([H(0x0,be),H(0x1,a[_0xbd72b5(0x360)]),H(0x2,a[_0xbd72b5(0x3ea)]),H(0x3,a[_0xbd72b5(0x1d6)](u[_0xbd72b5(0x229)])),H(0x4,a[_0xbd72b5(0x371)](Ke[_0xbd72b5(0x348)]))],exports[_0xbd72b5(0x2cd)]);var Bt=Object['getOwnPropertyDescriptor'],kt=(_0x4cede9,_0x3f3c89,_0x701cc0,_0x4dfab1)=>{for(var _0x56485b=_0x4dfab1>0x1?void 0x0:_0x4dfab1?Bt(_0x3f3c89,_0x701cc0):_0x3f3c89,_0x2e509c=_0x4cede9['length']-0x1,_0x3d0480;_0x2e509c>=0x0;_0x2e509c--)(_0x3d0480=_0x4cede9[_0x2e509c])&&(_0x56485b=_0x3d0480(_0x56485b)||_0x56485b);return _0x56485b;},ce=(_0x966325,_0x31a0df)=>(_0x24a56f,_0x495272)=>_0x31a0df(_0x24a56f,_0x495272,_0x966325);let z=class{constructor(_0x5d7fa7,_0x217f9d,_0x21b08d){const _0x4dc4ae=_0xbd72b5;this[_0x4dc4ae(0x207)]=_0x5d7fa7,this[_0x4dc4ae(0x203)]=_0x217f9d,this[_0x4dc4ae(0x21a)]=_0x21b08d;}['transformIMECache'](_0x50cc6b){const _0x424e78=_0xbd72b5;this[_0x424e78(0x399)](_0x50cc6b),this[_0x424e78(0x1a8)](_0x50cc6b);}[_0xbd72b5(0x1c7)](_0x40b648){const _0x525ba0=_0xbd72b5,{unitID:_0x45caa9}=_0x40b648,_0x53b2c7=this['_renderManagerService'][_0x525ba0(0x3d0)](_0x45caa9)[_0x525ba0(0x271)](b[_0x525ba0(0x253)]),{redoCache:_0x2667f9}=_0x53b2c7[_0x525ba0(0x1ec)]();if(_0x2667f9['length']===0x0)return _0x40b648;let _0x214be3=a[_0x525ba0(0x32f)][_0x525ba0(0x1af)](_0x40b648['mutations'][0x0]);for(let _0x19922a=0x0;_0x19922a<_0x2667f9[_0x525ba0(0x1cf)];_0x19922a++){const _0x26f0a6={'id':'doc.mutation.rich-text-editing','params':{..._0x2667f9[_0x19922a]}},_0x53db24=this['_transformService'][_0x525ba0(0x28a)](_0x214be3,_0x26f0a6,!0x1);if(m['isTransformMutationFailure'](_0x53db24))throw _0x53db24['error'];_0x214be3=_0x53db24['m1Prime'];}return{...a[_0x525ba0(0x32f)][_0x525ba0(0x1af)](_0x40b648),'mutations':[_0x214be3]};}[_0xbd72b5(0x399)](_0x3828c7){const _0x573043=_0xbd72b5,{unitID:_0x33ca92}=_0x3828c7,_0x3c7934=this['_renderManagerService'][_0x573043(0x3d0)](_0x33ca92)[_0x573043(0x271)](b[_0x573043(0x253)]),{undoCache:_0x1bf235,redoCache:_0x5ce001}=_0x3c7934[_0x573043(0x1ec)]();if(_0x1bf235[_0x573043(0x1cf)]===0x0||_0x5ce001['length']===0x0)return;const _0x2fce16=[],_0x1cfb64=[];let _0x127a05=a[_0x573043(0x32f)][_0x573043(0x1af)](_0x3828c7[_0x573043(0x1b1)][0x0]),_0x41dfa5=a[_0x573043(0x32f)]['deepClone'](_0x3828c7[_0x573043(0x1b1)][0x0]);for(let _0x327cf5=_0x1bf235['length']-0x1;_0x327cf5>=0x0;_0x327cf5--){const _0x3cc870={'id':_0x573043(0x227),'params':{..._0x1bf235[_0x327cf5]}},_0x845769={'id':_0x573043(0x227),'params':{..._0x5ce001[_0x327cf5]}},_0x3d12d0=this['_transformService'][_0x573043(0x28a)](_0x127a05,_0x3cc870,!0x1),_0x459665=this[_0x573043(0x203)][_0x573043(0x28a)](_0x41dfa5,_0x845769,!0x1);if(m[_0x573043(0x28f)](_0x3d12d0))throw _0x3d12d0[_0x573043(0x3ca)];if(m[_0x573043(0x28f)](_0x459665))throw _0x459665[_0x573043(0x3ca)];_0x2fce16[_0x573043(0x2f1)](_0x3d12d0[_0x573043(0x30f)][_0x573043(0x2ed)]),_0x1cfb64[_0x573043(0x2f1)](_0x459665[_0x573043(0x30f)][_0x573043(0x2ed)]),_0x127a05=_0x3d12d0[_0x573043(0x175)],_0x41dfa5=_0x459665[_0x573043(0x175)];}_0x3c7934[_0x573043(0x2f2)]({'undoCache':_0x2fce16,'redoCache':_0x1cfb64});}[_0xbd72b5(0x1a8)](_0x74b6ff){const _0x433a9e=_0xbd72b5,{unitID:_0x53bc25}=_0x74b6ff,_0x159679=this[_0x433a9e(0x21a)][_0x433a9e(0x3d0)](_0x53bc25)[_0x433a9e(0x271)](b[_0x433a9e(0x253)]),_0x301487=_0x159679[_0x433a9e(0x2f9)]();if(_0x301487==null)return;const _0x457c46=[{'id':_0x433a9e(0x227),'params':{'unitId':_0x74b6ff[_0x433a9e(0x22b)],'actions':null,'textRanges':[_0x301487]}}],_0x619a86=this[_0x433a9e(0x203)][_0x433a9e(0x2d0)](_0x74b6ff,_0x457c46);if(!m[_0x433a9e(0x1f7)](_0x619a86))throw _0x619a86[_0x433a9e(0x3ca)];const _0x2d8a96=_0x619a86['m2Prime'][0x0][_0x433a9e(0x2ed)][_0x433a9e(0x26d)];Array[_0x433a9e(0x1b6)](_0x2d8a96)&&_0x2d8a96[_0x433a9e(0x1cf)]&&_0x159679[_0x433a9e(0x27a)](_0x2d8a96[0x0]);}};z=kt([ce(0x0,a['Inject'](a['Injector'])),ce(0x1,m['ITransformService']),ce(0x2,p[_0xbd72b5(0x19f)])],z);var Ht=Object[_0xbd72b5(0x402)],Ft=(_0x1b4d1b,_0x441637,_0xebdf75,_0x366ad6)=>{for(var _0x2cc7d4=_0x366ad6>0x1?void 0x0:_0x366ad6?Ht(_0x441637,_0xebdf75):_0x441637,_0x2a4a73=_0x1b4d1b['length']-0x1,_0xd60df2;_0x2a4a73>=0x0;_0x2a4a73--)(_0xd60df2=_0x1b4d1b[_0x2a4a73])&&(_0x2cc7d4=_0xd60df2(_0x2cc7d4)||_0x2cc7d4);return _0x2cc7d4;},le=(_0x5cb184,_0x18279d)=>(_0x279fa7,_0x1bc23e)=>_0x18279d(_0x279fa7,_0x1bc23e,_0x5cb184);let J=class{constructor(_0x2708df,_0x85f291,_0x27f79f){this['_injector']=_0x2708df,this['_transformService']=_0x85f291,this['_docStateChangeManagerService']=_0x27f79f;}['transformStateCache'](_0x223a46){const _0x49612d=_0xbd72b5;this[_0x49612d(0x39e)](_0x223a46);}['transformRemoteChangeset'](_0x5892ac){const _0xf7caaf=_0xbd72b5,{unitID:_0x102b64}=_0x5892ac,{collaboration:_0x3b543e}=this[_0xf7caaf(0x2c0)][_0xf7caaf(0x3a5)](_0x102b64);if(_0x3b543e[_0xf7caaf(0x1cf)]===0x0)return _0x5892ac;let _0x2dd367=a[_0xf7caaf(0x32f)][_0xf7caaf(0x1af)](_0x5892ac[_0xf7caaf(0x1b1)][0x0]);for(let _0x5c205c=0x0;_0x5c205c<_0x3b543e['length'];_0x5c205c++){const _0x536441={'id':_0xf7caaf(0x227),'params':{'unitId':_0x3b543e[_0x5c205c][_0xf7caaf(0x1f4)],..._0x3b543e[_0x5c205c][_0xf7caaf(0x3b1)]}},_0x1b629c=this[_0xf7caaf(0x203)][_0xf7caaf(0x28a)](_0x2dd367,_0x536441,!0x1);if(m[_0xf7caaf(0x28f)](_0x1b629c))throw _0x1b629c[_0xf7caaf(0x3ca)];_0x2dd367=_0x1b629c[_0xf7caaf(0x175)];}return{...a[_0xf7caaf(0x32f)][_0xf7caaf(0x1af)](_0x5892ac),'mutations':[_0x2dd367]};}[_0xbd72b5(0x39e)](_0x55bf27){const _0x2a51ab=_0xbd72b5,{unitID:_0xd10394}=_0x55bf27,{history:_0x511a7e,collaboration:_0x51cb16}=this[_0x2a51ab(0x2c0)][_0x2a51ab(0x3a5)](_0xd10394);if(_0x511a7e[_0x2a51ab(0x1cf)]===0x0&&_0x51cb16[_0x2a51ab(0x1cf)]===0x0)return;const _0x178798=[],_0x264e0a=[];let _0x5a797d=a[_0x2a51ab(0x32f)][_0x2a51ab(0x1af)](_0x55bf27['mutations'][0x0]),_0x5d8d45=a['Tools'][_0x2a51ab(0x1af)](_0x55bf27[_0x2a51ab(0x1b1)][0x0]);for(let _0x5a8d8e=_0x511a7e[_0x2a51ab(0x1cf)]-0x1;_0x5a8d8e>=0x0;_0x5a8d8e--){const _0x1b8f00={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x511a7e[_0x5a8d8e][_0x2a51ab(0x1f4)],..._0x511a7e[_0x5a8d8e][_0x2a51ab(0x263)]}},_0x2faa6a={'id':_0x2a51ab(0x227),'params':{'unitId':_0x511a7e[_0x5a8d8e][_0x2a51ab(0x1f4)],..._0x511a7e[_0x5a8d8e]['redoState']}},_0x188930=this['_transformService']['transformMutation'](_0x5a797d,_0x1b8f00,!0x1),_0xb7ab01=this[_0x2a51ab(0x203)][_0x2a51ab(0x28a)](_0x5d8d45,_0x2faa6a,!0x1);if(m[_0x2a51ab(0x28f)](_0x188930))throw _0x188930['error'];if(m[_0x2a51ab(0x28f)](_0xb7ab01))throw _0xb7ab01[_0x2a51ab(0x3ca)];_0x178798[_0x2a51ab(0x2f1)]({..._0x511a7e[_0x5a8d8e],'undoState':_0x188930[_0x2a51ab(0x30f)][_0x2a51ab(0x2ed)],'redoState':_0xb7ab01[_0x2a51ab(0x30f)][_0x2a51ab(0x2ed)]}),_0x5a797d=_0x188930['m1Prime'],_0x5d8d45=_0xb7ab01['m1Prime'];}_0x5a797d=a[_0x2a51ab(0x32f)][_0x2a51ab(0x1af)](_0x55bf27[_0x2a51ab(0x1b1)][0x0]),_0x5d8d45=a[_0x2a51ab(0x32f)][_0x2a51ab(0x1af)](_0x55bf27[_0x2a51ab(0x1b1)][0x0]);for(let _0x177aaa=_0x51cb16[_0x2a51ab(0x1cf)]-0x1;_0x177aaa>=0x0;_0x177aaa--){const _0x2c9a7a={'id':_0x2a51ab(0x227),'params':{'unitId':_0x51cb16[_0x177aaa][_0x2a51ab(0x1f4)],..._0x51cb16[_0x177aaa][_0x2a51ab(0x263)]}},_0x1df7a2={'id':_0x2a51ab(0x227),'params':{'unitId':_0x51cb16[_0x177aaa][_0x2a51ab(0x1f4)],..._0x51cb16[_0x177aaa][_0x2a51ab(0x3b1)]}},_0x3eb97b=this[_0x2a51ab(0x203)][_0x2a51ab(0x28a)](_0x5a797d,_0x2c9a7a,!0x1),_0x4297f2=this[_0x2a51ab(0x203)][_0x2a51ab(0x28a)](_0x5d8d45,_0x1df7a2,!0x1);if(m['isTransformMutationFailure'](_0x3eb97b))throw _0x3eb97b['error'];if(m[_0x2a51ab(0x28f)](_0x4297f2))throw _0x4297f2[_0x2a51ab(0x3ca)];_0x264e0a[_0x2a51ab(0x2f1)]({..._0x51cb16[_0x177aaa],'undoState':_0x3eb97b[_0x2a51ab(0x30f)][_0x2a51ab(0x2ed)],'redoState':_0x4297f2[_0x2a51ab(0x30f)][_0x2a51ab(0x2ed)]}),_0x5a797d=_0x3eb97b[_0x2a51ab(0x175)],_0x5d8d45=_0x4297f2[_0x2a51ab(0x175)];}this[_0x2a51ab(0x2c0)][_0x2a51ab(0x190)](_0xd10394,{'history':_0x178798,'collaboration':_0x264e0a});}};J=Ft([le(0x0,a[_0xbd72b5(0x1d6)](a[_0xbd72b5(0x338)])),le(0x1,m[_0xbd72b5(0x25b)]),le(0x2,a['Inject'](b['DocStateChangeManagerService']))],J);var Yt=Object[_0xbd72b5(0x402)],Wt=(_0x19c848,_0x15e0ba,_0x27ecd8,_0x23c443)=>{const _0xc74cfb=_0xbd72b5;for(var _0x2f8f4b=_0x23c443>0x1?void 0x0:_0x23c443?Yt(_0x15e0ba,_0x27ecd8):_0x15e0ba,_0x217a24=_0x19c848[_0xc74cfb(0x1cf)]-0x1,_0x32a888;_0x217a24>=0x0;_0x217a24--)(_0x32a888=_0x19c848[_0x217a24])&&(_0x2f8f4b=_0x32a888(_0x2f8f4b)||_0x2f8f4b);return _0x2f8f4b;},Ne=(_0x541678,_0x4ee379)=>(_0xb8f157,_0x287c83)=>_0x4ee379(_0xb8f157,_0x287c83,_0x541678);let Z=class{constructor(_0x1b8d21,_0x2fe4db){const _0x5a5fc0=_0xbd72b5;this[_0x5a5fc0(0x207)]=_0x1b8d21,this[_0x5a5fc0(0x203)]=_0x2fe4db;}[_0xbd72b5(0x1e2)](_0x57ae16){const _0x2e722c=_0xbd72b5;var _0x188fae;const _0x1d5cfe=this[_0x2e722c(0x207)][_0x2e722c(0x206)](Y['DocSelectionManagerService']),_0x419fcc=(_0x188fae=_0x1d5cfe[_0x2e722c(0x2a7)]())!=null?_0x188fae:[];if(_0x419fcc['length']===0x0)return;const _0x2adc9f=_0x57ae16[_0x2e722c(0x22b)],_0x4f6e3e=[{'id':_0x2e722c(0x227),'params':{'unitId':_0x2adc9f,'actions':null,'textRanges':_0x419fcc}}],_0x5e6c6a=this[_0x2e722c(0x203)][_0x2e722c(0x2d0)](_0x57ae16,_0x4f6e3e);if(!m[_0x2e722c(0x1f7)](_0x5e6c6a))throw _0x5e6c6a[_0x2e722c(0x3ca)];const _0x599ef5=_0x5e6c6a[_0x2e722c(0x30f)][0x0]['params'][_0x2e722c(0x26d)];Array[_0x2e722c(0x1b6)](_0x599ef5)&&_0x599ef5[_0x2e722c(0x1cf)]&&_0x1d5cfe['replaceDocRanges'](_0x599ef5,{'unitId':_0x2adc9f,'subUnitId':_0x2adc9f},!0x1);}};Z=Wt([Ne(0x0,a[_0xbd72b5(0x1d6)](a['Injector'])),Ne(0x1,m[_0xbd72b5(0x25b)])],Z);var Vt=Object[_0xbd72b5(0x402)],Xt=(_0x5eb753,_0x2940be,_0x1017b4,_0x4c85cd)=>{const _0x21c348=_0xbd72b5;for(var _0x104de7=_0x4c85cd>0x1?void 0x0:_0x4c85cd?Vt(_0x2940be,_0x1017b4):_0x2940be,_0x3bb95f=_0x5eb753[_0x21c348(0x1cf)]-0x1,_0x4665c4;_0x3bb95f>=0x0;_0x3bb95f--)(_0x4665c4=_0x5eb753[_0x3bb95f])&&(_0x104de7=_0x4665c4(_0x104de7)||_0x104de7);return _0x104de7;},N=(_0x5eb51b,_0x51dec3)=>(_0x3c99b6,_0x399e4f)=>_0x51dec3(_0x3c99b6,_0x399e4f,_0x5eb51b);let Q=class extends a[_0xbd72b5(0x1b7)]{constructor(_0x38168e,_0x56135c,_0x48132f,_0xf7e644,_0x1e6d86,_0x5663cc,_0x38fafc,_0x564baf){const _0x4ecbd6=_0xbd72b5;super(),h(this,_0x4ecbd6(0x3bc),new d[(_0x4ecbd6(0x257))](u[_0x4ecbd6(0x1a1)][_0x4ecbd6(0x184)])),(this[_0x4ecbd6(0x2c0)]=_0x38168e,this[_0x4ecbd6(0x36b)]=_0x56135c,this['_docTransformIMECacheService']=_0x48132f,this[_0x4ecbd6(0x359)]=_0xf7e644,this[_0x4ecbd6(0x1f8)]=_0x1e6d86,this[_0x4ecbd6(0x361)]=_0x5663cc,this[_0x4ecbd6(0x1b9)]=_0x38fafc,this['_localeService']=_0x564baf,this[_0x4ecbd6(0x2f4)]());}[_0xbd72b5(0x2f4)](){const _0x2db305=_0xbd72b5;this[_0x2db305(0x323)](this['_collaborationController']['entityInit$'][_0x2db305(0x1fc)](_0x1c8e61=>{const _0x48d907=_0x2db305,_0x44ba48=this[_0x48d907(0x2c0)][_0x48d907(0x3ec)][_0x48d907(0x1fc)](_0x373833=>{const _0x192821=_0x48d907;if(_0x373833==null)return;const {unitId:_0x56d7b6,redoState:_0x316ea2,commandId:_0x48ca45}=_0x373833;if(_0x56d7b6!==_0x1c8e61[_0x192821(0x22b)])return;const _0x51fa29={'id':_0x48ca45,'type':a[_0x192821(0x29b)]['MUTATION'],'params':{'unitId':_0x56d7b6,'actions':_0x316ea2[_0x192821(0x2cc)],'textRanges':null}};_0x1c8e61[_0x192821(0x32d)](_0x51fa29);});if(_0x1c8e61[_0x48d907(0x323)](_0x44ba48),_0x1c8e61 instanceof u[_0x48d907(0x255)]){const _0xc80ea={'onTransformIME':_0x1dbe80=>this[_0x48d907(0x2df)][_0x48d907(0x3e1)](_0x1dbe80),'onTransformState':_0xb85cf5=>this['_docTransformStateCacheService'][_0x48d907(0x3bb)](_0xb85cf5),'onTransformSelections':_0x2792c9=>this[_0x48d907(0x1f8)][_0x48d907(0x1e2)](_0x2792c9),'onSyncEditingCollabCursor':_0xf81c27=>this[_0x48d907(0x361)][_0x48d907(0x33c)](_0xf81c27),'onTransformRemoteChangesetByIMECache':_0x5c309a=>this[_0x48d907(0x2df)][_0x48d907(0x1c7)](_0x5c309a),'onTransformRemoteChangesetByStateCache':_0x22fc2d=>this[_0x48d907(0x359)][_0x48d907(0x1c7)](_0x22fc2d)};_0x1c8e61[_0x48d907(0x345)](_0xc80ea);}}));}};Q=Xt([N(0x0,a['Inject'](b['DocStateChangeManagerService'])),N(0x1,a[_0xbd72b5(0x1d6)](u[_0xbd72b5(0x335)])),N(0x2,a[_0xbd72b5(0x1d6)](z)),N(0x3,a[_0xbd72b5(0x1d6)](J)),N(0x4,a[_0xbd72b5(0x1d6)](Z)),N(0x5,a[_0xbd72b5(0x1d6)](Ce)),N(0x6,T[_0xbd72b5(0x2f8)]),N(0x7,a[_0xbd72b5(0x1d6)](a['LocaleService']))],Q);var Gt=Object[_0xbd72b5(0x402)],Kt=(_0x7a538a,_0x2bcff4,_0x4b7e40,_0x3fa0bd)=>{const _0x2212aa=_0xbd72b5;for(var _0x10dea4=_0x3fa0bd>0x1?void 0x0:_0x3fa0bd?Gt(_0x2bcff4,_0x4b7e40):_0x2bcff4,_0x531e97=_0x7a538a[_0x2212aa(0x1cf)]-0x1,_0x4a8d9c;_0x531e97>=0x0;_0x531e97--)(_0x4a8d9c=_0x7a538a[_0x531e97])&&(_0x10dea4=_0x4a8d9c(_0x10dea4)||_0x10dea4);return _0x10dea4;},_e=(_0x4fbdcc,_0x3b6906)=>(_0x5257b4,_0x290b57)=>_0x3b6906(_0x5257b4,_0x290b57,_0x4fbdcc);let ge=class extends a[_0xbd72b5(0x1b7)]{constructor(_0xe83aa0,_0x2b1106,_0x10bee7){const _0x2c6251=_0xbd72b5;super(),h(this,_0x2c6251(0x2ae),new Map()),h(this,_0x2c6251(0x1f5),new Map()),h(this,_0x2c6251(0x34f),!0x1),(this[_0x2c6251(0x237)]=_0xe83aa0,this[_0x2c6251(0x2b2)]=_0x2b1106,this[_0x2c6251(0x299)]=_0x10bee7);}[_0xbd72b5(0x280)](){this['_disabled']=!0x0;}[_0xbd72b5(0x18c)](){const _0x249c00=_0xbd72b5;this[_0x249c00(0x34f)]=!0x1;}get[_0xbd72b5(0x289)](){const _0x2561a6=_0xbd72b5;return this[_0x2561a6(0x1f5)];}[_0xbd72b5(0x32e)](){const _0x1692ab=_0xbd72b5;this[_0x1692ab(0x285)]()[_0x1692ab(0x34c)](()=>super[_0x1692ab(0x32e)]());}async['loadOfflineData'](_0x1a52ba){const _0x59706b=_0xbd72b5;return this['_disabled']?null:this['_localStorageService'][_0x59706b(0x252)](u['getLocalCacheKey'](_0x1a52ba));}async[_0xbd72b5(0x2de)](_0x3d33a8,_0x37e29e){const _0x1265e2=_0xbd72b5;return!!this[_0x1265e2(0x2b2)][_0x1265e2(0x2c4)](_0x3d33a8,_0x37e29e);}['updateOfflineData'](_0x5617f6,_0x4474a9,_0x2b3bb1,_0x1038ad){const _0x17755=_0xbd72b5,_0x5b3925=this[_0x17755(0x299)][_0x17755(0x2af)](_0x5617f6);this['_cachedData']['set'](_0x5617f6,{'unitID':_0x5617f6,'type':_0x4474a9,'awaitingChangeset':_0x2b3bb1,'mutations':_0x1038ad,'rev':_0x5b3925}),this[_0x17755(0x1f5)][_0x17755(0x3c8)](_0x5617f6)||this[_0x17755(0x3ae)](_0x5617f6);}[_0xbd72b5(0x3ae)](_0x59dd54){const _0x42b137=_0xbd72b5,_0x4a56db=this[_0x42b137(0x367)]();_0x4a56db===0x0?this[_0x42b137(0x27b)](_0x59dd54):this[_0x42b137(0x1f5)][_0x42b137(0x3c7)](_0x59dd54,setTimeout(()=>this['_saveCache'](_0x59dd54),_0x4a56db));}[_0xbd72b5(0x367)](){const _0x471b14=_0xbd72b5;var _0x271cf3;return(_0x271cf3=this[_0x471b14(0x237)][_0x471b14(0x311)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x271cf3:u[_0x471b14(0x305)];}[_0xbd72b5(0x27b)](_0x368234){const _0x504a71=_0xbd72b5,_0x1b566f=this['_saveTaskMap'][_0x504a71(0x206)](_0x368234);return _0x1b566f!==void 0x0&&window[_0x504a71(0x2fd)](_0x1b566f),this['_localStorageService'][_0x504a71(0x2c4)](u[_0x504a71(0x2f6)](_0x368234),this[_0x504a71(0x2ae)][_0x504a71(0x206)](_0x368234))['then'](()=>this[_0x504a71(0x1f5)][_0x504a71(0x200)](_0x368234));}async['exhaustSavingTask'](){const _0x1a6107=_0xbd72b5,_0x2383d3=[];this['_saveTaskMap'][_0x1a6107(0x276)]((_0x542afc,_0xd591f8)=>{const _0x5d6f0d=_0x1a6107;window[_0x5d6f0d(0x2fd)](_0x542afc),_0x2383d3['push'](this[_0x5d6f0d(0x27b)](_0xd591f8)[_0x5d6f0d(0x34c)](()=>{const _0x20fc08=_0x5d6f0d;this[_0x20fc08(0x1f5)][_0x20fc08(0x200)](_0xd591f8);}));}),await Promise[_0x1a6107(0x205)](_0x2383d3);}};ge=Kt([_e(0x0,a[_0xbd72b5(0x24a)]),_e(0x1,a[_0xbd72b5(0x244)]),_e(0x2,a[_0xbd72b5(0x1d6)](m[_0xbd72b5(0x2a8)]))],ge);class je extends a[_0xbd72b5(0x283)]{constructor(){const _0x946aba=_0xbd72b5;super(),h(this,'urlChange$'),this[_0x946aba(0x3f1)]=d[_0x946aba(0x1ca)](window,_0x946aba(0x1ef))[_0x946aba(0x1db)](d['takeUntil'](this[_0x946aba(0x1a2)]),d[_0x946aba(0x29a)](0x1),d['mapTo'](void 0x0));}[_0xbd72b5(0x220)](_0x511a5a,_0x3f2c50,_0x14fe0c=!0x1){const _0x484f23=_0xbd72b5,_0x260c51=new URL(window[_0x484f23(0x1bf)][_0x484f23(0x24c)]);_0x260c51[_0x484f23(0x34b)][_0x484f23(0x3c7)](_0x511a5a,_0x3f2c50),_0x14fe0c?window[_0x484f23(0x324)][_0x484f23(0x177)]('','',_0x260c51[_0x484f23(0x352)]()):window[_0x484f23(0x324)]['pushState']('','',_0x260c51[_0x484f23(0x352)]());}['removeParam'](_0x1ec3c9,_0x3dc0e1=!0x1){const _0x3f7cf9=_0xbd72b5,_0x2ee746=new URL(window['location'][_0x3f7cf9(0x24c)]);_0x2ee746[_0x3f7cf9(0x34b)]['delete'](_0x1ec3c9),_0x3dc0e1?window['history']['replaceState']('','',_0x2ee746['toString']()):window[_0x3f7cf9(0x324)][_0x3f7cf9(0x2bc)]('','',_0x2ee746[_0x3f7cf9(0x352)]());}[_0xbd72b5(0x2e3)](_0x3cd16b){const _0x90f177=_0xbd72b5;var _0x224e6a;return(_0x224e6a=new URL(window[_0x90f177(0x1bf)][_0x90f177(0x24c)])[_0x90f177(0x34b)][_0x90f177(0x206)](_0x3cd16b))!=null?_0x224e6a:void 0x0;}}var qt=Object[_0xbd72b5(0x377)],zt=Object[_0xbd72b5(0x402)],Jt=(_0x1eacb3,_0x465d40,_0x46bc55)=>_0x465d40 in _0x1eacb3?qt(_0x1eacb3,_0x465d40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46bc55}):_0x1eacb3[_0x465d40]=_0x46bc55,Zt=(_0x57ea66,_0x11cec1,_0x4c5b97,_0x3cd338)=>{const _0x3ecd49=_0xbd72b5;for(var _0xadbdd7=_0x3cd338>0x1?void 0x0:_0x3cd338?zt(_0x11cec1,_0x4c5b97):_0x11cec1,_0x58190b=_0x57ea66[_0x3ecd49(0x1cf)]-0x1,_0x5a2619;_0x58190b>=0x0;_0x58190b--)(_0x5a2619=_0x57ea66[_0x58190b])&&(_0xadbdd7=_0x5a2619(_0xadbdd7)||_0xadbdd7);return _0xadbdd7;},he=(_0x389464,_0x5941f7)=>(_0x3732f8,_0x2a992a)=>_0x5941f7(_0x3732f8,_0x2a992a,_0x389464),Qt=(_0x35d276,_0x10a76d,_0x34277d)=>Jt(_0x35d276,_0x10a76d+'',_0x34277d);const es=_0xbd72b5(0x3ed);exports[_0xbd72b5(0x1ea)]=class extends a['Plugin']{constructor(_0xd9e77e=Ue,_0xfababc,_0x241917,_0x3ac03b){const _0x300f11=_0xbd72b5;super(),this['_config']=_0xd9e77e,this[_0x300f11(0x21a)]=_0xfababc,this[_0x300f11(0x207)]=_0x241917,this[_0x300f11(0x237)]=_0x3ac03b;const {..._0x122023}=a[_0x300f11(0x1bc)]({},Ue,this[_0x300f11(0x1be)]);this[_0x300f11(0x237)][_0x300f11(0x245)]($t,_0x122023);}[_0xbd72b5(0x3a0)](){const _0x194bc8=_0xbd72b5;this['_registerDependencies'](),this[_0x194bc8(0x2ef)]();}[_0xbd72b5(0x213)](){const _0x5c1d30=_0xbd72b5;this[_0x5c1d30(0x3e5)]();}[_0xbd72b5(0x3af)](){const _0x150a48=_0xbd72b5;var _0x2ea5e7;const _0x5955ab=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x150a48(0x3d9)],{'useClass':G['WebSocketService']}],[u[_0x150a48(0x22f)],{'useClass':ge}],[exports[_0x150a48(0x3fa)]],[Q],[q],[x],[de],[exports[_0x150a48(0x2cd)]]];a[_0x150a48(0x185)](this[_0x150a48(0x207)],a[_0x150a48(0x3a2)](_0x5955ab,(_0x2ea5e7=this[_0x150a48(0x1be)])==null?void 0x0:_0x2ea5e7['override']));}['_registerRenderDependencies'](){const _0x2e3fff=_0xbd72b5;this[_0x2e3fff(0x323)](this['_renderManagerService']['registerRenderModule'](a[_0x2e3fff(0x216)][_0x2e3fff(0x211)],[Ie])),this['disposeWithMe'](this['_renderManagerService'][_0x2e3fff(0x287)](a[_0x2e3fff(0x216)][_0x2e3fff(0x2c2)],[ve]));}[_0xbd72b5(0x2ef)](){const _0x1a2da7=_0xbd72b5;a[_0x1a2da7(0x222)](this[_0x1a2da7(0x207)],[[x],[exports[_0x1a2da7(0x3fa)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0xbd72b5(0x3f2),es),exports[_0xbd72b5(0x1ea)]=Zt([a[_0xbd72b5(0x401)](u['UniverCollaborationClientPlugin']),he(0x1,p[_0xbd72b5(0x19f)]),he(0x2,a['Inject'](a[_0xbd72b5(0x338)])),he(0x3,a[_0xbd72b5(0x24a)])],exports[_0xbd72b5(0x1ea)]);var ts=Object[_0xbd72b5(0x402)],ss=(_0x2dc904,_0x5c55a4,_0xfccadc,_0x16a8b9)=>{for(var _0x4c3b0e=_0x16a8b9>0x1?void 0x0:_0x16a8b9?ts(_0x5c55a4,_0xfccadc):_0x5c55a4,_0x5eaa62=_0x2dc904['length']-0x1,_0x3a6c52;_0x5eaa62>=0x0;_0x5eaa62--)(_0x3a6c52=_0x2dc904[_0x5eaa62])&&(_0x4c3b0e=_0x3a6c52(_0x4c3b0e)||_0x4c3b0e);return _0x4c3b0e;},F=(_0xf07b8,_0x1bdc46)=>(_0x23398,_0x5ad8ad)=>_0x1bdc46(_0x23398,_0x5ad8ad,_0xf07b8);exports[_0xbd72b5(0x1fb)]=class extends u[_0xbd72b5(0x3d1)]{constructor(_0x15418f,_0x458c49,_0x1285d3,_0x57d5e4,_0x4085d1){super(_0x15418f,_0x458c49,_0x1285d3,_0x57d5e4,_0x4085d1);}async[_0xbd72b5(0x1a7)](_0x24420c){const _0x5ad31c=_0xbd72b5,_0x528022=await this[_0x5ad31c(0x1dc)](),_0xff0f64=this[_0x5ad31c(0x196)](_0x24420c,_0x528022);return this[_0x5ad31c(0x373)](_0xff0f64);}[_0xbd72b5(0x196)](_0x226b37,_0x42f5b5){const _0x2e606a=_0xbd72b5,_0x13af81=typeof window>'u'?new URL(_0x226b37):new URL(_0x226b37,window[_0x2e606a(0x1bf)][_0x2e606a(0x298)]);_0x13af81['searchParams'][_0x2e606a(0x3c7)](_0x2e606a(0x33f),_0x42f5b5);const _0x50b3d0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2e606a(0x1bf)][_0x2e606a(0x26f)]);return _0x50b3d0[_0x2e606a(0x206)](_0x2e606a(0x183))&&_0x13af81[_0x2e606a(0x34b)][_0x2e606a(0x3c7)](_0x2e606a(0x183),_0x50b3d0[_0x2e606a(0x206)](_0x2e606a(0x183))),_0x13af81[_0x2e606a(0x352)]();}async[_0xbd72b5(0x1dc)](){const _0x4655ed=_0xbd72b5;var _0x250379,_0xe13ce6,_0x271aba;const _0x5cdb6c=this['_configService'][_0x4655ed(0x311)](u[_0x4655ed(0x39f)]),_0x16d704=(_0x250379=_0x5cdb6c==null?void 0x0:_0x5cdb6c[_0x4655ed(0x2cf)])!=null?_0x250379:u[_0x4655ed(0x315)];return(_0x271aba=(_0xe13ce6=(await this[_0x4655ed(0x3a6)]['get'](_0x16d704,{'headers':{'Content-Type':'application/json'}}))[_0x4655ed(0x2da)])==null?void 0x0:_0xe13ce6[_0x4655ed(0x396)])!=null?_0x271aba:'';}},exports[_0xbd72b5(0x1fb)]=ss([F(0x0,a[_0xbd72b5(0x1d6)](a['Injector'])),F(0x1,a['Inject'](G[_0xbd72b5(0x34d)])),F(0x2,a['IConfigService']),F(0x3,a[_0xbd72b5(0x360)]),F(0x4,m[_0xbd72b5(0x37d)])],exports[_0xbd72b5(0x1fb)]);const Me=0x7530,Le=_0xbd72b5(0x3ef);class is extends a[_0xbd72b5(0x1b7)]{constructor(){const _0x1c8777=_0xbd72b5;super(),h(this,'_id',a['generateRandomId']()),h(this,_0x1c8777(0x1a5),new Set()),h(this,_0x1c8777(0x3ac),new Map()),h(this,'_heartbeatTimer',null),h(this,'_clearOtherTimers',new Map()),h(this,'_unitStatus',new Map()),this[_0x1c8777(0x1c9)]();}[_0xbd72b5(0x32e)](){const _0x501cae=_0xbd72b5;super[_0x501cae(0x32e)](),this[_0x501cae(0x1ee)]['forEach']((_0x116fe5,_0x471c26)=>this[_0x501cae(0x1ad)](_0x471c26)),this[_0x501cae(0x320)]&&window[_0x501cae(0x3e0)](this[_0x501cae(0x320)]);}[_0xbd72b5(0x33d)](_0x2df41b){const _0x5eeffc=_0xbd72b5;return this[_0x5eeffc(0x1a9)](_0x2df41b)[_0x5eeffc(0x1db)](d[_0x5eeffc(0x2b4)]());}[_0xbd72b5(0x2ab)](_0x495b73){const _0x40889d=_0xbd72b5;this['_selfUnitIDs'][_0x40889d(0x2c9)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x40889d(0x1e5)](_0x495b73),this[_0x40889d(0x3f0)]({'type':0x0,'memberID':this[_0x40889d(0x3a9)],'unitIDs':[_0x495b73],'isForwarded':!0x1});}[_0xbd72b5(0x195)](_0x396c2d){const _0x3c23ab=_0xbd72b5;this[_0x3c23ab(0x1a5)][_0x3c23ab(0x200)](_0x396c2d),this[_0x3c23ab(0x1a5)]['size']===0x0&&this[_0x3c23ab(0x320)]&&window[_0x3c23ab(0x3e0)](this[_0x3c23ab(0x320)]);}[_0xbd72b5(0x1c9)](){const _0x1db6d5=_0xbd72b5;this[_0x1db6d5(0x323)](a[_0x1db6d5(0x385)](d[_0x1db6d5(0x1ca)](window,_0x1db6d5(0x2a5))['subscribe'](_0x587f0a=>{const _0x24fa2f=_0x1db6d5;if(_0x587f0a[_0x24fa2f(0x2e5)]!==Le||!_0x587f0a[_0x24fa2f(0x2fe)])return;const _0x15f3c4=JSON[_0x24fa2f(0x370)](_0x587f0a[_0x24fa2f(0x2fe)]);this[_0x24fa2f(0x39a)](_0x15f3c4);}))),window[_0x1db6d5(0x1df)](_0x1db6d5(0x347),()=>this[_0x1db6d5(0x3f0)]({'type':0x1,'memberID':this[_0x1db6d5(0x3a9)],'unitIDs':Array[_0x1db6d5(0x20b)](this['_selfUnitIDs'])}));}[_0xbd72b5(0x39a)](_0x27c61d){const _0x5cca73=_0xbd72b5;switch(_0x27c61d[_0x5cca73(0x1fa)]){case 0x0:this['_handleJoinEvent'](_0x27c61d);break;case 0x1:this[_0x5cca73(0x17e)](_0x27c61d);break;case 0x2:this[_0x5cca73(0x1c5)](_0x27c61d);break;}}[_0xbd72b5(0x233)](_0x1aa12e){const _0x34f88f=_0xbd72b5,{unitIDs:_0x48e43c,memberID:_0x3417bb,isForwarded:_0x52f28d}=_0x1aa12e;_0x48e43c['forEach'](_0x13d791=>{const _0x365810=_0x4dae;if(!_0x52f28d&&this['_unitOnClients'][_0x365810(0x3c8)](_0x13d791)&&this['_ensureSubject'](_0x13d791)[_0x365810(0x2ad)](u[_0x365810(0x38b)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x365810(0x3c8)](_0x13d791)||!this[_0x365810(0x3ac)][_0x365810(0x206)](_0x13d791)['has'](_0x3417bb)){const _0x43ae69=this[_0x365810(0x3ac)][_0x365810(0x206)](_0x13d791)||new Set();_0x43ae69[_0x365810(0x1e5)](_0x3417bb),this['_unitOnClients']['set'](_0x13d791,_0x43ae69),this[_0x365810(0x247)](_0x3417bb);}}),_0x52f28d||this['_send']({'type':0x0,'memberID':this[_0x34f88f(0x3a9)],'unitIDs':[...this[_0x34f88f(0x1a5)]],'isForwarded':!0x0});}[_0xbd72b5(0x247)](_0x3874af){const _0x3e96e4=_0xbd72b5;this[_0x3e96e4(0x1ad)](_0x3874af);const _0x4a11de=window[_0x3e96e4(0x357)](()=>{const _0x39fd2d=_0x3e96e4;this[_0x39fd2d(0x3ac)][_0x39fd2d(0x276)](_0x5a362d=>{const _0x57d154=_0x39fd2d;_0x5a362d[_0x57d154(0x200)](_0x3874af);});},Me*0x2);this[_0x3e96e4(0x1ee)]['set'](_0x3874af,_0x4a11de);}[_0xbd72b5(0x1ad)](_0x167b82){const _0x4ecfff=_0xbd72b5;if(this['_clearOtherTimers'][_0x4ecfff(0x3c8)](_0x167b82)){const _0x232803=this[_0x4ecfff(0x1ee)][_0x4ecfff(0x206)](_0x167b82);_0x232803&&window['clearTimeout'](_0x232803),this[_0x4ecfff(0x1ee)][_0x4ecfff(0x3c7)](_0x167b82,null);}}[_0xbd72b5(0x17e)](_0x13d506){const _0x1b243c=_0xbd72b5,{memberID:_0x588969,unitIDs:_0x1f4620}=_0x13d506;_0x1f4620[_0x1b243c(0x276)](_0x6b0de9=>{const _0x284813=_0x1b243c;var _0x5f3d3a;const _0x4a0d49=this[_0x284813(0x3ac)][_0x284813(0x206)](_0x6b0de9);_0x4a0d49&&(_0x4a0d49[_0x284813(0x200)](_0x588969),(_0x5f3d3a=this[_0x284813(0x1a9)](_0x6b0de9))==null||_0x5f3d3a[_0x284813(0x2ad)](_0x4a0d49[_0x284813(0x2c9)]===0x0?u[_0x284813(0x38b)][_0x284813(0x3a4)]:u[_0x284813(0x38b)][_0x284813(0x277)]));}),this[_0x1b243c(0x1ad)](_0x588969);}['_handleHeartbeatEvent'](_0x3a91ae){const _0x37ae13=_0xbd72b5;this[_0x37ae13(0x247)](_0x3a91ae['memberID']);}[_0xbd72b5(0x3f0)](_0x3577db){localStorage['setItem'](Le,JSON['stringify'](_0x3577db));}[_0xbd72b5(0x230)](){const _0x45b0b6=_0xbd72b5;this[_0x45b0b6(0x320)]=window[_0x45b0b6(0x317)](()=>{const _0x4c6a4a=_0x45b0b6;this[_0x4c6a4a(0x3f0)]({'type':0x2,'memberID':this['_id']});},Me);}['_ensureSubject'](_0x473c73){const _0x430cda=_0xbd72b5;return this[_0x430cda(0x186)][_0x430cda(0x3c8)](_0x473c73)||this[_0x430cda(0x186)][_0x430cda(0x3c7)](_0x473c73,new d[(_0x430cda(0x257))](u['UnitStatus'][_0x430cda(0x3a4)])),this[_0x430cda(0x186)][_0x430cda(0x206)](_0x473c73);}}var Be=(_0x387b03=>(_0x387b03[_0x387b03['UNDEFINED']=0x0]=_0xbd72b5(0x178),_0x387b03[_0x387b03['OK']=0x1]='OK',_0x387b03[_0x387b03['INTERNAL_ERROR']=0x2]=_0xbd72b5(0x309),_0x387b03[_0x387b03[_0xbd72b5(0x1bd)]=0x3]='PERMISSION_DENIED',_0x387b03[_0x387b03[_0xbd72b5(0x3c3)]=0x4]=_0xbd72b5(0x3c3),_0x387b03[_0x387b03[_0xbd72b5(0x364)]=0x5]=_0xbd72b5(0x364),_0x387b03[_0x387b03[_0xbd72b5(0x268)]=0x6]=_0xbd72b5(0x268),_0x387b03[_0x387b03[_0xbd72b5(0x3de)]=0x7]=_0xbd72b5(0x3de),_0x387b03[_0x387b03[_0xbd72b5(0x1bb)]=0x8]=_0xbd72b5(0x1bb),_0x387b03[_0x387b03[_0xbd72b5(0x3f9)]=0x9]='COMPLETION_FINISHED',_0x387b03[_0x387b03[_0xbd72b5(0x2a0)]=0xa]=_0xbd72b5(0x2a0),_0x387b03[_0x387b03[_0xbd72b5(0x308)]=0x1389]=_0xbd72b5(0x308),_0x387b03[_0x387b03['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xbd72b5(0x30d),_0x387b03[_0x387b03[_0xbd72b5(0x1ae)]=0x1772]=_0xbd72b5(0x1ae),_0x387b03[_0x387b03[_0xbd72b5(0x18b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x387b03[_0x387b03[_0xbd72b5(0x1d7)]=0x1b59]=_0xbd72b5(0x1d7),_0x387b03[_0x387b03[_0xbd72b5(0x3f5)]=0x1b5a]=_0xbd72b5(0x3f5),_0x387b03[_0x387b03['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xbd72b5(0x2b0),_0x387b03[_0x387b03[_0xbd72b5(0x1f2)]=0x1b5c]=_0xbd72b5(0x1f2),_0x387b03[_0x387b03[_0xbd72b5(0x2a2)]=0x1b5d]='APPLY_DUPLICATED',_0x387b03[_0x387b03[_0xbd72b5(0x3f6)]=0x1f41]=_0xbd72b5(0x3f6),_0x387b03[_0x387b03['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x387b03[_0x387b03[_0xbd72b5(0x350)]=0x232a]=_0xbd72b5(0x350),_0x387b03[_0x387b03[_0xbd72b5(0x3f4)]=0x232b]=_0xbd72b5(0x3f4),_0x387b03[_0x387b03[_0xbd72b5(0x343)]=0x232c]=_0xbd72b5(0x343),_0x387b03[_0x387b03[_0xbd72b5(0x3b5)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x387b03[_0x387b03[_0xbd72b5(0x1c2)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x387b03[_0x387b03[_0xbd72b5(0x38a)]=0x2712]=_0xbd72b5(0x38a),_0x387b03[_0x387b03[_0xbd72b5(0x368)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x387b03[_0x387b03[_0xbd72b5(0x223)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x387b03[_0x387b03[_0xbd72b5(0x1b3)]=0x271a]=_0xbd72b5(0x1b3),_0x387b03[_0x387b03[_0xbd72b5(0x1aa)]=0x271b]=_0xbd72b5(0x1aa),_0x387b03[_0x387b03[_0xbd72b5(0x20d)]=0x271c]=_0xbd72b5(0x20d),_0x387b03[_0x387b03[_0xbd72b5(0x312)]=0x271d]=_0xbd72b5(0x312),_0x387b03[_0x387b03[_0xbd72b5(0x258)]=0x271e]=_0xbd72b5(0x258),_0x387b03[_0x387b03[_0xbd72b5(0x2fb)]=0x271f]=_0xbd72b5(0x2fb),_0x387b03[_0x387b03[_0xbd72b5(0x3e8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x387b03[_0x387b03['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xbd72b5(0x3dc),_0x387b03[_0x387b03['INVALID_INVITE_CODE']=0x2ee2]=_0xbd72b5(0x1d1),_0x387b03[_0x387b03[_0xbd72b5(0x29c)]=0x2ee3]=_0xbd72b5(0x29c),_0x387b03[_0x387b03[_0xbd72b5(0x279)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x387b03[_0x387b03[_0xbd72b5(0x198)]=0x2ee5]=_0xbd72b5(0x198),_0x387b03[_0x387b03[_0xbd72b5(0x314)]=0x32c9]=_0xbd72b5(0x314),_0x387b03[_0x387b03['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xbd72b5(0x1d9),_0x387b03[_0x387b03[_0xbd72b5(0x30b)]=0x32cb]=_0xbd72b5(0x30b),_0x387b03[_0x387b03[_0xbd72b5(0x336)]=-0x1]=_0xbd72b5(0x336),_0x387b03))(Be||{}),ns=Object[_0xbd72b5(0x402)],rs=(_0x1859b3,_0xc6139b,_0x22b538,_0x485a05)=>{for(var _0x3ab659=_0x485a05>0x1?void 0x0:_0x485a05?ns(_0xc6139b,_0x22b538):_0xc6139b,_0x20fd55=_0x1859b3['length']-0x1,_0x64700d;_0x20fd55>=0x0;_0x20fd55--)(_0x64700d=_0x1859b3[_0x20fd55])&&(_0x3ab659=_0x64700d(_0x3ab659)||_0x3ab659);return _0x3ab659;},ue=(_0x1c03b2,_0x39602d)=>(_0x3de408,_0x1ae202)=>_0x39602d(_0x3de408,_0x1ae202,_0x1c03b2);exports[_0xbd72b5(0x2bf)]=class extends a[_0xbd72b5(0x1b7)]{constructor(_0x5f047b,_0x1ef4f6,_0x575877){const _0x101138=_0xbd72b5;super(),this[_0x101138(0x3b0)]=_0x5f047b,this[_0x101138(0x3a6)]=_0x1ef4f6,this[_0x101138(0x237)]=_0x575877;}async['runOnServer'](_0x3c1929,_0x541540,_0x1616b3,..._0x2dad51){const _0x44ac50=_0xbd72b5;var _0x34e2cc,_0x12775d,_0x2ae172,_0x2151ed;const _0x4e7751=this['_instanceService']['getFocusedUnit']();if(!_0x4e7751)throw new Error(_0x44ac50(0x273));const _0x15e64a=((_0x34e2cc=this['_configService'][_0x44ac50(0x311)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x34e2cc:u[_0x44ac50(0x219)])+'/'+_0x3c1929+_0x44ac50(0x212)+_0x541540,_0x304bf8=new URL(window[_0x44ac50(0x1bf)][_0x44ac50(0x24c)]),_0x58a2e3={'scriptId':_0x3c1929,'runId':(_0x12775d=_0x304bf8[_0x44ac50(0x34b)][_0x44ac50(0x206)]('runId'))!=null?_0x12775d:'','function':_0x541540,'unitId':_0x4e7751[_0x44ac50(0x1e1)](),'argsOfFunction':JSON[_0x44ac50(0x22a)](_0x2dad51),'invokeId':(_0x2ae172=_0x1616b3[_0x44ac50(0x2ec)])!=null?_0x2ae172:'','executionId':(_0x2151ed=_0x1616b3[_0x44ac50(0x3e4)])!=null?_0x2151ed:''};try{const _0x3f02e0=await this['_httpService'][_0x44ac50(0x290)](_0x15e64a,{'body':_0x58a2e3});return _0x3f02e0[_0x44ac50(0x2da)]['error']&&_0x3f02e0[_0x44ac50(0x2da)][_0x44ac50(0x3ca)][_0x44ac50(0x217)]!==Be['OK']?_0x44ac50(0x3b3):_0x3f02e0[_0x44ac50(0x2da)]['result'];}catch{return _0x44ac50(0x3b3);}}},exports[_0xbd72b5(0x2bf)]=rs([ue(0x0,a[_0xbd72b5(0x3e7)]),ue(0x1,a['Inject'](G[_0xbd72b5(0x34d)])),ue(0x2,a[_0xbd72b5(0x24a)])],exports[_0xbd72b5(0x2bf)]),exports['CollaborationStatusDisplay']=xe,exports[_0xbd72b5(0x221)]=be,exports[_0xbd72b5(0x3c5)]=Ae,exports[_0xbd72b5(0x259)]=is,exports['WebURLService']=je;
|