@univerjs-pro/collaboration-client-ui 0.8.3-nightly.202507031607 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x82fff5,_0x4289eb){const _0x14fac0=_0x14fd,_0x1082e1=_0x82fff5();while(!![]){try{const _0x212175=-parseInt(_0x14fac0(0x196))/0x1+parseInt(_0x14fac0(0xba))/0x2*(parseInt(_0x14fac0(0x223))/0x3)+-parseInt(_0x14fac0(0x1c1))/0x4+parseInt(_0x14fac0(0x2e4))/0x5*(-parseInt(_0x14fac0(0x1a7))/0x6)+-parseInt(_0x14fac0(0x35a))/0x7*(-parseInt(_0x14fac0(0xe1))/0x8)+parseInt(_0x14fac0(0x344))/0x9*(-parseInt(_0x14fac0(0x207))/0xa)+parseInt(_0x14fac0(0x229))/0xb;if(_0x212175===_0x4289eb)break;else _0x1082e1['push'](_0x1082e1['shift']());}catch(_0x43fa20){_0x1082e1['push'](_0x1082e1['shift']());}}}(_0x49cd,0x9f17d),function(_0x45c597,_0x4946fa){const _0x1231aa=_0x14fd;typeof exports==_0x1231aa(0x1e5)&&typeof module<'u'?_0x4946fa(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x1231aa(0x285)&&define[_0x1231aa(0x1b1)]?define([_0x1231aa(0xf5),_0x1231aa(0x161),'@univerjs/core',_0x1231aa(0x102),_0x1231aa(0x1ad),'@univerjs/docs-ui',_0x1231aa(0x1f3),_0x1231aa(0x146),'@univerjs-pro/collaboration',_0x1231aa(0x250),_0x1231aa(0xc7),_0x1231aa(0x1e9),'rxjs/operators',_0x1231aa(0x2b8),'react/jsx-runtime',_0x1231aa(0x28e),_0x1231aa(0x154),_0x1231aa(0x1df),'@univerjs/rpc'],_0x4946fa):(_0x45c597=typeof globalThis<'u'?globalThis:_0x45c597||self,_0x4946fa(_0x45c597[_0x1231aa(0x2f8)]={},_0x45c597['UniverProCollaborationClient'],_0x45c597['UniverCore'],_0x45c597[_0x1231aa(0x169)],_0x45c597['UniverNetwork'],_0x45c597[_0x1231aa(0x1b8)],_0x45c597[_0x1231aa(0x255)],_0x45c597[_0x1231aa(0x146)],_0x45c597[_0x1231aa(0x168)],_0x45c597[_0x1231aa(0x127)],_0x45c597[_0x1231aa(0x252)],_0x45c597[_0x1231aa(0x233)],_0x45c597['rxjs']['operators'],_0x45c597[_0x1231aa(0xf8)],_0x45c597[_0x1231aa(0x2ea)],_0x45c597[_0x1231aa(0xdb)],_0x45c597['UniverDesign'],_0x45c597[_0x1231aa(0x2ea)],_0x45c597['UniverRpc']));}(this,function(_0x3cf37a,_0x471b6c,_0x220ae6,_0x1c9625,_0x348a82,_0x5b6656,_0x3f9bcf,_0x217777,_0xeb38aa,_0x4dcc89,_0x1dfe51,_0x33b1ad,_0x3c1af3,_0x5bc939,_0x1028c1,_0x3d52cc,_0x587028,_0x2e1db8,_0xef9193){'use strict';const _0x119853=_0x14fd;var _0x2b678f=Object[_0x119853(0x2ec)],_0x24c2ee=(_0x5ce901,_0x373afe,_0x4bca02)=>_0x373afe in _0x5ce901?_0x2b678f(_0x5ce901,_0x373afe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bca02}):_0x5ce901[_0x373afe]=_0x4bca02,_0x1762f0=(_0x15e5e8,_0x399827,_0x14c406)=>_0x24c2ee(_0x15e5e8,typeof _0x399827!=_0x119853(0x124)?_0x399827+'':_0x399827,_0x14c406),_0x55a8b6=Object[_0x119853(0x150)],_0x2dddce=(_0x213271,_0x3c5f3c,_0x4222c7,_0x24d772)=>{for(var _0x15690a=_0x24d772>0x1?void 0x0:_0x24d772?_0x55a8b6(_0x3c5f3c,_0x4222c7):_0x3c5f3c,_0x43385f=_0x213271['length']-0x1,_0x4a260d;_0x43385f>=0x0;_0x43385f--)(_0x4a260d=_0x213271[_0x43385f])&&(_0x15690a=_0x4a260d(_0x15690a)||_0x15690a);return _0x15690a;},_0x5ec84e=(_0x219184,_0x4ace8a)=>(_0xd922d4,_0xb74742)=>_0x4ace8a(_0xd922d4,_0xb74742,_0x219184);let _0x82c703=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x11f87f,_0x49c8dc){const _0xf249b9=_0x119853;super(),this[_0xf249b9(0x29b)]=_0x11f87f,this[_0xf249b9(0x2a1)]=_0x49c8dc,this[_0xf249b9(0x2aa)]();}[_0x119853(0x2aa)](){const _0x3c6beb=_0x119853,_0x2f083b=this;this['disposeWithMe'](this[_0x3c6beb(0x29b)][_0x3c6beb(0x210)]({'onBeforePasteImage':async _0x52ff63=>{const _0x4119d0=_0x3c6beb,_0x3218be=await _0x2f083b[_0x4119d0(0x2a1)][_0x4119d0(0x1bc)](_0x52ff63);return _0x3218be?{'source':_0x3218be[_0x4119d0(0x260)],'imageSourceType':_0x3218be['imageSourceType']}:null;}}));}};_0x82c703=_0x2dddce([_0x5ec84e(0x0,_0x5b6656[_0x119853(0x21b)]),_0x5ec84e(0x1,_0x3f9bcf[_0x119853(0x181)])],_0x82c703);const _0x38775c=[_0x119853(0x129),_0x119853(0x2fc),_0x119853(0x134),_0x119853(0x111),'blue.400',_0x119853(0x327)];class _0x340bdb extends _0x220ae6[_0x119853(0x215)]{constructor(){const _0x49da74=_0x119853;super(...arguments),_0x1762f0(this,'_assignedColors',new Map()),_0x1762f0(this,_0x49da74(0x315),0x0);}[_0x119853(0xf9)](_0x42be2f){const _0x5aa9fb=_0x119853;if(this[_0x5aa9fb(0x105)][_0x5aa9fb(0x121)](_0x42be2f))return this['_assignedColors']['get'](_0x42be2f);const _0x3c221c=_0x38775c[this[_0x5aa9fb(0x315)]];return this[_0x5aa9fb(0x315)]=(this[_0x5aa9fb(0x315)]+0x1)%_0x38775c[_0x5aa9fb(0x346)],this[_0x5aa9fb(0x105)][_0x5aa9fb(0x26d)](_0x42be2f,_0x3c221c),_0x3c221c;}}function _0x2ea802(_0x344290){let _0x36c76f='';for(const _0xeaf78d of _0x344290){const {startOffset:_0x5427ab,endOffset:_0x4840a7,isActive:_0x27f5b4,rangeType:_0xde7c3f,segmentId:_0x42ece8,segmentPage:_0x40ddd5}=_0xeaf78d;_0x36c76f['length']&&(_0x36c76f+=','),_0x36c76f+=_0x5427ab+':'+_0x4840a7+':'+(_0x27f5b4?'1':'0')+':'+_0xde7c3f+':'+_0x42ece8+':'+_0x40ddd5;}return _0x36c76f;}function _0x3aad9f(_0x338c44){const _0x2dbd21=_0x119853,_0x5bfa1f=_0x338c44['split'](','),_0x1180da=[];for(const _0x3c99ec of _0x5bfa1f){const [_0x509f59,_0x388673,_0x474194,_0x5e70eb,_0x4b30b2,_0xa75c1b]=_0x3c99ec[_0x2dbd21(0x256)](':');_0x1180da[_0x2dbd21(0x1c6)]({'startOffset':Number(_0x509f59),'endOffset':Number(_0x388673),'collapsed':_0x509f59===_0x388673,'isActive':_0x474194==='1','rangeType':_0x5e70eb===_0x220ae6[_0x2dbd21(0x1ae)][_0x2dbd21(0xf4)]?_0x220ae6[_0x2dbd21(0x1ae)][_0x2dbd21(0xf4)]:_0x220ae6[_0x2dbd21(0x1ae)][_0x2dbd21(0x235)],'segmentId':typeof _0x4b30b2==_0x2dbd21(0x236)?String(_0x4b30b2):'','segmentPage':Number(_0xa75c1b!=null?_0xa75c1b:-0x1)});}return _0x1180da['some'](_0x1c9f80=>_0x1c9f80[_0x2dbd21(0x31e)])||(_0x1180da[0x0]['isActive']=!0x0),_0x1180da;}class _0x53d983 extends _0x220ae6[_0x119853(0x1cf)]{constructor(){const _0x343644=_0x119853;super(...arguments),_0x1762f0(this,'_collabCursorState$',new _0x217777['BehaviorSubject'](null)),_0x1762f0(this,_0x343644(0x1c3),this[_0x343644(0x23d)][_0x343644(0x323)]());}[_0x119853(0x1b0)](_0x1d3d9f){const _0x4677ce=_0x119853,{unitID:_0x3c0eb0,memberID:_0x478ea5,textRanges:_0x2e05e9}=_0x1d3d9f,_0x34e34d=_0x2ea802(_0x2e05e9);if(_0x34e34d==='')return;const _0x5ae852={'unitID':_0x3c0eb0,'memberID':_0x478ea5,'selection':_0x34e34d};this[_0x4677ce(0x23d)][_0x4677ce(0x316)](_0x5ae852);}}var _0x250093=Object[_0x119853(0x150)],_0x35db89=(_0x1a770f,_0x4c57cd,_0x208018,_0x6ba92)=>{const _0x35e39e=_0x119853;for(var _0x1ce295=_0x6ba92>0x1?void 0x0:_0x6ba92?_0x250093(_0x4c57cd,_0x208018):_0x4c57cd,_0x51ff57=_0x1a770f[_0x35e39e(0x346)]-0x1,_0x178bd9;_0x51ff57>=0x0;_0x51ff57--)(_0x178bd9=_0x1a770f[_0x51ff57])&&(_0x1ce295=_0x178bd9(_0x1ce295)||_0x1ce295);return _0x1ce295;},_0x3a6c20=(_0x360880,_0x3ea22f)=>(_0x455cac,_0x4be72)=>_0x3ea22f(_0x455cac,_0x4be72,_0x360880);const _0xcf6391=0x12c,_0x502ea6=0x64;let _0xd049cc=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x13f20d,_0x55386d,_0x2abe59,_0x5052b4,_0x3f5ee0,_0x5b8643,_0x2ba202,_0x25378e,_0x106551){const _0x2277c1=_0x119853;super(),_0x1762f0(this,_0x2277c1(0xef),!0x1),_0x1762f0(this,_0x2277c1(0x2aa),!0x1),_0x1762f0(this,'_cursorInfo$',new _0x217777['BehaviorSubject'](new Map())),_0x1762f0(this,_0x2277c1(0x151),this[_0x2277c1(0x2b4)][_0x2277c1(0x323)]()),_0x1762f0(this,'_roomMembers$',new _0x217777[(_0x2277c1(0x17b))]([])),_0x1762f0(this,_0x2277c1(0xee),this[_0x2277c1(0x2ca)][_0x2277c1(0x31a)](_0x217777[_0x2277c1(0x1d0)](_0xcf6391))),_0x1762f0(this,_0x2277c1(0xf2),_0x220ae6['debounce'](_0x55827d=>{const _0x5a568a=_0x2277c1,_0x6e8f1a={'eventID':_0xeb38aa[_0x5a568a(0x284)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5a568a(0x226)],'memberID':this['_session'][_0x5a568a(0x13c)](),'selection':_0x2ea802(_0x55827d)}};this[_0x5a568a(0x280)]['send'](_0x6e8f1a,this[_0x5a568a(0x226)]);},_0x502ea6)),(this[_0x2277c1(0x226)]=_0x13f20d,this[_0x2277c1(0x280)]=_0x55386d,this[_0x2277c1(0x10a)]=_0x2abe59,this[_0x2277c1(0x2cd)]=_0x5052b4,this[_0x2277c1(0x187)]=_0x3f5ee0,this[_0x2277c1(0x14b)]=_0x5b8643,this['_transformService']=_0x2ba202,this[_0x2277c1(0x142)]=_0x25378e,this['_commandService']=_0x106551);}get[_0x119853(0x213)](){const _0x2cf293=_0x119853;return this[_0x2cf293(0x2b4)]['getValue']();}get[_0x119853(0x11f)](){const _0x275e54=_0x119853;return this['_roomMembers$'][_0x275e54(0x12a)]();}[_0x119853(0x2c5)](){const _0x54572b=_0x119853;super[_0x54572b(0x2c5)](),this[_0x54572b(0x2b4)][_0x54572b(0x316)](new Map()),this[_0x54572b(0x2b4)][_0x54572b(0x136)](),this[_0x54572b(0x2ca)]['next']([]),this[_0x54572b(0x2ca)][_0x54572b(0x136)]();}[_0x119853(0x258)](){const _0x538bca=_0x119853;this[_0x538bca(0x2aa)]||(this[_0x538bca(0x2aa)]=!0x0,this[_0x538bca(0x280)]['sessionStatus$'][_0x538bca(0x31a)](_0x217777[_0x538bca(0x23a)](this['dispose$']))[_0x538bca(0x1b9)](_0x5a6f9c=>{const _0x26c947=_0x538bca;_0x5a6f9c===_0x471b6c[_0x26c947(0x158)][_0x26c947(0x13b)]?this[_0x26c947(0x1b7)]():this[_0x26c947(0x125)]();}),this[_0x538bca(0x280)][_0x538bca(0x14d)][_0x538bca(0x31a)](_0x217777[_0x538bca(0x23a)](this[_0x538bca(0xbe)]))[_0x538bca(0x1b9)](_0xffdec9=>{const _0x3f4741=_0x538bca,_0x532058=_0xffdec9[_0x3f4741(0x211)];_0x532058===_0xeb38aa['CollaborationEvent'][_0x3f4741(0x1fd)]&&this['_onCursorUpdate'](_0xffdec9),_0x532058===_0xeb38aa['CollaborationEvent'][_0x3f4741(0x2a7)]&&this[_0x3f4741(0x32e)](_0xffdec9);}),this[_0x538bca(0xf3)](this['_commandService'][_0x538bca(0x11d)](_0x5aef75=>{const _0x596d4f=_0x538bca,_0x3a723c=_0x5aef75[_0x596d4f(0x25a)];_0x3a723c!=null&&this[_0x596d4f(0xef)]&&_0x5aef75['id']===_0x4dcc89[_0x596d4f(0x31b)]['id']&&_0x3a723c['unitId']===this[_0x596d4f(0x226)]&&_0x3a723c[_0x596d4f(0x221)]===!0x1&&_0x3a723c[_0x596d4f(0x19d)][_0x596d4f(0x346)]>0x0&&this['_updateLocalCursor'](_0x3a723c['ranges']);})),this[_0x538bca(0x14b)][_0x538bca(0x1c3)][_0x538bca(0x31a)](_0x217777[_0x538bca(0x23a)](this['dispose$']))[_0x538bca(0x1b9)](_0x43b05f=>{const _0x3ea8a0=_0x538bca;if((_0x43b05f==null?void 0x0:_0x43b05f[_0x3ea8a0(0x226)])!==this[_0x3ea8a0(0x226)])return;const _0x69518={'eventID':_0xeb38aa[_0x3ea8a0(0x284)][_0x3ea8a0(0x1fd)],'data':_0x43b05f};this[_0x3ea8a0(0x271)](_0x69518);}),this[_0x538bca(0xf3)](this[_0x538bca(0x155)][_0x538bca(0x11d)](_0x314ef4=>{const _0x21ac3c=_0x538bca;if(_0x314ef4['params']==null)return;const _0x1f089a=_0x314ef4[_0x21ac3c(0x25a)];if(_0x314ef4['id']!==_0x4dcc89[_0x21ac3c(0x15a)]['id']||_0x1f089a[_0x21ac3c(0x357)]!==this['unitID'])return;const _0x274032={'id':'doc.mutation.rich-text-editing','params':_0x1f089a},_0x462072=this[_0x21ac3c(0x213)];for(const [_0x5a1270,_0x5cddde]of _0x462072){const _0x2d06aa={'id':_0x21ac3c(0x319),'params':{'unitId':this[_0x21ac3c(0x226)],'actions':null,'textRanges':_0x5cddde['ranges']}},_0x2d3f8d=this[_0x21ac3c(0xf0)][_0x21ac3c(0x20d)](_0x274032,_0x2d06aa,!0x1);if(_0xeb38aa['isTransformMutationFailure'](_0x2d3f8d))throw _0x2d3f8d['error'];_0x462072[_0x21ac3c(0x26d)](_0x5a1270,{..._0x5cddde,'ranges':_0x2d3f8d[_0x21ac3c(0x156)][_0x21ac3c(0x25a)]['textRanges']});}queueMicrotask(()=>{const _0x3e3bc7=_0x21ac3c;this['_cursorInfo$'][_0x3e3bc7(0x316)](_0x462072);});})));}[_0x119853(0x271)](_0x24c24d){const _0x52a416=_0x119853;var _0x359b4e,_0x5c47d3;const {memberID:_0x111a92,selection:_0x38bf13}=_0x24c24d[_0x52a416(0x351)],_0x565d99=_0x3aad9f(_0x38bf13),_0x1929a7=(_0x5c47d3=(_0x359b4e=this['_memberService'][_0x52a416(0x1ba)](this[_0x52a416(0x226)],_0x111a92))==null?void 0x0:_0x359b4e[_0x52a416(0x1bf)])!=null?_0x5c47d3:_0x52a416(0x1fa),_0x3c717c={'color':this[_0x52a416(0x2cd)][_0x52a416(0xf9)](_0x111a92),'name':_0x1929a7,'ranges':_0x565d99},_0x557d8d=this[_0x52a416(0x213)];_0x557d8d[_0x52a416(0x26d)](_0x111a92,_0x3c717c),this['_cursorInfo$'][_0x52a416(0x316)](_0x557d8d);}[_0x119853(0x32e)](_0x9f46d7){const _0x23db0a=_0x119853,{memberID:_0x53fdc9}=_0x9f46d7[_0x23db0a(0x351)],_0x1a8758=this['cursorInfo'];_0x1a8758[_0x23db0a(0x1e6)](_0x53fdc9),this[_0x23db0a(0x2b4)][_0x23db0a(0x316)](_0x1a8758);}[_0x119853(0x1b7)](){const _0x2aab89=_0x119853;var _0x55b810;if(this[_0x2aab89(0xef)]=!0x0,((_0x55b810=this[_0x2aab89(0x142)][_0x2aab89(0x1a1)]())==null?void 0x0:_0x55b810[_0x2aab89(0x152)]())!==this[_0x2aab89(0x226)])return;const _0x4141ff=this[_0x2aab89(0x10a)]['get'](_0x4dcc89[_0x2aab89(0x33d)])['getDocRanges']();Array[_0x2aab89(0xfa)](_0x4141ff)&&_0x4141ff[_0x2aab89(0x346)]>0x0&&this[_0x2aab89(0xf2)](_0x4141ff);}[_0x119853(0x125)](){const _0x43e780=_0x119853;this[_0x43e780(0xef)]=!0x1;}};_0xd049cc=_0x35db89([_0x3a6c20(0x2,_0x220ae6[_0x119853(0x1c9)](_0x220ae6['Injector'])),_0x3a6c20(0x3,_0x220ae6['Inject'](_0x340bdb)),_0x3a6c20(0x4,_0x220ae6[_0x119853(0x1c9)](_0x471b6c[_0x119853(0x312)])),_0x3a6c20(0x5,_0x220ae6[_0x119853(0x1c9)](_0x53d983)),_0x3a6c20(0x6,_0xeb38aa[_0x119853(0x2f3)]),_0x3a6c20(0x7,_0x220ae6[_0x119853(0x195)]),_0x3a6c20(0x8,_0x220ae6['ICommandService'])],_0xd049cc);var _0x52e6bf=Object[_0x119853(0x150)],_0x28eb8b=(_0x1f07fe,_0x32364f,_0x20d80b,_0x3a4999)=>{const _0x3757a5=_0x119853;for(var _0x5ea091=_0x3a4999>0x1?void 0x0:_0x3a4999?_0x52e6bf(_0x32364f,_0x20d80b):_0x32364f,_0x5d9170=_0x1f07fe[_0x3757a5(0x346)]-0x1,_0x229142;_0x5d9170>=0x0;_0x5d9170--)(_0x229142=_0x1f07fe[_0x5d9170])&&(_0x5ea091=_0x229142(_0x5ea091)||_0x5ea091);return _0x5ea091;},_0x511f30=(_0x5ede0f,_0x27b148)=>(_0x122ff5,_0x41b80f)=>_0x27b148(_0x122ff5,_0x41b80f,_0x5ede0f);const _0x22980b=0x12c,_0x117eea=0x64,_0xc9fe8c=()=>{let _0x56bc8e=[],_0x4914cb=!0x1;return _0x39a0d7=>{const _0x4f4fdc=_0x14fd;_0x56bc8e[_0x4f4fdc(0x1c6)](_0x39a0d7),_0x4914cb||(_0x4914cb=!0x0,setTimeout(()=>{const _0x304e00=_0x4f4fdc;_0x56bc8e[_0x304e00(0xfd)](_0x1700d6=>_0x1700d6()),_0x56bc8e=[],_0x4914cb=!0x1;}));};};let _0x4a2fba=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x26dc60,_0x392783,_0x2e7ea6,_0x1aebd0,_0xff84de,_0x51a2c5,_0x52349e,_0x24f6a1){const _0x1cbb3a=_0x119853;super(),_0x1762f0(this,_0x1cbb3a(0xef),!0x1),_0x1762f0(this,_0x1cbb3a(0x2aa),!0x1),_0x1762f0(this,'_cursorInfo$',new _0x217777[(_0x1cbb3a(0x17b))](new Map())),_0x1762f0(this,_0x1cbb3a(0x151),this[_0x1cbb3a(0x2b4)]['asObservable']()),_0x1762f0(this,_0x1cbb3a(0x2ca),new _0x217777['BehaviorSubject']([])),_0x1762f0(this,_0x1cbb3a(0xee),this[_0x1cbb3a(0x2ca)][_0x1cbb3a(0x31a)](_0x217777['debounceTime'](_0x22980b))),_0x1762f0(this,_0x1cbb3a(0xf2),_0x220ae6[_0x1cbb3a(0x276)]((_0x183a31,_0x3ab0c9)=>{const _0x1be9ad=_0x1cbb3a,_0x115bdd={'eventID':_0xeb38aa['CollaborationEvent'][_0x1be9ad(0x1fd)],'data':{'unitID':this['unitID'],'memberID':this[_0x1be9ad(0x280)]['getMemberID'](),'selection':_0x1dfe51[_0x1be9ad(0x1ff)](_0x183a31,_0x3ab0c9[_0x1be9ad(0x2e7)])}};this['_session'][_0x1be9ad(0x2d3)](_0x115bdd,this['unitID']);},_0x117eea)),(this[_0x1cbb3a(0x226)]=_0x26dc60,this[_0x1cbb3a(0x280)]=_0x392783,this[_0x1cbb3a(0x10a)]=_0x2e7ea6,this[_0x1cbb3a(0x2cd)]=_0x1aebd0,this[_0x1cbb3a(0x187)]=_0xff84de,this[_0x1cbb3a(0x142)]=_0x51a2c5,this[_0x1cbb3a(0x155)]=_0x52349e,this[_0x1cbb3a(0x1f6)]=_0x24f6a1);}get[_0x119853(0x213)](){const _0x514d00=_0x119853;return this[_0x514d00(0x2b4)]['getValue']();}get[_0x119853(0x11f)](){const _0x41f70d=_0x119853;return this[_0x41f70d(0x2ca)][_0x41f70d(0x12a)]();}[_0x119853(0x2c5)](){const _0x378cef=_0x119853;super['dispose'](),this[_0x378cef(0x2b4)]['next'](new Map()),this[_0x378cef(0x2b4)][_0x378cef(0x136)](),this[_0x378cef(0x2ca)]['next']([]),this['_roomMembers$']['complete']();}[_0x119853(0x258)](){const _0x5a62dd=_0x119853;this['_init']||(this[_0x5a62dd(0x2aa)]=!0x0,this['_session'][_0x5a62dd(0x2bb)][_0x5a62dd(0x31a)](_0x217777[_0x5a62dd(0x23a)](this[_0x5a62dd(0xbe)]))[_0x5a62dd(0x1b9)](_0x1f2d60=>{const _0x4f58f4=_0x5a62dd;_0x1f2d60===_0x471b6c[_0x4f58f4(0x158)][_0x4f58f4(0x13b)]?this[_0x4f58f4(0x1b7)]():this[_0x4f58f4(0x125)]();}),this[_0x5a62dd(0x280)][_0x5a62dd(0x14d)][_0x5a62dd(0x31a)](_0x217777[_0x5a62dd(0x23a)](this[_0x5a62dd(0xbe)]))[_0x5a62dd(0x1b9)](_0x55a51d=>{const _0x5c1b6f=_0x5a62dd,_0x17f464=_0x55a51d[_0x5c1b6f(0x211)];_0x17f464===_0xeb38aa[_0x5c1b6f(0x284)][_0x5c1b6f(0x1fd)]&&this['_onCursorUpdate'](_0x55a51d),_0x17f464===_0xeb38aa[_0x5c1b6f(0x284)][_0x5c1b6f(0x2a7)]&&this['_onCursorDelete'](_0x55a51d);}),this[_0x5a62dd(0x205)](),this[_0x5a62dd(0xf3)](this[_0x5a62dd(0x155)][_0x5a62dd(0x11d)](_0x1e93e0=>{const _0x127e04=_0x5a62dd;if(this['_online']&&_0x1e93e0['id']===_0x33b1ad[_0x127e04(0x185)]['id']&&_0x1e93e0[_0x127e04(0x25a)]['unitId']===this[_0x127e04(0x226)]){const _0x319a4e=_0x1e93e0[_0x127e04(0x25a)];this[_0x127e04(0xf2)](_0x319a4e['subUnitId'],_0x319a4e['selections'][0x0]);}})));}[_0x119853(0x271)](_0xd1f01f){const _0x3f0753=_0x119853;var _0x167f8f,_0x28f671;const {memberID:_0x2816a5,selection:_0x16cd69}=_0xd1f01f[_0x3f0753(0x351)],{sheetName:_0x36bb1a,range:_0x41b175}=_0x1dfe51[_0x3f0753(0xd0)](_0x16cd69),_0x35ea40={'name':(_0x28f671=(_0x167f8f=this['_memberService'][_0x3f0753(0x1ba)](this[_0x3f0753(0x226)],_0x2816a5))==null?void 0x0:_0x167f8f['name'])!=null?_0x28f671:_0x3f0753(0x1fa),'range':this[_0x3f0753(0x30f)](_0x36bb1a,_0x41b175),'sheetID':_0x36bb1a,'color':this[_0x3f0753(0x2cd)][_0x3f0753(0xf9)](_0x2816a5),'selection':_0x16cd69},_0x598b09=this[_0x3f0753(0x213)];_0x598b09[_0x3f0753(0x26d)](_0x2816a5,_0x35ea40),this['_cursorInfo$'][_0x3f0753(0x316)](_0x598b09);}[_0x119853(0x32e)](_0xbf3fbc){const _0x143e09=_0x119853,{memberID:_0x3ea8fb}=_0xbf3fbc[_0x143e09(0x351)],_0x2811d5=this['cursorInfo'];_0x2811d5[_0x143e09(0x1e6)](_0x3ea8fb),this[_0x143e09(0x2b4)][_0x143e09(0x316)](_0x2811d5);}[_0x119853(0x30f)](_0x2d5752,_0x506e0a){const _0x1bfc96=_0x119853;var _0x1f7f3b,_0x285f7a;const _0x513312=(_0x285f7a=(_0x1f7f3b=this[_0x1bfc96(0x142)][_0x1bfc96(0x2b7)](this[_0x1bfc96(0x226)]))==null?void 0x0:_0x1f7f3b[_0x1bfc96(0x137)](_0x2d5752))==null?void 0x0:_0x285f7a[_0x1bfc96(0x320)]();return(_0x513312==null?void 0x0:_0x513312[_0x1bfc96(0x347)](_0x3ea64e=>_0x220ae6[_0x1bfc96(0xbd)]['contains'](_0x3ea64e,_0x506e0a)))||_0x506e0a;}['_onRefRangeChange'](){const _0x425207=_0x119853,_0x539913=new _0x220ae6[(_0x425207(0x341))](),_0x565b6f=_0xc9fe8c(),_0x53998d=()=>{const _0x4e7b61=_0x425207;_0x539913[_0x4e7b61(0x2c5)]();const _0x103a46=(_0x2c6497,_0x2b768e,_0x4babd1,_0x338082)=>{const _0x495fb4=_0x4e7b61;let _0x5467de=[];switch(_0x2c6497['id']){case _0x33b1ad['EffectRefRangId'][_0x495fb4(0x1dd)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x222)](_0x2c6497,_0x338082);break;}case _0x33b1ad['EffectRefRangId'][_0x495fb4(0xb4)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x10c)](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x31f)]:{_0x5467de=_0x33b1ad['handleInsertCol'](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x193)]:{_0x5467de=_0x33b1ad['handleInsertRangeMoveDown'](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x22c)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x19e)](_0x2c6497,_0x338082);break;}case _0x33b1ad['EffectRefRangId'][_0x495fb4(0x2e2)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x12d)](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x180)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x16b)](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x261)]:{_0x5467de=_0x33b1ad['handleIRemoveCol'](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x1ab)]:{_0x5467de=_0x33b1ad['handleIRemoveRow'](_0x2c6497,_0x338082);break;}}const _0x3c1753=_0x33b1ad[_0x495fb4(0x20b)](_0x5467de,_0x338082),_0x29b9c2=this[_0x495fb4(0x213)][_0x495fb4(0x2c2)](_0x2b768e);if(_0x29b9c2&&_0x3c1753){const _0x7faaea={..._0x29b9c2,'range':_0x3c1753};this[_0x495fb4(0x213)][_0x495fb4(0x26d)](_0x2b768e,_0x7faaea),_0x565b6f(()=>{const _0x469280=_0x495fb4,_0x34b53d=this[_0x469280(0x1f6)][_0x469280(0x34d)](_0x3c1753,_0x456d79=>(_0x34b53d[_0x469280(0x2c5)](),_0x103a46(_0x456d79,_0x2b768e,_0x4babd1,_0x3c1753)));_0x539913[_0x469280(0x34b)](_0x34b53d);});}return{'redos':[],'undos':[]};};this[_0x4e7b61(0x213)][_0x4e7b61(0xfd)]((_0x2cc894,_0x3179e2)=>{const _0x40d695=_0x4e7b61,{range:_0x2f64a7,sheetID:_0x2ca631}=_0x2cc894,_0x4460b5=this[_0x40d695(0x1f6)][_0x40d695(0x34d)](_0x2f64a7,_0x533151=>(_0x4460b5[_0x40d695(0x2c5)](),_0x103a46(_0x533151,_0x3179e2,_0x2ca631,_0x2f64a7)));_0x539913[_0x40d695(0x34b)](_0x4460b5);});};this[_0x425207(0xf3)](_0x220ae6[_0x425207(0x2ef)](this['_cursorInfo$'][_0x425207(0x1b9)](()=>{_0x53998d();})));}[_0x119853(0x1b7)](){const _0x4bd76e=_0x119853;var _0x44a20f,_0xb82cd5;if(this[_0x4bd76e(0xef)]=!0x0,((_0x44a20f=this[_0x4bd76e(0x142)][_0x4bd76e(0x1a1)]())==null?void 0x0:_0x44a20f[_0x4bd76e(0x152)]())!==this['unitID'])return;const _0x2fe484=(_0xb82cd5=this[_0x4bd76e(0x10a)][_0x4bd76e(0x2c2)](_0x33b1ad[_0x4bd76e(0x303)])[_0x4bd76e(0x286)]())==null?void 0x0:_0xb82cd5[0x0],_0x3c2577=this[_0x4bd76e(0x142)][_0x4bd76e(0x25d)](_0x220ae6[_0x4bd76e(0x175)][_0x4bd76e(0x197)])['getActiveSheet']();_0x2fe484&&_0x3c2577&&this[_0x4bd76e(0xf2)](_0x3c2577[_0x4bd76e(0xb8)](),_0x2fe484);}['_toggleOffline'](){const _0x50cdfe=_0x119853;this[_0x50cdfe(0xef)]=!0x1;}};_0x4a2fba=_0x28eb8b([_0x511f30(0x2,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x22a)])),_0x511f30(0x3,_0x220ae6['Inject'](_0x340bdb)),_0x511f30(0x4,_0x220ae6[_0x119853(0x1c9)](_0x471b6c['MemberService'])),_0x511f30(0x5,_0x220ae6[_0x119853(0x195)]),_0x511f30(0x6,_0x220ae6[_0x119853(0xf1)]),_0x511f30(0x7,_0x220ae6[_0x119853(0x1c9)](_0x33b1ad['RefRangeService']))],_0x4a2fba);var _0x5a1127=Object[_0x119853(0x150)],_0xb7d257=(_0x58998d,_0x4020b9,_0x3b276d,_0x450d90)=>{const _0x376b44=_0x119853;for(var _0x1bb549=_0x450d90>0x1?void 0x0:_0x450d90?_0x5a1127(_0x4020b9,_0x3b276d):_0x4020b9,_0x348060=_0x58998d[_0x376b44(0x346)]-0x1,_0x3f66bc;_0x348060>=0x0;_0x348060--)(_0x3f66bc=_0x58998d[_0x348060])&&(_0x1bb549=_0x3f66bc(_0x1bb549)||_0x1bb549);return _0x1bb549;},_0x5ba663=(_0x145c02,_0x956824)=>(_0x108666,_0x469def)=>_0x956824(_0x108666,_0x469def,_0x145c02);let _0x193db8=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x34bdcc,_0x31392c,_0x18dc50){const _0x519129=_0x119853;super(),_0x1762f0(this,_0x519129(0x101),new Map()),_0x1762f0(this,_0x519129(0x18a),new _0x217777[(_0x519129(0x2b5))]()),(this[_0x519129(0x142)]=_0x34bdcc,this['_injector']=_0x31392c,this['_collabSessionService']=_0x18dc50,this[_0x519129(0x2aa)]());}[_0x119853(0x2c5)](){const _0x3d8d40=_0x119853;super[_0x3d8d40(0x2c5)](),this['_entityInit$'][_0x3d8d40(0x136)](),this[_0x3d8d40(0x101)]['forEach'](_0x1a872e=>_0x1a872e[_0x3d8d40(0x2c5)]());}[_0x119853(0x1e4)](_0x3fe788){const _0x4da418=_0x119853;return this['_entities'][_0x4da418(0x121)](_0x3fe788)?this['_entities'][_0x4da418(0x2c2)](_0x3fe788)['cursorInfo$']:this[_0x4da418(0x18a)]['pipe'](_0x217777[_0x4da418(0x288)](_0x33b269=>_0x33b269[_0x4da418(0x226)]===_0x3fe788),_0x217777[_0x4da418(0xc5)](_0x1a9874=>_0x1a9874['cursorInfo$']));}[_0x119853(0x2aa)](){const _0x4a4107=_0x119853;this[_0x4a4107(0x142)]['getTypeOfUnitAdded$'](_0x220ae6[_0x4a4107(0x175)][_0x4a4107(0x197)])[_0x4a4107(0x31a)](_0x217777[_0x4a4107(0x23a)](this[_0x4a4107(0xbe)]))[_0x4a4107(0x1b9)](async _0x480aef=>{const _0x109aa6=_0x4a4107,_0x401ef2=_0x480aef[_0x109aa6(0x152)](),_0x3a8b0f=await this[_0x109aa6(0x25f)](_0x401ef2);this[_0x109aa6(0x18a)][_0x109aa6(0x316)](_0x3a8b0f),this[_0x109aa6(0x101)][_0x109aa6(0x26d)](_0x401ef2,_0x3a8b0f);}),this[_0x4a4107(0x142)]['getTypeOfUnitAdded$'](_0x220ae6[_0x4a4107(0x175)][_0x4a4107(0x27e)])['pipe'](_0x217777[_0x4a4107(0x23a)](this[_0x4a4107(0xbe)]))[_0x4a4107(0x31a)](_0x217777[_0x4a4107(0x288)](_0x479979=>!_0x479979['getUnitId']()[_0x4a4107(0x148)]('__')))[_0x4a4107(0x1b9)](async _0x144d19=>{const _0x4f5180=_0x4a4107,_0x4302d0=_0x144d19[_0x4f5180(0x152)](),_0x15428e=await this[_0x4f5180(0x274)](_0x4302d0);this[_0x4f5180(0x18a)]['next'](_0x15428e),this[_0x4f5180(0x101)][_0x4f5180(0x26d)](_0x4302d0,_0x15428e);}),_0x217777[_0x4a4107(0x12f)](this[_0x4a4107(0x142)][_0x4a4107(0xea)](_0x220ae6[_0x4a4107(0x175)][_0x4a4107(0x27e)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x220ae6[_0x4a4107(0x175)]['UNIVER_SHEET']))['pipe'](_0x217777[_0x4a4107(0x23a)](this['dispose$']))[_0x4a4107(0x1b9)](_0x15fbb2=>{const _0x1e7b25=_0x4a4107,_0x1d2951=_0x15fbb2[_0x1e7b25(0x152)](),_0x13fb05=this[_0x1e7b25(0x101)][_0x1e7b25(0x2c2)](_0x1d2951);_0x13fb05&&(_0x13fb05[_0x1e7b25(0x2c5)](),this[_0x1e7b25(0x101)]['delete'](_0x1d2951));});}async[_0x119853(0x25f)](_0x3afc83){const _0x1fb73b=_0x119853,_0x17dd62=await this['_collabSessionService']['requireSession'](_0x3afc83),_0x8c8173=this['_injector'][_0x1fb73b(0x184)](_0x4a2fba,_0x3afc83,_0x17dd62);return _0x8c8173['init'](),_0x8c8173;}async[_0x119853(0x274)](_0x48405e){const _0x51ff33=_0x119853,_0x1f7eb4=await this[_0x51ff33(0x263)][_0x51ff33(0x1ac)](_0x48405e),_0x2047e2=this[_0x51ff33(0x10a)][_0x51ff33(0x184)](_0xd049cc,_0x48405e,_0x1f7eb4);return _0x2047e2[_0x51ff33(0x258)](),_0x2047e2;}};_0x193db8=_0xb7d257([_0x5ba663(0x0,_0x220ae6[_0x119853(0x195)]),_0x5ba663(0x1,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x22a)])),_0x5ba663(0x2,_0x220ae6['Inject'](_0x471b6c['CollaborationSessionService']))],_0x193db8);const _0x19682e=0x14,_0x1c8e2c=0xc8,_0x482779=0x4,_0x1495bf=0x5;function _0x203306(_0x2d5a67,_0x31619b){const _0x277d35=_0x119853;let {radius:_0x4e5115,width:_0x4fd6d0,height:_0x1f1a6c}=_0x31619b;_0x4e5115=_0x4e5115!=null?_0x4e5115:0x0,_0x4fd6d0=_0x4fd6d0!=null?_0x4fd6d0:0x1e,_0x1f1a6c=_0x1f1a6c!=null?_0x1f1a6c:0x1e;let _0x12c51e=0x0,_0x5a5339=0x0,_0x5d9e70=0x0;_0x12c51e=_0x5a5339=_0x5d9e70=Math['min'](_0x4e5115,_0x4fd6d0/0x2,_0x1f1a6c/0x2),_0x2d5a67['beginPath'](),_0x2d5a67[_0x277d35(0x1be)](_0x12c51e,0x0),_0x2d5a67[_0x277d35(0x20e)](_0x4fd6d0-_0x5a5339,0x0),_0x2d5a67[_0x277d35(0x264)](_0x4fd6d0-_0x5a5339,_0x5a5339,_0x5a5339,Math['PI']*0x3/0x2,0x0,!0x1),_0x2d5a67[_0x277d35(0x20e)](_0x4fd6d0,_0x1f1a6c-_0x5d9e70),_0x2d5a67['arc'](_0x4fd6d0-_0x5d9e70,_0x1f1a6c-_0x5d9e70,_0x5d9e70,0x0,Math['PI']/0x2,!0x1),_0x2d5a67[_0x277d35(0x20e)](0x0,_0x1f1a6c),_0x2d5a67['lineTo'](0x0,_0x12c51e),_0x2d5a67[_0x277d35(0x264)](_0x12c51e,_0x12c51e,_0x12c51e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2d5a67[_0x277d35(0x265)](),_0x31619b[_0x277d35(0x2d5)]&&(_0x2d5a67[_0x277d35(0x2c6)](),_0x2d5a67[_0x277d35(0xed)]=_0x31619b[_0x277d35(0x2d5)],_0x31619b['fillRule']===_0x277d35(0x182)?_0x2d5a67[_0x277d35(0x2d5)](_0x277d35(0x182)):_0x2d5a67[_0x277d35(0x2d5)](),_0x2d5a67[_0x277d35(0xd5)]());}class _0x5b107a extends _0x1c9625[_0x119853(0x1fc)]{constructor(_0x1ce17b,_0x4b2f59){const _0x247d43=_0x119853;super(_0x1ce17b,_0x4b2f59),_0x1762f0(this,_0x247d43(0x267)),_0x1762f0(this,_0x247d43(0x299)),(this[_0x247d43(0x267)]=_0x4b2f59==null?void 0x0:_0x4b2f59[_0x247d43(0x267)],this[_0x247d43(0x299)]=_0x4b2f59==null?void 0x0:_0x4b2f59['text']);}static[_0x119853(0xbb)](_0x1d0222,_0x2f328e){const _0x5988d3=_0x119853,{text:_0x8d426b,color:_0x529abc}=_0x2f328e;_0x1d0222[_0x5988d3(0x2c6)](),_0x1d0222[_0x5988d3(0x2bc)]=_0x5988d3(0xdc);const _0x2611ef=_0x1d0222['measureText'](_0x8d426b)[_0x5988d3(0x1db)],_0x2d0135=Math[_0x5988d3(0x30c)](_0x2611ef+0x2*_0x482779,_0x1c8e2c);_0x203306(_0x1d0222,{'height':_0x19682e,'radius':0x4,'width':_0x2d0135,'fill':_0x529abc}),_0x1d0222[_0x5988d3(0xed)]=_0x5988d3(0x2b9);const _0x141d21=_0x482779,_0x2a95df=_0x19682e-_0x1495bf,_0x599e6a=_0x1c8e2c-0x2*_0x482779;if(_0x2611ef>_0x599e6a){let _0x5af4dc='',_0xb93310=0x0;for(const _0x34bda6 of _0x8d426b){const _0x417f65=_0x1d0222[_0x5988d3(0x118)](_0x34bda6)['width'];if(_0xb93310+_0x417f65<=_0x599e6a-_0x1d0222[_0x5988d3(0x118)]('...')['width'])_0x5af4dc+=_0x34bda6,_0xb93310+=_0x417f65;else{_0x5af4dc+=_0x5988d3(0xc6);break;}}_0x1d0222['fillText'](_0x5af4dc,_0x141d21,_0x2a95df);}else _0x1d0222['fillText'](_0x8d426b,_0x141d21,_0x2a95df);_0x1d0222[_0x5988d3(0xd5)]();}[_0x119853(0x1c4)](_0x53afcb){const _0x2e1555=_0x119853;_0x5b107a[_0x2e1555(0xbb)](_0x53afcb,this);}}const _0x2f6dfa=_0x119853(0x26c),_0x1680ec=_0x119853(0x120),_0x240b54='collab-rect-range-',_0x4bae42=0x6,_0x47e60c=1.5,_0x19cc80=0x4,_0x3e3a96=1.5,_0x11bdb7='rgba(255,\x20255,\x20255,\x200.01)';class _0x5685f6{constructor(_0x3717b2,_0x12e132,_0x27bef1,_0x12ddc6){const _0x441a4b=_0x119853;_0x1762f0(this,_0x441a4b(0x337),[]),_0x1762f0(this,'_anchor',null),_0x1762f0(this,_0x441a4b(0x290),null),_0x1762f0(this,_0x441a4b(0x11c),null),_0x1762f0(this,'_hideTimer',null),_0x1762f0(this,_0x441a4b(0x179),null),(this[_0x441a4b(0x34a)]=_0x3717b2,this[_0x441a4b(0x2b0)]=_0x12e132,this[_0x441a4b(0x21f)]=_0x27bef1,this['_document']=_0x12ddc6,this[_0x441a4b(0x10d)]());}set[_0x119853(0xc1)](_0x1d6a93){const _0x5cd5f0=_0x119853;_0x1d6a93?(this[_0x5cd5f0(0x11c)]&&this[_0x5cd5f0(0x11c)][_0x5cd5f0(0x2a9)](),this['_textBubble']&&this['_textBubble'][_0x5cd5f0(0x27c)]()):(this[_0x5cd5f0(0x11c)]&&this['_anchorDot'][_0x5cd5f0(0x27c)](),this[_0x5cd5f0(0x290)]&&this[_0x5cd5f0(0x290)]['hide']());}[_0x119853(0x2c5)](){const _0x1bf7f1=_0x119853;for(const _0x69e27b of this[_0x1bf7f1(0x337)])_0x69e27b['dispose']();this[_0x1bf7f1(0x290)]&&this[_0x1bf7f1(0x290)]['dispose'](),this[_0x1bf7f1(0x11c)]&&this['_anchorDot'][_0x1bf7f1(0x2c5)](),this['_anchor']&&this['_anchor'][_0x1bf7f1(0x2c5)](),this[_0x1bf7f1(0x179)]&&this[_0x1bf7f1(0x179)]();}[_0x119853(0x10d)](){const _0x51180f=_0x119853;var _0x21424c;const {_docSkeleton:_0x3a1896,_document:_0x25e712}=this,{color:_0x14da6d,name:_0x122353,ranges:_0x569c99}=this['_cursor'],_0x5d869c=_0x25e712[_0x51180f(0x24a)](),{docsLeft:_0x5894b9,docsTop:_0x2296f3}=_0x5d869c,_0x540b65=new _0x5b6656['NodePositionConvertToCursor'](_0x5d869c,_0x3a1896);for(const {startOffset:_0x58063a,endOffset:_0x31ad73,rangeType:_0x5cdbf4,segmentId:_0x3fe53c,segmentPage:_0x40579a,collapsed:_0x343aeb,isActive:_0x50cc3b}of _0x569c99){const _0x53f06d=_0x3a1896[_0x51180f(0x1bd)](_0x58063a,!0x0,_0x3fe53c,_0x40579a);let _0x257dbb=_0x3a1896[_0x51180f(0x1bd)](_0x31ad73,!0x0,_0x3fe53c,_0x40579a);if(_0x257dbb==null&&(_0x257dbb=_0x3a1896[_0x51180f(0x1bd)](_0x31ad73-0x1,!0x1,_0x3fe53c,_0x40579a)),_0x50cc3b){const {contentBoxPointGroup:_0x2b7e09}=_0x540b65[_0x51180f(0x115)](_0x257dbb,_0x257dbb);if(_0x2b7e09[_0x51180f(0x346)]===0x0)continue;this[_0x51180f(0x20f)](_0x14da6d,_0x2b7e09,_0x5894b9,_0x2296f3,_0x122353),this[_0x51180f(0x179)]=this[_0x51180f(0x1a3)]();}if(_0x53f06d&&_0x257dbb){if(_0x5cdbf4===_0x220ae6[_0x51180f(0x1ae)][_0x51180f(0x235)]){const _0x25b7fb=new _0x5b6656['NodePositionConvertToRectRange'](_0x5d869c,_0x3a1896),{pointGroup:_0x25b106}=(_0x21424c=_0x25b7fb[_0x51180f(0x115)](_0x53f06d,_0x257dbb))!=null?_0x21424c:{};if(_0x25b106==null||_0x25b106[_0x51180f(0x346)]===0x0)continue;this[_0x51180f(0x1ed)](_0x14da6d,_0x25b106,_0x5894b9,_0x2296f3);}else{if(!_0x343aeb){const {borderBoxPointGroup:_0x305460}=_0x540b65[_0x51180f(0x115)](_0x53f06d,_0x257dbb);if(_0x305460[_0x51180f(0x346)]===0x0)continue;this['_drawTextRange'](_0x14da6d,_0x305460,_0x5894b9,_0x2296f3);}}}}}[_0x119853(0x20f)](_0x3ed5d7,_0x5db348,_0x9f902f,_0x1ec405,_0xf04079){const _0x31021c=_0x119853,_0xa9b984=this[_0x31021c(0x1c2)](_0x5db348),{left:_0x1c7cea,top:_0x5ec08a,height:_0x2f56b1}=_0xa9b984,_0x478204=this[_0x31021c(0x165)](),_0x36129b=_0x3e3a96/_0x478204,_0x1aad8c=new _0x1c9625[(_0x31021c(0x163))](_0x2f6dfa+_0x220ae6[_0x31021c(0x2c4)][_0x31021c(0x13e)](_0x4bae42),{'left':_0x1c7cea+_0x9f902f-_0x36129b,'top':_0x5ec08a+_0x1ec405,'height':_0x2f56b1,'width':_0x47e60c,'fill':_0x3ed5d7||_0x1c9625[_0x31021c(0x21c)](_0x220ae6[_0x31021c(0x242)]['black'],0x0),'strokeWidth':_0x36129b,'stroke':_0x11bdb7,'evented':!0x0});this[_0x31021c(0x15c)]=_0x1aad8c,this[_0x31021c(0x2b0)]['addObject'](_0x1aad8c,_0x5b6656['TEXT_RANGE_LAYER_INDEX']);const _0x299ccd=new _0x1c9625[(_0x31021c(0x163))](_0x2f6dfa+_0x220ae6[_0x31021c(0x2c4)][_0x31021c(0x13e)](_0x4bae42),{'left':_0x1c7cea+_0x9f902f-_0x36129b,'top':_0x5ec08a+_0x1ec405-_0x19cc80/0x2,'height':_0x19cc80,'width':_0x19cc80,'fill':_0x3ed5d7||_0x1c9625['getColor'](_0x220ae6[_0x31021c(0x242)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3ed5d7||_0x1c9625[_0x31021c(0x21c)](_0x220ae6[_0x31021c(0x242)][_0x31021c(0x1b3)],0x0),'evented':!0x1});this['_anchorDot']=_0x299ccd,this[_0x31021c(0x2b0)][_0x31021c(0x301)](_0x299ccd,_0x5b6656[_0x31021c(0x189)]);const _0x43a414=new _0x5b107a(_0x2f6dfa+_0x220ae6['Tools'][_0x31021c(0x13e)](_0x4bae42),{'left':_0x1c7cea+_0x9f902f-_0x36129b,'top':_0x5ec08a+_0x1ec405-_0x19682e,'text':_0xf04079,'color':_0x3ed5d7});this['_textBubble']=_0x43a414,this['_scene']['addObject'](_0x43a414,_0x5b6656[_0x31021c(0x189)]),this[_0x31021c(0xc1)]=!0x1;}[_0x119853(0x1a3)](){const _0xf9c023=_0x119853,_0x3b5a3b=this['_anchor'][_0xf9c023(0x269)][_0xf9c023(0x15b)](()=>{const _0x42b93f=_0xf9c023;this[_0x42b93f(0xc1)]=!0x0;}),_0x2d818a=this[_0xf9c023(0x15c)]['onPointerLeave$'][_0xf9c023(0x15b)](()=>{const _0x4e71cb=_0xf9c023;this['_hideTimer']&&clearTimeout(this[_0x4e71cb(0x2dd)]),this['_hideTimer']=setTimeout(()=>{const _0x12adc9=_0x4e71cb;this[_0x12adc9(0xc1)]=!0x1;},0x7d0);});return()=>{const _0x518b64=_0xf9c023;_0x3b5a3b[_0x518b64(0x1a0)](),_0x2d818a['unsubscribe']();};}[_0x119853(0x1c8)](_0x5b0b55,_0x56f3da,_0x336219,_0x53ff75){const _0x30bc83=_0x119853,_0x20b724=new _0x220ae6[(_0x30bc83(0x217))](_0x5b0b55)['setAlpha'](0.2)[_0x30bc83(0x28c)](),_0x36b48e=new _0x1c9625[(_0x30bc83(0x12b))](_0x1680ec+_0x220ae6['Tools'][_0x30bc83(0x13e)](_0x4bae42),{'pointsGroup':_0x56f3da,'fill':_0x20b724||_0x1c9625[_0x30bc83(0x21c)](_0x220ae6[_0x30bc83(0x242)]['black'],0.2),'left':_0x336219,'top':_0x53ff75,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30bc83(0x337)][_0x30bc83(0x1c6)](_0x36b48e),this[_0x30bc83(0x2b0)]['addObject'](_0x36b48e,_0x5b6656[_0x30bc83(0x189)]);}[_0x119853(0x1ed)](_0x42e6ef,_0x1faf94,_0x4f54d8,_0x4a42f3){const _0x11b8b5=_0x119853,_0x22d9c8=new _0x220ae6[(_0x11b8b5(0x217))](_0x42e6ef)[_0x11b8b5(0x232)](0.2)['toRgbString'](),_0x2e14dc=new _0x1c9625[(_0x11b8b5(0x12b))](_0x240b54+_0x220ae6[_0x11b8b5(0x2c4)][_0x11b8b5(0x13e)](_0x4bae42),{'pointsGroup':_0x1faf94,'fill':_0x22d9c8||_0x1c9625[_0x11b8b5(0x21c)](_0x220ae6[_0x11b8b5(0x242)]['black'],0.2),'left':_0x4f54d8,'top':_0x4a42f3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x11b8b5(0x1c6)](_0x2e14dc),this[_0x11b8b5(0x2b0)][_0x11b8b5(0x301)](_0x2e14dc,_0x5b6656['TEXT_RANGE_LAYER_INDEX']);}[_0x119853(0x1c2)](_0x53442f){const _0x4eafa2=_0x53442f[0x0],_0x5357d5=_0x4eafa2[0x0],_0x45bbef=_0x4eafa2[0x2],{x:_0x16a79b,y:_0x48e43f}=_0x5357d5,{x:_0x4f1f46,y:_0x532b55}=_0x45bbef;return{'left':_0x16a79b,'top':_0x48e43f,'width':_0x4f1f46-_0x16a79b,'height':_0x532b55-_0x48e43f};}['_getScale'](){const _0x19be45=_0x119853,{scaleX:_0x272154,scaleY:_0x1818c1}=this[_0x19be45(0x2b0)]['getAncestorScale']();return Math['max'](_0x272154,_0x1818c1);}}var _0xeca11f=Object[_0x119853(0x150)],_0x3e0e43=(_0x3c79c2,_0x422bf9,_0x687b7f,_0x432c04)=>{const _0x9733df=_0x119853;for(var _0x20a5b0=_0x432c04>0x1?void 0x0:_0x432c04?_0xeca11f(_0x422bf9,_0x687b7f):_0x422bf9,_0x476597=_0x3c79c2[_0x9733df(0x346)]-0x1,_0x1c8a65;_0x476597>=0x0;_0x476597--)(_0x1c8a65=_0x3c79c2[_0x476597])&&(_0x20a5b0=_0x1c8a65(_0x20a5b0)||_0x20a5b0);return _0x20a5b0;},_0x504c88=(_0x485272,_0x53b149)=>(_0xb8456b,_0x41e644)=>_0x53b149(_0xb8456b,_0x41e644,_0x485272);let _0x46235d=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x1ab390,_0x5c37a0,_0xa3ccb,_0x246590,_0xc1a357){const _0x42b03d=_0x119853;super(),_0x1762f0(this,'_cursorShapes',[]),_0x1762f0(this,_0x42b03d(0x128),[]),(this[_0x42b03d(0x234)]=_0x1ab390,this[_0x42b03d(0x230)]=_0x5c37a0,this[_0x42b03d(0x31c)]=_0xa3ccb,this[_0x42b03d(0x155)]=_0x246590,this['_themeService']=_0xc1a357,this[_0x42b03d(0x2aa)]());}[_0x119853(0x2aa)](){const _0x29cc7b=_0x119853,_0xd66d01=this[_0x29cc7b(0x234)][_0x29cc7b(0x357)],_0xc48fc4=this[_0x29cc7b(0x230)];this[_0x29cc7b(0xf3)](_0x217777[_0x29cc7b(0x1d9)]([this[_0x29cc7b(0x31c)]['getCollabCursors$'](_0xd66d01),this[_0x29cc7b(0x24b)]['currentTheme$']])[_0x29cc7b(0x31a)](_0x3c1af3['map'](([_0x145784,_0x3216a5])=>({'skeleton':_0xc48fc4[_0x29cc7b(0x259)](),'cursors':[..._0x145784['values']()][_0x29cc7b(0x1cc)](_0x14b93e=>({..._0x14b93e,'color':this[_0x29cc7b(0x24b)][_0x29cc7b(0x1ee)](_0x14b93e[_0x29cc7b(0x267)])}))})))[_0x29cc7b(0x1b9)](_0x5ed60a=>{const _0x21120b=_0x29cc7b;if(this['_removeCollabCursors'](),_0x5ed60a){const {skeleton:_0x9bb0f2,cursors:_0x37c4d9}=_0x5ed60a;this[_0x21120b(0x281)](_0x9bb0f2,_0x37c4d9);}})),this['_initResize'](),this[_0x29cc7b(0x268)]();}[_0x119853(0x281)](_0x4c9f6a,_0x3b5953){const _0x16db80=_0x119853,{scene:_0x6c379e,mainComponent:_0x3bdafa}=this['_context'],_0xb2e26b=_0x3b5953[_0x16db80(0x2f7)](_0xa531ce=>new _0x5685f6(_0xa531ce,_0x6c379e,_0x4c9f6a,_0x3bdafa));this[_0x16db80(0x353)]=_0xb2e26b,this[_0x16db80(0x128)]=_0x3b5953;}['_refreshCollabCursors'](){const _0x3fe7af=_0x119853;this['_removeCollabCursors']();const {scene:_0x50d02b,mainComponent:_0x46543b}=this['_context'],_0x2551d7=this['_docSkeletonManagerService'][_0x3fe7af(0x259)](),_0x314f63=this[_0x3fe7af(0x128)][_0x3fe7af(0x2f7)](_0x3d6382=>new _0x5685f6(_0x3d6382,_0x50d02b,_0x2551d7,_0x46543b));this[_0x3fe7af(0x353)]=_0x314f63;}['_removeCollabCursors'](){const _0x30ebec=_0x119853;this['_cursorShapes'][_0x30ebec(0xfd)](_0x25f97f=>_0x25f97f[_0x30ebec(0x2c5)]()),this[_0x30ebec(0x353)]=[];}[_0x119853(0x268)](){const _0x5affe4=_0x119853,_0x5e5f5a=[_0x5b6656['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x5affe4(0x155)]['onCommandExecuted'](_0x124d32=>{const _0x4aaad2=_0x5affe4;_0x5e5f5a[_0x4aaad2(0x332)](_0x124d32['id'])&&_0x124d32[_0x4aaad2(0x25a)][_0x4aaad2(0x357)]===this[_0x4aaad2(0x234)][_0x4aaad2(0x357)]&&this[_0x4aaad2(0x1af)]();}));}[_0x119853(0x135)](){const _0x3d3f30=_0x119853;this[_0x3d3f30(0xf3)](_0x220ae6[_0x3d3f30(0x1f0)](this['_context'][_0x3d3f30(0x266)][_0x3d3f30(0x2d9)])[_0x3d3f30(0x31a)](_0x3c1af3[_0x3d3f30(0x288)](_0x5ee95d=>_0x5ee95d[_0x3d3f30(0xb7)]===_0x1c9625[_0x3d3f30(0x349)][_0x3d3f30(0x10b)]),_0x3c1af3[_0x3d3f30(0x1e3)](0x10))[_0x3d3f30(0x1b9)](()=>{const _0x1ab55b=_0x3d3f30;this[_0x1ab55b(0x1af)]();}));}};_0x46235d=_0x3e0e43([_0x504c88(0x1,_0x220ae6['Inject'](_0x4dcc89[_0x119853(0x2af)])),_0x504c88(0x2,_0x220ae6[_0x119853(0x1c9)](_0x193db8)),_0x504c88(0x3,_0x220ae6['ICommandService']),_0x504c88(0x4,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0xd4)]))],_0x46235d);const _0x19df72=0x1,_0x405778=1.5;class _0x2712e8 extends _0x1c9625[_0x119853(0x1fc)]{constructor(_0xbd03b,_0x47e99f){const _0x10b0fd=_0x119853;super(_0xbd03b,_0x47e99f),_0x1762f0(this,_0x10b0fd(0x23b)),_0x1762f0(this,_0x10b0fd(0x18b),!0x1),_0x1762f0(this,'_range'),_0x1762f0(this,_0x10b0fd(0x14e),''),_0x1762f0(this,_0x10b0fd(0x29f),'top'),_0x1762f0(this,'_backgroundColor'),(_0x47e99f&&this[_0x10b0fd(0x321)](_0x47e99f),this[_0x10b0fd(0x269)][_0x10b0fd(0x15b)](()=>this[_0x10b0fd(0x321)]({'hovered':!0x0})),this['onPointerLeave$'][_0x10b0fd(0x15b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x119853(0x321)](_0x2dcc72){const _0x277ff1=_0x119853;var _0x3a9edc,_0x253652,_0x141487,_0x4367ee,_0x292fe5,_0x233052;this[_0x277ff1(0x23b)]=(_0x3a9edc=_0x2dcc72[_0x277ff1(0x267)])!=null?_0x3a9edc:this[_0x277ff1(0x23b)],this[_0x277ff1(0x18b)]=(_0x253652=_0x2dcc72[_0x277ff1(0x2b2)])!=null?_0x253652:this[_0x277ff1(0x18b)],this[_0x277ff1(0x190)]=(_0x141487=_0x2dcc72[_0x277ff1(0x2e7)])!=null?_0x141487:this[_0x277ff1(0x190)],this[_0x277ff1(0x14e)]=(_0x4367ee=_0x2dcc72['name'])!=null?_0x4367ee:this[_0x277ff1(0x14e)],this[_0x277ff1(0x29f)]=(_0x292fe5=_0x2dcc72['labelPosition'])!=null?_0x292fe5:this['_labelPosition'],this[_0x277ff1(0x1b5)]=(_0x233052=_0x2dcc72['backgroundColor'])!=null?_0x233052:this[_0x277ff1(0x1b5)],this[_0x277ff1(0x18f)]({'width':_0x2dcc72[_0x277ff1(0x1db)],'height':_0x2dcc72['height']});}[_0x119853(0x22d)](_0x19ae23){const _0x211b0a=_0x119853,{row:_0x3ba2cf,column:_0x12e1c8}=_0x19ae23;if(_0x3ba2cf>=this[_0x211b0a(0x190)]['startRow']&&_0x3ba2cf<=this['_range']['endRow']&&_0x12e1c8>=this[_0x211b0a(0x190)]['startColumn']&&_0x12e1c8<=this[_0x211b0a(0x190)][_0x211b0a(0x2f1)]){this[_0x211b0a(0x321)]({'hovered':!0x0});return;}this[_0x211b0a(0x321)]({'hovered':!0x1});}['triggerDblclick'](_0x40377a){return!0x1;}['_draw'](_0x35eb95){const _0x333518=_0x119853;_0x1c9625['Rect'][_0x333518(0xbb)](_0x35eb95,{'width':this['width'],'height':this[_0x333518(0x279)],'strokeWidth':_0x405778,'stroke':this[_0x333518(0x23b)],'evented':!0x1,'fill':this[_0x333518(0x1b5)]}),this[_0x333518(0x18b)]&&(_0x35eb95[_0x333518(0x2c6)](),_0x35eb95[_0x333518(0x176)](0x1,0x0,0x0,0x1,this[_0x333518(0x1db)],this['_labelPosition']===_0x333518(0x1a2)?0x0:-0x14),_0x5b107a[_0x333518(0xbb)](_0x35eb95,{'text':this['_name'],'color':this[_0x333518(0x23b)]}),_0x35eb95[_0x333518(0xd5)]());}}var _0x40f00a=Object[_0x119853(0x150)],_0x472783=(_0xdafbce,_0x281c4d,_0x3aaa9a,_0x2c556c)=>{const _0x1f02a3=_0x119853;for(var _0x2ff461=_0x2c556c>0x1?void 0x0:_0x2c556c?_0x40f00a(_0x281c4d,_0x3aaa9a):_0x281c4d,_0x14e83c=_0xdafbce[_0x1f02a3(0x346)]-0x1,_0x105efb;_0x14e83c>=0x0;_0x14e83c--)(_0x105efb=_0xdafbce[_0x14e83c])&&(_0x2ff461=_0x105efb(_0x2ff461)||_0x2ff461);return _0x2ff461;},_0x56cc94=(_0x20d71a,_0x2ebc57)=>(_0x47081d,_0x2e36f9)=>_0x2ebc57(_0x47081d,_0x2e36f9,_0x20d71a);const _0x12e75e=0x1389;let _0x4e6538=class extends _0x220ae6['RxDisposable']{constructor(_0x216d45,_0x5138be,_0x20342b,_0x25165c){const _0x293f0b=_0x119853;super(),_0x1762f0(this,_0x293f0b(0x128),new Set()),_0x1762f0(this,_0x293f0b(0x251),null),(this[_0x293f0b(0x234)]=_0x216d45,this[_0x293f0b(0x1f8)]=_0x5138be,this['_collabCursorController']=_0x20342b,this[_0x293f0b(0x24b)]=_0x25165c,this['_init']());}[_0x119853(0x2aa)](){const _0x3f3177=_0x119853;this[_0x3f3177(0x1f8)]['currentSkeleton$'][_0x3f3177(0x31a)](_0x3c1af3[_0x3f3177(0x23a)](this['dispose$']),_0x3c1af3[_0x3f3177(0xc5)](_0x47aaea=>{const _0x5ae23a=_0x3f3177;if(_0x47aaea){const _0x4cf076=_0x47aaea[_0x5ae23a(0xd7)];return _0x217777[_0x5ae23a(0x1d9)](this[_0x5ae23a(0x31c)][_0x5ae23a(0x1e4)](this[_0x5ae23a(0x234)][_0x5ae23a(0x357)]),this[_0x5ae23a(0x24b)][_0x5ae23a(0x2a0)])[_0x5ae23a(0x31a)](_0x3c1af3[_0x5ae23a(0x2f7)](([_0x653286,_0x25cf3f])=>{const _0x5d9d8c=new Map();return _0x653286['forEach']((_0x526a20,_0x457efe)=>{const _0x524d79=_0x14fd;if(_0x526a20['sheetID']===_0x4cf076){const _0x289530={..._0x526a20};_0x289530[_0x524d79(0x267)]=this[_0x524d79(0x24b)][_0x524d79(0x1ee)](_0x526a20['color']),_0x5d9d8c[_0x524d79(0x26d)](_0x457efe,_0x289530);}}),{'skeleton':_0x47aaea,'cursors':_0x5d9d8c};}));}return _0x217777['of']({'skeleton':null,'cursors':new Map()});}))[_0x3f3177(0x1b9)](({skeleton:_0x16bc81,cursors:_0x2e0ce0})=>{const _0xc63a18=_0x3f3177;this[_0xc63a18(0x1aa)](),_0x16bc81&&this[_0xc63a18(0x281)](_0x16bc81,_0x2e0ce0);}),this['_sheetSkeletonManagerService'][_0x3f3177(0x200)]['subscribe'](_0x2a0725=>{const _0x552ce8=_0x3f3177;if(_0x2a0725==null)return;const {skeleton:_0x3cdd8c}=_0x2a0725,{scene:_0x5306ce}=this[_0x552ce8(0x234)];_0x5306ce[_0x552ce8(0x32f)][_0x552ce8(0x15b)](_0x220ae6['debounce'](_0xb13f6d=>{const _0x12699a=_0x552ce8;var _0x397549,_0x58922f;const {offsetX:_0x41713f,offsetY:_0x1fddcd}=_0xb13f6d,{x:_0x44bcaa,y:_0x58d89b}=_0x5306ce[_0x12699a(0x30a)](_0x1c9625[_0x12699a(0x149)]['FromArray']([_0x41713f,_0x1fddcd])),{scaleX:_0x46f270,scaleY:_0x49caf3}=_0x5306ce[_0x12699a(0x17a)](),_0x10294a=_0x5306ce[_0x12699a(0x123)](_0x1c9625[_0x12699a(0x33b)]['VIEW_MAIN']),_0x49f2c9=_0x5306ce[_0x12699a(0x30b)](_0x1c9625[_0x12699a(0x149)][_0x12699a(0x307)]([_0x44bcaa,_0x58d89b]),_0x10294a),_0x14d13f=_0x3cdd8c[_0x12699a(0x1d8)](_0x41713f,_0x1fddcd,_0x46f270,_0x49caf3,_0x49f2c9);((_0x397549=this[_0x12699a(0x251)])==null?void 0x0:_0x397549['column'])===_0x14d13f[_0x12699a(0x2c1)]&&((_0x58922f=this[_0x12699a(0x251)])==null?void 0x0:_0x58922f[_0x12699a(0x254)])===_0x14d13f[_0x12699a(0x254)]||this[_0x12699a(0x128)]['forEach'](_0x236706=>{const _0xebff15=_0x12699a;_0x236706[_0xebff15(0x22d)](_0x14d13f);});},0x64));});}[_0x119853(0x281)](_0x4e3856,_0x586e45){const _0x4560af=_0x119853;var _0x4256f3;const _0x2976c4=(_0x4256f3=this[_0x4560af(0x1f8)][_0x4560af(0x1a4)]())==null?void 0x0:_0x4256f3[_0x4560af(0x2f0)];if(!_0x2976c4)return;const _0x5a6c61=this[_0x4560af(0x322)]();if(!_0x5a6c61)return;this[_0x4560af(0x128)][_0x4560af(0xfd)](_0x3002f8=>{_0x3002f8['makeDirty']();});const {scene:_0x2fc402}=_0x5a6c61,_0x56544f=_0x4ccfa6(Array[_0x4560af(0x171)](_0x586e45[_0x4560af(0x25c)]()))['map'](_0x13b95a=>{const _0x17c394=_0x4560af,{color:_0x55db43,range:_0x4c34a9,name:_0x28055b,selection:_0x3e563d,sheetID:_0x1b698c}=_0x13b95a,{startColumn:_0x53d3a5,startRow:_0x1705a5,endColumn:_0x4693b7,endRow:_0x20a91e}=_0x4c34a9,_0x13f90d=_0x5bc939[_0x17c394(0x29e)](_0x1705a5,_0x53d3a5,_0x2fc402,_0x2976c4),_0x33e1ff=_0x5bc939['getCoordByCell'](_0x20a91e,_0x4693b7,_0x2fc402,_0x2976c4),{columnHeaderHeightAndMarginTop:_0x21c58a}=_0x2976c4,{startX:_0x5353c7,startY:_0x226c82}=_0x13f90d,{endX:_0x1d1d80,endY:_0x580fb2}=_0x33e1ff,_0x3056dc=_0x1d1d80-_0x5353c7,_0x5d100e=_0x580fb2-_0x226c82,_0x41a80d={'labelPosition':_0x226c82-_0x21c58a>=_0x19682e?_0x17c394(0x289):_0x17c394(0x1a2),'sheetID':_0x1b698c,'range':_0x4c34a9,'color':_0x55db43,'name':_0x28055b,'selection':_0x3e563d,'left':_0x5353c7,'top':_0x226c82,'width':_0x3056dc,'height':_0x5d100e,'evented':!0x1,'zIndex':_0x12e75e};return new _0x2712e8(_0x28055b,_0x41a80d);});_0x2fc402[_0x4560af(0x2cc)](_0x56544f,_0x19df72),this[_0x4560af(0x128)]=new Set(_0x56544f);}[_0x119853(0x1aa)](){const _0x5af6fb=_0x119853;var _0x57e94b;(_0x57e94b=this['_cursors'])==null||_0x57e94b['forEach'](_0x5affcf=>_0x5affcf[_0x5af6fb(0x2c5)]());}['_getSheetObject'](){const _0x540fa3=_0x119853;return _0x5bc939[_0x540fa3(0x1ca)](this['_context'][_0x540fa3(0x2a4)],this['_context']);}};_0x4e6538=_0x472783([_0x56cc94(0x1,_0x220ae6['Inject'](_0x5bc939['SheetSkeletonManagerService'])),_0x56cc94(0x2,_0x220ae6[_0x119853(0x1c9)](_0x193db8)),_0x56cc94(0x3,_0x220ae6[_0x119853(0x1c9)](_0x220ae6['ThemeService']))],_0x4e6538);function _0x4ccfa6(_0x1fc43e){const _0x472929=_0x119853,_0x1d9f22=new Map();return _0x1fc43e[_0x472929(0xfd)](_0x201f50=>{const _0x3e9fd1=_0x472929;if(_0x1d9f22[_0x3e9fd1(0x121)](_0x201f50[_0x3e9fd1(0x28f)])){const _0x356dc5=_0x1d9f22[_0x3e9fd1(0x2c2)](_0x201f50[_0x3e9fd1(0x28f)]);_0x356dc5[_0x3e9fd1(0x1bf)]+=',\x20'+_0x201f50[_0x3e9fd1(0x1bf)];}else _0x1d9f22[_0x3e9fd1(0x26d)](_0x201f50['selection'],_0x201f50);}),Array[_0x472929(0x171)](_0x1d9f22[_0x472929(0x25c)]());}var _0x13d7f7=function(){const _0x2b8099=_0x119853;return _0x13d7f7=Object[_0x2b8099(0x24e)]||function(_0x48b075){const _0x8e424a=_0x2b8099;for(var _0x13779,_0x2f2de9=0x1,_0x4ec0ea=arguments['length'];_0x2f2de9<_0x4ec0ea;_0x2f2de9++){_0x13779=arguments[_0x2f2de9];for(var _0x503cf7 in _0x13779)Object[_0x8e424a(0x20c)][_0x8e424a(0x1a8)][_0x8e424a(0x11b)](_0x13779,_0x503cf7)&&(_0x48b075[_0x503cf7]=_0x13779[_0x503cf7]);}return _0x48b075;},_0x13d7f7[_0x2b8099(0x1c5)](this,arguments);},_0x1fd91d=function(_0x58ac7c,_0x41c409){const _0x35f245=_0x119853;var _0x459fbf={};for(var _0x3001ad in _0x58ac7c)Object[_0x35f245(0x20c)][_0x35f245(0x1a8)][_0x35f245(0x11b)](_0x58ac7c,_0x3001ad)&&_0x41c409[_0x35f245(0xc8)](_0x3001ad)<0x0&&(_0x459fbf[_0x3001ad]=_0x58ac7c[_0x3001ad]);if(_0x58ac7c!=null&&typeof Object['getOwnPropertySymbols']==_0x35f245(0x285)){for(var _0x2fab90=0x0,_0x3001ad=Object[_0x35f245(0x21e)](_0x58ac7c);_0x2fab90<_0x3001ad[_0x35f245(0x346)];_0x2fab90++)_0x41c409[_0x35f245(0xc8)](_0x3001ad[_0x2fab90])<0x0&&Object[_0x35f245(0x20c)][_0x35f245(0x2df)][_0x35f245(0x11b)](_0x58ac7c,_0x3001ad[_0x2fab90])&&(_0x459fbf[_0x3001ad[_0x2fab90]]=_0x58ac7c[_0x3001ad[_0x2fab90]]);}return _0x459fbf;},_0x1ec6bc=_0x2e1db8[_0x119853(0x1b2)](function(_0x23ee81,_0x4e1945){const _0x43c256=_0x119853;var _0x256e65=_0x23ee81['icon'],_0x1d8d05=_0x23ee81['id'],_0x1798ca=_0x23ee81[_0x43c256(0xeb)],_0x3f4eed=_0x23ee81[_0x43c256(0x228)],_0xd4af2=_0x1fd91d(_0x23ee81,[_0x43c256(0x270),'id',_0x43c256(0xeb),_0x43c256(0x228)]),_0x10800f=_0x43c256(0x2ac)['concat'](_0x1d8d05,'\x20')[_0x43c256(0x201)](_0x1798ca||'')[_0x43c256(0x249)](),_0xb8f54a=_0x2e1db8[_0x43c256(0xfc)]('_'['concat'](_0x57b870()));return _0x39fbe0(_0x256e65,''[_0x43c256(0x201)](_0x1d8d05),{'defIds':_0x256e65[_0x43c256(0x32b)],'idSuffix':_0xb8f54a['current']},_0x13d7f7({'ref':_0x4e1945,'className':_0x10800f},_0xd4af2),_0x3f4eed);});function _0x39fbe0(_0x2eeac1,_0x387182,_0x3cbf1a,_0x40750a,_0x553ec0){const _0x5bcd31=_0x119853;return _0x2e1db8[_0x5bcd31(0x1dc)](_0x2eeac1[_0x5bcd31(0x295)],_0x13d7f7(_0x13d7f7({'key':_0x387182},_0x3f4524(_0x2eeac1,_0x3cbf1a,_0x553ec0)),_0x40750a),(_0x2f4dec(_0x2eeac1,_0x3cbf1a)[_0x5bcd31(0x32a)]||[])[_0x5bcd31(0x2f7)](function(_0x10b98d,_0x3b7cc1){const _0x4bb13d=_0x5bcd31;return _0x39fbe0(_0x10b98d,''['concat'](_0x387182,'-')['concat'](_0x2eeac1[_0x4bb13d(0x295)],'-')[_0x4bb13d(0x201)](_0x3b7cc1),_0x3cbf1a,void 0x0,_0x553ec0);}));}function _0x3f4524(_0x30cd2d,_0x54c583,_0x49f26f){const _0x8415b0=_0x119853;var _0x334abe=_0x13d7f7({},_0x30cd2d['attrs']);_0x49f26f!=null&&_0x49f26f[_0x8415b0(0x1b6)]&&_0x334abe[_0x8415b0(0x2d5)]===_0x8415b0(0x1b6)&&(_0x334abe['fill']=_0x49f26f[_0x8415b0(0x1b6)]),_0x30cd2d['tag']===_0x8415b0(0xc9)&&_0x334abe['id']&&(_0x334abe['id']=_0x334abe['id']+_0x54c583['idSuffix']),Object[_0x8415b0(0x1e1)](_0x334abe)[_0x8415b0(0xfd)](function(_0x555bce){const _0x443a2c=_0x8415b0;var _0x362362=_0x555bce[0x0],_0x6b4702=_0x555bce[0x1];_0x362362===_0x443a2c(0xc9)&&typeof _0x6b4702=='string'&&(_0x334abe[_0x362362]=_0x6b4702['replace'](/url\(#(.*)\)/,_0x443a2c(0x116)[_0x443a2c(0x201)](_0x54c583[_0x443a2c(0x355)],')')));});var _0xe11025=_0x54c583[_0x8415b0(0x32b)];return!_0xe11025||_0xe11025['length']===0x0||(_0x30cd2d[_0x8415b0(0x295)]===_0x8415b0(0x145)&&_0x334abe[_0x8415b0(0x2bf)]&&(_0x334abe[_0x8415b0(0x2bf)]=_0x334abe['xlink:href']+_0x54c583['idSuffix']),Object[_0x8415b0(0x1e1)](_0x334abe)[_0x8415b0(0xfd)](function(_0x1b2485){const _0x29072d=_0x8415b0;var _0x1574cd=_0x1b2485[0x0],_0xfad3de=_0x1b2485[0x1];typeof _0xfad3de=='string'&&(_0x334abe[_0x1574cd]=_0xfad3de[_0x29072d(0x12e)](/url\(#(.*)\)/,_0x29072d(0x116)['concat'](_0x54c583[_0x29072d(0x355)],')')));})),_0x334abe;}function _0x2f4dec(_0x1d79c4,_0x354714){const _0x5d5e5b=_0x119853;var _0x122ec8,_0x578b5b=_0x354714[_0x5d5e5b(0x32b)];return!_0x578b5b||_0x578b5b[_0x5d5e5b(0x346)]===0x0?_0x1d79c4:_0x1d79c4[_0x5d5e5b(0x295)]===_0x5d5e5b(0x224)&&(!((_0x122ec8=_0x1d79c4[_0x5d5e5b(0x32a)])===null||_0x122ec8===void 0x0)&&_0x122ec8[_0x5d5e5b(0x346)])?_0x13d7f7(_0x13d7f7({},_0x1d79c4),{'children':_0x1d79c4[_0x5d5e5b(0x32a)][_0x5d5e5b(0x2f7)](function(_0x13912d){const _0x2a8c70=_0x5d5e5b;return typeof _0x13912d[_0x2a8c70(0x2d2)]['id']==_0x2a8c70(0x236)&&_0x578b5b&&_0x578b5b[_0x2a8c70(0x332)](_0x13912d['attrs']['id'])?_0x13d7f7(_0x13d7f7({},_0x13912d),{'attrs':_0x13d7f7(_0x13d7f7({},_0x13912d[_0x2a8c70(0x2d2)]),{'id':_0x13912d[_0x2a8c70(0x2d2)]['id']+_0x354714['idSuffix']})}):_0x13912d;})}):_0x1d79c4;}function _0x57b870(){const _0x38e0d2=_0x119853;return Math['random']()[_0x38e0d2(0x2ee)](0x24)[_0x38e0d2(0x317)](0x2,0x8);}_0x1ec6bc['displayName']=_0x119853(0x220);var _0x42fe73={'tag':_0x119853(0x2fa),'attrs':{'xmlns':_0x119853(0x348),'fill':'none','viewBox':_0x119853(0x208),'width':_0x119853(0x14a),'height':_0x119853(0x14a)},'children':[{'tag':'g','attrs':{'clipPath':_0x119853(0x167)},'children':[{'tag':'path','attrs':{'stroke':_0x119853(0x113),'d':_0x119853(0x1d5),'strokeLinecap':'round','strokeLinejoin':_0x119853(0x1f9),'strokeWidth':1.2}}]},{'tag':_0x119853(0x224),'attrs':{},'children':[{'tag':_0x119853(0x2f2),'attrs':{'id':_0x119853(0x1eb)},'children':[{'tag':_0x119853(0x1d1),'attrs':{'fill':_0x119853(0x338),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x119853(0x1eb)]},_0x4161fa=_0x2e1db8[_0x119853(0x1b2)](function(_0x4cea1e,_0x35e671){return _0x2e1db8['createElement'](_0x1ec6bc,Object['assign']({},_0x4cea1e,{'id':'off-line-icon','ref':_0x35e671,'icon':_0x42fe73}));});_0x4161fa[_0x119853(0x2fe)]=_0x119853(0x218);var _0x555eb9={'tag':_0x119853(0x2fa),'attrs':{'xmlns':_0x119853(0x348),'fill':_0x119853(0x15f),'viewBox':_0x119853(0x240),'width':_0x119853(0x14a),'height':_0x119853(0x14a)},'children':[{'tag':'g','attrs':{'clipPath':_0x119853(0x1ce)},'children':[{'tag':_0x119853(0x1d1),'attrs':{'stroke':_0x119853(0x113),'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':_0x119853(0x1f9),'strokeLinejoin':_0x119853(0x1f9),'strokeWidth':1.2}}]},{'tag':_0x119853(0x224),'attrs':{},'children':[{'tag':_0x119853(0x2f2),'attrs':{'id':_0x119853(0x126)},'children':[{'tag':'path','attrs':{'fill':_0x119853(0x338),'d':'M0\x200H16V16H0z','transform':_0x119853(0x25b)}}]}]}],'defIds':[_0x119853(0x126)]},_0x3a8437=_0x2e1db8[_0x119853(0x1b2)](function(_0x16aa29,_0x54e3ab){const _0x2b662d=_0x119853;return _0x2e1db8[_0x2b662d(0x1dc)](_0x1ec6bc,Object['assign']({},_0x16aa29,{'id':_0x2b662d(0x27d),'ref':_0x54e3ab,'icon':_0x555eb9}));});_0x3a8437[_0x119853(0x2fe)]=_0x119853(0x302);function _0x3628f7(_0x58a900){const _0x34cefa=_0x119853;switch(_0x58a900){case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0xf7)]:return _0x34cefa(0x15e);case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0x199)]:return'collabStatus.conflict';case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0xd9)]:return _0x34cefa(0x21a);case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0xce)]:return _0x34cefa(0x188);case _0x471b6c['CollaborationStatus'][_0x34cefa(0xe5)]:case _0x471b6c['CollaborationStatus'][_0x34cefa(0x2b1)]:return _0x34cefa(0x1ef);case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0x33a)]:case _0x471b6c[_0x34cefa(0x27a)]['PENDING']:return _0x34cefa(0x335);}}function _0x2f2b45(_0x37f9be){const _0x24d8ae=_0x119853,{status$:_0x598906}=_0x37f9be,_0x5ac5ea=_0x3d52cc[_0x24d8ae(0x345)](_0x598906,_0x471b6c[_0x24d8ae(0x27a)][_0x24d8ae(0xce)]),_0x296c51=_0x3d52cc[_0x24d8ae(0x204)](_0x220ae6[_0x24d8ae(0x26b)]),_0x45a346=_0x3d52cc[_0x24d8ae(0x204)](_0x471b6c['CollaborationSessionService']),_0x4fcd64=_0x5ac5ea!==_0x471b6c[_0x24d8ae(0x27a)][_0x24d8ae(0xf7)],_0x4a7e61=_0x296c51['t'](_0x3628f7(_0x5ac5ea)),_0x4514cd=_0x4fcd64?_0x1028c1['jsx'](_0x3a8437,{}):_0x1028c1[_0x24d8ae(0x194)](_0x4161fa,{}),_0x48fa83=_0x2e1db8[_0x24d8ae(0x293)](()=>{const _0x8de802=_0x24d8ae;_0x4fcd64||_0x45a346[_0x8de802(0x119)]();},[_0x4fcd64,_0x45a346]);function _0x4d6b5a(){const _0x2c1475=_0x24d8ae;return _0x1028c1['jsxs'](_0x2c1475(0x14f),{'className':_0x2c1475(0x23e),'onClick':_0x48fa83,'children':[_0x1028c1[_0x2c1475(0x194)](_0x2c1475(0x14f),{'className':_0x587028['clsx'](_0x2c1475(0x313),{'univer-text-green-500':_0x4fcd64,'univer-text-red-500':!_0x4fcd64}),'children':_0x4514cd}),_0x1028c1[_0x2c1475(0x194)](_0x2c1475(0x14f),{'className':_0x2c1475(0x243),'children':_0x4a7e61})]});}return _0x4fcd64?_0x4d6b5a():_0x1028c1[_0x24d8ae(0x194)](_0x587028[_0x24d8ae(0x277)],{'title':_0x296c51['t'](_0x24d8ae(0x173)),'children':_0x4d6b5a()});}var _0x45c812=Object['getOwnPropertyDescriptor'],_0x1f659d=(_0x370cda,_0x2912a4,_0x4ab174,_0x31e086)=>{for(var _0x53ddc4=_0x31e086>0x1?void 0x0:_0x31e086?_0x45c812(_0x2912a4,_0x4ab174):_0x2912a4,_0x380de6=_0x370cda['length']-0x1,_0x525368;_0x380de6>=0x0;_0x380de6--)(_0x525368=_0x370cda[_0x380de6])&&(_0x53ddc4=_0x525368(_0x53ddc4)||_0x53ddc4);return _0x53ddc4;},_0x6f40cc=(_0x4aee4d,_0x255bbc)=>(_0x4832e1,_0x521e0b)=>_0x255bbc(_0x4832e1,_0x521e0b,_0x4aee4d);_0x3cf37a[_0x119853(0x2f5)]=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x3fd6bd,_0x5ce0e8,_0x5e6d41,_0x3d1e0d){const _0x3f4352=_0x119853;super(),_0x1762f0(this,_0x3f4352(0x106),new _0x217777[(_0x3f4352(0x17b))](_0x471b6c[_0x3f4352(0x27a)][_0x3f4352(0xce)])),(this['_univerInstanceService']=_0x3fd6bd,this['_injector']=_0x5ce0e8,this[_0x3f4352(0x305)]=_0x5e6d41,this[_0x3f4352(0x1de)]=_0x3d1e0d,this['_initStatusComponent'](),this[_0x3f4352(0x2b3)]());}[_0x119853(0x2b3)](){const _0x579314=_0x119853;this[_0x579314(0xf3)](this[_0x579314(0x142)][_0x579314(0xfb)][_0x579314(0x31a)](_0x217777[_0x579314(0xc5)](()=>{const _0x396ba0=_0x579314,_0x9d4b53=this[_0x396ba0(0x142)][_0x396ba0(0x1a1)]();return _0x9d4b53?this['_collaborationController']['getCollabEntity$'](_0x9d4b53['getUnitId']()):_0x217777['of'](null);}),_0x217777['switchMap'](_0x2539b5=>_0x2539b5?_0x2539b5['status$']:_0x217777['of'](_0x471b6c[_0x579314(0x27a)]['NOT_COLLAB'])))[_0x579314(0x1b9)](_0x174392=>{const _0x64dad3=_0x579314;this['_status$'][_0x64dad3(0x316)](_0x174392);}));}[_0x119853(0x2d4)](){const _0x3b4b4a=_0x119853;this[_0x3b4b4a(0xf3)](this[_0x3b4b4a(0x1de)][_0x3b4b4a(0x244)](_0x3d52cc[_0x3b4b4a(0x139)]['HEADER_MENU'],()=>_0x3d52cc[_0x3b4b4a(0x22e)](_0x4a5f48({'status$':this['_status$']['asObservable']()}),this[_0x3b4b4a(0x10a)])));}},_0x3cf37a['DesktopCollaborationStatusDisplayController']=_0x1f659d([_0x6f40cc(0x0,_0x220ae6[_0x119853(0x195)]),_0x6f40cc(0x1,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x22a)])),_0x6f40cc(0x2,_0x220ae6[_0x119853(0x1c9)](_0x471b6c[_0x119853(0x2e0)])),_0x6f40cc(0x3,_0x3d52cc[_0x119853(0xbf)])],_0x3cf37a[_0x119853(0x2f5)]);function _0x4a5f48(_0x1f2500){const {status$:_0x4ce539}=_0x1f2500;return function(){return _0x1028c1['jsx'](_0x2f2b45,{'status$':_0x4ce539});};}var _0x3d6970=Object[_0x119853(0x150)],_0x47b14b=(_0x141724,_0xc89f51,_0x174db5,_0x1033d4)=>{for(var _0x1c729a=_0x1033d4>0x1?void 0x0:_0x1033d4?_0x3d6970(_0xc89f51,_0x174db5):_0xc89f51,_0x291861=_0x141724['length']-0x1,_0x2c629a;_0x291861>=0x0;_0x291861--)(_0x2c629a=_0x141724[_0x291861])&&(_0x1c729a=_0x2c629a(_0x1c729a)||_0x1c729a);return _0x1c729a;},_0x24398e=(_0x484253,_0x4de05b)=>(_0x63f09f,_0x1bf8fe)=>_0x4de05b(_0x63f09f,_0x1bf8fe,_0x484253);let _0x327ef7=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x517b08,_0x356074,_0x4d6219,_0x5711d7,_0x2d5c13,_0x278edd){const _0x2045f5=_0x119853;super(),this[_0x2045f5(0xf6)]=_0x517b08,this[_0x2045f5(0x33e)]=_0x356074,this['_collaborationUIEventService']=_0x4d6219,this[_0x2045f5(0x1cb)]=_0x5711d7,this[_0x2045f5(0x325)]=_0x2d5c13,this[_0x2045f5(0x216)]=_0x278edd,this[_0x2045f5(0x132)](),this[_0x2045f5(0x1d3)]();}[_0x119853(0x132)](){const _0x36d7a2=_0x119853;this[_0x36d7a2(0xf3)](this[_0x36d7a2(0xf6)][_0x36d7a2(0x122)](()=>{const _0x396142=_0x36d7a2;if(this[_0x396142(0x33e)][_0x396142(0x2a6)]['size'])return this[_0x396142(0x216)]['t'](_0x396142(0x203));}));}[_0x119853(0x1d3)](){const _0x49dc49=_0x119853;this[_0x49dc49(0xf3)](this['_collaborationUIEventService'][_0x49dc49(0x14d)][_0x49dc49(0x1b9)](_0x5d1f69=>{const _0x4729c5=_0x49dc49;_0x5d1f69['id']===_0x471b6c[_0x4729c5(0x26f)][_0x4729c5(0x352)]&&this['_messageService'][_0x4729c5(0x27c)]({'type':_0x587028['MessageType'][_0x4729c5(0x2eb)],'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x34f))}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0x2ab)]&&this['_messageService']['show']({'type':_0x587028[_0x4729c5(0x17f)]['Warning'],'content':this['_localeService']['t'](_0x4729c5(0x1da))}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0x10e)]&&this[_0x4729c5(0x325)][_0x4729c5(0x27c)]({'title':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x287)),'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x206)),'type':'error','duration':0x0}),_0x5d1f69['id']===_0x471b6c[_0x4729c5(0x26f)]['CONFLICT']&&this[_0x4729c5(0x1cb)][_0x4729c5(0x27c)]({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0xe8)],'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x1da))+'('+_0x5d1f69[_0x4729c5(0x351)]+')'}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0x1f7)]&&this[_0x4729c5(0x1cb)][_0x4729c5(0x27c)]({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0x2eb)],'content':this[_0x4729c5(0x216)]['t'](_0x5d1f69['data']||'')}),_0x5d1f69['id']===_0x471b6c[_0x4729c5(0x26f)][_0x4729c5(0xc0)]&&this['_messageService']['show']({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0x2eb)],'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0xb9))}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0x339)]&&this[_0x4729c5(0x1cb)][_0x4729c5(0x27c)]({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0xe8)],'content':this[_0x4729c5(0x216)]['t']('session.connection-failed')}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0xe4)]&&this[_0x4729c5(0x1cb)][_0x4729c5(0x27c)]({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0xe8)],'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x13a))});}));}};_0x327ef7=_0x47b14b([_0x24398e(0x0,_0x3d52cc[_0x119853(0xca)]),_0x24398e(0x1,_0x471b6c[_0x119853(0x1f5)]),_0x24398e(0x2,_0x220ae6[_0x119853(0x1c9)](_0x471b6c[_0x119853(0x147)])),_0x24398e(0x3,_0x3d52cc[_0x119853(0x17c)]),_0x24398e(0x4,_0x3d52cc[_0x119853(0x27b)]),_0x24398e(0x5,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x26b)]))],_0x327ef7);const _0x155070=_0x119853(0x304),_0x126fc8={},_0x3c9904=_0x220ae6[_0x119853(0x16d)](_0x119853(0x278));var _0x5d8889=Object[_0x119853(0x150)],_0x59e1ec=(_0x27e85e,_0x3ca9c5,_0x53b450,_0xffde8c)=>{const _0x494cfa=_0x119853;for(var _0x5a0cfd=_0xffde8c>0x1?void 0x0:_0xffde8c?_0x5d8889(_0x3ca9c5,_0x53b450):_0x3ca9c5,_0x12e56a=_0x27e85e[_0x494cfa(0x346)]-0x1,_0x54941c;_0x12e56a>=0x0;_0x12e56a--)(_0x54941c=_0x27e85e[_0x12e56a])&&(_0x5a0cfd=_0x54941c(_0x5a0cfd)||_0x5a0cfd);return _0x5a0cfd;},_0x22b617=(_0xd592ac,_0x3b646c)=>(_0x2777f2,_0x336179)=>_0x3b646c(_0x2777f2,_0x336179,_0xd592ac);_0x3cf37a[_0x119853(0x296)]=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x56080f,_0x11e3ba,_0x277489,_0x54ebe9,_0x5ad255){const _0x545407=_0x119853;super(),this[_0x545407(0x20a)]=_0x56080f,this[_0x545407(0x18e)]=_0x11e3ba,this[_0x545407(0x155)]=_0x277489,this[_0x545407(0xe6)]=_0x54ebe9,_0x5ad255?_0x5ad255==null||_0x5ad255[_0x545407(0x18c)]()[_0x545407(0x2e3)](()=>this['_init']()):(this['_logService'][_0x545407(0x24d)](_0x545407(0x314),_0x545407(0x186)),this[_0x545407(0x2aa)]());}async[_0x119853(0x2aa)](){const _0x5ac50e=_0x119853,_0x8bfd66=this[_0x5ac50e(0x20a)][_0x5ac50e(0x358)](_0x5ac50e(0x2a4)),_0x177e44=this['_urlService'][_0x5ac50e(0x358)](_0x5ac50e(0xb7)),_0x3cdef1=this['_urlService'][_0x5ac50e(0x358)](_0x5ac50e(0x22f));if(!_0x8bfd66||!_0x177e44){this[_0x5ac50e(0x18e)][_0x5ac50e(0x24d)]('[CollaborationDataLoaderController]',_0x5ac50e(0xfe));return;}const _0x5ddb68=await this[_0x5ac50e(0xe6)][_0x5ac50e(0x231)](_0x8bfd66,Number(_0x177e44),_0x3cdef1);_0x5ddb68&&_0x5ddb68 instanceof _0x220ae6['Workbook']&&this['_setupSubUnitSync'](_0x5ddb68);}async[_0x119853(0x29d)](_0x5c24cc){const _0x587df6=_0x119853;await this[_0x587df6(0x18d)](_0x5c24cc),_0x5c24cc[_0x587df6(0x202)][_0x587df6(0x31a)](_0x217777[_0x587df6(0x23a)](this['dispose$']))['subscribe'](_0xd6150e=>{const _0x3ec459=_0x587df6;_0xd6150e&&this[_0x3ec459(0x114)](_0xd6150e);}),this[_0x587df6(0x20a)][_0x587df6(0x248)][_0x587df6(0x31a)](_0x217777[_0x587df6(0x23a)](this[_0x587df6(0xbe)]))[_0x587df6(0x1b9)](()=>this['_updateSubUnitFromURLParams'](_0x5c24cc));}[_0x119853(0x114)](_0x52f437,_0x10f78b=!0x1){const _0x10eab3=_0x119853,_0x4cb9ae=this[_0x10eab3(0x20a)][_0x10eab3(0x358)]('subunit');_0x52f437[_0x10eab3(0xb8)]()!==_0x4cb9ae&&this[_0x10eab3(0x20a)][_0x10eab3(0x104)](_0x10eab3(0x22f),_0x52f437[_0x10eab3(0xb8)](),_0x10f78b);}async[_0x119853(0x18d)](_0x465d23){const _0x281409=_0x119853;var _0x431029;const _0x5d1515=this[_0x281409(0x20a)][_0x281409(0x358)](_0x281409(0x22f));if(!_0x5d1515||!_0x465d23['getSheetBySheetId'](_0x5d1515)){const _0xcbcf10=_0x465d23['getUnhiddenWorksheets']()[0x0],_0xbe050e=_0x465d23['getSheetBySheetId'](_0xcbcf10);if(!_0xbe050e)return;this[_0x281409(0x114)](_0xbe050e,!0x0),await this[_0x281409(0x155)][_0x281409(0x2f4)](_0x33b1ad[_0x281409(0x16e)]['id'],{'unitId':_0x465d23[_0x281409(0x152)](),'subUnitId':_0xcbcf10});return;}((_0x431029=_0x465d23[_0x281409(0x2ce)]())==null?void 0x0:_0x431029[_0x281409(0xb8)]())!==_0x5d1515&&await this[_0x281409(0x155)][_0x281409(0x2f4)](_0x33b1ad[_0x281409(0x16e)]['id'],{'unitId':_0x465d23['getUnitId'](),'subUnitId':_0x5d1515});}},_0x3cf37a['CollaborationDataLoaderController']=_0x59e1ec([_0x22b617(0x0,_0x3c9904),_0x22b617(0x1,_0x220ae6[_0x119853(0x112)]),_0x22b617(0x2,_0x220ae6[_0x119853(0xf1)]),_0x22b617(0x3,_0x220ae6['Inject'](_0x471b6c[_0x119853(0x1a5)])),_0x22b617(0x4,_0x220ae6['Optional'](_0xef9193[_0x119853(0x32c)]))],_0x3cf37a[_0x119853(0x296)]);var _0x67dd4f=Object[_0x119853(0x150)],_0x207946=(_0x203f23,_0xfdc9cb,_0x10ec66,_0x2fd736)=>{const _0x418840=_0x119853;for(var _0x51e421=_0x2fd736>0x1?void 0x0:_0x2fd736?_0x67dd4f(_0xfdc9cb,_0x10ec66):_0xfdc9cb,_0x2928e4=_0x203f23[_0x418840(0x346)]-0x1,_0x1717e6;_0x2928e4>=0x0;_0x2928e4--)(_0x1717e6=_0x203f23[_0x2928e4])&&(_0x51e421=_0x1717e6(_0x51e421)||_0x51e421);return _0x51e421;},_0xe61ecc=(_0x2cdbd0,_0x30ea85)=>(_0x5f5d51,_0x4ec2e4)=>_0x30ea85(_0x5f5d51,_0x4ec2e4,_0x2cdbd0);let _0x4449c3=class{constructor(_0x209421,_0x23848d,_0x412596){const _0x11f619=_0x119853;this[_0x11f619(0x10a)]=_0x209421,this[_0x11f619(0xf0)]=_0x23848d,this[_0x11f619(0x310)]=_0x412596;}[_0x119853(0x328)](_0x34a2c0){const _0x2e1c92=_0x119853;this[_0x2e1c92(0x2da)](_0x34a2c0),this[_0x2e1c92(0x19a)](_0x34a2c0);}[_0x119853(0xd6)](_0x548fc2){const _0x5df550=_0x119853,{unitID:_0x2d3c80}=_0x548fc2,_0x266027=this[_0x5df550(0x310)]['getRenderById'](_0x2d3c80)['with'](_0x5b6656[_0x5df550(0xcb)]),{redoCache:_0x206882}=_0x266027[_0x5df550(0x33f)]();if(_0x206882[_0x5df550(0x346)]===0x0)return _0x548fc2;let _0x308412=_0x220ae6['Tools'][_0x5df550(0x1e0)](_0x548fc2[_0x5df550(0x159)][0x0]);for(let _0xf1367b=0x0;_0xf1367b<_0x206882[_0x5df550(0x346)];_0xf1367b++){const _0x464e7d={'id':_0x5df550(0x319),'params':{..._0x206882[_0xf1367b]}},_0x460277=this['_transformService'][_0x5df550(0x20d)](_0x308412,_0x464e7d,!0x1);if(_0xeb38aa['isTransformMutationFailure'](_0x460277))throw _0x460277[_0x5df550(0x2be)];_0x308412=_0x460277['m1Prime'];}return{..._0x220ae6['Tools'][_0x5df550(0x1e0)](_0x548fc2),'mutations':[_0x308412]};}[_0x119853(0x2da)](_0x276240){const _0x484b99=_0x119853,{unitID:_0x4ec85f}=_0x276240,_0x26002c=this[_0x484b99(0x310)]['getRenderById'](_0x4ec85f)[_0x484b99(0x2e1)](_0x5b6656[_0x484b99(0xcb)]),{undoCache:_0xb1614,redoCache:_0x1d3c41}=_0x26002c['getUndoRedoMutationParamsCache']();if(_0xb1614[_0x484b99(0x346)]===0x0||_0x1d3c41[_0x484b99(0x346)]===0x0)return;const _0x501658=[],_0x37e3b6=[];let _0x35acfc=_0x220ae6[_0x484b99(0x2c4)][_0x484b99(0x1e0)](_0x276240[_0x484b99(0x159)][0x0]),_0x47d898=_0x220ae6[_0x484b99(0x2c4)][_0x484b99(0x1e0)](_0x276240[_0x484b99(0x159)][0x0]);for(let _0x1b9f49=_0xb1614[_0x484b99(0x346)]-0x1;_0x1b9f49>=0x0;_0x1b9f49--){const _0x21e1ae={'id':_0x484b99(0x319),'params':{..._0xb1614[_0x1b9f49]}},_0x51ac85={'id':_0x484b99(0x319),'params':{..._0x1d3c41[_0x1b9f49]}},_0x42ccf4=this[_0x484b99(0xf0)]['transformMutation'](_0x35acfc,_0x21e1ae,!0x1),_0x267cb8=this[_0x484b99(0xf0)][_0x484b99(0x20d)](_0x47d898,_0x51ac85,!0x1);if(_0xeb38aa['isTransformMutationFailure'](_0x42ccf4))throw _0x42ccf4[_0x484b99(0x2be)];if(_0xeb38aa[_0x484b99(0x23f)](_0x267cb8))throw _0x267cb8[_0x484b99(0x2be)];_0x501658['unshift'](_0x42ccf4[_0x484b99(0x156)][_0x484b99(0x25a)]),_0x37e3b6[_0x484b99(0x157)](_0x267cb8[_0x484b99(0x156)][_0x484b99(0x25a)]),_0x35acfc=_0x42ccf4[_0x484b99(0x283)],_0x47d898=_0x267cb8[_0x484b99(0x283)];}_0x26002c[_0x484b99(0x2ae)]({'undoCache':_0x501658,'redoCache':_0x37e3b6});}['_transformPreviousActiveRange'](_0x2663cf){const _0x5c4905=_0x119853,{unitID:_0xac6b16}=_0x2663cf,_0x394d8a=this[_0x5c4905(0x310)][_0x5c4905(0x2cf)](_0xac6b16)[_0x5c4905(0x2e1)](_0x5b6656['DocIMEInputManagerService']),_0x459a05=_0x394d8a[_0x5c4905(0x2d7)]();if(_0x459a05==null)return;const _0x3eb2ae=[{'id':_0x5c4905(0x319),'params':{'unitId':_0x2663cf['unitID'],'actions':null,'textRanges':[_0x459a05]}}],_0x14fe0f=this['_transformService']['transformMutationsWithChangeset'](_0x2663cf,_0x3eb2ae);if(!_0xeb38aa[_0x5c4905(0x2de)](_0x14fe0f))throw _0x14fe0f[_0x5c4905(0x2be)];const _0x4f53e2=_0x14fe0f['m2Prime'][0x0][_0x5c4905(0x25a)][_0x5c4905(0x257)];Array['isArray'](_0x4f53e2)&&_0x4f53e2[_0x5c4905(0x346)]&&_0x394d8a[_0x5c4905(0x311)](_0x4f53e2[0x0]);}};_0x4449c3=_0x207946([_0xe61ecc(0x0,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x22a)])),_0xe61ecc(0x1,_0xeb38aa[_0x119853(0x2f3)]),_0xe61ecc(0x2,_0x1c9625['IRenderManagerService'])],_0x4449c3);var _0x352ffc=Object[_0x119853(0x150)],_0x1355c6=(_0x206b9f,_0x155048,_0x308f5a,_0x14379a)=>{const _0x5492f6=_0x119853;for(var _0x44f624=_0x14379a>0x1?void 0x0:_0x14379a?_0x352ffc(_0x155048,_0x308f5a):_0x155048,_0x1afad9=_0x206b9f[_0x5492f6(0x346)]-0x1,_0x135590;_0x1afad9>=0x0;_0x1afad9--)(_0x135590=_0x206b9f[_0x1afad9])&&(_0x44f624=_0x135590(_0x44f624)||_0x44f624);return _0x44f624;},_0xa3a2b6=(_0x2a4caf,_0x5a4c39)=>(_0x39c371,_0x297c5a)=>_0x5a4c39(_0x39c371,_0x297c5a,_0x2a4caf);let _0x252092=class{constructor(_0x5e0b21,_0xa96920,_0x2fec25){const _0x29b408=_0x119853;this[_0x29b408(0x10a)]=_0x5e0b21,this['_transformService']=_0xa96920,this[_0x29b408(0x198)]=_0x2fec25;}['transformStateCache'](_0x34ed6d){const _0x1e822b=_0x119853;this[_0x1e822b(0xbc)](_0x34ed6d);}[_0x119853(0xd6)](_0x6cb405){const _0x18552a=_0x119853,{unitID:_0x5051a0}=_0x6cb405,{collaboration:_0x399a64}=this['_docStateChangeManagerService'][_0x18552a(0x294)](_0x5051a0);if(_0x399a64['length']===0x0)return _0x6cb405;let _0x29ec2f=_0x220ae6[_0x18552a(0x2c4)][_0x18552a(0x1e0)](_0x6cb405[_0x18552a(0x159)][0x0]);for(let _0x495124=0x0;_0x495124<_0x399a64[_0x18552a(0x346)];_0x495124++){const _0x573d0a={'id':_0x18552a(0x319),'params':{'unitId':_0x399a64[_0x495124]['unitId'],..._0x399a64[_0x495124][_0x18552a(0x247)]}},_0x315784=this['_transformService']['transformMutation'](_0x29ec2f,_0x573d0a,!0x1);if(_0xeb38aa[_0x18552a(0x23f)](_0x315784))throw _0x315784[_0x18552a(0x2be)];_0x29ec2f=_0x315784['m1Prime'];}return{..._0x220ae6[_0x18552a(0x2c4)][_0x18552a(0x1e0)](_0x6cb405),'mutations':[_0x29ec2f]};}[_0x119853(0xbc)](_0x389cbf){const _0x1d04d9=_0x119853,{unitID:_0xe5a593}=_0x389cbf,{history:_0x46400f,collaboration:_0x47080c}=this['_docStateChangeManagerService']['getStateCache'](_0xe5a593);if(_0x46400f[_0x1d04d9(0x346)]===0x0&&_0x47080c[_0x1d04d9(0x346)]===0x0)return;const _0x4bb490=[],_0x2c8957=[];let _0x10f1ea=_0x220ae6[_0x1d04d9(0x2c4)][_0x1d04d9(0x1e0)](_0x389cbf[_0x1d04d9(0x159)][0x0]),_0x35c5b8=_0x220ae6['Tools']['deepClone'](_0x389cbf[_0x1d04d9(0x159)][0x0]);for(let _0x525599=_0x46400f[_0x1d04d9(0x346)]-0x1;_0x525599>=0x0;_0x525599--){const _0x3fea7d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46400f[_0x525599]['unitId'],..._0x46400f[_0x525599][_0x1d04d9(0x326)]}},_0x489ff5={'id':_0x1d04d9(0x319),'params':{'unitId':_0x46400f[_0x525599][_0x1d04d9(0x357)],..._0x46400f[_0x525599][_0x1d04d9(0x247)]}},_0x339f54=this[_0x1d04d9(0xf0)][_0x1d04d9(0x20d)](_0x10f1ea,_0x3fea7d,!0x1),_0x54ee6f=this['_transformService'][_0x1d04d9(0x20d)](_0x35c5b8,_0x489ff5,!0x1);if(_0xeb38aa[_0x1d04d9(0x23f)](_0x339f54))throw _0x339f54['error'];if(_0xeb38aa[_0x1d04d9(0x23f)](_0x54ee6f))throw _0x54ee6f[_0x1d04d9(0x2be)];_0x4bb490['unshift']({..._0x46400f[_0x525599],'undoState':_0x339f54[_0x1d04d9(0x156)][_0x1d04d9(0x25a)],'redoState':_0x54ee6f[_0x1d04d9(0x156)]['params']}),_0x10f1ea=_0x339f54[_0x1d04d9(0x283)],_0x35c5b8=_0x54ee6f[_0x1d04d9(0x283)];}_0x10f1ea=_0x220ae6[_0x1d04d9(0x2c4)][_0x1d04d9(0x1e0)](_0x389cbf[_0x1d04d9(0x159)][0x0]),_0x35c5b8=_0x220ae6[_0x1d04d9(0x2c4)]['deepClone'](_0x389cbf[_0x1d04d9(0x159)][0x0]);for(let _0x325c78=_0x47080c[_0x1d04d9(0x346)]-0x1;_0x325c78>=0x0;_0x325c78--){const _0x14b4d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x47080c[_0x325c78][_0x1d04d9(0x357)],..._0x47080c[_0x325c78][_0x1d04d9(0x326)]}},_0x38538e={'id':_0x1d04d9(0x319),'params':{'unitId':_0x47080c[_0x325c78][_0x1d04d9(0x357)],..._0x47080c[_0x325c78][_0x1d04d9(0x247)]}},_0x182a92=this[_0x1d04d9(0xf0)][_0x1d04d9(0x20d)](_0x10f1ea,_0x14b4d5,!0x1),_0x4f3941=this[_0x1d04d9(0xf0)][_0x1d04d9(0x20d)](_0x35c5b8,_0x38538e,!0x1);if(_0xeb38aa[_0x1d04d9(0x23f)](_0x182a92))throw _0x182a92[_0x1d04d9(0x2be)];if(_0xeb38aa['isTransformMutationFailure'](_0x4f3941))throw _0x4f3941[_0x1d04d9(0x2be)];_0x2c8957[_0x1d04d9(0x157)]({..._0x47080c[_0x325c78],'undoState':_0x182a92[_0x1d04d9(0x156)][_0x1d04d9(0x25a)],'redoState':_0x4f3941['m2Prime'][_0x1d04d9(0x25a)]}),_0x10f1ea=_0x182a92['m1Prime'],_0x35c5b8=_0x4f3941[_0x1d04d9(0x283)];}this[_0x1d04d9(0x198)][_0x1d04d9(0x109)](_0xe5a593,{'history':_0x4bb490,'collaboration':_0x2c8957});}};_0x252092=_0x1355c6([_0xa3a2b6(0x0,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x22a)])),_0xa3a2b6(0x1,_0xeb38aa[_0x119853(0x2f3)]),_0xa3a2b6(0x2,_0x220ae6['Inject'](_0x5b6656[_0x119853(0x140)]))],_0x252092);var _0xc8c379=Object[_0x119853(0x150)],_0x494e16=(_0x350f6d,_0x4a718a,_0x1506de,_0x1369f9)=>{const _0x3b4b0c=_0x119853;for(var _0x1819b6=_0x1369f9>0x1?void 0x0:_0x1369f9?_0xc8c379(_0x4a718a,_0x1506de):_0x4a718a,_0x7e46aa=_0x350f6d[_0x3b4b0c(0x346)]-0x1,_0x3bff4d;_0x7e46aa>=0x0;_0x7e46aa--)(_0x3bff4d=_0x350f6d[_0x7e46aa])&&(_0x1819b6=_0x3bff4d(_0x1819b6)||_0x1819b6);return _0x1819b6;},_0x273b30=(_0x1254e8,_0x41d291)=>(_0x1e7fe9,_0x1eeed9)=>_0x41d291(_0x1e7fe9,_0x1eeed9,_0x1254e8);let _0xc6454a=class{constructor(_0x355ce8,_0x4681ce){const _0xc135ed=_0x119853;this[_0xc135ed(0x10a)]=_0x355ce8,this['_transformService']=_0x4681ce;}[_0x119853(0x16c)](_0x12b471){const _0x29c578=_0x119853;var _0xee2413;const _0x3aaaee=this[_0x29c578(0x10a)][_0x29c578(0x2c2)](_0x4dcc89[_0x29c578(0x33d)]),_0x562333=(_0xee2413=_0x3aaaee['getDocRanges']())!=null?_0xee2413:[];if(_0x562333[_0x29c578(0x346)]===0x0)return;const _0xf4c92c=_0x12b471[_0x29c578(0x226)],_0x70b2f1=[{'id':_0x29c578(0x319),'params':{'unitId':_0xf4c92c,'actions':null,'textRanges':_0x562333}}],_0x1f7dae=this[_0x29c578(0xf0)]['transformMutationsWithChangeset'](_0x12b471,_0x70b2f1);if(!_0xeb38aa[_0x29c578(0x2de)](_0x1f7dae))throw _0x1f7dae[_0x29c578(0x2be)];const _0x2ed007=_0x1f7dae['m2Prime'][0x0][_0x29c578(0x25a)][_0x29c578(0x257)];Array[_0x29c578(0xfa)](_0x2ed007)&&_0x2ed007['length']&&_0x3aaaee['replaceDocRanges'](_0x2ed007,{'unitId':_0xf4c92c,'subUnitId':_0xf4c92c},!0x1);}};_0xc6454a=_0x494e16([_0x273b30(0x0,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x22a)])),_0x273b30(0x1,_0xeb38aa[_0x119853(0x2f3)])],_0xc6454a);var _0x5e61c4=Object[_0x119853(0x150)],_0x1f190d=(_0x354f93,_0x34f3cf,_0x3d8188,_0x59e7da)=>{for(var _0x2d0c5b=_0x59e7da>0x1?void 0x0:_0x59e7da?_0x5e61c4(_0x34f3cf,_0x3d8188):_0x34f3cf,_0x511399=_0x354f93['length']-0x1,_0x47919c;_0x511399>=0x0;_0x511399--)(_0x47919c=_0x354f93[_0x511399])&&(_0x2d0c5b=_0x47919c(_0x2d0c5b)||_0x2d0c5b);return _0x2d0c5b;},_0x2e4eec=(_0x3e98f4,_0x4473da)=>(_0x1b76e7,_0x4103c9)=>_0x4473da(_0x1b76e7,_0x4103c9,_0x3e98f4);let _0x34778f=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x6ac847,_0x39f102,_0x280b9a,_0x4f8399,_0x24851e,_0x2e95bc,_0x4a4864,_0x20e232){const _0x19af3c=_0x119853;super(),_0x1762f0(this,'_status$',new _0x217777[(_0x19af3c(0x17b))](_0x471b6c[_0x19af3c(0x27a)][_0x19af3c(0xce)])),(this[_0x19af3c(0x198)]=_0x6ac847,this[_0x19af3c(0x305)]=_0x39f102,this[_0x19af3c(0x342)]=_0x280b9a,this[_0x19af3c(0x2d6)]=_0x4f8399,this[_0x19af3c(0x2cb)]=_0x24851e,this[_0x19af3c(0x28b)]=_0x2e95bc,this['_messageService']=_0x4a4864,this['_localeService']=_0x20e232,this[_0x19af3c(0xcd)]());}[_0x119853(0xcd)](){const _0x56d854=_0x119853;this['disposeWithMe'](this[_0x56d854(0x305)][_0x56d854(0x34c)][_0x56d854(0x1b9)](_0x27b5a0=>{const _0x427339=_0x56d854,_0x2f80c4=this['_docStateChangeManagerService'][_0x427339(0x1ea)][_0x427339(0x1b9)](_0xccb1eb=>{const _0x247efd=_0x427339;if(_0xccb1eb==null)return;const {unitId:_0x400065,redoState:_0x4003f7,commandId:_0x1f39c1}=_0xccb1eb;if(_0x400065!==_0x27b5a0[_0x247efd(0x226)])return;const _0x4be8f4={'id':_0x1f39c1,'type':_0x220ae6[_0x247efd(0xff)][_0x247efd(0x25e)],'params':{'unitId':_0x400065,'actions':_0x4003f7[_0x247efd(0x178)],'textRanges':null}};_0x27b5a0[_0x247efd(0x144)](_0x4be8f4);});if(_0x27b5a0[_0x427339(0xf3)](_0x2f80c4),_0x27b5a0 instanceof _0x471b6c['DocCollaborationEntity']){const _0x59cacc={'onTransformIME':_0x488211=>this[_0x427339(0x342)]['transformIMECache'](_0x488211),'onTransformState':_0x3b56ab=>this['_docTransformStateCacheService'][_0x427339(0x318)](_0x3b56ab),'onTransformSelections':_0x546329=>this[_0x427339(0x2cb)][_0x427339(0x16c)](_0x546329),'onSyncEditingCollabCursor':_0x1339e6=>this[_0x427339(0x28b)]['syncEditingCollabCursor'](_0x1339e6),'onTransformRemoteChangesetByIMECache':_0x34ee0a=>this[_0x427339(0x342)]['transformRemoteChangeset'](_0x34ee0a),'onTransformRemoteChangesetByStateCache':_0xd9e5d1=>this[_0x427339(0x2d6)][_0x427339(0xd6)](_0xd9e5d1)};_0x27b5a0[_0x427339(0x29a)](_0x59cacc);}}));}};_0x34778f=_0x1f190d([_0x2e4eec(0x0,_0x220ae6['Inject'](_0x5b6656['DocStateChangeManagerService'])),_0x2e4eec(0x1,_0x220ae6[_0x119853(0x1c9)](_0x471b6c[_0x119853(0x2e0)])),_0x2e4eec(0x2,_0x220ae6[_0x119853(0x1c9)](_0x4449c3)),_0x2e4eec(0x3,_0x220ae6[_0x119853(0x1c9)](_0x252092)),_0x2e4eec(0x4,_0x220ae6[_0x119853(0x1c9)](_0xc6454a)),_0x2e4eec(0x5,_0x220ae6[_0x119853(0x1c9)](_0x53d983)),_0x2e4eec(0x6,_0x3d52cc['IMessageService']),_0x2e4eec(0x7,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x26b)]))],_0x34778f);var _0x53ebe0=Object[_0x119853(0x150)],_0x51127b=(_0x6a9953,_0x5aa53e,_0x465362,_0x3a6c30)=>{for(var _0x2aca0e=_0x3a6c30>0x1?void 0x0:_0x3a6c30?_0x53ebe0(_0x5aa53e,_0x465362):_0x5aa53e,_0x4d2fc1=_0x6a9953['length']-0x1,_0x22296f;_0x4d2fc1>=0x0;_0x4d2fc1--)(_0x22296f=_0x6a9953[_0x4d2fc1])&&(_0x2aca0e=_0x22296f(_0x2aca0e)||_0x2aca0e);return _0x2aca0e;},_0xa9fa3f=(_0x580091,_0x200b64)=>(_0x458c87,_0xc35c8b)=>_0x200b64(_0x458c87,_0xc35c8b,_0x580091);let _0x14a6cd=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x3805da,_0xbfc01e,_0x1b6780){const _0x34f08f=_0x119853;super(),_0x1762f0(this,_0x34f08f(0x17e),new Map()),_0x1762f0(this,_0x34f08f(0x1c7),new Map()),_0x1762f0(this,_0x34f08f(0x27f),!0x1),(this[_0x34f08f(0x324)]=_0x3805da,this['_localStorageService']=_0xbfc01e,this[_0x34f08f(0x275)]=_0x1b6780);}[_0x119853(0x2c7)](){const _0x4f54e2=_0x119853;this[_0x4f54e2(0x27f)]=!0x0;}[_0x119853(0x1b4)](){const _0xa9a6ce=_0x119853;this[_0xa9a6ce(0x27f)]=!0x1;}get['saveTaskMap'](){const _0x504d12=_0x119853;return this[_0x504d12(0x1c7)];}['dispose'](){const _0x41c85f=_0x119853;this['exhaustSavingTask']()['then'](()=>super[_0x41c85f(0x2c5)]());}async[_0x119853(0x1cd)](_0x431e42){const _0x4913d4=_0x119853;return this['_disabled']?null:this[_0x4913d4(0x329)][_0x4913d4(0x1d7)](_0x471b6c[_0x4913d4(0x309)](_0x431e42));}async[_0x119853(0x170)](_0x1de5d6,_0x64ebe5){const _0x382820=_0x119853;return!!this[_0x382820(0x329)][_0x382820(0x334)](_0x1de5d6,_0x64ebe5);}[_0x119853(0x1d6)](_0x5c1a9e,_0x56987a,_0x4a7f67,_0x2e24bc){const _0x52cfc7=_0x119853,_0x3c179d=this[_0x52cfc7(0x275)][_0x52cfc7(0x237)](_0x5c1a9e);this[_0x52cfc7(0x17e)][_0x52cfc7(0x26d)](_0x5c1a9e,{'unitID':_0x5c1a9e,'type':_0x56987a,'awaitingChangeset':_0x4a7f67,'mutations':_0x2e24bc,'rev':_0x3c179d}),this[_0x52cfc7(0x1c7)]['has'](_0x5c1a9e)||this[_0x52cfc7(0xd3)](_0x5c1a9e);}[_0x119853(0xd3)](_0x4ce8b2){const _0x130555=_0x119853,_0x36e581=this[_0x130555(0x350)]();_0x36e581===0x0?this[_0x130555(0x1fb)](_0x4ce8b2):this[_0x130555(0x1c7)][_0x130555(0x26d)](_0x4ce8b2,setTimeout(()=>this[_0x130555(0x1fb)](_0x4ce8b2),_0x36e581));}[_0x119853(0x350)](){const _0x457573=_0x119853;var _0x343752;return(_0x343752=this[_0x457573(0x324)][_0x457573(0x359)](_0x471b6c[_0x457573(0x17d)]))!=null?_0x343752:_0x471b6c[_0x457573(0x11e)];}[_0x119853(0x1fb)](_0x7e961d){const _0x27a1f2=_0x119853,_0x525ebd=this[_0x27a1f2(0x1c7)][_0x27a1f2(0x2c2)](_0x7e961d);return _0x525ebd!==void 0x0&&window[_0x27a1f2(0x162)](_0x525ebd),this['_localStorageService']['setItem'](_0x471b6c[_0x27a1f2(0x309)](_0x7e961d),this[_0x27a1f2(0x17e)][_0x27a1f2(0x2c2)](_0x7e961d))[_0x27a1f2(0x2e3)](()=>this[_0x27a1f2(0x1c7)][_0x27a1f2(0x1e6)](_0x7e961d));}async[_0x119853(0x30d)](){const _0x162261=_0x119853,_0xc8fa07=[];this[_0x162261(0x1c7)][_0x162261(0xfd)]((_0x492717,_0x44ce89)=>{const _0x18833=_0x162261;window['clearTimeout'](_0x492717),_0xc8fa07['push'](this[_0x18833(0x1fb)](_0x44ce89)[_0x18833(0x2e3)](()=>{const _0x125ad4=_0x18833;this[_0x125ad4(0x1c7)]['delete'](_0x44ce89);}));}),await Promise[_0x162261(0x2ad)](_0xc8fa07);}};_0x14a6cd=_0x51127b([_0xa9fa3f(0x0,_0x220ae6[_0x119853(0xd8)]),_0xa9fa3f(0x1,_0x220ae6[_0x119853(0x2f6)]),_0xa9fa3f(0x2,_0x220ae6[_0x119853(0x1c9)](_0xeb38aa[_0x119853(0x1c0)]))],_0x14a6cd);class _0x3875d9 extends _0x220ae6[_0x119853(0x1cf)]{constructor(){const _0x33af67=_0x119853;super(),_0x1762f0(this,_0x33af67(0x248)),this[_0x33af67(0x248)]=_0x217777[_0x33af67(0x26a)](window,'popstate')[_0x33af67(0x31a)](_0x217777[_0x33af67(0x23a)](this['dispose$']),_0x217777['shareReplay'](0x1),_0x217777[_0x33af67(0x131)](void 0x0));}[_0x119853(0x104)](_0x4cd0a7,_0x5f1fcb,_0x3ca45b=!0x1){const _0x218da1=_0x119853,_0x25a764=new URL(window[_0x218da1(0xd2)]['href']);_0x25a764[_0x218da1(0x174)]['set'](_0x4cd0a7,_0x5f1fcb),_0x3ca45b?window[_0x218da1(0x225)][_0x218da1(0x172)]('','',_0x25a764[_0x218da1(0x2ee)]()):window['history'][_0x218da1(0x28d)]('','',_0x25a764[_0x218da1(0x2ee)]());}[_0x119853(0x2ff)](_0x1125b9,_0x4756a0=!0x1){const _0x18c7d6=_0x119853,_0x49cb09=new URL(window['location'][_0x18c7d6(0x133)]);_0x49cb09[_0x18c7d6(0x174)][_0x18c7d6(0x1e6)](_0x1125b9),_0x4756a0?window[_0x18c7d6(0x225)][_0x18c7d6(0x172)]('','',_0x49cb09[_0x18c7d6(0x2ee)]()):window['history']['pushState']('','',_0x49cb09[_0x18c7d6(0x2ee)]());}[_0x119853(0x358)](_0x240df5){const _0x51c713=_0x119853;var _0x42a2b7;return(_0x42a2b7=new URL(window['location']['href'])[_0x51c713(0x174)][_0x51c713(0x2c2)](_0x240df5))!=null?_0x42a2b7:void 0x0;}}var _0x3ab26a=Object[_0x119853(0x2ec)],_0x4b24f1=Object['getOwnPropertyDescriptor'],_0x35ad14=(_0xb1cfaf,_0x3cdf5b,_0x286432)=>_0x3cdf5b in _0xb1cfaf?_0x3ab26a(_0xb1cfaf,_0x3cdf5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x286432}):_0xb1cfaf[_0x3cdf5b]=_0x286432,_0xb58ac8=(_0x1fceae,_0x501e94,_0x3f87a0,_0x10b9df)=>{for(var _0x452102=_0x10b9df>0x1?void 0x0:_0x10b9df?_0x4b24f1(_0x501e94,_0x3f87a0):_0x501e94,_0x2e2ff7=_0x1fceae['length']-0x1,_0x4edf62;_0x2e2ff7>=0x0;_0x2e2ff7--)(_0x4edf62=_0x1fceae[_0x2e2ff7])&&(_0x452102=_0x4edf62(_0x452102)||_0x452102);return _0x452102;},_0x392880=(_0x2c99b6,_0x1744eb)=>(_0xb05668,_0x2ea8a8)=>_0x1744eb(_0xb05668,_0x2ea8a8,_0x2c99b6),_0x141730=(_0x4b7cd1,_0xf46254,_0x4d2189)=>_0x35ad14(_0x4b7cd1,_0xf46254+'',_0x4d2189);const _0x24653d=_0x119853(0x2a3);_0x3cf37a[_0x119853(0x32d)]=class extends _0x220ae6[_0x119853(0x16a)]{constructor(_0x10ac0a=_0x126fc8,_0x2baa16,_0x2ff434,_0x2f0684){const _0x7e1e39=_0x119853;super(),this[_0x7e1e39(0x1a6)]=_0x10ac0a,this[_0x7e1e39(0x310)]=_0x2baa16,this[_0x7e1e39(0x10a)]=_0x2ff434,this[_0x7e1e39(0x324)]=_0x2f0684;const {..._0x1ea4c4}=_0x220ae6['merge']({},_0x126fc8,this[_0x7e1e39(0x1a6)]);this['_configService'][_0x7e1e39(0x1e8)](_0x155070,_0x1ea4c4);}[_0x119853(0x2e5)](){const _0x4a7b94=_0x119853;this[_0x4a7b94(0xde)](),this[_0x4a7b94(0x1f4)]();}[_0x119853(0x143)](){this['_registerRenderDependencies']();}[_0x119853(0xde)](){const _0x3450e0=_0x119853;var _0x5a8453;const _0x1732d7=[[_0x340bdb],[_0xc6454a],[_0x4449c3],[_0x252092],[_0x53d983],[_0x3c9904,{'useClass':_0x3875d9}],[_0x348a82[_0x3450e0(0x31d)],{'useClass':_0x348a82[_0x3450e0(0xe7)]}],[_0x471b6c[_0x3450e0(0x1f5)],{'useClass':_0x14a6cd}],[_0x3cf37a[_0x3450e0(0x2f5)]],[_0x34778f],[_0x327ef7],[_0x193db8],[_0x82c703],[_0x3cf37a[_0x3450e0(0x296)]]];_0x220ae6[_0x3450e0(0x11a)](this[_0x3450e0(0x10a)],_0x220ae6['mergeOverrideWithDependencies'](_0x1732d7,(_0x5a8453=this[_0x3450e0(0x1a6)])==null?void 0x0:_0x5a8453[_0x3450e0(0x330)]));}['_registerRenderDependencies'](){const _0x103e07=_0x119853;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x220ae6[_0x103e07(0x175)][_0x103e07(0x27e)],[_0x46235d])),this['disposeWithMe'](this[_0x103e07(0x310)][_0x103e07(0x2a5)](_0x220ae6['UniverInstanceType']['UNIVER_SHEET'],[_0x4e6538]));}['_initDependencies'](){const _0x496812=_0x119853;_0x220ae6[_0x496812(0x14c)](this[_0x496812(0x10a)],[[_0x193db8],[_0x3cf37a[_0x496812(0x2f5)]],[_0x34778f],[_0x327ef7],[_0x3cf37a[_0x496812(0x296)]]]);}},_0x141730(_0x3cf37a[_0x119853(0x32d)],_0x119853(0x343),_0x24653d),_0x3cf37a['UniverCollaborationClientUIPlugin']=_0xb58ac8([_0x220ae6[_0x119853(0x298)](_0x471b6c[_0x119853(0x19c)]),_0x392880(0x1,_0x1c9625['IRenderManagerService']),_0x392880(0x2,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x22a)])),_0x392880(0x3,_0x220ae6[_0x119853(0xd8)])],_0x3cf37a[_0x119853(0x32d)]);var _0x516f62=Object[_0x119853(0x150)],_0x55f7a7=(_0x5d731d,_0x119e62,_0x396348,_0x4c52f2)=>{const _0x151d00=_0x119853;for(var _0x10670d=_0x4c52f2>0x1?void 0x0:_0x4c52f2?_0x516f62(_0x119e62,_0x396348):_0x119e62,_0x19a0fe=_0x5d731d[_0x151d00(0x346)]-0x1,_0x370115;_0x19a0fe>=0x0;_0x19a0fe--)(_0x370115=_0x5d731d[_0x19a0fe])&&(_0x10670d=_0x370115(_0x10670d)||_0x10670d);return _0x10670d;},_0x9638e1=(_0x48d7f2,_0x10f08a)=>(_0x196bda,_0x1ab113)=>_0x10f08a(_0x196bda,_0x1ab113,_0x48d7f2);_0x3cf37a[_0x119853(0x2c9)]=class extends _0x471b6c[_0x119853(0x1a9)]{constructor(_0x3012c8,_0x37db53,_0x25b5dc,_0x112ee3,_0x46021d){super(_0x3012c8,_0x37db53,_0x25b5dc,_0x112ee3,_0x46021d);}async[_0x119853(0x19f)](_0x20ea56){const _0x5026e1=_0x119853,_0x5390a6=await this[_0x5026e1(0x333)](),_0x1ffd30=this[_0x5026e1(0x2fb)](_0x20ea56,_0x5390a6);return this['_doCreateSocket'](_0x1ffd30);}[_0x119853(0x2fb)](_0x35cabc,_0x477791){const _0xa8e05e=_0x119853,_0x3c2061=typeof window>'u'?new URL(_0x35cabc):new URL(_0x35cabc,window[_0xa8e05e(0xd2)][_0xa8e05e(0xdf)]);_0x3c2061[_0xa8e05e(0x174)]['set'](_0xa8e05e(0x1bb),_0x477791);const _0x3b9e7a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xa8e05e(0x2d1)]);return _0x3b9e7a[_0xa8e05e(0x2c2)](_0xa8e05e(0x227))&&_0x3c2061[_0xa8e05e(0x174)][_0xa8e05e(0x26d)](_0xa8e05e(0x227),_0x3b9e7a[_0xa8e05e(0x2c2)](_0xa8e05e(0x227))),_0x3c2061[_0xa8e05e(0x2ee)]();}async['_getSessionTicket'](){const _0x36461c=_0x119853;var _0x410b79,_0x354db2,_0x51fecd;const _0x4b011a=this['_configService'][_0x36461c(0x359)](_0x471b6c[_0x36461c(0x34e)]),_0x19eadd=(_0x410b79=_0x4b011a==null?void 0x0:_0x4b011a['wsSessionTicketUrl'])!=null?_0x410b79:_0x471b6c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x51fecd=(_0x354db2=(await this[_0x36461c(0x153)]['get'](_0x19eadd,{'headers':{'Content-Type':_0x36461c(0x23c)}}))[_0x36461c(0x331)])==null?void 0x0:_0x354db2[_0x36461c(0x253)])!=null?_0x51fecd:'';}},_0x3cf37a[_0x119853(0x2c9)]=_0x55f7a7([_0x9638e1(0x0,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x22a)])),_0x9638e1(0x1,_0x220ae6[_0x119853(0x1c9)](_0x348a82[_0x119853(0x192)])),_0x9638e1(0x2,_0x220ae6['IConfigService']),_0x9638e1(0x3,_0x220ae6[_0x119853(0x112)]),_0x9638e1(0x4,_0xeb38aa[_0x119853(0xda)])],_0x3cf37a['BrowserCollaborationSocketService']);const _0x4c090b=0x7530,_0x28dafc=_0x119853(0xe0);class _0x3523d4 extends _0x220ae6[_0x119853(0x215)]{constructor(){const _0x5943fc=_0x119853;super(),_0x1762f0(this,'_id',_0x220ae6[_0x5943fc(0x13e)]()),_0x1762f0(this,_0x5943fc(0x164),new Set()),_0x1762f0(this,_0x5943fc(0x336),new Map()),_0x1762f0(this,'_heartbeatTimer',null),_0x1762f0(this,_0x5943fc(0x22b),new Map()),_0x1762f0(this,_0x5943fc(0x214),new Map()),this[_0x5943fc(0x2aa)]();}[_0x119853(0x2c5)](){const _0x58108e=_0x119853;super[_0x58108e(0x2c5)](),this[_0x58108e(0x22b)][_0x58108e(0xfd)]((_0x2d8b6d,_0x516de9)=>this[_0x58108e(0xe2)](_0x516de9)),this[_0x58108e(0x2a2)]&&window[_0x58108e(0x110)](this[_0x58108e(0x2a2)]);}['getUnitStatus$'](_0x3bf6cb){const _0x4689e2=_0x119853;return this[_0x4689e2(0x2e6)](_0x3bf6cb)[_0x4689e2(0x31a)](_0x217777[_0x4689e2(0x2f9)]());}[_0x119853(0x12c)](_0x56da47){const _0x2c9d02=_0x119853;this[_0x2c9d02(0x164)][_0x2c9d02(0xc4)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2c9d02(0x164)][_0x2c9d02(0x34b)](_0x56da47),this[_0x2c9d02(0x33c)]({'type':0x0,'memberID':this[_0x2c9d02(0xcf)],'unitIDs':[_0x56da47],'isForwarded':!0x1});}[_0x119853(0x191)](_0x59c5bf){const _0x32f425=_0x119853;this['_selfUnitIDs'][_0x32f425(0x1e6)](_0x59c5bf),this[_0x32f425(0x164)][_0x32f425(0xc4)]===0x0&&this[_0x32f425(0x2a2)]&&window['clearInterval'](this[_0x32f425(0x2a2)]);}[_0x119853(0x2aa)](){const _0x4ed44a=_0x119853;this['disposeWithMe'](_0x220ae6[_0x4ed44a(0x2ef)](_0x217777[_0x4ed44a(0x26a)](window,_0x4ed44a(0x1d4))[_0x4ed44a(0x1b9)](_0x17ab70=>{const _0xf30bfa=_0x4ed44a;if(_0x17ab70[_0xf30bfa(0x24f)]!==_0x28dafc||!_0x17ab70[_0xf30bfa(0x1e2)])return;const _0x52312a=JSON['parse'](_0x17ab70[_0xf30bfa(0x1e2)]);this[_0xf30bfa(0x2ed)](_0x52312a);}))),window['addEventListener'](_0x4ed44a(0x177),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4ed44a(0x171)](this[_0x4ed44a(0x164)])}));}['_handleEvent'](_0x263f05){const _0x834f33=_0x119853;switch(_0x263f05[_0x834f33(0xb7)]){case 0x0:this['_handleJoinEvent'](_0x263f05);break;case 0x1:this['_handleLeaveEvent'](_0x263f05);break;case 0x2:this['_handleHeartbeatEvent'](_0x263f05);break;}}['_handleJoinEvent'](_0x1f17c5){const _0x4cf527=_0x119853,{unitIDs:_0x18cb16,memberID:_0x556a08,isForwarded:_0xfb9d4a}=_0x1f17c5;_0x18cb16[_0x4cf527(0xfd)](_0x99c3c=>{const _0x2bdc3a=_0x4cf527;if(!_0xfb9d4a&&this[_0x2bdc3a(0x336)]['has'](_0x99c3c)&&this[_0x2bdc3a(0x2e6)](_0x99c3c)['next'](_0x471b6c[_0x2bdc3a(0x10f)][_0x2bdc3a(0x2ba)]),!this[_0x2bdc3a(0x336)][_0x2bdc3a(0x121)](_0x99c3c)||!this[_0x2bdc3a(0x336)]['get'](_0x99c3c)[_0x2bdc3a(0x121)](_0x556a08)){const _0x25d893=this['_unitOnClients'][_0x2bdc3a(0x2c2)](_0x99c3c)||new Set();_0x25d893[_0x2bdc3a(0x34b)](_0x556a08),this[_0x2bdc3a(0x336)][_0x2bdc3a(0x26d)](_0x99c3c,_0x25d893),this[_0x2bdc3a(0x183)](_0x556a08);}}),_0xfb9d4a||this[_0x4cf527(0x33c)]({'type':0x0,'memberID':this[_0x4cf527(0xcf)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x119853(0x183)](_0x3102a3){const _0x4a3c07=_0x119853;this['_removeClearOtherTimer'](_0x3102a3);const _0x459cf1=window[_0x4a3c07(0x107)](()=>{const _0x43f979=_0x4a3c07;this[_0x43f979(0x336)][_0x43f979(0xfd)](_0x3981f3=>{_0x3981f3['delete'](_0x3102a3);});},_0x4c090b*0x2);this[_0x4a3c07(0x22b)][_0x4a3c07(0x26d)](_0x3102a3,_0x459cf1);}[_0x119853(0xe2)](_0x1ee4cb){const _0x590678=_0x119853;if(this['_clearOtherTimers'][_0x590678(0x121)](_0x1ee4cb)){const _0x406f16=this['_clearOtherTimers'][_0x590678(0x2c2)](_0x1ee4cb);_0x406f16&&window[_0x590678(0x162)](_0x406f16),this[_0x590678(0x22b)]['set'](_0x1ee4cb,null);}}[_0x119853(0x29c)](_0x5489ac){const _0x2602af=_0x119853,{memberID:_0x1eab3b,unitIDs:_0x46d43b}=_0x5489ac;_0x46d43b['forEach'](_0x59ffda=>{const _0x39d5f3=_0x14fd;var _0x3e2b4c;const _0x29f757=this[_0x39d5f3(0x336)]['get'](_0x59ffda);_0x29f757&&(_0x29f757['delete'](_0x1eab3b),(_0x3e2b4c=this[_0x39d5f3(0x2e6)](_0x59ffda))==null||_0x3e2b4c[_0x39d5f3(0x316)](_0x29f757[_0x39d5f3(0xc4)]===0x0?_0x471b6c[_0x39d5f3(0x10f)][_0x39d5f3(0x262)]:_0x471b6c[_0x39d5f3(0x10f)][_0x39d5f3(0x2ba)]));}),this[_0x2602af(0xe2)](_0x1eab3b);}[_0x119853(0x2c0)](_0x102988){const _0x202f94=_0x119853;this[_0x202f94(0x183)](_0x102988[_0x202f94(0xcc)]);}[_0x119853(0x33c)](_0x5815c3){const _0x1984d8=_0x119853;localStorage['setItem'](_0x28dafc,JSON[_0x1984d8(0x272)](_0x5815c3));}[_0x119853(0x2e8)](){const _0x371508=_0x119853;this[_0x371508(0x2a2)]=window['setInterval'](()=>{const _0x26cb2a=_0x371508;this['_send']({'type':0x2,'memberID':this[_0x26cb2a(0xcf)]});},_0x4c090b);}[_0x119853(0x2e6)](_0x4004e4){const _0x5229d1=_0x119853;return this[_0x5229d1(0x214)][_0x5229d1(0x121)](_0x4004e4)||this['_unitStatus'][_0x5229d1(0x26d)](_0x4004e4,new _0x217777['BehaviorSubject'](_0x471b6c[_0x5229d1(0x10f)][_0x5229d1(0x262)])),this[_0x5229d1(0x214)][_0x5229d1(0x2c2)](_0x4004e4);}}var _0xa721c4=(_0x40f3a8=>(_0x40f3a8[_0x40f3a8[_0x119853(0x2d0)]=0x0]=_0x119853(0x2d0),_0x40f3a8[_0x40f3a8['OK']=0x1]='OK',_0x40f3a8[_0x40f3a8[_0x119853(0x1e7)]=0x2]=_0x119853(0x1e7),_0x40f3a8[_0x40f3a8[_0x119853(0x10e)]=0x3]=_0x119853(0x10e),_0x40f3a8[_0x40f3a8[_0x119853(0x2d8)]=0x4]='NOT_FOUND',_0x40f3a8[_0x40f3a8[_0x119853(0x24c)]=0x5]='UNAUTHENTICATED',_0x40f3a8[_0x40f3a8[_0x119853(0x300)]=0x6]=_0x119853(0x300),_0x40f3a8[_0x40f3a8[_0x119853(0x1d2)]=0x7]=_0x119853(0x1d2),_0x40f3a8[_0x40f3a8['TOO_MANY_REQUESTS']=0x8]=_0x119853(0xe3),_0x40f3a8[_0x40f3a8[_0x119853(0xc2)]=0x9]='COMPLETION_FINISHED',_0x40f3a8[_0x40f3a8[_0x119853(0x273)]=0xa]=_0x119853(0x273),_0x40f3a8[_0x40f3a8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x119853(0x239),_0x40f3a8[_0x40f3a8['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x119853(0x2b6),_0x40f3a8[_0x40f3a8[_0x119853(0x2fd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x40f3a8[_0x40f3a8[_0x119853(0x13f)]=0xe]=_0x119853(0x13f),_0x40f3a8[_0x40f3a8[_0x119853(0x282)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x40f3a8[_0x40f3a8[_0x119853(0x130)]=0x1771]=_0x119853(0x130),_0x40f3a8[_0x40f3a8[_0x119853(0x292)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40f3a8[_0x40f3a8[_0x119853(0x30e)]=0x1773]=_0x119853(0x30e),_0x40f3a8[_0x40f3a8[_0x119853(0x297)]=0x1b59]=_0x119853(0x297),_0x40f3a8[_0x40f3a8[_0x119853(0x141)]=0x1b5a]=_0x119853(0x141),_0x40f3a8[_0x40f3a8[_0x119853(0x1fe)]=0x1b5b]=_0x119853(0x1fe),_0x40f3a8[_0x40f3a8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x119853(0x340),_0x40f3a8[_0x40f3a8[_0x119853(0x306)]=0x1b5d]=_0x119853(0x306),_0x40f3a8[_0x40f3a8[_0x119853(0x160)]=0x1f41]=_0x119853(0x160),_0x40f3a8[_0x40f3a8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x119853(0x2e9),_0x40f3a8[_0x40f3a8[_0x119853(0x2db)]=0x232a]=_0x119853(0x2db),_0x40f3a8[_0x40f3a8[_0x119853(0x103)]=0x232b]=_0x119853(0x103),_0x40f3a8[_0x40f3a8[_0x119853(0x245)]=0x232c]=_0x119853(0x245),_0x40f3a8[_0x40f3a8[_0x119853(0x108)]=0x232d]=_0x119853(0x108),_0x40f3a8[_0x40f3a8[_0x119853(0x166)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40f3a8[_0x40f3a8[_0x119853(0x291)]=0x2712]=_0x119853(0x291),_0x40f3a8[_0x40f3a8['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40f3a8[_0x40f3a8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x119853(0xc3),_0x40f3a8[_0x40f3a8[_0x119853(0x138)]=0x271a]=_0x119853(0x138),_0x40f3a8[_0x40f3a8[_0x119853(0x238)]=0x271b]=_0x119853(0x238),_0x40f3a8[_0x40f3a8[_0x119853(0xec)]=0x271c]=_0x119853(0xec),_0x40f3a8[_0x40f3a8[_0x119853(0x21d)]=0x271d]=_0x119853(0x21d),_0x40f3a8[_0x40f3a8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x119853(0x13d),_0x40f3a8[_0x40f3a8[_0x119853(0xe9)]=0x271f]=_0x119853(0xe9),_0x40f3a8[_0x40f3a8[_0x119853(0xdd)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x40f3a8[_0x40f3a8[_0x119853(0xd1)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x40f3a8[_0x40f3a8[_0x119853(0x241)]=0x2ee1]=_0x119853(0x241),_0x40f3a8[_0x40f3a8[_0x119853(0x212)]=0x2ee2]=_0x119853(0x212),_0x40f3a8[_0x40f3a8[_0x119853(0x246)]=0x2ee3]=_0x119853(0x246),_0x40f3a8[_0x40f3a8['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x40f3a8[_0x40f3a8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x40f3a8[_0x40f3a8[_0x119853(0x28a)]=0x32c9]=_0x119853(0x28a),_0x40f3a8[_0x40f3a8[_0x119853(0x219)]=0x32ca]=_0x119853(0x219),_0x40f3a8[_0x40f3a8[_0x119853(0x1ec)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x40f3a8[_0x40f3a8[_0x119853(0x2dc)]=-0x1]=_0x119853(0x2dc),_0x40f3a8))(_0xa721c4||{}),_0x59c4d5=Object['getOwnPropertyDescriptor'],_0x1ae6af=(_0x32b3ca,_0x2237b1,_0x342af4,_0x14c04f)=>{const _0x38339f=_0x119853;for(var _0x272826=_0x14c04f>0x1?void 0x0:_0x14c04f?_0x59c4d5(_0x2237b1,_0x342af4):_0x2237b1,_0xfbf17e=_0x32b3ca[_0x38339f(0x346)]-0x1,_0x5b16b9;_0xfbf17e>=0x0;_0xfbf17e--)(_0x5b16b9=_0x32b3ca[_0xfbf17e])&&(_0x272826=_0x5b16b9(_0x272826)||_0x272826);return _0x272826;},_0x1f1a06=(_0x5c33b9,_0x429930)=>(_0x25be61,_0x111e3b)=>_0x429930(_0x25be61,_0x111e3b,_0x5c33b9);_0x3cf37a[_0x119853(0x19b)]=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x517ea5,_0x2863a1,_0x185b8b){const _0x4d488b=_0x119853;super(),this['_instanceService']=_0x517ea5,this[_0x4d488b(0x153)]=_0x2863a1,this[_0x4d488b(0x324)]=_0x185b8b;}async[_0x119853(0x209)](_0x1f06c7,_0x315619,_0x4af7d8,..._0x393ecf){const _0x3dd60d=_0x119853;var _0x18cb91,_0x1bd835,_0x294b14,_0x319a97;const _0x3a6363=this[_0x3dd60d(0x117)]['getFocusedUnit']();if(!_0x3a6363)throw new Error(_0x3dd60d(0x16f));const _0x57bb0d=((_0x18cb91=this[_0x3dd60d(0x324)][_0x3dd60d(0x359)](_0x471b6c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x18cb91:_0x471b6c[_0x3dd60d(0xb6)])+'/'+_0x1f06c7+_0x3dd60d(0x2c8)+_0x315619,_0x230fe0=new URL(window[_0x3dd60d(0xd2)]['href']),_0x110ab0={'scriptId':_0x1f06c7,'runId':(_0x1bd835=_0x230fe0['searchParams'][_0x3dd60d(0x2c2)]('runId'))!=null?_0x1bd835:'','function':_0x315619,'unitId':_0x3a6363['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x393ecf),'invokeId':(_0x294b14=_0x4af7d8[_0x3dd60d(0x100)])!=null?_0x294b14:'','executionId':(_0x319a97=_0x4af7d8[_0x3dd60d(0x2c3)])!=null?_0x319a97:''};try{const _0x1dcc0b=await this[_0x3dd60d(0x153)][_0x3dd60d(0x354)](_0x57bb0d,{'body':_0x110ab0});return _0x1dcc0b[_0x3dd60d(0x331)][_0x3dd60d(0x2be)]&&_0x1dcc0b[_0x3dd60d(0x331)][_0x3dd60d(0x2be)][_0x3dd60d(0x2a8)]!==_0xa721c4['OK']?_0x3dd60d(0xb5):_0x1dcc0b[_0x3dd60d(0x331)][_0x3dd60d(0x2bd)];}catch{return _0x3dd60d(0xb5);}}},_0x3cf37a[_0x119853(0x19b)]=_0x1ae6af([_0x1f1a06(0x0,_0x220ae6[_0x119853(0x195)]),_0x1f1a06(0x1,_0x220ae6[_0x119853(0x1c9)](_0x348a82[_0x119853(0x192)])),_0x1f1a06(0x2,_0x220ae6[_0x119853(0xd8)])],_0x3cf37a[_0x119853(0x19b)]),_0x3cf37a[_0x119853(0x26e)]=_0x2f2b45,_0x3cf37a[_0x119853(0x1f2)]=_0x3c9904,_0x3cf37a[_0x119853(0x15d)]=_0x2712e8,_0x3cf37a['WebBrowserSingleActiveUnitService']=_0x3523d4,_0x3cf37a['WebURLService']=_0x3875d9,Object[_0x119853(0x2ec)](_0x3cf37a,Symbol[_0x119853(0x1f1)],{'value':_0x119853(0x308)});}));function _0x14fd(_0x38db08,_0x2eaf66){const _0x49cd37=_0x49cd();return _0x14fd=function(_0x14fdea,_0x3ab2e7){_0x14fdea=_0x14fdea-0xb4;let _0x44d141=_0x49cd37[_0x14fdea];return _0x44d141;},_0x14fd(_0x38db08,_0x2eaf66);}function _0x49cd(){const _0x26269e=['SNAPSHOT_HAS_BEEN_REMOVED','useCallback','getStateCache','tag','CollaborationDataLoaderController','APPLY_REJECT','DependentOn','text','addHandlerCallback','_docClipboardService','_handleLeaveEvent','_setupSubUnitSync','getCoordByCell','_labelPosition','currentTheme$','_imageIoService','_heartbeatTimer','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unit','registerRenderModule','saveTaskMap','USERS_LEAVE','code','hide','_init','CLOSE_ROOM','univerjs-icon\x20univerjs-icon-','all','setUndoRedoMutationParamsCache','DocSkeletonManagerService','_scene','AWAITING_WITH_PENDING','hovered','_initStatusListener','_cursorInfo$','Subject','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getUniverSheetInstance','@univerjs/sheets-ui','#FFF','OTHER_CLIENTS_EDITING','sessionStatus$','font','result','error','xlink:href','_handleHeartbeatEvent','column','get','executionId','Tools','dispose','save','disableLocalCache','/run/','BrowserCollaborationSocketService','_roomMembers$','_docTransformSelectionsService','addObjects','_colorAssignService','getActiveSheet','getRenderById','UNDEFINED','search','attrs','send','_initStatusComponent','fill','_docTransformStateCacheService','getActiveRange','NOT_FOUND','onTransformChange$','_transformUndoRedoStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNRECOGNIZED','_hideTimer','isTransformMutationsWithChangesetSuccess','propertyIsEnumerable','CollaborationController','with','InsertRowCommandId','then','2155dgxXhF','onStarting','_ensureSubject','range','_scheduleHeartbeat','LICENSE_MAX_UNITS_EXCEEDED','React','Warning','defineProperty','_handleEvent','toString','toDisposable','skeleton','endColumn','clipPath','ITransformService','executeCommand','DesktopCollaborationStatusDisplayController','ILocalStorageService','map','UniverProCollaborationClientUi','distinctUntilChanged','svg','_createSocketURL','jiqing.500','EMAIL_VERIFY_CODE_MISMATCH','displayName','removeParam','ALREADY_EXISTS','addObject','OnLineIcon','SheetsSelectionsService','collaboration-client-ui.config','_collaborationController','APPLY_DUPLICATED','FromArray','Module','getLocalCacheKey','getRelativeToViewportCoord','getVpScrollXYInfoByPosToVp','min','exhaustSavingTask','ENSURE_SNAPSHOT_EXECUTION','_getMergeRange','_renderManagerService','setActiveRange','MemberService','univer-mr-2\x20univer-flex\x20univer-text-xl','[CollaborationDataLoaderController]','_colorIndex','next','substring','transformStateCache','doc.mutation.rich-text-editing','pipe','SetTextSelectionsOperation','_collabCursorController','ISocketService','isActive','InsertColCommandId','getMergeData','setShapeProps','_getSheetObject','asObservable','_configService','_notificationService','undoState','yellow.400','transformIMECache','_localStorageService','children','defIds','IRemoteInstanceService','UniverCollaborationClientUIPlugin','_onCursorDelete','onPointerMove$','override','body','includes','_getSessionTicket','setItem','collabStatus.synced','_unitOnClients','_shapes','white','SOCKET_FAILED','SYNCED','SHEET_VIEWPORT_KEY','_send','DocSelectionManagerService','_localCacheService','getUndoRedoMutationParamsCache','APPLY_PERMISSION_DENIED','DisposableCollection','_docTransformIMECacheService','pluginName','18qHLyBE','useObservable','length','find','http://www.w3.org/2000/svg','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cursor','add','entityInit$','registerRefRange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collaboration.single-unit.warning','_getSaveTimeout','data','OTHER_CLIENT_EDITING','_cursorShapes','post','idSuffix','EffectRefRangId','unitId','getParam','getConfig','2462089dAmDkF','DeleteRangeMoveUpCommandId','Failed','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','type','getSheetId','session.will-retry','44seigtv','drawWith','_transformHistoryAndStateStack','Rectangle','dispose$','IUIPartsService','SOCKET_FAILED_RETRY','_hover','COMPLETION_FINISHED','YUUMI_SUBSCRIPTION_NOT_FOUND','size','switchMap','...','@univerjs/engine-formula','indexOf','mask','IBeforeCloseService','DocIMEInputManagerService','memberID','_initEntityListener','NOT_COLLAB','_id','deserializeRangeWithSheet','PY_RUNTIME_SCRIPT_ERROR','location','_scheduleSaving','ThemeService','restore','transformRemoteChangeset','sheetId','IConfigService','FETCH_MISS','ISnapshotServerService','UniverUi','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_CONNECTOR_URL_NOT_FOUND','_registerDependencies','origin','ACTIVE_UNIT_EVENT_CHANNEL','16fbgpJV','_removeClearOtherTimer','TOO_MANY_REQUESTS','SUBMIT_CHANGESET_TIMEOUT','AWAITING','_dataLoaderService','WebSocketService','Error','YUUMI_AI_RUN_FAILED','getTypeOfUnitDisposed$','className','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fillStyle','roomMembers$','_online','_transformService','ICommandService','_updateLocalCursor','disposeWithMe','TEXT','exports','_beforeCloseService','OFFLINE','UniverSheetsUi','assignAColorForMemberID','isArray','focused$','useRef','forEach','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CommandType','invokeId','_entities','@univerjs/engine-render','LICENSE_IMPORT_SIZE_EXCEEDED','setParam','_assignedColors','_status$','setTimeout','LICENSE_DISTRO_REJECTED','setStateCache','_injector','resize','handleDeleteRangeMoveUp','_render','PERMISSION_DENIED','UnitStatus','clearInterval','red.300','ILogService','currentColor','_updateURLWithCurrentState','getRangePointData','url(#$1','_instanceService','measureText','reconnect','registerDependencies','call','_anchorDot','onCommandExecuted','LOCAL_CACHE_INTERVAL','roomMembers','collab-text-range-','has','registerBeforeClose','getViewport','symbol','_toggleOffline','on-line-icon_clip0_910_349','UniverDocs','_cursors','purple.300','getValue','RegularPolygon','editingUnit','handleInsertRow','replace','merge','SNAPSHOT_INVALID_SNAPSHOT','mapTo','_setupBeforeClosingHandler','href','green.600','_initResize','complete','getSheetBySheetId','YUUMI_NO_CUBOID_FOR_QUESTION','BuiltInUIPart','session.collaboration-timeout','ONLINE','getMemberID','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','generateRandomId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocStateChangeManagerService','APPLY_NON_SEQUENTIAL_REVISION','_univerInstanceService','onRendered','onLocalMutation','use','rxjs','CollaborationUIEventService','startsWith','Vector2','1em','_syncEditingCollabCursorService','touchDependencies','event$','_name','div','getOwnPropertyDescriptor','cursorInfo$','getUnitId','_httpService','@univerjs/design','_commandService','m2Prime','unshift','SessionStatus','mutations','RichTextEditingMutation','subscribeEvent','_anchor','SheetCollabCursorShape','collabStatus.offline','none','CONNECTOR_DATA_TOO_LARGE','@univerjs-pro/collaboration-client','clearTimeout','Rect','_selfUnitIDs','_getScale','YUUMI_UNABLE_LOAD_URL','url(#off-line-icon_clip0_910_343)','UniverProCollaboration','UniverEngineRender','Plugin','handleMoveRange','transformSelections','createIdentifier','SetWorksheetActivateCommand','[RemoteUniscriptService]:\x20no\x20focused\x20unit','saveOfflineData','from','replaceState','collab-client.tooltip.reconnect','searchParams','UniverInstanceType','transform','unload','actions','_eventUnsubscribe','getAncestorScale','BehaviorSubject','IMessageService','LOCAL_CACHE_INTERVAL_KEY','_cachedData','MessageType','MoveRangeCommandId','IImageIoService','evenodd','_scheduleClearOtherTimer','createInstance','SetSelectionsOperation','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_memberService','collabStatus.notCollab','TEXT_RANGE_LAYER_INDEX','_entityInit$','_hovered','whenReady','_updateSubUnitFromURLParams','_logService','transformByState','_range','disposeUnit','HTTPService','InsertRangeMoveDownCommandId','jsx','IUniverInstanceService','906230xNEGAy','UNIVER_SHEET','_docStateChangeManagerService','CONFLICT','_transformPreviousActiveRange','RemoteUniscriptService','UniverCollaborationClientPlugin','ranges','handleInsertRangeMoveRight','createSocket','unsubscribe','getFocusedUnit','bottom','_handleHover','getCurrent','DataLoaderService','_config','13074QtRgwG','hasOwnProperty','CollaborationSocketService','_removeCollabCursors','RemoveRowCommandId','requireSession','@univerjs/network','DOC_RANGE_TYPE','_refreshCollabCursors','syncEditingCollabCursor','amd','forwardRef','black','enableLocalCache','_backgroundColor','colorChannel1','_toggleOnline','UniverDocsUi','subscribe','getMember','sessionTicket','saveImage','findNodePositionByCharIndex','moveTo','name','RevisionService','4655272BaMQKN','_getAnchorBounding','collabCursorState$','_draw','apply','push','_saveTaskMap','_drawTextRange','Inject','getSheetObject','_messageService','flatMap','loadOfflineData','url(#on-line-icon_clip0_910_349)','RxDisposable','debounceTime','path','INVALID_ARGUMENT','_initEvent','storage','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','updateOfflineData','getItem','getCellPositionByOffset','combineLatest','collaboration.closeRoom','width','createElement','DeleteRangeMoveLeftCommandId','_uiPartsService','react','deepClone','entries','newValue','throttleTime','getCollabCursors$','object','delete','INTERNAL_ERROR','setConfig','@univerjs/sheets','docStateChange$','off-line-icon_clip0_910_343','EMAIL_HAS_BEEN_BOUND','_drawRectRange','getColorFromTheme','collabStatus.syncing','fromEventSubject','toStringTag','IURLService','@univerjs/drawing','_initDependencies','ILocalCacheService','_refRangeService','JOIN_ROOM_FAILED','_sheetSkeletonManagerService','round','Unknown\x20user','_saveCache','Shape','UPDATE_CURSOR','APPLY_REVISION_CONFILICT','serializeRangeWithSheet','currentSkeleton$','concat','activeSheet$','collaboration-client.offline-data-not-saved','useDependency','_onRefRangeChange','permission.content','5427010XWwyOr','0\x200\x2016\x2016','runOnServer','_urlService','runRefRangeMutations','prototype','transformMutation','lineTo','_drawAnchor','addClipboardHook','eventID','INVALID_INVITE_CODE','cursorInfo','_unitStatus','Disposable','_localeService','ColorKit','OffLineIcon','MOBILE_HAS_BEEN_BOUND','collabStatus.fetchMiss','IDocClipboardService','getColor','YUUMI_ALL_TABLES_IS_INVALID','getOwnPropertySymbols','_docSkeleton','UniverIcon','isEditing','handleDeleteRangeMoveLeft','62115UxHzpv','defs','history','unitID','runId','extend','39460080BEGtbX','Injector','_clearOtherTimers','InsertRangeMoveRightCommandId','onMouseMove','connectInjector','subunit','_docSkeletonManagerService','loadUnit','setAlpha','UniverSheets','_context','RECT','string','getCurrentRevOfUnit','YUUMI_ASYNCIO_CANCELLED','MOBILE_VERIFY_CODE_MISMATCH','takeUntil','_color','application/json','_collabCursorState$','univer-flex\x20univer-items-center','isTransformMutationFailure','0\x200\x2017\x2016','INVITE_CODE_HAS_BEEN_UES','COLORS','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','registerComponent','LICENSE_EXPORT_SIZE_EXCEEDED','INVITE_CODE_REQUIRED','redoState','urlChange$','trim','getOffsetConfig','_themeService','UNAUTHENTICATED','debug','assign','key','@univerjs/docs','_lastPointer','UniverEngineFormula','ticket','row','UniverDrawing','split','textRanges','init','getSkeleton','params','translate(.97)','values','getCurrentUnitForType','MUTATION','_startSheetCollabCursor','source','RemoveColCommandId','NO_OTHER_CLIENTS_EDITING','_collabSessionService','arc','closePath','engine','color','_initCommandExecutedListener','onPointerEnter$','fromEvent','LocaleService','collab-text-anchor-','set','CollaborationStatusDisplay','CollaborationUIEventId','icon','_onCursorUpdate','stringify','LOGIN_FAILED','_startDocCollabCursor','_revisionService','debounce','Tooltip','uni.network.url-service','height','CollaborationStatus','INotificationService','show','on-line-icon','UNIVER_DOC','_disabled','_session','_updateCollabCursors','CHANGESET_REVISION_CONFILICT','m1Prime','CollaborationEvent','function','getCurrentSelections','permission.title','filter','top','WECHAT_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','toRgbString','pushState','@univerjs/ui','selection','_textBubble','YUUMI_URL_COL_OUT_OF_RANGE'];_0x49cd=function(){return _0x26269e;};return _0x49cd();}
|
|
1
|
+
function _0x3f04(){const _0x29109e=['LOCAL_CACHE_INTERVAL','_handleLeaveEvent','moveTo','collabStatus.fetchMiss','_scheduleSaving','engine','PERMISSION_DENIED','rxjs','session.will-retry','concat','YUUMI_UNABLE_LOAD_URL','max','SOCKET_FAILED','getConfig','jsx','UNIVER_SHEET','ENSURE_SNAPSHOT_EXECUTION','_docSkeleton','univer-mr-2\x20univer-flex\x20univer-text-xl','getUnitId','roomMembers','svg','wsSessionTicketUrl','UniverCollaborationClientPlugin','purple.300','_cursorInfo$','React','950690ozKpDZ','_updateSubUnitFromURLParams','defIds','7900oqPcQO','bottom','@univerjs/rpc','_memberService','onLocalMutation','height','_clearOtherTimers','getCurrentRevOfUnit','addClipboardHook','_collabCursorController','transformSelections','SheetsSelectionsService','401208EnJRSi','SheetSkeletonManagerService','SetWorksheetActivateCommand','_sheetSkeletonManagerService','debounceTime','_hovered','isArray','_setupSubUnitSync','addObjects','clipPath','_handleHeartbeatEvent','backgroundColor','set','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NodePositionConvertToRectRange','endColumn','NOT_FOUND','function','_updateCollabCursors','_docTransformStateCacheService','closePath','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','_initCommandExecutedListener','stringify','current','_anchor','@univerjs/docs-ui','MessageType','@univerjs/design','DesktopCollaborationStatusDisplayController','save','univer-flex\x20univer-items-center','_startDocCollabCursor','INVITE_CODE_REQUIRED','subUnitId','asObservable','_refRangeService','3PUsPYt','getUnitStatus$','_cachedData','getColor','transformMutationsWithChangeset','unitID','fillRule','indexOf','TOO_MANY_REQUESTS','_onCursorDelete','setUndoRedoMutationParamsCache','top','jsxs','INVALID_INVITE_CODE','font','_logService','_createSocketURL','UniverRpc','activeSheet$','CollaborationStatusDisplay','SessionStatus','_docSkeletonManagerService','getSkeleton','_id','DocSelectionManagerService','Failed','ILocalStorageService','onCommandExecuted','attrs','_beforeCloseService','_lastPointer','mutations','ColorKit','colorChannel1','Subject','UniverDocs','status$','onMouseMove','_removeCollabCursors','docStateChange$','CollaborationSessionService','SetSelectionsOperation','PENDING','_renderManagerService','UniverProCollaboration','BehaviorSubject','urlChange$','getCollabEntity$','red.300','sessionTicket','PY_RUNTIME_SCRIPT_ERROR','_refreshCollabCursors','InsertRangeMoveDownCommandId','selection','replaceDocRanges','arc','_cursorShapes','YUUMI_SUBSCRIPTION_NOT_FOUND','VIEW_MAIN','UniverNetwork','YUUMI_TABLE_NOT_FOUND_IN_UNIT','measureText','collab-text-range-','_saveCache','subscribeEvent','transformIMECache','_updateURLWithCurrentState','getDocRanges','EffectRefRangId','_initEntityListener','unshift','SUBMIT_CHANGESET_TIMEOUT','trim','EMAIL_VERIFY_CODE_MISMATCH','undoState','unload','_roomMembers$','FETCH_MISS','icon','dispose','IRemoteInstanceService','10456jEWQTB','getViewport','get','_config','COMPLETION_FINISHED','_removeClearOtherTimer','IRenderManagerService','switchMap','ILogService','getCollabCursors$','_textBubble','useCallback','string','handleIRemoveRow','flatMap','debounce','width','unsubscribe','_httpService','getLocalCacheKey','sheetID','skeleton','DeleteRangeMoveLeftCommandId','hide','FromArray','tag','CollaborationDataLoaderController','cursorInfo','takeUntil','@univerjs-pro/collaboration-client','_color','_messageService','_name','getRenderById','getFocusedUnit','saveImage','LOGIN_FAILED','Workbook','HEADER_MENU','ONLINE','Vector2','serializeRangeWithSheet','useDependency','_configService','Injector','63KDRRSH','toString','rxjs/operators','subunit','collaboration.closeRoom','newValue','displayName','_backgroundColor','53880DOApnA','addHandlerCallback','registerRenderModule','values','_render','executionId','0\x200\x2017\x2016','_urlService','getStateCache','doc.mutation.rich-text-editing','_collaborationController','MUTATION','_handleJoinEvent','DataLoaderService','MemberService','getTypeOfUnitAdded$','add','6LMauuR','min','_docStateChangeManagerService','_initEvent','_injector','fromEvent','filter','getRelativeToViewportCoord','UniverCollaborationClientUIPlugin','_context','IURLService','createInstance','collabStatus.syncing','RemoteUniscriptService','_collaborationUIEventService','getCurrent','setConfig','pipe','some','translate(.97)','_transformService','_ensureSubject','forEach','APPLY_REVISION_CONFILICT','contains','APPLY_NON_SEQUENTIAL_REVISION','className','RevisionService','_getMergeRange','runOnServer','split','search','getTypeOfUnitDisposed$','COLORS','_toggleOnline','@univerjs/drawing','addObject','Tools','handleInsertRangeMoveRight','onPointerEnter$','reconnect','UniverEngineRender','sheetId','imageSourceType','toDisposable','_getAnchorBounding','_docClipboardService','clearInterval','EMAIL_HAS_BEEN_BOUND','ICommandService','cursorInfo$','UNDEFINED','_localCacheService','setParam','searchParams','startRow','text','getSheetId','currentColor','_entities','UNRECOGNIZED','currentSkeleton$','getValue','includes','_session','origin','1em','toStringTag','IDocClipboardService','@univerjs/core','source','drawWith','ILocalCacheService','UniverUi','getVpScrollXYInfoByPosToVp','getParam','IConfigService','LOCAL_CACHE_INTERVAL_KEY','setTimeout','exhaustSavingTask','_handleEvent','InsertRangeMoveRightCommandId','_colorIndex','AWAITING_WITH_PENDING','_getSaveTimeout','onPointerLeave$','_transformPreviousActiveRange','column','_instanceService','application/json','getActiveSheet','entries','_unitOnClients','textRanges','_dataLoaderService','CONFLICT','distinctUntilChanged','RichTextEditingMutation','object','_localeService','getItem','_eventUnsubscribe','RegularPolygon','Inject','_saveTaskMap','history','_range','body','idSuffix','946sSgSbu','_initStatusComponent','_initStatusListener','syncEditingCollabCursor','YUUMI_AI_RUN_FAILED','onRendered','USERS_LEAVE','registerRefRange','CONNECTOR_DATA_TOO_LARGE','endRow','replaceState','collabStatus.notCollab','enableLocalCache','from','@univerjs/sheets','name','startsWith','beginPath','APPLY_PERMISSION_DENIED','124510lDFimw','resize','INVITE_CODE_ALREADY_BOUND','_imageIoService','SheetCollabCursorShape','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','range','_entityInit$','redoState','UNAUTHENTICATED','M0\x200H16V16H0z','_onRefRangeChange','children','DependentOn','_online','_revisionService','IUniverInstanceService','_unitStatus','_docTransformIMECacheService','@univerjs/docs','hasOwnProperty','DOC_RANGE_TYPE','ThemeService','has','focused$','with','black','_univerInstanceService','CollaborationSocketService','WebSocketService','OffLineIcon','CollaborationStatus','LocaleService','_uiPartsService','setInterval','onStarting','LICENSE_MAX_UNITS_EXCEEDED','exports','ITransformService','CollaborationUIEventId','getOwnPropertyDescriptor','UniverCore','subscribe','permission.content','_collabCursorState$','init','Error','UniverSheets','useRef','substring','INVALID_ARGUMENT','actions','error','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','combineLatest','[CollaborationDataLoaderController]','_themeService','setShapeProps','unit','RxDisposable','_transformHistoryAndStateStack','NodePositionConvertToCursor','runRefRangeMutations','CollaborationController','LICENSE_IMPORT_SIZE_EXCEEDED','isActive','_document','url(#$1','on-line-icon','getUnhiddenWorksheets','getSheetBySheetId','YUUMI_RATE_OVER_LIMIT','USER_NOT_INVITED_CODE','InsertColCommandId','ALREADY_EXISTS','then','@univerjs/engine-formula','transformStateCache','_shapes','uni.network.url-service','apply','_init','amd','APPLY_REJECT','_colorAssignService','_commandService','createSocket','Shape','send','INotificationService','propertyIsEnumerable','data','SOCKET_FAILED_RETRY','fromEventSubject','whenReady','deserializeRangeWithSheet','fillText','OTHER_CLIENT_EDITING','session.collaboration-timeout','ISnapshotServerService','_syncEditingCollabCursorService','MOBILE_HAS_BEEN_BOUND','findNodePositionByCharIndex','transformRemoteChangeset','getMember','CHANGESET_REVISION_CONFILICT','setStateCache','_scheduleClearOtherTimer','_scene','_collabSessionService','_docSyncEditingCollabCursorService','CollaborationEvent','_drawAnchor','_notificationService','Unknown\x20user','getCurrentSelections','post','_initResize','SNAPSHOT_HAS_BEEN_REMOVED','AWAITING','addEventListener','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','path','...','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','disposeWithMe','row','next','collab-rect-range-','_cursor','executeCommand','_anchorDot','_startSheetCollabCursor','handleIRemoveCol','saveTaskMap','defs','_status$','collaboration-client-ui.config','_docTransformSelectionsService','none','RECT','transformMutation','InsertRowCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','complete','RefRangeService','ACTIVE_UNIT_EVENT_CHANNEL','_cursors','getCoordByCell','triggerDblclick','getCurrentUnitForType','SetDocZoomRatioOperation','defineProperty','loadUnit','YUUMI_CONNECTOR_URL_NOT_FOUND','key','mergeOverrideWithDependencies','MOBILE_VERIFY_CODE_MISMATCH','params','updateOfflineData','call','getUndoRedoMutationParamsCache','event$','UniverSheetsUi','onPointerMove$','@univerjs/ui','sessionStatus$','href','m1Prime','deepClone','isTransformMutationsWithChangesetSuccess','collab-text-anchor-','clearTimeout','makeDirty','IImageIoService','http://www.w3.org/2000/svg','loadOfflineData','INTERNAL_ERROR','#FFF','_toggleOffline','DocIMEInputManagerService','color','runId','assign','on-line-icon_clip0_910_349','Disposable','_assignedColors','LICENSE_DISTRO_REJECTED','parse','BrowserCollaborationSocketService','useObservable','forwardRef','APPLY_DUPLICATED','_scheduleHeartbeat','pushState','TEXT','operators','collaboration.single-unit.warning','_hideTimer','NOT_COLLAB','ranges','getOwnPropertySymbols','_drawTextRange','_disabled','WECHAT_HAS_BEEN_BOUND','lineTo','type','prototype','DocCollaborationEntity','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HTTPService','rgba(255,\x20255,\x20255,\x200.01)','_updateLocalCursor','fillStyle','fill','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getScale','restore','map','Tooltip','getOffsetConfig','result','@univerjs-pro/collaboration','_transformUndoRedoStack','_drawRectRange','react','getActiveRange','OFFLINE','collabCursorState$','Rect','DocSkeletonManagerService','NO_OTHER_CLIENTS_EDITING','pluginName','location','Warning','_setupBeforeClosingHandler','m2Prime','generateRandomId','_heartbeatTimer','RemoveRowCommandId','UniverEngineFormula','currentTheme$','IMessageService','TEXT_RANGE_LAYER_INDEX','replace','handleDeleteRangeMoveUp','IUIPartsService','_getSheetObject','extend','DisposableCollection','RemoveColCommandId','YUUMI_ALL_TABLES_IS_INVALID','disposeUnit','collaboration-client.offline-data-not-saved','_handleHover','YUUMI_URL_COL_OUT_OF_RANGE','UniverInstanceType','collabStatus.offline','UniverProCollaborationClientUi','_selfUnitIDs','1422uPnEoQ','delete','transform','assignAColorForMemberID','Module','unitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CLOSE_ROOM','setItem','YUUMI_ASYNCIO_CANCELLED','find','show','_registerRenderDependencies','UPDATE_CURSOR','white','evenodd','UnitStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','length','getUniverSheetInstance','off-line-icon','size','SNAPSHOT_INVALID_SNAPSHOT','dispose$','_onCursorUpdate','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_hover','handleInsertRow','round','_labelPosition','getColorFromTheme','onTransformChange$','getSheetObject','getRangePointData','UNIVER_DOC','createElement','CommandType','725628UvLYkg','_localStorageService','debug','mask','off-line-icon_clip0_910_343','selections','0\x200\x2016\x2016','isTransformMutationFailure','url(#off-line-icon_clip0_910_343)','push','_send','merge','xlink:href','INVITE_CODE_HAS_BEEN_UES'];_0x3f04=function(){return _0x29109e;};return _0x3f04();}function _0x3c84(_0x544c68,_0x15fd52){const _0x3f04b6=_0x3f04();return _0x3c84=function(_0x3c849b,_0x2dcf1c){_0x3c849b=_0x3c849b-0x128;let _0x3d5a22=_0x3f04b6[_0x3c849b];return _0x3d5a22;},_0x3c84(_0x544c68,_0x15fd52);}(function(_0x5c7557,_0x6c8f88){const _0x43c1af=_0x3c84,_0x5a77d6=_0x5c7557();while(!![]){try{const _0x305f58=-parseInt(_0x43c1af(0x2e0))/0x1*(parseInt(_0x43c1af(0x158))/0x2)+-parseInt(_0x43c1af(0x282))/0x3+parseInt(_0x43c1af(0x2ba))/0x4+parseInt(_0x43c1af(0x2ab))/0x5*(parseInt(_0x43c1af(0x377))/0x6)+-parseInt(_0x43c1af(0x35e))/0x7*(-parseInt(_0x43c1af(0x331))/0x8)+parseInt(_0x43c1af(0x25d))/0x9*(-parseInt(_0x43c1af(0x2ae))/0xa)+parseInt(_0x43c1af(0x145))/0xb*(parseInt(_0x43c1af(0x366))/0xc);if(_0x305f58===_0x6c8f88)break;else _0x5a77d6['push'](_0x5a77d6['shift']());}catch(_0x3bb538){_0x5a77d6['push'](_0x5a77d6['shift']());}}}(_0x3f04,0x20ee2),function(_0x5a4944,_0x5877ac){const _0x1c4c70=_0x3c84;typeof exports==_0x1c4c70(0x13a)&&typeof module<'u'?_0x5877ac(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x1c4c70(0x2cb)&&define[_0x1c4c70(0x1ab)]?define([_0x1c4c70(0x17d),_0x1c4c70(0x34e),_0x1c4c70(0x3bc),'@univerjs/engine-render','@univerjs/network',_0x1c4c70(0x2d5),_0x1c4c70(0x39a),'rxjs',_0x1c4c70(0x237),_0x1c4c70(0x16b),_0x1c4c70(0x1a5),_0x1c4c70(0x153),_0x1c4c70(0x360),'@univerjs/sheets-ui','react/jsx-runtime',_0x1c4c70(0x1fe),_0x1c4c70(0x2d7),_0x1c4c70(0x23a),_0x1c4c70(0x2b0)],_0x5877ac):(_0x5a4944=typeof globalThis<'u'?globalThis:_0x5a4944||self,_0x5877ac(_0x5a4944[_0x1c4c70(0x25b)]={},_0x5a4944['UniverProCollaborationClient'],_0x5a4944[_0x1c4c70(0x181)],_0x5a4944[_0x1c4c70(0x3a0)],_0x5a4944[_0x1c4c70(0x31b)],_0x5a4944['UniverDocsUi'],_0x5a4944['UniverDrawing'],_0x5a4944[_0x1c4c70(0x297)],_0x5a4944[_0x1c4c70(0x30c)],_0x5a4944[_0x1c4c70(0x303)],_0x5a4944[_0x1c4c70(0x249)],_0x5a4944[_0x1c4c70(0x187)],_0x5a4944[_0x1c4c70(0x297)][_0x1c4c70(0x21d)],_0x5a4944[_0x1c4c70(0x1fc)],_0x5a4944[_0x1c4c70(0x2aa)],_0x5a4944[_0x1c4c70(0x3c0)],_0x5a4944['UniverDesign'],_0x5a4944[_0x1c4c70(0x2aa)],_0x5a4944[_0x1c4c70(0x2f1)]));}(this,function(_0x1a1600,_0x158f6a,_0x5381a1,_0x425989,_0x232e6b,_0x12cdf9,_0x2b197e,_0x3bfc2e,_0x13a7ce,_0x396d1c,_0x5e0fe2,_0x35314c,_0x412ed1,_0x478542,_0x36f141,_0x30a129,_0xeba7cf,_0x585a14,_0x156ba4){'use strict';const _0x18936a=_0x3c84;var _0x46ea05=Object[_0x18936a(0x1f1)],_0x2da2bc=(_0x20eb7e,_0x12ddf2,_0x5875a3)=>_0x12ddf2 in _0x20eb7e?_0x46ea05(_0x20eb7e,_0x12ddf2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5875a3}):_0x20eb7e[_0x12ddf2]=_0x5875a3,_0x5178b9=(_0x56f2b8,_0x581467,_0x2ee185)=>_0x2da2bc(_0x56f2b8,typeof _0x581467!='symbol'?_0x581467+'':_0x581467,_0x2ee185),_0xec1125=Object[_0x18936a(0x180)],_0x50d252=(_0x4171de,_0xbf8f7f,_0x415e41,_0x376040)=>{const _0x3e4ff7=_0x18936a;for(var _0x41a69b=_0x376040>0x1?void 0x0:_0x376040?_0xec1125(_0xbf8f7f,_0x415e41):_0xbf8f7f,_0x3d6dd8=_0x4171de[_0x3e4ff7(0x26f)]-0x1,_0x49231f;_0x3d6dd8>=0x0;_0x3d6dd8--)(_0x49231f=_0x4171de[_0x3d6dd8])&&(_0x41a69b=_0x49231f(_0x41a69b)||_0x41a69b);return _0x41a69b;},_0x2f51ea=(_0x1895d9,_0x4527ff)=>(_0x3688ed,_0x47eb44)=>_0x4527ff(_0x3688ed,_0x47eb44,_0x1895d9);let _0x5f3072=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x227460,_0x45aa84){const _0x50b373=_0x18936a;super(),this['_docClipboardService']=_0x227460,this[_0x50b373(0x15b)]=_0x45aa84,this[_0x50b373(0x1aa)]();}[_0x18936a(0x1aa)](){const _0x4d2c9f=_0x18936a,_0x47f945=this;this[_0x4d2c9f(0x1d6)](this[_0x4d2c9f(0x3a5)][_0x4d2c9f(0x2b6)]({'onBeforePasteImage':async _0x4b62b1=>{const _0x2b35f7=_0x4d2c9f,_0x5942e2=await _0x47f945[_0x2b35f7(0x15b)][_0x2b35f7(0x354)](_0x4b62b1);return _0x5942e2?{'source':_0x5942e2[_0x2b35f7(0x3bd)],'imageSourceType':_0x5942e2[_0x2b35f7(0x3a2)]}:null;}}));}};_0x5f3072=_0x50d252([_0x2f51ea(0x0,_0x12cdf9[_0x18936a(0x3bb)]),_0x2f51ea(0x1,_0x2b197e[_0x18936a(0x207)])],_0x5f3072);const _0x233edb=[_0x18936a(0x2a8),'jiqing.500','green.600',_0x18936a(0x310),'blue.400','yellow.400'];class _0x703bf0 extends _0x5381a1[_0x18936a(0x212)]{constructor(){const _0x40b908=_0x18936a;super(...arguments),_0x5178b9(this,_0x40b908(0x213),new Map()),_0x5178b9(this,_0x40b908(0x12a),0x0);}[_0x18936a(0x260)](_0x3b0aa2){const _0xb8d111=_0x18936a;if(this[_0xb8d111(0x213)][_0xb8d111(0x16f)](_0x3b0aa2))return this[_0xb8d111(0x213)][_0xb8d111(0x333)](_0x3b0aa2);const _0x3a1fde=_0x233edb[this[_0xb8d111(0x12a)]];return this[_0xb8d111(0x12a)]=(this[_0xb8d111(0x12a)]+0x1)%_0x233edb[_0xb8d111(0x26f)],this['_assignedColors']['set'](_0x3b0aa2,_0x3a1fde),_0x3a1fde;}}function _0x3e2e44(_0xf5a940){const _0x4f4e45=_0x18936a;let _0x174223='';for(const _0x3b5d68 of _0xf5a940){const {startOffset:_0x5f53eb,endOffset:_0x3ae88b,isActive:_0x1d952d,rangeType:_0x1e256c,segmentId:_0x36f754,segmentPage:_0x54c7eb}=_0x3b5d68;_0x174223[_0x4f4e45(0x26f)]&&(_0x174223+=','),_0x174223+=_0x5f53eb+':'+_0x3ae88b+':'+(_0x1d952d?'1':'0')+':'+_0x1e256c+':'+_0x36f754+':'+_0x54c7eb;}return _0x174223;}function _0x57fbf8(_0x19b23b){const _0xfff602=_0x18936a,_0x5054e7=_0x19b23b[_0xfff602(0x395)](','),_0x5bdbe2=[];for(const _0x52b75d of _0x5054e7){const [_0x1fa969,_0x17aab0,_0x370646,_0x2449d5,_0x51cdc1,_0x2cc6fe]=_0x52b75d['split'](':');_0x5bdbe2[_0xfff602(0x28b)]({'startOffset':Number(_0x1fa969),'endOffset':Number(_0x17aab0),'collapsed':_0x1fa969===_0x17aab0,'isActive':_0x370646==='1','rangeType':_0x2449d5===_0x5381a1[_0xfff602(0x16d)][_0xfff602(0x21c)]?_0x5381a1[_0xfff602(0x16d)][_0xfff602(0x21c)]:_0x5381a1['DOC_RANGE_TYPE'][_0xfff602(0x1e5)],'segmentId':typeof _0x51cdc1=='string'?String(_0x51cdc1):'','segmentPage':Number(_0x2cc6fe!=null?_0x2cc6fe:-0x1)});}return _0x5bdbe2[_0xfff602(0x389)](_0x1c14a7=>_0x1c14a7[_0xfff602(0x19a)])||(_0x5bdbe2[0x0]['isActive']=!0x0),_0x5bdbe2;}class _0x136b53 extends _0x5381a1[_0x18936a(0x194)]{constructor(){const _0x1913d4=_0x18936a;super(...arguments),_0x5178b9(this,_0x1913d4(0x184),new _0x3bfc2e[(_0x1913d4(0x30d))](null)),_0x5178b9(this,_0x1913d4(0x23d),this[_0x1913d4(0x184)][_0x1913d4(0x2de)]());}[_0x18936a(0x148)](_0x24d335){const _0x32598f=_0x18936a,{unitID:_0x163abd,memberID:_0x14f3a0,textRanges:_0x25696b}=_0x24d335,_0x39197c=_0x3e2e44(_0x25696b);if(_0x39197c==='')return;const _0x57a55b={'unitID':_0x163abd,'memberID':_0x14f3a0,'selection':_0x39197c};this['_collabCursorState$'][_0x32598f(0x1d8)](_0x57a55b);}}var _0x59a3ad=Object['getOwnPropertyDescriptor'],_0x4e27e6=(_0x4b3c78,_0x56dffb,_0x9720ab,_0x36e548)=>{for(var _0x5b0731=_0x36e548>0x1?void 0x0:_0x36e548?_0x59a3ad(_0x56dffb,_0x9720ab):_0x56dffb,_0x2bd0d3=_0x4b3c78['length']-0x1,_0x44cfe7;_0x2bd0d3>=0x0;_0x2bd0d3--)(_0x44cfe7=_0x4b3c78[_0x2bd0d3])&&(_0x5b0731=_0x44cfe7(_0x5b0731)||_0x5b0731);return _0x5b0731;},_0x172ef5=(_0x1bc2d3,_0xf38faf)=>(_0x4f5eba,_0x13d427)=>_0xf38faf(_0x4f5eba,_0x13d427,_0x1bc2d3);const _0x3928b1=0x12c,_0x486c4e=0x64;let _0x2fa602=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x4b31a8,_0x6b81d4,_0x364387,_0xb9c138,_0x2bcadf,_0x3a116e,_0x37d394,_0xb9604,_0x3a1e48){const _0x594853=_0x18936a;super(),_0x5178b9(this,_0x594853(0x166),!0x1),_0x5178b9(this,_0x594853(0x1aa),!0x1),_0x5178b9(this,_0x594853(0x2a9),new _0x3bfc2e[(_0x594853(0x30d))](new Map())),_0x5178b9(this,_0x594853(0x3a9),this[_0x594853(0x2a9)][_0x594853(0x2de)]()),_0x5178b9(this,'_roomMembers$',new _0x3bfc2e[(_0x594853(0x30d))]([])),_0x5178b9(this,'roomMembers$',this[_0x594853(0x32c)][_0x594853(0x388)](_0x3bfc2e[_0x594853(0x2be)](_0x3928b1))),_0x5178b9(this,_0x594853(0x22d),_0x5381a1[_0x594853(0x340)](_0x1f18bf=>{const _0x4d47fd=_0x594853,_0x14f0c2={'eventID':_0x13a7ce['CollaborationEvent'][_0x4d47fd(0x26a)],'data':{'unitID':this[_0x4d47fd(0x2e5)],'memberID':this[_0x4d47fd(0x3b7)]['getMemberID'](),'selection':_0x3e2e44(_0x1f18bf)}};this['_session'][_0x4d47fd(0x1b1)](_0x14f0c2,this[_0x4d47fd(0x2e5)]);},_0x486c4e)),(this['unitID']=_0x4b31a8,this[_0x594853(0x3b7)]=_0x6b81d4,this[_0x594853(0x37b)]=_0x364387,this[_0x594853(0x1ad)]=_0xb9c138,this[_0x594853(0x2b1)]=_0x2bcadf,this[_0x594853(0x1bd)]=_0x3a116e,this[_0x594853(0x38b)]=_0x37d394,this[_0x594853(0x173)]=_0xb9604,this['_commandService']=_0x3a1e48);}get[_0x18936a(0x34c)](){const _0x473c42=_0x18936a;return this[_0x473c42(0x2a9)]['getValue']();}get['roomMembers'](){const _0x6dc639=_0x18936a;return this[_0x6dc639(0x32c)]['getValue']();}[_0x18936a(0x32f)](){const _0x174e66=_0x18936a;super[_0x174e66(0x32f)](),this[_0x174e66(0x2a9)]['next'](new Map()),this[_0x174e66(0x2a9)][_0x174e66(0x1e9)](),this[_0x174e66(0x32c)][_0x174e66(0x1d8)]([]),this['_roomMembers$']['complete']();}[_0x18936a(0x185)](){const _0x5f2526=_0x18936a;this[_0x5f2526(0x1aa)]||(this['_init']=!0x0,this[_0x5f2526(0x3b7)]['sessionStatus$']['pipe'](_0x3bfc2e['takeUntil'](this['dispose$']))[_0x5f2526(0x182)](_0x3d4f59=>{const _0x428baf=_0x5f2526;_0x3d4f59===_0x158f6a['SessionStatus'][_0x428baf(0x358)]?this[_0x428baf(0x399)]():this[_0x428baf(0x20c)]();}),this[_0x5f2526(0x3b7)]['event$'][_0x5f2526(0x388)](_0x3bfc2e[_0x5f2526(0x34d)](this[_0x5f2526(0x274)]))[_0x5f2526(0x182)](_0x49f214=>{const _0x34b86b=_0x5f2526,_0x454ed2=_0x49f214['eventID'];_0x454ed2===_0x13a7ce[_0x34b86b(0x1c8)][_0x34b86b(0x26a)]&&this[_0x34b86b(0x275)](_0x49f214),_0x454ed2===_0x13a7ce['CollaborationEvent'][_0x34b86b(0x14b)]&&this[_0x34b86b(0x2e9)](_0x49f214);}),this[_0x5f2526(0x1d6)](this[_0x5f2526(0x1ae)][_0x5f2526(0x2fb)](_0x4c255b=>{const _0x1fd0d2=_0x5f2526,_0x1ac6ad=_0x4c255b[_0x1fd0d2(0x1f7)];_0x1ac6ad!=null&&this['_online']&&_0x4c255b['id']===_0x396d1c['SetTextSelectionsOperation']['id']&&_0x1ac6ad[_0x1fd0d2(0x262)]===this[_0x1fd0d2(0x2e5)]&&_0x1ac6ad['isEditing']===!0x1&&_0x1ac6ad['ranges'][_0x1fd0d2(0x26f)]>0x0&&this[_0x1fd0d2(0x22d)](_0x1ac6ad[_0x1fd0d2(0x221)]);})),this['_syncEditingCollabCursorService'][_0x5f2526(0x23d)]['pipe'](_0x3bfc2e[_0x5f2526(0x34d)](this[_0x5f2526(0x274)]))[_0x5f2526(0x182)](_0x396716=>{const _0x5492f8=_0x5f2526;if((_0x396716==null?void 0x0:_0x396716[_0x5492f8(0x2e5)])!==this['unitID'])return;const _0x679a4d={'eventID':_0x13a7ce['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x396716};this[_0x5492f8(0x275)](_0x679a4d);}),this[_0x5f2526(0x1d6)](this[_0x5f2526(0x1ae)]['onCommandExecuted'](_0x58378c=>{const _0x4e4c38=_0x5f2526;if(_0x58378c[_0x4e4c38(0x1f7)]==null)return;const _0x4a0ba3=_0x58378c[_0x4e4c38(0x1f7)];if(_0x58378c['id']!==_0x396d1c[_0x4e4c38(0x139)]['id']||_0x4a0ba3[_0x4e4c38(0x262)]!==this[_0x4e4c38(0x2e5)])return;const _0x2f6bc1={'id':_0x4e4c38(0x36f),'params':_0x4a0ba3},_0x8cce38=this[_0x4e4c38(0x34c)];for(const [_0x1a7e3b,_0x4838bb]of _0x8cce38){const _0x3d6c24={'id':_0x4e4c38(0x36f),'params':{'unitId':this[_0x4e4c38(0x2e5)],'actions':null,'textRanges':_0x4838bb[_0x4e4c38(0x221)]}},_0x302951=this[_0x4e4c38(0x38b)][_0x4e4c38(0x1e6)](_0x2f6bc1,_0x3d6c24,!0x1);if(_0x13a7ce['isTransformMutationFailure'](_0x302951))throw _0x302951[_0x4e4c38(0x18c)];_0x8cce38[_0x4e4c38(0x2c6)](_0x1a7e3b,{..._0x4838bb,'ranges':_0x302951['m2Prime'][_0x4e4c38(0x1f7)][_0x4e4c38(0x135)]});}queueMicrotask(()=>{const _0x16ebcb=_0x4e4c38;this[_0x16ebcb(0x2a9)][_0x16ebcb(0x1d8)](_0x8cce38);});})));}['_onCursorUpdate'](_0x45aa8a){const _0x534945=_0x18936a;var _0x197fa9,_0x4d994d;const {memberID:_0x48125e,selection:_0x4e01d8}=_0x45aa8a[_0x534945(0x1b4)],_0x220289=_0x57fbf8(_0x4e01d8),_0x178bdb=(_0x4d994d=(_0x197fa9=this[_0x534945(0x2b1)][_0x534945(0x1c1)](this['unitID'],_0x48125e))==null?void 0x0:_0x197fa9[_0x534945(0x154)])!=null?_0x4d994d:'Unknown\x20user',_0xce247c={'color':this[_0x534945(0x1ad)]['assignAColorForMemberID'](_0x48125e),'name':_0x178bdb,'ranges':_0x220289},_0x8abefb=this[_0x534945(0x34c)];_0x8abefb['set'](_0x48125e,_0xce247c),this['_cursorInfo$'][_0x534945(0x1d8)](_0x8abefb);}['_onCursorDelete'](_0x1b87c8){const _0x1ed3aa=_0x18936a,{memberID:_0x36886e}=_0x1b87c8[_0x1ed3aa(0x1b4)],_0x46fffc=this[_0x1ed3aa(0x34c)];_0x46fffc[_0x1ed3aa(0x25e)](_0x36886e),this['_cursorInfo$'][_0x1ed3aa(0x1d8)](_0x46fffc);}[_0x18936a(0x399)](){const _0x1e8842=_0x18936a;var _0x4fa0f8;if(this[_0x1e8842(0x166)]=!0x0,((_0x4fa0f8=this['_univerInstanceService'][_0x1e8842(0x353)]())==null?void 0x0:_0x4fa0f8['getUnitId']())!==this[_0x1e8842(0x2e5)])return;const _0x5b543b=this['_injector'][_0x1e8842(0x333)](_0x396d1c[_0x1e8842(0x2f8)])['getDocRanges']();Array[_0x1e8842(0x2c0)](_0x5b543b)&&_0x5b543b[_0x1e8842(0x26f)]>0x0&&this['_updateLocalCursor'](_0x5b543b);}[_0x18936a(0x20c)](){this['_online']=!0x1;}};_0x2fa602=_0x4e27e6([_0x172ef5(0x2,_0x5381a1['Inject'](_0x5381a1['Injector'])),_0x172ef5(0x3,_0x5381a1[_0x18936a(0x13f)](_0x703bf0)),_0x172ef5(0x4,_0x5381a1[_0x18936a(0x13f)](_0x158f6a[_0x18936a(0x374)])),_0x172ef5(0x5,_0x5381a1[_0x18936a(0x13f)](_0x136b53)),_0x172ef5(0x6,_0x13a7ce['ITransformService']),_0x172ef5(0x7,_0x5381a1['IUniverInstanceService']),_0x172ef5(0x8,_0x5381a1['ICommandService'])],_0x2fa602);var _0x13afc4=Object[_0x18936a(0x180)],_0x109bda=(_0x5946f5,_0x426325,_0x4d9986,_0x222d6b)=>{const _0x22d012=_0x18936a;for(var _0x2d09da=_0x222d6b>0x1?void 0x0:_0x222d6b?_0x13afc4(_0x426325,_0x4d9986):_0x426325,_0x15ca6c=_0x5946f5[_0x22d012(0x26f)]-0x1,_0x4ee1f4;_0x15ca6c>=0x0;_0x15ca6c--)(_0x4ee1f4=_0x5946f5[_0x15ca6c])&&(_0x2d09da=_0x4ee1f4(_0x2d09da)||_0x2d09da);return _0x2d09da;},_0x291a8a=(_0x1fce52,_0x2669cd)=>(_0x4840af,_0x338274)=>_0x2669cd(_0x4840af,_0x338274,_0x1fce52);const _0x4880b4=0x12c,_0x418529=0x64,_0x2bfde9=()=>{let _0x4bf04f=[],_0x3a0cc6=!0x1;return _0x34485d=>{_0x4bf04f['push'](_0x34485d),_0x3a0cc6||(_0x3a0cc6=!0x0,setTimeout(()=>{const _0x1f39fc=_0x3c84;_0x4bf04f[_0x1f39fc(0x38d)](_0x5e1cc1=>_0x5e1cc1()),_0x4bf04f=[],_0x3a0cc6=!0x1;}));};};let _0x41148b=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x578bdd,_0x57e100,_0xd04af4,_0x3a24da,_0xff0287,_0x44f082,_0x3245c9,_0x4e3b55){const _0x5c41f6=_0x18936a;super(),_0x5178b9(this,_0x5c41f6(0x166),!0x1),_0x5178b9(this,_0x5c41f6(0x1aa),!0x1),_0x5178b9(this,_0x5c41f6(0x2a9),new _0x3bfc2e['BehaviorSubject'](new Map())),_0x5178b9(this,_0x5c41f6(0x3a9),this['_cursorInfo$'][_0x5c41f6(0x2de)]()),_0x5178b9(this,_0x5c41f6(0x32c),new _0x3bfc2e['BehaviorSubject']([])),_0x5178b9(this,'roomMembers$',this['_roomMembers$'][_0x5c41f6(0x388)](_0x3bfc2e[_0x5c41f6(0x2be)](_0x4880b4))),_0x5178b9(this,_0x5c41f6(0x22d),_0x5381a1[_0x5c41f6(0x340)]((_0x57551e,_0xb98e97)=>{const _0x33747b=_0x5c41f6,_0x539141={'eventID':_0x13a7ce[_0x33747b(0x1c8)][_0x33747b(0x26a)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x5e0fe2[_0x33747b(0x35a)](_0x57551e,_0xb98e97[_0x33747b(0x15e)])}};this[_0x33747b(0x3b7)][_0x33747b(0x1b1)](_0x539141,this[_0x33747b(0x2e5)]);},_0x418529)),(this[_0x5c41f6(0x2e5)]=_0x578bdd,this[_0x5c41f6(0x3b7)]=_0x57e100,this[_0x5c41f6(0x37b)]=_0xd04af4,this['_colorAssignService']=_0x3a24da,this[_0x5c41f6(0x2b1)]=_0xff0287,this[_0x5c41f6(0x173)]=_0x44f082,this[_0x5c41f6(0x1ae)]=_0x3245c9,this[_0x5c41f6(0x2df)]=_0x4e3b55);}get['cursorInfo'](){const _0xb62a6c=_0x18936a;return this[_0xb62a6c(0x2a9)]['getValue']();}get[_0x18936a(0x2a4)](){const _0x2ab4d3=_0x18936a;return this[_0x2ab4d3(0x32c)][_0x2ab4d3(0x3b5)]();}[_0x18936a(0x32f)](){const _0x388c60=_0x18936a;super[_0x388c60(0x32f)](),this[_0x388c60(0x2a9)][_0x388c60(0x1d8)](new Map()),this[_0x388c60(0x2a9)][_0x388c60(0x1e9)](),this['_roomMembers$'][_0x388c60(0x1d8)]([]),this[_0x388c60(0x32c)]['complete']();}[_0x18936a(0x185)](){const _0x757c=_0x18936a;this[_0x757c(0x1aa)]||(this[_0x757c(0x1aa)]=!0x0,this['_session'][_0x757c(0x1ff)][_0x757c(0x388)](_0x3bfc2e[_0x757c(0x34d)](this[_0x757c(0x274)]))[_0x757c(0x182)](_0x2d2907=>{const _0x1989eb=_0x757c;_0x2d2907===_0x158f6a[_0x1989eb(0x2f4)][_0x1989eb(0x358)]?this['_toggleOnline']():this[_0x1989eb(0x20c)]();}),this['_session'][_0x757c(0x1fb)][_0x757c(0x388)](_0x3bfc2e[_0x757c(0x34d)](this[_0x757c(0x274)]))['subscribe'](_0x2bf899=>{const _0x3b7a8a=_0x757c,_0x35b2c4=_0x2bf899['eventID'];_0x35b2c4===_0x13a7ce[_0x3b7a8a(0x1c8)][_0x3b7a8a(0x26a)]&&this[_0x3b7a8a(0x275)](_0x2bf899),_0x35b2c4===_0x13a7ce[_0x3b7a8a(0x1c8)][_0x3b7a8a(0x14b)]&&this[_0x3b7a8a(0x2e9)](_0x2bf899);}),this[_0x757c(0x163)](),this['disposeWithMe'](this['_commandService'][_0x757c(0x2fb)](_0x5187b6=>{const _0x57deae=_0x757c;if(this[_0x57deae(0x166)]&&_0x5187b6['id']===_0x35314c[_0x57deae(0x309)]['id']&&_0x5187b6[_0x57deae(0x1f7)][_0x57deae(0x262)]===this[_0x57deae(0x2e5)]){const _0x37fb63=_0x5187b6[_0x57deae(0x1f7)];this[_0x57deae(0x22d)](_0x37fb63[_0x57deae(0x2dd)],_0x37fb63[_0x57deae(0x287)][0x0]);}})));}['_onCursorUpdate'](_0x24f96c){const _0x473342=_0x18936a;var _0x596b2e,_0x182ab2;const {memberID:_0x573cbf,selection:_0xe41788}=_0x24f96c[_0x473342(0x1b4)],{sheetName:_0x40a5b2,range:_0x449e02}=_0x5e0fe2[_0x473342(0x1b8)](_0xe41788),_0x3f84d5={'name':(_0x182ab2=(_0x596b2e=this[_0x473342(0x2b1)][_0x473342(0x1c1)](this['unitID'],_0x573cbf))==null?void 0x0:_0x596b2e['name'])!=null?_0x182ab2:_0x473342(0x1cb),'range':this[_0x473342(0x393)](_0x40a5b2,_0x449e02),'sheetID':_0x40a5b2,'color':this[_0x473342(0x1ad)][_0x473342(0x260)](_0x573cbf),'selection':_0xe41788},_0xe2a924=this['cursorInfo'];_0xe2a924['set'](_0x573cbf,_0x3f84d5),this[_0x473342(0x2a9)]['next'](_0xe2a924);}['_onCursorDelete'](_0x4e71e8){const _0x2cac73=_0x18936a,{memberID:_0x111ab5}=_0x4e71e8[_0x2cac73(0x1b4)],_0x45ce9f=this[_0x2cac73(0x34c)];_0x45ce9f[_0x2cac73(0x25e)](_0x111ab5),this[_0x2cac73(0x2a9)]['next'](_0x45ce9f);}[_0x18936a(0x393)](_0x18c7b8,_0x3fb0a1){const _0x415806=_0x18936a;var _0x4e1aa6,_0x67c799;const _0x1c54b0=(_0x67c799=(_0x4e1aa6=this['_univerInstanceService'][_0x415806(0x270)](this[_0x415806(0x2e5)]))==null?void 0x0:_0x4e1aa6[_0x415806(0x19f)](_0x18c7b8))==null?void 0x0:_0x67c799['getMergeData']();return(_0x1c54b0==null?void 0x0:_0x1c54b0[_0x415806(0x267)](_0x150738=>_0x5381a1['Rectangle'][_0x415806(0x38f)](_0x150738,_0x3fb0a1)))||_0x3fb0a1;}[_0x18936a(0x163)](){const _0x2e3104=_0x18936a,_0x5777c4=new _0x5381a1[(_0x2e3104(0x252))](),_0x264b59=_0x2bfde9(),_0x2ba65d=()=>{_0x5777c4['dispose']();const _0x151bb4=(_0x4b3ce8,_0x5c1701,_0x567212,_0x542b1a)=>{const _0x423ee4=_0x3c84;let _0xe7f0f2=[];switch(_0x4b3ce8['id']){case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x347)]:{_0xe7f0f2=_0x35314c['handleDeleteRangeMoveLeft'](_0x4b3ce8,_0x542b1a);break;}case _0x35314c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xe7f0f2=_0x35314c[_0x423ee4(0x24e)](_0x4b3ce8,_0x542b1a);break;}case _0x35314c['EffectRefRangId'][_0x423ee4(0x1a2)]:{_0xe7f0f2=_0x35314c['handleInsertCol'](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x314)]:{_0xe7f0f2=_0x35314c['handleInsertRangeMoveDown'](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x129)]:{_0xe7f0f2=_0x35314c[_0x423ee4(0x39d)](_0x4b3ce8,_0x542b1a);break;}case _0x35314c['EffectRefRangId'][_0x423ee4(0x1e7)]:{_0xe7f0f2=_0x35314c[_0x423ee4(0x278)](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)]['MoveRangeCommandId']:{_0xe7f0f2=_0x35314c['handleMoveRange'](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x253)]:{_0xe7f0f2=_0x35314c[_0x423ee4(0x1de)](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x248)]:{_0xe7f0f2=_0x35314c[_0x423ee4(0x33e)](_0x4b3ce8,_0x542b1a);break;}}const _0x1e0196=_0x35314c[_0x423ee4(0x197)](_0xe7f0f2,_0x542b1a),_0x214567=this[_0x423ee4(0x34c)]['get'](_0x5c1701);if(_0x214567&&_0x1e0196){const _0x41b8c7={..._0x214567,'range':_0x1e0196};this[_0x423ee4(0x34c)][_0x423ee4(0x2c6)](_0x5c1701,_0x41b8c7),_0x264b59(()=>{const _0x5f3e70=_0x423ee4,_0x114cdb=this[_0x5f3e70(0x2df)][_0x5f3e70(0x14c)](_0x1e0196,_0xc49bef=>(_0x114cdb[_0x5f3e70(0x32f)](),_0x151bb4(_0xc49bef,_0x5c1701,_0x567212,_0x1e0196)));_0x5777c4[_0x5f3e70(0x376)](_0x114cdb);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x2368c5,_0x83ac1)=>{const _0x230699=_0x3c84,{range:_0x59519e,sheetID:_0x9929b}=_0x2368c5,_0x53df0e=this[_0x230699(0x2df)]['registerRefRange'](_0x59519e,_0x438659=>(_0x53df0e[_0x230699(0x32f)](),_0x151bb4(_0x438659,_0x83ac1,_0x9929b,_0x59519e)));_0x5777c4['add'](_0x53df0e);});};this[_0x2e3104(0x1d6)](_0x5381a1[_0x2e3104(0x3a3)](this[_0x2e3104(0x2a9)][_0x2e3104(0x182)](()=>{_0x2ba65d();})));}[_0x18936a(0x399)](){const _0x11f591=_0x18936a;var _0x7302f0,_0x163c9c;if(this[_0x11f591(0x166)]=!0x0,((_0x7302f0=this[_0x11f591(0x173)][_0x11f591(0x353)]())==null?void 0x0:_0x7302f0[_0x11f591(0x2a3)]())!==this[_0x11f591(0x2e5)])return;const _0x3bde3a=(_0x163c9c=this[_0x11f591(0x37b)]['get'](_0x35314c[_0x11f591(0x2b9)])[_0x11f591(0x1cc)]())==null?void 0x0:_0x163c9c[0x0],_0x56a0c2=this[_0x11f591(0x173)][_0x11f591(0x1ef)](_0x5381a1['UniverInstanceType'][_0x11f591(0x29f)])[_0x11f591(0x132)]();_0x3bde3a&&_0x56a0c2&&this['_updateLocalCursor'](_0x56a0c2['getSheetId'](),_0x3bde3a);}['_toggleOffline'](){const _0x1dab74=_0x18936a;this[_0x1dab74(0x166)]=!0x1;}};_0x41148b=_0x109bda([_0x291a8a(0x2,_0x5381a1['Inject'](_0x5381a1[_0x18936a(0x35d)])),_0x291a8a(0x3,_0x5381a1[_0x18936a(0x13f)](_0x703bf0)),_0x291a8a(0x4,_0x5381a1['Inject'](_0x158f6a[_0x18936a(0x374)])),_0x291a8a(0x5,_0x5381a1['IUniverInstanceService']),_0x291a8a(0x6,_0x5381a1[_0x18936a(0x3a8)]),_0x291a8a(0x7,_0x5381a1[_0x18936a(0x13f)](_0x35314c[_0x18936a(0x1ea)]))],_0x41148b);var _0x11c4d1=Object['getOwnPropertyDescriptor'],_0x393438=(_0x5e89f5,_0x2fddc9,_0x5bfd08,_0x2bcf85)=>{const _0x270ade=_0x18936a;for(var _0xe1edca=_0x2bcf85>0x1?void 0x0:_0x2bcf85?_0x11c4d1(_0x2fddc9,_0x5bfd08):_0x2fddc9,_0x5c9cfe=_0x5e89f5[_0x270ade(0x26f)]-0x1,_0x1d1b58;_0x5c9cfe>=0x0;_0x5c9cfe--)(_0x1d1b58=_0x5e89f5[_0x5c9cfe])&&(_0xe1edca=_0x1d1b58(_0xe1edca)||_0xe1edca);return _0xe1edca;},_0x28f1f7=(_0x479609,_0x1764d7)=>(_0x2af212,_0x203bea)=>_0x1764d7(_0x2af212,_0x203bea,_0x479609);let _0xf8b381=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x32fc1a,_0x2a11ed,_0x44ea55){const _0x24e7fa=_0x18936a;super(),_0x5178b9(this,_0x24e7fa(0x3b2),new Map()),_0x5178b9(this,'_entityInit$',new _0x3bfc2e[(_0x24e7fa(0x302))]()),(this[_0x24e7fa(0x173)]=_0x32fc1a,this[_0x24e7fa(0x37b)]=_0x2a11ed,this[_0x24e7fa(0x1c6)]=_0x44ea55,this[_0x24e7fa(0x1aa)]());}['dispose'](){const _0x1c1386=_0x18936a;super[_0x1c1386(0x32f)](),this[_0x1c1386(0x15f)]['complete'](),this[_0x1c1386(0x3b2)][_0x1c1386(0x38d)](_0x49aa3e=>_0x49aa3e[_0x1c1386(0x32f)]());}[_0x18936a(0x33a)](_0x1e754d){const _0x459a7b=_0x18936a;return this['_entities']['has'](_0x1e754d)?this['_entities'][_0x459a7b(0x333)](_0x1e754d)[_0x459a7b(0x3a9)]:this['_entityInit$'][_0x459a7b(0x388)](_0x3bfc2e[_0x459a7b(0x37d)](_0x19df8b=>_0x19df8b[_0x459a7b(0x2e5)]===_0x1e754d),_0x3bfc2e['switchMap'](_0x1c3a1d=>_0x1c3a1d[_0x459a7b(0x3a9)]));}[_0x18936a(0x1aa)](){const _0x3d4459=_0x18936a;this[_0x3d4459(0x173)][_0x3d4459(0x375)](_0x5381a1[_0x3d4459(0x259)]['UNIVER_SHEET'])[_0x3d4459(0x388)](_0x3bfc2e[_0x3d4459(0x34d)](this[_0x3d4459(0x274)]))['subscribe'](async _0x2a3114=>{const _0x3c2906=_0x3d4459,_0x11365e=_0x2a3114[_0x3c2906(0x2a3)](),_0x2e6673=await this['_startSheetCollabCursor'](_0x11365e);this[_0x3c2906(0x15f)][_0x3c2906(0x1d8)](_0x2e6673),this[_0x3c2906(0x3b2)][_0x3c2906(0x2c6)](_0x11365e,_0x2e6673);}),this[_0x3d4459(0x173)]['getTypeOfUnitAdded$'](_0x5381a1[_0x3d4459(0x259)][_0x3d4459(0x27f)])['pipe'](_0x3bfc2e[_0x3d4459(0x34d)](this['dispose$']))[_0x3d4459(0x388)](_0x3bfc2e[_0x3d4459(0x37d)](_0x2674aa=>!_0x2674aa[_0x3d4459(0x2a3)]()[_0x3d4459(0x155)]('__')))[_0x3d4459(0x182)](async _0x2d5998=>{const _0x593f15=_0x3d4459,_0x5f3d7b=_0x2d5998[_0x593f15(0x2a3)](),_0x4cd961=await this[_0x593f15(0x2db)](_0x5f3d7b);this['_entityInit$']['next'](_0x4cd961),this[_0x593f15(0x3b2)][_0x593f15(0x2c6)](_0x5f3d7b,_0x4cd961);}),_0x3bfc2e['merge'](this[_0x3d4459(0x173)][_0x3d4459(0x397)](_0x5381a1[_0x3d4459(0x259)][_0x3d4459(0x27f)]),this[_0x3d4459(0x173)][_0x3d4459(0x397)](_0x5381a1[_0x3d4459(0x259)][_0x3d4459(0x29f)]))[_0x3d4459(0x388)](_0x3bfc2e[_0x3d4459(0x34d)](this[_0x3d4459(0x274)]))['subscribe'](_0x17aaa6=>{const _0x3a0640=_0x3d4459,_0x5f500f=_0x17aaa6[_0x3a0640(0x2a3)](),_0x50ce20=this[_0x3a0640(0x3b2)]['get'](_0x5f500f);_0x50ce20&&(_0x50ce20[_0x3a0640(0x32f)](),this[_0x3a0640(0x3b2)][_0x3a0640(0x25e)](_0x5f500f));});}async[_0x18936a(0x1dd)](_0x39e9ec){const _0x2ac91c=_0x18936a,_0xfc3984=await this[_0x2ac91c(0x1c6)]['requireSession'](_0x39e9ec),_0x4dc555=this[_0x2ac91c(0x37b)]['createInstance'](_0x41148b,_0x39e9ec,_0xfc3984);return _0x4dc555['init'](),_0x4dc555;}async['_startDocCollabCursor'](_0x31a109){const _0x2f8968=_0x18936a,_0x536e88=await this[_0x2f8968(0x1c6)]['requireSession'](_0x31a109),_0x27dbaa=this[_0x2f8968(0x37b)][_0x2f8968(0x382)](_0x2fa602,_0x31a109,_0x536e88);return _0x27dbaa[_0x2f8968(0x185)](),_0x27dbaa;}};_0xf8b381=_0x393438([_0x28f1f7(0x0,_0x5381a1[_0x18936a(0x168)]),_0x28f1f7(0x1,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x35d)])),_0x28f1f7(0x2,_0x5381a1['Inject'](_0x158f6a[_0x18936a(0x308)]))],_0xf8b381);const _0x52cc07=0x14,_0x5b9c45=0xc8,_0x163a1a=0x4,_0x3152de=0x5;function _0x209711(_0x30eaf6,_0x51191b){const _0x6c7981=_0x18936a;let {radius:_0x54b2cd,width:_0x134f8e,height:_0x102b06}=_0x51191b;_0x54b2cd=_0x54b2cd!=null?_0x54b2cd:0x0,_0x134f8e=_0x134f8e!=null?_0x134f8e:0x1e,_0x102b06=_0x102b06!=null?_0x102b06:0x1e;let _0x248618=0x0,_0x2e6b8d=0x0,_0x2ef8fe=0x0;_0x248618=_0x2e6b8d=_0x2ef8fe=Math['min'](_0x54b2cd,_0x134f8e/0x2,_0x102b06/0x2),_0x30eaf6[_0x6c7981(0x156)](),_0x30eaf6[_0x6c7981(0x292)](_0x248618,0x0),_0x30eaf6['lineTo'](_0x134f8e-_0x2e6b8d,0x0),_0x30eaf6['arc'](_0x134f8e-_0x2e6b8d,_0x2e6b8d,_0x2e6b8d,Math['PI']*0x3/0x2,0x0,!0x1),_0x30eaf6[_0x6c7981(0x226)](_0x134f8e,_0x102b06-_0x2ef8fe),_0x30eaf6[_0x6c7981(0x317)](_0x134f8e-_0x2ef8fe,_0x102b06-_0x2ef8fe,_0x2ef8fe,0x0,Math['PI']/0x2,!0x1),_0x30eaf6['lineTo'](0x0,_0x102b06),_0x30eaf6[_0x6c7981(0x226)](0x0,_0x248618),_0x30eaf6[_0x6c7981(0x317)](_0x248618,_0x248618,_0x248618,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30eaf6[_0x6c7981(0x2ce)](),_0x51191b[_0x6c7981(0x22f)]&&(_0x30eaf6[_0x6c7981(0x2d9)](),_0x30eaf6['fillStyle']=_0x51191b[_0x6c7981(0x22f)],_0x51191b[_0x6c7981(0x2e6)]===_0x6c7981(0x26c)?_0x30eaf6['fill']('evenodd'):_0x30eaf6[_0x6c7981(0x22f)](),_0x30eaf6[_0x6c7981(0x232)]());}class _0x3a0e43 extends _0x425989[_0x18936a(0x1b0)]{constructor(_0x3bd3a5,_0x25874c){const _0x137d21=_0x18936a;super(_0x3bd3a5,_0x25874c),_0x5178b9(this,_0x137d21(0x20e)),_0x5178b9(this,'text'),(this[_0x137d21(0x20e)]=_0x25874c==null?void 0x0:_0x25874c[_0x137d21(0x20e)],this['text']=_0x25874c==null?void 0x0:_0x25874c[_0x137d21(0x3af)]);}static[_0x18936a(0x3be)](_0x1df766,_0x21d588){const _0x3e5ec8=_0x18936a,{text:_0x119a5b,color:_0x15e95e}=_0x21d588;_0x1df766[_0x3e5ec8(0x2d9)](),_0x1df766[_0x3e5ec8(0x2ee)]=_0x3e5ec8(0x22a);const _0x3a7aa2=_0x1df766['measureText'](_0x119a5b)['width'],_0x2399a3=Math[_0x3e5ec8(0x378)](_0x3a7aa2+0x2*_0x163a1a,_0x5b9c45);_0x209711(_0x1df766,{'height':_0x52cc07,'radius':0x4,'width':_0x2399a3,'fill':_0x15e95e}),_0x1df766[_0x3e5ec8(0x22e)]=_0x3e5ec8(0x20b);const _0x1907aa=_0x163a1a,_0x27f670=_0x52cc07-_0x3152de,_0x4f51ae=_0x5b9c45-0x2*_0x163a1a;if(_0x3a7aa2>_0x4f51ae){let _0x8aa1fc='',_0x10ee51=0x0;for(const _0x33637e of _0x119a5b){const _0x518dbb=_0x1df766[_0x3e5ec8(0x31d)](_0x33637e)['width'];if(_0x10ee51+_0x518dbb<=_0x4f51ae-_0x1df766[_0x3e5ec8(0x31d)]('...')[_0x3e5ec8(0x341)])_0x8aa1fc+=_0x33637e,_0x10ee51+=_0x518dbb;else{_0x8aa1fc+=_0x3e5ec8(0x1d4);break;}}_0x1df766[_0x3e5ec8(0x1b9)](_0x8aa1fc,_0x1907aa,_0x27f670);}else _0x1df766[_0x3e5ec8(0x1b9)](_0x119a5b,_0x1907aa,_0x27f670);_0x1df766['restore']();}['_draw'](_0x157769){const _0x54acf4=_0x18936a;_0x3a0e43[_0x54acf4(0x3be)](_0x157769,this);}}const _0x3a34dd=_0x18936a(0x204),_0x297a7a=_0x18936a(0x31e),_0x2b0816=_0x18936a(0x1d9),_0x374349=0x6,_0x50d0f9=1.5,_0x544af3=0x4,_0x27f634=1.5,_0x3bce60=_0x18936a(0x22c);class _0x10eaef{constructor(_0x277b0e,_0xf8a24a,_0x3b3343,_0x40e747){const _0x2343b5=_0x18936a;_0x5178b9(this,'_shapes',[]),_0x5178b9(this,_0x2343b5(0x2d4),null),_0x5178b9(this,_0x2343b5(0x33b),null),_0x5178b9(this,'_anchorDot',null),_0x5178b9(this,_0x2343b5(0x21f),null),_0x5178b9(this,_0x2343b5(0x13d),null),(this[_0x2343b5(0x1da)]=_0x277b0e,this[_0x2343b5(0x1c5)]=_0xf8a24a,this[_0x2343b5(0x2a1)]=_0x3b3343,this[_0x2343b5(0x19b)]=_0x40e747,this[_0x2343b5(0x36a)]());}set[_0x18936a(0x277)](_0x4942b0){const _0x1c5550=_0x18936a;_0x4942b0?(this[_0x1c5550(0x1dc)]&&this[_0x1c5550(0x1dc)][_0x1c5550(0x348)](),this[_0x1c5550(0x33b)]&&this[_0x1c5550(0x33b)][_0x1c5550(0x268)]()):(this[_0x1c5550(0x1dc)]&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0x1c5550(0x33b)][_0x1c5550(0x348)]());}['dispose'](){const _0xa89de0=_0x18936a;for(const _0x47f92f of this[_0xa89de0(0x1a7)])_0x47f92f[_0xa89de0(0x32f)]();this[_0xa89de0(0x33b)]&&this[_0xa89de0(0x33b)]['dispose'](),this[_0xa89de0(0x1dc)]&&this[_0xa89de0(0x1dc)][_0xa89de0(0x32f)](),this[_0xa89de0(0x2d4)]&&this[_0xa89de0(0x2d4)][_0xa89de0(0x32f)](),this[_0xa89de0(0x13d)]&&this[_0xa89de0(0x13d)]();}[_0x18936a(0x36a)](){const _0x5068dd=_0x18936a;var _0xd2d208;const {_docSkeleton:_0x5a5941,_document:_0x1ab581}=this,{color:_0x4357b3,name:_0x16dfa1,ranges:_0x859fe7}=this[_0x5068dd(0x1da)],_0x21f073=_0x1ab581[_0x5068dd(0x235)](),{docsLeft:_0x56ebd8,docsTop:_0x4c20e7}=_0x21f073,_0x4c64b9=new _0x12cdf9[(_0x5068dd(0x196))](_0x21f073,_0x5a5941);for(const {startOffset:_0x221f55,endOffset:_0x371dc7,rangeType:_0x23651c,segmentId:_0x2aa5e9,segmentPage:_0x1a87bf,collapsed:_0x5e2bf2,isActive:_0x2b2967}of _0x859fe7){const _0x41e386=_0x5a5941[_0x5068dd(0x1bf)](_0x221f55,!0x0,_0x2aa5e9,_0x1a87bf);let _0x45b5f4=_0x5a5941[_0x5068dd(0x1bf)](_0x371dc7,!0x0,_0x2aa5e9,_0x1a87bf);if(_0x45b5f4==null&&(_0x45b5f4=_0x5a5941[_0x5068dd(0x1bf)](_0x371dc7-0x1,!0x1,_0x2aa5e9,_0x1a87bf)),_0x2b2967){const {contentBoxPointGroup:_0x2aa77c}=_0x4c64b9[_0x5068dd(0x27e)](_0x45b5f4,_0x45b5f4);if(_0x2aa77c['length']===0x0)continue;this['_drawAnchor'](_0x4357b3,_0x2aa77c,_0x56ebd8,_0x4c20e7,_0x16dfa1),this[_0x5068dd(0x13d)]=this[_0x5068dd(0x257)]();}if(_0x41e386&&_0x45b5f4){if(_0x23651c===_0x5381a1['DOC_RANGE_TYPE'][_0x5068dd(0x1e5)]){const _0x5d0132=new _0x12cdf9[(_0x5068dd(0x2c8))](_0x21f073,_0x5a5941),{pointGroup:_0x2dae12}=(_0xd2d208=_0x5d0132['getRangePointData'](_0x41e386,_0x45b5f4))!=null?_0xd2d208:{};if(_0x2dae12==null||_0x2dae12[_0x5068dd(0x26f)]===0x0)continue;this[_0x5068dd(0x239)](_0x4357b3,_0x2dae12,_0x56ebd8,_0x4c20e7);}else{if(!_0x5e2bf2){const {borderBoxPointGroup:_0x259a26}=_0x4c64b9['getRangePointData'](_0x41e386,_0x45b5f4);if(_0x259a26[_0x5068dd(0x26f)]===0x0)continue;this[_0x5068dd(0x223)](_0x4357b3,_0x259a26,_0x56ebd8,_0x4c20e7);}}}}}[_0x18936a(0x1c9)](_0x2e48ea,_0x3b340e,_0x2b2355,_0x28eafb,_0x51a2c8){const _0x2a1780=_0x18936a,_0x42b5a9=this['_getAnchorBounding'](_0x3b340e),{left:_0x1174b4,top:_0x96ebf1,height:_0x4e3254}=_0x42b5a9,_0x38df7b=this[_0x2a1780(0x231)](),_0x494cd8=_0x27f634/_0x38df7b,_0x8414ac=new _0x425989[(_0x2a1780(0x23e))](_0x3a34dd+_0x5381a1[_0x2a1780(0x39c)][_0x2a1780(0x246)](_0x374349),{'left':_0x1174b4+_0x2b2355-_0x494cd8,'top':_0x96ebf1+_0x28eafb,'height':_0x4e3254,'width':_0x50d0f9,'fill':_0x2e48ea||_0x425989[_0x2a1780(0x2e3)](_0x5381a1[_0x2a1780(0x398)][_0x2a1780(0x172)],0x0),'strokeWidth':_0x494cd8,'stroke':_0x3bce60,'evented':!0x0});this[_0x2a1780(0x2d4)]=_0x8414ac,this[_0x2a1780(0x1c5)]['addObject'](_0x8414ac,_0x12cdf9[_0x2a1780(0x24c)]);const _0x1f5c5a=new _0x425989['Rect'](_0x3a34dd+_0x5381a1['Tools'][_0x2a1780(0x246)](_0x374349),{'left':_0x1174b4+_0x2b2355-_0x494cd8,'top':_0x96ebf1+_0x28eafb-_0x544af3/0x2,'height':_0x544af3,'width':_0x544af3,'fill':_0x2e48ea||_0x425989[_0x2a1780(0x2e3)](_0x5381a1[_0x2a1780(0x398)][_0x2a1780(0x172)],0x0),'strokeWidth':0x0,'stroke':_0x2e48ea||_0x425989[_0x2a1780(0x2e3)](_0x5381a1[_0x2a1780(0x398)][_0x2a1780(0x172)],0x0),'evented':!0x1});this[_0x2a1780(0x1dc)]=_0x1f5c5a,this[_0x2a1780(0x1c5)][_0x2a1780(0x39b)](_0x1f5c5a,_0x12cdf9[_0x2a1780(0x24c)]);const _0x1a3ce6=new _0x3a0e43(_0x3a34dd+_0x5381a1['Tools'][_0x2a1780(0x246)](_0x374349),{'left':_0x1174b4+_0x2b2355-_0x494cd8,'top':_0x96ebf1+_0x28eafb-_0x52cc07,'text':_0x51a2c8,'color':_0x2e48ea});this[_0x2a1780(0x33b)]=_0x1a3ce6,this[_0x2a1780(0x1c5)][_0x2a1780(0x39b)](_0x1a3ce6,_0x12cdf9[_0x2a1780(0x24c)]),this[_0x2a1780(0x277)]=!0x1;}['_handleHover'](){const _0x3cbf44=_0x18936a,_0x16bc6d=this[_0x3cbf44(0x2d4)][_0x3cbf44(0x39e)]['subscribeEvent'](()=>{const _0x2fb0db=_0x3cbf44;this[_0x2fb0db(0x277)]=!0x0;}),_0x4cdb8b=this[_0x3cbf44(0x2d4)][_0x3cbf44(0x12d)]['subscribeEvent'](()=>{const _0x2f138e=_0x3cbf44;this[_0x2f138e(0x21f)]&&clearTimeout(this[_0x2f138e(0x21f)]),this[_0x2f138e(0x21f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x49a8a3=_0x3cbf44;_0x16bc6d[_0x49a8a3(0x342)](),_0x4cdb8b[_0x49a8a3(0x342)]();};}[_0x18936a(0x223)](_0x243ffe,_0x50cc9f,_0x37cc92,_0x4a495f){const _0x5de17e=_0x18936a,_0x14c979=new _0x5381a1[(_0x5de17e(0x300))](_0x243ffe)['setAlpha'](0.2)['toRgbString'](),_0x2f092e=new _0x425989[(_0x5de17e(0x13e))](_0x297a7a+_0x5381a1[_0x5de17e(0x39c)]['generateRandomId'](_0x374349),{'pointsGroup':_0x50cc9f,'fill':_0x14c979||_0x425989[_0x5de17e(0x2e3)](_0x5381a1[_0x5de17e(0x398)][_0x5de17e(0x172)],0.2),'left':_0x37cc92,'top':_0x4a495f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5de17e(0x1a7)][_0x5de17e(0x28b)](_0x2f092e),this[_0x5de17e(0x1c5)][_0x5de17e(0x39b)](_0x2f092e,_0x12cdf9[_0x5de17e(0x24c)]);}['_drawRectRange'](_0x410f02,_0x33d8c5,_0x58d8c7,_0x241be6){const _0x30782a=_0x18936a,_0xfa7ca9=new _0x5381a1[(_0x30782a(0x300))](_0x410f02)['setAlpha'](0.2)['toRgbString'](),_0x14d5fc=new _0x425989[(_0x30782a(0x13e))](_0x2b0816+_0x5381a1[_0x30782a(0x39c)][_0x30782a(0x246)](_0x374349),{'pointsGroup':_0x33d8c5,'fill':_0xfa7ca9||_0x425989[_0x30782a(0x2e3)](_0x5381a1[_0x30782a(0x398)][_0x30782a(0x172)],0.2),'left':_0x58d8c7,'top':_0x241be6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x14d5fc),this[_0x30782a(0x1c5)][_0x30782a(0x39b)](_0x14d5fc,_0x12cdf9[_0x30782a(0x24c)]);}[_0x18936a(0x3a4)](_0x595938){const _0x2a3235=_0x595938[0x0],_0x1f1bc3=_0x2a3235[0x0],_0x79aaac=_0x2a3235[0x2],{x:_0x5dd1dd,y:_0x1baeb1}=_0x1f1bc3,{x:_0x9ff4e8,y:_0x55bc65}=_0x79aaac;return{'left':_0x5dd1dd,'top':_0x1baeb1,'width':_0x9ff4e8-_0x5dd1dd,'height':_0x55bc65-_0x1baeb1};}[_0x18936a(0x231)](){const _0x1e3bec=_0x18936a,{scaleX:_0x1ccfe9,scaleY:_0x3bb39f}=this[_0x1e3bec(0x1c5)]['getAncestorScale']();return Math[_0x1e3bec(0x29b)](_0x1ccfe9,_0x3bb39f);}}var _0x195c4b=Object[_0x18936a(0x180)],_0x283205=(_0x11bad3,_0x18b7f5,_0x57baee,_0x1dae7a)=>{const _0x4224ce=_0x18936a;for(var _0x2930b3=_0x1dae7a>0x1?void 0x0:_0x1dae7a?_0x195c4b(_0x18b7f5,_0x57baee):_0x18b7f5,_0x58dd30=_0x11bad3[_0x4224ce(0x26f)]-0x1,_0x1e63e7;_0x58dd30>=0x0;_0x58dd30--)(_0x1e63e7=_0x11bad3[_0x58dd30])&&(_0x2930b3=_0x1e63e7(_0x2930b3)||_0x2930b3);return _0x2930b3;},_0x1b5e96=(_0x27c200,_0xabfad)=>(_0x44aec8,_0x50e48c)=>_0xabfad(_0x44aec8,_0x50e48c,_0x27c200);let _0x31fa14=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x3e5aa8,_0x1fa55c,_0x5b9aa1,_0x4dabcd,_0x331f4b){const _0x2fce67=_0x18936a;super(),_0x5178b9(this,_0x2fce67(0x318),[]),_0x5178b9(this,_0x2fce67(0x1ec),[]),(this['_context']=_0x3e5aa8,this[_0x2fce67(0x2f5)]=_0x1fa55c,this[_0x2fce67(0x2b7)]=_0x5b9aa1,this[_0x2fce67(0x1ae)]=_0x4dabcd,this['_themeService']=_0x331f4b,this[_0x2fce67(0x1aa)]());}[_0x18936a(0x1aa)](){const _0x3a0ec4=_0x18936a,_0x5c61ec=this['_context'][_0x3a0ec4(0x262)],_0x34a99d=this[_0x3a0ec4(0x2f5)];this['disposeWithMe'](_0x3bfc2e[_0x3a0ec4(0x18f)]([this[_0x3a0ec4(0x2b7)][_0x3a0ec4(0x33a)](_0x5c61ec),this[_0x3a0ec4(0x191)][_0x3a0ec4(0x24a)]])['pipe'](_0x412ed1[_0x3a0ec4(0x233)](([_0x27ccd0,_0x4983f3])=>({'skeleton':_0x34a99d[_0x3a0ec4(0x2f6)](),'cursors':[..._0x27ccd0['values']()][_0x3a0ec4(0x33f)](_0x92deaf=>({..._0x92deaf,'color':this['_themeService'][_0x3a0ec4(0x27b)](_0x92deaf[_0x3a0ec4(0x20e)])}))})))['subscribe'](_0x10b676=>{const _0x1a0ea1=_0x3a0ec4;if(this[_0x1a0ea1(0x306)](),_0x10b676){const {skeleton:_0xb30335,cursors:_0x12a5c0}=_0x10b676;this[_0x1a0ea1(0x2cc)](_0xb30335,_0x12a5c0);}})),this['_initResize'](),this[_0x3a0ec4(0x2d1)]();}['_updateCollabCursors'](_0x274d1d,_0x22b98f){const _0x46f604=_0x18936a,{scene:_0x255ed9,mainComponent:_0x578148}=this[_0x46f604(0x380)],_0x23551c=_0x22b98f[_0x46f604(0x233)](_0x1d7ff6=>new _0x10eaef(_0x1d7ff6,_0x255ed9,_0x274d1d,_0x578148));this[_0x46f604(0x318)]=_0x23551c,this[_0x46f604(0x1ec)]=_0x22b98f;}['_refreshCollabCursors'](){const _0x59285a=_0x18936a;this[_0x59285a(0x306)]();const {scene:_0xb3250a,mainComponent:_0x784a48}=this['_context'],_0x4c35a9=this[_0x59285a(0x2f5)][_0x59285a(0x2f6)](),_0x584092=this[_0x59285a(0x1ec)]['map'](_0x299499=>new _0x10eaef(_0x299499,_0xb3250a,_0x4c35a9,_0x784a48));this['_cursorShapes']=_0x584092;}[_0x18936a(0x306)](){const _0x27458c=_0x18936a;this['_cursorShapes']['forEach'](_0xd0ef56=>_0xd0ef56['dispose']()),this[_0x27458c(0x318)]=[];}[_0x18936a(0x2d1)](){const _0x2933c4=_0x18936a,_0x52b07d=[_0x12cdf9[_0x2933c4(0x1f0)]['id']];this[_0x2933c4(0x1d6)](this[_0x2933c4(0x1ae)][_0x2933c4(0x2fb)](_0x4b53e7=>{const _0x4d2ac3=_0x2933c4;_0x52b07d[_0x4d2ac3(0x3b6)](_0x4b53e7['id'])&&_0x4b53e7[_0x4d2ac3(0x1f7)]['unitId']===this[_0x4d2ac3(0x380)]['unitId']&&this[_0x4d2ac3(0x313)]();}));}[_0x18936a(0x1ce)](){const _0x418626=_0x18936a;this[_0x418626(0x1d6)](_0x5381a1[_0x418626(0x1b6)](this[_0x418626(0x380)][_0x418626(0x295)][_0x418626(0x27c)])[_0x418626(0x388)](_0x412ed1['filter'](_0x449e0a=>_0x449e0a[_0x418626(0x227)]===_0x425989[_0x418626(0x230)][_0x418626(0x159)]),_0x412ed1['throttleTime'](0x10))['subscribe'](()=>{const _0x404668=_0x418626;this[_0x404668(0x313)]();}));}};_0x31fa14=_0x283205([_0x1b5e96(0x1,_0x5381a1[_0x18936a(0x13f)](_0x396d1c[_0x18936a(0x23f)])),_0x1b5e96(0x2,_0x5381a1[_0x18936a(0x13f)](_0xf8b381)),_0x1b5e96(0x3,_0x5381a1[_0x18936a(0x3a8)]),_0x1b5e96(0x4,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x16e)]))],_0x31fa14);const _0x23f988=0x1,_0x307a6a=1.5;class _0x5378fb extends _0x425989[_0x18936a(0x1b0)]{constructor(_0x4bc415,_0x2e22b8){const _0x3141c9=_0x18936a;super(_0x4bc415,_0x2e22b8),_0x5178b9(this,_0x3141c9(0x34f)),_0x5178b9(this,_0x3141c9(0x2bf),!0x1),_0x5178b9(this,'_range'),_0x5178b9(this,_0x3141c9(0x351),''),_0x5178b9(this,_0x3141c9(0x27a),'top'),_0x5178b9(this,_0x3141c9(0x365)),(_0x2e22b8&&this[_0x3141c9(0x192)](_0x2e22b8),this[_0x3141c9(0x39e)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3141c9(0x12d)][_0x3141c9(0x320)](()=>this[_0x3141c9(0x192)]({'hovered':!0x1})));}[_0x18936a(0x192)](_0x39b79d){const _0xb68c42=_0x18936a;var _0x3aa25e,_0x58ff1d,_0x5b97cb,_0x539e5e,_0xaf8f5b,_0x13a2aa;this['_color']=(_0x3aa25e=_0x39b79d[_0xb68c42(0x20e)])!=null?_0x3aa25e:this[_0xb68c42(0x34f)],this[_0xb68c42(0x2bf)]=(_0x58ff1d=_0x39b79d['hovered'])!=null?_0x58ff1d:this[_0xb68c42(0x2bf)],this[_0xb68c42(0x142)]=(_0x5b97cb=_0x39b79d[_0xb68c42(0x15e)])!=null?_0x5b97cb:this[_0xb68c42(0x142)],this[_0xb68c42(0x351)]=(_0x539e5e=_0x39b79d[_0xb68c42(0x154)])!=null?_0x539e5e:this['_name'],this[_0xb68c42(0x27a)]=(_0xaf8f5b=_0x39b79d['labelPosition'])!=null?_0xaf8f5b:this['_labelPosition'],this[_0xb68c42(0x365)]=(_0x13a2aa=_0x39b79d[_0xb68c42(0x2c5)])!=null?_0x13a2aa:this[_0xb68c42(0x365)],this['transformByState']({'width':_0x39b79d[_0xb68c42(0x341)],'height':_0x39b79d['height']});}[_0x18936a(0x305)](_0x29f8b1){const _0x5b58c5=_0x18936a,{row:_0x216d81,column:_0x13a185}=_0x29f8b1;if(_0x216d81>=this[_0x5b58c5(0x142)][_0x5b58c5(0x3ae)]&&_0x216d81<=this[_0x5b58c5(0x142)][_0x5b58c5(0x14e)]&&_0x13a185>=this[_0x5b58c5(0x142)]['startColumn']&&_0x13a185<=this[_0x5b58c5(0x142)][_0x5b58c5(0x2c9)]){this[_0x5b58c5(0x192)]({'hovered':!0x0});return;}this[_0x5b58c5(0x192)]({'hovered':!0x1});}[_0x18936a(0x1ee)](_0x3de17e){return!0x1;}[_0x18936a(0x2cf)](_0x1f39bc){const _0x582139=_0x18936a;_0x425989['Rect'][_0x582139(0x3be)](_0x1f39bc,{'width':this[_0x582139(0x341)],'height':this[_0x582139(0x2b3)],'strokeWidth':_0x307a6a,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x582139(0x2bf)]&&(_0x1f39bc[_0x582139(0x2d9)](),_0x1f39bc[_0x582139(0x25f)](0x1,0x0,0x0,0x1,this['width'],this[_0x582139(0x27a)]===_0x582139(0x2af)?0x0:-0x14),_0x3a0e43[_0x582139(0x3be)](_0x1f39bc,{'text':this[_0x582139(0x351)],'color':this['_color']}),_0x1f39bc[_0x582139(0x232)]());}}var _0x45f076=Object['getOwnPropertyDescriptor'],_0x239105=(_0x4bb6c0,_0x51471e,_0x52364b,_0x46b833)=>{const _0x11accb=_0x18936a;for(var _0x401f71=_0x46b833>0x1?void 0x0:_0x46b833?_0x45f076(_0x51471e,_0x52364b):_0x51471e,_0x4cc8c6=_0x4bb6c0[_0x11accb(0x26f)]-0x1,_0x4b5bd4;_0x4cc8c6>=0x0;_0x4cc8c6--)(_0x4b5bd4=_0x4bb6c0[_0x4cc8c6])&&(_0x401f71=_0x4b5bd4(_0x401f71)||_0x401f71);return _0x401f71;},_0x2391e0=(_0x19d90f,_0x4f4e9a)=>(_0x3f1ccd,_0x18de33)=>_0x4f4e9a(_0x3f1ccd,_0x18de33,_0x19d90f);const _0x2dee77=0x1389;let _0x4f49ad=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x5996da,_0x3a9403,_0x494a5f,_0x172511){const _0x11aa72=_0x18936a;super(),_0x5178b9(this,_0x11aa72(0x1ec),new Set()),_0x5178b9(this,'_lastPointer',null),(this[_0x11aa72(0x380)]=_0x5996da,this['_sheetSkeletonManagerService']=_0x3a9403,this[_0x11aa72(0x2b7)]=_0x494a5f,this[_0x11aa72(0x191)]=_0x172511,this['_init']());}[_0x18936a(0x1aa)](){const _0x488c0c=_0x18936a;this[_0x488c0c(0x2bd)][_0x488c0c(0x3b4)][_0x488c0c(0x388)](_0x412ed1['takeUntil'](this['dispose$']),_0x412ed1[_0x488c0c(0x338)](_0x4824a3=>{const _0x5e902f=_0x488c0c;if(_0x4824a3){const _0x1dc40f=_0x4824a3[_0x5e902f(0x3a1)];return _0x3bfc2e[_0x5e902f(0x18f)](this[_0x5e902f(0x2b7)]['getCollabCursors$'](this[_0x5e902f(0x380)][_0x5e902f(0x262)]),this[_0x5e902f(0x191)]['currentTheme$'])[_0x5e902f(0x388)](_0x412ed1[_0x5e902f(0x233)](([_0x4f2800,_0x5db2ff])=>{const _0x3c6cff=_0x5e902f,_0x5de2a7=new Map();return _0x4f2800[_0x3c6cff(0x38d)]((_0x1f2a66,_0x14d239)=>{const _0x56d776=_0x3c6cff;if(_0x1f2a66[_0x56d776(0x345)]===_0x1dc40f){const _0x472f4a={..._0x1f2a66};_0x472f4a[_0x56d776(0x20e)]=this[_0x56d776(0x191)]['getColorFromTheme'](_0x1f2a66['color']),_0x5de2a7['set'](_0x14d239,_0x472f4a);}}),{'skeleton':_0x4824a3,'cursors':_0x5de2a7};}));}return _0x3bfc2e['of']({'skeleton':null,'cursors':new Map()});}))[_0x488c0c(0x182)](({skeleton:_0x2f01d3,cursors:_0x599120})=>{const _0x543255=_0x488c0c;this[_0x543255(0x306)](),_0x2f01d3&&this[_0x543255(0x2cc)](_0x2f01d3,_0x599120);}),this[_0x488c0c(0x2bd)][_0x488c0c(0x3b4)]['subscribe'](_0x28dd0d=>{const _0x120035=_0x488c0c;if(_0x28dd0d==null)return;const {skeleton:_0x3cfee3}=_0x28dd0d,{scene:_0x4606ac}=this[_0x120035(0x380)];_0x4606ac[_0x120035(0x1fd)]['subscribeEvent'](_0x5381a1[_0x120035(0x340)](_0x4b5594=>{const _0x212d39=_0x120035;var _0x5abf1c,_0x3fed50;const {offsetX:_0x629636,offsetY:_0x188841}=_0x4b5594,{x:_0x47c945,y:_0x1d029e}=_0x4606ac[_0x212d39(0x37e)](_0x425989[_0x212d39(0x359)][_0x212d39(0x349)]([_0x629636,_0x188841])),{scaleX:_0x3dd8cb,scaleY:_0x3098a7}=_0x4606ac['getAncestorScale'](),_0x41de7d=_0x4606ac[_0x212d39(0x332)](_0x425989['SHEET_VIEWPORT_KEY'][_0x212d39(0x31a)]),_0x24f8e4=_0x4606ac[_0x212d39(0x3c1)](_0x425989[_0x212d39(0x359)][_0x212d39(0x349)]([_0x47c945,_0x1d029e]),_0x41de7d),_0x1dc98d=_0x3cfee3['getCellPositionByOffset'](_0x629636,_0x188841,_0x3dd8cb,_0x3098a7,_0x24f8e4);((_0x5abf1c=this['_lastPointer'])==null?void 0x0:_0x5abf1c[_0x212d39(0x12f)])===_0x1dc98d['column']&&((_0x3fed50=this[_0x212d39(0x2fe)])==null?void 0x0:_0x3fed50[_0x212d39(0x1d7)])===_0x1dc98d[_0x212d39(0x1d7)]||this[_0x212d39(0x1ec)][_0x212d39(0x38d)](_0x209a15=>{const _0x568acf=_0x212d39;_0x209a15[_0x568acf(0x305)](_0x1dc98d);});},0x64));});}[_0x18936a(0x2cc)](_0x1053ae,_0x42020f){const _0x3fffc1=_0x18936a;var _0x373ea8;const _0x5cf891=(_0x373ea8=this['_sheetSkeletonManagerService'][_0x3fffc1(0x386)]())==null?void 0x0:_0x373ea8[_0x3fffc1(0x346)];if(!_0x5cf891)return;const _0x143804=this[_0x3fffc1(0x250)]();if(!_0x143804)return;this[_0x3fffc1(0x1ec)][_0x3fffc1(0x38d)](_0x1b8452=>{const _0x38a052=_0x3fffc1;_0x1b8452[_0x38a052(0x206)]();});const {scene:_0x28b73c}=_0x143804,_0x5791d3=_0x4a7db8(Array[_0x3fffc1(0x152)](_0x42020f[_0x3fffc1(0x369)]()))[_0x3fffc1(0x233)](_0x46efde=>{const _0x108e5f=_0x3fffc1,{color:_0x5f2a40,range:_0x534820,name:_0x33284d,selection:_0x54e7c1,sheetID:_0x9f6e3b}=_0x46efde,{startColumn:_0x442e73,startRow:_0x14749b,endColumn:_0x526566,endRow:_0x14503e}=_0x534820,_0x305ce1=_0x478542[_0x108e5f(0x1ed)](_0x14749b,_0x442e73,_0x28b73c,_0x5cf891),_0x327ac7=_0x478542[_0x108e5f(0x1ed)](_0x14503e,_0x526566,_0x28b73c,_0x5cf891),{columnHeaderHeightAndMarginTop:_0xbb1348}=_0x5cf891,{startX:_0x3963d2,startY:_0x45cf8d}=_0x305ce1,{endX:_0x42080e,endY:_0x266c85}=_0x327ac7,_0x23c928=_0x42080e-_0x3963d2,_0x46beec=_0x266c85-_0x45cf8d,_0xa44f8a={'labelPosition':_0x45cf8d-_0xbb1348>=_0x52cc07?_0x108e5f(0x2eb):_0x108e5f(0x2af),'sheetID':_0x9f6e3b,'range':_0x534820,'color':_0x5f2a40,'name':_0x33284d,'selection':_0x54e7c1,'left':_0x3963d2,'top':_0x45cf8d,'width':_0x23c928,'height':_0x46beec,'evented':!0x1,'zIndex':_0x2dee77};return new _0x5378fb(_0x33284d,_0xa44f8a);});_0x28b73c[_0x3fffc1(0x2c2)](_0x5791d3,_0x23f988),this[_0x3fffc1(0x1ec)]=new Set(_0x5791d3);}['_removeCollabCursors'](){const _0x652acc=_0x18936a;var _0x54036d;(_0x54036d=this[_0x652acc(0x1ec)])==null||_0x54036d[_0x652acc(0x38d)](_0x339869=>_0x339869[_0x652acc(0x32f)]());}[_0x18936a(0x250)](){const _0x5c1f3d=_0x18936a;return _0x478542[_0x5c1f3d(0x27d)](this[_0x5c1f3d(0x380)][_0x5c1f3d(0x193)],this[_0x5c1f3d(0x380)]);}};_0x4f49ad=_0x239105([_0x2391e0(0x1,_0x5381a1[_0x18936a(0x13f)](_0x478542[_0x18936a(0x2bb)])),_0x2391e0(0x2,_0x5381a1[_0x18936a(0x13f)](_0xf8b381)),_0x2391e0(0x3,_0x5381a1['Inject'](_0x5381a1[_0x18936a(0x16e)]))],_0x4f49ad);function _0x4a7db8(_0x3b9893){const _0x27511b=_0x18936a,_0x406d8c=new Map();return _0x3b9893[_0x27511b(0x38d)](_0x4afe4f=>{const _0x466908=_0x27511b;if(_0x406d8c[_0x466908(0x16f)](_0x4afe4f[_0x466908(0x315)])){const _0x57f435=_0x406d8c['get'](_0x4afe4f[_0x466908(0x315)]);_0x57f435[_0x466908(0x154)]+=',\x20'+_0x4afe4f[_0x466908(0x154)];}else _0x406d8c[_0x466908(0x2c6)](_0x4afe4f[_0x466908(0x315)],_0x4afe4f);}),Array['from'](_0x406d8c[_0x27511b(0x369)]());}var _0x4618e2=function(){const _0x568d47=_0x18936a;return _0x4618e2=Object[_0x568d47(0x210)]||function(_0x5402f9){const _0x371f7e=_0x568d47;for(var _0x5b6b75,_0x348bc7=0x1,_0x10fc9c=arguments[_0x371f7e(0x26f)];_0x348bc7<_0x10fc9c;_0x348bc7++){_0x5b6b75=arguments[_0x348bc7];for(var _0x566f48 in _0x5b6b75)Object[_0x371f7e(0x228)]['hasOwnProperty'][_0x371f7e(0x1f9)](_0x5b6b75,_0x566f48)&&(_0x5402f9[_0x566f48]=_0x5b6b75[_0x566f48]);}return _0x5402f9;},_0x4618e2[_0x568d47(0x1a9)](this,arguments);},_0x3dafb2=function(_0x2ca094,_0x15ee13){const _0x218b5b=_0x18936a;var _0x2f8a58={};for(var _0x30eda2 in _0x2ca094)Object[_0x218b5b(0x228)][_0x218b5b(0x16c)]['call'](_0x2ca094,_0x30eda2)&&_0x15ee13[_0x218b5b(0x2e7)](_0x30eda2)<0x0&&(_0x2f8a58[_0x30eda2]=_0x2ca094[_0x30eda2]);if(_0x2ca094!=null&&typeof Object['getOwnPropertySymbols']==_0x218b5b(0x2cb)){for(var _0x2a7670=0x0,_0x30eda2=Object[_0x218b5b(0x222)](_0x2ca094);_0x2a7670<_0x30eda2[_0x218b5b(0x26f)];_0x2a7670++)_0x15ee13[_0x218b5b(0x2e7)](_0x30eda2[_0x2a7670])<0x0&&Object['prototype'][_0x218b5b(0x1b3)][_0x218b5b(0x1f9)](_0x2ca094,_0x30eda2[_0x2a7670])&&(_0x2f8a58[_0x30eda2[_0x2a7670]]=_0x2ca094[_0x30eda2[_0x2a7670]]);}return _0x2f8a58;},_0x31ba75=_0x585a14[_0x18936a(0x218)](function(_0x5ebf55,_0x24058a){const _0x1423be=_0x18936a;var _0x41c216=_0x5ebf55[_0x1423be(0x32e)],_0x5a7cfc=_0x5ebf55['id'],_0x40cc00=_0x5ebf55[_0x1423be(0x391)],_0x2db357=_0x5ebf55[_0x1423be(0x251)],_0x15cbb5=_0x3dafb2(_0x5ebf55,[_0x1423be(0x32e),'id',_0x1423be(0x391),'extend']),_0x3728bd='univerjs-icon\x20univerjs-icon-'[_0x1423be(0x299)](_0x5a7cfc,'\x20')[_0x1423be(0x299)](_0x40cc00||'')[_0x1423be(0x328)](),_0xd49ad8=_0x585a14[_0x1423be(0x188)]('_'[_0x1423be(0x299)](_0x37402c()));return _0x333324(_0x41c216,''['concat'](_0x5a7cfc),{'defIds':_0x41c216[_0x1423be(0x2ad)],'idSuffix':_0xd49ad8[_0x1423be(0x2d3)]},_0x4618e2({'ref':_0x24058a,'className':_0x3728bd},_0x15cbb5),_0x2db357);});function _0x333324(_0x316b1e,_0x41a974,_0x54569b,_0x41d5d4,_0x5654ec){const _0x510d82=_0x18936a;return _0x585a14[_0x510d82(0x280)](_0x316b1e[_0x510d82(0x34a)],_0x4618e2(_0x4618e2({'key':_0x41a974},_0x184b27(_0x316b1e,_0x54569b,_0x5654ec)),_0x41d5d4),(_0x152c6b(_0x316b1e,_0x54569b)['children']||[])[_0x510d82(0x233)](function(_0x5167e1,_0x4a401a){const _0x552757=_0x510d82;return _0x333324(_0x5167e1,''[_0x552757(0x299)](_0x41a974,'-')['concat'](_0x316b1e[_0x552757(0x34a)],'-')[_0x552757(0x299)](_0x4a401a),_0x54569b,void 0x0,_0x5654ec);}));}function _0x184b27(_0x4b1057,_0x4eb534,_0x214fe5){const _0x367fb4=_0x18936a;var _0x4bfe83=_0x4618e2({},_0x4b1057['attrs']);_0x214fe5!=null&&_0x214fe5[_0x367fb4(0x301)]&&_0x4bfe83[_0x367fb4(0x22f)]===_0x367fb4(0x301)&&(_0x4bfe83[_0x367fb4(0x22f)]=_0x214fe5[_0x367fb4(0x301)]),_0x4b1057[_0x367fb4(0x34a)]===_0x367fb4(0x285)&&_0x4bfe83['id']&&(_0x4bfe83['id']=_0x4bfe83['id']+_0x4eb534[_0x367fb4(0x144)]),Object[_0x367fb4(0x133)](_0x4bfe83)[_0x367fb4(0x38d)](function(_0x8cfc4b){const _0x1b5224=_0x367fb4;var _0x3e5658=_0x8cfc4b[0x0],_0xfccf26=_0x8cfc4b[0x1];_0x3e5658===_0x1b5224(0x285)&&typeof _0xfccf26=='string'&&(_0x4bfe83[_0x3e5658]=_0xfccf26[_0x1b5224(0x24d)](/url\(#(.*)\)/,_0x1b5224(0x19c)[_0x1b5224(0x299)](_0x4eb534[_0x1b5224(0x144)],')')));});var _0x1b8941=_0x4eb534[_0x367fb4(0x2ad)];return!_0x1b8941||_0x1b8941[_0x367fb4(0x26f)]===0x0||(_0x4b1057[_0x367fb4(0x34a)]==='use'&&_0x4bfe83[_0x367fb4(0x28e)]&&(_0x4bfe83[_0x367fb4(0x28e)]=_0x4bfe83[_0x367fb4(0x28e)]+_0x4eb534[_0x367fb4(0x144)]),Object[_0x367fb4(0x133)](_0x4bfe83)[_0x367fb4(0x38d)](function(_0x4c2708){const _0x2ccd4d=_0x367fb4;var _0x450d5e=_0x4c2708[0x0],_0x383ad2=_0x4c2708[0x1];typeof _0x383ad2=='string'&&(_0x4bfe83[_0x450d5e]=_0x383ad2['replace'](/url\(#(.*)\)/,_0x2ccd4d(0x19c)[_0x2ccd4d(0x299)](_0x4eb534['idSuffix'],')')));})),_0x4bfe83;}function _0x152c6b(_0x12e4ce,_0x2a7b4c){const _0x1ef170=_0x18936a;var _0x50cc58,_0x1b1b76=_0x2a7b4c[_0x1ef170(0x2ad)];return!_0x1b1b76||_0x1b1b76[_0x1ef170(0x26f)]===0x0?_0x12e4ce:_0x12e4ce[_0x1ef170(0x34a)]===_0x1ef170(0x1e0)&&(!((_0x50cc58=_0x12e4ce[_0x1ef170(0x164)])===null||_0x50cc58===void 0x0)&&_0x50cc58[_0x1ef170(0x26f)])?_0x4618e2(_0x4618e2({},_0x12e4ce),{'children':_0x12e4ce[_0x1ef170(0x164)][_0x1ef170(0x233)](function(_0x4edd3a){const _0xacaba3=_0x1ef170;return typeof _0x4edd3a[_0xacaba3(0x2fc)]['id']==_0xacaba3(0x33d)&&_0x1b1b76&&_0x1b1b76['includes'](_0x4edd3a[_0xacaba3(0x2fc)]['id'])?_0x4618e2(_0x4618e2({},_0x4edd3a),{'attrs':_0x4618e2(_0x4618e2({},_0x4edd3a['attrs']),{'id':_0x4edd3a['attrs']['id']+_0x2a7b4c[_0xacaba3(0x144)]})}):_0x4edd3a;})}):_0x12e4ce;}function _0x37402c(){const _0x1d717b=_0x18936a;return Math['random']()[_0x1d717b(0x35f)](0x24)[_0x1d717b(0x189)](0x2,0x8);}_0x31ba75['displayName']='UniverIcon';var _0x501129={'tag':_0x18936a(0x2a5),'attrs':{'xmlns':_0x18936a(0x208),'fill':_0x18936a(0x1e4),'viewBox':_0x18936a(0x288),'width':_0x18936a(0x3b9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x18936a(0x28a)},'children':[{'tag':_0x18936a(0x1d3),'attrs':{'stroke':_0x18936a(0x3b1),'d':_0x18936a(0x1d5),'strokeLinecap':_0x18936a(0x279),'strokeLinejoin':_0x18936a(0x279),'strokeWidth':1.2}}]},{'tag':_0x18936a(0x1e0),'attrs':{},'children':[{'tag':_0x18936a(0x2c3),'attrs':{'id':_0x18936a(0x286)},'children':[{'tag':_0x18936a(0x1d3),'attrs':{'fill':_0x18936a(0x26b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x18936a(0x286)]},_0x3cc597=_0x585a14[_0x18936a(0x218)](function(_0x3379f5,_0x5ab96b){const _0x538ee4=_0x18936a;return _0x585a14[_0x538ee4(0x280)](_0x31ba75,Object[_0x538ee4(0x210)]({},_0x3379f5,{'id':_0x538ee4(0x271),'ref':_0x5ab96b,'icon':_0x501129}));});_0x3cc597[_0x18936a(0x364)]=_0x18936a(0x176);var _0x2c02b0={'tag':_0x18936a(0x2a5),'attrs':{'xmlns':_0x18936a(0x208),'fill':_0x18936a(0x1e4),'viewBox':_0x18936a(0x36c),'width':_0x18936a(0x3b9),'height':_0x18936a(0x3b9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x18936a(0x1d3),'attrs':{'stroke':_0x18936a(0x3b1),'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':_0x18936a(0x279),'strokeLinejoin':_0x18936a(0x279),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x18936a(0x2c3),'attrs':{'id':_0x18936a(0x211)},'children':[{'tag':_0x18936a(0x1d3),'attrs':{'fill':'white','d':_0x18936a(0x162),'transform':_0x18936a(0x38a)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x167272=_0x585a14[_0x18936a(0x218)](function(_0x187f1d,_0x4e2995){const _0x30cd24=_0x18936a;return _0x585a14[_0x30cd24(0x280)](_0x31ba75,Object['assign']({},_0x187f1d,{'id':_0x30cd24(0x19d),'ref':_0x4e2995,'icon':_0x2c02b0}));});_0x167272[_0x18936a(0x364)]='OnLineIcon';function _0x5cf59a(_0x39eb0b){const _0x4501fb=_0x18936a;switch(_0x39eb0b){case _0x158f6a[_0x4501fb(0x177)][_0x4501fb(0x23c)]:return _0x4501fb(0x25a);case _0x158f6a['CollaborationStatus'][_0x4501fb(0x137)]:return'collabStatus.conflict';case _0x158f6a[_0x4501fb(0x177)][_0x4501fb(0x32d)]:return _0x4501fb(0x293);case _0x158f6a[_0x4501fb(0x177)][_0x4501fb(0x220)]:return _0x4501fb(0x150);case _0x158f6a['CollaborationStatus'][_0x4501fb(0x1d0)]:case _0x158f6a[_0x4501fb(0x177)][_0x4501fb(0x12b)]:return _0x4501fb(0x383);case _0x158f6a[_0x4501fb(0x177)]['SYNCED']:case _0x158f6a['CollaborationStatus'][_0x4501fb(0x30a)]:return'collabStatus.synced';}}function _0x4dbbdd(_0x727a50){const _0x17fa3a=_0x18936a,{status$:_0x12e462}=_0x727a50,_0x61490=_0x30a129[_0x17fa3a(0x217)](_0x12e462,_0x158f6a[_0x17fa3a(0x177)][_0x17fa3a(0x220)]),_0x24efad=_0x30a129[_0x17fa3a(0x35b)](_0x5381a1['LocaleService']),_0x3deb35=_0x30a129[_0x17fa3a(0x35b)](_0x158f6a['CollaborationSessionService']),_0x119d94=_0x61490!==_0x158f6a[_0x17fa3a(0x177)][_0x17fa3a(0x23c)],_0x2595bd=_0x24efad['t'](_0x5cf59a(_0x61490)),_0x4b429f=_0x119d94?_0x36f141[_0x17fa3a(0x29e)](_0x167272,{}):_0x36f141['jsx'](_0x3cc597,{}),_0x3bed25=_0x585a14[_0x17fa3a(0x33c)](()=>{const _0x291295=_0x17fa3a;_0x119d94||_0x3deb35[_0x291295(0x39f)]();},[_0x119d94,_0x3deb35]);function _0x239177(){const _0x4dbb39=_0x17fa3a;return _0x36f141[_0x4dbb39(0x2ec)]('div',{'className':_0x4dbb39(0x2da),'onClick':_0x3bed25,'children':[_0x36f141['jsx']('div',{'className':_0xeba7cf['clsx'](_0x4dbb39(0x2a2),{'univer-text-green-500':_0x119d94,'univer-text-red-500':!_0x119d94}),'children':_0x4b429f}),_0x36f141[_0x4dbb39(0x29e)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2595bd})]});}return _0x119d94?_0x239177():_0x36f141['jsx'](_0xeba7cf[_0x17fa3a(0x234)],{'title':_0x24efad['t']('collab-client.tooltip.reconnect'),'children':_0x239177()});}var _0x25ded1=Object[_0x18936a(0x180)],_0x3d8db3=(_0x4ba3d9,_0x55f49b,_0x3453d8,_0x55fdff)=>{const _0x5251de=_0x18936a;for(var _0x34b1ac=_0x55fdff>0x1?void 0x0:_0x55fdff?_0x25ded1(_0x55f49b,_0x3453d8):_0x55f49b,_0x40328a=_0x4ba3d9[_0x5251de(0x26f)]-0x1,_0x370898;_0x40328a>=0x0;_0x40328a--)(_0x370898=_0x4ba3d9[_0x40328a])&&(_0x34b1ac=_0x370898(_0x34b1ac)||_0x34b1ac);return _0x34b1ac;},_0x366749=(_0x9c466f,_0x4e1407)=>(_0xc4cd56,_0x5809b0)=>_0x4e1407(_0xc4cd56,_0x5809b0,_0x9c466f);_0x1a1600[_0x18936a(0x2d8)]=class extends _0x5381a1['Disposable']{constructor(_0xf5125c,_0x4b5049,_0x481eb9,_0xa3c2aa){const _0x5284ad=_0x18936a;super(),_0x5178b9(this,_0x5284ad(0x1e1),new _0x3bfc2e[(_0x5284ad(0x30d))](_0x158f6a[_0x5284ad(0x177)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0xf5125c,this[_0x5284ad(0x37b)]=_0x4b5049,this[_0x5284ad(0x370)]=_0x481eb9,this[_0x5284ad(0x179)]=_0xa3c2aa,this[_0x5284ad(0x146)](),this[_0x5284ad(0x147)]());}[_0x18936a(0x147)](){const _0x1ea514=_0x18936a;this[_0x1ea514(0x1d6)](this['_univerInstanceService'][_0x1ea514(0x170)]['pipe'](_0x3bfc2e['switchMap'](()=>{const _0x4a6fa8=_0x1ea514,_0x3b8c10=this[_0x4a6fa8(0x173)][_0x4a6fa8(0x353)]();return _0x3b8c10?this[_0x4a6fa8(0x370)][_0x4a6fa8(0x30f)](_0x3b8c10[_0x4a6fa8(0x2a3)]()):_0x3bfc2e['of'](null);}),_0x3bfc2e['switchMap'](_0x24d046=>_0x24d046?_0x24d046[_0x1ea514(0x304)]:_0x3bfc2e['of'](_0x158f6a['CollaborationStatus'][_0x1ea514(0x220)])))['subscribe'](_0x5b027d=>{const _0x12b5cf=_0x1ea514;this[_0x12b5cf(0x1e1)][_0x12b5cf(0x1d8)](_0x5b027d);}));}[_0x18936a(0x146)](){const _0x5c8bb4=_0x18936a;this['disposeWithMe'](this[_0x5c8bb4(0x179)]['registerComponent'](_0x30a129['BuiltInUIPart'][_0x5c8bb4(0x357)],()=>_0x30a129['connectInjector'](_0x82f52c({'status$':this[_0x5c8bb4(0x1e1)]['asObservable']()}),this[_0x5c8bb4(0x37b)])));}},_0x1a1600['DesktopCollaborationStatusDisplayController']=_0x3d8db3([_0x366749(0x0,_0x5381a1[_0x18936a(0x168)]),_0x366749(0x1,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x35d)])),_0x366749(0x2,_0x5381a1[_0x18936a(0x13f)](_0x158f6a[_0x18936a(0x198)])),_0x366749(0x3,_0x30a129[_0x18936a(0x24f)])],_0x1a1600[_0x18936a(0x2d8)]);function _0x82f52c(_0x5ec6c4){const {status$:_0x451b8c}=_0x5ec6c4;return function(){const _0x1f8207=_0x3c84;return _0x36f141[_0x1f8207(0x29e)](_0x4dbbdd,{'status$':_0x451b8c});};}var _0x311467=Object[_0x18936a(0x180)],_0x203f0b=(_0x328115,_0x33af5e,_0xa97720,_0x5f304e)=>{for(var _0x394086=_0x5f304e>0x1?void 0x0:_0x5f304e?_0x311467(_0x33af5e,_0xa97720):_0x33af5e,_0x17de77=_0x328115['length']-0x1,_0x1f8272;_0x17de77>=0x0;_0x17de77--)(_0x1f8272=_0x328115[_0x17de77])&&(_0x394086=_0x1f8272(_0x394086)||_0x394086);return _0x394086;},_0x236fe0=(_0x37d9c9,_0x23de1c)=>(_0x3ec244,_0x2b6a66)=>_0x23de1c(_0x3ec244,_0x2b6a66,_0x37d9c9);let _0x126fed=class extends _0x5381a1['Disposable']{constructor(_0x114033,_0x53133b,_0x1de6b3,_0x2cb9c6,_0x5a4650,_0x292234){const _0x3a1ca4=_0x18936a;super(),this[_0x3a1ca4(0x2fd)]=_0x114033,this['_localCacheService']=_0x53133b,this['_collaborationUIEventService']=_0x1de6b3,this['_messageService']=_0x2cb9c6,this[_0x3a1ca4(0x1ca)]=_0x5a4650,this[_0x3a1ca4(0x13b)]=_0x292234,this[_0x3a1ca4(0x244)](),this[_0x3a1ca4(0x37a)]();}[_0x18936a(0x244)](){const _0x759183=_0x18936a;this[_0x759183(0x1d6)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x26899e=_0x759183;if(this[_0x26899e(0x3ab)][_0x26899e(0x1df)][_0x26899e(0x272)])return this[_0x26899e(0x13b)]['t'](_0x26899e(0x256));}));}['_initEvent'](){const _0x2e6d03=_0x18936a;this[_0x2e6d03(0x1d6)](this[_0x2e6d03(0x385)]['event$']['subscribe'](_0xaafa36=>{const _0x46c47e=_0x2e6d03;_0xaafa36['id']===_0x158f6a['CollaborationUIEventId'][_0x46c47e(0x1ba)]&&this[_0x46c47e(0x350)][_0x46c47e(0x268)]({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x243)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x21e))}),_0xaafa36['id']===_0x158f6a[_0x46c47e(0x17f)][_0x46c47e(0x264)]&&this[_0x46c47e(0x350)][_0x46c47e(0x268)]({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x243)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x362))}),_0xaafa36['id']===_0x158f6a[_0x46c47e(0x17f)][_0x46c47e(0x296)]&&this['_notificationService'][_0x46c47e(0x268)]({'title':this[_0x46c47e(0x13b)]['t']('permission.title'),'content':this['_localeService']['t'](_0x46c47e(0x183)),'type':_0x46c47e(0x18c),'duration':0x0}),_0xaafa36['id']===_0x158f6a[_0x46c47e(0x17f)][_0x46c47e(0x137)]&&this[_0x46c47e(0x350)]['show']({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x186)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x362))+'('+_0xaafa36[_0x46c47e(0x1b4)]+')'}),_0xaafa36['id']===_0x158f6a['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x46c47e(0x350)]['show']({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x243)],'content':this[_0x46c47e(0x13b)]['t'](_0xaafa36[_0x46c47e(0x1b4)]||'')}),_0xaafa36['id']===_0x158f6a['CollaborationUIEventId'][_0x46c47e(0x1b5)]&&this[_0x46c47e(0x350)][_0x46c47e(0x268)]({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x243)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x298))}),_0xaafa36['id']===_0x158f6a[_0x46c47e(0x17f)][_0x46c47e(0x29c)]&&this['_messageService'][_0x46c47e(0x268)]({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x186)],'content':this[_0x46c47e(0x13b)]['t']('session.connection-failed')}),_0xaafa36['id']===_0x158f6a['CollaborationUIEventId'][_0x46c47e(0x327)]&&this[_0x46c47e(0x350)][_0x46c47e(0x268)]({'type':_0xeba7cf['MessageType'][_0x46c47e(0x186)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x1bb))});}));}};_0x126fed=_0x203f0b([_0x236fe0(0x0,_0x30a129['IBeforeCloseService']),_0x236fe0(0x1,_0x158f6a[_0x18936a(0x3bf)]),_0x236fe0(0x2,_0x5381a1[_0x18936a(0x13f)](_0x158f6a['CollaborationUIEventService'])),_0x236fe0(0x3,_0x30a129[_0x18936a(0x24b)]),_0x236fe0(0x4,_0x30a129[_0x18936a(0x1b2)]),_0x236fe0(0x5,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x178)]))],_0x126fed);const _0xd18fdb=_0x18936a(0x1e2),_0x23f080={},_0x15134c=_0x5381a1['createIdentifier'](_0x18936a(0x1a8));var _0xb0f343=Object['getOwnPropertyDescriptor'],_0xe52b04=(_0x172a12,_0x4b3b13,_0x3ad8ee,_0x1a5986)=>{const _0x1e74d5=_0x18936a;for(var _0x2044ab=_0x1a5986>0x1?void 0x0:_0x1a5986?_0xb0f343(_0x4b3b13,_0x3ad8ee):_0x4b3b13,_0x393e85=_0x172a12[_0x1e74d5(0x26f)]-0x1,_0x24c487;_0x393e85>=0x0;_0x393e85--)(_0x24c487=_0x172a12[_0x393e85])&&(_0x2044ab=_0x24c487(_0x2044ab)||_0x2044ab);return _0x2044ab;},_0x57a4db=(_0x546dda,_0x5c5eb8)=>(_0x6ba1b3,_0xded6b4)=>_0x5c5eb8(_0x6ba1b3,_0xded6b4,_0x546dda);_0x1a1600['CollaborationDataLoaderController']=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x2bfa27,_0x4e52d6,_0x47c584,_0x33e785,_0x4db170){const _0x341ee0=_0x18936a;super(),this['_urlService']=_0x2bfa27,this[_0x341ee0(0x2ef)]=_0x4e52d6,this[_0x341ee0(0x1ae)]=_0x47c584,this[_0x341ee0(0x136)]=_0x33e785,_0x4db170?_0x4db170==null||_0x4db170[_0x341ee0(0x1b7)]()[_0x341ee0(0x1a4)](()=>this[_0x341ee0(0x1aa)]()):(this['_logService'][_0x341ee0(0x284)](_0x341ee0(0x190),_0x341ee0(0x18e)),this[_0x341ee0(0x1aa)]());}async[_0x18936a(0x1aa)](){const _0x31080d=_0x18936a,_0x3feed5=this[_0x31080d(0x36d)][_0x31080d(0x3c2)](_0x31080d(0x193)),_0x592a6b=this['_urlService']['getParam'](_0x31080d(0x227)),_0x535dea=this[_0x31080d(0x36d)]['getParam']('subunit');if(!_0x3feed5||!_0x592a6b){this[_0x31080d(0x2ef)]['debug'](_0x31080d(0x190),_0x31080d(0x2c7));return;}const _0x8c10de=await this[_0x31080d(0x136)][_0x31080d(0x1f2)](_0x3feed5,Number(_0x592a6b),_0x535dea);_0x8c10de&&_0x8c10de instanceof _0x5381a1[_0x31080d(0x356)]&&this[_0x31080d(0x2c1)](_0x8c10de);}async['_setupSubUnitSync'](_0x4f45e1){const _0x138812=_0x18936a;await this[_0x138812(0x2ac)](_0x4f45e1),_0x4f45e1[_0x138812(0x2f2)][_0x138812(0x388)](_0x3bfc2e[_0x138812(0x34d)](this[_0x138812(0x274)]))[_0x138812(0x182)](_0x26d601=>{_0x26d601&&this['_updateURLWithCurrentState'](_0x26d601);}),this[_0x138812(0x36d)]['urlChange$'][_0x138812(0x388)](_0x3bfc2e[_0x138812(0x34d)](this[_0x138812(0x274)]))[_0x138812(0x182)](()=>this[_0x138812(0x2ac)](_0x4f45e1));}[_0x18936a(0x322)](_0x57ee25,_0x31b2e5=!0x1){const _0x57b03e=_0x18936a,_0x489ea=this['_urlService'][_0x57b03e(0x3c2)](_0x57b03e(0x361));_0x57ee25[_0x57b03e(0x3b0)]()!==_0x489ea&&this[_0x57b03e(0x36d)]['setParam'](_0x57b03e(0x361),_0x57ee25[_0x57b03e(0x3b0)](),_0x31b2e5);}async[_0x18936a(0x2ac)](_0x38d065){const _0x490d34=_0x18936a;var _0x1349a4;const _0x4f2a7b=this[_0x490d34(0x36d)][_0x490d34(0x3c2)](_0x490d34(0x361));if(!_0x4f2a7b||!_0x38d065[_0x490d34(0x19f)](_0x4f2a7b)){const _0x31fcd1=_0x38d065[_0x490d34(0x19e)]()[0x0],_0x772fc3=_0x38d065[_0x490d34(0x19f)](_0x31fcd1);if(!_0x772fc3)return;this['_updateURLWithCurrentState'](_0x772fc3,!0x0),await this[_0x490d34(0x1ae)]['executeCommand'](_0x35314c[_0x490d34(0x2bc)]['id'],{'unitId':_0x38d065[_0x490d34(0x2a3)](),'subUnitId':_0x31fcd1});return;}((_0x1349a4=_0x38d065['getActiveSheet']())==null?void 0x0:_0x1349a4[_0x490d34(0x3b0)]())!==_0x4f2a7b&&await this[_0x490d34(0x1ae)][_0x490d34(0x1db)](_0x35314c[_0x490d34(0x2bc)]['id'],{'unitId':_0x38d065[_0x490d34(0x2a3)](),'subUnitId':_0x4f2a7b});}},_0x1a1600[_0x18936a(0x34b)]=_0xe52b04([_0x57a4db(0x0,_0x15134c),_0x57a4db(0x1,_0x5381a1[_0x18936a(0x339)]),_0x57a4db(0x2,_0x5381a1['ICommandService']),_0x57a4db(0x3,_0x5381a1[_0x18936a(0x13f)](_0x158f6a[_0x18936a(0x373)])),_0x57a4db(0x4,_0x5381a1['Optional'](_0x156ba4[_0x18936a(0x330)]))],_0x1a1600[_0x18936a(0x34b)]);var _0x928b6e=Object['getOwnPropertyDescriptor'],_0x536801=(_0x5c9ced,_0x5351b1,_0x12ac7b,_0x4bde64)=>{const _0x8099d=_0x18936a;for(var _0x14e1d2=_0x4bde64>0x1?void 0x0:_0x4bde64?_0x928b6e(_0x5351b1,_0x12ac7b):_0x5351b1,_0x5b9559=_0x5c9ced[_0x8099d(0x26f)]-0x1,_0x50cb75;_0x5b9559>=0x0;_0x5b9559--)(_0x50cb75=_0x5c9ced[_0x5b9559])&&(_0x14e1d2=_0x50cb75(_0x14e1d2)||_0x14e1d2);return _0x14e1d2;},_0x4ab651=(_0x16e557,_0x550c01)=>(_0x10f374,_0x146ac1)=>_0x550c01(_0x10f374,_0x146ac1,_0x16e557);let _0x55d8f5=class{constructor(_0x1c0b34,_0x36d3d6,_0x3c1c21){const _0x11ba5b=_0x18936a;this['_injector']=_0x1c0b34,this[_0x11ba5b(0x38b)]=_0x36d3d6,this[_0x11ba5b(0x30b)]=_0x3c1c21;}['transformIMECache'](_0x4268d5){const _0x53d1ff=_0x18936a;this[_0x53d1ff(0x238)](_0x4268d5),this['_transformPreviousActiveRange'](_0x4268d5);}['transformRemoteChangeset'](_0x43d3d7){const _0x3f88b7=_0x18936a,{unitID:_0x108676}=_0x43d3d7,_0xc0ac0c=this[_0x3f88b7(0x30b)][_0x3f88b7(0x352)](_0x108676)['with'](_0x12cdf9[_0x3f88b7(0x20d)]),{redoCache:_0x57ec35}=_0xc0ac0c['getUndoRedoMutationParamsCache']();if(_0x57ec35[_0x3f88b7(0x26f)]===0x0)return _0x43d3d7;let _0x5d5384=_0x5381a1['Tools'][_0x3f88b7(0x202)](_0x43d3d7[_0x3f88b7(0x2ff)][0x0]);for(let _0x1a0f32=0x0;_0x1a0f32<_0x57ec35[_0x3f88b7(0x26f)];_0x1a0f32++){const _0x558fc4={'id':_0x3f88b7(0x36f),'params':{..._0x57ec35[_0x1a0f32]}},_0x11de4d=this[_0x3f88b7(0x38b)][_0x3f88b7(0x1e6)](_0x5d5384,_0x558fc4,!0x1);if(_0x13a7ce[_0x3f88b7(0x289)](_0x11de4d))throw _0x11de4d['error'];_0x5d5384=_0x11de4d[_0x3f88b7(0x201)];}return{..._0x5381a1[_0x3f88b7(0x39c)][_0x3f88b7(0x202)](_0x43d3d7),'mutations':[_0x5d5384]};}['_transformUndoRedoStack'](_0x128d08){const _0x3476a5=_0x18936a,{unitID:_0x361888}=_0x128d08,_0x4355ea=this[_0x3476a5(0x30b)][_0x3476a5(0x352)](_0x361888)['with'](_0x12cdf9[_0x3476a5(0x20d)]),{undoCache:_0x55e3b4,redoCache:_0x5bec26}=_0x4355ea[_0x3476a5(0x1fa)]();if(_0x55e3b4['length']===0x0||_0x5bec26[_0x3476a5(0x26f)]===0x0)return;const _0x4bbb09=[],_0x15d5eb=[];let _0x17cb5e=_0x5381a1[_0x3476a5(0x39c)][_0x3476a5(0x202)](_0x128d08['mutations'][0x0]),_0x5c24a8=_0x5381a1[_0x3476a5(0x39c)]['deepClone'](_0x128d08[_0x3476a5(0x2ff)][0x0]);for(let _0x35aa65=_0x55e3b4[_0x3476a5(0x26f)]-0x1;_0x35aa65>=0x0;_0x35aa65--){const _0x51494a={'id':_0x3476a5(0x36f),'params':{..._0x55e3b4[_0x35aa65]}},_0x29278c={'id':_0x3476a5(0x36f),'params':{..._0x5bec26[_0x35aa65]}},_0x4be218=this[_0x3476a5(0x38b)][_0x3476a5(0x1e6)](_0x17cb5e,_0x51494a,!0x1),_0x16b970=this[_0x3476a5(0x38b)]['transformMutation'](_0x5c24a8,_0x29278c,!0x1);if(_0x13a7ce[_0x3476a5(0x289)](_0x4be218))throw _0x4be218['error'];if(_0x13a7ce[_0x3476a5(0x289)](_0x16b970))throw _0x16b970[_0x3476a5(0x18c)];_0x4bbb09[_0x3476a5(0x326)](_0x4be218[_0x3476a5(0x245)][_0x3476a5(0x1f7)]),_0x15d5eb['unshift'](_0x16b970['m2Prime'][_0x3476a5(0x1f7)]),_0x17cb5e=_0x4be218['m1Prime'],_0x5c24a8=_0x16b970[_0x3476a5(0x201)];}_0x4355ea[_0x3476a5(0x2ea)]({'undoCache':_0x4bbb09,'redoCache':_0x15d5eb});}[_0x18936a(0x12e)](_0x491af8){const _0x32612a=_0x18936a,{unitID:_0x1e9d6c}=_0x491af8,_0x42a757=this['_renderManagerService'][_0x32612a(0x352)](_0x1e9d6c)[_0x32612a(0x171)](_0x12cdf9['DocIMEInputManagerService']),_0x1cd23f=_0x42a757[_0x32612a(0x23b)]();if(_0x1cd23f==null)return;const _0x751d1=[{'id':_0x32612a(0x36f),'params':{'unitId':_0x491af8['unitID'],'actions':null,'textRanges':[_0x1cd23f]}}],_0x2a32fd=this[_0x32612a(0x38b)][_0x32612a(0x2e4)](_0x491af8,_0x751d1);if(!_0x13a7ce[_0x32612a(0x203)](_0x2a32fd))throw _0x2a32fd[_0x32612a(0x18c)];const _0x2c98e7=_0x2a32fd[_0x32612a(0x245)][0x0][_0x32612a(0x1f7)][_0x32612a(0x135)];Array[_0x32612a(0x2c0)](_0x2c98e7)&&_0x2c98e7[_0x32612a(0x26f)]&&_0x42a757['setActiveRange'](_0x2c98e7[0x0]);}};_0x55d8f5=_0x536801([_0x4ab651(0x0,_0x5381a1[_0x18936a(0x13f)](_0x5381a1['Injector'])),_0x4ab651(0x1,_0x13a7ce[_0x18936a(0x17e)]),_0x4ab651(0x2,_0x425989[_0x18936a(0x337)])],_0x55d8f5);var _0x36aa55=Object['getOwnPropertyDescriptor'],_0x51a6bf=(_0xcf263c,_0x45d3b2,_0xd1405d,_0x48a97f)=>{const _0x289686=_0x18936a;for(var _0x4a778d=_0x48a97f>0x1?void 0x0:_0x48a97f?_0x36aa55(_0x45d3b2,_0xd1405d):_0x45d3b2,_0x2bf946=_0xcf263c[_0x289686(0x26f)]-0x1,_0x3f6fc4;_0x2bf946>=0x0;_0x2bf946--)(_0x3f6fc4=_0xcf263c[_0x2bf946])&&(_0x4a778d=_0x3f6fc4(_0x4a778d)||_0x4a778d);return _0x4a778d;},_0xae2114=(_0x21160f,_0x2ee8de)=>(_0x20bb20,_0x4f46ad)=>_0x2ee8de(_0x20bb20,_0x4f46ad,_0x21160f);let _0x4abe98=class{constructor(_0x51cf95,_0x13e8f7,_0x34a608){const _0x190780=_0x18936a;this['_injector']=_0x51cf95,this[_0x190780(0x38b)]=_0x13e8f7,this[_0x190780(0x379)]=_0x34a608;}[_0x18936a(0x1a6)](_0x1d7837){const _0x1480d9=_0x18936a;this[_0x1480d9(0x195)](_0x1d7837);}['transformRemoteChangeset'](_0x3ba6c3){const _0x507f62=_0x18936a,{unitID:_0x4da04d}=_0x3ba6c3,{collaboration:_0x492ffe}=this[_0x507f62(0x379)][_0x507f62(0x36e)](_0x4da04d);if(_0x492ffe['length']===0x0)return _0x3ba6c3;let _0x39db6d=_0x5381a1[_0x507f62(0x39c)][_0x507f62(0x202)](_0x3ba6c3[_0x507f62(0x2ff)][0x0]);for(let _0x40ff60=0x0;_0x40ff60<_0x492ffe[_0x507f62(0x26f)];_0x40ff60++){const _0x45ac4b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x492ffe[_0x40ff60][_0x507f62(0x262)],..._0x492ffe[_0x40ff60][_0x507f62(0x160)]}},_0x35194e=this[_0x507f62(0x38b)]['transformMutation'](_0x39db6d,_0x45ac4b,!0x1);if(_0x13a7ce['isTransformMutationFailure'](_0x35194e))throw _0x35194e[_0x507f62(0x18c)];_0x39db6d=_0x35194e['m1Prime'];}return{..._0x5381a1[_0x507f62(0x39c)][_0x507f62(0x202)](_0x3ba6c3),'mutations':[_0x39db6d]};}['_transformHistoryAndStateStack'](_0x4563fc){const _0x49c662=_0x18936a,{unitID:_0x1d5d02}=_0x4563fc,{history:_0x2acb00,collaboration:_0x161c5c}=this[_0x49c662(0x379)][_0x49c662(0x36e)](_0x1d5d02);if(_0x2acb00['length']===0x0&&_0x161c5c[_0x49c662(0x26f)]===0x0)return;const _0x5a3a49=[],_0x236579=[];let _0x11015b=_0x5381a1[_0x49c662(0x39c)][_0x49c662(0x202)](_0x4563fc[_0x49c662(0x2ff)][0x0]),_0x32dede=_0x5381a1[_0x49c662(0x39c)]['deepClone'](_0x4563fc['mutations'][0x0]);for(let _0x3afc7a=_0x2acb00['length']-0x1;_0x3afc7a>=0x0;_0x3afc7a--){const _0x22ccbe={'id':_0x49c662(0x36f),'params':{'unitId':_0x2acb00[_0x3afc7a][_0x49c662(0x262)],..._0x2acb00[_0x3afc7a][_0x49c662(0x32a)]}},_0x2c9f78={'id':_0x49c662(0x36f),'params':{'unitId':_0x2acb00[_0x3afc7a][_0x49c662(0x262)],..._0x2acb00[_0x3afc7a][_0x49c662(0x160)]}},_0x504ae0=this[_0x49c662(0x38b)][_0x49c662(0x1e6)](_0x11015b,_0x22ccbe,!0x1),_0x541050=this['_transformService']['transformMutation'](_0x32dede,_0x2c9f78,!0x1);if(_0x13a7ce[_0x49c662(0x289)](_0x504ae0))throw _0x504ae0['error'];if(_0x13a7ce['isTransformMutationFailure'](_0x541050))throw _0x541050[_0x49c662(0x18c)];_0x5a3a49[_0x49c662(0x326)]({..._0x2acb00[_0x3afc7a],'undoState':_0x504ae0['m2Prime'][_0x49c662(0x1f7)],'redoState':_0x541050['m2Prime'][_0x49c662(0x1f7)]}),_0x11015b=_0x504ae0[_0x49c662(0x201)],_0x32dede=_0x541050[_0x49c662(0x201)];}_0x11015b=_0x5381a1[_0x49c662(0x39c)][_0x49c662(0x202)](_0x4563fc[_0x49c662(0x2ff)][0x0]),_0x32dede=_0x5381a1['Tools'][_0x49c662(0x202)](_0x4563fc[_0x49c662(0x2ff)][0x0]);for(let _0xcb3b49=_0x161c5c[_0x49c662(0x26f)]-0x1;_0xcb3b49>=0x0;_0xcb3b49--){const _0x351ec6={'id':_0x49c662(0x36f),'params':{'unitId':_0x161c5c[_0xcb3b49][_0x49c662(0x262)],..._0x161c5c[_0xcb3b49]['undoState']}},_0x4e89be={'id':_0x49c662(0x36f),'params':{'unitId':_0x161c5c[_0xcb3b49][_0x49c662(0x262)],..._0x161c5c[_0xcb3b49][_0x49c662(0x160)]}},_0x21c203=this['_transformService']['transformMutation'](_0x11015b,_0x351ec6,!0x1),_0x124204=this[_0x49c662(0x38b)]['transformMutation'](_0x32dede,_0x4e89be,!0x1);if(_0x13a7ce[_0x49c662(0x289)](_0x21c203))throw _0x21c203[_0x49c662(0x18c)];if(_0x13a7ce['isTransformMutationFailure'](_0x124204))throw _0x124204['error'];_0x236579[_0x49c662(0x326)]({..._0x161c5c[_0xcb3b49],'undoState':_0x21c203['m2Prime'][_0x49c662(0x1f7)],'redoState':_0x124204[_0x49c662(0x245)][_0x49c662(0x1f7)]}),_0x11015b=_0x21c203[_0x49c662(0x201)],_0x32dede=_0x124204[_0x49c662(0x201)];}this[_0x49c662(0x379)][_0x49c662(0x1c3)](_0x1d5d02,{'history':_0x5a3a49,'collaboration':_0x236579});}};_0x4abe98=_0x51a6bf([_0xae2114(0x0,_0x5381a1[_0x18936a(0x13f)](_0x5381a1['Injector'])),_0xae2114(0x1,_0x13a7ce['ITransformService']),_0xae2114(0x2,_0x5381a1[_0x18936a(0x13f)](_0x12cdf9['DocStateChangeManagerService']))],_0x4abe98);var _0x53515=Object[_0x18936a(0x180)],_0x32efe6=(_0x25fd2b,_0x2ecfab,_0x2ca655,_0x1d7406)=>{const _0x145328=_0x18936a;for(var _0x197f61=_0x1d7406>0x1?void 0x0:_0x1d7406?_0x53515(_0x2ecfab,_0x2ca655):_0x2ecfab,_0x53d763=_0x25fd2b[_0x145328(0x26f)]-0x1,_0x48df24;_0x53d763>=0x0;_0x53d763--)(_0x48df24=_0x25fd2b[_0x53d763])&&(_0x197f61=_0x48df24(_0x197f61)||_0x197f61);return _0x197f61;},_0x17675c=(_0x323d9a,_0x1246be)=>(_0xc9c19,_0x34ffaa)=>_0x1246be(_0xc9c19,_0x34ffaa,_0x323d9a);let _0x550f52=class{constructor(_0x3b1dee,_0x1bc8f4){const _0x47af6c=_0x18936a;this[_0x47af6c(0x37b)]=_0x3b1dee,this[_0x47af6c(0x38b)]=_0x1bc8f4;}[_0x18936a(0x2b8)](_0x566969){const _0x344e0f=_0x18936a;var _0x1320ea;const _0x49fdd1=this['_injector'][_0x344e0f(0x333)](_0x396d1c[_0x344e0f(0x2f8)]),_0x607762=(_0x1320ea=_0x49fdd1[_0x344e0f(0x323)]())!=null?_0x1320ea:[];if(_0x607762[_0x344e0f(0x26f)]===0x0)return;const _0x573d40=_0x566969[_0x344e0f(0x2e5)],_0x7dc6d6=[{'id':_0x344e0f(0x36f),'params':{'unitId':_0x573d40,'actions':null,'textRanges':_0x607762}}],_0x547f60=this['_transformService'][_0x344e0f(0x2e4)](_0x566969,_0x7dc6d6);if(!_0x13a7ce[_0x344e0f(0x203)](_0x547f60))throw _0x547f60['error'];const _0x1a9bed=_0x547f60[_0x344e0f(0x245)][0x0][_0x344e0f(0x1f7)][_0x344e0f(0x135)];Array[_0x344e0f(0x2c0)](_0x1a9bed)&&_0x1a9bed['length']&&_0x49fdd1[_0x344e0f(0x316)](_0x1a9bed,{'unitId':_0x573d40,'subUnitId':_0x573d40},!0x1);}};_0x550f52=_0x32efe6([_0x17675c(0x0,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x35d)])),_0x17675c(0x1,_0x13a7ce[_0x18936a(0x17e)])],_0x550f52);var _0x56e6e3=Object[_0x18936a(0x180)],_0x528a30=(_0xdc5f4d,_0x15d059,_0x3e260a,_0x6607f9)=>{for(var _0x33e8bd=_0x6607f9>0x1?void 0x0:_0x6607f9?_0x56e6e3(_0x15d059,_0x3e260a):_0x15d059,_0x486710=_0xdc5f4d['length']-0x1,_0x46ca28;_0x486710>=0x0;_0x486710--)(_0x46ca28=_0xdc5f4d[_0x486710])&&(_0x33e8bd=_0x46ca28(_0x33e8bd)||_0x33e8bd);return _0x33e8bd;},_0x3d98f9=(_0x3a72f3,_0x3bd3c9)=>(_0x27d48e,_0x6e55fe)=>_0x3bd3c9(_0x27d48e,_0x6e55fe,_0x3a72f3);let _0xcfc56b=class extends _0x5381a1['Disposable']{constructor(_0x9f6925,_0x5f33f9,_0x2d0970,_0x2c72d1,_0x30dfd6,_0x27e562,_0x1306cf,_0x3f5451){const _0x396d10=_0x18936a;super(),_0x5178b9(this,'_status$',new _0x3bfc2e[(_0x396d10(0x30d))](_0x158f6a[_0x396d10(0x177)]['NOT_COLLAB'])),(this[_0x396d10(0x379)]=_0x9f6925,this[_0x396d10(0x370)]=_0x5f33f9,this['_docTransformIMECacheService']=_0x2d0970,this[_0x396d10(0x2cd)]=_0x2c72d1,this[_0x396d10(0x1e3)]=_0x30dfd6,this[_0x396d10(0x1c7)]=_0x27e562,this['_messageService']=_0x1306cf,this[_0x396d10(0x13b)]=_0x3f5451,this[_0x396d10(0x325)]());}[_0x18936a(0x325)](){const _0x529894=_0x18936a;this[_0x529894(0x1d6)](this[_0x529894(0x370)]['entityInit$'][_0x529894(0x182)](_0x39aa65=>{const _0x417c9b=_0x529894,_0x2e3f31=this[_0x417c9b(0x379)][_0x417c9b(0x307)][_0x417c9b(0x182)](_0x100741=>{const _0x4ac2d3=_0x417c9b;if(_0x100741==null)return;const {unitId:_0x5cf6b8,redoState:_0x555465,commandId:_0x5af453}=_0x100741;if(_0x5cf6b8!==_0x39aa65[_0x4ac2d3(0x2e5)])return;const _0x34e8a2={'id':_0x5af453,'type':_0x5381a1[_0x4ac2d3(0x281)][_0x4ac2d3(0x371)],'params':{'unitId':_0x5cf6b8,'actions':_0x555465[_0x4ac2d3(0x18b)],'textRanges':null}};_0x39aa65[_0x4ac2d3(0x2b2)](_0x34e8a2);});if(_0x39aa65[_0x417c9b(0x1d6)](_0x2e3f31),_0x39aa65 instanceof _0x158f6a[_0x417c9b(0x229)]){const _0x421c30={'onTransformIME':_0x4b6cbd=>this[_0x417c9b(0x16a)][_0x417c9b(0x321)](_0x4b6cbd),'onTransformState':_0x561fe1=>this[_0x417c9b(0x2cd)][_0x417c9b(0x1a6)](_0x561fe1),'onTransformSelections':_0x527edc=>this[_0x417c9b(0x1e3)][_0x417c9b(0x2b8)](_0x527edc),'onSyncEditingCollabCursor':_0x2f364d=>this[_0x417c9b(0x1c7)][_0x417c9b(0x148)](_0x2f364d),'onTransformRemoteChangesetByIMECache':_0x1def1b=>this[_0x417c9b(0x16a)][_0x417c9b(0x1c0)](_0x1def1b),'onTransformRemoteChangesetByStateCache':_0x4f0ab5=>this[_0x417c9b(0x2cd)]['transformRemoteChangeset'](_0x4f0ab5)};_0x39aa65[_0x417c9b(0x367)](_0x421c30);}}));}};_0xcfc56b=_0x528a30([_0x3d98f9(0x0,_0x5381a1['Inject'](_0x12cdf9['DocStateChangeManagerService'])),_0x3d98f9(0x1,_0x5381a1[_0x18936a(0x13f)](_0x158f6a['CollaborationController'])),_0x3d98f9(0x2,_0x5381a1[_0x18936a(0x13f)](_0x55d8f5)),_0x3d98f9(0x3,_0x5381a1['Inject'](_0x4abe98)),_0x3d98f9(0x4,_0x5381a1[_0x18936a(0x13f)](_0x550f52)),_0x3d98f9(0x5,_0x5381a1['Inject'](_0x136b53)),_0x3d98f9(0x6,_0x30a129[_0x18936a(0x24b)]),_0x3d98f9(0x7,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x178)]))],_0xcfc56b);var _0x1be2d0=Object['getOwnPropertyDescriptor'],_0x5ee087=(_0x22f007,_0x25eccd,_0x26adce,_0x6dad1)=>{const _0x4646f3=_0x18936a;for(var _0x17d338=_0x6dad1>0x1?void 0x0:_0x6dad1?_0x1be2d0(_0x25eccd,_0x26adce):_0x25eccd,_0x344034=_0x22f007[_0x4646f3(0x26f)]-0x1,_0x428275;_0x344034>=0x0;_0x344034--)(_0x428275=_0x22f007[_0x344034])&&(_0x17d338=_0x428275(_0x17d338)||_0x17d338);return _0x17d338;},_0x18f877=(_0x51090d,_0xe67102)=>(_0x1c1d98,_0x516f07)=>_0xe67102(_0x1c1d98,_0x516f07,_0x51090d);let _0xb7059a=class extends _0x5381a1[_0x18936a(0x212)]{constructor(_0x303675,_0x179efd,_0x715ad7){const _0xfd0d81=_0x18936a;super(),_0x5178b9(this,_0xfd0d81(0x2e2),new Map()),_0x5178b9(this,_0xfd0d81(0x140),new Map()),_0x5178b9(this,_0xfd0d81(0x224),!0x1),(this[_0xfd0d81(0x35c)]=_0x303675,this['_localStorageService']=_0x179efd,this[_0xfd0d81(0x167)]=_0x715ad7);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x18936a(0x151)](){const _0x3f1d01=_0x18936a;this[_0x3f1d01(0x224)]=!0x1;}get['saveTaskMap'](){const _0x5ea3a4=_0x18936a;return this[_0x5ea3a4(0x140)];}[_0x18936a(0x32f)](){const _0x178b4f=_0x18936a;this[_0x178b4f(0x3c6)]()['then'](()=>super[_0x178b4f(0x32f)]());}async[_0x18936a(0x209)](_0x50dd6b){const _0xd6121b=_0x18936a;return this[_0xd6121b(0x224)]?null:this[_0xd6121b(0x283)][_0xd6121b(0x13c)](_0x158f6a[_0xd6121b(0x344)](_0x50dd6b));}async['saveOfflineData'](_0x561b6d,_0x28761a){const _0x31a84a=_0x18936a;return!!this[_0x31a84a(0x283)][_0x31a84a(0x265)](_0x561b6d,_0x28761a);}[_0x18936a(0x1f8)](_0x962f22,_0x4eb259,_0x158830,_0x384ce7){const _0x2914dc=_0x18936a,_0x4c667d=this[_0x2914dc(0x167)][_0x2914dc(0x2b5)](_0x962f22);this[_0x2914dc(0x2e2)]['set'](_0x962f22,{'unitID':_0x962f22,'type':_0x4eb259,'awaitingChangeset':_0x158830,'mutations':_0x384ce7,'rev':_0x4c667d}),this[_0x2914dc(0x140)][_0x2914dc(0x16f)](_0x962f22)||this[_0x2914dc(0x294)](_0x962f22);}[_0x18936a(0x294)](_0x24f66c){const _0x579334=_0x18936a,_0x41cedb=this[_0x579334(0x12c)]();_0x41cedb===0x0?this[_0x579334(0x31f)](_0x24f66c):this[_0x579334(0x140)][_0x579334(0x2c6)](_0x24f66c,setTimeout(()=>this[_0x579334(0x31f)](_0x24f66c),_0x41cedb));}[_0x18936a(0x12c)](){const _0x2b1d64=_0x18936a;var _0x26c39e;return(_0x26c39e=this['_configService'][_0x2b1d64(0x29d)](_0x158f6a[_0x2b1d64(0x3c4)]))!=null?_0x26c39e:_0x158f6a[_0x2b1d64(0x290)];}[_0x18936a(0x31f)](_0x26285c){const _0x2ac3f7=_0x18936a,_0x5407d6=this[_0x2ac3f7(0x140)][_0x2ac3f7(0x333)](_0x26285c);return _0x5407d6!==void 0x0&&window[_0x2ac3f7(0x205)](_0x5407d6),this[_0x2ac3f7(0x283)]['setItem'](_0x158f6a[_0x2ac3f7(0x344)](_0x26285c),this[_0x2ac3f7(0x2e2)][_0x2ac3f7(0x333)](_0x26285c))[_0x2ac3f7(0x1a4)](()=>this[_0x2ac3f7(0x140)][_0x2ac3f7(0x25e)](_0x26285c));}async[_0x18936a(0x3c6)](){const _0x5c2e06=_0x18936a,_0x36d02a=[];this[_0x5c2e06(0x140)]['forEach']((_0x561f08,_0x46b9de)=>{const _0x2bf6e6=_0x5c2e06;window['clearTimeout'](_0x561f08),_0x36d02a[_0x2bf6e6(0x28b)](this[_0x2bf6e6(0x31f)](_0x46b9de)[_0x2bf6e6(0x1a4)](()=>{const _0x22cb04=_0x2bf6e6;this[_0x22cb04(0x140)]['delete'](_0x46b9de);}));}),await Promise['all'](_0x36d02a);}};_0xb7059a=_0x5ee087([_0x18f877(0x0,_0x5381a1[_0x18936a(0x3c3)]),_0x18f877(0x1,_0x5381a1[_0x18936a(0x2fa)]),_0x18f877(0x2,_0x5381a1['Inject'](_0x13a7ce[_0x18936a(0x392)]))],_0xb7059a);class _0x356c16 extends _0x5381a1['RxDisposable']{constructor(){const _0x574913=_0x18936a;super(),_0x5178b9(this,_0x574913(0x30e)),this[_0x574913(0x30e)]=_0x3bfc2e['fromEvent'](window,'popstate')[_0x574913(0x388)](_0x3bfc2e['takeUntil'](this[_0x574913(0x274)]),_0x3bfc2e['shareReplay'](0x1),_0x3bfc2e['mapTo'](void 0x0));}[_0x18936a(0x3ac)](_0xacf5dd,_0x2748c8,_0x4f5306=!0x1){const _0x103c70=_0x18936a,_0x187bf8=new URL(window[_0x103c70(0x242)]['href']);_0x187bf8[_0x103c70(0x3ad)][_0x103c70(0x2c6)](_0xacf5dd,_0x2748c8),_0x4f5306?window[_0x103c70(0x141)][_0x103c70(0x14f)]('','',_0x187bf8[_0x103c70(0x35f)]()):window[_0x103c70(0x141)][_0x103c70(0x21b)]('','',_0x187bf8['toString']());}['removeParam'](_0x2ab7bf,_0x5242af=!0x1){const _0x19191a=_0x18936a,_0xa484f9=new URL(window[_0x19191a(0x242)][_0x19191a(0x200)]);_0xa484f9[_0x19191a(0x3ad)][_0x19191a(0x25e)](_0x2ab7bf),_0x5242af?window[_0x19191a(0x141)][_0x19191a(0x14f)]('','',_0xa484f9[_0x19191a(0x35f)]()):window[_0x19191a(0x141)][_0x19191a(0x21b)]('','',_0xa484f9[_0x19191a(0x35f)]());}[_0x18936a(0x3c2)](_0x16e2ab){const _0x514e27=_0x18936a;var _0x43c279;return(_0x43c279=new URL(window[_0x514e27(0x242)][_0x514e27(0x200)])[_0x514e27(0x3ad)][_0x514e27(0x333)](_0x16e2ab))!=null?_0x43c279:void 0x0;}}var _0x5ae036=Object[_0x18936a(0x1f1)],_0x1aa569=Object[_0x18936a(0x180)],_0x3dee73=(_0x35d48f,_0x3be37b,_0xe3f70e)=>_0x3be37b in _0x35d48f?_0x5ae036(_0x35d48f,_0x3be37b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe3f70e}):_0x35d48f[_0x3be37b]=_0xe3f70e,_0x487880=(_0x204415,_0xc6972a,_0x5e5b9c,_0x144ee6)=>{const _0x59d351=_0x18936a;for(var _0x460449=_0x144ee6>0x1?void 0x0:_0x144ee6?_0x1aa569(_0xc6972a,_0x5e5b9c):_0xc6972a,_0x3dfe75=_0x204415[_0x59d351(0x26f)]-0x1,_0x22d286;_0x3dfe75>=0x0;_0x3dfe75--)(_0x22d286=_0x204415[_0x3dfe75])&&(_0x460449=_0x22d286(_0x460449)||_0x460449);return _0x460449;},_0x857e3e=(_0x49671,_0x400d85)=>(_0x25963a,_0x1137cc)=>_0x400d85(_0x25963a,_0x1137cc,_0x49671),_0x37a0d8=(_0xb23f9,_0x54eda5,_0x5337bb)=>_0x3dee73(_0xb23f9,_0x54eda5+'',_0x5337bb);const _0x39a0ea=_0x18936a(0x276);_0x1a1600['UniverCollaborationClientUIPlugin']=class extends _0x5381a1['Plugin']{constructor(_0x1a1cbd=_0x23f080,_0x3f92cb,_0x53168b,_0x13109d){const _0x5cdbff=_0x18936a;super(),this['_config']=_0x1a1cbd,this[_0x5cdbff(0x30b)]=_0x3f92cb,this[_0x5cdbff(0x37b)]=_0x53168b,this['_configService']=_0x13109d;const {..._0x3b0606}=_0x5381a1[_0x5cdbff(0x28d)]({},_0x23f080,this[_0x5cdbff(0x334)]);this[_0x5cdbff(0x35c)][_0x5cdbff(0x387)](_0xd18fdb,_0x3b0606);}[_0x18936a(0x17b)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x18936a(0x14a)](){const _0x43b0be=_0x18936a;this[_0x43b0be(0x269)]();}['_registerDependencies'](){const _0x50a43a=_0x18936a;var _0x2dff12;const _0x2379bf=[[_0x703bf0],[_0x550f52],[_0x55d8f5],[_0x4abe98],[_0x136b53],[_0x15134c,{'useClass':_0x356c16}],[_0x232e6b['ISocketService'],{'useClass':_0x232e6b[_0x50a43a(0x175)]}],[_0x158f6a[_0x50a43a(0x3bf)],{'useClass':_0xb7059a}],[_0x1a1600['DesktopCollaborationStatusDisplayController']],[_0xcfc56b],[_0x126fed],[_0xf8b381],[_0x5f3072],[_0x1a1600['CollaborationDataLoaderController']]];_0x5381a1['registerDependencies'](this['_injector'],_0x5381a1[_0x50a43a(0x1f5)](_0x2379bf,(_0x2dff12=this[_0x50a43a(0x334)])==null?void 0x0:_0x2dff12['override']));}[_0x18936a(0x269)](){const _0xca13ea=_0x18936a;this[_0xca13ea(0x1d6)](this[_0xca13ea(0x30b)][_0xca13ea(0x368)](_0x5381a1[_0xca13ea(0x259)][_0xca13ea(0x27f)],[_0x31fa14])),this[_0xca13ea(0x1d6)](this[_0xca13ea(0x30b)][_0xca13ea(0x368)](_0x5381a1[_0xca13ea(0x259)][_0xca13ea(0x29f)],[_0x4f49ad]));}['_initDependencies'](){const _0x2d175b=_0x18936a;_0x5381a1['touchDependencies'](this['_injector'],[[_0xf8b381],[_0x1a1600[_0x2d175b(0x2d8)]],[_0xcfc56b],[_0x126fed],[_0x1a1600[_0x2d175b(0x34b)]]]);}},_0x37a0d8(_0x1a1600[_0x18936a(0x37f)],_0x18936a(0x241),_0x39a0ea),_0x1a1600[_0x18936a(0x37f)]=_0x487880([_0x5381a1[_0x18936a(0x165)](_0x158f6a[_0x18936a(0x2a7)]),_0x857e3e(0x1,_0x425989['IRenderManagerService']),_0x857e3e(0x2,_0x5381a1[_0x18936a(0x13f)](_0x5381a1['Injector'])),_0x857e3e(0x3,_0x5381a1['IConfigService'])],_0x1a1600[_0x18936a(0x37f)]);var _0x332150=Object[_0x18936a(0x180)],_0x211120=(_0xa2cc8a,_0x2f0308,_0x20d38f,_0x1fb44b)=>{const _0x450f6b=_0x18936a;for(var _0x288c80=_0x1fb44b>0x1?void 0x0:_0x1fb44b?_0x332150(_0x2f0308,_0x20d38f):_0x2f0308,_0x43ca49=_0xa2cc8a[_0x450f6b(0x26f)]-0x1,_0xbd68b2;_0x43ca49>=0x0;_0x43ca49--)(_0xbd68b2=_0xa2cc8a[_0x43ca49])&&(_0x288c80=_0xbd68b2(_0x288c80)||_0x288c80);return _0x288c80;},_0x45809e=(_0x2bae04,_0x47d1eb)=>(_0x4100dd,_0x575e55)=>_0x47d1eb(_0x4100dd,_0x575e55,_0x2bae04);_0x1a1600[_0x18936a(0x216)]=class extends _0x158f6a[_0x18936a(0x174)]{constructor(_0x4f2f66,_0x3a66c3,_0x23ac3d,_0x571ab5,_0x577a4f){super(_0x4f2f66,_0x3a66c3,_0x23ac3d,_0x571ab5,_0x577a4f);}async[_0x18936a(0x1af)](_0x58f1f9){const _0xc36f89=_0x18936a,_0x146624=await this['_getSessionTicket'](),_0x346a86=this[_0xc36f89(0x2f0)](_0x58f1f9,_0x146624);return this['_doCreateSocket'](_0x346a86);}[_0x18936a(0x2f0)](_0x5c824a,_0x380726){const _0x4da25d=_0x18936a,_0x1c16ff=typeof window>'u'?new URL(_0x5c824a):new URL(_0x5c824a,window['location'][_0x4da25d(0x3b8)]);_0x1c16ff[_0x4da25d(0x3ad)][_0x4da25d(0x2c6)](_0x4da25d(0x311),_0x380726);const _0xd46c41=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4da25d(0x242)][_0x4da25d(0x396)]);return _0xd46c41[_0x4da25d(0x333)](_0x4da25d(0x20f))&&_0x1c16ff[_0x4da25d(0x3ad)][_0x4da25d(0x2c6)](_0x4da25d(0x20f),_0xd46c41[_0x4da25d(0x333)](_0x4da25d(0x20f))),_0x1c16ff[_0x4da25d(0x35f)]();}async['_getSessionTicket'](){const _0xf7967a=_0x18936a;var _0x33be2b,_0x1b4819,_0x260eaa;const _0x11c841=this[_0xf7967a(0x35c)][_0xf7967a(0x29d)](_0x158f6a[_0xf7967a(0x15d)]),_0x3bb35c=(_0x33be2b=_0x11c841==null?void 0x0:_0x11c841[_0xf7967a(0x2a6)])!=null?_0x33be2b:_0x158f6a['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x260eaa=(_0x1b4819=(await this['_httpService']['get'](_0x3bb35c,{'headers':{'Content-Type':_0xf7967a(0x131)}}))[_0xf7967a(0x143)])==null?void 0x0:_0x1b4819['ticket'])!=null?_0x260eaa:'';}},_0x1a1600[_0x18936a(0x216)]=_0x211120([_0x45809e(0x0,_0x5381a1[_0x18936a(0x13f)](_0x5381a1['Injector'])),_0x45809e(0x1,_0x5381a1[_0x18936a(0x13f)](_0x232e6b['HTTPService'])),_0x45809e(0x2,_0x5381a1[_0x18936a(0x3c3)]),_0x45809e(0x3,_0x5381a1[_0x18936a(0x339)]),_0x45809e(0x4,_0x13a7ce[_0x18936a(0x1bc)])],_0x1a1600[_0x18936a(0x216)]);const _0x3d84fb=0x7530,_0x27925a=_0x18936a(0x1eb);class _0x5bef66 extends _0x5381a1[_0x18936a(0x212)]{constructor(){const _0x43cde8=_0x18936a;super(),_0x5178b9(this,_0x43cde8(0x2f7),_0x5381a1['generateRandomId']()),_0x5178b9(this,'_selfUnitIDs',new Set()),_0x5178b9(this,'_unitOnClients',new Map()),_0x5178b9(this,'_heartbeatTimer',null),_0x5178b9(this,_0x43cde8(0x2b4),new Map()),_0x5178b9(this,_0x43cde8(0x169),new Map()),this[_0x43cde8(0x1aa)]();}[_0x18936a(0x32f)](){const _0x6b9fbb=_0x18936a;super[_0x6b9fbb(0x32f)](),this[_0x6b9fbb(0x2b4)][_0x6b9fbb(0x38d)]((_0x2ccaaa,_0x1d6cbe)=>this['_removeClearOtherTimer'](_0x1d6cbe)),this['_heartbeatTimer']&&window[_0x6b9fbb(0x3a6)](this[_0x6b9fbb(0x247)]);}[_0x18936a(0x2e1)](_0x57e825){const _0x3ac92f=_0x18936a;return this['_ensureSubject'](_0x57e825)[_0x3ac92f(0x388)](_0x3bfc2e[_0x3ac92f(0x138)]());}['editingUnit'](_0x18b11f){const _0x390a7d=_0x18936a;this[_0x390a7d(0x25c)][_0x390a7d(0x272)]===0x0&&this[_0x390a7d(0x21a)](),this[_0x390a7d(0x25c)][_0x390a7d(0x376)](_0x18b11f),this[_0x390a7d(0x28c)]({'type':0x0,'memberID':this[_0x390a7d(0x2f7)],'unitIDs':[_0x18b11f],'isForwarded':!0x1});}[_0x18936a(0x255)](_0x1e77a4){const _0x24913a=_0x18936a;this[_0x24913a(0x25c)][_0x24913a(0x25e)](_0x1e77a4),this[_0x24913a(0x25c)]['size']===0x0&&this[_0x24913a(0x247)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x18936a(0x1aa)](){const _0x185485=_0x18936a;this['disposeWithMe'](_0x5381a1['toDisposable'](_0x3bfc2e[_0x185485(0x37c)](window,'storage')['subscribe'](_0x1de820=>{const _0x191ee6=_0x185485;if(_0x1de820[_0x191ee6(0x1f4)]!==_0x27925a||!_0x1de820['newValue'])return;const _0x94ec71=JSON[_0x191ee6(0x215)](_0x1de820[_0x191ee6(0x363)]);this[_0x191ee6(0x128)](_0x94ec71);}))),window[_0x185485(0x1d1)](_0x185485(0x32b),()=>this['_send']({'type':0x1,'memberID':this[_0x185485(0x2f7)],'unitIDs':Array[_0x185485(0x152)](this['_selfUnitIDs'])}));}[_0x18936a(0x128)](_0xdb3f01){const _0x2be38b=_0x18936a;switch(_0xdb3f01[_0x2be38b(0x227)]){case 0x0:this['_handleJoinEvent'](_0xdb3f01);break;case 0x1:this[_0x2be38b(0x291)](_0xdb3f01);break;case 0x2:this[_0x2be38b(0x2c4)](_0xdb3f01);break;}}[_0x18936a(0x372)](_0x45800c){const _0x18403e=_0x18936a,{unitIDs:_0xc3677,memberID:_0x3fe6ba,isForwarded:_0x49498c}=_0x45800c;_0xc3677[_0x18403e(0x38d)](_0x50265e=>{const _0x1aa44a=_0x18403e;if(!_0x49498c&&this[_0x1aa44a(0x134)][_0x1aa44a(0x16f)](_0x50265e)&&this[_0x1aa44a(0x38c)](_0x50265e)['next'](_0x158f6a['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x1aa44a(0x134)]['has'](_0x50265e)||!this[_0x1aa44a(0x134)][_0x1aa44a(0x333)](_0x50265e)[_0x1aa44a(0x16f)](_0x3fe6ba)){const _0x2c85eb=this[_0x1aa44a(0x134)][_0x1aa44a(0x333)](_0x50265e)||new Set();_0x2c85eb[_0x1aa44a(0x376)](_0x3fe6ba),this[_0x1aa44a(0x134)][_0x1aa44a(0x2c6)](_0x50265e,_0x2c85eb),this[_0x1aa44a(0x1c4)](_0x3fe6ba);}}),_0x49498c||this[_0x18403e(0x28c)]({'type':0x0,'memberID':this[_0x18403e(0x2f7)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2bfde4){const _0x366e2c=_0x18936a;this[_0x366e2c(0x336)](_0x2bfde4);const _0x5088b8=window[_0x366e2c(0x3c5)](()=>{const _0x6e09de=_0x366e2c;this['_unitOnClients'][_0x6e09de(0x38d)](_0x304ebb=>{const _0xe081b8=_0x6e09de;_0x304ebb[_0xe081b8(0x25e)](_0x2bfde4);});},_0x3d84fb*0x2);this[_0x366e2c(0x2b4)][_0x366e2c(0x2c6)](_0x2bfde4,_0x5088b8);}[_0x18936a(0x336)](_0x498953){const _0x1be64f=_0x18936a;if(this[_0x1be64f(0x2b4)][_0x1be64f(0x16f)](_0x498953)){const _0x8445da=this[_0x1be64f(0x2b4)][_0x1be64f(0x333)](_0x498953);_0x8445da&&window[_0x1be64f(0x205)](_0x8445da),this[_0x1be64f(0x2b4)]['set'](_0x498953,null);}}[_0x18936a(0x291)](_0x355d87){const _0x5ae712=_0x18936a,{memberID:_0x4534a8,unitIDs:_0x348bc9}=_0x355d87;_0x348bc9[_0x5ae712(0x38d)](_0x31a1a3=>{const _0xf2a947=_0x5ae712;var _0x1d5357;const _0x4ffe7e=this[_0xf2a947(0x134)][_0xf2a947(0x333)](_0x31a1a3);_0x4ffe7e&&(_0x4ffe7e['delete'](_0x4534a8),(_0x1d5357=this[_0xf2a947(0x38c)](_0x31a1a3))==null||_0x1d5357[_0xf2a947(0x1d8)](_0x4ffe7e[_0xf2a947(0x272)]===0x0?_0x158f6a[_0xf2a947(0x26d)][_0xf2a947(0x240)]:_0x158f6a[_0xf2a947(0x26d)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x4534a8);}[_0x18936a(0x2c4)](_0x4f54cf){const _0xd2565f=_0x18936a;this[_0xd2565f(0x1c4)](_0x4f54cf['memberID']);}[_0x18936a(0x28c)](_0x3a4cc7){const _0x1148bc=_0x18936a;localStorage[_0x1148bc(0x265)](_0x27925a,JSON['stringify'](_0x3a4cc7));}[_0x18936a(0x21a)](){const _0x181600=_0x18936a;this['_heartbeatTimer']=window[_0x181600(0x17a)](()=>{const _0x318597=_0x181600;this[_0x318597(0x28c)]({'type':0x2,'memberID':this['_id']});},_0x3d84fb);}[_0x18936a(0x38c)](_0x525921){const _0x589100=_0x18936a;return this['_unitStatus'][_0x589100(0x16f)](_0x525921)||this[_0x589100(0x169)][_0x589100(0x2c6)](_0x525921,new _0x3bfc2e[(_0x589100(0x30d))](_0x158f6a[_0x589100(0x26d)][_0x589100(0x240)])),this[_0x589100(0x169)][_0x589100(0x333)](_0x525921);}}var _0x223b88=(_0x3bc291=>(_0x3bc291[_0x3bc291[_0x18936a(0x3aa)]=0x0]='UNDEFINED',_0x3bc291[_0x3bc291['OK']=0x1]='OK',_0x3bc291[_0x3bc291[_0x18936a(0x20a)]=0x2]=_0x18936a(0x20a),_0x3bc291[_0x3bc291[_0x18936a(0x296)]=0x3]=_0x18936a(0x296),_0x3bc291[_0x3bc291[_0x18936a(0x2ca)]=0x4]=_0x18936a(0x2ca),_0x3bc291[_0x3bc291[_0x18936a(0x161)]=0x5]='UNAUTHENTICATED',_0x3bc291[_0x3bc291[_0x18936a(0x1a3)]=0x6]=_0x18936a(0x1a3),_0x3bc291[_0x3bc291['INVALID_ARGUMENT']=0x7]=_0x18936a(0x18a),_0x3bc291[_0x3bc291[_0x18936a(0x2e8)]=0x8]=_0x18936a(0x2e8),_0x3bc291[_0x3bc291[_0x18936a(0x335)]=0x9]=_0x18936a(0x335),_0x3bc291[_0x3bc291[_0x18936a(0x355)]=0xa]='LOGIN_FAILED',_0x3bc291[_0x3bc291['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x18936a(0x1f6),_0x3bc291[_0x3bc291[_0x18936a(0x1e8)]=0xc]=_0x18936a(0x1e8),_0x3bc291[_0x3bc291[_0x18936a(0x329)]=0xd]=_0x18936a(0x329),_0x3bc291[_0x3bc291[_0x18936a(0x263)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3bc291[_0x3bc291[_0x18936a(0x1c2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3bc291[_0x3bc291['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x18936a(0x273),_0x3bc291[_0x3bc291[_0x18936a(0x1cf)]=0x1772]=_0x18936a(0x1cf),_0x3bc291[_0x3bc291[_0x18936a(0x2a0)]=0x1773]=_0x18936a(0x2a0),_0x3bc291[_0x3bc291[_0x18936a(0x1ac)]=0x1b59]=_0x18936a(0x1ac),_0x3bc291[_0x3bc291[_0x18936a(0x390)]=0x1b5a]=_0x18936a(0x390),_0x3bc291[_0x3bc291[_0x18936a(0x38e)]=0x1b5b]=_0x18936a(0x38e),_0x3bc291[_0x3bc291[_0x18936a(0x157)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3bc291[_0x3bc291[_0x18936a(0x219)]=0x1b5d]=_0x18936a(0x219),_0x3bc291[_0x3bc291[_0x18936a(0x14d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3bc291[_0x3bc291[_0x18936a(0x17c)]=0x2329]=_0x18936a(0x17c),_0x3bc291[_0x3bc291[_0x18936a(0x1d2)]=0x232a]=_0x18936a(0x1d2),_0x3bc291[_0x3bc291[_0x18936a(0x199)]=0x232b]=_0x18936a(0x199),_0x3bc291[_0x3bc291[_0x18936a(0x2d0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3bc291[_0x3bc291[_0x18936a(0x214)]=0x232d]=_0x18936a(0x214),_0x3bc291[_0x3bc291[_0x18936a(0x29a)]=0x2711]=_0x18936a(0x29a),_0x3bc291[_0x3bc291[_0x18936a(0x258)]=0x2712]=_0x18936a(0x258),_0x3bc291[_0x3bc291[_0x18936a(0x1a0)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3bc291[_0x3bc291['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x18936a(0x319),_0x3bc291[_0x3bc291['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3bc291[_0x3bc291[_0x18936a(0x266)]=0x271b]=_0x18936a(0x266),_0x3bc291[_0x3bc291[_0x18936a(0x31c)]=0x271c]=_0x18936a(0x31c),_0x3bc291[_0x3bc291[_0x18936a(0x254)]=0x271d]=_0x18936a(0x254),_0x3bc291[_0x3bc291[_0x18936a(0x18d)]=0x271e]=_0x18936a(0x18d),_0x3bc291[_0x3bc291['YUUMI_AI_RUN_FAILED']=0x271f]=_0x18936a(0x149),_0x3bc291[_0x3bc291[_0x18936a(0x1f3)]=0x2720]=_0x18936a(0x1f3),_0x3bc291[_0x3bc291['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x18936a(0x312),_0x3bc291[_0x3bc291['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x18936a(0x28f),_0x3bc291[_0x3bc291[_0x18936a(0x2ed)]=0x2ee2]=_0x18936a(0x2ed),_0x3bc291[_0x3bc291['INVITE_CODE_REQUIRED']=0x2ee3]=_0x18936a(0x2dc),_0x3bc291[_0x3bc291[_0x18936a(0x1a1)]=0x2ee4]=_0x18936a(0x1a1),_0x3bc291[_0x3bc291[_0x18936a(0x15a)]=0x2ee5]=_0x18936a(0x15a),_0x3bc291[_0x3bc291[_0x18936a(0x225)]=0x32c9]=_0x18936a(0x225),_0x3bc291[_0x3bc291[_0x18936a(0x1be)]=0x32ca]=_0x18936a(0x1be),_0x3bc291[_0x3bc291['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x18936a(0x3a7),_0x3bc291[_0x3bc291['UNRECOGNIZED']=-0x1]=_0x18936a(0x3b3),_0x3bc291))(_0x223b88||{}),_0x18c980=Object[_0x18936a(0x180)],_0x428342=(_0x241521,_0x4f9b32,_0x55da38,_0x1593ee)=>{const _0xc2ffa1=_0x18936a;for(var _0x227085=_0x1593ee>0x1?void 0x0:_0x1593ee?_0x18c980(_0x4f9b32,_0x55da38):_0x4f9b32,_0x1abd7e=_0x241521[_0xc2ffa1(0x26f)]-0x1,_0x5c06b8;_0x1abd7e>=0x0;_0x1abd7e--)(_0x5c06b8=_0x241521[_0x1abd7e])&&(_0x227085=_0x5c06b8(_0x227085)||_0x227085);return _0x227085;},_0x429ea3=(_0xfbe7fc,_0x35b067)=>(_0x5375ca,_0x56277b)=>_0x35b067(_0x5375ca,_0x56277b,_0xfbe7fc);_0x1a1600[_0x18936a(0x384)]=class extends _0x5381a1[_0x18936a(0x212)]{constructor(_0x17ea74,_0x34d002,_0x38d767){const _0x58040e=_0x18936a;super(),this[_0x58040e(0x130)]=_0x17ea74,this['_httpService']=_0x34d002,this['_configService']=_0x38d767;}async[_0x18936a(0x394)](_0x4a13d1,_0x5b5d6e,_0x7773be,..._0x3737cf){const _0x288ca6=_0x18936a;var _0x24f26b,_0xb37826,_0xcde77a,_0x3c7649;const _0x1d3656=this[_0x288ca6(0x130)][_0x288ca6(0x353)]();if(!_0x1d3656)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1c9841=((_0x24f26b=this[_0x288ca6(0x35c)][_0x288ca6(0x29d)](_0x158f6a[_0x288ca6(0x26e)]))!=null?_0x24f26b:_0x158f6a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4a13d1+'/run/'+_0x5b5d6e,_0x44bc76=new URL(window['location'][_0x288ca6(0x200)]),_0x33a9fb={'scriptId':_0x4a13d1,'runId':(_0xb37826=_0x44bc76[_0x288ca6(0x3ad)][_0x288ca6(0x333)](_0x288ca6(0x20f)))!=null?_0xb37826:'','function':_0x5b5d6e,'unitId':_0x1d3656[_0x288ca6(0x2a3)](),'argsOfFunction':JSON[_0x288ca6(0x2d2)](_0x3737cf),'invokeId':(_0xcde77a=_0x7773be['invokeId'])!=null?_0xcde77a:'','executionId':(_0x3c7649=_0x7773be[_0x288ca6(0x36b)])!=null?_0x3c7649:''};try{const _0x2f0255=await this[_0x288ca6(0x343)][_0x288ca6(0x1cd)](_0x1c9841,{'body':_0x33a9fb});return _0x2f0255['body'][_0x288ca6(0x18c)]&&_0x2f0255[_0x288ca6(0x143)]['error']['code']!==_0x223b88['OK']?'Failed':_0x2f0255['body'][_0x288ca6(0x236)];}catch{return _0x288ca6(0x2f9);}}},_0x1a1600['RemoteUniscriptService']=_0x428342([_0x429ea3(0x0,_0x5381a1[_0x18936a(0x168)]),_0x429ea3(0x1,_0x5381a1[_0x18936a(0x13f)](_0x232e6b[_0x18936a(0x22b)])),_0x429ea3(0x2,_0x5381a1[_0x18936a(0x3c3)])],_0x1a1600['RemoteUniscriptService']),_0x1a1600[_0x18936a(0x2f3)]=_0x4dbbdd,_0x1a1600[_0x18936a(0x381)]=_0x15134c,_0x1a1600[_0x18936a(0x15c)]=_0x5378fb,_0x1a1600['WebBrowserSingleActiveUnitService']=_0x5bef66,_0x1a1600['WebURLService']=_0x356c16,Object['defineProperty'](_0x1a1600,Symbol[_0x18936a(0x3ba)],{'value':_0x18936a(0x261)});}));
|