@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506231607 → 0.8.2-nightly.202506251607
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/ko-KR.js +1 -0
- 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/ko-KR.js +1 -0
- 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/ko-KR.js +1 -0
- 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/types/locale/ko-KR.d.ts +3 -0
- 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/ko-KR.js +1 -0
- 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 _0x182a(_0x20c9e9,_0x3eeded){const _0x11905d=_0x1190();return _0x182a=function(_0x182a63,_0x4fd569){_0x182a63=_0x182a63-0xb3;let _0x42d7fe=_0x11905d[_0x182a63];return _0x42d7fe;},_0x182a(_0x20c9e9,_0x3eeded);}(function(_0x469f4b,_0x97a4d3){const _0x1f54ac=_0x182a,_0x24239c=_0x469f4b();while(!![]){try{const _0x1b394b=-parseInt(_0x1f54ac(0x198))/0x1*(parseInt(_0x1f54ac(0x203))/0x2)+parseInt(_0x1f54ac(0x2bf))/0x3*(parseInt(_0x1f54ac(0x2d5))/0x4)+-parseInt(_0x1f54ac(0x122))/0x5*(parseInt(_0x1f54ac(0x2eb))/0x6)+-parseInt(_0x1f54ac(0xb9))/0x7*(parseInt(_0x1f54ac(0x273))/0x8)+parseInt(_0x1f54ac(0x164))/0x9*(parseInt(_0x1f54ac(0x20d))/0xa)+-parseInt(_0x1f54ac(0x193))/0xb*(parseInt(_0x1f54ac(0x30b))/0xc)+parseInt(_0x1f54ac(0x12c))/0xd;if(_0x1b394b===_0x97a4d3)break;else _0x24239c['push'](_0x24239c['shift']());}catch(_0x236570){_0x24239c['push'](_0x24239c['shift']());}}}(_0x1190,0xd3ae0),function(_0x4fee9f,_0x2a9d82){const _0x2d75bd=_0x182a;typeof exports=='object'&&typeof module<'u'?_0x2a9d82(exports,require(_0x2d75bd(0x341)),require(_0x2d75bd(0x32d)),require(_0x2d75bd(0x183)),require(_0x2d75bd(0x2df)),require('@univerjs/docs-ui'),require(_0x2d75bd(0x106)),require(_0x2d75bd(0x338)),require(_0x2d75bd(0x2d7)),require('@univerjs/docs'),require(_0x2d75bd(0x2a6)),require(_0x2d75bd(0x319)),require(_0x2d75bd(0x22b)),require(_0x2d75bd(0x237)),require('react/jsx-runtime'),require(_0x2d75bd(0xcc)),require(_0x2d75bd(0x115)),require(_0x2d75bd(0x142)),require(_0x2d75bd(0x1d2))):typeof define==_0x2d75bd(0x30f)&&define[_0x2d75bd(0x240)]?define([_0x2d75bd(0x2c5),_0x2d75bd(0x341),_0x2d75bd(0x32d),'@univerjs/engine-render',_0x2d75bd(0x2df),_0x2d75bd(0x2b4),'@univerjs/drawing',_0x2d75bd(0x338),_0x2d75bd(0x2d7),_0x2d75bd(0x2a3),_0x2d75bd(0x2a6),'@univerjs/sheets',_0x2d75bd(0x22b),_0x2d75bd(0x237),'react/jsx-runtime',_0x2d75bd(0xcc),'@univerjs/design',_0x2d75bd(0x142),_0x2d75bd(0x1d2)],_0x2a9d82):(_0x4fee9f=typeof globalThis<'u'?globalThis:_0x4fee9f||self,_0x2a9d82(_0x4fee9f[_0x2d75bd(0x243)]={},_0x4fee9f['UniverProCollaborationClient'],_0x4fee9f[_0x2d75bd(0xd3)],_0x4fee9f[_0x2d75bd(0x152)],_0x4fee9f['UniverNetwork'],_0x4fee9f[_0x2d75bd(0x325)],_0x4fee9f['UniverDrawing'],_0x4fee9f[_0x2d75bd(0x338)],_0x4fee9f[_0x2d75bd(0x328)],_0x4fee9f['UniverDocs'],_0x4fee9f[_0x2d75bd(0x1f3)],_0x4fee9f[_0x2d75bd(0x138)],_0x4fee9f[_0x2d75bd(0x338)][_0x2d75bd(0xb6)],_0x4fee9f[_0x2d75bd(0x2ff)],_0x4fee9f[_0x2d75bd(0x232)],_0x4fee9f[_0x2d75bd(0x189)],_0x4fee9f['UniverDesign'],_0x4fee9f['React'],_0x4fee9f[_0x2d75bd(0x28f)]));}(this,function(_0x2ec00e,_0x561334,_0x34f2b0,_0x1678e0,_0x64f4c9,_0x3487a2,_0x479522,_0x53d307,_0x2336f8,_0x721df3,_0x5bfca6,_0x2a09ae,_0x4357b4,_0x5d707f,_0x2cf07e,_0x2dc545,_0x3b8c80,_0x46992f,_0x3b398b){'use strict';const _0x53aa47=_0x182a;var _0x1b559e=Object['defineProperty'],_0x389a39=(_0x46978e,_0x28fe55,_0x467941)=>_0x28fe55 in _0x46978e?_0x1b559e(_0x46978e,_0x28fe55,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x467941}):_0x46978e[_0x28fe55]=_0x467941,_0x5e46bb=(_0x195426,_0x3f9baf,_0x3e83e0)=>_0x389a39(_0x195426,typeof _0x3f9baf!=_0x53aa47(0xfd)?_0x3f9baf+'':_0x3f9baf,_0x3e83e0),_0x268749=Object[_0x53aa47(0x121)],_0x1e127e=(_0x308979,_0x2c515b,_0x385bf8,_0x250006)=>{for(var _0x442fc9=_0x250006>0x1?void 0x0:_0x250006?_0x268749(_0x2c515b,_0x385bf8):_0x2c515b,_0x2dd8f7=_0x308979['length']-0x1,_0x3aad44;_0x2dd8f7>=0x0;_0x2dd8f7--)(_0x3aad44=_0x308979[_0x2dd8f7])&&(_0x442fc9=_0x3aad44(_0x442fc9)||_0x442fc9);return _0x442fc9;},_0x10d793=(_0x13302b,_0x1b720f)=>(_0x227c2c,_0x29cc18)=>_0x1b720f(_0x227c2c,_0x29cc18,_0x13302b);let _0x414baf=class extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(_0x3e9631,_0x3aec5b){const _0x347303=_0x53aa47;super(),this[_0x347303(0xe2)]=_0x3e9631,this[_0x347303(0x270)]=_0x3aec5b,this[_0x347303(0x17f)]();}[_0x53aa47(0x17f)](){const _0x3eaa05=_0x53aa47,_0x2149cd=this;this[_0x3eaa05(0x278)](this['_docClipboardService'][_0x3eaa05(0x267)]({'onBeforePasteImage':async _0x1ff34b=>{const _0x4e7b64=_0x3eaa05,_0x5458f1=await _0x2149cd[_0x4e7b64(0x270)][_0x4e7b64(0x242)](_0x1ff34b);return _0x5458f1?{'source':_0x5458f1[_0x4e7b64(0x331)],'imageSourceType':_0x5458f1[_0x4e7b64(0x31d)]}:null;}}));}};_0x414baf=_0x1e127e([_0x10d793(0x0,_0x3487a2[_0x53aa47(0x2b8)]),_0x10d793(0x1,_0x479522[_0x53aa47(0x220)])],_0x414baf);const _0x3091e2=[_0x53aa47(0x348),'jiqing.500','green.600',_0x53aa47(0x191),_0x53aa47(0x105),'yellow.400'];class _0x57ef26 extends _0x34f2b0[_0x53aa47(0x12a)]{constructor(){super(...arguments),_0x5e46bb(this,'_assignedColors',new Map()),_0x5e46bb(this,'_colorIndex',0x0);}[_0x53aa47(0x286)](_0x42f4d3){const _0x2c6028=_0x53aa47;if(this[_0x2c6028(0x334)][_0x2c6028(0x1be)](_0x42f4d3))return this[_0x2c6028(0x334)][_0x2c6028(0x238)](_0x42f4d3);const _0x42f402=_0x3091e2[this[_0x2c6028(0x1d3)]];return this[_0x2c6028(0x1d3)]=(this[_0x2c6028(0x1d3)]+0x1)%_0x3091e2[_0x2c6028(0x28e)],this[_0x2c6028(0x334)]['set'](_0x42f4d3,_0x42f402),_0x42f402;}}function _0x47f1a1(_0x1977df){const _0x2b52d0=_0x53aa47;let _0x6362f3='';for(const _0x55a4b0 of _0x1977df){const {startOffset:_0x2983ad,endOffset:_0x27ee59,isActive:_0x37ef4b,rangeType:_0x420fe9,segmentId:_0x1078bb,segmentPage:_0x5c859e}=_0x55a4b0;_0x6362f3[_0x2b52d0(0x28e)]&&(_0x6362f3+=','),_0x6362f3+=_0x2983ad+':'+_0x27ee59+':'+(_0x37ef4b?'1':'0')+':'+_0x420fe9+':'+_0x1078bb+':'+_0x5c859e;}return _0x6362f3;}function _0x10f335(_0x1629d7){const _0x5570b2=_0x53aa47,_0x4d3d3d=_0x1629d7[_0x5570b2(0x2e9)](','),_0x2d2138=[];for(const _0x1f1af3 of _0x4d3d3d){const [_0x4ddd67,_0x54231e,_0x403159,_0x99597a,_0x2a067d,_0x26945f]=_0x1f1af3[_0x5570b2(0x2e9)](':');_0x2d2138['push']({'startOffset':Number(_0x4ddd67),'endOffset':Number(_0x54231e),'collapsed':_0x4ddd67===_0x54231e,'isActive':_0x403159==='1','rangeType':_0x99597a===_0x34f2b0['DOC_RANGE_TYPE']['TEXT']?_0x34f2b0[_0x5570b2(0x13c)][_0x5570b2(0x2cf)]:_0x34f2b0['DOC_RANGE_TYPE'][_0x5570b2(0x2c7)],'segmentId':typeof _0x2a067d=='string'?String(_0x2a067d):'','segmentPage':Number(_0x26945f!=null?_0x26945f:-0x1)});}return _0x2d2138[_0x5570b2(0x2fa)](_0x2d0ee9=>_0x2d0ee9[_0x5570b2(0x230)])||(_0x2d2138[0x0]['isActive']=!0x0),_0x2d2138;}class _0x5d5e3c extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(){const _0x36e40b=_0x53aa47;super(...arguments),_0x5e46bb(this,'_collabCursorState$',new _0x53d307[(_0x36e40b(0x1f8))](null)),_0x5e46bb(this,_0x36e40b(0x155),this[_0x36e40b(0x1af)][_0x36e40b(0xd4)]());}[_0x53aa47(0x343)](_0x235b81){const _0x56719c=_0x53aa47,{unitID:_0x2ae626,memberID:_0x5d6c68,textRanges:_0x1b75db}=_0x235b81,_0x327271=_0x47f1a1(_0x1b75db);if(_0x327271==='')return;const _0x676705={'unitID':_0x2ae626,'memberID':_0x5d6c68,'selection':_0x327271};this[_0x56719c(0x1af)][_0x56719c(0xeb)](_0x676705);}}var _0x5d9b18=Object['getOwnPropertyDescriptor'],_0x52e63d=(_0xc01727,_0x38b02b,_0x4786f5,_0x6dd0dd)=>{for(var _0xda5352=_0x6dd0dd>0x1?void 0x0:_0x6dd0dd?_0x5d9b18(_0x38b02b,_0x4786f5):_0x38b02b,_0x1a33e3=_0xc01727['length']-0x1,_0x5f184e;_0x1a33e3>=0x0;_0x1a33e3--)(_0x5f184e=_0xc01727[_0x1a33e3])&&(_0xda5352=_0x5f184e(_0xda5352)||_0xda5352);return _0xda5352;},_0x34cad7=(_0x4f6f2b,_0x3a578c)=>(_0x19185e,_0x36069e)=>_0x3a578c(_0x19185e,_0x36069e,_0x4f6f2b);const _0x1cbc21=0x12c,_0x3a9ddc=0x64;let _0x4f051b=class extends _0x34f2b0['RxDisposable']{constructor(_0x1bcf0a,_0x35dc41,_0x39d299,_0x36d11b,_0x53684b,_0x9db5b4,_0x4e7208,_0x37833a,_0x589488){const _0x38b8be=_0x53aa47;super(),_0x5e46bb(this,'_online',!0x1),_0x5e46bb(this,_0x38b8be(0x17f),!0x1),_0x5e46bb(this,_0x38b8be(0xbd),new _0x53d307[(_0x38b8be(0x1f8))](new Map())),_0x5e46bb(this,'cursorInfo$',this[_0x38b8be(0xbd)][_0x38b8be(0xd4)]()),_0x5e46bb(this,'_roomMembers$',new _0x53d307['BehaviorSubject']([])),_0x5e46bb(this,'roomMembers$',this[_0x38b8be(0x33c)][_0x38b8be(0x147)](_0x53d307['debounceTime'](_0x1cbc21))),_0x5e46bb(this,_0x38b8be(0x21e),_0x34f2b0[_0x38b8be(0x2d2)](_0x35b8b2=>{const _0x3455a1=_0x38b8be,_0x277ca6={'eventID':_0x2336f8[_0x3455a1(0x1f2)][_0x3455a1(0x351)],'data':{'unitID':this[_0x3455a1(0x241)],'memberID':this['_session']['getMemberID'](),'selection':_0x47f1a1(_0x35b8b2)}};this['_session'][_0x3455a1(0x118)](_0x277ca6,this['unitID']);},_0x3a9ddc)),(this[_0x38b8be(0x241)]=_0x1bcf0a,this[_0x38b8be(0x26c)]=_0x35dc41,this['_injector']=_0x39d299,this[_0x38b8be(0x1f7)]=_0x36d11b,this['_memberService']=_0x53684b,this[_0x38b8be(0x113)]=_0x9db5b4,this['_transformService']=_0x4e7208,this['_univerInstanceService']=_0x37833a,this['_commandService']=_0x589488);}get['cursorInfo'](){const _0x47dc25=_0x53aa47;return this[_0x47dc25(0xbd)]['getValue']();}get[_0x53aa47(0x2c2)](){const _0x314117=_0x53aa47;return this['_roomMembers$'][_0x314117(0x103)]();}[_0x53aa47(0x318)](){const _0x44f92e=_0x53aa47;super[_0x44f92e(0x318)](),this[_0x44f92e(0xbd)]['next'](new Map()),this[_0x44f92e(0xbd)][_0x44f92e(0x22e)](),this[_0x44f92e(0x33c)][_0x44f92e(0xeb)]([]),this['_roomMembers$'][_0x44f92e(0x22e)]();}[_0x53aa47(0xec)](){const _0x272d64=_0x53aa47;this[_0x272d64(0x17f)]||(this[_0x272d64(0x17f)]=!0x0,this[_0x272d64(0x26c)][_0x272d64(0xf4)]['pipe'](_0x53d307['takeUntil'](this['dispose$']))[_0x272d64(0x18d)](_0x335d8f=>{const _0x384c14=_0x272d64;_0x335d8f===_0x561334['SessionStatus'][_0x384c14(0x187)]?this[_0x384c14(0x13b)]():this[_0x384c14(0x1f6)]();}),this[_0x272d64(0x26c)][_0x272d64(0x1fc)]['pipe'](_0x53d307[_0x272d64(0x21b)](this[_0x272d64(0x2a0)]))['subscribe'](_0x13dd36=>{const _0x599f0a=_0x272d64,_0x529652=_0x13dd36[_0x599f0a(0x10c)];_0x529652===_0x2336f8[_0x599f0a(0x1f2)][_0x599f0a(0x351)]&&this[_0x599f0a(0x1b9)](_0x13dd36),_0x529652===_0x2336f8[_0x599f0a(0x1f2)][_0x599f0a(0x1c9)]&&this[_0x599f0a(0x192)](_0x13dd36);}),this['disposeWithMe'](this[_0x272d64(0x1c3)][_0x272d64(0x1a7)](_0x2dd60d=>{const _0x28cea1=_0x272d64,_0x3bdc11=_0x2dd60d[_0x28cea1(0xfe)];_0x3bdc11!=null&&this[_0x28cea1(0xc8)]&&_0x2dd60d['id']===_0x721df3[_0x28cea1(0x1bd)]['id']&&_0x3bdc11[_0x28cea1(0x1c6)]===this[_0x28cea1(0x241)]&&_0x3bdc11[_0x28cea1(0x174)]===!0x1&&_0x3bdc11['ranges'][_0x28cea1(0x28e)]>0x0&&this[_0x28cea1(0x21e)](_0x3bdc11[_0x28cea1(0x180)]);})),this['_syncEditingCollabCursorService'][_0x272d64(0x155)][_0x272d64(0x147)](_0x53d307['takeUntil'](this[_0x272d64(0x2a0)]))[_0x272d64(0x18d)](_0x26b99b=>{const _0x180146=_0x272d64;if((_0x26b99b==null?void 0x0:_0x26b99b[_0x180146(0x241)])!==this[_0x180146(0x241)])return;const _0x19ca01={'eventID':_0x2336f8[_0x180146(0x1f2)]['UPDATE_CURSOR'],'data':_0x26b99b};this[_0x180146(0x1b9)](_0x19ca01);}),this[_0x272d64(0x278)](this['_commandService'][_0x272d64(0x1a7)](_0x50698f=>{const _0x262572=_0x272d64;if(_0x50698f[_0x262572(0xfe)]==null)return;const _0x458736=_0x50698f['params'];if(_0x50698f['id']!==_0x721df3[_0x262572(0x18a)]['id']||_0x458736['unitId']!==this[_0x262572(0x241)])return;const _0x27068e={'id':_0x262572(0x179),'params':_0x458736},_0x19391c=this['cursorInfo'];for(const [_0x33b32e,_0x1d1895]of _0x19391c){const _0x5162e8={'id':_0x262572(0x179),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1d1895['ranges']}},_0x323c21=this[_0x262572(0x12b)][_0x262572(0xbb)](_0x27068e,_0x5162e8,!0x1);if(_0x2336f8[_0x262572(0x340)](_0x323c21))throw _0x323c21[_0x262572(0x1a3)];_0x19391c[_0x262572(0x1fa)](_0x33b32e,{..._0x1d1895,'ranges':_0x323c21['m2Prime'][_0x262572(0xfe)][_0x262572(0x141)]});}queueMicrotask(()=>{const _0x41c644=_0x262572;this[_0x41c644(0xbd)][_0x41c644(0xeb)](_0x19391c);});})));}[_0x53aa47(0x1b9)](_0x2d2a64){const _0x5c09b3=_0x53aa47;var _0x381a49,_0xbc8d41;const {memberID:_0x4b57cf,selection:_0x44ce90}=_0x2d2a64[_0x5c09b3(0x1a2)],_0x348495=_0x10f335(_0x44ce90),_0x65aae2=(_0xbc8d41=(_0x381a49=this['_memberService'][_0x5c09b3(0x1eb)](this[_0x5c09b3(0x241)],_0x4b57cf))==null?void 0x0:_0x381a49[_0x5c09b3(0x2b5)])!=null?_0xbc8d41:_0x5c09b3(0x350),_0x65001b={'color':this[_0x5c09b3(0x1f7)]['assignAColorForMemberID'](_0x4b57cf),'name':_0x65aae2,'ranges':_0x348495},_0x39091b=this[_0x5c09b3(0x23f)];_0x39091b[_0x5c09b3(0x1fa)](_0x4b57cf,_0x65001b),this[_0x5c09b3(0xbd)][_0x5c09b3(0xeb)](_0x39091b);}[_0x53aa47(0x192)](_0x5b84f1){const _0x5184a0=_0x53aa47,{memberID:_0x34892d}=_0x5b84f1['data'],_0x5a8ff1=this[_0x5184a0(0x23f)];_0x5a8ff1['delete'](_0x34892d),this[_0x5184a0(0xbd)][_0x5184a0(0xeb)](_0x5a8ff1);}[_0x53aa47(0x13b)](){const _0x440570=_0x53aa47;var _0x4eacf1;if(this['_online']=!0x0,((_0x4eacf1=this[_0x440570(0xbf)]['getFocusedUnit']())==null?void 0x0:_0x4eacf1[_0x440570(0x1fd)]())!==this[_0x440570(0x241)])return;const _0x5f2b8=this[_0x440570(0x195)][_0x440570(0x238)](_0x721df3[_0x440570(0x135)])[_0x440570(0x1ad)]();Array['isArray'](_0x5f2b8)&&_0x5f2b8['length']>0x0&&this[_0x440570(0x21e)](_0x5f2b8);}[_0x53aa47(0x1f6)](){this['_online']=!0x1;}};_0x4f051b=_0x52e63d([_0x34cad7(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x34cad7(0x3,_0x34f2b0['Inject'](_0x57ef26)),_0x34cad7(0x4,_0x34f2b0[_0x53aa47(0x2c6)](_0x561334['MemberService'])),_0x34cad7(0x5,_0x34f2b0[_0x53aa47(0x2c6)](_0x5d5e3c)),_0x34cad7(0x6,_0x2336f8[_0x53aa47(0x134)]),_0x34cad7(0x7,_0x34f2b0[_0x53aa47(0x10d)]),_0x34cad7(0x8,_0x34f2b0[_0x53aa47(0x111)])],_0x4f051b);var _0x161fdb=Object[_0x53aa47(0x121)],_0x5b37a6=(_0x2a605c,_0x124a43,_0x591c4d,_0x121774)=>{for(var _0x1a1257=_0x121774>0x1?void 0x0:_0x121774?_0x161fdb(_0x124a43,_0x591c4d):_0x124a43,_0x2e6004=_0x2a605c['length']-0x1,_0x3aac32;_0x2e6004>=0x0;_0x2e6004--)(_0x3aac32=_0x2a605c[_0x2e6004])&&(_0x1a1257=_0x3aac32(_0x1a1257)||_0x1a1257);return _0x1a1257;},_0x12806b=(_0x224121,_0x440823)=>(_0x4d4892,_0x3f7128)=>_0x440823(_0x4d4892,_0x3f7128,_0x224121);const _0xc35e9f=0x12c,_0x59bbaf=0x64,_0x51d30d=()=>{let _0x2095c7=[],_0x5b5ce7=!0x1;return _0x2cf7ed=>{const _0x5e5d6b=_0x182a;_0x2095c7[_0x5e5d6b(0x218)](_0x2cf7ed),_0x5b5ce7||(_0x5b5ce7=!0x0,setTimeout(()=>{_0x2095c7['forEach'](_0x518460=>_0x518460()),_0x2095c7=[],_0x5b5ce7=!0x1;}));};};let _0xa328bb=class extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(_0x5dbdf3,_0x1b89e7,_0x1a3184,_0x4f365f,_0x45eb7e,_0x5ddf91,_0x21b52d,_0x5df968){const _0x456bda=_0x53aa47;super(),_0x5e46bb(this,_0x456bda(0xc8),!0x1),_0x5e46bb(this,'_init',!0x1),_0x5e46bb(this,_0x456bda(0xbd),new _0x53d307['BehaviorSubject'](new Map())),_0x5e46bb(this,'cursorInfo$',this[_0x456bda(0xbd)][_0x456bda(0xd4)]()),_0x5e46bb(this,'_roomMembers$',new _0x53d307['BehaviorSubject']([])),_0x5e46bb(this,_0x456bda(0x306),this[_0x456bda(0x33c)][_0x456bda(0x147)](_0x53d307[_0x456bda(0x22f)](_0xc35e9f))),_0x5e46bb(this,_0x456bda(0x21e),_0x34f2b0[_0x456bda(0x2d2)]((_0x3ada74,_0x34a10b)=>{const _0x596a06=_0x456bda,_0x3ae0e1={'eventID':_0x2336f8[_0x596a06(0x1f2)][_0x596a06(0x351)],'data':{'unitID':this[_0x596a06(0x241)],'memberID':this[_0x596a06(0x26c)][_0x596a06(0x34e)](),'selection':_0x5bfca6[_0x596a06(0x27d)](_0x3ada74,_0x34a10b[_0x596a06(0x284)])}};this[_0x596a06(0x26c)]['send'](_0x3ae0e1,this[_0x596a06(0x241)]);},_0x59bbaf)),(this['unitID']=_0x5dbdf3,this[_0x456bda(0x26c)]=_0x1b89e7,this[_0x456bda(0x195)]=_0x1a3184,this[_0x456bda(0x1f7)]=_0x4f365f,this[_0x456bda(0x16a)]=_0x45eb7e,this[_0x456bda(0xbf)]=_0x5ddf91,this[_0x456bda(0x1c3)]=_0x21b52d,this[_0x456bda(0x28c)]=_0x5df968);}get[_0x53aa47(0x23f)](){const _0x2653cb=_0x53aa47;return this[_0x2653cb(0xbd)][_0x2653cb(0x103)]();}get['roomMembers'](){const _0x184495=_0x53aa47;return this[_0x184495(0x33c)][_0x184495(0x103)]();}[_0x53aa47(0x318)](){const _0x4dd6c2=_0x53aa47;super[_0x4dd6c2(0x318)](),this[_0x4dd6c2(0xbd)]['next'](new Map()),this[_0x4dd6c2(0xbd)][_0x4dd6c2(0x22e)](),this[_0x4dd6c2(0x33c)][_0x4dd6c2(0xeb)]([]),this[_0x4dd6c2(0x33c)][_0x4dd6c2(0x22e)]();}[_0x53aa47(0xec)](){const _0x48c4c4=_0x53aa47;this[_0x48c4c4(0x17f)]||(this[_0x48c4c4(0x17f)]=!0x0,this[_0x48c4c4(0x26c)]['sessionStatus$']['pipe'](_0x53d307[_0x48c4c4(0x21b)](this[_0x48c4c4(0x2a0)]))['subscribe'](_0x52951d=>{const _0x7ae49a=_0x48c4c4;_0x52951d===_0x561334[_0x7ae49a(0x2f6)][_0x7ae49a(0x187)]?this['_toggleOnline']():this[_0x7ae49a(0x1f6)]();}),this['_session'][_0x48c4c4(0x1fc)]['pipe'](_0x53d307[_0x48c4c4(0x21b)](this[_0x48c4c4(0x2a0)]))['subscribe'](_0x55bc95=>{const _0x3e6e44=_0x48c4c4,_0x2cc029=_0x55bc95[_0x3e6e44(0x10c)];_0x2cc029===_0x2336f8[_0x3e6e44(0x1f2)]['UPDATE_CURSOR']&&this[_0x3e6e44(0x1b9)](_0x55bc95),_0x2cc029===_0x2336f8[_0x3e6e44(0x1f2)][_0x3e6e44(0x1c9)]&&this['_onCursorDelete'](_0x55bc95);}),this[_0x48c4c4(0x34a)](),this[_0x48c4c4(0x278)](this[_0x48c4c4(0x1c3)][_0x48c4c4(0x1a7)](_0xf56bb4=>{const _0xeb625d=_0x48c4c4;if(this[_0xeb625d(0xc8)]&&_0xf56bb4['id']===_0x2a09ae[_0xeb625d(0x11b)]['id']&&_0xf56bb4[_0xeb625d(0xfe)][_0xeb625d(0x1c6)]===this['unitID']){const _0x3c71e1=_0xf56bb4[_0xeb625d(0xfe)];this[_0xeb625d(0x21e)](_0x3c71e1['subUnitId'],_0x3c71e1[_0xeb625d(0x15e)][0x0]);}})));}[_0x53aa47(0x1b9)](_0x4702d6){const _0x242550=_0x53aa47;var _0x2a9ae0,_0x26ce34;const {memberID:_0x2da5f9,selection:_0x4d5d41}=_0x4702d6[_0x242550(0x1a2)],{sheetName:_0x19b5e6,range:_0x5c92cc}=_0x5bfca6['deserializeRangeWithSheet'](_0x4d5d41),_0x2d7a5d={'name':(_0x26ce34=(_0x2a9ae0=this[_0x242550(0x16a)]['getMember'](this['unitID'],_0x2da5f9))==null?void 0x0:_0x2a9ae0[_0x242550(0x2b5)])!=null?_0x26ce34:_0x242550(0x350),'range':this['_getMergeRange'](_0x19b5e6,_0x5c92cc),'sheetID':_0x19b5e6,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2da5f9),'selection':_0x4d5d41},_0x29ea1d=this[_0x242550(0x23f)];_0x29ea1d[_0x242550(0x1fa)](_0x2da5f9,_0x2d7a5d),this[_0x242550(0xbd)]['next'](_0x29ea1d);}[_0x53aa47(0x192)](_0x54beb5){const _0x4194ab=_0x53aa47,{memberID:_0x5dd4e6}=_0x54beb5['data'],_0x37b5f5=this[_0x4194ab(0x23f)];_0x37b5f5[_0x4194ab(0x107)](_0x5dd4e6),this[_0x4194ab(0xbd)][_0x4194ab(0xeb)](_0x37b5f5);}['_getMergeRange'](_0x4116b6,_0x105f36){const _0x2486ad=_0x53aa47;var _0x2db39e,_0x5210f2;const _0x13b64f=(_0x5210f2=(_0x2db39e=this[_0x2486ad(0xbf)][_0x2486ad(0x161)](this[_0x2486ad(0x241)]))==null?void 0x0:_0x2db39e[_0x2486ad(0x287)](_0x4116b6))==null?void 0x0:_0x5210f2[_0x2486ad(0x20c)]();return(_0x13b64f==null?void 0x0:_0x13b64f[_0x2486ad(0x315)](_0x1f46e7=>_0x34f2b0[_0x2486ad(0x17d)][_0x2486ad(0x1fb)](_0x1f46e7,_0x105f36)))||_0x105f36;}[_0x53aa47(0x34a)](){const _0x2e6f01=_0x53aa47,_0x1ad5d5=new _0x34f2b0[(_0x2e6f01(0x1ca))](),_0x3bf25f=_0x51d30d(),_0x25a693=()=>{const _0x31c690=_0x2e6f01;_0x1ad5d5[_0x31c690(0x318)]();const _0x5b4cbd=(_0xb2b069,_0x435ced,_0x306947,_0x96487e)=>{const _0x4e709a=_0x31c690;let _0x373100=[];switch(_0xb2b069['id']){case _0x2a09ae['EffectRefRangId'][_0x4e709a(0xee)]:{_0x373100=_0x2a09ae[_0x4e709a(0x305)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x162)]:{_0x373100=_0x2a09ae[_0x4e709a(0x146)](_0xb2b069,_0x96487e);break;}case _0x2a09ae['EffectRefRangId'][_0x4e709a(0x159)]:{_0x373100=_0x2a09ae['handleInsertCol'](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0xd1)]:{_0x373100=_0x2a09ae[_0x4e709a(0xc1)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x1b0)]:{_0x373100=_0x2a09ae[_0x4e709a(0x282)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x236)]:{_0x373100=_0x2a09ae[_0x4e709a(0x26d)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x1a0)]:{_0x373100=_0x2a09ae[_0x4e709a(0x298)](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)][_0x4e709a(0x2f1)]:{_0x373100=_0x2a09ae['handleIRemoveCol'](_0xb2b069,_0x96487e);break;}case _0x2a09ae[_0x4e709a(0x197)]['RemoveRowCommandId']:{_0x373100=_0x2a09ae[_0x4e709a(0x281)](_0xb2b069,_0x96487e);break;}}const _0x1d05e6=_0x2a09ae[_0x4e709a(0x296)](_0x373100,_0x96487e),_0x5ecd8f=this[_0x4e709a(0x23f)]['get'](_0x435ced);if(_0x5ecd8f&&_0x1d05e6){const _0x208b94={..._0x5ecd8f,'range':_0x1d05e6};this[_0x4e709a(0x23f)]['set'](_0x435ced,_0x208b94),_0x3bf25f(()=>{const _0x4f5ca2=_0x4e709a,_0x48ad9c=this[_0x4f5ca2(0x28c)][_0x4f5ca2(0x214)](_0x1d05e6,_0x60eb5=>(_0x48ad9c[_0x4f5ca2(0x318)](),_0x5b4cbd(_0x60eb5,_0x435ced,_0x306947,_0x1d05e6)));_0x1ad5d5[_0x4f5ca2(0x31e)](_0x48ad9c);});}return{'redos':[],'undos':[]};};this[_0x31c690(0x23f)][_0x31c690(0xe9)]((_0x13c832,_0x72d776)=>{const _0x388c32=_0x31c690,{range:_0x6e9bee,sheetID:_0x4c4f69}=_0x13c832,_0x116160=this[_0x388c32(0x28c)][_0x388c32(0x214)](_0x6e9bee,_0x335ad3=>(_0x116160[_0x388c32(0x318)](),_0x5b4cbd(_0x335ad3,_0x72d776,_0x4c4f69,_0x6e9bee)));_0x1ad5d5[_0x388c32(0x31e)](_0x116160);});};this[_0x2e6f01(0x278)](_0x34f2b0[_0x2e6f01(0x245)](this[_0x2e6f01(0xbd)][_0x2e6f01(0x18d)](()=>{_0x25a693();})));}[_0x53aa47(0x13b)](){const _0x412aef=_0x53aa47;var _0x14e6df,_0x3a67a3;if(this['_online']=!0x0,((_0x14e6df=this[_0x412aef(0xbf)][_0x412aef(0x185)]())==null?void 0x0:_0x14e6df[_0x412aef(0x1fd)]())!==this[_0x412aef(0x241)])return;const _0x1fb884=(_0x3a67a3=this['_injector'][_0x412aef(0x238)](_0x2a09ae[_0x412aef(0x21f)])['getCurrentSelections']())==null?void 0x0:_0x3a67a3[0x0],_0x2d9c4e=this[_0x412aef(0xbf)][_0x412aef(0x128)](_0x34f2b0[_0x412aef(0x33e)]['UNIVER_SHEET'])[_0x412aef(0x1ee)]();_0x1fb884&&_0x2d9c4e&&this[_0x412aef(0x21e)](_0x2d9c4e[_0x412aef(0x10e)](),_0x1fb884);}[_0x53aa47(0x1f6)](){this['_online']=!0x1;}};_0xa328bb=_0x5b37a6([_0x12806b(0x2,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x324)])),_0x12806b(0x3,_0x34f2b0[_0x53aa47(0x2c6)](_0x57ef26)),_0x12806b(0x4,_0x34f2b0['Inject'](_0x561334[_0x53aa47(0x1f4)])),_0x12806b(0x5,_0x34f2b0[_0x53aa47(0x10d)]),_0x12806b(0x6,_0x34f2b0[_0x53aa47(0x111)]),_0x12806b(0x7,_0x34f2b0[_0x53aa47(0x2c6)](_0x2a09ae['RefRangeService']))],_0xa328bb);var _0x5ba419=Object[_0x53aa47(0x121)],_0x1ce4b2=(_0xce2f20,_0x24bdf6,_0x19b2af,_0x1eac04)=>{for(var _0x43d428=_0x1eac04>0x1?void 0x0:_0x1eac04?_0x5ba419(_0x24bdf6,_0x19b2af):_0x24bdf6,_0x255541=_0xce2f20['length']-0x1,_0x2d9798;_0x255541>=0x0;_0x255541--)(_0x2d9798=_0xce2f20[_0x255541])&&(_0x43d428=_0x2d9798(_0x43d428)||_0x43d428);return _0x43d428;},_0x1be75d=(_0x4e4dbd,_0x138e13)=>(_0x4377e5,_0x324ca4)=>_0x138e13(_0x4377e5,_0x324ca4,_0x4e4dbd);let _0x53c773=class extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(_0x123782,_0x1f15f4,_0x1b47d1){const _0x2c9b0d=_0x53aa47;super(),_0x5e46bb(this,_0x2c9b0d(0x149),new Map()),_0x5e46bb(this,_0x2c9b0d(0x25c),new _0x53d307[(_0x2c9b0d(0x20e))]()),(this[_0x2c9b0d(0xbf)]=_0x123782,this[_0x2c9b0d(0x195)]=_0x1f15f4,this[_0x2c9b0d(0xdf)]=_0x1b47d1,this['_init']());}[_0x53aa47(0x318)](){const _0x2006af=_0x53aa47;super[_0x2006af(0x318)](),this[_0x2006af(0x25c)][_0x2006af(0x22e)](),this[_0x2006af(0x149)][_0x2006af(0xe9)](_0x349f87=>_0x349f87[_0x2006af(0x318)]());}[_0x53aa47(0x1b3)](_0xa26a1c){const _0x39b275=_0x53aa47;return this['_entities'][_0x39b275(0x1be)](_0xa26a1c)?this[_0x39b275(0x149)][_0x39b275(0x238)](_0xa26a1c)['cursorInfo$']:this[_0x39b275(0x25c)][_0x39b275(0x147)](_0x53d307[_0x39b275(0xf3)](_0x15802e=>_0x15802e[_0x39b275(0x241)]===_0xa26a1c),_0x53d307[_0x39b275(0x173)](_0x1da3a5=>_0x1da3a5[_0x39b275(0x2ed)]));}[_0x53aa47(0x17f)](){const _0x4356ed=_0x53aa47;this[_0x4356ed(0xbf)]['getTypeOfUnitAdded$'](_0x34f2b0[_0x4356ed(0x33e)][_0x4356ed(0x2c3)])['pipe'](_0x53d307[_0x4356ed(0x21b)](this[_0x4356ed(0x2a0)]))[_0x4356ed(0x18d)](async _0x2cb3e7=>{const _0x2a9b7c=_0x4356ed,_0x2fb4d4=_0x2cb3e7[_0x2a9b7c(0x1fd)](),_0x4a27e5=await this[_0x2a9b7c(0x16b)](_0x2fb4d4);this[_0x2a9b7c(0x25c)][_0x2a9b7c(0xeb)](_0x4a27e5),this['_entities']['set'](_0x2fb4d4,_0x4a27e5);}),this[_0x4356ed(0xbf)][_0x4356ed(0xe4)](_0x34f2b0['UniverInstanceType'][_0x4356ed(0x15c)])[_0x4356ed(0x147)](_0x53d307[_0x4356ed(0x21b)](this[_0x4356ed(0x2a0)]))[_0x4356ed(0x147)](_0x53d307[_0x4356ed(0xf3)](_0x39b4a1=>!_0x39b4a1[_0x4356ed(0x1fd)]()[_0x4356ed(0xdd)]('__')))[_0x4356ed(0x18d)](async _0xb83b0d=>{const _0xdb7e27=_0x4356ed,_0x836812=_0xb83b0d[_0xdb7e27(0x1fd)](),_0x4dfe4e=await this[_0xdb7e27(0x201)](_0x836812);this['_entityInit$'][_0xdb7e27(0xeb)](_0x4dfe4e),this['_entities']['set'](_0x836812,_0x4dfe4e);}),_0x53d307[_0x4356ed(0x1d0)](this[_0x4356ed(0xbf)][_0x4356ed(0x345)](_0x34f2b0[_0x4356ed(0x33e)]['UNIVER_DOC']),this[_0x4356ed(0xbf)][_0x4356ed(0x345)](_0x34f2b0[_0x4356ed(0x33e)]['UNIVER_SHEET']))[_0x4356ed(0x147)](_0x53d307[_0x4356ed(0x21b)](this[_0x4356ed(0x2a0)]))[_0x4356ed(0x18d)](_0x1a0cea=>{const _0x42d405=_0x4356ed,_0x49066c=_0x1a0cea['getUnitId'](),_0x33d209=this['_entities'][_0x42d405(0x238)](_0x49066c);_0x33d209&&(_0x33d209[_0x42d405(0x318)](),this[_0x42d405(0x149)][_0x42d405(0x107)](_0x49066c));});}async[_0x53aa47(0x16b)](_0x361721){const _0x1e21ad=_0x53aa47,_0x14a754=await this[_0x1e21ad(0xdf)][_0x1e21ad(0x2c4)](_0x361721),_0x152bde=this[_0x1e21ad(0x195)][_0x1e21ad(0x2b1)](_0xa328bb,_0x361721,_0x14a754);return _0x152bde[_0x1e21ad(0xec)](),_0x152bde;}async[_0x53aa47(0x201)](_0x14e11e){const _0x2c65cc=_0x53aa47,_0x3b2b9a=await this[_0x2c65cc(0xdf)][_0x2c65cc(0x2c4)](_0x14e11e),_0x4a97b3=this[_0x2c65cc(0x195)][_0x2c65cc(0x2b1)](_0x4f051b,_0x14e11e,_0x3b2b9a);return _0x4a97b3[_0x2c65cc(0xec)](),_0x4a97b3;}};_0x53c773=_0x1ce4b2([_0x1be75d(0x0,_0x34f2b0[_0x53aa47(0x10d)]),_0x1be75d(0x1,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x1be75d(0x2,_0x34f2b0['Inject'](_0x561334[_0x53aa47(0x349)]))],_0x53c773);const _0x3f30f4=0x14,_0xd826c1=0xc8,_0x198a91=0x4,_0x2d0e98=0x5;function _0x3c7f5c(_0x2f6d00,_0x17ea90){const _0x6cc326=_0x53aa47;let {radius:_0x5ca18b,width:_0xab4d56,height:_0x272552}=_0x17ea90;_0x5ca18b=_0x5ca18b!=null?_0x5ca18b:0x0,_0xab4d56=_0xab4d56!=null?_0xab4d56:0x1e,_0x272552=_0x272552!=null?_0x272552:0x1e;let _0x593eee=0x0,_0x4b15e9=0x0,_0x6fc4a0=0x0;_0x593eee=_0x4b15e9=_0x6fc4a0=Math[_0x6cc326(0x114)](_0x5ca18b,_0xab4d56/0x2,_0x272552/0x2),_0x2f6d00[_0x6cc326(0x16e)](),_0x2f6d00[_0x6cc326(0x25b)](_0x593eee,0x0),_0x2f6d00[_0x6cc326(0x2d8)](_0xab4d56-_0x4b15e9,0x0),_0x2f6d00[_0x6cc326(0x13f)](_0xab4d56-_0x4b15e9,_0x4b15e9,_0x4b15e9,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f6d00[_0x6cc326(0x2d8)](_0xab4d56,_0x272552-_0x6fc4a0),_0x2f6d00[_0x6cc326(0x13f)](_0xab4d56-_0x6fc4a0,_0x272552-_0x6fc4a0,_0x6fc4a0,0x0,Math['PI']/0x2,!0x1),_0x2f6d00[_0x6cc326(0x2d8)](0x0,_0x272552),_0x2f6d00[_0x6cc326(0x2d8)](0x0,_0x593eee),_0x2f6d00['arc'](_0x593eee,_0x593eee,_0x593eee,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f6d00[_0x6cc326(0x196)](),_0x17ea90[_0x6cc326(0xd9)]&&(_0x2f6d00[_0x6cc326(0x1cc)](),_0x2f6d00[_0x6cc326(0x145)]=_0x17ea90[_0x6cc326(0xd9)],_0x17ea90[_0x6cc326(0x326)]===_0x6cc326(0x29a)?_0x2f6d00[_0x6cc326(0xd9)](_0x6cc326(0x29a)):_0x2f6d00[_0x6cc326(0xd9)](),_0x2f6d00[_0x6cc326(0x31f)]());}class _0x22e84c extends _0x1678e0[_0x53aa47(0x24d)]{constructor(_0x4ffb5d,_0x248728){const _0x15230c=_0x53aa47;super(_0x4ffb5d,_0x248728),_0x5e46bb(this,_0x15230c(0x1e3)),_0x5e46bb(this,_0x15230c(0x2de)),(this[_0x15230c(0x1e3)]=_0x248728==null?void 0x0:_0x248728[_0x15230c(0x1e3)],this[_0x15230c(0x2de)]=_0x248728==null?void 0x0:_0x248728[_0x15230c(0x2de)]);}static[_0x53aa47(0x255)](_0x1bdc32,_0x210911){const _0x23244e=_0x53aa47,{text:_0x2c8494,color:_0x3a9adf}=_0x210911;_0x1bdc32[_0x23244e(0x1cc)](),_0x1bdc32[_0x23244e(0x1c8)]=_0x23244e(0x1c5);const _0x3ccb92=_0x1bdc32['measureText'](_0x2c8494)[_0x23244e(0x2ec)],_0x74fc2b=Math[_0x23244e(0x114)](_0x3ccb92+0x2*_0x198a91,_0xd826c1);_0x3c7f5c(_0x1bdc32,{'height':_0x3f30f4,'radius':0x4,'width':_0x74fc2b,'fill':_0x3a9adf}),_0x1bdc32[_0x23244e(0x145)]=_0x23244e(0x2b9);const _0x50f9f3=_0x198a91,_0x1841b6=_0x3f30f4-_0x2d0e98,_0x25a192=_0xd826c1-0x2*_0x198a91;if(_0x3ccb92>_0x25a192){let _0x4e7623='',_0x1fa339=0x0;for(const _0x53b8f5 of _0x2c8494){const _0x42b20f=_0x1bdc32[_0x23244e(0xe6)](_0x53b8f5)[_0x23244e(0x2ec)];if(_0x1fa339+_0x42b20f<=_0x25a192-_0x1bdc32[_0x23244e(0xe6)](_0x23244e(0x1a6))[_0x23244e(0x2ec)])_0x4e7623+=_0x53b8f5,_0x1fa339+=_0x42b20f;else{_0x4e7623+=_0x23244e(0x1a6);break;}}_0x1bdc32['fillText'](_0x4e7623,_0x50f9f3,_0x1841b6);}else _0x1bdc32[_0x23244e(0x13d)](_0x2c8494,_0x50f9f3,_0x1841b6);_0x1bdc32[_0x23244e(0x31f)]();}[_0x53aa47(0x247)](_0x4ca918){const _0x181e1d=_0x53aa47;_0x22e84c[_0x181e1d(0x255)](_0x4ca918,this);}}const _0x5daf06=_0x53aa47(0x10b),_0x2f729a='collab-text-range-',_0x3a71fb='collab-rect-range-',_0x4916be=0x6,_0x3e1473=1.5,_0x2b0482=0x4,_0x37f73d=1.5,_0x441be0=_0x53aa47(0x293);class _0x35e746{constructor(_0x35c321,_0x45fc7e,_0x13084,_0x40fea1){const _0x184186=_0x53aa47;_0x5e46bb(this,'_shapes',[]),_0x5e46bb(this,_0x184186(0xff),null),_0x5e46bb(this,_0x184186(0x1e0),null),_0x5e46bb(this,_0x184186(0x344),null),_0x5e46bb(this,_0x184186(0xc7),null),_0x5e46bb(this,_0x184186(0x167),null),(this[_0x184186(0x131)]=_0x35c321,this[_0x184186(0x11c)]=_0x45fc7e,this[_0x184186(0x1bb)]=_0x13084,this[_0x184186(0x2f8)]=_0x40fea1,this[_0x184186(0x272)]());}set[_0x53aa47(0xc9)](_0x1d514d){const _0x4685d9=_0x53aa47;_0x1d514d?(this[_0x4685d9(0x344)]&&this[_0x4685d9(0x344)][_0x4685d9(0x23a)](),this[_0x4685d9(0x1e0)]&&this[_0x4685d9(0x1e0)][_0x4685d9(0xd8)]()):(this['_anchorDot']&&this[_0x4685d9(0x344)]['show'](),this[_0x4685d9(0x1e0)]&&this[_0x4685d9(0x1e0)][_0x4685d9(0x23a)]());}[_0x53aa47(0x318)](){const _0xf90bca=_0x53aa47;for(const _0x4a6940 of this[_0xf90bca(0x329)])_0x4a6940['dispose']();this[_0xf90bca(0x1e0)]&&this[_0xf90bca(0x1e0)]['dispose'](),this['_anchorDot']&&this[_0xf90bca(0x344)]['dispose'](),this['_anchor']&&this[_0xf90bca(0xff)][_0xf90bca(0x318)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x53aa47(0x272)](){const _0x3c9329=_0x53aa47;var _0x1dc3d4;const {_docSkeleton:_0x41ced3,_document:_0x48c8cf}=this,{color:_0xb5379c,name:_0x2d608a,ranges:_0x8717ee}=this[_0x3c9329(0x131)],_0x2c6232=_0x48c8cf[_0x3c9329(0x1dd)](),{docsLeft:_0x39a31f,docsTop:_0x518a47}=_0x2c6232,_0x596651=new _0x3487a2[(_0x3c9329(0x2ce))](_0x2c6232,_0x41ced3);for(const {startOffset:_0x4aacbc,endOffset:_0x26c6c4,rangeType:_0x3b649b,segmentId:_0x8faa21,segmentPage:_0x3646da,collapsed:_0x5af73b,isActive:_0x50d2ae}of _0x8717ee){const _0x2a8177=_0x41ced3[_0x3c9329(0x2a5)](_0x4aacbc,!0x0,_0x8faa21,_0x3646da);let _0x121ad4=_0x41ced3['findNodePositionByCharIndex'](_0x26c6c4,!0x0,_0x8faa21,_0x3646da);if(_0x121ad4==null&&(_0x121ad4=_0x41ced3[_0x3c9329(0x2a5)](_0x26c6c4-0x1,!0x1,_0x8faa21,_0x3646da)),_0x50d2ae){const {contentBoxPointGroup:_0x15ca20}=_0x596651[_0x3c9329(0x2fd)](_0x121ad4,_0x121ad4);if(_0x15ca20[_0x3c9329(0x28e)]===0x0)continue;this[_0x3c9329(0x2ae)](_0xb5379c,_0x15ca20,_0x39a31f,_0x518a47,_0x2d608a),this[_0x3c9329(0x167)]=this[_0x3c9329(0x14f)]();}if(_0x2a8177&&_0x121ad4){if(_0x3b649b===_0x34f2b0[_0x3c9329(0x13c)]['RECT']){const _0x2e1246=new _0x3487a2[(_0x3c9329(0x2f0))](_0x2c6232,_0x41ced3),{pointGroup:_0xe5fda1}=(_0x1dc3d4=_0x2e1246[_0x3c9329(0x2fd)](_0x2a8177,_0x121ad4))!=null?_0x1dc3d4:{};if(_0xe5fda1==null||_0xe5fda1[_0x3c9329(0x28e)]===0x0)continue;this[_0x3c9329(0x234)](_0xb5379c,_0xe5fda1,_0x39a31f,_0x518a47);}else{if(!_0x5af73b){const {borderBoxPointGroup:_0x2561bf}=_0x596651[_0x3c9329(0x2fd)](_0x2a8177,_0x121ad4);if(_0x2561bf[_0x3c9329(0x28e)]===0x0)continue;this[_0x3c9329(0x1d8)](_0xb5379c,_0x2561bf,_0x39a31f,_0x518a47);}}}}}[_0x53aa47(0x2ae)](_0x118d9b,_0x14fd3e,_0x1ad219,_0x2d185b,_0x35070b){const _0x1e1ef9=_0x53aa47,_0x2db1a5=this[_0x1e1ef9(0x32b)](_0x14fd3e),{left:_0x5785e2,top:_0xd73539,height:_0x19beb1}=_0x2db1a5,_0x2afd6e=this[_0x1e1ef9(0x168)](),_0x401403=_0x37f73d/_0x2afd6e,_0x326d8c=new _0x1678e0[(_0x1e1ef9(0x124))](_0x5daf06+_0x34f2b0[_0x1e1ef9(0x205)][_0x1e1ef9(0x31c)](_0x4916be),{'left':_0x5785e2+_0x1ad219-_0x401403,'top':_0xd73539+_0x2d185b,'height':_0x19beb1,'width':_0x3e1473,'fill':_0x118d9b||_0x1678e0['getColor'](_0x34f2b0[_0x1e1ef9(0x19d)][_0x1e1ef9(0x21c)],0x0),'strokeWidth':_0x401403,'stroke':_0x441be0,'evented':!0x0});this[_0x1e1ef9(0xff)]=_0x326d8c,this[_0x1e1ef9(0x11c)]['addObject'](_0x326d8c,_0x3487a2['TEXT_RANGE_LAYER_INDEX']);const _0x2b8233=new _0x1678e0[(_0x1e1ef9(0x124))](_0x5daf06+_0x34f2b0[_0x1e1ef9(0x205)][_0x1e1ef9(0x31c)](_0x4916be),{'left':_0x5785e2+_0x1ad219-_0x401403,'top':_0xd73539+_0x2d185b-_0x2b0482/0x2,'height':_0x2b0482,'width':_0x2b0482,'fill':_0x118d9b||_0x1678e0[_0x1e1ef9(0x1db)](_0x34f2b0[_0x1e1ef9(0x19d)][_0x1e1ef9(0x21c)],0x0),'strokeWidth':0x0,'stroke':_0x118d9b||_0x1678e0[_0x1e1ef9(0x1db)](_0x34f2b0[_0x1e1ef9(0x19d)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2b8233,this['_scene'][_0x1e1ef9(0x2dc)](_0x2b8233,_0x3487a2['TEXT_RANGE_LAYER_INDEX']);const _0x42d952=new _0x22e84c(_0x5daf06+_0x34f2b0['Tools']['generateRandomId'](_0x4916be),{'left':_0x5785e2+_0x1ad219-_0x401403,'top':_0xd73539+_0x2d185b-_0x3f30f4,'text':_0x35070b,'color':_0x118d9b});this[_0x1e1ef9(0x1e0)]=_0x42d952,this['_scene'][_0x1e1ef9(0x2dc)](_0x42d952,_0x3487a2[_0x1e1ef9(0xba)]),this[_0x1e1ef9(0xc9)]=!0x1;}[_0x53aa47(0x14f)](){const _0xa02b17=_0x53aa47,_0x510250=this[_0xa02b17(0xff)]['onPointerEnter$'][_0xa02b17(0x304)](()=>{const _0x533389=_0xa02b17;this[_0x533389(0xc9)]=!0x0;}),_0x5ef198=this[_0xa02b17(0xff)][_0xa02b17(0x181)][_0xa02b17(0x304)](()=>{const _0x217d29=_0xa02b17;this[_0x217d29(0xc7)]&&clearTimeout(this[_0x217d29(0xc7)]),this[_0x217d29(0xc7)]=setTimeout(()=>{const _0x18681e=_0x217d29;this[_0x18681e(0xc9)]=!0x1;},0x7d0);});return()=>{const _0x43181e=_0xa02b17;_0x510250[_0x43181e(0x1f1)](),_0x5ef198[_0x43181e(0x1f1)]();};}[_0x53aa47(0x1d8)](_0x48bd02,_0x504303,_0x3816f7,_0x42f694){const _0x425bf7=_0x53aa47,_0x41efdb=new _0x34f2b0[(_0x425bf7(0x25a))](_0x48bd02)['setAlpha'](0.2)['toRgbString'](),_0x4d02d8=new _0x1678e0[(_0x425bf7(0x2f5))](_0x2f729a+_0x34f2b0[_0x425bf7(0x205)]['generateRandomId'](_0x4916be),{'pointsGroup':_0x504303,'fill':_0x41efdb||_0x1678e0[_0x425bf7(0x1db)](_0x34f2b0[_0x425bf7(0x19d)][_0x425bf7(0x21c)],0.2),'left':_0x3816f7,'top':_0x42f694,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x425bf7(0x218)](_0x4d02d8),this[_0x425bf7(0x11c)]['addObject'](_0x4d02d8,_0x3487a2['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x35a854,_0x1960fb,_0x52f638,_0x1f9887){const _0x256bee=_0x53aa47,_0x2f8776=new _0x34f2b0[(_0x256bee(0x25a))](_0x35a854)[_0x256bee(0x35b)](0.2)[_0x256bee(0x116)](),_0x276a93=new _0x1678e0['RegularPolygon'](_0x3a71fb+_0x34f2b0[_0x256bee(0x205)][_0x256bee(0x31c)](_0x4916be),{'pointsGroup':_0x1960fb,'fill':_0x2f8776||_0x1678e0[_0x256bee(0x1db)](_0x34f2b0[_0x256bee(0x19d)]['black'],0.2),'left':_0x52f638,'top':_0x1f9887,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x256bee(0x329)][_0x256bee(0x218)](_0x276a93),this[_0x256bee(0x11c)]['addObject'](_0x276a93,_0x3487a2['TEXT_RANGE_LAYER_INDEX']);}[_0x53aa47(0x32b)](_0x5693eb){const _0x1cdc4f=_0x5693eb[0x0],_0xd72890=_0x1cdc4f[0x0],_0x1cde31=_0x1cdc4f[0x2],{x:_0x5611a7,y:_0x230758}=_0xd72890,{x:_0x4ad4e8,y:_0x4c6d6d}=_0x1cde31;return{'left':_0x5611a7,'top':_0x230758,'width':_0x4ad4e8-_0x5611a7,'height':_0x4c6d6d-_0x230758};}['_getScale'](){const _0x3fa9cb=_0x53aa47,{scaleX:_0x436bf8,scaleY:_0x39c31b}=this[_0x3fa9cb(0x11c)]['getAncestorScale']();return Math[_0x3fa9cb(0x1d7)](_0x436bf8,_0x39c31b);}}var _0x1f6cf8=Object['getOwnPropertyDescriptor'],_0x5b255e=(_0x2ed7a3,_0x28afe9,_0x122b8b,_0x262f53)=>{const _0x3aef97=_0x53aa47;for(var _0x3fa1c9=_0x262f53>0x1?void 0x0:_0x262f53?_0x1f6cf8(_0x28afe9,_0x122b8b):_0x28afe9,_0x576bd4=_0x2ed7a3[_0x3aef97(0x28e)]-0x1,_0x264ced;_0x576bd4>=0x0;_0x576bd4--)(_0x264ced=_0x2ed7a3[_0x576bd4])&&(_0x3fa1c9=_0x264ced(_0x3fa1c9)||_0x3fa1c9);return _0x3fa1c9;},_0x31f632=(_0x5a3d52,_0x4ed351)=>(_0x355097,_0x4206e)=>_0x4ed351(_0x355097,_0x4206e,_0x5a3d52);let _0x24ea13=class extends _0x34f2b0['RxDisposable']{constructor(_0x2b2f19,_0x402ef3,_0x57db0c,_0x347ead,_0x14b815){const _0x25656f=_0x53aa47;super(),_0x5e46bb(this,'_cursorShapes',[]),_0x5e46bb(this,'_cursors',[]),(this['_context']=_0x2b2f19,this[_0x25656f(0x1ed)]=_0x402ef3,this[_0x25656f(0x2e4)]=_0x57db0c,this['_commandService']=_0x347ead,this[_0x25656f(0x2e1)]=_0x14b815,this[_0x25656f(0x17f)]());}[_0x53aa47(0x17f)](){const _0x234576=_0x53aa47,_0x1f41de=this[_0x234576(0x178)][_0x234576(0x1c6)],_0x232c87=this[_0x234576(0x1ed)];this[_0x234576(0x278)](_0x53d307[_0x234576(0x1ab)]([this['_collabCursorController'][_0x234576(0x1b3)](_0x1f41de),this[_0x234576(0x2e1)][_0x234576(0x30e)]])[_0x234576(0x147)](_0x4357b4[_0x234576(0x2ea)](([_0x5883b7,_0x312432])=>({'skeleton':_0x232c87[_0x234576(0x24a)](),'cursors':[..._0x5883b7[_0x234576(0x23e)]()][_0x234576(0x291)](_0x1d68b9=>({..._0x1d68b9,'color':this[_0x234576(0x2e1)]['getColorFromTheme'](_0x1d68b9[_0x234576(0x1e3)])}))})))['subscribe'](_0xd1a8ac=>{const _0x3226db=_0x234576;if(this[_0x3226db(0x1bc)](),_0xd1a8ac){const {skeleton:_0x3b9d5b,cursors:_0x1dc49f}=_0xd1a8ac;this[_0x3226db(0x330)](_0x3b9d5b,_0x1dc49f);}})),this[_0x234576(0x314)](),this[_0x234576(0x302)]();}[_0x53aa47(0x330)](_0x399815,_0x51df7f){const _0x40b9a0=_0x53aa47,{scene:_0x2f45d1,mainComponent:_0x162b2f}=this[_0x40b9a0(0x178)],_0x577d71=_0x51df7f[_0x40b9a0(0x2ea)](_0xc8db9d=>new _0x35e746(_0xc8db9d,_0x2f45d1,_0x399815,_0x162b2f));this[_0x40b9a0(0x24b)]=_0x577d71,this['_cursors']=_0x51df7f;}[_0x53aa47(0x150)](){const _0x2b52cd=_0x53aa47;this[_0x2b52cd(0x1bc)]();const {scene:_0x404e5a,mainComponent:_0x558c9a}=this['_context'],_0x378295=this['_docSkeletonManagerService']['getSkeleton'](),_0xda065d=this[_0x2b52cd(0x265)][_0x2b52cd(0x2ea)](_0x13ad82=>new _0x35e746(_0x13ad82,_0x404e5a,_0x378295,_0x558c9a));this[_0x2b52cd(0x24b)]=_0xda065d;}[_0x53aa47(0x1bc)](){const _0x18f13e=_0x53aa47;this[_0x18f13e(0x24b)][_0x18f13e(0xe9)](_0x4b97ce=>_0x4b97ce[_0x18f13e(0x318)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x43eceb=_0x53aa47,_0x420f52=[_0x3487a2[_0x43eceb(0x34c)]['id']];this[_0x43eceb(0x278)](this[_0x43eceb(0x1c3)][_0x43eceb(0x1a7)](_0xea96af=>{const _0x121f49=_0x43eceb;_0x420f52[_0x121f49(0x224)](_0xea96af['id'])&&_0xea96af[_0x121f49(0xfe)][_0x121f49(0x1c6)]===this[_0x121f49(0x178)]['unitId']&&this[_0x121f49(0x150)]();}));}[_0x53aa47(0x314)](){const _0x200507=_0x53aa47;this[_0x200507(0x278)](_0x34f2b0[_0x200507(0x163)](this[_0x200507(0x178)][_0x200507(0xf1)][_0x200507(0x29c)])[_0x200507(0x147)](_0x4357b4[_0x200507(0xf3)](_0x1a1dd2=>_0x1a1dd2[_0x200507(0x1b2)]===_0x1678e0['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x200507(0x2f7)]),_0x4357b4[_0x200507(0x254)](0x10))[_0x200507(0x18d)](()=>{this['_refreshCollabCursors']();}));}};_0x24ea13=_0x5b255e([_0x31f632(0x1,_0x34f2b0['Inject'](_0x721df3[_0x53aa47(0x1e7)])),_0x31f632(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x53c773)),_0x31f632(0x3,_0x34f2b0['ICommandService']),_0x31f632(0x4,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x29b)]))],_0x24ea13);const _0x59041d=0x1,_0x13f17c=1.5;class _0x1f6b20 extends _0x1678e0['Shape']{constructor(_0x3d9e9e,_0x376f89){const _0x2fc61a=_0x53aa47;super(_0x3d9e9e,_0x376f89),_0x5e46bb(this,_0x2fc61a(0xc3)),_0x5e46bb(this,_0x2fc61a(0x276),!0x1),_0x5e46bb(this,_0x2fc61a(0x202)),_0x5e46bb(this,_0x2fc61a(0x31a),''),_0x5e46bb(this,_0x2fc61a(0x24c),_0x2fc61a(0x260)),_0x5e46bb(this,'_backgroundColor'),(_0x376f89&&this[_0x2fc61a(0x100)](_0x376f89),this[_0x2fc61a(0x1c0)][_0x2fc61a(0x304)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2fc61a(0x181)][_0x2fc61a(0x304)](()=>this[_0x2fc61a(0x100)]({'hovered':!0x1})));}[_0x53aa47(0x100)](_0x68bf50){const _0xbf6e65=_0x53aa47;var _0x571158,_0x474585,_0xfb7e89,_0x37ecef,_0x2e8c84,_0x224af5;this[_0xbf6e65(0xc3)]=(_0x571158=_0x68bf50[_0xbf6e65(0x1e3)])!=null?_0x571158:this['_color'],this['_hovered']=(_0x474585=_0x68bf50[_0xbf6e65(0x34d)])!=null?_0x474585:this['_hovered'],this[_0xbf6e65(0x202)]=(_0xfb7e89=_0x68bf50[_0xbf6e65(0x284)])!=null?_0xfb7e89:this[_0xbf6e65(0x202)],this[_0xbf6e65(0x31a)]=(_0x37ecef=_0x68bf50[_0xbf6e65(0x2b5)])!=null?_0x37ecef:this[_0xbf6e65(0x31a)],this[_0xbf6e65(0x24c)]=(_0x2e8c84=_0x68bf50['labelPosition'])!=null?_0x2e8c84:this[_0xbf6e65(0x24c)],this[_0xbf6e65(0x1d6)]=(_0x224af5=_0x68bf50[_0xbf6e65(0x327)])!=null?_0x224af5:this['_backgroundColor'],this[_0xbf6e65(0x19f)]({'width':_0x68bf50[_0xbf6e65(0x2ec)],'height':_0x68bf50[_0xbf6e65(0x2fe)]});}[_0x53aa47(0x170)](_0x2784ff){const _0x2d796a=_0x53aa47,{row:_0x78604b,column:_0x2be91c}=_0x2784ff;if(_0x78604b>=this[_0x2d796a(0x202)][_0x2d796a(0x130)]&&_0x78604b<=this[_0x2d796a(0x202)][_0x2d796a(0x117)]&&_0x2be91c>=this[_0x2d796a(0x202)][_0x2d796a(0x307)]&&_0x2be91c<=this[_0x2d796a(0x202)][_0x2d796a(0x332)]){this[_0x2d796a(0x100)]({'hovered':!0x0});return;}this[_0x2d796a(0x100)]({'hovered':!0x1});}[_0x53aa47(0x194)](_0x2b2e34){return!0x1;}[_0x53aa47(0x247)](_0x3a1f28){const _0x430ab0=_0x53aa47;_0x1678e0[_0x430ab0(0x124)][_0x430ab0(0x255)](_0x3a1f28,{'width':this[_0x430ab0(0x2ec)],'height':this[_0x430ab0(0x2fe)],'strokeWidth':_0x13f17c,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x430ab0(0x276)]&&(_0x3a1f28['save'](),_0x3a1f28[_0x430ab0(0x139)](0x1,0x0,0x0,0x1,this[_0x430ab0(0x2ec)],this['_labelPosition']===_0x430ab0(0x358)?0x0:-0x14),_0x22e84c['drawWith'](_0x3a1f28,{'text':this[_0x430ab0(0x31a)],'color':this[_0x430ab0(0xc3)]}),_0x3a1f28['restore']());}}var _0x78cf7d=Object[_0x53aa47(0x121)],_0x573d70=(_0x883fcc,_0x4416e0,_0x4bea2e,_0x298629)=>{const _0x13f507=_0x53aa47;for(var _0x364aa9=_0x298629>0x1?void 0x0:_0x298629?_0x78cf7d(_0x4416e0,_0x4bea2e):_0x4416e0,_0xadbb41=_0x883fcc[_0x13f507(0x28e)]-0x1,_0xf8d8db;_0xadbb41>=0x0;_0xadbb41--)(_0xf8d8db=_0x883fcc[_0xadbb41])&&(_0x364aa9=_0xf8d8db(_0x364aa9)||_0x364aa9);return _0x364aa9;},_0x10a9d2=(_0x526b2c,_0x4a5213)=>(_0x26c07e,_0x4c019c)=>_0x4a5213(_0x26c07e,_0x4c019c,_0x526b2c);const _0x5cb402=0x1389;let _0x352c16=class extends _0x34f2b0['RxDisposable']{constructor(_0x3012af,_0x3c9861,_0x1a3a3d,_0x3afd74){const _0x3a226e=_0x53aa47;super(),_0x5e46bb(this,_0x3a226e(0x265),new Set()),_0x5e46bb(this,_0x3a226e(0x209),null),(this[_0x3a226e(0x178)]=_0x3012af,this[_0x3a226e(0x119)]=_0x3c9861,this[_0x3a226e(0x2e4)]=_0x1a3a3d,this[_0x3a226e(0x2e1)]=_0x3afd74,this[_0x3a226e(0x17f)]());}[_0x53aa47(0x17f)](){const _0x9f7b27=_0x53aa47;this[_0x9f7b27(0x119)][_0x9f7b27(0x262)][_0x9f7b27(0x147)](_0x4357b4[_0x9f7b27(0x21b)](this[_0x9f7b27(0x2a0)]),_0x4357b4[_0x9f7b27(0x173)](_0x423880=>{const _0x4e9698=_0x9f7b27;if(_0x423880){const _0x590228=_0x423880[_0x4e9698(0x17e)];return _0x53d307[_0x4e9698(0x1ab)](this['_collabCursorController'][_0x4e9698(0x1b3)](this[_0x4e9698(0x178)][_0x4e9698(0x1c6)]),this[_0x4e9698(0x2e1)]['currentTheme$'])['pipe'](_0x4357b4[_0x4e9698(0x2ea)](([_0x115bcd,_0x373137])=>{const _0x58c03a=_0x4e9698,_0x26c026=new Map();return _0x115bcd[_0x58c03a(0xe9)]((_0x381ed8,_0x44bbbb)=>{const _0x15912f=_0x58c03a;if(_0x381ed8['sheetID']===_0x590228){const _0x489547={..._0x381ed8};_0x489547[_0x15912f(0x1e3)]=this['_themeService'][_0x15912f(0x2c0)](_0x381ed8['color']),_0x26c026['set'](_0x44bbbb,_0x489547);}}),{'skeleton':_0x423880,'cursors':_0x26c026};}));}return _0x53d307['of']({'skeleton':null,'cursors':new Map()});}))[_0x9f7b27(0x18d)](({skeleton:_0x3c30e2,cursors:_0x1441d5})=>{const _0x2c68aa=_0x9f7b27;this[_0x2c68aa(0x1bc)](),_0x3c30e2&&this[_0x2c68aa(0x330)](_0x3c30e2,_0x1441d5);}),this['_sheetSkeletonManagerService'][_0x9f7b27(0x262)][_0x9f7b27(0x18d)](_0x260e57=>{const _0x11301b=_0x9f7b27;if(_0x260e57==null)return;const {skeleton:_0x502e21}=_0x260e57,{scene:_0x55fca2}=this[_0x11301b(0x178)];_0x55fca2[_0x11301b(0x252)][_0x11301b(0x304)](_0x34f2b0[_0x11301b(0x2d2)](_0x2128ec=>{const _0x4a65cd=_0x11301b;var _0x4e3c96,_0x10fd34;const {offsetX:_0x41fc12,offsetY:_0x36dd2f}=_0x2128ec,{x:_0x5395e8,y:_0x370d9e}=_0x55fca2[_0x4a65cd(0x23b)](_0x1678e0[_0x4a65cd(0x1d5)][_0x4a65cd(0xe8)]([_0x41fc12,_0x36dd2f])),{scaleX:_0x4574bd,scaleY:_0x3323b4}=_0x55fca2[_0x4a65cd(0x35c)](),_0x216704=_0x55fca2[_0x4a65cd(0x1e1)](_0x1678e0['SHEET_VIEWPORT_KEY'][_0x4a65cd(0x26f)]),_0x28d389=_0x55fca2[_0x4a65cd(0x11d)](_0x1678e0[_0x4a65cd(0x1d5)][_0x4a65cd(0xe8)]([_0x5395e8,_0x370d9e]),_0x216704),_0x118a73=_0x502e21[_0x4a65cd(0xf5)](_0x41fc12,_0x36dd2f,_0x4574bd,_0x3323b4,_0x28d389);((_0x4e3c96=this[_0x4a65cd(0x209)])==null?void 0x0:_0x4e3c96[_0x4a65cd(0x15b)])===_0x118a73[_0x4a65cd(0x15b)]&&((_0x10fd34=this[_0x4a65cd(0x209)])==null?void 0x0:_0x10fd34[_0x4a65cd(0x2ba)])===_0x118a73[_0x4a65cd(0x2ba)]||this['_cursors'][_0x4a65cd(0xe9)](_0x4931d6=>{const _0x1a7f12=_0x4a65cd;_0x4931d6[_0x1a7f12(0x170)](_0x118a73);});},0x64));});}[_0x53aa47(0x330)](_0x172447,_0x13db35){const _0xb0cf20=_0x53aa47;var _0x2b8333;const _0x5b99a1=(_0x2b8333=this[_0xb0cf20(0x119)][_0xb0cf20(0x17b)]())==null?void 0x0:_0x2b8333[_0xb0cf20(0x1df)];if(!_0x5b99a1)return;const _0x2b4e1e=this[_0xb0cf20(0x357)]();if(!_0x2b4e1e)return;this[_0xb0cf20(0x265)][_0xb0cf20(0xe9)](_0x5d97f2=>{const _0xc7fbb5=_0xb0cf20;_0x5d97f2[_0xc7fbb5(0x20b)]();});const {scene:_0x4cb1a3}=_0x2b4e1e,_0x211a60=_0x1ae860(Array[_0xb0cf20(0x2cd)](_0x13db35[_0xb0cf20(0x23e)]()))[_0xb0cf20(0x2ea)](_0x222b35=>{const _0x27636a=_0xb0cf20,{color:_0x151213,range:_0x1172fe,name:_0x489e69,selection:_0x31c942,sheetID:_0x232b3f}=_0x222b35,{startColumn:_0x4162e9,startRow:_0x271c26,endColumn:_0x5deaec,endRow:_0xa6dcfb}=_0x1172fe,_0x192335=_0x5d707f[_0x27636a(0x132)](_0x271c26,_0x4162e9,_0x4cb1a3,_0x5b99a1),_0x3c192e=_0x5d707f[_0x27636a(0x132)](_0xa6dcfb,_0x5deaec,_0x4cb1a3,_0x5b99a1),{columnHeaderHeightAndMarginTop:_0x5c203b}=_0x5b99a1,{startX:_0x5179a1,startY:_0x108f29}=_0x192335,{endX:_0x6dafab,endY:_0x58c85c}=_0x3c192e,_0x4a7b4d=_0x6dafab-_0x5179a1,_0x4cac59=_0x58c85c-_0x108f29,_0x4a555b={'labelPosition':_0x108f29-_0x5c203b>=_0x3f30f4?_0x27636a(0x260):_0x27636a(0x358),'sheetID':_0x232b3f,'range':_0x1172fe,'color':_0x151213,'name':_0x489e69,'selection':_0x31c942,'left':_0x5179a1,'top':_0x108f29,'width':_0x4a7b4d,'height':_0x4cac59,'evented':!0x1,'zIndex':_0x5cb402};return new _0x1f6b20(_0x489e69,_0x4a555b);});_0x4cb1a3['addObjects'](_0x211a60,_0x59041d),this[_0xb0cf20(0x265)]=new Set(_0x211a60);}[_0x53aa47(0x1bc)](){const _0x77c0ec=_0x53aa47;var _0x141a88;(_0x141a88=this[_0x77c0ec(0x265)])==null||_0x141a88[_0x77c0ec(0xe9)](_0x5966df=>_0x5966df[_0x77c0ec(0x318)]());}['_getSheetObject'](){const _0x618182=_0x53aa47;return _0x5d707f['getSheetObject'](this[_0x618182(0x178)][_0x618182(0x294)],this[_0x618182(0x178)]);}};_0x352c16=_0x573d70([_0x10a9d2(0x1,_0x34f2b0[_0x53aa47(0x2c6)](_0x5d707f[_0x53aa47(0x1bf)])),_0x10a9d2(0x2,_0x34f2b0['Inject'](_0x53c773)),_0x10a9d2(0x3,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x29b)]))],_0x352c16);function _0x1ae860(_0x208eb5){const _0x5e0354=_0x53aa47,_0x2c1522=new Map();return _0x208eb5[_0x5e0354(0xe9)](_0x6fbfdf=>{const _0x10c2c9=_0x5e0354;if(_0x2c1522[_0x10c2c9(0x1be)](_0x6fbfdf[_0x10c2c9(0x1fe)])){const _0x316579=_0x2c1522['get'](_0x6fbfdf[_0x10c2c9(0x1fe)]);_0x316579[_0x10c2c9(0x2b5)]+=',\x20'+_0x6fbfdf[_0x10c2c9(0x2b5)];}else _0x2c1522[_0x10c2c9(0x1fa)](_0x6fbfdf[_0x10c2c9(0x1fe)],_0x6fbfdf);}),Array[_0x5e0354(0x2cd)](_0x2c1522[_0x5e0354(0x23e)]());}var _0xa71eb7=function(){const _0x3c8698=_0x53aa47;return _0xa71eb7=Object['assign']||function(_0x428037){const _0x5abee0=_0x182a;for(var _0x299f3b,_0x48ab83=0x1,_0x25c40b=arguments[_0x5abee0(0x28e)];_0x48ab83<_0x25c40b;_0x48ab83++){_0x299f3b=arguments[_0x48ab83];for(var _0x353cfc in _0x299f3b)Object[_0x5abee0(0x2f2)][_0x5abee0(0x2b2)][_0x5abee0(0x1d4)](_0x299f3b,_0x353cfc)&&(_0x428037[_0x353cfc]=_0x299f3b[_0x353cfc]);}return _0x428037;},_0xa71eb7[_0x3c8698(0x258)](this,arguments);},_0x29b8b0=function(_0x3ceabc,_0x11a949){const _0x1f462f=_0x53aa47;var _0x50d668={};for(var _0x1043f in _0x3ceabc)Object['prototype']['hasOwnProperty'][_0x1f462f(0x1d4)](_0x3ceabc,_0x1043f)&&_0x11a949[_0x1f462f(0x299)](_0x1043f)<0x0&&(_0x50d668[_0x1043f]=_0x3ceabc[_0x1043f]);if(_0x3ceabc!=null&&typeof Object['getOwnPropertySymbols']==_0x1f462f(0x30f)){for(var _0x30bb0a=0x0,_0x1043f=Object[_0x1f462f(0x27f)](_0x3ceabc);_0x30bb0a<_0x1043f['length'];_0x30bb0a++)_0x11a949[_0x1f462f(0x299)](_0x1043f[_0x30bb0a])<0x0&&Object[_0x1f462f(0x2f2)][_0x1f462f(0x158)][_0x1f462f(0x1d4)](_0x3ceabc,_0x1043f[_0x30bb0a])&&(_0x50d668[_0x1043f[_0x30bb0a]]=_0x3ceabc[_0x1043f[_0x30bb0a]]);}return _0x50d668;},_0x1fab16=_0x46992f[_0x53aa47(0x165)](function(_0x27e667,_0x192da2){const _0x40c74b=_0x53aa47;var _0x25b893=_0x27e667[_0x40c74b(0x14c)],_0x10461a=_0x27e667['id'],_0x126507=_0x27e667['className'],_0x4ca1f9=_0x27e667['extend'],_0x251ed8=_0x29b8b0(_0x27e667,[_0x40c74b(0x14c),'id',_0x40c74b(0x14e),_0x40c74b(0x261)]),_0x238f7f=_0x40c74b(0x277)[_0x40c74b(0x1de)](_0x10461a,'\x20')[_0x40c74b(0x1de)](_0x126507||'')[_0x40c74b(0x322)](),_0x4db32d=_0x46992f[_0x40c74b(0x25d)]('_'[_0x40c74b(0x1de)](_0x300abb()));return _0x44f3c0(_0x25b893,''[_0x40c74b(0x1de)](_0x10461a),{'defIds':_0x25b893[_0x40c74b(0xcd)],'idSuffix':_0x4db32d['current']},_0xa71eb7({'ref':_0x192da2,'className':_0x238f7f},_0x251ed8),_0x4ca1f9);});function _0x44f3c0(_0x2d8f9f,_0x5ec97a,_0x551c7f,_0x1cda7c,_0x4af658){const _0x340455=_0x53aa47;return _0x46992f['createElement'](_0x2d8f9f['tag'],_0xa71eb7(_0xa71eb7({'key':_0x5ec97a},_0x147686(_0x2d8f9f,_0x551c7f,_0x4af658)),_0x1cda7c),(_0x124cf1(_0x2d8f9f,_0x551c7f)[_0x340455(0x212)]||[])['map'](function(_0x1143d6,_0x5c46d9){const _0x1cb5ff=_0x340455;return _0x44f3c0(_0x1143d6,''[_0x1cb5ff(0x1de)](_0x5ec97a,'-')['concat'](_0x2d8f9f[_0x1cb5ff(0x2f9)],'-')[_0x1cb5ff(0x1de)](_0x5c46d9),_0x551c7f,void 0x0,_0x4af658);}));}function _0x147686(_0x52769d,_0x3664eb,_0x25a44f){const _0x34816b=_0x53aa47;var _0x56ee1a=_0xa71eb7({},_0x52769d[_0x34816b(0x2af)]);_0x25a44f!=null&&_0x25a44f[_0x34816b(0x15f)]&&_0x56ee1a[_0x34816b(0xd9)]==='colorChannel1'&&(_0x56ee1a[_0x34816b(0xd9)]=_0x25a44f[_0x34816b(0x15f)]),_0x52769d[_0x34816b(0x2f9)]===_0x34816b(0x16c)&&_0x56ee1a['id']&&(_0x56ee1a['id']=_0x56ee1a['id']+_0x3664eb[_0x34816b(0x109)]),Object[_0x34816b(0x204)](_0x56ee1a)[_0x34816b(0xe9)](function(_0x4345eb){const _0x20c955=_0x34816b;var _0x69251b=_0x4345eb[0x0],_0x39a903=_0x4345eb[0x1];_0x69251b==='mask'&&typeof _0x39a903==_0x20c955(0x279)&&(_0x56ee1a[_0x69251b]=_0x39a903[_0x20c955(0x102)](/url\(#(.*)\)/,_0x20c955(0x353)[_0x20c955(0x1de)](_0x3664eb['idSuffix'],')')));});var _0x36addb=_0x3664eb[_0x34816b(0xcd)];return!_0x36addb||_0x36addb[_0x34816b(0x28e)]===0x0||(_0x52769d[_0x34816b(0x2f9)]===_0x34816b(0x257)&&_0x56ee1a[_0x34816b(0x29f)]&&(_0x56ee1a[_0x34816b(0x29f)]=_0x56ee1a[_0x34816b(0x29f)]+_0x3664eb['idSuffix']),Object[_0x34816b(0x204)](_0x56ee1a)[_0x34816b(0xe9)](function(_0x383e9a){const _0x39c338=_0x34816b;var _0x1309bb=_0x383e9a[0x0],_0x26b63d=_0x383e9a[0x1];typeof _0x26b63d==_0x39c338(0x279)&&(_0x56ee1a[_0x1309bb]=_0x26b63d[_0x39c338(0x102)](/url\(#(.*)\)/,_0x39c338(0x353)['concat'](_0x3664eb['idSuffix'],')')));})),_0x56ee1a;}function _0x124cf1(_0x5b04e0,_0x31f20e){const _0x246d67=_0x53aa47;var _0x3c4137,_0x5adcce=_0x31f20e[_0x246d67(0xcd)];return!_0x5adcce||_0x5adcce['length']===0x0?_0x5b04e0:_0x5b04e0[_0x246d67(0x2f9)]===_0x246d67(0x190)&&(!((_0x3c4137=_0x5b04e0[_0x246d67(0x212)])===null||_0x3c4137===void 0x0)&&_0x3c4137[_0x246d67(0x28e)])?_0xa71eb7(_0xa71eb7({},_0x5b04e0),{'children':_0x5b04e0[_0x246d67(0x212)][_0x246d67(0x2ea)](function(_0x54cf46){const _0x3a45d8=_0x246d67;return typeof _0x54cf46[_0x3a45d8(0x2af)]['id']==_0x3a45d8(0x279)&&_0x5adcce&&_0x5adcce[_0x3a45d8(0x224)](_0x54cf46[_0x3a45d8(0x2af)]['id'])?_0xa71eb7(_0xa71eb7({},_0x54cf46),{'attrs':_0xa71eb7(_0xa71eb7({},_0x54cf46[_0x3a45d8(0x2af)]),{'id':_0x54cf46['attrs']['id']+_0x31f20e[_0x3a45d8(0x109)]})}):_0x54cf46;})}):_0x5b04e0;}function _0x300abb(){const _0x2d8481=_0x53aa47;return Math['random']()['toString'](0x24)[_0x2d8481(0x154)](0x2,0x8);}_0x1fab16[_0x53aa47(0x166)]='UniverIcon';var _0x45a42b={'tag':_0x53aa47(0x1ec),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x53aa47(0xdb),'viewBox':_0x53aa47(0x143),'width':_0x53aa47(0x253),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x53aa47(0x28d)},'children':[{'tag':_0x53aa47(0xb7),'attrs':{'stroke':_0x53aa47(0x1aa),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x53aa47(0x190),'attrs':{},'children':[{'tag':_0x53aa47(0x12f),'attrs':{'id':_0x53aa47(0x1cd)},'children':[{'tag':_0x53aa47(0xb7),'attrs':{'fill':_0x53aa47(0x20a),'d':_0x53aa47(0xed)}}]}]}],'defIds':[_0x53aa47(0x1cd)]},_0x122834=_0x46992f[_0x53aa47(0x165)](function(_0x57c303,_0x23fa8a){const _0x390ab0=_0x53aa47;return _0x46992f['createElement'](_0x1fab16,Object[_0x390ab0(0x339)]({},_0x57c303,{'id':_0x390ab0(0x11e),'ref':_0x23fa8a,'icon':_0x45a42b}));});_0x122834[_0x53aa47(0x166)]=_0x53aa47(0x2ac);var _0x16aa8e={'tag':_0x53aa47(0x1ec),'attrs':{'xmlns':_0x53aa47(0xf8),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x53aa47(0x253),'height':_0x53aa47(0x253)},'children':[{'tag':'g','attrs':{'clipPath':_0x53aa47(0xe0)},'children':[{'tag':_0x53aa47(0xb7),'attrs':{'stroke':_0x53aa47(0x1aa),'d':_0x53aa47(0x24e),'strokeLinecap':_0x53aa47(0x248),'strokeLinejoin':_0x53aa47(0x248),'strokeWidth':1.2}}]},{'tag':_0x53aa47(0x190),'attrs':{},'children':[{'tag':_0x53aa47(0x12f),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x53aa47(0xb7),'attrs':{'fill':_0x53aa47(0x20a),'d':_0x53aa47(0xed),'transform':_0x53aa47(0x12d)}}]}]}],'defIds':[_0x53aa47(0x280)]},_0x2076e9=_0x46992f[_0x53aa47(0x165)](function(_0x5852fb,_0x27dd34){const _0x53d94b=_0x53aa47;return _0x46992f['createElement'](_0x1fab16,Object[_0x53d94b(0x339)]({},_0x5852fb,{'id':_0x53d94b(0xcf),'ref':_0x27dd34,'icon':_0x16aa8e}));});_0x2076e9['displayName']=_0x53aa47(0x33f);function _0x42446f(_0x3129d5){const _0x423355=_0x53aa47;switch(_0x3129d5){case _0x561334['CollaborationStatus'][_0x423355(0x251)]:return'collabStatus.offline';case _0x561334['CollaborationStatus'][_0x423355(0x175)]:return _0x423355(0x18f);case _0x561334[_0x423355(0x176)][_0x423355(0x33d)]:return'collabStatus.fetchMiss';case _0x561334[_0x423355(0x176)][_0x423355(0x11a)]:return _0x423355(0x2ee);case _0x561334['CollaborationStatus'][_0x423355(0x153)]:case _0x561334[_0x423355(0x176)][_0x423355(0x1e2)]:return _0x423355(0xd6);case _0x561334['CollaborationStatus']['SYNCED']:case _0x561334[_0x423355(0x176)]['PENDING']:return _0x423355(0x133);}}function _0x3946f6(_0x201b50){const _0x31eaec=_0x53aa47,{status$:_0x592550}=_0x201b50,_0x44b1cd=_0x2dc545[_0x31eaec(0x2d1)](_0x592550,_0x561334[_0x31eaec(0x176)][_0x31eaec(0x11a)]),_0x123651=_0x2dc545[_0x31eaec(0x160)](_0x34f2b0[_0x31eaec(0x1ef)]),_0x563d18=_0x2dc545[_0x31eaec(0x160)](_0x561334[_0x31eaec(0x349)]),_0x3d177d=_0x44b1cd!==_0x561334[_0x31eaec(0x176)][_0x31eaec(0x251)],_0xc258c0=_0x123651['t'](_0x42446f(_0x44b1cd)),_0x5a633b=_0x3d177d?_0x2cf07e[_0x31eaec(0x1c7)](_0x2076e9,{}):_0x2cf07e[_0x31eaec(0x1c7)](_0x122834,{}),_0x3170d2=_0x46992f[_0x31eaec(0xe3)](()=>{_0x3d177d||_0x563d18['reconnect']();},[_0x3d177d,_0x563d18]);function _0x4b8fdf(){const _0x5c37ac=_0x31eaec;return _0x2cf07e[_0x5c37ac(0x269)]('div',{'className':_0x5c37ac(0x15d),'onClick':_0x3170d2,'children':[_0x2cf07e['jsx'](_0x5c37ac(0x18c),{'className':_0x3b8c80[_0x5c37ac(0x2bc)](_0x5c37ac(0x123),{'univer-text-green-500':_0x3d177d,'univer-text-red-500':!_0x3d177d}),'children':_0x5a633b}),_0x2cf07e[_0x5c37ac(0x1c7)]('div',{'className':_0x5c37ac(0x18b),'children':_0xc258c0})]});}return _0x3d177d?_0x4b8fdf():_0x2cf07e[_0x31eaec(0x1c7)](_0x3b8c80['Tooltip'],{'title':_0x123651['t'](_0x31eaec(0xe5)),'children':_0x4b8fdf()});}var _0x1f3e8d=Object[_0x53aa47(0x121)],_0xa10bf3=(_0x19f67a,_0x2da3c5,_0x245c9d,_0x3145d0)=>{const _0x3a41fd=_0x53aa47;for(var _0x1a9243=_0x3145d0>0x1?void 0x0:_0x3145d0?_0x1f3e8d(_0x2da3c5,_0x245c9d):_0x2da3c5,_0x1b6f45=_0x19f67a[_0x3a41fd(0x28e)]-0x1,_0x501899;_0x1b6f45>=0x0;_0x1b6f45--)(_0x501899=_0x19f67a[_0x1b6f45])&&(_0x1a9243=_0x501899(_0x1a9243)||_0x1a9243);return _0x1a9243;},_0x32de0d=(_0x184b17,_0x13a061)=>(_0x5ac567,_0x431369)=>_0x13a061(_0x5ac567,_0x431369,_0x184b17);_0x2ec00e[_0x53aa47(0x233)]=class extends _0x34f2b0['Disposable']{constructor(_0x3b0ddd,_0x672553,_0x166261,_0x51a55f){const _0x43b460=_0x53aa47;super(),_0x5e46bb(this,_0x43b460(0x292),new _0x53d307['BehaviorSubject'](_0x561334['CollaborationStatus']['NOT_COLLAB'])),(this[_0x43b460(0xbf)]=_0x3b0ddd,this[_0x43b460(0x195)]=_0x672553,this[_0x43b460(0x2d0)]=_0x166261,this['_uiPartsService']=_0x51a55f,this[_0x43b460(0x34f)](),this[_0x43b460(0xfb)]());}['_initStatusListener'](){const _0x1982c3=_0x53aa47;this[_0x1982c3(0x278)](this['_univerInstanceService']['focused$']['pipe'](_0x53d307[_0x1982c3(0x173)](()=>{const _0x5950ce=_0x1982c3,_0x148c13=this[_0x5950ce(0xbf)][_0x5950ce(0x185)]();return _0x148c13?this['_collaborationController'][_0x5950ce(0x259)](_0x148c13[_0x5950ce(0x1fd)]()):_0x53d307['of'](null);}),_0x53d307[_0x1982c3(0x173)](_0x1a243b=>_0x1a243b?_0x1a243b[_0x1982c3(0xf6)]:_0x53d307['of'](_0x561334[_0x1982c3(0x176)]['NOT_COLLAB'])))[_0x1982c3(0x18d)](_0x38ce18=>{const _0x1a9088=_0x1982c3;this[_0x1a9088(0x292)][_0x1a9088(0xeb)](_0x38ce18);}));}['_initStatusComponent'](){const _0x4e5543=_0x53aa47;this[_0x4e5543(0x278)](this[_0x4e5543(0x25f)][_0x4e5543(0xc6)](_0x2dc545['BuiltInUIPart']['HEADER_MENU'],()=>_0x2dc545['connectInjector'](_0x39eca0({'status$':this['_status$'][_0x4e5543(0xd4)]()}),this[_0x4e5543(0x195)])));}},_0x2ec00e[_0x53aa47(0x233)]=_0xa10bf3([_0x32de0d(0x0,_0x34f2b0[_0x53aa47(0x10d)]),_0x32de0d(0x1,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x324)])),_0x32de0d(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x561334[_0x53aa47(0x226)])),_0x32de0d(0x3,_0x2dc545[_0x53aa47(0x274)])],_0x2ec00e[_0x53aa47(0x233)]);function _0x39eca0(_0x58ad17){const {status$:_0xbe8430}=_0x58ad17;return function(){const _0x3bf33d=_0x182a;return _0x2cf07e[_0x3bf33d(0x1c7)](_0x3946f6,{'status$':_0xbe8430});};}var _0x1f7aea=Object[_0x53aa47(0x121)],_0x24e90d=(_0x1c9d8,_0xddb8ae,_0x5d2a54,_0x108de2)=>{for(var _0x5ceeed=_0x108de2>0x1?void 0x0:_0x108de2?_0x1f7aea(_0xddb8ae,_0x5d2a54):_0xddb8ae,_0x1c9ab0=_0x1c9d8['length']-0x1,_0x2076f8;_0x1c9ab0>=0x0;_0x1c9ab0--)(_0x2076f8=_0x1c9d8[_0x1c9ab0])&&(_0x5ceeed=_0x2076f8(_0x5ceeed)||_0x5ceeed);return _0x5ceeed;},_0x5e3cb1=(_0x34a31c,_0x2f6289)=>(_0x37203b,_0xe046e7)=>_0x2f6289(_0x37203b,_0xe046e7,_0x34a31c);let _0x173965=class extends _0x34f2b0[_0x53aa47(0x12a)]{constructor(_0x1df91e,_0xb08c74,_0x33cbcd,_0x1d3069,_0x38ec58,_0x58a5f6){const _0x2dcbd5=_0x53aa47;super(),this[_0x2dcbd5(0x28a)]=_0x1df91e,this['_localCacheService']=_0xb08c74,this[_0x2dcbd5(0x356)]=_0x33cbcd,this[_0x2dcbd5(0x101)]=_0x1d3069,this['_notificationService']=_0x38ec58,this['_localeService']=_0x58a5f6,this[_0x2dcbd5(0x217)](),this['_initEvent']();}[_0x53aa47(0x217)](){const _0x26da1b=_0x53aa47;this[_0x26da1b(0x278)](this['_beforeCloseService'][_0x26da1b(0x112)](()=>{const _0x2c93aa=_0x26da1b;if(this['_localCacheService'][_0x2c93aa(0x1e8)][_0x2c93aa(0x1b7)])return this[_0x2c93aa(0x1cf)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x53aa47(0x2e2)](){const _0x278939=_0x53aa47;this[_0x278939(0x278)](this[_0x278939(0x356)]['event$'][_0x278939(0x18d)](_0x16ddd5=>{const _0x393299=_0x278939;_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0x29d)]&&this[_0x393299(0x101)]['show']({'type':_0x3b8c80[_0x393299(0x14b)][_0x393299(0x1a8)],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x33b))}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0x125)]&&this[_0x393299(0x101)][_0x393299(0xd8)]({'type':_0x3b8c80['MessageType']['Warning'],'content':this['_localeService']['t'](_0x393299(0x1b1))}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0xda)]&&this['_notificationService'][_0x393299(0xd8)]({'title':this[_0x393299(0x1cf)]['t']('permission.title'),'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x30d)),'type':'error','duration':0x0}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)]['CONFLICT']&&this[_0x393299(0x101)]['show']({'type':_0x3b8c80[_0x393299(0x14b)][_0x393299(0x31b)],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x1b1))+'('+_0x16ddd5[_0x393299(0x1a2)]+')'}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0xb4)]&&this['_messageService']['show']({'type':_0x3b8c80[_0x393299(0x14b)][_0x393299(0x1a8)],'content':this[_0x393299(0x1cf)]['t'](_0x16ddd5[_0x393299(0x1a2)]||'')}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0x2d9)]&&this[_0x393299(0x101)][_0x393299(0xd8)]({'type':_0x3b8c80[_0x393299(0x14b)][_0x393299(0x1a8)],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0xf0))}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)]['SOCKET_FAILED']&&this[_0x393299(0x101)]['show']({'type':_0x3b8c80[_0x393299(0x14b)]['Error'],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x2d3))}),_0x16ddd5['id']===_0x561334[_0x393299(0x308)][_0x393299(0x1f9)]&&this[_0x393299(0x101)][_0x393299(0xd8)]({'type':_0x3b8c80['MessageType'][_0x393299(0x31b)],'content':this[_0x393299(0x1cf)]['t'](_0x393299(0x16d))});}));}};_0x173965=_0x24e90d([_0x5e3cb1(0x0,_0x2dc545['IBeforeCloseService']),_0x5e3cb1(0x1,_0x561334['ILocalCacheService']),_0x5e3cb1(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x561334[_0x53aa47(0x2ef)])),_0x5e3cb1(0x3,_0x2dc545['IMessageService']),_0x5e3cb1(0x4,_0x2dc545[_0x53aa47(0x17a)]),_0x5e3cb1(0x5,_0x34f2b0['Inject'](_0x34f2b0['LocaleService']))],_0x173965);const _0x5b0163=_0x53aa47(0x19a),_0x4b8552={},_0x58811b=_0x34f2b0['createIdentifier'](_0x53aa47(0x313));var _0xa765a=Object['getOwnPropertyDescriptor'],_0x2a770a=(_0x2a9935,_0x254f31,_0x4ec360,_0x4f45c9)=>{const _0x4d65bd=_0x53aa47;for(var _0x503ea6=_0x4f45c9>0x1?void 0x0:_0x4f45c9?_0xa765a(_0x254f31,_0x4ec360):_0x254f31,_0x31b7ff=_0x2a9935[_0x4d65bd(0x28e)]-0x1,_0x105fad;_0x31b7ff>=0x0;_0x31b7ff--)(_0x105fad=_0x2a9935[_0x31b7ff])&&(_0x503ea6=_0x105fad(_0x503ea6)||_0x503ea6);return _0x503ea6;},_0x5f0a9b=(_0x409d50,_0x5e8449)=>(_0x136fe2,_0x117fad)=>_0x5e8449(_0x136fe2,_0x117fad,_0x409d50);_0x2ec00e['CollaborationDataLoaderController']=class extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(_0x5aeb9f,_0x4c21b8,_0x6516b8,_0x2bec8e,_0xad4970){const _0x1b4231=_0x53aa47;super(),this[_0x1b4231(0x355)]=_0x5aeb9f,this['_logService']=_0x4c21b8,this[_0x1b4231(0x1c3)]=_0x6516b8,this[_0x1b4231(0x1e9)]=_0x2bec8e,_0xad4970?_0xad4970==null||_0xad4970[_0x1b4231(0xc4)]()['then'](()=>this['_init']()):(this['_logService'][_0x1b4231(0x208)](_0x1b4231(0x2b0),_0x1b4231(0x235)),this[_0x1b4231(0x17f)]());}async[_0x53aa47(0x17f)](){const _0x543c1a=_0x53aa47,_0x2feb15=this[_0x543c1a(0x355)][_0x543c1a(0x15a)]('unit'),_0x3588f4=this['_urlService'][_0x543c1a(0x15a)](_0x543c1a(0x1b2)),_0x5e9ced=this[_0x543c1a(0x355)][_0x543c1a(0x15a)](_0x543c1a(0x2db));if(!_0x2feb15||!_0x3588f4){this['_logService'][_0x543c1a(0x208)](_0x543c1a(0x2b0),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4d79c2=await this[_0x543c1a(0x1e9)][_0x543c1a(0x14a)](_0x2feb15,Number(_0x3588f4),_0x5e9ced);_0x4d79c2&&_0x4d79c2 instanceof _0x34f2b0[_0x543c1a(0x23c)]&&this[_0x543c1a(0xfa)](_0x4d79c2);}async[_0x53aa47(0xfa)](_0x1c45c4){const _0x3de547=_0x53aa47;await this['_updateSubUnitFromURLParams'](_0x1c45c4),_0x1c45c4[_0x3de547(0x1b6)]['pipe'](_0x53d307[_0x3de547(0x21b)](this[_0x3de547(0x2a0)]))[_0x3de547(0x18d)](_0x43a15a=>{_0x43a15a&&this['_updateURLWithCurrentState'](_0x43a15a);}),this[_0x3de547(0x355)][_0x3de547(0x151)][_0x3de547(0x147)](_0x53d307[_0x3de547(0x21b)](this[_0x3de547(0x2a0)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1c45c4));}[_0x53aa47(0x206)](_0x491674,_0x5575c7=!0x1){const _0x1ebb21=_0x53aa47,_0x13bd56=this['_urlService'][_0x1ebb21(0x15a)](_0x1ebb21(0x2db));_0x491674[_0x1ebb21(0x10e)]()!==_0x13bd56&&this[_0x1ebb21(0x355)][_0x1ebb21(0x16f)](_0x1ebb21(0x2db),_0x491674[_0x1ebb21(0x10e)](),_0x5575c7);}async[_0x53aa47(0x29e)](_0x1b0763){const _0x4e5aff=_0x53aa47;var _0x463ddf;const _0x4b5951=this['_urlService'][_0x4e5aff(0x15a)]('subunit');if(!_0x4b5951||!_0x1b0763['getSheetBySheetId'](_0x4b5951)){const _0x5d9557=_0x1b0763['getUnhiddenWorksheets']()[0x0],_0x2d1e02=_0x1b0763[_0x4e5aff(0x287)](_0x5d9557);if(!_0x2d1e02)return;this[_0x4e5aff(0x206)](_0x2d1e02,!0x0),await this[_0x4e5aff(0x1c3)][_0x4e5aff(0x25e)](_0x2a09ae[_0x4e5aff(0x2a1)]['id'],{'unitId':_0x1b0763[_0x4e5aff(0x1fd)](),'subUnitId':_0x5d9557});return;}((_0x463ddf=_0x1b0763[_0x4e5aff(0x1ee)]())==null?void 0x0:_0x463ddf[_0x4e5aff(0x10e)]())!==_0x4b5951&&await this[_0x4e5aff(0x1c3)][_0x4e5aff(0x25e)](_0x2a09ae['SetWorksheetActivateCommand']['id'],{'unitId':_0x1b0763['getUnitId'](),'subUnitId':_0x4b5951});}},_0x2ec00e[_0x53aa47(0x2be)]=_0x2a770a([_0x5f0a9b(0x0,_0x58811b),_0x5f0a9b(0x1,_0x34f2b0[_0x53aa47(0x219)]),_0x5f0a9b(0x2,_0x34f2b0['ICommandService']),_0x5f0a9b(0x3,_0x34f2b0[_0x53aa47(0x2c6)](_0x561334[_0x53aa47(0x317)])),_0x5f0a9b(0x4,_0x34f2b0[_0x53aa47(0x309)](_0x3b398b[_0x53aa47(0x144)]))],_0x2ec00e[_0x53aa47(0x2be)]);var _0x23b32e=Object[_0x53aa47(0x121)],_0x1dcdce=(_0x2aa2e8,_0x3a5a3e,_0x85cf97,_0x3b839d)=>{const _0x2632e8=_0x53aa47;for(var _0x53aa06=_0x3b839d>0x1?void 0x0:_0x3b839d?_0x23b32e(_0x3a5a3e,_0x85cf97):_0x3a5a3e,_0x41832a=_0x2aa2e8[_0x2632e8(0x28e)]-0x1,_0x5b20dd;_0x41832a>=0x0;_0x41832a--)(_0x5b20dd=_0x2aa2e8[_0x41832a])&&(_0x53aa06=_0x5b20dd(_0x53aa06)||_0x53aa06);return _0x53aa06;},_0x7e1f87=(_0x22f66f,_0x44f8d6)=>(_0x186040,_0x85cd49)=>_0x44f8d6(_0x186040,_0x85cd49,_0x22f66f);let _0x326881=class{constructor(_0xc64999,_0x25f0bb,_0x2c096e){const _0x4c38e7=_0x53aa47;this[_0x4c38e7(0x195)]=_0xc64999,this[_0x4c38e7(0x12b)]=_0x25f0bb,this[_0x4c38e7(0x1e4)]=_0x2c096e;}[_0x53aa47(0x11f)](_0x54b80b){const _0x13fb2c=_0x53aa47;this[_0x13fb2c(0x19e)](_0x54b80b),this[_0x13fb2c(0xef)](_0x54b80b);}['transformRemoteChangeset'](_0x1c0ace){const _0x53eb76=_0x53aa47,{unitID:_0x124964}=_0x1c0ace,_0x2aa00e=this[_0x53eb76(0x1e4)]['getRenderById'](_0x124964)[_0x53eb76(0x148)](_0x3487a2['DocIMEInputManagerService']),{redoCache:_0x2eba88}=_0x2aa00e['getUndoRedoMutationParamsCache']();if(_0x2eba88[_0x53eb76(0x28e)]===0x0)return _0x1c0ace;let _0x490356=_0x34f2b0[_0x53eb76(0x205)][_0x53eb76(0x303)](_0x1c0ace[_0x53eb76(0x2a4)][0x0]);for(let _0x5bb26a=0x0;_0x5bb26a<_0x2eba88[_0x53eb76(0x28e)];_0x5bb26a++){const _0x121acb={'id':_0x53eb76(0x179),'params':{..._0x2eba88[_0x5bb26a]}},_0x3c68d8=this[_0x53eb76(0x12b)][_0x53eb76(0xbb)](_0x490356,_0x121acb,!0x1);if(_0x2336f8[_0x53eb76(0x340)](_0x3c68d8))throw _0x3c68d8[_0x53eb76(0x1a3)];_0x490356=_0x3c68d8[_0x53eb76(0x1ce)];}return{..._0x34f2b0['Tools'][_0x53eb76(0x303)](_0x1c0ace),'mutations':[_0x490356]};}[_0x53aa47(0x19e)](_0x5a269e){const _0x3e90c2=_0x53aa47,{unitID:_0x2f2e44}=_0x5a269e,_0xaceed5=this[_0x3e90c2(0x1e4)][_0x3e90c2(0x227)](_0x2f2e44)[_0x3e90c2(0x148)](_0x3487a2[_0x3e90c2(0x228)]),{undoCache:_0x5d371d,redoCache:_0x599e20}=_0xaceed5['getUndoRedoMutationParamsCache']();if(_0x5d371d[_0x3e90c2(0x28e)]===0x0||_0x599e20[_0x3e90c2(0x28e)]===0x0)return;const _0x343b2a=[],_0x254417=[];let _0x5a6da9=_0x34f2b0[_0x3e90c2(0x205)][_0x3e90c2(0x303)](_0x5a269e[_0x3e90c2(0x2a4)][0x0]),_0x3a30d6=_0x34f2b0['Tools'][_0x3e90c2(0x303)](_0x5a269e[_0x3e90c2(0x2a4)][0x0]);for(let _0x13163f=_0x5d371d['length']-0x1;_0x13163f>=0x0;_0x13163f--){const _0xbd6b18={'id':_0x3e90c2(0x179),'params':{..._0x5d371d[_0x13163f]}},_0x5d5522={'id':_0x3e90c2(0x179),'params':{..._0x599e20[_0x13163f]}},_0x2a1202=this['_transformService'][_0x3e90c2(0xbb)](_0x5a6da9,_0xbd6b18,!0x1),_0x244c68=this['_transformService'][_0x3e90c2(0xbb)](_0x3a30d6,_0x5d5522,!0x1);if(_0x2336f8[_0x3e90c2(0x340)](_0x2a1202))throw _0x2a1202['error'];if(_0x2336f8[_0x3e90c2(0x340)](_0x244c68))throw _0x244c68[_0x3e90c2(0x1a3)];_0x343b2a[_0x3e90c2(0x320)](_0x2a1202[_0x3e90c2(0xb5)][_0x3e90c2(0xfe)]),_0x254417['unshift'](_0x244c68['m2Prime'][_0x3e90c2(0xfe)]),_0x5a6da9=_0x2a1202[_0x3e90c2(0x1ce)],_0x3a30d6=_0x244c68['m1Prime'];}_0xaceed5[_0x3e90c2(0x2a8)]({'undoCache':_0x343b2a,'redoCache':_0x254417});}[_0x53aa47(0xef)](_0xb33ecc){const _0x56a7f5=_0x53aa47,{unitID:_0x11f7af}=_0xb33ecc,_0xbd2aee=this[_0x56a7f5(0x1e4)][_0x56a7f5(0x227)](_0x11f7af)[_0x56a7f5(0x148)](_0x3487a2['DocIMEInputManagerService']),_0x2c465b=_0xbd2aee['getActiveRange']();if(_0x2c465b==null)return;const _0x43e77c=[{'id':_0x56a7f5(0x179),'params':{'unitId':_0xb33ecc[_0x56a7f5(0x241)],'actions':null,'textRanges':[_0x2c465b]}}],_0x22ede0=this[_0x56a7f5(0x12b)][_0x56a7f5(0x2e8)](_0xb33ecc,_0x43e77c);if(!_0x2336f8[_0x56a7f5(0x223)](_0x22ede0))throw _0x22ede0[_0x56a7f5(0x1a3)];const _0x40148c=_0x22ede0['m2Prime'][0x0][_0x56a7f5(0xfe)][_0x56a7f5(0x141)];Array[_0x56a7f5(0x2bb)](_0x40148c)&&_0x40148c[_0x56a7f5(0x28e)]&&_0xbd2aee[_0x56a7f5(0x120)](_0x40148c[0x0]);}};_0x326881=_0x1dcdce([_0x7e1f87(0x0,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x7e1f87(0x1,_0x2336f8[_0x53aa47(0x134)]),_0x7e1f87(0x2,_0x1678e0[_0x53aa47(0x1b4)])],_0x326881);var _0x34805f=Object[_0x53aa47(0x121)],_0x4dad6d=(_0x1eb428,_0x567720,_0x8b24c5,_0x3b260f)=>{const _0x4d8a2c=_0x53aa47;for(var _0x46963c=_0x3b260f>0x1?void 0x0:_0x3b260f?_0x34805f(_0x567720,_0x8b24c5):_0x567720,_0x48bfdd=_0x1eb428[_0x4d8a2c(0x28e)]-0x1,_0x3720c0;_0x48bfdd>=0x0;_0x48bfdd--)(_0x3720c0=_0x1eb428[_0x48bfdd])&&(_0x46963c=_0x3720c0(_0x46963c)||_0x46963c);return _0x46963c;},_0x5b522d=(_0x1e9cc0,_0x38deec)=>(_0x400254,_0x22e43d)=>_0x38deec(_0x400254,_0x22e43d,_0x1e9cc0);let _0x4addeb=class{constructor(_0x198370,_0x1466e4,_0x2e3f34){const _0x1134a9=_0x53aa47;this['_injector']=_0x198370,this[_0x1134a9(0x12b)]=_0x1466e4,this['_docStateChangeManagerService']=_0x2e3f34;}[_0x53aa47(0x2b6)](_0x1666c7){const _0x22c182=_0x53aa47;this[_0x22c182(0x20f)](_0x1666c7);}[_0x53aa47(0x22c)](_0x5d4d8c){const _0x4a7581=_0x53aa47,{unitID:_0x299f79}=_0x5d4d8c,{collaboration:_0x1d567c}=this['_docStateChangeManagerService']['getStateCache'](_0x299f79);if(_0x1d567c[_0x4a7581(0x28e)]===0x0)return _0x5d4d8c;let _0x5e0bd3=_0x34f2b0[_0x4a7581(0x205)][_0x4a7581(0x303)](_0x5d4d8c[_0x4a7581(0x2a4)][0x0]);for(let _0x5c36b4=0x0;_0x5c36b4<_0x1d567c[_0x4a7581(0x28e)];_0x5c36b4++){const _0x248d48={'id':_0x4a7581(0x179),'params':{'unitId':_0x1d567c[_0x5c36b4]['unitId'],..._0x1d567c[_0x5c36b4][_0x4a7581(0x2cb)]}},_0x50f82d=this['_transformService']['transformMutation'](_0x5e0bd3,_0x248d48,!0x1);if(_0x2336f8[_0x4a7581(0x340)](_0x50f82d))throw _0x50f82d[_0x4a7581(0x1a3)];_0x5e0bd3=_0x50f82d[_0x4a7581(0x1ce)];}return{..._0x34f2b0['Tools'][_0x4a7581(0x303)](_0x5d4d8c),'mutations':[_0x5e0bd3]};}[_0x53aa47(0x20f)](_0x4ede41){const _0xd24145=_0x53aa47,{unitID:_0x159182}=_0x4ede41,{history:_0x1aa7f1,collaboration:_0x1e8b9f}=this[_0xd24145(0xc5)]['getStateCache'](_0x159182);if(_0x1aa7f1['length']===0x0&&_0x1e8b9f[_0xd24145(0x28e)]===0x0)return;const _0x347564=[],_0x232079=[];let _0x2bea90=_0x34f2b0[_0xd24145(0x205)][_0xd24145(0x303)](_0x4ede41['mutations'][0x0]),_0x2c70f2=_0x34f2b0[_0xd24145(0x205)][_0xd24145(0x303)](_0x4ede41[_0xd24145(0x2a4)][0x0]);for(let _0x3b7cf3=_0x1aa7f1[_0xd24145(0x28e)]-0x1;_0x3b7cf3>=0x0;_0x3b7cf3--){const _0x8ef91a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1aa7f1[_0x3b7cf3]['unitId'],..._0x1aa7f1[_0x3b7cf3][_0xd24145(0x2ad)]}},_0xf7c35e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1aa7f1[_0x3b7cf3]['unitId'],..._0x1aa7f1[_0x3b7cf3]['redoState']}},_0x54db61=this['_transformService']['transformMutation'](_0x2bea90,_0x8ef91a,!0x1),_0x3d7fb6=this['_transformService'][_0xd24145(0xbb)](_0x2c70f2,_0xf7c35e,!0x1);if(_0x2336f8['isTransformMutationFailure'](_0x54db61))throw _0x54db61[_0xd24145(0x1a3)];if(_0x2336f8[_0xd24145(0x340)](_0x3d7fb6))throw _0x3d7fb6['error'];_0x347564['unshift']({..._0x1aa7f1[_0x3b7cf3],'undoState':_0x54db61['m2Prime'][_0xd24145(0xfe)],'redoState':_0x3d7fb6[_0xd24145(0xb5)][_0xd24145(0xfe)]}),_0x2bea90=_0x54db61['m1Prime'],_0x2c70f2=_0x3d7fb6['m1Prime'];}_0x2bea90=_0x34f2b0['Tools'][_0xd24145(0x303)](_0x4ede41['mutations'][0x0]),_0x2c70f2=_0x34f2b0[_0xd24145(0x205)][_0xd24145(0x303)](_0x4ede41[_0xd24145(0x2a4)][0x0]);for(let _0xb3f6f7=_0x1e8b9f[_0xd24145(0x28e)]-0x1;_0xb3f6f7>=0x0;_0xb3f6f7--){const _0x253715={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e8b9f[_0xb3f6f7][_0xd24145(0x1c6)],..._0x1e8b9f[_0xb3f6f7][_0xd24145(0x2ad)]}},_0x2796b6={'id':_0xd24145(0x179),'params':{'unitId':_0x1e8b9f[_0xb3f6f7][_0xd24145(0x1c6)],..._0x1e8b9f[_0xb3f6f7][_0xd24145(0x2cb)]}},_0x45572c=this[_0xd24145(0x12b)]['transformMutation'](_0x2bea90,_0x253715,!0x1),_0xbefd7a=this['_transformService'][_0xd24145(0xbb)](_0x2c70f2,_0x2796b6,!0x1);if(_0x2336f8['isTransformMutationFailure'](_0x45572c))throw _0x45572c[_0xd24145(0x1a3)];if(_0x2336f8[_0xd24145(0x340)](_0xbefd7a))throw _0xbefd7a[_0xd24145(0x1a3)];_0x232079[_0xd24145(0x320)]({..._0x1e8b9f[_0xb3f6f7],'undoState':_0x45572c[_0xd24145(0xb5)]['params'],'redoState':_0xbefd7a[_0xd24145(0xb5)]['params']}),_0x2bea90=_0x45572c['m1Prime'],_0x2c70f2=_0xbefd7a[_0xd24145(0x1ce)];}this[_0xd24145(0xc5)][_0xd24145(0x2c9)](_0x159182,{'history':_0x347564,'collaboration':_0x232079});}};_0x4addeb=_0x4dad6d([_0x5b522d(0x0,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x5b522d(0x1,_0x2336f8['ITransformService']),_0x5b522d(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x3487a2['DocStateChangeManagerService']))],_0x4addeb);var _0x4eee84=Object[_0x53aa47(0x121)],_0x1834fe=(_0x41d704,_0x55414c,_0x1dbbe4,_0x156e5a)=>{for(var _0x41df31=_0x156e5a>0x1?void 0x0:_0x156e5a?_0x4eee84(_0x55414c,_0x1dbbe4):_0x55414c,_0x5c2e58=_0x41d704['length']-0x1,_0x30d06d;_0x5c2e58>=0x0;_0x5c2e58--)(_0x30d06d=_0x41d704[_0x5c2e58])&&(_0x41df31=_0x30d06d(_0x41df31)||_0x41df31);return _0x41df31;},_0x539f6d=(_0xbeeaf2,_0x1e0ea9)=>(_0x54218b,_0x4e7540)=>_0x1e0ea9(_0x54218b,_0x4e7540,_0xbeeaf2);let _0x4b7178=class{constructor(_0x17f054,_0x258c7e){const _0xf86814=_0x53aa47;this[_0xf86814(0x195)]=_0x17f054,this[_0xf86814(0x12b)]=_0x258c7e;}[_0x53aa47(0x290)](_0x1e5ec3){const _0x25a9d2=_0x53aa47;var _0x1ebe26;const _0x285a=this[_0x25a9d2(0x195)]['get'](_0x721df3['DocSelectionManagerService']),_0x9d6e12=(_0x1ebe26=_0x285a[_0x25a9d2(0x1ad)]())!=null?_0x1ebe26:[];if(_0x9d6e12[_0x25a9d2(0x28e)]===0x0)return;const _0x4e90f6=_0x1e5ec3['unitID'],_0x336391=[{'id':_0x25a9d2(0x179),'params':{'unitId':_0x4e90f6,'actions':null,'textRanges':_0x9d6e12}}],_0x34e305=this['_transformService']['transformMutationsWithChangeset'](_0x1e5ec3,_0x336391);if(!_0x2336f8['isTransformMutationsWithChangesetSuccess'](_0x34e305))throw _0x34e305['error'];const _0x56f26e=_0x34e305[_0x25a9d2(0xb5)][0x0][_0x25a9d2(0xfe)][_0x25a9d2(0x141)];Array[_0x25a9d2(0x2bb)](_0x56f26e)&&_0x56f26e['length']&&_0x285a[_0x25a9d2(0x1cb)](_0x56f26e,{'unitId':_0x4e90f6,'subUnitId':_0x4e90f6},!0x1);}};_0x4b7178=_0x1834fe([_0x539f6d(0x0,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x324)])),_0x539f6d(0x1,_0x2336f8[_0x53aa47(0x134)])],_0x4b7178);var _0x3821a0=Object[_0x53aa47(0x121)],_0x7e44d1=(_0x23a4d6,_0x51aeb3,_0x3ee61e,_0x593470)=>{const _0x578759=_0x53aa47;for(var _0x48d1d3=_0x593470>0x1?void 0x0:_0x593470?_0x3821a0(_0x51aeb3,_0x3ee61e):_0x51aeb3,_0x2d185c=_0x23a4d6[_0x578759(0x28e)]-0x1,_0x59acd2;_0x2d185c>=0x0;_0x2d185c--)(_0x59acd2=_0x23a4d6[_0x2d185c])&&(_0x48d1d3=_0x59acd2(_0x48d1d3)||_0x48d1d3);return _0x48d1d3;},_0x1545d5=(_0x222fcb,_0xee708b)=>(_0x2dd105,_0x29a96a)=>_0xee708b(_0x2dd105,_0x29a96a,_0x222fcb);let _0x1110c2=class extends _0x34f2b0[_0x53aa47(0x12a)]{constructor(_0x12c82e,_0x45f9c5,_0x29bac7,_0x5c691f,_0x4e04e2,_0x4c3d49,_0x145035,_0x17e9fd){const _0x460792=_0x53aa47;super(),_0x5e46bb(this,_0x460792(0x292),new _0x53d307[(_0x460792(0x1f8))](_0x561334[_0x460792(0x176)][_0x460792(0x11a)])),(this['_docStateChangeManagerService']=_0x12c82e,this['_collaborationController']=_0x45f9c5,this[_0x460792(0x169)]=_0x29bac7,this[_0x460792(0x140)]=_0x5c691f,this['_docTransformSelectionsService']=_0x4e04e2,this[_0x460792(0x33a)]=_0x4c3d49,this['_messageService']=_0x145035,this[_0x460792(0x1cf)]=_0x17e9fd,this[_0x460792(0x26a)]());}[_0x53aa47(0x26a)](){const _0x1c0838=_0x53aa47;this[_0x1c0838(0x278)](this[_0x1c0838(0x2d0)][_0x1c0838(0x1ac)][_0x1c0838(0x18d)](_0x48b469=>{const _0x2e1400=_0x1c0838,_0xfeb8b4=this[_0x2e1400(0xc5)]['docStateChange$']['subscribe'](_0x3eab56=>{const _0x5dc317=_0x2e1400;if(_0x3eab56==null)return;const {unitId:_0x342c21,redoState:_0x532d0d,commandId:_0x112b23}=_0x3eab56;if(_0x342c21!==_0x48b469[_0x5dc317(0x241)])return;const _0x1a9001={'id':_0x112b23,'type':_0x34f2b0['CommandType'][_0x5dc317(0x22d)],'params':{'unitId':_0x342c21,'actions':_0x532d0d[_0x5dc317(0x213)],'textRanges':null}};_0x48b469[_0x5dc317(0x225)](_0x1a9001);});if(_0x48b469['disposeWithMe'](_0xfeb8b4),_0x48b469 instanceof _0x561334['DocCollaborationEntity']){const _0x9b5508={'onTransformIME':_0x43662f=>this['_docTransformIMECacheService']['transformIMECache'](_0x43662f),'onTransformState':_0x171867=>this[_0x2e1400(0x140)][_0x2e1400(0x2b6)](_0x171867),'onTransformSelections':_0x18cd6b=>this[_0x2e1400(0x1a9)][_0x2e1400(0x290)](_0x18cd6b),'onSyncEditingCollabCursor':_0x901462=>this[_0x2e1400(0x33a)][_0x2e1400(0x343)](_0x901462),'onTransformRemoteChangesetByIMECache':_0x186569=>this[_0x2e1400(0x169)][_0x2e1400(0x22c)](_0x186569),'onTransformRemoteChangesetByStateCache':_0x571e81=>this[_0x2e1400(0x140)][_0x2e1400(0x22c)](_0x571e81)};_0x48b469[_0x2e1400(0xfc)](_0x9b5508);}}));}};_0x1110c2=_0x7e44d1([_0x1545d5(0x0,_0x34f2b0[_0x53aa47(0x2c6)](_0x3487a2[_0x53aa47(0x18e)])),_0x1545d5(0x1,_0x34f2b0['Inject'](_0x561334[_0x53aa47(0x226)])),_0x1545d5(0x2,_0x34f2b0['Inject'](_0x326881)),_0x1545d5(0x3,_0x34f2b0[_0x53aa47(0x2c6)](_0x4addeb)),_0x1545d5(0x4,_0x34f2b0['Inject'](_0x4b7178)),_0x1545d5(0x5,_0x34f2b0[_0x53aa47(0x2c6)](_0x5d5e3c)),_0x1545d5(0x6,_0x2dc545['IMessageService']),_0x1545d5(0x7,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x1ef)]))],_0x1110c2);var _0xd770ca=Object[_0x53aa47(0x121)],_0x539e55=(_0xa082bf,_0x3fad46,_0x3cc58b,_0x2d8911)=>{const _0x28b3c7=_0x53aa47;for(var _0x2ed777=_0x2d8911>0x1?void 0x0:_0x2d8911?_0xd770ca(_0x3fad46,_0x3cc58b):_0x3fad46,_0x59b1ea=_0xa082bf[_0x28b3c7(0x28e)]-0x1,_0x9c1111;_0x59b1ea>=0x0;_0x59b1ea--)(_0x9c1111=_0xa082bf[_0x59b1ea])&&(_0x2ed777=_0x9c1111(_0x2ed777)||_0x2ed777);return _0x2ed777;},_0x3e2d1=(_0x3ef89f,_0x30fbd7)=>(_0x9f6879,_0x26a742)=>_0x30fbd7(_0x9f6879,_0x26a742,_0x3ef89f);let _0x2d5996=class extends _0x34f2b0['Disposable']{constructor(_0x238e8e,_0x1932f4,_0x4302e2){const _0x5a7dce=_0x53aa47;super(),_0x5e46bb(this,'_cachedData',new Map()),_0x5e46bb(this,'_saveTaskMap',new Map()),_0x5e46bb(this,'_disabled',!0x1),(this[_0x5a7dce(0x249)]=_0x238e8e,this['_localStorageService']=_0x1932f4,this[_0x5a7dce(0x200)]=_0x4302e2);}['disableLocalCache'](){const _0x43f010=_0x53aa47;this[_0x43f010(0xf7)]=!0x0;}[_0x53aa47(0x14d)](){const _0x25578b=_0x53aa47;this[_0x25578b(0xf7)]=!0x1;}get[_0x53aa47(0x1e8)](){const _0x53c6a3=_0x53aa47;return this[_0x53c6a3(0x2a9)];}[_0x53aa47(0x318)](){const _0x4caa5d=_0x53aa47;this[_0x4caa5d(0x2ab)]()[_0x4caa5d(0x2e5)](()=>super[_0x4caa5d(0x318)]());}async[_0x53aa47(0x32a)](_0x37e7c4){const _0x242634=_0x53aa47;return this[_0x242634(0xf7)]?null:this[_0x242634(0x352)][_0x242634(0x2b3)](_0x561334[_0x242634(0x1f0)](_0x37e7c4));}async[_0x53aa47(0x2d4)](_0x59af6d,_0x598de5){const _0x1aa052=_0x53aa47;return!!this[_0x1aa052(0x352)][_0x1aa052(0x271)](_0x59af6d,_0x598de5);}[_0x53aa47(0x2cc)](_0x1f9aa9,_0x5563fb,_0x1aa1ed,_0x489cc0){const _0x469e84=_0x53aa47,_0xda2fa0=this['_revisionService']['getCurrentRevOfUnit'](_0x1f9aa9);this[_0x469e84(0xd0)][_0x469e84(0x1fa)](_0x1f9aa9,{'unitID':_0x1f9aa9,'type':_0x5563fb,'awaitingChangeset':_0x1aa1ed,'mutations':_0x489cc0,'rev':_0xda2fa0}),this[_0x469e84(0x2a9)][_0x469e84(0x1be)](_0x1f9aa9)||this['_scheduleSaving'](_0x1f9aa9);}[_0x53aa47(0x32e)](_0x387ce7){const _0x280d78=_0x53aa47,_0x199111=this[_0x280d78(0x285)]();_0x199111===0x0?this[_0x280d78(0x17c)](_0x387ce7):this[_0x280d78(0x2a9)][_0x280d78(0x1fa)](_0x387ce7,setTimeout(()=>this[_0x280d78(0x17c)](_0x387ce7),_0x199111));}[_0x53aa47(0x285)](){const _0x28583e=_0x53aa47;var _0x37e410;return(_0x37e410=this['_configService'][_0x28583e(0xcb)](_0x561334['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x37e410:_0x561334[_0x28583e(0x32c)];}[_0x53aa47(0x17c)](_0x24c28d){const _0x489eb2=_0x53aa47,_0x1e9de8=this['_saveTaskMap'][_0x489eb2(0x238)](_0x24c28d);return _0x1e9de8!==void 0x0&&window['clearTimeout'](_0x1e9de8),this['_localStorageService'][_0x489eb2(0x271)](_0x561334[_0x489eb2(0x1f0)](_0x24c28d),this[_0x489eb2(0xd0)][_0x489eb2(0x238)](_0x24c28d))[_0x489eb2(0x2e5)](()=>this[_0x489eb2(0x2a9)][_0x489eb2(0x107)](_0x24c28d));}async[_0x53aa47(0x2ab)](){const _0x31ad5c=_0x53aa47,_0x5997e7=[];this[_0x31ad5c(0x2a9)][_0x31ad5c(0xe9)]((_0x6f185f,_0x459906)=>{const _0x3d714a=_0x31ad5c;window['clearTimeout'](_0x6f185f),_0x5997e7[_0x3d714a(0x218)](this['_saveCache'](_0x459906)[_0x3d714a(0x2e5)](()=>{const _0x3b6cf9=_0x3d714a;this[_0x3b6cf9(0x2a9)][_0x3b6cf9(0x107)](_0x459906);}));}),await Promise[_0x31ad5c(0x35a)](_0x5997e7);}};_0x2d5996=_0x539e55([_0x3e2d1(0x0,_0x34f2b0[_0x53aa47(0x1e6)]),_0x3e2d1(0x1,_0x34f2b0[_0x53aa47(0x2e7)]),_0x3e2d1(0x2,_0x34f2b0[_0x53aa47(0x2c6)](_0x2336f8[_0x53aa47(0xc0)]))],_0x2d5996);class _0x24c566 extends _0x34f2b0[_0x53aa47(0x2fb)]{constructor(){const _0x42bcd4=_0x53aa47;super(),_0x5e46bb(this,_0x42bcd4(0x151)),this['urlChange$']=_0x53d307[_0x42bcd4(0xdc)](window,_0x42bcd4(0xc2))[_0x42bcd4(0x147)](_0x53d307[_0x42bcd4(0x21b)](this[_0x42bcd4(0x2a0)]),_0x53d307[_0x42bcd4(0x184)](0x1),_0x53d307[_0x42bcd4(0x177)](void 0x0));}[_0x53aa47(0x16f)](_0x27c562,_0x170365,_0x2c3ec5=!0x1){const _0x1a508e=_0x53aa47,_0x1664d1=new URL(window[_0x1a508e(0x263)][_0x1a508e(0x266)]);_0x1664d1[_0x1a508e(0x1b5)][_0x1a508e(0x1fa)](_0x27c562,_0x170365),_0x2c3ec5?window['history'][_0x1a508e(0x1f5)]('','',_0x1664d1[_0x1a508e(0x264)]()):window[_0x1a508e(0xf9)][_0x1a508e(0x2fc)]('','',_0x1664d1['toString']());}[_0x53aa47(0x13e)](_0xb3ad47,_0x1af7a0=!0x1){const _0x3aad49=_0x53aa47,_0x34d65c=new URL(window[_0x3aad49(0x263)][_0x3aad49(0x266)]);_0x34d65c['searchParams'][_0x3aad49(0x107)](_0xb3ad47),_0x1af7a0?window[_0x3aad49(0xf9)]['replaceState']('','',_0x34d65c['toString']()):window[_0x3aad49(0xf9)][_0x3aad49(0x2fc)]('','',_0x34d65c[_0x3aad49(0x264)]());}[_0x53aa47(0x15a)](_0x5d08b6){const _0x2fb783=_0x53aa47;var _0x2c80e7;return(_0x2c80e7=new URL(window[_0x2fb783(0x263)][_0x2fb783(0x266)])[_0x2fb783(0x1b5)][_0x2fb783(0x238)](_0x5d08b6))!=null?_0x2c80e7:void 0x0;}}var _0x4ca6d5=Object['defineProperty'],_0x362fb0=Object['getOwnPropertyDescriptor'],_0x3fbf24=(_0x6287f5,_0x5a3cbb,_0x4fb72f)=>_0x5a3cbb in _0x6287f5?_0x4ca6d5(_0x6287f5,_0x5a3cbb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fb72f}):_0x6287f5[_0x5a3cbb]=_0x4fb72f,_0x288102=(_0x4700d5,_0x34a9f4,_0x1321d3,_0x123362)=>{const _0x19af5b=_0x53aa47;for(var _0x32ca13=_0x123362>0x1?void 0x0:_0x123362?_0x362fb0(_0x34a9f4,_0x1321d3):_0x34a9f4,_0x358f61=_0x4700d5[_0x19af5b(0x28e)]-0x1,_0x55ead2;_0x358f61>=0x0;_0x358f61--)(_0x55ead2=_0x4700d5[_0x358f61])&&(_0x32ca13=_0x55ead2(_0x32ca13)||_0x32ca13);return _0x32ca13;},_0x45e6a2=(_0x1aae7c,_0x5f1a4b)=>(_0x12f0b7,_0x1c376e)=>_0x5f1a4b(_0x12f0b7,_0x1c376e,_0x1aae7c),_0x226229=(_0x14422d,_0x426510,_0x5688c9)=>_0x3fbf24(_0x14422d,_0x426510+'',_0x5688c9);const _0x15ca78='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2ec00e['UniverCollaborationClientUIPlugin']=class extends _0x34f2b0[_0x53aa47(0xb3)]{constructor(_0x501212=_0x4b8552,_0x476cc2,_0x19aac8,_0x12f117){const _0x44b9d2=_0x53aa47;super(),this[_0x44b9d2(0x229)]=_0x501212,this['_renderManagerService']=_0x476cc2,this[_0x44b9d2(0x195)]=_0x19aac8,this[_0x44b9d2(0x249)]=_0x12f117;const {..._0x3d8889}=_0x34f2b0[_0x44b9d2(0x1d0)]({},_0x4b8552,this[_0x44b9d2(0x229)]);this[_0x44b9d2(0x249)]['setConfig'](_0x5b0163,_0x3d8889);}[_0x53aa47(0x1d1)](){const _0x21f991=_0x53aa47;this['_registerDependencies'](),this[_0x21f991(0x108)]();}[_0x53aa47(0xbe)](){const _0x434a84=_0x53aa47;this[_0x434a84(0x256)]();}[_0x53aa47(0x32f)](){const _0x9240ba=_0x53aa47;var _0x231050;const _0x4674be=[[_0x57ef26],[_0x4b7178],[_0x326881],[_0x4addeb],[_0x5d5e3c],[_0x58811b,{'useClass':_0x24c566}],[_0x64f4c9['ISocketService'],{'useClass':_0x64f4c9['WebSocketService']}],[_0x561334['ILocalCacheService'],{'useClass':_0x2d5996}],[_0x2ec00e[_0x9240ba(0x233)]],[_0x1110c2],[_0x173965],[_0x53c773],[_0x414baf],[_0x2ec00e[_0x9240ba(0x2be)]]];_0x34f2b0[_0x9240ba(0x347)](this[_0x9240ba(0x195)],_0x34f2b0['mergeOverrideWithDependencies'](_0x4674be,(_0x231050=this[_0x9240ba(0x229)])==null?void 0x0:_0x231050[_0x9240ba(0x30c)]));}['_registerRenderDependencies'](){const _0x49ea64=_0x53aa47;this[_0x49ea64(0x278)](this[_0x49ea64(0x1e4)][_0x49ea64(0x127)](_0x34f2b0[_0x49ea64(0x33e)][_0x49ea64(0x15c)],[_0x24ea13])),this[_0x49ea64(0x278)](this[_0x49ea64(0x1e4)][_0x49ea64(0x127)](_0x34f2b0[_0x49ea64(0x33e)][_0x49ea64(0x2c3)],[_0x352c16]));}[_0x53aa47(0x108)](){const _0x14fe4d=_0x53aa47;_0x34f2b0[_0x14fe4d(0x297)](this[_0x14fe4d(0x195)],[[_0x53c773],[_0x2ec00e[_0x14fe4d(0x233)]],[_0x1110c2],[_0x173965],[_0x2ec00e[_0x14fe4d(0x2be)]]]);}},_0x226229(_0x2ec00e[_0x53aa47(0x1ff)],_0x53aa47(0x2b7),_0x15ca78),_0x2ec00e['UniverCollaborationClientUIPlugin']=_0x288102([_0x34f2b0[_0x53aa47(0x21d)](_0x561334['UniverCollaborationClientPlugin']),_0x45e6a2(0x1,_0x1678e0[_0x53aa47(0x1b4)]),_0x45e6a2(0x2,_0x34f2b0['Inject'](_0x34f2b0[_0x53aa47(0x324)])),_0x45e6a2(0x3,_0x34f2b0[_0x53aa47(0x1e6)])],_0x2ec00e[_0x53aa47(0x1ff)]);var _0x442648=Object[_0x53aa47(0x121)],_0x55207c=(_0x114ec0,_0x495699,_0x78f5cd,_0x3bf74d)=>{for(var _0x3a139e=_0x3bf74d>0x1?void 0x0:_0x3bf74d?_0x442648(_0x495699,_0x78f5cd):_0x495699,_0x24cebd=_0x114ec0['length']-0x1,_0x4f68d7;_0x24cebd>=0x0;_0x24cebd--)(_0x4f68d7=_0x114ec0[_0x24cebd])&&(_0x3a139e=_0x4f68d7(_0x3a139e)||_0x3a139e);return _0x3a139e;},_0x6fc5f5=(_0x107447,_0x5a71a4)=>(_0x47cd07,_0x2288c9)=>_0x5a71a4(_0x47cd07,_0x2288c9,_0x107447);_0x2ec00e[_0x53aa47(0x2c1)]=class extends _0x561334[_0x53aa47(0x27e)]{constructor(_0x3708e8,_0x564a1f,_0x369e24,_0x51e1dc,_0x1f0d31){super(_0x3708e8,_0x564a1f,_0x369e24,_0x51e1dc,_0x1f0d31);}async[_0x53aa47(0x210)](_0x5e1feb){const _0x4a52ce=_0x53aa47,_0x3d33b4=await this[_0x4a52ce(0xca)](),_0x56cf63=this[_0x4a52ce(0x1c1)](_0x5e1feb,_0x3d33b4);return this['_doCreateSocket'](_0x56cf63);}[_0x53aa47(0x1c1)](_0x181c34,_0xee59a6){const _0x3863a1=_0x53aa47,_0x44aa07=typeof window>'u'?new URL(_0x181c34):new URL(_0x181c34,window[_0x3863a1(0x263)][_0x3863a1(0xea)]);_0x44aa07[_0x3863a1(0x1b5)][_0x3863a1(0x1fa)](_0x3863a1(0x211),_0xee59a6);const _0x2a7b6f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3863a1(0x263)][_0x3863a1(0x336)]);return _0x2a7b6f[_0x3863a1(0x238)](_0x3863a1(0x10a))&&_0x44aa07['searchParams'][_0x3863a1(0x1fa)](_0x3863a1(0x10a),_0x2a7b6f['get'](_0x3863a1(0x10a))),_0x44aa07[_0x3863a1(0x264)]();}async[_0x53aa47(0xca)](){const _0x41b091=_0x53aa47;var _0x38bdec,_0x3d2bd9,_0xc87fb4;const _0x11688c=this[_0x41b091(0x249)][_0x41b091(0xcb)](_0x561334[_0x41b091(0x129)]),_0x50f859=(_0x38bdec=_0x11688c==null?void 0x0:_0x11688c[_0x41b091(0x289)])!=null?_0x38bdec:_0x561334[_0x41b091(0x342)];return(_0xc87fb4=(_0x3d2bd9=(await this[_0x41b091(0x231)][_0x41b091(0x238)](_0x50f859,{'headers':{'Content-Type':_0x41b091(0x1b8)}}))[_0x41b091(0x34b)])==null?void 0x0:_0x3d2bd9[_0x41b091(0x21a)])!=null?_0xc87fb4:'';}},_0x2ec00e[_0x53aa47(0x2c1)]=_0x55207c([_0x6fc5f5(0x0,_0x34f2b0[_0x53aa47(0x2c6)](_0x34f2b0[_0x53aa47(0x324)])),_0x6fc5f5(0x1,_0x34f2b0[_0x53aa47(0x2c6)](_0x64f4c9[_0x53aa47(0xd7)])),_0x6fc5f5(0x2,_0x34f2b0[_0x53aa47(0x1e6)]),_0x6fc5f5(0x3,_0x34f2b0[_0x53aa47(0x219)]),_0x6fc5f5(0x4,_0x2336f8['ISnapshotServerService'])],_0x2ec00e[_0x53aa47(0x2c1)]);const _0x5d2670=0x7530,_0x597945=_0x53aa47(0x157);class _0x517d02 extends _0x34f2b0[_0x53aa47(0x12a)]{constructor(){const _0x723675=_0x53aa47;super(),_0x5e46bb(this,_0x723675(0x354),_0x34f2b0[_0x723675(0x31c)]()),_0x5e46bb(this,_0x723675(0x2a2),new Set()),_0x5e46bb(this,_0x723675(0x215),new Map()),_0x5e46bb(this,'_heartbeatTimer',null),_0x5e46bb(this,_0x723675(0x19c),new Map()),_0x5e46bb(this,'_unitStatus',new Map()),this['_init']();}[_0x53aa47(0x318)](){const _0x1563ff=_0x53aa47;super['dispose'](),this['_clearOtherTimers'][_0x1563ff(0xe9)]((_0x2cfb5a,_0x58f759)=>this[_0x1563ff(0x27c)](_0x58f759)),this[_0x1563ff(0x1ae)]&&window[_0x1563ff(0x28b)](this[_0x1563ff(0x1ae)]);}[_0x53aa47(0x172)](_0x1267dd){const _0x13ad2b=_0x53aa47;return this[_0x13ad2b(0x275)](_0x1267dd)[_0x13ad2b(0x147)](_0x53d307['distinctUntilChanged']());}[_0x53aa47(0x283)](_0x192d15){const _0x4fe305=_0x53aa47;this[_0x4fe305(0x2a2)][_0x4fe305(0x1b7)]===0x0&&this[_0x4fe305(0xe7)](),this['_selfUnitIDs']['add'](_0x192d15),this[_0x4fe305(0x300)]({'type':0x0,'memberID':this[_0x4fe305(0x354)],'unitIDs':[_0x192d15],'isForwarded':!0x1});}[_0x53aa47(0x337)](_0x95bc24){const _0x2b166b=_0x53aa47;this[_0x2b166b(0x2a2)][_0x2b166b(0x107)](_0x95bc24),this[_0x2b166b(0x2a2)]['size']===0x0&&this[_0x2b166b(0x1ae)]&&window[_0x2b166b(0x28b)](this[_0x2b166b(0x1ae)]);}[_0x53aa47(0x17f)](){const _0x4804f3=_0x53aa47;this[_0x4804f3(0x278)](_0x34f2b0[_0x4804f3(0x245)](_0x53d307[_0x4804f3(0xdc)](window,'storage')[_0x4804f3(0x18d)](_0x3a28e7=>{const _0x14d41f=_0x4804f3;if(_0x3a28e7['key']!==_0x597945||!_0x3a28e7[_0x14d41f(0x110)])return;const _0x30b0a2=JSON['parse'](_0x3a28e7['newValue']);this[_0x14d41f(0x207)](_0x30b0a2);}))),window['addEventListener'](_0x4804f3(0xd2),()=>this['_send']({'type':0x1,'memberID':this[_0x4804f3(0x354)],'unitIDs':Array[_0x4804f3(0x2cd)](this[_0x4804f3(0x2a2)])}));}[_0x53aa47(0x207)](_0x2a477f){const _0x31a88a=_0x53aa47;switch(_0x2a477f['type']){case 0x0:this[_0x31a88a(0x10f)](_0x2a477f);break;case 0x1:this[_0x31a88a(0x26e)](_0x2a477f);break;case 0x2:this[_0x31a88a(0x136)](_0x2a477f);break;}}[_0x53aa47(0x10f)](_0x347aec){const _0x52ad5b=_0x53aa47,{unitIDs:_0x38036e,memberID:_0x26faff,isForwarded:_0x333b12}=_0x347aec;_0x38036e[_0x52ad5b(0xe9)](_0x3fd3bd=>{const _0x49fb92=_0x52ad5b;if(!_0x333b12&&this[_0x49fb92(0x215)]['has'](_0x3fd3bd)&&this[_0x49fb92(0x275)](_0x3fd3bd)[_0x49fb92(0xeb)](_0x561334[_0x49fb92(0x19b)][_0x49fb92(0x2aa)]),!this[_0x49fb92(0x215)]['has'](_0x3fd3bd)||!this[_0x49fb92(0x215)][_0x49fb92(0x238)](_0x3fd3bd)['has'](_0x26faff)){const _0x44d4dd=this[_0x49fb92(0x215)][_0x49fb92(0x238)](_0x3fd3bd)||new Set();_0x44d4dd[_0x49fb92(0x31e)](_0x26faff),this['_unitOnClients'][_0x49fb92(0x1fa)](_0x3fd3bd,_0x44d4dd),this['_scheduleClearOtherTimer'](_0x26faff);}}),_0x333b12||this[_0x52ad5b(0x300)]({'type':0x0,'memberID':this[_0x52ad5b(0x354)],'unitIDs':[...this[_0x52ad5b(0x2a2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1165fa){const _0xc3c666=_0x53aa47;this[_0xc3c666(0x27c)](_0x1165fa);const _0x57d1cd=window[_0xc3c666(0x359)](()=>{const _0x3a4889=_0xc3c666;this[_0x3a4889(0x215)][_0x3a4889(0xe9)](_0x12a88e=>{const _0x39f486=_0x3a4889;_0x12a88e[_0x39f486(0x107)](_0x1165fa);});},_0x5d2670*0x2);this[_0xc3c666(0x19c)][_0xc3c666(0x1fa)](_0x1165fa,_0x57d1cd);}[_0x53aa47(0x27c)](_0x565709){const _0x18fcf9=_0x53aa47;if(this[_0x18fcf9(0x19c)][_0x18fcf9(0x1be)](_0x565709)){const _0x4cdfe8=this[_0x18fcf9(0x19c)]['get'](_0x565709);_0x4cdfe8&&window[_0x18fcf9(0x1da)](_0x4cdfe8),this[_0x18fcf9(0x19c)]['set'](_0x565709,null);}}[_0x53aa47(0x26e)](_0xd120d9){const _0x13bb6e=_0x53aa47,{memberID:_0xf1aa9f,unitIDs:_0x21a9e7}=_0xd120d9;_0x21a9e7[_0x13bb6e(0xe9)](_0x43fa37=>{const _0xf3bf8a=_0x13bb6e;var _0x25433e;const _0x315fbb=this['_unitOnClients'][_0xf3bf8a(0x238)](_0x43fa37);_0x315fbb&&(_0x315fbb['delete'](_0xf1aa9f),(_0x25433e=this['_ensureSubject'](_0x43fa37))==null||_0x25433e[_0xf3bf8a(0xeb)](_0x315fbb['size']===0x0?_0x561334[_0xf3bf8a(0x19b)][_0xf3bf8a(0x323)]:_0x561334[_0xf3bf8a(0x19b)]['OTHER_CLIENTS_EDITING']));}),this[_0x13bb6e(0x27c)](_0xf1aa9f);}[_0x53aa47(0x136)](_0x5a14e0){const _0x7b8518=_0x53aa47;this[_0x7b8518(0xde)](_0x5a14e0[_0x7b8518(0x221)]);}[_0x53aa47(0x300)](_0x2706c6){const _0x58d255=_0x53aa47;localStorage[_0x58d255(0x271)](_0x597945,JSON[_0x58d255(0x137)](_0x2706c6));}[_0x53aa47(0xe7)](){const _0x6a4ac3=_0x53aa47;this[_0x6a4ac3(0x1ae)]=window[_0x6a4ac3(0x2d6)](()=>{const _0x3efff3=_0x6a4ac3;this[_0x3efff3(0x300)]({'type':0x2,'memberID':this[_0x3efff3(0x354)]});},_0x5d2670);}['_ensureSubject'](_0x4cd131){const _0x212cfc=_0x53aa47;return this[_0x212cfc(0x1a4)][_0x212cfc(0x1be)](_0x4cd131)||this[_0x212cfc(0x1a4)][_0x212cfc(0x1fa)](_0x4cd131,new _0x53d307[(_0x212cfc(0x1f8))](_0x561334[_0x212cfc(0x19b)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x212cfc(0x1a4)][_0x212cfc(0x238)](_0x4cd131);}}var _0xe2bb6e=(_0xc75f0d=>(_0xc75f0d[_0xc75f0d[_0x53aa47(0x2e6)]=0x0]=_0x53aa47(0x2e6),_0xc75f0d[_0xc75f0d['OK']=0x1]='OK',_0xc75f0d[_0xc75f0d['INTERNAL_ERROR']=0x2]=_0x53aa47(0x2da),_0xc75f0d[_0xc75f0d[_0x53aa47(0xda)]=0x3]=_0x53aa47(0xda),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2e0)]=0x4]=_0x53aa47(0x2e0),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2dd)]=0x5]='UNAUTHENTICATED',_0xc75f0d[_0xc75f0d[_0x53aa47(0x1ba)]=0x6]=_0x53aa47(0x1ba),_0xc75f0d[_0xc75f0d[_0x53aa47(0x321)]=0x7]=_0x53aa47(0x321),_0xc75f0d[_0xc75f0d[_0x53aa47(0x216)]=0x8]='TOO_MANY_REQUESTS',_0xc75f0d[_0xc75f0d[_0x53aa47(0x1c2)]=0x9]='COMPLETION_FINISHED',_0xc75f0d[_0xc75f0d[_0x53aa47(0x239)]=0xa]=_0x53aa47(0x239),_0xc75f0d[_0xc75f0d[_0x53aa47(0x171)]=0xb]=_0x53aa47(0x171),_0xc75f0d[_0xc75f0d[_0x53aa47(0x199)]=0xc]=_0x53aa47(0x199),_0xc75f0d[_0xc75f0d[_0x53aa47(0x311)]=0xd]=_0x53aa47(0x311),_0xc75f0d[_0xc75f0d[_0x53aa47(0x13a)]=0xe]=_0x53aa47(0x13a),_0xc75f0d[_0xc75f0d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x53aa47(0x268),_0xc75f0d[_0xc75f0d[_0x53aa47(0x22a)]=0x1771]=_0x53aa47(0x22a),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1ea)]=0x1772]=_0x53aa47(0x1ea),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1a5)]=0x1773]=_0x53aa47(0x1a5),_0xc75f0d[_0xc75f0d[_0x53aa47(0xce)]=0x1b59]='APPLY_REJECT',_0xc75f0d[_0xc75f0d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x53aa47(0x250),_0xc75f0d[_0xc75f0d[_0x53aa47(0x346)]=0x1b5b]=_0x53aa47(0x346),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2f4)]=0x1b5c]=_0x53aa47(0x2f4),_0xc75f0d[_0xc75f0d['APPLY_DUPLICATED']=0x1b5d]=_0x53aa47(0x295),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2a7)]=0x1f41]=_0x53aa47(0x2a7),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1c4)]=0x2329]=_0x53aa47(0x1c4),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2f3)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xc75f0d[_0xc75f0d[_0x53aa47(0x335)]=0x232b]=_0x53aa47(0x335),_0xc75f0d[_0xc75f0d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x53aa47(0x104),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1a1)]=0x232d]=_0x53aa47(0x1a1),_0xc75f0d[_0xc75f0d[_0x53aa47(0x312)]=0x2711]=_0x53aa47(0x312),_0xc75f0d[_0xc75f0d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x53aa47(0xe1),_0xc75f0d[_0xc75f0d['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc75f0d[_0xc75f0d[_0x53aa47(0x186)]=0x2714]=_0x53aa47(0x186),_0xc75f0d[_0xc75f0d[_0x53aa47(0x222)]=0x271a]=_0x53aa47(0x222),_0xc75f0d[_0xc75f0d['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xc75f0d[_0xc75f0d['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xc75f0d[_0xc75f0d[_0x53aa47(0xb8)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xc75f0d[_0xc75f0d[_0x53aa47(0x2c8)]=0x271e]=_0x53aa47(0x2c8),_0xc75f0d[_0xc75f0d['YUUMI_AI_RUN_FAILED']=0x271f]=_0x53aa47(0x23d),_0xc75f0d[_0xc75f0d[_0x53aa47(0xd5)]=0x2720]=_0x53aa47(0xd5),_0xc75f0d[_0xc75f0d[_0x53aa47(0x1e5)]=0x2af9]=_0x53aa47(0x1e5),_0xc75f0d[_0xc75f0d[_0x53aa47(0x156)]=0x2ee1]=_0x53aa47(0x156),_0xc75f0d[_0xc75f0d[_0x53aa47(0x26b)]=0x2ee2]=_0x53aa47(0x26b),_0xc75f0d[_0xc75f0d[_0x53aa47(0x333)]=0x2ee3]=_0x53aa47(0x333),_0xc75f0d[_0xc75f0d[_0x53aa47(0x2e3)]=0x2ee4]=_0x53aa47(0x2e3),_0xc75f0d[_0xc75f0d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xc75f0d[_0xc75f0d[_0x53aa47(0x27a)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xc75f0d[_0xc75f0d[_0x53aa47(0x12e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc75f0d[_0xc75f0d[_0x53aa47(0x182)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xc75f0d[_0xc75f0d['UNRECOGNIZED']=-0x1]=_0x53aa47(0xbc),_0xc75f0d))(_0xe2bb6e||{}),_0x39014d=Object[_0x53aa47(0x121)],_0x4e1b6d=(_0x2a1aac,_0x1bfa58,_0x5e600e,_0x27a3b7)=>{const _0x89bd30=_0x53aa47;for(var _0x57cbac=_0x27a3b7>0x1?void 0x0:_0x27a3b7?_0x39014d(_0x1bfa58,_0x5e600e):_0x1bfa58,_0x1501d9=_0x2a1aac[_0x89bd30(0x28e)]-0x1,_0x4a4360;_0x1501d9>=0x0;_0x1501d9--)(_0x4a4360=_0x2a1aac[_0x1501d9])&&(_0x57cbac=_0x4a4360(_0x57cbac)||_0x57cbac);return _0x57cbac;},_0x4986f1=(_0x207735,_0x4e043f)=>(_0x302f3d,_0x157fba)=>_0x4e043f(_0x302f3d,_0x157fba,_0x207735);_0x2ec00e[_0x53aa47(0x246)]=class extends _0x34f2b0['Disposable']{constructor(_0x1f3d26,_0x2dc872,_0x1ad4ff){const _0x2da688=_0x53aa47;super(),this[_0x2da688(0x24f)]=_0x1f3d26,this[_0x2da688(0x231)]=_0x2dc872,this['_configService']=_0x1ad4ff;}async[_0x53aa47(0x1dc)](_0x4e2719,_0x3ecd5a,_0x2bb8ec,..._0x53fab8){const _0x8f2fd5=_0x53aa47;var _0x346ccd,_0x316ff5,_0x3db126,_0x1f9139;const _0x2fa122=this[_0x8f2fd5(0x24f)][_0x8f2fd5(0x185)]();if(!_0x2fa122)throw new Error(_0x8f2fd5(0x288));const _0x225634=((_0x346ccd=this['_configService']['getConfig'](_0x561334[_0x8f2fd5(0x244)]))!=null?_0x346ccd:_0x561334[_0x8f2fd5(0x126)])+'/'+_0x4e2719+'/run/'+_0x3ecd5a,_0x52d327=new URL(window[_0x8f2fd5(0x263)][_0x8f2fd5(0x266)]),_0x3f07c6={'scriptId':_0x4e2719,'runId':(_0x316ff5=_0x52d327['searchParams'][_0x8f2fd5(0x238)](_0x8f2fd5(0x10a)))!=null?_0x316ff5:'','function':_0x3ecd5a,'unitId':_0x2fa122[_0x8f2fd5(0x1fd)](),'argsOfFunction':JSON[_0x8f2fd5(0x137)](_0x53fab8),'invokeId':(_0x3db126=_0x2bb8ec[_0x8f2fd5(0x2bd)])!=null?_0x3db126:'','executionId':(_0x1f9139=_0x2bb8ec[_0x8f2fd5(0x188)])!=null?_0x1f9139:''};try{const _0x3682ca=await this[_0x8f2fd5(0x231)][_0x8f2fd5(0x1d9)](_0x225634,{'body':_0x3f07c6});return _0x3682ca[_0x8f2fd5(0x34b)][_0x8f2fd5(0x1a3)]&&_0x3682ca[_0x8f2fd5(0x34b)]['error']['code']!==_0xe2bb6e['OK']?_0x8f2fd5(0x301):_0x3682ca[_0x8f2fd5(0x34b)]['result'];}catch{return'Failed';}}},_0x2ec00e[_0x53aa47(0x246)]=_0x4e1b6d([_0x4986f1(0x0,_0x34f2b0[_0x53aa47(0x10d)]),_0x4986f1(0x1,_0x34f2b0['Inject'](_0x64f4c9[_0x53aa47(0xd7)])),_0x4986f1(0x2,_0x34f2b0[_0x53aa47(0x1e6)])],_0x2ec00e[_0x53aa47(0x246)]),_0x2ec00e[_0x53aa47(0x30a)]=_0x3946f6,_0x2ec00e[_0x53aa47(0x2ca)]=_0x58811b,_0x2ec00e[_0x53aa47(0x27b)]=_0x1f6b20,_0x2ec00e[_0x53aa47(0xf2)]=_0x517d02,_0x2ec00e['WebURLService']=_0x24c566,Object['defineProperty'](_0x2ec00e,Symbol[_0x53aa47(0x310)],{'value':_0x53aa47(0x316)});}));function _0x1190(){const _0x5605ee=['tag','some','RxDisposable','pushState','getRangePointData','height','UniverSheetsUi','_send','Failed','_initCommandExecutedListener','deepClone','subscribeEvent','handleDeleteRangeMoveLeft','roomMembers$','startColumn','CollaborationUIEventId','Optional','CollaborationStatusDisplay','25848BjkYZe','override','permission.content','currentTheme$','function','toStringTag','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_UNABLE_LOAD_URL','uni.network.url-service','_initResize','find','Module','DataLoaderService','dispose','@univerjs/sheets','_name','Error','generateRandomId','imageSourceType','add','restore','unshift','INVALID_ARGUMENT','trim','NO_OTHER_CLIENTS_EDITING','Injector','UniverDocsUi','fillRule','backgroundColor','UniverProCollaboration','_shapes','loadOfflineData','_getAnchorBounding','LOCAL_CACHE_INTERVAL','@univerjs/core','_scheduleSaving','_registerDependencies','_updateCollabCursors','source','endColumn','INVITE_CODE_REQUIRED','_assignedColors','LICENSE_IMPORT_SIZE_EXCEEDED','search','disposeUnit','rxjs','assign','_docSyncEditingCollabCursorService','collaboration.single-unit.warning','_roomMembers$','FETCH_MISS','UniverInstanceType','OnLineIcon','isTransformMutationFailure','@univerjs-pro/collaboration-client','DEFAULT_WS_SESSION_TICKET_URL','syncEditingCollabCursor','_anchorDot','getTypeOfUnitDisposed$','APPLY_REVISION_CONFILICT','registerDependencies','purple.300','CollaborationSessionService','_onRefRangeChange','body','SetDocZoomRatioOperation','hovered','getMemberID','_initStatusComponent','Unknown\x20user','UPDATE_CURSOR','_localStorageService','url(#$1','_id','_urlService','_collaborationUIEventService','_getSheetObject','bottom','setTimeout','all','setAlpha','getAncestorScale','Plugin','JOIN_ROOM_FAILED','m2Prime','operators','path','YUUMI_ALL_TABLES_IS_INVALID','7nLaFcz','TEXT_RANGE_LAYER_INDEX','transformMutation','UNRECOGNIZED','_cursorInfo$','onRendered','_univerInstanceService','RevisionService','handleInsertRangeMoveDown','popstate','_color','whenReady','_docStateChangeManagerService','registerComponent','_hideTimer','_online','_hover','_getSessionTicket','getConfig','@univerjs/ui','defIds','APPLY_REJECT','on-line-icon','_cachedData','InsertRangeMoveDownCommandId','unload','UniverCore','asObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','collabStatus.syncing','HTTPService','show','fill','PERMISSION_DENIED','none','fromEvent','startsWith','_scheduleClearOtherTimer','_collabSessionService','url(#on-line-icon_clip0_910_349)','YUUMI_URL_COL_OUT_OF_RANGE','_docClipboardService','useCallback','getTypeOfUnitAdded$','collab-client.tooltip.reconnect','measureText','_scheduleHeartbeat','FromArray','forEach','origin','next','init','M0\x200H16V16H0z','DeleteRangeMoveLeftCommandId','_transformPreviousActiveRange','session.will-retry','engine','WebBrowserSingleActiveUnitService','filter','sessionStatus$','getCellPositionByOffset','status$','_disabled','http://www.w3.org/2000/svg','history','_setupSubUnitSync','_initStatusListener','addHandlerCallback','symbol','params','_anchor','setShapeProps','_messageService','replace','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','blue.400','@univerjs/drawing','delete','_initDependencies','idSuffix','runId','collab-text-anchor-','eventID','IUniverInstanceService','getSheetId','_handleJoinEvent','newValue','ICommandService','registerBeforeClose','_syncEditingCollabCursorService','min','@univerjs/design','toRgbString','endRow','send','_sheetSkeletonManagerService','NOT_COLLAB','SetSelectionsOperation','_scene','getVpScrollXYInfoByPosToVp','off-line-icon','transformIMECache','setActiveRange','getOwnPropertyDescriptor','10BkBPVc','univer-mr-2\x20univer-flex\x20univer-text-xl','Rect','CLOSE_ROOM','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','registerRenderModule','getCurrentUnitForType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Disposable','_transformService','61587526IpkYYe','translate(.97)','MOBILE_HAS_BEEN_BOUND','clipPath','startRow','_cursor','getCoordByCell','collabStatus.synced','ITransformService','DocSelectionManagerService','_handleHeartbeatEvent','stringify','UniverSheets','transform','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOnline','DOC_RANGE_TYPE','fillText','removeParam','arc','_docTransformStateCacheService','textRanges','react','0\x200\x2016\x2016','IRemoteInstanceService','fillStyle','handleDeleteRangeMoveUp','pipe','with','_entities','loadUnit','MessageType','icon','enableLocalCache','className','_handleHover','_refreshCollabCursors','urlChange$','UniverEngineRender','AWAITING','substring','collabCursorState$','INVITE_CODE_HAS_BEEN_UES','ACTIVE_UNIT_EVENT_CHANNEL','propertyIsEnumerable','InsertColCommandId','getParam','column','UNIVER_DOC','univer-flex\x20univer-items-center','selections','colorChannel1','useDependency','getUniverSheetInstance','DeleteRangeMoveUpCommandId','fromEventSubject','603sqlfMZ','forwardRef','displayName','_eventUnsubscribe','_getScale','_docTransformIMECacheService','_memberService','_startSheetCollabCursor','mask','session.collaboration-timeout','beginPath','setParam','onMouseMove','MOBILE_VERIFY_CODE_MISMATCH','getUnitStatus$','switchMap','isEditing','CONFLICT','CollaborationStatus','mapTo','_context','doc.mutation.rich-text-editing','INotificationService','getCurrent','_saveCache','Rectangle','sheetId','_init','ranges','onPointerLeave$','EMAIL_HAS_BEEN_BOUND','@univerjs/engine-render','shareReplay','getFocusedUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','ONLINE','executionId','UniverUi','RichTextEditingMutation','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','div','subscribe','DocStateChangeManagerService','collabStatus.conflict','defs','red.300','_onCursorDelete','7084QLesnv','triggerDblclick','_injector','closePath','EffectRefRangId','8VkMZvy','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration-client-ui.config','UnitStatus','_clearOtherTimers','COLORS','_transformUndoRedoStack','transformByState','MoveRangeCommandId','LICENSE_DISTRO_REJECTED','data','error','_unitStatus','ENSURE_SNAPSHOT_EXECUTION','...','onCommandExecuted','Warning','_docTransformSelectionsService','currentColor','combineLatest','entityInit$','getDocRanges','_heartbeatTimer','_collabCursorState$','InsertRangeMoveRightCommandId','collaboration.closeRoom','type','getCollabCursors$','IRenderManagerService','searchParams','activeSheet$','size','application/json','_onCursorUpdate','ALREADY_EXISTS','_docSkeleton','_removeCollabCursors','SetTextSelectionsOperation','has','SheetSkeletonManagerService','onPointerEnter$','_createSocketURL','COMPLETION_FINISHED','_commandService','LICENSE_MAX_UNITS_EXCEEDED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','unitId','jsx','font','USERS_LEAVE','DisposableCollection','replaceDocRanges','save','off-line-icon_clip0_910_343','m1Prime','_localeService','merge','onStarting','@univerjs/rpc','_colorIndex','call','Vector2','_backgroundColor','max','_drawTextRange','post','clearTimeout','getColor','runOnServer','getOffsetConfig','concat','skeleton','_textBubble','getViewport','AWAITING_WITH_PENDING','color','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','IConfigService','DocSkeletonManagerService','saveTaskMap','_dataLoaderService','SNAPSHOT_HAS_BEEN_REMOVED','getMember','svg','_docSkeletonManagerService','getActiveSheet','LocaleService','getLocalCacheKey','unsubscribe','CollaborationEvent','UniverEngineFormula','MemberService','replaceState','_toggleOffline','_colorAssignService','BehaviorSubject','SUBMIT_CHANGESET_TIMEOUT','set','contains','event$','getUnitId','selection','UniverCollaborationClientUIPlugin','_revisionService','_startDocCollabCursor','_range','177064UVluxu','entries','Tools','_updateURLWithCurrentState','_handleEvent','debug','_lastPointer','white','makeDirty','getMergeData','63320TTQHCX','Subject','_transformHistoryAndStateStack','createSocket','sessionTicket','children','actions','registerRefRange','_unitOnClients','TOO_MANY_REQUESTS','_setupBeforeClosingHandler','push','ILogService','ticket','takeUntil','black','DependentOn','_updateLocalCursor','SheetsSelectionsService','IImageIoService','memberID','YUUMI_NO_CUBOID_FOR_QUESTION','isTransformMutationsWithChangesetSuccess','includes','onLocalMutation','CollaborationController','getRenderById','DocIMEInputManagerService','_config','SNAPSHOT_INVALID_SNAPSHOT','rxjs/operators','transformRemoteChangeset','MUTATION','complete','debounceTime','isActive','_httpService','React','DesktopCollaborationStatusDisplayController','_drawRectRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','InsertRowCommandId','@univerjs/sheets-ui','get','LOGIN_FAILED','hide','getRelativeToViewportCoord','Workbook','YUUMI_AI_RUN_FAILED','values','cursorInfo','amd','unitID','saveImage','UniverProCollaborationClientUi','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','toDisposable','RemoteUniscriptService','_draw','round','_configService','getSkeleton','_cursorShapes','_labelPosition','Shape','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','_instanceService','APPLY_NON_SEQUENTIAL_REVISION','OFFLINE','onPointerMove$','1em','throttleTime','drawWith','_registerRenderDependencies','use','apply','getCollabEntity$','ColorKit','moveTo','_entityInit$','useRef','executeCommand','_uiPartsService','top','extend','currentSkeleton$','location','toString','_cursors','href','addClipboardHook','CHANGESET_REVISION_CONFILICT','jsxs','_initEntityListener','INVALID_INVITE_CODE','_session','handleInsertRow','_handleLeaveEvent','VIEW_MAIN','_imageIoService','setItem','_render','5200280FDbPyL','IUIPartsService','_ensureSubject','_hovered','univerjs-icon\x20univerjs-icon-','disposeWithMe','string','WECHAT_HAS_BEEN_BOUND','SheetCollabCursorShape','_removeClearOtherTimer','serializeRangeWithSheet','CollaborationSocketService','getOwnPropertySymbols','on-line-icon_clip0_910_349','handleIRemoveRow','handleInsertRangeMoveRight','editingUnit','range','_getSaveTimeout','assignAColorForMemberID','getSheetBySheetId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','wsSessionTicketUrl','_beforeCloseService','clearInterval','_refRangeService','url(#off-line-icon_clip0_910_343)','length','UniverRpc','transformSelections','flatMap','_status$','rgba(255,\x20255,\x20255,\x200.01)','unit','APPLY_DUPLICATED','runRefRangeMutations','touchDependencies','handleMoveRange','indexOf','evenodd','ThemeService','onTransformChange$','OTHER_CLIENT_EDITING','_updateSubUnitFromURLParams','xlink:href','dispose$','SetWorksheetActivateCommand','_selfUnitIDs','@univerjs/docs','mutations','findNodePositionByCharIndex','@univerjs/engine-formula','CONNECTOR_DATA_TOO_LARGE','setUndoRedoMutationParamsCache','_saveTaskMap','OTHER_CLIENTS_EDITING','exhaustSavingTask','OffLineIcon','undoState','_drawAnchor','attrs','[CollaborationDataLoaderController]','createInstance','hasOwnProperty','getItem','@univerjs/docs-ui','name','transformStateCache','pluginName','IDocClipboardService','#FFF','row','isArray','clsx','invokeId','CollaborationDataLoaderController','3cwQvjK','getColorFromTheme','BrowserCollaborationSocketService','roomMembers','UNIVER_SHEET','requireSession','exports','Inject','RECT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setStateCache','IURLService','redoState','updateOfflineData','from','NodePositionConvertToCursor','TEXT','_collaborationController','useObservable','debounce','session.connection-failed','saveOfflineData','41908tyYzTb','setInterval','@univerjs-pro/collaboration','lineTo','SOCKET_FAILED_RETRY','INTERNAL_ERROR','subunit','addObject','UNAUTHENTICATED','text','@univerjs/network','NOT_FOUND','_themeService','_initEvent','USER_NOT_INVITED_CODE','_collabCursorController','then','UNDEFINED','ILocalStorageService','transformMutationsWithChangeset','split','map','4679148GFgpiP','width','cursorInfo$','collabStatus.notCollab','CollaborationUIEventService','NodePositionConvertToRectRange','RemoveColCommandId','prototype','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_PERMISSION_DENIED','RegularPolygon','SessionStatus','resize','_document'];_0x1190=function(){return _0x5605ee;};return _0x1190();}
|
|
1
|
+
(function(_0x4639a6,_0xa76a91){const _0x5775cc=_0x311b,_0x23fa14=_0x4639a6();while(!![]){try{const _0x2f8457=-parseInt(_0x5775cc(0x16e))/0x1+parseInt(_0x5775cc(0xa9))/0x2+-parseInt(_0x5775cc(0x149))/0x3*(parseInt(_0x5775cc(0x27d))/0x4)+parseInt(_0x5775cc(0x1ff))/0x5*(parseInt(_0x5775cc(0xad))/0x6)+-parseInt(_0x5775cc(0x2ec))/0x7+-parseInt(_0x5775cc(0x186))/0x8+-parseInt(_0x5775cc(0x24f))/0x9*(-parseInt(_0x5775cc(0x87))/0xa);if(_0x2f8457===_0xa76a91)break;else _0x23fa14['push'](_0x23fa14['shift']());}catch(_0x4eaa17){_0x23fa14['push'](_0x23fa14['shift']());}}}(_0x447e,0x8a5a4),function(_0x29072e,_0x360e88){const _0x1f25ba=_0x311b;typeof exports==_0x1f25ba(0x1a8)&&typeof module<'u'?_0x360e88(exports,require(_0x1f25ba(0x2ab)),require(_0x1f25ba(0x2de)),require(_0x1f25ba(0x1cc)),require(_0x1f25ba(0x164)),require('@univerjs/docs-ui'),require(_0x1f25ba(0x226)),require('rxjs'),require(_0x1f25ba(0xab)),require(_0x1f25ba(0x1a9)),require(_0x1f25ba(0x2fc)),require('@univerjs/sheets'),require(_0x1f25ba(0x8f)),require(_0x1f25ba(0x154)),require(_0x1f25ba(0x112)),require('@univerjs/ui'),require(_0x1f25ba(0x21a)),require('react'),require(_0x1f25ba(0x7d))):typeof define==_0x1f25ba(0x10d)&&define['amd']?define([_0x1f25ba(0x134),_0x1f25ba(0x2ab),'@univerjs/core',_0x1f25ba(0x1cc),_0x1f25ba(0x164),_0x1f25ba(0x288),_0x1f25ba(0x226),_0x1f25ba(0x266),_0x1f25ba(0xab),_0x1f25ba(0x1a9),'@univerjs/engine-formula',_0x1f25ba(0x118),_0x1f25ba(0x8f),'@univerjs/sheets-ui',_0x1f25ba(0x112),_0x1f25ba(0x169),_0x1f25ba(0x21a),'react','@univerjs/rpc'],_0x360e88):(_0x29072e=typeof globalThis<'u'?globalThis:_0x29072e||self,_0x360e88(_0x29072e['UniverProCollaborationClientUi']={},_0x29072e[_0x1f25ba(0x248)],_0x29072e[_0x1f25ba(0x176)],_0x29072e['UniverEngineRender'],_0x29072e[_0x1f25ba(0x1c0)],_0x29072e[_0x1f25ba(0x237)],_0x29072e[_0x1f25ba(0x85)],_0x29072e[_0x1f25ba(0x266)],_0x29072e[_0x1f25ba(0x265)],_0x29072e[_0x1f25ba(0x15b)],_0x29072e['UniverEngineFormula'],_0x29072e['UniverSheets'],_0x29072e[_0x1f25ba(0x266)][_0x1f25ba(0x108)],_0x29072e[_0x1f25ba(0x95)],_0x29072e[_0x1f25ba(0xf2)],_0x29072e['UniverUi'],_0x29072e[_0x1f25ba(0x2c5)],_0x29072e['React'],_0x29072e[_0x1f25ba(0x2c3)]));}(this,function(_0x1a2a0b,_0x16e438,_0x453cf1,_0xa264dd,_0x5df904,_0x608d4f,_0x5e7451,_0xbcaee6,_0x46cc83,_0x131474,_0x3121a8,_0x54fab8,_0x286514,_0x4d81f4,_0x20e32a,_0x34c313,_0x3dc756,_0x5d19d4,_0x56a822){'use strict';const _0x1b3cae=_0x311b;var _0x5480c1=Object[_0x1b3cae(0x21e)],_0x459087=(_0x12b69b,_0x49b879,_0x5e8d8d)=>_0x49b879 in _0x12b69b?_0x5480c1(_0x12b69b,_0x49b879,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e8d8d}):_0x12b69b[_0x49b879]=_0x5e8d8d,_0x347b87=(_0x426ed1,_0x55e25d,_0x57c6d3)=>_0x459087(_0x426ed1,typeof _0x55e25d!=_0x1b3cae(0x293)?_0x55e25d+'':_0x55e25d,_0x57c6d3),_0x196240=Object['getOwnPropertyDescriptor'],_0x4ebc38=(_0x17163d,_0xb021cd,_0xc72d7a,_0x4b3932)=>{const _0x58cda8=_0x1b3cae;for(var _0x174cb5=_0x4b3932>0x1?void 0x0:_0x4b3932?_0x196240(_0xb021cd,_0xc72d7a):_0xb021cd,_0x1851c0=_0x17163d[_0x58cda8(0x25b)]-0x1,_0x5cd830;_0x1851c0>=0x0;_0x1851c0--)(_0x5cd830=_0x17163d[_0x1851c0])&&(_0x174cb5=_0x5cd830(_0x174cb5)||_0x174cb5);return _0x174cb5;},_0x26d0b9=(_0x427ea8,_0x4af37f)=>(_0x55c367,_0x533264)=>_0x4af37f(_0x55c367,_0x533264,_0x427ea8);let _0x1f14ca=class extends _0x453cf1['RxDisposable']{constructor(_0x4cf6f5,_0x52569d){const _0x444c32=_0x1b3cae;super(),this['_docClipboardService']=_0x4cf6f5,this[_0x444c32(0x26c)]=_0x52569d,this[_0x444c32(0xff)]();}[_0x1b3cae(0xff)](){const _0x280b54=_0x1b3cae,_0x218977=this;this[_0x280b54(0x7a)](this['_docClipboardService'][_0x280b54(0x1a1)]({'onBeforePasteImage':async _0x32d1d0=>{const _0x1c072a=_0x280b54,_0x39c5a3=await _0x218977['_imageIoService']['saveImage'](_0x32d1d0);return _0x39c5a3?{'source':_0x39c5a3['source'],'imageSourceType':_0x39c5a3[_0x1c072a(0x1c6)]}:null;}}));}};_0x1f14ca=_0x4ebc38([_0x26d0b9(0x0,_0x608d4f[_0x1b3cae(0x252)]),_0x26d0b9(0x1,_0x5e7451[_0x1b3cae(0xb1)])],_0x1f14ca);const _0x438b90=[_0x1b3cae(0x18b),_0x1b3cae(0x2c7),'green.600',_0x1b3cae(0x1d2),_0x1b3cae(0xef),_0x1b3cae(0x17a)];class _0xd0f6e4 extends _0x453cf1[_0x1b3cae(0xb5)]{constructor(){const _0x14beb9=_0x1b3cae;super(...arguments),_0x347b87(this,'_assignedColors',new Map()),_0x347b87(this,_0x14beb9(0x8c),0x0);}[_0x1b3cae(0x1ac)](_0x38f38c){const _0x5c50bd=_0x1b3cae;if(this[_0x5c50bd(0x12f)][_0x5c50bd(0x22e)](_0x38f38c))return this[_0x5c50bd(0x12f)]['get'](_0x38f38c);const _0x47b865=_0x438b90[this['_colorIndex']];return this[_0x5c50bd(0x8c)]=(this[_0x5c50bd(0x8c)]+0x1)%_0x438b90[_0x5c50bd(0x25b)],this[_0x5c50bd(0x12f)]['set'](_0x38f38c,_0x47b865),_0x47b865;}}function _0x62182d(_0x17be69){const _0x58fd43=_0x1b3cae;let _0xf7e857='';for(const _0x3114f2 of _0x17be69){const {startOffset:_0x436608,endOffset:_0x21275c,isActive:_0x1a8b0f,rangeType:_0x412ba2,segmentId:_0x1b023d,segmentPage:_0x18c491}=_0x3114f2;_0xf7e857[_0x58fd43(0x25b)]&&(_0xf7e857+=','),_0xf7e857+=_0x436608+':'+_0x21275c+':'+(_0x1a8b0f?'1':'0')+':'+_0x412ba2+':'+_0x1b023d+':'+_0x18c491;}return _0xf7e857;}function _0x4f7b50(_0xc58488){const _0x591de4=_0x1b3cae,_0x4128e2=_0xc58488['split'](','),_0x12e7fc=[];for(const _0x4d2469 of _0x4128e2){const [_0xd119bf,_0x2f3604,_0x2e3d00,_0x2efc46,_0x5d8c1e,_0x209a8f]=_0x4d2469['split'](':');_0x12e7fc[_0x591de4(0x15a)]({'startOffset':Number(_0xd119bf),'endOffset':Number(_0x2f3604),'collapsed':_0xd119bf===_0x2f3604,'isActive':_0x2e3d00==='1','rangeType':_0x2efc46===_0x453cf1[_0x591de4(0x2a5)]['TEXT']?_0x453cf1[_0x591de4(0x2a5)][_0x591de4(0x7c)]:_0x453cf1[_0x591de4(0x2a5)][_0x591de4(0x26e)],'segmentId':typeof _0x5d8c1e==_0x591de4(0x15d)?String(_0x5d8c1e):'','segmentPage':Number(_0x209a8f!=null?_0x209a8f:-0x1)});}return _0x12e7fc['some'](_0x2a9e9f=>_0x2a9e9f['isActive'])||(_0x12e7fc[0x0][_0x591de4(0xd1)]=!0x0),_0x12e7fc;}class _0x2493dc extends _0x453cf1[_0x1b3cae(0x274)]{constructor(){const _0x42f56a=_0x1b3cae;super(...arguments),_0x347b87(this,_0x42f56a(0x1fb),new _0xbcaee6['BehaviorSubject'](null)),_0x347b87(this,'collabCursorState$',this[_0x42f56a(0x1fb)][_0x42f56a(0x133)]());}['syncEditingCollabCursor'](_0x5862b2){const _0x5cf781=_0x1b3cae,{unitID:_0x307003,memberID:_0x132f7a,textRanges:_0xdf7c78}=_0x5862b2,_0x2b716c=_0x62182d(_0xdf7c78);if(_0x2b716c==='')return;const _0x12f239={'unitID':_0x307003,'memberID':_0x132f7a,'selection':_0x2b716c};this[_0x5cf781(0x1fb)][_0x5cf781(0x290)](_0x12f239);}}var _0x1b78ea=Object[_0x1b3cae(0x16b)],_0x21761a=(_0x24c5a1,_0x1da443,_0x148f41,_0x4555f0)=>{for(var _0x508c4d=_0x4555f0>0x1?void 0x0:_0x4555f0?_0x1b78ea(_0x1da443,_0x148f41):_0x1da443,_0x35de9a=_0x24c5a1['length']-0x1,_0x5766da;_0x35de9a>=0x0;_0x35de9a--)(_0x5766da=_0x24c5a1[_0x35de9a])&&(_0x508c4d=_0x5766da(_0x508c4d)||_0x508c4d);return _0x508c4d;},_0x11f7c2=(_0x2cc3c2,_0x2b3281)=>(_0x13639d,_0x483004)=>_0x2b3281(_0x13639d,_0x483004,_0x2cc3c2);const _0xad5488=0x12c,_0x5c4236=0x64;let _0x1869ef=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x2ecae9,_0xdf60c4,_0x3a8d03,_0x13b07a,_0x5e37b5,_0x139cb4,_0x381d27,_0xb5c567,_0x155956){const _0x3710de=_0x1b3cae;super(),_0x347b87(this,_0x3710de(0x2e0),!0x1),_0x347b87(this,_0x3710de(0xff),!0x1),_0x347b87(this,'_cursorInfo$',new _0xbcaee6[(_0x3710de(0x26a))](new Map())),_0x347b87(this,'cursorInfo$',this[_0x3710de(0x2fd)][_0x3710de(0x133)]()),_0x347b87(this,_0x3710de(0x15c),new _0xbcaee6[(_0x3710de(0x26a))]([])),_0x347b87(this,_0x3710de(0x124),this[_0x3710de(0x15c)][_0x3710de(0x11d)](_0xbcaee6[_0x3710de(0xdf)](_0xad5488))),_0x347b87(this,_0x3710de(0xe9),_0x453cf1['debounce'](_0x5f58e=>{const _0x44a03f=_0x3710de,_0x3fba8e={'eventID':_0x46cc83[_0x44a03f(0x6b)][_0x44a03f(0x22c)],'data':{'unitID':this[_0x44a03f(0x2f9)],'memberID':this[_0x44a03f(0xba)][_0x44a03f(0xed)](),'selection':_0x62182d(_0x5f58e)}};this[_0x44a03f(0xba)]['send'](_0x3fba8e,this['unitID']);},_0x5c4236)),(this[_0x3710de(0x2f9)]=_0x2ecae9,this[_0x3710de(0xba)]=_0xdf60c4,this[_0x3710de(0xb3)]=_0x3a8d03,this['_colorAssignService']=_0x13b07a,this[_0x3710de(0x241)]=_0x5e37b5,this[_0x3710de(0x2cd)]=_0x139cb4,this[_0x3710de(0x1bc)]=_0x381d27,this[_0x3710de(0x200)]=_0xb5c567,this[_0x3710de(0x72)]=_0x155956);}get[_0x1b3cae(0xf0)](){const _0x168a93=_0x1b3cae;return this[_0x168a93(0x2fd)][_0x168a93(0x233)]();}get[_0x1b3cae(0x1e8)](){const _0x485bad=_0x1b3cae;return this[_0x485bad(0x15c)][_0x485bad(0x233)]();}['dispose'](){const _0x4801e7=_0x1b3cae;super['dispose'](),this[_0x4801e7(0x2fd)][_0x4801e7(0x290)](new Map()),this[_0x4801e7(0x2fd)][_0x4801e7(0x24d)](),this[_0x4801e7(0x15c)]['next']([]),this[_0x4801e7(0x15c)]['complete']();}[_0x1b3cae(0x2c1)](){const _0xe35265=_0x1b3cae;this[_0xe35265(0xff)]||(this[_0xe35265(0xff)]=!0x0,this[_0xe35265(0xba)][_0xe35265(0x8a)][_0xe35265(0x11d)](_0xbcaee6[_0xe35265(0x2f8)](this[_0xe35265(0x162)]))['subscribe'](_0x5e0386=>{const _0x5ee1dd=_0xe35265;_0x5e0386===_0x16e438[_0x5ee1dd(0x306)]['ONLINE']?this[_0x5ee1dd(0x2e6)]():this[_0x5ee1dd(0x107)]();}),this['_session'][_0xe35265(0x24e)]['pipe'](_0xbcaee6['takeUntil'](this[_0xe35265(0x162)]))[_0xe35265(0x1d0)](_0x176176=>{const _0x56c871=_0xe35265,_0x48f071=_0x176176[_0x56c871(0x192)];_0x48f071===_0x46cc83[_0x56c871(0x6b)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x176176),_0x48f071===_0x46cc83[_0x56c871(0x6b)][_0x56c871(0x130)]&&this[_0x56c871(0x10e)](_0x176176);}),this[_0xe35265(0x7a)](this['_commandService']['onCommandExecuted'](_0x1f324f=>{const _0x439c10=_0xe35265,_0x12118e=_0x1f324f[_0x439c10(0x2b7)];_0x12118e!=null&&this['_online']&&_0x1f324f['id']===_0x131474[_0x439c10(0x279)]['id']&&_0x12118e['unitId']===this[_0x439c10(0x2f9)]&&_0x12118e[_0x439c10(0x103)]===!0x1&&_0x12118e[_0x439c10(0x244)][_0x439c10(0x25b)]>0x0&&this[_0x439c10(0xe9)](_0x12118e['ranges']);})),this[_0xe35265(0x2cd)][_0xe35265(0x1ae)]['pipe'](_0xbcaee6['takeUntil'](this['dispose$']))[_0xe35265(0x1d0)](_0x29d618=>{const _0x3627ec=_0xe35265;if((_0x29d618==null?void 0x0:_0x29d618[_0x3627ec(0x2f9)])!==this['unitID'])return;const _0x5714cb={'eventID':_0x46cc83[_0x3627ec(0x6b)][_0x3627ec(0x22c)],'data':_0x29d618};this['_onCursorUpdate'](_0x5714cb);}),this[_0xe35265(0x7a)](this[_0xe35265(0x72)][_0xe35265(0x1fd)](_0x1d8c64=>{const _0x38a54e=_0xe35265;if(_0x1d8c64[_0x38a54e(0x2b7)]==null)return;const _0x1567df=_0x1d8c64[_0x38a54e(0x2b7)];if(_0x1d8c64['id']!==_0x131474['RichTextEditingMutation']['id']||_0x1567df[_0x38a54e(0xee)]!==this[_0x38a54e(0x2f9)])return;const _0x3506f3={'id':'doc.mutation.rich-text-editing','params':_0x1567df},_0x43f8fe=this[_0x38a54e(0xf0)];for(const [_0x2beb34,_0x327c6c]of _0x43f8fe){const _0x33956b={'id':_0x38a54e(0x9c),'params':{'unitId':this[_0x38a54e(0x2f9)],'actions':null,'textRanges':_0x327c6c[_0x38a54e(0x244)]}},_0x7be6b5=this[_0x38a54e(0x1bc)][_0x38a54e(0x225)](_0x3506f3,_0x33956b,!0x1);if(_0x46cc83[_0x38a54e(0xe2)](_0x7be6b5))throw _0x7be6b5[_0x38a54e(0x104)];_0x43f8fe[_0x38a54e(0x234)](_0x2beb34,{..._0x327c6c,'ranges':_0x7be6b5[_0x38a54e(0x2d9)][_0x38a54e(0x2b7)]['textRanges']});}queueMicrotask(()=>{const _0x37adb5=_0x38a54e;this[_0x37adb5(0x2fd)][_0x37adb5(0x290)](_0x43f8fe);});})));}[_0x1b3cae(0x170)](_0x2f03c7){const _0x40e2f5=_0x1b3cae;var _0x2755a4,_0x568bb6;const {memberID:_0x314100,selection:_0x61fc86}=_0x2f03c7[_0x40e2f5(0x207)],_0x1cb2e4=_0x4f7b50(_0x61fc86),_0x4adb25=(_0x568bb6=(_0x2755a4=this['_memberService'][_0x40e2f5(0x221)](this['unitID'],_0x314100))==null?void 0x0:_0x2755a4[_0x40e2f5(0x129)])!=null?_0x568bb6:_0x40e2f5(0xa5),_0x2e33b3={'color':this[_0x40e2f5(0x181)][_0x40e2f5(0x1ac)](_0x314100),'name':_0x4adb25,'ranges':_0x1cb2e4},_0x57a4fb=this[_0x40e2f5(0xf0)];_0x57a4fb['set'](_0x314100,_0x2e33b3),this[_0x40e2f5(0x2fd)][_0x40e2f5(0x290)](_0x57a4fb);}['_onCursorDelete'](_0x231896){const _0x5cd163=_0x1b3cae,{memberID:_0x5391c4}=_0x231896[_0x5cd163(0x207)],_0x386978=this['cursorInfo'];_0x386978[_0x5cd163(0xbf)](_0x5391c4),this['_cursorInfo$'][_0x5cd163(0x290)](_0x386978);}[_0x1b3cae(0x2e6)](){const _0x19364b=_0x1b3cae;var _0x145334;if(this[_0x19364b(0x2e0)]=!0x0,((_0x145334=this[_0x19364b(0x200)][_0x19364b(0xc0)]())==null?void 0x0:_0x145334['getUnitId']())!==this[_0x19364b(0x2f9)])return;const _0x29ac1d=this[_0x19364b(0xb3)]['get'](_0x131474[_0x19364b(0x2ad)])[_0x19364b(0x2dc)]();Array[_0x19364b(0x23d)](_0x29ac1d)&&_0x29ac1d[_0x19364b(0x25b)]>0x0&&this[_0x19364b(0xe9)](_0x29ac1d);}[_0x1b3cae(0x107)](){const _0x9aa118=_0x1b3cae;this[_0x9aa118(0x2e0)]=!0x1;}};_0x1869ef=_0x21761a([_0x11f7c2(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x11f7c2(0x3,_0x453cf1['Inject'](_0xd0f6e4)),_0x11f7c2(0x4,_0x453cf1['Inject'](_0x16e438[_0x1b3cae(0x179)])),_0x11f7c2(0x5,_0x453cf1['Inject'](_0x2493dc)),_0x11f7c2(0x6,_0x46cc83['ITransformService']),_0x11f7c2(0x7,_0x453cf1['IUniverInstanceService']),_0x11f7c2(0x8,_0x453cf1[_0x1b3cae(0x128)])],_0x1869ef);var _0x580336=Object['getOwnPropertyDescriptor'],_0x14d2ab=(_0x411f5b,_0x42d7fb,_0x1cf8ec,_0x5c4196)=>{for(var _0x14ca79=_0x5c4196>0x1?void 0x0:_0x5c4196?_0x580336(_0x42d7fb,_0x1cf8ec):_0x42d7fb,_0x4b0cf4=_0x411f5b['length']-0x1,_0x2b15ff;_0x4b0cf4>=0x0;_0x4b0cf4--)(_0x2b15ff=_0x411f5b[_0x4b0cf4])&&(_0x14ca79=_0x2b15ff(_0x14ca79)||_0x14ca79);return _0x14ca79;},_0x3f8291=(_0x19cdff,_0x3edae0)=>(_0x3865ad,_0x5e832d)=>_0x3edae0(_0x3865ad,_0x5e832d,_0x19cdff);const _0x313b57=0x12c,_0x2c7562=0x64,_0x926f71=()=>{let _0x27f5be=[],_0x5a19f9=!0x1;return _0x59d503=>{const _0x1119cd=_0x311b;_0x27f5be[_0x1119cd(0x15a)](_0x59d503),_0x5a19f9||(_0x5a19f9=!0x0,setTimeout(()=>{const _0x499e32=_0x1119cd;_0x27f5be[_0x499e32(0x2d0)](_0x475551=>_0x475551()),_0x27f5be=[],_0x5a19f9=!0x1;}));};};let _0x2d959d=class extends _0x453cf1['RxDisposable']{constructor(_0x450e99,_0x22eb7c,_0x1581a1,_0x48cd15,_0xbc88de,_0x3fa8b6,_0x474535,_0xb8029d){const _0x1e4948=_0x1b3cae;super(),_0x347b87(this,_0x1e4948(0x2e0),!0x1),_0x347b87(this,_0x1e4948(0xff),!0x1),_0x347b87(this,_0x1e4948(0x2fd),new _0xbcaee6[(_0x1e4948(0x26a))](new Map())),_0x347b87(this,_0x1e4948(0xda),this[_0x1e4948(0x2fd)]['asObservable']()),_0x347b87(this,'_roomMembers$',new _0xbcaee6[(_0x1e4948(0x26a))]([])),_0x347b87(this,_0x1e4948(0x124),this[_0x1e4948(0x15c)]['pipe'](_0xbcaee6[_0x1e4948(0xdf)](_0x313b57))),_0x347b87(this,'_updateLocalCursor',_0x453cf1['debounce']((_0x4fb35e,_0x324a99)=>{const _0x5143c1=_0x1e4948,_0x1acfeb={'eventID':_0x46cc83[_0x5143c1(0x6b)][_0x5143c1(0x22c)],'data':{'unitID':this[_0x5143c1(0x2f9)],'memberID':this['_session'][_0x5143c1(0xed)](),'selection':_0x3121a8['serializeRangeWithSheet'](_0x4fb35e,_0x324a99[_0x5143c1(0x1a2)])}};this['_session'][_0x5143c1(0x156)](_0x1acfeb,this[_0x5143c1(0x2f9)]);},_0x2c7562)),(this[_0x1e4948(0x2f9)]=_0x450e99,this[_0x1e4948(0xba)]=_0x22eb7c,this['_injector']=_0x1581a1,this['_colorAssignService']=_0x48cd15,this[_0x1e4948(0x241)]=_0xbc88de,this['_univerInstanceService']=_0x3fa8b6,this['_commandService']=_0x474535,this[_0x1e4948(0xdc)]=_0xb8029d);}get[_0x1b3cae(0xf0)](){const _0x3af489=_0x1b3cae;return this[_0x3af489(0x2fd)]['getValue']();}get['roomMembers'](){const _0x33eae5=_0x1b3cae;return this[_0x33eae5(0x15c)]['getValue']();}[_0x1b3cae(0x2d6)](){const _0x4bbf3d=_0x1b3cae;super[_0x4bbf3d(0x2d6)](),this['_cursorInfo$'][_0x4bbf3d(0x290)](new Map()),this[_0x4bbf3d(0x2fd)][_0x4bbf3d(0x24d)](),this[_0x4bbf3d(0x15c)][_0x4bbf3d(0x290)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x537045=_0x1b3cae;this[_0x537045(0xff)]||(this[_0x537045(0xff)]=!0x0,this[_0x537045(0xba)][_0x537045(0x8a)][_0x537045(0x11d)](_0xbcaee6['takeUntil'](this['dispose$']))[_0x537045(0x1d0)](_0xc9e7ef=>{const _0x1d3b0b=_0x537045;_0xc9e7ef===_0x16e438['SessionStatus'][_0x1d3b0b(0x17b)]?this[_0x1d3b0b(0x2e6)]():this[_0x1d3b0b(0x107)]();}),this[_0x537045(0xba)][_0x537045(0x24e)]['pipe'](_0xbcaee6[_0x537045(0x2f8)](this[_0x537045(0x162)]))['subscribe'](_0x3caabd=>{const _0x4e3ff7=_0x537045,_0x36735f=_0x3caabd['eventID'];_0x36735f===_0x46cc83['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3caabd),_0x36735f===_0x46cc83[_0x4e3ff7(0x6b)][_0x4e3ff7(0x130)]&&this['_onCursorDelete'](_0x3caabd);}),this[_0x537045(0x163)](),this[_0x537045(0x7a)](this[_0x537045(0x72)][_0x537045(0x1fd)](_0x238975=>{const _0x5110c4=_0x537045;if(this['_online']&&_0x238975['id']===_0x54fab8[_0x5110c4(0x131)]['id']&&_0x238975[_0x5110c4(0x2b7)][_0x5110c4(0xee)]===this['unitID']){const _0x47e22e=_0x238975[_0x5110c4(0x2b7)];this[_0x5110c4(0xe9)](_0x47e22e['subUnitId'],_0x47e22e[_0x5110c4(0x7e)][0x0]);}})));}[_0x1b3cae(0x170)](_0x12e8e5){const _0x58571a=_0x1b3cae;var _0x4210fe,_0xcfb3f3;const {memberID:_0x565e0e,selection:_0x4eb4c7}=_0x12e8e5[_0x58571a(0x207)],{sheetName:_0xfa28fd,range:_0x4f9026}=_0x3121a8['deserializeRangeWithSheet'](_0x4eb4c7),_0x1d9a83={'name':(_0xcfb3f3=(_0x4210fe=this[_0x58571a(0x241)]['getMember'](this[_0x58571a(0x2f9)],_0x565e0e))==null?void 0x0:_0x4210fe[_0x58571a(0x129)])!=null?_0xcfb3f3:_0x58571a(0xa5),'range':this[_0x58571a(0x89)](_0xfa28fd,_0x4f9026),'sheetID':_0xfa28fd,'color':this['_colorAssignService'][_0x58571a(0x1ac)](_0x565e0e),'selection':_0x4eb4c7},_0x4f285f=this[_0x58571a(0xf0)];_0x4f285f[_0x58571a(0x234)](_0x565e0e,_0x1d9a83),this['_cursorInfo$']['next'](_0x4f285f);}[_0x1b3cae(0x10e)](_0x2c98c8){const _0xd31f4b=_0x1b3cae,{memberID:_0x571c1e}=_0x2c98c8['data'],_0x31c36f=this[_0xd31f4b(0xf0)];_0x31c36f['delete'](_0x571c1e),this[_0xd31f4b(0x2fd)][_0xd31f4b(0x290)](_0x31c36f);}[_0x1b3cae(0x89)](_0xb060a2,_0x2ab1b9){const _0x33a30c=_0x1b3cae;var _0x339780,_0x2db5ae;const _0x35fc74=(_0x2db5ae=(_0x339780=this[_0x33a30c(0x200)][_0x33a30c(0x120)](this['unitID']))==null?void 0x0:_0x339780['getSheetBySheetId'](_0xb060a2))==null?void 0x0:_0x2db5ae[_0x33a30c(0x1ee)]();return(_0x35fc74==null?void 0x0:_0x35fc74[_0x33a30c(0x20b)](_0xf0a3e8=>_0x453cf1[_0x33a30c(0xcc)][_0x33a30c(0x1b3)](_0xf0a3e8,_0x2ab1b9)))||_0x2ab1b9;}['_onRefRangeChange'](){const _0x442435=_0x1b3cae,_0x3e9465=new _0x453cf1[(_0x442435(0x1a0))](),_0x40cd86=_0x926f71(),_0x4cb14b=()=>{const _0x2d76ff=_0x442435;_0x3e9465[_0x2d76ff(0x2d6)]();const _0x77d4b8=(_0x28510e,_0x126ee1,_0x19d462,_0x3b6ca9)=>{const _0x357a0c=_0x2d76ff;let _0x113871=[];switch(_0x28510e['id']){case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x2a2)]:{_0x113871=_0x54fab8[_0x357a0c(0x28d)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0xa2)]:{_0x113871=_0x54fab8[_0x357a0c(0x217)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x29e)]:{_0x113871=_0x54fab8['handleInsertCol'](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)]['InsertRangeMoveDownCommandId']:{_0x113871=_0x54fab8[_0x357a0c(0xf5)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x2be)]:{_0x113871=_0x54fab8[_0x357a0c(0x20e)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x20c)]:{_0x113871=_0x54fab8[_0x357a0c(0x2f1)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x2d7)]:{_0x113871=_0x54fab8[_0x357a0c(0x144)](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x1f0)]:{_0x113871=_0x54fab8['handleIRemoveCol'](_0x28510e,_0x3b6ca9);break;}case _0x54fab8[_0x357a0c(0x1f5)][_0x357a0c(0x6f)]:{_0x113871=_0x54fab8[_0x357a0c(0x291)](_0x28510e,_0x3b6ca9);break;}}const _0xcf216a=_0x54fab8['runRefRangeMutations'](_0x113871,_0x3b6ca9),_0x20fbd2=this[_0x357a0c(0xf0)][_0x357a0c(0x1b8)](_0x126ee1);if(_0x20fbd2&&_0xcf216a){const _0x2a25d5={..._0x20fbd2,'range':_0xcf216a};this[_0x357a0c(0xf0)][_0x357a0c(0x234)](_0x126ee1,_0x2a25d5),_0x40cd86(()=>{const _0x339438=_0x357a0c,_0x580ec6=this[_0x339438(0xdc)][_0x339438(0x2d8)](_0xcf216a,_0xb47f50=>(_0x580ec6[_0x339438(0x2d6)](),_0x77d4b8(_0xb47f50,_0x126ee1,_0x19d462,_0xcf216a)));_0x3e9465[_0x339438(0x210)](_0x580ec6);});}return{'redos':[],'undos':[]};};this[_0x2d76ff(0xf0)][_0x2d76ff(0x2d0)]((_0x1abbf8,_0x8cc2ed)=>{const _0x22ddc4=_0x2d76ff,{range:_0x36cecc,sheetID:_0x46ceeb}=_0x1abbf8,_0x183f86=this['_refRangeService'][_0x22ddc4(0x2d8)](_0x36cecc,_0xd45c05=>(_0x183f86['dispose'](),_0x77d4b8(_0xd45c05,_0x8cc2ed,_0x46ceeb,_0x36cecc)));_0x3e9465['add'](_0x183f86);});};this[_0x442435(0x7a)](_0x453cf1['toDisposable'](this[_0x442435(0x2fd)]['subscribe'](()=>{_0x4cb14b();})));}['_toggleOnline'](){const _0x542aef=_0x1b3cae;var _0x7219d,_0x21957b;if(this[_0x542aef(0x2e0)]=!0x0,((_0x7219d=this[_0x542aef(0x200)][_0x542aef(0xc0)]())==null?void 0x0:_0x7219d['getUnitId']())!==this['unitID'])return;const _0x2c72ce=(_0x21957b=this['_injector'][_0x542aef(0x1b8)](_0x54fab8[_0x542aef(0x1ed)])[_0x542aef(0x14c)]())==null?void 0x0:_0x21957b[0x0],_0x3c659b=this['_univerInstanceService']['getCurrentUnitForType'](_0x453cf1[_0x542aef(0x270)][_0x542aef(0xbe)])[_0x542aef(0x14f)]();_0x2c72ce&&_0x3c659b&&this[_0x542aef(0xe9)](_0x3c659b[_0x542aef(0x17c)](),_0x2c72ce);}['_toggleOffline'](){const _0x39a282=_0x1b3cae;this[_0x39a282(0x2e0)]=!0x1;}};_0x2d959d=_0x14d2ab([_0x3f8291(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x3f8291(0x3,_0x453cf1[_0x1b3cae(0xea)](_0xd0f6e4)),_0x3f8291(0x4,_0x453cf1[_0x1b3cae(0xea)](_0x16e438[_0x1b3cae(0x179)])),_0x3f8291(0x5,_0x453cf1['IUniverInstanceService']),_0x3f8291(0x6,_0x453cf1['ICommandService']),_0x3f8291(0x7,_0x453cf1[_0x1b3cae(0xea)](_0x54fab8[_0x1b3cae(0x214)]))],_0x2d959d);var _0x10c87c=Object['getOwnPropertyDescriptor'],_0x57d770=(_0x12bf04,_0x5b7137,_0x2b1771,_0x4d0d09)=>{for(var _0x17c305=_0x4d0d09>0x1?void 0x0:_0x4d0d09?_0x10c87c(_0x5b7137,_0x2b1771):_0x5b7137,_0x32c3c1=_0x12bf04['length']-0x1,_0x193adc;_0x32c3c1>=0x0;_0x32c3c1--)(_0x193adc=_0x12bf04[_0x32c3c1])&&(_0x17c305=_0x193adc(_0x17c305)||_0x17c305);return _0x17c305;},_0x2fe33f=(_0x508fd4,_0x866850)=>(_0x474d5a,_0x35a38e)=>_0x866850(_0x474d5a,_0x35a38e,_0x508fd4);let _0x40540a=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x97790a,_0x33e524,_0x579254){const _0x297a0e=_0x1b3cae;super(),_0x347b87(this,_0x297a0e(0xc1),new Map()),_0x347b87(this,_0x297a0e(0x1aa),new _0xbcaee6['Subject']()),(this[_0x297a0e(0x200)]=_0x97790a,this[_0x297a0e(0xb3)]=_0x33e524,this[_0x297a0e(0x1ca)]=_0x579254,this[_0x297a0e(0xff)]());}[_0x1b3cae(0x2d6)](){const _0x30add2=_0x1b3cae;super[_0x30add2(0x2d6)](),this[_0x30add2(0x1aa)][_0x30add2(0x24d)](),this[_0x30add2(0xc1)][_0x30add2(0x2d0)](_0x44a4c2=>_0x44a4c2[_0x30add2(0x2d6)]());}[_0x1b3cae(0x16a)](_0x31e7ed){const _0x23059c=_0x1b3cae;return this['_entities'][_0x23059c(0x22e)](_0x31e7ed)?this[_0x23059c(0xc1)]['get'](_0x31e7ed)[_0x23059c(0xda)]:this['_entityInit$']['pipe'](_0xbcaee6[_0x23059c(0x13e)](_0x16091c=>_0x16091c[_0x23059c(0x2f9)]===_0x31e7ed),_0xbcaee6[_0x23059c(0x2c9)](_0x5eb24e=>_0x5eb24e['cursorInfo$']));}[_0x1b3cae(0xff)](){const _0x21ec8f=_0x1b3cae;this[_0x21ec8f(0x200)][_0x21ec8f(0x14e)](_0x453cf1[_0x21ec8f(0x270)]['UNIVER_SHEET'])[_0x21ec8f(0x11d)](_0xbcaee6[_0x21ec8f(0x2f8)](this[_0x21ec8f(0x162)]))['subscribe'](async _0x2d059d=>{const _0x19b594=_0x21ec8f,_0x391d5c=_0x2d059d[_0x19b594(0x13d)](),_0x14dc7e=await this[_0x19b594(0x19f)](_0x391d5c);this[_0x19b594(0x1aa)][_0x19b594(0x290)](_0x14dc7e),this[_0x19b594(0xc1)][_0x19b594(0x234)](_0x391d5c,_0x14dc7e);}),this[_0x21ec8f(0x200)][_0x21ec8f(0x14e)](_0x453cf1['UniverInstanceType'][_0x21ec8f(0x2c2)])[_0x21ec8f(0x11d)](_0xbcaee6[_0x21ec8f(0x2f8)](this[_0x21ec8f(0x162)]))[_0x21ec8f(0x11d)](_0xbcaee6[_0x21ec8f(0x13e)](_0x9c87b8=>!_0x9c87b8[_0x21ec8f(0x13d)]()[_0x21ec8f(0x2a8)]('__')))[_0x21ec8f(0x1d0)](async _0x2685af=>{const _0x1f06f8=_0x21ec8f,_0x88599=_0x2685af[_0x1f06f8(0x13d)](),_0x9267ac=await this[_0x1f06f8(0x27c)](_0x88599);this['_entityInit$'][_0x1f06f8(0x290)](_0x9267ac),this[_0x1f06f8(0xc1)]['set'](_0x88599,_0x9267ac);}),_0xbcaee6[_0x21ec8f(0xc6)](this[_0x21ec8f(0x200)][_0x21ec8f(0xd7)](_0x453cf1[_0x21ec8f(0x270)]['UNIVER_DOC']),this[_0x21ec8f(0x200)][_0x21ec8f(0xd7)](_0x453cf1[_0x21ec8f(0x270)]['UNIVER_SHEET']))[_0x21ec8f(0x11d)](_0xbcaee6['takeUntil'](this[_0x21ec8f(0x162)]))[_0x21ec8f(0x1d0)](_0x119aa9=>{const _0x330b45=_0x21ec8f,_0x1f9dbf=_0x119aa9[_0x330b45(0x13d)](),_0xc3ca54=this['_entities'][_0x330b45(0x1b8)](_0x1f9dbf);_0xc3ca54&&(_0xc3ca54[_0x330b45(0x2d6)](),this['_entities'][_0x330b45(0xbf)](_0x1f9dbf));});}async[_0x1b3cae(0x19f)](_0x240185){const _0x5af060=_0x1b3cae,_0x507521=await this[_0x5af060(0x1ca)][_0x5af060(0x2c8)](_0x240185),_0x225a8c=this[_0x5af060(0xb3)]['createInstance'](_0x2d959d,_0x240185,_0x507521);return _0x225a8c['init'](),_0x225a8c;}async[_0x1b3cae(0x27c)](_0x1c813a){const _0x4eee82=_0x1b3cae,_0x5b1f0f=await this[_0x4eee82(0x1ca)]['requireSession'](_0x1c813a),_0x2c64eb=this[_0x4eee82(0xb3)][_0x4eee82(0x150)](_0x1869ef,_0x1c813a,_0x5b1f0f);return _0x2c64eb[_0x4eee82(0x2c1)](),_0x2c64eb;}};_0x40540a=_0x57d770([_0x2fe33f(0x0,_0x453cf1[_0x1b3cae(0x1e7)]),_0x2fe33f(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x2fe33f(0x2,_0x453cf1['Inject'](_0x16e438[_0x1b3cae(0x83)]))],_0x40540a);const _0x4ade4c=0x14,_0x1b12bd=0xc8,_0x4bf5b2=0x4,_0x1bc560=0x5;function _0x4a7d2e(_0x104581,_0x22aca6){const _0x1e3623=_0x1b3cae;let {radius:_0x4c322c,width:_0x285e59,height:_0x9a37ec}=_0x22aca6;_0x4c322c=_0x4c322c!=null?_0x4c322c:0x0,_0x285e59=_0x285e59!=null?_0x285e59:0x1e,_0x9a37ec=_0x9a37ec!=null?_0x9a37ec:0x1e;let _0x22c200=0x0,_0x35cc38=0x0,_0x28b05c=0x0;_0x22c200=_0x35cc38=_0x28b05c=Math['min'](_0x4c322c,_0x285e59/0x2,_0x9a37ec/0x2),_0x104581[_0x1e3623(0x99)](),_0x104581[_0x1e3623(0x198)](_0x22c200,0x0),_0x104581[_0x1e3623(0x29b)](_0x285e59-_0x35cc38,0x0),_0x104581[_0x1e3623(0x90)](_0x285e59-_0x35cc38,_0x35cc38,_0x35cc38,Math['PI']*0x3/0x2,0x0,!0x1),_0x104581[_0x1e3623(0x29b)](_0x285e59,_0x9a37ec-_0x28b05c),_0x104581['arc'](_0x285e59-_0x28b05c,_0x9a37ec-_0x28b05c,_0x28b05c,0x0,Math['PI']/0x2,!0x1),_0x104581[_0x1e3623(0x29b)](0x0,_0x9a37ec),_0x104581[_0x1e3623(0x29b)](0x0,_0x22c200),_0x104581[_0x1e3623(0x90)](_0x22c200,_0x22c200,_0x22c200,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x104581['closePath'](),_0x22aca6[_0x1e3623(0xcb)]&&(_0x104581[_0x1e3623(0x2fb)](),_0x104581[_0x1e3623(0x2ea)]=_0x22aca6[_0x1e3623(0xcb)],_0x22aca6[_0x1e3623(0x94)]===_0x1e3623(0xaf)?_0x104581[_0x1e3623(0xcb)](_0x1e3623(0xaf)):_0x104581['fill'](),_0x104581[_0x1e3623(0x20d)]());}class _0x47e749 extends _0xa264dd[_0x1b3cae(0x223)]{constructor(_0x23deb3,_0x5755c2){const _0x435838=_0x1b3cae;super(_0x23deb3,_0x5755c2),_0x347b87(this,_0x435838(0x1b1)),_0x347b87(this,_0x435838(0x286)),(this[_0x435838(0x1b1)]=_0x5755c2==null?void 0x0:_0x5755c2[_0x435838(0x1b1)],this[_0x435838(0x286)]=_0x5755c2==null?void 0x0:_0x5755c2[_0x435838(0x286)]);}static[_0x1b3cae(0x23c)](_0x2ae6be,_0xfb987b){const _0x21fd8e=_0x1b3cae,{text:_0x342b25,color:_0x2ebc87}=_0xfb987b;_0x2ae6be[_0x21fd8e(0x2fb)](),_0x2ae6be['font']=_0x21fd8e(0x2b8);const _0x4f1536=_0x2ae6be[_0x21fd8e(0x1ba)](_0x342b25)['width'],_0x5d2a13=Math['min'](_0x4f1536+0x2*_0x4bf5b2,_0x1b12bd);_0x4a7d2e(_0x2ae6be,{'height':_0x4ade4c,'radius':0x4,'width':_0x5d2a13,'fill':_0x2ebc87}),_0x2ae6be[_0x21fd8e(0x2ea)]=_0x21fd8e(0x9f);const _0x2630ff=_0x4bf5b2,_0x1ccb64=_0x4ade4c-_0x1bc560,_0x5da009=_0x1b12bd-0x2*_0x4bf5b2;if(_0x4f1536>_0x5da009){let _0xeb65d5='',_0x351421=0x0;for(const _0x129e8b of _0x342b25){const _0x19ae1f=_0x2ae6be[_0x21fd8e(0x1ba)](_0x129e8b)['width'];if(_0x351421+_0x19ae1f<=_0x5da009-_0x2ae6be[_0x21fd8e(0x1ba)](_0x21fd8e(0x1ce))[_0x21fd8e(0x251)])_0xeb65d5+=_0x129e8b,_0x351421+=_0x19ae1f;else{_0xeb65d5+=_0x21fd8e(0x1ce);break;}}_0x2ae6be[_0x21fd8e(0x10c)](_0xeb65d5,_0x2630ff,_0x1ccb64);}else _0x2ae6be[_0x21fd8e(0x10c)](_0x342b25,_0x2630ff,_0x1ccb64);_0x2ae6be[_0x21fd8e(0x20d)]();}['_draw'](_0x57edff){_0x47e749['drawWith'](_0x57edff,this);}}const _0x4f0a99=_0x1b3cae(0xd5),_0x2cf135=_0x1b3cae(0x29d),_0x1ac798=_0x1b3cae(0x272),_0x3a7509=0x6,_0x560f0f=1.5,_0x68336=0x4,_0x4ee297=1.5,_0x51f21c=_0x1b3cae(0x11a);class _0xf4fa01{constructor(_0x4b2b93,_0x29ad5f,_0xb74f2c,_0x17b981){const _0x2c2467=_0x1b3cae;_0x347b87(this,_0x2c2467(0x21f),[]),_0x347b87(this,_0x2c2467(0xf1),null),_0x347b87(this,_0x2c2467(0x1df),null),_0x347b87(this,_0x2c2467(0x283),null),_0x347b87(this,_0x2c2467(0x193),null),_0x347b87(this,_0x2c2467(0x26d),null),(this[_0x2c2467(0x10f)]=_0x4b2b93,this[_0x2c2467(0x1a7)]=_0x29ad5f,this['_docSkeleton']=_0xb74f2c,this[_0x2c2467(0x1d9)]=_0x17b981,this[_0x2c2467(0x106)]());}set[_0x1b3cae(0x1db)](_0x4cafcb){const _0x219cd9=_0x1b3cae;_0x4cafcb?(this[_0x219cd9(0x283)]&&this[_0x219cd9(0x283)]['hide'](),this[_0x219cd9(0x1df)]&&this['_textBubble']['show']()):(this[_0x219cd9(0x283)]&&this['_anchorDot'][_0x219cd9(0xdb)](),this['_textBubble']&&this[_0x219cd9(0x1df)][_0x219cd9(0xbc)]());}[_0x1b3cae(0x2d6)](){const _0x12f027=_0x1b3cae;for(const _0x547cdc of this['_shapes'])_0x547cdc['dispose']();this[_0x12f027(0x1df)]&&this[_0x12f027(0x1df)][_0x12f027(0x2d6)](),this[_0x12f027(0x283)]&&this[_0x12f027(0x283)][_0x12f027(0x2d6)](),this[_0x12f027(0xf1)]&&this[_0x12f027(0xf1)][_0x12f027(0x2d6)](),this[_0x12f027(0x26d)]&&this[_0x12f027(0x26d)]();}[_0x1b3cae(0x106)](){const _0x216507=_0x1b3cae;var _0x538052;const {_docSkeleton:_0x3a7ddc,_document:_0x35d581}=this,{color:_0x25c051,name:_0x3d482b,ranges:_0x2281c1}=this[_0x216507(0x10f)],_0x39cbf5=_0x35d581[_0x216507(0x22a)](),{docsLeft:_0x48c1ac,docsTop:_0x4eb0cf}=_0x39cbf5,_0x5c16a9=new _0x608d4f[(_0x216507(0x212))](_0x39cbf5,_0x3a7ddc);for(const {startOffset:_0x2cb444,endOffset:_0x42517c,rangeType:_0x1d96d9,segmentId:_0xe58394,segmentPage:_0x1205cf,collapsed:_0x5ee0a6,isActive:_0x1b38e6}of _0x2281c1){const _0x38fe14=_0x3a7ddc['findNodePositionByCharIndex'](_0x2cb444,!0x0,_0xe58394,_0x1205cf);let _0xa9e92b=_0x3a7ddc[_0x216507(0x1a3)](_0x42517c,!0x0,_0xe58394,_0x1205cf);if(_0xa9e92b==null&&(_0xa9e92b=_0x3a7ddc[_0x216507(0x1a3)](_0x42517c-0x1,!0x1,_0xe58394,_0x1205cf)),_0x1b38e6){const {contentBoxPointGroup:_0x4e1721}=_0x5c16a9[_0x216507(0x1d4)](_0xa9e92b,_0xa9e92b);if(_0x4e1721['length']===0x0)continue;this[_0x216507(0x6c)](_0x25c051,_0x4e1721,_0x48c1ac,_0x4eb0cf,_0x3d482b),this['_eventUnsubscribe']=this[_0x216507(0x249)]();}if(_0x38fe14&&_0xa9e92b){if(_0x1d96d9===_0x453cf1[_0x216507(0x2a5)][_0x216507(0x26e)]){const _0x582cf7=new _0x608d4f[(_0x216507(0x240))](_0x39cbf5,_0x3a7ddc),{pointGroup:_0x356450}=(_0x538052=_0x582cf7[_0x216507(0x1d4)](_0x38fe14,_0xa9e92b))!=null?_0x538052:{};if(_0x356450==null||_0x356450[_0x216507(0x25b)]===0x0)continue;this[_0x216507(0x2db)](_0x25c051,_0x356450,_0x48c1ac,_0x4eb0cf);}else{if(!_0x5ee0a6){const {borderBoxPointGroup:_0x1c1187}=_0x5c16a9[_0x216507(0x1d4)](_0x38fe14,_0xa9e92b);if(_0x1c1187[_0x216507(0x25b)]===0x0)continue;this[_0x216507(0x167)](_0x25c051,_0x1c1187,_0x48c1ac,_0x4eb0cf);}}}}}[_0x1b3cae(0x6c)](_0x34686f,_0x42213f,_0xa1e76b,_0x1a6ed4,_0x17de67){const _0x343f21=_0x1b3cae,_0x53d632=this[_0x343f21(0xf8)](_0x42213f),{left:_0x35cd81,top:_0x1a6169,height:_0xa5d09b}=_0x53d632,_0x2ca946=this[_0x343f21(0x303)](),_0x3cd355=_0x4ee297/_0x2ca946,_0x7d94f7=new _0xa264dd[(_0x343f21(0x1c3))](_0x4f0a99+_0x453cf1[_0x343f21(0x1e0)][_0x343f21(0x229)](_0x3a7509),{'left':_0x35cd81+_0xa1e76b-_0x3cd355,'top':_0x1a6169+_0x1a6ed4,'height':_0xa5d09b,'width':_0x560f0f,'fill':_0x34686f||_0xa264dd[_0x343f21(0x97)](_0x453cf1['COLORS'][_0x343f21(0x6a)],0x0),'strokeWidth':_0x3cd355,'stroke':_0x51f21c,'evented':!0x0});this[_0x343f21(0xf1)]=_0x7d94f7,this[_0x343f21(0x1a7)][_0x343f21(0xfe)](_0x7d94f7,_0x608d4f[_0x343f21(0x1fa)]);const _0x4c8758=new _0xa264dd[(_0x343f21(0x1c3))](_0x4f0a99+_0x453cf1[_0x343f21(0x1e0)][_0x343f21(0x229)](_0x3a7509),{'left':_0x35cd81+_0xa1e76b-_0x3cd355,'top':_0x1a6169+_0x1a6ed4-_0x68336/0x2,'height':_0x68336,'width':_0x68336,'fill':_0x34686f||_0xa264dd[_0x343f21(0x97)](_0x453cf1['COLORS'][_0x343f21(0x6a)],0x0),'strokeWidth':0x0,'stroke':_0x34686f||_0xa264dd[_0x343f21(0x97)](_0x453cf1[_0x343f21(0x23a)]['black'],0x0),'evented':!0x1});this[_0x343f21(0x283)]=_0x4c8758,this['_scene']['addObject'](_0x4c8758,_0x608d4f[_0x343f21(0x1fa)]);const _0x1475b9=new _0x47e749(_0x4f0a99+_0x453cf1['Tools'][_0x343f21(0x229)](_0x3a7509),{'left':_0x35cd81+_0xa1e76b-_0x3cd355,'top':_0x1a6169+_0x1a6ed4-_0x4ade4c,'text':_0x17de67,'color':_0x34686f});this[_0x343f21(0x1df)]=_0x1475b9,this[_0x343f21(0x1a7)][_0x343f21(0xfe)](_0x1475b9,_0x608d4f[_0x343f21(0x1fa)]),this[_0x343f21(0x1db)]=!0x1;}[_0x1b3cae(0x249)](){const _0x4292a5=_0x1b3cae,_0x17450a=this[_0x4292a5(0xf1)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x26c00f=_0x4292a5;this[_0x26c00f(0x1db)]=!0x0;}),_0x2812a0=this['_anchor']['onPointerLeave$'][_0x4292a5(0x1ec)](()=>{const _0x4a090c=_0x4292a5;this[_0x4a090c(0x193)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x295449=_0x4a090c;this[_0x295449(0x1db)]=!0x1;},0x7d0);});return()=>{const _0x26c320=_0x4292a5;_0x17450a[_0x26c320(0x2dd)](),_0x2812a0['unsubscribe']();};}[_0x1b3cae(0x167)](_0x4f9c54,_0x14b818,_0x429ab9,_0x2b1013){const _0x50374d=_0x1b3cae,_0x35c2ec=new _0x453cf1[(_0x50374d(0x1d6))](_0x4f9c54)['setAlpha'](0.2)['toRgbString'](),_0x310216=new _0xa264dd[(_0x50374d(0x1ab))](_0x2cf135+_0x453cf1[_0x50374d(0x1e0)][_0x50374d(0x229)](_0x3a7509),{'pointsGroup':_0x14b818,'fill':_0x35c2ec||_0xa264dd[_0x50374d(0x97)](_0x453cf1[_0x50374d(0x23a)]['black'],0.2),'left':_0x429ab9,'top':_0x2b1013,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x50374d(0x21f)]['push'](_0x310216),this['_scene'][_0x50374d(0xfe)](_0x310216,_0x608d4f['TEXT_RANGE_LAYER_INDEX']);}[_0x1b3cae(0x2db)](_0x4657b5,_0x411737,_0x1d787b,_0x37afa3){const _0xa07bc0=_0x1b3cae,_0x1ac4a7=new _0x453cf1[(_0xa07bc0(0x1d6))](_0x4657b5)[_0xa07bc0(0x278)](0.2)['toRgbString'](),_0x143cd3=new _0xa264dd['RegularPolygon'](_0x1ac798+_0x453cf1['Tools'][_0xa07bc0(0x229)](_0x3a7509),{'pointsGroup':_0x411737,'fill':_0x1ac4a7||_0xa264dd['getColor'](_0x453cf1['COLORS']['black'],0.2),'left':_0x1d787b,'top':_0x37afa3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa07bc0(0x21f)][_0xa07bc0(0x15a)](_0x143cd3),this[_0xa07bc0(0x1a7)][_0xa07bc0(0xfe)](_0x143cd3,_0x608d4f['TEXT_RANGE_LAYER_INDEX']);}[_0x1b3cae(0xf8)](_0x12dbd1){const _0x133307=_0x12dbd1[0x0],_0x40b246=_0x133307[0x0],_0x54bb70=_0x133307[0x2],{x:_0x5834e8,y:_0x231bc2}=_0x40b246,{x:_0x110c8b,y:_0x17cc5a}=_0x54bb70;return{'left':_0x5834e8,'top':_0x231bc2,'width':_0x110c8b-_0x5834e8,'height':_0x17cc5a-_0x231bc2};}['_getScale'](){const _0x5aa848=_0x1b3cae,{scaleX:_0x4be69f,scaleY:_0x23b3ce}=this[_0x5aa848(0x1a7)][_0x5aa848(0x224)]();return Math[_0x5aa848(0xfb)](_0x4be69f,_0x23b3ce);}}var _0x2ac6b7=Object[_0x1b3cae(0x16b)],_0x753afb=(_0x35df23,_0x16e633,_0x2556e7,_0x49b59f)=>{for(var _0x127191=_0x49b59f>0x1?void 0x0:_0x49b59f?_0x2ac6b7(_0x16e633,_0x2556e7):_0x16e633,_0x1ed0b4=_0x35df23['length']-0x1,_0x2c9d3b;_0x1ed0b4>=0x0;_0x1ed0b4--)(_0x2c9d3b=_0x35df23[_0x1ed0b4])&&(_0x127191=_0x2c9d3b(_0x127191)||_0x127191);return _0x127191;},_0xb3992=(_0x202033,_0x114b0f)=>(_0x7a5c5f,_0x8c7402)=>_0x114b0f(_0x7a5c5f,_0x8c7402,_0x202033);let _0x32f903=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x3ca02b,_0x15d2e6,_0x3577db,_0x4f2669,_0x268482){const _0x26e429=_0x1b3cae;super(),_0x347b87(this,_0x26e429(0xcd),[]),_0x347b87(this,'_cursors',[]),(this['_context']=_0x3ca02b,this[_0x26e429(0x80)]=_0x15d2e6,this[_0x26e429(0x27a)]=_0x3577db,this[_0x26e429(0x72)]=_0x4f2669,this[_0x26e429(0xa0)]=_0x268482,this['_init']());}[_0x1b3cae(0xff)](){const _0x395f61=_0x1b3cae,_0x42165a=this['_context'][_0x395f61(0xee)],_0x5992c1=this[_0x395f61(0x80)];this['disposeWithMe'](_0xbcaee6[_0x395f61(0x273)]([this['_collabCursorController']['getCollabCursors$'](_0x42165a),this['_themeService'][_0x395f61(0xf4)]])['pipe'](_0x286514['map'](([_0x5e823c,_0x4e8dd5])=>({'skeleton':_0x5992c1[_0x395f61(0x230)](),'cursors':[..._0x5e823c['values']()]['flatMap'](_0x34c780=>({..._0x34c780,'color':this['_themeService'][_0x395f61(0x2ed)](_0x34c780[_0x395f61(0x1b1)])}))})))['subscribe'](_0x53dda3=>{const _0x40f719=_0x395f61;if(this[_0x40f719(0x1cd)](),_0x53dda3){const {skeleton:_0x5a1796,cursors:_0x512c46}=_0x53dda3;this[_0x40f719(0x250)](_0x5a1796,_0x512c46);}})),this[_0x395f61(0x6e)](),this['_initCommandExecutedListener']();}[_0x1b3cae(0x250)](_0x577fd8,_0x555bbf){const _0x1e52f6=_0x1b3cae,{scene:_0x3ff78b,mainComponent:_0x14746e}=this['_context'],_0x3cbaad=_0x555bbf['map'](_0x36f0e5=>new _0xf4fa01(_0x36f0e5,_0x3ff78b,_0x577fd8,_0x14746e));this[_0x1e52f6(0xcd)]=_0x3cbaad,this[_0x1e52f6(0xaa)]=_0x555bbf;}[_0x1b3cae(0x73)](){const _0x1a2eda=_0x1b3cae;this[_0x1a2eda(0x1cd)]();const {scene:_0x45d4cc,mainComponent:_0x1997df}=this[_0x1a2eda(0x1a4)],_0x26a52b=this[_0x1a2eda(0x80)][_0x1a2eda(0x230)](),_0x514d04=this[_0x1a2eda(0xaa)][_0x1a2eda(0x188)](_0x167f16=>new _0xf4fa01(_0x167f16,_0x45d4cc,_0x26a52b,_0x1997df));this[_0x1a2eda(0xcd)]=_0x514d04;}[_0x1b3cae(0x1cd)](){const _0x9e4f4f=_0x1b3cae;this[_0x9e4f4f(0xcd)][_0x9e4f4f(0x2d0)](_0x2fa549=>_0x2fa549['dispose']()),this['_cursorShapes']=[];}[_0x1b3cae(0x297)](){const _0x3a4f70=_0x1b3cae,_0x2c064d=[_0x608d4f['SetDocZoomRatioOperation']['id']];this[_0x3a4f70(0x7a)](this['_commandService'][_0x3a4f70(0x1fd)](_0x44258e=>{const _0x11fd85=_0x3a4f70;_0x2c064d[_0x11fd85(0x21b)](_0x44258e['id'])&&_0x44258e[_0x11fd85(0x2b7)]['unitId']===this[_0x11fd85(0x1a4)][_0x11fd85(0xee)]&&this[_0x11fd85(0x73)]();}));}[_0x1b3cae(0x6e)](){const _0x119b59=_0x1b3cae;this[_0x119b59(0x7a)](_0x453cf1['fromEventSubject'](this[_0x119b59(0x1a4)][_0x119b59(0x27f)][_0x119b59(0x238)])['pipe'](_0x286514[_0x119b59(0x13e)](_0x35a973=>_0x35a973['type']===_0xa264dd[_0x119b59(0x125)][_0x119b59(0x1f1)]),_0x286514[_0x119b59(0x25c)](0x10))[_0x119b59(0x1d0)](()=>{const _0x451c8c=_0x119b59;this[_0x451c8c(0x73)]();}));}};_0x32f903=_0x753afb([_0xb3992(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x131474['DocSkeletonManagerService'])),_0xb3992(0x2,_0x453cf1['Inject'](_0x40540a)),_0xb3992(0x3,_0x453cf1[_0x1b3cae(0x128)]),_0xb3992(0x4,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x74)]))],_0x32f903);const _0x30fbe2=0x1,_0x1dc56f=1.5;class _0x4040fc extends _0xa264dd['Shape']{constructor(_0x3f71e5,_0x3df7ad){const _0x4b419c=_0x1b3cae;super(_0x3f71e5,_0x3df7ad),_0x347b87(this,'_color'),_0x347b87(this,_0x4b419c(0x268),!0x1),_0x347b87(this,_0x4b419c(0x296)),_0x347b87(this,_0x4b419c(0xe0),''),_0x347b87(this,'_labelPosition',_0x4b419c(0x1fe)),_0x347b87(this,_0x4b419c(0x12a)),(_0x3df7ad&&this[_0x4b419c(0xb7)](_0x3df7ad),this[_0x4b419c(0x276)]['subscribeEvent'](()=>this[_0x4b419c(0xb7)]({'hovered':!0x0})),this[_0x4b419c(0xc5)][_0x4b419c(0x1ec)](()=>this[_0x4b419c(0xb7)]({'hovered':!0x1})));}[_0x1b3cae(0xb7)](_0x4b832a){const _0x515c0a=_0x1b3cae;var _0x3e0a5e,_0x1a4619,_0x1670f4,_0x335082,_0x479cc0,_0xc49e7e;this[_0x515c0a(0xc7)]=(_0x3e0a5e=_0x4b832a['color'])!=null?_0x3e0a5e:this[_0x515c0a(0xc7)],this[_0x515c0a(0x268)]=(_0x1a4619=_0x4b832a[_0x515c0a(0xe8)])!=null?_0x1a4619:this[_0x515c0a(0x268)],this[_0x515c0a(0x296)]=(_0x1670f4=_0x4b832a[_0x515c0a(0x1a2)])!=null?_0x1670f4:this[_0x515c0a(0x296)],this[_0x515c0a(0xe0)]=(_0x335082=_0x4b832a[_0x515c0a(0x129)])!=null?_0x335082:this[_0x515c0a(0xe0)],this[_0x515c0a(0x19e)]=(_0x479cc0=_0x4b832a[_0x515c0a(0x2b2)])!=null?_0x479cc0:this[_0x515c0a(0x19e)],this[_0x515c0a(0x12a)]=(_0xc49e7e=_0x4b832a[_0x515c0a(0x17e)])!=null?_0xc49e7e:this[_0x515c0a(0x12a)],this[_0x515c0a(0x13b)]({'width':_0x4b832a[_0x515c0a(0x251)],'height':_0x4b832a['height']});}[_0x1b3cae(0x2e8)](_0x119f96){const _0x132874=_0x1b3cae,{row:_0x53aaea,column:_0x4d3a6e}=_0x119f96;if(_0x53aaea>=this[_0x132874(0x296)][_0x132874(0x28b)]&&_0x53aaea<=this[_0x132874(0x296)][_0x132874(0x96)]&&_0x4d3a6e>=this[_0x132874(0x296)][_0x132874(0x113)]&&_0x4d3a6e<=this['_range'][_0x132874(0x141)]){this[_0x132874(0xb7)]({'hovered':!0x0});return;}this[_0x132874(0xb7)]({'hovered':!0x1});}[_0x1b3cae(0x191)](_0x1a3363){return!0x1;}[_0x1b3cae(0x260)](_0x240ec0){const _0x4497d9=_0x1b3cae;_0xa264dd[_0x4497d9(0x1c3)][_0x4497d9(0x23c)](_0x240ec0,{'width':this['width'],'height':this[_0x4497d9(0x218)],'strokeWidth':_0x1dc56f,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4497d9(0x12a)]}),this['_hovered']&&(_0x240ec0[_0x4497d9(0x2fb)](),_0x240ec0[_0x4497d9(0x2ef)](0x1,0x0,0x0,0x1,this[_0x4497d9(0x251)],this[_0x4497d9(0x19e)]===_0x4497d9(0x10b)?0x0:-0x14),_0x47e749['drawWith'](_0x240ec0,{'text':this['_name'],'color':this[_0x4497d9(0xc7)]}),_0x240ec0[_0x4497d9(0x20d)]());}}var _0x4d43c7=Object[_0x1b3cae(0x16b)],_0x2ee17a=(_0x345d8c,_0x4e7dfb,_0x562b3a,_0x2a0f3f)=>{const _0x3fe600=_0x1b3cae;for(var _0x374441=_0x2a0f3f>0x1?void 0x0:_0x2a0f3f?_0x4d43c7(_0x4e7dfb,_0x562b3a):_0x4e7dfb,_0x234980=_0x345d8c[_0x3fe600(0x25b)]-0x1,_0xe1e653;_0x234980>=0x0;_0x234980--)(_0xe1e653=_0x345d8c[_0x234980])&&(_0x374441=_0xe1e653(_0x374441)||_0x374441);return _0x374441;},_0x1e4fb8=(_0x2524d2,_0x59eabc)=>(_0x38f3bc,_0x3f3376)=>_0x59eabc(_0x38f3bc,_0x3f3376,_0x2524d2);const _0x22ea23=0x1389;let _0x20126d=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x1f7330,_0x6d5319,_0x74c461,_0x25f93c){const _0x3220bc=_0x1b3cae;super(),_0x347b87(this,_0x3220bc(0xaa),new Set()),_0x347b87(this,_0x3220bc(0x24c),null),(this[_0x3220bc(0x1a4)]=_0x1f7330,this[_0x3220bc(0x171)]=_0x6d5319,this[_0x3220bc(0x27a)]=_0x74c461,this[_0x3220bc(0xa0)]=_0x25f93c,this[_0x3220bc(0xff)]());}[_0x1b3cae(0xff)](){const _0x123960=_0x1b3cae;this['_sheetSkeletonManagerService'][_0x123960(0x1da)][_0x123960(0x11d)](_0x286514[_0x123960(0x2f8)](this[_0x123960(0x162)]),_0x286514[_0x123960(0x2c9)](_0x176d03=>{const _0x5a687c=_0x123960;if(_0x176d03){const _0x59b2bf=_0x176d03[_0x5a687c(0x75)];return _0xbcaee6['combineLatest'](this[_0x5a687c(0x27a)][_0x5a687c(0x16a)](this[_0x5a687c(0x1a4)]['unitId']),this[_0x5a687c(0xa0)][_0x5a687c(0xf4)])['pipe'](_0x286514[_0x5a687c(0x188)](([_0x522377,_0x3342b6])=>{const _0xe41562=new Map();return _0x522377['forEach']((_0x3af463,_0x4004d4)=>{const _0x913089=_0x311b;if(_0x3af463[_0x913089(0x232)]===_0x59b2bf){const _0x135797={..._0x3af463};_0x135797[_0x913089(0x1b1)]=this[_0x913089(0xa0)][_0x913089(0x2ed)](_0x3af463[_0x913089(0x1b1)]),_0xe41562[_0x913089(0x234)](_0x4004d4,_0x135797);}}),{'skeleton':_0x176d03,'cursors':_0xe41562};}));}return _0xbcaee6['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x491824,cursors:_0x247608})=>{const _0x55e973=_0x123960;this[_0x55e973(0x1cd)](),_0x491824&&this[_0x55e973(0x250)](_0x491824,_0x247608);}),this[_0x123960(0x171)][_0x123960(0x1da)][_0x123960(0x1d0)](_0x328680=>{const _0x4aee85=_0x123960;if(_0x328680==null)return;const {skeleton:_0x3c77c5}=_0x328680,{scene:_0x21638d}=this[_0x4aee85(0x1a4)];_0x21638d[_0x4aee85(0xa4)][_0x4aee85(0x1ec)](_0x453cf1[_0x4aee85(0x2d2)](_0x8954e5=>{const _0x397bcc=_0x4aee85;var _0xffb072,_0xacef0a;const {offsetX:_0x4096ba,offsetY:_0x168c48}=_0x8954e5,{x:_0x18cc53,y:_0x504c93}=_0x21638d[_0x397bcc(0x236)](_0xa264dd[_0x397bcc(0x7f)][_0x397bcc(0xbd)]([_0x4096ba,_0x168c48])),{scaleX:_0x392cad,scaleY:_0x4ec454}=_0x21638d[_0x397bcc(0x224)](),_0x41a10e=_0x21638d[_0x397bcc(0x132)](_0xa264dd[_0x397bcc(0x155)][_0x397bcc(0xd6)]),_0x36d7bb=_0x21638d[_0x397bcc(0x25e)](_0xa264dd[_0x397bcc(0x7f)][_0x397bcc(0xbd)]([_0x18cc53,_0x504c93]),_0x41a10e),_0x54cbf9=_0x3c77c5[_0x397bcc(0x25d)](_0x4096ba,_0x168c48,_0x392cad,_0x4ec454,_0x36d7bb);((_0xffb072=this['_lastPointer'])==null?void 0x0:_0xffb072[_0x397bcc(0x2fe)])===_0x54cbf9[_0x397bcc(0x2fe)]&&((_0xacef0a=this[_0x397bcc(0x24c)])==null?void 0x0:_0xacef0a[_0x397bcc(0x127)])===_0x54cbf9[_0x397bcc(0x127)]||this[_0x397bcc(0xaa)][_0x397bcc(0x2d0)](_0x1f28bb=>{_0x1f28bb['onMouseMove'](_0x54cbf9);});},0x64));});}[_0x1b3cae(0x250)](_0x4a695f,_0x482eb5){const _0x5b4433=_0x1b3cae;var _0x33914e;const _0x571295=(_0x33914e=this[_0x5b4433(0x171)][_0x5b4433(0x136)]())==null?void 0x0:_0x33914e[_0x5b4433(0x213)];if(!_0x571295)return;const _0x52f927=this[_0x5b4433(0x9b)]();if(!_0x52f927)return;this[_0x5b4433(0xaa)][_0x5b4433(0x2d0)](_0x571559=>{_0x571559['makeDirty']();});const {scene:_0x3947b3}=_0x52f927,_0x4c4704=_0x4220b3(Array['from'](_0x482eb5['values']()))['map'](_0x52e44f=>{const _0x44f3ee=_0x5b4433,{color:_0x18bf49,range:_0x3eb7ea,name:_0x53d561,selection:_0x2eb1bf,sheetID:_0x1d6b9b}=_0x52e44f,{startColumn:_0x5275af,startRow:_0x18d872,endColumn:_0x105241,endRow:_0x5f2856}=_0x3eb7ea,_0xe30a56=_0x4d81f4['getCoordByCell'](_0x18d872,_0x5275af,_0x3947b3,_0x571295),_0x44ac20=_0x4d81f4[_0x44f3ee(0x2f7)](_0x5f2856,_0x105241,_0x3947b3,_0x571295),{columnHeaderHeightAndMarginTop:_0xcdbae2}=_0x571295,{startX:_0x28045a,startY:_0x305e99}=_0xe30a56,{endX:_0x3a4155,endY:_0x5898d0}=_0x44ac20,_0x54192d=_0x3a4155-_0x28045a,_0x1ef37b=_0x5898d0-_0x305e99,_0x211abf={'labelPosition':_0x305e99-_0xcdbae2>=_0x4ade4c?'top':_0x44f3ee(0x10b),'sheetID':_0x1d6b9b,'range':_0x3eb7ea,'color':_0x18bf49,'name':_0x53d561,'selection':_0x2eb1bf,'left':_0x28045a,'top':_0x305e99,'width':_0x54192d,'height':_0x1ef37b,'evented':!0x1,'zIndex':_0x22ea23};return new _0x4040fc(_0x53d561,_0x211abf);});_0x3947b3[_0x5b4433(0x2df)](_0x4c4704,_0x30fbe2),this[_0x5b4433(0xaa)]=new Set(_0x4c4704);}[_0x1b3cae(0x1cd)](){const _0x850420=_0x1b3cae;var _0x5eac00;(_0x5eac00=this[_0x850420(0xaa)])==null||_0x5eac00[_0x850420(0x2d0)](_0x173060=>_0x173060[_0x850420(0x2d6)]());}[_0x1b3cae(0x9b)](){const _0x3b68de=_0x1b3cae;return _0x4d81f4[_0x3b68de(0x2af)](this[_0x3b68de(0x1a4)][_0x3b68de(0x199)],this[_0x3b68de(0x1a4)]);}};_0x20126d=_0x2ee17a([_0x1e4fb8(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x4d81f4[_0x1b3cae(0xca)])),_0x1e4fb8(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x40540a)),_0x1e4fb8(0x3,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1['ThemeService']))],_0x20126d);function _0x4220b3(_0x2a3800){const _0xc64d0e=_0x1b3cae,_0x291446=new Map();return _0x2a3800['forEach'](_0x2862bd=>{const _0x572173=_0x311b;if(_0x291446[_0x572173(0x22e)](_0x2862bd[_0x572173(0x16c)])){const _0x31b2ce=_0x291446['get'](_0x2862bd[_0x572173(0x16c)]);_0x31b2ce[_0x572173(0x129)]+=',\x20'+_0x2862bd[_0x572173(0x129)];}else _0x291446['set'](_0x2862bd['selection'],_0x2862bd);}),Array[_0xc64d0e(0x2a3)](_0x291446[_0xc64d0e(0x1f3)]());}var _0x81f337=function(){const _0x2f1fc8=_0x1b3cae;return _0x81f337=Object[_0x2f1fc8(0x12d)]||function(_0x1e5ad5){const _0x57a34b=_0x2f1fc8;for(var _0x40a6b3,_0x3555d9=0x1,_0x4ce984=arguments[_0x57a34b(0x25b)];_0x3555d9<_0x4ce984;_0x3555d9++){_0x40a6b3=arguments[_0x3555d9];for(var _0x50e701 in _0x40a6b3)Object['prototype'][_0x57a34b(0xa1)][_0x57a34b(0x1c4)](_0x40a6b3,_0x50e701)&&(_0x1e5ad5[_0x50e701]=_0x40a6b3[_0x50e701]);}return _0x1e5ad5;},_0x81f337[_0x2f1fc8(0x1d1)](this,arguments);},_0x10d021=function(_0x5a8d0c,_0x383ce8){const _0x57bf78=_0x1b3cae;var _0x113036={};for(var _0x4baf99 in _0x5a8d0c)Object[_0x57bf78(0x2a6)][_0x57bf78(0xa1)][_0x57bf78(0x1c4)](_0x5a8d0c,_0x4baf99)&&_0x383ce8[_0x57bf78(0x267)](_0x4baf99)<0x0&&(_0x113036[_0x4baf99]=_0x5a8d0c[_0x4baf99]);if(_0x5a8d0c!=null&&typeof Object[_0x57bf78(0x243)]==_0x57bf78(0x10d)){for(var _0x5cb835=0x0,_0x4baf99=Object[_0x57bf78(0x243)](_0x5a8d0c);_0x5cb835<_0x4baf99[_0x57bf78(0x25b)];_0x5cb835++)_0x383ce8[_0x57bf78(0x267)](_0x4baf99[_0x5cb835])<0x0&&Object['prototype'][_0x57bf78(0x12c)]['call'](_0x5a8d0c,_0x4baf99[_0x5cb835])&&(_0x113036[_0x4baf99[_0x5cb835]]=_0x5a8d0c[_0x4baf99[_0x5cb835]]);}return _0x113036;},_0x432010=_0x5d19d4[_0x1b3cae(0x121)](function(_0x216c5a,_0x2617a6){const _0x153446=_0x1b3cae;var _0x2d076b=_0x216c5a['icon'],_0x14ee0a=_0x216c5a['id'],_0x53c39e=_0x216c5a[_0x153446(0x2ba)],_0x266ee7=_0x216c5a[_0x153446(0x2ca)],_0x3567a1=_0x10d021(_0x216c5a,[_0x153446(0x159),'id',_0x153446(0x2ba),'extend']),_0x2d8b75=_0x153446(0xe4)[_0x153446(0x1a6)](_0x14ee0a,'\x20')[_0x153446(0x1a6)](_0x53c39e||'')[_0x153446(0x20f)](),_0x5d64c6=_0x5d19d4['useRef']('_'[_0x153446(0x1a6)](_0x5c395f()));return _0x28ac0b(_0x2d076b,''[_0x153446(0x1a6)](_0x14ee0a),{'defIds':_0x2d076b[_0x153446(0x2e1)],'idSuffix':_0x5d64c6[_0x153446(0x161)]},_0x81f337({'ref':_0x2617a6,'className':_0x2d8b75},_0x3567a1),_0x266ee7);});function _0x28ac0b(_0x564a21,_0x33bbd3,_0x3c928d,_0x49f3e0,_0x48fe03){const _0x1f8953=_0x1b3cae;return _0x5d19d4[_0x1f8953(0x208)](_0x564a21[_0x1f8953(0x220)],_0x81f337(_0x81f337({'key':_0x33bbd3},_0x2d2d66(_0x564a21,_0x3c928d,_0x48fe03)),_0x49f3e0),(_0x4d92e2(_0x564a21,_0x3c928d)['children']||[])[_0x1f8953(0x188)](function(_0x484d64,_0x268603){const _0x590acf=_0x1f8953;return _0x28ac0b(_0x484d64,''[_0x590acf(0x1a6)](_0x33bbd3,'-')[_0x590acf(0x1a6)](_0x564a21[_0x590acf(0x220)],'-')[_0x590acf(0x1a6)](_0x268603),_0x3c928d,void 0x0,_0x48fe03);}));}function _0x2d2d66(_0xfd42d9,_0xa485b7,_0x2c66f2){const _0x493a5e=_0x1b3cae;var _0x26ee0c=_0x81f337({},_0xfd42d9[_0x493a5e(0x14b)]);_0x2c66f2!=null&&_0x2c66f2[_0x493a5e(0x172)]&&_0x26ee0c['fill']===_0x493a5e(0x172)&&(_0x26ee0c['fill']=_0x2c66f2[_0x493a5e(0x172)]),_0xfd42d9['tag']===_0x493a5e(0x228)&&_0x26ee0c['id']&&(_0x26ee0c['id']=_0x26ee0c['id']+_0xa485b7[_0x493a5e(0x24a)]),Object[_0x493a5e(0x2d3)](_0x26ee0c)[_0x493a5e(0x2d0)](function(_0x5074b1){const _0x1f3035=_0x493a5e;var _0x5dd84f=_0x5074b1[0x0],_0x326c2e=_0x5074b1[0x1];_0x5dd84f===_0x1f3035(0x228)&&typeof _0x326c2e==_0x1f3035(0x15d)&&(_0x26ee0c[_0x5dd84f]=_0x326c2e[_0x1f3035(0x1f6)](/url\(#(.*)\)/,_0x1f3035(0x23b)[_0x1f3035(0x1a6)](_0xa485b7['idSuffix'],')')));});var _0x456a13=_0xa485b7[_0x493a5e(0x2e1)];return!_0x456a13||_0x456a13['length']===0x0||(_0xfd42d9[_0x493a5e(0x220)]==='use'&&_0x26ee0c['xlink:href']&&(_0x26ee0c[_0x493a5e(0x209)]=_0x26ee0c['xlink:href']+_0xa485b7[_0x493a5e(0x24a)]),Object['entries'](_0x26ee0c)[_0x493a5e(0x2d0)](function(_0x3918de){const _0x1c32f4=_0x493a5e;var _0x340c35=_0x3918de[0x0],_0x5a8d09=_0x3918de[0x1];typeof _0x5a8d09==_0x1c32f4(0x15d)&&(_0x26ee0c[_0x340c35]=_0x5a8d09[_0x1c32f4(0x1f6)](/url\(#(.*)\)/,_0x1c32f4(0x23b)[_0x1c32f4(0x1a6)](_0xa485b7[_0x1c32f4(0x24a)],')')));})),_0x26ee0c;}function _0x4d92e2(_0x4da42d,_0x5c7277){const _0x486210=_0x1b3cae;var _0x2c402e,_0x40df32=_0x5c7277[_0x486210(0x2e1)];return!_0x40df32||_0x40df32[_0x486210(0x25b)]===0x0?_0x4da42d:_0x4da42d[_0x486210(0x220)]===_0x486210(0x71)&&(!((_0x2c402e=_0x4da42d[_0x486210(0x139)])===null||_0x2c402e===void 0x0)&&_0x2c402e[_0x486210(0x25b)])?_0x81f337(_0x81f337({},_0x4da42d),{'children':_0x4da42d[_0x486210(0x139)][_0x486210(0x188)](function(_0x58c5ea){const _0x1d8bf7=_0x486210;return typeof _0x58c5ea[_0x1d8bf7(0x14b)]['id']=='string'&&_0x40df32&&_0x40df32[_0x1d8bf7(0x21b)](_0x58c5ea[_0x1d8bf7(0x14b)]['id'])?_0x81f337(_0x81f337({},_0x58c5ea),{'attrs':_0x81f337(_0x81f337({},_0x58c5ea[_0x1d8bf7(0x14b)]),{'id':_0x58c5ea[_0x1d8bf7(0x14b)]['id']+_0x5c7277['idSuffix']})}):_0x58c5ea;})}):_0x4da42d;}function _0x5c395f(){const _0x4c506c=_0x1b3cae;return Math[_0x4c506c(0x1f8)]()[_0x4c506c(0xa6)](0x24)['substring'](0x2,0x8);}_0x432010[_0x1b3cae(0x18c)]=_0x1b3cae(0x117);var _0x129946={'tag':_0x1b3cae(0x166),'attrs':{'xmlns':_0x1b3cae(0xf3),'fill':_0x1b3cae(0x177),'viewBox':'0\x200\x2016\x2016','width':_0x1b3cae(0x189),'height':_0x1b3cae(0x189)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b3cae(0x27e)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1b3cae(0x29c),'strokeLinecap':_0x1b3cae(0x1c1),'strokeLinejoin':_0x1b3cae(0x1c1),'strokeWidth':1.2}}]},{'tag':_0x1b3cae(0x71),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1b3cae(0x282),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x425a31=_0x5d19d4[_0x1b3cae(0x121)](function(_0x36a8c0,_0x97aa58){const _0x57b0f6=_0x1b3cae;return _0x5d19d4['createElement'](_0x432010,Object['assign']({},_0x36a8c0,{'id':_0x57b0f6(0xfc),'ref':_0x97aa58,'icon':_0x129946}));});_0x425a31[_0x1b3cae(0x18c)]=_0x1b3cae(0x18a);var _0x53ee13={'tag':_0x1b3cae(0x166),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b3cae(0x177),'viewBox':'0\x200\x2017\x2016','width':_0x1b3cae(0x189),'height':_0x1b3cae(0x189)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b3cae(0x235)},'children':[{'tag':_0x1b3cae(0x282),'attrs':{'stroke':_0x1b3cae(0x2e9),'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':_0x1b3cae(0x1c1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1b3cae(0x71),'attrs':{},'children':[{'tag':_0x1b3cae(0x13f),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x1b3cae(0x1de),'d':_0x1b3cae(0x13a),'transform':_0x1b3cae(0x92)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4e50ee=_0x5d19d4['forwardRef'](function(_0x233b1e,_0x39336c){const _0x1297ed=_0x1b3cae;return _0x5d19d4['createElement'](_0x432010,Object['assign']({},_0x233b1e,{'id':_0x1297ed(0xdd),'ref':_0x39336c,'icon':_0x53ee13}));});_0x4e50ee[_0x1b3cae(0x18c)]=_0x1b3cae(0x1c8);function _0x1b7ff9(_0x1eeb88){const _0x4da48f=_0x1b3cae;switch(_0x1eeb88){case _0x16e438[_0x4da48f(0x295)][_0x4da48f(0x1d7)]:return _0x4da48f(0x1bf);case _0x16e438[_0x4da48f(0x295)][_0x4da48f(0x1e1)]:return _0x4da48f(0x19c);case _0x16e438[_0x4da48f(0x295)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x16e438['CollaborationStatus'][_0x4da48f(0x294)]:return'collabStatus.notCollab';case _0x16e438['CollaborationStatus'][_0x4da48f(0xa3)]:case _0x16e438['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x16e438[_0x4da48f(0x295)][_0x4da48f(0x143)]:case _0x16e438[_0x4da48f(0x295)][_0x4da48f(0x115)]:return'collabStatus.synced';}}function _0x1a7cba(_0x358b09){const _0x550014=_0x1b3cae,{status$:_0x1facd7}=_0x358b09,_0x568a3b=_0x34c313[_0x550014(0xeb)](_0x1facd7,_0x16e438['CollaborationStatus'][_0x550014(0x294)]),_0x9c3d15=_0x34c313['useDependency'](_0x453cf1[_0x550014(0x275)]),_0x288f7c=_0x34c313[_0x550014(0xd2)](_0x16e438['CollaborationSessionService']),_0x5cb67a=_0x568a3b!==_0x16e438[_0x550014(0x295)][_0x550014(0x1d7)],_0x3a93b0=_0x9c3d15['t'](_0x1b7ff9(_0x568a3b)),_0x31ef91=_0x5cb67a?_0x20e32a[_0x550014(0x263)](_0x4e50ee,{}):_0x20e32a['jsx'](_0x425a31,{}),_0x30ced2=_0x5d19d4[_0x550014(0x1af)](()=>{const _0x2b6c71=_0x550014;_0x5cb67a||_0x288f7c[_0x2b6c71(0xe7)]();},[_0x5cb67a,_0x288f7c]);function _0x2f8407(){const _0xe4f560=_0x550014;return _0x20e32a[_0xe4f560(0x86)](_0xe4f560(0xfa),{'className':'univer-flex\x20univer-items-center','onClick':_0x30ced2,'children':[_0x20e32a[_0xe4f560(0x263)](_0xe4f560(0xfa),{'className':_0x3dc756[_0xe4f560(0x227)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5cb67a,'univer-text-red-500':!_0x5cb67a}),'children':_0x31ef91}),_0x20e32a[_0xe4f560(0x263)]('div',{'className':_0xe4f560(0x2a4),'children':_0x3a93b0})]});}return _0x5cb67a?_0x2f8407():_0x20e32a[_0x550014(0x263)](_0x3dc756[_0x550014(0x301)],{'title':_0x9c3d15['t'](_0x550014(0x119)),'children':_0x2f8407()});}var _0x5202b2=Object['getOwnPropertyDescriptor'],_0x4b6939=(_0x1b6f09,_0x373f72,_0x4ae6c3,_0x872ab6)=>{for(var _0xa79b8f=_0x872ab6>0x1?void 0x0:_0x872ab6?_0x5202b2(_0x373f72,_0x4ae6c3):_0x373f72,_0x54e4ee=_0x1b6f09['length']-0x1,_0x174474;_0x54e4ee>=0x0;_0x54e4ee--)(_0x174474=_0x1b6f09[_0x54e4ee])&&(_0xa79b8f=_0x174474(_0xa79b8f)||_0xa79b8f);return _0xa79b8f;},_0x8f9cd5=(_0xbbf4e2,_0x2f58ef)=>(_0x5b8e1c,_0x3daf1a)=>_0x2f58ef(_0x5b8e1c,_0x3daf1a,_0xbbf4e2);_0x1a2a0b['DesktopCollaborationStatusDisplayController']=class extends _0x453cf1[_0x1b3cae(0xb5)]{constructor(_0x1af5ae,_0x1c4733,_0x2da162,_0x4a66a8){const _0x655e32=_0x1b3cae;super(),_0x347b87(this,_0x655e32(0x111),new _0xbcaee6[(_0x655e32(0x26a))](_0x16e438[_0x655e32(0x295)][_0x655e32(0x294)])),(this[_0x655e32(0x200)]=_0x1af5ae,this[_0x655e32(0xb3)]=_0x1c4733,this['_collaborationController']=_0x2da162,this[_0x655e32(0x262)]=_0x4a66a8,this[_0x655e32(0x1f9)](),this['_initStatusListener']());}[_0x1b3cae(0xd0)](){const _0x29ccd2=_0x1b3cae;this[_0x29ccd2(0x7a)](this[_0x29ccd2(0x200)]['focused$'][_0x29ccd2(0x11d)](_0xbcaee6[_0x29ccd2(0x2c9)](()=>{const _0x46ca43=_0x29ccd2,_0x78121b=this[_0x46ca43(0x200)][_0x46ca43(0xc0)]();return _0x78121b?this[_0x46ca43(0x197)][_0x46ca43(0x1b4)](_0x78121b['getUnitId']()):_0xbcaee6['of'](null);}),_0xbcaee6['switchMap'](_0x3ad914=>_0x3ad914?_0x3ad914[_0x29ccd2(0x2bf)]:_0xbcaee6['of'](_0x16e438['CollaborationStatus'][_0x29ccd2(0x294)])))[_0x29ccd2(0x1d0)](_0x68090f=>{const _0x413125=_0x29ccd2;this[_0x413125(0x111)][_0x413125(0x290)](_0x68090f);}));}[_0x1b3cae(0x1f9)](){const _0x969609=_0x1b3cae;this[_0x969609(0x7a)](this[_0x969609(0x262)][_0x969609(0x140)](_0x34c313[_0x969609(0x2ff)][_0x969609(0xcf)],()=>_0x34c313[_0x969609(0xb8)](_0x35a833({'status$':this['_status$']['asObservable']()}),this['_injector'])));}},_0x1a2a0b[_0x1b3cae(0x2bc)]=_0x4b6939([_0x8f9cd5(0x0,_0x453cf1['IUniverInstanceService']),_0x8f9cd5(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x8f9cd5(0x2,_0x453cf1['Inject'](_0x16e438[_0x1b3cae(0xa8)])),_0x8f9cd5(0x3,_0x34c313['IUIPartsService'])],_0x1a2a0b['DesktopCollaborationStatusDisplayController']);function _0x35a833(_0x36264c){const {status$:_0x1b8b97}=_0x36264c;return function(){const _0x168a73=_0x311b;return _0x20e32a[_0x168a73(0x263)](_0x1a7cba,{'status$':_0x1b8b97});};}var _0x4db1b8=Object['getOwnPropertyDescriptor'],_0xf4c0ec=(_0x565d99,_0x18fba7,_0x31fa58,_0x486fbb)=>{const _0xc28201=_0x1b3cae;for(var _0x282486=_0x486fbb>0x1?void 0x0:_0x486fbb?_0x4db1b8(_0x18fba7,_0x31fa58):_0x18fba7,_0x253cd8=_0x565d99[_0xc28201(0x25b)]-0x1,_0x2e1901;_0x253cd8>=0x0;_0x253cd8--)(_0x2e1901=_0x565d99[_0x253cd8])&&(_0x282486=_0x2e1901(_0x282486)||_0x282486);return _0x282486;},_0x13606d=(_0x3286f0,_0x28f6ad)=>(_0x17e019,_0x307f4b)=>_0x28f6ad(_0x17e019,_0x307f4b,_0x3286f0);let _0x2745a2=class extends _0x453cf1['Disposable']{constructor(_0x58d0a2,_0x4329eb,_0x4ac5bc,_0x57de52,_0x4fd281,_0x4d3de8){const _0x3aa869=_0x1b3cae;super(),this[_0x3aa869(0xac)]=_0x58d0a2,this[_0x3aa869(0x79)]=_0x4329eb,this[_0x3aa869(0x2e7)]=_0x4ac5bc,this['_messageService']=_0x57de52,this[_0x3aa869(0x1be)]=_0x4fd281,this['_localeService']=_0x4d3de8,this[_0x3aa869(0x157)](),this[_0x3aa869(0x158)]();}[_0x1b3cae(0x157)](){const _0x38a5d8=_0x1b3cae;this['disposeWithMe'](this[_0x38a5d8(0xac)]['registerBeforeClose'](()=>{const _0x5bf56a=_0x38a5d8;if(this[_0x5bf56a(0x79)][_0x5bf56a(0x269)][_0x5bf56a(0x204)])return this[_0x5bf56a(0x1b7)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x29d789=_0x1b3cae;this['disposeWithMe'](this[_0x29d789(0x2e7)][_0x29d789(0x24e)]['subscribe'](_0x79a181=>{const _0x4a1e07=_0x29d789;_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0xb6)]&&this[_0x4a1e07(0x123)][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x304)],'content':this['_localeService']['t'](_0x4a1e07(0x1fc))}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0x2cf)]&&this['_messageService'][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x304)],'content':this['_localeService']['t'](_0x4a1e07(0x219))}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)]['PERMISSION_DENIED']&&this['_notificationService'][_0x4a1e07(0xdb)]({'title':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x1eb)),'content':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x1f4)),'type':_0x4a1e07(0x104),'duration':0x0}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)]['CONFLICT']&&this[_0x4a1e07(0x123)]['show']({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x1c5)],'content':this[_0x4a1e07(0x1b7)]['t']('collaboration.closeRoom')+'('+_0x79a181[_0x4a1e07(0x207)]+')'}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0x160)]&&this['_messageService'][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)]['Warning'],'content':this[_0x4a1e07(0x1b7)]['t'](_0x79a181[_0x4a1e07(0x207)]||'')}),_0x79a181['id']===_0x16e438['CollaborationUIEventId'][_0x4a1e07(0x2a0)]&&this['_messageService']['show']({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x304)],'content':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x11e))}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0x174)]&&this[_0x4a1e07(0x123)][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x1c5)],'content':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x1c2))}),_0x79a181['id']===_0x16e438[_0x4a1e07(0x19a)][_0x4a1e07(0xc3)]&&this[_0x4a1e07(0x123)][_0x4a1e07(0xdb)]({'type':_0x3dc756[_0x4a1e07(0xd4)][_0x4a1e07(0x1c5)],'content':this[_0x4a1e07(0x1b7)]['t'](_0x4a1e07(0x122))});}));}};_0x2745a2=_0xf4c0ec([_0x13606d(0x0,_0x34c313[_0x1b3cae(0x110)]),_0x13606d(0x1,_0x16e438[_0x1b3cae(0x1ef)]),_0x13606d(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x16e438[_0x1b3cae(0x2aa)])),_0x13606d(0x3,_0x34c313[_0x1b3cae(0x1bb)]),_0x13606d(0x4,_0x34c313['INotificationService']),_0x13606d(0x5,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x275)]))],_0x2745a2);const _0x439bc2=_0x1b3cae(0x2e3),_0x382753={},_0x2b819d=_0x453cf1[_0x1b3cae(0x196)]('uni.network.url-service');var _0x1c49e9=Object['getOwnPropertyDescriptor'],_0x17a676=(_0x3ec252,_0x2da479,_0x43bd9b,_0x1e0cd3)=>{const _0x2eef90=_0x1b3cae;for(var _0x1cc889=_0x1e0cd3>0x1?void 0x0:_0x1e0cd3?_0x1c49e9(_0x2da479,_0x43bd9b):_0x2da479,_0x477252=_0x3ec252[_0x2eef90(0x25b)]-0x1,_0x50b54a;_0x477252>=0x0;_0x477252--)(_0x50b54a=_0x3ec252[_0x477252])&&(_0x1cc889=_0x50b54a(_0x1cc889)||_0x1cc889);return _0x1cc889;},_0x41f7c5=(_0x3a1852,_0x40ed2d)=>(_0x79bac3,_0x20b893)=>_0x40ed2d(_0x79bac3,_0x20b893,_0x3a1852);_0x1a2a0b[_0x1b3cae(0x21c)]=class extends _0x453cf1[_0x1b3cae(0x274)]{constructor(_0x231260,_0x3e8336,_0x3dda68,_0x3e8ce6,_0x5549f8){const _0x3b0948=_0x1b3cae;super(),this[_0x3b0948(0x1ea)]=_0x231260,this['_logService']=_0x3e8336,this[_0x3b0948(0x72)]=_0x3dda68,this[_0x3b0948(0xf9)]=_0x3e8ce6,_0x5549f8?_0x5549f8==null||_0x5549f8[_0x3b0948(0xc2)]()[_0x3b0948(0x93)](()=>this[_0x3b0948(0xff)]()):(this['_logService'][_0x3b0948(0x146)]('[CollaborationDataLoaderController]',_0x3b0948(0x19d)),this[_0x3b0948(0xff)]());}async[_0x1b3cae(0xff)](){const _0xbe4a01=_0x1b3cae,_0x5f05ca=this['_urlService']['getParam'](_0xbe4a01(0x199)),_0x366805=this[_0xbe4a01(0x1ea)][_0xbe4a01(0x1c7)](_0xbe4a01(0xb4)),_0x3a100b=this[_0xbe4a01(0x1ea)][_0xbe4a01(0x1c7)](_0xbe4a01(0x116));if(!_0x5f05ca||!_0x366805){this['_logService']['debug'](_0xbe4a01(0x84),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x882d5c=await this['_dataLoaderService'][_0xbe4a01(0x1a5)](_0x5f05ca,Number(_0x366805),_0x3a100b);_0x882d5c&&_0x882d5c instanceof _0x453cf1[_0xbe4a01(0x1b2)]&&this[_0xbe4a01(0x203)](_0x882d5c);}async[_0x1b3cae(0x203)](_0x44de25){const _0x3d321f=_0x1b3cae;await this[_0x3d321f(0x175)](_0x44de25),_0x44de25[_0x3d321f(0xe5)][_0x3d321f(0x11d)](_0xbcaee6[_0x3d321f(0x2f8)](this[_0x3d321f(0x162)]))[_0x3d321f(0x1d0)](_0x3c7624=>{_0x3c7624&&this['_updateURLWithCurrentState'](_0x3c7624);}),this['_urlService'][_0x3d321f(0x152)]['pipe'](_0xbcaee6[_0x3d321f(0x2f8)](this[_0x3d321f(0x162)]))[_0x3d321f(0x1d0)](()=>this[_0x3d321f(0x175)](_0x44de25));}[_0x1b3cae(0x14d)](_0x20b73e,_0x29846d=!0x1){const _0x3278dd=_0x1b3cae,_0xe75526=this[_0x3278dd(0x1ea)][_0x3278dd(0x1c7)](_0x3278dd(0x116));_0x20b73e[_0x3278dd(0x17c)]()!==_0xe75526&&this[_0x3278dd(0x1ea)]['setParam'](_0x3278dd(0x116),_0x20b73e[_0x3278dd(0x17c)](),_0x29846d);}async[_0x1b3cae(0x175)](_0x3684a3){const _0x37d42d=_0x1b3cae;var _0x1cb2dd;const _0x35a0a7=this[_0x37d42d(0x1ea)][_0x37d42d(0x1c7)](_0x37d42d(0x116));if(!_0x35a0a7||!_0x3684a3[_0x37d42d(0x16f)](_0x35a0a7)){const _0x111a05=_0x3684a3['getUnhiddenWorksheets']()[0x0],_0x1572a7=_0x3684a3[_0x37d42d(0x16f)](_0x111a05);if(!_0x1572a7)return;this[_0x37d42d(0x14d)](_0x1572a7,!0x0),await this[_0x37d42d(0x72)]['executeCommand'](_0x54fab8[_0x37d42d(0x284)]['id'],{'unitId':_0x3684a3[_0x37d42d(0x13d)](),'subUnitId':_0x111a05});return;}((_0x1cb2dd=_0x3684a3['getActiveSheet']())==null?void 0x0:_0x1cb2dd[_0x37d42d(0x17c)]())!==_0x35a0a7&&await this[_0x37d42d(0x72)][_0x37d42d(0x2c4)](_0x54fab8[_0x37d42d(0x284)]['id'],{'unitId':_0x3684a3['getUnitId'](),'subUnitId':_0x35a0a7});}},_0x1a2a0b[_0x1b3cae(0x21c)]=_0x17a676([_0x41f7c5(0x0,_0x2b819d),_0x41f7c5(0x1,_0x453cf1[_0x1b3cae(0x27b)]),_0x41f7c5(0x2,_0x453cf1[_0x1b3cae(0x128)]),_0x41f7c5(0x3,_0x453cf1[_0x1b3cae(0xea)](_0x16e438[_0x1b3cae(0x98)])),_0x41f7c5(0x4,_0x453cf1['Optional'](_0x56a822['IRemoteInstanceService']))],_0x1a2a0b[_0x1b3cae(0x21c)]);var _0x523670=Object[_0x1b3cae(0x16b)],_0x469631=(_0x1e8b7d,_0x308677,_0x5868e0,_0x3ca55c)=>{const _0x6b1100=_0x1b3cae;for(var _0x4da580=_0x3ca55c>0x1?void 0x0:_0x3ca55c?_0x523670(_0x308677,_0x5868e0):_0x308677,_0x44ca26=_0x1e8b7d[_0x6b1100(0x25b)]-0x1,_0x3d6bf1;_0x44ca26>=0x0;_0x44ca26--)(_0x3d6bf1=_0x1e8b7d[_0x44ca26])&&(_0x4da580=_0x3d6bf1(_0x4da580)||_0x4da580);return _0x4da580;},_0x17c03d=(_0xd7941b,_0x1bc425)=>(_0x4e19a8,_0x1b5b68)=>_0x1bc425(_0x4e19a8,_0x1b5b68,_0xd7941b);let _0x266fb1=class{constructor(_0x4207dc,_0x1725a5,_0x379297){const _0x13faf9=_0x1b3cae;this['_injector']=_0x4207dc,this[_0x13faf9(0x1bc)]=_0x1725a5,this[_0x13faf9(0x29f)]=_0x379297;}[_0x1b3cae(0x91)](_0x20778e){const _0x7fb4e=_0x1b3cae;this[_0x7fb4e(0x28a)](_0x20778e),this['_transformPreviousActiveRange'](_0x20778e);}[_0x1b3cae(0x2ac)](_0x50c2e3){const _0x1a9ce2=_0x1b3cae,{unitID:_0x332406}=_0x50c2e3,_0xd71944=this[_0x1a9ce2(0x29f)][_0x1a9ce2(0x22d)](_0x332406)[_0x1a9ce2(0x1e3)](_0x608d4f[_0x1a9ce2(0x21d)]),{redoCache:_0x4786ff}=_0xd71944['getUndoRedoMutationParamsCache']();if(_0x4786ff[_0x1a9ce2(0x25b)]===0x0)return _0x50c2e3;let _0x402150=_0x453cf1[_0x1a9ce2(0x1e0)][_0x1a9ce2(0x256)](_0x50c2e3['mutations'][0x0]);for(let _0x425cbc=0x0;_0x425cbc<_0x4786ff[_0x1a9ce2(0x25b)];_0x425cbc++){const _0x40a408={'id':'doc.mutation.rich-text-editing','params':{..._0x4786ff[_0x425cbc]}},_0x4334c2=this['_transformService'][_0x1a9ce2(0x225)](_0x402150,_0x40a408,!0x1);if(_0x46cc83['isTransformMutationFailure'](_0x4334c2))throw _0x4334c2['error'];_0x402150=_0x4334c2['m1Prime'];}return{..._0x453cf1['Tools'][_0x1a9ce2(0x256)](_0x50c2e3),'mutations':[_0x402150]};}['_transformUndoRedoStack'](_0x5814a2){const _0x169cdd=_0x1b3cae,{unitID:_0x21031a}=_0x5814a2,_0x2bd2c4=this[_0x169cdd(0x29f)]['getRenderById'](_0x21031a)[_0x169cdd(0x1e3)](_0x608d4f[_0x169cdd(0x21d)]),{undoCache:_0x3baa80,redoCache:_0x151e97}=_0x2bd2c4['getUndoRedoMutationParamsCache']();if(_0x3baa80['length']===0x0||_0x151e97[_0x169cdd(0x25b)]===0x0)return;const _0x147845=[],_0x1d3354=[];let _0x226665=_0x453cf1[_0x169cdd(0x1e0)][_0x169cdd(0x256)](_0x5814a2[_0x169cdd(0xb9)][0x0]),_0x4f9c65=_0x453cf1['Tools'][_0x169cdd(0x256)](_0x5814a2[_0x169cdd(0xb9)][0x0]);for(let _0x4ee3bf=_0x3baa80['length']-0x1;_0x4ee3bf>=0x0;_0x4ee3bf--){const _0x735371={'id':_0x169cdd(0x9c),'params':{..._0x3baa80[_0x4ee3bf]}},_0x35a2cb={'id':_0x169cdd(0x9c),'params':{..._0x151e97[_0x4ee3bf]}},_0x42e7d4=this[_0x169cdd(0x1bc)][_0x169cdd(0x225)](_0x226665,_0x735371,!0x1),_0xa8876f=this[_0x169cdd(0x1bc)][_0x169cdd(0x225)](_0x4f9c65,_0x35a2cb,!0x1);if(_0x46cc83['isTransformMutationFailure'](_0x42e7d4))throw _0x42e7d4['error'];if(_0x46cc83[_0x169cdd(0xe2)](_0xa8876f))throw _0xa8876f[_0x169cdd(0x104)];_0x147845[_0x169cdd(0x257)](_0x42e7d4[_0x169cdd(0x2d9)][_0x169cdd(0x2b7)]),_0x1d3354[_0x169cdd(0x257)](_0xa8876f[_0x169cdd(0x2d9)][_0x169cdd(0x2b7)]),_0x226665=_0x42e7d4[_0x169cdd(0xc9)],_0x4f9c65=_0xa8876f[_0x169cdd(0xc9)];}_0x2bd2c4['setUndoRedoMutationParamsCache']({'undoCache':_0x147845,'redoCache':_0x1d3354});}['_transformPreviousActiveRange'](_0x8c41ae){const _0xaa673=_0x1b3cae,{unitID:_0x53481e}=_0x8c41ae,_0x1775aa=this[_0xaa673(0x29f)]['getRenderById'](_0x53481e)['with'](_0x608d4f[_0xaa673(0x21d)]),_0x1cbca0=_0x1775aa['getActiveRange']();if(_0x1cbca0==null)return;const _0x5defb5=[{'id':_0xaa673(0x9c),'params':{'unitId':_0x8c41ae[_0xaa673(0x2f9)],'actions':null,'textRanges':[_0x1cbca0]}}],_0x25e732=this['_transformService'][_0xaa673(0x2f5)](_0x8c41ae,_0x5defb5);if(!_0x46cc83[_0xaa673(0x1d5)](_0x25e732))throw _0x25e732[_0xaa673(0x104)];const _0x51769a=_0x25e732['m2Prime'][0x0][_0xaa673(0x2b7)][_0xaa673(0x78)];Array[_0xaa673(0x23d)](_0x51769a)&&_0x51769a[_0xaa673(0x25b)]&&_0x1775aa[_0xaa673(0x2ce)](_0x51769a[0x0]);}};_0x266fb1=_0x469631([_0x17c03d(0x0,_0x453cf1['Inject'](_0x453cf1[_0x1b3cae(0x25a)])),_0x17c03d(0x1,_0x46cc83[_0x1b3cae(0x100)]),_0x17c03d(0x2,_0xa264dd['IRenderManagerService'])],_0x266fb1);var _0x10ac2f=Object[_0x1b3cae(0x16b)],_0x1bd6c3=(_0x4cc3ab,_0x57b0ad,_0x4e8843,_0x46871e)=>{const _0x236e61=_0x1b3cae;for(var _0x2ec108=_0x46871e>0x1?void 0x0:_0x46871e?_0x10ac2f(_0x57b0ad,_0x4e8843):_0x57b0ad,_0xf5cad4=_0x4cc3ab[_0x236e61(0x25b)]-0x1,_0x497c8d;_0xf5cad4>=0x0;_0xf5cad4--)(_0x497c8d=_0x4cc3ab[_0xf5cad4])&&(_0x2ec108=_0x497c8d(_0x2ec108)||_0x2ec108);return _0x2ec108;},_0x407f28=(_0x4d9844,_0x83e0f7)=>(_0x3e4bf3,_0x2b0df0)=>_0x83e0f7(_0x3e4bf3,_0x2b0df0,_0x4d9844);let _0x851025=class{constructor(_0x3f2914,_0xe0b2ea,_0x148996){const _0x7e5467=_0x1b3cae;this[_0x7e5467(0xb3)]=_0x3f2914,this[_0x7e5467(0x1bc)]=_0xe0b2ea,this[_0x7e5467(0x289)]=_0x148996;}['transformStateCache'](_0x1565d1){const _0x40128e=_0x1b3cae;this[_0x40128e(0x246)](_0x1565d1);}[_0x1b3cae(0x2ac)](_0x45e24c){const _0x528fe6=_0x1b3cae,{unitID:_0x3767ed}=_0x45e24c,{collaboration:_0x4c9a71}=this[_0x528fe6(0x289)][_0x528fe6(0x13c)](_0x3767ed);if(_0x4c9a71[_0x528fe6(0x25b)]===0x0)return _0x45e24c;let _0x226e2d=_0x453cf1[_0x528fe6(0x1e0)][_0x528fe6(0x256)](_0x45e24c[_0x528fe6(0xb9)][0x0]);for(let _0x2c7373=0x0;_0x2c7373<_0x4c9a71[_0x528fe6(0x25b)];_0x2c7373++){const _0x5cd985={'id':_0x528fe6(0x9c),'params':{'unitId':_0x4c9a71[_0x2c7373][_0x528fe6(0xee)],..._0x4c9a71[_0x2c7373]['redoState']}},_0xa8a994=this[_0x528fe6(0x1bc)]['transformMutation'](_0x226e2d,_0x5cd985,!0x1);if(_0x46cc83[_0x528fe6(0xe2)](_0xa8a994))throw _0xa8a994[_0x528fe6(0x104)];_0x226e2d=_0xa8a994[_0x528fe6(0xc9)];}return{..._0x453cf1[_0x528fe6(0x1e0)][_0x528fe6(0x256)](_0x45e24c),'mutations':[_0x226e2d]};}['_transformHistoryAndStateStack'](_0x270719){const _0x5a80b2=_0x1b3cae,{unitID:_0x5c16fb}=_0x270719,{history:_0xb0b6d3,collaboration:_0xf34a53}=this['_docStateChangeManagerService'][_0x5a80b2(0x13c)](_0x5c16fb);if(_0xb0b6d3['length']===0x0&&_0xf34a53[_0x5a80b2(0x25b)]===0x0)return;const _0x32750c=[],_0x2f9804=[];let _0x1e50d2=_0x453cf1[_0x5a80b2(0x1e0)][_0x5a80b2(0x256)](_0x270719[_0x5a80b2(0xb9)][0x0]),_0x5df988=_0x453cf1['Tools']['deepClone'](_0x270719['mutations'][0x0]);for(let _0x247f69=_0xb0b6d3['length']-0x1;_0x247f69>=0x0;_0x247f69--){const _0x3cd713={'id':_0x5a80b2(0x9c),'params':{'unitId':_0xb0b6d3[_0x247f69][_0x5a80b2(0xee)],..._0xb0b6d3[_0x247f69][_0x5a80b2(0x178)]}},_0x437844={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb0b6d3[_0x247f69][_0x5a80b2(0xee)],..._0xb0b6d3[_0x247f69][_0x5a80b2(0x205)]}},_0x4d885c=this[_0x5a80b2(0x1bc)]['transformMutation'](_0x1e50d2,_0x3cd713,!0x1),_0x2be7fe=this[_0x5a80b2(0x1bc)][_0x5a80b2(0x225)](_0x5df988,_0x437844,!0x1);if(_0x46cc83[_0x5a80b2(0xe2)](_0x4d885c))throw _0x4d885c['error'];if(_0x46cc83[_0x5a80b2(0xe2)](_0x2be7fe))throw _0x2be7fe['error'];_0x32750c[_0x5a80b2(0x257)]({..._0xb0b6d3[_0x247f69],'undoState':_0x4d885c['m2Prime'][_0x5a80b2(0x2b7)],'redoState':_0x2be7fe['m2Prime'][_0x5a80b2(0x2b7)]}),_0x1e50d2=_0x4d885c['m1Prime'],_0x5df988=_0x2be7fe[_0x5a80b2(0xc9)];}_0x1e50d2=_0x453cf1[_0x5a80b2(0x1e0)][_0x5a80b2(0x256)](_0x270719[_0x5a80b2(0xb9)][0x0]),_0x5df988=_0x453cf1[_0x5a80b2(0x1e0)][_0x5a80b2(0x256)](_0x270719['mutations'][0x0]);for(let _0x3c5a38=_0xf34a53[_0x5a80b2(0x25b)]-0x1;_0x3c5a38>=0x0;_0x3c5a38--){const _0x4ef138={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf34a53[_0x3c5a38]['unitId'],..._0xf34a53[_0x3c5a38]['undoState']}},_0x5d09c1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf34a53[_0x3c5a38]['unitId'],..._0xf34a53[_0x3c5a38]['redoState']}},_0x9394d2=this[_0x5a80b2(0x1bc)][_0x5a80b2(0x225)](_0x1e50d2,_0x4ef138,!0x1),_0x3a362c=this['_transformService'][_0x5a80b2(0x225)](_0x5df988,_0x5d09c1,!0x1);if(_0x46cc83[_0x5a80b2(0xe2)](_0x9394d2))throw _0x9394d2[_0x5a80b2(0x104)];if(_0x46cc83[_0x5a80b2(0xe2)](_0x3a362c))throw _0x3a362c[_0x5a80b2(0x104)];_0x2f9804[_0x5a80b2(0x257)]({..._0xf34a53[_0x3c5a38],'undoState':_0x9394d2[_0x5a80b2(0x2d9)]['params'],'redoState':_0x3a362c[_0x5a80b2(0x2d9)][_0x5a80b2(0x2b7)]}),_0x1e50d2=_0x9394d2[_0x5a80b2(0xc9)],_0x5df988=_0x3a362c[_0x5a80b2(0xc9)];}this['_docStateChangeManagerService'][_0x5a80b2(0xb2)](_0x5c16fb,{'history':_0x32750c,'collaboration':_0x2f9804});}};_0x851025=_0x1bd6c3([_0x407f28(0x0,_0x453cf1['Inject'](_0x453cf1['Injector'])),_0x407f28(0x1,_0x46cc83[_0x1b3cae(0x100)]),_0x407f28(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x608d4f[_0x1b3cae(0x2d5)]))],_0x851025);var _0x79597=Object['getOwnPropertyDescriptor'],_0x1d3982=(_0x223608,_0x27dd51,_0x20e85f,_0x152c1b)=>{const _0x172bb6=_0x1b3cae;for(var _0x18ebca=_0x152c1b>0x1?void 0x0:_0x152c1b?_0x79597(_0x27dd51,_0x20e85f):_0x27dd51,_0x1418c6=_0x223608[_0x172bb6(0x25b)]-0x1,_0x4f4bda;_0x1418c6>=0x0;_0x1418c6--)(_0x4f4bda=_0x223608[_0x1418c6])&&(_0x18ebca=_0x4f4bda(_0x18ebca)||_0x18ebca);return _0x18ebca;},_0x21dbf7=(_0x51e10c,_0x44a7e3)=>(_0x4858aa,_0x302565)=>_0x44a7e3(_0x4858aa,_0x302565,_0x51e10c);let _0x1b9668=class{constructor(_0x59ebce,_0x3552c7){const _0x300522=_0x1b3cae;this[_0x300522(0xb3)]=_0x59ebce,this[_0x300522(0x1bc)]=_0x3552c7;}[_0x1b3cae(0xd3)](_0xb884eb){const _0x5d5172=_0x1b3cae;var _0x3ce281;const _0x4dd2e4=this[_0x5d5172(0xb3)]['get'](_0x131474[_0x5d5172(0x2ad)]),_0x586490=(_0x3ce281=_0x4dd2e4[_0x5d5172(0x2dc)]())!=null?_0x3ce281:[];if(_0x586490[_0x5d5172(0x25b)]===0x0)return;const _0x278866=_0xb884eb[_0x5d5172(0x2f9)],_0x584561=[{'id':_0x5d5172(0x9c),'params':{'unitId':_0x278866,'actions':null,'textRanges':_0x586490}}],_0x3a5f64=this['_transformService'][_0x5d5172(0x2f5)](_0xb884eb,_0x584561);if(!_0x46cc83[_0x5d5172(0x1d5)](_0x3a5f64))throw _0x3a5f64[_0x5d5172(0x104)];const _0xaf6ce2=_0x3a5f64[_0x5d5172(0x2d9)][0x0][_0x5d5172(0x2b7)][_0x5d5172(0x78)];Array[_0x5d5172(0x23d)](_0xaf6ce2)&&_0xaf6ce2[_0x5d5172(0x25b)]&&_0x4dd2e4[_0x5d5172(0x28c)](_0xaf6ce2,{'unitId':_0x278866,'subUnitId':_0x278866},!0x1);}};_0x1b9668=_0x1d3982([_0x21dbf7(0x0,_0x453cf1['Inject'](_0x453cf1[_0x1b3cae(0x25a)])),_0x21dbf7(0x1,_0x46cc83[_0x1b3cae(0x100)])],_0x1b9668);var _0x106b2b=Object['getOwnPropertyDescriptor'],_0x8ad12d=(_0x150dd8,_0x209174,_0x51845e,_0x451e0c)=>{const _0x5bb007=_0x1b3cae;for(var _0x5729e3=_0x451e0c>0x1?void 0x0:_0x451e0c?_0x106b2b(_0x209174,_0x51845e):_0x209174,_0x24d7b4=_0x150dd8[_0x5bb007(0x25b)]-0x1,_0x272180;_0x24d7b4>=0x0;_0x24d7b4--)(_0x272180=_0x150dd8[_0x24d7b4])&&(_0x5729e3=_0x272180(_0x5729e3)||_0x5729e3);return _0x5729e3;},_0x229351=(_0x18d2b0,_0x92e810)=>(_0x3e8bde,_0x56602b)=>_0x92e810(_0x3e8bde,_0x56602b,_0x18d2b0);let _0x45b84f=class extends _0x453cf1['Disposable']{constructor(_0x56a1b8,_0x150c72,_0x31a995,_0x3340b2,_0x572219,_0x53b369,_0x3a5760,_0x367f0b){const _0x19cd75=_0x1b3cae;super(),_0x347b87(this,'_status$',new _0xbcaee6['BehaviorSubject'](_0x16e438[_0x19cd75(0x295)][_0x19cd75(0x294)])),(this[_0x19cd75(0x289)]=_0x56a1b8,this['_collaborationController']=_0x150c72,this['_docTransformIMECacheService']=_0x31a995,this[_0x19cd75(0x1d8)]=_0x3340b2,this[_0x19cd75(0x109)]=_0x572219,this['_docSyncEditingCollabCursorService']=_0x53b369,this[_0x19cd75(0x123)]=_0x3a5760,this['_localeService']=_0x367f0b,this[_0x19cd75(0xbb)]());}[_0x1b3cae(0xbb)](){const _0x181d3b=_0x1b3cae;this[_0x181d3b(0x7a)](this[_0x181d3b(0x197)][_0x181d3b(0x216)]['subscribe'](_0x5934fd=>{const _0x18ba04=_0x181d3b,_0x1abe4c=this[_0x18ba04(0x289)][_0x18ba04(0x81)][_0x18ba04(0x1d0)](_0x21fbc7=>{const _0x1d5a21=_0x18ba04;if(_0x21fbc7==null)return;const {unitId:_0x1f917d,redoState:_0x4e5070,commandId:_0x19e9f7}=_0x21fbc7;if(_0x1f917d!==_0x5934fd[_0x1d5a21(0x2f9)])return;const _0x21f972={'id':_0x19e9f7,'type':_0x453cf1[_0x1d5a21(0x153)]['MUTATION'],'params':{'unitId':_0x1f917d,'actions':_0x4e5070['actions'],'textRanges':null}};_0x5934fd[_0x1d5a21(0xd8)](_0x21f972);});if(_0x5934fd[_0x18ba04(0x7a)](_0x1abe4c),_0x5934fd instanceof _0x16e438[_0x18ba04(0x302)]){const _0x335bc4={'onTransformIME':_0x2e6a55=>this[_0x18ba04(0x239)]['transformIMECache'](_0x2e6a55),'onTransformState':_0x2c0750=>this[_0x18ba04(0x1d8)][_0x18ba04(0x1dc)](_0x2c0750),'onTransformSelections':_0x5d4504=>this[_0x18ba04(0x109)][_0x18ba04(0xd3)](_0x5d4504),'onSyncEditingCollabCursor':_0x4aa904=>this[_0x18ba04(0x258)][_0x18ba04(0x26f)](_0x4aa904),'onTransformRemoteChangesetByIMECache':_0x5530fe=>this[_0x18ba04(0x239)][_0x18ba04(0x2ac)](_0x5530fe),'onTransformRemoteChangesetByStateCache':_0x550ae4=>this[_0x18ba04(0x1d8)][_0x18ba04(0x2ac)](_0x550ae4)};_0x5934fd[_0x18ba04(0x11f)](_0x335bc4);}}));}};_0x45b84f=_0x8ad12d([_0x229351(0x0,_0x453cf1['Inject'](_0x608d4f[_0x1b3cae(0x2d5)])),_0x229351(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x16e438['CollaborationController'])),_0x229351(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x266fb1)),_0x229351(0x3,_0x453cf1['Inject'](_0x851025)),_0x229351(0x4,_0x453cf1[_0x1b3cae(0xea)](_0x1b9668)),_0x229351(0x5,_0x453cf1[_0x1b3cae(0xea)](_0x2493dc)),_0x229351(0x6,_0x34c313[_0x1b3cae(0x1bb)]),_0x229351(0x7,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1['LocaleService']))],_0x45b84f);var _0x15591d=Object['getOwnPropertyDescriptor'],_0x5b0814=(_0x2ddec0,_0x2fadf7,_0x32b649,_0x397a72)=>{const _0x1123af=_0x1b3cae;for(var _0x5f388d=_0x397a72>0x1?void 0x0:_0x397a72?_0x15591d(_0x2fadf7,_0x32b649):_0x2fadf7,_0x3018ef=_0x2ddec0[_0x1123af(0x25b)]-0x1,_0x5751c5;_0x3018ef>=0x0;_0x3018ef--)(_0x5751c5=_0x2ddec0[_0x3018ef])&&(_0x5f388d=_0x5751c5(_0x5f388d)||_0x5f388d);return _0x5f388d;},_0x3acced=(_0x110124,_0x45208d)=>(_0x466e77,_0x3a7b8f)=>_0x45208d(_0x466e77,_0x3a7b8f,_0x110124);let _0x2e0722=class extends _0x453cf1[_0x1b3cae(0xb5)]{constructor(_0x5a9bb4,_0x5af81d,_0x34d620){const _0x460022=_0x1b3cae;super(),_0x347b87(this,_0x460022(0x24b),new Map()),_0x347b87(this,_0x460022(0x259),new Map()),_0x347b87(this,'_disabled',!0x1),(this[_0x460022(0x2b3)]=_0x5a9bb4,this['_localStorageService']=_0x5af81d,this[_0x460022(0x2a9)]=_0x34d620);}[_0x1b3cae(0x264)](){const _0x1bf134=_0x1b3cae;this[_0x1bf134(0x1cf)]=!0x0;}[_0x1b3cae(0x28f)](){this['_disabled']=!0x1;}get[_0x1b3cae(0x269)](){const _0x1f8233=_0x1b3cae;return this[_0x1f8233(0x259)];}[_0x1b3cae(0x2d6)](){const _0x1bddba=_0x1b3cae;this[_0x1bddba(0x1b5)]()[_0x1bddba(0x93)](()=>super['dispose']());}async[_0x1b3cae(0x1d3)](_0x49dbe8){const _0x287927=_0x1b3cae;return this[_0x287927(0x1cf)]?null:this[_0x287927(0x2e4)][_0x287927(0x6d)](_0x16e438[_0x287927(0x88)](_0x49dbe8));}async['saveOfflineData'](_0x5587d3,_0x21f57d){const _0x203dac=_0x1b3cae;return!!this[_0x203dac(0x2e4)][_0x203dac(0x2f4)](_0x5587d3,_0x21f57d);}[_0x1b3cae(0x194)](_0x3ecccf,_0x1bad63,_0x1d2fcb,_0x1c2268){const _0x2f5a07=_0x1b3cae,_0x2734f4=this[_0x2f5a07(0x2a9)]['getCurrentRevOfUnit'](_0x3ecccf);this[_0x2f5a07(0x24b)]['set'](_0x3ecccf,{'unitID':_0x3ecccf,'type':_0x1bad63,'awaitingChangeset':_0x1d2fcb,'mutations':_0x1c2268,'rev':_0x2734f4}),this[_0x2f5a07(0x259)][_0x2f5a07(0x22e)](_0x3ecccf)||this['_scheduleSaving'](_0x3ecccf);}[_0x1b3cae(0x184)](_0x1bee3d){const _0x1c218f=_0x1b3cae,_0x4d57e4=this[_0x1c218f(0x298)]();_0x4d57e4===0x0?this[_0x1c218f(0x255)](_0x1bee3d):this[_0x1c218f(0x259)]['set'](_0x1bee3d,setTimeout(()=>this[_0x1c218f(0x255)](_0x1bee3d),_0x4d57e4));}[_0x1b3cae(0x298)](){const _0x3aedd8=_0x1b3cae;var _0x520f10;return(_0x520f10=this[_0x3aedd8(0x2b3)][_0x3aedd8(0xae)](_0x16e438['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x520f10:_0x16e438['LOCAL_CACHE_INTERVAL'];}[_0x1b3cae(0x255)](_0x5dab48){const _0x420f1c=_0x1b3cae,_0x3a4b98=this['_saveTaskMap'][_0x420f1c(0x1b8)](_0x5dab48);return _0x3a4b98!==void 0x0&&window[_0x420f1c(0x211)](_0x3a4b98),this[_0x420f1c(0x2e4)][_0x420f1c(0x2f4)](_0x16e438['getLocalCacheKey'](_0x5dab48),this[_0x420f1c(0x24b)]['get'](_0x5dab48))[_0x420f1c(0x93)](()=>this[_0x420f1c(0x259)][_0x420f1c(0xbf)](_0x5dab48));}async[_0x1b3cae(0x1b5)](){const _0x58f5c1=_0x1b3cae,_0x46a811=[];this[_0x58f5c1(0x259)][_0x58f5c1(0x2d0)]((_0x2e338f,_0x30d6fe)=>{const _0x262846=_0x58f5c1;window['clearTimeout'](_0x2e338f),_0x46a811[_0x262846(0x15a)](this[_0x262846(0x255)](_0x30d6fe)[_0x262846(0x93)](()=>{const _0x5103cc=_0x262846;this['_saveTaskMap'][_0x5103cc(0xbf)](_0x30d6fe);}));}),await Promise[_0x58f5c1(0x2b4)](_0x46a811);}};_0x2e0722=_0x5b0814([_0x3acced(0x0,_0x453cf1[_0x1b3cae(0x1b0)]),_0x3acced(0x1,_0x453cf1[_0x1b3cae(0xe1)]),_0x3acced(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x46cc83[_0x1b3cae(0x300)]))],_0x2e0722);class _0x2d4089 extends _0x453cf1['RxDisposable']{constructor(){const _0xa6ae2a=_0x1b3cae;super(),_0x347b87(this,_0xa6ae2a(0x152)),this[_0xa6ae2a(0x152)]=_0xbcaee6[_0xa6ae2a(0x1e6)](window,_0xa6ae2a(0x222))[_0xa6ae2a(0x11d)](_0xbcaee6['takeUntil'](this[_0xa6ae2a(0x162)]),_0xbcaee6[_0xa6ae2a(0x20a)](0x1),_0xbcaee6[_0xa6ae2a(0x17f)](void 0x0));}[_0x1b3cae(0x25f)](_0x84e08c,_0x2cca20,_0x1dd978=!0x1){const _0x511a38=_0x1b3cae,_0x17eb3d=new URL(window[_0x511a38(0x14a)]['href']);_0x17eb3d[_0x511a38(0x1bd)]['set'](_0x84e08c,_0x2cca20),_0x1dd978?window[_0x511a38(0x8e)][_0x511a38(0x277)]('','',_0x17eb3d[_0x511a38(0xa6)]()):window['history'][_0x511a38(0x1f2)]('','',_0x17eb3d['toString']());}['removeParam'](_0x36e0bc,_0x31b719=!0x1){const _0x244d74=_0x1b3cae,_0x27e542=new URL(window['location'][_0x244d74(0x77)]);_0x27e542[_0x244d74(0x1bd)][_0x244d74(0xbf)](_0x36e0bc),_0x31b719?window[_0x244d74(0x8e)]['replaceState']('','',_0x27e542['toString']()):window[_0x244d74(0x8e)][_0x244d74(0x1f2)]('','',_0x27e542[_0x244d74(0xa6)]());}['getParam'](_0xcbd86e){const _0x2dee41=_0x1b3cae;var _0x4846fe;return(_0x4846fe=new URL(window['location']['href'])[_0x2dee41(0x1bd)]['get'](_0xcbd86e))!=null?_0x4846fe:void 0x0;}}var _0x542c4e=Object[_0x1b3cae(0x21e)],_0x3da9f2=Object[_0x1b3cae(0x16b)],_0x544356=(_0x26c695,_0x648957,_0x3de022)=>_0x648957 in _0x26c695?_0x542c4e(_0x26c695,_0x648957,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3de022}):_0x26c695[_0x648957]=_0x3de022,_0x3f65a4=(_0x331dfa,_0x1dbcb7,_0xfe7b0b,_0x1ecc34)=>{const _0x3e83ac=_0x1b3cae;for(var _0x46ef68=_0x1ecc34>0x1?void 0x0:_0x1ecc34?_0x3da9f2(_0x1dbcb7,_0xfe7b0b):_0x1dbcb7,_0x1f36b2=_0x331dfa[_0x3e83ac(0x25b)]-0x1,_0x6085d1;_0x1f36b2>=0x0;_0x1f36b2--)(_0x6085d1=_0x331dfa[_0x1f36b2])&&(_0x46ef68=_0x6085d1(_0x46ef68)||_0x46ef68);return _0x46ef68;},_0x19890c=(_0x4e0bf3,_0xf6bdeb)=>(_0x4195cf,_0x3f9fd9)=>_0xf6bdeb(_0x4195cf,_0x3f9fd9,_0x4e0bf3),_0x5bf9e4=(_0x81ad45,_0x262484,_0x35d6ca)=>_0x544356(_0x81ad45,_0x262484+'',_0x35d6ca);const _0xf9e55e='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1a2a0b[_0x1b3cae(0x1f7)]=class extends _0x453cf1[_0x1b3cae(0x1cb)]{constructor(_0x534908=_0x382753,_0x48dfa9,_0x556e3d,_0x37680d){const _0x3c8db0=_0x1b3cae;super(),this[_0x3c8db0(0x18d)]=_0x534908,this[_0x3c8db0(0x29f)]=_0x48dfa9,this[_0x3c8db0(0xb3)]=_0x556e3d,this[_0x3c8db0(0x2b3)]=_0x37680d;const {..._0x12e444}=_0x453cf1['merge']({},_0x382753,this[_0x3c8db0(0x18d)]);this[_0x3c8db0(0x2b3)]['setConfig'](_0x439bc2,_0x12e444);}['onStarting'](){const _0x5f285b=_0x1b3cae;this[_0x5f285b(0x1dd)](),this[_0x5f285b(0x202)]();}[_0x1b3cae(0x1e2)](){const _0x4e66da=_0x1b3cae;this[_0x4e66da(0x292)]();}[_0x1b3cae(0x1dd)](){const _0x3ac2e5=_0x1b3cae;var _0x58b0e2;const _0x1ee483=[[_0xd0f6e4],[_0x1b9668],[_0x266fb1],[_0x851025],[_0x2493dc],[_0x2b819d,{'useClass':_0x2d4089}],[_0x5df904[_0x3ac2e5(0x102)],{'useClass':_0x5df904[_0x3ac2e5(0x9e)]}],[_0x16e438[_0x3ac2e5(0x1ef)],{'useClass':_0x2e0722}],[_0x1a2a0b[_0x3ac2e5(0x2bc)]],[_0x45b84f],[_0x2745a2],[_0x40540a],[_0x1f14ca],[_0x1a2a0b[_0x3ac2e5(0x21c)]]];_0x453cf1['registerDependencies'](this[_0x3ac2e5(0xb3)],_0x453cf1[_0x3ac2e5(0x2fa)](_0x1ee483,(_0x58b0e2=this[_0x3ac2e5(0x18d)])==null?void 0x0:_0x58b0e2[_0x3ac2e5(0x280)]));}[_0x1b3cae(0x292)](){const _0x3590f7=_0x1b3cae;this['disposeWithMe'](this['_renderManagerService'][_0x3590f7(0x180)](_0x453cf1[_0x3590f7(0x270)][_0x3590f7(0x2c2)],[_0x32f903])),this[_0x3590f7(0x7a)](this[_0x3590f7(0x29f)][_0x3590f7(0x180)](_0x453cf1['UniverInstanceType'][_0x3590f7(0xbe)],[_0x20126d]));}[_0x1b3cae(0x202)](){const _0x3eec84=_0x1b3cae;_0x453cf1[_0x3eec84(0x22f)](this[_0x3eec84(0xb3)],[[_0x40540a],[_0x1a2a0b[_0x3eec84(0x2bc)]],[_0x45b84f],[_0x2745a2],[_0x1a2a0b[_0x3eec84(0x21c)]]]);}},_0x5bf9e4(_0x1a2a0b['UniverCollaborationClientUIPlugin'],_0x1b3cae(0x231),_0xf9e55e),_0x1a2a0b[_0x1b3cae(0x1f7)]=_0x3f65a4([_0x453cf1['DependentOn'](_0x16e438['UniverCollaborationClientPlugin']),_0x19890c(0x1,_0xa264dd[_0x1b3cae(0x18f)]),_0x19890c(0x2,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1['Injector'])),_0x19890c(0x3,_0x453cf1[_0x1b3cae(0x1b0)])],_0x1a2a0b[_0x1b3cae(0x1f7)]);var _0x36a30a=Object[_0x1b3cae(0x16b)],_0x2f28cc=(_0x214936,_0x10d58e,_0x48edb9,_0x1bc2fc)=>{const _0xddc38b=_0x1b3cae;for(var _0x337341=_0x1bc2fc>0x1?void 0x0:_0x1bc2fc?_0x36a30a(_0x10d58e,_0x48edb9):_0x10d58e,_0x156927=_0x214936[_0xddc38b(0x25b)]-0x1,_0x2fba23;_0x156927>=0x0;_0x156927--)(_0x2fba23=_0x214936[_0x156927])&&(_0x337341=_0x2fba23(_0x337341)||_0x337341);return _0x337341;},_0x3e80d0=(_0xd9d132,_0x178223)=>(_0x568c52,_0x5109e5)=>_0x178223(_0x568c52,_0x5109e5,_0xd9d132);_0x1a2a0b[_0x1b3cae(0x2da)]=class extends _0x16e438['CollaborationSocketService']{constructor(_0x59aadb,_0x2afdf5,_0x2ab8a7,_0x3ab0e2,_0x36dd25){super(_0x59aadb,_0x2afdf5,_0x2ab8a7,_0x3ab0e2,_0x36dd25);}async[_0x1b3cae(0x165)](_0x5ce882){const _0x59dcca=_0x1b3cae,_0x4820e8=await this['_getSessionTicket'](),_0x1692c1=this[_0x59dcca(0x2d4)](_0x5ce882,_0x4820e8);return this[_0x59dcca(0x185)](_0x1692c1);}['_createSocketURL'](_0x5df6ff,_0x259b4d){const _0x2bdadc=_0x1b3cae,_0x40eee1=typeof window>'u'?new URL(_0x5df6ff):new URL(_0x5df6ff,window['location'][_0x2bdadc(0x126)]);_0x40eee1[_0x2bdadc(0x1bd)][_0x2bdadc(0x234)]('sessionTicket',_0x259b4d);const _0x543457=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x543457[_0x2bdadc(0x1b8)](_0x2bdadc(0x2b6))&&_0x40eee1[_0x2bdadc(0x1bd)][_0x2bdadc(0x234)](_0x2bdadc(0x2b6),_0x543457[_0x2bdadc(0x1b8)](_0x2bdadc(0x2b6))),_0x40eee1[_0x2bdadc(0xa6)]();}async['_getSessionTicket'](){const _0x279dba=_0x1b3cae;var _0x4c2f70,_0x22b7b5,_0x5ed886;const _0x5ee9cd=this[_0x279dba(0x2b3)][_0x279dba(0xae)](_0x16e438[_0x279dba(0x1c9)]),_0x33c2c4=(_0x4c2f70=_0x5ee9cd==null?void 0x0:_0x5ee9cd[_0x279dba(0x2c0)])!=null?_0x4c2f70:_0x16e438['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5ed886=(_0x22b7b5=(await this[_0x279dba(0x16d)][_0x279dba(0x1b8)](_0x33c2c4,{'headers':{'Content-Type':'application/json'}}))[_0x279dba(0x2e5)])==null?void 0x0:_0x22b7b5['ticket'])!=null?_0x5ed886:'';}},_0x1a2a0b[_0x1b3cae(0x2da)]=_0x2f28cc([_0x3e80d0(0x0,_0x453cf1[_0x1b3cae(0xea)](_0x453cf1[_0x1b3cae(0x25a)])),_0x3e80d0(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x5df904[_0x1b3cae(0xfd)])),_0x3e80d0(0x2,_0x453cf1[_0x1b3cae(0x1b0)]),_0x3e80d0(0x3,_0x453cf1[_0x1b3cae(0x27b)]),_0x3e80d0(0x4,_0x46cc83[_0x1b3cae(0x253)])],_0x1a2a0b['BrowserCollaborationSocketService']);const _0x386161=0x7530,_0xc23adf=_0x1b3cae(0x147);class _0x5f2b88 extends _0x453cf1['Disposable']{constructor(){const _0x96831b=_0x1b3cae;super(),_0x347b87(this,_0x96831b(0x17d),_0x453cf1[_0x96831b(0x229)]()),_0x347b87(this,'_selfUnitIDs',new Set()),_0x347b87(this,_0x96831b(0x245),new Map()),_0x347b87(this,_0x96831b(0x190),null),_0x347b87(this,_0x96831b(0x215),new Map()),_0x347b87(this,_0x96831b(0x101),new Map()),this[_0x96831b(0xff)]();}['dispose'](){const _0x949c45=_0x1b3cae;super[_0x949c45(0x2d6)](),this[_0x949c45(0x215)]['forEach']((_0x3c7493,_0xb5f0fa)=>this[_0x949c45(0x1b9)](_0xb5f0fa)),this['_heartbeatTimer']&&window[_0x949c45(0x135)](this[_0x949c45(0x190)]);}[_0x1b3cae(0x142)](_0x400add){const _0x581b45=_0x1b3cae;return this[_0x581b45(0x10a)](_0x400add)[_0x581b45(0x11d)](_0xbcaee6[_0x581b45(0x2d1)]());}[_0x1b3cae(0x299)](_0x1d9456){const _0x15ee39=_0x1b3cae;this[_0x15ee39(0x173)][_0x15ee39(0x204)]===0x0&&this['_scheduleHeartbeat'](),this[_0x15ee39(0x173)][_0x15ee39(0x210)](_0x1d9456),this['_send']({'type':0x0,'memberID':this[_0x15ee39(0x17d)],'unitIDs':[_0x1d9456],'isForwarded':!0x1});}['disposeUnit'](_0xf0d1c7){const _0x4ec9a2=_0x1b3cae;this[_0x4ec9a2(0x173)][_0x4ec9a2(0xbf)](_0xf0d1c7),this[_0x4ec9a2(0x173)][_0x4ec9a2(0x204)]===0x0&&this[_0x4ec9a2(0x190)]&&window[_0x4ec9a2(0x135)](this['_heartbeatTimer']);}[_0x1b3cae(0xff)](){const _0x12a246=_0x1b3cae;this[_0x12a246(0x7a)](_0x453cf1['toDisposable'](_0xbcaee6[_0x12a246(0x1e6)](window,_0x12a246(0xb0))[_0x12a246(0x1d0)](_0x2dd086=>{const _0x41bd34=_0x12a246;if(_0x2dd086[_0x41bd34(0x2a1)]!==_0xc23adf||!_0x2dd086[_0x41bd34(0xe6)])return;const _0x8e7652=JSON[_0x41bd34(0x261)](_0x2dd086['newValue']);this['_handleEvent'](_0x8e7652);}))),window[_0x12a246(0x1b6)](_0x12a246(0xec),()=>this['_send']({'type':0x1,'memberID':this[_0x12a246(0x17d)],'unitIDs':Array[_0x12a246(0x2a3)](this[_0x12a246(0x173)])}));}[_0x1b3cae(0x305)](_0x1d6789){const _0x3f60fd=_0x1b3cae;switch(_0x1d6789[_0x3f60fd(0xb4)]){case 0x0:this[_0x3f60fd(0x2a7)](_0x1d6789);break;case 0x1:this[_0x3f60fd(0x2b5)](_0x1d6789);break;case 0x2:this['_handleHeartbeatEvent'](_0x1d6789);break;}}['_handleJoinEvent'](_0x1ab178){const _0x3923a4=_0x1b3cae,{unitIDs:_0x1cd0fa,memberID:_0x46a4a9,isForwarded:_0x308482}=_0x1ab178;_0x1cd0fa[_0x3923a4(0x2d0)](_0x5c8ca8=>{const _0x150075=_0x3923a4;if(!_0x308482&&this[_0x150075(0x245)]['has'](_0x5c8ca8)&&this[_0x150075(0x10a)](_0x5c8ca8)['next'](_0x16e438[_0x150075(0x23f)][_0x150075(0x2ae)]),!this[_0x150075(0x245)][_0x150075(0x22e)](_0x5c8ca8)||!this['_unitOnClients'][_0x150075(0x1b8)](_0x5c8ca8)['has'](_0x46a4a9)){const _0x521e11=this[_0x150075(0x245)]['get'](_0x5c8ca8)||new Set();_0x521e11['add'](_0x46a4a9),this[_0x150075(0x245)][_0x150075(0x234)](_0x5c8ca8,_0x521e11),this[_0x150075(0x254)](_0x46a4a9);}}),_0x308482||this[_0x3923a4(0x2b9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3923a4(0x173)]],'isForwarded':!0x0});}[_0x1b3cae(0x254)](_0x4116ef){const _0x461176=_0x1b3cae;this['_removeClearOtherTimer'](_0x4116ef);const _0x5e4ea7=window[_0x461176(0x22b)](()=>{const _0x28fa2f=_0x461176;this[_0x28fa2f(0x245)][_0x28fa2f(0x2d0)](_0x5db061=>{const _0x20fe7f=_0x28fa2f;_0x5db061[_0x20fe7f(0xbf)](_0x4116ef);});},_0x386161*0x2);this[_0x461176(0x215)][_0x461176(0x234)](_0x4116ef,_0x5e4ea7);}[_0x1b3cae(0x1b9)](_0x23db70){const _0x335c4c=_0x1b3cae;if(this[_0x335c4c(0x215)]['has'](_0x23db70)){const _0x33a4a7=this[_0x335c4c(0x215)]['get'](_0x23db70);_0x33a4a7&&window[_0x335c4c(0x211)](_0x33a4a7),this[_0x335c4c(0x215)][_0x335c4c(0x234)](_0x23db70,null);}}[_0x1b3cae(0x2b5)](_0x43ea54){const _0x432a6=_0x1b3cae,{memberID:_0xbdb7,unitIDs:_0x4c54e5}=_0x43ea54;_0x4c54e5[_0x432a6(0x2d0)](_0x2dd1c8=>{const _0x36edbf=_0x432a6;var _0xa576f7;const _0x59a2c1=this['_unitOnClients'][_0x36edbf(0x1b8)](_0x2dd1c8);_0x59a2c1&&(_0x59a2c1[_0x36edbf(0xbf)](_0xbdb7),(_0xa576f7=this['_ensureSubject'](_0x2dd1c8))==null||_0xa576f7[_0x36edbf(0x290)](_0x59a2c1['size']===0x0?_0x16e438[_0x36edbf(0x23f)][_0x36edbf(0x29a)]:_0x16e438[_0x36edbf(0x23f)][_0x36edbf(0x2ae)]));}),this[_0x432a6(0x1b9)](_0xbdb7);}['_handleHeartbeatEvent'](_0x8a1e0){const _0x138763=_0x1b3cae;this[_0x138763(0x254)](_0x8a1e0[_0x138763(0x201)]);}[_0x1b3cae(0x2b9)](_0x373d24){const _0xf53ec0=_0x1b3cae;localStorage[_0xf53ec0(0x2f4)](_0xc23adf,JSON[_0xf53ec0(0x18e)](_0x373d24));}[_0x1b3cae(0x2b1)](){const _0x1ab80e=_0x1b3cae;this[_0x1ab80e(0x190)]=window[_0x1ab80e(0x2bd)](()=>{const _0x571a4c=_0x1ab80e;this['_send']({'type':0x2,'memberID':this[_0x571a4c(0x17d)]});},_0x386161);}[_0x1b3cae(0x10a)](_0x4ca215){const _0x2c6b0f=_0x1b3cae;return this[_0x2c6b0f(0x101)][_0x2c6b0f(0x22e)](_0x4ca215)||this[_0x2c6b0f(0x101)][_0x2c6b0f(0x234)](_0x4ca215,new _0xbcaee6['BehaviorSubject'](_0x16e438['UnitStatus'][_0x2c6b0f(0x29a)])),this[_0x2c6b0f(0x101)][_0x2c6b0f(0x1b8)](_0x4ca215);}}var _0x5dd119=(_0x1ef3c9=>(_0x1ef3c9[_0x1ef3c9['UNDEFINED']=0x0]=_0x1b3cae(0x11b),_0x1ef3c9[_0x1ef3c9['OK']=0x1]='OK',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x70)]=0x2]=_0x1b3cae(0x70),_0x1ef3c9[_0x1ef3c9['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2b0)]=0x4]=_0x1b3cae(0x2b0),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x7b)]=0x5]='UNAUTHENTICATED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x151)]=0x6]=_0x1b3cae(0x151),_0x1ef3c9[_0x1ef3c9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x82)]=0x8]=_0x1b3cae(0x82),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x9d)]=0x9]=_0x1b3cae(0x9d),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2e2)]=0xa]=_0x1b3cae(0x2e2),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x137)]=0xb]=_0x1b3cae(0x137),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x287)]=0xc]=_0x1b3cae(0x287),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x11c)]=0xd]=_0x1b3cae(0x11c),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x1e9)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x187)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2eb)]=0x1771]=_0x1b3cae(0x2eb),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x285)]=0x1772]=_0x1b3cae(0x285),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xc8)]=0x1773]=_0x1b3cae(0xc8),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xd9)]=0x1b59]='APPLY_REJECT',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x182)]=0x1b5a]=_0x1b3cae(0x182),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x242)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x12b)]=0x1b5c]=_0x1b3cae(0x12b),_0x1ef3c9[_0x1ef3c9['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x1ad)]=0x1f41]=_0x1b3cae(0x1ad),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x15f)]=0x2329]=_0x1b3cae(0x15f),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2c6)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x145)]=0x232b]=_0x1b3cae(0x145),_0x1ef3c9[_0x1ef3c9['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xc4)]=0x232d]=_0x1b3cae(0xc4),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x1e4)]=0x2711]=_0x1b3cae(0x1e4),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x168)]=0x2712]=_0x1b3cae(0x168),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x23e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1ef3c9[_0x1ef3c9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xa7)]=0x271a]=_0x1b3cae(0xa7),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x26b)]=0x271b]=_0x1b3cae(0x26b),_0x1ef3c9[_0x1ef3c9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1b3cae(0x2f2),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2f3)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2bb)]=0x271e]=_0x1b3cae(0x2bb),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x2cb)]=0x271f]=_0x1b3cae(0x2cb),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xf6)]=0x2720]=_0x1b3cae(0xf6),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x247)]=0x2af9]=_0x1b3cae(0x247),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0xe3)]=0x2ee1]=_0x1b3cae(0xe3),_0x1ef3c9[_0x1ef3c9['INVALID_INVITE_CODE']=0x2ee2]=_0x1b3cae(0x105),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x12e)]=0x2ee3]=_0x1b3cae(0x12e),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x183)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x1e5)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x19b)]=0x32c9]=_0x1b3cae(0x19b),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x15e)]=0x32ca]=_0x1b3cae(0x15e),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x28e)]=0x32cb]=_0x1b3cae(0x28e),_0x1ef3c9[_0x1ef3c9[_0x1b3cae(0x206)]=-0x1]=_0x1b3cae(0x206),_0x1ef3c9))(_0x5dd119||{}),_0x75b1ea=Object[_0x1b3cae(0x16b)],_0x3fedd1=(_0x2173f6,_0x411aab,_0x196a77,_0x343c1d)=>{for(var _0xe730e9=_0x343c1d>0x1?void 0x0:_0x343c1d?_0x75b1ea(_0x411aab,_0x196a77):_0x411aab,_0x11b1fe=_0x2173f6['length']-0x1,_0x2dd046;_0x11b1fe>=0x0;_0x11b1fe--)(_0x2dd046=_0x2173f6[_0x11b1fe])&&(_0xe730e9=_0x2dd046(_0xe730e9)||_0xe730e9);return _0xe730e9;},_0x205599=(_0xde4e25,_0x568092)=>(_0xcbdf8d,_0x13c3c2)=>_0x568092(_0xcbdf8d,_0x13c3c2,_0xde4e25);_0x1a2a0b['RemoteUniscriptService']=class extends _0x453cf1['Disposable']{constructor(_0x1c273e,_0x4699ae,_0x2efb3c){const _0xc2441b=_0x1b3cae;super(),this['_instanceService']=_0x1c273e,this[_0xc2441b(0x16d)]=_0x4699ae,this[_0xc2441b(0x2b3)]=_0x2efb3c;}async[_0x1b3cae(0x148)](_0x76315f,_0x629f74,_0x127cf6,..._0x13a9b9){const _0x1f11b5=_0x1b3cae;var _0x3fcc69,_0x173b5a,_0x4837ae,_0x33bf64;const _0x2c4b0e=this['_instanceService'][_0x1f11b5(0xc0)]();if(!_0x2c4b0e)throw new Error(_0x1f11b5(0x281));const _0x59a2fb=((_0x3fcc69=this[_0x1f11b5(0x2b3)][_0x1f11b5(0xae)](_0x16e438[_0x1f11b5(0x2f6)]))!=null?_0x3fcc69:_0x16e438['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x76315f+_0x1f11b5(0x2f0)+_0x629f74,_0x4f3cf8=new URL(window['location'][_0x1f11b5(0x77)]),_0x20912e={'scriptId':_0x76315f,'runId':(_0x173b5a=_0x4f3cf8[_0x1f11b5(0x1bd)][_0x1f11b5(0x1b8)](_0x1f11b5(0x2b6)))!=null?_0x173b5a:'','function':_0x629f74,'unitId':_0x2c4b0e[_0x1f11b5(0x13d)](),'argsOfFunction':JSON[_0x1f11b5(0x18e)](_0x13a9b9),'invokeId':(_0x4837ae=_0x127cf6[_0x1f11b5(0xde)])!=null?_0x4837ae:'','executionId':(_0x33bf64=_0x127cf6[_0x1f11b5(0x9a)])!=null?_0x33bf64:''};try{const _0x5618ad=await this[_0x1f11b5(0x16d)][_0x1f11b5(0x2cc)](_0x59a2fb,{'body':_0x20912e});return _0x5618ad[_0x1f11b5(0x2e5)][_0x1f11b5(0x104)]&&_0x5618ad['body'][_0x1f11b5(0x104)][_0x1f11b5(0x69)]!==_0x5dd119['OK']?_0x1f11b5(0x138):_0x5618ad[_0x1f11b5(0x2e5)][_0x1f11b5(0x76)];}catch{return _0x1f11b5(0x138);}}},_0x1a2a0b[_0x1b3cae(0xf7)]=_0x3fedd1([_0x205599(0x0,_0x453cf1[_0x1b3cae(0x1e7)]),_0x205599(0x1,_0x453cf1[_0x1b3cae(0xea)](_0x5df904[_0x1b3cae(0xfd)])),_0x205599(0x2,_0x453cf1['IConfigService'])],_0x1a2a0b[_0x1b3cae(0xf7)]),_0x1a2a0b[_0x1b3cae(0x195)]=_0x1a7cba,_0x1a2a0b[_0x1b3cae(0x114)]=_0x2b819d,_0x1a2a0b[_0x1b3cae(0x8d)]=_0x4040fc,_0x1a2a0b[_0x1b3cae(0xce)]=_0x5f2b88,_0x1a2a0b[_0x1b3cae(0x271)]=_0x2d4089,Object[_0x1b3cae(0x21e)](_0x1a2a0b,Symbol[_0x1b3cae(0x8b)],{'value':_0x1b3cae(0x2ee)});}));function _0x311b(_0x158b3d,_0x174073){const _0x447e16=_0x447e();return _0x311b=function(_0x311b88,_0x5a32fb){_0x311b88=_0x311b88-0x69;let _0x214d00=_0x447e16[_0x311b88];return _0x214d00;},_0x311b(_0x158b3d,_0x174073);}function _0x447e(){const _0x4d6b7f=['collaboration.single-unit.warning','onCommandExecuted','top','33685hmeDxF','_univerInstanceService','memberID','_initDependencies','_setupSubUnitSync','size','redoState','UNRECOGNIZED','data','createElement','xlink:href','shareReplay','find','InsertRowCommandId','restore','handleInsertRangeMoveRight','trim','add','clearTimeout','NodePositionConvertToCursor','skeleton','RefRangeService','_clearOtherTimers','entityInit$','handleDeleteRangeMoveUp','height','collaboration.closeRoom','@univerjs/design','includes','CollaborationDataLoaderController','DocIMEInputManagerService','defineProperty','_shapes','tag','getMember','popstate','Shape','getAncestorScale','transformMutation','@univerjs/drawing','clsx','mask','generateRandomId','getOffsetConfig','setTimeout','UPDATE_CURSOR','getRenderById','has','touchDependencies','getSkeleton','pluginName','sheetID','getValue','set','url(#on-line-icon_clip0_910_349)','getRelativeToViewportCoord','UniverDocsUi','onTransformChange$','_docTransformIMECacheService','COLORS','url(#$1','drawWith','isArray','YUUMI_RATE_OVER_LIMIT','UnitStatus','NodePositionConvertToRectRange','_memberService','APPLY_REVISION_CONFILICT','getOwnPropertySymbols','ranges','_unitOnClients','_transformHistoryAndStateStack','PY_RUNTIME_SCRIPT_ERROR','UniverProCollaborationClient','_handleHover','idSuffix','_cachedData','_lastPointer','complete','event$','4653729FDWOvv','_updateCollabCursors','width','IDocClipboardService','ISnapshotServerService','_scheduleClearOtherTimer','_saveCache','deepClone','unshift','_docSyncEditingCollabCursorService','_saveTaskMap','Injector','length','throttleTime','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','setParam','_draw','parse','_uiPartsService','jsx','disableLocalCache','UniverProCollaboration','rxjs','indexOf','_hovered','saveTaskMap','BehaviorSubject','YUUMI_ASYNCIO_CANCELLED','_imageIoService','_eventUnsubscribe','RECT','syncEditingCollabCursor','UniverInstanceType','WebURLService','collab-rect-range-','combineLatest','RxDisposable','LocaleService','onPointerEnter$','replaceState','setAlpha','SetTextSelectionsOperation','_collabCursorController','ILogService','_startDocCollabCursor','4DAbjlE','url(#off-line-icon_clip0_910_343)','engine','override','[RemoteUniscriptService]:\x20no\x20focused\x20unit','path','_anchorDot','SetWorksheetActivateCommand','SNAPSHOT_HAS_BEEN_REMOVED','text','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','@univerjs/docs-ui','_docStateChangeManagerService','_transformUndoRedoStack','startRow','replaceDocRanges','handleDeleteRangeMoveLeft','EMAIL_HAS_BEEN_BOUND','enableLocalCache','next','handleIRemoveRow','_registerRenderDependencies','symbol','NOT_COLLAB','CollaborationStatus','_range','_initCommandExecutedListener','_getSaveTimeout','editingUnit','NO_OTHER_CLIENTS_EDITING','lineTo','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','collab-text-range-','InsertColCommandId','_renderManagerService','SOCKET_FAILED_RETRY','key','DeleteRangeMoveLeftCommandId','from','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','DOC_RANGE_TYPE','prototype','_handleJoinEvent','startsWith','_revisionService','CollaborationUIEventService','@univerjs-pro/collaboration-client','transformRemoteChangeset','DocSelectionManagerService','OTHER_CLIENTS_EDITING','getSheetObject','NOT_FOUND','_scheduleHeartbeat','labelPosition','_configService','all','_handleLeaveEvent','runId','params','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_send','className','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DesktopCollaborationStatusDisplayController','setInterval','InsertRangeMoveRightCommandId','status$','wsSessionTicketUrl','init','UNIVER_DOC','UniverRpc','executeCommand','UniverDesign','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','jiqing.500','requireSession','switchMap','extend','YUUMI_AI_RUN_FAILED','post','_syncEditingCollabCursorService','setActiveRange','CLOSE_ROOM','forEach','distinctUntilChanged','debounce','entries','_createSocketURL','DocStateChangeManagerService','dispose','MoveRangeCommandId','registerRefRange','m2Prime','BrowserCollaborationSocketService','_drawRectRange','getDocRanges','unsubscribe','@univerjs/core','addObjects','_online','defIds','LOGIN_FAILED','collaboration-client-ui.config','_localStorageService','body','_toggleOnline','_collaborationUIEventService','onMouseMove','currentColor','fillStyle','SNAPSHOT_INVALID_SNAPSHOT','1152536lAYjZn','getColorFromTheme','Module','transform','/run/','handleInsertRow','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_ALL_TABLES_IS_INVALID','setItem','transformMutationsWithChangeset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getCoordByCell','takeUntil','unitID','mergeOverrideWithDependencies','save','@univerjs/engine-formula','_cursorInfo$','column','BuiltInUIPart','RevisionService','Tooltip','DocCollaborationEntity','_getScale','Warning','_handleEvent','SessionStatus','code','black','CollaborationEvent','_drawAnchor','getItem','_initResize','RemoveRowCommandId','INTERNAL_ERROR','defs','_commandService','_refreshCollabCursors','ThemeService','sheetId','result','href','textRanges','_localCacheService','disposeWithMe','UNAUTHENTICATED','TEXT','@univerjs/rpc','selections','Vector2','_docSkeletonManagerService','docStateChange$','TOO_MANY_REQUESTS','CollaborationSessionService','[CollaborationDataLoaderController]','UniverDrawing','jsxs','40IApkwN','getLocalCacheKey','_getMergeRange','sessionStatus$','toStringTag','_colorIndex','SheetCollabCursorShape','history','rxjs/operators','arc','transformIMECache','translate(.97)','then','fillRule','UniverSheetsUi','endRow','getColor','DataLoaderService','beginPath','executionId','_getSheetObject','doc.mutation.rich-text-editing','COMPLETION_FINISHED','WebSocketService','#FFF','_themeService','hasOwnProperty','DeleteRangeMoveUpCommandId','AWAITING','onPointerMove$','Unknown\x20user','toString','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationController','664166FADOyi','_cursors','@univerjs-pro/collaboration','_beforeCloseService','354RlLBsc','getConfig','evenodd','storage','IImageIoService','setStateCache','_injector','type','Disposable','OTHER_CLIENT_EDITING','setShapeProps','connectInjector','mutations','_session','_initEntityListener','hide','FromArray','UNIVER_SHEET','delete','getFocusedUnit','_entities','whenReady','SUBMIT_CHANGESET_TIMEOUT','LICENSE_DISTRO_REJECTED','onPointerLeave$','merge','_color','ENSURE_SNAPSHOT_EXECUTION','m1Prime','SheetSkeletonManagerService','fill','Rectangle','_cursorShapes','WebBrowserSingleActiveUnitService','HEADER_MENU','_initStatusListener','isActive','useDependency','transformSelections','MessageType','collab-text-anchor-','VIEW_MAIN','getTypeOfUnitDisposed$','onLocalMutation','APPLY_REJECT','cursorInfo$','show','_refRangeService','on-line-icon','invokeId','debounceTime','_name','ILocalStorageService','isTransformMutationFailure','INVITE_CODE_HAS_BEEN_UES','univerjs-icon\x20univerjs-icon-','activeSheet$','newValue','reconnect','hovered','_updateLocalCursor','Inject','useObservable','unload','getMemberID','unitId','blue.400','cursorInfo','_anchor','React','http://www.w3.org/2000/svg','currentTheme$','handleInsertRangeMoveDown','YUUMI_CONNECTOR_URL_NOT_FOUND','RemoteUniscriptService','_getAnchorBounding','_dataLoaderService','div','max','off-line-icon','HTTPService','addObject','_init','ITransformService','_unitStatus','ISocketService','isEditing','error','INVALID_INVITE_CODE','_render','_toggleOffline','operators','_docTransformSelectionsService','_ensureSubject','bottom','fillText','function','_onCursorDelete','_cursor','IBeforeCloseService','_status$','react/jsx-runtime','startColumn','IURLService','PENDING','subunit','UniverIcon','@univerjs/sheets','collab-client.tooltip.reconnect','rgba(255,\x20255,\x20255,\x200.01)','UNDEFINED','EMAIL_VERIFY_CODE_MISMATCH','pipe','session.will-retry','addHandlerCallback','getUniverSheetInstance','forwardRef','session.collaboration-timeout','_messageService','roomMembers$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','origin','row','ICommandService','name','_backgroundColor','APPLY_PERMISSION_DENIED','propertyIsEnumerable','assign','INVITE_CODE_REQUIRED','_assignedColors','USERS_LEAVE','SetSelectionsOperation','getViewport','asObservable','exports','clearInterval','getCurrent','MOBILE_VERIFY_CODE_MISMATCH','Failed','children','M0\x200H16V16H0z','transformByState','getStateCache','getUnitId','filter','clipPath','registerComponent','endColumn','getUnitStatus$','SYNCED','handleMoveRange','LICENSE_IMPORT_SIZE_EXCEEDED','debug','ACTIVE_UNIT_EVENT_CHANNEL','runOnServer','2164899rWLixF','location','attrs','getCurrentSelections','_updateURLWithCurrentState','getTypeOfUnitAdded$','getActiveSheet','createInstance','ALREADY_EXISTS','urlChange$','CommandType','@univerjs/sheets-ui','SHEET_VIEWPORT_KEY','send','_setupBeforeClosingHandler','_initEvent','icon','push','UniverDocs','_roomMembers$','string','MOBILE_HAS_BEEN_BOUND','LICENSE_MAX_UNITS_EXCEEDED','JOIN_ROOM_FAILED','current','dispose$','_onRefRangeChange','@univerjs/network','createSocket','svg','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/ui','getCollabCursors$','getOwnPropertyDescriptor','selection','_httpService','476638uAwITs','getSheetBySheetId','_onCursorUpdate','_sheetSkeletonManagerService','colorChannel1','_selfUnitIDs','SOCKET_FAILED','_updateSubUnitFromURLParams','UniverCore','none','undoState','MemberService','yellow.400','ONLINE','getSheetId','_id','backgroundColor','mapTo','registerRenderModule','_colorAssignService','APPLY_NON_SEQUENTIAL_REVISION','USER_NOT_INVITED_CODE','_scheduleSaving','_doCreateSocket','6946232pEhvTr','CHANGESET_REVISION_CONFILICT','map','1em','OffLineIcon','purple.300','displayName','_config','stringify','IRenderManagerService','_heartbeatTimer','triggerDblclick','eventID','_hideTimer','updateOfflineData','CollaborationStatusDisplay','createIdentifier','_collaborationController','moveTo','unit','CollaborationUIEventId','WECHAT_HAS_BEEN_BOUND','collabStatus.conflict','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_labelPosition','_startSheetCollabCursor','DisposableCollection','addClipboardHook','range','findNodePositionByCharIndex','_context','loadUnit','concat','_scene','object','@univerjs/docs','_entityInit$','RegularPolygon','assignAColorForMemberID','CONNECTOR_DATA_TOO_LARGE','collabCursorState$','useCallback','IConfigService','color','Workbook','contains','getCollabEntity$','exhaustSavingTask','addEventListener','_localeService','get','_removeClearOtherTimer','measureText','IMessageService','_transformService','searchParams','_notificationService','collabStatus.offline','UniverNetwork','round','session.connection-failed','Rect','call','Error','imageSourceType','getParam','OnLineIcon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collabSessionService','Plugin','@univerjs/engine-render','_removeCollabCursors','...','_disabled','subscribe','apply','red.300','loadOfflineData','getRangePointData','isTransformMutationsWithChangesetSuccess','ColorKit','OFFLINE','_docTransformStateCacheService','_document','currentSkeleton$','_hover','transformStateCache','_registerDependencies','white','_textBubble','Tools','CONFLICT','onRendered','with','YUUMI_UNABLE_LOAD_URL','INVITE_CODE_ALREADY_BOUND','fromEvent','IUniverInstanceService','roomMembers','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_urlService','permission.title','subscribeEvent','SheetsSelectionsService','getMergeData','ILocalCacheService','RemoveColCommandId','resize','pushState','values','permission.content','EffectRefRangId','replace','UniverCollaborationClientUIPlugin','random','_initStatusComponent','TEXT_RANGE_LAYER_INDEX','_collabCursorState$'];_0x447e=function(){return _0x4d6b7f;};return _0x447e();}
|