@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250410-f79ffef → 0.6.10-experimental.20250410-d40d076
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x6426(_0xb2ba7,_0x1dabaa){const _0x6a48fe=_0x6a48();return _0x6426=function(_0x6426d,_0x2b66d8){_0x6426d=_0x6426d-0x1ee;let _0xc8318f=_0x6a48fe[_0x6426d];return _0xc8318f;},_0x6426(_0xb2ba7,_0x1dabaa);}(function(_0x2363df,_0x13af3d){const _0x374f08=_0x6426,_0x5490cd=_0x2363df();while(!![]){try{const _0x2ae140=parseInt(_0x374f08(0x41a))/0x1*(parseInt(_0x374f08(0x48e))/0x2)+-parseInt(_0x374f08(0x227))/0x3*(parseInt(_0x374f08(0x247))/0x4)+parseInt(_0x374f08(0x3e6))/0x5*(parseInt(_0x374f08(0x369))/0x6)+parseInt(_0x374f08(0x231))/0x7*(parseInt(_0x374f08(0x263))/0x8)+-parseInt(_0x374f08(0x3af))/0x9+-parseInt(_0x374f08(0x347))/0xa+parseInt(_0x374f08(0x229))/0xb;if(_0x2ae140===_0x13af3d)break;else _0x5490cd['push'](_0x5490cd['shift']());}catch(_0x1be745){_0x5490cd['push'](_0x5490cd['shift']());}}}(_0x6a48,0xa43a3),function(_0x4f0368,_0x551bd5){const _0x3628c4=_0x6426;typeof exports==_0x3628c4(0x48c)&&typeof module<'u'?_0x551bd5(exports,require(_0x3628c4(0x2bd)),require(_0x3628c4(0x43d)),require('@univerjs/engine-render'),require(_0x3628c4(0x253)),require(_0x3628c4(0x436)),require(_0x3628c4(0x2d3)),require('rxjs'),require('@univerjs/docs'),require(_0x3628c4(0x300)),require(_0x3628c4(0x412)),require(_0x3628c4(0x309)),require('rxjs/operators'),require(_0x3628c4(0x24b)),require(_0x3628c4(0x2b1)),require(_0x3628c4(0x474)),require('@univerjs/design'),require(_0x3628c4(0x311)),require(_0x3628c4(0x33e))):typeof define==_0x3628c4(0x217)&&define[_0x3628c4(0x25a)]?define([_0x3628c4(0x35c),_0x3628c4(0x2bd),'@univerjs/core',_0x3628c4(0x39b),_0x3628c4(0x253),'@univerjs/docs-ui',_0x3628c4(0x2d3),'rxjs',_0x3628c4(0x35d),'@univerjs-pro/collaboration',_0x3628c4(0x412),_0x3628c4(0x309),_0x3628c4(0x3e1),'@univerjs/sheets-ui',_0x3628c4(0x2b1),_0x3628c4(0x474),_0x3628c4(0x20a),_0x3628c4(0x311),_0x3628c4(0x33e)],_0x551bd5):(_0x4f0368=typeof globalThis<'u'?globalThis:_0x4f0368||self,_0x551bd5(_0x4f0368[_0x3628c4(0x2c7)]={},_0x4f0368['UniverProCollaborationClient'],_0x4f0368[_0x3628c4(0x477)],_0x4f0368['UniverEngineRender'],_0x4f0368[_0x3628c4(0x411)],_0x4f0368[_0x3628c4(0x2a3)],_0x4f0368[_0x3628c4(0x2e0)],_0x4f0368[_0x3628c4(0x3d5)],_0x4f0368[_0x3628c4(0x237)],_0x4f0368['UniverProCollaboration'],_0x4f0368[_0x3628c4(0x3ef)],_0x4f0368[_0x3628c4(0x327)],_0x4f0368['rxjs']['operators'],_0x4f0368[_0x3628c4(0x22b)],_0x4f0368[_0x3628c4(0x34d)],_0x4f0368['UniverUi'],_0x4f0368[_0x3628c4(0x3fd)],_0x4f0368[_0x3628c4(0x34d)],_0x4f0368[_0x3628c4(0x41c)]));}(this,function(_0x1eddaa,_0x407fab,_0x4414bf,_0x18c4eb,_0x2f2363,_0x99f200,_0x26b95c,_0x10056d,_0x524921,_0x5bdcf8,_0x4584c2,_0x544fac,_0x4309fe,_0x3282ea,_0x1a5c2f,_0x15d3b0,_0x119d7f,_0x426191,_0x31c507){'use strict';const _0x1cbca8=_0x6426;var _0x392ae9=Object[_0x1cbca8(0x366)],_0x449f5c=(_0x45aa02,_0xefda93,_0x3b9b55)=>_0xefda93 in _0x45aa02?_0x392ae9(_0x45aa02,_0xefda93,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b9b55}):_0x45aa02[_0xefda93]=_0x3b9b55,_0xb70e91=(_0x1ec1fd,_0x5b19ff,_0x98c9b1)=>_0x449f5c(_0x1ec1fd,typeof _0x5b19ff!=_0x1cbca8(0x2d7)?_0x5b19ff+'':_0x5b19ff,_0x98c9b1),_0x1ddb88=Object[_0x1cbca8(0x332)],_0x3a2a56=(_0x5ca951,_0x32db38,_0x4445e3,_0x477e96)=>{for(var _0x88427f=_0x477e96>0x1?void 0x0:_0x477e96?_0x1ddb88(_0x32db38,_0x4445e3):_0x32db38,_0x5e95e1=_0x5ca951['length']-0x1,_0x1f96cb;_0x5e95e1>=0x0;_0x5e95e1--)(_0x1f96cb=_0x5ca951[_0x5e95e1])&&(_0x88427f=_0x1f96cb(_0x88427f)||_0x88427f);return _0x88427f;},_0x3bce0e=(_0x37d1f0,_0x46507a)=>(_0x1b41c1,_0x554ea0)=>_0x46507a(_0x1b41c1,_0x554ea0,_0x37d1f0);let _0x5ba47c=class extends _0x4414bf[_0x1cbca8(0x23f)]{constructor(_0x2ac4e1,_0x515b17){const _0xc455ac=_0x1cbca8;super(),this[_0xc455ac(0x45e)]=_0x2ac4e1,this['_imageIoService']=_0x515b17,this['_init']();}[_0x1cbca8(0x38c)](){const _0x3e6cdc=_0x1cbca8,_0x5c8758=this;this[_0x3e6cdc(0x2d8)](this[_0x3e6cdc(0x45e)][_0x3e6cdc(0x3c0)]({'onBeforePasteImage':async _0x46c276=>{const _0x55c8c7=_0x3e6cdc,_0x1fa7cc=await _0x5c8758[_0x55c8c7(0x3c5)][_0x55c8c7(0x445)](_0x46c276);return _0x1fa7cc?{'source':_0x1fa7cc['source'],'imageSourceType':_0x1fa7cc['imageSourceType']}:null;}}));}};_0x5ba47c=_0x3a2a56([_0x3bce0e(0x0,_0x99f200[_0x1cbca8(0x45a)]),_0x3bce0e(0x1,_0x26b95c[_0x1cbca8(0x466)])],_0x5ba47c);const _0xc5615b=[_0x1cbca8(0x3bd),_0x1cbca8(0x2cb),_0x1cbca8(0x3b7),_0x1cbca8(0x27a),_0x1cbca8(0x273),'gold400'];class _0x20ea31 extends _0x4414bf[_0x1cbca8(0x364)]{constructor(){const _0x33bebc=_0x1cbca8;super(...arguments),_0xb70e91(this,'_assignedColors',new Map()),_0xb70e91(this,_0x33bebc(0x486),0x0);}[_0x1cbca8(0x324)](_0x2c72b5){const _0xfa0bfb=_0x1cbca8;if(this[_0xfa0bfb(0x32e)]['has'](_0x2c72b5))return this[_0xfa0bfb(0x32e)][_0xfa0bfb(0x37e)](_0x2c72b5);const _0x4d7489=_0xc5615b[this[_0xfa0bfb(0x486)]];return this[_0xfa0bfb(0x486)]=(this['_colorIndex']+0x1)%_0xc5615b['length'],this[_0xfa0bfb(0x32e)][_0xfa0bfb(0x3f8)](_0x2c72b5,_0x4d7489),_0x4d7489;}}function _0x56e4b5(_0x3b3f97){const _0x5e521d=_0x1cbca8;let _0x4f0aed='';for(const _0x3b9f9e of _0x3b3f97){const {startOffset:_0x31b0ec,endOffset:_0xc7e3f5,isActive:_0x12e8b5,rangeType:_0x389f15,segmentId:_0x1b993a,segmentPage:_0x4bbfda}=_0x3b9f9e;_0x4f0aed[_0x5e521d(0x2d0)]&&(_0x4f0aed+=','),_0x4f0aed+=_0x31b0ec+':'+_0xc7e3f5+':'+(_0x12e8b5?'1':'0')+':'+_0x389f15+':'+_0x1b993a+':'+_0x4bbfda;}return _0x4f0aed;}function _0x1290ae(_0x3ea76a){const _0x3dcf73=_0x1cbca8,_0x3eabd5=_0x3ea76a['split'](','),_0x40638b=[];for(const _0x542d3b of _0x3eabd5){const [_0x915300,_0xd63842,_0x16d7a4,_0x86517f,_0x4e0822,_0x4a1a3d]=_0x542d3b['split'](':');_0x40638b[_0x3dcf73(0x23a)]({'startOffset':Number(_0x915300),'endOffset':Number(_0xd63842),'collapsed':_0x915300===_0xd63842,'isActive':_0x16d7a4==='1','rangeType':_0x86517f===_0x4414bf[_0x3dcf73(0x204)][_0x3dcf73(0x3bc)]?_0x4414bf['DOC_RANGE_TYPE'][_0x3dcf73(0x3bc)]:_0x4414bf[_0x3dcf73(0x204)]['RECT'],'segmentId':typeof _0x4e0822=='string'?String(_0x4e0822):'','segmentPage':Number(_0x4a1a3d!=null?_0x4a1a3d:-0x1)});}return _0x40638b[_0x3dcf73(0x256)](_0x11fce8=>_0x11fce8['isActive'])||(_0x40638b[0x0][_0x3dcf73(0x2f2)]=!0x0),_0x40638b;}class _0x336600 extends _0x4414bf['RxDisposable']{constructor(){const _0x49deef=_0x1cbca8;super(...arguments),_0xb70e91(this,_0x49deef(0x34e),new _0x10056d[(_0x49deef(0x37a))](null)),_0xb70e91(this,_0x49deef(0x1f3),this[_0x49deef(0x34e)][_0x49deef(0x290)]());}['syncEditingCollabCursor'](_0x1f5ec6){const {unitID:_0x8fcc79,memberID:_0x291ed7,textRanges:_0x31f1e7}=_0x1f5ec6,_0x53abdb=_0x56e4b5(_0x31f1e7);if(_0x53abdb==='')return;const _0x39d324={'unitID':_0x8fcc79,'memberID':_0x291ed7,'selection':_0x53abdb};this['_collabCursorState$']['next'](_0x39d324);}}var _0xef7c02=Object['getOwnPropertyDescriptor'],_0x580840=(_0xb2a392,_0x368183,_0x329908,_0x41489c)=>{const _0x57d821=_0x1cbca8;for(var _0x474966=_0x41489c>0x1?void 0x0:_0x41489c?_0xef7c02(_0x368183,_0x329908):_0x368183,_0x4e91ed=_0xb2a392[_0x57d821(0x2d0)]-0x1,_0x60c2dd;_0x4e91ed>=0x0;_0x4e91ed--)(_0x60c2dd=_0xb2a392[_0x4e91ed])&&(_0x474966=_0x60c2dd(_0x474966)||_0x474966);return _0x474966;},_0x55f582=(_0x1b1b43,_0x215379)=>(_0x38ce02,_0x240460)=>_0x215379(_0x38ce02,_0x240460,_0x1b1b43);const _0x4d74c9=0x12c,_0x2366d9=0x64;let _0x55665c=class extends _0x4414bf[_0x1cbca8(0x23f)]{constructor(_0x219572,_0x349d18,_0xb9552e,_0x41551a,_0x30e789,_0x33a14f,_0x373cfa,_0x51f084,_0xba9ac7){const _0x3e63fc=_0x1cbca8;super(),_0xb70e91(this,'_online',!0x1),_0xb70e91(this,_0x3e63fc(0x38c),!0x1),_0xb70e91(this,_0x3e63fc(0x31b),new _0x10056d['BehaviorSubject'](new Map())),_0xb70e91(this,_0x3e63fc(0x206),this[_0x3e63fc(0x31b)][_0x3e63fc(0x290)]()),_0xb70e91(this,_0x3e63fc(0x391),new _0x10056d[(_0x3e63fc(0x37a))]([])),_0xb70e91(this,'roomMembers$',this[_0x3e63fc(0x391)][_0x3e63fc(0x490)](_0x10056d[_0x3e63fc(0x3f6)](_0x4d74c9))),_0xb70e91(this,_0x3e63fc(0x389),_0x4414bf['debounce'](_0xe55a92=>{const _0x3a1b65=_0x3e63fc,_0xf81092={'eventID':_0x5bdcf8[_0x3a1b65(0x2a9)][_0x3a1b65(0x2ce)],'data':{'unitID':this[_0x3a1b65(0x437)],'memberID':this['_session'][_0x3a1b65(0x3b3)](),'selection':_0x56e4b5(_0xe55a92)}};this[_0x3a1b65(0x47f)][_0x3a1b65(0x279)](_0xf81092,this['unitID']);},_0x2366d9)),(this['unitID']=_0x219572,this['_session']=_0x349d18,this['_injector']=_0xb9552e,this[_0x3e63fc(0x2ed)]=_0x41551a,this[_0x3e63fc(0x2f9)]=_0x30e789,this[_0x3e63fc(0x417)]=_0x33a14f,this[_0x3e63fc(0x26f)]=_0x373cfa,this[_0x3e63fc(0x384)]=_0x51f084,this['_commandService']=_0xba9ac7);}get[_0x1cbca8(0x3c4)](){const _0x4d659b=_0x1cbca8;return this[_0x4d659b(0x31b)][_0x4d659b(0x38d)]();}get[_0x1cbca8(0x289)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x58d77e=_0x1cbca8;super[_0x58d77e(0x241)](),this[_0x58d77e(0x31b)]['next'](new Map()),this[_0x58d77e(0x31b)][_0x58d77e(0x399)](),this['_roomMembers$'][_0x58d77e(0x1f2)]([]),this[_0x58d77e(0x391)][_0x58d77e(0x399)]();}[_0x1cbca8(0x457)](){const _0x103866=_0x1cbca8;this[_0x103866(0x38c)]||(this[_0x103866(0x38c)]=!0x0,this[_0x103866(0x47f)][_0x103866(0x317)][_0x103866(0x490)](_0x10056d['takeUntil'](this['dispose$']))['subscribe'](_0x53a553=>{const _0x2d7f2d=_0x103866;_0x53a553===_0x407fab['SessionStatus']['ONLINE']?this[_0x2d7f2d(0x45d)]():this[_0x2d7f2d(0x44f)]();}),this[_0x103866(0x47f)]['event$'][_0x103866(0x490)](_0x10056d[_0x103866(0x1fa)](this['dispose$']))[_0x103866(0x218)](_0xdfb973=>{const _0x25dbac=_0x103866,_0x2e399d=_0xdfb973[_0x25dbac(0x292)];_0x2e399d===_0x5bdcf8[_0x25dbac(0x2a9)]['UPDATE_CURSOR']&&this[_0x25dbac(0x287)](_0xdfb973),_0x2e399d===_0x5bdcf8[_0x25dbac(0x2a9)][_0x25dbac(0x3d8)]&&this[_0x25dbac(0x32f)](_0xdfb973);}),this[_0x103866(0x2d8)](this[_0x103866(0x42c)][_0x103866(0x448)](_0x409042=>{const _0x2c0d99=_0x103866,_0xa0b4da=_0x409042['params'];_0xa0b4da!=null&&this[_0x2c0d99(0x3fa)]&&_0x409042['id']===_0x524921[_0x2c0d99(0x321)]['id']&&_0xa0b4da[_0x2c0d99(0x423)]===this[_0x2c0d99(0x437)]&&_0xa0b4da[_0x2c0d99(0x24a)]===!0x1&&_0xa0b4da['ranges'][_0x2c0d99(0x2d0)]>0x0&&this[_0x2c0d99(0x389)](_0xa0b4da[_0x2c0d99(0x469)]);})),this[_0x103866(0x417)][_0x103866(0x1f3)][_0x103866(0x490)](_0x10056d[_0x103866(0x1fa)](this[_0x103866(0x29f)]))[_0x103866(0x218)](_0x4af263=>{const _0x5039b3=_0x103866;if((_0x4af263==null?void 0x0:_0x4af263[_0x5039b3(0x437)])!==this[_0x5039b3(0x437)])return;const _0x46cad={'eventID':_0x5bdcf8[_0x5039b3(0x2a9)]['UPDATE_CURSOR'],'data':_0x4af263};this[_0x5039b3(0x287)](_0x46cad);}),this['disposeWithMe'](this[_0x103866(0x42c)][_0x103866(0x448)](_0x1f13b4=>{const _0x5def52=_0x103866;if(_0x1f13b4['params']==null)return;const _0x273269=_0x1f13b4['params'];if(_0x1f13b4['id']!==_0x524921[_0x5def52(0x299)]['id']||_0x273269[_0x5def52(0x423)]!==this[_0x5def52(0x437)])return;const _0x3c2801={'id':'doc.mutation.rich-text-editing','params':_0x273269},_0x388813=this[_0x5def52(0x3c4)];for(const [_0x26a7ab,_0x5845b8]of _0x388813){const _0x5e64a3={'id':_0x5def52(0x1fd),'params':{'unitId':this[_0x5def52(0x437)],'actions':null,'textRanges':_0x5845b8[_0x5def52(0x469)]}},_0x55e160=this[_0x5def52(0x26f)][_0x5def52(0x26c)](_0x3c2801,_0x5e64a3,!0x1);if(_0x5bdcf8['isTransformMutationFailure'](_0x55e160))throw _0x55e160[_0x5def52(0x357)];_0x388813[_0x5def52(0x3f8)](_0x26a7ab,{..._0x5845b8,'ranges':_0x55e160['m2Prime'][_0x5def52(0x20c)][_0x5def52(0x3b2)]});}queueMicrotask(()=>{const _0x50ffbd=_0x5def52;this[_0x50ffbd(0x31b)]['next'](_0x388813);});})));}[_0x1cbca8(0x287)](_0x336251){const _0x43fad9=_0x1cbca8;var _0xe8af0f,_0x4aaa59;const {memberID:_0x2827c6,selection:_0x2c7514}=_0x336251[_0x43fad9(0x2ff)],_0x34670a=_0x1290ae(_0x2c7514),_0x950e42=(_0x4aaa59=(_0xe8af0f=this[_0x43fad9(0x2f9)][_0x43fad9(0x37c)](this[_0x43fad9(0x437)],_0x2827c6))==null?void 0x0:_0xe8af0f['name'])!=null?_0x4aaa59:_0x43fad9(0x25f),_0x5b6cb3={'color':this['_colorAssignService'][_0x43fad9(0x324)](_0x2827c6),'name':_0x950e42,'ranges':_0x34670a},_0x58d5f4=this[_0x43fad9(0x3c4)];_0x58d5f4[_0x43fad9(0x3f8)](_0x2827c6,_0x5b6cb3),this['_cursorInfo$'][_0x43fad9(0x1f2)](_0x58d5f4);}['_onCursorDelete'](_0x316dd6){const _0x1648d9=_0x1cbca8,{memberID:_0x44ba62}=_0x316dd6['data'],_0x489f0c=this['cursorInfo'];_0x489f0c[_0x1648d9(0x33c)](_0x44ba62),this[_0x1648d9(0x31b)]['next'](_0x489f0c);}[_0x1cbca8(0x45d)](){const _0x39e9b8=_0x1cbca8;var _0x2a4fd9;if(this[_0x39e9b8(0x3fa)]=!0x0,((_0x2a4fd9=this[_0x39e9b8(0x384)][_0x39e9b8(0x28a)]())==null?void 0x0:_0x2a4fd9[_0x39e9b8(0x43a)]())!==this[_0x39e9b8(0x437)])return;const _0x4ca667=this[_0x39e9b8(0x422)][_0x39e9b8(0x37e)](_0x524921[_0x39e9b8(0x3a5)])[_0x39e9b8(0x224)]();Array[_0x39e9b8(0x2c0)](_0x4ca667)&&_0x4ca667[_0x39e9b8(0x2d0)]>0x0&&this[_0x39e9b8(0x389)](_0x4ca667);}[_0x1cbca8(0x44f)](){const _0x26306c=_0x1cbca8;this[_0x26306c(0x3fa)]=!0x1;}};_0x55665c=_0x580840([_0x55f582(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x3c6)])),_0x55f582(0x3,_0x4414bf[_0x1cbca8(0x427)](_0x20ea31)),_0x55f582(0x4,_0x4414bf[_0x1cbca8(0x427)](_0x407fab[_0x1cbca8(0x246)])),_0x55f582(0x5,_0x4414bf[_0x1cbca8(0x427)](_0x336600)),_0x55f582(0x6,_0x5bdcf8[_0x1cbca8(0x43c)]),_0x55f582(0x7,_0x4414bf['IUniverInstanceService']),_0x55f582(0x8,_0x4414bf[_0x1cbca8(0x216)])],_0x55665c);var _0x3c373b=Object['getOwnPropertyDescriptor'],_0x48c278=(_0x564610,_0x5058c2,_0x17b171,_0x5c7091)=>{const _0x288128=_0x1cbca8;for(var _0x29c3ad=_0x5c7091>0x1?void 0x0:_0x5c7091?_0x3c373b(_0x5058c2,_0x17b171):_0x5058c2,_0x42100f=_0x564610[_0x288128(0x2d0)]-0x1,_0x5739f9;_0x42100f>=0x0;_0x42100f--)(_0x5739f9=_0x564610[_0x42100f])&&(_0x29c3ad=_0x5739f9(_0x29c3ad)||_0x29c3ad);return _0x29c3ad;},_0x1c2b99=(_0x366a8b,_0xbad72b)=>(_0x2aab4d,_0x2e0d8d)=>_0xbad72b(_0x2aab4d,_0x2e0d8d,_0x366a8b);const _0x256d44=0x12c,_0x5606ec=0x64,_0x2bce2e=()=>{let _0x391c34=[],_0x3f0d35=!0x1;return _0x859b76=>{const _0x511d9f=_0x6426;_0x391c34[_0x511d9f(0x23a)](_0x859b76),_0x3f0d35||(_0x3f0d35=!0x0,setTimeout(()=>{_0x391c34['forEach'](_0x17ba81=>_0x17ba81()),_0x391c34=[],_0x3f0d35=!0x1;}));};};let _0x3726f2=class extends _0x4414bf['RxDisposable']{constructor(_0x588773,_0x202f83,_0x3b65e9,_0x4b46ca,_0x23e27b,_0x573faa,_0x1c1381,_0x3e5e74){const _0x41d589=_0x1cbca8;super(),_0xb70e91(this,_0x41d589(0x3fa),!0x1),_0xb70e91(this,_0x41d589(0x38c),!0x1),_0xb70e91(this,_0x41d589(0x31b),new _0x10056d['BehaviorSubject'](new Map())),_0xb70e91(this,'cursorInfo$',this[_0x41d589(0x31b)][_0x41d589(0x290)]()),_0xb70e91(this,_0x41d589(0x391),new _0x10056d[(_0x41d589(0x37a))]([])),_0xb70e91(this,_0x41d589(0x396),this['_roomMembers$'][_0x41d589(0x490)](_0x10056d[_0x41d589(0x3f6)](_0x256d44))),_0xb70e91(this,_0x41d589(0x389),_0x4414bf[_0x41d589(0x331)]((_0x490b72,_0x5f4eeb)=>{const _0x37f194=_0x41d589,_0x543e4a={'eventID':_0x5bdcf8[_0x37f194(0x2a9)][_0x37f194(0x2ce)],'data':{'unitID':this['unitID'],'memberID':this[_0x37f194(0x47f)][_0x37f194(0x3b3)](),'selection':_0x4584c2[_0x37f194(0x329)](_0x490b72,_0x5f4eeb['range'])}};this[_0x37f194(0x47f)][_0x37f194(0x279)](_0x543e4a,this[_0x37f194(0x437)]);},_0x5606ec)),(this[_0x41d589(0x437)]=_0x588773,this[_0x41d589(0x47f)]=_0x202f83,this['_injector']=_0x3b65e9,this[_0x41d589(0x2ed)]=_0x4b46ca,this[_0x41d589(0x2f9)]=_0x23e27b,this['_univerInstanceService']=_0x573faa,this[_0x41d589(0x42c)]=_0x1c1381,this[_0x41d589(0x342)]=_0x3e5e74);}get[_0x1cbca8(0x3c4)](){const _0x3c2658=_0x1cbca8;return this[_0x3c2658(0x31b)][_0x3c2658(0x38d)]();}get[_0x1cbca8(0x289)](){const _0x3ee1b9=_0x1cbca8;return this[_0x3ee1b9(0x391)][_0x3ee1b9(0x38d)]();}[_0x1cbca8(0x241)](){const _0x9c857b=_0x1cbca8;super[_0x9c857b(0x241)](),this['_cursorInfo$'][_0x9c857b(0x1f2)](new Map()),this[_0x9c857b(0x31b)][_0x9c857b(0x399)](),this[_0x9c857b(0x391)][_0x9c857b(0x1f2)]([]),this[_0x9c857b(0x391)][_0x9c857b(0x399)]();}[_0x1cbca8(0x457)](){const _0x3d36d5=_0x1cbca8;this[_0x3d36d5(0x38c)]||(this[_0x3d36d5(0x38c)]=!0x0,this[_0x3d36d5(0x47f)][_0x3d36d5(0x317)][_0x3d36d5(0x490)](_0x10056d['takeUntil'](this[_0x3d36d5(0x29f)]))[_0x3d36d5(0x218)](_0x6fdaed=>{const _0x39473e=_0x3d36d5;_0x6fdaed===_0x407fab['SessionStatus'][_0x39473e(0x3c3)]?this[_0x39473e(0x45d)]():this[_0x39473e(0x44f)]();}),this[_0x3d36d5(0x47f)][_0x3d36d5(0x47d)][_0x3d36d5(0x490)](_0x10056d['takeUntil'](this[_0x3d36d5(0x29f)]))[_0x3d36d5(0x218)](_0x393d94=>{const _0x179c03=_0x3d36d5,_0x2cc979=_0x393d94[_0x179c03(0x292)];_0x2cc979===_0x5bdcf8[_0x179c03(0x2a9)][_0x179c03(0x2ce)]&&this[_0x179c03(0x287)](_0x393d94),_0x2cc979===_0x5bdcf8[_0x179c03(0x2a9)]['USERS_LEAVE']&&this[_0x179c03(0x32f)](_0x393d94);}),this['_onRefRangeChange'](),this[_0x3d36d5(0x2d8)](this['_commandService'][_0x3d36d5(0x448)](_0x1d81eb=>{const _0x5d57a3=_0x3d36d5;if(this[_0x5d57a3(0x3fa)]&&_0x1d81eb['id']===_0x544fac[_0x5d57a3(0x238)]['id']&&_0x1d81eb[_0x5d57a3(0x20c)][_0x5d57a3(0x423)]===this[_0x5d57a3(0x437)]){const _0x45f9a2=_0x1d81eb[_0x5d57a3(0x20c)];this[_0x5d57a3(0x389)](_0x45f9a2['subUnitId'],_0x45f9a2[_0x5d57a3(0x1f9)][0x0]);}})));}[_0x1cbca8(0x287)](_0x2c81e9){const _0x129735=_0x1cbca8;var _0x216c72,_0x1df8d0;const {memberID:_0x50bc9b,selection:_0x2d4278}=_0x2c81e9[_0x129735(0x2ff)],{sheetName:_0xb591f5,range:_0x215f66}=_0x4584c2[_0x129735(0x449)](_0x2d4278),_0x3b1e95={'name':(_0x1df8d0=(_0x216c72=this[_0x129735(0x2f9)]['getMember'](this[_0x129735(0x437)],_0x50bc9b))==null?void 0x0:_0x216c72[_0x129735(0x212)])!=null?_0x1df8d0:_0x129735(0x25f),'range':this[_0x129735(0x291)](_0xb591f5,_0x215f66),'sheetID':_0xb591f5,'color':this[_0x129735(0x2ed)]['assignAColorForMemberID'](_0x50bc9b),'selection':_0x2d4278},_0x4e1f10=this[_0x129735(0x3c4)];_0x4e1f10[_0x129735(0x3f8)](_0x50bc9b,_0x3b1e95),this['_cursorInfo$'][_0x129735(0x1f2)](_0x4e1f10);}['_onCursorDelete'](_0x24c44b){const _0x1974ce=_0x1cbca8,{memberID:_0x8770d7}=_0x24c44b[_0x1974ce(0x2ff)],_0x21688=this[_0x1974ce(0x3c4)];_0x21688[_0x1974ce(0x33c)](_0x8770d7),this['_cursorInfo$'][_0x1974ce(0x1f2)](_0x21688);}[_0x1cbca8(0x291)](_0xcfb01f,_0x5cb2e9){const _0x2cc9ea=_0x1cbca8;var _0x37549d,_0x33b15a;const _0x568922=(_0x33b15a=(_0x37549d=this[_0x2cc9ea(0x384)][_0x2cc9ea(0x3ee)](this['unitID']))==null?void 0x0:_0x37549d['getSheetBySheetId'](_0xcfb01f))==null?void 0x0:_0x33b15a[_0x2cc9ea(0x2fd)]();return(_0x568922==null?void 0x0:_0x568922[_0x2cc9ea(0x30d)](_0x21a4e4=>_0x4414bf['Rectangle'][_0x2cc9ea(0x22f)](_0x21a4e4,_0x5cb2e9)))||_0x5cb2e9;}[_0x1cbca8(0x481)](){const _0x44342b=_0x1cbca8,_0xb9c036=new _0x4414bf[(_0x44342b(0x441))](),_0x4e372e=_0x2bce2e(),_0x36e94a=()=>{const _0x391b83=_0x44342b;_0xb9c036[_0x391b83(0x241)]();const _0x268a58=(_0x26f73f,_0x3b83df,_0x356374,_0xc396ec)=>{const _0x55598c=_0x391b83;let _0x2cdd6b=[];switch(_0x26f73f['id']){case _0x544fac[_0x55598c(0x2ab)][_0x55598c(0x1fe)]:{_0x2cdd6b=_0x544fac[_0x55598c(0x431)](_0x26f73f,_0xc396ec);break;}case _0x544fac[_0x55598c(0x2ab)]['DeleteRangeMoveUpCommandId']:{_0x2cdd6b=_0x544fac['handleDeleteRangeMoveUp'](_0x26f73f,_0xc396ec);break;}case _0x544fac['EffectRefRangId']['InsertColCommandId']:{_0x2cdd6b=_0x544fac[_0x55598c(0x2bb)](_0x26f73f,_0xc396ec);break;}case _0x544fac[_0x55598c(0x2ab)][_0x55598c(0x2d4)]:{_0x2cdd6b=_0x544fac[_0x55598c(0x451)](_0x26f73f,_0xc396ec);break;}case _0x544fac[_0x55598c(0x2ab)][_0x55598c(0x402)]:{_0x2cdd6b=_0x544fac[_0x55598c(0x3fc)](_0x26f73f,_0xc396ec);break;}case _0x544fac[_0x55598c(0x2ab)][_0x55598c(0x1f8)]:{_0x2cdd6b=_0x544fac[_0x55598c(0x475)](_0x26f73f,_0xc396ec);break;}case _0x544fac['EffectRefRangId'][_0x55598c(0x1f7)]:{_0x2cdd6b=_0x544fac['handleMoveRange'](_0x26f73f,_0xc396ec);break;}case _0x544fac[_0x55598c(0x2ab)]['RemoveColCommandId']:{_0x2cdd6b=_0x544fac['handleIRemoveCol'](_0x26f73f,_0xc396ec);break;}case _0x544fac[_0x55598c(0x2ab)][_0x55598c(0x47c)]:{_0x2cdd6b=_0x544fac[_0x55598c(0x39a)](_0x26f73f,_0xc396ec);break;}}const _0x5a0aad=_0x544fac[_0x55598c(0x252)](_0x2cdd6b,_0xc396ec),_0x3627e0=this[_0x55598c(0x3c4)][_0x55598c(0x37e)](_0x3b83df);if(_0x3627e0&&_0x5a0aad){const _0xdd1d23={..._0x3627e0,'range':_0x5a0aad};this[_0x55598c(0x3c4)][_0x55598c(0x3f8)](_0x3b83df,_0xdd1d23),_0x4e372e(()=>{const _0x468c43=_0x55598c,_0x539754=this[_0x468c43(0x342)]['registerRefRange'](_0x5a0aad,_0x211a9e=>(_0x539754['dispose'](),_0x268a58(_0x211a9e,_0x3b83df,_0x356374,_0x5a0aad)));_0xb9c036[_0x468c43(0x2d5)](_0x539754);});}return{'redos':[],'undos':[]};};this[_0x391b83(0x3c4)]['forEach']((_0xc30344,_0x3ae0c6)=>{const _0x3e4b43=_0x391b83,{range:_0x6633b,sheetID:_0x1a92d3}=_0xc30344,_0x1e2869=this[_0x3e4b43(0x342)][_0x3e4b43(0x23c)](_0x6633b,_0x38fa08=>(_0x1e2869[_0x3e4b43(0x241)](),_0x268a58(_0x38fa08,_0x3ae0c6,_0x1a92d3,_0x6633b)));_0xb9c036['add'](_0x1e2869);});};this[_0x44342b(0x2d8)](_0x4414bf[_0x44342b(0x472)](this[_0x44342b(0x31b)][_0x44342b(0x218)](()=>{_0x36e94a();})));}[_0x1cbca8(0x45d)](){const _0x36ae48=_0x1cbca8;var _0x1d786d,_0x1aa90d;if(this[_0x36ae48(0x3fa)]=!0x0,((_0x1d786d=this[_0x36ae48(0x384)]['getFocusedUnit']())==null?void 0x0:_0x1d786d['getUnitId']())!==this['unitID'])return;const _0x30cfbc=(_0x1aa90d=this[_0x36ae48(0x422)][_0x36ae48(0x37e)](_0x544fac[_0x36ae48(0x3a0)])[_0x36ae48(0x2b5)]())==null?void 0x0:_0x1aa90d[0x0],_0x1f4aa0=this[_0x36ae48(0x384)]['getCurrentUnitForType'](_0x4414bf[_0x36ae48(0x2b8)][_0x36ae48(0x3bf)])['getActiveSheet']();_0x30cfbc&&_0x1f4aa0&&this['_updateLocalCursor'](_0x1f4aa0[_0x36ae48(0x2c4)](),_0x30cfbc);}['_toggleOffline'](){this['_online']=!0x1;}};_0x3726f2=_0x48c278([_0x1c2b99(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x3c6)])),_0x1c2b99(0x3,_0x4414bf[_0x1cbca8(0x427)](_0x20ea31)),_0x1c2b99(0x4,_0x4414bf[_0x1cbca8(0x427)](_0x407fab[_0x1cbca8(0x246)])),_0x1c2b99(0x5,_0x4414bf['IUniverInstanceService']),_0x1c2b99(0x6,_0x4414bf[_0x1cbca8(0x216)]),_0x1c2b99(0x7,_0x4414bf['Inject'](_0x544fac['RefRangeService']))],_0x3726f2);var _0x282117=Object[_0x1cbca8(0x332)],_0x1edd07=(_0x1d2e60,_0xa2975,_0x466281,_0x31fc49)=>{for(var _0x503420=_0x31fc49>0x1?void 0x0:_0x31fc49?_0x282117(_0xa2975,_0x466281):_0xa2975,_0x2ec2ba=_0x1d2e60['length']-0x1,_0x3f1622;_0x2ec2ba>=0x0;_0x2ec2ba--)(_0x3f1622=_0x1d2e60[_0x2ec2ba])&&(_0x503420=_0x3f1622(_0x503420)||_0x503420);return _0x503420;},_0x21b39f=(_0x474b3d,_0x41a2cd)=>(_0x5a838c,_0x22d945)=>_0x41a2cd(_0x5a838c,_0x22d945,_0x474b3d);let _0x351435=class extends _0x4414bf[_0x1cbca8(0x23f)]{constructor(_0x1bac01,_0x1881b7,_0x23af2f){const _0x467886=_0x1cbca8;super(),_0xb70e91(this,'_entities',new Map()),_0xb70e91(this,_0x467886(0x297),new _0x10056d[(_0x467886(0x3aa))]()),(this[_0x467886(0x384)]=_0x1bac01,this[_0x467886(0x422)]=_0x1881b7,this[_0x467886(0x25d)]=_0x23af2f,this['_init']());}[_0x1cbca8(0x241)](){const _0x33eea1=_0x1cbca8;super['dispose'](),this['_entityInit$']['complete'](),this['_entities'][_0x33eea1(0x37b)](_0x258c05=>_0x258c05[_0x33eea1(0x241)]());}[_0x1cbca8(0x2de)](_0x453dc3){const _0xc45f1=_0x1cbca8;return this[_0xc45f1(0x1f5)][_0xc45f1(0x3e4)](_0x453dc3)?this[_0xc45f1(0x1f5)]['get'](_0x453dc3)[_0xc45f1(0x206)]:this[_0xc45f1(0x297)][_0xc45f1(0x490)](_0x10056d[_0xc45f1(0x39d)](_0x4230af=>_0x4230af[_0xc45f1(0x437)]===_0x453dc3),_0x10056d[_0xc45f1(0x3b6)](_0x5a5337=>_0x5a5337[_0xc45f1(0x206)]));}[_0x1cbca8(0x38c)](){const _0x5d67f5=_0x1cbca8;this[_0x5d67f5(0x384)][_0x5d67f5(0x3ae)](_0x4414bf[_0x5d67f5(0x2b8)][_0x5d67f5(0x3bf)])['pipe'](_0x10056d[_0x5d67f5(0x1fa)](this[_0x5d67f5(0x29f)]))[_0x5d67f5(0x218)](async _0x35b34a=>{const _0x1490a7=_0x5d67f5,_0x7a6c5e=_0x35b34a[_0x1490a7(0x43a)](),_0x49ec2d=await this[_0x1490a7(0x485)](_0x7a6c5e);this[_0x1490a7(0x297)][_0x1490a7(0x1f2)](_0x49ec2d),this[_0x1490a7(0x1f5)][_0x1490a7(0x3f8)](_0x7a6c5e,_0x49ec2d);}),this[_0x5d67f5(0x384)]['getTypeOfUnitAdded$'](_0x4414bf[_0x5d67f5(0x2b8)][_0x5d67f5(0x393)])[_0x5d67f5(0x490)](_0x10056d[_0x5d67f5(0x1fa)](this[_0x5d67f5(0x29f)]))['pipe'](_0x10056d[_0x5d67f5(0x39d)](_0x559db7=>!_0x559db7['getUnitId']()[_0x5d67f5(0x213)]('__')))[_0x5d67f5(0x218)](async _0x4abae6=>{const _0x39faea=_0x5d67f5,_0x171cc1=_0x4abae6['getUnitId'](),_0x570a45=await this[_0x39faea(0x41b)](_0x171cc1);this['_entityInit$'][_0x39faea(0x1f2)](_0x570a45),this[_0x39faea(0x1f5)][_0x39faea(0x3f8)](_0x171cc1,_0x570a45);}),_0x10056d[_0x5d67f5(0x318)](this[_0x5d67f5(0x384)][_0x5d67f5(0x47b)](_0x4414bf[_0x5d67f5(0x2b8)][_0x5d67f5(0x393)]),this[_0x5d67f5(0x384)][_0x5d67f5(0x47b)](_0x4414bf[_0x5d67f5(0x2b8)][_0x5d67f5(0x3bf)]))['pipe'](_0x10056d[_0x5d67f5(0x1fa)](this[_0x5d67f5(0x29f)]))[_0x5d67f5(0x218)](_0x5c78b1=>{const _0xe49ae4=_0x5d67f5,_0x6f6de7=_0x5c78b1[_0xe49ae4(0x43a)](),_0x3bfb1a=this['_entities'][_0xe49ae4(0x37e)](_0x6f6de7);_0x3bfb1a&&(_0x3bfb1a[_0xe49ae4(0x241)](),this[_0xe49ae4(0x1f5)][_0xe49ae4(0x33c)](_0x6f6de7));});}async[_0x1cbca8(0x485)](_0x1e1124){const _0x5693c8=_0x1cbca8,_0xe5f7e3=await this[_0x5693c8(0x25d)][_0x5693c8(0x2d9)](_0x1e1124),_0x5cf8ee=this[_0x5693c8(0x422)][_0x5693c8(0x333)](_0x3726f2,_0x1e1124,_0xe5f7e3);return _0x5cf8ee[_0x5693c8(0x457)](),_0x5cf8ee;}async[_0x1cbca8(0x41b)](_0x19a712){const _0x23b80c=_0x1cbca8,_0xb83a4f=await this[_0x23b80c(0x25d)][_0x23b80c(0x2d9)](_0x19a712),_0x5ed3a4=this[_0x23b80c(0x422)][_0x23b80c(0x333)](_0x55665c,_0x19a712,_0xb83a4f);return _0x5ed3a4[_0x23b80c(0x457)](),_0x5ed3a4;}};_0x351435=_0x1edd07([_0x21b39f(0x0,_0x4414bf[_0x1cbca8(0x2cd)]),_0x21b39f(0x1,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf['Injector'])),_0x21b39f(0x2,_0x4414bf['Inject'](_0x407fab[_0x1cbca8(0x30e)]))],_0x351435);const _0x46e964=0x14,_0x3060cf=0xc8,_0x231e21=0x4,_0x257912=0x5;function _0x5d575b(_0x17e973,_0x10a03b){const _0x5e54c3=_0x1cbca8;let {radius:_0x47d904,width:_0x49af24,height:_0x5cb940}=_0x10a03b;_0x47d904=_0x47d904!=null?_0x47d904:0x0,_0x49af24=_0x49af24!=null?_0x49af24:0x1e,_0x5cb940=_0x5cb940!=null?_0x5cb940:0x1e;let _0x2e8149=0x0,_0x557ed1=0x0,_0x179baf=0x0;_0x2e8149=_0x557ed1=_0x179baf=Math['min'](_0x47d904,_0x49af24/0x2,_0x5cb940/0x2),_0x17e973[_0x5e54c3(0x3d7)](),_0x17e973[_0x5e54c3(0x209)](_0x2e8149,0x0),_0x17e973[_0x5e54c3(0x274)](_0x49af24-_0x557ed1,0x0),_0x17e973[_0x5e54c3(0x403)](_0x49af24-_0x557ed1,_0x557ed1,_0x557ed1,Math['PI']*0x3/0x2,0x0,!0x1),_0x17e973[_0x5e54c3(0x274)](_0x49af24,_0x5cb940-_0x179baf),_0x17e973[_0x5e54c3(0x403)](_0x49af24-_0x179baf,_0x5cb940-_0x179baf,_0x179baf,0x0,Math['PI']/0x2,!0x1),_0x17e973[_0x5e54c3(0x274)](0x0,_0x5cb940),_0x17e973[_0x5e54c3(0x274)](0x0,_0x2e8149),_0x17e973[_0x5e54c3(0x403)](_0x2e8149,_0x2e8149,_0x2e8149,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17e973[_0x5e54c3(0x407)](),_0x10a03b[_0x5e54c3(0x30f)]&&(_0x17e973[_0x5e54c3(0x244)](),_0x17e973[_0x5e54c3(0x443)]=_0x10a03b[_0x5e54c3(0x30f)],_0x10a03b[_0x5e54c3(0x452)]===_0x5e54c3(0x27f)?_0x17e973['fill']('evenodd'):_0x17e973[_0x5e54c3(0x30f)](),_0x17e973[_0x5e54c3(0x2f3)]());}class _0x5023ba extends _0x18c4eb[_0x1cbca8(0x278)]{constructor(_0x28184f,_0x5437db){const _0x139b28=_0x1cbca8;super(_0x28184f,_0x5437db),_0xb70e91(this,_0x139b28(0x25c)),_0xb70e91(this,_0x139b28(0x269)),(this[_0x139b28(0x25c)]=_0x5437db==null?void 0x0:_0x5437db[_0x139b28(0x25c)],this[_0x139b28(0x269)]=_0x5437db==null?void 0x0:_0x5437db[_0x139b28(0x269)]);}static[_0x1cbca8(0x29e)](_0x46f014,_0x377f59){const _0x198981=_0x1cbca8,{text:_0xf73f5c,color:_0x1705e7}=_0x377f59;_0x46f014[_0x198981(0x244)](),_0x46f014[_0x198981(0x288)]=_0x198981(0x261);const _0x57af91=_0x46f014[_0x198981(0x2be)](_0xf73f5c)[_0x198981(0x3dc)],_0x338ddb=Math[_0x198981(0x447)](_0x57af91+0x2*_0x231e21,_0x3060cf);_0x5d575b(_0x46f014,{'height':_0x46e964,'radius':0x4,'width':_0x338ddb,'fill':_0x1705e7}),_0x46f014[_0x198981(0x443)]=_0x198981(0x3d1);const _0x5b7489=_0x231e21,_0x29eede=_0x46e964-_0x257912,_0x491529=_0x3060cf-0x2*_0x231e21;if(_0x57af91>_0x491529){let _0x15eef5='',_0x515600=0x0;for(const _0x481d90 of _0xf73f5c){const _0x5506b1=_0x46f014[_0x198981(0x2be)](_0x481d90)['width'];if(_0x515600+_0x5506b1<=_0x491529-_0x46f014[_0x198981(0x2be)](_0x198981(0x2a5))[_0x198981(0x3dc)])_0x15eef5+=_0x481d90,_0x515600+=_0x5506b1;else{_0x15eef5+=_0x198981(0x2a5);break;}}_0x46f014[_0x198981(0x446)](_0x15eef5,_0x5b7489,_0x29eede);}else _0x46f014[_0x198981(0x446)](_0xf73f5c,_0x5b7489,_0x29eede);_0x46f014[_0x198981(0x2f3)]();}[_0x1cbca8(0x430)](_0x4079c5){const _0x57f5bb=_0x1cbca8;_0x5023ba[_0x57f5bb(0x29e)](_0x4079c5,this);}}const _0x81b33=_0x1cbca8(0x41d),_0x483974=_0x1cbca8(0x334),_0x3f6dde='collab-rect-range-',_0x55f10a=0x6,_0x34cdfd=1.5,_0x399971=0x4,_0x53e2cb=1.5,_0x42ce2e=_0x1cbca8(0x23d);class _0x5d35ff{constructor(_0x3ec02c,_0x3734f5,_0x3e39db,_0xb9a1c){const _0x34aeba=_0x1cbca8;_0xb70e91(this,'_shapes',[]),_0xb70e91(this,_0x34aeba(0x29d),null),_0xb70e91(this,_0x34aeba(0x265),null),_0xb70e91(this,_0x34aeba(0x2a0),null),_0xb70e91(this,_0x34aeba(0x34b),null),_0xb70e91(this,'_eventUnsubscribe',null),(this[_0x34aeba(0x47a)]=_0x3ec02c,this[_0x34aeba(0x225)]=_0x3734f5,this[_0x34aeba(0x3c7)]=_0x3e39db,this['_document']=_0xb9a1c,this[_0x34aeba(0x3c1)]());}set[_0x1cbca8(0x492)](_0x32b02e){const _0x476ea8=_0x1cbca8;_0x32b02e?(this['_anchorDot']&&this[_0x476ea8(0x2a0)]['hide'](),this['_textBubble']&&this[_0x476ea8(0x265)]['show']()):(this[_0x476ea8(0x2a0)]&&this['_anchorDot'][_0x476ea8(0x3ea)](),this[_0x476ea8(0x265)]&&this['_textBubble'][_0x476ea8(0x348)]());}['dispose'](){const _0x139bc3=_0x1cbca8;for(const _0x13fdfb of this[_0x139bc3(0x20b)])_0x13fdfb[_0x139bc3(0x241)]();this[_0x139bc3(0x265)]&&this[_0x139bc3(0x265)][_0x139bc3(0x241)](),this[_0x139bc3(0x2a0)]&&this['_anchorDot'][_0x139bc3(0x241)](),this[_0x139bc3(0x29d)]&&this[_0x139bc3(0x29d)][_0x139bc3(0x241)](),this[_0x139bc3(0x3a6)]&&this['_eventUnsubscribe']();}['_render'](){const _0xc88c5c=_0x1cbca8;var _0x39f743;const {_docSkeleton:_0x720116,_document:_0x1f103b}=this,{color:_0x26d67e,name:_0x59ca8f,ranges:_0x2da641}=this['_cursor'],_0x174089=_0x1f103b[_0xc88c5c(0x31a)](),{docsLeft:_0x28c660,docsTop:_0x415347}=_0x174089,_0x3b43b0=new _0x99f200[(_0xc88c5c(0x314))](_0x174089,_0x720116);for(const {startOffset:_0x3e85ce,endOffset:_0x10f0f5,rangeType:_0x147a1e,segmentId:_0x16f623,segmentPage:_0x37923b,collapsed:_0x480893,isActive:_0xcca365}of _0x2da641){const _0x16cdff=_0x720116[_0xc88c5c(0x30b)](_0x3e85ce,!0x0,_0x16f623,_0x37923b);let _0xd8a698=_0x720116[_0xc88c5c(0x30b)](_0x10f0f5,!0x0,_0x16f623,_0x37923b);if(_0xd8a698==null&&(_0xd8a698=_0x720116[_0xc88c5c(0x30b)](_0x10f0f5-0x1,!0x1,_0x16f623,_0x37923b)),_0xcca365){const {contentBoxPointGroup:_0x2438a2}=_0x3b43b0['getRangePointData'](_0xd8a698,_0xd8a698);if(_0x2438a2[_0xc88c5c(0x2d0)]===0x0)continue;this[_0xc88c5c(0x2ac)](_0x26d67e,_0x2438a2,_0x28c660,_0x415347,_0x59ca8f),this[_0xc88c5c(0x3a6)]=this[_0xc88c5c(0x2c9)]();}if(_0x16cdff&&_0xd8a698){if(_0x147a1e===_0x4414bf[_0xc88c5c(0x204)][_0xc88c5c(0x380)]){const _0x43854e=new _0x99f200[(_0xc88c5c(0x434))](_0x174089,_0x720116),{pointGroup:_0x4d5383}=(_0x39f743=_0x43854e[_0xc88c5c(0x35b)](_0x16cdff,_0xd8a698))!=null?_0x39f743:{};if(_0x4d5383==null||_0x4d5383[_0xc88c5c(0x2d0)]===0x0)continue;this[_0xc88c5c(0x2d2)](_0x26d67e,_0x4d5383,_0x28c660,_0x415347);}else{if(!_0x480893){const {borderBoxPointGroup:_0x21d8dc}=_0x3b43b0[_0xc88c5c(0x35b)](_0x16cdff,_0xd8a698);if(_0x21d8dc[_0xc88c5c(0x2d0)]===0x0)continue;this[_0xc88c5c(0x26a)](_0x26d67e,_0x21d8dc,_0x28c660,_0x415347);}}}}}['_drawAnchor'](_0x5c54c3,_0x32dfd4,_0x2189f2,_0x165b36,_0x576684){const _0x144b2b=_0x1cbca8,_0x261696=this['_getAnchorBounding'](_0x32dfd4),{left:_0x258684,top:_0x10acc8,height:_0x4423cb}=_0x261696,_0x5738c7=this[_0x144b2b(0x234)](),_0xd0331b=_0x53e2cb/_0x5738c7,_0x1dedaf=new _0x18c4eb['Rect'](_0x81b33+_0x4414bf[_0x144b2b(0x2e5)][_0x144b2b(0x42e)](_0x55f10a),{'left':_0x258684+_0x2189f2-_0xd0331b,'top':_0x10acc8+_0x165b36,'height':_0x4423cb,'width':_0x34cdfd,'fill':_0x5c54c3||_0x18c4eb[_0x144b2b(0x40e)](_0x4414bf['COLORS'][_0x144b2b(0x222)],0x0),'strokeWidth':_0xd0331b,'stroke':_0x42ce2e,'evented':!0x0});this[_0x144b2b(0x29d)]=_0x1dedaf,this[_0x144b2b(0x225)][_0x144b2b(0x2bc)](_0x1dedaf,_0x99f200[_0x144b2b(0x433)]);const _0x26fd61=new _0x18c4eb['Rect'](_0x81b33+_0x4414bf[_0x144b2b(0x2e5)][_0x144b2b(0x42e)](_0x55f10a),{'left':_0x258684+_0x2189f2-_0xd0331b,'top':_0x10acc8+_0x165b36-_0x399971/0x2,'height':_0x399971,'width':_0x399971,'fill':_0x5c54c3||_0x18c4eb[_0x144b2b(0x40e)](_0x4414bf[_0x144b2b(0x258)][_0x144b2b(0x222)],0x0),'strokeWidth':0x0,'stroke':_0x5c54c3||_0x18c4eb[_0x144b2b(0x40e)](_0x4414bf[_0x144b2b(0x258)][_0x144b2b(0x222)],0x0),'evented':!0x1});this[_0x144b2b(0x2a0)]=_0x26fd61,this[_0x144b2b(0x225)][_0x144b2b(0x2bc)](_0x26fd61,_0x99f200[_0x144b2b(0x433)]);const _0x5cd7be=new _0x5023ba(_0x81b33+_0x4414bf['Tools'][_0x144b2b(0x42e)](_0x55f10a),{'left':_0x258684+_0x2189f2-_0xd0331b,'top':_0x10acc8+_0x165b36-_0x46e964,'text':_0x576684,'color':_0x5c54c3});this['_textBubble']=_0x5cd7be,this[_0x144b2b(0x225)][_0x144b2b(0x2bc)](_0x5cd7be,_0x99f200[_0x144b2b(0x433)]),this[_0x144b2b(0x492)]=!0x1;}[_0x1cbca8(0x2c9)](){const _0x245bde=_0x1cbca8,_0x26a93e=this[_0x245bde(0x29d)][_0x245bde(0x3da)][_0x245bde(0x401)](()=>{const _0x43baf2=_0x245bde;this[_0x43baf2(0x492)]=!0x0;}),_0x2becc5=this['_anchor'][_0x245bde(0x31f)][_0x245bde(0x401)](()=>{const _0x32ca24=_0x245bde;this[_0x32ca24(0x34b)]&&clearTimeout(this[_0x32ca24(0x34b)]),this[_0x32ca24(0x34b)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1b81b3=_0x245bde;_0x26a93e[_0x1b81b3(0x293)](),_0x2becc5[_0x1b81b3(0x293)]();};}[_0x1cbca8(0x26a)](_0x24c984,_0x2fa65b,_0xac8074,_0x19337c){const _0xa63b86=_0x1cbca8,_0x5b7307=new _0x4414bf[(_0xa63b86(0x3e2))](_0x24c984)['setAlpha'](0.2)[_0xa63b86(0x27b)](),_0xe61093=new _0x18c4eb[(_0xa63b86(0x46a))](_0x483974+_0x4414bf[_0xa63b86(0x2e5)]['generateRandomId'](_0x55f10a),{'pointsGroup':_0x2fa65b,'fill':_0x5b7307||_0x18c4eb[_0xa63b86(0x40e)](_0x4414bf['COLORS'][_0xa63b86(0x222)],0.2),'left':_0xac8074,'top':_0x19337c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa63b86(0x20b)]['push'](_0xe61093),this[_0xa63b86(0x225)][_0xa63b86(0x2bc)](_0xe61093,_0x99f200[_0xa63b86(0x433)]);}['_drawRectRange'](_0x5c24b9,_0x5794c2,_0x1f818d,_0x23561a){const _0x25cfc0=_0x1cbca8,_0x479e61=new _0x4414bf[(_0x25cfc0(0x3e2))](_0x5c24b9)['setAlpha'](0.2)['toRgbString'](),_0x58de78=new _0x18c4eb[(_0x25cfc0(0x46a))](_0x3f6dde+_0x4414bf['Tools'][_0x25cfc0(0x42e)](_0x55f10a),{'pointsGroup':_0x5794c2,'fill':_0x479e61||_0x18c4eb[_0x25cfc0(0x40e)](_0x4414bf[_0x25cfc0(0x258)][_0x25cfc0(0x222)],0.2),'left':_0x1f818d,'top':_0x23561a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25cfc0(0x20b)][_0x25cfc0(0x23a)](_0x58de78),this['_scene'][_0x25cfc0(0x2bc)](_0x58de78,_0x99f200['TEXT_RANGE_LAYER_INDEX']);}[_0x1cbca8(0x3d6)](_0x54f27d){const _0x15303f=_0x54f27d[0x0],_0x277b4a=_0x15303f[0x0],_0x42087d=_0x15303f[0x2],{x:_0x18cc13,y:_0x27470e}=_0x277b4a,{x:_0x18cc21,y:_0x22e430}=_0x42087d;return{'left':_0x18cc13,'top':_0x27470e,'width':_0x18cc21-_0x18cc13,'height':_0x22e430-_0x27470e};}[_0x1cbca8(0x234)](){const _0x22f7ff=_0x1cbca8,{scaleX:_0x2b8a85,scaleY:_0xd7f74a}=this[_0x22f7ff(0x225)][_0x22f7ff(0x267)]();return Math['max'](_0x2b8a85,_0xd7f74a);}}var _0x344cf0=Object[_0x1cbca8(0x332)],_0x54b7d7=(_0x1b161b,_0x112e28,_0x469c93,_0x3ead7e)=>{const _0x1fa98f=_0x1cbca8;for(var _0x77489b=_0x3ead7e>0x1?void 0x0:_0x3ead7e?_0x344cf0(_0x112e28,_0x469c93):_0x112e28,_0x8e0532=_0x1b161b[_0x1fa98f(0x2d0)]-0x1,_0x152f04;_0x8e0532>=0x0;_0x8e0532--)(_0x152f04=_0x1b161b[_0x8e0532])&&(_0x77489b=_0x152f04(_0x77489b)||_0x77489b);return _0x77489b;},_0xd9d7e=(_0x28712f,_0x31325f)=>(_0x2c1f3e,_0x15242f)=>_0x31325f(_0x2c1f3e,_0x15242f,_0x28712f);let _0x73ea6=class extends _0x4414bf[_0x1cbca8(0x23f)]{constructor(_0x5e712c,_0x4bd916,_0x49f710,_0x20f68e,_0x6ffddf){const _0x18412d=_0x1cbca8;super(),_0xb70e91(this,_0x18412d(0x39f),[]),_0xb70e91(this,_0x18412d(0x3b8),[]),(this[_0x18412d(0x2d1)]=_0x5e712c,this[_0x18412d(0x32a)]=_0x4bd916,this[_0x18412d(0x424)]=_0x49f710,this[_0x18412d(0x42c)]=_0x20f68e,this[_0x18412d(0x2ee)]=_0x6ffddf,this[_0x18412d(0x38c)]());}[_0x1cbca8(0x38c)](){const _0x251396=_0x1cbca8,_0x2ef8b3=this[_0x251396(0x2d1)][_0x251396(0x423)],_0x494043=this[_0x251396(0x32a)];this[_0x251396(0x2d8)](_0x10056d[_0x251396(0x1fb)]([this[_0x251396(0x424)][_0x251396(0x2de)](_0x2ef8b3),this[_0x251396(0x2ee)][_0x251396(0x3a7)]])[_0x251396(0x490)](_0x4309fe[_0x251396(0x25b)](([_0x46aaed,_0x538aa2])=>({'skeleton':_0x494043[_0x251396(0x3fb)](),'cursors':[..._0x46aaed[_0x251396(0x3ba)]()][_0x251396(0x38a)](_0x478dfc=>({..._0x478dfc,'color':_0x538aa2[_0x478dfc[_0x251396(0x25c)]]}))})))[_0x251396(0x218)](_0x4d039f=>{const _0x4a8b44=_0x251396;if(this['_removeCollabCursors'](),_0x4d039f){const {skeleton:_0x268f0b,cursors:_0x39f8a2}=_0x4d039f;this[_0x4a8b44(0x2c8)](_0x268f0b,_0x39f8a2);}})),this[_0x251396(0x211)](),this['_initCommandExecutedListener']();}[_0x1cbca8(0x2c8)](_0x7f2417,_0x367061){const _0x147964=_0x1cbca8,{scene:_0x45b3da,mainComponent:_0x4c1f00}=this[_0x147964(0x2d1)],_0x98169d=_0x367061[_0x147964(0x25b)](_0x17c21a=>new _0x5d35ff(_0x17c21a,_0x45b3da,_0x7f2417,_0x4c1f00));this[_0x147964(0x39f)]=_0x98169d,this[_0x147964(0x3b8)]=_0x367061;}[_0x1cbca8(0x42a)](){const _0x4bd1f1=_0x1cbca8;this['_removeCollabCursors']();const {scene:_0x4f74bc,mainComponent:_0x513627}=this[_0x4bd1f1(0x2d1)],_0xe03191=this[_0x4bd1f1(0x32a)][_0x4bd1f1(0x3fb)](),_0x565493=this[_0x4bd1f1(0x3b8)][_0x4bd1f1(0x25b)](_0x1120b6=>new _0x5d35ff(_0x1120b6,_0x4f74bc,_0xe03191,_0x513627));this[_0x4bd1f1(0x39f)]=_0x565493;}[_0x1cbca8(0x367)](){const _0x2a6b93=_0x1cbca8;this[_0x2a6b93(0x39f)][_0x2a6b93(0x37b)](_0x4df780=>_0x4df780[_0x2a6b93(0x241)]()),this['_cursorShapes']=[];}[_0x1cbca8(0x3a1)](){const _0x50c669=_0x1cbca8,_0x406305=[_0x99f200['SetDocZoomRatioOperation']['id']];this[_0x50c669(0x2d8)](this[_0x50c669(0x42c)]['onCommandExecuted'](_0x534ac0=>{const _0x5096f5=_0x50c669;_0x406305[_0x5096f5(0x24e)](_0x534ac0['id'])&&_0x534ac0['params'][_0x5096f5(0x423)]===this[_0x5096f5(0x2d1)]['unitId']&&this[_0x5096f5(0x42a)]();}));}['_initResize'](){const _0x5a178e=_0x1cbca8;this[_0x5a178e(0x2d8)](_0x4414bf['fromEventSubject'](this['_context'][_0x5a178e(0x480)][_0x5a178e(0x45f)])[_0x5a178e(0x490)](_0x4309fe['filter'](_0x5d3d54=>_0x5d3d54[_0x5a178e(0x1ff)]===_0x18c4eb[_0x5a178e(0x3e3)][_0x5a178e(0x3f4)]),_0x4309fe[_0x5a178e(0x312)](0x10))[_0x5a178e(0x218)](()=>{const _0x15b568=_0x5a178e;this[_0x15b568(0x42a)]();}));}};_0x73ea6=_0x54b7d7([_0xd9d7e(0x1,_0x4414bf[_0x1cbca8(0x427)](_0x524921[_0x1cbca8(0x343)])),_0xd9d7e(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x351435)),_0xd9d7e(0x3,_0x4414bf[_0x1cbca8(0x216)]),_0xd9d7e(0x4,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf['ThemeService']))],_0x73ea6);const _0x10427c=0x1,_0xb4afa6=1.5;class _0x50f513 extends _0x18c4eb['Shape']{constructor(_0x43ab9e,_0x59aaf9){const _0x86546e=_0x1cbca8;super(_0x43ab9e,_0x59aaf9),_0xb70e91(this,'_color'),_0xb70e91(this,'_hovered',!0x1),_0xb70e91(this,'_range'),_0xb70e91(this,'_name',''),_0xb70e91(this,'_labelPosition',_0x86546e(0x2f5)),_0xb70e91(this,_0x86546e(0x2ca)),(_0x59aaf9&&this[_0x86546e(0x298)](_0x59aaf9),this[_0x86546e(0x3da)][_0x86546e(0x401)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x86546e(0x31f)][_0x86546e(0x401)](()=>this[_0x86546e(0x298)]({'hovered':!0x1})));}[_0x1cbca8(0x298)](_0x4449a0){const _0x297a4c=_0x1cbca8;var _0x383a5b,_0x361baa,_0x2a9283,_0x34e4e9,_0x12340c,_0xcf4702;this[_0x297a4c(0x2f0)]=(_0x383a5b=_0x4449a0['color'])!=null?_0x383a5b:this['_color'],this[_0x297a4c(0x28d)]=(_0x361baa=_0x4449a0['hovered'])!=null?_0x361baa:this[_0x297a4c(0x28d)],this['_range']=(_0x2a9283=_0x4449a0[_0x297a4c(0x305)])!=null?_0x2a9283:this[_0x297a4c(0x2f6)],this[_0x297a4c(0x359)]=(_0x34e4e9=_0x4449a0['name'])!=null?_0x34e4e9:this[_0x297a4c(0x359)],this[_0x297a4c(0x48d)]=(_0x12340c=_0x4449a0[_0x297a4c(0x3e0)])!=null?_0x12340c:this[_0x297a4c(0x48d)],this[_0x297a4c(0x2ca)]=(_0xcf4702=_0x4449a0[_0x297a4c(0x46b)])!=null?_0xcf4702:this[_0x297a4c(0x2ca)],this['transformByState']({'width':_0x4449a0['width'],'height':_0x4449a0[_0x297a4c(0x385)]});}[_0x1cbca8(0x294)](_0x10193b){const _0x49ce1f=_0x1cbca8,{row:_0x525d44,column:_0x36b2ad}=_0x10193b;if(_0x525d44>=this['_range']['startRow']&&_0x525d44<=this['_range'][_0x49ce1f(0x3ec)]&&_0x36b2ad>=this[_0x49ce1f(0x2f6)]['startColumn']&&_0x36b2ad<=this[_0x49ce1f(0x2f6)][_0x49ce1f(0x336)]){this[_0x49ce1f(0x298)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1cbca8(0x392)](_0x3b79f5){return!0x1;}['_draw'](_0x28f8fd){const _0x29d694=_0x1cbca8;_0x18c4eb['Rect'][_0x29d694(0x29e)](_0x28f8fd,{'width':this[_0x29d694(0x3dc)],'height':this[_0x29d694(0x385)],'strokeWidth':_0xb4afa6,'stroke':this[_0x29d694(0x2f0)],'evented':!0x1,'fill':this[_0x29d694(0x2ca)]}),this['_hovered']&&(_0x28f8fd[_0x29d694(0x244)](),_0x28f8fd[_0x29d694(0x3b5)](0x1,0x0,0x0,0x1,this[_0x29d694(0x3dc)],this[_0x29d694(0x48d)]===_0x29d694(0x21e)?0x0:-0x14),_0x5023ba[_0x29d694(0x29e)](_0x28f8fd,{'text':this['_name'],'color':this[_0x29d694(0x2f0)]}),_0x28f8fd[_0x29d694(0x2f3)]());}}var _0x2af8ce=Object[_0x1cbca8(0x332)],_0xdee7d=(_0x741819,_0xc18790,_0x45cefe,_0x5b0939)=>{const _0x4c1097=_0x1cbca8;for(var _0x3e1b69=_0x5b0939>0x1?void 0x0:_0x5b0939?_0x2af8ce(_0xc18790,_0x45cefe):_0xc18790,_0x59a998=_0x741819[_0x4c1097(0x2d0)]-0x1,_0x37ac90;_0x59a998>=0x0;_0x59a998--)(_0x37ac90=_0x741819[_0x59a998])&&(_0x3e1b69=_0x37ac90(_0x3e1b69)||_0x3e1b69);return _0x3e1b69;},_0x38e434=(_0x5788a7,_0x2696f3)=>(_0xd07c06,_0x10fdd2)=>_0x2696f3(_0xd07c06,_0x10fdd2,_0x5788a7);const _0x559fcd=0x1389;let _0x5a089f=class extends _0x4414bf[_0x1cbca8(0x23f)]{constructor(_0x2825c7,_0x2c8c87,_0x2e8e7f,_0x1c0147){const _0x1fe88c=_0x1cbca8;super(),_0xb70e91(this,_0x1fe88c(0x3b8),new Set()),_0xb70e91(this,_0x1fe88c(0x3d9),null),(this['_context']=_0x2825c7,this['_sheetSkeletonManagerService']=_0x2c8c87,this[_0x1fe88c(0x424)]=_0x2e8e7f,this[_0x1fe88c(0x2ee)]=_0x1c0147,this[_0x1fe88c(0x38c)]());}[_0x1cbca8(0x38c)](){const _0x5e5c0e=_0x1cbca8;this[_0x5e5c0e(0x458)][_0x5e5c0e(0x478)][_0x5e5c0e(0x490)](_0x4309fe[_0x5e5c0e(0x1fa)](this[_0x5e5c0e(0x29f)]),_0x4309fe['switchMap'](_0x4a78a1=>{const _0x252a05=_0x5e5c0e;if(_0x4a78a1){const _0x116529=_0x4a78a1[_0x252a05(0x38e)];return _0x10056d['combineLatest'](this[_0x252a05(0x424)]['getCollabCursors$'](this[_0x252a05(0x2d1)]['unitId']),this[_0x252a05(0x2ee)][_0x252a05(0x3a7)])[_0x252a05(0x490)](_0x4309fe[_0x252a05(0x25b)](([_0x48538c,_0x49d8d1])=>{const _0x2904a4=_0x252a05,_0x5b6268=new Map();return _0x48538c[_0x2904a4(0x37b)]((_0x34bb82,_0x5a130f)=>{const _0xdaa77a=_0x2904a4;if(_0x34bb82['sheetID']===_0x116529){const _0x218c26={..._0x34bb82};_0x218c26[_0xdaa77a(0x25c)]=_0x49d8d1[_0x34bb82[_0xdaa77a(0x25c)]],_0x5b6268['set'](_0x5a130f,_0x218c26);}}),{'skeleton':_0x4a78a1,'cursors':_0x5b6268};}));}return _0x10056d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4759b4,cursors:_0x4ae3bd})=>{const _0x2be536=_0x5e5c0e;this[_0x2be536(0x367)](),_0x4759b4&&this['_updateCollabCursors'](_0x4759b4,_0x4ae3bd);}),this[_0x5e5c0e(0x458)]['currentSkeleton$'][_0x5e5c0e(0x218)](_0x423bba=>{const _0x4b25c0=_0x5e5c0e;if(_0x423bba==null)return;const {skeleton:_0x42ff4d}=_0x423bba,{scene:_0x24fa5f}=this[_0x4b25c0(0x2d1)];_0x24fa5f[_0x4b25c0(0x363)][_0x4b25c0(0x401)](_0x4414bf[_0x4b25c0(0x331)](_0x12c650=>{const _0x1c6224=_0x4b25c0;var _0x3c8b8d,_0x5e2069;const {offsetX:_0x4fb3f8,offsetY:_0x5500b6}=_0x12c650,{x:_0x359648,y:_0x28058a}=_0x24fa5f[_0x1c6224(0x259)](_0x18c4eb[_0x1c6224(0x344)][_0x1c6224(0x372)]([_0x4fb3f8,_0x5500b6])),{scaleX:_0x14d3d5,scaleY:_0x13a04b}=_0x24fa5f['getAncestorScale'](),_0x3a1fb9=_0x24fa5f[_0x1c6224(0x245)](_0x18c4eb[_0x1c6224(0x2e9)][_0x1c6224(0x3cc)]),_0xe159fb=_0x24fa5f[_0x1c6224(0x3e7)](_0x18c4eb['Vector2'][_0x1c6224(0x372)]([_0x359648,_0x28058a]),_0x3a1fb9),_0x5f2e6b=_0x42ff4d[_0x1c6224(0x275)](_0x4fb3f8,_0x5500b6,_0x14d3d5,_0x13a04b,_0xe159fb);((_0x3c8b8d=this['_lastPointer'])==null?void 0x0:_0x3c8b8d['column'])===_0x5f2e6b[_0x1c6224(0x465)]&&((_0x5e2069=this[_0x1c6224(0x3d9)])==null?void 0x0:_0x5e2069[_0x1c6224(0x307)])===_0x5f2e6b[_0x1c6224(0x307)]||this[_0x1c6224(0x3b8)][_0x1c6224(0x37b)](_0x861e8e=>{const _0x3f5e08=_0x1c6224;_0x861e8e[_0x3f5e08(0x294)](_0x5f2e6b);});},0x64));});}[_0x1cbca8(0x2c8)](_0x2f070c,_0xa8f1de){const _0x34cf79=_0x1cbca8;var _0x34e830;const _0x181db9=(_0x34e830=this[_0x34cf79(0x458)][_0x34cf79(0x3cf)]())==null?void 0x0:_0x34e830[_0x34cf79(0x2ba)];if(!_0x181db9)return;const _0x346bfa=this['_getSheetObject']();if(!_0x346bfa)return;this[_0x34cf79(0x3b8)][_0x34cf79(0x37b)](_0x2477e9=>{const _0x5a4be4=_0x34cf79;_0x2477e9[_0x5a4be4(0x23b)]();});const {scene:_0x211fb1}=_0x346bfa,_0x4c0f68=_0x3ea444(Array[_0x34cf79(0x3f7)](_0xa8f1de[_0x34cf79(0x3ba)]()))[_0x34cf79(0x25b)](_0x111def=>{const _0x2eeec4=_0x34cf79,{color:_0x79c048,range:_0x58e0e8,name:_0x4c0ed5,selection:_0x2d5226,sheetID:_0x2913d2}=_0x111def,{startColumn:_0x3bc869,startRow:_0x2cc878,endColumn:_0x1b3e7f,endRow:_0x104051}=_0x58e0e8,_0x282d57=_0x3282ea[_0x2eeec4(0x220)](_0x2cc878,_0x3bc869,_0x211fb1,_0x181db9),_0x58f78d=_0x3282ea[_0x2eeec4(0x220)](_0x104051,_0x1b3e7f,_0x211fb1,_0x181db9),{columnHeaderHeightAndMarginTop:_0x2d5210}=_0x181db9,{startX:_0x5e6e35,startY:_0x1b7eed}=_0x282d57,{endX:_0x5344e8,endY:_0x236b07}=_0x58f78d,_0x3d1e4c=_0x5344e8-_0x5e6e35,_0x8ef700=_0x236b07-_0x1b7eed,_0x3e6931={'labelPosition':_0x1b7eed-_0x2d5210>=_0x46e964?'top':'bottom','sheetID':_0x2913d2,'range':_0x58e0e8,'color':_0x79c048,'name':_0x4c0ed5,'selection':_0x2d5226,'left':_0x5e6e35,'top':_0x1b7eed,'width':_0x3d1e4c,'height':_0x8ef700,'evented':!0x1,'zIndex':_0x559fcd};return new _0x50f513(_0x4c0ed5,_0x3e6931);});_0x211fb1[_0x34cf79(0x20e)](_0x4c0f68,_0x10427c),this[_0x34cf79(0x3b8)]=new Set(_0x4c0f68);}[_0x1cbca8(0x367)](){const _0x40cfeb=_0x1cbca8;var _0x43e506;(_0x43e506=this['_cursors'])==null||_0x43e506[_0x40cfeb(0x37b)](_0x28eeeb=>_0x28eeeb[_0x40cfeb(0x241)]());}[_0x1cbca8(0x471)](){const _0x1bdb2a=_0x1cbca8;return _0x3282ea[_0x1bdb2a(0x3ce)](this['_context'][_0x1bdb2a(0x494)],this['_context']);}};_0x5a089f=_0xdee7d([_0x38e434(0x1,_0x4414bf['Inject'](_0x3282ea[_0x1cbca8(0x377)])),_0x38e434(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x351435)),_0x38e434(0x3,_0x4414bf['Inject'](_0x4414bf[_0x1cbca8(0x2e8)]))],_0x5a089f);function _0x3ea444(_0xc027c5){const _0x429d45=_0x1cbca8,_0x2209d6=new Map();return _0xc027c5['forEach'](_0x2713c8=>{const _0x32749f=_0x6426;if(_0x2209d6['has'](_0x2713c8['selection'])){const _0x2bc28f=_0x2209d6[_0x32749f(0x37e)](_0x2713c8[_0x32749f(0x39c)]);_0x2bc28f[_0x32749f(0x212)]+=',\x20'+_0x2713c8[_0x32749f(0x212)];}else _0x2209d6[_0x32749f(0x3f8)](_0x2713c8[_0x32749f(0x39c)],_0x2713c8);}),Array[_0x429d45(0x3f7)](_0x2209d6[_0x429d45(0x3ba)]());}var _0x5b0db2=function(){const _0x30f3fc=_0x1cbca8;return _0x5b0db2=Object[_0x30f3fc(0x22d)]||function(_0x1f3861){const _0x516fdd=_0x30f3fc;for(var _0x14cdc0,_0x5ba80f=0x1,_0x3ee6b1=arguments[_0x516fdd(0x2d0)];_0x5ba80f<_0x3ee6b1;_0x5ba80f++){_0x14cdc0=arguments[_0x5ba80f];for(var _0x404b4d in _0x14cdc0)Object['prototype']['hasOwnProperty']['call'](_0x14cdc0,_0x404b4d)&&(_0x1f3861[_0x404b4d]=_0x14cdc0[_0x404b4d]);}return _0x1f3861;},_0x5b0db2['apply'](this,arguments);},_0x2d1a7c=function(_0x54b164,_0x55fe99){const _0x408fbf=_0x1cbca8;var _0x5bac0b={};for(var _0x2ff7fe in _0x54b164)Object[_0x408fbf(0x467)][_0x408fbf(0x3d2)][_0x408fbf(0x44b)](_0x54b164,_0x2ff7fe)&&_0x55fe99[_0x408fbf(0x310)](_0x2ff7fe)<0x0&&(_0x5bac0b[_0x2ff7fe]=_0x54b164[_0x2ff7fe]);if(_0x54b164!=null&&typeof Object[_0x408fbf(0x40b)]==_0x408fbf(0x217)){for(var _0x1ccf09=0x0,_0x2ff7fe=Object[_0x408fbf(0x40b)](_0x54b164);_0x1ccf09<_0x2ff7fe[_0x408fbf(0x2d0)];_0x1ccf09++)_0x55fe99[_0x408fbf(0x310)](_0x2ff7fe[_0x1ccf09])<0x0&&Object[_0x408fbf(0x467)][_0x408fbf(0x44a)][_0x408fbf(0x44b)](_0x54b164,_0x2ff7fe[_0x1ccf09])&&(_0x5bac0b[_0x2ff7fe[_0x1ccf09]]=_0x54b164[_0x2ff7fe[_0x1ccf09]]);}return _0x5bac0b;},_0xa8f19f=_0x426191[_0x1cbca8(0x3ad)](function(_0x427efd,_0x5ca6ca){const _0x40d828=_0x1cbca8;var _0x469302=_0x427efd['icon'],_0x6240ff=_0x427efd['id'],_0x538069=_0x427efd[_0x40d828(0x351)],_0x1759ab=_0x427efd['extend'],_0x55c19e=_0x2d1a7c(_0x427efd,[_0x40d828(0x36c),'id',_0x40d828(0x351),_0x40d828(0x285)]),_0x33a375=_0x40d828(0x23e)[_0x40d828(0x27e)](_0x6240ff,'\x20')[_0x40d828(0x27e)](_0x538069||'')['trim'](),_0x57564e=_0x426191[_0x40d828(0x2eb)]('_'[_0x40d828(0x27e)](_0x3a93fa()));return _0x5a99c5(_0x469302,''[_0x40d828(0x27e)](_0x6240ff),{'defIds':_0x469302[_0x40d828(0x3d4)],'idSuffix':_0x57564e[_0x40d828(0x32b)]},_0x5b0db2({'ref':_0x5ca6ca,'className':_0x33a375},_0x55c19e),_0x1759ab);});function _0x5a99c5(_0x2c8d81,_0x6277b2,_0x5e9837,_0x27642f,_0x4b5232){const _0x393dd7=_0x1cbca8;return _0x426191['createElement'](_0x2c8d81[_0x393dd7(0x408)],_0x5b0db2(_0x5b0db2({'key':_0x6277b2},_0x3b65a3(_0x2c8d81,_0x5e9837,_0x4b5232)),_0x27642f),(_0x15bf05(_0x2c8d81,_0x5e9837)[_0x393dd7(0x302)]||[])[_0x393dd7(0x25b)](function(_0x5e8fcf,_0x28cc24){const _0x5c0b11=_0x393dd7;return _0x5a99c5(_0x5e8fcf,''[_0x5c0b11(0x27e)](_0x6277b2,'-')[_0x5c0b11(0x27e)](_0x2c8d81[_0x5c0b11(0x408)],'-')[_0x5c0b11(0x27e)](_0x28cc24),_0x5e9837,void 0x0,_0x4b5232);}));}function _0x3b65a3(_0x31cb76,_0x2fa75b,_0x313e94){const _0x30a6e8=_0x1cbca8;var _0x4c307b=_0x5b0db2({},_0x31cb76['attrs']);_0x313e94!=null&&_0x313e94[_0x30a6e8(0x24f)]&&_0x4c307b[_0x30a6e8(0x30f)]===_0x30a6e8(0x24f)&&(_0x4c307b[_0x30a6e8(0x30f)]=_0x313e94[_0x30a6e8(0x24f)]),_0x31cb76[_0x30a6e8(0x408)]===_0x30a6e8(0x341)&&_0x4c307b['id']&&(_0x4c307b['id']=_0x4c307b['id']+_0x2fa75b[_0x30a6e8(0x27c)]),Object['entries'](_0x4c307b)['forEach'](function(_0x59e25a){const _0x2d299f=_0x30a6e8;var _0x33dd78=_0x59e25a[0x0],_0x2b3d8f=_0x59e25a[0x1];_0x33dd78===_0x2d299f(0x341)&&typeof _0x2b3d8f==_0x2d299f(0x208)&&(_0x4c307b[_0x33dd78]=_0x2b3d8f[_0x2d299f(0x46d)](/url\(#(.*)\)/,'url(#$1'[_0x2d299f(0x27e)](_0x2fa75b[_0x2d299f(0x27c)],')')));});var _0x1c9130=_0x2fa75b['defIds'];return!_0x1c9130||_0x1c9130[_0x30a6e8(0x2d0)]===0x0||(_0x31cb76[_0x30a6e8(0x408)]==='use'&&_0x4c307b[_0x30a6e8(0x281)]&&(_0x4c307b['xlink:href']=_0x4c307b[_0x30a6e8(0x281)]+_0x2fa75b[_0x30a6e8(0x27c)]),Object[_0x30a6e8(0x326)](_0x4c307b)[_0x30a6e8(0x37b)](function(_0x5c1a13){const _0x12e304=_0x30a6e8;var _0x203dc6=_0x5c1a13[0x0],_0x27c1d3=_0x5c1a13[0x1];typeof _0x27c1d3==_0x12e304(0x208)&&(_0x4c307b[_0x203dc6]=_0x27c1d3[_0x12e304(0x46d)](/url\(#(.*)\)/,'url(#$1'[_0x12e304(0x27e)](_0x2fa75b[_0x12e304(0x27c)],')')));})),_0x4c307b;}function _0x15bf05(_0x58b75e,_0x1ff2bd){const _0x3862d0=_0x1cbca8;var _0x18ce78,_0x5596c4=_0x1ff2bd[_0x3862d0(0x3d4)];return!_0x5596c4||_0x5596c4[_0x3862d0(0x2d0)]===0x0?_0x58b75e:_0x58b75e[_0x3862d0(0x408)]===_0x3862d0(0x35f)&&(!((_0x18ce78=_0x58b75e[_0x3862d0(0x302)])===null||_0x18ce78===void 0x0)&&_0x18ce78[_0x3862d0(0x2d0)])?_0x5b0db2(_0x5b0db2({},_0x58b75e),{'children':_0x58b75e[_0x3862d0(0x302)]['map'](function(_0x11f716){const _0x55400d=_0x3862d0;return typeof _0x11f716[_0x55400d(0x24d)]['id']==_0x55400d(0x208)&&_0x5596c4&&_0x5596c4[_0x55400d(0x310)](_0x11f716[_0x55400d(0x24d)]['id'])>-0x1?_0x5b0db2(_0x5b0db2({},_0x11f716),{'attrs':_0x5b0db2(_0x5b0db2({},_0x11f716[_0x55400d(0x24d)]),{'id':_0x11f716[_0x55400d(0x24d)]['id']+_0x1ff2bd[_0x55400d(0x27c)]})}):_0x11f716;})}):_0x58b75e;}function _0x3a93fa(){const _0x61a400=_0x1cbca8;return Math[_0x61a400(0x43f)]()[_0x61a400(0x272)](0x24)[_0x61a400(0x337)](0x2,0x8);}_0xa8f19f[_0x1cbca8(0x432)]='UniverIcon';var _0x673d42={'tag':_0x1cbca8(0x2ef),'attrs':{'fill':'none','viewBox':_0x1cbca8(0x34a),'width':_0x1cbca8(0x35e),'height':_0x1cbca8(0x35e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cbca8(0x44c)},'children':[{'tag':_0x1cbca8(0x2f7),'attrs':{'stroke':'currentColor','d':_0x1cbca8(0x39e),'strokeLinecap':_0x1cbca8(0x2fa),'strokeLinejoin':_0x1cbca8(0x2fa),'strokeWidth':1.2}}]},{'tag':_0x1cbca8(0x35f),'attrs':{},'children':[{'tag':_0x1cbca8(0x487),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1cbca8(0x2f7),'attrs':{'fill':_0x1cbca8(0x476),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1cbca8(0x41e)]},_0x23bc46=_0x426191[_0x1cbca8(0x3ad)](function(_0x5a2c1f,_0x2ce288){const _0x2c546a=_0x1cbca8;return _0x426191[_0x2c546a(0x405)](_0xa8f19f,Object[_0x2c546a(0x22d)]({},_0x5a2c1f,{'id':_0x2c546a(0x413),'ref':_0x2ce288,'icon':_0x673d42}));});_0x23bc46['displayName']='OffLineSingle';var _0x430655={'tag':'svg','attrs':{'fill':_0x1cbca8(0x419),'viewBox':'0\x200\x2017\x2016','width':_0x1cbca8(0x35e),'height':_0x1cbca8(0x35e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cbca8(0x325)},'children':[{'tag':_0x1cbca8(0x2f7),'attrs':{'stroke':_0x1cbca8(0x29c),'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':_0x1cbca8(0x2fa),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1cbca8(0x35f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1cbca8(0x3d0)},'children':[{'tag':_0x1cbca8(0x2f7),'attrs':{'fill':_0x1cbca8(0x476),'d':_0x1cbca8(0x24c),'transform':_0x1cbca8(0x2bf)}}]}]}],'defIds':[_0x1cbca8(0x3d0)]},_0x4a4bbb=_0x426191[_0x1cbca8(0x3ad)](function(_0x2b5fa7,_0x25bd6d){const _0x38ddf0=_0x1cbca8;return _0x426191[_0x38ddf0(0x405)](_0xa8f19f,Object[_0x38ddf0(0x22d)]({},_0x2b5fa7,{'id':_0x38ddf0(0x28f),'ref':_0x25bd6d,'icon':_0x430655}));});_0x4a4bbb[_0x1cbca8(0x432)]=_0x1cbca8(0x360);const _0x433b74={'onlineStatusIcon':_0x1cbca8(0x381),'onlineStatusTitle':_0x1cbca8(0x36b),'onlineStatus':_0x1cbca8(0x3d3),'online':_0x1cbca8(0x3a3),'offline':_0x1cbca8(0x3ac)};function _0xa97292(_0x2fc09c){const _0x4b7f64=_0x1cbca8;switch(_0x2fc09c){case _0x407fab['CollaborationStatus'][_0x4b7f64(0x429)]:return _0x4b7f64(0x3a9);case _0x407fab[_0x4b7f64(0x2f4)][_0x4b7f64(0x442)]:return'collabStatus.conflict';case _0x407fab[_0x4b7f64(0x2f4)][_0x4b7f64(0x40c)]:return _0x4b7f64(0x378);case _0x407fab[_0x4b7f64(0x2f4)][_0x4b7f64(0x319)]:return _0x4b7f64(0x2a6);case _0x407fab[_0x4b7f64(0x2f4)][_0x4b7f64(0x3be)]:case _0x407fab['CollaborationStatus'][_0x4b7f64(0x28b)]:return _0x4b7f64(0x38b);case _0x407fab[_0x4b7f64(0x2f4)][_0x4b7f64(0x3a4)]:case _0x407fab[_0x4b7f64(0x2f4)][_0x4b7f64(0x255)]:return _0x4b7f64(0x2f8);}}function _0x9951f6(_0x5c9167){const _0x50b08a=_0x1cbca8,{status$:_0x34a329}=_0x5c9167,_0x25cb5b=_0x15d3b0[_0x50b08a(0x30c)](_0x34a329,_0x407fab[_0x50b08a(0x2f4)][_0x50b08a(0x319)]),_0x32a2e9=_0x15d3b0[_0x50b08a(0x46e)](_0x4414bf[_0x50b08a(0x20f)]),_0x248eb4=_0x15d3b0['useDependency'](_0x407fab[_0x50b08a(0x30e)]),_0x14d76f=_0x25cb5b!==_0x407fab[_0x50b08a(0x2f4)][_0x50b08a(0x429)],_0x148bfd=_0x32a2e9['t'](_0xa97292(_0x25cb5b)),_0x414aeb=_0x119d7f[_0x50b08a(0x30a)](_0x433b74[_0x50b08a(0x283)],{[_0x433b74[_0x50b08a(0x2d6)]]:_0x14d76f,[_0x433b74[_0x50b08a(0x2dd)]]:!_0x14d76f}),_0x360108=_0x14d76f?_0x1a5c2f[_0x50b08a(0x1f6)](_0x4a4bbb,{}):_0x1a5c2f['jsx'](_0x23bc46,{}),_0x326641=_0x426191[_0x50b08a(0x276)](()=>{const _0x665ddc=_0x50b08a;_0x14d76f||_0x248eb4[_0x665ddc(0x200)]();},[_0x14d76f,_0x248eb4]);function _0x9a4251(){const _0x1246ab=_0x50b08a;return _0x1a5c2f[_0x1246ab(0x282)]('div',{'className':_0x119d7f[_0x1246ab(0x30a)](_0x414aeb,_0x1246ab(0x370)),'onClick':_0x326641,'children':[_0x1a5c2f['jsx'](_0x1246ab(0x31e),{'className':_0x433b74[_0x1246ab(0x3ff)],'children':_0x360108}),_0x1a5c2f[_0x1246ab(0x1f6)](_0x1246ab(0x31e),{'className':_0x433b74[_0x1246ab(0x3b4)],'children':_0x148bfd})]});}return _0x14d76f?_0x9a4251():_0x1a5c2f[_0x50b08a(0x1f6)](_0x119d7f[_0x50b08a(0x355)],{'title':_0x32a2e9['t'](_0x50b08a(0x271)),'children':_0x9a4251()});}var _0x319f05=Object[_0x1cbca8(0x332)],_0x4a6f18=(_0x41f863,_0x51d2db,_0x24486f,_0x3bb24d)=>{const _0x5d3fba=_0x1cbca8;for(var _0xf4ea26=_0x3bb24d>0x1?void 0x0:_0x3bb24d?_0x319f05(_0x51d2db,_0x24486f):_0x51d2db,_0x11676e=_0x41f863[_0x5d3fba(0x2d0)]-0x1,_0x5ae4aa;_0x11676e>=0x0;_0x11676e--)(_0x5ae4aa=_0x41f863[_0x11676e])&&(_0xf4ea26=_0x5ae4aa(_0xf4ea26)||_0xf4ea26);return _0xf4ea26;},_0x38f938=(_0x356d8f,_0x48617d)=>(_0x2d1807,_0x4f6b76)=>_0x48617d(_0x2d1807,_0x4f6b76,_0x356d8f);_0x1eddaa[_0x1cbca8(0x352)]=class extends _0x4414bf[_0x1cbca8(0x364)]{constructor(_0x3a314e,_0x435953,_0x39f8a5,_0x4cdfbc){const _0xdb3400=_0x1cbca8;super(),_0xb70e91(this,_0xdb3400(0x390),new _0x10056d[(_0xdb3400(0x37a))](_0x407fab['CollaborationStatus'][_0xdb3400(0x319)])),(this[_0xdb3400(0x384)]=_0x3a314e,this[_0xdb3400(0x422)]=_0x435953,this['_collaborationController']=_0x39f8a5,this['_uiPartsService']=_0x4cdfbc,this[_0xdb3400(0x2c6)](),this[_0xdb3400(0x328)]());}['_initStatusListener'](){const _0x1a1c68=_0x1cbca8;this[_0x1a1c68(0x2d8)](this[_0x1a1c68(0x384)]['focused$'][_0x1a1c68(0x490)](_0x10056d[_0x1a1c68(0x3b6)](()=>{const _0x159bb7=_0x1a1c68,_0x4062e9=this[_0x159bb7(0x384)][_0x159bb7(0x28a)]();return _0x4062e9?this[_0x159bb7(0x29b)][_0x159bb7(0x3c8)](_0x4062e9[_0x159bb7(0x43a)]()):_0x10056d['of'](null);}),_0x10056d[_0x1a1c68(0x3b6)](_0x4861a1=>_0x4861a1?_0x4861a1[_0x1a1c68(0x383)]:_0x10056d['of'](_0x407fab[_0x1a1c68(0x2f4)][_0x1a1c68(0x319)])))[_0x1a1c68(0x218)](_0x104384=>{const _0x5bbb0d=_0x1a1c68;this[_0x5bbb0d(0x390)][_0x5bbb0d(0x1f2)](_0x104384);}));}[_0x1cbca8(0x2c6)](){const _0x18798e=_0x1cbca8;this['disposeWithMe'](this[_0x18798e(0x460)]['registerComponent'](_0x15d3b0[_0x18798e(0x2c1)]['HEADER_MENU'],()=>_0x15d3b0[_0x18798e(0x26e)](_0x26aaed({'status$':this['_status$'][_0x18798e(0x290)]()}),this['_injector'])));}},_0x1eddaa[_0x1cbca8(0x352)]=_0x4a6f18([_0x38f938(0x0,_0x4414bf[_0x1cbca8(0x2cd)]),_0x38f938(0x1,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x3c6)])),_0x38f938(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x407fab['CollaborationController'])),_0x38f938(0x3,_0x15d3b0[_0x1cbca8(0x315)])],_0x1eddaa[_0x1cbca8(0x352)]);function _0x26aaed(_0x100983){const {status$:_0x288e98}=_0x100983;return function(){return _0x1a5c2f['jsx'](_0x9951f6,{'status$':_0x288e98});};}var _0x1e42d6=Object[_0x1cbca8(0x332)],_0x15b411=(_0x595523,_0xafdeea,_0x54afc3,_0x8a7c3c)=>{const _0x4ad1f6=_0x1cbca8;for(var _0x1260b0=_0x8a7c3c>0x1?void 0x0:_0x8a7c3c?_0x1e42d6(_0xafdeea,_0x54afc3):_0xafdeea,_0x45ba9b=_0x595523[_0x4ad1f6(0x2d0)]-0x1,_0x40d3c2;_0x45ba9b>=0x0;_0x45ba9b--)(_0x40d3c2=_0x595523[_0x45ba9b])&&(_0x1260b0=_0x40d3c2(_0x1260b0)||_0x1260b0);return _0x1260b0;},_0x514c71=(_0x429ebf,_0x11a875)=>(_0x393369,_0x307627)=>_0x11a875(_0x393369,_0x307627,_0x429ebf);let _0x1213e9=class extends _0x4414bf['Disposable']{constructor(_0x28228d,_0x3bc695,_0x4fb9cc,_0x5a7f83,_0xd6d5eb,_0x16a7d2){const _0xeb57a4=_0x1cbca8;super(),this['_beforeCloseService']=_0x28228d,this[_0xeb57a4(0x250)]=_0x3bc695,this['_collaborationUIEventService']=_0x4fb9cc,this[_0xeb57a4(0x455)]=_0x5a7f83,this[_0xeb57a4(0x215)]=_0xd6d5eb,this[_0xeb57a4(0x3ca)]=_0x16a7d2,this[_0xeb57a4(0x2fb)](),this[_0xeb57a4(0x387)]();}['_setupBeforeClosingHandler'](){const _0x1d7135=_0x1cbca8;this[_0x1d7135(0x2d8)](this['_beforeCloseService'][_0x1d7135(0x35a)](()=>{const _0x24e6d3=_0x1d7135;if(this[_0x24e6d3(0x250)]['saveTaskMap']['size'])return this[_0x24e6d3(0x3ca)]['t'](_0x24e6d3(0x2e1));}));}[_0x1cbca8(0x387)](){const _0x2be14b=_0x1cbca8;this[_0x2be14b(0x2d8)](this[_0x2be14b(0x37d)]['event$'][_0x2be14b(0x218)](_0x26723d=>{const _0x1112a4=_0x2be14b;_0x26723d['id']===_0x407fab['CollaborationUIEventId'][_0x1112a4(0x428)]&&this[_0x1112a4(0x455)]['show']({'type':_0x119d7f[_0x1112a4(0x322)]['Warning'],'content':this[_0x1112a4(0x3ca)]['t']('collaboration.single-unit.warning')}),_0x26723d['id']===_0x407fab[_0x1112a4(0x456)][_0x1112a4(0x249)]&&this[_0x1112a4(0x455)]['show']({'type':_0x119d7f[_0x1112a4(0x322)][_0x1112a4(0x36a)],'content':this[_0x1112a4(0x3ca)]['t']('collaboration.closeRoom')}),_0x26723d['id']===_0x407fab[_0x1112a4(0x456)][_0x1112a4(0x482)]&&this[_0x1112a4(0x215)][_0x1112a4(0x3ea)]({'title':this[_0x1112a4(0x3ca)]['t'](_0x1112a4(0x2c3)),'content':this[_0x1112a4(0x3ca)]['t'](_0x1112a4(0x335)),'type':'error','duration':0x0}),_0x26723d['id']===_0x407fab[_0x1112a4(0x456)][_0x1112a4(0x442)]&&this[_0x1112a4(0x455)][_0x1112a4(0x3ea)]({'type':_0x119d7f[_0x1112a4(0x322)][_0x1112a4(0x1f4)],'content':this[_0x1112a4(0x3ca)]['t']('collaboration.closeRoom')+'('+_0x26723d['data']+')'}),_0x26723d['id']===_0x407fab['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x1112a4(0x455)][_0x1112a4(0x3ea)]({'type':_0x119d7f['MessageType'][_0x1112a4(0x36a)],'content':this[_0x1112a4(0x3ca)]['t'](_0x26723d['data']||'')}),_0x26723d['id']===_0x407fab[_0x1112a4(0x456)][_0x1112a4(0x43b)]&&this['_messageService'][_0x1112a4(0x3ea)]({'type':_0x119d7f[_0x1112a4(0x322)][_0x1112a4(0x36a)],'content':this[_0x1112a4(0x3ca)]['t'](_0x1112a4(0x406))}),_0x26723d['id']===_0x407fab[_0x1112a4(0x456)][_0x1112a4(0x397)]&&this[_0x1112a4(0x455)][_0x1112a4(0x3ea)]({'type':_0x119d7f[_0x1112a4(0x322)][_0x1112a4(0x1f4)],'content':this['_localeService']['t'](_0x1112a4(0x468))}),_0x26723d['id']===_0x407fab[_0x1112a4(0x456)][_0x1112a4(0x479)]&&this[_0x1112a4(0x455)]['show']({'type':_0x119d7f[_0x1112a4(0x322)][_0x1112a4(0x1f4)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1213e9=_0x15b411([_0x514c71(0x0,_0x15d3b0[_0x1cbca8(0x235)]),_0x514c71(0x1,_0x407fab[_0x1cbca8(0x2c2)]),_0x514c71(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x407fab[_0x1cbca8(0x2e4)])),_0x514c71(0x3,_0x15d3b0['IMessageService']),_0x514c71(0x4,_0x15d3b0[_0x1cbca8(0x3dd)]),_0x514c71(0x5,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x20f)]))],_0x1213e9);const _0x7a0d39='collaboration-client-ui.config',_0x2b9159={},_0x2d4223=_0x4414bf[_0x1cbca8(0x3c2)](_0x1cbca8(0x356));var _0x397e2e=Object[_0x1cbca8(0x332)],_0x1c438f=(_0x141e89,_0x4470be,_0x20bf42,_0x4c0445)=>{for(var _0x18f732=_0x4c0445>0x1?void 0x0:_0x4c0445?_0x397e2e(_0x4470be,_0x20bf42):_0x4470be,_0x282fc9=_0x141e89['length']-0x1,_0x3e5bf4;_0x282fc9>=0x0;_0x282fc9--)(_0x3e5bf4=_0x141e89[_0x282fc9])&&(_0x18f732=_0x3e5bf4(_0x18f732)||_0x18f732);return _0x18f732;},_0x208108=(_0x52da98,_0x202336)=>(_0x518b6a,_0x590ba2)=>_0x202336(_0x518b6a,_0x590ba2,_0x52da98);_0x1eddaa[_0x1cbca8(0x2da)]=class extends _0x4414bf[_0x1cbca8(0x23f)]{constructor(_0x2b7b74,_0xf434a2,_0xd74dbb,_0x18fb50,_0x34073c){const _0x1e6ef1=_0x1cbca8;super(),this['_urlService']=_0x2b7b74,this['_logService']=_0xf434a2,this[_0x1e6ef1(0x42c)]=_0xd74dbb,this['_dataLoaderService']=_0x18fb50,_0x34073c?_0x34073c==null||_0x34073c[_0x1e6ef1(0x28e)]()[_0x1e6ef1(0x2ae)](()=>this[_0x1e6ef1(0x38c)]()):(this[_0x1e6ef1(0x382)][_0x1e6ef1(0x2f1)](_0x1e6ef1(0x459),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x1cbca8(0x38c)](){const _0x2fb7b8=_0x1cbca8,_0x1d8dce=this[_0x2fb7b8(0x262)][_0x2fb7b8(0x346)]('unit'),_0x38ec8e=this[_0x2fb7b8(0x262)][_0x2fb7b8(0x346)](_0x2fb7b8(0x1ff)),_0xe29939=this[_0x2fb7b8(0x262)][_0x2fb7b8(0x346)](_0x2fb7b8(0x37f));if(!_0x1d8dce||!_0x38ec8e){this[_0x2fb7b8(0x382)][_0x2fb7b8(0x2f1)](_0x2fb7b8(0x459),_0x2fb7b8(0x286));return;}const _0x2ca6e5=await this[_0x2fb7b8(0x361)]['loadUnit'](_0x1d8dce,Number(_0x38ec8e),_0xe29939);_0x2ca6e5&&_0x2ca6e5 instanceof _0x4414bf[_0x2fb7b8(0x365)]&&this[_0x2fb7b8(0x42b)](_0x2ca6e5);}async[_0x1cbca8(0x42b)](_0x276c79){const _0xc06084=_0x1cbca8;await this[_0xc06084(0x398)](_0x276c79),_0x276c79[_0xc06084(0x43e)][_0xc06084(0x490)](_0x10056d[_0xc06084(0x1fa)](this['dispose$']))[_0xc06084(0x218)](_0x11a44c=>{const _0x27a6fa=_0xc06084;_0x11a44c&&this[_0x27a6fa(0x34f)](_0x11a44c);}),this['_urlService'][_0xc06084(0x409)]['pipe'](_0x10056d[_0xc06084(0x1fa)](this[_0xc06084(0x29f)]))['subscribe'](()=>this[_0xc06084(0x398)](_0x276c79));}[_0x1cbca8(0x34f)](_0x60eeae,_0x58ebee=!0x1){const _0x5edc36=_0x1cbca8,_0x509f51=this[_0x5edc36(0x262)][_0x5edc36(0x346)](_0x5edc36(0x37f));_0x60eeae['getSheetId']()!==_0x509f51&&this[_0x5edc36(0x262)][_0x5edc36(0x308)](_0x5edc36(0x37f),_0x60eeae[_0x5edc36(0x2c4)](),_0x58ebee);}async[_0x1cbca8(0x398)](_0xa8941c){const _0x1ab98a=_0x1cbca8;var _0x2ec557;const _0x3fc3fa=this[_0x1ab98a(0x262)][_0x1ab98a(0x346)](_0x1ab98a(0x37f));if(!_0x3fc3fa||!_0xa8941c['getSheetBySheetId'](_0x3fc3fa)){const _0x59bc1d=_0xa8941c[_0x1ab98a(0x2e3)]()[0x0],_0x516107=_0xa8941c[_0x1ab98a(0x2a7)](_0x59bc1d);if(!_0x516107)return;this['_updateURLWithCurrentState'](_0x516107,!0x0),await this[_0x1ab98a(0x42c)][_0x1ab98a(0x373)](_0x544fac[_0x1ab98a(0x1f1)]['id'],{'unitId':_0xa8941c['getUnitId'](),'subUnitId':_0x59bc1d});return;}((_0x2ec557=_0xa8941c['getActiveSheet']())==null?void 0x0:_0x2ec557['getSheetId']())!==_0x3fc3fa&&await this[_0x1ab98a(0x42c)][_0x1ab98a(0x373)](_0x544fac[_0x1ab98a(0x1f1)]['id'],{'unitId':_0xa8941c['getUnitId'](),'subUnitId':_0x3fc3fa});}},_0x1eddaa[_0x1cbca8(0x2da)]=_0x1c438f([_0x208108(0x0,_0x2d4223),_0x208108(0x1,_0x4414bf[_0x1cbca8(0x21f)]),_0x208108(0x2,_0x4414bf[_0x1cbca8(0x216)]),_0x208108(0x3,_0x4414bf['Inject'](_0x407fab['DataLoaderService'])),_0x208108(0x4,_0x4414bf[_0x1cbca8(0x38f)](_0x31c507[_0x1cbca8(0x463)]))],_0x1eddaa[_0x1cbca8(0x2da)]);var _0x2a0ad=Object[_0x1cbca8(0x332)],_0x92df4e=(_0x37b3ab,_0x4d494f,_0x358901,_0x59f8e9)=>{const _0x18bf0f=_0x1cbca8;for(var _0x31790f=_0x59f8e9>0x1?void 0x0:_0x59f8e9?_0x2a0ad(_0x4d494f,_0x358901):_0x4d494f,_0x14c38b=_0x37b3ab[_0x18bf0f(0x2d0)]-0x1,_0x1ebc7c;_0x14c38b>=0x0;_0x14c38b--)(_0x1ebc7c=_0x37b3ab[_0x14c38b])&&(_0x31790f=_0x1ebc7c(_0x31790f)||_0x31790f);return _0x31790f;},_0x1520b9=(_0x5cf1a0,_0xf1ddea)=>(_0xbe070,_0x8669bd)=>_0xf1ddea(_0xbe070,_0x8669bd,_0x5cf1a0);let _0x8ba288=class{constructor(_0x18a528,_0x156861,_0x2c61bf){const _0x1f63ed=_0x1cbca8;this[_0x1f63ed(0x422)]=_0x18a528,this['_transformService']=_0x156861,this[_0x1f63ed(0x3db)]=_0x2c61bf;}[_0x1cbca8(0x205)](_0x4790de){const _0x1f134a=_0x1cbca8;this[_0x1f134a(0x3b1)](_0x4790de),this['_transformPreviousActiveRange'](_0x4790de);}['transformRemoteChangeset'](_0x4010a5){const _0x38ad2f=_0x1cbca8,{unitID:_0x4b71f7}=_0x4010a5,_0xd5ae1=this['_renderManagerService'][_0x38ad2f(0x371)](_0x4b71f7)[_0x38ad2f(0x36e)](_0x99f200[_0x38ad2f(0x25e)]),{redoCache:_0x59a35e}=_0xd5ae1[_0x38ad2f(0x28c)]();if(_0x59a35e[_0x38ad2f(0x2d0)]===0x0)return _0x4010a5;let _0x5aff8c=_0x4414bf[_0x38ad2f(0x2e5)]['deepClone'](_0x4010a5[_0x38ad2f(0x2e7)][0x0]);for(let _0x4a090b=0x0;_0x4a090b<_0x59a35e[_0x38ad2f(0x2d0)];_0x4a090b++){const _0x26c1cc={'id':_0x38ad2f(0x1fd),'params':{..._0x59a35e[_0x4a090b]}},_0x53fb06=this[_0x38ad2f(0x26f)]['transformMutation'](_0x5aff8c,_0x26c1cc,!0x1);if(_0x5bdcf8[_0x38ad2f(0x301)](_0x53fb06))throw _0x53fb06[_0x38ad2f(0x357)];_0x5aff8c=_0x53fb06[_0x38ad2f(0x21a)];}return{..._0x4414bf[_0x38ad2f(0x2e5)][_0x38ad2f(0x450)](_0x4010a5),'mutations':[_0x5aff8c]};}['_transformUndoRedoStack'](_0x10e301){const _0x4851ac=_0x1cbca8,{unitID:_0x2ad06c}=_0x10e301,_0x4b5a8f=this[_0x4851ac(0x3db)][_0x4851ac(0x371)](_0x2ad06c)['with'](_0x99f200[_0x4851ac(0x25e)]),{undoCache:_0x22ef37,redoCache:_0x453fcb}=_0x4b5a8f[_0x4851ac(0x28c)]();if(_0x22ef37[_0x4851ac(0x2d0)]===0x0||_0x453fcb[_0x4851ac(0x2d0)]===0x0)return;const _0x4299ff=[],_0x4b37b6=[];let _0x2ec833=_0x4414bf[_0x4851ac(0x2e5)][_0x4851ac(0x450)](_0x10e301[_0x4851ac(0x2e7)][0x0]),_0x5ca462=_0x4414bf[_0x4851ac(0x2e5)][_0x4851ac(0x450)](_0x10e301[_0x4851ac(0x2e7)][0x0]);for(let _0x556cbc=_0x22ef37[_0x4851ac(0x2d0)]-0x1;_0x556cbc>=0x0;_0x556cbc--){const _0xa1aeac={'id':_0x4851ac(0x1fd),'params':{..._0x22ef37[_0x556cbc]}},_0x4f4651={'id':_0x4851ac(0x1fd),'params':{..._0x453fcb[_0x556cbc]}},_0x3c43b9=this[_0x4851ac(0x26f)]['transformMutation'](_0x2ec833,_0xa1aeac,!0x1),_0x207ca3=this[_0x4851ac(0x26f)][_0x4851ac(0x26c)](_0x5ca462,_0x4f4651,!0x1);if(_0x5bdcf8['isTransformMutationFailure'](_0x3c43b9))throw _0x3c43b9['error'];if(_0x5bdcf8[_0x4851ac(0x301)](_0x207ca3))throw _0x207ca3[_0x4851ac(0x357)];_0x4299ff[_0x4851ac(0x31c)](_0x3c43b9[_0x4851ac(0x45b)][_0x4851ac(0x20c)]),_0x4b37b6[_0x4851ac(0x31c)](_0x207ca3[_0x4851ac(0x45b)][_0x4851ac(0x20c)]),_0x2ec833=_0x3c43b9[_0x4851ac(0x21a)],_0x5ca462=_0x207ca3[_0x4851ac(0x21a)];}_0x4b5a8f[_0x4851ac(0x2e6)]({'undoCache':_0x4299ff,'redoCache':_0x4b37b6});}[_0x1cbca8(0x40a)](_0x424c7d){const _0x109561=_0x1cbca8,{unitID:_0x16a7cf}=_0x424c7d,_0x265979=this[_0x109561(0x3db)][_0x109561(0x371)](_0x16a7cf)[_0x109561(0x36e)](_0x99f200[_0x109561(0x25e)]),_0x2cc346=_0x265979[_0x109561(0x2b3)]();if(_0x2cc346==null)return;const _0x5a96ce=[{'id':_0x109561(0x1fd),'params':{'unitId':_0x424c7d[_0x109561(0x437)],'actions':null,'textRanges':[_0x2cc346]}}],_0x48d50c=this['_transformService'][_0x109561(0x368)](_0x424c7d,_0x5a96ce);if(!_0x5bdcf8[_0x109561(0x3e5)](_0x48d50c))throw _0x48d50c[_0x109561(0x357)];const _0x595a64=_0x48d50c[_0x109561(0x45b)][0x0][_0x109561(0x20c)][_0x109561(0x3b2)];Array[_0x109561(0x2c0)](_0x595a64)&&_0x595a64[_0x109561(0x2d0)]&&_0x265979['setActiveRange'](_0x595a64[0x0]);}};_0x8ba288=_0x92df4e([_0x1520b9(0x0,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x3c6)])),_0x1520b9(0x1,_0x5bdcf8['ITransformService']),_0x1520b9(0x2,_0x18c4eb['IRenderManagerService'])],_0x8ba288);var _0x3d72b1=Object[_0x1cbca8(0x332)],_0x242f70=(_0xd1284b,_0x200ba5,_0x1c9e1a,_0x419544)=>{const _0xdc6060=_0x1cbca8;for(var _0x167d92=_0x419544>0x1?void 0x0:_0x419544?_0x3d72b1(_0x200ba5,_0x1c9e1a):_0x200ba5,_0x5f2776=_0xd1284b[_0xdc6060(0x2d0)]-0x1,_0x5e66a3;_0x5f2776>=0x0;_0x5f2776--)(_0x5e66a3=_0xd1284b[_0x5f2776])&&(_0x167d92=_0x5e66a3(_0x167d92)||_0x167d92);return _0x167d92;},_0x341f3f=(_0x611f97,_0x3e5996)=>(_0xe3baa,_0x2b54c1)=>_0x3e5996(_0xe3baa,_0x2b54c1,_0x611f97);let _0x57a90c=class{constructor(_0x2634dd,_0x5f5357,_0x48e919){const _0x1e4d12=_0x1cbca8;this[_0x1e4d12(0x422)]=_0x2634dd,this[_0x1e4d12(0x26f)]=_0x5f5357,this[_0x1e4d12(0x379)]=_0x48e919;}[_0x1cbca8(0x280)](_0x8628c1){const _0x265e66=_0x1cbca8;this[_0x265e66(0x2aa)](_0x8628c1);}[_0x1cbca8(0x48b)](_0x1a478a){const _0xfbb017=_0x1cbca8,{unitID:_0x359c41}=_0x1a478a,{collaboration:_0x13d6c3}=this['_docStateChangeManagerService'][_0xfbb017(0x338)](_0x359c41);if(_0x13d6c3[_0xfbb017(0x2d0)]===0x0)return _0x1a478a;let _0x4ecb1b=_0x4414bf[_0xfbb017(0x2e5)][_0xfbb017(0x450)](_0x1a478a[_0xfbb017(0x2e7)][0x0]);for(let _0x4f5c11=0x0;_0x4f5c11<_0x13d6c3[_0xfbb017(0x2d0)];_0x4f5c11++){const _0x3c88f1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x13d6c3[_0x4f5c11][_0xfbb017(0x423)],..._0x13d6c3[_0x4f5c11][_0xfbb017(0x2b9)]}},_0x427bdf=this[_0xfbb017(0x26f)][_0xfbb017(0x26c)](_0x4ecb1b,_0x3c88f1,!0x1);if(_0x5bdcf8['isTransformMutationFailure'](_0x427bdf))throw _0x427bdf['error'];_0x4ecb1b=_0x427bdf[_0xfbb017(0x21a)];}return{..._0x4414bf['Tools'][_0xfbb017(0x450)](_0x1a478a),'mutations':[_0x4ecb1b]};}[_0x1cbca8(0x2aa)](_0x20ff05){const _0x5bd5cf=_0x1cbca8,{unitID:_0x10e6b5}=_0x20ff05,{history:_0x1f370d,collaboration:_0xb731b6}=this['_docStateChangeManagerService'][_0x5bd5cf(0x338)](_0x10e6b5);if(_0x1f370d[_0x5bd5cf(0x2d0)]===0x0&&_0xb731b6[_0x5bd5cf(0x2d0)]===0x0)return;const _0x4eede5=[],_0x108e54=[];let _0x11fc59=_0x4414bf['Tools'][_0x5bd5cf(0x450)](_0x20ff05[_0x5bd5cf(0x2e7)][0x0]),_0x32c908=_0x4414bf['Tools']['deepClone'](_0x20ff05[_0x5bd5cf(0x2e7)][0x0]);for(let _0x109ba8=_0x1f370d['length']-0x1;_0x109ba8>=0x0;_0x109ba8--){const _0x4cb50c={'id':_0x5bd5cf(0x1fd),'params':{'unitId':_0x1f370d[_0x109ba8][_0x5bd5cf(0x423)],..._0x1f370d[_0x109ba8]['undoState']}},_0x3dd5b2={'id':_0x5bd5cf(0x1fd),'params':{'unitId':_0x1f370d[_0x109ba8][_0x5bd5cf(0x423)],..._0x1f370d[_0x109ba8]['redoState']}},_0x53a8fb=this['_transformService'][_0x5bd5cf(0x26c)](_0x11fc59,_0x4cb50c,!0x1),_0x2ac6a3=this['_transformService'][_0x5bd5cf(0x26c)](_0x32c908,_0x3dd5b2,!0x1);if(_0x5bdcf8[_0x5bd5cf(0x301)](_0x53a8fb))throw _0x53a8fb[_0x5bd5cf(0x357)];if(_0x5bdcf8[_0x5bd5cf(0x301)](_0x2ac6a3))throw _0x2ac6a3[_0x5bd5cf(0x357)];_0x4eede5[_0x5bd5cf(0x31c)]({..._0x1f370d[_0x109ba8],'undoState':_0x53a8fb[_0x5bd5cf(0x45b)][_0x5bd5cf(0x20c)],'redoState':_0x2ac6a3[_0x5bd5cf(0x45b)][_0x5bd5cf(0x20c)]}),_0x11fc59=_0x53a8fb[_0x5bd5cf(0x21a)],_0x32c908=_0x2ac6a3[_0x5bd5cf(0x21a)];}_0x11fc59=_0x4414bf[_0x5bd5cf(0x2e5)][_0x5bd5cf(0x450)](_0x20ff05[_0x5bd5cf(0x2e7)][0x0]),_0x32c908=_0x4414bf[_0x5bd5cf(0x2e5)][_0x5bd5cf(0x450)](_0x20ff05[_0x5bd5cf(0x2e7)][0x0]);for(let _0x563d9d=_0xb731b6[_0x5bd5cf(0x2d0)]-0x1;_0x563d9d>=0x0;_0x563d9d--){const _0x10baea={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb731b6[_0x563d9d][_0x5bd5cf(0x423)],..._0xb731b6[_0x563d9d][_0x5bd5cf(0x453)]}},_0x7d6ff7={'id':_0x5bd5cf(0x1fd),'params':{'unitId':_0xb731b6[_0x563d9d]['unitId'],..._0xb731b6[_0x563d9d]['redoState']}},_0x5454e1=this[_0x5bd5cf(0x26f)][_0x5bd5cf(0x26c)](_0x11fc59,_0x10baea,!0x1),_0x246930=this[_0x5bd5cf(0x26f)][_0x5bd5cf(0x26c)](_0x32c908,_0x7d6ff7,!0x1);if(_0x5bdcf8['isTransformMutationFailure'](_0x5454e1))throw _0x5454e1['error'];if(_0x5bdcf8[_0x5bd5cf(0x301)](_0x246930))throw _0x246930[_0x5bd5cf(0x357)];_0x108e54['unshift']({..._0xb731b6[_0x563d9d],'undoState':_0x5454e1[_0x5bd5cf(0x45b)]['params'],'redoState':_0x246930[_0x5bd5cf(0x45b)][_0x5bd5cf(0x20c)]}),_0x11fc59=_0x5454e1[_0x5bd5cf(0x21a)],_0x32c908=_0x246930[_0x5bd5cf(0x21a)];}this[_0x5bd5cf(0x379)][_0x5bd5cf(0x36d)](_0x10e6b5,{'history':_0x4eede5,'collaboration':_0x108e54});}};_0x57a90c=_0x242f70([_0x341f3f(0x0,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x3c6)])),_0x341f3f(0x1,_0x5bdcf8[_0x1cbca8(0x43c)]),_0x341f3f(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x99f200[_0x1cbca8(0x260)]))],_0x57a90c);var _0x587dbc=Object['getOwnPropertyDescriptor'],_0x3fd5d2=(_0x2773cc,_0x52f3ce,_0x450f6d,_0x23a9ce)=>{const _0x1afb97=_0x1cbca8;for(var _0x160b08=_0x23a9ce>0x1?void 0x0:_0x23a9ce?_0x587dbc(_0x52f3ce,_0x450f6d):_0x52f3ce,_0x13ad03=_0x2773cc[_0x1afb97(0x2d0)]-0x1,_0x1ecb72;_0x13ad03>=0x0;_0x13ad03--)(_0x1ecb72=_0x2773cc[_0x13ad03])&&(_0x160b08=_0x1ecb72(_0x160b08)||_0x160b08);return _0x160b08;},_0x1947ba=(_0x64e556,_0x2baa38)=>(_0x19057d,_0x36ca5e)=>_0x2baa38(_0x19057d,_0x36ca5e,_0x64e556);let _0x6b25fc=class{constructor(_0x201234,_0xb40cdc){this['_injector']=_0x201234,this['_transformService']=_0xb40cdc;}[_0x1cbca8(0x284)](_0x2d78e7){const _0x457f8b=_0x1cbca8;var _0x53c3c1;const _0x472ade=this['_injector']['get'](_0x524921['DocSelectionManagerService']),_0x47819f=(_0x53c3c1=_0x472ade[_0x457f8b(0x224)]())!=null?_0x53c3c1:[];if(_0x47819f['length']===0x0)return;const _0x272084=_0x2d78e7['unitID'],_0x340be1=[{'id':_0x457f8b(0x1fd),'params':{'unitId':_0x272084,'actions':null,'textRanges':_0x47819f}}],_0x4ed2d1=this[_0x457f8b(0x26f)][_0x457f8b(0x368)](_0x2d78e7,_0x340be1);if(!_0x5bdcf8[_0x457f8b(0x3e5)](_0x4ed2d1))throw _0x4ed2d1[_0x457f8b(0x357)];const _0x24edba=_0x4ed2d1[_0x457f8b(0x45b)][0x0][_0x457f8b(0x20c)][_0x457f8b(0x3b2)];Array[_0x457f8b(0x2c0)](_0x24edba)&&_0x24edba['length']&&_0x472ade[_0x457f8b(0x33b)](_0x24edba,{'unitId':_0x272084,'subUnitId':_0x272084},!0x1);}};_0x6b25fc=_0x3fd5d2([_0x1947ba(0x0,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x3c6)])),_0x1947ba(0x1,_0x5bdcf8['ITransformService'])],_0x6b25fc);var _0x23af99=Object[_0x1cbca8(0x332)],_0x1e63b4=(_0x2fd724,_0x12b170,_0x536ba6,_0x5acb7d)=>{const _0x5d98ac=_0x1cbca8;for(var _0x5388f4=_0x5acb7d>0x1?void 0x0:_0x5acb7d?_0x23af99(_0x12b170,_0x536ba6):_0x12b170,_0x25ae4e=_0x2fd724[_0x5d98ac(0x2d0)]-0x1,_0xcbbd3b;_0x25ae4e>=0x0;_0x25ae4e--)(_0xcbbd3b=_0x2fd724[_0x25ae4e])&&(_0x5388f4=_0xcbbd3b(_0x5388f4)||_0x5388f4);return _0x5388f4;},_0x2a0750=(_0x195928,_0x3df354)=>(_0x3759a9,_0x39f6f7)=>_0x3df354(_0x3759a9,_0x39f6f7,_0x195928);let _0x3dce99=class extends _0x4414bf[_0x1cbca8(0x364)]{constructor(_0x4bcf72,_0x2b9e9a,_0x3c7c4d,_0x5b5291,_0x3e4b53,_0x3e68ea,_0x54abd7,_0x3c9445){const _0xcc1dc0=_0x1cbca8;super(),_0xb70e91(this,_0xcc1dc0(0x390),new _0x10056d[(_0xcc1dc0(0x37a))](_0x407fab[_0xcc1dc0(0x2f4)]['NOT_COLLAB'])),(this[_0xcc1dc0(0x379)]=_0x4bcf72,this[_0xcc1dc0(0x29b)]=_0x2b9e9a,this[_0xcc1dc0(0x491)]=_0x3c7c4d,this[_0xcc1dc0(0x376)]=_0x5b5291,this[_0xcc1dc0(0x350)]=_0x3e4b53,this[_0xcc1dc0(0x201)]=_0x3e68ea,this[_0xcc1dc0(0x455)]=_0x54abd7,this['_localeService']=_0x3c9445,this['_initEntityListener']());}[_0x1cbca8(0x21b)](){const _0xe209b4=_0x1cbca8;this[_0xe209b4(0x2d8)](this[_0xe209b4(0x29b)][_0xe209b4(0x488)]['subscribe'](_0x1f5d2e=>{const _0x308ab3=_0xe209b4,_0x2c13ae=this[_0x308ab3(0x379)][_0x308ab3(0x323)][_0x308ab3(0x218)](_0x142e6d=>{const _0x1fa4f6=_0x308ab3;if(_0x142e6d==null)return;const {unitId:_0x1b5908,redoState:_0x473f3f,commandId:_0x350b2d}=_0x142e6d;if(_0x1b5908!==_0x1f5d2e[_0x1fa4f6(0x437)])return;const _0x2a2eb6={'id':_0x350b2d,'type':_0x4414bf[_0x1fa4f6(0x32c)][_0x1fa4f6(0x22a)],'params':{'unitId':_0x1b5908,'actions':_0x473f3f[_0x1fa4f6(0x1ee)],'textRanges':null}};_0x1f5d2e['onLocalMutation'](_0x2a2eb6);});if(_0x1f5d2e[_0x308ab3(0x2d8)](_0x2c13ae),_0x1f5d2e instanceof _0x407fab['DocCollaborationEntity']){const _0x3193b7={'onTransformIME':_0x234e89=>this[_0x308ab3(0x491)][_0x308ab3(0x205)](_0x234e89),'onTransformState':_0x37796f=>this['_docTransformStateCacheService'][_0x308ab3(0x280)](_0x37796f),'onTransformSelections':_0x37acfa=>this['_docTransformSelectionsService']['transformSelections'](_0x37acfa),'onSyncEditingCollabCursor':_0x4ef72d=>this[_0x308ab3(0x201)][_0x308ab3(0x31d)](_0x4ef72d),'onTransformRemoteChangesetByIMECache':_0x13f938=>this[_0x308ab3(0x491)][_0x308ab3(0x48b)](_0x13f938),'onTransformRemoteChangesetByStateCache':_0x226260=>this[_0x308ab3(0x376)][_0x308ab3(0x48b)](_0x226260)};_0x1f5d2e[_0x308ab3(0x3b9)](_0x3193b7);}}));}};_0x3dce99=_0x1e63b4([_0x2a0750(0x0,_0x4414bf['Inject'](_0x99f200[_0x1cbca8(0x260)])),_0x2a0750(0x1,_0x4414bf[_0x1cbca8(0x427)](_0x407fab['CollaborationController'])),_0x2a0750(0x2,_0x4414bf['Inject'](_0x8ba288)),_0x2a0750(0x3,_0x4414bf[_0x1cbca8(0x427)](_0x57a90c)),_0x2a0750(0x4,_0x4414bf[_0x1cbca8(0x427)](_0x6b25fc)),_0x2a0750(0x5,_0x4414bf[_0x1cbca8(0x427)](_0x336600)),_0x2a0750(0x6,_0x15d3b0['IMessageService']),_0x2a0750(0x7,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x20f)]))],_0x3dce99);var _0x4a7c93=Object[_0x1cbca8(0x332)],_0x34d62d=(_0x21ba80,_0x1387f0,_0x1bee74,_0x20da24)=>{const _0x3d7bd7=_0x1cbca8;for(var _0x2c0fb5=_0x20da24>0x1?void 0x0:_0x20da24?_0x4a7c93(_0x1387f0,_0x1bee74):_0x1387f0,_0x21eff2=_0x21ba80[_0x3d7bd7(0x2d0)]-0x1,_0x5116b2;_0x21eff2>=0x0;_0x21eff2--)(_0x5116b2=_0x21ba80[_0x21eff2])&&(_0x2c0fb5=_0x5116b2(_0x2c0fb5)||_0x2c0fb5);return _0x2c0fb5;},_0x9555be=(_0x2e8a76,_0x3ee34f)=>(_0x5e1d5b,_0x45b8f8)=>_0x3ee34f(_0x5e1d5b,_0x45b8f8,_0x2e8a76);let _0x3c190b=class extends _0x4414bf[_0x1cbca8(0x364)]{constructor(_0x339cf1,_0x3231f4,_0x9f832a){const _0x1a1a66=_0x1cbca8;super(),_0xb70e91(this,_0x1a1a66(0x46c),new Map()),_0xb70e91(this,'_saveTaskMap',new Map()),_0xb70e91(this,_0x1a1a66(0x22c),!0x1),(this[_0x1a1a66(0x2a1)]=_0x339cf1,this['_localStorageService']=_0x3231f4,this[_0x1a1a66(0x3b0)]=_0x9f832a);}[_0x1cbca8(0x33d)](){const _0x2413ac=_0x1cbca8;this[_0x2413ac(0x22c)]=!0x0;}[_0x1cbca8(0x202)](){const _0x193537=_0x1cbca8;this[_0x193537(0x22c)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1cbca8(0x241)](){const _0x2aceaf=_0x1cbca8;this[_0x2aceaf(0x345)]()[_0x2aceaf(0x2ae)](()=>super[_0x2aceaf(0x241)]());}async['loadOfflineData'](_0x6ea1c5){const _0x5ea477=_0x1cbca8;return this[_0x5ea477(0x22c)]?null:this['_localStorageService'][_0x5ea477(0x470)](_0x407fab[_0x5ea477(0x2b2)](_0x6ea1c5));}async['saveOfflineData'](_0x5a6457,_0x576e8c){const _0x377464=_0x1cbca8;return!!this[_0x377464(0x484)][_0x377464(0x3df)](_0x5a6457,_0x576e8c);}[_0x1cbca8(0x2df)](_0x4fa37a,_0x3a45d1,_0x15eb1f,_0x1d720d){const _0x5a8cb6=_0x1cbca8,_0x3464d2=this['_revisionService']['getCurrentRevOfUnit'](_0x4fa37a);this[_0x5a8cb6(0x46c)]['set'](_0x4fa37a,{'unitID':_0x4fa37a,'type':_0x3a45d1,'awaitingChangeset':_0x15eb1f,'mutations':_0x1d720d,'rev':_0x3464d2}),this[_0x5a8cb6(0x418)][_0x5a8cb6(0x3e4)](_0x4fa37a)||this[_0x5a8cb6(0x435)](_0x4fa37a);}[_0x1cbca8(0x435)](_0xd2bb74){const _0x391fde=_0x1cbca8,_0x460ced=this['_getSaveTimeout']();_0x460ced===0x0?this['_saveCache'](_0xd2bb74):this[_0x391fde(0x418)][_0x391fde(0x3f8)](_0xd2bb74,setTimeout(()=>this[_0x391fde(0x42d)](_0xd2bb74),_0x460ced));}[_0x1cbca8(0x41f)](){const _0x3818bc=_0x1cbca8;var _0x5bdcdd;return(_0x5bdcdd=this[_0x3818bc(0x2a1)]['getConfig'](_0x407fab['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x5bdcdd:_0x407fab[_0x3818bc(0x3de)];}['_saveCache'](_0x3452e8){const _0x5b106b=_0x1cbca8,_0x2496fe=this[_0x5b106b(0x418)]['get'](_0x3452e8);return _0x2496fe!==void 0x0&&window['clearTimeout'](_0x2496fe),this[_0x5b106b(0x484)]['setItem'](_0x407fab[_0x5b106b(0x2b2)](_0x3452e8),this[_0x5b106b(0x46c)]['get'](_0x3452e8))[_0x5b106b(0x2ae)](()=>this[_0x5b106b(0x418)]['delete'](_0x3452e8));}async[_0x1cbca8(0x345)](){const _0x422d8e=_0x1cbca8,_0x23456f=[];this[_0x422d8e(0x418)]['forEach']((_0x3ebda2,_0x3a000c)=>{const _0x47ce6a=_0x422d8e;window[_0x47ce6a(0x266)](_0x3ebda2),_0x23456f[_0x47ce6a(0x23a)](this[_0x47ce6a(0x42d)](_0x3a000c)['then'](()=>{const _0x43d543=_0x47ce6a;this[_0x43d543(0x418)][_0x43d543(0x33c)](_0x3a000c);}));}),await Promise['all'](_0x23456f);}};_0x3c190b=_0x34d62d([_0x9555be(0x0,_0x4414bf[_0x1cbca8(0x3cb)]),_0x9555be(0x1,_0x4414bf[_0x1cbca8(0x295)]),_0x9555be(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x5bdcf8[_0x1cbca8(0x2ea)]))],_0x3c190b);class _0x22086d extends _0x4414bf[_0x1cbca8(0x23f)]{constructor(){const _0x172af5=_0x1cbca8;super(),_0xb70e91(this,_0x172af5(0x409)),this[_0x172af5(0x409)]=_0x10056d[_0x172af5(0x440)](window,_0x172af5(0x207))['pipe'](_0x10056d[_0x172af5(0x1fa)](this[_0x172af5(0x29f)]),_0x10056d[_0x172af5(0x1ef)](0x1),_0x10056d['mapTo'](void 0x0));}[_0x1cbca8(0x308)](_0x3da73e,_0x197452,_0xc5de0d=!0x1){const _0x43ca0e=_0x1cbca8,_0x226a1f=new URL(window[_0x43ca0e(0x239)][_0x43ca0e(0x2ad)]);_0x226a1f['searchParams']['set'](_0x3da73e,_0x197452),_0xc5de0d?window[_0x43ca0e(0x254)]['replaceState']('','',_0x226a1f['toString']()):window['history'][_0x43ca0e(0x3c9)]('','',_0x226a1f[_0x43ca0e(0x272)]());}[_0x1cbca8(0x251)](_0x83f7c9,_0x5329f0=!0x1){const _0x180b9c=_0x1cbca8,_0x5b3da4=new URL(window[_0x180b9c(0x239)][_0x180b9c(0x2ad)]);_0x5b3da4[_0x180b9c(0x210)][_0x180b9c(0x33c)](_0x83f7c9),_0x5329f0?window['history'][_0x180b9c(0x3eb)]('','',_0x5b3da4[_0x180b9c(0x272)]()):window[_0x180b9c(0x254)][_0x180b9c(0x3c9)]('','',_0x5b3da4[_0x180b9c(0x272)]());}[_0x1cbca8(0x346)](_0x352e72){const _0x37d518=_0x1cbca8;var _0x198315;return(_0x198315=new URL(window[_0x37d518(0x239)][_0x37d518(0x2ad)])[_0x37d518(0x210)][_0x37d518(0x37e)](_0x352e72))!=null?_0x198315:void 0x0;}}var _0x461f75=Object[_0x1cbca8(0x366)],_0x38e4fc=Object[_0x1cbca8(0x332)],_0x12c821=(_0x36a3a6,_0x41f84f,_0x3180db)=>_0x41f84f in _0x36a3a6?_0x461f75(_0x36a3a6,_0x41f84f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3180db}):_0x36a3a6[_0x41f84f]=_0x3180db,_0x30f291=(_0x2cf7fb,_0x514002,_0x10c02f,_0x1feaf0)=>{const _0x15f8cf=_0x1cbca8;for(var _0x26a960=_0x1feaf0>0x1?void 0x0:_0x1feaf0?_0x38e4fc(_0x514002,_0x10c02f):_0x514002,_0x52a033=_0x2cf7fb[_0x15f8cf(0x2d0)]-0x1,_0x2cae9f;_0x52a033>=0x0;_0x52a033--)(_0x2cae9f=_0x2cf7fb[_0x52a033])&&(_0x26a960=_0x2cae9f(_0x26a960)||_0x26a960);return _0x26a960;},_0x2b6aa8=(_0x10d992,_0x1542c8)=>(_0xeb9c80,_0x3c92ed)=>_0x1542c8(_0xeb9c80,_0x3c92ed,_0x10d992),_0xd762f0=(_0x21a859,_0x48a530,_0x2c480d)=>_0x12c821(_0x21a859,_0x48a530+'',_0x2c480d);const _0x57a23a=_0x1cbca8(0x400);_0x1eddaa[_0x1cbca8(0x236)]=class extends _0x4414bf[_0x1cbca8(0x219)]{constructor(_0x3986a3=_0x2b9159,_0x5a934b,_0x3cefe3,_0x1e3e6d){const _0x209d6f=_0x1cbca8;super(),this[_0x209d6f(0x330)]=_0x3986a3,this['_renderManagerService']=_0x5a934b,this[_0x209d6f(0x422)]=_0x3cefe3,this[_0x209d6f(0x2a1)]=_0x1e3e6d;const {..._0x2fd119}=_0x4414bf['merge']({},_0x2b9159,this[_0x209d6f(0x330)]);this[_0x209d6f(0x2a1)][_0x209d6f(0x40d)](_0x7a0d39,_0x2fd119);}['onStarting'](){const _0xf1dfba=_0x1cbca8;this['_registerDependencies'](),this[_0xf1dfba(0x214)]();}[_0x1cbca8(0x3f2)](){const _0x25c056=_0x1cbca8;this[_0x25c056(0x489)]();}[_0x1cbca8(0x420)](){const _0x44a559=_0x1cbca8;var _0x1eb73e;const _0x51ffb5=[[_0x20ea31],[_0x6b25fc],[_0x8ba288],[_0x57a90c],[_0x336600],[_0x2d4223,{'useClass':_0x22086d}],[_0x2f2363['ISocketService'],{'useClass':_0x2f2363[_0x44a559(0x362)]}],[_0x407fab['ILocalCacheService'],{'useClass':_0x3c190b}],[_0x1eddaa[_0x44a559(0x352)]],[_0x3dce99],[_0x1213e9],[_0x351435],[_0x5ba47c],[_0x1eddaa[_0x44a559(0x2da)]]];_0x4414bf[_0x44a559(0x36f)](this[_0x44a559(0x422)],_0x4414bf[_0x44a559(0x313)](_0x51ffb5,(_0x1eb73e=this[_0x44a559(0x330)])==null?void 0x0:_0x1eb73e[_0x44a559(0x462)]));}[_0x1cbca8(0x489)](){const _0x5c1f93=_0x1cbca8;this[_0x5c1f93(0x2d8)](this[_0x5c1f93(0x3db)][_0x5c1f93(0x3f9)](_0x4414bf[_0x5c1f93(0x2b8)][_0x5c1f93(0x393)],[_0x73ea6])),this['disposeWithMe'](this[_0x5c1f93(0x3db)][_0x5c1f93(0x3f9)](_0x4414bf['UniverInstanceType'][_0x5c1f93(0x3bf)],[_0x5a089f]));}['_initDependencies'](){const _0x4f6a20=_0x1cbca8;_0x4414bf[_0x4f6a20(0x242)](this[_0x4f6a20(0x422)],[[_0x351435],[_0x1eddaa[_0x4f6a20(0x352)]],[_0x3dce99],[_0x1213e9],[_0x1eddaa[_0x4f6a20(0x2da)]]]);}},_0xd762f0(_0x1eddaa[_0x1cbca8(0x236)],_0x1cbca8(0x33a),_0x57a23a),_0x1eddaa['UniverCollaborationClientUIPlugin']=_0x30f291([_0x4414bf[_0x1cbca8(0x26b)](_0x407fab['UniverCollaborationClientPlugin']),_0x2b6aa8(0x1,_0x18c4eb[_0x1cbca8(0x44e)]),_0x2b6aa8(0x2,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf['Injector'])),_0x2b6aa8(0x3,_0x4414bf['IConfigService'])],_0x1eddaa[_0x1cbca8(0x236)]);var _0x1dcbe7=Object[_0x1cbca8(0x332)],_0x5728e9=(_0xd0b852,_0x454f11,_0x494012,_0x20bd51)=>{const _0x54a383=_0x1cbca8;for(var _0x282ce7=_0x20bd51>0x1?void 0x0:_0x20bd51?_0x1dcbe7(_0x454f11,_0x494012):_0x454f11,_0x2b5f10=_0xd0b852[_0x54a383(0x2d0)]-0x1,_0x78011d;_0x2b5f10>=0x0;_0x2b5f10--)(_0x78011d=_0xd0b852[_0x2b5f10])&&(_0x282ce7=_0x78011d(_0x282ce7)||_0x282ce7);return _0x282ce7;},_0x5ba559=(_0x4928f6,_0x3be041)=>(_0x52f7f0,_0x2a7cd2)=>_0x3be041(_0x52f7f0,_0x2a7cd2,_0x4928f6);_0x1eddaa[_0x1cbca8(0x358)]=class extends _0x407fab[_0x1cbca8(0x2fe)]{constructor(_0x5d39f0,_0x98e283,_0x1e7290,_0x5b0b61,_0x5035f7){super(_0x5d39f0,_0x98e283,_0x1e7290,_0x5b0b61,_0x5035f7);}async[_0x1cbca8(0x21c)](_0x3ecdab){const _0x4dfdf2=_0x1cbca8,_0xfb4700=await this[_0x4dfdf2(0x306)](),_0x18cbba=this[_0x4dfdf2(0x421)](_0x3ecdab,_0xfb4700);return this[_0x4dfdf2(0x354)](_0x18cbba);}[_0x1cbca8(0x421)](_0x21eed7,_0x1fc81d){const _0xca129e=_0x1cbca8,_0x2bfb34=typeof window>'u'?new URL(_0x21eed7):new URL(_0x21eed7,window['location'][_0xca129e(0x2b4)]);_0x2bfb34['searchParams'][_0xca129e(0x3f8)](_0xca129e(0x46f),_0x1fc81d);const _0x3136b7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xca129e(0x239)][_0xca129e(0x228)]);return _0x3136b7[_0xca129e(0x37e)](_0xca129e(0x3ab))&&_0x2bfb34['searchParams'][_0xca129e(0x3f8)]('runId',_0x3136b7['get'](_0xca129e(0x3ab))),_0x2bfb34['toString']();}async[_0x1cbca8(0x306)](){const _0x29a348=_0x1cbca8;var _0x34deb6,_0x262096,_0x5ad010;const _0xaa1d89=this[_0x29a348(0x2a1)][_0x29a348(0x44d)](_0x407fab[_0x29a348(0x42f)]),_0x2d465f=(_0x34deb6=_0xaa1d89==null?void 0x0:_0xaa1d89[_0x29a348(0x29a)])!=null?_0x34deb6:_0x407fab[_0x29a348(0x270)];return(_0x5ad010=(_0x262096=(await this[_0x29a348(0x3f1)][_0x29a348(0x37e)](_0x2d465f,{'headers':{'Content-Type':_0x29a348(0x33f)}}))[_0x29a348(0x3f0)])==null?void 0x0:_0x262096[_0x29a348(0x240)])!=null?_0x5ad010:'';}},_0x1eddaa[_0x1cbca8(0x358)]=_0x5728e9([_0x5ba559(0x0,_0x4414bf[_0x1cbca8(0x427)](_0x4414bf[_0x1cbca8(0x3c6)])),_0x5ba559(0x1,_0x4414bf[_0x1cbca8(0x427)](_0x2f2363[_0x1cbca8(0x461)])),_0x5ba559(0x2,_0x4414bf['IConfigService']),_0x5ba559(0x3,_0x4414bf['ILogService']),_0x5ba559(0x4,_0x5bdcf8[_0x1cbca8(0x1f0)])],_0x1eddaa[_0x1cbca8(0x358)]);const _0x32ff6a=0x7530,_0x28a93d='ACTIVE_UNIT_EVENT_CHANNEL';class _0x2d0ad7 extends _0x4414bf[_0x1cbca8(0x364)]{constructor(){const _0x46be7b=_0x1cbca8;super(),_0xb70e91(this,_0x46be7b(0x375),_0x4414bf[_0x46be7b(0x42e)]()),_0xb70e91(this,'_selfUnitIDs',new Set()),_0xb70e91(this,_0x46be7b(0x243),new Map()),_0xb70e91(this,'_heartbeatTimer',null),_0xb70e91(this,_0x46be7b(0x339),new Map()),_0xb70e91(this,'_unitStatus',new Map()),this[_0x46be7b(0x38c)]();}[_0x1cbca8(0x241)](){const _0x2764bd=_0x1cbca8;super[_0x2764bd(0x241)](),this[_0x2764bd(0x339)][_0x2764bd(0x37b)]((_0x23f526,_0x1d11db)=>this['_removeClearOtherTimer'](_0x1d11db)),this[_0x2764bd(0x48a)]&&window[_0x2764bd(0x493)](this[_0x2764bd(0x48a)]);}[_0x1cbca8(0x416)](_0x99e55d){const _0x397daf=_0x1cbca8;return this[_0x397daf(0x232)](_0x99e55d)[_0x397daf(0x490)](_0x10056d['distinctUntilChanged']());}[_0x1cbca8(0x353)](_0x1bca04){const _0xe81110=_0x1cbca8;this[_0xe81110(0x233)]['size']===0x0&&this[_0xe81110(0x221)](),this[_0xe81110(0x233)][_0xe81110(0x2d5)](_0x1bca04),this['_send']({'type':0x0,'memberID':this[_0xe81110(0x375)],'unitIDs':[_0x1bca04],'isForwarded':!0x1});}[_0x1cbca8(0x3a2)](_0x9d4df8){const _0x255025=_0x1cbca8;this['_selfUnitIDs']['delete'](_0x9d4df8),this['_selfUnitIDs'][_0x255025(0x2ec)]===0x0&&this[_0x255025(0x48a)]&&window['clearInterval'](this[_0x255025(0x48a)]);}[_0x1cbca8(0x38c)](){const _0x1aa5c4=_0x1cbca8;this[_0x1aa5c4(0x2d8)](_0x4414bf['toDisposable'](_0x10056d[_0x1aa5c4(0x440)](window,_0x1aa5c4(0x48f))[_0x1aa5c4(0x218)](_0x2c13cc=>{const _0x3574ee=_0x1aa5c4;if(_0x2c13cc['key']!==_0x28a93d||!_0x2c13cc[_0x3574ee(0x26d)])return;const _0x1adeff=JSON[_0x3574ee(0x340)](_0x2c13cc[_0x3574ee(0x26d)]);this['_handleEvent'](_0x1adeff);}))),window[_0x1aa5c4(0x226)](_0x1aa5c4(0x415),()=>this[_0x1aa5c4(0x32d)]({'type':0x1,'memberID':this[_0x1aa5c4(0x375)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x1cbca8(0x374)](_0x509ed8){const _0x1a0d1b=_0x1cbca8;switch(_0x509ed8[_0x1a0d1b(0x1ff)]){case 0x0:this[_0x1a0d1b(0x2dc)](_0x509ed8);break;case 0x1:this[_0x1a0d1b(0x404)](_0x509ed8);break;case 0x2:this[_0x1a0d1b(0x45c)](_0x509ed8);break;}}[_0x1cbca8(0x2dc)](_0x13103b){const _0x3991cb=_0x1cbca8,{unitIDs:_0x441e50,memberID:_0x555031,isForwarded:_0x20d91e}=_0x13103b;_0x441e50[_0x3991cb(0x37b)](_0x701859=>{const _0x78a367=_0x3991cb;if(!_0x20d91e&&this[_0x78a367(0x243)][_0x78a367(0x3e4)](_0x701859)&&this[_0x78a367(0x232)](_0x701859)[_0x78a367(0x1f2)](_0x407fab[_0x78a367(0x454)][_0x78a367(0x2fc)]),!this[_0x78a367(0x243)][_0x78a367(0x3e4)](_0x701859)||!this['_unitOnClients'][_0x78a367(0x37e)](_0x701859)[_0x78a367(0x3e4)](_0x555031)){const _0x5b9786=this['_unitOnClients'][_0x78a367(0x37e)](_0x701859)||new Set();_0x5b9786['add'](_0x555031),this[_0x78a367(0x243)]['set'](_0x701859,_0x5b9786),this[_0x78a367(0x20d)](_0x555031);}}),_0x20d91e||this['_send']({'type':0x0,'memberID':this[_0x3991cb(0x375)],'unitIDs':[...this[_0x3991cb(0x233)]],'isForwarded':!0x0});}[_0x1cbca8(0x20d)](_0x360e1d){const _0x54b33c=_0x1cbca8;this[_0x54b33c(0x21d)](_0x360e1d);const _0x269c90=window['setTimeout'](()=>{const _0x13132e=_0x54b33c;this[_0x13132e(0x243)][_0x13132e(0x37b)](_0x472427=>{_0x472427['delete'](_0x360e1d);});},_0x32ff6a*0x2);this['_clearOtherTimers']['set'](_0x360e1d,_0x269c90);}['_removeClearOtherTimer'](_0x567527){const _0x5288dd=_0x1cbca8;if(this['_clearOtherTimers'][_0x5288dd(0x3e4)](_0x567527)){const _0x43bac9=this['_clearOtherTimers'][_0x5288dd(0x37e)](_0x567527);_0x43bac9&&window[_0x5288dd(0x266)](_0x43bac9),this['_clearOtherTimers'][_0x5288dd(0x3f8)](_0x567527,null);}}[_0x1cbca8(0x404)](_0x2ccd93){const _0x5ceb32=_0x1cbca8,{memberID:_0x9a8aec,unitIDs:_0x4867e8}=_0x2ccd93;_0x4867e8['forEach'](_0x2f5c6a=>{const _0x6614b=_0x6426;var _0x19db45;const _0x3e2ed7=this[_0x6614b(0x243)][_0x6614b(0x37e)](_0x2f5c6a);_0x3e2ed7&&(_0x3e2ed7[_0x6614b(0x33c)](_0x9a8aec),(_0x19db45=this['_ensureSubject'](_0x2f5c6a))==null||_0x19db45['next'](_0x3e2ed7['size']===0x0?_0x407fab[_0x6614b(0x454)]['NO_OTHER_CLIENTS_EDITING']:_0x407fab[_0x6614b(0x454)][_0x6614b(0x2fc)]));}),this[_0x5ceb32(0x21d)](_0x9a8aec);}['_handleHeartbeatEvent'](_0x2fb4ed){const _0x5a8bbc=_0x1cbca8;this[_0x5a8bbc(0x20d)](_0x2fb4ed[_0x5a8bbc(0x2b0)]);}[_0x1cbca8(0x32d)](_0x24895c){const _0x340036=_0x1cbca8;localStorage[_0x340036(0x3df)](_0x28a93d,JSON['stringify'](_0x24895c));}[_0x1cbca8(0x221)](){const _0x4aaabf=_0x1cbca8;this[_0x4aaabf(0x48a)]=window['setInterval'](()=>{const _0x49da7b=_0x4aaabf;this[_0x49da7b(0x32d)]({'type':0x2,'memberID':this[_0x49da7b(0x375)]});},_0x32ff6a);}['_ensureSubject'](_0x77d3cf){const _0x304557=_0x1cbca8;return this[_0x304557(0x386)][_0x304557(0x3e4)](_0x77d3cf)||this['_unitStatus'][_0x304557(0x3f8)](_0x77d3cf,new _0x10056d[(_0x304557(0x37a))](_0x407fab[_0x304557(0x454)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x304557(0x37e)](_0x77d3cf);}}var _0xf51c4a=(_0x54db06=>(_0x54db06[_0x54db06['UNDEFINED']=0x0]='UNDEFINED',_0x54db06[_0x54db06['OK']=0x1]='OK',_0x54db06[_0x54db06[_0x1cbca8(0x426)]=0x2]=_0x1cbca8(0x426),_0x54db06[_0x54db06[_0x1cbca8(0x482)]=0x3]=_0x1cbca8(0x482),_0x54db06[_0x54db06['NOT_FOUND']=0x4]=_0x1cbca8(0x3f3),_0x54db06[_0x54db06['UNAUTHENTICATED']=0x5]=_0x1cbca8(0x2cf),_0x54db06[_0x54db06[_0x1cbca8(0x3bb)]=0x6]=_0x1cbca8(0x3bb),_0x54db06[_0x54db06[_0x1cbca8(0x3a8)]=0x7]=_0x1cbca8(0x3a8),_0x54db06[_0x54db06[_0x1cbca8(0x40f)]=0x8]=_0x1cbca8(0x40f),_0x54db06[_0x54db06['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x54db06[_0x54db06[_0x1cbca8(0x2c5)]=0xa]='LOGIN_FAILED',_0x54db06[_0x54db06[_0x1cbca8(0x257)]=0x1389]=_0x1cbca8(0x257),_0x54db06[_0x54db06[_0x1cbca8(0x1fc)]=0x1771]=_0x1cbca8(0x1fc),_0x54db06[_0x54db06[_0x1cbca8(0x230)]=0x1772]=_0x1cbca8(0x230),_0x54db06[_0x54db06['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1cbca8(0x395),_0x54db06[_0x54db06[_0x1cbca8(0x2a8)]=0x1b59]=_0x1cbca8(0x2a8),_0x54db06[_0x54db06[_0x1cbca8(0x2a4)]=0x1b5a]=_0x1cbca8(0x2a4),_0x54db06[_0x54db06[_0x1cbca8(0x203)]=0x1b5b]=_0x1cbca8(0x203),_0x54db06[_0x54db06[_0x1cbca8(0x3f5)]=0x1b5c]=_0x1cbca8(0x3f5),_0x54db06[_0x54db06[_0x1cbca8(0x438)]=0x1b5d]=_0x1cbca8(0x438),_0x54db06[_0x54db06[_0x1cbca8(0x27d)]=0x1f41]=_0x1cbca8(0x27d),_0x54db06[_0x54db06[_0x1cbca8(0x3ed)]=0x2329]=_0x1cbca8(0x3ed),_0x54db06[_0x54db06[_0x1cbca8(0x34c)]=0x232a]=_0x1cbca8(0x34c),_0x54db06[_0x54db06['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1cbca8(0x2db),_0x54db06[_0x54db06[_0x1cbca8(0x47e)]=0x232c]=_0x1cbca8(0x47e),_0x54db06[_0x54db06[_0x1cbca8(0x2a2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x54db06[_0x54db06[_0x1cbca8(0x277)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x54db06[_0x54db06[_0x1cbca8(0x223)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x54db06[_0x54db06[_0x1cbca8(0x473)]=0x2713]=_0x1cbca8(0x473),_0x54db06[_0x54db06['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x54db06[_0x54db06[_0x1cbca8(0x304)]=0x2af9]=_0x1cbca8(0x304),_0x54db06[_0x54db06[_0x1cbca8(0x483)]=0x2ee1]=_0x1cbca8(0x483),_0x54db06[_0x54db06[_0x1cbca8(0x264)]=0x2ee2]=_0x1cbca8(0x264),_0x54db06[_0x54db06['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1cbca8(0x248),_0x54db06[_0x54db06['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1cbca8(0x296),_0x54db06[_0x54db06[_0x1cbca8(0x316)]=0x2ee5]=_0x1cbca8(0x316),_0x54db06[_0x54db06['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x54db06[_0x54db06[_0x1cbca8(0x3e9)]=0x32ca]=_0x1cbca8(0x3e9),_0x54db06[_0x54db06[_0x1cbca8(0x388)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x54db06[_0x54db06[_0x1cbca8(0x3cd)]=-0x1]=_0x1cbca8(0x3cd),_0x54db06))(_0xf51c4a||{}),_0x505598=Object[_0x1cbca8(0x332)],_0xc9c513=(_0x1dc2e6,_0x3adb63,_0x12f7cf,_0x1036dc)=>{for(var _0x552440=_0x1036dc>0x1?void 0x0:_0x1036dc?_0x505598(_0x3adb63,_0x12f7cf):_0x3adb63,_0x44c970=_0x1dc2e6['length']-0x1,_0x552e82;_0x44c970>=0x0;_0x44c970--)(_0x552e82=_0x1dc2e6[_0x44c970])&&(_0x552440=_0x552e82(_0x552440)||_0x552440);return _0x552440;},_0xe5d18b=(_0x5a9d91,_0x40e268)=>(_0x3f54fb,_0x5796fd)=>_0x40e268(_0x3f54fb,_0x5796fd,_0x5a9d91);_0x1eddaa[_0x1cbca8(0x3fe)]=class extends _0x4414bf[_0x1cbca8(0x364)]{constructor(_0x1b0674,_0x457603,_0x21c371){const _0x48ee5d=_0x1cbca8;super(),this[_0x48ee5d(0x2b6)]=_0x1b0674,this['_httpService']=_0x457603,this['_configService']=_0x21c371;}async[_0x1cbca8(0x303)](_0x5b7449,_0xdad470,_0x2ede13,..._0x4b6bf6){const _0x385eaa=_0x1cbca8;var _0x2e956f,_0x3d0ec8,_0x314a6e,_0x449fc0;const _0x38a9b4=this[_0x385eaa(0x2b6)]['getFocusedUnit']();if(!_0x38a9b4)throw new Error(_0x385eaa(0x3e8));const _0x19a5e8=((_0x2e956f=this['_configService'][_0x385eaa(0x44d)](_0x407fab[_0x385eaa(0x410)]))!=null?_0x2e956f:_0x407fab[_0x385eaa(0x2b7)])+'/'+_0x5b7449+_0x385eaa(0x439)+_0xdad470,_0x799ae=new URL(window[_0x385eaa(0x239)][_0x385eaa(0x2ad)]),_0x1f20e6={'scriptId':_0x5b7449,'runId':(_0x3d0ec8=_0x799ae[_0x385eaa(0x210)][_0x385eaa(0x37e)]('runId'))!=null?_0x3d0ec8:'','function':_0xdad470,'unitId':_0x38a9b4['getUnitId'](),'argsOfFunction':JSON[_0x385eaa(0x2cc)](_0x4b6bf6),'invokeId':(_0x314a6e=_0x2ede13[_0x385eaa(0x425)])!=null?_0x314a6e:'','executionId':(_0x449fc0=_0x2ede13[_0x385eaa(0x2e2)])!=null?_0x449fc0:''};try{const _0xc8d861=await this[_0x385eaa(0x3f1)][_0x385eaa(0x2af)](_0x19a5e8,{'body':_0x1f20e6});return _0xc8d861[_0x385eaa(0x3f0)][_0x385eaa(0x357)]&&_0xc8d861[_0x385eaa(0x3f0)]['error'][_0x385eaa(0x320)]!==_0xf51c4a['OK']?_0x385eaa(0x394):_0xc8d861[_0x385eaa(0x3f0)][_0x385eaa(0x414)];}catch{return'Failed';}}},_0x1eddaa['RemoteUniscriptService']=_0xc9c513([_0xe5d18b(0x0,_0x4414bf[_0x1cbca8(0x2cd)]),_0xe5d18b(0x1,_0x4414bf[_0x1cbca8(0x427)](_0x2f2363[_0x1cbca8(0x461)])),_0xe5d18b(0x2,_0x4414bf['IConfigService'])],_0x1eddaa[_0x1cbca8(0x3fe)]),_0x1eddaa[_0x1cbca8(0x268)]=_0x9951f6,_0x1eddaa['IURLService']=_0x2d4223,_0x1eddaa[_0x1cbca8(0x349)]=_0x50f513,_0x1eddaa[_0x1cbca8(0x444)]=_0x2d0ad7,_0x1eddaa['WebURLService']=_0x22086d,Object[_0x1cbca8(0x366)](_0x1eddaa,Symbol[_0x1cbca8(0x22e)],{'value':_0x1cbca8(0x464)});}));function _0x6a48(){const _0x13a691=['urlChange$','_transformPreviousActiveRange','getOwnPropertySymbols','FETCH_MISS','setConfig','getColor','TOO_MANY_REQUESTS','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UniverNetwork','@univerjs/engine-formula','off-line-single','result','unload','getUnitStatus$','_syncEditingCollabCursorService','_saveTaskMap','none','56CaBSGn','_startDocCollabCursor','UniverRpc','collab-text-anchor-','off-line-single_clip0_910_343','_getSaveTimeout','_registerDependencies','_createSocketURL','_injector','unitId','_collabCursorController','invokeId','INTERNAL_ERROR','Inject','OTHER_CLIENT_EDITING','OFFLINE','_refreshCollabCursors','_setupSubUnitSync','_commandService','_saveCache','generateRandomId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_draw','handleDeleteRangeMoveLeft','displayName','TEXT_RANGE_LAYER_INDEX','NodePositionConvertToRectRange','_scheduleSaving','@univerjs/docs-ui','unitID','APPLY_DUPLICATED','/run/','getUnitId','SOCKET_FAILED_RETRY','ITransformService','@univerjs/core','activeSheet$','random','fromEvent','DisposableCollection','CONFLICT','fillStyle','WebBrowserSingleActiveUnitService','saveImage','fillText','min','onCommandExecuted','deserializeRangeWithSheet','propertyIsEnumerable','call','url(#off-line-single_clip0_910_343)','getConfig','IRenderManagerService','_toggleOffline','deepClone','handleInsertRangeMoveDown','fillRule','undoState','UnitStatus','_messageService','CollaborationUIEventId','init','_sheetSkeletonManagerService','[CollaborationDataLoaderController]','IDocClipboardService','m2Prime','_handleHeartbeatEvent','_toggleOnline','_docClipboardService','onTransformChange$','_uiPartsService','HTTPService','override','IRemoteInstanceService','Module','column','IImageIoService','prototype','session.connection-failed','ranges','RegularPolygon','backgroundColor','_cachedData','replace','useDependency','sessionTicket','getItem','_getSheetObject','toDisposable','YUUMI_RATE_OVER_LIMIT','@univerjs/ui','handleInsertRow','#fff','UniverCore','currentSkeleton$','SUBMIT_CHANGESET_TIMEOUT','_cursor','getTypeOfUnitDisposed$','RemoveRowCommandId','event$','LICENSE_EXPORT_SIZE_EXCEEDED','_session','engine','_onRefRangeChange','PERMISSION_DENIED','INVITE_CODE_HAS_BEEN_UES','_localStorageService','_startSheetCollabCursor','_colorIndex','clipPath','entityInit$','_registerRenderDependencies','_heartbeatTimer','transformRemoteChangeset','object','_labelPosition','3070ZgXPWS','storage','pipe','_docTransformIMECacheService','_hover','clearInterval','unit','actions','shareReplay','ISnapshotServerService','SetWorksheetActivateCommand','next','collabCursorState$','Error','_entities','jsx','MoveRangeCommandId','InsertRowCommandId','selections','takeUntil','combineLatest','SNAPSHOT_INVALID_SNAPSHOT','doc.mutation.rich-text-editing','DeleteRangeMoveLeftCommandId','type','reconnect','_docSyncEditingCollabCursorService','enableLocalCache','APPLY_REVISION_CONFILICT','DOC_RANGE_TYPE','transformIMECache','cursorInfo$','popstate','string','moveTo','@univerjs/design','_shapes','params','_scheduleClearOtherTimer','addObjects','LocaleService','searchParams','_initResize','name','startsWith','_initDependencies','_notificationService','ICommandService','function','subscribe','Plugin','m1Prime','_initEntityListener','createSocket','_removeClearOtherTimer','bottom','ILogService','getCoordByCell','_scheduleHeartbeat','black','YUUMI_URL_COL_OUT_OF_RANGE','getDocRanges','_scene','addEventListener','60RSgbWp','search','16064466YCkkNm','MUTATION','UniverSheetsUi','_disabled','assign','toStringTag','contains','SNAPSHOT_HAS_BEEN_REMOVED','7LvuvFp','_ensureSubject','_selfUnitIDs','_getScale','IBeforeCloseService','UniverCollaborationClientUIPlugin','UniverDocs','SetSelectionsOperation','location','push','makeDirty','registerRefRange','rgba(255,\x20255,\x20255,\x200.01)','univerjs-icon\x20univerjs-icon-','RxDisposable','ticket','dispose','touchDependencies','_unitOnClients','save','getViewport','MemberService','46216aGaUIr','INVITE_CODE_REQUIRED','CLOSE_ROOM','isEditing','@univerjs/sheets-ui','M0\x200H16V16H0z','attrs','includes','colorChannel1','_localCacheService','removeParam','runRefRangeMutations','@univerjs/network','history','PENDING','some','CHANGESET_REVISION_CONFILICT','COLORS','getRelativeToViewportCoord','amd','map','color','_collabSessionService','DocIMEInputManagerService','Unknown\x20user','DocStateChangeManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_urlService','6410792iqrmao','INVALID_INVITE_CODE','_textBubble','clearTimeout','getAncestorScale','CollaborationStatusDisplay','text','_drawTextRange','DependentOn','transformMutation','newValue','connectInjector','_transformService','DEFAULT_WS_SESSION_TICKET_URL','collab-client.tooltip.reconnect','toString','blue400','lineTo','getCellPositionByOffset','useCallback','YUUMI_UNABLE_LOAD_URL','Shape','send','red300','toRgbString','idSuffix','CONNECTOR_DATA_TOO_LARGE','concat','evenodd','transformStateCache','xlink:href','jsxs','onlineStatus','transformSelections','extend','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onCursorUpdate','font','roomMembers','getFocusedUnit','AWAITING_WITH_PENDING','getUndoRedoMutationParamsCache','_hovered','whenReady','on-line-single','asObservable','_getMergeRange','eventID','unsubscribe','onMouseMove','ILocalStorageService','USER_NOT_INVITED_CODE','_entityInit$','setShapeProps','RichTextEditingMutation','wsSessionTicketUrl','_collaborationController','currentColor','_anchor','drawWith','dispose$','_anchorDot','_configService','LICENSE_DISTRO_REJECTED','UniverDocsUi','APPLY_NON_SEQUENTIAL_REVISION','...','collabStatus.notCollab','getSheetBySheetId','APPLY_REJECT','CollaborationEvent','_transformHistoryAndStateStack','EffectRefRangId','_drawAnchor','href','then','post','memberID','react/jsx-runtime','getLocalCacheKey','getActiveRange','origin','getCurrentSelections','_instanceService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverInstanceType','redoState','skeleton','handleInsertCol','addObject','@univerjs-pro/collaboration-client','measureText','translate(.97)','isArray','BuiltInUIPart','ILocalCacheService','permission.title','getSheetId','LOGIN_FAILED','_initStatusComponent','UniverProCollaborationClientUi','_updateCollabCursors','_handleHover','_backgroundColor','jiqing500','stringify','IUniverInstanceService','UPDATE_CURSOR','UNAUTHENTICATED','length','_context','_drawRectRange','@univerjs/drawing','InsertRangeMoveDownCommandId','add','online','symbol','disposeWithMe','requireSession','CollaborationDataLoaderController','LICENSE_IMPORT_SIZE_EXCEEDED','_handleJoinEvent','offline','getCollabCursors$','updateOfflineData','UniverDrawing','collaboration-client.offline-data-not-saved','executionId','getUnhiddenWorksheets','CollaborationUIEventService','Tools','setUndoRedoMutationParamsCache','mutations','ThemeService','SHEET_VIEWPORT_KEY','RevisionService','useRef','size','_colorAssignService','_themeService','svg','_color','debug','isActive','restore','CollaborationStatus','top','_range','path','collabStatus.synced','_memberService','round','_setupBeforeClosingHandler','OTHER_CLIENTS_EDITING','getMergeData','CollaborationSocketService','data','@univerjs-pro/collaboration','isTransformMutationFailure','children','runOnServer','PY_RUNTIME_SCRIPT_ERROR','range','_getSessionTicket','row','setParam','@univerjs/sheets','clsx','findNodePositionByCharIndex','useObservable','find','CollaborationSessionService','fill','indexOf','react','throttleTime','mergeOverrideWithDependencies','NodePositionConvertToCursor','IUIPartsService','INVITE_CODE_ALREADY_BOUND','sessionStatus$','merge','NOT_COLLAB','getOffsetConfig','_cursorInfo$','unshift','syncEditingCollabCursor','div','onPointerLeave$','code','SetTextSelectionsOperation','MessageType','docStateChange$','assignAColorForMemberID','url(#on-line-single_clip0_910_349)','entries','UniverSheets','_initStatusListener','serializeRangeWithSheet','_docSkeletonManagerService','current','CommandType','_send','_assignedColors','_onCursorDelete','_config','debounce','getOwnPropertyDescriptor','createInstance','collab-text-range-','permission.content','endColumn','substring','getStateCache','_clearOtherTimers','pluginName','replaceDocRanges','delete','disableLocalCache','@univerjs/rpc','application/json','parse','mask','_refRangeService','DocSkeletonManagerService','Vector2','exhaustSavingTask','getParam','3863360QmSDob','hide','SheetCollabCursorShape','0\x200\x2016\x2016','_hideTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','React','_collabCursorState$','_updateURLWithCurrentState','_docTransformSelectionsService','className','DesktopCollaborationStatusDisplayController','editingUnit','_doCreateSocket','Tooltip','uni.network.url-service','error','BrowserCollaborationSocketService','_name','registerBeforeClose','getRangePointData','exports','@univerjs/docs','1em','defs','OnLineSingle','_dataLoaderService','WebSocketService','onPointerMove$','Disposable','Workbook','defineProperty','_removeCollabCursors','transformMutationsWithChangeset','1215906xTIwxl','Warning','univer-online-status-title','icon','setStateCache','with','registerDependencies','univer-flex\x20univer-items-center','getRenderById','FromArray','executeCommand','_handleEvent','_id','_docTransformStateCacheService','SheetSkeletonManagerService','collabStatus.fetchMiss','_docStateChangeManagerService','BehaviorSubject','forEach','getMember','_collaborationUIEventService','get','subunit','RECT','univer-online-status-icon','_logService','status$','_univerInstanceService','height','_unitStatus','_initEvent','EMAIL_HAS_BEEN_BOUND','_updateLocalCursor','flatMap','collabStatus.syncing','_init','getValue','sheetId','Optional','_status$','_roomMembers$','triggerDblclick','UNIVER_DOC','Failed','ENSURE_SNAPSHOT_EXECUTION','roomMembers$','SOCKET_FAILED','_updateSubUnitFromURLParams','complete','handleIRemoveRow','@univerjs/engine-render','selection','filter','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','_cursorShapes','SheetsSelectionsService','_initCommandExecutedListener','disposeUnit','univer-online','SYNCED','DocSelectionManagerService','_eventUnsubscribe','currentTheme$','INVALID_ARGUMENT','collabStatus.offline','Subject','runId','univer-offline','forwardRef','getTypeOfUnitAdded$','11342475pUnPfG','_revisionService','_transformUndoRedoStack','textRanges','getMemberID','onlineStatusTitle','transform','switchMap','verdancy600','_cursors','addHandlerCallback','values','ALREADY_EXISTS','TEXT','purple300','AWAITING','UNIVER_SHEET','addClipboardHook','_render','createIdentifier','ONLINE','cursorInfo','_imageIoService','Injector','_docSkeleton','getCollabEntity$','pushState','_localeService','IConfigService','VIEW_MAIN','UNRECOGNIZED','getSheetObject','getCurrent','on-line-single_clip0_910_349','#FFF','hasOwnProperty','univer-online-status','defIds','rxjs','_getAnchorBounding','beginPath','USERS_LEAVE','_lastPointer','onPointerEnter$','_renderManagerService','width','INotificationService','LOCAL_CACHE_INTERVAL','setItem','labelPosition','rxjs/operators','ColorKit','TRANSFORM_CHANGE_OBSERVABLE_TYPE','has','isTransformMutationsWithChangesetSuccess','5unFwOU','getVpScrollXYInfoByPosToVp','[RemoteUniscriptService]:\x20no\x20focused\x20unit','MOBILE_HAS_BEEN_BOUND','show','replaceState','endRow','LICENSE_MAX_UNITS_EXCEEDED','getUniverSheetInstance','UniverEngineFormula','body','_httpService','onRendered','NOT_FOUND','resize','APPLY_PERMISSION_DENIED','debounceTime','from','set','registerRenderModule','_online','getSkeleton','handleInsertRangeMoveRight','UniverDesign','RemoteUniscriptService','onlineStatusIcon','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','subscribeEvent','InsertRangeMoveRightCommandId','arc','_handleLeaveEvent','createElement','session.will-retry','closePath','tag'];_0x6a48=function(){return _0x13a691;};return _0x6a48();}
|
|
1
|
+
function _0x2927(){const _0x110628=['DeleteRangeMoveUpCommandId','9kKHakl','collabStatus.offline','MUTATION','disposeWithMe','@univerjs/design','UPDATE_CURSOR','CollaborationEvent','hovered','_collabCursorController','CollaborationSessionService','getRangePointData','offline','LocaleService','ColorKit','IImageIoService','_docClipboardService','BehaviorSubject','SNAPSHOT_INVALID_SNAPSHOT','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','univer-online-status','debounceTime','RECT','LICENSE_MAX_UNITS_EXCEEDED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_unitOnClients','SheetsSelectionsService','_memberService','max','ITransformService','setUndoRedoMutationParamsCache','defineProperty','WebBrowserSingleActiveUnitService','then','focused$','replace','_send','search','replaceState','transformStateCache','_saveCache','verdancy600','endRow','CollaborationUIEventId','#fff','_httpService','14AIleHQ','_toggleOffline','fromEventSubject','INVALID_ARGUMENT','handleInsertRangeMoveDown','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','1em','_disabled','_render','registerRenderModule','ThemeService','collaboration.single-unit.warning','_saveTaskMap','unit','Tools','_notificationService','complete','UNDEFINED','@univerjs/core','2014jGsaOo','backgroundColor','unitID','0\x200\x2017\x2016','set','_collabCursorState$','DEFAULT_WS_SESSION_TICKET_URL','isActive','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','RegularPolygon','_registerRenderDependencies','InsertRangeMoveDownCommandId','univer-flex\x20univer-items-center','CollaborationUIEventService','RxDisposable','setStateCache','WECHAT_HAS_BEEN_BOUND','JOIN_ROOM_FAILED','width','subscribeEvent','_name','textRanges','_initDependencies','ILocalCacheService','_removeCollabCursors','Rect','collab-client.tooltip.reconnect','Module','syncEditingCollabCursor','IUniverInstanceService','mutations','MessageType','_docTransformStateCacheService','getAncestorScale','_initStatusComponent','_range','_status$','_entityInit$','runId','_drawRectRange','blue400','_syncEditingCollabCursorService','handleInsertRow','_startSheetCollabCursor','permission.content','UniverCore','name','_updateLocalCursor','Rectangle','Warning','react','MemberService','APPLY_NON_SEQUENTIAL_REVISION','_docSkeletonManagerService','APPLY_REVISION_CONFILICT','currentTheme$','rxjs/operators','registerDependencies','urlChange$','SheetCollabCursorShape','_anchorDot','_textBubble','UniverCollaborationClientUIPlugin','DOC_RANGE_TYPE','getSheetId','onTransformChange$','operators','_lastPointer','handleDeleteRangeMoveLeft','403264VtCgXN','TEXT_RANGE_LAYER_INDEX','SetSelectionsOperation','invokeId','UniverDocs','@univerjs/engine-render','NO_OTHER_CLIENTS_EDITING','endColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COMPLETION_FINISHED','_updateURLWithCurrentState','assign','online','indexOf','RemoveRowCommandId','dispose$','UNRECOGNIZED','dispose','getColor','prototype','_registerDependencies','Disposable','substring','touchDependencies','registerRefRange','transformSelections','_startDocCollabCursor','_transformUndoRedoStack','CLOSE_ROOM','origin','transformRemoteChangeset','getFocusedUnit','switchMap','_getSaveTimeout','executeCommand','_setupSubUnitSync','jsxs','result','getDocRanges','setInterval','collabStatus.fetchMiss','SOCKET_FAILED','disableLocalCache','registerBeforeClose','_doCreateSocket','RemoveColCommandId','react/jsx-runtime','OFFLINE','collabStatus.synced','SetWorksheetActivateCommand','NOT_FOUND','fill','_docTransformIMECacheService','from','values','_getAnchorBounding','onRendered','ICommandService','UNAUTHENTICATED','row','setTimeout','BrowserCollaborationSocketService','CollaborationDataLoaderController','_handleHeartbeatEvent','startColumn','getTypeOfUnitDisposed$','concat','newValue','sessionStatus$','_init','on-line-single','DeleteRangeMoveLeftCommandId','loadUnit','@univerjs/network','range','cursorInfo','history','@univerjs/engine-formula','HEADER_MENU','_hovered','4554888lxRfKV','add','application/json','handleIRemoveRow','_onRefRangeChange','getMember','gold400','71WQEzOp','transformIMECache','USER_NOT_INVITED_CODE','_scheduleSaving','DataLoaderService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','APPLY_PERMISSION_DENIED','_cursor','IDocClipboardService','className','url(#$1','_colorAssignService','font','session.will-retry','toStringTag','displayName','UniverDrawing','actions','rgba(255,\x20255,\x20255,\x200.01)','onPointerMove$','RichTextEditingMutation','idSuffix','_drawTextRange','save','get','collab-rect-range-','IRenderManagerService','UniverNetwork','useDependency','useObservable','shareReplay','none','getViewport','distinctUntilChanged','updateOfflineData','toString','_colorIndex','mapTo','UniverRpc','status$','703532BwFnHV','@univerjs/docs','108UcmNhO','handleDeleteRangeMoveUp','clipPath','_scheduleClearOtherTimer','serializeRangeWithSheet','CollaborationStatusDisplay','xlink:href','React','_eventUnsubscribe','deserializeRangeWithSheet','icon','colorChannel1','@univerjs/sheets','SNAPSHOT_HAS_BEEN_REMOVED','INVITE_CODE_HAS_BEEN_UES','collabStatus.syncing','_ensureSubject','_setupBeforeClosingHandler','bottom','drawWith','Injector','createIdentifier','ISocketService','addObjects','contains','type','_docSyncEditingCollabCursorService','startRow','InsertColCommandId','_collaborationUIEventService','_renderManagerService','doc.mutation.rich-text-editing','_sheetSkeletonManagerService','replaceDocRanges','_labelPosition','@univerjs/sheets-ui','forEach','getCoordByCell','[RemoteUniscriptService]:\x20no\x20focused\x20unit','forwardRef','_injector','_refRangeService','_drawAnchor','searchParams','off-line-single_clip0_910_343','deepClone','getActiveRange','fillRule','length','getUnitId','Optional','fillText','_onCursorUpdate','4027903bgcWRt','_transformService','_context','error','_commandService','Error','InsertRangeMoveRightCommandId','_localStorageService','generateRandomId','_anchor','UnitStatus','extend','_revisionService','_transformHistoryAndStateStack','DisposableCollection','INVITE_CODE_ALREADY_BOUND','combineLatest','_univerInstanceService','popstate','_toggleOnline','_collaborationController','_getMergeRange','fromEvent','_updateSubUnitFromURLParams','INTERNAL_ERROR','saveTaskMap','wsSessionTicketUrl','m1Prime','RefRangeService','ALREADY_EXISTS','collaboration-client-ui.config','storage','unitId','_session','UniverEngineRender','transformByState','OTHER_CLIENT_EDITING','data','clearTimeout','getParam','column','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_shapes','getOwnPropertySymbols','_heartbeatTimer','collaboration.closeRoom','random','Shape','_createSocketURL','_handleJoinEvent','split','getCellPositionByOffset','WebSocketService','collab-text-anchor-','_scene','EffectRefRangId','addObject','_docStateChangeManagerService','@univerjs/ui','_instanceService','activeSheet$','SYNCED','UNIVER_DOC','LICENSE_EXPORT_SIZE_EXCEEDED','_clearOtherTimers','path','getCurrent','throttleTime','findNodePositionByCharIndex','Plugin','closePath','_initStatusListener','stringify','assignAColorForMemberID','selections','rxjs','UNIVER_SHEET','saveOfflineData','useRef','transformMutationsWithChangeset','univer-online-status-icon','IURLService','editingUnit','_online','lineTo','moveTo','children','LOGIN_FAILED','_messageService','DocCollaborationEntity','CollaborationStatus','show','AWAITING_WITH_PENDING','takeUntil','[CollaborationDataLoaderController]','_logService','trim','with','_unitStatus','currentColor','registerComponent','_urlService','_uiPartsService','session.connection-failed','pushState','_cursors','UniverSheets','getCurrentUnitForType','_dataLoaderService','createElement','tag','PY_RUNTIME_SCRIPT_ERROR','getVpScrollXYInfoByPosToVp','height','YUUMI_URL_COL_OUT_OF_RANGE','engine','_configService','SOCKET_FAILED_RETRY','EMAIL_HAS_BEEN_BOUND','defIds','subunit','UniverDocsUi','...','body','unshift','YUUMI_SUBSCRIPTION_NOT_FOUND','redoState','CONFLICT','YUUMI_UNABLE_LOAD_URL','symbol','session.collaboration-timeout','_selfUnitIDs','color','getItem','Failed','RevisionService','getValue','currentSkeleton$','@univerjs-pro/collaboration','handleMoveRange','InsertRowCommandId','cursorInfo$','IRemoteInstanceService','_getScale','restore','_getSessionTicket','pluginName','UniverProCollaboration','href','getStateCache','@univerjs/drawing','onPointerEnter$','isArray','ranges','useCallback','/run/','12zCaMlT','_backgroundColor','getOwnPropertyDescriptor','size','delete','IMessageService','DesktopCollaborationStatusDisplayController','min','url(#off-line-single_clip0_910_343)','_config','Tooltip','_handleLeaveEvent','UniverCollaborationClientPlugin','onCommandExecuted','string','map','IConfigService','setItem','location','_cursorShapes','defs','UniverInstanceType','pipe','docStateChange$','TEXT','has','_themeService','NodePositionConvertToCursor','push','clsx','jsx','LICENSE_IMPORT_SIZE_EXCEEDED','DocSelectionManagerService','UniverUi','SHEET_VIEWPORT_KEY','createInstance','next','_updateCollabCursors','@univerjs/rpc','top','collaboration-client.offline-data-not-saved','clearInterval','_draw','collabCursorState$','_handleEvent','getMemberID','_transformPreviousActiveRange','ACTIVE_UNIT_EVENT_CHANNEL','sheetId','MoveRangeCommandId','_collabSessionService','setConfig','_scheduleHeartbeat','collab-text-range-','eventID','round','on-line-single_clip0_910_349','getUnhiddenWorksheets','call','setParam','uni.network.url-service','handleInsertRangeMoveRight','SUBMIT_CHANGESET_TIMEOUT','getSheetBySheetId','_onCursorDelete','ENSURE_SNAPSHOT_EXECUTION','COLORS','toRgbString','onPointerLeave$','unsubscribe','getUniverSheetInstance','OTHER_CLIENTS_EDITING','#FFF','VIEW_MAIN','div','_beforeCloseService','OnLineSingle','_id','NOT_COLLAB','asObservable','univer-online-status-title','getRenderById','_removeClearOtherTimer','transformMutation','use','init','entries','ISnapshotServerService','RemoteUniscriptService','_docTransformSelectionsService','setShapeProps','_docSkeleton','Unknown\x20user','isTransformMutationsWithChangesetSuccess','USERS_LEAVE','12734900CmNeSH','send','handleIRemoveCol','params','_initResize','getActiveSheet','DependentOn','fillStyle','createSocket','M0\x200H16V16H0z','_localCacheService','evenodd','exhaustSavingTask','svg','executionId','startsWith','YUUMI_RATE_OVER_LIMIT','FromArray','amd','text','setAlpha','onlineStatusTitle','attrs','_cursorInfo$','requireSession','@univerjs/docs-ui','_assignedColors','_initCommandExecutedListener','Inject','_entities','mergeOverrideWithDependencies','measureText','_roomMembers$','getUnitStatus$','_refreshCollabCursors','APPLY_REJECT','merge','event$','getLocalCacheKey','object','_imageIoService','hasOwnProperty','0\x200\x2016\x2016','apply','_color','_getSheetObject','connectInjector','LOCAL_CACHE_INTERVAL','_localeService','PERMISSION_DENIED','OffLineSingle','mask','getSheetObject','filter','UniverProCollaborationClientUi','CONNECTOR_DATA_TOO_LARGE','HTTPService','CollaborationSocketService','APPLY_DUPLICATED','_initEvent','ILogService','SessionStatus','CHANGESET_REVISION_CONFILICT','onStarting','BuiltInUIPart','roomMembers','debounce','subscribe','Vector2','unload','current','461630xhpZma','AWAITING','m2Prime','_hideTimer','parse','isTransformMutationFailure','undoState','entityInit$','PENDING','DocIMEInputManagerService','@univerjs-pro/collaboration-client','_cachedData','removeParam','getCollabCursors$','UniverDesign','arc','addHandlerCallback','runOnServer','sessionTicket','selection','includes','override','find','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','black','onMouseMove','code','disposeUnit','hide','roomMembers$'];_0x2927=function(){return _0x110628;};return _0x2927();}function _0x20ed(_0x6d8db5,_0x2641d6){const _0x2927e3=_0x2927();return _0x20ed=function(_0x20ed8d,_0x3d6714){_0x20ed8d=_0x20ed8d-0x167;let _0x8a1923=_0x2927e3[_0x20ed8d];return _0x8a1923;},_0x20ed(_0x6d8db5,_0x2641d6);}(function(_0x4ac6e4,_0x5cd37f){const _0x4e9861=_0x20ed,_0xcce8f6=_0x4ac6e4();while(!![]){try{const _0x3b0c93=parseInt(_0x4e9861(0x33f))/0x1*(-parseInt(_0x4e9861(0x2a3))/0x2)+-parseInt(_0x4e9861(0x19e))/0x3*(parseInt(_0x4e9861(0x367))/0x4)+parseInt(_0x4e9861(0x244))/0x5+-parseInt(_0x4e9861(0x338))/0x6+-parseInt(_0x4e9861(0x290))/0x7*(-parseInt(_0x4e9861(0x2e8))/0x8)+parseInt(_0x4e9861(0x263))/0x9*(-parseInt(_0x4e9861(0x1fd))/0xa)+parseInt(_0x4e9861(0x39e))/0xb*(parseInt(_0x4e9861(0x369))/0xc);if(_0x3b0c93===_0x5cd37f)break;else _0xcce8f6['push'](_0xcce8f6['shift']());}catch(_0x21c35d){_0xcce8f6['push'](_0xcce8f6['shift']());}}}(_0x2927,0xa6448),function(_0x48b65d,_0x1de6ea){const _0x43730a=_0x20ed;typeof exports==_0x43730a(0x224)&&typeof module<'u'?_0x1de6ea(exports,require(_0x43730a(0x24e)),require(_0x43730a(0x2a2)),require(_0x43730a(0x2ed)),require(_0x43730a(0x331)),require(_0x43730a(0x216)),require('@univerjs/drawing'),require(_0x43730a(0x3e9)),require(_0x43730a(0x368)),require(_0x43730a(0x18c)),require(_0x43730a(0x335)),require(_0x43730a(0x375)),require(_0x43730a(0x2db)),require(_0x43730a(0x38c)),require(_0x43730a(0x316)),require(_0x43730a(0x3d8)),require(_0x43730a(0x267)),require(_0x43730a(0x2d5)),require(_0x43730a(0x1c4))):typeof define=='function'&&define[_0x43730a(0x20f)]?define(['exports','@univerjs-pro/collaboration-client',_0x43730a(0x2a2),_0x43730a(0x2ed),_0x43730a(0x331),_0x43730a(0x216),_0x43730a(0x198),'rxjs',_0x43730a(0x368),_0x43730a(0x18c),'@univerjs/engine-formula',_0x43730a(0x375),_0x43730a(0x2db),_0x43730a(0x38c),'react/jsx-runtime',_0x43730a(0x3d8),_0x43730a(0x267),_0x43730a(0x2d5),_0x43730a(0x1c4)],_0x1de6ea):(_0x48b65d=typeof globalThis<'u'?globalThis:_0x48b65d||self,_0x1de6ea(_0x48b65d[_0x43730a(0x233)]={},_0x48b65d['UniverProCollaborationClient'],_0x48b65d[_0x43730a(0x2d0)],_0x48b65d[_0x43730a(0x3c0)],_0x48b65d[_0x43730a(0x35a)],_0x48b65d[_0x43730a(0x17b)],_0x48b65d[_0x43730a(0x34f)],_0x48b65d[_0x43730a(0x3e9)],_0x48b65d[_0x43730a(0x2ec)],_0x48b65d[_0x43730a(0x195)],_0x48b65d['UniverEngineFormula'],_0x48b65d[_0x43730a(0x16c)],_0x48b65d[_0x43730a(0x3e9)][_0x43730a(0x2e5)],_0x48b65d['UniverSheetsUi'],_0x48b65d[_0x43730a(0x370)],_0x48b65d[_0x43730a(0x1bf)],_0x48b65d[_0x43730a(0x252)],_0x48b65d[_0x43730a(0x370)],_0x48b65d[_0x43730a(0x365)]));}(this,function(_0x4bd5b3,_0x5b005f,_0x458f8c,_0x268e65,_0x34f6fb,_0x3fd6d1,_0x17b15e,_0xcb3a0a,_0x2f1fcc,_0xda915b,_0x1c8522,_0x4e3457,_0x33e39c,_0x278dfd,_0x1f6b47,_0x396ac0,_0x1e946d,_0x31ea74,_0x2a4f33){'use strict';const _0x3b5918=_0x20ed;var _0x5ed594=Object['defineProperty'],_0x2d9194=(_0x57be88,_0x103df6,_0x52150c)=>_0x103df6 in _0x57be88?_0x5ed594(_0x57be88,_0x103df6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52150c}):_0x57be88[_0x103df6]=_0x52150c,_0x491c37=(_0x48992c,_0xf43a68,_0x270f74)=>_0x2d9194(_0x48992c,typeof _0xf43a68!=_0x3b5918(0x183)?_0xf43a68+'':_0xf43a68,_0x270f74),_0x4618af=Object[_0x3b5918(0x1a0)],_0x534fcc=(_0x5f04bc,_0x4efa08,_0x32f890,_0xa6a485)=>{const _0x2e399a=_0x3b5918;for(var _0x441459=_0xa6a485>0x1?void 0x0:_0xa6a485?_0x4618af(_0x4efa08,_0x32f890):_0x4efa08,_0x2257be=_0x5f04bc[_0x2e399a(0x399)]-0x1,_0x14c2a8;_0x2257be>=0x0;_0x2257be--)(_0x14c2a8=_0x5f04bc[_0x2257be])&&(_0x441459=_0x14c2a8(_0x441459)||_0x441459);return _0x441459;},_0xed1057=(_0x3baac5,_0x303123)=>(_0xd86ce5,_0x14e913)=>_0x303123(_0xd86ce5,_0x14e913,_0x3baac5);let _0x5a82c0=class extends _0x458f8c['RxDisposable']{constructor(_0x221021,_0x431a59){const _0x394e4e=_0x3b5918;super(),this[_0x394e4e(0x272)]=_0x221021,this[_0x394e4e(0x225)]=_0x431a59,this[_0x394e4e(0x32d)]();}[_0x3b5918(0x32d)](){const _0x25cb22=_0x3b5918,_0x5db0e8=this;this[_0x25cb22(0x266)](this[_0x25cb22(0x272)]['addClipboardHook']({'onBeforePasteImage':async _0x5b4504=>{const _0x42121e=await _0x5db0e8['_imageIoService']['saveImage'](_0x5b4504);return _0x42121e?{'source':_0x42121e['source'],'imageSourceType':_0x42121e['imageSourceType']}:null;}}));}};_0x5a82c0=_0x534fcc([_0xed1057(0x0,_0x3fd6d1[_0x3b5918(0x347)]),_0xed1057(0x1,_0x17b15e[_0x3b5918(0x271)])],_0x5a82c0);const _0x594450=['purple300','jiqing500',_0x3b5918(0x28b),'red300',_0x3b5918(0x2cb),_0x3b5918(0x33e)];class _0x36bc68 extends _0x458f8c['Disposable']{constructor(){const _0x33bbd0=_0x3b5918;super(...arguments),_0x491c37(this,_0x33bbd0(0x217),new Map()),_0x491c37(this,'_colorIndex',0x0);}[_0x3b5918(0x3e7)](_0x67b9d5){const _0x4421c6=_0x3b5918;if(this[_0x4421c6(0x217)][_0x4421c6(0x1b7)](_0x67b9d5))return this[_0x4421c6(0x217)][_0x4421c6(0x357)](_0x67b9d5);const _0x326405=_0x594450[this['_colorIndex']];return this[_0x4421c6(0x363)]=(this[_0x4421c6(0x363)]+0x1)%_0x594450[_0x4421c6(0x399)],this['_assignedColors'][_0x4421c6(0x2a7)](_0x67b9d5,_0x326405),_0x326405;}}function _0x3b14f0(_0x338d11){let _0x50ad32='';for(const _0x336156 of _0x338d11){const {startOffset:_0x50a1cf,endOffset:_0x197f1c,isActive:_0x5b9b2f,rangeType:_0x1212fb,segmentId:_0x33214a,segmentPage:_0x2e2df6}=_0x336156;_0x50ad32['length']&&(_0x50ad32+=','),_0x50ad32+=_0x50a1cf+':'+_0x197f1c+':'+(_0x5b9b2f?'1':'0')+':'+_0x1212fb+':'+_0x33214a+':'+_0x2e2df6;}return _0x50ad32;}function _0x2bd960(_0x468edc){const _0x1c47de=_0x3b5918,_0x1052d7=_0x468edc[_0x1c47de(0x3d0)](','),_0x2331e1=[];for(const _0x51ff24 of _0x1052d7){const [_0x508e18,_0x11965b,_0x327e92,_0x4ccbb0,_0x1c6cae,_0x3d51de]=_0x51ff24[_0x1c47de(0x3d0)](':');_0x2331e1['push']({'startOffset':Number(_0x508e18),'endOffset':Number(_0x11965b),'collapsed':_0x508e18===_0x11965b,'isActive':_0x327e92==='1','rangeType':_0x4ccbb0===_0x458f8c[_0x1c47de(0x2e2)][_0x1c47de(0x1b6)]?_0x458f8c[_0x1c47de(0x2e2)]['TEXT']:_0x458f8c[_0x1c47de(0x2e2)][_0x1c47de(0x278)],'segmentId':typeof _0x1c6cae==_0x1c47de(0x1ac)?String(_0x1c6cae):'','segmentPage':Number(_0x3d51de!=null?_0x3d51de:-0x1)});}return _0x2331e1['some'](_0x4bfbb5=>_0x4bfbb5[_0x1c47de(0x2aa)])||(_0x2331e1[0x0][_0x1c47de(0x2aa)]=!0x0),_0x2331e1;}class _0x28bc01 extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(){const _0x45c145=_0x3b5918;super(...arguments),_0x491c37(this,_0x45c145(0x2a8),new _0xcb3a0a[(_0x45c145(0x273))](null)),_0x491c37(this,_0x45c145(0x1c9),this['_collabCursorState$'][_0x45c145(0x1ed)]());}[_0x3b5918(0x2bf)](_0x4dc7d5){const _0x5987c6=_0x3b5918,{unitID:_0x2285c2,memberID:_0x2c699f,textRanges:_0xcb8d33}=_0x4dc7d5,_0x419895=_0x3b14f0(_0xcb8d33);if(_0x419895==='')return;const _0x5ab939={'unitID':_0x2285c2,'memberID':_0x2c699f,'selection':_0x419895};this[_0x5987c6(0x2a8)][_0x5987c6(0x1c2)](_0x5ab939);}}var _0x404d13=Object[_0x3b5918(0x1a0)],_0x139ec5=(_0x4436e9,_0x54b6aa,_0x567c20,_0x1cbbcb)=>{const _0x434969=_0x3b5918;for(var _0x2e710b=_0x1cbbcb>0x1?void 0x0:_0x1cbbcb?_0x404d13(_0x54b6aa,_0x567c20):_0x54b6aa,_0x5bcefd=_0x4436e9[_0x434969(0x399)]-0x1,_0x3bc22f;_0x5bcefd>=0x0;_0x5bcefd--)(_0x3bc22f=_0x4436e9[_0x5bcefd])&&(_0x2e710b=_0x3bc22f(_0x2e710b)||_0x2e710b);return _0x2e710b;},_0x814107=(_0x32650d,_0x429866)=>(_0x14d81a,_0xc5bae8)=>_0x429866(_0x14d81a,_0xc5bae8,_0x32650d);const _0x1bbfd4=0x12c,_0x394bb3=0x64;let _0x105960=class extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(_0x158403,_0x5ed86e,_0x312404,_0x322d2b,_0x50973c,_0x211cc4,_0x2828ae,_0x4e05bb,_0x1a2d9b){const _0x3f833a=_0x3b5918;super(),_0x491c37(this,_0x3f833a(0x3f1),!0x1),_0x491c37(this,'_init',!0x1),_0x491c37(this,_0x3f833a(0x214),new _0xcb3a0a['BehaviorSubject'](new Map())),_0x491c37(this,_0x3f833a(0x18f),this['_cursorInfo$'][_0x3f833a(0x1ed)]()),_0x491c37(this,_0x3f833a(0x21d),new _0xcb3a0a[(_0x3f833a(0x273))]([])),_0x491c37(this,'roomMembers$',this[_0x3f833a(0x21d)][_0x3f833a(0x1b4)](_0xcb3a0a[_0x3f833a(0x277)](_0x1bbfd4))),_0x491c37(this,_0x3f833a(0x2d2),_0x458f8c[_0x3f833a(0x23f)](_0x5afe46=>{const _0x48091a=_0x3f833a,_0x58ab77={'eventID':_0xda915b[_0x48091a(0x269)][_0x48091a(0x268)],'data':{'unitID':this['unitID'],'memberID':this[_0x48091a(0x3bf)]['getMemberID'](),'selection':_0x3b14f0(_0x5afe46)}};this['_session'][_0x48091a(0x1fe)](_0x58ab77,this[_0x48091a(0x2a5)]);},_0x394bb3)),(this[_0x3f833a(0x2a5)]=_0x158403,this['_session']=_0x5ed86e,this[_0x3f833a(0x391)]=_0x312404,this[_0x3f833a(0x34a)]=_0x322d2b,this[_0x3f833a(0x27d)]=_0x50973c,this[_0x3f833a(0x2cc)]=_0x211cc4,this[_0x3f833a(0x39f)]=_0x2828ae,this[_0x3f833a(0x3af)]=_0x4e05bb,this[_0x3f833a(0x3a2)]=_0x1a2d9b);}get['cursorInfo'](){const _0x2b89bb=_0x3b5918;return this[_0x2b89bb(0x214)]['getValue']();}get[_0x3b5918(0x23e)](){const _0x2d914b=_0x3b5918;return this['_roomMembers$'][_0x2d914b(0x18a)]();}[_0x3b5918(0x2f9)](){const _0x49242f=_0x3b5918;super[_0x49242f(0x2f9)](),this[_0x49242f(0x214)]['next'](new Map()),this[_0x49242f(0x214)][_0x49242f(0x2a0)](),this[_0x49242f(0x21d)][_0x49242f(0x1c2)]([]),this[_0x49242f(0x21d)]['complete']();}[_0x3b5918(0x1f3)](){const _0x295cdc=_0x3b5918;this['_init']||(this[_0x295cdc(0x32d)]=!0x0,this['_session'][_0x295cdc(0x32c)]['pipe'](_0xcb3a0a[_0x295cdc(0x3fb)](this[_0x295cdc(0x2f7)]))[_0x295cdc(0x240)](_0x191ab0=>{const _0x33d7e9=_0x295cdc;_0x191ab0===_0x5b005f[_0x33d7e9(0x23a)]['ONLINE']?this[_0x33d7e9(0x3b1)]():this[_0x33d7e9(0x291)]();}),this['_session']['event$'][_0x295cdc(0x1b4)](_0xcb3a0a[_0x295cdc(0x3fb)](this[_0x295cdc(0x2f7)]))[_0x295cdc(0x240)](_0x16e306=>{const _0x43e47b=_0x295cdc,_0x3f7a84=_0x16e306['eventID'];_0x3f7a84===_0xda915b['CollaborationEvent'][_0x43e47b(0x268)]&&this[_0x43e47b(0x39d)](_0x16e306),_0x3f7a84===_0xda915b['CollaborationEvent']['USERS_LEAVE']&&this[_0x43e47b(0x1de)](_0x16e306);}),this['disposeWithMe'](this[_0x295cdc(0x3a2)][_0x295cdc(0x1ab)](_0x2fa53d=>{const _0x5e9a84=_0x295cdc,_0x182773=_0x2fa53d['params'];_0x182773!=null&&this[_0x5e9a84(0x3f1)]&&_0x2fa53d['id']===_0x2f1fcc['SetTextSelectionsOperation']['id']&&_0x182773['unitId']===this[_0x5e9a84(0x2a5)]&&_0x182773['isEditing']===!0x1&&_0x182773['ranges']['length']>0x0&&this[_0x5e9a84(0x2d2)](_0x182773[_0x5e9a84(0x19b)]);})),this['_syncEditingCollabCursorService'][_0x295cdc(0x1c9)][_0x295cdc(0x1b4)](_0xcb3a0a[_0x295cdc(0x3fb)](this[_0x295cdc(0x2f7)]))[_0x295cdc(0x240)](_0xe13796=>{const _0x19c1fc=_0x295cdc;if((_0xe13796==null?void 0x0:_0xe13796['unitID'])!==this[_0x19c1fc(0x2a5)])return;const _0x18bbc={'eventID':_0xda915b[_0x19c1fc(0x269)][_0x19c1fc(0x268)],'data':_0xe13796};this[_0x19c1fc(0x39d)](_0x18bbc);}),this[_0x295cdc(0x266)](this['_commandService'][_0x295cdc(0x1ab)](_0x34ad13=>{const _0x4aabb8=_0x295cdc;if(_0x34ad13['params']==null)return;const _0x322a79=_0x34ad13[_0x4aabb8(0x200)];if(_0x34ad13['id']!==_0x2f1fcc[_0x4aabb8(0x353)]['id']||_0x322a79[_0x4aabb8(0x3be)]!==this['unitID'])return;const _0x588366={'id':_0x4aabb8(0x388),'params':_0x322a79},_0x27aa0b=this[_0x4aabb8(0x333)];for(const [_0x4e59e9,_0x45690]of _0x27aa0b){const _0x30e830={'id':_0x4aabb8(0x388),'params':{'unitId':this[_0x4aabb8(0x2a5)],'actions':null,'textRanges':_0x45690[_0x4aabb8(0x19b)]}},_0x165242=this[_0x4aabb8(0x39f)][_0x4aabb8(0x1f1)](_0x588366,_0x30e830,!0x1);if(_0xda915b[_0x4aabb8(0x249)](_0x165242))throw _0x165242[_0x4aabb8(0x3a1)];_0x27aa0b[_0x4aabb8(0x2a7)](_0x4e59e9,{..._0x45690,'ranges':_0x165242[_0x4aabb8(0x246)]['params'][_0x4aabb8(0x2b8)]});}queueMicrotask(()=>{const _0x30adda=_0x4aabb8;this[_0x30adda(0x214)][_0x30adda(0x1c2)](_0x27aa0b);});})));}[_0x3b5918(0x39d)](_0x50875d){const _0x5c449a=_0x3b5918;var _0x558a5f,_0x21410d;const {memberID:_0x242b7e,selection:_0x5bc063}=_0x50875d[_0x5c449a(0x3c3)],_0x5be081=_0x2bd960(_0x5bc063),_0x30c122=(_0x21410d=(_0x558a5f=this[_0x5c449a(0x27d)][_0x5c449a(0x33d)](this[_0x5c449a(0x2a5)],_0x242b7e))==null?void 0x0:_0x558a5f[_0x5c449a(0x2d1)])!=null?_0x21410d:_0x5c449a(0x1fa),_0xd94c41={'color':this[_0x5c449a(0x34a)][_0x5c449a(0x3e7)](_0x242b7e),'name':_0x30c122,'ranges':_0x5be081},_0x5ce659=this[_0x5c449a(0x333)];_0x5ce659[_0x5c449a(0x2a7)](_0x242b7e,_0xd94c41),this[_0x5c449a(0x214)][_0x5c449a(0x1c2)](_0x5ce659);}[_0x3b5918(0x1de)](_0xe013ab){const _0x2beb5d=_0x3b5918,{memberID:_0x5bdcaa}=_0xe013ab[_0x2beb5d(0x3c3)],_0x473de7=this[_0x2beb5d(0x333)];_0x473de7[_0x2beb5d(0x1a2)](_0x5bdcaa),this[_0x2beb5d(0x214)][_0x2beb5d(0x1c2)](_0x473de7);}[_0x3b5918(0x3b1)](){const _0x304545=_0x3b5918;var _0x551e89;if(this[_0x304545(0x3f1)]=!0x0,((_0x551e89=this[_0x304545(0x3af)][_0x304545(0x307)]())==null?void 0x0:_0x551e89[_0x304545(0x39a)]())!==this[_0x304545(0x2a5)])return;const _0x2e0f54=this['_injector']['get'](_0x2f1fcc[_0x304545(0x1be)])[_0x304545(0x30e)]();Array[_0x304545(0x19a)](_0x2e0f54)&&_0x2e0f54[_0x304545(0x399)]>0x0&&this[_0x304545(0x2d2)](_0x2e0f54);}[_0x3b5918(0x291)](){this['_online']=!0x1;}};_0x105960=_0x139ec5([_0x814107(0x2,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x37d)])),_0x814107(0x3,_0x458f8c[_0x3b5918(0x219)](_0x36bc68)),_0x814107(0x4,_0x458f8c[_0x3b5918(0x219)](_0x5b005f[_0x3b5918(0x2d6)])),_0x814107(0x5,_0x458f8c['Inject'](_0x28bc01)),_0x814107(0x6,_0xda915b[_0x3b5918(0x27f)]),_0x814107(0x7,_0x458f8c[_0x3b5918(0x2c0)]),_0x814107(0x8,_0x458f8c['ICommandService'])],_0x105960);var _0x1b2745=Object['getOwnPropertyDescriptor'],_0x3864da=(_0x5ed2fd,_0x27edfe,_0x5d2f20,_0x4441d4)=>{for(var _0x1547dc=_0x4441d4>0x1?void 0x0:_0x4441d4?_0x1b2745(_0x27edfe,_0x5d2f20):_0x27edfe,_0x1444d3=_0x5ed2fd['length']-0x1,_0x455ce8;_0x1444d3>=0x0;_0x1444d3--)(_0x455ce8=_0x5ed2fd[_0x1444d3])&&(_0x1547dc=_0x455ce8(_0x1547dc)||_0x1547dc);return _0x1547dc;},_0x4d3a1f=(_0x1a626f,_0x4d1c07)=>(_0x2d4429,_0x1a9f53)=>_0x4d1c07(_0x2d4429,_0x1a9f53,_0x1a626f);const _0x1c21e8=0x12c,_0x52b2a6=0x64,_0x44067a=()=>{let _0x501089=[],_0x10f0a7=!0x1;return _0x211417=>{const _0x283ed1=_0x20ed;_0x501089[_0x283ed1(0x1ba)](_0x211417),_0x10f0a7||(_0x10f0a7=!0x0,setTimeout(()=>{_0x501089['forEach'](_0x45d79a=>_0x45d79a()),_0x501089=[],_0x10f0a7=!0x1;}));};};let _0x13a896=class extends _0x458f8c['RxDisposable']{constructor(_0x4ce33b,_0x4297e5,_0x245f37,_0x21c628,_0x3ff0f2,_0x12ad28,_0x5f2a0d,_0x41b66e){const _0x5d9edc=_0x3b5918;super(),_0x491c37(this,_0x5d9edc(0x3f1),!0x1),_0x491c37(this,_0x5d9edc(0x32d),!0x1),_0x491c37(this,_0x5d9edc(0x214),new _0xcb3a0a['BehaviorSubject'](new Map())),_0x491c37(this,_0x5d9edc(0x18f),this[_0x5d9edc(0x214)][_0x5d9edc(0x1ed)]()),_0x491c37(this,_0x5d9edc(0x21d),new _0xcb3a0a[(_0x5d9edc(0x273))]([])),_0x491c37(this,_0x5d9edc(0x261),this[_0x5d9edc(0x21d)][_0x5d9edc(0x1b4)](_0xcb3a0a[_0x5d9edc(0x277)](_0x1c21e8))),_0x491c37(this,_0x5d9edc(0x2d2),_0x458f8c[_0x5d9edc(0x23f)]((_0x12aece,_0x4162a4)=>{const _0x128dbb=_0x5d9edc,_0x41559f={'eventID':_0xda915b['CollaborationEvent'][_0x128dbb(0x268)],'data':{'unitID':this['unitID'],'memberID':this[_0x128dbb(0x3bf)][_0x128dbb(0x1cb)](),'selection':_0x1c8522[_0x128dbb(0x36d)](_0x12aece,_0x4162a4[_0x128dbb(0x332)])}};this[_0x128dbb(0x3bf)][_0x128dbb(0x1fe)](_0x41559f,this[_0x128dbb(0x2a5)]);},_0x52b2a6)),(this[_0x5d9edc(0x2a5)]=_0x4ce33b,this[_0x5d9edc(0x3bf)]=_0x4297e5,this['_injector']=_0x245f37,this[_0x5d9edc(0x34a)]=_0x21c628,this['_memberService']=_0x3ff0f2,this['_univerInstanceService']=_0x12ad28,this['_commandService']=_0x5f2a0d,this[_0x5d9edc(0x392)]=_0x41b66e);}get[_0x3b5918(0x333)](){const _0x452736=_0x3b5918;return this[_0x452736(0x214)][_0x452736(0x18a)]();}get[_0x3b5918(0x23e)](){return this['_roomMembers$']['getValue']();}[_0x3b5918(0x2f9)](){const _0x5002cf=_0x3b5918;super[_0x5002cf(0x2f9)](),this[_0x5002cf(0x214)][_0x5002cf(0x1c2)](new Map()),this[_0x5002cf(0x214)]['complete'](),this[_0x5002cf(0x21d)][_0x5002cf(0x1c2)]([]),this[_0x5002cf(0x21d)][_0x5002cf(0x2a0)]();}[_0x3b5918(0x1f3)](){const _0x1d03d6=_0x3b5918;this[_0x1d03d6(0x32d)]||(this[_0x1d03d6(0x32d)]=!0x0,this[_0x1d03d6(0x3bf)]['sessionStatus$']['pipe'](_0xcb3a0a[_0x1d03d6(0x3fb)](this[_0x1d03d6(0x2f7)]))['subscribe'](_0x451368=>{const _0x406924=_0x1d03d6;_0x451368===_0x5b005f[_0x406924(0x23a)]['ONLINE']?this[_0x406924(0x3b1)]():this[_0x406924(0x291)]();}),this['_session'][_0x1d03d6(0x222)][_0x1d03d6(0x1b4)](_0xcb3a0a[_0x1d03d6(0x3fb)](this[_0x1d03d6(0x2f7)]))[_0x1d03d6(0x240)](_0x30e982=>{const _0x329b36=_0x1d03d6,_0x2f7655=_0x30e982[_0x329b36(0x1d4)];_0x2f7655===_0xda915b[_0x329b36(0x269)][_0x329b36(0x268)]&&this[_0x329b36(0x39d)](_0x30e982),_0x2f7655===_0xda915b['CollaborationEvent'][_0x329b36(0x1fc)]&&this[_0x329b36(0x1de)](_0x30e982);}),this[_0x1d03d6(0x33c)](),this[_0x1d03d6(0x266)](this[_0x1d03d6(0x3a2)][_0x1d03d6(0x1ab)](_0x57bb8a=>{const _0xcf9b28=_0x1d03d6;if(this[_0xcf9b28(0x3f1)]&&_0x57bb8a['id']===_0x4e3457[_0xcf9b28(0x2ea)]['id']&&_0x57bb8a['params']['unitId']===this[_0xcf9b28(0x2a5)]){const _0x1008fc=_0x57bb8a[_0xcf9b28(0x200)];this[_0xcf9b28(0x2d2)](_0x1008fc['subUnitId'],_0x1008fc[_0xcf9b28(0x3e8)][0x0]);}})));}[_0x3b5918(0x39d)](_0x3cba8e){const _0x5bf734=_0x3b5918;var _0x2534e6,_0x23c779;const {memberID:_0x1b0f69,selection:_0x2b5227}=_0x3cba8e[_0x5bf734(0x3c3)],{sheetName:_0x55597c,range:_0x29289e}=_0x1c8522[_0x5bf734(0x372)](_0x2b5227),_0x33175a={'name':(_0x23c779=(_0x2534e6=this[_0x5bf734(0x27d)]['getMember'](this[_0x5bf734(0x2a5)],_0x1b0f69))==null?void 0x0:_0x2534e6[_0x5bf734(0x2d1)])!=null?_0x23c779:_0x5bf734(0x1fa),'range':this[_0x5bf734(0x3b3)](_0x55597c,_0x29289e),'sheetID':_0x55597c,'color':this[_0x5bf734(0x34a)]['assignAColorForMemberID'](_0x1b0f69),'selection':_0x2b5227},_0x14a93e=this[_0x5bf734(0x333)];_0x14a93e['set'](_0x1b0f69,_0x33175a),this[_0x5bf734(0x214)]['next'](_0x14a93e);}['_onCursorDelete'](_0x737e8e){const _0x71013=_0x3b5918,{memberID:_0x30312c}=_0x737e8e[_0x71013(0x3c3)],_0x232e9f=this['cursorInfo'];_0x232e9f['delete'](_0x30312c),this[_0x71013(0x214)][_0x71013(0x1c2)](_0x232e9f);}[_0x3b5918(0x3b3)](_0x46e73a,_0x1dccaf){const _0x4f3e41=_0x3b5918;var _0x2ee0ac,_0xf51dfb;const _0x5673bc=(_0xf51dfb=(_0x2ee0ac=this[_0x4f3e41(0x3af)][_0x4f3e41(0x1e4)](this[_0x4f3e41(0x2a5)]))==null?void 0x0:_0x2ee0ac['getSheetBySheetId'](_0x46e73a))==null?void 0x0:_0xf51dfb['getMergeData']();return(_0x5673bc==null?void 0x0:_0x5673bc[_0x4f3e41(0x25a)](_0x6774a7=>_0x458f8c[_0x4f3e41(0x2d3)][_0x4f3e41(0x381)](_0x6774a7,_0x1dccaf)))||_0x1dccaf;}[_0x3b5918(0x33c)](){const _0x46e04b=_0x3b5918,_0x5bf5c2=new _0x458f8c[(_0x46e04b(0x3ac))](),_0x276596=_0x44067a(),_0xe7c530=()=>{const _0x46f260=_0x46e04b;_0x5bf5c2[_0x46f260(0x2f9)]();const _0x11e4a9=(_0x54267c,_0x4987e1,_0x5d8baf,_0x545e14)=>{const _0x202e44=_0x46f260;let _0x5a05f1=[];switch(_0x54267c['id']){case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x32f)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x2e7)](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x262)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x36a)](_0x54267c,_0x545e14);break;}case _0x4e3457['EffectRefRangId'][_0x202e44(0x385)]:{_0x5a05f1=_0x4e3457['handleInsertCol'](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x2ae)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x294)](_0x54267c,_0x545e14);break;}case _0x4e3457['EffectRefRangId'][_0x202e44(0x3a4)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x1db)](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x18e)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x2cd)](_0x54267c,_0x545e14);break;}case _0x4e3457['EffectRefRangId'][_0x202e44(0x1cf)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x18d)](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x315)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x1ff)](_0x54267c,_0x545e14);break;}case _0x4e3457[_0x202e44(0x3d5)][_0x202e44(0x2f6)]:{_0x5a05f1=_0x4e3457[_0x202e44(0x33b)](_0x54267c,_0x545e14);break;}}const _0x1c1476=_0x4e3457['runRefRangeMutations'](_0x5a05f1,_0x545e14),_0x3149fe=this[_0x202e44(0x333)][_0x202e44(0x357)](_0x4987e1);if(_0x3149fe&&_0x1c1476){const _0xfb606b={..._0x3149fe,'range':_0x1c1476};this[_0x202e44(0x333)][_0x202e44(0x2a7)](_0x4987e1,_0xfb606b),_0x276596(()=>{const _0x406290=_0x202e44,_0x3fd711=this[_0x406290(0x392)]['registerRefRange'](_0x1c1476,_0x3b5587=>(_0x3fd711['dispose'](),_0x11e4a9(_0x3b5587,_0x4987e1,_0x5d8baf,_0x1c1476)));_0x5bf5c2['add'](_0x3fd711);});}return{'redos':[],'undos':[]};};this[_0x46f260(0x333)]['forEach']((_0x5c079d,_0x37be0a)=>{const _0xea7dfa=_0x46f260,{range:_0x2ac17d,sheetID:_0x1635e2}=_0x5c079d,_0x2db5f5=this['_refRangeService'][_0xea7dfa(0x300)](_0x2ac17d,_0x56434c=>(_0x2db5f5['dispose'](),_0x11e4a9(_0x56434c,_0x37be0a,_0x1635e2,_0x2ac17d)));_0x5bf5c2[_0xea7dfa(0x339)](_0x2db5f5);});};this[_0x46e04b(0x266)](_0x458f8c['toDisposable'](this[_0x46e04b(0x214)][_0x46e04b(0x240)](()=>{_0xe7c530();})));}[_0x3b5918(0x3b1)](){const _0x16a2c1=_0x3b5918;var _0xbd0b7d,_0xa4b13b;if(this[_0x16a2c1(0x3f1)]=!0x0,((_0xbd0b7d=this[_0x16a2c1(0x3af)][_0x16a2c1(0x307)]())==null?void 0x0:_0xbd0b7d[_0x16a2c1(0x39a)]())!==this[_0x16a2c1(0x2a5)])return;const _0x3415dc=(_0xa4b13b=this[_0x16a2c1(0x391)][_0x16a2c1(0x357)](_0x4e3457[_0x16a2c1(0x27c)])['getCurrentSelections']())==null?void 0x0:_0xa4b13b[0x0],_0xaf1216=this[_0x16a2c1(0x3af)][_0x16a2c1(0x16d)](_0x458f8c[_0x16a2c1(0x1b3)][_0x16a2c1(0x3ea)])[_0x16a2c1(0x202)]();_0x3415dc&&_0xaf1216&&this[_0x16a2c1(0x2d2)](_0xaf1216[_0x16a2c1(0x2e3)](),_0x3415dc);}[_0x3b5918(0x291)](){this['_online']=!0x1;}};_0x13a896=_0x3864da([_0x4d3a1f(0x2,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x37d)])),_0x4d3a1f(0x3,_0x458f8c[_0x3b5918(0x219)](_0x36bc68)),_0x4d3a1f(0x4,_0x458f8c[_0x3b5918(0x219)](_0x5b005f[_0x3b5918(0x2d6)])),_0x4d3a1f(0x5,_0x458f8c[_0x3b5918(0x2c0)]),_0x4d3a1f(0x6,_0x458f8c[_0x3b5918(0x321)]),_0x4d3a1f(0x7,_0x458f8c[_0x3b5918(0x219)](_0x4e3457[_0x3b5918(0x3ba)]))],_0x13a896);var _0x4b3be6=Object['getOwnPropertyDescriptor'],_0x583ce6=(_0x23eea8,_0x47fb2d,_0x415346,_0x1fc03e)=>{const _0x4070af=_0x3b5918;for(var _0x17434a=_0x1fc03e>0x1?void 0x0:_0x1fc03e?_0x4b3be6(_0x47fb2d,_0x415346):_0x47fb2d,_0xd9188e=_0x23eea8[_0x4070af(0x399)]-0x1,_0xa332b1;_0xd9188e>=0x0;_0xd9188e--)(_0xa332b1=_0x23eea8[_0xd9188e])&&(_0x17434a=_0xa332b1(_0x17434a)||_0x17434a);return _0x17434a;},_0x48fa35=(_0x3b2ec7,_0x5e8154)=>(_0x431765,_0x299a92)=>_0x5e8154(_0x431765,_0x299a92,_0x3b2ec7);let _0x3c03bf=class extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(_0x57fdfd,_0x2380e7,_0x50d60d){const _0x1ed9f7=_0x3b5918;super(),_0x491c37(this,_0x1ed9f7(0x21a),new Map()),_0x491c37(this,_0x1ed9f7(0x2c8),new _0xcb3a0a['Subject']()),(this[_0x1ed9f7(0x3af)]=_0x57fdfd,this['_injector']=_0x2380e7,this[_0x1ed9f7(0x1d0)]=_0x50d60d,this['_init']());}[_0x3b5918(0x2f9)](){const _0x26a422=_0x3b5918;super[_0x26a422(0x2f9)](),this[_0x26a422(0x2c8)][_0x26a422(0x2a0)](),this[_0x26a422(0x21a)][_0x26a422(0x38d)](_0x304ee7=>_0x304ee7[_0x26a422(0x2f9)]());}[_0x3b5918(0x251)](_0x2c0e80){const _0x381d60=_0x3b5918;return this[_0x381d60(0x21a)][_0x381d60(0x1b7)](_0x2c0e80)?this[_0x381d60(0x21a)]['get'](_0x2c0e80)['cursorInfo$']:this[_0x381d60(0x2c8)][_0x381d60(0x1b4)](_0xcb3a0a[_0x381d60(0x232)](_0x1dd5ee=>_0x1dd5ee[_0x381d60(0x2a5)]===_0x2c0e80),_0xcb3a0a[_0x381d60(0x308)](_0x5c87bb=>_0x5c87bb[_0x381d60(0x18f)]));}[_0x3b5918(0x32d)](){const _0x58fa6d=_0x3b5918;this[_0x58fa6d(0x3af)]['getTypeOfUnitAdded$'](_0x458f8c['UniverInstanceType'][_0x58fa6d(0x3ea)])[_0x58fa6d(0x1b4)](_0xcb3a0a[_0x58fa6d(0x3fb)](this[_0x58fa6d(0x2f7)]))[_0x58fa6d(0x240)](async _0x2fa3f7=>{const _0x46c899=_0x58fa6d,_0x1dd50d=_0x2fa3f7[_0x46c899(0x39a)](),_0x37fcf5=await this[_0x46c899(0x2ce)](_0x1dd50d);this[_0x46c899(0x2c8)]['next'](_0x37fcf5),this['_entities']['set'](_0x1dd50d,_0x37fcf5);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x458f8c[_0x58fa6d(0x1b3)][_0x58fa6d(0x3dc)])[_0x58fa6d(0x1b4)](_0xcb3a0a['takeUntil'](this[_0x58fa6d(0x2f7)]))[_0x58fa6d(0x1b4)](_0xcb3a0a['filter'](_0x525dee=>!_0x525dee['getUnitId']()[_0x58fa6d(0x20c)]('__')))[_0x58fa6d(0x240)](async _0x289e24=>{const _0x47aace=_0x58fa6d,_0x409e1f=_0x289e24[_0x47aace(0x39a)](),_0x3b5514=await this['_startDocCollabCursor'](_0x409e1f);this[_0x47aace(0x2c8)][_0x47aace(0x1c2)](_0x3b5514),this[_0x47aace(0x21a)][_0x47aace(0x2a7)](_0x409e1f,_0x3b5514);}),_0xcb3a0a[_0x58fa6d(0x221)](this['_univerInstanceService'][_0x58fa6d(0x329)](_0x458f8c[_0x58fa6d(0x1b3)][_0x58fa6d(0x3dc)]),this[_0x58fa6d(0x3af)]['getTypeOfUnitDisposed$'](_0x458f8c[_0x58fa6d(0x1b3)][_0x58fa6d(0x3ea)]))[_0x58fa6d(0x1b4)](_0xcb3a0a[_0x58fa6d(0x3fb)](this['dispose$']))[_0x58fa6d(0x240)](_0x433c3f=>{const _0x1e9432=_0x58fa6d,_0x3059cb=_0x433c3f[_0x1e9432(0x39a)](),_0x5db8cd=this['_entities'][_0x1e9432(0x357)](_0x3059cb);_0x5db8cd&&(_0x5db8cd[_0x1e9432(0x2f9)](),this['_entities'][_0x1e9432(0x1a2)](_0x3059cb));});}async[_0x3b5918(0x2ce)](_0x313ffc){const _0x1d59ec=_0x3b5918,_0x3c3f80=await this[_0x1d59ec(0x1d0)][_0x1d59ec(0x215)](_0x313ffc),_0x405492=this[_0x1d59ec(0x391)]['createInstance'](_0x13a896,_0x313ffc,_0x3c3f80);return _0x405492[_0x1d59ec(0x1f3)](),_0x405492;}async[_0x3b5918(0x302)](_0x42df17){const _0x280614=_0x3b5918,_0x2342cb=await this[_0x280614(0x1d0)][_0x280614(0x215)](_0x42df17),_0x38387d=this['_injector'][_0x280614(0x1c1)](_0x105960,_0x42df17,_0x2342cb);return _0x38387d[_0x280614(0x1f3)](),_0x38387d;}};_0x3c03bf=_0x583ce6([_0x48fa35(0x0,_0x458f8c[_0x3b5918(0x2c0)]),_0x48fa35(0x1,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x37d)])),_0x48fa35(0x2,_0x458f8c[_0x3b5918(0x219)](_0x5b005f['CollaborationSessionService']))],_0x3c03bf);const _0x4fdf9f=0x14,_0x38bd92=0xc8,_0x4290d0=0x4,_0x15c729=0x5;function _0x43757c(_0xc1b1e2,_0xa02994){const _0x3aa5a0=_0x3b5918;let {radius:_0x106cca,width:_0x35de0a,height:_0x918576}=_0xa02994;_0x106cca=_0x106cca!=null?_0x106cca:0x0,_0x35de0a=_0x35de0a!=null?_0x35de0a:0x1e,_0x918576=_0x918576!=null?_0x918576:0x1e;let _0x48d000=0x0,_0x20b6cc=0x0,_0x5300a2=0x0;_0x48d000=_0x20b6cc=_0x5300a2=Math[_0x3aa5a0(0x1a5)](_0x106cca,_0x35de0a/0x2,_0x918576/0x2),_0xc1b1e2['beginPath'](),_0xc1b1e2[_0x3aa5a0(0x3f3)](_0x48d000,0x0),_0xc1b1e2['lineTo'](_0x35de0a-_0x20b6cc,0x0),_0xc1b1e2[_0x3aa5a0(0x253)](_0x35de0a-_0x20b6cc,_0x20b6cc,_0x20b6cc,Math['PI']*0x3/0x2,0x0,!0x1),_0xc1b1e2[_0x3aa5a0(0x3f2)](_0x35de0a,_0x918576-_0x5300a2),_0xc1b1e2[_0x3aa5a0(0x253)](_0x35de0a-_0x5300a2,_0x918576-_0x5300a2,_0x5300a2,0x0,Math['PI']/0x2,!0x1),_0xc1b1e2[_0x3aa5a0(0x3f2)](0x0,_0x918576),_0xc1b1e2[_0x3aa5a0(0x3f2)](0x0,_0x48d000),_0xc1b1e2[_0x3aa5a0(0x253)](_0x48d000,_0x48d000,_0x48d000,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xc1b1e2[_0x3aa5a0(0x3e4)](),_0xa02994[_0x3aa5a0(0x31b)]&&(_0xc1b1e2[_0x3aa5a0(0x356)](),_0xc1b1e2[_0x3aa5a0(0x204)]=_0xa02994[_0x3aa5a0(0x31b)],_0xa02994[_0x3aa5a0(0x398)]===_0x3aa5a0(0x208)?_0xc1b1e2[_0x3aa5a0(0x31b)](_0x3aa5a0(0x208)):_0xc1b1e2['fill'](),_0xc1b1e2['restore']());}class _0x336f5a extends _0x268e65['Shape']{constructor(_0x2a270f,_0xa9f25e){const _0x1d6b69=_0x3b5918;super(_0x2a270f,_0xa9f25e),_0x491c37(this,_0x1d6b69(0x186)),_0x491c37(this,'text'),(this['color']=_0xa9f25e==null?void 0x0:_0xa9f25e[_0x1d6b69(0x186)],this['text']=_0xa9f25e==null?void 0x0:_0xa9f25e[_0x1d6b69(0x210)]);}static[_0x3b5918(0x37c)](_0x51e4f6,_0xb70c17){const _0x2d71bd=_0x3b5918,{text:_0x51354c,color:_0xe7663d}=_0xb70c17;_0x51e4f6['save'](),_0x51e4f6[_0x2d71bd(0x34b)]=_0x2d71bd(0x275);const _0x1e016c=_0x51e4f6[_0x2d71bd(0x21c)](_0x51354c)[_0x2d71bd(0x2b5)],_0x554552=Math[_0x2d71bd(0x1a5)](_0x1e016c+0x2*_0x4290d0,_0x38bd92);_0x43757c(_0x51e4f6,{'height':_0x4fdf9f,'radius':0x4,'width':_0x554552,'fill':_0xe7663d}),_0x51e4f6[_0x2d71bd(0x204)]=_0x2d71bd(0x1e6);const _0x540f42=_0x4290d0,_0x1cccf0=_0x4fdf9f-_0x15c729,_0x1d2062=_0x38bd92-0x2*_0x4290d0;if(_0x1e016c>_0x1d2062){let _0x252d0e='',_0x316a7a=0x0;for(const _0x3f4387 of _0x51354c){const _0x444e68=_0x51e4f6[_0x2d71bd(0x21c)](_0x3f4387)['width'];if(_0x316a7a+_0x444e68<=_0x1d2062-_0x51e4f6[_0x2d71bd(0x21c)]('...')[_0x2d71bd(0x2b5)])_0x252d0e+=_0x3f4387,_0x316a7a+=_0x444e68;else{_0x252d0e+=_0x2d71bd(0x17c);break;}}_0x51e4f6[_0x2d71bd(0x39c)](_0x252d0e,_0x540f42,_0x1cccf0);}else _0x51e4f6[_0x2d71bd(0x39c)](_0x51354c,_0x540f42,_0x1cccf0);_0x51e4f6[_0x2d71bd(0x192)]();}['_draw'](_0x22153a){const _0x59d5aa=_0x3b5918;_0x336f5a[_0x59d5aa(0x37c)](_0x22153a,this);}}const _0x2c9ddb=_0x3b5918(0x3d3),_0x5b5524=_0x3b5918(0x1d3),_0x19004e=_0x3b5918(0x358),_0x43ac55=0x6,_0x2001da=1.5,_0x2766ec=0x4,_0x302e6d=1.5,_0x15e63f=_0x3b5918(0x351);class _0x4eda02{constructor(_0x36fa70,_0x31a168,_0x51d14f,_0xe70c88){const _0x61e309=_0x3b5918;_0x491c37(this,_0x61e309(0x3c8),[]),_0x491c37(this,_0x61e309(0x3a7),null),_0x491c37(this,_0x61e309(0x2e0),null),_0x491c37(this,'_anchorDot',null),_0x491c37(this,_0x61e309(0x247),null),_0x491c37(this,_0x61e309(0x371),null),(this[_0x61e309(0x346)]=_0x36fa70,this['_scene']=_0x31a168,this[_0x61e309(0x1f9)]=_0x51d14f,this['_document']=_0xe70c88,this[_0x61e309(0x298)]());}set['_hover'](_0x5ae17a){const _0x1cb3b3=_0x3b5918;_0x5ae17a?(this['_anchorDot']&&this[_0x1cb3b3(0x2df)][_0x1cb3b3(0x260)](),this[_0x1cb3b3(0x2e0)]&&this[_0x1cb3b3(0x2e0)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x1cb3b3(0x3f9)](),this[_0x1cb3b3(0x2e0)]&&this[_0x1cb3b3(0x2e0)]['hide']());}[_0x3b5918(0x2f9)](){const _0x5e674e=_0x3b5918;for(const _0x5d7688 of this['_shapes'])_0x5d7688[_0x5e674e(0x2f9)]();this[_0x5e674e(0x2e0)]&&this[_0x5e674e(0x2e0)]['dispose'](),this[_0x5e674e(0x2df)]&&this[_0x5e674e(0x2df)][_0x5e674e(0x2f9)](),this[_0x5e674e(0x3a7)]&&this[_0x5e674e(0x3a7)][_0x5e674e(0x2f9)](),this[_0x5e674e(0x371)]&&this[_0x5e674e(0x371)]();}[_0x3b5918(0x298)](){const _0x120ea3=_0x3b5918;var _0x10d15b;const {_docSkeleton:_0x22bb0b,_document:_0x5aae7b}=this,{color:_0x143c94,name:_0x152d42,ranges:_0x41b5d0}=this[_0x120ea3(0x346)],_0x2a0aa7=_0x5aae7b['getOffsetConfig'](),{docsLeft:_0x1de6e6,docsTop:_0x3b9cda}=_0x2a0aa7,_0x40826f=new _0x3fd6d1[(_0x120ea3(0x1b9))](_0x2a0aa7,_0x22bb0b);for(const {startOffset:_0x354db5,endOffset:_0x33595f,rangeType:_0x4e6f28,segmentId:_0x228b07,segmentPage:_0x124838,collapsed:_0x3fd696,isActive:_0x3c85d3}of _0x41b5d0){const _0x564db0=_0x22bb0b[_0x120ea3(0x3e2)](_0x354db5,!0x0,_0x228b07,_0x124838);let _0x366d90=_0x22bb0b[_0x120ea3(0x3e2)](_0x33595f,!0x0,_0x228b07,_0x124838);if(_0x366d90==null&&(_0x366d90=_0x22bb0b['findNodePositionByCharIndex'](_0x33595f-0x1,!0x1,_0x228b07,_0x124838)),_0x3c85d3){const {contentBoxPointGroup:_0x118490}=_0x40826f[_0x120ea3(0x26d)](_0x366d90,_0x366d90);if(_0x118490[_0x120ea3(0x399)]===0x0)continue;this[_0x120ea3(0x393)](_0x143c94,_0x118490,_0x1de6e6,_0x3b9cda,_0x152d42),this[_0x120ea3(0x371)]=this['_handleHover']();}if(_0x564db0&&_0x366d90){if(_0x4e6f28===_0x458f8c[_0x120ea3(0x2e2)][_0x120ea3(0x278)]){const _0x2ecd61=new _0x3fd6d1['NodePositionConvertToRectRange'](_0x2a0aa7,_0x22bb0b),{pointGroup:_0x1c1b84}=(_0x10d15b=_0x2ecd61['getRangePointData'](_0x564db0,_0x366d90))!=null?_0x10d15b:{};if(_0x1c1b84==null||_0x1c1b84['length']===0x0)continue;this[_0x120ea3(0x2ca)](_0x143c94,_0x1c1b84,_0x1de6e6,_0x3b9cda);}else{if(!_0x3fd696){const {borderBoxPointGroup:_0x15a092}=_0x40826f[_0x120ea3(0x26d)](_0x564db0,_0x366d90);if(_0x15a092[_0x120ea3(0x399)]===0x0)continue;this[_0x120ea3(0x355)](_0x143c94,_0x15a092,_0x1de6e6,_0x3b9cda);}}}}}['_drawAnchor'](_0x1ffcd2,_0x3df0fb,_0x5e16e1,_0x2ee6cb,_0x235880){const _0x266db9=_0x3b5918,_0x547dc4=this['_getAnchorBounding'](_0x3df0fb),{left:_0x42baee,top:_0x1d7b4b,height:_0x510f06}=_0x547dc4,_0x206581=this['_getScale'](),_0x3af569=_0x302e6d/_0x206581,_0x57d71e=new _0x268e65[(_0x266db9(0x2bc))](_0x2c9ddb+_0x458f8c[_0x266db9(0x29e)][_0x266db9(0x3a6)](_0x43ac55),{'left':_0x42baee+_0x5e16e1-_0x3af569,'top':_0x1d7b4b+_0x2ee6cb,'height':_0x510f06,'width':_0x2001da,'fill':_0x1ffcd2||_0x268e65[_0x266db9(0x2fa)](_0x458f8c[_0x266db9(0x1e0)][_0x266db9(0x25c)],0x0),'strokeWidth':_0x3af569,'stroke':_0x15e63f,'evented':!0x0});this[_0x266db9(0x3a7)]=_0x57d71e,this['_scene']['addObject'](_0x57d71e,_0x3fd6d1[_0x266db9(0x2e9)]);const _0x1b26e0=new _0x268e65[(_0x266db9(0x2bc))](_0x2c9ddb+_0x458f8c[_0x266db9(0x29e)][_0x266db9(0x3a6)](_0x43ac55),{'left':_0x42baee+_0x5e16e1-_0x3af569,'top':_0x1d7b4b+_0x2ee6cb-_0x2766ec/0x2,'height':_0x2766ec,'width':_0x2766ec,'fill':_0x1ffcd2||_0x268e65[_0x266db9(0x2fa)](_0x458f8c['COLORS'][_0x266db9(0x25c)],0x0),'strokeWidth':0x0,'stroke':_0x1ffcd2||_0x268e65[_0x266db9(0x2fa)](_0x458f8c[_0x266db9(0x1e0)][_0x266db9(0x25c)],0x0),'evented':!0x1});this[_0x266db9(0x2df)]=_0x1b26e0,this[_0x266db9(0x3d4)][_0x266db9(0x3d6)](_0x1b26e0,_0x3fd6d1[_0x266db9(0x2e9)]);const _0x1d66df=new _0x336f5a(_0x2c9ddb+_0x458f8c[_0x266db9(0x29e)]['generateRandomId'](_0x43ac55),{'left':_0x42baee+_0x5e16e1-_0x3af569,'top':_0x1d7b4b+_0x2ee6cb-_0x4fdf9f,'text':_0x235880,'color':_0x1ffcd2});this[_0x266db9(0x2e0)]=_0x1d66df,this[_0x266db9(0x3d4)]['addObject'](_0x1d66df,_0x3fd6d1[_0x266db9(0x2e9)]),this['_hover']=!0x1;}['_handleHover'](){const _0x16bec1=_0x3b5918,_0x150f4b=this[_0x16bec1(0x3a7)][_0x16bec1(0x199)][_0x16bec1(0x2b6)](()=>{this['_hover']=!0x0;}),_0x2de5c5=this['_anchor'][_0x16bec1(0x1e2)][_0x16bec1(0x2b6)](()=>{const _0x5ea432=_0x16bec1;this[_0x5ea432(0x247)]&&clearTimeout(this[_0x5ea432(0x247)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x560359=_0x16bec1;_0x150f4b[_0x560359(0x1e3)](),_0x2de5c5['unsubscribe']();};}[_0x3b5918(0x355)](_0xc86acd,_0x50884d,_0x21caa1,_0x5d0712){const _0x3c4022=_0x3b5918,_0x430844=new _0x458f8c[(_0x3c4022(0x270))](_0xc86acd)['setAlpha'](0.2)[_0x3c4022(0x1e1)](),_0x32e7ab=new _0x268e65['RegularPolygon'](_0x5b5524+_0x458f8c[_0x3c4022(0x29e)][_0x3c4022(0x3a6)](_0x43ac55),{'pointsGroup':_0x50884d,'fill':_0x430844||_0x268e65[_0x3c4022(0x2fa)](_0x458f8c['COLORS'][_0x3c4022(0x25c)],0.2),'left':_0x21caa1,'top':_0x5d0712,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3c4022(0x1ba)](_0x32e7ab),this[_0x3c4022(0x3d4)][_0x3c4022(0x3d6)](_0x32e7ab,_0x3fd6d1[_0x3c4022(0x2e9)]);}[_0x3b5918(0x2ca)](_0x2cee74,_0x591080,_0x5bc612,_0x2ac388){const _0x595978=_0x3b5918,_0x3c92bb=new _0x458f8c['ColorKit'](_0x2cee74)[_0x595978(0x211)](0.2)[_0x595978(0x1e1)](),_0x27da6e=new _0x268e65[(_0x595978(0x2ac))](_0x19004e+_0x458f8c[_0x595978(0x29e)]['generateRandomId'](_0x43ac55),{'pointsGroup':_0x591080,'fill':_0x3c92bb||_0x268e65[_0x595978(0x2fa)](_0x458f8c[_0x595978(0x1e0)][_0x595978(0x25c)],0.2),'left':_0x5bc612,'top':_0x2ac388,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x595978(0x3c8)][_0x595978(0x1ba)](_0x27da6e),this[_0x595978(0x3d4)][_0x595978(0x3d6)](_0x27da6e,_0x3fd6d1[_0x595978(0x2e9)]);}[_0x3b5918(0x31f)](_0x189eca){const _0x58d51a=_0x189eca[0x0],_0x1615ea=_0x58d51a[0x0],_0x29bab5=_0x58d51a[0x2],{x:_0x4130b8,y:_0x19f40e}=_0x1615ea,{x:_0x5ccacb,y:_0x3df70c}=_0x29bab5;return{'left':_0x4130b8,'top':_0x19f40e,'width':_0x5ccacb-_0x4130b8,'height':_0x3df70c-_0x19f40e};}[_0x3b5918(0x191)](){const _0xdb0647=_0x3b5918,{scaleX:_0x2ab870,scaleY:_0x3bd291}=this[_0xdb0647(0x3d4)][_0xdb0647(0x2c4)]();return Math[_0xdb0647(0x27e)](_0x2ab870,_0x3bd291);}}var _0x53884f=Object[_0x3b5918(0x1a0)],_0x114839=(_0x4e33b5,_0x33eee0,_0x2b5181,_0x1a256f)=>{const _0x32072e=_0x3b5918;for(var _0x4aeb23=_0x1a256f>0x1?void 0x0:_0x1a256f?_0x53884f(_0x33eee0,_0x2b5181):_0x33eee0,_0x7b0099=_0x4e33b5[_0x32072e(0x399)]-0x1,_0x25ac62;_0x7b0099>=0x0;_0x7b0099--)(_0x25ac62=_0x4e33b5[_0x7b0099])&&(_0x4aeb23=_0x25ac62(_0x4aeb23)||_0x4aeb23);return _0x4aeb23;},_0x3cf8e8=(_0x31b46e,_0x1749c0)=>(_0x1177e7,_0x316547)=>_0x1749c0(_0x1177e7,_0x316547,_0x31b46e);let _0x59373c=class extends _0x458f8c['RxDisposable']{constructor(_0x52051a,_0x451d8f,_0x5caa66,_0x1d4c53,_0x4fdf40){const _0x730a1b=_0x3b5918;super(),_0x491c37(this,_0x730a1b(0x1b1),[]),_0x491c37(this,_0x730a1b(0x16b),[]),(this[_0x730a1b(0x3a0)]=_0x52051a,this['_docSkeletonManagerService']=_0x451d8f,this['_collabCursorController']=_0x5caa66,this[_0x730a1b(0x3a2)]=_0x1d4c53,this[_0x730a1b(0x1b8)]=_0x4fdf40,this[_0x730a1b(0x32d)]());}['_init'](){const _0x36ff28=_0x3b5918,_0x5d3908=this[_0x36ff28(0x3a0)][_0x36ff28(0x3be)],_0x2927b3=this[_0x36ff28(0x2d8)];this[_0x36ff28(0x266)](_0xcb3a0a['combineLatest']([this[_0x36ff28(0x26b)][_0x36ff28(0x251)](_0x5d3908),this[_0x36ff28(0x1b8)][_0x36ff28(0x2da)]])['pipe'](_0x33e39c['map'](([_0x5bf572,_0x546701])=>({'skeleton':_0x2927b3['getSkeleton'](),'cursors':[..._0x5bf572[_0x36ff28(0x31e)]()]['flatMap'](_0x3f32e0=>({..._0x3f32e0,'color':_0x546701[_0x3f32e0[_0x36ff28(0x186)]]}))})))[_0x36ff28(0x240)](_0x47f42a=>{const _0x5ea67e=_0x36ff28;if(this[_0x5ea67e(0x2bb)](),_0x47f42a){const {skeleton:_0x2dde6d,cursors:_0x1a28fe}=_0x47f42a;this[_0x5ea67e(0x1c3)](_0x2dde6d,_0x1a28fe);}})),this[_0x36ff28(0x201)](),this[_0x36ff28(0x218)]();}['_updateCollabCursors'](_0x54d40b,_0x4551b0){const _0x3a5858=_0x3b5918,{scene:_0x25dc28,mainComponent:_0x76dadc}=this[_0x3a5858(0x3a0)],_0x4597e7=_0x4551b0[_0x3a5858(0x1ad)](_0x5c1862=>new _0x4eda02(_0x5c1862,_0x25dc28,_0x54d40b,_0x76dadc));this[_0x3a5858(0x1b1)]=_0x4597e7,this['_cursors']=_0x4551b0;}[_0x3b5918(0x21f)](){const _0x117e10=_0x3b5918;this[_0x117e10(0x2bb)]();const {scene:_0x77ab1a,mainComponent:_0x402762}=this[_0x117e10(0x3a0)],_0x20b870=this['_docSkeletonManagerService']['getSkeleton'](),_0x105584=this['_cursors'][_0x117e10(0x1ad)](_0x2d385d=>new _0x4eda02(_0x2d385d,_0x77ab1a,_0x20b870,_0x402762));this[_0x117e10(0x1b1)]=_0x105584;}[_0x3b5918(0x2bb)](){const _0x3dd19f=_0x3b5918;this[_0x3dd19f(0x1b1)][_0x3dd19f(0x38d)](_0x11755b=>_0x11755b[_0x3dd19f(0x2f9)]()),this[_0x3dd19f(0x1b1)]=[];}[_0x3b5918(0x218)](){const _0x4160d4=_0x3b5918,_0x30ad8f=[_0x3fd6d1['SetDocZoomRatioOperation']['id']];this[_0x4160d4(0x266)](this['_commandService'][_0x4160d4(0x1ab)](_0x176929=>{const _0x16adcc=_0x4160d4;_0x30ad8f[_0x16adcc(0x258)](_0x176929['id'])&&_0x176929[_0x16adcc(0x200)][_0x16adcc(0x3be)]===this[_0x16adcc(0x3a0)][_0x16adcc(0x3be)]&&this[_0x16adcc(0x21f)]();}));}[_0x3b5918(0x201)](){const _0x1b1b47=_0x3b5918;this['disposeWithMe'](_0x458f8c[_0x1b1b47(0x292)](this[_0x1b1b47(0x3a0)][_0x1b1b47(0x175)][_0x1b1b47(0x2e4)])[_0x1b1b47(0x1b4)](_0x33e39c[_0x1b1b47(0x232)](_0x4bb5de=>_0x4bb5de[_0x1b1b47(0x382)]===_0x268e65[_0x1b1b47(0x344)]['resize']),_0x33e39c[_0x1b1b47(0x3e1)](0x10))['subscribe'](()=>{const _0x48e49d=_0x1b1b47;this[_0x48e49d(0x21f)]();}));}};_0x59373c=_0x114839([_0x3cf8e8(0x1,_0x458f8c['Inject'](_0x2f1fcc['DocSkeletonManagerService'])),_0x3cf8e8(0x2,_0x458f8c[_0x3b5918(0x219)](_0x3c03bf)),_0x3cf8e8(0x3,_0x458f8c[_0x3b5918(0x321)]),_0x3cf8e8(0x4,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x29a)]))],_0x59373c);const _0x530089=0x1,_0x3cf659=1.5;class _0xf6c169 extends _0x268e65[_0x3b5918(0x3cd)]{constructor(_0x296348,_0x1e3df4){const _0x592aef=_0x3b5918;super(_0x296348,_0x1e3df4),_0x491c37(this,_0x592aef(0x229)),_0x491c37(this,_0x592aef(0x337),!0x1),_0x491c37(this,_0x592aef(0x2c6)),_0x491c37(this,_0x592aef(0x2b7),''),_0x491c37(this,_0x592aef(0x38b),_0x592aef(0x1c5)),_0x491c37(this,_0x592aef(0x19f)),(_0x1e3df4&&this[_0x592aef(0x1f8)](_0x1e3df4),this[_0x592aef(0x199)]['subscribeEvent'](()=>this[_0x592aef(0x1f8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x592aef(0x2b6)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3b5918(0x1f8)](_0x2a26cc){const _0x50a74f=_0x3b5918;var _0x5c69d2,_0x10872d,_0x3c5e6e,_0x27bb3e,_0x383783,_0x12fa57;this['_color']=(_0x5c69d2=_0x2a26cc['color'])!=null?_0x5c69d2:this['_color'],this['_hovered']=(_0x10872d=_0x2a26cc[_0x50a74f(0x26a)])!=null?_0x10872d:this['_hovered'],this[_0x50a74f(0x2c6)]=(_0x3c5e6e=_0x2a26cc[_0x50a74f(0x332)])!=null?_0x3c5e6e:this[_0x50a74f(0x2c6)],this[_0x50a74f(0x2b7)]=(_0x27bb3e=_0x2a26cc[_0x50a74f(0x2d1)])!=null?_0x27bb3e:this[_0x50a74f(0x2b7)],this[_0x50a74f(0x38b)]=(_0x383783=_0x2a26cc['labelPosition'])!=null?_0x383783:this['_labelPosition'],this[_0x50a74f(0x19f)]=(_0x12fa57=_0x2a26cc[_0x50a74f(0x2a4)])!=null?_0x12fa57:this[_0x50a74f(0x19f)],this[_0x50a74f(0x3c1)]({'width':_0x2a26cc[_0x50a74f(0x2b5)],'height':_0x2a26cc[_0x50a74f(0x173)]});}['onMouseMove'](_0x81e3a2){const _0x277fd4=_0x3b5918,{row:_0x133da9,column:_0x2153f8}=_0x81e3a2;if(_0x133da9>=this['_range'][_0x277fd4(0x384)]&&_0x133da9<=this[_0x277fd4(0x2c6)][_0x277fd4(0x28c)]&&_0x2153f8>=this[_0x277fd4(0x2c6)][_0x277fd4(0x328)]&&_0x2153f8<=this['_range'][_0x277fd4(0x2ef)]){this[_0x277fd4(0x1f8)]({'hovered':!0x0});return;}this[_0x277fd4(0x1f8)]({'hovered':!0x1});}['triggerDblclick'](_0x59ddda){return!0x1;}[_0x3b5918(0x1c8)](_0x530811){const _0x4e0bfd=_0x3b5918;_0x268e65[_0x4e0bfd(0x2bc)][_0x4e0bfd(0x37c)](_0x530811,{'width':this[_0x4e0bfd(0x2b5)],'height':this['height'],'strokeWidth':_0x3cf659,'stroke':this[_0x4e0bfd(0x229)],'evented':!0x1,'fill':this[_0x4e0bfd(0x19f)]}),this[_0x4e0bfd(0x337)]&&(_0x530811[_0x4e0bfd(0x356)](),_0x530811['transform'](0x1,0x0,0x0,0x1,this[_0x4e0bfd(0x2b5)],this[_0x4e0bfd(0x38b)]===_0x4e0bfd(0x37b)?0x0:-0x14),_0x336f5a[_0x4e0bfd(0x37c)](_0x530811,{'text':this[_0x4e0bfd(0x2b7)],'color':this[_0x4e0bfd(0x229)]}),_0x530811['restore']());}}var _0x4d958a=Object[_0x3b5918(0x1a0)],_0x3387bc=(_0x18e763,_0x39a668,_0x87960f,_0x26cb77)=>{const _0x5073af=_0x3b5918;for(var _0x596e8e=_0x26cb77>0x1?void 0x0:_0x26cb77?_0x4d958a(_0x39a668,_0x87960f):_0x39a668,_0x63591c=_0x18e763[_0x5073af(0x399)]-0x1,_0x38dfab;_0x63591c>=0x0;_0x63591c--)(_0x38dfab=_0x18e763[_0x63591c])&&(_0x596e8e=_0x38dfab(_0x596e8e)||_0x596e8e);return _0x596e8e;},_0x45ef83=(_0x3514ac,_0x5ab7a6)=>(_0x38fd38,_0x4cdbd0)=>_0x5ab7a6(_0x38fd38,_0x4cdbd0,_0x3514ac);const _0x2510db=0x1389;let _0x4bb42a=class extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(_0x446aa6,_0x3d1dd7,_0x52930e,_0x1f75ad){const _0x3b92e9=_0x3b5918;super(),_0x491c37(this,_0x3b92e9(0x16b),new Set()),_0x491c37(this,'_lastPointer',null),(this[_0x3b92e9(0x3a0)]=_0x446aa6,this['_sheetSkeletonManagerService']=_0x3d1dd7,this[_0x3b92e9(0x26b)]=_0x52930e,this[_0x3b92e9(0x1b8)]=_0x1f75ad,this[_0x3b92e9(0x32d)]());}[_0x3b5918(0x32d)](){const _0x13d611=_0x3b5918;this[_0x13d611(0x389)]['currentSkeleton$']['pipe'](_0x33e39c[_0x13d611(0x3fb)](this[_0x13d611(0x2f7)]),_0x33e39c[_0x13d611(0x308)](_0x39ad8e=>{const _0x35f5f8=_0x13d611;if(_0x39ad8e){const _0x523445=_0x39ad8e[_0x35f5f8(0x1ce)];return _0xcb3a0a[_0x35f5f8(0x3ae)](this[_0x35f5f8(0x26b)][_0x35f5f8(0x251)](this[_0x35f5f8(0x3a0)]['unitId']),this[_0x35f5f8(0x1b8)][_0x35f5f8(0x2da)])[_0x35f5f8(0x1b4)](_0x33e39c[_0x35f5f8(0x1ad)](([_0x21dc8d,_0xae26f3])=>{const _0x5b07c5=new Map();return _0x21dc8d['forEach']((_0x3e394a,_0x118fdc)=>{const _0x153c0c=_0x20ed;if(_0x3e394a['sheetID']===_0x523445){const _0x531813={..._0x3e394a};_0x531813[_0x153c0c(0x186)]=_0xae26f3[_0x3e394a[_0x153c0c(0x186)]],_0x5b07c5[_0x153c0c(0x2a7)](_0x118fdc,_0x531813);}}),{'skeleton':_0x39ad8e,'cursors':_0x5b07c5};}));}return _0xcb3a0a['of']({'skeleton':null,'cursors':new Map()});}))[_0x13d611(0x240)](({skeleton:_0x2e9b6e,cursors:_0x2a4ab0})=>{const _0x34710a=_0x13d611;this[_0x34710a(0x2bb)](),_0x2e9b6e&&this[_0x34710a(0x1c3)](_0x2e9b6e,_0x2a4ab0);}),this['_sheetSkeletonManagerService'][_0x13d611(0x18b)][_0x13d611(0x240)](_0x2f6d0f=>{const _0xf576fc=_0x13d611;if(_0x2f6d0f==null)return;const {skeleton:_0x35c955}=_0x2f6d0f,{scene:_0xac4dc5}=this['_context'];_0xac4dc5[_0xf576fc(0x352)][_0xf576fc(0x2b6)](_0x458f8c['debounce'](_0x44b856=>{const _0xe77fac=_0xf576fc;var _0x561377,_0xb2d012;const {offsetX:_0x4e5c29,offsetY:_0x1c215c}=_0x44b856,{x:_0x360373,y:_0x44fdb4}=_0xac4dc5['getRelativeToViewportCoord'](_0x268e65['Vector2'][_0xe77fac(0x20e)]([_0x4e5c29,_0x1c215c])),{scaleX:_0x3c3eaf,scaleY:_0x1f1569}=_0xac4dc5[_0xe77fac(0x2c4)](),_0x86f2b6=_0xac4dc5[_0xe77fac(0x35f)](_0x268e65[_0xe77fac(0x1c0)][_0xe77fac(0x1e7)]),_0x30ae3a=_0xac4dc5[_0xe77fac(0x172)](_0x268e65[_0xe77fac(0x241)][_0xe77fac(0x20e)]([_0x360373,_0x44fdb4]),_0x86f2b6),_0x1eb033=_0x35c955[_0xe77fac(0x3d1)](_0x4e5c29,_0x1c215c,_0x3c3eaf,_0x1f1569,_0x30ae3a);((_0x561377=this[_0xe77fac(0x2e6)])==null?void 0x0:_0x561377[_0xe77fac(0x3c6)])===_0x1eb033[_0xe77fac(0x3c6)]&&((_0xb2d012=this[_0xe77fac(0x2e6)])==null?void 0x0:_0xb2d012[_0xe77fac(0x323)])===_0x1eb033[_0xe77fac(0x323)]||this['_cursors']['forEach'](_0x2d9f57=>{const _0x3c95a8=_0xe77fac;_0x2d9f57[_0x3c95a8(0x25d)](_0x1eb033);});},0x64));});}[_0x3b5918(0x1c3)](_0x1788d5,_0x221cfd){const _0x5885af=_0x3b5918;var _0xde404c;const _0x5c3f50=(_0xde404c=this[_0x5885af(0x389)][_0x5885af(0x3e0)]())==null?void 0x0:_0xde404c['skeleton'];if(!_0x5c3f50)return;const _0x359e6f=this[_0x5885af(0x22a)]();if(!_0x359e6f)return;this[_0x5885af(0x16b)][_0x5885af(0x38d)](_0x57a7d1=>{_0x57a7d1['makeDirty']();});const {scene:_0xf3dad2}=_0x359e6f,_0x4f70fd=_0x5e1184(Array[_0x5885af(0x31d)](_0x221cfd[_0x5885af(0x31e)]()))['map'](_0x25ccd2=>{const _0x744568=_0x5885af,{color:_0x25a9cf,range:_0x58fb29,name:_0x5a1495,selection:_0x2954cf,sheetID:_0x29085b}=_0x25ccd2,{startColumn:_0x2ad751,startRow:_0xeae72d,endColumn:_0x11eac4,endRow:_0x37de8b}=_0x58fb29,_0x50b313=_0x278dfd[_0x744568(0x38e)](_0xeae72d,_0x2ad751,_0xf3dad2,_0x5c3f50),_0x403dc3=_0x278dfd[_0x744568(0x38e)](_0x37de8b,_0x11eac4,_0xf3dad2,_0x5c3f50),{columnHeaderHeightAndMarginTop:_0x3ad91c}=_0x5c3f50,{startX:_0x49d232,startY:_0x570fd5}=_0x50b313,{endX:_0x411e1e,endY:_0x2c3d88}=_0x403dc3,_0x39a7f8=_0x411e1e-_0x49d232,_0x2db332=_0x2c3d88-_0x570fd5,_0x151576={'labelPosition':_0x570fd5-_0x3ad91c>=_0x4fdf9f?'top':_0x744568(0x37b),'sheetID':_0x29085b,'range':_0x58fb29,'color':_0x25a9cf,'name':_0x5a1495,'selection':_0x2954cf,'left':_0x49d232,'top':_0x570fd5,'width':_0x39a7f8,'height':_0x2db332,'evented':!0x1,'zIndex':_0x2510db};return new _0xf6c169(_0x5a1495,_0x151576);});_0xf3dad2[_0x5885af(0x380)](_0x4f70fd,_0x530089),this[_0x5885af(0x16b)]=new Set(_0x4f70fd);}[_0x3b5918(0x2bb)](){const _0x457526=_0x3b5918;var _0x4b6000;(_0x4b6000=this[_0x457526(0x16b)])==null||_0x4b6000[_0x457526(0x38d)](_0x5a5d4f=>_0x5a5d4f[_0x457526(0x2f9)]());}[_0x3b5918(0x22a)](){const _0xbe57d6=_0x3b5918;return _0x278dfd[_0xbe57d6(0x231)](this[_0xbe57d6(0x3a0)][_0xbe57d6(0x29d)],this[_0xbe57d6(0x3a0)]);}};_0x4bb42a=_0x3387bc([_0x45ef83(0x1,_0x458f8c['Inject'](_0x278dfd['SheetSkeletonManagerService'])),_0x45ef83(0x2,_0x458f8c['Inject'](_0x3c03bf)),_0x45ef83(0x3,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x29a)]))],_0x4bb42a);function _0x5e1184(_0x1ded53){const _0x5dabc7=_0x3b5918,_0xdfb089=new Map();return _0x1ded53[_0x5dabc7(0x38d)](_0x1a1458=>{const _0x3bc6af=_0x5dabc7;if(_0xdfb089[_0x3bc6af(0x1b7)](_0x1a1458['selection'])){const _0x5adb89=_0xdfb089[_0x3bc6af(0x357)](_0x1a1458['selection']);_0x5adb89[_0x3bc6af(0x2d1)]+=',\x20'+_0x1a1458[_0x3bc6af(0x2d1)];}else _0xdfb089['set'](_0x1a1458[_0x3bc6af(0x257)],_0x1a1458);}),Array[_0x5dabc7(0x31d)](_0xdfb089[_0x5dabc7(0x31e)]());}var _0x4b62f8=function(){const _0xd06694=_0x3b5918;return _0x4b62f8=Object[_0xd06694(0x2f3)]||function(_0x588392){const _0x588a8d=_0xd06694;for(var _0x326429,_0x5980a5=0x1,_0x1f3ad1=arguments[_0x588a8d(0x399)];_0x5980a5<_0x1f3ad1;_0x5980a5++){_0x326429=arguments[_0x5980a5];for(var _0xd54671 in _0x326429)Object[_0x588a8d(0x2fb)][_0x588a8d(0x226)]['call'](_0x326429,_0xd54671)&&(_0x588392[_0xd54671]=_0x326429[_0xd54671]);}return _0x588392;},_0x4b62f8[_0xd06694(0x228)](this,arguments);},_0x599f4d=function(_0x534981,_0x3ab01c){const _0x4cf158=_0x3b5918;var _0x361fde={};for(var _0x49af60 in _0x534981)Object[_0x4cf158(0x2fb)][_0x4cf158(0x226)][_0x4cf158(0x1d8)](_0x534981,_0x49af60)&&_0x3ab01c[_0x4cf158(0x2f5)](_0x49af60)<0x0&&(_0x361fde[_0x49af60]=_0x534981[_0x49af60]);if(_0x534981!=null&&typeof Object[_0x4cf158(0x3c9)]=='function'){for(var _0x607e6c=0x0,_0x49af60=Object['getOwnPropertySymbols'](_0x534981);_0x607e6c<_0x49af60[_0x4cf158(0x399)];_0x607e6c++)_0x3ab01c[_0x4cf158(0x2f5)](_0x49af60[_0x607e6c])<0x0&&Object[_0x4cf158(0x2fb)]['propertyIsEnumerable'][_0x4cf158(0x1d8)](_0x534981,_0x49af60[_0x607e6c])&&(_0x361fde[_0x49af60[_0x607e6c]]=_0x534981[_0x49af60[_0x607e6c]]);}return _0x361fde;},_0x4ec426=_0x31ea74[_0x3b5918(0x390)](function(_0x13a7ec,_0x9495e7){const _0x4992d5=_0x3b5918;var _0x494bec=_0x13a7ec[_0x4992d5(0x373)],_0x116c08=_0x13a7ec['id'],_0x2bc987=_0x13a7ec['className'],_0x4fbe9f=_0x13a7ec[_0x4992d5(0x3a9)],_0x3b61c0=_0x599f4d(_0x13a7ec,['icon','id',_0x4992d5(0x348),_0x4992d5(0x3a9)]),_0x470214='univerjs-icon\x20univerjs-icon-'[_0x4992d5(0x32a)](_0x116c08,'\x20')[_0x4992d5(0x32a)](_0x2bc987||'')[_0x4992d5(0x3fe)](),_0x1c6a80=_0x31ea74[_0x4992d5(0x3ec)]('_'[_0x4992d5(0x32a)](_0x159be2()));return _0x58a165(_0x494bec,''[_0x4992d5(0x32a)](_0x116c08),{'defIds':_0x494bec[_0x4992d5(0x179)],'idSuffix':_0x1c6a80[_0x4992d5(0x243)]},_0x4b62f8({'ref':_0x9495e7,'className':_0x470214},_0x3b61c0),_0x4fbe9f);});function _0x58a165(_0x41bee8,_0x2762a3,_0x5388fe,_0x451e30,_0x274d26){const _0xa153a=_0x3b5918;return _0x31ea74[_0xa153a(0x16f)](_0x41bee8[_0xa153a(0x170)],_0x4b62f8(_0x4b62f8({'key':_0x2762a3},_0x407171(_0x41bee8,_0x5388fe,_0x274d26)),_0x451e30),(_0x309d0e(_0x41bee8,_0x5388fe)[_0xa153a(0x3f4)]||[])[_0xa153a(0x1ad)](function(_0x1b72e4,_0x25c7b4){const _0x4a9c7c=_0xa153a;return _0x58a165(_0x1b72e4,''['concat'](_0x2762a3,'-')[_0x4a9c7c(0x32a)](_0x41bee8[_0x4a9c7c(0x170)],'-')[_0x4a9c7c(0x32a)](_0x25c7b4),_0x5388fe,void 0x0,_0x274d26);}));}function _0x407171(_0x388a57,_0x2709e3,_0x9a9251){const _0x2b67fc=_0x3b5918;var _0x48d9cf=_0x4b62f8({},_0x388a57[_0x2b67fc(0x213)]);_0x9a9251!=null&&_0x9a9251[_0x2b67fc(0x374)]&&_0x48d9cf[_0x2b67fc(0x31b)]===_0x2b67fc(0x374)&&(_0x48d9cf[_0x2b67fc(0x31b)]=_0x9a9251[_0x2b67fc(0x374)]),_0x388a57[_0x2b67fc(0x170)]===_0x2b67fc(0x230)&&_0x48d9cf['id']&&(_0x48d9cf['id']=_0x48d9cf['id']+_0x2709e3['idSuffix']),Object[_0x2b67fc(0x1f4)](_0x48d9cf)[_0x2b67fc(0x38d)](function(_0x505747){const _0x33640c=_0x2b67fc;var _0x7af876=_0x505747[0x0],_0x3caa1f=_0x505747[0x1];_0x7af876===_0x33640c(0x230)&&typeof _0x3caa1f==_0x33640c(0x1ac)&&(_0x48d9cf[_0x7af876]=_0x3caa1f[_0x33640c(0x285)](/url\(#(.*)\)/,_0x33640c(0x349)[_0x33640c(0x32a)](_0x2709e3[_0x33640c(0x354)],')')));});var _0x383015=_0x2709e3[_0x2b67fc(0x179)];return!_0x383015||_0x383015['length']===0x0||(_0x388a57[_0x2b67fc(0x170)]===_0x2b67fc(0x1f2)&&_0x48d9cf['xlink:href']&&(_0x48d9cf[_0x2b67fc(0x36f)]=_0x48d9cf[_0x2b67fc(0x36f)]+_0x2709e3[_0x2b67fc(0x354)]),Object[_0x2b67fc(0x1f4)](_0x48d9cf)[_0x2b67fc(0x38d)](function(_0x49e09a){const _0x4be401=_0x2b67fc;var _0xd0f7e5=_0x49e09a[0x0],_0x5c1104=_0x49e09a[0x1];typeof _0x5c1104==_0x4be401(0x1ac)&&(_0x48d9cf[_0xd0f7e5]=_0x5c1104[_0x4be401(0x285)](/url\(#(.*)\)/,_0x4be401(0x349)[_0x4be401(0x32a)](_0x2709e3['idSuffix'],')')));})),_0x48d9cf;}function _0x309d0e(_0x13124e,_0x554907){const _0x27977c=_0x3b5918;var _0x59f1db,_0x390388=_0x554907['defIds'];return!_0x390388||_0x390388[_0x27977c(0x399)]===0x0?_0x13124e:_0x13124e['tag']===_0x27977c(0x1b2)&&(!((_0x59f1db=_0x13124e['children'])===null||_0x59f1db===void 0x0)&&_0x59f1db[_0x27977c(0x399)])?_0x4b62f8(_0x4b62f8({},_0x13124e),{'children':_0x13124e[_0x27977c(0x3f4)][_0x27977c(0x1ad)](function(_0x9e73c5){const _0x2fa2a6=_0x27977c;return typeof _0x9e73c5['attrs']['id']==_0x2fa2a6(0x1ac)&&_0x390388&&_0x390388['indexOf'](_0x9e73c5[_0x2fa2a6(0x213)]['id'])>-0x1?_0x4b62f8(_0x4b62f8({},_0x9e73c5),{'attrs':_0x4b62f8(_0x4b62f8({},_0x9e73c5[_0x2fa2a6(0x213)]),{'id':_0x9e73c5[_0x2fa2a6(0x213)]['id']+_0x554907[_0x2fa2a6(0x354)]})}):_0x9e73c5;})}):_0x13124e;}function _0x159be2(){const _0xdb5e62=_0x3b5918;return Math[_0xdb5e62(0x3cc)]()[_0xdb5e62(0x362)](0x24)[_0xdb5e62(0x2fe)](0x2,0x8);}_0x4ec426[_0x3b5918(0x34e)]='UniverIcon';var _0x3d6387={'tag':_0x3b5918(0x20a),'attrs':{'fill':_0x3b5918(0x35e),'viewBox':_0x3b5918(0x227),'width':_0x3b5918(0x296),'height':_0x3b5918(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x3b5918(0x1a6)},'children':[{'tag':_0x3b5918(0x3df),'attrs':{'stroke':_0x3b5918(0x401),'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':_0x3b5918(0x1d5),'strokeLinejoin':_0x3b5918(0x1d5),'strokeWidth':1.2}}]},{'tag':_0x3b5918(0x1b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3b5918(0x395)},'children':[{'tag':_0x3b5918(0x3df),'attrs':{'fill':_0x3b5918(0x28e),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3b5918(0x395)]},_0x5da94a=_0x31ea74[_0x3b5918(0x390)](function(_0x1134d4,_0x1467a2){const _0xd47c5e=_0x3b5918;return _0x31ea74[_0xd47c5e(0x16f)](_0x4ec426,Object[_0xd47c5e(0x2f3)]({},_0x1134d4,{'id':'off-line-single','ref':_0x1467a2,'icon':_0x3d6387}));});_0x5da94a[_0x3b5918(0x34e)]=_0x3b5918(0x22f);var _0x396ee1={'tag':_0x3b5918(0x20a),'attrs':{'fill':'none','viewBox':_0x3b5918(0x2a6),'width':'1em','height':_0x3b5918(0x296)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3b5918(0x3df),'attrs':{'stroke':_0x3b5918(0x401),'d':_0x3b5918(0x2ab),'strokeLinecap':'round','strokeLinejoin':_0x3b5918(0x1d5),'strokeWidth':1.2}}]},{'tag':_0x3b5918(0x1b2),'attrs':{},'children':[{'tag':_0x3b5918(0x36b),'attrs':{'id':_0x3b5918(0x1d6)},'children':[{'tag':_0x3b5918(0x3df),'attrs':{'fill':_0x3b5918(0x28e),'d':_0x3b5918(0x206),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3b5918(0x1d6)]},_0x4365b6=_0x31ea74[_0x3b5918(0x390)](function(_0x17813d,_0x4a2a74){const _0x213ced=_0x3b5918;return _0x31ea74[_0x213ced(0x16f)](_0x4ec426,Object[_0x213ced(0x2f3)]({},_0x17813d,{'id':_0x213ced(0x32e),'ref':_0x4a2a74,'icon':_0x396ee1}));});_0x4365b6[_0x3b5918(0x34e)]=_0x3b5918(0x1ea);const _0x570067={'onlineStatusIcon':_0x3b5918(0x3ee),'onlineStatusTitle':_0x3b5918(0x1ee),'onlineStatus':_0x3b5918(0x276),'online':'univer-online','offline':'univer-offline'};function _0x3d633d(_0x230f49){const _0x522765=_0x3b5918;switch(_0x230f49){case _0x5b005f['CollaborationStatus'][_0x522765(0x317)]:return _0x522765(0x264);case _0x5b005f[_0x522765(0x3f8)][_0x522765(0x181)]:return'collabStatus.conflict';case _0x5b005f[_0x522765(0x3f8)]['FETCH_MISS']:return _0x522765(0x310);case _0x5b005f['CollaborationStatus'][_0x522765(0x1ec)]:return'collabStatus.notCollab';case _0x5b005f[_0x522765(0x3f8)][_0x522765(0x245)]:case _0x5b005f[_0x522765(0x3f8)][_0x522765(0x3fa)]:return _0x522765(0x378);case _0x5b005f[_0x522765(0x3f8)][_0x522765(0x3db)]:case _0x5b005f['CollaborationStatus'][_0x522765(0x24c)]:return _0x522765(0x318);}}function _0x1b1a62(_0x2e74af){const _0x2f2a23=_0x3b5918,{status$:_0x2c87fa}=_0x2e74af,_0x1e0ded=_0x396ac0[_0x2f2a23(0x35c)](_0x2c87fa,_0x5b005f[_0x2f2a23(0x3f8)][_0x2f2a23(0x1ec)]),_0x145daa=_0x396ac0[_0x2f2a23(0x35b)](_0x458f8c[_0x2f2a23(0x26f)]),_0x51bc09=_0x396ac0[_0x2f2a23(0x35b)](_0x5b005f[_0x2f2a23(0x26c)]),_0x320dae=_0x1e0ded!==_0x5b005f[_0x2f2a23(0x3f8)]['OFFLINE'],_0x362cd4=_0x145daa['t'](_0x3d633d(_0x1e0ded)),_0x3f4645=_0x1e946d[_0x2f2a23(0x1bb)](_0x570067['onlineStatus'],{[_0x570067[_0x2f2a23(0x2f4)]]:_0x320dae,[_0x570067[_0x2f2a23(0x26e)]]:!_0x320dae}),_0x36810e=_0x320dae?_0x1f6b47['jsx'](_0x4365b6,{}):_0x1f6b47['jsx'](_0x5da94a,{}),_0x1b16b2=_0x31ea74[_0x2f2a23(0x19c)](()=>{_0x320dae||_0x51bc09['reconnect']();},[_0x320dae,_0x51bc09]);function _0x5670f4(){const _0x1c9c26=_0x2f2a23;return _0x1f6b47[_0x1c9c26(0x30c)](_0x1c9c26(0x1e8),{'className':_0x1e946d[_0x1c9c26(0x1bb)](_0x3f4645,_0x1c9c26(0x2af)),'onClick':_0x1b16b2,'children':[_0x1f6b47[_0x1c9c26(0x1bc)](_0x1c9c26(0x1e8),{'className':_0x570067['onlineStatusIcon'],'children':_0x36810e}),_0x1f6b47[_0x1c9c26(0x1bc)](_0x1c9c26(0x1e8),{'className':_0x570067[_0x1c9c26(0x212)],'children':_0x362cd4})]});}return _0x320dae?_0x5670f4():_0x1f6b47[_0x2f2a23(0x1bc)](_0x1e946d[_0x2f2a23(0x1a8)],{'title':_0x145daa['t'](_0x2f2a23(0x2bd)),'children':_0x5670f4()});}var _0x41de31=Object[_0x3b5918(0x1a0)],_0x5f5d9f=(_0x4b8854,_0x4ffe3e,_0x1a0d52,_0x51e37e)=>{const _0x1baba7=_0x3b5918;for(var _0x36a6e7=_0x51e37e>0x1?void 0x0:_0x51e37e?_0x41de31(_0x4ffe3e,_0x1a0d52):_0x4ffe3e,_0x435688=_0x4b8854[_0x1baba7(0x399)]-0x1,_0x3c7a39;_0x435688>=0x0;_0x435688--)(_0x3c7a39=_0x4b8854[_0x435688])&&(_0x36a6e7=_0x3c7a39(_0x36a6e7)||_0x36a6e7);return _0x36a6e7;},_0x23070a=(_0x127bd3,_0x436a3c)=>(_0x5c13e1,_0x1063b7)=>_0x436a3c(_0x5c13e1,_0x1063b7,_0x127bd3);_0x4bd5b3[_0x3b5918(0x1a4)]=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0x43c6c9,_0x14fffb,_0x3a724c,_0xccf7bf){const _0x1bd358=_0x3b5918;super(),_0x491c37(this,_0x1bd358(0x2c7),new _0xcb3a0a[(_0x1bd358(0x273))](_0x5b005f[_0x1bd358(0x3f8)][_0x1bd358(0x1ec)])),(this[_0x1bd358(0x3af)]=_0x43c6c9,this['_injector']=_0x14fffb,this[_0x1bd358(0x3b2)]=_0x3a724c,this[_0x1bd358(0x168)]=_0xccf7bf,this[_0x1bd358(0x2c5)](),this[_0x1bd358(0x3e5)]());}[_0x3b5918(0x3e5)](){const _0xa90354=_0x3b5918;this['disposeWithMe'](this['_univerInstanceService'][_0xa90354(0x284)]['pipe'](_0xcb3a0a[_0xa90354(0x308)](()=>{const _0x5f2767=_0xa90354,_0xa0d299=this[_0x5f2767(0x3af)][_0x5f2767(0x307)]();return _0xa0d299?this['_collaborationController']['getCollabEntity$'](_0xa0d299[_0x5f2767(0x39a)]()):_0xcb3a0a['of'](null);}),_0xcb3a0a['switchMap'](_0x2f023a=>_0x2f023a?_0x2f023a[_0xa90354(0x366)]:_0xcb3a0a['of'](_0x5b005f[_0xa90354(0x3f8)][_0xa90354(0x1ec)])))[_0xa90354(0x240)](_0x3ab6a2=>{const _0x30c91f=_0xa90354;this[_0x30c91f(0x2c7)][_0x30c91f(0x1c2)](_0x3ab6a2);}));}[_0x3b5918(0x2c5)](){const _0x4690d0=_0x3b5918;this[_0x4690d0(0x266)](this['_uiPartsService'][_0x4690d0(0x402)](_0x396ac0[_0x4690d0(0x23d)][_0x4690d0(0x336)],()=>_0x396ac0[_0x4690d0(0x22b)](_0x134712({'status$':this[_0x4690d0(0x2c7)][_0x4690d0(0x1ed)]()}),this[_0x4690d0(0x391)])));}},_0x4bd5b3[_0x3b5918(0x1a4)]=_0x5f5d9f([_0x23070a(0x0,_0x458f8c[_0x3b5918(0x2c0)]),_0x23070a(0x1,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x37d)])),_0x23070a(0x2,_0x458f8c[_0x3b5918(0x219)](_0x5b005f['CollaborationController'])),_0x23070a(0x3,_0x396ac0['IUIPartsService'])],_0x4bd5b3[_0x3b5918(0x1a4)]);function _0x134712(_0x17d2d6){const {status$:_0x3ea250}=_0x17d2d6;return function(){const _0x16aafc=_0x20ed;return _0x1f6b47[_0x16aafc(0x1bc)](_0x1b1a62,{'status$':_0x3ea250});};}var _0x81cf30=Object[_0x3b5918(0x1a0)],_0x244888=(_0x119b2f,_0x55dca3,_0x491677,_0x56fa4a)=>{const _0xe3da2e=_0x3b5918;for(var _0x15de1b=_0x56fa4a>0x1?void 0x0:_0x56fa4a?_0x81cf30(_0x55dca3,_0x491677):_0x55dca3,_0x224d84=_0x119b2f[_0xe3da2e(0x399)]-0x1,_0x3943c6;_0x224d84>=0x0;_0x224d84--)(_0x3943c6=_0x119b2f[_0x224d84])&&(_0x15de1b=_0x3943c6(_0x15de1b)||_0x15de1b);return _0x15de1b;},_0x9d43be=(_0x358cbf,_0x3538ae)=>(_0x40948f,_0x468340)=>_0x3538ae(_0x40948f,_0x468340,_0x358cbf);let _0x55543c=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0x46a7e5,_0x55a70c,_0x45d816,_0x5cc64e,_0x44ba2e,_0x1dc479){const _0xcf5fed=_0x3b5918;super(),this[_0xcf5fed(0x1e9)]=_0x46a7e5,this[_0xcf5fed(0x207)]=_0x55a70c,this[_0xcf5fed(0x386)]=_0x45d816,this[_0xcf5fed(0x3f6)]=_0x5cc64e,this['_notificationService']=_0x44ba2e,this[_0xcf5fed(0x22d)]=_0x1dc479,this[_0xcf5fed(0x37a)](),this[_0xcf5fed(0x238)]();}['_setupBeforeClosingHandler'](){const _0x1d32b6=_0x3b5918;this[_0x1d32b6(0x266)](this[_0x1d32b6(0x1e9)][_0x1d32b6(0x313)](()=>{const _0x404380=_0x1d32b6;if(this[_0x404380(0x207)][_0x404380(0x3b7)][_0x404380(0x1a1)])return this[_0x404380(0x22d)]['t'](_0x404380(0x1c6));}));}['_initEvent'](){const _0x404226=_0x3b5918;this[_0x404226(0x266)](this['_collaborationUIEventService'][_0x404226(0x222)][_0x404226(0x240)](_0x5adf7a=>{const _0x31ecf1=_0x404226;_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x3c2)]&&this[_0x31ecf1(0x3f6)][_0x31ecf1(0x3f9)]({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x2d4)],'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x29b))}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x304)]&&this['_messageService'][_0x31ecf1(0x3f9)]({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x2d4)],'content':this['_localeService']['t'](_0x31ecf1(0x3cb))}),_0x5adf7a['id']===_0x5b005f['CollaborationUIEventId'][_0x31ecf1(0x22e)]&&this[_0x31ecf1(0x29f)][_0x31ecf1(0x3f9)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x2cf)),'type':'error','duration':0x0}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x181)]&&this['_messageService']['show']({'type':_0x1e946d[_0x31ecf1(0x2c2)]['Error'],'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x3cb))+'('+_0x5adf7a[_0x31ecf1(0x3c3)]+')'}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x2b4)]&&this[_0x31ecf1(0x3f6)][_0x31ecf1(0x3f9)]({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x2d4)],'content':this[_0x31ecf1(0x22d)]['t'](_0x5adf7a[_0x31ecf1(0x3c3)]||'')}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x177)]&&this[_0x31ecf1(0x3f6)][_0x31ecf1(0x3f9)]({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x2d4)],'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x34c))}),_0x5adf7a['id']===_0x5b005f['CollaborationUIEventId'][_0x31ecf1(0x311)]&&this[_0x31ecf1(0x3f6)]['show']({'type':_0x1e946d[_0x31ecf1(0x2c2)][_0x31ecf1(0x3a3)],'content':this[_0x31ecf1(0x22d)]['t'](_0x31ecf1(0x169))}),_0x5adf7a['id']===_0x5b005f[_0x31ecf1(0x28d)][_0x31ecf1(0x1dc)]&&this[_0x31ecf1(0x3f6)][_0x31ecf1(0x3f9)]({'type':_0x1e946d['MessageType'][_0x31ecf1(0x3a3)],'content':this['_localeService']['t'](_0x31ecf1(0x184))});}));}};_0x55543c=_0x244888([_0x9d43be(0x0,_0x396ac0['IBeforeCloseService']),_0x9d43be(0x1,_0x5b005f[_0x3b5918(0x2ba)]),_0x9d43be(0x2,_0x458f8c[_0x3b5918(0x219)](_0x5b005f[_0x3b5918(0x2b0)])),_0x9d43be(0x3,_0x396ac0[_0x3b5918(0x1a3)]),_0x9d43be(0x4,_0x396ac0['INotificationService']),_0x9d43be(0x5,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x26f)]))],_0x55543c);const _0x47fdb6=_0x3b5918(0x3bc),_0x57b9dc={},_0x1572c8=_0x458f8c[_0x3b5918(0x37e)](_0x3b5918(0x1da));var _0x318d02=Object[_0x3b5918(0x1a0)],_0x570148=(_0x3ec402,_0x129283,_0xa72c4a,_0x1b4852)=>{const _0x3f03b2=_0x3b5918;for(var _0x43aea3=_0x1b4852>0x1?void 0x0:_0x1b4852?_0x318d02(_0x129283,_0xa72c4a):_0x129283,_0x5df8e9=_0x3ec402[_0x3f03b2(0x399)]-0x1,_0x308302;_0x5df8e9>=0x0;_0x5df8e9--)(_0x308302=_0x3ec402[_0x5df8e9])&&(_0x43aea3=_0x308302(_0x43aea3)||_0x43aea3);return _0x43aea3;},_0x420b4c=(_0x457c31,_0x18f126)=>(_0x414add,_0x388708)=>_0x18f126(_0x414add,_0x388708,_0x457c31);_0x4bd5b3['CollaborationDataLoaderController']=class extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(_0x2984a2,_0x2b38ac,_0x221efc,_0x2090bd,_0xa249df){const _0x3be6cc=_0x3b5918;super(),this[_0x3be6cc(0x167)]=_0x2984a2,this['_logService']=_0x2b38ac,this['_commandService']=_0x221efc,this[_0x3be6cc(0x16e)]=_0x2090bd,_0xa249df?_0xa249df==null||_0xa249df['whenReady']()[_0x3be6cc(0x283)](()=>this[_0x3be6cc(0x32d)]()):(this[_0x3be6cc(0x3fd)]['debug'](_0x3be6cc(0x3fc),_0x3be6cc(0x3c7)),this[_0x3be6cc(0x32d)]());}async[_0x3b5918(0x32d)](){const _0x5c28b2=_0x3b5918,_0x71191d=this[_0x5c28b2(0x167)][_0x5c28b2(0x3c5)]('unit'),_0x2bc7ab=this[_0x5c28b2(0x167)][_0x5c28b2(0x3c5)]('type'),_0x4bc482=this['_urlService']['getParam'](_0x5c28b2(0x17a));if(!_0x71191d||!_0x2bc7ab){this[_0x5c28b2(0x3fd)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x7f1bbd=await this[_0x5c28b2(0x16e)][_0x5c28b2(0x330)](_0x71191d,Number(_0x2bc7ab),_0x4bc482);_0x7f1bbd&&_0x7f1bbd instanceof _0x458f8c['Workbook']&&this[_0x5c28b2(0x30b)](_0x7f1bbd);}async[_0x3b5918(0x30b)](_0x1f92b2){const _0x454be5=_0x3b5918;await this['_updateSubUnitFromURLParams'](_0x1f92b2),_0x1f92b2[_0x454be5(0x3da)]['pipe'](_0xcb3a0a[_0x454be5(0x3fb)](this[_0x454be5(0x2f7)]))[_0x454be5(0x240)](_0x50b58a=>{const _0x271bf8=_0x454be5;_0x50b58a&&this[_0x271bf8(0x2f2)](_0x50b58a);}),this['_urlService'][_0x454be5(0x2dd)][_0x454be5(0x1b4)](_0xcb3a0a[_0x454be5(0x3fb)](this[_0x454be5(0x2f7)]))[_0x454be5(0x240)](()=>this[_0x454be5(0x3b5)](_0x1f92b2));}[_0x3b5918(0x2f2)](_0x4455df,_0x5bc00f=!0x1){const _0x476ac6=_0x3b5918,_0x5cceef=this[_0x476ac6(0x167)][_0x476ac6(0x3c5)](_0x476ac6(0x17a));_0x4455df[_0x476ac6(0x2e3)]()!==_0x5cceef&&this[_0x476ac6(0x167)][_0x476ac6(0x1d9)](_0x476ac6(0x17a),_0x4455df[_0x476ac6(0x2e3)](),_0x5bc00f);}async[_0x3b5918(0x3b5)](_0xd00925){const _0x2cf94c=_0x3b5918;var _0x530843;const _0x14d5ee=this['_urlService'][_0x2cf94c(0x3c5)](_0x2cf94c(0x17a));if(!_0x14d5ee||!_0xd00925['getSheetBySheetId'](_0x14d5ee)){const _0x5b9156=_0xd00925[_0x2cf94c(0x1d7)]()[0x0],_0x54dc6b=_0xd00925[_0x2cf94c(0x1dd)](_0x5b9156);if(!_0x54dc6b)return;this['_updateURLWithCurrentState'](_0x54dc6b,!0x0),await this[_0x2cf94c(0x3a2)][_0x2cf94c(0x30a)](_0x4e3457['SetWorksheetActivateCommand']['id'],{'unitId':_0xd00925[_0x2cf94c(0x39a)](),'subUnitId':_0x5b9156});return;}((_0x530843=_0xd00925[_0x2cf94c(0x202)]())==null?void 0x0:_0x530843['getSheetId']())!==_0x14d5ee&&await this[_0x2cf94c(0x3a2)][_0x2cf94c(0x30a)](_0x4e3457[_0x2cf94c(0x319)]['id'],{'unitId':_0xd00925['getUnitId'](),'subUnitId':_0x14d5ee});}},_0x4bd5b3[_0x3b5918(0x326)]=_0x570148([_0x420b4c(0x0,_0x1572c8),_0x420b4c(0x1,_0x458f8c['ILogService']),_0x420b4c(0x2,_0x458f8c[_0x3b5918(0x321)]),_0x420b4c(0x3,_0x458f8c[_0x3b5918(0x219)](_0x5b005f[_0x3b5918(0x343)])),_0x420b4c(0x4,_0x458f8c[_0x3b5918(0x39b)](_0x2a4f33[_0x3b5918(0x190)]))],_0x4bd5b3[_0x3b5918(0x326)]);var _0x3233ed=Object['getOwnPropertyDescriptor'],_0x571717=(_0x385263,_0x4db10e,_0x4ab7fb,_0x46cde6)=>{const _0x46bd15=_0x3b5918;for(var _0x10e06c=_0x46cde6>0x1?void 0x0:_0x46cde6?_0x3233ed(_0x4db10e,_0x4ab7fb):_0x4db10e,_0x102eaa=_0x385263[_0x46bd15(0x399)]-0x1,_0x33ece0;_0x102eaa>=0x0;_0x102eaa--)(_0x33ece0=_0x385263[_0x102eaa])&&(_0x10e06c=_0x33ece0(_0x10e06c)||_0x10e06c);return _0x10e06c;},_0x18c6e8=(_0x307e2e,_0x1c6020)=>(_0x2823c9,_0x898bb4)=>_0x1c6020(_0x2823c9,_0x898bb4,_0x307e2e);let _0xb11750=class{constructor(_0x6dbccf,_0x785666,_0x49c2d2){const _0x246c53=_0x3b5918;this[_0x246c53(0x391)]=_0x6dbccf,this[_0x246c53(0x39f)]=_0x785666,this[_0x246c53(0x387)]=_0x49c2d2;}['transformIMECache'](_0x587ba1){const _0x1ccca7=_0x3b5918;this[_0x1ccca7(0x303)](_0x587ba1),this[_0x1ccca7(0x1cc)](_0x587ba1);}['transformRemoteChangeset'](_0x155ccd){const _0xcf3146=_0x3b5918,{unitID:_0xc081a9}=_0x155ccd,_0x30f5c7=this[_0xcf3146(0x387)][_0xcf3146(0x1ef)](_0xc081a9)[_0xcf3146(0x3ff)](_0x3fd6d1['DocIMEInputManagerService']),{redoCache:_0x355c94}=_0x30f5c7['getUndoRedoMutationParamsCache']();if(_0x355c94[_0xcf3146(0x399)]===0x0)return _0x155ccd;let _0x152928=_0x458f8c[_0xcf3146(0x29e)]['deepClone'](_0x155ccd[_0xcf3146(0x2c1)][0x0]);for(let _0xf78e1f=0x0;_0xf78e1f<_0x355c94['length'];_0xf78e1f++){const _0x176ab2={'id':_0xcf3146(0x388),'params':{..._0x355c94[_0xf78e1f]}},_0xc5dc9f=this[_0xcf3146(0x39f)]['transformMutation'](_0x152928,_0x176ab2,!0x1);if(_0xda915b['isTransformMutationFailure'](_0xc5dc9f))throw _0xc5dc9f[_0xcf3146(0x3a1)];_0x152928=_0xc5dc9f[_0xcf3146(0x3b9)];}return{..._0x458f8c[_0xcf3146(0x29e)][_0xcf3146(0x396)](_0x155ccd),'mutations':[_0x152928]};}['_transformUndoRedoStack'](_0x31d623){const _0x4453e4=_0x3b5918,{unitID:_0x3037f8}=_0x31d623,_0x2df248=this['_renderManagerService'][_0x4453e4(0x1ef)](_0x3037f8)[_0x4453e4(0x3ff)](_0x3fd6d1[_0x4453e4(0x24d)]),{undoCache:_0x4202c6,redoCache:_0x1da3a5}=_0x2df248['getUndoRedoMutationParamsCache']();if(_0x4202c6[_0x4453e4(0x399)]===0x0||_0x1da3a5[_0x4453e4(0x399)]===0x0)return;const _0xba0015=[],_0x1580a7=[];let _0x1487bd=_0x458f8c[_0x4453e4(0x29e)]['deepClone'](_0x31d623[_0x4453e4(0x2c1)][0x0]),_0x5e967=_0x458f8c['Tools']['deepClone'](_0x31d623[_0x4453e4(0x2c1)][0x0]);for(let _0x5705c4=_0x4202c6[_0x4453e4(0x399)]-0x1;_0x5705c4>=0x0;_0x5705c4--){const _0x16a0cc={'id':'doc.mutation.rich-text-editing','params':{..._0x4202c6[_0x5705c4]}},_0x43e153={'id':_0x4453e4(0x388),'params':{..._0x1da3a5[_0x5705c4]}},_0x5a57d7=this[_0x4453e4(0x39f)]['transformMutation'](_0x1487bd,_0x16a0cc,!0x1),_0x35ff96=this[_0x4453e4(0x39f)][_0x4453e4(0x1f1)](_0x5e967,_0x43e153,!0x1);if(_0xda915b[_0x4453e4(0x249)](_0x5a57d7))throw _0x5a57d7[_0x4453e4(0x3a1)];if(_0xda915b['isTransformMutationFailure'](_0x35ff96))throw _0x35ff96[_0x4453e4(0x3a1)];_0xba0015[_0x4453e4(0x17e)](_0x5a57d7[_0x4453e4(0x246)]['params']),_0x1580a7[_0x4453e4(0x17e)](_0x35ff96[_0x4453e4(0x246)][_0x4453e4(0x200)]),_0x1487bd=_0x5a57d7[_0x4453e4(0x3b9)],_0x5e967=_0x35ff96[_0x4453e4(0x3b9)];}_0x2df248[_0x4453e4(0x280)]({'undoCache':_0xba0015,'redoCache':_0x1580a7});}[_0x3b5918(0x1cc)](_0x4a34a7){const _0x3fa522=_0x3b5918,{unitID:_0xf49da9}=_0x4a34a7,_0x444523=this[_0x3fa522(0x387)]['getRenderById'](_0xf49da9)[_0x3fa522(0x3ff)](_0x3fd6d1[_0x3fa522(0x24d)]),_0x37228f=_0x444523[_0x3fa522(0x397)]();if(_0x37228f==null)return;const _0x27d1d4=[{'id':_0x3fa522(0x388),'params':{'unitId':_0x4a34a7['unitID'],'actions':null,'textRanges':[_0x37228f]}}],_0x2ac0c7=this[_0x3fa522(0x39f)]['transformMutationsWithChangeset'](_0x4a34a7,_0x27d1d4);if(!_0xda915b[_0x3fa522(0x1fb)](_0x2ac0c7))throw _0x2ac0c7[_0x3fa522(0x3a1)];const _0x246665=_0x2ac0c7[_0x3fa522(0x246)][0x0]['params'][_0x3fa522(0x2b8)];Array[_0x3fa522(0x19a)](_0x246665)&&_0x246665[_0x3fa522(0x399)]&&_0x444523['setActiveRange'](_0x246665[0x0]);}};_0xb11750=_0x571717([_0x18c6e8(0x0,_0x458f8c['Inject'](_0x458f8c['Injector'])),_0x18c6e8(0x1,_0xda915b[_0x3b5918(0x27f)]),_0x18c6e8(0x2,_0x268e65['IRenderManagerService'])],_0xb11750);var _0x4012a3=Object['getOwnPropertyDescriptor'],_0x51db67=(_0x3ddda1,_0x46ccc0,_0x59e9d5,_0x168065)=>{const _0x4408ad=_0x3b5918;for(var _0x4ac300=_0x168065>0x1?void 0x0:_0x168065?_0x4012a3(_0x46ccc0,_0x59e9d5):_0x46ccc0,_0x4ce991=_0x3ddda1[_0x4408ad(0x399)]-0x1,_0x391adf;_0x4ce991>=0x0;_0x4ce991--)(_0x391adf=_0x3ddda1[_0x4ce991])&&(_0x4ac300=_0x391adf(_0x4ac300)||_0x4ac300);return _0x4ac300;},_0x528c39=(_0x30b3d3,_0x38eeb9)=>(_0x55628f,_0x4b8908)=>_0x38eeb9(_0x55628f,_0x4b8908,_0x30b3d3);let _0xcb3361=class{constructor(_0x596256,_0x4c001c,_0x530fb2){const _0x5547d4=_0x3b5918;this[_0x5547d4(0x391)]=_0x596256,this[_0x5547d4(0x39f)]=_0x4c001c,this[_0x5547d4(0x3d7)]=_0x530fb2;}[_0x3b5918(0x289)](_0x319f44){const _0x2441f9=_0x3b5918;this[_0x2441f9(0x3ab)](_0x319f44);}['transformRemoteChangeset'](_0x53a9a3){const _0x20019d=_0x3b5918,{unitID:_0x1a804f}=_0x53a9a3,{collaboration:_0xa41830}=this[_0x20019d(0x3d7)][_0x20019d(0x197)](_0x1a804f);if(_0xa41830['length']===0x0)return _0x53a9a3;let _0x39db53=_0x458f8c[_0x20019d(0x29e)]['deepClone'](_0x53a9a3['mutations'][0x0]);for(let _0x2cdb3f=0x0;_0x2cdb3f<_0xa41830[_0x20019d(0x399)];_0x2cdb3f++){const _0x5714d6={'id':_0x20019d(0x388),'params':{'unitId':_0xa41830[_0x2cdb3f]['unitId'],..._0xa41830[_0x2cdb3f][_0x20019d(0x180)]}},_0x285a99=this[_0x20019d(0x39f)]['transformMutation'](_0x39db53,_0x5714d6,!0x1);if(_0xda915b[_0x20019d(0x249)](_0x285a99))throw _0x285a99[_0x20019d(0x3a1)];_0x39db53=_0x285a99['m1Prime'];}return{..._0x458f8c[_0x20019d(0x29e)][_0x20019d(0x396)](_0x53a9a3),'mutations':[_0x39db53]};}[_0x3b5918(0x3ab)](_0x5dfd27){const _0x3ba1f5=_0x3b5918,{unitID:_0x2fd084}=_0x5dfd27,{history:_0x267536,collaboration:_0x53babd}=this['_docStateChangeManagerService'][_0x3ba1f5(0x197)](_0x2fd084);if(_0x267536['length']===0x0&&_0x53babd[_0x3ba1f5(0x399)]===0x0)return;const _0x4f6edd=[],_0x504e1d=[];let _0x5b860e=_0x458f8c[_0x3ba1f5(0x29e)]['deepClone'](_0x5dfd27[_0x3ba1f5(0x2c1)][0x0]),_0x52e57e=_0x458f8c[_0x3ba1f5(0x29e)]['deepClone'](_0x5dfd27[_0x3ba1f5(0x2c1)][0x0]);for(let _0x3a87f4=_0x267536['length']-0x1;_0x3a87f4>=0x0;_0x3a87f4--){const _0x1b2515={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x267536[_0x3a87f4][_0x3ba1f5(0x3be)],..._0x267536[_0x3a87f4]['undoState']}},_0x312229={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x267536[_0x3a87f4]['unitId'],..._0x267536[_0x3a87f4][_0x3ba1f5(0x180)]}},_0x365e8b=this['_transformService'][_0x3ba1f5(0x1f1)](_0x5b860e,_0x1b2515,!0x1),_0x24ef73=this[_0x3ba1f5(0x39f)][_0x3ba1f5(0x1f1)](_0x52e57e,_0x312229,!0x1);if(_0xda915b[_0x3ba1f5(0x249)](_0x365e8b))throw _0x365e8b['error'];if(_0xda915b[_0x3ba1f5(0x249)](_0x24ef73))throw _0x24ef73['error'];_0x4f6edd[_0x3ba1f5(0x17e)]({..._0x267536[_0x3a87f4],'undoState':_0x365e8b[_0x3ba1f5(0x246)]['params'],'redoState':_0x24ef73[_0x3ba1f5(0x246)][_0x3ba1f5(0x200)]}),_0x5b860e=_0x365e8b[_0x3ba1f5(0x3b9)],_0x52e57e=_0x24ef73['m1Prime'];}_0x5b860e=_0x458f8c[_0x3ba1f5(0x29e)]['deepClone'](_0x5dfd27[_0x3ba1f5(0x2c1)][0x0]),_0x52e57e=_0x458f8c[_0x3ba1f5(0x29e)][_0x3ba1f5(0x396)](_0x5dfd27[_0x3ba1f5(0x2c1)][0x0]);for(let _0x56babf=_0x53babd[_0x3ba1f5(0x399)]-0x1;_0x56babf>=0x0;_0x56babf--){const _0x442a70={'id':_0x3ba1f5(0x388),'params':{'unitId':_0x53babd[_0x56babf][_0x3ba1f5(0x3be)],..._0x53babd[_0x56babf][_0x3ba1f5(0x24a)]}},_0x2b2702={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x53babd[_0x56babf][_0x3ba1f5(0x3be)],..._0x53babd[_0x56babf]['redoState']}},_0x36715c=this[_0x3ba1f5(0x39f)][_0x3ba1f5(0x1f1)](_0x5b860e,_0x442a70,!0x1),_0x1fc8b0=this[_0x3ba1f5(0x39f)][_0x3ba1f5(0x1f1)](_0x52e57e,_0x2b2702,!0x1);if(_0xda915b[_0x3ba1f5(0x249)](_0x36715c))throw _0x36715c[_0x3ba1f5(0x3a1)];if(_0xda915b['isTransformMutationFailure'](_0x1fc8b0))throw _0x1fc8b0[_0x3ba1f5(0x3a1)];_0x504e1d[_0x3ba1f5(0x17e)]({..._0x53babd[_0x56babf],'undoState':_0x36715c[_0x3ba1f5(0x246)][_0x3ba1f5(0x200)],'redoState':_0x1fc8b0[_0x3ba1f5(0x246)][_0x3ba1f5(0x200)]}),_0x5b860e=_0x36715c[_0x3ba1f5(0x3b9)],_0x52e57e=_0x1fc8b0[_0x3ba1f5(0x3b9)];}this[_0x3ba1f5(0x3d7)][_0x3ba1f5(0x2b2)](_0x2fd084,{'history':_0x4f6edd,'collaboration':_0x504e1d});}};_0xcb3361=_0x51db67([_0x528c39(0x0,_0x458f8c[_0x3b5918(0x219)](_0x458f8c[_0x3b5918(0x37d)])),_0x528c39(0x1,_0xda915b[_0x3b5918(0x27f)]),_0x528c39(0x2,_0x458f8c['Inject'](_0x3fd6d1['DocStateChangeManagerService']))],_0xcb3361);var _0x3ca562=Object[_0x3b5918(0x1a0)],_0x2d9c96=(_0x55736c,_0x3da885,_0x367732,_0x31294d)=>{const _0xde85c9=_0x3b5918;for(var _0x3d9fbe=_0x31294d>0x1?void 0x0:_0x31294d?_0x3ca562(_0x3da885,_0x367732):_0x3da885,_0x54c78c=_0x55736c[_0xde85c9(0x399)]-0x1,_0x4982c1;_0x54c78c>=0x0;_0x54c78c--)(_0x4982c1=_0x55736c[_0x54c78c])&&(_0x3d9fbe=_0x4982c1(_0x3d9fbe)||_0x3d9fbe);return _0x3d9fbe;},_0x2bfe79=(_0x1becd3,_0x5e3f29)=>(_0x2528b6,_0x2dd51b)=>_0x5e3f29(_0x2528b6,_0x2dd51b,_0x1becd3);let _0xad6fff=class{constructor(_0x37953a,_0x545b6e){const _0x5928ed=_0x3b5918;this[_0x5928ed(0x391)]=_0x37953a,this['_transformService']=_0x545b6e;}[_0x3b5918(0x301)](_0x1b6e50){const _0x550f7a=_0x3b5918;var _0x160fff;const _0x3eabbb=this['_injector'][_0x550f7a(0x357)](_0x2f1fcc[_0x550f7a(0x1be)]),_0x11373a=(_0x160fff=_0x3eabbb[_0x550f7a(0x30e)]())!=null?_0x160fff:[];if(_0x11373a['length']===0x0)return;const _0x5f58c8=_0x1b6e50['unitID'],_0x1c1bdc=[{'id':_0x550f7a(0x388),'params':{'unitId':_0x5f58c8,'actions':null,'textRanges':_0x11373a}}],_0x28432a=this[_0x550f7a(0x39f)][_0x550f7a(0x3ed)](_0x1b6e50,_0x1c1bdc);if(!_0xda915b[_0x550f7a(0x1fb)](_0x28432a))throw _0x28432a['error'];const _0x36b125=_0x28432a[_0x550f7a(0x246)][0x0][_0x550f7a(0x200)][_0x550f7a(0x2b8)];Array['isArray'](_0x36b125)&&_0x36b125[_0x550f7a(0x399)]&&_0x3eabbb[_0x550f7a(0x38a)](_0x36b125,{'unitId':_0x5f58c8,'subUnitId':_0x5f58c8},!0x1);}};_0xad6fff=_0x2d9c96([_0x2bfe79(0x0,_0x458f8c[_0x3b5918(0x219)](_0x458f8c['Injector'])),_0x2bfe79(0x1,_0xda915b[_0x3b5918(0x27f)])],_0xad6fff);var _0xff6159=Object[_0x3b5918(0x1a0)],_0x2f7fce=(_0x17f3dd,_0x54b934,_0x24c8b1,_0x58053f)=>{const _0x230c5d=_0x3b5918;for(var _0x114bfc=_0x58053f>0x1?void 0x0:_0x58053f?_0xff6159(_0x54b934,_0x24c8b1):_0x54b934,_0x7599a2=_0x17f3dd[_0x230c5d(0x399)]-0x1,_0xe16fa;_0x7599a2>=0x0;_0x7599a2--)(_0xe16fa=_0x17f3dd[_0x7599a2])&&(_0x114bfc=_0xe16fa(_0x114bfc)||_0x114bfc);return _0x114bfc;},_0x4ffd9c=(_0xab497a,_0x50b8d3)=>(_0x5807ce,_0x1838c1)=>_0x50b8d3(_0x5807ce,_0x1838c1,_0xab497a);let _0x403462=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0x3a4240,_0x1e2375,_0x2a8a0f,_0x54d9cd,_0x286510,_0x243fc2,_0x568814,_0x18e2b9){const _0x3eabb8=_0x3b5918;super(),_0x491c37(this,_0x3eabb8(0x2c7),new _0xcb3a0a[(_0x3eabb8(0x273))](_0x5b005f[_0x3eabb8(0x3f8)][_0x3eabb8(0x1ec)])),(this['_docStateChangeManagerService']=_0x3a4240,this[_0x3eabb8(0x3b2)]=_0x1e2375,this['_docTransformIMECacheService']=_0x2a8a0f,this[_0x3eabb8(0x2c3)]=_0x54d9cd,this[_0x3eabb8(0x1f7)]=_0x286510,this['_docSyncEditingCollabCursorService']=_0x243fc2,this[_0x3eabb8(0x3f6)]=_0x568814,this[_0x3eabb8(0x22d)]=_0x18e2b9,this['_initEntityListener']());}['_initEntityListener'](){const _0x5071ed=_0x3b5918;this[_0x5071ed(0x266)](this[_0x5071ed(0x3b2)][_0x5071ed(0x24b)][_0x5071ed(0x240)](_0x49f79d=>{const _0x331a2b=_0x5071ed,_0x222624=this[_0x331a2b(0x3d7)][_0x331a2b(0x1b5)]['subscribe'](_0x542b4d=>{const _0x3157b0=_0x331a2b;if(_0x542b4d==null)return;const {unitId:_0x529d4d,redoState:_0x29377b,commandId:_0x1b3e63}=_0x542b4d;if(_0x529d4d!==_0x49f79d[_0x3157b0(0x2a5)])return;const _0x349d0c={'id':_0x1b3e63,'type':_0x458f8c['CommandType'][_0x3157b0(0x265)],'params':{'unitId':_0x529d4d,'actions':_0x29377b[_0x3157b0(0x350)],'textRanges':null}};_0x49f79d['onLocalMutation'](_0x349d0c);});if(_0x49f79d['disposeWithMe'](_0x222624),_0x49f79d instanceof _0x5b005f[_0x331a2b(0x3f7)]){const _0x422d66={'onTransformIME':_0x3de5a1=>this[_0x331a2b(0x31c)][_0x331a2b(0x340)](_0x3de5a1),'onTransformState':_0x3f9675=>this['_docTransformStateCacheService'][_0x331a2b(0x289)](_0x3f9675),'onTransformSelections':_0x226759=>this[_0x331a2b(0x1f7)]['transformSelections'](_0x226759),'onSyncEditingCollabCursor':_0x3a81fd=>this[_0x331a2b(0x383)][_0x331a2b(0x2bf)](_0x3a81fd),'onTransformRemoteChangesetByIMECache':_0x4e600d=>this[_0x331a2b(0x31c)][_0x331a2b(0x306)](_0x4e600d),'onTransformRemoteChangesetByStateCache':_0xd4b2ac=>this[_0x331a2b(0x2c3)][_0x331a2b(0x306)](_0xd4b2ac)};_0x49f79d[_0x331a2b(0x254)](_0x422d66);}}));}};_0x403462=_0x2f7fce([_0x4ffd9c(0x0,_0x458f8c['Inject'](_0x3fd6d1['DocStateChangeManagerService'])),_0x4ffd9c(0x1,_0x458f8c[_0x3b5918(0x219)](_0x5b005f['CollaborationController'])),_0x4ffd9c(0x2,_0x458f8c[_0x3b5918(0x219)](_0xb11750)),_0x4ffd9c(0x3,_0x458f8c[_0x3b5918(0x219)](_0xcb3361)),_0x4ffd9c(0x4,_0x458f8c[_0x3b5918(0x219)](_0xad6fff)),_0x4ffd9c(0x5,_0x458f8c[_0x3b5918(0x219)](_0x28bc01)),_0x4ffd9c(0x6,_0x396ac0[_0x3b5918(0x1a3)]),_0x4ffd9c(0x7,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x26f)]))],_0x403462);var _0x41653a=Object[_0x3b5918(0x1a0)],_0x5be1c5=(_0x27aacf,_0x345d4e,_0xc19503,_0x278369)=>{for(var _0x343481=_0x278369>0x1?void 0x0:_0x278369?_0x41653a(_0x345d4e,_0xc19503):_0x345d4e,_0x5c5bd4=_0x27aacf['length']-0x1,_0x1566dc;_0x5c5bd4>=0x0;_0x5c5bd4--)(_0x1566dc=_0x27aacf[_0x5c5bd4])&&(_0x343481=_0x1566dc(_0x343481)||_0x343481);return _0x343481;},_0x3aac88=(_0x55e209,_0x5be999)=>(_0x3a0350,_0x5c71d1)=>_0x5be999(_0x3a0350,_0x5c71d1,_0x55e209);let _0x1f0df1=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0xca57fd,_0xfe19f8,_0x146c9a){const _0x6d0a97=_0x3b5918;super(),_0x491c37(this,_0x6d0a97(0x24f),new Map()),_0x491c37(this,_0x6d0a97(0x29c),new Map()),_0x491c37(this,_0x6d0a97(0x297),!0x1),(this['_configService']=_0xca57fd,this[_0x6d0a97(0x3a5)]=_0xfe19f8,this[_0x6d0a97(0x3aa)]=_0x146c9a);}[_0x3b5918(0x312)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x39b1f1=_0x3b5918;this[_0x39b1f1(0x209)]()[_0x39b1f1(0x283)](()=>super[_0x39b1f1(0x2f9)]());}async['loadOfflineData'](_0x148226){const _0x2dec83=_0x3b5918;return this[_0x2dec83(0x297)]?null:this['_localStorageService'][_0x2dec83(0x187)](_0x5b005f['getLocalCacheKey'](_0x148226));}async[_0x3b5918(0x3eb)](_0x13c6b7,_0x4f6507){const _0x245f47=_0x3b5918;return!!this[_0x245f47(0x3a5)][_0x245f47(0x1af)](_0x13c6b7,_0x4f6507);}[_0x3b5918(0x361)](_0x19c774,_0x3dd4cf,_0x57f08d,_0x2ca17b){const _0x420414=_0x3b5918,_0x2dd0c6=this[_0x420414(0x3aa)]['getCurrentRevOfUnit'](_0x19c774);this['_cachedData'][_0x420414(0x2a7)](_0x19c774,{'unitID':_0x19c774,'type':_0x3dd4cf,'awaitingChangeset':_0x57f08d,'mutations':_0x2ca17b,'rev':_0x2dd0c6}),this[_0x420414(0x29c)][_0x420414(0x1b7)](_0x19c774)||this[_0x420414(0x342)](_0x19c774);}[_0x3b5918(0x342)](_0x19fe80){const _0x2362bf=_0x3b5918,_0x17f668=this[_0x2362bf(0x309)]();_0x17f668===0x0?this[_0x2362bf(0x28a)](_0x19fe80):this['_saveTaskMap'][_0x2362bf(0x2a7)](_0x19fe80,setTimeout(()=>this[_0x2362bf(0x28a)](_0x19fe80),_0x17f668));}[_0x3b5918(0x309)](){const _0x45d34a=_0x3b5918;var _0x5b4cc5;return(_0x5b4cc5=this[_0x45d34a(0x176)]['getConfig'](_0x5b005f['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x5b4cc5:_0x5b005f[_0x45d34a(0x22c)];}['_saveCache'](_0xf30f4e){const _0x334e6f=_0x3b5918,_0x27516a=this[_0x334e6f(0x29c)][_0x334e6f(0x357)](_0xf30f4e);return _0x27516a!==void 0x0&&window['clearTimeout'](_0x27516a),this['_localStorageService'][_0x334e6f(0x1af)](_0x5b005f[_0x334e6f(0x223)](_0xf30f4e),this[_0x334e6f(0x24f)][_0x334e6f(0x357)](_0xf30f4e))[_0x334e6f(0x283)](()=>this[_0x334e6f(0x29c)][_0x334e6f(0x1a2)](_0xf30f4e));}async['exhaustSavingTask'](){const _0xce3413=_0x3b5918,_0x24072d=[];this[_0xce3413(0x29c)][_0xce3413(0x38d)]((_0x47a161,_0x55db8c)=>{const _0x4cefb3=_0xce3413;window[_0x4cefb3(0x3c4)](_0x47a161),_0x24072d[_0x4cefb3(0x1ba)](this[_0x4cefb3(0x28a)](_0x55db8c)[_0x4cefb3(0x283)](()=>{const _0x3af30d=_0x4cefb3;this['_saveTaskMap'][_0x3af30d(0x1a2)](_0x55db8c);}));}),await Promise['all'](_0x24072d);}};_0x1f0df1=_0x5be1c5([_0x3aac88(0x0,_0x458f8c[_0x3b5918(0x1ae)]),_0x3aac88(0x1,_0x458f8c['ILocalStorageService']),_0x3aac88(0x2,_0x458f8c[_0x3b5918(0x219)](_0xda915b[_0x3b5918(0x189)]))],_0x1f0df1);class _0x45f262 extends _0x458f8c[_0x3b5918(0x2b1)]{constructor(){const _0x263287=_0x3b5918;super(),_0x491c37(this,_0x263287(0x2dd)),this[_0x263287(0x2dd)]=_0xcb3a0a['fromEvent'](window,_0x263287(0x3b0))['pipe'](_0xcb3a0a[_0x263287(0x3fb)](this['dispose$']),_0xcb3a0a[_0x263287(0x35d)](0x1),_0xcb3a0a[_0x263287(0x364)](void 0x0));}[_0x3b5918(0x1d9)](_0x6dd29e,_0x212544,_0x3f565b=!0x1){const _0x214809=_0x3b5918,_0x1cb586=new URL(window[_0x214809(0x1b0)][_0x214809(0x196)]);_0x1cb586[_0x214809(0x394)][_0x214809(0x2a7)](_0x6dd29e,_0x212544),_0x3f565b?window[_0x214809(0x334)]['replaceState']('','',_0x1cb586[_0x214809(0x362)]()):window[_0x214809(0x334)][_0x214809(0x16a)]('','',_0x1cb586[_0x214809(0x362)]());}[_0x3b5918(0x250)](_0x18cb83,_0x3977fd=!0x1){const _0x257272=_0x3b5918,_0x2efcba=new URL(window[_0x257272(0x1b0)]['href']);_0x2efcba[_0x257272(0x394)][_0x257272(0x1a2)](_0x18cb83),_0x3977fd?window['history'][_0x257272(0x288)]('','',_0x2efcba[_0x257272(0x362)]()):window[_0x257272(0x334)][_0x257272(0x16a)]('','',_0x2efcba[_0x257272(0x362)]());}[_0x3b5918(0x3c5)](_0x45e7da){const _0x5585d3=_0x3b5918;var _0x159dec;return(_0x159dec=new URL(window[_0x5585d3(0x1b0)][_0x5585d3(0x196)])[_0x5585d3(0x394)][_0x5585d3(0x357)](_0x45e7da))!=null?_0x159dec:void 0x0;}}var _0x4c7db7=Object[_0x3b5918(0x281)],_0x774013=Object[_0x3b5918(0x1a0)],_0x2d411e=(_0x3d8171,_0x584313,_0x574c1c)=>_0x584313 in _0x3d8171?_0x4c7db7(_0x3d8171,_0x584313,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x574c1c}):_0x3d8171[_0x584313]=_0x574c1c,_0x225069=(_0x13fd46,_0x2ee96f,_0x169609,_0x31bfa7)=>{for(var _0xaa2e95=_0x31bfa7>0x1?void 0x0:_0x31bfa7?_0x774013(_0x2ee96f,_0x169609):_0x2ee96f,_0x4aed39=_0x13fd46['length']-0x1,_0x33b116;_0x4aed39>=0x0;_0x4aed39--)(_0x33b116=_0x13fd46[_0x4aed39])&&(_0xaa2e95=_0x33b116(_0xaa2e95)||_0xaa2e95);return _0xaa2e95;},_0x119be2=(_0x1b07ee,_0xd9b14c)=>(_0xa95a7,_0x5970af)=>_0xd9b14c(_0xa95a7,_0x5970af,_0x1b07ee),_0x49d16a=(_0x3cdfef,_0x2b1b6c,_0x2582e6)=>_0x2d411e(_0x3cdfef,_0x2b1b6c+'',_0x2582e6);const _0x5ce704=_0x3b5918(0x295);_0x4bd5b3[_0x3b5918(0x2e1)]=class extends _0x458f8c[_0x3b5918(0x3e3)]{constructor(_0x2c245c=_0x57b9dc,_0x295f0b,_0x52b6a7,_0x1e117a){const _0x5efc1e=_0x3b5918;super(),this[_0x5efc1e(0x1a7)]=_0x2c245c,this['_renderManagerService']=_0x295f0b,this[_0x5efc1e(0x391)]=_0x52b6a7,this[_0x5efc1e(0x176)]=_0x1e117a;const {..._0x39b7ea}=_0x458f8c['merge']({},_0x57b9dc,this['_config']);this[_0x5efc1e(0x176)][_0x5efc1e(0x1d1)](_0x47fdb6,_0x39b7ea);}[_0x3b5918(0x23c)](){const _0x46c27c=_0x3b5918;this[_0x46c27c(0x2fc)](),this[_0x46c27c(0x2b9)]();}[_0x3b5918(0x320)](){const _0x3843d9=_0x3b5918;this[_0x3843d9(0x2ad)]();}[_0x3b5918(0x2fc)](){const _0x49465c=_0x3b5918;var _0x561941;const _0x47ad4a=[[_0x36bc68],[_0xad6fff],[_0xb11750],[_0xcb3361],[_0x28bc01],[_0x1572c8,{'useClass':_0x45f262}],[_0x34f6fb[_0x49465c(0x37f)],{'useClass':_0x34f6fb[_0x49465c(0x3d2)]}],[_0x5b005f[_0x49465c(0x2ba)],{'useClass':_0x1f0df1}],[_0x4bd5b3[_0x49465c(0x1a4)]],[_0x403462],[_0x55543c],[_0x3c03bf],[_0x5a82c0],[_0x4bd5b3[_0x49465c(0x326)]]];_0x458f8c[_0x49465c(0x2dc)](this[_0x49465c(0x391)],_0x458f8c[_0x49465c(0x21b)](_0x47ad4a,(_0x561941=this[_0x49465c(0x1a7)])==null?void 0x0:_0x561941[_0x49465c(0x259)]));}['_registerRenderDependencies'](){const _0x6d16be=_0x3b5918;this[_0x6d16be(0x266)](this['_renderManagerService']['registerRenderModule'](_0x458f8c[_0x6d16be(0x1b3)][_0x6d16be(0x3dc)],[_0x59373c])),this[_0x6d16be(0x266)](this[_0x6d16be(0x387)][_0x6d16be(0x299)](_0x458f8c[_0x6d16be(0x1b3)][_0x6d16be(0x3ea)],[_0x4bb42a]));}[_0x3b5918(0x2b9)](){const _0x54ee44=_0x3b5918;_0x458f8c[_0x54ee44(0x2ff)](this['_injector'],[[_0x3c03bf],[_0x4bd5b3[_0x54ee44(0x1a4)]],[_0x403462],[_0x55543c],[_0x4bd5b3[_0x54ee44(0x326)]]]);}},_0x49d16a(_0x4bd5b3[_0x3b5918(0x2e1)],_0x3b5918(0x194),_0x5ce704),_0x4bd5b3[_0x3b5918(0x2e1)]=_0x225069([_0x458f8c[_0x3b5918(0x203)](_0x5b005f[_0x3b5918(0x1aa)]),_0x119be2(0x1,_0x268e65[_0x3b5918(0x359)]),_0x119be2(0x2,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x37d)])),_0x119be2(0x3,_0x458f8c[_0x3b5918(0x1ae)])],_0x4bd5b3[_0x3b5918(0x2e1)]);var _0x2bc406=Object['getOwnPropertyDescriptor'],_0x30eca7=(_0x15a574,_0xca6db5,_0x3c2905,_0xd4a3e0)=>{const _0x5628a9=_0x3b5918;for(var _0xa8d92d=_0xd4a3e0>0x1?void 0x0:_0xd4a3e0?_0x2bc406(_0xca6db5,_0x3c2905):_0xca6db5,_0x339512=_0x15a574[_0x5628a9(0x399)]-0x1,_0x1cb20c;_0x339512>=0x0;_0x339512--)(_0x1cb20c=_0x15a574[_0x339512])&&(_0xa8d92d=_0x1cb20c(_0xa8d92d)||_0xa8d92d);return _0xa8d92d;},_0x52c2e4=(_0x32e404,_0x3431c4)=>(_0x35f16d,_0x36dd23)=>_0x3431c4(_0x35f16d,_0x36dd23,_0x32e404);_0x4bd5b3[_0x3b5918(0x325)]=class extends _0x5b005f[_0x3b5918(0x236)]{constructor(_0x59ddb0,_0x339a05,_0x592e1b,_0x16d421,_0x472fa2){super(_0x59ddb0,_0x339a05,_0x592e1b,_0x16d421,_0x472fa2);}async[_0x3b5918(0x205)](_0x53d709){const _0x34bf23=_0x3b5918,_0x595141=await this[_0x34bf23(0x193)](),_0x283ef3=this[_0x34bf23(0x3ce)](_0x53d709,_0x595141);return this[_0x34bf23(0x314)](_0x283ef3);}[_0x3b5918(0x3ce)](_0x19582e,_0x1b9563){const _0x263daf=_0x3b5918,_0x34d709=typeof window>'u'?new URL(_0x19582e):new URL(_0x19582e,window[_0x263daf(0x1b0)][_0x263daf(0x305)]);_0x34d709[_0x263daf(0x394)]['set'](_0x263daf(0x256),_0x1b9563);const _0x3f22df=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x263daf(0x1b0)][_0x263daf(0x287)]);return _0x3f22df[_0x263daf(0x357)](_0x263daf(0x2c9))&&_0x34d709['searchParams'][_0x263daf(0x2a7)](_0x263daf(0x2c9),_0x3f22df[_0x263daf(0x357)](_0x263daf(0x2c9))),_0x34d709[_0x263daf(0x362)]();}async[_0x3b5918(0x193)](){const _0x2d2960=_0x3b5918;var _0x3b0de9,_0x129b35,_0x302b3f;const _0x1604e2=this[_0x2d2960(0x176)]['getConfig'](_0x5b005f[_0x2d2960(0x25b)]),_0x9fc135=(_0x3b0de9=_0x1604e2==null?void 0x0:_0x1604e2[_0x2d2960(0x3b8)])!=null?_0x3b0de9:_0x5b005f[_0x2d2960(0x2a9)];return(_0x302b3f=(_0x129b35=(await this[_0x2d2960(0x28f)]['get'](_0x9fc135,{'headers':{'Content-Type':_0x2d2960(0x33a)}}))[_0x2d2960(0x17d)])==null?void 0x0:_0x129b35['ticket'])!=null?_0x302b3f:'';}},_0x4bd5b3[_0x3b5918(0x325)]=_0x30eca7([_0x52c2e4(0x0,_0x458f8c['Inject'](_0x458f8c[_0x3b5918(0x37d)])),_0x52c2e4(0x1,_0x458f8c[_0x3b5918(0x219)](_0x34f6fb[_0x3b5918(0x235)])),_0x52c2e4(0x2,_0x458f8c['IConfigService']),_0x52c2e4(0x3,_0x458f8c[_0x3b5918(0x239)]),_0x52c2e4(0x4,_0xda915b[_0x3b5918(0x1f5)])],_0x4bd5b3[_0x3b5918(0x325)]);const _0x3c7ca5=0x7530,_0x3ee7bd=_0x3b5918(0x1cd);class _0x4b0917 extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(){const _0x32ec6b=_0x3b5918;super(),_0x491c37(this,_0x32ec6b(0x1eb),_0x458f8c[_0x32ec6b(0x3a6)]()),_0x491c37(this,_0x32ec6b(0x185),new Set()),_0x491c37(this,_0x32ec6b(0x27b),new Map()),_0x491c37(this,_0x32ec6b(0x3ca),null),_0x491c37(this,_0x32ec6b(0x3de),new Map()),_0x491c37(this,_0x32ec6b(0x400),new Map()),this[_0x32ec6b(0x32d)]();}[_0x3b5918(0x2f9)](){const _0x327d09=_0x3b5918;super[_0x327d09(0x2f9)](),this[_0x327d09(0x3de)]['forEach']((_0x15826e,_0x19a9f4)=>this[_0x327d09(0x1f0)](_0x19a9f4)),this[_0x327d09(0x3ca)]&&window[_0x327d09(0x1c7)](this[_0x327d09(0x3ca)]);}[_0x3b5918(0x21e)](_0x28b57b){const _0x4c1d6c=_0x3b5918;return this[_0x4c1d6c(0x379)](_0x28b57b)[_0x4c1d6c(0x1b4)](_0xcb3a0a[_0x4c1d6c(0x360)]());}[_0x3b5918(0x3f0)](_0x36960f){const _0x1b3c1a=_0x3b5918;this[_0x1b3c1a(0x185)][_0x1b3c1a(0x1a1)]===0x0&&this[_0x1b3c1a(0x1d2)](),this[_0x1b3c1a(0x185)][_0x1b3c1a(0x339)](_0x36960f),this['_send']({'type':0x0,'memberID':this[_0x1b3c1a(0x1eb)],'unitIDs':[_0x36960f],'isForwarded':!0x1});}[_0x3b5918(0x25f)](_0x13a6a1){const _0x49ab05=_0x3b5918;this[_0x49ab05(0x185)][_0x49ab05(0x1a2)](_0x13a6a1),this[_0x49ab05(0x185)][_0x49ab05(0x1a1)]===0x0&&this['_heartbeatTimer']&&window[_0x49ab05(0x1c7)](this[_0x49ab05(0x3ca)]);}['_init'](){const _0x23cae9=_0x3b5918;this[_0x23cae9(0x266)](_0x458f8c['toDisposable'](_0xcb3a0a[_0x23cae9(0x3b4)](window,_0x23cae9(0x3bd))[_0x23cae9(0x240)](_0x4776e2=>{const _0x4af6cb=_0x23cae9;if(_0x4776e2['key']!==_0x3ee7bd||!_0x4776e2[_0x4af6cb(0x32b)])return;const _0x1dba26=JSON[_0x4af6cb(0x248)](_0x4776e2[_0x4af6cb(0x32b)]);this[_0x4af6cb(0x1ca)](_0x1dba26);}))),window['addEventListener'](_0x23cae9(0x242),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x23cae9(0x185)])}));}[_0x3b5918(0x1ca)](_0x37fba0){const _0x183459=_0x3b5918;switch(_0x37fba0[_0x183459(0x382)]){case 0x0:this[_0x183459(0x3cf)](_0x37fba0);break;case 0x1:this[_0x183459(0x1a9)](_0x37fba0);break;case 0x2:this[_0x183459(0x327)](_0x37fba0);break;}}[_0x3b5918(0x3cf)](_0x2bb0e8){const _0x4c84a6=_0x3b5918,{unitIDs:_0x517724,memberID:_0x131ed0,isForwarded:_0x568d29}=_0x2bb0e8;_0x517724[_0x4c84a6(0x38d)](_0x195993=>{const _0x4acf8b=_0x4c84a6;if(!_0x568d29&&this['_unitOnClients'][_0x4acf8b(0x1b7)](_0x195993)&&this[_0x4acf8b(0x379)](_0x195993)[_0x4acf8b(0x1c2)](_0x5b005f['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x4acf8b(0x27b)][_0x4acf8b(0x1b7)](_0x195993)||!this[_0x4acf8b(0x27b)][_0x4acf8b(0x357)](_0x195993)['has'](_0x131ed0)){const _0x4d194a=this[_0x4acf8b(0x27b)]['get'](_0x195993)||new Set();_0x4d194a[_0x4acf8b(0x339)](_0x131ed0),this[_0x4acf8b(0x27b)][_0x4acf8b(0x2a7)](_0x195993,_0x4d194a),this['_scheduleClearOtherTimer'](_0x131ed0);}}),_0x568d29||this[_0x4c84a6(0x286)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3b5918(0x36c)](_0x58b0d7){const _0x1d22d4=_0x3b5918;this[_0x1d22d4(0x1f0)](_0x58b0d7);const _0x311943=window[_0x1d22d4(0x324)](()=>{const _0x397135=_0x1d22d4;this[_0x397135(0x27b)]['forEach'](_0x45f075=>{const _0xf23218=_0x397135;_0x45f075[_0xf23218(0x1a2)](_0x58b0d7);});},_0x3c7ca5*0x2);this[_0x1d22d4(0x3de)][_0x1d22d4(0x2a7)](_0x58b0d7,_0x311943);}[_0x3b5918(0x1f0)](_0x1851f0){const _0x58ee13=_0x3b5918;if(this['_clearOtherTimers'][_0x58ee13(0x1b7)](_0x1851f0)){const _0x57f39f=this['_clearOtherTimers'][_0x58ee13(0x357)](_0x1851f0);_0x57f39f&&window[_0x58ee13(0x3c4)](_0x57f39f),this['_clearOtherTimers'][_0x58ee13(0x2a7)](_0x1851f0,null);}}[_0x3b5918(0x1a9)](_0x2bcc40){const _0x1a9fe2=_0x3b5918,{memberID:_0x17afb6,unitIDs:_0x176013}=_0x2bcc40;_0x176013[_0x1a9fe2(0x38d)](_0x1d9a3a=>{const _0x4e3ffc=_0x1a9fe2;var _0x4487e4;const _0x3c5f7a=this['_unitOnClients'][_0x4e3ffc(0x357)](_0x1d9a3a);_0x3c5f7a&&(_0x3c5f7a[_0x4e3ffc(0x1a2)](_0x17afb6),(_0x4487e4=this['_ensureSubject'](_0x1d9a3a))==null||_0x4487e4[_0x4e3ffc(0x1c2)](_0x3c5f7a[_0x4e3ffc(0x1a1)]===0x0?_0x5b005f[_0x4e3ffc(0x3a8)]['NO_OTHER_CLIENTS_EDITING']:_0x5b005f[_0x4e3ffc(0x3a8)][_0x4e3ffc(0x1e5)]));}),this[_0x1a9fe2(0x1f0)](_0x17afb6);}[_0x3b5918(0x327)](_0x195ca0){this['_scheduleClearOtherTimer'](_0x195ca0['memberID']);}[_0x3b5918(0x286)](_0x25e469){const _0x2726d2=_0x3b5918;localStorage[_0x2726d2(0x1af)](_0x3ee7bd,JSON['stringify'](_0x25e469));}[_0x3b5918(0x1d2)](){const _0x21c937=_0x3b5918;this['_heartbeatTimer']=window[_0x21c937(0x30f)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3c7ca5);}[_0x3b5918(0x379)](_0x20133e){const _0x28b344=_0x3b5918;return this[_0x28b344(0x400)]['has'](_0x20133e)||this[_0x28b344(0x400)][_0x28b344(0x2a7)](_0x20133e,new _0xcb3a0a['BehaviorSubject'](_0x5b005f['UnitStatus'][_0x28b344(0x2ee)])),this[_0x28b344(0x400)][_0x28b344(0x357)](_0x20133e);}}var _0x40fec7=(_0x5a066b=>(_0x5a066b[_0x5a066b[_0x3b5918(0x2a1)]=0x0]=_0x3b5918(0x2a1),_0x5a066b[_0x5a066b['OK']=0x1]='OK',_0x5a066b[_0x5a066b[_0x3b5918(0x3b6)]=0x2]=_0x3b5918(0x3b6),_0x5a066b[_0x5a066b['PERMISSION_DENIED']=0x3]=_0x3b5918(0x22e),_0x5a066b[_0x5a066b[_0x3b5918(0x31a)]=0x4]=_0x3b5918(0x31a),_0x5a066b[_0x5a066b['UNAUTHENTICATED']=0x5]=_0x3b5918(0x322),_0x5a066b[_0x5a066b[_0x3b5918(0x3bb)]=0x6]=_0x3b5918(0x3bb),_0x5a066b[_0x5a066b[_0x3b5918(0x293)]=0x7]='INVALID_ARGUMENT',_0x5a066b[_0x5a066b['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5a066b[_0x5a066b[_0x3b5918(0x2f1)]=0x9]=_0x3b5918(0x2f1),_0x5a066b[_0x5a066b[_0x3b5918(0x3f5)]=0xa]=_0x3b5918(0x3f5),_0x5a066b[_0x5a066b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3b5918(0x23b),_0x5a066b[_0x5a066b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3b5918(0x274),_0x5a066b[_0x5a066b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3b5918(0x376),_0x5a066b[_0x5a066b[_0x3b5918(0x1df)]=0x1773]=_0x3b5918(0x1df),_0x5a066b[_0x5a066b['APPLY_REJECT']=0x1b59]=_0x3b5918(0x220),_0x5a066b[_0x5a066b[_0x3b5918(0x2d7)]=0x1b5a]=_0x3b5918(0x2d7),_0x5a066b[_0x5a066b[_0x3b5918(0x2d9)]=0x1b5b]=_0x3b5918(0x2d9),_0x5a066b[_0x5a066b[_0x3b5918(0x345)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5a066b[_0x5a066b['APPLY_DUPLICATED']=0x1b5d]=_0x3b5918(0x237),_0x5a066b[_0x5a066b[_0x3b5918(0x234)]=0x1f41]=_0x3b5918(0x234),_0x5a066b[_0x5a066b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3b5918(0x279),_0x5a066b[_0x5a066b[_0x3b5918(0x2f0)]=0x232a]=_0x3b5918(0x2f0),_0x5a066b[_0x5a066b[_0x3b5918(0x1bd)]=0x232b]=_0x3b5918(0x1bd),_0x5a066b[_0x5a066b[_0x3b5918(0x3dd)]=0x232c]=_0x3b5918(0x3dd),_0x5a066b[_0x5a066b['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x5a066b[_0x5a066b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3b5918(0x182),_0x5a066b[_0x5a066b[_0x3b5918(0x174)]=0x2712]=_0x3b5918(0x174),_0x5a066b[_0x5a066b[_0x3b5918(0x20d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5a066b[_0x5a066b[_0x3b5918(0x17f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5a066b[_0x5a066b[_0x3b5918(0x171)]=0x2af9]=_0x3b5918(0x171),_0x5a066b[_0x5a066b[_0x3b5918(0x377)]=0x2ee1]=_0x3b5918(0x377),_0x5a066b[_0x5a066b['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5a066b[_0x5a066b['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5a066b[_0x5a066b[_0x3b5918(0x341)]=0x2ee4]=_0x3b5918(0x341),_0x5a066b[_0x5a066b[_0x3b5918(0x3ad)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5a066b[_0x5a066b[_0x3b5918(0x2b3)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5a066b[_0x5a066b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5a066b[_0x5a066b[_0x3b5918(0x178)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5a066b[_0x5a066b[_0x3b5918(0x2f8)]=-0x1]=_0x3b5918(0x2f8),_0x5a066b))(_0x40fec7||{}),_0x5d3a00=Object['getOwnPropertyDescriptor'],_0x2280f0=(_0x1482d1,_0x182fb8,_0x5d28cf,_0x35f1a2)=>{const _0x4a7c14=_0x3b5918;for(var _0x37db9a=_0x35f1a2>0x1?void 0x0:_0x35f1a2?_0x5d3a00(_0x182fb8,_0x5d28cf):_0x182fb8,_0x3f88f2=_0x1482d1[_0x4a7c14(0x399)]-0x1,_0x3ad765;_0x3f88f2>=0x0;_0x3f88f2--)(_0x3ad765=_0x1482d1[_0x3f88f2])&&(_0x37db9a=_0x3ad765(_0x37db9a)||_0x37db9a);return _0x37db9a;},_0x1434ac=(_0x1e4fd8,_0x437d3f)=>(_0x4e5277,_0x466d03)=>_0x437d3f(_0x4e5277,_0x466d03,_0x1e4fd8);_0x4bd5b3[_0x3b5918(0x1f6)]=class extends _0x458f8c[_0x3b5918(0x2fd)]{constructor(_0x47d7e0,_0x19d724,_0x461edf){const _0x333abc=_0x3b5918;super(),this[_0x333abc(0x3d9)]=_0x47d7e0,this[_0x333abc(0x28f)]=_0x19d724,this['_configService']=_0x461edf;}async[_0x3b5918(0x255)](_0x29312f,_0x14f53a,_0x27e371,..._0x21b1a4){const _0x15583f=_0x3b5918;var _0x177efe,_0x11c0a0,_0x13cdac,_0x5dafa2;const _0x175590=this[_0x15583f(0x3d9)][_0x15583f(0x307)]();if(!_0x175590)throw new Error(_0x15583f(0x38f));const _0x1b3b76=((_0x177efe=this[_0x15583f(0x176)]['getConfig'](_0x5b005f['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x177efe:_0x5b005f[_0x15583f(0x27a)])+'/'+_0x29312f+_0x15583f(0x19d)+_0x14f53a,_0x5f51c1=new URL(window[_0x15583f(0x1b0)]['href']),_0x199c8d={'scriptId':_0x29312f,'runId':(_0x11c0a0=_0x5f51c1[_0x15583f(0x394)][_0x15583f(0x357)]('runId'))!=null?_0x11c0a0:'','function':_0x14f53a,'unitId':_0x175590[_0x15583f(0x39a)](),'argsOfFunction':JSON[_0x15583f(0x3e6)](_0x21b1a4),'invokeId':(_0x13cdac=_0x27e371[_0x15583f(0x2eb)])!=null?_0x13cdac:'','executionId':(_0x5dafa2=_0x27e371[_0x15583f(0x20b)])!=null?_0x5dafa2:''};try{const _0x81b523=await this[_0x15583f(0x28f)]['post'](_0x1b3b76,{'body':_0x199c8d});return _0x81b523[_0x15583f(0x17d)]['error']&&_0x81b523[_0x15583f(0x17d)][_0x15583f(0x3a1)][_0x15583f(0x25e)]!==_0x40fec7['OK']?_0x15583f(0x188):_0x81b523[_0x15583f(0x17d)][_0x15583f(0x30d)];}catch{return _0x15583f(0x188);}}},_0x4bd5b3[_0x3b5918(0x1f6)]=_0x2280f0([_0x1434ac(0x0,_0x458f8c[_0x3b5918(0x2c0)]),_0x1434ac(0x1,_0x458f8c[_0x3b5918(0x219)](_0x34f6fb[_0x3b5918(0x235)])),_0x1434ac(0x2,_0x458f8c['IConfigService'])],_0x4bd5b3[_0x3b5918(0x1f6)]),_0x4bd5b3[_0x3b5918(0x36e)]=_0x1b1a62,_0x4bd5b3[_0x3b5918(0x3ef)]=_0x1572c8,_0x4bd5b3[_0x3b5918(0x2de)]=_0xf6c169,_0x4bd5b3[_0x3b5918(0x282)]=_0x4b0917,_0x4bd5b3['WebURLService']=_0x45f262,Object[_0x3b5918(0x281)](_0x4bd5b3,Symbol[_0x3b5918(0x34d)],{'value':_0x3b5918(0x2be)});}));
|